diff --git a/.env.docker b/.env.docker index 221991b..39c23bd 100644 --- a/.env.docker +++ b/.env.docker @@ -22,3 +22,6 @@ ISDEV=FALSE weChatOpenUrl=https://open.weixin.qq.com weChatApiUrl=https://api.weixin.qq.com weChatMpUrl=https://mp.weixin.qq.com + +# 自定义后台路径 +ADMIN_SERVE_ROOT=/admin diff --git a/.env.example b/.env.example index 91a58de..424d5a3 100644 --- a/.env.example +++ b/.env.example @@ -23,3 +23,6 @@ ISDEV=FALSE weChatOpenUrl=https://open.weixin.qq.com weChatApiUrl=https://api.weixin.qq.com weChatMpUrl=https://mp.weixin.qq.com + +# 自定义后台路径 +ADMIN_SERVE_ROOT=/admin diff --git a/.gitignore b/.gitignore index 68361c3..b771b23 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ node_modules +logs pnpm-lock.yaml -sql -data -.idea +.env +/public/file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..87f7b8a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "Luma" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index cdfd656..ff5e74a 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,41 @@ ## 更新日志 +### 稳定版 v3.7.0 + +- 新增代码预览~~及编辑~~弹窗(HTML 格式)。 +- 新增问题编辑及重新生成功能。 +- 新增全模型文件分析功能 (模型设置-文件上传类型),选择后对于非图片的文本格式,将读取文件内容,作为 system 传给 AI,图片按 4o 格式传图。(建议搭配 token 关联计费及 `gpt-4o-mini` 使用) +- 新增 Luma 视频图生视频,视频尺寸选择。 +- 取消注册验证码,改为获取 邮箱/手机 验证码时滑动验证。 +- 优化新建对话、对话中断、切换对话的逻辑。取消旧的初始新建对话页,可直接提问,或使用预设。AI回复中,禁止切换对话和开启新对话。 +- 对话页应用广场改为弹窗方式。 +- 调整暗色模式 UI 显示,整体显示更美观。 +- 调整购买套餐弹窗样式。 +- 后台显示设置新增 `显示全局水印` 选项,开启后将在对话页显示基于用户ID的水印。 +- 后台插件显示-基础显示,新增 `隐藏插件` 选项,开启后,用户端将隐藏插件功能。 +- 环境变量新增自定义后台路径设置,后台地址可自行使用 `/admin` 之外的的路径。 +- 新增自定义欢迎页,跳转样式参考: + ```html + + + ``` +- ~~后台新增本地存储(开启后将优先使用本地存储方式保存数据,有些场景需开启跨域访问,可能需额外自行解决读写权限问题。文件存储目录为 `/public/file`,更新迁移时请做好数据维护及备份。)~~ +- ~~开启本地存储后,生成的视频及音乐将默认保存到本地。~~ +- ~~新增知识库问答【数据管理】-【内容预设】。通过检测提问关键词,将匹配到的内容附加到 `system` 参数中。~~ +- ~~Midjourney 绘图适配 `describe` ,支持以图生文。~~ +- ~~Suno 音乐新增调整歌词,选择音乐类型及风格。~~ + +注:划线部分为开发版保留功能。 + +
+ +历史日志 + ### 稳定版 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 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 queryAutoReply_dto_1 = require("./dto/queryAutoReply.dto"); +const autoreply_service_1 = require("./autoreply.service"); 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 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 typeorm_1 = require("@nestjs/typeorm"); const autoreply_controller_1 = require("./autoreply.controller"); +const autoreply_entity_1 = require("./autoreply.entity"); const autoreply_service_1 = require("./autoreply.service"); -const typeorm_1 = require("@nestjs/typeorm"); -const autoreplay_entity_1 = require("./autoreplay.entity"); 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; + } + } + } + } + } + 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 question ? this.autoReplyMap[question] : ''; + 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 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"); +const config_entity_1 = require("./config.entity"); +const globalConfig_controller_1 = require("./globalConfig.controller"); +const globalConfig_service_1 = require("./globalConfig.service"); 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); - } - 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); + return await axios_1.default.get(url); } - 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 }) { - try { - const buffer = await this.getBufferFromUrl(url); - return await this.uploadFileToLocal({ filename, buffer, 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('非法路径,禁止访问目录之外的位置'); } - catch (error) { - console.log('TODO->error: ', error); - throw new common_1.HttpException('上传图片失败[ten][url]', common_1.HttpStatus.BAD_REQUEST); - } - } - async uploadFileToLocal({ filename, buffer, dir = 'ai' }) { - if (!filename || !buffer) { - throw new Error('必须提供文件名和文件内容'); + try { + await fs_1.promises.mkdir(uploadDir, { recursive: true }); } - 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(`创建目录失败: ${uploadDir}`, err); + throw err; } - 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 }); + await fs_1.promises.writeFile(filePath, buffer, { mode: 0o444 }); } - catch (error) { - throw new common_1.HttpException('上传图片失败[ALI][url]', common_1.HttpStatus.BAD_REQUEST); + 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}`; + } + return fileUrl; } - 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'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{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!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!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_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_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_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_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_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_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}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_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}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_!,`]!PX'_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_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_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_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_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_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_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_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_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_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$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$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!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'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{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!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!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_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_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_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_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_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_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}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_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}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_!,`]!PX'_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_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_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_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_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_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_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_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_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_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$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$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!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}; 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'#KZO!&zQUO'#KQO!(zQVO'#I]O!(zQVO'#I`OCQQUO'#KQOOQQ'#Ip'#IpOOQQ'#KQ'#KQO!,}QUO'#KZOOQR'#KY'#KYO!-UQUO'#DYO!/mQUO'#KnOOQQ'#Kn'#KnO!/tQUO'#KnO!/{QUO'#ETO!0QQUO'#EWO!0VQUO'#FRO8zQUO'#FPO!QQVO'#F^O!0[Q#vO'#F`O!0gQUO'#FkO!0oQUO'#FpO!0tQVO'#FrO!0oQUO'#FuO!3sQUO'#FvO!3xQVO'#FxO!4SQUO'#FzO!4XQUO'#F|O!4^QUO'#GOO!4cQVO'#GQO!(zQVO'#GSO!4jQUO'#GpO!4xQUO'#GYO!(zQVO'#FeO!6VQUO'#FeO!6[QVO'#G`O!6cQUO'#GaO!6nQUO'#GnO!6sQUO'#GrO!6xQUO'#GzO!7jQ&lO'#HiO!:mQUO'#GuO!:}QUO'#HXO!;YQUO'#HZO!;bQUO'#DWO!;bQUO'#HuO!;bQUO'#HvO!;yQUO'#HwO!<[QUO'#H|O!=PQUO'#H}O!>uQVO'#IbO!(zQVO'#IdO!?PQUO'#IgO!?WQVO'#IjP!@}{,UO'#CbP!6n{,UO'#CbP!AY{7[O'#CbP!6n{,UO'#CbP!A_{,UO'#CbP!AjOSO'#IzPOOO)CEn)CEnOOOO'#I|'#I|O!AtOWO,59OOOQR,59O,59OO!(zQVO,59UOOQQ,59W,59WO!(zQVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!DOQVO,5>zOOQQ,5?W,5?WO!EqQVO'#ChO!IjQUO'#CyOOQQ,59c,59cOOQQ,59b,59bOOQQ,5<},5<}O!IwQ&lO,5=mO!?PQUO,5?RO!LkQVO,5?UO!LrQbO,59cO!L}QVO'#FYOOQQ,5?P,5?PO!M_QVO,59VO!MfO`O,5:bO!MkQbO'#D^O!M|QbO'#K^O!N[QbO,59wO!NdQbO'#CwO!NuQUO'#CwO!NzQUO'#KZO# UQUO'#CvOOQR-E<|-E<|O# aQUO,5AoO# hQVO'#EfO@XQVO'#EiOBUQUO,5;kOOQR,5l,5>lO#3gQUO'#CgO#4]QUO,5>pO#6OQUO'#IeOOQR'#I}'#I}O#6WQUO,5:xO#6tQUO,5:xO#7eQUO,5:xO#8YQUO'#CtO!0QQUO'#ClOOQQ'#JW'#JWO#6tQUO,5:xO#8bQUO,5;QO!4xQUO'#C}O#9kQUO,5;QO#9pQUO,5>QO#:|QUO'#C}O#;dQUO,5>{O#;iQUO'#KwO#}QUO'#L[O#?UQUO,5>UO#?ZQbO'#CwO#?fQUO'#GcO#?kQUO'#E^O#@[QUO,5;kO#@sQUO'#K}O#@{QUO,5;rOKkQUO'#HfOBUQUO'#HgO#AQQUO'#KqO!6nQUO'#HjO#AxQUO'#CtO!0tQVO,5PO$(WQUO'#E[O$(eQUO,5>ROOQQ,5>S,5>SO$,RQVO'#C{OOQQ-E=o-E=oOOQQ,5>d,5>dOOQQ,59`,59`O$,]QUO,5>wO$.]QUO,5>zO!6nQUO,59tO$.pQUO,5;qO$.}QUO,5<{O!0QQUO,5:oOOQQ,5:r,5:rO$/YQUO,5;mO$/_QUO'#KmOBUQUO,5;kOOQR,5;x,5;xO$0OQUO'#FbO$0^QUO'#FbO$0cQUO,5;zO$3|QVO'#FmO!0tQVO,5eQUO,5pQUO,5=[O$>uQUO,5=[O!4xQUO,5}QUO,5uQUO,5<{O$DQQUO,5<{O$D]QUO,5=YO!(zQVO,5=^O!(zQVO,5=fO#NeQUO,5=mOOQQ,5>T,5>TO$FbQUO,5>TO$FlQUO,5>TO$FqQUO,5>TO$FvQUO,5>TO!6nQUO,5>TO$HtQUO'#KZO$H{QUO,5=oO$IWQUO,5=aOKkQUO,5=oO$JQQUO,5=sOOQR,5=s,5=sO$JYQUO,5=sO$LeQVO'#H[OOQQ,5=u,5=uO!;]QUO,5=uO%#`QUO'#KjO%#gQUO'#K[O%#{QUO'#KjO%$VQUO'#DyO%$hQUO'#D|O%'eQUO'#K[OOQQ'#K['#K[O%)WQUO'#K[O%#gQUO'#K[O%)]QUO'#K[OOQQ,59r,59rOOQQ,5>a,5>aOOQQ,5>b,5>bO%)eQUO'#HzO%)mQUO,5>cOOQQ,5>c,5>cO%-XQUO,5>cO%-dQUO,5>hO%1OQVO,5>iO%1VQUO,5>|O# hQVO'#EfO%4]QUO,5>|OOQQ,5>|,5>|O%4|QUO,5?OO%7QQUO,5?RO!<[QUO,5?RO%8|QUO,5?UO%sQUO1G0mOOQQ1G0m1G0mO%@PQUO'#CoO%B`QbO'#CwO%BkQUO'#CrO%BpQUO'#CrO%BuQUO1G.tO#AxQUO'#CqOOQQ1G.t1G.tO%DxQUO1G4]O%FOQUO1G4^O%GqQUO1G4^O%IdQUO1G4^O%KVQUO1G4^O%LxQUO1G4^O%NkQUO1G4^O&!^QUO1G4^O&$PQUO1G4^O&%rQUO1G4^O&'eQUO1G4^O&)WQUO1G4^O&*yQUO'#KPO&,SQUO'#KPO&,[QUO,59SOOQQ,5=P,5=PO&.dQUO,5=PO&.nQUO,5=PO&.sQUO,5=PO&.xQUO,5=PO!6nQUO,5=PO#NeQUO1G3XO&/SQUO1G4mO!<[QUO1G4mO&1OQUO1G4pO&2qQVO1G4pOOQQ1G.}1G.}OOQQ1G.|1G.|OOQQ1G2i1G2iO!IwQ&lO1G3XO&2xQUO'#LOO@XQVO'#EiO&4RQUO'#F]OOQQ'#Ja'#JaO&4WQUO'#FZO&4cQUO'#LOO&4kQUO,5;tO&4pQUO1G.qOOQQ1G.q1G.qOOQR1G/|1G/|O&6cQ!dO'#JPO&6hQbO,59xO&8yQ!eO'#D`O&9QQ!dO'#JRO&9VQbO,5@xO&9VQbO,5@xOOQR1G/c1G/cO&9bQbO1G/cO&9gQ&lO'#GeO&:eQbO,59cOOQR1G7Z1G7ZO#@[QUO1G1VO&:pQUO1G1^OBUQUO1G1VO&=RQUO'#CyO#*wQbO,59cO&@tQUO1G6sOOQR-E<{-E<{O&BWQUO1G0dO#6WQUO1G0dOOQQ-E=U-E=UO#6tQUO1G0dOOQQ1G0l1G0lO&B{QUO,59iOOQQ1G3l1G3lO&CcQUO,59iO&CyQUO,59iO!M_QVO1G4gO!(zQVO'#JYO&DeQUO,5AcOOQQ1G0o1G0oO!(zQVO1G0oO!6nQUO'#JnO&DmQUO,5AvOOQQ1G3p1G3pOOQR1G1V1G1VO&HjQVO'#FOO!M_QVO,5;sOOQQ,5;s,5;sOBUQUO'#JcO&JfQUO,5AiO&JnQVO'#E[OOQR1G1^1G1^O&M]QUO'#L[OOQR1G1n1G1nOOQR-E=f-E=fOOQR1G7]1G7]O#DhQUO1G7]OGVQUO1G7]O#DhQUO1G7_OOQR1G7_1G7_O&MeQUO'#G}O&MmQUO'#LWOOQQ,5=h,5=hO&M{QUO,5=jO&NQQUO,5=kOOQR1G7`1G7`O#EfQVO1G7`O&NVQUO1G7`O' ]QVO,5=kOOQR1G1U1G1UO$.vQUO'#E]O'!RQUO'#E]OOQQ'#Ky'#KyO'!lQUO'#KxO'!wQUO,5;UO'#PQUO'#ElO'#dQUO'#ElO'#wQUO'#EtOOQQ'#J['#J[O'#|QUO,5;cO'$sQUO,5;cO'%nQUO,5;dO'&tQVO,5;dOOQQ,5;d,5;dO''OQVO,5;dO'&tQVO,5;dO''VQUO,5;bO'(SQUO,5;eO'(_QUO'#KpO'(gQUO,5:vO'(lQUO,5;fOOQQ1G0n1G0nOOQQ'#J]'#J]O''VQUO,5;bO!4xQUO'#E}OOQQ,5;b,5;bO')gQUO'#E`O'+aQUO'#E{OHrQUO1G0nO'+fQUO'#EbOOQQ'#JX'#JXO'-OQUO'#KrOOQQ'#Kr'#KrO'-xQUO1G0eO'.pQUO1G3kO'/vQVO1G3kOOQQ1G3k1G3kO'0QQVO1G3kO'0XQUO'#L_O'1eQUO'#KXO'1sQUO'#KWO'2OQUO,59gO'2WQUO1G/`O'2]QUO'#FPOOQR1G1]1G1]OOQR1G2g1G2gO$>uQUO1G2gO'2gQUO1G2gO'2rQUO1G0ZOOQR'#J`'#J`O'2wQVO1G1XO'8pQUO'#FTO'8uQUO1G1VO!6nQUO'#JdO'9TQUO,5;|O$0^QUO,5;|OOQQ'#Fc'#FcOOQQ,5;|,5;|O'9cQUO1G1fOOQR1G1f1G1fO'9kQUO,5}QUO1G2`OOQQ'#Cu'#CuO'CzQUO'#G[O'DuQUO'#G[O'DzQUO'#LRO'EYQUO'#G_OOQQ'#LS'#LSO'EhQUO1G2`O'EmQVO1G1kO'HOQVO'#GUOBUQUO'#FWOOQR'#Je'#JeO'EmQVO1G1kO'HYQUO'#FvOOQR1G2f1G2fO'H_QUO1G2gO'HdQUO'#JgO'2gQUO1G2gO!(zQVO1G2tO'HlQUO1G2xO'IuQUO1G3QO'J{QUO1G3XOOQQ1G3o1G3oO'KaQUO1G3oOOQR1G3Z1G3ZO'KfQUO'#KZO'2]QUO'#LTOGkQUO'#LVOOQR'#Gy'#GyO#DhQUO'#LXOOQR'#HQ'#HQO'KpQUO'#GvO'#wQUO'#GuOOQR1G2{1G2{O'LmQUO1G2{O'MdQUO1G3ZO'MoQUO1G3_O'MtQUO1G3_OOQR1G3_1G3_O'M|QUO'#H]OOQR'#H]'#H]O( VQUO'#H]O!(zQVO'#H`O!(zQVO'#H_OOQR'#LZ'#LZO( [QUO'#LZOOQR'#Jk'#JkO( aQVO,5=vOOQQ,5=v,5=vO( hQUO'#H^O( pQUO'#HZOOQQ1G3a1G3aO( zQUO,5@vOOQQ,5@v,5@vO%)WQUO,5@vO%)]QUO,5@vO%$VQUO,5:eO(%iQUO'#KkO(%wQUO'#KkOOQQ,5:e,5:eOOQQ'#JS'#JSO(&SQUO'#D}O(&^QUO'#KqOGkQUO'#LVO('YQUO'#D}OOQQ'#Hp'#HpOOQQ'#Hr'#HrOOQQ'#Hs'#HsOOQQ'#Kl'#KlOOQQ'#JU'#JUO('dQUO,5:hOOQQ,5:h,5:hO((aQUO'#LVO((nQUO'#HtO()UQUO,5@vO()]QUO'#H{O()hQUO'#L^O()pQUO,5>fO()uQUO'#L]OOQQ1G3}1G3}O(-lQUO1G3}O(-sQUO1G3}O(-zQUO1G4TO(/QQUO1G4TO(/VQUO,5A|O!6nQUO1G4hO!(zQVO'#IiOOQQ1G4m1G4mO(/[QUO1G4mO(1_QVO1G4pPOOO1G.h1G.hP!A_{,UO1G.hP(3_QUO'#LeP(3j{,UO1G.hP(3o{7[O1G.hPO{O-E=s-E=sPOOO,5A},5A}P(3w{,UO,5A}POOO1G5Q1G5QO!(zQVO7+$[O(3|QUO'#CyOOQQ,59^,59^O(4XQbO,59cO(4dQbO,59^OOQQ,59],59]OOQQ7+)w7+)wO!M_QVO'#JtO(4oQUO,5@kOOQQ1G.n1G.nOOQQ1G2k1G2kO(4wQUO1G2kO(4|QUO7+(sOOQQ7+*X7+*XO(7bQUO7+*XO(7iQUO7+*XO(1_QVO7+*[O#NeQUO7+(sO(7vQVO'#JbO(8ZQUO,5AjO(8cQUO,5;vOOQQ'#Co'#CoOOQQ,5;w,5;wO!(zQVO'#F[OOQQ-E=_-E=_O!M_QVO,5;uOOQQ1G1`1G1`OOQQ,5?k,5?kOOQQ-E<}-E<}OOQR'#Dg'#DgOOQR'#Di'#DiOOQR'#Dl'#DlO(9lQ!eO'#K_O(9sQMkO'#K_O(9zQ!eO'#K_OOQR'#K_'#K_OOQR'#JQ'#JQO(:RQ!eO,59zOOQQ,59z,59zO(:YQbO,5?mOOQQ-E=P-E=PO(:hQbO1G6dOOQR7+$}7+$}OOQR7+&q7+&qOOQR7+&x7+&xO'8uQUO7+&qO(:sQUO7+&OO#6WQUO7+&OO(;hQUO1G/TO(]QUO,5?tOOQQ-E=W-E=WO(?fQUO7+&ZOOQQ,5@Y,5@YOOQQ-E=l-E=lO(?kQUO'#LOO@XQVO'#EiO(@wQUO1G1_OOQQ1G1_1G1_O(BQQUO,5?}OOQQ,5?},5?}OOQQ-E=a-E=aO(BfQUO'#KpOOQR7+,w7+,wO#DhQUO7+,wOOQR7+,y7+,yO(BsQUO,5=iO#DsQUO'#JjO(CUQUO,5ArOOQR1G3U1G3UOOQR1G3V1G3VO(CdQUO7+,zOOQR7+,z7+,zO(E[QUO,5:wO(FyQUO'#EwO!(zQVO,5;VO(GlQUO,5:wO(GvQUO'#EpO(HXQUO'#EzOOQQ,5;Z,5;ZO#K]QVO'#ExO(HoQUO,5:wO(HvQUO'#EyO#GgQUO'#JZO(J`QUO,5AdOOQQ1G0p1G0pO(JkQUO,5;WO!<[QUO,5;^O(KUQUO,5;_O(KdQUO,5;WO(MvQUO,5;`OOQQ-E=Y-E=YO(NOQUO1G0}OOQQ1G1O1G1OO(NyQUO1G1OO)!PQVO1G1OO)!WQVO1G1OO)!bQUO1G0|OOQQ1G0|1G0|OOQQ1G1P1G1PO)#_QUO'#JoO)#iQUO,5A[OOQQ1G0b1G0bOOQQ-E=Z-E=ZO)#qQUO,5;iO!<[QUO,5;iO)$nQVO,5:zO)$uQUO,5;gO$ mQUO7+&YOOQQ7+&Y7+&YO!(zQVO'#EfO)$|QUO,5:|OOQQ'#Ks'#KsOOQQ-E=V-E=VOOQQ,5A^,5A^OOQQ'#Jl'#JlO)(qQUO7+&PPOQQ7+&P7+&POOQQ7+)V7+)VO))iQUO7+)VO)*oQVO7+)VOOQQ,5>m,5>mO$)YQVO'#JsO)*vQUO,5@rOOQQ1G/R1G/ROOQQ7+$z7+$zO)+RQUO7+(RO)+WQUO7+(ROOQR7+(R7+(RO$>uQUO7+(ROOQQ7+%u7+%uOOQR-E=^-E=^O!0VQUO,5;oOOQQ,5@O,5@OOOQQ-E=b-E=bO$0^QUO1G1hOOQQ1G1h1G1hOOQR7+'Q7+'QOOQR1G1s1G1sOBUQUO,5;rO)+tQUO,5hQUO,5}QUO7+(dO)?SQVO7+(dOOQQ7+(l7+(lOOQQ7+)Z7+)ZO)?[QUO'#KjO)?fQUO'#KjOOQR,5=b,5=bO)?sQUO,5=bO!;bQUO,5=bO!;bQUO,5=bO!;bQUO,5=bOOQR7+(g7+(gOOQR7+(u7+(uOOQR7+(y7+(yOOQR,5=w,5=wO)?xQUO,5=zO)AOQUO,5=yOOQR,5Au,5AuOOQR-E=i-E=iOOQQ1G3b1G3bO)BUQUO,5=xO)BZQVO'#EfOOQQ1G6b1G6bO%)WQUO1G6bO%)]QUO1G6bOOQQ1G0P1G0POOQQ-E=Q-E=QO)DrQUO,5AVO(%iQUO'#JTO)D}QUO,5AVO)D}QUO,5AVO)EVQUO,5:iO8zQUO,5:iOOQQ,5>],5>]O)EaQUO,5AqO)EhQUO'#EVO)FrQUO'#EVO)G]QUO,5:iO)GgQUO'#HlO)GgQUO'#HmOOQQ'#Ko'#KoO)HUQUO'#KoO!(zQVO'#HnOOQQ,5:i,5:iO)HvQUO,5:iO!M_QVO,5:iOOQQ-E=S-E=SOOQQ1G0S1G0SOOQQ,5>`,5>`O)H{QUO1G6bO!(zQVO,5>gO)LjQUO'#JrO)LuQUO,5AxOOQQ1G4Q1G4QO)L}QUO,5AwOOQQ,5Aw,5AwOOQQ7+)i7+)iO*!lQUO7+)iOOQQ7+)o7+)oO*'kQVO1G7hO*)mQUO7+*SO*)rQUO,5?TO**xQUO7+*[POOO7+$S7+$SP*,kQUO'#LfP*,sQUO,5BPP*,x{,UO7+$SPOOO1G7i1G7iO*,}QUO<XQUO7+&jO*?_QVO7+&jOOQQ7+&h7+&hOOQQ,5@Z,5@ZOOQQ-E=m-E=mO*@ZQUO1G1TO*@eQUO1G1TO*AOQUO1G0fOOQQ1G0f1G0fO*BUQUO'#K{O*B^QUO1G1ROOQQ<uQUO<VO)GgQUO'#JpO*NQQUO1G0TO*NcQVO1G0TOOQQ1G3u1G3uO*NjQUO,5>WO*NuQUO,5>XO+ dQUO,5>YO+!jQUO1G0TO%)]QUO7++|O+#pQUO1G4ROOQQ,5@^,5@^OOQQ-E=p-E=pOOQQ<n,5>nO+/iQUOANAXOOQRANAXANAXO+/nQUO7+'`OOQRAN@cAN@cO+0zQVOAN@nO+1RQUOAN@nO!0tQVOAN@nO+2[QUOAN@nO+2aQUOAN@}O+2lQUOAN@}O+3rQUOAN@}OOQRAN@nAN@nO!M_QVOAN@}OOQRANAOANAOO+3wQUO7+'|O)7VQUO7+'|OOQQ7+(O7+(OO+4YQUO7+(OO+5`QVO7+(OO+5gQVO7+'hO+5nQUOANAjOOQR7+(h7+(hOOQR7+)P7+)PO+5sQUO7+)PO+5xQUO7+)POOQQ<= h<= hO+6QQUO7+,]O+6YQUO1G5ZOOQQ1G5Z1G5ZO+6eQUO7+%oOOQQ7+%o7+%oO+6vQUO7+%oO*NcQVO7+%oOOQQ7+)a7+)aO+6{QUO7+%oO+8RQUO7+%oO!M_QVO7+%oO+8]QUO1G0]O*LkQUO1G0]O)EhQUO1G0]OOQQ1G0a1G0aO+8zQUO1G3qO+:QQVO1G3qOOQQ1G3q1G3qO+:[QVO1G3qO+:cQUO,5@[OOQQ-E=n-E=nOOQQ1G3r1G3rO%)WQUO<= hOOQQ7+*Z7+*ZPOQQ,5@b,5@bPOQQ-E=t-E=tOOQQ1G/}1G/}OOQQ,5?x,5?xOOQQ-E=[-E=[OOQRG26sG26sO+:zQUOG26YO!0tQVOG26YO+QQUO<uAN>uO+BpQUOAN>uO+CvQUOAN>uO!M_QVOAN>uO+C{QUO<nQUO'#KZO,?OQUO'#CyO,?^QbO,59cO,6VQUO7+&OO,OP>i>{?aFXMX!&]!,sP!3m!4b!5VP!5qPPPPPPPP!6[P!7tPP!9V!:oP!:uPPPPPP!:xP!:xPP!:xPPPPPPPPP!;U!>lP!>oPP!?]!@QPPPPP!@UP>l!AgPP>l!Cn!Eo!E}!Gd!ITP!I`P!Io!Io!MP#!`##v#'S#*^!Eo#*hPP!Eo#*o#*u#*h#*h#*xP#*|#+k#+k#+k#+k!ITP#,U#,g#.|P#/bP#0}P#1R#1Z#2O#2Z#4i#4q#4q#1RP#1RP#4x#5OP#5YPP#5u#6d#7U#5uP#7v#8SP#5uP#5uPP#5u#5uP#5uP#5uP#5uP#5uP#5uP#5uP#8V#5Y#8sP#9YP#9o#9o#9o#9o#9|#1RP#:d#?`#?}PPPPPPPP#@uP#ATP#ATP#Aa#Dn#9OPP#@}#EQP#Ee#Ep#Ev#Ev#@}#FlP#1R#1R#1R#1R#1RP!Io#GW#G_#G_#G_#Gc!Ly#Gm!Ly#Gq!E}!E}!E}#Gt#L^!E}>l>l>l$#V!@Q!@Q!@Q!@Q!@Q!@Q!6[!6[!6[$#jP$%V$%e!6[$%kPP!6[$'y$'|#@l$(P:t7j$+V$-Q$.q$0a7jPP7j$2T7jP7j7jP7jP$5Z7jP7jPP7j$5gPPPPPPPPP*[P$8o$8u$;^$=d$=j$>Q$>[$>g$>v$>|$@[$AZ$Ab$Ai$Ao$Aw$BR$BX$Bd$Bj$Bs$B{$CW$C^$Ch$Cn$Cx$DP$D`$Df$DlP$Dr$Dz$ER$Ea$F}$GT$GZ$Gb$GkPPPPPPPP$Gq$GuPPPPP$Nw$'y$Nz%$S%&[P%&i%&lPPPPPPPPPP%&x%'{%(R%(V%)|%+Z%+|%,T%.d%.jPPP%.t%/P%/S%/Y%0a%0d%0n%0x%0|%2Q%2s%2y#@uP%3d%3t%3w%4X%4e%4i%4o%4u$'y$'|$'|%4x%4{P%5V%5YR#cP'`mO[aefwx{!W!X!g!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&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'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.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#Y4Y#Y#Z8q#Z#o4Y#o;'S$e;'S;=`(u<%lO$e4e8|d)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#]4Y#]#^:[#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e:gd)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#b4Y#b#c;u#c#o4Y#o;'S$e;'S;=`(u<%lO$e4e][)S,g)ZW(pQ%Z!b'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!?`^)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|!@[|!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!@gY)ZW!X-y(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!AbY!h,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!B__)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox}$e}!O!@[!O!_$e!_!`!8g!`!a!C^!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!CiY(x-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Dd^)ZW(pQ'f&j(w,gOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!E`!P!Q$e!Q![!GY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Ei[)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!F_!P#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!FjY)X,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]!Gen)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Icx!Q$e!Q![!GY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2T!IjY(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![!JY![#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O2T!Jcn(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Icx!Q(O!Q![!JY![!g(O!g!h!La!h!i##`!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#X(O#X#Y!La#Y#Z##`#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ljl(pQ!i,g'f&jOY(OZr(Ors%}s{(O{|!Nb|}(O}!O!Nb!O!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ni^(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![# e![!c(O!c!i# e!i#O(O#O#P&f#P#T(O#T#Z# e#Z;'S(O;'S;=`(o<%lO(O2T# nj(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Nbx!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T##id(pQ!i,g'f&jOY(OZr(Ors%}s!h(O!h!i##`!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#Y(O#Y#Z##`#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2]#%Sn)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|#'Q|}$e}!O#'Q!O!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#'Z`)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#(]![!c$e!c!i#(]!i#O$e#O#P&f#P#T$e#T#Z#(]#Z;'S$e;'S;=`(u<%lO$e2]#(hj)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Nbx!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#*ef)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox!h$e!h!i#*Y!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#Y$e#Y#Z#*Y#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e7Z#,W`)ZW(pQ%Z!b![,g'f&jOY$eZr$ers%^sw$ewx(Oxz$ez{#-Y{!P$e!P!Q#:s!Q!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#-c])ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y1e#._TOz#.[z{#.n{;'S#.[;'S;=`#/]<%lO#.[1e#.qVOz#.[z{#.n{!P#.[!P!Q#/W!Q;'S#.[;'S;=`#/]<%lO#.[1e#/]OT1e1e#/`P;=`<%l#.[7X#/jZ)ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7P#0bX'f&jOY#0]YZ#.[Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1SZ'f&jOY#0]YZ#.[Zz#0]z{#0}{!P#0]!P!Q#1u!Q#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1|UT1e'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}7P#2eZ'f&jOY#0]YZ#0]Z]#0]]^#3W^z#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3]X'f&jOY#0]YZ#0]Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3{P;=`<%l#0]7X#4V])ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{!P#/c!P!Q#5O!Q#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7X#5XW)ZWT1e'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^7X#5tP;=`<%l#/c7R#6OZ(pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#6x](pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{!P#5w!P!Q#7q!Q#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#7zW(pQT1e'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O7R#8gP;=`<%l#5w7Z#8s_)ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{!P#-Y!P!Q#9r!Q#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y7Z#9}Y)ZW(pQT1e'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#:pP;=`<%l#-Y7Z#;OY)ZW(pQS1e'f&jOY#:sZr#:srs#;nsw#:swx#@{x#O#:s#O#P#[<%lO#b#P;'S#[<%lO#[<%lO#_P;=`<%l#i]S1e'f&jOY#b#P#b#[<%lO#[<%lO#b#P#b#[<%lO#t!R![$2V![!c$e!c!i$2V!i#O$e#O#P&f#P#T$e#T#Z$2V#Z;'S$e;'S;=`(u<%lO$e2]$?Pv)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx$4lx!O$e!O!P$ m!P!Q$e!Q![$2V![!c$e!c!g$2V!g!h$:p!h!i$2V!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#U$2V#U#V$2V#V#X$2V#X#Y$:p#Y#Z$2V#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$0z#m;'S$e;'S;=`(u<%lO$e4e$Ar[(v-X)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox![$e![!]$Bh!]#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3s$BsYl-})ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]$CnY)W,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7V$Dk_p,g%]!b)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!^$Ej!^!_%+w!_!`%.U!`!a%0]!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej*[$Es])ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ejp$FoTO!`$Fl!`!a$GO!a;'S$Fl;'S;=`$GT<%lO$Flp$GTO$Wpp$GWP;=`<%l$Fl*Y$GbZ)ZW'f&jOY$GZYZ$FlZw$GZwx$HTx!`$GZ!`!a%(U!a#O$GZ#O#P$Ib#P;'S$GZ;'S;=`%(y<%lO$GZ*Q$HYX'f&jOY$HTYZ$FlZ!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q$IOU$WpY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}*Q$Ig['f&jOY$HTYZ$HTZ]$HT]^$J]^!`$HT!`!a$NO!a#O$HT#O#P%&n#P;'S$HT;'S;=`%'f;=`<%l%$z<%lO$HT*Q$JbX'f&jOY$HTYZ$J}Z!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT'[$KSX'f&jOY$J}YZ$FlZ!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$KvU$Wp'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}'[$L_Z'f&jOY$J}YZ$J}Z]$J}]^$MQ^!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MVX'f&jOY$J}YZ$J}Z!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MuP;=`<%l$J}*Q$M{P;=`<%l$HT*Q$NVW$Wp'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`$NtW'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`% eUY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%})`% |Y'f&jOY$NoYZ$NoZ]$No]^%!l^#O$No#O#P%#d#P;'S$No;'S;=`%$[;=`<%l%$z<%lO$No)`%!qX'f&jOY$NoYZ%}Z!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%#aP;=`<%l$No)`%#iZ'f&jOY$NoYZ%}Z]$No]^%!l^!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%$_XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$No<%lO%$z#t%$}WOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h<%lO%$z#t%%lOY#t#t%%oRO;'S%$z;'S;=`%%x;=`O%$z#t%%{XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l%$z<%lO%$z#t%&kP;=`<%l%$z*Q%&sZ'f&jOY$HTYZ$J}Z]$HT]^$J]^!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q%'iXOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$HT<%lO%$z*Y%(aW$WpY#t)ZW'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^*Y%(|P;=`<%l$GZ*S%)WZ(pQ'f&jOY%)PYZ$FlZr%)Prs$HTs!`%)P!`!a%)y!a#O%)P#O#P$Ib#P;'S%)P;'S;=`%*n<%lO%)P*S%*UW$WpY#t(pQ'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O*S%*qP;=`<%l%)P*[%+RY$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e*[%+tP;=`<%l$Ej7V%,U^)ZW(pQ%[!b!f,g'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!_$Ej!_!`%-Q!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%-]]!g-y)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%.c]%]!b!b,g)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%/[!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%/mY%]!b!b,g$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e)j%0hYY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%1c[)j!c)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`0Q!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%2f]%]!b)ZW(pQ!d,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`%3_!`!a%4[!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%3lY%]!b!b,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%4i[)ZW(pQ%[!b!f,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%5jY(uP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z%6ib)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e7Z%8Qb)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e5P%9cW)ZW(o/]'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^2T%:UW(pQ)Y,g'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O3o%:yZ!V-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!}$e!}#O%;l#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%;wY)PP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e4e%[Z]%=q]^%?Z^!Q%=q!Q![%?w![!w%=q!w!x%AX!x#O%=q#O#P%H_#P#i%=q#i#j%Ds#j#l%=q#l#m%IR#m;'S%=q;'S;=`%Kt<%lO%=q&t%=xUXY'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}4e%>e[XY(n.o'f&jOX%}XY-OYZ*[Z]%}]^-O^p%}pq-Oq#O%}#O#P,^#P;'S%};'S;=`'r<%lO%}4e%?bVXY'f&jOY%}YZ-OZ#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@OWXY'f&jOY%}Z!Q%}!Q![%@h![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@oWXY'f&jOY%}Z!Q%}!Q![%=q![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%A^['f&jOY%}Z!Q%}!Q![%BS![!c%}!c!i%BS!i#O%}#O#P&f#P#T%}#T#Z%BS#Z;'S%};'S;=`'r<%lO%}&t%BX['f&jOY%}Z!Q%}!Q![%B}![!c%}!c!i%B}!i#O%}#O#P&f#P#T%}#T#Z%B}#Z;'S%};'S;=`'r<%lO%}&t%CS['f&jOY%}Z!Q%}!Q![%Cx![!c%}!c!i%Cx!i#O%}#O#P&f#P#T%}#T#Z%Cx#Z;'S%};'S;=`'r<%lO%}&t%C}['f&jOY%}Z!Q%}!Q![%Ds![!c%}!c!i%Ds!i#O%}#O#P&f#P#T%}#T#Z%Ds#Z;'S%};'S;=`'r<%lO%}&t%Dx['f&jOY%}Z!Q%}!Q![%En![!c%}!c!i%En!i#O%}#O#P&f#P#T%}#T#Z%En#Z;'S%};'S;=`'r<%lO%}&t%Es['f&jOY%}Z!Q%}!Q![%Fi![!c%}!c!i%Fi!i#O%}#O#P&f#P#T%}#T#Z%Fi#Z;'S%};'S;=`'r<%lO%}&t%Fn['f&jOY%}Z!Q%}!Q![%Gd![!c%}!c!i%Gd!i#O%}#O#P&f#P#T%}#T#Z%Gd#Z;'S%};'S;=`'r<%lO%}&t%Gi['f&jOY%}Z!Q%}!Q![%=q![!c%}!c!i%=q!i#O%}#O#P&f#P#T%}#T#Z%=q#Z;'S%};'S;=`'r<%lO%}&t%HfXXY'f&jOY%}YZ%}Z]%}]^'W^#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%IW['f&jOY%}Z!Q%}!Q![%I|![!c%}!c!i%I|!i#O%}#O#P&f#P#T%}#T#Z%I|#Z;'S%};'S;=`'r<%lO%}&t%JR['f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KO[XY'f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KwP;=`<%l%=q2a%LVZ!W,V)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P#Q%Lx#Q;'S$e;'S;=`(u<%lO$e'Y%MTY)]d)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%NQ[)ZW(pQ%[!b'f&j!_,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z& Vd)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q!Y%6Y!Y!Z%7q!Z![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e2]&!pY!T,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o&#m^)ZW(pQ%[!b'f&j!^,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P#p$e#p#q&$i#q;'S$e;'S;=`(u<%lO$e3o&$vY)T,g%^!b)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e'V&%qY!Ua)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e(]&&nc)ZW(pQ%[!b'RP'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&(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}; +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'#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'#KZO!&zQUO'#KQO!(zQVO'#I]O!(zQVO'#I`OCQQUO'#KQOOQQ'#Ip'#IpOOQQ'#KQ'#KQO!,}QUO'#KZOOQR'#KY'#KYO!-UQUO'#DYO!/mQUO'#KnOOQQ'#Kn'#KnO!/tQUO'#KnO!/{QUO'#ETO!0QQUO'#EWO!0VQUO'#FRO8zQUO'#FPO!QQVO'#F^O!0[Q#vO'#F`O!0gQUO'#FkO!0oQUO'#FpO!0tQVO'#FrO!0oQUO'#FuO!3sQUO'#FvO!3xQVO'#FxO!4SQUO'#FzO!4XQUO'#F|O!4^QUO'#GOO!4cQVO'#GQO!(zQVO'#GSO!4jQUO'#GpO!4xQUO'#GYO!(zQVO'#FeO!6VQUO'#FeO!6[QVO'#G`O!6cQUO'#GaO!6nQUO'#GnO!6sQUO'#GrO!6xQUO'#GzO!7jQ&lO'#HiO!:mQUO'#GuO!:}QUO'#HXO!;YQUO'#HZO!;bQUO'#DWO!;bQUO'#HuO!;bQUO'#HvO!;yQUO'#HwO!<[QUO'#H|O!=PQUO'#H}O!>uQVO'#IbO!(zQVO'#IdO!?PQUO'#IgO!?WQVO'#IjP!@}{,UO'#CbP!6n{,UO'#CbP!AY{7[O'#CbP!6n{,UO'#CbP!A_{,UO'#CbP!AjOSO'#IzPOOO)CEn)CEnOOOO'#I|'#I|O!AtOWO,59OOOQR,59O,59OO!(zQVO,59UOOQQ,59W,59WO!(zQVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!DOQVO,5>zOOQQ,5?W,5?WO!EqQVO'#ChO!IjQUO'#CyOOQQ,59c,59cOOQQ,59b,59bOOQQ,5<},5<}O!IwQ&lO,5=mO!?PQUO,5?RO!LkQVO,5?UO!LrQbO,59cO!L}QVO'#FYOOQQ,5?P,5?PO!M_QVO,59VO!MfO`O,5:bO!MkQbO'#D^O!M|QbO'#K^O!N[QbO,59wO!NdQbO'#CwO!NuQUO'#CwO!NzQUO'#KZO# UQUO'#CvOOQR-E<|-E<|O# aQUO,5AoO# hQVO'#EfO@XQVO'#EiOBUQUO,5;kOOQR,5l,5>lO#3gQUO'#CgO#4]QUO,5>pO#6OQUO'#IeOOQR'#I}'#I}O#6WQUO,5:xO#6tQUO,5:xO#7eQUO,5:xO#8YQUO'#CtO!0QQUO'#ClOOQQ'#JW'#JWO#6tQUO,5:xO#8bQUO,5;QO!4xQUO'#C}O#9kQUO,5;QO#9pQUO,5>QO#:|QUO'#C}O#;dQUO,5>{O#;iQUO'#KwO#}QUO'#L[O#?UQUO,5>UO#?ZQbO'#CwO#?fQUO'#GcO#?kQUO'#E^O#@[QUO,5;kO#@sQUO'#K}O#@{QUO,5;rOKkQUO'#HfOBUQUO'#HgO#AQQUO'#KqO!6nQUO'#HjO#AxQUO'#CtO!0tQVO,5PO$(WQUO'#E[O$(eQUO,5>ROOQQ,5>S,5>SO$,RQVO'#C{OOQQ-E=o-E=oOOQQ,5>d,5>dOOQQ,59`,59`O$,]QUO,5>wO$.]QUO,5>zO!6nQUO,59tO$.pQUO,5;qO$.}QUO,5<{O!0QQUO,5:oOOQQ,5:r,5:rO$/YQUO,5;mO$/_QUO'#KmOBUQUO,5;kOOQR,5;x,5;xO$0OQUO'#FbO$0^QUO'#FbO$0cQUO,5;zO$3|QVO'#FmO!0tQVO,5eQUO,5pQUO,5=[O$>uQUO,5=[O!4xQUO,5}QUO,5uQUO,5<{O$DQQUO,5<{O$D]QUO,5=YO!(zQVO,5=^O!(zQVO,5=fO#NeQUO,5=mOOQQ,5>T,5>TO$FbQUO,5>TO$FlQUO,5>TO$FqQUO,5>TO$FvQUO,5>TO!6nQUO,5>TO$HtQUO'#KZO$H{QUO,5=oO$IWQUO,5=aOKkQUO,5=oO$JQQUO,5=sOOQR,5=s,5=sO$JYQUO,5=sO$LeQVO'#H[OOQQ,5=u,5=uO!;]QUO,5=uO%#`QUO'#KjO%#gQUO'#K[O%#{QUO'#KjO%$VQUO'#DyO%$hQUO'#D|O%'eQUO'#K[OOQQ'#K['#K[O%)WQUO'#K[O%#gQUO'#K[O%)]QUO'#K[OOQQ,59r,59rOOQQ,5>a,5>aOOQQ,5>b,5>bO%)eQUO'#HzO%)mQUO,5>cOOQQ,5>c,5>cO%-XQUO,5>cO%-dQUO,5>hO%1OQVO,5>iO%1VQUO,5>|O# hQVO'#EfO%4]QUO,5>|OOQQ,5>|,5>|O%4|QUO,5?OO%7QQUO,5?RO!<[QUO,5?RO%8|QUO,5?UO%sQUO1G0mOOQQ1G0m1G0mO%@PQUO'#CoO%B`QbO'#CwO%BkQUO'#CrO%BpQUO'#CrO%BuQUO1G.tO#AxQUO'#CqOOQQ1G.t1G.tO%DxQUO1G4]O%FOQUO1G4^O%GqQUO1G4^O%IdQUO1G4^O%KVQUO1G4^O%LxQUO1G4^O%NkQUO1G4^O&!^QUO1G4^O&$PQUO1G4^O&%rQUO1G4^O&'eQUO1G4^O&)WQUO1G4^O&*yQUO'#KPO&,SQUO'#KPO&,[QUO,59SOOQQ,5=P,5=PO&.dQUO,5=PO&.nQUO,5=PO&.sQUO,5=PO&.xQUO,5=PO!6nQUO,5=PO#NeQUO1G3XO&/SQUO1G4mO!<[QUO1G4mO&1OQUO1G4pO&2qQVO1G4pOOQQ1G.}1G.}OOQQ1G.|1G.|OOQQ1G2i1G2iO!IwQ&lO1G3XO&2xQUO'#LOO@XQVO'#EiO&4RQUO'#F]OOQQ'#Ja'#JaO&4WQUO'#FZO&4cQUO'#LOO&4kQUO,5;tO&4pQUO1G.qOOQQ1G.q1G.qOOQR1G/|1G/|O&6cQ!dO'#JPO&6hQbO,59xO&8yQ!eO'#D`O&9QQ!dO'#JRO&9VQbO,5@xO&9VQbO,5@xOOQR1G/c1G/cO&9bQbO1G/cO&9gQ&lO'#GeO&:eQbO,59cOOQR1G7Z1G7ZO#@[QUO1G1VO&:pQUO1G1^OBUQUO1G1VO&=RQUO'#CyO#*wQbO,59cO&@tQUO1G6sOOQR-E<{-E<{O&BWQUO1G0dO#6WQUO1G0dOOQQ-E=U-E=UO#6tQUO1G0dOOQQ1G0l1G0lO&B{QUO,59iOOQQ1G3l1G3lO&CcQUO,59iO&CyQUO,59iO!M_QVO1G4gO!(zQVO'#JYO&DeQUO,5AcOOQQ1G0o1G0oO!(zQVO1G0oO!6nQUO'#JnO&DmQUO,5AvOOQQ1G3p1G3pOOQR1G1V1G1VO&HjQVO'#FOO!M_QVO,5;sOOQQ,5;s,5;sOBUQUO'#JcO&JfQUO,5AiO&JnQVO'#E[OOQR1G1^1G1^O&M]QUO'#L[OOQR1G1n1G1nOOQR-E=f-E=fOOQR1G7]1G7]O#DhQUO1G7]OGVQUO1G7]O#DhQUO1G7_OOQR1G7_1G7_O&MeQUO'#G}O&MmQUO'#LWOOQQ,5=h,5=hO&M{QUO,5=jO&NQQUO,5=kOOQR1G7`1G7`O#EfQVO1G7`O&NVQUO1G7`O' ]QVO,5=kOOQR1G1U1G1UO$.vQUO'#E]O'!RQUO'#E]OOQQ'#Ky'#KyO'!lQUO'#KxO'!wQUO,5;UO'#PQUO'#ElO'#dQUO'#ElO'#wQUO'#EtOOQQ'#J['#J[O'#|QUO,5;cO'$sQUO,5;cO'%nQUO,5;dO'&tQVO,5;dOOQQ,5;d,5;dO''OQVO,5;dO'&tQVO,5;dO''VQUO,5;bO'(SQUO,5;eO'(_QUO'#KpO'(gQUO,5:vO'(lQUO,5;fOOQQ1G0n1G0nOOQQ'#J]'#J]O''VQUO,5;bO!4xQUO'#E}OOQQ,5;b,5;bO')gQUO'#E`O'+aQUO'#E{OHrQUO1G0nO'+fQUO'#EbOOQQ'#JX'#JXO'-OQUO'#KrOOQQ'#Kr'#KrO'-xQUO1G0eO'.pQUO1G3kO'/vQVO1G3kOOQQ1G3k1G3kO'0QQVO1G3kO'0XQUO'#L_O'1eQUO'#KXO'1sQUO'#KWO'2OQUO,59gO'2WQUO1G/`O'2]QUO'#FPOOQR1G1]1G1]OOQR1G2g1G2gO$>uQUO1G2gO'2gQUO1G2gO'2rQUO1G0ZOOQR'#J`'#J`O'2wQVO1G1XO'8pQUO'#FTO'8uQUO1G1VO!6nQUO'#JdO'9TQUO,5;|O$0^QUO,5;|OOQQ'#Fc'#FcOOQQ,5;|,5;|O'9cQUO1G1fOOQR1G1f1G1fO'9kQUO,5}QUO1G2`OOQQ'#Cu'#CuO'CzQUO'#G[O'DuQUO'#G[O'DzQUO'#LRO'EYQUO'#G_OOQQ'#LS'#LSO'EhQUO1G2`O'EmQVO1G1kO'HOQVO'#GUOBUQUO'#FWOOQR'#Je'#JeO'EmQVO1G1kO'HYQUO'#FvOOQR1G2f1G2fO'H_QUO1G2gO'HdQUO'#JgO'2gQUO1G2gO!(zQVO1G2tO'HlQUO1G2xO'IuQUO1G3QO'J{QUO1G3XOOQQ1G3o1G3oO'KaQUO1G3oOOQR1G3Z1G3ZO'KfQUO'#KZO'2]QUO'#LTOGkQUO'#LVOOQR'#Gy'#GyO#DhQUO'#LXOOQR'#HQ'#HQO'KpQUO'#GvO'#wQUO'#GuOOQR1G2{1G2{O'LmQUO1G2{O'MdQUO1G3ZO'MoQUO1G3_O'MtQUO1G3_OOQR1G3_1G3_O'M|QUO'#H]OOQR'#H]'#H]O( VQUO'#H]O!(zQVO'#H`O!(zQVO'#H_OOQR'#LZ'#LZO( [QUO'#LZOOQR'#Jk'#JkO( aQVO,5=vOOQQ,5=v,5=vO( hQUO'#H^O( pQUO'#HZOOQQ1G3a1G3aO( zQUO,5@vOOQQ,5@v,5@vO%)WQUO,5@vO%)]QUO,5@vO%$VQUO,5:eO(%iQUO'#KkO(%wQUO'#KkOOQQ,5:e,5:eOOQQ'#JS'#JSO(&SQUO'#D}O(&^QUO'#KqOGkQUO'#LVO('YQUO'#D}OOQQ'#Hp'#HpOOQQ'#Hr'#HrOOQQ'#Hs'#HsOOQQ'#Kl'#KlOOQQ'#JU'#JUO('dQUO,5:hOOQQ,5:h,5:hO((aQUO'#LVO((nQUO'#HtO()UQUO,5@vO()]QUO'#H{O()hQUO'#L^O()pQUO,5>fO()uQUO'#L]OOQQ1G3}1G3}O(-lQUO1G3}O(-sQUO1G3}O(-zQUO1G4TO(/QQUO1G4TO(/VQUO,5A|O!6nQUO1G4hO!(zQVO'#IiOOQQ1G4m1G4mO(/[QUO1G4mO(1_QVO1G4pPOOO1G.h1G.hP!A_{,UO1G.hP(3_QUO'#LeP(3j{,UO1G.hP(3o{7[O1G.hPO{O-E=s-E=sPOOO,5A},5A}P(3w{,UO,5A}POOO1G5Q1G5QO!(zQVO7+$[O(3|QUO'#CyOOQQ,59^,59^O(4XQbO,59cO(4dQbO,59^OOQQ,59],59]OOQQ7+)w7+)wO!M_QVO'#JtO(4oQUO,5@kOOQQ1G.n1G.nOOQQ1G2k1G2kO(4wQUO1G2kO(4|QUO7+(sOOQQ7+*X7+*XO(7bQUO7+*XO(7iQUO7+*XO(1_QVO7+*[O#NeQUO7+(sO(7vQVO'#JbO(8ZQUO,5AjO(8cQUO,5;vOOQQ'#Co'#CoOOQQ,5;w,5;wO!(zQVO'#F[OOQQ-E=_-E=_O!M_QVO,5;uOOQQ1G1`1G1`OOQQ,5?k,5?kOOQQ-E<}-E<}OOQR'#Dg'#DgOOQR'#Di'#DiOOQR'#Dl'#DlO(9lQ!eO'#K_O(9sQMkO'#K_O(9zQ!eO'#K_OOQR'#K_'#K_OOQR'#JQ'#JQO(:RQ!eO,59zOOQQ,59z,59zO(:YQbO,5?mOOQQ-E=P-E=PO(:hQbO1G6dOOQR7+$}7+$}OOQR7+&q7+&qOOQR7+&x7+&xO'8uQUO7+&qO(:sQUO7+&OO#6WQUO7+&OO(;hQUO1G/TO(]QUO,5?tOOQQ-E=W-E=WO(?fQUO7+&ZOOQQ,5@Y,5@YOOQQ-E=l-E=lO(?kQUO'#LOO@XQVO'#EiO(@wQUO1G1_OOQQ1G1_1G1_O(BQQUO,5?}OOQQ,5?},5?}OOQQ-E=a-E=aO(BfQUO'#KpOOQR7+,w7+,wO#DhQUO7+,wOOQR7+,y7+,yO(BsQUO,5=iO#DsQUO'#JjO(CUQUO,5ArOOQR1G3U1G3UOOQR1G3V1G3VO(CdQUO7+,zOOQR7+,z7+,zO(E[QUO,5:wO(FyQUO'#EwO!(zQVO,5;VO(GlQUO,5:wO(GvQUO'#EpO(HXQUO'#EzOOQQ,5;Z,5;ZO#K]QVO'#ExO(HoQUO,5:wO(HvQUO'#EyO#GgQUO'#JZO(J`QUO,5AdOOQQ1G0p1G0pO(JkQUO,5;WO!<[QUO,5;^O(KUQUO,5;_O(KdQUO,5;WO(MvQUO,5;`OOQQ-E=Y-E=YO(NOQUO1G0}OOQQ1G1O1G1OO(NyQUO1G1OO)!PQVO1G1OO)!WQVO1G1OO)!bQUO1G0|OOQQ1G0|1G0|OOQQ1G1P1G1PO)#_QUO'#JoO)#iQUO,5A[OOQQ1G0b1G0bOOQQ-E=Z-E=ZO)#qQUO,5;iO!<[QUO,5;iO)$nQVO,5:zO)$uQUO,5;gO$ mQUO7+&YOOQQ7+&Y7+&YO!(zQVO'#EfO)$|QUO,5:|OOQQ'#Ks'#KsOOQQ-E=V-E=VOOQQ,5A^,5A^OOQQ'#Jl'#JlO)(qQUO7+&PPOQQ7+&P7+&POOQQ7+)V7+)VO))iQUO7+)VO)*oQVO7+)VOOQQ,5>m,5>mO$)YQVO'#JsO)*vQUO,5@rOOQQ1G/R1G/ROOQQ7+$z7+$zO)+RQUO7+(RO)+WQUO7+(ROOQR7+(R7+(RO$>uQUO7+(ROOQQ7+%u7+%uOOQR-E=^-E=^O!0VQUO,5;oOOQQ,5@O,5@OOOQQ-E=b-E=bO$0^QUO1G1hOOQQ1G1h1G1hOOQR7+'Q7+'QOOQR1G1s1G1sOBUQUO,5;rO)+tQUO,5hQUO,5}QUO7+(dO)?SQVO7+(dOOQQ7+(l7+(lOOQQ7+)Z7+)ZO)?[QUO'#KjO)?fQUO'#KjOOQR,5=b,5=bO)?sQUO,5=bO!;bQUO,5=bO!;bQUO,5=bO!;bQUO,5=bOOQR7+(g7+(gOOQR7+(u7+(uOOQR7+(y7+(yOOQR,5=w,5=wO)?xQUO,5=zO)AOQUO,5=yOOQR,5Au,5AuOOQR-E=i-E=iOOQQ1G3b1G3bO)BUQUO,5=xO)BZQVO'#EfOOQQ1G6b1G6bO%)WQUO1G6bO%)]QUO1G6bOOQQ1G0P1G0POOQQ-E=Q-E=QO)DrQUO,5AVO(%iQUO'#JTO)D}QUO,5AVO)D}QUO,5AVO)EVQUO,5:iO8zQUO,5:iOOQQ,5>],5>]O)EaQUO,5AqO)EhQUO'#EVO)FrQUO'#EVO)G]QUO,5:iO)GgQUO'#HlO)GgQUO'#HmOOQQ'#Ko'#KoO)HUQUO'#KoO!(zQVO'#HnOOQQ,5:i,5:iO)HvQUO,5:iO!M_QVO,5:iOOQQ-E=S-E=SOOQQ1G0S1G0SOOQQ,5>`,5>`O)H{QUO1G6bO!(zQVO,5>gO)LjQUO'#JrO)LuQUO,5AxOOQQ1G4Q1G4QO)L}QUO,5AwOOQQ,5Aw,5AwOOQQ7+)i7+)iO*!lQUO7+)iOOQQ7+)o7+)oO*'kQVO1G7hO*)mQUO7+*SO*)rQUO,5?TO**xQUO7+*[POOO7+$S7+$SP*,kQUO'#LfP*,sQUO,5BPP*,x{,UO7+$SPOOO1G7i1G7iO*,}QUO<XQUO7+&jO*?_QVO7+&jOOQQ7+&h7+&hOOQQ,5@Z,5@ZOOQQ-E=m-E=mO*@ZQUO1G1TO*@eQUO1G1TO*AOQUO1G0fOOQQ1G0f1G0fO*BUQUO'#K{O*B^QUO1G1ROOQQ<uQUO<VO)GgQUO'#JpO*NQQUO1G0TO*NcQVO1G0TOOQQ1G3u1G3uO*NjQUO,5>WO*NuQUO,5>XO+ dQUO,5>YO+!jQUO1G0TO%)]QUO7++|O+#pQUO1G4ROOQQ,5@^,5@^OOQQ-E=p-E=pOOQQ<n,5>nO+/iQUOANAXOOQRANAXANAXO+/nQUO7+'`OOQRAN@cAN@cO+0zQVOAN@nO+1RQUOAN@nO!0tQVOAN@nO+2[QUOAN@nO+2aQUOAN@}O+2lQUOAN@}O+3rQUOAN@}OOQRAN@nAN@nO!M_QVOAN@}OOQRANAOANAOO+3wQUO7+'|O)7VQUO7+'|OOQQ7+(O7+(OO+4YQUO7+(OO+5`QVO7+(OO+5gQVO7+'hO+5nQUOANAjOOQR7+(h7+(hOOQR7+)P7+)PO+5sQUO7+)PO+5xQUO7+)POOQQ<= h<= hO+6QQUO7+,]O+6YQUO1G5ZOOQQ1G5Z1G5ZO+6eQUO7+%oOOQQ7+%o7+%oO+6vQUO7+%oO*NcQVO7+%oOOQQ7+)a7+)aO+6{QUO7+%oO+8RQUO7+%oO!M_QVO7+%oO+8]QUO1G0]O*LkQUO1G0]O)EhQUO1G0]OOQQ1G0a1G0aO+8zQUO1G3qO+:QQVO1G3qOOQQ1G3q1G3qO+:[QVO1G3qO+:cQUO,5@[OOQQ-E=n-E=nOOQQ1G3r1G3rO%)WQUO<= hOOQQ7+*Z7+*ZPOQQ,5@b,5@bPOQQ-E=t-E=tOOQQ1G/}1G/}OOQQ,5?x,5?xOOQQ-E=[-E=[OOQRG26sG26sO+:zQUOG26YO!0tQVOG26YO+QQUO<uAN>uO+BpQUOAN>uO+CvQUOAN>uO!M_QVOAN>uO+C{QUO<nQUO'#KZO,?OQUO'#CyO,?^QbO,59cO,6VQUO7+&OO,OP>i>{?aFXMX!&]!,sP!3m!4b!5VP!5qPPPPPPPP!6[P!7tPP!9V!:oP!:uPPPPPP!:xP!:xPP!:xPPPPPPPPP!;U!>lP!>oPP!?]!@QPPPPP!@UP>l!AgPP>l!Cn!Eo!E}!Gd!ITP!I`P!Io!Io!MP#!`##v#'S#*^!Eo#*hPP!Eo#*o#*u#*h#*h#*xP#*|#+k#+k#+k#+k!ITP#,U#,g#.|P#/bP#0}P#1R#1Z#2O#2Z#4i#4q#4q#1RP#1RP#4x#5OP#5YPP#5u#6d#7U#5uP#7v#8SP#5uP#5uPP#5u#5uP#5uP#5uP#5uP#5uP#5uP#5uP#8V#5Y#8sP#9YP#9o#9o#9o#9o#9|#1RP#:d#?`#?}PPPPPPPP#@uP#ATP#ATP#Aa#Dn#9OPP#@}#EQP#Ee#Ep#Ev#Ev#@}#FlP#1R#1R#1R#1R#1RP!Io#GW#G_#G_#G_#Gc!Ly#Gm!Ly#Gq!E}!E}!E}#Gt#L^!E}>l>l>l$#V!@Q!@Q!@Q!@Q!@Q!@Q!6[!6[!6[$#jP$%V$%e!6[$%kPP!6[$'y$'|#@l$(P:t7j$+V$-Q$.q$0a7jPP7j$2T7jP7j7jP7jP$5Z7jP7jPP7j$5gPPPPPPPPP*[P$8o$8u$;^$=d$=j$>Q$>[$>g$>v$>|$@[$AZ$Ab$Ai$Ao$Aw$BR$BX$Bd$Bj$Bs$B{$CW$C^$Ch$Cn$Cx$DP$D`$Df$DlP$Dr$Dz$ER$Ea$F}$GT$GZ$Gb$GkPPPPPPPP$Gq$GuPPPPP$Nw$'y$Nz%$S%&[P%&i%&lPPPPPPPPPP%&x%'{%(R%(V%)|%+Z%+|%,T%.d%.jPPP%.t%/P%/S%/Y%0a%0d%0n%0x%0|%2Q%2s%2y#@uP%3d%3t%3w%4X%4e%4i%4o%4u$'y$'|$'|%4x%4{P%5V%5YR#cP'`mO[aefwx{!W!X!g!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&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'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.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#Y4Y#Y#Z8q#Z#o4Y#o;'S$e;'S;=`(u<%lO$e4e8|d)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#]4Y#]#^:[#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e:gd)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#b4Y#b#c;u#c#o4Y#o;'S$e;'S;=`(u<%lO$e4e][)S,g)ZW(pQ%Z!b'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!?`^)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|!@[|!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!@gY)ZW!X-y(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!AbY!h,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!B__)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox}$e}!O!@[!O!_$e!_!`!8g!`!a!C^!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!CiY(x-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Dd^)ZW(pQ'f&j(w,gOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!E`!P!Q$e!Q![!GY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Ei[)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!F_!P#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!FjY)X,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]!Gen)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Icx!Q$e!Q![!GY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2T!IjY(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![!JY![#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O2T!Jcn(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Icx!Q(O!Q![!JY![!g(O!g!h!La!h!i##`!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#X(O#X#Y!La#Y#Z##`#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ljl(pQ!i,g'f&jOY(OZr(Ors%}s{(O{|!Nb|}(O}!O!Nb!O!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ni^(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![# e![!c(O!c!i# e!i#O(O#O#P&f#P#T(O#T#Z# e#Z;'S(O;'S;=`(o<%lO(O2T# nj(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Nbx!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T##id(pQ!i,g'f&jOY(OZr(Ors%}s!h(O!h!i##`!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#Y(O#Y#Z##`#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2]#%Sn)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|#'Q|}$e}!O#'Q!O!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#'Z`)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#(]![!c$e!c!i#(]!i#O$e#O#P&f#P#T$e#T#Z#(]#Z;'S$e;'S;=`(u<%lO$e2]#(hj)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Nbx!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#*ef)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox!h$e!h!i#*Y!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#Y$e#Y#Z#*Y#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e7Z#,W`)ZW(pQ%Z!b![,g'f&jOY$eZr$ers%^sw$ewx(Oxz$ez{#-Y{!P$e!P!Q#:s!Q!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#-c])ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y1e#._TOz#.[z{#.n{;'S#.[;'S;=`#/]<%lO#.[1e#.qVOz#.[z{#.n{!P#.[!P!Q#/W!Q;'S#.[;'S;=`#/]<%lO#.[1e#/]OT1e1e#/`P;=`<%l#.[7X#/jZ)ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7P#0bX'f&jOY#0]YZ#.[Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1SZ'f&jOY#0]YZ#.[Zz#0]z{#0}{!P#0]!P!Q#1u!Q#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1|UT1e'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}7P#2eZ'f&jOY#0]YZ#0]Z]#0]]^#3W^z#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3]X'f&jOY#0]YZ#0]Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3{P;=`<%l#0]7X#4V])ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{!P#/c!P!Q#5O!Q#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7X#5XW)ZWT1e'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^7X#5tP;=`<%l#/c7R#6OZ(pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#6x](pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{!P#5w!P!Q#7q!Q#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#7zW(pQT1e'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O7R#8gP;=`<%l#5w7Z#8s_)ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{!P#-Y!P!Q#9r!Q#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y7Z#9}Y)ZW(pQT1e'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#:pP;=`<%l#-Y7Z#;OY)ZW(pQS1e'f&jOY#:sZr#:srs#;nsw#:swx#@{x#O#:s#O#P#[<%lO#b#P;'S#[<%lO#[<%lO#_P;=`<%l#i]S1e'f&jOY#b#P#b#[<%lO#[<%lO#b#P#b#[<%lO#t!R![$2V![!c$e!c!i$2V!i#O$e#O#P&f#P#T$e#T#Z$2V#Z;'S$e;'S;=`(u<%lO$e2]$?Pv)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx$4lx!O$e!O!P$ m!P!Q$e!Q![$2V![!c$e!c!g$2V!g!h$:p!h!i$2V!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#U$2V#U#V$2V#V#X$2V#X#Y$:p#Y#Z$2V#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$0z#m;'S$e;'S;=`(u<%lO$e4e$Ar[(v-X)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox![$e![!]$Bh!]#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3s$BsYl-})ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]$CnY)W,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7V$Dk_p,g%]!b)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!^$Ej!^!_%+w!_!`%.U!`!a%0]!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej*[$Es])ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ejp$FoTO!`$Fl!`!a$GO!a;'S$Fl;'S;=`$GT<%lO$Flp$GTO$Wpp$GWP;=`<%l$Fl*Y$GbZ)ZW'f&jOY$GZYZ$FlZw$GZwx$HTx!`$GZ!`!a%(U!a#O$GZ#O#P$Ib#P;'S$GZ;'S;=`%(y<%lO$GZ*Q$HYX'f&jOY$HTYZ$FlZ!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q$IOU$WpY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}*Q$Ig['f&jOY$HTYZ$HTZ]$HT]^$J]^!`$HT!`!a$NO!a#O$HT#O#P%&n#P;'S$HT;'S;=`%'f;=`<%l%$z<%lO$HT*Q$JbX'f&jOY$HTYZ$J}Z!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT'[$KSX'f&jOY$J}YZ$FlZ!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$KvU$Wp'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}'[$L_Z'f&jOY$J}YZ$J}Z]$J}]^$MQ^!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MVX'f&jOY$J}YZ$J}Z!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MuP;=`<%l$J}*Q$M{P;=`<%l$HT*Q$NVW$Wp'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`$NtW'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`% eUY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%})`% |Y'f&jOY$NoYZ$NoZ]$No]^%!l^#O$No#O#P%#d#P;'S$No;'S;=`%$[;=`<%l%$z<%lO$No)`%!qX'f&jOY$NoYZ%}Z!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%#aP;=`<%l$No)`%#iZ'f&jOY$NoYZ%}Z]$No]^%!l^!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%$_XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$No<%lO%$z#t%$}WOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h<%lO%$z#t%%lOY#t#t%%oRO;'S%$z;'S;=`%%x;=`O%$z#t%%{XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l%$z<%lO%$z#t%&kP;=`<%l%$z*Q%&sZ'f&jOY$HTYZ$J}Z]$HT]^$J]^!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q%'iXOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$HT<%lO%$z*Y%(aW$WpY#t)ZW'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^*Y%(|P;=`<%l$GZ*S%)WZ(pQ'f&jOY%)PYZ$FlZr%)Prs$HTs!`%)P!`!a%)y!a#O%)P#O#P$Ib#P;'S%)P;'S;=`%*n<%lO%)P*S%*UW$WpY#t(pQ'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O*S%*qP;=`<%l%)P*[%+RY$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e*[%+tP;=`<%l$Ej7V%,U^)ZW(pQ%[!b!f,g'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!_$Ej!_!`%-Q!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%-]]!g-y)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%.c]%]!b!b,g)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%/[!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%/mY%]!b!b,g$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e)j%0hYY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%1c[)j!c)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`0Q!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%2f]%]!b)ZW(pQ!d,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`%3_!`!a%4[!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%3lY%]!b!b,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%4i[)ZW(pQ%[!b!f,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%5jY(uP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z%6ib)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e7Z%8Qb)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e5P%9cW)ZW(o/]'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^2T%:UW(pQ)Y,g'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O3o%:yZ!V-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!}$e!}#O%;l#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%;wY)PP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e4e%[Z]%=q]^%?Z^!Q%=q!Q![%?w![!w%=q!w!x%AX!x#O%=q#O#P%H_#P#i%=q#i#j%Ds#j#l%=q#l#m%IR#m;'S%=q;'S;=`%Kt<%lO%=q&t%=xUXY'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}4e%>e[XY(n.o'f&jOX%}XY-OYZ*[Z]%}]^-O^p%}pq-Oq#O%}#O#P,^#P;'S%};'S;=`'r<%lO%}4e%?bVXY'f&jOY%}YZ-OZ#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@OWXY'f&jOY%}Z!Q%}!Q![%@h![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@oWXY'f&jOY%}Z!Q%}!Q![%=q![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%A^['f&jOY%}Z!Q%}!Q![%BS![!c%}!c!i%BS!i#O%}#O#P&f#P#T%}#T#Z%BS#Z;'S%};'S;=`'r<%lO%}&t%BX['f&jOY%}Z!Q%}!Q![%B}![!c%}!c!i%B}!i#O%}#O#P&f#P#T%}#T#Z%B}#Z;'S%};'S;=`'r<%lO%}&t%CS['f&jOY%}Z!Q%}!Q![%Cx![!c%}!c!i%Cx!i#O%}#O#P&f#P#T%}#T#Z%Cx#Z;'S%};'S;=`'r<%lO%}&t%C}['f&jOY%}Z!Q%}!Q![%Ds![!c%}!c!i%Ds!i#O%}#O#P&f#P#T%}#T#Z%Ds#Z;'S%};'S;=`'r<%lO%}&t%Dx['f&jOY%}Z!Q%}!Q![%En![!c%}!c!i%En!i#O%}#O#P&f#P#T%}#T#Z%En#Z;'S%};'S;=`'r<%lO%}&t%Es['f&jOY%}Z!Q%}!Q![%Fi![!c%}!c!i%Fi!i#O%}#O#P&f#P#T%}#T#Z%Fi#Z;'S%};'S;=`'r<%lO%}&t%Fn['f&jOY%}Z!Q%}!Q![%Gd![!c%}!c!i%Gd!i#O%}#O#P&f#P#T%}#T#Z%Gd#Z;'S%};'S;=`'r<%lO%}&t%Gi['f&jOY%}Z!Q%}!Q![%=q![!c%}!c!i%=q!i#O%}#O#P&f#P#T%}#T#Z%=q#Z;'S%};'S;=`'r<%lO%}&t%HfXXY'f&jOY%}YZ%}Z]%}]^'W^#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%IW['f&jOY%}Z!Q%}!Q![%I|![!c%}!c!i%I|!i#O%}#O#P&f#P#T%}#T#Z%I|#Z;'S%};'S;=`'r<%lO%}&t%JR['f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KO[XY'f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KwP;=`<%l%=q2a%LVZ!W,V)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P#Q%Lx#Q;'S$e;'S;=`(u<%lO$e'Y%MTY)]d)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%NQ[)ZW(pQ%[!b'f&j!_,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z& Vd)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q!Y%6Y!Y!Z%7q!Z![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e2]&!pY!T,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o&#m^)ZW(pQ%[!b'f&j!^,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P#p$e#p#q&$i#q;'S$e;'S;=`(u<%lO$e3o&$vY)T,g%^!b)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e'V&%qY!Ua)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e(]&&nc)ZW(pQ%[!b'RP'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&(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'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:tOOQO,5:},5:}O4XQWO,5;]OOQO-E8a-E8aOOQP1G.m1G.mOOQP'#Ce'#CeO5RQaO,5;OOOQP'#Df'#DfOOQO-E8b-E8bOOQO1G.h1G.hO(QQWO1G.hO5fQWO1G.hO5nQeO1G.oO.cQ[O1G.oOOQP1G/a1G/aO6{QpO1G/dO7fQaO1G/gO8cQaO1G/iO9`QaO1G/jO:]Q!fO'#FOO:yQ!fO'#ExOOQO'#FO'#FOOOQO,5;i,5;iO<^QWO,5;iOWQWO1G/rO>]Q!fO'#DnO>qQWO,5:ZO>vQ!fO,5:_OOQO'#DP'#DPO'bQWO,5:]O?XQWO'#DwOOQS,5:b,5:bO?`QWO,5:dO'bQWO'#EiO?gQWO,5;mO*bQWO,5:`OOQO1G0P1G0PO?uQ!fO,5:^O@aQ!fO,59cOOQS,59e,59eO(QQWO,59iOOQS,59n,59nO@rQWO,59pOOQO1G0R1G0RO@yQ#tO,59rOARQ!fO,59lOOQO1G0T1G0TOBrQWO1G0TOBwQWO'#ETOOQO1G0W1G0WOOQO1G0^1G0^OOQO,5;V,5;VOOQO-E8i-E8iOCVQ!fO1G0bOCvQWO1G0`O%kQWO'#E_O$RQWO'#E`OEZQWO'#E^OOQO1G0b1G0bPEkQWO'#EcOUAN>UO!!RQWO,5;QOOQO-E8d-E8dO!!]QWOAN>dOOQS<S![;'S%T;'S;=`%f<%lO%Tm>ZY#m]|`Oy%Tz!Q%T!Q![>S![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%Tm?OY|`Oy%Tz{%T{|?n|}%T}!O?n!O!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm?sU|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@^U#m]|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@w[#m]|`Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TbAtS#xQ|`Oy%Tz;'S%T;'S;=`%f<%lO%TkBVScZOy%Tz;'S%T;'S;=`%f<%lO%TmBhXrWOy%Tz}%T}!OCT!O!P=k!P!Q%T!Q![@p![;'S%T;'S;=`%f<%lO%TmCYW|`Oy%Tz!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%TmCy[f]|`Oy%Tz}%T}!OCr!O!Q%T!Q![Cr![!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%ToDtW#iROy%Tz!O%T!O!PE^!P!Q%T!Q![>S![;'S%T;'S;=`%f<%lO%TlEcU|`Oy%Tz!O%T!O!PEu!P;'S%T;'S;=`%f<%lO%TlE|S#s[|`Oy%Tz;'S%T;'S;=`%f<%lO%T~F_VrWOy%Tz{Ft{!P%T!P!QIl!Q;'S%T;'S;=`%f<%lO%T~FyU|`OyFtyzG]z{Hd{;'SFt;'S;=`If<%lOFt~G`TOzG]z{Go{;'SG];'S;=`H^<%lOG]~GrVOzG]z{Go{!PG]!P!QHX!Q;'SG];'S;=`H^<%lOG]~H^OR~~HaP;=`<%lG]~HiW|`OyFtyzG]z{Hd{!PFt!P!QIR!Q;'SFt;'S;=`If<%lOFt~IYS|`R~Oy%Tz;'S%T;'S;=`%f<%lO%T~IiP;=`<%lFt~IsV|`S~OYIlYZ%TZyIlyzJYz;'SIl;'S;=`Jq<%lOIl~J_SS~OYJYZ;'SJY;'S;=`Jk<%lOJY~JnP;=`<%lJY~JtP;=`<%lIlmJ|[#m]Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TkKwU^ZOy%Tz![%T![!]LZ!];'S%T;'S;=`%f<%lO%TcLbS_R|`Oy%Tz;'S%T;'S;=`%f<%lO%TkLsS!ZZOy%Tz;'S%T;'S;=`%f<%lO%ThMUUrWOy%Tz!_%T!_!`Mh!`;'S%T;'S;=`%f<%lO%ThMoS|`rWOy%Tz;'S%T;'S;=`%f<%lO%TlNSW!SSrWOy%Tz!^%T!^!_Mh!_!`%T!`!aMh!a;'S%T;'S;=`%f<%lO%TjNsV!UQrWOy%Tz!_%T!_!`Mh!`!a! Y!a;'S%T;'S;=`%f<%lO%Tb! aS!UQ|`Oy%Tz;'S%T;'S;=`%f<%lO%To! rYg]Oy%Tz!b%T!b!c!!b!c!}!#R!}#T%T#T#o!#R#o#p!$O#p;'S%T;'S;=`%f<%lO%Tm!!iWg]|`Oy%Tz!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%Tm!#Y[g]|`Oy%Tz}%T}!O!#R!O!Q%T!Q![!#R![!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%To!$TW|`Oy%Tz!c%T!c!}!$m!}#T%T#T#o!$m#o;'S%T;'S;=`%f<%lO%To!$r^|`Oy%Tz}%T}!O!$m!O!Q%T!Q![!$m![!c%T!c!}!$m!}#T%T#T#o!$m#o#q%T#q#r!%n#r;'S%T;'S;=`%f<%lO%To!%uSp_|`Oy%Tz;'S%T;'S;=`%f<%lO%To!&W[#h_Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%To!'T[#h_|`Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%Tk!(OSyZOy%Tz;'S%T;'S;=`%f<%lO%Tm!(aSw]Oy%Tz;'S%T;'S;=`%f<%lO%Td!(pUOy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tk!)XS!^ZOy%Tz;'S%T;'S;=`%f<%lO%Tk!)jS!]ZOy%Tz;'S%T;'S;=`%f<%lO%To!){Y#oQOr%Trs!*ksw%Twx!.wxy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tm!*pZ|`OY!*kYZ%TZr!*krs!+csy!*kyz!+vz#O!*k#O#P!-j#P;'S!*k;'S;=`!.q<%lO!*km!+jSo]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+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}; +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%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:tOOQO,5:},5:}O4XQWO,5;]OOQO-E8a-E8aOOQP1G.m1G.mOOQP'#Ce'#CeO5RQaO,5;OOOQP'#Df'#DfOOQO-E8b-E8bOOQO1G.h1G.hO(QQWO1G.hO5fQWO1G.hO5nQeO1G.oO.cQ[O1G.oOOQP1G/a1G/aO6{QpO1G/dO7fQaO1G/gO8cQaO1G/iO9`QaO1G/jO:]Q!fO'#FOO:yQ!fO'#ExOOQO'#FO'#FOOOQO,5;i,5;iO<^QWO,5;iOWQWO1G/rO>]Q!fO'#DnO>qQWO,5:ZO>vQ!fO,5:_OOQO'#DP'#DPO'bQWO,5:]O?XQWO'#DwOOQS,5:b,5:bO?`QWO,5:dO'bQWO'#EiO?gQWO,5;mO*bQWO,5:`OOQO1G0P1G0PO?uQ!fO,5:^O@aQ!fO,59cOOQS,59e,59eO(QQWO,59iOOQS,59n,59nO@rQWO,59pOOQO1G0R1G0RO@yQ#tO,59rOARQ!fO,59lOOQO1G0T1G0TOBrQWO1G0TOBwQWO'#ETOOQO1G0W1G0WOOQO1G0^1G0^OOQO,5;V,5;VOOQO-E8i-E8iOCVQ!fO1G0bOCvQWO1G0`O%kQWO'#E_O$RQWO'#E`OEZQWO'#E^OOQO1G0b1G0bPEkQWO'#EcOUAN>UO!!RQWO,5;QOOQO-E8d-E8dO!!]QWOAN>dOOQS<S![;'S%T;'S;=`%f<%lO%Tm>ZY#m]|`Oy%Tz!Q%T!Q![>S![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%Tm?OY|`Oy%Tz{%T{|?n|}%T}!O?n!O!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm?sU|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@^U#m]|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@w[#m]|`Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TbAtS#xQ|`Oy%Tz;'S%T;'S;=`%f<%lO%TkBVScZOy%Tz;'S%T;'S;=`%f<%lO%TmBhXrWOy%Tz}%T}!OCT!O!P=k!P!Q%T!Q![@p![;'S%T;'S;=`%f<%lO%TmCYW|`Oy%Tz!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%TmCy[f]|`Oy%Tz}%T}!OCr!O!Q%T!Q![Cr![!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%ToDtW#iROy%Tz!O%T!O!PE^!P!Q%T!Q![>S![;'S%T;'S;=`%f<%lO%TlEcU|`Oy%Tz!O%T!O!PEu!P;'S%T;'S;=`%f<%lO%TlE|S#s[|`Oy%Tz;'S%T;'S;=`%f<%lO%T~F_VrWOy%Tz{Ft{!P%T!P!QIl!Q;'S%T;'S;=`%f<%lO%T~FyU|`OyFtyzG]z{Hd{;'SFt;'S;=`If<%lOFt~G`TOzG]z{Go{;'SG];'S;=`H^<%lOG]~GrVOzG]z{Go{!PG]!P!QHX!Q;'SG];'S;=`H^<%lOG]~H^OR~~HaP;=`<%lG]~HiW|`OyFtyzG]z{Hd{!PFt!P!QIR!Q;'SFt;'S;=`If<%lOFt~IYS|`R~Oy%Tz;'S%T;'S;=`%f<%lO%T~IiP;=`<%lFt~IsV|`S~OYIlYZ%TZyIlyzJYz;'SIl;'S;=`Jq<%lOIl~J_SS~OYJYZ;'SJY;'S;=`Jk<%lOJY~JnP;=`<%lJY~JtP;=`<%lIlmJ|[#m]Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TkKwU^ZOy%Tz![%T![!]LZ!];'S%T;'S;=`%f<%lO%TcLbS_R|`Oy%Tz;'S%T;'S;=`%f<%lO%TkLsS!ZZOy%Tz;'S%T;'S;=`%f<%lO%ThMUUrWOy%Tz!_%T!_!`Mh!`;'S%T;'S;=`%f<%lO%ThMoS|`rWOy%Tz;'S%T;'S;=`%f<%lO%TlNSW!SSrWOy%Tz!^%T!^!_Mh!_!`%T!`!aMh!a;'S%T;'S;=`%f<%lO%TjNsV!UQrWOy%Tz!_%T!_!`Mh!`!a! Y!a;'S%T;'S;=`%f<%lO%Tb! aS!UQ|`Oy%Tz;'S%T;'S;=`%f<%lO%To! rYg]Oy%Tz!b%T!b!c!!b!c!}!#R!}#T%T#T#o!#R#o#p!$O#p;'S%T;'S;=`%f<%lO%Tm!!iWg]|`Oy%Tz!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%Tm!#Y[g]|`Oy%Tz}%T}!O!#R!O!Q%T!Q![!#R![!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%To!$TW|`Oy%Tz!c%T!c!}!$m!}#T%T#T#o!$m#o;'S%T;'S;=`%f<%lO%To!$r^|`Oy%Tz}%T}!O!$m!O!Q%T!Q![!$m![!c%T!c!}!$m!}#T%T#T#o!$m#o#q%T#q#r!%n#r;'S%T;'S;=`%f<%lO%To!%uSp_|`Oy%Tz;'S%T;'S;=`%f<%lO%To!&W[#h_Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%To!'T[#h_|`Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%Tk!(OSyZOy%Tz;'S%T;'S;=`%f<%lO%Tm!(aSw]Oy%Tz;'S%T;'S;=`%f<%lO%Td!(pUOy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tk!)XS!^ZOy%Tz;'S%T;'S;=`%f<%lO%Tk!)jS!]ZOy%Tz;'S%T;'S;=`%f<%lO%To!){Y#oQOr%Trs!*ksw%Twx!.wxy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tm!*pZ|`OY!*kYZ%TZr!*krs!+csy!*kyz!+vz#O!*k#O#P!-j#P;'S!*k;'S;=`!.q<%lO!*km!+jSo]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+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);++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{},isArray$3=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(xe){return encodeURI(""+xe).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(xe){return commonEncode(xe).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(xe){return commonEncode(xe).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(xe){return encodeQueryValue(xe).replace(EQUAL_RE,"%3D")}function encodePath(xe){return commonEncode(xe).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(xe){return xe==null?"":encodePath(xe).replace(SLASH_RE,"%2F")}function decode$1(xe){try{return decodeURIComponent(""+xe)}catch{}return""+xe}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=xe=>xe.replace(TRAILING_SLASH_RE,"");function parseURL(xe,$e,Ie="/"){let Fe,Ue={},qe="",At="";const Dt=$e.indexOf("#");let Lt=$e.indexOf("?");return Dt=0&&(Lt=-1),Lt>-1&&(Fe=$e.slice(0,Lt),qe=$e.slice(Lt+1,Dt>-1?Dt:$e.length),Ue=xe(qe)),Dt>-1&&(Fe=Fe||$e.slice(0,Dt),At=$e.slice(Dt,$e.length)),Fe=resolveRelativePath(Fe??$e,Ie),{fullPath:Fe+(qe&&"?")+qe+At,path:Fe,query:Ue,hash:decode$1(At)}}function stringifyURL(xe,$e){const Ie=$e.query?xe($e.query):"";return $e.path+(Ie&&"?")+Ie+($e.hash||"")}function stripBase(xe,$e){return!$e||!xe.toLowerCase().startsWith($e.toLowerCase())?xe:xe.slice($e.length)||"/"}function isSameRouteLocation(xe,$e,Ie){const Fe=$e.matched.length-1,Ue=Ie.matched.length-1;return Fe>-1&&Fe===Ue&&isSameRouteRecord($e.matched[Fe],Ie.matched[Ue])&&isSameRouteLocationParams($e.params,Ie.params)&&xe($e.query)===xe(Ie.query)&&$e.hash===Ie.hash}function isSameRouteRecord(xe,$e){return(xe.aliasOf||xe)===($e.aliasOf||$e)}function isSameRouteLocationParams(xe,$e){if(Object.keys(xe).length!==Object.keys($e).length)return!1;for(const Ie in xe)if(!isSameRouteLocationParamsValue(xe[Ie],$e[Ie]))return!1;return!0}function isSameRouteLocationParamsValue(xe,$e){return isArray$3(xe)?isEquivalentArray(xe,$e):isArray$3($e)?isEquivalentArray($e,xe):xe===$e}function isEquivalentArray(xe,$e){return isArray$3($e)?xe.length===$e.length&&xe.every((Ie,Fe)=>Ie===$e[Fe]):xe.length===1&&xe[0]===$e}function resolveRelativePath(xe,$e){if(xe.startsWith("/"))return xe;if(!xe)return $e;const Ie=$e.split("/"),Fe=xe.split("/"),Ue=Fe[Fe.length-1];(Ue===".."||Ue===".")&&Fe.push("");let qe=Ie.length-1,At,Dt;for(At=0;At1&&qe--;else break;return Ie.slice(0,qe).join("/")+"/"+Fe.slice(At).join("/")}var NavigationType;(function(xe){xe.pop="pop",xe.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(xe){xe.back="back",xe.forward="forward",xe.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(xe){if(!xe)if(isBrowser$1){const $e=document.querySelector("base");xe=$e&&$e.getAttribute("href")||"/",xe=xe.replace(/^\w+:\/\/[^\/]+/,"")}else xe="/";return xe[0]!=="/"&&xe[0]!=="#"&&(xe="/"+xe),removeTrailingSlash(xe)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(xe,$e){return xe.replace(BEFORE_HASH_RE,"#")+$e}function getElementPosition(xe,$e){const Ie=document.documentElement.getBoundingClientRect(),Fe=xe.getBoundingClientRect();return{behavior:$e.behavior,left:Fe.left-Ie.left-($e.left||0),top:Fe.top-Ie.top-($e.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(xe){let $e;if("el"in xe){const Ie=xe.el,Fe=typeof Ie=="string"&&Ie.startsWith("#"),Ue=typeof Ie=="string"?Fe?document.getElementById(Ie.slice(1)):document.querySelector(Ie):Ie;if(!Ue)return;$e=getElementPosition(Ue,xe)}else $e=xe;"scrollBehavior"in document.documentElement.style?window.scrollTo($e):window.scrollTo($e.left!=null?$e.left:window.scrollX,$e.top!=null?$e.top:window.scrollY)}function getScrollKey(xe,$e){return(history.state?history.state.position-$e:-1)+xe}const scrollPositions=new Map;function saveScrollPosition(xe,$e){scrollPositions.set(xe,$e)}function getSavedScrollPosition(xe){const $e=scrollPositions.get(xe);return scrollPositions.delete(xe),$e}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(xe,$e){const{pathname:Ie,search:Fe,hash:Ue}=$e,qe=xe.indexOf("#");if(qe>-1){let Dt=Ue.includes(xe.slice(qe))?xe.slice(qe).length:1,Lt=Ue.slice(Dt);return Lt[0]!=="/"&&(Lt="/"+Lt),stripBase(Lt,"")}return stripBase(Ie,xe)+Fe+Ue}function useHistoryListeners(xe,$e,Ie,Fe){let Ue=[],qe=[],At=null;const Dt=({state:bn})=>{const _n=createCurrentLocation(xe,location),wn=Ie.value,kn=$e.value;let Cn=0;if(bn){if(Ie.value=_n,$e.value=bn,At&&At===wn){At=null;return}Cn=kn?bn.position-kn.position:0}else Fe(_n);Ue.forEach(Sn=>{Sn(Ie.value,wn,{delta:Cn,type:NavigationType.pop,direction:Cn?Cn>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function Lt(){At=Ie.value}function jt(bn){Ue.push(bn);const _n=()=>{const wn=Ue.indexOf(bn);wn>-1&&Ue.splice(wn,1)};return qe.push(_n),_n}function hn(){const{history:bn}=window;bn.state&&bn.replaceState(assign({},bn.state,{scroll:computeScrollPosition()}),"")}function vn(){for(const bn of qe)bn();qe=[],window.removeEventListener("popstate",Dt),window.removeEventListener("beforeunload",hn)}return window.addEventListener("popstate",Dt),window.addEventListener("beforeunload",hn,{passive:!0}),{pauseListeners:Lt,listen:jt,destroy:vn}}function buildState(xe,$e,Ie,Fe=!1,Ue=!1){return{back:xe,current:$e,forward:Ie,replaced:Fe,position:window.history.length,scroll:Ue?computeScrollPosition():null}}function useHistoryStateNavigation(xe){const{history:$e,location:Ie}=window,Fe={value:createCurrentLocation(xe,Ie)},Ue={value:$e.state};Ue.value||qe(Fe.value,{back:null,current:Fe.value,forward:null,position:$e.length-1,replaced:!0,scroll:null},!0);function qe(Lt,jt,hn){const vn=xe.indexOf("#"),bn=vn>-1?(Ie.host&&document.querySelector("base")?xe:xe.slice(vn))+Lt:createBaseLocation()+xe+Lt;try{$e[hn?"replaceState":"pushState"](jt,"",bn),Ue.value=jt}catch(_n){console.error(_n),Ie[hn?"replace":"assign"](bn)}}function At(Lt,jt){const hn=assign({},$e.state,buildState(Ue.value.back,Lt,Ue.value.forward,!0),jt,{position:Ue.value.position});qe(Lt,hn,!0),Fe.value=Lt}function Dt(Lt,jt){const hn=assign({},Ue.value,$e.state,{forward:Lt,scroll:computeScrollPosition()});qe(hn.current,hn,!0);const vn=assign({},buildState(Fe.value,Lt,null),{position:hn.position+1},jt);qe(Lt,vn,!1),Fe.value=Lt}return{location:Fe,state:Ue,push:Dt,replace:At}}function createWebHistory(xe){xe=normalizeBase(xe);const $e=useHistoryStateNavigation(xe),Ie=useHistoryListeners(xe,$e.state,$e.location,$e.replace);function Fe(qe,At=!0){At||Ie.pauseListeners(),history.go(qe)}const Ue=assign({location:"",base:xe,go:Fe,createHref:createHref.bind(null,xe)},$e,Ie);return Object.defineProperty(Ue,"location",{enumerable:!0,get:()=>$e.location.value}),Object.defineProperty(Ue,"state",{enumerable:!0,get:()=>$e.state.value}),Ue}function createWebHashHistory(xe){return xe=location.host?xe||location.pathname+location.search:"",xe.includes("#")||(xe+="#"),createWebHistory(xe)}function isRouteLocation(xe){return typeof xe=="string"||xe&&typeof xe=="object"}function isRouteName(xe){return typeof xe=="string"||typeof xe=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(xe){xe[xe.aborted=4]="aborted",xe[xe.cancelled=8]="cancelled",xe[xe.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(xe,$e){return assign(new Error,{type:xe,[NavigationFailureSymbol]:!0},$e)}function isNavigationFailure(xe,$e){return xe instanceof Error&&NavigationFailureSymbol in xe&&($e==null||!!(xe.type&$e))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(xe,$e){const Ie=assign({},BASE_PATH_PARSER_OPTIONS,$e),Fe=[];let Ue=Ie.start?"^":"";const qe=[];for(const jt of xe){const hn=jt.length?[]:[90];Ie.strict&&!jt.length&&(Ue+="/");for(let vn=0;vn$e.length?$e.length===1&&$e[0]===80?1:-1:0}function comparePathParserScore(xe,$e){let Ie=0;const Fe=xe.score,Ue=$e.score;for(;Ie0&&$e[$e.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(xe){if(!xe)return[[]];if(xe==="/")return[[ROOT_TOKEN]];if(!xe.startsWith("/"))throw new Error(`Invalid path "${xe}"`);function $e(_n){throw new Error(`ERR (${Ie})/"${jt}": ${_n}`)}let Ie=0,Fe=Ie;const Ue=[];let qe;function At(){qe&&Ue.push(qe),qe=[]}let Dt=0,Lt,jt="",hn="";function vn(){jt&&(Ie===0?qe.push({type:0,value:jt}):Ie===1||Ie===2||Ie===3?(qe.length>1&&(Lt==="*"||Lt==="+")&&$e(`A repeatable param (${jt}) must be alone in its segment. eg: '/:ids+.`),qe.push({type:1,value:jt,regexp:hn,repeatable:Lt==="*"||Lt==="+",optional:Lt==="*"||Lt==="?"})):$e("Invalid state to consume buffer"),jt="")}function bn(){jt+=Lt}for(;Dt{At(xn)}:noop$4}function At(hn){if(isRouteName(hn)){const vn=Fe.get(hn);vn&&(Fe.delete(hn),Ie.splice(Ie.indexOf(vn),1),vn.children.forEach(At),vn.alias.forEach(At))}else{const vn=Ie.indexOf(hn);vn>-1&&(Ie.splice(vn,1),hn.record.name&&Fe.delete(hn.record.name),hn.children.forEach(At),hn.alias.forEach(At))}}function Dt(){return Ie}function Lt(hn){const vn=findInsertionIndex(hn,Ie);Ie.splice(vn,0,hn),hn.record.name&&!isAliasRecord(hn)&&Fe.set(hn.record.name,hn)}function jt(hn,vn){let bn,_n={},wn,kn;if("name"in hn&&hn.name){if(bn=Fe.get(hn.name),!bn)throw createRouterError(1,{location:hn});kn=bn.record.name,_n=assign(paramsFromLocation(vn.params,bn.keys.filter(xn=>!xn.optional).concat(bn.parent?bn.parent.keys.filter(xn=>xn.optional):[]).map(xn=>xn.name)),hn.params&¶msFromLocation(hn.params,bn.keys.map(xn=>xn.name))),wn=bn.stringify(_n)}else if(hn.path!=null)wn=hn.path,bn=Ie.find(xn=>xn.re.test(wn)),bn&&(_n=bn.parse(wn),kn=bn.record.name);else{if(bn=vn.name?Fe.get(vn.name):Ie.find(xn=>xn.re.test(vn.path)),!bn)throw createRouterError(1,{location:hn,currentLocation:vn});kn=bn.record.name,_n=assign({},vn.params,hn.params),wn=bn.stringify(_n)}const Cn=[];let Sn=bn;for(;Sn;)Cn.unshift(Sn.record),Sn=Sn.parent;return{name:kn,path:wn,params:_n,matched:Cn,meta:mergeMetaFields(Cn)}}return xe.forEach(hn=>qe(hn)),{addRoute:qe,resolve:jt,removeRoute:At,getRoutes:Dt,getRecordMatcher:Ue}}function paramsFromLocation(xe,$e){const Ie={};for(const Fe of $e)Fe in xe&&(Ie[Fe]=xe[Fe]);return Ie}function normalizeRouteRecord(xe){return{path:xe.path,redirect:xe.redirect,name:xe.name,meta:xe.meta||{},aliasOf:void 0,beforeEnter:xe.beforeEnter,props:normalizeRecordProps(xe),children:xe.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in xe?xe.components||null:xe.component&&{default:xe.component}}}function normalizeRecordProps(xe){const $e={},Ie=xe.props||!1;if("component"in xe)$e.default=Ie;else for(const Fe in xe.components)$e[Fe]=typeof Ie=="object"?Ie[Fe]:Ie;return $e}function isAliasRecord(xe){for(;xe;){if(xe.record.aliasOf)return!0;xe=xe.parent}return!1}function mergeMetaFields(xe){return xe.reduce(($e,Ie)=>assign($e,Ie.meta),{})}function mergeOptions$1(xe,$e){const Ie={};for(const Fe in xe)Ie[Fe]=Fe in $e?$e[Fe]:xe[Fe];return Ie}function findInsertionIndex(xe,$e){let Ie=0,Fe=$e.length;for(;Ie!==Fe;){const qe=Ie+Fe>>1;comparePathParserScore(xe,$e[qe])<0?Fe=qe:Ie=qe+1}const Ue=getInsertionAncestor(xe);return Ue&&(Fe=$e.lastIndexOf(Ue,Fe-1)),Fe}function getInsertionAncestor(xe){let $e=xe;for(;$e=$e.parent;)if(isMatchable($e)&&comparePathParserScore(xe,$e)===0)return $e}function isMatchable({record:xe}){return!!(xe.name||xe.components&&Object.keys(xe.components).length||xe.redirect)}function parseQuery(xe){const $e={};if(xe===""||xe==="?")return $e;const Fe=(xe[0]==="?"?xe.slice(1):xe).split("&");for(let Ue=0;Ueqe&&encodeQueryValue(qe)):[Fe&&encodeQueryValue(Fe)]).forEach(qe=>{qe!==void 0&&($e+=($e.length?"&":"")+Ie,qe!=null&&($e+="="+qe))})}return $e}function normalizeQuery(xe){const $e={};for(const Ie in xe){const Fe=xe[Ie];Fe!==void 0&&($e[Ie]=isArray$3(Fe)?Fe.map(Ue=>Ue==null?null:""+Ue):Fe==null?Fe:""+Fe)}return $e}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let xe=[];function $e(Fe){return xe.push(Fe),()=>{const Ue=xe.indexOf(Fe);Ue>-1&&xe.splice(Ue,1)}}function Ie(){xe=[]}return{add:$e,list:()=>xe.slice(),reset:Ie}}function registerGuard(xe,$e,Ie){const Fe=()=>{xe[$e].delete(Ie)};onUnmounted(Fe),onDeactivated(Fe),onActivated(()=>{xe[$e].add(Ie)}),xe[$e].add(Ie)}function onBeforeRouteLeave(xe){const $e=inject(matchedRouteKey,{}).value;$e&®isterGuard($e,"leaveGuards",xe)}function guardToPromiseFn(xe,$e,Ie,Fe,Ue,qe=At=>At()){const At=Fe&&(Fe.enterCallbacks[Ue]=Fe.enterCallbacks[Ue]||[]);return()=>new Promise((Dt,Lt)=>{const jt=bn=>{bn===!1?Lt(createRouterError(4,{from:Ie,to:$e})):bn instanceof Error?Lt(bn):isRouteLocation(bn)?Lt(createRouterError(2,{from:$e,to:bn})):(At&&Fe.enterCallbacks[Ue]===At&&typeof bn=="function"&&At.push(bn),Dt())},hn=qe(()=>xe.call(Fe&&Fe.instances[Ue],$e,Ie,jt));let vn=Promise.resolve(hn);xe.length<3&&(vn=vn.then(jt)),vn.catch(bn=>Lt(bn))})}function extractComponentsGuards(xe,$e,Ie,Fe,Ue=qe=>qe()){const qe=[];for(const At of xe)for(const Dt in At.components){let Lt=At.components[Dt];if(!($e!=="beforeRouteEnter"&&!At.instances[Dt]))if(isRouteComponent(Lt)){const hn=(Lt.__vccOpts||Lt)[$e];hn&&qe.push(guardToPromiseFn(hn,Ie,Fe,At,Dt,Ue))}else{let jt=Lt();qe.push(()=>jt.then(hn=>{if(!hn)return Promise.reject(new Error(`Couldn't resolve component "${Dt}" at "${At.path}"`));const vn=isESModule(hn)?hn.default:hn;At.components[Dt]=vn;const _n=(vn.__vccOpts||vn)[$e];return _n&&guardToPromiseFn(_n,Ie,Fe,At,Dt,Ue)()}))}}return qe}function isRouteComponent(xe){return typeof xe=="object"||"displayName"in xe||"props"in xe||"__vccOpts"in xe}function useLink(xe){const $e=inject(routerKey),Ie=inject(routeLocationKey),Fe=computed(()=>{const Lt=unref(xe.to);return $e.resolve(Lt)}),Ue=computed(()=>{const{matched:Lt}=Fe.value,{length:jt}=Lt,hn=Lt[jt-1],vn=Ie.matched;if(!hn||!vn.length)return-1;const bn=vn.findIndex(isSameRouteRecord.bind(null,hn));if(bn>-1)return bn;const _n=getOriginalPath(Lt[jt-2]);return jt>1&&getOriginalPath(hn)===_n&&vn[vn.length-1].path!==_n?vn.findIndex(isSameRouteRecord.bind(null,Lt[jt-2])):bn}),qe=computed(()=>Ue.value>-1&&includesParams(Ie.params,Fe.value.params)),At=computed(()=>Ue.value>-1&&Ue.value===Ie.matched.length-1&&isSameRouteLocationParams(Ie.params,Fe.value.params));function Dt(Lt={}){return guardEvent(Lt)?$e[unref(xe.replace)?"replace":"push"](unref(xe.to)).catch(noop$4):Promise.resolve()}return{route:Fe,href:computed(()=>Fe.value.href),isActive:qe,isExactActive:At,navigate:Dt}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(xe,{slots:$e}){const Ie=reactive(useLink(xe)),{options:Fe}=inject(routerKey),Ue=computed(()=>({[getLinkClass(xe.activeClass,Fe.linkActiveClass,"router-link-active")]:Ie.isActive,[getLinkClass(xe.exactActiveClass,Fe.linkExactActiveClass,"router-link-exact-active")]:Ie.isExactActive}));return()=>{const qe=$e.default&&$e.default(Ie);return xe.custom?qe:h$5("a",{"aria-current":Ie.isExactActive?xe.ariaCurrentValue:null,href:Ie.href,onClick:Ie.navigate,class:Ue.value},qe)}}}),RouterLink=RouterLinkImpl;function guardEvent(xe){if(!(xe.metaKey||xe.altKey||xe.ctrlKey||xe.shiftKey)&&!xe.defaultPrevented&&!(xe.button!==void 0&&xe.button!==0)){if(xe.currentTarget&&xe.currentTarget.getAttribute){const $e=xe.currentTarget.getAttribute("target");if(/\b_blank\b/i.test($e))return}return xe.preventDefault&&xe.preventDefault(),!0}}function includesParams(xe,$e){for(const Ie in $e){const Fe=$e[Ie],Ue=xe[Ie];if(typeof Fe=="string"){if(Fe!==Ue)return!1}else if(!isArray$3(Ue)||Ue.length!==Fe.length||Fe.some((qe,At)=>qe!==Ue[At]))return!1}return!0}function getOriginalPath(xe){return xe?xe.aliasOf?xe.aliasOf.path:xe.path:""}const getLinkClass=(xe,$e,Ie)=>xe??$e??Ie,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(xe,{attrs:$e,slots:Ie}){const Fe=inject(routerViewLocationKey),Ue=computed(()=>xe.route||Fe.value),qe=inject(viewDepthKey,0),At=computed(()=>{let jt=unref(qe);const{matched:hn}=Ue.value;let vn;for(;(vn=hn[jt])&&!vn.components;)jt++;return jt}),Dt=computed(()=>Ue.value.matched[At.value]);provide(viewDepthKey,computed(()=>At.value+1)),provide(matchedRouteKey,Dt),provide(routerViewLocationKey,Ue);const Lt=ref();return watch(()=>[Lt.value,Dt.value,xe.name],([jt,hn,vn],[bn,_n,wn])=>{hn&&(hn.instances[vn]=jt,_n&&_n!==hn&&jt&&jt===bn&&(hn.leaveGuards.size||(hn.leaveGuards=_n.leaveGuards),hn.updateGuards.size||(hn.updateGuards=_n.updateGuards))),jt&&hn&&(!_n||!isSameRouteRecord(hn,_n)||!bn)&&(hn.enterCallbacks[vn]||[]).forEach(kn=>kn(jt))},{flush:"post"}),()=>{const jt=Ue.value,hn=xe.name,vn=Dt.value,bn=vn&&vn.components[hn];if(!bn)return normalizeSlot(Ie.default,{Component:bn,route:jt});const _n=vn.props[hn],wn=_n?_n===!0?jt.params:typeof _n=="function"?_n(jt):_n:null,Cn=h$5(bn,assign({},wn,$e,{onVnodeUnmounted:Sn=>{Sn.component.isUnmounted&&(vn.instances[hn]=null)},ref:Lt}));return normalizeSlot(Ie.default,{Component:Cn,route:jt})||Cn}}});function normalizeSlot(xe,$e){if(!xe)return null;const Ie=xe($e);return Ie.length===1?Ie[0]:Ie}const RouterView=RouterViewImpl;function createRouter(xe){const $e=createRouterMatcher(xe.routes,xe),Ie=xe.parseQuery||parseQuery,Fe=xe.stringifyQuery||stringifyQuery,Ue=xe.history,qe=useCallbacks(),At=useCallbacks(),Dt=useCallbacks(),Lt=shallowRef(START_LOCATION_NORMALIZED);let jt=START_LOCATION_NORMALIZED;isBrowser$1&&xe.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const hn=applyToParams.bind(null,Yn=>""+Yn),vn=applyToParams.bind(null,encodeParam),bn=applyToParams.bind(null,decode$1);function _n(Yn,qn){let ar,tr;return isRouteName(Yn)?(ar=$e.getRecordMatcher(Yn),tr=qn):tr=Yn,$e.addRoute(tr,ar)}function wn(Yn){const qn=$e.getRecordMatcher(Yn);qn&&$e.removeRoute(qn)}function kn(){return $e.getRoutes().map(Yn=>Yn.record)}function Cn(Yn){return!!$e.getRecordMatcher(Yn)}function Sn(Yn,qn){if(qn=assign({},qn||Lt.value),typeof Yn=="string"){const Zn=parseURL(Ie,Yn,qn.path),nr=$e.resolve({path:Zn.path},qn),lr=Ue.createHref(Zn.fullPath);return assign(Zn,nr,{params:bn(nr.params),hash:decode$1(Zn.hash),redirectedFrom:void 0,href:lr})}let ar;if(Yn.path!=null)ar=assign({},Yn,{path:parseURL(Ie,Yn.path,qn.path).path});else{const Zn=assign({},Yn.params);for(const nr in Zn)Zn[nr]==null&&delete Zn[nr];ar=assign({},Yn,{params:vn(Zn)}),qn.params=vn(qn.params)}const tr=$e.resolve(ar,qn),or=Yn.hash||"";tr.params=hn(bn(tr.params));const sr=stringifyURL(Fe,assign({},Yn,{hash:encodeHash(or),path:tr.path})),Kn=Ue.createHref(sr);return assign({fullPath:sr,hash:or,query:Fe===stringifyQuery?normalizeQuery(Yn.query):Yn.query||{}},tr,{redirectedFrom:void 0,href:Kn})}function xn(Yn){return typeof Yn=="string"?parseURL(Ie,Yn,Lt.value.path):assign({},Yn)}function En(Yn,qn){if(jt!==Yn)return createRouterError(8,{from:qn,to:Yn})}function Tn(Yn){return Pn(Yn)}function An(Yn){return Tn(assign(xn(Yn),{replace:!0}))}function $n(Yn){const qn=Yn.matched[Yn.matched.length-1];if(qn&&qn.redirect){const{redirect:ar}=qn;let tr=typeof ar=="function"?ar(Yn):ar;return typeof tr=="string"&&(tr=tr.includes("?")||tr.includes("#")?tr=xn(tr):{path:tr},tr.params={}),assign({query:Yn.query,hash:Yn.hash,params:tr.path!=null?{}:Yn.params},tr)}}function Pn(Yn,qn){const ar=jt=Sn(Yn),tr=Lt.value,or=Yn.state,sr=Yn.force,Kn=Yn.replace===!0,Zn=$n(ar);if(Zn)return Pn(assign(xn(Zn),{state:typeof Zn=="object"?assign({},or,Zn.state):or,force:sr,replace:Kn}),qn||ar);const nr=ar;nr.redirectedFrom=qn;let lr;return!sr&&isSameRouteLocation(Fe,tr,ar)&&(lr=createRouterError(16,{to:nr,from:tr}),Gn(tr,tr,!0,!1)),(lr?Promise.resolve(lr):In(nr,tr)).catch(ir=>isNavigationFailure(ir)?isNavigationFailure(ir,2)?ir:jn(ir):Fn(ir,nr,tr)).then(ir=>{if(ir){if(isNavigationFailure(ir,2))return Pn(assign({replace:Kn},xn(ir.to),{state:typeof ir.to=="object"?assign({},or,ir.to.state):or,force:sr}),qn||nr)}else ir=Rn(nr,tr,!0,Kn,or);return On(nr,tr,ir),ir})}function Nn(Yn,qn){const ar=En(Yn,qn);return ar?Promise.reject(ar):Promise.resolve()}function Mn(Yn){const qn=er.values().next().value;return qn&&typeof qn.runWithContext=="function"?qn.runWithContext(Yn):Yn()}function In(Yn,qn){let ar;const[tr,or,sr]=extractChangingRecords(Yn,qn);ar=extractComponentsGuards(tr.reverse(),"beforeRouteLeave",Yn,qn);for(const Zn of tr)Zn.leaveGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,Yn,qn))});const Kn=Nn.bind(null,Yn,qn);return ar.push(Kn),Jn(ar).then(()=>{ar=[];for(const Zn of qe.list())ar.push(guardToPromiseFn(Zn,Yn,qn));return ar.push(Kn),Jn(ar)}).then(()=>{ar=extractComponentsGuards(or,"beforeRouteUpdate",Yn,qn);for(const Zn of or)Zn.updateGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,Yn,qn))});return ar.push(Kn),Jn(ar)}).then(()=>{ar=[];for(const Zn of sr)if(Zn.beforeEnter)if(isArray$3(Zn.beforeEnter))for(const nr of Zn.beforeEnter)ar.push(guardToPromiseFn(nr,Yn,qn));else ar.push(guardToPromiseFn(Zn.beforeEnter,Yn,qn));return ar.push(Kn),Jn(ar)}).then(()=>(Yn.matched.forEach(Zn=>Zn.enterCallbacks={}),ar=extractComponentsGuards(sr,"beforeRouteEnter",Yn,qn,Mn),ar.push(Kn),Jn(ar))).then(()=>{ar=[];for(const Zn of At.list())ar.push(guardToPromiseFn(Zn,Yn,qn));return ar.push(Kn),Jn(ar)}).catch(Zn=>isNavigationFailure(Zn,8)?Zn:Promise.reject(Zn))}function On(Yn,qn,ar){Dt.list().forEach(tr=>Mn(()=>tr(Yn,qn,ar)))}function Rn(Yn,qn,ar,tr,or){const sr=En(Yn,qn);if(sr)return sr;const Kn=qn===START_LOCATION_NORMALIZED,Zn=isBrowser$1?history.state:{};ar&&(tr||Kn?Ue.replace(Yn.fullPath,assign({scroll:Kn&&Zn&&Zn.scroll},or)):Ue.push(Yn.fullPath,or)),Lt.value=Yn,Gn(Yn,qn,ar,Kn),jn()}let Bn;function Vn(){Bn||(Bn=Ue.listen((Yn,qn,ar)=>{if(!rr.listening)return;const tr=Sn(Yn),or=$n(tr);if(or){Pn(assign(or,{replace:!0}),tr).catch(noop$4);return}jt=tr;const sr=Lt.value;isBrowser$1&&saveScrollPosition(getScrollKey(sr.fullPath,ar.delta),computeScrollPosition()),In(tr,sr).catch(Kn=>isNavigationFailure(Kn,12)?Kn:isNavigationFailure(Kn,2)?(Pn(Kn.to,tr).then(Zn=>{isNavigationFailure(Zn,20)&&!ar.delta&&ar.type===NavigationType.pop&&Ue.go(-1,!1)}).catch(noop$4),Promise.reject()):(ar.delta&&Ue.go(-ar.delta,!1),Fn(Kn,tr,sr))).then(Kn=>{Kn=Kn||Rn(tr,sr,!1),Kn&&(ar.delta&&!isNavigationFailure(Kn,8)?Ue.go(-ar.delta,!1):ar.type===NavigationType.pop&&isNavigationFailure(Kn,20)&&Ue.go(-1,!1)),On(tr,sr,Kn)}).catch(noop$4)}))}let Ln=useCallbacks(),Dn=useCallbacks(),Hn;function Fn(Yn,qn,ar){jn(Yn);const tr=Dn.list();return tr.length?tr.forEach(or=>or(Yn,qn,ar)):console.error(Yn),Promise.reject(Yn)}function zn(){return Hn&&Lt.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((Yn,qn)=>{Ln.add([Yn,qn])})}function jn(Yn){return Hn||(Hn=!Yn,Vn(),Ln.list().forEach(([qn,ar])=>Yn?ar(Yn):qn()),Ln.reset()),Yn}function Gn(Yn,qn,ar,tr){const{scrollBehavior:or}=xe;if(!isBrowser$1||!or)return Promise.resolve();const sr=!ar&&getSavedScrollPosition(getScrollKey(Yn.fullPath,0))||(tr||!ar)&&history.state&&history.state.scroll||null;return nextTick().then(()=>or(Yn,qn,sr)).then(Kn=>Kn&&scrollToPosition(Kn)).catch(Kn=>Fn(Kn,Yn,qn))}const Wn=Yn=>Ue.go(Yn);let Xn;const er=new Set,rr={currentRoute:Lt,listening:!0,addRoute:_n,removeRoute:wn,hasRoute:Cn,getRoutes:kn,resolve:Sn,options:xe,push:Tn,replace:An,go:Wn,back:()=>Wn(-1),forward:()=>Wn(1),beforeEach:qe.add,beforeResolve:At.add,afterEach:Dt.add,onError:Dn.add,isReady:zn,install(Yn){const qn=this;Yn.component("RouterLink",RouterLink),Yn.component("RouterView",RouterView),Yn.config.globalProperties.$router=qn,Object.defineProperty(Yn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(Lt)}),isBrowser$1&&!Xn&&Lt.value===START_LOCATION_NORMALIZED&&(Xn=!0,Tn(Ue.location).catch(or=>{}));const ar={};for(const or in START_LOCATION_NORMALIZED)Object.defineProperty(ar,or,{get:()=>Lt.value[or],enumerable:!0});Yn.provide(routerKey,qn),Yn.provide(routeLocationKey,shallowReactive(ar)),Yn.provide(routerViewLocationKey,Lt);const tr=Yn.unmount;er.add(Yn),Yn.unmount=function(){er.delete(Yn),er.size<1&&(jt=START_LOCATION_NORMALIZED,Bn&&Bn(),Bn=null,Lt.value=START_LOCATION_NORMALIZED,Xn=!1,Hn=!1),tr()}}};function Jn(Yn){return Yn.reduce((qn,ar)=>qn.then(()=>Mn(ar)),Promise.resolve())}return rr}function extractChangingRecords(xe,$e){const Ie=[],Fe=[],Ue=[],qe=Math.max($e.matched.length,xe.matched.length);for(let At=0;AtisSameRouteRecord(jt,Dt))?Fe.push(Dt):Ie.push(Dt));const Lt=xe.matched[At];Lt&&($e.matched.find(jt=>isSameRouteRecord(jt,Lt))||Ue.push(Lt))}return[Ie,Fe,Ue]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const _hoisted_1$1a={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"},_hoisted_2$L={class:"flex flex-col gap-4"},_hoisted_3$n=createBaseVNode("h1",{class:"m-0 text-6xl font-sans"}," 403 ",-1),_hoisted_4$d=createBaseVNode("div",{class:"desc mx-0 text-xl text-stone-5"}," 抱歉,你无权访问该页面 ",-1),_sfc_main$2u=defineComponent({name:"NotAllowed",__name:"index",setup(xe){const $e=useRouter(),Ie=useSettingsStore(),Fe=ref({inter:Number.NaN,countdown:5});onUnmounted(()=>{Fe.value.inter&&window.clearInterval(Fe.value.inter)}),onMounted(()=>{Fe.value.inter=window.setInterval(()=>{Fe.value.countdown--,Fe.value.countdown===0&&(Fe.value.inter&&window.clearInterval(Fe.value.inter),Ue())},1e3)});function Ue(){$e.push(Ie.settings.home.fullPath)}return(qe,At)=>{const Dt=_sfc_main$2y,Lt=_sfc_main$2v;return openBlock(),createElementBlock("div",_hoisted_1$1a,[createVNode$1(Dt,{name:"403",class:"text-[300px] lg-text-[400px]"}),createBaseVNode("div",_hoisted_2$L,[_hoisted_3$n,_hoisted_4$d,createBaseVNode("div",null,[createVNode$1(Lt,{onClick:Ue},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Fe).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(xe){return xe&&xe.__esModule&&Object.prototype.hasOwnProperty.call(xe,"default")?xe.default:xe}function getAugmentedNamespace(xe){if(xe.__esModule)return xe;var $e=xe.default;if(typeof $e=="function"){var Ie=function Fe(){return this instanceof Fe?Reflect.construct($e,arguments,this.constructor):$e.apply(this,arguments)};Ie.prototype=$e.prototype}else Ie={};return Object.defineProperty(Ie,"__esModule",{value:!0}),Object.keys(xe).forEach(function(Fe){var Ue=Object.getOwnPropertyDescriptor(xe,Fe);Object.defineProperty(Ie,Fe,Ue.get?Ue:{enumerable:!0,get:function(){return xe[Fe]}})}),Ie}var eruda={exports:{}};/*! eruda v3.0.1 https://eruda.liriliri.io/ */(function(module,exports){(function(xe,$e){module.exports=$e()})(self,function(){return function(){var __webpack_modules__={422:function(xe,$e,Ie){Ie.d($e,{Z:function(){return qn}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(9340),At=Ie(2963),Dt=Ie(1120),Lt=Ie(2461),jt=Ie.n(Lt),hn=Ie(3990),vn=Ie.n(hn),bn=Ie(6768),_n=Ie.n(bn),wn=Ie(4331),kn=Ie.n(wn),Cn=Ie(5610),Sn=Ie.n(Cn),xn=Ie(7483),En=Ie.n(xn),Tn=Ie(6341),An=Ie.n(Tn),$n=Ie(3875),Pn=Ie.n($n),Nn=Ie(6954),Mn=Ie.n(Nn);Ie(9585);function In(tr){var or="luna-".concat(tr,"-");function sr(Kn){return jt()(kn()(Kn).split(/\s+/),function(Zn){return An()(Zn,or)?Zn:Zn.replace(/[\w-]+/,function(nr){return"".concat(or).concat(nr)})}).join(" ")}return function(Kn){if(/<[^>]*>/g.test(Kn))try{var Zn=En().parse(Kn);return On(Zn,function(nr){nr.attrs&&nr.attrs.class&&(nr.attrs.class=sr(nr.attrs.class))}),En().stringify(Zn)}catch{return sr(Kn)}return sr(Kn)}}function On(tr,or){for(var sr=0,Kn=tr.length;sr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}var Jn=function(tr){(0,qe.Z)(sr,tr);var or=rr(sr);function sr(Kn,Zn){var nr,lr=Zn.compName,ir=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,kr=ir===void 0?"light":ir;return(0,Fe.Z)(this,sr),(nr=or.call(this)).subComponents=[],nr.compName=lr,nr.c=In(lr),nr.options={},nr.container=Kn,nr.$container=Dn()(Kn),nr.$container.addClass(["luna-".concat(lr),nr.c("platform-".concat(Rn()))]),nr.on("optionChange",function(Cr,Er,dr){var br=nr.c;Cr==="theme"&&(nr.$container.rmClass(br("theme-".concat(dr))).addClass(br("theme-".concat(Er))),Fn()(nr.subComponents,function(_r){return _r.setOption("theme",Er)}))}),nr.setOption("theme",kr),nr}return(0,Ue.Z)(sr,[{key:"destroy",value:function(){this.destroySubComponents();var Kn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Kn("platform-".concat(Rn()))).rmClass(Kn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Kn,Zn){var nr=this,lr=this.options,ir={};typeof Kn=="string"?ir[Kn]=Zn:ir=Kn,Fn()(ir,function(kr,Cr){var Er=lr[Cr];lr[Cr]=kr,nr.emit("optionChange",Cr,kr,Er)})}},{key:"getOption",value:function(Kn){return this.options[Kn]}},{key:"addSubComponent",value:function(Kn){Kn.setOption("theme",this.options.theme),this.subComponents.push(Kn)}},{key:"removeSubComponent",value:function(Kn){er()(this.subComponents,function(Zn){return Zn===Kn})}},{key:"destroySubComponents",value:function(){Fn()(this.subComponents,function(Kn){return Kn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Kn){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Wn()(Kn,Zn),jn()(this.options,Kn)}},{key:"find",value:function(Kn){return this.$container.find(this.c(Kn))}}]),sr}(Vn());function Yn(tr){var or=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}xe=Ie.hmd(xe);var qn=function(tr){(0,qe.Z)(sr,tr);var or=Yn(sr);function sr(Kn){var Zn,nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,sr),(Zn=or.call(this,Kn,{compName:"box-model"})).initOptions(nr),Zn.options.element&&Zn.render(),Zn.bindEvent(),Zn}return(0,Ue.Z)(sr,[{key:"bindEvent",value:function(){var Kn=this;this.on("optionChange",function(Zn){Zn==="element"&&Kn.render()})}},{key:"render",value:function(){var Kn=this.c,Zn=this.getBoxModelData();this.$container.html(['
'),Zn.position?'
'):"",Zn.position?'
position
').concat(Zn.position.top,'

').concat(Zn.position.left,"
"):"",'
'),'
margin
').concat(Zn.margin.top,'

').concat(Zn.margin.left,"
"),'
'),'
border
').concat(Zn.border.top,'

').concat(Zn.border.left,"
"),'
'),'
padding
').concat(Zn.padding.top,'

').concat(Zn.padding.left,"
"),'
'),"".concat(Zn.content.width," × ").concat(Zn.content.height,""),"
",'
').concat(Zn.padding.right,'

').concat(Zn.padding.bottom,"
"),"
",'
').concat(Zn.border.right,'

').concat(Zn.border.bottom,"
"),"
",'
').concat(Zn.margin.right,'

').concat(Zn.margin.bottom,"
"),"
",Zn.position?'
').concat(Zn.position.right,'

').concat(Zn.position.bottom,"
"):"",Zn.position?"
":"","
"].join(""))}},{key:"getBoxModelData",value:function(){var Kn=this.options.element,Zn=window.getComputedStyle(Kn);function nr(ir){var kr=["top","left","right","bottom"];return ir!=="position"&&(kr=jt()(kr,function(Cr){return"".concat(ir,"-").concat(Cr)})),ir==="border"&&(kr=jt()(kr,function(Cr){return"".concat(Cr,"-width")})),{top:ar(Zn[kr[0]],ir),left:ar(Zn[kr[1]],ir),right:ar(Zn[kr[2]],ir),bottom:ar(Zn[kr[3]],ir)}}var lr={margin:nr("margin"),border:nr("border"),padding:nr("padding"),content:{width:ar(Zn.width),height:ar(Zn.height)}};return Zn.position!=="static"&&(lr.position=nr("position")),lr}}]),sr}(Jn);function ar(tr,or){if(vn()(tr))return tr;if(!_n()(tr))return"‒";var sr,Kn=(sr=tr,Pn()(sr.replace("px","")));return isNaN(Kn)?tr:or==="position"?Kn:Kn===0?"‒":Kn}(function(tr,or){try{tr.exports=or,tr.exports.default=or}catch{}})(xe,qn)},8816:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Ya}});var Fe=Ie(168),Ue=Ie(181);function qe(go,No){return function(mo){if(Array.isArray(mo))return mo}(go)||function(mo,hr){var fr=mo==null?null:typeof Symbol<"u"&&mo[Symbol.iterator]||mo["@@iterator"];if(fr!=null){var Nr,jr,ao,eo,lo=[],fo=!0,bo=!1;try{if(ao=(fr=fr.call(mo)).next,hr===0){if(Object(fr)!==fr)return;fo=!1}else for(;!(fo=(Nr=ao.call(fr)).done)&&(lo.push(Nr.value),lo.length!==hr);fo=!0);}catch(Io){bo=!0,jr=Io}finally{try{if(!fo&&fr.return!=null&&(eo=fr.return(),Object(eo)!==eo))return}finally{if(bo)throw jr}}return lo}}(go,No)||(0,Ue.Z)(go,No)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(5671),Dt=Ie(3144),Lt=Ie(1752),jt=Ie(9340),hn=Ie(2963),vn=Ie(1120),bn=Ie(7326),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(3367),Cn=Ie.n(kn),Sn=Ie(6341),xn=Ie.n(Sn),En=Ie(6930),Tn=Ie.n(En),An=Ie(4187),$n=Ie.n(An),Pn=Ie(3783),Nn=Ie.n(Pn),Mn=Ie(4858),In=Ie.n(Mn),On=Ie(8887),Rn=Ie.n(On),Bn=Ie(7756),Vn=Ie.n(Bn),Ln=Ie(3023),Dn=Ie.n(Ln);function Hn(go){return go.constructor&&go.constructor.name?go.constructor.name:Dn()({}.toString.call(go).replace(/(\[object )|]/g,""))}var Fn=Ie(2461),zn=Ie.n(Fn),jn=Ie(4331),Gn=Ie.n(jn),Wn=Ie(5610),Xn=Ie.n(Wn),er=Ie(7483),rr=Ie.n(er),Jn=Ie(3990),Yn=Ie.n(Jn),qn=Ie(3875),ar=Ie.n(qn),tr=Ie(6954),or=Ie.n(tr),sr=Ie(9585),Kn=Ie.n(sr);function Zn(go){var No="luna-".concat(go,"-");function mo(hr){return zn()(Gn()(hr).split(/\s+/),function(fr){return xn()(fr,No)?fr:fr.replace(/[\w-]+/,function(Nr){return"".concat(No).concat(Nr)})}).join(" ")}return function(hr){if(/<[^>]*>/g.test(hr))try{var fr=rr().parse(hr);return nr(fr,function(Nr){Nr.attrs&&Nr.attrs.class&&(Nr.attrs.class=mo(Nr.attrs.class))}),rr().stringify(fr)}catch{return mo(hr)}return mo(hr)}}function nr(go,No){for(var mo=0,hr=go.length;mo1&&arguments[1]!==void 0?arguments[1]:{},hr=mo.topObj,fr=mo.level,Nr=fr===void 0?0:fr,jr=mo.getterVal,ao=jr!==void 0&&jr,eo=mo.unenumerable,lo=eo===void 0||eo,fo="",bo="",Io=[],Lo=[],Ho="";hr=hr||go;var Jo={getterVal:ao,unenumerable:lo,level:Nr+1},Mo=Nr===0,Go=''),ra=''),ta=''),Ea=''),Na=''),Ma=''),ga=function(Uo){return wn()(Uo).replace(/\\n/g,"↵").replace(/\\f|\\r|\\t/g,"").replace(/\\/g,"")},la="";function ua(Uo){return Uo=Cn()(Uo),xn()(kr,Uo)||Tn()(Uo,"Array[")?Ma+ga(Uo)+la:(Uo.length>100&&(Uo=Vn()(Uo,100,{separator:" ",ellipsis:"…"})),Ea+ga('"'.concat(Uo,'"'))+la)}function va(Uo){if(No>5)Ho=", …";else{var Ba=function(Ti){return Go+ga(Ti)+la}(Er(Uo));if(!ao){var Xa=Object.getOwnPropertyDescriptor(go,Uo);if(Xa&&Xa.get)return Io.push("".concat(Ba,": ").concat(ua("(...)"))),void No++}Io.push("".concat(Ba,": ").concat(ir(hr[Uo],Jo))),No++}}try{bo={}.toString.call(go)}catch{bo="[object Object]"}var ba,Ia=bo=="[object Array]",Oa=bo=="[object Object]",Ta=bo=="[object Number]",Ra=bo=="[object RegExp]",Ha=bo=="[object Symbol]",wa=bo=="[object Function]",Da=bo=="[object Boolean]";if(bo=="[object String]")fo=ua(Er(go));else if(Ra)ba=Er(go.toString()),fo=Ea+ba+la;else if(wa)fo=ua("ƒ");else if(Ia)if(Mo){fo="[";var ja=go.length,Za="";ja>100&&(ja=100,Za=", …");for(var La=0;La"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var ii=/https?:\/\/([0-9.\-A-Za-z]+)(?::(\d+))?\/[A-Z.a-z0-9/]*\.js/g,za={comment:"",string:"",number:"",keyword:"",operator:""},si=function(go){(0,jt.Z)(mo,go);var No=ai(mo);function mo(hr,fr){var Nr,jr=fr.type,ao=jr===void 0?"log":jr,eo=fr.args,lo=eo===void 0?[]:eo,fo=fr.id,bo=fr.group,Io=fr.targetGroup,Lo=fr.header,Ho=fr.ignoreFilter,Jo=Ho!==void 0&&Ho,Mo=fr.accessGetter,Go=fr.unenumerable,ra=fr.lazyEvaluation;(0,At.Z)(this,mo),(Nr=No.call(this)).container=po()("div"),Nr.count=1,Nr.width=0,Nr.height=0,Nr.isHidden=!1,Nr.columns=[],Nr.elements={},Nr.objects={},Nr.console=hr,Nr.type=ao,Nr.group=bo,Nr.targetGroup=Io,Nr.args=lo,Nr.id=fo,Nr.header=Lo,Nr.ignoreFilter=Jo,Nr.collapsed=!1,Nr.container.log=(0,bn.Z)(Nr),Nr.height=0,Nr.width=0,Nr.$container=xo()(Nr.container),Nr.accessGetter=Mo,Nr.unenumerable=Go,Nr.lazyEvaluation=ra;var ta="info";switch(ao){case"debug":ta="verbose";break;case"error":ta="error";break;case"warn":ta="warning"}return Nr.level=ta,Nr.resizeSensor=new(xr())(Nr.container),Nr.onResize=Ir()(function(){Kn()(Nr.container)?Nr.isHidden=!0:(Nr.isHidden||Nr.updateSize(!1),Nr.isHidden=!1)},16),Nr.formatMsg(),Nr.group&&Nr.checkGroup(),Nr.bindEvent(),Nr}return(0,Dt.Z)(mo,[{key:"checkGroup",value:function(){for(var hr=this.group,fr=!1;hr;){if(hr.collapsed){fr=!0;break}hr=hr.parent}return fr!==this.collapsed&&(this.collapsed=fr,!0)}},{key:"updateIcon",value:function(hr){var fr=this.console.c;return this.$container.find(fr(".icon-container")).find(fr(".icon")).rmAttr("class").addClass([fr("icon"),fr("icon-".concat(hr))]),this}},{key:"addCount",value:function(){this.count++;var hr=this.$container,fr=this.count,Nr=this.console.c,jr=hr.find(Nr(".count-container")),ao=hr.find(Nr(".icon-container")),eo=jr.find(Nr(".count"));return fr===2&&jr.rmClass(Nr("hidden")),eo.text(Cn()(fr)),ao.addClass(Nr("hidden")),this}},{key:"groupEnd",value:function(){var hr=this.$container,fr=this.console.c;return hr.find(".".concat(fr("nesting-level"),":not(.").concat(fr("group-closed"),")")).last().addClass(fr("group-closed")),this}},{key:"updateTime",value:function(hr){var fr=this.$container.find(this.console.c(".time-container"));return this.header&&(fr.find("span").eq(0).text(hr),this.header.time=hr),this}},{key:"isAttached",value:function(){return!!this.container.parentNode}},{key:"isSimple",value:function(){return!aa()(this.args,function(hr){return Hr()(hr)})}},{key:"updateSize",value:function(){var hr=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],fr=this.container.getBoundingClientRect(),Nr=fr.width,jr=fr.height-1;this.height!==jr&&(this.height=jr,hr||this.emit("updateHeight")),this.width!==Nr&&(this.width=Nr)}},{key:"html",value:function(){return this.container.outerHTML}},{key:"text",value:function(){return this.content.textContent||""}},{key:"select",value:function(){this.$container.addClass(this.console.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.console.c("selected"))}},{key:"copy",value:function(){var hr=this.args,fr="";Nn()(hr,function(Nr,jr){jr!==0&&(fr+=" "),Hr()(Nr)?fr+=to()(Nr):fr+=Cn()(Nr)}),co()(fr)}},{key:"bindEvent",value:function(){var hr=this,fr=this.console.c,Nr=this;this.resizeSensor.addListener(this.onResize),this.$container.on("click",fr(".dom-viewer"),function(jr){return jr.stopPropagation()}).on("click",fr(".preview"),function(jr){jr.stopPropagation();var ao=xo()(this).find(fr(".preview-icon-container")).find(fr(".icon")),eo="caret-down";ao.hasClass(fr("icon-caret-down"))&&(eo="caret-right"),ao.rmAttr("class").addClass([fr("icon"),fr("icon-".concat(eo))]),Nr.renderObjectViewer(this)}).on("click",function(){return hr.click()})}},{key:"renderEl",value:function(){var hr=this.elements,fr=this.console.c,Nr=this;this.$container.find(fr(".dom-viewer")).each(function(){var jr=xo()(this).data("id");new Pr.Z(this,{node:hr[jr],theme:Nr.console.getOption("theme")})})}},{key:"renderObjectViewer",value:function(hr){var fr=this.console,Nr=this.unenumerable,jr=this.accessGetter,ao=this.lazyEvaluation,eo=fr.c,lo=xo()(hr),fo=lo.data("id");if(fo){var bo=this.objects[fo],Io=lo.find(eo(".json"));if(Io.hasClass(eo("hidden"))){if(Io.data("init")!=="true"){if(ao){var Lo=new br.Z(Io.get(0),{unenumerable:Nr,accessGetter:jr});Lo.setOption("theme",fr.getOption("theme")),Lo.set(bo)}else{var Ho=new br.q(Io.get(0));Ho.setOption("theme",fr.getOption("theme")),Ho.set(bo)}Io.data("init","true")}Io.rmClass(eo("hidden"))}else Io.addClass(eo("hidden"))}}},{key:"renderTable",value:function(hr){var fr=this,Nr="__LunaConsoleValue",jr=this.columns,ao=this.$container,eo=this.console,lo=eo.c,fo=ao.find(lo(".data-grid")),bo=hr[0],Io=new _r.Z(fo.get(0),{columns:qr()([{id:"(index)",title:"(index)",sortable:!0}],zn()(jr,function(Lo){return{id:Lo,title:Lo===Nr?"Value":Lo,sortable:!0}})),theme:eo.getOption("theme")});Nn()(bo,function(Lo,Ho){var Jo={"(index)":Cn()(Ho)};jr.forEach(function(Mo){Hr()(Lo)?Jo[Mo]=Mo===Nr?"":fr.formatTableVal(Lo[Mo]):cr()(Lo)&&(Jo[Mo]=Mo===Nr?fr.formatTableVal(Lo):"")}),Io.append(Jo)})}},{key:"extractObj",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Nr=arguments.length>2?arguments[2]:void 0,jr=this.accessGetter,ao=this.unenumerable;Dr()(fr,{accessGetter:jr,unenumerable:ao,symbol:ao,timeout:1e3}),function(eo,lo,fo){var bo=Co()(eo,lo);Vo()(function(){return fo(bo)})}(hr,fr,function(eo){return Nr(JSON.parse(eo))})}},{key:"click",value:function(){var hr=this.type,fr=this.$container,Nr=this.console,jr=Nr.c;switch(hr){case"log":case"warn":case"info":case"debug":case"output":case"table":case"dir":break;case"group":case"groupCollapsed":Nr.toggleGroup(this);break;case"error":fr.find(jr(".stack")).toggleClass(jr("hidden"))}}},{key:"formatMsg",value:function(){var hr=this.args,fr=this.type,Nr=this.id,jr=this.header,ao=this.group,eo=this.console.c;hr=Zr()(hr);var lo,fo,bo="";switch(fr!=="group"&&fr!=="groupCollapsed"||hr.length===0&&(hr=["console.group"]),fr){case"log":case"info":case"debug":bo=this.formatCommon(hr);break;case"dir":bo=this.formatDir(hr);break;case"warn":lo="warn",bo=this.formatCommon(hr);break;case"error":Gr()(hr[0])&&hr.length!==1&&(hr=this.substituteStr(hr)),fo=hr[0],lo="error",fo=Br()(fo)?fo:new Error(this.formatCommon(hr)),bo=this.formatErr(fo);break;case"table":bo=this.formatTable(hr);break;case"html":bo=hr[0];break;case"input":bo=this.formatJs(hr[0]),lo="input";break;case"output":bo=this.formatCommon(hr),lo="output";break;case"groupCollapsed":bo=this.formatCommon(hr),lo="caret-right";break;case"group":bo=this.formatCommon(hr),lo="caret-down"}xn()(["log","debug","warn"],fr)&&this.isSimple()&&(bo=jo()(bo,function(Io){return'').concat(Io,"")})),bo=this.render({msg:bo,type:fr,icon:lo,id:Nr,header:jr,group:ao}),this.$container.addClass("".concat(eo("log-container"))).html(bo),fr==="table"&&(Rn()(this.columns)||this.renderTable(hr)),Rn()(this.elements)||this.renderEl(),this.$content=this.$container.find(eo(".log-content")),this.content=this.$content.get(0)}},{key:"render",value:function(hr){var fr=this.console.c,Nr="",jr="";if(hr.group)for(var ao=hr.group.indentLevel,eo=0;eo');hr.header&&(Nr+=Xo()(dr||(dr=(0,Fe.Z)([` + */const isBrowser$1=typeof document<"u";function isESModule(xe){return xe.__esModule||xe[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(xe,$e){const Ie={};for(const Fe in $e){const Ue=$e[Fe];Ie[Fe]=isArray$3(Ue)?Ue.map(xe):xe(Ue)}return Ie}const noop$4=()=>{},isArray$3=Array.isArray,HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(xe){return encodeURI(""+xe).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(xe){return commonEncode(xe).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(xe){return commonEncode(xe).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(xe){return encodeQueryValue(xe).replace(EQUAL_RE,"%3D")}function encodePath(xe){return commonEncode(xe).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(xe){return xe==null?"":encodePath(xe).replace(SLASH_RE,"%2F")}function decode$1(xe){try{return decodeURIComponent(""+xe)}catch{}return""+xe}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=xe=>xe.replace(TRAILING_SLASH_RE,"");function parseURL(xe,$e,Ie="/"){let Fe,Ue={},qe="",At="";const Dt=$e.indexOf("#");let Lt=$e.indexOf("?");return Dt=0&&(Lt=-1),Lt>-1&&(Fe=$e.slice(0,Lt),qe=$e.slice(Lt+1,Dt>-1?Dt:$e.length),Ue=xe(qe)),Dt>-1&&(Fe=Fe||$e.slice(0,Dt),At=$e.slice(Dt,$e.length)),Fe=resolveRelativePath(Fe??$e,Ie),{fullPath:Fe+(qe&&"?")+qe+At,path:Fe,query:Ue,hash:decode$1(At)}}function stringifyURL(xe,$e){const Ie=$e.query?xe($e.query):"";return $e.path+(Ie&&"?")+Ie+($e.hash||"")}function stripBase(xe,$e){return!$e||!xe.toLowerCase().startsWith($e.toLowerCase())?xe:xe.slice($e.length)||"/"}function isSameRouteLocation(xe,$e,Ie){const Fe=$e.matched.length-1,Ue=Ie.matched.length-1;return Fe>-1&&Fe===Ue&&isSameRouteRecord($e.matched[Fe],Ie.matched[Ue])&&isSameRouteLocationParams($e.params,Ie.params)&&xe($e.query)===xe(Ie.query)&&$e.hash===Ie.hash}function isSameRouteRecord(xe,$e){return(xe.aliasOf||xe)===($e.aliasOf||$e)}function isSameRouteLocationParams(xe,$e){if(Object.keys(xe).length!==Object.keys($e).length)return!1;for(const Ie in xe)if(!isSameRouteLocationParamsValue(xe[Ie],$e[Ie]))return!1;return!0}function isSameRouteLocationParamsValue(xe,$e){return isArray$3(xe)?isEquivalentArray(xe,$e):isArray$3($e)?isEquivalentArray($e,xe):xe===$e}function isEquivalentArray(xe,$e){return isArray$3($e)?xe.length===$e.length&&xe.every((Ie,Fe)=>Ie===$e[Fe]):xe.length===1&&xe[0]===$e}function resolveRelativePath(xe,$e){if(xe.startsWith("/"))return xe;if(!xe)return $e;const Ie=$e.split("/"),Fe=xe.split("/"),Ue=Fe[Fe.length-1];(Ue===".."||Ue===".")&&Fe.push("");let qe=Ie.length-1,At,Dt;for(At=0;At1&&qe--;else break;return Ie.slice(0,qe).join("/")+"/"+Fe.slice(At).join("/")}var NavigationType;(function(xe){xe.pop="pop",xe.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(xe){xe.back="back",xe.forward="forward",xe.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(xe){if(!xe)if(isBrowser$1){const $e=document.querySelector("base");xe=$e&&$e.getAttribute("href")||"/",xe=xe.replace(/^\w+:\/\/[^\/]+/,"")}else xe="/";return xe[0]!=="/"&&xe[0]!=="#"&&(xe="/"+xe),removeTrailingSlash(xe)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(xe,$e){return xe.replace(BEFORE_HASH_RE,"#")+$e}function getElementPosition(xe,$e){const Ie=document.documentElement.getBoundingClientRect(),Fe=xe.getBoundingClientRect();return{behavior:$e.behavior,left:Fe.left-Ie.left-($e.left||0),top:Fe.top-Ie.top-($e.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(xe){let $e;if("el"in xe){const Ie=xe.el,Fe=typeof Ie=="string"&&Ie.startsWith("#"),Ue=typeof Ie=="string"?Fe?document.getElementById(Ie.slice(1)):document.querySelector(Ie):Ie;if(!Ue)return;$e=getElementPosition(Ue,xe)}else $e=xe;"scrollBehavior"in document.documentElement.style?window.scrollTo($e):window.scrollTo($e.left!=null?$e.left:window.scrollX,$e.top!=null?$e.top:window.scrollY)}function getScrollKey(xe,$e){return(history.state?history.state.position-$e:-1)+xe}const scrollPositions=new Map;function saveScrollPosition(xe,$e){scrollPositions.set(xe,$e)}function getSavedScrollPosition(xe){const $e=scrollPositions.get(xe);return scrollPositions.delete(xe),$e}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(xe,$e){const{pathname:Ie,search:Fe,hash:Ue}=$e,qe=xe.indexOf("#");if(qe>-1){let Dt=Ue.includes(xe.slice(qe))?xe.slice(qe).length:1,Lt=Ue.slice(Dt);return Lt[0]!=="/"&&(Lt="/"+Lt),stripBase(Lt,"")}return stripBase(Ie,xe)+Fe+Ue}function useHistoryListeners(xe,$e,Ie,Fe){let Ue=[],qe=[],At=null;const Dt=({state:bn})=>{const _n=createCurrentLocation(xe,location),wn=Ie.value,kn=$e.value;let Cn=0;if(bn){if(Ie.value=_n,$e.value=bn,At&&At===wn){At=null;return}Cn=kn?bn.position-kn.position:0}else Fe(_n);Ue.forEach(Sn=>{Sn(Ie.value,wn,{delta:Cn,type:NavigationType.pop,direction:Cn?Cn>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function Lt(){At=Ie.value}function jt(bn){Ue.push(bn);const _n=()=>{const wn=Ue.indexOf(bn);wn>-1&&Ue.splice(wn,1)};return qe.push(_n),_n}function hn(){const{history:bn}=window;bn.state&&bn.replaceState(assign({},bn.state,{scroll:computeScrollPosition()}),"")}function vn(){for(const bn of qe)bn();qe=[],window.removeEventListener("popstate",Dt),window.removeEventListener("beforeunload",hn)}return window.addEventListener("popstate",Dt),window.addEventListener("beforeunload",hn,{passive:!0}),{pauseListeners:Lt,listen:jt,destroy:vn}}function buildState(xe,$e,Ie,Fe=!1,Ue=!1){return{back:xe,current:$e,forward:Ie,replaced:Fe,position:window.history.length,scroll:Ue?computeScrollPosition():null}}function useHistoryStateNavigation(xe){const{history:$e,location:Ie}=window,Fe={value:createCurrentLocation(xe,Ie)},Ue={value:$e.state};Ue.value||qe(Fe.value,{back:null,current:Fe.value,forward:null,position:$e.length-1,replaced:!0,scroll:null},!0);function qe(Lt,jt,hn){const vn=xe.indexOf("#"),bn=vn>-1?(Ie.host&&document.querySelector("base")?xe:xe.slice(vn))+Lt:createBaseLocation()+xe+Lt;try{$e[hn?"replaceState":"pushState"](jt,"",bn),Ue.value=jt}catch(_n){console.error(_n),Ie[hn?"replace":"assign"](bn)}}function At(Lt,jt){const hn=assign({},$e.state,buildState(Ue.value.back,Lt,Ue.value.forward,!0),jt,{position:Ue.value.position});qe(Lt,hn,!0),Fe.value=Lt}function Dt(Lt,jt){const hn=assign({},Ue.value,$e.state,{forward:Lt,scroll:computeScrollPosition()});qe(hn.current,hn,!0);const vn=assign({},buildState(Fe.value,Lt,null),{position:hn.position+1},jt);qe(Lt,vn,!1),Fe.value=Lt}return{location:Fe,state:Ue,push:Dt,replace:At}}function createWebHistory(xe){xe=normalizeBase(xe);const $e=useHistoryStateNavigation(xe),Ie=useHistoryListeners(xe,$e.state,$e.location,$e.replace);function Fe(qe,At=!0){At||Ie.pauseListeners(),history.go(qe)}const Ue=assign({location:"",base:xe,go:Fe,createHref:createHref.bind(null,xe)},$e,Ie);return Object.defineProperty(Ue,"location",{enumerable:!0,get:()=>$e.location.value}),Object.defineProperty(Ue,"state",{enumerable:!0,get:()=>$e.state.value}),Ue}function createWebHashHistory(xe){return xe=location.host?xe||location.pathname+location.search:"",xe.includes("#")||(xe+="#"),createWebHistory(xe)}function isRouteLocation(xe){return typeof xe=="string"||xe&&typeof xe=="object"}function isRouteName(xe){return typeof xe=="string"||typeof xe=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(xe){xe[xe.aborted=4]="aborted",xe[xe.cancelled=8]="cancelled",xe[xe.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(xe,$e){return assign(new Error,{type:xe,[NavigationFailureSymbol]:!0},$e)}function isNavigationFailure(xe,$e){return xe instanceof Error&&NavigationFailureSymbol in xe&&($e==null||!!(xe.type&$e))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(xe,$e){const Ie=assign({},BASE_PATH_PARSER_OPTIONS,$e),Fe=[];let Ue=Ie.start?"^":"";const qe=[];for(const jt of xe){const hn=jt.length?[]:[90];Ie.strict&&!jt.length&&(Ue+="/");for(let vn=0;vn$e.length?$e.length===1&&$e[0]===80?1:-1:0}function comparePathParserScore(xe,$e){let Ie=0;const Fe=xe.score,Ue=$e.score;for(;Ie0&&$e[$e.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(xe){if(!xe)return[[]];if(xe==="/")return[[ROOT_TOKEN]];if(!xe.startsWith("/"))throw new Error(`Invalid path "${xe}"`);function $e(_n){throw new Error(`ERR (${Ie})/"${jt}": ${_n}`)}let Ie=0,Fe=Ie;const Ue=[];let qe;function At(){qe&&Ue.push(qe),qe=[]}let Dt=0,Lt,jt="",hn="";function vn(){jt&&(Ie===0?qe.push({type:0,value:jt}):Ie===1||Ie===2||Ie===3?(qe.length>1&&(Lt==="*"||Lt==="+")&&$e(`A repeatable param (${jt}) must be alone in its segment. eg: '/:ids+.`),qe.push({type:1,value:jt,regexp:hn,repeatable:Lt==="*"||Lt==="+",optional:Lt==="*"||Lt==="?"})):$e("Invalid state to consume buffer"),jt="")}function bn(){jt+=Lt}for(;Dt{At(xn)}:noop$4}function At(hn){if(isRouteName(hn)){const vn=Fe.get(hn);vn&&(Fe.delete(hn),Ie.splice(Ie.indexOf(vn),1),vn.children.forEach(At),vn.alias.forEach(At))}else{const vn=Ie.indexOf(hn);vn>-1&&(Ie.splice(vn,1),hn.record.name&&Fe.delete(hn.record.name),hn.children.forEach(At),hn.alias.forEach(At))}}function Dt(){return Ie}function Lt(hn){const vn=findInsertionIndex(hn,Ie);Ie.splice(vn,0,hn),hn.record.name&&!isAliasRecord(hn)&&Fe.set(hn.record.name,hn)}function jt(hn,vn){let bn,_n={},wn,kn;if("name"in hn&&hn.name){if(bn=Fe.get(hn.name),!bn)throw createRouterError(1,{location:hn});kn=bn.record.name,_n=assign(paramsFromLocation(vn.params,bn.keys.filter(xn=>!xn.optional).concat(bn.parent?bn.parent.keys.filter(xn=>xn.optional):[]).map(xn=>xn.name)),hn.params&¶msFromLocation(hn.params,bn.keys.map(xn=>xn.name))),wn=bn.stringify(_n)}else if(hn.path!=null)wn=hn.path,bn=Ie.find(xn=>xn.re.test(wn)),bn&&(_n=bn.parse(wn),kn=bn.record.name);else{if(bn=vn.name?Fe.get(vn.name):Ie.find(xn=>xn.re.test(vn.path)),!bn)throw createRouterError(1,{location:hn,currentLocation:vn});kn=bn.record.name,_n=assign({},vn.params,hn.params),wn=bn.stringify(_n)}const Cn=[];let Sn=bn;for(;Sn;)Cn.unshift(Sn.record),Sn=Sn.parent;return{name:kn,path:wn,params:_n,matched:Cn,meta:mergeMetaFields(Cn)}}return xe.forEach(hn=>qe(hn)),{addRoute:qe,resolve:jt,removeRoute:At,getRoutes:Dt,getRecordMatcher:Ue}}function paramsFromLocation(xe,$e){const Ie={};for(const Fe of $e)Fe in xe&&(Ie[Fe]=xe[Fe]);return Ie}function normalizeRouteRecord(xe){return{path:xe.path,redirect:xe.redirect,name:xe.name,meta:xe.meta||{},aliasOf:void 0,beforeEnter:xe.beforeEnter,props:normalizeRecordProps(xe),children:xe.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in xe?xe.components||null:xe.component&&{default:xe.component}}}function normalizeRecordProps(xe){const $e={},Ie=xe.props||!1;if("component"in xe)$e.default=Ie;else for(const Fe in xe.components)$e[Fe]=typeof Ie=="object"?Ie[Fe]:Ie;return $e}function isAliasRecord(xe){for(;xe;){if(xe.record.aliasOf)return!0;xe=xe.parent}return!1}function mergeMetaFields(xe){return xe.reduce(($e,Ie)=>assign($e,Ie.meta),{})}function mergeOptions$1(xe,$e){const Ie={};for(const Fe in xe)Ie[Fe]=Fe in $e?$e[Fe]:xe[Fe];return Ie}function findInsertionIndex(xe,$e){let Ie=0,Fe=$e.length;for(;Ie!==Fe;){const qe=Ie+Fe>>1;comparePathParserScore(xe,$e[qe])<0?Fe=qe:Ie=qe+1}const Ue=getInsertionAncestor(xe);return Ue&&(Fe=$e.lastIndexOf(Ue,Fe-1)),Fe}function getInsertionAncestor(xe){let $e=xe;for(;$e=$e.parent;)if(isMatchable($e)&&comparePathParserScore(xe,$e)===0)return $e}function isMatchable({record:xe}){return!!(xe.name||xe.components&&Object.keys(xe.components).length||xe.redirect)}function parseQuery(xe){const $e={};if(xe===""||xe==="?")return $e;const Fe=(xe[0]==="?"?xe.slice(1):xe).split("&");for(let Ue=0;Ueqe&&encodeQueryValue(qe)):[Fe&&encodeQueryValue(Fe)]).forEach(qe=>{qe!==void 0&&($e+=($e.length?"&":"")+Ie,qe!=null&&($e+="="+qe))})}return $e}function normalizeQuery(xe){const $e={};for(const Ie in xe){const Fe=xe[Ie];Fe!==void 0&&($e[Ie]=isArray$3(Fe)?Fe.map(Ue=>Ue==null?null:""+Ue):Fe==null?Fe:""+Fe)}return $e}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let xe=[];function $e(Fe){return xe.push(Fe),()=>{const Ue=xe.indexOf(Fe);Ue>-1&&xe.splice(Ue,1)}}function Ie(){xe=[]}return{add:$e,list:()=>xe.slice(),reset:Ie}}function registerGuard(xe,$e,Ie){const Fe=()=>{xe[$e].delete(Ie)};onUnmounted(Fe),onDeactivated(Fe),onActivated(()=>{xe[$e].add(Ie)}),xe[$e].add(Ie)}function onBeforeRouteLeave(xe){const $e=inject(matchedRouteKey,{}).value;$e&®isterGuard($e,"leaveGuards",xe)}function guardToPromiseFn(xe,$e,Ie,Fe,Ue,qe=At=>At()){const At=Fe&&(Fe.enterCallbacks[Ue]=Fe.enterCallbacks[Ue]||[]);return()=>new Promise((Dt,Lt)=>{const jt=bn=>{bn===!1?Lt(createRouterError(4,{from:Ie,to:$e})):bn instanceof Error?Lt(bn):isRouteLocation(bn)?Lt(createRouterError(2,{from:$e,to:bn})):(At&&Fe.enterCallbacks[Ue]===At&&typeof bn=="function"&&At.push(bn),Dt())},hn=qe(()=>xe.call(Fe&&Fe.instances[Ue],$e,Ie,jt));let vn=Promise.resolve(hn);xe.length<3&&(vn=vn.then(jt)),vn.catch(bn=>Lt(bn))})}function extractComponentsGuards(xe,$e,Ie,Fe,Ue=qe=>qe()){const qe=[];for(const At of xe)for(const Dt in At.components){let Lt=At.components[Dt];if(!($e!=="beforeRouteEnter"&&!At.instances[Dt]))if(isRouteComponent(Lt)){const hn=(Lt.__vccOpts||Lt)[$e];hn&&qe.push(guardToPromiseFn(hn,Ie,Fe,At,Dt,Ue))}else{let jt=Lt();qe.push(()=>jt.then(hn=>{if(!hn)return Promise.reject(new Error(`Couldn't resolve component "${Dt}" at "${At.path}"`));const vn=isESModule(hn)?hn.default:hn;At.components[Dt]=vn;const _n=(vn.__vccOpts||vn)[$e];return _n&&guardToPromiseFn(_n,Ie,Fe,At,Dt,Ue)()}))}}return qe}function isRouteComponent(xe){return typeof xe=="object"||"displayName"in xe||"props"in xe||"__vccOpts"in xe}function useLink(xe){const $e=inject(routerKey),Ie=inject(routeLocationKey),Fe=computed(()=>{const Lt=unref(xe.to);return $e.resolve(Lt)}),Ue=computed(()=>{const{matched:Lt}=Fe.value,{length:jt}=Lt,hn=Lt[jt-1],vn=Ie.matched;if(!hn||!vn.length)return-1;const bn=vn.findIndex(isSameRouteRecord.bind(null,hn));if(bn>-1)return bn;const _n=getOriginalPath(Lt[jt-2]);return jt>1&&getOriginalPath(hn)===_n&&vn[vn.length-1].path!==_n?vn.findIndex(isSameRouteRecord.bind(null,Lt[jt-2])):bn}),qe=computed(()=>Ue.value>-1&&includesParams(Ie.params,Fe.value.params)),At=computed(()=>Ue.value>-1&&Ue.value===Ie.matched.length-1&&isSameRouteLocationParams(Ie.params,Fe.value.params));function Dt(Lt={}){return guardEvent(Lt)?$e[unref(xe.replace)?"replace":"push"](unref(xe.to)).catch(noop$4):Promise.resolve()}return{route:Fe,href:computed(()=>Fe.value.href),isActive:qe,isExactActive:At,navigate:Dt}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(xe,{slots:$e}){const Ie=reactive(useLink(xe)),{options:Fe}=inject(routerKey),Ue=computed(()=>({[getLinkClass(xe.activeClass,Fe.linkActiveClass,"router-link-active")]:Ie.isActive,[getLinkClass(xe.exactActiveClass,Fe.linkExactActiveClass,"router-link-exact-active")]:Ie.isExactActive}));return()=>{const qe=$e.default&&$e.default(Ie);return xe.custom?qe:h$5("a",{"aria-current":Ie.isExactActive?xe.ariaCurrentValue:null,href:Ie.href,onClick:Ie.navigate,class:Ue.value},qe)}}}),RouterLink=RouterLinkImpl;function guardEvent(xe){if(!(xe.metaKey||xe.altKey||xe.ctrlKey||xe.shiftKey)&&!xe.defaultPrevented&&!(xe.button!==void 0&&xe.button!==0)){if(xe.currentTarget&&xe.currentTarget.getAttribute){const $e=xe.currentTarget.getAttribute("target");if(/\b_blank\b/i.test($e))return}return xe.preventDefault&&xe.preventDefault(),!0}}function includesParams(xe,$e){for(const Ie in $e){const Fe=$e[Ie],Ue=xe[Ie];if(typeof Fe=="string"){if(Fe!==Ue)return!1}else if(!isArray$3(Ue)||Ue.length!==Fe.length||Fe.some((qe,At)=>qe!==Ue[At]))return!1}return!0}function getOriginalPath(xe){return xe?xe.aliasOf?xe.aliasOf.path:xe.path:""}const getLinkClass=(xe,$e,Ie)=>xe??$e??Ie,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(xe,{attrs:$e,slots:Ie}){const Fe=inject(routerViewLocationKey),Ue=computed(()=>xe.route||Fe.value),qe=inject(viewDepthKey,0),At=computed(()=>{let jt=unref(qe);const{matched:hn}=Ue.value;let vn;for(;(vn=hn[jt])&&!vn.components;)jt++;return jt}),Dt=computed(()=>Ue.value.matched[At.value]);provide(viewDepthKey,computed(()=>At.value+1)),provide(matchedRouteKey,Dt),provide(routerViewLocationKey,Ue);const Lt=ref();return watch(()=>[Lt.value,Dt.value,xe.name],([jt,hn,vn],[bn,_n,wn])=>{hn&&(hn.instances[vn]=jt,_n&&_n!==hn&&jt&&jt===bn&&(hn.leaveGuards.size||(hn.leaveGuards=_n.leaveGuards),hn.updateGuards.size||(hn.updateGuards=_n.updateGuards))),jt&&hn&&(!_n||!isSameRouteRecord(hn,_n)||!bn)&&(hn.enterCallbacks[vn]||[]).forEach(kn=>kn(jt))},{flush:"post"}),()=>{const jt=Ue.value,hn=xe.name,vn=Dt.value,bn=vn&&vn.components[hn];if(!bn)return normalizeSlot(Ie.default,{Component:bn,route:jt});const _n=vn.props[hn],wn=_n?_n===!0?jt.params:typeof _n=="function"?_n(jt):_n:null,Cn=h$5(bn,assign({},wn,$e,{onVnodeUnmounted:Sn=>{Sn.component.isUnmounted&&(vn.instances[hn]=null)},ref:Lt}));return normalizeSlot(Ie.default,{Component:Cn,route:jt})||Cn}}});function normalizeSlot(xe,$e){if(!xe)return null;const Ie=xe($e);return Ie.length===1?Ie[0]:Ie}const RouterView=RouterViewImpl;function createRouter(xe){const $e=createRouterMatcher(xe.routes,xe),Ie=xe.parseQuery||parseQuery,Fe=xe.stringifyQuery||stringifyQuery,Ue=xe.history,qe=useCallbacks(),At=useCallbacks(),Dt=useCallbacks(),Lt=shallowRef(START_LOCATION_NORMALIZED);let jt=START_LOCATION_NORMALIZED;isBrowser$1&&xe.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const hn=applyToParams.bind(null,qn=>""+qn),vn=applyToParams.bind(null,encodeParam),bn=applyToParams.bind(null,decode$1);function _n(qn,Yn){let ar,tr;return isRouteName(qn)?(ar=$e.getRecordMatcher(qn),tr=Yn):tr=qn,$e.addRoute(tr,ar)}function wn(qn){const Yn=$e.getRecordMatcher(qn);Yn&&$e.removeRoute(Yn)}function kn(){return $e.getRoutes().map(qn=>qn.record)}function Cn(qn){return!!$e.getRecordMatcher(qn)}function Sn(qn,Yn){if(Yn=assign({},Yn||Lt.value),typeof qn=="string"){const Zn=parseURL(Ie,qn,Yn.path),nr=$e.resolve({path:Zn.path},Yn),lr=Ue.createHref(Zn.fullPath);return assign(Zn,nr,{params:bn(nr.params),hash:decode$1(Zn.hash),redirectedFrom:void 0,href:lr})}let ar;if(qn.path!=null)ar=assign({},qn,{path:parseURL(Ie,qn.path,Yn.path).path});else{const Zn=assign({},qn.params);for(const nr in Zn)Zn[nr]==null&&delete Zn[nr];ar=assign({},qn,{params:vn(Zn)}),Yn.params=vn(Yn.params)}const tr=$e.resolve(ar,Yn),or=qn.hash||"";tr.params=hn(bn(tr.params));const sr=stringifyURL(Fe,assign({},qn,{hash:encodeHash(or),path:tr.path})),Kn=Ue.createHref(sr);return assign({fullPath:sr,hash:or,query:Fe===stringifyQuery?normalizeQuery(qn.query):qn.query||{}},tr,{redirectedFrom:void 0,href:Kn})}function xn(qn){return typeof qn=="string"?parseURL(Ie,qn,Lt.value.path):assign({},qn)}function En(qn,Yn){if(jt!==qn)return createRouterError(8,{from:Yn,to:qn})}function Tn(qn){return Pn(qn)}function An(qn){return Tn(assign(xn(qn),{replace:!0}))}function $n(qn){const Yn=qn.matched[qn.matched.length-1];if(Yn&&Yn.redirect){const{redirect:ar}=Yn;let tr=typeof ar=="function"?ar(qn):ar;return typeof tr=="string"&&(tr=tr.includes("?")||tr.includes("#")?tr=xn(tr):{path:tr},tr.params={}),assign({query:qn.query,hash:qn.hash,params:tr.path!=null?{}:qn.params},tr)}}function Pn(qn,Yn){const ar=jt=Sn(qn),tr=Lt.value,or=qn.state,sr=qn.force,Kn=qn.replace===!0,Zn=$n(ar);if(Zn)return Pn(assign(xn(Zn),{state:typeof Zn=="object"?assign({},or,Zn.state):or,force:sr,replace:Kn}),Yn||ar);const nr=ar;nr.redirectedFrom=Yn;let lr;return!sr&&isSameRouteLocation(Fe,tr,ar)&&(lr=createRouterError(16,{to:nr,from:tr}),Gn(tr,tr,!0,!1)),(lr?Promise.resolve(lr):In(nr,tr)).catch(ir=>isNavigationFailure(ir)?isNavigationFailure(ir,2)?ir:jn(ir):Fn(ir,nr,tr)).then(ir=>{if(ir){if(isNavigationFailure(ir,2))return Pn(assign({replace:Kn},xn(ir.to),{state:typeof ir.to=="object"?assign({},or,ir.to.state):or,force:sr}),Yn||nr)}else ir=Rn(nr,tr,!0,Kn,or);return On(nr,tr,ir),ir})}function Nn(qn,Yn){const ar=En(qn,Yn);return ar?Promise.reject(ar):Promise.resolve()}function Mn(qn){const Yn=er.values().next().value;return Yn&&typeof Yn.runWithContext=="function"?Yn.runWithContext(qn):qn()}function In(qn,Yn){let ar;const[tr,or,sr]=extractChangingRecords(qn,Yn);ar=extractComponentsGuards(tr.reverse(),"beforeRouteLeave",qn,Yn);for(const Zn of tr)Zn.leaveGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,qn,Yn))});const Kn=Nn.bind(null,qn,Yn);return ar.push(Kn),Jn(ar).then(()=>{ar=[];for(const Zn of qe.list())ar.push(guardToPromiseFn(Zn,qn,Yn));return ar.push(Kn),Jn(ar)}).then(()=>{ar=extractComponentsGuards(or,"beforeRouteUpdate",qn,Yn);for(const Zn of or)Zn.updateGuards.forEach(nr=>{ar.push(guardToPromiseFn(nr,qn,Yn))});return ar.push(Kn),Jn(ar)}).then(()=>{ar=[];for(const Zn of sr)if(Zn.beforeEnter)if(isArray$3(Zn.beforeEnter))for(const nr of Zn.beforeEnter)ar.push(guardToPromiseFn(nr,qn,Yn));else ar.push(guardToPromiseFn(Zn.beforeEnter,qn,Yn));return ar.push(Kn),Jn(ar)}).then(()=>(qn.matched.forEach(Zn=>Zn.enterCallbacks={}),ar=extractComponentsGuards(sr,"beforeRouteEnter",qn,Yn,Mn),ar.push(Kn),Jn(ar))).then(()=>{ar=[];for(const Zn of At.list())ar.push(guardToPromiseFn(Zn,qn,Yn));return ar.push(Kn),Jn(ar)}).catch(Zn=>isNavigationFailure(Zn,8)?Zn:Promise.reject(Zn))}function On(qn,Yn,ar){Dt.list().forEach(tr=>Mn(()=>tr(qn,Yn,ar)))}function Rn(qn,Yn,ar,tr,or){const sr=En(qn,Yn);if(sr)return sr;const Kn=Yn===START_LOCATION_NORMALIZED,Zn=isBrowser$1?history.state:{};ar&&(tr||Kn?Ue.replace(qn.fullPath,assign({scroll:Kn&&Zn&&Zn.scroll},or)):Ue.push(qn.fullPath,or)),Lt.value=qn,Gn(qn,Yn,ar,Kn),jn()}let Bn;function Vn(){Bn||(Bn=Ue.listen((qn,Yn,ar)=>{if(!rr.listening)return;const tr=Sn(qn),or=$n(tr);if(or){Pn(assign(or,{replace:!0}),tr).catch(noop$4);return}jt=tr;const sr=Lt.value;isBrowser$1&&saveScrollPosition(getScrollKey(sr.fullPath,ar.delta),computeScrollPosition()),In(tr,sr).catch(Kn=>isNavigationFailure(Kn,12)?Kn:isNavigationFailure(Kn,2)?(Pn(Kn.to,tr).then(Zn=>{isNavigationFailure(Zn,20)&&!ar.delta&&ar.type===NavigationType.pop&&Ue.go(-1,!1)}).catch(noop$4),Promise.reject()):(ar.delta&&Ue.go(-ar.delta,!1),Fn(Kn,tr,sr))).then(Kn=>{Kn=Kn||Rn(tr,sr,!1),Kn&&(ar.delta&&!isNavigationFailure(Kn,8)?Ue.go(-ar.delta,!1):ar.type===NavigationType.pop&&isNavigationFailure(Kn,20)&&Ue.go(-1,!1)),On(tr,sr,Kn)}).catch(noop$4)}))}let Ln=useCallbacks(),Dn=useCallbacks(),Hn;function Fn(qn,Yn,ar){jn(qn);const tr=Dn.list();return tr.length?tr.forEach(or=>or(qn,Yn,ar)):console.error(qn),Promise.reject(qn)}function zn(){return Hn&&Lt.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((qn,Yn)=>{Ln.add([qn,Yn])})}function jn(qn){return Hn||(Hn=!qn,Vn(),Ln.list().forEach(([Yn,ar])=>qn?ar(qn):Yn()),Ln.reset()),qn}function Gn(qn,Yn,ar,tr){const{scrollBehavior:or}=xe;if(!isBrowser$1||!or)return Promise.resolve();const sr=!ar&&getSavedScrollPosition(getScrollKey(qn.fullPath,0))||(tr||!ar)&&history.state&&history.state.scroll||null;return nextTick().then(()=>or(qn,Yn,sr)).then(Kn=>Kn&&scrollToPosition(Kn)).catch(Kn=>Fn(Kn,qn,Yn))}const Wn=qn=>Ue.go(qn);let Xn;const er=new Set,rr={currentRoute:Lt,listening:!0,addRoute:_n,removeRoute:wn,hasRoute:Cn,getRoutes:kn,resolve:Sn,options:xe,push:Tn,replace:An,go:Wn,back:()=>Wn(-1),forward:()=>Wn(1),beforeEach:qe.add,beforeResolve:At.add,afterEach:Dt.add,onError:Dn.add,isReady:zn,install(qn){const Yn=this;qn.component("RouterLink",RouterLink),qn.component("RouterView",RouterView),qn.config.globalProperties.$router=Yn,Object.defineProperty(qn.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(Lt)}),isBrowser$1&&!Xn&&Lt.value===START_LOCATION_NORMALIZED&&(Xn=!0,Tn(Ue.location).catch(or=>{}));const ar={};for(const or in START_LOCATION_NORMALIZED)Object.defineProperty(ar,or,{get:()=>Lt.value[or],enumerable:!0});qn.provide(routerKey,Yn),qn.provide(routeLocationKey,shallowReactive(ar)),qn.provide(routerViewLocationKey,Lt);const tr=qn.unmount;er.add(qn),qn.unmount=function(){er.delete(qn),er.size<1&&(jt=START_LOCATION_NORMALIZED,Bn&&Bn(),Bn=null,Lt.value=START_LOCATION_NORMALIZED,Xn=!1,Hn=!1),tr()}}};function Jn(qn){return qn.reduce((Yn,ar)=>Yn.then(()=>Mn(ar)),Promise.resolve())}return rr}function extractChangingRecords(xe,$e){const Ie=[],Fe=[],Ue=[],qe=Math.max($e.matched.length,xe.matched.length);for(let At=0;AtisSameRouteRecord(jt,Dt))?Fe.push(Dt):Ie.push(Dt));const Lt=xe.matched[At];Lt&&($e.matched.find(jt=>isSameRouteRecord(jt,Lt))||Ue.push(Lt))}return[Ie,Fe,Ue]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const _hoisted_1$1a={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"},_hoisted_2$L={class:"flex flex-col gap-4"},_hoisted_3$n=createBaseVNode("h1",{class:"m-0 text-6xl font-sans"}," 403 ",-1),_hoisted_4$d=createBaseVNode("div",{class:"desc mx-0 text-xl text-stone-5"}," 抱歉,你无权访问该页面 ",-1),_sfc_main$2u=defineComponent({name:"NotAllowed",__name:"index",setup(xe){const $e=useRouter(),Ie=useSettingsStore(),Fe=ref({inter:Number.NaN,countdown:5});onUnmounted(()=>{Fe.value.inter&&window.clearInterval(Fe.value.inter)}),onMounted(()=>{Fe.value.inter=window.setInterval(()=>{Fe.value.countdown--,Fe.value.countdown===0&&(Fe.value.inter&&window.clearInterval(Fe.value.inter),Ue())},1e3)});function Ue(){$e.push(Ie.settings.home.fullPath)}return(qe,At)=>{const Dt=_sfc_main$2y,Lt=_sfc_main$2v;return openBlock(),createElementBlock("div",_hoisted_1$1a,[createVNode$1(Dt,{name:"403",class:"text-[300px] lg-text-[400px]"}),createBaseVNode("div",_hoisted_2$L,[_hoisted_3$n,_hoisted_4$d,createBaseVNode("div",null,[createVNode$1(Lt,{onClick:Ue},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Fe).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(xe){return xe&&xe.__esModule&&Object.prototype.hasOwnProperty.call(xe,"default")?xe.default:xe}function getAugmentedNamespace(xe){if(xe.__esModule)return xe;var $e=xe.default;if(typeof $e=="function"){var Ie=function Fe(){return this instanceof Fe?Reflect.construct($e,arguments,this.constructor):$e.apply(this,arguments)};Ie.prototype=$e.prototype}else Ie={};return Object.defineProperty(Ie,"__esModule",{value:!0}),Object.keys(xe).forEach(function(Fe){var Ue=Object.getOwnPropertyDescriptor(xe,Fe);Object.defineProperty(Ie,Fe,Ue.get?Ue:{enumerable:!0,get:function(){return xe[Fe]}})}),Ie}var eruda={exports:{}};/*! eruda v3.0.1 https://eruda.liriliri.io/ */(function(module,exports){(function(xe,$e){module.exports=$e()})(self,function(){return function(){var __webpack_modules__={422:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Yn}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(9340),At=Ie(2963),Dt=Ie(1120),Lt=Ie(2461),jt=Ie.n(Lt),hn=Ie(3990),vn=Ie.n(hn),bn=Ie(6768),_n=Ie.n(bn),wn=Ie(4331),kn=Ie.n(wn),Cn=Ie(5610),Sn=Ie.n(Cn),xn=Ie(7483),En=Ie.n(xn),Tn=Ie(6341),An=Ie.n(Tn),$n=Ie(3875),Pn=Ie.n($n),Nn=Ie(6954),Mn=Ie.n(Nn);Ie(9585);function In(tr){var or="luna-".concat(tr,"-");function sr(Kn){return jt()(kn()(Kn).split(/\s+/),function(Zn){return An()(Zn,or)?Zn:Zn.replace(/[\w-]+/,function(nr){return"".concat(or).concat(nr)})}).join(" ")}return function(Kn){if(/<[^>]*>/g.test(Kn))try{var Zn=En().parse(Kn);return On(Zn,function(nr){nr.attrs&&nr.attrs.class&&(nr.attrs.class=sr(nr.attrs.class))}),En().stringify(Zn)}catch{return sr(Kn)}return sr(Kn)}}function On(tr,or){for(var sr=0,Kn=tr.length;sr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}var Jn=function(tr){(0,qe.Z)(sr,tr);var or=rr(sr);function sr(Kn,Zn){var nr,lr=Zn.compName,ir=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,kr=ir===void 0?"light":ir;return(0,Fe.Z)(this,sr),(nr=or.call(this)).subComponents=[],nr.compName=lr,nr.c=In(lr),nr.options={},nr.container=Kn,nr.$container=Dn()(Kn),nr.$container.addClass(["luna-".concat(lr),nr.c("platform-".concat(Rn()))]),nr.on("optionChange",function(Cr,Er,dr){var br=nr.c;Cr==="theme"&&(nr.$container.rmClass(br("theme-".concat(dr))).addClass(br("theme-".concat(Er))),Fn()(nr.subComponents,function(_r){return _r.setOption("theme",Er)}))}),nr.setOption("theme",kr),nr}return(0,Ue.Z)(sr,[{key:"destroy",value:function(){this.destroySubComponents();var Kn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Kn("platform-".concat(Rn()))).rmClass(Kn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Kn,Zn){var nr=this,lr=this.options,ir={};typeof Kn=="string"?ir[Kn]=Zn:ir=Kn,Fn()(ir,function(kr,Cr){var Er=lr[Cr];lr[Cr]=kr,nr.emit("optionChange",Cr,kr,Er)})}},{key:"getOption",value:function(Kn){return this.options[Kn]}},{key:"addSubComponent",value:function(Kn){Kn.setOption("theme",this.options.theme),this.subComponents.push(Kn)}},{key:"removeSubComponent",value:function(Kn){er()(this.subComponents,function(Zn){return Zn===Kn})}},{key:"destroySubComponents",value:function(){Fn()(this.subComponents,function(Kn){return Kn.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Kn){var Zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Wn()(Kn,Zn),jn()(this.options,Kn)}},{key:"find",value:function(Kn){return this.$container.find(this.c(Kn))}}]),sr}(Vn());function qn(tr){var or=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var sr,Kn=(0,Dt.Z)(tr);if(or){var Zn=(0,Dt.Z)(this).constructor;sr=Reflect.construct(Kn,arguments,Zn)}else sr=Kn.apply(this,arguments);return(0,At.Z)(this,sr)}}xe=Ie.hmd(xe);var Yn=function(tr){(0,qe.Z)(sr,tr);var or=qn(sr);function sr(Kn){var Zn,nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,sr),(Zn=or.call(this,Kn,{compName:"box-model"})).initOptions(nr),Zn.options.element&&Zn.render(),Zn.bindEvent(),Zn}return(0,Ue.Z)(sr,[{key:"bindEvent",value:function(){var Kn=this;this.on("optionChange",function(Zn){Zn==="element"&&Kn.render()})}},{key:"render",value:function(){var Kn=this.c,Zn=this.getBoxModelData();this.$container.html(['
'),Zn.position?'
'):"",Zn.position?'
position
').concat(Zn.position.top,'

').concat(Zn.position.left,"
"):"",'
'),'
margin
').concat(Zn.margin.top,'

').concat(Zn.margin.left,"
"),'
'),'
border
').concat(Zn.border.top,'

').concat(Zn.border.left,"
"),'
'),'
padding
').concat(Zn.padding.top,'

').concat(Zn.padding.left,"
"),'
'),"".concat(Zn.content.width," × ").concat(Zn.content.height,""),"
",'
').concat(Zn.padding.right,'

').concat(Zn.padding.bottom,"
"),"
",'
').concat(Zn.border.right,'

').concat(Zn.border.bottom,"
"),"
",'
').concat(Zn.margin.right,'

').concat(Zn.margin.bottom,"
"),"
",Zn.position?'
').concat(Zn.position.right,'

').concat(Zn.position.bottom,"
"):"",Zn.position?"
":"","
"].join(""))}},{key:"getBoxModelData",value:function(){var Kn=this.options.element,Zn=window.getComputedStyle(Kn);function nr(ir){var kr=["top","left","right","bottom"];return ir!=="position"&&(kr=jt()(kr,function(Cr){return"".concat(ir,"-").concat(Cr)})),ir==="border"&&(kr=jt()(kr,function(Cr){return"".concat(Cr,"-width")})),{top:ar(Zn[kr[0]],ir),left:ar(Zn[kr[1]],ir),right:ar(Zn[kr[2]],ir),bottom:ar(Zn[kr[3]],ir)}}var lr={margin:nr("margin"),border:nr("border"),padding:nr("padding"),content:{width:ar(Zn.width),height:ar(Zn.height)}};return Zn.position!=="static"&&(lr.position=nr("position")),lr}}]),sr}(Jn);function ar(tr,or){if(vn()(tr))return tr;if(!_n()(tr))return"‒";var sr,Kn=(sr=tr,Pn()(sr.replace("px","")));return isNaN(Kn)?tr:or==="position"?Kn:Kn===0?"‒":Kn}(function(tr,or){try{tr.exports=or,tr.exports.default=or}catch{}})(xe,Yn)},8816:function(xe,$e,Ie){Ie.d($e,{Z:function(){return qa}});var Fe=Ie(168),Ue=Ie(181);function qe(go,No){return function(mo){if(Array.isArray(mo))return mo}(go)||function(mo,hr){var fr=mo==null?null:typeof Symbol<"u"&&mo[Symbol.iterator]||mo["@@iterator"];if(fr!=null){var Nr,jr,ao,eo,lo=[],fo=!0,bo=!1;try{if(ao=(fr=fr.call(mo)).next,hr===0){if(Object(fr)!==fr)return;fo=!1}else for(;!(fo=(Nr=ao.call(fr)).done)&&(lo.push(Nr.value),lo.length!==hr);fo=!0);}catch(Io){bo=!0,jr=Io}finally{try{if(!fo&&fr.return!=null&&(eo=fr.return(),Object(eo)!==eo))return}finally{if(bo)throw jr}}return lo}}(go,No)||(0,Ue.Z)(go,No)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(5671),Dt=Ie(3144),Lt=Ie(1752),jt=Ie(9340),hn=Ie(2963),vn=Ie(1120),bn=Ie(7326),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(3367),Cn=Ie.n(kn),Sn=Ie(6341),xn=Ie.n(Sn),En=Ie(6930),Tn=Ie.n(En),An=Ie(4187),$n=Ie.n(An),Pn=Ie(3783),Nn=Ie.n(Pn),Mn=Ie(4858),In=Ie.n(Mn),On=Ie(8887),Rn=Ie.n(On),Bn=Ie(7756),Vn=Ie.n(Bn),Ln=Ie(3023),Dn=Ie.n(Ln);function Hn(go){return go.constructor&&go.constructor.name?go.constructor.name:Dn()({}.toString.call(go).replace(/(\[object )|]/g,""))}var Fn=Ie(2461),zn=Ie.n(Fn),jn=Ie(4331),Gn=Ie.n(jn),Wn=Ie(5610),Xn=Ie.n(Wn),er=Ie(7483),rr=Ie.n(er),Jn=Ie(3990),qn=Ie.n(Jn),Yn=Ie(3875),ar=Ie.n(Yn),tr=Ie(6954),or=Ie.n(tr),sr=Ie(9585),Kn=Ie.n(sr);function Zn(go){var No="luna-".concat(go,"-");function mo(hr){return zn()(Gn()(hr).split(/\s+/),function(fr){return xn()(fr,No)?fr:fr.replace(/[\w-]+/,function(Nr){return"".concat(No).concat(Nr)})}).join(" ")}return function(hr){if(/<[^>]*>/g.test(hr))try{var fr=rr().parse(hr);return nr(fr,function(Nr){Nr.attrs&&Nr.attrs.class&&(Nr.attrs.class=mo(Nr.attrs.class))}),rr().stringify(fr)}catch{return mo(hr)}return mo(hr)}}function nr(go,No){for(var mo=0,hr=go.length;mo1&&arguments[1]!==void 0?arguments[1]:{},hr=mo.topObj,fr=mo.level,Nr=fr===void 0?0:fr,jr=mo.getterVal,ao=jr!==void 0&&jr,eo=mo.unenumerable,lo=eo===void 0||eo,fo="",bo="",Io=[],Lo=[],Ho="";hr=hr||go;var Jo={getterVal:ao,unenumerable:lo,level:Nr+1},Mo=Nr===0,Go=''),ra=''),ta=''),Ea=''),Na=''),Ma=''),ga=function(Uo){return wn()(Uo).replace(/\\n/g,"↵").replace(/\\f|\\r|\\t/g,"").replace(/\\/g,"")},la="";function ua(Uo){return Uo=Cn()(Uo),xn()(kr,Uo)||Tn()(Uo,"Array[")?Ma+ga(Uo)+la:(Uo.length>100&&(Uo=Vn()(Uo,100,{separator:" ",ellipsis:"…"})),Ea+ga('"'.concat(Uo,'"'))+la)}function va(Uo){if(No>5)Ho=", …";else{var Ba=function(Ti){return Go+ga(Ti)+la}(Er(Uo));if(!ao){var Xa=Object.getOwnPropertyDescriptor(go,Uo);if(Xa&&Xa.get)return Io.push("".concat(Ba,": ").concat(ua("(...)"))),void No++}Io.push("".concat(Ba,": ").concat(ir(hr[Uo],Jo))),No++}}try{bo={}.toString.call(go)}catch{bo="[object Object]"}var ba,Ia=bo=="[object Array]",Oa=bo=="[object Object]",Ta=bo=="[object Number]",Ra=bo=="[object RegExp]",Ha=bo=="[object Symbol]",wa=bo=="[object Function]",Da=bo=="[object Boolean]";if(bo=="[object String]")fo=ua(Er(go));else if(Ra)ba=Er(go.toString()),fo=Ea+ba+la;else if(wa)fo=ua("ƒ");else if(Ia)if(Mo){fo="[";var ja=go.length,Za="";ja>100&&(ja=100,Za=", …");for(var La=0;La"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var ii=/https?:\/\/([0-9.\-A-Za-z]+)(?::(\d+))?\/[A-Z.a-z0-9/]*\.js/g,za={comment:"",string:"",number:"",keyword:"",operator:""},si=function(go){(0,jt.Z)(mo,go);var No=ai(mo);function mo(hr,fr){var Nr,jr=fr.type,ao=jr===void 0?"log":jr,eo=fr.args,lo=eo===void 0?[]:eo,fo=fr.id,bo=fr.group,Io=fr.targetGroup,Lo=fr.header,Ho=fr.ignoreFilter,Jo=Ho!==void 0&&Ho,Mo=fr.accessGetter,Go=fr.unenumerable,ra=fr.lazyEvaluation;(0,At.Z)(this,mo),(Nr=No.call(this)).container=po()("div"),Nr.count=1,Nr.width=0,Nr.height=0,Nr.isHidden=!1,Nr.columns=[],Nr.elements={},Nr.objects={},Nr.console=hr,Nr.type=ao,Nr.group=bo,Nr.targetGroup=Io,Nr.args=lo,Nr.id=fo,Nr.header=Lo,Nr.ignoreFilter=Jo,Nr.collapsed=!1,Nr.container.log=(0,bn.Z)(Nr),Nr.height=0,Nr.width=0,Nr.$container=xo()(Nr.container),Nr.accessGetter=Mo,Nr.unenumerable=Go,Nr.lazyEvaluation=ra;var ta="info";switch(ao){case"debug":ta="verbose";break;case"error":ta="error";break;case"warn":ta="warning"}return Nr.level=ta,Nr.resizeSensor=new(xr())(Nr.container),Nr.onResize=Ir()(function(){Kn()(Nr.container)?Nr.isHidden=!0:(Nr.isHidden||Nr.updateSize(!1),Nr.isHidden=!1)},16),Nr.formatMsg(),Nr.group&&Nr.checkGroup(),Nr.bindEvent(),Nr}return(0,Dt.Z)(mo,[{key:"checkGroup",value:function(){for(var hr=this.group,fr=!1;hr;){if(hr.collapsed){fr=!0;break}hr=hr.parent}return fr!==this.collapsed&&(this.collapsed=fr,!0)}},{key:"updateIcon",value:function(hr){var fr=this.console.c;return this.$container.find(fr(".icon-container")).find(fr(".icon")).rmAttr("class").addClass([fr("icon"),fr("icon-".concat(hr))]),this}},{key:"addCount",value:function(){this.count++;var hr=this.$container,fr=this.count,Nr=this.console.c,jr=hr.find(Nr(".count-container")),ao=hr.find(Nr(".icon-container")),eo=jr.find(Nr(".count"));return fr===2&&jr.rmClass(Nr("hidden")),eo.text(Cn()(fr)),ao.addClass(Nr("hidden")),this}},{key:"groupEnd",value:function(){var hr=this.$container,fr=this.console.c;return hr.find(".".concat(fr("nesting-level"),":not(.").concat(fr("group-closed"),")")).last().addClass(fr("group-closed")),this}},{key:"updateTime",value:function(hr){var fr=this.$container.find(this.console.c(".time-container"));return this.header&&(fr.find("span").eq(0).text(hr),this.header.time=hr),this}},{key:"isAttached",value:function(){return!!this.container.parentNode}},{key:"isSimple",value:function(){return!aa()(this.args,function(hr){return Hr()(hr)})}},{key:"updateSize",value:function(){var hr=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],fr=this.container.getBoundingClientRect(),Nr=fr.width,jr=fr.height-1;this.height!==jr&&(this.height=jr,hr||this.emit("updateHeight")),this.width!==Nr&&(this.width=Nr)}},{key:"html",value:function(){return this.container.outerHTML}},{key:"text",value:function(){return this.content.textContent||""}},{key:"select",value:function(){this.$container.addClass(this.console.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.console.c("selected"))}},{key:"copy",value:function(){var hr=this.args,fr="";Nn()(hr,function(Nr,jr){jr!==0&&(fr+=" "),Hr()(Nr)?fr+=to()(Nr):fr+=Cn()(Nr)}),co()(fr)}},{key:"bindEvent",value:function(){var hr=this,fr=this.console.c,Nr=this;this.resizeSensor.addListener(this.onResize),this.$container.on("click",fr(".dom-viewer"),function(jr){return jr.stopPropagation()}).on("click",fr(".preview"),function(jr){jr.stopPropagation();var ao=xo()(this).find(fr(".preview-icon-container")).find(fr(".icon")),eo="caret-down";ao.hasClass(fr("icon-caret-down"))&&(eo="caret-right"),ao.rmAttr("class").addClass([fr("icon"),fr("icon-".concat(eo))]),Nr.renderObjectViewer(this)}).on("click",function(){return hr.click()})}},{key:"renderEl",value:function(){var hr=this.elements,fr=this.console.c,Nr=this;this.$container.find(fr(".dom-viewer")).each(function(){var jr=xo()(this).data("id");new Pr.Z(this,{node:hr[jr],theme:Nr.console.getOption("theme")})})}},{key:"renderObjectViewer",value:function(hr){var fr=this.console,Nr=this.unenumerable,jr=this.accessGetter,ao=this.lazyEvaluation,eo=fr.c,lo=xo()(hr),fo=lo.data("id");if(fo){var bo=this.objects[fo],Io=lo.find(eo(".json"));if(Io.hasClass(eo("hidden"))){if(Io.data("init")!=="true"){if(ao){var Lo=new br.Z(Io.get(0),{unenumerable:Nr,accessGetter:jr});Lo.setOption("theme",fr.getOption("theme")),Lo.set(bo)}else{var Ho=new br.q(Io.get(0));Ho.setOption("theme",fr.getOption("theme")),Ho.set(bo)}Io.data("init","true")}Io.rmClass(eo("hidden"))}else Io.addClass(eo("hidden"))}}},{key:"renderTable",value:function(hr){var fr=this,Nr="__LunaConsoleValue",jr=this.columns,ao=this.$container,eo=this.console,lo=eo.c,fo=ao.find(lo(".data-grid")),bo=hr[0],Io=new _r.Z(fo.get(0),{columns:Yr()([{id:"(index)",title:"(index)",sortable:!0}],zn()(jr,function(Lo){return{id:Lo,title:Lo===Nr?"Value":Lo,sortable:!0}})),theme:eo.getOption("theme")});Nn()(bo,function(Lo,Ho){var Jo={"(index)":Cn()(Ho)};jr.forEach(function(Mo){Hr()(Lo)?Jo[Mo]=Mo===Nr?"":fr.formatTableVal(Lo[Mo]):cr()(Lo)&&(Jo[Mo]=Mo===Nr?fr.formatTableVal(Lo):"")}),Io.append(Jo)})}},{key:"extractObj",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Nr=arguments.length>2?arguments[2]:void 0,jr=this.accessGetter,ao=this.unenumerable;Dr()(fr,{accessGetter:jr,unenumerable:ao,symbol:ao,timeout:1e3}),function(eo,lo,fo){var bo=Co()(eo,lo);Vo()(function(){return fo(bo)})}(hr,fr,function(eo){return Nr(JSON.parse(eo))})}},{key:"click",value:function(){var hr=this.type,fr=this.$container,Nr=this.console,jr=Nr.c;switch(hr){case"log":case"warn":case"info":case"debug":case"output":case"table":case"dir":break;case"group":case"groupCollapsed":Nr.toggleGroup(this);break;case"error":fr.find(jr(".stack")).toggleClass(jr("hidden"))}}},{key:"formatMsg",value:function(){var hr=this.args,fr=this.type,Nr=this.id,jr=this.header,ao=this.group,eo=this.console.c;hr=Zr()(hr);var lo,fo,bo="";switch(fr!=="group"&&fr!=="groupCollapsed"||hr.length===0&&(hr=["console.group"]),fr){case"log":case"info":case"debug":bo=this.formatCommon(hr);break;case"dir":bo=this.formatDir(hr);break;case"warn":lo="warn",bo=this.formatCommon(hr);break;case"error":Gr()(hr[0])&&hr.length!==1&&(hr=this.substituteStr(hr)),fo=hr[0],lo="error",fo=Br()(fo)?fo:new Error(this.formatCommon(hr)),bo=this.formatErr(fo);break;case"table":bo=this.formatTable(hr);break;case"html":bo=hr[0];break;case"input":bo=this.formatJs(hr[0]),lo="input";break;case"output":bo=this.formatCommon(hr),lo="output";break;case"groupCollapsed":bo=this.formatCommon(hr),lo="caret-right";break;case"group":bo=this.formatCommon(hr),lo="caret-down"}xn()(["log","debug","warn"],fr)&&this.isSimple()&&(bo=jo()(bo,function(Io){return'').concat(Io,"")})),bo=this.render({msg:bo,type:fr,icon:lo,id:Nr,header:jr,group:ao}),this.$container.addClass("".concat(eo("log-container"))).html(bo),fr==="table"&&(Rn()(this.columns)||this.renderTable(hr)),Rn()(this.elements)||this.renderEl(),this.$content=this.$container.find(eo(".log-content")),this.content=this.$content.get(0)}},{key:"render",value:function(hr){var fr=this.console.c,Nr="",jr="";if(hr.group)for(var ao=hr.group.indentLevel,eo=0;eo');hr.header&&(Nr+=Xo()(dr||(dr=(0,Fe.Z)([`
`,`
@@ -63,14 +63,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
').concat(hr.msg,`
-
`)}},{key:"formatTable",value:function(hr){var fr=hr[0],Nr=hr[1],jr=[];return Gr()(Nr)&&(Nr=Ro()(Nr)),qo()(Nr)||(Nr=null),Hr()(fr)?(Nn()(fr,function(ao){cr()(ao)?jr.push("__LunaConsoleValue"):Hr()(ao)&&(jr=jr.concat(so()(ao)))}),(jr=So()(jr)).sort(),Nr&&(jr=jr.filter(function(ao){return xn()(Nr,ao)})),jr.length>20&&(jr=jr.slice(0,20)),Rn()(jr)?this.formatCommon(hr):(this.columns=jr,this.console.c('
')+this.formatPreview(fr))):this.formatCommon(hr)}},{key:"formatErr",value:function(hr){var fr=hr.stack?hr.stack.split(` -`):[],Nr="".concat(hr.message||fr[0],"
");return fr=fr.map(function(jr){return wn()(jr)}),Nr+'
').concat(fr.slice(1).join("
"),"
").replace(ii,function(jr){return'').concat(jr,"")})}},{key:"formatCommon",value:function(hr){var fr=this.console.c,Nr=Gr()(hr[0])&&hr.length!==1;Nr&&(hr=this.substituteStr(hr));for(var jr=0,ao=hr.length;jr').concat(wn()(Cn()(eo)),""):Hr()(eo)?hr[jr]=this.formatPreview(eo):_o()(eo)?hr[jr]='undefined'):uo()(eo)?hr[jr]='null'):Yn()(eo)?hr[jr]='').concat(Cn()(eo),""):typeof eo=="bigint"?hr[jr]='').concat(Cn()(eo),"n"):ma()(eo)?hr[jr]='').concat(Cn()(eo),""):Va()(eo)?hr[jr]='').concat(wn()(Cn()(eo)),""):(eo=Cn()(eo),jr===0&&Nr||(eo=wn()(eo)),eo.length>5e3&&(eo=Vn()(eo,5e3,{separator:" ",ellipsis:"…"})),hr[jr]=eo)}return hr.join(" ")}},{key:"formatDir",value:function(hr){return Hr()(hr[0])?this.formatPreview(hr[0]):this.formatCommon(hr)}},{key:"formatTableVal",value:function(hr){var fr=this.console.c;return Hr()(hr)?"{…}":cr()(hr)?ea()('
').concat(ir(hr),"
")):Cn()(hr)}},{key:"formatPreview",value:function(hr){var fr=this,Nr=this.console.c,jr=na()();this.lazyEvaluation?this.objects[jr]=hr:this.extractObj(hr,{},function(lo){fr.objects[jr]=lo});var ao=xn()(["dir","table"],this.type),eo=Hn(hr);return eo==="Array"&&hr.length>1?(eo="(".concat(hr.length,")"),ao&&(eo="Array".concat(eo))):eo==="RegExp"?eo=Cn()(hr):Lr()(hr)&&(eo=this.formatElName(hr)),'
')+'
')+'
')+'')+'').concat(wn()(eo)," ")+'').concat(ao?"":ir(hr,{getterVal:this.accessGetter,unenumerable:!1}),"")+"
"+'
')}},{key:"substituteStr",value:function(hr){var fr=wn()(hr[0]),Nr=!1,jr="";hr.shift();for(var ao=0,eo=fr.length;ao"),Nr=!0,jr+='');break;default:ao--,hr.unshift(fo),jr+=lo}}else jr+=lo}return Nr&&(jr+=""),hr.unshift(jr),hr}},{key:"formatJs",value:function(hr){return'
').concat(this.console.c(oa()(hr,"js",za)),"
")}},{key:"formatFn",value:function(hr){return'
'.concat(this.formatJs(hr.toString()),"
")}},{key:"formatElName",value:function(hr){var fr=hr.id,Nr=hr.className,jr=hr.tagName.toLowerCase();if(fr!==""&&(jr+="#".concat(fr)),Gr()(Nr)){var ao="";Nn()(Nr.split(/\s+/g),function(eo){eo.trim()!==""&&(ao+=".".concat(eo))}),jr+=ao}return jr}},{key:"formatEl",value:function(hr){var fr=na()();return this.elements[fr]=hr,this.console.c('
'))}}]),mo}(Yr());function Aa(go){var No=(go=Or()(go)).split(";"),mo={};Nn()(No,function(fr){if(xn()(fr,":")){var Nr=qe(fr.split(":"),2),jr=Nr[0],ao=Nr[1];mo[Gn()(jr)]=Gn()(ao)}}),mo.display="inline-block",mo["max-width"]="100%",delete mo.width,delete mo.height;var hr="";return Nn()(mo,function(fr,Nr){hr+="".concat(Nr,":").concat(fr,";")}),hr}var li=Ie(1194),Ua=Ie.n(li),ci=Ie(8847),Ca=Ie.n(ci),di=Ie(6329),Wa=Ie.n(di),fi=Ie(9001),Pa=Ie.n(fi),pi=Ie(9702),hi=Ie.n(pi),mi=Ie(2439),sa=Ie.n(mi),gi=Ie(8933),Bo=Ie.n(gi),vi=Ie(4407),ya=Ie.n(vi),yi=Ie(5852),bi=Ie.n(yi);function _i(go){var No=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var xa,wi=function(go){(0,jt.Z)(mo,go);var No=_i(mo);function mo(hr,fr){var Nr,jr,ao=fr.compName,eo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,lo=eo===void 0?"light":eo;return(0,At.Z)(this,mo),(Nr=No.call(this)).subComponents=[],Nr.compName=ao,Nr.c=Zn(ao),Nr.options={},Nr.container=hr,Nr.$container=xo()(hr),Nr.$container.addClass(["luna-".concat(ao),Nr.c("platform-".concat((jr=or()(),jr==="os x"?"mac":jr)))]),Nr.on("optionChange",function(fo,bo,Io){var Lo=Nr.c;fo==="theme"&&(Nr.$container.rmClass(Lo("theme-".concat(Io))).addClass(Lo("theme-".concat(bo))),Nn()(Nr.subComponents,function(Ho){return Ho.setOption("theme",bo)}))}),Nr.setOption("theme",lo),Nr}return(0,Dt.Z)(mo,[{key:"destroy",value:function(){var hr=this;this.destroySubComponents();var fr=this.$container,Nr=fr.attr("class");Nn()(Nr.split(/\s+/),function(jr){Tn()(jr,"luna-".concat(hr.compName))&&fr.rmClass(jr)}),fr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(hr,fr){var Nr=this,jr=this.options,ao={};typeof hr=="string"?ao[hr]=fr:ao=hr,Nn()(ao,function(eo,lo){var fo=jr[lo];jr[lo]=eo,Nr.emit("optionChange",lo,eo,fo)})}},{key:"getOption",value:function(hr){return this.options[hr]}},{key:"addSubComponent",value:function(hr){hr.setOption("theme",this.options.theme),this.subComponents.push(hr)}},{key:"removeSubComponent",value:function(hr){bi()(this.subComponents,function(fr){return fr===hr})}},{key:"destroySubComponents",value:function(){Nn()(this.subComponents,function(hr){return hr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dr()(hr,fr),Wa()(this.options,hr)}},{key:"find",value:function(hr){return this.$container.find(this.c(hr))}}]),mo}(Yr()),ki=Ie(1571),Ka=Ie.n(ki);function Si(go){var No=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}xe=Ie.hmd(xe);var qa=navigator.userAgent,Ci=qa.indexOf("Android")>-1||qa.indexOf("Adr")>-1,xi=0,Ya=function(go){(0,jt.Z)(mo,go);var No=Si(mo);function mo(hr){var fr,Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,At.Z)(this,mo),(fr=No.call(this,hr,{compName:"console"},Nr)).spaceHeight=0,fr.topSpaceHeight=0,fr.bottomSpaceHeight=0,fr.lastScrollTop=0,fr.lastTimestamp=0,fr.speedToleranceFactor=100,fr.maxSpeedTolerance=2e3,fr.minSpeedTolerance=100,fr.logs=[],fr.displayLogs=[],fr.timer={},fr.counter={},fr.asyncList=[],fr.asyncTimer=null,fr.isAtBottom=!0,fr.groupStack=new(Pa()),fr.selectedLog=null,fr.onScroll=function(){var jr=fr.container,ao=jr.scrollHeight,eo=jr.offsetHeight,lo=jr.scrollTop;if(!(lo<=0||eo+lo>ao)){var fo=!1;(ao===eo||lo===ao-eo)&&(fo=!0),fr.isAtBottom=fo;var bo=fr.lastScrollTop,Io=fr.lastTimestamp,Lo=Ca()(),Ho=Lo-Io,Jo=lo-bo,Mo=Math.abs(Jo/Ho)*fr.speedToleranceFactor;Ho>1e3&&(Mo=1e3),Mo>fr.maxSpeedTolerance&&(Mo=fr.maxSpeedTolerance),Molo+eo+ra||fr.renderViewport({topTolerance:2*Go,bottomTolerance:2*ra})}},fr.initTpl(),fr.initOptions(Nr,{maxNum:0,asyncRender:!0,showHeader:!1,filter:"",level:["verbose","info","warning","error"],accessGetter:!1,unenumerable:!0,lazyEvaluation:!0}),fr.$el=fr.find(".logs"),fr.el=fr.$el.get(0),fr.$fakeEl=fr.find(".fake-logs"),fr.fakeEl=fr.$fakeEl.get(0),fr.$space=fr.find(".logs-space"),fr.space=fr.$space.get(0),Ci&&(fr.speedToleranceFactor=800,fr.maxSpeedTolerance=3e3,fr.minSpeedTolerance=800),fr.resizeSensor=new(xr())(hr),fr.renderViewport=sa()(function(jr){fr._renderViewport(jr)},16),fr.global={copy:function(jr){Gr()(jr)||(jr=JSON.stringify(jr,null,2)),co()(jr)},$:function(jr){return document.querySelector(jr)},$$:function(jr){return Ro()(document.querySelectorAll(jr))},$x:function(jr){return Bo()(jr)},clear:function(){fr.clear()},dir:function(jr){fr.dir(jr)},table:function(jr,ao){fr.table(jr,ao)},keys:so()},fr.bindEvent(),fr}return(0,Dt.Z)(mo,[{key:"setGlobal",value:function(hr,fr){this.global[hr]=fr}},{key:"destroy",value:function(){this.$container.off("scroll",this.onScroll),this.resizeSensor.destroy(),(0,Lt.Z)((0,vn.Z)(mo.prototype),"destroy",this).call(this)}},{key:"count",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.counter;_o()(fr[hr])?fr[hr]=1:fr[hr]++,this.info("".concat(hr,": ").concat(fr[hr]))}},{key:"countReset",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.counter[hr]=0}},{key:"assert",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr0&&arguments[0]!==void 0?arguments[0]:"default";if(this.timer[hr])return this.insert("warn",["Timer '".concat(hr,"' already exists")]);this.timer[hr]=Ua()()}},{key:"timeLog",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.timer[hr];if(!fr)return this.insert("warn",["Timer '".concat(hr,"' does not exist")]);this.info("".concat(hr,": ").concat(Ua()()-fr,"ms"))}},{key:"timeEnd",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.timeLog(hr),delete this.timer[hr]}},{key:"clear",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.logs=[],this.displayLogs=[],this.selectLog(null),this.lastLog=void 0,this.counter={},this.timer={},this.groupStack=new(Pa()),this.asyncList=[],this.asyncTimer&&(clearTimeout(this.asyncTimer),this.asyncTimer=null),hr?this.render():this.insert("log",["%cConsole was cleared","color:#808080;font-style:italic;"])}},{key:"info",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr0&&(jr.group=lo.peek()),Wa()(jr,{id:++xi,accessGetter:Io,unenumerable:Lo,lazyEvaluation:Ho}),jr.type==="group"||jr.type==="groupCollapsed"){var Jo={id:na()("group"),collapsed:!1,parent:lo.peek(),indentLevel:lo.size+1};jr.type==="groupCollapsed"&&(Jo.collapsed=!0),jr.targetGroup=Jo,lo.push(Jo)}var Mo=new si(this,jr);Mo.on("updateHeight",function(){ao.isAtBottom=!1,ao.renderViewport()});var Go=this.lastLog;if(Go&&!xn()(["html","group","groupCollapsed"],Mo.type)&&Go.type===Mo.type&&Mo.isSimple()&&Go.text()===Mo.text()?(Go.addCount(),Mo.header&&Go.updateTime(Mo.header.time),Mo=Go,this.detachLog(Go)):(eo.push(Mo),this.lastLog=Mo),bo!==0&&eo.length>bo){var ra=eo[0];this.detachLog(ra),eo.shift()}this.attachLog(Mo),this.emit("insert",Mo)}},{key:"updateTopSpace",value:function(hr){this.topSpaceHeight=hr,this.el.style.top=hr+"px"}},{key:"updateBottomSpace",value:function(hr){this.bottomSpaceHeight=hr}},{key:"updateSpace",value:function(hr){this.spaceHeight!==hr&&(this.spaceHeight=hr,this.space.style.height=hr+"px")}},{key:"detachLog",value:function(hr){var fr=this.displayLogs,Nr=fr.indexOf(hr);Nr>-1&&(fr.splice(Nr,1),this.renderViewport())}},{key:"attachLog",value:function(hr){if(this.filterLog(hr)&&!hr.collapsed){var fr=this.displayLogs;if(fr.length===0)return fr.push(hr),void this.renderViewport();var Nr=hi()(fr);if(hr.id>Nr.id)return fr.push(hr),void this.renderViewport();for(var jr,ao=0,eo=fr.length-1,lo=0;ao<=eo;){if((jr=fr[lo=ao+Math.floor((eo-ao)/2)]).id===hr.id)return;jr.id0&&arguments[0]!==void 0?arguments[0]:20,Nr=this.asyncList;this.asyncTimer||(this.asyncTimer=setTimeout(function(){hr.asyncTimer=null;var jr,ao,eo=!1,lo=Nr.length;lo<1e3?(ao=200,jr=400):lo<5e3?(ao=500,jr=800):lo<1e4?(ao=800,jr=1e3):lo<25e3?(ao=1e3,jr=1200):lo<5e4?(ao=1500,jr=1500):(ao=2e3,jr=2500),ao>lo&&(ao=lo,eo=!0);for(var fo=0;fo0&&lo.length>eo&&(hr.logs=lo.slice(lo.length-eo),hr.render());break;case"filter":hr.render();break;case"level":hr.options.level=Ro()(eo),hr.render()}}),this.$container.on("scroll",this.onScroll)}},{key:"_renderViewport",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fr=hr.topTolerance,Nr=fr===void 0?500:fr,jr=hr.bottomTolerance,ao=jr===void 0?500:jr,eo=this.el,lo=this.container,fo=this.space;if(!Kn()(lo)){for(var bo=lo.scrollTop,Io=lo.offsetHeight,Lo=fo.getBoundingClientRect().width,Ho=bo-Nr,Jo=bo+Io+ao,Mo=this.displayLogs,Go=0,ra=0,ta=0,Ea=Mo.length,Na=this.fakeEl,Ma=document.createDocumentFragment(),ga=[],la=0;la0){Na.appendChild(Ma);for(var ba=0,Ia=ga.length;baJo?ra+=wa:ta+wa>Ho?Oa.appendChild(Ha):ta`)}},{key:"formatTable",value:function(hr){var fr=hr[0],Nr=hr[1],jr=[];return Gr()(Nr)&&(Nr=Ro()(Nr)),Yo()(Nr)||(Nr=null),Hr()(fr)?(Nn()(fr,function(ao){cr()(ao)?jr.push("__LunaConsoleValue"):Hr()(ao)&&(jr=jr.concat(so()(ao)))}),(jr=So()(jr)).sort(),Nr&&(jr=jr.filter(function(ao){return xn()(Nr,ao)})),jr.length>20&&(jr=jr.slice(0,20)),Rn()(jr)?this.formatCommon(hr):(this.columns=jr,this.console.c('
')+this.formatPreview(fr))):this.formatCommon(hr)}},{key:"formatErr",value:function(hr){var fr=hr.stack?hr.stack.split(` +`):[],Nr="".concat(hr.message||fr[0],"
");return fr=fr.map(function(jr){return wn()(jr)}),Nr+'
').concat(fr.slice(1).join("
"),"
").replace(ii,function(jr){return'').concat(jr,"")})}},{key:"formatCommon",value:function(hr){var fr=this.console.c,Nr=Gr()(hr[0])&&hr.length!==1;Nr&&(hr=this.substituteStr(hr));for(var jr=0,ao=hr.length;jr').concat(wn()(Cn()(eo)),""):Hr()(eo)?hr[jr]=this.formatPreview(eo):_o()(eo)?hr[jr]='undefined'):uo()(eo)?hr[jr]='null'):qn()(eo)?hr[jr]='').concat(Cn()(eo),""):typeof eo=="bigint"?hr[jr]='').concat(Cn()(eo),"n"):ma()(eo)?hr[jr]='').concat(Cn()(eo),""):Va()(eo)?hr[jr]='').concat(wn()(Cn()(eo)),""):(eo=Cn()(eo),jr===0&&Nr||(eo=wn()(eo)),eo.length>5e3&&(eo=Vn()(eo,5e3,{separator:" ",ellipsis:"…"})),hr[jr]=eo)}return hr.join(" ")}},{key:"formatDir",value:function(hr){return Hr()(hr[0])?this.formatPreview(hr[0]):this.formatCommon(hr)}},{key:"formatTableVal",value:function(hr){var fr=this.console.c;return Hr()(hr)?"{…}":cr()(hr)?ea()('
').concat(ir(hr),"
")):Cn()(hr)}},{key:"formatPreview",value:function(hr){var fr=this,Nr=this.console.c,jr=na()();this.lazyEvaluation?this.objects[jr]=hr:this.extractObj(hr,{},function(lo){fr.objects[jr]=lo});var ao=xn()(["dir","table"],this.type),eo=Hn(hr);return eo==="Array"&&hr.length>1?(eo="(".concat(hr.length,")"),ao&&(eo="Array".concat(eo))):eo==="RegExp"?eo=Cn()(hr):Lr()(hr)&&(eo=this.formatElName(hr)),'
')+'
')+'
')+'')+'').concat(wn()(eo)," ")+'').concat(ao?"":ir(hr,{getterVal:this.accessGetter,unenumerable:!1}),"")+"
"+'
')}},{key:"substituteStr",value:function(hr){var fr=wn()(hr[0]),Nr=!1,jr="";hr.shift();for(var ao=0,eo=fr.length;ao"),Nr=!0,jr+='');break;default:ao--,hr.unshift(fo),jr+=lo}}else jr+=lo}return Nr&&(jr+=""),hr.unshift(jr),hr}},{key:"formatJs",value:function(hr){return'
').concat(this.console.c(oa()(hr,"js",za)),"
")}},{key:"formatFn",value:function(hr){return'
'.concat(this.formatJs(hr.toString()),"
")}},{key:"formatElName",value:function(hr){var fr=hr.id,Nr=hr.className,jr=hr.tagName.toLowerCase();if(fr!==""&&(jr+="#".concat(fr)),Gr()(Nr)){var ao="";Nn()(Nr.split(/\s+/g),function(eo){eo.trim()!==""&&(ao+=".".concat(eo))}),jr+=ao}return jr}},{key:"formatEl",value:function(hr){var fr=na()();return this.elements[fr]=hr,this.console.c('
'))}}]),mo}(qr());function Aa(go){var No=(go=Or()(go)).split(";"),mo={};Nn()(No,function(fr){if(xn()(fr,":")){var Nr=qe(fr.split(":"),2),jr=Nr[0],ao=Nr[1];mo[Gn()(jr)]=Gn()(ao)}}),mo.display="inline-block",mo["max-width"]="100%",delete mo.width,delete mo.height;var hr="";return Nn()(mo,function(fr,Nr){hr+="".concat(Nr,":").concat(fr,";")}),hr}var li=Ie(1194),Ua=Ie.n(li),ci=Ie(8847),Ca=Ie.n(ci),di=Ie(6329),Wa=Ie.n(di),fi=Ie(9001),Pa=Ie.n(fi),pi=Ie(9702),hi=Ie.n(pi),mi=Ie(2439),sa=Ie.n(mi),gi=Ie(8933),Bo=Ie.n(gi),vi=Ie(4407),ya=Ie.n(vi),yi=Ie(5852),bi=Ie.n(yi);function _i(go){var No=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}var xa,wi=function(go){(0,jt.Z)(mo,go);var No=_i(mo);function mo(hr,fr){var Nr,jr,ao=fr.compName,eo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,lo=eo===void 0?"light":eo;return(0,At.Z)(this,mo),(Nr=No.call(this)).subComponents=[],Nr.compName=ao,Nr.c=Zn(ao),Nr.options={},Nr.container=hr,Nr.$container=xo()(hr),Nr.$container.addClass(["luna-".concat(ao),Nr.c("platform-".concat((jr=or()(),jr==="os x"?"mac":jr)))]),Nr.on("optionChange",function(fo,bo,Io){var Lo=Nr.c;fo==="theme"&&(Nr.$container.rmClass(Lo("theme-".concat(Io))).addClass(Lo("theme-".concat(bo))),Nn()(Nr.subComponents,function(Ho){return Ho.setOption("theme",bo)}))}),Nr.setOption("theme",lo),Nr}return(0,Dt.Z)(mo,[{key:"destroy",value:function(){var hr=this;this.destroySubComponents();var fr=this.$container,Nr=fr.attr("class");Nn()(Nr.split(/\s+/),function(jr){Tn()(jr,"luna-".concat(hr.compName))&&fr.rmClass(jr)}),fr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(hr,fr){var Nr=this,jr=this.options,ao={};typeof hr=="string"?ao[hr]=fr:ao=hr,Nn()(ao,function(eo,lo){var fo=jr[lo];jr[lo]=eo,Nr.emit("optionChange",lo,eo,fo)})}},{key:"getOption",value:function(hr){return this.options[hr]}},{key:"addSubComponent",value:function(hr){hr.setOption("theme",this.options.theme),this.subComponents.push(hr)}},{key:"removeSubComponent",value:function(hr){bi()(this.subComponents,function(fr){return fr===hr})}},{key:"destroySubComponents",value:function(){Nn()(this.subComponents,function(hr){return hr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(hr){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dr()(hr,fr),Wa()(this.options,hr)}},{key:"find",value:function(hr){return this.$container.find(this.c(hr))}}]),mo}(qr()),ki=Ie(1571),Ka=Ie.n(ki);function Si(go){var No=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var mo,hr=(0,vn.Z)(go);if(No){var fr=(0,vn.Z)(this).constructor;mo=Reflect.construct(hr,arguments,fr)}else mo=hr.apply(this,arguments);return(0,hn.Z)(this,mo)}}xe=Ie.hmd(xe);var Ya=navigator.userAgent,Ci=Ya.indexOf("Android")>-1||Ya.indexOf("Adr")>-1,xi=0,qa=function(go){(0,jt.Z)(mo,go);var No=Si(mo);function mo(hr){var fr,Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,At.Z)(this,mo),(fr=No.call(this,hr,{compName:"console"},Nr)).spaceHeight=0,fr.topSpaceHeight=0,fr.bottomSpaceHeight=0,fr.lastScrollTop=0,fr.lastTimestamp=0,fr.speedToleranceFactor=100,fr.maxSpeedTolerance=2e3,fr.minSpeedTolerance=100,fr.logs=[],fr.displayLogs=[],fr.timer={},fr.counter={},fr.asyncList=[],fr.asyncTimer=null,fr.isAtBottom=!0,fr.groupStack=new(Pa()),fr.selectedLog=null,fr.onScroll=function(){var jr=fr.container,ao=jr.scrollHeight,eo=jr.offsetHeight,lo=jr.scrollTop;if(!(lo<=0||eo+lo>ao)){var fo=!1;(ao===eo||lo===ao-eo)&&(fo=!0),fr.isAtBottom=fo;var bo=fr.lastScrollTop,Io=fr.lastTimestamp,Lo=Ca()(),Ho=Lo-Io,Jo=lo-bo,Mo=Math.abs(Jo/Ho)*fr.speedToleranceFactor;Ho>1e3&&(Mo=1e3),Mo>fr.maxSpeedTolerance&&(Mo=fr.maxSpeedTolerance),Molo+eo+ra||fr.renderViewport({topTolerance:2*Go,bottomTolerance:2*ra})}},fr.initTpl(),fr.initOptions(Nr,{maxNum:0,asyncRender:!0,showHeader:!1,filter:"",level:["verbose","info","warning","error"],accessGetter:!1,unenumerable:!0,lazyEvaluation:!0}),fr.$el=fr.find(".logs"),fr.el=fr.$el.get(0),fr.$fakeEl=fr.find(".fake-logs"),fr.fakeEl=fr.$fakeEl.get(0),fr.$space=fr.find(".logs-space"),fr.space=fr.$space.get(0),Ci&&(fr.speedToleranceFactor=800,fr.maxSpeedTolerance=3e3,fr.minSpeedTolerance=800),fr.resizeSensor=new(xr())(hr),fr.renderViewport=sa()(function(jr){fr._renderViewport(jr)},16),fr.global={copy:function(jr){Gr()(jr)||(jr=JSON.stringify(jr,null,2)),co()(jr)},$:function(jr){return document.querySelector(jr)},$$:function(jr){return Ro()(document.querySelectorAll(jr))},$x:function(jr){return Bo()(jr)},clear:function(){fr.clear()},dir:function(jr){fr.dir(jr)},table:function(jr,ao){fr.table(jr,ao)},keys:so()},fr.bindEvent(),fr}return(0,Dt.Z)(mo,[{key:"setGlobal",value:function(hr,fr){this.global[hr]=fr}},{key:"destroy",value:function(){this.$container.off("scroll",this.onScroll),this.resizeSensor.destroy(),(0,Lt.Z)((0,vn.Z)(mo.prototype),"destroy",this).call(this)}},{key:"count",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.counter;_o()(fr[hr])?fr[hr]=1:fr[hr]++,this.info("".concat(hr,": ").concat(fr[hr]))}},{key:"countReset",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.counter[hr]=0}},{key:"assert",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr0&&arguments[0]!==void 0?arguments[0]:"default";if(this.timer[hr])return this.insert("warn",["Timer '".concat(hr,"' already exists")]);this.timer[hr]=Ua()()}},{key:"timeLog",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default",fr=this.timer[hr];if(!fr)return this.insert("warn",["Timer '".concat(hr,"' does not exist")]);this.info("".concat(hr,": ").concat(Ua()()-fr,"ms"))}},{key:"timeEnd",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"default";this.timeLog(hr),delete this.timer[hr]}},{key:"clear",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.logs=[],this.displayLogs=[],this.selectLog(null),this.lastLog=void 0,this.counter={},this.timer={},this.groupStack=new(Pa()),this.asyncList=[],this.asyncTimer&&(clearTimeout(this.asyncTimer),this.asyncTimer=null),hr?this.render():this.insert("log",["%cConsole was cleared","color:#808080;font-style:italic;"])}},{key:"info",value:function(){for(var hr=arguments.length,fr=new Array(hr),Nr=0;Nr0&&(jr.group=lo.peek()),Wa()(jr,{id:++xi,accessGetter:Io,unenumerable:Lo,lazyEvaluation:Ho}),jr.type==="group"||jr.type==="groupCollapsed"){var Jo={id:na()("group"),collapsed:!1,parent:lo.peek(),indentLevel:lo.size+1};jr.type==="groupCollapsed"&&(Jo.collapsed=!0),jr.targetGroup=Jo,lo.push(Jo)}var Mo=new si(this,jr);Mo.on("updateHeight",function(){ao.isAtBottom=!1,ao.renderViewport()});var Go=this.lastLog;if(Go&&!xn()(["html","group","groupCollapsed"],Mo.type)&&Go.type===Mo.type&&Mo.isSimple()&&Go.text()===Mo.text()?(Go.addCount(),Mo.header&&Go.updateTime(Mo.header.time),Mo=Go,this.detachLog(Go)):(eo.push(Mo),this.lastLog=Mo),bo!==0&&eo.length>bo){var ra=eo[0];this.detachLog(ra),eo.shift()}this.attachLog(Mo),this.emit("insert",Mo)}},{key:"updateTopSpace",value:function(hr){this.topSpaceHeight=hr,this.el.style.top=hr+"px"}},{key:"updateBottomSpace",value:function(hr){this.bottomSpaceHeight=hr}},{key:"updateSpace",value:function(hr){this.spaceHeight!==hr&&(this.spaceHeight=hr,this.space.style.height=hr+"px")}},{key:"detachLog",value:function(hr){var fr=this.displayLogs,Nr=fr.indexOf(hr);Nr>-1&&(fr.splice(Nr,1),this.renderViewport())}},{key:"attachLog",value:function(hr){if(this.filterLog(hr)&&!hr.collapsed){var fr=this.displayLogs;if(fr.length===0)return fr.push(hr),void this.renderViewport();var Nr=hi()(fr);if(hr.id>Nr.id)return fr.push(hr),void this.renderViewport();for(var jr,ao=0,eo=fr.length-1,lo=0;ao<=eo;){if((jr=fr[lo=ao+Math.floor((eo-ao)/2)]).id===hr.id)return;jr.id0&&arguments[0]!==void 0?arguments[0]:20,Nr=this.asyncList;this.asyncTimer||(this.asyncTimer=setTimeout(function(){hr.asyncTimer=null;var jr,ao,eo=!1,lo=Nr.length;lo<1e3?(ao=200,jr=400):lo<5e3?(ao=500,jr=800):lo<1e4?(ao=800,jr=1e3):lo<25e3?(ao=1e3,jr=1200):lo<5e4?(ao=1500,jr=1500):(ao=2e3,jr=2500),ao>lo&&(ao=lo,eo=!0);for(var fo=0;fo0&&lo.length>eo&&(hr.logs=lo.slice(lo.length-eo),hr.render());break;case"filter":hr.render();break;case"level":hr.options.level=Ro()(eo),hr.render()}}),this.$container.on("scroll",this.onScroll)}},{key:"_renderViewport",value:function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},fr=hr.topTolerance,Nr=fr===void 0?500:fr,jr=hr.bottomTolerance,ao=jr===void 0?500:jr,eo=this.el,lo=this.container,fo=this.space;if(!Kn()(lo)){for(var bo=lo.scrollTop,Io=lo.offsetHeight,Lo=fo.getBoundingClientRect().width,Ho=bo-Nr,Jo=bo+Io+ao,Mo=this.displayLogs,Go=0,ra=0,ta=0,Ea=Mo.length,Na=this.fakeEl,Ma=document.createDocumentFragment(),ga=[],la=0;la0){Na.appendChild(Ma);for(var ba=0,Ia=ga.length;baJo?ra+=wa:ta+wa>Ho?Oa.appendChild(Ha):ta
`])))))}}]),mo}(wi),Ei=function(){return ya()("HH:MM:ss ")};function Fa(){for(var go=new Error,No="",mo=go.stack?go.stack.split(` -`):"",hr=0,fr=mo.length;hr-1&&hr]*>/g.test(Zr))try{var Mr=Nn().parse(Zr);return Dn(Mr,function(Or){Or.attrs&&Or.attrs.class&&(Or.attrs.class=yo(Or.attrs.class))}),Nn().stringify(Mr)}catch{return yo(Zr)}return yo(Zr)}}function Dn(To,So){for(var yo=0,Zr=To.length;yo"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}var lr,ir=function(To){(0,Lt.Z)(yo,To);var So=nr(yo);function yo(Zr,Mr){var Or,yr,so=Mr.compName,$o=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,xo=$o===void 0?"light":$o;return(0,Ue.Z)(this,yo),(Or=So.call(this)).subComponents=[],Or.compName=so,Or.c=Ln(so),Or.options={},Or.container=Zr,Or.$container=bn()(Zr),Or.$container.addClass(["luna-".concat(so),Or.c("platform-".concat((yr=Vn()(),yr==="os x"?"mac":yr)))]),Or.on("optionChange",function(ho,po,ro){var Yr=Or.c;ho==="theme"&&(Or.$container.rmClass(Yr("theme-".concat(ro))).addClass(Yr("theme-".concat(po))),Jn()(Or.subComponents,function(Qr){return Qr.setOption("theme",po)}))}),Or.setOption("theme",xo),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){var Zr=this;this.destroySubComponents();var Mr=this.$container,Or=Mr.attr("class");Jn()(Or.split(/\s+/),function(yr){Zn()(yr,"luna-".concat(Zr.compName))&&Mr.rmClass(yr)}),Mr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Zr,Mr){var Or=this,yr=this.options,so={};typeof Zr=="string"?so[Zr]=Mr:so=Zr,Jn()(so,function($o,xo){var ho=yr[xo];yr[xo]=$o,Or.emit("optionChange",xo,$o,ho)})}},{key:"getOption",value:function(Zr){return this.options[Zr]}},{key:"addSubComponent",value:function(Zr){Zr.setOption("theme",this.options.theme),this.subComponents.push(Zr)}},{key:"removeSubComponent",value:function(Zr){sr()(this.subComponents,function(Mr){return Mr===Zr})}},{key:"destroySubComponents",value:function(){Jn()(this.subComponents,function(Zr){return Zr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Zr){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};tr()(Zr,Mr),qn()(this.options,Zr)}},{key:"find",value:function(Zr){return this.$container.find(this.c(Zr))}}]),yo}(Cn()),kr=Ie(8901),Cr=Ie.n(kr),Er=Ie(8613),dr=Ie.n(Er),br=Ie(3367),_r=Ie.n(br),Pr=Ie(9833),gr=Ie.n(Pr),xr=Ie(1286),Rr=Ie.n(xr),Hr=Ie(242),Jr=Ie.n(Hr),Gr=Ie(2439),$r=Ie.n(Gr),Br=Ie(6156),Tr=Ie.n(Br),cr=Ie(4777),Sr=Ie.n(cr),Dr=Ie(1754),mr=Ie.n(Dr),Lr=Ie(6768),zr=Ie.n(Lr),Vr=Ie(3063),Kr=Ie.n(Vr),qr=Ie(9882),Ur=Ie.n(qr),uo=Ie(9853),vo=Ie.n(uo),_o=Ie(6435),Ao=Ie.n(_o);function ko(To){var So=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}xe=Ie.hmd(xe);var Do=bn()(document),Ro=function(To){(0,Lt.Z)(yo,To);var So=ko(yo);function yo(Zr,Mr){var Or;(0,Ue.Z)(this,yo),(Or=So.call(this,Zr,{compName:"data-grid"},Mr)).resizeIdx=0,Or.resizeStartX=0,Or.resizeStartLeft=0,Or.resizeDeltaX=0,Or.nodes=[],Or.colWidthsInitialized=!1,Or.colMap={},Or.selectedNode=null,Or.isAscending=!0,Or.colWidths=[],Or.onResizeColMove=function(ho){var po=(0,At.Z)(Or),ro=po.resizeIdx,Yr=po.$resizers,Qr=po.colWidths,Ir=po.$colgroup,Xr=Xn("x",ho=ho.origEvent)-Or.resizeStartX,to=Qr[ro],oo=Qr[ro+1],co=Ao()(24-to,0),wo=vo()(oo-24,0);Xr=Ur()(Xr,co,wo),Ir.each(function(){var Po=bn()(this).find("col");Po.eq(ro).css("width",to+Xr+"px"),Po.eq(ro+1).css("width",oo-Xr+"px")}),Or.resizeDeltaX=Xr;var Co=Or.resizeStartLeft+Xr;Yr.eq(ro).css("left","".concat(Co,"px"))},Or.onResizeColEnd=function(ho){Or.onResizeColMove(ho);var po=(0,At.Z)(Or),ro=po.c,Yr=po.colWidths,Qr=po.resizeIdx,Ir=po.resizeDeltaX,Xr=Or.options.columns,to=Xr[Qr],oo=Xr[Qr+1],co=Yr[Qr]+Ir,wo=co+(Yr[Qr+1]-Ir),Co=to.weight+oo.weight,Po=Co*(co/wo),Vo=Co-Po;to.weight=Po,oo.weight=Vo,Or.applyColWeights(),bn()(document.body).rmClass(ro("resizing")),Do.off(Wn("move"),Or.onResizeColMove),Do.off(Wn("end"),Or.onResizeColEnd)},Or.$container.attr("tabindex","0"),Or.resizeSensor=new(Jr())(Zr),Or.onResize=$r()(function(){Or.updateHeight(),Or.updateWeights()},16),Mr.height&&(Mr.maxHeight=Mr.height,Mr.minHeight=Mr.height),Or.initOptions(Mr,{minHeight:41,maxHeight:1/0,filter:""});var yr=Or.options,so=yr.columns,$o=yr.minHeight,xo=yr.maxHeight;return Jn()(so,function(ho){tr()(ho,{sortable:!1}),Or.colMap[ho.id]=ho}),xo<$o&&Or.setOption("maxHeight",$o),Or.initTpl(),Or.$headerRow=Or.find(".header").find("tr"),Or.$fillerRow=Or.find(".filler-row"),Or.fillerRow=Or.$fillerRow.get(0),Or.$tableBody=Or.find(".data").find("tbody"),Or.tableBody=Or.$tableBody.get(0),Or.$colgroup=Or.$container.find("colgroup"),Or.$dataContainer=Or.find(".data-container"),Or.renderHeader(),Or.renderResizers(),Or.updateWeights(),Or.updateHeight(),Or.bindEvent(),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(yo.prototype),"destroy",this).call(this),this.resizeSensor.destroy(),this.$container.rmAttr("tabindex")}},{key:"remove",value:function(Zr){var Mr=this.nodes,Or=Mr.indexOf(Zr);Or>-1&&(Zr.detach(),Mr.splice(Or,1),Zr===this.selectedNode&&this.selectNode(Mr[Or]||Mr[Or-1]||null),this.updateHeight())}},{key:"append",value:function(Zr,Mr){var Or=new Ko(this,Zr,Mr);return this.nodes.push(Or),this.sortId?this.sortNodes(this.sortId,this.isAscending):this.filterNode(Or)&&(this.tableBody.insertBefore(Or.container,this.fillerRow),this.updateHeight()),Or}},{key:"clear",value:function(){Jn()(this.nodes,function(Zr){return Zr.detach()}),this.nodes=[],this.selectNode(null),this.updateHeight()}},{key:"updateHeight",value:function(){var Zr=this.$fillerRow,Mr=this.c,Or=this.$container,yr=this.options,so=yr.maxHeight,$o=yr.minHeight;this.$dataContainer.css({height:"auto"});var xo=this.$headerRow.offset().height+er(Or.css("border-top-width"))+er(Or.css("border-bottom-width"));($o-=xo)<0&&($o=0),so-=xo;var ho=this.$dataContainer.find(Mr(".node")),po=ho.length,ro=0;po>0&&(ro=ho.offset().height*po),ro>$o?Zr.hide():Zr.show(),ro<$o?ro=$o:ro>=so&&(ro=so),this.$dataContainer.css({height:ro})}},{key:"selectNode",value:function(Zr){var Mr;(Tr()(Zr)||Zr!=null&&Zr.selectable)&&(this.selectedNode&&(this.selectedNode.deselect(),this.selectedNode=null),Tr()(Zr)?this.emit("deselect"):(this.selectedNode=Zr,(Mr=this.selectedNode)===null||Mr===void 0||Mr.select(),this.emit("select",Zr)))}},{key:"onResizeColStart",value:function(Zr){var Mr=this.c,Or=this.resizeIdx,yr=this.$resizers;Zr.stopPropagation(),Zr.preventDefault(),Zr=Zr.origEvent,this.resizeStartX=Xn("x",Zr),this.resizeStartLeft=er(yr.eq(Or).css("left")),bn()(document.body).addClass(Mr("resizing")),Do.on(Wn("move"),this.onResizeColMove),Do.on(Wn("end"),this.onResizeColEnd)}},{key:"bindEvent",value:function(){var Zr=this,Mr=this.c,Or=this.$headerRow,yr=this.$tableBody,so=this.$resizers;this.resizeSensor.addListener(this.onResize);var $o=this;yr.on("click",Mr(".node"),function(){$o.selectNode(this.dataGridNode)}),Or.on("click",Mr(".sortable"),function(xo){xo.stopPropagation();var ho=bn()(this),po=ho.data("id"),ro=ho.data("order")!=="descending";ho.data("order",ro?"descending":"ascending"),$o.sortNodes(po,ro),Or.find("th").each(function(){var Yr=bn()(this);Yr.data("id")!==po&&Yr.rmAttr("data-order")})}),so.on(Wn("start"),function(xo){var ho=bn()(this);$o.resizeIdx=Rn()(ho.data("idx")),$o.onResizeColStart(xo)}),this.on("optionChange",function(xo){switch(xo){case"minHeight":case"maxHeight":Zr.updateHeight();break;case"filter":Zr.renderData()}})}},{key:"sortNodes",value:function(Zr,Mr){var Or=this.colMap[Zr].comparator||qo;this.nodes.sort(function(yr,so){var $o=yr.data[Zr],xo=so.data[Zr];return gr()($o)&&($o=$o.innerText),gr()(xo)&&(xo=xo.innerText),Mr?Or($o,xo):Or(xo,$o)}),this.renderData(),this.sortId=Zr,this.isAscending=Mr}},{key:"updateWeights",value:function(){var Zr=this.container,Mr=this.$headerRow,Or=this.options.columns,yr=Zr.offsetWidth;if(!this.colWidthsInitialized&&yr){for(var so=0,$o=Or.length;so<$o;so++){var xo=Or[so];if(!xo.weight){var ho=Mr.find("th").get(so).offsetWidth;xo.weight=100*ho/yr}}this.colWidthsInitialized=!0}this.applyColWeights()}},{key:"applyColWeights",value:function(){var Zr=this.container,Mr=this.$colgroup,Or=this.options.columns,yr=Zr.offsetWidth;if(!(yr<=0)){for(var so=0,$o=Or.length,xo=0;xo<$o;xo++)so+=Or[xo].weight;var ho="",po=0,ro=0;this.colWidths=[];for(var Yr=0;Yr<$o;Yr++){var Qr=(po+=Or[Yr].weight)*yr/so|0,Ir=Math.max(Qr-ro,14);ro=Qr,ho+=''),this.colWidths[Yr]=Ir}Mr.html(ho),this.positionResizers()}}},{key:"positionResizers",value:function(){for(var Zr=this.colWidths,Mr=[],Or=Zr.length-1,yr=0;yr').concat(so,"")):Mr+="".concat(so,""),Or+=""}),this.$headerRow.html(Mr),this.$fillerRow.html(Or)}},{key:"renderResizers",value:function(){for(var Zr="",Mr=this.options.columns.length-1,Or=0;Or'));this.$container.append(Zr),this.$resizers=this.find(".resizer")}},{key:"initTpl",value:function(){this.$container.html(this.c(wn()(lr||(lr=(0,Fe.Z)([` +`):"",hr=0,fr=mo.length;hr-1&&hr]*>/g.test(Zr))try{var Mr=Nn().parse(Zr);return Dn(Mr,function(Or){Or.attrs&&Or.attrs.class&&(Or.attrs.class=yo(Or.attrs.class))}),Nn().stringify(Mr)}catch{return yo(Zr)}return yo(Zr)}}function Dn(To,So){for(var yo=0,Zr=To.length;yo"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}var lr,ir=function(To){(0,Lt.Z)(yo,To);var So=nr(yo);function yo(Zr,Mr){var Or,yr,so=Mr.compName,$o=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,xo=$o===void 0?"light":$o;return(0,Ue.Z)(this,yo),(Or=So.call(this)).subComponents=[],Or.compName=so,Or.c=Ln(so),Or.options={},Or.container=Zr,Or.$container=bn()(Zr),Or.$container.addClass(["luna-".concat(so),Or.c("platform-".concat((yr=Vn()(),yr==="os x"?"mac":yr)))]),Or.on("optionChange",function(ho,po,ro){var qr=Or.c;ho==="theme"&&(Or.$container.rmClass(qr("theme-".concat(ro))).addClass(qr("theme-".concat(po))),Jn()(Or.subComponents,function(Qr){return Qr.setOption("theme",po)}))}),Or.setOption("theme",xo),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){var Zr=this;this.destroySubComponents();var Mr=this.$container,Or=Mr.attr("class");Jn()(Or.split(/\s+/),function(yr){Zn()(yr,"luna-".concat(Zr.compName))&&Mr.rmClass(yr)}),Mr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Zr,Mr){var Or=this,yr=this.options,so={};typeof Zr=="string"?so[Zr]=Mr:so=Zr,Jn()(so,function($o,xo){var ho=yr[xo];yr[xo]=$o,Or.emit("optionChange",xo,$o,ho)})}},{key:"getOption",value:function(Zr){return this.options[Zr]}},{key:"addSubComponent",value:function(Zr){Zr.setOption("theme",this.options.theme),this.subComponents.push(Zr)}},{key:"removeSubComponent",value:function(Zr){sr()(this.subComponents,function(Mr){return Mr===Zr})}},{key:"destroySubComponents",value:function(){Jn()(this.subComponents,function(Zr){return Zr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Zr){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};tr()(Zr,Mr),Yn()(this.options,Zr)}},{key:"find",value:function(Zr){return this.$container.find(this.c(Zr))}}]),yo}(Cn()),kr=Ie(8901),Cr=Ie.n(kr),Er=Ie(8613),dr=Ie.n(Er),br=Ie(3367),_r=Ie.n(br),Pr=Ie(9833),gr=Ie.n(Pr),xr=Ie(1286),Rr=Ie.n(xr),Hr=Ie(242),Jr=Ie.n(Hr),Gr=Ie(2439),$r=Ie.n(Gr),Br=Ie(6156),Tr=Ie.n(Br),cr=Ie(4777),Sr=Ie.n(cr),Dr=Ie(1754),mr=Ie.n(Dr),Lr=Ie(6768),zr=Ie.n(Lr),Vr=Ie(3063),Kr=Ie.n(Vr),Yr=Ie(9882),Ur=Ie.n(Yr),uo=Ie(9853),vo=Ie.n(uo),_o=Ie(6435),Ao=Ie.n(_o);function ko(To){var So=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var yo,Zr=(0,hn.Z)(To);if(So){var Mr=(0,hn.Z)(this).constructor;yo=Reflect.construct(Zr,arguments,Mr)}else yo=Zr.apply(this,arguments);return(0,jt.Z)(this,yo)}}xe=Ie.hmd(xe);var Do=bn()(document),Ro=function(To){(0,Lt.Z)(yo,To);var So=ko(yo);function yo(Zr,Mr){var Or;(0,Ue.Z)(this,yo),(Or=So.call(this,Zr,{compName:"data-grid"},Mr)).resizeIdx=0,Or.resizeStartX=0,Or.resizeStartLeft=0,Or.resizeDeltaX=0,Or.nodes=[],Or.colWidthsInitialized=!1,Or.colMap={},Or.selectedNode=null,Or.isAscending=!0,Or.colWidths=[],Or.onResizeColMove=function(ho){var po=(0,At.Z)(Or),ro=po.resizeIdx,qr=po.$resizers,Qr=po.colWidths,Ir=po.$colgroup,Xr=Xn("x",ho=ho.origEvent)-Or.resizeStartX,to=Qr[ro],oo=Qr[ro+1],co=Ao()(24-to,0),wo=vo()(oo-24,0);Xr=Ur()(Xr,co,wo),Ir.each(function(){var Po=bn()(this).find("col");Po.eq(ro).css("width",to+Xr+"px"),Po.eq(ro+1).css("width",oo-Xr+"px")}),Or.resizeDeltaX=Xr;var Co=Or.resizeStartLeft+Xr;qr.eq(ro).css("left","".concat(Co,"px"))},Or.onResizeColEnd=function(ho){Or.onResizeColMove(ho);var po=(0,At.Z)(Or),ro=po.c,qr=po.colWidths,Qr=po.resizeIdx,Ir=po.resizeDeltaX,Xr=Or.options.columns,to=Xr[Qr],oo=Xr[Qr+1],co=qr[Qr]+Ir,wo=co+(qr[Qr+1]-Ir),Co=to.weight+oo.weight,Po=Co*(co/wo),Vo=Co-Po;to.weight=Po,oo.weight=Vo,Or.applyColWeights(),bn()(document.body).rmClass(ro("resizing")),Do.off(Wn("move"),Or.onResizeColMove),Do.off(Wn("end"),Or.onResizeColEnd)},Or.$container.attr("tabindex","0"),Or.resizeSensor=new(Jr())(Zr),Or.onResize=$r()(function(){Or.updateHeight(),Or.updateWeights()},16),Mr.height&&(Mr.maxHeight=Mr.height,Mr.minHeight=Mr.height),Or.initOptions(Mr,{minHeight:41,maxHeight:1/0,filter:""});var yr=Or.options,so=yr.columns,$o=yr.minHeight,xo=yr.maxHeight;return Jn()(so,function(ho){tr()(ho,{sortable:!1}),Or.colMap[ho.id]=ho}),xo<$o&&Or.setOption("maxHeight",$o),Or.initTpl(),Or.$headerRow=Or.find(".header").find("tr"),Or.$fillerRow=Or.find(".filler-row"),Or.fillerRow=Or.$fillerRow.get(0),Or.$tableBody=Or.find(".data").find("tbody"),Or.tableBody=Or.$tableBody.get(0),Or.$colgroup=Or.$container.find("colgroup"),Or.$dataContainer=Or.find(".data-container"),Or.renderHeader(),Or.renderResizers(),Or.updateWeights(),Or.updateHeight(),Or.bindEvent(),Or}return(0,qe.Z)(yo,[{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(yo.prototype),"destroy",this).call(this),this.resizeSensor.destroy(),this.$container.rmAttr("tabindex")}},{key:"remove",value:function(Zr){var Mr=this.nodes,Or=Mr.indexOf(Zr);Or>-1&&(Zr.detach(),Mr.splice(Or,1),Zr===this.selectedNode&&this.selectNode(Mr[Or]||Mr[Or-1]||null),this.updateHeight())}},{key:"append",value:function(Zr,Mr){var Or=new Ko(this,Zr,Mr);return this.nodes.push(Or),this.sortId?this.sortNodes(this.sortId,this.isAscending):this.filterNode(Or)&&(this.tableBody.insertBefore(Or.container,this.fillerRow),this.updateHeight()),Or}},{key:"clear",value:function(){Jn()(this.nodes,function(Zr){return Zr.detach()}),this.nodes=[],this.selectNode(null),this.updateHeight()}},{key:"updateHeight",value:function(){var Zr=this.$fillerRow,Mr=this.c,Or=this.$container,yr=this.options,so=yr.maxHeight,$o=yr.minHeight;this.$dataContainer.css({height:"auto"});var xo=this.$headerRow.offset().height+er(Or.css("border-top-width"))+er(Or.css("border-bottom-width"));($o-=xo)<0&&($o=0),so-=xo;var ho=this.$dataContainer.find(Mr(".node")),po=ho.length,ro=0;po>0&&(ro=ho.offset().height*po),ro>$o?Zr.hide():Zr.show(),ro<$o?ro=$o:ro>=so&&(ro=so),this.$dataContainer.css({height:ro})}},{key:"selectNode",value:function(Zr){var Mr;(Tr()(Zr)||Zr!=null&&Zr.selectable)&&(this.selectedNode&&(this.selectedNode.deselect(),this.selectedNode=null),Tr()(Zr)?this.emit("deselect"):(this.selectedNode=Zr,(Mr=this.selectedNode)===null||Mr===void 0||Mr.select(),this.emit("select",Zr)))}},{key:"onResizeColStart",value:function(Zr){var Mr=this.c,Or=this.resizeIdx,yr=this.$resizers;Zr.stopPropagation(),Zr.preventDefault(),Zr=Zr.origEvent,this.resizeStartX=Xn("x",Zr),this.resizeStartLeft=er(yr.eq(Or).css("left")),bn()(document.body).addClass(Mr("resizing")),Do.on(Wn("move"),this.onResizeColMove),Do.on(Wn("end"),this.onResizeColEnd)}},{key:"bindEvent",value:function(){var Zr=this,Mr=this.c,Or=this.$headerRow,yr=this.$tableBody,so=this.$resizers;this.resizeSensor.addListener(this.onResize);var $o=this;yr.on("click",Mr(".node"),function(){$o.selectNode(this.dataGridNode)}),Or.on("click",Mr(".sortable"),function(xo){xo.stopPropagation();var ho=bn()(this),po=ho.data("id"),ro=ho.data("order")!=="descending";ho.data("order",ro?"descending":"ascending"),$o.sortNodes(po,ro),Or.find("th").each(function(){var qr=bn()(this);qr.data("id")!==po&&qr.rmAttr("data-order")})}),so.on(Wn("start"),function(xo){var ho=bn()(this);$o.resizeIdx=Rn()(ho.data("idx")),$o.onResizeColStart(xo)}),this.on("optionChange",function(xo){switch(xo){case"minHeight":case"maxHeight":Zr.updateHeight();break;case"filter":Zr.renderData()}})}},{key:"sortNodes",value:function(Zr,Mr){var Or=this.colMap[Zr].comparator||Yo;this.nodes.sort(function(yr,so){var $o=yr.data[Zr],xo=so.data[Zr];return gr()($o)&&($o=$o.innerText),gr()(xo)&&(xo=xo.innerText),Mr?Or($o,xo):Or(xo,$o)}),this.renderData(),this.sortId=Zr,this.isAscending=Mr}},{key:"updateWeights",value:function(){var Zr=this.container,Mr=this.$headerRow,Or=this.options.columns,yr=Zr.offsetWidth;if(!this.colWidthsInitialized&&yr){for(var so=0,$o=Or.length;so<$o;so++){var xo=Or[so];if(!xo.weight){var ho=Mr.find("th").get(so).offsetWidth;xo.weight=100*ho/yr}}this.colWidthsInitialized=!0}this.applyColWeights()}},{key:"applyColWeights",value:function(){var Zr=this.container,Mr=this.$colgroup,Or=this.options.columns,yr=Zr.offsetWidth;if(!(yr<=0)){for(var so=0,$o=Or.length,xo=0;xo<$o;xo++)so+=Or[xo].weight;var ho="",po=0,ro=0;this.colWidths=[];for(var qr=0;qr<$o;qr++){var Qr=(po+=Or[qr].weight)*yr/so|0,Ir=Math.max(Qr-ro,14);ro=Qr,ho+=''),this.colWidths[qr]=Ir}Mr.html(ho),this.positionResizers()}}},{key:"positionResizers",value:function(){for(var Zr=this.colWidths,Mr=[],Or=Zr.length-1,yr=0;yr').concat(so,"")):Mr+="".concat(so,""),Or+=""}),this.$headerRow.html(Mr),this.$fillerRow.html(Or)}},{key:"renderResizers",value:function(){for(var Zr="",Mr=this.options.columns.length-1,Or=0;Or'));this.$container.append(Zr),this.$resizers=this.find(".resizer")}},{key:"initTpl",value:function(){this.$container.html(this.c(wn()(lr||(lr=(0,Fe.Z)([`
@@ -87,52 +87,52 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
- `])))))}}]),yo}(ir),Ko=function(){function To(So,yo){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{selectable:!1};(0,Ue.Z)(this,To),this.container=dr()("tr"),this.selectable=!1,this.container.dataGridNode=this,this.$container=bn()(this.container),this.$container.addClass(So.c("node")),this.dataGrid=So,this.data=yo,Zr.selectable&&(this.selectable=Zr.selectable),this.render()}return(0,qe.Z)(To,[{key:"text",value:function(){return this.$container.text()}},{key:"detach",value:function(){this.$container.remove()}},{key:"select",value:function(){this.$container.addClass(this.dataGrid.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.dataGrid.c("selected"))}},{key:"render",value:function(){var So=this.data,yo=this.$container,Zr=this.container,Mr=this.dataGrid.getOption("columns");yo.html(""),Jn()(Mr,function(Or){var yr=dr()("td"),so=So[Or.id];Rr()(so)||(gr()(so)?yr.appendChild(so):yr.innerText=_r()(so)),Zr.appendChild(yr)})}}]),To}();function qo(To,So){if(To=_r()(To),So=_r()(So),Zn()(To,"_")&&!Zn()(So,"_"))return 1;if(Zn()(So,"_")&&!Zn()(To,"_"))return-1;for(var yo,Zr,Mr,Or,yr=/^\d+|^\D+/;;){if(!To)return So?-1:0;if(!So)return 1;if(yo=To.match(yr)[0],Zr=So.match(yr)[0],Mr=!isNaN(yo),Or=!isNaN(Zr),Mr&&!Or)return-1;if(Or&&!Mr)return 1;if(Mr&&Or){var so=yo-Zr;if(so)return so;if(yo.length!==Zr.length)return+yo||+Zr?Zr.length-yo.length:yo.length-Zr.length}else if(yo!==Zr)return yo]*>/g.test(cr))try{var Sr=$n().parse(cr);return Rn(Sr,function(Dr){Dr.attrs&&Dr.attrs.class&&(Dr.attrs.class=Tr(Dr.attrs.class))}),$n().stringify(Sr)}catch{return Tr(cr)}return Tr(cr)}}function Rn($r,Br){for(var Tr=0,cr=$r.length;Tr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}var er,rr=function($r){(0,Lt.Z)(Tr,$r);var Br=Xn(Tr);function Tr(cr,Sr){var Dr,mr=Sr.compName,Lr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,zr=Lr===void 0?"light":Lr;return(0,qe.Z)(this,Tr),(Dr=Br.call(this)).subComponents=[],Dr.compName=mr,Dr.c=On(mr),Dr.options={},Dr.container=cr,Dr.$container=wn()(cr),Dr.$container.addClass(["luna-".concat(mr),Dr.c("platform-".concat(Vn()))]),Dr.on("optionChange",function(Vr,Kr,qr){var Ur=Dr.c;Vr==="theme"&&(Dr.$container.rmClass(Ur("theme-".concat(qr))).addClass(Ur("theme-".concat(Kr))),Dn()(Dr.subComponents,function(uo){return uo.setOption("theme",Kr)}))}),Dr.setOption("theme",zr),Dr}return(0,At.Z)(Tr,[{key:"destroy",value:function(){this.destroySubComponents();var cr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(cr,Sr){var Dr=this,mr=this.options,Lr={};typeof cr=="string"?Lr[cr]=Sr:Lr=cr,Dn()(Lr,function(zr,Vr){var Kr=mr[Vr];mr[Vr]=zr,Dr.emit("optionChange",Vr,zr,Kr)})}},{key:"getOption",value:function(cr){return this.options[cr]}},{key:"addSubComponent",value:function(cr){cr.setOption("theme",this.options.theme),this.subComponents.push(cr)}},{key:"removeSubComponent",value:function(cr){Wn()(this.subComponents,function(Sr){return Sr===cr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(cr){return cr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(cr){var Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(cr,Sr),Fn()(this.options,cr)}},{key:"find",value:function(cr){return this.$container.find(this.c(cr))}}]),Tr}(bn()),Jn=Ie(8613),Yn=Ie.n(Jn),qn=Ie(5972),ar=Ie.n(qn),tr=Ie(1907),or=Ie.n(tr),sr=Ie(1352),Kn=Ie.n(sr),Zn=Ie(2289),nr=Ie.n(Zn),lr=Ie(3651),ir=Ie.n(lr),kr=Ie(7756),Cr=Ie.n(kr),Er=Ie(8901),dr=Ie.n(Er),br=Ie(1672),_r=Ie.n(br);function Pr($r,Br){var Tr=Object.keys($r);if(Object.getOwnPropertySymbols){var cr=Object.getOwnPropertySymbols($r);Br&&(cr=cr.filter(function(Sr){return Object.getOwnPropertyDescriptor($r,Sr).enumerable})),Tr.push.apply(Tr,cr)}return Tr}function gr($r){for(var Br=1;Br"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}xe=Ie.hmd(xe);var Rr={comment:"",string:"",number:"",keyword:"",operator:""},Hr=function($r){(0,Lt.Z)(Tr,$r);var Br=xr(Tr);function Tr(cr){var Sr,Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,qe.Z)(this,Tr),(Sr=Br.call(this,cr,{compName:"dom-viewer"},Dr)).isExpanded=!1,Sr.childNodes=[],Sr.childNodeDomViewers=[],Sr.toggle=function(){Sr.isExpanded?Sr.collapse():Sr.expand()},Sr.initOptions(Dr,{node:document.documentElement,parent:null,isEndTag:!1,rootContainer:cr,rootDomViewer:(0,Dt.Z)(Sr),ignore:function(){return!1}}),Sr.initTpl(),Sr.bindEvent(),Sr.options.isEndTag||Sr.initObserver(),Sr}return(0,At.Z)(Tr,[{key:"select",value:function(cr){var Sr=this.c,Dr=this.options;if(!cr||cr&&Dr.node===cr)return this.$tag.hasClass(Sr("selected"))?void 0:(wn()(this.options.rootContainer).find(Sr(".selected")).rmClass(Sr("selected")).rmAttr("tabindex"),this.$tag.attr("tabindex","0").get(0).focus(),this.$tag.addClass(Sr("selected")),void Dr.rootDomViewer.emit("select",Dr.node));if(cr.nodeType===Node.ELEMENT_NODE)for(var mr=cr,Lr=cr.parentElement;Lr;){if(Lr===Dr.node){this.expand(),this.childNodeDomViewers[this.childNodes.indexOf(mr)].select(cr);break}mr=Lr,Lr=Lr.parentElement}}},{key:"attach",value:function(){this.container.appendChild(this.$tag.get(0)),this.$children&&this.container.appendChild(this.$children.get(0))}},{key:"isAttached",value:function(){return!!this.$tag.get(0).parentNode}},{key:"detach",value:function(){this.$tag.remove(),this.$children&&this.$children.remove()}},{key:"expand",value:function(){this.isExpandable()&&!this.isExpanded&&(this.isExpanded=!0,this.renderExpandTag(),this.renderChildNodes())}},{key:"collapse",value:function(){this.isExpandable()&&this.isExpanded&&(this.isExpanded=!1,this.renderCollapseTag())}},{key:"destroy",value:function(){var cr=this.c;this.$tag.hasClass(cr("selected"))&&this.options.rootDomViewer.emit("deselect"),this.detach(),this.observer&&this.observer.disconnect(),this.destroySubComponents(),this.options.rootDomViewer===this&&this.$container.rmClass("luna-dom-viewer").rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.emit("destroy"),this.removeAllListeners()}},{key:"renderExpandTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;cr.html(this.renderHtmlTag(gr(gr({},Jr(Dr)),{},{hasTail:!1,hasToggleButton:!0}))),cr.addClass(Sr("expanded")),this.$children.rmClass(Sr("hidden"))}},{key:"renderCollapseTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;this.$children.addClass(Sr("hidden")),this.$tag.html(this.renderHtmlTag(gr(gr({},Jr(Dr)),{},{hasTail:!0,hasToggleButton:!0}))),cr.rmClass(Sr("expanded"))}},{key:"initObserver",value:function(){var cr=this;this.observer=new(nr())(function(Sr){Dn()(Sr,function(Dr){cr.handleMutation(Dr)})}),this.observer.observe(this.options.node,{attributes:!0,childList:!0,characterData:!0})}},{key:"handleMutation",value:function(cr){var Sr=this.$tag,Dr=this.c,mr=this.options,Lr=mr.node,zr=mr.ignore;if(Nn()(["attributes","childList"],cr.type)){if(cr.type==="childList"){if(_r()(cr.addedNodes,zr)&&_r()(cr.removedNodes,zr))return;this.renderChildNodes()}this.isExpandable()?this.isExpanded?this.renderExpandTag():this.renderCollapseTag():(this.$children.addClass(Dr("hidden")),Sr.html(this.renderHtmlTag(gr(gr({},Jr(Lr)),{},{hasTail:!1}))))}else cr.type==="characterData"&&(Lr.nodeType===Node.TEXT_NODE?Sr.html(this.renderTextNode(Lr)):Lr.nodeType===Node.COMMENT_NODE&&Sr.html(this.renderHtmlComment(Lr.nodeValue)))}},{key:"bindEvent",value:function(){var cr=this,Sr=this.c,Dr=this.$tag;this.options.node.nodeType===Node.ELEMENT_NODE&&Dr.on("click",Sr(".toggle"),function(mr){mr.stopPropagation(),cr.toggle()}),Bn?Dr.on("click",function(){return cr.select()}):Dr.on("mousedown",function(){return cr.select()})}},{key:"isExpandable",value:function(){return this.options.node.nodeType===Node.ELEMENT_NODE&&this.getChildNodes().length>0}},{key:"getChildNodes",value:function(){var cr=this.options,Sr=cr.rootContainer,Dr=cr.ignore,mr=this.options.node,Lr=Kn()(mr.childNodes);return Lr=ar()(Lr,function(zr){if(zr.nodeType===Node.TEXT_NODE||zr.nodeType===Node.COMMENT_NODE){var Vr=zr.nodeValue;if(xn()(Vr)==="")return!1}return zr!==Sr&&!Dr(zr)})}},{key:"initTpl",value:function(){var cr=this.container,Sr=this.c,Dr=this.options,mr=Dr.node,Lr=Dr.isEndTag,zr=wn()(Yn()("li"));if(zr.addClass(Sr("tree-item")),this.$tag=zr,Lr)zr.html(Sr('</'.concat(mr.tagName.toLocaleLowerCase(),'>')));else if(mr.nodeType===Node.ELEMENT_NODE){var Vr=this.isExpandable(),Kr=gr(gr({},Jr(mr)),{},{hasTail:Vr,hasToggleButton:Vr});zr.html(this.renderHtmlTag(Kr))}else if(mr.nodeType===Node.TEXT_NODE)zr.html(this.renderTextNode(mr));else{if(mr.nodeType!==Node.COMMENT_NODE)return;var qr=mr.nodeValue;if(qr.trim()==="")return;zr.html(this.renderHtmlComment(qr))}if(cr.appendChild(zr.get(0)),mr.nodeType===mr.ELEMENT_NODE){var Ur=wn()(Yn()("ul"));Ur.addClass([Sr("children"),Sr("hidden")]),cr.appendChild(Ur.get(0)),this.$children=Ur}}},{key:"renderChildNodes",value:function(){var cr=this,Sr=this.options.node,Dr=this.options,mr=Dr.rootContainer,Lr=Dr.ignore,zr=Dr.rootDomViewer,Vr=this.$children.get(0),Kr=this.childNodes,qr=this.childNodeDomViewers;Dn()(qr,function(vo){vo.detach(),cr.removeSubComponent(vo)}),this.endTagDomViewer&&this.endTagDomViewer.detach();var Ur=this.getChildNodes();this.childNodes=Ur;var uo=[];this.childNodeDomViewers=uo,Dn()(Ur,function(vo,_o){var Ao,ko=Kr.indexOf(vo);(Ao=ko>-1?qr[ko]:new Tr(Vr,{node:vo,parent:cr,rootContainer:mr,rootDomViewer:zr,ignore:Lr})).attach(),uo[_o]=Ao,cr.addSubComponent(Ao)}),Dn()(qr,function(vo){vo.isAttached()||vo.destroy()}),Sr&&(this.endTagDomViewer?this.endTagDomViewer.attach():(this.endTagDomViewer=new Tr(Vr,{node:Sr,parent:this,isEndTag:!0,rootContainer:mr,rootDomViewer:zr,ignore:Lr}),this.addSubComponent(this.endTagDomViewer)))}},{key:"renderHtmlTag",value:function(cr){var Sr=Cn()(cr.attributes,function(Lr){var zr=Lr.name,Vr=Lr.value,Kr=Lr.isLink;return` + `])))))}}]),yo}(ir),Ko=function(){function To(So,yo){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{selectable:!1};(0,Ue.Z)(this,To),this.container=dr()("tr"),this.selectable=!1,this.container.dataGridNode=this,this.$container=bn()(this.container),this.$container.addClass(So.c("node")),this.dataGrid=So,this.data=yo,Zr.selectable&&(this.selectable=Zr.selectable),this.render()}return(0,qe.Z)(To,[{key:"text",value:function(){return this.$container.text()}},{key:"detach",value:function(){this.$container.remove()}},{key:"select",value:function(){this.$container.addClass(this.dataGrid.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.dataGrid.c("selected"))}},{key:"render",value:function(){var So=this.data,yo=this.$container,Zr=this.container,Mr=this.dataGrid.getOption("columns");yo.html(""),Jn()(Mr,function(Or){var yr=dr()("td"),so=So[Or.id];Rr()(so)||(gr()(so)?yr.appendChild(so):yr.innerText=_r()(so)),Zr.appendChild(yr)})}}]),To}();function Yo(To,So){if(To=_r()(To),So=_r()(So),Zn()(To,"_")&&!Zn()(So,"_"))return 1;if(Zn()(So,"_")&&!Zn()(To,"_"))return-1;for(var yo,Zr,Mr,Or,yr=/^\d+|^\D+/;;){if(!To)return So?-1:0;if(!So)return 1;if(yo=To.match(yr)[0],Zr=So.match(yr)[0],Mr=!isNaN(yo),Or=!isNaN(Zr),Mr&&!Or)return-1;if(Or&&!Mr)return 1;if(Mr&&Or){var so=yo-Zr;if(so)return so;if(yo.length!==Zr.length)return+yo||+Zr?Zr.length-yo.length:yo.length-Zr.length}else if(yo!==Zr)return yo]*>/g.test(cr))try{var Sr=$n().parse(cr);return Rn(Sr,function(Dr){Dr.attrs&&Dr.attrs.class&&(Dr.attrs.class=Tr(Dr.attrs.class))}),$n().stringify(Sr)}catch{return Tr(cr)}return Tr(cr)}}function Rn($r,Br){for(var Tr=0,cr=$r.length;Tr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}var er,rr=function($r){(0,Lt.Z)(Tr,$r);var Br=Xn(Tr);function Tr(cr,Sr){var Dr,mr=Sr.compName,Lr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,zr=Lr===void 0?"light":Lr;return(0,qe.Z)(this,Tr),(Dr=Br.call(this)).subComponents=[],Dr.compName=mr,Dr.c=On(mr),Dr.options={},Dr.container=cr,Dr.$container=wn()(cr),Dr.$container.addClass(["luna-".concat(mr),Dr.c("platform-".concat(Vn()))]),Dr.on("optionChange",function(Vr,Kr,Yr){var Ur=Dr.c;Vr==="theme"&&(Dr.$container.rmClass(Ur("theme-".concat(Yr))).addClass(Ur("theme-".concat(Kr))),Dn()(Dr.subComponents,function(uo){return uo.setOption("theme",Kr)}))}),Dr.setOption("theme",zr),Dr}return(0,At.Z)(Tr,[{key:"destroy",value:function(){this.destroySubComponents();var cr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(cr,Sr){var Dr=this,mr=this.options,Lr={};typeof cr=="string"?Lr[cr]=Sr:Lr=cr,Dn()(Lr,function(zr,Vr){var Kr=mr[Vr];mr[Vr]=zr,Dr.emit("optionChange",Vr,zr,Kr)})}},{key:"getOption",value:function(cr){return this.options[cr]}},{key:"addSubComponent",value:function(cr){cr.setOption("theme",this.options.theme),this.subComponents.push(cr)}},{key:"removeSubComponent",value:function(cr){Wn()(this.subComponents,function(Sr){return Sr===cr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(cr){return cr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(cr){var Sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(cr,Sr),Fn()(this.options,cr)}},{key:"find",value:function(cr){return this.$container.find(this.c(cr))}}]),Tr}(bn()),Jn=Ie(8613),qn=Ie.n(Jn),Yn=Ie(5972),ar=Ie.n(Yn),tr=Ie(1907),or=Ie.n(tr),sr=Ie(1352),Kn=Ie.n(sr),Zn=Ie(2289),nr=Ie.n(Zn),lr=Ie(3651),ir=Ie.n(lr),kr=Ie(7756),Cr=Ie.n(kr),Er=Ie(8901),dr=Ie.n(Er),br=Ie(1672),_r=Ie.n(br);function Pr($r,Br){var Tr=Object.keys($r);if(Object.getOwnPropertySymbols){var cr=Object.getOwnPropertySymbols($r);Br&&(cr=cr.filter(function(Sr){return Object.getOwnPropertyDescriptor($r,Sr).enumerable})),Tr.push.apply(Tr,cr)}return Tr}function gr($r){for(var Br=1;Br"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Tr,cr=(0,hn.Z)($r);if(Br){var Sr=(0,hn.Z)(this).constructor;Tr=Reflect.construct(cr,arguments,Sr)}else Tr=cr.apply(this,arguments);return(0,jt.Z)(this,Tr)}}xe=Ie.hmd(xe);var Rr={comment:"",string:"",number:"",keyword:"",operator:""},Hr=function($r){(0,Lt.Z)(Tr,$r);var Br=xr(Tr);function Tr(cr){var Sr,Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,qe.Z)(this,Tr),(Sr=Br.call(this,cr,{compName:"dom-viewer"},Dr)).isExpanded=!1,Sr.childNodes=[],Sr.childNodeDomViewers=[],Sr.toggle=function(){Sr.isExpanded?Sr.collapse():Sr.expand()},Sr.initOptions(Dr,{node:document.documentElement,parent:null,isEndTag:!1,rootContainer:cr,rootDomViewer:(0,Dt.Z)(Sr),ignore:function(){return!1}}),Sr.initTpl(),Sr.bindEvent(),Sr.options.isEndTag||Sr.initObserver(),Sr}return(0,At.Z)(Tr,[{key:"select",value:function(cr){var Sr=this.c,Dr=this.options;if(!cr||cr&&Dr.node===cr)return this.$tag.hasClass(Sr("selected"))?void 0:(wn()(this.options.rootContainer).find(Sr(".selected")).rmClass(Sr("selected")).rmAttr("tabindex"),this.$tag.attr("tabindex","0").get(0).focus(),this.$tag.addClass(Sr("selected")),void Dr.rootDomViewer.emit("select",Dr.node));if(cr.nodeType===Node.ELEMENT_NODE)for(var mr=cr,Lr=cr.parentElement;Lr;){if(Lr===Dr.node){this.expand(),this.childNodeDomViewers[this.childNodes.indexOf(mr)].select(cr);break}mr=Lr,Lr=Lr.parentElement}}},{key:"attach",value:function(){this.container.appendChild(this.$tag.get(0)),this.$children&&this.container.appendChild(this.$children.get(0))}},{key:"isAttached",value:function(){return!!this.$tag.get(0).parentNode}},{key:"detach",value:function(){this.$tag.remove(),this.$children&&this.$children.remove()}},{key:"expand",value:function(){this.isExpandable()&&!this.isExpanded&&(this.isExpanded=!0,this.renderExpandTag(),this.renderChildNodes())}},{key:"collapse",value:function(){this.isExpandable()&&this.isExpanded&&(this.isExpanded=!1,this.renderCollapseTag())}},{key:"destroy",value:function(){var cr=this.c;this.$tag.hasClass(cr("selected"))&&this.options.rootDomViewer.emit("deselect"),this.detach(),this.observer&&this.observer.disconnect(),this.destroySubComponents(),this.options.rootDomViewer===this&&this.$container.rmClass("luna-dom-viewer").rmClass(cr("platform-".concat(Vn()))).rmClass(cr("theme-".concat(this.options.theme))),this.emit("destroy"),this.removeAllListeners()}},{key:"renderExpandTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;cr.html(this.renderHtmlTag(gr(gr({},Jr(Dr)),{},{hasTail:!1,hasToggleButton:!0}))),cr.addClass(Sr("expanded")),this.$children.rmClass(Sr("hidden"))}},{key:"renderCollapseTag",value:function(){var cr=this.$tag,Sr=this.c,Dr=this.options.node;this.$children.addClass(Sr("hidden")),this.$tag.html(this.renderHtmlTag(gr(gr({},Jr(Dr)),{},{hasTail:!0,hasToggleButton:!0}))),cr.rmClass(Sr("expanded"))}},{key:"initObserver",value:function(){var cr=this;this.observer=new(nr())(function(Sr){Dn()(Sr,function(Dr){cr.handleMutation(Dr)})}),this.observer.observe(this.options.node,{attributes:!0,childList:!0,characterData:!0})}},{key:"handleMutation",value:function(cr){var Sr=this.$tag,Dr=this.c,mr=this.options,Lr=mr.node,zr=mr.ignore;if(Nn()(["attributes","childList"],cr.type)){if(cr.type==="childList"){if(_r()(cr.addedNodes,zr)&&_r()(cr.removedNodes,zr))return;this.renderChildNodes()}this.isExpandable()?this.isExpanded?this.renderExpandTag():this.renderCollapseTag():(this.$children.addClass(Dr("hidden")),Sr.html(this.renderHtmlTag(gr(gr({},Jr(Lr)),{},{hasTail:!1}))))}else cr.type==="characterData"&&(Lr.nodeType===Node.TEXT_NODE?Sr.html(this.renderTextNode(Lr)):Lr.nodeType===Node.COMMENT_NODE&&Sr.html(this.renderHtmlComment(Lr.nodeValue)))}},{key:"bindEvent",value:function(){var cr=this,Sr=this.c,Dr=this.$tag;this.options.node.nodeType===Node.ELEMENT_NODE&&Dr.on("click",Sr(".toggle"),function(mr){mr.stopPropagation(),cr.toggle()}),Bn?Dr.on("click",function(){return cr.select()}):Dr.on("mousedown",function(){return cr.select()})}},{key:"isExpandable",value:function(){return this.options.node.nodeType===Node.ELEMENT_NODE&&this.getChildNodes().length>0}},{key:"getChildNodes",value:function(){var cr=this.options,Sr=cr.rootContainer,Dr=cr.ignore,mr=this.options.node,Lr=Kn()(mr.childNodes);return Lr=ar()(Lr,function(zr){if(zr.nodeType===Node.TEXT_NODE||zr.nodeType===Node.COMMENT_NODE){var Vr=zr.nodeValue;if(xn()(Vr)==="")return!1}return zr!==Sr&&!Dr(zr)})}},{key:"initTpl",value:function(){var cr=this.container,Sr=this.c,Dr=this.options,mr=Dr.node,Lr=Dr.isEndTag,zr=wn()(qn()("li"));if(zr.addClass(Sr("tree-item")),this.$tag=zr,Lr)zr.html(Sr('</'.concat(mr.tagName.toLocaleLowerCase(),'>')));else if(mr.nodeType===Node.ELEMENT_NODE){var Vr=this.isExpandable(),Kr=gr(gr({},Jr(mr)),{},{hasTail:Vr,hasToggleButton:Vr});zr.html(this.renderHtmlTag(Kr))}else if(mr.nodeType===Node.TEXT_NODE)zr.html(this.renderTextNode(mr));else{if(mr.nodeType!==Node.COMMENT_NODE)return;var Yr=mr.nodeValue;if(Yr.trim()==="")return;zr.html(this.renderHtmlComment(Yr))}if(cr.appendChild(zr.get(0)),mr.nodeType===mr.ELEMENT_NODE){var Ur=wn()(qn()("ul"));Ur.addClass([Sr("children"),Sr("hidden")]),cr.appendChild(Ur.get(0)),this.$children=Ur}}},{key:"renderChildNodes",value:function(){var cr=this,Sr=this.options.node,Dr=this.options,mr=Dr.rootContainer,Lr=Dr.ignore,zr=Dr.rootDomViewer,Vr=this.$children.get(0),Kr=this.childNodes,Yr=this.childNodeDomViewers;Dn()(Yr,function(vo){vo.detach(),cr.removeSubComponent(vo)}),this.endTagDomViewer&&this.endTagDomViewer.detach();var Ur=this.getChildNodes();this.childNodes=Ur;var uo=[];this.childNodeDomViewers=uo,Dn()(Ur,function(vo,_o){var Ao,ko=Kr.indexOf(vo);(Ao=ko>-1?Yr[ko]:new Tr(Vr,{node:vo,parent:cr,rootContainer:mr,rootDomViewer:zr,ignore:Lr})).attach(),uo[_o]=Ao,cr.addSubComponent(Ao)}),Dn()(Yr,function(vo){vo.isAttached()||vo.destroy()}),Sr&&(this.endTagDomViewer?this.endTagDomViewer.attach():(this.endTagDomViewer=new Tr(Vr,{node:Sr,parent:this,isEndTag:!0,rootContainer:mr,rootDomViewer:zr,ignore:Lr}),this.addSubComponent(this.endTagDomViewer)))}},{key:"renderHtmlTag",value:function(cr){var Sr=Cn()(cr.attributes,function(Lr){var zr=Lr.name,Vr=Lr.value,Kr=Lr.isLink;return` `.concat(dr()(zr),"").concat(Vr?'="').concat(dr()(Vr),'"'):"","")}).join(""),Dr="";cr.hasTail?Dr="".concat(cr.hasTail?"…":"",'</').concat(cr.tagName,">"):this.isExpandable()||(Dr='</'.concat(cr.tagName,">"));var mr="";return cr.hasToggleButton&&(mr='
'),this.c(or()(er||(er=(0,Fe.Z)([` `,` <`,"",">",` `])),mr,cr.tagName,Sr,Dr))}},{key:"renderTextNode",value:function(cr){var Sr=this.c,Dr=cr.nodeValue,mr=cr.parentElement,Lr='',zr='';if(mr&&Dr.length<1e4){if(mr.tagName==="STYLE")return Sr("".concat(Lr).concat(ir()(Dr,"css",Rr)).concat(zr));if(mr.tagName==="SCRIPT")return Sr("".concat(Lr).concat(ir()(Dr,"js",Rr)).concat(zr))}return Sr('"'.concat(Lr).concat(dr()(Cr()(Dr,1e4,{separator:" ",ellipsis:"…"}))).concat(zr,'"'))}},{key:"renderHtmlComment",value:function(cr){return this.c('<!-- '.concat(dr()(cr),' -->'))}}]),Tr}(rr);function Jr($r){var Br={tagName:"",attributes:[]};Br.tagName=$r.tagName.toLocaleLowerCase();var Tr=[];return Dn()($r.attributes,function(cr){var Sr=cr.name,Dr=cr.value;Tr.push({name:Sr,value:Dr,isLink:Gr($r,Sr)})}),Br.attributes=Tr,Br}function Gr($r,Br){var Tr=$r.tagName;return(Tr==="SCRIPT"||Tr==="IMAGE"||Tr==="VIDEO"||Tr==="AUDIO")&&Br==="src"||Tr==="LINK"&&Br==="href"}(function($r,Br){try{$r.exports=Br,$r.exports.default=Br}catch{}})(xe,Hr)},129:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Zn}});var Fe=Ie(907),Ue=Ie(181);function qe(Er){return function(dr){if(Array.isArray(dr))return(0,Fe.Z)(dr)}(Er)||function(dr){if(typeof Symbol<"u"&&dr[Symbol.iterator]!=null||dr["@@iterator"]!=null)return Array.from(dr)}(Er)||(0,Ue.Z)(Er)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(168),Dt=Ie(5671),Lt=Ie(3144),jt=Ie(7326),hn=Ie(1752),vn=Ie(9340),bn=Ie(2963),_n=Ie(1120),wn=Ie(1443),kn=Ie.n(wn),Cn=Ie(1512),Sn=Ie.n(Cn),xn=Ie(2461),En=Ie.n(xn),Tn=Ie(4331),An=Ie.n(Tn),$n=Ie(5610),Pn=Ie.n($n),Nn=Ie(7483),Mn=Ie.n(Nn),In=(Ie(3990),Ie(6341)),On=Ie.n(In),Rn=(Ie(3875),Ie(6954)),Bn=Ie.n(Rn);Ie(9585);function Vn(Er){var dr="luna-".concat(Er,"-");function br(_r){return En()(An()(_r).split(/\s+/),function(Pr){return On()(Pr,dr)?Pr:Pr.replace(/[\w-]+/,function(gr){return"".concat(dr).concat(gr)})}).join(" ")}return function(_r){if(/<[^>]*>/g.test(_r))try{var Pr=Mn().parse(_r);return Ln(Pr,function(gr){gr.attrs&&gr.attrs.class&&(gr.attrs.class=br(gr.attrs.class))}),Mn().stringify(Pr)}catch{return br(_r)}return br(_r)}}function Ln(Er,dr){for(var br=0,_r=Er.length;br<_r;br++){var Pr=Er[br];dr(Pr),Pr.content&&Ln(Pr.content,dr)}}Pn();var Dn=Ie(3783),Hn=Ie.n(Dn),Fn=Ie(6329),zn=Ie.n(Fn),jn=Ie(4193),Gn=Ie.n(jn),Wn=Ie(5852),Xn=Ie.n(Wn),er=Ie(6930),rr=Ie.n(er);function Jn(Er){var dr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}var Yn,qn=function(Er){(0,vn.Z)(br,Er);var dr=Jn(br);function br(_r,Pr){var gr,xr,Rr=Pr.compName,Hr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Jr=Hr===void 0?"light":Hr;return(0,Dt.Z)(this,br),(gr=dr.call(this)).subComponents=[],gr.compName=Rr,gr.c=Vn(Rr),gr.options={},gr.container=_r,gr.$container=Sn()(_r),gr.$container.addClass(["luna-".concat(Rr),gr.c("platform-".concat((xr=Bn()(),xr==="os x"?"mac":xr)))]),gr.on("optionChange",function(Gr,$r,Br){var Tr=gr.c;Gr==="theme"&&(gr.$container.rmClass(Tr("theme-".concat(Br))).addClass(Tr("theme-".concat($r))),Hn()(gr.subComponents,function(cr){return cr.setOption("theme",$r)}))}),gr.setOption("theme",Jr),gr}return(0,Lt.Z)(br,[{key:"destroy",value:function(){var _r=this;this.destroySubComponents();var Pr=this.$container,gr=Pr.attr("class");Hn()(gr.split(/\s+/),function(xr){rr()(xr,"luna-".concat(_r.compName))&&Pr.rmClass(xr)}),Pr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(_r,Pr){var gr=this,xr=this.options,Rr={};typeof _r=="string"?Rr[_r]=Pr:Rr=_r,Hn()(Rr,function(Hr,Jr){var Gr=xr[Jr];xr[Jr]=Hr,gr.emit("optionChange",Jr,Hr,Gr)})}},{key:"getOption",value:function(_r){return this.options[_r]}},{key:"addSubComponent",value:function(_r){_r.setOption("theme",this.options.theme),this.subComponents.push(_r)}},{key:"removeSubComponent",value:function(_r){Xn()(this.subComponents,function(Pr){return Pr===_r})}},{key:"destroySubComponents",value:function(){Hn()(this.subComponents,function(_r){return _r.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(_r){var Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Gn()(_r,Pr),zn()(this.options,_r)}},{key:"find",value:function(_r){return this.$container.find(this.c(_r))}}]),br}(kn()),ar=Ie(1907),tr=Ie.n(ar),or=Ie(8613),sr=Ie.n(or);function Kn(Er){var dr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}xe=Ie.hmd(xe);var Zn=function(Er){(0,vn.Z)(br,Er);var dr=Kn(br);function br(_r){var Pr,gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Dt.Z)(this,br),(Pr=dr.call(this,_r,{compName:"modal"},gr)).render=function(){var xr=(0,jt.Z)(Pr),Rr=xr.options,Hr=xr.c,Jr=xr.$body;Rr.title?(Jr.rmClass(Hr("no-title")),Pr.$title.text(Rr.title)):Jr.addClass(Hr("no-title")),Rr.footer?(Jr.rmClass(Hr("no-footer")),Pr.$footer.html("").append(Rr.footer)):Jr.addClass(Hr("no-footer")),Rr.showClose?Pr.$close.show():Pr.$close.hide(),Pr.$body.css("width",Rr.width+"px"),Pr.$content.html("").append(Rr.content)},Pr.hide(),Pr.initOptions(gr,{title:"",content:"",footer:"",showClose:!0,width:Cr()}),Pr.initTpl(),Pr.$title=Pr.find(".title"),Pr.$content=Pr.find(".content"),Pr.$body=Pr.find(".body"),Pr.$footer=Pr.find(".footer"),Pr.$close=Pr.find(".icon-close"),Pr.bindEvent(),Pr}return(0,Lt.Z)(br,[{key:"show",value:function(){this.render(),this.$container.rmClass(this.c("hidden"))}},{key:"hide",value:function(){this.$container.addClass(this.c("hidden"))}},{key:"destroy",value:function(){(0,hn.Z)((0,_n.Z)(br.prototype),"destroy",this).call(this),this.$container.rmClass(this.c("hidden"))}},{key:"bindEvent",value:function(){var _r=this;this.$body.on("click",this.c(".icon-close"),function(){return _r.hide()}),this.on("optionChange",this.render)}},{key:"initTpl",value:function(){this.$container.html(this.c(tr()(Yn||(Yn=(0,At.Z)([` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var At=Ie(168),Dt=Ie(5671),Lt=Ie(3144),jt=Ie(7326),hn=Ie(1752),vn=Ie(9340),bn=Ie(2963),_n=Ie(1120),wn=Ie(1443),kn=Ie.n(wn),Cn=Ie(1512),Sn=Ie.n(Cn),xn=Ie(2461),En=Ie.n(xn),Tn=Ie(4331),An=Ie.n(Tn),$n=Ie(5610),Pn=Ie.n($n),Nn=Ie(7483),Mn=Ie.n(Nn),In=(Ie(3990),Ie(6341)),On=Ie.n(In),Rn=(Ie(3875),Ie(6954)),Bn=Ie.n(Rn);Ie(9585);function Vn(Er){var dr="luna-".concat(Er,"-");function br(_r){return En()(An()(_r).split(/\s+/),function(Pr){return On()(Pr,dr)?Pr:Pr.replace(/[\w-]+/,function(gr){return"".concat(dr).concat(gr)})}).join(" ")}return function(_r){if(/<[^>]*>/g.test(_r))try{var Pr=Mn().parse(_r);return Ln(Pr,function(gr){gr.attrs&&gr.attrs.class&&(gr.attrs.class=br(gr.attrs.class))}),Mn().stringify(Pr)}catch{return br(_r)}return br(_r)}}function Ln(Er,dr){for(var br=0,_r=Er.length;br<_r;br++){var Pr=Er[br];dr(Pr),Pr.content&&Ln(Pr.content,dr)}}Pn();var Dn=Ie(3783),Hn=Ie.n(Dn),Fn=Ie(6329),zn=Ie.n(Fn),jn=Ie(4193),Gn=Ie.n(jn),Wn=Ie(5852),Xn=Ie.n(Wn),er=Ie(6930),rr=Ie.n(er);function Jn(Er){var dr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}var qn,Yn=function(Er){(0,vn.Z)(br,Er);var dr=Jn(br);function br(_r,Pr){var gr,xr,Rr=Pr.compName,Hr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Jr=Hr===void 0?"light":Hr;return(0,Dt.Z)(this,br),(gr=dr.call(this)).subComponents=[],gr.compName=Rr,gr.c=Vn(Rr),gr.options={},gr.container=_r,gr.$container=Sn()(_r),gr.$container.addClass(["luna-".concat(Rr),gr.c("platform-".concat((xr=Bn()(),xr==="os x"?"mac":xr)))]),gr.on("optionChange",function(Gr,$r,Br){var Tr=gr.c;Gr==="theme"&&(gr.$container.rmClass(Tr("theme-".concat(Br))).addClass(Tr("theme-".concat($r))),Hn()(gr.subComponents,function(cr){return cr.setOption("theme",$r)}))}),gr.setOption("theme",Jr),gr}return(0,Lt.Z)(br,[{key:"destroy",value:function(){var _r=this;this.destroySubComponents();var Pr=this.$container,gr=Pr.attr("class");Hn()(gr.split(/\s+/),function(xr){rr()(xr,"luna-".concat(_r.compName))&&Pr.rmClass(xr)}),Pr.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(_r,Pr){var gr=this,xr=this.options,Rr={};typeof _r=="string"?Rr[_r]=Pr:Rr=_r,Hn()(Rr,function(Hr,Jr){var Gr=xr[Jr];xr[Jr]=Hr,gr.emit("optionChange",Jr,Hr,Gr)})}},{key:"getOption",value:function(_r){return this.options[_r]}},{key:"addSubComponent",value:function(_r){_r.setOption("theme",this.options.theme),this.subComponents.push(_r)}},{key:"removeSubComponent",value:function(_r){Xn()(this.subComponents,function(Pr){return Pr===_r})}},{key:"destroySubComponents",value:function(){Hn()(this.subComponents,function(_r){return _r.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(_r){var Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Gn()(_r,Pr),zn()(this.options,_r)}},{key:"find",value:function(_r){return this.$container.find(this.c(_r))}}]),br}(kn()),ar=Ie(1907),tr=Ie.n(ar),or=Ie(8613),sr=Ie.n(or);function Kn(Er){var dr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var br,_r=(0,_n.Z)(Er);if(dr){var Pr=(0,_n.Z)(this).constructor;br=Reflect.construct(_r,arguments,Pr)}else br=_r.apply(this,arguments);return(0,bn.Z)(this,br)}}xe=Ie.hmd(xe);var Zn=function(Er){(0,vn.Z)(br,Er);var dr=Kn(br);function br(_r){var Pr,gr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Dt.Z)(this,br),(Pr=dr.call(this,_r,{compName:"modal"},gr)).render=function(){var xr=(0,jt.Z)(Pr),Rr=xr.options,Hr=xr.c,Jr=xr.$body;Rr.title?(Jr.rmClass(Hr("no-title")),Pr.$title.text(Rr.title)):Jr.addClass(Hr("no-title")),Rr.footer?(Jr.rmClass(Hr("no-footer")),Pr.$footer.html("").append(Rr.footer)):Jr.addClass(Hr("no-footer")),Rr.showClose?Pr.$close.show():Pr.$close.hide(),Pr.$body.css("width",Rr.width+"px"),Pr.$content.html("").append(Rr.content)},Pr.hide(),Pr.initOptions(gr,{title:"",content:"",footer:"",showClose:!0,width:Cr()}),Pr.initTpl(),Pr.$title=Pr.find(".title"),Pr.$content=Pr.find(".content"),Pr.$body=Pr.find(".body"),Pr.$footer=Pr.find(".footer"),Pr.$close=Pr.find(".icon-close"),Pr.bindEvent(),Pr}return(0,Lt.Z)(br,[{key:"show",value:function(){this.render(),this.$container.rmClass(this.c("hidden"))}},{key:"hide",value:function(){this.$container.addClass(this.c("hidden"))}},{key:"destroy",value:function(){(0,hn.Z)((0,_n.Z)(br.prototype),"destroy",this).call(this),this.$container.rmClass(this.c("hidden"))}},{key:"bindEvent",value:function(){var _r=this;this.$body.on("click",this.c(".icon-close"),function(){return _r.hide()}),this.on("optionChange",this.render)}},{key:"initTpl",value:function(){this.$container.html(this.c(tr()(qn||(qn=(0,At.Z)([`
- `])))))}}],[{key:"alert",value:function(_r){var Pr=ir(),gr=Pr.c;Pr.setOption({title:"",content:_r,width:Cr(),footer:kr({OK:{type:"primary",onclick:function(){Pr.hide()}}},gr)}),Pr.show()}},{key:"confirm",value:function(_r){return new Promise(function(Pr){var gr=ir(),xr=gr.c;gr.setOption({title:"",content:_r,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){gr.hide(),Pr(!1)}},OK:{type:"primary",onclick:function(){gr.hide(),Pr(!0)}}},xr)}),gr.show()})}},{key:"prompt",value:function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(gr){var xr=ir(),Rr=xr.c,Hr=sr()("input"+Rr(".input"),{value:Pr});function Jr(){xr.hide(),gr(Hr.value)}Sn()(Hr).on("keypress",function($r){($r=$r.origEvent).key==="Enter"&&Jr()}),xr.setOption({title:_r,content:Hr,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){xr.hide(),gr(null)}},OK:{type:"primary",onclick:Jr}},Rr)}),xr.show();var Gr=Hr.value.length;Hr.setSelectionRange(Gr,Gr),Hr.focus()})}},{key:"setContainer",value:function(_r){lr=_r}}]),br}(qn),nr=null,lr=null;function ir(){return lr||(lr=sr()("div"),document.body.append(lr)),nr||(nr=new Zn(lr,{showClose:!1})),nr}function kr(Er,dr){var br=En()(Er,function(_r,Pr){return sr()(dr(".button")+dr("."+_r.type),{onclick:_r.onclick},Pr)});return sr().apply(void 0,[dr(".button-group"),{}].concat(qe(br)))}function Cr(){return window.innerWidth<500?window.innerWidth-32:500}(function(Er,dr){try{Er.exports=dr,Er.exports.default=dr}catch{}})(xe,Zn)},8299:function(xe,$e,Ie){Ie.d($e,{q:function(){return yr},Z:function(){return xo}});var Fe=Ie(1002),Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(1752),Lt=Ie(9340),jt=Ie(2963),hn=Ie(1120),vn=Ie(415),bn=Ie.n(vn),_n=Ie(3990),wn=Ie.n(_n),kn=Ie(4696),Cn=Ie.n(kn),Sn=Ie(3063),xn=Ie.n(Sn),En=Ie(5166),Tn=Ie.n(En),An=Ie(6472),$n=Ie.n(An),Pn=Ie(3023),Nn=Ie.n(Pn),Mn=Ie(2533),In=Ie.n(Mn),On=Ie(3783),Rn=Ie.n(On),Bn=Ie(300),Vn=Ie.n(Bn),Ln=Ie(4321),Dn=Ie.n(Ln),Hn=Ie(3085),Fn=Ie.n(Hn),zn=Ie(1512),jn=Ie.n(zn),Gn=Ie(801),Wn=Ie.n(Gn),Xn=Ie(7756),er=Ie.n(Xn),rr=Ie(6768),Jn=Ie.n(rr),Yn=Ie(1116),qn=Ie.n(Yn),ar=Ie(5972),tr=Ie.n(ar),or=Ie(996),sr=Ie.n(or),Kn=Ie(3367),Zn=Ie.n(Kn),nr=Ie(1214),lr=Ie.n(nr),ir=Ie(6339),kr=Ie.n(ir),Cr=Ie(6329),Er=Ie.n(Cr),dr=function(){function ho(){(0,Ue.Z)(this,ho),this.id=0,this.visited=[]}return(0,qe.Z)(ho,[{key:"set",value:function(po,ro){var Yr=this.visited,Qr=this.id,Ir={id:Qr,val:po};return Er()(Ir,ro),Yr.push(Ir),this.id++,Qr}},{key:"get",value:function(po){for(var ro=this.visited,Yr=0,Qr=ro.length;Yr500&&(ho=ho.slice(0,500)+"..."),"ƒ "+_r()(function(po){var ro=po.match(Hr);return ro?ro[0]:po}(ho).replace("function",""))}var Hr=/function(.*?)\((.*?)\)/,Jr=Ie(6930),Gr=Ie.n(Jr),$r=Ie(5229),Br=Ie.n($r),Tr=Ie(3875),cr=Ie.n(Tr),Sr=Ie(9433),Dr=Ie.n(Sr),mr=Ie(1443),Lr=Ie.n(mr),zr=Ie(2461),Vr=Ie.n(zr),Kr=Ie(5610),qr=Ie.n(Kr),Ur=Ie(7483),uo=Ie.n(Ur),vo=Ie(6341),_o=Ie.n(vo),Ao=Ie(6954),ko=Ie.n(Ao);Ie(9585);function Do(ho){var po="luna-".concat(ho,"-");function ro(Yr){return Vr()(_r()(Yr).split(/\s+/),function(Qr){return _o()(Qr,po)?Qr:Qr.replace(/[\w-]+/,function(Ir){return"".concat(po).concat(Ir)})}).join(" ")}return function(Yr){if(/<[^>]*>/g.test(Yr))try{var Qr=uo().parse(Yr);return Ro(Qr,function(Ir){Ir.attrs&&Ir.attrs.class&&(Ir.attrs.class=ro(Ir.attrs.class))}),uo().stringify(Qr)}catch{return ro(Yr)}return ro(Yr)}}function Ro(ho,po){for(var ro=0,Yr=ho.length;ro"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,Yr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(Yr,arguments,Qr)}else ro=Yr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var Mr=function(ho){(0,Lt.Z)(ro,ho);var po=Zr(ro);function ro(Yr,Qr){var Ir,Xr=Qr.compName,to=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,oo=to===void 0?"light":to;return(0,Ue.Z)(this,ro),(Ir=po.call(this)).subComponents=[],Ir.compName=Xr,Ir.c=Do(Xr),Ir.options={},Ir.container=Yr,Ir.$container=jn()(Yr),Ir.$container.addClass(["luna-".concat(Xr),Ir.c("platform-".concat(Ko()))]),Ir.on("optionChange",function(co,wo,Co){var Po=Ir.c;co==="theme"&&(Ir.$container.rmClass(Po("theme-".concat(Co))).addClass(Po("theme-".concat(wo))),Rn()(Ir.subComponents,function(Vo){return Vo.setOption("theme",wo)}))}),Ir.setOption("theme",oo),Ir}return(0,qe.Z)(ro,[{key:"destroy",value:function(){this.destroySubComponents();var Yr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Yr("platform-".concat(Ko()))).rmClass(Yr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Yr,Qr){var Ir=this,Xr=this.options,to={};typeof Yr=="string"?to[Yr]=Qr:to=Yr,Rn()(to,function(oo,co){var wo=Xr[co];Xr[co]=oo,Ir.emit("optionChange",co,oo,wo)})}},{key:"getOption",value:function(Yr){return this.options[Yr]}},{key:"addSubComponent",value:function(Yr){Yr.setOption("theme",this.options.theme),this.subComponents.push(Yr)}},{key:"removeSubComponent",value:function(Yr){yo()(this.subComponents,function(Qr){return Qr===Yr})}},{key:"destroySubComponents",value:function(){Rn()(this.subComponents,function(Yr){return Yr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Yr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};To()(Yr,Qr),Er()(this.options,Yr)}},{key:"find",value:function(Yr){return this.$container.find(this.c(Yr))}}]),ro}(Lr());function Or(ho){var po=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,Yr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(Yr,arguments,Qr)}else ro=Yr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var yr=function(ho){(0,Lt.Z)(ro,ho);var po=Or(ro);function ro(Yr){var Qr;return(0,Ue.Z)(this,ro),(Qr=po.call(this,Yr,{compName:"object-viewer"})).onItemClick=function(Ir){var Xr=(0,At.Z)(Qr),to=Xr.map,oo=Xr.c,co=jn()(Ir.curTarget),wo=co.data("object-id"),Co=co.find("span").eq(0);if(!co.data("first-level")&&(wo&&(co.find("ul").html(Qr.objToHtml(to[wo],!1)),co.rmAttr("data-object-id")),Ir.stopImmediatePropagation(),Co.hasClass(oo("expanded")))){var Po=co.find("ul").eq(0);Co.hasClass(oo("collapsed"))?(Co.rmClass(oo("collapsed")),Po.show()):(Co.addClass(oo("collapsed")),Po.hide()),Qr.emit("change")}},Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(Yr){Jn()(Yr)&&(Yr=JSON.parse(Yr)),this.data={id:Br()("json"),enumerable:{0:Yr}},this.map={},so(this.map,this.data),this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(Yr,Qr){var Ir=this,Xr="";return Rn()(["enumerable","unenumerable","symbol"],function(to){if(Yr[to]){var oo=In()(Yr[to]);kr()(oo);for(var co=0,wo=oo.length;co3&&arguments[3]!==void 0&&arguments[3],to=this.c,oo=(0,Fe.Z)(Qr);if(Qr===null)return"
  • ".concat(Fo(Yr),'null
  • ');if(wn()(Qr)||Cn()(Qr))return"
  • ".concat(Fo(Yr),'').concat(xr(Qr),"
  • ");if(Qr.type==="RegExp"&&(oo="regexp"),Qr.type==="Number"&&(oo="number"),Qr.type==="Number"||Qr.type==="RegExp")return"
  • ".concat(Fo(Yr),'').concat(xr(Qr.value),"
  • ");if(Qr.type==="Undefined"||Qr.type==="Symbol")return"
  • ".concat(Fo(Yr),'').concat(xn()(Qr.type),"
  • ");if(Qr==="(...)")return"
  • ".concat(Fo(Yr),'').concat(Qr,"
  • ");if(Tn()(Qr)){var co=Qr.id,wo=Qr.reference,Co=function(jo){var Yo=jo.type,oa=jo.value;if(Yo)return Yo==="Function"?Rr(oa):Yo==="Array"&&jo.unenumerable?"Array(".concat(jo.unenumerable.length,")"):jo.type}(Qr)||Nn()(oo),Po=Xr?"":''),Vo="
  • ").concat(Po).concat(Fo(Yr),'').concat(Xr?"":Co,'
      ");return Xr&&(Vo+=this.objToHtml(this.map[co])),Vo+'
  • ')}function Fo(jo){if(Xr||Tn()(Qr)&&Qr.jsonSplitArr)return"";var Yo=to("key");return Ir==="unenumerable"||Ir==="symbol"?Yo=to("key-lighter"):Ir==="proto"&&(Yo=to("key-special")),'').concat(xr(jo),": ")}return Jn()(Qr)&&Qr.length>1e4&&(Qr=er()(Qr,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(Fo(Yr),'"').concat(xr(Qr),'"
  • ')}},{key:"render",value:function(){var Yr=this.map[this.data.id];this.$container.html(this.objToHtml(Yr,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);function so(ho,po){var ro=po.id;if(ro||ro===0){if(po.type&&Gr()(po.type,"Array")&&po.enumerable){var Yr=function(oo,co,wo){var Co=[],Po={};return Rn()(oo.enumerable,function(Vo,Fo){var jo=cr()(Fo);Dr()(jo)?Po[Fo]=Vo:Co[jo]=Vo}),Co.enumerable=Po,Co.type=wo,Co.id=co,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(po,ro,po.type);Yr.length>100&&(po=function(oo){var co=0,wo={};Rn()(sr()(oo,100),function(Po){var Vo={},Fo=co;Vo.type="["+Fo,Vo.enumerable={},Rn()(Po,function(Yo){Vo.enumerable[co]=Yo,co+=1});var jo=co-1;Vo.type+=(jo-Fo>0?" … "+jo:"")+"]",Vo.id=Br()("json"),Vo.jsonSplitArr=!0,wo[co]=Vo});var Co={};return Co.enumerable=wo,Co.id=oo.id,Co.type=oo.type,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(Yr))}ho[ro]=po;var Qr=[];Rn()(["enumerable","unenumerable","symbol"],function(oo){if(po[oo])for(var co in po[oo])Qr.push(po[oo][co])}),po.proto&&Qr.push(po.proto);for(var Ir=0,Xr=Qr.length;Ir"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,Yr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(Yr,arguments,Qr)}else ro=Yr.apply(this,arguments);return(0,jt.Z)(this,ro)}}xe=Ie.hmd(xe);var xo=function(ho){(0,Lt.Z)(ro,ho);var po=$o(ro);function ro(Yr){var Qr,Ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,ro),(Qr=po.call(this,Yr,{compName:"object-viewer"})).onItemClick=function(Xr){var to=(0,At.Z)(Qr),oo=to.map,co=to.c,wo=jn()(Xr.curTarget),Co=wo.data("object-id"),Po=wo.find("span").eq(0);if(!wo.data("first-level")&&(Co&&(wo.find("ul").html(Qr.objToHtml(oo[Co],!1)),wo.rmAttr("data-object-id")),Xr.stopImmediatePropagation(),Po.hasClass(co("expanded")))){var Vo=wo.find("ul").eq(0);Po.hasClass(co("collapsed"))?(Po.rmClass(co("collapsed")),Vo.show()):(Po.addClass(co("collapsed")),Vo.hide()),Qr.emit("change")}},Qr.initOptions(Ir,{unenumerable:!1,accessGetter:!1}),Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(Yr){this.data=[Yr],this.visitor=new dr,this.map={},this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(Yr,Qr){var Ir=this,Xr=this.visitor,to=Yr,oo=!1,co=Xr.get(Yr);co&&co.self&&(to=co.self);var wo="",Co=["enumerable"],Po=In()(Yr),Vo=[],Fo=[],jo=[],Yo={};if(this.options.unenumerable&&!Qr&&(Co.push("unenumerable"),Co.push("symbol"),Vo=Wn()(qn()(Yr,{prototype:!1,unenumerable:!0}),Po),Fo=tr()(qn()(Yr,{prototype:!1,symbol:!0}),function(Xo){return(0,Fe.Z)(Xo)==="symbol"})),$n()(Yr)&&Yr.length>100){Co.unshift("virtual"),oo=!0;var oa=0,Qo={};Rn()(sr()(Yr,100),function(Xo){var pa=Object.create(null),ea=oa,Sa="["+ea;Rn()(Xo,function(fa){pa[oa]=fa,Qo[oa]=!0,oa++});var na=oa-1;Yo[Sa+=(na-ea>0?" … "+na:"")+"]"]=pa}),jo=In()(Yo),Po=tr()(Po,function(Xo){return!Qo[Xo]})}Rn()(Co,function(Xo){var pa=[];pa=Xo==="symbol"?Fo:Xo==="unenumerable"?Vo:Xo==="virtual"?jo:Po,oo||kr()(pa);for(var ea=0,Sa=pa.length;ea4&&arguments[4]!==void 0&&arguments[4],oo=this.visitor,co=this.c,wo=(0,Fe.Z)(Ir),Co=Fn()(Ir,!1);if(Xr==="virtual"&&(Co=Yr),Ir===null)return"
  • ".concat(Qo(Yr),'null
  • ');if(wn()(Ir)||Cn()(Ir))return"
  • ".concat(Qo(Yr),'').concat(xr(Ir),"
  • ");if(Co==="RegExp"&&(wo="regexp"),Co==="Number"&&(wo="number"),Co==="Undefined"||Co==="Symbol")return"
  • ".concat(Qo(Yr),'').concat(xn()(Co),"
  • ");if(Ir==="(...)")return"
  • ".concat(Qo(Yr),'').concat(Ir,"
  • ");if(Tn()(Ir)){var Po,Vo=oo.get(Ir);if(Vo)Po=Vo.id;else{var Fo={};Xr==="proto"&&(Fo.self=Qr),Po=oo.set(Ir,Fo),this.map[Po]=Ir}var jo="Object";jo=wo==="regexp"?'').concat(xr(Ir)):xr(function(aa,ia){if(ia)return ia==="Function"?Rr(Vn()(aa)):ia==="Array"?"Array(".concat(aa.length,")"):ia}(Ir,Co)||Nn()(wo));var Yo=to?"":''),oa="
  • ").concat(Yo).concat(Qo(Yr),'').concat(to?"":jo,'
      ");return to&&(oa+=this.objToHtml(Ir)),oa+'
  • ')}function Qo(aa){if(to||Tn()(Ir)&&Xr==="virtual")return"";var ia=co("key");return Xr==="unenumerable"||Xr==="symbol"?ia=co("key-lighter"):Xr==="proto"&&(ia=co("key-special")),'').concat(xr(aa),": ")}return Jn()(Ir)&&Ir.length>1e4&&(Ir=er()(Ir,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(Qo(Yr),'"').concat(xr(Ir),'"
  • ')}},{key:"render",value:function(){this.$container.html(this.objToHtml(this.data,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);xo.Static=yr,function(ho,po){try{ho.exports=po,ho.exports.default=po}catch{}}(xe,xo)},8692:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Rr}});var Fe=Ie(7326),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1512),hn=Ie.n(jt),vn=Ie(8613),bn=Ie.n(vn),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(5229),Cn=Ie.n(kn),Sn=Ie(5166),xn=Ie.n(Sn),En=Ie(4193),Tn=Ie.n(En),An=Ie(2461),$n=Ie.n(An),Pn=Ie(3875),Nn=Ie.n(Pn),Mn=Ie(3367),In=Ie.n(Mn),On=Ie(4777),Rn=Ie.n(On),Bn=Ie(9702),Vn=Ie.n(Bn),Ln=Ie(1754),Dn=Ie.n(Ln),Hn=Ie(6768),Fn=Ie.n(Hn),zn=Ie(4331),jn=Ie.n(zn),Gn=Ie(6341),Wn=Ie.n(Gn),Xn=Ie(3063),er=Ie.n(Xn),rr=Ie(6156),Jn=Ie.n(rr),Yn=Ie(3783),qn=Ie.n(Yn),ar=Ie(1443),tr=Ie.n(ar),or=Ie(5610),sr=Ie.n(or),Kn=Ie(7483),Zn=Ie.n(Kn),nr=(Ie(3990),Ie(6954)),lr=Ie.n(nr);Ie(9585);function ir(mr){var Lr="luna-".concat(mr,"-");function zr(Vr){return $n()(jn()(Vr).split(/\s+/),function(Kr){return Wn()(Kr,Lr)?Kr:Kr.replace(/[\w-]+/,function(qr){return"".concat(Lr).concat(qr)})}).join(" ")}return function(Vr){if(/<[^>]*>/g.test(Vr))try{var Kr=Zn().parse(Vr);return kr(Kr,function(qr){qr.attrs&&qr.attrs.class&&(qr.attrs.class=zr(qr.attrs.class))}),Zn().stringify(Kr)}catch{return zr(Vr)}return zr(Vr)}}function kr(mr,Lr){for(var zr=0,Vr=mr.length;zr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}var gr=function(mr){(0,At.Z)(zr,mr);var Lr=Pr(zr);function zr(Vr,Kr){var qr,Ur=Kr.compName,uo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,vo=uo===void 0?"light":uo;return(0,Ue.Z)(this,zr),(qr=Lr.call(this)).subComponents=[],qr.compName=Ur,qr.c=ir(Ur),qr.options={},qr.container=Vr,qr.$container=hn()(Vr),qr.$container.addClass(["luna-".concat(Ur),qr.c("platform-".concat(Cr()))]),qr.on("optionChange",function(_o,Ao,ko){var Do=qr.c;_o==="theme"&&(qr.$container.rmClass(Do("theme-".concat(ko))).addClass(Do("theme-".concat(Ao))),qn()(qr.subComponents,function(Ro){return Ro.setOption("theme",Ao)}))}),qr.setOption("theme",vo),qr}return(0,qe.Z)(zr,[{key:"destroy",value:function(){this.destroySubComponents();var Vr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Vr("platform-".concat(Cr()))).rmClass(Vr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Vr,Kr){var qr=this,Ur=this.options,uo={};typeof Vr=="string"?uo[Vr]=Kr:uo=Vr,qn()(uo,function(vo,_o){var Ao=Ur[_o];Ur[_o]=vo,qr.emit("optionChange",_o,vo,Ao)})}},{key:"getOption",value:function(Vr){return this.options[Vr]}},{key:"addSubComponent",value:function(Vr){Vr.setOption("theme",this.options.theme),this.subComponents.push(Vr)}},{key:"removeSubComponent",value:function(Vr){_r()(this.subComponents,function(Kr){return Kr===Vr})}},{key:"destroySubComponents",value:function(){qn()(this.subComponents,function(Vr){return Vr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Vr){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Tn()(Vr,Kr),dr()(this.options,Vr)}},{key:"find",value:function(Vr){return this.$container.find(this.c(Vr))}}]),zr}(tr());function xr(mr){var Lr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}xe=Ie.hmd(xe);var Rr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){var Kr,qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,zr),(Kr=Lr.call(this,Vr,{compName:"setting"},qr)).items=[],Kr.selectedItem=null,Kr.initOptions(qr,{separatorCollapse:!0,filter:""}),Kr.bindEvent(),Kr}return(0,qe.Z)(zr,[{key:"appendTitle",value:function(Vr){var Kr=new Jr(this,Vr);return this.append(Kr),Kr}},{key:"appendSeparator",value:function(){var Vr=this.items,Kr=this.options.separatorCollapse,qr=Vn()(Vr);if(Kr&&qr instanceof Gr)return qr;var Ur=new Gr(this);return this.append(Ur),Ur}},{key:"appendNumber",value:function(Vr,Kr,qr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var vo=new Br(this,Vr,Kr,qr,Ur,uo);return this.append(vo),vo}},{key:"appendButton",value:function(Vr,Kr,qr){Rn()(Kr)&&(qr=Kr,Kr="");var Ur=new Dr(this,Vr,Kr,qr);return this.append(Ur),Ur}},{key:"appendInput",value:function(Vr,Kr,qr){var Ur=new $r(this,Vr,Kr,qr,arguments.length>3&&arguments[3]!==void 0?arguments[3]:"");return this.append(Ur),Ur}},{key:"appendCheckbox",value:function(Vr,Kr,qr,Ur){Ur||(Ur=qr,qr="");var uo=new cr(this,Vr,Kr,qr,Ur);return this.append(uo),uo}},{key:"appendSelect",value:function(Vr,Kr,qr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var vo=new Sr(this,Vr,Kr,qr,Ur,uo);return this.append(vo),vo}},{key:"remove",value:function(Vr){var Kr=this.items,qr=Kr.indexOf(Vr);qr>-1&&(Vr.detach(),Kr.splice(qr,1),Vr===this.selectedItem&&this.selectItem(null))}},{key:"clear",value:function(){qn()(this.items,function(Vr){return Vr.detach()}),this.items=[],this.selectItem(null)}},{key:"selectItem",value:function(Vr){var Kr;this.selectedItem&&(this.selectedItem.deselect(),this.selectedItem=null),Jn()(Vr)||(this.selectedItem=Vr,(Kr=this.selectedItem)===null||Kr===void 0||Kr.select())}},{key:"renderSettings",value:function(){var Vr=this,Kr=this.items;qn()(Kr,function(qr){return qr.detach()}),qn()(Kr,function(qr){Vr.filterItem(qr)&&Vr.$container.append(qr.container)})}},{key:"bindEvent",value:function(){var Vr=this,Kr=this.c;this.on("optionChange",function(Ur){Ur==="filter"&&Vr.renderSettings()});var qr=this;this.$container.on("click",Kr(".item"),function(){qr.selectItem(this.settingItem)})}},{key:"filterItem",value:function(Vr){var Kr=this.options.filter;if(Kr){if(Rn()(Kr))return Kr(Vr);if(Dn()(Kr))return Kr.test(Vr.text());if(Fn()(Kr)&&(Kr=jn()(Kr)))return Wn()(er()(Vr.text()),er()(Kr))}return!0}},{key:"append",value:function(Vr){this.items.push(Vr),this.filterItem(Vr)&&this.$container.append(Vr.container)}}]),zr}(gr),Hr=function(){function mr(Lr,zr,Vr,Kr){(0,Ue.Z)(this,mr),this.container=bn()("div",{tabindex:"0"}),this.setting=Lr,this.container.settingItem=this,this.$container=hn()(this.container),this.$container.addClass(Lr.c("item")).addClass(Lr.c("item-".concat(Kr))),this.key=zr,this.value=Vr}return(0,qe.Z)(mr,[{key:"select",value:function(){this.$container.addClass(this.setting.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.setting.c("selected"))}},{key:"detach",value:function(){this.$container.remove()}},{key:"text",value:function(){return this.$container.text()}},{key:"onChange",value:function(Lr){this.setting.emit("change",this.key,Lr,this.value),this.value=Lr}}]),mr}(),Jr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr){var qr;return(0,Ue.Z)(this,zr),(qr=Lr.call(this,Vr,"","","title")).$container.text(Kr),qr}return(0,qe.Z)(zr)}(Hr),Gr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){return(0,Ue.Z)(this,zr),Lr.call(this,Vr,"","","separator")}return(0,qe.Z)(zr)}(Hr),$r=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo){var vo;(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,qr,"input");var _o=Vr.c;vo.$container.html('
    ').concat(wn()(Ur),`
    + `])))))}}],[{key:"alert",value:function(_r){var Pr=ir(),gr=Pr.c;Pr.setOption({title:"",content:_r,width:Cr(),footer:kr({OK:{type:"primary",onclick:function(){Pr.hide()}}},gr)}),Pr.show()}},{key:"confirm",value:function(_r){return new Promise(function(Pr){var gr=ir(),xr=gr.c;gr.setOption({title:"",content:_r,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){gr.hide(),Pr(!1)}},OK:{type:"primary",onclick:function(){gr.hide(),Pr(!0)}}},xr)}),gr.show()})}},{key:"prompt",value:function(){var _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return new Promise(function(gr){var xr=ir(),Rr=xr.c,Hr=sr()("input"+Rr(".input"),{value:Pr});function Jr(){xr.hide(),gr(Hr.value)}Sn()(Hr).on("keypress",function($r){($r=$r.origEvent).key==="Enter"&&Jr()}),xr.setOption({title:_r,content:Hr,width:Cr(),footer:kr({Cancel:{type:"secondary",onclick:function(){xr.hide(),gr(null)}},OK:{type:"primary",onclick:Jr}},Rr)}),xr.show();var Gr=Hr.value.length;Hr.setSelectionRange(Gr,Gr),Hr.focus()})}},{key:"setContainer",value:function(_r){lr=_r}}]),br}(Yn),nr=null,lr=null;function ir(){return lr||(lr=sr()("div"),document.body.append(lr)),nr||(nr=new Zn(lr,{showClose:!1})),nr}function kr(Er,dr){var br=En()(Er,function(_r,Pr){return sr()(dr(".button")+dr("."+_r.type),{onclick:_r.onclick},Pr)});return sr().apply(void 0,[dr(".button-group"),{}].concat(qe(br)))}function Cr(){return window.innerWidth<500?window.innerWidth-32:500}(function(Er,dr){try{Er.exports=dr,Er.exports.default=dr}catch{}})(xe,Zn)},8299:function(xe,$e,Ie){Ie.d($e,{q:function(){return yr},Z:function(){return xo}});var Fe=Ie(1002),Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(1752),Lt=Ie(9340),jt=Ie(2963),hn=Ie(1120),vn=Ie(415),bn=Ie.n(vn),_n=Ie(3990),wn=Ie.n(_n),kn=Ie(4696),Cn=Ie.n(kn),Sn=Ie(3063),xn=Ie.n(Sn),En=Ie(5166),Tn=Ie.n(En),An=Ie(6472),$n=Ie.n(An),Pn=Ie(3023),Nn=Ie.n(Pn),Mn=Ie(2533),In=Ie.n(Mn),On=Ie(3783),Rn=Ie.n(On),Bn=Ie(300),Vn=Ie.n(Bn),Ln=Ie(4321),Dn=Ie.n(Ln),Hn=Ie(3085),Fn=Ie.n(Hn),zn=Ie(1512),jn=Ie.n(zn),Gn=Ie(801),Wn=Ie.n(Gn),Xn=Ie(7756),er=Ie.n(Xn),rr=Ie(6768),Jn=Ie.n(rr),qn=Ie(1116),Yn=Ie.n(qn),ar=Ie(5972),tr=Ie.n(ar),or=Ie(996),sr=Ie.n(or),Kn=Ie(3367),Zn=Ie.n(Kn),nr=Ie(1214),lr=Ie.n(nr),ir=Ie(6339),kr=Ie.n(ir),Cr=Ie(6329),Er=Ie.n(Cr),dr=function(){function ho(){(0,Ue.Z)(this,ho),this.id=0,this.visited=[]}return(0,qe.Z)(ho,[{key:"set",value:function(po,ro){var qr=this.visited,Qr=this.id,Ir={id:Qr,val:po};return Er()(Ir,ro),qr.push(Ir),this.id++,Qr}},{key:"get",value:function(po){for(var ro=this.visited,qr=0,Qr=ro.length;qr500&&(ho=ho.slice(0,500)+"..."),"ƒ "+_r()(function(po){var ro=po.match(Hr);return ro?ro[0]:po}(ho).replace("function",""))}var Hr=/function(.*?)\((.*?)\)/,Jr=Ie(6930),Gr=Ie.n(Jr),$r=Ie(5229),Br=Ie.n($r),Tr=Ie(3875),cr=Ie.n(Tr),Sr=Ie(9433),Dr=Ie.n(Sr),mr=Ie(1443),Lr=Ie.n(mr),zr=Ie(2461),Vr=Ie.n(zr),Kr=Ie(5610),Yr=Ie.n(Kr),Ur=Ie(7483),uo=Ie.n(Ur),vo=Ie(6341),_o=Ie.n(vo),Ao=Ie(6954),ko=Ie.n(Ao);Ie(9585);function Do(ho){var po="luna-".concat(ho,"-");function ro(qr){return Vr()(_r()(qr).split(/\s+/),function(Qr){return _o()(Qr,po)?Qr:Qr.replace(/[\w-]+/,function(Ir){return"".concat(po).concat(Ir)})}).join(" ")}return function(qr){if(/<[^>]*>/g.test(qr))try{var Qr=uo().parse(qr);return Ro(Qr,function(Ir){Ir.attrs&&Ir.attrs.class&&(Ir.attrs.class=ro(Ir.attrs.class))}),uo().stringify(Qr)}catch{return ro(qr)}return ro(qr)}}function Ro(ho,po){for(var ro=0,qr=ho.length;ro"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,qr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(qr,arguments,Qr)}else ro=qr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var Mr=function(ho){(0,Lt.Z)(ro,ho);var po=Zr(ro);function ro(qr,Qr){var Ir,Xr=Qr.compName,to=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,oo=to===void 0?"light":to;return(0,Ue.Z)(this,ro),(Ir=po.call(this)).subComponents=[],Ir.compName=Xr,Ir.c=Do(Xr),Ir.options={},Ir.container=qr,Ir.$container=jn()(qr),Ir.$container.addClass(["luna-".concat(Xr),Ir.c("platform-".concat(Ko()))]),Ir.on("optionChange",function(co,wo,Co){var Po=Ir.c;co==="theme"&&(Ir.$container.rmClass(Po("theme-".concat(Co))).addClass(Po("theme-".concat(wo))),Rn()(Ir.subComponents,function(Vo){return Vo.setOption("theme",wo)}))}),Ir.setOption("theme",oo),Ir}return(0,qe.Z)(ro,[{key:"destroy",value:function(){this.destroySubComponents();var qr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(qr("platform-".concat(Ko()))).rmClass(qr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(qr,Qr){var Ir=this,Xr=this.options,to={};typeof qr=="string"?to[qr]=Qr:to=qr,Rn()(to,function(oo,co){var wo=Xr[co];Xr[co]=oo,Ir.emit("optionChange",co,oo,wo)})}},{key:"getOption",value:function(qr){return this.options[qr]}},{key:"addSubComponent",value:function(qr){qr.setOption("theme",this.options.theme),this.subComponents.push(qr)}},{key:"removeSubComponent",value:function(qr){yo()(this.subComponents,function(Qr){return Qr===qr})}},{key:"destroySubComponents",value:function(){Rn()(this.subComponents,function(qr){return qr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(qr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};To()(qr,Qr),Er()(this.options,qr)}},{key:"find",value:function(qr){return this.$container.find(this.c(qr))}}]),ro}(Lr());function Or(ho){var po=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,qr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(qr,arguments,Qr)}else ro=qr.apply(this,arguments);return(0,jt.Z)(this,ro)}}var yr=function(ho){(0,Lt.Z)(ro,ho);var po=Or(ro);function ro(qr){var Qr;return(0,Ue.Z)(this,ro),(Qr=po.call(this,qr,{compName:"object-viewer"})).onItemClick=function(Ir){var Xr=(0,At.Z)(Qr),to=Xr.map,oo=Xr.c,co=jn()(Ir.curTarget),wo=co.data("object-id"),Co=co.find("span").eq(0);if(!co.data("first-level")&&(wo&&(co.find("ul").html(Qr.objToHtml(to[wo],!1)),co.rmAttr("data-object-id")),Ir.stopImmediatePropagation(),Co.hasClass(oo("expanded")))){var Po=co.find("ul").eq(0);Co.hasClass(oo("collapsed"))?(Co.rmClass(oo("collapsed")),Po.show()):(Co.addClass(oo("collapsed")),Po.hide()),Qr.emit("change")}},Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(qr){Jn()(qr)&&(qr=JSON.parse(qr)),this.data={id:Br()("json"),enumerable:{0:qr}},this.map={},so(this.map,this.data),this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(qr,Qr){var Ir=this,Xr="";return Rn()(["enumerable","unenumerable","symbol"],function(to){if(qr[to]){var oo=In()(qr[to]);kr()(oo);for(var co=0,wo=oo.length;co3&&arguments[3]!==void 0&&arguments[3],to=this.c,oo=(0,Fe.Z)(Qr);if(Qr===null)return"
  • ".concat(Fo(qr),'null
  • ');if(wn()(Qr)||Cn()(Qr))return"
  • ".concat(Fo(qr),'').concat(xr(Qr),"
  • ");if(Qr.type==="RegExp"&&(oo="regexp"),Qr.type==="Number"&&(oo="number"),Qr.type==="Number"||Qr.type==="RegExp")return"
  • ".concat(Fo(qr),'').concat(xr(Qr.value),"
  • ");if(Qr.type==="Undefined"||Qr.type==="Symbol")return"
  • ".concat(Fo(qr),'').concat(xn()(Qr.type),"
  • ");if(Qr==="(...)")return"
  • ".concat(Fo(qr),'').concat(Qr,"
  • ");if(Tn()(Qr)){var co=Qr.id,wo=Qr.reference,Co=function(jo){var qo=jo.type,oa=jo.value;if(qo)return qo==="Function"?Rr(oa):qo==="Array"&&jo.unenumerable?"Array(".concat(jo.unenumerable.length,")"):jo.type}(Qr)||Nn()(oo),Po=Xr?"":''),Vo="
  • ").concat(Po).concat(Fo(qr),'').concat(Xr?"":Co,'
      ");return Xr&&(Vo+=this.objToHtml(this.map[co])),Vo+'
  • ')}function Fo(jo){if(Xr||Tn()(Qr)&&Qr.jsonSplitArr)return"";var qo=to("key");return Ir==="unenumerable"||Ir==="symbol"?qo=to("key-lighter"):Ir==="proto"&&(qo=to("key-special")),'').concat(xr(jo),": ")}return Jn()(Qr)&&Qr.length>1e4&&(Qr=er()(Qr,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(Fo(qr),'"').concat(xr(Qr),'"
  • ')}},{key:"render",value:function(){var qr=this.map[this.data.id];this.$container.html(this.objToHtml(qr,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);function so(ho,po){var ro=po.id;if(ro||ro===0){if(po.type&&Gr()(po.type,"Array")&&po.enumerable){var qr=function(oo,co,wo){var Co=[],Po={};return Rn()(oo.enumerable,function(Vo,Fo){var jo=cr()(Fo);Dr()(jo)?Po[Fo]=Vo:Co[jo]=Vo}),Co.enumerable=Po,Co.type=wo,Co.id=co,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(po,ro,po.type);qr.length>100&&(po=function(oo){var co=0,wo={};Rn()(sr()(oo,100),function(Po){var Vo={},Fo=co;Vo.type="["+Fo,Vo.enumerable={},Rn()(Po,function(qo){Vo.enumerable[co]=qo,co+=1});var jo=co-1;Vo.type+=(jo-Fo>0?" … "+jo:"")+"]",Vo.id=Br()("json"),Vo.jsonSplitArr=!0,wo[co]=Vo});var Co={};return Co.enumerable=wo,Co.id=oo.id,Co.type=oo.type,oo.unenumerable&&(Co.unenumerable=oo.unenumerable),oo.symbol&&(Co.symbol=oo.symbol),oo.proto&&(Co.proto=oo.proto),Co}(qr))}ho[ro]=po;var Qr=[];Rn()(["enumerable","unenumerable","symbol"],function(oo){if(po[oo])for(var co in po[oo])Qr.push(po[oo][co])}),po.proto&&Qr.push(po.proto);for(var Ir=0,Xr=Qr.length;Ir"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var ro,qr=(0,hn.Z)(ho);if(po){var Qr=(0,hn.Z)(this).constructor;ro=Reflect.construct(qr,arguments,Qr)}else ro=qr.apply(this,arguments);return(0,jt.Z)(this,ro)}}xe=Ie.hmd(xe);var xo=function(ho){(0,Lt.Z)(ro,ho);var po=$o(ro);function ro(qr){var Qr,Ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,ro),(Qr=po.call(this,qr,{compName:"object-viewer"})).onItemClick=function(Xr){var to=(0,At.Z)(Qr),oo=to.map,co=to.c,wo=jn()(Xr.curTarget),Co=wo.data("object-id"),Po=wo.find("span").eq(0);if(!wo.data("first-level")&&(Co&&(wo.find("ul").html(Qr.objToHtml(oo[Co],!1)),wo.rmAttr("data-object-id")),Xr.stopImmediatePropagation(),Po.hasClass(co("expanded")))){var Vo=wo.find("ul").eq(0);Po.hasClass(co("collapsed"))?(Po.rmClass(co("collapsed")),Vo.show()):(Po.addClass(co("collapsed")),Vo.hide()),Qr.emit("change")}},Qr.initOptions(Ir,{unenumerable:!1,accessGetter:!1}),Qr.bindEvent(),Qr}return(0,qe.Z)(ro,[{key:"set",value:function(qr){this.data=[qr],this.visitor=new dr,this.map={},this.render()}},{key:"destroy",value:function(){(0,Dt.Z)((0,hn.Z)(ro.prototype),"destroy",this).call(this),this.$container.off("click","li",this.onItemClick)}},{key:"objToHtml",value:function(qr,Qr){var Ir=this,Xr=this.visitor,to=qr,oo=!1,co=Xr.get(qr);co&&co.self&&(to=co.self);var wo="",Co=["enumerable"],Po=In()(qr),Vo=[],Fo=[],jo=[],qo={};if(this.options.unenumerable&&!Qr&&(Co.push("unenumerable"),Co.push("symbol"),Vo=Wn()(Yn()(qr,{prototype:!1,unenumerable:!0}),Po),Fo=tr()(Yn()(qr,{prototype:!1,symbol:!0}),function(Xo){return(0,Fe.Z)(Xo)==="symbol"})),$n()(qr)&&qr.length>100){Co.unshift("virtual"),oo=!0;var oa=0,Qo={};Rn()(sr()(qr,100),function(Xo){var pa=Object.create(null),ea=oa,Sa="["+ea;Rn()(Xo,function(fa){pa[oa]=fa,Qo[oa]=!0,oa++});var na=oa-1;qo[Sa+=(na-ea>0?" … "+na:"")+"]"]=pa}),jo=In()(qo),Po=tr()(Po,function(Xo){return!Qo[Xo]})}Rn()(Co,function(Xo){var pa=[];pa=Xo==="symbol"?Fo:Xo==="unenumerable"?Vo:Xo==="virtual"?jo:Po,oo||kr()(pa);for(var ea=0,Sa=pa.length;ea4&&arguments[4]!==void 0&&arguments[4],oo=this.visitor,co=this.c,wo=(0,Fe.Z)(Ir),Co=Fn()(Ir,!1);if(Xr==="virtual"&&(Co=qr),Ir===null)return"
  • ".concat(Qo(qr),'null
  • ');if(wn()(Ir)||Cn()(Ir))return"
  • ".concat(Qo(qr),'').concat(xr(Ir),"
  • ");if(Co==="RegExp"&&(wo="regexp"),Co==="Number"&&(wo="number"),Co==="Undefined"||Co==="Symbol")return"
  • ".concat(Qo(qr),'').concat(xn()(Co),"
  • ");if(Ir==="(...)")return"
  • ".concat(Qo(qr),'').concat(Ir,"
  • ");if(Tn()(Ir)){var Po,Vo=oo.get(Ir);if(Vo)Po=Vo.id;else{var Fo={};Xr==="proto"&&(Fo.self=Qr),Po=oo.set(Ir,Fo),this.map[Po]=Ir}var jo="Object";jo=wo==="regexp"?'').concat(xr(Ir)):xr(function(aa,ia){if(ia)return ia==="Function"?Rr(Vn()(aa)):ia==="Array"?"Array(".concat(aa.length,")"):ia}(Ir,Co)||Nn()(wo));var qo=to?"":''),oa="
  • ").concat(qo).concat(Qo(qr),'').concat(to?"":jo,'
      ");return to&&(oa+=this.objToHtml(Ir)),oa+'
  • ')}function Qo(aa){if(to||Tn()(Ir)&&Xr==="virtual")return"";var ia=co("key");return Xr==="unenumerable"||Xr==="symbol"?ia=co("key-lighter"):Xr==="proto"&&(ia=co("key-special")),'').concat(xr(aa),": ")}return Jn()(Ir)&&Ir.length>1e4&&(Ir=er()(Ir,50,{separator:" ",ellipsis:"…"})),"
  • ".concat(Qo(qr),'"').concat(xr(Ir),'"
  • ')}},{key:"render",value:function(){this.$container.html(this.objToHtml(this.data,!0))}},{key:"bindEvent",value:function(){this.$container.on("click","li",this.onItemClick)}}]),ro}(Mr);xo.Static=yr,function(ho,po){try{ho.exports=po,ho.exports.default=po}catch{}}(xe,xo)},8692:function(xe,$e,Ie){Ie.d($e,{Z:function(){return Rr}});var Fe=Ie(7326),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1512),hn=Ie.n(jt),vn=Ie(8613),bn=Ie.n(vn),_n=Ie(8901),wn=Ie.n(_n),kn=Ie(5229),Cn=Ie.n(kn),Sn=Ie(5166),xn=Ie.n(Sn),En=Ie(4193),Tn=Ie.n(En),An=Ie(2461),$n=Ie.n(An),Pn=Ie(3875),Nn=Ie.n(Pn),Mn=Ie(3367),In=Ie.n(Mn),On=Ie(4777),Rn=Ie.n(On),Bn=Ie(9702),Vn=Ie.n(Bn),Ln=Ie(1754),Dn=Ie.n(Ln),Hn=Ie(6768),Fn=Ie.n(Hn),zn=Ie(4331),jn=Ie.n(zn),Gn=Ie(6341),Wn=Ie.n(Gn),Xn=Ie(3063),er=Ie.n(Xn),rr=Ie(6156),Jn=Ie.n(rr),qn=Ie(3783),Yn=Ie.n(qn),ar=Ie(1443),tr=Ie.n(ar),or=Ie(5610),sr=Ie.n(or),Kn=Ie(7483),Zn=Ie.n(Kn),nr=(Ie(3990),Ie(6954)),lr=Ie.n(nr);Ie(9585);function ir(mr){var Lr="luna-".concat(mr,"-");function zr(Vr){return $n()(jn()(Vr).split(/\s+/),function(Kr){return Wn()(Kr,Lr)?Kr:Kr.replace(/[\w-]+/,function(Yr){return"".concat(Lr).concat(Yr)})}).join(" ")}return function(Vr){if(/<[^>]*>/g.test(Vr))try{var Kr=Zn().parse(Vr);return kr(Kr,function(Yr){Yr.attrs&&Yr.attrs.class&&(Yr.attrs.class=zr(Yr.attrs.class))}),Zn().stringify(Kr)}catch{return zr(Vr)}return zr(Vr)}}function kr(mr,Lr){for(var zr=0,Vr=mr.length;zr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}var gr=function(mr){(0,At.Z)(zr,mr);var Lr=Pr(zr);function zr(Vr,Kr){var Yr,Ur=Kr.compName,uo=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,vo=uo===void 0?"light":uo;return(0,Ue.Z)(this,zr),(Yr=Lr.call(this)).subComponents=[],Yr.compName=Ur,Yr.c=ir(Ur),Yr.options={},Yr.container=Vr,Yr.$container=hn()(Vr),Yr.$container.addClass(["luna-".concat(Ur),Yr.c("platform-".concat(Cr()))]),Yr.on("optionChange",function(_o,Ao,ko){var Do=Yr.c;_o==="theme"&&(Yr.$container.rmClass(Do("theme-".concat(ko))).addClass(Do("theme-".concat(Ao))),Yn()(Yr.subComponents,function(Ro){return Ro.setOption("theme",Ao)}))}),Yr.setOption("theme",vo),Yr}return(0,qe.Z)(zr,[{key:"destroy",value:function(){this.destroySubComponents();var Vr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Vr("platform-".concat(Cr()))).rmClass(Vr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(Vr,Kr){var Yr=this,Ur=this.options,uo={};typeof Vr=="string"?uo[Vr]=Kr:uo=Vr,Yn()(uo,function(vo,_o){var Ao=Ur[_o];Ur[_o]=vo,Yr.emit("optionChange",_o,vo,Ao)})}},{key:"getOption",value:function(Vr){return this.options[Vr]}},{key:"addSubComponent",value:function(Vr){Vr.setOption("theme",this.options.theme),this.subComponents.push(Vr)}},{key:"removeSubComponent",value:function(Vr){_r()(this.subComponents,function(Kr){return Kr===Vr})}},{key:"destroySubComponents",value:function(){Yn()(this.subComponents,function(Vr){return Vr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(Vr){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Tn()(Vr,Kr),dr()(this.options,Vr)}},{key:"find",value:function(Vr){return this.$container.find(this.c(Vr))}}]),zr}(tr());function xr(mr){var Lr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var zr,Vr=(0,Lt.Z)(mr);if(Lr){var Kr=(0,Lt.Z)(this).constructor;zr=Reflect.construct(Vr,arguments,Kr)}else zr=Vr.apply(this,arguments);return(0,Dt.Z)(this,zr)}}xe=Ie.hmd(xe);var Rr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){var Kr,Yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,zr),(Kr=Lr.call(this,Vr,{compName:"setting"},Yr)).items=[],Kr.selectedItem=null,Kr.initOptions(Yr,{separatorCollapse:!0,filter:""}),Kr.bindEvent(),Kr}return(0,qe.Z)(zr,[{key:"appendTitle",value:function(Vr){var Kr=new Jr(this,Vr);return this.append(Kr),Kr}},{key:"appendSeparator",value:function(){var Vr=this.items,Kr=this.options.separatorCollapse,Yr=Vn()(Vr);if(Kr&&Yr instanceof Gr)return Yr;var Ur=new Gr(this);return this.append(Ur),Ur}},{key:"appendNumber",value:function(Vr,Kr,Yr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var vo=new Br(this,Vr,Kr,Yr,Ur,uo);return this.append(vo),vo}},{key:"appendButton",value:function(Vr,Kr,Yr){Rn()(Kr)&&(Yr=Kr,Kr="");var Ur=new Dr(this,Vr,Kr,Yr);return this.append(Ur),Ur}},{key:"appendInput",value:function(Vr,Kr,Yr){var Ur=new $r(this,Vr,Kr,Yr,arguments.length>3&&arguments[3]!==void 0?arguments[3]:"");return this.append(Ur),Ur}},{key:"appendCheckbox",value:function(Vr,Kr,Yr,Ur){Ur||(Ur=Yr,Yr="");var uo=new cr(this,Vr,Kr,Yr,Ur);return this.append(uo),uo}},{key:"appendSelect",value:function(Vr,Kr,Yr,Ur,uo){xn()(Ur)&&(uo=Ur,Ur="");var vo=new Sr(this,Vr,Kr,Yr,Ur,uo);return this.append(vo),vo}},{key:"remove",value:function(Vr){var Kr=this.items,Yr=Kr.indexOf(Vr);Yr>-1&&(Vr.detach(),Kr.splice(Yr,1),Vr===this.selectedItem&&this.selectItem(null))}},{key:"clear",value:function(){Yn()(this.items,function(Vr){return Vr.detach()}),this.items=[],this.selectItem(null)}},{key:"selectItem",value:function(Vr){var Kr;this.selectedItem&&(this.selectedItem.deselect(),this.selectedItem=null),Jn()(Vr)||(this.selectedItem=Vr,(Kr=this.selectedItem)===null||Kr===void 0||Kr.select())}},{key:"renderSettings",value:function(){var Vr=this,Kr=this.items;Yn()(Kr,function(Yr){return Yr.detach()}),Yn()(Kr,function(Yr){Vr.filterItem(Yr)&&Vr.$container.append(Yr.container)})}},{key:"bindEvent",value:function(){var Vr=this,Kr=this.c;this.on("optionChange",function(Ur){Ur==="filter"&&Vr.renderSettings()});var Yr=this;this.$container.on("click",Kr(".item"),function(){Yr.selectItem(this.settingItem)})}},{key:"filterItem",value:function(Vr){var Kr=this.options.filter;if(Kr){if(Rn()(Kr))return Kr(Vr);if(Dn()(Kr))return Kr.test(Vr.text());if(Fn()(Kr)&&(Kr=jn()(Kr)))return Wn()(er()(Vr.text()),er()(Kr))}return!0}},{key:"append",value:function(Vr){this.items.push(Vr),this.filterItem(Vr)&&this.$container.append(Vr.container)}}]),zr}(gr),Hr=function(){function mr(Lr,zr,Vr,Kr){(0,Ue.Z)(this,mr),this.container=bn()("div",{tabindex:"0"}),this.setting=Lr,this.container.settingItem=this,this.$container=hn()(this.container),this.$container.addClass(Lr.c("item")).addClass(Lr.c("item-".concat(Kr))),this.key=zr,this.value=Vr}return(0,qe.Z)(mr,[{key:"select",value:function(){this.$container.addClass(this.setting.c("selected"))}},{key:"deselect",value:function(){this.$container.rmClass(this.setting.c("selected"))}},{key:"detach",value:function(){this.$container.remove()}},{key:"text",value:function(){return this.$container.text()}},{key:"onChange",value:function(Lr){this.setting.emit("change",this.key,Lr,this.value),this.value=Lr}}]),mr}(),Jr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr){var Yr;return(0,Ue.Z)(this,zr),(Yr=Lr.call(this,Vr,"","","title")).$container.text(Kr),Yr}return(0,qe.Z)(zr)}(Hr),Gr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr){return(0,Ue.Z)(this,zr),Lr.call(this,Vr,"","","separator")}return(0,qe.Z)(zr)}(Hr),$r=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo){var vo;(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,Yr,"input");var _o=Vr.c;vo.$container.html('
    ').concat(wn()(Ur),`
    ').concat(uo,`
    -
    `));var Ao=vo.$container.find("input");return Ao.val(qr),Ao.on("change",function(){return vo.onChange(Ao.val())}),vo}return(0,qe.Z)(zr)}(Hr),Br=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo){var vo,_o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,qr,"number"),Tn()(_o,{min:0,max:10,step:1});var Ao=(0,Fe.Z)(vo).$container,ko=Vr.c,Do=!!_o.range;delete _o.range;var Ro=_o.min,Ko=_o.max,qo='");Do&&(qo="".concat(Ro,'
    +
    `));var Ao=vo.$container.find("input");return Ao.val(Yr),Ao.on("change",function(){return vo.onChange(Ao.val())}),vo}return(0,qe.Z)(zr)}(Hr),Br=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo){var vo,_o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,Yr,"number"),Tn()(_o,{min:0,max:10,step:1});var Ao=(0,Fe.Z)(vo).$container,ko=Vr.c,Do=!!_o.range;delete _o.range;var Ro=_o.min,Ko=_o.max,Yo='");Do&&(Yo="".concat(Ro,'
    -
    +
    - `).concat(qo,` -
    ').concat(qr,"/").concat(Ko)),Ao.html('
    ').concat(wn()(Ur),`
    + `).concat(Yo,` + ').concat(Yr,"/").concat(Ko)),Ao.html('
    ').concat(wn()(Ur),`
    ').concat(uo,`
    -
    ').concat(qo,"
    "));var To=Ao.find(ko(".value")),So=Ao.find("input"),yo=Ao.find(ko(".range-track-progress"));return So.val(In()(qr)),So.on("change",function(){var Zr=Nn()(So.val());vo.onChange(Zr)}),So.on("input",function(){var Zr=Nn()(So.val());yo.css("width",Tr(Zr,Ro,Ko)+"%"),To.text(In()(Zr))}),vo}return(0,qe.Z)(zr)}(Hr),Tr=function(mr,Lr,zr){return((mr-Lr)/(zr-Lr)*100).toFixed(2)},cr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo){var vo;(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,qr,"checkbox");var _o=Vr.c,Ao=Cn()(Vr.c("checkbox-"));vo.$container.html('
    ').concat(wn()(Ur),`
    +
    ').concat(Yo,"
    "));var To=Ao.find(ko(".value")),So=Ao.find("input"),yo=Ao.find(ko(".range-track-progress"));return So.val(In()(Yr)),So.on("change",function(){var Zr=Nn()(So.val());vo.onChange(Zr)}),So.on("input",function(){var Zr=Nn()(So.val());yo.css("width",Tr(Zr,Ro,Ko)+"%"),To.text(In()(Zr))}),vo}return(0,qe.Z)(zr)}(Hr),Tr=function(mr,Lr,zr){return((mr-Lr)/(zr-Lr)*100).toFixed(2)},cr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo){var vo;(0,Ue.Z)(this,zr),vo=Lr.call(this,Vr,Kr,Yr,"checkbox");var _o=Vr.c,Ao=Cn()(Vr.c("checkbox-"));vo.$container.html('
    ').concat(wn()(Ur),`
    -
    `));var ko=vo.$container.find("input"),Do=ko.get(0);return Do.checked=qr,ko.on("change",function(){return vo.onChange(Do.checked)}),vo}return(0,qe.Z)(zr)}(Hr),Sr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur,uo,vo){var _o;(0,Ue.Z)(this,zr),_o=Lr.call(this,Vr,Kr,qr,"select");var Ao=Vr.c;_o.$container.html('
    ').concat(wn()(Ur),`
    + `));var ko=vo.$container.find("input"),Do=ko.get(0);return Do.checked=Yr,ko.on("change",function(){return vo.onChange(Do.checked)}),vo}return(0,qe.Z)(zr)}(Hr),Sr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur,uo,vo){var _o;(0,Ue.Z)(this,zr),_o=Lr.call(this,Vr,Kr,Yr,"select");var Ao=Vr.c;_o.$container.html('
    ').concat(wn()(Ur),`
    ').concat(uo,`
    -
    `));var ko=_o.$container.find("select");return ko.on("change",function(){return _o.onChange(ko.val())}),_o}return(0,qe.Z)(zr)}(Hr),Dr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,qr,Ur){var uo;return(0,Ue.Z)(this,zr),qr||(qr=Kr,Kr=""),(uo=Lr.call(this,Vr,"","","button")).$container.html(Vr.c('
    '.concat(wn()(Kr),`
    + `));var ko=_o.$container.find("select");return ko.on("change",function(){return _o.onChange(ko.val())}),_o}return(0,qe.Z)(zr)}(Hr),Dr=function(mr){(0,At.Z)(zr,mr);var Lr=xr(zr);function zr(Vr,Kr,Yr,Ur){var uo;return(0,Ue.Z)(this,zr),Yr||(Yr=Kr,Kr=""),(uo=Lr.call(this,Vr,"","","button")).$container.html(Vr.c('
    '.concat(wn()(Kr),`
    - -
    `))),uo.$container.find("button").on("click",Ur),uo}return(0,qe.Z)(zr)}(Hr);(function(mr,Lr){try{mr.exports=Lr,mr.exports.default=Lr}catch{}})(xe,Rr)},7638:function(xe,$e,Ie){Ie.d($e,{Z:function(){return or}});var Fe=Ie(168),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1443),hn=Ie.n(jt),vn=Ie(1512),bn=Ie.n(vn),_n=Ie(2461),wn=Ie.n(_n),kn=Ie(4331),Cn=Ie.n(kn),Sn=Ie(5610),xn=Ie.n(Sn),En=Ie(7483),Tn=Ie.n(En),An=Ie(3990),$n=Ie.n(An),Pn=Ie(6341),Nn=Ie.n(Pn),Mn=(Ie(3875),Ie(6954)),In=Ie.n(Mn);Ie(9585);function On(sr){var Kn="luna-".concat(sr,"-");function Zn(nr){return wn()(Cn()(nr).split(/\s+/),function(lr){return Nn()(lr,Kn)?lr:lr.replace(/[\w-]+/,function(ir){return"".concat(Kn).concat(ir)})}).join(" ")}return function(nr){if(/<[^>]*>/g.test(nr))try{var lr=Tn().parse(nr);return Rn(lr,function(ir){ir.attrs&&ir.attrs.class&&(ir.attrs.class=Zn(ir.attrs.class))}),Tn().stringify(lr)}catch{return Zn(nr)}return Zn(nr)}}function Rn(sr,Kn){for(var Zn=0,nr=sr.length;Zn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}var er,rr=function(sr){(0,At.Z)(Zn,sr);var Kn=Xn(Zn);function Zn(nr,lr){var ir,kr=lr.compName,Cr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Er=Cr===void 0?"light":Cr;return(0,Ue.Z)(this,Zn),(ir=Kn.call(this)).subComponents=[],ir.compName=kr,ir.c=On(kr),ir.options={},ir.container=nr,ir.$container=bn()(nr),ir.$container.addClass(["luna-".concat(kr),ir.c("platform-".concat(Vn()))]),ir.on("optionChange",function(dr,br,_r){var Pr=ir.c;dr==="theme"&&(ir.$container.rmClass(Pr("theme-".concat(_r))).addClass(Pr("theme-".concat(br))),Dn()(ir.subComponents,function(gr){return gr.setOption("theme",br)}))}),ir.setOption("theme",Er),ir}return(0,qe.Z)(Zn,[{key:"destroy",value:function(){this.destroySubComponents();var nr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(nr("platform-".concat(Vn()))).rmClass(nr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(nr,lr){var ir=this,kr=this.options,Cr={};typeof nr=="string"?Cr[nr]=lr:Cr=nr,Dn()(Cr,function(Er,dr){var br=kr[dr];kr[dr]=Er,ir.emit("optionChange",dr,Er,br)})}},{key:"getOption",value:function(nr){return this.options[nr]}},{key:"addSubComponent",value:function(nr){nr.setOption("theme",this.options.theme),this.subComponents.push(nr)}},{key:"removeSubComponent",value:function(nr){Wn()(this.subComponents,function(lr){return lr===nr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(nr){return nr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(nr){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(nr,lr),Fn()(this.options,nr)}},{key:"find",value:function(nr){return this.$container.find(this.c(nr))}}]),Zn}(hn()),Jn=Ie(1907),Yn=Ie.n(Jn),qn=Ie(8901),ar=Ie.n(qn);function tr(sr){var Kn=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}xe=Ie.hmd(xe);var or=function(sr){(0,At.Z)(Zn,sr);var Kn=tr(Zn);function Zn(nr){var lr,ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,Zn),(lr=Kn.call(this,nr,{compName:"tab"},ir)).initOptions(ir,{height:30}),lr.initTpl(),lr.$tabs=lr.find(".tabs"),lr.tabs=lr.$tabs.get(0),lr.$slider=lr.find(".slider"),lr.bindEvent(),lr.updateHeight(),lr}return(0,qe.Z)(Zn,[{key:"length",get:function(){return this.$tabs.find(this.c(".item")).length}},{key:"insert",value:function(nr,lr){var ir=this.c,kr=this.$tabs,Cr=this.options.height-1,Er=kr.find(ir(".item")),dr=Er.length,br='
    ').concat(ar()(lr.title),"
    ");nr>dr-1?kr.append(br):Er.eq(nr).before(br),this.updateSlider()}},{key:"append",value:function(nr){this.insert(this.length,nr)}},{key:"remove",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);if(kr.data("id")===nr){if(kr.hasClass(lr("selected")))if(ir.length>0){var Cr=ir.$tabs.find(lr(".item")).eq(0).data("id");ir.select(Cr)}else ir.emit("deselect");kr.remove()}}),this.updateSlider()}},{key:"select",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);kr.data("id")===nr?(kr.addClass(lr("selected")),ir.updateSlider(),ir.scrollToSelected(),ir.emit("select",nr)):kr.rmClass(lr("selected"))})}},{key:"scrollToSelected",value:function(){var nr,lr=this.$tabs,ir=this.tabs,kr=this.c,Cr=lr.find(kr(".selected")).get(0),Er=Cr.offsetLeft,dr=Cr.offsetWidth,br=ir.offsetWidth,_r=ir.scrollLeft;Er<_r?nr=Er:Er+dr>br+_r&&(nr=Er+dr-br),$n()(nr)&&(ir.scrollLeft=nr)}},{key:"hideScrollbar",value:function(){var nr=this.$tabs;if(getComputedStyle(this.tabs,"::-webkit-scrollbar").display!=="none"){var lr=function(){if($n()(Bn))return Bn;if(!document)return 16;var ir=document.createElement("div"),kr=document.createElement("div");ir.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),kr.setAttribute("style","height: 200px"),ir.appendChild(kr);var Cr=document.body||document.documentElement;return Cr.appendChild(ir),Bn=ir.offsetWidth-ir.clientWidth,Cr.removeChild(ir),Bn}();nr.css("height",this.options.height-1+lr+"px")}}},{key:"updateSlider",value:function(){var nr=this.$slider,lr=this.$tabs,ir=this.c,kr=lr.find(ir(".selected")).get(0);kr?nr.css({width:kr.offsetWidth,left:kr.offsetLeft-lr.get(0).scrollLeft}):nr.css({width:0})}},{key:"updateHeight",value:function(){var nr=this.options.height,lr=nr-1;this.find(".tabs-container").css("height",nr+"px"),this.find(".item").css({height:lr,lineHeight:lr}),this.hideScrollbar()}},{key:"bindEvent",value:function(){var nr=this,lr=this.tabs,ir=this.c;this.on("optionChange",function(Cr){Cr==="height"&&nr.updateHeight()});var kr=this;this.$tabs.on("wheel",function(Cr){Cr.preventDefault(),lr.scrollLeft+=Cr.origEvent.deltaY}).on("click",ir(".item"),function(){var Cr=bn()(this);kr.select(Cr.data("id"))}).on("scroll",function(){nr.updateSlider()})}},{key:"initTpl",value:function(){this.$container.html(this.c(Yn()(er||(er=(0,Fe.Z)([` + + `))),uo.$container.find("button").on("click",Ur),uo}return(0,qe.Z)(zr)}(Hr);(function(mr,Lr){try{mr.exports=Lr,mr.exports.default=Lr}catch{}})(xe,Rr)},7638:function(xe,$e,Ie){Ie.d($e,{Z:function(){return or}});var Fe=Ie(168),Ue=Ie(5671),qe=Ie(3144),At=Ie(9340),Dt=Ie(2963),Lt=Ie(1120),jt=Ie(1443),hn=Ie.n(jt),vn=Ie(1512),bn=Ie.n(vn),_n=Ie(2461),wn=Ie.n(_n),kn=Ie(4331),Cn=Ie.n(kn),Sn=Ie(5610),xn=Ie.n(Sn),En=Ie(7483),Tn=Ie.n(En),An=Ie(3990),$n=Ie.n(An),Pn=Ie(6341),Nn=Ie.n(Pn),Mn=(Ie(3875),Ie(6954)),In=Ie.n(Mn);Ie(9585);function On(sr){var Kn="luna-".concat(sr,"-");function Zn(nr){return wn()(Cn()(nr).split(/\s+/),function(lr){return Nn()(lr,Kn)?lr:lr.replace(/[\w-]+/,function(ir){return"".concat(Kn).concat(ir)})}).join(" ")}return function(nr){if(/<[^>]*>/g.test(nr))try{var lr=Tn().parse(nr);return Rn(lr,function(ir){ir.attrs&&ir.attrs.class&&(ir.attrs.class=Zn(ir.attrs.class))}),Tn().stringify(lr)}catch{return Zn(nr)}return Zn(nr)}}function Rn(sr,Kn){for(var Zn=0,nr=sr.length;Zn"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}var er,rr=function(sr){(0,At.Z)(Zn,sr);var Kn=Xn(Zn);function Zn(nr,lr){var ir,kr=lr.compName,Cr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,Er=Cr===void 0?"light":Cr;return(0,Ue.Z)(this,Zn),(ir=Kn.call(this)).subComponents=[],ir.compName=kr,ir.c=On(kr),ir.options={},ir.container=nr,ir.$container=bn()(nr),ir.$container.addClass(["luna-".concat(kr),ir.c("platform-".concat(Vn()))]),ir.on("optionChange",function(dr,br,_r){var Pr=ir.c;dr==="theme"&&(ir.$container.rmClass(Pr("theme-".concat(_r))).addClass(Pr("theme-".concat(br))),Dn()(ir.subComponents,function(gr){return gr.setOption("theme",br)}))}),ir.setOption("theme",Er),ir}return(0,qe.Z)(Zn,[{key:"destroy",value:function(){this.destroySubComponents();var nr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(nr("platform-".concat(Vn()))).rmClass(nr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(nr,lr){var ir=this,kr=this.options,Cr={};typeof nr=="string"?Cr[nr]=lr:Cr=nr,Dn()(Cr,function(Er,dr){var br=kr[dr];kr[dr]=Er,ir.emit("optionChange",dr,Er,br)})}},{key:"getOption",value:function(nr){return this.options[nr]}},{key:"addSubComponent",value:function(nr){nr.setOption("theme",this.options.theme),this.subComponents.push(nr)}},{key:"removeSubComponent",value:function(nr){Wn()(this.subComponents,function(lr){return lr===nr})}},{key:"destroySubComponents",value:function(){Dn()(this.subComponents,function(nr){return nr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(nr){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jn()(nr,lr),Fn()(this.options,nr)}},{key:"find",value:function(nr){return this.$container.find(this.c(nr))}}]),Zn}(hn()),Jn=Ie(1907),qn=Ie.n(Jn),Yn=Ie(8901),ar=Ie.n(Yn);function tr(sr){var Kn=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var Zn,nr=(0,Lt.Z)(sr);if(Kn){var lr=(0,Lt.Z)(this).constructor;Zn=Reflect.construct(nr,arguments,lr)}else Zn=nr.apply(this,arguments);return(0,Dt.Z)(this,Zn)}}xe=Ie.hmd(xe);var or=function(sr){(0,At.Z)(Zn,sr);var Kn=tr(Zn);function Zn(nr){var lr,ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Ue.Z)(this,Zn),(lr=Kn.call(this,nr,{compName:"tab"},ir)).initOptions(ir,{height:30}),lr.initTpl(),lr.$tabs=lr.find(".tabs"),lr.tabs=lr.$tabs.get(0),lr.$slider=lr.find(".slider"),lr.bindEvent(),lr.updateHeight(),lr}return(0,qe.Z)(Zn,[{key:"length",get:function(){return this.$tabs.find(this.c(".item")).length}},{key:"insert",value:function(nr,lr){var ir=this.c,kr=this.$tabs,Cr=this.options.height-1,Er=kr.find(ir(".item")),dr=Er.length,br='
    ').concat(ar()(lr.title),"
    ");nr>dr-1?kr.append(br):Er.eq(nr).before(br),this.updateSlider()}},{key:"append",value:function(nr){this.insert(this.length,nr)}},{key:"remove",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);if(kr.data("id")===nr){if(kr.hasClass(lr("selected")))if(ir.length>0){var Cr=ir.$tabs.find(lr(".item")).eq(0).data("id");ir.select(Cr)}else ir.emit("deselect");kr.remove()}}),this.updateSlider()}},{key:"select",value:function(nr){var lr=this.c,ir=this;this.$tabs.find(lr(".item")).each(function(){var kr=bn()(this);kr.data("id")===nr?(kr.addClass(lr("selected")),ir.updateSlider(),ir.scrollToSelected(),ir.emit("select",nr)):kr.rmClass(lr("selected"))})}},{key:"scrollToSelected",value:function(){var nr,lr=this.$tabs,ir=this.tabs,kr=this.c,Cr=lr.find(kr(".selected")).get(0),Er=Cr.offsetLeft,dr=Cr.offsetWidth,br=ir.offsetWidth,_r=ir.scrollLeft;Er<_r?nr=Er:Er+dr>br+_r&&(nr=Er+dr-br),$n()(nr)&&(ir.scrollLeft=nr)}},{key:"hideScrollbar",value:function(){var nr=this.$tabs;if(getComputedStyle(this.tabs,"::-webkit-scrollbar").display!=="none"){var lr=function(){if($n()(Bn))return Bn;if(!document)return 16;var ir=document.createElement("div"),kr=document.createElement("div");ir.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),kr.setAttribute("style","height: 200px"),ir.appendChild(kr);var Cr=document.body||document.documentElement;return Cr.appendChild(ir),Bn=ir.offsetWidth-ir.clientWidth,Cr.removeChild(ir),Bn}();nr.css("height",this.options.height-1+lr+"px")}}},{key:"updateSlider",value:function(){var nr=this.$slider,lr=this.$tabs,ir=this.c,kr=lr.find(ir(".selected")).get(0);kr?nr.css({width:kr.offsetWidth,left:kr.offsetLeft-lr.get(0).scrollLeft}):nr.css({width:0})}},{key:"updateHeight",value:function(){var nr=this.options.height,lr=nr-1;this.find(".tabs-container").css("height",nr+"px"),this.find(".item").css({height:lr,lineHeight:lr}),this.hideScrollbar()}},{key:"bindEvent",value:function(){var nr=this,lr=this.tabs,ir=this.c;this.on("optionChange",function(Cr){Cr==="height"&&nr.updateHeight()});var kr=this;this.$tabs.on("wheel",function(Cr){Cr.preventDefault(),lr.scrollLeft+=Cr.origEvent.deltaY}).on("click",ir(".item"),function(){var Cr=bn()(this);kr.select(Cr.data("id"))}).on("scroll",function(){nr.updateSlider()})}},{key:"initTpl",value:function(){this.$container.html(this.c(qn()(er||(er=(0,Fe.Z)([`
    - `])))))}}]),Zn}(rr);(function(sr,Kn){try{sr.exports=Kn,sr.exports.default=Kn}catch{}})(xe,or)},7049:function(xe,$e,Ie){Ie.d($e,{Z:function(){return dr}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(7326),At=Ie(1752),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(1443),vn=Ie.n(hn),bn=Ie(1512),_n=Ie.n(bn),wn=Ie(2461),kn=Ie.n(wn),Cn=Ie(4331),Sn=Ie.n(Cn),xn=Ie(5610),En=Ie.n(xn),Tn=Ie(7483),An=Ie.n(Tn),$n=(Ie(3990),Ie(6341)),Pn=Ie.n($n),Nn=(Ie(3875),Ie(6954)),Mn=Ie.n(Nn);Ie(9585);function In(_r){var Pr="luna-".concat(_r,"-");function gr(xr){return kn()(Sn()(xr).split(/\s+/),function(Rr){return Pn()(Rr,Pr)?Rr:Rr.replace(/[\w-]+/,function(Hr){return"".concat(Pr).concat(Hr)})}).join(" ")}return function(xr){if(/<[^>]*>/g.test(xr))try{var Rr=An().parse(xr);return On(Rr,function(Hr){Hr.attrs&&Hr.attrs.class&&(Hr.attrs.class=gr(Hr.attrs.class))}),An().stringify(Rr)}catch{return gr(xr)}return gr(xr)}}function On(_r,Pr){for(var gr=0,xr=_r.length;gr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;gr=Reflect.construct(xr,arguments,Rr)}else gr=xr.apply(this,arguments);return(0,Lt.Z)(this,gr)}}var Xn=function(_r){(0,Dt.Z)(gr,_r);var Pr=Wn(gr);function gr(xr,Rr){var Hr,Jr=Rr.compName,Gr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,$r=Gr===void 0?"light":Gr;return(0,Fe.Z)(this,gr),(Hr=Pr.call(this)).subComponents=[],Hr.compName=Jr,Hr.c=In(Jr),Hr.options={},Hr.container=xr,Hr.$container=_n()(xr),Hr.$container.addClass(["luna-".concat(Jr),Hr.c("platform-".concat(Bn()))]),Hr.on("optionChange",function(Br,Tr,cr){var Sr=Hr.c;Br==="theme"&&(Hr.$container.rmClass(Sr("theme-".concat(cr))).addClass(Sr("theme-".concat(Tr))),Ln()(Hr.subComponents,function(Dr){return Dr.setOption("theme",Tr)}))}),Hr.setOption("theme",$r),Hr}return(0,Ue.Z)(gr,[{key:"destroy",value:function(){this.destroySubComponents();var xr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(xr("platform-".concat(Bn()))).rmClass(xr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(xr,Rr){var Hr=this,Jr=this.options,Gr={};typeof xr=="string"?Gr[xr]=Rr:Gr=xr,Ln()(Gr,function($r,Br){var Tr=Jr[Br];Jr[Br]=$r,Hr.emit("optionChange",Br,$r,Tr)})}},{key:"getOption",value:function(xr){return this.options[xr]}},{key:"addSubComponent",value:function(xr){xr.setOption("theme",this.options.theme),this.subComponents.push(xr)}},{key:"removeSubComponent",value:function(xr){Gn()(this.subComponents,function(Rr){return Rr===xr})}},{key:"destroySubComponents",value:function(){Ln()(this.subComponents,function(xr){return xr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(xr){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};zn()(xr,Rr),Hn()(this.options,xr)}},{key:"find",value:function(xr){return this.$container.find(this.c(xr))}}]),gr}(vn()),er=Ie(9702),rr=Ie.n(er),Jn=Ie(8887),Yn=Ie.n(Jn),qn=Ie(2439),ar=Ie.n(qn),tr=Ie(6049),or=Ie.n(tr),sr=Ie(2327),Kn=Ie.n(sr),Zn=Ie(8901),nr=Ie.n(Zn),lr=Ie(7387),ir=Ie.n(lr),kr=Ie(6677),Cr=Ie.n(kr);function Er(_r){var Pr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;gr=Reflect.construct(xr,arguments,Rr)}else gr=xr.apply(this,arguments);return(0,Lt.Z)(this,gr)}}xe=Ie.hmd(xe);var dr=function(_r){(0,Dt.Z)(gr,_r);var Pr=Er(gr);function gr(xr){var Rr,Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,gr),(Rr=Pr.call(this,xr,{compName:"text-viewer"},Hr)).lineNum=0,Rr.copy=function(){var Jr=(0,qe.Z)(Rr).c,Gr=Rr.options,$r=Gr.text,Br=Gr.escape;Kn()(Br?$r:ir()(Cr()($r)));var Tr=Rr.$copy.find(Jr(".icon"));Tr.addClass(Jr("icon-check")).rmClass(Jr("icon-copy")),setTimeout(function(){Tr.rmClass(Jr("icon-check")).addClass(Jr("icon-copy"))},1e3)},Rr._updateCopyPos=function(){var Jr=(0,qe.Z)(Rr).container;Rr.$copy.css({top:Jr.scrollTop+5,right:5-Jr.scrollLeft})},Rr.initOptions(Hr,{text:"",escape:!0,showLineNumbers:!0,wrapLongLines:!0,maxHeight:1/0}),Rr.render=ar()(function(){return Rr._render()},16),Rr.updateCopyPos=or()(function(){return Rr._updateCopyPos()},300),Rr.initTpl(),Rr.$text=Rr.find(".text"),Rr.$copy=Rr.find(".copy"),Rn&&Rr.$copy.css("opacity","1"),Rr.options.text&&Rr.render(),Rr.bindEvent(),Rr.updateHeight(),Rr}return(0,Ue.Z)(gr,[{key:"append",value:function(xr){var Rr=this,Hr=this.options,Jr=this.$copy,Gr=this.c,$r=this.$text,Br=Hr.showLineNumbers;if(this.options.text+=xr,!Br)return this.$text.append(Hr.escape?nr()(xr):xr);var Tr=function(Sr){return Sr.length===0?[]:Sr.split(br)}(xr);Yn()(Tr)&&(Tr=[" "]),Sn()(rr()(Tr))||Tr.pop();var cr="";Ln()(Tr,function(Sr,Dr){Rr.lineNum+=1,cr+='
    ').concat(Rr.lineNum,'
    ').concat(Hr.escape?nr()(Sr):Sr||" ","
    ")}),$r.find(Gr(".table")).append(cr),Jr.hide(),$r.offset().height>40&&Jr.show(),this.updateCopyPos()}},{key:"destroy",value:function(){this.$container.off("scroll",this.updateCopyPos),(0,At.Z)((0,jt.Z)(gr.prototype),"destroy",this).call(this)}},{key:"updateHeight",value:function(){var xr=this.options.maxHeight;xr>0&&xr!==1/0?this.$text.css("max-height",xr):this.$text.css("max-height","none")}},{key:"initTpl",value:function(){this.$container.html(this.c('
    '))}},{key:"bindEvent",value:function(){var xr=this;this.on("optionChange",function(Rr){Rr==="maxHeight"?xr.updateHeight():xr.render()}),this.$container.on("scroll",this.updateCopyPos),this.$copy.on("click",this.copy)}},{key:"_render",value:function(){var xr=this.c,Rr=this.$text,Hr=this.options,Jr=Hr.text,Gr=Hr.wrapLongLines,$r=Hr.showLineNumbers;Gr?Rr.addClass(xr("wrap-long-lines")):Rr.rmClass(xr("wrap-long-lines")),$r?Rr.addClass(xr("line-numbers")):Rr.rmClass(xr("line-numbers")),Rr.html('
    ')),this.lineNum=0,this.options.text="",this.append(Jr)}}]),gr}(Xn),br=/\r\n|\r|\n/g;(function(_r,Pr){try{_r.exports=Pr,_r.exports.default=Pr}catch{}})(xe,dr)},6672:function(xe,$e,Ie){Ie.d($e,{Z:function(){return js}});var Fe={};Ie.r(Fe),Ie.d(Fe,{classPrefix:function(){return yr},drag:function(){return Qr},escapeJsonStr:function(){return qo},evalCss:function(){return Or},eventClient:function(){return Ir},eventPage:function(){return Xr},getFileName:function(){return So},hasSafeArea:function(){return Ko},isChobitsuEl:function(){return Mr},isErudaEl:function(){return Zr},pxToNum:function(){return yo},safeStorage:function(){return To}});var Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(4942),vn=Ie(1443),bn=Ie.n(vn),_n=new(bn());_n.ADD="ADD",_n.SHOW="SHOW",_n.SCALE="SCALE";var wn=_n,kn=Ie(1752),Cn=Ie(7496),Sn=Ie.n(Cn)()({init:function(wr){this._$el=wr},show:function(){return this._$el.show(),this},hide:function(){return this._$el.hide(),this},destroy:function(){this._$el.remove()}}),xn=Ie(1512),En=Ie.n(xn),Tn=Ie(125),An=Ie.n(Tn),$n=Ie(5229),Pn=Ie.n($n),Nn=Ie(3783),Mn=Ie.n(Nn),In=Ie(5972),On=Ie.n(In),Rn=Ie(6768),Bn=Ie.n(Rn),Vn=Ie(6341),Ln=Ie.n(Vn),Dn=Ie(4675),Hn=Ie.n(Dn),Fn=Ie(3367),zn=Ie.n(Fn),jn=Ie(2533),Gn=Ie.n(jn),Wn=Ie(7622),Xn=Ie.n(Wn),er=Ie(4193),rr=Ie.n(er),Jn=Ie(6329),Yn=Ie.n(Jn),qn=Ie(6472),ar=Ie.n(qn),tr=["background","foreground","selectForeground","accent","highlight","border","primary","contrast","varColor","stringColor","keywordColor","numberColor","operatorColor","linkColor","textColor","tagNameColor","functionColor","attributeNameColor","commentColor"],or=tr.length;function sr(wr){for(var vr={},pr=0;pr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var xr=function(wr){(0,Dt.Z)(pr,wr);var vr=gr(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=vr.call(this))._style=_r(Ie(8011)),Un.name="settings",Un._settings=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._setting=new Pr.Z(Un.get(0)),this._bindEvent()}},{key:"remove",value:function(Un,Qn){var ur=this;if(Bn()(Un)){var Ar=this;this._$el.find(".luna-setting-item-title").each(function(){En()(this).text()===Un&&Ar._setting.remove(this.settingItem)})}else this._settings=On()(this._settings,function(Fr){return Fr.config!==Un||Fr.key!==Qn||(ur._setting.remove(Fr.item),!1)});return this._cleanSeparator(),this}},{key:"destroy",value:function(){this._setting.destroy(),(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"clear",value:function(){this._settings=[],this._setting.clear()}},{key:"switch",value:function(Un,Qn,ur){var Ar=this._genId(),Fr=this._setting.appendCheckbox(Ar,!!Un.get(Qn),ur);return this._settings.push({config:Un,key:Qn,id:Ar,item:Fr}),this}},{key:"select",value:function(Un,Qn,ur,Ar){var Fr=this._genId(),Wr={};Mn()(Ar,function(io){return Wr[io]=io});var no=this._setting.appendSelect(Fr,Un.get(Qn),"",ur,Wr);return this._settings.push({config:Un,key:Qn,id:Fr,item:no}),this}},{key:"range",value:function(Un,Qn,ur,Ar){var Fr=Ar.min,Wr=Fr===void 0?0:Fr,no=Ar.max,io=no===void 0?1:no,Eo=Ar.step,Oo=Eo===void 0?.1:Eo,zo=this._genId(),Wo=this._setting.appendNumber(zo,Un.get(Qn),ur,{max:io,min:Wr,step:Oo,range:!0});return this._settings.push({config:Un,key:Qn,min:Wr,max:io,step:Oo,id:zo,item:Wo}),this}},{key:"button",value:function(Un,Qn){return this._setting.appendButton(Un,Qn),this}},{key:"separator",value:function(){return this._setting.appendSeparator(),this}},{key:"text",value:function(Un){return this._setting.appendTitle(Un),this}},{key:"_cleanSeparator",value:function(){var Un=Hn()(this._$el.get(0).children);function Qn(Fr){return Ln()(Fr.getAttribute("class"),"luna-setting-item-separator")}for(var ur=0,Ar=Un.length;ur0)return!0}return!1}function qo(wr){return cr()(wr).replace(/\\'/g,"'").replace(/\t/g,"\\t")}function To(wr,vr){var pr;switch(Dr()(vr)&&(vr=!0),wr){case"local":pr=window.localStorage;break;case"session":pr=window.sessionStorage}try{var Un="test-localStorage-"+Date.now();pr.setItem(Un,Un);var Qn=pr.getItem(Un);if(pr.removeItem(Un),Qn!==Un)throw new Error}catch{return vr?qr():void 0}return pr}function So(wr){var vr=Lr()(wr.split("/"));return vr===""&&(vr=(wr=new(Br())(wr)).hostname),vr}function yo(wr){return _o()(wr.replace("px",""))}function Zr(wr){for(;wr;){if(wr.id==="eruda")return!0;wr=wr.parentNode}return!1}function Mr(wr){for(;wr;){var vr="";if(wr.getAttribute&&(vr=wr.getAttribute("class")||""),Ln()(vr,"__chobitsu-hide__"))return!0;wr=wr.parentNode}return!1}var Or=_r;function yr(wr){if(/<[^>]*>/g.test(wr))try{var vr=Ro().parse(wr);return so(vr,function(pr){pr.attrs&&pr.attrs.class&&(pr.attrs.class=$o(pr.attrs.class))}),Ro().stringify(vr)}catch{return $o(wr)}return $o(wr)}function so(wr,vr){for(var pr=0,Un=wr.length;pr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var oo,co=En()(document),wo=function(wr){(0,Dt.Z)(pr,wr);var vr=to(pr);function pr(Un){var Qn;return(0,Ue.Z)(this,pr),Qn=vr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_onDragStart",function(ur){var Ar=Qn._$el;Ar.addClass(yr("active")),Qn._isClick=!0,ur=ur.origEvent,Qn._startX=Ir("x",ur),Qn._oldX=yo(Ar.css("left")),Qn._oldY=yo(Ar.css("top")),Qn._startY=Ir("y",ur),co.on(Qr("move"),Qn._onDragMove),co.on(Qr("end"),Qn._onDragEnd)}),(0,hn.Z)((0,At.Z)(Qn),"_onDragMove",function(ur){var Ar=Qn._$el.get(0).offsetWidth,Fr=Qn._$container.get(0).offsetWidth,Wr=Qn._$container.get(0).offsetHeight,no=Ir("x",ur=ur.origEvent)-Qn._startX,io=Ir("y",ur)-Qn._startY;(Math.abs(no)>3||Math.abs(io)>3)&&(Qn._isClick=!1);var Eo=Qn._oldX+no,Oo=Qn._oldY+io;Eo<0?Eo=0:Eo>Fr-Ar&&(Eo=Fr-Ar),Oo<0?Oo=0:Oo>Wr-Ar&&(Oo=Wr-Ar),Qn._$el.css({left:Eo,top:Oo})}),(0,hn.Z)((0,At.Z)(Qn),"_onDragEnd",function(ur){var Ar=Qn._$el;Qn._isClick&&Qn.emit("click"),Qn._onDragMove(ur),co.off(Qr("move"),Qn._onDragMove),co.off(Qr("end"),Qn._onDragEnd);var Fr=Qn.config;Fr.get("rememberPos")&&Fr.set("pos",{x:yo(Ar.css("left")),y:yo(Ar.css("top"))}),Ar.rmClass("eruda-active")}),Qn._style=_r(Ie(9195)),Qn._$container=Un,Qn._initTpl(),Qn._bindEvent(),Qn._registerListener(),Qn}return(0,qe.Z)(pr,[{key:"hide",value:function(){this._$el.hide()}},{key:"show",value:function(){this._$el.show()}},{key:"setPos",value:function(Un){this._isOutOfRange(Un)&&(Un=this._getDefPos()),this._$el.css({left:Un.x,top:Un.y}),this.config.set("pos",Un)}},{key:"getPos",value:function(){return this.config.get("pos")}},{key:"destroy",value:function(){_r.remove(this._style),this._unregisterListener(),this._$el.remove()}},{key:"_isOutOfRange",value:function(Un){Un=Un||this.config.get("pos");var Qn=this._getDefPos();return Un.x>Qn.x+10||Un.x<0||Un.y<0||Un.y>Qn.y+10}},{key:"_registerListener",value:function(){var Un=this;this._scaleListener=function(){return Hr()(function(){Un._isOutOfRange()&&Un._resetPos()})},wn.on(wn.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){wn.off(wn.SCALE,this._scaleListener)}},{key:"_initTpl",value:function(){var Un=this._$container;Un.append(yr('
    ')),this._$el=Un.find(".eruda-entry-btn")}},{key:"_resetPos",value:function(Un){var Qn=this.config,ur=Qn.get("pos"),Ar=this._getDefPos();Qn.get("rememberPos")&&!Un||(ur=Ar),this.setPos(ur)}},{key:"_bindEvent",value:function(){var Un=this;this._$el.on(Qr("start"),this._onDragStart),Gr().on("change",function(){return Un._resetPos(!0)}),window.addEventListener("resize",function(){return Un._resetPos()})}},{key:"initCfg",value:function(Un){var Qn=this.config=xr.createCfg("entry-button",{rememberPos:!0,pos:this._getDefPos()});Un.switch(Qn,"rememberPos","Remember Entry Button Position"),this._resetPos()}},{key:"_getDefPos",value:function(){var Un=this._$el.get(0).offsetWidth+10;return{x:window.innerWidth-Un,y:window.innerHeight-Un}}}]),pr}(bn()),Co=Ie(4989),Po=oo=new(Ie.n(Co)())("[Eruda]","warn");oo.formatter=function(wr,vr){return vr.unshift(this.name),vr};var Vo=Ie(3990),Fo=Ie.n(Vo),jo=Ie(2520),Yo=Ie.n(jo),oa=Ie(6930),Qo=Ie.n(oa),aa=Ie(4270),ia=Ie.n(aa),Xo=Ie(6093),pa=Ie.n(Xo),ea=Ie(129),Sa=Ie(7638);function na(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var fa=function(wr){(0,Dt.Z)(pr,wr);var vr=na(pr);function pr(Un){var Qn,ur=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).defaults,Ar=ur===void 0?{}:ur;return(0,Ue.Z)(this,pr),Qn=vr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_checkSafeArea",function(){var Fr=(0,At.Z)(Qn).$container;Ko()?Fr.addClass(yr("safe-area")):Fr.rmClass(yr("safe-area"))}),(0,hn.Z)((0,At.Z)(Qn),"_updateTabHeight",function(Fr){Qn._tab.setOption("height",40*Fr),Hr()(function(){Qn._tab.updateSlider()})}),Qn._defCfg=Yn()({transparency:1,displaySize:80,theme:Yo()()?"Dark":"Light"},Ar),Qn._style=_r(Ie(13)),Qn.$container=Un,Qn._isShow=!1,Qn._opacity=1,Qn._tools={},Qn._isResizing=!1,Qn._resizeTimer=null,Qn._resizeStartY=0,Qn._resizeStartSize=0,Qn._initTpl(),Qn._initTab(),Qn._initNotification(),Qn._initModal(),ia()(function(){return Qn._checkSafeArea()}),Qn._bindEvent(),Qn}return(0,qe.Z)(pr,[{key:"show",value:function(){var Un=this;return this._isShow=!0,this._$el.show(),this._tab.updateSlider(),setTimeout(function(){Un._$el.css("opacity",Un._opacity)},50),this.emit("show"),this}},{key:"hide",value:function(){var Un=this;return this._isShow=!1,this.emit("hide"),this._$el.css({opacity:0}),setTimeout(function(){return Un._$el.hide()},300),this}},{key:"toggle",value:function(){return this._isShow?this.hide():this.show()}},{key:"add",value:function(Un){var Qn=this._tab;if(!(Un instanceof Sn)){var ur=new Sn,Ar=ur.init,Fr=ur.show,Wr=ur.hide,no=ur.destroy;rr()(Un,{init:Ar,show:Fr,hide:Wr,destroy:no})}var io=Un.name;return io?(io=io.toLowerCase(),this._tools[io]?Po.warn("Tool ".concat(io," already exists")):(this._$tools.prepend('
    ')),Un.init(this._$tools.find(".".concat(yr(io),".").concat(yr("tool"))),this),Un.active=!1,this._tools[io]=Un,io==="settings"?Qn.append({id:io,title:io}):Qn.insert(Qn.length-1,{id:io,title:io}),this)):Po.error("You must specify a name for a tool")}},{key:"remove",value:function(Un){var Qn=this._tools;if(!Qn[Un])return Po.warn("Tool ".concat(Un," doesn't exist"));this._tab.remove(Un);var ur=Qn[Un];if(delete Qn[Un],ur.active){var Ar=Gn()(Qn);Ar.length>0&&this.showTool(Qn[Lr()(Ar)].name)}return ur.destroy(),this}},{key:"removeAll",value:function(){var Un=this;return Mn()(this._tools,function(Qn){return Un.remove(Qn.name)}),this}},{key:"get",value:function(Un){var Qn=this._tools[Un];if(Qn)return Qn}},{key:"showTool",value:function(Un){if(this._curTool===Un)return this;this._curTool=Un;var Qn=this._tools,ur=Qn[Un];if(ur){var Ar={};return Mn()(Qn,function(Fr){Fr.active&&(Ar=Fr,Fr.active=!1,Fr.hide())}),ur.active=!0,ur.show(),this._tab.select(Un),this.emit("showTool",Un,Ar),this}}},{key:"initCfg",value:function(Un){var Qn=this,ur=this.config=xr.createCfg("dev-tools",this._defCfg);this._setTransparency(ur.get("transparency")),this._setDisplaySize(ur.get("displaySize")),this._setTheme(ur.get("theme")),ur.on("change",function(Ar,Fr){switch(Ar){case"transparency":return Qn._setTransparency(Fr);case"displaySize":return Qn._setDisplaySize(Fr);case"theme":return Qn._setTheme(Fr)}}),Un.separator().select(ur,"theme","Theme",Gn()(_r.getThemes())).range(ur,"transparency","Transparency",{min:.2,max:1,step:.01}).range(ur,"displaySize","Display Size",{min:40,max:100,step:1}).button("Restore defaults and reload",function(){var Ar=To("local"),Fr=JSON.parse(JSON.stringify(Ar));Mn()(Fr,function(Wr,no){Bn()(Wr)&&Qo()(no,"eruda")&&Ar.removeItem(no)}),window.location.reload()}).separator()}},{key:"notify",value:function(Un,Qn){this._notification.notify(Un,Qn)}},{key:"destroy",value:function(){_r.remove(this._style),this.removeAll(),this._tab.destroy(),this._$el.remove(),window.removeEventListener("resize",this._checkSafeArea),wn.off(wn.SCALE,this._updateTabHeight)}},{key:"_setTheme",value:function(Un){var Qn=this.$container;(function(ur){return Ln()(nr,ur)})(Un)?Qn.addClass(yr("dark")):Qn.rmClass(yr("dark")),_r.setTheme(Un)}},{key:"_setTransparency",value:function(Un){Fo()(Un)&&(this._opacity=Un,this._isShow&&this._$el.css({opacity:Un}))}},{key:"_setDisplaySize",value:function(Un){Fo()(Un)&&this._$el.css({height:Un+"%"})}},{key:"_initTpl",value:function(){var Un=this.$container;Un.append(yr(` + `])))))}}]),Zn}(rr);(function(sr,Kn){try{sr.exports=Kn,sr.exports.default=Kn}catch{}})(xe,or)},7049:function(xe,$e,Ie){Ie.d($e,{Z:function(){return dr}});var Fe=Ie(5671),Ue=Ie(3144),qe=Ie(7326),At=Ie(1752),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(1443),vn=Ie.n(hn),bn=Ie(1512),_n=Ie.n(bn),wn=Ie(2461),kn=Ie.n(wn),Cn=Ie(4331),Sn=Ie.n(Cn),xn=Ie(5610),En=Ie.n(xn),Tn=Ie(7483),An=Ie.n(Tn),$n=(Ie(3990),Ie(6341)),Pn=Ie.n($n),Nn=(Ie(3875),Ie(6954)),Mn=Ie.n(Nn);Ie(9585);function In(_r){var Pr="luna-".concat(_r,"-");function gr(xr){return kn()(Sn()(xr).split(/\s+/),function(Rr){return Pn()(Rr,Pr)?Rr:Rr.replace(/[\w-]+/,function(Hr){return"".concat(Pr).concat(Hr)})}).join(" ")}return function(xr){if(/<[^>]*>/g.test(xr))try{var Rr=An().parse(xr);return On(Rr,function(Hr){Hr.attrs&&Hr.attrs.class&&(Hr.attrs.class=gr(Hr.attrs.class))}),An().stringify(Rr)}catch{return gr(xr)}return gr(xr)}}function On(_r,Pr){for(var gr=0,xr=_r.length;gr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;gr=Reflect.construct(xr,arguments,Rr)}else gr=xr.apply(this,arguments);return(0,Lt.Z)(this,gr)}}var Xn=function(_r){(0,Dt.Z)(gr,_r);var Pr=Wn(gr);function gr(xr,Rr){var Hr,Jr=Rr.compName,Gr=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}).theme,$r=Gr===void 0?"light":Gr;return(0,Fe.Z)(this,gr),(Hr=Pr.call(this)).subComponents=[],Hr.compName=Jr,Hr.c=In(Jr),Hr.options={},Hr.container=xr,Hr.$container=_n()(xr),Hr.$container.addClass(["luna-".concat(Jr),Hr.c("platform-".concat(Bn()))]),Hr.on("optionChange",function(Br,Tr,cr){var Sr=Hr.c;Br==="theme"&&(Hr.$container.rmClass(Sr("theme-".concat(cr))).addClass(Sr("theme-".concat(Tr))),Ln()(Hr.subComponents,function(Dr){return Dr.setOption("theme",Tr)}))}),Hr.setOption("theme",$r),Hr}return(0,Ue.Z)(gr,[{key:"destroy",value:function(){this.destroySubComponents();var xr=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(xr("platform-".concat(Bn()))).rmClass(xr("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()}},{key:"setOption",value:function(xr,Rr){var Hr=this,Jr=this.options,Gr={};typeof xr=="string"?Gr[xr]=Rr:Gr=xr,Ln()(Gr,function($r,Br){var Tr=Jr[Br];Jr[Br]=$r,Hr.emit("optionChange",Br,$r,Tr)})}},{key:"getOption",value:function(xr){return this.options[xr]}},{key:"addSubComponent",value:function(xr){xr.setOption("theme",this.options.theme),this.subComponents.push(xr)}},{key:"removeSubComponent",value:function(xr){Gn()(this.subComponents,function(Rr){return Rr===xr})}},{key:"destroySubComponents",value:function(){Ln()(this.subComponents,function(xr){return xr.destroy()}),this.subComponents=[]}},{key:"initOptions",value:function(xr){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};zn()(xr,Rr),Hn()(this.options,xr)}},{key:"find",value:function(xr){return this.$container.find(this.c(xr))}}]),gr}(vn()),er=Ie(9702),rr=Ie.n(er),Jn=Ie(8887),qn=Ie.n(Jn),Yn=Ie(2439),ar=Ie.n(Yn),tr=Ie(6049),or=Ie.n(tr),sr=Ie(2327),Kn=Ie.n(sr),Zn=Ie(8901),nr=Ie.n(Zn),lr=Ie(7387),ir=Ie.n(lr),kr=Ie(6677),Cr=Ie.n(kr);function Er(_r){var Pr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var gr,xr=(0,jt.Z)(_r);if(Pr){var Rr=(0,jt.Z)(this).constructor;gr=Reflect.construct(xr,arguments,Rr)}else gr=xr.apply(this,arguments);return(0,Lt.Z)(this,gr)}}xe=Ie.hmd(xe);var dr=function(_r){(0,Dt.Z)(gr,_r);var Pr=Er(gr);function gr(xr){var Rr,Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,Fe.Z)(this,gr),(Rr=Pr.call(this,xr,{compName:"text-viewer"},Hr)).lineNum=0,Rr.copy=function(){var Jr=(0,qe.Z)(Rr).c,Gr=Rr.options,$r=Gr.text,Br=Gr.escape;Kn()(Br?$r:ir()(Cr()($r)));var Tr=Rr.$copy.find(Jr(".icon"));Tr.addClass(Jr("icon-check")).rmClass(Jr("icon-copy")),setTimeout(function(){Tr.rmClass(Jr("icon-check")).addClass(Jr("icon-copy"))},1e3)},Rr._updateCopyPos=function(){var Jr=(0,qe.Z)(Rr).container;Rr.$copy.css({top:Jr.scrollTop+5,right:5-Jr.scrollLeft})},Rr.initOptions(Hr,{text:"",escape:!0,showLineNumbers:!0,wrapLongLines:!0,maxHeight:1/0}),Rr.render=ar()(function(){return Rr._render()},16),Rr.updateCopyPos=or()(function(){return Rr._updateCopyPos()},300),Rr.initTpl(),Rr.$text=Rr.find(".text"),Rr.$copy=Rr.find(".copy"),Rn&&Rr.$copy.css("opacity","1"),Rr.options.text&&Rr.render(),Rr.bindEvent(),Rr.updateHeight(),Rr}return(0,Ue.Z)(gr,[{key:"append",value:function(xr){var Rr=this,Hr=this.options,Jr=this.$copy,Gr=this.c,$r=this.$text,Br=Hr.showLineNumbers;if(this.options.text+=xr,!Br)return this.$text.append(Hr.escape?nr()(xr):xr);var Tr=function(Sr){return Sr.length===0?[]:Sr.split(br)}(xr);qn()(Tr)&&(Tr=[" "]),Sn()(rr()(Tr))||Tr.pop();var cr="";Ln()(Tr,function(Sr,Dr){Rr.lineNum+=1,cr+='
    ').concat(Rr.lineNum,'
    ').concat(Hr.escape?nr()(Sr):Sr||" ","
    ")}),$r.find(Gr(".table")).append(cr),Jr.hide(),$r.offset().height>40&&Jr.show(),this.updateCopyPos()}},{key:"destroy",value:function(){this.$container.off("scroll",this.updateCopyPos),(0,At.Z)((0,jt.Z)(gr.prototype),"destroy",this).call(this)}},{key:"updateHeight",value:function(){var xr=this.options.maxHeight;xr>0&&xr!==1/0?this.$text.css("max-height",xr):this.$text.css("max-height","none")}},{key:"initTpl",value:function(){this.$container.html(this.c('
    '))}},{key:"bindEvent",value:function(){var xr=this;this.on("optionChange",function(Rr){Rr==="maxHeight"?xr.updateHeight():xr.render()}),this.$container.on("scroll",this.updateCopyPos),this.$copy.on("click",this.copy)}},{key:"_render",value:function(){var xr=this.c,Rr=this.$text,Hr=this.options,Jr=Hr.text,Gr=Hr.wrapLongLines,$r=Hr.showLineNumbers;Gr?Rr.addClass(xr("wrap-long-lines")):Rr.rmClass(xr("wrap-long-lines")),$r?Rr.addClass(xr("line-numbers")):Rr.rmClass(xr("line-numbers")),Rr.html('
    ')),this.lineNum=0,this.options.text="",this.append(Jr)}}]),gr}(Xn),br=/\r\n|\r|\n/g;(function(_r,Pr){try{_r.exports=Pr,_r.exports.default=Pr}catch{}})(xe,dr)},6672:function(xe,$e,Ie){Ie.d($e,{Z:function(){return js}});var Fe={};Ie.r(Fe),Ie.d(Fe,{classPrefix:function(){return yr},drag:function(){return Qr},escapeJsonStr:function(){return Yo},evalCss:function(){return Or},eventClient:function(){return Ir},eventPage:function(){return Xr},getFileName:function(){return So},hasSafeArea:function(){return Ko},isChobitsuEl:function(){return Mr},isErudaEl:function(){return Zr},pxToNum:function(){return yo},safeStorage:function(){return To}});var Ue=Ie(5671),qe=Ie(3144),At=Ie(7326),Dt=Ie(9340),Lt=Ie(2963),jt=Ie(1120),hn=Ie(4942),vn=Ie(1443),bn=Ie.n(vn),_n=new(bn());_n.ADD="ADD",_n.SHOW="SHOW",_n.SCALE="SCALE";var wn=_n,kn=Ie(1752),Cn=Ie(7496),Sn=Ie.n(Cn)()({init:function(wr){this._$el=wr},show:function(){return this._$el.show(),this},hide:function(){return this._$el.hide(),this},destroy:function(){this._$el.remove()}}),xn=Ie(1512),En=Ie.n(xn),Tn=Ie(125),An=Ie.n(Tn),$n=Ie(5229),Pn=Ie.n($n),Nn=Ie(3783),Mn=Ie.n(Nn),In=Ie(5972),On=Ie.n(In),Rn=Ie(6768),Bn=Ie.n(Rn),Vn=Ie(6341),Ln=Ie.n(Vn),Dn=Ie(4675),Hn=Ie.n(Dn),Fn=Ie(3367),zn=Ie.n(Fn),jn=Ie(2533),Gn=Ie.n(jn),Wn=Ie(7622),Xn=Ie.n(Wn),er=Ie(4193),rr=Ie.n(er),Jn=Ie(6329),qn=Ie.n(Jn),Yn=Ie(6472),ar=Ie.n(Yn),tr=["background","foreground","selectForeground","accent","highlight","border","primary","contrast","varColor","stringColor","keywordColor","numberColor","operatorColor","linkColor","textColor","tagNameColor","functionColor","attributeNameColor","commentColor"],or=tr.length;function sr(wr){for(var vr={},pr=0;pr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var xr=function(wr){(0,Dt.Z)(pr,wr);var vr=gr(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),(Un=vr.call(this))._style=_r(Ie(8011)),Un.name="settings",Un._settings=[],Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._setting=new Pr.Z(Un.get(0)),this._bindEvent()}},{key:"remove",value:function(Un,Qn){var ur=this;if(Bn()(Un)){var Ar=this;this._$el.find(".luna-setting-item-title").each(function(){En()(this).text()===Un&&Ar._setting.remove(this.settingItem)})}else this._settings=On()(this._settings,function(Fr){return Fr.config!==Un||Fr.key!==Qn||(ur._setting.remove(Fr.item),!1)});return this._cleanSeparator(),this}},{key:"destroy",value:function(){this._setting.destroy(),(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),_r.remove(this._style)}},{key:"clear",value:function(){this._settings=[],this._setting.clear()}},{key:"switch",value:function(Un,Qn,ur){var Ar=this._genId(),Fr=this._setting.appendCheckbox(Ar,!!Un.get(Qn),ur);return this._settings.push({config:Un,key:Qn,id:Ar,item:Fr}),this}},{key:"select",value:function(Un,Qn,ur,Ar){var Fr=this._genId(),Wr={};Mn()(Ar,function(io){return Wr[io]=io});var no=this._setting.appendSelect(Fr,Un.get(Qn),"",ur,Wr);return this._settings.push({config:Un,key:Qn,id:Fr,item:no}),this}},{key:"range",value:function(Un,Qn,ur,Ar){var Fr=Ar.min,Wr=Fr===void 0?0:Fr,no=Ar.max,io=no===void 0?1:no,Eo=Ar.step,Oo=Eo===void 0?.1:Eo,zo=this._genId(),Wo=this._setting.appendNumber(zo,Un.get(Qn),ur,{max:io,min:Wr,step:Oo,range:!0});return this._settings.push({config:Un,key:Qn,min:Wr,max:io,step:Oo,id:zo,item:Wo}),this}},{key:"button",value:function(Un,Qn){return this._setting.appendButton(Un,Qn),this}},{key:"separator",value:function(){return this._setting.appendSeparator(),this}},{key:"text",value:function(Un){return this._setting.appendTitle(Un),this}},{key:"_cleanSeparator",value:function(){var Un=Hn()(this._$el.get(0).children);function Qn(Fr){return Ln()(Fr.getAttribute("class"),"luna-setting-item-separator")}for(var ur=0,Ar=Un.length;ur0)return!0}return!1}function Yo(wr){return cr()(wr).replace(/\\'/g,"'").replace(/\t/g,"\\t")}function To(wr,vr){var pr;switch(Dr()(vr)&&(vr=!0),wr){case"local":pr=window.localStorage;break;case"session":pr=window.sessionStorage}try{var Un="test-localStorage-"+Date.now();pr.setItem(Un,Un);var Qn=pr.getItem(Un);if(pr.removeItem(Un),Qn!==Un)throw new Error}catch{return vr?Yr():void 0}return pr}function So(wr){var vr=Lr()(wr.split("/"));return vr===""&&(vr=(wr=new(Br())(wr)).hostname),vr}function yo(wr){return _o()(wr.replace("px",""))}function Zr(wr){for(;wr;){if(wr.id==="eruda")return!0;wr=wr.parentNode}return!1}function Mr(wr){for(;wr;){var vr="";if(wr.getAttribute&&(vr=wr.getAttribute("class")||""),Ln()(vr,"__chobitsu-hide__"))return!0;wr=wr.parentNode}return!1}var Or=_r;function yr(wr){if(/<[^>]*>/g.test(wr))try{var vr=Ro().parse(wr);return so(vr,function(pr){pr.attrs&&pr.attrs.class&&(pr.attrs.class=$o(pr.attrs.class))}),Ro().stringify(vr)}catch{return $o(wr)}return $o(wr)}function so(wr,vr){for(var pr=0,Un=wr.length;pr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var oo,co=En()(document),wo=function(wr){(0,Dt.Z)(pr,wr);var vr=to(pr);function pr(Un){var Qn;return(0,Ue.Z)(this,pr),Qn=vr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_onDragStart",function(ur){var Ar=Qn._$el;Ar.addClass(yr("active")),Qn._isClick=!0,ur=ur.origEvent,Qn._startX=Ir("x",ur),Qn._oldX=yo(Ar.css("left")),Qn._oldY=yo(Ar.css("top")),Qn._startY=Ir("y",ur),co.on(Qr("move"),Qn._onDragMove),co.on(Qr("end"),Qn._onDragEnd)}),(0,hn.Z)((0,At.Z)(Qn),"_onDragMove",function(ur){var Ar=Qn._$el.get(0).offsetWidth,Fr=Qn._$container.get(0).offsetWidth,Wr=Qn._$container.get(0).offsetHeight,no=Ir("x",ur=ur.origEvent)-Qn._startX,io=Ir("y",ur)-Qn._startY;(Math.abs(no)>3||Math.abs(io)>3)&&(Qn._isClick=!1);var Eo=Qn._oldX+no,Oo=Qn._oldY+io;Eo<0?Eo=0:Eo>Fr-Ar&&(Eo=Fr-Ar),Oo<0?Oo=0:Oo>Wr-Ar&&(Oo=Wr-Ar),Qn._$el.css({left:Eo,top:Oo})}),(0,hn.Z)((0,At.Z)(Qn),"_onDragEnd",function(ur){var Ar=Qn._$el;Qn._isClick&&Qn.emit("click"),Qn._onDragMove(ur),co.off(Qr("move"),Qn._onDragMove),co.off(Qr("end"),Qn._onDragEnd);var Fr=Qn.config;Fr.get("rememberPos")&&Fr.set("pos",{x:yo(Ar.css("left")),y:yo(Ar.css("top"))}),Ar.rmClass("eruda-active")}),Qn._style=_r(Ie(9195)),Qn._$container=Un,Qn._initTpl(),Qn._bindEvent(),Qn._registerListener(),Qn}return(0,qe.Z)(pr,[{key:"hide",value:function(){this._$el.hide()}},{key:"show",value:function(){this._$el.show()}},{key:"setPos",value:function(Un){this._isOutOfRange(Un)&&(Un=this._getDefPos()),this._$el.css({left:Un.x,top:Un.y}),this.config.set("pos",Un)}},{key:"getPos",value:function(){return this.config.get("pos")}},{key:"destroy",value:function(){_r.remove(this._style),this._unregisterListener(),this._$el.remove()}},{key:"_isOutOfRange",value:function(Un){Un=Un||this.config.get("pos");var Qn=this._getDefPos();return Un.x>Qn.x+10||Un.x<0||Un.y<0||Un.y>Qn.y+10}},{key:"_registerListener",value:function(){var Un=this;this._scaleListener=function(){return Hr()(function(){Un._isOutOfRange()&&Un._resetPos()})},wn.on(wn.SCALE,this._scaleListener)}},{key:"_unregisterListener",value:function(){wn.off(wn.SCALE,this._scaleListener)}},{key:"_initTpl",value:function(){var Un=this._$container;Un.append(yr('
    ')),this._$el=Un.find(".eruda-entry-btn")}},{key:"_resetPos",value:function(Un){var Qn=this.config,ur=Qn.get("pos"),Ar=this._getDefPos();Qn.get("rememberPos")&&!Un||(ur=Ar),this.setPos(ur)}},{key:"_bindEvent",value:function(){var Un=this;this._$el.on(Qr("start"),this._onDragStart),Gr().on("change",function(){return Un._resetPos(!0)}),window.addEventListener("resize",function(){return Un._resetPos()})}},{key:"initCfg",value:function(Un){var Qn=this.config=xr.createCfg("entry-button",{rememberPos:!0,pos:this._getDefPos()});Un.switch(Qn,"rememberPos","Remember Entry Button Position"),this._resetPos()}},{key:"_getDefPos",value:function(){var Un=this._$el.get(0).offsetWidth+10;return{x:window.innerWidth-Un,y:window.innerHeight-Un}}}]),pr}(bn()),Co=Ie(4989),Po=oo=new(Ie.n(Co)())("[Eruda]","warn");oo.formatter=function(wr,vr){return vr.unshift(this.name),vr};var Vo=Ie(3990),Fo=Ie.n(Vo),jo=Ie(2520),qo=Ie.n(jo),oa=Ie(6930),Qo=Ie.n(oa),aa=Ie(4270),ia=Ie.n(aa),Xo=Ie(6093),pa=Ie.n(Xo),ea=Ie(129),Sa=Ie(7638);function na(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var fa=function(wr){(0,Dt.Z)(pr,wr);var vr=na(pr);function pr(Un){var Qn,ur=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).defaults,Ar=ur===void 0?{}:ur;return(0,Ue.Z)(this,pr),Qn=vr.call(this),(0,hn.Z)((0,At.Z)(Qn),"_checkSafeArea",function(){var Fr=(0,At.Z)(Qn).$container;Ko()?Fr.addClass(yr("safe-area")):Fr.rmClass(yr("safe-area"))}),(0,hn.Z)((0,At.Z)(Qn),"_updateTabHeight",function(Fr){Qn._tab.setOption("height",40*Fr),Hr()(function(){Qn._tab.updateSlider()})}),Qn._defCfg=qn()({transparency:1,displaySize:80,theme:qo()()?"Dark":"Light"},Ar),Qn._style=_r(Ie(13)),Qn.$container=Un,Qn._isShow=!1,Qn._opacity=1,Qn._tools={},Qn._isResizing=!1,Qn._resizeTimer=null,Qn._resizeStartY=0,Qn._resizeStartSize=0,Qn._initTpl(),Qn._initTab(),Qn._initNotification(),Qn._initModal(),ia()(function(){return Qn._checkSafeArea()}),Qn._bindEvent(),Qn}return(0,qe.Z)(pr,[{key:"show",value:function(){var Un=this;return this._isShow=!0,this._$el.show(),this._tab.updateSlider(),setTimeout(function(){Un._$el.css("opacity",Un._opacity)},50),this.emit("show"),this}},{key:"hide",value:function(){var Un=this;return this._isShow=!1,this.emit("hide"),this._$el.css({opacity:0}),setTimeout(function(){return Un._$el.hide()},300),this}},{key:"toggle",value:function(){return this._isShow?this.hide():this.show()}},{key:"add",value:function(Un){var Qn=this._tab;if(!(Un instanceof Sn)){var ur=new Sn,Ar=ur.init,Fr=ur.show,Wr=ur.hide,no=ur.destroy;rr()(Un,{init:Ar,show:Fr,hide:Wr,destroy:no})}var io=Un.name;return io?(io=io.toLowerCase(),this._tools[io]?Po.warn("Tool ".concat(io," already exists")):(this._$tools.prepend('
    ')),Un.init(this._$tools.find(".".concat(yr(io),".").concat(yr("tool"))),this),Un.active=!1,this._tools[io]=Un,io==="settings"?Qn.append({id:io,title:io}):Qn.insert(Qn.length-1,{id:io,title:io}),this)):Po.error("You must specify a name for a tool")}},{key:"remove",value:function(Un){var Qn=this._tools;if(!Qn[Un])return Po.warn("Tool ".concat(Un," doesn't exist"));this._tab.remove(Un);var ur=Qn[Un];if(delete Qn[Un],ur.active){var Ar=Gn()(Qn);Ar.length>0&&this.showTool(Qn[Lr()(Ar)].name)}return ur.destroy(),this}},{key:"removeAll",value:function(){var Un=this;return Mn()(this._tools,function(Qn){return Un.remove(Qn.name)}),this}},{key:"get",value:function(Un){var Qn=this._tools[Un];if(Qn)return Qn}},{key:"showTool",value:function(Un){if(this._curTool===Un)return this;this._curTool=Un;var Qn=this._tools,ur=Qn[Un];if(ur){var Ar={};return Mn()(Qn,function(Fr){Fr.active&&(Ar=Fr,Fr.active=!1,Fr.hide())}),ur.active=!0,ur.show(),this._tab.select(Un),this.emit("showTool",Un,Ar),this}}},{key:"initCfg",value:function(Un){var Qn=this,ur=this.config=xr.createCfg("dev-tools",this._defCfg);this._setTransparency(ur.get("transparency")),this._setDisplaySize(ur.get("displaySize")),this._setTheme(ur.get("theme")),ur.on("change",function(Ar,Fr){switch(Ar){case"transparency":return Qn._setTransparency(Fr);case"displaySize":return Qn._setDisplaySize(Fr);case"theme":return Qn._setTheme(Fr)}}),Un.separator().select(ur,"theme","Theme",Gn()(_r.getThemes())).range(ur,"transparency","Transparency",{min:.2,max:1,step:.01}).range(ur,"displaySize","Display Size",{min:40,max:100,step:1}).button("Restore defaults and reload",function(){var Ar=To("local"),Fr=JSON.parse(JSON.stringify(Ar));Mn()(Fr,function(Wr,no){Bn()(Wr)&&Qo()(no,"eruda")&&Ar.removeItem(no)}),window.location.reload()}).separator()}},{key:"notify",value:function(Un,Qn){this._notification.notify(Un,Qn)}},{key:"destroy",value:function(){_r.remove(this._style),this.removeAll(),this._tab.destroy(),this._$el.remove(),window.removeEventListener("resize",this._checkSafeArea),wn.off(wn.SCALE,this._updateTabHeight)}},{key:"_setTheme",value:function(Un){var Qn=this.$container;(function(ur){return Ln()(nr,ur)})(Un)?Qn.addClass(yr("dark")):Qn.rmClass(yr("dark")),_r.setTheme(Un)}},{key:"_setTransparency",value:function(Un){Fo()(Un)&&(this._opacity=Un,this._isShow&&this._$el.css({opacity:Un}))}},{key:"_setDisplaySize",value:function(Un){Fo()(Un)&&this._$el.css({height:Un+"%"})}},{key:"_initTpl",value:function(){var Un=this.$container;Un.append(yr(`
    @@ -160,7 +160,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
    - `));var Qn=Un.find(yr(".js-input")),ur=Qn.find("textarea"),Ar=Qn.find(yr(".buttons"));Yn()(this,{_$control:Un.find(yr(".control")),_$logs:Un.find(yr(".logs-container")),_$inputContainer:Qn,_$input:ur,_$inputBtns:Ar,_$filterText:Un.find(yr(".filter-text"))})}},{key:"_initLogger",value:function(){var Un=this.config,Qn=Un.get("maxLogNum");Qn=Qn==="infinite"?0:+Qn;var ur=this._$control.find(yr(".level")),Ar=new di.Z(this._$logs.get(0),{asyncRender:Un.get("asyncRender"),maxNum:Qn,showHeader:Un.get("displayExtraInfo"),unenumerable:Un.get("displayUnenumerable"),accessGetter:Un.get("displayGetterVal"),lazyEvaluation:Un.get("lazyEvaluation")});Ar.on("optionChange",function(Fr,Wr){Fr==="level"&&ur.each(function(){var no=En()(this),io=no.data("level");no[io===Wr||io==="all"&&ar()(Wr)?"addClass":"rmClass"](yr("active"))})}),Un.get("overrideConsole")&&this.overrideConsole(),this._logger=Ar}},{key:"_exposeLogger",value:function(){var Un=this,Qn=this._logger;["html"].concat(Pa).forEach(function(ur){return Un[ur]=function(){for(var Ar=arguments.length,Fr=new Array(Ar),Wr=0;Wr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ki=function(wr){(0,Dt.Z)(pr,wr);var vr=wi(pr);function pr(Un,Qn){var ur;return(0,Ue.Z)(this,pr),ur=vr.call(this),(0,hn.Z)((0,At.Z)(ur),"_copyRes",function(){var Ar=ur._detailData,Fr="".concat(Ar.method," ").concat(Ar.url," ").concat(Ar.status,` + `));var Qn=Un.find(yr(".js-input")),ur=Qn.find("textarea"),Ar=Qn.find(yr(".buttons"));qn()(this,{_$control:Un.find(yr(".control")),_$logs:Un.find(yr(".logs-container")),_$inputContainer:Qn,_$input:ur,_$inputBtns:Ar,_$filterText:Un.find(yr(".filter-text"))})}},{key:"_initLogger",value:function(){var Un=this.config,Qn=Un.get("maxLogNum");Qn=Qn==="infinite"?0:+Qn;var ur=this._$control.find(yr(".level")),Ar=new di.Z(this._$logs.get(0),{asyncRender:Un.get("asyncRender"),maxNum:Qn,showHeader:Un.get("displayExtraInfo"),unenumerable:Un.get("displayUnenumerable"),accessGetter:Un.get("displayGetterVal"),lazyEvaluation:Un.get("lazyEvaluation")});Ar.on("optionChange",function(Fr,Wr){Fr==="level"&&ur.each(function(){var no=En()(this),io=no.data("level");no[io===Wr||io==="all"&&ar()(Wr)?"addClass":"rmClass"](yr("active"))})}),Un.get("overrideConsole")&&this.overrideConsole(),this._logger=Ar}},{key:"_exposeLogger",value:function(){var Un=this,Qn=this._logger;["html"].concat(Pa).forEach(function(ur){return Un[ur]=function(){for(var Ar=arguments.length,Fr=new Array(Ar),Wr=0;Wr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var ki=function(wr){(0,Dt.Z)(pr,wr);var vr=wi(pr);function pr(Un,Qn){var ur;return(0,Ue.Z)(this,pr),ur=vr.call(this),(0,hn.Z)((0,At.Z)(ur),"_copyRes",function(){var Ar=ur._detailData,Fr="".concat(Ar.method," ").concat(Ar.url," ").concat(Ar.status,` `);sa()(Ar.data)||(Fr+=` Request Data @@ -206,11 +206,11 @@ Response Headers `).concat(Fr,` - `);this._$container.html(no).show(),this._detailData=Un}},{key:"hide",value:function(){this._$container.hide(),this.emit("hide")}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._devtools;this._$container.on("click",yr(".back"),function(){return Un.hide()}).on("click",yr(".copy-res"),this._copyRes).on("click",yr(".http .response"),function(){var Ar=Un._detailData,Fr=Ar.resTxt;if(bi()(Fr))return ur("object",Fr);switch(Ar.subType){case"css":return ur("css",Fr);case"html":return ur("html",Fr);case"javascript":return ur("js",Fr);case"json":return ur("object",Fr)}return Ar.type==="image"?ur("img",Ar.url):void 0});var ur=function(Ar,Fr){var Wr=Qn.get("sources");Wr&&(Wr.set(Ar,Fr),Qn.showTool("sources"))}}}]),pr}(bn()),Ka=1e5,Si=Ie(2439),qa=Ie.n(Si),Ci=Ie(9143),xi=Ie.n(Ci),Ya=Ie(2139),Ei=Ie(8689),Fa=Ie(7935),go=Ie(9119);function No(wr,vr){var pr=Object.keys(wr);if(Object.getOwnPropertySymbols){var Un=Object.getOwnPropertySymbols(wr);vr&&(Un=Un.filter(function(Qn){return Object.getOwnPropertyDescriptor(wr,Qn).enumerable})),pr.push.apply(pr,Un)}return pr}function mo(wr){for(var vr=1;vr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Jo=function(wr){(0,Dt.Z)(pr,wr);var vr=Ho(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=vr.call(this),(0,hn.Z)((0,At.Z)(Un),"_reqWillBeSent",function(Qn){if(Un._isRecording){var ur,Ar={name:So(Qn.request.url),url:Qn.request.url,status:"pending",type:"unknown",subType:"unknown",size:0,data:Qn.request.postData,method:Qn.request.method,startTime:1e3*Qn.timestamp,time:0,resTxt:"",done:!1,reqHeaders:Qn.request.headers||{},resHeaders:{}};Ar.render=function(){var Fr={name:Ar.name,method:Ar.method,status:Ar.status,type:Ar.subType,size:Ar.size,time:Ar.displayTime};ur?(ur.data=Fr,ur.render()):(ur=Un._requestDataGrid.append(Fr,{selectable:!0}),En()(ur.container).data("id",Qn.requestId)),Ar.hasErr&&En()(ur.container).addClass(yr("request-error"))},Ar.render(),Un._requests[Qn.requestId]=Ar}}),(0,hn.Z)((0,At.Z)(Un),"_resReceivedExtraInfo",function(Qn){var ur=Un._requests[Qn.requestId];Un._isRecording&&ur&&(ur.resHeaders=Qn.headers,Un._updateType(ur),ur.render())}),(0,hn.Z)((0,At.Z)(Un),"_resReceived",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=Qn.response,Fr=Ar.status,Wr=Ar.headers;ur.status=Fr,(Fr<200||Fr>=300)&&(ur.hasErr=!0),Wr&&(ur.resHeaders=Wr,Un._updateType(ur)),ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_loadingFinished",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=1e3*Qn.timestamp;ur.time=Ar-ur.startTime,ur.displayTime=hi()(ur.time),ur.size=Qn.encodedDataLength,ur.done=!0,ur.resTxt=fr.domain("Network").getResponseBody({requestId:Qn.requestId}).body,ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_copyCurl",function(){var Qn=Un._selectedRequest;ya()(function(ur){var Ar=bo()();Ar==="windows"&&(Ar="win");var Fr=[],Wr=Lo()(["accept-encoding","host","method","path","scheme","version"]),no=Ar==="win"?function(da){var ni=/[\r\n]/.test(da)?'^"':'"';return ni+da.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/[^a-zA-Z0-9\s_\-:=+~'\/.',?;()*`&]/g,"^$&").replace(/%(?=[a-zA-Z0-9_])/g,"%^").replace(/\r?\n/g,`^ + `);this._$container.html(no).show(),this._detailData=Un}},{key:"hide",value:function(){this._$container.hide(),this.emit("hide")}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._devtools;this._$container.on("click",yr(".back"),function(){return Un.hide()}).on("click",yr(".copy-res"),this._copyRes).on("click",yr(".http .response"),function(){var Ar=Un._detailData,Fr=Ar.resTxt;if(bi()(Fr))return ur("object",Fr);switch(Ar.subType){case"css":return ur("css",Fr);case"html":return ur("html",Fr);case"javascript":return ur("js",Fr);case"json":return ur("object",Fr)}return Ar.type==="image"?ur("img",Ar.url):void 0});var ur=function(Ar,Fr){var Wr=Qn.get("sources");Wr&&(Wr.set(Ar,Fr),Qn.showTool("sources"))}}}]),pr}(bn()),Ka=1e5,Si=Ie(2439),Ya=Ie.n(Si),Ci=Ie(9143),xi=Ie.n(Ci),qa=Ie(2139),Ei=Ie(8689),Fa=Ie(7935),go=Ie(9119);function No(wr,vr){var pr=Object.keys(wr);if(Object.getOwnPropertySymbols){var Un=Object.getOwnPropertySymbols(wr);vr&&(Un=Un.filter(function(Qn){return Object.getOwnPropertyDescriptor(wr,Qn).enumerable})),pr.push.apply(pr,Un)}return pr}function mo(wr){for(var vr=1;vr"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Jo=function(wr){(0,Dt.Z)(pr,wr);var vr=Ho(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=vr.call(this),(0,hn.Z)((0,At.Z)(Un),"_reqWillBeSent",function(Qn){if(Un._isRecording){var ur,Ar={name:So(Qn.request.url),url:Qn.request.url,status:"pending",type:"unknown",subType:"unknown",size:0,data:Qn.request.postData,method:Qn.request.method,startTime:1e3*Qn.timestamp,time:0,resTxt:"",done:!1,reqHeaders:Qn.request.headers||{},resHeaders:{}};Ar.render=function(){var Fr={name:Ar.name,method:Ar.method,status:Ar.status,type:Ar.subType,size:Ar.size,time:Ar.displayTime};ur?(ur.data=Fr,ur.render()):(ur=Un._requestDataGrid.append(Fr,{selectable:!0}),En()(ur.container).data("id",Qn.requestId)),Ar.hasErr&&En()(ur.container).addClass(yr("request-error"))},Ar.render(),Un._requests[Qn.requestId]=Ar}}),(0,hn.Z)((0,At.Z)(Un),"_resReceivedExtraInfo",function(Qn){var ur=Un._requests[Qn.requestId];Un._isRecording&&ur&&(ur.resHeaders=Qn.headers,Un._updateType(ur),ur.render())}),(0,hn.Z)((0,At.Z)(Un),"_resReceived",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=Qn.response,Fr=Ar.status,Wr=Ar.headers;ur.status=Fr,(Fr<200||Fr>=300)&&(ur.hasErr=!0),Wr&&(ur.resHeaders=Wr,Un._updateType(ur)),ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_loadingFinished",function(Qn){var ur=Un._requests[Qn.requestId];if(Un._isRecording&&ur){var Ar=1e3*Qn.timestamp;ur.time=Ar-ur.startTime,ur.displayTime=hi()(ur.time),ur.size=Qn.encodedDataLength,ur.done=!0,ur.resTxt=fr.domain("Network").getResponseBody({requestId:Qn.requestId}).body,ur.render()}}),(0,hn.Z)((0,At.Z)(Un),"_copyCurl",function(){var Qn=Un._selectedRequest;ya()(function(ur){var Ar=bo()();Ar==="windows"&&(Ar="win");var Fr=[],Wr=Lo()(["accept-encoding","host","method","path","scheme","version"]),no=Ar==="win"?function(da){var ni=/[\r\n]/.test(da)?'^"':'"';return ni+da.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/[^a-zA-Z0-9\s_\-:=+~'\/.',?;()*`&]/g,"^$&").replace(/%(?=[a-zA-Z0-9_])/g,"%^").replace(/\r?\n/g,`^ `)+ni}:function(da){return/[\0-\x1F\x7F-\x9F!]|\'/.test(da)?"$'"+da.replace(/\\/g,"\\\\").replace(/\'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\0-\x1F\x7F-\x9F!]/g,function(ni){for(var ri=ni.charCodeAt(0).toString(16);ri.length<4;)ri="0"+ri;return"\\u"+ri})+"'":"'"+da+"'"};Fr.push(no(ur.url()).replace(/[[{}\]]/g,"\\$&"));var io="GET",Eo=[],Oo=ur.requestFormData();Oo&&(Eo.push("--data-raw "+no(Oo)),Wr["content-length"]=!0,io="POST"),ur.requestMethod!==io&&Fr.push("-X "+no(ur.requestMethod));for(var zo=ur.requestHeaders(),Wo=0;Wo=3?Ar==="win"?` ^ `:` \\ - `:" ")}({requestMethod:Qn.method,url:function(){return Qn.url},requestFormData:function(){return Qn.data},requestHeaders:function(){var ur=Qn.reqHeaders||{};return Yn()(ur,{"User-Agent":navigator.userAgent,Referer:location.href}),Vr()(ur,function(Ar,Fr){return{name:Fr,value:Ar}})}})),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleRecording",function(){Un._$control.find(yr(".record")).toggleClass(yr("recording")),Un._isRecording=!Un._isRecording}),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._selectedRequest&&(Un._splitMode&&Un._$network.css("width","50%"),Un._detail.show(Un._selectedRequest))}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),Un._style=_r(Ie(3180)),Un.name="network",Un._requests={},Un._selectedRequest=null,Un._isRecording=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._detail=new ki(this._$detail,Qn),this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._requestDataGrid=new Nr.Z(this._$requests.get(0),{columns:[{id:"name",title:"Name",sortable:!0,weight:30},{id:"method",title:"Method",sortable:!0,weight:14},{id:"status",title:"Status",sortable:!0,weight:14},{id:"type",title:"Type",sortable:!0,weight:14},{id:"size",title:"Size",sortable:!0,weight:14},{id:"time",title:"Time",sortable:!0,weight:14}]}),this._resizeSensor=new(ao())(Un.get(0)),this._bindEvent()}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._updateDataGridHeight()}},{key:"clear",value:function(){this._requests={},this._requestDataGrid.clear()}},{key:"requests",value:function(){var Un=[];return Mn()(this._requests,function(Qn){Un.push(Qn)}),Un}},{key:"_updateDataGridHeight",value:function(){var Un=this._$el.offset().height-this._$control.offset().height;this._requestDataGrid.setOption({minHeight:Un,maxHeight:Un})}},{key:"_updateType",value:function(Un){var Qn=function(Fr){if(!Fr)return"unknown";var Wr=Fr.split(";")[0].split("/");return{type:Wr[0],subType:Lr()(Wr)}}(Un.resHeaders["content-type"]||""),ur=Qn.type,Ar=Qn.subType;Un.type=ur,Un.subType=Ar}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-curl")),Ar=yr("icon-disabled");Qn.addClass(Ar),ur.addClass(Ar),this._selectedRequest&&(Qn.rmClass(Ar),ur.rmClass(Ar))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$control,ur=this._$filterText,Ar=this._requestDataGrid,Fr=this;Qn.on("click",yr(".clear-request"),function(){return Un.clear()}).on("click",yr(".show-detail"),this._showDetail).on("click",yr(".copy-curl"),this._copyCurl).on("click",yr(".record"),this._toggleRecording).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(no){Ca()(no)||(ur.text(no),Ar.setOption("filter",ko()(no)))})}),Ar.on("select",function(no){var io=En()(no.container).data("id"),Eo=Fr._requests[io];Un._selectedRequest=Eo,Un._updateButtons(),Un._splitMode&&Un._showDetail()}),Ar.on("deselect",function(){Un._selectedRequest=null,Un._updateButtons(),Un._detail.hide()}),this._resizeSensor.addListener(qa()(function(){return Un._updateDataGridHeight()},15)),this._splitMediaQuery.on("match",function(){Un._detail.hide(),Un._splitMode=!0}),this._splitMediaQuery.on("unmatch",function(){Un._detail.hide(),Un._splitMode=!1}),this._detail.on("hide",function(){Un._splitMode&&Un._$network.css("width","100%")}),fr.domain("Network").enable();var Wr=fr.domain("Network");Wr.on("requestWillBeSent",this._reqWillBeSent),Wr.on("responseReceivedExtraInfo",this._resReceivedExtraInfo),Wr.on("responseReceived",this._resReceived),Wr.on("loadingFinished",this._loadingFinished),wn.on(wn.SCALE,this._updateScale)}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._resizeSensor.destroy(),_r.remove(this._style),this._splitMediaQuery.removeAllListeners();var Un=fr.domain("Network");Un.off("requestWillBeSent",this._reqWillBeSent),Un.off("responseReceivedExtraInfo",this._resReceivedExtraInfo),Un.off("responseReceived",this._resReceived),Un.off("loadingFinished",this._loadingFinished),wn.off(wn.SCALE,this._updateScale)}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`
    + `:" ")}({requestMethod:Qn.method,url:function(){return Qn.url},requestFormData:function(){return Qn.data},requestHeaders:function(){var ur=Qn.reqHeaders||{};return qn()(ur,{"User-Agent":navigator.userAgent,Referer:location.href}),Vr()(ur,function(Ar,Fr){return{name:Fr,value:Ar}})}})),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleRecording",function(){Un._$control.find(yr(".record")).toggleClass(yr("recording")),Un._isRecording=!Un._isRecording}),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._selectedRequest&&(Un._splitMode&&Un._$network.css("width","50%"),Un._detail.show(Un._selectedRequest))}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),Un._style=_r(Ie(3180)),Un.name="network",Un._requests={},Un._selectedRequest=null,Un._isRecording=!0,Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._detail=new ki(this._$detail,Qn),this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._requestDataGrid=new Nr.Z(this._$requests.get(0),{columns:[{id:"name",title:"Name",sortable:!0,weight:30},{id:"method",title:"Method",sortable:!0,weight:14},{id:"status",title:"Status",sortable:!0,weight:14},{id:"type",title:"Type",sortable:!0,weight:14},{id:"size",title:"Size",sortable:!0,weight:14},{id:"time",title:"Time",sortable:!0,weight:14}]}),this._resizeSensor=new(ao())(Un.get(0)),this._bindEvent()}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._updateDataGridHeight()}},{key:"clear",value:function(){this._requests={},this._requestDataGrid.clear()}},{key:"requests",value:function(){var Un=[];return Mn()(this._requests,function(Qn){Un.push(Qn)}),Un}},{key:"_updateDataGridHeight",value:function(){var Un=this._$el.offset().height-this._$control.offset().height;this._requestDataGrid.setOption({minHeight:Un,maxHeight:Un})}},{key:"_updateType",value:function(Un){var Qn=function(Fr){if(!Fr)return"unknown";var Wr=Fr.split(";")[0].split("/");return{type:Wr[0],subType:Lr()(Wr)}}(Un.resHeaders["content-type"]||""),ur=Qn.type,Ar=Qn.subType;Un.type=ur,Un.subType=Ar}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-curl")),Ar=yr("icon-disabled");Qn.addClass(Ar),ur.addClass(Ar),this._selectedRequest&&(Qn.rmClass(Ar),ur.rmClass(Ar))}},{key:"_bindEvent",value:function(){var Un=this,Qn=this._$control,ur=this._$filterText,Ar=this._requestDataGrid,Fr=this;Qn.on("click",yr(".clear-request"),function(){return Un.clear()}).on("click",yr(".show-detail"),this._showDetail).on("click",yr(".copy-curl"),this._copyCurl).on("click",yr(".record"),this._toggleRecording).on("click",yr(".filter"),function(){ea.Z.prompt("Filter").then(function(no){Ca()(no)||(ur.text(no),Ar.setOption("filter",ko()(no)))})}),Ar.on("select",function(no){var io=En()(no.container).data("id"),Eo=Fr._requests[io];Un._selectedRequest=Eo,Un._updateButtons(),Un._splitMode&&Un._showDetail()}),Ar.on("deselect",function(){Un._selectedRequest=null,Un._updateButtons(),Un._detail.hide()}),this._resizeSensor.addListener(Ya()(function(){return Un._updateDataGridHeight()},15)),this._splitMediaQuery.on("match",function(){Un._detail.hide(),Un._splitMode=!0}),this._splitMediaQuery.on("unmatch",function(){Un._detail.hide(),Un._splitMode=!1}),this._detail.on("hide",function(){Un._splitMode&&Un._$network.css("width","100%")}),fr.domain("Network").enable();var Wr=fr.domain("Network");Wr.on("requestWillBeSent",this._reqWillBeSent),Wr.on("responseReceivedExtraInfo",this._resReceivedExtraInfo),Wr.on("responseReceived",this._resReceived),Wr.on("loadingFinished",this._loadingFinished),wn.on(wn.SCALE,this._updateScale)}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),this._resizeSensor.destroy(),_r.remove(this._style),this._splitMediaQuery.removeAllListeners();var Un=fr.domain("Network");Un.off("requestWillBeSent",this._reqWillBeSent),Un.off("responseReceivedExtraInfo",this._resReceivedExtraInfo),Un.off("responseReceived",this._resReceived),Un.off("loadingFinished",this._loadingFinished),wn.off(wn.SCALE,this._updateScale)}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`
    @@ -278,7 +278,7 @@ Response Headers
    `)}).join(""),Oo=`

    Event Listeners

    `).concat(Oo,` -
    `),Ar.html(Oo).show()):Ar.hide(),this._$container.show()}},{key:"_getData",value:function(vr){var pr={},Un=new Xa(vr),Qn=vr.className,ur=vr.id,Ar=vr.attributes,Fr=vr.tagName;pr.computedStyleSearchKeyword=this._computedStyleSearchKeyword,pr.attributes=Ki(Ar),pr.name=Mi({tagName:Fr,id:ur,className:Qn,attributes:Ar});var Wr=vr.erudaEvents;if(Wr&&Gn()(Wr).length!==0&&(pr.listeners=Wr),Xi(Fr))return pr;var no=Un.getComputedStyle(),io=Un.getMatchedCSSRules();io.unshift(function(Oo){for(var zo={selectorText:"element.style",style:{}},Wo=0,Zo=Oo.length;Wo$&').replace(Yi,function(vr,pr){return'url("'.concat(Ri(pr),'")')})}var Zi=["script","style","meta","title","link","head"],Xi=function(wr){return Zi.indexOf(wr.toLowerCase())>-1},Ri=function(wr){return'').concat(wr,"")},Di=function(){return Ta()(window,"EventTarget.prototype")||window.Node.prototype};function Ji(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Qi=function(wr){(0,Dt.Z)(pr,wr);var vr=Ji(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=vr.call(this),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._isShow&&Un._curNode&&(Un._curNode.nodeType===Node.ELEMENT_NODE?Un._detail.show(Un._curNode):Un._detail.show(Un._curNode.parentNode))}),(0,hn.Z)((0,At.Z)(Un),"_back",function(){if(Un._curNode!==Un._htmlEl){for(var Qn=Un._curParentQueue,ur=Qn.shift();!Li(ur);)ur=Qn.shift();Un.set(ur)}}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),(0,hn.Z)((0,At.Z)(Un),"_deleteNode",function(){var Qn=Un._curNode;Qn.parentNode&&Qn.parentNode.removeChild(Qn)}),(0,hn.Z)((0,At.Z)(Un),"_copyNode",function(){var Qn=Un._curNode;Qn.nodeType===Node.ELEMENT_NODE?ya()(Qn.outerHTML):ya()(Qn.nodeValue),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleSelect",function(){Un._$el.find(yr(".select")).toggleClass(yr("active")),Un._selectElement=!Un._selectElement,Un._selectElement?(fr.domain("Overlay").setInspectMode({mode:"searchForNode",highlightConfig:{showInfo:!ta()(),showRulers:!1,showAccessibilityInfo:!ta()(),showExtensionLines:!1,contrastAlgorithm:"aa",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}}),Un._container.hide()):(fr.domain("Overlay").setInspectMode({mode:"none"}),fr.domain("Overlay").hideHighlight())}),(0,hn.Z)((0,At.Z)(Un),"_inspectNodeRequested",function(Qn){var ur=Qn.backendNodeId;Un._container.show(),Un._toggleSelect();var Ar=fr.domain("DOM").getNode({nodeId:ur}).node;Un.select(Ar)}),(0,hn.Z)((0,At.Z)(Un),"_setNode",function(Qn){if(Qn!==Un._curNode){Un._curNode=Qn,Un._renderCrumbs();for(var ur=[],Ar=Qn.parentNode;Ar;)ur.push(Ar),Ar=Ar.parentNode;Un._curParentQueue=ur,Un._splitMode&&Un._showDetail(),Un._updateButtons(),Un._updateHistory()}}),Un._style=_r(Ie(5896)),Un.name="elements",Un._selectElement=!1,Un._observeElement=!0,Un._history=[],bn().mixin((0,At.Z)(Un)),Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){var ur=this;(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._htmlEl=document.documentElement,this._detail=new Wi(this._$detail,Qn),this.config=this._detail.config,this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._domViewer=new Ea.Z(this._$domViewer.get(0),{node:this._htmlEl,ignore:function(Ar){return Zr(Ar)||Mr(Ar)}}),this._domViewer.expand(),this._bindEvent(),fr.domain("Overlay").enable(),Hr()(function(){return ur._updateHistory()})}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._isShow=!0,this._curNode?this._splitMode&&this._showDetail():this.select(document.body)}},{key:"hide",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"hide",this).call(this),this._isShow=!1,fr.domain("Overlay").hideHighlight()}},{key:"set",value:function(Un){return this.select(Un)}},{key:"select",value:function(Un){return this._domViewer.select(Un),this._setNode(Un),this.emit("change",Un),this}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),wn.off(wn.SCALE,this._updateScale),_r.remove(this._style),this._detail.destroy(),fr.domain("Overlay").off("inspectNodeRequested",this._inspectNodeRequested),fr.domain("Overlay").disable(),this._splitMediaQuery.removeAllListeners()}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-node")),Ar=Un.find(yr(".delete-node")),Fr=yr("icon-disabled");Qn.addClass(Fr),ur.addClass(Fr),Ar.addClass(Fr);var Wr=this._curNode;Wr&&(Wr!==document.documentElement&&Wr!==document.body&&Ar.rmClass(Fr),ur.rmClass(Fr),Wr.nodeType===Node.ELEMENT_NODE&&Qn.rmClass(Fr))}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`
    +
    `),Ar.html(Oo).show()):Ar.hide(),this._$container.show()}},{key:"_getData",value:function(vr){var pr={},Un=new Xa(vr),Qn=vr.className,ur=vr.id,Ar=vr.attributes,Fr=vr.tagName;pr.computedStyleSearchKeyword=this._computedStyleSearchKeyword,pr.attributes=Ki(Ar),pr.name=Mi({tagName:Fr,id:ur,className:Qn,attributes:Ar});var Wr=vr.erudaEvents;if(Wr&&Gn()(Wr).length!==0&&(pr.listeners=Wr),Xi(Fr))return pr;var no=Un.getComputedStyle(),io=Un.getMatchedCSSRules();io.unshift(function(Oo){for(var zo={selectorText:"element.style",style:{}},Wo=0,Zo=Oo.length;Wo$&').replace(qi,function(vr,pr){return'url("'.concat(Ri(pr),'")')})}var Zi=["script","style","meta","title","link","head"],Xi=function(wr){return Zi.indexOf(wr.toLowerCase())>-1},Ri=function(wr){return'').concat(wr,"")},Di=function(){return Ta()(window,"EventTarget.prototype")||window.Node.prototype};function Ji(wr){var vr=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var pr,Un=(0,jt.Z)(wr);if(vr){var Qn=(0,jt.Z)(this).constructor;pr=Reflect.construct(Un,arguments,Qn)}else pr=Un.apply(this,arguments);return(0,Lt.Z)(this,pr)}}var Qi=function(wr){(0,Dt.Z)(pr,wr);var vr=Ji(pr);function pr(){var Un;return(0,Ue.Z)(this,pr),Un=vr.call(this),(0,hn.Z)((0,At.Z)(Un),"_showDetail",function(){Un._isShow&&Un._curNode&&(Un._curNode.nodeType===Node.ELEMENT_NODE?Un._detail.show(Un._curNode):Un._detail.show(Un._curNode.parentNode))}),(0,hn.Z)((0,At.Z)(Un),"_back",function(){if(Un._curNode!==Un._htmlEl){for(var Qn=Un._curParentQueue,ur=Qn.shift();!Li(ur);)ur=Qn.shift();Un.set(ur)}}),(0,hn.Z)((0,At.Z)(Un),"_updateScale",function(Qn){Un._splitMediaQuery.setQuery("screen and (min-width: ".concat(680*Qn,"px)"))}),(0,hn.Z)((0,At.Z)(Un),"_deleteNode",function(){var Qn=Un._curNode;Qn.parentNode&&Qn.parentNode.removeChild(Qn)}),(0,hn.Z)((0,At.Z)(Un),"_copyNode",function(){var Qn=Un._curNode;Qn.nodeType===Node.ELEMENT_NODE?ya()(Qn.outerHTML):ya()(Qn.nodeValue),Un._container.notify("Copied")}),(0,hn.Z)((0,At.Z)(Un),"_toggleSelect",function(){Un._$el.find(yr(".select")).toggleClass(yr("active")),Un._selectElement=!Un._selectElement,Un._selectElement?(fr.domain("Overlay").setInspectMode({mode:"searchForNode",highlightConfig:{showInfo:!ta()(),showRulers:!1,showAccessibilityInfo:!ta()(),showExtensionLines:!1,contrastAlgorithm:"aa",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)"}}),Un._container.hide()):(fr.domain("Overlay").setInspectMode({mode:"none"}),fr.domain("Overlay").hideHighlight())}),(0,hn.Z)((0,At.Z)(Un),"_inspectNodeRequested",function(Qn){var ur=Qn.backendNodeId;Un._container.show(),Un._toggleSelect();var Ar=fr.domain("DOM").getNode({nodeId:ur}).node;Un.select(Ar)}),(0,hn.Z)((0,At.Z)(Un),"_setNode",function(Qn){if(Qn!==Un._curNode){Un._curNode=Qn,Un._renderCrumbs();for(var ur=[],Ar=Qn.parentNode;Ar;)ur.push(Ar),Ar=Ar.parentNode;Un._curParentQueue=ur,Un._splitMode&&Un._showDetail(),Un._updateButtons(),Un._updateHistory()}}),Un._style=_r(Ie(5896)),Un.name="elements",Un._selectElement=!1,Un._observeElement=!0,Un._history=[],bn().mixin((0,At.Z)(Un)),Un}return(0,qe.Z)(pr,[{key:"init",value:function(Un,Qn){var ur=this;(0,kn.Z)((0,jt.Z)(pr.prototype),"init",this).call(this,Un),this._container=Qn,this._initTpl(),this._htmlEl=document.documentElement,this._detail=new Wi(this._$detail,Qn),this.config=this._detail.config,this._splitMediaQuery=new(lo())("screen and (min-width: 680px)"),this._splitMode=this._splitMediaQuery.isMatch(),this._domViewer=new Ea.Z(this._$domViewer.get(0),{node:this._htmlEl,ignore:function(Ar){return Zr(Ar)||Mr(Ar)}}),this._domViewer.expand(),this._bindEvent(),fr.domain("Overlay").enable(),Hr()(function(){return ur._updateHistory()})}},{key:"show",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"show",this).call(this),this._isShow=!0,this._curNode?this._splitMode&&this._showDetail():this.select(document.body)}},{key:"hide",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"hide",this).call(this),this._isShow=!1,fr.domain("Overlay").hideHighlight()}},{key:"set",value:function(Un){return this.select(Un)}},{key:"select",value:function(Un){return this._domViewer.select(Un),this._setNode(Un),this.emit("change",Un),this}},{key:"destroy",value:function(){(0,kn.Z)((0,jt.Z)(pr.prototype),"destroy",this).call(this),wn.off(wn.SCALE,this._updateScale),_r.remove(this._style),this._detail.destroy(),fr.domain("Overlay").off("inspectNodeRequested",this._inspectNodeRequested),fr.domain("Overlay").disable(),this._splitMediaQuery.removeAllListeners()}},{key:"_updateButtons",value:function(){var Un=this._$control,Qn=Un.find(yr(".show-detail")),ur=Un.find(yr(".copy-node")),Ar=Un.find(yr(".delete-node")),Fr=yr("icon-disabled");Qn.addClass(Fr),ur.addClass(Fr),Ar.addClass(Fr);var Wr=this._curNode;Wr&&(Wr!==document.documentElement&&Wr!==document.body&&Ar.rmClass(Fr),ur.rmClass(Fr),Wr.nodeType===Node.ELEMENT_NODE&&Qn.rmClass(Fr))}},{key:"_initTpl",value:function(){var Un=this._$el;Un.html(yr(`
    @@ -392,23 +392,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
    ').concat(Bo()(Qn)," × ").concat(Bo()(ur),`
    `))}},{key:"_renderCode",value:function(){var Un=this._data;this._renderHtml('
    '),!1);var Qn=Un.val,ur=Un.val.length;ur>ti&&(Qn=xa()(Qn,ti)),ur'),!1);var Un=this._data.val;try{Bn()(Un)&&(Un=JSON.parse(Un))}catch{}new Ns.Z(this._$el.find(".eruda-json").get(0),{unenumerable:!0,accessGetter:!0}).set(Un)}},{key:"_renderRaw",value:function(){var Un=this._data;this._renderHtml('
    -
    `));var Qn=Un.val,ur=this._$el.find(yr(".raw")).get(0);Qn.length>ti&&(Qn=xa()(Qn,ti)),new ji.Z(ur,{text:Qn,wrapLongLines:!0,showLineNumbers:Qn.length'))}},{key:"_renderHtml",value:function(Un){var Qn=this;(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])&&Un===this._lastHtml||(this._lastHtml=Un,this._$el.html(Un),setTimeout(function(){return Qn._$el.get(0).scrollTop=0},0))}}]),pr}(Sn),Bs=3e4,Gi=8e4,ti=1e5,Vs=Ie(5166),zs=Ie.n(Vs),Fs=Ie(3514),Hs=Ie.n(Fs),js={init:function(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},vr=wr.container,pr=wr.tool,Un=wr.autoScale,Qn=Un===void 0||Un,ur=wr.useShadowDom,Ar=ur===void 0||ur,Fr=wr.defaults,Wr=Fr===void 0?{}:Fr;this._isInit||(this._isInit=!0,this._scale=1,this._initContainer(vr,Ar),this._initStyle(),this._initDevTools(Wr),this._initEntryBtn(),this._initSettings(),this._initTools(pr),this._registerListener(),Qn&&this._autoScale())},_isInit:!1,version:"3.0.1",util:Fe,chobitsu:fr,Tool:Sn,Console:fi,Elements:Qi,Network:Jo,Sources:Ls,Resources:ks,Info:Ps,Snippets:ds,Settings:xr,get:function(wr){if(this._checkInit()){if(wr==="entryBtn")return this._entryBtn;var vr=this._devTools;return wr?vr.get(wr):vr}},add:function(wr){if(this._checkInit())return ha()(wr)&&(wr=wr(this)),this._devTools.add(wr),this},remove:function(wr){return this._devTools.remove(wr),this},show:function(wr){if(this._checkInit()){var vr=this._devTools;return wr?vr.showTool(wr):vr.show(),this}},hide:function(){if(this._checkInit())return this._devTools.hide(),this},destroy:function(){this._devTools.destroy(),delete this._devTools,this._entryBtn.destroy(),delete this._entryBtn,this._unregisterListener(),En()(this._container).remove(),_r.clear(),this._isInit=!1,this._container=null,this._shadowRoot=null},scale:function(wr){return Fo()(wr)?(this._scale=wr,wn.emit(wn.SCALE,wr),this):this._scale},position:function(wr){var vr=this._entryBtn;return zs()(wr)?(vr.setPos(wr),this):vr.getPos()},_autoScale:function(){ta()()&&this.scale(1/Hs()())},_registerListener:function(){var wr=this;this._addListener=function(){return wr.add.apply(wr,arguments)},this._showListener=function(){return wr.show.apply(wr,arguments)},wn.on(wn.ADD,this._addListener),wn.on(wn.SHOW,this._showListener),wn.on(wn.SCALE,_r.setScale)},_unregisterListener:function(){wn.off(wn.ADD,this._addListener),wn.off(wn.SHOW,this._showListener),wn.off(wn.SCALE,_r.setScale)},_checkInit:function(){return this._isInit||Po.error('Please call "eruda.init()" first'),this._isInit},_initContainer:function(wr,vr){var pr,Un;wr||(wr=document.createElement("div"),document.documentElement.appendChild(wr)),wr.id="eruda",wr.style.all="initial",this._container=wr,vr&&(wr.attachShadow?pr=wr.attachShadow({mode:"open"}):wr.createShadowRoot&&(pr=wr.createShadowRoot()),pr&&(_r.container=document.head,_r(Ie(5357)+Ie(9327)+Ie(4821)+Ie(8903)+Ie(5777)),Un=document.createElement("div"),pr.appendChild(Un),this._shadowRoot=pr)),this._shadowRoot||(Un=document.createElement("div"),wr.appendChild(Un)),Yn()(Un,{className:"eruda-container __chobitsu-hide__",contentEditable:!1}),Fi()().name==="ios"&&Un.setAttribute("ontouchstart",""),this._$el=En()(Un)},_initDevTools:function(wr){this._devTools=new fa(this._$el,{defaults:wr})},_initStyle:function(){var wr="eruda-style-container",vr=this._$el;this._shadowRoot?(_r.container=this._shadowRoot,_r(":host { all: initial }")):(vr.append('
    ')),_r.container=vr.find(".".concat(wr)).get(0)),_r(Ie(8020)+Ie(4821)+Ie(9327)+Ie(7591)+Ie(4987)+Ie(8903)+Ie(5512)+Ie(2156)+Ie(5777)+Ie(7871)+Ie(6833)+Ie(8516)+Ie(5357))},_initEntryBtn:function(){var wr=this;this._entryBtn=new wo(this._$el),this._entryBtn.on("click",function(){return wr._devTools.toggle()})},_initSettings:function(){var wr=this._devTools,vr=new xr;wr.add(vr),this._entryBtn.initCfg(vr),wr.initCfg(vr)},_initTools:function(){var wr=this,vr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["console","elements","network","resources","sources","info","snippets"];vr=Ai()(vr);var pr=this._devTools;vr.forEach(function(Un){var Qn=wr[Aa()(Un)];try{Qn&&pr.add(new Qn)}catch(ur){Hr()(function(){Po.error("Something wrong when initializing tool ".concat(Un,":"),ur.message)})}}),pr.showTool(vr[0]||"settings")}}},2027:function(xe,$e,Ie){var Fe=Ie(6672).Z;xe.exports=Fe,xe.exports.default=Fe},6610:function(xe,$e,Ie){Ie.r($e),$e.default={}},9143:function(xe,$e,Ie){var Fe=this&&this.__awaiter||function(_n,wn,kn,Cn){return new(kn||(kn=Promise))(function(Sn,xn){function En($n){try{An(Cn.next($n))}catch(Pn){xn(Pn)}}function Tn($n){try{An(Cn.throw($n))}catch(Pn){xn(Pn)}}function An($n){var Pn;$n.done?Sn($n.value):(Pn=$n.value,Pn instanceof kn?Pn:new kn(function(Nn){Nn(Pn)})).then(En,Tn)}An((Cn=Cn.apply(_n,wn||[])).next())})},Ue=this&&this.__generator||function(_n,wn){var kn,Cn,Sn,xn,En={label:0,sent:function(){if(1&Sn[0])throw Sn[1];return Sn[1]},trys:[],ops:[]};return xn={next:Tn(0),throw:Tn(1),return:Tn(2)},typeof Symbol=="function"&&(xn[Symbol.iterator]=function(){return this}),xn;function Tn(An){return function($n){return function(Pn){if(kn)throw new TypeError("Generator is already executing.");for(;En;)try{if(kn=1,Cn&&(Sn=2&Pn[0]?Cn.return:Pn[0]?Cn.throw||((Sn=Cn.return)&&Sn.call(Cn),0):Cn.next)&&!(Sn=Sn.call(Cn,Pn[1])).done)return Sn;switch(Cn=0,Sn&&(Pn=[2&Pn[0],Sn.value]),Pn[0]){case 0:case 1:Sn=Pn;break;case 4:return En.label++,{value:Pn[1],done:!1};case 5:En.label++,Cn=Pn[1],Pn=[0];continue;case 7:Pn=En.ops.pop(),En.trys.pop();continue;default:if(Sn=En.trys,!((Sn=Sn.length>0&&Sn[Sn.length-1])||Pn[0]!==6&&Pn[0]!==2)){En=0;continue}if(Pn[0]===3&&(!Sn||Pn[1]>Sn[0]&&Pn[1]",Ln))return void Dn.push(Fn);var Gn=[];Tn.default(Fn.attributes,function(er){var rr=er.name,Jn=er.value;return Gn.push(rr,Jn)});for(var Wn=0,Xn=Gn.length;Wn
    ",kn.default.parse(Ln)[0].attrs))},$e.setAttributeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.name,Hn=Vn.value;jt.getNode(Ln).setAttribute(Dn,Hn)};var Rn=[];function Bn(Vn,Ln){for(var Dn=Lt.filterNodes(Vn.childNodes),Hn=0,Fn=Dn.length;Hn5&&Rn.pop();for(var Dn=0;Dn<5;Dn++)Nn.setGlobal("$"+Dn,Rn[Dn])},$e.setNodeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.value;jt.getNode(Ln).nodeValue=Dn},$e.setOuterHTML=function(Vn){var Ln=Vn.nodeId,Dn=Vn.outerHTML;jt.getNode(Ln).outerHTML=Dn},$e.getDOMNodeId=function(Vn){var Ln=Vn.node;return{nodeId:Lt.getOrCreateNodeId(Ln)}},$e.getDOMNode=function(Vn){var Ln=Vn.nodeId;return{node:jt.getNode(Ln)}},vn.default.on("attributes",function(Vn,Ln){var Dn=jt.getNodeId(Vn);if(Dn){var Hn=Vn.getAttribute(Ln);_n.default(Hn)?Dt.default.trigger("DOM.attributeRemoved",{nodeId:Dn,name:Ln}):Dt.default.trigger("DOM.attributeModified",{nodeId:Dn,name:Ln,value:Hn})}}),vn.default.on("childList",function(Vn,Ln,Dn){var Hn=jt.getNodeId(Vn);if(Hn){if(Ln=Lt.filterNodes(Ln),Dn=Lt.filterNodes(Dn),!wn.default(Ln)){er();for(var Fn=0,zn=Ln.length;Fn0||On)&&(Nn.children=Cn(En,$n)),Nn}function Cn(En,Tn){var An=Sn(En.childNodes);return Ue.default(An,function($n){return kn($n,{depth:Tn-1})})}function Sn(En){return qe.default(En,function(Tn){return xn(Tn)})}function xn(En){if(En.nodeType===1){var Tn=En.getAttribute("class")||"";if(Lt.default(Tn,"__chobitsu-hide__")||Lt.default(Tn,"html2canvas-container"))return!1}var An=!(En.nodeType===3&&Dt.default(En.nodeValue||"")==="");return An&&En.parentNode?xn(En.parentNode):An}$e.getOrCreateNodeId=wn,$e.clear=function(){vn.clear(),bn.clear()},$e.getNodeId=function(En){return bn.get(En)},$e.wrap=kn,$e.getChildNodes=Cn,$e.getPreviousNode=function(En){var Tn=En.previousSibling;if(Tn){for(;!xn(Tn)&&Tn.previousSibling;)Tn=Tn.previousSibling;return Tn&&xn(Tn)?Tn:void 0}},$e.filterNodes=Sn,$e.isValidNode=xn,$e.getNode=function(En){var Tn=vn.get(En);if(!Tn||Tn.nodeType===10)throw hn.createErr(-32e3,"Could not find node with given id");return Tn}},7923:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(jn){return jn&&jn.__esModule?jn:{default:jn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getProperties=$e.releaseObj=$e.getObj=$e.wrap=$e.clear=void 0;var Ue=Fe(Ie(3367)),qe=Fe(Ie(6156)),At=Fe(Ie(6472)),Dt=Fe(Ie(4777)),Lt=Fe(Ie(9833)),jt=Fe(Ie(2749)),hn=Fe(Ie(3708)),vn=Fe(Ie(7470)),bn=Fe(Ie(1754)),_n=Fe(Ie(3085)),wn=Fe(Ie(2533)),kn=Fe(Ie(300)),Cn=Fe(Ie(1116)),Sn=Fe(Ie(8740)),xn=Fe(Ie(415)),En=Fe(Ie(9804)),Tn=Fe(Ie(6257)),An=new Map,$n=new Map,Pn=new Map,Nn=new Map,Mn=1;function In(jn,Gn){var Wn=$n.get(jn);return Wn||(Wn=JSON.stringify({injectedScriptId:0,id:Mn++}),$n.set(jn,Wn),An.set(Wn,jn),Pn.set(Wn,Gn),Wn)}function On(jn,Gn){var Wn=Gn===void 0?{}:Gn,Xn=Wn.generatePreview,er=Xn!==void 0&&Xn,rr=Wn.self,Jn=rr===void 0?jn:rr,Yn=Hn(jn),qn=Yn.type,ar=Yn.subtype;return qn==="undefined"?Yn:qn==="string"||qn==="boolean"||ar==="null"?(Yn.value=jn,Yn):(Yn.description=Dn(jn,Jn),qn==="number"?(Yn.value=jn,Yn):qn==="symbol"?(Yn.objectId=In(jn,Jn),Yn):(Yn.className=qn==="function"?"Function":ar==="array"?"Array":ar==="map"?"Map":ar==="set"?"Set":ar==="regexp"?"RegExp":ar==="error"?jn.name:_n.default(jn,!1),er&&(Yn.preview=Vn(jn,Jn)),Yn.objectId=In(jn,Jn),Yn))}function Rn(jn){return An.get(jn)}$e.clear=function(){An.clear(),$n.clear(),Pn.clear()},$e.wrap=On,$e.getObj=Rn,$e.releaseObj=function(jn){var Gn=Rn(jn);$n.delete(Gn),Pn.delete(jn),An.delete(jn)},$e.getProperties=function(jn){for(var Gn=jn.accessorPropertiesOnly,Wn=jn.objectId,Xn=jn.ownProperties,er=jn.generatePreview,rr=[],Jn={prototype:!Xn,unenumerable:!0,symbol:!Gn},Yn=An.get(Wn),qn=Pn.get(Wn),ar=Cn.default(Yn,Jn),tr=xn.default(Yn),or=0,sr=ar.length;orBn&&(Jn=Bn,Xn=!0);for(var Yn=0;YnBn){Xn=!0;break}ar.push({key:Vn(or),value:Vn(jn.get(or))}),Yn++,or=tr.next().value}Wn.entries=ar}else if(vn.default(jn)){var sr=[],Kn=(Yn=0,jn.keys());for(or=Kn.next().value;or;){if(Yn>Bn){Xn=!0;break}sr.push({value:Vn(or)}),Yn++,or=Kn.next().value}Wn.entries=sr}return Wn.overflow=Xn,Wn}function Ln(jn,Gn){var Wn=Hn(Gn);Wn.name=jn;var Xn,er=Wn.subtype;return Xn=Wn.type==="object"?er==="null"?"null":er==="array"?"Array("+Gn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":_n.default(Gn,!1):Ue.default(Gn),Wn.value=Xn,Wn}function Dn(jn,Gn){Gn===void 0&&(Gn=jn);var Wn=Hn(jn),Xn=Wn.type,er=Wn.subtype;return Xn==="string"?jn:Xn==="number"||Xn==="symbol"?Ue.default(jn):Xn==="function"?kn.default(jn):er==="array"?"Array("+jn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":er==="regexp"?Ue.default(jn):er==="error"?jn.stack:er==="internal#entry"?jn.name?'{"'+Ue.default(jn.name)+'" => "'+Ue.default(jn.value)+'"}':'"'+Ue.default(jn.value)+'"':_n.default(jn,!1)}function Hn(jn){var Gn=typeof jn,Wn="object";if(jn instanceof Fn)Wn="internal#entry";else if(qe.default(jn))Wn="null";else if(At.default(jn))Wn="array";else if(bn.default(jn))Wn="regexp";else if(jt.default(jn))Wn="error";else if(hn.default(jn))Wn="map";else if(vn.default(jn))Wn="set";else try{Lt.default(jn)&&(Wn="node")}catch{}return{type:Gn,subtype:Wn}}var Fn=function(jn,Gn){Gn&&(this.name=Gn),this.value=jn};function zn(jn){return jn instanceof Fn||!!(jn[0]&&jn[0]instanceof Fn)}},2636:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(Bn,Vn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ln,Dn){Ln.__proto__=Dn}||function(Ln,Dn){for(var Hn in Dn)Dn.hasOwnProperty(Hn)&&(Ln[Hn]=Dn[Hn])},Fe(Bn,Vn)},function(Bn,Vn){function Ln(){this.constructor=Bn}Fe(Bn,Vn),Bn.prototype=Vn===null?Object.create(Vn):(Ln.prototype=Vn.prototype,new Ln)}),qe=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.fullUrl=$e.FetchRequest=$e.XhrRequest=void 0;var At=qe(Ie(1443)),Dt=qe(Ie(6768)),Lt=qe(Ie(9702)),jt=qe(Ie(6334)),hn=qe(Ie(8887)),vn=qe(Ie(4331)),bn=qe(Ie(8847)),_n=qe(Ie(3783)),wn=qe(Ie(6930)),kn=qe(Ie(3875)),Cn=Ie(316),Sn=function(Bn){function Vn(Ln,Dn,Hn){var Fn=Bn.call(this)||this;return Fn.xhr=Ln,Fn.reqHeaders={},Fn.method=Dn,Fn.url=Nn(Hn),Fn.id=Cn.createId(),Fn}return Ue(Vn,Bn),Vn.prototype.toJSON=function(){return{method:this.method,url:this.url,id:this.id}},Vn.prototype.handleSend=function(Ln){Dt.default(Ln)||(Ln=""),Ln={name:Mn(this.url),url:this.url,data:Ln,time:bn.default(),reqHeaders:this.reqHeaders,method:this.method},hn.default(this.reqHeaders)||(Ln.reqHeaders=this.reqHeaders),this.emit("send",this.id,Ln)},Vn.prototype.handleReqHeadersSet=function(Ln,Dn){Ln&&Dn&&(this.reqHeaders[Ln]=Dn)},Vn.prototype.handleHeadersReceived=function(){var Ln=this.xhr,Dn=In(Ln.getResponseHeader("Content-Type")||"");this.emit("headersReceived",this.id,{type:Dn.type,subType:Dn.subType,size:$n(Ln,!0,this.url),time:bn.default(),resHeaders:An(Ln)})},Vn.prototype.handleDone=function(){var Ln,Dn,Hn,Fn=this,zn=this.xhr,jn=zn.responseType,Gn="",Wn=function(){Fn.emit("done",Fn.id,{status:zn.status,size:$n(zn,!1,Fn.url),time:bn.default(),resTxt:Gn})},Xn=In(zn.getResponseHeader("Content-Type")||"");jn!=="blob"||Xn.type!=="text"&&Xn.subType!=="javascript"&&Xn.subType!=="json"?(jn!==""&&jn!=="text"||(Gn=zn.responseText),jn==="json"&&(Gn=JSON.stringify(zn.response)),Wn()):(Ln=zn.response,Dn=function(er,rr){rr&&(Gn=rr),Wn()},(Hn=new FileReader).onload=function(){Dn(null,Hn.result)},Hn.onerror=function(er){Dn(er)},Hn.readAsText(Ln))},Vn}(At.default);$e.XhrRequest=Sn;var xn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this)||this;return Ln instanceof window.Request&&(Ln=Ln.url),Hn.url=Nn(Ln),Hn.id=Cn.createId(),Hn.options=Dn,Hn.reqHeaders=Dn.headers||{},Hn.method=Dn.method||"GET",Hn}return Ue(Vn,Bn),Vn.prototype.send=function(Ln){var Dn=this,Hn=this.options,Fn=Dt.default(Hn.body)?Hn.body:"";this.emit("send",this.id,{name:Mn(this.url),url:this.url,data:Fn,reqHeaders:this.reqHeaders,time:bn.default(),method:this.method}),Ln.then(function(zn){var jn=In((zn=zn.clone()).headers.get("Content-Type"));return zn.text().then(function(Gn){var Wn={type:jn.type,subType:jn.subType,time:bn.default(),size:En(zn,Gn),resTxt:Gn,resHeaders:Tn(zn),status:zn.status};hn.default(Dn.reqHeaders)||(Wn.reqHeaders=Dn.reqHeaders),Dn.emit("done",Dn.id,Wn)}),zn})},Vn}(At.default);function En(Bn,Vn){var Ln=Bn.headers.get("Content-length");return Ln?kn.default(Ln):Rn(Vn)}function Tn(Bn){var Vn={};return Bn.headers.forEach(function(Ln,Dn){return Vn[Dn]=Ln}),Vn}function An(Bn){var Vn=Bn.getAllResponseHeaders().split(` +
    `));var Qn=Un.val,ur=this._$el.find(yr(".raw")).get(0);Qn.length>ti&&(Qn=xa()(Qn,ti)),new ji.Z(ur,{text:Qn,wrapLongLines:!0,showLineNumbers:Qn.length'))}},{key:"_renderHtml",value:function(Un){var Qn=this;(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])&&Un===this._lastHtml||(this._lastHtml=Un,this._$el.html(Un),setTimeout(function(){return Qn._$el.get(0).scrollTop=0},0))}}]),pr}(Sn),Bs=3e4,Gi=8e4,ti=1e5,Vs=Ie(5166),zs=Ie.n(Vs),Fs=Ie(3514),Hs=Ie.n(Fs),js={init:function(){var wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},vr=wr.container,pr=wr.tool,Un=wr.autoScale,Qn=Un===void 0||Un,ur=wr.useShadowDom,Ar=ur===void 0||ur,Fr=wr.defaults,Wr=Fr===void 0?{}:Fr;this._isInit||(this._isInit=!0,this._scale=1,this._initContainer(vr,Ar),this._initStyle(),this._initDevTools(Wr),this._initEntryBtn(),this._initSettings(),this._initTools(pr),this._registerListener(),Qn&&this._autoScale())},_isInit:!1,version:"3.0.1",util:Fe,chobitsu:fr,Tool:Sn,Console:fi,Elements:Qi,Network:Jo,Sources:Ls,Resources:ks,Info:Ps,Snippets:ds,Settings:xr,get:function(wr){if(this._checkInit()){if(wr==="entryBtn")return this._entryBtn;var vr=this._devTools;return wr?vr.get(wr):vr}},add:function(wr){if(this._checkInit())return ha()(wr)&&(wr=wr(this)),this._devTools.add(wr),this},remove:function(wr){return this._devTools.remove(wr),this},show:function(wr){if(this._checkInit()){var vr=this._devTools;return wr?vr.showTool(wr):vr.show(),this}},hide:function(){if(this._checkInit())return this._devTools.hide(),this},destroy:function(){this._devTools.destroy(),delete this._devTools,this._entryBtn.destroy(),delete this._entryBtn,this._unregisterListener(),En()(this._container).remove(),_r.clear(),this._isInit=!1,this._container=null,this._shadowRoot=null},scale:function(wr){return Fo()(wr)?(this._scale=wr,wn.emit(wn.SCALE,wr),this):this._scale},position:function(wr){var vr=this._entryBtn;return zs()(wr)?(vr.setPos(wr),this):vr.getPos()},_autoScale:function(){ta()()&&this.scale(1/Hs()())},_registerListener:function(){var wr=this;this._addListener=function(){return wr.add.apply(wr,arguments)},this._showListener=function(){return wr.show.apply(wr,arguments)},wn.on(wn.ADD,this._addListener),wn.on(wn.SHOW,this._showListener),wn.on(wn.SCALE,_r.setScale)},_unregisterListener:function(){wn.off(wn.ADD,this._addListener),wn.off(wn.SHOW,this._showListener),wn.off(wn.SCALE,_r.setScale)},_checkInit:function(){return this._isInit||Po.error('Please call "eruda.init()" first'),this._isInit},_initContainer:function(wr,vr){var pr,Un;wr||(wr=document.createElement("div"),document.documentElement.appendChild(wr)),wr.id="eruda",wr.style.all="initial",this._container=wr,vr&&(wr.attachShadow?pr=wr.attachShadow({mode:"open"}):wr.createShadowRoot&&(pr=wr.createShadowRoot()),pr&&(_r.container=document.head,_r(Ie(5357)+Ie(9327)+Ie(4821)+Ie(8903)+Ie(5777)),Un=document.createElement("div"),pr.appendChild(Un),this._shadowRoot=pr)),this._shadowRoot||(Un=document.createElement("div"),wr.appendChild(Un)),qn()(Un,{className:"eruda-container __chobitsu-hide__",contentEditable:!1}),Fi()().name==="ios"&&Un.setAttribute("ontouchstart",""),this._$el=En()(Un)},_initDevTools:function(wr){this._devTools=new fa(this._$el,{defaults:wr})},_initStyle:function(){var wr="eruda-style-container",vr=this._$el;this._shadowRoot?(_r.container=this._shadowRoot,_r(":host { all: initial }")):(vr.append('
    ')),_r.container=vr.find(".".concat(wr)).get(0)),_r(Ie(8020)+Ie(4821)+Ie(9327)+Ie(7591)+Ie(4987)+Ie(8903)+Ie(5512)+Ie(2156)+Ie(5777)+Ie(7871)+Ie(6833)+Ie(8516)+Ie(5357))},_initEntryBtn:function(){var wr=this;this._entryBtn=new wo(this._$el),this._entryBtn.on("click",function(){return wr._devTools.toggle()})},_initSettings:function(){var wr=this._devTools,vr=new xr;wr.add(vr),this._entryBtn.initCfg(vr),wr.initCfg(vr)},_initTools:function(){var wr=this,vr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["console","elements","network","resources","sources","info","snippets"];vr=Ai()(vr);var pr=this._devTools;vr.forEach(function(Un){var Qn=wr[Aa()(Un)];try{Qn&&pr.add(new Qn)}catch(ur){Hr()(function(){Po.error("Something wrong when initializing tool ".concat(Un,":"),ur.message)})}}),pr.showTool(vr[0]||"settings")}}},2027:function(xe,$e,Ie){var Fe=Ie(6672).Z;xe.exports=Fe,xe.exports.default=Fe},6610:function(xe,$e,Ie){Ie.r($e),$e.default={}},9143:function(xe,$e,Ie){var Fe=this&&this.__awaiter||function(_n,wn,kn,Cn){return new(kn||(kn=Promise))(function(Sn,xn){function En($n){try{An(Cn.next($n))}catch(Pn){xn(Pn)}}function Tn($n){try{An(Cn.throw($n))}catch(Pn){xn(Pn)}}function An($n){var Pn;$n.done?Sn($n.value):(Pn=$n.value,Pn instanceof kn?Pn:new kn(function(Nn){Nn(Pn)})).then(En,Tn)}An((Cn=Cn.apply(_n,wn||[])).next())})},Ue=this&&this.__generator||function(_n,wn){var kn,Cn,Sn,xn,En={label:0,sent:function(){if(1&Sn[0])throw Sn[1];return Sn[1]},trys:[],ops:[]};return xn={next:Tn(0),throw:Tn(1),return:Tn(2)},typeof Symbol=="function"&&(xn[Symbol.iterator]=function(){return this}),xn;function Tn(An){return function($n){return function(Pn){if(kn)throw new TypeError("Generator is already executing.");for(;En;)try{if(kn=1,Cn&&(Sn=2&Pn[0]?Cn.return:Pn[0]?Cn.throw||((Sn=Cn.return)&&Sn.call(Cn),0):Cn.next)&&!(Sn=Sn.call(Cn,Pn[1])).done)return Sn;switch(Cn=0,Sn&&(Pn=[2&Pn[0],Sn.value]),Pn[0]){case 0:case 1:Sn=Pn;break;case 4:return En.label++,{value:Pn[1],done:!1};case 5:En.label++,Cn=Pn[1],Pn=[0];continue;case 7:Pn=En.ops.pop(),En.trys.pop();continue;default:if(Sn=En.trys,!((Sn=Sn.length>0&&Sn[Sn.length-1])||Pn[0]!==6&&Pn[0]!==2)){En=0;continue}if(Pn[0]===3&&(!Sn||Pn[1]>Sn[0]&&Pn[1]",Ln))return void Dn.push(Fn);var Gn=[];Tn.default(Fn.attributes,function(er){var rr=er.name,Jn=er.value;return Gn.push(rr,Jn)});for(var Wn=0,Xn=Gn.length;Wn
    ",kn.default.parse(Ln)[0].attrs))},$e.setAttributeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.name,Hn=Vn.value;jt.getNode(Ln).setAttribute(Dn,Hn)};var Rn=[];function Bn(Vn,Ln){for(var Dn=Lt.filterNodes(Vn.childNodes),Hn=0,Fn=Dn.length;Hn5&&Rn.pop();for(var Dn=0;Dn<5;Dn++)Nn.setGlobal("$"+Dn,Rn[Dn])},$e.setNodeValue=function(Vn){var Ln=Vn.nodeId,Dn=Vn.value;jt.getNode(Ln).nodeValue=Dn},$e.setOuterHTML=function(Vn){var Ln=Vn.nodeId,Dn=Vn.outerHTML;jt.getNode(Ln).outerHTML=Dn},$e.getDOMNodeId=function(Vn){var Ln=Vn.node;return{nodeId:Lt.getOrCreateNodeId(Ln)}},$e.getDOMNode=function(Vn){var Ln=Vn.nodeId;return{node:jt.getNode(Ln)}},vn.default.on("attributes",function(Vn,Ln){var Dn=jt.getNodeId(Vn);if(Dn){var Hn=Vn.getAttribute(Ln);_n.default(Hn)?Dt.default.trigger("DOM.attributeRemoved",{nodeId:Dn,name:Ln}):Dt.default.trigger("DOM.attributeModified",{nodeId:Dn,name:Ln,value:Hn})}}),vn.default.on("childList",function(Vn,Ln,Dn){var Hn=jt.getNodeId(Vn);if(Hn){if(Ln=Lt.filterNodes(Ln),Dn=Lt.filterNodes(Dn),!wn.default(Ln)){er();for(var Fn=0,zn=Ln.length;Fn0||On)&&(Nn.children=Cn(En,$n)),Nn}function Cn(En,Tn){var An=Sn(En.childNodes);return Ue.default(An,function($n){return kn($n,{depth:Tn-1})})}function Sn(En){return qe.default(En,function(Tn){return xn(Tn)})}function xn(En){if(En.nodeType===1){var Tn=En.getAttribute("class")||"";if(Lt.default(Tn,"__chobitsu-hide__")||Lt.default(Tn,"html2canvas-container"))return!1}var An=!(En.nodeType===3&&Dt.default(En.nodeValue||"")==="");return An&&En.parentNode?xn(En.parentNode):An}$e.getOrCreateNodeId=wn,$e.clear=function(){vn.clear(),bn.clear()},$e.getNodeId=function(En){return bn.get(En)},$e.wrap=kn,$e.getChildNodes=Cn,$e.getPreviousNode=function(En){var Tn=En.previousSibling;if(Tn){for(;!xn(Tn)&&Tn.previousSibling;)Tn=Tn.previousSibling;return Tn&&xn(Tn)?Tn:void 0}},$e.filterNodes=Sn,$e.isValidNode=xn,$e.getNode=function(En){var Tn=vn.get(En);if(!Tn||Tn.nodeType===10)throw hn.createErr(-32e3,"Could not find node with given id");return Tn}},7923:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(jn){return jn&&jn.__esModule?jn:{default:jn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getProperties=$e.releaseObj=$e.getObj=$e.wrap=$e.clear=void 0;var Ue=Fe(Ie(3367)),qe=Fe(Ie(6156)),At=Fe(Ie(6472)),Dt=Fe(Ie(4777)),Lt=Fe(Ie(9833)),jt=Fe(Ie(2749)),hn=Fe(Ie(3708)),vn=Fe(Ie(7470)),bn=Fe(Ie(1754)),_n=Fe(Ie(3085)),wn=Fe(Ie(2533)),kn=Fe(Ie(300)),Cn=Fe(Ie(1116)),Sn=Fe(Ie(8740)),xn=Fe(Ie(415)),En=Fe(Ie(9804)),Tn=Fe(Ie(6257)),An=new Map,$n=new Map,Pn=new Map,Nn=new Map,Mn=1;function In(jn,Gn){var Wn=$n.get(jn);return Wn||(Wn=JSON.stringify({injectedScriptId:0,id:Mn++}),$n.set(jn,Wn),An.set(Wn,jn),Pn.set(Wn,Gn),Wn)}function On(jn,Gn){var Wn=Gn===void 0?{}:Gn,Xn=Wn.generatePreview,er=Xn!==void 0&&Xn,rr=Wn.self,Jn=rr===void 0?jn:rr,qn=Hn(jn),Yn=qn.type,ar=qn.subtype;return Yn==="undefined"?qn:Yn==="string"||Yn==="boolean"||ar==="null"?(qn.value=jn,qn):(qn.description=Dn(jn,Jn),Yn==="number"?(qn.value=jn,qn):Yn==="symbol"?(qn.objectId=In(jn,Jn),qn):(qn.className=Yn==="function"?"Function":ar==="array"?"Array":ar==="map"?"Map":ar==="set"?"Set":ar==="regexp"?"RegExp":ar==="error"?jn.name:_n.default(jn,!1),er&&(qn.preview=Vn(jn,Jn)),qn.objectId=In(jn,Jn),qn))}function Rn(jn){return An.get(jn)}$e.clear=function(){An.clear(),$n.clear(),Pn.clear()},$e.wrap=On,$e.getObj=Rn,$e.releaseObj=function(jn){var Gn=Rn(jn);$n.delete(Gn),Pn.delete(jn),An.delete(jn)},$e.getProperties=function(jn){for(var Gn=jn.accessorPropertiesOnly,Wn=jn.objectId,Xn=jn.ownProperties,er=jn.generatePreview,rr=[],Jn={prototype:!Xn,unenumerable:!0,symbol:!Gn},qn=An.get(Wn),Yn=Pn.get(Wn),ar=Cn.default(qn,Jn),tr=xn.default(qn),or=0,sr=ar.length;orBn&&(Jn=Bn,Xn=!0);for(var qn=0;qnBn){Xn=!0;break}ar.push({key:Vn(or),value:Vn(jn.get(or))}),qn++,or=tr.next().value}Wn.entries=ar}else if(vn.default(jn)){var sr=[],Kn=(qn=0,jn.keys());for(or=Kn.next().value;or;){if(qn>Bn){Xn=!0;break}sr.push({value:Vn(or)}),qn++,or=Kn.next().value}Wn.entries=sr}return Wn.overflow=Xn,Wn}function Ln(jn,Gn){var Wn=Hn(Gn);Wn.name=jn;var Xn,er=Wn.subtype;return Xn=Wn.type==="object"?er==="null"?"null":er==="array"?"Array("+Gn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":_n.default(Gn,!1):Ue.default(Gn),Wn.value=Xn,Wn}function Dn(jn,Gn){Gn===void 0&&(Gn=jn);var Wn=Hn(jn),Xn=Wn.type,er=Wn.subtype;return Xn==="string"?jn:Xn==="number"||Xn==="symbol"?Ue.default(jn):Xn==="function"?kn.default(jn):er==="array"?"Array("+jn.length+")":er==="map"?"Map("+Gn.size+")":er==="set"?"Set("+Gn.size+")":er==="regexp"?Ue.default(jn):er==="error"?jn.stack:er==="internal#entry"?jn.name?'{"'+Ue.default(jn.name)+'" => "'+Ue.default(jn.value)+'"}':'"'+Ue.default(jn.value)+'"':_n.default(jn,!1)}function Hn(jn){var Gn=typeof jn,Wn="object";if(jn instanceof Fn)Wn="internal#entry";else if(qe.default(jn))Wn="null";else if(At.default(jn))Wn="array";else if(bn.default(jn))Wn="regexp";else if(jt.default(jn))Wn="error";else if(hn.default(jn))Wn="map";else if(vn.default(jn))Wn="set";else try{Lt.default(jn)&&(Wn="node")}catch{}return{type:Gn,subtype:Wn}}var Fn=function(jn,Gn){Gn&&(this.name=Gn),this.value=jn};function zn(jn){return jn instanceof Fn||!!(jn[0]&&jn[0]instanceof Fn)}},2636:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(Bn,Vn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ln,Dn){Ln.__proto__=Dn}||function(Ln,Dn){for(var Hn in Dn)Dn.hasOwnProperty(Hn)&&(Ln[Hn]=Dn[Hn])},Fe(Bn,Vn)},function(Bn,Vn){function Ln(){this.constructor=Bn}Fe(Bn,Vn),Bn.prototype=Vn===null?Object.create(Vn):(Ln.prototype=Vn.prototype,new Ln)}),qe=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.fullUrl=$e.FetchRequest=$e.XhrRequest=void 0;var At=qe(Ie(1443)),Dt=qe(Ie(6768)),Lt=qe(Ie(9702)),jt=qe(Ie(6334)),hn=qe(Ie(8887)),vn=qe(Ie(4331)),bn=qe(Ie(8847)),_n=qe(Ie(3783)),wn=qe(Ie(6930)),kn=qe(Ie(3875)),Cn=Ie(316),Sn=function(Bn){function Vn(Ln,Dn,Hn){var Fn=Bn.call(this)||this;return Fn.xhr=Ln,Fn.reqHeaders={},Fn.method=Dn,Fn.url=Nn(Hn),Fn.id=Cn.createId(),Fn}return Ue(Vn,Bn),Vn.prototype.toJSON=function(){return{method:this.method,url:this.url,id:this.id}},Vn.prototype.handleSend=function(Ln){Dt.default(Ln)||(Ln=""),Ln={name:Mn(this.url),url:this.url,data:Ln,time:bn.default(),reqHeaders:this.reqHeaders,method:this.method},hn.default(this.reqHeaders)||(Ln.reqHeaders=this.reqHeaders),this.emit("send",this.id,Ln)},Vn.prototype.handleReqHeadersSet=function(Ln,Dn){Ln&&Dn&&(this.reqHeaders[Ln]=Dn)},Vn.prototype.handleHeadersReceived=function(){var Ln=this.xhr,Dn=In(Ln.getResponseHeader("Content-Type")||"");this.emit("headersReceived",this.id,{type:Dn.type,subType:Dn.subType,size:$n(Ln,!0,this.url),time:bn.default(),resHeaders:An(Ln)})},Vn.prototype.handleDone=function(){var Ln,Dn,Hn,Fn=this,zn=this.xhr,jn=zn.responseType,Gn="",Wn=function(){Fn.emit("done",Fn.id,{status:zn.status,size:$n(zn,!1,Fn.url),time:bn.default(),resTxt:Gn})},Xn=In(zn.getResponseHeader("Content-Type")||"");jn!=="blob"||Xn.type!=="text"&&Xn.subType!=="javascript"&&Xn.subType!=="json"?(jn!==""&&jn!=="text"||(Gn=zn.responseText),jn==="json"&&(Gn=JSON.stringify(zn.response)),Wn()):(Ln=zn.response,Dn=function(er,rr){rr&&(Gn=rr),Wn()},(Hn=new FileReader).onload=function(){Dn(null,Hn.result)},Hn.onerror=function(er){Dn(er)},Hn.readAsText(Ln))},Vn}(At.default);$e.XhrRequest=Sn;var xn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this)||this;return Ln instanceof window.Request&&(Ln=Ln.url),Hn.url=Nn(Ln),Hn.id=Cn.createId(),Hn.options=Dn,Hn.reqHeaders=Dn.headers||{},Hn.method=Dn.method||"GET",Hn}return Ue(Vn,Bn),Vn.prototype.send=function(Ln){var Dn=this,Hn=this.options,Fn=Dt.default(Hn.body)?Hn.body:"";this.emit("send",this.id,{name:Mn(this.url),url:this.url,data:Fn,reqHeaders:this.reqHeaders,time:bn.default(),method:this.method}),Ln.then(function(zn){var jn=In((zn=zn.clone()).headers.get("Content-Type"));return zn.text().then(function(Gn){var Wn={type:jn.type,subType:jn.subType,time:bn.default(),size:En(zn,Gn),resTxt:Gn,resHeaders:Tn(zn),status:zn.status};hn.default(Dn.reqHeaders)||(Wn.reqHeaders=Dn.reqHeaders),Dn.emit("done",Dn.id,Wn)}),zn})},Vn}(At.default);function En(Bn,Vn){var Ln=Bn.headers.get("Content-length");return Ln?kn.default(Ln):Rn(Vn)}function Tn(Bn){var Vn={};return Bn.headers.forEach(function(Ln,Dn){return Vn[Dn]=Ln}),Vn}function An(Bn){var Vn=Bn.getAllResponseHeaders().split(` `),Ln={};return _n.default(Vn,function(Dn){if((Dn=vn.default(Dn))!==""){var Hn=Dn.split(":",2),Fn=Hn[0],zn=Hn[1];Ln[Fn]=vn.default(zn)}}),Ln}function $n(Bn,Vn,Ln){var Dn=0;function Hn(){if(!Vn){var Fn=Bn.responseType,zn="";Fn!==""&&Fn!=="text"||(zn=Bn.responseText),zn&&(Dn=Rn(zn))}}if(function(Fn){return!wn.default(Fn,On)}(Ln))Hn();else try{Dn=kn.default(Bn.getResponseHeader("Content-Length"))}catch{Hn()}return Dn===0&&Hn(),Dn}$e.FetchRequest=xn;var Pn=document.createElement("a");function Nn(Bn){return Pn.href=Bn,Pn.protocol+"//"+Pn.host+Pn.pathname+Pn.search+Pn.hash}function Mn(Bn){var Vn=Lt.default(Bn.split("/"));return Vn.indexOf("?")>-1&&(Vn=vn.default(Vn.split("?")[0])),Vn===""&&(Vn=new jt.default(Bn).hostname),Vn}function In(Bn){if(!Bn)return{type:"unknown",subType:"unknown"};var Vn=Bn.split(";")[0].split("/");return{type:Vn[0],subType:Lt.default(Vn)}}$e.fullUrl=Nn;var On=window.location.origin;function Rn(Bn){var Vn=encodeURIComponent(Bn).match(/%[89ABab]/g);return Bn.length+(Vn?Vn.length:0)}},316:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(xn,En){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Tn,An){Tn.__proto__=An}||function(Tn,An){for(var $n in An)An.hasOwnProperty($n)&&(Tn[$n]=An[$n])},Fe(xn,En)},function(xn,En){function Tn(){this.constructor=xn}Fe(xn,En),xn.prototype=En===null?Object.create(En):(Tn.prototype=En.prototype,new Tn)}),qe=this&&this.__awaiter||function(xn,En,Tn,An){return new(Tn||(Tn=Promise))(function($n,Pn){function Nn(On){try{In(An.next(On))}catch(Rn){Pn(Rn)}}function Mn(On){try{In(An.throw(On))}catch(Rn){Pn(Rn)}}function In(On){var Rn;On.done?$n(On.value):(Rn=On.value,Rn instanceof Tn?Rn:new Tn(function(Bn){Bn(Rn)})).then(Nn,Mn)}In((An=An.apply(xn,En||[])).next())})},At=this&&this.__generator||function(xn,En){var Tn,An,$n,Pn,Nn={label:0,sent:function(){if(1&$n[0])throw $n[1];return $n[1]},trys:[],ops:[]};return Pn={next:Mn(0),throw:Mn(1),return:Mn(2)},typeof Symbol=="function"&&(Pn[Symbol.iterator]=function(){return this}),Pn;function Mn(In){return function(On){return function(Rn){if(Tn)throw new TypeError("Generator is already executing.");for(;Nn;)try{if(Tn=1,An&&($n=2&Rn[0]?An.return:Rn[0]?An.throw||(($n=An.return)&&$n.call(An),0):An.next)&&!($n=$n.call(An,Rn[1])).done)return $n;switch(An=0,$n&&(Rn=[2&Rn[0],$n.value]),Rn[0]){case 0:case 1:$n=Rn;break;case 4:return Nn.label++,{value:Rn[1],done:!1};case 5:Nn.label++,An=Rn[1],Rn=[0];continue;case 7:Rn=Nn.ops.pop(),Nn.trys.pop();continue;default:if($n=Nn.trys,!(($n=$n.length>0&&$n[$n.length-1])||Rn[0]!==6&&Rn[0]!==2)){Nn=0;continue}if(Rn[0]===3&&(!$n||Rn[1]>$n[0]&&Rn[1]<$n[3])){Nn.label=Rn[1];break}if(Rn[0]===6&&Nn.label<$n[1]){Nn.label=$n[1],$n=Rn;break}if($n&&Nn.label<$n[2]){Nn.label=$n[2],Nn.ops.push(Rn);break}$n[2]&&Nn.ops.pop(),Nn.trys.pop();continue}Rn=En.call(xn,Nn)}catch(Bn){Rn=[6,Bn],An=0}finally{Tn=$n=0}if(5&Rn[0])throw Rn[1];return{value:Rn[0]?Rn[1]:void 0,done:!0}}([In,On])}}},Dt=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.getBase64Content=$e.getTextContent=$e.getOrigin=$e.getUrl=$e.createErr=$e.ErrorWithCode=$e.getAbsoluteUrl=$e.createId=void 0;var Lt=Dt(Ie(5229)),jt=Dt(Ie(1216)),hn=Dt(Ie(6930)),vn=Dt(Ie(6334)),bn=Dt(Ie(1792)),_n=Dt(Ie(6610)),wn=jt.default(1e3,9999)+".";$e.createId=function(){return Lt.default(wn)},$e.getAbsoluteUrl=function(xn){var En=document.createElement("a");return En.href=xn,En.href};var kn=function(xn){function En(Tn,An){var $n=this.constructor,Pn=xn.call(this,An)||this;return Pn.code=Tn,Object.setPrototypeOf(Pn,$n.prototype),Pn}return Ue(En,xn),En}(Error);function Cn(xn,En,Tn){return Tn===void 0&&(Tn=""),qe(this,void 0,void 0,function(){var An;return At(this,function($n){switch($n.label){case 0:return $n.trys.push([0,2,,8]),(An=new vn.default(xn)).setQuery("__chobitsu-hide__","true"),[4,_n.default.get(An.toString(),{responseType:En})];case 1:return[2,$n.sent().data];case 2:if($n.sent(),!Tn)return[3,7];$n.label=3;case 3:return $n.trys.push([3,6,,7]),[4,_n.default.get(Sn(Tn,xn),{responseType:En})];case 4:return[4,$n.sent().data];case 5:return[2,$n.sent()];case 6:return $n.sent(),[3,7];case 7:return[3,8];case 8:return[2,En==="arraybuffer"?new ArrayBuffer(0):""]}})})}function Sn(xn,En){var Tn=new vn.default(xn);return Tn.setQuery("url",En),Tn.setQuery("__chobitsu-hide__","true"),Tn.toString()}$e.ErrorWithCode=kn,$e.createErr=function(xn,En){return new kn(xn,En)},$e.getUrl=function(){var xn=location.href;return hn.default(xn,"about:")?parent.location.href:xn},$e.getOrigin=function(){var xn=location.origin;return xn==="null"?parent.location.origin:xn},$e.getTextContent=function(xn,En){return En===void 0&&(En=""),qe(this,void 0,void 0,function(){return At(this,function(Tn){switch(Tn.label){case 0:return[4,Cn(xn,"text",En)];case 1:return[2,Tn.sent()]}})})},$e.getBase64Content=function(xn,En){return En===void 0&&(En=""),qe(this,void 0,void 0,function(){var Tn;return At(this,function(An){switch(An.label){case 0:return Tn=bn.default,[4,Cn(xn,"arraybuffer",En)];case 1:return[2,Tn.apply(void 0,[An.sent(),"base64"])]}})})}},3191:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_console{padding-top:40px;padding-bottom:24px;width:100%;height:100%}#_console._js-input-hidden{padding-bottom:0}#_console ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px 10px 10px 35px}#_console ._control [class*=' _icon-'],#_console ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_console ._control [class*=' _icon-']._active,#_console ._control [class*=' _icon-']:active,#_console ._control [class^='_icon-']._active,#_console ._control [class^='_icon-']:active{color:var(--accent)}#_console ._control ._icon-clear{padding-right:0;left:0}#_console ._control ._icon-copy{right:0}#_console ._control ._icon-filter{right:23px}#_console ._control ._level{cursor:pointer;font-size:12px;height:20px;display:inline-block;margin:0 2px;padding:0 4px;line-height:20px;transition:background-color .3s,color .3s}#_console ._control ._level._active{background:var(--highlight);color:var(--select-foreground)}#_console ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:55px;font-size:14px;text-overflow:ellipsis}#_console ._js-input{pointer-events:none;position:absolute;z-index:100;left:0;bottom:0;width:100%;border-top:1px solid var(--border);height:24px}#_console ._js-input ._icon-arrow-right{line-height:23px;color:var(--accent);position:absolute;left:10px;top:0;z-index:10}#_console ._js-input._active{height:100%;padding-top:40px;padding-bottom:40px;border-top:none}#_console ._js-input._active ._icon-arrow-right{display:none}#_console ._js-input._active textarea{overflow:auto;padding-left:10px}#_console ._js-input ._buttons{display:none;position:absolute;left:0;bottom:0;width:100%;height:40px;color:var(--primary);background:var(--darker-background);font-size:12px;border-top:1px solid var(--border)}#_console ._js-input ._buttons ._button{pointer-events:all;cursor:pointer;flex:1;text-align:center;border-right:1px solid var(--border);height:40px;line-height:40px;transition:background-color .3s,color .3s}#_console ._js-input ._buttons ._button:last-child{border-right:none}#_console ._js-input ._buttons ._button:active{color:var(--select-foreground);background:var(--highlight)}#_console ._js-input textarea{overflow:hidden;pointer-events:all;padding:3px 10px;padding-left:25px;outline:0;border:none;font-size:14px;width:100%;height:100%;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;resize:none;color:var(--primary);background:var(--background)}._safe-area #_console{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console._js-input-hidden{padding-bottom:0}._safe-area #_console ._js-input{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input._active{height:100%;padding-bottom:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons{height:calc(40px + env(safe-area-inset-bottom))}._safe-area #_console ._js-input ._buttons ._button{height:calc(40px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},13:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._dev-tools{position:absolute;width:100%;height:100%;left:0;bottom:0;background:var(--background);z-index:500;display:none;padding-top:40px!important;opacity:0;transition:opacity .3s;border-top:1px solid var(--border)}._dev-tools ._resizer{position:absolute;width:100%;touch-action:none;left:0;top:-8px;cursor:row-resize;z-index:120}._dev-tools ._tools{overflow:auto;-webkit-overflow-scrolling:touch;height:100%;width:100%;position:relative}._dev-tools ._tools ._tool{position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;display:none}",""]),xe.exports=$e},5896:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_elements ._elements{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:40px;padding-bottom:24px;font-size:14px}#_elements ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px 0}#_elements ._control [class*=' _icon-'],#_elements ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_elements ._control [class*=' _icon-']._active,#_elements ._control [class*=' _icon-']:active,#_elements ._control [class^='_icon-']._active,#_elements ._control [class^='_icon-']:active{color:var(--accent)}#_elements ._control ._icon-eye{right:0}#_elements ._control ._icon-copy{right:23px}#_elements ._control ._icon-delete{right:46px}#_elements ._dom-viewer-container{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;padding:5px 0}#_elements ._crumbs{position:absolute;width:100%;height:24px;left:0;top:0;top:initial;line-height:24px;bottom:0;border-top:1px solid var(--border);background:var(--darker-background);color:var(--primary);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#_elements ._crumbs li{cursor:pointer;padding:0 7px;display:inline-block}#_elements ._crumbs li:hover,#_elements ._crumbs li:last-child{background:var(--highlight)}#_elements ._crumbs ._icon-arrow-right{font-size:12px;position:relative;top:1px}#_elements ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;padding-top:40px;display:none;background:var(--background)}#_elements ._detail ._control{padding:10px 35px}#_elements ._detail ._control ._element-name{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_elements ._detail ._control ._icon-arrow-left{left:0}#_elements ._detail ._control ._icon-refresh{right:0}#_elements ._detail ._element{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_elements ._section{border-bottom:1px solid var(--border);color:var(--foreground);margin:10px 0}#_elements ._section h2{color:var(--primary);background:var(--darker-background);border-top:1px solid var(--border);padding:10px;line-height:18px;font-size:14px;transition:background-color .3s}#_elements ._section h2 ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_elements ._section h2 ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_elements ._section h2 ._btn:active{color:var(--accent)}#_elements ._section h2 ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_elements ._section h2 ._btn._btn-disabled *{pointer-events:none}#_elements ._section h2._active-effect{cursor:pointer}#_elements ._section h2._active-effect:active{background:var(--highlight);color:var(--select-foreground)}#_elements ._attributes{font-size:12px}#_elements ._attributes a{color:var(--link-color)}#_elements ._attributes ._table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}#_elements ._attributes table td{padding:5px 10px}#_elements ._text-content{background:#fff}#_elements ._text-content ._content{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px}#_elements ._style-color{position:relative;top:1px;width:10px;height:10px;border-radius:50%;margin-right:2px;border:1px solid var(--border);display:inline-block}#_elements ._box-model{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;text-align:center;border-bottom:1px solid var(--color)}#_elements ._computed-style{font-size:12px}#_elements ._computed-style a{color:var(--link-color)}#_elements ._computed-style ._table-wrapper{overflow-y:auto;-webkit-overflow-scrolling:touch;max-height:200px;border-top:1px solid var(--border)}#_elements ._computed-style table td{padding:5px 10px}#_elements ._computed-style table td._key{white-space:nowrap;color:var(--var-color)}#_elements ._styles{font-size:12px}#_elements ._styles ._style-wrapper{padding:10px}#_elements ._styles ._style-wrapper ._style-rules{border:1px solid var(--border);padding:10px;margin-bottom:10px}#_elements ._styles ._style-wrapper ._style-rules ._rule{padding-left:2em;word-break:break-all}#_elements ._styles ._style-wrapper ._style-rules ._rule a{color:var(--link-color)}#_elements ._styles ._style-wrapper ._style-rules ._rule span{color:var(--var-color)}#_elements ._styles ._style-wrapper ._style-rules:last-child{margin-bottom:0}#_elements ._listeners{font-size:12px}#_elements ._listeners ._listener-wrapper{padding:10px}#_elements ._listeners ._listener-wrapper ._listener{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_elements ._listeners ._listener-wrapper ._listener ._listener-type{padding:10px;background:var(--darker-background);color:var(--primary)}#_elements ._listeners ._listener-wrapper ._listener ._listener-content li{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;border-top:none}._safe-area #_elements ._elements{padding-bottom:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._crumbs{height:calc(24px + env(safe-area-inset-bottom))}._safe-area #_elements ._element{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_elements ._elements{width:50%}#_elements ._elements ._control ._icon-eye{display:none}#_elements ._elements ._control ._icon-copy{right:0}#_elements ._elements ._control ._icon-delete{right:23px}#_elements ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_elements ._detail ._control{padding-left:10px}#_elements ._detail ._control ._icon-arrow-left{display:none}}",""]),xe.exports=$e},9195:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._container ._entry-btn{touch-action:none;width:40px;height:40px;display:flex;background:#000;opacity:.3;border-radius:10px;position:relative;z-index:1000;transition:opacity .3s;color:#fff;font-size:25px;align-items:center;justify-content:center}._container ._entry-btn._active,._container ._entry-btn:active{opacity:.8}",""]),xe.exports=$e},879:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_info{overflow-y:auto;-webkit-overflow-scrolling:touch}#_info li{margin:10px;border:1px solid var(--border)}#_info li ._content,#_info li ._title{padding:10px}#_info li ._title{position:relative;padding-bottom:0;color:var(--accent)}#_info li ._title ._icon-copy{position:absolute;right:10px;top:14px;color:var(--primary);cursor:pointer;transition:color .3s}#_info li ._title ._icon-copy:active{color:var(--accent)}#_info li ._content{margin:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;color:var(--foreground);font-size:12px;word-break:break-all}#_info li ._content table{width:100%;border-collapse:collapse}#_info li ._content table td,#_info li ._content table th{border:1px solid var(--border);padding:10px}#_info li ._content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_info li ._content a{color:var(--link-color)}#_info li ._device-key,#_info li ._system-key{width:100px}._safe-area #_info{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},3180:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_network ._network{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:39px}#_network ._control{position:absolute;width:100%;height:40px;left:0;top:0;cursor:default;font-size:0;background:var(--darker-background);color:var(--primary);line-height:20px;border-bottom:1px solid var(--border);padding:10px;border-bottom:none}#_network ._control [class*=' _icon-'],#_network ._control [class^='_icon-']{display:inline-block;padding:10px;font-size:16px;position:absolute;top:0;cursor:pointer;transition:color .3s}#_network ._control [class*=' _icon-']._active,#_network ._control [class*=' _icon-']:active,#_network ._control [class^='_icon-']._active,#_network ._control [class^='_icon-']:active{color:var(--accent)}#_network ._control ._title{font-size:14px}#_network ._control ._icon-clear{left:23px}#_network ._control ._icon-eye{right:0}#_network ._control ._icon-copy{right:23px}#_network ._control ._icon-filter{right:46px}#_network ._control ._filter-text{white-space:nowrap;position:absolute;line-height:20px;max-width:80px;overflow:hidden;right:88px;font-size:14px;text-overflow:ellipsis}#_network ._control ._icon-record{left:0}#_network ._control ._icon-record._recording{color:var(--console-error-foreground);text-shadow:0 0 4px var(--console-error-foreground)}#_network ._request-error{color:var(--console-error-foreground)}#_network .luna-data-grid:focus .luna-data-grid-data-container ._request-error.luna-data-grid-selected{background:var(--console-error-background)}#_network .luna-data-grid{border-left:none;border-right:none}#_network ._detail{position:absolute;width:100%;height:100%;left:0;top:0;z-index:10;display:none;padding-top:40px;background:var(--background)}#_network ._detail ._control{padding:10px 35px;border-bottom:1px solid var(--border)}#_network ._detail ._control ._url{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;display:inline-block}#_network ._detail ._control ._icon-arrow-left{left:0}#_network ._detail ._control ._icon-delete{left:0;display:none}#_network ._detail ._control ._icon-copy{right:0}#_network ._detail ._http{overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%}#_network ._detail ._http ._section{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:10px;margin-bottom:10px}#_network ._detail ._http ._section h2{background:var(--darker-background);color:var(--primary);padding:10px;line-height:18px;font-size:14px}#_network ._detail ._http ._section table{color:var(--foreground)}#_network ._detail ._http ._section table *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_network ._detail ._http ._section table td{font-size:12px;padding:5px 10px;word-break:break-all}#_network ._detail ._http ._section table ._key{white-space:nowrap;font-weight:700;color:var(--accent)}#_network ._detail ._http ._data,#_network ._detail ._http ._response{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:12px;margin:10px 0;white-space:pre-wrap;border-top:1px solid var(--border);color:var(--foreground);border-bottom:1px solid var(--border)}._safe-area #_network ._http{padding-bottom:calc(0px + env(safe-area-inset-bottom))}@media screen and (min-width:680px){#_network ._network ._control ._icon-eye{display:none}#_network ._network ._control ._icon-copy{right:0}#_network ._network ._control ._icon-filter{right:23px}#_network ._network ._control ._filter-text{right:55px}#_network ._detail{width:50%;left:initial;right:0;border-left:1px solid var(--border)}#_network ._detail ._control ._icon-arrow-left{display:none}#_network ._detail ._control ._icon-delete{display:block}}",""]),xe.exports=$e},2488:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_resources{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px;font-size:14px}#_resources ._section{margin-bottom:10px;overflow:hidden;border:1px solid var(--border)}#_resources ._section._warn{border:1px solid var(--console-warn-border)}#_resources ._section._warn ._title{background:var(--console-warn-background);color:var(--console-warn-foreground)}#_resources ._section._danger{border:1px solid var(--console-error-border)}#_resources ._section._danger ._title{background:var(--console-error-background);color:var(--console-error-foreground)}#_resources ._section._cookie,#_resources ._section._local-storage,#_resources ._section._session-storage{border:none}#_resources ._section._cookie ._title,#_resources ._section._local-storage ._title,#_resources ._section._session-storage ._title{border:1px solid var(--border);border-bottom:none}#_resources ._title{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background)}#_resources ._title ._btn{margin-left:5px;float:right;color:var(--primary);width:18px;height:18px;font-size:16px;cursor:pointer;transition:color .3s}#_resources ._title ._btn._filter-text{width:auto;max-width:80px;font-size:14px;overflow:hidden;font-weight:400;text-overflow:ellipsis;display:inline-block}#_resources ._title ._btn:active{color:var(--accent)}#_resources ._title ._btn._btn-disabled{color:inherit!important;cursor:default!important;pointer-events:none;opacity:.5}#_resources ._title ._btn._btn-disabled *{pointer-events:none}#_resources ._link-list{font-size:12px;color:var(--foreground)}#_resources ._link-list li{padding:10px;word-break:break-all}#_resources ._link-list li a{color:var(--link-color)!important}#_resources ._image-list{color:var(--foreground);font-size:12px;display:flex;flex-wrap:wrap;padding:10px!important}#_resources ._image-list:after{content:'';display:block;clear:both}#_resources ._image-list li{flex-grow:1;cursor:pointer;overflow-y:hidden}#_resources ._image-list li._image{height:100px;font-size:0}#_resources ._image-list li img{height:100px;min-width:100%;-o-object-fit:cover;object-fit:cover}._safe-area #_resources{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},8011:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_settings{overflow-y:auto;-webkit-overflow-scrolling:touch}._safe-area #_settings{padding-bottom:calc(0px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},5571:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_snippets{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:10px}#_snippets ._section{margin-bottom:10px;border:1px solid var(--border);overflow:hidden;cursor:pointer}#_snippets ._section:active ._name{background:var(--highlight);color:var(--select-foreground)}#_snippets ._section ._name{padding:10px;line-height:18px;color:var(--primary);background:var(--darker-background);transition:background-color .3s}#_snippets ._section ._name ._btn{margin-left:10px;float:right;text-align:center;width:18px;height:18px;font-size:12px}#_snippets ._section ._description{font-size:12px;color:var(--foreground);padding:10px;transition:background-color .3s}._safe-area #_snippets{padding-bottom:calc(10px + env(safe-area-inset-bottom))}",""]),xe.exports=$e},7346:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._search-highlight-block{display:inline}._search-highlight-block ._keyword{background:var(--console-warn-background);color:var(--console-warn-foreground)}",""]),xe.exports=$e},1344:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"#_sources{font-size:0;overflow-y:auto;-webkit-overflow-scrolling:touch;color:var(--foreground)}#_sources ._code-wrapper,#_sources ._raw-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%;min-height:100%}#_sources ._code,#_sources ._raw{height:100%}#_sources ._code ._keyword,#_sources ._raw ._keyword{color:var(--keyword-color)}#_sources ._code ._comment,#_sources ._raw ._comment{color:var(--comment-color)}#_sources ._code ._number,#_sources ._raw ._number{color:var(--number-color)}#_sources ._code ._string,#_sources ._raw ._string{color:var(--string-color)}#_sources ._code ._operator,#_sources ._raw ._operator{color:var(--operator-color)}#_sources ._code[data-type=html] ._keyword,#_sources ._raw[data-type=html] ._keyword{color:var(--tag-name-color)}#_sources ._image{font-size:12px}#_sources ._image ._breadcrumb{background:var(--darker-background);color:var(--primary);-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;margin-bottom:10px;word-break:break-all;padding:10px;font-size:16px;min-height:40px;border-bottom:1px solid var(--border)}#_sources ._image ._img-container{text-align:center}#_sources ._image ._img-container img{max-width:100%}#_sources ._image ._img-info{text-align:center;margin:20px 0;color:var(--foreground)}#_sources ._json{padding:0 10px}#_sources ._json *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}#_sources iframe{width:100%;height:100%}",""]),xe.exports=$e},8020:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"._container a,._container abbr,._container acronym,._container address,._container applet,._container article,._container aside,._container audio,._container b,._container big,._container blockquote,._container canvas,._container caption,._container center,._container cite,._container code,._container dd,._container del,._container details,._container dfn,._container dl,._container dt,._container em,._container embed,._container fieldset,._container figcaption,._container figure,._container footer,._container form,._container h1,._container h2,._container h3,._container h4,._container h5,._container h6,._container header,._container hgroup,._container i,._container iframe,._container img,._container ins,._container kbd,._container label,._container legend,._container li,._container mark,._container menu,._container nav,._container object,._container ol,._container output,._container p,._container pre,._container q,._container ruby,._container s,._container samp,._container section,._container small,._container span,._container strike,._container strong,._container sub,._container summary,._container sup,._container table,._container tbody,._container td,._container tfoot,._container th,._container thead,._container time,._container tr,._container tt,._container u,._container ul,._container var,._container video{margin:0;padding:0;border:0;font-size:100%}._container article,._container aside,._container details,._container figcaption,._container figure,._container footer,._container header,._container hgroup,._container menu,._container nav,._container section{display:block}._container body{line-height:1}._container ol,._container ul{list-style:none}._container blockquote,._container q{quotes:none}._container blockquote:after,._container blockquote:before,._container q:after,._container q:before{content:'';content:none}._container table{border-collapse:collapse;border-spacing:0}",""]),xe.exports=$e},8516:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`.luna-console{background:var(--background)}.luna-console-header{color:var(--link-color);border-bottom-color:var(--border)}.luna-console-nesting-level{border-right-color:var(--border)}.luna-console-nesting-level::before{border-bottom-color:var(--border)}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:var(--contrast)}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:var(--border)}.luna-console-log-item{border-bottom-color:var(--border);color:var(--foreground)}.luna-console-log-item a{color:var(--link-color)!important}.luna-console-log-item .luna-console-icon-container .luna-console-icon{color:var(--foreground)}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{color:#e8a400}.luna-console-log-item .luna-console-count{color:var(--select-foreground);background:var(--highlight)}.luna-console-log-item.luna-console-warn{color:var(--console-warn-foreground);background:var(--console-warn-background);border-color:var(--console-warn-border)}.luna-console-log-item.luna-console-error{background:var(--console-error-background);color:var(--console-error-foreground);border-color:var(--console-error-border)}.luna-console-log-item.luna-console-error .luna-console-count{background:var(--console-error-foreground)}.luna-console-log-item .luna-console-code .luna-console-key{color:var(--var-color)}.luna-console-log-item .luna-console-code .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-code .luna-console-null{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-string{color:var(--string-color)}.luna-console-log-item .luna-console-code .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-special{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-keyword{color:var(--keyword-color)}.luna-console-log-item .luna-console-code .luna-console-operator{color:var(--operator-color)}.luna-console-log-item .luna-console-code .luna-console-comment{color:var(--comment-color)}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:var(--operator-color)}.luna-console-log-item .luna-console-log-content .luna-console-number{color:var(--number-color)}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:var(--keyword-color)}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:var(--var-color)}.luna-console-preview .luna-console-key{color:var(--var-color)}.luna-console-preview .luna-console-number{color:var(--number-color)}.luna-console-preview .luna-console-null{color:var(--operator-color)}.luna-console-preview .luna-console-string{color:var(--string-color)}.luna-console-preview .luna-console-boolean{color:var(--keyword-color)}.luna-console-preview .luna-console-special{color:var(--operator-color)}.luna-console-preview .luna-console-keyword{color:var(--keyword-color)}.luna-console-preview .luna-console-operator{color:var(--operator-color)}.luna-console-preview .luna-console-comment{color:var(--comment-color)}.luna-object-viewer{color:var(--primary);font-size:12px!important}.luna-object-viewer-null{color:var(--operator-color)}.luna-object-viewer-regexp,.luna-object-viewer-string{color:var(--string-color)}.luna-object-viewer-number{color:var(--number-color)}.luna-object-viewer-boolean{color:var(--keyword-color)}.luna-object-viewer-special{color:var(--operator-color)}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:var(--var-color)}.luna-object-viewer-expanded:before{border-color:transparent;border-top-color:var(--foreground)}.luna-object-viewer-collapsed:before{border-top-color:transparent;border-left-color:var(--foreground)}.luna-notification{pointer-events:none!important;padding:10px;z-index:1000}.luna-notification-item{z-index:500;color:var(--foreground);background:var(--background);box-shadow:none;padding:5px 10px;border:1px solid var(--border)}.luna-notification-upper{margin-bottom:10px}.luna-notification-lower{margin-top:10px}.luna-data-grid{color:var(--foreground);background:var(--background);border-color:var(--border)}.luna-data-grid:focus .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--accent)}.luna-data-grid td,.luna-data-grid th{border-color:var(--border)}.luna-data-grid th{background:var(--darker-background)}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{color:var(--select-foreground);background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:var(--highlight)}.luna-data-grid .luna-data-grid-data-container tr:nth-child(even){background:var(--contrast)}.luna-dom-viewer{color:var(--foreground)}.luna-dom-viewer .luna-dom-viewer-html-tag,.luna-dom-viewer .luna-dom-viewer-tag-name{color:var(--tag-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-name{color:var(--attribute-name-color)}.luna-dom-viewer .luna-dom-viewer-attribute-value{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-html-comment{color:var(--comment-color)}.luna-dom-viewer .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:var(--contrast)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:var(--highlight)}.luna-dom-viewer .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:var(--accent);opacity:.2}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-key{color:var(--var-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-number{color:var(--number-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-null{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-string{color:var(--string-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-boolean{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-special{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:var(--keyword-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:var(--operator-color)}.luna-dom-viewer .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:var(--comment-color)}.luna-dom-viewer-children{margin:0;padding-left:15px!important}.luna-modal{z-index:9999999}.luna-modal-body,.luna-modal-input{color:var(--foreground);background:var(--background)}.luna-modal-input{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important;border-color:var(--border)}.luna-modal-button-group .luna-modal-secondary{border-color:var(--border);color:var(--foreground);background:var(--background)}.luna-modal-button-group .luna-modal-primary{background:var(--accent)}.luna-modal-button-group .luna-modal-button:active::before{background:var(--accent)}.luna-tab{position:absolute;left:0;top:0;color:var(--foreground);background:var(--darker-background)}.luna-tab-tabs-container{border-color:var(--border)}.luna-tab-item.luna-tab-selected,.luna-tab-item:hover{background:var(--highlight);color:var(--select-foreground)}.luna-tab-slider{background:var(--accent)}.luna-text-viewer{color:var(--foreground);border:none;border-bottom:1px solid var(--border);background:var(--background);font-size:12px}.luna-text-viewer .luna-text-viewer-line-text{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-line-text *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer .luna-text-viewer-copy,.luna-text-viewer .luna-text-viewer-line-number{border-color:var(--border)}.luna-text-viewer .luna-text-viewer-copy .luna-text-viewer-icon-check{color:var(--accent)}.luna-text-viewer .luna-text-viewer-copy{background-color:var(--background)}.luna-setting{color:var(--foreground);background:var(--background)}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:var(--darker-background)}.luna-setting-item.luna-setting-selected:focus{outline:0}.luna-setting-item-title{font-size:14px}.luna-setting-item-separator{border-color:var(--border)}.luna-setting-item-checkbox input{border-color:var(--border)}.luna-setting-item-checkbox input:checked{background-color:var(--accent);border-color:var(--accent)}.luna-setting-item-select .luna-setting-select select{color:var(--foreground);border-color:var(--border);background:var(--background)}.luna-setting-item-select .luna-setting-select:after{border-top-color:var(--foreground)}.luna-setting-item-button button{color:var(--accent);background:var(--background);border-color:var(--border)}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:var(--darker-background)}.luna-setting-item-button button:active{border:1px solid var(--accent)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:var(--border)}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{background:var(--accent)}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:var(--border);background:radial-gradient(circle at center,var(--dark) 0,var(--dark) 15%,var(--light) 22%,var(--light) 100%)}.luna-box-model{background:0 0}.luna-box-model-position{color:var(--foreground)}._container{min-width:320px;pointer-events:none;position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999999;color:var(--foreground);font-family:".SFNSDisplay-Regular","Helvetica Neue","Lucida Grande","Segoe UI",Tahoma,sans-serif;font-size:14px;direction:ltr}._container._dark{color-scheme:dark}._container *{box-sizing:border-box;pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none}._container ul{list-style:none;padding:0;margin:0}._container h1,._container h2,._container h3,._container h4{margin:0}._container h2{font-size:14px}._container h2 [class*=' _icon-'],._container h2 [class^='_icon-']{font-weight:400}._hidden{display:none}._icon-disabled{opacity:.5;pointer-events:none;cursor:default!important}._icon-disabled:active{color:inherit!important}._tag-name-color{color:var(--tag-name-color)}._function-color{color:var(--function-color)}._attribute-name-color{color:var(--attribute-name-color)}._operator-color{color:var(--operator-color)}._string-color{color:var(--string-color)}`,""]),xe.exports=$e},6833:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-box-model{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;display:inline-block;color:#222;font-size:12px;text-align:center;white-space:nowrap}.luna-box-model.luna-box-model-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-box-model.luna-box-model-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-box-model .luna-box-model-hidden,.luna-box-model.luna-box-model-hidden{display:none}.luna-box-model .luna-box-model-invisible,.luna-box-model.luna-box-model-invisible{visibility:hidden}.luna-box-model *{box-sizing:border-box}.luna-box-model.luna-box-model-theme-dark{color:#a5a5a5;background-color:#242424}.luna-box-model-label{position:absolute;margin-left:3px;padding:0 2px}.luna-box-model-bottom,.luna-box-model-left,.luna-box-model-right,.luna-box-model-top{display:inline-block}.luna-box-model-left,.luna-box-model-right{vertical-align:middle}.luna-box-model-border,.luna-box-model-content,.luna-box-model-margin,.luna-box-model-padding,.luna-box-model-position{position:relative;display:inline-block;text-align:center;vertical-align:middle;padding:3px;margin:3px}.luna-box-model-position{border:1px grey dotted}.luna-box-model-margin{color:#333;border:1px dashed;background:rgba(246,178,107,.66)}.luna-box-model-border{color:#333;border:1px #000 solid;background:rgba(255,229,153,.66)}.luna-box-model-padding{color:#333;border:1px grey dashed;background:rgba(147,196,125,.55)}.luna-box-model-content{color:#333;border:1px grey solid;min-width:100px;background:rgba(111,168,220,.66)}",""]),xe.exports=$e},9327:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`@font-face{font-family:luna-console-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAasAAsAAAAACnAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAI4AAADcIsYnIk9TLzIAAAGYAAAAPgAAAFZWmlGRY21hcAAAAdgAAAD2AAACyDioZ9NnbHlmAAAC0AAAAZgAAAH8Lq6nDGhlYWQAAARoAAAAMQAAADZ25cSzaGhlYQAABJwAAAAdAAAAJAgCBBRobXR4AAAEvAAAABkAAABYGAH//GxvY2EAAATYAAAAGAAAAC4J8glUbWF4cAAABPAAAAAfAAAAIAEjAFBuYW1lAAAFEAAAASkAAAIWm5e+CnBvc3QAAAY8AAAAcAAAAJ7qA/7MeJxNjTsOwjAQRJ8TJzE2hPBrKBBHQByAAiGqFBRcIBVCiqhyBA7O2AgRr9Y7M2+lxQCeAyeyy7W9U/fd8GKL5fsiH2vTPx8d7ufEbJpO/aagYc+RM7fEjBKnmiRuySmZUTNNf0wybYSRj9VoO4iU7NQh+Up8qelZs5EupP75Shfm2oz3Kmkvt/gARcgJKwAAeJxjYGQUZ5zAwMrAwNTJdIaBgaEfQjO+ZjBi5ACKMrAyM2AFAWmuKQwHGHQ/srGAuDEsTGBhRhABALQ1CMwAAHiczdJNbsIwEIbh1+QHQsJviNRFF1XX7aEQRZQNRQjEHXqgrnopn4B+E8+qqip117GeRB4nk4lloAAyeZIcwicBiw9lQ5/PGPf5nHfNV8yVyXlmzZY9R05cuMbydtOqZTfsOCh7Vjb02e8RVMXGHfc8aDxqwFKVF7QMtdLpmzUVDSOmTJjpnUH/3YJSBcofqv4Wyz8+b6FuWvXSjW1SV30r1sl/icYuofFZh+1+Yn+7dnPZuIW8uFa2big7t5JXZzX3znbh4Gp5c5UcnfVyciM5u6lc3ESuTnsZQ2JnLQ4S7J4ldjZjntj5jEVi5zaWCeUXWN4q9AAAeJxdUMFOU0EUnTMzb2o1FB5O5wENg31k5mExVEo7jSGBEuO6CStDmtbIBuiKBYg/gRu/ABO3/ocscOEXsHBpogtWvFfnvQgxJnduztx7zknuIXQyIYSDE9IgLwmBmIZI1pDYbTSxBqeW4KvrVKSmaaRKFZREE7YJIyONSLW6W37bLiRxscXNTH1zbnFqlnJ5Eu+G9MnT8JBy9l69ELx69Ohd9JCryrwcU07TbCU5H4y+jQbnyco/EF+8x1/eaX03bCzR8IgGwVn0WC/I8YOzaLGS+4+p4K8O/lcXkPhj/CP0ig1JQIhJyugCxz3o7LqH4YUH0L3swlMK3q+CV/HMbhkJAqlarm1jgd+97DpnfsKPeH15eT2+l9L5OJ/kcjZJfY6MU++wQPzI+PRECUJjo97aAtqupaqhFLHtRLHNf1Kwn9lAOid9L7tV9nzVldNL3dC+NmrGOGM+sme2VrO335Mda3foXlXravY57zemY23HkLs72RsW5JegDjZK99FnPPtwl8FX1i92IfAax6yfvkWf/AHb1F1JeJxjYGRgYABi3/mPYuP5bb4ycLOABKI4H+9rgNH//zIwsDCzMAElOBhAJAMAQ2IK+QAAAHicY2BkYGBhAAEWhv9///9lYWZgZEAFYgBbLQQgAAAAeJxjYGBgYGH4/58FTIPZf2FsSgAAM58EEwAAAHicY2AAgjyGJoYlDI8YPjD8ww8BeTMTR3icY2BkYGAQY3BhYGYAASYg5gJCBob/YD4DABGFAXQAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxtxksOgjAUQNF3kaIW/x9cBYtqgEAnLXlp0+1rwtQzuVcq2Vj5r6NiR42hYc+BI5aWE2cuXLlx58GTF286PmIm1ajGhzWnJub0S12cBjs4nVI/xhLabdXPS2JCiXgCK5lEwTHQMzKziHwBqnYYpg==') format('woff')}[class*=' luna-console-icon-'],[class^=luna-console-icon-]{display:inline-block;font-family:luna-console-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-console-icon-error:before{content:'\\f101'}.luna-console-icon-input:before{content:'\\f102'}.luna-console-icon-output:before{content:'\\f103'}.luna-console-icon-warn:before{content:'\\f104'}.luna-console-icon-caret-down:before{content:'\\f105'}.luna-console-icon-caret-right:before{content:'\\f106'}.luna-console{background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;position:relative;will-change:scroll-position;cursor:default;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console.luna-console-theme-dark{background-color:#242424}.luna-console-hidden{display:none}.luna-console-fake-logs{position:absolute;left:0;top:0;pointer-events:none;visibility:hidden;width:100%}.luna-console-logs{padding-top:1px;position:absolute;width:100%}.luna-console-log-container{box-sizing:content-box}.luna-console-log-container.luna-console-selected .luna-console-log-item{background:#ecf1f8}.luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#ccdef5}.luna-console-header{white-space:nowrap;display:flex;font-size:11px;color:#545454;border-top:1px solid transparent;border-bottom:1px solid #ccc}.luna-console-header .luna-console-time-from-container{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:3px 10px}.luna-console-nesting-level{width:14px;flex-shrink:0;margin-top:-1px;margin-bottom:-1px;position:relative;border-right:1px solid #ccc}.luna-console-nesting-level.luna-console-group-closed::before{content:""}.luna-console-nesting-level::before{border-bottom:1px solid #ccc;position:absolute;top:0;left:0;margin-left:100%;width:5px;height:100%;box-sizing:border-box}.luna-console-log-item{position:relative;display:flex;border-top:1px solid transparent;border-bottom:1px solid #ccc;margin-top:-1px;color:#333}.luna-console-log-item:after{content:"";display:block;clear:both}.luna-console-log-item .luna-console-code{display:inline;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.luna-console-log-item .luna-console-code .luna-console-keyword{color:#881280}.luna-console-log-item .luna-console-code .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-code .luna-console-operator{color:gray}.luna-console-log-item .luna-console-code .luna-console-comment{color:#236e25}.luna-console-log-item .luna-console-code .luna-console-string{color:#1a1aa6}.luna-console-log-item a{color:#15c!important}.luna-console-log-item .luna-console-icon-container{margin:0 -6px 0 10px}.luna-console-log-item .luna-console-icon-container .luna-console-icon{line-height:20px;font-size:12px;color:#333;position:relative}.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-log-item .luna-console-icon-container .luna-console-icon-caret-right{top:0;left:-2px}.luna-console-log-item .luna-console-icon-container .luna-console-icon-error{top:0;color:#ef3842}.luna-console-log-item .luna-console-icon-container .luna-console-icon-warn{top:0;color:#e8a400}.luna-console-log-item .luna-console-count{background:#8097bd;color:#fff;padding:2px 4px;border-radius:10px;font-size:12px;float:left;margin:1px -6px 0 10px}.luna-console-log-item .luna-console-log-content-wrapper{flex:1;overflow:hidden}.luna-console-log-item .luna-console-log-content{padding:3px 0;margin:0 10px;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:pre-wrap;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content *{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-console-log-item .luna-console-log-content>*{vertical-align:top}.luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#5e5e5e}.luna-console-log-item .luna-console-log-content .luna-console-number{color:#1c00cf}.luna-console-log-item .luna-console-log-content .luna-console-boolean{color:#0d22aa}.luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#881391}.luna-console-log-item .luna-console-data-grid,.luna-console-log-item .luna-console-dom-viewer{white-space:initial}.luna-console-log-item.luna-console-error{z-index:50;background:#fff0f0;color:red;border-top:1px solid #ffd6d6;border-bottom:1px solid #ffd6d6}.luna-console-log-item.luna-console-error .luna-console-stack{padding-left:1.2em;white-space:nowrap}.luna-console-log-item.luna-console-error .luna-console-count{background:red}.luna-console-log-item.luna-console-debug{z-index:20}.luna-console-log-item.luna-console-input{border-bottom-color:transparent}.luna-console-log-item.luna-console-warn{z-index:40;color:#5c5c00;background:#fffbe5;border-top:1px solid #fff5c2;border-bottom:1px solid #fff5c2}.luna-console-log-item.luna-console-warn .luna-console-count{background:#e8a400}.luna-console-log-item.luna-console-info{z-index:30}.luna-console-log-item.luna-console-group,.luna-console-log-item.luna-console-groupCollapsed{font-weight:700}.luna-console-preview{display:inline-block}.luna-console-preview .luna-console-preview-container{display:flex;align-items:center}.luna-console-preview .luna-console-json{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-left:12px}.luna-console-preview .luna-console-preview-icon-container{display:block}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon{position:relative;font-size:12px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-down{top:2px}.luna-console-preview .luna-console-preview-icon-container .luna-console-icon-caret-right{top:1px}.luna-console-preview .luna-console-preview-content-container{word-break:break-all}.luna-console-preview .luna-console-descriptor,.luna-console-preview .luna-console-object-preview{font-style:italic}.luna-console-preview .luna-console-key{color:#881391}.luna-console-preview .luna-console-number{color:#1c00cf}.luna-console-preview .luna-console-null{color:#5e5e5e}.luna-console-preview .luna-console-string{color:#c41a16}.luna-console-preview .luna-console-boolean{color:#0d22aa}.luna-console-preview .luna-console-special{color:#5e5e5e}.luna-console-theme-dark{color-scheme:dark}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item{background:#29323d}.luna-console-theme-dark .luna-console-log-container.luna-console-selected .luna-console-log-item:not(.luna-console-error):not(.luna-console-warn){border-color:#4173b4}.luna-console-theme-dark .luna-console-log-item{color:#a5a5a5;border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-keyword{color:#e36eec}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-operator{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-comment{color:#747474}.luna-console-theme-dark .luna-console-log-item .luna-console-code .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-log-item.luna-console-error{background:#290000;color:#ff8080;border-top-color:#5c0000;border-bottom-color:#5c0000}.luna-console-theme-dark .luna-console-log-item.luna-console-error .luna-console-count{background:#ff8080}.luna-console-theme-dark .luna-console-log-item.luna-console-warn{color:#ffcb6b;background:#332a00;border-top-color:#650;border-bottom-color:#650}.luna-console-theme-dark .luna-console-log-item .luna-console-count{background:#42597f;color:#949494}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-null,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-undefined{color:#7f7f7f}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-boolean,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-regexp,.luna-console-theme-dark .luna-console-log-item .luna-console-log-content .luna-console-symbol{color:#e36eec}.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-down,.luna-console-theme-dark .luna-console-icon-container .luna-console-icon-caret-right{color:#9aa0a6}.luna-console-theme-dark .luna-console-header{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level{border-right-color:#3d3d3d}.luna-console-theme-dark .luna-console-nesting-level::before{border-bottom-color:#3d3d3d}.luna-console-theme-dark .luna-console-preview .luna-console-key{color:#e36eec}.luna-console-theme-dark .luna-console-preview .luna-console-number{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-null{color:#7f7f7f}.luna-console-theme-dark .luna-console-preview .luna-console-string{color:#f29766}.luna-console-theme-dark .luna-console-preview .luna-console-boolean{color:#9980ff}.luna-console-theme-dark .luna-console-preview .luna-console-special{color:#7f7f7f}`,""]),xe.exports=$e},4987:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,'.luna-data-grid{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;font-size:12px;border:1px solid #ccc;overflow:hidden;outline:0}.luna-data-grid.luna-data-grid-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-data-grid.luna-data-grid-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-data-grid .luna-data-grid-hidden,.luna-data-grid.luna-data-grid-hidden{display:none}.luna-data-grid .luna-data-grid-invisible,.luna-data-grid.luna-data-grid-invisible{visibility:hidden}.luna-data-grid *{box-sizing:border-box}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background-color:#242424}.luna-data-grid.luna-data-grid-theme-dark{color:#a5a5a5;background:#242424;border-color:#3d3d3d}.luna-data-grid table{width:100%;height:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.luna-data-grid td,.luna-data-grid th{padding:1px 4px;border-left:1px solid #ccc;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.luna-data-grid td:first-child,.luna-data-grid th:first-child{border-left:none}.luna-data-grid th{font-weight:400;border-bottom:1px solid #ccc;text-align:left;background:#f3f3f3}.luna-data-grid th.luna-data-grid-sortable:active,.luna-data-grid th.luna-data-grid-sortable:hover{background:#e6e6e6}.luna-data-grid td{height:20px;cursor:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-data-grid:focus .luna-data-grid-node.luna-data-grid-selected{color:#fff;background:#1a73e8}.luna-data-grid:focus.luna-data-grid-theme-dark .luna-data-grid-node.luna-data-grid-selected{background:#0e639c}.luna-data-grid-data-container,.luna-data-grid-header-container{overflow:hidden}.luna-data-grid-header-container{height:21px}.luna-data-grid-data-container{overflow-y:auto}.luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#ddd}.luna-data-grid-data-container tr:nth-child(even){background:#f2f7fd}.luna-data-grid-filler-row td{height:auto}.luna-data-grid-resizer{position:absolute;top:0;bottom:0;width:5px;z-index:500;touch-action:none;cursor:col-resize}.luna-data-grid-resizing{cursor:col-resize!important}.luna-data-grid-resizing .luna-data-grid *{cursor:col-resize!important}.luna-data-grid-theme-dark{color-scheme:dark}.luna-data-grid-theme-dark td,.luna-data-grid-theme-dark th{border-color:#3d3d3d}.luna-data-grid-theme-dark th{background:#292a2d}.luna-data-grid-theme-dark th.luna-data-grid-sortable:hover{background:#303030}.luna-data-grid-theme-dark .luna-data-grid-data-container .luna-data-grid-node.luna-data-grid-selected{background:#393939}.luna-data-grid-theme-dark .luna-data-grid-data-container tr:nth-child(even){background:#0b2544}',""]),xe.exports=$e},8903:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-dom-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAASgAAsAAAAAB4QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFwAAACMIRYl8k9TLzIAAAFkAAAAPQAAAFZLxUkaY21hcAAAAaQAAADHAAACWBcU1KRnbHlmAAACbAAAAC4AAAAwabU7V2hlYWQAAAKcAAAALwAAADZzjr4faGhlYQAAAswAAAAYAAAAJAFyANdobXR4AAAC5AAAABAAAAA4AZAAAGxvY2EAAAL0AAAAEAAAAB4AnACQbWF4cAAAAwQAAAAfAAAAIAEZAA9uYW1lAAADJAAAASkAAAIWm5e+CnBvc3QAAARQAAAATgAAAG5m1cqleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiC2AdNMDGwMckCSGyzHCuSxA2kuIJ+HgReoggtJnANMcwJFGRmYAXZLBkt4nGNgZJBlnMDAysDAUMfQAyRloHQCAyeDMQMDEwMrMwNWEJDmmsJwgEH3IxPDCSBXCEwyMDCCCABbzwhtAAAAeJy1kksKwjAQhr/0oX0JLlyIZ9BDCQXtRkEEwQO56uV6Av0nmZWI4MIJX2H+JvNIBiiBXGxFAWEkYPaQGqKe00S94C5/xVJKwY49PQNnLly5Tdnzqb9JPXByNUT13YKipLVm4wvmilvR0ilfrboKFsy0N9OB2Yco32z+437SLVTQdo05dUksgF8z/8+6+B3dU2m67YR1u3fsLXtH7egtEq04OhZpcKzbk1OLs2NzcXE0F3rNhOW9ObqbKSRsVqYsQfYC6fYeiQB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOLeSTNM4/ltvjJwM5wACkRxPt7XgKCBYCXDMiDJwcAE4gAAQEgKxAB4nGNgZGBgOMHAACdXMjAyoAI+ADixAkp4nGNgAIITUEwCAABMyAGReJxjYAACHgYJ7BAADsoBLXicY2BkYGDgY2BmANEMDExAzAWEDAz/wXwGAAomASkAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxk0KgCAUAOE3/adlJ/FQgqBuFETw+i2kTd9mRiYZvv4ZJmYWVjZ2Dk4UmosbwyPK1Vq69aVnPbamEBuOSqFj8WQSgUgTeQGPtA2iAAA=') format('woff')}[class*=' luna-dom-viewer-icon-'],[class^=luna-dom-viewer-icon-]{display:inline-block;font-family:luna-dom-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-dom-viewer-icon-arrow-down:before{content:'\\f101'}.luna-dom-viewer-icon-arrow-right:before{content:'\\f102'}.luna-dom-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;background:0 0;overflow-x:hidden;word-wrap:break-word;padding:0 0 0 12px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;cursor:default;list-style:none}.luna-dom-viewer.luna-dom-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-viewer.luna-dom-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-viewer .luna-dom-viewer-hidden,.luna-dom-viewer.luna-dom-viewer-hidden{display:none}.luna-dom-viewer .luna-dom-viewer-invisible,.luna-dom-viewer.luna-dom-viewer-invisible{visibility:hidden}.luna-dom-viewer *{box-sizing:border-box}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#a5a5a5;background-color:#242424}.luna-dom-viewer ul{list-style:none}.luna-dom-viewer.luna-dom-viewer-theme-dark{color:#e8eaed}.luna-dom-viewer-toggle{min-width:12px;margin-left:-12px}.luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-icon-arrow-right{position:absolute!important;font-size:12px!important}.luna-dom-viewer-tree-item{line-height:16px;min-height:16px;position:relative;z-index:10;outline:0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection,.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{display:block}.luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#f2f7fd}.luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#e0e0e0}.luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#cfe8fc}.luna-dom-viewer-tree-item .luna-dom-viewer-icon-arrow-down{display:none}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-down{display:inline-block}.luna-dom-viewer-tree-item.luna-dom-viewer-expanded .luna-dom-viewer-icon-arrow-right{display:none}.luna-dom-viewer-html-tag{color:#881280}.luna-dom-viewer-tag-name{color:#881280}.luna-dom-viewer-attribute-name{color:#994500}.luna-dom-viewer-attribute-value{color:#1a1aa6}.luna-dom-viewer-attribute-value.luna-dom-viewer-attribute-underline{text-decoration:underline}.luna-dom-viewer-html-comment{color:#236e25}.luna-dom-viewer-selection{position:absolute;display:none;left:-10000px;right:-10000px;top:0;bottom:0;z-index:-1}.luna-dom-viewer-children{margin:0;overflow-x:visible;overflow-y:visible;padding-left:15px}.luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#881280}.luna-dom-viewer-text-node .luna-dom-viewer-number{color:#1c00cf}.luna-dom-viewer-text-node .luna-dom-viewer-operator{color:grey}.luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#236e25}.luna-dom-viewer-text-node .luna-dom-viewer-string{color:#1a1aa6}.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-down,.luna-dom-viewer-theme-dark .luna-dom-viewer-icon-arrow-right{color:#9aa0a6}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-tag,.luna-dom-viewer-theme-dark .luna-dom-viewer-tag-name{color:#5db0d7}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-name{color:#9bbbdc}.luna-dom-viewer-theme-dark .luna-dom-viewer-attribute-value{color:#f29766}.luna-dom-viewer-theme-dark .luna-dom-viewer-html-comment{color:#898989}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item:hover .luna-dom-viewer-selection{background:#083c69}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected .luna-dom-viewer-selection{background:#454545}.luna-dom-viewer-theme-dark .luna-dom-viewer-tree-item.luna-dom-viewer-selected:focus .luna-dom-viewer-selection{background:#073d69}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-keyword{color:#e36eec}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-number{color:#9980ff}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-operator{color:#7f7f7f}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-comment{color:#747474}.luna-dom-viewer-theme-dark .luna-dom-viewer-text-node .luna-dom-viewer-string{color:#f29766}",""]),xe.exports=$e},5512:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`@font-face{font-family:luna-modal-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAQwAAsAAAAABpQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAEkAAABoILgliE9TLzIAAAFUAAAAPQAAAFZL+0kZY21hcAAAAZQAAACBAAAB3sqmCy5nbHlmAAACGAAAAC0AAAA0Ftcaz2hlYWQAAAJIAAAALgAAADZzhL4YaGhlYQAAAngAAAAYAAAAJAFoANBobXR4AAACkAAAAA8AAAAcAMgAAGxvY2EAAAKgAAAADgAAABAATgBObWF4cAAAArAAAAAfAAAAIAESABhuYW1lAAAC0AAAASkAAAIWm5e+CnBvc3QAAAP8AAAAMQAAAEOplauDeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiCWgNIsQMzKwAykWRnYgGxGBiYAk+wFgwAAAHicY2BkkGWcwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAIfkjI8MJIFcITDIwMIIIAGAqCKIAAAB4nM2RQQqDQAxFXxyVUsST9DhduBd3ggsv0JX39QT6kwYED1D6hzeQD0nmM0ADFPESNdiG4frItfALz/Br3qp7HlS0jEzMLKy7HYf8e33J1HMdortoWuPzreUX8p2hEikj9f+oi3vIyl86JpWYEvfnxH9sSTzPmijXbl+wE7urE5sAAAB4nGNgZACB+UDIzcBgrs6uzi7OLm4ubq4+j1tfn1tPD0xOhjGAJAMDAKekBtMAAAB4nGNgZGBgAGLPuE0l8fw2Xxm4GU4ABaI4H+9rQNBAMB8IGRg4GJhAHAA5KgqUAAB4nGNgZGBgOMHAACfnMzAyoAJ2ADfsAjl4nGNgAIITDFgBABIUAMkAeJxjYAACKQQEAAO4AJ0AAHicY2BkYGBgZ+BhANEMDExAzAWEDAz/wXwGAApKASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxjYGKAABiNDtgZmRiZGVkYWRnZGNkZORhYk3Pyi1MZkxlzGPMZixlTGRgANIEEbAAAAA==') format('woff')}[class*=' luna-modal-icon-'],[class^=luna-modal-icon-]{display:inline-block;font-family:luna-modal-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-modal-icon-close:before{content:'\\f101'}.luna-modal{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center}.luna-modal.luna-modal-platform-windows{font-family:"Segoe UI",Tahoma,sans-serif}.luna-modal.luna-modal-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-modal .luna-modal-hidden,.luna-modal.luna-modal-hidden{display:none}.luna-modal .luna-modal-invisible,.luna-modal.luna-modal-invisible{visibility:hidden}.luna-modal *{box-sizing:border-box}.luna-modal.luna-modal-theme-dark{color:#a5a5a5;background-color:#242424}.luna-modal-icon-close{position:absolute;right:16px;top:18px;cursor:pointer;font-size:20px}.luna-modal-body{position:relative;background:#fff;max-height:100%;display:flex;flex-direction:column;border-radius:4px}.luna-modal-body.luna-modal-no-title{position:static}.luna-modal-body.luna-modal-no-title .luna-modal-title{display:none}.luna-modal-body.luna-modal-no-title .luna-modal-icon-close{color:#fff}.luna-modal-body.luna-modal-no-footer .luna-modal-footer{display:none}.luna-modal-hidden{display:none}.luna-modal-title{padding:16px;padding-right:36px;padding-bottom:0;font-size:18px;height:46px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-modal-content{padding:16px;overflow-y:auto}.luna-modal-footer{padding:12px}.luna-modal-button-group{display:flex;justify-content:flex-end}.luna-modal-button{padding:0 12px;background:#e9ecef;cursor:default;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 4px;font-size:12px;border-radius:4px;overflow:hidden;height:28px;line-height:28px}.luna-modal-button:active::before{background:#1a73e8;content:"";opacity:.4;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.luna-modal-button.luna-modal-secondary{color:#1a73e8;border:1px solid #ccc;background:#fff}.luna-modal-button.luna-modal-primary{color:#fff;background:#1a73e8}.luna-modal-input{box-sizing:border-box;outline:0;width:100%;font-size:16px;padding:6px 12px;border:1px solid #ccc;-webkit-appearance:none;-moz-appearance:none}.luna-modal-theme-dark{color:#a5a5a5}.luna-modal-theme-dark .luna-modal-body{background:#242424}`,""]),xe.exports=$e},7591:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-notification{position:fixed;top:0;left:0;width:100%;height:100%;padding:20px;box-sizing:border-box;pointer-events:none;display:flex;flex-direction:column;font-size:14px;font-family:Arial,Helvetica,sans-serif}.luna-notification-item{display:flex;box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);padding:10px 16px;color:#333;background:#fff}.luna-notification-lower{margin-top:16px}.luna-notification-upper{margin-bottom:16px}.luna-notification-theme-dark .luna-notification-item{box-shadow:0 2px 2px 0 rgba(255,255,255,.07),0 1px 5px 0 rgba(255,255,255,.1);color:#a5a5a5;background:#242424}",""]),xe.exports=$e},4821:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-object-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS8AAsAAAAAB7QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAGEAAACMISgl+k9TLzIAAAFsAAAAPQAAAFZLxUkWY21hcAAAAawAAADWAAACdBU42qdnbHlmAAAChAAAAC4AAAAwabU7V2hlYWQAAAK0AAAALwAAADZzjr4faGhlYQAAAuQAAAAYAAAAJAFyANlobXR4AAAC/AAAABAAAABAAZAAAGxvY2EAAAMMAAAAEAAAACIAtACobWF4cAAAAxwAAAAfAAAAIAEbAA9uYW1lAAADPAAAASkAAAIWm5e+CnBvc3QAAARoAAAAUwAAAHZW8MNZeJxNjTsOQFAQRc/z/+sV1mABohKV0gZeJRJR2X9cT4RJZu7nFIMBMjoGvHGaF6rdngcNAc/c/O/Nvq2W5E1igdNE2zv1iGh1c5FQPlYXUlJRyxt9+/pUKadQa/AveGEGZQAAAHicY2BkkGScwMDKwMBQx9ADJGWgdAIDJ4MxAwMTAyszA1YQkOaawnCAQfcjE8MJIFcITDIwMIIIAFqDCGkAAAB4nM2STQ4BQRCFv54ZP8MwFhYW4gQcShBsSERi50BWDuFCcwJedddKRGKnOt8k9aanqudVAy0gF3NRQLgTsLhJDVHP6UW94Kp8zEhKwYIlG/YcOXHm0mTPp96aumLLwdUQ1fcIqmJrwpSZL+iqak5JmyE1Ayr1bdGhr/2ZPmp/qPQtuj/uJzqQl+pfDyypesQD6AT/ElV8PjyrMccT9rdLR3PUFBI227VTio1jbm6dodg5VnPvmAsHxzofHfmi+Sbs/pwdWcXFkWdNSNg9arIE2QufuSCyAAB4nGNgZACBlQzTGZgYGMyVxVc2O073AIpAxHsYloHFRc2dPZY2OTIwAACmEQesAAB4nGNgZGBgAOINe2b6x/PbfGXgZjgBFIjifLyvAUEDwUqGZUCSg4EJxAEAUn4LLAB4nGNgZGBgOMHAACdXMjAyoAIBADizAkx4nGNgAIITUEwGAABZUAGReJxjYAACHgYJ3BAAE94BXXicY2BkYGAQYGBmANEMDExAzAWEDAz/wXwGAApcASsAeJxlkD1uwkAUhMdgSAJSghQpKbNVCiKZn5IDQE9Bl8KYtTGyvdZ6QaLLCXKEHCGniHKCHChj82hgLT9/M2/e7soABviFh3p5uG1qvVq4oTpxm/Qg7JOfhTvo40W4S38o3MMbpsJ9POKdO3j+HZ0BSuEW7vEh3Kb/KeyTv4Q7eMK3cJf+j3APK/wJ9/HqDdPIFLEp3FIn+yy0Z3n+rrStUlOoSTA+WwtdaBs6vVHro6oOydS5WMXW5GrOrs4yo0prdjpywda5cjYaxeIHkcmRIoJBgbipDktoJNgjQwh71b3UK6YtKvq1VpggwPgqtWCqaJIhlcaGyTWOrBUOPG1K1zGt+FrO5KS5zGreJCMr/u+6t6MT0Q+wbaZKzDDiE1/kg+YO+T89EV6oAAAAeJxdxjkOgCAUANE/uOOGB+FQBIjaaEJIuL6FsfE1M6Lk9fXPoKioaWjp6BnQjEzMLKwYNtHepZhtuMs1vpvO/ch4HIlIxhK4KVyc7BwiD8nvDlkA') format('woff')}[class*=' luna-object-viewer-icon-'],[class^=luna-object-viewer-icon-]{display:inline-block;font-family:luna-object-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-object-viewer-icon-caret-down:before{content:'\\f101'}.luna-object-viewer-icon-caret-right:before{content:'\\f102'}.luna-object-viewer{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;cursor:default;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.2;min-height:100%;color:#333;list-style:none!important}.luna-object-viewer ul{list-style:none!important;padding:0!important;padding-left:12px!important;margin:0!important}.luna-object-viewer li{position:relative;white-space:nowrap;line-height:16px;min-height:16px}.luna-object-viewer>li>.luna-object-viewer-key{display:none}.luna-object-viewer span{position:static!important}.luna-object-viewer li .luna-object-viewer-collapsed~.luna-object-viewer-close:before{color:#999}.luna-object-viewer-array .luna-object-viewer-object .luna-object-viewer-key{display:inline}.luna-object-viewer-null{color:#5e5e5e}.luna-object-viewer-regexp,.luna-object-viewer-string{color:#c41a16}.luna-object-viewer-number{color:#1c00cf}.luna-object-viewer-boolean{color:#0d22aa}.luna-object-viewer-special{color:#5e5e5e}.luna-object-viewer-key,.luna-object-viewer-key-lighter{color:#881391}.luna-object-viewer-key-lighter{opacity:.6}.luna-object-viewer-key-special{color:#5e5e5e}.luna-object-viewer-collapsed .luna-object-viewer-icon,.luna-object-viewer-expanded .luna-object-viewer-icon{position:absolute!important;left:-12px;color:#727272;font-size:12px}.luna-object-viewer-icon-caret-right{top:0}.luna-object-viewer-icon-caret-down{top:1px}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-down{display:inline}.luna-object-viewer-expanded>.luna-object-viewer-icon-caret-right{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-down{display:none}.luna-object-viewer-collapsed>.luna-object-viewer-icon-caret-right{display:inline}.luna-object-viewer-hidden~ul{display:none}.luna-object-viewer-theme-dark{color:#fff}.luna-object-viewer-theme-dark .luna-object-viewer-null,.luna-object-viewer-theme-dark .luna-object-viewer-special{color:#a1a1a1}.luna-object-viewer-theme-dark .luna-object-viewer-regexp,.luna-object-viewer-theme-dark .luna-object-viewer-string{color:#f28b54}.luna-object-viewer-theme-dark .luna-object-viewer-boolean,.luna-object-viewer-theme-dark .luna-object-viewer-number{color:#9980ff}.luna-object-viewer-theme-dark .luna-object-viewer-key,.luna-object-viewer-theme-dark .luna-object-viewer-key-lighter{color:#5db0d7}",""]),xe.exports=$e},7871:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,`.luna-setting{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;min-width:320px}.luna-setting.luna-setting-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-setting.luna-setting-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-setting .luna-setting-hidden,.luna-setting.luna-setting-hidden{display:none}.luna-setting .luna-setting-invisible,.luna-setting.luna-setting-invisible{visibility:hidden}.luna-setting *{box-sizing:border-box}.luna-setting-item.luna-setting-selected,.luna-setting-item:hover{background:#f3f3f3}.luna-setting-item.luna-setting-selected:focus{outline:1px solid #1a73e8}.luna-setting-item .luna-setting-title{line-height:1.4em;font-weight:600}.luna-setting-item .luna-setting-description{line-height:1.4em}.luna-setting-item .luna-setting-description *{margin:0}.luna-setting-item .luna-setting-description strong{font-weight:600}.luna-setting-item .luna-setting-description a{background-color:transparent;color:#0969da;text-decoration:none}.luna-setting-item .luna-setting-control,.luna-setting-item .luna-setting-description{font-size:12px}.luna-setting-item .luna-setting-description{margin-bottom:8px}.luna-setting-item .luna-setting-control{display:flex;align-items:center}.luna-setting-item-button,.luna-setting-item-checkbox,.luna-setting-item-input,.luna-setting-item-number,.luna-setting-item-select,.luna-setting-item-title{padding:10px}.luna-setting-item-title{font-size:18px;font-weight:600}.luna-setting-item-input input{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:100%}.luna-setting-item-number input[type=number]{-webkit-tap-highlight-color:transparent;color:#333;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;outline:0;padding:2px 8px;border-radius:0;font-size:14px;background:#fff;width:200px;padding:2px}.luna-setting-item-number .luna-setting-range-container{flex:2;position:relative;top:1px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track{height:4px;width:100%;padding:0 10px;position:absolute;left:0;top:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#ccc;border-radius:2px;overflow:hidden;width:100%;height:4px}.luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar .luna-setting-range-track-progress{height:100%;background:#1a73e8;width:50%}.luna-setting-item-number .luna-setting-range-container input{-webkit-appearance:none;background:0 0;height:4px;width:100%;position:relative;top:-3px;margin:0 auto;outline:0;border-radius:2px}.luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{-webkit-appearance:none;position:relative;top:0;z-index:1;width:16px;border:none;height:16px;border-radius:10px;border:1px solid #ccc;background:radial-gradient(circle at center,#eee 0,#eee 15%,#fff 22%,#fff 100%)}.luna-setting-item-checkbox input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;height:14px;border:1px solid #ccc;border-radius:0;position:relative;outline:0;margin-left:0;margin-right:8px;transition:background-color .1s;align-self:flex-start;flex-shrink:0}.luna-setting-item-checkbox input:checked{background-color:#1a73e8;border-color:#1a73e8}.luna-setting-item-checkbox input:checked:after{content:"";width:100%;height:100%;position:absolute;left:0;top:0;background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjZmZmZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgdmVyc2lvbj0iMS4xIiB4PSIwcHgiIHk9IjBweCI+PHRpdGxlPmljb25fYnlfUG9zaGx5YWtvdjEwPC90aXRsZT48ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz48ZyBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyBmaWxsPSIjZmZmZmZmIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNi4wMDAwMDAsIDI2LjAwMDAwMCkiPjxwYXRoIGQ9Ik0xNy45OTk5ODc4LDMyLjQgTDEwLjk5OTk4NzgsMjUuNCBDMTAuMjI2Nzg5MSwyNC42MjY4MDE0IDguOTczMTg2NDQsMjQuNjI2ODAxNCA4LjE5OTk4Nzc5LDI1LjQgTDguMTk5OTg3NzksMjUuNCBDNy40MjY3ODkxNCwyNi4xNzMxOTg2IDcuNDI2Nzg5MTQsMjcuNDI2ODAxNCA4LjE5OTk4Nzc5LDI4LjIgTDE2LjU4NTc3NDIsMzYuNTg1Nzg2NCBDMTcuMzY2ODIyOCwzNy4zNjY4MzUgMTguNjMzMTUyOCwzNy4zNjY4MzUgMTkuNDE0MjAxNCwzNi41ODU3ODY0IEw0MC41OTk5ODc4LDE1LjQgQzQxLjM3MzE4NjQsMTQuNjI2ODAxNCA0MS4zNzMxODY0LDEzLjM3MzE5ODYgNDAuNTk5OTg3OCwxMi42IEw0MC41OTk5ODc4LDEyLjYgQzM5LjgyNjc4OTEsMTEuODI2ODAxNCAzOC41NzMxODY0LDExLjgyNjgwMTQgMzcuNzk5OTg3OCwxMi42IEwxNy45OTk5ODc4LDMyLjQgWiI+PC9wYXRoPjwvZz48L2c+PC9nPjwvc3ZnPg==);background-size:30px;background-repeat:no-repeat;background-position:center}.luna-setting-item-checkbox label{-webkit-tap-highlight-color:transparent}.luna-setting-item-checkbox label *{margin:0}.luna-setting-item-select .luna-setting-select{position:relative}.luna-setting-item-select .luna-setting-select select{margin:0;font-size:14px;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #ccc;padding:2px 8px;padding-right:18px;outline:0;color:#333;border-radius:0;-webkit-tap-highlight-color:transparent}.luna-setting-item-select .luna-setting-select:after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #333;position:absolute;top:0;bottom:0;right:6px;margin:auto;pointer-events:none}.luna-setting-item-select .luna-setting-select select{width:300px}.luna-setting-item-button button{-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #ccc;padding:2px 8px;color:#1a73e8;font-size:14px;border-radius:2px}.luna-setting-item-button button:active,.luna-setting-item-button button:hover{background:#f3f3f3}.luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-item-separator{border-bottom:1px solid #ccc}.luna-setting-theme-dark{color-scheme:dark;color:#a5a5a5;background:#242424}.luna-setting-theme-dark .luna-setting-item.luna-setting-selected,.luna-setting-theme-dark .luna-setting-item:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item .luna-setting-description a{background-color:transparent;color:#58a6ff}.luna-setting-theme-dark .luna-setting-item-separator{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-input input{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-checkbox input{border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select select{color:#a5a5a5;border-color:#3d3d3d;background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-select .luna-setting-select:after{border-top-color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-button button{background:#242424;border-color:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-button button:active,.luna-setting-theme-dark .luna-setting-item-button button:hover{background:#292a2d}.luna-setting-theme-dark .luna-setting-item-button button:active{border:1px solid #1a73e8}.luna-setting-theme-dark .luna-setting-item-number input[type=number]{background:#3d3d3d;border-color:#3d3d3d;color:#a5a5a5}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container .luna-setting-range-track .luna-setting-range-track-bar{background:#3d3d3d}.luna-setting-theme-dark .luna-setting-item-number .luna-setting-range-container input::-webkit-slider-thumb{border-color:#3d3d3d;background:radial-gradient(circle at center,#aaa 0,#aaa 15%,#ccc 22%,#ccc 100%)}`,""]),xe.exports=$e},2156:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,".luna-tab{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;position:relative;overflow:hidden;width:100%}.luna-tab.luna-tab-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-tab.luna-tab-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-tab .luna-tab-hidden,.luna-tab.luna-tab-hidden{display:none}.luna-tab .luna-tab-invisible,.luna-tab.luna-tab-invisible{visibility:hidden}.luna-tab *{box-sizing:border-box}.luna-tab.luna-tab-theme-dark{color:#a5a5a5;background-color:#242424}.luna-tab-tabs-container{border-bottom:1px solid #ccc}.luna-tab-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-y:hidden;width:100%;height:100%;font-size:0;white-space:nowrap}.luna-tab-tabs::-webkit-scrollbar{display:none;width:0;height:0}.luna-tab-item{cursor:pointer;display:inline-block;padding:0 10px;font-size:12px;text-align:center;text-transform:capitalize}.luna-tab-item:hover{background:#f3f3f3}.luna-tab-slider{transition:left .3s,width .3s;height:1px;background:#1a73e8;position:absolute;bottom:0;left:0}",""]),xe.exports=$e},5777:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:luna-text-viewer-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAS0AAsAAAAAB2QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAFQAAAB0INElr09TLzIAAAFcAAAAPQAAAFZL+0klY21hcAAAAZwAAACfAAACEAEewxRnbHlmAAACPAAAAIYAAACkNSDggmhlYWQAAALEAAAALgAAADZzrb4oaGhlYQAAAvQAAAAWAAAAJAGRANNobXR4AAADDAAAABAAAAAoAZAAAGxvY2EAAAMcAAAAEAAAABYBWgFIbWF4cAAAAywAAAAdAAAAIAEXADtuYW1lAAADTAAAASkAAAIWm5e+CnBvc3QAAAR4AAAAOwAAAFJIWdOleJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBWAdNMDGwMQkAWK1CGlYEZyGMCstiBMpxAUUYGZgDbGgXDeJxjYGTQYJzAwMrAwFDH0AMkZaB0AgMngzEDAxMDKzMDVhCQ5prCcIAh+SMTwwkgVwhMMjAwgggAY84IrgAAAHicvZFLCsMwDERHzsdJ6aL0HD1VQiDQRbIN9Axd9aI+QTpjq5Bdd5F4Bo1lybIBNAAq8iA1YB8YZG+qlvUKl6zXGBjf6MofMWHGEyu2FPb9oCxULCtHs3yy+J2urg1rtojo0HM/MKnFGabOGlbdYvdT+1N6/7drXl8e6Vajo3efHP3b7HAUvntBMy1OJKujMTeHNZMV9McpFBC+tLgY4QB4nGNgZACBEwzrGdgZGOwZxdnVDdXNPfKEGlhchO0KhZtZ3IQYmMFq1jCsZpBi0GLQY2AwNzGzZjQSk2UUYdNmVFID8UyVRUXYlNRMlVGlTM1FjU3tmZkTmVhYmFRBhHwoCyuzKgtTIjMzWJg3ZClIGMRlZQmVB7GhMixM0aGhQIsB52sTqgAAeJxjYGRgYADi2JNxkvH8Nl8ZuBlOAAWiOB/va0DQQHCCYT2Q5GBgAnEANJ0KnQAAeJxjYGRgYDjBwIBEMjKgAi4AOvoCZQAAeJxjYACCE1CMBwAAM7gBkXicY2AAAiGGIFQIABXIAqN4nGNgZGBg4GLQZ2BmAAEmMI8LSP4H8xkADjQBUwAAAHicZZA9bsJAFITHYEgCUoIUKSmzVQoimZ+SA0BPQZfCmLUxsr3WekGiywlyhBwhp4hyghwoY/NoYC0/fzNv3u7KAAb4hYd6ebhtar1auKE6cZv0IOyTn4U76ONFuEt/KNzDG6bCfTzinTt4/h2dAUrhFu7xIdym/ynsk7+EO3jCt3CX/o9wDyv8Cffx6g3TyBSxKdxSJ/sstGd5/q60rVJTqEkwPlsLXWgbOr1R66OqDsnUuVjF1uRqzq7OMqNKa3Y6csHWuXI2GsXiB5HJkSKCQYG4qQ5LaCTYI0MIe9W91CumLSr6tVaYIMD4KrVgqmiSIZXGhsk1jqwVDjxtStcxrfhazuSkucxq3iQjK/7vurejE9EPsG2mSsww4hNf5IPmDvk/PRFeqAAAAHicXcU7CsAgFEXBe4x/l/kQBAtt3X0KSZNpRk7X91/F8eAJRBKZQqUp2Og2va19MAadyWJzpBd4kgcWAA==') format('woff')}[class*=' luna-text-viewer-icon-'],[class^=luna-text-viewer-icon-]{display:inline-block;font-family:luna-text-viewer-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.luna-text-viewer-icon-check:before{content:'\\f101'}.luna-text-viewer-icon-copy:before{content:'\\f102'}.luna-text-viewer{color:#333;background-color:#fff;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;padding:0;unicode-bidi:embed;position:relative;overflow:auto;border:1px solid #ccc}.luna-text-viewer.luna-text-viewer-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-text-viewer.luna-text-viewer-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-text-viewer .luna-text-viewer-hidden,.luna-text-viewer.luna-text-viewer-hidden{display:none}.luna-text-viewer .luna-text-viewer-invisible,.luna-text-viewer.luna-text-viewer-invisible{visibility:hidden}.luna-text-viewer *{box-sizing:border-box}.luna-text-viewer.luna-text-viewer-theme-dark{color:#d9d9d9;border-color:#3d3d3d;background:#242424}.luna-text-viewer:hover .luna-text-viewer-copy{opacity:1}.luna-text-viewer-table{display:table}.luna-text-viewer-table .luna-text-viewer-line-number,.luna-text-viewer-table .luna-text-viewer-line-text{padding:0}.luna-text-viewer-table-row{display:table-row}.luna-text-viewer-line-number{display:table-cell;padding:0 3px 0 8px!important;text-align:right;vertical-align:top;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:1px solid #ccc}.luna-text-viewer-line-text{display:table-cell;padding-left:4px!important;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.luna-text-viewer-copy{background:#fff;opacity:0;position:absolute;right:5px;top:5px;border:1px solid #ccc;border-radius:4px;width:25px;height:25px;text-align:center;line-height:25px;cursor:pointer;transition:opacity .3s,top .3s}.luna-text-viewer-copy .luna-text-viewer-icon-check{color:#188037}.luna-text-viewer-text{padding:4px;font-size:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;box-sizing:border-box;white-space:pre;display:block}.luna-text-viewer-text.luna-text-viewer-line-numbers{padding:0}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines{white-space:pre-wrap}.luna-text-viewer-text.luna-text-viewer-wrap-long-lines .luna-text-viewer-line-text{word-break:break-all}.luna-text-viewer-theme-dark{color-scheme:dark}.luna-text-viewer-theme-dark .luna-text-viewer-copy,.luna-text-viewer-theme-dark .luna-text-viewer-line-number{border-color:#3d3d3d}.luna-text-viewer-theme-dark .luna-text-viewer-copy .luna-text-viewer-icon-check{color:#81c995}.luna-text-viewer-theme-dark .luna-text-viewer-copy{background-color:#242424}",""]),xe.exports=$e},5357:function(xe,$e,Ie){($e=Ie(3645)(!1)).push([xe.id,"@font-face{font-family:eruda-icon;src:url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAA6UAAsAAAAAGvAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAARoAAAHeLjoycE9TLzIAAAIkAAAAPwAAAFZWm1KoY21hcAAAAmQAAAFdAAADwhPu1O9nbHlmAAADxAAAB+wAAA9I7RPQpGhlYWQAAAuwAAAAMQAAADZ26MSyaGhlYQAAC+QAAAAdAAAAJAgEBC9obXR4AAAMBAAAAB0AAACwXAv//GxvY2EAAAwkAAAAOwAAAFpuVmoybWF4cAAADGAAAAAfAAAAIAE9AQ1uYW1lAAAMgAAAASkAAAIWm5e+CnBvc3QAAA2sAAAA5QAAAU4VMmUJeJxNkD1Ow0AQhb9NHGISCH9RiB0cErCNHRrqFFSIyqKiQHSpEFJERUnBCTgPZ+AEHIe34wDe1f69efPezOKAHldc07q5re4ZrFevL8QE1MPHm3e3fn5aEf6+FAvsDHHuTUoxd7zzwSdffLulq9wjLbaYau8TacZMONE554xzZsrtNfBEzFOhbSmOyTmga0ikvRR/37RSsSMyDukYPjWdgGOtsSK55Y/k0Bf/ksK0MrbFr70idsVZKNPnDcSay3umd2TISCvWTJSxI78lFQ/C+qbv/Zo9tNXDP55ZL7k0Q90u5F5XX0qrYx16btccCtXg/ULrKzGFuqY9rUTMhf3fkCNj+MxUnsM/frr5Qx+ZbH4vVQ0F5Q/ZQBvxAAB4nGNgZJJgnMDAysDA1Mt0hoGBoR9CM75mMGLkAIoysDIzYAUBaa4pDAcYdD+KsIC4MSxMDIxAGoQZALgnCOUAeJy1011SGlEQhuF3BFHxD5UUyr8gIJIsiiKJsSqJlrHKsJssKFeuxF6Bfj3dF96aqhzqoZnDzJyG8w2wCVTko1SheKLAx1/NFuV8hXo5X+WPjht6+fmfWHLDHQ+srfnykjMrvnPPoxXlzNtRlFc26HLBZblal1N9ntBnwIgx5/SYMaWt78+YM6TDgitduaEVq+q0xhbb7KifPQ441N2OOOaEJh9oaYka7xvdd57vQz1P+oPR+Bx6s2lbrc6H0Flc/cO9/sfY87fiOY8u8X0J/muX6VRW6UI+p4l8SX35mgZynUbyLY3lJukf0e6HnvxIM/mZpnKb2nKXvM/7dCa/0lwe0lAeU0d+p4Wsk3bBiuDptY2A10rw9Fo1eOJtM/iTYLWA162A1+2A152A13rwJ8R2g++AJaUU2w/KK3YQlFzsMCjDWCMozdhRUK6x46CEYydBWceagdYraihRngAAAHic7RdbbBxX9Z57Z2d2d2ZndryzM7ve9ax3NztjO/bann0lTuW16zoBJSWJ7Zg83NiUJCQ1Ik2ikKQJNC9FFQqVEG0RVLQoSpEKH2klqgpEIyWAUMRTNBJC/PUDhETgiwhQd8y5s1s7oqr624/srO6ce89zzjn3nHsJEPwxyn5GVEJKBTcCdc80pAiYhkjfNWL+NnhLdTKqfxVOqJlxFX6E84wb86/6X4+5GRLw0/vsOgkREoFGBFx62P/uFviBP78FWrC02d/r79vcpmMl+k2uBwwJxIILTrVeyXsmK8krRLb5YGqUaCb9ksYnMuBqMtnRcY6V1nidml6texaY9CxSRm3TtKNIjcxrUjhEWKD3OnuNJEgPKSG/I6nUpo06fxwXH8lmEoyDFQIVyrROs7254z990rj0u2PLez47WqG1yu69V7ZdfDxU9He4C6P+v+HN+vlnD9Uou0Zp+NnfvveT/XL0kbGFxT/u37tx7CTdeuGlKfiibcMr/gt9qfyu05e4+YEdb7A3iEVG0ArdEAvDIPHBqTbB7bgCDA0sdH0x3/nEHDT4YFJi9siz74iaOBkK3ZyRTRXwE+FGG15BeA0Pf14hqinP3AyFJnHhnVm5xzThmNSBNFjDdvwzw75GFJIlvWhZ1UHlYlI3zIputa3CSduiRF7P09e9on+jODpanPOKsJMDOPV2wU7/BqsVPcQ2ix41X/8ARKpbfhPVtHNgik1hXAhIlmQ1rIbbcCVIzN/7+65794KRTc13IBwJXVkhRACBkAEyhVyiBqJbRn81YRjKUDfRN9xHpoVBt0xJRZ+iS4ehZFg2utJrjCO2GrAUAizcj+c3pXpiXVQwThZmdNrbrx+hAjtjbhSF5FPyKSsqmGraWKYCbfl97vMLi79fXHje7XsAhBsoo0P35fyMPpCj+lM0FDptJexuYzl82upRufxlKgrTh/+fOwBXc+Jt9jZJBTnxUbH/yGT5j4jRT2pB9O1oO/oi3FyD2/ggU14LY/j5RuHTJIZf5LR/WVmbaB2CT6xdQa4KwJZIHPfyMFoWRNSmQZDLlJVpdRw8GwwVWEGlScOGijdOq2VKyfHDB7/d1/+d37zXeT/dXG42l7/Kh2a20pd0JpxsxTVNt8KWyuu/94Ujr+7uvFpvQXP5PCfEAU4l+6pZZ9Ix3eqGqmsGrvok28V+zi6TKEYyi/Udt0MNavkkJC1e+vQA1tGqil6EV93j/UBbY0AXm/2Vku+z53x/8MDT5879U9Nb4Cqq/yf/WEjReiECfS9+C2f/6umFS/77q3t7kp0nGu8DTrFTQrwG1KtsoHVXlnXL0qMKHTRpGbaJlt7aoVsSbO3aQFb5L7MTJElIwrBMvnWxQteCEl2QREn8Ci/Ef9i7u1IT6tX5Pb/ePV+rUXKEL3DMkUPzc6OeNzo3/6C8K2QdrzVlKAYyHhBcxGgUyoCRqXimJZXYwYO1y1tWxQWKLkyfunpqevrU5vJs4SQ02JUDw94qMlC6maORJpc9AR/Sm7C4cK7S4MoL/FNqFYy+Nw5VbpIoWaWXP0atf+fj1Lb36w12h6SxShIouuNQw+TCVDNsWvHqDStpNUoFnobUs6mhUvpmn+r2VxaeuXjmCc974vSjm44OxfytrXeH5iaKxYm5fXMThcLEHLwcGzq66dHTnObMxWcWKv2u2tfa1ipMzu7rEM5OFshqLfsFu4R9thszrVjAUoHFgH98DxRreb3CK74rMTh/bWmJTq9Pd0nCZOvsbfrYrVsTty9cOPc5Or2U6spq8rXbrbNAL9yeuHWLYuEnEiErK0JIAPIN8kNyl9wn/yUt7mioN6GGTi1jDQrypNPRxQ+8zREatnUsVtgbcDHAaZA0rc6TxOIWLPFVXLDbvYRT45CDSnBOqFhee4aTcWw8gapGnS+Z+EYrOuqh825jrY5WSVwPDSewh/OWqYueCJQFEjhELTdgcdEODjUCo5yge7lcAlJxRSgceyZyu5LFfqnaeldKlsyunnK6N6LEaUSqTSndgpZK7jC7NZaR7LGcGhXwgMNC+WFt0MxEomZcECQ9EY4JkgAQDilSNKnGuxXJ0u2hdG9YUZkiZcfWpaOWkUv0G6IaCseVVH81o0dEEClKGokassX0hKSk44PxBGOS4E8cmNk+OMSY5+2cXfz8zI4hrG4jI9tnFpW/hqKx7PCnH1O7wpFkqeANT4IUVhopPTUwnNJxzSlUzLASV+4YfUIkpoQFTYvoMUFkJgtJ/Z6VEIyymx4usdCW5CuDc9s+dZDm6GeiejTl1jN6VFKUdMHMlUIWzaQEOdyrKHIsL0VZJB0TE1rUlLvCo71yPKya3dW+ONBQRBajUdPuKoXFsBAOiYoUdx7JtSXlU3ZJNAW1O+4ktBCFqBjLJhMW97JgyonISE5kVIJQJJ6tO6nueCJj1TV/D6uMzu06tH/H44NlRr3RnbNPLu7cXh75sWOklURzi5ZI9dgqG6tuEAf0bkWX0/0j6S6+RjfaYiQsbkKHhuNdms6kUExWZNGSlJgzkjIGjPK61KjLxOvGc/1/27r9KOQe7omHe+LhnvjQnmArLTyHMYHiPbGbFLEL4Q1BxOsiHrfy2HIBz67BXQbPsVbB4TNDZP/wF4x63cAxUl/PRtbXI61f2QM2/iuZUqleKr3ABp1Mxnn/rjvpOJN0b9K2k/73+Xi/VHOcGl4qyf8AzjWNo3icY2BkYGAA4uhnXafj+W2+MnCzgASiOB/va4DR///+/8/CysIElOBgAJEMAHS2DWQAAAB4nGNgZGBgYQABFtb/f///ZWFlYGRABToAW+YEPQAAAHicY2BgYGAhiP//J6wGCbNCMcP/vwxUBgDl4QRhAAAAeJxjYAACBQYThiCGAoYtjAyMZowBjPuYuJjCmBYxvWNWYXZhzmFewfyIRYUliPUOexr7EmIhAF3rF0sAeJxjYGRgYNBhZGRgZwABJiDmAkIGhv9gPgMADcIBTAB4nGWQPW7CQBSEx2BIAlKCFCkps1UKIpmfkgNAT0GXwpi1MbK91npBossJcoQcIaeIcoIcKGPzaGAtP38zb97uygAG+IWHenm4bWq9WrihOnGb9CDsk5+FO+jjRbhLfyjcwxumwn084p07eP4dnQFK4Rbu8SHcpv8p7JO/hDt4wrdwl/6PcA8r/An38eoN08gUsSncUif7LLRnef6utK1SU6hJMD5bC11oGzq9Ueujqg7J1LlYxdbkas6uzjKjSmt2OnLB1rlyNhrF4geRyZEigkGBuKkOS2gk2CNDCHvVvdQrpi0q+rVWmCDA+Cq1YKpokiGVxobJNY6sFQ48bUrXMa34Ws7kpLnMat4kIyv+77q3oxPRD7BtpkrMMOITX+SD5g75Pz0RXqgAAAB4nG2MyW6DQBiD+RKYpKT7vqf7Gg55pNHwEyJNGDSMRHj70nKtD7Zly45G0YA0+h8LRoyJSVBMmLJDyoxd9tjngEOOOOaEU84454JLrrjmhlvuuGfOA4888cwLr7zxzgeffPHNgixKtfeuzawUYTZYv16VITXaS8hy11azwf7FibGi/dS4Te2laWLj6k7lYiVIIv3aK9nWusqng2TLsXR900m2VMXaBvFxbXWnvBjn84mXor8pk54kqKa/NmUvVkyIg3NW/VK2jFvtKzQeR0uGRSgIrFlRYsip2FDT0LGNoh/MCkh9AAAA') format('woff')}[class*=' _icon-'],[class^='_icon-']{display:inline-block;font-family:eruda-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}._icon-arrow-left:before{content:'\\f101'}._icon-arrow-right:before{content:'\\f102'}._icon-caret-down:before{content:'\\f103'}._icon-caret-right:before{content:'\\f104'}._icon-clear:before{content:'\\f105'}._icon-compress:before{content:'\\f106'}._icon-copy:before{content:'\\f107'}._icon-delete:before{content:'\\f108'}._icon-error:before{content:'\\f109'}._icon-expand:before{content:'\\f10a'}._icon-eye:before{content:'\\f10b'}._icon-filter:before{content:'\\f10c'}._icon-play:before{content:'\\f10d'}._icon-record:before{content:'\\f10e'}._icon-refresh:before{content:'\\f10f'}._icon-reset:before{content:'\\f110'}._icon-search:before{content:'\\f111'}._icon-select:before{content:'\\f112'}._icon-tool:before{content:'\\f113'}._icon-warn:before{content:'\\f114'}",""]),xe.exports=$e},3645:function(xe){xe.exports=function($e){var Ie=[];return Ie.toString=function(){return this.map(function(Fe){var Ue=function(qe,At){var Dt=qe[1]||"",Lt=qe[3];if(!Lt)return Dt;if(At&&typeof btoa=="function"){var jt=(vn=Lt,bn=btoa(unescape(encodeURIComponent(JSON.stringify(vn)))),_n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(bn),"/*# ".concat(_n," */")),hn=Lt.sources.map(function(wn){return"/*# sourceURL=".concat(Lt.sourceRoot||"").concat(wn," */")});return[Dt].concat(hn).concat([jt]).join(` `)}var vn,bn,_n;return[Dt].join(` `)}(Fe,$e);return Fe[2]?"@media ".concat(Fe[2]," {").concat(Ue,"}"):Ue}).join("")},Ie.i=function(Fe,Ue,qe){typeof Fe=="string"&&(Fe=[[null,Fe,""]]);var At={};if(qe)for(var Dt=0;Dt-1&&vn[jt].splice(bn,1),this}},once:function(jt,hn){return this.on(jt,Dt(hn)),this},emit:function(jt){var hn=this;if(Ue(this._events,jt)){var vn=At(arguments,1),bn=Lt(this._events[jt]);return qe(bn,function(_n){return _n.apply(hn,vn)},this),this}},removeAllListeners:function(jt){return jt?delete this._events[jt]:this._events={},this}},{mixin:function(jt){qe(["on","off","once","emit","removeAllListeners"],function(hn){jt[hn]=$e.prototype[hn]}),jt._events=jt._events||{}}}),xe.exports=$e},9640:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(4454),qe=Ie(6472),At=Ie(3783),Dt=Ie(2533);$e=Fe({initialize:function(Lt){qe(Lt)?(this.size=Lt.length,At(Lt,function(jt,hn){this[jt]=hn},this)):(this.size=Dt(Lt).length,At(Lt,function(jt,hn){this[hn]=jt},this)),Ue(this)}}),xe.exports=$e},125:function(xe,$e,Ie){var Fe=Ie(5128),Ue=Ie(615),qe=Ie(8887),At=Ie(4400),Dt=Ie(4193),Lt=Ie(5166),jt=Ue("local");$e=Fe.extend({initialize:function(hn,vn){this._name=hn,vn=vn||{};var bn=jt.getItem(hn);try{bn=JSON.parse(bn)}catch{bn={}}Lt(bn)||(bn={}),vn=Dt(bn,vn),this.callSuper(Fe,"initialize",[vn])},save:function(hn){if(qe(hn))return jt.removeItem(this._name);jt.setItem(this._name,At(hn))}}),xe.exports=$e},4989:function(xe,$e,Ie){var Fe=Ie(1443),Ue=Ie(9640),qe=Ie(1352),At=Ie(1286),Dt=Ie(4675),Lt=Ie(6768),jt=Ie(3990);$e=Fe.extend({initialize:function(hn,vn){this.name=hn,this.setLevel(At(vn)?$e.level.DEBUG:vn),this.callSuper(Fe,"initialize",arguments)},setLevel:function(hn){return Lt(hn)?((hn=$e.level[hn.toUpperCase()])&&(this._level=hn),this):(jt(hn)&&(this._level=hn),this)},getLevel:function(){return this._level},formatter:function(hn,vn){return vn},trace:function(){return this._log("trace",arguments)},debug:function(){return this._log("debug",arguments)},info:function(){return this._log("info",arguments)},warn:function(){return this._log("warn",arguments)},error:function(){return this._log("error",arguments)},_log:function(hn,vn){return(vn=qe(vn)).length===0?this:(this.emit("all",hn,Dt(vn)),$e.level[hn.toUpperCase()]-1&&this._listeners.splice(Lt,1)},rmAllListeners:function(){this._listeners=[]},emit:function(){var Dt=this,Lt=At(arguments),jt=Ue(this._listeners);qe(jt,function(hn){return hn.apply(Dt,Lt)},this)}},{mixin:function(Dt){qe(["addListener","rmListener","emit","rmAllListeners"],function(Lt){Dt[Lt]=$e.prototype[Lt]}),Dt._listeners=Dt._listeners||[]}}),xe.exports=$e},9001:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(1527);$e=Fe({initialize:function(){this.clear()},clear:function(){this._items=[],this.size=0},push:function(qe){return this._items.push(qe),++this.size},pop:function(){if(this.size)return this.size--,this._items.pop()},peek:function(){return this._items[this.size-1]},forEach:function(qe,At){At=arguments.length>1?At:this;for(var Dt=this._items,Lt=this.size-1,jt=0;Lt>=0;Lt--,jt++)qe.call(At,Dt[Lt],jt,this)},toArr:function(){return Ue(this._items)}}),xe.exports=$e},5128:function(xe,$e,Ie){var Fe=Ie(1443),Ue=Ie(6768),qe=Ie(5166),At=Ie(3783),Dt=Ie(1352);$e=Fe.extend({initialize:function(Lt){this.callSuper(Fe,"initialize",arguments),this._data=Lt||{},this.save(this._data)},set:function(Lt,jt){var hn;Ue(Lt)?(hn={})[Lt]=jt:qe(Lt)&&(hn=Lt);var vn=this;At(hn,function(bn,_n){var wn=vn._data[_n];vn._data[_n]=bn,vn.emit("change",_n,bn,wn)}),this.save(this._data)},get:function(Lt){var jt=this._data;if(Ue(Lt))return jt[Lt];var hn={};return At(Lt,function(vn){hn[vn]=jt[vn]}),hn},remove:function(Lt){Lt=Dt(Lt);var jt=this._data;At(Lt,function(hn){delete jt[hn]}),this.save(jt)},clear:function(){this._data={},this.save(this._data)},each:function(Lt){At(this._data,Lt)},save:function(Lt){this._data=Lt}}),xe.exports=$e},6334:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6329),qe=Ie(4331),At=Ie(1745),Dt=Ie(8887),Lt=Ie(3783),jt=Ie(6472),hn=Ie(1352),vn=Ie(2727),bn=Ie(5166),_n=Ie(3367);$e=Fe({className:"Url",initialize:function(Sn){!Sn&&vn&&(Sn=window.location.href),Ue(this,$e.parse(Sn||""))},setQuery:function(Sn,xn){var En=this.query;return bn(Sn)?Lt(Sn,function(Tn,An){En[An]=_n(Tn)}):En[Sn]=_n(xn),this},rmQuery:function(Sn){var xn=this.query;return jt(Sn)||(Sn=hn(Sn)),Lt(Sn,function(En){delete xn[En]}),this},toString:function(){return $e.stringify(this)}},{parse:function(Sn){var xn={protocol:"",auth:"",hostname:"",hash:"",query:{},port:"",pathname:"",slashes:!1},En=qe(Sn),Tn=!1,An=En.match(wn);if(An&&(An=An[0],xn.protocol=An.toLowerCase(),En=En.substr(An.length)),An&&(Tn=En.substr(0,2)==="//")&&(En=En.slice(2),xn.slashes=!0),Tn){for(var $n=En,Pn=-1,Nn=0,Mn=Cn.length;Nn-1&&($n=En.slice(0,Pn),En=En.slice(Pn));var On=$n.lastIndexOf("@");On!==-1&&(xn.auth=decodeURIComponent($n.slice(0,On)),$n=$n.slice(On+1)),xn.hostname=$n;var Rn=$n.match(kn);Rn&&((Rn=Rn[0])!==":"&&(xn.port=Rn.substr(1)),xn.hostname=$n.substr(0,$n.length-Rn.length))}var Bn=En.indexOf("#");Bn!==-1&&(xn.hash=En.substr(Bn),En=En.slice(0,Bn));var Vn=En.indexOf("?");return Vn!==-1&&(xn.query=At.parse(En.substr(Vn+1)),En=En.slice(0,Vn)),xn.pathname=En||"/",xn},stringify:function(Sn){var xn=Sn.protocol+(Sn.slashes?"//":"")+(Sn.auth?encodeURIComponent(Sn.auth)+"@":"")+Sn.hostname+(Sn.port?":"+Sn.port:"")+Sn.pathname;return Dt(Sn.query)||(xn+="?"+At.stringify(Sn.query)),Sn.hash&&(xn+=Sn.hash),xn}});var wn=/^([a-z0-9.+-]+:)/i,kn=/:[0-9]*$/,Cn=["/","?","#"];xe.exports=$e},8991:function(xe,$e,Ie){var Fe=Ie(4777),Ue=Ie(1214),qe=Ie(4193),At=Ie(5166),Dt=Ie(1745);function Lt(jt,hn,vn,bn){return Fe(hn)&&(bn=vn,vn=hn,hn={}),{url:jt,data:hn,success:vn,dataType:bn}}($e=function(jt){qe(jt,$e.setting);var hn,vn=jt.type,bn=jt.url,_n=jt.data,wn=jt.dataType,kn=jt.success,Cn=jt.error,Sn=jt.timeout,xn=jt.complete,En=jt.xhr();return En.onreadystatechange=function(){if(En.readyState===4){var Tn;clearTimeout(hn);var An=En.status;if(An>=200&&An<300||An===304){Tn=En.responseText,wn==="xml"&&(Tn=En.responseXML);try{wn==="json"&&(Tn=JSON.parse(Tn))}catch{}kn(Tn,En)}else Cn(En);xn(En)}},vn==="GET"?(_n=Dt.stringify(_n))&&(bn+=bn.indexOf("?")>-1?"&"+_n:"?"+_n):jt.contentType==="application/x-www-form-urlencoded"?At(_n)&&(_n=Dt.stringify(_n)):jt.contentType==="application/json"&&At(_n)&&(_n=JSON.stringify(_n)),En.open(vn,bn,!0),En.setRequestHeader("Content-Type",jt.contentType),Sn>0&&(hn=setTimeout(function(){En.onreadystatechange=Ue,En.abort(),Cn(En,"timeout"),xn(En)},Sn)),En.send(vn==="GET"?null:_n),En}).setting={type:"GET",success:Ue,error:Ue,complete:Ue,dataType:"json",contentType:"application/x-www-form-urlencoded",data:{},xhr:function(){return new XMLHttpRequest},timeout:0},$e.get=function(){return $e(Lt.apply(null,arguments))},$e.post=function(){var jt=Lt.apply(null,arguments);return jt.type="POST",$e(jt)},xe.exports=$e},1116:function(xe,$e,Ie){var Fe=Ie(2533),Ue=Ie(415),qe=Ie(42),At=Object.getOwnPropertyNames,Dt=Object.getOwnPropertySymbols;$e=function(Lt){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},hn=jt.prototype,vn=hn===void 0||hn,bn=jt.unenumerable,_n=bn!==void 0&&bn,wn=jt.symbol,kn=wn!==void 0&&wn,Cn=[];if((_n||kn)&&At){var Sn=Fe;_n&&At&&(Sn=At);do Cn=Cn.concat(Sn(Lt)),kn&&Dt&&(Cn=Cn.concat(Dt(Lt)));while(vn&&(Lt=Ue(Lt))&&Lt!==Object.prototype);Cn=qe(Cn)}else if(vn)for(var xn in Lt)Cn.push(xn);else Cn=Fe(Lt);return Cn},xe.exports=$e},7913:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(1286),qe=Ie(4777);$e=function(At,Dt){Ue(Dt)&&(Dt=!0);var Lt=qe(Dt),jt={};return Fe(At,function(hn){jt[hn]=Lt?Dt(hn):Dt}),jt},xe.exports=$e},3901:function(xe,$e){$e={encode:function(At){var Dt,Lt,jt=[],hn=At.length,vn=hn%3;hn-=vn;for(var bn=0;bn>18&63]+Fe[Dt>>12&63]+Fe[Dt>>6&63]+Fe[63&Dt]));return hn=At.length,vn===1?(Lt=At[hn-1],jt.push(Fe[Lt>>2]),jt.push(Fe[Lt<<4&63]),jt.push("==")):vn===2&&(Lt=(At[hn-2]<<8)+At[hn-1],jt.push(Fe[Lt>>10]),jt.push(Fe[Lt>>4&63]),jt.push(Fe[Lt<<2&63]),jt.push("=")),jt.join("")},decode:function(At){var Dt=At.length,Lt=0;At[Dt-2]==="="?Lt=2:At[Dt-1]==="="&&(Lt=1);var jt,hn,vn,bn,_n,wn,kn,Cn=new Array(3*Dt/4-Lt);for(Dt=Lt>0?Dt-4:Dt,jt=0,hn=0;jt>16&255,Cn[hn++]=Sn>>8&255,Cn[hn++]=255&Sn}return Lt===2?(kn=Ie[At.charCodeAt(jt)]<<2|Ie[At.charCodeAt(jt+1)]>>4,Cn[hn++]=255&kn):Lt===1&&(kn=Ie[At.charCodeAt(jt)]<<10|Ie[At.charCodeAt(jt+1)]<<4|Ie[At.charCodeAt(jt+2)]>>2,Cn[hn++]=kn>>8&255,Cn[hn++]=255&kn),Cn}};for(var Ie=[],Fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ue=0,qe=Fe.length;Ue0&&(Ue=Fe.apply(this,arguments)),Ie<=1&&(Fe=null),Ue}},xe.exports=$e},7494:function(xe,$e,Ie){var Fe=Ie(8935);function Ue(qe,At){this[At]=qe.replace(/\w/,function(Dt){return Dt.toUpperCase()})}$e=function(qe){var At=Fe(qe),Dt=At[0];return At.shift(),At.forEach(Ue,At),Dt+=At.join("")},xe.exports=$e},1694:function(xe,$e,Ie){var Fe=Ie(6257),Ue=Ie(6472);$e=function(Dt,Lt){if(Ue(Dt))return Dt;if(Lt&&Fe(Lt,Dt))return[Dt];var jt=[];return Dt.replace(qe,function(hn,vn,bn,_n){jt.push(bn?_n.replace(At,"$1"):vn||hn)}),jt};var qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/\\(\\)?/g;xe.exports=$e},996:function(xe,$e){$e=function(Ie,Fe){var Ue=[];Fe=Fe||1;for(var qe=0,At=Math.ceil(Ie.length/Fe);qeAt?At:Ue},xe.exports=$e},4675:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(6472),qe=Ie(6329);$e=function(At){return Fe(At)?Ue(At)?At.slice():qe({},At):At},xe.exports=$e},550:function(xe,$e,Ie){var Fe=Ie(5166),Ue=Ie(4777),qe=Ie(6472),At=Ie(8820);$e=function(Dt){return qe(Dt)?Dt.map(function(Lt){return $e(Lt)}):Fe(Dt)&&!Ue(Dt)?At(Dt,function(Lt){return $e(Lt)}):Dt},xe.exports=$e},8099:function(xe,$e,Ie){var Fe=Ie(1352);$e=function(){for(var Ue=Fe(arguments),qe=[],At=0,Dt=Ue.length;At-1:(qe(Dt)||(Dt=At(Dt)),Fe(Dt,Lt)>=0)},xe.exports=$e},1792:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(3901),qe=Ie(385),At=Ie(6472),Dt=Ie(2349),Lt=Ie(3085),jt=Ie(3063);($e=function(hn,vn){var bn;if(vn=jt(vn),Fe(hn))bn=new Uint8Array(Ue.decode(hn));else if(qe(hn))hn=hn.slice(0),bn=new Uint8Array(hn);else if(At(hn))bn=new Uint8Array(hn);else if(Lt(hn)==="uint8array")bn=hn.slice(0);else if(Dt(hn)){bn=new Uint8Array(hn.length);for(var _n=0;_n0?"-":"+")+Dt(100*Math.floor(Math.abs(In)/60)+Math.abs(In)%60,4),S:["th","st","nd","rd"][xn%10>3?0:(xn%100-xn%10!=10)*xn%10]};return _n.replace(Lt,function(Rn){return Rn in On?On[Rn]:Rn.slice(1,Rn.length-1)})};var Dt=function(bn){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return At(qe(bn),_n,"0")},Lt=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,jt=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,hn=/\d/,vn=/[^-+\dA-Z]/g;$e.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},$e.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},xe.exports=$e},6049:function(xe,$e){$e=function(Ie,Fe,Ue){var qe;return function(){var At=this,Dt=arguments;Ue||clearTimeout(qe),Ue&&qe||(qe=setTimeout(function(){qe=null,Ie.apply(At,Dt)},Fe))}},xe.exports=$e},1420:function(xe,$e,Ie){var Fe=Ie(3783),Ue=Ie(8166),qe=Ie(2461),At=Ie(5742);function Dt(jt){return+("0x"+jt)}$e=function(jt){try{return decodeURIComponent(jt)}catch{var hn=jt.match(Lt);return hn&&Fe(hn,function(bn){jt=jt.replace(bn,function(_n){_n=_n.split("%").slice(1);var wn=qe(_n,Dt);return _n=Ue.encode(wn),_n=At.decode(_n,!0),_n}(bn))}),jt}};var Lt=/(%[a-f0-9]{2})+/gi;xe.exports=$e},4193:function(xe,$e,Ie){$e=Ie(4427)(Ie(1116),!0),xe.exports=$e},9803:function(xe,$e,Ie){var Fe=Ie(1694),Ue=Ie(6768),qe=Ie(5166),At=Ie(3783);function Dt(Lt,jt,hn){for(var vn=Fe(jt,Lt),bn=vn.pop();jt=vn.shift();)Lt[jt]||(Lt[jt]={}),Lt=Lt[jt];Object.defineProperty(Lt,bn,hn)}$e=function(Lt,jt,hn){return Ue(jt)?Dt(Lt,jt,hn):qe(jt)&&At(jt,function(vn,bn){Dt(Lt,bn,vn)}),Lt},xe.exports=$e},2443:function(xe,$e,Ie){var Fe=Ie(7496),Ue=Ie(6341);function qe(){return!0}function At(){return!1}function Dt(jt){var hn,vn=this.events[jt.type],bn=Lt.call(this,jt,vn);jt=new $e.Event(jt);for(var _n,wn,kn=0;(wn=bn[kn++])&&!jt.isPropagationStopped();)for(jt.curTarget=wn.el,_n=0;(hn=wn.handlers[_n++])&&!jt.isImmediatePropagationStopped();)hn.handler.apply(wn.el,[jt])===!1&&(jt.preventDefault(),jt.stopPropagation())}function Lt(jt,hn){var vn,bn,_n,wn,kn=jt.target,Cn=[],Sn=hn.delegateCount;if(kn.nodeType)for(;kn!==this;kn=kn.parentNode||this){for(bn=[],wn=0;wn-1)return Ue(hn.substring(bn+vn.length,hn.indexOf(".",bn)))}xe.exports=$e},6954:function(xe,$e,Ie){var Fe=Ie(2727);$e=function(Ue){if(Ue=(Ue=Ue||(Fe?navigator.userAgent:"")).toLowerCase(),qe("windows phone"))return"windows phone";if(qe("win"))return"windows";if(qe("android"))return"android";if(qe("ipad")||qe("iphone")||qe("ipod"))return"ios";if(qe("mac"))return"os x";if(qe("linux"))return"linux";function qe(At){return Ue.indexOf(At)>-1}return"unknown"},xe.exports=$e},801:function(xe,$e,Ie){var Fe=Ie(1137),Ue=Ie(288),qe=Ie(5972),At=Ie(6341);$e=Fe(function(Dt,Lt){return Lt=Ue(Lt),qe(Dt,function(jt){return!At(Lt,jt)})}),xe.exports=$e},3783:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(2533),qe=Ie(3955);$e=function(At,Dt,Lt){var jt,hn;if(Dt=qe(Dt,Lt),Fe(At))for(jt=0,hn=At.length;jt=0&&Ie.indexOf(Fe,Ue)===Ue},xe.exports=$e},8901:function(xe,$e,Ie){var Fe=Ie(2533),Ue=($e=function(jt){return At.test(jt)?jt.replace(Dt,Lt):jt}).map={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},qe="(?:"+Fe(Ue).join("|")+")",At=new RegExp(qe),Dt=new RegExp(qe,"g"),Lt=function(jt){return Ue[jt]};xe.exports=$e},4187:function(xe,$e,Ie){var Fe=Ie(3367);$e=function(qe){return Fe(qe).replace(Ue,function(At){switch(At){case'"':case"'":case"\\":return"\\"+At;case` `:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}})};var Ue=/["'\\\n\r\u2028\u2029]/g;xe.exports=$e},2337:function(xe,$e){$e=function(Ie){return Ie.replace(/\W/g,"\\$&")},xe.exports=$e},642:function(xe,$e){$e=function(Ie){var Fe=document.createElement("style");return Fe.textContent=Ie,Fe.type="text/css",document.head.appendChild(Fe),Fe},xe.exports=$e},1672:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(1369),qe=Ie(2533);$e=function(At,Dt,Lt){Dt=Fe(Dt,Lt);for(var jt=!Ue(At)&&qe(At),hn=(jt||At).length,vn=0;vn[\]\u2100-\uFFFF(),]*/gi;xe.exports=$e},5972:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(3783);$e=function(qe,At,Dt){var Lt=[];return At=Fe(At,Dt),Ue(qe,function(jt,hn,vn){At(jt,hn,vn)&&Lt.push(jt)}),Lt},xe.exports=$e},2244:function(xe,$e,Ie){var Fe=Ie(2267),Ue=Ie(4072),qe=Ie(1369),At=Ie(1286);$e=function(Dt,Lt,jt){var hn=(qe(Dt)?Ue:Fe)(Dt,Lt,jt);if(!At(hn)&&hn!==-1)return Dt[hn]},xe.exports=$e},4072:function(xe,$e,Ie){var Fe=Ie(2838);$e=function(Ue,qe,At,Dt){Dt=Dt||1,qe=Fe(qe,At);for(var Lt=Ue.length,jt=Dt>0?0:Lt-1;jt>=0&&jt2?bn-2:0),wn=2;wn>>4).toString(16)),qe.push((15&Lt).toString(16))}return qe.join("")},decode:function(Ue){var qe=[],At=Ue.length;Fe(At)&&At--;for(var Dt=0;Dt1&&arguments[1]!==void 0?arguments[1]:"js",jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ue(jt,qe),Dt=Dt.replace(//g,">"),Lt=At[Lt];var hn=0,vn=[];Fe(Lt,function(_n){_n.language&&(Dt=Dt.replace(_n.re,function(wn,kn){return kn?(vn[hn++]=$e(kn,_n.language,jt),wn.replace(kn,"___subtmpl"+(hn-1)+"___")):wn}))}),Fe(Lt,function(_n,wn){At[_n.language]||(Dt=Dt.replace(_n.re,"___"+wn+"___$1___end"+wn+"___"))});var bn=[];return Dt=Dt.replace(/___(?!subtmpl)\w+?___/g,function(_n){var wn=_n.substr(3,3)==="end",kn=(wn?_n.substr(6):_n.substr(3)).replace(/_/g,""),Cn=bn.length>0?bn[bn.length-1]:null;return!wn&&(Cn==null||kn==Cn||Cn!=null&&Lt[Cn]&&Lt[Cn].embed!=null&&Lt[Cn].embed.indexOf(kn)>-1)?(bn.push(kn),_n):wn&&kn==Cn?(bn.pop(),_n):""}),Fe(Lt,function(_n,wn){var kn=jt[_n.style]?' style="'.concat(jt[_n.style],'"'):"";Dt=Dt.replace(new RegExp("___end"+wn+"___","g"),"
    ").replace(new RegExp("___"+wn+"___","g"),'"))}),Fe(Lt,function(_n){_n.language&&(Dt=Dt.replace(/___subtmpl\d+___/g,function(wn){var kn=parseInt(wn.replace(/___subtmpl(\d+)___/,"$1"),10);return vn[kn]}))}),Dt};var qe={comment:"color:#63a35c;",string:"color:#183691;",number:"color:#0086b3;",keyword:"color:#a71d5d;",operator:"color:#994500;"},At={js:{comment:{re:/(\/\/.*|\/\*([\s\S]*?)\*\/)/g,style:"comment"},string:{re:/(('.*?')|(".*?"))/g,style:"string"},numbers:{re:/(-?(\d+|\d+\.\d+|\.\d+))/g,style:"number"},keywords:{re:/(?:\b)(function|for|foreach|while|if|else|elseif|switch|break|as|return|this|class|self|default|var|const|let|false|true|null|undefined)(?:\b)/gi,style:"keyword"},operator:{re:/(\+|-|\/|\*|%|=|<|>|\||\?|\.)/g,style:"operator"}}};At.html={comment:{re:/(<!--([\s\S]*?)-->)/g,style:"comment"},tag:{re:/(<\/?\w(.|\n)*?\/?>)/g,style:"keyword",embed:["string"]},string:At.js.string,css:{re:/(?:<style.*?>)([\s\S]*)?(?:<\/style>)/gi,language:"css"},script:{re:/(?:<script.*?>)([\s\S]*?)(?:<\/script>)/gi,language:"js"}},At.css={comment:At.js.comment,string:At.js.string,numbers:{re:/((-?(\d+|\d+\.\d+|\.\d+)(%|px|em|pt|in)?)|#[0-9a-fA-F]{3}[0-9a-fA-F]{3})/g,style:"number"},keywords:{re:/(@\w+|:?:\w+|[a-z-]+:)/g,style:"keyword"}},xe.exports=$e},5925:function(xe,$e){$e=function(Fe){var Ue,qe,At,Dt=Fe[0]/360,Lt=Fe[1]/100,jt=Fe[2]/100,hn=[];if(Fe[3]&&(hn[3]=Fe[3]),Lt===0)return At=Ie(255*jt),hn[0]=hn[1]=hn[2]=At,hn;for(var vn=2*jt-(Ue=jt<.5?jt*(1+Lt):jt+Lt-jt*Lt),bn=0;bn<3;bn++)(qe=Dt+.3333333333333333*-(bn-1))<0&&qe++,qe>1&&qe--,At=6*qe<1?vn+6*(Ue-vn)*qe:2*qe<1?Ue:3*qe<2?vn+(Ue-vn)*(.6666666666666666-qe)*6:vn,hn[bn]=Ie(255*At);return hn};var Ie=Math.round;xe.exports=$e},7483:function(xe,$e,Ie){var Fe=Ie(8702),Ue=Ie(9001),qe=Ie(6472),At=Ie(3783),Dt=Ie(6768),Lt=Ie(8820),jt=function(vn){return vn.replace(/"/g,'"')},hn=function(vn){return vn.replace(/"/g,""")};$e={parse:function(vn){var bn=[],_n=new Ue;return Fe(vn,{start:function(wn,kn){kn=Lt(kn,function(Cn){return jt(Cn)}),_n.push({tag:wn,attrs:kn})},end:function(){var wn=_n.pop();if(_n.size){var kn=_n.peek();qe(kn.content)||(kn.content=[]),kn.content.push(wn)}else bn.push(wn)},comment:function(wn){var kn=""),Cn=_n.peek();Cn?(Cn.content||(Cn.content=[]),Cn.content.push(kn)):bn.push(kn)},text:function(wn){var kn=_n.peek();kn?(kn.content||(kn.content=[]),kn.content.push(wn)):bn.push(wn)}}),bn},stringify:function vn(bn){var _n="";return qe(bn)?At(bn,function(wn){return _n+=vn(wn)}):Dt(bn)?_n=bn:(_n+="<".concat(bn.tag),At(bn.attrs,function(wn,kn){return _n+=" ".concat(kn,'="').concat(hn(wn),'"')}),_n+=">",bn.content&&(_n+=vn(bn.content)),_n+="")),_n}},xe.exports=$e},6362:function(xe,$e){$e=function(Ie){return Ie},xe.exports=$e},496:function(xe,$e){$e=function(Ie,Fe,Ue){return Array.prototype.indexOf.call(Ie,Fe,Ue)},xe.exports=$e},5022:function(xe,$e,Ie){var Fe=Ie(1662);$e=function(Ue,qe){Ue.prototype=Fe(qe.prototype)},xe.exports=$e},7190:function(xe,$e,Ie){var Fe=Ie(3783);$e=function(Ue){var qe={};return Fe(Ue,function(At,Dt){qe[At]=Dt}),qe},xe.exports=$e},7403:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Arguments]"},xe.exports=$e},6472:function(xe,$e,Ie){var Fe=Ie(106);$e=Array.isArray?Array.isArray:function(Ue){return Fe(Ue)==="[object Array]"},xe.exports=$e},385:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object ArrayBuffer]"},xe.exports=$e},1369:function(xe,$e,Ie){var Fe=Ie(3990),Ue=Ie(4777),qe=Math.pow(2,53)-1;$e=function(At){if(!At)return!1;var Dt=At.length;return Fe(Dt)&&Dt>=0&&Dt<=qe&&!Ue(At)},xe.exports=$e},4696:function(xe,$e){$e=function(Ie){return Ie===!0||Ie===!1},xe.exports=$e},2727:function(xe,$e){$e=typeof window=="object"&&typeof document=="object"&&document.nodeType===9,xe.exports=$e},2349:function(xe,$e,Ie){var Fe=Ie(4777);$e=function(Ue){return Ue!=null&&(!!Ue._isBuffer||Ue.constructor&&Fe(Ue.constructor.isBuffer)&&Ue.constructor.isBuffer(Ue))},xe.exports=$e},2520:function(xe,$e,Ie){var Fe=new(Ie(2765))("(prefers-color-scheme: dark)");$e=function(){return Fe.isMatch()},xe.exports=$e},2106:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Date]"},xe.exports=$e},9833:function(xe,$e){$e=function(Ie){return!(!Ie||Ie.nodeType!==1)},xe.exports=$e},8887:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(6472),qe=Ie(6768),At=Ie(7403),Dt=Ie(2533);$e=function(Lt){return Lt==null||(Fe(Lt)&&(Ue(Lt)||qe(Lt)||At(Lt))?Lt.length===0:Dt(Lt).length===0)},xe.exports=$e},2749:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Error]"},xe.exports=$e},4777:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){var qe=Fe(Ue);return qe==="[object Function]"||qe==="[object GeneratorFunction]"||qe==="[object AsyncFunction]"},xe.exports=$e},9585:function(xe,$e,Ie){var Fe=Ie(5610),Ue=Fe.getComputedStyle,qe=Fe.document;function At(Dt,Lt){return Dt.rightLt.right||Dt.bottomLt.bottom}$e=function(Dt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jt=Lt.display,hn=jt===void 0||jt,vn=Lt.visibility,bn=vn!==void 0&&vn,_n=Lt.opacity,wn=_n!==void 0&&_n,kn=Lt.size,Cn=kn!==void 0&&kn,Sn=Lt.viewport,xn=Sn!==void 0&&Sn,En=Lt.overflow,Tn=En!==void 0&&En,An=Ue(Dt);if(hn){var $n=Dt.tagName;if($n==="BODY"||$n==="HTML"||An.position==="fixed"){if(An.display==="none")return!0;for(var Pn=Dt;Pn=Pn.parentElement;)if(Ue(Pn).display==="none")return!0}else if(Dt.offsetParent===null)return!0}if(bn&&An.visibility==="hidden")return!0;if(wn){if(An.opacity==="0")return!0;for(var Nn=Dt;Nn=Nn.parentElement;)if(Ue(Nn).opacity==="0")return!0}var Mn=Dt.getBoundingClientRect();if(Cn&&(Mn.width===0||Mn.height===0))return!0;if(xn)return At(Mn,{top:0,left:0,right:qe.documentElement.clientWidth,bottom:qe.documentElement.clientHeight});if(Tn)for(var In=Dt;In=In.parentElement;){var On=Ue(In).overflow;if((On==="scroll"||On==="hidden")&&At(Mn,In.getBoundingClientRect()))return!0}return!1},xe.exports=$e},2246:function(xe,$e,Ie){var Fe=Ie(3990);$e=function(Ue){return Fe(Ue)&&Ue%1==0},xe.exports=$e},4219:function(xe,$e){$e=function(Ie){try{return JSON.parse(Ie),!0}catch{return!1}},xe.exports=$e},3708:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object Map]"},xe.exports=$e},7949:function(xe,$e,Ie){var Fe=Ie(2533);$e=function(Ue,qe){var At=Fe(qe),Dt=At.length;if(Ue==null)return!Dt;Ue=Object(Ue);for(var Lt=0;Lt1&&arguments[1]!==void 0?arguments[1]:$e.defComparator,Ue=0,qe=Ie.length;Ue0)return!1;return!0},$e.defComparator=function(Ie,Fe){return IeFe?1:0},xe.exports=$e},6768:function(xe,$e,Ie){var Fe=Ie(106);$e=function(Ue){return Fe(Ue)==="[object String]"},xe.exports=$e},9804:function(xe,$e){$e=function(Ie){return typeof Ie=="symbol"},xe.exports=$e},1286:function(xe,$e){$e=function(Ie){return Ie===void 0},xe.exports=$e},7622:function(xe,$e,Ie){var Fe=Ie(8935);$e=function(Ue){return Fe(Ue).join("-")},xe.exports=$e},2533:function(xe,$e,Ie){var Fe=Ie(6257);$e=Object.keys?Object.keys:function(Ue){var qe=[];for(var At in Ue)Fe(Ue,At)&&qe.push(At);return qe},xe.exports=$e},9702:function(xe,$e){$e=function(Ie){var Fe=Ie?Ie.length:0;if(Fe)return Ie[Fe-1]},xe.exports=$e},3988:function(xe,$e,Ie){var Fe=Ie(2581),Ue=Ie(3783),qe=Ie(2337);function At(Dt){return''+Dt+""}$e=function(Dt,Lt){Lt=Lt||At;var jt=Fe(Dt);return Ue(jt,function(hn){Dt=Dt.replace(new RegExp(qe(hn),"g"),Lt)}),Dt},xe.exports=$e},9622:function(xe,$e){$e=function(Ie,Fe){var Ue=document.createElement("script");Ue.src=Ie,Ue.onload=function(){var qe=Ue.readyState&&Ue.readyState!="complete"&&Ue.readyState!="loaded";Fe&&Fe(!qe)},Ue.onerror=function(){Fe(!1)},document.body.appendChild(Ue)},xe.exports=$e},3063:function(xe,$e,Ie){var Fe=Ie(3367);$e=function(Ue){return Fe(Ue).toLocaleLowerCase()},xe.exports=$e},5351:function(xe,$e,Ie){var Fe=Ie(4552),Ue=Ie(3367);$e=function(qe,At,Dt){var Lt=(qe=Ue(qe)).length;return Dt=Dt||" ",Lt=Lt?"":Fe.substr(Dt,Lt)},xe.exports=$e},2461:function(xe,$e,Ie){var Fe=Ie(2838),Ue=Ie(2533),qe=Ie(1369);$e=function(At,Dt,Lt){Dt=Fe(Dt,Lt);for(var jt=!qe(At)&&Ue(At),hn=(jt||At).length,vn=Array(hn),bn=0;bnFe&&(Fe=Ie[Ue]);return Fe},xe.exports=$e},5026:function(xe,$e,Ie){var Fe=Ie(2533);$e={getItem:function(jt){return(qe[jt]?Ue[jt]:this[jt])||null},setItem:function(jt,hn){qe[jt]?Ue[jt]=hn:this[jt]=hn},removeItem:function(jt){qe[jt]?delete Ue[jt]:delete this[jt]},key:function(jt){var hn=At();return jt>=0&&jt=qe[At[bn]]){vn=At[bn];break}return+(hn/qe[vn]).toFixed(2)+vn};var qe={ms:1,s:1e3};qe.m=60*qe.s,qe.h=60*qe.m,qe.d=24*qe.h,qe.y=365.25*qe.d;var At=["y","d","h","m","s"],Dt=/^((?:\d+)?\.?\d+) *(s|m|h|d|y)?$/;xe.exports=$e},6339:function(xe,$e,Ie){var Fe=Ie(6930),Ue=Ie(5610),qe=Ie(3367);function At(Dt,Lt){if(Dt=qe(Dt),Lt=qe(Lt),Fe(Dt,"_")&&!Fe(Lt,"_"))return 1;if(Fe(Lt,"_")&&!Fe(Dt,"_"))return-1;for(var jt,hn,vn,bn,_n=/^\d+|^\D+/;;){if(!Dt)return Lt?-1:0;if(!Lt)return 1;if(jt=Dt.match(_n)[0],hn=Lt.match(_n)[0],vn=!Ue.isNaN(jt),bn=!Ue.isNaN(hn),vn&&!bn)return-1;if(bn&&!vn)return 1;if(vn&&bn){var wn=jt-hn;if(wn)return wn;if(jt.length!==hn.length)return+jt||+hn?hn.length-jt.length:jt.length-hn.length}else if(jt!==hn)return jtwindow.innerHeight?"landscape":"portrait"}},Fe.mixin($e),window.addEventListener("orientationchange",function(){setTimeout(function(){$e.emit("change",$e.get())},200)},!1),xe.exports=$e},8702:function(xe,$e,Ie){var Fe=Ie(9702),Ue=Ie(7913),qe=Ie(6930),At=Ie(3063);$e=function(bn,_n){for(var wn,kn=[],Cn=bn;bn;){if(wn=!0,Fe(kn)&&vn[Fe(kn)]){var Sn=new RegExp("]*>")).exec(bn);if(Sn){var xn=bn.substring(0,Sn.index);bn=bn.substring(Sn.index+Sn[0].length),xn&&_n.text&&_n.text(xn)}In("",Fe(kn))}else{if(qe(bn,"");En>=0&&(_n.comment&&_n.comment(bn.substring(4,En)),bn=bn.substring(En+3),wn=!1)}else if(qe(bn,"=0&&kn[Bn]!==Rn;Bn--);else Bn=0;if(Bn>=0){for(var Vn=kn.length-1;Vn>=Bn;Vn--)_n.end&&_n.end(kn[Vn]);kn.length=Bn}}In()};var Dt=/^\s]+))?)*)\s*(\/?)>/i,Lt=/^<\/([-A-Za-z0-9_]+)[^>]*>/,jt=/^<([-A-Za-z0-9_]+)((?:\s+[-A-Za-z0-9_:@.]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/i,hn=/([-A-Za-z0-9_:@.]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,vn=Ue("script,style".split(","));xe.exports=$e},4198:function(xe,$e,Ie){var Fe=Ie(1137),Ue=Ie(1352);$e=Fe(function(qe,At){return function(){var Dt=[];return Dt=(Dt=Dt.concat(At)).concat(Ue(arguments)),qe.apply(this,Dt)}}),xe.exports=$e},1194:function(xe,$e,Ie){var Fe,Ue=Ie(8847),qe=Ie(5610),At=qe.performance,Dt=qe.process;if(At&&At.now)$e=function(){return At.now()};else if(Dt&&Dt.hrtime){var Lt=function(){var jt=Dt.hrtime();return 1e9*jt[0]+jt[1]};Fe=Lt()-1e9*Dt.uptime(),$e=function(){return(Lt()-Fe)/1e6}}else Fe=Ue(),$e=function(){return Ue()-Fe};xe.exports=$e},3487:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(6472),qe=Ie(6341),At=Ie(3783);$e=function(Dt,Lt,jt){if(Fe(Lt)&&(Lt=[Lt]),Ue(Lt)){var hn=Lt;Lt=function(_n,wn){return qe(hn,wn)}}var vn={},bn=function(_n,wn){Lt(_n,wn)&&(vn[wn]=_n)};return jt&&(bn=function(_n,wn){Lt(_n,wn)||(vn[wn]=_n)}),At(Dt,bn),vn},xe.exports=$e},747:function(xe,$e,Ie){var Fe=Ie(1475),Ue=Ie(7494),qe=Ie(3023),At=Ie(6257),Dt=Ie(7622);($e=Fe(function(vn){if(vn=vn.replace(jt,""),vn=Ue(vn),At(hn,vn))return vn;for(var bn=Lt.length;bn--;){var _n=Lt[bn]+qe(vn);if(At(hn,_n))return _n}return vn})).dash=Fe(function(vn){var bn=$e(vn);return(jt.test(bn)?"-":"")+Dt(bn)});var Lt=["O","ms","Moz","Webkit"],jt=/^(O)|(ms)|(Moz)|(Webkit)|(-o-)|(-ms-)|(-moz-)|(-webkit-)/g,hn=document.createElement("p").style;xe.exports=$e},2994:function(xe,$e,Ie){var Fe=Ie(6472),Ue=Ie(7653);$e=function(qe){return Fe(qe)?function(Dt){return Ue(Dt,qe)}:(At=qe,function(Dt){return Dt==null?void 0:Dt[At]});var At},xe.exports=$e},1745:function(xe,$e,Ie){var Fe=Ie(4331),Ue=Ie(3783),qe=Ie(1286),At=Ie(6472),Dt=Ie(2461),Lt=Ie(8887),jt=Ie(5972),hn=Ie(5166);$e={parse:function(bn){var _n={};return bn=Fe(bn).replace(vn,""),Ue(bn.split("&"),function(wn){var kn=wn.split("="),Cn=kn.shift(),Sn=kn.length>0?kn.join("="):null;Cn=decodeURIComponent(Cn),Sn=decodeURIComponent(Sn),qe(_n[Cn])?_n[Cn]=Sn:At(_n[Cn])?_n[Cn].push(Sn):_n[Cn]=[_n[Cn],Sn]}),_n},stringify:function(bn,_n){return jt(Dt(bn,function(wn,kn){return hn(wn)&&Lt(wn)?"":At(wn)?$e.stringify(wn,kn):encodeURIComponent(_n||kn)+"="+encodeURIComponent(wn)}),function(wn){return wn.length>0}).join("&")}};var vn=/^(\?|#|&)/g;xe.exports=$e},1571:function(xe,$e,Ie){var Fe,Ue,qe=Ie(8847),At=Ie(2727),Dt=0;if(At){Fe=window.requestAnimationFrame,Ue=window.cancelAnimationFrame;for(var Lt=["ms","moz","webkit","o"],jt=0,hn=Lt.length;jt0;)1&Fe&&(Ue+=Ie),Fe>>=1,Ie+=Ie;return Ue},xe.exports=$e},8368:function(xe,$e,Ie){var Fe=Ie(2337);$e=function(Ue,qe,At){return Ue.replace(new RegExp(Fe(qe),"g"),At)},xe.exports=$e},1137:function(xe,$e){$e=function(Ie,Fe){return Fe=Fe==null?Ie.length-1:+Fe,function(){var Ue,qe=Math.max(arguments.length-Fe,0),At=new Array(qe);for(Ue=0;Ue=0;_n--){var wn=jt[_n];if(wn!==""){if(Sn({domain:vn=vn===""?wn:wn+"."+vn,path:qe="/"})||Sn({domain:vn}))return;for(var kn=0;kn=0;)for(Lt=!1,Ue=-1,qe=Ie.charAt(At);++Ue=0?Ie.substring(0,At+1):""},xe.exports=$e},2838:function(xe,$e,Ie){var Fe=Ie(4777),Ue=Ie(5166),qe=Ie(6472),At=Ie(3955),Dt=Ie(4491),Lt=Ie(6362),jt=Ie(2994);$e=function(hn,vn,bn){return hn==null?Lt:Fe(hn)?At(hn,vn,bn):Ue(hn)&&!qe(hn)?Dt(hn):jt(hn)},xe.exports=$e},7653:function(xe,$e,Ie){var Fe=Ie(1286),Ue=Ie(1694);$e=function(qe,At){var Dt;for(Dt=(At=Ue(At,qe)).shift();!Fe(Dt);){if((qe=qe[Dt])==null)return;Dt=At.shift()}return qe},xe.exports=$e},8079:function(xe,$e,Ie){var Fe=Ie(1694),Ue=Ie(1286),qe=Ie(3367),At=Ie(9804),Dt=Ie(6768);$e=function(Lt,jt,hn){var vn,bn=(jt=Fe(jt,Lt)).pop();for(vn=jt.shift();!Ue(vn);){if(Dt(vn)||At(vn)||(vn=qe(vn)),vn==="__proto__"||vn==="constructor"||vn==="prototype")return;Lt[vn]||(Lt[vn]={}),Lt=Lt[vn],vn=jt.shift()}Lt[bn]=hn},xe.exports=$e},615:function(xe,$e,Ie){var Fe=Ie(5026);$e=function(Ue){var qe;switch(Ue=Ue||"local"){case"local":qe=window.localStorage;break;case"session":qe=window.sessionStorage}try{var At="test-localStorage-"+Date.now();qe.setItem(At,At);var Dt=qe.getItem(At);if(qe.removeItem(At),Dt!==At)throw new Error}catch{return Fe}return qe},xe.exports=$e},4224:function(xe,$e,Ie){var Fe=Ie(6334);$e=function(Ue,qe){return Ue=new Fe(Ue),qe=new Fe(qe),Ue.port=0|Ue.port||(Ue.protocol==="https"?443:80),qe.port=0|qe.port||(qe.protocol==="https"?443:80),Ue.protocol===qe.protocol&&Ue.hostname===qe.hostname&&Ue.port===qe.port},xe.exports=$e},9677:function(xe,$e){$e=function(Ie,Fe,Ue){var qe=Ie.length;Fe=Fe==null?0:Fe<0?Math.max(qe+Fe,0):Math.min(Fe,qe),Ue=Ue==null?qe:Ue<0?Math.max(qe+Ue,0):Math.min(Ue,qe);for(var At=[];Fe1&&arguments[1]!==void 0?arguments[1]:{};Ue(hn,Lt);var vn=hn.deep,bn=hn.comparator,_n=[],wn=[];return function kn(Cn){var Sn,xn=_n.indexOf(Cn);if(xn>-1)return wn[xn];if(At(Cn)){Sn=[],_n.push(Cn),wn.push(Sn);for(var En=0,Tn=Cn.length;En0){var kn=vn.indexOf(this);kn>-1?(vn.splice(kn+1),bn.splice(kn,1/0,_n)):(vn.push(this),bn.push(_n));var Cn=vn.indexOf(wn);Cn>-1&&(wn=vn[0]===wn?"[Circular ~]":"[Circular ~."+bn.slice(0,Cn).join(".")+"]")}else vn.push(wn);return Lt(wn)||Dt(wn)?wn="["+Ue(Fe(wn))+" "+qe(wn)+"]":At(wn)&&(wn=null),wn}),hn);var vn,bn},xe.exports=$e},9963:function(xe,$e,Ie){var Fe=Ie(4187),Ue=Ie(3085),qe=Ie(3367),At=Ie(4858),Dt=Ie(300),Lt=Ie(2533),jt=Ie(3783),hn=Ie(7496),vn=Ie(415),bn=Ie(801),_n=Ie(6329),wn=Ie(4321),kn=Ie(5972),Cn=Ie(8847),Sn=Ie(1116),xn=Ie(6341),En=Ie(5166),Tn=Ie(9537),An=Ie(1662),$n=Ie(6930),Pn=Ie(8079),Nn=Ie(9803),Mn=Ie(3487),In=Ie(1369);function On(Fn,zn,jn,Gn){var Wn=[];return jt(zn,function(Xn){var er,rr=Object.getOwnPropertyDescriptor(jn,Xn),Jn=rr&&rr.get,Yn=rr&&rr.set;if(!Gn.accessGetter&&Jn)er="(...)";else try{if(er=jn[Xn],xn(Gn.ignore,er))return;wn(er)&&er.catch(function(){})}catch(qn){er=qn.message}Wn.push("".concat(Rn(Xn),":").concat($e(er,Gn))),Jn&&Wn.push("".concat(Rn("get "+qe(Xn)),":").concat($e(rr.get,Gn))),Yn&&Wn.push("".concat(Rn("set "+qe(Xn)),":").concat($e(rr.set,Gn)))}),'"'.concat(Fn,'":{')+Wn.join(",")+"}"}function Rn(Fn){return'"'.concat(Vn(Fn),'"')}function Bn(Fn){return'"'.concat(Vn(qe(Fn)),'"')}function Vn(Fn){return Fe(Fn).replace(/\\'/g,"'").replace(/\t/g,"\\t")}$e=function(Fn){var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jn=zn.self,Gn=zn.startTime,Wn=Gn===void 0?Cn():Gn,Xn=zn.timeout,er=Xn===void 0?0:Xn,rr=zn.depth,Jn=rr===void 0?0:rr,Yn=zn.curDepth,qn=Yn===void 0?1:Yn,ar=zn.visitor,tr=ar===void 0?new Ln:ar,or=zn.unenumerable,sr=or!==void 0&&or,Kn=zn.symbol,Zn=Kn!==void 0&&Kn,nr=zn.accessGetter,lr=nr!==void 0&&nr,ir=zn.ignore,kr=ir===void 0?[]:ir,Cr="",Er={visitor:tr,unenumerable:sr,symbol:Zn,accessGetter:lr,depth:Jn,curDepth:qn+1,timeout:er,startTime:Wn,ignore:kr},dr=Ue(Fn,!1);if(dr==="String")Cr=Bn(Fn);else if(dr==="Number")Cr=qe(Fn),At(Cr,"Infinity")&&(Cr='{"value":"'.concat(Cr,'","type":"Number"}'));else if(dr==="NaN")Cr='{"value":"NaN","type":"Number"}';else if(dr==="Boolean")Cr=Fn?"true":"false";else if(dr==="Null")Cr="null";else if(dr==="Undefined")Cr='{"type":"Undefined"}';else if(dr==="Symbol"){var br="Symbol";try{br=qe(Fn)}catch{}Cr='{"value":'.concat(Bn(br),',"type":"Symbol"}')}else{if(er&&Cn()-Wn>er)return Bn("Timeout");if(Jn&&qn>Jn)return Bn("{...}");Cr="{";var _r,Pr=[],gr=tr.get(Fn);if(gr?(_r=gr.id,Pr.push('"reference":'.concat(_r))):(_r=tr.set(Fn),Pr.push('"id":'.concat(_r))),Pr.push('"type":"'.concat(dr,'"')),At(dr,"Function")?Pr.push('"value":'.concat(Bn(Dt(Fn)))):dr==="RegExp"&&Pr.push('"value":'.concat(Bn(Fn))),!gr){var xr=Lt(Fn);if(xr.length&&Pr.push(On("enumerable",xr,jn||Fn,Er)),sr){var Rr=bn(Sn(Fn,{prototype:!1,unenumerable:!0}),xr);Rr.length&&Pr.push(On("unenumerable",Rr,jn||Fn,Er))}if(Zn){var Hr=kn(Sn(Fn,{prototype:!1,symbol:!0}),function($r){return typeof $r=="symbol"});Hr.length&&Pr.push(On("symbol",Hr,jn||Fn,Er))}var Jr=vn(Fn);if(Jr&&!xn(kr,Jr)){var Gr='"proto":'.concat($e(Jr,_n(Er,{self:jn||Fn})));Pr.push(Gr)}}Cr+=Pr.join(",")+"}"}return Cr};var Ln=hn({initialize:function(){this.id=1,this.visited=[]},set:function(Fn){var zn=this.visited,jn=this.id,Gn={id:jn,val:Fn};return zn.push(Gn),this.id++,jn},get:function(Fn){for(var zn=this.visited,jn=0,Gn=zn.length;jn]*>/g;$e=function(Fe){return Fe.replace(Ie,"")},xe.exports=$e},1907:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(1352),qe=Ie(6435),At=Ie(2461),Dt=Ie(4331);$e=function(jt){Fe(jt)&&(jt=Ue(jt));for(var hn="",vn=arguments.length,bn=new Array(vn>1?vn-1:0),_n=1;_n=0;)for(Lt=!1,Ue=-1,qe=Ie.charAt(At);++Ue=0?Ie.substring(0,At+1):""},xe.exports=$e},2838:function(xe,$e,Ie){var Fe=Ie(4777),Ue=Ie(5166),qe=Ie(6472),At=Ie(3955),Dt=Ie(4491),Lt=Ie(6362),jt=Ie(2994);$e=function(hn,vn,bn){return hn==null?Lt:Fe(hn)?At(hn,vn,bn):Ue(hn)&&!qe(hn)?Dt(hn):jt(hn)},xe.exports=$e},7653:function(xe,$e,Ie){var Fe=Ie(1286),Ue=Ie(1694);$e=function(qe,At){var Dt;for(Dt=(At=Ue(At,qe)).shift();!Fe(Dt);){if((qe=qe[Dt])==null)return;Dt=At.shift()}return qe},xe.exports=$e},8079:function(xe,$e,Ie){var Fe=Ie(1694),Ue=Ie(1286),qe=Ie(3367),At=Ie(9804),Dt=Ie(6768);$e=function(Lt,jt,hn){var vn,bn=(jt=Fe(jt,Lt)).pop();for(vn=jt.shift();!Ue(vn);){if(Dt(vn)||At(vn)||(vn=qe(vn)),vn==="__proto__"||vn==="constructor"||vn==="prototype")return;Lt[vn]||(Lt[vn]={}),Lt=Lt[vn],vn=jt.shift()}Lt[bn]=hn},xe.exports=$e},615:function(xe,$e,Ie){var Fe=Ie(5026);$e=function(Ue){var qe;switch(Ue=Ue||"local"){case"local":qe=window.localStorage;break;case"session":qe=window.sessionStorage}try{var At="test-localStorage-"+Date.now();qe.setItem(At,At);var Dt=qe.getItem(At);if(qe.removeItem(At),Dt!==At)throw new Error}catch{return Fe}return qe},xe.exports=$e},4224:function(xe,$e,Ie){var Fe=Ie(6334);$e=function(Ue,qe){return Ue=new Fe(Ue),qe=new Fe(qe),Ue.port=0|Ue.port||(Ue.protocol==="https"?443:80),qe.port=0|qe.port||(qe.protocol==="https"?443:80),Ue.protocol===qe.protocol&&Ue.hostname===qe.hostname&&Ue.port===qe.port},xe.exports=$e},9677:function(xe,$e){$e=function(Ie,Fe,Ue){var qe=Ie.length;Fe=Fe==null?0:Fe<0?Math.max(qe+Fe,0):Math.min(Fe,qe),Ue=Ue==null?qe:Ue<0?Math.max(qe+Ue,0):Math.min(Ue,qe);for(var At=[];Fe1&&arguments[1]!==void 0?arguments[1]:{};Ue(hn,Lt);var vn=hn.deep,bn=hn.comparator,_n=[],wn=[];return function kn(Cn){var Sn,xn=_n.indexOf(Cn);if(xn>-1)return wn[xn];if(At(Cn)){Sn=[],_n.push(Cn),wn.push(Sn);for(var En=0,Tn=Cn.length;En0){var kn=vn.indexOf(this);kn>-1?(vn.splice(kn+1),bn.splice(kn,1/0,_n)):(vn.push(this),bn.push(_n));var Cn=vn.indexOf(wn);Cn>-1&&(wn=vn[0]===wn?"[Circular ~]":"[Circular ~."+bn.slice(0,Cn).join(".")+"]")}else vn.push(wn);return Lt(wn)||Dt(wn)?wn="["+Ue(Fe(wn))+" "+qe(wn)+"]":At(wn)&&(wn=null),wn}),hn);var vn,bn},xe.exports=$e},9963:function(xe,$e,Ie){var Fe=Ie(4187),Ue=Ie(3085),qe=Ie(3367),At=Ie(4858),Dt=Ie(300),Lt=Ie(2533),jt=Ie(3783),hn=Ie(7496),vn=Ie(415),bn=Ie(801),_n=Ie(6329),wn=Ie(4321),kn=Ie(5972),Cn=Ie(8847),Sn=Ie(1116),xn=Ie(6341),En=Ie(5166),Tn=Ie(9537),An=Ie(1662),$n=Ie(6930),Pn=Ie(8079),Nn=Ie(9803),Mn=Ie(3487),In=Ie(1369);function On(Fn,zn,jn,Gn){var Wn=[];return jt(zn,function(Xn){var er,rr=Object.getOwnPropertyDescriptor(jn,Xn),Jn=rr&&rr.get,qn=rr&&rr.set;if(!Gn.accessGetter&&Jn)er="(...)";else try{if(er=jn[Xn],xn(Gn.ignore,er))return;wn(er)&&er.catch(function(){})}catch(Yn){er=Yn.message}Wn.push("".concat(Rn(Xn),":").concat($e(er,Gn))),Jn&&Wn.push("".concat(Rn("get "+qe(Xn)),":").concat($e(rr.get,Gn))),qn&&Wn.push("".concat(Rn("set "+qe(Xn)),":").concat($e(rr.set,Gn)))}),'"'.concat(Fn,'":{')+Wn.join(",")+"}"}function Rn(Fn){return'"'.concat(Vn(Fn),'"')}function Bn(Fn){return'"'.concat(Vn(qe(Fn)),'"')}function Vn(Fn){return Fe(Fn).replace(/\\'/g,"'").replace(/\t/g,"\\t")}$e=function(Fn){var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},jn=zn.self,Gn=zn.startTime,Wn=Gn===void 0?Cn():Gn,Xn=zn.timeout,er=Xn===void 0?0:Xn,rr=zn.depth,Jn=rr===void 0?0:rr,qn=zn.curDepth,Yn=qn===void 0?1:qn,ar=zn.visitor,tr=ar===void 0?new Ln:ar,or=zn.unenumerable,sr=or!==void 0&&or,Kn=zn.symbol,Zn=Kn!==void 0&&Kn,nr=zn.accessGetter,lr=nr!==void 0&&nr,ir=zn.ignore,kr=ir===void 0?[]:ir,Cr="",Er={visitor:tr,unenumerable:sr,symbol:Zn,accessGetter:lr,depth:Jn,curDepth:Yn+1,timeout:er,startTime:Wn,ignore:kr},dr=Ue(Fn,!1);if(dr==="String")Cr=Bn(Fn);else if(dr==="Number")Cr=qe(Fn),At(Cr,"Infinity")&&(Cr='{"value":"'.concat(Cr,'","type":"Number"}'));else if(dr==="NaN")Cr='{"value":"NaN","type":"Number"}';else if(dr==="Boolean")Cr=Fn?"true":"false";else if(dr==="Null")Cr="null";else if(dr==="Undefined")Cr='{"type":"Undefined"}';else if(dr==="Symbol"){var br="Symbol";try{br=qe(Fn)}catch{}Cr='{"value":'.concat(Bn(br),',"type":"Symbol"}')}else{if(er&&Cn()-Wn>er)return Bn("Timeout");if(Jn&&Yn>Jn)return Bn("{...}");Cr="{";var _r,Pr=[],gr=tr.get(Fn);if(gr?(_r=gr.id,Pr.push('"reference":'.concat(_r))):(_r=tr.set(Fn),Pr.push('"id":'.concat(_r))),Pr.push('"type":"'.concat(dr,'"')),At(dr,"Function")?Pr.push('"value":'.concat(Bn(Dt(Fn)))):dr==="RegExp"&&Pr.push('"value":'.concat(Bn(Fn))),!gr){var xr=Lt(Fn);if(xr.length&&Pr.push(On("enumerable",xr,jn||Fn,Er)),sr){var Rr=bn(Sn(Fn,{prototype:!1,unenumerable:!0}),xr);Rr.length&&Pr.push(On("unenumerable",Rr,jn||Fn,Er))}if(Zn){var Hr=kn(Sn(Fn,{prototype:!1,symbol:!0}),function($r){return typeof $r=="symbol"});Hr.length&&Pr.push(On("symbol",Hr,jn||Fn,Er))}var Jr=vn(Fn);if(Jr&&!xn(kr,Jr)){var Gr='"proto":'.concat($e(Jr,_n(Er,{self:jn||Fn})));Pr.push(Gr)}}Cr+=Pr.join(",")+"}"}return Cr};var Ln=hn({initialize:function(){this.id=1,this.visited=[]},set:function(Fn){var zn=this.visited,jn=this.id,Gn={id:jn,val:Fn};return zn.push(Gn),this.id++,jn},get:function(Fn){for(var zn=this.visited,jn=0,Gn=zn.length;jn]*>/g;$e=function(Fe){return Fe.replace(Ie,"")},xe.exports=$e},1907:function(xe,$e,Ie){var Fe=Ie(6768),Ue=Ie(1352),qe=Ie(6435),At=Ie(2461),Dt=Ie(4331);$e=function(jt){Fe(jt)&&(jt=Ue(jt));for(var hn="",vn=arguments.length,bn=new Array(vn>1?vn-1:0),_n=1;_n0?qe.apply(null,Sn):0;return Dt(At(Cn,function($n){return $n[0]===" "?$n.slice(An):$n}).join(` `))};var Lt=/^(\s+)\S+/;xe.exports=$e},2439:function(xe,$e,Ie){var Fe=Ie(6049);$e=function(Ue,qe){return Fe(Ue,qe,!0)},xe.exports=$e},1352:function(xe,$e,Ie){var Fe=Ie(1369),Ue=Ie(2461),qe=Ie(6472),At=Ie(6768);$e=function(Dt){return Dt?qe(Dt)?Dt:Fe(Dt)&&!At(Dt)?Ue(Dt):[Dt]:[]},xe.exports=$e},3474:function(xe,$e,Ie){var Fe=Ie(6768);$e=function(Ue){return Fe(Ue)?(Ue=Ue.toLowerCase())!=="0"&&Ue!==""&&Ue!=="false":!!Ue},xe.exports=$e},4891:function(xe,$e){var Ie=document;if($e=function(Ue){var qe=Ie.createElement("body");return qe.innerHTML=Ue,qe.childNodes[0]},Ie.createRange&&Ie.body){var Fe=Ie.createRange();Fe.selectNode(Ie.body),Fe.createContextualFragment&&($e=function(Ue){return Fe.createContextualFragment(Ue).childNodes[0]})}xe.exports=$e},9296:function(xe,$e,Ie){var Fe=Ie(3875);$e=function(Ue){return Ue?(Ue=Fe(Ue))-Ue%1:Ue===0?Ue:0},xe.exports=$e},3875:function(xe,$e,Ie){var Fe=Ie(3990),Ue=Ie(5166),qe=Ie(4777),At=Ie(6768);$e=function(Dt){if(Fe(Dt))return Dt;if(Ue(Dt)){var Lt=qe(Dt.valueOf)?Dt.valueOf():Dt;Dt=Ue(Lt)?Lt+"":Lt}return At(Dt)?+Dt:Dt===0?Dt:+Dt},xe.exports=$e},300:function(xe,$e,Ie){var Fe=Ie(2763);$e=function(qe){if(Fe(qe))return"";try{return Ue.call(qe)}catch{}try{return qe+""}catch{}return""};var Ue=Function.prototype.toString;xe.exports=$e},3367:function(xe,$e){$e=function(Ie){return Ie==null?"":Ie.toString()},xe.exports=$e},4331:function(xe,$e,Ie){var Fe=Ie(7767),Ue=Ie(3597);$e=function(qe,At){return At==null&&qe.trim?qe.trim():Fe(Ue(qe,At),At)},xe.exports=$e},7756:function(xe,$e,Ie){var Fe=Ie(4193),Ue=Ie(1286);$e=function(At,Dt){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Fe(Lt,qe);var jt=Lt.ellipsis,hn=Lt.separator;if(Dt>At.length)return At;var vn=Dt-jt.length;if(vn<1)return jt;var bn=At.slice(0,vn);if(Ue(hn))return bn+jt;if(At.indexOf(hn,vn)!==vn){var _n=bn.lastIndexOf(hn);_n>-1&&(bn=bn.slice(0,_n))}return bn+jt};var qe={ellipsis:"..."};xe.exports=$e},3085:function(xe,$e,Ie){var Fe=Ie(106),Ue=Ie(9433),qe=Ie(3063),At=Ie(2349);$e=function(Lt){var jt,hn=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];return Lt===null&&(jt="Null"),Lt===void 0&&(jt="Undefined"),Ue(Lt)&&(jt="NaN"),At(Lt)&&(jt="Buffer"),jt||(jt=Fe(Lt).match(Dt))&&(jt=jt[1]),jt?hn?qe(jt):jt:""};var Dt=/^\[object\s+(.*?)]$/;xe.exports=$e},8166:function(xe,$e,Ie){var Fe=Ie(996),Ue=Ie(2461);$e={encode:function(qe){return qe.length<32768?String.fromCodePoint.apply(String,qe):Ue(Fe(qe,32767),function(At){return String.fromCodePoint.apply(String,At)}).join("")},decode:function(qe){for(var At=[],Dt=0,Lt=qe.length;Dt=55296&&jt<=56319&&Dt>6*Sn)+xn);Sn>0;)En+=bn(128|63&Cn>>6*(Sn-1)),Sn--;return En}function wn(Cn){for(;;){if(qe>=At&&jt){if(Cn)return kn();throw new Error("Invalid byte index")}if(qe===At)return!1;var Sn=Ue[qe];if(qe++,jt){if(Snvn){if(Cn)return qe--,kn();throw new Error("Invalid continuation byte")}if(hn=128,vn=191,Dt=Dt<<6|63&Sn,++Lt===jt){var xn=Dt;return Dt=0,jt=0,Lt=0,xn}}else{if(!(128&Sn))return Sn;if((224&Sn)==192)jt=1,Dt=31&Sn;else if((240&Sn)==224)Sn===224&&(hn=160),Sn===237&&(vn=159),jt=2,Dt=15&Sn;else{if((248&Sn)!=240){if(Cn)return kn();throw new Error("Invalid UTF-8 detected")}Sn===240&&(hn=144),Sn===244&&(vn=143),jt=3,Dt=7&Sn}}}}function kn(){var Cn=qe-Lt-1;return qe=Cn+1,Dt=0,jt=0,Lt=0,hn=128,vn=191,Ue[Cn]}xe.exports=$e},5936:function(xe,$e,Ie){var Fe=Ie(3366);$e=function(){var At=Fe(16);return At[6]=15&At[6]|64,At[8]=63&At[8]|128,Ue[At[0]]+Ue[At[1]]+Ue[At[2]]+Ue[At[3]]+"-"+Ue[At[4]]+Ue[At[5]]+"-"+Ue[At[6]]+Ue[At[7]]+"-"+Ue[At[8]]+Ue[At[9]]+"-"+Ue[At[10]]+Ue[At[11]]+Ue[At[12]]+Ue[At[13]]+Ue[At[14]]+Ue[At[15]]};for(var Ue=[],qe=0;qe<256;qe++)Ue[qe]=(qe+256).toString(16).substr(1);xe.exports=$e},2578:function(xe,$e,Ie){var Fe=Ie(3783);$e=function(Ue){var qe=[];return Fe(Ue,function(At){qe.push(At)}),qe},xe.exports=$e},3514:function(xe,$e,Ie){var Fe=Ie(8573),Ue=Ie(9882),qe=Ie(4331),At=Ie(3783),Dt=Ie(2461),Lt=Ie(9433);$e=function(){var jt=Fe("viewport");if(!jt)return 1;jt=Dt(jt.split(","),function(wn){return qe(wn)});var hn=.25,vn=5,bn=1;At(jt,function(wn){var kn=(wn=wn.split("="))[0];wn=wn[1],kn==="initial-scale"&&(bn=+wn),kn==="maximum-scale"&&(vn=+wn),kn==="minimum-scale"&&(hn=+wn)});var _n=Ue(bn,hn,vn);return Lt(_n)?1:_n},xe.exports=$e},8933:function(xe,$e){$e=function(Ie){for(var Fe=[],Ue=document.evaluate(Ie,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),qe=0;qe=Bn.length&&(Bn=void 0),{value:Bn&&Bn[Dn++],done:!Bn}}};throw new TypeError(Vn?"Object is not iterable.":"Symbol.iterator is not defined.")},Dt=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0});var Lt=Dt(Ie(1160)),jt=Ie(7669),hn=Ie(2062),vn=Dt(Ie(242)),bn=Dt(Ie(2439)),_n=Dt(Ie(3063)),wn=Dt(Ie(3783)),kn=Dt(Ie(3009)),Cn=Dt(Ie(5044)),Sn=Dt(Ie(4502)),xn=Dt(Ie(6329)),En=Dt(Ie(7494)),Tn=Dt(Ie(6341)),An=Dt(Ie(3875)),$n=Dt(Ie(3577)),Pn=Dt(Ie(6768));Ie(8169);var Nn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this,Ln,{compName:"dom-highlighter"},Dn)||this;return Hn.overlay=new jt.HighlightOverlay(window),Hn.reset=function(){var Fn=document.documentElement.clientWidth,zn=document.documentElement.clientHeight;Hn.overlay.reset({viewportSize:{width:Fn,height:zn},deviceScaleFactor:1,pageScaleFactor:1,pageZoomFactor:1,emulationScaleFactor:1,scrollX:window.scrollX,scrollY:window.scrollY})},Hn.initOptions(Dn,{showRulers:!1,showExtensionLines:!1,showInfo:!0,showStyles:!0,showAccessibilityInfo:!0,colorFormat:"hex",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)",monitorResize:!0}),Hn.overlay.setContainer(Ln),Hn.overlay.setPlatform("mac"),Hn.redraw=(0,bn.default)(function(){Hn.reset(),Hn.draw()},16),Hn.redraw(),Hn.bindEvent(),Hn}return Ue(Vn,Bn),Vn.prototype.highlight=function(Ln,Dn){Dn&&(0,xn.default)(this.options,Dn),this.target=Ln,Ln instanceof HTMLElement&&this.options.monitorResize&&(this.resizeSensor&&this.resizeSensor.destroy(),this.resizeSensor=new vn.default(Ln),this.resizeSensor.addListener(this.redraw)),this.redraw()},Vn.prototype.hide=function(){this.target=null,this.redraw()},Vn.prototype.intercept=function(Ln){this.interceptor=Ln},Vn.prototype.destroy=function(){window.removeEventListener("resize",this.redraw),window.removeEventListener("scroll",this.redraw),this.resizeSensor&&this.resizeSensor.destroy(),Bn.prototype.destroy.call(this)},Vn.prototype.draw=function(){var Ln=this.target;Ln&&(Ln instanceof Text?this.drawText(Ln):this.drawElement(Ln))},Vn.prototype.drawText=function(Ln){var Dn=this.options,Hn=document.createRange();Hn.selectNode(Ln);var Fn=Hn.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height;Hn.detach();var Xn={paths:[{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.contentColor),name:"content"}],showExtensionLines:Dn.showExtensionLines,showRulers:Dn.showRulers};Dn.showInfo&&(Xn.elementInfo={tagName:"#text",nodeWidth:Gn,nodeHeight:Wn}),this.overlay.drawHighlight(Xn)},Vn.prototype.drawElement=function(Ln){var Dn={paths:this.getPaths(Ln),showExtensionLines:this.options.showExtensionLines,showRulers:this.options.showRulers,colorFormat:this.options.colorFormat};if(this.options.showInfo&&(Dn.elementInfo=this.getElementInfo(Ln)),this.interceptor){var Hn=this.interceptor(Dn);Hn&&(Dn=Hn)}this.overlay.drawHighlight(Dn)},Vn.prototype.getPaths=function(Ln){var Dn=this.options,Hn=window.getComputedStyle(Ln),Fn=Ln.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height,Xn=function(lr){return(0,hn.pxToNum)(Hn.getPropertyValue(lr))},er=Xn("margin-left"),rr=Xn("margin-right"),Jn=Xn("margin-top"),Yn=Xn("margin-bottom"),qn=Xn("border-left-width"),ar=Xn("border-right-width"),tr=Xn("border-top-width"),or=Xn("border-bottom-width"),sr=Xn("padding-left"),Kn=Xn("padding-right"),Zn=Xn("padding-top"),nr=Xn("padding-bottom");return[{path:this.rectToPath({left:zn+qn+sr,top:jn+tr+Zn,width:Gn-qn-sr-ar-Kn,height:Wn-tr-Zn-or-nr}),fillColor:On(Dn.contentColor),name:"content"},{path:this.rectToPath({left:zn+qn,top:jn+tr,width:Gn-qn-ar,height:Wn-tr-or}),fillColor:On(Dn.paddingColor),name:"padding"},{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.borderColor),name:"border"},{path:this.rectToPath({left:zn-er,top:jn-Jn,width:Gn+er+rr,height:Wn+Jn+Yn}),fillColor:On(Dn.marginColor),name:"margin"}]},Vn.prototype.getElementInfo=function(Ln){var Dn=Ln.getBoundingClientRect(),Hn=Dn.width,Fn=Dn.height,zn=Ln.getAttribute("class")||"";zn=zn.split(/\s+/).map(function(Gn){return"."+Gn}).join("");var jn={tagName:(0,_n.default)(Ln.tagName),className:zn,idValue:Ln.id,nodeWidth:Hn,nodeHeight:Fn};return this.options.showStyles&&(jn.style=this.getStyles(Ln)),this.options.showAccessibilityInfo&&(0,xn.default)(jn,this.getAccessibilityInfo(Ln)),jn},Vn.prototype.getStyles=function(Ln){for(var Dn=window.getComputedStyle(Ln),Hn=!1,Fn=Ln.childNodes,zn=0,jn=Fn.length;zn-1)},Vn.prototype.getAccessibleNameAndRole=function(Ln){var Dn=Ln.getAttribute("labelledby")||Ln.getAttribute("aria-label"),Hn=Ln.getAttribute("role"),Fn=(0,_n.default)(Ln.tagName);return $n.default.forEach(function(zn){var jn,Gn;if(!Hn){var Wn=zn[0],Xn=zn[2];if(Wn===Fn){if(Xn)try{for(var er=At(Xn),rr=er.next();!rr.done;rr=er.next()){var Jn=rr.value;if(Ln.getAttribute(Jn[0])!==Jn[1])return}}catch(Yn){jn={error:Yn}}finally{try{rr&&!rr.done&&(Gn=er.return)&&Gn.call(er)}finally{if(jn)throw jn.error}}Hn=zn[1]}}}),{accessibleName:Dn||Ln.getAttribute("title")||"",accessibleRole:Hn||"generic"}},Vn.prototype.bindEvent=function(){var Ln=this;window.addEventListener("resize",this.redraw),window.addEventListener("scroll",this.redraw),this.on("optionChange",function(){return Ln.redraw()})},Vn.prototype.rectToPath=function(Ln){var Dn=Ln.left,Hn=Ln.top,Fn=Ln.width,zn=Ln.height,jn=[];return jn.push("M",Dn,Hn),jn.push("L",Dn+Fn,Hn),jn.push("L",Dn+Fn,Hn+zn),jn.push("L",Dn,Hn+zn),jn.push("Z"),jn},Vn}(Lt.default);$e.default=Nn,xe.exports=Nn,xe.exports.default=Nn;var Mn=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,In=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/;function On(Bn){return(0,Pn.default)(Bn)?Bn:Bn.a?"rgba(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,", ").concat(Bn.a,")"):"rgb(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,")")}function Rn(Bn,Vn,Ln){Ln===void 0&&(Ln=!1);var Dn={};return(0,wn.default)(Vn,function(Hn){var Fn,zn=Bn[Hn==="text-opacity"?"color":Hn];zn&&(Fn=zn,(Mn.test(Fn)||In.test(Fn))&&(zn=function(jn){var Gn=kn.default.parse(jn),Wn=Gn.val[3]||1;return Gn.val=Gn.val.slice(0,3),Gn.val.push(Math.round(255*Wn)),"#"+(0,Sn.default)(Cn.default.encode(Gn.val))}(zn),Hn==="text-opacity"&&(zn=zn.slice(7),zn=Cn.default.decode(zn)[0]/255)),Ln&&(Hn=(0,En.default)(Hn)),Dn[Hn]=zn)}),Dn}},9706:function(xe,$e){var Ie=this&&this.__read||function(On,Rn){var Bn=typeof Symbol=="function"&&On[Symbol.iterator];if(!Bn)return On;var Vn,Ln,Dn=Bn.call(On),Hn=[];try{for(;(Rn===void 0||Rn-- >0)&&!(Vn=Dn.next()).done;)Hn.push(Vn.value)}catch(Fn){Ln={error:Fn}}finally{try{Vn&&!Vn.done&&(Bn=Dn.return)&&Bn.call(Dn)}finally{if(Ln)throw Ln.error}}return Hn},Fe=this&&this.__values||function(On){var Rn=typeof Symbol=="function"&&Symbol.iterator,Bn=Rn&&On[Rn],Vn=0;if(Bn)return Bn.call(On);if(On&&typeof On.length=="number")return{next:function(){return On&&Vn>=On.length&&(On=void 0),{value:On&&On[Vn++],done:!On}}};throw new TypeError(Rn?"Object is not iterable.":"Symbol.iterator is not defined.")};function Ue(On,Rn){var Bn=On[3];return[(1-Bn)*Rn[0]+Bn*On[0],(1-Bn)*Rn[1]+Bn*On[1],(1-Bn)*Rn[2]+Bn*On[2],Bn+Rn[3]*(1-Bn)]}function qe(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126*(Bn<=.03928?Bn/12.92:Math.pow((Bn+.055)/1.055,2.4))+.7152*(Vn<=.03928?Vn/12.92:Math.pow((Vn+.055)/1.055,2.4))+.0722*(Ln<=.03928?Ln/12.92:Math.pow((Ln+.055)/1.055,2.4))}Object.defineProperty($e,"__esModule",{value:!0}),$e.getContrastThreshold=$e.isLargeFont=$e.getAPCAThreshold=$e.desiredLuminanceAPCA=$e.contrastRatioByLuminanceAPCA=$e.contrastRatioAPCA=$e.luminanceAPCA=$e.contrastRatio=$e.luminance=$e.rgbaToHsla=$e.blendColors=void 0,$e.blendColors=Ue,$e.rgbaToHsla=function(On){var Rn=Ie(On,4),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2],Dn=Rn[3],Hn=Math.max(Bn,Vn,Ln),Fn=Math.min(Bn,Vn,Ln),zn=Hn-Fn,jn=Hn+Fn,Gn=.5*jn;return[Fn===Hn?0:Bn===Hn?(.16666666666666666*(Vn-Ln)/zn+1)%1:Vn===Hn?.16666666666666666*(Ln-Bn)/zn+.3333333333333333:.16666666666666666*(Bn-Vn)/zn+.6666666666666666,Gn===0||Gn===1?0:Gn<=.5?zn/jn:zn/(2-jn),Gn,Dn]},$e.luminance=qe,$e.contrastRatio=function(On,Rn){var Bn=qe(Ue(On,Rn)),Vn=qe(Rn);return(Math.max(Bn,Vn)+.05)/(Math.min(Bn,Vn)+.05)};var At=2.4,Dt=.55,Lt=.58,jt=.62,hn=.57,vn=.03,bn=1.45,_n=1.25,wn=1.25,kn=5e-4,Cn=.078,Sn=12.82051282051282,xn=.06,En=.001;function Tn(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126729*Math.pow(Bn,At)+.7151522*Math.pow(Vn,At)+.072175*Math.pow(Ln,At)}function An(On){return On>vn?On:On+Math.pow(vn-On,bn)}function $n(On,Rn){if(On=An(On),Rn=An(Rn),Math.abs(On-Rn)=On?(Bn=(Math.pow(Rn,Dt)-Math.pow(On,Lt))*_n)-En?0:Bn>-Cn?Bn-Bn*Sn*xn:Bn+xn)}$e.luminanceAPCA=Tn,$e.contrastRatioAPCA=function(On,Rn){return $n(Tn(On),Tn(Rn))},$e.contrastRatioByLuminanceAPCA=$n,$e.desiredLuminanceAPCA=function(On,Rn,Bn){function Vn(){return Bn?Math.pow(Math.abs(Math.pow(On,jt)-(-Rn-xn)/wn),1/hn):Math.pow(Math.abs(Math.pow(On,Dt)-(Rn+xn)/_n),1/Lt)}On=An(On),Rn/=100;var Ln=Vn();return(Ln<0||Ln>1)&&(Bn=!Bn,Ln=Vn()),Ln};var Pn=[[12,-1,-1,-1,-1,100,90,80,-1,-1],[14,-1,-1,-1,100,90,80,60,60,-1],[16,-1,-1,100,90,80,60,55,50,50],[18,-1,-1,90,80,60,55,50,40,40],[24,-1,100,80,60,55,50,40,38,35],[30,-1,90,70,55,50,40,38,35,40],[36,-1,80,60,50,40,38,35,30,25],[48,100,70,55,40,38,35,30,25,20],[60,90,60,50,38,35,30,25,20,20],[72,80,55,40,35,30,25,20,20,20],[96,70,50,35,30,25,20,20,20,20],[120,60,40,30,25,20,20,20,20,20]];function Nn(On,Rn){var Bn=72*parseFloat(On.replace("px",""))/96;return["bold","bolder","600","700","800","900"].indexOf(Rn)!==-1?Bn>=14:Bn>=18}Pn.reverse(),$e.getAPCAThreshold=function(On,Rn){var Bn,Vn,Ln,Dn,Hn=parseFloat(On.replace("px","")),Fn=parseFloat(Rn);try{for(var zn=Fe(Pn),jn=zn.next();!jn.done;jn=zn.next()){var Gn=Ie(jn.value),Wn=Gn[0],Xn=Gn.slice(1);if(Hn>=Wn)try{for(var er=(Ln=void 0,Fe([900,800,700,600,500,400,300,200,100].entries())),rr=er.next();!rr.done;rr=er.next()){var Jn=Ie(rr.value,2),Yn=Jn[0];if(Fn>=Jn[1]){var qn=Xn[Xn.length-1-Yn];return qn===-1?null:qn}}}catch(ar){Ln={error:ar}}finally{try{rr&&!rr.done&&(Dn=er.return)&&Dn.call(er)}finally{if(Ln)throw Ln.error}}}}catch(ar){Bn={error:ar}}finally{try{jn&&!jn.done&&(Vn=zn.return)&&Vn.call(zn)}finally{if(Bn)throw Bn.error}}return null},$e.isLargeFont=Nn;var Mn={aa:3,aaa:4.5},In={aa:4.5,aaa:7};$e.getContrastThreshold=function(On,Rn){return Nn(On,Rn)?Mn:In}},9434:function(xe,$e){var Ie=this&&this.__values||function(jt){var hn=typeof Symbol=="function"&&Symbol.iterator,vn=hn&&jt[hn],bn=0;if(vn)return vn.call(jt);if(jt&&typeof jt.length=="number")return{next:function(){return jt&&bn>=jt.length&&(jt=void 0),{value:jt&&jt[bn++],done:!jt}}};throw new TypeError(hn?"Object is not iterable.":"Symbol.iterator is not defined.")},Fe=this&&this.__read||function(jt,hn){var vn=typeof Symbol=="function"&&jt[Symbol.iterator];if(!vn)return jt;var bn,_n,wn=vn.call(jt),kn=[];try{for(;(hn===void 0||hn-- >0)&&!(bn=wn.next()).done;)kn.push(bn.value)}catch(Cn){_n={error:Cn}}finally{try{bn&&!bn.done&&(vn=wn.return)&&vn.call(wn)}finally{if(_n)throw _n.error}}return kn},Ue=this&&this.__spreadArray||function(jt,hn,vn){if(vn||arguments.length===2)for(var bn,_n=0,wn=hn.length;_nvn&&(jt=vn),jt},$e.adoptStyleSheet=Lt},1521:function(xe,$e,Ie){var Fe=this&&this.__values||function(Sn){var xn=typeof Symbol=="function"&&Symbol.iterator,En=xn&&Sn[xn],Tn=0;if(En)return En.call(Sn);if(Sn&&typeof Sn.length=="number")return{next:function(){return Sn&&Tn>=Sn.length&&(Sn=void 0),{value:Sn&&Sn[Tn++],done:!Sn}}};throw new TypeError(xn?"Object is not iterable.":"Symbol.iterator is not defined.")},Ue=this&&this.__read||function(Sn,xn){var En=typeof Symbol=="function"&&Sn[Symbol.iterator];if(!En)return Sn;var Tn,An,$n=En.call(Sn),Pn=[];try{for(;(xn===void 0||xn-- >0)&&!(Tn=$n.next()).done;)Pn.push(Tn.value)}catch(Nn){An={error:Nn}}finally{try{Tn&&!Tn.done&&(En=$n.return)&&En.call($n)}finally{if(An)throw An.error}}return Pn},qe=this&&this.__spreadArray||function(Sn,xn,En){if(En||arguments.length===2)for(var Tn,An=0,$n=xn.length;An<$n;An++)!Tn&&An in xn||(Tn||(Tn=Array.prototype.slice.call(xn,0,An)),Tn[An]=xn[An]);return Sn.concat(Tn||Array.prototype.slice.call(xn))},At=this&&this.__importDefault||function(Sn){return Sn&&Sn.__esModule?Sn:{default:Sn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.drawPath=$e.formatColor=$e.formatRgba=$e.parseHexa=$e.createPathForQuad=$e.hatchFillPath=$e.applyMatrixToPoint=$e.emptyBounds=$e.buildPath=$e.fillPathWithBoxStyle=$e.drawPathWithLineStyle=void 0;var Dt=At(Ie(4858)),Lt=Ie(9706);function jt(Sn,xn,En){var Tn=0;function An(Nn){for(var Mn=[],In=0;InXn&&Jner,ar=Dn-Wn;ar=(0,Lt.constrainNumber)(ar,jn,On-Hn-jn);var tr=In.minY-zn-Fn,or=!0;tr<0?(tr=Math.min(Rn-Fn,In.maxY+zn),or=!1):In.minY>Rn&&(tr=Rn-zn-Fn);var sr=ar>=In.minX&&ar+Hn<=In.maxX&&tr>=In.minY&&tr+Fn<=In.maxY,Kn=arIn.minX&&trIn.minY;if(Kn&&!sr)return void(Vn.style.display="none");if(Vn.style.top=tr+"px",Vn.style.left=ar+"px",!qn){var Zn=(0,Lt.createChild)(Vn,"div","tooltip-arrow");Zn.style.clipPath=or?"polygon(0 0, 100% 0, 50% 100%)":"polygon(50% 0, 0 100%, 100% 100%)",Zn.style.top=(or?Fn-1:-zn)+"px",Zn.style.left=Dn-ar+"px"}}(this.tooltip,Sn.elementInfo,Sn.colorFormat,xn,this.canvasWidth,this.canvasHeight)),this.context.restore(),{bounds:xn}},Cn.prototype.drawAxis=function(Sn,xn,En){Sn.save();var Tn=this.pageZoomFactor*this.pageScaleFactor*this.emulationScaleFactor,An=this.scrollX*this.pageScaleFactor,$n=this.scrollY*this.pageScaleFactor;function Pn(Hn){return Math.round(Hn*Tn)}function Nn(Hn){return Math.round(Hn/Tn)}var Mn=this.canvasWidth/Tn,In=this.canvasHeight/Tn,On=50;Sn.save(),Sn.fillStyle=_n,En?Sn.fillRect(0,Pn(In)-15,Pn(Mn),Pn(In)):Sn.fillRect(0,0,Pn(Mn),15),Sn.globalCompositeOperation="destination-out",Sn.fillStyle="red",xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.restore(),Sn.fillStyle=_n,xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.lineWidth=1,Sn.strokeStyle=bn,Sn.fillStyle=bn,Sn.save(),Sn.translate(-An,.5-$n);for(var Rn=In+Nn($n),Bn=100;Bn]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.eventPage=function(xn,En){var Tn=xn==="x"?"pageX":"pageY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},6093:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(bn,_n){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(wn,kn){wn.__proto__=kn}||function(wn,kn){for(var Cn in kn)Object.prototype.hasOwnProperty.call(kn,Cn)&&(wn[Cn]=kn[Cn])},Fe(bn,_n)},function(bn,_n){if(typeof _n!="function"&&_n!==null)throw new TypeError("Class extends value "+String(_n)+" is not a constructor or null");function wn(){this.constructor=bn}Fe(bn,_n),bn.prototype=_n===null?Object.create(_n):(wn.prototype=_n.prototype,new wn)}),qe=this&&this.__importDefault||function(bn){return bn&&bn.__esModule?bn:{default:bn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1512)),Dt=qe(Ie(5229)),Lt=qe(Ie(2244)),jt=qe(Ie(8613)),hn=function(bn){function _n(wn,kn){kn===void 0&&(kn={});var Cn=bn.call(this,wn,{compName:"notification"},kn)||this;return Cn.notifications=[],Cn.initOptions(kn,{position:{x:"right",y:"bottom"},duration:2e3}),Cn.initTpl(),Cn}return Ue(_n,bn),_n.prototype.notify=function(wn,kn){var Cn=this;kn===void 0&&(kn={duration:this.options.duration});var Sn=new vn(this,wn);this.notifications.push(Sn),this.add(Sn),setTimeout(function(){return Cn.remove(Sn.id)},kn.duration)},_n.prototype.dismissAll=function(){for(var wn=this.notifications,kn=wn[0];kn;)this.remove(kn.id),kn=wn[0]},_n.prototype.add=function(wn){this.container.appendChild(wn.container)},_n.prototype.remove=function(wn){var kn=this.notifications,Cn=(0,Lt.default)(kn,function(xn){return xn.id===wn});if(Cn){Cn.destroy();var Sn=kn.indexOf(Cn);kn.splice(Sn,1)}},_n.prototype.initTpl=function(){var wn=this.$container,kn=this.options.position,Cn=kn.x,Sn=kn.y,xn="flex-end",En="flex-end";switch(Cn){case"center":En="center";break;case"left":En="flex-start"}Sn==="top"&&(xn="flex-start"),wn.attr("style","justify-content: ".concat(xn,"; align-items: ").concat(En))},_n}(qe(Ie(5404)).default);$e.default=hn;var vn=function(){function bn(_n,wn){this.container=(0,jt.default)("div"),this.$container=(0,At.default)(this.container),this.notification=_n,this.content=wn,this.id=(0,Dt.default)("luna-notification-"),this.$container.attr({id:this.id,class:_n.c("item ".concat(_n.getOption("position").y==="bottom"?"lower":"upper"))}),this.initTpl()}return bn.prototype.destroy=function(){this.$container.remove()},bn.prototype.initTpl=function(){this.$container.html(this.notification.c('
    '.concat(this.content,"
    ")))},bn}();xe.exports=hn,xe.exports.default=hn},5404:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(wn,kn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Cn,Sn){Cn.__proto__=Sn}||function(Cn,Sn){for(var xn in Sn)Object.prototype.hasOwnProperty.call(Sn,xn)&&(Cn[xn]=Sn[xn])},Fe(wn,kn)},function(wn,kn){if(typeof kn!="function"&&kn!==null)throw new TypeError("Class extends value "+String(kn)+" is not a constructor or null");function Cn(){this.constructor=wn}Fe(wn,kn),wn.prototype=kn===null?Object.create(kn):(Cn.prototype=kn.prototype,new Cn)}),qe=this&&this.__importDefault||function(wn){return wn&&wn.__esModule?wn:{default:wn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1443)),Dt=qe(Ie(1512)),Lt=Ie(164),jt=qe(Ie(3783)),hn=qe(Ie(6329)),vn=qe(Ie(4193)),bn=qe(Ie(5852)),_n=function(wn){function kn(Cn,Sn,xn){var En=Sn.compName,Tn=(xn===void 0?{}:xn).theme,An=Tn===void 0?"light":Tn,$n=wn.call(this)||this;return $n.subComponents=[],$n.compName=En,$n.c=(0,Lt.classPrefix)(En),$n.options={},$n.container=Cn,$n.$container=(0,Dt.default)(Cn),$n.$container.addClass(["luna-".concat(En),$n.c("platform-".concat((0,Lt.getPlatform)()))]),$n.on("optionChange",function(Pn,Nn,Mn){var In=$n.c;Pn==="theme"&&($n.$container.rmClass(In("theme-".concat(Mn))).addClass(In("theme-".concat(Nn))),(0,jt.default)($n.subComponents,function(On){return On.setOption("theme",Nn)}))}),$n.setOption("theme",An),$n}return Ue(kn,wn),kn.prototype.destroy=function(){this.destroySubComponents();var Cn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Cn("platform-".concat((0,Lt.getPlatform)()))).rmClass(Cn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()},kn.prototype.setOption=function(Cn,Sn){var xn=this,En=this.options,Tn={};typeof Cn=="string"?Tn[Cn]=Sn:Tn=Cn,(0,jt.default)(Tn,function(An,$n){var Pn=En[$n];En[$n]=An,xn.emit("optionChange",$n,An,Pn)})},kn.prototype.getOption=function(Cn){return this.options[Cn]},kn.prototype.addSubComponent=function(Cn){Cn.setOption("theme",this.options.theme),this.subComponents.push(Cn)},kn.prototype.removeSubComponent=function(Cn){(0,bn.default)(this.subComponents,function(Sn){return Sn===Cn})},kn.prototype.destroySubComponents=function(){(0,jt.default)(this.subComponents,function(Cn){return Cn.destroy()}),this.subComponents=[]},kn.prototype.initOptions=function(Cn,Sn){Sn===void 0&&(Sn={}),(0,vn.default)(Cn,Sn),(0,hn.default)(this.options,Cn)},kn.prototype.find=function(Cn){return this.$container.find(this.c(Cn))},kn}(At.default);$e.default=_n},164:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.resetCanvasSize=$e.getPlatform=$e.pxToNum=$e.executeAfterTransition=$e.hasVerticalScrollbar=$e.measuredScrollbarWidth=$e.eventClient=$e.drag=$e.classPrefix=void 0;var Ue=Fe(Ie(2461)),qe=Fe(Ie(4331)),At=Fe(Ie(5610)),Dt=Fe(Ie(7483)),Lt=Fe(Ie(3990)),jt=Fe(Ie(6341)),hn=Fe(Ie(3875)),vn=Fe(Ie(6954)),bn=Fe(Ie(9585));function _n(xn,En){for(var Tn=0,An=xn.length;Tn]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},8169:function(xe,$e,Ie){Ie.r($e),Ie.d($e,{default:function(){return Cn}});var Fe={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},Ue=/([astvzqmhlc])([^astvzqmhlc]*)/gi,qe=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi,At=function(Sn){var xn=[],En=String(Sn).trim();return En[0]!=="M"&&En[0]!=="m"||En.replace(Ue,function(Tn,An,$n){var Pn=An.toLowerCase(),Nn=function(In){var On=In.match(qe);return On?On.map(Number):[]}($n),Mn=An;if(Pn==="m"&&Nn.length>2&&(xn.push([Mn].concat(Nn.splice(0,2))),Pn="l",Mn=Mn==="m"?"l":"L"),Nn.length=Fe[Pn]&&Nn.length&&Fe[Pn];)xn.push([Mn].concat(Nn.splice(0,Fe[Pn])));return""}),xn};function Dt(Sn,xn){for(var En=0;EnSn.length)&&(xn=Sn.length);for(var En=0,Tn=new Array(xn);En1&&(er*=Dn=Math.sqrt(Dn),rr*=Dn),Hn=er*er*rr*rr,Fn=er*er*Vn.y*Vn.y+rr*rr*Vn.x*Vn.x,bn(ar={x:er*Vn.y/rr,y:-rr*Vn.x/er},Rn!==On?Math.sqrt((Hn-Fn)/Fn)||0:-Math.sqrt((Hn-Fn)/Fn)||0),In=Math.atan2((Vn.y-ar.y)/rr,(Vn.x-ar.x)/er),Mn=Math.atan2(-(Vn.y+ar.y)/rr,-(Vn.x+ar.x)/er),vn(ar,Ln),nr=ar,lr=(Bn.x+Cr.x)/2,ir=(Bn.y+Cr.y)/2,nr.x+=lr,nr.y+=ir,Pn.save(),Pn.translate(ar.x,ar.y),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,!Rn),Pn.restore();break;case"C":tr=dr[3],or=dr[4],zn=dr[5],Gn=dr[6],Pn.bezierCurveTo(dr[1],dr[2],tr,or,zn,Gn);break;case"c":Pn.bezierCurveTo(dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn,dr[5]+zn,dr[6]+Gn),tr=dr[3]+zn,or=dr[4]+Gn,zn+=dr[5],Gn+=dr[6];break;case"S":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1],dr[2],dr[3],dr[4]),tr=dr[1],or=dr[2],zn=dr[3],Gn=dr[4];break;case"s":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn),tr=dr[1]+zn,or=dr[2]+Gn,zn+=dr[3],Gn+=dr[4];break;case"Q":sr=dr[1],Kn=dr[2],zn=dr[3],Gn=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"q":sr=dr[1]+zn,Kn=dr[2]+Gn,zn+=dr[3],Gn+=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"T":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn=dr[1],Gn=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"t":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn+=dr[1],Gn+=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"z":case"Z":zn=kr.x,Gn=kr.y,kr=void 0,Pn.closePath();break;case"AC":zn=dr[1],Gn=dr[2],Xn=dr[3],In=dr[4],Mn=dr[5],Zn=dr[6],Pn.arc(zn,Gn,Xn,In,Mn,Zn);break;case"AT":jn=dr[1],Wn=dr[2],zn=dr[3],Gn=dr[4],Xn=dr[5],Pn.arcTo(jn,Wn,zn,Gn,Xn);break;case"E":zn=dr[1],Gn=dr[2],er=dr[3],rr=dr[4],Ln=dr[5],In=dr[6],Mn=dr[7],Zn=dr[8],Pn.save(),Pn.translate(zn,Gn),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,Zn),Pn.restore();break;case"R":zn=dr[1],Gn=dr[2],Jn=dr[3],Yn=dr[4],kr={x:zn,y:Gn},Pn.rect(zn,Gn,Jn,Yn)}Cr.x=zn,Cr.y=Gn}}},wn=At,kn=_n;typeof window<"u"&&kn(window);var Cn={path2dPolyfill:kn,parsePath:wn}},2777:function(xe){xe.exports=`.luna-dom-highlighter{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100000;pointer-events:none;font-size:13px}.luna-dom-highlighter-fill{position:absolute;top:0;right:0;bottom:0;left:0}.luna-dom-highlighter-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-highlighter-platform-mac{color:#303942;font-family:'.SFNSDisplay-Regular','Helvetica Neue','Lucida Grande',sans-serif}.luna-dom-highlighter-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-highlighter-px{color:gray}#luna-dom-highlighter-element-title{position:absolute;z-index:10}.luna-dom-highlighter-tooltip-content{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff;padding:5px 8px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;min-width:100px;max-width:min(300px,100% - 4px);z-index:2;background-clip:padding-box;will-change:transform;text-rendering:optimizeLegibility;pointer-events:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}.luna-dom-highlighter-tooltip-content .luna-dom-highlighter-tooltip-arrow{background:#fff;width:15px;height:8px;position:absolute}.luna-dom-highlighter-element-info-section{margin-top:12px;margin-bottom:6px}.luna-dom-highlighter-section-name{color:#333;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.05em;line-height:12px}.luna-dom-highlighter-element-info{display:flex;flex-direction:column}.luna-dom-highlighter-element-info-header{display:flex;align-items:center}.luna-dom-highlighter-element-info-body{display:flex;flex-direction:column;padding-top:2px;margin-top:2px}.luna-dom-highlighter-element-info-row{display:flex;line-height:19px}.luna-dom-highlighter-separator-container{display:flex;align-items:center;flex:auto;margin-left:7px}.luna-dom-highlighter-separator{border-top:1px solid #ddd;width:100%}.luna-dom-highlighter-element-info-name{flex-shrink:0;color:#666}.luna-dom-highlighter-element-info-gap{flex:auto}.luna-dom-highlighter-element-info-value-color{display:flex;color:#303942;margin-left:10px;align-items:baseline}.luna-dom-highlighter-a11y-icon{width:16px;height:16px;background-repeat:no-repeat;display:inline-block}.luna-dom-highlighter-element-info-value-contrast{display:flex;align-items:center;text-align:right;color:#303942;margin-left:10px}.luna-dom-highlighter-element-info-value-contrast .luna-dom-highlighter-a11y-icon{margin-left:8px}.luna-dom-highlighter-element-info-value-icon{display:flex;align-items:center}.luna-dom-highlighter-element-info-value-text{text-align:right;color:#303942;margin-left:10px;align-items:baseline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-dom-highlighter-color-swatch{display:flex;margin-right:2px;width:10px;height:10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);line-height:10px}.luna-dom-highlighter-color-swatch-inner{flex:auto;border:1px solid #808002}.luna-dom-highlighter-element-layout-type{margin-right:10px;width:16px;height:16px}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-grid{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-flex{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-description{flex:1 1;font-weight:700;word-wrap:break-word;word-break:break-all}.luna-dom-highlighter-dimensions{color:#737373;text-align:right;margin-left:10px}.luna-dom-highlighter-material-node-width{margin-right:2px}.luna-dom-highlighter-material-node-height{margin-left:2px}.luna-dom-highlighter-material-tag-name{color:#881280}.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id{color:#1a1aa6}.luna-dom-highlighter-contrast-text{width:16px;height:16px;text-align:center;line-height:16px;margin-right:8px;border:1px solid #000;padding:0 1px}.luna-dom-highlighter-a11y-icon-not-ok{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-warning{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-ok{background-image:url('data:image/svg+xml,')}@media (forced-colors:active){:root,body{background-color:transparent;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content{border-color:Highlight;background-color:canvas;color:text;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content::after{background-color:Highlight}.luna-dom-highlighter-color-swatch-inner,.luna-dom-highlighter-contrast-text,.luna-dom-highlighter-separator{border-color:Highlight}.luna-dom-highlighter-section-name{color:Highlight}.luna-dom-highlighter-dimensions,.luna-dom-highlighter-element-info-name,.luna-dom-highlighter-element-info-value-color,.luna-dom-highlighter-element-info-value-contrast,.luna-dom-highlighter-element-info-value-icon,.luna-dom-highlighter-element-info-value-text,.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id,.luna-dom-highlighter-material-tag-name{color:canvastext}} + at `).concat(Dt.filename,":").concat(Dt.lineno,":").concat(Dt.colno),At(Lt)}}),window.addEventListener("unhandledrejection",function(Dt){At(Dt.reason)})):(process.on("uncaughtException",At),process.on("unhandledRejection",At)),xe.exports=$e},7387:function(xe,$e,Ie){var Fe=Ie(8901),Ue=Ie(2533);$e=function(hn){return Dt.test(hn)?hn.replace(Lt,jt):hn};var qe=Ie(7190)(Fe.map),At="(?:"+Ue(qe).join("|")+")",Dt=new RegExp(At),Lt=new RegExp(At,"g");function jt(hn){return qe[hn]}xe.exports=$e},5229:function(xe,$e){var Ie=0;$e=function(Fe){var Ue=++Ie+"";return Fe?Fe+Ue:Ue},xe.exports=$e},42:function(xe,$e,Ie){var Fe=Ie(5972);function Ue(qe,At){return qe===At}$e=function(qe,At){return At=At||Ue,Fe(qe,function(Dt,Lt,jt){for(var hn=jt.length;++Lt>6*Sn)+xn);Sn>0;)En+=bn(128|63&Cn>>6*(Sn-1)),Sn--;return En}function wn(Cn){for(;;){if(qe>=At&&jt){if(Cn)return kn();throw new Error("Invalid byte index")}if(qe===At)return!1;var Sn=Ue[qe];if(qe++,jt){if(Snvn){if(Cn)return qe--,kn();throw new Error("Invalid continuation byte")}if(hn=128,vn=191,Dt=Dt<<6|63&Sn,++Lt===jt){var xn=Dt;return Dt=0,jt=0,Lt=0,xn}}else{if(!(128&Sn))return Sn;if((224&Sn)==192)jt=1,Dt=31&Sn;else if((240&Sn)==224)Sn===224&&(hn=160),Sn===237&&(vn=159),jt=2,Dt=15&Sn;else{if((248&Sn)!=240){if(Cn)return kn();throw new Error("Invalid UTF-8 detected")}Sn===240&&(hn=144),Sn===244&&(vn=143),jt=3,Dt=7&Sn}}}}function kn(){var Cn=qe-Lt-1;return qe=Cn+1,Dt=0,jt=0,Lt=0,hn=128,vn=191,Ue[Cn]}xe.exports=$e},5936:function(xe,$e,Ie){var Fe=Ie(3366);$e=function(){var At=Fe(16);return At[6]=15&At[6]|64,At[8]=63&At[8]|128,Ue[At[0]]+Ue[At[1]]+Ue[At[2]]+Ue[At[3]]+"-"+Ue[At[4]]+Ue[At[5]]+"-"+Ue[At[6]]+Ue[At[7]]+"-"+Ue[At[8]]+Ue[At[9]]+"-"+Ue[At[10]]+Ue[At[11]]+Ue[At[12]]+Ue[At[13]]+Ue[At[14]]+Ue[At[15]]};for(var Ue=[],qe=0;qe<256;qe++)Ue[qe]=(qe+256).toString(16).substr(1);xe.exports=$e},2578:function(xe,$e,Ie){var Fe=Ie(3783);$e=function(Ue){var qe=[];return Fe(Ue,function(At){qe.push(At)}),qe},xe.exports=$e},3514:function(xe,$e,Ie){var Fe=Ie(8573),Ue=Ie(9882),qe=Ie(4331),At=Ie(3783),Dt=Ie(2461),Lt=Ie(9433);$e=function(){var jt=Fe("viewport");if(!jt)return 1;jt=Dt(jt.split(","),function(wn){return qe(wn)});var hn=.25,vn=5,bn=1;At(jt,function(wn){var kn=(wn=wn.split("="))[0];wn=wn[1],kn==="initial-scale"&&(bn=+wn),kn==="maximum-scale"&&(vn=+wn),kn==="minimum-scale"&&(hn=+wn)});var _n=Ue(bn,hn,vn);return Lt(_n)?1:_n},xe.exports=$e},8933:function(xe,$e){$e=function(Ie){for(var Fe=[],Ue=document.evaluate(Ie,document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null),qe=0;qe=Bn.length&&(Bn=void 0),{value:Bn&&Bn[Dn++],done:!Bn}}};throw new TypeError(Vn?"Object is not iterable.":"Symbol.iterator is not defined.")},Dt=this&&this.__importDefault||function(Bn){return Bn&&Bn.__esModule?Bn:{default:Bn}};Object.defineProperty($e,"__esModule",{value:!0});var Lt=Dt(Ie(1160)),jt=Ie(7669),hn=Ie(2062),vn=Dt(Ie(242)),bn=Dt(Ie(2439)),_n=Dt(Ie(3063)),wn=Dt(Ie(3783)),kn=Dt(Ie(3009)),Cn=Dt(Ie(5044)),Sn=Dt(Ie(4502)),xn=Dt(Ie(6329)),En=Dt(Ie(7494)),Tn=Dt(Ie(6341)),An=Dt(Ie(3875)),$n=Dt(Ie(3577)),Pn=Dt(Ie(6768));Ie(8169);var Nn=function(Bn){function Vn(Ln,Dn){Dn===void 0&&(Dn={});var Hn=Bn.call(this,Ln,{compName:"dom-highlighter"},Dn)||this;return Hn.overlay=new jt.HighlightOverlay(window),Hn.reset=function(){var Fn=document.documentElement.clientWidth,zn=document.documentElement.clientHeight;Hn.overlay.reset({viewportSize:{width:Fn,height:zn},deviceScaleFactor:1,pageScaleFactor:1,pageZoomFactor:1,emulationScaleFactor:1,scrollX:window.scrollX,scrollY:window.scrollY})},Hn.initOptions(Dn,{showRulers:!1,showExtensionLines:!1,showInfo:!0,showStyles:!0,showAccessibilityInfo:!0,colorFormat:"hex",contentColor:"rgba(111, 168, 220, .66)",paddingColor:"rgba(147, 196, 125, .55)",borderColor:"rgba(255, 229, 153, .66)",marginColor:"rgba(246, 178, 107, .66)",monitorResize:!0}),Hn.overlay.setContainer(Ln),Hn.overlay.setPlatform("mac"),Hn.redraw=(0,bn.default)(function(){Hn.reset(),Hn.draw()},16),Hn.redraw(),Hn.bindEvent(),Hn}return Ue(Vn,Bn),Vn.prototype.highlight=function(Ln,Dn){Dn&&(0,xn.default)(this.options,Dn),this.target=Ln,Ln instanceof HTMLElement&&this.options.monitorResize&&(this.resizeSensor&&this.resizeSensor.destroy(),this.resizeSensor=new vn.default(Ln),this.resizeSensor.addListener(this.redraw)),this.redraw()},Vn.prototype.hide=function(){this.target=null,this.redraw()},Vn.prototype.intercept=function(Ln){this.interceptor=Ln},Vn.prototype.destroy=function(){window.removeEventListener("resize",this.redraw),window.removeEventListener("scroll",this.redraw),this.resizeSensor&&this.resizeSensor.destroy(),Bn.prototype.destroy.call(this)},Vn.prototype.draw=function(){var Ln=this.target;Ln&&(Ln instanceof Text?this.drawText(Ln):this.drawElement(Ln))},Vn.prototype.drawText=function(Ln){var Dn=this.options,Hn=document.createRange();Hn.selectNode(Ln);var Fn=Hn.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height;Hn.detach();var Xn={paths:[{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.contentColor),name:"content"}],showExtensionLines:Dn.showExtensionLines,showRulers:Dn.showRulers};Dn.showInfo&&(Xn.elementInfo={tagName:"#text",nodeWidth:Gn,nodeHeight:Wn}),this.overlay.drawHighlight(Xn)},Vn.prototype.drawElement=function(Ln){var Dn={paths:this.getPaths(Ln),showExtensionLines:this.options.showExtensionLines,showRulers:this.options.showRulers,colorFormat:this.options.colorFormat};if(this.options.showInfo&&(Dn.elementInfo=this.getElementInfo(Ln)),this.interceptor){var Hn=this.interceptor(Dn);Hn&&(Dn=Hn)}this.overlay.drawHighlight(Dn)},Vn.prototype.getPaths=function(Ln){var Dn=this.options,Hn=window.getComputedStyle(Ln),Fn=Ln.getBoundingClientRect(),zn=Fn.left,jn=Fn.top,Gn=Fn.width,Wn=Fn.height,Xn=function(lr){return(0,hn.pxToNum)(Hn.getPropertyValue(lr))},er=Xn("margin-left"),rr=Xn("margin-right"),Jn=Xn("margin-top"),qn=Xn("margin-bottom"),Yn=Xn("border-left-width"),ar=Xn("border-right-width"),tr=Xn("border-top-width"),or=Xn("border-bottom-width"),sr=Xn("padding-left"),Kn=Xn("padding-right"),Zn=Xn("padding-top"),nr=Xn("padding-bottom");return[{path:this.rectToPath({left:zn+Yn+sr,top:jn+tr+Zn,width:Gn-Yn-sr-ar-Kn,height:Wn-tr-Zn-or-nr}),fillColor:On(Dn.contentColor),name:"content"},{path:this.rectToPath({left:zn+Yn,top:jn+tr,width:Gn-Yn-ar,height:Wn-tr-or}),fillColor:On(Dn.paddingColor),name:"padding"},{path:this.rectToPath({left:zn,top:jn,width:Gn,height:Wn}),fillColor:On(Dn.borderColor),name:"border"},{path:this.rectToPath({left:zn-er,top:jn-Jn,width:Gn+er+rr,height:Wn+Jn+qn}),fillColor:On(Dn.marginColor),name:"margin"}]},Vn.prototype.getElementInfo=function(Ln){var Dn=Ln.getBoundingClientRect(),Hn=Dn.width,Fn=Dn.height,zn=Ln.getAttribute("class")||"";zn=zn.split(/\s+/).map(function(Gn){return"."+Gn}).join("");var jn={tagName:(0,_n.default)(Ln.tagName),className:zn,idValue:Ln.id,nodeWidth:Hn,nodeHeight:Fn};return this.options.showStyles&&(jn.style=this.getStyles(Ln)),this.options.showAccessibilityInfo&&(0,xn.default)(jn,this.getAccessibilityInfo(Ln)),jn},Vn.prototype.getStyles=function(Ln){for(var Dn=window.getComputedStyle(Ln),Hn=!1,Fn=Ln.childNodes,zn=0,jn=Fn.length;zn-1)},Vn.prototype.getAccessibleNameAndRole=function(Ln){var Dn=Ln.getAttribute("labelledby")||Ln.getAttribute("aria-label"),Hn=Ln.getAttribute("role"),Fn=(0,_n.default)(Ln.tagName);return $n.default.forEach(function(zn){var jn,Gn;if(!Hn){var Wn=zn[0],Xn=zn[2];if(Wn===Fn){if(Xn)try{for(var er=At(Xn),rr=er.next();!rr.done;rr=er.next()){var Jn=rr.value;if(Ln.getAttribute(Jn[0])!==Jn[1])return}}catch(qn){jn={error:qn}}finally{try{rr&&!rr.done&&(Gn=er.return)&&Gn.call(er)}finally{if(jn)throw jn.error}}Hn=zn[1]}}}),{accessibleName:Dn||Ln.getAttribute("title")||"",accessibleRole:Hn||"generic"}},Vn.prototype.bindEvent=function(){var Ln=this;window.addEventListener("resize",this.redraw),window.addEventListener("scroll",this.redraw),this.on("optionChange",function(){return Ln.redraw()})},Vn.prototype.rectToPath=function(Ln){var Dn=Ln.left,Hn=Ln.top,Fn=Ln.width,zn=Ln.height,jn=[];return jn.push("M",Dn,Hn),jn.push("L",Dn+Fn,Hn),jn.push("L",Dn+Fn,Hn+zn),jn.push("L",Dn,Hn+zn),jn.push("Z"),jn},Vn}(Lt.default);$e.default=Nn,xe.exports=Nn,xe.exports.default=Nn;var Mn=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,In=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/;function On(Bn){return(0,Pn.default)(Bn)?Bn:Bn.a?"rgba(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,", ").concat(Bn.a,")"):"rgb(".concat(Bn.r,", ").concat(Bn.g,", ").concat(Bn.b,")")}function Rn(Bn,Vn,Ln){Ln===void 0&&(Ln=!1);var Dn={};return(0,wn.default)(Vn,function(Hn){var Fn,zn=Bn[Hn==="text-opacity"?"color":Hn];zn&&(Fn=zn,(Mn.test(Fn)||In.test(Fn))&&(zn=function(jn){var Gn=kn.default.parse(jn),Wn=Gn.val[3]||1;return Gn.val=Gn.val.slice(0,3),Gn.val.push(Math.round(255*Wn)),"#"+(0,Sn.default)(Cn.default.encode(Gn.val))}(zn),Hn==="text-opacity"&&(zn=zn.slice(7),zn=Cn.default.decode(zn)[0]/255)),Ln&&(Hn=(0,En.default)(Hn)),Dn[Hn]=zn)}),Dn}},9706:function(xe,$e){var Ie=this&&this.__read||function(On,Rn){var Bn=typeof Symbol=="function"&&On[Symbol.iterator];if(!Bn)return On;var Vn,Ln,Dn=Bn.call(On),Hn=[];try{for(;(Rn===void 0||Rn-- >0)&&!(Vn=Dn.next()).done;)Hn.push(Vn.value)}catch(Fn){Ln={error:Fn}}finally{try{Vn&&!Vn.done&&(Bn=Dn.return)&&Bn.call(Dn)}finally{if(Ln)throw Ln.error}}return Hn},Fe=this&&this.__values||function(On){var Rn=typeof Symbol=="function"&&Symbol.iterator,Bn=Rn&&On[Rn],Vn=0;if(Bn)return Bn.call(On);if(On&&typeof On.length=="number")return{next:function(){return On&&Vn>=On.length&&(On=void 0),{value:On&&On[Vn++],done:!On}}};throw new TypeError(Rn?"Object is not iterable.":"Symbol.iterator is not defined.")};function Ue(On,Rn){var Bn=On[3];return[(1-Bn)*Rn[0]+Bn*On[0],(1-Bn)*Rn[1]+Bn*On[1],(1-Bn)*Rn[2]+Bn*On[2],Bn+Rn[3]*(1-Bn)]}function qe(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126*(Bn<=.03928?Bn/12.92:Math.pow((Bn+.055)/1.055,2.4))+.7152*(Vn<=.03928?Vn/12.92:Math.pow((Vn+.055)/1.055,2.4))+.0722*(Ln<=.03928?Ln/12.92:Math.pow((Ln+.055)/1.055,2.4))}Object.defineProperty($e,"__esModule",{value:!0}),$e.getContrastThreshold=$e.isLargeFont=$e.getAPCAThreshold=$e.desiredLuminanceAPCA=$e.contrastRatioByLuminanceAPCA=$e.contrastRatioAPCA=$e.luminanceAPCA=$e.contrastRatio=$e.luminance=$e.rgbaToHsla=$e.blendColors=void 0,$e.blendColors=Ue,$e.rgbaToHsla=function(On){var Rn=Ie(On,4),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2],Dn=Rn[3],Hn=Math.max(Bn,Vn,Ln),Fn=Math.min(Bn,Vn,Ln),zn=Hn-Fn,jn=Hn+Fn,Gn=.5*jn;return[Fn===Hn?0:Bn===Hn?(.16666666666666666*(Vn-Ln)/zn+1)%1:Vn===Hn?.16666666666666666*(Ln-Bn)/zn+.3333333333333333:.16666666666666666*(Bn-Vn)/zn+.6666666666666666,Gn===0||Gn===1?0:Gn<=.5?zn/jn:zn/(2-jn),Gn,Dn]},$e.luminance=qe,$e.contrastRatio=function(On,Rn){var Bn=qe(Ue(On,Rn)),Vn=qe(Rn);return(Math.max(Bn,Vn)+.05)/(Math.min(Bn,Vn)+.05)};var At=2.4,Dt=.55,Lt=.58,jt=.62,hn=.57,vn=.03,bn=1.45,_n=1.25,wn=1.25,kn=5e-4,Cn=.078,Sn=12.82051282051282,xn=.06,En=.001;function Tn(On){var Rn=Ie(On,3),Bn=Rn[0],Vn=Rn[1],Ln=Rn[2];return .2126729*Math.pow(Bn,At)+.7151522*Math.pow(Vn,At)+.072175*Math.pow(Ln,At)}function An(On){return On>vn?On:On+Math.pow(vn-On,bn)}function $n(On,Rn){if(On=An(On),Rn=An(Rn),Math.abs(On-Rn)=On?(Bn=(Math.pow(Rn,Dt)-Math.pow(On,Lt))*_n)-En?0:Bn>-Cn?Bn-Bn*Sn*xn:Bn+xn)}$e.luminanceAPCA=Tn,$e.contrastRatioAPCA=function(On,Rn){return $n(Tn(On),Tn(Rn))},$e.contrastRatioByLuminanceAPCA=$n,$e.desiredLuminanceAPCA=function(On,Rn,Bn){function Vn(){return Bn?Math.pow(Math.abs(Math.pow(On,jt)-(-Rn-xn)/wn),1/hn):Math.pow(Math.abs(Math.pow(On,Dt)-(Rn+xn)/_n),1/Lt)}On=An(On),Rn/=100;var Ln=Vn();return(Ln<0||Ln>1)&&(Bn=!Bn,Ln=Vn()),Ln};var Pn=[[12,-1,-1,-1,-1,100,90,80,-1,-1],[14,-1,-1,-1,100,90,80,60,60,-1],[16,-1,-1,100,90,80,60,55,50,50],[18,-1,-1,90,80,60,55,50,40,40],[24,-1,100,80,60,55,50,40,38,35],[30,-1,90,70,55,50,40,38,35,40],[36,-1,80,60,50,40,38,35,30,25],[48,100,70,55,40,38,35,30,25,20],[60,90,60,50,38,35,30,25,20,20],[72,80,55,40,35,30,25,20,20,20],[96,70,50,35,30,25,20,20,20,20],[120,60,40,30,25,20,20,20,20,20]];function Nn(On,Rn){var Bn=72*parseFloat(On.replace("px",""))/96;return["bold","bolder","600","700","800","900"].indexOf(Rn)!==-1?Bn>=14:Bn>=18}Pn.reverse(),$e.getAPCAThreshold=function(On,Rn){var Bn,Vn,Ln,Dn,Hn=parseFloat(On.replace("px","")),Fn=parseFloat(Rn);try{for(var zn=Fe(Pn),jn=zn.next();!jn.done;jn=zn.next()){var Gn=Ie(jn.value),Wn=Gn[0],Xn=Gn.slice(1);if(Hn>=Wn)try{for(var er=(Ln=void 0,Fe([900,800,700,600,500,400,300,200,100].entries())),rr=er.next();!rr.done;rr=er.next()){var Jn=Ie(rr.value,2),qn=Jn[0];if(Fn>=Jn[1]){var Yn=Xn[Xn.length-1-qn];return Yn===-1?null:Yn}}}catch(ar){Ln={error:ar}}finally{try{rr&&!rr.done&&(Dn=er.return)&&Dn.call(er)}finally{if(Ln)throw Ln.error}}}}catch(ar){Bn={error:ar}}finally{try{jn&&!jn.done&&(Vn=zn.return)&&Vn.call(zn)}finally{if(Bn)throw Bn.error}}return null},$e.isLargeFont=Nn;var Mn={aa:3,aaa:4.5},In={aa:4.5,aaa:7};$e.getContrastThreshold=function(On,Rn){return Nn(On,Rn)?Mn:In}},9434:function(xe,$e){var Ie=this&&this.__values||function(jt){var hn=typeof Symbol=="function"&&Symbol.iterator,vn=hn&&jt[hn],bn=0;if(vn)return vn.call(jt);if(jt&&typeof jt.length=="number")return{next:function(){return jt&&bn>=jt.length&&(jt=void 0),{value:jt&&jt[bn++],done:!jt}}};throw new TypeError(hn?"Object is not iterable.":"Symbol.iterator is not defined.")},Fe=this&&this.__read||function(jt,hn){var vn=typeof Symbol=="function"&&jt[Symbol.iterator];if(!vn)return jt;var bn,_n,wn=vn.call(jt),kn=[];try{for(;(hn===void 0||hn-- >0)&&!(bn=wn.next()).done;)kn.push(bn.value)}catch(Cn){_n={error:Cn}}finally{try{bn&&!bn.done&&(vn=wn.return)&&vn.call(wn)}finally{if(_n)throw _n.error}}return kn},Ue=this&&this.__spreadArray||function(jt,hn,vn){if(vn||arguments.length===2)for(var bn,_n=0,wn=hn.length;_nvn&&(jt=vn),jt},$e.adoptStyleSheet=Lt},1521:function(xe,$e,Ie){var Fe=this&&this.__values||function(Sn){var xn=typeof Symbol=="function"&&Symbol.iterator,En=xn&&Sn[xn],Tn=0;if(En)return En.call(Sn);if(Sn&&typeof Sn.length=="number")return{next:function(){return Sn&&Tn>=Sn.length&&(Sn=void 0),{value:Sn&&Sn[Tn++],done:!Sn}}};throw new TypeError(xn?"Object is not iterable.":"Symbol.iterator is not defined.")},Ue=this&&this.__read||function(Sn,xn){var En=typeof Symbol=="function"&&Sn[Symbol.iterator];if(!En)return Sn;var Tn,An,$n=En.call(Sn),Pn=[];try{for(;(xn===void 0||xn-- >0)&&!(Tn=$n.next()).done;)Pn.push(Tn.value)}catch(Nn){An={error:Nn}}finally{try{Tn&&!Tn.done&&(En=$n.return)&&En.call($n)}finally{if(An)throw An.error}}return Pn},qe=this&&this.__spreadArray||function(Sn,xn,En){if(En||arguments.length===2)for(var Tn,An=0,$n=xn.length;An<$n;An++)!Tn&&An in xn||(Tn||(Tn=Array.prototype.slice.call(xn,0,An)),Tn[An]=xn[An]);return Sn.concat(Tn||Array.prototype.slice.call(xn))},At=this&&this.__importDefault||function(Sn){return Sn&&Sn.__esModule?Sn:{default:Sn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.drawPath=$e.formatColor=$e.formatRgba=$e.parseHexa=$e.createPathForQuad=$e.hatchFillPath=$e.applyMatrixToPoint=$e.emptyBounds=$e.buildPath=$e.fillPathWithBoxStyle=$e.drawPathWithLineStyle=void 0;var Dt=At(Ie(4858)),Lt=Ie(9706);function jt(Sn,xn,En){var Tn=0;function An(Nn){for(var Mn=[],In=0;InXn&&Jner,ar=Dn-Wn;ar=(0,Lt.constrainNumber)(ar,jn,On-Hn-jn);var tr=In.minY-zn-Fn,or=!0;tr<0?(tr=Math.min(Rn-Fn,In.maxY+zn),or=!1):In.minY>Rn&&(tr=Rn-zn-Fn);var sr=ar>=In.minX&&ar+Hn<=In.maxX&&tr>=In.minY&&tr+Fn<=In.maxY,Kn=arIn.minX&&trIn.minY;if(Kn&&!sr)return void(Vn.style.display="none");if(Vn.style.top=tr+"px",Vn.style.left=ar+"px",!Yn){var Zn=(0,Lt.createChild)(Vn,"div","tooltip-arrow");Zn.style.clipPath=or?"polygon(0 0, 100% 0, 50% 100%)":"polygon(50% 0, 0 100%, 100% 100%)",Zn.style.top=(or?Fn-1:-zn)+"px",Zn.style.left=Dn-ar+"px"}}(this.tooltip,Sn.elementInfo,Sn.colorFormat,xn,this.canvasWidth,this.canvasHeight)),this.context.restore(),{bounds:xn}},Cn.prototype.drawAxis=function(Sn,xn,En){Sn.save();var Tn=this.pageZoomFactor*this.pageScaleFactor*this.emulationScaleFactor,An=this.scrollX*this.pageScaleFactor,$n=this.scrollY*this.pageScaleFactor;function Pn(Hn){return Math.round(Hn*Tn)}function Nn(Hn){return Math.round(Hn/Tn)}var Mn=this.canvasWidth/Tn,In=this.canvasHeight/Tn,On=50;Sn.save(),Sn.fillStyle=_n,En?Sn.fillRect(0,Pn(In)-15,Pn(Mn),Pn(In)):Sn.fillRect(0,0,Pn(Mn),15),Sn.globalCompositeOperation="destination-out",Sn.fillStyle="red",xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.restore(),Sn.fillStyle=_n,xn?Sn.fillRect(Pn(Mn)-15,0,Pn(Mn),Pn(In)):Sn.fillRect(0,0,15,Pn(In)),Sn.lineWidth=1,Sn.strokeStyle=bn,Sn.fillStyle=bn,Sn.save(),Sn.translate(-An,.5-$n);for(var Rn=In+Nn($n),Bn=100;Bn]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.eventPage=function(xn,En){var Tn=xn==="x"?"pageX":"pageY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},6093:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(bn,_n){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(wn,kn){wn.__proto__=kn}||function(wn,kn){for(var Cn in kn)Object.prototype.hasOwnProperty.call(kn,Cn)&&(wn[Cn]=kn[Cn])},Fe(bn,_n)},function(bn,_n){if(typeof _n!="function"&&_n!==null)throw new TypeError("Class extends value "+String(_n)+" is not a constructor or null");function wn(){this.constructor=bn}Fe(bn,_n),bn.prototype=_n===null?Object.create(_n):(wn.prototype=_n.prototype,new wn)}),qe=this&&this.__importDefault||function(bn){return bn&&bn.__esModule?bn:{default:bn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1512)),Dt=qe(Ie(5229)),Lt=qe(Ie(2244)),jt=qe(Ie(8613)),hn=function(bn){function _n(wn,kn){kn===void 0&&(kn={});var Cn=bn.call(this,wn,{compName:"notification"},kn)||this;return Cn.notifications=[],Cn.initOptions(kn,{position:{x:"right",y:"bottom"},duration:2e3}),Cn.initTpl(),Cn}return Ue(_n,bn),_n.prototype.notify=function(wn,kn){var Cn=this;kn===void 0&&(kn={duration:this.options.duration});var Sn=new vn(this,wn);this.notifications.push(Sn),this.add(Sn),setTimeout(function(){return Cn.remove(Sn.id)},kn.duration)},_n.prototype.dismissAll=function(){for(var wn=this.notifications,kn=wn[0];kn;)this.remove(kn.id),kn=wn[0]},_n.prototype.add=function(wn){this.container.appendChild(wn.container)},_n.prototype.remove=function(wn){var kn=this.notifications,Cn=(0,Lt.default)(kn,function(xn){return xn.id===wn});if(Cn){Cn.destroy();var Sn=kn.indexOf(Cn);kn.splice(Sn,1)}},_n.prototype.initTpl=function(){var wn=this.$container,kn=this.options.position,Cn=kn.x,Sn=kn.y,xn="flex-end",En="flex-end";switch(Cn){case"center":En="center";break;case"left":En="flex-start"}Sn==="top"&&(xn="flex-start"),wn.attr("style","justify-content: ".concat(xn,"; align-items: ").concat(En))},_n}(qe(Ie(5404)).default);$e.default=hn;var vn=function(){function bn(_n,wn){this.container=(0,jt.default)("div"),this.$container=(0,At.default)(this.container),this.notification=_n,this.content=wn,this.id=(0,Dt.default)("luna-notification-"),this.$container.attr({id:this.id,class:_n.c("item ".concat(_n.getOption("position").y==="bottom"?"lower":"upper"))}),this.initTpl()}return bn.prototype.destroy=function(){this.$container.remove()},bn.prototype.initTpl=function(){this.$container.html(this.notification.c('
    '.concat(this.content,"
    ")))},bn}();xe.exports=hn,xe.exports.default=hn},5404:function(xe,$e,Ie){var Fe,Ue=this&&this.__extends||(Fe=function(wn,kn){return Fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Cn,Sn){Cn.__proto__=Sn}||function(Cn,Sn){for(var xn in Sn)Object.prototype.hasOwnProperty.call(Sn,xn)&&(Cn[xn]=Sn[xn])},Fe(wn,kn)},function(wn,kn){if(typeof kn!="function"&&kn!==null)throw new TypeError("Class extends value "+String(kn)+" is not a constructor or null");function Cn(){this.constructor=wn}Fe(wn,kn),wn.prototype=kn===null?Object.create(kn):(Cn.prototype=kn.prototype,new Cn)}),qe=this&&this.__importDefault||function(wn){return wn&&wn.__esModule?wn:{default:wn}};Object.defineProperty($e,"__esModule",{value:!0});var At=qe(Ie(1443)),Dt=qe(Ie(1512)),Lt=Ie(164),jt=qe(Ie(3783)),hn=qe(Ie(6329)),vn=qe(Ie(4193)),bn=qe(Ie(5852)),_n=function(wn){function kn(Cn,Sn,xn){var En=Sn.compName,Tn=(xn===void 0?{}:xn).theme,An=Tn===void 0?"light":Tn,$n=wn.call(this)||this;return $n.subComponents=[],$n.compName=En,$n.c=(0,Lt.classPrefix)(En),$n.options={},$n.container=Cn,$n.$container=(0,Dt.default)(Cn),$n.$container.addClass(["luna-".concat(En),$n.c("platform-".concat((0,Lt.getPlatform)()))]),$n.on("optionChange",function(Pn,Nn,Mn){var In=$n.c;Pn==="theme"&&($n.$container.rmClass(In("theme-".concat(Mn))).addClass(In("theme-".concat(Nn))),(0,jt.default)($n.subComponents,function(On){return On.setOption("theme",Nn)}))}),$n.setOption("theme",An),$n}return Ue(kn,wn),kn.prototype.destroy=function(){this.destroySubComponents();var Cn=this.c;this.$container.rmClass("luna-".concat(this.compName)).rmClass(Cn("platform-".concat((0,Lt.getPlatform)()))).rmClass(Cn("theme-".concat(this.options.theme))),this.$container.html(""),this.emit("destroy"),this.removeAllListeners()},kn.prototype.setOption=function(Cn,Sn){var xn=this,En=this.options,Tn={};typeof Cn=="string"?Tn[Cn]=Sn:Tn=Cn,(0,jt.default)(Tn,function(An,$n){var Pn=En[$n];En[$n]=An,xn.emit("optionChange",$n,An,Pn)})},kn.prototype.getOption=function(Cn){return this.options[Cn]},kn.prototype.addSubComponent=function(Cn){Cn.setOption("theme",this.options.theme),this.subComponents.push(Cn)},kn.prototype.removeSubComponent=function(Cn){(0,bn.default)(this.subComponents,function(Sn){return Sn===Cn})},kn.prototype.destroySubComponents=function(){(0,jt.default)(this.subComponents,function(Cn){return Cn.destroy()}),this.subComponents=[]},kn.prototype.initOptions=function(Cn,Sn){Sn===void 0&&(Sn={}),(0,vn.default)(Cn,Sn),(0,hn.default)(this.options,Cn)},kn.prototype.find=function(Cn){return this.$container.find(this.c(Cn))},kn}(At.default);$e.default=_n},164:function(xe,$e,Ie){var Fe=this&&this.__importDefault||function(xn){return xn&&xn.__esModule?xn:{default:xn}};Object.defineProperty($e,"__esModule",{value:!0}),$e.resetCanvasSize=$e.getPlatform=$e.pxToNum=$e.executeAfterTransition=$e.hasVerticalScrollbar=$e.measuredScrollbarWidth=$e.eventClient=$e.drag=$e.classPrefix=void 0;var Ue=Fe(Ie(2461)),qe=Fe(Ie(4331)),At=Fe(Ie(5610)),Dt=Fe(Ie(7483)),Lt=Fe(Ie(3990)),jt=Fe(Ie(6341)),hn=Fe(Ie(3875)),vn=Fe(Ie(6954)),bn=Fe(Ie(9585));function _n(xn,En){for(var Tn=0,An=xn.length;Tn]*>/g.test(An))try{var $n=Dt.default.parse(An);return _n($n,function(Pn){Pn.attrs&&Pn.attrs.class&&(Pn.attrs.class=Tn(Pn.attrs.class))}),Dt.default.stringify($n)}catch{return Tn(An)}return Tn(An)}};var wn,kn="ontouchstart"in At.default,Cn={start:"touchstart",move:"touchmove",end:"touchend"},Sn={start:"mousedown",move:"mousemove",end:"mouseup"};$e.drag=function(xn){return kn?Cn[xn]:Sn[xn]},$e.eventClient=function(xn,En){var Tn=xn==="x"?"clientX":"clientY";return En[Tn]?En[Tn]:En.changedTouches?En.changedTouches[0][Tn]:0},$e.measuredScrollbarWidth=function(){if((0,Lt.default)(wn))return wn;if(!document)return 16;var xn=document.createElement("div"),En=document.createElement("div");return xn.setAttribute("style","display: block; width: 100px; height: 100px; overflow: scroll;"),En.setAttribute("style","height: 200px"),xn.appendChild(En),document.body.appendChild(xn),wn=xn.offsetWidth-xn.clientWidth,document.body.removeChild(xn),wn},$e.hasVerticalScrollbar=function(xn){return xn.scrollHeight>xn.offsetHeight},$e.executeAfterTransition=function(xn,En){if((0,bn.default)(xn))return En();var Tn=function(An){An.target===xn&&(xn.removeEventListener("transitionend",Tn),En())};xn.addEventListener("transitionend",Tn)},$e.pxToNum=function(xn){return(0,hn.default)(xn.replace("px",""))},$e.getPlatform=function(){var xn=(0,vn.default)();return xn==="os x"?"mac":xn},$e.resetCanvasSize=function(xn){xn.width=Math.round(xn.offsetWidth*window.devicePixelRatio),xn.height=Math.round(xn.offsetHeight*window.devicePixelRatio)}},8169:function(xe,$e,Ie){Ie.r($e),Ie.d($e,{default:function(){return Cn}});var Fe={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},Ue=/([astvzqmhlc])([^astvzqmhlc]*)/gi,qe=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi,At=function(Sn){var xn=[],En=String(Sn).trim();return En[0]!=="M"&&En[0]!=="m"||En.replace(Ue,function(Tn,An,$n){var Pn=An.toLowerCase(),Nn=function(In){var On=In.match(qe);return On?On.map(Number):[]}($n),Mn=An;if(Pn==="m"&&Nn.length>2&&(xn.push([Mn].concat(Nn.splice(0,2))),Pn="l",Mn=Mn==="m"?"l":"L"),Nn.length=Fe[Pn]&&Nn.length&&Fe[Pn];)xn.push([Mn].concat(Nn.splice(0,Fe[Pn])));return""}),xn};function Dt(Sn,xn){for(var En=0;EnSn.length)&&(xn=Sn.length);for(var En=0,Tn=new Array(xn);En1&&(er*=Dn=Math.sqrt(Dn),rr*=Dn),Hn=er*er*rr*rr,Fn=er*er*Vn.y*Vn.y+rr*rr*Vn.x*Vn.x,bn(ar={x:er*Vn.y/rr,y:-rr*Vn.x/er},Rn!==On?Math.sqrt((Hn-Fn)/Fn)||0:-Math.sqrt((Hn-Fn)/Fn)||0),In=Math.atan2((Vn.y-ar.y)/rr,(Vn.x-ar.x)/er),Mn=Math.atan2(-(Vn.y+ar.y)/rr,-(Vn.x+ar.x)/er),vn(ar,Ln),nr=ar,lr=(Bn.x+Cr.x)/2,ir=(Bn.y+Cr.y)/2,nr.x+=lr,nr.y+=ir,Pn.save(),Pn.translate(ar.x,ar.y),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,!Rn),Pn.restore();break;case"C":tr=dr[3],or=dr[4],zn=dr[5],Gn=dr[6],Pn.bezierCurveTo(dr[1],dr[2],tr,or,zn,Gn);break;case"c":Pn.bezierCurveTo(dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn,dr[5]+zn,dr[6]+Gn),tr=dr[3]+zn,or=dr[4]+Gn,zn+=dr[5],Gn+=dr[6];break;case"S":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1],dr[2],dr[3],dr[4]),tr=dr[1],or=dr[2],zn=dr[3],Gn=dr[4];break;case"s":tr!==null&&or!==null||(tr=zn,or=Gn),Pn.bezierCurveTo(2*zn-tr,2*Gn-or,dr[1]+zn,dr[2]+Gn,dr[3]+zn,dr[4]+Gn),tr=dr[1]+zn,or=dr[2]+Gn,zn+=dr[3],Gn+=dr[4];break;case"Q":sr=dr[1],Kn=dr[2],zn=dr[3],Gn=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"q":sr=dr[1]+zn,Kn=dr[2]+Gn,zn+=dr[3],Gn+=dr[4],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"T":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn=dr[1],Gn=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"t":sr!==null&&Kn!==null||(sr=zn,Kn=Gn),sr=2*zn-sr,Kn=2*Gn-Kn,zn+=dr[1],Gn+=dr[2],Pn.quadraticCurveTo(sr,Kn,zn,Gn);break;case"z":case"Z":zn=kr.x,Gn=kr.y,kr=void 0,Pn.closePath();break;case"AC":zn=dr[1],Gn=dr[2],Xn=dr[3],In=dr[4],Mn=dr[5],Zn=dr[6],Pn.arc(zn,Gn,Xn,In,Mn,Zn);break;case"AT":jn=dr[1],Wn=dr[2],zn=dr[3],Gn=dr[4],Xn=dr[5],Pn.arcTo(jn,Wn,zn,Gn,Xn);break;case"E":zn=dr[1],Gn=dr[2],er=dr[3],rr=dr[4],Ln=dr[5],In=dr[6],Mn=dr[7],Zn=dr[8],Pn.save(),Pn.translate(zn,Gn),Pn.rotate(Ln),Pn.scale(er,rr),Pn.arc(0,0,1,In,Mn,Zn),Pn.restore();break;case"R":zn=dr[1],Gn=dr[2],Jn=dr[3],qn=dr[4],kr={x:zn,y:Gn},Pn.rect(zn,Gn,Jn,qn)}Cr.x=zn,Cr.y=Gn}}},wn=At,kn=_n;typeof window<"u"&&kn(window);var Cn={path2dPolyfill:kn,parsePath:wn}},2777:function(xe){xe.exports=`.luna-dom-highlighter{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100000;pointer-events:none;font-size:13px}.luna-dom-highlighter-fill{position:absolute;top:0;right:0;bottom:0;left:0}.luna-dom-highlighter-platform-linux{font-family:Roboto,Ubuntu,Arial,sans-serif}.luna-dom-highlighter-platform-mac{color:#303942;font-family:'.SFNSDisplay-Regular','Helvetica Neue','Lucida Grande',sans-serif}.luna-dom-highlighter-platform-windows{font-family:'Segoe UI',Tahoma,sans-serif}.luna-dom-highlighter-px{color:gray}#luna-dom-highlighter-element-title{position:absolute;z-index:10}.luna-dom-highlighter-tooltip-content{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff;padding:5px 8px;border:1px solid #fff;border-radius:3px;box-sizing:border-box;min-width:100px;max-width:min(300px,100% - 4px);z-index:2;background-clip:padding-box;will-change:transform;text-rendering:optimizeLegibility;pointer-events:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}.luna-dom-highlighter-tooltip-content .luna-dom-highlighter-tooltip-arrow{background:#fff;width:15px;height:8px;position:absolute}.luna-dom-highlighter-element-info-section{margin-top:12px;margin-bottom:6px}.luna-dom-highlighter-section-name{color:#333;font-weight:500;font-size:10px;text-transform:uppercase;letter-spacing:.05em;line-height:12px}.luna-dom-highlighter-element-info{display:flex;flex-direction:column}.luna-dom-highlighter-element-info-header{display:flex;align-items:center}.luna-dom-highlighter-element-info-body{display:flex;flex-direction:column;padding-top:2px;margin-top:2px}.luna-dom-highlighter-element-info-row{display:flex;line-height:19px}.luna-dom-highlighter-separator-container{display:flex;align-items:center;flex:auto;margin-left:7px}.luna-dom-highlighter-separator{border-top:1px solid #ddd;width:100%}.luna-dom-highlighter-element-info-name{flex-shrink:0;color:#666}.luna-dom-highlighter-element-info-gap{flex:auto}.luna-dom-highlighter-element-info-value-color{display:flex;color:#303942;margin-left:10px;align-items:baseline}.luna-dom-highlighter-a11y-icon{width:16px;height:16px;background-repeat:no-repeat;display:inline-block}.luna-dom-highlighter-element-info-value-contrast{display:flex;align-items:center;text-align:right;color:#303942;margin-left:10px}.luna-dom-highlighter-element-info-value-contrast .luna-dom-highlighter-a11y-icon{margin-left:8px}.luna-dom-highlighter-element-info-value-icon{display:flex;align-items:center}.luna-dom-highlighter-element-info-value-text{text-align:right;color:#303942;margin-left:10px;align-items:baseline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.luna-dom-highlighter-color-swatch{display:flex;margin-right:2px;width:10px;height:10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);line-height:10px}.luna-dom-highlighter-color-swatch-inner{flex:auto;border:1px solid #808002}.luna-dom-highlighter-element-layout-type{margin-right:10px;width:16px;height:16px}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-grid{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-layout-type.luna-dom-highlighter-flex{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-element-description{flex:1 1;font-weight:700;word-wrap:break-word;word-break:break-all}.luna-dom-highlighter-dimensions{color:#737373;text-align:right;margin-left:10px}.luna-dom-highlighter-material-node-width{margin-right:2px}.luna-dom-highlighter-material-node-height{margin-left:2px}.luna-dom-highlighter-material-tag-name{color:#881280}.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id{color:#1a1aa6}.luna-dom-highlighter-contrast-text{width:16px;height:16px;text-align:center;line-height:16px;margin-right:8px;border:1px solid #000;padding:0 1px}.luna-dom-highlighter-a11y-icon-not-ok{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-warning{background-image:url('data:image/svg+xml,')}.luna-dom-highlighter-a11y-icon-ok{background-image:url('data:image/svg+xml,')}@media (forced-colors:active){:root,body{background-color:transparent;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content{border-color:Highlight;background-color:canvas;color:text;forced-color-adjust:none}.luna-dom-highlighter-tooltip-content::after{background-color:Highlight}.luna-dom-highlighter-color-swatch-inner,.luna-dom-highlighter-contrast-text,.luna-dom-highlighter-separator{border-color:Highlight}.luna-dom-highlighter-section-name{color:Highlight}.luna-dom-highlighter-dimensions,.luna-dom-highlighter-element-info-name,.luna-dom-highlighter-element-info-value-color,.luna-dom-highlighter-element-info-value-contrast,.luna-dom-highlighter-element-info-value-icon,.luna-dom-highlighter-element-info-value-text,.luna-dom-highlighter-material-class-name,.luna-dom-highlighter-material-node-id,.luna-dom-highlighter-material-tag-name{color:canvastext}} /*# sourceMappingURL=luna-dom-highlighter.css.map*/`},907:function(xe,$e,Ie){function Fe(Ue,qe){(qe==null||qe>Ue.length)&&(qe=Ue.length);for(var At=0,Dt=new Array(qe);At0:!1;function addEvent(xe,$e,Ie,Fe){xe.addEventListener?xe.addEventListener($e,Ie,Fe):xe.attachEvent&&xe.attachEvent("on".concat($e),Ie)}function removeEvent(xe,$e,Ie,Fe){xe.removeEventListener?xe.removeEventListener($e,Ie,Fe):xe.detachEvent&&xe.detachEvent("on".concat($e),Ie)}function getMods(xe,$e){const Ie=$e.slice(0,$e.length-1);for(let Fe=0;Fe=0;)$e[Ie-1]+=",",$e.splice(Ie,1),Ie=$e.lastIndexOf("");return $e}function compareArray(xe,$e){const Ie=xe.length>=$e.length?xe:$e,Fe=xe.length>=$e.length?$e:xe;let Ue=!0;for(let qe=0;qe_keyMap[xe.toLowerCase()]||_modifier[xe.toLowerCase()]||xe.toUpperCase().charCodeAt(0),getKey$1=xe=>Object.keys(_keyMap).find($e=>_keyMap[$e]===xe),getModifier=xe=>Object.keys(_modifier).find($e=>_modifier[$e]===xe);function setScope(xe){_scope=xe||"all"}function getScope(){return _scope||"all"}function getPressedKeyCodes(){return _downKeys.slice(0)}function getPressedKeyString(){return _downKeys.map(xe=>getKey$1(xe)||getModifier(xe)||String.fromCharCode(xe))}function getAllKeyCodes(){const xe=[];return Object.keys(_handlers).forEach($e=>{_handlers[$e].forEach(Ie=>{let{key:Fe,scope:Ue,mods:qe,shortcut:At}=Ie;xe.push({scope:Ue,shortcut:At,mods:qe,keys:Fe.split("+").map(Dt=>code(Dt))})})}),xe}function filter$1(xe){const $e=xe.target||xe.srcElement,{tagName:Ie}=$e;let Fe=!0;const Ue=Ie==="INPUT"&&!["checkbox","radio","range","button","file","reset","submit","color"].includes($e.type);return($e.isContentEditable||(Ue||Ie==="TEXTAREA"||Ie==="SELECT")&&!$e.readOnly)&&(Fe=!1),Fe}function isPressed(xe){return typeof xe=="string"&&(xe=code(xe)),_downKeys.indexOf(xe)!==-1}function deleteScope(xe,$e){let Ie,Fe;xe||(xe=getScope());for(const Ue in _handlers)if(Object.prototype.hasOwnProperty.call(_handlers,Ue))for(Ie=_handlers[Ue],Fe=0;Fe{let{element:Dt}=At;return removeKeyEvent(Dt)}):Fe++;getScope()===xe&&setScope($e||"all")}function clearModifier(xe){let $e=xe.keyCode||xe.which||xe.charCode;const Ie=_downKeys.indexOf($e);if(Ie>=0&&_downKeys.splice(Ie,1),xe.key&&xe.key.toLowerCase()==="meta"&&_downKeys.splice(0,_downKeys.length),($e===93||$e===224)&&($e=91),$e in _mods){_mods[$e]=!1;for(const Fe in _modifier)_modifier[Fe]===$e&&(hotkeys[Fe]=!1)}}function unbind(xe){if(typeof xe>"u")Object.keys(_handlers).forEach(Ue=>{Array.isArray(_handlers[Ue])&&_handlers[Ue].forEach(qe=>eachUnbind(qe)),delete _handlers[Ue]}),removeKeyEvent(null);else if(Array.isArray(xe))xe.forEach(Ue=>{Ue.key&&eachUnbind(Ue)});else if(typeof xe=="object")xe.key&&eachUnbind(xe);else if(typeof xe=="string"){for(var $e=arguments.length,Ie=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)Ie[Fe-1]=arguments[Fe];let[Ue,qe]=Ie;typeof Ue=="function"&&(qe=Ue,Ue=""),eachUnbind({key:xe,scope:Ue,method:qe,splitKey:"+"})}}const eachUnbind=xe=>{let{key:$e,scope:Ie,method:Fe,splitKey:Ue="+"}=xe;getKeys($e).forEach(At=>{const Dt=At.split(Ue),Lt=Dt.length,jt=Dt[Lt-1],hn=jt==="*"?"*":code(jt);if(!_handlers[hn])return;Ie||(Ie=getScope());const vn=Lt>1?getMods(_modifier,Dt):[],bn=[];_handlers[hn]=_handlers[hn].filter(_n=>{const kn=(Fe?_n.method===Fe:!0)&&_n.scope===Ie&&compareArray(_n.mods,vn);return kn&&bn.push(_n.element),!kn}),bn.forEach(_n=>removeKeyEvent(_n))})};function eventHandler(xe,$e,Ie,Fe){if($e.element!==Fe)return;let Ue;if($e.scope===Ie||$e.scope==="all"){Ue=$e.mods.length>0;for(const qe in _mods)Object.prototype.hasOwnProperty.call(_mods,qe)&&(!_mods[qe]&&$e.mods.indexOf(+qe)>-1||_mods[qe]&&$e.mods.indexOf(+qe)===-1)&&(Ue=!1);($e.mods.length===0&&!_mods[16]&&!_mods[18]&&!_mods[17]&&!_mods[91]||Ue||$e.shortcut==="*")&&($e.keys=[],$e.keys=$e.keys.concat(_downKeys),$e.method(xe,$e)===!1&&(xe.preventDefault?xe.preventDefault():xe.returnValue=!1,xe.stopPropagation&&xe.stopPropagation(),xe.cancelBubble&&(xe.cancelBubble=!0)))}}function dispatch(xe,$e){const Ie=_handlers["*"];let Fe=xe.keyCode||xe.which||xe.charCode;if(!hotkeys.filter.call(this,xe))return;if((Fe===93||Fe===224)&&(Fe=91),_downKeys.indexOf(Fe)===-1&&Fe!==229&&_downKeys.push(Fe),["ctrlKey","altKey","shiftKey","metaKey"].forEach(Dt=>{const Lt=modifierMap[Dt];xe[Dt]&&_downKeys.indexOf(Lt)===-1?_downKeys.push(Lt):!xe[Dt]&&_downKeys.indexOf(Lt)>-1?_downKeys.splice(_downKeys.indexOf(Lt),1):Dt==="metaKey"&&xe[Dt]&&_downKeys.length===3&&(xe.ctrlKey||xe.shiftKey||xe.altKey||(_downKeys=_downKeys.slice(_downKeys.indexOf(Lt))))}),Fe in _mods){_mods[Fe]=!0;for(const Dt in _modifier)_modifier[Dt]===Fe&&(hotkeys[Dt]=!0);if(!Ie)return}for(const Dt in _mods)Object.prototype.hasOwnProperty.call(_mods,Dt)&&(_mods[Dt]=xe[modifierMap[Dt]]);xe.getModifierState&&!(xe.altKey&&!xe.ctrlKey)&&xe.getModifierState("AltGraph")&&(_downKeys.indexOf(17)===-1&&_downKeys.push(17),_downKeys.indexOf(18)===-1&&_downKeys.push(18),_mods[17]=!0,_mods[18]=!0);const Ue=getScope();if(Ie)for(let Dt=0;Dt1&&(Ue=getMods(_modifier,xe)),xe=xe[xe.length-1],xe=xe==="*"?"*":code(xe),xe in _handlers||(_handlers[xe]=[]),_handlers[xe].push({keyup:Lt,keydown:jt,scope:qe,mods:Ue,shortcut:Fe[Dt],method:Ie,key:Fe[Dt],splitKey:hn,element:At});if(typeof At<"u"&&window){if(!elementEventMap.has(At)){const _n=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;return dispatch(kn,At)},wn=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.event;dispatch(kn,At),clearModifier(kn)};elementEventMap.set(At,{keydownListener:_n,keyupListenr:wn,capture:vn}),addEvent(At,"keydown",_n,vn),addEvent(At,"keyup",wn,vn)}if(!winListendFocus){const _n=()=>{_downKeys=[]};winListendFocus={listener:_n,capture:vn},addEvent(window,"focus",_n,vn)}}}function trigger$2(xe){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(_handlers).forEach(Ie=>{_handlers[Ie].filter(Ue=>Ue.scope===$e&&Ue.shortcut===xe).forEach(Ue=>{Ue&&Ue.method&&Ue.method()})})}function removeKeyEvent(xe){const $e=Object.values(_handlers).flat();if($e.findIndex(Fe=>{let{element:Ue}=Fe;return Ue===xe})<0){const{keydownListener:Fe,keyupListenr:Ue,capture:qe}=elementEventMap.get(xe)||{};Fe&&Ue&&(removeEvent(xe,"keyup",Ue,qe),removeEvent(xe,"keydown",Fe,qe),elementEventMap.delete(xe))}if(($e.length<=0||elementEventMap.size<=0)&&(Object.keys(elementEventMap).forEach(Ue=>{const{keydownListener:qe,keyupListenr:At,capture:Dt}=elementEventMap.get(Ue)||{};qe&&At&&(removeEvent(Ue,"keyup",At,Dt),removeEvent(Ue,"keydown",qe,Dt),elementEventMap.delete(Ue))}),elementEventMap.clear(),Object.keys(_handlers).forEach(Ue=>delete _handlers[Ue]),winListendFocus)){const{listener:Ue,capture:qe}=winListendFocus;removeEvent(window,"focus",Ue,qe),winListendFocus=null}}const _api={getPressedKeyString,setScope,getScope,deleteScope,getPressedKeyCodes,getAllKeyCodes,isPressed,filter:filter$1,trigger:trigger$2,unbind,keyMap:_keyMap,modifier:_modifier,modifierMap};for(const xe in _api)Object.prototype.hasOwnProperty.call(_api,xe)&&(hotkeys[xe]=_api[xe]);if(typeof window<"u"){const xe=window.hotkeys;hotkeys.noConflict=$e=>($e&&window.hotkeys===hotkeys&&(window.hotkeys=xe),hotkeys),window.hotkeys=hotkeys}var zhCn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _sfc_main$2t=defineComponent({__name:"index",setup(xe){return($e,Ie)=>{const Fe=resolveComponent("ElConfigProvider");return openBlock(),createBlock(Fe,{locale:unref(zhCn),button:{autoInsertSpace:!0}},{default:withCtx(()=>[renderSlot($e.$slots,"default")]),_:3},8,["locale"])}}});function bind$2(xe,$e){return function(){return xe.apply($e,arguments)}}const{toString:toString$1}=Object.prototype,{getPrototypeOf}=Object,kindOf=(xe=>$e=>{const Ie=toString$1.call($e);return xe[Ie]||(xe[Ie]=Ie.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=xe=>(xe=xe.toLowerCase(),$e=>kindOf($e)===xe),typeOfTest=xe=>$e=>typeof $e===xe,{isArray:isArray$2}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer(xe){return xe!==null&&!isUndefined$1(xe)&&xe.constructor!==null&&!isUndefined$1(xe.constructor)&&isFunction$2(xe.constructor.isBuffer)&&xe.constructor.isBuffer(xe)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(xe){let $e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?$e=ArrayBuffer.isView(xe):$e=xe&&xe.buffer&&isArrayBuffer(xe.buffer),$e}const isString$2=typeOfTest("string"),isFunction$2=typeOfTest("function"),isNumber$2=typeOfTest("number"),isObject$5=xe=>xe!==null&&typeof xe=="object",isBoolean$1=xe=>xe===!0||xe===!1,isPlainObject=xe=>{if(kindOf(xe)!=="object")return!1;const $e=getPrototypeOf(xe);return($e===null||$e===Object.prototype||Object.getPrototypeOf($e)===null)&&!(Symbol.toStringTag in xe)&&!(Symbol.iterator in xe)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=xe=>isObject$5(xe)&&isFunction$2(xe.pipe),isFormData=xe=>{let $e;return xe&&(typeof FormData=="function"&&xe instanceof FormData||isFunction$2(xe.append)&&(($e=kindOf(xe))==="formdata"||$e==="object"&&isFunction$2(xe.toString)&&xe.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim$2=xe=>xe.trim?xe.trim():xe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(xe,$e,{allOwnKeys:Ie=!1}={}){if(xe===null||typeof xe>"u")return;let Fe,Ue;if(typeof xe!="object"&&(xe=[xe]),isArray$2(xe))for(Fe=0,Ue=xe.length;Fe0;)if(Ue=Ie[Fe],$e===Ue.toLowerCase())return Ue;return null}const _global$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=xe=>!isUndefined$1(xe)&&xe!==_global$1;function merge$1(){const{caseless:xe}=isContextDefined(this)&&this||{},$e={},Ie=(Fe,Ue)=>{const qe=xe&&findKey($e,Ue)||Ue;isPlainObject($e[qe])&&isPlainObject(Fe)?$e[qe]=merge$1($e[qe],Fe):isPlainObject(Fe)?$e[qe]=merge$1({},Fe):isArray$2(Fe)?$e[qe]=Fe.slice():$e[qe]=Fe};for(let Fe=0,Ue=arguments.length;Fe(forEach($e,(Ue,qe)=>{Ie&&isFunction$2(Ue)?xe[qe]=bind$2(Ue,Ie):xe[qe]=Ue},{allOwnKeys:Fe}),xe),stripBOM=xe=>(xe.charCodeAt(0)===65279&&(xe=xe.slice(1)),xe),inherits$1=(xe,$e,Ie,Fe)=>{xe.prototype=Object.create($e.prototype,Fe),xe.prototype.constructor=xe,Object.defineProperty(xe,"super",{value:$e.prototype}),Ie&&Object.assign(xe.prototype,Ie)},toFlatObject=(xe,$e,Ie,Fe)=>{let Ue,qe,At;const Dt={};if($e=$e||{},xe==null)return $e;do{for(Ue=Object.getOwnPropertyNames(xe),qe=Ue.length;qe-- >0;)At=Ue[qe],(!Fe||Fe(At,xe,$e))&&!Dt[At]&&($e[At]=xe[At],Dt[At]=!0);xe=Ie!==!1&&getPrototypeOf(xe)}while(xe&&(!Ie||Ie(xe,$e))&&xe!==Object.prototype);return $e},endsWith=(xe,$e,Ie)=>{xe=String(xe),(Ie===void 0||Ie>xe.length)&&(Ie=xe.length),Ie-=$e.length;const Fe=xe.indexOf($e,Ie);return Fe!==-1&&Fe===Ie},toArray=xe=>{if(!xe)return null;if(isArray$2(xe))return xe;let $e=xe.length;if(!isNumber$2($e))return null;const Ie=new Array($e);for(;$e-- >0;)Ie[$e]=xe[$e];return Ie},isTypedArray$1=(xe=>$e=>xe&&$e instanceof xe)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(xe,$e)=>{const Fe=(xe&&xe[Symbol.iterator]).call(xe);let Ue;for(;(Ue=Fe.next())&&!Ue.done;){const qe=Ue.value;$e.call(xe,qe[0],qe[1])}},matchAll=(xe,$e)=>{let Ie;const Fe=[];for(;(Ie=xe.exec($e))!==null;)Fe.push(Ie);return Fe},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=xe=>xe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Ie,Fe,Ue){return Fe.toUpperCase()+Ue}),hasOwnProperty=(({hasOwnProperty:xe})=>($e,Ie)=>xe.call($e,Ie))(Object.prototype),isRegExp$1=kindOfTest("RegExp"),reduceDescriptors=(xe,$e)=>{const Ie=Object.getOwnPropertyDescriptors(xe),Fe={};forEach(Ie,(Ue,qe)=>{let At;(At=$e(Ue,qe,xe))!==!1&&(Fe[qe]=At||Ue)}),Object.defineProperties(xe,Fe)},freezeMethods=xe=>{reduceDescriptors(xe,($e,Ie)=>{if(isFunction$2(xe)&&["arguments","caller","callee"].indexOf(Ie)!==-1)return!1;const Fe=xe[Ie];if(isFunction$2(Fe)){if($e.enumerable=!1,"writable"in $e){$e.writable=!1;return}$e.set||($e.set=()=>{throw Error("Can not rewrite read-only method '"+Ie+"'")})}})},toObjectSet=(xe,$e)=>{const Ie={},Fe=Ue=>{Ue.forEach(qe=>{Ie[qe]=!0})};return isArray$2(xe)?Fe(xe):Fe(String(xe).split($e)),Ie},noop$3=()=>{},toFiniteNumber=(xe,$e)=>xe!=null&&Number.isFinite(xe=+xe)?xe:$e,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(xe=16,$e=ALPHABET.ALPHA_DIGIT)=>{let Ie="";const{length:Fe}=$e;for(;xe--;)Ie+=$e[Math.random()*Fe|0];return Ie};function isSpecCompliantForm(xe){return!!(xe&&isFunction$2(xe.append)&&xe[Symbol.toStringTag]==="FormData"&&xe[Symbol.iterator])}const toJSONObject=xe=>{const $e=new Array(10),Ie=(Fe,Ue)=>{if(isObject$5(Fe)){if($e.indexOf(Fe)>=0)return;if(!("toJSON"in Fe)){$e[Ue]=Fe;const qe=isArray$2(Fe)?[]:{};return forEach(Fe,(At,Dt)=>{const Lt=Ie(At,Ue+1);!isUndefined$1(Lt)&&(qe[Dt]=Lt)}),$e[Ue]=void 0,qe}}return Fe};return Ie(xe,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=xe=>xe&&(isObject$5(xe)||isFunction$2(xe))&&isFunction$2(xe.then)&&isFunction$2(xe.catch),utils$1={isArray:isArray$2,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString:isString$2,isNumber:isNumber$2,isBoolean:isBoolean$1,isObject:isObject$5,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined:isUndefined$1,isDate,isFile,isBlob,isRegExp:isRegExp$1,isFunction:isFunction$2,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach,merge:merge$1,extend:extend$1,trim:trim$2,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$3,toFiniteNumber,findKey,global:_global$1,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(xe,$e,Ie,Fe,Ue){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=xe,this.name="AxiosError",$e&&(this.code=$e),Ie&&(this.config=Ie),Fe&&(this.request=Fe),Ue&&(this.response=Ue)}utils$1.inherits(AxiosError,Error,{toJSON:function xe(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(xe=>{descriptors[xe]={value:xe}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(xe,$e,Ie,Fe,Ue,qe)=>{const At=Object.create(prototype$1);return utils$1.toFlatObject(xe,At,function(Lt){return Lt!==Error.prototype},Dt=>Dt!=="isAxiosError"),AxiosError.call(At,xe.message,$e,Ie,Fe,Ue),At.cause=xe,At.name=xe.name,qe&&Object.assign(At,qe),At};const httpAdapter=null;function isVisitable(xe){return utils$1.isPlainObject(xe)||utils$1.isArray(xe)}function removeBrackets(xe){return utils$1.endsWith(xe,"[]")?xe.slice(0,-2):xe}function renderKey(xe,$e,Ie){return xe?xe.concat($e).map(function(Ue,qe){return Ue=removeBrackets(Ue),!Ie&&qe?"["+Ue+"]":Ue}).join(Ie?".":""):$e}function isFlatArray(xe){return utils$1.isArray(xe)&&!xe.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function xe($e){return/^is[A-Z]/.test($e)});function toFormData(xe,$e,Ie){if(!utils$1.isObject(xe))throw new TypeError("target must be an object");$e=$e||new FormData,Ie=utils$1.toFlatObject(Ie,{metaTokens:!0,dots:!1,indexes:!1},!1,function(kn,Cn){return!utils$1.isUndefined(Cn[kn])});const Fe=Ie.metaTokens,Ue=Ie.visitor||hn,qe=Ie.dots,At=Ie.indexes,Lt=(Ie.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm($e);if(!utils$1.isFunction(Ue))throw new TypeError("visitor must be a function");function jt(wn){if(wn===null)return"";if(utils$1.isDate(wn))return wn.toISOString();if(!Lt&&utils$1.isBlob(wn))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(wn)||utils$1.isTypedArray(wn)?Lt&&typeof Blob=="function"?new Blob([wn]):Buffer.from(wn):wn}function hn(wn,kn,Cn){let Sn=wn;if(wn&&!Cn&&typeof wn=="object"){if(utils$1.endsWith(kn,"{}"))kn=Fe?kn:kn.slice(0,-2),wn=JSON.stringify(wn);else if(utils$1.isArray(wn)&&isFlatArray(wn)||(utils$1.isFileList(wn)||utils$1.endsWith(kn,"[]"))&&(Sn=utils$1.toArray(wn)))return kn=removeBrackets(kn),Sn.forEach(function(En,Tn){!(utils$1.isUndefined(En)||En===null)&&$e.append(At===!0?renderKey([kn],Tn,qe):At===null?kn:kn+"[]",jt(En))}),!1}return isVisitable(wn)?!0:($e.append(renderKey(Cn,kn,qe),jt(wn)),!1)}const vn=[],bn=Object.assign(predicates,{defaultVisitor:hn,convertValue:jt,isVisitable});function _n(wn,kn){if(!utils$1.isUndefined(wn)){if(vn.indexOf(wn)!==-1)throw Error("Circular reference detected in "+kn.join("."));vn.push(wn),utils$1.forEach(wn,function(Sn,xn){(!(utils$1.isUndefined(Sn)||Sn===null)&&Ue.call($e,Sn,utils$1.isString(xn)?xn.trim():xn,kn,bn))===!0&&_n(Sn,kn?kn.concat(xn):[xn])}),vn.pop()}}if(!utils$1.isObject(xe))throw new TypeError("data must be an object");return _n(xe),$e}function encode$1(xe){const $e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(xe).replace(/[!'()~]|%20|%00/g,function(Fe){return $e[Fe]})}function AxiosURLSearchParams(xe,$e){this._pairs=[],xe&&toFormData(xe,this,$e)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function xe($e,Ie){this._pairs.push([$e,Ie])};prototype.toString=function xe($e){const Ie=$e?function(Fe){return $e.call(this,Fe,encode$1)}:encode$1;return this._pairs.map(function(Ue){return Ie(Ue[0])+"="+Ie(Ue[1])},"").join("&")};function encode(xe){return encodeURIComponent(xe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(xe,$e,Ie){if(!$e)return xe;const Fe=Ie&&Ie.encode||encode,Ue=Ie&&Ie.serialize;let qe;if(Ue?qe=Ue($e,Ie):qe=utils$1.isURLSearchParams($e)?$e.toString():new AxiosURLSearchParams($e,Ie).toString(Fe),qe){const At=xe.indexOf("#");At!==-1&&(xe=xe.slice(0,At)),xe+=(xe.indexOf("?")===-1?"?":"&")+qe}return xe}class InterceptorManager{constructor(){this.handlers=[]}use($e,Ie,Fe){return this.handlers.push({fulfilled:$e,rejected:Ie,synchronous:Fe?Fe.synchronous:!1,runWhen:Fe?Fe.runWhen:null}),this.handlers.length-1}eject($e){this.handlers[$e]&&(this.handlers[$e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach($e){utils$1.forEach(this.handlers,function(Fe){Fe!==null&&$e(Fe)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$3={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",hasStandardBrowserEnv=(xe=>hasBrowserEnv&&["ReactNative","NativeScript","NS"].indexOf(xe)<0)(typeof navigator<"u"&&navigator.product),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,origin},Symbol.toStringTag,{value:"Module"})),platform$2={...utils,...platform$3};function toURLEncodedForm(xe,$e){return toFormData(xe,new platform$2.classes.URLSearchParams,Object.assign({visitor:function(Ie,Fe,Ue,qe){return platform$2.isNode&&utils$1.isBuffer(Ie)?(this.append(Fe,Ie.toString("base64")),!1):qe.defaultVisitor.apply(this,arguments)}},$e))}function parsePropPath(xe){return utils$1.matchAll(/\w+|\[(\w*)]/g,xe).map($e=>$e[0]==="[]"?"":$e[1]||$e[0])}function arrayToObject(xe){const $e={},Ie=Object.keys(xe);let Fe;const Ue=Ie.length;let qe;for(Fe=0;Fe=Ie.length;return At=!At&&utils$1.isArray(Ue)?Ue.length:At,Lt?(utils$1.hasOwnProp(Ue,At)?Ue[At]=[Ue[At],Fe]:Ue[At]=Fe,!Dt):((!Ue[At]||!utils$1.isObject(Ue[At]))&&(Ue[At]=[]),$e(Ie,Fe,Ue[At],qe)&&utils$1.isArray(Ue[At])&&(Ue[At]=arrayToObject(Ue[At])),!Dt)}if(utils$1.isFormData(xe)&&utils$1.isFunction(xe.entries)){const Ie={};return utils$1.forEachEntry(xe,(Fe,Ue)=>{$e(parsePropPath(Fe),Ue,Ie,0)}),Ie}return null}function stringifySafely(xe,$e,Ie){if(utils$1.isString(xe))try{return($e||JSON.parse)(xe),utils$1.trim(xe)}catch(Fe){if(Fe.name!=="SyntaxError")throw Fe}return(Ie||JSON.stringify)(xe)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function xe($e,Ie){const Fe=Ie.getContentType()||"",Ue=Fe.indexOf("application/json")>-1,qe=utils$1.isObject($e);if(qe&&utils$1.isHTMLForm($e)&&($e=new FormData($e)),utils$1.isFormData($e))return Ue?JSON.stringify(formDataToJSON($e)):$e;if(utils$1.isArrayBuffer($e)||utils$1.isBuffer($e)||utils$1.isStream($e)||utils$1.isFile($e)||utils$1.isBlob($e)||utils$1.isReadableStream($e))return $e;if(utils$1.isArrayBufferView($e))return $e.buffer;if(utils$1.isURLSearchParams($e))return Ie.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),$e.toString();let Dt;if(qe){if(Fe.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm($e,this.formSerializer).toString();if((Dt=utils$1.isFileList($e))||Fe.indexOf("multipart/form-data")>-1){const Lt=this.env&&this.env.FormData;return toFormData(Dt?{"files[]":$e}:$e,Lt&&new Lt,this.formSerializer)}}return qe||Ue?(Ie.setContentType("application/json",!1),stringifySafely($e)):$e}],transformResponse:[function xe($e){const Ie=this.transitional||defaults$1.transitional,Fe=Ie&&Ie.forcedJSONParsing,Ue=this.responseType==="json";if(utils$1.isResponse($e)||utils$1.isReadableStream($e))return $e;if($e&&utils$1.isString($e)&&(Fe&&!this.responseType||Ue)){const At=!(Ie&&Ie.silentJSONParsing)&&Ue;try{return JSON.parse($e)}catch(Dt){if(At)throw Dt.name==="SyntaxError"?AxiosError.from(Dt,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):Dt}}return $e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$2.classes.FormData,Blob:platform$2.classes.Blob},validateStatus:function xe($e){return $e>=200&&$e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],xe=>{defaults$1.headers[xe]={}});const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=xe=>{const $e={};let Ie,Fe,Ue;return xe&&xe.split(` `).forEach(function(At){Ue=At.indexOf(":"),Ie=At.substring(0,Ue).trim().toLowerCase(),Fe=At.substring(Ue+1).trim(),!(!Ie||$e[Ie]&&ignoreDuplicateOf[Ie])&&(Ie==="set-cookie"?$e[Ie]?$e[Ie].push(Fe):$e[Ie]=[Fe]:$e[Ie]=$e[Ie]?$e[Ie]+", "+Fe:Fe)}),$e},$internals=Symbol("internals");function normalizeHeader(xe){return xe&&String(xe).trim().toLowerCase()}function normalizeValue(xe){return xe===!1||xe==null?xe:utils$1.isArray(xe)?xe.map(normalizeValue):String(xe)}function parseTokens(xe){const $e=Object.create(null),Ie=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Fe;for(;Fe=Ie.exec(xe);)$e[Fe[1]]=Fe[2];return $e}const isValidHeaderName=xe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(xe.trim());function matchHeaderValue(xe,$e,Ie,Fe,Ue){if(utils$1.isFunction(Fe))return Fe.call(this,$e,Ie);if(Ue&&($e=Ie),!!utils$1.isString($e)){if(utils$1.isString(Fe))return $e.indexOf(Fe)!==-1;if(utils$1.isRegExp(Fe))return Fe.test($e)}}function formatHeader(xe){return xe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,($e,Ie,Fe)=>Ie.toUpperCase()+Fe)}function buildAccessors(xe,$e){const Ie=utils$1.toCamelCase(" "+$e);["get","set","has"].forEach(Fe=>{Object.defineProperty(xe,Fe+Ie,{value:function(Ue,qe,At){return this[Fe].call(this,$e,Ue,qe,At)},configurable:!0})})}class AxiosHeaders{constructor($e){$e&&this.set($e)}set($e,Ie,Fe){const Ue=this;function qe(Dt,Lt,jt){const hn=normalizeHeader(Lt);if(!hn)throw new Error("header name must be a non-empty string");const vn=utils$1.findKey(Ue,hn);(!vn||Ue[vn]===void 0||jt===!0||jt===void 0&&Ue[vn]!==!1)&&(Ue[vn||Lt]=normalizeValue(Dt))}const At=(Dt,Lt)=>utils$1.forEach(Dt,(jt,hn)=>qe(jt,hn,Lt));if(utils$1.isPlainObject($e)||$e instanceof this.constructor)At($e,Ie);else if(utils$1.isString($e)&&($e=$e.trim())&&!isValidHeaderName($e))At(parseHeaders($e),Ie);else if(utils$1.isHeaders($e))for(const[Dt,Lt]of $e.entries())qe(Lt,Dt,Fe);else $e!=null&&qe(Ie,$e,Fe);return this}get($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);if(Fe){const Ue=this[Fe];if(!Ie)return Ue;if(Ie===!0)return parseTokens(Ue);if(utils$1.isFunction(Ie))return Ie.call(this,Ue,Fe);if(utils$1.isRegExp(Ie))return Ie.exec(Ue);throw new TypeError("parser must be boolean|regexp|function")}}}has($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);return!!(Fe&&this[Fe]!==void 0&&(!Ie||matchHeaderValue(this,this[Fe],Fe,Ie)))}return!1}delete($e,Ie){const Fe=this;let Ue=!1;function qe(At){if(At=normalizeHeader(At),At){const Dt=utils$1.findKey(Fe,At);Dt&&(!Ie||matchHeaderValue(Fe,Fe[Dt],Dt,Ie))&&(delete Fe[Dt],Ue=!0)}}return utils$1.isArray($e)?$e.forEach(qe):qe($e),Ue}clear($e){const Ie=Object.keys(this);let Fe=Ie.length,Ue=!1;for(;Fe--;){const qe=Ie[Fe];(!$e||matchHeaderValue(this,this[qe],qe,$e,!0))&&(delete this[qe],Ue=!0)}return Ue}normalize($e){const Ie=this,Fe={};return utils$1.forEach(this,(Ue,qe)=>{const At=utils$1.findKey(Fe,qe);if(At){Ie[At]=normalizeValue(Ue),delete Ie[qe];return}const Dt=$e?formatHeader(qe):String(qe).trim();Dt!==qe&&delete Ie[qe],Ie[Dt]=normalizeValue(Ue),Fe[Dt]=!0}),this}concat(...$e){return this.constructor.concat(this,...$e)}toJSON($e){const Ie=Object.create(null);return utils$1.forEach(this,(Fe,Ue)=>{Fe!=null&&Fe!==!1&&(Ie[Ue]=$e&&utils$1.isArray(Fe)?Fe.join(", "):Fe)}),Ie}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$e,Ie])=>$e+": "+Ie).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($e){return $e instanceof this?$e:new this($e)}static concat($e,...Ie){const Fe=new this($e);return Ie.forEach(Ue=>Fe.set(Ue)),Fe}static accessor($e){const Fe=(this[$internals]=this[$internals]={accessors:{}}).accessors,Ue=this.prototype;function qe(At){const Dt=normalizeHeader(At);Fe[Dt]||(buildAccessors(Ue,At),Fe[Dt]=!0)}return utils$1.isArray($e)?$e.forEach(qe):qe($e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:xe},$e)=>{let Ie=$e[0].toUpperCase()+$e.slice(1);return{get:()=>xe,set(Fe){this[Ie]=Fe}}});utils$1.freezeMethods(AxiosHeaders);function transformData(xe,$e){const Ie=this||defaults$1,Fe=$e||Ie,Ue=AxiosHeaders.from(Fe.headers);let qe=Fe.data;return utils$1.forEach(xe,function(Dt){qe=Dt.call(Ie,qe,Ue.normalize(),$e?$e.status:void 0)}),Ue.normalize(),qe}function isCancel(xe){return!!(xe&&xe.__CANCEL__)}function CanceledError(xe,$e,Ie){AxiosError.call(this,xe??"canceled",AxiosError.ERR_CANCELED,$e,Ie),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(xe,$e,Ie){const Fe=Ie.config.validateStatus;!Ie.status||!Fe||Fe(Ie.status)?xe(Ie):$e(new AxiosError("Request failed with status code "+Ie.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(Ie.status/100)-4],Ie.config,Ie.request,Ie))}function parseProtocol(xe){const $e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(xe);return $e&&$e[1]||""}function speedometer(xe,$e){xe=xe||10;const Ie=new Array(xe),Fe=new Array(xe);let Ue=0,qe=0,At;return $e=$e!==void 0?$e:1e3,function(Lt){const jt=Date.now(),hn=Fe[qe];At||(At=jt),Ie[Ue]=Lt,Fe[Ue]=jt;let vn=qe,bn=0;for(;vn!==Ue;)bn+=Ie[vn++],vn=vn%xe;if(Ue=(Ue+1)%xe,Ue===qe&&(qe=(qe+1)%xe),jt-At<$e)return;const _n=hn&&jt-hn;return _n?Math.round(bn*1e3/_n):void 0}}function throttle$2(xe,$e){let Ie=0;const Fe=1e3/$e;let Ue=null;return function(){const At=this===!0,Dt=Date.now();if(At||Dt-Ie>Fe)return Ue&&(clearTimeout(Ue),Ue=null),Ie=Dt,xe.apply(null,arguments);Ue||(Ue=setTimeout(()=>(Ue=null,Ie=Date.now(),xe.apply(null,arguments)),Fe-(Dt-Ie)))}}const progressEventReducer=(xe,$e,Ie=3)=>{let Fe=0;const Ue=speedometer(50,250);return throttle$2(qe=>{const At=qe.loaded,Dt=qe.lengthComputable?qe.total:void 0,Lt=At-Fe,jt=Ue(Lt),hn=At<=Dt;Fe=At;const vn={loaded:At,total:Dt,progress:Dt?At/Dt:void 0,bytes:Lt,rate:jt||void 0,estimated:jt&&Dt&&hn?(Dt-At)/jt:void 0,event:qe,lengthComputable:Dt!=null};vn[$e?"download":"upload"]=!0,xe(vn)},Ie)},isURLSameOrigin=platform$2.hasStandardBrowserEnv?function xe(){const $e=/(msie|trident)/i.test(navigator.userAgent),Ie=document.createElement("a");let Fe;function Ue(qe){let At=qe;return $e&&(Ie.setAttribute("href",At),At=Ie.href),Ie.setAttribute("href",At),{href:Ie.href,protocol:Ie.protocol?Ie.protocol.replace(/:$/,""):"",host:Ie.host,search:Ie.search?Ie.search.replace(/^\?/,""):"",hash:Ie.hash?Ie.hash.replace(/^#/,""):"",hostname:Ie.hostname,port:Ie.port,pathname:Ie.pathname.charAt(0)==="/"?Ie.pathname:"/"+Ie.pathname}}return Fe=Ue(window.location.href),function(At){const Dt=utils$1.isString(At)?Ue(At):At;return Dt.protocol===Fe.protocol&&Dt.host===Fe.host}}():function xe(){return function(){return!0}}(),cookies=platform$2.hasStandardBrowserEnv?{write(xe,$e,Ie,Fe,Ue,qe){const At=[xe+"="+encodeURIComponent($e)];utils$1.isNumber(Ie)&&At.push("expires="+new Date(Ie).toGMTString()),utils$1.isString(Fe)&&At.push("path="+Fe),utils$1.isString(Ue)&&At.push("domain="+Ue),qe===!0&&At.push("secure"),document.cookie=At.join("; ")},read(xe){const $e=document.cookie.match(new RegExp("(^|;\\s*)("+xe+")=([^;]*)"));return $e?decodeURIComponent($e[3]):null},remove(xe){this.write(xe,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(xe){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(xe)}function combineURLs(xe,$e){return $e?xe.replace(/\/?\/$/,"")+"/"+$e.replace(/^\/+/,""):xe}function buildFullPath(xe,$e){return xe&&!isAbsoluteURL($e)?combineURLs(xe,$e):$e}const headersToObject=xe=>xe instanceof AxiosHeaders?{...xe}:xe;function mergeConfig$1(xe,$e){$e=$e||{};const Ie={};function Fe(jt,hn,vn){return utils$1.isPlainObject(jt)&&utils$1.isPlainObject(hn)?utils$1.merge.call({caseless:vn},jt,hn):utils$1.isPlainObject(hn)?utils$1.merge({},hn):utils$1.isArray(hn)?hn.slice():hn}function Ue(jt,hn,vn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt,vn)}else return Fe(jt,hn,vn)}function qe(jt,hn){if(!utils$1.isUndefined(hn))return Fe(void 0,hn)}function At(jt,hn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt)}else return Fe(void 0,hn)}function Dt(jt,hn,vn){if(vn in $e)return Fe(jt,hn);if(vn in xe)return Fe(void 0,jt)}const Lt={url:qe,method:qe,data:qe,baseURL:At,transformRequest:At,transformResponse:At,paramsSerializer:At,timeout:At,timeoutMessage:At,withCredentials:At,withXSRFToken:At,adapter:At,responseType:At,xsrfCookieName:At,xsrfHeaderName:At,onUploadProgress:At,onDownloadProgress:At,decompress:At,maxContentLength:At,maxBodyLength:At,beforeRedirect:At,transport:At,httpAgent:At,httpsAgent:At,cancelToken:At,socketPath:At,responseEncoding:At,validateStatus:Dt,headers:(jt,hn)=>Ue(headersToObject(jt),headersToObject(hn),!0)};return utils$1.forEach(Object.keys(Object.assign({},xe,$e)),function(hn){const vn=Lt[hn]||Ue,bn=vn(xe[hn],$e[hn],hn);utils$1.isUndefined(bn)&&vn!==Dt||(Ie[hn]=bn)}),Ie}const resolveConfig=xe=>{const $e=mergeConfig$1({},xe);let{data:Ie,withXSRFToken:Fe,xsrfHeaderName:Ue,xsrfCookieName:qe,headers:At,auth:Dt}=$e;$e.headers=At=AxiosHeaders.from(At),$e.url=buildURL(buildFullPath($e.baseURL,$e.url),xe.params,xe.paramsSerializer),Dt&&At.set("Authorization","Basic "+btoa((Dt.username||"")+":"+(Dt.password?unescape(encodeURIComponent(Dt.password)):"")));let Lt;if(utils$1.isFormData(Ie)){if(platform$2.hasStandardBrowserEnv||platform$2.hasStandardBrowserWebWorkerEnv)At.setContentType(void 0);else if((Lt=At.getContentType())!==!1){const[jt,...hn]=Lt?Lt.split(";").map(vn=>vn.trim()).filter(Boolean):[];At.setContentType([jt||"multipart/form-data",...hn].join("; "))}}if(platform$2.hasStandardBrowserEnv&&(Fe&&utils$1.isFunction(Fe)&&(Fe=Fe($e)),Fe||Fe!==!1&&isURLSameOrigin($e.url))){const jt=Ue&&qe&&cookies.read(qe);jt&&At.set(Ue,jt)}return $e},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(xe){return new Promise(function(Ie,Fe){const Ue=resolveConfig(xe);let qe=Ue.data;const At=AxiosHeaders.from(Ue.headers).normalize();let{responseType:Dt}=Ue,Lt;function jt(){Ue.cancelToken&&Ue.cancelToken.unsubscribe(Lt),Ue.signal&&Ue.signal.removeEventListener("abort",Lt)}let hn=new XMLHttpRequest;hn.open(Ue.method.toUpperCase(),Ue.url,!0),hn.timeout=Ue.timeout;function vn(){if(!hn)return;const _n=AxiosHeaders.from("getAllResponseHeaders"in hn&&hn.getAllResponseHeaders()),kn={data:!Dt||Dt==="text"||Dt==="json"?hn.responseText:hn.response,status:hn.status,statusText:hn.statusText,headers:_n,config:xe,request:hn};settle(function(Sn){Ie(Sn),jt()},function(Sn){Fe(Sn),jt()},kn),hn=null}"onloadend"in hn?hn.onloadend=vn:hn.onreadystatechange=function(){!hn||hn.readyState!==4||hn.status===0&&!(hn.responseURL&&hn.responseURL.indexOf("file:")===0)||setTimeout(vn)},hn.onabort=function(){hn&&(Fe(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ue,hn)),hn=null)},hn.onerror=function(){Fe(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ue,hn)),hn=null},hn.ontimeout=function(){let wn=Ue.timeout?"timeout of "+Ue.timeout+"ms exceeded":"timeout exceeded";const kn=Ue.transitional||transitionalDefaults;Ue.timeoutErrorMessage&&(wn=Ue.timeoutErrorMessage),Fe(new AxiosError(wn,kn.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ue,hn)),hn=null},qe===void 0&&At.setContentType(null),"setRequestHeader"in hn&&utils$1.forEach(At.toJSON(),function(wn,kn){hn.setRequestHeader(kn,wn)}),utils$1.isUndefined(Ue.withCredentials)||(hn.withCredentials=!!Ue.withCredentials),Dt&&Dt!=="json"&&(hn.responseType=Ue.responseType),typeof Ue.onDownloadProgress=="function"&&hn.addEventListener("progress",progressEventReducer(Ue.onDownloadProgress,!0)),typeof Ue.onUploadProgress=="function"&&hn.upload&&hn.upload.addEventListener("progress",progressEventReducer(Ue.onUploadProgress)),(Ue.cancelToken||Ue.signal)&&(Lt=_n=>{hn&&(Fe(!_n||_n.type?new CanceledError(null,xe,hn):_n),hn.abort(),hn=null)},Ue.cancelToken&&Ue.cancelToken.subscribe(Lt),Ue.signal&&(Ue.signal.aborted?Lt():Ue.signal.addEventListener("abort",Lt)));const bn=parseProtocol(Ue.url);if(bn&&platform$2.protocols.indexOf(bn)===-1){Fe(new AxiosError("Unsupported protocol "+bn+":",AxiosError.ERR_BAD_REQUEST,xe));return}hn.send(qe||null)})},composeSignals=(xe,$e)=>{let Ie=new AbortController,Fe;const Ue=function(Lt){if(!Fe){Fe=!0,At();const jt=Lt instanceof Error?Lt:this.reason;Ie.abort(jt instanceof AxiosError?jt:new CanceledError(jt instanceof Error?jt.message:jt))}};let qe=$e&&setTimeout(()=>{Ue(new AxiosError(`timeout ${$e} of ms exceeded`,AxiosError.ETIMEDOUT))},$e);const At=()=>{xe&&(qe&&clearTimeout(qe),qe=null,xe.forEach(Lt=>{Lt&&(Lt.removeEventListener?Lt.removeEventListener("abort",Ue):Lt.unsubscribe(Ue))}),xe=null)};xe.forEach(Lt=>Lt&&Lt.addEventListener&&Lt.addEventListener("abort",Ue));const{signal:Dt}=Ie;return Dt.unsubscribe=At,[Dt,()=>{qe&&clearTimeout(qe),qe=null}]},streamChunk=function*(xe,$e){let Ie=xe.byteLength;if(!$e||Ie<$e){yield xe;return}let Fe=0,Ue;for(;Fe{const qe=readBytes(xe,$e,Ue);let At=0;return new ReadableStream({type:"bytes",async pull(Dt){const{done:Lt,value:jt}=await qe.next();if(Lt){Dt.close(),Fe();return}let hn=jt.byteLength;Ie&&Ie(At+=hn),Dt.enqueue(new Uint8Array(jt))},cancel(Dt){return Fe(Dt),qe.return()}},{highWaterMark:2})},fetchProgressDecorator=(xe,$e)=>{const Ie=xe!=null;return Fe=>setTimeout(()=>$e({lengthComputable:Ie,total:xe,loaded:Fe}))},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(xe=>$e=>xe.encode($e))(new TextEncoder):async xe=>new Uint8Array(await new Response(xe).arrayBuffer())),supportsRequestStream=isReadableStreamSupported&&(()=>{let xe=!1;const $e=new Request(platform$2.origin,{body:new ReadableStream,method:"POST",get duplex(){return xe=!0,"half"}}).headers.has("Content-Type");return xe&&!$e})(),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&!!(()=>{try{return utils$1.isReadableStream(new Response("").body)}catch{}})(),resolvers={stream:supportsResponseStream&&(xe=>xe.body)};isFetchSupported&&(xe=>{["text","arrayBuffer","blob","formData","stream"].forEach($e=>{!resolvers[$e]&&(resolvers[$e]=utils$1.isFunction(xe[$e])?Ie=>Ie[$e]():(Ie,Fe)=>{throw new AxiosError(`Response type '${$e}' is not supported`,AxiosError.ERR_NOT_SUPPORT,Fe)})})})(new Response);const getBodyLength=async xe=>{if(xe==null)return 0;if(utils$1.isBlob(xe))return xe.size;if(utils$1.isSpecCompliantForm(xe))return(await new Request(xe).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(xe))return xe.byteLength;if(utils$1.isURLSearchParams(xe)&&(xe=xe+""),utils$1.isString(xe))return(await encodeText(xe)).byteLength},resolveBodyLength=async(xe,$e)=>{const Ie=utils$1.toFiniteNumber(xe.getContentLength());return Ie??getBodyLength($e)},fetchAdapter=isFetchSupported&&(async xe=>{let{url:$e,method:Ie,data:Fe,signal:Ue,cancelToken:qe,timeout:At,onDownloadProgress:Dt,onUploadProgress:Lt,responseType:jt,headers:hn,withCredentials:vn="same-origin",fetchOptions:bn}=resolveConfig(xe);jt=jt?(jt+"").toLowerCase():"text";let[_n,wn]=Ue||qe||At?composeSignals([Ue,qe],At):[],kn,Cn;const Sn=()=>{!kn&&setTimeout(()=>{_n&&_n.unsubscribe()}),kn=!0};let xn;try{if(Lt&&supportsRequestStream&&Ie!=="get"&&Ie!=="head"&&(xn=await resolveBodyLength(hn,Fe))!==0){let $n=new Request($e,{method:"POST",body:Fe,duplex:"half"}),Pn;utils$1.isFormData(Fe)&&(Pn=$n.headers.get("content-type"))&&hn.setContentType(Pn),$n.body&&(Fe=trackStream($n.body,DEFAULT_CHUNK_SIZE,fetchProgressDecorator(xn,progressEventReducer(Lt)),null,encodeText))}utils$1.isString(vn)||(vn=vn?"cors":"omit"),Cn=new Request($e,{...bn,signal:_n,method:Ie.toUpperCase(),headers:hn.normalize().toJSON(),body:Fe,duplex:"half",withCredentials:vn});let En=await fetch(Cn);const Tn=supportsResponseStream&&(jt==="stream"||jt==="response");if(supportsResponseStream&&(Dt||Tn)){const $n={};["status","statusText","headers"].forEach(Nn=>{$n[Nn]=En[Nn]});const Pn=utils$1.toFiniteNumber(En.headers.get("content-length"));En=new Response(trackStream(En.body,DEFAULT_CHUNK_SIZE,Dt&&fetchProgressDecorator(Pn,progressEventReducer(Dt,!0)),Tn&&Sn,encodeText),$n)}jt=jt||"text";let An=await resolvers[utils$1.findKey(resolvers,jt)||"text"](En,xe);return!Tn&&Sn(),wn&&wn(),await new Promise(($n,Pn)=>{settle($n,Pn,{data:An,headers:AxiosHeaders.from(En.headers),status:En.status,statusText:En.statusText,config:xe,request:Cn})})}catch(En){throw Sn(),En&&En.name==="TypeError"&&/fetch/i.test(En.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,xe,Cn),{cause:En.cause||En}):AxiosError.from(En,En&&En.code,xe,Cn)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(xe,$e)=>{if(xe){try{Object.defineProperty(xe,"name",{value:$e})}catch{}Object.defineProperty(xe,"adapterName",{value:$e})}});const renderReason=xe=>`- ${xe}`,isResolvedHandle=xe=>utils$1.isFunction(xe)||xe===null||xe===!1,adapters={getAdapter:xe=>{xe=utils$1.isArray(xe)?xe:[xe];const{length:$e}=xe;let Ie,Fe;const Ue={};for(let qe=0;qe<$e;qe++){Ie=xe[qe];let At;if(Fe=Ie,!isResolvedHandle(Ie)&&(Fe=knownAdapters[(At=String(Ie)).toLowerCase()],Fe===void 0))throw new AxiosError(`Unknown adapter '${At}'`);if(Fe)break;Ue[At||"#"+qe]=Fe}if(!Fe){const qe=Object.entries(Ue).map(([Dt,Lt])=>`adapter ${Dt} `+(Lt===!1?"is not supported by the environment":"is not available in the build"));let At=$e?qe.length>1?`since : `+qe.map(renderReason).join(` `):" "+renderReason(qe[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+At,"ERR_NOT_SUPPORT")}return Fe},adapters:knownAdapters};function throwIfCancellationRequested(xe){if(xe.cancelToken&&xe.cancelToken.throwIfRequested(),xe.signal&&xe.signal.aborted)throw new CanceledError(null,xe)}function dispatchRequest(xe){return throwIfCancellationRequested(xe),xe.headers=AxiosHeaders.from(xe.headers),xe.data=transformData.call(xe,xe.transformRequest),["post","put","patch"].indexOf(xe.method)!==-1&&xe.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(xe.adapter||defaults$1.adapter)(xe).then(function(Fe){return throwIfCancellationRequested(xe),Fe.data=transformData.call(xe,xe.transformResponse,Fe),Fe.headers=AxiosHeaders.from(Fe.headers),Fe},function(Fe){return isCancel(Fe)||(throwIfCancellationRequested(xe),Fe&&Fe.response&&(Fe.response.data=transformData.call(xe,xe.transformResponse,Fe.response),Fe.response.headers=AxiosHeaders.from(Fe.response.headers))),Promise.reject(Fe)})}const VERSION="1.7.2",validators$2={};["object","boolean","number","function","string","symbol"].forEach((xe,$e)=>{validators$2[xe]=function(Fe){return typeof Fe===xe||"a"+($e<1?"n ":" ")+xe}});const deprecatedWarnings={};validators$2.transitional=function xe($e,Ie,Fe){function Ue(qe,At){return"[Axios v"+VERSION+"] Transitional option '"+qe+"'"+At+(Fe?". "+Fe:"")}return(qe,At,Dt)=>{if($e===!1)throw new AxiosError(Ue(At," has been removed"+(Ie?" in "+Ie:"")),AxiosError.ERR_DEPRECATED);return Ie&&!deprecatedWarnings[At]&&(deprecatedWarnings[At]=!0,console.warn(Ue(At," has been deprecated since v"+Ie+" and will be removed in the near future"))),$e?$e(qe,At,Dt):!0}};function assertOptions(xe,$e,Ie){if(typeof xe!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const Fe=Object.keys(xe);let Ue=Fe.length;for(;Ue-- >0;){const qe=Fe[Ue],At=$e[qe];if(At){const Dt=xe[qe],Lt=Dt===void 0||At(Dt,qe,xe);if(Lt!==!0)throw new AxiosError("option "+qe+" must be "+Lt,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(Ie!==!0)throw new AxiosError("Unknown option "+qe,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$2},validators$1=validator.validators;class Axios{constructor($e){this.defaults=$e,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request($e,Ie){try{return await this._request($e,Ie)}catch(Fe){if(Fe instanceof Error){let Ue;Error.captureStackTrace?Error.captureStackTrace(Ue={}):Ue=new Error;const qe=Ue.stack?Ue.stack.replace(/^.+\n/,""):"";try{Fe.stack?qe&&!String(Fe.stack).endsWith(qe.replace(/^.+\n.+\n/,""))&&(Fe.stack+=` -`+qe):Fe.stack=qe}catch{}}throw Fe}}_request($e,Ie){typeof $e=="string"?(Ie=Ie||{},Ie.url=$e):Ie=$e||{},Ie=mergeConfig$1(this.defaults,Ie);const{transitional:Fe,paramsSerializer:Ue,headers:qe}=Ie;Fe!==void 0&&validator.assertOptions(Fe,{silentJSONParsing:validators$1.transitional(validators$1.boolean),forcedJSONParsing:validators$1.transitional(validators$1.boolean),clarifyTimeoutError:validators$1.transitional(validators$1.boolean)},!1),Ue!=null&&(utils$1.isFunction(Ue)?Ie.paramsSerializer={serialize:Ue}:validator.assertOptions(Ue,{encode:validators$1.function,serialize:validators$1.function},!0)),Ie.method=(Ie.method||this.defaults.method||"get").toLowerCase();let At=qe&&utils$1.merge(qe.common,qe[Ie.method]);qe&&utils$1.forEach(["delete","get","head","post","put","patch","common"],wn=>{delete qe[wn]}),Ie.headers=AxiosHeaders.concat(At,qe);const Dt=[];let Lt=!0;this.interceptors.request.forEach(function(kn){typeof kn.runWhen=="function"&&kn.runWhen(Ie)===!1||(Lt=Lt&&kn.synchronous,Dt.unshift(kn.fulfilled,kn.rejected))});const jt=[];this.interceptors.response.forEach(function(kn){jt.push(kn.fulfilled,kn.rejected)});let hn,vn=0,bn;if(!Lt){const wn=[dispatchRequest.bind(this),void 0];for(wn.unshift.apply(wn,Dt),wn.push.apply(wn,jt),bn=wn.length,hn=Promise.resolve(Ie);vn{if(!Fe._listeners)return;let qe=Fe._listeners.length;for(;qe-- >0;)Fe._listeners[qe](Ue);Fe._listeners=null}),this.promise.then=Ue=>{let qe;const At=new Promise(Dt=>{Fe.subscribe(Dt),qe=Dt}).then(Ue);return At.cancel=function(){Fe.unsubscribe(qe)},At},$e(function(qe,At,Dt){Fe.reason||(Fe.reason=new CanceledError(qe,At,Dt),Ie(Fe.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($e){if(this.reason){$e(this.reason);return}this._listeners?this._listeners.push($e):this._listeners=[$e]}unsubscribe($e){if(!this._listeners)return;const Ie=this._listeners.indexOf($e);Ie!==-1&&this._listeners.splice(Ie,1)}static source(){let $e;return{token:new CancelToken(function(Ue){$e=Ue}),cancel:$e}}}function spread(xe){return function(Ie){return xe.apply(null,Ie)}}function isAxiosError(xe){return utils$1.isObject(xe)&&xe.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([xe,$e])=>{HttpStatusCode[$e]=xe});function createInstance$1(xe){const $e=new Axios(xe),Ie=bind$2(Axios.prototype.request,$e);return utils$1.extend(Ie,Axios.prototype,$e,{allOwnKeys:!0}),utils$1.extend(Ie,$e,null,{allOwnKeys:!0}),Ie.create=function(Ue){return createInstance$1(mergeConfig$1(xe,Ue))},Ie}const axios=createInstance$1(defaults$1);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function xe($e){return Promise.all($e)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig$1;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=xe=>formDataToJSON(utils$1.isHTMLForm(xe)?new FormData(xe):xe);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=xe=>getComputedStyle(xe).position==="fixed"?!1:xe.offsetParent!==null,obtainAllFocusableElements$1=xe=>Array.from(xe.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter($e=>isFocusable($e)&&isVisible($e)),isFocusable=xe=>{if(xe.tabIndex>0||xe.tabIndex===0&&xe.getAttribute("tabIndex")!==null)return!0;if(xe.disabled)return!1;switch(xe.nodeName){case"A":return!!xe.href&&xe.rel!=="ignore";case"INPUT":return!(xe.type==="hidden"||xe.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(xe,$e,...Ie){let Fe;$e.includes("mouse")||$e.includes("click")?Fe="MouseEvents":$e.includes("key")?Fe="KeyboardEvent":Fe="HTMLEvents";const Ue=document.createEvent(Fe);return Ue.initEvent($e,...Ie),xe.dispatchEvent(Ue),xe},isLeaf=xe=>!xe.getAttribute("aria-owns"),getSibling=(xe,$e,Ie)=>{const{parentNode:Fe}=xe;if(!Fe)return null;const Ue=Fe.querySelectorAll(Ie),qe=Array.prototype.indexOf.call(Ue,xe);return Ue[qe+$e]||null},focusNode=xe=>{xe&&(xe.focus(),!isLeaf(xe)&&xe.click())},composeEventHandlers=(xe,$e,{checkForDefaultPrevented:Ie=!0}={})=>Ue=>{const qe=xe==null?void 0:xe(Ue);if(Ie===!1||!qe)return $e==null?void 0:$e(Ue)},whenMouse=xe=>$e=>$e.pointerType==="mouse"?xe($e):void 0;var __defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(xe,$e,Ie)=>$e in xe?__defProp$9(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues$9=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);if(__getOwnPropSymbols$b)for(var Ie of __getOwnPropSymbols$b($e))__propIsEnum$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);return xe},__spreadProps$6=(xe,$e)=>__defProps$6(xe,__getOwnPropDescs$6($e));function computedEager(xe,$e){var Ie;const Fe=shallowRef();return watchEffect(()=>{Fe.value=xe()},__spreadProps$6(__spreadValues$9({},$e),{flush:(Ie=void 0)!=null?Ie:"sync"})),readonly(Fe)}var _a$1;const isClient$1=typeof window<"u",isDef$1=xe=>typeof xe<"u",isFunction$1=xe=>typeof xe=="function",isString$1=xe=>typeof xe=="string",noop$2=()=>{},isIOS=isClient$1&&((_a$1=window==null?void 0:window.navigator)==null?void 0:_a$1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(xe){return typeof xe=="function"?xe():unref(xe)}function createFilterWrapper(xe,$e){function Ie(...Fe){return new Promise((Ue,qe)=>{Promise.resolve(xe(()=>$e.apply(this,Fe),{fn:$e,thisArg:this,args:Fe})).then(Ue).catch(qe)})}return Ie}function debounceFilter(xe,$e={}){let Ie,Fe,Ue=noop$2;const qe=Dt=>{clearTimeout(Dt),Ue(),Ue=noop$2};return Dt=>{const Lt=resolveUnref(xe),jt=resolveUnref($e.maxWait);return Ie&&qe(Ie),Lt<=0||jt!==void 0&&jt<=0?(Fe&&(qe(Fe),Fe=null),Promise.resolve(Dt())):new Promise((hn,vn)=>{Ue=$e.rejectOnCancel?vn:hn,jt&&!Fe&&(Fe=setTimeout(()=>{Ie&&qe(Ie),Fe=null,hn(Dt())},jt)),Ie=setTimeout(()=>{Fe&&qe(Fe),Fe=null,hn(Dt())},Lt)})}}function throttleFilter(xe,$e=!0,Ie=!0,Fe=!1){let Ue=0,qe,At=!0,Dt=noop$2,Lt;const jt=()=>{qe&&(clearTimeout(qe),qe=void 0,Dt(),Dt=noop$2)};return vn=>{const bn=resolveUnref(xe),_n=Date.now()-Ue,wn=()=>Lt=vn();return jt(),bn<=0?(Ue=Date.now(),wn()):(_n>bn&&(Ie||!At)?(Ue=Date.now(),wn()):$e&&(Lt=new Promise((kn,Cn)=>{Dt=Fe?Cn:kn,qe=setTimeout(()=>{Ue=Date.now(),At=!0,kn(wn()),jt()},Math.max(0,bn-_n))})),!Ie&&!qe&&(qe=setTimeout(()=>At=!0,bn)),At=!1,Lt)}}function identity$1(xe){return xe}function computedWithControl(xe,$e){let Ie,Fe,Ue;const qe=ref(!0),At=()=>{qe.value=!0,Ue()};watch(xe,At,{flush:"sync"});const Dt=isFunction$1($e)?$e:$e.get,Lt=isFunction$1($e)?void 0:$e.set,jt=customRef((hn,vn)=>(Fe=hn,Ue=vn,{get(){return qe.value&&(Ie=Dt(),qe.value=!1),Fe(),Ie},set(bn){Lt==null||Lt(bn)}}));return Object.isExtensible(jt)&&(jt.trigger=At),jt}function tryOnScopeDispose$1(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function useDebounceFn(xe,$e=200,Ie={}){return createFilterWrapper(debounceFilter($e,Ie),xe)}function refDebounced(xe,$e=200,Ie={}){const Fe=ref(xe.value),Ue=useDebounceFn(()=>{Fe.value=xe.value},$e,Ie);return watch(xe,()=>Ue()),Fe}function useThrottleFn(xe,$e=200,Ie=!1,Fe=!0,Ue=!1){return createFilterWrapper(throttleFilter($e,Ie,Fe,Ue),xe)}function tryOnMounted$1(xe,$e=!0){getCurrentInstance()?onMounted(xe):$e?xe():nextTick(xe)}function useTimeoutFn$1(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},resolveUnref($e))}return Fe&&(Ue.value=!0,isClient$1&&Lt()),tryOnScopeDispose$1(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function unrefElement(xe){var $e;const Ie=resolveUnref(xe);return($e=Ie==null?void 0:Ie.$el)!=null?$e:Ie}const defaultWindow=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0;function useEventListener(...xe){let $e,Ie,Fe,Ue;if(isString$1(xe[0])||Array.isArray(xe[0])?([Ie,Fe,Ue]=xe,$e=defaultWindow):[$e,Ie,Fe,Ue]=xe,!$e)return noop$2;Array.isArray(Ie)||(Ie=[Ie]),Array.isArray(Fe)||(Fe=[Fe]);const qe=[],At=()=>{qe.forEach(hn=>hn()),qe.length=0},Dt=(hn,vn,bn,_n)=>(hn.addEventListener(vn,bn,_n),()=>hn.removeEventListener(vn,bn,_n)),Lt=watch(()=>[unrefElement($e),resolveUnref(Ue)],([hn,vn])=>{At(),hn&&qe.push(...Ie.flatMap(bn=>Fe.map(_n=>Dt(hn,bn,_n,vn))))},{immediate:!0,flush:"post"}),jt=()=>{Lt(),At()};return tryOnScopeDispose$1(jt),jt}let _iOSWorkaround=!1;function onClickOutside(xe,$e,Ie={}){const{window:Fe=defaultWindow,ignore:Ue=[],capture:qe=!0,detectIframe:At=!1}=Ie;if(!Fe)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(Fe.document.body.children).forEach(bn=>bn.addEventListener("click",noop$2)));let Dt=!0;const Lt=bn=>Ue.some(_n=>{if(typeof _n=="string")return Array.from(Fe.document.querySelectorAll(_n)).some(wn=>wn===bn.target||bn.composedPath().includes(wn));{const wn=unrefElement(_n);return wn&&(bn.target===wn||bn.composedPath().includes(wn))}}),hn=[useEventListener(Fe,"click",bn=>{const _n=unrefElement(xe);if(!(!_n||_n===bn.target||bn.composedPath().includes(_n))){if(bn.detail===0&&(Dt=!Lt(bn)),!Dt){Dt=!0;return}$e(bn)}},{passive:!0,capture:qe}),useEventListener(Fe,"pointerdown",bn=>{const _n=unrefElement(xe);_n&&(Dt=!bn.composedPath().includes(_n)&&!Lt(bn))},{passive:!0}),At&&useEventListener(Fe,"blur",bn=>{var _n;const wn=unrefElement(xe);((_n=Fe.document.activeElement)==null?void 0:_n.tagName)==="IFRAME"&&!(wn!=null&&wn.contains(Fe.document.activeElement))&&$e(bn)})].filter(Boolean);return()=>hn.forEach(bn=>bn())}function useActiveElement(xe={}){var $e;const{window:Ie=defaultWindow}=xe,Fe=($e=xe.document)!=null?$e:Ie==null?void 0:Ie.document,Ue=computedWithControl(()=>null,()=>Fe==null?void 0:Fe.activeElement);return Ie&&(useEventListener(Ie,"blur",qe=>{qe.relatedTarget===null&&Ue.trigger()},!0),useEventListener(Ie,"focus",Ue.trigger,!0)),Ue}function useSupported(xe,$e=!1){const Ie=ref(),Fe=()=>Ie.value=!!xe();return Fe(),tryOnMounted$1(Fe,$e),Ie}function cloneFnJSON(xe){return JSON.parse(JSON.stringify(xe))}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global[globalKey]=_global[globalKey]||{};function useCssVar(xe,$e,{window:Ie=defaultWindow,initialValue:Fe=""}={}){const Ue=ref(Fe),qe=computed(()=>{var At;return unrefElement($e)||((At=Ie==null?void 0:Ie.document)==null?void 0:At.documentElement)});return watch([qe,()=>resolveUnref(xe)],([At,Dt])=>{var Lt;if(At&&Ie){const jt=(Lt=Ie.getComputedStyle(At).getPropertyValue(Dt))==null?void 0:Lt.trim();Ue.value=jt||Fe}},{immediate:!0}),watch(Ue,At=>{var Dt;(Dt=qe.value)!=null&&Dt.style&&qe.value.style.setProperty(resolveUnref(xe),At)}),Ue}function useDocumentVisibility({document:xe=defaultDocument}={}){if(!xe)return ref("visible");const $e=ref(xe.visibilityState);return useEventListener(xe,"visibilitychange",()=>{$e.value=xe.visibilityState}),$e}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$g.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$g)for(var Fe of __getOwnPropSymbols$g(xe))$e.indexOf(Fe)<0&&__propIsEnum$g.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useResizeObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$2(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"ResizeObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new ResizeObserver($e),At.observe(vn,qe))},{immediate:!0,flush:"post"}),hn=()=>{Lt(),jt()};return tryOnScopeDispose$1(hn),{isSupported:Dt,stop:hn}}function useElementBounding(xe,$e={}){const{reset:Ie=!0,windowResize:Fe=!0,windowScroll:Ue=!0,immediate:qe=!0}=$e,At=ref(0),Dt=ref(0),Lt=ref(0),jt=ref(0),hn=ref(0),vn=ref(0),bn=ref(0),_n=ref(0);function wn(){const kn=unrefElement(xe);if(!kn){Ie&&(At.value=0,Dt.value=0,Lt.value=0,jt.value=0,hn.value=0,vn.value=0,bn.value=0,_n.value=0);return}const Cn=kn.getBoundingClientRect();At.value=Cn.height,Dt.value=Cn.bottom,Lt.value=Cn.left,jt.value=Cn.right,hn.value=Cn.top,vn.value=Cn.width,bn.value=Cn.x,_n.value=Cn.y}return useResizeObserver(xe,wn),watch(()=>unrefElement(xe),kn=>!kn&&wn()),Ue&&useEventListener("scroll",wn,{capture:!0,passive:!0}),Fe&&useEventListener("resize",wn,{passive:!0}),tryOnMounted$1(()=>{qe&&wn()}),{height:At,bottom:Dt,left:Lt,right:jt,top:hn,width:vn,x:bn,y:_n,update:wn}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$8.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$8)for(var Fe of __getOwnPropSymbols$8(xe))$e.indexOf(Fe)<0&&__propIsEnum$8.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useMutationObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$1(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"MutationObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new MutationObserver($e),At.observe(vn,qe))},{immediate:!0}),hn=()=>{Lt(),jt()};return tryOnScopeDispose$1(hn),{isSupported:Dt,stop:hn}}var SwipeDirection;(function(xe){xe.UP="UP",xe.RIGHT="RIGHT",xe.DOWN="DOWN",xe.LEFT="LEFT",xe.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(xe,$e,Ie)=>$e in xe?__defProp(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);if(__getOwnPropSymbols)for(var Ie of __getOwnPropSymbols($e))__propIsEnum.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);return xe};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity$1},_TransitionPresets);function useVModel(xe,$e,Ie,Fe={}){var Ue,qe,At;const{clone:Dt=!1,passive:Lt=!1,eventName:jt,deep:hn=!1,defaultValue:vn}=Fe,bn=getCurrentInstance(),_n=Ie||(bn==null?void 0:bn.emit)||((Ue=bn==null?void 0:bn.$emit)==null?void 0:Ue.bind(bn))||((At=(qe=bn==null?void 0:bn.proxy)==null?void 0:qe.$emit)==null?void 0:At.bind(bn==null?void 0:bn.proxy));let wn=jt;$e||($e="modelValue"),wn=jt||wn||`update:${$e.toString()}`;const kn=Sn=>Dt?isFunction$1(Dt)?Dt(Sn):cloneFnJSON(Sn):Sn,Cn=()=>isDef$1(xe[$e])?kn(xe[$e]):vn;if(Lt){const Sn=Cn(),xn=ref(Sn);return watch(()=>xe[$e],En=>xn.value=kn(En)),watch(xn,En=>{(En!==xe[$e]||hn)&&_n(wn,En)},{deep:hn}),xn}else return computed({get(){return Cn()},set(Sn){_n(wn,Sn)}})}function useWindowFocus({window:xe=defaultWindow}={}){if(!xe)return ref(!1);const $e=ref(xe.document.hasFocus());return useEventListener(xe,"blur",()=>{$e.value=!1}),useEventListener(xe,"focus",()=>{$e.value=!0}),$e}function useWindowSize(xe={}){const{window:$e=defaultWindow,initialWidth:Ie=1/0,initialHeight:Fe=1/0,listenOrientation:Ue=!0,includeScrollbar:qe=!0}=xe,At=ref(Ie),Dt=ref(Fe),Lt=()=>{$e&&(qe?(At.value=$e.innerWidth,Dt.value=$e.innerHeight):(At.value=$e.document.documentElement.clientWidth,Dt.value=$e.document.documentElement.clientHeight))};return Lt(),tryOnMounted$1(Lt),useEventListener("resize",Lt,{passive:!0}),Ue&&useEventListener("orientationchange",Lt,{passive:!0}),{width:At,height:Dt}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(xe,$e)=>{if(!isClient$1||!xe||!$e)return!1;const Ie=xe.getBoundingClientRect();let Fe;return $e instanceof Element?Fe=$e.getBoundingClientRect():Fe={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},Ie.topFe.top&&Ie.right>Fe.left&&Ie.left{let $e=0,Ie=xe;for(;Ie;)$e+=Ie.offsetTop,Ie=Ie.offsetParent;return $e},getOffsetTopDistance=(xe,$e)=>Math.abs(getOffsetTop(xe)-getOffsetTop($e)),getClientXY=xe=>{let $e,Ie;return xe.type==="touchend"?(Ie=xe.changedTouches[0].clientY,$e=xe.changedTouches[0].clientX):xe.type.startsWith("touch")?(Ie=xe.touches[0].clientY,$e=xe.touches[0].clientX):(Ie=xe.clientY,$e=xe.clientX),{clientX:$e,clientY:Ie}};function easeInOutCubic(xe,$e,Ie,Fe){const Ue=Ie-$e;return xe/=Fe/2,xe<1?Ue/2*xe*xe*xe+$e:Ue/2*((xe-=2)*xe*xe+2)+$e}const isUndefined=xe=>xe===void 0,isBoolean=xe=>typeof xe=="boolean",isNumber$1=xe=>typeof xe=="number",isEmpty=xe=>!xe&&xe!==0||isArray$6(xe)&&xe.length===0||isObject$8(xe)&&!Object.keys(xe).length,isElement$1=xe=>typeof Element>"u"?!1:xe instanceof Element,isPropAbsent=xe=>isNil(xe),isStringNumber=xe=>isString$4(xe)?!Number.isNaN(Number(xe)):!1,isWindow=xe=>xe===window,rAF=xe=>isClient$1?window.requestAnimationFrame(xe):setTimeout(xe,16),cAF=xe=>isClient$1?window.cancelAnimationFrame(xe):clearTimeout(xe),escapeStringRegexp=(xe="")=>xe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=xe=>capitalize$1(xe),keysOf=xe=>Object.keys(xe),entriesOf=xe=>Object.entries(xe),getProp=(xe,$e,Ie)=>({get value(){return get$1(xe,$e,Ie)},set value(Fe){set$2(xe,$e,Fe)}});class ElementPlusError extends Error{constructor($e){super($e),this.name="ElementPlusError"}}function throwError$1(xe,$e){throw new ElementPlusError(`[${xe}] ${$e}`)}function debugWarn(xe,$e){}const classNameToArray=(xe="")=>xe.split(" ").filter($e=>!!$e.trim()),hasClass=(xe,$e)=>{if(!xe||!$e)return!1;if($e.includes(" "))throw new Error("className should not contain space.");return xe.classList.contains($e)},addClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.add(...classNameToArray($e))},removeClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.remove(...classNameToArray($e))},getStyle$1=(xe,$e)=>{var Ie;if(!isClient$1||!xe||!$e)return"";let Fe=camelize($e);Fe==="float"&&(Fe="cssFloat");try{const Ue=xe.style[Fe];if(Ue)return Ue;const qe=(Ie=document.defaultView)==null?void 0:Ie.getComputedStyle(xe,"");return qe?qe[Fe]:""}catch{return xe.style[Fe]}};function addUnit(xe,$e="px"){if(!xe)return"";if(isNumber$1(xe)||isStringNumber(xe))return`${xe}${$e}`;if(isString$4(xe))return xe}const isScroll=(xe,$e)=>{if(!isClient$1)return!1;const Ie={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String($e)],Fe=getStyle$1(xe,Ie);return["scroll","auto","overlay"].some(Ue=>Fe.includes(Ue))},getScrollContainer=(xe,$e)=>{if(!isClient$1)return;let Ie=xe;for(;Ie;){if([window,document,document.documentElement].includes(Ie))return window;if(isScroll(Ie,$e))return Ie;Ie=Ie.parentNode}return Ie};let scrollBarWidth;const getScrollBarWidth=xe=>{var $e;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const Ie=document.createElement("div");Ie.className=`${xe}-scrollbar__wrap`,Ie.style.visibility="hidden",Ie.style.width="100px",Ie.style.position="absolute",Ie.style.top="-9999px",document.body.appendChild(Ie);const Fe=Ie.offsetWidth;Ie.style.overflow="scroll";const Ue=document.createElement("div");Ue.style.width="100%",Ie.appendChild(Ue);const qe=Ue.offsetWidth;return($e=Ie.parentNode)==null||$e.removeChild(Ie),scrollBarWidth=Fe-qe,scrollBarWidth};function scrollIntoView(xe,$e){if(!isClient$1)return;if(!$e){xe.scrollTop=0;return}const Ie=[];let Fe=$e.offsetParent;for(;Fe!==null&&xe!==Fe&&xe.contains(Fe);)Ie.push(Fe),Fe=Fe.offsetParent;const Ue=$e.offsetTop+Ie.reduce((Lt,jt)=>Lt+jt.offsetTop,0),qe=Ue+$e.offsetHeight,At=xe.scrollTop,Dt=At+xe.clientHeight;UeDt&&(xe.scrollTop=qe-xe.clientHeight)}function animateScrollTo(xe,$e,Ie,Fe,Ue){const qe=Date.now();let At;const Dt=()=>{const jt=Date.now()-qe,hn=easeInOutCubic(jt>Fe?Fe:jt,$e,Ie,Fe);isWindow(xe)?xe.scrollTo(window.pageXOffset,hn):xe.scrollTop=hn,jt{At&&cAF(At)}}const getScrollElement=(xe,$e)=>isWindow($e)?xe.ownerDocument.documentElement:$e,getScrollTop=xe=>isWindow(xe)?window.scrollY:xe.scrollTop,getElement=xe=>{if(!isClient$1||xe==="")return null;if(isString$4(xe))try{return document.querySelector(xe)}catch{return null}return xe};/*! Element Plus Icons Vue v2.3.1 */var arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const epPropKey="__epPropKey",definePropType=xe=>xe,isEpProp=xe=>isObject$8(xe)&&!!xe[epPropKey],buildProp=(xe,$e)=>{if(!isObject$8(xe)||isEpProp(xe))return xe;const{values:Ie,required:Fe,default:Ue,type:qe,validator:At}=xe,Lt={type:qe,required:!!Fe,validator:Ie||At?jt=>{let hn=!1,vn=[];if(Ie&&(vn=Array.from(Ie),hasOwn$1(xe,"default")&&vn.push(Ue),hn||(hn=vn.includes(jt))),At&&(hn||(hn=At(jt))),!hn&&vn.length>0){const bn=[...new Set(vn)].map(_n=>JSON.stringify(_n)).join(", ");warn$2(`Invalid prop: validation failed${$e?` for prop "${$e}"`:""}. Expected one of [${bn}], got value ${JSON.stringify(jt)}.`)}return hn}:void 0,[epPropKey]:!0};return hasOwn$1(xe,"default")&&(Lt.default=Ue),Lt},buildProps=xe=>fromPairs(Object.entries(xe).map(([$e,Ie])=>[$e,buildProp(Ie,$e)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(xe,$e)=>{if(xe.install=Ie=>{for(const Fe of[xe,...Object.values($e??{})])Ie.component(Fe.name,Fe)},$e)for(const[Ie,Fe]of Object.entries($e))xe[Ie]=Fe;return xe},withInstallFunction=(xe,$e)=>(xe.install=Ie=>{xe._context=Ie._context,Ie.config.globalProperties[$e]=xe},xe),withInstallDirective=(xe,$e)=>(xe.install=Ie=>{Ie.directive($e,xe)},xe),withNoopInstall=xe=>(xe.install=NOOP,xe),composeRefs=(...xe)=>$e=>{xe.forEach(Ie=>{isFunction$5(Ie)?Ie($e):Ie.value=$e})},EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},datePickTypes=["year","years","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",INSTALLED_KEY=Symbol("INSTALLED_KEY"),componentSizes=["","default","small","large"],isValidComponentSize=xe=>["",...componentSizes].includes(xe);var PatchFlags=(xe=>(xe[xe.TEXT=1]="TEXT",xe[xe.CLASS=2]="CLASS",xe[xe.STYLE=4]="STYLE",xe[xe.PROPS=8]="PROPS",xe[xe.FULL_PROPS=16]="FULL_PROPS",xe[xe.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",xe[xe.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",xe[xe.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",xe[xe.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",xe[xe.NEED_PATCH=512]="NEED_PATCH",xe[xe.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",xe[xe.HOISTED=-1]="HOISTED",xe[xe.BAIL=-2]="BAIL",xe))(PatchFlags||{});function isFragment(xe){return isVNode(xe)&&xe.type===Fragment}function isComment(xe){return isVNode(xe)&&xe.type===Comment$1}function isValidElementNode(xe){return isVNode(xe)&&!isFragment(xe)&&!isComment(xe)}const getNormalizedProps=xe=>{if(!isVNode(xe))return{};const $e=xe.props||{},Ie=(isVNode(xe.type)?xe.type.props:void 0)||{},Fe={};return Object.keys(Ie).forEach(Ue=>{hasOwn$1(Ie[Ue],"default")&&(Fe[Ue]=Ie[Ue].default)}),Object.keys($e).forEach(Ue=>{Fe[camelize(Ue)]=$e[Ue]}),Fe},ensureOnlyChild=xe=>{if(!isArray$6(xe)||xe.length>1)throw new Error("expect to receive a single Vue element child");return xe[0]},flattedChildren=xe=>{const $e=isArray$6(xe)?xe:[xe],Ie=[];return $e.forEach(Fe=>{var Ue;isArray$6(Fe)?Ie.push(...flattedChildren(Fe)):isVNode(Fe)&&isArray$6(Fe.children)?Ie.push(...flattedChildren(Fe.children)):(Ie.push(Fe),isVNode(Fe)&&((Ue=Fe.component)!=null&&Ue.subTree)&&Ie.push(...flattedChildren(Fe.component.subTree)))}),Ie},unique=xe=>[...new Set(xe)],castArray=xe=>!xe&&xe!==0?[]:Array.isArray(xe)?xe:[xe],isKorean=xe=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(xe),mutable=xe=>xe;function throttleByRaf(xe){let $e=0;const Ie=(...Fe)=>{$e&&cAF($e),$e=rAF(()=>{xe(...Fe),$e=0})};return Ie.cancel=()=>{cAF($e),$e=0},Ie}const DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(xe={})=>{const{excludeListeners:$e=!1,excludeKeys:Ie}=xe,Fe=computed(()=>((Ie==null?void 0:Ie.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),Ue=getCurrentInstance();return computed(Ue?()=>{var qe;return fromPairs(Object.entries((qe=Ue.proxy)==null?void 0:qe.$attrs).filter(([At])=>!Fe.value.includes(At)&&!($e&&LISTENER_PREFIX.test(At))))}:()=>({}))},useDeprecated=({from:xe,replacement:$e,scope:Ie,version:Fe,ref:Ue,type:qe="API"},At)=>{watch(()=>unref(At),Dt=>{},{immediate:!0})},useDraggable=(xe,$e,Ie,Fe)=>{let Ue={offsetX:0,offsetY:0};const qe=Lt=>{const jt=Lt.clientX,hn=Lt.clientY,{offsetX:vn,offsetY:bn}=Ue,_n=xe.value.getBoundingClientRect(),wn=_n.left,kn=_n.top,Cn=_n.width,Sn=_n.height,xn=document.documentElement.clientWidth,En=document.documentElement.clientHeight,Tn=-wn+vn,An=-kn+bn,$n=xn-wn-Cn+vn,Pn=En-kn-Sn+bn,Nn=In=>{let On=vn+In.clientX-jt,Rn=bn+In.clientY-hn;Fe!=null&&Fe.value||(On=Math.min(Math.max(On,Tn),$n),Rn=Math.min(Math.max(Rn,An),Pn)),Ue={offsetX:On,offsetY:Rn},xe.value&&(xe.value.style.transform=`translate(${addUnit(On)}, ${addUnit(Rn)})`)},Mn=()=>{document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)},At=()=>{$e.value&&xe.value&&$e.value.addEventListener("mousedown",qe)},Dt=()=>{$e.value&&xe.value&&$e.value.removeEventListener("mousedown",qe)};onMounted(()=>{watchEffect(()=>{Ie.value?At():Dt()})}),onBeforeUnmount(()=>{Dt()})};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=xe=>($e,Ie)=>translate$1($e,Ie,unref(xe)),translate$1=(xe,$e,Ie)=>get$1(Ie,xe,xe).replace(/\{(\w+)\}/g,(Fe,Ue)=>{var qe;return`${(qe=$e==null?void 0:$e[Ue])!=null?qe:`{${Ue}}`}`}),buildLocaleContext=xe=>{const $e=computed(()=>unref(xe).name),Ie=isRef(xe)?xe:ref(xe);return{lang:$e,locale:Ie,t:buildTranslator(xe)}},localeContextKey=Symbol("localeContextKey"),useLocale=xe=>{const $e=xe||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>$e.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(xe,$e,Ie,Fe,Ue)=>{let qe=`${xe}-${$e}`;return Ie&&(qe+=`-${Ie}`),Fe&&(qe+=`__${Fe}`),Ue&&(qe+=`--${Ue}`),qe},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=xe=>{const $e=xe||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref($e)||defaultNamespace)},useNamespace=(xe,$e)=>{const Ie=useGetDerivedNamespace($e);return{namespace:Ie,b:(kn="")=>_bem(Ie.value,xe,kn,"",""),e:kn=>kn?_bem(Ie.value,xe,"",kn,""):"",m:kn=>kn?_bem(Ie.value,xe,"","",kn):"",be:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,Cn,""):"",em:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,"",kn,Cn):"",bm:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,"",Cn):"",bem:(kn,Cn,Sn)=>kn&&Cn&&Sn?_bem(Ie.value,xe,kn,Cn,Sn):"",is:(kn,...Cn)=>{const Sn=Cn.length>=1?Cn[0]:!0;return kn&&Sn?`${statePrefix}${kn}`:""},cssVar:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${Sn}`]=kn[Sn]);return Cn},cssVarName:kn=>`--${Ie.value}-${kn}`,cssVarBlock:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${xe}-${Sn}`]=kn[Sn]);return Cn},cssVarBlockName:kn=>`--${Ie.value}-${xe}-${kn}`}},useLockscreen=(xe,$e={})=>{isRef(xe)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const Ie=$e.ns||useNamespace("popup"),Fe=computed(()=>Ie.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,Fe.value))return;let Ue=0,qe=!1,At="0";const Dt=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,Fe.value),qe&&document&&(document.body.style.width=At)},200)};watch(xe,Lt=>{if(!Lt){Dt();return}qe=!hasClass(document.body,Fe.value),qe&&(At=document.body.style.width),Ue=getScrollBarWidth(Ie.namespace.value);const jt=document.documentElement.clientHeight0&&(jt||hn==="scroll")&&qe&&(document.body.style.width=`calc(100% - ${Ue}px)`),addClass(document.body,Fe.value)}),onScopeDispose(()=>Dt())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=xe=>{const $e=`update:${xe}`,Ie=`onUpdate:${xe}`,Fe=[$e],Ue={[xe]:_prop,[Ie]:_event};return{useModelToggle:({indicator:At,toggleReason:Dt,shouldHideWhenRouteChanges:Lt,shouldProceed:jt,onShow:hn,onHide:vn})=>{const bn=getCurrentInstance(),{emit:_n}=bn,wn=bn.props,kn=computed(()=>isFunction$5(wn[Ie])),Cn=computed(()=>wn[xe]===null),Sn=Pn=>{At.value!==!0&&(At.value=!0,Dt&&(Dt.value=Pn),isFunction$5(hn)&&hn(Pn))},xn=Pn=>{At.value!==!1&&(At.value=!1,Dt&&(Dt.value=Pn),isFunction$5(vn)&&vn(Pn))},En=Pn=>{if(wn.disabled===!0||isFunction$5(jt)&&!jt())return;const Nn=kn.value&&isClient$1;Nn&&_n($e,!0),(Cn.value||!Nn)&&Sn(Pn)},Tn=Pn=>{if(wn.disabled===!0||!isClient$1)return;const Nn=kn.value&&isClient$1;Nn&&_n($e,!1),(Cn.value||!Nn)&&xn(Pn)},An=Pn=>{isBoolean(Pn)&&(wn.disabled&&Pn?kn.value&&_n($e,!1):At.value!==Pn&&(Pn?Sn():xn()))},$n=()=>{At.value?Tn():En()};return watch(()=>wn[xe],An),Lt&&bn.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...bn.proxy.$route}),()=>{Lt.value&&At.value&&Tn()}),onMounted(()=>{An(wn[xe])}),{hide:Tn,show:En,toggle:$n,hasUpdateHandler:kn}},useModelToggleProps:Ue,useModelToggleEmits:Fe}};createModelToggleComposable("modelValue");const useProp=xe=>{const $e=getCurrentInstance();return computed(()=>{var Ie,Fe;return(Fe=(Ie=$e==null?void 0:$e.proxy)==null?void 0:Ie.$props)==null?void 0:Fe[xe]})};var E$1="top",R="bottom",W="right",P$1="left",me="auto",G=[E$1,R,W,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(xe,$e){return xe.concat([$e+"-"+U$1,$e+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(xe,$e){return xe.concat([$e,$e+"-"+U$1,$e+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt$1="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt$1];function C(xe){return xe?(xe.nodeName||"").toLowerCase():null}function H(xe){if(xe==null)return window;if(xe.toString()!=="[object Window]"){var $e=xe.ownerDocument;return $e&&$e.defaultView||window}return xe}function Q(xe){var $e=H(xe).Element;return xe instanceof $e||xe instanceof Element}function B(xe){var $e=H(xe).HTMLElement;return xe instanceof $e||xe instanceof HTMLElement}function Pe(xe){if(typeof ShadowRoot>"u")return!1;var $e=H(xe).ShadowRoot;return xe instanceof $e||xe instanceof ShadowRoot}function Mt(xe){var $e=xe.state;Object.keys($e.elements).forEach(function(Ie){var Fe=$e.styles[Ie]||{},Ue=$e.attributes[Ie]||{},qe=$e.elements[Ie];!B(qe)||!C(qe)||(Object.assign(qe.style,Fe),Object.keys(Ue).forEach(function(At){var Dt=Ue[At];Dt===!1?qe.removeAttribute(At):qe.setAttribute(At,Dt===!0?"":Dt)}))})}function Rt(xe){var $e=xe.state,Ie={popper:{position:$e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign($e.elements.popper.style,Ie.popper),$e.styles=Ie,$e.elements.arrow&&Object.assign($e.elements.arrow.style,Ie.arrow),function(){Object.keys($e.elements).forEach(function(Fe){var Ue=$e.elements[Fe],qe=$e.attributes[Fe]||{},At=Object.keys($e.styles.hasOwnProperty(Fe)?$e.styles[Fe]:Ie[Fe]),Dt=At.reduce(function(Lt,jt){return Lt[jt]="",Lt},{});!B(Ue)||!C(Ue)||(Object.assign(Ue.style,Dt),Object.keys(qe).forEach(function(Lt){Ue.removeAttribute(Lt)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(xe){return xe.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(xe,$e){$e===void 0&&($e=!1);var Ie=xe.getBoundingClientRect(),Fe=1,Ue=1;if(B(xe)&&$e){var qe=xe.offsetHeight,At=xe.offsetWidth;At>0&&(Fe=Z(Ie.width)/At||1),qe>0&&(Ue=Z(Ie.height)/qe||1)}return{width:Ie.width/Fe,height:Ie.height/Ue,top:Ie.top/Ue,right:Ie.right/Fe,bottom:Ie.bottom/Ue,left:Ie.left/Fe,x:Ie.left/Fe,y:Ie.top/Ue}}function ke(xe){var $e=ee(xe),Ie=xe.offsetWidth,Fe=xe.offsetHeight;return Math.abs($e.width-Ie)<=1&&(Ie=$e.width),Math.abs($e.height-Fe)<=1&&(Fe=$e.height),{x:xe.offsetLeft,y:xe.offsetTop,width:Ie,height:Fe}}function it(xe,$e){var Ie=$e.getRootNode&&$e.getRootNode();if(xe.contains($e))return!0;if(Ie&&Pe(Ie)){var Fe=$e;do{if(Fe&&xe.isSameNode(Fe))return!0;Fe=Fe.parentNode||Fe.host}while(Fe)}return!1}function N$1(xe){return H(xe).getComputedStyle(xe)}function Wt(xe){return["table","td","th"].indexOf(C(xe))>=0}function I$1(xe){return((Q(xe)?xe.ownerDocument:xe.document)||window.document).documentElement}function ge(xe){return C(xe)==="html"?xe:xe.assignedSlot||xe.parentNode||(Pe(xe)?xe.host:null)||I$1(xe)}function at(xe){return!B(xe)||N$1(xe).position==="fixed"?null:xe.offsetParent}function Bt(xe){var $e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,Ie=navigator.userAgent.indexOf("Trident")!==-1;if(Ie&&B(xe)){var Fe=N$1(xe);if(Fe.position==="fixed")return null}var Ue=ge(xe);for(Pe(Ue)&&(Ue=Ue.host);B(Ue)&&["html","body"].indexOf(C(Ue))<0;){var qe=N$1(Ue);if(qe.transform!=="none"||qe.perspective!=="none"||qe.contain==="paint"||["transform","perspective"].indexOf(qe.willChange)!==-1||$e&&qe.willChange==="filter"||$e&&qe.filter&&qe.filter!=="none")return Ue;Ue=Ue.parentNode}return null}function se(xe){for(var $e=H(xe),Ie=at(xe);Ie&&Wt(Ie)&&N$1(Ie).position==="static";)Ie=at(Ie);return Ie&&(C(Ie)==="html"||C(Ie)==="body"&&N$1(Ie).position==="static")?$e:Ie||Bt(xe)||$e}function Le(xe){return["top","bottom"].indexOf(xe)>=0?"x":"y"}function fe(xe,$e,Ie){return X$1(xe,ve($e,Ie))}function St(xe,$e,Ie){var Fe=fe(xe,$e,Ie);return Fe>Ie?Ie:Fe}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(xe){return Object.assign({},st(),xe)}function ct(xe,$e){return $e.reduce(function(Ie,Fe){return Ie[Fe]=xe,Ie},{})}var Tt=function(xe,$e){return xe=typeof xe=="function"?xe(Object.assign({},$e.rects,{placement:$e.placement})):xe,ft(typeof xe!="number"?xe:ct(xe,G))};function Ht(xe){var $e,Ie=xe.state,Fe=xe.name,Ue=xe.options,qe=Ie.elements.arrow,At=Ie.modifiersData.popperOffsets,Dt=q(Ie.placement),Lt=Le(Dt),jt=[P$1,W].indexOf(Dt)>=0,hn=jt?"height":"width";if(!(!qe||!At)){var vn=Tt(Ue.padding,Ie),bn=ke(qe),_n=Lt==="y"?E$1:P$1,wn=Lt==="y"?R:W,kn=Ie.rects.reference[hn]+Ie.rects.reference[Lt]-At[Lt]-Ie.rects.popper[hn],Cn=At[Lt]-Ie.rects.reference[Lt],Sn=se(qe),xn=Sn?Lt==="y"?Sn.clientHeight||0:Sn.clientWidth||0:0,En=kn/2-Cn/2,Tn=vn[_n],An=xn-bn[hn]-vn[wn],$n=xn/2-bn[hn]/2+En,Pn=fe(Tn,$n,An),Nn=Lt;Ie.modifiersData[Fe]=($e={},$e[Nn]=Pn,$e.centerOffset=Pn-$n,$e)}}function Ct(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.element,Ue=Fe===void 0?"[data-popper-arrow]":Fe;Ue!=null&&(typeof Ue=="string"&&(Ue=$e.elements.popper.querySelector(Ue),!Ue)||!it($e.elements.popper,Ue)||($e.elements.arrow=Ue))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(xe){return xe.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(xe){var $e=xe.x,Ie=xe.y,Fe=window,Ue=Fe.devicePixelRatio||1;return{x:Z($e*Ue)/Ue||0,y:Z(Ie*Ue)/Ue||0}}function ut(xe){var $e,Ie=xe.popper,Fe=xe.popperRect,Ue=xe.placement,qe=xe.variation,At=xe.offsets,Dt=xe.position,Lt=xe.gpuAcceleration,jt=xe.adaptive,hn=xe.roundOffsets,vn=xe.isFixed,bn=At.x,_n=bn===void 0?0:bn,wn=At.y,kn=wn===void 0?0:wn,Cn=typeof hn=="function"?hn({x:_n,y:kn}):{x:_n,y:kn};_n=Cn.x,kn=Cn.y;var Sn=At.hasOwnProperty("x"),xn=At.hasOwnProperty("y"),En=P$1,Tn=E$1,An=window;if(jt){var $n=se(Ie),Pn="clientHeight",Nn="clientWidth";if($n===H(Ie)&&($n=I$1(Ie),N$1($n).position!=="static"&&Dt==="absolute"&&(Pn="scrollHeight",Nn="scrollWidth")),$n=$n,Ue===E$1||(Ue===P$1||Ue===W)&&qe===J){Tn=R;var Mn=vn&&$n===An&&An.visualViewport?An.visualViewport.height:$n[Pn];kn-=Mn-Fe.height,kn*=Lt?1:-1}if(Ue===P$1||(Ue===E$1||Ue===R)&&qe===J){En=W;var In=vn&&$n===An&&An.visualViewport?An.visualViewport.width:$n[Nn];_n-=In-Fe.width,_n*=Lt?1:-1}}var On=Object.assign({position:Dt},jt&&qt),Rn=hn===!0?Vt({x:_n,y:kn}):{x:_n,y:kn};if(_n=Rn.x,kn=Rn.y,Lt){var Bn;return Object.assign({},On,(Bn={},Bn[Tn]=xn?"0":"",Bn[En]=Sn?"0":"",Bn.transform=(An.devicePixelRatio||1)<=1?"translate("+_n+"px, "+kn+"px)":"translate3d("+_n+"px, "+kn+"px, 0)",Bn))}return Object.assign({},On,($e={},$e[Tn]=xn?kn+"px":"",$e[En]=Sn?_n+"px":"",$e.transform="",$e))}function Nt(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.gpuAcceleration,Ue=Fe===void 0?!0:Fe,qe=Ie.adaptive,At=qe===void 0?!0:qe,Dt=Ie.roundOffsets,Lt=Dt===void 0?!0:Dt,jt={placement:q($e.placement),variation:te($e.placement),popper:$e.elements.popper,popperRect:$e.rects.popper,gpuAcceleration:Ue,isFixed:$e.options.strategy==="fixed"};$e.modifiersData.popperOffsets!=null&&($e.styles.popper=Object.assign({},$e.styles.popper,ut(Object.assign({},jt,{offsets:$e.modifiersData.popperOffsets,position:$e.options.strategy,adaptive:At,roundOffsets:Lt})))),$e.modifiersData.arrow!=null&&($e.styles.arrow=Object.assign({},$e.styles.arrow,ut(Object.assign({},jt,{offsets:$e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Lt})))),$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-placement":$e.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(xe){var $e=xe.state,Ie=xe.instance,Fe=xe.options,Ue=Fe.scroll,qe=Ue===void 0?!0:Ue,At=Fe.resize,Dt=At===void 0?!0:At,Lt=H($e.elements.popper),jt=[].concat($e.scrollParents.reference,$e.scrollParents.popper);return qe&&jt.forEach(function(hn){hn.addEventListener("scroll",Ie.update,ye)}),Dt&&Lt.addEventListener("resize",Ie.update,ye),function(){qe&&jt.forEach(function(hn){hn.removeEventListener("scroll",Ie.update,ye)}),Dt&&Lt.removeEventListener("resize",Ie.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(xe){return xe.replace(/left|right|bottom|top/g,function($e){return _t[$e]})}var zt={start:"end",end:"start"};function lt$1(xe){return xe.replace(/start|end/g,function($e){return zt[$e]})}function We(xe){var $e=H(xe),Ie=$e.pageXOffset,Fe=$e.pageYOffset;return{scrollLeft:Ie,scrollTop:Fe}}function Be(xe){return ee(I$1(xe)).left+We(xe).scrollLeft}function Ft(xe){var $e=H(xe),Ie=I$1(xe),Fe=$e.visualViewport,Ue=Ie.clientWidth,qe=Ie.clientHeight,At=0,Dt=0;return Fe&&(Ue=Fe.width,qe=Fe.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(At=Fe.offsetLeft,Dt=Fe.offsetTop)),{width:Ue,height:qe,x:At+Be(xe),y:Dt}}function Ut(xe){var $e,Ie=I$1(xe),Fe=We(xe),Ue=($e=xe.ownerDocument)==null?void 0:$e.body,qe=X$1(Ie.scrollWidth,Ie.clientWidth,Ue?Ue.scrollWidth:0,Ue?Ue.clientWidth:0),At=X$1(Ie.scrollHeight,Ie.clientHeight,Ue?Ue.scrollHeight:0,Ue?Ue.clientHeight:0),Dt=-Fe.scrollLeft+Be(xe),Lt=-Fe.scrollTop;return N$1(Ue||Ie).direction==="rtl"&&(Dt+=X$1(Ie.clientWidth,Ue?Ue.clientWidth:0)-qe),{width:qe,height:At,x:Dt,y:Lt}}function Se(xe){var $e=N$1(xe),Ie=$e.overflow,Fe=$e.overflowX,Ue=$e.overflowY;return/auto|scroll|overlay|hidden/.test(Ie+Ue+Fe)}function dt(xe){return["html","body","#document"].indexOf(C(xe))>=0?xe.ownerDocument.body:B(xe)&&Se(xe)?xe:dt(ge(xe))}function ce(xe,$e){var Ie;$e===void 0&&($e=[]);var Fe=dt(xe),Ue=Fe===((Ie=xe.ownerDocument)==null?void 0:Ie.body),qe=H(Fe),At=Ue?[qe].concat(qe.visualViewport||[],Se(Fe)?Fe:[]):Fe,Dt=$e.concat(At);return Ue?Dt:Dt.concat(ce(ge(At)))}function Te(xe){return Object.assign({},xe,{left:xe.x,top:xe.y,right:xe.x+xe.width,bottom:xe.y+xe.height})}function Xt(xe){var $e=ee(xe);return $e.top=$e.top+xe.clientTop,$e.left=$e.left+xe.clientLeft,$e.bottom=$e.top+xe.clientHeight,$e.right=$e.left+xe.clientWidth,$e.width=xe.clientWidth,$e.height=xe.clientHeight,$e.x=$e.left,$e.y=$e.top,$e}function ht(xe,$e){return $e===je?Te(Ft(xe)):Q($e)?Xt($e):Te(Ut(I$1(xe)))}function Yt(xe){var $e=ce(ge(xe)),Ie=["absolute","fixed"].indexOf(N$1(xe).position)>=0,Fe=Ie&&B(xe)?se(xe):xe;return Q(Fe)?$e.filter(function(Ue){return Q(Ue)&&it(Ue,Fe)&&C(Ue)!=="body"}):[]}function Gt(xe,$e,Ie){var Fe=$e==="clippingParents"?Yt(xe):[].concat($e),Ue=[].concat(Fe,[Ie]),qe=Ue[0],At=Ue.reduce(function(Dt,Lt){var jt=ht(xe,Lt);return Dt.top=X$1(jt.top,Dt.top),Dt.right=ve(jt.right,Dt.right),Dt.bottom=ve(jt.bottom,Dt.bottom),Dt.left=X$1(jt.left,Dt.left),Dt},ht(xe,qe));return At.width=At.right-At.left,At.height=At.bottom-At.top,At.x=At.left,At.y=At.top,At}function mt(xe){var $e=xe.reference,Ie=xe.element,Fe=xe.placement,Ue=Fe?q(Fe):null,qe=Fe?te(Fe):null,At=$e.x+$e.width/2-Ie.width/2,Dt=$e.y+$e.height/2-Ie.height/2,Lt;switch(Ue){case E$1:Lt={x:At,y:$e.y-Ie.height};break;case R:Lt={x:At,y:$e.y+$e.height};break;case W:Lt={x:$e.x+$e.width,y:Dt};break;case P$1:Lt={x:$e.x-Ie.width,y:Dt};break;default:Lt={x:$e.x,y:$e.y}}var jt=Ue?Le(Ue):null;if(jt!=null){var hn=jt==="y"?"height":"width";switch(qe){case U$1:Lt[jt]=Lt[jt]-($e[hn]/2-Ie[hn]/2);break;case J:Lt[jt]=Lt[jt]+($e[hn]/2-Ie[hn]/2);break}}return Lt}function ne(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Fe===void 0?xe.placement:Fe,qe=Ie.boundary,At=qe===void 0?Xe:qe,Dt=Ie.rootBoundary,Lt=Dt===void 0?je:Dt,jt=Ie.elementContext,hn=jt===void 0?K:jt,vn=Ie.altBoundary,bn=vn===void 0?!1:vn,_n=Ie.padding,wn=_n===void 0?0:_n,kn=ft(typeof wn!="number"?wn:ct(wn,G)),Cn=hn===K?Ye:K,Sn=xe.rects.popper,xn=xe.elements[bn?Cn:hn],En=Gt(Q(xn)?xn:xn.contextElement||I$1(xe.elements.popper),At,Lt),Tn=ee(xe.elements.reference),An=mt({reference:Tn,element:Sn,strategy:"absolute",placement:Ue}),$n=Te(Object.assign({},Sn,An)),Pn=hn===K?$n:Tn,Nn={top:En.top-Pn.top+kn.top,bottom:Pn.bottom-En.bottom+kn.bottom,left:En.left-Pn.left+kn.left,right:Pn.right-En.right+kn.right},Mn=xe.modifiersData.offset;if(hn===K&&Mn){var In=Mn[Ue];Object.keys(Nn).forEach(function(On){var Rn=[W,R].indexOf(On)>=0?1:-1,Bn=[E$1,R].indexOf(On)>=0?"y":"x";Nn[On]+=In[Bn]*Rn})}return Nn}function Jt(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Ie.boundary,qe=Ie.rootBoundary,At=Ie.padding,Dt=Ie.flipVariations,Lt=Ie.allowedAutoPlacements,jt=Lt===void 0?Ee:Lt,hn=te(Fe),vn=hn?Dt?De:De.filter(function(wn){return te(wn)===hn}):G,bn=vn.filter(function(wn){return jt.indexOf(wn)>=0});bn.length===0&&(bn=vn);var _n=bn.reduce(function(wn,kn){return wn[kn]=ne(xe,{placement:kn,boundary:Ue,rootBoundary:qe,padding:At})[q(kn)],wn},{});return Object.keys(_n).sort(function(wn,kn){return _n[wn]-_n[kn]})}function Kt(xe){if(q(xe)===me)return[];var $e=be(xe);return[lt$1(xe),$e,lt$1($e)]}function Qt(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name;if(!$e.modifiersData[Fe]._skip){for(var Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!0:At,Lt=Ie.fallbackPlacements,jt=Ie.padding,hn=Ie.boundary,vn=Ie.rootBoundary,bn=Ie.altBoundary,_n=Ie.flipVariations,wn=_n===void 0?!0:_n,kn=Ie.allowedAutoPlacements,Cn=$e.options.placement,Sn=q(Cn),xn=Sn===Cn,En=Lt||(xn||!wn?[be(Cn)]:Kt(Cn)),Tn=[Cn].concat(En).reduce(function(er,rr){return er.concat(q(rr)===me?Jt($e,{placement:rr,boundary:hn,rootBoundary:vn,padding:jt,flipVariations:wn,allowedAutoPlacements:kn}):rr)},[]),An=$e.rects.reference,$n=$e.rects.popper,Pn=new Map,Nn=!0,Mn=Tn[0],In=0;In=0,Ln=Vn?"width":"height",Dn=ne($e,{placement:On,boundary:hn,rootBoundary:vn,altBoundary:bn,padding:jt}),Hn=Vn?Bn?W:P$1:Bn?R:E$1;An[Ln]>$n[Ln]&&(Hn=be(Hn));var Fn=be(Hn),zn=[];if(qe&&zn.push(Dn[Rn]<=0),Dt&&zn.push(Dn[Hn]<=0,Dn[Fn]<=0),zn.every(function(er){return er})){Mn=On,Nn=!1;break}Pn.set(On,zn)}if(Nn)for(var jn=wn?3:1,Gn=function(er){var rr=Tn.find(function(Jn){var Yn=Pn.get(Jn);if(Yn)return Yn.slice(0,er).every(function(qn){return qn})});if(rr)return Mn=rr,"break"},Wn=jn;Wn>0;Wn--){var Xn=Gn(Wn);if(Xn==="break")break}$e.placement!==Mn&&($e.modifiersData[Fe]._skip=!0,$e.placement=Mn,$e.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(xe,$e,Ie){return Ie===void 0&&(Ie={x:0,y:0}),{top:xe.top-$e.height-Ie.y,right:xe.right-$e.width+Ie.x,bottom:xe.bottom-$e.height+Ie.y,left:xe.left-$e.width-Ie.x}}function yt(xe){return[E$1,W,R,P$1].some(function($e){return xe[$e]>=0})}function Zt(xe){var $e=xe.state,Ie=xe.name,Fe=$e.rects.reference,Ue=$e.rects.popper,qe=$e.modifiersData.preventOverflow,At=ne($e,{elementContext:"reference"}),Dt=ne($e,{altBoundary:!0}),Lt=gt(At,Fe),jt=gt(Dt,Ue,qe),hn=yt(Lt),vn=yt(jt);$e.modifiersData[Ie]={referenceClippingOffsets:Lt,popperEscapeOffsets:jt,isReferenceHidden:hn,hasPopperEscaped:vn},$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-reference-hidden":hn,"data-popper-escaped":vn})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(xe,$e,Ie){var Fe=q(xe),Ue=[P$1,E$1].indexOf(Fe)>=0?-1:1,qe=typeof Ie=="function"?Ie(Object.assign({},$e,{placement:xe})):Ie,At=qe[0],Dt=qe[1];return At=At||0,Dt=(Dt||0)*Ue,[P$1,W].indexOf(Fe)>=0?{x:Dt,y:At}:{x:At,y:Dt}}function tn(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.offset,qe=Ue===void 0?[0,0]:Ue,At=Ee.reduce(function(hn,vn){return hn[vn]=en(vn,$e.rects,qe),hn},{}),Dt=At[$e.placement],Lt=Dt.x,jt=Dt.y;$e.modifiersData.popperOffsets!=null&&($e.modifiersData.popperOffsets.x+=Lt,$e.modifiersData.popperOffsets.y+=jt),$e.modifiersData[Fe]=At}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(xe){var $e=xe.state,Ie=xe.name;$e.modifiersData[Ie]=mt({reference:$e.rects.reference,element:$e.rects.popper,strategy:"absolute",placement:$e.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(xe){return xe==="x"?"y":"x"}function on(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!1:At,Lt=Ie.boundary,jt=Ie.rootBoundary,hn=Ie.altBoundary,vn=Ie.padding,bn=Ie.tether,_n=bn===void 0?!0:bn,wn=Ie.tetherOffset,kn=wn===void 0?0:wn,Cn=ne($e,{boundary:Lt,rootBoundary:jt,padding:vn,altBoundary:hn}),Sn=q($e.placement),xn=te($e.placement),En=!xn,Tn=Le(Sn),An=rn(Tn),$n=$e.modifiersData.popperOffsets,Pn=$e.rects.reference,Nn=$e.rects.popper,Mn=typeof kn=="function"?kn(Object.assign({},$e.rects,{placement:$e.placement})):kn,In=typeof Mn=="number"?{mainAxis:Mn,altAxis:Mn}:Object.assign({mainAxis:0,altAxis:0},Mn),On=$e.modifiersData.offset?$e.modifiersData.offset[$e.placement]:null,Rn={x:0,y:0};if($n){if(qe){var Bn,Vn=Tn==="y"?E$1:P$1,Ln=Tn==="y"?R:W,Dn=Tn==="y"?"height":"width",Hn=$n[Tn],Fn=Hn+Cn[Vn],zn=Hn-Cn[Ln],jn=_n?-Nn[Dn]/2:0,Gn=xn===U$1?Pn[Dn]:Nn[Dn],Wn=xn===U$1?-Nn[Dn]:-Pn[Dn],Xn=$e.elements.arrow,er=_n&&Xn?ke(Xn):{width:0,height:0},rr=$e.modifiersData["arrow#persistent"]?$e.modifiersData["arrow#persistent"].padding:st(),Jn=rr[Vn],Yn=rr[Ln],qn=fe(0,Pn[Dn],er[Dn]),ar=En?Pn[Dn]/2-jn-qn-Jn-In.mainAxis:Gn-qn-Jn-In.mainAxis,tr=En?-Pn[Dn]/2+jn+qn+Yn+In.mainAxis:Wn+qn+Yn+In.mainAxis,or=$e.elements.arrow&&se($e.elements.arrow),sr=or?Tn==="y"?or.clientTop||0:or.clientLeft||0:0,Kn=(Bn=On==null?void 0:On[Tn])!=null?Bn:0,Zn=Hn+ar-Kn-sr,nr=Hn+tr-Kn,lr=fe(_n?ve(Fn,Zn):Fn,Hn,_n?X$1(zn,nr):zn);$n[Tn]=lr,Rn[Tn]=lr-Hn}if(Dt){var ir,kr=Tn==="x"?E$1:P$1,Cr=Tn==="x"?R:W,Er=$n[An],dr=An==="y"?"height":"width",br=Er+Cn[kr],_r=Er-Cn[Cr],Pr=[E$1,P$1].indexOf(Sn)!==-1,gr=(ir=On==null?void 0:On[An])!=null?ir:0,xr=Pr?br:Er-Pn[dr]-Nn[dr]-gr+In.altAxis,Rr=Pr?Er+Pn[dr]+Nn[dr]-gr-In.altAxis:_r,Hr=_n&&Pr?St(xr,Er,Rr):fe(_n?xr:br,Er,_n?Rr:_r);$n[An]=Hr,Rn[An]=Hr-Er}$e.modifiersData[Fe]=Rn}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(xe){return{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}}function sn(xe){return xe===H(xe)||!B(xe)?We(xe):an(xe)}function fn(xe){var $e=xe.getBoundingClientRect(),Ie=Z($e.width)/xe.offsetWidth||1,Fe=Z($e.height)/xe.offsetHeight||1;return Ie!==1||Fe!==1}function cn(xe,$e,Ie){Ie===void 0&&(Ie=!1);var Fe=B($e),Ue=B($e)&&fn($e),qe=I$1($e),At=ee(xe,Ue),Dt={scrollLeft:0,scrollTop:0},Lt={x:0,y:0};return(Fe||!Fe&&!Ie)&&((C($e)!=="body"||Se(qe))&&(Dt=sn($e)),B($e)?(Lt=ee($e,!0),Lt.x+=$e.clientLeft,Lt.y+=$e.clientTop):qe&&(Lt.x=Be(qe))),{x:At.left+Dt.scrollLeft-Lt.x,y:At.top+Dt.scrollTop-Lt.y,width:At.width,height:At.height}}function pn(xe){var $e=new Map,Ie=new Set,Fe=[];xe.forEach(function(qe){$e.set(qe.name,qe)});function Ue(qe){Ie.add(qe.name);var At=[].concat(qe.requires||[],qe.requiresIfExists||[]);At.forEach(function(Dt){if(!Ie.has(Dt)){var Lt=$e.get(Dt);Lt&&Ue(Lt)}}),Fe.push(qe)}return xe.forEach(function(qe){Ie.has(qe.name)||Ue(qe)}),Fe}function un(xe){var $e=pn(xe);return ot.reduce(function(Ie,Fe){return Ie.concat($e.filter(function(Ue){return Ue.phase===Fe}))},[])}function ln(xe){var $e;return function(){return $e||($e=new Promise(function(Ie){Promise.resolve().then(function(){$e=void 0,Ie(xe())})})),$e}}function dn(xe){var $e=xe.reduce(function(Ie,Fe){var Ue=Ie[Fe.name];return Ie[Fe.name]=Ue?Object.assign({},Ue,Fe,{options:Object.assign({},Ue.options,Fe.options),data:Object.assign({},Ue.data,Fe.data)}):Fe,Ie},{});return Object.keys($e).map(function(Ie){return $e[Ie]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var xe=arguments.length,$e=new Array(xe),Ie=0;Ie{const Fe={name:"updateState",enabled:!0,phase:"write",fn:({state:Lt})=>{const jt=deriveState(Lt);Object.assign(At.value,jt)},requires:["computeStyles"]},Ue=computed(()=>{const{onFirstUpdate:Lt,placement:jt,strategy:hn,modifiers:vn}=unref(Ie);return{onFirstUpdate:Lt,placement:jt||"bottom",strategy:hn||"absolute",modifiers:[...vn||[],Fe,{name:"applyStyles",enabled:!1}]}}),qe=shallowRef(),At=ref({styles:{popper:{position:unref(Ue).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),Dt=()=>{qe.value&&(qe.value.destroy(),qe.value=void 0)};return watch(Ue,Lt=>{const jt=unref(qe);jt&&jt.setOptions(Lt)},{deep:!0}),watch([xe,$e],([Lt,jt])=>{Dt(),!(!Lt||!jt)&&(qe.value=yn(Lt,jt,unref(Ue)))}),onBeforeUnmount(()=>{Dt()}),{state:computed(()=>{var Lt;return{...((Lt=unref(qe))==null?void 0:Lt.state)||{}}}),styles:computed(()=>unref(At).styles),attributes:computed(()=>unref(At).attributes),update:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.update()},forceUpdate:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.forceUpdate()},instanceRef:computed(()=>unref(qe))}};function deriveState(xe){const $e=Object.keys(xe.elements),Ie=fromPairs($e.map(Ue=>[Ue,xe.styles[Ue]||{}])),Fe=fromPairs($e.map(Ue=>[Ue,xe.attributes[Ue]]));return{styles:Ie,attributes:Fe}}const useSameTarget=xe=>{if(!xe)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let $e=!1,Ie=!1;return{onClick:At=>{$e&&Ie&&xe(At),$e=Ie=!1},onMousedown:At=>{$e=At.target===At.currentTarget},onMouseup:At=>{Ie=At.target===At.currentTarget}}},useThrottleRender=(xe,$e=0)=>{if($e===0)return xe;const Ie=ref(!1);let Fe=0;const Ue=()=>{Fe&&clearTimeout(Fe),Fe=window.setTimeout(()=>{Ie.value=xe.value},$e)};return onMounted(Ue),watch(()=>xe.value,qe=>{qe?Ue():Ie.value=qe}),Ie};function useTimeout(){let xe;const $e=(Fe,Ue)=>{Ie(),xe=window.setTimeout(Fe,Ue)},Ie=()=>window.clearTimeout(xe);return tryOnScopeDispose$1(()=>Ie()),{registerTimeout:$e,cancelTimeout:Ie}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=xe=>{const $e=useIdInjection(),Ie=useGetDerivedNamespace();return computed(()=>unref(xe)||`${Ie.value}-id-${$e.prefix}-${$e.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=xe=>{const $e=xe;$e.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(Ie=>Ie($e))},useEscapeKeydown=xe=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(xe)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter($e=>$e!==xe),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const xe=useGetDerivedNamespace(),$e=useIdInjection(),Ie=computed(()=>`${xe.value}-popper-container-${$e.prefix}`),Fe=computed(()=>`#${Ie.value}`);return{id:Ie,selector:Fe}},createContainer=xe=>{const $e=document.createElement("div");return $e.id=xe,document.body.appendChild($e),$e},usePopperContainer=()=>{const{id:xe,selector:$e}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector($e.value)&&(cachedContainer=createContainer(xe.value))}),{id:xe,selector:$e}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:xe,hideAfter:$e,autoClose:Ie,open:Fe,close:Ue})=>{const{registerTimeout:qe}=useTimeout(),{registerTimeout:At,cancelTimeout:Dt}=useTimeout();return{onOpen:hn=>{qe(()=>{Fe(hn);const vn=unref(Ie);isNumber$1(vn)&&vn>0&&At(()=>{Ue(hn)},vn)},unref(xe))},onClose:hn=>{Dt(),qe(()=>{Ue(hn)},unref($e))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=xe=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:Ie=>{xe.value=Ie}})},useForwardRefDirective=xe=>({mounted($e){xe($e)},updated($e){xe($e)},unmounted(){xe(null)}}),initial={current:0},zIndex=ref(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=xe=>{const $e=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,Ie=xe||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),Fe=computed(()=>{const At=unref(Ie);return isNumber$1(At)?At:defaultInitialZIndex}),Ue=computed(()=>Fe.value+zIndex.value),qe=()=>($e.current++,zIndex.value=$e.current,Ue.value);return!isClient$1&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:Fe,currentZIndex:Ue,nextZIndex:qe}};function getNodeName(xe){return isNode(xe)?(xe.nodeName||"").toLowerCase():"#document"}function getWindow(xe){var $e;return(xe==null||($e=xe.ownerDocument)==null?void 0:$e.defaultView)||window}function getDocumentElement(xe){var $e;return($e=(isNode(xe)?xe.ownerDocument:xe.document)||window.document)==null?void 0:$e.documentElement}function isNode(xe){return xe instanceof Node||xe instanceof getWindow(xe).Node}function isElement(xe){return xe instanceof Element||xe instanceof getWindow(xe).Element}function isHTMLElement(xe){return xe instanceof HTMLElement||xe instanceof getWindow(xe).HTMLElement}function isShadowRoot(xe){return typeof ShadowRoot>"u"?!1:xe instanceof ShadowRoot||xe instanceof getWindow(xe).ShadowRoot}function isOverflowElement(xe){const{overflow:$e,overflowX:Ie,overflowY:Fe,display:Ue}=getComputedStyle$2(xe);return/auto|scroll|overlay|hidden|clip/.test($e+Fe+Ie)&&!["inline","contents"].includes(Ue)}function isTableElement(xe){return["table","td","th"].includes(getNodeName(xe))}function isContainingBlock(xe){const $e=isWebKit(),Ie=getComputedStyle$2(xe);return Ie.transform!=="none"||Ie.perspective!=="none"||(Ie.containerType?Ie.containerType!=="normal":!1)||!$e&&(Ie.backdropFilter?Ie.backdropFilter!=="none":!1)||!$e&&(Ie.filter?Ie.filter!=="none":!1)||["transform","perspective","filter"].some(Fe=>(Ie.willChange||"").includes(Fe))||["paint","layout","strict","content"].some(Fe=>(Ie.contain||"").includes(Fe))}function getContainingBlock(xe){let $e=getParentNode(xe);for(;isHTMLElement($e)&&!isLastTraversableNode($e);){if(isContainingBlock($e))return $e;$e=getParentNode($e)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(xe){return["html","body","#document"].includes(getNodeName(xe))}function getComputedStyle$2(xe){return getWindow(xe).getComputedStyle(xe)}function getNodeScroll(xe){return isElement(xe)?{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}:{scrollLeft:xe.pageXOffset,scrollTop:xe.pageYOffset}}function getParentNode(xe){if(getNodeName(xe)==="html")return xe;const $e=xe.assignedSlot||xe.parentNode||isShadowRoot(xe)&&xe.host||getDocumentElement(xe);return isShadowRoot($e)?$e.host:$e}function getNearestOverflowAncestor(xe){const $e=getParentNode(xe);return isLastTraversableNode($e)?xe.ownerDocument?xe.ownerDocument.body:xe.body:isHTMLElement($e)&&isOverflowElement($e)?$e:getNearestOverflowAncestor($e)}function getOverflowAncestors(xe,$e,Ie){var Fe;$e===void 0&&($e=[]),Ie===void 0&&(Ie=!0);const Ue=getNearestOverflowAncestor(xe),qe=Ue===((Fe=xe.ownerDocument)==null?void 0:Fe.body),At=getWindow(Ue);return qe?$e.concat(At,At.visualViewport||[],isOverflowElement(Ue)?Ue:[],At.frameElement&&Ie?getOverflowAncestors(At.frameElement):[]):$e.concat(Ue,getOverflowAncestors(Ue,[],Ie))}function getCssDimensions(xe){const $e=getComputedStyle$2(xe);let Ie=parseFloat($e.width)||0,Fe=parseFloat($e.height)||0;const Ue=isHTMLElement(xe),qe=Ue?xe.offsetWidth:Ie,At=Ue?xe.offsetHeight:Fe,Dt=round$4(Ie)!==qe||round$4(Fe)!==At;return Dt&&(Ie=qe,Fe=At),{width:Ie,height:Fe,$:Dt}}function unwrapElement(xe){return isElement(xe)?xe:xe.contextElement}function getScale(xe){const $e=unwrapElement(xe);if(!isHTMLElement($e))return createCoords(1);const Ie=$e.getBoundingClientRect(),{width:Fe,height:Ue,$:qe}=getCssDimensions($e);let At=(qe?round$4(Ie.width):Ie.width)/Fe,Dt=(qe?round$4(Ie.height):Ie.height)/Ue;return(!At||!Number.isFinite(At))&&(At=1),(!Dt||!Number.isFinite(Dt))&&(Dt=1),{x:At,y:Dt}}const noOffsets=createCoords(0);function getVisualOffsets(xe){const $e=getWindow(xe);return!isWebKit()||!$e.visualViewport?noOffsets:{x:$e.visualViewport.offsetLeft,y:$e.visualViewport.offsetTop}}function shouldAddVisualOffsets(xe,$e,Ie){return $e===void 0&&($e=!1),!Ie||$e&&Ie!==getWindow(xe)?!1:$e}function getBoundingClientRect(xe,$e,Ie,Fe){$e===void 0&&($e=!1),Ie===void 0&&(Ie=!1);const Ue=xe.getBoundingClientRect(),qe=unwrapElement(xe);let At=createCoords(1);$e&&(Fe?isElement(Fe)&&(At=getScale(Fe)):At=getScale(xe));const Dt=shouldAddVisualOffsets(qe,Ie,Fe)?getVisualOffsets(qe):createCoords(0);let Lt=(Ue.left+Dt.x)/At.x,jt=(Ue.top+Dt.y)/At.y,hn=Ue.width/At.x,vn=Ue.height/At.y;if(qe){const bn=getWindow(qe),_n=Fe&&isElement(Fe)?getWindow(Fe):Fe;let wn=bn,kn=wn.frameElement;for(;kn&&Fe&&_n!==wn;){const Cn=getScale(kn),Sn=kn.getBoundingClientRect(),xn=getComputedStyle$2(kn),En=Sn.left+(kn.clientLeft+parseFloat(xn.paddingLeft))*Cn.x,Tn=Sn.top+(kn.clientTop+parseFloat(xn.paddingTop))*Cn.y;Lt*=Cn.x,jt*=Cn.y,hn*=Cn.x,vn*=Cn.y,Lt+=En,jt+=Tn,wn=getWindow(kn),kn=wn.frameElement}}return rectToClientRect({width:hn,height:vn,x:Lt,y:jt})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(xe){return topLayerSelectors.some($e=>{try{return xe.matches($e)}catch{return!1}})}function convertOffsetParentRelativeRectToViewportRelativeRect(xe){let{elements:$e,rect:Ie,offsetParent:Fe,strategy:Ue}=xe;const qe=Ue==="fixed",At=getDocumentElement(Fe),Dt=$e?isTopLayer($e.floating):!1;if(Fe===At||Dt&&qe)return Ie;let Lt={scrollLeft:0,scrollTop:0},jt=createCoords(1);const hn=createCoords(0),vn=isHTMLElement(Fe);if((vn||!vn&&!qe)&&((getNodeName(Fe)!=="body"||isOverflowElement(At))&&(Lt=getNodeScroll(Fe)),isHTMLElement(Fe))){const bn=getBoundingClientRect(Fe);jt=getScale(Fe),hn.x=bn.x+Fe.clientLeft,hn.y=bn.y+Fe.clientTop}return{width:Ie.width*jt.x,height:Ie.height*jt.y,x:Ie.x*jt.x-Lt.scrollLeft*jt.x+hn.x,y:Ie.y*jt.y-Lt.scrollTop*jt.y+hn.y}}function getClientRects(xe){return Array.from(xe.getClientRects())}function getWindowScrollBarX(xe){return getBoundingClientRect(getDocumentElement(xe)).left+getNodeScroll(xe).scrollLeft}function getDocumentRect(xe){const $e=getDocumentElement(xe),Ie=getNodeScroll(xe),Fe=xe.ownerDocument.body,Ue=max$3($e.scrollWidth,$e.clientWidth,Fe.scrollWidth,Fe.clientWidth),qe=max$3($e.scrollHeight,$e.clientHeight,Fe.scrollHeight,Fe.clientHeight);let At=-Ie.scrollLeft+getWindowScrollBarX(xe);const Dt=-Ie.scrollTop;return getComputedStyle$2(Fe).direction==="rtl"&&(At+=max$3($e.clientWidth,Fe.clientWidth)-Ue),{width:Ue,height:qe,x:At,y:Dt}}function getViewportRect(xe,$e){const Ie=getWindow(xe),Fe=getDocumentElement(xe),Ue=Ie.visualViewport;let qe=Fe.clientWidth,At=Fe.clientHeight,Dt=0,Lt=0;if(Ue){qe=Ue.width,At=Ue.height;const jt=isWebKit();(!jt||jt&&$e==="fixed")&&(Dt=Ue.offsetLeft,Lt=Ue.offsetTop)}return{width:qe,height:At,x:Dt,y:Lt}}function getInnerBoundingClientRect(xe,$e){const Ie=getBoundingClientRect(xe,!0,$e==="fixed"),Fe=Ie.top+xe.clientTop,Ue=Ie.left+xe.clientLeft,qe=isHTMLElement(xe)?getScale(xe):createCoords(1),At=xe.clientWidth*qe.x,Dt=xe.clientHeight*qe.y,Lt=Ue*qe.x,jt=Fe*qe.y;return{width:At,height:Dt,x:Lt,y:jt}}function getClientRectFromClippingAncestor(xe,$e,Ie){let Fe;if($e==="viewport")Fe=getViewportRect(xe,Ie);else if($e==="document")Fe=getDocumentRect(getDocumentElement(xe));else if(isElement($e))Fe=getInnerBoundingClientRect($e,Ie);else{const Ue=getVisualOffsets(xe);Fe={...$e,x:$e.x-Ue.x,y:$e.y-Ue.y}}return rectToClientRect(Fe)}function hasFixedPositionAncestor(xe,$e){const Ie=getParentNode(xe);return Ie===$e||!isElement(Ie)||isLastTraversableNode(Ie)?!1:getComputedStyle$2(Ie).position==="fixed"||hasFixedPositionAncestor(Ie,$e)}function getClippingElementAncestors(xe,$e){const Ie=$e.get(xe);if(Ie)return Ie;let Fe=getOverflowAncestors(xe,[],!1).filter(Dt=>isElement(Dt)&&getNodeName(Dt)!=="body"),Ue=null;const qe=getComputedStyle$2(xe).position==="fixed";let At=qe?getParentNode(xe):xe;for(;isElement(At)&&!isLastTraversableNode(At);){const Dt=getComputedStyle$2(At),Lt=isContainingBlock(At);!Lt&&Dt.position==="fixed"&&(Ue=null),(qe?!Lt&&!Ue:!Lt&&Dt.position==="static"&&!!Ue&&["absolute","fixed"].includes(Ue.position)||isOverflowElement(At)&&!Lt&&hasFixedPositionAncestor(xe,At))?Fe=Fe.filter(hn=>hn!==At):Ue=Dt,At=getParentNode(At)}return $e.set(xe,Fe),Fe}function getClippingRect(xe){let{element:$e,boundary:Ie,rootBoundary:Fe,strategy:Ue}=xe;const At=[...Ie==="clippingAncestors"?getClippingElementAncestors($e,this._c):[].concat(Ie),Fe],Dt=At[0],Lt=At.reduce((jt,hn)=>{const vn=getClientRectFromClippingAncestor($e,hn,Ue);return jt.top=max$3(vn.top,jt.top),jt.right=min$3(vn.right,jt.right),jt.bottom=min$3(vn.bottom,jt.bottom),jt.left=max$3(vn.left,jt.left),jt},getClientRectFromClippingAncestor($e,Dt,Ue));return{width:Lt.right-Lt.left,height:Lt.bottom-Lt.top,x:Lt.left,y:Lt.top}}function getDimensions(xe){const{width:$e,height:Ie}=getCssDimensions(xe);return{width:$e,height:Ie}}function getRectRelativeToOffsetParent(xe,$e,Ie){const Fe=isHTMLElement($e),Ue=getDocumentElement($e),qe=Ie==="fixed",At=getBoundingClientRect(xe,!0,qe,$e);let Dt={scrollLeft:0,scrollTop:0};const Lt=createCoords(0);if(Fe||!Fe&&!qe)if((getNodeName($e)!=="body"||isOverflowElement(Ue))&&(Dt=getNodeScroll($e)),Fe){const vn=getBoundingClientRect($e,!0,qe,$e);Lt.x=vn.x+$e.clientLeft,Lt.y=vn.y+$e.clientTop}else Ue&&(Lt.x=getWindowScrollBarX(Ue));const jt=At.left+Dt.scrollLeft-Lt.x,hn=At.top+Dt.scrollTop-Lt.y;return{x:jt,y:hn,width:At.width,height:At.height}}function getTrueOffsetParent(xe,$e){return!isHTMLElement(xe)||getComputedStyle$2(xe).position==="fixed"?null:$e?$e(xe):xe.offsetParent}function getOffsetParent(xe,$e){const Ie=getWindow(xe);if(!isHTMLElement(xe)||isTopLayer(xe))return Ie;let Fe=getTrueOffsetParent(xe,$e);for(;Fe&&isTableElement(Fe)&&getComputedStyle$2(Fe).position==="static";)Fe=getTrueOffsetParent(Fe,$e);return Fe&&(getNodeName(Fe)==="html"||getNodeName(Fe)==="body"&&getComputedStyle$2(Fe).position==="static"&&!isContainingBlock(Fe))?Ie:Fe||getContainingBlock(xe)||Ie}const getElementRects=async function(xe){const $e=this.getOffsetParent||getOffsetParent,Ie=this.getDimensions;return{reference:getRectRelativeToOffsetParent(xe.reference,await $e(xe.floating),xe.strategy),floating:{x:0,y:0,...await Ie(xe.floating)}}};function isRTL$1(xe){return getComputedStyle$2(xe).direction==="rtl"}const platform$1={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL:isRTL$1};function observeMove(xe,$e){let Ie=null,Fe;const Ue=getDocumentElement(xe);function qe(){var Dt;clearTimeout(Fe),(Dt=Ie)==null||Dt.disconnect(),Ie=null}function At(Dt,Lt){Dt===void 0&&(Dt=!1),Lt===void 0&&(Lt=1),qe();const{left:jt,top:hn,width:vn,height:bn}=xe.getBoundingClientRect();if(Dt||$e(),!vn||!bn)return;const _n=floor$1(hn),wn=floor$1(Ue.clientWidth-(jt+vn)),kn=floor$1(Ue.clientHeight-(hn+bn)),Cn=floor$1(jt),xn={rootMargin:-_n+"px "+-wn+"px "+-kn+"px "+-Cn+"px",threshold:max$3(0,min$3(1,Lt))||1};let En=!0;function Tn(An){const $n=An[0].intersectionRatio;if($n!==Lt){if(!En)return At();$n?At(!1,$n):Fe=setTimeout(()=>{At(!1,1e-7)},100)}En=!1}try{Ie=new IntersectionObserver(Tn,{...xn,root:Ue.ownerDocument})}catch{Ie=new IntersectionObserver(Tn,xn)}Ie.observe(xe)}return At(!0),qe}function autoUpdate(xe,$e,Ie,Fe){Fe===void 0&&(Fe={});const{ancestorScroll:Ue=!0,ancestorResize:qe=!0,elementResize:At=typeof ResizeObserver=="function",layoutShift:Dt=typeof IntersectionObserver=="function",animationFrame:Lt=!1}=Fe,jt=unwrapElement(xe),hn=Ue||qe?[...jt?getOverflowAncestors(jt):[],...getOverflowAncestors($e)]:[];hn.forEach(Sn=>{Ue&&Sn.addEventListener("scroll",Ie,{passive:!0}),qe&&Sn.addEventListener("resize",Ie)});const vn=jt&&Dt?observeMove(jt,Ie):null;let bn=-1,_n=null;At&&(_n=new ResizeObserver(Sn=>{let[xn]=Sn;xn&&xn.target===jt&&_n&&(_n.unobserve($e),cancelAnimationFrame(bn),bn=requestAnimationFrame(()=>{var En;(En=_n)==null||En.observe($e)})),Ie()}),jt&&!Lt&&_n.observe(jt),_n.observe($e));let wn,kn=Lt?getBoundingClientRect(xe):null;Lt&&Cn();function Cn(){const Sn=getBoundingClientRect(xe);kn&&(Sn.x!==kn.x||Sn.y!==kn.y||Sn.width!==kn.width||Sn.height!==kn.height)&&Ie(),kn=Sn,wn=requestAnimationFrame(Cn)}return Ie(),()=>{var Sn;hn.forEach(xn=>{Ue&&xn.removeEventListener("scroll",Ie),qe&&xn.removeEventListener("resize",Ie)}),vn==null||vn(),(Sn=_n)==null||Sn.disconnect(),_n=null,Lt&&cancelAnimationFrame(wn)}}const shift=shift$1,flip=flip$1,arrow=arrow$1,computePosition=(xe,$e,Ie)=>{const Fe=new Map,Ue={platform:platform$1,...Ie},qe={...Ue.platform,_c:Fe};return computePosition$1(xe,$e,{...Ue,platform:qe})};buildProps({});const unrefReference=xe=>{if(!isClient$1)return;if(!xe)return xe;const $e=unrefElement(xe);return $e||(isRef(xe)?$e:xe)},useFloating$1=({middleware:xe,placement:$e,strategy:Ie})=>{const Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref({}),Lt={x:qe,y:At,placement:$e,strategy:Ie,middlewareData:Dt},jt=async()=>{if(!isClient$1)return;const hn=unrefReference(Fe),vn=unrefElement(Ue);if(!hn||!vn)return;const bn=await computePosition(hn,vn,{placement:unref($e),strategy:unref(Ie),middleware:unref(xe)});keysOf(Lt).forEach(_n=>{Lt[_n].value=bn[_n]})};return onMounted(()=>{watchEffect(()=>{jt()})}),{...Lt,update:jt,referenceRef:Fe,contentRef:Ue}},arrowMiddleware=({arrowRef:xe,padding:$e})=>({name:"arrow",options:{element:xe,padding:$e},fn(Ie){const Fe=unref(xe);return Fe?arrow({element:Fe,padding:$e}).fn(Ie):{}}});function useCursor(xe){const $e=ref();function Ie(){if(xe.value==null)return;const{selectionStart:Ue,selectionEnd:qe,value:At}=xe.value;if(Ue==null||qe==null)return;const Dt=At.slice(0,Math.max(0,Ue)),Lt=At.slice(Math.max(0,qe));$e.value={selectionStart:Ue,selectionEnd:qe,value:At,beforeTxt:Dt,afterTxt:Lt}}function Fe(){if(xe.value==null||$e.value==null)return;const{value:Ue}=xe.value,{beforeTxt:qe,afterTxt:At,selectionStart:Dt}=$e.value;if(qe==null||At==null||Dt==null)return;let Lt=Ue.length;if(Ue.endsWith(At))Lt=Ue.length-At.length;else if(Ue.startsWith(qe))Lt=qe.length;else{const jt=qe[Dt-1],hn=Ue.indexOf(jt,Dt-1);hn!==-1&&(Lt=hn+1)}xe.value.setSelectionRange(Lt,Lt)}return[Ie,Fe]}const getOrderedChildren=(xe,$e,Ie)=>flattedChildren(xe.subTree).filter(qe=>{var At;return isVNode(qe)&&((At=qe.type)==null?void 0:At.name)===$e&&!!qe.component}).map(qe=>qe.component.uid).map(qe=>Ie[qe]).filter(qe=>!!qe),useOrderedChildren=(xe,$e)=>{const Ie={},Fe=shallowRef([]);return{children:Fe,addChild:At=>{Ie[At.uid]=At,Fe.value=getOrderedChildren(xe,$e,Ie)},removeChild:At=>{delete Ie[At],Fe.value=Fe.value.filter(Dt=>Dt.uid!==At)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const xe=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(xe.size)||"")};function useFocusController(xe,{afterFocus:$e,beforeBlur:Ie,afterBlur:Fe}={}){const Ue=getCurrentInstance(),{emit:qe}=Ue,At=shallowRef(),Dt=ref(!1),Lt=vn=>{Dt.value||(Dt.value=!0,qe("focus",vn),$e==null||$e())},jt=vn=>{var bn;isFunction$5(Ie)&&Ie(vn)||vn.relatedTarget&&((bn=At.value)!=null&&bn.contains(vn.relatedTarget))||(Dt.value=!1,qe("blur",vn),Fe==null||Fe())},hn=()=>{var vn;(vn=xe.value)==null||vn.focus()};return watch(At,vn=>{vn&&vn.setAttribute("tabindex","-1")}),useEventListener(At,"click",hn),{wrapperRef:At,isFocused:Dt,handleFocus:Lt,handleBlur:jt}}const DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:xe=>isFunction$5(xe)?!xe():!xe}}),useEmptyValues=(xe,$e)=>{let Ie=useGlobalConfig();Ie.value||(Ie=ref({}));const Fe=computed(()=>xe.emptyValues||Ie.value.emptyValues||DEFAULT_EMPTY_VALUES),Ue=computed(()=>isFunction$5(xe.valueOnClear)?xe.valueOnClear():xe.valueOnClear!==void 0?xe.valueOnClear:isFunction$5(Ie.value.valueOnClear)?Ie.value.valueOnClear():Ie.value.valueOnClear!==void 0?Ie.value.valueOnClear:$e!==void 0?$e:DEFAULT_VALUE_ON_CLEAR),qe=At=>Fe.value.includes(At);return Fe.value.includes(Ue.value),{emptyValues:Fe,valueOnClear:Ue,isEmptyValue:qe}},ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=xe=>pick(ariaProps,xe),configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(xe,$e=void 0){const Ie=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return xe?computed(()=>{var Fe,Ue;return(Ue=(Fe=Ie.value)==null?void 0:Fe[xe])!=null?Ue:$e}):Ie}function useGlobalComponentSettings(xe,$e){const Ie=useGlobalConfig(),Fe=useNamespace(xe,computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.namespace)||defaultNamespace})),Ue=useLocale(computed(()=>{var Dt;return(Dt=Ie.value)==null?void 0:Dt.locale})),qe=useZIndex(computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.zIndex)||defaultInitialZIndex})),At=computed(()=>{var Dt;return unref($e)||((Dt=Ie.value)==null?void 0:Dt.size)||""});return provideGlobalConfig(computed(()=>unref(Ie)||{})),{ns:Fe,locale:Ue,zIndex:qe,size:At}}const provideGlobalConfig=(xe,$e,Ie=!1)=>{var Fe;const Ue=!!getCurrentInstance(),qe=Ue?useGlobalConfig():void 0,At=(Fe=$e==null?void 0:$e.provide)!=null?Fe:Ue?provide:void 0;if(!At)return;const Dt=computed(()=>{const Lt=unref(xe);return qe!=null&&qe.value?mergeConfig(qe.value,Lt):Lt});return At(configProviderContextKey,Dt),At(localeContextKey,computed(()=>Dt.value.locale)),At(namespaceContextKey,computed(()=>Dt.value.namespace)),At(zIndexContextKey,computed(()=>Dt.value.zIndex)),At(SIZE_INJECTION_KEY,{size:computed(()=>Dt.value.size||"")}),(Ie||!globalConfig.value)&&(globalConfig.value=Dt.value),Dt},mergeConfig=(xe,$e)=>{const Ie=[...new Set([...keysOf(xe),...keysOf($e)])],Fe={};for(const Ue of Ie)Fe[Ue]=$e[Ue]!==void 0?$e[Ue]:xe[Ue];return Fe},configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...useEmptyValuesProps}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(xe,{slots:$e}){watch(()=>xe.message,Fe=>{Object.assign(messageConfig,Fe??{})},{immediate:!0,deep:!0});const Ie=provideGlobalConfig(xe);return()=>renderSlot($e,"default",{config:Ie==null?void 0:Ie.value})}}),ElConfigProvider=withInstall(ConfigProvider),version="2.7.5",makeInstaller=(xe=[])=>({version,install:(Ie,Fe)=>{Ie[INSTALLED_KEY]||(Ie[INSTALLED_KEY]=!0,xe.forEach(Ue=>Ie.use(Ue)),Fe&&provideGlobalConfig(Fe,Ie,!0))}}),affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),affixEmits={scroll:({scrollTop:xe,fixed:$e})=>isNumber$1(xe)&&isBoolean($e),[CHANGE_EVENT]:xe=>isBoolean(xe)};var _export_sfc$1=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};const COMPONENT_NAME$n="ElAffix",__default__$1L=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2s=defineComponent({...__default__$1L,props:affixProps,emits:affixEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("affix"),qe=shallowRef(),At=shallowRef(),Dt=shallowRef(),{height:Lt}=useWindowSize(),{height:jt,width:hn,top:vn,bottom:bn,update:_n}=useElementBounding(At,{windowScroll:!1}),wn=useElementBounding(qe),kn=ref(!1),Cn=ref(0),Sn=ref(0),xn=computed(()=>({height:kn.value?`${jt.value}px`:"",width:kn.value?`${hn.value}px`:""})),En=computed(()=>{if(!kn.value)return{};const $n=Fe.offset?addUnit(Fe.offset):0;return{height:`${jt.value}px`,width:`${hn.value}px`,top:Fe.position==="top"?$n:"",bottom:Fe.position==="bottom"?$n:"",transform:Sn.value?`translateY(${Sn.value}px)`:"",zIndex:Fe.zIndex}}),Tn=()=>{if(Dt.value)if(Cn.value=Dt.value instanceof Window?document.documentElement.scrollTop:Dt.value.scrollTop||0,Fe.position==="top")if(Fe.target){const $n=wn.bottom.value-Fe.offset-jt.value;kn.value=Fe.offset>vn.value&&wn.bottom.value>0,Sn.value=$n<0?$n:0}else kn.value=Fe.offset>vn.value;else if(Fe.target){const $n=Lt.value-wn.top.value-Fe.offset-jt.value;kn.value=Lt.value-Fe.offsetwn.top.value,Sn.value=$n<0?-$n:0}else kn.value=Lt.value-Fe.offset{_n(),Ie("scroll",{scrollTop:Cn.value,fixed:kn.value})};return watch(kn,$n=>Ie("change",$n)),onMounted(()=>{var $n;Fe.target?(qe.value=($n=document.querySelector(Fe.target))!=null?$n:void 0,qe.value||throwError$1(COMPONENT_NAME$n,`Target does not exist: ${Fe.target}`)):qe.value=document.documentElement,Dt.value=getScrollContainer(At.value,!0),_n()}),useEventListener(Dt,"scroll",An),watchEffect(Tn),$e({update:Tn,updateRoot:_n}),($n,Pn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:At,class:normalizeClass(unref(Ue).b()),style:normalizeStyle$1(unref(xn))},[createBaseVNode("div",{class:normalizeClass({[unref(Ue).m("fixed")]:kn.value}),style:normalizeStyle$1(unref(En))},[renderSlot($n.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2s,[["__file","affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1K=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2r=defineComponent({...__default__$1K,props:iconProps,setup(xe){const $e=xe,Ie=useNamespace("icon"),Fe=computed(()=>{const{size:Ue,color:qe}=$e;return!Ue&&!qe?{}:{fontSize:isUndefined(Ue)?void 0:addUnit(Ue),"--color":qe}});return(Ue,qe)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(Ie).b(),style:unref(Fe)},Ue.$attrs),[renderSlot(Ue.$slots,"default")],16))}});var Icon=_export_sfc$1(_sfc_main$2r,[["__file","icon.vue"]]);const ElIcon=withInstall(Icon),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:xe=>xe instanceof MouseEvent},__default__$1J=defineComponent({name:"ElAlert"}),_sfc_main$2q=defineComponent({...__default__$1J,props:alertProps,emits:alertEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=TypeComponents,Ue=useSlots(),qe=useNamespace("alert"),At=ref(!0),Dt=computed(()=>TypeComponentsMap[Ie.type]),Lt=computed(()=>[qe.e("icon"),{[qe.is("big")]:!!Ie.description||!!Ue.default}]),jt=computed(()=>({"with-description":Ie.description||Ue.default})),hn=vn=>{At.value=!1,$e("close",vn)};return(vn,bn)=>(openBlock(),createBlock(Transition,{name:unref(qe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(vn.type),unref(qe).is("center",vn.center),unref(qe).is(vn.effect)]),role:"alert"},[vn.showIcon&&unref(Dt)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Lt))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dt))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).e("content"))},[vn.title||vn.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(qe).e("title"),unref(jt)])},[renderSlot(vn.$slots,"title",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],2)):createCommentVNode("v-if",!0),vn.$slots.default||vn.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(qe).e("description"))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.description),1)])],2)):createCommentVNode("v-if",!0),vn.closable?(openBlock(),createElementBlock(Fragment,{key:2},[vn.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(qe).e("close-btn"),unref(qe).is("customed")]),onClick:hn},toDisplayString(vn.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).e("close-btn")),onClick:hn},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,At.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2q,[["__file","alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(xe,$e={})=>{const Ie=ref(void 0),Fe=$e.prop?Ie:useProp("size"),Ue=$e.global?Ie:useGlobalSize(),qe=$e.form?{size:void 0}:inject(formContextKey,void 0),At=$e.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>Fe.value||unref(xe)||(At==null?void 0:At.size)||(qe==null?void 0:qe.size)||Ue.value||"")},useFormDisabled=xe=>{const $e=useProp("disabled"),Ie=inject(formContextKey,void 0);return computed(()=>$e.value||unref(xe)||(Ie==null?void 0:Ie.disabled)||!1)},useFormItem=()=>{const xe=inject(formContextKey,void 0),$e=inject(formItemContextKey,void 0);return{form:xe,formItem:$e}},useFormItemInputId=(xe,{formItemContext:$e,disableIdGeneration:Ie,disableIdManagement:Fe})=>{Ie||(Ie=ref(!1)),Fe||(Fe=ref(!1));const Ue=ref();let qe;const At=computed(()=>{var Dt;return!!(!(xe.label||xe.ariaLabel)&&$e&&$e.inputIds&&((Dt=$e.inputIds)==null?void 0:Dt.length)<=1)});return onMounted(()=>{qe=watch([toRef(xe,"id"),Ie],([Dt,Lt])=>{const jt=Dt??(Lt?void 0:useId().value);jt!==Ue.value&&($e!=null&&$e.removeInputId&&(Ue.value&&$e.removeInputId(Ue.value),!(Fe!=null&&Fe.value)&&!Lt&&jt&&$e.addInputId(jt)),Ue.value=jt)},{immediate:!0})}),onUnmounted(()=>{qe&&qe(),$e!=null&&$e.removeInputId&&Ue.value&&$e.removeInputId(Ue.value)}),{isLabeledByFormItem:At,inputId:Ue}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(xe,$e,Ie)=>(isArray$6(xe)||isString$4(xe))&&isBoolean($e)&&isString$4(Ie)};function useFormLabelWidth(){const xe=ref([]),$e=computed(()=>{if(!xe.value.length)return"0";const qe=Math.max(...xe.value);return qe?`${qe}px`:""});function Ie(qe){const At=xe.value.indexOf(qe);return At===-1&&$e.value,At}function Fe(qe,At){if(qe&&At){const Dt=Ie(At);xe.value.splice(Dt,1,qe)}else qe&&xe.value.push(qe)}function Ue(qe){const At=Ie(qe);At>-1&&xe.value.splice(At,1)}return{autoLabelWidth:$e,registerLabelWidth:Fe,deregisterLabelWidth:Ue}}const filterFields=(xe,$e)=>{const Ie=castArray$1($e);return Ie.length>0?xe.filter(Fe=>Fe.prop&&Ie.includes(Fe.prop)):xe},COMPONENT_NAME$m="ElForm",__default__$1I=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2p=defineComponent({...__default__$1I,props:formProps,emits:formEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=[],qe=useFormSize(),At=useNamespace("form"),Dt=computed(()=>{const{labelPosition:En,inline:Tn}=Fe;return[At.b(),At.m(qe.value||"default"),{[At.m(`label-${En}`)]:En,[At.m("inline")]:Tn}]}),Lt=En=>Ue.find(Tn=>Tn.prop===En),jt=En=>{Ue.push(En)},hn=En=>{En.prop&&Ue.splice(Ue.indexOf(En),1)},vn=(En=[])=>{Fe.model&&filterFields(Ue,En).forEach(Tn=>Tn.resetField())},bn=(En=[])=>{filterFields(Ue,En).forEach(Tn=>Tn.clearValidate())},_n=computed(()=>!!Fe.model),wn=En=>{if(Ue.length===0)return[];const Tn=filterFields(Ue,En);return Tn.length?Tn:[]},kn=async En=>Sn(void 0,En),Cn=async(En=[])=>{if(!_n.value)return!1;const Tn=wn(En);if(Tn.length===0)return!0;let An={};for(const $n of Tn)try{await $n.validate("")}catch(Pn){An={...An,...Pn}}return Object.keys(An).length===0?!0:Promise.reject(An)},Sn=async(En=[],Tn)=>{const An=!isFunction$5(Tn);try{const $n=await Cn(En);return $n===!0&&await(Tn==null?void 0:Tn($n)),$n}catch($n){if($n instanceof Error)throw $n;const Pn=$n;return Fe.scrollToError&&xn(Object.keys(Pn)[0]),await(Tn==null?void 0:Tn(!1,Pn)),An&&Promise.reject(Pn)}},xn=En=>{var Tn;const An=filterFields(Ue,En)[0];An&&((Tn=An.$el)==null||Tn.scrollIntoView(Fe.scrollIntoViewOptions))};return watch(()=>Fe.rules,()=>{Fe.validateOnRuleChange&&kn().catch(En=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(Fe),emit:Ie,resetFields:vn,clearValidate:bn,validateField:Sn,getField:Lt,addField:jt,removeField:hn,...useFormLabelWidth()})),$e({validate:kn,validateField:Sn,resetFields:vn,clearValidate:bn,scrollToField:xn,fields:Ue}),(En,Tn)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(Dt))},[renderSlot(En.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$2p,[["__file","form.vue"]]),define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(xe){for(var $e=1;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(xe,$e,Ie){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(Ue,qe,At){var Dt=[null];Dt.push.apply(Dt,qe);var Lt=Function.bind.apply(Ue,Dt),jt=new Lt;return At&&_setPrototypeOf(jt,At.prototype),jt},_construct.apply(null,arguments)}function _isNativeFunction(xe){return Function.toString.call(xe).indexOf("[native code]")!==-1}function _wrapNativeSuper(xe){var $e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Fe){if(Fe===null||!_isNativeFunction(Fe))return Fe;if(typeof Fe!="function")throw new TypeError("Super expression must either be null or a function");if(typeof $e<"u"){if($e.has(Fe))return $e.get(Fe);$e.set(Fe,Ue)}function Ue(){return _construct(Fe,arguments,_getPrototypeOf(this).constructor)}return Ue.prototype=Object.create(Fe.prototype,{constructor:{value:Ue,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Ue,Fe)},_wrapNativeSuper(xe)}var formatRegExp=/%[sdj%]/g,warning=function xe(){};typeof process<"u";function convertFieldsError(xe){if(!xe||!xe.length)return null;var $e={};return xe.forEach(function(Ie){var Fe=Ie.field;$e[Fe]=$e[Fe]||[],$e[Fe].push(Ie)}),$e}function format$1(xe){for(var $e=arguments.length,Ie=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)Ie[Fe-1]=arguments[Fe];var Ue=0,qe=Ie.length;if(typeof xe=="function")return xe.apply(null,Ie);if(typeof xe=="string"){var At=xe.replace(formatRegExp,function(Dt){if(Dt==="%%")return"%";if(Ue>=qe)return Dt;switch(Dt){case"%s":return String(Ie[Ue++]);case"%d":return Number(Ie[Ue++]);case"%j":try{return JSON.stringify(Ie[Ue++])}catch{return"[Circular]"}break;default:return Dt}});return At}return xe}function isNativeStringType(xe){return xe==="string"||xe==="url"||xe==="hex"||xe==="email"||xe==="date"||xe==="pattern"}function isEmptyValue$1(xe,$e){return!!(xe==null||$e==="array"&&Array.isArray(xe)&&!xe.length||isNativeStringType($e)&&typeof xe=="string"&&!xe)}function asyncParallelArray(xe,$e,Ie){var Fe=[],Ue=0,qe=xe.length;function At(Dt){Fe.push.apply(Fe,Dt||[]),Ue++,Ue===qe&&Ie(Fe)}xe.forEach(function(Dt){$e(Dt,At)})}function asyncSerialArray(xe,$e,Ie){var Fe=0,Ue=xe.length;function qe(At){if(At&&At.length){Ie(At);return}var Dt=Fe;Fe=Fe+1,Dt{delete qe[wn]}),Ie.headers=AxiosHeaders.concat(At,qe);const Dt=[];let Lt=!0;this.interceptors.request.forEach(function(kn){typeof kn.runWhen=="function"&&kn.runWhen(Ie)===!1||(Lt=Lt&&kn.synchronous,Dt.unshift(kn.fulfilled,kn.rejected))});const jt=[];this.interceptors.response.forEach(function(kn){jt.push(kn.fulfilled,kn.rejected)});let hn,vn=0,bn;if(!Lt){const wn=[dispatchRequest.bind(this),void 0];for(wn.unshift.apply(wn,Dt),wn.push.apply(wn,jt),bn=wn.length,hn=Promise.resolve(Ie);vn{if(!Fe._listeners)return;let qe=Fe._listeners.length;for(;qe-- >0;)Fe._listeners[qe](Ue);Fe._listeners=null}),this.promise.then=Ue=>{let qe;const At=new Promise(Dt=>{Fe.subscribe(Dt),qe=Dt}).then(Ue);return At.cancel=function(){Fe.unsubscribe(qe)},At},$e(function(qe,At,Dt){Fe.reason||(Fe.reason=new CanceledError(qe,At,Dt),Ie(Fe.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($e){if(this.reason){$e(this.reason);return}this._listeners?this._listeners.push($e):this._listeners=[$e]}unsubscribe($e){if(!this._listeners)return;const Ie=this._listeners.indexOf($e);Ie!==-1&&this._listeners.splice(Ie,1)}static source(){let $e;return{token:new CancelToken(function(Ue){$e=Ue}),cancel:$e}}}function spread(xe){return function(Ie){return xe.apply(null,Ie)}}function isAxiosError(xe){return utils$1.isObject(xe)&&xe.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([xe,$e])=>{HttpStatusCode[$e]=xe});function createInstance$1(xe){const $e=new Axios(xe),Ie=bind$2(Axios.prototype.request,$e);return utils$1.extend(Ie,Axios.prototype,$e,{allOwnKeys:!0}),utils$1.extend(Ie,$e,null,{allOwnKeys:!0}),Ie.create=function(Ue){return createInstance$1(mergeConfig$1(xe,Ue))},Ie}const axios=createInstance$1(defaults$1);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function xe($e){return Promise.all($e)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig$1;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=xe=>formDataToJSON(utils$1.isHTMLForm(xe)?new FormData(xe):xe);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isVisible=xe=>getComputedStyle(xe).position==="fixed"?!1:xe.offsetParent!==null,obtainAllFocusableElements$1=xe=>Array.from(xe.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter($e=>isFocusable($e)&&isVisible($e)),isFocusable=xe=>{if(xe.tabIndex>0||xe.tabIndex===0&&xe.getAttribute("tabIndex")!==null)return!0;if(xe.disabled)return!1;switch(xe.nodeName){case"A":return!!xe.href&&xe.rel!=="ignore";case"INPUT":return!(xe.type==="hidden"||xe.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(xe,$e,...Ie){let Fe;$e.includes("mouse")||$e.includes("click")?Fe="MouseEvents":$e.includes("key")?Fe="KeyboardEvent":Fe="HTMLEvents";const Ue=document.createEvent(Fe);return Ue.initEvent($e,...Ie),xe.dispatchEvent(Ue),xe},isLeaf=xe=>!xe.getAttribute("aria-owns"),getSibling=(xe,$e,Ie)=>{const{parentNode:Fe}=xe;if(!Fe)return null;const Ue=Fe.querySelectorAll(Ie),qe=Array.prototype.indexOf.call(Ue,xe);return Ue[qe+$e]||null},focusNode=xe=>{xe&&(xe.focus(),!isLeaf(xe)&&xe.click())},composeEventHandlers=(xe,$e,{checkForDefaultPrevented:Ie=!0}={})=>Ue=>{const qe=xe==null?void 0:xe(Ue);if(Ie===!1||!qe)return $e==null?void 0:$e(Ue)},whenMouse=xe=>$e=>$e.pointerType==="mouse"?xe($e):void 0;var __defProp$9=Object.defineProperty,__defProps$6=Object.defineProperties,__getOwnPropDescs$6=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$b=Object.getOwnPropertySymbols,__hasOwnProp$b=Object.prototype.hasOwnProperty,__propIsEnum$b=Object.prototype.propertyIsEnumerable,__defNormalProp$9=(xe,$e,Ie)=>$e in xe?__defProp$9(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues$9=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);if(__getOwnPropSymbols$b)for(var Ie of __getOwnPropSymbols$b($e))__propIsEnum$b.call($e,Ie)&&__defNormalProp$9(xe,Ie,$e[Ie]);return xe},__spreadProps$6=(xe,$e)=>__defProps$6(xe,__getOwnPropDescs$6($e));function computedEager(xe,$e){var Ie;const Fe=shallowRef();return watchEffect(()=>{Fe.value=xe()},__spreadProps$6(__spreadValues$9({},$e),{flush:(Ie=void 0)!=null?Ie:"sync"})),readonly(Fe)}var _a$1;const isClient$1=typeof window<"u",isDef$1=xe=>typeof xe<"u",isFunction$1=xe=>typeof xe=="function",isString$1=xe=>typeof xe=="string",noop$2=()=>{},isIOS=isClient$1&&((_a$1=window==null?void 0:window.navigator)==null?void 0:_a$1.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(xe){return typeof xe=="function"?xe():unref(xe)}function createFilterWrapper(xe,$e){function Ie(...Fe){return new Promise((Ue,qe)=>{Promise.resolve(xe(()=>$e.apply(this,Fe),{fn:$e,thisArg:this,args:Fe})).then(Ue).catch(qe)})}return Ie}function debounceFilter(xe,$e={}){let Ie,Fe,Ue=noop$2;const qe=Dt=>{clearTimeout(Dt),Ue(),Ue=noop$2};return Dt=>{const Lt=resolveUnref(xe),jt=resolveUnref($e.maxWait);return Ie&&qe(Ie),Lt<=0||jt!==void 0&&jt<=0?(Fe&&(qe(Fe),Fe=null),Promise.resolve(Dt())):new Promise((hn,vn)=>{Ue=$e.rejectOnCancel?vn:hn,jt&&!Fe&&(Fe=setTimeout(()=>{Ie&&qe(Ie),Fe=null,hn(Dt())},jt)),Ie=setTimeout(()=>{Fe&&qe(Fe),Fe=null,hn(Dt())},Lt)})}}function throttleFilter(xe,$e=!0,Ie=!0,Fe=!1){let Ue=0,qe,At=!0,Dt=noop$2,Lt;const jt=()=>{qe&&(clearTimeout(qe),qe=void 0,Dt(),Dt=noop$2)};return vn=>{const bn=resolveUnref(xe),_n=Date.now()-Ue,wn=()=>Lt=vn();return jt(),bn<=0?(Ue=Date.now(),wn()):(_n>bn&&(Ie||!At)?(Ue=Date.now(),wn()):$e&&(Lt=new Promise((kn,Cn)=>{Dt=Fe?Cn:kn,qe=setTimeout(()=>{Ue=Date.now(),At=!0,kn(wn()),jt()},Math.max(0,bn-_n))})),!Ie&&!qe&&(qe=setTimeout(()=>At=!0,bn)),At=!1,Lt)}}function identity$1(xe){return xe}function computedWithControl(xe,$e){let Ie,Fe,Ue;const qe=ref(!0),At=()=>{qe.value=!0,Ue()};watch(xe,At,{flush:"sync"});const Dt=isFunction$1($e)?$e:$e.get,Lt=isFunction$1($e)?void 0:$e.set,jt=customRef((hn,vn)=>(Fe=hn,Ue=vn,{get(){return qe.value&&(Ie=Dt(),qe.value=!1),Fe(),Ie},set(bn){Lt==null||Lt(bn)}}));return Object.isExtensible(jt)&&(jt.trigger=At),jt}function tryOnScopeDispose$1(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function useDebounceFn(xe,$e=200,Ie={}){return createFilterWrapper(debounceFilter($e,Ie),xe)}function refDebounced(xe,$e=200,Ie={}){const Fe=ref(xe.value),Ue=useDebounceFn(()=>{Fe.value=xe.value},$e,Ie);return watch(xe,()=>Ue()),Fe}function useThrottleFn(xe,$e=200,Ie=!1,Fe=!0,Ue=!1){return createFilterWrapper(throttleFilter($e,Ie,Fe,Ue),xe)}function tryOnMounted$1(xe,$e=!0){getCurrentInstance()?onMounted(xe):$e?xe():nextTick(xe)}function useTimeoutFn$1(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},resolveUnref($e))}return Fe&&(Ue.value=!0,isClient$1&&Lt()),tryOnScopeDispose$1(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function unrefElement(xe){var $e;const Ie=resolveUnref(xe);return($e=Ie==null?void 0:Ie.$el)!=null?$e:Ie}const defaultWindow=isClient$1?window:void 0,defaultDocument=isClient$1?window.document:void 0;function useEventListener(...xe){let $e,Ie,Fe,Ue;if(isString$1(xe[0])||Array.isArray(xe[0])?([Ie,Fe,Ue]=xe,$e=defaultWindow):[$e,Ie,Fe,Ue]=xe,!$e)return noop$2;Array.isArray(Ie)||(Ie=[Ie]),Array.isArray(Fe)||(Fe=[Fe]);const qe=[],At=()=>{qe.forEach(hn=>hn()),qe.length=0},Dt=(hn,vn,bn,_n)=>(hn.addEventListener(vn,bn,_n),()=>hn.removeEventListener(vn,bn,_n)),Lt=watch(()=>[unrefElement($e),resolveUnref(Ue)],([hn,vn])=>{At(),hn&&qe.push(...Ie.flatMap(bn=>Fe.map(_n=>Dt(hn,bn,_n,vn))))},{immediate:!0,flush:"post"}),jt=()=>{Lt(),At()};return tryOnScopeDispose$1(jt),jt}let _iOSWorkaround=!1;function onClickOutside(xe,$e,Ie={}){const{window:Fe=defaultWindow,ignore:Ue=[],capture:qe=!0,detectIframe:At=!1}=Ie;if(!Fe)return;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(Fe.document.body.children).forEach(bn=>bn.addEventListener("click",noop$2)));let Dt=!0;const Lt=bn=>Ue.some(_n=>{if(typeof _n=="string")return Array.from(Fe.document.querySelectorAll(_n)).some(wn=>wn===bn.target||bn.composedPath().includes(wn));{const wn=unrefElement(_n);return wn&&(bn.target===wn||bn.composedPath().includes(wn))}}),hn=[useEventListener(Fe,"click",bn=>{const _n=unrefElement(xe);if(!(!_n||_n===bn.target||bn.composedPath().includes(_n))){if(bn.detail===0&&(Dt=!Lt(bn)),!Dt){Dt=!0;return}$e(bn)}},{passive:!0,capture:qe}),useEventListener(Fe,"pointerdown",bn=>{const _n=unrefElement(xe);_n&&(Dt=!bn.composedPath().includes(_n)&&!Lt(bn))},{passive:!0}),At&&useEventListener(Fe,"blur",bn=>{var _n;const wn=unrefElement(xe);((_n=Fe.document.activeElement)==null?void 0:_n.tagName)==="IFRAME"&&!(wn!=null&&wn.contains(Fe.document.activeElement))&&$e(bn)})].filter(Boolean);return()=>hn.forEach(bn=>bn())}function useActiveElement(xe={}){var $e;const{window:Ie=defaultWindow}=xe,Fe=($e=xe.document)!=null?$e:Ie==null?void 0:Ie.document,Ue=computedWithControl(()=>null,()=>Fe==null?void 0:Fe.activeElement);return Ie&&(useEventListener(Ie,"blur",qe=>{qe.relatedTarget===null&&Ue.trigger()},!0),useEventListener(Ie,"focus",Ue.trigger,!0)),Ue}function useSupported(xe,$e=!1){const Ie=ref(),Fe=()=>Ie.value=!!xe();return Fe(),tryOnMounted$1(Fe,$e),Ie}function cloneFnJSON(xe){return JSON.parse(JSON.stringify(xe))}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global[globalKey]=_global[globalKey]||{};function useCssVar(xe,$e,{window:Ie=defaultWindow,initialValue:Fe=""}={}){const Ue=ref(Fe),qe=computed(()=>{var At;return unrefElement($e)||((At=Ie==null?void 0:Ie.document)==null?void 0:At.documentElement)});return watch([qe,()=>resolveUnref(xe)],([At,Dt])=>{var Lt;if(At&&Ie){const jt=(Lt=Ie.getComputedStyle(At).getPropertyValue(Dt))==null?void 0:Lt.trim();Ue.value=jt||Fe}},{immediate:!0}),watch(Ue,At=>{var Dt;(Dt=qe.value)!=null&&Dt.style&&qe.value.style.setProperty(resolveUnref(xe),At)}),Ue}function useDocumentVisibility({document:xe=defaultDocument}={}){if(!xe)return ref("visible");const $e=ref(xe.visibilityState);return useEventListener(xe,"visibilitychange",()=>{$e.value=xe.visibilityState}),$e}var __getOwnPropSymbols$g=Object.getOwnPropertySymbols,__hasOwnProp$g=Object.prototype.hasOwnProperty,__propIsEnum$g=Object.prototype.propertyIsEnumerable,__objRest$2=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$g.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$g)for(var Fe of __getOwnPropSymbols$g(xe))$e.indexOf(Fe)<0&&__propIsEnum$g.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useResizeObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$2(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"ResizeObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new ResizeObserver($e),At.observe(vn,qe))},{immediate:!0,flush:"post"}),hn=()=>{Lt(),jt()};return tryOnScopeDispose$1(hn),{isSupported:Dt,stop:hn}}function useElementBounding(xe,$e={}){const{reset:Ie=!0,windowResize:Fe=!0,windowScroll:Ue=!0,immediate:qe=!0}=$e,At=ref(0),Dt=ref(0),Lt=ref(0),jt=ref(0),hn=ref(0),vn=ref(0),bn=ref(0),_n=ref(0);function wn(){const kn=unrefElement(xe);if(!kn){Ie&&(At.value=0,Dt.value=0,Lt.value=0,jt.value=0,hn.value=0,vn.value=0,bn.value=0,_n.value=0);return}const Cn=kn.getBoundingClientRect();At.value=Cn.height,Dt.value=Cn.bottom,Lt.value=Cn.left,jt.value=Cn.right,hn.value=Cn.top,vn.value=Cn.width,bn.value=Cn.x,_n.value=Cn.y}return useResizeObserver(xe,wn),watch(()=>unrefElement(xe),kn=>!kn&&wn()),Ue&&useEventListener("scroll",wn,{capture:!0,passive:!0}),Fe&&useEventListener("resize",wn,{passive:!0}),tryOnMounted$1(()=>{qe&&wn()}),{height:At,bottom:Dt,left:Lt,right:jt,top:hn,width:vn,x:bn,y:_n,update:wn}}var __getOwnPropSymbols$8=Object.getOwnPropertySymbols,__hasOwnProp$8=Object.prototype.hasOwnProperty,__propIsEnum$8=Object.prototype.propertyIsEnumerable,__objRest$1=(xe,$e)=>{var Ie={};for(var Fe in xe)__hasOwnProp$8.call(xe,Fe)&&$e.indexOf(Fe)<0&&(Ie[Fe]=xe[Fe]);if(xe!=null&&__getOwnPropSymbols$8)for(var Fe of __getOwnPropSymbols$8(xe))$e.indexOf(Fe)<0&&__propIsEnum$8.call(xe,Fe)&&(Ie[Fe]=xe[Fe]);return Ie};function useMutationObserver(xe,$e,Ie={}){const Fe=Ie,{window:Ue=defaultWindow}=Fe,qe=__objRest$1(Fe,["window"]);let At;const Dt=useSupported(()=>Ue&&"MutationObserver"in Ue),Lt=()=>{At&&(At.disconnect(),At=void 0)},jt=watch(()=>unrefElement(xe),vn=>{Lt(),Dt.value&&Ue&&vn&&(At=new MutationObserver($e),At.observe(vn,qe))},{immediate:!0}),hn=()=>{Lt(),jt()};return tryOnScopeDispose$1(hn),{isSupported:Dt,stop:hn}}var SwipeDirection;(function(xe){xe.UP="UP",xe.RIGHT="RIGHT",xe.DOWN="DOWN",xe.LEFT="LEFT",xe.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(xe,$e,Ie)=>$e in xe?__defProp(xe,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):xe[$e]=Ie,__spreadValues=(xe,$e)=>{for(var Ie in $e||($e={}))__hasOwnProp.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);if(__getOwnPropSymbols)for(var Ie of __getOwnPropSymbols($e))__propIsEnum.call($e,Ie)&&__defNormalProp(xe,Ie,$e[Ie]);return xe};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity$1},_TransitionPresets);function useVModel(xe,$e,Ie,Fe={}){var Ue,qe,At;const{clone:Dt=!1,passive:Lt=!1,eventName:jt,deep:hn=!1,defaultValue:vn}=Fe,bn=getCurrentInstance(),_n=Ie||(bn==null?void 0:bn.emit)||((Ue=bn==null?void 0:bn.$emit)==null?void 0:Ue.bind(bn))||((At=(qe=bn==null?void 0:bn.proxy)==null?void 0:qe.$emit)==null?void 0:At.bind(bn==null?void 0:bn.proxy));let wn=jt;$e||($e="modelValue"),wn=jt||wn||`update:${$e.toString()}`;const kn=Sn=>Dt?isFunction$1(Dt)?Dt(Sn):cloneFnJSON(Sn):Sn,Cn=()=>isDef$1(xe[$e])?kn(xe[$e]):vn;if(Lt){const Sn=Cn(),xn=ref(Sn);return watch(()=>xe[$e],En=>xn.value=kn(En)),watch(xn,En=>{(En!==xe[$e]||hn)&&_n(wn,En)},{deep:hn}),xn}else return computed({get(){return Cn()},set(Sn){_n(wn,Sn)}})}function useWindowFocus({window:xe=defaultWindow}={}){if(!xe)return ref(!1);const $e=ref(xe.document.hasFocus());return useEventListener(xe,"blur",()=>{$e.value=!1}),useEventListener(xe,"focus",()=>{$e.value=!0}),$e}function useWindowSize(xe={}){const{window:$e=defaultWindow,initialWidth:Ie=1/0,initialHeight:Fe=1/0,listenOrientation:Ue=!0,includeScrollbar:qe=!0}=xe,At=ref(Ie),Dt=ref(Fe),Lt=()=>{$e&&(qe?(At.value=$e.innerWidth,Dt.value=$e.innerHeight):(At.value=$e.document.documentElement.clientWidth,Dt.value=$e.document.documentElement.clientHeight))};return Lt(),tryOnMounted$1(Lt),useEventListener("resize",Lt,{passive:!0}),Ue&&useEventListener("orientationchange",Lt,{passive:!0}),{width:At,height:Dt}}const isFirefox=()=>isClient$1&&/firefox/i.test(window.navigator.userAgent),isInContainer=(xe,$e)=>{if(!isClient$1||!xe||!$e)return!1;const Ie=xe.getBoundingClientRect();let Fe;return $e instanceof Element?Fe=$e.getBoundingClientRect():Fe={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},Ie.topFe.top&&Ie.right>Fe.left&&Ie.left{let $e=0,Ie=xe;for(;Ie;)$e+=Ie.offsetTop,Ie=Ie.offsetParent;return $e},getOffsetTopDistance=(xe,$e)=>Math.abs(getOffsetTop(xe)-getOffsetTop($e)),getClientXY=xe=>{let $e,Ie;return xe.type==="touchend"?(Ie=xe.changedTouches[0].clientY,$e=xe.changedTouches[0].clientX):xe.type.startsWith("touch")?(Ie=xe.touches[0].clientY,$e=xe.touches[0].clientX):(Ie=xe.clientY,$e=xe.clientX),{clientX:$e,clientY:Ie}};function easeInOutCubic(xe,$e,Ie,Fe){const Ue=Ie-$e;return xe/=Fe/2,xe<1?Ue/2*xe*xe*xe+$e:Ue/2*((xe-=2)*xe*xe+2)+$e}const isUndefined=xe=>xe===void 0,isBoolean=xe=>typeof xe=="boolean",isNumber$1=xe=>typeof xe=="number",isEmpty=xe=>!xe&&xe!==0||isArray$6(xe)&&xe.length===0||isObject$8(xe)&&!Object.keys(xe).length,isElement$1=xe=>typeof Element>"u"?!1:xe instanceof Element,isPropAbsent=xe=>isNil(xe),isStringNumber=xe=>isString$4(xe)?!Number.isNaN(Number(xe)):!1,isWindow=xe=>xe===window,rAF=xe=>isClient$1?window.requestAnimationFrame(xe):setTimeout(xe,16),cAF=xe=>isClient$1?window.cancelAnimationFrame(xe):clearTimeout(xe),escapeStringRegexp=(xe="")=>xe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=xe=>capitalize$1(xe),keysOf=xe=>Object.keys(xe),entriesOf=xe=>Object.entries(xe),getProp=(xe,$e,Ie)=>({get value(){return get$1(xe,$e,Ie)},set value(Fe){set$2(xe,$e,Fe)}});class ElementPlusError extends Error{constructor($e){super($e),this.name="ElementPlusError"}}function throwError$1(xe,$e){throw new ElementPlusError(`[${xe}] ${$e}`)}function debugWarn(xe,$e){}const classNameToArray=(xe="")=>xe.split(" ").filter($e=>!!$e.trim()),hasClass=(xe,$e)=>{if(!xe||!$e)return!1;if($e.includes(" "))throw new Error("className should not contain space.");return xe.classList.contains($e)},addClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.add(...classNameToArray($e))},removeClass=(xe,$e)=>{!xe||!$e.trim()||xe.classList.remove(...classNameToArray($e))},getStyle$1=(xe,$e)=>{var Ie;if(!isClient$1||!xe||!$e)return"";let Fe=camelize($e);Fe==="float"&&(Fe="cssFloat");try{const Ue=xe.style[Fe];if(Ue)return Ue;const qe=(Ie=document.defaultView)==null?void 0:Ie.getComputedStyle(xe,"");return qe?qe[Fe]:""}catch{return xe.style[Fe]}};function addUnit(xe,$e="px"){if(!xe)return"";if(isNumber$1(xe)||isStringNumber(xe))return`${xe}${$e}`;if(isString$4(xe))return xe}const isScroll=(xe,$e)=>{if(!isClient$1)return!1;const Ie={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String($e)],Fe=getStyle$1(xe,Ie);return["scroll","auto","overlay"].some(Ue=>Fe.includes(Ue))},getScrollContainer=(xe,$e)=>{if(!isClient$1)return;let Ie=xe;for(;Ie;){if([window,document,document.documentElement].includes(Ie))return window;if(isScroll(Ie,$e))return Ie;Ie=Ie.parentNode}return Ie};let scrollBarWidth;const getScrollBarWidth=xe=>{var $e;if(!isClient$1)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const Ie=document.createElement("div");Ie.className=`${xe}-scrollbar__wrap`,Ie.style.visibility="hidden",Ie.style.width="100px",Ie.style.position="absolute",Ie.style.top="-9999px",document.body.appendChild(Ie);const Fe=Ie.offsetWidth;Ie.style.overflow="scroll";const Ue=document.createElement("div");Ue.style.width="100%",Ie.appendChild(Ue);const qe=Ue.offsetWidth;return($e=Ie.parentNode)==null||$e.removeChild(Ie),scrollBarWidth=Fe-qe,scrollBarWidth};function scrollIntoView(xe,$e){if(!isClient$1)return;if(!$e){xe.scrollTop=0;return}const Ie=[];let Fe=$e.offsetParent;for(;Fe!==null&&xe!==Fe&&xe.contains(Fe);)Ie.push(Fe),Fe=Fe.offsetParent;const Ue=$e.offsetTop+Ie.reduce((Lt,jt)=>Lt+jt.offsetTop,0),qe=Ue+$e.offsetHeight,At=xe.scrollTop,Dt=At+xe.clientHeight;UeDt&&(xe.scrollTop=qe-xe.clientHeight)}function animateScrollTo(xe,$e,Ie,Fe,Ue){const qe=Date.now();let At;const Dt=()=>{const jt=Date.now()-qe,hn=easeInOutCubic(jt>Fe?Fe:jt,$e,Ie,Fe);isWindow(xe)?xe.scrollTo(window.pageXOffset,hn):xe.scrollTop=hn,jt{At&&cAF(At)}}const getScrollElement=(xe,$e)=>isWindow($e)?xe.ownerDocument.documentElement:$e,getScrollTop=xe=>isWindow(xe)?window.scrollY:xe.scrollTop,getElement=xe=>{if(!isClient$1||xe==="")return null;if(isString$4(xe))try{return document.querySelector(xe)}catch{return null}return xe};/*! Element Plus Icons Vue v2.3.1 */var arrow_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),arrow_down_default=arrow_down_vue_vue_type_script_setup_true_lang_default,arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_left_default=arrow_left_vue_vue_type_script_setup_true_lang_default,arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=arrow_right_vue_vue_type_script_setup_true_lang_default,arrow_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=arrow_up_vue_vue_type_script_setup_true_lang_default,back_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Back",__name:"back",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=back_vue_vue_type_script_setup_true_lang_default,calendar_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Calendar",__name:"calendar",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=calendar_vue_vue_type_script_setup_true_lang_default,caret_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretRight",__name:"caret-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=caret_right_vue_vue_type_script_setup_true_lang_default,caret_top_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CaretTop",__name:"caret-top",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=caret_top_vue_vue_type_script_setup_true_lang_default,check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Check",__name:"check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=check_vue_vue_type_script_setup_true_lang_default,circle_check_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=circle_check_filled_vue_vue_type_script_setup_true_lang_default,circle_check_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCheck",__name:"circle-check",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),circle_check_default=circle_check_vue_vue_type_script_setup_true_lang_default,circle_close_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=circle_close_filled_vue_vue_type_script_setup_true_lang_default,circle_close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"CircleClose",__name:"circle-close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=circle_close_vue_vue_type_script_setup_true_lang_default,clock_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Clock",__name:"clock",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=clock_vue_vue_type_script_setup_true_lang_default,close_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Close",__name:"close",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=close_vue_vue_type_script_setup_true_lang_default,d_arrow_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),d_arrow_left_default=d_arrow_left_vue_vue_type_script_setup_true_lang_default,d_arrow_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),d_arrow_right_default=d_arrow_right_vue_vue_type_script_setup_true_lang_default,delete_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Delete",__name:"delete",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=delete_vue_vue_type_script_setup_true_lang_default,document_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Document",__name:"document",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=document_vue_vue_type_script_setup_true_lang_default,full_screen_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"FullScreen",__name:"full-screen",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=full_screen_vue_vue_type_script_setup_true_lang_default,hide_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Hide",__name:"hide",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),hide_default=hide_vue_vue_type_script_setup_true_lang_default,info_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"InfoFilled",__name:"info-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=info_filled_vue_vue_type_script_setup_true_lang_default,loading_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Loading",__name:"loading",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),loading_default=loading_vue_vue_type_script_setup_true_lang_default,minus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Minus",__name:"minus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=minus_vue_vue_type_script_setup_true_lang_default,more_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"MoreFilled",__name:"more-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=more_filled_vue_vue_type_script_setup_true_lang_default,more_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"More",__name:"more",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=more_vue_vue_type_script_setup_true_lang_default,picture_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=picture_filled_vue_vue_type_script_setup_true_lang_default,plus_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Plus",__name:"plus",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=plus_vue_vue_type_script_setup_true_lang_default,question_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),question_filled_default=question_filled_vue_vue_type_script_setup_true_lang_default,refresh_left_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=refresh_left_vue_vue_type_script_setup_true_lang_default,refresh_right_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),refresh_right_default=refresh_right_vue_vue_type_script_setup_true_lang_default,refresh_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Refresh",__name:"refresh",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=refresh_vue_vue_type_script_setup_true_lang_default,scale_to_original_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),scale_to_original_default=scale_to_original_vue_vue_type_script_setup_true_lang_default,search_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Search",__name:"search",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=search_vue_vue_type_script_setup_true_lang_default,sort_down_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortDown",__name:"sort-down",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=sort_down_vue_vue_type_script_setup_true_lang_default,sort_up_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SortUp",__name:"sort-up",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=sort_up_vue_vue_type_script_setup_true_lang_default,star_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"StarFilled",__name:"star-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),star_filled_default=star_filled_vue_vue_type_script_setup_true_lang_default,star_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"Star",__name:"star",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=star_vue_vue_type_script_setup_true_lang_default,success_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=success_filled_vue_vue_type_script_setup_true_lang_default,view_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"View",__name:"view",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=view_vue_vue_type_script_setup_true_lang_default,warning_filled_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=warning_filled_vue_vue_type_script_setup_true_lang_default,zoom_in_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=zoom_in_vue_vue_type_script_setup_true_lang_default,zoom_out_vue_vue_type_script_setup_true_lang_default=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(xe){return($e,Ie)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=zoom_out_vue_vue_type_script_setup_true_lang_default;const epPropKey="__epPropKey",definePropType=xe=>xe,isEpProp=xe=>isObject$8(xe)&&!!xe[epPropKey],buildProp=(xe,$e)=>{if(!isObject$8(xe)||isEpProp(xe))return xe;const{values:Ie,required:Fe,default:Ue,type:qe,validator:At}=xe,Lt={type:qe,required:!!Fe,validator:Ie||At?jt=>{let hn=!1,vn=[];if(Ie&&(vn=Array.from(Ie),hasOwn$1(xe,"default")&&vn.push(Ue),hn||(hn=vn.includes(jt))),At&&(hn||(hn=At(jt))),!hn&&vn.length>0){const bn=[...new Set(vn)].map(_n=>JSON.stringify(_n)).join(", ");warn$2(`Invalid prop: validation failed${$e?` for prop "${$e}"`:""}. Expected one of [${bn}], got value ${JSON.stringify(jt)}.`)}return hn}:void 0,[epPropKey]:!0};return hasOwn$1(xe,"default")&&(Lt.default=Ue),Lt},buildProps=xe=>fromPairs(Object.entries(xe).map(([$e,Ie])=>[$e,buildProp(Ie,$e)])),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},withInstall=(xe,$e)=>{if(xe.install=Ie=>{for(const Fe of[xe,...Object.values($e??{})])Ie.component(Fe.name,Fe)},$e)for(const[Ie,Fe]of Object.entries($e))xe[Ie]=Fe;return xe},withInstallFunction=(xe,$e)=>(xe.install=Ie=>{xe._context=Ie._context,Ie.config.globalProperties[$e]=xe},xe),withInstallDirective=(xe,$e)=>(xe.install=Ie=>{Ie.directive($e,xe)},xe),withNoopInstall=xe=>(xe.install=NOOP,xe),composeRefs=(...xe)=>$e=>{xe.forEach(Ie=>{isFunction$5(Ie)?Ie($e):Ie.value=$e})},EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},datePickTypes=["year","years","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",INSTALLED_KEY=Symbol("INSTALLED_KEY"),componentSizes=["","default","small","large"],isValidComponentSize=xe=>["",...componentSizes].includes(xe);var PatchFlags=(xe=>(xe[xe.TEXT=1]="TEXT",xe[xe.CLASS=2]="CLASS",xe[xe.STYLE=4]="STYLE",xe[xe.PROPS=8]="PROPS",xe[xe.FULL_PROPS=16]="FULL_PROPS",xe[xe.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",xe[xe.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",xe[xe.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",xe[xe.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",xe[xe.NEED_PATCH=512]="NEED_PATCH",xe[xe.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",xe[xe.HOISTED=-1]="HOISTED",xe[xe.BAIL=-2]="BAIL",xe))(PatchFlags||{});function isFragment(xe){return isVNode(xe)&&xe.type===Fragment}function isComment(xe){return isVNode(xe)&&xe.type===Comment$1}function isValidElementNode(xe){return isVNode(xe)&&!isFragment(xe)&&!isComment(xe)}const getNormalizedProps=xe=>{if(!isVNode(xe))return{};const $e=xe.props||{},Ie=(isVNode(xe.type)?xe.type.props:void 0)||{},Fe={};return Object.keys(Ie).forEach(Ue=>{hasOwn$1(Ie[Ue],"default")&&(Fe[Ue]=Ie[Ue].default)}),Object.keys($e).forEach(Ue=>{Fe[camelize(Ue)]=$e[Ue]}),Fe},ensureOnlyChild=xe=>{if(!isArray$6(xe)||xe.length>1)throw new Error("expect to receive a single Vue element child");return xe[0]},flattedChildren=xe=>{const $e=isArray$6(xe)?xe:[xe],Ie=[];return $e.forEach(Fe=>{var Ue;isArray$6(Fe)?Ie.push(...flattedChildren(Fe)):isVNode(Fe)&&isArray$6(Fe.children)?Ie.push(...flattedChildren(Fe.children)):(Ie.push(Fe),isVNode(Fe)&&((Ue=Fe.component)!=null&&Ue.subTree)&&Ie.push(...flattedChildren(Fe.component.subTree)))}),Ie},unique=xe=>[...new Set(xe)],castArray=xe=>!xe&&xe!==0?[]:Array.isArray(xe)?xe:[xe],isKorean=xe=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(xe),mutable=xe=>xe;function throttleByRaf(xe){let $e=0;const Ie=(...Fe)=>{$e&&cAF($e),$e=rAF(()=>{xe(...Fe),$e=0})};return Ie.cancel=()=>{cAF($e),$e=0},Ie}const DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(xe={})=>{const{excludeListeners:$e=!1,excludeKeys:Ie}=xe,Fe=computed(()=>((Ie==null?void 0:Ie.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),Ue=getCurrentInstance();return computed(Ue?()=>{var qe;return fromPairs(Object.entries((qe=Ue.proxy)==null?void 0:qe.$attrs).filter(([At])=>!Fe.value.includes(At)&&!($e&&LISTENER_PREFIX.test(At))))}:()=>({}))},useDeprecated=({from:xe,replacement:$e,scope:Ie,version:Fe,ref:Ue,type:qe="API"},At)=>{watch(()=>unref(At),Dt=>{},{immediate:!0})},useDraggable=(xe,$e,Ie,Fe)=>{let Ue={offsetX:0,offsetY:0};const qe=Lt=>{const jt=Lt.clientX,hn=Lt.clientY,{offsetX:vn,offsetY:bn}=Ue,_n=xe.value.getBoundingClientRect(),wn=_n.left,kn=_n.top,Cn=_n.width,Sn=_n.height,xn=document.documentElement.clientWidth,En=document.documentElement.clientHeight,Tn=-wn+vn,An=-kn+bn,$n=xn-wn-Cn+vn,Pn=En-kn-Sn+bn,Nn=In=>{let On=vn+In.clientX-jt,Rn=bn+In.clientY-hn;Fe!=null&&Fe.value||(On=Math.min(Math.max(On,Tn),$n),Rn=Math.min(Math.max(Rn,An),Pn)),Ue={offsetX:On,offsetY:Rn},xe.value&&(xe.value.style.transform=`translate(${addUnit(On)}, ${addUnit(Rn)})`)},Mn=()=>{document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)},At=()=>{$e.value&&xe.value&&$e.value.addEventListener("mousedown",qe)},Dt=()=>{$e.value&&xe.value&&$e.value.removeEventListener("mousedown",qe)};onMounted(()=>{watchEffect(()=>{Ie.value?At():Dt()})}),onBeforeUnmount(()=>{Dt()})};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=xe=>($e,Ie)=>translate$1($e,Ie,unref(xe)),translate$1=(xe,$e,Ie)=>get$1(Ie,xe,xe).replace(/\{(\w+)\}/g,(Fe,Ue)=>{var qe;return`${(qe=$e==null?void 0:$e[Ue])!=null?qe:`{${Ue}}`}`}),buildLocaleContext=xe=>{const $e=computed(()=>unref(xe).name),Ie=isRef(xe)?xe:ref(xe);return{lang:$e,locale:Ie,t:buildTranslator(xe)}},localeContextKey=Symbol("localeContextKey"),useLocale=xe=>{const $e=xe||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>$e.value||English))},defaultNamespace="el",statePrefix="is-",_bem=(xe,$e,Ie,Fe,Ue)=>{let qe=`${xe}-${$e}`;return Ie&&(qe+=`-${Ie}`),Fe&&(qe+=`__${Fe}`),Ue&&(qe+=`--${Ue}`),qe},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=xe=>{const $e=xe||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref($e)||defaultNamespace)},useNamespace=(xe,$e)=>{const Ie=useGetDerivedNamespace($e);return{namespace:Ie,b:(kn="")=>_bem(Ie.value,xe,kn,"",""),e:kn=>kn?_bem(Ie.value,xe,"",kn,""):"",m:kn=>kn?_bem(Ie.value,xe,"","",kn):"",be:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,Cn,""):"",em:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,"",kn,Cn):"",bm:(kn,Cn)=>kn&&Cn?_bem(Ie.value,xe,kn,"",Cn):"",bem:(kn,Cn,Sn)=>kn&&Cn&&Sn?_bem(Ie.value,xe,kn,Cn,Sn):"",is:(kn,...Cn)=>{const Sn=Cn.length>=1?Cn[0]:!0;return kn&&Sn?`${statePrefix}${kn}`:""},cssVar:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${Sn}`]=kn[Sn]);return Cn},cssVarName:kn=>`--${Ie.value}-${kn}`,cssVarBlock:kn=>{const Cn={};for(const Sn in kn)kn[Sn]&&(Cn[`--${Ie.value}-${xe}-${Sn}`]=kn[Sn]);return Cn},cssVarBlockName:kn=>`--${Ie.value}-${xe}-${kn}`}},useLockscreen=(xe,$e={})=>{isRef(xe)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const Ie=$e.ns||useNamespace("popup"),Fe=computed(()=>Ie.bm("parent","hidden"));if(!isClient$1||hasClass(document.body,Fe.value))return;let Ue=0,qe=!1,At="0";const Dt=()=>{setTimeout(()=>{removeClass(document==null?void 0:document.body,Fe.value),qe&&document&&(document.body.style.width=At)},200)};watch(xe,Lt=>{if(!Lt){Dt();return}qe=!hasClass(document.body,Fe.value),qe&&(At=document.body.style.width),Ue=getScrollBarWidth(Ie.namespace.value);const jt=document.documentElement.clientHeight0&&(jt||hn==="scroll")&&qe&&(document.body.style.width=`calc(100% - ${Ue}px)`),addClass(document.body,Fe.value)}),onScopeDispose(()=>Dt())},_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=xe=>{const $e=`update:${xe}`,Ie=`onUpdate:${xe}`,Fe=[$e],Ue={[xe]:_prop,[Ie]:_event};return{useModelToggle:({indicator:At,toggleReason:Dt,shouldHideWhenRouteChanges:Lt,shouldProceed:jt,onShow:hn,onHide:vn})=>{const bn=getCurrentInstance(),{emit:_n}=bn,wn=bn.props,kn=computed(()=>isFunction$5(wn[Ie])),Cn=computed(()=>wn[xe]===null),Sn=Pn=>{At.value!==!0&&(At.value=!0,Dt&&(Dt.value=Pn),isFunction$5(hn)&&hn(Pn))},xn=Pn=>{At.value!==!1&&(At.value=!1,Dt&&(Dt.value=Pn),isFunction$5(vn)&&vn(Pn))},En=Pn=>{if(wn.disabled===!0||isFunction$5(jt)&&!jt())return;const Nn=kn.value&&isClient$1;Nn&&_n($e,!0),(Cn.value||!Nn)&&Sn(Pn)},Tn=Pn=>{if(wn.disabled===!0||!isClient$1)return;const Nn=kn.value&&isClient$1;Nn&&_n($e,!1),(Cn.value||!Nn)&&xn(Pn)},An=Pn=>{isBoolean(Pn)&&(wn.disabled&&Pn?kn.value&&_n($e,!1):At.value!==Pn&&(Pn?Sn():xn()))},$n=()=>{At.value?Tn():En()};return watch(()=>wn[xe],An),Lt&&bn.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...bn.proxy.$route}),()=>{Lt.value&&At.value&&Tn()}),onMounted(()=>{An(wn[xe])}),{hide:Tn,show:En,toggle:$n,hasUpdateHandler:kn}},useModelToggleProps:Ue,useModelToggleEmits:Fe}};createModelToggleComposable("modelValue");const useProp=xe=>{const $e=getCurrentInstance();return computed(()=>{var Ie,Fe;return(Fe=(Ie=$e==null?void 0:$e.proxy)==null?void 0:Ie.$props)==null?void 0:Fe[xe]})};var E$1="top",R="bottom",W="right",P$1="left",me="auto",G=[E$1,R,W,P$1],U$1="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(xe,$e){return xe.concat([$e+"-"+U$1,$e+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(xe,$e){return xe.concat([$e,$e+"-"+U$1,$e+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt$1="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt$1];function C(xe){return xe?(xe.nodeName||"").toLowerCase():null}function H(xe){if(xe==null)return window;if(xe.toString()!=="[object Window]"){var $e=xe.ownerDocument;return $e&&$e.defaultView||window}return xe}function Q(xe){var $e=H(xe).Element;return xe instanceof $e||xe instanceof Element}function B(xe){var $e=H(xe).HTMLElement;return xe instanceof $e||xe instanceof HTMLElement}function Pe(xe){if(typeof ShadowRoot>"u")return!1;var $e=H(xe).ShadowRoot;return xe instanceof $e||xe instanceof ShadowRoot}function Mt(xe){var $e=xe.state;Object.keys($e.elements).forEach(function(Ie){var Fe=$e.styles[Ie]||{},Ue=$e.attributes[Ie]||{},qe=$e.elements[Ie];!B(qe)||!C(qe)||(Object.assign(qe.style,Fe),Object.keys(Ue).forEach(function(At){var Dt=Ue[At];Dt===!1?qe.removeAttribute(At):qe.setAttribute(At,Dt===!0?"":Dt)}))})}function Rt(xe){var $e=xe.state,Ie={popper:{position:$e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign($e.elements.popper.style,Ie.popper),$e.styles=Ie,$e.elements.arrow&&Object.assign($e.elements.arrow.style,Ie.arrow),function(){Object.keys($e.elements).forEach(function(Fe){var Ue=$e.elements[Fe],qe=$e.attributes[Fe]||{},At=Object.keys($e.styles.hasOwnProperty(Fe)?$e.styles[Fe]:Ie[Fe]),Dt=At.reduce(function(Lt,jt){return Lt[jt]="",Lt},{});!B(Ue)||!C(Ue)||(Object.assign(Ue.style,Dt),Object.keys(qe).forEach(function(Lt){Ue.removeAttribute(Lt)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(xe){return xe.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(xe,$e){$e===void 0&&($e=!1);var Ie=xe.getBoundingClientRect(),Fe=1,Ue=1;if(B(xe)&&$e){var qe=xe.offsetHeight,At=xe.offsetWidth;At>0&&(Fe=Z(Ie.width)/At||1),qe>0&&(Ue=Z(Ie.height)/qe||1)}return{width:Ie.width/Fe,height:Ie.height/Ue,top:Ie.top/Ue,right:Ie.right/Fe,bottom:Ie.bottom/Ue,left:Ie.left/Fe,x:Ie.left/Fe,y:Ie.top/Ue}}function ke(xe){var $e=ee(xe),Ie=xe.offsetWidth,Fe=xe.offsetHeight;return Math.abs($e.width-Ie)<=1&&(Ie=$e.width),Math.abs($e.height-Fe)<=1&&(Fe=$e.height),{x:xe.offsetLeft,y:xe.offsetTop,width:Ie,height:Fe}}function it(xe,$e){var Ie=$e.getRootNode&&$e.getRootNode();if(xe.contains($e))return!0;if(Ie&&Pe(Ie)){var Fe=$e;do{if(Fe&&xe.isSameNode(Fe))return!0;Fe=Fe.parentNode||Fe.host}while(Fe)}return!1}function N$1(xe){return H(xe).getComputedStyle(xe)}function Wt(xe){return["table","td","th"].indexOf(C(xe))>=0}function I$1(xe){return((Q(xe)?xe.ownerDocument:xe.document)||window.document).documentElement}function ge(xe){return C(xe)==="html"?xe:xe.assignedSlot||xe.parentNode||(Pe(xe)?xe.host:null)||I$1(xe)}function at(xe){return!B(xe)||N$1(xe).position==="fixed"?null:xe.offsetParent}function Bt(xe){var $e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,Ie=navigator.userAgent.indexOf("Trident")!==-1;if(Ie&&B(xe)){var Fe=N$1(xe);if(Fe.position==="fixed")return null}var Ue=ge(xe);for(Pe(Ue)&&(Ue=Ue.host);B(Ue)&&["html","body"].indexOf(C(Ue))<0;){var qe=N$1(Ue);if(qe.transform!=="none"||qe.perspective!=="none"||qe.contain==="paint"||["transform","perspective"].indexOf(qe.willChange)!==-1||$e&&qe.willChange==="filter"||$e&&qe.filter&&qe.filter!=="none")return Ue;Ue=Ue.parentNode}return null}function se(xe){for(var $e=H(xe),Ie=at(xe);Ie&&Wt(Ie)&&N$1(Ie).position==="static";)Ie=at(Ie);return Ie&&(C(Ie)==="html"||C(Ie)==="body"&&N$1(Ie).position==="static")?$e:Ie||Bt(xe)||$e}function Le(xe){return["top","bottom"].indexOf(xe)>=0?"x":"y"}function fe(xe,$e,Ie){return X$1(xe,ve($e,Ie))}function St(xe,$e,Ie){var Fe=fe(xe,$e,Ie);return Fe>Ie?Ie:Fe}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(xe){return Object.assign({},st(),xe)}function ct(xe,$e){return $e.reduce(function(Ie,Fe){return Ie[Fe]=xe,Ie},{})}var Tt=function(xe,$e){return xe=typeof xe=="function"?xe(Object.assign({},$e.rects,{placement:$e.placement})):xe,ft(typeof xe!="number"?xe:ct(xe,G))};function Ht(xe){var $e,Ie=xe.state,Fe=xe.name,Ue=xe.options,qe=Ie.elements.arrow,At=Ie.modifiersData.popperOffsets,Dt=q(Ie.placement),Lt=Le(Dt),jt=[P$1,W].indexOf(Dt)>=0,hn=jt?"height":"width";if(!(!qe||!At)){var vn=Tt(Ue.padding,Ie),bn=ke(qe),_n=Lt==="y"?E$1:P$1,wn=Lt==="y"?R:W,kn=Ie.rects.reference[hn]+Ie.rects.reference[Lt]-At[Lt]-Ie.rects.popper[hn],Cn=At[Lt]-Ie.rects.reference[Lt],Sn=se(qe),xn=Sn?Lt==="y"?Sn.clientHeight||0:Sn.clientWidth||0:0,En=kn/2-Cn/2,Tn=vn[_n],An=xn-bn[hn]-vn[wn],$n=xn/2-bn[hn]/2+En,Pn=fe(Tn,$n,An),Nn=Lt;Ie.modifiersData[Fe]=($e={},$e[Nn]=Pn,$e.centerOffset=Pn-$n,$e)}}function Ct(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.element,Ue=Fe===void 0?"[data-popper-arrow]":Fe;Ue!=null&&(typeof Ue=="string"&&(Ue=$e.elements.popper.querySelector(Ue),!Ue)||!it($e.elements.popper,Ue)||($e.elements.arrow=Ue))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(xe){return xe.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(xe){var $e=xe.x,Ie=xe.y,Fe=window,Ue=Fe.devicePixelRatio||1;return{x:Z($e*Ue)/Ue||0,y:Z(Ie*Ue)/Ue||0}}function ut(xe){var $e,Ie=xe.popper,Fe=xe.popperRect,Ue=xe.placement,qe=xe.variation,At=xe.offsets,Dt=xe.position,Lt=xe.gpuAcceleration,jt=xe.adaptive,hn=xe.roundOffsets,vn=xe.isFixed,bn=At.x,_n=bn===void 0?0:bn,wn=At.y,kn=wn===void 0?0:wn,Cn=typeof hn=="function"?hn({x:_n,y:kn}):{x:_n,y:kn};_n=Cn.x,kn=Cn.y;var Sn=At.hasOwnProperty("x"),xn=At.hasOwnProperty("y"),En=P$1,Tn=E$1,An=window;if(jt){var $n=se(Ie),Pn="clientHeight",Nn="clientWidth";if($n===H(Ie)&&($n=I$1(Ie),N$1($n).position!=="static"&&Dt==="absolute"&&(Pn="scrollHeight",Nn="scrollWidth")),$n=$n,Ue===E$1||(Ue===P$1||Ue===W)&&qe===J){Tn=R;var Mn=vn&&$n===An&&An.visualViewport?An.visualViewport.height:$n[Pn];kn-=Mn-Fe.height,kn*=Lt?1:-1}if(Ue===P$1||(Ue===E$1||Ue===R)&&qe===J){En=W;var In=vn&&$n===An&&An.visualViewport?An.visualViewport.width:$n[Nn];_n-=In-Fe.width,_n*=Lt?1:-1}}var On=Object.assign({position:Dt},jt&&qt),Rn=hn===!0?Vt({x:_n,y:kn}):{x:_n,y:kn};if(_n=Rn.x,kn=Rn.y,Lt){var Bn;return Object.assign({},On,(Bn={},Bn[Tn]=xn?"0":"",Bn[En]=Sn?"0":"",Bn.transform=(An.devicePixelRatio||1)<=1?"translate("+_n+"px, "+kn+"px)":"translate3d("+_n+"px, "+kn+"px, 0)",Bn))}return Object.assign({},On,($e={},$e[Tn]=xn?kn+"px":"",$e[En]=Sn?_n+"px":"",$e.transform="",$e))}function Nt(xe){var $e=xe.state,Ie=xe.options,Fe=Ie.gpuAcceleration,Ue=Fe===void 0?!0:Fe,qe=Ie.adaptive,At=qe===void 0?!0:qe,Dt=Ie.roundOffsets,Lt=Dt===void 0?!0:Dt,jt={placement:q($e.placement),variation:te($e.placement),popper:$e.elements.popper,popperRect:$e.rects.popper,gpuAcceleration:Ue,isFixed:$e.options.strategy==="fixed"};$e.modifiersData.popperOffsets!=null&&($e.styles.popper=Object.assign({},$e.styles.popper,ut(Object.assign({},jt,{offsets:$e.modifiersData.popperOffsets,position:$e.options.strategy,adaptive:At,roundOffsets:Lt})))),$e.modifiersData.arrow!=null&&($e.styles.arrow=Object.assign({},$e.styles.arrow,ut(Object.assign({},jt,{offsets:$e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Lt})))),$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-placement":$e.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(xe){var $e=xe.state,Ie=xe.instance,Fe=xe.options,Ue=Fe.scroll,qe=Ue===void 0?!0:Ue,At=Fe.resize,Dt=At===void 0?!0:At,Lt=H($e.elements.popper),jt=[].concat($e.scrollParents.reference,$e.scrollParents.popper);return qe&&jt.forEach(function(hn){hn.addEventListener("scroll",Ie.update,ye)}),Dt&&Lt.addEventListener("resize",Ie.update,ye),function(){qe&&jt.forEach(function(hn){hn.removeEventListener("scroll",Ie.update,ye)}),Dt&&Lt.removeEventListener("resize",Ie.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(xe){return xe.replace(/left|right|bottom|top/g,function($e){return _t[$e]})}var zt={start:"end",end:"start"};function lt$1(xe){return xe.replace(/start|end/g,function($e){return zt[$e]})}function We(xe){var $e=H(xe),Ie=$e.pageXOffset,Fe=$e.pageYOffset;return{scrollLeft:Ie,scrollTop:Fe}}function Be(xe){return ee(I$1(xe)).left+We(xe).scrollLeft}function Ft(xe){var $e=H(xe),Ie=I$1(xe),Fe=$e.visualViewport,Ue=Ie.clientWidth,qe=Ie.clientHeight,At=0,Dt=0;return Fe&&(Ue=Fe.width,qe=Fe.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(At=Fe.offsetLeft,Dt=Fe.offsetTop)),{width:Ue,height:qe,x:At+Be(xe),y:Dt}}function Ut(xe){var $e,Ie=I$1(xe),Fe=We(xe),Ue=($e=xe.ownerDocument)==null?void 0:$e.body,qe=X$1(Ie.scrollWidth,Ie.clientWidth,Ue?Ue.scrollWidth:0,Ue?Ue.clientWidth:0),At=X$1(Ie.scrollHeight,Ie.clientHeight,Ue?Ue.scrollHeight:0,Ue?Ue.clientHeight:0),Dt=-Fe.scrollLeft+Be(xe),Lt=-Fe.scrollTop;return N$1(Ue||Ie).direction==="rtl"&&(Dt+=X$1(Ie.clientWidth,Ue?Ue.clientWidth:0)-qe),{width:qe,height:At,x:Dt,y:Lt}}function Se(xe){var $e=N$1(xe),Ie=$e.overflow,Fe=$e.overflowX,Ue=$e.overflowY;return/auto|scroll|overlay|hidden/.test(Ie+Ue+Fe)}function dt(xe){return["html","body","#document"].indexOf(C(xe))>=0?xe.ownerDocument.body:B(xe)&&Se(xe)?xe:dt(ge(xe))}function ce(xe,$e){var Ie;$e===void 0&&($e=[]);var Fe=dt(xe),Ue=Fe===((Ie=xe.ownerDocument)==null?void 0:Ie.body),qe=H(Fe),At=Ue?[qe].concat(qe.visualViewport||[],Se(Fe)?Fe:[]):Fe,Dt=$e.concat(At);return Ue?Dt:Dt.concat(ce(ge(At)))}function Te(xe){return Object.assign({},xe,{left:xe.x,top:xe.y,right:xe.x+xe.width,bottom:xe.y+xe.height})}function Xt(xe){var $e=ee(xe);return $e.top=$e.top+xe.clientTop,$e.left=$e.left+xe.clientLeft,$e.bottom=$e.top+xe.clientHeight,$e.right=$e.left+xe.clientWidth,$e.width=xe.clientWidth,$e.height=xe.clientHeight,$e.x=$e.left,$e.y=$e.top,$e}function ht(xe,$e){return $e===je?Te(Ft(xe)):Q($e)?Xt($e):Te(Ut(I$1(xe)))}function Yt(xe){var $e=ce(ge(xe)),Ie=["absolute","fixed"].indexOf(N$1(xe).position)>=0,Fe=Ie&&B(xe)?se(xe):xe;return Q(Fe)?$e.filter(function(Ue){return Q(Ue)&&it(Ue,Fe)&&C(Ue)!=="body"}):[]}function Gt(xe,$e,Ie){var Fe=$e==="clippingParents"?Yt(xe):[].concat($e),Ue=[].concat(Fe,[Ie]),qe=Ue[0],At=Ue.reduce(function(Dt,Lt){var jt=ht(xe,Lt);return Dt.top=X$1(jt.top,Dt.top),Dt.right=ve(jt.right,Dt.right),Dt.bottom=ve(jt.bottom,Dt.bottom),Dt.left=X$1(jt.left,Dt.left),Dt},ht(xe,qe));return At.width=At.right-At.left,At.height=At.bottom-At.top,At.x=At.left,At.y=At.top,At}function mt(xe){var $e=xe.reference,Ie=xe.element,Fe=xe.placement,Ue=Fe?q(Fe):null,qe=Fe?te(Fe):null,At=$e.x+$e.width/2-Ie.width/2,Dt=$e.y+$e.height/2-Ie.height/2,Lt;switch(Ue){case E$1:Lt={x:At,y:$e.y-Ie.height};break;case R:Lt={x:At,y:$e.y+$e.height};break;case W:Lt={x:$e.x+$e.width,y:Dt};break;case P$1:Lt={x:$e.x-Ie.width,y:Dt};break;default:Lt={x:$e.x,y:$e.y}}var jt=Ue?Le(Ue):null;if(jt!=null){var hn=jt==="y"?"height":"width";switch(qe){case U$1:Lt[jt]=Lt[jt]-($e[hn]/2-Ie[hn]/2);break;case J:Lt[jt]=Lt[jt]+($e[hn]/2-Ie[hn]/2);break}}return Lt}function ne(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Fe===void 0?xe.placement:Fe,qe=Ie.boundary,At=qe===void 0?Xe:qe,Dt=Ie.rootBoundary,Lt=Dt===void 0?je:Dt,jt=Ie.elementContext,hn=jt===void 0?K:jt,vn=Ie.altBoundary,bn=vn===void 0?!1:vn,_n=Ie.padding,wn=_n===void 0?0:_n,kn=ft(typeof wn!="number"?wn:ct(wn,G)),Cn=hn===K?Ye:K,Sn=xe.rects.popper,xn=xe.elements[bn?Cn:hn],En=Gt(Q(xn)?xn:xn.contextElement||I$1(xe.elements.popper),At,Lt),Tn=ee(xe.elements.reference),An=mt({reference:Tn,element:Sn,strategy:"absolute",placement:Ue}),$n=Te(Object.assign({},Sn,An)),Pn=hn===K?$n:Tn,Nn={top:En.top-Pn.top+kn.top,bottom:Pn.bottom-En.bottom+kn.bottom,left:En.left-Pn.left+kn.left,right:Pn.right-En.right+kn.right},Mn=xe.modifiersData.offset;if(hn===K&&Mn){var In=Mn[Ue];Object.keys(Nn).forEach(function(On){var Rn=[W,R].indexOf(On)>=0?1:-1,Bn=[E$1,R].indexOf(On)>=0?"y":"x";Nn[On]+=In[Bn]*Rn})}return Nn}function Jt(xe,$e){$e===void 0&&($e={});var Ie=$e,Fe=Ie.placement,Ue=Ie.boundary,qe=Ie.rootBoundary,At=Ie.padding,Dt=Ie.flipVariations,Lt=Ie.allowedAutoPlacements,jt=Lt===void 0?Ee:Lt,hn=te(Fe),vn=hn?Dt?De:De.filter(function(wn){return te(wn)===hn}):G,bn=vn.filter(function(wn){return jt.indexOf(wn)>=0});bn.length===0&&(bn=vn);var _n=bn.reduce(function(wn,kn){return wn[kn]=ne(xe,{placement:kn,boundary:Ue,rootBoundary:qe,padding:At})[q(kn)],wn},{});return Object.keys(_n).sort(function(wn,kn){return _n[wn]-_n[kn]})}function Kt(xe){if(q(xe)===me)return[];var $e=be(xe);return[lt$1(xe),$e,lt$1($e)]}function Qt(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name;if(!$e.modifiersData[Fe]._skip){for(var Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!0:At,Lt=Ie.fallbackPlacements,jt=Ie.padding,hn=Ie.boundary,vn=Ie.rootBoundary,bn=Ie.altBoundary,_n=Ie.flipVariations,wn=_n===void 0?!0:_n,kn=Ie.allowedAutoPlacements,Cn=$e.options.placement,Sn=q(Cn),xn=Sn===Cn,En=Lt||(xn||!wn?[be(Cn)]:Kt(Cn)),Tn=[Cn].concat(En).reduce(function(er,rr){return er.concat(q(rr)===me?Jt($e,{placement:rr,boundary:hn,rootBoundary:vn,padding:jt,flipVariations:wn,allowedAutoPlacements:kn}):rr)},[]),An=$e.rects.reference,$n=$e.rects.popper,Pn=new Map,Nn=!0,Mn=Tn[0],In=0;In=0,Ln=Vn?"width":"height",Dn=ne($e,{placement:On,boundary:hn,rootBoundary:vn,altBoundary:bn,padding:jt}),Hn=Vn?Bn?W:P$1:Bn?R:E$1;An[Ln]>$n[Ln]&&(Hn=be(Hn));var Fn=be(Hn),zn=[];if(qe&&zn.push(Dn[Rn]<=0),Dt&&zn.push(Dn[Hn]<=0,Dn[Fn]<=0),zn.every(function(er){return er})){Mn=On,Nn=!1;break}Pn.set(On,zn)}if(Nn)for(var jn=wn?3:1,Gn=function(er){var rr=Tn.find(function(Jn){var qn=Pn.get(Jn);if(qn)return qn.slice(0,er).every(function(Yn){return Yn})});if(rr)return Mn=rr,"break"},Wn=jn;Wn>0;Wn--){var Xn=Gn(Wn);if(Xn==="break")break}$e.placement!==Mn&&($e.modifiersData[Fe]._skip=!0,$e.placement=Mn,$e.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(xe,$e,Ie){return Ie===void 0&&(Ie={x:0,y:0}),{top:xe.top-$e.height-Ie.y,right:xe.right-$e.width+Ie.x,bottom:xe.bottom-$e.height+Ie.y,left:xe.left-$e.width-Ie.x}}function yt(xe){return[E$1,W,R,P$1].some(function($e){return xe[$e]>=0})}function Zt(xe){var $e=xe.state,Ie=xe.name,Fe=$e.rects.reference,Ue=$e.rects.popper,qe=$e.modifiersData.preventOverflow,At=ne($e,{elementContext:"reference"}),Dt=ne($e,{altBoundary:!0}),Lt=gt(At,Fe),jt=gt(Dt,Ue,qe),hn=yt(Lt),vn=yt(jt);$e.modifiersData[Ie]={referenceClippingOffsets:Lt,popperEscapeOffsets:jt,isReferenceHidden:hn,hasPopperEscaped:vn},$e.attributes.popper=Object.assign({},$e.attributes.popper,{"data-popper-reference-hidden":hn,"data-popper-escaped":vn})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(xe,$e,Ie){var Fe=q(xe),Ue=[P$1,E$1].indexOf(Fe)>=0?-1:1,qe=typeof Ie=="function"?Ie(Object.assign({},$e,{placement:xe})):Ie,At=qe[0],Dt=qe[1];return At=At||0,Dt=(Dt||0)*Ue,[P$1,W].indexOf(Fe)>=0?{x:Dt,y:At}:{x:At,y:Dt}}function tn(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.offset,qe=Ue===void 0?[0,0]:Ue,At=Ee.reduce(function(hn,vn){return hn[vn]=en(vn,$e.rects,qe),hn},{}),Dt=At[$e.placement],Lt=Dt.x,jt=Dt.y;$e.modifiersData.popperOffsets!=null&&($e.modifiersData.popperOffsets.x+=Lt,$e.modifiersData.popperOffsets.y+=jt),$e.modifiersData[Fe]=At}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(xe){var $e=xe.state,Ie=xe.name;$e.modifiersData[Ie]=mt({reference:$e.rects.reference,element:$e.rects.popper,strategy:"absolute",placement:$e.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(xe){return xe==="x"?"y":"x"}function on(xe){var $e=xe.state,Ie=xe.options,Fe=xe.name,Ue=Ie.mainAxis,qe=Ue===void 0?!0:Ue,At=Ie.altAxis,Dt=At===void 0?!1:At,Lt=Ie.boundary,jt=Ie.rootBoundary,hn=Ie.altBoundary,vn=Ie.padding,bn=Ie.tether,_n=bn===void 0?!0:bn,wn=Ie.tetherOffset,kn=wn===void 0?0:wn,Cn=ne($e,{boundary:Lt,rootBoundary:jt,padding:vn,altBoundary:hn}),Sn=q($e.placement),xn=te($e.placement),En=!xn,Tn=Le(Sn),An=rn(Tn),$n=$e.modifiersData.popperOffsets,Pn=$e.rects.reference,Nn=$e.rects.popper,Mn=typeof kn=="function"?kn(Object.assign({},$e.rects,{placement:$e.placement})):kn,In=typeof Mn=="number"?{mainAxis:Mn,altAxis:Mn}:Object.assign({mainAxis:0,altAxis:0},Mn),On=$e.modifiersData.offset?$e.modifiersData.offset[$e.placement]:null,Rn={x:0,y:0};if($n){if(qe){var Bn,Vn=Tn==="y"?E$1:P$1,Ln=Tn==="y"?R:W,Dn=Tn==="y"?"height":"width",Hn=$n[Tn],Fn=Hn+Cn[Vn],zn=Hn-Cn[Ln],jn=_n?-Nn[Dn]/2:0,Gn=xn===U$1?Pn[Dn]:Nn[Dn],Wn=xn===U$1?-Nn[Dn]:-Pn[Dn],Xn=$e.elements.arrow,er=_n&&Xn?ke(Xn):{width:0,height:0},rr=$e.modifiersData["arrow#persistent"]?$e.modifiersData["arrow#persistent"].padding:st(),Jn=rr[Vn],qn=rr[Ln],Yn=fe(0,Pn[Dn],er[Dn]),ar=En?Pn[Dn]/2-jn-Yn-Jn-In.mainAxis:Gn-Yn-Jn-In.mainAxis,tr=En?-Pn[Dn]/2+jn+Yn+qn+In.mainAxis:Wn+Yn+qn+In.mainAxis,or=$e.elements.arrow&&se($e.elements.arrow),sr=or?Tn==="y"?or.clientTop||0:or.clientLeft||0:0,Kn=(Bn=On==null?void 0:On[Tn])!=null?Bn:0,Zn=Hn+ar-Kn-sr,nr=Hn+tr-Kn,lr=fe(_n?ve(Fn,Zn):Fn,Hn,_n?X$1(zn,nr):zn);$n[Tn]=lr,Rn[Tn]=lr-Hn}if(Dt){var ir,kr=Tn==="x"?E$1:P$1,Cr=Tn==="x"?R:W,Er=$n[An],dr=An==="y"?"height":"width",br=Er+Cn[kr],_r=Er-Cn[Cr],Pr=[E$1,P$1].indexOf(Sn)!==-1,gr=(ir=On==null?void 0:On[An])!=null?ir:0,xr=Pr?br:Er-Pn[dr]-Nn[dr]-gr+In.altAxis,Rr=Pr?Er+Pn[dr]+Nn[dr]-gr-In.altAxis:_r,Hr=_n&&Pr?St(xr,Er,Rr):fe(_n?xr:br,Er,_n?Rr:_r);$n[An]=Hr,Rn[An]=Hr-Er}$e.modifiersData[Fe]=Rn}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(xe){return{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}}function sn(xe){return xe===H(xe)||!B(xe)?We(xe):an(xe)}function fn(xe){var $e=xe.getBoundingClientRect(),Ie=Z($e.width)/xe.offsetWidth||1,Fe=Z($e.height)/xe.offsetHeight||1;return Ie!==1||Fe!==1}function cn(xe,$e,Ie){Ie===void 0&&(Ie=!1);var Fe=B($e),Ue=B($e)&&fn($e),qe=I$1($e),At=ee(xe,Ue),Dt={scrollLeft:0,scrollTop:0},Lt={x:0,y:0};return(Fe||!Fe&&!Ie)&&((C($e)!=="body"||Se(qe))&&(Dt=sn($e)),B($e)?(Lt=ee($e,!0),Lt.x+=$e.clientLeft,Lt.y+=$e.clientTop):qe&&(Lt.x=Be(qe))),{x:At.left+Dt.scrollLeft-Lt.x,y:At.top+Dt.scrollTop-Lt.y,width:At.width,height:At.height}}function pn(xe){var $e=new Map,Ie=new Set,Fe=[];xe.forEach(function(qe){$e.set(qe.name,qe)});function Ue(qe){Ie.add(qe.name);var At=[].concat(qe.requires||[],qe.requiresIfExists||[]);At.forEach(function(Dt){if(!Ie.has(Dt)){var Lt=$e.get(Dt);Lt&&Ue(Lt)}}),Fe.push(qe)}return xe.forEach(function(qe){Ie.has(qe.name)||Ue(qe)}),Fe}function un(xe){var $e=pn(xe);return ot.reduce(function(Ie,Fe){return Ie.concat($e.filter(function(Ue){return Ue.phase===Fe}))},[])}function ln(xe){var $e;return function(){return $e||($e=new Promise(function(Ie){Promise.resolve().then(function(){$e=void 0,Ie(xe())})})),$e}}function dn(xe){var $e=xe.reduce(function(Ie,Fe){var Ue=Ie[Fe.name];return Ie[Fe.name]=Ue?Object.assign({},Ue,Fe,{options:Object.assign({},Ue.options,Fe.options),data:Object.assign({},Ue.data,Fe.data)}):Fe,Ie},{});return Object.keys($e).map(function(Ie){return $e[Ie]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var xe=arguments.length,$e=new Array(xe),Ie=0;Ie{const Fe={name:"updateState",enabled:!0,phase:"write",fn:({state:Lt})=>{const jt=deriveState(Lt);Object.assign(At.value,jt)},requires:["computeStyles"]},Ue=computed(()=>{const{onFirstUpdate:Lt,placement:jt,strategy:hn,modifiers:vn}=unref(Ie);return{onFirstUpdate:Lt,placement:jt||"bottom",strategy:hn||"absolute",modifiers:[...vn||[],Fe,{name:"applyStyles",enabled:!1}]}}),qe=shallowRef(),At=ref({styles:{popper:{position:unref(Ue).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),Dt=()=>{qe.value&&(qe.value.destroy(),qe.value=void 0)};return watch(Ue,Lt=>{const jt=unref(qe);jt&&jt.setOptions(Lt)},{deep:!0}),watch([xe,$e],([Lt,jt])=>{Dt(),!(!Lt||!jt)&&(qe.value=yn(Lt,jt,unref(Ue)))}),onBeforeUnmount(()=>{Dt()}),{state:computed(()=>{var Lt;return{...((Lt=unref(qe))==null?void 0:Lt.state)||{}}}),styles:computed(()=>unref(At).styles),attributes:computed(()=>unref(At).attributes),update:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.update()},forceUpdate:()=>{var Lt;return(Lt=unref(qe))==null?void 0:Lt.forceUpdate()},instanceRef:computed(()=>unref(qe))}};function deriveState(xe){const $e=Object.keys(xe.elements),Ie=fromPairs($e.map(Ue=>[Ue,xe.styles[Ue]||{}])),Fe=fromPairs($e.map(Ue=>[Ue,xe.attributes[Ue]]));return{styles:Ie,attributes:Fe}}const useSameTarget=xe=>{if(!xe)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let $e=!1,Ie=!1;return{onClick:At=>{$e&&Ie&&xe(At),$e=Ie=!1},onMousedown:At=>{$e=At.target===At.currentTarget},onMouseup:At=>{Ie=At.target===At.currentTarget}}},useThrottleRender=(xe,$e=0)=>{if($e===0)return xe;const Ie=ref(!1);let Fe=0;const Ue=()=>{Fe&&clearTimeout(Fe),Fe=window.setTimeout(()=>{Ie.value=xe.value},$e)};return onMounted(Ue),watch(()=>xe.value,qe=>{qe?Ue():Ie.value=qe}),Ie};function useTimeout(){let xe;const $e=(Fe,Ue)=>{Ie(),xe=window.setTimeout(Fe,Ue)},Ie=()=>window.clearTimeout(xe);return tryOnScopeDispose$1(()=>Ie()),{registerTimeout:$e,cancelTimeout:Ie}}const defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=xe=>{const $e=useIdInjection(),Ie=useGetDerivedNamespace();return computed(()=>unref(xe)||`${Ie.value}-id-${$e.prefix}-${$e.current++}`)};let registeredEscapeHandlers=[];const cachedHandler=xe=>{const $e=xe;$e.key===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(Ie=>Ie($e))},useEscapeKeydown=xe=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient$1&®isteredEscapeHandlers.push(xe)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter($e=>$e!==xe),registeredEscapeHandlers.length===0&&isClient$1&&document.removeEventListener("keydown",cachedHandler)})};let cachedContainer;const usePopperContainerId=()=>{const xe=useGetDerivedNamespace(),$e=useIdInjection(),Ie=computed(()=>`${xe.value}-popper-container-${$e.prefix}`),Fe=computed(()=>`#${Ie.value}`);return{id:Ie,selector:Fe}},createContainer=xe=>{const $e=document.createElement("div");return $e.id=xe,document.body.appendChild($e),$e},usePopperContainer=()=>{const{id:xe,selector:$e}=usePopperContainerId();return onBeforeMount(()=>{isClient$1&&!cachedContainer&&!document.body.querySelector($e.value)&&(cachedContainer=createContainer(xe.value))}),{id:xe,selector:$e}},useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:xe,hideAfter:$e,autoClose:Ie,open:Fe,close:Ue})=>{const{registerTimeout:qe}=useTimeout(),{registerTimeout:At,cancelTimeout:Dt}=useTimeout();return{onOpen:hn=>{qe(()=>{Fe(hn);const vn=unref(Ie);isNumber$1(vn)&&vn>0&&At(()=>{Ue(hn)},vn)},unref(xe))},onClose:hn=>{Dt(),qe(()=>{Ue(hn)},unref($e))}}},FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=xe=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:Ie=>{xe.value=Ie}})},useForwardRefDirective=xe=>({mounted($e){xe($e)},updated($e){xe($e)},unmounted(){xe(null)}}),initial={current:0},zIndex=ref(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=xe=>{const $e=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,Ie=xe||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),Fe=computed(()=>{const At=unref(Ie);return isNumber$1(At)?At:defaultInitialZIndex}),Ue=computed(()=>Fe.value+zIndex.value),qe=()=>($e.current++,zIndex.value=$e.current,Ue.value);return!isClient$1&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:Fe,currentZIndex:Ue,nextZIndex:qe}};function getNodeName(xe){return isNode(xe)?(xe.nodeName||"").toLowerCase():"#document"}function getWindow(xe){var $e;return(xe==null||($e=xe.ownerDocument)==null?void 0:$e.defaultView)||window}function getDocumentElement(xe){var $e;return($e=(isNode(xe)?xe.ownerDocument:xe.document)||window.document)==null?void 0:$e.documentElement}function isNode(xe){return xe instanceof Node||xe instanceof getWindow(xe).Node}function isElement(xe){return xe instanceof Element||xe instanceof getWindow(xe).Element}function isHTMLElement(xe){return xe instanceof HTMLElement||xe instanceof getWindow(xe).HTMLElement}function isShadowRoot(xe){return typeof ShadowRoot>"u"?!1:xe instanceof ShadowRoot||xe instanceof getWindow(xe).ShadowRoot}function isOverflowElement(xe){const{overflow:$e,overflowX:Ie,overflowY:Fe,display:Ue}=getComputedStyle$2(xe);return/auto|scroll|overlay|hidden|clip/.test($e+Fe+Ie)&&!["inline","contents"].includes(Ue)}function isTableElement(xe){return["table","td","th"].includes(getNodeName(xe))}function isContainingBlock(xe){const $e=isWebKit(),Ie=getComputedStyle$2(xe);return Ie.transform!=="none"||Ie.perspective!=="none"||(Ie.containerType?Ie.containerType!=="normal":!1)||!$e&&(Ie.backdropFilter?Ie.backdropFilter!=="none":!1)||!$e&&(Ie.filter?Ie.filter!=="none":!1)||["transform","perspective","filter"].some(Fe=>(Ie.willChange||"").includes(Fe))||["paint","layout","strict","content"].some(Fe=>(Ie.contain||"").includes(Fe))}function getContainingBlock(xe){let $e=getParentNode(xe);for(;isHTMLElement($e)&&!isLastTraversableNode($e);){if(isContainingBlock($e))return $e;$e=getParentNode($e)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(xe){return["html","body","#document"].includes(getNodeName(xe))}function getComputedStyle$2(xe){return getWindow(xe).getComputedStyle(xe)}function getNodeScroll(xe){return isElement(xe)?{scrollLeft:xe.scrollLeft,scrollTop:xe.scrollTop}:{scrollLeft:xe.pageXOffset,scrollTop:xe.pageYOffset}}function getParentNode(xe){if(getNodeName(xe)==="html")return xe;const $e=xe.assignedSlot||xe.parentNode||isShadowRoot(xe)&&xe.host||getDocumentElement(xe);return isShadowRoot($e)?$e.host:$e}function getNearestOverflowAncestor(xe){const $e=getParentNode(xe);return isLastTraversableNode($e)?xe.ownerDocument?xe.ownerDocument.body:xe.body:isHTMLElement($e)&&isOverflowElement($e)?$e:getNearestOverflowAncestor($e)}function getOverflowAncestors(xe,$e,Ie){var Fe;$e===void 0&&($e=[]),Ie===void 0&&(Ie=!0);const Ue=getNearestOverflowAncestor(xe),qe=Ue===((Fe=xe.ownerDocument)==null?void 0:Fe.body),At=getWindow(Ue);return qe?$e.concat(At,At.visualViewport||[],isOverflowElement(Ue)?Ue:[],At.frameElement&&Ie?getOverflowAncestors(At.frameElement):[]):$e.concat(Ue,getOverflowAncestors(Ue,[],Ie))}function getCssDimensions(xe){const $e=getComputedStyle$2(xe);let Ie=parseFloat($e.width)||0,Fe=parseFloat($e.height)||0;const Ue=isHTMLElement(xe),qe=Ue?xe.offsetWidth:Ie,At=Ue?xe.offsetHeight:Fe,Dt=round$4(Ie)!==qe||round$4(Fe)!==At;return Dt&&(Ie=qe,Fe=At),{width:Ie,height:Fe,$:Dt}}function unwrapElement(xe){return isElement(xe)?xe:xe.contextElement}function getScale(xe){const $e=unwrapElement(xe);if(!isHTMLElement($e))return createCoords(1);const Ie=$e.getBoundingClientRect(),{width:Fe,height:Ue,$:qe}=getCssDimensions($e);let At=(qe?round$4(Ie.width):Ie.width)/Fe,Dt=(qe?round$4(Ie.height):Ie.height)/Ue;return(!At||!Number.isFinite(At))&&(At=1),(!Dt||!Number.isFinite(Dt))&&(Dt=1),{x:At,y:Dt}}const noOffsets=createCoords(0);function getVisualOffsets(xe){const $e=getWindow(xe);return!isWebKit()||!$e.visualViewport?noOffsets:{x:$e.visualViewport.offsetLeft,y:$e.visualViewport.offsetTop}}function shouldAddVisualOffsets(xe,$e,Ie){return $e===void 0&&($e=!1),!Ie||$e&&Ie!==getWindow(xe)?!1:$e}function getBoundingClientRect(xe,$e,Ie,Fe){$e===void 0&&($e=!1),Ie===void 0&&(Ie=!1);const Ue=xe.getBoundingClientRect(),qe=unwrapElement(xe);let At=createCoords(1);$e&&(Fe?isElement(Fe)&&(At=getScale(Fe)):At=getScale(xe));const Dt=shouldAddVisualOffsets(qe,Ie,Fe)?getVisualOffsets(qe):createCoords(0);let Lt=(Ue.left+Dt.x)/At.x,jt=(Ue.top+Dt.y)/At.y,hn=Ue.width/At.x,vn=Ue.height/At.y;if(qe){const bn=getWindow(qe),_n=Fe&&isElement(Fe)?getWindow(Fe):Fe;let wn=bn,kn=wn.frameElement;for(;kn&&Fe&&_n!==wn;){const Cn=getScale(kn),Sn=kn.getBoundingClientRect(),xn=getComputedStyle$2(kn),En=Sn.left+(kn.clientLeft+parseFloat(xn.paddingLeft))*Cn.x,Tn=Sn.top+(kn.clientTop+parseFloat(xn.paddingTop))*Cn.y;Lt*=Cn.x,jt*=Cn.y,hn*=Cn.x,vn*=Cn.y,Lt+=En,jt+=Tn,wn=getWindow(kn),kn=wn.frameElement}}return rectToClientRect({width:hn,height:vn,x:Lt,y:jt})}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(xe){return topLayerSelectors.some($e=>{try{return xe.matches($e)}catch{return!1}})}function convertOffsetParentRelativeRectToViewportRelativeRect(xe){let{elements:$e,rect:Ie,offsetParent:Fe,strategy:Ue}=xe;const qe=Ue==="fixed",At=getDocumentElement(Fe),Dt=$e?isTopLayer($e.floating):!1;if(Fe===At||Dt&&qe)return Ie;let Lt={scrollLeft:0,scrollTop:0},jt=createCoords(1);const hn=createCoords(0),vn=isHTMLElement(Fe);if((vn||!vn&&!qe)&&((getNodeName(Fe)!=="body"||isOverflowElement(At))&&(Lt=getNodeScroll(Fe)),isHTMLElement(Fe))){const bn=getBoundingClientRect(Fe);jt=getScale(Fe),hn.x=bn.x+Fe.clientLeft,hn.y=bn.y+Fe.clientTop}return{width:Ie.width*jt.x,height:Ie.height*jt.y,x:Ie.x*jt.x-Lt.scrollLeft*jt.x+hn.x,y:Ie.y*jt.y-Lt.scrollTop*jt.y+hn.y}}function getClientRects(xe){return Array.from(xe.getClientRects())}function getWindowScrollBarX(xe){return getBoundingClientRect(getDocumentElement(xe)).left+getNodeScroll(xe).scrollLeft}function getDocumentRect(xe){const $e=getDocumentElement(xe),Ie=getNodeScroll(xe),Fe=xe.ownerDocument.body,Ue=max$3($e.scrollWidth,$e.clientWidth,Fe.scrollWidth,Fe.clientWidth),qe=max$3($e.scrollHeight,$e.clientHeight,Fe.scrollHeight,Fe.clientHeight);let At=-Ie.scrollLeft+getWindowScrollBarX(xe);const Dt=-Ie.scrollTop;return getComputedStyle$2(Fe).direction==="rtl"&&(At+=max$3($e.clientWidth,Fe.clientWidth)-Ue),{width:Ue,height:qe,x:At,y:Dt}}function getViewportRect(xe,$e){const Ie=getWindow(xe),Fe=getDocumentElement(xe),Ue=Ie.visualViewport;let qe=Fe.clientWidth,At=Fe.clientHeight,Dt=0,Lt=0;if(Ue){qe=Ue.width,At=Ue.height;const jt=isWebKit();(!jt||jt&&$e==="fixed")&&(Dt=Ue.offsetLeft,Lt=Ue.offsetTop)}return{width:qe,height:At,x:Dt,y:Lt}}function getInnerBoundingClientRect(xe,$e){const Ie=getBoundingClientRect(xe,!0,$e==="fixed"),Fe=Ie.top+xe.clientTop,Ue=Ie.left+xe.clientLeft,qe=isHTMLElement(xe)?getScale(xe):createCoords(1),At=xe.clientWidth*qe.x,Dt=xe.clientHeight*qe.y,Lt=Ue*qe.x,jt=Fe*qe.y;return{width:At,height:Dt,x:Lt,y:jt}}function getClientRectFromClippingAncestor(xe,$e,Ie){let Fe;if($e==="viewport")Fe=getViewportRect(xe,Ie);else if($e==="document")Fe=getDocumentRect(getDocumentElement(xe));else if(isElement($e))Fe=getInnerBoundingClientRect($e,Ie);else{const Ue=getVisualOffsets(xe);Fe={...$e,x:$e.x-Ue.x,y:$e.y-Ue.y}}return rectToClientRect(Fe)}function hasFixedPositionAncestor(xe,$e){const Ie=getParentNode(xe);return Ie===$e||!isElement(Ie)||isLastTraversableNode(Ie)?!1:getComputedStyle$2(Ie).position==="fixed"||hasFixedPositionAncestor(Ie,$e)}function getClippingElementAncestors(xe,$e){const Ie=$e.get(xe);if(Ie)return Ie;let Fe=getOverflowAncestors(xe,[],!1).filter(Dt=>isElement(Dt)&&getNodeName(Dt)!=="body"),Ue=null;const qe=getComputedStyle$2(xe).position==="fixed";let At=qe?getParentNode(xe):xe;for(;isElement(At)&&!isLastTraversableNode(At);){const Dt=getComputedStyle$2(At),Lt=isContainingBlock(At);!Lt&&Dt.position==="fixed"&&(Ue=null),(qe?!Lt&&!Ue:!Lt&&Dt.position==="static"&&!!Ue&&["absolute","fixed"].includes(Ue.position)||isOverflowElement(At)&&!Lt&&hasFixedPositionAncestor(xe,At))?Fe=Fe.filter(hn=>hn!==At):Ue=Dt,At=getParentNode(At)}return $e.set(xe,Fe),Fe}function getClippingRect(xe){let{element:$e,boundary:Ie,rootBoundary:Fe,strategy:Ue}=xe;const At=[...Ie==="clippingAncestors"?getClippingElementAncestors($e,this._c):[].concat(Ie),Fe],Dt=At[0],Lt=At.reduce((jt,hn)=>{const vn=getClientRectFromClippingAncestor($e,hn,Ue);return jt.top=max$3(vn.top,jt.top),jt.right=min$3(vn.right,jt.right),jt.bottom=min$3(vn.bottom,jt.bottom),jt.left=max$3(vn.left,jt.left),jt},getClientRectFromClippingAncestor($e,Dt,Ue));return{width:Lt.right-Lt.left,height:Lt.bottom-Lt.top,x:Lt.left,y:Lt.top}}function getDimensions(xe){const{width:$e,height:Ie}=getCssDimensions(xe);return{width:$e,height:Ie}}function getRectRelativeToOffsetParent(xe,$e,Ie){const Fe=isHTMLElement($e),Ue=getDocumentElement($e),qe=Ie==="fixed",At=getBoundingClientRect(xe,!0,qe,$e);let Dt={scrollLeft:0,scrollTop:0};const Lt=createCoords(0);if(Fe||!Fe&&!qe)if((getNodeName($e)!=="body"||isOverflowElement(Ue))&&(Dt=getNodeScroll($e)),Fe){const vn=getBoundingClientRect($e,!0,qe,$e);Lt.x=vn.x+$e.clientLeft,Lt.y=vn.y+$e.clientTop}else Ue&&(Lt.x=getWindowScrollBarX(Ue));const jt=At.left+Dt.scrollLeft-Lt.x,hn=At.top+Dt.scrollTop-Lt.y;return{x:jt,y:hn,width:At.width,height:At.height}}function getTrueOffsetParent(xe,$e){return!isHTMLElement(xe)||getComputedStyle$2(xe).position==="fixed"?null:$e?$e(xe):xe.offsetParent}function getOffsetParent(xe,$e){const Ie=getWindow(xe);if(!isHTMLElement(xe)||isTopLayer(xe))return Ie;let Fe=getTrueOffsetParent(xe,$e);for(;Fe&&isTableElement(Fe)&&getComputedStyle$2(Fe).position==="static";)Fe=getTrueOffsetParent(Fe,$e);return Fe&&(getNodeName(Fe)==="html"||getNodeName(Fe)==="body"&&getComputedStyle$2(Fe).position==="static"&&!isContainingBlock(Fe))?Ie:Fe||getContainingBlock(xe)||Ie}const getElementRects=async function(xe){const $e=this.getOffsetParent||getOffsetParent,Ie=this.getDimensions;return{reference:getRectRelativeToOffsetParent(xe.reference,await $e(xe.floating),xe.strategy),floating:{x:0,y:0,...await Ie(xe.floating)}}};function isRTL$1(xe){return getComputedStyle$2(xe).direction==="rtl"}const platform$1={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL:isRTL$1};function observeMove(xe,$e){let Ie=null,Fe;const Ue=getDocumentElement(xe);function qe(){var Dt;clearTimeout(Fe),(Dt=Ie)==null||Dt.disconnect(),Ie=null}function At(Dt,Lt){Dt===void 0&&(Dt=!1),Lt===void 0&&(Lt=1),qe();const{left:jt,top:hn,width:vn,height:bn}=xe.getBoundingClientRect();if(Dt||$e(),!vn||!bn)return;const _n=floor$1(hn),wn=floor$1(Ue.clientWidth-(jt+vn)),kn=floor$1(Ue.clientHeight-(hn+bn)),Cn=floor$1(jt),xn={rootMargin:-_n+"px "+-wn+"px "+-kn+"px "+-Cn+"px",threshold:max$3(0,min$3(1,Lt))||1};let En=!0;function Tn(An){const $n=An[0].intersectionRatio;if($n!==Lt){if(!En)return At();$n?At(!1,$n):Fe=setTimeout(()=>{At(!1,1e-7)},100)}En=!1}try{Ie=new IntersectionObserver(Tn,{...xn,root:Ue.ownerDocument})}catch{Ie=new IntersectionObserver(Tn,xn)}Ie.observe(xe)}return At(!0),qe}function autoUpdate(xe,$e,Ie,Fe){Fe===void 0&&(Fe={});const{ancestorScroll:Ue=!0,ancestorResize:qe=!0,elementResize:At=typeof ResizeObserver=="function",layoutShift:Dt=typeof IntersectionObserver=="function",animationFrame:Lt=!1}=Fe,jt=unwrapElement(xe),hn=Ue||qe?[...jt?getOverflowAncestors(jt):[],...getOverflowAncestors($e)]:[];hn.forEach(Sn=>{Ue&&Sn.addEventListener("scroll",Ie,{passive:!0}),qe&&Sn.addEventListener("resize",Ie)});const vn=jt&&Dt?observeMove(jt,Ie):null;let bn=-1,_n=null;At&&(_n=new ResizeObserver(Sn=>{let[xn]=Sn;xn&&xn.target===jt&&_n&&(_n.unobserve($e),cancelAnimationFrame(bn),bn=requestAnimationFrame(()=>{var En;(En=_n)==null||En.observe($e)})),Ie()}),jt&&!Lt&&_n.observe(jt),_n.observe($e));let wn,kn=Lt?getBoundingClientRect(xe):null;Lt&&Cn();function Cn(){const Sn=getBoundingClientRect(xe);kn&&(Sn.x!==kn.x||Sn.y!==kn.y||Sn.width!==kn.width||Sn.height!==kn.height)&&Ie(),kn=Sn,wn=requestAnimationFrame(Cn)}return Ie(),()=>{var Sn;hn.forEach(xn=>{Ue&&xn.removeEventListener("scroll",Ie),qe&&xn.removeEventListener("resize",Ie)}),vn==null||vn(),(Sn=_n)==null||Sn.disconnect(),_n=null,Lt&&cancelAnimationFrame(wn)}}const shift=shift$1,flip=flip$1,arrow=arrow$1,computePosition=(xe,$e,Ie)=>{const Fe=new Map,Ue={platform:platform$1,...Ie},qe={...Ue.platform,_c:Fe};return computePosition$1(xe,$e,{...Ue,platform:qe})};buildProps({});const unrefReference=xe=>{if(!isClient$1)return;if(!xe)return xe;const $e=unrefElement(xe);return $e||(isRef(xe)?$e:xe)},useFloating$1=({middleware:xe,placement:$e,strategy:Ie})=>{const Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref({}),Lt={x:qe,y:At,placement:$e,strategy:Ie,middlewareData:Dt},jt=async()=>{if(!isClient$1)return;const hn=unrefReference(Fe),vn=unrefElement(Ue);if(!hn||!vn)return;const bn=await computePosition(hn,vn,{placement:unref($e),strategy:unref(Ie),middleware:unref(xe)});keysOf(Lt).forEach(_n=>{Lt[_n].value=bn[_n]})};return onMounted(()=>{watchEffect(()=>{jt()})}),{...Lt,update:jt,referenceRef:Fe,contentRef:Ue}},arrowMiddleware=({arrowRef:xe,padding:$e})=>({name:"arrow",options:{element:xe,padding:$e},fn(Ie){const Fe=unref(xe);return Fe?arrow({element:Fe,padding:$e}).fn(Ie):{}}});function useCursor(xe){const $e=ref();function Ie(){if(xe.value==null)return;const{selectionStart:Ue,selectionEnd:qe,value:At}=xe.value;if(Ue==null||qe==null)return;const Dt=At.slice(0,Math.max(0,Ue)),Lt=At.slice(Math.max(0,qe));$e.value={selectionStart:Ue,selectionEnd:qe,value:At,beforeTxt:Dt,afterTxt:Lt}}function Fe(){if(xe.value==null||$e.value==null)return;const{value:Ue}=xe.value,{beforeTxt:qe,afterTxt:At,selectionStart:Dt}=$e.value;if(qe==null||At==null||Dt==null)return;let Lt=Ue.length;if(Ue.endsWith(At))Lt=Ue.length-At.length;else if(Ue.startsWith(qe))Lt=qe.length;else{const jt=qe[Dt-1],hn=Ue.indexOf(jt,Dt-1);hn!==-1&&(Lt=hn+1)}xe.value.setSelectionRange(Lt,Lt)}return[Ie,Fe]}const getOrderedChildren=(xe,$e,Ie)=>flattedChildren(xe.subTree).filter(qe=>{var At;return isVNode(qe)&&((At=qe.type)==null?void 0:At.name)===$e&&!!qe.component}).map(qe=>qe.component.uid).map(qe=>Ie[qe]).filter(qe=>!!qe),useOrderedChildren=(xe,$e)=>{const Ie={},Fe=shallowRef([]);return{children:Fe,addChild:At=>{Ie[At.uid]=At,Fe.value=getOrderedChildren(xe,$e,Ie)},removeChild:At=>{delete Ie[At],Fe.value=Fe.value.filter(Dt=>Dt.uid!==At)}}},useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const xe=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(xe.size)||"")};function useFocusController(xe,{afterFocus:$e,beforeBlur:Ie,afterBlur:Fe}={}){const Ue=getCurrentInstance(),{emit:qe}=Ue,At=shallowRef(),Dt=ref(!1),Lt=vn=>{Dt.value||(Dt.value=!0,qe("focus",vn),$e==null||$e())},jt=vn=>{var bn;isFunction$5(Ie)&&Ie(vn)||vn.relatedTarget&&((bn=At.value)!=null&&bn.contains(vn.relatedTarget))||(Dt.value=!1,qe("blur",vn),Fe==null||Fe())},hn=()=>{var vn;(vn=xe.value)==null||vn.focus()};return watch(At,vn=>{vn&&vn.setAttribute("tabindex","-1")}),useEventListener(At,"click",hn),{wrapperRef:At,isFocused:Dt,handleFocus:Lt,handleBlur:jt}}const DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:xe=>isFunction$5(xe)?!xe():!xe}}),useEmptyValues=(xe,$e)=>{let Ie=useGlobalConfig();Ie.value||(Ie=ref({}));const Fe=computed(()=>xe.emptyValues||Ie.value.emptyValues||DEFAULT_EMPTY_VALUES),Ue=computed(()=>isFunction$5(xe.valueOnClear)?xe.valueOnClear():xe.valueOnClear!==void 0?xe.valueOnClear:isFunction$5(Ie.value.valueOnClear)?Ie.value.valueOnClear():Ie.value.valueOnClear!==void 0?Ie.value.valueOnClear:$e!==void 0?$e:DEFAULT_VALUE_ON_CLEAR),qe=At=>Fe.value.includes(At);return Fe.value.includes(Ue.value),{emptyValues:Fe,valueOnClear:Ue,isEmptyValue:qe}},ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=xe=>pick(ariaProps,xe),configProviderContextKey=Symbol(),globalConfig=ref();function useGlobalConfig(xe,$e=void 0){const Ie=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return xe?computed(()=>{var Fe,Ue;return(Ue=(Fe=Ie.value)==null?void 0:Fe[xe])!=null?Ue:$e}):Ie}function useGlobalComponentSettings(xe,$e){const Ie=useGlobalConfig(),Fe=useNamespace(xe,computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.namespace)||defaultNamespace})),Ue=useLocale(computed(()=>{var Dt;return(Dt=Ie.value)==null?void 0:Dt.locale})),qe=useZIndex(computed(()=>{var Dt;return((Dt=Ie.value)==null?void 0:Dt.zIndex)||defaultInitialZIndex})),At=computed(()=>{var Dt;return unref($e)||((Dt=Ie.value)==null?void 0:Dt.size)||""});return provideGlobalConfig(computed(()=>unref(Ie)||{})),{ns:Fe,locale:Ue,zIndex:qe,size:At}}const provideGlobalConfig=(xe,$e,Ie=!1)=>{var Fe;const Ue=!!getCurrentInstance(),qe=Ue?useGlobalConfig():void 0,At=(Fe=$e==null?void 0:$e.provide)!=null?Fe:Ue?provide:void 0;if(!At)return;const Dt=computed(()=>{const Lt=unref(xe);return qe!=null&&qe.value?mergeConfig(qe.value,Lt):Lt});return At(configProviderContextKey,Dt),At(localeContextKey,computed(()=>Dt.value.locale)),At(namespaceContextKey,computed(()=>Dt.value.namespace)),At(zIndexContextKey,computed(()=>Dt.value.zIndex)),At(SIZE_INJECTION_KEY,{size:computed(()=>Dt.value.size||"")}),(Ie||!globalConfig.value)&&(globalConfig.value=Dt.value),Dt},mergeConfig=(xe,$e)=>{const Ie=[...new Set([...keysOf(xe),...keysOf($e)])],Fe={};for(const Ue of Ie)Fe[Ue]=$e[Ue]!==void 0?$e[Ue]:xe[Ue];return Fe},configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...useEmptyValuesProps}),messageConfig={},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(xe,{slots:$e}){watch(()=>xe.message,Fe=>{Object.assign(messageConfig,Fe??{})},{immediate:!0,deep:!0});const Ie=provideGlobalConfig(xe);return()=>renderSlot($e,"default",{config:Ie==null?void 0:Ie.value})}}),ElConfigProvider=withInstall(ConfigProvider),version="2.7.5",makeInstaller=(xe=[])=>({version,install:(Ie,Fe)=>{Ie[INSTALLED_KEY]||(Ie[INSTALLED_KEY]=!0,xe.forEach(Ue=>Ie.use(Ue)),Fe&&provideGlobalConfig(Fe,Ie,!0))}}),affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),affixEmits={scroll:({scrollTop:xe,fixed:$e})=>isNumber$1(xe)&&isBoolean($e),[CHANGE_EVENT]:xe=>isBoolean(xe)};var _export_sfc$1=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};const COMPONENT_NAME$n="ElAffix",__default__$1L=defineComponent({name:COMPONENT_NAME$n}),_sfc_main$2s=defineComponent({...__default__$1L,props:affixProps,emits:affixEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("affix"),qe=shallowRef(),At=shallowRef(),Dt=shallowRef(),{height:Lt}=useWindowSize(),{height:jt,width:hn,top:vn,bottom:bn,update:_n}=useElementBounding(At,{windowScroll:!1}),wn=useElementBounding(qe),kn=ref(!1),Cn=ref(0),Sn=ref(0),xn=computed(()=>({height:kn.value?`${jt.value}px`:"",width:kn.value?`${hn.value}px`:""})),En=computed(()=>{if(!kn.value)return{};const $n=Fe.offset?addUnit(Fe.offset):0;return{height:`${jt.value}px`,width:`${hn.value}px`,top:Fe.position==="top"?$n:"",bottom:Fe.position==="bottom"?$n:"",transform:Sn.value?`translateY(${Sn.value}px)`:"",zIndex:Fe.zIndex}}),Tn=()=>{if(Dt.value)if(Cn.value=Dt.value instanceof Window?document.documentElement.scrollTop:Dt.value.scrollTop||0,Fe.position==="top")if(Fe.target){const $n=wn.bottom.value-Fe.offset-jt.value;kn.value=Fe.offset>vn.value&&wn.bottom.value>0,Sn.value=$n<0?$n:0}else kn.value=Fe.offset>vn.value;else if(Fe.target){const $n=Lt.value-wn.top.value-Fe.offset-jt.value;kn.value=Lt.value-Fe.offsetwn.top.value,Sn.value=$n<0?-$n:0}else kn.value=Lt.value-Fe.offset{_n(),Ie("scroll",{scrollTop:Cn.value,fixed:kn.value})};return watch(kn,$n=>Ie("change",$n)),onMounted(()=>{var $n;Fe.target?(qe.value=($n=document.querySelector(Fe.target))!=null?$n:void 0,qe.value||throwError$1(COMPONENT_NAME$n,`Target does not exist: ${Fe.target}`)):qe.value=document.documentElement,Dt.value=getScrollContainer(At.value,!0),_n()}),useEventListener(Dt,"scroll",An),watchEffect(Tn),$e({update:Tn,updateRoot:_n}),($n,Pn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:At,class:normalizeClass(unref(Ue).b()),style:normalizeStyle$1(unref(xn))},[createBaseVNode("div",{class:normalizeClass({[unref(Ue).m("fixed")]:kn.value}),style:normalizeStyle$1(unref(En))},[renderSlot($n.$slots,"default")],6)],6))}});var Affix=_export_sfc$1(_sfc_main$2s,[["__file","affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),__default__$1K=defineComponent({name:"ElIcon",inheritAttrs:!1}),_sfc_main$2r=defineComponent({...__default__$1K,props:iconProps,setup(xe){const $e=xe,Ie=useNamespace("icon"),Fe=computed(()=>{const{size:Ue,color:qe}=$e;return!Ue&&!qe?{}:{fontSize:isUndefined(Ue)?void 0:addUnit(Ue),"--color":qe}});return(Ue,qe)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(Ie).b(),style:unref(Fe)},Ue.$attrs),[renderSlot(Ue.$slots,"default")],16))}});var Icon=_export_sfc$1(_sfc_main$2r,[["__file","icon.vue"]]);const ElIcon=withInstall(Icon),alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"}}),alertEmits={close:xe=>xe instanceof MouseEvent},__default__$1J=defineComponent({name:"ElAlert"}),_sfc_main$2q=defineComponent({...__default__$1J,props:alertProps,emits:alertEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=TypeComponents,Ue=useSlots(),qe=useNamespace("alert"),At=ref(!0),Dt=computed(()=>TypeComponentsMap[Ie.type]),Lt=computed(()=>[qe.e("icon"),{[qe.is("big")]:!!Ie.description||!!Ue.default}]),jt=computed(()=>({"with-description":Ie.description||Ue.default})),hn=vn=>{At.value=!1,$e("close",vn)};return(vn,bn)=>(openBlock(),createBlock(Transition,{name:unref(qe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(vn.type),unref(qe).is("center",vn.center),unref(qe).is(vn.effect)]),role:"alert"},[vn.showIcon&&unref(Dt)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Lt))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dt))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).e("content"))},[vn.title||vn.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(qe).e("title"),unref(jt)])},[renderSlot(vn.$slots,"title",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],2)):createCommentVNode("v-if",!0),vn.$slots.default||vn.description?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(qe).e("description"))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.description),1)])],2)):createCommentVNode("v-if",!0),vn.closable?(openBlock(),createElementBlock(Fragment,{key:2},[vn.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(qe).e("close-btn"),unref(qe).is("customed")]),onClick:hn},toDisplayString(vn.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).e("close-btn")),onClick:hn},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,At.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc$1(_sfc_main$2q,[["__file","alert.vue"]]);const ElAlert=withInstall(Alert),formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormSize=(xe,$e={})=>{const Ie=ref(void 0),Fe=$e.prop?Ie:useProp("size"),Ue=$e.global?Ie:useGlobalSize(),qe=$e.form?{size:void 0}:inject(formContextKey,void 0),At=$e.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>Fe.value||unref(xe)||(At==null?void 0:At.size)||(qe==null?void 0:qe.size)||Ue.value||"")},useFormDisabled=xe=>{const $e=useProp("disabled"),Ie=inject(formContextKey,void 0);return computed(()=>$e.value||unref(xe)||(Ie==null?void 0:Ie.disabled)||!1)},useFormItem=()=>{const xe=inject(formContextKey,void 0),$e=inject(formItemContextKey,void 0);return{form:xe,formItem:$e}},useFormItemInputId=(xe,{formItemContext:$e,disableIdGeneration:Ie,disableIdManagement:Fe})=>{Ie||(Ie=ref(!1)),Fe||(Fe=ref(!1));const Ue=ref();let qe;const At=computed(()=>{var Dt;return!!(!(xe.label||xe.ariaLabel)&&$e&&$e.inputIds&&((Dt=$e.inputIds)==null?void 0:Dt.length)<=1)});return onMounted(()=>{qe=watch([toRef(xe,"id"),Ie],([Dt,Lt])=>{const jt=Dt??(Lt?void 0:useId().value);jt!==Ue.value&&($e!=null&&$e.removeInputId&&(Ue.value&&$e.removeInputId(Ue.value),!(Fe!=null&&Fe.value)&&!Lt&&jt&&$e.addInputId(jt)),Ue.value=jt)},{immediate:!0})}),onUnmounted(()=>{qe&&qe(),$e!=null&&$e.removeInputId&&Ue.value&&$e.removeInputId(Ue.value)}),{isLabeledByFormItem:At,inputId:Ue}},formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),formEmits={validate:(xe,$e,Ie)=>(isArray$6(xe)||isString$4(xe))&&isBoolean($e)&&isString$4(Ie)};function useFormLabelWidth(){const xe=ref([]),$e=computed(()=>{if(!xe.value.length)return"0";const qe=Math.max(...xe.value);return qe?`${qe}px`:""});function Ie(qe){const At=xe.value.indexOf(qe);return At===-1&&$e.value,At}function Fe(qe,At){if(qe&&At){const Dt=Ie(At);xe.value.splice(Dt,1,qe)}else qe&&xe.value.push(qe)}function Ue(qe){const At=Ie(qe);At>-1&&xe.value.splice(At,1)}return{autoLabelWidth:$e,registerLabelWidth:Fe,deregisterLabelWidth:Ue}}const filterFields=(xe,$e)=>{const Ie=castArray$1($e);return Ie.length>0?xe.filter(Fe=>Fe.prop&&Ie.includes(Fe.prop)):xe},COMPONENT_NAME$m="ElForm",__default__$1I=defineComponent({name:COMPONENT_NAME$m}),_sfc_main$2p=defineComponent({...__default__$1I,props:formProps,emits:formEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=[],qe=useFormSize(),At=useNamespace("form"),Dt=computed(()=>{const{labelPosition:En,inline:Tn}=Fe;return[At.b(),At.m(qe.value||"default"),{[At.m(`label-${En}`)]:En,[At.m("inline")]:Tn}]}),Lt=En=>Ue.find(Tn=>Tn.prop===En),jt=En=>{Ue.push(En)},hn=En=>{En.prop&&Ue.splice(Ue.indexOf(En),1)},vn=(En=[])=>{Fe.model&&filterFields(Ue,En).forEach(Tn=>Tn.resetField())},bn=(En=[])=>{filterFields(Ue,En).forEach(Tn=>Tn.clearValidate())},_n=computed(()=>!!Fe.model),wn=En=>{if(Ue.length===0)return[];const Tn=filterFields(Ue,En);return Tn.length?Tn:[]},kn=async En=>Sn(void 0,En),Cn=async(En=[])=>{if(!_n.value)return!1;const Tn=wn(En);if(Tn.length===0)return!0;let An={};for(const $n of Tn)try{await $n.validate("")}catch(Pn){An={...An,...Pn}}return Object.keys(An).length===0?!0:Promise.reject(An)},Sn=async(En=[],Tn)=>{const An=!isFunction$5(Tn);try{const $n=await Cn(En);return $n===!0&&await(Tn==null?void 0:Tn($n)),$n}catch($n){if($n instanceof Error)throw $n;const Pn=$n;return Fe.scrollToError&&xn(Object.keys(Pn)[0]),await(Tn==null?void 0:Tn(!1,Pn)),An&&Promise.reject(Pn)}},xn=En=>{var Tn;const An=filterFields(Ue,En)[0];An&&((Tn=An.$el)==null||Tn.scrollIntoView(Fe.scrollIntoViewOptions))};return watch(()=>Fe.rules,()=>{Fe.validateOnRuleChange&&kn().catch(En=>void 0)},{deep:!0}),provide(formContextKey,reactive({...toRefs(Fe),emit:Ie,resetFields:vn,clearValidate:bn,validateField:Sn,getField:Lt,addField:jt,removeField:hn,...useFormLabelWidth()})),$e({validate:kn,validateField:Sn,resetFields:vn,clearValidate:bn,scrollToField:xn,fields:Ue}),(En,Tn)=>(openBlock(),createElementBlock("form",{class:normalizeClass(unref(Dt))},[renderSlot(En.$slots,"default")],2))}});var Form=_export_sfc$1(_sfc_main$2p,[["__file","form.vue"]]),define_process_env_default={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(xe){for(var $e=1;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(xe,$e,Ie){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(Ue,qe,At){var Dt=[null];Dt.push.apply(Dt,qe);var Lt=Function.bind.apply(Ue,Dt),jt=new Lt;return At&&_setPrototypeOf(jt,At.prototype),jt},_construct.apply(null,arguments)}function _isNativeFunction(xe){return Function.toString.call(xe).indexOf("[native code]")!==-1}function _wrapNativeSuper(xe){var $e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Fe){if(Fe===null||!_isNativeFunction(Fe))return Fe;if(typeof Fe!="function")throw new TypeError("Super expression must either be null or a function");if(typeof $e<"u"){if($e.has(Fe))return $e.get(Fe);$e.set(Fe,Ue)}function Ue(){return _construct(Fe,arguments,_getPrototypeOf(this).constructor)}return Ue.prototype=Object.create(Fe.prototype,{constructor:{value:Ue,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Ue,Fe)},_wrapNativeSuper(xe)}var formatRegExp=/%[sdj%]/g,warning=function xe(){};typeof process<"u";function convertFieldsError(xe){if(!xe||!xe.length)return null;var $e={};return xe.forEach(function(Ie){var Fe=Ie.field;$e[Fe]=$e[Fe]||[],$e[Fe].push(Ie)}),$e}function format$1(xe){for(var $e=arguments.length,Ie=new Array($e>1?$e-1:0),Fe=1;Fe<$e;Fe++)Ie[Fe-1]=arguments[Fe];var Ue=0,qe=Ie.length;if(typeof xe=="function")return xe.apply(null,Ie);if(typeof xe=="string"){var At=xe.replace(formatRegExp,function(Dt){if(Dt==="%%")return"%";if(Ue>=qe)return Dt;switch(Dt){case"%s":return String(Ie[Ue++]);case"%d":return Number(Ie[Ue++]);case"%j":try{return JSON.stringify(Ie[Ue++])}catch{return"[Circular]"}break;default:return Dt}});return At}return xe}function isNativeStringType(xe){return xe==="string"||xe==="url"||xe==="hex"||xe==="email"||xe==="date"||xe==="pattern"}function isEmptyValue$1(xe,$e){return!!(xe==null||$e==="array"&&Array.isArray(xe)&&!xe.length||isNativeStringType($e)&&typeof xe=="string"&&!xe)}function asyncParallelArray(xe,$e,Ie){var Fe=[],Ue=0,qe=xe.length;function At(Dt){Fe.push.apply(Fe,Dt||[]),Ue++,Ue===qe&&Ie(Fe)}xe.forEach(function(Dt){$e(Dt,At)})}function asyncSerialArray(xe,$e,Ie){var Fe=0,Ue=xe.length;function qe(At){if(At&&At.length){Ie(At);return}var Dt=Fe;Fe=Fe+1,Dt()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function xe($e){return types.number($e)&&parseInt($e,10)===$e},float:function xe($e){return types.number($e)&&!types.integer($e)},array:function xe($e){return Array.isArray($e)},regexp:function xe($e){if($e instanceof RegExp)return!0;try{return!!new RegExp($e)}catch{return!1}},date:function xe($e){return typeof $e.getTime=="function"&&typeof $e.getMonth=="function"&&typeof $e.getYear=="function"&&!isNaN($e.getTime())},number:function xe($e){return isNaN($e)?!1:typeof $e=="number"},object:function xe($e){return typeof $e=="object"&&!types.array($e)},method:function xe($e){return typeof $e=="function"},email:function xe($e){return typeof $e=="string"&&$e.length<=320&&!!$e.match(pattern$2.email)},url:function xe($e){return typeof $e=="string"&&$e.length<=2048&&!!$e.match(getUrlRegex())},hex:function xe($e){return typeof $e=="string"&&!!$e.match(pattern$2.hex)}},type$1=function xe($e,Ie,Fe,Ue,qe){if($e.required&&Ie===void 0){required$1($e,Ie,Fe,Ue,qe);return}var At=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Dt=$e.type;At.indexOf(Dt)>-1?types[Dt](Ie)||Ue.push(format$1(qe.messages.types[Dt],$e.fullField,$e.type)):Dt&&typeof Ie!==$e.type&&Ue.push(format$1(qe.messages.types[Dt],$e.fullField,$e.type))},range=function xe($e,Ie,Fe,Ue,qe){var At=typeof $e.len=="number",Dt=typeof $e.min=="number",Lt=typeof $e.max=="number",jt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=Ie,vn=null,bn=typeof Ie=="number",_n=typeof Ie=="string",wn=Array.isArray(Ie);if(bn?vn="number":_n?vn="string":wn&&(vn="array"),!vn)return!1;wn&&(hn=Ie.length),_n&&(hn=Ie.replace(jt,"_").length),At?hn!==$e.len&&Ue.push(format$1(qe.messages[vn].len,$e.fullField,$e.len)):Dt&&!Lt&&hn<$e.min?Ue.push(format$1(qe.messages[vn].min,$e.fullField,$e.min)):Lt&&!Dt&&hn>$e.max?Ue.push(format$1(qe.messages[vn].max,$e.fullField,$e.max)):Dt&&Lt&&(hn<$e.min||hn>$e.max)&&Ue.push(format$1(qe.messages[vn].range,$e.fullField,$e.min,$e.max))},ENUM$1="enum",enumerable$1=function xe($e,Ie,Fe,Ue,qe){$e[ENUM$1]=Array.isArray($e[ENUM$1])?$e[ENUM$1]:[],$e[ENUM$1].indexOf(Ie)===-1&&Ue.push(format$1(qe.messages[ENUM$1],$e.fullField,$e[ENUM$1].join(", ")))},pattern$1=function xe($e,Ie,Fe,Ue,qe){if($e.pattern){if($e.pattern instanceof RegExp)$e.pattern.lastIndex=0,$e.pattern.test(Ie)||Ue.push(format$1(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern));else if(typeof $e.pattern=="string"){var At=new RegExp($e.pattern);At.test(Ie)||Ue.push(format$1(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"string"),isEmptyValue$1(Ie,"string")||(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe),rules.pattern($e,Ie,Ue,At,qe),$e.whitespace===!0&&rules.whitespace($e,Ie,Ue,At,qe))}Fe(At)},method2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},number2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie===""&&(Ie=void 0),isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},_boolean=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},regexp2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue$1(Ie)||rules.type($e,Ie,Ue,At,qe)}Fe(At)},integer2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},floatFn=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},array2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie==null&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"array"),Ie!=null&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},object2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},ENUM="enum",enumerable2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules[ENUM]($e,Ie,Ue,At,qe)}Fe(At)},pattern2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue$1(Ie,"string")||rules.pattern($e,Ie,Ue,At,qe)}Fe(At)},date2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"date")&&!$e.required)return Fe();if(rules.required($e,Ie,Ue,At,qe),!isEmptyValue$1(Ie,"date")){var Lt;Ie instanceof Date?Lt=Ie:Lt=new Date(Ie),rules.type($e,Lt,Ue,At,qe),Lt&&rules.range($e,Lt.getTime(),Ue,At,qe)}}Fe(At)},required2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=Array.isArray(Ie)?"array":typeof Ie;rules.required($e,Ie,Ue,At,qe,Dt),Fe(At)},type2=function xe($e,Ie,Fe,Ue,qe){var At=$e.type,Dt=[],Lt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Lt){if(isEmptyValue$1(Ie,At)&&!$e.required)return Fe();rules.required($e,Ie,Ue,Dt,qe,At),isEmptyValue$1(Ie,At)||rules.type($e,Ie,Ue,Dt,qe)}Fe(Dt)},any=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe)}Fe(At)},validators={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var $e=JSON.parse(JSON.stringify(this));return $e.clone=this.clone,$e}}}var messages=newMessages(),Schema=function(){function xe(Ie){this.rules=null,this._messages=messages,this.define(Ie)}var $e=xe.prototype;return $e.define=function(Fe){var Ue=this;if(!Fe)throw new Error("Cannot configure a schema with no rules");if(typeof Fe!="object"||Array.isArray(Fe))throw new Error("Rules must be an object");this.rules={},Object.keys(Fe).forEach(function(qe){var At=Fe[qe];Ue.rules[qe]=Array.isArray(At)?At:[At]})},$e.messages=function(Fe){return Fe&&(this._messages=deepMerge(newMessages(),Fe)),this._messages},$e.validate=function(Fe,Ue,qe){var At=this;Ue===void 0&&(Ue={}),qe===void 0&&(qe=function(){});var Dt=Fe,Lt=Ue,jt=qe;if(typeof Lt=="function"&&(jt=Lt,Lt={}),!this.rules||Object.keys(this.rules).length===0)return jt&&jt(null,Dt),Promise.resolve(Dt);function hn(kn){var Cn=[],Sn={};function xn(Tn){if(Array.isArray(Tn)){var An;Cn=(An=Cn).concat.apply(An,Tn)}else Cn.push(Tn)}for(var En=0;En");const Ue=useNamespace("form"),qe=ref(),At=ref(0),Dt=()=>{var hn;if((hn=qe.value)!=null&&hn.firstElementChild){const vn=window.getComputedStyle(qe.value.firstElementChild).width;return Math.ceil(Number.parseFloat(vn))}else return 0},Lt=(hn="update")=>{nextTick(()=>{$e.default&&xe.isAutoWidth&&(hn==="update"?At.value=Dt():hn==="remove"&&(Ie==null||Ie.deregisterLabelWidth(At.value)))})},jt=()=>Lt("update");return onMounted(()=>{jt()}),onBeforeUnmount(()=>{Lt("remove")}),onUpdated(()=>jt()),watch(At,(hn,vn)=>{xe.updateAll&&(Ie==null||Ie.registerLabelWidth(hn,vn))}),useResizeObserver(computed(()=>{var hn,vn;return(vn=(hn=qe.value)==null?void 0:hn.firstElementChild)!=null?vn:null}),jt),()=>{var hn,vn;if(!$e)return null;const{isAutoWidth:bn}=xe;if(bn){const _n=Ie==null?void 0:Ie.autoLabelWidth,wn=Fe==null?void 0:Fe.hasLabel,kn={};if(wn&&_n&&_n!=="auto"){const Cn=Math.max(0,Number.parseInt(_n,10)-At.value),Sn=Ie.labelPosition==="left"?"marginRight":"marginLeft";Cn&&(kn[Sn]=`${Cn}px`)}return createVNode$1("div",{ref:qe,class:[Ue.be("item","label-wrap")],style:kn},[(hn=$e.default)==null?void 0:hn.call($e)])}else return createVNode$1(Fragment,{ref:qe},[(vn=$e.default)==null?void 0:vn.call($e)])}}});const _hoisted_1$19=["role","aria-labelledby"],__default__$1H=defineComponent({name:"ElFormItem"}),_sfc_main$2o=defineComponent({...__default__$1H,props:formItemProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots(),Ue=inject(formContextKey,void 0),qe=inject(formItemContextKey,void 0),At=useFormSize(void 0,{formItem:!1}),Dt=useNamespace("form-item"),Lt=useId().value,jt=ref([]),hn=ref(""),vn=refDebounced(hn,100),bn=ref(""),_n=ref();let wn,kn=!1;const Cn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top")return{};const Yn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return Yn?{width:Yn}:{}}),Sn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top"||Ue!=null&&Ue.inline)return{};if(!Ie.label&&!Ie.labelWidth&&Mn)return{};const Yn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return!Ie.label&&!Fe.label?{marginLeft:Yn}:{}}),xn=computed(()=>[Dt.b(),Dt.m(At.value),Dt.is("error",hn.value==="error"),Dt.is("validating",hn.value==="validating"),Dt.is("success",hn.value==="success"),Dt.is("required",Vn.value||Ie.required),Dt.is("no-asterisk",Ue==null?void 0:Ue.hideRequiredAsterisk),(Ue==null?void 0:Ue.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[Dt.m("feedback")]:Ue==null?void 0:Ue.statusIcon}]),En=computed(()=>isBoolean(Ie.inlineMessage)?Ie.inlineMessage:(Ue==null?void 0:Ue.inlineMessage)||!1),Tn=computed(()=>[Dt.e("error"),{[Dt.em("error","inline")]:En.value}]),An=computed(()=>Ie.prop?isString$4(Ie.prop)?Ie.prop:Ie.prop.join("."):""),$n=computed(()=>!!(Ie.label||Fe.label)),Pn=computed(()=>Ie.for||(jt.value.length===1?jt.value[0]:void 0)),Nn=computed(()=>!Pn.value&&$n.value),Mn=!!qe,In=computed(()=>{const Yn=Ue==null?void 0:Ue.model;if(!(!Yn||!Ie.prop))return getProp(Yn,Ie.prop).value}),On=computed(()=>{const{required:Yn}=Ie,qn=[];Ie.rules&&qn.push(...castArray$1(Ie.rules));const ar=Ue==null?void 0:Ue.rules;if(ar&&Ie.prop){const tr=getProp(ar,Ie.prop).value;tr&&qn.push(...castArray$1(tr))}if(Yn!==void 0){const tr=qn.map((or,sr)=>[or,sr]).filter(([or])=>Object.keys(or).includes("required"));if(tr.length>0)for(const[or,sr]of tr)or.required!==Yn&&(qn[sr]={...or,required:Yn});else qn.push({required:Yn})}return qn}),Rn=computed(()=>On.value.length>0),Bn=Yn=>On.value.filter(ar=>!ar.trigger||!Yn?!0:Array.isArray(ar.trigger)?ar.trigger.includes(Yn):ar.trigger===Yn).map(({trigger:ar,...tr})=>tr),Vn=computed(()=>On.value.some(Yn=>Yn.required)),Ln=computed(()=>{var Yn;return vn.value==="error"&&Ie.showMessage&&((Yn=Ue==null?void 0:Ue.showMessage)!=null?Yn:!0)}),Dn=computed(()=>`${Ie.label||""}${(Ue==null?void 0:Ue.labelSuffix)||""}`),Hn=Yn=>{hn.value=Yn},Fn=Yn=>{var qn,ar;const{errors:tr,fields:or}=Yn;(!tr||!or)&&console.error(Yn),Hn("error"),bn.value=tr?(ar=(qn=tr==null?void 0:tr[0])==null?void 0:qn.message)!=null?ar:`${Ie.prop} is required`:"",Ue==null||Ue.emit("validate",Ie.prop,!1,bn.value)},zn=()=>{Hn("success"),Ue==null||Ue.emit("validate",Ie.prop,!0,"")},jn=async Yn=>{const qn=An.value;return new Schema({[qn]:Yn}).validate({[qn]:In.value},{firstFields:!0}).then(()=>(zn(),!0)).catch(tr=>(Fn(tr),Promise.reject(tr)))},Gn=async(Yn,qn)=>{if(kn||!Ie.prop)return!1;const ar=isFunction$5(qn);if(!Rn.value)return qn==null||qn(!1),!1;const tr=Bn(Yn);return tr.length===0?(qn==null||qn(!0),!0):(Hn("validating"),jn(tr).then(()=>(qn==null||qn(!0),!0)).catch(or=>{const{fields:sr}=or;return qn==null||qn(!1,sr),ar?!1:Promise.reject(sr)}))},Wn=()=>{Hn(""),bn.value="",kn=!1},Xn=async()=>{const Yn=Ue==null?void 0:Ue.model;if(!Yn||!Ie.prop)return;const qn=getProp(Yn,Ie.prop);kn=!0,qn.value=clone$5(wn),await nextTick(),Wn(),kn=!1},er=Yn=>{jt.value.includes(Yn)||jt.value.push(Yn)},rr=Yn=>{jt.value=jt.value.filter(qn=>qn!==Yn)};watch(()=>Ie.error,Yn=>{bn.value=Yn||"",Hn(Yn?"error":"")},{immediate:!0}),watch(()=>Ie.validateStatus,Yn=>Hn(Yn||""));const Jn=reactive({...toRefs(Ie),$el:_n,size:At,validateState:hn,labelId:Lt,inputIds:jt,isGroup:Nn,hasLabel:$n,fieldValue:In,addInputId:er,removeInputId:rr,resetField:Xn,clearValidate:Wn,validate:Gn});return provide(formItemContextKey,Jn),onMounted(()=>{Ie.prop&&(Ue==null||Ue.addField(Jn),wn=clone$5(In.value))}),onBeforeUnmount(()=>{Ue==null||Ue.removeField(Jn)}),$e({size:At,validateMessage:bn,validateState:hn,validate:Gn,clearValidate:Wn,resetField:Xn}),(Yn,qn)=>{var ar;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:_n,class:normalizeClass(unref(xn)),role:unref(Nn)?"group":void 0,"aria-labelledby":unref(Nn)?unref(Lt):void 0},[createVNode$1(unref(FormLabelWrap),{"is-auto-width":unref(Cn).width==="auto","update-all":((ar=unref(Ue))==null?void 0:ar.labelWidth)==="auto"},{default:withCtx(()=>[unref($n)?(openBlock(),createBlock(resolveDynamicComponent(unref(Pn)?"label":"div"),{key:0,id:unref(Lt),for:unref(Pn),class:normalizeClass(unref(Dt).e("label")),style:normalizeStyle$1(unref(Cn))},{default:withCtx(()=>[renderSlot(Yn.$slots,"label",{label:unref(Dn)},()=>[createTextVNode(toDisplayString(unref(Dn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(Dt).e("content")),style:normalizeStyle$1(unref(Sn))},[renderSlot(Yn.$slots,"default"),createVNode$1(TransitionGroup,{name:`${unref(Dt).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Ln)?renderSlot(Yn.$slots,"error",{key:0,error:bn.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Tn))},toDisplayString(bn.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$19)}}});var FormItem=_export_sfc$1(_sfc_main$2o,[["__file","form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),qe=new RegExp("(?:^"+Ie+"$)|(?:^"+Ue+"$)"),At=new RegExp("^"+Ie+"$"),Dt=new RegExp("^"+Ue+"$"),Lt=function(Tn){return Tn&&Tn.exact?qe:new RegExp("(?:"+$e(Tn)+Ie+$e(Tn)+")|(?:"+$e(Tn)+Ue+$e(Tn)+")","g")};Lt.v4=function(En){return En&&En.exact?At:new RegExp(""+$e(En)+Ie+$e(En),"g")},Lt.v6=function(En){return En&&En.exact?Dt:new RegExp(""+$e(En)+Ue+$e(En),"g")};var jt="(?:(?:[a-z]+:)?//)",hn="(?:\\S+(?::\\S*)?@)?",vn=Lt.v4().source,bn=Lt.v6().source,_n="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",wn="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",kn="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Cn="(?::\\d{2,5})?",Sn='(?:[/?#][^\\s"]*)?',xn="(?:"+jt+"|www\\.)"+hn+"(?:localhost|"+vn+"|"+bn+"|"+_n+wn+kn+")"+Cn+Sn;return urlReg=new RegExp("(?:^"+xn+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types={integer:function xe($e){return types.number($e)&&parseInt($e,10)===$e},float:function xe($e){return types.number($e)&&!types.integer($e)},array:function xe($e){return Array.isArray($e)},regexp:function xe($e){if($e instanceof RegExp)return!0;try{return!!new RegExp($e)}catch{return!1}},date:function xe($e){return typeof $e.getTime=="function"&&typeof $e.getMonth=="function"&&typeof $e.getYear=="function"&&!isNaN($e.getTime())},number:function xe($e){return isNaN($e)?!1:typeof $e=="number"},object:function xe($e){return typeof $e=="object"&&!types.array($e)},method:function xe($e){return typeof $e=="function"},email:function xe($e){return typeof $e=="string"&&$e.length<=320&&!!$e.match(pattern$2.email)},url:function xe($e){return typeof $e=="string"&&$e.length<=2048&&!!$e.match(getUrlRegex())},hex:function xe($e){return typeof $e=="string"&&!!$e.match(pattern$2.hex)}},type$1=function xe($e,Ie,Fe,Ue,qe){if($e.required&&Ie===void 0){required$1($e,Ie,Fe,Ue,qe);return}var At=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Dt=$e.type;At.indexOf(Dt)>-1?types[Dt](Ie)||Ue.push(format$1(qe.messages.types[Dt],$e.fullField,$e.type)):Dt&&typeof Ie!==$e.type&&Ue.push(format$1(qe.messages.types[Dt],$e.fullField,$e.type))},range=function xe($e,Ie,Fe,Ue,qe){var At=typeof $e.len=="number",Dt=typeof $e.min=="number",Lt=typeof $e.max=="number",jt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=Ie,vn=null,bn=typeof Ie=="number",_n=typeof Ie=="string",wn=Array.isArray(Ie);if(bn?vn="number":_n?vn="string":wn&&(vn="array"),!vn)return!1;wn&&(hn=Ie.length),_n&&(hn=Ie.replace(jt,"_").length),At?hn!==$e.len&&Ue.push(format$1(qe.messages[vn].len,$e.fullField,$e.len)):Dt&&!Lt&&hn<$e.min?Ue.push(format$1(qe.messages[vn].min,$e.fullField,$e.min)):Lt&&!Dt&&hn>$e.max?Ue.push(format$1(qe.messages[vn].max,$e.fullField,$e.max)):Dt&&Lt&&(hn<$e.min||hn>$e.max)&&Ue.push(format$1(qe.messages[vn].range,$e.fullField,$e.min,$e.max))},ENUM$1="enum",enumerable$1=function xe($e,Ie,Fe,Ue,qe){$e[ENUM$1]=Array.isArray($e[ENUM$1])?$e[ENUM$1]:[],$e[ENUM$1].indexOf(Ie)===-1&&Ue.push(format$1(qe.messages[ENUM$1],$e.fullField,$e[ENUM$1].join(", ")))},pattern$1=function xe($e,Ie,Fe,Ue,qe){if($e.pattern){if($e.pattern instanceof RegExp)$e.pattern.lastIndex=0,$e.pattern.test(Ie)||Ue.push(format$1(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern));else if(typeof $e.pattern=="string"){var At=new RegExp($e.pattern);At.test(Ie)||Ue.push(format$1(qe.messages.pattern.mismatch,$e.fullField,Ie,$e.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"string"),isEmptyValue$1(Ie,"string")||(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe),rules.pattern($e,Ie,Ue,At,qe),$e.whitespace===!0&&rules.whitespace($e,Ie,Ue,At,qe))}Fe(At)},method2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},number2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie===""&&(Ie=void 0),isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},_boolean=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},regexp2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue$1(Ie)||rules.type($e,Ie,Ue,At,qe)}Fe(At)},integer2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},floatFn=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},array2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(Ie==null&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe,"array"),Ie!=null&&(rules.type($e,Ie,Ue,At,qe),rules.range($e,Ie,Ue,At,qe))}Fe(At)},object2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules.type($e,Ie,Ue,At,qe)}Fe(At)},ENUM="enum",enumerable2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),Ie!==void 0&&rules[ENUM]($e,Ie,Ue,At,qe)}Fe(At)},pattern2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"string")&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe),isEmptyValue$1(Ie,"string")||rules.pattern($e,Ie,Ue,At,qe)}Fe(At)},date2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie,"date")&&!$e.required)return Fe();if(rules.required($e,Ie,Ue,At,qe),!isEmptyValue$1(Ie,"date")){var Lt;Ie instanceof Date?Lt=Ie:Lt=new Date(Ie),rules.type($e,Lt,Ue,At,qe),Lt&&rules.range($e,Lt.getTime(),Ue,At,qe)}}Fe(At)},required2=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=Array.isArray(Ie)?"array":typeof Ie;rules.required($e,Ie,Ue,At,qe,Dt),Fe(At)},type2=function xe($e,Ie,Fe,Ue,qe){var At=$e.type,Dt=[],Lt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Lt){if(isEmptyValue$1(Ie,At)&&!$e.required)return Fe();rules.required($e,Ie,Ue,Dt,qe,At),isEmptyValue$1(Ie,At)||rules.type($e,Ie,Ue,Dt,qe)}Fe(Dt)},any=function xe($e,Ie,Fe,Ue,qe){var At=[],Dt=$e.required||!$e.required&&Ue.hasOwnProperty($e.field);if(Dt){if(isEmptyValue$1(Ie)&&!$e.required)return Fe();rules.required($e,Ie,Ue,At,qe)}Fe(At)},validators={string,method:method2,number:number2,boolean:_boolean,regexp:regexp2,integer:integer2,float:floatFn,array:array2,object:object2,enum:enumerable2,pattern:pattern2,date:date2,url:type2,hex:type2,email:type2,required:required2,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var $e=JSON.parse(JSON.stringify(this));return $e.clone=this.clone,$e}}}var messages=newMessages(),Schema=function(){function xe(Ie){this.rules=null,this._messages=messages,this.define(Ie)}var $e=xe.prototype;return $e.define=function(Fe){var Ue=this;if(!Fe)throw new Error("Cannot configure a schema with no rules");if(typeof Fe!="object"||Array.isArray(Fe))throw new Error("Rules must be an object");this.rules={},Object.keys(Fe).forEach(function(qe){var At=Fe[qe];Ue.rules[qe]=Array.isArray(At)?At:[At]})},$e.messages=function(Fe){return Fe&&(this._messages=deepMerge(newMessages(),Fe)),this._messages},$e.validate=function(Fe,Ue,qe){var At=this;Ue===void 0&&(Ue={}),qe===void 0&&(qe=function(){});var Dt=Fe,Lt=Ue,jt=qe;if(typeof Lt=="function"&&(jt=Lt,Lt={}),!this.rules||Object.keys(this.rules).length===0)return jt&&jt(null,Dt),Promise.resolve(Dt);function hn(kn){var Cn=[],Sn={};function xn(Tn){if(Array.isArray(Tn)){var An;Cn=(An=Cn).concat.apply(An,Tn)}else Cn.push(Tn)}for(var En=0;En");const Ue=useNamespace("form"),qe=ref(),At=ref(0),Dt=()=>{var hn;if((hn=qe.value)!=null&&hn.firstElementChild){const vn=window.getComputedStyle(qe.value.firstElementChild).width;return Math.ceil(Number.parseFloat(vn))}else return 0},Lt=(hn="update")=>{nextTick(()=>{$e.default&&xe.isAutoWidth&&(hn==="update"?At.value=Dt():hn==="remove"&&(Ie==null||Ie.deregisterLabelWidth(At.value)))})},jt=()=>Lt("update");return onMounted(()=>{jt()}),onBeforeUnmount(()=>{Lt("remove")}),onUpdated(()=>jt()),watch(At,(hn,vn)=>{xe.updateAll&&(Ie==null||Ie.registerLabelWidth(hn,vn))}),useResizeObserver(computed(()=>{var hn,vn;return(vn=(hn=qe.value)==null?void 0:hn.firstElementChild)!=null?vn:null}),jt),()=>{var hn,vn;if(!$e)return null;const{isAutoWidth:bn}=xe;if(bn){const _n=Ie==null?void 0:Ie.autoLabelWidth,wn=Fe==null?void 0:Fe.hasLabel,kn={};if(wn&&_n&&_n!=="auto"){const Cn=Math.max(0,Number.parseInt(_n,10)-At.value),Sn=Ie.labelPosition==="left"?"marginRight":"marginLeft";Cn&&(kn[Sn]=`${Cn}px`)}return createVNode$1("div",{ref:qe,class:[Ue.be("item","label-wrap")],style:kn},[(hn=$e.default)==null?void 0:hn.call($e)])}else return createVNode$1(Fragment,{ref:qe},[(vn=$e.default)==null?void 0:vn.call($e)])}}});const _hoisted_1$19=["role","aria-labelledby"],__default__$1H=defineComponent({name:"ElFormItem"}),_sfc_main$2o=defineComponent({...__default__$1H,props:formItemProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots(),Ue=inject(formContextKey,void 0),qe=inject(formItemContextKey,void 0),At=useFormSize(void 0,{formItem:!1}),Dt=useNamespace("form-item"),Lt=useId().value,jt=ref([]),hn=ref(""),vn=refDebounced(hn,100),bn=ref(""),_n=ref();let wn,kn=!1;const Cn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top")return{};const qn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return qn?{width:qn}:{}}),Sn=computed(()=>{if((Ue==null?void 0:Ue.labelPosition)==="top"||Ue!=null&&Ue.inline)return{};if(!Ie.label&&!Ie.labelWidth&&Mn)return{};const qn=addUnit(Ie.labelWidth||(Ue==null?void 0:Ue.labelWidth)||"");return!Ie.label&&!Fe.label?{marginLeft:qn}:{}}),xn=computed(()=>[Dt.b(),Dt.m(At.value),Dt.is("error",hn.value==="error"),Dt.is("validating",hn.value==="validating"),Dt.is("success",hn.value==="success"),Dt.is("required",Vn.value||Ie.required),Dt.is("no-asterisk",Ue==null?void 0:Ue.hideRequiredAsterisk),(Ue==null?void 0:Ue.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[Dt.m("feedback")]:Ue==null?void 0:Ue.statusIcon}]),En=computed(()=>isBoolean(Ie.inlineMessage)?Ie.inlineMessage:(Ue==null?void 0:Ue.inlineMessage)||!1),Tn=computed(()=>[Dt.e("error"),{[Dt.em("error","inline")]:En.value}]),An=computed(()=>Ie.prop?isString$4(Ie.prop)?Ie.prop:Ie.prop.join("."):""),$n=computed(()=>!!(Ie.label||Fe.label)),Pn=computed(()=>Ie.for||(jt.value.length===1?jt.value[0]:void 0)),Nn=computed(()=>!Pn.value&&$n.value),Mn=!!qe,In=computed(()=>{const qn=Ue==null?void 0:Ue.model;if(!(!qn||!Ie.prop))return getProp(qn,Ie.prop).value}),On=computed(()=>{const{required:qn}=Ie,Yn=[];Ie.rules&&Yn.push(...castArray$1(Ie.rules));const ar=Ue==null?void 0:Ue.rules;if(ar&&Ie.prop){const tr=getProp(ar,Ie.prop).value;tr&&Yn.push(...castArray$1(tr))}if(qn!==void 0){const tr=Yn.map((or,sr)=>[or,sr]).filter(([or])=>Object.keys(or).includes("required"));if(tr.length>0)for(const[or,sr]of tr)or.required!==qn&&(Yn[sr]={...or,required:qn});else Yn.push({required:qn})}return Yn}),Rn=computed(()=>On.value.length>0),Bn=qn=>On.value.filter(ar=>!ar.trigger||!qn?!0:Array.isArray(ar.trigger)?ar.trigger.includes(qn):ar.trigger===qn).map(({trigger:ar,...tr})=>tr),Vn=computed(()=>On.value.some(qn=>qn.required)),Ln=computed(()=>{var qn;return vn.value==="error"&&Ie.showMessage&&((qn=Ue==null?void 0:Ue.showMessage)!=null?qn:!0)}),Dn=computed(()=>`${Ie.label||""}${(Ue==null?void 0:Ue.labelSuffix)||""}`),Hn=qn=>{hn.value=qn},Fn=qn=>{var Yn,ar;const{errors:tr,fields:or}=qn;(!tr||!or)&&console.error(qn),Hn("error"),bn.value=tr?(ar=(Yn=tr==null?void 0:tr[0])==null?void 0:Yn.message)!=null?ar:`${Ie.prop} is required`:"",Ue==null||Ue.emit("validate",Ie.prop,!1,bn.value)},zn=()=>{Hn("success"),Ue==null||Ue.emit("validate",Ie.prop,!0,"")},jn=async qn=>{const Yn=An.value;return new Schema({[Yn]:qn}).validate({[Yn]:In.value},{firstFields:!0}).then(()=>(zn(),!0)).catch(tr=>(Fn(tr),Promise.reject(tr)))},Gn=async(qn,Yn)=>{if(kn||!Ie.prop)return!1;const ar=isFunction$5(Yn);if(!Rn.value)return Yn==null||Yn(!1),!1;const tr=Bn(qn);return tr.length===0?(Yn==null||Yn(!0),!0):(Hn("validating"),jn(tr).then(()=>(Yn==null||Yn(!0),!0)).catch(or=>{const{fields:sr}=or;return Yn==null||Yn(!1,sr),ar?!1:Promise.reject(sr)}))},Wn=()=>{Hn(""),bn.value="",kn=!1},Xn=async()=>{const qn=Ue==null?void 0:Ue.model;if(!qn||!Ie.prop)return;const Yn=getProp(qn,Ie.prop);kn=!0,Yn.value=clone$5(wn),await nextTick(),Wn(),kn=!1},er=qn=>{jt.value.includes(qn)||jt.value.push(qn)},rr=qn=>{jt.value=jt.value.filter(Yn=>Yn!==qn)};watch(()=>Ie.error,qn=>{bn.value=qn||"",Hn(qn?"error":"")},{immediate:!0}),watch(()=>Ie.validateStatus,qn=>Hn(qn||""));const Jn=reactive({...toRefs(Ie),$el:_n,size:At,validateState:hn,labelId:Lt,inputIds:jt,isGroup:Nn,hasLabel:$n,fieldValue:In,addInputId:er,removeInputId:rr,resetField:Xn,clearValidate:Wn,validate:Gn});return provide(formItemContextKey,Jn),onMounted(()=>{Ie.prop&&(Ue==null||Ue.addField(Jn),wn=clone$5(In.value))}),onBeforeUnmount(()=>{Ue==null||Ue.removeField(Jn)}),$e({size:At,validateMessage:bn,validateState:hn,validate:Gn,clearValidate:Wn,resetField:Xn}),(qn,Yn)=>{var ar;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:_n,class:normalizeClass(unref(xn)),role:unref(Nn)?"group":void 0,"aria-labelledby":unref(Nn)?unref(Lt):void 0},[createVNode$1(unref(FormLabelWrap),{"is-auto-width":unref(Cn).width==="auto","update-all":((ar=unref(Ue))==null?void 0:ar.labelWidth)==="auto"},{default:withCtx(()=>[unref($n)?(openBlock(),createBlock(resolveDynamicComponent(unref(Pn)?"label":"div"),{key:0,id:unref(Lt),for:unref(Pn),class:normalizeClass(unref(Dt).e("label")),style:normalizeStyle$1(unref(Cn))},{default:withCtx(()=>[renderSlot(qn.$slots,"label",{label:unref(Dn)},()=>[createTextVNode(toDisplayString(unref(Dn)),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(Dt).e("content")),style:normalizeStyle$1(unref(Sn))},[renderSlot(qn.$slots,"default"),createVNode$1(TransitionGroup,{name:`${unref(Dt).namespace.value}-zoom-in-top`},{default:withCtx(()=>[unref(Ln)?renderSlot(qn.$slots,"error",{key:0,error:bn.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(Tn))},toDisplayString(bn.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$19)}}});var FormItem=_export_sfc$1(_sfc_main$2o,[["__file","form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem);let hiddenTextarea;const HIDDEN_STYLE=` height:0 !important; visibility:hidden !important; ${isFirefox()?"":"overflow:hidden !important;"} @@ -427,7 +427,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho z-index:-1000 !important; top:0 !important; right:0 !important; -`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(xe){const $e=window.getComputedStyle(xe),Ie=$e.getPropertyValue("box-sizing"),Fe=Number.parseFloat($e.getPropertyValue("padding-bottom"))+Number.parseFloat($e.getPropertyValue("padding-top")),Ue=Number.parseFloat($e.getPropertyValue("border-bottom-width"))+Number.parseFloat($e.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(At=>`${At}:${$e.getPropertyValue(At)}`).join(";"),paddingSize:Fe,borderSize:Ue,boxSizing:Ie}}function calcTextareaHeight(xe,$e=1,Ie){var Fe;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:Ue,borderSize:qe,boxSizing:At,contextStyle:Dt}=calculateNodeStyling(xe);hiddenTextarea.setAttribute("style",`${Dt};${HIDDEN_STYLE}`),hiddenTextarea.value=xe.value||xe.placeholder||"";let Lt=hiddenTextarea.scrollHeight;const jt={};At==="border-box"?Lt=Lt+qe:At==="content-box"&&(Lt=Lt-Ue),hiddenTextarea.value="";const hn=hiddenTextarea.scrollHeight-Ue;if(isNumber$1($e)){let vn=hn*$e;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.max(vn,Lt),jt.minHeight=`${vn}px`}if(isNumber$1(Ie)){let vn=hn*Ie;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.min(vn,Lt)}return jt.height=`${Lt}px`,(Fe=hiddenTextarea.parentNode)==null||Fe.removeChild(hiddenTextarea),hiddenTextarea=void 0,jt}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),input:xe=>isString$4(xe),change:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,mouseleave:xe=>xe instanceof MouseEvent,mouseenter:xe=>xe instanceof MouseEvent,keydown:xe=>xe instanceof Event,compositionstart:xe=>xe instanceof CompositionEvent,compositionupdate:xe=>xe instanceof CompositionEvent,compositionend:xe=>xe instanceof CompositionEvent},_hoisted_1$18=["role"],_hoisted_2$K=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],_hoisted_3$m=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],__default__$1G=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2n=defineComponent({...__default__$1G,props:inputProps,emits:inputEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),qe=useSlots(),At=computed(()=>{const gr={};return Fe.containerRole==="combobox"&&(gr["aria-haspopup"]=Ue["aria-haspopup"],gr["aria-owns"]=Ue["aria-owns"],gr["aria-expanded"]=Ue["aria-expanded"]),gr}),Dt=computed(()=>[Fe.type==="textarea"?Cn.b():kn.b(),kn.m(_n.value),kn.is("disabled",wn.value),kn.is("exceed",er.value),{[kn.b("group")]:qe.prepend||qe.append,[kn.bm("group","append")]:qe.append,[kn.bm("group","prepend")]:qe.prepend,[kn.m("prefix")]:qe.prefix||Fe.prefixIcon,[kn.m("suffix")]:qe.suffix||Fe.suffixIcon||Fe.clearable||Fe.showPassword,[kn.bm("suffix","password-clear")]:jn.value&&Gn.value,[kn.b("hidden")]:Fe.type==="hidden"},Ue.class]),Lt=computed(()=>[kn.e("wrapper"),kn.is("focus",In.value)]),jt=useAttrs({excludeKeys:computed(()=>Object.keys(At.value))}),{form:hn,formItem:vn}=useFormItem(),{inputId:bn}=useFormItemInputId(Fe,{formItemContext:vn}),_n=useFormSize(),wn=useFormDisabled(),kn=useNamespace("input"),Cn=useNamespace("textarea"),Sn=shallowRef(),xn=shallowRef(),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(),Pn=shallowRef(Fe.inputStyle),Nn=computed(()=>Sn.value||xn.value),{wrapperRef:Mn,isFocused:In,handleFocus:On,handleBlur:Rn}=useFocusController(Nn,{afterBlur(){var gr;Fe.validateEvent&&((gr=vn==null?void 0:vn.validate)==null||gr.call(vn,"blur").catch(xr=>void 0))}}),Bn=computed(()=>{var gr;return(gr=hn==null?void 0:hn.statusIcon)!=null?gr:!1}),Vn=computed(()=>(vn==null?void 0:vn.validateState)||""),Ln=computed(()=>Vn.value&&ValidateComponentsMap[Vn.value]),Dn=computed(()=>An.value?view_default:hide_default),Hn=computed(()=>[Ue.style]),Fn=computed(()=>[Fe.inputStyle,Pn.value,{resize:Fe.resize}]),zn=computed(()=>isNil(Fe.modelValue)?"":String(Fe.modelValue)),jn=computed(()=>Fe.clearable&&!wn.value&&!Fe.readonly&&!!zn.value&&(In.value||En.value)),Gn=computed(()=>Fe.showPassword&&!wn.value&&!Fe.readonly&&!!zn.value&&(!!zn.value||In.value)),Wn=computed(()=>Fe.showWordLimit&&!!Fe.maxlength&&(Fe.type==="text"||Fe.type==="textarea")&&!wn.value&&!Fe.readonly&&!Fe.showPassword),Xn=computed(()=>zn.value.length),er=computed(()=>!!Wn.value&&Xn.value>Number(Fe.maxlength)),rr=computed(()=>!!qe.suffix||!!Fe.suffixIcon||jn.value||Fe.showPassword||Wn.value||!!Vn.value&&Bn.value),[Jn,Yn]=useCursor(Sn);useResizeObserver(xn,gr=>{if(tr(),!Wn.value||Fe.resize!=="both")return;const xr=gr[0],{width:Rr}=xr.contentRect;$n.value={right:`calc(100% - ${Rr+15+6}px)`}});const qn=()=>{const{type:gr,autosize:xr}=Fe;if(!(!isClient$1||gr!=="textarea"||!xn.value))if(xr){const Rr=isObject$8(xr)?xr.minRows:void 0,Hr=isObject$8(xr)?xr.maxRows:void 0,Jr=calcTextareaHeight(xn.value,Rr,Hr);Pn.value={overflowY:"hidden",...Jr},nextTick(()=>{xn.value.offsetHeight,Pn.value=Jr})}else Pn.value={minHeight:calcTextareaHeight(xn.value).minHeight}},tr=(gr=>{let xr=!1;return()=>{var Rr;if(xr||!Fe.autosize)return;((Rr=xn.value)==null?void 0:Rr.offsetParent)===null||(gr(),xr=!0)}})(qn),or=()=>{const gr=Nn.value,xr=Fe.formatter?Fe.formatter(zn.value):zn.value;!gr||gr.value===xr||(gr.value=xr)},sr=async gr=>{Jn();let{value:xr}=gr.target;if(Fe.formatter&&(xr=Fe.parser?Fe.parser(xr):xr),!Tn.value){if(xr===zn.value){or();return}Ie(UPDATE_MODEL_EVENT,xr),Ie("input",xr),await nextTick(),or(),Yn()}},Kn=gr=>{Ie("change",gr.target.value)},Zn=gr=>{Ie("compositionstart",gr),Tn.value=!0},nr=gr=>{var xr;Ie("compositionupdate",gr);const Rr=(xr=gr.target)==null?void 0:xr.value,Hr=Rr[Rr.length-1]||"";Tn.value=!isKorean(Hr)},lr=gr=>{Ie("compositionend",gr),Tn.value&&(Tn.value=!1,sr(gr))},ir=()=>{An.value=!An.value,kr()},kr=async()=>{var gr;await nextTick(),(gr=Nn.value)==null||gr.focus()},Cr=()=>{var gr;return(gr=Nn.value)==null?void 0:gr.blur()},Er=gr=>{En.value=!1,Ie("mouseleave",gr)},dr=gr=>{En.value=!0,Ie("mouseenter",gr)},br=gr=>{Ie("keydown",gr)},_r=()=>{var gr;(gr=Nn.value)==null||gr.select()},Pr=()=>{Ie(UPDATE_MODEL_EVENT,""),Ie("change",""),Ie("clear"),Ie("input","")};return watch(()=>Fe.modelValue,()=>{var gr;nextTick(()=>qn()),Fe.validateEvent&&((gr=vn==null?void 0:vn.validate)==null||gr.call(vn,"change").catch(xr=>void 0))}),watch(zn,()=>or()),watch(()=>Fe.type,async()=>{await nextTick(),or(),qn()}),onMounted(()=>{!Fe.formatter&&Fe.parser,or(),nextTick(qn)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input",ref:"https://element-plus.org/en-US/component/input.html"},computed(()=>!!Fe.label)),$e({input:Sn,textarea:xn,ref:Nn,textareaStyle:Fn,autosize:toRef(Fe,"autosize"),focus:kr,blur:Cr,select:_r,clear:Pr,resizeTextarea:qn}),(gr,xr)=>(openBlock(),createElementBlock("div",mergeProps(unref(At),{class:unref(Dt),style:unref(Hn),role:gr.containerRole,onMouseenter:dr,onMouseleave:Er}),[createCommentVNode(" input "),gr.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),gr.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(kn).be("group","prepend"))},[renderSlot(gr.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Mn,class:normalizeClass(unref(Lt))},[createCommentVNode(" prefix slot "),gr.$slots.prefix||gr.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(kn).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("prefix-inner"))},[renderSlot(gr.$slots,"prefix"),gr.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(bn),ref_key:"input",ref:Sn,class:unref(kn).e("inner")},unref(jt),{minlength:gr.minlength,maxlength:gr.maxlength,type:gr.showPassword?An.value?"text":"password":gr.type,disabled:unref(wn),readonly:gr.readonly,autocomplete:gr.autocomplete,tabindex:gr.tabindex,"aria-label":gr.label||gr.ariaLabel,placeholder:gr.placeholder,style:gr.inputStyle,form:gr.form,autofocus:gr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[0]||(xr[0]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[1]||(xr[1]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_2$K),createCommentVNode(" suffix slot "),unref(rr)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(kn).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("suffix-inner"))},[!unref(jn)||!unref(Gn)||!unref(Wn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(gr.$slots,"suffix"),gr.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(jn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:Pr},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Gn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("password")]),onClick:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Wn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(kn).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("count-inner"))},toDisplayString(unref(Xn))+" / "+toDisplayString(gr.maxlength),3)],2)):createCommentVNode("v-if",!0),unref(Vn)&&unref(Ln)&&unref(Bn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("validateIcon"),unref(kn).is("loading",unref(Vn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ln))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),gr.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(kn).be("group","append"))},[renderSlot(gr.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(bn),ref_key:"textarea",ref:xn,class:[unref(Cn).e("inner"),unref(kn).is("focus",unref(In))]},unref(jt),{minlength:gr.minlength,maxlength:gr.maxlength,tabindex:gr.tabindex,disabled:unref(wn),readonly:gr.readonly,autocomplete:gr.autocomplete,style:unref(Fn),"aria-label":gr.label||gr.ariaLabel,placeholder:gr.placeholder,form:gr.form,autofocus:gr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[2]||(xr[2]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[3]||(xr[3]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_3$m),unref(Wn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1($n.value),class:normalizeClass(unref(kn).e("count"))},toDisplayString(unref(Xn))+" / "+toDisplayString(gr.maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$18))}});var Input=_export_sfc$1(_sfc_main$2n,[["__file","input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle$1=({move:xe,size:$e,bar:Ie})=>({[Ie.size]:$e,transform:`translate${Ie.axis}(${xe}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2m=defineComponent({__name:"thumb",props:thumbProps,setup(xe){const $e=xe,Ie=inject(scrollbarContextKey),Fe=useNamespace("scrollbar");Ie||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const Ue=ref(),qe=ref(),At=ref({}),Dt=ref(!1);let Lt=!1,jt=!1,hn=isClient$1?document.onselectstart:null;const vn=computed(()=>BAR_MAP[$e.vertical?"vertical":"horizontal"]),bn=computed(()=>renderThumbStyle$1({size:$e.size,move:$e.move,bar:vn.value})),_n=computed(()=>Ue.value[vn.value.offset]**2/Ie.wrapElement[vn.value.scrollSize]/$e.ratio/qe.value[vn.value.offset]),wn=$n=>{var Pn;if($n.stopPropagation(),$n.ctrlKey||[1,2].includes($n.button))return;(Pn=window.getSelection())==null||Pn.removeAllRanges(),Cn($n);const Nn=$n.currentTarget;Nn&&(At.value[vn.value.axis]=Nn[vn.value.offset]-($n[vn.value.client]-Nn.getBoundingClientRect()[vn.value.direction]))},kn=$n=>{if(!qe.value||!Ue.value||!Ie.wrapElement)return;const Pn=Math.abs($n.target.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client]),Nn=qe.value[vn.value.offset]/2,Mn=(Pn-Nn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=Mn*Ie.wrapElement[vn.value.scrollSize]/100},Cn=$n=>{$n.stopImmediatePropagation(),Lt=!0,document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",xn),hn=document.onselectstart,document.onselectstart=()=>!1},Sn=$n=>{if(!Ue.value||!qe.value||Lt===!1)return;const Pn=At.value[vn.value.axis];if(!Pn)return;const Nn=(Ue.value.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client])*-1,Mn=qe.value[vn.value.offset]-Pn,In=(Nn-Mn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=In*Ie.wrapElement[vn.value.scrollSize]/100},xn=()=>{Lt=!1,At.value[vn.value.axis]=0,document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",xn),An(),jt&&(Dt.value=!1)},En=()=>{jt=!1,Dt.value=!!$e.size},Tn=()=>{jt=!0,Dt.value=Lt};onBeforeUnmount(()=>{An(),document.removeEventListener("mouseup",xn)});const An=()=>{document.onselectstart!==hn&&(document.onselectstart=hn)};return useEventListener(toRef(Ie,"scrollbarElement"),"mousemove",En),useEventListener(toRef(Ie,"scrollbarElement"),"mouseleave",Tn),($n,Pn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:Ue,class:normalizeClass([unref(Fe).e("bar"),unref(Fe).is(unref(vn).key)]),onMousedown:kn},[createBaseVNode("div",{ref_key:"thumb",ref:qe,class:normalizeClass(unref(Fe).e("thumb")),style:normalizeStyle$1(unref(bn)),onMousedown:wn},null,38)],34),[[vShow,$n.always||Dt.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2m,[["__file","thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$2l=defineComponent({__name:"bar",props:barProps,setup(xe,{expose:$e}){const Ie=xe,Fe=inject(scrollbarContextKey),Ue=ref(0),qe=ref(0),At=ref(""),Dt=ref(""),Lt=ref(1),jt=ref(1);return $e({handleScroll:bn=>{if(bn){const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP;qe.value=bn.scrollTop*100/_n*Lt.value,Ue.value=bn.scrollLeft*100/wn*jt.value}},update:()=>{const bn=Fe==null?void 0:Fe.wrapElement;if(!bn)return;const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP,kn=_n**2/bn.scrollHeight,Cn=wn**2/bn.scrollWidth,Sn=Math.max(kn,Ie.minSize),xn=Math.max(Cn,Ie.minSize);Lt.value=kn/(_n-kn)/(Sn/(_n-Sn)),jt.value=Cn/(wn-Cn)/(xn/(wn-xn)),Dt.value=Sn+GAP<_n?`${Sn}px`:"",At.value=xn+GAP(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:Ue.value,ratio:jt.value,size:At.value,always:bn.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:qe.value,ratio:Lt.value,size:Dt.value,vertical:"",always:bn.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2l,[["__file","bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={scroll:({scrollTop:xe,scrollLeft:$e})=>[xe,$e].every(isNumber$1)},COMPONENT_NAME$j="ElScrollbar",__default__$1F=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2k=defineComponent({...__default__$1F,props:scrollbarProps,emits:scrollbarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("scrollbar");let qe,At;const Dt=ref(),Lt=ref(),jt=ref(),hn=ref(),vn=computed(()=>{const En={};return Fe.height&&(En.height=addUnit(Fe.height)),Fe.maxHeight&&(En.maxHeight=addUnit(Fe.maxHeight)),[Fe.wrapStyle,En]}),bn=computed(()=>[Fe.wrapClass,Ue.e("wrap"),{[Ue.em("wrap","hidden-default")]:!Fe.native}]),_n=computed(()=>[Ue.e("view"),Fe.viewClass]),wn=()=>{var En;Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value),Ie("scroll",{scrollTop:Lt.value.scrollTop,scrollLeft:Lt.value.scrollLeft}))};function kn(En,Tn){isObject$8(En)?Lt.value.scrollTo(En):isNumber$1(En)&&isNumber$1(Tn)&&Lt.value.scrollTo(En,Tn)}const Cn=En=>{isNumber$1(En)&&(Lt.value.scrollTop=En)},Sn=En=>{isNumber$1(En)&&(Lt.value.scrollLeft=En)},xn=()=>{var En;(En=hn.value)==null||En.update()};return watch(()=>Fe.noresize,En=>{En?(qe==null||qe(),At==null||At()):({stop:qe}=useResizeObserver(jt,xn),At=useEventListener("resize",xn))},{immediate:!0}),watch(()=>[Fe.maxHeight,Fe.height],()=>{Fe.native||nextTick(()=>{var En;xn(),Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:Dt,wrapElement:Lt})),onMounted(()=>{Fe.native||nextTick(()=>{xn()})}),onUpdated(()=>xn()),$e({wrapRef:Lt,update:xn,scrollTo:kn,setScrollTop:Cn,setScrollLeft:Sn,handleScroll:wn}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:Dt,class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:Lt,class:normalizeClass(unref(bn)),style:normalizeStyle$1(unref(vn)),onScroll:wn},[(openBlock(),createBlock(resolveDynamicComponent(En.tag),{id:En.id,ref_key:"resizeRef",ref:jt,class:normalizeClass(unref(_n)),style:normalizeStyle$1(En.viewStyle),role:En.role,"aria-label":En.ariaLabel,"aria-orientation":En.ariaOrientation},{default:withCtx(()=>[renderSlot(En.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),En.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:hn,always:En.always,"min-size":En.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2k,[["__file","scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$1E=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2j=defineComponent({...__default__$1E,props:popperProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=computed(()=>Ie.role),Lt={triggerRef:Fe,popperInstanceRef:Ue,contentRef:qe,referenceRef:At,role:Dt};return $e(Lt),provide(POPPER_INJECTION_KEY,Lt),(jt,hn)=>renderSlot(jt.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2j,[["__file","popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1D=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2i=defineComponent({...__default__$1D,props:popperArrowProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("popper"),{arrowOffset:Ue,arrowRef:qe,arrowStyle:At}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>Ie.arrowOffset,Dt=>{Ue.value=Dt}),onBeforeUnmount(()=>{qe.value=void 0}),$e({arrowRef:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:qe,class:normalizeClass(unref(Fe).e("arrow")),style:normalizeStyle$1(unref(At)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2i,[["__file","arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(xe,{slots:$e,attrs:Ie}){var Fe;const Ue=inject(FORWARD_REF_INJECTION_KEY),qe=useForwardRefDirective((Fe=Ue==null?void 0:Ue.setForwardRef)!=null?Fe:NOOP);return()=>{var At;const Dt=(At=$e.default)==null?void 0:At.call($e,Ie);if(!Dt||Dt.length>1)return null;const Lt=findFirstLegitChild(Dt);return Lt?withDirectives(cloneVNode(Lt,Ie),[[qe]]):null}}});function findFirstLegitChild(xe){if(!xe)return null;const $e=xe;for(const Ie of $e){if(isObject$8(Ie))switch(Ie.type){case Comment$1:continue;case Text$2:case"svg":return wrapTextContent(Ie);case Fragment:return findFirstLegitChild(Ie.children);default:return Ie}return wrapTextContent(Ie)}return null}function wrapTextContent(xe){const $e=useNamespace("only-child");return createVNode$1("span",{class:$e.e("content")},[xe])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$1C=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2h=defineComponent({...__default__$1C,props:popperTriggerProps,setup(xe,{expose:$e}){const Ie=xe,{role:Fe,triggerRef:Ue}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(Ue);const qe=computed(()=>Dt.value?Ie.id:void 0),At=computed(()=>{if(Fe&&Fe.value==="tooltip")return Ie.open&&Ie.id?Ie.id:void 0}),Dt=computed(()=>{if(Fe&&Fe.value!=="tooltip")return Fe.value}),Lt=computed(()=>Dt.value?`${Ie.open}`:void 0);let jt;return onMounted(()=>{watch(()=>Ie.virtualRef,hn=>{hn&&(Ue.value=unrefElement(hn))},{immediate:!0}),watch(Ue,(hn,vn)=>{jt==null||jt(),jt=void 0,isElement$1(hn)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(bn=>{var _n;const wn=Ie[bn];wn&&(hn.addEventListener(bn.slice(2).toLowerCase(),wn),(_n=vn==null?void 0:vn.removeEventListener)==null||_n.call(vn,bn.slice(2).toLowerCase(),wn))}),jt=watch([qe,At,Dt,Lt],bn=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((_n,wn)=>{isNil(bn[wn])?hn.removeAttribute(_n):hn.setAttribute(_n,bn[wn])})},{immediate:!0})),isElement$1(vn)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(bn=>vn.removeAttribute(bn))},{immediate:!0})}),onBeforeUnmount(()=>{jt==null||jt(),jt=void 0}),$e({triggerRef:Ue}),(hn,vn)=>hn.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},hn.$attrs,{"aria-controls":unref(qe),"aria-describedby":unref(At),"aria-expanded":unref(Lt),"aria-haspopup":unref(Dt)}),{default:withCtx(()=>[renderSlot(hn.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$2h,[["__file","trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=xe=>{const $e=[],Ie=document.createTreeWalker(xe,NodeFilter.SHOW_ELEMENT,{acceptNode:Fe=>{const Ue=Fe.tagName==="INPUT"&&Fe.type==="hidden";return Fe.disabled||Fe.hidden||Ue?NodeFilter.FILTER_SKIP:Fe.tabIndex>=0||Fe===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;Ie.nextNode();)$e.push(Ie.currentNode);return $e},getVisibleElement=(xe,$e)=>{for(const Ie of xe)if(!isHidden(Ie,$e))return Ie},isHidden=(xe,$e)=>{if(getComputedStyle(xe).visibility==="hidden")return!0;for(;xe;){if($e&&xe===$e)return!1;if(getComputedStyle(xe).display==="none")return!0;xe=xe.parentElement}return!1},getEdges=xe=>{const $e=obtainAllFocusableElements(xe),Ie=getVisibleElement($e,xe),Fe=getVisibleElement($e.reverse(),xe);return[Ie,Fe]},isSelectable=xe=>xe instanceof HTMLInputElement&&"select"in xe,tryFocus=(xe,$e)=>{if(xe&&xe.focus){const Ie=document.activeElement;xe.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),xe!==Ie&&isSelectable(xe)&&$e&&xe.select()}};function removeFromStack(xe,$e){const Ie=[...xe],Fe=xe.indexOf($e);return Fe!==-1&&Ie.splice(Fe,1),Ie}const createFocusableStack=()=>{let xe=[];return{push:Fe=>{const Ue=xe[0];Ue&&Fe!==Ue&&Ue.pause(),xe=removeFromStack(xe,Fe),xe.unshift(Fe)},remove:Fe=>{var Ue,qe;xe=removeFromStack(xe,Fe),(qe=(Ue=xe[0])==null?void 0:Ue.resume)==null||qe.call(Ue)}}},focusFirstDescendant=(xe,$e=!1)=>{const Ie=document.activeElement;for(const Fe of xe)if(tryFocus(Fe,$e),document.activeElement!==Ie)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=xe=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:xe}),_sfc_main$2g=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(xe,{emit:$e}){const Ie=ref();let Fe,Ue;const{focusReason:qe}=useFocusReason();useEscapeKeydown(wn=>{xe.trapped&&!At.paused&&$e("release-requested",wn)});const At={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},Dt=wn=>{if(!xe.loop&&!xe.trapped||At.paused)return;const{key:kn,altKey:Cn,ctrlKey:Sn,metaKey:xn,currentTarget:En,shiftKey:Tn}=wn,{loop:An}=xe,$n=kn===EVENT_CODE.tab&&!Cn&&!Sn&&!xn,Pn=document.activeElement;if($n&&Pn){const Nn=En,[Mn,In]=getEdges(Nn);if(Mn&&In){if(!Tn&&Pn===In){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(Mn,!0))}else if(Tn&&[Mn,Nn].includes(Pn)){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(In,!0))}}else if(Pn===Nn){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||wn.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:Ie,onKeydown:Dt}),watch(()=>xe.focusTrapEl,wn=>{wn&&(Ie.value=wn)},{immediate:!0}),watch([Ie],([wn],[kn])=>{wn&&(wn.addEventListener("keydown",Dt),wn.addEventListener("focusin",hn),wn.addEventListener("focusout",vn)),kn&&(kn.removeEventListener("keydown",Dt),kn.removeEventListener("focusin",hn),kn.removeEventListener("focusout",vn))});const Lt=wn=>{$e(ON_TRAP_FOCUS_EVT,wn)},jt=wn=>$e(ON_RELEASE_FOCUS_EVT,wn),hn=wn=>{const kn=unref(Ie);if(!kn)return;const Cn=wn.target,Sn=wn.relatedTarget,xn=Cn&&kn.contains(Cn);xe.trapped||Sn&&kn.contains(Sn)||(Fe=Sn),xn&&$e("focusin",wn),!At.paused&&xe.trapped&&(xn?Ue=Cn:tryFocus(Ue,!0))},vn=wn=>{const kn=unref(Ie);if(!(At.paused||!kn))if(xe.trapped){const Cn=wn.relatedTarget;!isNil(Cn)&&!kn.contains(Cn)&&setTimeout(()=>{if(!At.paused&&xe.trapped){const Sn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Sn),Sn.defaultPrevented||tryFocus(Ue,!0)}},0)}else{const Cn=wn.target;Cn&&kn.contains(Cn)||$e("focusout",wn)}};async function bn(){await nextTick();const wn=unref(Ie);if(wn){focusableStack.push(At);const kn=wn.contains(document.activeElement)?Fe:document.activeElement;if(Fe=kn,!wn.contains(kn)){const Sn=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);wn.addEventListener(FOCUS_AFTER_TRAPPED,Lt),wn.dispatchEvent(Sn),Sn.defaultPrevented||nextTick(()=>{let xn=xe.focusStartEl;isString$4(xn)||(tryFocus(xn),document.activeElement!==xn&&(xn="first")),xn==="first"&&focusFirstDescendant(obtainAllFocusableElements(wn),!0),(document.activeElement===kn||xn==="container")&&tryFocus(wn)})}}}function _n(){const wn=unref(Ie);if(wn){wn.removeEventListener(FOCUS_AFTER_TRAPPED,Lt);const kn=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:qe.value}});wn.addEventListener(FOCUS_AFTER_RELEASED,jt),wn.dispatchEvent(kn),!kn.defaultPrevented&&(qe.value=="keyboard"||!isFocusCausedByUserEvent()||wn.contains(document.activeElement))&&tryFocus(Fe??document.body),wn.removeEventListener(FOCUS_AFTER_RELEASED,jt),focusableStack.remove(At)}}return onMounted(()=>{xe.trapped&&bn(),watch(()=>xe.trapped,wn=>{wn?bn():_n()})}),onBeforeUnmount(()=>{xe.trapped&&_n()}),{onKeydown:Dt}}});function _sfc_render$u(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default",{handleKeydown:xe.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$2g,[["render",_sfc_render$u],["__file","focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"])}),popperContentEmits={mouseenter:xe=>xe instanceof MouseEvent,mouseleave:xe=>xe instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(xe,$e=[])=>{const{placement:Ie,strategy:Fe,popperOptions:Ue}=xe,qe={placement:Ie,strategy:Fe,...Ue,modifiers:[...genModifiers(xe),...$e]};return deriveExtraModifiers(qe,Ue==null?void 0:Ue.modifiers),qe},unwrapMeasurableEl=xe=>{if(isClient$1)return unrefElement(xe)};function genModifiers(xe){const{offset:$e,gpuAcceleration:Ie,fallbackPlacements:Fe}=xe;return[{name:"offset",options:{offset:[0,$e??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:Fe}},{name:"computeStyles",options:{gpuAcceleration:Ie}}]}function deriveExtraModifiers(xe,$e){$e&&(xe.modifiers=[...xe.modifiers,...$e??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=xe=>{const{popperInstanceRef:$e,contentRef:Ie,triggerRef:Fe,role:Ue}=inject(POPPER_INJECTION_KEY,void 0),qe=ref(),At=ref(),Dt=computed(()=>({name:"eventListeners",enabled:!!xe.visible})),Lt=computed(()=>{var Sn;const xn=unref(qe),En=(Sn=unref(At))!=null?Sn:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(xn),options:{element:xn,padding:En}}}),jt=computed(()=>({onFirstUpdate:()=>{wn()},...buildPopperOptions(xe,[unref(Lt),unref(Dt)])})),hn=computed(()=>unwrapMeasurableEl(xe.referenceEl)||unref(Fe)),{attributes:vn,state:bn,styles:_n,update:wn,forceUpdate:kn,instanceRef:Cn}=usePopper(hn,Ie,jt);return watch(Cn,Sn=>$e.value=Sn),onMounted(()=>{watch(()=>{var Sn;return(Sn=unref(hn))==null?void 0:Sn.getBoundingClientRect()},()=>{wn()})}),{attributes:vn,arrowRef:qe,contentRef:Ie,instanceRef:Cn,state:bn,styles:_n,role:Ue,forceUpdate:kn,update:wn}},usePopperContentDOM=(xe,{attributes:$e,styles:Ie,role:Fe})=>{const{nextZIndex:Ue}=useZIndex(),qe=useNamespace("popper"),At=computed(()=>unref($e).popper),Dt=ref(isNumber$1(xe.zIndex)?xe.zIndex:Ue()),Lt=computed(()=>[qe.b(),qe.is("pure",xe.pure),qe.is(xe.effect),xe.popperClass]),jt=computed(()=>[{zIndex:unref(Dt)},unref(Ie).popper,xe.popperStyle||{}]),hn=computed(()=>Fe.value==="dialog"?"false":void 0),vn=computed(()=>unref(Ie).arrow||{});return{ariaModal:hn,arrowStyle:vn,contentAttrs:At,contentClass:Lt,contentStyle:jt,contentZIndex:Dt,updateZIndex:()=>{Dt.value=isNumber$1(xe.zIndex)?xe.zIndex:Ue()}}},usePopperContentFocusTrap=(xe,$e)=>{const Ie=ref(!1),Fe=ref();return{focusStartRef:Fe,trapped:Ie,onFocusAfterReleased:jt=>{var hn;((hn=jt.detail)==null?void 0:hn.focusReason)!=="pointer"&&(Fe.value="first",$e("blur"))},onFocusAfterTrapped:()=>{$e("focus")},onFocusInTrap:jt=>{xe.visible&&!Ie.value&&(jt.target&&(Fe.value=jt.target),Ie.value=!0)},onFocusoutPrevented:jt=>{xe.trapping||(jt.detail.focusReason==="pointer"&&jt.preventDefault(),Ie.value=!1)},onReleaseRequested:()=>{Ie.value=!1,$e("close")}}},__default__$1B=defineComponent({name:"ElPopperContent"}),_sfc_main$2f=defineComponent({...__default__$1B,props:popperContentProps,emits:popperContentEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{focusStartRef:Ue,trapped:qe,onFocusAfterReleased:At,onFocusAfterTrapped:Dt,onFocusInTrap:Lt,onFocusoutPrevented:jt,onReleaseRequested:hn}=usePopperContentFocusTrap(Fe,Ie),{attributes:vn,arrowRef:bn,contentRef:_n,styles:wn,instanceRef:kn,role:Cn,update:Sn}=usePopperContent(Fe),{ariaModal:xn,arrowStyle:En,contentAttrs:Tn,contentClass:An,contentStyle:$n,updateZIndex:Pn}=usePopperContentDOM(Fe,{styles:wn,attributes:vn,role:Cn}),Nn=inject(formItemContextKey,void 0),Mn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:En,arrowRef:bn,arrowOffset:Mn}),Nn&&provide(formItemContextKey,{...Nn,addInputId:NOOP,removeInputId:NOOP});let In;const On=(Bn=!0)=>{Sn(),Bn&&Pn()},Rn=()=>{On(!1),Fe.visible&&Fe.focusOnShow?qe.value=!0:Fe.visible===!1&&(qe.value=!1)};return onMounted(()=>{watch(()=>Fe.triggerTargetEl,(Bn,Vn)=>{In==null||In(),In=void 0;const Ln=unref(Bn||_n.value),Dn=unref(Vn||_n.value);isElement$1(Ln)&&(In=watch([Cn,()=>Fe.ariaLabel,xn,()=>Fe.id],Hn=>{["role","aria-label","aria-modal","id"].forEach((Fn,zn)=>{isNil(Hn[zn])?Ln.removeAttribute(Fn):Ln.setAttribute(Fn,Hn[zn])})},{immediate:!0})),Dn!==Ln&&isElement$1(Dn)&&["role","aria-label","aria-modal","id"].forEach(Hn=>{Dn.removeAttribute(Hn)})},{immediate:!0}),watch(()=>Fe.visible,Rn,{immediate:!0})}),onBeforeUnmount(()=>{In==null||In(),In=void 0}),$e({popperContentRef:_n,popperInstanceRef:kn,updatePopper:On,contentStyle:$n}),(Bn,Vn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:_n},unref(Tn),{style:unref($n),class:unref(An),tabindex:"-1",onMouseenter:Vn[0]||(Vn[0]=Ln=>Bn.$emit("mouseenter",Ln)),onMouseleave:Vn[1]||(Vn[1]=Ln=>Bn.$emit("mouseleave",Ln))}),[createVNode$1(unref(ElFocusTrap),{trapped:unref(qe),"trap-on-focus-in":!0,"focus-trap-el":unref(_n),"focus-start-el":unref(Ue),onFocusAfterTrapped:unref(Dt),onFocusAfterReleased:unref(At),onFocusin:unref(Lt),onFocusoutPrevented:unref(jt),onReleaseRequested:unref(hn)},{default:withCtx(()=>[renderSlot(Bn.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$2f,[["__file","content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(xe,$e)=>isArray$6(xe)?xe.includes($e):xe===$e,whenTrigger=(xe,$e,Ie)=>Fe=>{isTriggerType(unref(xe),$e)&&Ie(Fe)},__default__$1A=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$2e=defineComponent({...__default__$1A,props:useTooltipTriggerProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("tooltip"),{controlled:Ue,id:qe,open:At,onOpen:Dt,onClose:Lt,onToggle:jt}=inject(TOOLTIP_INJECTION_KEY,void 0),hn=ref(null),vn=()=>{if(unref(Ue)||Ie.disabled)return!0},bn=toRef(Ie,"trigger"),_n=composeEventHandlers(vn,whenTrigger(bn,"hover",Dt)),wn=composeEventHandlers(vn,whenTrigger(bn,"hover",Lt)),kn=composeEventHandlers(vn,whenTrigger(bn,"click",Tn=>{Tn.button===0&&jt(Tn)})),Cn=composeEventHandlers(vn,whenTrigger(bn,"focus",Dt)),Sn=composeEventHandlers(vn,whenTrigger(bn,"focus",Lt)),xn=composeEventHandlers(vn,whenTrigger(bn,"contextmenu",Tn=>{Tn.preventDefault(),jt(Tn)})),En=composeEventHandlers(vn,Tn=>{const{code:An}=Tn;Ie.triggerKeys.includes(An)&&(Tn.preventDefault(),jt(Tn))});return $e({triggerRef:hn}),(Tn,An)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(qe),"virtual-ref":Tn.virtualRef,open:unref(At),"virtual-triggering":Tn.virtualTriggering,class:normalizeClass(unref(Fe).e("trigger")),onBlur:unref(Sn),onClick:unref(kn),onContextmenu:unref(xn),onFocus:unref(Cn),onMouseenter:unref(_n),onMouseleave:unref(wn),onKeydown:unref(En)},{default:withCtx(()=>[renderSlot(Tn.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$2e,[["__file","trigger.vue"]]);const __default__$1z=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$2d=defineComponent({...__default__$1z,props:useTooltipContentProps,setup(xe,{expose:$e}){const Ie=xe,{selector:Fe}=usePopperContainerId(),Ue=useNamespace("tooltip"),qe=ref(null),At=ref(!1),{controlled:Dt,id:Lt,open:jt,trigger:hn,onClose:vn,onOpen:bn,onShow:_n,onHide:wn,onBeforeShow:kn,onBeforeHide:Cn}=inject(TOOLTIP_INJECTION_KEY,void 0),Sn=computed(()=>Ie.transition||`${Ue.namespace.value}-fade-in-linear`),xn=computed(()=>Ie.persistent);onBeforeUnmount(()=>{At.value=!0});const En=computed(()=>unref(xn)?!0:unref(jt)),Tn=computed(()=>Ie.disabled?!1:unref(jt)),An=computed(()=>Ie.appendTo||Fe.value),$n=computed(()=>{var Hn;return(Hn=Ie.style)!=null?Hn:{}}),Pn=computed(()=>!unref(jt)),Nn=()=>{wn()},Mn=()=>{if(unref(Dt))return!0},In=composeEventHandlers(Mn,()=>{Ie.enterable&&unref(hn)==="hover"&&bn()}),On=composeEventHandlers(Mn,()=>{unref(hn)==="hover"&&vn()}),Rn=()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn),kn==null||kn()},Bn=()=>{Cn==null||Cn()},Vn=()=>{_n(),Dn=onClickOutside(computed(()=>{var Hn;return(Hn=qe.value)==null?void 0:Hn.popperContentRef}),()=>{if(unref(Dt))return;unref(hn)!=="hover"&&vn()})},Ln=()=>{Ie.virtualTriggering||vn()};let Dn;return watch(()=>unref(jt),Hn=>{Hn||Dn==null||Dn()},{flush:"post"}),watch(()=>Ie.content,()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn)}),$e({contentRef:qe}),(Hn,Fn)=>(openBlock(),createBlock(Teleport,{disabled:!Hn.teleported,to:unref(An)},[createVNode$1(Transition,{name:unref(Sn),onAfterLeave:Nn,onBeforeEnter:Rn,onAfterEnter:Vn,onBeforeLeave:Bn},{default:withCtx(()=>[unref(En)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(Lt),ref_key:"contentRef",ref:qe},Hn.$attrs,{"aria-label":Hn.ariaLabel,"aria-hidden":unref(Pn),"boundaries-padding":Hn.boundariesPadding,"fallback-placements":Hn.fallbackPlacements,"gpu-acceleration":Hn.gpuAcceleration,offset:Hn.offset,placement:Hn.placement,"popper-options":Hn.popperOptions,strategy:Hn.strategy,effect:Hn.effect,enterable:Hn.enterable,pure:Hn.pure,"popper-class":Hn.popperClass,"popper-style":[Hn.popperStyle,unref($n)],"reference-el":Hn.referenceEl,"trigger-target-el":Hn.triggerTargetEl,visible:unref(Tn),"z-index":Hn.zIndex,onMouseenter:unref(In),onMouseleave:unref(On),onBlur:Ln,onClose:unref(vn)}),{default:withCtx(()=>[At.value?createCommentVNode("v-if",!0):renderSlot(Hn.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(Tn)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$2d,[["__file","content.vue"]]);const _hoisted_1$17=["innerHTML"],_hoisted_2$J={key:1},__default__$1y=defineComponent({name:"ElTooltip"}),_sfc_main$2c=defineComponent({...__default__$1y,props:useTooltipProps,emits:tooltipEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;usePopperContainer();const Ue=useId(),qe=ref(),At=ref(),Dt=()=>{var Sn;const xn=unref(qe);xn&&((Sn=xn.popperInstanceRef)==null||Sn.update())},Lt=ref(!1),jt=ref(),{show:hn,hide:vn,hasUpdateHandler:bn}=useTooltipModelToggle({indicator:Lt,toggleReason:jt}),{onOpen:_n,onClose:wn}=useDelayedToggle({showAfter:toRef(Fe,"showAfter"),hideAfter:toRef(Fe,"hideAfter"),autoClose:toRef(Fe,"autoClose"),open:hn,close:vn}),kn=computed(()=>isBoolean(Fe.visible)&&!bn.value);provide(TOOLTIP_INJECTION_KEY,{controlled:kn,id:Ue,open:readonly(Lt),trigger:toRef(Fe,"trigger"),onOpen:Sn=>{_n(Sn)},onClose:Sn=>{wn(Sn)},onToggle:Sn=>{unref(Lt)?wn(Sn):_n(Sn)},onShow:()=>{Ie("show",jt.value)},onHide:()=>{Ie("hide",jt.value)},onBeforeShow:()=>{Ie("before-show",jt.value)},onBeforeHide:()=>{Ie("before-hide",jt.value)},updatePopper:Dt}),watch(()=>Fe.disabled,Sn=>{Sn&&Lt.value&&(Lt.value=!1)});const Cn=Sn=>{var xn,En;const Tn=(En=(xn=At.value)==null?void 0:xn.contentRef)==null?void 0:En.popperContentRef,An=(Sn==null?void 0:Sn.relatedTarget)||document.activeElement;return Tn&&Tn.contains(An)};return onDeactivated(()=>Lt.value&&vn()),$e({popperRef:qe,contentRef:At,isFocusInsideContent:Cn,updatePopper:Dt,onOpen:_n,onClose:wn,hide:vn}),(Sn,xn)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:qe,role:Sn.role},{default:withCtx(()=>[createVNode$1(ElTooltipTrigger,{disabled:Sn.disabled,trigger:Sn.trigger,"trigger-keys":Sn.triggerKeys,"virtual-ref":Sn.virtualRef,"virtual-triggering":Sn.virtualTriggering},{default:withCtx(()=>[Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:At,"aria-label":Sn.ariaLabel,"boundaries-padding":Sn.boundariesPadding,content:Sn.content,disabled:Sn.disabled,effect:Sn.effect,enterable:Sn.enterable,"fallback-placements":Sn.fallbackPlacements,"hide-after":Sn.hideAfter,"gpu-acceleration":Sn.gpuAcceleration,offset:Sn.offset,persistent:Sn.persistent,"popper-class":Sn.popperClass,"popper-style":Sn.popperStyle,placement:Sn.placement,"popper-options":Sn.popperOptions,pure:Sn.pure,"raw-content":Sn.rawContent,"reference-el":Sn.referenceEl,"trigger-target-el":Sn.triggerTargetEl,"show-after":Sn.showAfter,strategy:Sn.strategy,teleported:Sn.teleported,transition:Sn.transition,"virtual-triggering":Sn.virtualTriggering,"z-index":Sn.zIndex,"append-to":Sn.appendTo},{default:withCtx(()=>[renderSlot(Sn.$slots,"content",{},()=>[Sn.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Sn.content},null,8,_hoisted_1$17)):(openBlock(),createElementBlock("span",_hoisted_2$J,toDisplayString(Sn.content),1))]),Sn.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Sn.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$2c,[["__file","tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:useTooltipContentProps.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String,...useAriaProps(["ariaLabel"])}),autocompleteEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),[INPUT_EVENT]:xe=>isString$4(xe),[CHANGE_EVENT]:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,select:xe=>isObject$8(xe)},_hoisted_1$16=["aria-expanded","aria-owns"],_hoisted_2$I={key:0},_hoisted_3$l=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1x=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$2b=defineComponent({...__default__$1x,props:autocompleteProps,emits:autocompleteEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs(),qe=useAttrs$1(),At=useFormDisabled(),Dt=useNamespace("autocomplete"),Lt=ref(),jt=ref(),hn=ref(),vn=ref();let bn=!1,_n=!1;const wn=ref([]),kn=ref(-1),Cn=ref(""),Sn=ref(!1),xn=ref(!1),En=ref(!1),Tn=useId(),An=computed(()=>qe.style),$n=computed(()=>(wn.value.length>0||En.value)&&Sn.value),Pn=computed(()=>!Fe.hideLoading&&En.value),Nn=computed(()=>Lt.value?Array.from(Lt.value.$el.querySelectorAll("input")):[]),Mn=()=>{$n.value&&(Cn.value=`${Lt.value.$el.offsetWidth}px`)},In=()=>{kn.value=-1},Rn=debounce(async Jn=>{if(xn.value)return;const Yn=qn=>{En.value=!1,!xn.value&&(isArray$6(qn)?(wn.value=qn,kn.value=Fe.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(En.value=!0,isArray$6(Fe.fetchSuggestions))Yn(Fe.fetchSuggestions);else{const qn=await Fe.fetchSuggestions(Jn,Yn);isArray$6(qn)&&Yn(qn)}},Fe.debounce),Bn=Jn=>{const Yn=!!Jn;if(Ie(INPUT_EVENT,Jn),Ie(UPDATE_MODEL_EVENT,Jn),xn.value=!1,Sn.value||(Sn.value=Yn),!Fe.triggerOnFocus&&!Jn){xn.value=!0,wn.value=[];return}Rn(Jn)},Vn=Jn=>{var Yn;At.value||(((Yn=Jn.target)==null?void 0:Yn.tagName)!=="INPUT"||Nn.value.includes(document.activeElement))&&(Sn.value=!0)},Ln=Jn=>{Ie(CHANGE_EVENT,Jn)},Dn=Jn=>{_n?_n=!1:(Sn.value=!0,Ie("focus",Jn),Fe.triggerOnFocus&&!bn&&Rn(String(Fe.modelValue)))},Hn=Jn=>{setTimeout(()=>{var Yn;if((Yn=hn.value)!=null&&Yn.isFocusInsideContent()){_n=!0;return}Sn.value&&Gn(),Ie("blur",Jn)})},Fn=()=>{Sn.value=!1,Ie(UPDATE_MODEL_EVENT,""),Ie("clear")},zn=async()=>{$n.value&&kn.value>=0&&kn.value{$n.value&&(Jn.preventDefault(),Jn.stopPropagation(),Gn())},Gn=()=>{Sn.value=!1},Wn=()=>{var Jn;(Jn=Lt.value)==null||Jn.focus()},Xn=()=>{var Jn;(Jn=Lt.value)==null||Jn.blur()},er=async Jn=>{Ie(INPUT_EVENT,Jn[Fe.valueKey]),Ie(UPDATE_MODEL_EVENT,Jn[Fe.valueKey]),Ie("select",Jn),wn.value=[],kn.value=-1},rr=Jn=>{if(!$n.value||En.value)return;if(Jn<0){kn.value=-1;return}Jn>=wn.value.length&&(Jn=wn.value.length-1);const Yn=jt.value.querySelector(`.${Dt.be("suggestion","wrap")}`),ar=Yn.querySelectorAll(`.${Dt.be("suggestion","list")} li`)[Jn],tr=Yn.scrollTop,{offsetTop:or,scrollHeight:sr}=ar;or+sr>tr+Yn.clientHeight&&(Yn.scrollTop+=sr),or{$n.value&&Gn()}),onMounted(()=>{Lt.value.ref.setAttribute("role","textbox"),Lt.value.ref.setAttribute("aria-autocomplete","list"),Lt.value.ref.setAttribute("aria-controls","id"),Lt.value.ref.setAttribute("aria-activedescendant",`${Tn.value}-item-${kn.value}`),bn=Lt.value.ref.hasAttribute("readonly")}),$e({highlightedIndex:kn,activated:Sn,loading:En,inputRef:Lt,popperRef:hn,suggestions:wn,handleSelect:er,handleKeyEnter:zn,focus:Wn,blur:Xn,close:Gn,highlight:rr}),(Jn,Yn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:hn,visible:unref($n),placement:Jn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(Dt).e("popper"),Jn.popperClass],teleported:Jn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(Dt).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:Mn,onHide:In},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:jt,class:normalizeClass([unref(Dt).b("suggestion"),unref(Dt).is("loading",unref(Pn))]),style:normalizeStyle$1({[Jn.fitInputWidth?"width":"minWidth"]:Cn.value,outline:"none"}),role:"region"},[createVNode$1(unref(ElScrollbar),{id:unref(Tn),tag:"ul","wrap-class":unref(Dt).be("suggestion","wrap"),"view-class":unref(Dt).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(Pn)?(openBlock(),createElementBlock("li",_hoisted_2$I,[renderSlot(Jn.$slots,"loading",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(wn.value,(qn,ar)=>(openBlock(),createElementBlock("li",{id:`${unref(Tn)}-item-${ar}`,key:ar,class:normalizeClass({highlighted:kn.value===ar}),role:"option","aria-selected":kn.value===ar,onClick:tr=>er(qn)},[renderSlot(Jn.$slots,"default",{item:qn},()=>[createTextVNode(toDisplayString(qn[Jn.valueKey]),1)])],10,_hoisted_3$l))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:vn,class:normalizeClass([unref(Dt).b(),Jn.$attrs.class]),style:normalizeStyle$1(unref(An)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref($n),"aria-owns":unref(Tn)},[createVNode$1(unref(ElInput),mergeProps({ref_key:"inputRef",ref:Lt},unref(Ue),{clearable:Jn.clearable,disabled:unref(At),name:Jn.name,"model-value":Jn.modelValue,"aria-label":Jn.ariaLabel,onInput:Bn,onChange:Ln,onFocus:Dn,onBlur:Hn,onClear:Fn,onKeydown:[Yn[0]||(Yn[0]=withKeys(withModifiers(qn=>rr(kn.value-1),["prevent"]),["up"])),Yn[1]||(Yn[1]=withKeys(withModifiers(qn=>rr(kn.value+1),["prevent"]),["down"])),withKeys(zn,["enter"]),withKeys(Gn,["tab"]),withKeys(jn,["esc"])],onMousedown:Vn}),createSlots({_:2},[Jn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Jn.$slots,"prepend")])}:void 0,Jn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Jn.$slots,"append")])}:void 0,Jn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Jn.$slots,"prefix")])}:void 0,Jn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Jn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,_hoisted_1$16)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$2b,[["__file","autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:xe=>isNumber$1(xe)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:xe=>xe instanceof Event},_hoisted_1$15=["src","alt","srcset"],__default__$1w=defineComponent({name:"ElAvatar"}),_sfc_main$2a=defineComponent({...__default__$1w,props:avatarProps,emits:avatarEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("avatar"),Ue=ref(!1),qe=computed(()=>{const{size:jt,icon:hn,shape:vn}=Ie,bn=[Fe.b()];return isString$4(jt)&&bn.push(Fe.m(jt)),hn&&bn.push(Fe.m("icon")),vn&&bn.push(Fe.m(vn)),bn}),At=computed(()=>{const{size:jt}=Ie;return isNumber$1(jt)?Fe.cssVarBlock({size:addUnit(jt)||""}):void 0}),Dt=computed(()=>({objectFit:Ie.fit}));watch(()=>Ie.src,()=>Ue.value=!1);function Lt(jt){Ue.value=!0,$e("error",jt)}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(At))},[(jt.src||jt.srcSet)&&!Ue.value?(openBlock(),createElementBlock("img",{key:0,src:jt.src,alt:jt.alt,srcset:jt.srcSet,style:normalizeStyle$1(unref(Dt)),onError:Lt},null,44,_hoisted_1$15)):jt.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(jt.icon)))]),_:1})):renderSlot(jt.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$2a,[["__file","avatar.vue"]]);const ElAvatar=withInstall(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:xe=>xe instanceof MouseEvent},useBackTop=(xe,$e,Ie)=>{const Fe=shallowRef(),Ue=shallowRef(),qe=ref(!1),At=()=>{Fe.value&&(qe.value=Fe.value.scrollTop>=xe.visibilityHeight)},Dt=jt=>{var hn;(hn=Fe.value)==null||hn.scrollTo({top:0,behavior:"smooth"}),$e("click",jt)},Lt=useThrottleFn(At,300,!0);return useEventListener(Ue,"scroll",Lt),onMounted(()=>{var jt;Ue.value=document,Fe.value=document.documentElement,xe.target&&(Fe.value=(jt=document.querySelector(xe.target))!=null?jt:void 0,Fe.value||throwError$1(Ie,`target does not exist: ${xe.target}`),Ue.value=Fe.value),At()}),{visible:qe,handleClick:Dt}},COMPONENT_NAME$h="ElBacktop",__default__$1v=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$29=defineComponent({...__default__$1v,props:backtopProps,emits:backtopEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("backtop"),{handleClick:Ue,visible:qe}=useBackTop(Ie,$e,COMPONENT_NAME$h),At=computed(()=>({right:`${Ie.right}px`,bottom:`${Ie.bottom}px`}));return(Dt,Lt)=>(openBlock(),createBlock(Transition,{name:`${unref(Fe).namespace.value}-fade-in`},{default:withCtx(()=>[unref(qe)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(At)),class:normalizeClass(unref(Fe).b()),onClick:Lt[0]||(Lt[0]=withModifiers((...jt)=>unref(Ue)&&unref(Ue)(...jt),["stop"]))},[renderSlot(Dt.$slots,"default",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Fe).e("icon"))},{default:withCtx(()=>[createVNode$1(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$1(_sfc_main$29,[["__file","backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,dotStyle:{type:definePropType([String,Object,Array])},badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},dotClass:{type:String},badgeClass:{type:String}}),_hoisted_1$14=["textContent"],__default__$1u=defineComponent({name:"ElBadge"}),_sfc_main$28=defineComponent({...__default__$1u,props:badgeProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("badge"),Ue=computed(()=>Ie.isDot?"":isNumber$1(Ie.value)&&isNumber$1(Ie.max)?Ie.max{var At,Dt,Lt,jt,hn,vn;return[{backgroundColor:Ie.color,marginRight:addUnit(-((Dt=(At=Ie.offset)==null?void 0:At[0])!=null?Dt:0)),marginTop:addUnit((jt=(Lt=Ie.offset)==null?void 0:Lt[1])!=null?jt:0)},(hn=Ie.dotStyle)!=null?hn:{},(vn=Ie.badgeStyle)!=null?vn:{}]});return useDeprecated({from:"dot-style",replacement:"badge-style",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotStyle)),useDeprecated({from:"dot-class",replacement:"badge-class",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotClass)),$e({content:Ue}),(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[renderSlot(At.$slots,"default"),createVNode$1(Transition,{name:`${unref(Fe).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(Fe).e("content"),unref(Fe).em("content",At.type),unref(Fe).is("fixed",!!At.$slots.default),unref(Fe).is("dot",At.isDot),At.dotClass,At.badgeClass]),style:normalizeStyle$1(unref(qe)),textContent:toDisplayString(unref(Ue))},null,14,_hoisted_1$14),[[vShow,!At.hidden&&(unref(Ue)||At.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$28,[["__file","badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),_hoisted_1$13=["aria-label"],__default__$1t=defineComponent({name:"ElBreadcrumb"}),_sfc_main$27=defineComponent({...__default__$1t,props:breadcrumbProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("breadcrumb"),Ue=ref();return provide(breadcrumbKey,$e),onMounted(()=>{const qe=Ue.value.querySelectorAll(`.${Fe.e("item")}`);qe.length&&qe[qe.length-1].setAttribute("aria-current","page")}),(qe,At)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:Ue,class:normalizeClass(unref(Fe).b()),"aria-label":unref(Ie)("el.breadcrumb.label"),role:"navigation"},[renderSlot(qe.$slots,"default")],10,_hoisted_1$13))}});var Breadcrumb$1=_export_sfc$1(_sfc_main$27,[["__file","breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1s=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$26=defineComponent({...__default__$1s,props:breadcrumbItemProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=inject(breadcrumbKey,void 0),Ue=useNamespace("breadcrumb"),qe=Ie.appContext.config.globalProperties.$router,At=ref(),Dt=()=>{!$e.to||!qe||($e.replace?qe.replace($e.to):qe.push($e.to))};return(Lt,jt)=>{var hn,vn;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:At,class:normalizeClass([unref(Ue).e("inner"),unref(Ue).is("link",!!Lt.to)]),role:"link",onClick:Dt},[renderSlot(Lt.$slots,"default")],2),(hn=unref(Fe))!=null&&hn.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ue).e("separator")),role:"presentation"},toDisplayString((vn=unref(Fe))==null?void 0:vn.separator),3))],2)}}});var BreadcrumbItem=_export_sfc$1(_sfc_main$26,[["__file","breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb$1,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(xe,$e)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>xe.type==="text"));const Ie=inject(buttonGroupContextKey,void 0),Fe=useGlobalConfig("button"),{form:Ue}=useFormItem(),qe=useFormSize(computed(()=>Ie==null?void 0:Ie.size)),At=useFormDisabled(),Dt=ref(),Lt=useSlots(),jt=computed(()=>xe.type||(Ie==null?void 0:Ie.type)||""),hn=computed(()=>{var wn,kn,Cn;return(Cn=(kn=xe.autoInsertSpace)!=null?kn:(wn=Fe.value)==null?void 0:wn.autoInsertSpace)!=null?Cn:!1}),vn=computed(()=>xe.tag==="button"?{ariaDisabled:At.value||xe.loading,disabled:At.value||xe.loading,autofocus:xe.autofocus,type:xe.nativeType}:{}),bn=computed(()=>{var wn;const kn=(wn=Lt.default)==null?void 0:wn.call(Lt);if(hn.value&&(kn==null?void 0:kn.length)===1){const Cn=kn[0];if((Cn==null?void 0:Cn.type)===Text$2){const Sn=Cn.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(Sn.trim())}}return!1});return{_disabled:At,_size:qe,_type:jt,_ref:Dt,_props:vn,shouldAddSpace:bn,handleClick:wn=>{xe.nativeType==="reset"&&(Ue==null||Ue.resetFields()),$e("click",wn)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:xe=>xe instanceof MouseEvent};function bound01$1(xe,$e){isOnePointZero$1(xe)&&(xe="100%");var Ie=isPercentage$1(xe);return xe=$e===360?xe:Math.min($e,Math.max(0,parseFloat(xe))),Ie&&(xe=parseInt(String(xe*$e),10)/100),Math.abs(xe-$e)<1e-6?1:($e===360?xe=(xe<0?xe%$e+$e:xe%$e)/parseFloat(String($e)):xe=xe%$e/parseFloat(String($e)),xe)}function clamp01(xe){return Math.min(1,Math.max(0,xe))}function isOnePointZero$1(xe){return typeof xe=="string"&&xe.indexOf(".")!==-1&&parseFloat(xe)===1}function isPercentage$1(xe){return typeof xe=="string"&&xe.indexOf("%")!==-1}function boundAlpha(xe){return xe=parseFloat(xe),(isNaN(xe)||xe<0||xe>1)&&(xe=1),xe}function convertToPercentage(xe){return xe<=1?"".concat(Number(xe)*100,"%"):xe}function pad2(xe){return xe.length===1?"0"+xe:String(xe)}function rgbToRgb(xe,$e,Ie){return{r:bound01$1(xe,255)*255,g:bound01$1($e,255)*255,b:bound01$1(Ie,255)*255}}function rgbToHsl(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=0,Dt=(Fe+Ue)/2;if(Fe===Ue)At=0,qe=0;else{var Lt=Fe-Ue;switch(At=Dt>.5?Lt/(2-Fe-Ue):Lt/(Fe+Ue),Fe){case xe:qe=($e-Ie)/Lt+($e1&&(Ie-=1),Ie<1/6?xe+($e-xe)*(6*Ie):Ie<1/2?$e:Ie<2/3?xe+($e-xe)*(2/3-Ie)*6:xe}function hslToRgb(xe,$e,Ie){var Fe,Ue,qe;if(xe=bound01$1(xe,360),$e=bound01$1($e,100),Ie=bound01$1(Ie,100),$e===0)Ue=Ie,qe=Ie,Fe=Ie;else{var At=Ie<.5?Ie*(1+$e):Ie+$e-Ie*$e,Dt=2*Ie-At;Fe=hue2rgb(Dt,At,xe+1/3),Ue=hue2rgb(Dt,At,xe),qe=hue2rgb(Dt,At,xe-1/3)}return{r:Fe*255,g:Ue*255,b:qe*255}}function rgbToHsv(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:qe=($e-Ie)/Dt+($e>16,g:(xe&65280)>>8,b:xe&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(xe){var $e={r:0,g:0,b:0},Ie=1,Fe=null,Ue=null,qe=null,At=!1,Dt=!1;return typeof xe=="string"&&(xe=stringInputToObject(xe)),typeof xe=="object"&&(isValidCSSUnit(xe.r)&&isValidCSSUnit(xe.g)&&isValidCSSUnit(xe.b)?($e=rgbToRgb(xe.r,xe.g,xe.b),At=!0,Dt=String(xe.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.v)?(Fe=convertToPercentage(xe.s),Ue=convertToPercentage(xe.v),$e=hsvToRgb(xe.h,Fe,Ue),At=!0,Dt="hsv"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.l)&&(Fe=convertToPercentage(xe.s),qe=convertToPercentage(xe.l),$e=hslToRgb(xe.h,Fe,qe),At=!0,Dt="hsl"),Object.prototype.hasOwnProperty.call(xe,"a")&&(Ie=xe.a)),Ie=boundAlpha(Ie),{ok:At,format:xe.format||Dt,r:Math.min(255,Math.max($e.r,0)),g:Math.min(255,Math.max($e.g,0)),b:Math.min(255,Math.max($e.b,0)),a:Ie}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(xe){if(xe=xe.trim().toLowerCase(),xe.length===0)return!1;var $e=!1;if(names[xe])xe=names[xe],$e=!0;else if(xe==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Ie=matchers.rgb.exec(xe);return Ie?{r:Ie[1],g:Ie[2],b:Ie[3]}:(Ie=matchers.rgba.exec(xe),Ie?{r:Ie[1],g:Ie[2],b:Ie[3],a:Ie[4]}:(Ie=matchers.hsl.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3]}:(Ie=matchers.hsla.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3],a:Ie[4]}:(Ie=matchers.hsv.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3]}:(Ie=matchers.hsva.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3],a:Ie[4]}:(Ie=matchers.hex8.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),a:convertHexToDecimal(Ie[4]),format:$e?"name":"hex8"}:(Ie=matchers.hex6.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),format:$e?"name":"hex"}:(Ie=matchers.hex4.exec(xe),Ie?{r:parseIntFromHex(Ie[1]+Ie[1]),g:parseIntFromHex(Ie[2]+Ie[2]),b:parseIntFromHex(Ie[3]+Ie[3]),a:convertHexToDecimal(Ie[4]+Ie[4]),format:$e?"name":"hex8"}:(Ie=matchers.hex3.exec(xe),Ie?{r:parseIntFromHex(Ie[1]+Ie[1]),g:parseIntFromHex(Ie[2]+Ie[2]),b:parseIntFromHex(Ie[3]+Ie[3]),format:$e?"name":"hex"}:!1)))))))))}function isValidCSSUnit(xe){return!!matchers.CSS_UNIT.exec(String(xe))}var TinyColor=function(){function xe($e,Ie){$e===void 0&&($e=""),Ie===void 0&&(Ie={});var Fe;if($e instanceof xe)return $e;typeof $e=="number"&&($e=numberInputToObject($e)),this.originalInput=$e;var Ue=inputToRGB($e);this.originalInput=$e,this.r=Ue.r,this.g=Ue.g,this.b=Ue.b,this.a=Ue.a,this.roundA=Math.round(100*this.a)/100,this.format=(Fe=Ie.format)!==null&&Fe!==void 0?Fe:Ue.format,this.gradientType=Ie.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=Ue.ok}return xe.prototype.isDark=function(){return this.getBrightness()<128},xe.prototype.isLight=function(){return!this.isDark()},xe.prototype.getBrightness=function(){var $e=this.toRgb();return($e.r*299+$e.g*587+$e.b*114)/1e3},xe.prototype.getLuminance=function(){var $e=this.toRgb(),Ie,Fe,Ue,qe=$e.r/255,At=$e.g/255,Dt=$e.b/255;return qe<=.03928?Ie=qe/12.92:Ie=Math.pow((qe+.055)/1.055,2.4),At<=.03928?Fe=At/12.92:Fe=Math.pow((At+.055)/1.055,2.4),Dt<=.03928?Ue=Dt/12.92:Ue=Math.pow((Dt+.055)/1.055,2.4),.2126*Ie+.7152*Fe+.0722*Ue},xe.prototype.getAlpha=function(){return this.a},xe.prototype.setAlpha=function($e){return this.a=boundAlpha($e),this.roundA=Math.round(100*this.a)/100,this},xe.prototype.isMonochrome=function(){var $e=this.toHsl().s;return $e===0},xe.prototype.toHsv=function(){var $e=rgbToHsv(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,v:$e.v,a:this.a}},xe.prototype.toHsvString=function(){var $e=rgbToHsv(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.v*100);return this.a===1?"hsv(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsva(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHsl=function(){var $e=rgbToHsl(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,l:$e.l,a:this.a}},xe.prototype.toHslString=function(){var $e=rgbToHsl(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.l*100);return this.a===1?"hsl(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsla(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHex=function($e){return $e===void 0&&($e=!1),rgbToHex(this.r,this.g,this.b,$e)},xe.prototype.toHexString=function($e){return $e===void 0&&($e=!1),"#"+this.toHex($e)},xe.prototype.toHex8=function($e){return $e===void 0&&($e=!1),rgbaToHex(this.r,this.g,this.b,this.a,$e)},xe.prototype.toHex8String=function($e){return $e===void 0&&($e=!1),"#"+this.toHex8($e)},xe.prototype.toHexShortString=function($e){return $e===void 0&&($e=!1),this.a===1?this.toHexString($e):this.toHex8String($e)},xe.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},xe.prototype.toRgbString=function(){var $e=Math.round(this.r),Ie=Math.round(this.g),Fe=Math.round(this.b);return this.a===1?"rgb(".concat($e,", ").concat(Ie,", ").concat(Fe,")"):"rgba(".concat($e,", ").concat(Ie,", ").concat(Fe,", ").concat(this.roundA,")")},xe.prototype.toPercentageRgb=function(){var $e=function(Ie){return"".concat(Math.round(bound01$1(Ie,255)*100),"%")};return{r:$e(this.r),g:$e(this.g),b:$e(this.b),a:this.a}},xe.prototype.toPercentageRgbString=function(){var $e=function(Ie){return Math.round(bound01$1(Ie,255)*100)};return this.a===1?"rgb(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%)"):"rgba(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%, ").concat(this.roundA,")")},xe.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var $e="#"+rgbToHex(this.r,this.g,this.b,!1),Ie=0,Fe=Object.entries(names);Ie=0,qe=!Ie&&Ue&&($e.startsWith("hex")||$e==="name");return qe?$e==="name"&&this.a===0?this.toName():this.toRgbString():($e==="rgb"&&(Fe=this.toRgbString()),$e==="prgb"&&(Fe=this.toPercentageRgbString()),($e==="hex"||$e==="hex6")&&(Fe=this.toHexString()),$e==="hex3"&&(Fe=this.toHexString(!0)),$e==="hex4"&&(Fe=this.toHex8String(!0)),$e==="hex8"&&(Fe=this.toHex8String()),$e==="name"&&(Fe=this.toName()),$e==="hsl"&&(Fe=this.toHslString()),$e==="hsv"&&(Fe=this.toHsvString()),Fe||this.toHexString())},xe.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},xe.prototype.clone=function(){return new xe(this.toString())},xe.prototype.lighten=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l+=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.brighten=function($e){$e===void 0&&($e=10);var Ie=this.toRgb();return Ie.r=Math.max(0,Math.min(255,Ie.r-Math.round(255*-($e/100)))),Ie.g=Math.max(0,Math.min(255,Ie.g-Math.round(255*-($e/100)))),Ie.b=Math.max(0,Math.min(255,Ie.b-Math.round(255*-($e/100)))),new xe(Ie)},xe.prototype.darken=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l-=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.tint=function($e){return $e===void 0&&($e=10),this.mix("white",$e)},xe.prototype.shade=function($e){return $e===void 0&&($e=10),this.mix("black",$e)},xe.prototype.desaturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s-=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.saturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s+=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.greyscale=function(){return this.desaturate(100)},xe.prototype.spin=function($e){var Ie=this.toHsl(),Fe=(Ie.h+$e)%360;return Ie.h=Fe<0?360+Fe:Fe,new xe(Ie)},xe.prototype.mix=function($e,Ie){Ie===void 0&&(Ie=50);var Fe=this.toRgb(),Ue=new xe($e).toRgb(),qe=Ie/100,At={r:(Ue.r-Fe.r)*qe+Fe.r,g:(Ue.g-Fe.g)*qe+Fe.g,b:(Ue.b-Fe.b)*qe+Fe.b,a:(Ue.a-Fe.a)*qe+Fe.a};return new xe(At)},xe.prototype.analogous=function($e,Ie){$e===void 0&&($e=6),Ie===void 0&&(Ie=30);var Fe=this.toHsl(),Ue=360/Ie,qe=[this];for(Fe.h=(Fe.h-(Ue*$e>>1)+720)%360;--$e;)Fe.h=(Fe.h+Ue)%360,qe.push(new xe(Fe));return qe},xe.prototype.complement=function(){var $e=this.toHsl();return $e.h=($e.h+180)%360,new xe($e)},xe.prototype.monochromatic=function($e){$e===void 0&&($e=6);for(var Ie=this.toHsv(),Fe=Ie.h,Ue=Ie.s,qe=Ie.v,At=[],Dt=1/$e;$e--;)At.push(new xe({h:Fe,s:Ue,v:qe})),qe=(qe+Dt)%1;return At},xe.prototype.splitcomplement=function(){var $e=this.toHsl(),Ie=$e.h;return[this,new xe({h:(Ie+72)%360,s:$e.s,l:$e.l}),new xe({h:(Ie+216)%360,s:$e.s,l:$e.l})]},xe.prototype.onBackground=function($e){var Ie=this.toRgb(),Fe=new xe($e).toRgb(),Ue=Ie.a+Fe.a*(1-Ie.a);return new xe({r:(Ie.r*Ie.a+Fe.r*Fe.a*(1-Ie.a))/Ue,g:(Ie.g*Ie.a+Fe.g*Fe.a*(1-Ie.a))/Ue,b:(Ie.b*Ie.a+Fe.b*Fe.a*(1-Ie.a))/Ue,a:Ue})},xe.prototype.triad=function(){return this.polyad(3)},xe.prototype.tetrad=function(){return this.polyad(4)},xe.prototype.polyad=function($e){for(var Ie=this.toHsl(),Fe=Ie.h,Ue=[this],qe=360/$e,At=1;At<$e;At++)Ue.push(new xe({h:(Fe+At*qe)%360,s:Ie.s,l:Ie.l}));return Ue},xe.prototype.equals=function($e){return this.toRgbString()===new xe($e).toRgbString()},xe}();function darken(xe,$e=20){return xe.mix("#141414",$e).toString()}function useButtonCustomStyle(xe){const $e=useFormDisabled(),Ie=useNamespace("button");return computed(()=>{let Fe={};const Ue=xe.color;if(Ue){const qe=new TinyColor(Ue),At=xe.dark?qe.tint(20).toString():darken(qe,20);if(xe.plain)Fe=Ie.cssVarBlock({"bg-color":xe.dark?darken(qe,90):qe.tint(90).toString(),"text-color":Ue,"border-color":xe.dark?darken(qe,50):qe.tint(50).toString(),"hover-text-color":`var(${Ie.cssVarName("color-white")})`,"hover-bg-color":Ue,"hover-border-color":Ue,"active-bg-color":At,"active-text-color":`var(${Ie.cssVarName("color-white")})`,"active-border-color":At}),$e.value&&(Fe[Ie.cssVarBlockName("disabled-bg-color")]=xe.dark?darken(qe,90):qe.tint(90).toString(),Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?darken(qe,50):qe.tint(50).toString(),Fe[Ie.cssVarBlockName("disabled-border-color")]=xe.dark?darken(qe,80):qe.tint(80).toString());else{const Dt=xe.dark?darken(qe,30):qe.tint(30).toString(),Lt=qe.isDark()?`var(${Ie.cssVarName("color-white")})`:`var(${Ie.cssVarName("color-black")})`;if(Fe=Ie.cssVarBlock({"bg-color":Ue,"text-color":Lt,"border-color":Ue,"hover-bg-color":Dt,"hover-text-color":Lt,"hover-border-color":Dt,"active-bg-color":At,"active-border-color":At}),$e.value){const jt=xe.dark?darken(qe,50):qe.tint(50).toString();Fe[Ie.cssVarBlockName("disabled-bg-color")]=jt,Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?"rgba(255, 255, 255, 0.5)":`var(${Ie.cssVarName("color-white")})`,Fe[Ie.cssVarBlockName("disabled-border-color")]=jt}}}return Fe})}const __default__$1r=defineComponent({name:"ElButton"}),_sfc_main$25=defineComponent({...__default__$1r,props:buttonProps,emits:buttonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useButtonCustomStyle(Fe),qe=useNamespace("button"),{_ref:At,_size:Dt,_type:Lt,_disabled:jt,_props:hn,shouldAddSpace:vn,handleClick:bn}=useButton(Fe,Ie),_n=computed(()=>[qe.b(),qe.m(Lt.value),qe.m(Dt.value),qe.is("disabled",jt.value),qe.is("loading",Fe.loading),qe.is("plain",Fe.plain),qe.is("round",Fe.round),qe.is("circle",Fe.circle),qe.is("text",Fe.text),qe.is("link",Fe.link),qe.is("has-bg",Fe.bg)]);return $e({ref:At,size:Dt,type:Lt,disabled:jt,shouldAddSpace:vn}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(wn.tag),mergeProps({ref_key:"_ref",ref:At},unref(hn),{class:unref(_n),style:unref(Ue),onClick:unref(bn)}),{default:withCtx(()=>[wn.loading?(openBlock(),createElementBlock(Fragment,{key:0},[wn.$slots.loading?renderSlot(wn.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.loadingIcon)))]),_:1},8,["class"]))],64)):wn.icon||wn.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[wn.icon?(openBlock(),createBlock(resolveDynamicComponent(wn.icon),{key:0})):renderSlot(wn.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),wn.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(qe).em("text","expand")]:unref(vn)})},[renderSlot(wn.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$25,[["__file","button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1q=defineComponent({name:"ElButtonGroup"}),_sfc_main$24=defineComponent({...__default__$1q,props:buttonGroupProps,setup(xe){const $e=xe;provide(buttonGroupContextKey,reactive({size:toRef($e,"size"),type:toRef($e,"type")}));const Ie=useNamespace("button");return(Fe,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(Ie).b("group")}`)},[renderSlot(Fe.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$24,[["__file","button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var dayjs_min={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie=1e3,Fe=6e4,Ue=36e5,qe="millisecond",At="second",Dt="minute",Lt="hour",jt="day",hn="week",vn="month",bn="quarter",_n="year",wn="date",kn="Invalid Date",Cn=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Sn=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,xn={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Vn){var Ln=["th","st","nd","rd"],Dn=Vn%100;return"["+Vn+(Ln[(Dn-20)%10]||Ln[Dn]||Ln[0])+"]"}},En=function(Vn,Ln,Dn){var Hn=String(Vn);return!Hn||Hn.length>=Ln?Vn:""+Array(Ln+1-Hn.length).join(Dn)+Vn},Tn={s:En,z:function(Vn){var Ln=-Vn.utcOffset(),Dn=Math.abs(Ln),Hn=Math.floor(Dn/60),Fn=Dn%60;return(Ln<=0?"+":"-")+En(Hn,2,"0")+":"+En(Fn,2,"0")},m:function Vn(Ln,Dn){if(Ln.date()1)return Vn(jn[0])}else{var Gn=Ln.name;$n[Gn]=Ln,Fn=Gn}return!Hn&&Fn&&(An=Fn),Fn||!Hn&&An},In=function(Vn,Ln){if(Nn(Vn))return Vn.clone();var Dn=typeof Ln=="object"?Ln:{};return Dn.date=Vn,Dn.args=arguments,new Rn(Dn)},On=Tn;On.l=Mn,On.i=Nn,On.w=function(Vn,Ln){return In(Vn,{locale:Ln.$L,utc:Ln.$u,x:Ln.$x,$offset:Ln.$offset})};var Rn=function(){function Vn(Dn){this.$L=Mn(Dn.locale,null,!0),this.parse(Dn),this.$x=this.$x||Dn.x||{},this[Pn]=!0}var Ln=Vn.prototype;return Ln.parse=function(Dn){this.$d=function(Hn){var Fn=Hn.date,zn=Hn.utc;if(Fn===null)return new Date(NaN);if(On.u(Fn))return new Date;if(Fn instanceof Date)return new Date(Fn);if(typeof Fn=="string"&&!/Z$/i.test(Fn)){var jn=Fn.match(Cn);if(jn){var Gn=jn[2]-1||0,Wn=(jn[7]||"0").substring(0,3);return zn?new Date(Date.UTC(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)):new Date(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)}}return new Date(Fn)}(Dn),this.init()},Ln.init=function(){var Dn=this.$d;this.$y=Dn.getFullYear(),this.$M=Dn.getMonth(),this.$D=Dn.getDate(),this.$W=Dn.getDay(),this.$H=Dn.getHours(),this.$m=Dn.getMinutes(),this.$s=Dn.getSeconds(),this.$ms=Dn.getMilliseconds()},Ln.$utils=function(){return On},Ln.isValid=function(){return this.$d.toString()!==kn},Ln.isSame=function(Dn,Hn){var Fn=In(Dn);return this.startOf(Hn)<=Fn&&Fn<=this.endOf(Hn)},Ln.isAfter=function(Dn,Hn){return In(Dn)68?1900:2e3)},jt=function(kn){return function(Cn){this[kn]=+Cn}},hn=[/[+-]\d\d:?(\d\d)?|Z/,function(kn){(this.zone||(this.zone={})).offset=function(Cn){if(!Cn||Cn==="Z")return 0;var Sn=Cn.match(/([+-]|\d\d)/g),xn=60*Sn[1]+(+Sn[2]||0);return xn===0?0:Sn[0]==="+"?-xn:xn}(kn)}],vn=function(kn){var Cn=Dt[kn];return Cn&&(Cn.indexOf?Cn:Cn.s.concat(Cn.f))},bn=function(kn,Cn){var Sn,xn=Dt.meridiem;if(xn){for(var En=1;En<=24;En+=1)if(kn.indexOf(xn(En,0,Cn))>-1){Sn=En>12;break}}else Sn=kn===(Cn?"pm":"PM");return Sn},_n={A:[At,function(kn){this.afternoon=bn(kn,!1)}],a:[At,function(kn){this.afternoon=bn(kn,!0)}],S:[/\d/,function(kn){this.milliseconds=100*+kn}],SS:[Ue,function(kn){this.milliseconds=10*+kn}],SSS:[/\d{3}/,function(kn){this.milliseconds=+kn}],s:[qe,jt("seconds")],ss:[qe,jt("seconds")],m:[qe,jt("minutes")],mm:[qe,jt("minutes")],H:[qe,jt("hours")],h:[qe,jt("hours")],HH:[qe,jt("hours")],hh:[qe,jt("hours")],D:[qe,jt("day")],DD:[Ue,jt("day")],Do:[At,function(kn){var Cn=Dt.ordinal,Sn=kn.match(/\d+/);if(this.day=Sn[0],Cn)for(var xn=1;xn<=31;xn+=1)Cn(xn).replace(/\[|\]/g,"")===kn&&(this.day=xn)}],M:[qe,jt("month")],MM:[Ue,jt("month")],MMM:[At,function(kn){var Cn=vn("months"),Sn=(vn("monthsShort")||Cn.map(function(xn){return xn.slice(0,3)})).indexOf(kn)+1;if(Sn<1)throw new Error;this.month=Sn%12||Sn}],MMMM:[At,function(kn){var Cn=vn("months").indexOf(kn)+1;if(Cn<1)throw new Error;this.month=Cn%12||Cn}],Y:[/[+-]?\d+/,jt("year")],YY:[Ue,function(kn){this.year=Lt(kn)}],YYYY:[/\d{4}/,jt("year")],Z:hn,ZZ:hn};function wn(kn){var Cn,Sn;Cn=kn,Sn=Dt&&Dt.formats;for(var xn=(kn=Cn.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Mn,In,On){var Rn=On&&On.toUpperCase();return In||Sn[On]||Ie[On]||Sn[Rn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Bn,Vn,Ln){return Vn||Ln.slice(1)})})).match(Fe),En=xn.length,Tn=0;Tn-1)return new Date((Hn==="X"?1e3:1)*Dn);var zn=wn(Hn)(Dn),jn=zn.year,Gn=zn.month,Wn=zn.day,Xn=zn.hours,er=zn.minutes,rr=zn.seconds,Jn=zn.milliseconds,Yn=zn.zone,qn=new Date,ar=Wn||(jn||Gn?1:qn.getDate()),tr=jn||qn.getFullYear(),or=0;jn&&!Gn||(or=Gn>0?Gn-1:qn.getMonth());var sr=Xn||0,Kn=er||0,Zn=rr||0,nr=Jn||0;return Yn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr+60*Yn.offset*1e3)):Fn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr)):new Date(tr,or,ar,sr,Kn,Zn,nr)}catch{return new Date("")}}(An,Nn,$n),this.init(),Rn&&Rn!==!0&&(this.$L=this.locale(Rn).$L),On&&An!=this.format(Nn)&&(this.$d=new Date("")),Dt={}}else if(Nn instanceof Array)for(var Bn=Nn.length,Vn=1;Vn<=Bn;Vn+=1){Pn[1]=Nn[Vn-1];var Ln=Sn.apply(this,Pn);if(Ln.isValid()){this.$d=Ln.$d,this.$L=Ln.$L,this.init();break}Vn===Bn&&(this.$d=new Date(""))}else En.call(this,Tn)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$2=["hours","minutes","seconds"],DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},buildTimeList=(xe,$e)=>[xe>0?xe-1:void 0,xe,xe<$e?xe+1:void 0],rangeArr=xe=>Array.from(Array.from({length:xe}).keys()),extractDateFormat=xe=>xe.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=xe=>xe.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(xe,$e){const Ie=isDate$1(xe),Fe=isDate$1($e);return Ie&&Fe?xe.getTime()===$e.getTime():!Ie&&!Fe?xe===$e:!1},valueEquals=function(xe,$e){const Ie=isArray$6(xe),Fe=isArray$6($e);return Ie&&Fe?xe.length!==$e.length?!1:xe.every((Ue,qe)=>dateEquals(Ue,$e[qe])):!Ie&&!Fe?dateEquals(xe,$e):!1},parseDate$1=function(xe,$e,Ie){const Fe=isEmpty($e)||$e==="x"?dayjs(xe).locale(Ie):dayjs(xe,$e).locale(Ie);return Fe.isValid()?Fe:void 0},formatter=function(xe,$e,Ie){return isEmpty($e)?xe:$e==="x"?+xe:dayjs(xe).locale(Ie).format($e)},makeList=(xe,$e)=>{var Ie;const Fe=[],Ue=$e==null?void 0:$e();for(let qe=0;qe({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),_hoisted_1$12=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$H=["id","name","placeholder","value","disabled","readonly"],__default__$1p=defineComponent({name:"Picker"}),_sfc_main$23=defineComponent({...__default__$1p,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),{lang:qe}=useLocale(),At=useNamespace("date"),Dt=useNamespace("input"),Lt=useNamespace("range"),{form:jt,formItem:hn}=useFormItem(),vn=inject("ElPopperOptions",{}),{valueOnClear:bn}=useEmptyValues(Fe,null),_n=ref(),wn=ref(),kn=ref(!1),Cn=ref(!1),Sn=ref(null);let xn=!1,En=!1;const Tn=computed(()=>[At.b("editor"),At.bm("editor",Fe.type),Dt.e("wrapper"),At.is("disabled",Xn.value),At.is("active",kn.value),Lt.b("editor"),Cr?Lt.bm("editor",Cr.value):"",Ue.class]),An=computed(()=>[Dt.e("icon"),Lt.e("close-icon"),or.value?"":Lt.e("close-icon--hidden")]);watch(kn,mr=>{mr?nextTick(()=>{mr&&(Sn.value=Fe.modelValue)}):(br.value=null,nextTick(()=>{$n(Fe.modelValue)}))});const $n=(mr,Lr)=>{(Lr||!valueEquals(mr,Sn.value))&&(Ie("change",mr),Fe.validateEvent&&(hn==null||hn.validate("change").catch(zr=>void 0)))},Pn=mr=>{if(!valueEquals(Fe.modelValue,mr)){let Lr;isArray$6(mr)?Lr=mr.map(zr=>formatter(zr,Fe.valueFormat,qe.value)):mr&&(Lr=formatter(mr,Fe.valueFormat,qe.value)),Ie("update:modelValue",mr&&Lr,qe.value)}},Nn=mr=>{Ie("keydown",mr)},Mn=computed(()=>{if(wn.value){const mr=kr.value?wn.value:wn.value.$el;return Array.from(mr.querySelectorAll("input"))}return[]}),In=(mr,Lr,zr)=>{const Vr=Mn.value;Vr.length&&(!zr||zr==="min"?(Vr[0].setSelectionRange(mr,Lr),Vr[0].focus()):zr==="max"&&(Vr[1].setSelectionRange(mr,Lr),Vr[1].focus()))},On=()=>{zn(!0,!0),nextTick(()=>{En=!1})},Rn=(mr="",Lr=!1)=>{Lr||(En=!0),kn.value=Lr;let zr;isArray$6(mr)?zr=mr.map(Vr=>Vr.toDate()):zr=mr&&mr.toDate(),br.value=null,Pn(zr)},Bn=()=>{Cn.value=!0},Vn=()=>{Ie("visible-change",!0)},Ln=mr=>{(mr==null?void 0:mr.key)===EVENT_CODE.esc&&zn(!0,!0)},Dn=()=>{Cn.value=!1,kn.value=!1,En=!1,Ie("visible-change",!1)},Hn=()=>{kn.value=!0},Fn=()=>{kn.value=!1},zn=(mr=!0,Lr=!1)=>{En=Lr;const[zr,Vr]=unref(Mn);let Kr=zr;!mr&&kr.value&&(Kr=Vr),Kr&&Kr.focus()},jn=mr=>{Fe.readonly||Xn.value||kn.value||En||(kn.value=!0,Ie("focus",mr))};let Gn;const Wn=mr=>{const Lr=async()=>{setTimeout(()=>{var zr;Gn===Lr&&(!((zr=_n.value)!=null&&zr.isFocusInsideContent()&&!xn)&&Mn.value.filter(Vr=>Vr.contains(document.activeElement)).length===0&&(_r(),kn.value=!1,Ie("blur",mr),Fe.validateEvent&&(hn==null||hn.validate("blur").catch(Vr=>void 0))),xn=!1)},0)};Gn=Lr,Lr()},Xn=computed(()=>Fe.disabled||(jt==null?void 0:jt.disabled)),er=computed(()=>{let mr;if(Kn.value?Tr.value.getDefaultValue&&(mr=Tr.value.getDefaultValue()):isArray$6(Fe.modelValue)?mr=Fe.modelValue.map(Lr=>parseDate$1(Lr,Fe.valueFormat,qe.value)):mr=parseDate$1(Fe.modelValue,Fe.valueFormat,qe.value),Tr.value.getRangeAvailableTime){const Lr=Tr.value.getRangeAvailableTime(mr);isEqual$1(Lr,mr)||(mr=Lr,Pn(isArray$6(mr)?mr.map(zr=>zr.toDate()):mr.toDate()))}return isArray$6(mr)&&mr.some(Lr=>!Lr)&&(mr=[]),mr}),rr=computed(()=>{if(!Tr.value.panelReady)return"";const mr=gr(er.value);return isArray$6(br.value)?[br.value[0]||mr&&mr[0]||"",br.value[1]||mr&&mr[1]||""]:br.value!==null?br.value:!Yn.value&&Kn.value||!kn.value&&Kn.value?"":mr?qn.value||ar.value?mr.join(", "):mr:""}),Jn=computed(()=>Fe.type.includes("time")),Yn=computed(()=>Fe.type.startsWith("time")),qn=computed(()=>Fe.type==="dates"),ar=computed(()=>Fe.type==="years"),tr=computed(()=>Fe.prefixIcon||(Jn.value?clock_default:calendar_default)),or=ref(!1),sr=mr=>{Fe.readonly||Xn.value||or.value&&(mr.stopPropagation(),On(),Pn(bn.value),$n(bn.value,!0),or.value=!1,kn.value=!1,Tr.value.handleClear&&Tr.value.handleClear())},Kn=computed(()=>{const{modelValue:mr}=Fe;return!mr||isArray$6(mr)&&!mr.filter(Boolean).length}),Zn=async mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},nr=()=>{Fe.readonly||Xn.value||!Kn.value&&Fe.clearable&&(or.value=!0)},lr=()=>{or.value=!1},ir=mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.touches[0].target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},kr=computed(()=>Fe.type.includes("range")),Cr=useFormSize(),Er=computed(()=>{var mr,Lr;return(Lr=(mr=unref(_n))==null?void 0:mr.popperRef)==null?void 0:Lr.contentRef}),dr=computed(()=>{var mr;return unref(kr)?unref(wn):(mr=unref(wn))==null?void 0:mr.$el});onClickOutside(dr,mr=>{const Lr=unref(Er),zr=unref(dr);Lr&&(mr.target===Lr||mr.composedPath().includes(Lr))||mr.target===zr||mr.composedPath().includes(zr)||(kn.value=!1)});const br=ref(null),_r=()=>{if(br.value){const mr=Pr(rr.value);mr&&xr(mr)&&(Pn(isArray$6(mr)?mr.map(Lr=>Lr.toDate()):mr.toDate()),br.value=null)}br.value===""&&(Pn(bn.value),$n(bn.value),br.value=null)},Pr=mr=>mr?Tr.value.parseUserInput(mr):null,gr=mr=>mr?Tr.value.formatToString(mr):null,xr=mr=>Tr.value.isValidValue(mr),Rr=async mr=>{if(Fe.readonly||Xn.value)return;const{code:Lr}=mr;if(Nn(mr),Lr===EVENT_CODE.esc){kn.value===!0&&(kn.value=!1,mr.preventDefault(),mr.stopPropagation());return}if(Lr===EVENT_CODE.down&&(Tr.value.handleFocusPicker&&(mr.preventDefault(),mr.stopPropagation()),kn.value===!1&&(kn.value=!0,await nextTick()),Tr.value.handleFocusPicker)){Tr.value.handleFocusPicker();return}if(Lr===EVENT_CODE.tab){xn=!0;return}if(Lr===EVENT_CODE.enter||Lr===EVENT_CODE.numpadEnter){(br.value===null||br.value===""||xr(Pr(rr.value)))&&(_r(),kn.value=!1),mr.stopPropagation();return}if(br.value){mr.stopPropagation();return}Tr.value.handleKeydownInput&&Tr.value.handleKeydownInput(mr)},Hr=mr=>{br.value=mr,kn.value||(kn.value=!0)},Jr=mr=>{const Lr=mr.target;br.value?br.value=[Lr.value,br.value[1]]:br.value=[Lr.value,null]},Gr=mr=>{const Lr=mr.target;br.value?br.value=[br.value[0],Lr.value]:br.value=[null,Lr.value]},$r=()=>{var mr;const Lr=br.value,zr=Pr(Lr&&Lr[0]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[gr(zr),((mr=rr.value)==null?void 0:mr[1])||null];const Kr=[zr,Vr&&(Vr[1]||null)];xr(Kr)&&(Pn(Kr),br.value=null)}},Br=()=>{var mr;const Lr=unref(br),zr=Pr(Lr&&Lr[1]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[((mr=unref(rr))==null?void 0:mr[0])||null,gr(zr)];const Kr=[Vr&&Vr[0],zr];xr(Kr)&&(Pn(Kr),br.value=null)}},Tr=ref({}),cr=mr=>{Tr.value[mr[0]]=mr[1],Tr.value.panelReady=!0},Sr=mr=>{Ie("calendar-change",mr)},Dr=(mr,Lr,zr)=>{Ie("panel-change",mr,Lr,zr)};return provide("EP_PICKER_BASE",{props:Fe}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-time-picker",ref:"https://element-plus.org/en-US/component/time-picker.html"},computed(()=>!!Fe.label)),$e({focus:zn,handleFocusInput:jn,handleBlurInput:Wn,handleOpen:Hn,handleClose:Fn,onPick:Rn}),(mr,Lr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:_n,visible:kn.value,effect:"light",pure:"",trigger:"click"},mr.$attrs,{role:"dialog",teleported:"",transition:`${unref(At).namespace.value}-zoom-in-top`,"popper-class":[`${unref(At).namespace.value}-picker__popper`,mr.popperClass],"popper-options":unref(vn),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Bn,onShow:Vn,onHide:Dn}),{default:withCtx(()=>[unref(kr)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:wn,class:normalizeClass(unref(Tn)),style:normalizeStyle$1(mr.$attrs.style),onClick:jn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onKeydown:Rr},[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Dt).e("icon"),unref(Lt).e("icon")]),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:mr.id&&mr.id[0],autocomplete:"off",name:mr.name&&mr.name[0],placeholder:mr.startPlaceholder,value:unref(rr)&&unref(rr)[0],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onInput:Jr,onChange:$r,onFocus:jn,onBlur:Wn},null,42,_hoisted_1$12),renderSlot(mr.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(Lt).b("separator"))},toDisplayString(mr.rangeSeparator),3)]),createBaseVNode("input",{id:mr.id&&mr.id[1],autocomplete:"off",name:mr.name&&mr.name[1],placeholder:mr.endPlaceholder,value:unref(rr)&&unref(rr)[1],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onFocus:jn,onBlur:Wn,onInput:Gr,onChange:Br},null,42,_hoisted_2$H),mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(An)),onClick:sr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:mr.id,ref_key:"inputRef",ref:wn,"container-role":"combobox","model-value":unref(rr),name:mr.name,size:unref(Cr),disabled:unref(Xn),placeholder:mr.placeholder,class:normalizeClass([unref(At).b("editor"),unref(At).bm("editor",mr.type),mr.$attrs.class]),style:normalizeStyle$1(mr.$attrs.style),readonly:!mr.editable||mr.readonly||unref(qn)||unref(ar)||mr.type==="week","aria-label":mr.label||mr.ariaLabel,tabindex:mr.tabindex,"validate-event":!1,onInput:Hr,onFocus:jn,onBlur:Wn,onKeydown:Rr,onChange:_r,onMousedown:Zn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onClick:Lr[0]||(Lr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Dt).e("icon")),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[or.value&&mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(Dt).e("icon")} clear-icon`),onClick:withModifiers(sr,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(mr.$slots,"default",{visible:kn.value,actualVisible:Cn.value,parsedValue:unref(er),format:mr.format,dateFormat:mr.dateFormat,timeFormat:mr.timeFormat,unlinkPanels:mr.unlinkPanels,type:mr.type,defaultValue:mr.defaultValue,onPick:Rn,onSelectRange:In,onSetPickerOption:cr,onCalendarChange:Sr,onPanelChange:Dr,onKeydown:Ln,onMousedown:Lr[1]||(Lr[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$23,[["__file","picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:xe,getAvailableMinutes:$e,getAvailableSeconds:Ie})=>{const Fe=(At,Dt,Lt,jt)=>{const hn={hour:xe,minute:$e,second:Ie};let vn=At;return["hour","minute","second"].forEach(bn=>{if(hn[bn]){let _n;const wn=hn[bn];switch(bn){case"minute":{_n=wn(vn.hour(),Dt,jt);break}case"second":{_n=wn(vn.hour(),vn.minute(),Dt,jt);break}default:{_n=wn(Dt,jt);break}}if(_n!=null&&_n.length&&!_n.includes(vn[bn]())){const kn=Lt?0:_n.length-1;vn=vn[bn](_n[kn])}}}),vn},Ue={};return{timePickerOptions:Ue,getAvailableTime:Fe,onSetOption:([At,Dt])=>{Ue[At]=Dt}}},makeAvailableArr=xe=>{const $e=(Fe,Ue)=>Fe||Ue,Ie=Fe=>Fe!==!0;return xe.map($e).filter(Ie)},getTimeLists=(xe,$e,Ie)=>({getHoursList:(At,Dt)=>makeList(24,xe&&(()=>xe==null?void 0:xe(At,Dt))),getMinutesList:(At,Dt,Lt)=>makeList(60,$e&&(()=>$e==null?void 0:$e(At,Dt,Lt))),getSecondsList:(At,Dt,Lt,jt)=>makeList(60,Ie&&(()=>Ie==null?void 0:Ie(At,Dt,Lt,jt)))}),buildAvailableTimeSlotGetter=(xe,$e,Ie)=>{const{getHoursList:Fe,getMinutesList:Ue,getSecondsList:qe}=getTimeLists(xe,$e,Ie);return{getAvailableHours:(jt,hn)=>makeAvailableArr(Fe(jt,hn)),getAvailableMinutes:(jt,hn,vn)=>makeAvailableArr(Ue(jt,hn,vn)),getAvailableSeconds:(jt,hn,vn,bn)=>makeAvailableArr(qe(jt,hn,vn,bn))}},useOldValue=xe=>{const $e=ref(xe.parsedValue);return watch(()=>xe.visible,Ie=>{Ie||($e.value=xe.parsedValue)}),$e},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",xe=>startClick=xe),document.addEventListener("mouseup",xe=>{for(const $e of nodeList.values())for(const{documentHandler:Ie}of $e)Ie(xe,startClick)}));function createDocumentHandler(xe,$e){let Ie=[];return Array.isArray($e.arg)?Ie=$e.arg:isElement$1($e.arg)&&Ie.push($e.arg),function(Fe,Ue){const qe=$e.instance.popperRef,At=Fe.target,Dt=Ue==null?void 0:Ue.target,Lt=!$e||!$e.instance,jt=!At||!Dt,hn=xe.contains(At)||xe.contains(Dt),vn=xe===At,bn=Ie.length&&Ie.some(wn=>wn==null?void 0:wn.contains(At))||Ie.length&&Ie.includes(Dt),_n=qe&&(qe.contains(At)||qe.contains(Dt));Lt||jt||hn||vn||bn||_n||$e.value(Fe,Ue)}}const ClickOutside={beforeMount(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]),nodeList.get(xe).push({documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value})},updated(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]);const Ie=nodeList.get(xe),Fe=Ie.findIndex(qe=>qe.bindingFn===$e.oldValue),Ue={documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value};Fe>=0?Ie.splice(Fe,1,Ue):Ie.push(Ue)},unmounted(xe){nodeList.delete(xe)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(xe,$e){const Ie=$e.value,{interval:Fe=REPEAT_INTERVAL,delay:Ue=REPEAT_DELAY}=isFunction$5(Ie)?{}:Ie;let qe,At;const Dt=()=>isFunction$5(Ie)?Ie():Ie.handler(),Lt=()=>{At&&(clearTimeout(At),At=void 0),qe&&(clearInterval(qe),qe=void 0)};xe.addEventListener("mousedown",jt=>{jt.button===0&&(Lt(),Dt(),document.addEventListener("mouseup",()=>Lt(),{once:!0}),At=setTimeout(()=>{qe=setInterval(()=>{Dt()},Fe)},Ue))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=xe=>{if(FOCUS_STACK.length===0)return;const $e=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if($e.length>0&&xe.code===EVENT_CODE.tab){if($e.length===1){xe.preventDefault(),document.activeElement!==$e[0]&&$e[0].focus();return}const Ie=xe.shiftKey,Fe=xe.target===$e[0],Ue=xe.target===$e[$e.length-1];Fe&&Ie&&(xe.preventDefault(),$e[$e.length-1].focus()),Ue&&!Ie&&(xe.preventDefault(),$e[0].focus())}},TrapFocus={beforeMount(xe){xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe),FOCUS_STACK.push(xe),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(xe){nextTick(()=>{xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v=!1,o,f,s,u,d,N,l,p,m$1,w,D,x,E,M,F;function a(){if(!v){v=!0;var xe=navigator.userAgent,$e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(xe),Ie=/(Mac OS X)|(Windows)|(Linux)/.exec(xe);if(x=/\b(iPhone|iP[ao]d)/.exec(xe),E=/\b(iP[ao]d)/.exec(xe),w=/Android/i.exec(xe),M=/FBAN\/\w+;/i.exec(xe),F=/Mobile/i.exec(xe),D=!!/Win64/.exec(xe),$e){o=$e[1]?parseFloat($e[1]):$e[5]?parseFloat($e[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var Fe=/(?:Trident\/(\d+.\d+))/.exec(xe);N=Fe?parseFloat(Fe[1])+4:o,f=$e[2]?parseFloat($e[2]):NaN,s=$e[3]?parseFloat($e[3]):NaN,u=$e[4]?parseFloat($e[4]):NaN,u?($e=/(?:Chrome\/(\d+\.\d+))/.exec(xe),d=$e&&$e[1]?parseFloat($e[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(Ie){if(Ie[1]){var Ue=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(xe);l=Ue?parseFloat(Ue[1].replace("_",".")):!0}else l=!1;p=!!Ie[2],m$1=!!Ie[3]}else l=p=m$1=!1}}var _={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m$1},iphone:function(){return a()||x},mobile:function(){return a()||x||E||w||F},nativeApp:function(){return a()||M},android:function(){return a()||w},ipad:function(){return a()||E}},A=_,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U,X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(xe,$e){if(!h.canUseDOM||$e&&!("addEventListener"in document))return!1;var Ie="on"+xe,Fe=Ie in document;if(!Fe){var Ue=document.createElement("div");Ue.setAttribute(Ie,"return;"),Fe=typeof Ue[Ie]=="function"}return!Fe&&X&&xe==="wheel"&&(Fe=document.implementation.hasFeature("Events.wheel","3.0")),Fe}var b=S,O=10,I=40,P=800;function T(xe){var $e=0,Ie=0,Fe=0,Ue=0;return"detail"in xe&&(Ie=xe.detail),"wheelDelta"in xe&&(Ie=-xe.wheelDelta/120),"wheelDeltaY"in xe&&(Ie=-xe.wheelDeltaY/120),"wheelDeltaX"in xe&&($e=-xe.wheelDeltaX/120),"axis"in xe&&xe.axis===xe.HORIZONTAL_AXIS&&($e=Ie,Ie=0),Fe=$e*O,Ue=Ie*O,"deltaY"in xe&&(Ue=xe.deltaY),"deltaX"in xe&&(Fe=xe.deltaX),(Fe||Ue)&&xe.deltaMode&&(xe.deltaMode==1?(Fe*=I,Ue*=I):(Fe*=P,Ue*=P)),Fe&&!$e&&($e=Fe<1?-1:1),Ue&&!Ie&&(Ie=Ue<1?-1:1),{spinX:$e,spinY:Ie,pixelX:Fe,pixelY:Ue}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;/** +`,CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function calculateNodeStyling(xe){const $e=window.getComputedStyle(xe),Ie=$e.getPropertyValue("box-sizing"),Fe=Number.parseFloat($e.getPropertyValue("padding-bottom"))+Number.parseFloat($e.getPropertyValue("padding-top")),Ue=Number.parseFloat($e.getPropertyValue("border-bottom-width"))+Number.parseFloat($e.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(At=>`${At}:${$e.getPropertyValue(At)}`).join(";"),paddingSize:Fe,borderSize:Ue,boxSizing:Ie}}function calcTextareaHeight(xe,$e=1,Ie){var Fe;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),document.body.appendChild(hiddenTextarea));const{paddingSize:Ue,borderSize:qe,boxSizing:At,contextStyle:Dt}=calculateNodeStyling(xe);hiddenTextarea.setAttribute("style",`${Dt};${HIDDEN_STYLE}`),hiddenTextarea.value=xe.value||xe.placeholder||"";let Lt=hiddenTextarea.scrollHeight;const jt={};At==="border-box"?Lt=Lt+qe:At==="content-box"&&(Lt=Lt-Ue),hiddenTextarea.value="";const hn=hiddenTextarea.scrollHeight-Ue;if(isNumber$1($e)){let vn=hn*$e;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.max(vn,Lt),jt.minHeight=`${vn}px`}if(isNumber$1(Ie)){let vn=hn*Ie;At==="border-box"&&(vn=vn+Ue+qe),Lt=Math.min(vn,Lt)}return jt.height=`${Lt}px`,(Fe=hiddenTextarea.parentNode)==null||Fe.removeChild(hiddenTextarea),hiddenTextarea=void 0,jt}const inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),inputEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),input:xe=>isString$4(xe),change:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,mouseleave:xe=>xe instanceof MouseEvent,mouseenter:xe=>xe instanceof MouseEvent,keydown:xe=>xe instanceof Event,compositionstart:xe=>xe instanceof CompositionEvent,compositionupdate:xe=>xe instanceof CompositionEvent,compositionend:xe=>xe instanceof CompositionEvent},_hoisted_1$18=["role"],_hoisted_2$K=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],_hoisted_3$m=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],__default__$1G=defineComponent({name:"ElInput",inheritAttrs:!1}),_sfc_main$2n=defineComponent({...__default__$1G,props:inputProps,emits:inputEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),qe=useSlots(),At=computed(()=>{const gr={};return Fe.containerRole==="combobox"&&(gr["aria-haspopup"]=Ue["aria-haspopup"],gr["aria-owns"]=Ue["aria-owns"],gr["aria-expanded"]=Ue["aria-expanded"]),gr}),Dt=computed(()=>[Fe.type==="textarea"?Cn.b():kn.b(),kn.m(_n.value),kn.is("disabled",wn.value),kn.is("exceed",er.value),{[kn.b("group")]:qe.prepend||qe.append,[kn.bm("group","append")]:qe.append,[kn.bm("group","prepend")]:qe.prepend,[kn.m("prefix")]:qe.prefix||Fe.prefixIcon,[kn.m("suffix")]:qe.suffix||Fe.suffixIcon||Fe.clearable||Fe.showPassword,[kn.bm("suffix","password-clear")]:jn.value&&Gn.value,[kn.b("hidden")]:Fe.type==="hidden"},Ue.class]),Lt=computed(()=>[kn.e("wrapper"),kn.is("focus",In.value)]),jt=useAttrs({excludeKeys:computed(()=>Object.keys(At.value))}),{form:hn,formItem:vn}=useFormItem(),{inputId:bn}=useFormItemInputId(Fe,{formItemContext:vn}),_n=useFormSize(),wn=useFormDisabled(),kn=useNamespace("input"),Cn=useNamespace("textarea"),Sn=shallowRef(),xn=shallowRef(),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(),Pn=shallowRef(Fe.inputStyle),Nn=computed(()=>Sn.value||xn.value),{wrapperRef:Mn,isFocused:In,handleFocus:On,handleBlur:Rn}=useFocusController(Nn,{afterBlur(){var gr;Fe.validateEvent&&((gr=vn==null?void 0:vn.validate)==null||gr.call(vn,"blur").catch(xr=>void 0))}}),Bn=computed(()=>{var gr;return(gr=hn==null?void 0:hn.statusIcon)!=null?gr:!1}),Vn=computed(()=>(vn==null?void 0:vn.validateState)||""),Ln=computed(()=>Vn.value&&ValidateComponentsMap[Vn.value]),Dn=computed(()=>An.value?view_default:hide_default),Hn=computed(()=>[Ue.style]),Fn=computed(()=>[Fe.inputStyle,Pn.value,{resize:Fe.resize}]),zn=computed(()=>isNil(Fe.modelValue)?"":String(Fe.modelValue)),jn=computed(()=>Fe.clearable&&!wn.value&&!Fe.readonly&&!!zn.value&&(In.value||En.value)),Gn=computed(()=>Fe.showPassword&&!wn.value&&!Fe.readonly&&!!zn.value&&(!!zn.value||In.value)),Wn=computed(()=>Fe.showWordLimit&&!!Fe.maxlength&&(Fe.type==="text"||Fe.type==="textarea")&&!wn.value&&!Fe.readonly&&!Fe.showPassword),Xn=computed(()=>zn.value.length),er=computed(()=>!!Wn.value&&Xn.value>Number(Fe.maxlength)),rr=computed(()=>!!qe.suffix||!!Fe.suffixIcon||jn.value||Fe.showPassword||Wn.value||!!Vn.value&&Bn.value),[Jn,qn]=useCursor(Sn);useResizeObserver(xn,gr=>{if(tr(),!Wn.value||Fe.resize!=="both")return;const xr=gr[0],{width:Rr}=xr.contentRect;$n.value={right:`calc(100% - ${Rr+15+6}px)`}});const Yn=()=>{const{type:gr,autosize:xr}=Fe;if(!(!isClient$1||gr!=="textarea"||!xn.value))if(xr){const Rr=isObject$8(xr)?xr.minRows:void 0,Hr=isObject$8(xr)?xr.maxRows:void 0,Jr=calcTextareaHeight(xn.value,Rr,Hr);Pn.value={overflowY:"hidden",...Jr},nextTick(()=>{xn.value.offsetHeight,Pn.value=Jr})}else Pn.value={minHeight:calcTextareaHeight(xn.value).minHeight}},tr=(gr=>{let xr=!1;return()=>{var Rr;if(xr||!Fe.autosize)return;((Rr=xn.value)==null?void 0:Rr.offsetParent)===null||(gr(),xr=!0)}})(Yn),or=()=>{const gr=Nn.value,xr=Fe.formatter?Fe.formatter(zn.value):zn.value;!gr||gr.value===xr||(gr.value=xr)},sr=async gr=>{Jn();let{value:xr}=gr.target;if(Fe.formatter&&(xr=Fe.parser?Fe.parser(xr):xr),!Tn.value){if(xr===zn.value){or();return}Ie(UPDATE_MODEL_EVENT,xr),Ie("input",xr),await nextTick(),or(),qn()}},Kn=gr=>{Ie("change",gr.target.value)},Zn=gr=>{Ie("compositionstart",gr),Tn.value=!0},nr=gr=>{var xr;Ie("compositionupdate",gr);const Rr=(xr=gr.target)==null?void 0:xr.value,Hr=Rr[Rr.length-1]||"";Tn.value=!isKorean(Hr)},lr=gr=>{Ie("compositionend",gr),Tn.value&&(Tn.value=!1,sr(gr))},ir=()=>{An.value=!An.value,kr()},kr=async()=>{var gr;await nextTick(),(gr=Nn.value)==null||gr.focus()},Cr=()=>{var gr;return(gr=Nn.value)==null?void 0:gr.blur()},Er=gr=>{En.value=!1,Ie("mouseleave",gr)},dr=gr=>{En.value=!0,Ie("mouseenter",gr)},br=gr=>{Ie("keydown",gr)},_r=()=>{var gr;(gr=Nn.value)==null||gr.select()},Pr=()=>{Ie(UPDATE_MODEL_EVENT,""),Ie("change",""),Ie("clear"),Ie("input","")};return watch(()=>Fe.modelValue,()=>{var gr;nextTick(()=>Yn()),Fe.validateEvent&&((gr=vn==null?void 0:vn.validate)==null||gr.call(vn,"change").catch(xr=>void 0))}),watch(zn,()=>or()),watch(()=>Fe.type,async()=>{await nextTick(),or(),Yn()}),onMounted(()=>{!Fe.formatter&&Fe.parser,or(),nextTick(Yn)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input",ref:"https://element-plus.org/en-US/component/input.html"},computed(()=>!!Fe.label)),$e({input:Sn,textarea:xn,ref:Nn,textareaStyle:Fn,autosize:toRef(Fe,"autosize"),focus:kr,blur:Cr,select:_r,clear:Pr,resizeTextarea:Yn}),(gr,xr)=>(openBlock(),createElementBlock("div",mergeProps(unref(At),{class:unref(Dt),style:unref(Hn),role:gr.containerRole,onMouseenter:dr,onMouseleave:Er}),[createCommentVNode(" input "),gr.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),gr.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(kn).be("group","prepend"))},[renderSlot(gr.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Mn,class:normalizeClass(unref(Lt))},[createCommentVNode(" prefix slot "),gr.$slots.prefix||gr.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(kn).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("prefix-inner"))},[renderSlot(gr.$slots,"prefix"),gr.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(bn),ref_key:"input",ref:Sn,class:unref(kn).e("inner")},unref(jt),{minlength:gr.minlength,maxlength:gr.maxlength,type:gr.showPassword?An.value?"text":"password":gr.type,disabled:unref(wn),readonly:gr.readonly,autocomplete:gr.autocomplete,tabindex:gr.tabindex,"aria-label":gr.label||gr.ariaLabel,placeholder:gr.placeholder,style:gr.inputStyle,form:gr.form,autofocus:gr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[0]||(xr[0]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[1]||(xr[1]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_2$K),createCommentVNode(" suffix slot "),unref(rr)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(kn).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("suffix-inner"))},[!unref(jn)||!unref(Gn)||!unref(Wn)?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(gr.$slots,"suffix"),gr.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(kn).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(gr.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),unref(jn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:Pr},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),unref(Gn)?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("password")]),onClick:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Dn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),unref(Wn)?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass(unref(kn).e("count"))},[createBaseVNode("span",{class:normalizeClass(unref(kn).e("count-inner"))},toDisplayString(unref(Xn))+" / "+toDisplayString(gr.maxlength),3)],2)):createCommentVNode("v-if",!0),unref(Vn)&&unref(Ln)&&unref(Bn)?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(kn).e("icon"),unref(kn).e("validateIcon"),unref(kn).is("loading",unref(Vn)==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Ln))))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),gr.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(kn).be("group","append"))},[renderSlot(gr.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(bn),ref_key:"textarea",ref:xn,class:[unref(Cn).e("inner"),unref(kn).is("focus",unref(In))]},unref(jt),{minlength:gr.minlength,maxlength:gr.maxlength,tabindex:gr.tabindex,disabled:unref(wn),readonly:gr.readonly,autocomplete:gr.autocomplete,style:unref(Fn),"aria-label":gr.label||gr.ariaLabel,placeholder:gr.placeholder,form:gr.form,autofocus:gr.autofocus,onCompositionstart:Zn,onCompositionupdate:nr,onCompositionend:lr,onInput:sr,onFocus:xr[2]||(xr[2]=(...Rr)=>unref(On)&&unref(On)(...Rr)),onBlur:xr[3]||(xr[3]=(...Rr)=>unref(Rn)&&unref(Rn)(...Rr)),onChange:Kn,onKeydown:br}),null,16,_hoisted_3$m),unref(Wn)?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1($n.value),class:normalizeClass(unref(kn).e("count"))},toDisplayString(unref(Xn))+" / "+toDisplayString(gr.maxlength),7)):createCommentVNode("v-if",!0)],64))],16,_hoisted_1$18))}});var Input=_export_sfc$1(_sfc_main$2n,[["__file","input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle$1=({move:xe,size:$e,bar:Ie})=>({[Ie.size]:$e,transform:`translate${Ie.axis}(${xe}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$k="Thumb",_sfc_main$2m=defineComponent({__name:"thumb",props:thumbProps,setup(xe){const $e=xe,Ie=inject(scrollbarContextKey),Fe=useNamespace("scrollbar");Ie||throwError$1(COMPONENT_NAME$k,"can not inject scrollbar context");const Ue=ref(),qe=ref(),At=ref({}),Dt=ref(!1);let Lt=!1,jt=!1,hn=isClient$1?document.onselectstart:null;const vn=computed(()=>BAR_MAP[$e.vertical?"vertical":"horizontal"]),bn=computed(()=>renderThumbStyle$1({size:$e.size,move:$e.move,bar:vn.value})),_n=computed(()=>Ue.value[vn.value.offset]**2/Ie.wrapElement[vn.value.scrollSize]/$e.ratio/qe.value[vn.value.offset]),wn=$n=>{var Pn;if($n.stopPropagation(),$n.ctrlKey||[1,2].includes($n.button))return;(Pn=window.getSelection())==null||Pn.removeAllRanges(),Cn($n);const Nn=$n.currentTarget;Nn&&(At.value[vn.value.axis]=Nn[vn.value.offset]-($n[vn.value.client]-Nn.getBoundingClientRect()[vn.value.direction]))},kn=$n=>{if(!qe.value||!Ue.value||!Ie.wrapElement)return;const Pn=Math.abs($n.target.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client]),Nn=qe.value[vn.value.offset]/2,Mn=(Pn-Nn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=Mn*Ie.wrapElement[vn.value.scrollSize]/100},Cn=$n=>{$n.stopImmediatePropagation(),Lt=!0,document.addEventListener("mousemove",Sn),document.addEventListener("mouseup",xn),hn=document.onselectstart,document.onselectstart=()=>!1},Sn=$n=>{if(!Ue.value||!qe.value||Lt===!1)return;const Pn=At.value[vn.value.axis];if(!Pn)return;const Nn=(Ue.value.getBoundingClientRect()[vn.value.direction]-$n[vn.value.client])*-1,Mn=qe.value[vn.value.offset]-Pn,In=(Nn-Mn)*100*_n.value/Ue.value[vn.value.offset];Ie.wrapElement[vn.value.scroll]=In*Ie.wrapElement[vn.value.scrollSize]/100},xn=()=>{Lt=!1,At.value[vn.value.axis]=0,document.removeEventListener("mousemove",Sn),document.removeEventListener("mouseup",xn),An(),jt&&(Dt.value=!1)},En=()=>{jt=!1,Dt.value=!!$e.size},Tn=()=>{jt=!0,Dt.value=Lt};onBeforeUnmount(()=>{An(),document.removeEventListener("mouseup",xn)});const An=()=>{document.onselectstart!==hn&&(document.onselectstart=hn)};return useEventListener(toRef(Ie,"scrollbarElement"),"mousemove",En),useEventListener(toRef(Ie,"scrollbarElement"),"mouseleave",Tn),($n,Pn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:Ue,class:normalizeClass([unref(Fe).e("bar"),unref(Fe).is(unref(vn).key)]),onMousedown:kn},[createBaseVNode("div",{ref_key:"thumb",ref:qe,class:normalizeClass(unref(Fe).e("thumb")),style:normalizeStyle$1(unref(bn)),onMousedown:wn},null,38)],34),[[vShow,$n.always||Dt.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc$1(_sfc_main$2m,[["__file","thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$2l=defineComponent({__name:"bar",props:barProps,setup(xe,{expose:$e}){const Ie=xe,Fe=inject(scrollbarContextKey),Ue=ref(0),qe=ref(0),At=ref(""),Dt=ref(""),Lt=ref(1),jt=ref(1);return $e({handleScroll:bn=>{if(bn){const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP;qe.value=bn.scrollTop*100/_n*Lt.value,Ue.value=bn.scrollLeft*100/wn*jt.value}},update:()=>{const bn=Fe==null?void 0:Fe.wrapElement;if(!bn)return;const _n=bn.offsetHeight-GAP,wn=bn.offsetWidth-GAP,kn=_n**2/bn.scrollHeight,Cn=wn**2/bn.scrollWidth,Sn=Math.max(kn,Ie.minSize),xn=Math.max(Cn,Ie.minSize);Lt.value=kn/(_n-kn)/(Sn/(_n-Sn)),jt.value=Cn/(wn-Cn)/(xn/(wn-xn)),Dt.value=Sn+GAP<_n?`${Sn}px`:"",At.value=xn+GAP(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:Ue.value,ratio:jt.value,size:At.value,always:bn.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:qe.value,ratio:Lt.value,size:Dt.value,vertical:"",always:bn.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc$1(_sfc_main$2l,[["__file","bar.vue"]]);const scrollbarProps=buildProps({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={scroll:({scrollTop:xe,scrollLeft:$e})=>[xe,$e].every(isNumber$1)},COMPONENT_NAME$j="ElScrollbar",__default__$1F=defineComponent({name:COMPONENT_NAME$j}),_sfc_main$2k=defineComponent({...__default__$1F,props:scrollbarProps,emits:scrollbarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("scrollbar");let qe,At;const Dt=ref(),Lt=ref(),jt=ref(),hn=ref(),vn=computed(()=>{const En={};return Fe.height&&(En.height=addUnit(Fe.height)),Fe.maxHeight&&(En.maxHeight=addUnit(Fe.maxHeight)),[Fe.wrapStyle,En]}),bn=computed(()=>[Fe.wrapClass,Ue.e("wrap"),{[Ue.em("wrap","hidden-default")]:!Fe.native}]),_n=computed(()=>[Ue.e("view"),Fe.viewClass]),wn=()=>{var En;Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value),Ie("scroll",{scrollTop:Lt.value.scrollTop,scrollLeft:Lt.value.scrollLeft}))};function kn(En,Tn){isObject$8(En)?Lt.value.scrollTo(En):isNumber$1(En)&&isNumber$1(Tn)&&Lt.value.scrollTo(En,Tn)}const Cn=En=>{isNumber$1(En)&&(Lt.value.scrollTop=En)},Sn=En=>{isNumber$1(En)&&(Lt.value.scrollLeft=En)},xn=()=>{var En;(En=hn.value)==null||En.update()};return watch(()=>Fe.noresize,En=>{En?(qe==null||qe(),At==null||At()):({stop:qe}=useResizeObserver(jt,xn),At=useEventListener("resize",xn))},{immediate:!0}),watch(()=>[Fe.maxHeight,Fe.height],()=>{Fe.native||nextTick(()=>{var En;xn(),Lt.value&&((En=hn.value)==null||En.handleScroll(Lt.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:Dt,wrapElement:Lt})),onMounted(()=>{Fe.native||nextTick(()=>{xn()})}),onUpdated(()=>xn()),$e({wrapRef:Lt,update:xn,scrollTo:kn,setScrollTop:Cn,setScrollLeft:Sn,handleScroll:wn}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:Dt,class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:Lt,class:normalizeClass(unref(bn)),style:normalizeStyle$1(unref(vn)),onScroll:wn},[(openBlock(),createBlock(resolveDynamicComponent(En.tag),{id:En.id,ref_key:"resizeRef",ref:jt,class:normalizeClass(unref(_n)),style:normalizeStyle$1(En.viewStyle),role:En.role,"aria-label":En.ariaLabel,"aria-orientation":En.ariaOrientation},{default:withCtx(()=>[renderSlot(En.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),En.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:hn,always:En.always,"min-size":En.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc$1(_sfc_main$2k,[["__file","scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),__default__$1E=defineComponent({name:"ElPopper",inheritAttrs:!1}),_sfc_main$2j=defineComponent({...__default__$1E,props:popperProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=computed(()=>Ie.role),Lt={triggerRef:Fe,popperInstanceRef:Ue,contentRef:qe,referenceRef:At,role:Dt};return $e(Lt),provide(POPPER_INJECTION_KEY,Lt),(jt,hn)=>renderSlot(jt.$slots,"default")}});var Popper=_export_sfc$1(_sfc_main$2j,[["__file","popper.vue"]]);const popperArrowProps=buildProps({arrowOffset:{type:Number,default:5}}),__default__$1D=defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),_sfc_main$2i=defineComponent({...__default__$1D,props:popperArrowProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("popper"),{arrowOffset:Ue,arrowRef:qe,arrowStyle:At}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return watch(()=>Ie.arrowOffset,Dt=>{Ue.value=Dt}),onBeforeUnmount(()=>{qe.value=void 0}),$e({arrowRef:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:qe,class:normalizeClass(unref(Fe).e("arrow")),style:normalizeStyle$1(unref(At)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc$1(_sfc_main$2i,[["__file","arrow.vue"]]);const NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(xe,{slots:$e,attrs:Ie}){var Fe;const Ue=inject(FORWARD_REF_INJECTION_KEY),qe=useForwardRefDirective((Fe=Ue==null?void 0:Ue.setForwardRef)!=null?Fe:NOOP);return()=>{var At;const Dt=(At=$e.default)==null?void 0:At.call($e,Ie);if(!Dt||Dt.length>1)return null;const Lt=findFirstLegitChild(Dt);return Lt?withDirectives(cloneVNode(Lt,Ie),[[qe]]):null}}});function findFirstLegitChild(xe){if(!xe)return null;const $e=xe;for(const Ie of $e){if(isObject$8(Ie))switch(Ie.type){case Comment$1:continue;case Text$2:case"svg":return wrapTextContent(Ie);case Fragment:return findFirstLegitChild(Ie.children);default:return Ie}return wrapTextContent(Ie)}return null}function wrapTextContent(xe){const $e=useNamespace("only-child");return createVNode$1("span",{class:$e.e("content")},[xe])}const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),__default__$1C=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),_sfc_main$2h=defineComponent({...__default__$1C,props:popperTriggerProps,setup(xe,{expose:$e}){const Ie=xe,{role:Fe,triggerRef:Ue}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(Ue);const qe=computed(()=>Dt.value?Ie.id:void 0),At=computed(()=>{if(Fe&&Fe.value==="tooltip")return Ie.open&&Ie.id?Ie.id:void 0}),Dt=computed(()=>{if(Fe&&Fe.value!=="tooltip")return Fe.value}),Lt=computed(()=>Dt.value?`${Ie.open}`:void 0);let jt;return onMounted(()=>{watch(()=>Ie.virtualRef,hn=>{hn&&(Ue.value=unrefElement(hn))},{immediate:!0}),watch(Ue,(hn,vn)=>{jt==null||jt(),jt=void 0,isElement$1(hn)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(bn=>{var _n;const wn=Ie[bn];wn&&(hn.addEventListener(bn.slice(2).toLowerCase(),wn),(_n=vn==null?void 0:vn.removeEventListener)==null||_n.call(vn,bn.slice(2).toLowerCase(),wn))}),jt=watch([qe,At,Dt,Lt],bn=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((_n,wn)=>{isNil(bn[wn])?hn.removeAttribute(_n):hn.setAttribute(_n,bn[wn])})},{immediate:!0})),isElement$1(vn)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(bn=>vn.removeAttribute(bn))},{immediate:!0})}),onBeforeUnmount(()=>{jt==null||jt(),jt=void 0}),$e({triggerRef:Ue}),(hn,vn)=>hn.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},hn.$attrs,{"aria-controls":unref(qe),"aria-describedby":unref(At),"aria-expanded":unref(Lt),"aria-haspopup":unref(Dt)}),{default:withCtx(()=>[renderSlot(hn.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc$1(_sfc_main$2h,[["__file","trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=xe=>{const $e=[],Ie=document.createTreeWalker(xe,NodeFilter.SHOW_ELEMENT,{acceptNode:Fe=>{const Ue=Fe.tagName==="INPUT"&&Fe.type==="hidden";return Fe.disabled||Fe.hidden||Ue?NodeFilter.FILTER_SKIP:Fe.tabIndex>=0||Fe===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;Ie.nextNode();)$e.push(Ie.currentNode);return $e},getVisibleElement=(xe,$e)=>{for(const Ie of xe)if(!isHidden(Ie,$e))return Ie},isHidden=(xe,$e)=>{if(getComputedStyle(xe).visibility==="hidden")return!0;for(;xe;){if($e&&xe===$e)return!1;if(getComputedStyle(xe).display==="none")return!0;xe=xe.parentElement}return!1},getEdges=xe=>{const $e=obtainAllFocusableElements(xe),Ie=getVisibleElement($e,xe),Fe=getVisibleElement($e.reverse(),xe);return[Ie,Fe]},isSelectable=xe=>xe instanceof HTMLInputElement&&"select"in xe,tryFocus=(xe,$e)=>{if(xe&&xe.focus){const Ie=document.activeElement;xe.focus({preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),xe!==Ie&&isSelectable(xe)&&$e&&xe.select()}};function removeFromStack(xe,$e){const Ie=[...xe],Fe=xe.indexOf($e);return Fe!==-1&&Ie.splice(Fe,1),Ie}const createFocusableStack=()=>{let xe=[];return{push:Fe=>{const Ue=xe[0];Ue&&Fe!==Ue&&Ue.pause(),xe=removeFromStack(xe,Fe),xe.unshift(Fe)},remove:Fe=>{var Ue,qe;xe=removeFromStack(xe,Fe),(qe=(Ue=xe[0])==null?void 0:Ue.resume)==null||qe.call(Ue)}}},focusFirstDescendant=(xe,$e=!1)=>{const Ie=document.activeElement;for(const Fe of xe)if(tryFocus(Fe,$e),document.activeElement!==Ie)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=xe=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:xe}),_sfc_main$2g=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(xe,{emit:$e}){const Ie=ref();let Fe,Ue;const{focusReason:qe}=useFocusReason();useEscapeKeydown(wn=>{xe.trapped&&!At.paused&&$e("release-requested",wn)});const At={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},Dt=wn=>{if(!xe.loop&&!xe.trapped||At.paused)return;const{key:kn,altKey:Cn,ctrlKey:Sn,metaKey:xn,currentTarget:En,shiftKey:Tn}=wn,{loop:An}=xe,$n=kn===EVENT_CODE.tab&&!Cn&&!Sn&&!xn,Pn=document.activeElement;if($n&&Pn){const Nn=En,[Mn,In]=getEdges(Nn);if(Mn&&In){if(!Tn&&Pn===In){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(Mn,!0))}else if(Tn&&[Mn,Nn].includes(Pn)){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||(wn.preventDefault(),An&&tryFocus(In,!0))}}else if(Pn===Nn){const Rn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Rn),Rn.defaultPrevented||wn.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:Ie,onKeydown:Dt}),watch(()=>xe.focusTrapEl,wn=>{wn&&(Ie.value=wn)},{immediate:!0}),watch([Ie],([wn],[kn])=>{wn&&(wn.addEventListener("keydown",Dt),wn.addEventListener("focusin",hn),wn.addEventListener("focusout",vn)),kn&&(kn.removeEventListener("keydown",Dt),kn.removeEventListener("focusin",hn),kn.removeEventListener("focusout",vn))});const Lt=wn=>{$e(ON_TRAP_FOCUS_EVT,wn)},jt=wn=>$e(ON_RELEASE_FOCUS_EVT,wn),hn=wn=>{const kn=unref(Ie);if(!kn)return;const Cn=wn.target,Sn=wn.relatedTarget,xn=Cn&&kn.contains(Cn);xe.trapped||Sn&&kn.contains(Sn)||(Fe=Sn),xn&&$e("focusin",wn),!At.paused&&xe.trapped&&(xn?Ue=Cn:tryFocus(Ue,!0))},vn=wn=>{const kn=unref(Ie);if(!(At.paused||!kn))if(xe.trapped){const Cn=wn.relatedTarget;!isNil(Cn)&&!kn.contains(Cn)&&setTimeout(()=>{if(!At.paused&&xe.trapped){const Sn=createFocusOutPreventedEvent({focusReason:qe.value});$e("focusout-prevented",Sn),Sn.defaultPrevented||tryFocus(Ue,!0)}},0)}else{const Cn=wn.target;Cn&&kn.contains(Cn)||$e("focusout",wn)}};async function bn(){await nextTick();const wn=unref(Ie);if(wn){focusableStack.push(At);const kn=wn.contains(document.activeElement)?Fe:document.activeElement;if(Fe=kn,!wn.contains(kn)){const Sn=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);wn.addEventListener(FOCUS_AFTER_TRAPPED,Lt),wn.dispatchEvent(Sn),Sn.defaultPrevented||nextTick(()=>{let xn=xe.focusStartEl;isString$4(xn)||(tryFocus(xn),document.activeElement!==xn&&(xn="first")),xn==="first"&&focusFirstDescendant(obtainAllFocusableElements(wn),!0),(document.activeElement===kn||xn==="container")&&tryFocus(wn)})}}}function _n(){const wn=unref(Ie);if(wn){wn.removeEventListener(FOCUS_AFTER_TRAPPED,Lt);const kn=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:qe.value}});wn.addEventListener(FOCUS_AFTER_RELEASED,jt),wn.dispatchEvent(kn),!kn.defaultPrevented&&(qe.value=="keyboard"||!isFocusCausedByUserEvent()||wn.contains(document.activeElement))&&tryFocus(Fe??document.body),wn.removeEventListener(FOCUS_AFTER_RELEASED,jt),focusableStack.remove(At)}}return onMounted(()=>{xe.trapped&&bn(),watch(()=>xe.trapped,wn=>{wn?bn():_n()})}),onBeforeUnmount(()=>{xe.trapped&&_n()}),{onKeydown:Dt}}});function _sfc_render$u(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default",{handleKeydown:xe.onKeydown})}var ElFocusTrap=_export_sfc$1(_sfc_main$2g,[["render",_sfc_render$u],["__file","focus-trap.vue"]]);const POSITIONING_STRATEGIES=["fixed","absolute"],popperCoreConfigProps=buildProps({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:definePropType(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ee,default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"])}),popperContentEmits={mouseenter:xe=>xe instanceof MouseEvent,mouseleave:xe=>xe instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},buildPopperOptions=(xe,$e=[])=>{const{placement:Ie,strategy:Fe,popperOptions:Ue}=xe,qe={placement:Ie,strategy:Fe,...Ue,modifiers:[...genModifiers(xe),...$e]};return deriveExtraModifiers(qe,Ue==null?void 0:Ue.modifiers),qe},unwrapMeasurableEl=xe=>{if(isClient$1)return unrefElement(xe)};function genModifiers(xe){const{offset:$e,gpuAcceleration:Ie,fallbackPlacements:Fe}=xe;return[{name:"offset",options:{offset:[0,$e??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:Fe}},{name:"computeStyles",options:{gpuAcceleration:Ie}}]}function deriveExtraModifiers(xe,$e){$e&&(xe.modifiers=[...xe.modifiers,...$e??[]])}const DEFAULT_ARROW_OFFSET=0,usePopperContent=xe=>{const{popperInstanceRef:$e,contentRef:Ie,triggerRef:Fe,role:Ue}=inject(POPPER_INJECTION_KEY,void 0),qe=ref(),At=ref(),Dt=computed(()=>({name:"eventListeners",enabled:!!xe.visible})),Lt=computed(()=>{var Sn;const xn=unref(qe),En=(Sn=unref(At))!=null?Sn:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(xn),options:{element:xn,padding:En}}}),jt=computed(()=>({onFirstUpdate:()=>{wn()},...buildPopperOptions(xe,[unref(Lt),unref(Dt)])})),hn=computed(()=>unwrapMeasurableEl(xe.referenceEl)||unref(Fe)),{attributes:vn,state:bn,styles:_n,update:wn,forceUpdate:kn,instanceRef:Cn}=usePopper(hn,Ie,jt);return watch(Cn,Sn=>$e.value=Sn),onMounted(()=>{watch(()=>{var Sn;return(Sn=unref(hn))==null?void 0:Sn.getBoundingClientRect()},()=>{wn()})}),{attributes:vn,arrowRef:qe,contentRef:Ie,instanceRef:Cn,state:bn,styles:_n,role:Ue,forceUpdate:kn,update:wn}},usePopperContentDOM=(xe,{attributes:$e,styles:Ie,role:Fe})=>{const{nextZIndex:Ue}=useZIndex(),qe=useNamespace("popper"),At=computed(()=>unref($e).popper),Dt=ref(isNumber$1(xe.zIndex)?xe.zIndex:Ue()),Lt=computed(()=>[qe.b(),qe.is("pure",xe.pure),qe.is(xe.effect),xe.popperClass]),jt=computed(()=>[{zIndex:unref(Dt)},unref(Ie).popper,xe.popperStyle||{}]),hn=computed(()=>Fe.value==="dialog"?"false":void 0),vn=computed(()=>unref(Ie).arrow||{});return{ariaModal:hn,arrowStyle:vn,contentAttrs:At,contentClass:Lt,contentStyle:jt,contentZIndex:Dt,updateZIndex:()=>{Dt.value=isNumber$1(xe.zIndex)?xe.zIndex:Ue()}}},usePopperContentFocusTrap=(xe,$e)=>{const Ie=ref(!1),Fe=ref();return{focusStartRef:Fe,trapped:Ie,onFocusAfterReleased:jt=>{var hn;((hn=jt.detail)==null?void 0:hn.focusReason)!=="pointer"&&(Fe.value="first",$e("blur"))},onFocusAfterTrapped:()=>{$e("focus")},onFocusInTrap:jt=>{xe.visible&&!Ie.value&&(jt.target&&(Fe.value=jt.target),Ie.value=!0)},onFocusoutPrevented:jt=>{xe.trapping||(jt.detail.focusReason==="pointer"&&jt.preventDefault(),Ie.value=!1)},onReleaseRequested:()=>{Ie.value=!1,$e("close")}}},__default__$1B=defineComponent({name:"ElPopperContent"}),_sfc_main$2f=defineComponent({...__default__$1B,props:popperContentProps,emits:popperContentEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{focusStartRef:Ue,trapped:qe,onFocusAfterReleased:At,onFocusAfterTrapped:Dt,onFocusInTrap:Lt,onFocusoutPrevented:jt,onReleaseRequested:hn}=usePopperContentFocusTrap(Fe,Ie),{attributes:vn,arrowRef:bn,contentRef:_n,styles:wn,instanceRef:kn,role:Cn,update:Sn}=usePopperContent(Fe),{ariaModal:xn,arrowStyle:En,contentAttrs:Tn,contentClass:An,contentStyle:$n,updateZIndex:Pn}=usePopperContentDOM(Fe,{styles:wn,attributes:vn,role:Cn}),Nn=inject(formItemContextKey,void 0),Mn=ref();provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:En,arrowRef:bn,arrowOffset:Mn}),Nn&&provide(formItemContextKey,{...Nn,addInputId:NOOP,removeInputId:NOOP});let In;const On=(Bn=!0)=>{Sn(),Bn&&Pn()},Rn=()=>{On(!1),Fe.visible&&Fe.focusOnShow?qe.value=!0:Fe.visible===!1&&(qe.value=!1)};return onMounted(()=>{watch(()=>Fe.triggerTargetEl,(Bn,Vn)=>{In==null||In(),In=void 0;const Ln=unref(Bn||_n.value),Dn=unref(Vn||_n.value);isElement$1(Ln)&&(In=watch([Cn,()=>Fe.ariaLabel,xn,()=>Fe.id],Hn=>{["role","aria-label","aria-modal","id"].forEach((Fn,zn)=>{isNil(Hn[zn])?Ln.removeAttribute(Fn):Ln.setAttribute(Fn,Hn[zn])})},{immediate:!0})),Dn!==Ln&&isElement$1(Dn)&&["role","aria-label","aria-modal","id"].forEach(Hn=>{Dn.removeAttribute(Hn)})},{immediate:!0}),watch(()=>Fe.visible,Rn,{immediate:!0})}),onBeforeUnmount(()=>{In==null||In(),In=void 0}),$e({popperContentRef:_n,popperInstanceRef:kn,updatePopper:On,contentStyle:$n}),(Bn,Vn)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:_n},unref(Tn),{style:unref($n),class:unref(An),tabindex:"-1",onMouseenter:Vn[0]||(Vn[0]=Ln=>Bn.$emit("mouseenter",Ln)),onMouseleave:Vn[1]||(Vn[1]=Ln=>Bn.$emit("mouseleave",Ln))}),[createVNode$1(unref(ElFocusTrap),{trapped:unref(qe),"trap-on-focus-in":!0,"focus-trap-el":unref(_n),"focus-start-el":unref(Ue),onFocusAfterTrapped:unref(Dt),onFocusAfterReleased:unref(At),onFocusin:unref(Lt),onFocusoutPrevented:unref(jt),onReleaseRequested:unref(hn)},{default:withCtx(()=>[renderSlot(Bn.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc$1(_sfc_main$2f,[["__file","content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip"),useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:definePropType([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.space]}}),{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(xe,$e)=>isArray$6(xe)?xe.includes($e):xe===$e,whenTrigger=(xe,$e,Ie)=>Fe=>{isTriggerType(unref(xe),$e)&&Ie(Fe)},__default__$1A=defineComponent({name:"ElTooltipTrigger"}),_sfc_main$2e=defineComponent({...__default__$1A,props:useTooltipTriggerProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("tooltip"),{controlled:Ue,id:qe,open:At,onOpen:Dt,onClose:Lt,onToggle:jt}=inject(TOOLTIP_INJECTION_KEY,void 0),hn=ref(null),vn=()=>{if(unref(Ue)||Ie.disabled)return!0},bn=toRef(Ie,"trigger"),_n=composeEventHandlers(vn,whenTrigger(bn,"hover",Dt)),wn=composeEventHandlers(vn,whenTrigger(bn,"hover",Lt)),kn=composeEventHandlers(vn,whenTrigger(bn,"click",Tn=>{Tn.button===0&&jt(Tn)})),Cn=composeEventHandlers(vn,whenTrigger(bn,"focus",Dt)),Sn=composeEventHandlers(vn,whenTrigger(bn,"focus",Lt)),xn=composeEventHandlers(vn,whenTrigger(bn,"contextmenu",Tn=>{Tn.preventDefault(),jt(Tn)})),En=composeEventHandlers(vn,Tn=>{const{code:An}=Tn;Ie.triggerKeys.includes(An)&&(Tn.preventDefault(),jt(Tn))});return $e({triggerRef:hn}),(Tn,An)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref(qe),"virtual-ref":Tn.virtualRef,open:unref(At),"virtual-triggering":Tn.virtualTriggering,class:normalizeClass(unref(Fe).e("trigger")),onBlur:unref(Sn),onClick:unref(kn),onContextmenu:unref(xn),onFocus:unref(Cn),onMouseenter:unref(_n),onMouseleave:unref(wn),onKeydown:unref(En)},{default:withCtx(()=>[renderSlot(Tn.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc$1(_sfc_main$2e,[["__file","trigger.vue"]]);const __default__$1z=defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),_sfc_main$2d=defineComponent({...__default__$1z,props:useTooltipContentProps,setup(xe,{expose:$e}){const Ie=xe,{selector:Fe}=usePopperContainerId(),Ue=useNamespace("tooltip"),qe=ref(null),At=ref(!1),{controlled:Dt,id:Lt,open:jt,trigger:hn,onClose:vn,onOpen:bn,onShow:_n,onHide:wn,onBeforeShow:kn,onBeforeHide:Cn}=inject(TOOLTIP_INJECTION_KEY,void 0),Sn=computed(()=>Ie.transition||`${Ue.namespace.value}-fade-in-linear`),xn=computed(()=>Ie.persistent);onBeforeUnmount(()=>{At.value=!0});const En=computed(()=>unref(xn)?!0:unref(jt)),Tn=computed(()=>Ie.disabled?!1:unref(jt)),An=computed(()=>Ie.appendTo||Fe.value),$n=computed(()=>{var Hn;return(Hn=Ie.style)!=null?Hn:{}}),Pn=computed(()=>!unref(jt)),Nn=()=>{wn()},Mn=()=>{if(unref(Dt))return!0},In=composeEventHandlers(Mn,()=>{Ie.enterable&&unref(hn)==="hover"&&bn()}),On=composeEventHandlers(Mn,()=>{unref(hn)==="hover"&&vn()}),Rn=()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn),kn==null||kn()},Bn=()=>{Cn==null||Cn()},Vn=()=>{_n(),Dn=onClickOutside(computed(()=>{var Hn;return(Hn=qe.value)==null?void 0:Hn.popperContentRef}),()=>{if(unref(Dt))return;unref(hn)!=="hover"&&vn()})},Ln=()=>{Ie.virtualTriggering||vn()};let Dn;return watch(()=>unref(jt),Hn=>{Hn||Dn==null||Dn()},{flush:"post"}),watch(()=>Ie.content,()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.updatePopper)==null||Fn.call(Hn)}),$e({contentRef:qe}),(Hn,Fn)=>(openBlock(),createBlock(Teleport,{disabled:!Hn.teleported,to:unref(An)},[createVNode$1(Transition,{name:unref(Sn),onAfterLeave:Nn,onBeforeEnter:Rn,onAfterEnter:Vn,onBeforeLeave:Bn},{default:withCtx(()=>[unref(En)?withDirectives((openBlock(),createBlock(unref(ElPopperContent),mergeProps({key:0,id:unref(Lt),ref_key:"contentRef",ref:qe},Hn.$attrs,{"aria-label":Hn.ariaLabel,"aria-hidden":unref(Pn),"boundaries-padding":Hn.boundariesPadding,"fallback-placements":Hn.fallbackPlacements,"gpu-acceleration":Hn.gpuAcceleration,offset:Hn.offset,placement:Hn.placement,"popper-options":Hn.popperOptions,strategy:Hn.strategy,effect:Hn.effect,enterable:Hn.enterable,pure:Hn.pure,"popper-class":Hn.popperClass,"popper-style":[Hn.popperStyle,unref($n)],"reference-el":Hn.referenceEl,"trigger-target-el":Hn.triggerTargetEl,visible:unref(Tn),"z-index":Hn.zIndex,onMouseenter:unref(In),onMouseleave:unref(On),onBlur:Ln,onClose:unref(vn)}),{default:withCtx(()=>[At.value?createCommentVNode("v-if",!0):renderSlot(Hn.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[vShow,unref(Tn)]]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ElTooltipContent=_export_sfc$1(_sfc_main$2d,[["__file","content.vue"]]);const _hoisted_1$17=["innerHTML"],_hoisted_2$J={key:1},__default__$1y=defineComponent({name:"ElTooltip"}),_sfc_main$2c=defineComponent({...__default__$1y,props:useTooltipProps,emits:tooltipEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;usePopperContainer();const Ue=useId(),qe=ref(),At=ref(),Dt=()=>{var Sn;const xn=unref(qe);xn&&((Sn=xn.popperInstanceRef)==null||Sn.update())},Lt=ref(!1),jt=ref(),{show:hn,hide:vn,hasUpdateHandler:bn}=useTooltipModelToggle({indicator:Lt,toggleReason:jt}),{onOpen:_n,onClose:wn}=useDelayedToggle({showAfter:toRef(Fe,"showAfter"),hideAfter:toRef(Fe,"hideAfter"),autoClose:toRef(Fe,"autoClose"),open:hn,close:vn}),kn=computed(()=>isBoolean(Fe.visible)&&!bn.value);provide(TOOLTIP_INJECTION_KEY,{controlled:kn,id:Ue,open:readonly(Lt),trigger:toRef(Fe,"trigger"),onOpen:Sn=>{_n(Sn)},onClose:Sn=>{wn(Sn)},onToggle:Sn=>{unref(Lt)?wn(Sn):_n(Sn)},onShow:()=>{Ie("show",jt.value)},onHide:()=>{Ie("hide",jt.value)},onBeforeShow:()=>{Ie("before-show",jt.value)},onBeforeHide:()=>{Ie("before-hide",jt.value)},updatePopper:Dt}),watch(()=>Fe.disabled,Sn=>{Sn&&Lt.value&&(Lt.value=!1)});const Cn=Sn=>{var xn,En;const Tn=(En=(xn=At.value)==null?void 0:xn.contentRef)==null?void 0:En.popperContentRef,An=(Sn==null?void 0:Sn.relatedTarget)||document.activeElement;return Tn&&Tn.contains(An)};return onDeactivated(()=>Lt.value&&vn()),$e({popperRef:qe,contentRef:At,isFocusInsideContent:Cn,updatePopper:Dt,onOpen:_n,onClose:wn,hide:vn}),(Sn,xn)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:qe,role:Sn.role},{default:withCtx(()=>[createVNode$1(ElTooltipTrigger,{disabled:Sn.disabled,trigger:Sn.trigger,"trigger-keys":Sn.triggerKeys,"virtual-ref":Sn.virtualRef,"virtual-triggering":Sn.virtualTriggering},{default:withCtx(()=>[Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:At,"aria-label":Sn.ariaLabel,"boundaries-padding":Sn.boundariesPadding,content:Sn.content,disabled:Sn.disabled,effect:Sn.effect,enterable:Sn.enterable,"fallback-placements":Sn.fallbackPlacements,"hide-after":Sn.hideAfter,"gpu-acceleration":Sn.gpuAcceleration,offset:Sn.offset,persistent:Sn.persistent,"popper-class":Sn.popperClass,"popper-style":Sn.popperStyle,placement:Sn.placement,"popper-options":Sn.popperOptions,pure:Sn.pure,"raw-content":Sn.rawContent,"reference-el":Sn.referenceEl,"trigger-target-el":Sn.triggerTargetEl,"show-after":Sn.showAfter,strategy:Sn.strategy,teleported:Sn.teleported,transition:Sn.transition,"virtual-triggering":Sn.virtualTriggering,"z-index":Sn.zIndex,"append-to":Sn.appendTo},{default:withCtx(()=>[renderSlot(Sn.$slots,"content",{},()=>[Sn.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Sn.content},null,8,_hoisted_1$17)):(openBlock(),createElementBlock("span",_hoisted_2$J,toDisplayString(Sn.content),1))]),Sn.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0,"arrow-offset":Sn.arrowOffset},null,8,["arrow-offset"])):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc$1(_sfc_main$2c,[["__file","tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:useTooltipContentProps.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String,...useAriaProps(["ariaLabel"])}),autocompleteEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe),[INPUT_EVENT]:xe=>isString$4(xe),[CHANGE_EVENT]:xe=>isString$4(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,clear:()=>!0,select:xe=>isObject$8(xe)},_hoisted_1$16=["aria-expanded","aria-owns"],_hoisted_2$I={key:0},_hoisted_3$l=["id","aria-selected","onClick"],COMPONENT_NAME$i="ElAutocomplete",__default__$1x=defineComponent({name:COMPONENT_NAME$i,inheritAttrs:!1}),_sfc_main$2b=defineComponent({...__default__$1x,props:autocompleteProps,emits:autocompleteEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs(),qe=useAttrs$1(),At=useFormDisabled(),Dt=useNamespace("autocomplete"),Lt=ref(),jt=ref(),hn=ref(),vn=ref();let bn=!1,_n=!1;const wn=ref([]),kn=ref(-1),Cn=ref(""),Sn=ref(!1),xn=ref(!1),En=ref(!1),Tn=useId(),An=computed(()=>qe.style),$n=computed(()=>(wn.value.length>0||En.value)&&Sn.value),Pn=computed(()=>!Fe.hideLoading&&En.value),Nn=computed(()=>Lt.value?Array.from(Lt.value.$el.querySelectorAll("input")):[]),Mn=()=>{$n.value&&(Cn.value=`${Lt.value.$el.offsetWidth}px`)},In=()=>{kn.value=-1},Rn=debounce(async Jn=>{if(xn.value)return;const qn=Yn=>{En.value=!1,!xn.value&&(isArray$6(Yn)?(wn.value=Yn,kn.value=Fe.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$i,"autocomplete suggestions must be an array"))};if(En.value=!0,isArray$6(Fe.fetchSuggestions))qn(Fe.fetchSuggestions);else{const Yn=await Fe.fetchSuggestions(Jn,qn);isArray$6(Yn)&&qn(Yn)}},Fe.debounce),Bn=Jn=>{const qn=!!Jn;if(Ie(INPUT_EVENT,Jn),Ie(UPDATE_MODEL_EVENT,Jn),xn.value=!1,Sn.value||(Sn.value=qn),!Fe.triggerOnFocus&&!Jn){xn.value=!0,wn.value=[];return}Rn(Jn)},Vn=Jn=>{var qn;At.value||(((qn=Jn.target)==null?void 0:qn.tagName)!=="INPUT"||Nn.value.includes(document.activeElement))&&(Sn.value=!0)},Ln=Jn=>{Ie(CHANGE_EVENT,Jn)},Dn=Jn=>{_n?_n=!1:(Sn.value=!0,Ie("focus",Jn),Fe.triggerOnFocus&&!bn&&Rn(String(Fe.modelValue)))},Hn=Jn=>{setTimeout(()=>{var qn;if((qn=hn.value)!=null&&qn.isFocusInsideContent()){_n=!0;return}Sn.value&&Gn(),Ie("blur",Jn)})},Fn=()=>{Sn.value=!1,Ie(UPDATE_MODEL_EVENT,""),Ie("clear")},zn=async()=>{$n.value&&kn.value>=0&&kn.value{$n.value&&(Jn.preventDefault(),Jn.stopPropagation(),Gn())},Gn=()=>{Sn.value=!1},Wn=()=>{var Jn;(Jn=Lt.value)==null||Jn.focus()},Xn=()=>{var Jn;(Jn=Lt.value)==null||Jn.blur()},er=async Jn=>{Ie(INPUT_EVENT,Jn[Fe.valueKey]),Ie(UPDATE_MODEL_EVENT,Jn[Fe.valueKey]),Ie("select",Jn),wn.value=[],kn.value=-1},rr=Jn=>{if(!$n.value||En.value)return;if(Jn<0){kn.value=-1;return}Jn>=wn.value.length&&(Jn=wn.value.length-1);const qn=jt.value.querySelector(`.${Dt.be("suggestion","wrap")}`),ar=qn.querySelectorAll(`.${Dt.be("suggestion","list")} li`)[Jn],tr=qn.scrollTop,{offsetTop:or,scrollHeight:sr}=ar;or+sr>tr+qn.clientHeight&&(qn.scrollTop+=sr),or{$n.value&&Gn()}),onMounted(()=>{Lt.value.ref.setAttribute("role","textbox"),Lt.value.ref.setAttribute("aria-autocomplete","list"),Lt.value.ref.setAttribute("aria-controls","id"),Lt.value.ref.setAttribute("aria-activedescendant",`${Tn.value}-item-${kn.value}`),bn=Lt.value.ref.hasAttribute("readonly")}),$e({highlightedIndex:kn,activated:Sn,loading:En,inputRef:Lt,popperRef:hn,suggestions:wn,handleSelect:er,handleKeyEnter:zn,focus:Wn,blur:Xn,close:Gn,highlight:rr}),(Jn,qn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:hn,visible:unref($n),placement:Jn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(Dt).e("popper"),Jn.popperClass],teleported:Jn.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(Dt).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:Mn,onHide:In},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:jt,class:normalizeClass([unref(Dt).b("suggestion"),unref(Dt).is("loading",unref(Pn))]),style:normalizeStyle$1({[Jn.fitInputWidth?"width":"minWidth"]:Cn.value,outline:"none"}),role:"region"},[createVNode$1(unref(ElScrollbar),{id:unref(Tn),tag:"ul","wrap-class":unref(Dt).be("suggestion","wrap"),"view-class":unref(Dt).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[unref(Pn)?(openBlock(),createElementBlock("li",_hoisted_2$I,[renderSlot(Jn.$slots,"loading",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(wn.value,(Yn,ar)=>(openBlock(),createElementBlock("li",{id:`${unref(Tn)}-item-${ar}`,key:ar,class:normalizeClass({highlighted:kn.value===ar}),role:"option","aria-selected":kn.value===ar,onClick:tr=>er(Yn)},[renderSlot(Jn.$slots,"default",{item:Yn},()=>[createTextVNode(toDisplayString(Yn[Jn.valueKey]),1)])],10,_hoisted_3$l))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:vn,class:normalizeClass([unref(Dt).b(),Jn.$attrs.class]),style:normalizeStyle$1(unref(An)),role:"combobox","aria-haspopup":"listbox","aria-expanded":unref($n),"aria-owns":unref(Tn)},[createVNode$1(unref(ElInput),mergeProps({ref_key:"inputRef",ref:Lt},unref(Ue),{clearable:Jn.clearable,disabled:unref(At),name:Jn.name,"model-value":Jn.modelValue,"aria-label":Jn.ariaLabel,onInput:Bn,onChange:Ln,onFocus:Dn,onBlur:Hn,onClear:Fn,onKeydown:[qn[0]||(qn[0]=withKeys(withModifiers(Yn=>rr(kn.value-1),["prevent"]),["up"])),qn[1]||(qn[1]=withKeys(withModifiers(Yn=>rr(kn.value+1),["prevent"]),["down"])),withKeys(zn,["enter"]),withKeys(Gn,["tab"]),withKeys(jn,["esc"])],onMousedown:Vn}),createSlots({_:2},[Jn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(Jn.$slots,"prepend")])}:void 0,Jn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(Jn.$slots,"append")])}:void 0,Jn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Jn.$slots,"prefix")])}:void 0,Jn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Jn.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,_hoisted_1$16)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var Autocomplete=_export_sfc$1(_sfc_main$2b,[["__file","autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,default:"",validator:xe=>isNumber$1(xe)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:xe=>xe instanceof Event},_hoisted_1$15=["src","alt","srcset"],__default__$1w=defineComponent({name:"ElAvatar"}),_sfc_main$2a=defineComponent({...__default__$1w,props:avatarProps,emits:avatarEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("avatar"),Ue=ref(!1),qe=computed(()=>{const{size:jt,icon:hn,shape:vn}=Ie,bn=[Fe.b()];return isString$4(jt)&&bn.push(Fe.m(jt)),hn&&bn.push(Fe.m("icon")),vn&&bn.push(Fe.m(vn)),bn}),At=computed(()=>{const{size:jt}=Ie;return isNumber$1(jt)?Fe.cssVarBlock({size:addUnit(jt)||""}):void 0}),Dt=computed(()=>({objectFit:Ie.fit}));watch(()=>Ie.src,()=>Ue.value=!1);function Lt(jt){Ue.value=!0,$e("error",jt)}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(At))},[(jt.src||jt.srcSet)&&!Ue.value?(openBlock(),createElementBlock("img",{key:0,src:jt.src,alt:jt.alt,srcset:jt.srcSet,style:normalizeStyle$1(unref(Dt)),onError:Lt},null,44,_hoisted_1$15)):jt.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(jt.icon)))]),_:1})):renderSlot(jt.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc$1(_sfc_main$2a,[["__file","avatar.vue"]]);const ElAvatar=withInstall(Avatar),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:xe=>xe instanceof MouseEvent},useBackTop=(xe,$e,Ie)=>{const Fe=shallowRef(),Ue=shallowRef(),qe=ref(!1),At=()=>{Fe.value&&(qe.value=Fe.value.scrollTop>=xe.visibilityHeight)},Dt=jt=>{var hn;(hn=Fe.value)==null||hn.scrollTo({top:0,behavior:"smooth"}),$e("click",jt)},Lt=useThrottleFn(At,300,!0);return useEventListener(Ue,"scroll",Lt),onMounted(()=>{var jt;Ue.value=document,Fe.value=document.documentElement,xe.target&&(Fe.value=(jt=document.querySelector(xe.target))!=null?jt:void 0,Fe.value||throwError$1(Ie,`target does not exist: ${xe.target}`),Ue.value=Fe.value),At()}),{visible:qe,handleClick:Dt}},COMPONENT_NAME$h="ElBacktop",__default__$1v=defineComponent({name:COMPONENT_NAME$h}),_sfc_main$29=defineComponent({...__default__$1v,props:backtopProps,emits:backtopEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("backtop"),{handleClick:Ue,visible:qe}=useBackTop(Ie,$e,COMPONENT_NAME$h),At=computed(()=>({right:`${Ie.right}px`,bottom:`${Ie.bottom}px`}));return(Dt,Lt)=>(openBlock(),createBlock(Transition,{name:`${unref(Fe).namespace.value}-fade-in`},{default:withCtx(()=>[unref(qe)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(unref(At)),class:normalizeClass(unref(Fe).b()),onClick:Lt[0]||(Lt[0]=withModifiers((...jt)=>unref(Ue)&&unref(Ue)(...jt),["stop"]))},[renderSlot(Dt.$slots,"default",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Fe).e("icon"))},{default:withCtx(()=>[createVNode$1(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc$1(_sfc_main$29,[["__file","backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,dotStyle:{type:definePropType([String,Object,Array])},badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},dotClass:{type:String},badgeClass:{type:String}}),_hoisted_1$14=["textContent"],__default__$1u=defineComponent({name:"ElBadge"}),_sfc_main$28=defineComponent({...__default__$1u,props:badgeProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("badge"),Ue=computed(()=>Ie.isDot?"":isNumber$1(Ie.value)&&isNumber$1(Ie.max)?Ie.max{var At,Dt,Lt,jt,hn,vn;return[{backgroundColor:Ie.color,marginRight:addUnit(-((Dt=(At=Ie.offset)==null?void 0:At[0])!=null?Dt:0)),marginTop:addUnit((jt=(Lt=Ie.offset)==null?void 0:Lt[1])!=null?jt:0)},(hn=Ie.dotStyle)!=null?hn:{},(vn=Ie.badgeStyle)!=null?vn:{}]});return useDeprecated({from:"dot-style",replacement:"badge-style",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotStyle)),useDeprecated({from:"dot-class",replacement:"badge-class",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},computed(()=>!!Ie.dotClass)),$e({content:Ue}),(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[renderSlot(At.$slots,"default"),createVNode$1(Transition,{name:`${unref(Fe).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(Fe).e("content"),unref(Fe).em("content",At.type),unref(Fe).is("fixed",!!At.$slots.default),unref(Fe).is("dot",At.isDot),At.dotClass,At.badgeClass]),style:normalizeStyle$1(unref(qe)),textContent:toDisplayString(unref(Ue))},null,14,_hoisted_1$14),[[vShow,!At.hidden&&(unref(Ue)||At.isDot)]])]),_:1},8,["name"])],2))}});var Badge=_export_sfc$1(_sfc_main$28,[["__file","badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),_hoisted_1$13=["aria-label"],__default__$1t=defineComponent({name:"ElBreadcrumb"}),_sfc_main$27=defineComponent({...__default__$1t,props:breadcrumbProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("breadcrumb"),Ue=ref();return provide(breadcrumbKey,$e),onMounted(()=>{const qe=Ue.value.querySelectorAll(`.${Fe.e("item")}`);qe.length&&qe[qe.length-1].setAttribute("aria-current","page")}),(qe,At)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:Ue,class:normalizeClass(unref(Fe).b()),"aria-label":unref(Ie)("el.breadcrumb.label"),role:"navigation"},[renderSlot(qe.$slots,"default")],10,_hoisted_1$13))}});var Breadcrumb$1=_export_sfc$1(_sfc_main$27,[["__file","breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:{type:Boolean,default:!1}}),__default__$1s=defineComponent({name:"ElBreadcrumbItem"}),_sfc_main$26=defineComponent({...__default__$1s,props:breadcrumbItemProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=inject(breadcrumbKey,void 0),Ue=useNamespace("breadcrumb"),qe=Ie.appContext.config.globalProperties.$router,At=ref(),Dt=()=>{!$e.to||!qe||($e.replace?qe.replace($e.to):qe.push($e.to))};return(Lt,jt)=>{var hn,vn;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("item"))},[createBaseVNode("span",{ref_key:"link",ref:At,class:normalizeClass([unref(Ue).e("inner"),unref(Ue).is("link",!!Lt.to)]),role:"link",onClick:Dt},[renderSlot(Lt.$slots,"default")],2),(hn=unref(Fe))!=null&&hn.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Ue).e("separator")),role:"presentation"},toDisplayString((vn=unref(Fe))==null?void 0:vn.separator),3))],2)}}});var BreadcrumbItem=_export_sfc$1(_sfc_main$26,[["__file","breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb$1,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useButton=(xe,$e)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>xe.type==="text"));const Ie=inject(buttonGroupContextKey,void 0),Fe=useGlobalConfig("button"),{form:Ue}=useFormItem(),qe=useFormSize(computed(()=>Ie==null?void 0:Ie.size)),At=useFormDisabled(),Dt=ref(),Lt=useSlots(),jt=computed(()=>xe.type||(Ie==null?void 0:Ie.type)||""),hn=computed(()=>{var wn,kn,Cn;return(Cn=(kn=xe.autoInsertSpace)!=null?kn:(wn=Fe.value)==null?void 0:wn.autoInsertSpace)!=null?Cn:!1}),vn=computed(()=>xe.tag==="button"?{ariaDisabled:At.value||xe.loading,disabled:At.value||xe.loading,autofocus:xe.autofocus,type:xe.nativeType}:{}),bn=computed(()=>{var wn;const kn=(wn=Lt.default)==null?void 0:wn.call(Lt);if(hn.value&&(kn==null?void 0:kn.length)===1){const Cn=kn[0];if((Cn==null?void 0:Cn.type)===Text$2){const Sn=Cn.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(Sn.trim())}}return!1});return{_disabled:At,_size:qe,_type:jt,_ref:Dt,_props:vn,shouldAddSpace:bn,handleClick:wn=>{xe.nativeType==="reset"&&(Ue==null||Ue.resetFields()),$e("click",wn)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:Boolean,type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:xe=>xe instanceof MouseEvent};function bound01$1(xe,$e){isOnePointZero$1(xe)&&(xe="100%");var Ie=isPercentage$1(xe);return xe=$e===360?xe:Math.min($e,Math.max(0,parseFloat(xe))),Ie&&(xe=parseInt(String(xe*$e),10)/100),Math.abs(xe-$e)<1e-6?1:($e===360?xe=(xe<0?xe%$e+$e:xe%$e)/parseFloat(String($e)):xe=xe%$e/parseFloat(String($e)),xe)}function clamp01(xe){return Math.min(1,Math.max(0,xe))}function isOnePointZero$1(xe){return typeof xe=="string"&&xe.indexOf(".")!==-1&&parseFloat(xe)===1}function isPercentage$1(xe){return typeof xe=="string"&&xe.indexOf("%")!==-1}function boundAlpha(xe){return xe=parseFloat(xe),(isNaN(xe)||xe<0||xe>1)&&(xe=1),xe}function convertToPercentage(xe){return xe<=1?"".concat(Number(xe)*100,"%"):xe}function pad2(xe){return xe.length===1?"0"+xe:String(xe)}function rgbToRgb(xe,$e,Ie){return{r:bound01$1(xe,255)*255,g:bound01$1($e,255)*255,b:bound01$1(Ie,255)*255}}function rgbToHsl(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=0,Dt=(Fe+Ue)/2;if(Fe===Ue)At=0,qe=0;else{var Lt=Fe-Ue;switch(At=Dt>.5?Lt/(2-Fe-Ue):Lt/(Fe+Ue),Fe){case xe:qe=($e-Ie)/Lt+($e1&&(Ie-=1),Ie<1/6?xe+($e-xe)*(6*Ie):Ie<1/2?$e:Ie<2/3?xe+($e-xe)*(2/3-Ie)*6:xe}function hslToRgb(xe,$e,Ie){var Fe,Ue,qe;if(xe=bound01$1(xe,360),$e=bound01$1($e,100),Ie=bound01$1(Ie,100),$e===0)Ue=Ie,qe=Ie,Fe=Ie;else{var At=Ie<.5?Ie*(1+$e):Ie+$e-Ie*$e,Dt=2*Ie-At;Fe=hue2rgb(Dt,At,xe+1/3),Ue=hue2rgb(Dt,At,xe),qe=hue2rgb(Dt,At,xe-1/3)}return{r:Fe*255,g:Ue*255,b:qe*255}}function rgbToHsv(xe,$e,Ie){xe=bound01$1(xe,255),$e=bound01$1($e,255),Ie=bound01$1(Ie,255);var Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie),qe=0,At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:qe=($e-Ie)/Dt+($e>16,g:(xe&65280)>>8,b:xe&255}}var names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function inputToRGB(xe){var $e={r:0,g:0,b:0},Ie=1,Fe=null,Ue=null,qe=null,At=!1,Dt=!1;return typeof xe=="string"&&(xe=stringInputToObject(xe)),typeof xe=="object"&&(isValidCSSUnit(xe.r)&&isValidCSSUnit(xe.g)&&isValidCSSUnit(xe.b)?($e=rgbToRgb(xe.r,xe.g,xe.b),At=!0,Dt=String(xe.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.v)?(Fe=convertToPercentage(xe.s),Ue=convertToPercentage(xe.v),$e=hsvToRgb(xe.h,Fe,Ue),At=!0,Dt="hsv"):isValidCSSUnit(xe.h)&&isValidCSSUnit(xe.s)&&isValidCSSUnit(xe.l)&&(Fe=convertToPercentage(xe.s),qe=convertToPercentage(xe.l),$e=hslToRgb(xe.h,Fe,qe),At=!0,Dt="hsl"),Object.prototype.hasOwnProperty.call(xe,"a")&&(Ie=xe.a)),Ie=boundAlpha(Ie),{ok:At,format:xe.format||Dt,r:Math.min(255,Math.max($e.r,0)),g:Math.min(255,Math.max($e.g,0)),b:Math.min(255,Math.max($e.b,0)),a:Ie}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(xe){if(xe=xe.trim().toLowerCase(),xe.length===0)return!1;var $e=!1;if(names[xe])xe=names[xe],$e=!0;else if(xe==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Ie=matchers.rgb.exec(xe);return Ie?{r:Ie[1],g:Ie[2],b:Ie[3]}:(Ie=matchers.rgba.exec(xe),Ie?{r:Ie[1],g:Ie[2],b:Ie[3],a:Ie[4]}:(Ie=matchers.hsl.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3]}:(Ie=matchers.hsla.exec(xe),Ie?{h:Ie[1],s:Ie[2],l:Ie[3],a:Ie[4]}:(Ie=matchers.hsv.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3]}:(Ie=matchers.hsva.exec(xe),Ie?{h:Ie[1],s:Ie[2],v:Ie[3],a:Ie[4]}:(Ie=matchers.hex8.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),a:convertHexToDecimal(Ie[4]),format:$e?"name":"hex8"}:(Ie=matchers.hex6.exec(xe),Ie?{r:parseIntFromHex(Ie[1]),g:parseIntFromHex(Ie[2]),b:parseIntFromHex(Ie[3]),format:$e?"name":"hex"}:(Ie=matchers.hex4.exec(xe),Ie?{r:parseIntFromHex(Ie[1]+Ie[1]),g:parseIntFromHex(Ie[2]+Ie[2]),b:parseIntFromHex(Ie[3]+Ie[3]),a:convertHexToDecimal(Ie[4]+Ie[4]),format:$e?"name":"hex8"}:(Ie=matchers.hex3.exec(xe),Ie?{r:parseIntFromHex(Ie[1]+Ie[1]),g:parseIntFromHex(Ie[2]+Ie[2]),b:parseIntFromHex(Ie[3]+Ie[3]),format:$e?"name":"hex"}:!1)))))))))}function isValidCSSUnit(xe){return!!matchers.CSS_UNIT.exec(String(xe))}var TinyColor=function(){function xe($e,Ie){$e===void 0&&($e=""),Ie===void 0&&(Ie={});var Fe;if($e instanceof xe)return $e;typeof $e=="number"&&($e=numberInputToObject($e)),this.originalInput=$e;var Ue=inputToRGB($e);this.originalInput=$e,this.r=Ue.r,this.g=Ue.g,this.b=Ue.b,this.a=Ue.a,this.roundA=Math.round(100*this.a)/100,this.format=(Fe=Ie.format)!==null&&Fe!==void 0?Fe:Ue.format,this.gradientType=Ie.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=Ue.ok}return xe.prototype.isDark=function(){return this.getBrightness()<128},xe.prototype.isLight=function(){return!this.isDark()},xe.prototype.getBrightness=function(){var $e=this.toRgb();return($e.r*299+$e.g*587+$e.b*114)/1e3},xe.prototype.getLuminance=function(){var $e=this.toRgb(),Ie,Fe,Ue,qe=$e.r/255,At=$e.g/255,Dt=$e.b/255;return qe<=.03928?Ie=qe/12.92:Ie=Math.pow((qe+.055)/1.055,2.4),At<=.03928?Fe=At/12.92:Fe=Math.pow((At+.055)/1.055,2.4),Dt<=.03928?Ue=Dt/12.92:Ue=Math.pow((Dt+.055)/1.055,2.4),.2126*Ie+.7152*Fe+.0722*Ue},xe.prototype.getAlpha=function(){return this.a},xe.prototype.setAlpha=function($e){return this.a=boundAlpha($e),this.roundA=Math.round(100*this.a)/100,this},xe.prototype.isMonochrome=function(){var $e=this.toHsl().s;return $e===0},xe.prototype.toHsv=function(){var $e=rgbToHsv(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,v:$e.v,a:this.a}},xe.prototype.toHsvString=function(){var $e=rgbToHsv(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.v*100);return this.a===1?"hsv(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsva(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHsl=function(){var $e=rgbToHsl(this.r,this.g,this.b);return{h:$e.h*360,s:$e.s,l:$e.l,a:this.a}},xe.prototype.toHslString=function(){var $e=rgbToHsl(this.r,this.g,this.b),Ie=Math.round($e.h*360),Fe=Math.round($e.s*100),Ue=Math.round($e.l*100);return this.a===1?"hsl(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%)"):"hsla(".concat(Ie,", ").concat(Fe,"%, ").concat(Ue,"%, ").concat(this.roundA,")")},xe.prototype.toHex=function($e){return $e===void 0&&($e=!1),rgbToHex(this.r,this.g,this.b,$e)},xe.prototype.toHexString=function($e){return $e===void 0&&($e=!1),"#"+this.toHex($e)},xe.prototype.toHex8=function($e){return $e===void 0&&($e=!1),rgbaToHex(this.r,this.g,this.b,this.a,$e)},xe.prototype.toHex8String=function($e){return $e===void 0&&($e=!1),"#"+this.toHex8($e)},xe.prototype.toHexShortString=function($e){return $e===void 0&&($e=!1),this.a===1?this.toHexString($e):this.toHex8String($e)},xe.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},xe.prototype.toRgbString=function(){var $e=Math.round(this.r),Ie=Math.round(this.g),Fe=Math.round(this.b);return this.a===1?"rgb(".concat($e,", ").concat(Ie,", ").concat(Fe,")"):"rgba(".concat($e,", ").concat(Ie,", ").concat(Fe,", ").concat(this.roundA,")")},xe.prototype.toPercentageRgb=function(){var $e=function(Ie){return"".concat(Math.round(bound01$1(Ie,255)*100),"%")};return{r:$e(this.r),g:$e(this.g),b:$e(this.b),a:this.a}},xe.prototype.toPercentageRgbString=function(){var $e=function(Ie){return Math.round(bound01$1(Ie,255)*100)};return this.a===1?"rgb(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%)"):"rgba(".concat($e(this.r),"%, ").concat($e(this.g),"%, ").concat($e(this.b),"%, ").concat(this.roundA,")")},xe.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var $e="#"+rgbToHex(this.r,this.g,this.b,!1),Ie=0,Fe=Object.entries(names);Ie=0,qe=!Ie&&Ue&&($e.startsWith("hex")||$e==="name");return qe?$e==="name"&&this.a===0?this.toName():this.toRgbString():($e==="rgb"&&(Fe=this.toRgbString()),$e==="prgb"&&(Fe=this.toPercentageRgbString()),($e==="hex"||$e==="hex6")&&(Fe=this.toHexString()),$e==="hex3"&&(Fe=this.toHexString(!0)),$e==="hex4"&&(Fe=this.toHex8String(!0)),$e==="hex8"&&(Fe=this.toHex8String()),$e==="name"&&(Fe=this.toName()),$e==="hsl"&&(Fe=this.toHslString()),$e==="hsv"&&(Fe=this.toHsvString()),Fe||this.toHexString())},xe.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},xe.prototype.clone=function(){return new xe(this.toString())},xe.prototype.lighten=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l+=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.brighten=function($e){$e===void 0&&($e=10);var Ie=this.toRgb();return Ie.r=Math.max(0,Math.min(255,Ie.r-Math.round(255*-($e/100)))),Ie.g=Math.max(0,Math.min(255,Ie.g-Math.round(255*-($e/100)))),Ie.b=Math.max(0,Math.min(255,Ie.b-Math.round(255*-($e/100)))),new xe(Ie)},xe.prototype.darken=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.l-=$e/100,Ie.l=clamp01(Ie.l),new xe(Ie)},xe.prototype.tint=function($e){return $e===void 0&&($e=10),this.mix("white",$e)},xe.prototype.shade=function($e){return $e===void 0&&($e=10),this.mix("black",$e)},xe.prototype.desaturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s-=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.saturate=function($e){$e===void 0&&($e=10);var Ie=this.toHsl();return Ie.s+=$e/100,Ie.s=clamp01(Ie.s),new xe(Ie)},xe.prototype.greyscale=function(){return this.desaturate(100)},xe.prototype.spin=function($e){var Ie=this.toHsl(),Fe=(Ie.h+$e)%360;return Ie.h=Fe<0?360+Fe:Fe,new xe(Ie)},xe.prototype.mix=function($e,Ie){Ie===void 0&&(Ie=50);var Fe=this.toRgb(),Ue=new xe($e).toRgb(),qe=Ie/100,At={r:(Ue.r-Fe.r)*qe+Fe.r,g:(Ue.g-Fe.g)*qe+Fe.g,b:(Ue.b-Fe.b)*qe+Fe.b,a:(Ue.a-Fe.a)*qe+Fe.a};return new xe(At)},xe.prototype.analogous=function($e,Ie){$e===void 0&&($e=6),Ie===void 0&&(Ie=30);var Fe=this.toHsl(),Ue=360/Ie,qe=[this];for(Fe.h=(Fe.h-(Ue*$e>>1)+720)%360;--$e;)Fe.h=(Fe.h+Ue)%360,qe.push(new xe(Fe));return qe},xe.prototype.complement=function(){var $e=this.toHsl();return $e.h=($e.h+180)%360,new xe($e)},xe.prototype.monochromatic=function($e){$e===void 0&&($e=6);for(var Ie=this.toHsv(),Fe=Ie.h,Ue=Ie.s,qe=Ie.v,At=[],Dt=1/$e;$e--;)At.push(new xe({h:Fe,s:Ue,v:qe})),qe=(qe+Dt)%1;return At},xe.prototype.splitcomplement=function(){var $e=this.toHsl(),Ie=$e.h;return[this,new xe({h:(Ie+72)%360,s:$e.s,l:$e.l}),new xe({h:(Ie+216)%360,s:$e.s,l:$e.l})]},xe.prototype.onBackground=function($e){var Ie=this.toRgb(),Fe=new xe($e).toRgb(),Ue=Ie.a+Fe.a*(1-Ie.a);return new xe({r:(Ie.r*Ie.a+Fe.r*Fe.a*(1-Ie.a))/Ue,g:(Ie.g*Ie.a+Fe.g*Fe.a*(1-Ie.a))/Ue,b:(Ie.b*Ie.a+Fe.b*Fe.a*(1-Ie.a))/Ue,a:Ue})},xe.prototype.triad=function(){return this.polyad(3)},xe.prototype.tetrad=function(){return this.polyad(4)},xe.prototype.polyad=function($e){for(var Ie=this.toHsl(),Fe=Ie.h,Ue=[this],qe=360/$e,At=1;At<$e;At++)Ue.push(new xe({h:(Fe+At*qe)%360,s:Ie.s,l:Ie.l}));return Ue},xe.prototype.equals=function($e){return this.toRgbString()===new xe($e).toRgbString()},xe}();function darken(xe,$e=20){return xe.mix("#141414",$e).toString()}function useButtonCustomStyle(xe){const $e=useFormDisabled(),Ie=useNamespace("button");return computed(()=>{let Fe={};const Ue=xe.color;if(Ue){const qe=new TinyColor(Ue),At=xe.dark?qe.tint(20).toString():darken(qe,20);if(xe.plain)Fe=Ie.cssVarBlock({"bg-color":xe.dark?darken(qe,90):qe.tint(90).toString(),"text-color":Ue,"border-color":xe.dark?darken(qe,50):qe.tint(50).toString(),"hover-text-color":`var(${Ie.cssVarName("color-white")})`,"hover-bg-color":Ue,"hover-border-color":Ue,"active-bg-color":At,"active-text-color":`var(${Ie.cssVarName("color-white")})`,"active-border-color":At}),$e.value&&(Fe[Ie.cssVarBlockName("disabled-bg-color")]=xe.dark?darken(qe,90):qe.tint(90).toString(),Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?darken(qe,50):qe.tint(50).toString(),Fe[Ie.cssVarBlockName("disabled-border-color")]=xe.dark?darken(qe,80):qe.tint(80).toString());else{const Dt=xe.dark?darken(qe,30):qe.tint(30).toString(),Lt=qe.isDark()?`var(${Ie.cssVarName("color-white")})`:`var(${Ie.cssVarName("color-black")})`;if(Fe=Ie.cssVarBlock({"bg-color":Ue,"text-color":Lt,"border-color":Ue,"hover-bg-color":Dt,"hover-text-color":Lt,"hover-border-color":Dt,"active-bg-color":At,"active-border-color":At}),$e.value){const jt=xe.dark?darken(qe,50):qe.tint(50).toString();Fe[Ie.cssVarBlockName("disabled-bg-color")]=jt,Fe[Ie.cssVarBlockName("disabled-text-color")]=xe.dark?"rgba(255, 255, 255, 0.5)":`var(${Ie.cssVarName("color-white")})`,Fe[Ie.cssVarBlockName("disabled-border-color")]=jt}}}return Fe})}const __default__$1r=defineComponent({name:"ElButton"}),_sfc_main$25=defineComponent({...__default__$1r,props:buttonProps,emits:buttonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useButtonCustomStyle(Fe),qe=useNamespace("button"),{_ref:At,_size:Dt,_type:Lt,_disabled:jt,_props:hn,shouldAddSpace:vn,handleClick:bn}=useButton(Fe,Ie),_n=computed(()=>[qe.b(),qe.m(Lt.value),qe.m(Dt.value),qe.is("disabled",jt.value),qe.is("loading",Fe.loading),qe.is("plain",Fe.plain),qe.is("round",Fe.round),qe.is("circle",Fe.circle),qe.is("text",Fe.text),qe.is("link",Fe.link),qe.is("has-bg",Fe.bg)]);return $e({ref:At,size:Dt,type:Lt,disabled:jt,shouldAddSpace:vn}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(wn.tag),mergeProps({ref_key:"_ref",ref:At},unref(hn),{class:unref(_n),style:unref(Ue),onClick:unref(bn)}),{default:withCtx(()=>[wn.loading?(openBlock(),createElementBlock(Fragment,{key:0},[wn.$slots.loading?renderSlot(wn.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(qe).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.loadingIcon)))]),_:1},8,["class"]))],64)):wn.icon||wn.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[wn.icon?(openBlock(),createBlock(resolveDynamicComponent(wn.icon),{key:0})):renderSlot(wn.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),wn.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(qe).em("text","expand")]:unref(vn)})},[renderSlot(wn.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc$1(_sfc_main$25,[["__file","button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type},__default__$1q=defineComponent({name:"ElButtonGroup"}),_sfc_main$24=defineComponent({...__default__$1q,props:buttonGroupProps,setup(xe){const $e=xe;provide(buttonGroupContextKey,reactive({size:toRef($e,"size"),type:toRef($e,"type")}));const Ie=useNamespace("button");return(Fe,Ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(`${unref(Ie).b("group")}`)},[renderSlot(Fe.$slots,"default")],2))}});var ButtonGroup=_export_sfc$1(_sfc_main$24,[["__file","button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var dayjs_min={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie=1e3,Fe=6e4,Ue=36e5,qe="millisecond",At="second",Dt="minute",Lt="hour",jt="day",hn="week",vn="month",bn="quarter",_n="year",wn="date",kn="Invalid Date",Cn=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Sn=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,xn={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Vn){var Ln=["th","st","nd","rd"],Dn=Vn%100;return"["+Vn+(Ln[(Dn-20)%10]||Ln[Dn]||Ln[0])+"]"}},En=function(Vn,Ln,Dn){var Hn=String(Vn);return!Hn||Hn.length>=Ln?Vn:""+Array(Ln+1-Hn.length).join(Dn)+Vn},Tn={s:En,z:function(Vn){var Ln=-Vn.utcOffset(),Dn=Math.abs(Ln),Hn=Math.floor(Dn/60),Fn=Dn%60;return(Ln<=0?"+":"-")+En(Hn,2,"0")+":"+En(Fn,2,"0")},m:function Vn(Ln,Dn){if(Ln.date()1)return Vn(jn[0])}else{var Gn=Ln.name;$n[Gn]=Ln,Fn=Gn}return!Hn&&Fn&&(An=Fn),Fn||!Hn&&An},In=function(Vn,Ln){if(Nn(Vn))return Vn.clone();var Dn=typeof Ln=="object"?Ln:{};return Dn.date=Vn,Dn.args=arguments,new Rn(Dn)},On=Tn;On.l=Mn,On.i=Nn,On.w=function(Vn,Ln){return In(Vn,{locale:Ln.$L,utc:Ln.$u,x:Ln.$x,$offset:Ln.$offset})};var Rn=function(){function Vn(Dn){this.$L=Mn(Dn.locale,null,!0),this.parse(Dn),this.$x=this.$x||Dn.x||{},this[Pn]=!0}var Ln=Vn.prototype;return Ln.parse=function(Dn){this.$d=function(Hn){var Fn=Hn.date,zn=Hn.utc;if(Fn===null)return new Date(NaN);if(On.u(Fn))return new Date;if(Fn instanceof Date)return new Date(Fn);if(typeof Fn=="string"&&!/Z$/i.test(Fn)){var jn=Fn.match(Cn);if(jn){var Gn=jn[2]-1||0,Wn=(jn[7]||"0").substring(0,3);return zn?new Date(Date.UTC(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)):new Date(jn[1],Gn,jn[3]||1,jn[4]||0,jn[5]||0,jn[6]||0,Wn)}}return new Date(Fn)}(Dn),this.init()},Ln.init=function(){var Dn=this.$d;this.$y=Dn.getFullYear(),this.$M=Dn.getMonth(),this.$D=Dn.getDate(),this.$W=Dn.getDay(),this.$H=Dn.getHours(),this.$m=Dn.getMinutes(),this.$s=Dn.getSeconds(),this.$ms=Dn.getMilliseconds()},Ln.$utils=function(){return On},Ln.isValid=function(){return this.$d.toString()!==kn},Ln.isSame=function(Dn,Hn){var Fn=In(Dn);return this.startOf(Hn)<=Fn&&Fn<=this.endOf(Hn)},Ln.isAfter=function(Dn,Hn){return In(Dn)68?1900:2e3)},jt=function(kn){return function(Cn){this[kn]=+Cn}},hn=[/[+-]\d\d:?(\d\d)?|Z/,function(kn){(this.zone||(this.zone={})).offset=function(Cn){if(!Cn||Cn==="Z")return 0;var Sn=Cn.match(/([+-]|\d\d)/g),xn=60*Sn[1]+(+Sn[2]||0);return xn===0?0:Sn[0]==="+"?-xn:xn}(kn)}],vn=function(kn){var Cn=Dt[kn];return Cn&&(Cn.indexOf?Cn:Cn.s.concat(Cn.f))},bn=function(kn,Cn){var Sn,xn=Dt.meridiem;if(xn){for(var En=1;En<=24;En+=1)if(kn.indexOf(xn(En,0,Cn))>-1){Sn=En>12;break}}else Sn=kn===(Cn?"pm":"PM");return Sn},_n={A:[At,function(kn){this.afternoon=bn(kn,!1)}],a:[At,function(kn){this.afternoon=bn(kn,!0)}],S:[/\d/,function(kn){this.milliseconds=100*+kn}],SS:[Ue,function(kn){this.milliseconds=10*+kn}],SSS:[/\d{3}/,function(kn){this.milliseconds=+kn}],s:[qe,jt("seconds")],ss:[qe,jt("seconds")],m:[qe,jt("minutes")],mm:[qe,jt("minutes")],H:[qe,jt("hours")],h:[qe,jt("hours")],HH:[qe,jt("hours")],hh:[qe,jt("hours")],D:[qe,jt("day")],DD:[Ue,jt("day")],Do:[At,function(kn){var Cn=Dt.ordinal,Sn=kn.match(/\d+/);if(this.day=Sn[0],Cn)for(var xn=1;xn<=31;xn+=1)Cn(xn).replace(/\[|\]/g,"")===kn&&(this.day=xn)}],M:[qe,jt("month")],MM:[Ue,jt("month")],MMM:[At,function(kn){var Cn=vn("months"),Sn=(vn("monthsShort")||Cn.map(function(xn){return xn.slice(0,3)})).indexOf(kn)+1;if(Sn<1)throw new Error;this.month=Sn%12||Sn}],MMMM:[At,function(kn){var Cn=vn("months").indexOf(kn)+1;if(Cn<1)throw new Error;this.month=Cn%12||Cn}],Y:[/[+-]?\d+/,jt("year")],YY:[Ue,function(kn){this.year=Lt(kn)}],YYYY:[/\d{4}/,jt("year")],Z:hn,ZZ:hn};function wn(kn){var Cn,Sn;Cn=kn,Sn=Dt&&Dt.formats;for(var xn=(kn=Cn.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Mn,In,On){var Rn=On&&On.toUpperCase();return In||Sn[On]||Ie[On]||Sn[Rn].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Bn,Vn,Ln){return Vn||Ln.slice(1)})})).match(Fe),En=xn.length,Tn=0;Tn-1)return new Date((Hn==="X"?1e3:1)*Dn);var zn=wn(Hn)(Dn),jn=zn.year,Gn=zn.month,Wn=zn.day,Xn=zn.hours,er=zn.minutes,rr=zn.seconds,Jn=zn.milliseconds,qn=zn.zone,Yn=new Date,ar=Wn||(jn||Gn?1:Yn.getDate()),tr=jn||Yn.getFullYear(),or=0;jn&&!Gn||(or=Gn>0?Gn-1:Yn.getMonth());var sr=Xn||0,Kn=er||0,Zn=rr||0,nr=Jn||0;return qn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr+60*qn.offset*1e3)):Fn?new Date(Date.UTC(tr,or,ar,sr,Kn,Zn,nr)):new Date(tr,or,ar,sr,Kn,Zn,nr)}catch{return new Date("")}}(An,Nn,$n),this.init(),Rn&&Rn!==!0&&(this.$L=this.locale(Rn).$L),On&&An!=this.format(Nn)&&(this.$d=new Date("")),Dt={}}else if(Nn instanceof Array)for(var Bn=Nn.length,Vn=1;Vn<=Bn;Vn+=1){Pn[1]=Nn[Vn-1];var Ln=Sn.apply(this,Pn);if(Ln.isValid()){this.$d=Ln.$d,this.$L=Ln.$L,this.init();break}Vn===Bn&&(this.$d=new Date(""))}else En.call(this,Tn)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$2=["hours","minutes","seconds"],DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},buildTimeList=(xe,$e)=>[xe>0?xe-1:void 0,xe,xe<$e?xe+1:void 0],rangeArr=xe=>Array.from(Array.from({length:xe}).keys()),extractDateFormat=xe=>xe.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=xe=>xe.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(xe,$e){const Ie=isDate$1(xe),Fe=isDate$1($e);return Ie&&Fe?xe.getTime()===$e.getTime():!Ie&&!Fe?xe===$e:!1},valueEquals=function(xe,$e){const Ie=isArray$6(xe),Fe=isArray$6($e);return Ie&&Fe?xe.length!==$e.length?!1:xe.every((Ue,qe)=>dateEquals(Ue,$e[qe])):!Ie&&!Fe?dateEquals(xe,$e):!1},parseDate$1=function(xe,$e,Ie){const Fe=isEmpty($e)||$e==="x"?dayjs(xe).locale(Ie):dayjs(xe,$e).locale(Ie);return Fe.isValid()?Fe:void 0},formatter=function(xe,$e,Ie){return isEmpty($e)?xe:$e==="x"?+xe:dayjs(xe).locale(Ie).format($e)},makeList=(xe,$e)=>{var Ie;const Fe=[],Ue=$e==null?void 0:$e();for(let qe=0;qe({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,label:{type:String,default:void 0},tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),_hoisted_1$12=["id","name","placeholder","value","disabled","readonly"],_hoisted_2$H=["id","name","placeholder","value","disabled","readonly"],__default__$1p=defineComponent({name:"Picker"}),_sfc_main$23=defineComponent({...__default__$1p,props:timePickerDefaultProps,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useAttrs$1(),{lang:qe}=useLocale(),At=useNamespace("date"),Dt=useNamespace("input"),Lt=useNamespace("range"),{form:jt,formItem:hn}=useFormItem(),vn=inject("ElPopperOptions",{}),{valueOnClear:bn}=useEmptyValues(Fe,null),_n=ref(),wn=ref(),kn=ref(!1),Cn=ref(!1),Sn=ref(null);let xn=!1,En=!1;const Tn=computed(()=>[At.b("editor"),At.bm("editor",Fe.type),Dt.e("wrapper"),At.is("disabled",Xn.value),At.is("active",kn.value),Lt.b("editor"),Cr?Lt.bm("editor",Cr.value):"",Ue.class]),An=computed(()=>[Dt.e("icon"),Lt.e("close-icon"),or.value?"":Lt.e("close-icon--hidden")]);watch(kn,mr=>{mr?nextTick(()=>{mr&&(Sn.value=Fe.modelValue)}):(br.value=null,nextTick(()=>{$n(Fe.modelValue)}))});const $n=(mr,Lr)=>{(Lr||!valueEquals(mr,Sn.value))&&(Ie("change",mr),Fe.validateEvent&&(hn==null||hn.validate("change").catch(zr=>void 0)))},Pn=mr=>{if(!valueEquals(Fe.modelValue,mr)){let Lr;isArray$6(mr)?Lr=mr.map(zr=>formatter(zr,Fe.valueFormat,qe.value)):mr&&(Lr=formatter(mr,Fe.valueFormat,qe.value)),Ie("update:modelValue",mr&&Lr,qe.value)}},Nn=mr=>{Ie("keydown",mr)},Mn=computed(()=>{if(wn.value){const mr=kr.value?wn.value:wn.value.$el;return Array.from(mr.querySelectorAll("input"))}return[]}),In=(mr,Lr,zr)=>{const Vr=Mn.value;Vr.length&&(!zr||zr==="min"?(Vr[0].setSelectionRange(mr,Lr),Vr[0].focus()):zr==="max"&&(Vr[1].setSelectionRange(mr,Lr),Vr[1].focus()))},On=()=>{zn(!0,!0),nextTick(()=>{En=!1})},Rn=(mr="",Lr=!1)=>{Lr||(En=!0),kn.value=Lr;let zr;isArray$6(mr)?zr=mr.map(Vr=>Vr.toDate()):zr=mr&&mr.toDate(),br.value=null,Pn(zr)},Bn=()=>{Cn.value=!0},Vn=()=>{Ie("visible-change",!0)},Ln=mr=>{(mr==null?void 0:mr.key)===EVENT_CODE.esc&&zn(!0,!0)},Dn=()=>{Cn.value=!1,kn.value=!1,En=!1,Ie("visible-change",!1)},Hn=()=>{kn.value=!0},Fn=()=>{kn.value=!1},zn=(mr=!0,Lr=!1)=>{En=Lr;const[zr,Vr]=unref(Mn);let Kr=zr;!mr&&kr.value&&(Kr=Vr),Kr&&Kr.focus()},jn=mr=>{Fe.readonly||Xn.value||kn.value||En||(kn.value=!0,Ie("focus",mr))};let Gn;const Wn=mr=>{const Lr=async()=>{setTimeout(()=>{var zr;Gn===Lr&&(!((zr=_n.value)!=null&&zr.isFocusInsideContent()&&!xn)&&Mn.value.filter(Vr=>Vr.contains(document.activeElement)).length===0&&(_r(),kn.value=!1,Ie("blur",mr),Fe.validateEvent&&(hn==null||hn.validate("blur").catch(Vr=>void 0))),xn=!1)},0)};Gn=Lr,Lr()},Xn=computed(()=>Fe.disabled||(jt==null?void 0:jt.disabled)),er=computed(()=>{let mr;if(Kn.value?Tr.value.getDefaultValue&&(mr=Tr.value.getDefaultValue()):isArray$6(Fe.modelValue)?mr=Fe.modelValue.map(Lr=>parseDate$1(Lr,Fe.valueFormat,qe.value)):mr=parseDate$1(Fe.modelValue,Fe.valueFormat,qe.value),Tr.value.getRangeAvailableTime){const Lr=Tr.value.getRangeAvailableTime(mr);isEqual$1(Lr,mr)||(mr=Lr,Pn(isArray$6(mr)?mr.map(zr=>zr.toDate()):mr.toDate()))}return isArray$6(mr)&&mr.some(Lr=>!Lr)&&(mr=[]),mr}),rr=computed(()=>{if(!Tr.value.panelReady)return"";const mr=gr(er.value);return isArray$6(br.value)?[br.value[0]||mr&&mr[0]||"",br.value[1]||mr&&mr[1]||""]:br.value!==null?br.value:!qn.value&&Kn.value||!kn.value&&Kn.value?"":mr?Yn.value||ar.value?mr.join(", "):mr:""}),Jn=computed(()=>Fe.type.includes("time")),qn=computed(()=>Fe.type.startsWith("time")),Yn=computed(()=>Fe.type==="dates"),ar=computed(()=>Fe.type==="years"),tr=computed(()=>Fe.prefixIcon||(Jn.value?clock_default:calendar_default)),or=ref(!1),sr=mr=>{Fe.readonly||Xn.value||or.value&&(mr.stopPropagation(),On(),Pn(bn.value),$n(bn.value,!0),or.value=!1,kn.value=!1,Tr.value.handleClear&&Tr.value.handleClear())},Kn=computed(()=>{const{modelValue:mr}=Fe;return!mr||isArray$6(mr)&&!mr.filter(Boolean).length}),Zn=async mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},nr=()=>{Fe.readonly||Xn.value||!Kn.value&&Fe.clearable&&(or.value=!0)},lr=()=>{or.value=!1},ir=mr=>{var Lr;Fe.readonly||Xn.value||(((Lr=mr.touches[0].target)==null?void 0:Lr.tagName)!=="INPUT"||Mn.value.includes(document.activeElement))&&(kn.value=!0)},kr=computed(()=>Fe.type.includes("range")),Cr=useFormSize(),Er=computed(()=>{var mr,Lr;return(Lr=(mr=unref(_n))==null?void 0:mr.popperRef)==null?void 0:Lr.contentRef}),dr=computed(()=>{var mr;return unref(kr)?unref(wn):(mr=unref(wn))==null?void 0:mr.$el});onClickOutside(dr,mr=>{const Lr=unref(Er),zr=unref(dr);Lr&&(mr.target===Lr||mr.composedPath().includes(Lr))||mr.target===zr||mr.composedPath().includes(zr)||(kn.value=!1)});const br=ref(null),_r=()=>{if(br.value){const mr=Pr(rr.value);mr&&xr(mr)&&(Pn(isArray$6(mr)?mr.map(Lr=>Lr.toDate()):mr.toDate()),br.value=null)}br.value===""&&(Pn(bn.value),$n(bn.value),br.value=null)},Pr=mr=>mr?Tr.value.parseUserInput(mr):null,gr=mr=>mr?Tr.value.formatToString(mr):null,xr=mr=>Tr.value.isValidValue(mr),Rr=async mr=>{if(Fe.readonly||Xn.value)return;const{code:Lr}=mr;if(Nn(mr),Lr===EVENT_CODE.esc){kn.value===!0&&(kn.value=!1,mr.preventDefault(),mr.stopPropagation());return}if(Lr===EVENT_CODE.down&&(Tr.value.handleFocusPicker&&(mr.preventDefault(),mr.stopPropagation()),kn.value===!1&&(kn.value=!0,await nextTick()),Tr.value.handleFocusPicker)){Tr.value.handleFocusPicker();return}if(Lr===EVENT_CODE.tab){xn=!0;return}if(Lr===EVENT_CODE.enter||Lr===EVENT_CODE.numpadEnter){(br.value===null||br.value===""||xr(Pr(rr.value)))&&(_r(),kn.value=!1),mr.stopPropagation();return}if(br.value){mr.stopPropagation();return}Tr.value.handleKeydownInput&&Tr.value.handleKeydownInput(mr)},Hr=mr=>{br.value=mr,kn.value||(kn.value=!0)},Jr=mr=>{const Lr=mr.target;br.value?br.value=[Lr.value,br.value[1]]:br.value=[Lr.value,null]},Gr=mr=>{const Lr=mr.target;br.value?br.value=[br.value[0],Lr.value]:br.value=[null,Lr.value]},$r=()=>{var mr;const Lr=br.value,zr=Pr(Lr&&Lr[0]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[gr(zr),((mr=rr.value)==null?void 0:mr[1])||null];const Kr=[zr,Vr&&(Vr[1]||null)];xr(Kr)&&(Pn(Kr),br.value=null)}},Br=()=>{var mr;const Lr=unref(br),zr=Pr(Lr&&Lr[1]),Vr=unref(er);if(zr&&zr.isValid()){br.value=[((mr=unref(rr))==null?void 0:mr[0])||null,gr(zr)];const Kr=[Vr&&Vr[0],zr];xr(Kr)&&(Pn(Kr),br.value=null)}},Tr=ref({}),cr=mr=>{Tr.value[mr[0]]=mr[1],Tr.value.panelReady=!0},Sr=mr=>{Ie("calendar-change",mr)},Dr=(mr,Lr,zr)=>{Ie("panel-change",mr,Lr,zr)};return provide("EP_PICKER_BASE",{props:Fe}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-time-picker",ref:"https://element-plus.org/en-US/component/time-picker.html"},computed(()=>!!Fe.label)),$e({focus:zn,handleFocusInput:jn,handleBlurInput:Wn,handleOpen:Hn,handleClose:Fn,onPick:Rn}),(mr,Lr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:_n,visible:kn.value,effect:"light",pure:"",trigger:"click"},mr.$attrs,{role:"dialog",teleported:"",transition:`${unref(At).namespace.value}-zoom-in-top`,"popper-class":[`${unref(At).namespace.value}-picker__popper`,mr.popperClass],"popper-options":unref(vn),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Bn,onShow:Vn,onHide:Dn}),{default:withCtx(()=>[unref(kr)?(openBlock(),createElementBlock("div",{key:1,ref_key:"inputRef",ref:wn,class:normalizeClass(unref(Tn)),style:normalizeStyle$1(mr.$attrs.style),onClick:jn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onKeydown:Rr},[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Dt).e("icon"),unref(Lt).e("icon")]),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),createBaseVNode("input",{id:mr.id&&mr.id[0],autocomplete:"off",name:mr.name&&mr.name[0],placeholder:mr.startPlaceholder,value:unref(rr)&&unref(rr)[0],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onInput:Jr,onChange:$r,onFocus:jn,onBlur:Wn},null,42,_hoisted_1$12),renderSlot(mr.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(Lt).b("separator"))},toDisplayString(mr.rangeSeparator),3)]),createBaseVNode("input",{id:mr.id&&mr.id[1],autocomplete:"off",name:mr.name&&mr.name[1],placeholder:mr.endPlaceholder,value:unref(rr)&&unref(rr)[1],disabled:unref(Xn),readonly:!mr.editable||mr.readonly,class:normalizeClass(unref(Lt).b("input")),onMousedown:Zn,onFocus:jn,onBlur:Wn,onInput:Gr,onChange:Br},null,42,_hoisted_2$H),mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(An)),onClick:sr},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],38)):(openBlock(),createBlock(unref(ElInput),{key:0,id:mr.id,ref_key:"inputRef",ref:wn,"container-role":"combobox","model-value":unref(rr),name:mr.name,size:unref(Cr),disabled:unref(Xn),placeholder:mr.placeholder,class:normalizeClass([unref(At).b("editor"),unref(At).bm("editor",mr.type),mr.$attrs.class]),style:normalizeStyle$1(mr.$attrs.style),readonly:!mr.editable||mr.readonly||unref(Yn)||unref(ar)||mr.type==="week","aria-label":mr.label||mr.ariaLabel,tabindex:mr.tabindex,"validate-event":!1,onInput:Hr,onFocus:jn,onBlur:Wn,onKeydown:Rr,onChange:_r,onMousedown:Zn,onMouseenter:nr,onMouseleave:lr,onTouchstartPassive:ir,onClick:Lr[0]||(Lr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[unref(tr)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Dt).e("icon")),onMousedown:withModifiers(Zn,["prevent"]),onTouchstartPassive:ir},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(tr))))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[or.value&&mr.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(Dt).e("icon")} clear-icon`),onClick:withModifiers(sr,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(mr.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown"]))]),content:withCtx(()=>[renderSlot(mr.$slots,"default",{visible:kn.value,actualVisible:Cn.value,parsedValue:unref(er),format:mr.format,dateFormat:mr.dateFormat,timeFormat:mr.timeFormat,unlinkPanels:mr.unlinkPanels,type:mr.type,defaultValue:mr.defaultValue,onPick:Rn,onSelectRange:In,onSetPickerOption:cr,onCalendarChange:Sr,onPanelChange:Dr,onKeydown:Ln,onMousedown:Lr[1]||(Lr[1]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var CommonPicker=_export_sfc$1(_sfc_main$23,[["__file","picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:xe,getAvailableMinutes:$e,getAvailableSeconds:Ie})=>{const Fe=(At,Dt,Lt,jt)=>{const hn={hour:xe,minute:$e,second:Ie};let vn=At;return["hour","minute","second"].forEach(bn=>{if(hn[bn]){let _n;const wn=hn[bn];switch(bn){case"minute":{_n=wn(vn.hour(),Dt,jt);break}case"second":{_n=wn(vn.hour(),vn.minute(),Dt,jt);break}default:{_n=wn(Dt,jt);break}}if(_n!=null&&_n.length&&!_n.includes(vn[bn]())){const kn=Lt?0:_n.length-1;vn=vn[bn](_n[kn])}}}),vn},Ue={};return{timePickerOptions:Ue,getAvailableTime:Fe,onSetOption:([At,Dt])=>{Ue[At]=Dt}}},makeAvailableArr=xe=>{const $e=(Fe,Ue)=>Fe||Ue,Ie=Fe=>Fe!==!0;return xe.map($e).filter(Ie)},getTimeLists=(xe,$e,Ie)=>({getHoursList:(At,Dt)=>makeList(24,xe&&(()=>xe==null?void 0:xe(At,Dt))),getMinutesList:(At,Dt,Lt)=>makeList(60,$e&&(()=>$e==null?void 0:$e(At,Dt,Lt))),getSecondsList:(At,Dt,Lt,jt)=>makeList(60,Ie&&(()=>Ie==null?void 0:Ie(At,Dt,Lt,jt)))}),buildAvailableTimeSlotGetter=(xe,$e,Ie)=>{const{getHoursList:Fe,getMinutesList:Ue,getSecondsList:qe}=getTimeLists(xe,$e,Ie);return{getAvailableHours:(jt,hn)=>makeAvailableArr(Fe(jt,hn)),getAvailableMinutes:(jt,hn,vn)=>makeAvailableArr(Ue(jt,hn,vn)),getAvailableSeconds:(jt,hn,vn,bn)=>makeAvailableArr(qe(jt,hn,vn,bn))}},useOldValue=xe=>{const $e=ref(xe.parsedValue);return watch(()=>xe.visible,Ie=>{Ie||($e.value=xe.parsedValue)}),$e},nodeList=new Map;let startClick;isClient$1&&(document.addEventListener("mousedown",xe=>startClick=xe),document.addEventListener("mouseup",xe=>{for(const $e of nodeList.values())for(const{documentHandler:Ie}of $e)Ie(xe,startClick)}));function createDocumentHandler(xe,$e){let Ie=[];return Array.isArray($e.arg)?Ie=$e.arg:isElement$1($e.arg)&&Ie.push($e.arg),function(Fe,Ue){const qe=$e.instance.popperRef,At=Fe.target,Dt=Ue==null?void 0:Ue.target,Lt=!$e||!$e.instance,jt=!At||!Dt,hn=xe.contains(At)||xe.contains(Dt),vn=xe===At,bn=Ie.length&&Ie.some(wn=>wn==null?void 0:wn.contains(At))||Ie.length&&Ie.includes(Dt),_n=qe&&(qe.contains(At)||qe.contains(Dt));Lt||jt||hn||vn||bn||_n||$e.value(Fe,Ue)}}const ClickOutside={beforeMount(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]),nodeList.get(xe).push({documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value})},updated(xe,$e){nodeList.has(xe)||nodeList.set(xe,[]);const Ie=nodeList.get(xe),Fe=Ie.findIndex(qe=>qe.bindingFn===$e.oldValue),Ue={documentHandler:createDocumentHandler(xe,$e),bindingFn:$e.value};Fe>=0?Ie.splice(Fe,1,Ue):Ie.push(Ue)},unmounted(xe){nodeList.delete(xe)}},REPEAT_INTERVAL=100,REPEAT_DELAY=600,vRepeatClick={beforeMount(xe,$e){const Ie=$e.value,{interval:Fe=REPEAT_INTERVAL,delay:Ue=REPEAT_DELAY}=isFunction$5(Ie)?{}:Ie;let qe,At;const Dt=()=>isFunction$5(Ie)?Ie():Ie.handler(),Lt=()=>{At&&(clearTimeout(At),At=void 0),qe&&(clearInterval(qe),qe=void 0)};xe.addEventListener("mousedown",jt=>{jt.button===0&&(Lt(),Dt(),document.addEventListener("mouseup",()=>Lt(),{once:!0}),At=setTimeout(()=>{qe=setInterval(()=>{Dt()},Fe)},Ue))})}},FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=xe=>{if(FOCUS_STACK.length===0)return;const $e=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if($e.length>0&&xe.code===EVENT_CODE.tab){if($e.length===1){xe.preventDefault(),document.activeElement!==$e[0]&&$e[0].focus();return}const Ie=xe.shiftKey,Fe=xe.target===$e[0],Ue=xe.target===$e[$e.length-1];Fe&&Ie&&(xe.preventDefault(),$e[$e.length-1].focus()),Ue&&!Ie&&(xe.preventDefault(),$e[0].focus())}},TrapFocus={beforeMount(xe){xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe),FOCUS_STACK.push(xe),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(xe){nextTick(()=>{xe[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(xe)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}};var v=!1,o,f,s,u,d,N,l,p,m$1,w,D,x,E,M,F;function a(){if(!v){v=!0;var xe=navigator.userAgent,$e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(xe),Ie=/(Mac OS X)|(Windows)|(Linux)/.exec(xe);if(x=/\b(iPhone|iP[ao]d)/.exec(xe),E=/\b(iP[ao]d)/.exec(xe),w=/Android/i.exec(xe),M=/FBAN\/\w+;/i.exec(xe),F=/Mobile/i.exec(xe),D=!!/Win64/.exec(xe),$e){o=$e[1]?parseFloat($e[1]):$e[5]?parseFloat($e[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var Fe=/(?:Trident\/(\d+.\d+))/.exec(xe);N=Fe?parseFloat(Fe[1])+4:o,f=$e[2]?parseFloat($e[2]):NaN,s=$e[3]?parseFloat($e[3]):NaN,u=$e[4]?parseFloat($e[4]):NaN,u?($e=/(?:Chrome\/(\d+\.\d+))/.exec(xe),d=$e&&$e[1]?parseFloat($e[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(Ie){if(Ie[1]){var Ue=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(xe);l=Ue?parseFloat(Ue[1].replace("_",".")):!0}else l=!1;p=!!Ie[2],m$1=!!Ie[3]}else l=p=m$1=!1}}var _={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _.ie()&&D},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m$1},iphone:function(){return a()||x},mobile:function(){return a()||x||E||w||F},nativeApp:function(){return a()||M},android:function(){return a()||w},ipad:function(){return a()||E}},A=_,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U,X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S(xe,$e){if(!h.canUseDOM||$e&&!("addEventListener"in document))return!1;var Ie="on"+xe,Fe=Ie in document;if(!Fe){var Ue=document.createElement("div");Ue.setAttribute(Ie,"return;"),Fe=typeof Ue[Ie]=="function"}return!Fe&&X&&xe==="wheel"&&(Fe=document.implementation.hasFeature("Events.wheel","3.0")),Fe}var b=S,O=10,I=40,P=800;function T(xe){var $e=0,Ie=0,Fe=0,Ue=0;return"detail"in xe&&(Ie=xe.detail),"wheelDelta"in xe&&(Ie=-xe.wheelDelta/120),"wheelDeltaY"in xe&&(Ie=-xe.wheelDeltaY/120),"wheelDeltaX"in xe&&($e=-xe.wheelDeltaX/120),"axis"in xe&&xe.axis===xe.HORIZONTAL_AXIS&&($e=Ie,Ie=0),Fe=$e*O,Ue=Ie*O,"deltaY"in xe&&(Ue=xe.deltaY),"deltaX"in xe&&(Fe=xe.deltaX),(Fe||Ue)&&xe.deltaMode&&(xe.deltaMode==1?(Fe*=I,Ue*=I):(Fe*=P,Ue*=P)),Fe&&!$e&&($e=Fe<1?-1:1),Ue&&!Ie&&(Ie=Ue<1?-1:1),{spinX:$e,spinY:Ie,pixelX:Fe,pixelY:Ue}}T.getEventType=function(){return A.firefox()?"DOMMouseScroll":b("wheel")?"wheel":"mousewheel"};var Y=T;/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, @@ -440,19 +440,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT -*/const mousewheel=function(xe,$e){if(xe&&xe.addEventListener){const Ie=function(Fe){const Ue=Y(Fe);$e&&Reflect.apply($e,this,[Fe,Ue])};xe.addEventListener("wheel",Ie,{passive:!0})}},Mousewheel={beforeMount(xe,$e){mousewheel(xe,$e.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_hoisted_1$11=["onClick"],_hoisted_2$G=["onMouseenter"],_sfc_main$22=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("time"),{getHoursList:Ue,getMinutesList:qe,getSecondsList:At}=getTimeLists(Ie.disabledHours,Ie.disabledMinutes,Ie.disabledSeconds);let Dt=!1;const Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn={hours:jt,minutes:hn,seconds:vn},_n=computed(()=>Ie.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),wn=computed(()=>{const{spinnerDate:zn}=Ie,jn=zn.hour(),Gn=zn.minute(),Wn=zn.second();return{hours:jn,minutes:Gn,seconds:Wn}}),kn=computed(()=>{const{hours:zn,minutes:jn}=unref(wn);return{hours:Ue(Ie.role),minutes:qe(zn,Ie.role),seconds:At(zn,jn,Ie.role)}}),Cn=computed(()=>{const{hours:zn,minutes:jn,seconds:Gn}=unref(wn);return{hours:buildTimeList(zn,23),minutes:buildTimeList(jn,59),seconds:buildTimeList(Gn,59)}}),Sn=debounce(zn=>{Dt=!1,Tn(zn)},200),xn=zn=>{if(!!!Ie.amPmMode)return"";const Gn=Ie.amPmMode==="A";let Wn=zn<12?" am":" pm";return Gn&&(Wn=Wn.toUpperCase()),Wn},En=zn=>{let jn;switch(zn){case"hours":jn=[0,2];break;case"minutes":jn=[3,5];break;case"seconds":jn=[6,8];break}const[Gn,Wn]=jn;$e("select-range",Gn,Wn),Lt.value=zn},Tn=zn=>{Pn(zn,unref(wn)[zn])},An=()=>{Tn("hours"),Tn("minutes"),Tn("seconds")},$n=zn=>zn.querySelector(`.${Fe.namespace.value}-scrollbar__wrap`),Pn=(zn,jn)=>{if(Ie.arrowControl)return;const Gn=unref(bn[zn]);Gn&&Gn.$el&&($n(Gn.$el).scrollTop=Math.max(0,jn*Nn(zn)))},Nn=zn=>{const jn=unref(bn[zn]),Gn=jn==null?void 0:jn.$el.querySelector("li");return Gn&&Number.parseFloat(getStyle$1(Gn,"height"))||0},Mn=()=>{On(1)},In=()=>{On(-1)},On=zn=>{Lt.value||En("hours");const jn=Lt.value,Gn=unref(wn)[jn],Wn=Lt.value==="hours"?24:60,Xn=Rn(jn,Gn,zn,Wn);Bn(jn,Xn),Pn(jn,Xn),nextTick(()=>En(jn))},Rn=(zn,jn,Gn,Wn)=>{let Xn=(jn+Gn+Wn)%Wn;const er=unref(kn)[zn];for(;er[Xn]&&Xn!==jn;)Xn=(Xn+Gn+Wn)%Wn;return Xn},Bn=(zn,jn)=>{if(unref(kn)[zn][jn])return;const{hours:Xn,minutes:er,seconds:rr}=unref(wn);let Jn;switch(zn){case"hours":Jn=Ie.spinnerDate.hour(jn).minute(er).second(rr);break;case"minutes":Jn=Ie.spinnerDate.hour(Xn).minute(jn).second(rr);break;case"seconds":Jn=Ie.spinnerDate.hour(Xn).minute(er).second(jn);break}$e("change",Jn)},Vn=(zn,{value:jn,disabled:Gn})=>{Gn||(Bn(zn,jn),En(zn),Pn(zn,jn))},Ln=zn=>{Dt=!0,Sn(zn);const jn=Math.min(Math.round(($n(unref(bn[zn]).$el).scrollTop-(Dn(zn)*.5-10)/Nn(zn)+3)/Nn(zn)),zn==="hours"?23:59);Bn(zn,jn)},Dn=zn=>unref(bn[zn]).$el.offsetHeight,Hn=()=>{const zn=jn=>{const Gn=unref(bn[jn]);Gn&&Gn.$el&&($n(Gn.$el).onscroll=()=>{Ln(jn)})};zn("hours"),zn("minutes"),zn("seconds")};onMounted(()=>{nextTick(()=>{!Ie.arrowControl&&Hn(),An(),Ie.role==="start"&&En("hours")})});const Fn=(zn,jn)=>{bn[jn].value=zn};return $e("set-option",[`${Ie.role}_scrollDown`,On]),$e("set-option",[`${Ie.role}_emitSelectRange`,En]),watch(()=>Ie.spinnerDate,()=>{Dt||An()}),(zn,jn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("spinner"),{"has-seconds":zn.showSeconds}])},[zn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(_n),Gn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Gn,ref_for:!0,ref:Wn=>Fn(Wn,Gn),class:normalizeClass(unref(Fe).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(Fe).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Wn=>En(Gn),onMousemove:Wn=>Tn(Gn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(kn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Xn===unref(wn)[Gn]),unref(Fe).is("disabled",Wn)]),onClick:er=>Vn(Gn,{value:Xn,disabled:Wn})},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Xn%12||12:Xn)).slice(-2))+toDisplayString(xn(Xn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Xn).slice(-2)),1)],64))],10,_hoisted_1$11))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),zn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(_n),Gn=>(openBlock(),createElementBlock("div",{key:Gn,class:normalizeClass([unref(Fe).be("spinner","wrapper"),unref(Fe).is("arrow")]),onMouseenter:Wn=>En(Gn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),In]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Mn]]),createBaseVNode("ul",{class:normalizeClass(unref(Fe).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Cn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Wn===unref(wn)[Gn]),unref(Fe).is("disabled",unref(kn)[Gn][Wn])])},[typeof Wn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Wn%12||12:Wn)).slice(-2))+toDisplayString(xn(Wn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Wn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$G))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$22,[["__file","basic-time-spinner.vue"]]);const _sfc_main$21=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{arrowControl:Ue,disabledHours:qe,disabledMinutes:At,disabledSeconds:Dt,defaultValue:Lt}=Fe.props,{getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}=buildAvailableTimeSlotGetter(qe,At,Dt),bn=useNamespace("time"),{t:_n,lang:wn}=useLocale(),kn=ref([0,2]),Cn=useOldValue(Ie),Sn=computed(()=>isUndefined(Ie.actualVisible)?`${bn.namespace.value}-zoom-in-top`:""),xn=computed(()=>Ie.format.includes("ss")),En=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),Tn=Fn=>{const zn=dayjs(Fn).locale(wn.value),jn=Vn(zn);return zn.isSame(jn)},An=()=>{$e("pick",Cn.value,!1)},$n=(Fn=!1,zn=!1)=>{zn||$e("pick",Ie.parsedValue,Fn)},Pn=Fn=>{if(!Ie.visible)return;const zn=Vn(Fn).millisecond(0);$e("pick",zn,!0)},Nn=(Fn,zn)=>{$e("select-range",Fn,zn),kn.value=[Fn,zn]},Mn=Fn=>{const zn=[0,3].concat(xn.value?[6]:[]),jn=["hours","minutes"].concat(xn.value?["seconds"]:[]),Wn=(zn.indexOf(kn.value[0])+Fn+zn.length)%zn.length;On.start_emitSelectRange(jn[Wn])},In=Fn=>{const zn=Fn.code,{left:jn,right:Gn,up:Wn,down:Xn}=EVENT_CODE;if([jn,Gn].includes(zn)){Mn(zn===jn?-1:1),Fn.preventDefault();return}if([Wn,Xn].includes(zn)){const er=zn===Wn?-1:1;On.start_scrollDown(er),Fn.preventDefault();return}},{timePickerOptions:On,onSetOption:Rn,getAvailableTime:Bn}=useTimePanel({getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}),Vn=Fn=>Bn(Fn,Ie.datetimeRole||"",!0),Ln=Fn=>Fn?dayjs(Fn,Ie.format).locale(wn.value):null,Dn=Fn=>Fn?Fn.format(Ie.format):null,Hn=()=>dayjs(Lt).locale(wn.value);return $e("set-picker-option",["isValidValue",Tn]),$e("set-picker-option",["formatToString",Dn]),$e("set-picker-option",["parseUserInput",Ln]),$e("set-picker-option",["handleKeydownInput",In]),$e("set-picker-option",["getRangeAvailableTime",Vn]),$e("set-picker-option",["getDefaultValue",Hn]),(Fn,zn)=>(openBlock(),createBlock(Transition,{name:unref(Sn)},{default:withCtx(()=>[Fn.actualVisible||Fn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(bn).be("panel","content"),{"has-seconds":unref(xn)}])},[createVNode$1(TimeSpinner,{ref:"spinner",role:Fn.datetimeRole||"start","arrow-control":unref(Ue),"show-seconds":unref(xn),"am-pm-mode":unref(En),"spinner-date":Fn.parsedValue,"disabled-hours":unref(qe),"disabled-minutes":unref(At),"disabled-seconds":unref(Dt),onChange:Pn,onSetOption:unref(Rn),onSelectRange:Nn},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(bn).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"cancel"]),onClick:An},toDisplayString(unref(_n)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"confirm"]),onClick:zn[0]||(zn[0]=jn=>$n())},toDisplayString(unref(_n)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$21,[["__file","panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$10=["disabled"],_sfc_main$20=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=(or,sr)=>{const Kn=[];for(let Zn=or;Zn<=sr;Zn++)Kn.push(Zn);return Kn},{t:Ue,lang:qe}=useLocale(),At=useNamespace("time"),Dt=useNamespace("picker"),Lt=inject("EP_PICKER_BASE"),{arrowControl:jt,disabledHours:hn,disabledMinutes:vn,disabledSeconds:bn,defaultValue:_n}=Lt.props,wn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),kn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),Cn=computed(()=>Ie.parsedValue[0]),Sn=computed(()=>Ie.parsedValue[1]),xn=useOldValue(Ie),En=()=>{$e("pick",xn.value,!1)},Tn=computed(()=>Ie.format.includes("ss")),An=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),$n=(or=!1)=>{$e("pick",[Cn.value,Sn.value],or)},Pn=or=>{In(or.millisecond(0),Sn.value)},Nn=or=>{In(Cn.value,or.millisecond(0))},Mn=or=>{const sr=or.map(Zn=>dayjs(Zn).locale(qe.value)),Kn=Gn(sr);return sr[0].isSame(Kn[0])&&sr[1].isSame(Kn[1])},In=(or,sr)=>{$e("pick",[or,sr],!0)},On=computed(()=>Cn.value>Sn.value),Rn=ref([0,2]),Bn=(or,sr)=>{$e("select-range",or,sr,"min"),Rn.value=[or,sr]},Vn=computed(()=>Tn.value?11:8),Ln=(or,sr)=>{$e("select-range",or,sr,"max");const Kn=unref(Vn);Rn.value=[or+Kn,sr+Kn]},Dn=or=>{const sr=Tn.value?[0,3,6,11,14,17]:[0,3,8,11],Kn=["hours","minutes"].concat(Tn.value?["seconds"]:[]),nr=(sr.indexOf(Rn.value[0])+or+sr.length)%sr.length,lr=sr.length/2;nr{const sr=or.code,{left:Kn,right:Zn,up:nr,down:lr}=EVENT_CODE;if([Kn,Zn].includes(sr)){Dn(sr===Kn?-1:1),or.preventDefault();return}if([nr,lr].includes(sr)){const ir=sr===nr?-1:1,kr=Rn.value[0]{const Kn=hn?hn(or):[],Zn=or==="start",lr=(sr||(Zn?Sn.value:Cn.value)).hour(),ir=Zn?Fe(lr+1,23):Fe(0,lr-1);return union(Kn,ir)},zn=(or,sr,Kn)=>{const Zn=vn?vn(or,sr):[],nr=sr==="start",lr=Kn||(nr?Sn.value:Cn.value),ir=lr.hour();if(or!==ir)return Zn;const kr=lr.minute(),Cr=nr?Fe(kr+1,59):Fe(0,kr-1);return union(Zn,Cr)},jn=(or,sr,Kn,Zn)=>{const nr=bn?bn(or,sr,Kn):[],lr=Kn==="start",ir=Zn||(lr?Sn.value:Cn.value),kr=ir.hour(),Cr=ir.minute();if(or!==kr||sr!==Cr)return nr;const Er=ir.second(),dr=lr?Fe(Er+1,59):Fe(0,Er-1);return union(nr,dr)},Gn=([or,sr])=>[Jn(or,"start",!0,sr),Jn(sr,"end",!1,or)],{getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}=buildAvailableTimeSlotGetter(Fn,zn,jn),{timePickerOptions:rr,getAvailableTime:Jn,onSetOption:Yn}=useTimePanel({getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}),qn=or=>or?isArray$6(or)?or.map(sr=>dayjs(sr,Ie.format).locale(qe.value)):dayjs(or,Ie.format).locale(qe.value):null,ar=or=>or?isArray$6(or)?or.map(sr=>sr.format(Ie.format)):or.format(Ie.format):null,tr=()=>{if(isArray$6(_n))return _n.map(sr=>dayjs(sr).locale(qe.value));const or=dayjs(_n).locale(qe.value);return[or,or.add(60,"m")]};return $e("set-picker-option",["formatToString",ar]),$e("set-picker-option",["parseUserInput",qn]),$e("set-picker-option",["isValidValue",Mn]),$e("set-picker-option",["handleKeydownInput",Hn]),$e("set-picker-option",["getDefaultValue",tr]),$e("set-picker-option",["getRangeAvailableTime",Gn]),(or,sr)=>or.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(At).b("range-picker"),unref(Dt).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(wn))},[createVNode$1(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Cn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Pn,onSetOption:unref(Yn),onSelectRange:Bn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(kn))},[createVNode$1(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Sn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Nn,onSetOption:unref(Yn),onSelectRange:Ln},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"cancel"]),onClick:sr[0]||(sr[0]=Kn=>En())},toDisplayString(unref(Ue)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"confirm"]),disabled:unref(On),onClick:sr[1]||(sr[1]=Kn=>$n())},toDisplayString(unref(Ue)("el.datepicker.confirm")),11,_hoisted_1$10)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$20,[["__file","panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(xe,$e){const Ie=ref(),[Fe,Ue]=xe.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],qe=At=>$e.emit("update:modelValue",At);return provide("ElPopperOptions",xe.popperOptions),$e.expose({focus:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleFocusInput(At)},blur:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleBlurInput(At)},handleOpen:()=>{var At;(At=Ie.value)==null||At.handleOpen()},handleClose:()=>{var At;(At=Ie.value)==null||At.handleClose()}}),()=>{var At;const Dt=(At=xe.format)!=null?At:DEFAULT_FORMATS_TIME;return createVNode$1(CommonPicker,mergeProps(xe,{ref:Ie,type:Fe,format:Dt,"onUpdate:modelValue":qe}),{default:Lt=>createVNode$1(Ue,Lt,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=xe=>{xe.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(xe,$e)=>{const Ie=xe.subtract(1,"month").endOf("month").date();return rangeArr($e).map((Fe,Ue)=>Ie-($e-Ue-1))},getMonthDays=xe=>{const $e=xe.daysInMonth();return rangeArr($e).map((Ie,Fe)=>Fe+1)},toNestedArr=xe=>rangeArr(xe.length/7).map($e=>{const Ie=$e*7;return xe.slice(Ie,Ie+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:xe=>isObject$8(xe)};var localeData$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){var qe=Fe.prototype,At=function(vn){return vn&&(vn.indexOf?vn:vn.s)},Dt=function(vn,bn,_n,wn,kn){var Cn=vn.name?vn:vn.$locale(),Sn=At(Cn[bn]),xn=At(Cn[_n]),En=Sn||xn.map(function(An){return An.slice(0,wn)});if(!kn)return En;var Tn=Cn.weekStart;return En.map(function(An,$n){return En[($n+(Tn||0))%7]})},Lt=function(){return Ue.Ls[Ue.locale()]},jt=function(vn,bn){return vn.formats[bn]||function(_n){return _n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(wn,kn,Cn){return kn||Cn.slice(1)})}(vn.formats[bn.toUpperCase()])},hn=function(){var vn=this;return{months:function(bn){return bn?bn.format("MMMM"):Dt(vn,"months")},monthsShort:function(bn){return bn?bn.format("MMM"):Dt(vn,"monthsShort","months",3)},firstDayOfWeek:function(){return vn.$locale().weekStart||0},weekdays:function(bn){return bn?bn.format("dddd"):Dt(vn,"weekdays")},weekdaysMin:function(bn){return bn?bn.format("dd"):Dt(vn,"weekdaysMin","weekdays",2)},weekdaysShort:function(bn){return bn?bn.format("ddd"):Dt(vn,"weekdaysShort","weekdays",3)},longDateFormat:function(bn){return jt(vn.$locale(),bn)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};qe.localeData=function(){return hn.bind(this)()},Ue.localeData=function(){var vn=Lt();return{firstDayOfWeek:function(){return vn.weekStart||0},weekdays:function(){return Ue.weekdays()},weekdaysShort:function(){return Ue.weekdaysShort()},weekdaysMin:function(){return Ue.weekdaysMin()},months:function(){return Ue.months()},monthsShort:function(){return Ue.monthsShort()},longDateFormat:function(bn){return jt(vn,bn)},meridiem:vn.meridiem,ordinal:vn.ordinal}},Ue.months=function(){return Dt(Lt(),"months")},Ue.monthsShort=function(){return Dt(Lt(),"monthsShort","months",3)},Ue.weekdays=function(vn){return Dt(Lt(),"weekdays",null,null,vn)},Ue.weekdaysShort=function(vn){return Dt(Lt(),"weekdaysShort","weekdays",3,vn)},Ue.weekdaysMin=function(vn){return Dt(Lt(),"weekdaysMin","weekdays",2,vn)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(xe,$e)=>{dayjs.extend(localeData);const Ie=dayjs.localeData().firstDayOfWeek(),{t:Fe,lang:Ue}=useLocale(),qe=dayjs().locale(Ue.value),At=computed(()=>!!xe.range&&!!xe.range.length),Dt=computed(()=>{let bn=[];if(At.value){const[_n,wn]=xe.range,kn=rangeArr(wn.date()-_n.date()+1).map(xn=>({text:_n.date()+xn,type:"current"}));let Cn=kn.length%7;Cn=Cn===0?0:7-Cn;const Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=kn.concat(Sn)}else{const _n=xe.date.startOf("month").day(),wn=getPrevMonthLastDays(xe.date,(_n-Ie+7)%7).map(xn=>({text:xn,type:"prev"})),kn=getMonthDays(xe.date).map(xn=>({text:xn,type:"current"}));bn=[...wn,...kn];const Cn=7-(bn.length%7||7),Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=bn.concat(Sn)}return toNestedArr(bn)}),Lt=computed(()=>{const bn=Ie;return bn===0?WEEK_DAYS.map(_n=>Fe(`el.datepicker.weeks.${_n}`)):WEEK_DAYS.slice(bn).concat(WEEK_DAYS.slice(0,bn)).map(_n=>Fe(`el.datepicker.weeks.${_n}`))}),jt=(bn,_n)=>{switch(_n){case"prev":return xe.date.startOf("month").subtract(1,"month").date(bn);case"next":return xe.date.startOf("month").add(1,"month").date(bn);case"current":return xe.date.date(bn)}};return{now:qe,isInRange:At,rows:Dt,weekDays:Lt,getFormattedDate:jt,handlePickDay:({text:bn,type:_n})=>{const wn=jt(bn,_n);$e("pick",wn)},getSlotData:({text:bn,type:_n})=>{const wn=jt(bn,_n);return{isSelected:wn.isSame(xe.selectedDay),type:`${_n}-month`,day:wn.format("YYYY-MM-DD"),date:wn.toDate()}}}},_hoisted_1$$={key:0},_hoisted_2$F=["onClick"],__default__$1o=defineComponent({name:"DateTable"}),_sfc_main$1$=defineComponent({...__default__$1o,props:dateTableProps,emits:dateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{isInRange:Ue,now:qe,rows:At,weekDays:Dt,getFormattedDate:Lt,handlePickDay:jt,getSlotData:hn}=useDateTable(Fe,Ie),vn=useNamespace("calendar-table"),bn=useNamespace("calendar-day"),_n=({text:wn,type:kn})=>{const Cn=[kn];if(kn==="current"){const Sn=Lt(wn,kn);Sn.isSame(Fe.selectedDay,"day")&&Cn.push(bn.is("selected")),Sn.isSame(qe,"day")&&Cn.push(bn.is("today"))}return Cn};return $e({getFormattedDate:Lt}),(wn,kn)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(vn).b(),unref(vn).is("range",unref(Ue))]),cellspacing:"0",cellpadding:"0"},[wn.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$$,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),Cn=>(openBlock(),createElementBlock("th",{key:Cn},toDisplayString(Cn),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(At),(Cn,Sn)=>(openBlock(),createElementBlock("tr",{key:Sn,class:normalizeClass({[unref(vn).e("row")]:!0,[unref(vn).em("row","hide-border")]:Sn===0&&wn.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Cn,(xn,En)=>(openBlock(),createElementBlock("td",{key:En,class:normalizeClass(_n(xn)),onClick:Tn=>unref(jt)(xn)},[createBaseVNode("div",{class:normalizeClass(unref(bn).b())},[renderSlot(wn.$slots,"date-cell",{data:unref(hn)(xn)},()=>[createBaseVNode("span",null,toDisplayString(xn.text),1)])],2)],10,_hoisted_2$F))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1$,[["__file","date-table.vue"]]);const adjacentMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=$e.startOf("month"),qe=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe;return[[xe,Ie],[qe.startOf("week"),$e]]},threeConsecutiveMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=xe.add(1,"month").startOf("month"),Ue=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe,qe=Ue.endOf("month"),At=$e.startOf("month"),Dt=qe.isSame(At,"week")?At.add(1,"week"):At;return[[xe,Ie],[Ue.startOf("week"),qe],[Dt.startOf("week"),$e]]},useCalendar=(xe,$e,Ie)=>{const{lang:Fe}=useLocale(),Ue=ref(),qe=dayjs().locale(Fe.value),At=computed({get(){return xe.modelValue?Lt.value:Ue.value},set(Cn){if(!Cn)return;Ue.value=Cn;const Sn=Cn.toDate();$e(INPUT_EVENT,Sn),$e(UPDATE_MODEL_EVENT,Sn)}}),Dt=computed(()=>{if(!xe.range)return[];const Cn=xe.range.map(En=>dayjs(En).locale(Fe.value)),[Sn,xn]=Cn;return Sn.isAfter(xn)?[]:Sn.isSame(xn,"month")?_n(Sn,xn):Sn.add(1,"month").month()!==xn.month()?[]:_n(Sn,xn)}),Lt=computed(()=>xe.modelValue?dayjs(xe.modelValue).locale(Fe.value):At.value||(Dt.value.length?Dt.value[0][0]:qe)),jt=computed(()=>Lt.value.subtract(1,"month").date(1)),hn=computed(()=>Lt.value.add(1,"month").date(1)),vn=computed(()=>Lt.value.subtract(1,"year").date(1)),bn=computed(()=>Lt.value.add(1,"year").date(1)),_n=(Cn,Sn)=>{const xn=Cn.startOf("week"),En=Sn.endOf("week"),Tn=xn.get("month"),An=En.get("month");return Tn===An?[[xn,En]]:(Tn+1)%12===An?adjacentMonth(xn,En):Tn+2===An||(Tn+1)%11===An?threeConsecutiveMonth(xn,En):[]},wn=Cn=>{At.value=Cn};return{calculateValidatedDateRange:_n,date:Lt,realSelectedDay:At,pickDay:wn,selectDate:Cn=>{const xn={"prev-month":jt.value,"next-month":hn.value,"prev-year":vn.value,"next-year":bn.value,today:qe}[Cn];xn.isSame(Lt.value,"day")||wn(xn)},validatedRange:Dt}},isValidRange$1=xe=>isArray$6(xe)&&xe.length===2&&xe.every($e=>isDate$1($e)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:xe=>isDate$1(xe),[INPUT_EVENT]:xe=>isDate$1(xe)},COMPONENT_NAME$g="ElCalendar",__default__$1n=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1_=defineComponent({...__default__$1n,props:calendarProps,emits:calendarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("calendar"),{calculateValidatedDateRange:qe,date:At,pickDay:Dt,realSelectedDay:Lt,selectDate:jt,validatedRange:hn}=useCalendar(Fe,Ie),{t:vn}=useLocale(),bn=computed(()=>{const _n=`el.datepicker.month${At.value.format("M")}`;return`${At.value.year()} ${vn("el.datepicker.year")} ${vn(_n)}`});return $e({selectedDay:Lt,pickDay:Dt,selectDate:jt,calculateValidatedDateRange:qe}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[renderSlot(_n.$slots,"header",{date:unref(bn)},()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},toDisplayString(unref(bn)),3),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("button-group"))},[createVNode$1(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode$1(unref(ElButton),{size:"small",onClick:wn[0]||(wn[0]=kn=>unref(jt)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.prevMonth")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[1]||(wn[1]=kn=>unref(jt)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.today")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[2]||(wn[2]=kn=>unref(jt)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("body"))},[createVNode$1(DateTable$1,{date:unref(At),"selected-day":unref(Lt),onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(kn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(kn)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(kn,Cn)=>(openBlock(),createBlock(DateTable$1,{key:Cn,date:kn[0],"selected-day":unref(Lt),range:kn,"hide-header":Cn!==0,onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(Sn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(Sn)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar$1=_export_sfc$1(_sfc_main$1_,[["__file","calendar.vue"]]);const ElCalendar=withInstall(Calendar$1),cardProps=buildProps({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1m=defineComponent({name:"ElCard"}),_sfc_main$1Z=defineComponent({...__default__$1m,props:cardProps,setup(xe){const $e=useNamespace("card");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).b(),unref($e).is(`${Ie.shadow}-shadow`)])},[Ie.$slots.header||Ie.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($e).e("header"))},[renderSlot(Ie.$slots,"header",{},()=>[createTextVNode(toDisplayString(Ie.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref($e).e("body"),Ie.bodyClass]),style:normalizeStyle$1(Ie.bodyStyle)},[renderSlot(Ie.$slots,"default")],6),Ie.$slots.footer||Ie.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($e).e("footer"))},[renderSlot(Ie.$slots,"footer",{},()=>[createTextVNode(toDisplayString(Ie.footer),1)])],2)):createCommentVNode("v-if",!0)],2))}});var Card=_export_sfc$1(_sfc_main$1Z,[["__file","card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}}),carouselEmits={change:(xe,$e)=>[xe,$e].every(isNumber$1)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(xe,$e,Ie)=>{const{children:Fe,addChild:Ue,removeChild:qe}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),At=useSlots(),Dt=ref(-1),Lt=ref(null),jt=ref(!1),hn=ref(),vn=ref(0),bn=ref(!0),_n=ref(!0),wn=ref(!1),kn=computed(()=>xe.arrow!=="never"&&!unref(xn)),Cn=computed(()=>Fe.value.some(Jn=>Jn.props.label.toString().length>0)),Sn=computed(()=>xe.type==="card"),xn=computed(()=>xe.direction==="vertical"),En=computed(()=>xe.height!=="auto"?{height:xe.height}:{height:`${vn.value}px`,overflow:"hidden"}),Tn=throttle$3(Jn=>{In(Jn)},THROTTLE_TIME,{trailing:!0}),An=throttle$3(Jn=>{zn(Jn)},THROTTLE_TIME),$n=Jn=>bn.value?Dt.value<=1?Jn<=1:Jn>1:!0;function Pn(){Lt.value&&(clearInterval(Lt.value),Lt.value=null)}function Nn(){xe.interval<=0||!xe.autoplay||Lt.value||(Lt.value=setInterval(()=>Mn(),xe.interval))}const Mn=()=>{_n.value||(wn.value=!0),_n.value=!1,Dt.valuetr.props.name===Jn);ar.length>0&&(Jn=Fe.value.indexOf(ar[0]))}if(Jn=Number(Jn),Number.isNaN(Jn)||Jn!==Math.floor(Jn))return;const Yn=Fe.value.length,qn=Dt.value;Jn<0?Dt.value=xe.loop?Yn-1:0:Jn>=Yn?Dt.value=xe.loop?0:Yn-1:Dt.value=Jn,qn===Dt.value&&On(qn),Wn()}function On(Jn){Fe.value.forEach((Yn,qn)=>{Yn.translateItem(qn,Dt.value,Jn)})}function Rn(Jn,Yn){var qn,ar,tr,or;const sr=unref(Fe),Kn=sr.length;if(Kn===0||!Jn.states.inStage)return!1;const Zn=Yn+1,nr=Yn-1,lr=Kn-1,ir=sr[lr].states.active,kr=sr[0].states.active,Cr=(ar=(qn=sr[Zn])==null?void 0:qn.states)==null?void 0:ar.active,Er=(or=(tr=sr[nr])==null?void 0:tr.states)==null?void 0:or.active;return Yn===lr&&kr||Cr?"left":Yn===0&&ir||Er?"right":!1}function Bn(){jt.value=!0,xe.pauseOnHover&&Pn()}function Vn(){jt.value=!1,Nn()}function Ln(){wn.value=!1}function Dn(Jn){unref(xn)||Fe.value.forEach((Yn,qn)=>{Jn===Rn(Yn,qn)&&(Yn.states.hover=!0)})}function Hn(){unref(xn)||Fe.value.forEach(Jn=>{Jn.states.hover=!1})}function Fn(Jn){Jn!==Dt.value&&(_n.value||(wn.value=!0)),Dt.value=Jn}function zn(Jn){xe.trigger==="hover"&&Jn!==Dt.value&&(Dt.value=Jn,_n.value||(wn.value=!0))}function jn(){In(Dt.value-1)}function Gn(){In(Dt.value+1)}function Wn(){Pn(),xe.pauseOnHover||Nn()}function Xn(Jn){xe.height==="auto"&&(vn.value=Jn)}function er(){var Jn;const Yn=(Jn=At.default)==null?void 0:Jn.call(At);if(!Yn)return null;const qn=flattedChildren(Yn),ar="ElCarouselItem",tr=qn.filter(or=>isVNode(or)&&or.type.name===ar);return(tr==null?void 0:tr.length)===2&&xe.loop&&!Sn.value?(bn.value=!0,tr):(bn.value=!1,null)}watch(()=>Dt.value,(Jn,Yn)=>{On(Yn),bn.value&&(Jn=Jn%2,Yn=Yn%2),Yn>-1&&$e("change",Jn,Yn)}),watch(()=>xe.autoplay,Jn=>{Jn?Nn():Pn()}),watch(()=>xe.loop,()=>{In(Dt.value)}),watch(()=>xe.interval,()=>{Wn()});const rr=shallowRef();return onMounted(()=>{watch(()=>Fe.value,()=>{Fe.value.length>0&&In(xe.initialIndex)},{immediate:!0}),rr.value=useResizeObserver(hn.value,()=>{On()}),Nn()}),onBeforeUnmount(()=>{Pn(),hn.value&&rr.value&&rr.value.stop()}),provide(carouselContextKey,{root:hn,isCardType:Sn,isVertical:xn,items:Fe,loop:xe.loop,addItem:Ue,removeItem:qe,setActiveItem:In,setContainerHeight:Xn}),{root:hn,activeIndex:Dt,arrowDisplay:kn,hasLabel:Cn,hover:jt,isCardType:Sn,isTransitioning:wn,items:Fe,isVertical:xn,containerStyle:En,isItemsTwoLength:bn,handleButtonEnter:Dn,handleTransitionEnd:Ln,handleButtonLeave:Hn,handleIndicatorClick:Fn,handleMouseEnter:Bn,handleMouseLeave:Vn,setActiveItem:In,prev:jn,next:Gn,PlaceholderItem:er,isTwoLengthShow:$n,throttledArrowClick:Tn,throttledIndicatorHover:An}},_hoisted_1$_=["aria-label"],_hoisted_2$E=["aria-label"],_hoisted_3$k=["onMouseenter","onClick"],_hoisted_4$c=["aria-label"],_hoisted_5$8={key:0},_hoisted_6$5={key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},_hoisted_7$3=createBaseVNode("defs",null,[createBaseVNode("filter",{id:"elCarouselHorizontal"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),createBaseVNode("filter",{id:"elCarouselVertical"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1),_hoisted_8$3=[_hoisted_7$3],COMPONENT_NAME$f="ElCarousel",__default__$1l=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1Y=defineComponent({...__default__$1l,props:carouselProps,emits:carouselEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{root:Ue,activeIndex:qe,arrowDisplay:At,hasLabel:Dt,hover:Lt,isCardType:jt,items:hn,isVertical:vn,containerStyle:bn,handleButtonEnter:_n,handleButtonLeave:wn,isTransitioning:kn,handleIndicatorClick:Cn,handleMouseEnter:Sn,handleMouseLeave:xn,handleTransitionEnd:En,setActiveItem:Tn,prev:An,next:$n,PlaceholderItem:Pn,isTwoLengthShow:Nn,throttledArrowClick:Mn,throttledIndicatorHover:In}=useCarousel(Fe,Ie),On=useNamespace("carousel"),{t:Rn}=useLocale(),Bn=computed(()=>{const Dn=[On.b(),On.m(Fe.direction)];return unref(jt)&&Dn.push(On.m("card")),Dn}),Vn=computed(()=>{const Dn=[On.e("container")];return Fe.motionBlur&&unref(kn)&&Dn.push(unref(vn)?`${On.namespace.value}-transitioning-vertical`:`${On.namespace.value}-transitioning`),Dn}),Ln=computed(()=>{const Dn=[On.e("indicators"),On.em("indicators",Fe.direction)];return unref(Dt)&&Dn.push(On.em("indicators","labels")),Fe.indicatorPosition==="outside"&&Dn.push(On.em("indicators","outside")),unref(vn)&&Dn.push(On.em("indicators","right")),Dn});return $e({setActiveItem:Tn,prev:An,next:$n}),(Dn,Hn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:Ue,class:normalizeClass(unref(Bn)),onMouseenter:Hn[7]||(Hn[7]=withModifiers((...Fn)=>unref(Sn)&&unref(Sn)(...Fn),["stop"])),onMouseleave:Hn[8]||(Hn[8]=withModifiers((...Fn)=>unref(xn)&&unref(xn)(...Fn),["stop"]))},[unref(At)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","left")]),"aria-label":unref(Rn)("el.carousel.leftArrow"),onMouseenter:Hn[0]||(Hn[0]=Fn=>unref(_n)("left")),onMouseleave:Hn[1]||(Hn[1]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[2]||(Hn[2]=withModifiers(Fn=>unref(Mn)(unref(qe)-1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],42,_hoisted_1$_),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(At)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","right")]),"aria-label":unref(Rn)("el.carousel.rightArrow"),onMouseenter:Hn[3]||(Hn[3]=Fn=>unref(_n)("right")),onMouseleave:Hn[4]||(Hn[4]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[5]||(Hn[5]=withModifiers(Fn=>unref(Mn)(unref(qe)+1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],42,_hoisted_2$E),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)unref(En)&&unref(En)(...Fn))},[createVNode$1(unref(Pn)),renderSlot(Dn.$slots,"default")],38),Dn.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:2,class:normalizeClass(unref(Ln))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(Fn,zn)=>withDirectives((openBlock(),createElementBlock("li",{key:zn,class:normalizeClass([unref(On).e("indicator"),unref(On).em("indicator",Dn.direction),unref(On).is("active",zn===unref(qe))]),onMouseenter:jn=>unref(In)(zn),onClick:withModifiers(jn=>unref(Cn)(zn),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(On).e("button")),"aria-label":unref(Rn)("el.carousel.indicator",{index:zn+1})},[unref(Dt)?(openBlock(),createElementBlock("span",_hoisted_5$8,toDisplayString(Fn.props.label),1)):createCommentVNode("v-if",!0)],10,_hoisted_4$c)],42,_hoisted_3$k)),[[vShow,unref(Nn)(zn)]])),128))],2)):createCommentVNode("v-if",!0),Fe.motionBlur?(openBlock(),createElementBlock("svg",_hoisted_6$5,_hoisted_8$3)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1Y,[["__file","carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=(xe,$e)=>{const Ie=inject(carouselContextKey),Fe=getCurrentInstance(),Ue=.83,qe=ref(),At=ref(!1),Dt=ref(0),Lt=ref(1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref(!1),{isCardType:_n,isVertical:wn}=Ie;function kn(Tn,An,$n){const Pn=$n-1,Nn=An-1,Mn=An+1,In=$n/2;return An===0&&Tn===Pn?-1:An===Pn&&Tn===0?$n:Tn=In?$n+1:Tn>Mn&&Tn-An>=In?-2:Tn}function Cn(Tn,An){var $n,Pn;const Nn=unref(wn)?(($n=Ie.root.value)==null?void 0:$n.offsetHeight)||0:((Pn=Ie.root.value)==null?void 0:Pn.offsetWidth)||0;return vn.value?Nn*((2-Ue)*(Tn-An)+1)/4:Tn{var Pn;const Nn=unref(_n),Mn=(Pn=Ie.items.value.length)!=null?Pn:Number.NaN,In=Tn===An;!Nn&&!isUndefined($n)&&(bn.value=In||Tn===$n),!In&&Mn>2&&Ie.loop&&(Tn=kn(Tn,An,Mn));const On=unref(wn);jt.value=In,Nn?(vn.value=Math.round(Math.abs(Tn-An))<=1,Dt.value=Cn(Tn,An),Lt.value=unref(jt)?1:Ue):Dt.value=Sn(Tn,An,On),hn.value=!0,In&&qe.value&&Ie.setContainerHeight(qe.value.offsetHeight)};function En(){if(Ie&&unref(_n)){const Tn=Ie.items.value.findIndex(({uid:An})=>An===Fe.uid);Ie.setActiveItem(Tn)}}return onMounted(()=>{Ie.addItem({props:xe,states:reactive({hover:At,translate:Dt,scale:Lt,active:jt,ready:hn,inStage:vn,animating:bn}),uid:Fe.uid,translateItem:xn})}),onUnmounted(()=>{Ie.removeItem(Fe.uid)}),{carouselItemRef:qe,active:jt,animating:bn,hover:At,inStage:vn,isVertical:wn,translate:Dt,isCardType:_n,scale:Lt,ready:hn,handleItemClick:En}},__default__$1k=defineComponent({name:"ElCarouselItem"}),_sfc_main$1X=defineComponent({...__default__$1k,props:carouselItemProps,setup(xe){const $e=xe,Ie=useNamespace("carousel"),{carouselItemRef:Fe,active:Ue,animating:qe,hover:At,inStage:Dt,isVertical:Lt,translate:jt,isCardType:hn,scale:vn,ready:bn,handleItemClick:_n}=useCarouselItem($e),wn=computed(()=>[Ie.e("item"),Ie.is("active",Ue.value),Ie.is("in-stage",Dt.value),Ie.is("hover",At.value),Ie.is("animating",qe.value),{[Ie.em("item","card")]:hn.value,[Ie.em("item","card-vertical")]:hn.value&&Lt.value}]),kn=computed(()=>{const Sn=`${`translate${unref(Lt)?"Y":"X"}`}(${unref(jt)}px)`,xn=`scale(${unref(vn)})`;return{transform:[Sn,xn].join(" ")}});return(Cn,Sn)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:Fe,class:normalizeClass(unref(wn)),style:normalizeStyle$1(unref(kn)),onClick:Sn[0]||(Sn[0]=(...xn)=>unref(_n)&&unref(_n)(...xn))},[unref(hn)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("mask"))},null,2)),[[vShow,!unref(Ue)]]):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default")],6)),[[vShow,unref(bn)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1X,[["__file","carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaControls"])},checkboxEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe),change:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:xe,isChecked:$e})=>{const Ie=inject(checkboxGroupContextKey,void 0),Fe=computed(()=>{var qe,At;const Dt=(qe=Ie==null?void 0:Ie.max)==null?void 0:qe.value,Lt=(At=Ie==null?void 0:Ie.min)==null?void 0:At.value;return!isUndefined(Dt)&&xe.value.length>=Dt&&!$e.value||!isUndefined(Lt)&&xe.value.length<=Lt&&$e.value});return{isDisabled:useFormDisabled(computed(()=>(Ie==null?void 0:Ie.disabled.value)||Fe.value)),isLimitDisabled:Fe}},useCheckboxEvent=(xe,{model:$e,isLimitExceeded:Ie,hasOwnLabel:Fe,isDisabled:Ue,isLabeledByFormItem:qe})=>{const At=inject(checkboxGroupContextKey,void 0),{formItem:Dt}=useFormItem(),{emit:Lt}=getCurrentInstance();function jt(wn){var kn,Cn,Sn,xn;return[!0,xe.trueValue,xe.trueLabel].includes(wn)?(Cn=(kn=xe.trueValue)!=null?kn:xe.trueLabel)!=null?Cn:!0:(xn=(Sn=xe.falseValue)!=null?Sn:xe.falseLabel)!=null?xn:!1}function hn(wn,kn){Lt("change",jt(wn),kn)}function vn(wn){if(Ie.value)return;const kn=wn.target;Lt("change",jt(kn.checked),wn)}async function bn(wn){Ie.value||!Fe.value&&!Ue.value&&qe.value&&(wn.composedPath().some(Sn=>Sn.tagName==="LABEL")||($e.value=jt([!1,xe.falseValue,xe.falseLabel].includes($e.value)),await nextTick(),hn($e.value,wn)))}const _n=computed(()=>(At==null?void 0:At.validateEvent)||xe.validateEvent);return watch(()=>xe.modelValue,()=>{_n.value&&(Dt==null||Dt.validate("change").catch(wn=>void 0))}),{handleChange:vn,onClickRoot:bn}},useCheckboxModel=xe=>{const $e=ref(!1),{emit:Ie}=getCurrentInstance(),Fe=inject(checkboxGroupContextKey,void 0),Ue=computed(()=>isUndefined(Fe)===!1),qe=ref(!1),At=computed({get(){var Dt,Lt;return Ue.value?(Dt=Fe==null?void 0:Fe.modelValue)==null?void 0:Dt.value:(Lt=xe.modelValue)!=null?Lt:$e.value},set(Dt){var Lt,jt;Ue.value&&isArray$6(Dt)?(qe.value=((Lt=Fe==null?void 0:Fe.max)==null?void 0:Lt.value)!==void 0&&Dt.length>(Fe==null?void 0:Fe.max.value)&&Dt.length>At.value.length,qe.value===!1&&((jt=Fe==null?void 0:Fe.changeEvent)==null||jt.call(Fe,Dt))):(Ie(UPDATE_MODEL_EVENT,Dt),$e.value=Dt)}});return{model:At,isGroup:Ue,isLimitExceeded:qe}},useCheckboxStatus=(xe,$e,{model:Ie})=>{const Fe=inject(checkboxGroupContextKey,void 0),Ue=ref(!1),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed(()=>{const hn=Ie.value;return isBoolean(hn)?hn:isArray$6(hn)?isObject$8(qe.value)?hn.map(toRaw).some(vn=>isEqual$1(vn,qe.value)):hn.map(toRaw).includes(qe.value):hn!=null?hn===xe.trueValue||hn===xe.trueLabel:!!hn}),Dt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value}),{prop:!0}),Lt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value})),jt=computed(()=>!!$e.default||!isPropAbsent(qe.value));return{checkboxButtonSize:Dt,isChecked:At,isFocused:Ue,checkboxSize:Lt,hasOwnLabel:jt,actualValue:qe}},useCheckbox=(xe,$e)=>{const{formItem:Ie}=useFormItem(),{model:Fe,isGroup:Ue,isLimitExceeded:qe}=useCheckboxModel(xe),{isFocused:At,isChecked:Dt,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,actualValue:vn}=useCheckboxStatus(xe,$e,{model:Fe}),{isDisabled:bn}=useCheckboxDisabled({model:Fe,isChecked:Dt}),{inputId:_n,isLabeledByFormItem:wn}=useFormItemInputId(xe,{formItemContext:Ie,disableIdGeneration:hn,disableIdManagement:Ue}),{handleChange:kn,onClickRoot:Cn}=useCheckboxEvent(xe,{model:Fe,isLimitExceeded:qe,hasOwnLabel:hn,isDisabled:bn,isLabeledByFormItem:wn});return(()=>{function xn(){var En,Tn;isArray$6(Fe.value)&&!Fe.value.includes(vn.value)?Fe.value.push(vn.value):Fe.value=(Tn=(En=xe.trueValue)!=null?En:xe.trueLabel)!=null?Tn:!0}xe.checked&&xn()})(),useDeprecated({from:"controls",replacement:"aria-controls",version:"2.8.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.controls)),useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),useDeprecated({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.trueLabel)),useDeprecated({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.falseLabel)),{inputId:_n,isLabeledByFormItem:wn,isChecked:Dt,isDisabled:bn,isFocused:At,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,model:Fe,actualValue:vn,handleChange:kn,onClickRoot:Cn}},_hoisted_1$Z=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],_hoisted_2$D=["id","indeterminate","disabled","value","name","tabindex"],__default__$1j=defineComponent({name:"ElCheckbox"}),_sfc_main$1W=defineComponent({...__default__$1j,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{inputId:Fe,isLabeledByFormItem:Ue,isChecked:qe,isDisabled:At,isFocused:Dt,checkboxSize:Lt,hasOwnLabel:jt,model:hn,actualValue:vn,handleChange:bn,onClickRoot:_n}=useCheckbox($e,Ie),wn=useNamespace("checkbox"),kn=computed(()=>[wn.b(),wn.m(Lt.value),wn.is("disabled",At.value),wn.is("bordered",$e.border),wn.is("checked",qe.value)]),Cn=computed(()=>[wn.e("input"),wn.is("disabled",At.value),wn.is("checked",qe.value),wn.is("indeterminate",$e.indeterminate),wn.is("focus",Dt.value)]);return(Sn,xn)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(jt)&&unref(Ue)?"span":"label"),{class:normalizeClass(unref(kn)),"aria-controls":Sn.indeterminate?Sn.controls||Sn.ariaControls:null,onClick:unref(_n)},{default:withCtx(()=>{var En,Tn;return[createBaseVNode("span",{class:normalizeClass(unref(Cn))},[Sn.trueValue||Sn.falseValue||Sn.trueLabel||Sn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(Fe),"onUpdate:modelValue":xn[0]||(xn[0]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,name:Sn.name,tabindex:Sn.tabindex,disabled:unref(At),"true-value":(En=Sn.trueValue)!=null?En:Sn.trueLabel,"false-value":(Tn=Sn.falseValue)!=null?Tn:Sn.falseLabel,onChange:xn[1]||(xn[1]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[2]||(xn[2]=An=>Dt.value=!0),onBlur:xn[3]||(xn[3]=An=>Dt.value=!1),onClick:xn[4]||(xn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$Z)),[[vModelCheckbox,unref(hn)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(Fe),"onUpdate:modelValue":xn[5]||(xn[5]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,disabled:unref(At),value:unref(vn),name:Sn.name,tabindex:Sn.tabindex,onChange:xn[6]||(xn[6]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[7]||(xn[7]=An=>Dt.value=!0),onBlur:xn[8]||(xn[8]=An=>Dt.value=!1),onClick:xn[9]||(xn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$D)),[[vModelCheckbox,unref(hn)]]),createBaseVNode("span",{class:normalizeClass(unref(wn).e("inner"))},null,2)],2),unref(jt)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(wn).e("label"))},[renderSlot(Sn.$slots,"default"),Sn.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Sn.label),1)],64))],2)):createCommentVNode("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc$1(_sfc_main$1W,[["__file","checkbox.vue"]]);const _hoisted_1$Y=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$C=["name","tabindex","disabled","value"],__default__$1i=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1V=defineComponent({...__default__$1i,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{isFocused:Fe,isChecked:Ue,isDisabled:qe,checkboxButtonSize:At,model:Dt,actualValue:Lt,handleChange:jt}=useCheckbox($e,Ie),hn=inject(checkboxGroupContextKey,void 0),vn=useNamespace("checkbox"),bn=computed(()=>{var wn,kn,Cn,Sn;const xn=(kn=(wn=hn==null?void 0:hn.fill)==null?void 0:wn.value)!=null?kn:"";return{backgroundColor:xn,borderColor:xn,color:(Sn=(Cn=hn==null?void 0:hn.textColor)==null?void 0:Cn.value)!=null?Sn:"",boxShadow:xn?`-1px 0 0 0 ${xn}`:void 0}}),_n=computed(()=>[vn.b("button"),vn.bm("button",At.value),vn.is("disabled",qe.value),vn.is("checked",Ue.value),vn.is("focus",Fe.value)]);return(wn,kn)=>{var Cn,Sn;return openBlock(),createElementBlock("label",{class:normalizeClass(unref(_n))},[wn.trueValue||wn.falseValue||wn.trueLabel||wn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":kn[0]||(kn[0]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),"true-value":(Cn=wn.trueValue)!=null?Cn:wn.trueLabel,"false-value":(Sn=wn.falseValue)!=null?Sn:wn.falseLabel,onChange:kn[1]||(kn[1]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[2]||(kn[2]=xn=>Fe.value=!0),onBlur:kn[3]||(kn[3]=xn=>Fe.value=!1),onClick:kn[4]||(kn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$Y)),[[vModelCheckbox,unref(Dt)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":kn[5]||(kn[5]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),value:unref(Lt),onChange:kn[6]||(kn[6]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[7]||(kn[7]=xn=>Fe.value=!0),onBlur:kn[8]||(kn[8]=xn=>Fe.value=!1),onClick:kn[9]||(kn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$C)),[[vModelCheckbox,unref(Dt)]]),wn.$slots.default||wn.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(vn).be("button","inner")),style:normalizeStyle$1(unref(Ue)?unref(bn):void 0)},[renderSlot(wn.$slots,"default",{},()=>[createTextVNode(toDisplayString(wn.label),1)])],6)):createCommentVNode("v-if",!0)],2)}}});var CheckboxButton=_export_sfc$1(_sfc_main$1V,[["__file","checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),change:xe=>isArray$6(xe)},__default__$1h=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1U=defineComponent({...__default__$1h,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("checkbox"),{formItem:Ue}=useFormItem(),{inputId:qe,isLabeledByFormItem:At}=useFormItemInputId(Ie,{formItemContext:Ue}),Dt=async jt=>{$e(UPDATE_MODEL_EVENT,jt),await nextTick(),$e("change",jt)},Lt=computed({get(){return Ie.modelValue},set(jt){Dt(jt)}});return provide(checkboxGroupContextKey,{...pick(toRefs(Ie),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:Lt,changeEvent:Dt}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-checkbox-group",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!Ie.label)),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(Ue==null||Ue.validate("change").catch(jt=>void 0))}),(jt,hn)=>{var vn;return openBlock(),createBlock(resolveDynamicComponent(jt.tag),{id:unref(qe),class:normalizeClass(unref(Fe).b("group")),role:"group","aria-label":unref(At)?void 0:jt.label||jt.ariaLabel||"checkbox-group","aria-labelledby":unref(At)?(vn=unref(Ue))==null?void 0:vn.labelId:void 0},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc$1(_sfc_main$1U,[["__file","checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),radioProps=buildProps({...radioPropsBase,border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(xe,$e)=>{const Ie=ref(),Fe=inject(radioGroupKey,void 0),Ue=computed(()=>!!Fe),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed({get(){return Ue.value?Fe.modelValue:xe.modelValue},set(vn){Ue.value?Fe.changeEvent(vn):$e&&$e(UPDATE_MODEL_EVENT,vn),Ie.value.checked=xe.modelValue===qe.value}}),Dt=useFormSize(computed(()=>Fe==null?void 0:Fe.size)),Lt=useFormDisabled(computed(()=>Fe==null?void 0:Fe.disabled)),jt=ref(!1),hn=computed(()=>Lt.value||Ue.value&&At.value!==qe.value?-1:0);return useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),{radioRef:Ie,isGroup:Ue,radioGroup:Fe,focus:jt,size:Dt,disabled:Lt,tabIndex:hn,modelValue:At,actualValue:qe}},_hoisted_1$X=["value","name","disabled"],__default__$1g=defineComponent({name:"ElRadio"}),_sfc_main$1T=defineComponent({...__default__$1g,props:radioProps,emits:radioEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),{radioRef:Ue,radioGroup:qe,focus:At,size:Dt,disabled:Lt,modelValue:jt,actualValue:hn}=useRadio(Ie,$e);function vn(){nextTick(()=>$e("change",jt.value))}return(bn,_n)=>{var wn;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("focus",unref(At)),unref(Fe).is("bordered",bn.border),unref(Fe).is("checked",unref(jt)===unref(hn)),unref(Fe).m(unref(Dt))])},[createBaseVNode("span",{class:normalizeClass([unref(Fe).e("input"),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("checked",unref(jt)===unref(hn))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Ue,"onUpdate:modelValue":_n[0]||(_n[0]=kn=>isRef(jt)?jt.value=kn:null),class:normalizeClass(unref(Fe).e("original")),value:unref(hn),name:bn.name||((wn=unref(qe))==null?void 0:wn.name),disabled:unref(Lt),type:"radio",onFocus:_n[1]||(_n[1]=kn=>At.value=!0),onBlur:_n[2]||(_n[2]=kn=>At.value=!1),onChange:vn,onClick:_n[3]||(_n[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$X),[[vModelRadio,unref(jt)]]),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("label")),onKeydown:_n[4]||(_n[4]=withModifiers(()=>{},["stop"]))},[renderSlot(bn.$slots,"default",{},()=>[createTextVNode(toDisplayString(bn.label),1)])],34)],2)}}});var Radio=_export_sfc$1(_sfc_main$1T,[["__file","radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase}),_hoisted_1$W=["value","name","disabled"],__default__$1f=defineComponent({name:"ElRadioButton"}),_sfc_main$1S=defineComponent({...__default__$1f,props:radioButtonProps,setup(xe){const $e=xe,Ie=useNamespace("radio"),{radioRef:Fe,focus:Ue,size:qe,disabled:At,modelValue:Dt,radioGroup:Lt,actualValue:jt}=useRadio($e),hn=computed(()=>({backgroundColor:(Lt==null?void 0:Lt.fill)||"",borderColor:(Lt==null?void 0:Lt.fill)||"",boxShadow:Lt!=null&&Lt.fill?`-1px 0 0 0 ${Lt.fill}`:"",color:(Lt==null?void 0:Lt.textColor)||""}));return(vn,bn)=>{var _n;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Ie).b("button"),unref(Ie).is("active",unref(Dt)===unref(jt)),unref(Ie).is("disabled",unref(At)),unref(Ie).is("focus",unref(Ue)),unref(Ie).bm("button",unref(qe))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Fe,"onUpdate:modelValue":bn[0]||(bn[0]=wn=>isRef(Dt)?Dt.value=wn:null),class:normalizeClass(unref(Ie).be("button","original-radio")),value:unref(jt),type:"radio",name:vn.name||((_n=unref(Lt))==null?void 0:_n.name),disabled:unref(At),onFocus:bn[1]||(bn[1]=wn=>Ue.value=!0),onBlur:bn[2]||(bn[2]=wn=>Ue.value=!1),onClick:bn[3]||(bn[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$W),[[vModelRadio,unref(Dt)]]),createBaseVNode("span",{class:normalizeClass(unref(Ie).be("button","inner")),style:normalizeStyle$1(unref(Dt)===unref(jt)?unref(hn):{}),onKeydown:bn[4]||(bn[4]=withModifiers(()=>{},["stop"]))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.label),1)])],38)],2)}}});var RadioButton=_export_sfc$1(_sfc_main$1S,[["__file","radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),radioGroupEmits=radioEmits,_hoisted_1$V=["id","aria-label","aria-labelledby"],__default__$1e=defineComponent({name:"ElRadioGroup"}),_sfc_main$1R=defineComponent({...__default__$1e,props:radioGroupProps,emits:radioGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),Ue=useId(),qe=ref(),{formItem:At}=useFormItem(),{inputId:Dt,isLabeledByFormItem:Lt}=useFormItemInputId(Ie,{formItemContext:At}),jt=vn=>{$e(UPDATE_MODEL_EVENT,vn),nextTick(()=>$e("change",vn))};onMounted(()=>{const vn=qe.value.querySelectorAll("[type=radio]"),bn=vn[0];!Array.from(vn).some(_n=>_n.checked)&&bn&&(bn.tabIndex=0)});const hn=computed(()=>Ie.name||Ue.value);return provide(radioGroupKey,reactive({...toRefs(Ie),changeEvent:jt,name:hn})),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(At==null||At.validate("change").catch(vn=>void 0))}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>!!Ie.label)),(vn,bn)=>(openBlock(),createElementBlock("div",{id:unref(Dt),ref_key:"radioGroupRef",ref:qe,class:normalizeClass(unref(Fe).b("group")),role:"radiogroup","aria-label":unref(Lt)?void 0:vn.label||vn.ariaLabel||"radio-group","aria-labelledby":unref(Lt)?unref(At).labelId:void 0},[renderSlot(vn.$slots,"default")],10,_hoisted_1$V))}});var RadioGroup=_export_sfc$1(_sfc_main$1R,[["__file","radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton,RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton);var NodeContent$1=defineComponent({name:"NodeContent",setup(){return{ns:useNamespace("cascader-node")}},render(){const{ns:xe}=this,{node:$e,panel:Ie}=this.$parent,{data:Fe,label:Ue}=$e,{renderLabelFn:qe}=Ie;return h$5("span",{class:xe.e("label")},qe?qe({node:$e,data:Fe}):Ue)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1Q=defineComponent({name:"ElCascaderNode",components:{ElCheckbox,ElRadio,NodeContent:NodeContent$1,ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(xe,{emit:$e}){const Ie=inject(CASCADER_PANEL_INJECTION_KEY),Fe=useNamespace("cascader-node"),Ue=computed(()=>Ie.isHoverMenu),qe=computed(()=>Ie.config.multiple),At=computed(()=>Ie.config.checkStrictly),Dt=computed(()=>{var $n;return($n=Ie.checkedNodes[0])==null?void 0:$n.uid}),Lt=computed(()=>xe.node.isDisabled),jt=computed(()=>xe.node.isLeaf),hn=computed(()=>At.value&&!jt.value||!Lt.value),vn=computed(()=>_n(Ie.expandingNode)),bn=computed(()=>At.value&&Ie.checkedNodes.some(_n)),_n=$n=>{var Pn;const{level:Nn,uid:Mn}=xe.node;return((Pn=$n==null?void 0:$n.pathNodes[Nn-1])==null?void 0:Pn.uid)===Mn},wn=()=>{vn.value||Ie.expandNode(xe.node)},kn=$n=>{const{node:Pn}=xe;$n!==Pn.checked&&Ie.handleCheckChange(Pn,$n)},Cn=()=>{Ie.lazyLoad(xe.node,()=>{jt.value||wn()})},Sn=$n=>{Ue.value&&(xn(),!jt.value&&$e("expand",$n))},xn=()=>{const{node:$n}=xe;!hn.value||$n.loading||($n.loaded?wn():Cn())},En=()=>{Ue.value&&!jt.value||(jt.value&&!Lt.value&&!At.value&&!qe.value?An(!0):xn())},Tn=$n=>{At.value?(kn($n),xe.node.loaded&&wn()):An($n)},An=$n=>{xe.node.loaded?(kn($n),!At.value&&wn()):Cn()};return{panel:Ie,isHoverMenu:Ue,multiple:qe,checkStrictly:At,checkedNodeId:Dt,isDisabled:Lt,isLeaf:jt,expandable:hn,inExpandingPath:vn,inCheckedPath:bn,ns:Fe,handleHoverExpand:Sn,handleExpand:xn,handleClick:En,handleCheck:An,handleSelectCheck:Tn}}}),_hoisted_1$U=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$B=createBaseVNode("span",null,null,-1);function _sfc_render$t(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-radio"),Lt=resolveComponent("check"),jt=resolveComponent("el-icon"),hn=resolveComponent("node-content"),vn=resolveComponent("loading"),bn=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${xe.menuId}-${xe.node.uid}`,role:"menuitem","aria-haspopup":!xe.isLeaf,"aria-owns":xe.isLeaf?null:xe.menuId,"aria-expanded":xe.inExpandingPath,tabindex:xe.expandable?-1:void 0,class:normalizeClass([xe.ns.b(),xe.ns.is("selectable",xe.checkStrictly),xe.ns.is("active",xe.node.checked),xe.ns.is("disabled",!xe.expandable),xe.inExpandingPath&&"in-active-path",xe.inCheckedPath&&"in-checked-path"]),onMouseenter:$e[2]||($e[2]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onFocus:$e[3]||($e[3]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onClick:$e[4]||($e[4]=(..._n)=>xe.handleClick&&xe.handleClick(..._n))},[createCommentVNode(" prefix "),xe.multiple?(openBlock(),createBlock(At,{key:0,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:xe.isDisabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":xe.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):xe.checkStrictly?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.checkedNodeId,label:xe.node.uid,disabled:xe.isDisabled,"onUpdate:modelValue":xe.handleSelectCheck,onClick:$e[1]||($e[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(` +*/const mousewheel=function(xe,$e){if(xe&&xe.addEventListener){const Ie=function(Fe){const Ue=Y(Fe);$e&&Reflect.apply($e,this,[Fe,Ue])};xe.addEventListener("wheel",Ie,{passive:!0})}},Mousewheel={beforeMount(xe,$e){mousewheel(xe,$e.value)}},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),_hoisted_1$11=["onClick"],_hoisted_2$G=["onMouseenter"],_sfc_main$22=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:["change","select-range","set-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("time"),{getHoursList:Ue,getMinutesList:qe,getSecondsList:At}=getTimeLists(Ie.disabledHours,Ie.disabledMinutes,Ie.disabledSeconds);let Dt=!1;const Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn={hours:jt,minutes:hn,seconds:vn},_n=computed(()=>Ie.showSeconds?timeUnits$2:timeUnits$2.slice(0,2)),wn=computed(()=>{const{spinnerDate:zn}=Ie,jn=zn.hour(),Gn=zn.minute(),Wn=zn.second();return{hours:jn,minutes:Gn,seconds:Wn}}),kn=computed(()=>{const{hours:zn,minutes:jn}=unref(wn);return{hours:Ue(Ie.role),minutes:qe(zn,Ie.role),seconds:At(zn,jn,Ie.role)}}),Cn=computed(()=>{const{hours:zn,minutes:jn,seconds:Gn}=unref(wn);return{hours:buildTimeList(zn,23),minutes:buildTimeList(jn,59),seconds:buildTimeList(Gn,59)}}),Sn=debounce(zn=>{Dt=!1,Tn(zn)},200),xn=zn=>{if(!!!Ie.amPmMode)return"";const Gn=Ie.amPmMode==="A";let Wn=zn<12?" am":" pm";return Gn&&(Wn=Wn.toUpperCase()),Wn},En=zn=>{let jn;switch(zn){case"hours":jn=[0,2];break;case"minutes":jn=[3,5];break;case"seconds":jn=[6,8];break}const[Gn,Wn]=jn;$e("select-range",Gn,Wn),Lt.value=zn},Tn=zn=>{Pn(zn,unref(wn)[zn])},An=()=>{Tn("hours"),Tn("minutes"),Tn("seconds")},$n=zn=>zn.querySelector(`.${Fe.namespace.value}-scrollbar__wrap`),Pn=(zn,jn)=>{if(Ie.arrowControl)return;const Gn=unref(bn[zn]);Gn&&Gn.$el&&($n(Gn.$el).scrollTop=Math.max(0,jn*Nn(zn)))},Nn=zn=>{const jn=unref(bn[zn]),Gn=jn==null?void 0:jn.$el.querySelector("li");return Gn&&Number.parseFloat(getStyle$1(Gn,"height"))||0},Mn=()=>{On(1)},In=()=>{On(-1)},On=zn=>{Lt.value||En("hours");const jn=Lt.value,Gn=unref(wn)[jn],Wn=Lt.value==="hours"?24:60,Xn=Rn(jn,Gn,zn,Wn);Bn(jn,Xn),Pn(jn,Xn),nextTick(()=>En(jn))},Rn=(zn,jn,Gn,Wn)=>{let Xn=(jn+Gn+Wn)%Wn;const er=unref(kn)[zn];for(;er[Xn]&&Xn!==jn;)Xn=(Xn+Gn+Wn)%Wn;return Xn},Bn=(zn,jn)=>{if(unref(kn)[zn][jn])return;const{hours:Xn,minutes:er,seconds:rr}=unref(wn);let Jn;switch(zn){case"hours":Jn=Ie.spinnerDate.hour(jn).minute(er).second(rr);break;case"minutes":Jn=Ie.spinnerDate.hour(Xn).minute(jn).second(rr);break;case"seconds":Jn=Ie.spinnerDate.hour(Xn).minute(er).second(jn);break}$e("change",Jn)},Vn=(zn,{value:jn,disabled:Gn})=>{Gn||(Bn(zn,jn),En(zn),Pn(zn,jn))},Ln=zn=>{Dt=!0,Sn(zn);const jn=Math.min(Math.round(($n(unref(bn[zn]).$el).scrollTop-(Dn(zn)*.5-10)/Nn(zn)+3)/Nn(zn)),zn==="hours"?23:59);Bn(zn,jn)},Dn=zn=>unref(bn[zn]).$el.offsetHeight,Hn=()=>{const zn=jn=>{const Gn=unref(bn[jn]);Gn&&Gn.$el&&($n(Gn.$el).onscroll=()=>{Ln(jn)})};zn("hours"),zn("minutes"),zn("seconds")};onMounted(()=>{nextTick(()=>{!Ie.arrowControl&&Hn(),An(),Ie.role==="start"&&En("hours")})});const Fn=(zn,jn)=>{bn[jn].value=zn};return $e("set-option",[`${Ie.role}_scrollDown`,On]),$e("set-option",[`${Ie.role}_emitSelectRange`,En]),watch(()=>Ie.spinnerDate,()=>{Dt||An()}),(zn,jn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("spinner"),{"has-seconds":zn.showSeconds}])},[zn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(unref(_n),Gn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Gn,ref_for:!0,ref:Wn=>Fn(Wn,Gn),class:normalizeClass(unref(Fe).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(Fe).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Wn=>En(Gn),onMousemove:Wn=>Tn(Gn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(kn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Xn===unref(wn)[Gn]),unref(Fe).is("disabled",Wn)]),onClick:er=>Vn(Gn,{value:Xn,disabled:Wn})},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Xn%12||12:Xn)).slice(-2))+toDisplayString(xn(Xn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Xn).slice(-2)),1)],64))],10,_hoisted_1$11))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),zn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(_n),Gn=>(openBlock(),createElementBlock("div",{key:Gn,class:normalizeClass([unref(Fe).be("spinner","wrapper"),unref(Fe).is("arrow")]),onMouseenter:Wn=>En(Gn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),In]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(Fe).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Mn]]),createBaseVNode("ul",{class:normalizeClass(unref(Fe).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Cn)[Gn],(Wn,Xn)=>(openBlock(),createElementBlock("li",{key:Xn,class:normalizeClass([unref(Fe).be("spinner","item"),unref(Fe).is("active",Wn===unref(wn)[Gn]),unref(Fe).is("disabled",unref(kn)[Gn][Wn])])},[typeof Wn=="number"?(openBlock(),createElementBlock(Fragment,{key:0},[Gn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(zn.amPmMode?Wn%12||12:Wn)).slice(-2))+toDisplayString(xn(Wn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Wn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$G))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc$1(_sfc_main$22,[["__file","basic-time-spinner.vue"]]);const _sfc_main$21=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{arrowControl:Ue,disabledHours:qe,disabledMinutes:At,disabledSeconds:Dt,defaultValue:Lt}=Fe.props,{getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}=buildAvailableTimeSlotGetter(qe,At,Dt),bn=useNamespace("time"),{t:_n,lang:wn}=useLocale(),kn=ref([0,2]),Cn=useOldValue(Ie),Sn=computed(()=>isUndefined(Ie.actualVisible)?`${bn.namespace.value}-zoom-in-top`:""),xn=computed(()=>Ie.format.includes("ss")),En=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),Tn=Fn=>{const zn=dayjs(Fn).locale(wn.value),jn=Vn(zn);return zn.isSame(jn)},An=()=>{$e("pick",Cn.value,!1)},$n=(Fn=!1,zn=!1)=>{zn||$e("pick",Ie.parsedValue,Fn)},Pn=Fn=>{if(!Ie.visible)return;const zn=Vn(Fn).millisecond(0);$e("pick",zn,!0)},Nn=(Fn,zn)=>{$e("select-range",Fn,zn),kn.value=[Fn,zn]},Mn=Fn=>{const zn=[0,3].concat(xn.value?[6]:[]),jn=["hours","minutes"].concat(xn.value?["seconds"]:[]),Wn=(zn.indexOf(kn.value[0])+Fn+zn.length)%zn.length;On.start_emitSelectRange(jn[Wn])},In=Fn=>{const zn=Fn.code,{left:jn,right:Gn,up:Wn,down:Xn}=EVENT_CODE;if([jn,Gn].includes(zn)){Mn(zn===jn?-1:1),Fn.preventDefault();return}if([Wn,Xn].includes(zn)){const er=zn===Wn?-1:1;On.start_scrollDown(er),Fn.preventDefault();return}},{timePickerOptions:On,onSetOption:Rn,getAvailableTime:Bn}=useTimePanel({getAvailableHours:jt,getAvailableMinutes:hn,getAvailableSeconds:vn}),Vn=Fn=>Bn(Fn,Ie.datetimeRole||"",!0),Ln=Fn=>Fn?dayjs(Fn,Ie.format).locale(wn.value):null,Dn=Fn=>Fn?Fn.format(Ie.format):null,Hn=()=>dayjs(Lt).locale(wn.value);return $e("set-picker-option",["isValidValue",Tn]),$e("set-picker-option",["formatToString",Dn]),$e("set-picker-option",["parseUserInput",Ln]),$e("set-picker-option",["handleKeydownInput",In]),$e("set-picker-option",["getRangeAvailableTime",Vn]),$e("set-picker-option",["getDefaultValue",Hn]),(Fn,zn)=>(openBlock(),createBlock(Transition,{name:unref(Sn)},{default:withCtx(()=>[Fn.actualVisible||Fn.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(bn).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(bn).be("panel","content"),{"has-seconds":unref(xn)}])},[createVNode$1(TimeSpinner,{ref:"spinner",role:Fn.datetimeRole||"start","arrow-control":unref(Ue),"show-seconds":unref(xn),"am-pm-mode":unref(En),"spinner-date":Fn.parsedValue,"disabled-hours":unref(qe),"disabled-minutes":unref(At),"disabled-seconds":unref(Dt),onChange:Pn,onSetOption:unref(Rn),onSelectRange:Nn},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(bn).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"cancel"]),onClick:An},toDisplayString(unref(_n)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(bn).be("panel","btn"),"confirm"]),onClick:zn[0]||(zn[0]=jn=>$n())},toDisplayString(unref(_n)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc$1(_sfc_main$21,[["__file","panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$10=["disabled"],_sfc_main$20=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(xe,{emit:$e}){const Ie=xe,Fe=(or,sr)=>{const Kn=[];for(let Zn=or;Zn<=sr;Zn++)Kn.push(Zn);return Kn},{t:Ue,lang:qe}=useLocale(),At=useNamespace("time"),Dt=useNamespace("picker"),Lt=inject("EP_PICKER_BASE"),{arrowControl:jt,disabledHours:hn,disabledMinutes:vn,disabledSeconds:bn,defaultValue:_n}=Lt.props,wn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),kn=computed(()=>[At.be("range-picker","body"),At.be("panel","content"),At.is("arrow",jt),Tn.value?"has-seconds":""]),Cn=computed(()=>Ie.parsedValue[0]),Sn=computed(()=>Ie.parsedValue[1]),xn=useOldValue(Ie),En=()=>{$e("pick",xn.value,!1)},Tn=computed(()=>Ie.format.includes("ss")),An=computed(()=>Ie.format.includes("A")?"A":Ie.format.includes("a")?"a":""),$n=(or=!1)=>{$e("pick",[Cn.value,Sn.value],or)},Pn=or=>{In(or.millisecond(0),Sn.value)},Nn=or=>{In(Cn.value,or.millisecond(0))},Mn=or=>{const sr=or.map(Zn=>dayjs(Zn).locale(qe.value)),Kn=Gn(sr);return sr[0].isSame(Kn[0])&&sr[1].isSame(Kn[1])},In=(or,sr)=>{$e("pick",[or,sr],!0)},On=computed(()=>Cn.value>Sn.value),Rn=ref([0,2]),Bn=(or,sr)=>{$e("select-range",or,sr,"min"),Rn.value=[or,sr]},Vn=computed(()=>Tn.value?11:8),Ln=(or,sr)=>{$e("select-range",or,sr,"max");const Kn=unref(Vn);Rn.value=[or+Kn,sr+Kn]},Dn=or=>{const sr=Tn.value?[0,3,6,11,14,17]:[0,3,8,11],Kn=["hours","minutes"].concat(Tn.value?["seconds"]:[]),nr=(sr.indexOf(Rn.value[0])+or+sr.length)%sr.length,lr=sr.length/2;nr{const sr=or.code,{left:Kn,right:Zn,up:nr,down:lr}=EVENT_CODE;if([Kn,Zn].includes(sr)){Dn(sr===Kn?-1:1),or.preventDefault();return}if([nr,lr].includes(sr)){const ir=sr===nr?-1:1,kr=Rn.value[0]{const Kn=hn?hn(or):[],Zn=or==="start",lr=(sr||(Zn?Sn.value:Cn.value)).hour(),ir=Zn?Fe(lr+1,23):Fe(0,lr-1);return union(Kn,ir)},zn=(or,sr,Kn)=>{const Zn=vn?vn(or,sr):[],nr=sr==="start",lr=Kn||(nr?Sn.value:Cn.value),ir=lr.hour();if(or!==ir)return Zn;const kr=lr.minute(),Cr=nr?Fe(kr+1,59):Fe(0,kr-1);return union(Zn,Cr)},jn=(or,sr,Kn,Zn)=>{const nr=bn?bn(or,sr,Kn):[],lr=Kn==="start",ir=Zn||(lr?Sn.value:Cn.value),kr=ir.hour(),Cr=ir.minute();if(or!==kr||sr!==Cr)return nr;const Er=ir.second(),dr=lr?Fe(Er+1,59):Fe(0,Er-1);return union(nr,dr)},Gn=([or,sr])=>[Jn(or,"start",!0,sr),Jn(sr,"end",!1,or)],{getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}=buildAvailableTimeSlotGetter(Fn,zn,jn),{timePickerOptions:rr,getAvailableTime:Jn,onSetOption:qn}=useTimePanel({getAvailableHours:Wn,getAvailableMinutes:Xn,getAvailableSeconds:er}),Yn=or=>or?isArray$6(or)?or.map(sr=>dayjs(sr,Ie.format).locale(qe.value)):dayjs(or,Ie.format).locale(qe.value):null,ar=or=>or?isArray$6(or)?or.map(sr=>sr.format(Ie.format)):or.format(Ie.format):null,tr=()=>{if(isArray$6(_n))return _n.map(sr=>dayjs(sr).locale(qe.value));const or=dayjs(_n).locale(qe.value);return[or,or.add(60,"m")]};return $e("set-picker-option",["formatToString",ar]),$e("set-picker-option",["parseUserInput",Yn]),$e("set-picker-option",["isValidValue",Mn]),$e("set-picker-option",["handleKeydownInput",Hn]),$e("set-picker-option",["getDefaultValue",tr]),$e("set-picker-option",["getRangeAvailableTime",Gn]),(or,sr)=>or.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(At).b("range-picker"),unref(Dt).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(unref(wn))},[createVNode$1(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Cn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Pn,onSetOption:unref(qn),onSelectRange:Bn},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(At).be("range-picker","header"))},toDisplayString(unref(Ue)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(unref(kn))},[createVNode$1(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":unref(Tn),"am-pm-mode":unref(An),"arrow-control":unref(jt),"spinner-date":unref(Sn),"disabled-hours":Fn,"disabled-minutes":zn,"disabled-seconds":jn,onChange:Nn,onSetOption:unref(qn),onSelectRange:Ln},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(At).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"cancel"]),onClick:sr[0]||(sr[0]=Kn=>En())},toDisplayString(unref(Ue)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(At).be("panel","btn"),"confirm"]),disabled:unref(On),onClick:sr[1]||(sr[1]=Kn=>$n())},toDisplayString(unref(Ue)("el.datepicker.confirm")),11,_hoisted_1$10)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc$1(_sfc_main$20,[["__file","panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(xe,$e){const Ie=ref(),[Fe,Ue]=xe.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],qe=At=>$e.emit("update:modelValue",At);return provide("ElPopperOptions",xe.popperOptions),$e.expose({focus:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleFocusInput(At)},blur:At=>{var Dt;(Dt=Ie.value)==null||Dt.handleBlurInput(At)},handleOpen:()=>{var At;(At=Ie.value)==null||At.handleOpen()},handleClose:()=>{var At;(At=Ie.value)==null||At.handleClose()}}),()=>{var At;const Dt=(At=xe.format)!=null?At:DEFAULT_FORMATS_TIME;return createVNode$1(CommonPicker,mergeProps(xe,{ref:Ie,type:Fe,format:Dt,"onUpdate:modelValue":qe}),{default:Lt=>createVNode$1(Ue,Lt,null)})}}});const _TimePicker=TimePicker;_TimePicker.install=xe=>{xe.component(_TimePicker.name,_TimePicker)};const ElTimePicker=_TimePicker,getPrevMonthLastDays=(xe,$e)=>{const Ie=xe.subtract(1,"month").endOf("month").date();return rangeArr($e).map((Fe,Ue)=>Ie-($e-Ue-1))},getMonthDays=xe=>{const $e=xe.daysInMonth();return rangeArr($e).map((Ie,Fe)=>Fe+1)},toNestedArr=xe=>rangeArr(xe.length/7).map($e=>{const Ie=$e*7;return xe.slice(Ie,Ie+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:xe=>isObject$8(xe)};var localeData$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){var qe=Fe.prototype,At=function(vn){return vn&&(vn.indexOf?vn:vn.s)},Dt=function(vn,bn,_n,wn,kn){var Cn=vn.name?vn:vn.$locale(),Sn=At(Cn[bn]),xn=At(Cn[_n]),En=Sn||xn.map(function(An){return An.slice(0,wn)});if(!kn)return En;var Tn=Cn.weekStart;return En.map(function(An,$n){return En[($n+(Tn||0))%7]})},Lt=function(){return Ue.Ls[Ue.locale()]},jt=function(vn,bn){return vn.formats[bn]||function(_n){return _n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(wn,kn,Cn){return kn||Cn.slice(1)})}(vn.formats[bn.toUpperCase()])},hn=function(){var vn=this;return{months:function(bn){return bn?bn.format("MMMM"):Dt(vn,"months")},monthsShort:function(bn){return bn?bn.format("MMM"):Dt(vn,"monthsShort","months",3)},firstDayOfWeek:function(){return vn.$locale().weekStart||0},weekdays:function(bn){return bn?bn.format("dddd"):Dt(vn,"weekdays")},weekdaysMin:function(bn){return bn?bn.format("dd"):Dt(vn,"weekdaysMin","weekdays",2)},weekdaysShort:function(bn){return bn?bn.format("ddd"):Dt(vn,"weekdaysShort","weekdays",3)},longDateFormat:function(bn){return jt(vn.$locale(),bn)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};qe.localeData=function(){return hn.bind(this)()},Ue.localeData=function(){var vn=Lt();return{firstDayOfWeek:function(){return vn.weekStart||0},weekdays:function(){return Ue.weekdays()},weekdaysShort:function(){return Ue.weekdaysShort()},weekdaysMin:function(){return Ue.weekdaysMin()},months:function(){return Ue.months()},monthsShort:function(){return Ue.monthsShort()},longDateFormat:function(bn){return jt(vn,bn)},meridiem:vn.meridiem,ordinal:vn.ordinal}},Ue.months=function(){return Dt(Lt(),"months")},Ue.monthsShort=function(){return Dt(Lt(),"monthsShort","months",3)},Ue.weekdays=function(vn){return Dt(Lt(),"weekdays",null,null,vn)},Ue.weekdaysShort=function(vn){return Dt(Lt(),"weekdaysShort","weekdays",3,vn)},Ue.weekdaysMin=function(vn){return Dt(Lt(),"weekdaysMin","weekdays",2,vn)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),useDateTable=(xe,$e)=>{dayjs.extend(localeData);const Ie=dayjs.localeData().firstDayOfWeek(),{t:Fe,lang:Ue}=useLocale(),qe=dayjs().locale(Ue.value),At=computed(()=>!!xe.range&&!!xe.range.length),Dt=computed(()=>{let bn=[];if(At.value){const[_n,wn]=xe.range,kn=rangeArr(wn.date()-_n.date()+1).map(xn=>({text:_n.date()+xn,type:"current"}));let Cn=kn.length%7;Cn=Cn===0?0:7-Cn;const Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=kn.concat(Sn)}else{const _n=xe.date.startOf("month").day(),wn=getPrevMonthLastDays(xe.date,(_n-Ie+7)%7).map(xn=>({text:xn,type:"prev"})),kn=getMonthDays(xe.date).map(xn=>({text:xn,type:"current"}));bn=[...wn,...kn];const Cn=7-(bn.length%7||7),Sn=rangeArr(Cn).map((xn,En)=>({text:En+1,type:"next"}));bn=bn.concat(Sn)}return toNestedArr(bn)}),Lt=computed(()=>{const bn=Ie;return bn===0?WEEK_DAYS.map(_n=>Fe(`el.datepicker.weeks.${_n}`)):WEEK_DAYS.slice(bn).concat(WEEK_DAYS.slice(0,bn)).map(_n=>Fe(`el.datepicker.weeks.${_n}`))}),jt=(bn,_n)=>{switch(_n){case"prev":return xe.date.startOf("month").subtract(1,"month").date(bn);case"next":return xe.date.startOf("month").add(1,"month").date(bn);case"current":return xe.date.date(bn)}};return{now:qe,isInRange:At,rows:Dt,weekDays:Lt,getFormattedDate:jt,handlePickDay:({text:bn,type:_n})=>{const wn=jt(bn,_n);$e("pick",wn)},getSlotData:({text:bn,type:_n})=>{const wn=jt(bn,_n);return{isSelected:wn.isSame(xe.selectedDay),type:`${_n}-month`,day:wn.format("YYYY-MM-DD"),date:wn.toDate()}}}},_hoisted_1$$={key:0},_hoisted_2$F=["onClick"],__default__$1o=defineComponent({name:"DateTable"}),_sfc_main$1$=defineComponent({...__default__$1o,props:dateTableProps,emits:dateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{isInRange:Ue,now:qe,rows:At,weekDays:Dt,getFormattedDate:Lt,handlePickDay:jt,getSlotData:hn}=useDateTable(Fe,Ie),vn=useNamespace("calendar-table"),bn=useNamespace("calendar-day"),_n=({text:wn,type:kn})=>{const Cn=[kn];if(kn==="current"){const Sn=Lt(wn,kn);Sn.isSame(Fe.selectedDay,"day")&&Cn.push(bn.is("selected")),Sn.isSame(qe,"day")&&Cn.push(bn.is("today"))}return Cn};return $e({getFormattedDate:Lt}),(wn,kn)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(vn).b(),unref(vn).is("range",unref(Ue))]),cellspacing:"0",cellpadding:"0"},[wn.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$$,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),Cn=>(openBlock(),createElementBlock("th",{key:Cn},toDisplayString(Cn),1))),128))])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(At),(Cn,Sn)=>(openBlock(),createElementBlock("tr",{key:Sn,class:normalizeClass({[unref(vn).e("row")]:!0,[unref(vn).em("row","hide-border")]:Sn===0&&wn.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Cn,(xn,En)=>(openBlock(),createElementBlock("td",{key:En,class:normalizeClass(_n(xn)),onClick:Tn=>unref(jt)(xn)},[createBaseVNode("div",{class:normalizeClass(unref(bn).b())},[renderSlot(wn.$slots,"date-cell",{data:unref(hn)(xn)},()=>[createBaseVNode("span",null,toDisplayString(xn.text),1)])],2)],10,_hoisted_2$F))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc$1(_sfc_main$1$,[["__file","date-table.vue"]]);const adjacentMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=$e.startOf("month"),qe=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe;return[[xe,Ie],[qe.startOf("week"),$e]]},threeConsecutiveMonth=(xe,$e)=>{const Ie=xe.endOf("month"),Fe=xe.add(1,"month").startOf("month"),Ue=Ie.isSame(Fe,"week")?Fe.add(1,"week"):Fe,qe=Ue.endOf("month"),At=$e.startOf("month"),Dt=qe.isSame(At,"week")?At.add(1,"week"):At;return[[xe,Ie],[Ue.startOf("week"),qe],[Dt.startOf("week"),$e]]},useCalendar=(xe,$e,Ie)=>{const{lang:Fe}=useLocale(),Ue=ref(),qe=dayjs().locale(Fe.value),At=computed({get(){return xe.modelValue?Lt.value:Ue.value},set(Cn){if(!Cn)return;Ue.value=Cn;const Sn=Cn.toDate();$e(INPUT_EVENT,Sn),$e(UPDATE_MODEL_EVENT,Sn)}}),Dt=computed(()=>{if(!xe.range)return[];const Cn=xe.range.map(En=>dayjs(En).locale(Fe.value)),[Sn,xn]=Cn;return Sn.isAfter(xn)?[]:Sn.isSame(xn,"month")?_n(Sn,xn):Sn.add(1,"month").month()!==xn.month()?[]:_n(Sn,xn)}),Lt=computed(()=>xe.modelValue?dayjs(xe.modelValue).locale(Fe.value):At.value||(Dt.value.length?Dt.value[0][0]:qe)),jt=computed(()=>Lt.value.subtract(1,"month").date(1)),hn=computed(()=>Lt.value.add(1,"month").date(1)),vn=computed(()=>Lt.value.subtract(1,"year").date(1)),bn=computed(()=>Lt.value.add(1,"year").date(1)),_n=(Cn,Sn)=>{const xn=Cn.startOf("week"),En=Sn.endOf("week"),Tn=xn.get("month"),An=En.get("month");return Tn===An?[[xn,En]]:(Tn+1)%12===An?adjacentMonth(xn,En):Tn+2===An||(Tn+1)%11===An?threeConsecutiveMonth(xn,En):[]},wn=Cn=>{At.value=Cn};return{calculateValidatedDateRange:_n,date:Lt,realSelectedDay:At,pickDay:wn,selectDate:Cn=>{const xn={"prev-month":jt.value,"next-month":hn.value,"prev-year":vn.value,"next-year":bn.value,today:qe}[Cn];xn.isSame(Lt.value,"day")||wn(xn)},validatedRange:Dt}},isValidRange$1=xe=>isArray$6(xe)&&xe.length===2&&xe.every($e=>isDate$1($e)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1}}),calendarEmits={[UPDATE_MODEL_EVENT]:xe=>isDate$1(xe),[INPUT_EVENT]:xe=>isDate$1(xe)},COMPONENT_NAME$g="ElCalendar",__default__$1n=defineComponent({name:COMPONENT_NAME$g}),_sfc_main$1_=defineComponent({...__default__$1n,props:calendarProps,emits:calendarEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("calendar"),{calculateValidatedDateRange:qe,date:At,pickDay:Dt,realSelectedDay:Lt,selectDate:jt,validatedRange:hn}=useCalendar(Fe,Ie),{t:vn}=useLocale(),bn=computed(()=>{const _n=`el.datepicker.month${At.value.format("M")}`;return`${At.value.year()} ${vn("el.datepicker.year")} ${vn(_n)}`});return $e({selectedDay:Lt,pickDay:Dt,selectDate:jt,calculateValidatedDateRange:qe}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[renderSlot(_n.$slots,"header",{date:unref(bn)},()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},toDisplayString(unref(bn)),3),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("button-group"))},[createVNode$1(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode$1(unref(ElButton),{size:"small",onClick:wn[0]||(wn[0]=kn=>unref(jt)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.prevMonth")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[1]||(wn[1]=kn=>unref(jt)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.today")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:wn[2]||(wn[2]=kn=>unref(jt)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):createCommentVNode("v-if",!0)])],2),unref(hn).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("body"))},[createVNode$1(DateTable$1,{date:unref(At),"selected-day":unref(Lt),onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(kn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(kn)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(kn,Cn)=>(openBlock(),createBlock(DateTable$1,{key:Cn,date:kn[0],"selected-day":unref(Lt),range:kn,"hide-header":Cn!==0,onPick:unref(Dt)},createSlots({_:2},[_n.$slots["date-cell"]?{name:"date-cell",fn:withCtx(Sn=>[renderSlot(_n.$slots,"date-cell",normalizeProps(guardReactiveProps(Sn)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar$1=_export_sfc$1(_sfc_main$1_,[["__file","calendar.vue"]]);const ElCalendar=withInstall(Calendar$1),cardProps=buildProps({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),__default__$1m=defineComponent({name:"ElCard"}),_sfc_main$1Z=defineComponent({...__default__$1m,props:cardProps,setup(xe){const $e=useNamespace("card");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).b(),unref($e).is(`${Ie.shadow}-shadow`)])},[Ie.$slots.header||Ie.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($e).e("header"))},[renderSlot(Ie.$slots,"header",{},()=>[createTextVNode(toDisplayString(Ie.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref($e).e("body"),Ie.bodyClass]),style:normalizeStyle$1(Ie.bodyStyle)},[renderSlot(Ie.$slots,"default")],6),Ie.$slots.footer||Ie.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($e).e("footer"))},[renderSlot(Ie.$slots,"footer",{},()=>[createTextVNode(toDisplayString(Ie.footer),1)])],2)):createCommentVNode("v-if",!0)],2))}});var Card=_export_sfc$1(_sfc_main$1Z,[["__file","card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}}),carouselEmits={change:(xe,$e)=>[xe,$e].every(isNumber$1)},carouselContextKey=Symbol("carouselContextKey"),THROTTLE_TIME=300,useCarousel=(xe,$e,Ie)=>{const{children:Fe,addChild:Ue,removeChild:qe}=useOrderedChildren(getCurrentInstance(),"ElCarouselItem"),At=useSlots(),Dt=ref(-1),Lt=ref(null),jt=ref(!1),hn=ref(),vn=ref(0),bn=ref(!0),_n=ref(!0),wn=ref(!1),kn=computed(()=>xe.arrow!=="never"&&!unref(xn)),Cn=computed(()=>Fe.value.some(Jn=>Jn.props.label.toString().length>0)),Sn=computed(()=>xe.type==="card"),xn=computed(()=>xe.direction==="vertical"),En=computed(()=>xe.height!=="auto"?{height:xe.height}:{height:`${vn.value}px`,overflow:"hidden"}),Tn=throttle$3(Jn=>{In(Jn)},THROTTLE_TIME,{trailing:!0}),An=throttle$3(Jn=>{zn(Jn)},THROTTLE_TIME),$n=Jn=>bn.value?Dt.value<=1?Jn<=1:Jn>1:!0;function Pn(){Lt.value&&(clearInterval(Lt.value),Lt.value=null)}function Nn(){xe.interval<=0||!xe.autoplay||Lt.value||(Lt.value=setInterval(()=>Mn(),xe.interval))}const Mn=()=>{_n.value||(wn.value=!0),_n.value=!1,Dt.valuetr.props.name===Jn);ar.length>0&&(Jn=Fe.value.indexOf(ar[0]))}if(Jn=Number(Jn),Number.isNaN(Jn)||Jn!==Math.floor(Jn))return;const qn=Fe.value.length,Yn=Dt.value;Jn<0?Dt.value=xe.loop?qn-1:0:Jn>=qn?Dt.value=xe.loop?0:qn-1:Dt.value=Jn,Yn===Dt.value&&On(Yn),Wn()}function On(Jn){Fe.value.forEach((qn,Yn)=>{qn.translateItem(Yn,Dt.value,Jn)})}function Rn(Jn,qn){var Yn,ar,tr,or;const sr=unref(Fe),Kn=sr.length;if(Kn===0||!Jn.states.inStage)return!1;const Zn=qn+1,nr=qn-1,lr=Kn-1,ir=sr[lr].states.active,kr=sr[0].states.active,Cr=(ar=(Yn=sr[Zn])==null?void 0:Yn.states)==null?void 0:ar.active,Er=(or=(tr=sr[nr])==null?void 0:tr.states)==null?void 0:or.active;return qn===lr&&kr||Cr?"left":qn===0&&ir||Er?"right":!1}function Bn(){jt.value=!0,xe.pauseOnHover&&Pn()}function Vn(){jt.value=!1,Nn()}function Ln(){wn.value=!1}function Dn(Jn){unref(xn)||Fe.value.forEach((qn,Yn)=>{Jn===Rn(qn,Yn)&&(qn.states.hover=!0)})}function Hn(){unref(xn)||Fe.value.forEach(Jn=>{Jn.states.hover=!1})}function Fn(Jn){Jn!==Dt.value&&(_n.value||(wn.value=!0)),Dt.value=Jn}function zn(Jn){xe.trigger==="hover"&&Jn!==Dt.value&&(Dt.value=Jn,_n.value||(wn.value=!0))}function jn(){In(Dt.value-1)}function Gn(){In(Dt.value+1)}function Wn(){Pn(),xe.pauseOnHover||Nn()}function Xn(Jn){xe.height==="auto"&&(vn.value=Jn)}function er(){var Jn;const qn=(Jn=At.default)==null?void 0:Jn.call(At);if(!qn)return null;const Yn=flattedChildren(qn),ar="ElCarouselItem",tr=Yn.filter(or=>isVNode(or)&&or.type.name===ar);return(tr==null?void 0:tr.length)===2&&xe.loop&&!Sn.value?(bn.value=!0,tr):(bn.value=!1,null)}watch(()=>Dt.value,(Jn,qn)=>{On(qn),bn.value&&(Jn=Jn%2,qn=qn%2),qn>-1&&$e("change",Jn,qn)}),watch(()=>xe.autoplay,Jn=>{Jn?Nn():Pn()}),watch(()=>xe.loop,()=>{In(Dt.value)}),watch(()=>xe.interval,()=>{Wn()});const rr=shallowRef();return onMounted(()=>{watch(()=>Fe.value,()=>{Fe.value.length>0&&In(xe.initialIndex)},{immediate:!0}),rr.value=useResizeObserver(hn.value,()=>{On()}),Nn()}),onBeforeUnmount(()=>{Pn(),hn.value&&rr.value&&rr.value.stop()}),provide(carouselContextKey,{root:hn,isCardType:Sn,isVertical:xn,items:Fe,loop:xe.loop,addItem:Ue,removeItem:qe,setActiveItem:In,setContainerHeight:Xn}),{root:hn,activeIndex:Dt,arrowDisplay:kn,hasLabel:Cn,hover:jt,isCardType:Sn,isTransitioning:wn,items:Fe,isVertical:xn,containerStyle:En,isItemsTwoLength:bn,handleButtonEnter:Dn,handleTransitionEnd:Ln,handleButtonLeave:Hn,handleIndicatorClick:Fn,handleMouseEnter:Bn,handleMouseLeave:Vn,setActiveItem:In,prev:jn,next:Gn,PlaceholderItem:er,isTwoLengthShow:$n,throttledArrowClick:Tn,throttledIndicatorHover:An}},_hoisted_1$_=["aria-label"],_hoisted_2$E=["aria-label"],_hoisted_3$k=["onMouseenter","onClick"],_hoisted_4$c=["aria-label"],_hoisted_5$8={key:0},_hoisted_6$5={key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},_hoisted_7$3=createBaseVNode("defs",null,[createBaseVNode("filter",{id:"elCarouselHorizontal"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),createBaseVNode("filter",{id:"elCarouselVertical"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1),_hoisted_8$3=[_hoisted_7$3],COMPONENT_NAME$f="ElCarousel",__default__$1l=defineComponent({name:COMPONENT_NAME$f}),_sfc_main$1Y=defineComponent({...__default__$1l,props:carouselProps,emits:carouselEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{root:Ue,activeIndex:qe,arrowDisplay:At,hasLabel:Dt,hover:Lt,isCardType:jt,items:hn,isVertical:vn,containerStyle:bn,handleButtonEnter:_n,handleButtonLeave:wn,isTransitioning:kn,handleIndicatorClick:Cn,handleMouseEnter:Sn,handleMouseLeave:xn,handleTransitionEnd:En,setActiveItem:Tn,prev:An,next:$n,PlaceholderItem:Pn,isTwoLengthShow:Nn,throttledArrowClick:Mn,throttledIndicatorHover:In}=useCarousel(Fe,Ie),On=useNamespace("carousel"),{t:Rn}=useLocale(),Bn=computed(()=>{const Dn=[On.b(),On.m(Fe.direction)];return unref(jt)&&Dn.push(On.m("card")),Dn}),Vn=computed(()=>{const Dn=[On.e("container")];return Fe.motionBlur&&unref(kn)&&Dn.push(unref(vn)?`${On.namespace.value}-transitioning-vertical`:`${On.namespace.value}-transitioning`),Dn}),Ln=computed(()=>{const Dn=[On.e("indicators"),On.em("indicators",Fe.direction)];return unref(Dt)&&Dn.push(On.em("indicators","labels")),Fe.indicatorPosition==="outside"&&Dn.push(On.em("indicators","outside")),unref(vn)&&Dn.push(On.em("indicators","right")),Dn});return $e({setActiveItem:Tn,prev:An,next:$n}),(Dn,Hn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:Ue,class:normalizeClass(unref(Bn)),onMouseenter:Hn[7]||(Hn[7]=withModifiers((...Fn)=>unref(Sn)&&unref(Sn)(...Fn),["stop"])),onMouseleave:Hn[8]||(Hn[8]=withModifiers((...Fn)=>unref(xn)&&unref(xn)(...Fn),["stop"]))},[unref(At)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","left")]),"aria-label":unref(Rn)("el.carousel.leftArrow"),onMouseenter:Hn[0]||(Hn[0]=Fn=>unref(_n)("left")),onMouseleave:Hn[1]||(Hn[1]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[2]||(Hn[2]=withModifiers(Fn=>unref(Mn)(unref(qe)-1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],42,_hoisted_1$_),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(At)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(On).e("arrow"),unref(On).em("arrow","right")]),"aria-label":unref(Rn)("el.carousel.rightArrow"),onMouseenter:Hn[3]||(Hn[3]=Fn=>unref(_n)("right")),onMouseleave:Hn[4]||(Hn[4]=(...Fn)=>unref(wn)&&unref(wn)(...Fn)),onClick:Hn[5]||(Hn[5]=withModifiers(Fn=>unref(Mn)(unref(qe)+1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],42,_hoisted_2$E),[[vShow,(Dn.arrow==="always"||unref(Lt))&&(Fe.loop||unref(qe)unref(En)&&unref(En)(...Fn))},[createVNode$1(unref(Pn)),renderSlot(Dn.$slots,"default")],38),Dn.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:2,class:normalizeClass(unref(Ln))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),(Fn,zn)=>withDirectives((openBlock(),createElementBlock("li",{key:zn,class:normalizeClass([unref(On).e("indicator"),unref(On).em("indicator",Dn.direction),unref(On).is("active",zn===unref(qe))]),onMouseenter:jn=>unref(In)(zn),onClick:withModifiers(jn=>unref(Cn)(zn),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(On).e("button")),"aria-label":unref(Rn)("el.carousel.indicator",{index:zn+1})},[unref(Dt)?(openBlock(),createElementBlock("span",_hoisted_5$8,toDisplayString(Fn.props.label),1)):createCommentVNode("v-if",!0)],10,_hoisted_4$c)],42,_hoisted_3$k)),[[vShow,unref(Nn)(zn)]])),128))],2)):createCommentVNode("v-if",!0),Fe.motionBlur?(openBlock(),createElementBlock("svg",_hoisted_6$5,_hoisted_8$3)):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc$1(_sfc_main$1Y,[["__file","carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=(xe,$e)=>{const Ie=inject(carouselContextKey),Fe=getCurrentInstance(),Ue=.83,qe=ref(),At=ref(!1),Dt=ref(0),Lt=ref(1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref(!1),{isCardType:_n,isVertical:wn}=Ie;function kn(Tn,An,$n){const Pn=$n-1,Nn=An-1,Mn=An+1,In=$n/2;return An===0&&Tn===Pn?-1:An===Pn&&Tn===0?$n:Tn=In?$n+1:Tn>Mn&&Tn-An>=In?-2:Tn}function Cn(Tn,An){var $n,Pn;const Nn=unref(wn)?(($n=Ie.root.value)==null?void 0:$n.offsetHeight)||0:((Pn=Ie.root.value)==null?void 0:Pn.offsetWidth)||0;return vn.value?Nn*((2-Ue)*(Tn-An)+1)/4:Tn{var Pn;const Nn=unref(_n),Mn=(Pn=Ie.items.value.length)!=null?Pn:Number.NaN,In=Tn===An;!Nn&&!isUndefined($n)&&(bn.value=In||Tn===$n),!In&&Mn>2&&Ie.loop&&(Tn=kn(Tn,An,Mn));const On=unref(wn);jt.value=In,Nn?(vn.value=Math.round(Math.abs(Tn-An))<=1,Dt.value=Cn(Tn,An),Lt.value=unref(jt)?1:Ue):Dt.value=Sn(Tn,An,On),hn.value=!0,In&&qe.value&&Ie.setContainerHeight(qe.value.offsetHeight)};function En(){if(Ie&&unref(_n)){const Tn=Ie.items.value.findIndex(({uid:An})=>An===Fe.uid);Ie.setActiveItem(Tn)}}return onMounted(()=>{Ie.addItem({props:xe,states:reactive({hover:At,translate:Dt,scale:Lt,active:jt,ready:hn,inStage:vn,animating:bn}),uid:Fe.uid,translateItem:xn})}),onUnmounted(()=>{Ie.removeItem(Fe.uid)}),{carouselItemRef:qe,active:jt,animating:bn,hover:At,inStage:vn,isVertical:wn,translate:Dt,isCardType:_n,scale:Lt,ready:hn,handleItemClick:En}},__default__$1k=defineComponent({name:"ElCarouselItem"}),_sfc_main$1X=defineComponent({...__default__$1k,props:carouselItemProps,setup(xe){const $e=xe,Ie=useNamespace("carousel"),{carouselItemRef:Fe,active:Ue,animating:qe,hover:At,inStage:Dt,isVertical:Lt,translate:jt,isCardType:hn,scale:vn,ready:bn,handleItemClick:_n}=useCarouselItem($e),wn=computed(()=>[Ie.e("item"),Ie.is("active",Ue.value),Ie.is("in-stage",Dt.value),Ie.is("hover",At.value),Ie.is("animating",qe.value),{[Ie.em("item","card")]:hn.value,[Ie.em("item","card-vertical")]:hn.value&&Lt.value}]),kn=computed(()=>{const Sn=`${`translate${unref(Lt)?"Y":"X"}`}(${unref(jt)}px)`,xn=`scale(${unref(vn)})`;return{transform:[Sn,xn].join(" ")}});return(Cn,Sn)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:Fe,class:normalizeClass(unref(wn)),style:normalizeStyle$1(unref(kn)),onClick:Sn[0]||(Sn[0]=(...xn)=>unref(_n)&&unref(_n)(...xn))},[unref(hn)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("mask"))},null,2)),[[vShow,!unref(Ue)]]):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default")],6)),[[vShow,unref(bn)]])}});var CarouselItem=_export_sfc$1(_sfc_main$1X,[["__file","carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaControls"])},checkboxEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe),change:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:xe,isChecked:$e})=>{const Ie=inject(checkboxGroupContextKey,void 0),Fe=computed(()=>{var qe,At;const Dt=(qe=Ie==null?void 0:Ie.max)==null?void 0:qe.value,Lt=(At=Ie==null?void 0:Ie.min)==null?void 0:At.value;return!isUndefined(Dt)&&xe.value.length>=Dt&&!$e.value||!isUndefined(Lt)&&xe.value.length<=Lt&&$e.value});return{isDisabled:useFormDisabled(computed(()=>(Ie==null?void 0:Ie.disabled.value)||Fe.value)),isLimitDisabled:Fe}},useCheckboxEvent=(xe,{model:$e,isLimitExceeded:Ie,hasOwnLabel:Fe,isDisabled:Ue,isLabeledByFormItem:qe})=>{const At=inject(checkboxGroupContextKey,void 0),{formItem:Dt}=useFormItem(),{emit:Lt}=getCurrentInstance();function jt(wn){var kn,Cn,Sn,xn;return[!0,xe.trueValue,xe.trueLabel].includes(wn)?(Cn=(kn=xe.trueValue)!=null?kn:xe.trueLabel)!=null?Cn:!0:(xn=(Sn=xe.falseValue)!=null?Sn:xe.falseLabel)!=null?xn:!1}function hn(wn,kn){Lt("change",jt(wn),kn)}function vn(wn){if(Ie.value)return;const kn=wn.target;Lt("change",jt(kn.checked),wn)}async function bn(wn){Ie.value||!Fe.value&&!Ue.value&&qe.value&&(wn.composedPath().some(Sn=>Sn.tagName==="LABEL")||($e.value=jt([!1,xe.falseValue,xe.falseLabel].includes($e.value)),await nextTick(),hn($e.value,wn)))}const _n=computed(()=>(At==null?void 0:At.validateEvent)||xe.validateEvent);return watch(()=>xe.modelValue,()=>{_n.value&&(Dt==null||Dt.validate("change").catch(wn=>void 0))}),{handleChange:vn,onClickRoot:bn}},useCheckboxModel=xe=>{const $e=ref(!1),{emit:Ie}=getCurrentInstance(),Fe=inject(checkboxGroupContextKey,void 0),Ue=computed(()=>isUndefined(Fe)===!1),qe=ref(!1),At=computed({get(){var Dt,Lt;return Ue.value?(Dt=Fe==null?void 0:Fe.modelValue)==null?void 0:Dt.value:(Lt=xe.modelValue)!=null?Lt:$e.value},set(Dt){var Lt,jt;Ue.value&&isArray$6(Dt)?(qe.value=((Lt=Fe==null?void 0:Fe.max)==null?void 0:Lt.value)!==void 0&&Dt.length>(Fe==null?void 0:Fe.max.value)&&Dt.length>At.value.length,qe.value===!1&&((jt=Fe==null?void 0:Fe.changeEvent)==null||jt.call(Fe,Dt))):(Ie(UPDATE_MODEL_EVENT,Dt),$e.value=Dt)}});return{model:At,isGroup:Ue,isLimitExceeded:qe}},useCheckboxStatus=(xe,$e,{model:Ie})=>{const Fe=inject(checkboxGroupContextKey,void 0),Ue=ref(!1),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed(()=>{const hn=Ie.value;return isBoolean(hn)?hn:isArray$6(hn)?isObject$8(qe.value)?hn.map(toRaw).some(vn=>isEqual$1(vn,qe.value)):hn.map(toRaw).includes(qe.value):hn!=null?hn===xe.trueValue||hn===xe.trueLabel:!!hn}),Dt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value}),{prop:!0}),Lt=useFormSize(computed(()=>{var hn;return(hn=Fe==null?void 0:Fe.size)==null?void 0:hn.value})),jt=computed(()=>!!$e.default||!isPropAbsent(qe.value));return{checkboxButtonSize:Dt,isChecked:At,isFocused:Ue,checkboxSize:Lt,hasOwnLabel:jt,actualValue:qe}},useCheckbox=(xe,$e)=>{const{formItem:Ie}=useFormItem(),{model:Fe,isGroup:Ue,isLimitExceeded:qe}=useCheckboxModel(xe),{isFocused:At,isChecked:Dt,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,actualValue:vn}=useCheckboxStatus(xe,$e,{model:Fe}),{isDisabled:bn}=useCheckboxDisabled({model:Fe,isChecked:Dt}),{inputId:_n,isLabeledByFormItem:wn}=useFormItemInputId(xe,{formItemContext:Ie,disableIdGeneration:hn,disableIdManagement:Ue}),{handleChange:kn,onClickRoot:Cn}=useCheckboxEvent(xe,{model:Fe,isLimitExceeded:qe,hasOwnLabel:hn,isDisabled:bn,isLabeledByFormItem:wn});return(()=>{function xn(){var En,Tn;isArray$6(Fe.value)&&!Fe.value.includes(vn.value)?Fe.value.push(vn.value):Fe.value=(Tn=(En=xe.trueValue)!=null?En:xe.trueLabel)!=null?Tn:!0}xe.checked&&xn()})(),useDeprecated({from:"controls",replacement:"aria-controls",version:"2.8.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.controls)),useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),useDeprecated({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.trueLabel)),useDeprecated({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!xe.falseLabel)),{inputId:_n,isLabeledByFormItem:wn,isChecked:Dt,isDisabled:bn,isFocused:At,checkboxButtonSize:Lt,checkboxSize:jt,hasOwnLabel:hn,model:Fe,actualValue:vn,handleChange:kn,onClickRoot:Cn}},_hoisted_1$Z=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],_hoisted_2$D=["id","indeterminate","disabled","value","name","tabindex"],__default__$1j=defineComponent({name:"ElCheckbox"}),_sfc_main$1W=defineComponent({...__default__$1j,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{inputId:Fe,isLabeledByFormItem:Ue,isChecked:qe,isDisabled:At,isFocused:Dt,checkboxSize:Lt,hasOwnLabel:jt,model:hn,actualValue:vn,handleChange:bn,onClickRoot:_n}=useCheckbox($e,Ie),wn=useNamespace("checkbox"),kn=computed(()=>[wn.b(),wn.m(Lt.value),wn.is("disabled",At.value),wn.is("bordered",$e.border),wn.is("checked",qe.value)]),Cn=computed(()=>[wn.e("input"),wn.is("disabled",At.value),wn.is("checked",qe.value),wn.is("indeterminate",$e.indeterminate),wn.is("focus",Dt.value)]);return(Sn,xn)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(jt)&&unref(Ue)?"span":"label"),{class:normalizeClass(unref(kn)),"aria-controls":Sn.indeterminate?Sn.controls||Sn.ariaControls:null,onClick:unref(_n)},{default:withCtx(()=>{var En,Tn;return[createBaseVNode("span",{class:normalizeClass(unref(Cn))},[Sn.trueValue||Sn.falseValue||Sn.trueLabel||Sn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,id:unref(Fe),"onUpdate:modelValue":xn[0]||(xn[0]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,name:Sn.name,tabindex:Sn.tabindex,disabled:unref(At),"true-value":(En=Sn.trueValue)!=null?En:Sn.trueLabel,"false-value":(Tn=Sn.falseValue)!=null?Tn:Sn.falseLabel,onChange:xn[1]||(xn[1]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[2]||(xn[2]=An=>Dt.value=!0),onBlur:xn[3]||(xn[3]=An=>Dt.value=!1),onClick:xn[4]||(xn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$Z)),[[vModelCheckbox,unref(hn)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,id:unref(Fe),"onUpdate:modelValue":xn[5]||(xn[5]=An=>isRef(hn)?hn.value=An:null),class:normalizeClass(unref(wn).e("original")),type:"checkbox",indeterminate:Sn.indeterminate,disabled:unref(At),value:unref(vn),name:Sn.name,tabindex:Sn.tabindex,onChange:xn[6]||(xn[6]=(...An)=>unref(bn)&&unref(bn)(...An)),onFocus:xn[7]||(xn[7]=An=>Dt.value=!0),onBlur:xn[8]||(xn[8]=An=>Dt.value=!1),onClick:xn[9]||(xn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$D)),[[vModelCheckbox,unref(hn)]]),createBaseVNode("span",{class:normalizeClass(unref(wn).e("inner"))},null,2)],2),unref(jt)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(wn).e("label"))},[renderSlot(Sn.$slots,"default"),Sn.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(Sn.label),1)],64))],2)):createCommentVNode("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Checkbox=_export_sfc$1(_sfc_main$1W,[["__file","checkbox.vue"]]);const _hoisted_1$Y=["name","tabindex","disabled","true-value","false-value"],_hoisted_2$C=["name","tabindex","disabled","value"],__default__$1i=defineComponent({name:"ElCheckboxButton"}),_sfc_main$1V=defineComponent({...__default__$1i,props:checkboxProps,emits:checkboxEmits,setup(xe){const $e=xe,Ie=useSlots(),{isFocused:Fe,isChecked:Ue,isDisabled:qe,checkboxButtonSize:At,model:Dt,actualValue:Lt,handleChange:jt}=useCheckbox($e,Ie),hn=inject(checkboxGroupContextKey,void 0),vn=useNamespace("checkbox"),bn=computed(()=>{var wn,kn,Cn,Sn;const xn=(kn=(wn=hn==null?void 0:hn.fill)==null?void 0:wn.value)!=null?kn:"";return{backgroundColor:xn,borderColor:xn,color:(Sn=(Cn=hn==null?void 0:hn.textColor)==null?void 0:Cn.value)!=null?Sn:"",boxShadow:xn?`-1px 0 0 0 ${xn}`:void 0}}),_n=computed(()=>[vn.b("button"),vn.bm("button",At.value),vn.is("disabled",qe.value),vn.is("checked",Ue.value),vn.is("focus",Fe.value)]);return(wn,kn)=>{var Cn,Sn;return openBlock(),createElementBlock("label",{class:normalizeClass(unref(_n))},[wn.trueValue||wn.falseValue||wn.trueLabel||wn.falseLabel?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":kn[0]||(kn[0]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),"true-value":(Cn=wn.trueValue)!=null?Cn:wn.trueLabel,"false-value":(Sn=wn.falseValue)!=null?Sn:wn.falseLabel,onChange:kn[1]||(kn[1]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[2]||(kn[2]=xn=>Fe.value=!0),onBlur:kn[3]||(kn[3]=xn=>Fe.value=!1),onClick:kn[4]||(kn[4]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$Y)),[[vModelCheckbox,unref(Dt)]]):withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":kn[5]||(kn[5]=xn=>isRef(Dt)?Dt.value=xn:null),class:normalizeClass(unref(vn).be("button","original")),type:"checkbox",name:wn.name,tabindex:wn.tabindex,disabled:unref(qe),value:unref(Lt),onChange:kn[6]||(kn[6]=(...xn)=>unref(jt)&&unref(jt)(...xn)),onFocus:kn[7]||(kn[7]=xn=>Fe.value=!0),onBlur:kn[8]||(kn[8]=xn=>Fe.value=!1),onClick:kn[9]||(kn[9]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$C)),[[vModelCheckbox,unref(Dt)]]),wn.$slots.default||wn.label?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass(unref(vn).be("button","inner")),style:normalizeStyle$1(unref(Ue)?unref(bn):void 0)},[renderSlot(wn.$slots,"default",{},()=>[createTextVNode(toDisplayString(wn.label),1)])],6)):createCommentVNode("v-if",!0)],2)}}});var CheckboxButton=_export_sfc$1(_sfc_main$1V,[["__file","checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:useSizeProp,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),change:xe=>isArray$6(xe)},__default__$1h=defineComponent({name:"ElCheckboxGroup"}),_sfc_main$1U=defineComponent({...__default__$1h,props:checkboxGroupProps,emits:checkboxGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("checkbox"),{formItem:Ue}=useFormItem(),{inputId:qe,isLabeledByFormItem:At}=useFormItemInputId(Ie,{formItemContext:Ue}),Dt=async jt=>{$e(UPDATE_MODEL_EVENT,jt),await nextTick(),$e("change",jt)},Lt=computed({get(){return Ie.modelValue},set(jt){Dt(jt)}});return provide(checkboxGroupContextKey,{...pick(toRefs(Ie),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:Lt,changeEvent:Dt}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-checkbox-group",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!Ie.label)),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(Ue==null||Ue.validate("change").catch(jt=>void 0))}),(jt,hn)=>{var vn;return openBlock(),createBlock(resolveDynamicComponent(jt.tag),{id:unref(qe),class:normalizeClass(unref(Fe).b("group")),role:"group","aria-label":unref(At)?void 0:jt.label||jt.ariaLabel||"checkbox-group","aria-labelledby":unref(At)?(vn=unref(Ue))==null?void 0:vn.labelId:void 0},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc$1(_sfc_main$1U,[["__file","checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup$1=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:useSizeProp,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),radioProps=buildProps({...radioPropsBase,border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)||isBoolean(xe)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(xe,$e)=>{const Ie=ref(),Fe=inject(radioGroupKey,void 0),Ue=computed(()=>!!Fe),qe=computed(()=>isPropAbsent(xe.value)?xe.label:xe.value),At=computed({get(){return Ue.value?Fe.modelValue:xe.modelValue},set(vn){Ue.value?Fe.changeEvent(vn):$e&&$e(UPDATE_MODEL_EVENT,vn),Ie.value.checked=xe.modelValue===qe.value}}),Dt=useFormSize(computed(()=>Fe==null?void 0:Fe.size)),Lt=useFormDisabled(computed(()=>Fe==null?void 0:Fe.disabled)),jt=ref(!1),hn=computed(()=>Lt.value||Ue.value&&At.value!==qe.value?-1:0);return useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>Ue.value&&isPropAbsent(xe.value))),{radioRef:Ie,isGroup:Ue,radioGroup:Fe,focus:jt,size:Dt,disabled:Lt,tabIndex:hn,modelValue:At,actualValue:qe}},_hoisted_1$X=["value","name","disabled"],__default__$1g=defineComponent({name:"ElRadio"}),_sfc_main$1T=defineComponent({...__default__$1g,props:radioProps,emits:radioEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),{radioRef:Ue,radioGroup:qe,focus:At,size:Dt,disabled:Lt,modelValue:jt,actualValue:hn}=useRadio(Ie,$e);function vn(){nextTick(()=>$e("change",jt.value))}return(bn,_n)=>{var wn;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("focus",unref(At)),unref(Fe).is("bordered",bn.border),unref(Fe).is("checked",unref(jt)===unref(hn)),unref(Fe).m(unref(Dt))])},[createBaseVNode("span",{class:normalizeClass([unref(Fe).e("input"),unref(Fe).is("disabled",unref(Lt)),unref(Fe).is("checked",unref(jt)===unref(hn))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Ue,"onUpdate:modelValue":_n[0]||(_n[0]=kn=>isRef(jt)?jt.value=kn:null),class:normalizeClass(unref(Fe).e("original")),value:unref(hn),name:bn.name||((wn=unref(qe))==null?void 0:wn.name),disabled:unref(Lt),type:"radio",onFocus:_n[1]||(_n[1]=kn=>At.value=!0),onBlur:_n[2]||(_n[2]=kn=>At.value=!1),onChange:vn,onClick:_n[3]||(_n[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$X),[[vModelRadio,unref(jt)]]),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("label")),onKeydown:_n[4]||(_n[4]=withModifiers(()=>{},["stop"]))},[renderSlot(bn.$slots,"default",{},()=>[createTextVNode(toDisplayString(bn.label),1)])],34)],2)}}});var Radio=_export_sfc$1(_sfc_main$1T,[["__file","radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase}),_hoisted_1$W=["value","name","disabled"],__default__$1f=defineComponent({name:"ElRadioButton"}),_sfc_main$1S=defineComponent({...__default__$1f,props:radioButtonProps,setup(xe){const $e=xe,Ie=useNamespace("radio"),{radioRef:Fe,focus:Ue,size:qe,disabled:At,modelValue:Dt,radioGroup:Lt,actualValue:jt}=useRadio($e),hn=computed(()=>({backgroundColor:(Lt==null?void 0:Lt.fill)||"",borderColor:(Lt==null?void 0:Lt.fill)||"",boxShadow:Lt!=null&&Lt.fill?`-1px 0 0 0 ${Lt.fill}`:"",color:(Lt==null?void 0:Lt.textColor)||""}));return(vn,bn)=>{var _n;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(Ie).b("button"),unref(Ie).is("active",unref(Dt)===unref(jt)),unref(Ie).is("disabled",unref(At)),unref(Ie).is("focus",unref(Ue)),unref(Ie).bm("button",unref(qe))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:Fe,"onUpdate:modelValue":bn[0]||(bn[0]=wn=>isRef(Dt)?Dt.value=wn:null),class:normalizeClass(unref(Ie).be("button","original-radio")),value:unref(jt),type:"radio",name:vn.name||((_n=unref(Lt))==null?void 0:_n.name),disabled:unref(At),onFocus:bn[1]||(bn[1]=wn=>Ue.value=!0),onBlur:bn[2]||(bn[2]=wn=>Ue.value=!1),onClick:bn[3]||(bn[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$W),[[vModelRadio,unref(Dt)]]),createBaseVNode("span",{class:normalizeClass(unref(Ie).be("button","inner")),style:normalizeStyle$1(unref(Dt)===unref(jt)?unref(hn):{}),onKeydown:bn[4]||(bn[4]=withModifiers(()=>{},["stop"]))},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.label),1)])],38)],2)}}});var RadioButton=_export_sfc$1(_sfc_main$1S,[["__file","radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),radioGroupEmits=radioEmits,_hoisted_1$V=["id","aria-label","aria-labelledby"],__default__$1e=defineComponent({name:"ElRadioGroup"}),_sfc_main$1R=defineComponent({...__default__$1e,props:radioGroupProps,emits:radioGroupEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("radio"),Ue=useId(),qe=ref(),{formItem:At}=useFormItem(),{inputId:Dt,isLabeledByFormItem:Lt}=useFormItemInputId(Ie,{formItemContext:At}),jt=vn=>{$e(UPDATE_MODEL_EVENT,vn),nextTick(()=>$e("change",vn))};onMounted(()=>{const vn=qe.value.querySelectorAll("[type=radio]"),bn=vn[0];!Array.from(vn).some(_n=>_n.checked)&&bn&&(bn.tabIndex=0)});const hn=computed(()=>Ie.name||Ue.value);return provide(radioGroupKey,reactive({...toRefs(Ie),changeEvent:jt,name:hn})),watch(()=>Ie.modelValue,()=>{Ie.validateEvent&&(At==null||At.validate("change").catch(vn=>void 0))}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>!!Ie.label)),(vn,bn)=>(openBlock(),createElementBlock("div",{id:unref(Dt),ref_key:"radioGroupRef",ref:qe,class:normalizeClass(unref(Fe).b("group")),role:"radiogroup","aria-label":unref(Lt)?void 0:vn.label||vn.ariaLabel||"radio-group","aria-labelledby":unref(Lt)?unref(At).labelId:void 0},[renderSlot(vn.$slots,"default")],10,_hoisted_1$V))}});var RadioGroup=_export_sfc$1(_sfc_main$1R,[["__file","radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton,RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton);var NodeContent$1=defineComponent({name:"NodeContent",setup(){return{ns:useNamespace("cascader-node")}},render(){const{ns:xe}=this,{node:$e,panel:Ie}=this.$parent,{data:Fe,label:Ue}=$e,{renderLabelFn:qe}=Ie;return h$5("span",{class:xe.e("label")},qe?qe({node:$e,data:Fe}):Ue)}});const CASCADER_PANEL_INJECTION_KEY=Symbol(),_sfc_main$1Q=defineComponent({name:"ElCascaderNode",components:{ElCheckbox,ElRadio,NodeContent:NodeContent$1,ElIcon,Check:check_default,Loading:loading_default,ArrowRight:arrow_right_default},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(xe,{emit:$e}){const Ie=inject(CASCADER_PANEL_INJECTION_KEY),Fe=useNamespace("cascader-node"),Ue=computed(()=>Ie.isHoverMenu),qe=computed(()=>Ie.config.multiple),At=computed(()=>Ie.config.checkStrictly),Dt=computed(()=>{var $n;return($n=Ie.checkedNodes[0])==null?void 0:$n.uid}),Lt=computed(()=>xe.node.isDisabled),jt=computed(()=>xe.node.isLeaf),hn=computed(()=>At.value&&!jt.value||!Lt.value),vn=computed(()=>_n(Ie.expandingNode)),bn=computed(()=>At.value&&Ie.checkedNodes.some(_n)),_n=$n=>{var Pn;const{level:Nn,uid:Mn}=xe.node;return((Pn=$n==null?void 0:$n.pathNodes[Nn-1])==null?void 0:Pn.uid)===Mn},wn=()=>{vn.value||Ie.expandNode(xe.node)},kn=$n=>{const{node:Pn}=xe;$n!==Pn.checked&&Ie.handleCheckChange(Pn,$n)},Cn=()=>{Ie.lazyLoad(xe.node,()=>{jt.value||wn()})},Sn=$n=>{Ue.value&&(xn(),!jt.value&&$e("expand",$n))},xn=()=>{const{node:$n}=xe;!hn.value||$n.loading||($n.loaded?wn():Cn())},En=()=>{Ue.value&&!jt.value||(jt.value&&!Lt.value&&!At.value&&!qe.value?An(!0):xn())},Tn=$n=>{At.value?(kn($n),xe.node.loaded&&wn()):An($n)},An=$n=>{xe.node.loaded?(kn($n),!At.value&&wn()):Cn()};return{panel:Ie,isHoverMenu:Ue,multiple:qe,checkStrictly:At,checkedNodeId:Dt,isDisabled:Lt,isLeaf:jt,expandable:hn,inExpandingPath:vn,inCheckedPath:bn,ns:Fe,handleHoverExpand:Sn,handleExpand:xn,handleClick:En,handleCheck:An,handleSelectCheck:Tn}}}),_hoisted_1$U=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_hoisted_2$B=createBaseVNode("span",null,null,-1);function _sfc_render$t(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-radio"),Lt=resolveComponent("check"),jt=resolveComponent("el-icon"),hn=resolveComponent("node-content"),vn=resolveComponent("loading"),bn=resolveComponent("arrow-right");return openBlock(),createElementBlock("li",{id:`${xe.menuId}-${xe.node.uid}`,role:"menuitem","aria-haspopup":!xe.isLeaf,"aria-owns":xe.isLeaf?null:xe.menuId,"aria-expanded":xe.inExpandingPath,tabindex:xe.expandable?-1:void 0,class:normalizeClass([xe.ns.b(),xe.ns.is("selectable",xe.checkStrictly),xe.ns.is("active",xe.node.checked),xe.ns.is("disabled",!xe.expandable),xe.inExpandingPath&&"in-active-path",xe.inCheckedPath&&"in-checked-path"]),onMouseenter:$e[2]||($e[2]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onFocus:$e[3]||($e[3]=(..._n)=>xe.handleHoverExpand&&xe.handleHoverExpand(..._n)),onClick:$e[4]||($e[4]=(..._n)=>xe.handleClick&&xe.handleClick(..._n))},[createCommentVNode(" prefix "),xe.multiple?(openBlock(),createBlock(At,{key:0,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:xe.isDisabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":xe.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):xe.checkStrictly?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.checkedNodeId,label:xe.node.uid,disabled:xe.isDisabled,"onUpdate:modelValue":xe.handleSelectCheck,onClick:$e[1]||($e[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(` Add an empty element to avoid render label, do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 `),_hoisted_2$B]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):xe.isLeaf&&xe.node.checked?(openBlock(),createBlock(jt,{key:2,class:normalizeClass(xe.ns.e("prefix"))},{default:withCtx(()=>[createVNode$1(Lt)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode$1(hn),createCommentVNode(" postfix "),xe.isLeaf?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[xe.node.loading?(openBlock(),createBlock(jt,{key:0,class:normalizeClass([xe.ns.is("loading"),xe.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(vn)]),_:1},8,["class"])):(openBlock(),createBlock(jt,{key:1,class:normalizeClass(["arrow-right",xe.ns.e("postfix")])},{default:withCtx(()=>[createVNode$1(bn)]),_:1},8,["class"]))],64))],42,_hoisted_1$U)}var ElCascaderNode=_export_sfc$1(_sfc_main$1Q,[["render",_sfc_render$t],["__file","node.vue"]]);const _sfc_main$1P=defineComponent({name:"ElCascaderMenu",components:{Loading:loading_default,ElIcon,ElScrollbar,ElCascaderNode},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(xe){const $e=getCurrentInstance(),Ie=useNamespace("cascader-menu"),{t:Fe}=useLocale(),Ue=useId();let qe=null,At=null;const Dt=inject(CASCADER_PANEL_INJECTION_KEY),Lt=ref(null),jt=computed(()=>!xe.nodes.length),hn=computed(()=>!Dt.initialLoaded),vn=computed(()=>`${Ue.value}-${xe.index}`),bn=Cn=>{qe=Cn.target},_n=Cn=>{if(!(!Dt.isHoverMenu||!qe||!Lt.value))if(qe.contains(Cn.target)){wn();const Sn=$e.vnode.el,{left:xn}=Sn.getBoundingClientRect(),{offsetWidth:En,offsetHeight:Tn}=Sn,An=Cn.clientX-xn,$n=qe.offsetTop,Pn=$n+qe.offsetHeight;Lt.value.innerHTML=` - `}else At||(At=window.setTimeout(kn,Dt.config.hoverThreshold))},wn=()=>{At&&(clearTimeout(At),At=null)},kn=()=>{Lt.value&&(Lt.value.innerHTML="",wn())};return{ns:Ie,panel:Dt,hoverZone:Lt,isEmpty:jt,isLoading:hn,menuId:vn,t:Fe,handleExpand:bn,handleMouseMove:_n,clearHoverZone:kn}}});function _sfc_render$s(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-node"),Dt=resolveComponent("loading"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-scrollbar");return openBlock(),createBlock(jt,{key:xe.menuId,tag:"ul",role:"menu",class:normalizeClass(xe.ns.b()),"wrap-class":xe.ns.e("wrap"),"view-class":[xe.ns.e("list"),xe.ns.is("empty",xe.isEmpty)],onMousemove:xe.handleMouseMove,onMouseleave:xe.clearHoverZone},{default:withCtx(()=>{var hn;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.nodes,vn=>(openBlock(),createBlock(At,{key:vn.uid,node:vn,"menu-id":xe.menuId,onExpand:xe.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),xe.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-text"))},[createVNode$1(Lt,{size:"14",class:normalizeClass(xe.ns.is("loading"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(xe.t("el.cascader.loading")),1)],2)):xe.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString(xe.t("el.cascader.noData")),3)):(hn=xe.panel)!=null&&hn.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(xe.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$1P,[["render",_sfc_render$s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=xe=>{const $e=[xe];let{parent:Ie}=xe;for(;Ie;)$e.unshift(Ie),Ie=Ie.parent;return $e};let Node$2=class Pi{constructor($e,Ie,Fe,Ue=!1){this.data=$e,this.config=Ie,this.parent=Fe,this.root=Ue,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:qe,label:At,children:Dt}=Ie,Lt=$e[Dt],jt=calculatePathNodes(this);this.level=Ue?0:Fe?Fe.level+1:1,this.value=$e[qe],this.label=$e[At],this.pathNodes=jt,this.pathValues=jt.map(hn=>hn.value),this.pathLabels=jt.map(hn=>hn.label),this.childrenData=Lt,this.children=(Lt||[]).map(hn=>new Pi(hn,Ie,this)),this.loaded=!Ie.lazy||this.isLeaf||!isEmpty(Lt)}get isDisabled(){const{data:$e,parent:Ie,config:Fe}=this,{disabled:Ue,checkStrictly:qe}=Fe;return(isFunction$5(Ue)?Ue($e,this):!!$e[Ue])||!qe&&(Ie==null?void 0:Ie.isDisabled)}get isLeaf(){const{data:$e,config:Ie,childrenData:Fe,loaded:Ue}=this,{lazy:qe,leaf:At}=Ie,Dt=isFunction$5(At)?At($e,this):$e[At];return isUndefined(Dt)?qe&&!Ue?!1:!(Array.isArray(Fe)&&Fe.length):!!Dt}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild($e){const{childrenData:Ie,children:Fe}=this,Ue=new Pi($e,this.config,this);return Array.isArray(Ie)?Ie.push($e):this.childrenData=[$e],Fe.push(Ue),Ue}calcText($e,Ie){const Fe=$e?this.pathLabels.join(Ie):this.label;return this.text=Fe,Fe}broadcast($e,...Ie){const Fe=`onParent${capitalize($e)}`;this.children.forEach(Ue=>{Ue&&(Ue.broadcast($e,...Ie),Ue[Fe]&&Ue[Fe](...Ie))})}emit($e,...Ie){const{parent:Fe}=this,Ue=`onChild${capitalize($e)}`;Fe&&(Fe[Ue]&&Fe[Ue](...Ie),Fe.emit($e,...Ie))}onParentCheck($e){this.isDisabled||this.setCheckState($e)}onChildCheck(){const{children:$e}=this,Ie=$e.filter(Ue=>!Ue.isDisabled),Fe=Ie.length?Ie.every(Ue=>Ue.checked):!1;this.setCheckState(Fe)}setCheckState($e){const Ie=this.children.length,Fe=this.children.reduce((Ue,qe)=>{const At=qe.checked?1:qe.indeterminate?.5:0;return Ue+At},0);this.checked=this.loaded&&this.children.filter(Ue=>!Ue.isDisabled).every(Ue=>Ue.loaded&&Ue.checked)&&$e,this.indeterminate=this.loaded&&Fe!==Ie&&Fe>0}doCheck($e){if(this.checked===$e)return;const{checkStrictly:Ie,multiple:Fe}=this.config;Ie||!Fe?this.checked=$e:(this.broadcast("check",$e),this.setCheckState($e),this.emit("check"))}};const flatNodes=(xe,$e)=>xe.reduce((Ie,Fe)=>(Fe.isLeaf?Ie.push(Fe):(!$e&&Ie.push(Fe),Ie=Ie.concat(flatNodes(Fe.children,$e))),Ie),[]);class Store{constructor($e,Ie){this.config=Ie;const Fe=($e||[]).map(Ue=>new Node$2(Ue,this.config));this.nodes=Fe,this.allNodes=flatNodes(Fe,!1),this.leafNodes=flatNodes(Fe,!0)}getNodes(){return this.nodes}getFlattedNodes($e){return $e?this.leafNodes:this.allNodes}appendNode($e,Ie){const Fe=Ie?Ie.appendChild($e):new Node$2($e,this.config);Ie||this.nodes.push(Fe),this.allNodes.push(Fe),Fe.isLeaf&&this.leafNodes.push(Fe)}appendNodes($e,Ie){$e.forEach(Fe=>this.appendNode(Fe,Ie))}getNodeByValue($e,Ie=!1){return!$e&&$e!==0?null:this.getFlattedNodes(Ie).find(Ue=>isEqual$1(Ue.value,$e)||isEqual$1(Ue.pathValues,$e))||null}getSameNode($e){return $e&&this.getFlattedNodes(!1).find(({value:Fe,level:Ue})=>isEqual$1($e.value,Fe)&&$e.level===Ue)||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},useCascaderConfig=xe=>computed(()=>({...DefaultProps,...xe.props})),getMenuIndex=xe=>{if(!xe)return 0;const $e=xe.id.split("-");return Number($e[$e.length-2])},checkNode=xe=>{if(!xe)return;const $e=xe.querySelector("input");$e?$e.click():isLeaf(xe)&&xe.click()},sortByOriginalOrder=(xe,$e)=>{const Ie=$e.slice(0),Fe=Ie.map(qe=>qe.uid),Ue=xe.reduce((qe,At)=>{const Dt=Fe.indexOf(At.uid);return Dt>-1&&(qe.push(At),Ie.splice(Dt,1),Fe.splice(Dt,1)),qe},[]);return Ue.push(...Ie),Ue},_sfc_main$1O=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(xe,{emit:$e,slots:Ie}){let Fe=!1;const Ue=useNamespace("cascader"),qe=useCascaderConfig(xe);let At=null;const Dt=ref(!0),Lt=ref([]),jt=ref(null),hn=ref([]),vn=ref(null),bn=ref([]),_n=computed(()=>qe.value.expandTrigger==="hover"),wn=computed(()=>xe.renderLabel||Ie.default),kn=()=>{const{options:Rn}=xe,Bn=qe.value;Fe=!1,At=new Store(Rn,Bn),hn.value=[At.getNodes()],Bn.lazy&&isEmpty(xe.options)?(Dt.value=!1,Cn(void 0,Vn=>{Vn&&(At=new Store(Vn,Bn),hn.value=[At.getNodes()]),Dt.value=!0,Nn(!1,!0)})):Nn(!1,!0)},Cn=(Rn,Bn)=>{const Vn=qe.value;Rn=Rn||new Node$2({},Vn,void 0,!0),Rn.loading=!0;const Ln=Dn=>{const Hn=Rn,Fn=Hn.root?null:Hn;Dn&&(At==null||At.appendNodes(Dn,Fn)),Hn.loading=!1,Hn.loaded=!0,Hn.childrenData=Hn.childrenData||[],Bn&&Bn(Dn)};Vn.lazyLoad(Rn,Ln)},Sn=(Rn,Bn)=>{var Vn;const{level:Ln}=Rn,Dn=hn.value.slice(0,Ln);let Hn;Rn.isLeaf?Hn=Rn.pathNodes[Ln-2]:(Hn=Rn,Dn.push(Rn.children)),((Vn=vn.value)==null?void 0:Vn.uid)!==(Hn==null?void 0:Hn.uid)&&(vn.value=Rn,hn.value=Dn,!Bn&&$e("expand-change",(Rn==null?void 0:Rn.pathValues)||[]))},xn=(Rn,Bn,Vn=!0)=>{const{checkStrictly:Ln,multiple:Dn}=qe.value,Hn=bn.value[0];Fe=!0,!Dn&&(Hn==null||Hn.doCheck(!1)),Rn.doCheck(Bn),Pn(),Vn&&!Dn&&!Ln&&$e("close"),!Vn&&!Dn&&!Ln&&En(Rn)},En=Rn=>{Rn&&(Rn=Rn.parent,En(Rn),Rn&&Sn(Rn))},Tn=Rn=>At==null?void 0:At.getFlattedNodes(Rn),An=Rn=>{var Bn;return(Bn=Tn(Rn))==null?void 0:Bn.filter(Vn=>Vn.checked!==!1)},$n=()=>{bn.value.forEach(Rn=>Rn.doCheck(!1)),Pn(),hn.value=hn.value.slice(0,1),vn.value=null,$e("expand-change",[])},Pn=()=>{var Rn;const{checkStrictly:Bn,multiple:Vn}=qe.value,Ln=bn.value,Dn=An(!Bn),Hn=sortByOriginalOrder(Ln,Dn),Fn=Hn.map(zn=>zn.valueByOption);bn.value=Hn,jt.value=Vn?Fn:(Rn=Fn[0])!=null?Rn:null},Nn=(Rn=!1,Bn=!1)=>{const{modelValue:Vn}=xe,{lazy:Ln,multiple:Dn,checkStrictly:Hn}=qe.value,Fn=!Hn;if(!(!Dt.value||Fe||!Bn&&isEqual$1(Vn,jt.value)))if(Ln&&!Rn){const jn=unique(flattenDeep(castArray(Vn))).map(Gn=>At==null?void 0:At.getNodeByValue(Gn)).filter(Gn=>!!Gn&&!Gn.loaded&&!Gn.loading);jn.length?jn.forEach(Gn=>{Cn(Gn,()=>Nn(!1,Bn))}):Nn(!0,Bn)}else{const zn=Dn?castArray(Vn):[Vn],jn=unique(zn.map(Gn=>At==null?void 0:At.getNodeByValue(Gn,Fn)));Mn(jn,Bn),jt.value=cloneDeep(Vn)}},Mn=(Rn,Bn=!0)=>{const{checkStrictly:Vn}=qe.value,Ln=bn.value,Dn=Rn.filter(zn=>!!zn&&(Vn||zn.isLeaf)),Hn=At==null?void 0:At.getSameNode(vn.value),Fn=Bn&&Hn||Dn[0];Fn?Fn.pathNodes.forEach(zn=>Sn(zn,!0)):vn.value=null,Ln.forEach(zn=>zn.doCheck(!1)),reactive(Dn).forEach(zn=>zn.doCheck(!0)),bn.value=Dn,nextTick(In)},In=()=>{isClient$1&&Lt.value.forEach(Rn=>{const Bn=Rn==null?void 0:Rn.$el;if(Bn){const Vn=Bn.querySelector(`.${Ue.namespace.value}-scrollbar__wrap`),Ln=Bn.querySelector(`.${Ue.b("node")}.${Ue.is("active")}`)||Bn.querySelector(`.${Ue.b("node")}.in-active-path`);scrollIntoView(Vn,Ln)}})},On=Rn=>{const Bn=Rn.target,{code:Vn}=Rn;switch(Vn){case EVENT_CODE.up:case EVENT_CODE.down:{Rn.preventDefault();const Ln=Vn===EVENT_CODE.up?-1:1;focusNode(getSibling(Bn,Ln,`.${Ue.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)-1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[aria-expanded="true"]`);focusNode(Dn);break}case EVENT_CODE.right:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)+1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[tabindex="-1"]`);focusNode(Dn);break}case EVENT_CODE.enter:checkNode(Bn);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:qe,expandingNode:vn,checkedNodes:bn,isHoverMenu:_n,initialLoaded:Dt,renderLabelFn:wn,lazyLoad:Cn,expandNode:Sn,handleCheckChange:xn})),watch([qe,()=>xe.options],kn,{deep:!0,immediate:!0}),watch(()=>xe.modelValue,()=>{Fe=!1,Nn()},{deep:!0}),watch(()=>jt.value,Rn=>{isEqual$1(Rn,xe.modelValue)||($e(UPDATE_MODEL_EVENT,Rn),$e(CHANGE_EVENT,Rn))}),onBeforeUpdate(()=>Lt.value=[]),onMounted(()=>!isEmpty(xe.modelValue)&&Nn()),{ns:Ue,menuList:Lt,menus:hn,checkedNodes:bn,handleKeyDown:On,handleCheckChange:xn,getFlattedNodes:Tn,getCheckedNodes:An,clearCheckedNodes:$n,calculateCheckedValue:Pn,scrollToExpandingNode:In}}});function _sfc_render$r(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("panel"),xe.ns.is("bordered",xe.border)]),onKeydown:$e[0]||($e[0]=(...Dt)=>xe.handleKeyDown&&xe.handleKeyDown(...Dt))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.menus,(Dt,Lt)=>(openBlock(),createBlock(At,{key:Lt,ref_for:!0,ref:jt=>xe.menuList[Lt]=jt,index:Lt,nodes:[...Dt]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1O,[["render",_sfc_render$r],["__file","index.vue"]]);CascaderPanel.install=xe=>{xe.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:xe=>xe instanceof MouseEvent,click:xe=>xe instanceof MouseEvent},__default__$1d=defineComponent({name:"ElTag"}),_sfc_main$1N=defineComponent({...__default__$1d,props:tagProps,emits:tagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useFormSize(),Ue=useNamespace("tag"),qe=computed(()=>{const{type:Lt,hit:jt,effect:hn,closable:vn,round:bn}=Ie;return[Ue.b(),Ue.is("closable",vn),Ue.m(Lt||"primary"),Ue.m(Fe.value),Ue.m(hn),Ue.is("hit",jt),Ue.is("round",bn)]}),At=Lt=>{$e("close",Lt)},Dt=Lt=>{$e("click",Lt)};return(Lt,jt)=>Lt.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(Ue).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$1(_sfc_main$1N,[["__file","tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(xe,$e)=>xe.text.includes($e)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},...useEmptyValuesProps}),cascaderEmits={[UPDATE_MODEL_EVENT]:xe=>!0,[CHANGE_EVENT]:xe=>!0,focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,visibleChange:xe=>isBoolean(xe),expandChange:xe=>!!xe,removeTag:xe=>!!xe},_hoisted_1$T={key:0},_hoisted_2$A=["placeholder","onKeydown"],_hoisted_3$j=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$1c=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1M=defineComponent({...__default__$1c,props:cascaderProps,emits:cascaderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:cr})=>{const{modifiersData:Sr,placement:Dr}=cr;["right","left","bottom","top"].includes(Dr)||(Sr.arrow.x=35)},requires:["arrow"]}]},qe=useAttrs$1();let At=0,Dt=0;const Lt=useNamespace("cascader"),jt=useNamespace("input"),{t:hn}=useLocale(),{form:vn,formItem:bn}=useFormItem(),{valueOnClear:_n}=useEmptyValues(Fe),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(!1),Pn=ref(""),Nn=ref(""),Mn=ref([]),In=ref([]),On=ref([]),Rn=ref(!1),Bn=computed(()=>qe.style),Vn=computed(()=>Fe.disabled||(vn==null?void 0:vn.disabled)),Ln=computed(()=>Fe.placeholder||hn("el.cascader.placeholder")),Dn=computed(()=>Nn.value||Mn.value.length>0||Rn.value?"":Ln.value),Hn=useFormSize(),Fn=computed(()=>["small"].includes(Hn.value)?"small":"default"),zn=computed(()=>!!Fe.props.multiple),jn=computed(()=>!Fe.filterable||zn.value),Gn=computed(()=>zn.value?Nn.value:Pn.value),Wn=computed(()=>{var cr;return((cr=Sn.value)==null?void 0:cr.checkedNodes)||[]}),Xn=computed(()=>!Fe.clearable||Vn.value||An.value||!Tn.value?!1:!!Wn.value.length),er=computed(()=>{const{showAllLevels:cr,separator:Sr}=Fe,Dr=Wn.value;return Dr.length?zn.value?"":Dr[0].calcText(cr,Sr):""}),rr=computed(()=>(bn==null?void 0:bn.validateState)||""),Jn=computed({get(){return cloneDeep(Fe.modelValue)},set(cr){const Sr=cr||_n.value;Ie(UPDATE_MODEL_EVENT,Sr),Ie(CHANGE_EVENT,Sr),Fe.validateEvent&&(bn==null||bn.validate("change").catch(Dr=>void 0))}}),Yn=computed(()=>[Lt.b(),Lt.m(Hn.value),Lt.is("disabled",Vn.value),qe.class]),qn=computed(()=>[jt.e("icon"),"icon-arrow-down",Lt.is("reverse",En.value)]),ar=computed(()=>Lt.is("focus",En.value||$n.value)),tr=computed(()=>{var cr,Sr;return(Sr=(cr=wn.value)==null?void 0:cr.popperRef)==null?void 0:Sr.contentRef}),or=cr=>{var Sr,Dr,mr;Vn.value||(cr=cr??!En.value,cr!==En.value&&(En.value=cr,(Dr=(Sr=kn.value)==null?void 0:Sr.input)==null||Dr.setAttribute("aria-expanded",`${cr}`),cr?(sr(),nextTick((mr=Sn.value)==null?void 0:mr.scrollToExpandingNode)):Fe.filterable&&gr(),Ie("visibleChange",cr)))},sr=()=>{nextTick(()=>{var cr;(cr=wn.value)==null||cr.updatePopper()})},Kn=()=>{An.value=!1},Zn=cr=>{const{showAllLevels:Sr,separator:Dr}=Fe;return{node:cr,key:cr.uid,text:cr.calcText(Sr,Dr),hitState:!1,closable:!Vn.value&&!cr.isDisabled,isCollapseTag:!1}},nr=cr=>{var Sr;const Dr=cr.node;Dr.doCheck(!1),(Sr=Sn.value)==null||Sr.calculateCheckedValue(),Ie("removeTag",Dr.valueByOption)},lr=()=>{if(!zn.value)return;const cr=Wn.value,Sr=[],Dr=[];if(cr.forEach(mr=>Dr.push(Zn(mr))),In.value=Dr,cr.length){cr.slice(0,Fe.maxCollapseTags).forEach(zr=>Sr.push(Zn(zr)));const mr=cr.slice(Fe.maxCollapseTags),Lr=mr.length;Lr&&(Fe.collapseTags?Sr.push({key:-1,text:`+ ${Lr}`,closable:!1,isCollapseTag:!0}):mr.forEach(zr=>Sr.push(Zn(zr))))}Mn.value=Sr},ir=()=>{var cr,Sr;const{filterMethod:Dr,showAllLevels:mr,separator:Lr}=Fe,zr=(Sr=(cr=Sn.value)==null?void 0:cr.getFlattedNodes(!Fe.props.checkStrictly))==null?void 0:Sr.filter(Vr=>Vr.isDisabled?!1:(Vr.calcText(mr,Lr),Dr(Vr,Gn.value)));zn.value&&(Mn.value.forEach(Vr=>{Vr.hitState=!1}),In.value.forEach(Vr=>{Vr.hitState=!1})),An.value=!0,On.value=zr,sr()},kr=()=>{var cr;let Sr;An.value&&xn.value?Sr=xn.value.$el.querySelector(`.${Lt.e("suggestion-item")}`):Sr=(cr=Sn.value)==null?void 0:cr.$el.querySelector(`.${Lt.b("node")}[tabindex="-1"]`),Sr&&(Sr.focus(),!An.value&&Sr.click())},Cr=()=>{var cr,Sr;const Dr=(cr=kn.value)==null?void 0:cr.input,mr=Cn.value,Lr=(Sr=xn.value)==null?void 0:Sr.$el;if(!(!isClient$1||!Dr)){if(Lr){const zr=Lr.querySelector(`.${Lt.e("suggestion-list")}`);zr.style.minWidth=`${Dr.offsetWidth}px`}if(mr){const{offsetHeight:zr}=mr,Vr=Mn.value.length>0?`${Math.max(zr+6,At)}px`:`${At}px`;Dr.style.height=Vr,sr()}}},Er=cr=>{var Sr;return(Sr=Sn.value)==null?void 0:Sr.getCheckedNodes(cr)},dr=cr=>{sr(),Ie("expandChange",cr)},br=cr=>{var Sr;const Dr=(Sr=cr.target)==null?void 0:Sr.value;if(cr.type==="compositionend")Rn.value=!1,nextTick(()=>Br(Dr));else{const mr=Dr[Dr.length-1]||"";Rn.value=!isKorean(mr)}},_r=cr=>{if(!Rn.value)switch(cr.code){case EVENT_CODE.enter:or();break;case EVENT_CODE.down:or(!0),nextTick(kr),cr.preventDefault();break;case EVENT_CODE.esc:En.value===!0&&(cr.preventDefault(),cr.stopPropagation(),or(!1));break;case EVENT_CODE.tab:or(!1);break}},Pr=()=>{var cr;(cr=Sn.value)==null||cr.clearCheckedNodes(),!En.value&&Fe.filterable&&gr(),or(!1)},gr=()=>{const{value:cr}=er;Pn.value=cr,Nn.value=cr},xr=cr=>{var Sr,Dr;const{checked:mr}=cr;zn.value?(Sr=Sn.value)==null||Sr.handleCheckChange(cr,!mr,!1):(!mr&&((Dr=Sn.value)==null||Dr.handleCheckChange(cr,!0,!1)),or(!1))},Rr=cr=>{const Sr=cr.target,{code:Dr}=cr;switch(Dr){case EVENT_CODE.up:case EVENT_CODE.down:{const mr=Dr===EVENT_CODE.up?-1:1;focusNode(getSibling(Sr,mr,`.${Lt.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Sr.click();break}},Hr=()=>{const cr=Mn.value,Sr=cr[cr.length-1];Dt=Nn.value?0:Dt+1,!(!Sr||!Dt||Fe.collapseTags&&cr.length>1)&&(Sr.hitState?nr(Sr):Sr.hitState=!0)},Jr=cr=>{const Sr=cr.target,Dr=Lt.e("search-input");Sr.className===Dr&&($n.value=!0),Ie("focus",cr)},Gr=cr=>{$n.value=!1,Ie("blur",cr)},$r=debounce(()=>{const{value:cr}=Gn;if(!cr)return;const Sr=Fe.beforeFilter(cr);isPromise(Sr)?Sr.then(ir).catch(()=>{}):Sr!==!1?ir():Kn()},Fe.debounce),Br=(cr,Sr)=>{!En.value&&or(!0),!(Sr!=null&&Sr.isComposing)&&(cr?$r():Kn())},Tr=cr=>Number.parseFloat(useCssVar(jt.cssVarName("input-height"),cr).value)-2;return watch(An,sr),watch([Wn,Vn],lr),watch(Mn,()=>{nextTick(()=>Cr())}),watch(Hn,async()=>{await nextTick();const cr=kn.value.input;At=Tr(cr)||At,Cr()}),watch(er,gr,{immediate:!0}),onMounted(()=>{const cr=kn.value.input,Sr=Tr(cr);At=cr.offsetHeight||Sr,useResizeObserver(cr,Cr)}),$e({getCheckedNodes:Er,cascaderPanelRef:Sn,togglePopperVisible:or,contentRef:tr}),(cr,Sr)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:wn,visible:En.value,teleported:cr.teleported,"popper-class":[unref(Lt).e("dropdown"),cr.popperClass],"popper-options":Ue,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(Lt).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:Kn},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(Yn)),style:normalizeStyle$1(unref(Bn)),onClick:Sr[5]||(Sr[5]=()=>or(unref(jn)?void 0:!0)),onKeydown:_r,onMouseenter:Sr[6]||(Sr[6]=Dr=>Tn.value=!0),onMouseleave:Sr[7]||(Sr[7]=Dr=>Tn.value=!1)},[createVNode$1(unref(ElInput),{ref_key:"input",ref:kn,modelValue:Pn.value,"onUpdate:modelValue":Sr[1]||(Sr[1]=Dr=>Pn.value=Dr),placeholder:unref(Dn),readonly:unref(jn),disabled:unref(Vn),"validate-event":!1,size:unref(Hn),class:normalizeClass(unref(ar)),tabindex:unref(zn)&&cr.filterable&&!unref(Vn)?-1:void 0,onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr,onInput:Br},{suffix:withCtx(()=>[unref(Xn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(jt).e("icon"),"icon-circle-close"]),onClick:withModifiers(Pr,["stop"])},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(qn)),onClick:Sr[0]||(Sr[0]=withModifiers(Dr=>or(),["stop"]))},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(zn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Cn,class:normalizeClass([unref(Lt).e("tags"),unref(Lt).is("validate",!!unref(rr))])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.value,Dr=>(openBlock(),createBlock(unref(ElTag),{key:Dr.key,type:cr.tagType,size:unref(Fn),hit:Dr.hitState,closable:Dr.closable,"disable-transitions":"",onClose:mr=>nr(Dr)},{default:withCtx(()=>[Dr.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$T,toDisplayString(Dr.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:En.value||!cr.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Dr.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Lt).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(In.value.slice(cr.maxCollapseTags),(mr,Lr)=>(openBlock(),createElementBlock("div",{key:Lr,class:normalizeClass(unref(Lt).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:mr.key,class:"in-tooltip",type:cr.tagType,size:unref(Fn),hit:mr.hitState,closable:mr.closable,"disable-transitions":"",onClose:zr=>nr(mr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(mr.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),cr.filterable&&!unref(Vn)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Sr[2]||(Sr[2]=Dr=>Nn.value=Dr),type:"text",class:normalizeClass(unref(Lt).e("search-input")),placeholder:unref(er)?"":unref(Ln),onInput:Sr[3]||(Sr[3]=Dr=>Br(Nn.value,Dr)),onClick:Sr[4]||(Sr[4]=withModifiers(Dr=>or(!0),["stop"])),onKeydown:withKeys(Hr,["delete"]),onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr},null,42,_hoisted_2$A)),[[vModelText,Nn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>or(!1),unref(tr)]])]),content:withCtx(()=>[withDirectives(createVNode$1(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Sn,modelValue:unref(Jn),"onUpdate:modelValue":Sr[8]||(Sr[8]=Dr=>isRef(Jn)?Jn.value=Dr:null),options:cr.options,props:Fe.props,border:!1,"render-label":cr.$slots.default,onExpandChange:dr,onClose:Sr[9]||(Sr[9]=Dr=>cr.$nextTick(()=>or(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!An.value]]),cr.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:xn,tag:"ul",class:normalizeClass(unref(Lt).e("suggestion-panel")),"view-class":unref(Lt).e("suggestion-list"),onKeydown:Rr},{default:withCtx(()=>[On.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(On.value,Dr=>(openBlock(),createElementBlock("li",{key:Dr.uid,class:normalizeClass([unref(Lt).e("suggestion-item"),unref(Lt).is("checked",Dr.checked)]),tabindex:-1,onClick:mr=>xr(Dr)},[createBaseVNode("span",null,toDisplayString(Dr.text),1),Dr.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$j))),128)):renderSlot(cr.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(Lt).e("empty-text"))},toDisplayString(unref(hn)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,An.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$1(_sfc_main$1M,[["__file","cascader.vue"]]);Cascader.install=xe=>{xe.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1},type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),checkTagEmits={"update:checked":xe=>isBoolean(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)},__default__$1b=defineComponent({name:"ElCheckTag"}),_sfc_main$1L=defineComponent({...__default__$1b,props:checkTagProps,emits:checkTagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("check-tag"),Ue=computed(()=>[Fe.b(),Fe.is("checked",Ie.checked),Fe.m(Ie.type||"primary")]),qe=()=>{const At=!Ie.checked;$e(CHANGE_EVENT,At),$e("update:checked",At)};return(At,Dt)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue)),onClick:qe},[renderSlot(At.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1L,[["__file","check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),__default__$1a=defineComponent({name:"ElRow"}),_sfc_main$1K=defineComponent({...__default__$1a,props:rowProps,setup(xe){const $e=xe,Ie=useNamespace("row"),Fe=computed(()=>$e.gutter);provide(rowContextKey,{gutter:Fe});const Ue=computed(()=>{const At={};return $e.gutter&&(At.marginRight=At.marginLeft=`-${$e.gutter/2}px`),At}),qe=computed(()=>[Ie.b(),Ie.is(`justify-${$e.justify}`,$e.justify!=="start"),Ie.is(`align-${$e.align}`,!!$e.align)]);return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1K,[["__file","row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$19=defineComponent({name:"ElCol"}),_sfc_main$1J=defineComponent({...__default__$19,props:colProps,setup(xe){const $e=xe,{gutter:Ie}=inject(rowContextKey,{gutter:computed(()=>0)}),Fe=useNamespace("col"),Ue=computed(()=>{const At={};return Ie.value&&(At.paddingLeft=At.paddingRight=`${Ie.value/2}px`),At}),qe=computed(()=>{const At=[];return["span","offset","pull","push"].forEach(jt=>{const hn=$e[jt];isNumber$1(hn)&&(jt==="span"?At.push(Fe.b(`${$e[jt]}`)):hn>0&&At.push(Fe.b(`${jt}-${$e[jt]}`)))}),["xs","sm","md","lg","xl"].forEach(jt=>{isNumber$1($e[jt])?At.push(Fe.b(`${jt}-${$e[jt]}`)):isObject$8($e[jt])&&Object.entries($e[jt]).forEach(([hn,vn])=>{At.push(hn!=="span"?Fe.b(`${jt}-${hn}-${vn}`):Fe.b(`${jt}-${vn}`))})}),Ie.value&&At.push(Fe.is("guttered")),[Fe.b(),At]});return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1J,[["__file","col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=xe=>isNumber$1(xe)||isString$4(xe)||isArray$6(xe),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(xe,$e)=>{const Ie=ref(castArray$1(xe.modelValue)),Fe=qe=>{Ie.value=qe;const At=xe.accordion?Ie.value[0]:Ie.value;$e(UPDATE_MODEL_EVENT,At),$e(CHANGE_EVENT,At)},Ue=qe=>{if(xe.accordion)Fe([Ie.value[0]===qe?"":qe]);else{const At=[...Ie.value],Dt=At.indexOf(qe);Dt>-1?At.splice(Dt,1):At.push(qe),Fe(At)}};return watch(()=>xe.modelValue,()=>Ie.value=castArray$1(xe.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:Ie,handleItemClick:Ue}),{activeNames:Ie,setActiveNames:Fe}},useCollapseDOM=()=>{const xe=useNamespace("collapse");return{rootKls:computed(()=>xe.b())}},__default__$18=defineComponent({name:"ElCollapse"}),_sfc_main$1I=defineComponent({...__default__$18,props:collapseProps,emits:collapseEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{activeNames:Ue,setActiveNames:qe}=useCollapse(Fe,Ie),{rootKls:At}=useCollapseDOM();return $e({activeNames:Ue,setActiveNames:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At))},[renderSlot(Dt.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1I,[["__file","collapse.vue"]]);const __default__$17=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1H=defineComponent({...__default__$17,setup(xe){const $e=useNamespace("collapse-transition"),Ie=Ue=>{Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom},Fe={beforeEnter(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.style.height&&(Ue.dataset.elExistsHeight=Ue.style.height),Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0},enter(Ue){requestAnimationFrame(()=>{Ue.dataset.oldOverflow=Ue.style.overflow,Ue.dataset.elExistsHeight?Ue.style.maxHeight=Ue.dataset.elExistsHeight:Ue.scrollHeight!==0?Ue.style.maxHeight=`${Ue.scrollHeight}px`:Ue.style.maxHeight=0,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom,Ue.style.overflow="hidden"})},afterEnter(Ue){Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow},enterCancelled(Ue){Ie(Ue)},beforeLeave(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.dataset.oldOverflow=Ue.style.overflow,Ue.style.maxHeight=`${Ue.scrollHeight}px`,Ue.style.overflow="hidden"},leave(Ue){Ue.scrollHeight!==0&&(Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0)},afterLeave(Ue){Ie(Ue)},leaveCancelled(Ue){Ie(Ue)}};return(Ue,qe)=>(openBlock(),createBlock(Transition,mergeProps({name:unref($e).b()},toHandlers(Fe)),{default:withCtx(()=>[renderSlot(Ue.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1H,[["__file","collapse-transition.vue"]]);CollapseTransition.install=xe=>{xe.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:void 0},disabled:Boolean}),useCollapseItem=xe=>{const $e=inject(collapseContextKey),{namespace:Ie}=useNamespace("collapse"),Fe=ref(!1),Ue=ref(!1),qe=useIdInjection(),At=computed(()=>qe.current++),Dt=computed(()=>{var bn;return(bn=xe.name)!=null?bn:`${Ie.value}-id-${qe.prefix}-${unref(At)}`}),Lt=computed(()=>$e==null?void 0:$e.activeNames.value.includes(unref(Dt)));return{focusing:Fe,id:At,isActive:Lt,handleFocus:()=>{setTimeout(()=>{Ue.value?Ue.value=!1:Fe.value=!0},50)},handleHeaderClick:()=>{xe.disabled||($e==null||$e.handleItemClick(unref(Dt)),Fe.value=!1,Ue.value=!0)},handleEnterClick:()=>{$e==null||$e.handleItemClick(unref(Dt))}}},useCollapseItemDOM=(xe,{focusing:$e,isActive:Ie,id:Fe})=>{const Ue=useNamespace("collapse"),qe=computed(()=>[Ue.b("item"),Ue.is("active",unref(Ie)),Ue.is("disabled",xe.disabled)]),At=computed(()=>[Ue.be("item","header"),Ue.is("active",unref(Ie)),{focusing:unref($e)&&!xe.disabled}]),Dt=computed(()=>[Ue.be("item","arrow"),Ue.is("active",unref(Ie))]),Lt=computed(()=>Ue.be("item","wrap")),jt=computed(()=>Ue.be("item","content")),hn=computed(()=>Ue.b(`content-${unref(Fe)}`)),vn=computed(()=>Ue.b(`head-${unref(Fe)}`));return{arrowKls:Dt,headKls:At,rootKls:qe,itemWrapperKls:Lt,itemContentKls:jt,scopedContentId:hn,scopedHeadId:vn}},_hoisted_1$S=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],_hoisted_2$z=["id","aria-hidden","aria-labelledby"],__default__$16=defineComponent({name:"ElCollapseItem"}),_sfc_main$1G=defineComponent({...__default__$16,props:collapseItemProps,setup(xe,{expose:$e}){const Ie=xe,{focusing:Fe,id:Ue,isActive:qe,handleFocus:At,handleHeaderClick:Dt,handleEnterClick:Lt}=useCollapseItem(Ie),{arrowKls:jt,headKls:hn,rootKls:vn,itemWrapperKls:bn,itemContentKls:_n,scopedContentId:wn,scopedHeadId:kn}=useCollapseItemDOM(Ie,{focusing:Fe,isActive:qe,id:Ue});return $e({isActive:qe}),(Cn,Sn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(vn))},[createBaseVNode("button",{id:unref(kn),class:normalizeClass(unref(hn)),"aria-expanded":unref(qe),"aria-controls":unref(wn),"aria-describedby":unref(wn),tabindex:Cn.disabled?-1:0,type:"button",onClick:Sn[0]||(Sn[0]=(...xn)=>unref(Dt)&&unref(Dt)(...xn)),onKeydown:Sn[1]||(Sn[1]=withKeys(withModifiers((...xn)=>unref(Lt)&&unref(Lt)(...xn),["stop","prevent"]),["space","enter"])),onFocus:Sn[2]||(Sn[2]=(...xn)=>unref(At)&&unref(At)(...xn)),onBlur:Sn[3]||(Sn[3]=xn=>Fe.value=!1)},[renderSlot(Cn.$slots,"title",{},()=>[createTextVNode(toDisplayString(Cn.title),1)]),createVNode$1(unref(ElIcon),{class:normalizeClass(unref(jt))},{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_1$S),createVNode$1(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(wn),role:"region",class:normalizeClass(unref(bn)),"aria-hidden":!unref(qe),"aria-labelledby":unref(kn)},[createBaseVNode("div",{class:normalizeClass(unref(_n))},[renderSlot(Cn.$slots,"default")],2)],10,_hoisted_2$z),[[vShow,unref(qe)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1G,[["__file","collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(xe,$e){if(!isClient$1)return;const Ie=function(qe){var At;(At=$e.drag)==null||At.call($e,qe)},Fe=function(qe){var At;document.removeEventListener("mousemove",Ie),document.removeEventListener("mouseup",Fe),document.removeEventListener("touchmove",Ie),document.removeEventListener("touchend",Fe),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(At=$e.end)==null||At.call($e,qe)},Ue=function(qe){var At;isDragging||(qe.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",Ie),document.addEventListener("mouseup",Fe),document.addEventListener("touchmove",Ie),document.addEventListener("touchend",Fe),isDragging=!0,(At=$e.start)==null||At.call($e,qe))};xe.addEventListener("mousedown",Ue),xe.addEventListener("touchstart",Ue)}const useAlphaSlider=xe=>{const $e=getCurrentInstance(),Ie=shallowRef(),Fe=shallowRef();function Ue(At){At.target!==Ie.value&&qe(At)}function qe(At){if(!Fe.value||!Ie.value)return;const Lt=$e.vnode.el.getBoundingClientRect(),{clientX:jt,clientY:hn}=getClientXY(At);if(xe.vertical){let vn=hn-Lt.top;vn=Math.max(Ie.value.offsetHeight/2,vn),vn=Math.min(vn,Lt.height-Ie.value.offsetHeight/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetHeight/2)/(Lt.height-Ie.value.offsetHeight)*100))}else{let vn=jt-Lt.left;vn=Math.max(Ie.value.offsetWidth/2,vn),vn=Math.min(vn,Lt.width-Ie.value.offsetWidth/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetWidth/2)/(Lt.width-Ie.value.offsetWidth)*100))}}return{thumb:Ie,bar:Fe,handleDrag:qe,handleClick:Ue}},useAlphaSliderDOM=(xe,{bar:$e,thumb:Ie,handleDrag:Fe})=>{const Ue=getCurrentInstance(),qe=useNamespace("color-alpha-slider"),At=ref(0),Dt=ref(0),Lt=ref();function jt(){if(!Ie.value||xe.vertical)return 0;const xn=Ue.vnode.el,En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetWidth-Ie.value.offsetWidth/2)/100):0}function hn(){if(!Ie.value)return 0;const xn=Ue.vnode.el;if(!xe.vertical)return 0;const En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetHeight-Ie.value.offsetHeight/2)/100):0}function vn(){if(xe.color&&xe.color.value){const{r:xn,g:En,b:Tn}=xe.color.toRgb();return`linear-gradient(to right, rgba(${xn}, ${En}, ${Tn}, 0) 0%, rgba(${xn}, ${En}, ${Tn}, 1) 100%)`}return""}function bn(){At.value=jt(),Dt.value=hn(),Lt.value=vn()}onMounted(()=>{if(!$e.value||!Ie.value)return;const xn={drag:En=>{Fe(En)},end:En=>{Fe(En)}};draggable($e.value,xn),draggable(Ie.value,xn),bn()}),watch(()=>xe.color.get("alpha"),()=>bn()),watch(()=>xe.color.value,()=>bn());const _n=computed(()=>[qe.b(),qe.is("vertical",xe.vertical)]),wn=computed(()=>qe.e("bar")),kn=computed(()=>qe.e("thumb")),Cn=computed(()=>({background:Lt.value})),Sn=computed(()=>({left:addUnit(At.value),top:addUnit(Dt.value)}));return{rootKls:_n,barKls:wn,barStyle:Cn,thumbKls:kn,thumbStyle:Sn,update:bn}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$15=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1F=defineComponent({...__default__$15,props:alphaSliderProps,setup(xe,{expose:$e}){const Ie=xe,{bar:Fe,thumb:Ue,handleDrag:qe,handleClick:At}=useAlphaSlider(Ie),{rootKls:Dt,barKls:Lt,barStyle:jt,thumbKls:hn,thumbStyle:vn,update:bn}=useAlphaSliderDOM(Ie,{bar:Fe,thumb:Ue,handleDrag:qe});return $e({update:bn,bar:Fe,thumb:Ue}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt))},[createBaseVNode("div",{ref_key:"bar",ref:Fe,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(unref(jt)),onClick:wn[0]||(wn[0]=(...kn)=>unref(At)&&unref(At)(...kn))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:Ue,class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(vn))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1F,[["__file","alpha-slider.vue"]]);const _sfc_main$1E=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(xe){const $e=useNamespace("color-hue-slider"),Ie=getCurrentInstance(),Fe=ref(),Ue=ref(),qe=ref(0),At=ref(0),Dt=computed(()=>xe.color.get("hue"));watch(()=>Dt.value,()=>{bn()});function Lt(_n){_n.target!==Fe.value&&jt(_n)}function jt(_n){if(!Ue.value||!Fe.value)return;const kn=Ie.vnode.el.getBoundingClientRect(),{clientX:Cn,clientY:Sn}=getClientXY(_n);let xn;if(xe.vertical){let En=Sn-kn.top;En=Math.min(En,kn.height-Fe.value.offsetHeight/2),En=Math.max(Fe.value.offsetHeight/2,En),xn=Math.round((En-Fe.value.offsetHeight/2)/(kn.height-Fe.value.offsetHeight)*360)}else{let En=Cn-kn.left;En=Math.min(En,kn.width-Fe.value.offsetWidth/2),En=Math.max(Fe.value.offsetWidth/2,En),xn=Math.round((En-Fe.value.offsetWidth/2)/(kn.width-Fe.value.offsetWidth)*360)}xe.color.set("hue",xn)}function hn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetWidth-Fe.value.offsetWidth/2)/360):0}function vn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(!xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetHeight-Fe.value.offsetHeight/2)/360):0}function bn(){qe.value=hn(),At.value=vn()}return onMounted(()=>{if(!Ue.value||!Fe.value)return;const _n={drag:wn=>{jt(wn)},end:wn=>{jt(wn)}};draggable(Ue.value,_n),draggable(Fe.value,_n),bn()}),{bar:Ue,thumb:Fe,thumbLeft:qe,thumbTop:At,hueValue:Dt,handleClick:Lt,update:bn,ns:$e}}});function _sfc_render$q(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("vertical",xe.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(xe.ns.e("bar")),onClick:$e[0]||($e[0]=(...At)=>xe.handleClick&&xe.handleClick(...At))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(xe.ns.e("thumb")),style:normalizeStyle$1({left:xe.thumbLeft+"px",top:xe.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$1E,[["render",_sfc_render$q],["__file","hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},teleported:useTooltipContentProps.teleported,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNil(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNil(xe),activeChange:xe=>isString$4(xe)||isNil(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(xe,$e,Ie){return[xe,$e*Ie/((xe=(2-$e)*Ie)<1?xe:2-xe)||0,xe/2]},isOnePointZero=function(xe){return typeof xe=="string"&&xe.includes(".")&&Number.parseFloat(xe)===1},isPercentage=function(xe){return typeof xe=="string"&&xe.includes("%")},bound01=function(xe,$e){isOnePointZero(xe)&&(xe="100%");const Ie=isPercentage(xe);return xe=Math.min($e,Math.max(0,Number.parseFloat(`${xe}`))),Ie&&(xe=Number.parseInt(`${xe*$e}`,10)/100),Math.abs(xe-$e)<1e-6?1:xe%$e/Number.parseFloat($e)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=xe=>{xe=Math.min(Math.round(xe),255);const $e=Math.floor(xe/16),Ie=xe%16;return`${INT_HEX_MAP[$e]||$e}${INT_HEX_MAP[Ie]||Ie}`},toHex=function({r:xe,g:$e,b:Ie}){return Number.isNaN(+xe)||Number.isNaN(+$e)||Number.isNaN(+Ie)?"":`#${hexOne(xe)}${hexOne($e)}${hexOne(Ie)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(xe){return xe.length===2?(HEX_INT_MAP[xe[0].toUpperCase()]||+xe[0])*16+(HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]):HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]},hsl2hsv=function(xe,$e,Ie){$e=$e/100,Ie=Ie/100;let Fe=$e;const Ue=Math.max(Ie,.01);Ie*=2,$e*=Ie<=1?Ie:2-Ie,Fe*=Ue<=1?Ue:2-Ue;const qe=(Ie+$e)/2,At=Ie===0?2*Fe/(Ue+Fe):2*$e/(Ie+$e);return{h:xe,s:At*100,v:qe*100}},rgb2hsv=(xe,$e,Ie)=>{xe=bound01(xe,255),$e=bound01($e,255),Ie=bound01(Ie,255);const Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie);let qe;const At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:{qe=($e-Ie)/Dt+($e{this._hue=Math.max(0,Math.min(360,Fe)),this._saturation=Math.max(0,Math.min(100,Ue)),this._value=Math.max(0,Math.min(100,qe)),this.doOnChange()};if($e.includes("hsl")){const Fe=$e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=hsl2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("hsv")){const Fe=$e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3&&Ie(Fe[0],Fe[1],Fe[2])}else if($e.includes("rgb")){const Fe=$e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=rgb2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("#")){const Fe=$e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(Fe))return;let Ue,qe,At;Fe.length===3?(Ue=parseHexChannel(Fe[0]+Fe[0]),qe=parseHexChannel(Fe[1]+Fe[1]),At=parseHexChannel(Fe[2]+Fe[2])):(Fe.length===6||Fe.length===8)&&(Ue=parseHexChannel(Fe.slice(0,2)),qe=parseHexChannel(Fe.slice(2,4)),At=parseHexChannel(Fe.slice(4,6))),Fe.length===8?this._alpha=parseHexChannel(Fe.slice(6))/255*100:(Fe.length===3||Fe.length===6)&&(this._alpha=100);const{h:Dt,s:Lt,v:jt}=rgb2hsv(Ue,qe,At);Ie(Dt,Lt,jt)}}compare($e){return Math.abs($e._hue-this._hue)<2&&Math.abs($e._saturation-this._saturation)<1&&Math.abs($e._value-this._value)<1&&Math.abs($e._alpha-this._alpha)<1}doOnChange(){const{_hue:$e,_saturation:Ie,_value:Fe,_alpha:Ue,format:qe}=this;if(this.enableAlpha)switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsla(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb($e,Ie,Fe))}${hexOne(Ue*255/100)}`;break}default:{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgba(${At}, ${Dt}, ${Lt}, ${this.get("alpha")/100})`}}else switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsl(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%)`;break}case"rgb":{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgb(${At}, ${Dt}, ${Lt})`;break}default:this.value=toHex(hsv2rgb($e,Ie,Fe))}}}const _sfc_main$1D=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-predefine"),{currentColor:Ie}=inject(colorPickerContextKey),Fe=ref(qe(xe.colors,xe.color));watch(()=>Ie.value,At=>{const Dt=new Color;Dt.fromString(At),Fe.value.forEach(Lt=>{Lt.selected=Dt.compare(Lt)})}),watchEffect(()=>{Fe.value=qe(xe.colors,xe.color)});function Ue(At){xe.color.fromString(xe.colors[At])}function qe(At,Dt){return At.map(Lt=>{const jt=new Color;return jt.enableAlpha=!0,jt.format="rgba",jt.fromString(Lt),jt.selected=jt.value===Dt.value,jt})}return{rgbaColors:Fe,handleSelect:Ue,ns:$e}}}),_hoisted_1$R=["onClick"];function _sfc_render$p(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.rgbaColors,(At,Dt)=>(openBlock(),createElementBlock("div",{key:xe.colors[Dt],class:normalizeClass([xe.ns.e("color-selector"),xe.ns.is("alpha",At._alpha<100),{selected:At.selected}]),onClick:Lt=>xe.handleSelect(Dt)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:At.value})},null,4)],10,_hoisted_1$R))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1D,[["render",_sfc_render$p],["__file","predefine.vue"]]);const _sfc_main$1C=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-svpanel"),Ie=getCurrentInstance(),Fe=ref(0),Ue=ref(0),qe=ref("hsl(0, 100%, 50%)"),At=computed(()=>{const jt=xe.color.get("hue"),hn=xe.color.get("value");return{hue:jt,value:hn}});function Dt(){const jt=xe.color.get("saturation"),hn=xe.color.get("value"),vn=Ie.vnode.el,{clientWidth:bn,clientHeight:_n}=vn;Ue.value=jt*bn/100,Fe.value=(100-hn)*_n/100,qe.value=`hsl(${xe.color.get("hue")}, 100%, 50%)`}function Lt(jt){const vn=Ie.vnode.el.getBoundingClientRect(),{clientX:bn,clientY:_n}=getClientXY(jt);let wn=bn-vn.left,kn=_n-vn.top;wn=Math.max(0,wn),wn=Math.min(wn,vn.width),kn=Math.max(0,kn),kn=Math.min(kn,vn.height),Ue.value=wn,Fe.value=kn,xe.color.set({saturation:wn/vn.width*100,value:100-kn/vn.height*100})}return watch(()=>At.value,()=>{Dt()}),onMounted(()=>{draggable(Ie.vnode.el,{drag:jt=>{Lt(jt)},end:jt=>{Lt(jt)}}),Dt()}),{cursorTop:Fe,cursorLeft:Ue,background:qe,colorValue:At,handleDrag:Lt,update:Dt,ns:$e}}}),_hoisted_1$Q=createBaseVNode("div",null,null,-1),_hoisted_2$y=[_hoisted_1$Q];function _sfc_render$o(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b()),style:normalizeStyle$1({backgroundColor:xe.background})},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("cursor")),style:normalizeStyle$1({top:xe.cursorTop+"px",left:xe.cursorLeft+"px"})},_hoisted_2$y,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1C,[["render",_sfc_render$o],["__file","sv-panel.vue"]]);const _hoisted_1$P=["onKeydown"],_hoisted_2$x=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],__default__$14=defineComponent({name:"ElColorPicker"}),_sfc_main$1B=defineComponent({...__default__$14,props:colorPickerProps,emits:colorPickerEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("color"),{formItem:At}=useFormItem(),Dt=useFormSize(),Lt=useFormDisabled(),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(),bn=ref(),_n=ref(),wn=ref(),kn=ref(),Cn=ref(),{isFocused:Sn,handleFocus:xn,handleBlur:En}=useFocusController(kn,{beforeBlur(tr){var or;return(or=wn.value)==null?void 0:or.isFocusInsideContent(tr)},afterBlur(){Dn(!1),jn()}}),Tn=tr=>{if(Lt.value)return ar();xn(tr)};let An=!0;const $n=reactive(new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue})),Pn=ref(!1),Nn=ref(!1),Mn=ref(""),In=computed(()=>!Fe.modelValue&&!Nn.value?"transparent":Ln($n,Fe.showAlpha)),On=computed(()=>!Fe.modelValue&&!Nn.value?"":$n.value),Rn=computed(()=>hn.value?void 0:Fe.label||Fe.ariaLabel||Ue("el.colorpicker.defaultLabel"));useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-color-picker",ref:"https://element-plus.org/en-US/component/color-picker.html"},computed(()=>!!Fe.label));const Bn=computed(()=>hn.value?At==null?void 0:At.labelId:void 0),Vn=computed(()=>[qe.b("picker"),qe.is("disabled",Lt.value),qe.bm("picker",Dt.value),qe.is("focused",Sn.value)]);function Ln(tr,or){if(!(tr instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:sr,g:Kn,b:Zn}=tr.toRgb();return or?`rgba(${sr}, ${Kn}, ${Zn}, ${tr.get("alpha")/100})`:`rgb(${sr}, ${Kn}, ${Zn})`}function Dn(tr){Pn.value=tr}const Hn=debounce(Dn,100,{leading:!0});function Fn(){Lt.value||Dn(!0)}function zn(){Hn(!1),jn()}function jn(){nextTick(()=>{Fe.modelValue?$n.fromString(Fe.modelValue):($n.value="",nextTick(()=>{Nn.value=!1}))})}function Gn(){Lt.value||Hn(!Pn.value)}function Wn(){$n.fromString(Mn.value)}function Xn(){const tr=$n.value;Ie(UPDATE_MODEL_EVENT,tr),Ie("change",tr),Fe.validateEvent&&(At==null||At.validate("change").catch(or=>void 0)),Hn(!1),nextTick(()=>{const or=new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue});$n.compare(or)||jn()})}function er(){Hn(!1),Ie(UPDATE_MODEL_EVENT,null),Ie("change",null),Fe.modelValue!==null&&Fe.validateEvent&&(At==null||At.validate("change").catch(tr=>void 0)),jn()}function rr(tr){if(Pn.value&&(zn(),Sn.value)){const or=new FocusEvent("focus",tr);En(or)}}function Jn(tr){tr.preventDefault(),tr.stopPropagation(),Dn(!1),jn()}function Yn(tr){switch(tr.code){case EVENT_CODE.enter:case EVENT_CODE.space:tr.preventDefault(),tr.stopPropagation(),Fn(),Cn.value.focus();break;case EVENT_CODE.esc:Jn(tr);break}}function qn(){kn.value.focus()}function ar(){kn.value.blur()}return onMounted(()=>{Fe.modelValue&&(Mn.value=On.value)}),watch(()=>Fe.modelValue,tr=>{tr?tr&&tr!==$n.value&&(An=!1,$n.fromString(tr)):Nn.value=!1}),watch(()=>On.value,tr=>{Mn.value=tr,An&&Ie("activeChange",tr),An=!0}),watch(()=>$n.value,()=>{!Fe.modelValue&&!Nn.value&&(Nn.value=!0)}),watch(()=>Pn.value,()=>{nextTick(()=>{var tr,or,sr;(tr=vn.value)==null||tr.update(),(or=bn.value)==null||or.update(),(sr=_n.value)==null||sr.update()})}),provide(colorPickerContextKey,{currentColor:On}),$e({color:$n,show:Fn,hide:zn,focus:qn,blur:ar}),(tr,or)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:wn,visible:Pn.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(qe).be("picker","panel"),unref(qe).b("dropdown"),tr.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:tr.teleported,transition:`${unref(qe).namespace.value}-zoom-in-top`,persistent:"",onHide:or[2]||(or[2]=sr=>Dn(!1))},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(Jn,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","main-wrapper"))},[createVNode$1(HueSlider,{ref_key:"hue",ref:vn,class:"hue-slider",color:unref($n),vertical:""},null,8,["color"]),createVNode$1(SvPanel,{ref_key:"sv",ref:bn,color:unref($n)},null,8,["color"])],2),tr.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:_n,color:unref($n)},null,8,["color"])):createCommentVNode("v-if",!0),tr.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref($n),colors:tr.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("dropdown","value"))},[createVNode$1(unref(ElInput),{ref_key:"inputRef",ref:Cn,modelValue:Mn.value,"onUpdate:modelValue":or[0]||(or[0]=sr=>Mn.value=sr),"validate-event":!1,size:"small",onKeyup:withKeys(Wn,["enter"]),onBlur:Wn},null,8,["modelValue","onKeyup"])],2),createVNode$1(unref(ElButton),{class:normalizeClass(unref(qe).be("dropdown","link-btn")),text:"",size:"small",onClick:er},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(qe).be("dropdown","btn")),onClick:Xn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,_hoisted_1$P)),[[unref(ClickOutside),rr]])]),default:withCtx(()=>[createBaseVNode("div",mergeProps({id:unref(jt),ref_key:"triggerRef",ref:kn},tr.$attrs,{class:unref(Vn),role:"button","aria-label":unref(Rn),"aria-labelledby":unref(Bn),"aria-description":unref(Ue)("el.colorpicker.description",{color:tr.modelValue||""}),"aria-disabled":unref(Lt),tabindex:unref(Lt)?-1:tr.tabindex,onKeydown:Yn,onFocus:Tn,onBlur:or[1]||(or[1]=(...sr)=>unref(En)&&unref(En)(...sr))}),[unref(Lt)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("picker","trigger")),onClick:Gn},[createBaseVNode("span",{class:normalizeClass([unref(qe).be("picker","color"),unref(qe).is("alpha",tr.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(In)})},[withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","icon"),unref(qe).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,tr.modelValue||Nn.value]]),withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","empty"),unref(qe).is("icon-close")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"]),[[vShow,!tr.modelValue&&!Nn.value]])],6)],2)],2)],16,_hoisted_2$x)]),_:1},8,["visible","popper-class","teleported","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1B,[["__file","color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$13=defineComponent({name:"ElContainer"}),_sfc_main$1A=defineComponent({...__default__$13,props:{direction:{type:String}},setup(xe){const $e=xe,Ie=useSlots(),Fe=useNamespace("container"),Ue=computed(()=>$e.direction==="vertical"?!0:$e.direction==="horizontal"?!1:Ie&&Ie.default?Ie.default().some(At=>{const Dt=At.type.name;return Dt==="ElHeader"||Dt==="ElFooter"}):!1);return(qe,At)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("vertical",unref(Ue))])},[renderSlot(qe.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1A,[["__file","container.vue"]]);const __default__$12=defineComponent({name:"ElAside"}),_sfc_main$1z=defineComponent({...__default__$12,props:{width:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("aside"),Fe=computed(()=>$e.width?Ie.cssVarBlock({width:$e.width}):{});return(Ue,qe)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1z,[["__file","aside.vue"]]);const __default__$11=defineComponent({name:"ElFooter"}),_sfc_main$1y=defineComponent({...__default__$11,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("footer"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Footer$2=_export_sfc$1(_sfc_main$1y,[["__file","footer.vue"]]);const __default__$10=defineComponent({name:"ElHeader"}),_sfc_main$1x=defineComponent({...__default__$10,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("header"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$1x,[["__file","header.vue"]]);const __default__$$=defineComponent({name:"ElMain"}),_sfc_main$1w=defineComponent({...__default__$$,setup(xe){const $e=useNamespace("main");return(Ie,Fe)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref($e).b())},[renderSlot(Ie.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1w,[["__file","main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$2,Header,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header),ElMain=withNoopInstall(Main);var advancedFormat$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){var Ue=Fe.prototype,qe=Ue.format;Ue.format=function(At){var Dt=this,Lt=this.$locale();if(!this.isValid())return qe.bind(this)(At);var jt=this.$utils(),hn=(At||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(vn){switch(vn){case"Q":return Math.ceil((Dt.$M+1)/3);case"Do":return Lt.ordinal(Dt.$D);case"gggg":return Dt.weekYear();case"GGGG":return Dt.isoWeekYear();case"wo":return Lt.ordinal(Dt.week(),"W");case"w":case"ww":return jt.s(Dt.week(),vn==="w"?1:2,"0");case"W":case"WW":return jt.s(Dt.isoWeek(),vn==="W"?1:2,"0");case"k":case"kk":return jt.s(String(Dt.$H===0?24:Dt.$H),vn==="k"?1:2,"0");case"X":return Math.floor(Dt.$d.getTime()/1e3);case"x":return Dt.$d.getTime();case"z":return"["+Dt.offsetName()+"]";case"zzz":return"["+Dt.offsetName("long")+"]";default:return vn}});return qe.bind(this)(hn)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie="week",Fe="year";return function(Ue,qe,At){var Dt=qe.prototype;Dt.week=function(Lt){if(Lt===void 0&&(Lt=null),Lt!==null)return this.add(7*(Lt-this.week()),"day");var jt=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var hn=At(this).startOf(Fe).add(1,Fe).date(jt),vn=At(this).endOf(Ie);if(hn.isBefore(vn))return 1}var bn=At(this).startOf(Fe).date(jt).startOf(Ie).subtract(1,"millisecond"),_n=this.diff(bn,Ie,!0);return _n<0?At(this).startOf("week").week():Math.ceil(_n)},Dt.weeks=function(Lt){return Lt===void 0&&(Lt=null),this.week(Lt)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.weekYear=function(){var Ue=this.month(),qe=this.week(),At=this.year();return qe===1&&Ue===11?At+1:Ue===0&&qe>=52?At-1:At}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){Fe.prototype.dayOfYear=function(qe){var At=Math.round((Ue(this).startOf("day")-Ue(this).startOf("year"))/864e5)+1;return qe==null?At:this.add(qe-At,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrAfter=function(Ue,qe){return this.isSame(Ue,qe)||this.isAfter(Ue,qe)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrBefore=function(Ue,qe){return this.isSame(Ue,qe)||this.isBefore(Ue,qe)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","years","month","week","range"],datePickerSharedProps=buildProps({disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})}}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes},dateFormat:String,timeFormat:String}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=xe=>({type:String,values:selectionModes,default:xe}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),basicDateTableEmits=["changerange","pick","select"],isValidRange=xe=>{if(!isArray$6(xe))return!1;const[$e,Ie]=xe;return dayjs.isDayjs($e)&&dayjs.isDayjs(Ie)&&$e.isSameOrBefore(Ie)},getDefaultValue=(xe,{lang:$e,unit:Ie,unlinkPanels:Fe})=>{let Ue;if(isArray$6(xe)){let[qe,At]=xe.map(Dt=>dayjs(Dt).locale($e));return Fe||(At=qe.add(1,Ie)),[qe,At]}else xe?Ue=dayjs(xe):Ue=dayjs();return Ue=Ue.locale($e),[Ue,Ue.add(1,Ie)]},buildPickerTable=(xe,$e,{columnIndexOffset:Ie,startDate:Fe,nextEndDate:Ue,now:qe,unit:At,relativeDateGetter:Dt,setCellMetadata:Lt,setRowMetadata:jt})=>{for(let hn=0;hn["normal","today"].includes(xe),useBasicDateTable=(xe,$e)=>{const{lang:Ie}=useLocale(),Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref([[],[],[],[],[],[]]);let Lt=!1;const jt=xe.date.$locale().weekStart||7,hn=xe.date.locale("en").localeData().weekdaysShort().map(zn=>zn.toLowerCase()),vn=computed(()=>jt>3?7-jt:-jt),bn=computed(()=>{const zn=xe.date.startOf("month");return zn.subtract(zn.day()||7,"day")}),_n=computed(()=>hn.concat(hn).slice(jt,jt+7)),wn=computed(()=>flatten(unref(Tn)).some(zn=>zn.isCurrent)),kn=computed(()=>{const zn=xe.date.startOf("month"),jn=zn.day()||7,Gn=zn.daysInMonth(),Wn=zn.subtract(1,"month").daysInMonth();return{startOfMonthDay:jn,dateCountOfMonth:Gn,dateCountOfLastMonth:Wn}}),Cn=computed(()=>xe.selectionMode==="dates"?castArray(xe.parsedValue):[]),Sn=(zn,{count:jn,rowIndex:Gn,columnIndex:Wn})=>{const{startOfMonthDay:Xn,dateCountOfMonth:er,dateCountOfLastMonth:rr}=unref(kn),Jn=unref(vn);if(Gn>=0&&Gn<=1){const Yn=Xn+Jn<0?7+Xn+Jn:Xn+Jn;if(Wn+Gn*7>=Yn)return zn.text=jn,!0;zn.text=rr-(Yn-Wn%7)+1+Gn*7,zn.type="prev-month"}else return jn<=er?zn.text=jn:(zn.text=jn-er,zn.type="next-month"),!0;return!1},xn=(zn,{columnIndex:jn,rowIndex:Gn},Wn)=>{const{disabledDate:Xn,cellClassName:er}=xe,rr=unref(Cn),Jn=Sn(zn,{count:Wn,rowIndex:Gn,columnIndex:jn}),Yn=zn.dayjs.toDate();return zn.selected=rr.find(qn=>qn.isSame(zn.dayjs,"day")),zn.isSelected=!!zn.selected,zn.isCurrent=$n(zn),zn.disabled=Xn==null?void 0:Xn(Yn),zn.customClass=er==null?void 0:er(Yn),Jn},En=zn=>{if(xe.selectionMode==="week"){const[jn,Gn]=xe.showWeekNumber?[1,7]:[0,6],Wn=Fn(zn[jn+1]);zn[jn].inRange=Wn,zn[jn].start=Wn,zn[Gn].inRange=Wn,zn[Gn].end=Wn}},Tn=computed(()=>{const{minDate:zn,maxDate:jn,rangeState:Gn,showWeekNumber:Wn}=xe,Xn=unref(vn),er=unref(Dt),rr="day";let Jn=1;if(Wn)for(let Yn=0;Yn<6;Yn++)er[Yn][0]||(er[Yn][0]={type:"week",text:unref(bn).add(Yn*7+1,rr).week()});return buildPickerTable({row:6,column:7},er,{startDate:zn,columnIndexOffset:Wn?1:0,nextEndDate:Gn.endDate||jn||Gn.selecting&&zn||null,now:dayjs().locale(unref(Ie)).startOf(rr),unit:rr,relativeDateGetter:Yn=>unref(bn).add(Yn-Xn,rr),setCellMetadata:(...Yn)=>{xn(...Yn,Jn)&&(Jn+=1)},setRowMetadata:En}),er});watch(()=>xe.date,async()=>{var zn;(zn=unref(Fe))!=null&&zn.contains(document.activeElement)&&(await nextTick(),await An())});const An=async()=>{var zn;return(zn=unref(Ue))==null?void 0:zn.focus()},$n=zn=>xe.selectionMode==="date"&&isNormalDay(zn.type)&&Pn(zn,xe.parsedValue),Pn=(zn,jn)=>jn?dayjs(jn).locale(unref(Ie)).isSame(xe.date.date(Number(zn.text)),"day"):!1,Nn=(zn,jn)=>{const Gn=zn*7+(jn-(xe.showWeekNumber?1:0))-unref(vn);return unref(bn).add(Gn,"day")},Mn=zn=>{var jn;if(!xe.rangeState.selecting)return;let Gn=zn.target;if(Gn.tagName==="SPAN"&&(Gn=(jn=Gn.parentNode)==null?void 0:jn.parentNode),Gn.tagName==="DIV"&&(Gn=Gn.parentNode),Gn.tagName!=="TD")return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex;unref(Tn)[Wn][Xn].disabled||(Wn!==unref(qe)||Xn!==unref(At))&&(qe.value=Wn,At.value=Xn,$e("changerange",{selecting:!0,endDate:Nn(Wn,Xn)}))},In=zn=>!unref(wn)&&(zn==null?void 0:zn.text)===1&&zn.type==="normal"||zn.isCurrent,On=zn=>{Lt||unref(wn)||xe.selectionMode!=="date"||Hn(zn,!0)},Rn=zn=>{zn.target.closest("td")&&(Lt=!0)},Bn=zn=>{zn.target.closest("td")&&(Lt=!1)},Vn=zn=>{!xe.rangeState.selecting||!xe.minDate?($e("pick",{minDate:zn,maxDate:null}),$e("select",!0)):(zn>=xe.minDate?$e("pick",{minDate:xe.minDate,maxDate:zn}):$e("pick",{minDate:zn,maxDate:xe.minDate}),$e("select",!1))},Ln=zn=>{const jn=zn.week(),Gn=`${zn.year()}w${jn}`;$e("pick",{year:zn.year(),week:jn,value:Gn,date:zn.startOf("week")})},Dn=(zn,jn)=>{const Gn=jn?castArray(xe.parsedValue).filter(Wn=>(Wn==null?void 0:Wn.valueOf())!==zn.valueOf()):castArray(xe.parsedValue).concat([zn]);$e("pick",Gn)},Hn=(zn,jn=!1)=>{const Gn=zn.target.closest("td");if(!Gn)return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex,er=unref(Tn)[Wn][Xn];if(er.disabled||er.type==="week")return;const rr=Nn(Wn,Xn);switch(xe.selectionMode){case"range":{Vn(rr);break}case"date":{$e("pick",rr,jn);break}case"week":{Ln(rr);break}case"dates":{Dn(rr,!!er.selected);break}}},Fn=zn=>{if(xe.selectionMode!=="week")return!1;let jn=xe.date.startOf("day");if(zn.type==="prev-month"&&(jn=jn.subtract(1,"month")),zn.type==="next-month"&&(jn=jn.add(1,"month")),jn=jn.date(Number.parseInt(zn.text,10)),xe.parsedValue&&!Array.isArray(xe.parsedValue)){const Gn=(xe.parsedValue.day()-jt+7)%7-1;return xe.parsedValue.subtract(Gn,"day").isSame(jn,"day")}return!1};return{WEEKS:_n,rows:Tn,tbodyRef:Fe,currentCellRef:Ue,focus:An,isCurrent:$n,isWeekActive:Fn,isSelectedCell:In,handlePickDate:Hn,handleMouseUp:Bn,handleMouseDown:Rn,handleMouseMove:Mn,handleFocus:On}},useBasicDateTableDOM=(xe,{isCurrent:$e,isWeekActive:Ie})=>{const Fe=useNamespace("date-table"),{t:Ue}=useLocale(),qe=computed(()=>[Fe.b(),{"is-week-mode":xe.selectionMode==="week"}]),At=computed(()=>Ue("el.datepicker.dateTablePrompt")),Dt=computed(()=>Ue("el.datepicker.week"));return{tableKls:qe,tableLabel:At,weekLabel:Dt,getCellClasses:hn=>{const vn=[];return isNormalDay(hn.type)&&!hn.disabled?(vn.push("available"),hn.type==="today"&&vn.push("today")):vn.push(hn.type),$e(hn)&&vn.push("current"),hn.inRange&&(isNormalDay(hn.type)||xe.selectionMode==="week")&&(vn.push("in-range"),hn.start&&vn.push("start-date"),hn.end&&vn.push("end-date")),hn.disabled&&vn.push("disabled"),hn.selected&&vn.push("selected"),hn.customClass&&vn.push(hn.customClass),vn.join(" ")},getRowKls:hn=>[Fe.e("row"),{current:Ie(hn)}],t:Ue}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(xe){const $e=useNamespace("date-table-cell"),{slots:Ie}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:Fe}=xe;return renderSlot(Ie,"default",{...Fe},()=>[createVNode$1("div",{class:$e.b()},[createVNode$1("span",{class:$e.e("text")},[Fe==null?void 0:Fe.text])])])}}});const _hoisted_1$O=["aria-label"],_hoisted_2$w={key:0,scope:"col"},_hoisted_3$i=["aria-label"],_hoisted_4$b=["aria-current","aria-selected","tabindex"],_sfc_main$1v=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{WEEKS:Ue,rows:qe,tbodyRef:At,currentCellRef:Dt,focus:Lt,isCurrent:jt,isWeekActive:hn,isSelectedCell:vn,handlePickDate:bn,handleMouseUp:_n,handleMouseDown:wn,handleMouseMove:kn,handleFocus:Cn}=useBasicDateTable(Fe,Ie),{tableLabel:Sn,tableKls:xn,weekLabel:En,getCellClasses:Tn,getRowKls:An,t:$n}=useBasicDateTableDOM(Fe,{isCurrent:jt,isWeekActive:hn});return $e({focus:Lt}),(Pn,Nn)=>(openBlock(),createElementBlock("table",{"aria-label":unref(Sn),class:normalizeClass(unref(xn)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:Nn[1]||(Nn[1]=(...Mn)=>unref(bn)&&unref(bn)(...Mn)),onMousemove:Nn[2]||(Nn[2]=(...Mn)=>unref(kn)&&unref(kn)(...Mn)),onMousedown:Nn[3]||(Nn[3]=withModifiers((...Mn)=>unref(wn)&&unref(wn)(...Mn),["prevent"])),onMouseup:Nn[4]||(Nn[4]=(...Mn)=>unref(_n)&&unref(_n)(...Mn))},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:At},[createBaseVNode("tr",null,[Pn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$w,toDisplayString(unref(En)),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue),(Mn,In)=>(openBlock(),createElementBlock("th",{key:In,"aria-label":unref($n)("el.datepicker.weeksFull."+Mn),scope:"col"},toDisplayString(unref($n)("el.datepicker.weeks."+Mn)),9,_hoisted_3$i))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(Mn,In)=>(openBlock(),createElementBlock("tr",{key:In,class:normalizeClass(unref(An)(Mn[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn,(On,Rn)=>(openBlock(),createElementBlock("td",{key:`${In}.${Rn}`,ref_for:!0,ref:Bn=>unref(vn)(On)&&(Dt.value=Bn),class:normalizeClass(unref(Tn)(On)),"aria-current":On.isCurrent?"date":void 0,"aria-selected":On.isCurrent,tabindex:unref(vn)(On)?0:-1,onFocus:Nn[0]||(Nn[0]=(...Bn)=>unref(Cn)&&unref(Cn)(...Bn))},[createVNode$1(unref(ElDatePickerCell),{cell:On},null,8,["cell"])],42,_hoisted_4$b))),128))],2))),128))],512)],42,_hoisted_1$O))}});var DateTable=_export_sfc$1(_sfc_main$1v,[["__file","basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$N=["aria-label"],_hoisted_2$v=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$h={class:"cell"},_sfc_main$1u=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(Tn,An,$n)=>{const Pn=dayjs().locale($n).startOf("month").month(An).year(Tn),Nn=Pn.daysInMonth();return rangeArr(Nn).map(Mn=>Pn.add(Mn,"day").toDate())},qe=useNamespace("month-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=ref(Fe.date.locale("en").localeData().monthsShort().map(Tn=>Tn.toLowerCase())),vn=ref([[],[],[]]),bn=ref(),_n=ref(),wn=computed(()=>{var Tn,An;const $n=vn.value,Pn=dayjs().locale(Dt.value).startOf("month");for(let Nn=0;Nn<3;Nn++){const Mn=$n[Nn];for(let In=0;In<4;In++){const On=Mn[In]||(Mn[In]={row:Nn,column:In,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});On.type="normal";const Rn=Nn*4+In,Bn=Fe.date.startOf("year").month(Rn),Vn=Fe.rangeState.endDate||Fe.maxDate||Fe.rangeState.selecting&&Fe.minDate||null;On.inRange=!!(Fe.minDate&&Bn.isSameOrAfter(Fe.minDate,"month")&&Vn&&Bn.isSameOrBefore(Vn,"month"))||!!(Fe.minDate&&Bn.isSameOrBefore(Fe.minDate,"month")&&Vn&&Bn.isSameOrAfter(Vn,"month")),(Tn=Fe.minDate)!=null&&Tn.isSameOrAfter(Vn)?(On.start=!!(Vn&&Bn.isSame(Vn,"month")),On.end=Fe.minDate&&Bn.isSame(Fe.minDate,"month")):(On.start=!!(Fe.minDate&&Bn.isSame(Fe.minDate,"month")),On.end=!!(Vn&&Bn.isSame(Vn,"month"))),Pn.isSame(Bn)&&(On.type="today"),On.text=Rn,On.disabled=((An=Fe.disabledDate)==null?void 0:An.call(Fe,Bn.toDate()))||!1}}return $n}),kn=()=>{var Tn;(Tn=jt.value)==null||Tn.focus()},Cn=Tn=>{const An={},$n=Fe.date.year(),Pn=new Date,Nn=Tn.text;return An.disabled=Fe.disabledDate?Ue($n,Nn,Dt.value).every(Fe.disabledDate):!1,An.current=castArray(Fe.parsedValue).findIndex(Mn=>dayjs.isDayjs(Mn)&&Mn.year()===$n&&Mn.month()===Nn)>=0,An.today=Pn.getFullYear()===$n&&Pn.getMonth()===Nn,Tn.inRange&&(An["in-range"]=!0,Tn.start&&(An["start-date"]=!0),Tn.end&&(An["end-date"]=!0)),An},Sn=Tn=>{const An=Fe.date.year(),$n=Tn.text;return castArray(Fe.date).findIndex(Pn=>Pn.year()===An&&Pn.month()===$n)>=0},xn=Tn=>{var An;if(!Fe.rangeState.selecting)return;let $n=Tn.target;if($n.tagName==="SPAN"&&($n=(An=$n.parentNode)==null?void 0:An.parentNode),$n.tagName==="DIV"&&($n=$n.parentNode),$n.tagName!=="TD")return;const Pn=$n.parentNode.rowIndex,Nn=$n.cellIndex;wn.value[Pn][Nn].disabled||(Pn!==bn.value||Nn!==_n.value)&&(bn.value=Pn,_n.value=Nn,Ie("changerange",{selecting:!0,endDate:Fe.date.startOf("year").month(Pn*4+Nn)}))},En=Tn=>{var An;const $n=(An=Tn.target)==null?void 0:An.closest("td");if(($n==null?void 0:$n.tagName)!=="TD"||hasClass($n,"disabled"))return;const Pn=$n.cellIndex,Mn=$n.parentNode.rowIndex*4+Pn,In=Fe.date.startOf("year").month(Mn);Fe.selectionMode==="range"?Fe.rangeState.selecting?(Fe.minDate&&In>=Fe.minDate?Ie("pick",{minDate:Fe.minDate,maxDate:In}):Ie("pick",{minDate:In,maxDate:Fe.minDate}),Ie("select",!1)):(Ie("pick",{minDate:In,maxDate:null}),Ie("select",!0)):Ie("pick",Mn)};return watch(()=>Fe.date,async()=>{var Tn,An;(Tn=Lt.value)!=null&&Tn.contains(document.activeElement)&&(await nextTick(),(An=jt.value)==null||An.focus())}),$e({focus:kn}),(Tn,An)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:En,onMousemove:xn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),($n,Pn)=>(openBlock(),createElementBlock("tr",{key:Pn},[(openBlock(!0),createElementBlock(Fragment,null,renderList($n,(Nn,Mn)=>(openBlock(),createElementBlock("td",{key:Mn,ref_for:!0,ref:In=>Sn(Nn)&&(jt.value=In),class:normalizeClass(Cn(Nn)),"aria-selected":`${Sn(Nn)}`,"aria-label":unref(At)(`el.datepicker.month${+Nn.text+1}`),tabindex:Sn(Nn)?0:-1,onKeydown:[withKeys(withModifiers(En,["prevent","stop"]),["space"]),withKeys(withModifiers(En,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$h,toDisplayString(unref(At)("el.datepicker.months."+hn.value[Nn.text])),1)])],42,_hoisted_2$v))),128))]))),128))],512)],42,_hoisted_1$N))}});var MonthTable=_export_sfc$1(_sfc_main$1u,[["__file","basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue,selectionMode:selectionModeWithDefault("year")}),_hoisted_1$M=["aria-label"],_hoisted_2$u=["aria-selected","tabindex","onKeydown"],_hoisted_3$g={class:"cell"},_hoisted_4$a={key:1},_sfc_main$1t=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(kn,Cn)=>{const Sn=dayjs(String(kn)).locale(Cn).startOf("year"),En=Sn.endOf("year").dayOfYear();return rangeArr(En).map(Tn=>Sn.add(Tn,"day").toDate())},qe=useNamespace("year-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=computed(()=>Math.floor(Fe.date.year()/10)*10),vn=()=>{var kn;(kn=jt.value)==null||kn.focus()},bn=kn=>{const Cn={},Sn=dayjs().locale(Dt.value);return Cn.disabled=Fe.disabledDate?Ue(kn,Dt.value).every(Fe.disabledDate):!1,Cn.current=castArray(Fe.parsedValue).findIndex(xn=>xn.year()===kn)>=0,Cn.today=Sn.year()===kn,Cn},_n=kn=>kn===hn.value&&Fe.date.year()hn.value+9||castArray(Fe.date).findIndex(Cn=>Cn.year()===kn)>=0||castArray(Fe.parsedValue).findIndex(Cn=>(Cn==null?void 0:Cn.year())===kn)>=0,wn=kn=>{const Sn=kn.target.closest("td");if(Sn&&Sn.textContent){if(hasClass(Sn,"disabled"))return;const xn=Sn.textContent||Sn.innerText;if(Fe.selectionMode==="years"){if(kn.type==="keydown"){Ie("pick",castArray(Fe.parsedValue),!1);return}const En=hasClass(Sn,"current")?castArray(Fe.parsedValue).filter(Tn=>(Tn==null?void 0:Tn.year())!==Number(xn)):castArray(Fe.parsedValue).concat([dayjs(xn)]);Ie("pick",En)}else Ie("pick",Number(xn))}};return watch(()=>Fe.date,async()=>{var kn,Cn;(kn=Lt.value)!=null&&kn.contains(document.activeElement)&&(await nextTick(),(Cn=jt.value)==null||Cn.focus())}),$e({focus:vn}),(kn,Cn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:wn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(Sn,xn)=>createBaseVNode("tr",{key:xn},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(En,Tn)=>(openBlock(),createElementBlock(Fragment,{key:xn+"_"+Tn},[xn*4+Tn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:An=>_n(unref(hn)+xn*4+Tn)&&(jt.value=An),class:normalizeClass(["available",bn(unref(hn)+xn*4+Tn)]),"aria-selected":`${_n(unref(hn)+xn*4+Tn)}`,tabindex:_n(unref(hn)+xn*4+Tn)?0:-1,onKeydown:[withKeys(withModifiers(wn,["prevent","stop"]),["space"]),withKeys(withModifiers(wn,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$g,toDisplayString(unref(hn)+xn*4+Tn),1)])],42,_hoisted_2$u)):(openBlock(),createElementBlock("td",_hoisted_4$a))],64))),64))])),64))],512)],10,_hoisted_1$M))}});var YearTable=_export_sfc$1(_sfc_main$1t,[["__file","basic-year-table.vue"]]);const _hoisted_1$L=["onClick"],_hoisted_2$t=["aria-label"],_hoisted_3$f=["aria-label"],_hoisted_4$9=["aria-label"],_hoisted_5$7=["aria-label"],_sfc_main$1s=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=($r,Br,Tr)=>!0,Ue=useNamespace("picker-panel"),qe=useNamespace("date-picker"),At=useAttrs$1(),Dt=useSlots(),{t:Lt,lang:jt}=useLocale(),hn=inject("EP_PICKER_BASE"),vn=inject(TOOLTIP_INJECTION_KEY),{shortcuts:bn,disabledDate:_n,cellClassName:wn,defaultTime:kn}=hn.props,Cn=toRef(hn.props,"defaultValue"),Sn=ref(),xn=ref(dayjs().locale(jt.value)),En=ref(!1);let Tn=!1;const An=computed(()=>dayjs(kn).locale(jt.value)),$n=computed(()=>xn.value.month()),Pn=computed(()=>xn.value.year()),Nn=ref([]),Mn=ref(null),In=ref(null),On=$r=>Nn.value.length>0?Fe($r,Nn.value,Ie.format||"HH:mm:ss"):!0,Rn=$r=>kn&&!Zn.value&&!En.value&&!Tn?An.value.year($r.year()).month($r.month()).date($r.date()):Jn.value?$r.millisecond(0):$r.startOf("day"),Bn=($r,...Br)=>{if(!$r)$e("pick",$r,...Br);else if(isArray$6($r)){const Tr=$r.map(Rn);$e("pick",Tr,...Br)}else $e("pick",Rn($r),...Br);Mn.value=null,In.value=null,En.value=!1,Tn=!1},Vn=async($r,Br)=>{if(jn.value==="date"){$r=$r;let Tr=Ie.parsedValue?Ie.parsedValue.year($r.year()).month($r.month()).date($r.date()):$r;On(Tr)||(Tr=Nn.value[0][0].year($r.year()).month($r.month()).date($r.date())),xn.value=Tr,Bn(Tr,Jn.value||Br),Ie.type==="datetime"&&(await nextTick(),Rr())}else jn.value==="week"?Bn($r.date):jn.value==="dates"&&Bn($r,!0)},Ln=$r=>{const Br=$r?"add":"subtract";xn.value=xn.value[Br](1,"month"),Gr("month")},Dn=$r=>{const Br=xn.value,Tr=$r?"add":"subtract";xn.value=Hn.value==="year"?Br[Tr](10,"year"):Br[Tr](1,"year"),Gr("year")},Hn=ref("date"),Fn=computed(()=>{const $r=Lt("el.datepicker.year");if(Hn.value==="year"){const Br=Math.floor(Pn.value/10)*10;return $r?`${Br} ${$r} - ${Br+9} ${$r}`:`${Br} - ${Br+9}`}return`${Pn.value} ${$r}`}),zn=$r=>{const Br=isFunction$5($r.value)?$r.value():$r.value;if(Br){Tn=!0,Bn(dayjs(Br).locale(jt.value));return}$r.onClick&&$r.onClick({attrs:At,slots:Dt,emit:$e})},jn=computed(()=>{const{type:$r}=Ie;return["week","month","year","years","dates"].includes($r)?$r:"date"}),Gn=computed(()=>jn.value==="date"?Hn.value:jn.value),Wn=computed(()=>!!bn.length),Xn=async $r=>{xn.value=xn.value.startOf("month").month($r),jn.value==="month"?Bn(xn.value,!1):(Hn.value="date",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("month")},er=async($r,Br)=>{jn.value==="year"?(xn.value=xn.value.startOf("year").year($r),Bn(xn.value,!1)):jn.value==="years"?Bn($r,Br??!0):(xn.value=xn.value.year($r),Hn.value="month",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("year")},rr=async $r=>{Hn.value=$r,await nextTick(),Rr()},Jn=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),Yn=computed(()=>{const $r=Jn.value||jn.value==="dates",Br=jn.value==="years",Tr=Hn.value==="date",cr=Hn.value==="year";return $r&&Tr||Br&&cr}),qn=computed(()=>_n?Ie.parsedValue?isArray$6(Ie.parsedValue)?_n(Ie.parsedValue[0].toDate()):_n(Ie.parsedValue.toDate()):!0:!1),ar=()=>{if(jn.value==="dates"||jn.value==="years")Bn(Ie.parsedValue);else{let $r=Ie.parsedValue;if(!$r){const Br=dayjs(kn).locale(jt.value),Tr=xr();$r=Br.year(Tr.year()).month(Tr.month()).date(Tr.date())}xn.value=$r,Bn($r)}},tr=computed(()=>_n?_n(dayjs().locale(jt.value).toDate()):!1),or=()=>{const Br=dayjs().locale(jt.value).toDate();En.value=!0,(!_n||!_n(Br))&&On(Br)&&(xn.value=dayjs().locale(jt.value),Bn(xn.value))},sr=computed(()=>Ie.timeFormat||extractTimeFormat(Ie.format)),Kn=computed(()=>Ie.dateFormat||extractDateFormat(Ie.format)),Zn=computed(()=>{if(In.value)return In.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(sr.value)}),nr=computed(()=>{if(Mn.value)return Mn.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(Kn.value)}),lr=ref(!1),ir=()=>{lr.value=!0},kr=()=>{lr.value=!1},Cr=$r=>({hour:$r.hour(),minute:$r.minute(),second:$r.second(),year:$r.year(),month:$r.month(),date:$r.date()}),Er=($r,Br,Tr)=>{const{hour:cr,minute:Sr,second:Dr}=Cr($r),mr=Ie.parsedValue?Ie.parsedValue.hour(cr).minute(Sr).second(Dr):$r;xn.value=mr,Bn(xn.value,!0),Tr||(lr.value=Br)},dr=$r=>{const Br=dayjs($r,sr.value).locale(jt.value);if(Br.isValid()&&On(Br)){const{year:Tr,month:cr,date:Sr}=Cr(xn.value);xn.value=Br.year(Tr).month(cr).date(Sr),In.value=null,lr.value=!1,Bn(xn.value,!0)}},br=$r=>{const Br=dayjs($r,Kn.value).locale(jt.value);if(Br.isValid()){if(_n&&_n(Br.toDate()))return;const{hour:Tr,minute:cr,second:Sr}=Cr(xn.value);xn.value=Br.hour(Tr).minute(cr).second(Sr),Mn.value=null,Bn(xn.value,!0)}},_r=$r=>dayjs.isDayjs($r)&&$r.isValid()&&(_n?!_n($r.toDate()):!0),Pr=$r=>isArray$6($r)?$r.map(Br=>Br.format(Ie.format)):$r.format(Ie.format),gr=$r=>dayjs($r,Ie.format).locale(jt.value),xr=()=>{const $r=dayjs(Cn.value).locale(jt.value);if(!Cn.value){const Br=An.value;return dayjs().hour(Br.hour()).minute(Br.minute()).second(Br.second()).locale(jt.value)}return $r},Rr=async()=>{var $r;["week","month","year","date"].includes(jn.value)&&(($r=Sn.value)==null||$r.focus(),jn.value==="week"&&Jr(EVENT_CODE.down))},Hr=$r=>{const{code:Br}=$r;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(Br)&&(Jr(Br),$r.stopPropagation(),$r.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(Br)&&Mn.value===null&&In.value===null&&($r.preventDefault(),Bn(xn.value,!1))},Jr=$r=>{var Br;const{up:Tr,down:cr,left:Sr,right:Dr,home:mr,end:Lr,pageUp:zr,pageDown:Vr}=EVENT_CODE,Kr={year:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setFullYear(Ur.getFullYear()+uo)},month:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setMonth(Ur.getMonth()+uo)},week:{[Tr]:-1,[cr]:1,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo*7)},date:{[Tr]:-7,[cr]:7,[Sr]:-1,[Dr]:1,[mr]:Ur=>-Ur.getDay(),[Lr]:Ur=>-Ur.getDay()+6,[zr]:Ur=>-new Date(Ur.getFullYear(),Ur.getMonth(),0).getDate(),[Vr]:Ur=>new Date(Ur.getFullYear(),Ur.getMonth()+1,0).getDate(),offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo)}},qr=xn.value.toDate();for(;Math.abs(xn.value.diff(qr,"year",!0))<1;){const Ur=Kr[Gn.value];if(!Ur)return;if(Ur.offset(qr,isFunction$5(Ur[$r])?Ur[$r](qr):(Br=Ur[$r])!=null?Br:0),_n&&_n(qr))break;const uo=dayjs(qr).locale(jt.value);xn.value=uo,$e("pick",uo,!0);break}},Gr=$r=>{$e("panel-change",xn.value.toDate(),$r,Hn.value)};return watch(()=>jn.value,$r=>{if(["month","year"].includes($r)){Hn.value=$r;return}else if($r==="years"){Hn.value="year";return}Hn.value="date"},{immediate:!0}),watch(()=>Hn.value,()=>{vn==null||vn.updatePopper()}),watch(()=>Cn.value,$r=>{$r&&(xn.value=xr())},{immediate:!0}),watch(()=>Ie.parsedValue,$r=>{if($r){if(jn.value==="dates"||jn.value==="years"||Array.isArray($r))return;xn.value=$r}else xn.value=xr()},{immediate:!0}),$e("set-picker-option",["isValidValue",_r]),$e("set-picker-option",["formatToString",Pr]),$e("set-picker-option",["parseUserInput",gr]),$e("set-picker-option",["handleFocusPicker",Rr]),($r,Br)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ue).b(),unref(qe).b(),{"has-sidebar":$r.$slots.sidebar||unref(Wn),"has-time":unref(Jn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body-wrapper"))},[renderSlot($r.$slots,"sidebar",{class:normalizeClass(unref(Ue).e("sidebar"))}),unref(Wn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(Tr,cr)=>(openBlock(),createElementBlock("button",{key:cr,type:"button",class:normalizeClass(unref(Ue).e("shortcut")),onClick:Sr=>zn(Tr)},toDisplayString(Tr.text),11,_hoisted_1$L))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body"))},[unref(Jn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectDate"),"model-value":unref(nr),size:"small","validate-event":!1,onInput:Br[0]||(Br[0]=Tr=>Mn.value=Tr),onChange:br},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectTime"),"model-value":unref(Zn),size:"small","validate-event":!1,onFocus:ir,onInput:Br[1]||(Br[1]=Tr=>In.value=Tr),onChange:dr},null,8,["placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:lr.value,format:unref(sr),"parsed-value":xn.value,onPick:Er},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),kr]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).e("header"),(Hn.value==="year"||Hn.value==="month")&&unref(qe).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(Ue).e("icon-btn")]),onClick:Br[2]||(Br[2]=Tr=>Dn(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$t),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-left"]),onClick:Br[3]||(Br[3]=Tr=>Ln(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$f),[[vShow,Hn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(qe).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Br[4]||(Br[4]=withKeys(Tr=>rr("year"),["enter"])),onClick:Br[5]||(Br[5]=Tr=>rr("year"))},toDisplayString(unref(Fn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(qe).e("header-label"),{active:Hn.value==="month"}]),onKeydown:Br[6]||(Br[6]=withKeys(Tr=>rr("month"),["enter"])),onClick:Br[7]||(Br[7]=Tr=>rr("month"))},toDisplayString(unref(Lt)(`el.datepicker.month${unref($n)+1}`)),35),[[vShow,Hn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(qe).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-right"]),onClick:Br[8]||(Br[8]=Tr=>Ln(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_4$9),[[vShow,Hn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextYear"),class:normalizeClass([unref(Ue).e("icon-btn"),"d-arrow-right"]),onClick:Br[9]||(Br[9]=Tr=>Dn(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$7)],2)],2),[[vShow,Hn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content")),onKeydown:Hr},[Hn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),"cell-class-name":unref(wn),onPick:Vn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Hn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"disabled-date":unref(_n),"parsed-value":$r.parsedValue,onPick:er},null,8,["selection-mode","date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Hn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:Sn,date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),onPick:Xn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(Ue).e("footer"))},[withDirectives(createVNode$1(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(tr),onClick:or},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,unref(jn)!=="dates"&&unref(jn)!=="years"]]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(qn),onClick:ar},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[vShow,unref(Yn)]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1s,[["__file","panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=xe=>{const{emit:$e}=getCurrentInstance(),Ie=useAttrs$1(),Fe=useSlots();return qe=>{const At=isFunction$5(qe.value)?qe.value():qe.value;if(At){$e("pick",[dayjs(At[0]).locale(xe.value),dayjs(At[1]).locale(xe.value)]);return}qe.onClick&&qe.onClick({attrs:Ie,slots:Fe,emit:$e})}},useRangePicker=(xe,{defaultValue:$e,leftDate:Ie,rightDate:Fe,unit:Ue,onParsedValueChanged:qe})=>{const{emit:At}=getCurrentInstance(),{pickerNs:Dt}=inject(ROOT_PICKER_INJECTION_KEY),Lt=useNamespace("date-range-picker"),{t:jt,lang:hn}=useLocale(),vn=useShortcut(hn),bn=ref(),_n=ref(),wn=ref({endDate:null,selecting:!1}),kn=En=>{wn.value=En},Cn=(En=!1)=>{const Tn=unref(bn),An=unref(_n);isValidRange([Tn,An])&&At("pick",[Tn,An],En)},Sn=En=>{wn.value.selecting=En,En||(wn.value.endDate=null)},xn=()=>{const[En,Tn]=getDefaultValue(unref($e),{lang:unref(hn),unit:Ue,unlinkPanels:xe.unlinkPanels});bn.value=void 0,_n.value=void 0,Ie.value=En,Fe.value=Tn};return watch($e,En=>{En&&xn()},{immediate:!0}),watch(()=>xe.parsedValue,En=>{if(isArray$6(En)&&En.length===2){const[Tn,An]=En;bn.value=Tn,Ie.value=Tn,_n.value=An,qe(unref(bn),unref(_n))}else xn()},{immediate:!0}),{minDate:bn,maxDate:_n,rangeState:wn,lang:hn,ppNs:Dt,drpNs:Lt,handleChangeRange:kn,handleRangeConfirm:Cn,handleShortcutClick:vn,onSelect:Sn,t:jt}},_hoisted_1$K=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$e=["aria-label"],_hoisted_4$8=["disabled","aria-label"],_hoisted_5$6=["disabled","aria-label"],_hoisted_6$4=["disabled","aria-label"],_hoisted_7$2=["disabled","aria-label"],_hoisted_8$2=["aria-label"],_hoisted_9$2=["aria-label"],unit$1="month",_sfc_main$1r=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{disabledDate:Ue,cellClassName:qe,format:At,defaultTime:Dt,clearable:Lt}=Fe.props,jt=toRef(Fe.props,"shortcuts"),hn=toRef(Fe.props,"defaultValue"),{lang:vn}=useLocale(),bn=ref(dayjs().locale(vn.value)),_n=ref(dayjs().locale(vn.value).add(1,unit$1)),{minDate:wn,maxDate:kn,rangeState:Cn,ppNs:Sn,drpNs:xn,handleChangeRange:En,handleRangeConfirm:Tn,handleShortcutClick:An,onSelect:$n,t:Pn}=useRangePicker(Ie,{defaultValue:hn,leftDate:bn,rightDate:_n,unit:unit$1,onParsedValueChanged:Br}),Nn=ref({min:null,max:null}),Mn=ref({min:null,max:null}),In=computed(()=>`${bn.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${bn.value.month()+1}`)}`),On=computed(()=>`${_n.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${_n.value.month()+1}`)}`),Rn=computed(()=>bn.value.year()),Bn=computed(()=>bn.value.month()),Vn=computed(()=>_n.value.year()),Ln=computed(()=>_n.value.month()),Dn=computed(()=>!!jt.value.length),Hn=computed(()=>Nn.value.min!==null?Nn.value.min:wn.value?wn.value.format(Wn.value):""),Fn=computed(()=>Nn.value.max!==null?Nn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Wn.value):""),zn=computed(()=>Mn.value.min!==null?Mn.value.min:wn.value?wn.value.format(Gn.value):""),jn=computed(()=>Mn.value.max!==null?Mn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Gn.value):""),Gn=computed(()=>Ie.timeFormat||extractTimeFormat(At)),Wn=computed(()=>Ie.dateFormat||extractDateFormat(At)),Xn=Tr=>isValidRange(Tr)&&(Ue?!Ue(Tr[0].toDate())&&!Ue(Tr[1].toDate()):!0),er=()=>{bn.value=bn.value.subtract(1,"year"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("year")},rr=()=>{bn.value=bn.value.subtract(1,"month"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("month")},Jn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"year"):(bn.value=bn.value.add(1,"year"),_n.value=bn.value.add(1,"month")),sr("year")},Yn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"month"):(bn.value=bn.value.add(1,"month"),_n.value=bn.value.add(1,"month")),sr("month")},qn=()=>{bn.value=bn.value.add(1,"year"),sr("year")},ar=()=>{bn.value=bn.value.add(1,"month"),sr("month")},tr=()=>{_n.value=_n.value.subtract(1,"year"),sr("year")},or=()=>{_n.value=_n.value.subtract(1,"month"),sr("month")},sr=Tr=>{$e("panel-change",[bn.value.toDate(),_n.value.toDate()],Tr)},Kn=computed(()=>{const Tr=(Bn.value+1)%12,cr=Bn.value+1>=12?1:0;return Ie.unlinkPanels&&new Date(Rn.value+cr,Tr)Ie.unlinkPanels&&Vn.value*12+Ln.value-(Rn.value*12+Bn.value+1)>=12),nr=computed(()=>!(wn.value&&kn.value&&!Cn.value.selecting&&isValidRange([wn.value,kn.value]))),lr=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),ir=(Tr,cr)=>{if(Tr)return Dt?dayjs(Dt[cr]||Dt).locale(vn.value).year(Tr.year()).month(Tr.month()).date(Tr.date()):Tr},kr=(Tr,cr=!0)=>{const Sr=Tr.minDate,Dr=Tr.maxDate,mr=ir(Sr,0),Lr=ir(Dr,1);kn.value===Lr&&wn.value===mr||($e("calendar-change",[Sr.toDate(),Dr&&Dr.toDate()]),kn.value=Lr,wn.value=mr,!(!cr||lr.value)&&Tn())},Cr=ref(!1),Er=ref(!1),dr=()=>{Cr.value=!1},br=()=>{Er.value=!1},_r=(Tr,cr)=>{Nn.value[cr]=Tr;const Sr=dayjs(Tr,Wn.value).locale(vn.value);if(Sr.isValid()){if(Ue&&Ue(Sr.toDate()))return;cr==="min"?(bn.value=Sr,wn.value=(wn.value||bn.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!kn.value||kn.value.isBefore(wn.value))&&(_n.value=Sr.add(1,"month"),kn.value=wn.value.add(1,"month"))):(_n.value=Sr,kn.value=(kn.value||_n.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!wn.value||wn.value.isAfter(kn.value))&&(bn.value=Sr.subtract(1,"month"),wn.value=kn.value.subtract(1,"month")))}},Pr=(Tr,cr)=>{Nn.value[cr]=null},gr=(Tr,cr)=>{Mn.value[cr]=Tr;const Sr=dayjs(Tr,Gn.value).locale(vn.value);Sr.isValid()&&(cr==="min"?(Cr.value=!0,wn.value=(wn.value||bn.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value)):(Er.value=!0,kn.value=(kn.value||_n.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),_n.value=kn.value,kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value)))},xr=(Tr,cr)=>{Mn.value[cr]=null,cr==="min"?(bn.value=wn.value,Cr.value=!1):(_n.value=kn.value,Er.value=!1)},Rr=(Tr,cr,Sr)=>{Mn.value.min||(Tr&&(bn.value=Tr,wn.value=(wn.value||bn.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Cr.value=cr),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value,_n.value=Tr))},Hr=(Tr,cr,Sr)=>{Mn.value.max||(Tr&&(_n.value=Tr,kn.value=(kn.value||_n.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Er.value=cr),kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value))},Jr=()=>{bn.value=getDefaultValue(unref(hn),{lang:unref(vn),unit:"month",unlinkPanels:Ie.unlinkPanels})[0],_n.value=bn.value.add(1,"month"),kn.value=void 0,wn.value=void 0,$e("pick",null)},Gr=Tr=>isArray$6(Tr)?Tr.map(cr=>cr.format(At)):Tr.format(At),$r=Tr=>isArray$6(Tr)?Tr.map(cr=>dayjs(cr,At).locale(vn.value)):dayjs(Tr,At).locale(vn.value);function Br(Tr,cr){if(Ie.unlinkPanels&&cr){const Sr=(Tr==null?void 0:Tr.year())||0,Dr=(Tr==null?void 0:Tr.month())||0,mr=cr.year(),Lr=cr.month();_n.value=Sr===mr&&Dr===Lr?cr.add(1,unit$1):cr}else _n.value=bn.value.add(1,unit$1),cr&&(_n.value=_n.value.hour(cr.hour()).minute(cr.minute()).second(cr.second()))}return $e("set-picker-option",["isValidValue",Xn]),$e("set-picker-option",["parseUserInput",$r]),$e("set-picker-option",["formatToString",Gr]),$e("set-picker-option",["handleClear",Jr]),(Tr,cr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Sn).b(),unref(xn).b(),{"has-sidebar":Tr.$slots.sidebar||unref(Dn),"has-time":unref(lr)}])},[createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body-wrapper"))},[renderSlot(Tr.$slots,"sidebar",{class:normalizeClass(unref(Sn).e("sidebar"))}),unref(Dn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(jt),(Sr,Dr)=>(openBlock(),createElementBlock("button",{key:Dr,type:"button",class:normalizeClass(unref(Sn).e("shortcut")),onClick:mr=>unref(An)(Sr)},toDisplayString(Sr.text),11,_hoisted_1$K))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body"))},[unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(xn).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startDate"),class:normalizeClass(unref(xn).e("editor")),"model-value":unref(Hn),"validate-event":!1,onInput:cr[0]||(cr[0]=Sr=>_r(Sr,"min")),onChange:cr[1]||(cr[1]=Sr=>Pr(Sr,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startTime"),"model-value":unref(zn),"validate-event":!1,onFocus:cr[2]||(cr[2]=Sr=>Cr.value=!0),onInput:cr[3]||(cr[3]=Sr=>gr(Sr,"min")),onChange:cr[4]||(cr[4]=Sr=>xr(Sr,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:Cr.value,format:unref(Gn),"datetime-role":"start","parsed-value":bn.value,onPick:Rr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),dr]])],2),createBaseVNode("span",null,[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(xn).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endDate"),"model-value":unref(Fn),readonly:!unref(wn),"validate-event":!1,onInput:cr[5]||(cr[5]=Sr=>_r(Sr,"max")),onChange:cr[6]||(cr[6]=Sr=>Pr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endTime"),"model-value":unref(jn),readonly:!unref(wn),"validate-event":!1,onFocus:cr[7]||(cr[7]=Sr=>unref(wn)&&(Er.value=!0)),onInput:cr[8]||(cr[8]=Sr=>gr(Sr,"max")),onChange:cr[9]||(cr[9]=Sr=>xr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode$1(unref(TimePickPanel),{"datetime-role":"end",visible:Er.value,format:unref(Gn),"parsed-value":_n.value,onPick:Hr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),br]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:er},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:rr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$e),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextYear"),onClick:qn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_4$8)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:ar},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_5$6)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:bn.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:tr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_6$4)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:or},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_7$2)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(Pn)("el.datepicker.nextYear"),class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-right"]),onClick:Jn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_8$2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:Yn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_9$2),createBaseVNode("div",null,toDisplayString(unref(On)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:_n.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("footer"))},[unref(Lt)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),onClick:Jr},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),disabled:unref(nr),onClick:cr[10]||(cr[10]=Sr=>unref(Tn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1r,[["__file","panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option","calendar-change"],useMonthRangeHeader=({unlinkPanels:xe,leftDate:$e,rightDate:Ie})=>{const{t:Fe}=useLocale(),Ue=()=>{$e.value=$e.value.subtract(1,"year"),xe.value||(Ie.value=Ie.value.subtract(1,"year"))},qe=()=>{xe.value||($e.value=$e.value.add(1,"year")),Ie.value=Ie.value.add(1,"year")},At=()=>{$e.value=$e.value.add(1,"year")},Dt=()=>{Ie.value=Ie.value.subtract(1,"year")},Lt=computed(()=>`${$e.value.year()} ${Fe("el.datepicker.year")}`),jt=computed(()=>`${Ie.value.year()} ${Fe("el.datepicker.year")}`),hn=computed(()=>$e.value.year()),vn=computed(()=>Ie.value.year()===$e.value.year()?$e.value.year()+1:Ie.value.year());return{leftPrevYear:Ue,rightNextYear:qe,leftNextYear:At,rightPrevYear:Dt,leftLabel:Lt,rightLabel:jt,leftYear:hn,rightYear:vn}},_hoisted_1$J=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$d=["disabled"],unit="year",__default__$_=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1q=defineComponent({...__default__$_,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(xe,{emit:$e}){const Ie=xe,{lang:Fe}=useLocale(),Ue=inject("EP_PICKER_BASE"),{shortcuts:qe,disabledDate:At,format:Dt}=Ue.props,Lt=toRef(Ue.props,"defaultValue"),jt=ref(dayjs().locale(Fe.value)),hn=ref(dayjs().locale(Fe.value).add(1,unit)),{minDate:vn,maxDate:bn,rangeState:_n,ppNs:wn,drpNs:kn,handleChangeRange:Cn,handleRangeConfirm:Sn,handleShortcutClick:xn,onSelect:En}=useRangePicker(Ie,{defaultValue:Lt,leftDate:jt,rightDate:hn,unit,onParsedValueChanged:Dn}),Tn=computed(()=>!!qe.length),{leftPrevYear:An,rightNextYear:$n,leftNextYear:Pn,rightPrevYear:Nn,leftLabel:Mn,rightLabel:In,leftYear:On,rightYear:Rn}=useMonthRangeHeader({unlinkPanels:toRef(Ie,"unlinkPanels"),leftDate:jt,rightDate:hn}),Bn=computed(()=>Ie.unlinkPanels&&Rn.value>On.value+1),Vn=(Hn,Fn=!0)=>{const zn=Hn.minDate,jn=Hn.maxDate;bn.value===jn&&vn.value===zn||($e("calendar-change",[zn.toDate(),jn&&jn.toDate()]),bn.value=jn,vn.value=zn,Fn&&Sn())},Ln=Hn=>Hn.map(Fn=>Fn.format(Dt));function Dn(Hn,Fn){if(Ie.unlinkPanels&&Fn){const zn=(Hn==null?void 0:Hn.year())||0,jn=Fn.year();hn.value=zn===jn?Fn.add(1,unit):Fn}else hn.value=jt.value.add(1,unit)}return $e("set-picker-option",["formatToString",Ln]),(Hn,Fn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(wn).b(),unref(kn).b(),{"has-sidebar":!!Hn.$slots.sidebar||unref(Tn)}])},[createBaseVNode("div",{class:normalizeClass(unref(wn).e("body-wrapper"))},[renderSlot(Hn.$slots,"sidebar",{class:normalizeClass(unref(wn).e("sidebar"))}),unref(Tn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(wn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(zn,jn)=>(openBlock(),createElementBlock("button",{key:jn,type:"button",class:normalizeClass(unref(wn).e("shortcut")),onClick:Gn=>unref(xn)(zn)},toDisplayString(zn.text),11,_hoisted_1$J))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(wn).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-left"]),onClick:Fn[0]||(Fn[0]=(...zn)=>unref(An)&&unref(An)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],2),Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{[unref(wn).is("disabled")]:!unref(Bn)}],"d-arrow-right"]),onClick:Fn[1]||(Fn[1]=(...zn)=>unref(Pn)&&unref(Pn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(Mn)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:jt.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{"is-disabled":!unref(Bn)}],"d-arrow-left"]),onClick:Fn[2]||(Fn[2]=(...zn)=>unref(Nn)&&unref(Nn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$d)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-right"]),onClick:Fn[3]||(Fn[3]=(...zn)=>unref($n)&&unref($n)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:hn.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$1(_sfc_main$1q,[["__file","panel-month-range.vue"]]);const getPanel=function(xe){switch(xe){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;default:return DatePickPanel}};dayjs.extend(localeData);dayjs.extend(advancedFormat);dayjs.extend(customParseFormat);dayjs.extend(weekOfYear);dayjs.extend(weekYear);dayjs.extend(dayOfYear);dayjs.extend(isSameOrAfter);dayjs.extend(isSameOrBefore);var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:["update:modelValue"],setup(xe,{expose:$e,emit:Ie,slots:Fe}){const Ue=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(xe,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:Fe,pickerNs:Ue});const qe=ref();$e({focus:(Lt=!0)=>{var jt;(jt=qe.value)==null||jt.focus(Lt)},handleOpen:()=>{var Lt;(Lt=qe.value)==null||Lt.handleOpen()},handleClose:()=>{var Lt;(Lt=qe.value)==null||Lt.handleClose()}});const Dt=Lt=>{Ie("update:modelValue",Lt)};return()=>{var Lt;const jt=(Lt=xe.format)!=null?Lt:DEFAULT_FORMATS_DATEPICKER[xe.type]||DEFAULT_FORMATS_DATE,hn=getPanel(xe.type);return createVNode$1(CommonPicker,mergeProps(xe,{format:jt,type:xe.type,ref:qe,"onUpdate:modelValue":Dt}),{default:vn=>createVNode$1(hn,vn,null),"range-separator":Fe["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=xe=>{xe.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var xe,$e,Ie,Fe,Ue,qe,At;const Dt=getNormalizedProps(this.cell),Lt=(((xe=this.cell)==null?void 0:xe.dirs)||[]).map(An=>{const{dir:$n,arg:Pn,modifiers:Nn,value:Mn}=An;return[$n,Mn,Pn,Nn]}),{border:jt,direction:hn}=this.descriptions,vn=hn==="vertical",bn=((Fe=(Ie=($e=this.cell)==null?void 0:$e.children)==null?void 0:Ie.label)==null?void 0:Fe.call(Ie))||Dt.label,_n=(At=(qe=(Ue=this.cell)==null?void 0:Ue.children)==null?void 0:qe.default)==null?void 0:At.call(qe),wn=Dt.span,kn=Dt.align?`is-${Dt.align}`:"",Cn=Dt.labelAlign?`is-${Dt.labelAlign}`:kn,Sn=Dt.className,xn=Dt.labelClassName,En={width:addUnit(Dt.width),minWidth:addUnit(Dt.minWidth)},Tn=useNamespace("descriptions");switch(this.type){case"label":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("label"),Tn.is("bordered-label",jt),Tn.is("vertical-label",vn),Cn,xn],colSpan:vn?wn:1},bn),Lt);case"content":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("content"),Tn.is("bordered-content",jt),Tn.is("vertical-content",vn),kn,Sn],colSpan:vn?wn:wn*2-1},_n),Lt);default:return withDirectives(h$5("td",{style:En,class:[Tn.e("cell"),kn],colSpan:wn},[isNil(bn)?void 0:h$5("span",{class:[Tn.e("label"),xn]},bn),h$5("span",{class:[Tn.e("content"),Sn]},_n)]),Lt)}}});const descriptionsRowProps=buildProps({row:{type:definePropType(Array),default:()=>[]}}),_hoisted_1$I={key:1},__default__$Z=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1p=defineComponent({...__default__$Z,props:descriptionsRowProps,setup(xe){const $e=inject(descriptionsKey,{});return(Ie,Fe)=>unref($e).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${qe}`,cell:Ue,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${qe}`,cell:Ue,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$I,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${qe}`},[unref($e).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(unref(ElDescriptionsCell),{cell:Ue,tag:"td",type:"label"},null,8,["cell"]),createVNode$1(unref(ElDescriptionsCell),{cell:Ue,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:Ue,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1p,[["__file","descriptions-row.vue"]]);const descriptionProps=buildProps({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""}}),__default__$Y=defineComponent({name:"ElDescriptions"}),_sfc_main$1o=defineComponent({...__default__$Y,props:descriptionProps,setup(xe){const $e=xe,Ie=useNamespace("descriptions"),Fe=useFormSize(),Ue=useSlots();provide(descriptionsKey,$e);const qe=computed(()=>[Ie.b(),Ie.m(Fe.value)]),At=(Lt,jt,hn,vn=!1)=>(Lt.props||(Lt.props={}),jt>hn&&(Lt.props.span=hn),vn&&(Lt.props.span=jt),Lt),Dt=()=>{if(!Ue.default)return[];const Lt=flattedChildren(Ue.default()).filter(_n=>{var wn;return((wn=_n==null?void 0:_n.type)==null?void 0:wn.name)==="ElDescriptionsItem"}),jt=[];let hn=[],vn=$e.column,bn=0;return Lt.forEach((_n,wn)=>{var kn;const Cn=((kn=_n.props)==null?void 0:kn.span)||1;if(wnvn?vn:Cn),wn===Lt.length-1){const Sn=$e.column-bn%$e.column;hn.push(At(_n,Sn,vn,!0)),jt.push(hn);return}Cn(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Lt.title||Lt.extra||Lt.$slots.title||Lt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("title"))},[renderSlot(Lt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Lt.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("extra"))},[renderSlot(Lt.$slots,"extra",{},()=>[createTextVNode(toDisplayString(Lt.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(Ie).e("table"),unref(Ie).is("bordered",Lt.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dt(),(hn,vn)=>(openBlock(),createBlock(ElDescriptionsRow,{key:vn,row:hn},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1o,[["__file","description.vue"]]);const descriptionItemProps=buildProps({label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),DescriptionItem=defineComponent({name:"ElDescriptionsItem",props:descriptionItemProps}),ElDescriptions=withInstall(Descriptions,{DescriptionsItem:DescriptionItem}),ElDescriptionsItem=withNoopInstall(DescriptionItem),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:xe=>xe instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(xe,{slots:$e,emit:Ie}){const Fe=useNamespace(BLOCK),Ue=Lt=>{Ie("click",Lt)},{onClick:qe,onMousedown:At,onMouseup:Dt}=useSameTarget(xe.customMaskEvent?void 0:Ue);return()=>xe.mask?createVNode$1("div",{class:[Fe.b(),xe.overlayClass],style:{zIndex:xe.zIndex},onClick:qe,onMousedown:At,onMouseup:Dt},[renderSlot($e,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$5("div",{class:xe.overlayClass,style:{zIndex:xe.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot($e,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:iconPropType},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},_hoisted_1$H=["aria-level"],_hoisted_2$q=["aria-label"],_hoisted_3$c=["id"],__default__$X=defineComponent({name:"ElDialogContent"}),_sfc_main$1n=defineComponent({...__default__$X,props:dialogContentProps,emits:dialogContentEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),{Close:Fe}=CloseComponents,{dialogRef:Ue,headerRef:qe,bodyId:At,ns:Dt,style:Lt}=inject(dialogInjectionKey),{focusTrapRef:jt}=inject(FOCUS_TRAP_INJECTION_KEY),hn=computed(()=>[Dt.b(),Dt.is("fullscreen",$e.fullscreen),Dt.is("draggable",$e.draggable),Dt.is("align-center",$e.alignCenter),{[Dt.m("center")]:$e.center}]),vn=composeRefs(jt,Ue),bn=computed(()=>$e.draggable),_n=computed(()=>$e.overflow);return useDraggable(Ue,qe,bn,_n),(wn,kn)=>(openBlock(),createElementBlock("div",{ref:unref(vn),class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(Lt)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:qe,class:normalizeClass([unref(Dt).e("header"),{"show-close":wn.showClose}])},[renderSlot(wn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":wn.ariaLevel,class:normalizeClass(unref(Dt).e("title"))},toDisplayString(wn.title),11,_hoisted_1$H)]),wn.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(Ie)("el.dialog.close"),class:normalizeClass(unref(Dt).e("headerbtn")),type:"button",onClick:kn[0]||(kn[0]=Cn=>wn.$emit("close"))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.closeIcon||unref(Fe))))]),_:1},8,["class"])],10,_hoisted_2$q)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(At),class:normalizeClass(unref(Dt).e("body"))},[renderSlot(wn.$slots,"default")],10,_hoisted_3$c),wn.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(Dt).e("footer"))},[renderSlot(wn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1n,[["__file","dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,appendTo:{type:definePropType(String),default:"body"},beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(xe,$e)=>{var Ie;const Ue=getCurrentInstance().emit,{nextZIndex:qe}=useZIndex();let At="";const Dt=useId(),Lt=useId(),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref((Ie=xe.zIndex)!=null?Ie:qe());let _n,wn;const kn=useGlobalConfig("namespace",defaultNamespace),Cn=computed(()=>{const Ln={},Dn=`--${kn.value}-dialog`;return xe.fullscreen||(xe.top&&(Ln[`${Dn}-margin-top`]=xe.top),xe.width&&(Ln[`${Dn}-width`]=addUnit(xe.width))),Ln}),Sn=computed(()=>xe.alignCenter?{display:"flex"}:{});function xn(){Ue("opened")}function En(){Ue("closed"),Ue(UPDATE_MODEL_EVENT,!1),xe.destroyOnClose&&(vn.value=!1)}function Tn(){Ue("close")}function An(){wn==null||wn(),_n==null||_n(),xe.openDelay&&xe.openDelay>0?{stop:_n}=useTimeoutFn$1(()=>Mn(),xe.openDelay):Mn()}function $n(){_n==null||_n(),wn==null||wn(),xe.closeDelay&&xe.closeDelay>0?{stop:wn}=useTimeoutFn$1(()=>In(),xe.closeDelay):In()}function Pn(){function Ln(Dn){Dn||(hn.value=!0,jt.value=!1)}xe.beforeClose?xe.beforeClose(Ln):$n()}function Nn(){xe.closeOnClickModal&&Pn()}function Mn(){isClient$1&&(jt.value=!0)}function In(){jt.value=!1}function On(){Ue("openAutoFocus")}function Rn(){Ue("closeAutoFocus")}function Bn(Ln){var Dn;((Dn=Ln.detail)==null?void 0:Dn.focusReason)==="pointer"&&Ln.preventDefault()}xe.lockScroll&&useLockscreen(jt);function Vn(){xe.closeOnPressEscape&&Pn()}return watch(()=>xe.modelValue,Ln=>{Ln?(hn.value=!1,An(),vn.value=!0,bn.value=isUndefined$2(xe.zIndex)?qe():bn.value++,nextTick(()=>{Ue("open"),$e.value&&($e.value.scrollTop=0)})):jt.value&&$n()}),watch(()=>xe.fullscreen,Ln=>{$e.value&&(Ln?(At=$e.value.style.transform,$e.value.style.transform=""):$e.value.style.transform=At)}),onMounted(()=>{xe.modelValue&&(jt.value=!0,vn.value=!0,An())}),{afterEnter:xn,afterLeave:En,beforeLeave:Tn,handleClose:Pn,onModalClick:Nn,close:$n,doClose:In,onOpenAutoFocus:On,onCloseAutoFocus:Rn,onCloseRequested:Vn,onFocusoutPrevented:Bn,titleId:Dt,bodyId:Lt,closed:hn,style:Cn,overlayDialogStyle:Sn,rendered:vn,visible:jt,zIndex:bn}},_hoisted_1$G=["aria-label","aria-labelledby","aria-describedby"],__default__$W=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1m=defineComponent({...__default__$W,props:dialogProps,emits:dialogEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots();useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},computed(()=>!!Fe.title));const Ue=useNamespace("dialog"),qe=ref(),At=ref(),Dt=ref(),{visible:Lt,titleId:jt,bodyId:hn,style:vn,overlayDialogStyle:bn,rendered:_n,zIndex:wn,afterEnter:kn,afterLeave:Cn,beforeLeave:Sn,handleClose:xn,onModalClick:En,onOpenAutoFocus:Tn,onCloseAutoFocus:An,onCloseRequested:$n,onFocusoutPrevented:Pn}=useDialog(Ie,qe);provide(dialogInjectionKey,{dialogRef:qe,headerRef:At,bodyId:hn,ns:Ue,rendered:_n,style:vn});const Nn=useSameTarget(En),Mn=computed(()=>Ie.draggable&&!Ie.fullscreen);return $e({visible:Lt,dialogContentRef:Dt}),(In,On)=>(openBlock(),createBlock(Teleport,{to:In.appendTo,disabled:In.appendTo!=="body"?!1:!In.appendToBody},[createVNode$1(Transition,{name:"dialog-fade",onAfterEnter:unref(kn),onAfterLeave:unref(Cn),onBeforeLeave:unref(Sn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{"custom-mask-event":"",mask:In.modal,"overlay-class":In.modalClass,"z-index":unref(wn)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":In.title||void 0,"aria-labelledby":In.title?void 0:unref(jt),"aria-describedby":unref(hn),class:normalizeClass(`${unref(Ue).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(bn)),onClick:On[0]||(On[0]=(...Rn)=>unref(Nn).onClick&&unref(Nn).onClick(...Rn)),onMousedown:On[1]||(On[1]=(...Rn)=>unref(Nn).onMousedown&&unref(Nn).onMousedown(...Rn)),onMouseup:On[2]||(On[2]=(...Rn)=>unref(Nn).onMouseup&&unref(Nn).onMouseup(...Rn))},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(Lt),"focus-start-el":"container",onFocusAfterTrapped:unref(Tn),onFocusAfterReleased:unref(An),onFocusoutPrevented:unref(Pn),onReleaseRequested:unref($n)},{default:withCtx(()=>[unref(_n)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:Dt},In.$attrs,{center:In.center,"align-center":In.alignCenter,"close-icon":In.closeIcon,draggable:unref(Mn),overflow:In.overflow,fullscreen:In.fullscreen,"show-close":In.showClose,title:In.title,"aria-level":In.headerAriaLevel,onClose:unref(xn)}),createSlots({header:withCtx(()=>[In.$slots.title?renderSlot(In.$slots,"title",{key:1}):renderSlot(In.$slots,"header",{key:0,close:unref(xn),titleId:unref(jt),titleClass:unref(Ue).e("title")})]),default:withCtx(()=>[renderSlot(In.$slots,"default")]),_:2},[In.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(In.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$G)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(Lt)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1m,[["__file","dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),__default__$V=defineComponent({name:"ElDivider"}),_sfc_main$1l=defineComponent({...__default__$V,props:dividerProps,setup(xe){const $e=xe,Ie=useNamespace("divider"),Fe=computed(()=>Ie.cssVar({"border-style":$e.borderStyle}));return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ie).b(),unref(Ie).m(Ue.direction)]),style:normalizeStyle$1(unref(Fe)),role:"separator"},[Ue.$slots.default&&Ue.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(Ie).e("text"),unref(Ie).is(Ue.contentPosition)])},[renderSlot(Ue.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1l,[["__file","divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),drawerEmits=dialogEmits,_hoisted_1$F=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$p=["id","aria-level"],_hoisted_3$b=["aria-label"],_hoisted_4$7=["id"],__default__$U=defineComponent({name:"ElDrawer",inheritAttrs:!1}),_sfc_main$1k=defineComponent({...__default__$U,props:drawerProps,emits:drawerEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots();useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},computed(()=>!!Fe.title));const Ue=ref(),qe=ref(),At=useNamespace("drawer"),{t:Dt}=useLocale(),{afterEnter:Lt,afterLeave:jt,beforeLeave:hn,visible:vn,rendered:bn,titleId:_n,bodyId:wn,zIndex:kn,onModalClick:Cn,onOpenAutoFocus:Sn,onCloseAutoFocus:xn,onFocusoutPrevented:En,onCloseRequested:Tn,handleClose:An}=useDialog(Ie,Ue),$n=computed(()=>Ie.direction==="rtl"||Ie.direction==="ltr"),Pn=computed(()=>addUnit(Ie.size));return $e({handleClose:An,afterEnter:Lt,afterLeave:jt}),(Nn,Mn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!Nn.appendToBody},[createVNode$1(Transition,{name:unref(At).b("fade"),onAfterEnter:unref(Lt),onAfterLeave:unref(jt),onBeforeLeave:unref(hn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{mask:Nn.modal,"overlay-class":Nn.modalClass,"z-index":unref(kn),onClick:unref(Cn)},{default:withCtx(()=>[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(vn),"focus-trap-el":Ue.value,"focus-start-el":qe.value,onFocusAfterTrapped:unref(Sn),onFocusAfterReleased:unref(xn),onFocusoutPrevented:unref(En),onReleaseRequested:unref(Tn)},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref_key:"drawerRef",ref:Ue,"aria-modal":"true","aria-label":Nn.title||void 0,"aria-labelledby":Nn.title?void 0:unref(_n),"aria-describedby":unref(wn)},Nn.$attrs,{class:[unref(At).b(),Nn.direction,unref(vn)&&"open"],style:unref($n)?"width: "+unref(Pn):"height: "+unref(Pn),role:"dialog",onClick:Mn[1]||(Mn[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref_key:"focusStartRef",ref:qe,class:normalizeClass(unref(At).e("sr-focus")),tabindex:"-1"},null,2),Nn.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(unref(At).e("header"))},[Nn.$slots.title?renderSlot(Nn.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(Nn.$slots,"header",{key:0,close:unref(An),titleId:unref(_n),titleClass:unref(At).e("title")},()=>[Nn.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:unref(_n),role:"heading","aria-level":Nn.headerAriaLevel,class:normalizeClass(unref(At).e("title"))},toDisplayString(Nn.title),11,_hoisted_2$p))]),Nn.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":unref(Dt)("el.drawer.close"),class:normalizeClass(unref(At).e("close-btn")),type:"button",onClick:Mn[0]||(Mn[0]=(...In)=>unref(An)&&unref(An)(...In))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(At).e("close"))},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])],10,_hoisted_3$b)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),unref(bn)?(openBlock(),createElementBlock("div",{key:1,id:unref(wn),class:normalizeClass(unref(At).e("body"))},[renderSlot(Nn.$slots,"default")],10,_hoisted_4$7)):createCommentVNode("v-if",!0),Nn.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(At).e("footer"))},[renderSlot(Nn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$F)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,unref(vn)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Drawer=_export_sfc$1(_sfc_main$1k,[["__file","drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1j=defineComponent({inheritAttrs:!1});function _sfc_render$n(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1j,[["render",_sfc_render$n],["__file","collection.vue"]]);const _sfc_main$1i=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$m(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1i,[["render",_sfc_render$m],["__file","collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=xe=>{const $e=`El${xe}Collection`,Ie=`${$e}Item`,Fe=Symbol($e),Ue=Symbol(Ie),qe={...Collection,name:$e,setup(){const Dt=ref(null),Lt=new Map;provide(Fe,{itemMap:Lt,getItems:()=>{const hn=unref(Dt);if(!hn)return[];const vn=Array.from(hn.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...Lt.values()].sort((_n,wn)=>vn.indexOf(_n.ref)-vn.indexOf(wn.ref))},collectionRef:Dt})}},At={...CollectionItem,name:Ie,setup(Dt,{attrs:Lt}){const jt=ref(null),hn=inject(Fe,void 0);provide(Ue,{collectionItemRef:jt}),onMounted(()=>{const vn=unref(jt);vn&&hn.itemMap.set(vn,{ref:vn,...Lt})}),onBeforeUnmount(()=>{const vn=unref(jt);hn.itemMap.delete(vn)})}};return{COLLECTION_INJECTION_KEY:Fe,COLLECTION_ITEM_INJECTION_KEY:Ue,ElCollection:qe,ElCollectionItem:At}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ElCollection$1,ElCollectionItem:ElCollectionItem$1,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY$1,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY$1}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(xe,$e)=>xe,getFocusIntent=(xe,$e,Ie)=>{const Fe=getDirectionAwareKey(xe.key);return MAP_KEY_TO_FOCUS_INTENT[Fe]},reorderArray=(xe,$e)=>xe.map((Ie,Fe)=>xe[(Fe+$e)%xe.length]),focusFirst=xe=>{const{activeElement:$e}=document;for(const Ie of xe)if(Ie===$e||(Ie.focus(),$e!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1h=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(xe,{emit:$e}){var Ie;const Fe=ref((Ie=xe.currentTabId||xe.defaultCurrentTabId)!=null?Ie:null),Ue=ref(!1),qe=ref(!1),At=ref(null),{getItems:Dt}=inject(COLLECTION_INJECTION_KEY$1,void 0),Lt=computed(()=>[{outline:"none"},xe.style]),jt=kn=>{$e(CURRENT_TAB_ID_CHANGE_EVT,kn)},hn=()=>{Ue.value=!0},vn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onMousedown)==null||Cn.call(xe,kn)},()=>{qe.value=!0}),bn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onFocus)==null||Cn.call(xe,kn)},kn=>{const Cn=!unref(qe),{target:Sn,currentTarget:xn}=kn;if(Sn===xn&&Cn&&!unref(Ue)){const En=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(xn==null||xn.dispatchEvent(En),!En.defaultPrevented){const Tn=Dt().filter(Mn=>Mn.focusable),An=Tn.find(Mn=>Mn.active),$n=Tn.find(Mn=>Mn.id===unref(Fe)),Nn=[An,$n,...Tn].filter(Boolean).map(Mn=>Mn.ref);focusFirst(Nn)}}qe.value=!1}),_n=composeEventHandlers(kn=>{var Cn;(Cn=xe.onBlur)==null||Cn.call(xe,kn)},()=>{Ue.value=!1}),wn=(...kn)=>{$e("entryFocus",...kn)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(Fe),loop:toRef(xe,"loop"),tabIndex:computed(()=>unref(Ue)?-1:0),rovingFocusGroupRef:At,rovingFocusGroupRootStyle:Lt,orientation:toRef(xe,"orientation"),dir:toRef(xe,"dir"),onItemFocus:jt,onItemShiftTab:hn,onBlur:_n,onFocus:bn,onMousedown:vn}),watch(()=>xe.currentTabId,kn=>{Fe.value=kn??null}),useEventListener(At,ENTRY_FOCUS_EVT,wn)}});function _sfc_render$l(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$1h,[["render",_sfc_render$l],["__file","roving-focus-group-impl.vue"]]);const _sfc_main$1g=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$k(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-group-impl"),Dt=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(Dt,null,{default:withCtx(()=>[createVNode$1(At,normalizeProps(guardReactiveProps(xe.$attrs)),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$1g,[["render",_sfc_render$k],["__file","roving-focus-group.vue"]]);const _sfc_main$1f=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(xe,{emit:$e}){const{currentTabbedId:Ie,loop:Fe,onItemFocus:Ue,onItemShiftTab:qe}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:At}=inject(COLLECTION_INJECTION_KEY$1,void 0),Dt=useId(),Lt=ref(null),jt=composeEventHandlers(_n=>{$e("mousedown",_n)},_n=>{xe.focusable?Ue(unref(Dt)):_n.preventDefault()}),hn=composeEventHandlers(_n=>{$e("focus",_n)},()=>{Ue(unref(Dt))}),vn=composeEventHandlers(_n=>{$e("keydown",_n)},_n=>{const{key:wn,shiftKey:kn,target:Cn,currentTarget:Sn}=_n;if(wn===EVENT_CODE.tab&&kn){qe();return}if(Cn!==Sn)return;const xn=getFocusIntent(_n);if(xn){_n.preventDefault();let Tn=At().filter(An=>An.focusable).map(An=>An.ref);switch(xn){case"last":{Tn.reverse();break}case"prev":case"next":{xn==="prev"&&Tn.reverse();const An=Tn.indexOf(Sn);Tn=Fe.value?reorderArray(Tn,An+1):Tn.slice(An+1);break}}nextTick(()=>{focusFirst(Tn)})}}),bn=computed(()=>Ie.value===unref(Dt));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:Lt,tabIndex:computed(()=>unref(bn)?0:-1),handleMousedown:jt,handleFocus:hn,handleKeydown:vn}),{id:Dt,handleKeydown:vn,handleFocus:hn,handleMousedown:jt}}});function _sfc_render$j(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(At,{id:xe.id,focusable:xe.focusable,active:xe.active},{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$1(_sfc_main$1f,[["render",_sfc_render$j],["__file","roving-focus-item.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),FIRST_KEYS=[EVENT_CODE.down,EVENT_CODE.pageDown,EVENT_CODE.home],LAST_KEYS=[EVENT_CODE.up,EVENT_CODE.pageUp,EVENT_CODE.end],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],{ElCollection,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$1e=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=useNamespace("dropdown"),{t:Ue}=useLocale(),qe=ref(),At=ref(),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(!1),bn=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],_n=computed(()=>({maxHeight:addUnit(xe.maxHeight)})),wn=computed(()=>[Fe.m(An.value)]),kn=computed(()=>castArray$1(xe.trigger)),Cn=useId().value,Sn=computed(()=>xe.id||Cn);watch([qe,kn],([Hn,Fn],[zn])=>{var jn,Gn,Wn;(jn=zn==null?void 0:zn.$el)!=null&&jn.removeEventListener&&zn.$el.removeEventListener("pointerenter",Pn),(Gn=Hn==null?void 0:Hn.$el)!=null&&Gn.removeEventListener&&Hn.$el.removeEventListener("pointerenter",Pn),(Wn=Hn==null?void 0:Hn.$el)!=null&&Wn.addEventListener&&Fn.includes("hover")&&Hn.$el.addEventListener("pointerenter",Pn)},{immediate:!0}),onBeforeUnmount(()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)!=null&&Fn.removeEventListener&&qe.value.$el.removeEventListener("pointerenter",Pn)});function xn(){En()}function En(){var Hn;(Hn=Dt.value)==null||Hn.onClose()}function Tn(){var Hn;(Hn=Dt.value)==null||Hn.onOpen()}const An=useFormSize();function $n(...Hn){$e("command",...Hn)}function Pn(){var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)==null||Fn.focus()}function Nn(){}function Mn(){const Hn=unref(Lt);kn.value.includes("hover")&&(Hn==null||Hn.focus()),hn.value=null}function In(Hn){hn.value=Hn}function On(Hn){vn.value||(Hn.preventDefault(),Hn.stopImmediatePropagation())}function Rn(){$e("visible-change",!0)}function Bn(Hn){(Hn==null?void 0:Hn.type)==="keydown"&&Lt.value.focus()}function Vn(){$e("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:Lt,role:computed(()=>xe.role),triggerId:Sn,isUsingKeyboard:vn,onItemEnter:Nn,onItemLeave:Mn}),provide("elDropdown",{instance:Ie,dropdownSize:An,handleClick:xn,commandHandler:$n,trigger:toRef(xe,"trigger"),hideOnClick:toRef(xe,"hideOnClick")}),{t:Ue,ns:Fe,scrollbar:jt,wrapStyle:_n,dropdownTriggerKls:wn,dropdownSize:An,triggerId:Sn,triggerKeys:bn,currentTabId:hn,handleCurrentTabIdChange:In,handlerMainButtonClick:Hn=>{$e("click",Hn)},handleEntryFocus:On,handleClose:En,handleOpen:Tn,handleBeforeShowTooltip:Rn,handleShowTooltip:Bn,handleBeforeHideTooltip:Vn,onFocusAfterTrapped:Hn=>{var Fn,zn;Hn.preventDefault(),(zn=(Fn=Lt.value)==null?void 0:Fn.focus)==null||zn.call(Fn,{preventScroll:!0})},popperRef:Dt,contentRef:Lt,triggeringElementRef:qe,referenceElementRef:At}}});function _sfc_render$i(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-collection"),Lt=resolveComponent("el-roving-focus-group"),jt=resolveComponent("el-scrollbar"),hn=resolveComponent("el-only-child"),vn=resolveComponent("el-tooltip"),bn=resolveComponent("el-button"),_n=resolveComponent("arrow-down"),wn=resolveComponent("el-icon"),kn=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("disabled",xe.disabled)])},[createVNode$1(vn,{ref:"popperRef",role:xe.role,effect:xe.effect,"fallback-placements":["bottom","top"],"popper-options":xe.popperOptions,"gpu-acceleration":!1,"hide-after":xe.trigger==="hover"?xe.hideTimeout:0,"manual-mode":!0,placement:xe.placement,"popper-class":[xe.ns.e("popper"),xe.popperClass],"reference-element":(At=xe.referenceElementRef)==null?void 0:At.$el,trigger:xe.trigger,"trigger-keys":xe.triggerKeys,"trigger-target-el":xe.contentRef,"show-after":xe.trigger==="hover"?xe.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":xe.triggeringElementRef,"virtual-triggering":xe.splitButton,disabled:xe.disabled,transition:`${xe.ns.namespace.value}-zoom-in-top`,teleported:xe.teleported,pure:"",persistent:"",onBeforeShow:xe.handleBeforeShowTooltip,onShow:xe.handleShowTooltip,onBeforeHide:xe.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode$1(jt,{ref:"scrollbar","wrap-style":xe.wrapStyle,tag:"div","view-class":xe.ns.e("list")},{default:withCtx(()=>[createVNode$1(Lt,{loop:xe.loop,"current-tab-id":xe.currentTabId,orientation:"horizontal",onCurrentTabIdChange:xe.handleCurrentTabIdChange,onEntryFocus:xe.handleEntryFocus},{default:withCtx(()=>[createVNode$1(Dt,null,{default:withCtx(()=>[renderSlot(xe.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[xe.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode$1(hn,{id:xe.triggerId,ref:"triggeringElementRef",role:"button",tabindex:xe.tabindex},{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),xe.splitButton?(openBlock(),createBlock(kn,{key:0},{default:withCtx(()=>[createVNode$1(bn,mergeProps({ref:"referenceElementRef"},xe.buttonProps,{size:xe.dropdownSize,type:xe.type,disabled:xe.disabled,tabindex:xe.tabindex,onClick:xe.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode$1(bn,mergeProps({id:xe.triggerId,ref:"triggeringElementRef"},xe.buttonProps,{role:"button",size:xe.dropdownSize,type:xe.type,class:xe.ns.e("caret-button"),disabled:xe.disabled,tabindex:xe.tabindex,"aria-label":xe.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode$1(wn,{class:normalizeClass(xe.ns.e("icon"))},{default:withCtx(()=>[createVNode$1(_n)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$1(_sfc_main$1e,[["render",_sfc_render$i],["__file","dropdown.vue"]]);const _sfc_main$1d=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(xe,{emit:$e}){const Ie=useNamespace("dropdown"),{role:Fe}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:Ue}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:qe}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:At,tabIndex:Dt,handleFocus:Lt,handleKeydown:jt,handleMousedown:hn}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),vn=composeRefs(Ue,qe,At),bn=computed(()=>Fe.value==="menu"?"menuitem":Fe.value==="navigation"?"link":"button"),_n=composeEventHandlers(wn=>{const{code:kn}=wn;if(kn===EVENT_CODE.enter||kn===EVENT_CODE.space)return wn.preventDefault(),wn.stopImmediatePropagation(),$e("clickimpl",wn),!0},jt);return{ns:Ie,itemRef:vn,dataset:{[COLLECTION_ITEM_SIGN]:""},role:bn,tabIndex:Dt,handleFocus:Lt,handleKeydown:_n,handleMousedown:hn}}}),_hoisted_1$E=["aria-disabled","tabindex","role"];function _sfc_render$h(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[xe.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:xe.ns.bem("menu","item","divided")},xe.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:xe.itemRef},{...xe.dataset,...xe.$attrs},{"aria-disabled":xe.disabled,class:[xe.ns.be("menu","item"),xe.ns.is("disabled",xe.disabled)],tabindex:xe.tabIndex,role:xe.role,onClick:$e[0]||($e[0]=Dt=>xe.$emit("clickimpl",Dt)),onFocus:$e[1]||($e[1]=(...Dt)=>xe.handleFocus&&xe.handleFocus(...Dt)),onKeydown:$e[2]||($e[2]=withModifiers((...Dt)=>xe.handleKeydown&&xe.handleKeydown(...Dt),["self"])),onMousedown:$e[3]||($e[3]=(...Dt)=>xe.handleMousedown&&xe.handleMousedown(...Dt)),onPointermove:$e[4]||($e[4]=Dt=>xe.$emit("pointermove",Dt)),onPointerleave:$e[5]||($e[5]=Dt=>xe.$emit("pointerleave",Dt))}),[xe.icon?(openBlock(),createBlock(At,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default")],16,_hoisted_1$E)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$1d,[["render",_sfc_render$h],["__file","dropdown-item-impl.vue"]]);const useDropdown=()=>{const xe=inject("elDropdown",{}),$e=computed(()=>xe==null?void 0:xe.dropdownSize);return{elDropdown:xe,_elDropdownSize:$e}},_sfc_main$1c=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(xe,{emit:$e,attrs:Ie}){const{elDropdown:Fe}=useDropdown(),Ue=getCurrentInstance(),qe=ref(null),At=computed(()=>{var _n,wn;return(wn=(_n=unref(qe))==null?void 0:_n.textContent)!=null?wn:""}),{onItemEnter:Dt,onItemLeave:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),jt=composeEventHandlers(_n=>($e("pointermove",_n),_n.defaultPrevented),whenMouse(_n=>{if(xe.disabled){Lt(_n);return}const wn=_n.currentTarget;wn===document.activeElement||wn.contains(document.activeElement)||(Dt(_n),_n.defaultPrevented||wn==null||wn.focus())})),hn=composeEventHandlers(_n=>($e("pointerleave",_n),_n.defaultPrevented),whenMouse(_n=>{Lt(_n)})),vn=composeEventHandlers(_n=>{if(!xe.disabled)return $e("click",_n),_n.type!=="keydown"&&_n.defaultPrevented},_n=>{var wn,kn,Cn;if(xe.disabled){_n.stopImmediatePropagation();return}(wn=Fe==null?void 0:Fe.hideOnClick)!=null&&wn.value&&((kn=Fe.handleClick)==null||kn.call(Fe)),(Cn=Fe.commandHandler)==null||Cn.call(Fe,xe.command,Ue,_n)}),bn=computed(()=>({...xe,...Ie}));return{handleClick:vn,handlePointerMove:jt,handlePointerLeave:hn,textContent:At,propsAndAttrs:bn}}});function _sfc_render$g(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-item-impl"),Lt=resolveComponent("el-roving-focus-item"),jt=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(jt,{disabled:xe.disabled,"text-value":(At=xe.textValue)!=null?At:xe.textContent},{default:withCtx(()=>[createVNode$1(Lt,{focusable:!xe.disabled},{default:withCtx(()=>[createVNode$1(Dt,mergeProps(xe.propsAndAttrs,{onPointerleave:xe.handlePointerLeave,onPointermove:xe.handlePointerMove,onClickimpl:xe.handleClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$g],["__file","dropdown-item.vue"]]);const _sfc_main$1b=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(xe){const $e=useNamespace("dropdown"),{_elDropdownSize:Ie}=useDropdown(),Fe=Ie.value,{focusTrapRef:Ue,onKeydown:qe}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:At,role:Dt,triggerId:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:jt,getItems:hn}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:vn,rovingFocusGroupRootStyle:bn,tabIndex:_n,onBlur:wn,onFocus:kn,onMousedown:Cn}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:Sn}=inject(COLLECTION_INJECTION_KEY$1,void 0),xn=computed(()=>[$e.b("menu"),$e.bm("menu",Fe==null?void 0:Fe.value)]),En=composeRefs(At,jt,Ue,vn,Sn),Tn=composeEventHandlers($n=>{var Pn;(Pn=xe.onKeydown)==null||Pn.call(xe,$n)},$n=>{const{currentTarget:Pn,code:Nn,target:Mn}=$n;if(Pn.contains(Mn),EVENT_CODE.tab===Nn&&$n.stopImmediatePropagation(),$n.preventDefault(),Mn!==unref(At)||!FIRST_LAST_KEYS.includes(Nn))return;const On=hn().filter(Rn=>!Rn.disabled).map(Rn=>Rn.ref);LAST_KEYS.includes(Nn)&&On.reverse(),focusFirst(On)});return{size:Fe,rovingFocusGroupRootStyle:bn,tabIndex:_n,dropdownKls:xn,role:Dt,triggerId:Lt,dropdownListWrapperRef:En,handleKeydown:$n=>{Tn($n),qe($n)},onBlur:wn,onFocus:kn,onMousedown:Cn}}}),_hoisted_1$D=["role","aria-labelledby"];function _sfc_render$f(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("ul",{ref:xe.dropdownListWrapperRef,class:normalizeClass(xe.dropdownKls),style:normalizeStyle$1(xe.rovingFocusGroupRootStyle),tabindex:-1,role:xe.role,"aria-labelledby":xe.triggerId,onBlur:$e[0]||($e[0]=(...At)=>xe.onBlur&&xe.onBlur(...At)),onFocus:$e[1]||($e[1]=(...At)=>xe.onFocus&&xe.onFocus(...At)),onKeydown:$e[2]||($e[2]=withModifiers((...At)=>xe.handleKeydown&&xe.handleKeydown(...At),["self"])),onMousedown:$e[3]||($e[3]=withModifiers((...At)=>xe.onMousedown&&xe.onMousedown(...At),["self"]))},[renderSlot(xe.$slots,"default")],46,_hoisted_1$D)}var DropdownMenu=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$f],["__file","dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$C={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$o=["id"],_hoisted_3$a=["stop-color"],_hoisted_4$6=["stop-color"],_hoisted_5$5=["id"],_hoisted_6$3=["stop-color"],_hoisted_7$1=["stop-color"],_hoisted_8$1=["id"],_hoisted_9$1={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10$1={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11$1={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12$1=["fill"],_hoisted_13$1=["fill"],_hoisted_14$1={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15$1=["fill"],_hoisted_16$1=["fill"],_hoisted_17$1=["fill"],_hoisted_18$1=["fill"],_hoisted_19$1=["fill"],_hoisted_20$1={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_hoisted_21$1=["fill","xlink:href"],_hoisted_22$1=["fill","mask"],_hoisted_23$1=["fill"],__default__$T=defineComponent({name:"ImgEmpty"}),_sfc_main$1a=defineComponent({...__default__$T,setup(xe){const $e=useNamespace("empty"),Ie=useId();return(Fe,Ue)=>(openBlock(),createElementBlock("svg",_hoisted_1$C,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(Ie)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$a),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$6)],8,_hoisted_2$o),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(Ie)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$3),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7$1)],8,_hoisted_5$5),createBaseVNode("rect",{id:`path-3-${unref(Ie)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8$1)]),createBaseVNode("g",_hoisted_9$1,[createBaseVNode("g",_hoisted_10$1,[createBaseVNode("g",_hoisted_11$1,[createBaseVNode("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${unref($e).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12$1),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref($e).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,_hoisted_13$1),createBaseVNode("g",_hoisted_14$1,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref($e).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,_hoisted_15$1),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref($e).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16$1),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(Ie)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17$1),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref($e).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,_hoisted_18$1)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(Ie)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19$1),createBaseVNode("g",_hoisted_20$1,[createBaseVNode("use",{id:"Mask",fill:`var(${unref($e).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(Ie)}`},null,8,_hoisted_21$1),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref($e).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(Ie)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,_hoisted_22$1)]),createBaseVNode("polygon",{id:"Rectangle-Copy-18",fill:`var(${unref($e).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,_hoisted_23$1)])])])]))}});var ImgEmpty=_export_sfc$1(_sfc_main$1a,[["__file","img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$B=["src"],_hoisted_2$n={key:1},__default__$S=defineComponent({name:"ElEmpty"}),_sfc_main$19=defineComponent({...__default__$S,props:emptyProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("empty"),Ue=computed(()=>$e.description||Ie("el.table.emptyText")),qe=computed(()=>({width:addUnit($e.imageSize)}));return(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("image")),style:normalizeStyle$1(unref(qe))},[At.image?(openBlock(),createElementBlock("img",{key:0,src:At.image,ondragstart:"return false"},null,8,_hoisted_1$B)):renderSlot(At.$slots,"image",{key:1},()=>[createVNode$1(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("description"))},[At.$slots.description?renderSlot(At.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$n,toDisplayString(unref(Ue)),1))],2),At.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("bottom"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$19,[["__file","empty.vue"]]);const ElEmpty=withInstall(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageViewerEmits={close:()=>!0,switch:xe=>isNumber$1(xe),rotate:xe=>isNumber$1(xe)},_hoisted_1$A=["src","crossorigin"],__default__$R=defineComponent({name:"ElImageViewer"}),_sfc_main$18=defineComponent({...__default__$R,props:imageViewerProps,emits:imageViewerEmits,setup(xe,{expose:$e,emit:Ie}){var Fe;const Ue=xe,qe={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:At}=useLocale(),Dt=useNamespace("image-viewer"),{nextZIndex:Lt}=useZIndex(),jt=ref(),hn=ref([]),vn=effectScope(),bn=ref(!0),_n=ref(Ue.initialIndex),wn=shallowRef(qe.CONTAIN),kn=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Cn=ref((Fe=Ue.zIndex)!=null?Fe:Lt()),Sn=computed(()=>{const{urlList:jn}=Ue;return jn.length<=1}),xn=computed(()=>_n.value===0),En=computed(()=>_n.value===Ue.urlList.length-1),Tn=computed(()=>Ue.urlList[_n.value]),An=computed(()=>[Dt.e("btn"),Dt.e("prev"),Dt.is("disabled",!Ue.infinite&&xn.value)]),$n=computed(()=>[Dt.e("btn"),Dt.e("next"),Dt.is("disabled",!Ue.infinite&&En.value)]),Pn=computed(()=>{const{scale:jn,deg:Gn,offsetX:Wn,offsetY:Xn,enableTransition:er}=kn.value;let rr=Wn/jn,Jn=Xn/jn;switch(Gn%360){case 90:case-270:[rr,Jn]=[Jn,-rr];break;case 180:case-180:[rr,Jn]=[-rr,-Jn];break;case 270:case-90:[rr,Jn]=[-Jn,rr];break}const Yn={transform:`scale(${jn}) rotate(${Gn}deg) translate(${rr}px, ${Jn}px)`,transition:er?"transform .3s":""};return wn.value.name===qe.CONTAIN.name&&(Yn.maxWidth=Yn.maxHeight="100%"),Yn});function Nn(){In(),Ie("close")}function Mn(){const jn=throttle$3(Wn=>{switch(Wn.code){case EVENT_CODE.esc:Ue.closeOnPressEscape&&Nn();break;case EVENT_CODE.space:Ln();break;case EVENT_CODE.left:Hn();break;case EVENT_CODE.up:zn("zoomIn");break;case EVENT_CODE.right:Fn();break;case EVENT_CODE.down:zn("zoomOut");break}}),Gn=throttle$3(Wn=>{const Xn=Wn.deltaY||Wn.deltaX;zn(Xn<0?"zoomIn":"zoomOut",{zoomRate:Ue.zoomRate,enableTransition:!1})});vn.run(()=>{useEventListener(document,"keydown",jn),useEventListener(document,"wheel",Gn)})}function In(){vn.stop()}function On(){bn.value=!1}function Rn(jn){bn.value=!1,jn.target.alt=At("el.image.error")}function Bn(jn){if(bn.value||jn.button!==0||!jt.value)return;kn.value.enableTransition=!1;const{offsetX:Gn,offsetY:Wn}=kn.value,Xn=jn.pageX,er=jn.pageY,rr=throttle$3(Yn=>{kn.value={...kn.value,offsetX:Gn+Yn.pageX-Xn,offsetY:Wn+Yn.pageY-er}}),Jn=useEventListener(document,"mousemove",rr);useEventListener(document,"mouseup",()=>{Jn()}),jn.preventDefault()}function Vn(){kn.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Ln(){if(bn.value)return;const jn=keysOf(qe),Gn=Object.values(qe),Wn=wn.value.name,er=(Gn.findIndex(rr=>rr.name===Wn)+1)%jn.length;wn.value=qe[jn[er]],Vn()}function Dn(jn){const Gn=Ue.urlList.length;_n.value=(jn+Gn)%Gn}function Hn(){xn.value&&!Ue.infinite||Dn(_n.value-1)}function Fn(){En.value&&!Ue.infinite||Dn(_n.value+1)}function zn(jn,Gn={}){if(bn.value)return;const{minScale:Wn,maxScale:Xn}=Ue,{zoomRate:er,rotateDeg:rr,enableTransition:Jn}={zoomRate:Ue.zoomRate,rotateDeg:90,enableTransition:!0,...Gn};switch(jn){case"zoomOut":kn.value.scale>Wn&&(kn.value.scale=Number.parseFloat((kn.value.scale/er).toFixed(3)));break;case"zoomIn":kn.value.scale{nextTick(()=>{const jn=hn.value[0];jn!=null&&jn.complete||(bn.value=!0)})}),watch(_n,jn=>{Vn(),Ie("switch",jn)}),onMounted(()=>{var jn,Gn;Mn(),(Gn=(jn=jt.value)==null?void 0:jn.focus)==null||Gn.call(jn)}),$e({setActiveItem:Dn}),(jn,Gn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!jn.teleported},[createVNode$1(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:jt,tabindex:-1,class:normalizeClass(unref(Dt).e("wrapper")),style:normalizeStyle$1({zIndex:Cn.value})},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("mask")),onClick:Gn[0]||(Gn[0]=withModifiers(Wn=>jn.hideOnClickModal&&Nn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("close")]),onClick:Nn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Sn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(An)),onClick:Hn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref($n)),onClick:Fn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("actions__inner"))},[createVNode$1(unref(ElIcon),{onClick:Gn[1]||(Gn[1]=Wn=>zn("zoomOut"))},{default:withCtx(()=>[createVNode$1(unref(zoom_out_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[2]||(Gn[2]=Wn=>zn("zoomIn"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Ln},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Gn[3]||(Gn[3]=Wn=>zn("anticlockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_left_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[4]||(Gn[4]=Wn=>zn("clockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(Dt).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(jn.urlList,(Wn,Xn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:er=>hn.value[Xn]=er,key:Wn,src:Wn,style:normalizeStyle$1(unref(Pn)),class:normalizeClass(unref(Dt).e("img")),crossorigin:jn.crossorigin,onLoad:On,onError:Rn,onMousedown:Bn},null,46,_hoisted_1$A)),[[vShow,Xn===_n.value]])),128))],2),renderSlot(jn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$18,[["__file","image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageEmits={load:xe=>xe instanceof Event,error:xe=>xe instanceof Event,switch:xe=>isNumber$1(xe),close:()=>!0,show:()=>!0},_hoisted_1$z=["src","loading","crossorigin"],_hoisted_2$m={key:0},__default__$Q=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$17=defineComponent({...__default__$Q,props:imageProps,emits:imageEmits,setup(xe,{emit:$e}){const Ie=xe;let Fe="";const{t:Ue}=useLocale(),qe=useNamespace("image"),At=useAttrs$1(),Dt=useAttrs(),Lt=ref(),jt=ref(!1),hn=ref(!0),vn=ref(!1),bn=ref(),_n=ref(),wn=isClient$1&&"loading"in HTMLImageElement.prototype;let kn,Cn;const Sn=computed(()=>[qe.e("inner"),Tn.value&&qe.e("preview"),hn.value&&qe.is("loading")]),xn=computed(()=>At.style),En=computed(()=>{const{fit:Fn}=Ie;return isClient$1&&Fn?{objectFit:Fn}:{}}),Tn=computed(()=>{const{previewSrcList:Fn}=Ie;return Array.isArray(Fn)&&Fn.length>0}),An=computed(()=>{const{previewSrcList:Fn,initialIndex:zn}=Ie;let jn=zn;return zn>Fn.length-1&&(jn=0),jn}),$n=computed(()=>Ie.loading==="eager"?!1:!wn&&Ie.loading==="lazy"||Ie.lazy),Pn=()=>{isClient$1&&(hn.value=!0,jt.value=!1,Lt.value=Ie.src)};function Nn(Fn){hn.value=!1,jt.value=!1,$e("load",Fn)}function Mn(Fn){hn.value=!1,jt.value=!0,$e("error",Fn)}function In(){isInContainer(bn.value,_n.value)&&(Pn(),Bn())}const On=useThrottleFn(In,200,!0);async function Rn(){var Fn;if(!isClient$1)return;await nextTick();const{scrollContainer:zn}=Ie;isElement$1(zn)?_n.value=zn:isString$4(zn)&&zn!==""?_n.value=(Fn=document.querySelector(zn))!=null?Fn:void 0:bn.value&&(_n.value=getScrollContainer(bn.value)),_n.value&&(kn=useEventListener(_n,"scroll",On),setTimeout(()=>In(),100))}function Bn(){!isClient$1||!_n.value||!On||(kn==null||kn(),_n.value=void 0)}function Vn(Fn){if(Fn.ctrlKey){if(Fn.deltaY<0)return Fn.preventDefault(),!1;if(Fn.deltaY>0)return Fn.preventDefault(),!1}}function Ln(){Tn.value&&(Cn=useEventListener("wheel",Vn,{passive:!1}),Fe=document.body.style.overflow,document.body.style.overflow="hidden",vn.value=!0,$e("show"))}function Dn(){Cn==null||Cn(),document.body.style.overflow=Fe,vn.value=!1,$e("close")}function Hn(Fn){$e("switch",Fn)}return watch(()=>Ie.src,()=>{$n.value?(hn.value=!0,jt.value=!1,Bn(),Rn()):Pn()}),onMounted(()=>{$n.value?Rn():Pn()}),(Fn,zn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:bn,class:normalizeClass([unref(qe).b(),Fn.$attrs.class]),style:normalizeStyle$1(unref(xn))},[jt.value?renderSlot(Fn.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("error"))},toDisplayString(unref(Ue)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[Lt.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(Dt),{src:Lt.value,loading:Fn.loading,style:unref(En),class:unref(Sn),crossorigin:Fn.crossorigin,onClick:Ln,onLoad:Nn,onError:Mn}),null,16,_hoisted_1$z)):createCommentVNode("v-if",!0),hn.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(qe).e("wrapper"))},[renderSlot(Fn.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(Tn)?(openBlock(),createElementBlock(Fragment,{key:2},[vn.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":Fn.zIndex,"initial-index":unref(An),infinite:Fn.infinite,"zoom-rate":Fn.zoomRate,"min-scale":Fn.minScale,"max-scale":Fn.maxScale,"url-list":Fn.previewSrcList,"hide-on-click-modal":Fn.hideOnClickModal,teleported:Fn.previewTeleported,"close-on-press-escape":Fn.closeOnPressEscape,onClose:Dn,onSwitch:Hn},{default:withCtx(()=>[Fn.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$m,[renderSlot(Fn.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],6))}});var Image$1=_export_sfc$1(_sfc_main$17,[["__file","image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:xe=>xe===null||isNumber$1(xe)||["min","max"].includes(xe),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:xe=>xe>=0&&xe===Number.parseInt(`${xe}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),inputNumberEmits={[CHANGE_EVENT]:(xe,$e)=>$e!==xe,blur:xe=>xe instanceof FocusEvent,focus:xe=>xe instanceof FocusEvent,[INPUT_EVENT]:xe=>isNumber$1(xe)||isNil(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)||isNil(xe)},_hoisted_1$y=["aria-label","onKeydown"],_hoisted_2$l=["aria-label","onKeydown"],__default__$P=defineComponent({name:"ElInputNumber"}),_sfc_main$16=defineComponent({...__default__$P,props:inputNumberProps,emits:inputNumberEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("input-number"),At=ref(),Dt=reactive({currentValue:Fe.modelValue,userInput:null}),{formItem:Lt}=useFormItem(),jt=computed(()=>isNumber$1(Fe.modelValue)&&Fe.modelValue<=Fe.min),hn=computed(()=>isNumber$1(Fe.modelValue)&&Fe.modelValue>=Fe.max),vn=computed(()=>{const Ln=Sn(Fe.step);return isUndefined(Fe.precision)?Math.max(Sn(Fe.modelValue),Ln):(Ln>Fe.precision,Fe.precision)}),bn=computed(()=>Fe.controls&&Fe.controlsPosition==="right"),_n=useFormSize(),wn=useFormDisabled(),kn=computed(()=>{if(Dt.userInput!==null)return Dt.userInput;let Ln=Dt.currentValue;if(isNil(Ln))return"";if(isNumber$1(Ln)){if(Number.isNaN(Ln))return"";isUndefined(Fe.precision)||(Ln=Ln.toFixed(Fe.precision))}return Ln}),Cn=(Ln,Dn)=>{if(isUndefined(Dn)&&(Dn=vn.value),Dn===0)return Math.round(Ln);let Hn=String(Ln);const Fn=Hn.indexOf(".");if(Fn===-1||!Hn.replace(".","").split("")[Fn+Dn])return Ln;const Gn=Hn.length;return Hn.charAt(Gn-1)==="5"&&(Hn=`${Hn.slice(0,Math.max(0,Gn-1))}6`),Number.parseFloat(Number(Hn).toFixed(Dn))},Sn=Ln=>{if(isNil(Ln))return 0;const Dn=Ln.toString(),Hn=Dn.indexOf(".");let Fn=0;return Hn!==-1&&(Fn=Dn.length-Hn-1),Fn},xn=(Ln,Dn=1)=>isNumber$1(Ln)?Cn(Ln+Fe.step*Dn):Dt.currentValue,En=()=>{if(Fe.readonly||wn.value||hn.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},Tn=()=>{if(Fe.readonly||wn.value||jt.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln,-1);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},An=(Ln,Dn)=>{const{max:Hn,min:Fn,step:zn,precision:jn,stepStrictly:Gn,valueOnClear:Wn}=Fe;HnHn||XnHn?Hn:Fn,Dn&&Ie(UPDATE_MODEL_EVENT,Xn)),Xn},$n=(Ln,Dn=!0)=>{var Hn;const Fn=Dt.currentValue,zn=An(Ln);if(!Dn){Ie(UPDATE_MODEL_EVENT,zn);return}Fn===zn&&Ln||(Dt.userInput=null,Ie(UPDATE_MODEL_EVENT,zn),Fn!==zn&&Ie(CHANGE_EVENT,zn,Fn),Fe.validateEvent&&((Hn=Lt==null?void 0:Lt.validate)==null||Hn.call(Lt,"change").catch(jn=>void 0)),Dt.currentValue=zn)},Pn=Ln=>{Dt.userInput=Ln;const Dn=Ln===""?null:Number(Ln);Ie(INPUT_EVENT,Dn),$n(Dn,!1)},Nn=Ln=>{const Dn=Ln!==""?Number(Ln):"";(isNumber$1(Dn)&&!Number.isNaN(Dn)||Ln==="")&&$n(Dn),Bn(),Dt.userInput=null},Mn=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.focus)==null||Dn.call(Ln)},In=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.blur)==null||Dn.call(Ln)},On=Ln=>{Ie("focus",Ln)},Rn=Ln=>{var Dn;Dt.userInput=null,Ie("blur",Ln),Fe.validateEvent&&((Dn=Lt==null?void 0:Lt.validate)==null||Dn.call(Lt,"blur").catch(Hn=>void 0))},Bn=()=>{Dt.currentValue!==Fe.modelValue&&(Dt.currentValue=Fe.modelValue)},Vn=Ln=>{document.activeElement===Ln.target&&Ln.preventDefault()};return watch(()=>Fe.modelValue,(Ln,Dn)=>{const Hn=An(Ln,!0);Dt.userInput===null&&Hn!==Dn&&(Dt.currentValue=Hn)},{immediate:!0}),onMounted(()=>{var Ln;const{min:Dn,max:Hn,modelValue:Fn}=Fe,zn=(Ln=At.value)==null?void 0:Ln.input;if(zn.setAttribute("role","spinbutton"),Number.isFinite(Hn)?zn.setAttribute("aria-valuemax",String(Hn)):zn.removeAttribute("aria-valuemax"),Number.isFinite(Dn)?zn.setAttribute("aria-valuemin",String(Dn)):zn.removeAttribute("aria-valuemin"),zn.setAttribute("aria-valuenow",Dt.currentValue||Dt.currentValue===0?String(Dt.currentValue):""),zn.setAttribute("aria-disabled",String(wn.value)),!isNumber$1(Fn)&&Fn!=null){let jn=Number(Fn);Number.isNaN(jn)&&(jn=null),Ie(UPDATE_MODEL_EVENT,jn)}zn.addEventListener("wheel",Vn,{passive:!1})}),onUpdated(()=>{var Ln,Dn;const Hn=(Ln=At.value)==null?void 0:Ln.input;Hn==null||Hn.setAttribute("aria-valuenow",`${(Dn=Dt.currentValue)!=null?Dn:""}`)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input-number",ref:"https://element-plus.org/en-US/component/input-number.html"},computed(()=>!!Fe.label)),$e({focus:Mn,blur:In}),(Ln,Dn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(unref(_n)),unref(qe).is("disabled",unref(wn)),unref(qe).is("without-controls",!Ln.controls),unref(qe).is("controls-right",unref(bn))]),onDragstart:Dn[0]||(Dn[0]=withModifiers(()=>{},["prevent"]))},[Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(Ue)("el.inputNumber.decrease"),class:normalizeClass([unref(qe).e("decrease"),unref(qe).is("disabled",unref(jt))]),onKeydown:withKeys(Tn,["enter"])},[renderSlot(Ln.$slots,"decrease-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})])],42,_hoisted_1$y)),[[unref(vRepeatClick),Tn]]):createCommentVNode("v-if",!0),Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(Ue)("el.inputNumber.increase"),class:normalizeClass([unref(qe).e("increase"),unref(qe).is("disabled",unref(hn))]),onKeydown:withKeys(En,["enter"])},[renderSlot(Ln.$slots,"increase-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})])],42,_hoisted_2$l)),[[unref(vRepeatClick),En]]):createCommentVNode("v-if",!0),createVNode$1(unref(ElInput),{id:Ln.id,ref_key:"input",ref:At,type:"number",step:Ln.step,"model-value":unref(kn),placeholder:Ln.placeholder,readonly:Ln.readonly,disabled:unref(wn),size:unref(_n),max:Ln.max,min:Ln.min,name:Ln.name,"aria-label":Ln.label||Ln.ariaLabel,"validate-event":!1,onKeydown:[withKeys(withModifiers(En,["prevent"]),["up"]),withKeys(withModifiers(Tn,["prevent"]),["down"])],onBlur:Rn,onFocus:On,onInput:Pn,onChange:Nn},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],34))}});var InputNumber=_export_sfc$1(_sfc_main$16,[["__file","input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:xe=>xe instanceof MouseEvent},_hoisted_1$x=["href","target"],__default__$O=defineComponent({name:"ElLink"}),_sfc_main$15=defineComponent({...__default__$O,props:linkProps,emits:linkEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("link"),Ue=computed(()=>[Fe.b(),Fe.m(Ie.type),Fe.is("disabled",Ie.disabled),Fe.is("underline",Ie.underline&&!Ie.disabled)]);function qe(At){Ie.disabled||$e("click",At)}return(At,Dt)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(Ue)),href:At.disabled||!At.href?void 0:At.href,target:At.disabled||!At.href?void 0:At.target,onClick:qe},[At.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(At.icon)))]),_:1})):createCommentVNode("v-if",!0),At.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Fe).e("inner"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0),At.$slots.icon?renderSlot(At.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$x))}});var Link=_export_sfc$1(_sfc_main$15,[["__file","link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor($e,Ie){this.parent=$e,this.domNode=Ie,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex($e){$e===this.subMenuItems.length?$e=0:$e<0&&($e=this.subMenuItems.length-1),this.subMenuItems[$e].focus(),this.subIndex=$e}addListeners(){const $e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,Ie=>{Ie.addEventListener("keydown",Fe=>{let Ue=!1;switch(Fe.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),Ue=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),Ue=!0;break}case EVENT_CODE.tab:{triggerEvent($e,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ue=!0,Fe.currentTarget.click();break}}return Ue&&(Fe.preventDefault(),Fe.stopPropagation()),!1})})}},MenuItem$1=class{constructor($e,Ie){this.domNode=$e,this.submenu=null,this.submenu=null,this.init(Ie)}init($e){this.domNode.setAttribute("tabindex","0");const Ie=this.domNode.querySelector(`.${$e}-menu`);Ie&&(this.submenu=new SubMenu$1(this,Ie)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",$e=>{let Ie=!1;switch($e.code){case EVENT_CODE.down:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),Ie=!0;break}case EVENT_CODE.up:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),Ie=!0;break}case EVENT_CODE.tab:{triggerEvent($e.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ie=!0,$e.currentTarget.click();break}}Ie&&$e.preventDefault()})}},Menu$1=class{constructor($e,Ie){this.domNode=$e,this.init(Ie)}init($e){const Ie=this.domNode.childNodes;Array.from(Ie).forEach(Fe=>{Fe.nodeType===1&&new MenuItem$1(Fe,$e)})}};const _sfc_main$14=defineComponent({name:"ElMenuCollapseTransition",setup(){const xe=useNamespace("menu");return{listeners:{onBeforeEnter:Ie=>Ie.style.opacity="0.2",onEnter(Ie,Fe){addClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity="1",Fe()},onAfterEnter(Ie){removeClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity=""},onBeforeLeave(Ie){Ie.dataset||(Ie.dataset={}),hasClass(Ie,xe.m("collapse"))?(removeClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),addClass(Ie,xe.m("collapse"))):(addClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),removeClass(Ie,xe.m("collapse"))),Ie.style.width=`${Ie.scrollWidth}px`,Ie.style.overflow="hidden"},onLeave(Ie){addClass(Ie,"horizontal-collapse-transition"),Ie.style.width=`${Ie.dataset.scrollWidth}px`}}}}});function _sfc_render$e(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},xe.listeners),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$e],["__file","menu-collapse-transition.vue"]]);function useMenu(xe,$e){const Ie=computed(()=>{let Ue=xe.parent;const qe=[$e.value];for(;Ue.type.name!=="ElMenu";)Ue.props.index&&qe.unshift(Ue.props.index),Ue=Ue.parent;return qe});return{parentMenu:computed(()=>{let Ue=xe.parent;for(;Ue&&!["ElMenu","ElSubMenu"].includes(Ue.type.name);)Ue=Ue.parent;return Ue}),indexPath:Ie}}function useMenuColor(xe){return computed(()=>{const Ie=xe.backgroundColor;return Ie?new TinyColor(Ie).shade(20).toString():""})}const useMenuCssVar=(xe,$e)=>{const Ie=useNamespace("menu");return computed(()=>Ie.cssVarBlock({"text-color":xe.textColor||"","hover-text-color":xe.textColor||"","bg-color":xe.backgroundColor||"","hover-bg-color":useMenuColor(xe).value||"","active-color":xe.activeTextColor||"",level:`${$e}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$c="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$c,props:subMenuProps,setup(xe,{slots:$e,expose:Ie}){const Fe=getCurrentInstance(),{indexPath:Ue,parentMenu:qe}=useMenu(Fe,computed(()=>xe.index)),At=useNamespace("menu"),Dt=useNamespace("sub-menu"),Lt=inject("rootMenu");Lt||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const jt=inject(`subMenu:${qe.value.uid}`);jt||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const hn=ref({}),vn=ref({});let bn;const _n=ref(!1),wn=ref(),kn=ref(null),Cn=computed(()=>Nn.value==="horizontal"&&xn.value?"bottom-start":"right-start"),Sn=computed(()=>Nn.value==="horizontal"&&xn.value||Nn.value==="vertical"&&!Lt.props.collapse?xe.expandCloseIcon&&xe.expandOpenIcon?$n.value?xe.expandOpenIcon:xe.expandCloseIcon:arrow_down_default:xe.collapseCloseIcon&&xe.collapseOpenIcon?$n.value?xe.collapseOpenIcon:xe.collapseCloseIcon:arrow_right_default),xn=computed(()=>jt.level===0),En=computed(()=>{const jn=xe.teleported;return jn===void 0?xn.value:jn}),Tn=computed(()=>Lt.props.collapse?`${At.namespace.value}-zoom-in-left`:`${At.namespace.value}-zoom-in-top`),An=computed(()=>Nn.value==="horizontal"&&xn.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),$n=computed(()=>Lt.openedMenus.includes(xe.index)),Pn=computed(()=>{let jn=!1;return Object.values(hn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),Object.values(vn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),jn}),Nn=computed(()=>Lt.props.mode),Mn=reactive({index:xe.index,indexPath:Ue,active:Pn}),In=useMenuCssVar(Lt.props,jt.level+1),On=computed(()=>{var jn;return(jn=xe.popperOffset)!=null?jn:Lt.props.popperOffset}),Rn=computed(()=>{var jn;return(jn=xe.popperClass)!=null?jn:Lt.props.popperClass}),Bn=computed(()=>{var jn;return(jn=xe.showTimeout)!=null?jn:Lt.props.showTimeout}),Vn=computed(()=>{var jn;return(jn=xe.hideTimeout)!=null?jn:Lt.props.hideTimeout}),Ln=()=>{var jn,Gn,Wn;return(Wn=(Gn=(jn=kn.value)==null?void 0:jn.popperRef)==null?void 0:Gn.popperInstanceRef)==null?void 0:Wn.destroy()},Dn=jn=>{jn||Ln()},Hn=()=>{Lt.props.menuTrigger==="hover"&&Lt.props.mode==="horizontal"||Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled||Lt.handleSubMenuClick({index:xe.index,indexPath:Ue.value,active:Pn.value})},Fn=(jn,Gn=Bn.value)=>{var Wn;if(jn.type!=="focus"){if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled){jt.mouseInChild.value=!0;return}jt.mouseInChild.value=!0,bn==null||bn(),{stop:bn}=useTimeoutFn$1(()=>{Lt.openMenu(xe.index,Ue.value)},Gn),En.value&&((Wn=qe.value.vnode.el)==null||Wn.dispatchEvent(new MouseEvent("mouseenter")))}},zn=(jn=!1)=>{var Gn;if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"){jt.mouseInChild.value=!1;return}bn==null||bn(),jt.mouseInChild.value=!1,{stop:bn}=useTimeoutFn$1(()=>!_n.value&&Lt.closeMenu(xe.index,Ue.value),Vn.value),En.value&&jn&&((Gn=jt.handleMouseleave)==null||Gn.call(jt,!0))};watch(()=>Lt.props.collapse,jn=>Dn(!!jn));{const jn=Wn=>{vn.value[Wn.index]=Wn},Gn=Wn=>{delete vn.value[Wn.index]};provide(`subMenu:${Fe.uid}`,{addSubMenu:jn,removeSubMenu:Gn,handleMouseleave:zn,mouseInChild:_n,level:jt.level+1})}return Ie({opened:$n}),onMounted(()=>{Lt.addSubMenu(Mn),jt.addSubMenu(Mn)}),onBeforeUnmount(()=>{jt.removeSubMenu(Mn),Lt.removeSubMenu(Mn)}),()=>{var jn;const Gn=[(jn=$e.title)==null?void 0:jn.call($e),h$5(ElIcon,{class:Dt.e("icon-arrow"),style:{transform:$n.value?xe.expandCloseIcon&&xe.expandOpenIcon||xe.collapseCloseIcon&&xe.collapseOpenIcon&&Lt.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$4(Sn.value)?h$5(Fe.appContext.components[Sn.value]):h$5(Sn.value)})],Wn=Lt.isMenuPopup?h$5(ElTooltip,{ref:kn,visible:$n.value,effect:"light",pure:!0,offset:On.value,showArrow:!1,persistent:!0,popperClass:Rn.value,placement:Cn.value,teleported:En.value,fallbackPlacements:An.value,transition:Tn.value,gpuAcceleration:!1},{content:()=>{var Xn;return h$5("div",{class:[At.m(Nn.value),At.m("popup-container"),Rn.value],onMouseenter:er=>Fn(er,100),onMouseleave:()=>zn(!0),onFocus:er=>Fn(er,100)},[h$5("ul",{class:[At.b(),At.m("popup"),At.m(`popup-${Cn.value}`)],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)])])},default:()=>h$5("div",{class:Dt.e("title"),onClick:Hn},Gn)}):h$5(Fragment,{},[h$5("div",{class:Dt.e("title"),ref:wn,onClick:Hn},Gn),h$5(_CollapseTransition,{},{default:()=>{var Xn;return withDirectives(h$5("ul",{role:"menu",class:[At.b(),At.m("inline")],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)]),[[vShow,$n.value]])}})]);return h$5("li",{class:[Dt.b(),Dt.is("active",Pn.value),Dt.is("opened",$n.value),Dt.is("disabled",xe.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:$n.value,onMouseenter:Fn,onMouseleave:()=>zn(),onFocus:Fn},[Wn])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:iconPropType,default:()=>more_default},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),checkIndexPath=xe=>Array.isArray(xe)&&xe.every($e=>isString$4($e)),menuEmits={close:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),open:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),select:(xe,$e,Ie,Fe)=>isString$4(xe)&&checkIndexPath($e)&&isObject$8(Ie)&&(Fe===void 0||Fe instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){const Ue=getCurrentInstance(),qe=Ue.appContext.config.globalProperties.$router,At=ref(),Dt=useNamespace("menu"),Lt=useNamespace("sub-menu"),jt=ref(-1),hn=ref(xe.defaultOpeneds&&!xe.collapse?xe.defaultOpeneds.slice(0):[]),vn=ref(xe.defaultActive),bn=ref({}),_n=ref({}),wn=computed(()=>xe.mode==="horizontal"||xe.mode==="vertical"&&xe.collapse),kn=()=>{const Vn=vn.value&&bn.value[vn.value];if(!Vn||xe.mode==="horizontal"||xe.collapse)return;Vn.indexPath.forEach(Dn=>{const Hn=_n.value[Dn];Hn&&Cn(Dn,Hn.indexPath)})},Cn=(Vn,Ln)=>{hn.value.includes(Vn)||(xe.uniqueOpened&&(hn.value=hn.value.filter(Dn=>Ln.includes(Dn))),hn.value.push(Vn),$e("open",Vn,Ln))},Sn=Vn=>{const Ln=hn.value.indexOf(Vn);Ln!==-1&&hn.value.splice(Ln,1)},xn=(Vn,Ln)=>{Sn(Vn),$e("close",Vn,Ln)},En=({index:Vn,indexPath:Ln})=>{hn.value.includes(Vn)?xn(Vn,Ln):Cn(Vn,Ln)},Tn=Vn=>{(xe.mode==="horizontal"||xe.collapse)&&(hn.value=[]);const{index:Ln,indexPath:Dn}=Vn;if(!(isNil(Ln)||isNil(Dn)))if(xe.router&&qe){const Hn=Vn.route||Ln,Fn=qe.push(Hn).then(zn=>(zn||(vn.value=Ln),zn));$e("select",Ln,Dn,{index:Ln,indexPath:Dn,route:Hn},Fn)}else vn.value=Ln,$e("select",Ln,Dn,{index:Ln,indexPath:Dn})},An=Vn=>{const Ln=bn.value,Dn=Ln[Vn]||vn.value&&Ln[vn.value]||Ln[xe.defaultActive];Dn?vn.value=Dn.index:vn.value=Vn},$n=Vn=>{const Ln=getComputedStyle(Vn),Dn=Number.parseInt(Ln.marginLeft,10),Hn=Number.parseInt(Ln.marginRight,10);return Vn.offsetWidth+Dn+Hn||0},Pn=()=>{var Vn,Ln;if(!At.value)return-1;const Dn=Array.from((Ln=(Vn=At.value)==null?void 0:Vn.childNodes)!=null?Ln:[]).filter(er=>er.nodeName!=="#comment"&&(er.nodeName!=="#text"||er.nodeValue)),Hn=64,Fn=getComputedStyle(At.value),zn=Number.parseInt(Fn.paddingLeft,10),jn=Number.parseInt(Fn.paddingRight,10),Gn=At.value.clientWidth-zn-jn;let Wn=0,Xn=0;return Dn.forEach((er,rr)=>{Wn+=$n(er),Wn<=Gn-Hn&&(Xn=rr+1)}),Xn===Dn.length?-1:Xn},Nn=Vn=>_n.value[Vn].indexPath,Mn=(Vn,Ln=33.34)=>{let Dn;return()=>{Dn&&clearTimeout(Dn),Dn=setTimeout(()=>{Vn()},Ln)}};let In=!0;const On=()=>{if(jt.value===Pn())return;const Vn=()=>{jt.value=-1,nextTick(()=>{jt.value=Pn()})};In?Vn():Mn(Vn)(),In=!1};watch(()=>xe.defaultActive,Vn=>{bn.value[Vn]||(vn.value=""),An(Vn)}),watch(()=>xe.collapse,Vn=>{Vn&&(hn.value=[])}),watch(bn.value,kn);let Rn;watchEffect(()=>{xe.mode==="horizontal"&&xe.ellipsis?Rn=useResizeObserver(At,On).stop:Rn==null||Rn()});const Bn=ref(!1);{const Vn=Fn=>{_n.value[Fn.index]=Fn},Ln=Fn=>{delete _n.value[Fn.index]};provide("rootMenu",reactive({props:xe,openedMenus:hn,items:bn,subMenus:_n,activeIndex:vn,isMenuPopup:wn,addMenuItem:Fn=>{bn.value[Fn.index]=Fn},removeMenuItem:Fn=>{delete bn.value[Fn.index]},addSubMenu:Vn,removeSubMenu:Ln,openMenu:Cn,closeMenu:xn,handleMenuItemClick:Tn,handleSubMenuClick:En})),provide(`subMenu:${Ue.uid}`,{addSubMenu:Vn,removeSubMenu:Ln,mouseInChild:Bn,level:0})}return onMounted(()=>{xe.mode==="horizontal"&&new Menu$1(Ue.vnode.el,Dt.namespace.value)}),Fe({open:Ln=>{const{indexPath:Dn}=_n.value[Ln];Dn.forEach(Hn=>Cn(Hn,Dn))},close:Sn,handleResize:On}),()=>{var Vn,Ln;let Dn=(Ln=(Vn=Ie.default)==null?void 0:Vn.call(Ie))!=null?Ln:[];const Hn=[];if(xe.mode==="horizontal"&&At.value){const Gn=flattedChildren(Dn),Wn=jt.value===-1?Gn:Gn.slice(0,jt.value),Xn=jt.value===-1?[]:Gn.slice(jt.value);Xn!=null&&Xn.length&&xe.ellipsis&&(Dn=Wn,Hn.push(h$5(SubMenu,{index:"sub-menu-more",class:Lt.e("hide-arrow"),popperOffset:xe.popperOffset},{title:()=>h$5(ElIcon,{class:Lt.e("icon-more")},{default:()=>h$5(xe.ellipsisIcon)}),default:()=>Xn})))}const Fn=useMenuCssVar(xe,0),zn=xe.closeOnClickOutside?[[ClickOutside,()=>{hn.value.length&&(Bn.value||(hn.value.forEach(Gn=>$e("close",Gn,Nn(Gn))),hn.value=[]))}]]:[],jn=withDirectives(h$5("ul",{key:String(xe.collapse),role:"menubar",ref:At,style:Fn.value,class:{[Dt.b()]:!0,[Dt.m(xe.mode)]:!0,[Dt.m("collapse")]:xe.collapse}},[...Dn,...Hn]),zn);return xe.collapseTransition&&xe.mode==="vertical"?h$5(ElMenuCollapseTransition,()=>jn):jn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:xe=>isString$4(xe.index)&&Array.isArray(xe.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$13=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject("rootMenu"),Ue=useNamespace("menu"),qe=useNamespace("menu-item");Fe||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:At,indexPath:Dt}=useMenu(Ie,toRef(xe,"index")),Lt=inject(`subMenu:${At.value.uid}`);Lt||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const jt=computed(()=>xe.index===Fe.activeIndex),hn=reactive({index:xe.index,indexPath:Dt,active:jt}),vn=()=>{xe.disabled||(Fe.handleMenuItemClick({index:xe.index,indexPath:Dt.value,route:xe.route}),$e("click",hn))};return onMounted(()=>{Lt.addSubMenu(hn),Fe.addMenuItem(hn)}),onBeforeUnmount(()=>{Lt.removeSubMenu(hn),Fe.removeMenuItem(hn)}),{parentMenu:At,rootMenu:Fe,active:jt,nsMenu:Ue,nsMenuItem:qe,handleClick:vn}}});function _sfc_render$d(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([xe.nsMenuItem.b(),xe.nsMenuItem.is("active",xe.active),xe.nsMenuItem.is("disabled",xe.disabled)]),role:"menuitem",tabindex:"-1",onClick:$e[0]||($e[0]=(...Dt)=>xe.handleClick&&xe.handleClick(...Dt))},[xe.parentMenu.type.name==="ElMenu"&&xe.rootMenu.props.collapse&&xe.$slots.title?(openBlock(),createBlock(At,{key:0,effect:xe.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(xe.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsMenu.be("tooltip","trigger"))},[renderSlot(xe.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(xe.$slots,"default"),renderSlot(xe.$slots,"title")],64))],2)}var MenuItem=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$d],["__file","menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$12=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$c(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.$slots.title?renderSlot(xe.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(xe.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(xe.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$1(_sfc_main$12,[["render",_sfc_render$c],["__file","menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem,MenuItemGroup,SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},_hoisted_1$w=["aria-label"],__default__$N=defineComponent({name:"ElPageHeader"}),_sfc_main$11=defineComponent({...__default__$N,props:pageHeaderProps,emits:pageHeaderEmits,setup(xe,{emit:$e}){const Ie=useSlots(),{t:Fe}=useLocale(),Ue=useNamespace("page-header"),qe=computed(()=>[Ue.b(),{[Ue.m("has-breadcrumb")]:!!Ie.breadcrumb,[Ue.m("has-extra")]:!!Ie.extra,[Ue.is("contentful")]:!!Ie.default}]);function At(){$e("back")}return(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Dt.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("breadcrumb"))},[renderSlot(Dt.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("back")),role:"button",tabindex:"0",onClick:At},[Dt.icon||Dt.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":Dt.title||unref(Fe)("el.pageHeader.title"),class:normalizeClass(unref(Ue).e("icon"))},[renderSlot(Dt.$slots,"icon",{},()=>[Dt.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Dt.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$w)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},[renderSlot(Dt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Dt.title||unref(Fe)("el.pageHeader.title")),1)])],2)],2),createVNode$1(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Dt.$slots,"content",{},()=>[createTextVNode(toDisplayString(Dt.content),1)])],2)],2),Dt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("extra"))},[renderSlot(Dt.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),Dt.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).e("main"))},[renderSlot(Dt.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$11,[["__file","page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:xe=>xe instanceof MouseEvent},_hoisted_1$v=["disabled","aria-label","aria-disabled"],_hoisted_2$k={key:0},__default__$M=defineComponent({name:"ElPaginationPrev"}),_sfc_main$10=defineComponent({...__default__$M,props:paginationPrevProps,emits:paginationPrevEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage<=1);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(Fe),"aria-label":Ue.prevText||unref(Ie)("el.pagination.prev"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.prevText?(openBlock(),createElementBlock("span",_hoisted_2$k,toDisplayString(Ue.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.prevIcon)))]),_:1}))],8,_hoisted_1$v))}});var Prev=_export_sfc$1(_sfc_main$10,[["__file","prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$u=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$L=defineComponent({name:"ElPaginationNext"}),_sfc_main$$=defineComponent({...__default__$L,props:paginationNextProps,emits:["click"],setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage===$e.pageCount||$e.pageCount===0);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(Fe),"aria-label":Ue.nextText||unref(Ie)("el.pagination.next"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.nextText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString(Ue.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.nextIcon)))]),_:1}))],8,_hoisted_1$u))}});var Next=_export_sfc$1(_sfc_main$$,[["__file","next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1(xe,$e){const Ie=inject(selectKey),Fe=inject(selectGroupKey,{disabled:!1}),Ue=computed(()=>Ie.props.multiple?hn(Ie.props.modelValue,xe.value):hn([Ie.props.modelValue],xe.value)),qe=computed(()=>{if(Ie.props.multiple){const _n=Ie.props.modelValue||[];return!Ue.value&&_n.length>=Ie.props.multipleLimit&&Ie.props.multipleLimit>0}else return!1}),At=computed(()=>xe.label||(isObject$8(xe.value)?"":xe.value)),Dt=computed(()=>xe.value||xe.label||""),Lt=computed(()=>xe.disabled||$e.groupDisabled||qe.value),jt=getCurrentInstance(),hn=(_n=[],wn)=>{if(isObject$8(xe.value)){const kn=Ie.props.valueKey;return _n&&_n.some(Cn=>toRaw(get$1(Cn,kn))===get$1(wn,kn))}else return _n&&_n.includes(wn)},vn=()=>{!xe.disabled&&!Fe.disabled&&(Ie.states.hoveringIndex=Ie.optionsArray.indexOf(jt.proxy))},bn=_n=>{const wn=new RegExp(escapeStringRegexp(_n),"i");$e.visible=wn.test(At.value)||xe.created};return watch(()=>At.value,()=>{!xe.created&&!Ie.props.remote&&Ie.setSelected()}),watch(()=>xe.value,(_n,wn)=>{const{remote:kn,valueKey:Cn}=Ie.props;if(isEqual$1(_n,wn)||(Ie.onOptionDestroy(wn,jt.proxy),Ie.onOptionCreate(jt.proxy)),!xe.created&&!kn){if(Cn&&isObject$8(_n)&&isObject$8(wn)&&_n[Cn]===wn[Cn])return;Ie.setSelected()}}),watch(()=>Fe.disabled,()=>{$e.groupDisabled=Fe.disabled},{immediate:!0}),{select:Ie,currentLabel:At,currentValue:Dt,itemSelected:Ue,isDisabled:Lt,hoverItem:vn,updateOption:bn}}const _sfc_main$_=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=useId(),Fe=computed(()=>[$e.be("dropdown","item"),$e.is("disabled",unref(Dt)),$e.is("selected",unref(At)),$e.is("hovering",unref(bn))]),Ue=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn}=useOption$1(xe,Ue),{visible:vn,hover:bn}=toRefs(Ue),_n=getCurrentInstance().proxy;Lt.onOptionCreate(_n),onBeforeUnmount(()=>{const kn=_n.value,{selected:Cn}=Lt.states,xn=(Lt.props.multiple?Cn:[Cn]).some(En=>En.value===_n.value);nextTick(()=>{Lt.states.cachedOptions.get(kn)===_n&&!xn&&Lt.states.cachedOptions.delete(kn)}),Lt.onOptionDestroy(kn,_n)});function wn(){xe.disabled!==!0&&Ue.groupDisabled!==!0&&Lt.handleOptionSelect(_n)}return{ns:$e,id:Ie,containerKls:Fe,currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn,visible:vn,hover:bn,selectOptionClick:wn,states:Ue}}}),_hoisted_1$t=["id","aria-disabled","aria-selected"];function _sfc_render$b(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("li",{id:xe.id,class:normalizeClass(xe.containerKls),role:"option","aria-disabled":xe.isDisabled||void 0,"aria-selected":xe.itemSelected,onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(xe.currentLabel),1)])],42,_hoisted_1$t)),[[vShow,xe.visible]])}var Option=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$b],["__file","option.vue"]]);const _sfc_main$Z=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const xe=inject(selectKey),$e=useNamespace("select"),Ie=computed(()=>xe.props.popperClass),Fe=computed(()=>xe.props.multiple),Ue=computed(()=>xe.props.fitInputWidth),qe=ref("");function At(){var Dt;qe.value=`${(Dt=xe.selectRef)==null?void 0:Dt.offsetWidth}px`}return onMounted(()=>{At(),useResizeObserver(xe.selectRef,At)}),{ns:$e,minWidth:qe,popperClass:Ie,isMultiple:Fe,isFitInputWidth:Ue}}});function _sfc_render$a(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("dropdown"),xe.ns.is("multiple",xe.isMultiple),xe.popperClass]),style:normalizeStyle$1({[xe.isFitInputWidth?"width":"minWidth"]:xe.minWidth})},[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default"),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu$1=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$a],["__file","select-dropdown.vue"]]);function useInput(xe){const $e=ref(!1);return{handleCompositionStart:()=>{$e.value=!0},handleCompositionUpdate:qe=>{const At=qe.target.value,Dt=At[At.length-1]||"";$e.value=!isKorean(Dt)},handleCompositionEnd:qe=>{$e.value&&($e.value=!1,isFunction$5(xe)&&xe(qe))}}}const MINIMUM_INPUT_WIDTH$1=11,useSelect$2=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useId(),Ue=useNamespace("select"),qe=useNamespace("input"),At=reactive({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:xe.multiple?[]:{},selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(null),bn=ref(null),_n=ref(null),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),{wrapperRef:En,isFocused:Tn,handleFocus:An,handleBlur:$n}=useFocusController(vn,{afterFocus(){xe.automaticDropdown&&!Pn.value&&(Pn.value=!0,At.menuVisibleOnFocus=!0)},beforeBlur(Mr){var Or,yr;return((Or=jt.value)==null?void 0:Or.isFocusInsideContent(Mr))||((yr=hn.value)==null?void 0:yr.isFocusInsideContent(Mr))},afterBlur(){Pn.value=!1,At.menuVisibleOnFocus=!1}}),Pn=ref(!1),Nn=ref(),{form:Mn,formItem:In}=useFormItem(),{inputId:On}=useFormItemInputId(xe,{formItemContext:In}),{valueOnClear:Rn,isEmptyValue:Bn}=useEmptyValues(xe),Vn=computed(()=>xe.disabled||(Mn==null?void 0:Mn.disabled)),Ln=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!Bn(xe.modelValue)),Dn=computed(()=>xe.clearable&&!Vn.value&&At.inputHovering&&Ln.value),Hn=computed(()=>xe.remote&&xe.filterable&&!xe.remoteShowSuffix?"":xe.suffixIcon),Fn=computed(()=>Ue.is("reverse",Hn.value&&Pn.value)),zn=computed(()=>(In==null?void 0:In.validateState)||""),jn=computed(()=>ValidateComponentsMap[zn.value]),Gn=computed(()=>xe.remote?300:0),Wn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!At.inputValue&&At.options.size===0?!1:xe.filterable&&At.inputValue&&At.options.size>0&&Xn.value===0?xe.noMatchText||Ie("el.select.noMatch"):At.options.size===0?xe.noDataText||Ie("el.select.noData"):null),Xn=computed(()=>er.value.filter(Mr=>Mr.visible).length),er=computed(()=>{const Mr=Array.from(At.options.values()),Or=[];return At.optionValues.forEach(yr=>{const so=Mr.findIndex($o=>$o.value===yr);so>-1&&Or.push(Mr[so])}),Or.length>=Mr.length?Or:Mr}),rr=computed(()=>Array.from(At.cachedOptions.values())),Jn=computed(()=>{const Mr=er.value.filter(Or=>!Or.created).some(Or=>Or.currentLabel===At.inputValue);return xe.filterable&&xe.allowCreate&&At.inputValue!==""&&!Mr}),Yn=()=>{xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)||er.value.forEach(Mr=>{var Or;(Or=Mr.updateOption)==null||Or.call(Mr,At.inputValue)})},qn=useFormSize(),ar=computed(()=>["small"].includes(qn.value)?"small":"default"),tr=computed({get(){return Pn.value&&Wn.value!==!1},set(Mr){Pn.value=Mr}}),or=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!At.inputValue:xe.filterable?!At.inputValue:!0),sr=computed(()=>{var Mr;const Or=(Mr=xe.placeholder)!=null?Mr:Ie("el.select.placeholder");return xe.multiple||!Ln.value?Or:At.selectedLabel});watch(()=>xe.modelValue,(Mr,Or)=>{xe.multiple&&xe.filterable&&!xe.reserveKeyword&&(At.inputValue="",Kn("")),nr(),!isEqual$1(Mr,Or)&&xe.validateEvent&&(In==null||In.validate("change").catch(yr=>void 0))},{flush:"post",deep:!0}),watch(()=>Pn.value,Mr=>{Mr?Kn(At.inputValue):(At.inputValue="",At.previousQuery=null,At.isBeforeHide=!0),$e("visible-change",Mr)}),watch(()=>At.options.entries(),()=>{var Mr;if(!isClient$1)return;const Or=((Mr=Dt.value)==null?void 0:Mr.querySelectorAll("input"))||[];(!xe.filterable&&!xe.defaultFirstOption&&!isUndefined(xe.modelValue)||!Array.from(Or).includes(document.activeElement))&&nr(),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value&&Zn()},{flush:"post"}),watch(()=>At.hoveringIndex,Mr=>{isNumber$1(Mr)&&Mr>-1?Nn.value=er.value[Mr]||{}:Nn.value={},er.value.forEach(Or=>{Or.hover=Nn.value===Or})}),watchEffect(()=>{At.isBeforeHide||Yn()});const Kn=Mr=>{At.previousQuery!==Mr&&(At.previousQuery=Mr,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Mr):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Mr),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value?nextTick(Zn):nextTick(ir))},Zn=()=>{const Mr=er.value.filter(so=>so.visible&&!so.disabled&&!so.states.groupDisabled),Or=Mr.find(so=>so.created),yr=Mr[0];At.hoveringIndex=Br(er.value,Or||yr)},nr=()=>{if(xe.multiple)At.selectedLabel="";else{const Or=lr(xe.modelValue);At.selectedLabel=Or.currentLabel,At.selected=Or;return}const Mr=[];isArray$6(xe.modelValue)&&xe.modelValue.forEach(Or=>{Mr.push(lr(Or))}),At.selected=Mr},lr=Mr=>{let Or;const yr=toRawType(Mr).toLowerCase()==="object",so=toRawType(Mr).toLowerCase()==="null",$o=toRawType(Mr).toLowerCase()==="undefined";for(let po=At.cachedOptions.size-1;po>=0;po--){const ro=rr.value[po];if(yr?get$1(ro.value,xe.valueKey)===get$1(Mr,xe.valueKey):ro.value===Mr){Or={value:Mr,currentLabel:ro.currentLabel,get isDisabled(){return ro.isDisabled}};break}}if(Or)return Or;const xo=yr?Mr.label:!so&&!$o?Mr:"";return{value:Mr,currentLabel:xo}},ir=()=>{xe.multiple?At.hoveringIndex=er.value.findIndex(Mr=>At.selected.some(Or=>ko(Or)===ko(Mr))):At.hoveringIndex=er.value.findIndex(Mr=>ko(Mr)===ko(At.selected))},kr=()=>{At.selectionWidth=Lt.value.getBoundingClientRect().width},Cr=()=>{At.calculatorWidth=bn.value.getBoundingClientRect().width},Er=()=>{At.collapseItemWidth=Sn.value.getBoundingClientRect().width},dr=()=>{var Mr,Or;(Or=(Mr=jt.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},br=()=>{var Mr,Or;(Or=(Mr=hn.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},_r=()=>{At.inputValue.length>0&&!Pn.value&&(Pn.value=!0),Kn(At.inputValue)},Pr=Mr=>{if(At.inputValue=Mr.target.value,xe.remote)gr();else return _r()},gr=debounce(()=>{_r()},Gn.value),xr=Mr=>{isEqual$1(xe.modelValue,Mr)||$e(CHANGE_EVENT,Mr)},Rr=Mr=>findLastIndex(Mr,Or=>!At.disabledOptions.has(Or)),Hr=Mr=>{if(xe.multiple&&Mr.code!==EVENT_CODE.delete&&Mr.target.value.length<=0){const Or=xe.modelValue.slice(),yr=Rr(Or);if(yr<0)return;const so=Or[yr];Or.splice(yr,1),$e(UPDATE_MODEL_EVENT,Or),xr(Or),$e("remove-tag",so)}},Jr=(Mr,Or)=>{const yr=At.selected.indexOf(Or);if(yr>-1&&!Vn.value){const so=xe.modelValue.slice();so.splice(yr,1),$e(UPDATE_MODEL_EVENT,so),xr(so),$e("remove-tag",Or.value)}Mr.stopPropagation(),Kr()},Gr=Mr=>{Mr.stopPropagation();const Or=xe.multiple?[]:Rn.value;if(xe.multiple)for(const yr of At.selected)yr.isDisabled&&Or.push(yr.value);$e(UPDATE_MODEL_EVENT,Or),xr(Or),At.hoveringIndex=-1,Pn.value=!1,$e("clear"),Kr()},$r=Mr=>{if(xe.multiple){const Or=(xe.modelValue||[]).slice(),yr=Br(Or,Mr.value);yr>-1?Or.splice(yr,1):(xe.multipleLimit<=0||Or.length{Tr(Mr)})},Br=(Mr=[],Or)=>{if(!isObject$8(Or))return Mr.indexOf(Or);const yr=xe.valueKey;let so=-1;return Mr.some(($o,xo)=>toRaw(get$1($o,yr))===get$1(Or,yr)?(so=xo,!0):!1),so},Tr=Mr=>{var Or,yr,so,$o,xo;const ho=isArray$6(Mr)?Mr[0]:Mr;let po=null;if(ho!=null&&ho.value){const ro=er.value.filter(Yr=>Yr.value===ho.value);ro.length>0&&(po=ro[0].$el)}if(jt.value&&po){const ro=($o=(so=(yr=(Or=jt.value)==null?void 0:Or.popperRef)==null?void 0:yr.contentRef)==null?void 0:so.querySelector)==null?void 0:$o.call(so,`.${Ue.be("dropdown","wrap")}`);ro&&scrollIntoView(ro,po)}(xo=xn.value)==null||xo.handleScroll()},cr=Mr=>{At.options.set(Mr.value,Mr),At.cachedOptions.set(Mr.value,Mr),Mr.disabled&&At.disabledOptions.set(Mr.value,Mr)},Sr=(Mr,Or)=>{At.options.get(Mr)===Or&&At.options.delete(Mr)},{handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr}=useInput(Mr=>Pr(Mr)),zr=computed(()=>{var Mr,Or;return(Or=(Mr=jt.value)==null?void 0:Mr.popperRef)==null?void 0:Or.contentRef}),Vr=()=>{At.isBeforeHide=!1,nextTick(()=>Tr(At.selected))},Kr=()=>{var Mr;(Mr=vn.value)==null||Mr.focus()},qr=()=>{uo()},Ur=Mr=>{Gr(Mr)},uo=Mr=>{if(Pn.value=!1,Tn.value){const Or=new FocusEvent("focus",Mr);nextTick(()=>$n(Or))}},vo=()=>{At.inputValue.length>0?At.inputValue="":Pn.value=!1},_o=()=>{Vn.value||(At.menuVisibleOnFocus?At.menuVisibleOnFocus=!1:Pn.value=!Pn.value)},Ao=()=>{Pn.value?er.value[At.hoveringIndex]&&$r(er.value[At.hoveringIndex]):_o()},ko=Mr=>isObject$8(Mr.value)?get$1(Mr.value,xe.valueKey):Mr.value,Do=computed(()=>er.value.filter(Mr=>Mr.visible).every(Mr=>Mr.disabled)),Ro=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(0,xe.maxCollapseTags):At.selected:[]),Ko=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(xe.maxCollapseTags):[]:[]),qo=Mr=>{if(!Pn.value){Pn.value=!0;return}if(!(At.options.size===0||Xn.value===0)&&!Do.value){Mr==="next"?(At.hoveringIndex++,At.hoveringIndex===At.options.size&&(At.hoveringIndex=0)):Mr==="prev"&&(At.hoveringIndex--,At.hoveringIndex<0&&(At.hoveringIndex=At.options.size-1));const Or=er.value[At.hoveringIndex];(Or.disabled===!0||Or.states.groupDisabled===!0||!Or.visible)&&qo(Mr),nextTick(()=>Tr(Nn.value))}},To=()=>{if(!Lt.value)return 0;const Mr=window.getComputedStyle(Lt.value);return Number.parseFloat(Mr.gap||"6px")},So=computed(()=>{const Mr=To();return{maxWidth:`${Sn.value&&xe.maxCollapseTags===1?At.selectionWidth-At.collapseItemWidth-Mr:At.selectionWidth}px`}}),yo=computed(()=>({maxWidth:`${At.selectionWidth}px`})),Zr=computed(()=>({width:`${Math.max(At.calculatorWidth,MINIMUM_INPUT_WIDTH$1)}px`}));return xe.multiple&&!isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,[]),!xe.multiple&&isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,""),useResizeObserver(Lt,kr),useResizeObserver(bn,Cr),useResizeObserver(kn,dr),useResizeObserver(En,dr),useResizeObserver(Cn,br),useResizeObserver(Sn,Er),onMounted(()=>{nr()}),{inputId:On,contentId:Fe,nsSelect:Ue,nsInput:qe,states:At,isFocused:Tn,expanded:Pn,optionsArray:er,hoverOption:Nn,selectSize:qn,filteredOptionsCount:Xn,resetCalculatorWidth:Cr,updateTooltip:dr,updateTagTooltip:br,debouncedOnInputChange:gr,onInput:Pr,deletePrevTag:Hr,deleteTag:Jr,deleteSelected:Gr,handleOptionSelect:$r,scrollToOption:Tr,hasModelValue:Ln,shouldShowPlaceholder:or,currentPlaceholder:sr,showClose:Dn,iconComponent:Hn,iconReverse:Fn,validateState:zn,validateIcon:jn,showNewOption:Jn,updateOptions:Yn,collapseTagSize:ar,setSelected:nr,selectDisabled:Vn,emptyText:Wn,handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr,onOptionCreate:cr,onOptionDestroy:Sr,handleMenuEnter:Vr,handleFocus:An,focus:Kr,blur:qr,handleBlur:$n,handleClearClick:Ur,handleClickOutside:uo,handleEsc:vo,toggleMenu:_o,selectOption:Ao,getValueKey:ko,navigateOptions:qo,dropdownMenuVisible:tr,showTagList:Ro,collapseTagList:Ko,tagStyle:So,collapseTagStyle:yo,inputStyle:Zr,popperRef:zr,inputRef:vn,tooltipRef:jt,tagTooltipRef:hn,calculatorRef:bn,prefixRef:_n,suffixRef:wn,selectRef:Dt,wrapperRef:En,selectionRef:Lt,scrollbarRef:xn,menuRef:kn,tagMenuRef:Cn,collapseItemRef:Sn}};var ElOptions=defineComponent({name:"ElOptions",setup(xe,{slots:$e}){const Ie=inject(selectKey);let Fe=[];return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];function Lt(jt){isArray$6(jt)&&jt.forEach(hn=>{var vn,bn,_n,wn;const kn=(vn=(hn==null?void 0:hn.type)||{})==null?void 0:vn.name;kn==="ElOptionGroup"?Lt(!isString$4(hn.children)&&!isArray$6(hn.children)&&isFunction$5((bn=hn.children)==null?void 0:bn.default)?(_n=hn.children)==null?void 0:_n.default():hn.children):kn==="ElOption"?Dt.push((wn=hn.props)==null?void 0:wn.value):isArray$6(hn.children)&&Lt(hn.children)})}return At.length&&Lt((qe=At[0])==null?void 0:qe.children),isEqual$1(Dt,Fe)||(Fe=Dt,Ie&&(Ie.states.optionValues=Dt)),At}}});const SelectProps$1=buildProps({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),COMPONENT_NAME$9="ElSelect",_sfc_main$Y=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps$1,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=useSelect$2(xe,$e);return provide(selectKey,reactive({props:xe,states:Ie.states,optionsArray:Ie.optionsArray,handleOptionSelect:Ie.handleOptionSelect,onOptionCreate:Ie.onOptionCreate,onOptionDestroy:Ie.onOptionDestroy,selectRef:Ie.selectRef,setSelected:Ie.setSelected})),{...Ie}}}),_hoisted_1$s=["id","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],_hoisted_2$i=["textContent"],_hoisted_3$9={key:1};function _sfc_render$9(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-option"),hn=resolveComponent("el-options"),vn=resolveComponent("el-scrollbar"),bn=resolveComponent("el-select-menu"),_n=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[16]||($e[16]=wn=>xe.states.inputHovering=!0),onMouseleave:$e[17]||($e[17]=wn=>xe.states.inputHovering=!1),onClick:$e[18]||($e[18]=withModifiers((...wn)=>xe.toggleMenu&&xe.toggleMenu(...wn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,placement:xe.placement,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,pure:"",trigger:"click",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[15]||($e[15]=wn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>{var wn;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.states.selected.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.states.selected.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.collapseTagStyle)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.states.selected.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=kn=>xe.states.inputValue=kn),type:"text",class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,autocomplete:xe.autocomplete,style:normalizeStyle$1(xe.inputStyle),role:"combobox",readonly:!xe.filterable,spellcheck:"false","aria-activedescendant":((wn=xe.hoverOption)==null?void 0:wn.id)||"","aria-controls":xe.contentId,"aria-expanded":xe.dropdownMenuVisible,"aria-label":xe.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:$e[1]||($e[1]=(...kn)=>xe.handleFocus&&xe.handleFocus(...kn)),onBlur:$e[2]||($e[2]=(...kn)=>xe.handleBlur&&xe.handleBlur(...kn)),onKeydown:[$e[3]||($e[3]=withKeys(withModifiers(kn=>xe.navigateOptions("next"),["stop","prevent"]),["down"])),$e[4]||($e[4]=withKeys(withModifiers(kn=>xe.navigateOptions("prev"),["stop","prevent"]),["up"])),$e[5]||($e[5]=withKeys(withModifiers((...kn)=>xe.handleEsc&&xe.handleEsc(...kn),["stop","prevent"]),["esc"])),$e[6]||($e[6]=withKeys(withModifiers((...kn)=>xe.selectOption&&xe.selectOption(...kn),["stop","prevent"]),["enter"])),$e[7]||($e[7]=withKeys(withModifiers((...kn)=>xe.deletePrevTag&&xe.deletePrevTag(...kn),["stop"]),["delete"]))],onCompositionstart:$e[8]||($e[8]=(...kn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...kn)),onCompositionupdate:$e[9]||($e[9]=(...kn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...kn)),onCompositionend:$e[10]||($e[10]=(...kn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...kn)),onInput:$e[11]||($e[11]=(...kn)=>xe.onInput&&xe.onInput(...kn)),onClick:$e[12]||($e[12]=withModifiers((...kn)=>xe.toggleMenu&&xe.toggleMenu(...kn),["stop"]))},null,46,_hoisted_1$s),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$i)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$9,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent&&!xe.showClose?(openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.showClose&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon")]),onClick:xe.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]}),content:withCtx(()=>[createVNode$1(bn,{ref:"menuRef"},{default:withCtx(()=>[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.nsSelect.be("dropdown","header")),onClick:$e[13]||($e[13]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(vn,{id:xe.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":xe.nsSelect.be("dropdown","wrap"),"view-class":xe.nsSelect.be("dropdown","list"),class:normalizeClass([xe.nsSelect.is("empty",xe.filteredOptionsCount===0)]),role:"listbox","aria-label":xe.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[xe.showNewOption?(openBlock(),createBlock(jt,{key:0,value:xe.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode$1(hn,null,{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[vShow,xe.states.options.size>0&&!xe.loading]]),xe.$slots.loading&&xe.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)):xe.loading||xe.filteredOptionsCount===0?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)):createCommentVNode("v-if",!0),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(xe.nsSelect.be("dropdown","footer")),onClick:$e[14]||($e[14]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow"])],34)),[[_n,xe.handleClickOutside,xe.popperRef]])}var Select$1=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$9],["__file","select.vue"]]);const _sfc_main$X=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=ref(null),Fe=getCurrentInstance(),Ue=ref([]);provide(selectGroupKey,reactive({...toRefs(xe)}));const qe=computed(()=>Ue.value.some(jt=>jt.visible===!0)),At=jt=>{var hn,vn;return((hn=jt.type)==null?void 0:hn.name)==="ElOption"&&!!((vn=jt.component)!=null&&vn.proxy)},Dt=jt=>{const hn=castArray$1(jt),vn=[];return hn.forEach(bn=>{var _n,wn;At(bn)?vn.push(bn.component.proxy):(_n=bn.children)!=null&&_n.length?vn.push(...Dt(bn.children)):(wn=bn.component)!=null&&wn.subTree&&vn.push(...Dt(bn.component.subTree))}),vn},Lt=()=>{Ue.value=Dt(Fe.subTree)};return onMounted(()=>{Lt()}),useMutationObserver(Ie,Lt,{attributes:!0,subtree:!0,childList:!0}),{groupRef:Ie,visible:qe,ns:$e}}});function _sfc_render$8(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(xe.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(xe.ns.be("group","title"))},toDisplayString(xe.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(xe.ns.b("group"))},[renderSlot(xe.$slots,"default")],2)])],2)),[[vShow,xe.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$8],["__file","option-group.vue"]]);const ElSelect=withInstall(Select$1,{Option,OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:componentSizes}}),__default__$K=defineComponent({name:"ElPaginationSizes"}),_sfc_main$W=defineComponent({...__default__$K,props:paginationSizesProps,emits:["page-size-change"],setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=usePagination(),At=ref(Ie.pageSize);watch(()=>Ie.pageSizes,(jt,hn)=>{if(!isEqual$1(jt,hn)&&Array.isArray(jt)){const vn=jt.includes(Ie.pageSize)?Ie.pageSize:Ie.pageSizes[0];$e("page-size-change",vn)}}),watch(()=>Ie.pageSize,jt=>{At.value=jt});const Dt=computed(()=>Ie.pageSizes);function Lt(jt){var hn;jt!==At.value&&(At.value=jt,(hn=qe.handleSizeChange)==null||hn.call(qe,Number(jt)))}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("sizes"))},[createVNode$1(unref(ElSelect),{"model-value":At.value,disabled:jt.disabled,"popper-class":jt.popperClass,size:jt.size,teleported:jt.teleported,"validate-event":!1,onChange:Lt},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),vn=>(openBlock(),createBlock(unref(ElOption),{key:vn,value:vn,label:vn+unref(Fe)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var Sizes=_export_sfc$1(_sfc_main$W,[["__file","sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$r=["disabled"],__default__$J=defineComponent({name:"ElPaginationJumper"}),_sfc_main$V=defineComponent({...__default__$J,props:paginationJumperProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{pageCount:Fe,disabled:Ue,currentPage:qe,changeEvent:At}=usePagination(),Dt=ref(),Lt=computed(()=>{var vn;return(vn=Dt.value)!=null?vn:qe==null?void 0:qe.value});function jt(vn){Dt.value=vn?+vn:""}function hn(vn){vn=Math.trunc(+vn),At==null||At(vn),Dt.value=void 0}return(vn,bn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("jump")),disabled:unref(Ue)},[createBaseVNode("span",{class:normalizeClass([unref(Ie).e("goto")])},toDisplayString(unref($e)("el.pagination.goto")),3),createVNode$1(unref(ElInput),{size:vn.size,class:normalizeClass([unref(Ie).e("editor"),unref(Ie).is("in-pagination")]),min:1,max:unref(Fe),disabled:unref(Ue),"model-value":unref(Lt),"validate-event":!1,"aria-label":unref($e)("el.pagination.page"),type:"number","onUpdate:modelValue":jt,onChange:hn},null,8,["size","class","max","disabled","model-value","aria-label"]),createBaseVNode("span",{class:normalizeClass([unref(Ie).e("classifier")])},toDisplayString(unref($e)("el.pagination.pageClassifier")),3)],10,_hoisted_1$r))}});var Jumper=_export_sfc$1(_sfc_main$V,[["__file","jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$q=["disabled"],__default__$I=defineComponent({name:"ElPaginationTotal"}),_sfc_main$U=defineComponent({...__default__$I,props:paginationTotalProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{disabled:Fe}=usePagination();return(Ue,qe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("total")),disabled:unref(Fe)},toDisplayString(unref($e)("el.pagination.total",{total:Ue.total})),11,_hoisted_1$q))}});var Total=_export_sfc$1(_sfc_main$U,[["__file","total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$p=["onKeyup"],_hoisted_2$h=["aria-current","aria-label","tabindex"],_hoisted_3$8=["tabindex","aria-label"],_hoisted_4$5=["aria-current","aria-label","tabindex"],_hoisted_5$4=["tabindex","aria-label"],_hoisted_6$2=["aria-current","aria-label","tabindex"],__default__$H=defineComponent({name:"ElPaginationPager"}),_sfc_main$T=defineComponent({...__default__$H,props:paginationPagerProps,emits:["change"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("pager"),Ue=useNamespace("icon"),{t:qe}=useLocale(),At=ref(!1),Dt=ref(!1),Lt=ref(!1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=computed(()=>{const Tn=Ie.pagerCount,An=(Tn-1)/2,$n=Number(Ie.currentPage),Pn=Number(Ie.pageCount);let Nn=!1,Mn=!1;Pn>Tn&&($n>Tn-An&&(Nn=!0),$n["more","btn-quickprev",Ue.b(),Fe.is("disabled",Ie.disabled)]),wn=computed(()=>["more","btn-quicknext",Ue.b(),Fe.is("disabled",Ie.disabled)]),kn=computed(()=>Ie.disabled?-1:0);watchEffect(()=>{const Tn=(Ie.pagerCount-1)/2;At.value=!1,Dt.value=!1,Ie.pageCount>Ie.pagerCount&&(Ie.currentPage>Ie.pagerCount-Tn&&(At.value=!0),Ie.currentPagePn&&($n=Pn)),$n!==Nn&&$e("change",$n)}return(Tn,An)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(Fe).b()),onClick:En,onKeyup:withKeys(xn,["enter"])},[Tn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===1),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===1,"aria-label":unref(qe)("el.pagination.currentPage",{pager:1}),tabindex:unref(kn)}," 1 ",10,_hoisted_2$h)):createCommentVNode("v-if",!0),At.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(_n)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.prevPages",{pager:Tn.pagerCount-2}),onMouseenter:An[0]||(An[0]=$n=>Cn(!0)),onMouseleave:An[1]||(An[1]=$n=>Lt.value=!1),onFocus:An[2]||(An[2]=$n=>Sn(!0)),onBlur:An[3]||(An[3]=$n=>hn.value=!1)},[(Lt.value||hn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$8)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),$n=>(openBlock(),createElementBlock("li",{key:$n,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===$n),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===$n,"aria-label":unref(qe)("el.pagination.currentPage",{pager:$n}),tabindex:unref(kn)},toDisplayString($n),11,_hoisted_4$5))),128)),Dt.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(wn)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.nextPages",{pager:Tn.pagerCount-2}),onMouseenter:An[4]||(An[4]=$n=>Cn()),onMouseleave:An[5]||(An[5]=$n=>jt.value=!1),onFocus:An[6]||(An[6]=$n=>Sn()),onBlur:An[7]||(An[7]=$n=>vn.value=!1)},[(jt.value||vn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$4)):createCommentVNode("v-if",!0),Tn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===Tn.pageCount),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===Tn.pageCount,"aria-label":unref(qe)("el.pagination.currentPage",{pager:Tn.pageCount}),tabindex:unref(kn)},toDisplayString(Tn.pageCount),11,_hoisted_6$2)):createCommentVNode("v-if",!0)],42,_hoisted_1$p))}});var Pager=_export_sfc$1(_sfc_main$T,[["__file","pager.vue"]]);const isAbsent=xe=>typeof xe!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:xe=>isNumber$1(xe)&&Math.trunc(xe)===xe&&xe>4&&xe<22&&xe%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":xe=>isNumber$1(xe),"update:page-size":xe=>isNumber$1(xe),"size-change":xe=>isNumber$1(xe),change:(xe,$e)=>isNumber$1(xe)&&isNumber$1($e),"current-change":xe=>isNumber$1(xe),"prev-click":xe=>isNumber$1(xe),"next-click":xe=>isNumber$1(xe)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(xe,{emit:$e,slots:Ie}){const{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=getCurrentInstance().vnode.props||{},At="onUpdate:currentPage"in qe||"onUpdate:current-page"in qe||"onCurrentChange"in qe,Dt="onUpdate:pageSize"in qe||"onUpdate:page-size"in qe||"onSizeChange"in qe,Lt=computed(()=>{if(isAbsent(xe.total)&&isAbsent(xe.pageCount)||!isAbsent(xe.currentPage)&&!At)return!1;if(xe.layout.includes("sizes")){if(isAbsent(xe.pageCount)){if(!isAbsent(xe.total)&&!isAbsent(xe.pageSize)&&!Dt)return!1}else if(!Dt)return!1}return!0}),jt=ref(isAbsent(xe.defaultPageSize)?10:xe.defaultPageSize),hn=ref(isAbsent(xe.defaultCurrentPage)?1:xe.defaultCurrentPage),vn=computed({get(){return isAbsent(xe.pageSize)?jt.value:xe.pageSize},set(En){isAbsent(xe.pageSize)&&(jt.value=En),Dt&&($e("update:page-size",En),$e("size-change",En))}}),bn=computed(()=>{let En=0;return isAbsent(xe.pageCount)?isAbsent(xe.total)||(En=Math.max(1,Math.ceil(xe.total/vn.value))):En=xe.pageCount,En}),_n=computed({get(){return isAbsent(xe.currentPage)?hn.value:xe.currentPage},set(En){let Tn=En;En<1?Tn=1:En>bn.value&&(Tn=bn.value),isAbsent(xe.currentPage)&&(hn.value=Tn),At&&($e("update:current-page",Tn),$e("current-change",Tn))}});watch(bn,En=>{_n.value>En&&(_n.value=En)}),watch([_n,vn],En=>{$e("change",...En)},{flush:"post"});function wn(En){_n.value=En}function kn(En){vn.value=En;const Tn=bn.value;_n.value>Tn&&(_n.value=Tn)}function Cn(){xe.disabled||(_n.value-=1,$e("prev-click",_n.value))}function Sn(){xe.disabled||(_n.value+=1,$e("next-click",_n.value))}function xn(En,Tn){En&&(En.props||(En.props={}),En.props.class=[En.props.class,Tn].join(" "))}return provide(elPaginationKey,{pageCount:bn,disabled:computed(()=>xe.disabled),currentPage:_n,changeEvent:wn,handleSizeChange:kn}),()=>{var En,Tn;if(!Lt.value)return Fe("el.pagination.deprecationWarning"),null;if(!xe.layout||xe.hideOnSinglePage&&bn.value<=1)return null;const An=[],$n=[],Pn=h$5("div",{class:Ue.e("rightwrapper")},$n),Nn={prev:h$5(Prev,{disabled:xe.disabled,currentPage:_n.value,prevText:xe.prevText,prevIcon:xe.prevIcon,onClick:Cn}),jumper:h$5(Jumper,{size:xe.small?"small":"default"}),pager:h$5(Pager,{currentPage:_n.value,pageCount:bn.value,pagerCount:xe.pagerCount,onChange:wn,disabled:xe.disabled}),next:h$5(Next,{disabled:xe.disabled,currentPage:_n.value,pageCount:bn.value,nextText:xe.nextText,nextIcon:xe.nextIcon,onClick:Sn}),sizes:h$5(Sizes,{pageSize:vn.value,pageSizes:xe.pageSizes,popperClass:xe.popperClass,disabled:xe.disabled,teleported:xe.teleported,size:xe.small?"small":"default"}),slot:(Tn=(En=Ie==null?void 0:Ie.default)==null?void 0:En.call(Ie))!=null?Tn:null,total:h$5(Total,{total:isAbsent(xe.total)?0:xe.total})},Mn=xe.layout.split(",").map(On=>On.trim());let In=!1;return Mn.forEach(On=>{if(On==="->"){In=!0;return}In?$n.push(Nn[On]):An.push(Nn[On])}),xn(An[0],Ue.is("first")),xn(An[An.length-1],Ue.is("last")),In&&$n.length>0&&(xn($n[0],Ue.is("first")),xn($n[$n.length-1],Ue.is("last")),An.push(Pn)),h$5("div",{class:[Ue.b(),Ue.is("background",xe.background),{[Ue.m("small")]:xe.small}]},An)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150}}),popconfirmEmits={confirm:xe=>xe instanceof MouseEvent,cancel:xe=>xe instanceof MouseEvent},__default__$G=defineComponent({name:"ElPopconfirm"}),_sfc_main$S=defineComponent({...__default__$G,props:popconfirmProps,emits:popconfirmEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("popconfirm"),qe=ref(),At=()=>{var bn,_n;(_n=(bn=qe.value)==null?void 0:bn.onClose)==null||_n.call(bn)},Dt=computed(()=>({width:addUnit(Ie.width)})),Lt=bn=>{$e("confirm",bn),At()},jt=bn=>{$e("cancel",bn),At()},hn=computed(()=>Ie.confirmButtonText||Fe("el.popconfirm.confirmButtonText")),vn=computed(()=>Ie.cancelButtonText||Fe("el.popconfirm.cancelButtonText"));return(bn,_n)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:qe,trigger:"click",effect:"light"},bn.$attrs,{"popper-class":`${unref(Ue).namespace.value}-popover`,"popper-style":unref(Dt),teleported:bn.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":bn.hideAfter,persistent:bn.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("main"))},[!bn.hideIcon&&bn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("icon")),style:normalizeStyle$1({color:bn.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(bn.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("action"))},[createVNode$1(unref(ElButton),{size:"small",type:bn.cancelButtonType==="text"?"":bn.cancelButtonType,text:bn.cancelButtonType==="text",onClick:jt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)),1)]),_:1},8,["type","text"]),createVNode$1(unref(ElButton),{size:"small",type:bn.confirmButtonType==="text"?"":bn.confirmButtonType,text:bn.confirmButtonType==="text",onClick:Lt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(hn)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[bn.$slots.reference?renderSlot(bn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$1(_sfc_main$S,[["__file","popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),popoverEmits={"update:visible":xe=>isBoolean(xe),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$F=defineComponent({name:"ElPopover"}),_sfc_main$R=defineComponent({...__default__$F,props:popoverProps,emits:popoverEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=computed(()=>Fe[updateEventKeyRaw]),qe=useNamespace("popover"),At=ref(),Dt=computed(()=>{var Cn;return(Cn=unref(At))==null?void 0:Cn.popperRef}),Lt=computed(()=>[{width:addUnit(Fe.width)},Fe.popperStyle]),jt=computed(()=>[qe.b(),Fe.popperClass,{[qe.m("plain")]:!!Fe.content}]),hn=computed(()=>Fe.transition===`${qe.namespace.value}-fade-in-linear`),vn=()=>{var Cn;(Cn=At.value)==null||Cn.hide()},bn=()=>{Ie("before-enter")},_n=()=>{Ie("before-leave")},wn=()=>{Ie("after-enter")},kn=()=>{Ie("update:visible",!1),Ie("after-leave")};return $e({popperRef:Dt,hide:vn}),(Cn,Sn)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:At},Cn.$attrs,{trigger:Cn.trigger,placement:Cn.placement,disabled:Cn.disabled,visible:Cn.visible,transition:Cn.transition,"popper-options":Cn.popperOptions,tabindex:Cn.tabindex,content:Cn.content,offset:Cn.offset,"show-after":Cn.showAfter,"hide-after":Cn.hideAfter,"auto-close":Cn.autoClose,"show-arrow":Cn.showArrow,"aria-label":Cn.title,effect:Cn.effect,enterable:Cn.enterable,"popper-class":unref(jt),"popper-style":unref(Lt),teleported:Cn.teleported,persistent:Cn.persistent,"gpu-acceleration":unref(hn),"onUpdate:visible":unref(Ue),onBeforeShow:bn,onBeforeHide:_n,onShow:wn,onHide:kn}),{content:withCtx(()=>[Cn.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("title")),role:"title"},toDisplayString(Cn.title),3)):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default",{},()=>[createTextVNode(toDisplayString(Cn.content),1)])]),default:withCtx(()=>[Cn.$slots.reference?renderSlot(Cn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc$1(_sfc_main$R,[["__file","popover.vue"]]);const attachEvents=(xe,$e)=>{const Ie=$e.arg||$e.value,Fe=Ie==null?void 0:Ie.popperRef;Fe&&(Fe.triggerRef=xe)};var PopoverDirective={mounted(xe,$e){attachEvents(xe,$e)},updated(xe,$e){attachEvents(xe,$e)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:xe=>xe>=0&&xe<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:xe=>`${xe}%`}}),_hoisted_1$o=["aria-valuenow"],_hoisted_2$g={viewBox:"0 0 100 100"},_hoisted_3$7=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$4=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$3={key:0},__default__$E=defineComponent({name:"ElProgress"}),_sfc_main$Q=defineComponent({...__default__$E,props:progressProps,setup(xe){const $e=xe,Ie={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},Fe=useNamespace("progress"),Ue=computed(()=>({width:`${$e.percentage}%`,animationDuration:`${$e.duration}s`,background:xn($e.percentage)})),qe=computed(()=>($e.strokeWidth/$e.width*100).toFixed(1)),At=computed(()=>["circle","dashboard"].includes($e.type)?Number.parseInt(`${50-Number.parseFloat(qe.value)/2}`,10):0),Dt=computed(()=>{const En=At.value,Tn=$e.type==="dashboard";return` + `}else At||(At=window.setTimeout(kn,Dt.config.hoverThreshold))},wn=()=>{At&&(clearTimeout(At),At=null)},kn=()=>{Lt.value&&(Lt.value.innerHTML="",wn())};return{ns:Ie,panel:Dt,hoverZone:Lt,isEmpty:jt,isLoading:hn,menuId:vn,t:Fe,handleExpand:bn,handleMouseMove:_n,clearHoverZone:kn}}});function _sfc_render$s(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-node"),Dt=resolveComponent("loading"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-scrollbar");return openBlock(),createBlock(jt,{key:xe.menuId,tag:"ul",role:"menu",class:normalizeClass(xe.ns.b()),"wrap-class":xe.ns.e("wrap"),"view-class":[xe.ns.e("list"),xe.ns.is("empty",xe.isEmpty)],onMousemove:xe.handleMouseMove,onMouseleave:xe.clearHoverZone},{default:withCtx(()=>{var hn;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.nodes,vn=>(openBlock(),createBlock(At,{key:vn.uid,node:vn,"menu-id":xe.menuId,onExpand:xe.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),xe.isLoading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-text"))},[createVNode$1(Lt,{size:"14",class:normalizeClass(xe.ns.is("loading"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(xe.t("el.cascader.loading")),1)],2)):xe.isEmpty?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString(xe.t("el.cascader.noData")),3)):(hn=xe.panel)!=null&&hn.isHoverMenu?(openBlock(),createElementBlock("svg",{key:2,ref:"hoverZone",class:normalizeClass(xe.ns.e("hover-zone"))},null,2)):createCommentVNode("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ElCascaderMenu=_export_sfc$1(_sfc_main$1P,[["render",_sfc_render$s],["__file","menu.vue"]]);let uid=0;const calculatePathNodes=xe=>{const $e=[xe];let{parent:Ie}=xe;for(;Ie;)$e.unshift(Ie),Ie=Ie.parent;return $e};let Node$2=class Pi{constructor($e,Ie,Fe,Ue=!1){this.data=$e,this.config=Ie,this.parent=Fe,this.root=Ue,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:qe,label:At,children:Dt}=Ie,Lt=$e[Dt],jt=calculatePathNodes(this);this.level=Ue?0:Fe?Fe.level+1:1,this.value=$e[qe],this.label=$e[At],this.pathNodes=jt,this.pathValues=jt.map(hn=>hn.value),this.pathLabels=jt.map(hn=>hn.label),this.childrenData=Lt,this.children=(Lt||[]).map(hn=>new Pi(hn,Ie,this)),this.loaded=!Ie.lazy||this.isLeaf||!isEmpty(Lt)}get isDisabled(){const{data:$e,parent:Ie,config:Fe}=this,{disabled:Ue,checkStrictly:qe}=Fe;return(isFunction$5(Ue)?Ue($e,this):!!$e[Ue])||!qe&&(Ie==null?void 0:Ie.isDisabled)}get isLeaf(){const{data:$e,config:Ie,childrenData:Fe,loaded:Ue}=this,{lazy:qe,leaf:At}=Ie,Dt=isFunction$5(At)?At($e,this):$e[At];return isUndefined(Dt)?qe&&!Ue?!1:!(Array.isArray(Fe)&&Fe.length):!!Dt}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild($e){const{childrenData:Ie,children:Fe}=this,Ue=new Pi($e,this.config,this);return Array.isArray(Ie)?Ie.push($e):this.childrenData=[$e],Fe.push(Ue),Ue}calcText($e,Ie){const Fe=$e?this.pathLabels.join(Ie):this.label;return this.text=Fe,Fe}broadcast($e,...Ie){const Fe=`onParent${capitalize($e)}`;this.children.forEach(Ue=>{Ue&&(Ue.broadcast($e,...Ie),Ue[Fe]&&Ue[Fe](...Ie))})}emit($e,...Ie){const{parent:Fe}=this,Ue=`onChild${capitalize($e)}`;Fe&&(Fe[Ue]&&Fe[Ue](...Ie),Fe.emit($e,...Ie))}onParentCheck($e){this.isDisabled||this.setCheckState($e)}onChildCheck(){const{children:$e}=this,Ie=$e.filter(Ue=>!Ue.isDisabled),Fe=Ie.length?Ie.every(Ue=>Ue.checked):!1;this.setCheckState(Fe)}setCheckState($e){const Ie=this.children.length,Fe=this.children.reduce((Ue,qe)=>{const At=qe.checked?1:qe.indeterminate?.5:0;return Ue+At},0);this.checked=this.loaded&&this.children.filter(Ue=>!Ue.isDisabled).every(Ue=>Ue.loaded&&Ue.checked)&&$e,this.indeterminate=this.loaded&&Fe!==Ie&&Fe>0}doCheck($e){if(this.checked===$e)return;const{checkStrictly:Ie,multiple:Fe}=this.config;Ie||!Fe?this.checked=$e:(this.broadcast("check",$e),this.setCheckState($e),this.emit("check"))}};const flatNodes=(xe,$e)=>xe.reduce((Ie,Fe)=>(Fe.isLeaf?Ie.push(Fe):(!$e&&Ie.push(Fe),Ie=Ie.concat(flatNodes(Fe.children,$e))),Ie),[]);class Store{constructor($e,Ie){this.config=Ie;const Fe=($e||[]).map(Ue=>new Node$2(Ue,this.config));this.nodes=Fe,this.allNodes=flatNodes(Fe,!1),this.leafNodes=flatNodes(Fe,!0)}getNodes(){return this.nodes}getFlattedNodes($e){return $e?this.leafNodes:this.allNodes}appendNode($e,Ie){const Fe=Ie?Ie.appendChild($e):new Node$2($e,this.config);Ie||this.nodes.push(Fe),this.allNodes.push(Fe),Fe.isLeaf&&this.leafNodes.push(Fe)}appendNodes($e,Ie){$e.forEach(Fe=>this.appendNode(Fe,Ie))}getNodeByValue($e,Ie=!1){return!$e&&$e!==0?null:this.getFlattedNodes(Ie).find(Ue=>isEqual$1(Ue.value,$e)||isEqual$1(Ue.pathValues,$e))||null}getSameNode($e){return $e&&this.getFlattedNodes(!1).find(({value:Fe,level:Ue})=>isEqual$1($e.value,Fe)&&$e.level===Ue)||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},useCascaderConfig=xe=>computed(()=>({...DefaultProps,...xe.props})),getMenuIndex=xe=>{if(!xe)return 0;const $e=xe.id.split("-");return Number($e[$e.length-2])},checkNode=xe=>{if(!xe)return;const $e=xe.querySelector("input");$e?$e.click():isLeaf(xe)&&xe.click()},sortByOriginalOrder=(xe,$e)=>{const Ie=$e.slice(0),Fe=Ie.map(qe=>qe.uid),Ue=xe.reduce((qe,At)=>{const Dt=Fe.indexOf(At.uid);return Dt>-1&&(qe.push(At),Ie.splice(Dt,1),Fe.splice(Dt,1)),qe},[]);return Ue.push(...Ie),Ue},_sfc_main$1O=defineComponent({name:"ElCascaderPanel",components:{ElCascaderMenu},props:{...CommonProps,border:{type:Boolean,default:!0},renderLabel:Function},emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"close","expand-change"],setup(xe,{emit:$e,slots:Ie}){let Fe=!1;const Ue=useNamespace("cascader"),qe=useCascaderConfig(xe);let At=null;const Dt=ref(!0),Lt=ref([]),jt=ref(null),hn=ref([]),vn=ref(null),bn=ref([]),_n=computed(()=>qe.value.expandTrigger==="hover"),wn=computed(()=>xe.renderLabel||Ie.default),kn=()=>{const{options:Rn}=xe,Bn=qe.value;Fe=!1,At=new Store(Rn,Bn),hn.value=[At.getNodes()],Bn.lazy&&isEmpty(xe.options)?(Dt.value=!1,Cn(void 0,Vn=>{Vn&&(At=new Store(Vn,Bn),hn.value=[At.getNodes()]),Dt.value=!0,Nn(!1,!0)})):Nn(!1,!0)},Cn=(Rn,Bn)=>{const Vn=qe.value;Rn=Rn||new Node$2({},Vn,void 0,!0),Rn.loading=!0;const Ln=Dn=>{const Hn=Rn,Fn=Hn.root?null:Hn;Dn&&(At==null||At.appendNodes(Dn,Fn)),Hn.loading=!1,Hn.loaded=!0,Hn.childrenData=Hn.childrenData||[],Bn&&Bn(Dn)};Vn.lazyLoad(Rn,Ln)},Sn=(Rn,Bn)=>{var Vn;const{level:Ln}=Rn,Dn=hn.value.slice(0,Ln);let Hn;Rn.isLeaf?Hn=Rn.pathNodes[Ln-2]:(Hn=Rn,Dn.push(Rn.children)),((Vn=vn.value)==null?void 0:Vn.uid)!==(Hn==null?void 0:Hn.uid)&&(vn.value=Rn,hn.value=Dn,!Bn&&$e("expand-change",(Rn==null?void 0:Rn.pathValues)||[]))},xn=(Rn,Bn,Vn=!0)=>{const{checkStrictly:Ln,multiple:Dn}=qe.value,Hn=bn.value[0];Fe=!0,!Dn&&(Hn==null||Hn.doCheck(!1)),Rn.doCheck(Bn),Pn(),Vn&&!Dn&&!Ln&&$e("close"),!Vn&&!Dn&&!Ln&&En(Rn)},En=Rn=>{Rn&&(Rn=Rn.parent,En(Rn),Rn&&Sn(Rn))},Tn=Rn=>At==null?void 0:At.getFlattedNodes(Rn),An=Rn=>{var Bn;return(Bn=Tn(Rn))==null?void 0:Bn.filter(Vn=>Vn.checked!==!1)},$n=()=>{bn.value.forEach(Rn=>Rn.doCheck(!1)),Pn(),hn.value=hn.value.slice(0,1),vn.value=null,$e("expand-change",[])},Pn=()=>{var Rn;const{checkStrictly:Bn,multiple:Vn}=qe.value,Ln=bn.value,Dn=An(!Bn),Hn=sortByOriginalOrder(Ln,Dn),Fn=Hn.map(zn=>zn.valueByOption);bn.value=Hn,jt.value=Vn?Fn:(Rn=Fn[0])!=null?Rn:null},Nn=(Rn=!1,Bn=!1)=>{const{modelValue:Vn}=xe,{lazy:Ln,multiple:Dn,checkStrictly:Hn}=qe.value,Fn=!Hn;if(!(!Dt.value||Fe||!Bn&&isEqual$1(Vn,jt.value)))if(Ln&&!Rn){const jn=unique(flattenDeep(castArray(Vn))).map(Gn=>At==null?void 0:At.getNodeByValue(Gn)).filter(Gn=>!!Gn&&!Gn.loaded&&!Gn.loading);jn.length?jn.forEach(Gn=>{Cn(Gn,()=>Nn(!1,Bn))}):Nn(!0,Bn)}else{const zn=Dn?castArray(Vn):[Vn],jn=unique(zn.map(Gn=>At==null?void 0:At.getNodeByValue(Gn,Fn)));Mn(jn,Bn),jt.value=cloneDeep(Vn)}},Mn=(Rn,Bn=!0)=>{const{checkStrictly:Vn}=qe.value,Ln=bn.value,Dn=Rn.filter(zn=>!!zn&&(Vn||zn.isLeaf)),Hn=At==null?void 0:At.getSameNode(vn.value),Fn=Bn&&Hn||Dn[0];Fn?Fn.pathNodes.forEach(zn=>Sn(zn,!0)):vn.value=null,Ln.forEach(zn=>zn.doCheck(!1)),reactive(Dn).forEach(zn=>zn.doCheck(!0)),bn.value=Dn,nextTick(In)},In=()=>{isClient$1&&Lt.value.forEach(Rn=>{const Bn=Rn==null?void 0:Rn.$el;if(Bn){const Vn=Bn.querySelector(`.${Ue.namespace.value}-scrollbar__wrap`),Ln=Bn.querySelector(`.${Ue.b("node")}.${Ue.is("active")}`)||Bn.querySelector(`.${Ue.b("node")}.in-active-path`);scrollIntoView(Vn,Ln)}})},On=Rn=>{const Bn=Rn.target,{code:Vn}=Rn;switch(Vn){case EVENT_CODE.up:case EVENT_CODE.down:{Rn.preventDefault();const Ln=Vn===EVENT_CODE.up?-1:1;focusNode(getSibling(Bn,Ln,`.${Ue.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)-1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[aria-expanded="true"]`);focusNode(Dn);break}case EVENT_CODE.right:{Rn.preventDefault();const Ln=Lt.value[getMenuIndex(Bn)+1],Dn=Ln==null?void 0:Ln.$el.querySelector(`.${Ue.b("node")}[tabindex="-1"]`);focusNode(Dn);break}case EVENT_CODE.enter:checkNode(Bn);break}};return provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:qe,expandingNode:vn,checkedNodes:bn,isHoverMenu:_n,initialLoaded:Dt,renderLabelFn:wn,lazyLoad:Cn,expandNode:Sn,handleCheckChange:xn})),watch([qe,()=>xe.options],kn,{deep:!0,immediate:!0}),watch(()=>xe.modelValue,()=>{Fe=!1,Nn()},{deep:!0}),watch(()=>jt.value,Rn=>{isEqual$1(Rn,xe.modelValue)||($e(UPDATE_MODEL_EVENT,Rn),$e(CHANGE_EVENT,Rn))}),onBeforeUpdate(()=>Lt.value=[]),onMounted(()=>!isEmpty(xe.modelValue)&&Nn()),{ns:Ue,menuList:Lt,menus:hn,checkedNodes:bn,handleKeyDown:On,handleCheckChange:xn,getFlattedNodes:Tn,getCheckedNodes:An,clearCheckedNodes:$n,calculateCheckedValue:Pn,scrollToExpandingNode:In}}});function _sfc_render$r(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-cascader-menu");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("panel"),xe.ns.is("bordered",xe.border)]),onKeydown:$e[0]||($e[0]=(...Dt)=>xe.handleKeyDown&&xe.handleKeyDown(...Dt))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.menus,(Dt,Lt)=>(openBlock(),createBlock(At,{key:Lt,ref_for:!0,ref:jt=>xe.menuList[Lt]=jt,index:Lt,nodes:[...Dt]},null,8,["index","nodes"]))),128))],34)}var CascaderPanel=_export_sfc$1(_sfc_main$1O,[["render",_sfc_render$r],["__file","index.vue"]]);CascaderPanel.install=xe=>{xe.component(CascaderPanel.name,CascaderPanel)};const _CascaderPanel=CascaderPanel,ElCascaderPanel=_CascaderPanel,tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:xe=>xe instanceof MouseEvent,click:xe=>xe instanceof MouseEvent},__default__$1d=defineComponent({name:"ElTag"}),_sfc_main$1N=defineComponent({...__default__$1d,props:tagProps,emits:tagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useFormSize(),Ue=useNamespace("tag"),qe=computed(()=>{const{type:Lt,hit:jt,effect:hn,closable:vn,round:bn}=Ie;return[Ue.b(),Ue.is("closable",vn),Ue.m(Lt||"primary"),Ue.m(Fe.value),Ue.m(hn),Ue.is("hit",jt),Ue.is("round",bn)]}),At=Lt=>{$e("close",Lt)},Dt=Lt=>{$e("click",Lt)};return(Lt,jt)=>Lt.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(Ue).namespace.value}-zoom-in-center`,appear:""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(qe)),style:normalizeStyle$1({backgroundColor:Lt.color}),onClick:Dt},[createBaseVNode("span",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Lt.$slots,"default")],2),Lt.closable?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("close")),onClick:withModifiers(At,["stop"])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc$1(_sfc_main$1N,[["__file","tag.vue"]]);const ElTag=withInstall(Tag),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:definePropType(Function),default:(xe,$e)=>xe.text.includes($e)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:useTooltipContentProps.teleported,tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},...useEmptyValuesProps}),cascaderEmits={[UPDATE_MODEL_EVENT]:xe=>!0,[CHANGE_EVENT]:xe=>!0,focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent,visibleChange:xe=>isBoolean(xe),expandChange:xe=>!!xe,removeTag:xe=>!!xe},_hoisted_1$T={key:0},_hoisted_2$A=["placeholder","onKeydown"],_hoisted_3$j=["onClick"],COMPONENT_NAME$e="ElCascader",__default__$1c=defineComponent({name:COMPONENT_NAME$e}),_sfc_main$1M=defineComponent({...__default__$1c,props:cascaderProps,emits:cascaderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:cr})=>{const{modifiersData:Sr,placement:Dr}=cr;["right","left","bottom","top"].includes(Dr)||(Sr.arrow.x=35)},requires:["arrow"]}]},qe=useAttrs$1();let At=0,Dt=0;const Lt=useNamespace("cascader"),jt=useNamespace("input"),{t:hn}=useLocale(),{form:vn,formItem:bn}=useFormItem(),{valueOnClear:_n}=useEmptyValues(Fe),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),En=ref(!1),Tn=ref(!1),An=ref(!1),$n=ref(!1),Pn=ref(""),Nn=ref(""),Mn=ref([]),In=ref([]),On=ref([]),Rn=ref(!1),Bn=computed(()=>qe.style),Vn=computed(()=>Fe.disabled||(vn==null?void 0:vn.disabled)),Ln=computed(()=>Fe.placeholder||hn("el.cascader.placeholder")),Dn=computed(()=>Nn.value||Mn.value.length>0||Rn.value?"":Ln.value),Hn=useFormSize(),Fn=computed(()=>["small"].includes(Hn.value)?"small":"default"),zn=computed(()=>!!Fe.props.multiple),jn=computed(()=>!Fe.filterable||zn.value),Gn=computed(()=>zn.value?Nn.value:Pn.value),Wn=computed(()=>{var cr;return((cr=Sn.value)==null?void 0:cr.checkedNodes)||[]}),Xn=computed(()=>!Fe.clearable||Vn.value||An.value||!Tn.value?!1:!!Wn.value.length),er=computed(()=>{const{showAllLevels:cr,separator:Sr}=Fe,Dr=Wn.value;return Dr.length?zn.value?"":Dr[0].calcText(cr,Sr):""}),rr=computed(()=>(bn==null?void 0:bn.validateState)||""),Jn=computed({get(){return cloneDeep(Fe.modelValue)},set(cr){const Sr=cr||_n.value;Ie(UPDATE_MODEL_EVENT,Sr),Ie(CHANGE_EVENT,Sr),Fe.validateEvent&&(bn==null||bn.validate("change").catch(Dr=>void 0))}}),qn=computed(()=>[Lt.b(),Lt.m(Hn.value),Lt.is("disabled",Vn.value),qe.class]),Yn=computed(()=>[jt.e("icon"),"icon-arrow-down",Lt.is("reverse",En.value)]),ar=computed(()=>Lt.is("focus",En.value||$n.value)),tr=computed(()=>{var cr,Sr;return(Sr=(cr=wn.value)==null?void 0:cr.popperRef)==null?void 0:Sr.contentRef}),or=cr=>{var Sr,Dr,mr;Vn.value||(cr=cr??!En.value,cr!==En.value&&(En.value=cr,(Dr=(Sr=kn.value)==null?void 0:Sr.input)==null||Dr.setAttribute("aria-expanded",`${cr}`),cr?(sr(),nextTick((mr=Sn.value)==null?void 0:mr.scrollToExpandingNode)):Fe.filterable&&gr(),Ie("visibleChange",cr)))},sr=()=>{nextTick(()=>{var cr;(cr=wn.value)==null||cr.updatePopper()})},Kn=()=>{An.value=!1},Zn=cr=>{const{showAllLevels:Sr,separator:Dr}=Fe;return{node:cr,key:cr.uid,text:cr.calcText(Sr,Dr),hitState:!1,closable:!Vn.value&&!cr.isDisabled,isCollapseTag:!1}},nr=cr=>{var Sr;const Dr=cr.node;Dr.doCheck(!1),(Sr=Sn.value)==null||Sr.calculateCheckedValue(),Ie("removeTag",Dr.valueByOption)},lr=()=>{if(!zn.value)return;const cr=Wn.value,Sr=[],Dr=[];if(cr.forEach(mr=>Dr.push(Zn(mr))),In.value=Dr,cr.length){cr.slice(0,Fe.maxCollapseTags).forEach(zr=>Sr.push(Zn(zr)));const mr=cr.slice(Fe.maxCollapseTags),Lr=mr.length;Lr&&(Fe.collapseTags?Sr.push({key:-1,text:`+ ${Lr}`,closable:!1,isCollapseTag:!0}):mr.forEach(zr=>Sr.push(Zn(zr))))}Mn.value=Sr},ir=()=>{var cr,Sr;const{filterMethod:Dr,showAllLevels:mr,separator:Lr}=Fe,zr=(Sr=(cr=Sn.value)==null?void 0:cr.getFlattedNodes(!Fe.props.checkStrictly))==null?void 0:Sr.filter(Vr=>Vr.isDisabled?!1:(Vr.calcText(mr,Lr),Dr(Vr,Gn.value)));zn.value&&(Mn.value.forEach(Vr=>{Vr.hitState=!1}),In.value.forEach(Vr=>{Vr.hitState=!1})),An.value=!0,On.value=zr,sr()},kr=()=>{var cr;let Sr;An.value&&xn.value?Sr=xn.value.$el.querySelector(`.${Lt.e("suggestion-item")}`):Sr=(cr=Sn.value)==null?void 0:cr.$el.querySelector(`.${Lt.b("node")}[tabindex="-1"]`),Sr&&(Sr.focus(),!An.value&&Sr.click())},Cr=()=>{var cr,Sr;const Dr=(cr=kn.value)==null?void 0:cr.input,mr=Cn.value,Lr=(Sr=xn.value)==null?void 0:Sr.$el;if(!(!isClient$1||!Dr)){if(Lr){const zr=Lr.querySelector(`.${Lt.e("suggestion-list")}`);zr.style.minWidth=`${Dr.offsetWidth}px`}if(mr){const{offsetHeight:zr}=mr,Vr=Mn.value.length>0?`${Math.max(zr+6,At)}px`:`${At}px`;Dr.style.height=Vr,sr()}}},Er=cr=>{var Sr;return(Sr=Sn.value)==null?void 0:Sr.getCheckedNodes(cr)},dr=cr=>{sr(),Ie("expandChange",cr)},br=cr=>{var Sr;const Dr=(Sr=cr.target)==null?void 0:Sr.value;if(cr.type==="compositionend")Rn.value=!1,nextTick(()=>Br(Dr));else{const mr=Dr[Dr.length-1]||"";Rn.value=!isKorean(mr)}},_r=cr=>{if(!Rn.value)switch(cr.code){case EVENT_CODE.enter:or();break;case EVENT_CODE.down:or(!0),nextTick(kr),cr.preventDefault();break;case EVENT_CODE.esc:En.value===!0&&(cr.preventDefault(),cr.stopPropagation(),or(!1));break;case EVENT_CODE.tab:or(!1);break}},Pr=()=>{var cr;(cr=Sn.value)==null||cr.clearCheckedNodes(),!En.value&&Fe.filterable&&gr(),or(!1)},gr=()=>{const{value:cr}=er;Pn.value=cr,Nn.value=cr},xr=cr=>{var Sr,Dr;const{checked:mr}=cr;zn.value?(Sr=Sn.value)==null||Sr.handleCheckChange(cr,!mr,!1):(!mr&&((Dr=Sn.value)==null||Dr.handleCheckChange(cr,!0,!1)),or(!1))},Rr=cr=>{const Sr=cr.target,{code:Dr}=cr;switch(Dr){case EVENT_CODE.up:case EVENT_CODE.down:{const mr=Dr===EVENT_CODE.up?-1:1;focusNode(getSibling(Sr,mr,`.${Lt.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:Sr.click();break}},Hr=()=>{const cr=Mn.value,Sr=cr[cr.length-1];Dt=Nn.value?0:Dt+1,!(!Sr||!Dt||Fe.collapseTags&&cr.length>1)&&(Sr.hitState?nr(Sr):Sr.hitState=!0)},Jr=cr=>{const Sr=cr.target,Dr=Lt.e("search-input");Sr.className===Dr&&($n.value=!0),Ie("focus",cr)},Gr=cr=>{$n.value=!1,Ie("blur",cr)},$r=debounce(()=>{const{value:cr}=Gn;if(!cr)return;const Sr=Fe.beforeFilter(cr);isPromise(Sr)?Sr.then(ir).catch(()=>{}):Sr!==!1?ir():Kn()},Fe.debounce),Br=(cr,Sr)=>{!En.value&&or(!0),!(Sr!=null&&Sr.isComposing)&&(cr?$r():Kn())},Tr=cr=>Number.parseFloat(useCssVar(jt.cssVarName("input-height"),cr).value)-2;return watch(An,sr),watch([Wn,Vn],lr),watch(Mn,()=>{nextTick(()=>Cr())}),watch(Hn,async()=>{await nextTick();const cr=kn.value.input;At=Tr(cr)||At,Cr()}),watch(er,gr,{immediate:!0}),onMounted(()=>{const cr=kn.value.input,Sr=Tr(cr);At=cr.offsetHeight||Sr,useResizeObserver(cr,Cr)}),$e({getCheckedNodes:Er,cascaderPanelRef:Sn,togglePopperVisible:or,contentRef:tr}),(cr,Sr)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:wn,visible:En.value,teleported:cr.teleported,"popper-class":[unref(Lt).e("dropdown"),cr.popperClass],"popper-options":Ue,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${unref(Lt).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:Kn},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(unref(qn)),style:normalizeStyle$1(unref(Bn)),onClick:Sr[5]||(Sr[5]=()=>or(unref(jn)?void 0:!0)),onKeydown:_r,onMouseenter:Sr[6]||(Sr[6]=Dr=>Tn.value=!0),onMouseleave:Sr[7]||(Sr[7]=Dr=>Tn.value=!1)},[createVNode$1(unref(ElInput),{ref_key:"input",ref:kn,modelValue:Pn.value,"onUpdate:modelValue":Sr[1]||(Sr[1]=Dr=>Pn.value=Dr),placeholder:unref(Dn),readonly:unref(jn),disabled:unref(Vn),"validate-event":!1,size:unref(Hn),class:normalizeClass(unref(ar)),tabindex:unref(zn)&&cr.filterable&&!unref(Vn)?-1:void 0,onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr,onInput:Br},{suffix:withCtx(()=>[unref(Xn)?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(jt).e("icon"),"icon-circle-close"]),onClick:withModifiers(Pr,["stop"])},{default:withCtx(()=>[createVNode$1(unref(circle_close_default))]),_:1},8,["class","onClick"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(unref(Yn)),onClick:Sr[0]||(Sr[0]=withModifiers(Dr=>or(),["stop"]))},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),unref(zn)?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:Cn,class:normalizeClass([unref(Lt).e("tags"),unref(Lt).is("validate",!!unref(rr))])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.value,Dr=>(openBlock(),createBlock(unref(ElTag),{key:Dr.key,type:cr.tagType,size:unref(Fn),hit:Dr.hitState,closable:Dr.closable,"disable-transitions":"",onClose:mr=>nr(Dr)},{default:withCtx(()=>[Dr.isCollapseTag===!1?(openBlock(),createElementBlock("span",_hoisted_1$T,toDisplayString(Dr.text),1)):(openBlock(),createBlock(unref(ElTooltip),{key:1,disabled:En.value||!cr.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(Dr.text),1)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Lt).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(In.value.slice(cr.maxCollapseTags),(mr,Lr)=>(openBlock(),createElementBlock("div",{key:Lr,class:normalizeClass(unref(Lt).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:mr.key,class:"in-tooltip",type:cr.tagType,size:unref(Fn),hit:mr.hitState,closable:mr.closable,"disable-transitions":"",onClose:zr=>nr(mr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(mr.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),cr.filterable&&!unref(Vn)?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":Sr[2]||(Sr[2]=Dr=>Nn.value=Dr),type:"text",class:normalizeClass(unref(Lt).e("search-input")),placeholder:unref(er)?"":unref(Ln),onInput:Sr[3]||(Sr[3]=Dr=>Br(Nn.value,Dr)),onClick:Sr[4]||(Sr[4]=withModifiers(Dr=>or(!0),["stop"])),onKeydown:withKeys(Hr,["delete"]),onCompositionstart:br,onCompositionupdate:br,onCompositionend:br,onFocus:Jr,onBlur:Gr},null,42,_hoisted_2$A)),[[vModelText,Nn.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),()=>or(!1),unref(tr)]])]),content:withCtx(()=>[withDirectives(createVNode$1(unref(_CascaderPanel),{ref_key:"cascaderPanelRef",ref:Sn,modelValue:unref(Jn),"onUpdate:modelValue":Sr[8]||(Sr[8]=Dr=>isRef(Jn)?Jn.value=Dr:null),options:cr.options,props:Fe.props,border:!1,"render-label":cr.$slots.default,onExpandChange:dr,onClose:Sr[9]||(Sr[9]=Dr=>cr.$nextTick(()=>or(!1)))},null,8,["modelValue","options","props","render-label"]),[[vShow,!An.value]]),cr.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:0,ref_key:"suggestionPanel",ref:xn,tag:"ul",class:normalizeClass(unref(Lt).e("suggestion-panel")),"view-class":unref(Lt).e("suggestion-list"),onKeydown:Rr},{default:withCtx(()=>[On.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(On.value,Dr=>(openBlock(),createElementBlock("li",{key:Dr.uid,class:normalizeClass([unref(Lt).e("suggestion-item"),unref(Lt).is("checked",Dr.checked)]),tabindex:-1,onClick:mr=>xr(Dr)},[createBaseVNode("span",null,toDisplayString(Dr.text),1),Dr.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)],10,_hoisted_3$j))),128)):renderSlot(cr.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(Lt).e("empty-text"))},toDisplayString(unref(hn)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,An.value]]):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Cascader=_export_sfc$1(_sfc_main$1M,[["__file","cascader.vue"]]);Cascader.install=xe=>{xe.component(Cascader.name,Cascader)};const _Cascader=Cascader,ElCascader=_Cascader,checkTagProps=buildProps({checked:{type:Boolean,default:!1},type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),checkTagEmits={"update:checked":xe=>isBoolean(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)},__default__$1b=defineComponent({name:"ElCheckTag"}),_sfc_main$1L=defineComponent({...__default__$1b,props:checkTagProps,emits:checkTagEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("check-tag"),Ue=computed(()=>[Fe.b(),Fe.is("checked",Ie.checked),Fe.m(Ie.type||"primary")]),qe=()=>{const At=!Ie.checked;$e(CHANGE_EVENT,At),$e("update:checked",At)};return(At,Dt)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue)),onClick:qe},[renderSlot(At.$slots,"default")],2))}});var CheckTag=_export_sfc$1(_sfc_main$1L,[["__file","check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),rowContextKey=Symbol("rowContextKey"),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),__default__$1a=defineComponent({name:"ElRow"}),_sfc_main$1K=defineComponent({...__default__$1a,props:rowProps,setup(xe){const $e=xe,Ie=useNamespace("row"),Fe=computed(()=>$e.gutter);provide(rowContextKey,{gutter:Fe});const Ue=computed(()=>{const At={};return $e.gutter&&(At.marginRight=At.marginLeft=`-${$e.gutter/2}px`),At}),qe=computed(()=>[Ie.b(),Ie.is(`justify-${$e.justify}`,$e.justify!=="start"),Ie.is(`align-${$e.align}`,!!$e.align)]);return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Row=_export_sfc$1(_sfc_main$1K,[["__file","row.vue"]]);const ElRow=withInstall(Row),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),__default__$19=defineComponent({name:"ElCol"}),_sfc_main$1J=defineComponent({...__default__$19,props:colProps,setup(xe){const $e=xe,{gutter:Ie}=inject(rowContextKey,{gutter:computed(()=>0)}),Fe=useNamespace("col"),Ue=computed(()=>{const At={};return Ie.value&&(At.paddingLeft=At.paddingRight=`${Ie.value/2}px`),At}),qe=computed(()=>{const At=[];return["span","offset","pull","push"].forEach(jt=>{const hn=$e[jt];isNumber$1(hn)&&(jt==="span"?At.push(Fe.b(`${$e[jt]}`)):hn>0&&At.push(Fe.b(`${jt}-${$e[jt]}`)))}),["xs","sm","md","lg","xl"].forEach(jt=>{isNumber$1($e[jt])?At.push(Fe.b(`${jt}-${$e[jt]}`)):isObject$8($e[jt])&&Object.entries($e[jt]).forEach(([hn,vn])=>{At.push(hn!=="span"?Fe.b(`${jt}-${hn}-${vn}`):Fe.b(`${jt}-${vn}`))})}),Ie.value&&At.push(Fe.is("guttered")),[Fe.b(),At]});return(At,Dt)=>(openBlock(),createBlock(resolveDynamicComponent(At.tag),{class:normalizeClass(unref(qe)),style:normalizeStyle$1(unref(Ue))},{default:withCtx(()=>[renderSlot(At.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc$1(_sfc_main$1J,[["__file","col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=xe=>isNumber$1(xe)||isString$4(xe)||isArray$6(xe),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),useCollapse=(xe,$e)=>{const Ie=ref(castArray$1(xe.modelValue)),Fe=qe=>{Ie.value=qe;const At=xe.accordion?Ie.value[0]:Ie.value;$e(UPDATE_MODEL_EVENT,At),$e(CHANGE_EVENT,At)},Ue=qe=>{if(xe.accordion)Fe([Ie.value[0]===qe?"":qe]);else{const At=[...Ie.value],Dt=At.indexOf(qe);Dt>-1?At.splice(Dt,1):At.push(qe),Fe(At)}};return watch(()=>xe.modelValue,()=>Ie.value=castArray$1(xe.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:Ie,handleItemClick:Ue}),{activeNames:Ie,setActiveNames:Fe}},useCollapseDOM=()=>{const xe=useNamespace("collapse");return{rootKls:computed(()=>xe.b())}},__default__$18=defineComponent({name:"ElCollapse"}),_sfc_main$1I=defineComponent({...__default__$18,props:collapseProps,emits:collapseEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{activeNames:Ue,setActiveNames:qe}=useCollapse(Fe,Ie),{rootKls:At}=useCollapseDOM();return $e({activeNames:Ue,setActiveNames:qe}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At))},[renderSlot(Dt.$slots,"default")],2))}});var Collapse=_export_sfc$1(_sfc_main$1I,[["__file","collapse.vue"]]);const __default__$17=defineComponent({name:"ElCollapseTransition"}),_sfc_main$1H=defineComponent({...__default__$17,setup(xe){const $e=useNamespace("collapse-transition"),Ie=Ue=>{Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom},Fe={beforeEnter(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.style.height&&(Ue.dataset.elExistsHeight=Ue.style.height),Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0},enter(Ue){requestAnimationFrame(()=>{Ue.dataset.oldOverflow=Ue.style.overflow,Ue.dataset.elExistsHeight?Ue.style.maxHeight=Ue.dataset.elExistsHeight:Ue.scrollHeight!==0?Ue.style.maxHeight=`${Ue.scrollHeight}px`:Ue.style.maxHeight=0,Ue.style.paddingTop=Ue.dataset.oldPaddingTop,Ue.style.paddingBottom=Ue.dataset.oldPaddingBottom,Ue.style.overflow="hidden"})},afterEnter(Ue){Ue.style.maxHeight="",Ue.style.overflow=Ue.dataset.oldOverflow},enterCancelled(Ue){Ie(Ue)},beforeLeave(Ue){Ue.dataset||(Ue.dataset={}),Ue.dataset.oldPaddingTop=Ue.style.paddingTop,Ue.dataset.oldPaddingBottom=Ue.style.paddingBottom,Ue.dataset.oldOverflow=Ue.style.overflow,Ue.style.maxHeight=`${Ue.scrollHeight}px`,Ue.style.overflow="hidden"},leave(Ue){Ue.scrollHeight!==0&&(Ue.style.maxHeight=0,Ue.style.paddingTop=0,Ue.style.paddingBottom=0)},afterLeave(Ue){Ie(Ue)},leaveCancelled(Ue){Ie(Ue)}};return(Ue,qe)=>(openBlock(),createBlock(Transition,mergeProps({name:unref($e).b()},toHandlers(Fe)),{default:withCtx(()=>[renderSlot(Ue.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc$1(_sfc_main$1H,[["__file","collapse-transition.vue"]]);CollapseTransition.install=xe=>{xe.component(CollapseTransition.name,CollapseTransition)};const _CollapseTransition=CollapseTransition,ElCollapseTransition=_CollapseTransition,collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:void 0},disabled:Boolean}),useCollapseItem=xe=>{const $e=inject(collapseContextKey),{namespace:Ie}=useNamespace("collapse"),Fe=ref(!1),Ue=ref(!1),qe=useIdInjection(),At=computed(()=>qe.current++),Dt=computed(()=>{var bn;return(bn=xe.name)!=null?bn:`${Ie.value}-id-${qe.prefix}-${unref(At)}`}),Lt=computed(()=>$e==null?void 0:$e.activeNames.value.includes(unref(Dt)));return{focusing:Fe,id:At,isActive:Lt,handleFocus:()=>{setTimeout(()=>{Ue.value?Ue.value=!1:Fe.value=!0},50)},handleHeaderClick:()=>{xe.disabled||($e==null||$e.handleItemClick(unref(Dt)),Fe.value=!1,Ue.value=!0)},handleEnterClick:()=>{$e==null||$e.handleItemClick(unref(Dt))}}},useCollapseItemDOM=(xe,{focusing:$e,isActive:Ie,id:Fe})=>{const Ue=useNamespace("collapse"),qe=computed(()=>[Ue.b("item"),Ue.is("active",unref(Ie)),Ue.is("disabled",xe.disabled)]),At=computed(()=>[Ue.be("item","header"),Ue.is("active",unref(Ie)),{focusing:unref($e)&&!xe.disabled}]),Dt=computed(()=>[Ue.be("item","arrow"),Ue.is("active",unref(Ie))]),Lt=computed(()=>Ue.be("item","wrap")),jt=computed(()=>Ue.be("item","content")),hn=computed(()=>Ue.b(`content-${unref(Fe)}`)),vn=computed(()=>Ue.b(`head-${unref(Fe)}`));return{arrowKls:Dt,headKls:At,rootKls:qe,itemWrapperKls:Lt,itemContentKls:jt,scopedContentId:hn,scopedHeadId:vn}},_hoisted_1$S=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],_hoisted_2$z=["id","aria-hidden","aria-labelledby"],__default__$16=defineComponent({name:"ElCollapseItem"}),_sfc_main$1G=defineComponent({...__default__$16,props:collapseItemProps,setup(xe,{expose:$e}){const Ie=xe,{focusing:Fe,id:Ue,isActive:qe,handleFocus:At,handleHeaderClick:Dt,handleEnterClick:Lt}=useCollapseItem(Ie),{arrowKls:jt,headKls:hn,rootKls:vn,itemWrapperKls:bn,itemContentKls:_n,scopedContentId:wn,scopedHeadId:kn}=useCollapseItemDOM(Ie,{focusing:Fe,isActive:qe,id:Ue});return $e({isActive:qe}),(Cn,Sn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(vn))},[createBaseVNode("button",{id:unref(kn),class:normalizeClass(unref(hn)),"aria-expanded":unref(qe),"aria-controls":unref(wn),"aria-describedby":unref(wn),tabindex:Cn.disabled?-1:0,type:"button",onClick:Sn[0]||(Sn[0]=(...xn)=>unref(Dt)&&unref(Dt)(...xn)),onKeydown:Sn[1]||(Sn[1]=withKeys(withModifiers((...xn)=>unref(Lt)&&unref(Lt)(...xn),["stop","prevent"]),["space","enter"])),onFocus:Sn[2]||(Sn[2]=(...xn)=>unref(At)&&unref(At)(...xn)),onBlur:Sn[3]||(Sn[3]=xn=>Fe.value=!1)},[renderSlot(Cn.$slots,"title",{},()=>[createTextVNode(toDisplayString(Cn.title),1)]),createVNode$1(unref(ElIcon),{class:normalizeClass(unref(jt))},{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1},8,["class"])],42,_hoisted_1$S),createVNode$1(unref(_CollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(wn),role:"region",class:normalizeClass(unref(bn)),"aria-hidden":!unref(qe),"aria-labelledby":unref(kn)},[createBaseVNode("div",{class:normalizeClass(unref(_n))},[renderSlot(Cn.$slots,"default")],2)],10,_hoisted_2$z),[[vShow,unref(qe)]])]),_:3})],2))}});var CollapseItem=_export_sfc$1(_sfc_main$1G,[["__file","collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:{type:Boolean,default:!1}});let isDragging=!1;function draggable(xe,$e){if(!isClient$1)return;const Ie=function(qe){var At;(At=$e.drag)==null||At.call($e,qe)},Fe=function(qe){var At;document.removeEventListener("mousemove",Ie),document.removeEventListener("mouseup",Fe),document.removeEventListener("touchmove",Ie),document.removeEventListener("touchend",Fe),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(At=$e.end)==null||At.call($e,qe)},Ue=function(qe){var At;isDragging||(qe.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",Ie),document.addEventListener("mouseup",Fe),document.addEventListener("touchmove",Ie),document.addEventListener("touchend",Fe),isDragging=!0,(At=$e.start)==null||At.call($e,qe))};xe.addEventListener("mousedown",Ue),xe.addEventListener("touchstart",Ue)}const useAlphaSlider=xe=>{const $e=getCurrentInstance(),Ie=shallowRef(),Fe=shallowRef();function Ue(At){At.target!==Ie.value&&qe(At)}function qe(At){if(!Fe.value||!Ie.value)return;const Lt=$e.vnode.el.getBoundingClientRect(),{clientX:jt,clientY:hn}=getClientXY(At);if(xe.vertical){let vn=hn-Lt.top;vn=Math.max(Ie.value.offsetHeight/2,vn),vn=Math.min(vn,Lt.height-Ie.value.offsetHeight/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetHeight/2)/(Lt.height-Ie.value.offsetHeight)*100))}else{let vn=jt-Lt.left;vn=Math.max(Ie.value.offsetWidth/2,vn),vn=Math.min(vn,Lt.width-Ie.value.offsetWidth/2),xe.color.set("alpha",Math.round((vn-Ie.value.offsetWidth/2)/(Lt.width-Ie.value.offsetWidth)*100))}}return{thumb:Ie,bar:Fe,handleDrag:qe,handleClick:Ue}},useAlphaSliderDOM=(xe,{bar:$e,thumb:Ie,handleDrag:Fe})=>{const Ue=getCurrentInstance(),qe=useNamespace("color-alpha-slider"),At=ref(0),Dt=ref(0),Lt=ref();function jt(){if(!Ie.value||xe.vertical)return 0;const xn=Ue.vnode.el,En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetWidth-Ie.value.offsetWidth/2)/100):0}function hn(){if(!Ie.value)return 0;const xn=Ue.vnode.el;if(!xe.vertical)return 0;const En=xe.color.get("alpha");return xn?Math.round(En*(xn.offsetHeight-Ie.value.offsetHeight/2)/100):0}function vn(){if(xe.color&&xe.color.value){const{r:xn,g:En,b:Tn}=xe.color.toRgb();return`linear-gradient(to right, rgba(${xn}, ${En}, ${Tn}, 0) 0%, rgba(${xn}, ${En}, ${Tn}, 1) 100%)`}return""}function bn(){At.value=jt(),Dt.value=hn(),Lt.value=vn()}onMounted(()=>{if(!$e.value||!Ie.value)return;const xn={drag:En=>{Fe(En)},end:En=>{Fe(En)}};draggable($e.value,xn),draggable(Ie.value,xn),bn()}),watch(()=>xe.color.get("alpha"),()=>bn()),watch(()=>xe.color.value,()=>bn());const _n=computed(()=>[qe.b(),qe.is("vertical",xe.vertical)]),wn=computed(()=>qe.e("bar")),kn=computed(()=>qe.e("thumb")),Cn=computed(()=>({background:Lt.value})),Sn=computed(()=>({left:addUnit(At.value),top:addUnit(Dt.value)}));return{rootKls:_n,barKls:wn,barStyle:Cn,thumbKls:kn,thumbStyle:Sn,update:bn}},COMPONENT_NAME$d="ElColorAlphaSlider",__default__$15=defineComponent({name:COMPONENT_NAME$d}),_sfc_main$1F=defineComponent({...__default__$15,props:alphaSliderProps,setup(xe,{expose:$e}){const Ie=xe,{bar:Fe,thumb:Ue,handleDrag:qe,handleClick:At}=useAlphaSlider(Ie),{rootKls:Dt,barKls:Lt,barStyle:jt,thumbKls:hn,thumbStyle:vn,update:bn}=useAlphaSliderDOM(Ie,{bar:Fe,thumb:Ue,handleDrag:qe});return $e({update:bn,bar:Fe,thumb:Ue}),(_n,wn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt))},[createBaseVNode("div",{ref_key:"bar",ref:Fe,class:normalizeClass(unref(Lt)),style:normalizeStyle$1(unref(jt)),onClick:wn[0]||(wn[0]=(...kn)=>unref(At)&&unref(At)(...kn))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:Ue,class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(vn))},null,6)],2))}});var AlphaSlider=_export_sfc$1(_sfc_main$1F,[["__file","alpha-slider.vue"]]);const _sfc_main$1E=defineComponent({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(xe){const $e=useNamespace("color-hue-slider"),Ie=getCurrentInstance(),Fe=ref(),Ue=ref(),qe=ref(0),At=ref(0),Dt=computed(()=>xe.color.get("hue"));watch(()=>Dt.value,()=>{bn()});function Lt(_n){_n.target!==Fe.value&&jt(_n)}function jt(_n){if(!Ue.value||!Fe.value)return;const kn=Ie.vnode.el.getBoundingClientRect(),{clientX:Cn,clientY:Sn}=getClientXY(_n);let xn;if(xe.vertical){let En=Sn-kn.top;En=Math.min(En,kn.height-Fe.value.offsetHeight/2),En=Math.max(Fe.value.offsetHeight/2,En),xn=Math.round((En-Fe.value.offsetHeight/2)/(kn.height-Fe.value.offsetHeight)*360)}else{let En=Cn-kn.left;En=Math.min(En,kn.width-Fe.value.offsetWidth/2),En=Math.max(Fe.value.offsetWidth/2,En),xn=Math.round((En-Fe.value.offsetWidth/2)/(kn.width-Fe.value.offsetWidth)*360)}xe.color.set("hue",xn)}function hn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetWidth-Fe.value.offsetWidth/2)/360):0}function vn(){if(!Fe.value)return 0;const _n=Ie.vnode.el;if(!xe.vertical)return 0;const wn=xe.color.get("hue");return _n?Math.round(wn*(_n.offsetHeight-Fe.value.offsetHeight/2)/360):0}function bn(){qe.value=hn(),At.value=vn()}return onMounted(()=>{if(!Ue.value||!Fe.value)return;const _n={drag:wn=>{jt(wn)},end:wn=>{jt(wn)}};draggable(Ue.value,_n),draggable(Fe.value,_n),bn()}),{bar:Ue,thumb:Fe,thumbLeft:qe,thumbTop:At,hueValue:Dt,handleClick:Lt,update:bn,ns:$e}}});function _sfc_render$q(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("vertical",xe.vertical)])},[createBaseVNode("div",{ref:"bar",class:normalizeClass(xe.ns.e("bar")),onClick:$e[0]||($e[0]=(...At)=>xe.handleClick&&xe.handleClick(...At))},null,2),createBaseVNode("div",{ref:"thumb",class:normalizeClass(xe.ns.e("thumb")),style:normalizeStyle$1({left:xe.thumbLeft+"px",top:xe.thumbTop+"px"})},null,6)],2)}var HueSlider=_export_sfc$1(_sfc_main$1E,[["render",_sfc_render$q],["__file","hue-slider.vue"]]);const colorPickerProps=buildProps({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:useSizeProp,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},teleported:useTooltipContentProps.teleported,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNil(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNil(xe),activeChange:xe=>isString$4(xe)||isNil(xe),focus:xe=>xe instanceof FocusEvent,blur:xe=>xe instanceof FocusEvent},colorPickerContextKey=Symbol("colorPickerContextKey"),hsv2hsl=function(xe,$e,Ie){return[xe,$e*Ie/((xe=(2-$e)*Ie)<1?xe:2-xe)||0,xe/2]},isOnePointZero=function(xe){return typeof xe=="string"&&xe.includes(".")&&Number.parseFloat(xe)===1},isPercentage=function(xe){return typeof xe=="string"&&xe.includes("%")},bound01=function(xe,$e){isOnePointZero(xe)&&(xe="100%");const Ie=isPercentage(xe);return xe=Math.min($e,Math.max(0,Number.parseFloat(`${xe}`))),Ie&&(xe=Number.parseInt(`${xe*$e}`,10)/100),Math.abs(xe-$e)<1e-6?1:xe%$e/Number.parseFloat($e)},INT_HEX_MAP={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},hexOne=xe=>{xe=Math.min(Math.round(xe),255);const $e=Math.floor(xe/16),Ie=xe%16;return`${INT_HEX_MAP[$e]||$e}${INT_HEX_MAP[Ie]||Ie}`},toHex=function({r:xe,g:$e,b:Ie}){return Number.isNaN(+xe)||Number.isNaN(+$e)||Number.isNaN(+Ie)?"":`#${hexOne(xe)}${hexOne($e)}${hexOne(Ie)}`},HEX_INT_MAP={A:10,B:11,C:12,D:13,E:14,F:15},parseHexChannel=function(xe){return xe.length===2?(HEX_INT_MAP[xe[0].toUpperCase()]||+xe[0])*16+(HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]):HEX_INT_MAP[xe[1].toUpperCase()]||+xe[1]},hsl2hsv=function(xe,$e,Ie){$e=$e/100,Ie=Ie/100;let Fe=$e;const Ue=Math.max(Ie,.01);Ie*=2,$e*=Ie<=1?Ie:2-Ie,Fe*=Ue<=1?Ue:2-Ue;const qe=(Ie+$e)/2,At=Ie===0?2*Fe/(Ue+Fe):2*$e/(Ie+$e);return{h:xe,s:At*100,v:qe*100}},rgb2hsv=(xe,$e,Ie)=>{xe=bound01(xe,255),$e=bound01($e,255),Ie=bound01(Ie,255);const Fe=Math.max(xe,$e,Ie),Ue=Math.min(xe,$e,Ie);let qe;const At=Fe,Dt=Fe-Ue,Lt=Fe===0?0:Dt/Fe;if(Fe===Ue)qe=0;else{switch(Fe){case xe:{qe=($e-Ie)/Dt+($e{this._hue=Math.max(0,Math.min(360,Fe)),this._saturation=Math.max(0,Math.min(100,Ue)),this._value=Math.max(0,Math.min(100,qe)),this.doOnChange()};if($e.includes("hsl")){const Fe=$e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=hsl2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("hsv")){const Fe=$e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3&&Ie(Fe[0],Fe[1],Fe[2])}else if($e.includes("rgb")){const Fe=$e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(Ue=>Ue!=="").map((Ue,qe)=>qe>2?Number.parseFloat(Ue):Number.parseInt(Ue,10));if(Fe.length===4?this._alpha=Number.parseFloat(Fe[3])*100:Fe.length===3&&(this._alpha=100),Fe.length>=3){const{h:Ue,s:qe,v:At}=rgb2hsv(Fe[0],Fe[1],Fe[2]);Ie(Ue,qe,At)}}else if($e.includes("#")){const Fe=$e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(Fe))return;let Ue,qe,At;Fe.length===3?(Ue=parseHexChannel(Fe[0]+Fe[0]),qe=parseHexChannel(Fe[1]+Fe[1]),At=parseHexChannel(Fe[2]+Fe[2])):(Fe.length===6||Fe.length===8)&&(Ue=parseHexChannel(Fe.slice(0,2)),qe=parseHexChannel(Fe.slice(2,4)),At=parseHexChannel(Fe.slice(4,6))),Fe.length===8?this._alpha=parseHexChannel(Fe.slice(6))/255*100:(Fe.length===3||Fe.length===6)&&(this._alpha=100);const{h:Dt,s:Lt,v:jt}=rgb2hsv(Ue,qe,At);Ie(Dt,Lt,jt)}}compare($e){return Math.abs($e._hue-this._hue)<2&&Math.abs($e._saturation-this._saturation)<1&&Math.abs($e._value-this._value)<1&&Math.abs($e._alpha-this._alpha)<1}doOnChange(){const{_hue:$e,_saturation:Ie,_value:Fe,_alpha:Ue,format:qe}=this;if(this.enableAlpha)switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsla(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${toHex(hsv2rgb($e,Ie,Fe))}${hexOne(Ue*255/100)}`;break}default:{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgba(${At}, ${Dt}, ${Lt}, ${this.get("alpha")/100})`}}else switch(qe){case"hsl":{const At=hsv2hsl($e,Ie/100,Fe/100);this.value=`hsl(${$e}, ${Math.round(At[1]*100)}%, ${Math.round(At[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${$e}, ${Math.round(Ie)}%, ${Math.round(Fe)}%)`;break}case"rgb":{const{r:At,g:Dt,b:Lt}=hsv2rgb($e,Ie,Fe);this.value=`rgb(${At}, ${Dt}, ${Lt})`;break}default:this.value=toHex(hsv2rgb($e,Ie,Fe))}}}const _sfc_main$1D=defineComponent({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-predefine"),{currentColor:Ie}=inject(colorPickerContextKey),Fe=ref(qe(xe.colors,xe.color));watch(()=>Ie.value,At=>{const Dt=new Color;Dt.fromString(At),Fe.value.forEach(Lt=>{Lt.selected=Dt.compare(Lt)})}),watchEffect(()=>{Fe.value=qe(xe.colors,xe.color)});function Ue(At){xe.color.fromString(xe.colors[At])}function qe(At,Dt){return At.map(Lt=>{const jt=new Color;return jt.enableAlpha=!0,jt.format="rgba",jt.fromString(Lt),jt.selected=jt.value===Dt.value,jt})}return{rgbaColors:Fe,handleSelect:Ue,ns:$e}}}),_hoisted_1$R=["onClick"];function _sfc_render$p(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("colors"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.rgbaColors,(At,Dt)=>(openBlock(),createElementBlock("div",{key:xe.colors[Dt],class:normalizeClass([xe.ns.e("color-selector"),xe.ns.is("alpha",At._alpha<100),{selected:At.selected}]),onClick:Lt=>xe.handleSelect(Dt)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:At.value})},null,4)],10,_hoisted_1$R))),128))],2)],2)}var Predefine=_export_sfc$1(_sfc_main$1D,[["render",_sfc_render$p],["__file","predefine.vue"]]);const _sfc_main$1C=defineComponent({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(xe){const $e=useNamespace("color-svpanel"),Ie=getCurrentInstance(),Fe=ref(0),Ue=ref(0),qe=ref("hsl(0, 100%, 50%)"),At=computed(()=>{const jt=xe.color.get("hue"),hn=xe.color.get("value");return{hue:jt,value:hn}});function Dt(){const jt=xe.color.get("saturation"),hn=xe.color.get("value"),vn=Ie.vnode.el,{clientWidth:bn,clientHeight:_n}=vn;Ue.value=jt*bn/100,Fe.value=(100-hn)*_n/100,qe.value=`hsl(${xe.color.get("hue")}, 100%, 50%)`}function Lt(jt){const vn=Ie.vnode.el.getBoundingClientRect(),{clientX:bn,clientY:_n}=getClientXY(jt);let wn=bn-vn.left,kn=_n-vn.top;wn=Math.max(0,wn),wn=Math.min(wn,vn.width),kn=Math.max(0,kn),kn=Math.min(kn,vn.height),Ue.value=wn,Fe.value=kn,xe.color.set({saturation:wn/vn.width*100,value:100-kn/vn.height*100})}return watch(()=>At.value,()=>{Dt()}),onMounted(()=>{draggable(Ie.vnode.el,{drag:jt=>{Lt(jt)},end:jt=>{Lt(jt)}}),Dt()}),{cursorTop:Fe,cursorLeft:Ue,background:qe,colorValue:At,handleDrag:Lt,update:Dt,ns:$e}}}),_hoisted_1$Q=createBaseVNode("div",null,null,-1),_hoisted_2$y=[_hoisted_1$Q];function _sfc_render$o(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.b()),style:normalizeStyle$1({backgroundColor:xe.background})},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("white"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("black"))},null,2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("cursor")),style:normalizeStyle$1({top:xe.cursorTop+"px",left:xe.cursorLeft+"px"})},_hoisted_2$y,6)],6)}var SvPanel=_export_sfc$1(_sfc_main$1C,[["render",_sfc_render$o],["__file","sv-panel.vue"]]);const _hoisted_1$P=["onKeydown"],_hoisted_2$x=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],__default__$14=defineComponent({name:"ElColorPicker"}),_sfc_main$1B=defineComponent({...__default__$14,props:colorPickerProps,emits:colorPickerEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("color"),{formItem:At}=useFormItem(),Dt=useFormSize(),Lt=useFormDisabled(),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(),bn=ref(),_n=ref(),wn=ref(),kn=ref(),Cn=ref(),{isFocused:Sn,handleFocus:xn,handleBlur:En}=useFocusController(kn,{beforeBlur(tr){var or;return(or=wn.value)==null?void 0:or.isFocusInsideContent(tr)},afterBlur(){Dn(!1),jn()}}),Tn=tr=>{if(Lt.value)return ar();xn(tr)};let An=!0;const $n=reactive(new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue})),Pn=ref(!1),Nn=ref(!1),Mn=ref(""),In=computed(()=>!Fe.modelValue&&!Nn.value?"transparent":Ln($n,Fe.showAlpha)),On=computed(()=>!Fe.modelValue&&!Nn.value?"":$n.value),Rn=computed(()=>hn.value?void 0:Fe.label||Fe.ariaLabel||Ue("el.colorpicker.defaultLabel"));useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-color-picker",ref:"https://element-plus.org/en-US/component/color-picker.html"},computed(()=>!!Fe.label));const Bn=computed(()=>hn.value?At==null?void 0:At.labelId:void 0),Vn=computed(()=>[qe.b("picker"),qe.is("disabled",Lt.value),qe.bm("picker",Dt.value),qe.is("focused",Sn.value)]);function Ln(tr,or){if(!(tr instanceof Color))throw new TypeError("color should be instance of _color Class");const{r:sr,g:Kn,b:Zn}=tr.toRgb();return or?`rgba(${sr}, ${Kn}, ${Zn}, ${tr.get("alpha")/100})`:`rgb(${sr}, ${Kn}, ${Zn})`}function Dn(tr){Pn.value=tr}const Hn=debounce(Dn,100,{leading:!0});function Fn(){Lt.value||Dn(!0)}function zn(){Hn(!1),jn()}function jn(){nextTick(()=>{Fe.modelValue?$n.fromString(Fe.modelValue):($n.value="",nextTick(()=>{Nn.value=!1}))})}function Gn(){Lt.value||Hn(!Pn.value)}function Wn(){$n.fromString(Mn.value)}function Xn(){const tr=$n.value;Ie(UPDATE_MODEL_EVENT,tr),Ie("change",tr),Fe.validateEvent&&(At==null||At.validate("change").catch(or=>void 0)),Hn(!1),nextTick(()=>{const or=new Color({enableAlpha:Fe.showAlpha,format:Fe.colorFormat||"",value:Fe.modelValue});$n.compare(or)||jn()})}function er(){Hn(!1),Ie(UPDATE_MODEL_EVENT,null),Ie("change",null),Fe.modelValue!==null&&Fe.validateEvent&&(At==null||At.validate("change").catch(tr=>void 0)),jn()}function rr(tr){if(Pn.value&&(zn(),Sn.value)){const or=new FocusEvent("focus",tr);En(or)}}function Jn(tr){tr.preventDefault(),tr.stopPropagation(),Dn(!1),jn()}function qn(tr){switch(tr.code){case EVENT_CODE.enter:case EVENT_CODE.space:tr.preventDefault(),tr.stopPropagation(),Fn(),Cn.value.focus();break;case EVENT_CODE.esc:Jn(tr);break}}function Yn(){kn.value.focus()}function ar(){kn.value.blur()}return onMounted(()=>{Fe.modelValue&&(Mn.value=On.value)}),watch(()=>Fe.modelValue,tr=>{tr?tr&&tr!==$n.value&&(An=!1,$n.fromString(tr)):Nn.value=!1}),watch(()=>On.value,tr=>{Mn.value=tr,An&&Ie("activeChange",tr),An=!0}),watch(()=>$n.value,()=>{!Fe.modelValue&&!Nn.value&&(Nn.value=!0)}),watch(()=>Pn.value,()=>{nextTick(()=>{var tr,or,sr;(tr=vn.value)==null||tr.update(),(or=bn.value)==null||or.update(),(sr=_n.value)==null||sr.update()})}),provide(colorPickerContextKey,{currentColor:On}),$e({color:$n,show:Fn,hide:zn,focus:Yn,blur:ar}),(tr,or)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:wn,visible:Pn.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(qe).be("picker","panel"),unref(qe).b("dropdown"),tr.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:tr.teleported,transition:`${unref(qe).namespace.value}-zoom-in-top`,persistent:"",onHide:or[2]||(or[2]=sr=>Dn(!1))},{content:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{onKeydown:withKeys(Jn,["esc"])},[createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","main-wrapper"))},[createVNode$1(HueSlider,{ref_key:"hue",ref:vn,class:"hue-slider",color:unref($n),vertical:""},null,8,["color"]),createVNode$1(SvPanel,{ref_key:"sv",ref:bn,color:unref($n)},null,8,["color"])],2),tr.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alpha",ref:_n,color:unref($n)},null,8,["color"])):createCommentVNode("v-if",!0),tr.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine",color:unref($n),colors:tr.predefine},null,8,["color","colors"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("dropdown","btns"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("dropdown","value"))},[createVNode$1(unref(ElInput),{ref_key:"inputRef",ref:Cn,modelValue:Mn.value,"onUpdate:modelValue":or[0]||(or[0]=sr=>Mn.value=sr),"validate-event":!1,size:"small",onKeyup:withKeys(Wn,["enter"]),onBlur:Wn},null,8,["modelValue","onKeyup"])],2),createVNode$1(unref(ElButton),{class:normalizeClass(unref(qe).be("dropdown","link-btn")),text:"",size:"small",onClick:er},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.clear")),1)]),_:1},8,["class"]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(qe).be("dropdown","btn")),onClick:Xn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Ue)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,_hoisted_1$P)),[[unref(ClickOutside),rr]])]),default:withCtx(()=>[createBaseVNode("div",mergeProps({id:unref(jt),ref_key:"triggerRef",ref:kn},tr.$attrs,{class:unref(Vn),role:"button","aria-label":unref(Rn),"aria-labelledby":unref(Bn),"aria-description":unref(Ue)("el.colorpicker.description",{color:tr.modelValue||""}),"aria-disabled":unref(Lt),tabindex:unref(Lt)?-1:tr.tabindex,onKeydown:qn,onFocus:Tn,onBlur:or[1]||(or[1]=(...sr)=>unref(En)&&unref(En)(...sr))}),[unref(Lt)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).be("picker","mask"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(qe).be("picker","trigger")),onClick:Gn},[createBaseVNode("span",{class:normalizeClass([unref(qe).be("picker","color"),unref(qe).is("alpha",tr.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(qe).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:unref(In)})},[withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","icon"),unref(qe).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,tr.modelValue||Nn.value]]),withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(qe).be("picker","empty"),unref(qe).is("icon-close")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"]),[[vShow,!tr.modelValue&&!Nn.value]])],6)],2)],2)],16,_hoisted_2$x)]),_:1},8,["visible","popper-class","teleported","transition"]))}});var ColorPicker=_export_sfc$1(_sfc_main$1B,[["__file","color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),__default__$13=defineComponent({name:"ElContainer"}),_sfc_main$1A=defineComponent({...__default__$13,props:{direction:{type:String}},setup(xe){const $e=xe,Ie=useSlots(),Fe=useNamespace("container"),Ue=computed(()=>$e.direction==="vertical"?!0:$e.direction==="horizontal"?!1:Ie&&Ie.default?Ie.default().some(At=>{const Dt=At.type.name;return Dt==="ElHeader"||Dt==="ElFooter"}):!1);return(qe,At)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(Fe).b(),unref(Fe).is("vertical",unref(Ue))])},[renderSlot(qe.$slots,"default")],2))}});var Container=_export_sfc$1(_sfc_main$1A,[["__file","container.vue"]]);const __default__$12=defineComponent({name:"ElAside"}),_sfc_main$1z=defineComponent({...__default__$12,props:{width:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("aside"),Fe=computed(()=>$e.width?Ie.cssVarBlock({width:$e.width}):{});return(Ue,qe)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Aside=_export_sfc$1(_sfc_main$1z,[["__file","aside.vue"]]);const __default__$11=defineComponent({name:"ElFooter"}),_sfc_main$1y=defineComponent({...__default__$11,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("footer"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Footer$2=_export_sfc$1(_sfc_main$1y,[["__file","footer.vue"]]);const __default__$10=defineComponent({name:"ElHeader"}),_sfc_main$1x=defineComponent({...__default__$10,props:{height:{type:String,default:null}},setup(xe){const $e=xe,Ie=useNamespace("header"),Fe=computed(()=>$e.height?Ie.cssVarBlock({height:$e.height}):{});return(Ue,qe)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(Ie).b()),style:normalizeStyle$1(unref(Fe))},[renderSlot(Ue.$slots,"default")],6))}});var Header=_export_sfc$1(_sfc_main$1x,[["__file","header.vue"]]);const __default__$$=defineComponent({name:"ElMain"}),_sfc_main$1w=defineComponent({...__default__$$,setup(xe){const $e=useNamespace("main");return(Ie,Fe)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref($e).b())},[renderSlot(Ie.$slots,"default")],2))}});var Main=_export_sfc$1(_sfc_main$1w,[["__file","main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$2,Header,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header),ElMain=withNoopInstall(Main);var advancedFormat$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){var Ue=Fe.prototype,qe=Ue.format;Ue.format=function(At){var Dt=this,Lt=this.$locale();if(!this.isValid())return qe.bind(this)(At);var jt=this.$utils(),hn=(At||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(vn){switch(vn){case"Q":return Math.ceil((Dt.$M+1)/3);case"Do":return Lt.ordinal(Dt.$D);case"gggg":return Dt.weekYear();case"GGGG":return Dt.isoWeekYear();case"wo":return Lt.ordinal(Dt.week(),"W");case"w":case"ww":return jt.s(Dt.week(),vn==="w"?1:2,"0");case"W":case"WW":return jt.s(Dt.isoWeek(),vn==="W"?1:2,"0");case"k":case"kk":return jt.s(String(Dt.$H===0?24:Dt.$H),vn==="k"?1:2,"0");case"X":return Math.floor(Dt.$d.getTime()/1e3);case"x":return Dt.$d.getTime();case"z":return"["+Dt.offsetName()+"]";case"zzz":return"["+Dt.offsetName("long")+"]";default:return vn}});return qe.bind(this)(hn)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie="week",Fe="year";return function(Ue,qe,At){var Dt=qe.prototype;Dt.week=function(Lt){if(Lt===void 0&&(Lt=null),Lt!==null)return this.add(7*(Lt-this.week()),"day");var jt=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var hn=At(this).startOf(Fe).add(1,Fe).date(jt),vn=At(this).endOf(Ie);if(hn.isBefore(vn))return 1}var bn=At(this).startOf(Fe).date(jt).startOf(Ie).subtract(1,"millisecond"),_n=this.diff(bn,Ie,!0);return _n<0?At(this).startOf("week").week():Math.ceil(_n)},Dt.weeks=function(Lt){return Lt===void 0&&(Lt=null),this.week(Lt)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.weekYear=function(){var Ue=this.month(),qe=this.week(),At=this.year();return qe===1&&Ue===11?At+1:Ue===0&&qe>=52?At-1:At}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe,Ue){Fe.prototype.dayOfYear=function(qe){var At=Math.round((Ue(this).startOf("day")-Ue(this).startOf("year"))/864e5)+1;return qe==null?At:this.add(qe-At,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrAfter=function(Ue,qe){return this.isSame(Ue,qe)||this.isAfter(Ue,qe)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){return function(Ie,Fe){Fe.prototype.isSameOrBefore=function(Ue,qe){return this.isSame(Ue,qe)||this.isBefore(Ue,qe)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),ROOT_PICKER_INJECTION_KEY=Symbol(),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}}),selectionModes=["date","dates","year","years","month","week","range"],datePickerSharedProps=buildProps({disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})}}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes},dateFormat:String,timeFormat:String}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=xe=>({type:String,values:selectionModes,default:xe}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),basicDateTableProps=buildProps({...datePickerSharedProps,cellClassName:{type:definePropType(Function)},showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),basicDateTableEmits=["changerange","pick","select"],isValidRange=xe=>{if(!isArray$6(xe))return!1;const[$e,Ie]=xe;return dayjs.isDayjs($e)&&dayjs.isDayjs(Ie)&&$e.isSameOrBefore(Ie)},getDefaultValue=(xe,{lang:$e,unit:Ie,unlinkPanels:Fe})=>{let Ue;if(isArray$6(xe)){let[qe,At]=xe.map(Dt=>dayjs(Dt).locale($e));return Fe||(At=qe.add(1,Ie)),[qe,At]}else xe?Ue=dayjs(xe):Ue=dayjs();return Ue=Ue.locale($e),[Ue,Ue.add(1,Ie)]},buildPickerTable=(xe,$e,{columnIndexOffset:Ie,startDate:Fe,nextEndDate:Ue,now:qe,unit:At,relativeDateGetter:Dt,setCellMetadata:Lt,setRowMetadata:jt})=>{for(let hn=0;hn["normal","today"].includes(xe),useBasicDateTable=(xe,$e)=>{const{lang:Ie}=useLocale(),Fe=ref(),Ue=ref(),qe=ref(),At=ref(),Dt=ref([[],[],[],[],[],[]]);let Lt=!1;const jt=xe.date.$locale().weekStart||7,hn=xe.date.locale("en").localeData().weekdaysShort().map(zn=>zn.toLowerCase()),vn=computed(()=>jt>3?7-jt:-jt),bn=computed(()=>{const zn=xe.date.startOf("month");return zn.subtract(zn.day()||7,"day")}),_n=computed(()=>hn.concat(hn).slice(jt,jt+7)),wn=computed(()=>flatten(unref(Tn)).some(zn=>zn.isCurrent)),kn=computed(()=>{const zn=xe.date.startOf("month"),jn=zn.day()||7,Gn=zn.daysInMonth(),Wn=zn.subtract(1,"month").daysInMonth();return{startOfMonthDay:jn,dateCountOfMonth:Gn,dateCountOfLastMonth:Wn}}),Cn=computed(()=>xe.selectionMode==="dates"?castArray(xe.parsedValue):[]),Sn=(zn,{count:jn,rowIndex:Gn,columnIndex:Wn})=>{const{startOfMonthDay:Xn,dateCountOfMonth:er,dateCountOfLastMonth:rr}=unref(kn),Jn=unref(vn);if(Gn>=0&&Gn<=1){const qn=Xn+Jn<0?7+Xn+Jn:Xn+Jn;if(Wn+Gn*7>=qn)return zn.text=jn,!0;zn.text=rr-(qn-Wn%7)+1+Gn*7,zn.type="prev-month"}else return jn<=er?zn.text=jn:(zn.text=jn-er,zn.type="next-month"),!0;return!1},xn=(zn,{columnIndex:jn,rowIndex:Gn},Wn)=>{const{disabledDate:Xn,cellClassName:er}=xe,rr=unref(Cn),Jn=Sn(zn,{count:Wn,rowIndex:Gn,columnIndex:jn}),qn=zn.dayjs.toDate();return zn.selected=rr.find(Yn=>Yn.isSame(zn.dayjs,"day")),zn.isSelected=!!zn.selected,zn.isCurrent=$n(zn),zn.disabled=Xn==null?void 0:Xn(qn),zn.customClass=er==null?void 0:er(qn),Jn},En=zn=>{if(xe.selectionMode==="week"){const[jn,Gn]=xe.showWeekNumber?[1,7]:[0,6],Wn=Fn(zn[jn+1]);zn[jn].inRange=Wn,zn[jn].start=Wn,zn[Gn].inRange=Wn,zn[Gn].end=Wn}},Tn=computed(()=>{const{minDate:zn,maxDate:jn,rangeState:Gn,showWeekNumber:Wn}=xe,Xn=unref(vn),er=unref(Dt),rr="day";let Jn=1;if(Wn)for(let qn=0;qn<6;qn++)er[qn][0]||(er[qn][0]={type:"week",text:unref(bn).add(qn*7+1,rr).week()});return buildPickerTable({row:6,column:7},er,{startDate:zn,columnIndexOffset:Wn?1:0,nextEndDate:Gn.endDate||jn||Gn.selecting&&zn||null,now:dayjs().locale(unref(Ie)).startOf(rr),unit:rr,relativeDateGetter:qn=>unref(bn).add(qn-Xn,rr),setCellMetadata:(...qn)=>{xn(...qn,Jn)&&(Jn+=1)},setRowMetadata:En}),er});watch(()=>xe.date,async()=>{var zn;(zn=unref(Fe))!=null&&zn.contains(document.activeElement)&&(await nextTick(),await An())});const An=async()=>{var zn;return(zn=unref(Ue))==null?void 0:zn.focus()},$n=zn=>xe.selectionMode==="date"&&isNormalDay(zn.type)&&Pn(zn,xe.parsedValue),Pn=(zn,jn)=>jn?dayjs(jn).locale(unref(Ie)).isSame(xe.date.date(Number(zn.text)),"day"):!1,Nn=(zn,jn)=>{const Gn=zn*7+(jn-(xe.showWeekNumber?1:0))-unref(vn);return unref(bn).add(Gn,"day")},Mn=zn=>{var jn;if(!xe.rangeState.selecting)return;let Gn=zn.target;if(Gn.tagName==="SPAN"&&(Gn=(jn=Gn.parentNode)==null?void 0:jn.parentNode),Gn.tagName==="DIV"&&(Gn=Gn.parentNode),Gn.tagName!=="TD")return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex;unref(Tn)[Wn][Xn].disabled||(Wn!==unref(qe)||Xn!==unref(At))&&(qe.value=Wn,At.value=Xn,$e("changerange",{selecting:!0,endDate:Nn(Wn,Xn)}))},In=zn=>!unref(wn)&&(zn==null?void 0:zn.text)===1&&zn.type==="normal"||zn.isCurrent,On=zn=>{Lt||unref(wn)||xe.selectionMode!=="date"||Hn(zn,!0)},Rn=zn=>{zn.target.closest("td")&&(Lt=!0)},Bn=zn=>{zn.target.closest("td")&&(Lt=!1)},Vn=zn=>{!xe.rangeState.selecting||!xe.minDate?($e("pick",{minDate:zn,maxDate:null}),$e("select",!0)):(zn>=xe.minDate?$e("pick",{minDate:xe.minDate,maxDate:zn}):$e("pick",{minDate:zn,maxDate:xe.minDate}),$e("select",!1))},Ln=zn=>{const jn=zn.week(),Gn=`${zn.year()}w${jn}`;$e("pick",{year:zn.year(),week:jn,value:Gn,date:zn.startOf("week")})},Dn=(zn,jn)=>{const Gn=jn?castArray(xe.parsedValue).filter(Wn=>(Wn==null?void 0:Wn.valueOf())!==zn.valueOf()):castArray(xe.parsedValue).concat([zn]);$e("pick",Gn)},Hn=(zn,jn=!1)=>{const Gn=zn.target.closest("td");if(!Gn)return;const Wn=Gn.parentNode.rowIndex-1,Xn=Gn.cellIndex,er=unref(Tn)[Wn][Xn];if(er.disabled||er.type==="week")return;const rr=Nn(Wn,Xn);switch(xe.selectionMode){case"range":{Vn(rr);break}case"date":{$e("pick",rr,jn);break}case"week":{Ln(rr);break}case"dates":{Dn(rr,!!er.selected);break}}},Fn=zn=>{if(xe.selectionMode!=="week")return!1;let jn=xe.date.startOf("day");if(zn.type==="prev-month"&&(jn=jn.subtract(1,"month")),zn.type==="next-month"&&(jn=jn.add(1,"month")),jn=jn.date(Number.parseInt(zn.text,10)),xe.parsedValue&&!Array.isArray(xe.parsedValue)){const Gn=(xe.parsedValue.day()-jt+7)%7-1;return xe.parsedValue.subtract(Gn,"day").isSame(jn,"day")}return!1};return{WEEKS:_n,rows:Tn,tbodyRef:Fe,currentCellRef:Ue,focus:An,isCurrent:$n,isWeekActive:Fn,isSelectedCell:In,handlePickDate:Hn,handleMouseUp:Bn,handleMouseDown:Rn,handleMouseMove:Mn,handleFocus:On}},useBasicDateTableDOM=(xe,{isCurrent:$e,isWeekActive:Ie})=>{const Fe=useNamespace("date-table"),{t:Ue}=useLocale(),qe=computed(()=>[Fe.b(),{"is-week-mode":xe.selectionMode==="week"}]),At=computed(()=>Ue("el.datepicker.dateTablePrompt")),Dt=computed(()=>Ue("el.datepicker.week"));return{tableKls:qe,tableLabel:At,weekLabel:Dt,getCellClasses:hn=>{const vn=[];return isNormalDay(hn.type)&&!hn.disabled?(vn.push("available"),hn.type==="today"&&vn.push("today")):vn.push(hn.type),$e(hn)&&vn.push("current"),hn.inRange&&(isNormalDay(hn.type)||xe.selectionMode==="week")&&(vn.push("in-range"),hn.start&&vn.push("start-date"),hn.end&&vn.push("end-date")),hn.disabled&&vn.push("disabled"),hn.selected&&vn.push("selected"),hn.customClass&&vn.push(hn.customClass),vn.join(" ")},getRowKls:hn=>[Fe.e("row"),{current:Ie(hn)}],t:Ue}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(xe){const $e=useNamespace("date-table-cell"),{slots:Ie}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:Fe}=xe;return renderSlot(Ie,"default",{...Fe},()=>[createVNode$1("div",{class:$e.b()},[createVNode$1("span",{class:$e.e("text")},[Fe==null?void 0:Fe.text])])])}}});const _hoisted_1$O=["aria-label"],_hoisted_2$w={key:0,scope:"col"},_hoisted_3$i=["aria-label"],_hoisted_4$b=["aria-current","aria-selected","tabindex"],_sfc_main$1v=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{WEEKS:Ue,rows:qe,tbodyRef:At,currentCellRef:Dt,focus:Lt,isCurrent:jt,isWeekActive:hn,isSelectedCell:vn,handlePickDate:bn,handleMouseUp:_n,handleMouseDown:wn,handleMouseMove:kn,handleFocus:Cn}=useBasicDateTable(Fe,Ie),{tableLabel:Sn,tableKls:xn,weekLabel:En,getCellClasses:Tn,getRowKls:An,t:$n}=useBasicDateTableDOM(Fe,{isCurrent:jt,isWeekActive:hn});return $e({focus:Lt}),(Pn,Nn)=>(openBlock(),createElementBlock("table",{"aria-label":unref(Sn),class:normalizeClass(unref(xn)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:Nn[1]||(Nn[1]=(...Mn)=>unref(bn)&&unref(bn)(...Mn)),onMousemove:Nn[2]||(Nn[2]=(...Mn)=>unref(kn)&&unref(kn)(...Mn)),onMousedown:Nn[3]||(Nn[3]=withModifiers((...Mn)=>unref(wn)&&unref(wn)(...Mn),["prevent"])),onMouseup:Nn[4]||(Nn[4]=(...Mn)=>unref(_n)&&unref(_n)(...Mn))},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:At},[createBaseVNode("tr",null,[Pn.showWeekNumber?(openBlock(),createElementBlock("th",_hoisted_2$w,toDisplayString(unref(En)),1)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue),(Mn,In)=>(openBlock(),createElementBlock("th",{key:In,"aria-label":unref($n)("el.datepicker.weeksFull."+Mn),scope:"col"},toDisplayString(unref($n)("el.datepicker.weeks."+Mn)),9,_hoisted_3$i))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(Mn,In)=>(openBlock(),createElementBlock("tr",{key:In,class:normalizeClass(unref(An)(Mn[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn,(On,Rn)=>(openBlock(),createElementBlock("td",{key:`${In}.${Rn}`,ref_for:!0,ref:Bn=>unref(vn)(On)&&(Dt.value=Bn),class:normalizeClass(unref(Tn)(On)),"aria-current":On.isCurrent?"date":void 0,"aria-selected":On.isCurrent,tabindex:unref(vn)(On)?0:-1,onFocus:Nn[0]||(Nn[0]=(...Bn)=>unref(Cn)&&unref(Cn)(...Bn))},[createVNode$1(unref(ElDatePickerCell),{cell:On},null,8,["cell"])],42,_hoisted_4$b))),128))],2))),128))],512)],42,_hoisted_1$O))}});var DateTable=_export_sfc$1(_sfc_main$1v,[["__file","basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$N=["aria-label"],_hoisted_2$v=["aria-selected","aria-label","tabindex","onKeydown"],_hoisted_3$h={class:"cell"},_sfc_main$1u=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(Tn,An,$n)=>{const Pn=dayjs().locale($n).startOf("month").month(An).year(Tn),Nn=Pn.daysInMonth();return rangeArr(Nn).map(Mn=>Pn.add(Mn,"day").toDate())},qe=useNamespace("month-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=ref(Fe.date.locale("en").localeData().monthsShort().map(Tn=>Tn.toLowerCase())),vn=ref([[],[],[]]),bn=ref(),_n=ref(),wn=computed(()=>{var Tn,An;const $n=vn.value,Pn=dayjs().locale(Dt.value).startOf("month");for(let Nn=0;Nn<3;Nn++){const Mn=$n[Nn];for(let In=0;In<4;In++){const On=Mn[In]||(Mn[In]={row:Nn,column:In,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});On.type="normal";const Rn=Nn*4+In,Bn=Fe.date.startOf("year").month(Rn),Vn=Fe.rangeState.endDate||Fe.maxDate||Fe.rangeState.selecting&&Fe.minDate||null;On.inRange=!!(Fe.minDate&&Bn.isSameOrAfter(Fe.minDate,"month")&&Vn&&Bn.isSameOrBefore(Vn,"month"))||!!(Fe.minDate&&Bn.isSameOrBefore(Fe.minDate,"month")&&Vn&&Bn.isSameOrAfter(Vn,"month")),(Tn=Fe.minDate)!=null&&Tn.isSameOrAfter(Vn)?(On.start=!!(Vn&&Bn.isSame(Vn,"month")),On.end=Fe.minDate&&Bn.isSame(Fe.minDate,"month")):(On.start=!!(Fe.minDate&&Bn.isSame(Fe.minDate,"month")),On.end=!!(Vn&&Bn.isSame(Vn,"month"))),Pn.isSame(Bn)&&(On.type="today"),On.text=Rn,On.disabled=((An=Fe.disabledDate)==null?void 0:An.call(Fe,Bn.toDate()))||!1}}return $n}),kn=()=>{var Tn;(Tn=jt.value)==null||Tn.focus()},Cn=Tn=>{const An={},$n=Fe.date.year(),Pn=new Date,Nn=Tn.text;return An.disabled=Fe.disabledDate?Ue($n,Nn,Dt.value).every(Fe.disabledDate):!1,An.current=castArray(Fe.parsedValue).findIndex(Mn=>dayjs.isDayjs(Mn)&&Mn.year()===$n&&Mn.month()===Nn)>=0,An.today=Pn.getFullYear()===$n&&Pn.getMonth()===Nn,Tn.inRange&&(An["in-range"]=!0,Tn.start&&(An["start-date"]=!0),Tn.end&&(An["end-date"]=!0)),An},Sn=Tn=>{const An=Fe.date.year(),$n=Tn.text;return castArray(Fe.date).findIndex(Pn=>Pn.year()===An&&Pn.month()===$n)>=0},xn=Tn=>{var An;if(!Fe.rangeState.selecting)return;let $n=Tn.target;if($n.tagName==="SPAN"&&($n=(An=$n.parentNode)==null?void 0:An.parentNode),$n.tagName==="DIV"&&($n=$n.parentNode),$n.tagName!=="TD")return;const Pn=$n.parentNode.rowIndex,Nn=$n.cellIndex;wn.value[Pn][Nn].disabled||(Pn!==bn.value||Nn!==_n.value)&&(bn.value=Pn,_n.value=Nn,Ie("changerange",{selecting:!0,endDate:Fe.date.startOf("year").month(Pn*4+Nn)}))},En=Tn=>{var An;const $n=(An=Tn.target)==null?void 0:An.closest("td");if(($n==null?void 0:$n.tagName)!=="TD"||hasClass($n,"disabled"))return;const Pn=$n.cellIndex,Mn=$n.parentNode.rowIndex*4+Pn,In=Fe.date.startOf("year").month(Mn);Fe.selectionMode==="range"?Fe.rangeState.selecting?(Fe.minDate&&In>=Fe.minDate?Ie("pick",{minDate:Fe.minDate,maxDate:In}):Ie("pick",{minDate:In,maxDate:Fe.minDate}),Ie("select",!1)):(Ie("pick",{minDate:In,maxDate:null}),Ie("select",!0)):Ie("pick",Mn)};return watch(()=>Fe.date,async()=>{var Tn,An;(Tn=Lt.value)!=null&&Tn.contains(document.activeElement)&&(await nextTick(),(An=jt.value)==null||An.focus())}),$e({focus:kn}),(Tn,An)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:En,onMousemove:xn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),($n,Pn)=>(openBlock(),createElementBlock("tr",{key:Pn},[(openBlock(!0),createElementBlock(Fragment,null,renderList($n,(Nn,Mn)=>(openBlock(),createElementBlock("td",{key:Mn,ref_for:!0,ref:In=>Sn(Nn)&&(jt.value=In),class:normalizeClass(Cn(Nn)),"aria-selected":`${Sn(Nn)}`,"aria-label":unref(At)(`el.datepicker.month${+Nn.text+1}`),tabindex:Sn(Nn)?0:-1,onKeydown:[withKeys(withModifiers(En,["prevent","stop"]),["space"]),withKeys(withModifiers(En,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$h,toDisplayString(unref(At)("el.datepicker.months."+hn.value[Nn.text])),1)])],42,_hoisted_2$v))),128))]))),128))],512)],42,_hoisted_1$N))}});var MonthTable=_export_sfc$1(_sfc_main$1u,[["__file","basic-month-table.vue"]]);const{date,disabledDate,parsedValue}=datePickerSharedProps,basicYearTableProps=buildProps({date,disabledDate,parsedValue,selectionMode:selectionModeWithDefault("year")}),_hoisted_1$M=["aria-label"],_hoisted_2$u=["aria-selected","tabindex","onKeydown"],_hoisted_3$g={class:"cell"},_hoisted_4$a={key:1},_sfc_main$1t=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["pick"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=(kn,Cn)=>{const Sn=dayjs(String(kn)).locale(Cn).startOf("year"),En=Sn.endOf("year").dayOfYear();return rangeArr(En).map(Tn=>Sn.add(Tn,"day").toDate())},qe=useNamespace("year-table"),{t:At,lang:Dt}=useLocale(),Lt=ref(),jt=ref(),hn=computed(()=>Math.floor(Fe.date.year()/10)*10),vn=()=>{var kn;(kn=jt.value)==null||kn.focus()},bn=kn=>{const Cn={},Sn=dayjs().locale(Dt.value);return Cn.disabled=Fe.disabledDate?Ue(kn,Dt.value).every(Fe.disabledDate):!1,Cn.current=castArray(Fe.parsedValue).findIndex(xn=>xn.year()===kn)>=0,Cn.today=Sn.year()===kn,Cn},_n=kn=>kn===hn.value&&Fe.date.year()hn.value+9||castArray(Fe.date).findIndex(Cn=>Cn.year()===kn)>=0||castArray(Fe.parsedValue).findIndex(Cn=>(Cn==null?void 0:Cn.year())===kn)>=0,wn=kn=>{const Sn=kn.target.closest("td");if(Sn&&Sn.textContent){if(hasClass(Sn,"disabled"))return;const xn=Sn.textContent||Sn.innerText;if(Fe.selectionMode==="years"){if(kn.type==="keydown"){Ie("pick",castArray(Fe.parsedValue),!1);return}const En=hasClass(Sn,"current")?castArray(Fe.parsedValue).filter(Tn=>(Tn==null?void 0:Tn.year())!==Number(xn)):castArray(Fe.parsedValue).concat([dayjs(xn)]);Ie("pick",En)}else Ie("pick",Number(xn))}};return watch(()=>Fe.date,async()=>{var kn,Cn;(kn=Lt.value)!=null&&kn.contains(document.activeElement)&&(await nextTick(),(Cn=jt.value)==null||Cn.focus())}),$e({focus:vn}),(kn,Cn)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(At)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(qe).b()),onClick:wn},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:Lt},[(openBlock(),createElementBlock(Fragment,null,renderList(3,(Sn,xn)=>createBaseVNode("tr",{key:xn},[(openBlock(),createElementBlock(Fragment,null,renderList(4,(En,Tn)=>(openBlock(),createElementBlock(Fragment,{key:xn+"_"+Tn},[xn*4+Tn<10?(openBlock(),createElementBlock("td",{key:0,ref_for:!0,ref:An=>_n(unref(hn)+xn*4+Tn)&&(jt.value=An),class:normalizeClass(["available",bn(unref(hn)+xn*4+Tn)]),"aria-selected":`${_n(unref(hn)+xn*4+Tn)}`,tabindex:_n(unref(hn)+xn*4+Tn)?0:-1,onKeydown:[withKeys(withModifiers(wn,["prevent","stop"]),["space"]),withKeys(withModifiers(wn,["prevent","stop"]),["enter"])]},[createBaseVNode("div",null,[createBaseVNode("span",_hoisted_3$g,toDisplayString(unref(hn)+xn*4+Tn),1)])],42,_hoisted_2$u)):(openBlock(),createElementBlock("td",_hoisted_4$a))],64))),64))])),64))],512)],10,_hoisted_1$M))}});var YearTable=_export_sfc$1(_sfc_main$1t,[["__file","basic-year-table.vue"]]);const _hoisted_1$L=["onClick"],_hoisted_2$t=["aria-label"],_hoisted_3$f=["aria-label"],_hoisted_4$9=["aria-label"],_hoisted_5$7=["aria-label"],_sfc_main$1s=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=($r,Br,Tr)=>!0,Ue=useNamespace("picker-panel"),qe=useNamespace("date-picker"),At=useAttrs$1(),Dt=useSlots(),{t:Lt,lang:jt}=useLocale(),hn=inject("EP_PICKER_BASE"),vn=inject(TOOLTIP_INJECTION_KEY),{shortcuts:bn,disabledDate:_n,cellClassName:wn,defaultTime:kn}=hn.props,Cn=toRef(hn.props,"defaultValue"),Sn=ref(),xn=ref(dayjs().locale(jt.value)),En=ref(!1);let Tn=!1;const An=computed(()=>dayjs(kn).locale(jt.value)),$n=computed(()=>xn.value.month()),Pn=computed(()=>xn.value.year()),Nn=ref([]),Mn=ref(null),In=ref(null),On=$r=>Nn.value.length>0?Fe($r,Nn.value,Ie.format||"HH:mm:ss"):!0,Rn=$r=>kn&&!Zn.value&&!En.value&&!Tn?An.value.year($r.year()).month($r.month()).date($r.date()):Jn.value?$r.millisecond(0):$r.startOf("day"),Bn=($r,...Br)=>{if(!$r)$e("pick",$r,...Br);else if(isArray$6($r)){const Tr=$r.map(Rn);$e("pick",Tr,...Br)}else $e("pick",Rn($r),...Br);Mn.value=null,In.value=null,En.value=!1,Tn=!1},Vn=async($r,Br)=>{if(jn.value==="date"){$r=$r;let Tr=Ie.parsedValue?Ie.parsedValue.year($r.year()).month($r.month()).date($r.date()):$r;On(Tr)||(Tr=Nn.value[0][0].year($r.year()).month($r.month()).date($r.date())),xn.value=Tr,Bn(Tr,Jn.value||Br),Ie.type==="datetime"&&(await nextTick(),Rr())}else jn.value==="week"?Bn($r.date):jn.value==="dates"&&Bn($r,!0)},Ln=$r=>{const Br=$r?"add":"subtract";xn.value=xn.value[Br](1,"month"),Gr("month")},Dn=$r=>{const Br=xn.value,Tr=$r?"add":"subtract";xn.value=Hn.value==="year"?Br[Tr](10,"year"):Br[Tr](1,"year"),Gr("year")},Hn=ref("date"),Fn=computed(()=>{const $r=Lt("el.datepicker.year");if(Hn.value==="year"){const Br=Math.floor(Pn.value/10)*10;return $r?`${Br} ${$r} - ${Br+9} ${$r}`:`${Br} - ${Br+9}`}return`${Pn.value} ${$r}`}),zn=$r=>{const Br=isFunction$5($r.value)?$r.value():$r.value;if(Br){Tn=!0,Bn(dayjs(Br).locale(jt.value));return}$r.onClick&&$r.onClick({attrs:At,slots:Dt,emit:$e})},jn=computed(()=>{const{type:$r}=Ie;return["week","month","year","years","dates"].includes($r)?$r:"date"}),Gn=computed(()=>jn.value==="date"?Hn.value:jn.value),Wn=computed(()=>!!bn.length),Xn=async $r=>{xn.value=xn.value.startOf("month").month($r),jn.value==="month"?Bn(xn.value,!1):(Hn.value="date",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("month")},er=async($r,Br)=>{jn.value==="year"?(xn.value=xn.value.startOf("year").year($r),Bn(xn.value,!1)):jn.value==="years"?Bn($r,Br??!0):(xn.value=xn.value.year($r),Hn.value="month",["month","year","date","week"].includes(jn.value)&&(Bn(xn.value,!0),await nextTick(),Rr())),Gr("year")},rr=async $r=>{Hn.value=$r,await nextTick(),Rr()},Jn=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),qn=computed(()=>{const $r=Jn.value||jn.value==="dates",Br=jn.value==="years",Tr=Hn.value==="date",cr=Hn.value==="year";return $r&&Tr||Br&&cr}),Yn=computed(()=>_n?Ie.parsedValue?isArray$6(Ie.parsedValue)?_n(Ie.parsedValue[0].toDate()):_n(Ie.parsedValue.toDate()):!0:!1),ar=()=>{if(jn.value==="dates"||jn.value==="years")Bn(Ie.parsedValue);else{let $r=Ie.parsedValue;if(!$r){const Br=dayjs(kn).locale(jt.value),Tr=xr();$r=Br.year(Tr.year()).month(Tr.month()).date(Tr.date())}xn.value=$r,Bn($r)}},tr=computed(()=>_n?_n(dayjs().locale(jt.value).toDate()):!1),or=()=>{const Br=dayjs().locale(jt.value).toDate();En.value=!0,(!_n||!_n(Br))&&On(Br)&&(xn.value=dayjs().locale(jt.value),Bn(xn.value))},sr=computed(()=>Ie.timeFormat||extractTimeFormat(Ie.format)),Kn=computed(()=>Ie.dateFormat||extractDateFormat(Ie.format)),Zn=computed(()=>{if(In.value)return In.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(sr.value)}),nr=computed(()=>{if(Mn.value)return Mn.value;if(!(!Ie.parsedValue&&!Cn.value))return(Ie.parsedValue||xn.value).format(Kn.value)}),lr=ref(!1),ir=()=>{lr.value=!0},kr=()=>{lr.value=!1},Cr=$r=>({hour:$r.hour(),minute:$r.minute(),second:$r.second(),year:$r.year(),month:$r.month(),date:$r.date()}),Er=($r,Br,Tr)=>{const{hour:cr,minute:Sr,second:Dr}=Cr($r),mr=Ie.parsedValue?Ie.parsedValue.hour(cr).minute(Sr).second(Dr):$r;xn.value=mr,Bn(xn.value,!0),Tr||(lr.value=Br)},dr=$r=>{const Br=dayjs($r,sr.value).locale(jt.value);if(Br.isValid()&&On(Br)){const{year:Tr,month:cr,date:Sr}=Cr(xn.value);xn.value=Br.year(Tr).month(cr).date(Sr),In.value=null,lr.value=!1,Bn(xn.value,!0)}},br=$r=>{const Br=dayjs($r,Kn.value).locale(jt.value);if(Br.isValid()){if(_n&&_n(Br.toDate()))return;const{hour:Tr,minute:cr,second:Sr}=Cr(xn.value);xn.value=Br.hour(Tr).minute(cr).second(Sr),Mn.value=null,Bn(xn.value,!0)}},_r=$r=>dayjs.isDayjs($r)&&$r.isValid()&&(_n?!_n($r.toDate()):!0),Pr=$r=>isArray$6($r)?$r.map(Br=>Br.format(Ie.format)):$r.format(Ie.format),gr=$r=>dayjs($r,Ie.format).locale(jt.value),xr=()=>{const $r=dayjs(Cn.value).locale(jt.value);if(!Cn.value){const Br=An.value;return dayjs().hour(Br.hour()).minute(Br.minute()).second(Br.second()).locale(jt.value)}return $r},Rr=async()=>{var $r;["week","month","year","date"].includes(jn.value)&&(($r=Sn.value)==null||$r.focus(),jn.value==="week"&&Jr(EVENT_CODE.down))},Hr=$r=>{const{code:Br}=$r;[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(Br)&&(Jr(Br),$r.stopPropagation(),$r.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(Br)&&Mn.value===null&&In.value===null&&($r.preventDefault(),Bn(xn.value,!1))},Jr=$r=>{var Br;const{up:Tr,down:cr,left:Sr,right:Dr,home:mr,end:Lr,pageUp:zr,pageDown:Vr}=EVENT_CODE,Kr={year:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setFullYear(Ur.getFullYear()+uo)},month:{[Tr]:-4,[cr]:4,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setMonth(Ur.getMonth()+uo)},week:{[Tr]:-1,[cr]:1,[Sr]:-1,[Dr]:1,offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo*7)},date:{[Tr]:-7,[cr]:7,[Sr]:-1,[Dr]:1,[mr]:Ur=>-Ur.getDay(),[Lr]:Ur=>-Ur.getDay()+6,[zr]:Ur=>-new Date(Ur.getFullYear(),Ur.getMonth(),0).getDate(),[Vr]:Ur=>new Date(Ur.getFullYear(),Ur.getMonth()+1,0).getDate(),offset:(Ur,uo)=>Ur.setDate(Ur.getDate()+uo)}},Yr=xn.value.toDate();for(;Math.abs(xn.value.diff(Yr,"year",!0))<1;){const Ur=Kr[Gn.value];if(!Ur)return;if(Ur.offset(Yr,isFunction$5(Ur[$r])?Ur[$r](Yr):(Br=Ur[$r])!=null?Br:0),_n&&_n(Yr))break;const uo=dayjs(Yr).locale(jt.value);xn.value=uo,$e("pick",uo,!0);break}},Gr=$r=>{$e("panel-change",xn.value.toDate(),$r,Hn.value)};return watch(()=>jn.value,$r=>{if(["month","year"].includes($r)){Hn.value=$r;return}else if($r==="years"){Hn.value="year";return}Hn.value="date"},{immediate:!0}),watch(()=>Hn.value,()=>{vn==null||vn.updatePopper()}),watch(()=>Cn.value,$r=>{$r&&(xn.value=xr())},{immediate:!0}),watch(()=>Ie.parsedValue,$r=>{if($r){if(jn.value==="dates"||jn.value==="years"||Array.isArray($r))return;xn.value=$r}else xn.value=xr()},{immediate:!0}),$e("set-picker-option",["isValidValue",_r]),$e("set-picker-option",["formatToString",Pr]),$e("set-picker-option",["parseUserInput",gr]),$e("set-picker-option",["handleFocusPicker",Rr]),($r,Br)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ue).b(),unref(qe).b(),{"has-sidebar":$r.$slots.sidebar||unref(Wn),"has-time":unref(Jn)}])},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body-wrapper"))},[renderSlot($r.$slots,"sidebar",{class:normalizeClass(unref(Ue).e("sidebar"))}),unref(Wn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),(Tr,cr)=>(openBlock(),createElementBlock("button",{key:cr,type:"button",class:normalizeClass(unref(Ue).e("shortcut")),onClick:Sr=>zn(Tr)},toDisplayString(Tr.text),11,_hoisted_1$L))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("body"))},[unref(Jn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectDate"),"model-value":unref(nr),size:"small","validate-event":!1,onInput:Br[0]||(Br[0]=Tr=>Mn.value=Tr),onChange:br},null,8,["placeholder","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(qe).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(Lt)("el.datepicker.selectTime"),"model-value":unref(Zn),size:"small","validate-event":!1,onFocus:ir,onInput:Br[1]||(Br[1]=Tr=>In.value=Tr),onChange:dr},null,8,["placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:lr.value,format:unref(sr),"parsed-value":xn.value,onPick:Er},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),kr]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(qe).e("header"),(Hn.value==="year"||Hn.value==="month")&&unref(qe).e("header--bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(qe).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref(Ue).e("icon-btn")]),onClick:Br[2]||(Br[2]=Tr=>Dn(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$t),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.prevMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-left"]),onClick:Br[3]||(Br[3]=Tr=>Ln(!1))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$f),[[vShow,Hn.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(qe).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Br[4]||(Br[4]=withKeys(Tr=>rr("year"),["enter"])),onClick:Br[5]||(Br[5]=Tr=>rr("year"))},toDisplayString(unref(Fn)),35),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:normalizeClass([unref(qe).e("header-label"),{active:Hn.value==="month"}]),onKeydown:Br[6]||(Br[6]=withKeys(Tr=>rr("month"),["enter"])),onClick:Br[7]||(Br[7]=Tr=>rr("month"))},toDisplayString(unref(Lt)(`el.datepicker.month${unref($n)+1}`)),35),[[vShow,Hn.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(qe).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextMonth"),class:normalizeClass([unref(Ue).e("icon-btn"),"arrow-right"]),onClick:Br[8]||(Br[8]=Tr=>Ln(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_4$9),[[vShow,Hn.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(Lt)("el.datepicker.nextYear"),class:normalizeClass([unref(Ue).e("icon-btn"),"d-arrow-right"]),onClick:Br[9]||(Br[9]=Tr=>Dn(!0))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_5$7)],2)],2),[[vShow,Hn.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content")),onKeydown:Hr},[Hn.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),"cell-class-name":unref(wn),onPick:Vn},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):createCommentVNode("v-if",!0),Hn.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:Sn,"selection-mode":unref(jn),date:xn.value,"disabled-date":unref(_n),"parsed-value":$r.parsedValue,onPick:er},null,8,["selection-mode","date","disabled-date","parsed-value"])):createCommentVNode("v-if",!0),Hn.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:Sn,date:xn.value,"parsed-value":$r.parsedValue,"disabled-date":unref(_n),onPick:Xn},null,8,["date","parsed-value","disabled-date"])):createCommentVNode("v-if",!0)],34)],2)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(Ue).e("footer"))},[withDirectives(createVNode$1(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(tr),onClick:or},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,unref(jn)!=="dates"&&unref(jn)!=="years"]]),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Ue).e("link-btn")),disabled:unref(Yn),onClick:ar},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Lt)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[vShow,unref(qn)]])],2))}});var DatePickPanel=_export_sfc$1(_sfc_main$1s,[["__file","panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=xe=>{const{emit:$e}=getCurrentInstance(),Ie=useAttrs$1(),Fe=useSlots();return qe=>{const At=isFunction$5(qe.value)?qe.value():qe.value;if(At){$e("pick",[dayjs(At[0]).locale(xe.value),dayjs(At[1]).locale(xe.value)]);return}qe.onClick&&qe.onClick({attrs:Ie,slots:Fe,emit:$e})}},useRangePicker=(xe,{defaultValue:$e,leftDate:Ie,rightDate:Fe,unit:Ue,onParsedValueChanged:qe})=>{const{emit:At}=getCurrentInstance(),{pickerNs:Dt}=inject(ROOT_PICKER_INJECTION_KEY),Lt=useNamespace("date-range-picker"),{t:jt,lang:hn}=useLocale(),vn=useShortcut(hn),bn=ref(),_n=ref(),wn=ref({endDate:null,selecting:!1}),kn=En=>{wn.value=En},Cn=(En=!1)=>{const Tn=unref(bn),An=unref(_n);isValidRange([Tn,An])&&At("pick",[Tn,An],En)},Sn=En=>{wn.value.selecting=En,En||(wn.value.endDate=null)},xn=()=>{const[En,Tn]=getDefaultValue(unref($e),{lang:unref(hn),unit:Ue,unlinkPanels:xe.unlinkPanels});bn.value=void 0,_n.value=void 0,Ie.value=En,Fe.value=Tn};return watch($e,En=>{En&&xn()},{immediate:!0}),watch(()=>xe.parsedValue,En=>{if(isArray$6(En)&&En.length===2){const[Tn,An]=En;bn.value=Tn,Ie.value=Tn,_n.value=An,qe(unref(bn),unref(_n))}else xn()},{immediate:!0}),{minDate:bn,maxDate:_n,rangeState:wn,lang:hn,ppNs:Dt,drpNs:Lt,handleChangeRange:kn,handleRangeConfirm:Cn,handleShortcutClick:vn,onSelect:Sn,t:jt}},_hoisted_1$K=["onClick"],_hoisted_2$s=["aria-label"],_hoisted_3$e=["aria-label"],_hoisted_4$8=["disabled","aria-label"],_hoisted_5$6=["disabled","aria-label"],_hoisted_6$4=["disabled","aria-label"],_hoisted_7$2=["disabled","aria-label"],_hoisted_8$2=["aria-label"],_hoisted_9$2=["aria-label"],unit$1="month",_sfc_main$1r=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(xe,{emit:$e}){const Ie=xe,Fe=inject("EP_PICKER_BASE"),{disabledDate:Ue,cellClassName:qe,format:At,defaultTime:Dt,clearable:Lt}=Fe.props,jt=toRef(Fe.props,"shortcuts"),hn=toRef(Fe.props,"defaultValue"),{lang:vn}=useLocale(),bn=ref(dayjs().locale(vn.value)),_n=ref(dayjs().locale(vn.value).add(1,unit$1)),{minDate:wn,maxDate:kn,rangeState:Cn,ppNs:Sn,drpNs:xn,handleChangeRange:En,handleRangeConfirm:Tn,handleShortcutClick:An,onSelect:$n,t:Pn}=useRangePicker(Ie,{defaultValue:hn,leftDate:bn,rightDate:_n,unit:unit$1,onParsedValueChanged:Br}),Nn=ref({min:null,max:null}),Mn=ref({min:null,max:null}),In=computed(()=>`${bn.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${bn.value.month()+1}`)}`),On=computed(()=>`${_n.value.year()} ${Pn("el.datepicker.year")} ${Pn(`el.datepicker.month${_n.value.month()+1}`)}`),Rn=computed(()=>bn.value.year()),Bn=computed(()=>bn.value.month()),Vn=computed(()=>_n.value.year()),Ln=computed(()=>_n.value.month()),Dn=computed(()=>!!jt.value.length),Hn=computed(()=>Nn.value.min!==null?Nn.value.min:wn.value?wn.value.format(Wn.value):""),Fn=computed(()=>Nn.value.max!==null?Nn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Wn.value):""),zn=computed(()=>Mn.value.min!==null?Mn.value.min:wn.value?wn.value.format(Gn.value):""),jn=computed(()=>Mn.value.max!==null?Mn.value.max:kn.value||wn.value?(kn.value||wn.value).format(Gn.value):""),Gn=computed(()=>Ie.timeFormat||extractTimeFormat(At)),Wn=computed(()=>Ie.dateFormat||extractDateFormat(At)),Xn=Tr=>isValidRange(Tr)&&(Ue?!Ue(Tr[0].toDate())&&!Ue(Tr[1].toDate()):!0),er=()=>{bn.value=bn.value.subtract(1,"year"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("year")},rr=()=>{bn.value=bn.value.subtract(1,"month"),Ie.unlinkPanels||(_n.value=bn.value.add(1,"month")),sr("month")},Jn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"year"):(bn.value=bn.value.add(1,"year"),_n.value=bn.value.add(1,"month")),sr("year")},qn=()=>{Ie.unlinkPanels?_n.value=_n.value.add(1,"month"):(bn.value=bn.value.add(1,"month"),_n.value=bn.value.add(1,"month")),sr("month")},Yn=()=>{bn.value=bn.value.add(1,"year"),sr("year")},ar=()=>{bn.value=bn.value.add(1,"month"),sr("month")},tr=()=>{_n.value=_n.value.subtract(1,"year"),sr("year")},or=()=>{_n.value=_n.value.subtract(1,"month"),sr("month")},sr=Tr=>{$e("panel-change",[bn.value.toDate(),_n.value.toDate()],Tr)},Kn=computed(()=>{const Tr=(Bn.value+1)%12,cr=Bn.value+1>=12?1:0;return Ie.unlinkPanels&&new Date(Rn.value+cr,Tr)Ie.unlinkPanels&&Vn.value*12+Ln.value-(Rn.value*12+Bn.value+1)>=12),nr=computed(()=>!(wn.value&&kn.value&&!Cn.value.selecting&&isValidRange([wn.value,kn.value]))),lr=computed(()=>Ie.type==="datetime"||Ie.type==="datetimerange"),ir=(Tr,cr)=>{if(Tr)return Dt?dayjs(Dt[cr]||Dt).locale(vn.value).year(Tr.year()).month(Tr.month()).date(Tr.date()):Tr},kr=(Tr,cr=!0)=>{const Sr=Tr.minDate,Dr=Tr.maxDate,mr=ir(Sr,0),Lr=ir(Dr,1);kn.value===Lr&&wn.value===mr||($e("calendar-change",[Sr.toDate(),Dr&&Dr.toDate()]),kn.value=Lr,wn.value=mr,!(!cr||lr.value)&&Tn())},Cr=ref(!1),Er=ref(!1),dr=()=>{Cr.value=!1},br=()=>{Er.value=!1},_r=(Tr,cr)=>{Nn.value[cr]=Tr;const Sr=dayjs(Tr,Wn.value).locale(vn.value);if(Sr.isValid()){if(Ue&&Ue(Sr.toDate()))return;cr==="min"?(bn.value=Sr,wn.value=(wn.value||bn.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!kn.value||kn.value.isBefore(wn.value))&&(_n.value=Sr.add(1,"month"),kn.value=wn.value.add(1,"month"))):(_n.value=Sr,kn.value=(kn.value||_n.value).year(Sr.year()).month(Sr.month()).date(Sr.date()),!Ie.unlinkPanels&&(!wn.value||wn.value.isAfter(kn.value))&&(bn.value=Sr.subtract(1,"month"),wn.value=kn.value.subtract(1,"month")))}},Pr=(Tr,cr)=>{Nn.value[cr]=null},gr=(Tr,cr)=>{Mn.value[cr]=Tr;const Sr=dayjs(Tr,Gn.value).locale(vn.value);Sr.isValid()&&(cr==="min"?(Cr.value=!0,wn.value=(wn.value||bn.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value)):(Er.value=!0,kn.value=(kn.value||_n.value).hour(Sr.hour()).minute(Sr.minute()).second(Sr.second()),_n.value=kn.value,kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value)))},xr=(Tr,cr)=>{Mn.value[cr]=null,cr==="min"?(bn.value=wn.value,Cr.value=!1):(_n.value=kn.value,Er.value=!1)},Rr=(Tr,cr,Sr)=>{Mn.value.min||(Tr&&(bn.value=Tr,wn.value=(wn.value||bn.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Cr.value=cr),(!kn.value||kn.value.isBefore(wn.value))&&(kn.value=wn.value,_n.value=Tr))},Hr=(Tr,cr,Sr)=>{Mn.value.max||(Tr&&(_n.value=Tr,kn.value=(kn.value||_n.value).hour(Tr.hour()).minute(Tr.minute()).second(Tr.second())),Sr||(Er.value=cr),kn.value&&kn.value.isBefore(wn.value)&&(wn.value=kn.value))},Jr=()=>{bn.value=getDefaultValue(unref(hn),{lang:unref(vn),unit:"month",unlinkPanels:Ie.unlinkPanels})[0],_n.value=bn.value.add(1,"month"),kn.value=void 0,wn.value=void 0,$e("pick",null)},Gr=Tr=>isArray$6(Tr)?Tr.map(cr=>cr.format(At)):Tr.format(At),$r=Tr=>isArray$6(Tr)?Tr.map(cr=>dayjs(cr,At).locale(vn.value)):dayjs(Tr,At).locale(vn.value);function Br(Tr,cr){if(Ie.unlinkPanels&&cr){const Sr=(Tr==null?void 0:Tr.year())||0,Dr=(Tr==null?void 0:Tr.month())||0,mr=cr.year(),Lr=cr.month();_n.value=Sr===mr&&Dr===Lr?cr.add(1,unit$1):cr}else _n.value=bn.value.add(1,unit$1),cr&&(_n.value=_n.value.hour(cr.hour()).minute(cr.minute()).second(cr.second()))}return $e("set-picker-option",["isValidValue",Xn]),$e("set-picker-option",["parseUserInput",$r]),$e("set-picker-option",["formatToString",Gr]),$e("set-picker-option",["handleClear",Jr]),(Tr,cr)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Sn).b(),unref(xn).b(),{"has-sidebar":Tr.$slots.sidebar||unref(Dn),"has-time":unref(lr)}])},[createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body-wrapper"))},[renderSlot(Tr.$slots,"sidebar",{class:normalizeClass(unref(Sn).e("sidebar"))}),unref(Dn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(jt),(Sr,Dr)=>(openBlock(),createElementBlock("button",{key:Dr,type:"button",class:normalizeClass(unref(Sn).e("shortcut")),onClick:mr=>unref(An)(Sr)},toDisplayString(Sr.text),11,_hoisted_1$K))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Sn).e("body"))},[unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(xn).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startDate"),class:normalizeClass(unref(xn).e("editor")),"model-value":unref(Hn),"validate-event":!1,onInput:cr[0]||(cr[0]=Sr=>_r(Sr,"min")),onChange:cr[1]||(cr[1]=Sr=>Pr(Sr,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.startTime"),"model-value":unref(zn),"validate-event":!1,onFocus:cr[2]||(cr[2]=Sr=>Cr.value=!0),onInput:cr[3]||(cr[3]=Sr=>gr(Sr,"min")),onChange:cr[4]||(cr[4]=Sr=>xr(Sr,"min"))},null,8,["class","disabled","placeholder","model-value"]),createVNode$1(unref(TimePickPanel),{visible:Cr.value,format:unref(Gn),"datetime-role":"start","parsed-value":bn.value,onPick:Rr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),dr]])],2),createBaseVNode("span",null,[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(xn).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endDate"),"model-value":unref(Fn),readonly:!unref(wn),"validate-event":!1,onInput:cr[5]||(cr[5]=Sr=>_r(Sr,"max")),onChange:cr[6]||(cr[6]=Sr=>Pr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(xn).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(xn).e("editor")),disabled:unref(Cn).selecting,placeholder:unref(Pn)("el.datepicker.endTime"),"model-value":unref(jn),readonly:!unref(wn),"validate-event":!1,onFocus:cr[7]||(cr[7]=Sr=>unref(wn)&&(Er.value=!0)),onInput:cr[8]||(cr[8]=Sr=>gr(Sr,"max")),onChange:cr[9]||(cr[9]=Sr=>xr(Sr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode$1(unref(TimePickPanel),{"datetime-role":"end",visible:Er.value,format:unref(Gn),"parsed-value":_n.value,onPick:Hr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),br]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:er},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_2$s),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:rr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_3$e),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextYear"),onClick:Yn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_4$8)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:ar},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_5$6)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:bn.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Sn).e("content"),unref(xn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(xn).e("header"))},[Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Zn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Zn)}],"d-arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevYear"),onClick:tr},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_6$4)):createCommentVNode("v-if",!0),Tr.unlinkPanels?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!unref(Kn),class:normalizeClass([[unref(Sn).e("icon-btn"),{"is-disabled":!unref(Kn)}],"arrow-left"]),"aria-label":unref(Pn)("el.datepicker.prevMonth"),onClick:or},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],10,_hoisted_7$2)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(Pn)("el.datepicker.nextYear"),class:normalizeClass([unref(Sn).e("icon-btn"),"d-arrow-right"]),onClick:Jn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_8$2),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Sn).e("icon-btn"),"arrow-right"]),"aria-label":unref(Pn)("el.datepicker.nextMonth"),onClick:qn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],10,_hoisted_9$2),createBaseVNode("div",null,toDisplayString(unref(On)),1)],2),createVNode$1(DateTable,{"selection-mode":"range",date:_n.value,"min-date":unref(wn),"max-date":unref(kn),"range-state":unref(Cn),"disabled-date":unref(Ue),"cell-class-name":unref(qe),onChangerange:unref(En),onPick:kr,onSelect:unref($n)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),unref(lr)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Sn).e("footer"))},[unref(Lt)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),onClick:Jr},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(Sn).e("link-btn")),disabled:unref(nr),onClick:cr[10]||(cr[10]=Sr=>unref(Tn)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(Pn)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc$1(_sfc_main$1r,[["__file","panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option","calendar-change"],useMonthRangeHeader=({unlinkPanels:xe,leftDate:$e,rightDate:Ie})=>{const{t:Fe}=useLocale(),Ue=()=>{$e.value=$e.value.subtract(1,"year"),xe.value||(Ie.value=Ie.value.subtract(1,"year"))},qe=()=>{xe.value||($e.value=$e.value.add(1,"year")),Ie.value=Ie.value.add(1,"year")},At=()=>{$e.value=$e.value.add(1,"year")},Dt=()=>{Ie.value=Ie.value.subtract(1,"year")},Lt=computed(()=>`${$e.value.year()} ${Fe("el.datepicker.year")}`),jt=computed(()=>`${Ie.value.year()} ${Fe("el.datepicker.year")}`),hn=computed(()=>$e.value.year()),vn=computed(()=>Ie.value.year()===$e.value.year()?$e.value.year()+1:Ie.value.year());return{leftPrevYear:Ue,rightNextYear:qe,leftNextYear:At,rightPrevYear:Dt,leftLabel:Lt,rightLabel:jt,leftYear:hn,rightYear:vn}},_hoisted_1$J=["onClick"],_hoisted_2$r=["disabled"],_hoisted_3$d=["disabled"],unit="year",__default__$_=defineComponent({name:"DatePickerMonthRange"}),_sfc_main$1q=defineComponent({...__default__$_,props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(xe,{emit:$e}){const Ie=xe,{lang:Fe}=useLocale(),Ue=inject("EP_PICKER_BASE"),{shortcuts:qe,disabledDate:At,format:Dt}=Ue.props,Lt=toRef(Ue.props,"defaultValue"),jt=ref(dayjs().locale(Fe.value)),hn=ref(dayjs().locale(Fe.value).add(1,unit)),{minDate:vn,maxDate:bn,rangeState:_n,ppNs:wn,drpNs:kn,handleChangeRange:Cn,handleRangeConfirm:Sn,handleShortcutClick:xn,onSelect:En}=useRangePicker(Ie,{defaultValue:Lt,leftDate:jt,rightDate:hn,unit,onParsedValueChanged:Dn}),Tn=computed(()=>!!qe.length),{leftPrevYear:An,rightNextYear:$n,leftNextYear:Pn,rightPrevYear:Nn,leftLabel:Mn,rightLabel:In,leftYear:On,rightYear:Rn}=useMonthRangeHeader({unlinkPanels:toRef(Ie,"unlinkPanels"),leftDate:jt,rightDate:hn}),Bn=computed(()=>Ie.unlinkPanels&&Rn.value>On.value+1),Vn=(Hn,Fn=!0)=>{const zn=Hn.minDate,jn=Hn.maxDate;bn.value===jn&&vn.value===zn||($e("calendar-change",[zn.toDate(),jn&&jn.toDate()]),bn.value=jn,vn.value=zn,Fn&&Sn())},Ln=Hn=>Hn.map(Fn=>Fn.format(Dt));function Dn(Hn,Fn){if(Ie.unlinkPanels&&Fn){const zn=(Hn==null?void 0:Hn.year())||0,jn=Fn.year();hn.value=zn===jn?Fn.add(1,unit):Fn}else hn.value=jt.value.add(1,unit)}return $e("set-picker-option",["formatToString",Ln]),(Hn,Fn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(wn).b(),unref(kn).b(),{"has-sidebar":!!Hn.$slots.sidebar||unref(Tn)}])},[createBaseVNode("div",{class:normalizeClass(unref(wn).e("body-wrapper"))},[renderSlot(Hn.$slots,"sidebar",{class:normalizeClass(unref(wn).e("sidebar"))}),unref(Tn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(wn).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qe),(zn,jn)=>(openBlock(),createElementBlock("button",{key:jn,type:"button",class:normalizeClass(unref(wn).e("shortcut")),onClick:Gn=>unref(xn)(zn)},toDisplayString(zn.text),11,_hoisted_1$J))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(wn).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-left"]),onClick:Fn[0]||(Fn[0]=(...zn)=>unref(An)&&unref(An)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],2),Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{[unref(wn).is("disabled")]:!unref(Bn)}],"d-arrow-right"]),onClick:Fn[1]||(Fn[1]=(...zn)=>unref(Pn)&&unref(Pn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],10,_hoisted_2$r)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(Mn)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:jt.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(wn).e("content"),unref(kn).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(kn).e("header"))},[Hn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!unref(Bn),class:normalizeClass([[unref(wn).e("icon-btn"),{"is-disabled":!unref(Bn)}],"d-arrow-left"]),onClick:Fn[2]||(Fn[2]=(...zn)=>unref(Nn)&&unref(Nn)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})],10,_hoisted_3$d)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(wn).e("icon-btn"),"d-arrow-right"]),onClick:Fn[3]||(Fn[3]=(...zn)=>unref($n)&&unref($n)(...zn))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})],2),createBaseVNode("div",null,toDisplayString(unref(In)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:hn.value,"min-date":unref(vn),"max-date":unref(bn),"range-state":unref(_n),"disabled-date":unref(At),onChangerange:unref(Cn),onPick:Vn,onSelect:unref(En)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc$1(_sfc_main$1q,[["__file","panel-month-range.vue"]]);const getPanel=function(xe){switch(xe){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;default:return DatePickPanel}};dayjs.extend(localeData);dayjs.extend(advancedFormat);dayjs.extend(customParseFormat);dayjs.extend(weekOfYear);dayjs.extend(weekYear);dayjs.extend(dayOfYear);dayjs.extend(isSameOrAfter);dayjs.extend(isSameOrBefore);var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:["update:modelValue"],setup(xe,{expose:$e,emit:Ie,slots:Fe}){const Ue=useNamespace("picker-panel");provide("ElPopperOptions",reactive(toRef(xe,"popperOptions"))),provide(ROOT_PICKER_INJECTION_KEY,{slots:Fe,pickerNs:Ue});const qe=ref();$e({focus:(Lt=!0)=>{var jt;(jt=qe.value)==null||jt.focus(Lt)},handleOpen:()=>{var Lt;(Lt=qe.value)==null||Lt.handleOpen()},handleClose:()=>{var Lt;(Lt=qe.value)==null||Lt.handleClose()}});const Dt=Lt=>{Ie("update:modelValue",Lt)};return()=>{var Lt;const jt=(Lt=xe.format)!=null?Lt:DEFAULT_FORMATS_DATEPICKER[xe.type]||DEFAULT_FORMATS_DATE,hn=getPanel(xe.type);return createVNode$1(CommonPicker,mergeProps(xe,{format:jt,type:xe.type,ref:qe,"onUpdate:modelValue":Dt}),{default:vn=>createVNode$1(hn,vn,null),"range-separator":Fe["range-separator"]})}}});const _DatePicker=DatePicker;_DatePicker.install=xe=>{xe.component(_DatePicker.name,_DatePicker)};const ElDatePicker=_DatePicker,descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var xe,$e,Ie,Fe,Ue,qe,At;const Dt=getNormalizedProps(this.cell),Lt=(((xe=this.cell)==null?void 0:xe.dirs)||[]).map(An=>{const{dir:$n,arg:Pn,modifiers:Nn,value:Mn}=An;return[$n,Mn,Pn,Nn]}),{border:jt,direction:hn}=this.descriptions,vn=hn==="vertical",bn=((Fe=(Ie=($e=this.cell)==null?void 0:$e.children)==null?void 0:Ie.label)==null?void 0:Fe.call(Ie))||Dt.label,_n=(At=(qe=(Ue=this.cell)==null?void 0:Ue.children)==null?void 0:qe.default)==null?void 0:At.call(qe),wn=Dt.span,kn=Dt.align?`is-${Dt.align}`:"",Cn=Dt.labelAlign?`is-${Dt.labelAlign}`:kn,Sn=Dt.className,xn=Dt.labelClassName,En={width:addUnit(Dt.width),minWidth:addUnit(Dt.minWidth)},Tn=useNamespace("descriptions");switch(this.type){case"label":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("label"),Tn.is("bordered-label",jt),Tn.is("vertical-label",vn),Cn,xn],colSpan:vn?wn:1},bn),Lt);case"content":return withDirectives(h$5(this.tag,{style:En,class:[Tn.e("cell"),Tn.e("content"),Tn.is("bordered-content",jt),Tn.is("vertical-content",vn),kn,Sn],colSpan:vn?wn:wn*2-1},_n),Lt);default:return withDirectives(h$5("td",{style:En,class:[Tn.e("cell"),kn],colSpan:wn},[isNil(bn)?void 0:h$5("span",{class:[Tn.e("label"),xn]},bn),h$5("span",{class:[Tn.e("content"),Sn]},_n)]),Lt)}}});const descriptionsRowProps=buildProps({row:{type:definePropType(Array),default:()=>[]}}),_hoisted_1$I={key:1},__default__$Z=defineComponent({name:"ElDescriptionsRow"}),_sfc_main$1p=defineComponent({...__default__$Z,props:descriptionsRowProps,setup(xe){const $e=inject(descriptionsKey,{});return(Ie,Fe)=>unref($e).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${qe}`,cell:Ue,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${qe}`,cell:Ue,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$I,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.row,(Ue,qe)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${qe}`},[unref($e).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(unref(ElDescriptionsCell),{cell:Ue,tag:"td",type:"label"},null,8,["cell"]),createVNode$1(unref(ElDescriptionsCell),{cell:Ue,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:Ue,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc$1(_sfc_main$1p,[["__file","descriptions-row.vue"]]);const descriptionProps=buildProps({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""}}),__default__$Y=defineComponent({name:"ElDescriptions"}),_sfc_main$1o=defineComponent({...__default__$Y,props:descriptionProps,setup(xe){const $e=xe,Ie=useNamespace("descriptions"),Fe=useFormSize(),Ue=useSlots();provide(descriptionsKey,$e);const qe=computed(()=>[Ie.b(),Ie.m(Fe.value)]),At=(Lt,jt,hn,vn=!1)=>(Lt.props||(Lt.props={}),jt>hn&&(Lt.props.span=hn),vn&&(Lt.props.span=jt),Lt),Dt=()=>{if(!Ue.default)return[];const Lt=flattedChildren(Ue.default()).filter(_n=>{var wn;return((wn=_n==null?void 0:_n.type)==null?void 0:wn.name)==="ElDescriptionsItem"}),jt=[];let hn=[],vn=$e.column,bn=0;return Lt.forEach((_n,wn)=>{var kn;const Cn=((kn=_n.props)==null?void 0:kn.span)||1;if(wnvn?vn:Cn),wn===Lt.length-1){const Sn=$e.column-bn%$e.column;hn.push(At(_n,Sn,vn,!0)),jt.push(hn);return}Cn(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Lt.title||Lt.extra||Lt.$slots.title||Lt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("title"))},[renderSlot(Lt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Lt.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("extra"))},[renderSlot(Lt.$slots,"extra",{},()=>[createTextVNode(toDisplayString(Lt.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(Ie).e("table"),unref(Ie).is("bordered",Lt.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dt(),(hn,vn)=>(openBlock(),createBlock(ElDescriptionsRow,{key:vn,row:hn},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc$1(_sfc_main$1o,[["__file","description.vue"]]);const descriptionItemProps=buildProps({label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),DescriptionItem=defineComponent({name:"ElDescriptionsItem",props:descriptionItemProps}),ElDescriptions=withInstall(Descriptions,{DescriptionsItem:DescriptionItem}),ElDescriptionsItem=withNoopInstall(DescriptionItem),overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:xe=>xe instanceof MouseEvent},BLOCK="overlay";var Overlay$1=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(xe,{slots:$e,emit:Ie}){const Fe=useNamespace(BLOCK),Ue=Lt=>{Ie("click",Lt)},{onClick:qe,onMousedown:At,onMouseup:Dt}=useSameTarget(xe.customMaskEvent?void 0:Ue);return()=>xe.mask?createVNode$1("div",{class:[Fe.b(),xe.overlayClass],style:{zIndex:xe.zIndex},onClick:qe,onMousedown:At,onMouseup:Dt},[renderSlot($e,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$5("div",{class:xe.overlayClass,style:{zIndex:xe.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot($e,"default")])}});const ElOverlay=Overlay$1,dialogInjectionKey=Symbol("dialogInjectionKey"),dialogContentProps=buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:iconPropType},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},_hoisted_1$H=["aria-level"],_hoisted_2$q=["aria-label"],_hoisted_3$c=["id"],__default__$X=defineComponent({name:"ElDialogContent"}),_sfc_main$1n=defineComponent({...__default__$X,props:dialogContentProps,emits:dialogContentEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),{Close:Fe}=CloseComponents,{dialogRef:Ue,headerRef:qe,bodyId:At,ns:Dt,style:Lt}=inject(dialogInjectionKey),{focusTrapRef:jt}=inject(FOCUS_TRAP_INJECTION_KEY),hn=computed(()=>[Dt.b(),Dt.is("fullscreen",$e.fullscreen),Dt.is("draggable",$e.draggable),Dt.is("align-center",$e.alignCenter),{[Dt.m("center")]:$e.center}]),vn=composeRefs(jt,Ue),bn=computed(()=>$e.draggable),_n=computed(()=>$e.overflow);return useDraggable(Ue,qe,bn,_n),(wn,kn)=>(openBlock(),createElementBlock("div",{ref:unref(vn),class:normalizeClass(unref(hn)),style:normalizeStyle$1(unref(Lt)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:qe,class:normalizeClass([unref(Dt).e("header"),{"show-close":wn.showClose}])},[renderSlot(wn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":wn.ariaLevel,class:normalizeClass(unref(Dt).e("title"))},toDisplayString(wn.title),11,_hoisted_1$H)]),wn.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(Ie)("el.dialog.close"),class:normalizeClass(unref(Dt).e("headerbtn")),type:"button",onClick:kn[0]||(kn[0]=Cn=>wn.$emit("close"))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(Dt).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(wn.closeIcon||unref(Fe))))]),_:1},8,["class"])],10,_hoisted_2$q)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(At),class:normalizeClass(unref(Dt).e("body"))},[renderSlot(wn.$slots,"default")],10,_hoisted_3$c),wn.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass(unref(Dt).e("footer"))},[renderSlot(wn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc$1(_sfc_main$1n,[["__file","dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,appendTo:{type:definePropType(String),default:"body"},beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useDialog=(xe,$e)=>{var Ie;const Ue=getCurrentInstance().emit,{nextZIndex:qe}=useZIndex();let At="";const Dt=useId(),Lt=useId(),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=ref((Ie=xe.zIndex)!=null?Ie:qe());let _n,wn;const kn=useGlobalConfig("namespace",defaultNamespace),Cn=computed(()=>{const Ln={},Dn=`--${kn.value}-dialog`;return xe.fullscreen||(xe.top&&(Ln[`${Dn}-margin-top`]=xe.top),xe.width&&(Ln[`${Dn}-width`]=addUnit(xe.width))),Ln}),Sn=computed(()=>xe.alignCenter?{display:"flex"}:{});function xn(){Ue("opened")}function En(){Ue("closed"),Ue(UPDATE_MODEL_EVENT,!1),xe.destroyOnClose&&(vn.value=!1)}function Tn(){Ue("close")}function An(){wn==null||wn(),_n==null||_n(),xe.openDelay&&xe.openDelay>0?{stop:_n}=useTimeoutFn$1(()=>Mn(),xe.openDelay):Mn()}function $n(){_n==null||_n(),wn==null||wn(),xe.closeDelay&&xe.closeDelay>0?{stop:wn}=useTimeoutFn$1(()=>In(),xe.closeDelay):In()}function Pn(){function Ln(Dn){Dn||(hn.value=!0,jt.value=!1)}xe.beforeClose?xe.beforeClose(Ln):$n()}function Nn(){xe.closeOnClickModal&&Pn()}function Mn(){isClient$1&&(jt.value=!0)}function In(){jt.value=!1}function On(){Ue("openAutoFocus")}function Rn(){Ue("closeAutoFocus")}function Bn(Ln){var Dn;((Dn=Ln.detail)==null?void 0:Dn.focusReason)==="pointer"&&Ln.preventDefault()}xe.lockScroll&&useLockscreen(jt);function Vn(){xe.closeOnPressEscape&&Pn()}return watch(()=>xe.modelValue,Ln=>{Ln?(hn.value=!1,An(),vn.value=!0,bn.value=isUndefined$2(xe.zIndex)?qe():bn.value++,nextTick(()=>{Ue("open"),$e.value&&($e.value.scrollTop=0)})):jt.value&&$n()}),watch(()=>xe.fullscreen,Ln=>{$e.value&&(Ln?(At=$e.value.style.transform,$e.value.style.transform=""):$e.value.style.transform=At)}),onMounted(()=>{xe.modelValue&&(jt.value=!0,vn.value=!0,An())}),{afterEnter:xn,afterLeave:En,beforeLeave:Tn,handleClose:Pn,onModalClick:Nn,close:$n,doClose:In,onOpenAutoFocus:On,onCloseAutoFocus:Rn,onCloseRequested:Vn,onFocusoutPrevented:Bn,titleId:Dt,bodyId:Lt,closed:hn,style:Cn,overlayDialogStyle:Sn,rendered:vn,visible:jt,zIndex:bn}},_hoisted_1$G=["aria-label","aria-labelledby","aria-describedby"],__default__$W=defineComponent({name:"ElDialog",inheritAttrs:!1}),_sfc_main$1m=defineComponent({...__default__$W,props:dialogProps,emits:dialogEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots();useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},computed(()=>!!Fe.title));const Ue=useNamespace("dialog"),qe=ref(),At=ref(),Dt=ref(),{visible:Lt,titleId:jt,bodyId:hn,style:vn,overlayDialogStyle:bn,rendered:_n,zIndex:wn,afterEnter:kn,afterLeave:Cn,beforeLeave:Sn,handleClose:xn,onModalClick:En,onOpenAutoFocus:Tn,onCloseAutoFocus:An,onCloseRequested:$n,onFocusoutPrevented:Pn}=useDialog(Ie,qe);provide(dialogInjectionKey,{dialogRef:qe,headerRef:At,bodyId:hn,ns:Ue,rendered:_n,style:vn});const Nn=useSameTarget(En),Mn=computed(()=>Ie.draggable&&!Ie.fullscreen);return $e({visible:Lt,dialogContentRef:Dt}),(In,On)=>(openBlock(),createBlock(Teleport,{to:In.appendTo,disabled:In.appendTo!=="body"?!1:!In.appendToBody},[createVNode$1(Transition,{name:"dialog-fade",onAfterEnter:unref(kn),onAfterLeave:unref(Cn),onBeforeLeave:unref(Sn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{"custom-mask-event":"",mask:In.modal,"overlay-class":In.modalClass,"z-index":unref(wn)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":In.title||void 0,"aria-labelledby":In.title?void 0:unref(jt),"aria-describedby":unref(hn),class:normalizeClass(`${unref(Ue).namespace.value}-overlay-dialog`),style:normalizeStyle$1(unref(bn)),onClick:On[0]||(On[0]=(...Rn)=>unref(Nn).onClick&&unref(Nn).onClick(...Rn)),onMousedown:On[1]||(On[1]=(...Rn)=>unref(Nn).onMousedown&&unref(Nn).onMousedown(...Rn)),onMouseup:On[2]||(On[2]=(...Rn)=>unref(Nn).onMouseup&&unref(Nn).onMouseup(...Rn))},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(Lt),"focus-start-el":"container",onFocusAfterTrapped:unref(Tn),onFocusAfterReleased:unref(An),onFocusoutPrevented:unref(Pn),onReleaseRequested:unref($n)},{default:withCtx(()=>[unref(_n)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:Dt},In.$attrs,{center:In.center,"align-center":In.alignCenter,"close-icon":In.closeIcon,draggable:unref(Mn),overflow:In.overflow,fullscreen:In.fullscreen,"show-close":In.showClose,title:In.title,"aria-level":In.headerAriaLevel,onClose:unref(xn)}),createSlots({header:withCtx(()=>[In.$slots.title?renderSlot(In.$slots,"title",{key:1}):renderSlot(In.$slots,"header",{key:0,close:unref(xn),titleId:unref(jt),titleClass:unref(Ue).e("title")})]),default:withCtx(()=>[renderSlot(In.$slots,"default")]),_:2},[In.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(In.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$G)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(Lt)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var Dialog=_export_sfc$1(_sfc_main$1m,[["__file","dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),__default__$V=defineComponent({name:"ElDivider"}),_sfc_main$1l=defineComponent({...__default__$V,props:dividerProps,setup(xe){const $e=xe,Ie=useNamespace("divider"),Fe=computed(()=>Ie.cssVar({"border-style":$e.borderStyle}));return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ie).b(),unref(Ie).m(Ue.direction)]),style:normalizeStyle$1(unref(Fe)),role:"separator"},[Ue.$slots.default&&Ue.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(Ie).e("text"),unref(Ie).is(Ue.contentPosition)])},[renderSlot(Ue.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc$1(_sfc_main$1l,[["__file","divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),drawerEmits=dialogEmits,_hoisted_1$F=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$p=["id","aria-level"],_hoisted_3$b=["aria-label"],_hoisted_4$7=["id"],__default__$U=defineComponent({name:"ElDrawer",inheritAttrs:!1}),_sfc_main$1k=defineComponent({...__default__$U,props:drawerProps,emits:drawerEmits,setup(xe,{expose:$e}){const Ie=xe,Fe=useSlots();useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},computed(()=>!!Fe.title));const Ue=ref(),qe=ref(),At=useNamespace("drawer"),{t:Dt}=useLocale(),{afterEnter:Lt,afterLeave:jt,beforeLeave:hn,visible:vn,rendered:bn,titleId:_n,bodyId:wn,zIndex:kn,onModalClick:Cn,onOpenAutoFocus:Sn,onCloseAutoFocus:xn,onFocusoutPrevented:En,onCloseRequested:Tn,handleClose:An}=useDialog(Ie,Ue),$n=computed(()=>Ie.direction==="rtl"||Ie.direction==="ltr"),Pn=computed(()=>addUnit(Ie.size));return $e({handleClose:An,afterEnter:Lt,afterLeave:jt}),(Nn,Mn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!Nn.appendToBody},[createVNode$1(Transition,{name:unref(At).b("fade"),onAfterEnter:unref(Lt),onAfterLeave:unref(jt),onBeforeLeave:unref(hn),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElOverlay),{mask:Nn.modal,"overlay-class":Nn.modalClass,"z-index":unref(kn),onClick:unref(Cn)},{default:withCtx(()=>[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(vn),"focus-trap-el":Ue.value,"focus-start-el":qe.value,onFocusAfterTrapped:unref(Sn),onFocusAfterReleased:unref(xn),onFocusoutPrevented:unref(En),onReleaseRequested:unref(Tn)},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref_key:"drawerRef",ref:Ue,"aria-modal":"true","aria-label":Nn.title||void 0,"aria-labelledby":Nn.title?void 0:unref(_n),"aria-describedby":unref(wn)},Nn.$attrs,{class:[unref(At).b(),Nn.direction,unref(vn)&&"open"],style:unref($n)?"width: "+unref(Pn):"height: "+unref(Pn),role:"dialog",onClick:Mn[1]||(Mn[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref_key:"focusStartRef",ref:qe,class:normalizeClass(unref(At).e("sr-focus")),tabindex:"-1"},null,2),Nn.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass(unref(At).e("header"))},[Nn.$slots.title?renderSlot(Nn.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(Nn.$slots,"header",{key:0,close:unref(An),titleId:unref(_n),titleClass:unref(At).e("title")},()=>[Nn.$slots.title?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,id:unref(_n),role:"heading","aria-level":Nn.headerAriaLevel,class:normalizeClass(unref(At).e("title"))},toDisplayString(Nn.title),11,_hoisted_2$p))]),Nn.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":unref(Dt)("el.drawer.close"),class:normalizeClass(unref(At).e("close-btn")),type:"button",onClick:Mn[0]||(Mn[0]=(...In)=>unref(An)&&unref(An)(...In))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(At).e("close"))},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])],10,_hoisted_3$b)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),unref(bn)?(openBlock(),createElementBlock("div",{key:1,id:unref(wn),class:normalizeClass(unref(At).e("body"))},[renderSlot(Nn.$slots,"default")],10,_hoisted_4$7)):createCommentVNode("v-if",!0),Nn.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(At).e("footer"))},[renderSlot(Nn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],16,_hoisted_1$F)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,unref(vn)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Drawer=_export_sfc$1(_sfc_main$1k,[["__file","drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1j=defineComponent({inheritAttrs:!1});function _sfc_render$n(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var Collection=_export_sfc$1(_sfc_main$1j,[["render",_sfc_render$n],["__file","collection.vue"]]);const _sfc_main$1i=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$m(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var CollectionItem=_export_sfc$1(_sfc_main$1i,[["render",_sfc_render$m],["__file","collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=xe=>{const $e=`El${xe}Collection`,Ie=`${$e}Item`,Fe=Symbol($e),Ue=Symbol(Ie),qe={...Collection,name:$e,setup(){const Dt=ref(null),Lt=new Map;provide(Fe,{itemMap:Lt,getItems:()=>{const hn=unref(Dt);if(!hn)return[];const vn=Array.from(hn.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...Lt.values()].sort((_n,wn)=>vn.indexOf(_n.ref)-vn.indexOf(wn.ref))},collectionRef:Dt})}},At={...CollectionItem,name:Ie,setup(Dt,{attrs:Lt}){const jt=ref(null),hn=inject(Fe,void 0);provide(Ue,{collectionItemRef:jt}),onMounted(()=>{const vn=unref(jt);vn&&hn.itemMap.set(vn,{ref:vn,...Lt})}),onBeforeUnmount(()=>{const vn=unref(jt);hn.itemMap.delete(vn)})}};return{COLLECTION_INJECTION_KEY:Fe,COLLECTION_ITEM_INJECTION_KEY:Ue,ElCollection:qe,ElCollectionItem:At}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ElCollection$1,ElCollectionItem:ElCollectionItem$1,COLLECTION_INJECTION_KEY:COLLECTION_INJECTION_KEY$1,COLLECTION_ITEM_INJECTION_KEY:COLLECTION_ITEM_INJECTION_KEY$1}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(xe,$e)=>xe,getFocusIntent=(xe,$e,Ie)=>{const Fe=getDirectionAwareKey(xe.key);return MAP_KEY_TO_FOCUS_INTENT[Fe]},reorderArray=(xe,$e)=>xe.map((Ie,Fe)=>xe[(Fe+$e)%xe.length]),focusFirst=xe=>{const{activeElement:$e}=document;for(const Ie of xe)if(Ie===$e||(Ie.focus(),$e!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1h=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(xe,{emit:$e}){var Ie;const Fe=ref((Ie=xe.currentTabId||xe.defaultCurrentTabId)!=null?Ie:null),Ue=ref(!1),qe=ref(!1),At=ref(null),{getItems:Dt}=inject(COLLECTION_INJECTION_KEY$1,void 0),Lt=computed(()=>[{outline:"none"},xe.style]),jt=kn=>{$e(CURRENT_TAB_ID_CHANGE_EVT,kn)},hn=()=>{Ue.value=!0},vn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onMousedown)==null||Cn.call(xe,kn)},()=>{qe.value=!0}),bn=composeEventHandlers(kn=>{var Cn;(Cn=xe.onFocus)==null||Cn.call(xe,kn)},kn=>{const Cn=!unref(qe),{target:Sn,currentTarget:xn}=kn;if(Sn===xn&&Cn&&!unref(Ue)){const En=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(xn==null||xn.dispatchEvent(En),!En.defaultPrevented){const Tn=Dt().filter(Mn=>Mn.focusable),An=Tn.find(Mn=>Mn.active),$n=Tn.find(Mn=>Mn.id===unref(Fe)),Nn=[An,$n,...Tn].filter(Boolean).map(Mn=>Mn.ref);focusFirst(Nn)}}qe.value=!1}),_n=composeEventHandlers(kn=>{var Cn;(Cn=xe.onBlur)==null||Cn.call(xe,kn)},()=>{Ue.value=!1}),wn=(...kn)=>{$e("entryFocus",...kn)};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(Fe),loop:toRef(xe,"loop"),tabIndex:computed(()=>unref(Ue)?-1:0),rovingFocusGroupRef:At,rovingFocusGroupRootStyle:Lt,orientation:toRef(xe,"orientation"),dir:toRef(xe,"dir"),onItemFocus:jt,onItemShiftTab:hn,onBlur:_n,onFocus:bn,onMousedown:vn}),watch(()=>xe.currentTabId,kn=>{Fe.value=kn??null}),useEventListener(At,ENTRY_FOCUS_EVT,wn)}});function _sfc_render$l(xe,$e,Ie,Fe,Ue,qe){return renderSlot(xe.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc$1(_sfc_main$1h,[["render",_sfc_render$l],["__file","roving-focus-group-impl.vue"]]);const _sfc_main$1g=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection$1,ElRovingFocusGroupImpl}});function _sfc_render$k(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-group-impl"),Dt=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(Dt,null,{default:withCtx(()=>[createVNode$1(At,normalizeProps(guardReactiveProps(xe.$attrs)),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc$1(_sfc_main$1g,[["render",_sfc_render$k],["__file","roving-focus-group.vue"]]);const _sfc_main$1f=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem$1},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(xe,{emit:$e}){const{currentTabbedId:Ie,loop:Fe,onItemFocus:Ue,onItemShiftTab:qe}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{getItems:At}=inject(COLLECTION_INJECTION_KEY$1,void 0),Dt=useId(),Lt=ref(null),jt=composeEventHandlers(_n=>{$e("mousedown",_n)},_n=>{xe.focusable?Ue(unref(Dt)):_n.preventDefault()}),hn=composeEventHandlers(_n=>{$e("focus",_n)},()=>{Ue(unref(Dt))}),vn=composeEventHandlers(_n=>{$e("keydown",_n)},_n=>{const{key:wn,shiftKey:kn,target:Cn,currentTarget:Sn}=_n;if(wn===EVENT_CODE.tab&&kn){qe();return}if(Cn!==Sn)return;const xn=getFocusIntent(_n);if(xn){_n.preventDefault();let Tn=At().filter(An=>An.focusable).map(An=>An.ref);switch(xn){case"last":{Tn.reverse();break}case"prev":case"next":{xn==="prev"&&Tn.reverse();const An=Tn.indexOf(Sn);Tn=Fe.value?reorderArray(Tn,An+1):Tn.slice(An+1);break}}nextTick(()=>{focusFirst(Tn)})}}),bn=computed(()=>Ie.value===unref(Dt));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:Lt,tabIndex:computed(()=>unref(bn)?0:-1),handleMousedown:jt,handleFocus:hn,handleKeydown:vn}),{id:Dt,handleKeydown:vn,handleFocus:hn,handleMousedown:jt}}});function _sfc_render$j(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(At,{id:xe.id,focusable:xe.focusable,active:xe.active},{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc$1(_sfc_main$1f,[["render",_sfc_render$j],["__file","roving-focus-item.vue"]]);const dropdownProps=buildProps({trigger:useTooltipTriggerProps.trigger,effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),FIRST_KEYS=[EVENT_CODE.down,EVENT_CODE.pageDown,EVENT_CODE.home],LAST_KEYS=[EVENT_CODE.up,EVENT_CODE.pageUp,EVENT_CODE.end],FIRST_LAST_KEYS=[...FIRST_KEYS,...LAST_KEYS],{ElCollection,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("Dropdown"),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$1e=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElDropdownCollection:ElCollection,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=useNamespace("dropdown"),{t:Ue}=useLocale(),qe=ref(),At=ref(),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(!1),bn=[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.down],_n=computed(()=>({maxHeight:addUnit(xe.maxHeight)})),wn=computed(()=>[Fe.m(An.value)]),kn=computed(()=>castArray$1(xe.trigger)),Cn=useId().value,Sn=computed(()=>xe.id||Cn);watch([qe,kn],([Hn,Fn],[zn])=>{var jn,Gn,Wn;(jn=zn==null?void 0:zn.$el)!=null&&jn.removeEventListener&&zn.$el.removeEventListener("pointerenter",Pn),(Gn=Hn==null?void 0:Hn.$el)!=null&&Gn.removeEventListener&&Hn.$el.removeEventListener("pointerenter",Pn),(Wn=Hn==null?void 0:Hn.$el)!=null&&Wn.addEventListener&&Fn.includes("hover")&&Hn.$el.addEventListener("pointerenter",Pn)},{immediate:!0}),onBeforeUnmount(()=>{var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)!=null&&Fn.removeEventListener&&qe.value.$el.removeEventListener("pointerenter",Pn)});function xn(){En()}function En(){var Hn;(Hn=Dt.value)==null||Hn.onClose()}function Tn(){var Hn;(Hn=Dt.value)==null||Hn.onOpen()}const An=useFormSize();function $n(...Hn){$e("command",...Hn)}function Pn(){var Hn,Fn;(Fn=(Hn=qe.value)==null?void 0:Hn.$el)==null||Fn.focus()}function Nn(){}function Mn(){const Hn=unref(Lt);kn.value.includes("hover")&&(Hn==null||Hn.focus()),hn.value=null}function In(Hn){hn.value=Hn}function On(Hn){vn.value||(Hn.preventDefault(),Hn.stopImmediatePropagation())}function Rn(){$e("visible-change",!0)}function Bn(Hn){(Hn==null?void 0:Hn.type)==="keydown"&&Lt.value.focus()}function Vn(){$e("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:Lt,role:computed(()=>xe.role),triggerId:Sn,isUsingKeyboard:vn,onItemEnter:Nn,onItemLeave:Mn}),provide("elDropdown",{instance:Ie,dropdownSize:An,handleClick:xn,commandHandler:$n,trigger:toRef(xe,"trigger"),hideOnClick:toRef(xe,"hideOnClick")}),{t:Ue,ns:Fe,scrollbar:jt,wrapStyle:_n,dropdownTriggerKls:wn,dropdownSize:An,triggerId:Sn,triggerKeys:bn,currentTabId:hn,handleCurrentTabIdChange:In,handlerMainButtonClick:Hn=>{$e("click",Hn)},handleEntryFocus:On,handleClose:En,handleOpen:Tn,handleBeforeShowTooltip:Rn,handleShowTooltip:Bn,handleBeforeHideTooltip:Vn,onFocusAfterTrapped:Hn=>{var Fn,zn;Hn.preventDefault(),(zn=(Fn=Lt.value)==null?void 0:Fn.focus)==null||zn.call(Fn,{preventScroll:!0})},popperRef:Dt,contentRef:Lt,triggeringElementRef:qe,referenceElementRef:At}}});function _sfc_render$i(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-collection"),Lt=resolveComponent("el-roving-focus-group"),jt=resolveComponent("el-scrollbar"),hn=resolveComponent("el-only-child"),vn=resolveComponent("el-tooltip"),bn=resolveComponent("el-button"),_n=resolveComponent("arrow-down"),wn=resolveComponent("el-icon"),kn=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b(),xe.ns.is("disabled",xe.disabled)])},[createVNode$1(vn,{ref:"popperRef",role:xe.role,effect:xe.effect,"fallback-placements":["bottom","top"],"popper-options":xe.popperOptions,"gpu-acceleration":!1,"hide-after":xe.trigger==="hover"?xe.hideTimeout:0,"manual-mode":!0,placement:xe.placement,"popper-class":[xe.ns.e("popper"),xe.popperClass],"reference-element":(At=xe.referenceElementRef)==null?void 0:At.$el,trigger:xe.trigger,"trigger-keys":xe.triggerKeys,"trigger-target-el":xe.contentRef,"show-after":xe.trigger==="hover"?xe.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":xe.triggeringElementRef,"virtual-triggering":xe.splitButton,disabled:xe.disabled,transition:`${xe.ns.namespace.value}-zoom-in-top`,teleported:xe.teleported,pure:"",persistent:"",onBeforeShow:xe.handleBeforeShowTooltip,onShow:xe.handleShowTooltip,onBeforeHide:xe.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode$1(jt,{ref:"scrollbar","wrap-style":xe.wrapStyle,tag:"div","view-class":xe.ns.e("list")},{default:withCtx(()=>[createVNode$1(Lt,{loop:xe.loop,"current-tab-id":xe.currentTabId,orientation:"horizontal",onCurrentTabIdChange:xe.handleCurrentTabIdChange,onEntryFocus:xe.handleEntryFocus},{default:withCtx(()=>[createVNode$1(Dt,null,{default:withCtx(()=>[renderSlot(xe.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[xe.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode$1(hn,{id:xe.triggerId,ref:"triggeringElementRef",role:"button",tabindex:xe.tabindex},{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),xe.splitButton?(openBlock(),createBlock(kn,{key:0},{default:withCtx(()=>[createVNode$1(bn,mergeProps({ref:"referenceElementRef"},xe.buttonProps,{size:xe.dropdownSize,type:xe.type,disabled:xe.disabled,tabindex:xe.tabindex,onClick:xe.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode$1(bn,mergeProps({id:xe.triggerId,ref:"triggeringElementRef"},xe.buttonProps,{role:"button",size:xe.dropdownSize,type:xe.type,class:xe.ns.e("caret-button"),disabled:xe.disabled,tabindex:xe.tabindex,"aria-label":xe.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode$1(wn,{class:normalizeClass(xe.ns.e("icon"))},{default:withCtx(()=>[createVNode$1(_n)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc$1(_sfc_main$1e,[["render",_sfc_render$i],["__file","dropdown.vue"]]);const _sfc_main$1d=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(xe,{emit:$e}){const Ie=useNamespace("dropdown"),{role:Fe}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:Ue}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{collectionItemRef:qe}=inject(COLLECTION_ITEM_INJECTION_KEY$1,void 0),{rovingFocusGroupItemRef:At,tabIndex:Dt,handleFocus:Lt,handleKeydown:jt,handleMousedown:hn}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),vn=composeRefs(Ue,qe,At),bn=computed(()=>Fe.value==="menu"?"menuitem":Fe.value==="navigation"?"link":"button"),_n=composeEventHandlers(wn=>{const{code:kn}=wn;if(kn===EVENT_CODE.enter||kn===EVENT_CODE.space)return wn.preventDefault(),wn.stopImmediatePropagation(),$e("clickimpl",wn),!0},jt);return{ns:Ie,itemRef:vn,dataset:{[COLLECTION_ITEM_SIGN]:""},role:bn,tabIndex:Dt,handleFocus:Lt,handleKeydown:_n,handleMousedown:hn}}}),_hoisted_1$E=["aria-disabled","tabindex","role"];function _sfc_render$h(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[xe.divided?(openBlock(),createElementBlock("li",mergeProps({key:0,role:"separator",class:xe.ns.bem("menu","item","divided")},xe.$attrs),null,16)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:xe.itemRef},{...xe.dataset,...xe.$attrs},{"aria-disabled":xe.disabled,class:[xe.ns.be("menu","item"),xe.ns.is("disabled",xe.disabled)],tabindex:xe.tabIndex,role:xe.role,onClick:$e[0]||($e[0]=Dt=>xe.$emit("clickimpl",Dt)),onFocus:$e[1]||($e[1]=(...Dt)=>xe.handleFocus&&xe.handleFocus(...Dt)),onKeydown:$e[2]||($e[2]=withModifiers((...Dt)=>xe.handleKeydown&&xe.handleKeydown(...Dt),["self"])),onMousedown:$e[3]||($e[3]=(...Dt)=>xe.handleMousedown&&xe.handleMousedown(...Dt)),onPointermove:$e[4]||($e[4]=Dt=>xe.$emit("pointermove",Dt)),onPointerleave:$e[5]||($e[5]=Dt=>xe.$emit("pointerleave",Dt))}),[xe.icon?(openBlock(),createBlock(At,{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.icon)))]),_:1})):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default")],16,_hoisted_1$E)],64)}var ElDropdownItemImpl=_export_sfc$1(_sfc_main$1d,[["render",_sfc_render$h],["__file","dropdown-item-impl.vue"]]);const useDropdown=()=>{const xe=inject("elDropdown",{}),$e=computed(()=>xe==null?void 0:xe.dropdownSize);return{elDropdown:xe,_elDropdownSize:$e}},_sfc_main$1c=defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:ElCollectionItem,ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(xe,{emit:$e,attrs:Ie}){const{elDropdown:Fe}=useDropdown(),Ue=getCurrentInstance(),qe=ref(null),At=computed(()=>{var _n,wn;return(wn=(_n=unref(qe))==null?void 0:_n.textContent)!=null?wn:""}),{onItemEnter:Dt,onItemLeave:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),jt=composeEventHandlers(_n=>($e("pointermove",_n),_n.defaultPrevented),whenMouse(_n=>{if(xe.disabled){Lt(_n);return}const wn=_n.currentTarget;wn===document.activeElement||wn.contains(document.activeElement)||(Dt(_n),_n.defaultPrevented||wn==null||wn.focus())})),hn=composeEventHandlers(_n=>($e("pointerleave",_n),_n.defaultPrevented),whenMouse(_n=>{Lt(_n)})),vn=composeEventHandlers(_n=>{if(!xe.disabled)return $e("click",_n),_n.type!=="keydown"&&_n.defaultPrevented},_n=>{var wn,kn,Cn;if(xe.disabled){_n.stopImmediatePropagation();return}(wn=Fe==null?void 0:Fe.hideOnClick)!=null&&wn.value&&((kn=Fe.handleClick)==null||kn.call(Fe)),(Cn=Fe.commandHandler)==null||Cn.call(Fe,xe.command,Ue,_n)}),bn=computed(()=>({...xe,...Ie}));return{handleClick:vn,handlePointerMove:jt,handlePointerLeave:hn,textContent:At,propsAndAttrs:bn}}});function _sfc_render$g(xe,$e,Ie,Fe,Ue,qe){var At;const Dt=resolveComponent("el-dropdown-item-impl"),Lt=resolveComponent("el-roving-focus-item"),jt=resolveComponent("el-dropdown-collection-item");return openBlock(),createBlock(jt,{disabled:xe.disabled,"text-value":(At=xe.textValue)!=null?At:xe.textContent},{default:withCtx(()=>[createVNode$1(Lt,{focusable:!xe.disabled},{default:withCtx(()=>[createVNode$1(Dt,mergeProps(xe.propsAndAttrs,{onPointerleave:xe.handlePointerLeave,onPointermove:xe.handlePointerMove,onClickimpl:xe.handleClick}),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var DropdownItem=_export_sfc$1(_sfc_main$1c,[["render",_sfc_render$g],["__file","dropdown-item.vue"]]);const _sfc_main$1b=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(xe){const $e=useNamespace("dropdown"),{_elDropdownSize:Ie}=useDropdown(),Fe=Ie.value,{focusTrapRef:Ue,onKeydown:qe}=inject(FOCUS_TRAP_INJECTION_KEY,void 0),{contentRef:At,role:Dt,triggerId:Lt}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionRef:jt,getItems:hn}=inject(COLLECTION_INJECTION_KEY,void 0),{rovingFocusGroupRef:vn,rovingFocusGroupRootStyle:bn,tabIndex:_n,onBlur:wn,onFocus:kn,onMousedown:Cn}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:Sn}=inject(COLLECTION_INJECTION_KEY$1,void 0),xn=computed(()=>[$e.b("menu"),$e.bm("menu",Fe==null?void 0:Fe.value)]),En=composeRefs(At,jt,Ue,vn,Sn),Tn=composeEventHandlers($n=>{var Pn;(Pn=xe.onKeydown)==null||Pn.call(xe,$n)},$n=>{const{currentTarget:Pn,code:Nn,target:Mn}=$n;if(Pn.contains(Mn),EVENT_CODE.tab===Nn&&$n.stopImmediatePropagation(),$n.preventDefault(),Mn!==unref(At)||!FIRST_LAST_KEYS.includes(Nn))return;const On=hn().filter(Rn=>!Rn.disabled).map(Rn=>Rn.ref);LAST_KEYS.includes(Nn)&&On.reverse(),focusFirst(On)});return{size:Fe,rovingFocusGroupRootStyle:bn,tabIndex:_n,dropdownKls:xn,role:Dt,triggerId:Lt,dropdownListWrapperRef:En,handleKeydown:$n=>{Tn($n),qe($n)},onBlur:wn,onFocus:kn,onMousedown:Cn}}}),_hoisted_1$D=["role","aria-labelledby"];function _sfc_render$f(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("ul",{ref:xe.dropdownListWrapperRef,class:normalizeClass(xe.dropdownKls),style:normalizeStyle$1(xe.rovingFocusGroupRootStyle),tabindex:-1,role:xe.role,"aria-labelledby":xe.triggerId,onBlur:$e[0]||($e[0]=(...At)=>xe.onBlur&&xe.onBlur(...At)),onFocus:$e[1]||($e[1]=(...At)=>xe.onFocus&&xe.onFocus(...At)),onKeydown:$e[2]||($e[2]=withModifiers((...At)=>xe.handleKeydown&&xe.handleKeydown(...At),["self"])),onMousedown:$e[3]||($e[3]=withModifiers((...At)=>xe.onMousedown&&xe.onMousedown(...At),["self"]))},[renderSlot(xe.$slots,"default")],46,_hoisted_1$D)}var DropdownMenu=_export_sfc$1(_sfc_main$1b,[["render",_sfc_render$f],["__file","dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$C={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$o=["id"],_hoisted_3$a=["stop-color"],_hoisted_4$6=["stop-color"],_hoisted_5$5=["id"],_hoisted_6$3=["stop-color"],_hoisted_7$1=["stop-color"],_hoisted_8$1=["id"],_hoisted_9$1={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10$1={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},_hoisted_11$1={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},_hoisted_12$1=["fill"],_hoisted_13$1=["fill"],_hoisted_14$1={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15$1=["fill"],_hoisted_16$1=["fill"],_hoisted_17$1=["fill"],_hoisted_18$1=["fill"],_hoisted_19$1=["fill"],_hoisted_20$1={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_hoisted_21$1=["fill","xlink:href"],_hoisted_22$1=["fill","mask"],_hoisted_23$1=["fill"],__default__$T=defineComponent({name:"ImgEmpty"}),_sfc_main$1a=defineComponent({...__default__$T,setup(xe){const $e=useNamespace("empty"),Ie=useId();return(Fe,Ue)=>(openBlock(),createElementBlock("svg",_hoisted_1$C,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(Ie)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$a),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$6)],8,_hoisted_2$o),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(Ie)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$3),createBaseVNode("stop",{"stop-color":`var(${unref($e).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7$1)],8,_hoisted_5$5),createBaseVNode("rect",{id:`path-3-${unref(Ie)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8$1)]),createBaseVNode("g",_hoisted_9$1,[createBaseVNode("g",_hoisted_10$1,[createBaseVNode("g",_hoisted_11$1,[createBaseVNode("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${unref($e).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12$1),createBaseVNode("polygon",{id:"Rectangle-Copy-14",fill:`var(${unref($e).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,_hoisted_13$1),createBaseVNode("g",_hoisted_14$1,[createBaseVNode("polygon",{id:"Rectangle-Copy-10",fill:`var(${unref($e).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,_hoisted_15$1),createBaseVNode("polygon",{id:"Rectangle-Copy-11",fill:`var(${unref($e).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16$1),createBaseVNode("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${unref(Ie)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17$1),createBaseVNode("polygon",{id:"Rectangle-Copy-13",fill:`var(${unref($e).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,_hoisted_18$1)]),createBaseVNode("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${unref(Ie)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19$1),createBaseVNode("g",_hoisted_20$1,[createBaseVNode("use",{id:"Mask",fill:`var(${unref($e).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(Ie)}`},null,8,_hoisted_21$1),createBaseVNode("polygon",{id:"Rectangle-Copy",fill:`var(${unref($e).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(Ie)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,_hoisted_22$1)]),createBaseVNode("polygon",{id:"Rectangle-Copy-18",fill:`var(${unref($e).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,_hoisted_23$1)])])])]))}});var ImgEmpty=_export_sfc$1(_sfc_main$1a,[["__file","img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$B=["src"],_hoisted_2$n={key:1},__default__$S=defineComponent({name:"ElEmpty"}),_sfc_main$19=defineComponent({...__default__$S,props:emptyProps,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=useNamespace("empty"),Ue=computed(()=>$e.description||Ie("el.table.emptyText")),qe=computed(()=>({width:addUnit($e.imageSize)}));return(At,Dt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("image")),style:normalizeStyle$1(unref(qe))},[At.image?(openBlock(),createElementBlock("img",{key:0,src:At.image,ondragstart:"return false"},null,8,_hoisted_1$B)):renderSlot(At.$slots,"image",{key:1},()=>[createVNode$1(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("description"))},[At.$slots.description?renderSlot(At.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$n,toDisplayString(unref(Ue)),1))],2),At.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("bottom"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty=_export_sfc$1(_sfc_main$19,[["__file","empty.vue"]]);const ElEmpty=withInstall(Empty),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageViewerEmits={close:()=>!0,switch:xe=>isNumber$1(xe),rotate:xe=>isNumber$1(xe)},_hoisted_1$A=["src","crossorigin"],__default__$R=defineComponent({name:"ElImageViewer"}),_sfc_main$18=defineComponent({...__default__$R,props:imageViewerProps,emits:imageViewerEmits,setup(xe,{expose:$e,emit:Ie}){var Fe;const Ue=xe,qe={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},{t:At}=useLocale(),Dt=useNamespace("image-viewer"),{nextZIndex:Lt}=useZIndex(),jt=ref(),hn=ref([]),vn=effectScope(),bn=ref(!0),_n=ref(Ue.initialIndex),wn=shallowRef(qe.CONTAIN),kn=ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Cn=ref((Fe=Ue.zIndex)!=null?Fe:Lt()),Sn=computed(()=>{const{urlList:jn}=Ue;return jn.length<=1}),xn=computed(()=>_n.value===0),En=computed(()=>_n.value===Ue.urlList.length-1),Tn=computed(()=>Ue.urlList[_n.value]),An=computed(()=>[Dt.e("btn"),Dt.e("prev"),Dt.is("disabled",!Ue.infinite&&xn.value)]),$n=computed(()=>[Dt.e("btn"),Dt.e("next"),Dt.is("disabled",!Ue.infinite&&En.value)]),Pn=computed(()=>{const{scale:jn,deg:Gn,offsetX:Wn,offsetY:Xn,enableTransition:er}=kn.value;let rr=Wn/jn,Jn=Xn/jn;switch(Gn%360){case 90:case-270:[rr,Jn]=[Jn,-rr];break;case 180:case-180:[rr,Jn]=[-rr,-Jn];break;case 270:case-90:[rr,Jn]=[-Jn,rr];break}const qn={transform:`scale(${jn}) rotate(${Gn}deg) translate(${rr}px, ${Jn}px)`,transition:er?"transform .3s":""};return wn.value.name===qe.CONTAIN.name&&(qn.maxWidth=qn.maxHeight="100%"),qn});function Nn(){In(),Ie("close")}function Mn(){const jn=throttle$3(Wn=>{switch(Wn.code){case EVENT_CODE.esc:Ue.closeOnPressEscape&&Nn();break;case EVENT_CODE.space:Ln();break;case EVENT_CODE.left:Hn();break;case EVENT_CODE.up:zn("zoomIn");break;case EVENT_CODE.right:Fn();break;case EVENT_CODE.down:zn("zoomOut");break}}),Gn=throttle$3(Wn=>{const Xn=Wn.deltaY||Wn.deltaX;zn(Xn<0?"zoomIn":"zoomOut",{zoomRate:Ue.zoomRate,enableTransition:!1})});vn.run(()=>{useEventListener(document,"keydown",jn),useEventListener(document,"wheel",Gn)})}function In(){vn.stop()}function On(){bn.value=!1}function Rn(jn){bn.value=!1,jn.target.alt=At("el.image.error")}function Bn(jn){if(bn.value||jn.button!==0||!jt.value)return;kn.value.enableTransition=!1;const{offsetX:Gn,offsetY:Wn}=kn.value,Xn=jn.pageX,er=jn.pageY,rr=throttle$3(qn=>{kn.value={...kn.value,offsetX:Gn+qn.pageX-Xn,offsetY:Wn+qn.pageY-er}}),Jn=useEventListener(document,"mousemove",rr);useEventListener(document,"mouseup",()=>{Jn()}),jn.preventDefault()}function Vn(){kn.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Ln(){if(bn.value)return;const jn=keysOf(qe),Gn=Object.values(qe),Wn=wn.value.name,er=(Gn.findIndex(rr=>rr.name===Wn)+1)%jn.length;wn.value=qe[jn[er]],Vn()}function Dn(jn){const Gn=Ue.urlList.length;_n.value=(jn+Gn)%Gn}function Hn(){xn.value&&!Ue.infinite||Dn(_n.value-1)}function Fn(){En.value&&!Ue.infinite||Dn(_n.value+1)}function zn(jn,Gn={}){if(bn.value)return;const{minScale:Wn,maxScale:Xn}=Ue,{zoomRate:er,rotateDeg:rr,enableTransition:Jn}={zoomRate:Ue.zoomRate,rotateDeg:90,enableTransition:!0,...Gn};switch(jn){case"zoomOut":kn.value.scale>Wn&&(kn.value.scale=Number.parseFloat((kn.value.scale/er).toFixed(3)));break;case"zoomIn":kn.value.scale{nextTick(()=>{const jn=hn.value[0];jn!=null&&jn.complete||(bn.value=!0)})}),watch(_n,jn=>{Vn(),Ie("switch",jn)}),onMounted(()=>{var jn,Gn;Mn(),(Gn=(jn=jt.value)==null?void 0:jn.focus)==null||Gn.call(jn)}),$e({setActiveItem:Dn}),(jn,Gn)=>(openBlock(),createBlock(Teleport,{to:"body",disabled:!jn.teleported},[createVNode$1(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:jt,tabindex:-1,class:normalizeClass(unref(Dt).e("wrapper")),style:normalizeStyle$1({zIndex:Cn.value})},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("mask")),onClick:Gn[0]||(Gn[0]=withModifiers(Wn=>jn.hideOnClickModal&&Nn(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("close")]),onClick:Nn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),unref(Sn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(unref(An)),onClick:Hn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(unref($n)),onClick:Fn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],2)],64)),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(Dt).e("btn"),unref(Dt).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(Dt).e("actions__inner"))},[createVNode$1(unref(ElIcon),{onClick:Gn[1]||(Gn[1]=Wn=>zn("zoomOut"))},{default:withCtx(()=>[createVNode$1(unref(zoom_out_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[2]||(Gn[2]=Wn=>zn("zoomIn"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Ln},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn).icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(Dt).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:Gn[3]||(Gn[3]=Wn=>zn("anticlockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_left_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:Gn[4]||(Gn[4]=Wn=>zn("clockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_right_default))]),_:1})],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(Dt).e("canvas"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(jn.urlList,(Wn,Xn)=>withDirectives((openBlock(),createElementBlock("img",{ref_for:!0,ref:er=>hn.value[Xn]=er,key:Wn,src:Wn,style:normalizeStyle$1(unref(Pn)),class:normalizeClass(unref(Dt).e("img")),crossorigin:jn.crossorigin,onLoad:On,onError:Rn,onMousedown:Bn},null,46,_hoisted_1$A)),[[vShow,Xn===_n.value]])),128))],2),renderSlot(jn.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var ImageViewer=_export_sfc$1(_sfc_main$18,[["__file","image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:definePropType(String)}}),imageEmits={load:xe=>xe instanceof Event,error:xe=>xe instanceof Event,switch:xe=>isNumber$1(xe),close:()=>!0,show:()=>!0},_hoisted_1$z=["src","loading","crossorigin"],_hoisted_2$m={key:0},__default__$Q=defineComponent({name:"ElImage",inheritAttrs:!1}),_sfc_main$17=defineComponent({...__default__$Q,props:imageProps,emits:imageEmits,setup(xe,{emit:$e}){const Ie=xe;let Fe="";const{t:Ue}=useLocale(),qe=useNamespace("image"),At=useAttrs$1(),Dt=useAttrs(),Lt=ref(),jt=ref(!1),hn=ref(!0),vn=ref(!1),bn=ref(),_n=ref(),wn=isClient$1&&"loading"in HTMLImageElement.prototype;let kn,Cn;const Sn=computed(()=>[qe.e("inner"),Tn.value&&qe.e("preview"),hn.value&&qe.is("loading")]),xn=computed(()=>At.style),En=computed(()=>{const{fit:Fn}=Ie;return isClient$1&&Fn?{objectFit:Fn}:{}}),Tn=computed(()=>{const{previewSrcList:Fn}=Ie;return Array.isArray(Fn)&&Fn.length>0}),An=computed(()=>{const{previewSrcList:Fn,initialIndex:zn}=Ie;let jn=zn;return zn>Fn.length-1&&(jn=0),jn}),$n=computed(()=>Ie.loading==="eager"?!1:!wn&&Ie.loading==="lazy"||Ie.lazy),Pn=()=>{isClient$1&&(hn.value=!0,jt.value=!1,Lt.value=Ie.src)};function Nn(Fn){hn.value=!1,jt.value=!1,$e("load",Fn)}function Mn(Fn){hn.value=!1,jt.value=!0,$e("error",Fn)}function In(){isInContainer(bn.value,_n.value)&&(Pn(),Bn())}const On=useThrottleFn(In,200,!0);async function Rn(){var Fn;if(!isClient$1)return;await nextTick();const{scrollContainer:zn}=Ie;isElement$1(zn)?_n.value=zn:isString$4(zn)&&zn!==""?_n.value=(Fn=document.querySelector(zn))!=null?Fn:void 0:bn.value&&(_n.value=getScrollContainer(bn.value)),_n.value&&(kn=useEventListener(_n,"scroll",On),setTimeout(()=>In(),100))}function Bn(){!isClient$1||!_n.value||!On||(kn==null||kn(),_n.value=void 0)}function Vn(Fn){if(Fn.ctrlKey){if(Fn.deltaY<0)return Fn.preventDefault(),!1;if(Fn.deltaY>0)return Fn.preventDefault(),!1}}function Ln(){Tn.value&&(Cn=useEventListener("wheel",Vn,{passive:!1}),Fe=document.body.style.overflow,document.body.style.overflow="hidden",vn.value=!0,$e("show"))}function Dn(){Cn==null||Cn(),document.body.style.overflow=Fe,vn.value=!1,$e("close")}function Hn(Fn){$e("switch",Fn)}return watch(()=>Ie.src,()=>{$n.value?(hn.value=!0,jt.value=!1,Bn(),Rn()):Pn()}),onMounted(()=>{$n.value?Rn():Pn()}),(Fn,zn)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:bn,class:normalizeClass([unref(qe).b(),Fn.$attrs.class]),style:normalizeStyle$1(unref(xn))},[jt.value?renderSlot(Fn.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("error"))},toDisplayString(unref(Ue)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[Lt.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(Dt),{src:Lt.value,loading:Fn.loading,style:unref(En),class:unref(Sn),crossorigin:Fn.crossorigin,onClick:Ln,onLoad:Nn,onError:Mn}),null,16,_hoisted_1$z)):createCommentVNode("v-if",!0),hn.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(qe).e("wrapper"))},[renderSlot(Fn.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(qe).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),unref(Tn)?(openBlock(),createElementBlock(Fragment,{key:2},[vn.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":Fn.zIndex,"initial-index":unref(An),infinite:Fn.infinite,"zoom-rate":Fn.zoomRate,"min-scale":Fn.minScale,"max-scale":Fn.maxScale,"url-list":Fn.previewSrcList,"hide-on-click-modal":Fn.hideOnClickModal,teleported:Fn.previewTeleported,"close-on-press-escape":Fn.closeOnPressEscape,onClose:Dn,onSwitch:Hn},{default:withCtx(()=>[Fn.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$m,[renderSlot(Fn.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],6))}});var Image$1=_export_sfc$1(_sfc_main$17,[["__file","image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:xe=>xe===null||isNumber$1(xe)||["min","max"].includes(xe),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:xe=>xe>=0&&xe===Number.parseInt(`${xe}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),inputNumberEmits={[CHANGE_EVENT]:(xe,$e)=>$e!==xe,blur:xe=>xe instanceof FocusEvent,focus:xe=>xe instanceof FocusEvent,[INPUT_EVENT]:xe=>isNumber$1(xe)||isNil(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)||isNil(xe)},_hoisted_1$y=["aria-label","onKeydown"],_hoisted_2$l=["aria-label","onKeydown"],__default__$P=defineComponent({name:"ElInputNumber"}),_sfc_main$16=defineComponent({...__default__$P,props:inputNumberProps,emits:inputNumberEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{t:Ue}=useLocale(),qe=useNamespace("input-number"),At=ref(),Dt=reactive({currentValue:Fe.modelValue,userInput:null}),{formItem:Lt}=useFormItem(),jt=computed(()=>isNumber$1(Fe.modelValue)&&Fe.modelValue<=Fe.min),hn=computed(()=>isNumber$1(Fe.modelValue)&&Fe.modelValue>=Fe.max),vn=computed(()=>{const Ln=Sn(Fe.step);return isUndefined(Fe.precision)?Math.max(Sn(Fe.modelValue),Ln):(Ln>Fe.precision,Fe.precision)}),bn=computed(()=>Fe.controls&&Fe.controlsPosition==="right"),_n=useFormSize(),wn=useFormDisabled(),kn=computed(()=>{if(Dt.userInput!==null)return Dt.userInput;let Ln=Dt.currentValue;if(isNil(Ln))return"";if(isNumber$1(Ln)){if(Number.isNaN(Ln))return"";isUndefined(Fe.precision)||(Ln=Ln.toFixed(Fe.precision))}return Ln}),Cn=(Ln,Dn)=>{if(isUndefined(Dn)&&(Dn=vn.value),Dn===0)return Math.round(Ln);let Hn=String(Ln);const Fn=Hn.indexOf(".");if(Fn===-1||!Hn.replace(".","").split("")[Fn+Dn])return Ln;const Gn=Hn.length;return Hn.charAt(Gn-1)==="5"&&(Hn=`${Hn.slice(0,Math.max(0,Gn-1))}6`),Number.parseFloat(Number(Hn).toFixed(Dn))},Sn=Ln=>{if(isNil(Ln))return 0;const Dn=Ln.toString(),Hn=Dn.indexOf(".");let Fn=0;return Hn!==-1&&(Fn=Dn.length-Hn-1),Fn},xn=(Ln,Dn=1)=>isNumber$1(Ln)?Cn(Ln+Fe.step*Dn):Dt.currentValue,En=()=>{if(Fe.readonly||wn.value||hn.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},Tn=()=>{if(Fe.readonly||wn.value||jt.value)return;const Ln=Number(kn.value)||0,Dn=xn(Ln,-1);$n(Dn),Ie(INPUT_EVENT,Dt.currentValue),Bn()},An=(Ln,Dn)=>{const{max:Hn,min:Fn,step:zn,precision:jn,stepStrictly:Gn,valueOnClear:Wn}=Fe;HnHn||XnHn?Hn:Fn,Dn&&Ie(UPDATE_MODEL_EVENT,Xn)),Xn},$n=(Ln,Dn=!0)=>{var Hn;const Fn=Dt.currentValue,zn=An(Ln);if(!Dn){Ie(UPDATE_MODEL_EVENT,zn);return}Fn===zn&&Ln||(Dt.userInput=null,Ie(UPDATE_MODEL_EVENT,zn),Fn!==zn&&Ie(CHANGE_EVENT,zn,Fn),Fe.validateEvent&&((Hn=Lt==null?void 0:Lt.validate)==null||Hn.call(Lt,"change").catch(jn=>void 0)),Dt.currentValue=zn)},Pn=Ln=>{Dt.userInput=Ln;const Dn=Ln===""?null:Number(Ln);Ie(INPUT_EVENT,Dn),$n(Dn,!1)},Nn=Ln=>{const Dn=Ln!==""?Number(Ln):"";(isNumber$1(Dn)&&!Number.isNaN(Dn)||Ln==="")&&$n(Dn),Bn(),Dt.userInput=null},Mn=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.focus)==null||Dn.call(Ln)},In=()=>{var Ln,Dn;(Dn=(Ln=At.value)==null?void 0:Ln.blur)==null||Dn.call(Ln)},On=Ln=>{Ie("focus",Ln)},Rn=Ln=>{var Dn;Dt.userInput=null,Ie("blur",Ln),Fe.validateEvent&&((Dn=Lt==null?void 0:Lt.validate)==null||Dn.call(Lt,"blur").catch(Hn=>void 0))},Bn=()=>{Dt.currentValue!==Fe.modelValue&&(Dt.currentValue=Fe.modelValue)},Vn=Ln=>{document.activeElement===Ln.target&&Ln.preventDefault()};return watch(()=>Fe.modelValue,(Ln,Dn)=>{const Hn=An(Ln,!0);Dt.userInput===null&&Hn!==Dn&&(Dt.currentValue=Hn)},{immediate:!0}),onMounted(()=>{var Ln;const{min:Dn,max:Hn,modelValue:Fn}=Fe,zn=(Ln=At.value)==null?void 0:Ln.input;if(zn.setAttribute("role","spinbutton"),Number.isFinite(Hn)?zn.setAttribute("aria-valuemax",String(Hn)):zn.removeAttribute("aria-valuemax"),Number.isFinite(Dn)?zn.setAttribute("aria-valuemin",String(Dn)):zn.removeAttribute("aria-valuemin"),zn.setAttribute("aria-valuenow",Dt.currentValue||Dt.currentValue===0?String(Dt.currentValue):""),zn.setAttribute("aria-disabled",String(wn.value)),!isNumber$1(Fn)&&Fn!=null){let jn=Number(Fn);Number.isNaN(jn)&&(jn=null),Ie(UPDATE_MODEL_EVENT,jn)}zn.addEventListener("wheel",Vn,{passive:!1})}),onUpdated(()=>{var Ln,Dn;const Hn=(Ln=At.value)==null?void 0:Ln.input;Hn==null||Hn.setAttribute("aria-valuenow",`${(Dn=Dt.currentValue)!=null?Dn:""}`)}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input-number",ref:"https://element-plus.org/en-US/component/input-number.html"},computed(()=>!!Fe.label)),$e({focus:Mn,blur:In}),(Ln,Dn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(qe).b(),unref(qe).m(unref(_n)),unref(qe).is("disabled",unref(wn)),unref(qe).is("without-controls",!Ln.controls),unref(qe).is("controls-right",unref(bn))]),onDragstart:Dn[0]||(Dn[0]=withModifiers(()=>{},["prevent"]))},[Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref(Ue)("el.inputNumber.decrease"),class:normalizeClass([unref(qe).e("decrease"),unref(qe).is("disabled",unref(jt))]),onKeydown:withKeys(Tn,["enter"])},[renderSlot(Ln.$slots,"decrease-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})])],42,_hoisted_1$y)),[[unref(vRepeatClick),Tn]]):createCommentVNode("v-if",!0),Ln.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref(Ue)("el.inputNumber.increase"),class:normalizeClass([unref(qe).e("increase"),unref(qe).is("disabled",unref(hn))]),onKeydown:withKeys(En,["enter"])},[renderSlot(Ln.$slots,"increase-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[unref(bn)?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})])],42,_hoisted_2$l)),[[unref(vRepeatClick),En]]):createCommentVNode("v-if",!0),createVNode$1(unref(ElInput),{id:Ln.id,ref_key:"input",ref:At,type:"number",step:Ln.step,"model-value":unref(kn),placeholder:Ln.placeholder,readonly:Ln.readonly,disabled:unref(wn),size:unref(_n),max:Ln.max,min:Ln.min,name:Ln.name,"aria-label":Ln.label||Ln.ariaLabel,"validate-event":!1,onKeydown:[withKeys(withModifiers(En,["prevent"]),["up"]),withKeys(withModifiers(Tn,["prevent"]),["down"])],onBlur:Rn,onFocus:On,onInput:Pn,onChange:Nn},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],34))}});var InputNumber=_export_sfc$1(_sfc_main$16,[["__file","input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:xe=>xe instanceof MouseEvent},_hoisted_1$x=["href","target"],__default__$O=defineComponent({name:"ElLink"}),_sfc_main$15=defineComponent({...__default__$O,props:linkProps,emits:linkEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("link"),Ue=computed(()=>[Fe.b(),Fe.m(Ie.type),Fe.is("disabled",Ie.disabled),Fe.is("underline",Ie.underline&&!Ie.disabled)]);function qe(At){Ie.disabled||$e("click",At)}return(At,Dt)=>(openBlock(),createElementBlock("a",{class:normalizeClass(unref(Ue)),href:At.disabled||!At.href?void 0:At.href,target:At.disabled||!At.href?void 0:At.target,onClick:qe},[At.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(At.icon)))]),_:1})):createCommentVNode("v-if",!0),At.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(Fe).e("inner"))},[renderSlot(At.$slots,"default")],2)):createCommentVNode("v-if",!0),At.$slots.icon?renderSlot(At.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$x))}});var Link=_export_sfc$1(_sfc_main$15,[["__file","link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor($e,Ie){this.parent=$e,this.domNode=Ie,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex($e){$e===this.subMenuItems.length?$e=0:$e<0&&($e=this.subMenuItems.length-1),this.subMenuItems[$e].focus(),this.subIndex=$e}addListeners(){const $e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,Ie=>{Ie.addEventListener("keydown",Fe=>{let Ue=!1;switch(Fe.code){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),Ue=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),Ue=!0;break}case EVENT_CODE.tab:{triggerEvent($e,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ue=!0,Fe.currentTarget.click();break}}return Ue&&(Fe.preventDefault(),Fe.stopPropagation()),!1})})}},MenuItem$1=class{constructor($e,Ie){this.domNode=$e,this.submenu=null,this.submenu=null,this.init(Ie)}init($e){this.domNode.setAttribute("tabindex","0");const Ie=this.domNode.querySelector(`.${$e}-menu`);Ie&&(this.submenu=new SubMenu$1(this,Ie)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",$e=>{let Ie=!1;switch($e.code){case EVENT_CODE.down:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),Ie=!0;break}case EVENT_CODE.up:{triggerEvent($e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),Ie=!0;break}case EVENT_CODE.tab:{triggerEvent($e.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.space:{Ie=!0,$e.currentTarget.click();break}}Ie&&$e.preventDefault()})}},Menu$1=class{constructor($e,Ie){this.domNode=$e,this.init(Ie)}init($e){const Ie=this.domNode.childNodes;Array.from(Ie).forEach(Fe=>{Fe.nodeType===1&&new MenuItem$1(Fe,$e)})}};const _sfc_main$14=defineComponent({name:"ElMenuCollapseTransition",setup(){const xe=useNamespace("menu");return{listeners:{onBeforeEnter:Ie=>Ie.style.opacity="0.2",onEnter(Ie,Fe){addClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity="1",Fe()},onAfterEnter(Ie){removeClass(Ie,`${xe.namespace.value}-opacity-transition`),Ie.style.opacity=""},onBeforeLeave(Ie){Ie.dataset||(Ie.dataset={}),hasClass(Ie,xe.m("collapse"))?(removeClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),addClass(Ie,xe.m("collapse"))):(addClass(Ie,xe.m("collapse")),Ie.dataset.oldOverflow=Ie.style.overflow,Ie.dataset.scrollWidth=Ie.clientWidth.toString(),removeClass(Ie,xe.m("collapse"))),Ie.style.width=`${Ie.scrollWidth}px`,Ie.style.overflow="hidden"},onLeave(Ie){addClass(Ie,"horizontal-collapse-transition"),Ie.style.width=`${Ie.dataset.scrollWidth}px`}}}}});function _sfc_render$e(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},xe.listeners),{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3},16)}var ElMenuCollapseTransition=_export_sfc$1(_sfc_main$14,[["render",_sfc_render$e],["__file","menu-collapse-transition.vue"]]);function useMenu(xe,$e){const Ie=computed(()=>{let Ue=xe.parent;const qe=[$e.value];for(;Ue.type.name!=="ElMenu";)Ue.props.index&&qe.unshift(Ue.props.index),Ue=Ue.parent;return qe});return{parentMenu:computed(()=>{let Ue=xe.parent;for(;Ue&&!["ElMenu","ElSubMenu"].includes(Ue.type.name);)Ue=Ue.parent;return Ue}),indexPath:Ie}}function useMenuColor(xe){return computed(()=>{const Ie=xe.backgroundColor;return Ie?new TinyColor(Ie).shade(20).toString():""})}const useMenuCssVar=(xe,$e)=>{const Ie=useNamespace("menu");return computed(()=>Ie.cssVarBlock({"text-color":xe.textColor||"","hover-text-color":xe.textColor||"","bg-color":xe.backgroundColor||"","hover-bg-color":useMenuColor(xe).value||"","active-color":xe.activeTextColor||"",level:`${$e}`}))},subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$c="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$c,props:subMenuProps,setup(xe,{slots:$e,expose:Ie}){const Fe=getCurrentInstance(),{indexPath:Ue,parentMenu:qe}=useMenu(Fe,computed(()=>xe.index)),At=useNamespace("menu"),Dt=useNamespace("sub-menu"),Lt=inject("rootMenu");Lt||throwError$1(COMPONENT_NAME$c,"can not inject root menu");const jt=inject(`subMenu:${qe.value.uid}`);jt||throwError$1(COMPONENT_NAME$c,"can not inject sub menu");const hn=ref({}),vn=ref({});let bn;const _n=ref(!1),wn=ref(),kn=ref(null),Cn=computed(()=>Nn.value==="horizontal"&&xn.value?"bottom-start":"right-start"),Sn=computed(()=>Nn.value==="horizontal"&&xn.value||Nn.value==="vertical"&&!Lt.props.collapse?xe.expandCloseIcon&&xe.expandOpenIcon?$n.value?xe.expandOpenIcon:xe.expandCloseIcon:arrow_down_default:xe.collapseCloseIcon&&xe.collapseOpenIcon?$n.value?xe.collapseOpenIcon:xe.collapseCloseIcon:arrow_right_default),xn=computed(()=>jt.level===0),En=computed(()=>{const jn=xe.teleported;return jn===void 0?xn.value:jn}),Tn=computed(()=>Lt.props.collapse?`${At.namespace.value}-zoom-in-left`:`${At.namespace.value}-zoom-in-top`),An=computed(()=>Nn.value==="horizontal"&&xn.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),$n=computed(()=>Lt.openedMenus.includes(xe.index)),Pn=computed(()=>{let jn=!1;return Object.values(hn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),Object.values(vn.value).forEach(Gn=>{Gn.active&&(jn=!0)}),jn}),Nn=computed(()=>Lt.props.mode),Mn=reactive({index:xe.index,indexPath:Ue,active:Pn}),In=useMenuCssVar(Lt.props,jt.level+1),On=computed(()=>{var jn;return(jn=xe.popperOffset)!=null?jn:Lt.props.popperOffset}),Rn=computed(()=>{var jn;return(jn=xe.popperClass)!=null?jn:Lt.props.popperClass}),Bn=computed(()=>{var jn;return(jn=xe.showTimeout)!=null?jn:Lt.props.showTimeout}),Vn=computed(()=>{var jn;return(jn=xe.hideTimeout)!=null?jn:Lt.props.hideTimeout}),Ln=()=>{var jn,Gn,Wn;return(Wn=(Gn=(jn=kn.value)==null?void 0:jn.popperRef)==null?void 0:Gn.popperInstanceRef)==null?void 0:Wn.destroy()},Dn=jn=>{jn||Ln()},Hn=()=>{Lt.props.menuTrigger==="hover"&&Lt.props.mode==="horizontal"||Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled||Lt.handleSubMenuClick({index:xe.index,indexPath:Ue.value,active:Pn.value})},Fn=(jn,Gn=Bn.value)=>{var Wn;if(jn.type!=="focus"){if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"||xe.disabled){jt.mouseInChild.value=!0;return}jt.mouseInChild.value=!0,bn==null||bn(),{stop:bn}=useTimeoutFn$1(()=>{Lt.openMenu(xe.index,Ue.value)},Gn),En.value&&((Wn=qe.value.vnode.el)==null||Wn.dispatchEvent(new MouseEvent("mouseenter")))}},zn=(jn=!1)=>{var Gn;if(Lt.props.menuTrigger==="click"&&Lt.props.mode==="horizontal"||!Lt.props.collapse&&Lt.props.mode==="vertical"){jt.mouseInChild.value=!1;return}bn==null||bn(),jt.mouseInChild.value=!1,{stop:bn}=useTimeoutFn$1(()=>!_n.value&&Lt.closeMenu(xe.index,Ue.value),Vn.value),En.value&&jn&&((Gn=jt.handleMouseleave)==null||Gn.call(jt,!0))};watch(()=>Lt.props.collapse,jn=>Dn(!!jn));{const jn=Wn=>{vn.value[Wn.index]=Wn},Gn=Wn=>{delete vn.value[Wn.index]};provide(`subMenu:${Fe.uid}`,{addSubMenu:jn,removeSubMenu:Gn,handleMouseleave:zn,mouseInChild:_n,level:jt.level+1})}return Ie({opened:$n}),onMounted(()=>{Lt.addSubMenu(Mn),jt.addSubMenu(Mn)}),onBeforeUnmount(()=>{jt.removeSubMenu(Mn),Lt.removeSubMenu(Mn)}),()=>{var jn;const Gn=[(jn=$e.title)==null?void 0:jn.call($e),h$5(ElIcon,{class:Dt.e("icon-arrow"),style:{transform:$n.value?xe.expandCloseIcon&&xe.expandOpenIcon||xe.collapseCloseIcon&&xe.collapseOpenIcon&&Lt.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$4(Sn.value)?h$5(Fe.appContext.components[Sn.value]):h$5(Sn.value)})],Wn=Lt.isMenuPopup?h$5(ElTooltip,{ref:kn,visible:$n.value,effect:"light",pure:!0,offset:On.value,showArrow:!1,persistent:!0,popperClass:Rn.value,placement:Cn.value,teleported:En.value,fallbackPlacements:An.value,transition:Tn.value,gpuAcceleration:!1},{content:()=>{var Xn;return h$5("div",{class:[At.m(Nn.value),At.m("popup-container"),Rn.value],onMouseenter:er=>Fn(er,100),onMouseleave:()=>zn(!0),onFocus:er=>Fn(er,100)},[h$5("ul",{class:[At.b(),At.m("popup"),At.m(`popup-${Cn.value}`)],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)])])},default:()=>h$5("div",{class:Dt.e("title"),onClick:Hn},Gn)}):h$5(Fragment,{},[h$5("div",{class:Dt.e("title"),ref:wn,onClick:Hn},Gn),h$5(_CollapseTransition,{},{default:()=>{var Xn;return withDirectives(h$5("ul",{role:"menu",class:[At.b(),At.m("inline")],style:In.value},[(Xn=$e.default)==null?void 0:Xn.call($e)]),[[vShow,$n.value]])}})]);return h$5("li",{class:[Dt.b(),Dt.is("active",Pn.value),Dt.is("opened",$n.value),Dt.is("disabled",xe.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:$n.value,onMouseenter:Fn,onMouseleave:()=>zn(),onFocus:Fn},[Wn])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:iconPropType,default:()=>more_default},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),checkIndexPath=xe=>Array.isArray(xe)&&xe.every($e=>isString$4($e)),menuEmits={close:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),open:(xe,$e)=>isString$4(xe)&&checkIndexPath($e),select:(xe,$e,Ie,Fe)=>isString$4(xe)&&checkIndexPath($e)&&isObject$8(Ie)&&(Fe===void 0||Fe instanceof Promise)};var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){const Ue=getCurrentInstance(),qe=Ue.appContext.config.globalProperties.$router,At=ref(),Dt=useNamespace("menu"),Lt=useNamespace("sub-menu"),jt=ref(-1),hn=ref(xe.defaultOpeneds&&!xe.collapse?xe.defaultOpeneds.slice(0):[]),vn=ref(xe.defaultActive),bn=ref({}),_n=ref({}),wn=computed(()=>xe.mode==="horizontal"||xe.mode==="vertical"&&xe.collapse),kn=()=>{const Vn=vn.value&&bn.value[vn.value];if(!Vn||xe.mode==="horizontal"||xe.collapse)return;Vn.indexPath.forEach(Dn=>{const Hn=_n.value[Dn];Hn&&Cn(Dn,Hn.indexPath)})},Cn=(Vn,Ln)=>{hn.value.includes(Vn)||(xe.uniqueOpened&&(hn.value=hn.value.filter(Dn=>Ln.includes(Dn))),hn.value.push(Vn),$e("open",Vn,Ln))},Sn=Vn=>{const Ln=hn.value.indexOf(Vn);Ln!==-1&&hn.value.splice(Ln,1)},xn=(Vn,Ln)=>{Sn(Vn),$e("close",Vn,Ln)},En=({index:Vn,indexPath:Ln})=>{hn.value.includes(Vn)?xn(Vn,Ln):Cn(Vn,Ln)},Tn=Vn=>{(xe.mode==="horizontal"||xe.collapse)&&(hn.value=[]);const{index:Ln,indexPath:Dn}=Vn;if(!(isNil(Ln)||isNil(Dn)))if(xe.router&&qe){const Hn=Vn.route||Ln,Fn=qe.push(Hn).then(zn=>(zn||(vn.value=Ln),zn));$e("select",Ln,Dn,{index:Ln,indexPath:Dn,route:Hn},Fn)}else vn.value=Ln,$e("select",Ln,Dn,{index:Ln,indexPath:Dn})},An=Vn=>{const Ln=bn.value,Dn=Ln[Vn]||vn.value&&Ln[vn.value]||Ln[xe.defaultActive];Dn?vn.value=Dn.index:vn.value=Vn},$n=Vn=>{const Ln=getComputedStyle(Vn),Dn=Number.parseInt(Ln.marginLeft,10),Hn=Number.parseInt(Ln.marginRight,10);return Vn.offsetWidth+Dn+Hn||0},Pn=()=>{var Vn,Ln;if(!At.value)return-1;const Dn=Array.from((Ln=(Vn=At.value)==null?void 0:Vn.childNodes)!=null?Ln:[]).filter(er=>er.nodeName!=="#comment"&&(er.nodeName!=="#text"||er.nodeValue)),Hn=64,Fn=getComputedStyle(At.value),zn=Number.parseInt(Fn.paddingLeft,10),jn=Number.parseInt(Fn.paddingRight,10),Gn=At.value.clientWidth-zn-jn;let Wn=0,Xn=0;return Dn.forEach((er,rr)=>{Wn+=$n(er),Wn<=Gn-Hn&&(Xn=rr+1)}),Xn===Dn.length?-1:Xn},Nn=Vn=>_n.value[Vn].indexPath,Mn=(Vn,Ln=33.34)=>{let Dn;return()=>{Dn&&clearTimeout(Dn),Dn=setTimeout(()=>{Vn()},Ln)}};let In=!0;const On=()=>{if(jt.value===Pn())return;const Vn=()=>{jt.value=-1,nextTick(()=>{jt.value=Pn()})};In?Vn():Mn(Vn)(),In=!1};watch(()=>xe.defaultActive,Vn=>{bn.value[Vn]||(vn.value=""),An(Vn)}),watch(()=>xe.collapse,Vn=>{Vn&&(hn.value=[])}),watch(bn.value,kn);let Rn;watchEffect(()=>{xe.mode==="horizontal"&&xe.ellipsis?Rn=useResizeObserver(At,On).stop:Rn==null||Rn()});const Bn=ref(!1);{const Vn=Fn=>{_n.value[Fn.index]=Fn},Ln=Fn=>{delete _n.value[Fn.index]};provide("rootMenu",reactive({props:xe,openedMenus:hn,items:bn,subMenus:_n,activeIndex:vn,isMenuPopup:wn,addMenuItem:Fn=>{bn.value[Fn.index]=Fn},removeMenuItem:Fn=>{delete bn.value[Fn.index]},addSubMenu:Vn,removeSubMenu:Ln,openMenu:Cn,closeMenu:xn,handleMenuItemClick:Tn,handleSubMenuClick:En})),provide(`subMenu:${Ue.uid}`,{addSubMenu:Vn,removeSubMenu:Ln,mouseInChild:Bn,level:0})}return onMounted(()=>{xe.mode==="horizontal"&&new Menu$1(Ue.vnode.el,Dt.namespace.value)}),Fe({open:Ln=>{const{indexPath:Dn}=_n.value[Ln];Dn.forEach(Hn=>Cn(Hn,Dn))},close:Sn,handleResize:On}),()=>{var Vn,Ln;let Dn=(Ln=(Vn=Ie.default)==null?void 0:Vn.call(Ie))!=null?Ln:[];const Hn=[];if(xe.mode==="horizontal"&&At.value){const Gn=flattedChildren(Dn),Wn=jt.value===-1?Gn:Gn.slice(0,jt.value),Xn=jt.value===-1?[]:Gn.slice(jt.value);Xn!=null&&Xn.length&&xe.ellipsis&&(Dn=Wn,Hn.push(h$5(SubMenu,{index:"sub-menu-more",class:Lt.e("hide-arrow"),popperOffset:xe.popperOffset},{title:()=>h$5(ElIcon,{class:Lt.e("icon-more")},{default:()=>h$5(xe.ellipsisIcon)}),default:()=>Xn})))}const Fn=useMenuCssVar(xe,0),zn=xe.closeOnClickOutside?[[ClickOutside,()=>{hn.value.length&&(Bn.value||(hn.value.forEach(Gn=>$e("close",Gn,Nn(Gn))),hn.value=[]))}]]:[],jn=withDirectives(h$5("ul",{key:String(xe.collapse),role:"menubar",ref:At,style:Fn.value,class:{[Dt.b()]:!0,[Dt.m(xe.mode)]:!0,[Dt.m("collapse")]:xe.collapse}},[...Dn,...Hn]),zn);return xe.collapseTransition&&xe.mode==="vertical"?h$5(ElMenuCollapseTransition,()=>jn):jn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:xe=>isString$4(xe.index)&&Array.isArray(xe.indexPath)},COMPONENT_NAME$b="ElMenuItem",_sfc_main$13=defineComponent({name:COMPONENT_NAME$b,components:{ElTooltip},props:menuItemProps,emits:menuItemEmits,setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject("rootMenu"),Ue=useNamespace("menu"),qe=useNamespace("menu-item");Fe||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const{parentMenu:At,indexPath:Dt}=useMenu(Ie,toRef(xe,"index")),Lt=inject(`subMenu:${At.value.uid}`);Lt||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const jt=computed(()=>xe.index===Fe.activeIndex),hn=reactive({index:xe.index,indexPath:Dt,active:jt}),vn=()=>{xe.disabled||(Fe.handleMenuItemClick({index:xe.index,indexPath:Dt.value,route:xe.route}),$e("click",hn))};return onMounted(()=>{Lt.addSubMenu(hn),Fe.addMenuItem(hn)}),onBeforeUnmount(()=>{Lt.removeSubMenu(hn),Fe.removeMenuItem(hn)}),{parentMenu:At,rootMenu:Fe,active:jt,nsMenu:Ue,nsMenuItem:qe,handleClick:vn}}});function _sfc_render$d(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tooltip");return openBlock(),createElementBlock("li",{class:normalizeClass([xe.nsMenuItem.b(),xe.nsMenuItem.is("active",xe.active),xe.nsMenuItem.is("disabled",xe.disabled)]),role:"menuitem",tabindex:"-1",onClick:$e[0]||($e[0]=(...Dt)=>xe.handleClick&&xe.handleClick(...Dt))},[xe.parentMenu.type.name==="ElMenu"&&xe.rootMenu.props.collapse&&xe.$slots.title?(openBlock(),createBlock(At,{key:0,effect:xe.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:withCtx(()=>[renderSlot(xe.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsMenu.be("tooltip","trigger"))},[renderSlot(xe.$slots,"default")],2)]),_:3},8,["effect"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(xe.$slots,"default"),renderSlot(xe.$slots,"title")],64))],2)}var MenuItem=_export_sfc$1(_sfc_main$13,[["render",_sfc_render$d],["__file","menu-item.vue"]]);const menuItemGroupProps={title:String},COMPONENT_NAME$a="ElMenuItemGroup",_sfc_main$12=defineComponent({name:COMPONENT_NAME$a,props:menuItemGroupProps,setup(){return{ns:useNamespace("menu-item-group")}}});function _sfc_render$c(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{class:normalizeClass(xe.ns.b())},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.$slots.title?renderSlot(xe.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(xe.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(xe.$slots,"default")])],2)}var MenuItemGroup=_export_sfc$1(_sfc_main$12,[["render",_sfc_render$c],["__file","menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem,MenuItemGroup,SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},_hoisted_1$w=["aria-label"],__default__$N=defineComponent({name:"ElPageHeader"}),_sfc_main$11=defineComponent({...__default__$N,props:pageHeaderProps,emits:pageHeaderEmits,setup(xe,{emit:$e}){const Ie=useSlots(),{t:Fe}=useLocale(),Ue=useNamespace("page-header"),qe=computed(()=>[Ue.b(),{[Ue.m("has-breadcrumb")]:!!Ie.breadcrumb,[Ue.m("has-extra")]:!!Ie.extra,[Ue.is("contentful")]:!!Ie.default}]);function At(){$e("back")}return(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(qe))},[Dt.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("breadcrumb"))},[renderSlot(Dt.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("back")),role:"button",tabindex:"0",onClick:At},[Dt.icon||Dt.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":Dt.title||unref(Fe)("el.pageHeader.title"),class:normalizeClass(unref(Ue).e("icon"))},[renderSlot(Dt.$slots,"icon",{},()=>[Dt.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Dt.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$w)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("title"))},[renderSlot(Dt.$slots,"title",{},()=>[createTextVNode(toDisplayString(Dt.title||unref(Fe)("el.pageHeader.title")),1)])],2)],2),createVNode$1(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("content"))},[renderSlot(Dt.$slots,"content",{},()=>[createTextVNode(toDisplayString(Dt.content),1)])],2)],2),Dt.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ue).e("extra"))},[renderSlot(Dt.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),Dt.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).e("main"))},[renderSlot(Dt.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc$1(_sfc_main$11,[["__file","page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:xe=>xe instanceof MouseEvent},_hoisted_1$v=["disabled","aria-label","aria-disabled"],_hoisted_2$k={key:0},__default__$M=defineComponent({name:"ElPaginationPrev"}),_sfc_main$10=defineComponent({...__default__$M,props:paginationPrevProps,emits:paginationPrevEmits,setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage<=1);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:unref(Fe),"aria-label":Ue.prevText||unref(Ie)("el.pagination.prev"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.prevText?(openBlock(),createElementBlock("span",_hoisted_2$k,toDisplayString(Ue.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.prevIcon)))]),_:1}))],8,_hoisted_1$v))}});var Prev=_export_sfc$1(_sfc_main$10,[["__file","prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$u=["disabled","aria-label","aria-disabled"],_hoisted_2$j={key:0},__default__$L=defineComponent({name:"ElPaginationNext"}),_sfc_main$$=defineComponent({...__default__$L,props:paginationNextProps,emits:["click"],setup(xe){const $e=xe,{t:Ie}=useLocale(),Fe=computed(()=>$e.disabled||$e.currentPage===$e.pageCount||$e.pageCount===0);return(Ue,qe)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:unref(Fe),"aria-label":Ue.nextText||unref(Ie)("el.pagination.next"),"aria-disabled":unref(Fe),onClick:qe[0]||(qe[0]=At=>Ue.$emit("click",At))},[Ue.nextText?(openBlock(),createElementBlock("span",_hoisted_2$j,toDisplayString(Ue.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.nextIcon)))]),_:1}))],8,_hoisted_1$u))}});var Next=_export_sfc$1(_sfc_main$$,[["__file","next.vue"]]);const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect");function useOption$1(xe,$e){const Ie=inject(selectKey),Fe=inject(selectGroupKey,{disabled:!1}),Ue=computed(()=>Ie.props.multiple?hn(Ie.props.modelValue,xe.value):hn([Ie.props.modelValue],xe.value)),qe=computed(()=>{if(Ie.props.multiple){const _n=Ie.props.modelValue||[];return!Ue.value&&_n.length>=Ie.props.multipleLimit&&Ie.props.multipleLimit>0}else return!1}),At=computed(()=>xe.label||(isObject$8(xe.value)?"":xe.value)),Dt=computed(()=>xe.value||xe.label||""),Lt=computed(()=>xe.disabled||$e.groupDisabled||qe.value),jt=getCurrentInstance(),hn=(_n=[],wn)=>{if(isObject$8(xe.value)){const kn=Ie.props.valueKey;return _n&&_n.some(Cn=>toRaw(get$1(Cn,kn))===get$1(wn,kn))}else return _n&&_n.includes(wn)},vn=()=>{!xe.disabled&&!Fe.disabled&&(Ie.states.hoveringIndex=Ie.optionsArray.indexOf(jt.proxy))},bn=_n=>{const wn=new RegExp(escapeStringRegexp(_n),"i");$e.visible=wn.test(At.value)||xe.created};return watch(()=>At.value,()=>{!xe.created&&!Ie.props.remote&&Ie.setSelected()}),watch(()=>xe.value,(_n,wn)=>{const{remote:kn,valueKey:Cn}=Ie.props;if(isEqual$1(_n,wn)||(Ie.onOptionDestroy(wn,jt.proxy),Ie.onOptionCreate(jt.proxy)),!xe.created&&!kn){if(Cn&&isObject$8(_n)&&isObject$8(wn)&&_n[Cn]===wn[Cn])return;Ie.setSelected()}}),watch(()=>Fe.disabled,()=>{$e.groupDisabled=Fe.disabled},{immediate:!0}),{select:Ie,currentLabel:At,currentValue:Dt,itemSelected:Ue,isDisabled:Lt,hoverItem:vn,updateOption:bn}}const _sfc_main$_=defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=useId(),Fe=computed(()=>[$e.be("dropdown","item"),$e.is("disabled",unref(Dt)),$e.is("selected",unref(At)),$e.is("hovering",unref(bn))]),Ue=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn}=useOption$1(xe,Ue),{visible:vn,hover:bn}=toRefs(Ue),_n=getCurrentInstance().proxy;Lt.onOptionCreate(_n),onBeforeUnmount(()=>{const kn=_n.value,{selected:Cn}=Lt.states,xn=(Lt.props.multiple?Cn:[Cn]).some(En=>En.value===_n.value);nextTick(()=>{Lt.states.cachedOptions.get(kn)===_n&&!xn&&Lt.states.cachedOptions.delete(kn)}),Lt.onOptionDestroy(kn,_n)});function wn(){xe.disabled!==!0&&Ue.groupDisabled!==!0&&Lt.handleOptionSelect(_n)}return{ns:$e,id:Ie,containerKls:Fe,currentLabel:qe,itemSelected:At,isDisabled:Dt,select:Lt,hoverItem:jt,updateOption:hn,visible:vn,hover:bn,selectOptionClick:wn,states:Ue}}}),_hoisted_1$t=["id","aria-disabled","aria-selected"];function _sfc_render$b(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("li",{id:xe.id,class:normalizeClass(xe.containerKls),role:"option","aria-disabled":xe.isDisabled||void 0,"aria-selected":xe.itemSelected,onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(xe.currentLabel),1)])],42,_hoisted_1$t)),[[vShow,xe.visible]])}var Option=_export_sfc$1(_sfc_main$_,[["render",_sfc_render$b],["__file","option.vue"]]);const _sfc_main$Z=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const xe=inject(selectKey),$e=useNamespace("select"),Ie=computed(()=>xe.props.popperClass),Fe=computed(()=>xe.props.multiple),Ue=computed(()=>xe.props.fitInputWidth),qe=ref("");function At(){var Dt;qe.value=`${(Dt=xe.selectRef)==null?void 0:Dt.offsetWidth}px`}return onMounted(()=>{At(),useResizeObserver(xe.selectRef,At)}),{ns:$e,minWidth:qe,popperClass:Ie,isMultiple:Fe,isFitInputWidth:Ue}}});function _sfc_render$a(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass([xe.ns.b("dropdown"),xe.ns.is("multiple",xe.isMultiple),xe.popperClass]),style:normalizeStyle$1({[xe.isFitInputWidth?"width":"minWidth"]:xe.minWidth})},[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(xe.$slots,"default"),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu$1=_export_sfc$1(_sfc_main$Z,[["render",_sfc_render$a],["__file","select-dropdown.vue"]]);function useInput(xe){const $e=ref(!1);return{handleCompositionStart:()=>{$e.value=!0},handleCompositionUpdate:qe=>{const At=qe.target.value,Dt=At[At.length-1]||"";$e.value=!isKorean(Dt)},handleCompositionEnd:qe=>{$e.value&&($e.value=!1,isFunction$5(xe)&&xe(qe))}}}const MINIMUM_INPUT_WIDTH$1=11,useSelect$2=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useId(),Ue=useNamespace("select"),qe=useNamespace("input"),At=reactive({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:xe.multiple?[]:{},selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=ref(null),vn=ref(null),bn=ref(null),_n=ref(null),wn=ref(null),kn=ref(null),Cn=ref(null),Sn=ref(null),xn=ref(null),{wrapperRef:En,isFocused:Tn,handleFocus:An,handleBlur:$n}=useFocusController(vn,{afterFocus(){xe.automaticDropdown&&!Pn.value&&(Pn.value=!0,At.menuVisibleOnFocus=!0)},beforeBlur(Mr){var Or,yr;return((Or=jt.value)==null?void 0:Or.isFocusInsideContent(Mr))||((yr=hn.value)==null?void 0:yr.isFocusInsideContent(Mr))},afterBlur(){Pn.value=!1,At.menuVisibleOnFocus=!1}}),Pn=ref(!1),Nn=ref(),{form:Mn,formItem:In}=useFormItem(),{inputId:On}=useFormItemInputId(xe,{formItemContext:In}),{valueOnClear:Rn,isEmptyValue:Bn}=useEmptyValues(xe),Vn=computed(()=>xe.disabled||(Mn==null?void 0:Mn.disabled)),Ln=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!Bn(xe.modelValue)),Dn=computed(()=>xe.clearable&&!Vn.value&&At.inputHovering&&Ln.value),Hn=computed(()=>xe.remote&&xe.filterable&&!xe.remoteShowSuffix?"":xe.suffixIcon),Fn=computed(()=>Ue.is("reverse",Hn.value&&Pn.value)),zn=computed(()=>(In==null?void 0:In.validateState)||""),jn=computed(()=>ValidateComponentsMap[zn.value]),Gn=computed(()=>xe.remote?300:0),Wn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!At.inputValue&&At.options.size===0?!1:xe.filterable&&At.inputValue&&At.options.size>0&&Xn.value===0?xe.noMatchText||Ie("el.select.noMatch"):At.options.size===0?xe.noDataText||Ie("el.select.noData"):null),Xn=computed(()=>er.value.filter(Mr=>Mr.visible).length),er=computed(()=>{const Mr=Array.from(At.options.values()),Or=[];return At.optionValues.forEach(yr=>{const so=Mr.findIndex($o=>$o.value===yr);so>-1&&Or.push(Mr[so])}),Or.length>=Mr.length?Or:Mr}),rr=computed(()=>Array.from(At.cachedOptions.values())),Jn=computed(()=>{const Mr=er.value.filter(Or=>!Or.created).some(Or=>Or.currentLabel===At.inputValue);return xe.filterable&&xe.allowCreate&&At.inputValue!==""&&!Mr}),qn=()=>{xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)||er.value.forEach(Mr=>{var Or;(Or=Mr.updateOption)==null||Or.call(Mr,At.inputValue)})},Yn=useFormSize(),ar=computed(()=>["small"].includes(Yn.value)?"small":"default"),tr=computed({get(){return Pn.value&&Wn.value!==!1},set(Mr){Pn.value=Mr}}),or=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!At.inputValue:xe.filterable?!At.inputValue:!0),sr=computed(()=>{var Mr;const Or=(Mr=xe.placeholder)!=null?Mr:Ie("el.select.placeholder");return xe.multiple||!Ln.value?Or:At.selectedLabel});watch(()=>xe.modelValue,(Mr,Or)=>{xe.multiple&&xe.filterable&&!xe.reserveKeyword&&(At.inputValue="",Kn("")),nr(),!isEqual$1(Mr,Or)&&xe.validateEvent&&(In==null||In.validate("change").catch(yr=>void 0))},{flush:"post",deep:!0}),watch(()=>Pn.value,Mr=>{Mr?Kn(At.inputValue):(At.inputValue="",At.previousQuery=null,At.isBeforeHide=!0),$e("visible-change",Mr)}),watch(()=>At.options.entries(),()=>{var Mr;if(!isClient$1)return;const Or=((Mr=Dt.value)==null?void 0:Mr.querySelectorAll("input"))||[];(!xe.filterable&&!xe.defaultFirstOption&&!isUndefined(xe.modelValue)||!Array.from(Or).includes(document.activeElement))&&nr(),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value&&Zn()},{flush:"post"}),watch(()=>At.hoveringIndex,Mr=>{isNumber$1(Mr)&&Mr>-1?Nn.value=er.value[Mr]||{}:Nn.value={},er.value.forEach(Or=>{Or.hover=Nn.value===Or})}),watchEffect(()=>{At.isBeforeHide||qn()});const Kn=Mr=>{At.previousQuery!==Mr&&(At.previousQuery=Mr,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Mr):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Mr),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Xn.value?nextTick(Zn):nextTick(ir))},Zn=()=>{const Mr=er.value.filter(so=>so.visible&&!so.disabled&&!so.states.groupDisabled),Or=Mr.find(so=>so.created),yr=Mr[0];At.hoveringIndex=Br(er.value,Or||yr)},nr=()=>{if(xe.multiple)At.selectedLabel="";else{const Or=lr(xe.modelValue);At.selectedLabel=Or.currentLabel,At.selected=Or;return}const Mr=[];isArray$6(xe.modelValue)&&xe.modelValue.forEach(Or=>{Mr.push(lr(Or))}),At.selected=Mr},lr=Mr=>{let Or;const yr=toRawType(Mr).toLowerCase()==="object",so=toRawType(Mr).toLowerCase()==="null",$o=toRawType(Mr).toLowerCase()==="undefined";for(let po=At.cachedOptions.size-1;po>=0;po--){const ro=rr.value[po];if(yr?get$1(ro.value,xe.valueKey)===get$1(Mr,xe.valueKey):ro.value===Mr){Or={value:Mr,currentLabel:ro.currentLabel,get isDisabled(){return ro.isDisabled}};break}}if(Or)return Or;const xo=yr?Mr.label:!so&&!$o?Mr:"";return{value:Mr,currentLabel:xo}},ir=()=>{xe.multiple?At.hoveringIndex=er.value.findIndex(Mr=>At.selected.some(Or=>ko(Or)===ko(Mr))):At.hoveringIndex=er.value.findIndex(Mr=>ko(Mr)===ko(At.selected))},kr=()=>{At.selectionWidth=Lt.value.getBoundingClientRect().width},Cr=()=>{At.calculatorWidth=bn.value.getBoundingClientRect().width},Er=()=>{At.collapseItemWidth=Sn.value.getBoundingClientRect().width},dr=()=>{var Mr,Or;(Or=(Mr=jt.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},br=()=>{var Mr,Or;(Or=(Mr=hn.value)==null?void 0:Mr.updatePopper)==null||Or.call(Mr)},_r=()=>{At.inputValue.length>0&&!Pn.value&&(Pn.value=!0),Kn(At.inputValue)},Pr=Mr=>{if(At.inputValue=Mr.target.value,xe.remote)gr();else return _r()},gr=debounce(()=>{_r()},Gn.value),xr=Mr=>{isEqual$1(xe.modelValue,Mr)||$e(CHANGE_EVENT,Mr)},Rr=Mr=>findLastIndex(Mr,Or=>!At.disabledOptions.has(Or)),Hr=Mr=>{if(xe.multiple&&Mr.code!==EVENT_CODE.delete&&Mr.target.value.length<=0){const Or=xe.modelValue.slice(),yr=Rr(Or);if(yr<0)return;const so=Or[yr];Or.splice(yr,1),$e(UPDATE_MODEL_EVENT,Or),xr(Or),$e("remove-tag",so)}},Jr=(Mr,Or)=>{const yr=At.selected.indexOf(Or);if(yr>-1&&!Vn.value){const so=xe.modelValue.slice();so.splice(yr,1),$e(UPDATE_MODEL_EVENT,so),xr(so),$e("remove-tag",Or.value)}Mr.stopPropagation(),Kr()},Gr=Mr=>{Mr.stopPropagation();const Or=xe.multiple?[]:Rn.value;if(xe.multiple)for(const yr of At.selected)yr.isDisabled&&Or.push(yr.value);$e(UPDATE_MODEL_EVENT,Or),xr(Or),At.hoveringIndex=-1,Pn.value=!1,$e("clear"),Kr()},$r=Mr=>{if(xe.multiple){const Or=(xe.modelValue||[]).slice(),yr=Br(Or,Mr.value);yr>-1?Or.splice(yr,1):(xe.multipleLimit<=0||Or.length{Tr(Mr)})},Br=(Mr=[],Or)=>{if(!isObject$8(Or))return Mr.indexOf(Or);const yr=xe.valueKey;let so=-1;return Mr.some(($o,xo)=>toRaw(get$1($o,yr))===get$1(Or,yr)?(so=xo,!0):!1),so},Tr=Mr=>{var Or,yr,so,$o,xo;const ho=isArray$6(Mr)?Mr[0]:Mr;let po=null;if(ho!=null&&ho.value){const ro=er.value.filter(qr=>qr.value===ho.value);ro.length>0&&(po=ro[0].$el)}if(jt.value&&po){const ro=($o=(so=(yr=(Or=jt.value)==null?void 0:Or.popperRef)==null?void 0:yr.contentRef)==null?void 0:so.querySelector)==null?void 0:$o.call(so,`.${Ue.be("dropdown","wrap")}`);ro&&scrollIntoView(ro,po)}(xo=xn.value)==null||xo.handleScroll()},cr=Mr=>{At.options.set(Mr.value,Mr),At.cachedOptions.set(Mr.value,Mr),Mr.disabled&&At.disabledOptions.set(Mr.value,Mr)},Sr=(Mr,Or)=>{At.options.get(Mr)===Or&&At.options.delete(Mr)},{handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr}=useInput(Mr=>Pr(Mr)),zr=computed(()=>{var Mr,Or;return(Or=(Mr=jt.value)==null?void 0:Mr.popperRef)==null?void 0:Or.contentRef}),Vr=()=>{At.isBeforeHide=!1,nextTick(()=>Tr(At.selected))},Kr=()=>{var Mr;(Mr=vn.value)==null||Mr.focus()},Yr=()=>{uo()},Ur=Mr=>{Gr(Mr)},uo=Mr=>{if(Pn.value=!1,Tn.value){const Or=new FocusEvent("focus",Mr);nextTick(()=>$n(Or))}},vo=()=>{At.inputValue.length>0?At.inputValue="":Pn.value=!1},_o=()=>{Vn.value||(At.menuVisibleOnFocus?At.menuVisibleOnFocus=!1:Pn.value=!Pn.value)},Ao=()=>{Pn.value?er.value[At.hoveringIndex]&&$r(er.value[At.hoveringIndex]):_o()},ko=Mr=>isObject$8(Mr.value)?get$1(Mr.value,xe.valueKey):Mr.value,Do=computed(()=>er.value.filter(Mr=>Mr.visible).every(Mr=>Mr.disabled)),Ro=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(0,xe.maxCollapseTags):At.selected:[]),Ko=computed(()=>xe.multiple?xe.collapseTags?At.selected.slice(xe.maxCollapseTags):[]:[]),Yo=Mr=>{if(!Pn.value){Pn.value=!0;return}if(!(At.options.size===0||Xn.value===0)&&!Do.value){Mr==="next"?(At.hoveringIndex++,At.hoveringIndex===At.options.size&&(At.hoveringIndex=0)):Mr==="prev"&&(At.hoveringIndex--,At.hoveringIndex<0&&(At.hoveringIndex=At.options.size-1));const Or=er.value[At.hoveringIndex];(Or.disabled===!0||Or.states.groupDisabled===!0||!Or.visible)&&Yo(Mr),nextTick(()=>Tr(Nn.value))}},To=()=>{if(!Lt.value)return 0;const Mr=window.getComputedStyle(Lt.value);return Number.parseFloat(Mr.gap||"6px")},So=computed(()=>{const Mr=To();return{maxWidth:`${Sn.value&&xe.maxCollapseTags===1?At.selectionWidth-At.collapseItemWidth-Mr:At.selectionWidth}px`}}),yo=computed(()=>({maxWidth:`${At.selectionWidth}px`})),Zr=computed(()=>({width:`${Math.max(At.calculatorWidth,MINIMUM_INPUT_WIDTH$1)}px`}));return xe.multiple&&!isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,[]),!xe.multiple&&isArray$6(xe.modelValue)&&$e(UPDATE_MODEL_EVENT,""),useResizeObserver(Lt,kr),useResizeObserver(bn,Cr),useResizeObserver(kn,dr),useResizeObserver(En,dr),useResizeObserver(Cn,br),useResizeObserver(Sn,Er),onMounted(()=>{nr()}),{inputId:On,contentId:Fe,nsSelect:Ue,nsInput:qe,states:At,isFocused:Tn,expanded:Pn,optionsArray:er,hoverOption:Nn,selectSize:Yn,filteredOptionsCount:Xn,resetCalculatorWidth:Cr,updateTooltip:dr,updateTagTooltip:br,debouncedOnInputChange:gr,onInput:Pr,deletePrevTag:Hr,deleteTag:Jr,deleteSelected:Gr,handleOptionSelect:$r,scrollToOption:Tr,hasModelValue:Ln,shouldShowPlaceholder:or,currentPlaceholder:sr,showClose:Dn,iconComponent:Hn,iconReverse:Fn,validateState:zn,validateIcon:jn,showNewOption:Jn,updateOptions:qn,collapseTagSize:ar,setSelected:nr,selectDisabled:Vn,emptyText:Wn,handleCompositionStart:Dr,handleCompositionUpdate:mr,handleCompositionEnd:Lr,onOptionCreate:cr,onOptionDestroy:Sr,handleMenuEnter:Vr,handleFocus:An,focus:Kr,blur:Yr,handleBlur:$n,handleClearClick:Ur,handleClickOutside:uo,handleEsc:vo,toggleMenu:_o,selectOption:Ao,getValueKey:ko,navigateOptions:Yo,dropdownMenuVisible:tr,showTagList:Ro,collapseTagList:Ko,tagStyle:So,collapseTagStyle:yo,inputStyle:Zr,popperRef:zr,inputRef:vn,tooltipRef:jt,tagTooltipRef:hn,calculatorRef:bn,prefixRef:_n,suffixRef:wn,selectRef:Dt,wrapperRef:En,selectionRef:Lt,scrollbarRef:xn,menuRef:kn,tagMenuRef:Cn,collapseItemRef:Sn}};var ElOptions=defineComponent({name:"ElOptions",setup(xe,{slots:$e}){const Ie=inject(selectKey);let Fe=[];return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];function Lt(jt){isArray$6(jt)&&jt.forEach(hn=>{var vn,bn,_n,wn;const kn=(vn=(hn==null?void 0:hn.type)||{})==null?void 0:vn.name;kn==="ElOptionGroup"?Lt(!isString$4(hn.children)&&!isArray$6(hn.children)&&isFunction$5((bn=hn.children)==null?void 0:bn.default)?(_n=hn.children)==null?void 0:_n.default():hn.children):kn==="ElOption"?Dt.push((wn=hn.props)==null?void 0:wn.value):isArray$6(hn.children)&&Lt(hn.children)})}return At.length&&Lt((qe=At[0])==null?void 0:qe.children),isEqual$1(Dt,Fe)||(Fe=Dt,Ie&&(Ie.states.optionValues=Dt)),At}}});const SelectProps$1=buildProps({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),COMPONENT_NAME$9="ElSelect",_sfc_main$Y=defineComponent({name:COMPONENT_NAME$9,componentName:COMPONENT_NAME$9,components:{ElInput,ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps$1,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=useSelect$2(xe,$e);return provide(selectKey,reactive({props:xe,states:Ie.states,optionsArray:Ie.optionsArray,handleOptionSelect:Ie.handleOptionSelect,onOptionCreate:Ie.onOptionCreate,onOptionDestroy:Ie.onOptionDestroy,selectRef:Ie.selectRef,setSelected:Ie.setSelected})),{...Ie}}}),_hoisted_1$s=["id","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],_hoisted_2$i=["textContent"],_hoisted_3$9={key:1};function _sfc_render$9(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-option"),hn=resolveComponent("el-options"),vn=resolveComponent("el-scrollbar"),bn=resolveComponent("el-select-menu"),_n=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[16]||($e[16]=wn=>xe.states.inputHovering=!0),onMouseleave:$e[17]||($e[17]=wn=>xe.states.inputHovering=!1),onClick:$e[18]||($e[18]=withModifiers((...wn)=>xe.toggleMenu&&xe.toggleMenu(...wn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,placement:xe.placement,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,pure:"",trigger:"click",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[15]||($e[15]=wn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>{var wn;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.states.selected.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.states.selected.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.collapseTagStyle)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.states.selected.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,kn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(kn),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!kn.isDisabled,size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:Cn=>xe.deleteTag(Cn,kn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:kn.currentLabel,value:kn.value},()=>[createTextVNode(toDisplayString(kn.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=kn=>xe.states.inputValue=kn),type:"text",class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,autocomplete:xe.autocomplete,style:normalizeStyle$1(xe.inputStyle),role:"combobox",readonly:!xe.filterable,spellcheck:"false","aria-activedescendant":((wn=xe.hoverOption)==null?void 0:wn.id)||"","aria-controls":xe.contentId,"aria-expanded":xe.dropdownMenuVisible,"aria-label":xe.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:$e[1]||($e[1]=(...kn)=>xe.handleFocus&&xe.handleFocus(...kn)),onBlur:$e[2]||($e[2]=(...kn)=>xe.handleBlur&&xe.handleBlur(...kn)),onKeydown:[$e[3]||($e[3]=withKeys(withModifiers(kn=>xe.navigateOptions("next"),["stop","prevent"]),["down"])),$e[4]||($e[4]=withKeys(withModifiers(kn=>xe.navigateOptions("prev"),["stop","prevent"]),["up"])),$e[5]||($e[5]=withKeys(withModifiers((...kn)=>xe.handleEsc&&xe.handleEsc(...kn),["stop","prevent"]),["esc"])),$e[6]||($e[6]=withKeys(withModifiers((...kn)=>xe.selectOption&&xe.selectOption(...kn),["stop","prevent"]),["enter"])),$e[7]||($e[7]=withKeys(withModifiers((...kn)=>xe.deletePrevTag&&xe.deletePrevTag(...kn),["stop"]),["delete"]))],onCompositionstart:$e[8]||($e[8]=(...kn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...kn)),onCompositionupdate:$e[9]||($e[9]=(...kn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...kn)),onCompositionend:$e[10]||($e[10]=(...kn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...kn)),onInput:$e[11]||($e[11]=(...kn)=>xe.onInput&&xe.onInput(...kn)),onClick:$e[12]||($e[12]=withModifiers((...kn)=>xe.toggleMenu&&xe.toggleMenu(...kn),["stop"]))},null,46,_hoisted_1$s),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$i)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$9,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent&&!xe.showClose?(openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.showClose&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsSelect.e("icon")]),onClick:xe.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]}),content:withCtx(()=>[createVNode$1(bn,{ref:"menuRef"},{default:withCtx(()=>[xe.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.nsSelect.be("dropdown","header")),onClick:$e[13]||($e[13]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(vn,{id:xe.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":xe.nsSelect.be("dropdown","wrap"),"view-class":xe.nsSelect.be("dropdown","list"),class:normalizeClass([xe.nsSelect.is("empty",xe.filteredOptionsCount===0)]),role:"listbox","aria-label":xe.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[xe.showNewOption?(openBlock(),createBlock(jt,{key:0,value:xe.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode$1(hn,null,{default:withCtx(()=>[renderSlot(xe.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[vShow,xe.states.options.size>0&&!xe.loading]]),xe.$slots.loading&&xe.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)):xe.loading||xe.filteredOptionsCount===0?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)):createCommentVNode("v-if",!0),xe.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(xe.nsSelect.be("dropdown","footer")),onClick:$e[14]||($e[14]=withModifiers(()=>{},["stop"]))},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow"])],34)),[[_n,xe.handleClickOutside,xe.popperRef]])}var Select$1=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$9],["__file","select.vue"]]);const _sfc_main$X=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(xe){const $e=useNamespace("select"),Ie=ref(null),Fe=getCurrentInstance(),Ue=ref([]);provide(selectGroupKey,reactive({...toRefs(xe)}));const qe=computed(()=>Ue.value.some(jt=>jt.visible===!0)),At=jt=>{var hn,vn;return((hn=jt.type)==null?void 0:hn.name)==="ElOption"&&!!((vn=jt.component)!=null&&vn.proxy)},Dt=jt=>{const hn=castArray$1(jt),vn=[];return hn.forEach(bn=>{var _n,wn;At(bn)?vn.push(bn.component.proxy):(_n=bn.children)!=null&&_n.length?vn.push(...Dt(bn.children)):(wn=bn.component)!=null&&wn.subTree&&vn.push(...Dt(bn.component.subTree))}),vn},Lt=()=>{Ue.value=Dt(Fe.subTree)};return onMounted(()=>{Lt()}),useMutationObserver(Ie,Lt,{attributes:!0,subtree:!0,childList:!0}),{groupRef:Ie,visible:qe,ns:$e}}});function _sfc_render$8(xe,$e,Ie,Fe,Ue,qe){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(xe.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(xe.ns.be("group","title"))},toDisplayString(xe.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(xe.ns.b("group"))},[renderSlot(xe.$slots,"default")],2)])],2)),[[vShow,xe.visible]])}var OptionGroup=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$8],["__file","option-group.vue"]]);const ElSelect=withInstall(Select$1,{Option,OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:componentSizes}}),__default__$K=defineComponent({name:"ElPaginationSizes"}),_sfc_main$W=defineComponent({...__default__$K,props:paginationSizesProps,emits:["page-size-change"],setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=usePagination(),At=ref(Ie.pageSize);watch(()=>Ie.pageSizes,(jt,hn)=>{if(!isEqual$1(jt,hn)&&Array.isArray(jt)){const vn=jt.includes(Ie.pageSize)?Ie.pageSize:Ie.pageSizes[0];$e("page-size-change",vn)}}),watch(()=>Ie.pageSize,jt=>{At.value=jt});const Dt=computed(()=>Ie.pageSizes);function Lt(jt){var hn;jt!==At.value&&(At.value=jt,(hn=qe.handleSizeChange)==null||hn.call(qe,Number(jt)))}return(jt,hn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ue).e("sizes"))},[createVNode$1(unref(ElSelect),{"model-value":At.value,disabled:jt.disabled,"popper-class":jt.popperClass,size:jt.size,teleported:jt.teleported,"validate-event":!1,onChange:Lt},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Dt),vn=>(openBlock(),createBlock(unref(ElOption),{key:vn,value:vn,label:vn+unref(Fe)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var Sizes=_export_sfc$1(_sfc_main$W,[["__file","sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$r=["disabled"],__default__$J=defineComponent({name:"ElPaginationJumper"}),_sfc_main$V=defineComponent({...__default__$J,props:paginationJumperProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{pageCount:Fe,disabled:Ue,currentPage:qe,changeEvent:At}=usePagination(),Dt=ref(),Lt=computed(()=>{var vn;return(vn=Dt.value)!=null?vn:qe==null?void 0:qe.value});function jt(vn){Dt.value=vn?+vn:""}function hn(vn){vn=Math.trunc(+vn),At==null||At(vn),Dt.value=void 0}return(vn,bn)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("jump")),disabled:unref(Ue)},[createBaseVNode("span",{class:normalizeClass([unref(Ie).e("goto")])},toDisplayString(unref($e)("el.pagination.goto")),3),createVNode$1(unref(ElInput),{size:vn.size,class:normalizeClass([unref(Ie).e("editor"),unref(Ie).is("in-pagination")]),min:1,max:unref(Fe),disabled:unref(Ue),"model-value":unref(Lt),"validate-event":!1,"aria-label":unref($e)("el.pagination.page"),type:"number","onUpdate:modelValue":jt,onChange:hn},null,8,["size","class","max","disabled","model-value","aria-label"]),createBaseVNode("span",{class:normalizeClass([unref(Ie).e("classifier")])},toDisplayString(unref($e)("el.pagination.pageClassifier")),3)],10,_hoisted_1$r))}});var Jumper=_export_sfc$1(_sfc_main$V,[["__file","jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$q=["disabled"],__default__$I=defineComponent({name:"ElPaginationTotal"}),_sfc_main$U=defineComponent({...__default__$I,props:paginationTotalProps,setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("pagination"),{disabled:Fe}=usePagination();return(Ue,qe)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ie).e("total")),disabled:unref(Fe)},toDisplayString(unref($e)("el.pagination.total",{total:Ue.total})),11,_hoisted_1$q))}});var Total=_export_sfc$1(_sfc_main$U,[["__file","total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$p=["onKeyup"],_hoisted_2$h=["aria-current","aria-label","tabindex"],_hoisted_3$8=["tabindex","aria-label"],_hoisted_4$5=["aria-current","aria-label","tabindex"],_hoisted_5$4=["tabindex","aria-label"],_hoisted_6$2=["aria-current","aria-label","tabindex"],__default__$H=defineComponent({name:"ElPaginationPager"}),_sfc_main$T=defineComponent({...__default__$H,props:paginationPagerProps,emits:["change"],setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("pager"),Ue=useNamespace("icon"),{t:qe}=useLocale(),At=ref(!1),Dt=ref(!1),Lt=ref(!1),jt=ref(!1),hn=ref(!1),vn=ref(!1),bn=computed(()=>{const Tn=Ie.pagerCount,An=(Tn-1)/2,$n=Number(Ie.currentPage),Pn=Number(Ie.pageCount);let Nn=!1,Mn=!1;Pn>Tn&&($n>Tn-An&&(Nn=!0),$n["more","btn-quickprev",Ue.b(),Fe.is("disabled",Ie.disabled)]),wn=computed(()=>["more","btn-quicknext",Ue.b(),Fe.is("disabled",Ie.disabled)]),kn=computed(()=>Ie.disabled?-1:0);watchEffect(()=>{const Tn=(Ie.pagerCount-1)/2;At.value=!1,Dt.value=!1,Ie.pageCount>Ie.pagerCount&&(Ie.currentPage>Ie.pagerCount-Tn&&(At.value=!0),Ie.currentPagePn&&($n=Pn)),$n!==Nn&&$e("change",$n)}return(Tn,An)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(Fe).b()),onClick:En,onKeyup:withKeys(xn,["enter"])},[Tn.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===1),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===1,"aria-label":unref(qe)("el.pagination.currentPage",{pager:1}),tabindex:unref(kn)}," 1 ",10,_hoisted_2$h)):createCommentVNode("v-if",!0),At.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(unref(_n)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.prevPages",{pager:Tn.pagerCount-2}),onMouseenter:An[0]||(An[0]=$n=>Cn(!0)),onMouseleave:An[1]||(An[1]=$n=>Lt.value=!1),onFocus:An[2]||(An[2]=$n=>Sn(!0)),onBlur:An[3]||(An[3]=$n=>hn.value=!1)},[(Lt.value||hn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_3$8)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(bn),$n=>(openBlock(),createElementBlock("li",{key:$n,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===$n),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===$n,"aria-label":unref(qe)("el.pagination.currentPage",{pager:$n}),tabindex:unref(kn)},toDisplayString($n),11,_hoisted_4$5))),128)),Dt.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(unref(wn)),tabindex:unref(kn),"aria-label":unref(qe)("el.pagination.nextPages",{pager:Tn.pagerCount-2}),onMouseenter:An[4]||(An[4]=$n=>Cn()),onMouseleave:An[5]||(An[5]=$n=>jt.value=!1),onFocus:An[6]||(An[6]=$n=>Sn()),onBlur:An[7]||(An[7]=$n=>vn.value=!1)},[(jt.value||vn.value)&&!Tn.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_5$4)):createCommentVNode("v-if",!0),Tn.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(Fe).is("active",Tn.currentPage===Tn.pageCount),unref(Fe).is("disabled",Tn.disabled)],"number"]),"aria-current":Tn.currentPage===Tn.pageCount,"aria-label":unref(qe)("el.pagination.currentPage",{pager:Tn.pageCount}),tabindex:unref(kn)},toDisplayString(Tn.pageCount),11,_hoisted_6$2)):createCommentVNode("v-if",!0)],42,_hoisted_1$p))}});var Pager=_export_sfc$1(_sfc_main$T,[["__file","pager.vue"]]);const isAbsent=xe=>typeof xe!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:xe=>isNumber$1(xe)&&Math.trunc(xe)===xe&&xe>4&&xe<22&&xe%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),paginationEmits={"update:current-page":xe=>isNumber$1(xe),"update:page-size":xe=>isNumber$1(xe),"size-change":xe=>isNumber$1(xe),change:(xe,$e)=>isNumber$1(xe)&&isNumber$1($e),"current-change":xe=>isNumber$1(xe),"prev-click":xe=>isNumber$1(xe),"next-click":xe=>isNumber$1(xe)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(xe,{emit:$e,slots:Ie}){const{t:Fe}=useLocale(),Ue=useNamespace("pagination"),qe=getCurrentInstance().vnode.props||{},At="onUpdate:currentPage"in qe||"onUpdate:current-page"in qe||"onCurrentChange"in qe,Dt="onUpdate:pageSize"in qe||"onUpdate:page-size"in qe||"onSizeChange"in qe,Lt=computed(()=>{if(isAbsent(xe.total)&&isAbsent(xe.pageCount)||!isAbsent(xe.currentPage)&&!At)return!1;if(xe.layout.includes("sizes")){if(isAbsent(xe.pageCount)){if(!isAbsent(xe.total)&&!isAbsent(xe.pageSize)&&!Dt)return!1}else if(!Dt)return!1}return!0}),jt=ref(isAbsent(xe.defaultPageSize)?10:xe.defaultPageSize),hn=ref(isAbsent(xe.defaultCurrentPage)?1:xe.defaultCurrentPage),vn=computed({get(){return isAbsent(xe.pageSize)?jt.value:xe.pageSize},set(En){isAbsent(xe.pageSize)&&(jt.value=En),Dt&&($e("update:page-size",En),$e("size-change",En))}}),bn=computed(()=>{let En=0;return isAbsent(xe.pageCount)?isAbsent(xe.total)||(En=Math.max(1,Math.ceil(xe.total/vn.value))):En=xe.pageCount,En}),_n=computed({get(){return isAbsent(xe.currentPage)?hn.value:xe.currentPage},set(En){let Tn=En;En<1?Tn=1:En>bn.value&&(Tn=bn.value),isAbsent(xe.currentPage)&&(hn.value=Tn),At&&($e("update:current-page",Tn),$e("current-change",Tn))}});watch(bn,En=>{_n.value>En&&(_n.value=En)}),watch([_n,vn],En=>{$e("change",...En)},{flush:"post"});function wn(En){_n.value=En}function kn(En){vn.value=En;const Tn=bn.value;_n.value>Tn&&(_n.value=Tn)}function Cn(){xe.disabled||(_n.value-=1,$e("prev-click",_n.value))}function Sn(){xe.disabled||(_n.value+=1,$e("next-click",_n.value))}function xn(En,Tn){En&&(En.props||(En.props={}),En.props.class=[En.props.class,Tn].join(" "))}return provide(elPaginationKey,{pageCount:bn,disabled:computed(()=>xe.disabled),currentPage:_n,changeEvent:wn,handleSizeChange:kn}),()=>{var En,Tn;if(!Lt.value)return Fe("el.pagination.deprecationWarning"),null;if(!xe.layout||xe.hideOnSinglePage&&bn.value<=1)return null;const An=[],$n=[],Pn=h$5("div",{class:Ue.e("rightwrapper")},$n),Nn={prev:h$5(Prev,{disabled:xe.disabled,currentPage:_n.value,prevText:xe.prevText,prevIcon:xe.prevIcon,onClick:Cn}),jumper:h$5(Jumper,{size:xe.small?"small":"default"}),pager:h$5(Pager,{currentPage:_n.value,pageCount:bn.value,pagerCount:xe.pagerCount,onChange:wn,disabled:xe.disabled}),next:h$5(Next,{disabled:xe.disabled,currentPage:_n.value,pageCount:bn.value,nextText:xe.nextText,nextIcon:xe.nextIcon,onClick:Sn}),sizes:h$5(Sizes,{pageSize:vn.value,pageSizes:xe.pageSizes,popperClass:xe.popperClass,disabled:xe.disabled,teleported:xe.teleported,size:xe.small?"small":"default"}),slot:(Tn=(En=Ie==null?void 0:Ie.default)==null?void 0:En.call(Ie))!=null?Tn:null,total:h$5(Total,{total:isAbsent(xe.total)?0:xe.total})},Mn=xe.layout.split(",").map(On=>On.trim());let In=!1;return Mn.forEach(On=>{if(On==="->"){In=!0;return}In?$n.push(Nn[On]):An.push(Nn[On])}),xn(An[0],Ue.is("first")),xn(An[An.length-1],Ue.is("last")),In&&$n.length>0&&(xn($n[0],Ue.is("first")),xn($n[$n.length-1],Ue.is("last")),An.push(Pn)),h$5("div",{class:[Ue.b(),Ue.is("background",xe.background),{[Ue.m("small")]:xe.small}]},An)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150}}),popconfirmEmits={confirm:xe=>xe instanceof MouseEvent,cancel:xe=>xe instanceof MouseEvent},__default__$G=defineComponent({name:"ElPopconfirm"}),_sfc_main$S=defineComponent({...__default__$G,props:popconfirmProps,emits:popconfirmEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("popconfirm"),qe=ref(),At=()=>{var bn,_n;(_n=(bn=qe.value)==null?void 0:bn.onClose)==null||_n.call(bn)},Dt=computed(()=>({width:addUnit(Ie.width)})),Lt=bn=>{$e("confirm",bn),At()},jt=bn=>{$e("cancel",bn),At()},hn=computed(()=>Ie.confirmButtonText||Fe("el.popconfirm.confirmButtonText")),vn=computed(()=>Ie.cancelButtonText||Fe("el.popconfirm.cancelButtonText"));return(bn,_n)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:qe,trigger:"click",effect:"light"},bn.$attrs,{"popper-class":`${unref(Ue).namespace.value}-popover`,"popper-style":unref(Dt),teleported:bn.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":bn.hideAfter,persistent:bn.persistent}),{content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(Ue).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("main"))},[!bn.hideIcon&&bn.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("icon")),style:normalizeStyle$1({color:bn.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(bn.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(bn.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("action"))},[createVNode$1(unref(ElButton),{size:"small",type:bn.cancelButtonType==="text"?"":bn.cancelButtonType,text:bn.cancelButtonType==="text",onClick:jt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(vn)),1)]),_:1},8,["type","text"]),createVNode$1(unref(ElButton),{size:"small",type:bn.confirmButtonType==="text"?"":bn.confirmButtonType,text:bn.confirmButtonType==="text",onClick:Lt},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(hn)),1)]),_:1},8,["type","text"])],2)],2)]),default:withCtx(()=>[bn.$slots.reference?renderSlot(bn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc$1(_sfc_main$S,[["__file","popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),popoverEmits={"update:visible":xe=>isBoolean(xe),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",__default__$F=defineComponent({name:"ElPopover"}),_sfc_main$R=defineComponent({...__default__$F,props:popoverProps,emits:popoverEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=computed(()=>Fe[updateEventKeyRaw]),qe=useNamespace("popover"),At=ref(),Dt=computed(()=>{var Cn;return(Cn=unref(At))==null?void 0:Cn.popperRef}),Lt=computed(()=>[{width:addUnit(Fe.width)},Fe.popperStyle]),jt=computed(()=>[qe.b(),Fe.popperClass,{[qe.m("plain")]:!!Fe.content}]),hn=computed(()=>Fe.transition===`${qe.namespace.value}-fade-in-linear`),vn=()=>{var Cn;(Cn=At.value)==null||Cn.hide()},bn=()=>{Ie("before-enter")},_n=()=>{Ie("before-leave")},wn=()=>{Ie("after-enter")},kn=()=>{Ie("update:visible",!1),Ie("after-leave")};return $e({popperRef:Dt,hide:vn}),(Cn,Sn)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:At},Cn.$attrs,{trigger:Cn.trigger,placement:Cn.placement,disabled:Cn.disabled,visible:Cn.visible,transition:Cn.transition,"popper-options":Cn.popperOptions,tabindex:Cn.tabindex,content:Cn.content,offset:Cn.offset,"show-after":Cn.showAfter,"hide-after":Cn.hideAfter,"auto-close":Cn.autoClose,"show-arrow":Cn.showArrow,"aria-label":Cn.title,effect:Cn.effect,enterable:Cn.enterable,"popper-class":unref(jt),"popper-style":unref(Lt),teleported:Cn.teleported,persistent:Cn.persistent,"gpu-acceleration":unref(hn),"onUpdate:visible":unref(Ue),onBeforeShow:bn,onBeforeHide:_n,onShow:wn,onHide:kn}),{content:withCtx(()=>[Cn.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(qe).e("title")),role:"title"},toDisplayString(Cn.title),3)):createCommentVNode("v-if",!0),renderSlot(Cn.$slots,"default",{},()=>[createTextVNode(toDisplayString(Cn.content),1)])]),default:withCtx(()=>[Cn.$slots.reference?renderSlot(Cn.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc$1(_sfc_main$R,[["__file","popover.vue"]]);const attachEvents=(xe,$e)=>{const Ie=$e.arg||$e.value,Fe=Ie==null?void 0:Ie.popperRef;Fe&&(Fe.triggerRef=xe)};var PopoverDirective={mounted(xe,$e){attachEvents(xe,$e)},updated(xe,$e){attachEvents(xe,$e)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:xe=>xe>=0&&xe<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:xe=>`${xe}%`}}),_hoisted_1$o=["aria-valuenow"],_hoisted_2$g={viewBox:"0 0 100 100"},_hoisted_3$7=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$4=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$3={key:0},__default__$E=defineComponent({name:"ElProgress"}),_sfc_main$Q=defineComponent({...__default__$E,props:progressProps,setup(xe){const $e=xe,Ie={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},Fe=useNamespace("progress"),Ue=computed(()=>({width:`${$e.percentage}%`,animationDuration:`${$e.duration}s`,background:xn($e.percentage)})),qe=computed(()=>($e.strokeWidth/$e.width*100).toFixed(1)),At=computed(()=>["circle","dashboard"].includes($e.type)?Number.parseInt(`${50-Number.parseFloat(qe.value)/2}`,10):0),Dt=computed(()=>{const En=At.value,Tn=$e.type==="dashboard";return` M 50 50 m 0 ${Tn?"":"-"}${En} a ${En} ${En} 0 1 1 0 ${Tn?"-":""}${En*2} a ${En} ${En} 0 1 1 0 ${Tn?"":"-"}${En*2} - `}),Lt=computed(()=>2*Math.PI*At.value),jt=computed(()=>$e.type==="dashboard"?.75:1),hn=computed(()=>`${-1*Lt.value*(1-jt.value)/2}px`),vn=computed(()=>({strokeDasharray:`${Lt.value*jt.value}px, ${Lt.value}px`,strokeDashoffset:hn.value})),bn=computed(()=>({strokeDasharray:`${Lt.value*jt.value*($e.percentage/100)}px, ${Lt.value}px`,strokeDashoffset:hn.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),_n=computed(()=>{let En;return $e.color?En=xn($e.percentage):En=Ie[$e.status]||Ie.default,En}),wn=computed(()=>$e.status==="warning"?warning_filled_default:$e.type==="line"?$e.status==="success"?circle_check_default:circle_close_default:$e.status==="success"?check_default:close_default),kn=computed(()=>$e.type==="line"?12+$e.strokeWidth*.4:$e.width*.111111+2),Cn=computed(()=>$e.format($e.percentage));function Sn(En){const Tn=100/En.length;return En.map(($n,Pn)=>isString$4($n)?{color:$n,percentage:(Pn+1)*Tn}:$n).sort(($n,Pn)=>$n.percentage-Pn.percentage)}const xn=En=>{var Tn;const{color:An}=$e;if(isFunction$5(An))return An(En);if(isString$4(An))return An;{const $n=Sn(An);for(const Pn of $n)if(Pn.percentage>En)return Pn.color;return(Tn=$n[$n.length-1])==null?void 0:Tn.color}};return(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(En.type),unref(Fe).is(En.status),{[unref(Fe).m("without-text")]:!En.showText,[unref(Fe).m("text-inside")]:En.textInside}]),role:"progressbar","aria-valuenow":En.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[En.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(Fe).be("bar","outer")),style:normalizeStyle$1({height:`${En.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(Fe).be("bar","inner"),{[unref(Fe).bem("bar","inner","indeterminate")]:En.indeterminate},{[unref(Fe).bem("bar","inner","striped")]:En.striped},{[unref(Fe).bem("bar","inner","striped-flow")]:En.stripedFlow}]),style:normalizeStyle$1(unref(Ue))},[(En.showText||En.$slots.default)&&En.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).be("bar","innerText"))},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Cn)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).b("circle")),style:normalizeStyle$1({height:`${En.width}px`,width:`${En.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$g,[createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","track")),d:unref(Dt),stroke:`var(${unref(Fe).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),fill:"none",style:normalizeStyle$1(unref(vn))},null,14,_hoisted_3$7),createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","path")),d:unref(Dt),stroke:unref(_n),fill:"none",opacity:En.percentage?1:0,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),style:normalizeStyle$1(unref(bn))},null,14,_hoisted_4$4)]))],6)),(En.showText||En.$slots.default)&&!En.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(Fe).e("text")),style:normalizeStyle$1({fontSize:`${unref(kn)}px`})},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[En.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$3,toDisplayString(unref(Cn)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$o))}});var Progress=_export_sfc$1(_sfc_main$Q,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),rateEmits={[CHANGE_EVENT]:xe=>isNumber$1(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)},_hoisted_1$n=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$f=["onMousemove","onClick"],__default__$D=defineComponent({name:"ElRate"}),_sfc_main$P=defineComponent({...__default__$D,props:rateProps,emits:rateEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;function Ue(Dn,Hn){const Fn=Gn=>isObject$8(Gn),zn=Object.keys(Hn).map(Gn=>+Gn).filter(Gn=>{const Wn=Hn[Gn];return(Fn(Wn)?Wn.excluded:!1)?DnGn-Wn),jn=Hn[zn[0]];return Fn(jn)&&jn.value||jn}const qe=inject(formContextKey,void 0),At=inject(formItemContextKey,void 0),Dt=useFormSize(),Lt=useNamespace("rate"),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(Fe.modelValue),bn=ref(-1),_n=ref(!0),wn=computed(()=>[Lt.b(),Lt.m(Dt.value)]),kn=computed(()=>Fe.disabled||(qe==null?void 0:qe.disabled)),Cn=computed(()=>Lt.cssVarBlock({"void-color":Fe.voidColor,"disabled-void-color":Fe.disabledVoidColor,"fill-color":Tn.value})),Sn=computed(()=>{let Dn="";return Fe.showScore?Dn=Fe.scoreTemplate.replace(/\{\s*value\s*\}/,kn.value?`${Fe.modelValue}`:`${vn.value}`):Fe.showText&&(Dn=Fe.texts[Math.ceil(vn.value)-1]),Dn}),xn=computed(()=>Fe.modelValue*100-Math.floor(Fe.modelValue)*100),En=computed(()=>isArray$6(Fe.colors)?{[Fe.lowThreshold]:Fe.colors[0],[Fe.highThreshold]:{value:Fe.colors[1],excluded:!0},[Fe.max]:Fe.colors[2]}:Fe.colors),Tn=computed(()=>{const Dn=Ue(vn.value,En.value);return isObject$8(Dn)?"":Dn}),An=computed(()=>{let Dn="";return kn.value?Dn=`${xn.value}%`:Fe.allowHalf&&(Dn="50%"),{color:Tn.value,width:Dn}}),$n=computed(()=>{let Dn=isArray$6(Fe.icons)?[...Fe.icons]:{...Fe.icons};return Dn=markRaw(Dn),isArray$6(Dn)?{[Fe.lowThreshold]:Dn[0],[Fe.highThreshold]:{value:Dn[1],excluded:!0},[Fe.max]:Dn[2]}:Dn}),Pn=computed(()=>Ue(Fe.modelValue,$n.value)),Nn=computed(()=>kn.value?isString$4(Fe.disabledVoidIcon)?Fe.disabledVoidIcon:markRaw(Fe.disabledVoidIcon):isString$4(Fe.voidIcon)?Fe.voidIcon:markRaw(Fe.voidIcon)),Mn=computed(()=>Ue(vn.value,$n.value));function In(Dn){const Hn=kn.value&&xn.value>0&&Dn-1Fe.modelValue,Fn=Fe.allowHalf&&_n.value&&Dn-.5<=vn.value&&Dn>vn.value;return Hn||Fn}function On(Dn){Fe.clearable&&Dn===Fe.modelValue&&(Dn=0),Ie(UPDATE_MODEL_EVENT,Dn),Fe.modelValue!==Dn&&Ie("change",Dn)}function Rn(Dn){kn.value||(Fe.allowHalf&&_n.value?On(vn.value):On(Dn))}function Bn(Dn){if(kn.value)return;let Hn=vn.value;const Fn=Dn.code;return Fn===EVENT_CODE.up||Fn===EVENT_CODE.right?(Fe.allowHalf?Hn+=.5:Hn+=1,Dn.stopPropagation(),Dn.preventDefault()):(Fn===EVENT_CODE.left||Fn===EVENT_CODE.down)&&(Fe.allowHalf?Hn-=.5:Hn-=1,Dn.stopPropagation(),Dn.preventDefault()),Hn=Hn<0?0:Hn,Hn=Hn>Fe.max?Fe.max:Hn,Ie(UPDATE_MODEL_EVENT,Hn),Ie("change",Hn),Hn}function Vn(Dn,Hn){if(!kn.value){if(Fe.allowHalf&&Hn){let Fn=Hn.target;hasClass(Fn,Lt.e("item"))&&(Fn=Fn.querySelector(`.${Lt.e("icon")}`)),(Fn.clientWidth===0||hasClass(Fn,Lt.e("decimal")))&&(Fn=Fn.parentNode),_n.value=Hn.offsetX*2<=Fn.clientWidth,vn.value=_n.value?Dn-.5:Dn}else vn.value=Dn;bn.value=Dn}}function Ln(){kn.value||(Fe.allowHalf&&(_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)),vn.value=Fe.modelValue,bn.value=-1)}return watch(()=>Fe.modelValue,Dn=>{vn.value=Dn,_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)}),Fe.modelValue||Ie(UPDATE_MODEL_EVENT,0),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-rate",ref:"https://element-plus.org/en-US/component/rate.html"},computed(()=>!!Fe.label)),$e({setCurrentValue:Vn,resetCurrentValue:Ln}),(Dn,Hn)=>{var Fn;return openBlock(),createElementBlock("div",{id:unref(jt),class:normalizeClass([unref(wn),unref(Lt).is("disabled",unref(kn))]),role:"slider","aria-label":unref(hn)?void 0:Dn.label||Dn.ariaLabel||"rating","aria-labelledby":unref(hn)?(Fn=unref(At))==null?void 0:Fn.labelId:void 0,"aria-valuenow":vn.value,"aria-valuetext":unref(Sn)||void 0,"aria-valuemin":"0","aria-valuemax":Dn.max,tabindex:"0",style:normalizeStyle$1(unref(Cn)),onKeydown:Bn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dn.max,(zn,jn)=>(openBlock(),createElementBlock("span",{key:jn,class:normalizeClass(unref(Lt).e("item")),onMousemove:Gn=>Vn(zn,Gn),onMouseleave:Ln,onClick:Gn=>Rn(zn)},[createVNode$1(unref(ElIcon),{class:normalizeClass([unref(Lt).e("icon"),{hover:bn.value===zn},unref(Lt).is("active",zn<=vn.value)])},{default:withCtx(()=>[In(zn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Mn)),null,null,512)),[[vShow,zn<=vn.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),null,null,512)),[[vShow,!(zn<=vn.value)]])],64)),In(zn)?(openBlock(),createElementBlock(Fragment,{key:1},[(openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),{class:normalizeClass([unref(Lt).em("decimal","box")])},null,8,["class"])),createVNode$1(unref(ElIcon),{style:normalizeStyle$1(unref(An)),class:normalizeClass([unref(Lt).e("icon"),unref(Lt).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Pn))))]),_:1},8,["style","class"])],64)):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$f))),128)),Dn.showText||Dn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Lt).e("text")),style:normalizeStyle$1({color:Dn.textColor})},toDisplayString(unref(Sn)),7)):createCommentVNode("v-if",!0)],46,_hoisted_1$n)}}});var Rate=_export_sfc$1(_sfc_main$P,[["__file","rate.vue"]]);const ElRate=withInstall(Rate),IconMap={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),__default__$C=defineComponent({name:"ElResult"}),_sfc_main$O=defineComponent({...__default__$C,props:resultProps,setup(xe){const $e=xe,Ie=useNamespace("result"),Fe=computed(()=>{const Ue=$e.icon,qe=Ue&&IconMap[Ue]?IconMap[Ue]:"icon-info",At=IconComponentMap[qe]||IconComponentMap["icon-info"];return{class:qe,component:At}});return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("icon"))},[renderSlot(Ue.$slots,"icon",{},()=>[unref(Fe).component?(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).component),{key:0,class:normalizeClass(unref(Fe).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),Ue.title||Ue.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("title"))},[renderSlot(Ue.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString(Ue.title),1)])],2)):createCommentVNode("v-if",!0),Ue.subTitle||Ue.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ie).e("subtitle"))},[renderSlot(Ue.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString(Ue.subTitle),1)])],2)):createCommentVNode("v-if",!0),Ue.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(Ie).e("extra"))},[renderSlot(Ue.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$O,[["__file","result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function xe($e){return typeof $e=="number"&&$e!==$e};function isEqual(xe,$e){return!!(xe===$e||safeIsNaN(xe)&&safeIsNaN($e))}function areInputsEqual(xe,$e){if(xe.length!==$e.length)return!1;for(var Ie=0;Ie{const $e=getCurrentInstance().proxy.$props;return computed(()=>{const Ie=(Fe,Ue,qe)=>({});return $e.perfMode?memoize(Ie):memoizeOne(Ie)})},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL$1]:"left",[VERTICAL$1]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL$1]:"deltaX",[VERTICAL$1]:"deltaY"},useWheel=({atEndEdge:xe,atStartEdge:$e,layout:Ie},Fe)=>{let Ue,qe=0;const At=Lt=>Lt<0&&$e.value||Lt>0&&xe.value;return{hasReachedEdge:At,onWheel:Lt=>{cAF(Ue);const jt=Lt[LayoutKeys[Ie.value]];At(qe)&&At(qe+jt)||(qe+=jt,isFirefox()||Lt.preventDefault(),Ue=rAF(()=>{Fe(qe),qe=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout$4=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL$1}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:definePropType([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),virtualizedListProps=buildProps({cache,estimatedItemSize,layout:layout$4,initScrollOffset,total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:xe,rowIndex:$e})=>`${$e}:${xe}`},rowCache:cache,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout$4,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(xe,$e)=>xe<$e?FORWARD:BACKWARD,isHorizontal=xe=>xe===LTR||xe===RTL||xe===HORIZONTAL$1,isRTL=xe=>xe===RTL;let cachedRTLResult=null;function getRTLOffsetType(xe=!1){if(cachedRTLResult===null||xe){const $e=document.createElement("div"),Ie=$e.style;Ie.width="50px",Ie.height="50px",Ie.overflow="scroll",Ie.direction="rtl";const Fe=document.createElement("div"),Ue=Fe.style;return Ue.width="100px",Ue.height="100px",$e.appendChild(Fe),document.body.appendChild($e),$e.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:($e.scrollLeft=1,$e.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild($e),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:xe,size:$e,bar:Ie},Fe){const Ue={},qe=`translate${Ie.axis}(${xe}px)`;return Ue[Ie.size]=$e,Ue.transform=qe,Ue.msTransform=qe,Ue.webkitTransform=qe,Fe==="horizontal"?Ue.height="100%":Ue.width="100%",Ue}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(xe,{emit:$e}){const Ie=computed(()=>xe.startGap+xe.endGap),Fe=useNamespace("virtual-scrollbar"),Ue=useNamespace("scrollbar"),qe=ref(),At=ref();let Dt=null,Lt=null;const jt=reactive({isDragging:!1,traveled:0}),hn=computed(()=>BAR_MAP[xe.layout]),vn=computed(()=>xe.clientSize-unref(Ie)),bn=computed(()=>({position:"absolute",width:`${HORIZONTAL$1===xe.layout?vn.value:xe.scrollbarSize}px`,height:`${HORIZONTAL$1===xe.layout?xe.scrollbarSize:vn.value}px`,[ScrollbarDirKey[xe.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),_n=computed(()=>{const $n=xe.ratio,Pn=xe.clientSize;if($n>=100)return Number.POSITIVE_INFINITY;if($n>=50)return $n*Pn/100;const Nn=Pn/3;return Math.floor(Math.min(Math.max($n*Pn,SCROLLBAR_MIN_SIZE),Nn))}),wn=computed(()=>{if(!Number.isFinite(_n.value))return{display:"none"};const $n=`${_n.value}px`;return renderThumbStyle({bar:hn.value,size:$n,move:jt.traveled},xe.layout)}),kn=computed(()=>Math.floor(xe.clientSize-_n.value-unref(Ie))),Cn=()=>{window.addEventListener("mousemove",Tn),window.addEventListener("mouseup",En);const $n=unref(At);$n&&(Lt=document.onselectstart,document.onselectstart=()=>!1,$n.addEventListener("touchmove",Tn),$n.addEventListener("touchend",En))},Sn=()=>{window.removeEventListener("mousemove",Tn),window.removeEventListener("mouseup",En),document.onselectstart=Lt,Lt=null;const $n=unref(At);$n&&($n.removeEventListener("touchmove",Tn),$n.removeEventListener("touchend",En))},xn=$n=>{$n.stopImmediatePropagation(),!($n.ctrlKey||[1,2].includes($n.button))&&(jt.isDragging=!0,jt[hn.value.axis]=$n.currentTarget[hn.value.offset]-($n[hn.value.client]-$n.currentTarget.getBoundingClientRect()[hn.value.direction]),$e("start-move"),Cn())},En=()=>{jt.isDragging=!1,jt[hn.value.axis]=0,$e("stop-move"),Sn()},Tn=$n=>{const{isDragging:Pn}=jt;if(!Pn||!At.value||!qe.value)return;const Nn=jt[hn.value.axis];if(!Nn)return;cAF(Dt);const Mn=(qe.value.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client])*-1,In=At.value[hn.value.offset]-Nn,On=Mn-In;Dt=rAF(()=>{jt.traveled=Math.max(xe.startGap,Math.min(On,kn.value)),$e("scroll",On,kn.value)})},An=$n=>{const Pn=Math.abs($n.target.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client]),Nn=At.value[hn.value.offset]/2,Mn=Pn-Nn;jt.traveled=Math.max(0,Math.min(Mn,kn.value)),$e("scroll",Mn,kn.value)};return watch(()=>xe.scrollFrom,$n=>{jt.isDragging||(jt.traveled=Math.ceil($n*kn.value))}),onBeforeUnmount(()=>{Sn()}),()=>h$5("div",{role:"presentation",ref:qe,class:[Fe.b(),xe.class,(xe.alwaysOn||jt.isDragging)&&"always-on"],style:bn.value,onMousedown:withModifiers(An,["stop","prevent"]),onTouchstartPrevent:xn},h$5("div",{ref:At,class:Ue.e("thumb"),style:wn.value,onMousedown:xn},[]))}}),createList$2=({name:xe,getOffset:$e,getItemSize:Ie,getItemOffset:Fe,getEstimatedTotalSize:Ue,getStartIndexForOffset:qe,getStopIndexForStartIndex:At,initCache:Dt,clearCache:Lt,validateProps:jt})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(hn,{emit:vn,expose:bn}){jt(hn);const _n=getCurrentInstance(),wn=useNamespace("vl"),kn=ref(Dt(hn,_n)),Cn=useCache(),Sn=ref(),xn=ref(),En=ref(),Tn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$1(hn.initScrollOffset)?hn.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:hn.scrollbarAlwaysOn}),An=computed(()=>{const{total:Xn,cache:er}=hn,{isScrolling:rr,scrollDir:Jn,scrollOffset:Yn}=unref(Tn);if(Xn===0)return[0,0,0,0];const qn=qe(hn,Yn,unref(kn)),ar=At(hn,qn,Yn,unref(kn)),tr=!rr||Jn===BACKWARD?Math.max(1,er):1,or=!rr||Jn===FORWARD?Math.max(1,er):1;return[Math.max(0,qn-tr),Math.max(0,Math.min(Xn-1,ar+or)),qn,ar]}),$n=computed(()=>Ue(hn,unref(kn))),Pn=computed(()=>isHorizontal(hn.layout)),Nn=computed(()=>[{position:"relative",[`overflow-${Pn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:hn.direction,height:isNumber$1(hn.height)?`${hn.height}px`:hn.height,width:isNumber$1(hn.width)?`${hn.width}px`:hn.width},hn.style]),Mn=computed(()=>{const Xn=unref($n),er=unref(Pn);return{height:er?"100%":`${Xn}px`,pointerEvents:unref(Tn).isScrolling?"none":void 0,width:er?`${Xn}px`:"100%"}}),In=computed(()=>Pn.value?hn.width:hn.height),{onWheel:On}=useWheel({atStartEdge:computed(()=>Tn.value.scrollOffset<=0),atEndEdge:computed(()=>Tn.value.scrollOffset>=$n.value),layout:computed(()=>hn.layout)},Xn=>{var er,rr;(rr=(er=En.value).onMouseUp)==null||rr.call(er),Hn(Math.min(Tn.value.scrollOffset+Xn,$n.value-In.value))}),Rn=()=>{const{total:Xn}=hn;if(Xn>0){const[Yn,qn,ar,tr]=unref(An);vn(ITEM_RENDER_EVT,Yn,qn,ar,tr)}const{scrollDir:er,scrollOffset:rr,updateRequested:Jn}=unref(Tn);vn(SCROLL_EVT,er,rr,Jn)},Bn=Xn=>{const{clientHeight:er,scrollHeight:rr,scrollTop:Jn}=Xn.currentTarget,Yn=unref(Tn);if(Yn.scrollOffset===Jn)return;const qn=Math.max(0,Math.min(Jn,rr-er));Tn.value={...Yn,isScrolling:!0,scrollDir:getScrollDir(Yn.scrollOffset,qn),scrollOffset:qn,updateRequested:!1},nextTick(jn)},Vn=Xn=>{const{clientWidth:er,scrollLeft:rr,scrollWidth:Jn}=Xn.currentTarget,Yn=unref(Tn);if(Yn.scrollOffset===rr)return;const{direction:qn}=hn;let ar=rr;if(qn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{ar=-rr;break}case RTL_OFFSET_POS_DESC:{ar=Jn-er-rr;break}}ar=Math.max(0,Math.min(ar,Jn-er)),Tn.value={...Yn,isScrolling:!0,scrollDir:getScrollDir(Yn.scrollOffset,ar),scrollOffset:ar,updateRequested:!1},nextTick(jn)},Ln=Xn=>{unref(Pn)?Vn(Xn):Bn(Xn),Rn()},Dn=(Xn,er)=>{const rr=($n.value-In.value)/er*Xn;Hn(Math.min($n.value-In.value,rr))},Hn=Xn=>{Xn=Math.max(Xn,0),Xn!==unref(Tn).scrollOffset&&(Tn.value={...unref(Tn),scrollOffset:Xn,scrollDir:getScrollDir(unref(Tn).scrollOffset,Xn),updateRequested:!0},nextTick(jn))},Fn=(Xn,er=AUTO_ALIGNMENT)=>{const{scrollOffset:rr}=unref(Tn);Xn=Math.max(0,Math.min(Xn,hn.total-1)),Hn($e(hn,Xn,er,rr,unref(kn)))},zn=Xn=>{const{direction:er,itemSize:rr,layout:Jn}=hn,Yn=Cn.value(Lt&&rr,Lt&&Jn,Lt&&er);let qn;if(hasOwn$1(Yn,String(Xn)))qn=Yn[Xn];else{const ar=Fe(hn,Xn,unref(kn)),tr=Ie(hn,Xn,unref(kn)),or=unref(Pn),sr=er===RTL,Kn=or?ar:0;Yn[Xn]=qn={position:"absolute",left:sr?void 0:`${Kn}px`,right:sr?`${Kn}px`:void 0,top:or?0:`${ar}px`,height:or?"100%":`${tr}px`,width:or?`${tr}px`:"100%"}}return qn},jn=()=>{Tn.value.isScrolling=!1,nextTick(()=>{Cn.value(-1,null,null)})},Gn=()=>{const Xn=Sn.value;Xn&&(Xn.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:Xn}=hn,er=unref(Sn);isNumber$1(Xn)&&er&&(unref(Pn)?er.scrollLeft=Xn:er.scrollTop=Xn),Rn()}),onUpdated(()=>{const{direction:Xn,layout:er}=hn,{scrollOffset:rr,updateRequested:Jn}=unref(Tn),Yn=unref(Sn);if(Jn&&Yn)if(er===HORIZONTAL$1)if(Xn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Yn.scrollLeft=-rr;break}case RTL_OFFSET_POS_ASC:{Yn.scrollLeft=rr;break}default:{const{clientWidth:qn,scrollWidth:ar}=Yn;Yn.scrollLeft=ar-qn-rr;break}}else Yn.scrollLeft=rr;else Yn.scrollTop=rr});const Wn={ns:wn,clientSize:In,estimatedTotalSize:$n,windowStyle:Nn,windowRef:Sn,innerRef:xn,innerStyle:Mn,itemsToRender:An,scrollbarRef:En,states:Tn,getItemStyle:zn,onScroll:Ln,onScrollbarScroll:Dn,onWheel:On,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn};return bn({windowRef:Sn,innerRef:xn,getItemStyleCache:Cn,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn,states:Tn}),Wn},render(hn){var vn;const{$slots:bn,className:_n,clientSize:wn,containerElement:kn,data:Cn,getItemStyle:Sn,innerElement:xn,itemsToRender:En,innerStyle:Tn,layout:An,total:$n,onScroll:Pn,onScrollbarScroll:Nn,onWheel:Mn,states:In,useIsScrolling:On,windowStyle:Rn,ns:Bn}=hn,[Vn,Ln]=En,Dn=resolveDynamicComponent(kn),Hn=resolveDynamicComponent(xn),Fn=[];if($n>0)for(let Wn=Vn;Wn<=Ln;Wn++)Fn.push((vn=bn.default)==null?void 0:vn.call(bn,{data:Cn,key:Wn,index:Wn,isScrolling:On?In.isScrolling:void 0,style:Sn(Wn)}));const zn=[h$5(Hn,{style:Tn,ref:"innerRef"},isString$4(Hn)?Fn:{default:()=>Fn})],jn=h$5(ScrollBar,{ref:"scrollbarRef",clientSize:wn,layout:An,onScroll:Nn,ratio:wn*100/this.estimatedTotalSize,scrollFrom:In.scrollOffset/(this.estimatedTotalSize-wn),total:$n}),Gn=h$5(Dn,{class:[Bn.e("window"),_n],style:Rn,onScroll:Pn,onWheel:Mn,ref:"windowRef",key:0},isString$4(Dn)?[zn]:{default:()=>[zn]});return h$5("div",{key:0,class:[Bn.e("wrapper"),In.scrollbarAlwaysOn?"always-on":""]},[Gn,jn])}}),FixedSizeList=createList$2({name:"ElFixedSizeList",getItemOffset:({itemSize:xe},$e)=>$e*xe,getItemSize:({itemSize:xe})=>xe,getEstimatedTotalSize:({total:xe,itemSize:$e})=>$e*xe,getOffset:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At,Dt)=>{const Lt=isHorizontal(Fe)?Ue:xe,jt=Math.max(0,$e*Ie-Lt),hn=Math.min(jt,qe*Ie),vn=Math.max(0,(qe+1)*Ie-Lt);switch(At===SMART_ALIGNMENT&&(Dt>=vn-Lt&&Dt<=hn+Lt?At=AUTO_ALIGNMENT:At=CENTERED_ALIGNMENT),At){case START_ALIGNMENT:return hn;case END_ALIGNMENT:return vn;case CENTERED_ALIGNMENT:{const bn=Math.round(vn+(hn-vn)/2);return bnjt+Math.floor(Lt/2)?jt:bn}case AUTO_ALIGNMENT:default:return Dt>=vn&&Dt<=hn?Dt:DtMath.max(0,Math.min(xe-1,Math.floor(Ie/$e))),getStopIndexForStartIndex:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At)=>{const Dt=qe*Ie,Lt=isHorizontal(Fe)?Ue:xe,jt=Math.ceil((Lt+At-Dt)/Ie);return Math.max(0,Math.min($e-1,qe+jt-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(xe,$e,Ie)=>{const{itemSize:Fe}=xe,{items:Ue,lastVisitedIndex:qe}=Ie;if($e>qe){let At=0;if(qe>=0){const Dt=Ue[qe];At=Dt.offset+Dt.size}for(let Dt=qe+1;Dt<=$e;Dt++){const Lt=Fe(Dt);Ue[Dt]={offset:At,size:Lt},At+=Lt}Ie.lastVisitedIndex=$e}return Ue[$e]},findItem$1=(xe,$e,Ie)=>{const{items:Fe,lastVisitedIndex:Ue}=$e;return(Ue>0?Fe[Ue].offset:0)>=Ie?bs$1(xe,$e,0,Ue,Ie):es$1(xe,$e,Math.max(0,Ue),Ie)},bs$1=(xe,$e,Ie,Fe,Ue)=>{for(;Ie<=Fe;){const qe=Ie+Math.floor((Fe-Ie)/2),At=getItemFromCache$1(xe,qe,$e).offset;if(At===Ue)return qe;AtUe&&(Fe=qe-1)}return Math.max(0,Ie-1)},es$1=(xe,$e,Ie,Fe)=>{const{total:Ue}=xe;let qe=1;for(;Ie{let Ue=0;if(Fe>=xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},DynamicSizeList=createList$2({name:"ElDynamicSizeList",getItemOffset:(xe,$e,Ie)=>getItemFromCache$1(xe,$e,Ie).offset,getItemSize:(xe,$e,{items:Ie})=>Ie[$e].size,getEstimatedTotalSize,getOffset:(xe,$e,Ie,Fe,Ue)=>{const{height:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:qe,jt=getItemFromCache$1(xe,$e,Ue),hn=getEstimatedTotalSize(xe,Ue),vn=Math.max(0,Math.min(hn-Lt,jt.offset)),bn=Math.max(0,jt.offset-Lt+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Lt&&Fe<=vn+Lt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:FefindItem$1(xe,Ie,$e),getStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{height:Ue,total:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:Ue,jt=getItemFromCache$1(xe,$e,Fe),hn=Ie+Lt;let vn=jt.offset+jt.size,bn=$e;for(;bn{var qe,At;Ie.lastVisitedIndex=Math.min(Ie.lastVisitedIndex,Fe-1),(qe=$e.exposed)==null||qe.getItemStyleCache(-1),Ue&&((At=$e.proxy)==null||At.$forceUpdate())},Ie},clearCache:!1,validateProps:({itemSize:xe})=>{}}),useGridWheel=({atXEndEdge:xe,atXStartEdge:$e,atYEndEdge:Ie,atYStartEdge:Fe},Ue)=>{let qe=null,At=0,Dt=0;const Lt=(hn,vn)=>{const bn=hn<=0&&$e.value||hn>=0&&xe.value,_n=vn<=0&&Fe.value||vn>=0&&Ie.value;return bn&&_n};return{hasReachedEdge:Lt,onWheel:hn=>{cAF(qe);let vn=hn.deltaX,bn=hn.deltaY;Math.abs(vn)>Math.abs(bn)?bn=0:vn=0,hn.shiftKey&&bn!==0&&(vn=bn,bn=0),!(Lt(At,Dt)&&Lt(At+vn,Dt+bn))&&(At+=vn,Dt+=bn,hn.preventDefault(),qe=rAF(()=>{Ue(At,Dt),At=0,Dt=0}))}}},createGrid=({name:xe,clearCache:$e,getColumnPosition:Ie,getColumnStartIndexForOffset:Fe,getColumnStopIndexForStartIndex:Ue,getEstimatedTotalHeight:qe,getEstimatedTotalWidth:At,getColumnOffset:Dt,getRowOffset:Lt,getRowPosition:jt,getRowStartIndexForOffset:hn,getRowStopIndexForStartIndex:vn,initCache:bn,injectToInstance:_n,validateProps:wn})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(kn,{emit:Cn,expose:Sn,slots:xn}){const En=useNamespace("vl");wn(kn);const Tn=getCurrentInstance(),An=ref(bn(kn,Tn));_n==null||_n(Tn,An);const $n=ref(),Pn=ref(),Nn=ref(),Mn=ref(null),In=ref({isScrolling:!1,scrollLeft:isNumber$1(kn.initScrollLeft)?kn.initScrollLeft:0,scrollTop:isNumber$1(kn.initScrollTop)?kn.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),On=useCache(),Rn=computed(()=>Number.parseInt(`${kn.height}`,10)),Bn=computed(()=>Number.parseInt(`${kn.width}`,10)),Vn=computed(()=>{const{totalColumn:ir,totalRow:kr,columnCache:Cr}=kn,{isScrolling:Er,xAxisScrollDir:dr,scrollLeft:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=Fe(kn,br,unref(An)),Pr=Ue(kn,_r,br,unref(An)),gr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-gr),Math.max(0,Math.min(ir-1,Pr+xr)),_r,Pr]}),Ln=computed(()=>{const{totalColumn:ir,totalRow:kr,rowCache:Cr}=kn,{isScrolling:Er,yAxisScrollDir:dr,scrollTop:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=hn(kn,br,unref(An)),Pr=vn(kn,_r,br,unref(An)),gr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-gr),Math.max(0,Math.min(kr-1,Pr+xr)),_r,Pr]}),Dn=computed(()=>qe(kn,unref(An))),Hn=computed(()=>At(kn,unref(An))),Fn=computed(()=>{var ir;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:kn.direction,height:isNumber$1(kn.height)?`${kn.height}px`:kn.height,width:isNumber$1(kn.width)?`${kn.width}px`:kn.width},(ir=kn.style)!=null?ir:{}]}),zn=computed(()=>{const ir=`${unref(Hn)}px`;return{height:`${unref(Dn)}px`,pointerEvents:unref(In).isScrolling?"none":void 0,width:ir}}),jn=()=>{const{totalColumn:ir,totalRow:kr}=kn;if(ir>0&&kr>0){const[Pr,gr,xr,Rr]=unref(Vn),[Hr,Jr,Gr,$r]=unref(Ln);Cn(ITEM_RENDER_EVT,{columnCacheStart:Pr,columnCacheEnd:gr,rowCacheStart:Hr,rowCacheEnd:Jr,columnVisibleStart:xr,columnVisibleEnd:Rr,rowVisibleStart:Gr,rowVisibleEnd:$r})}const{scrollLeft:Cr,scrollTop:Er,updateRequested:dr,xAxisScrollDir:br,yAxisScrollDir:_r}=unref(In);Cn(SCROLL_EVT,{xAxisScrollDir:br,scrollLeft:Cr,yAxisScrollDir:_r,scrollTop:Er,updateRequested:dr})},Gn=ir=>{const{clientHeight:kr,clientWidth:Cr,scrollHeight:Er,scrollLeft:dr,scrollTop:br,scrollWidth:_r}=ir.currentTarget,Pr=unref(In);if(Pr.scrollTop===br&&Pr.scrollLeft===dr)return;let gr=dr;if(isRTL(kn.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:gr=-dr;break;case RTL_OFFSET_POS_DESC:gr=_r-Cr-dr;break}In.value={...Pr,isScrolling:!0,scrollLeft:gr,scrollTop:Math.max(0,Math.min(br,Er-kr)),updateRequested:!0,xAxisScrollDir:getScrollDir(Pr.scrollLeft,gr),yAxisScrollDir:getScrollDir(Pr.scrollTop,br)},nextTick(()=>qn()),ar(),jn()},Wn=(ir,kr)=>{const Cr=unref(Rn),Er=(Dn.value-Cr)/kr*ir;rr({scrollTop:Math.min(Dn.value-Cr,Er)})},Xn=(ir,kr)=>{const Cr=unref(Bn),Er=(Hn.value-Cr)/kr*ir;rr({scrollLeft:Math.min(Hn.value-Cr,Er)})},{onWheel:er}=useGridWheel({atXStartEdge:computed(()=>In.value.scrollLeft<=0),atXEndEdge:computed(()=>In.value.scrollLeft>=Hn.value-unref(Bn)),atYStartEdge:computed(()=>In.value.scrollTop<=0),atYEndEdge:computed(()=>In.value.scrollTop>=Dn.value-unref(Rn))},(ir,kr)=>{var Cr,Er,dr,br;(Er=(Cr=Pn.value)==null?void 0:Cr.onMouseUp)==null||Er.call(Cr),(br=(dr=Nn.value)==null?void 0:dr.onMouseUp)==null||br.call(dr);const _r=unref(Bn),Pr=unref(Rn);rr({scrollLeft:Math.min(In.value.scrollLeft+ir,Hn.value-_r),scrollTop:Math.min(In.value.scrollTop+kr,Dn.value-Pr)})}),rr=({scrollLeft:ir=In.value.scrollLeft,scrollTop:kr=In.value.scrollTop})=>{ir=Math.max(ir,0),kr=Math.max(kr,0);const Cr=unref(In);kr===Cr.scrollTop&&ir===Cr.scrollLeft||(In.value={...Cr,xAxisScrollDir:getScrollDir(Cr.scrollLeft,ir),yAxisScrollDir:getScrollDir(Cr.scrollTop,kr),scrollLeft:ir,scrollTop:kr,updateRequested:!0},nextTick(()=>qn()),ar(),jn())},Jn=(ir=0,kr=0,Cr=AUTO_ALIGNMENT)=>{const Er=unref(In);kr=Math.max(0,Math.min(kr,kn.totalColumn-1)),ir=Math.max(0,Math.min(ir,kn.totalRow-1));const dr=getScrollBarWidth(En.namespace.value),br=unref(An),_r=qe(kn,br),Pr=At(kn,br);rr({scrollLeft:Dt(kn,kr,Cr,Er.scrollLeft,br,Pr>kn.width?dr:0),scrollTop:Lt(kn,ir,Cr,Er.scrollTop,br,_r>kn.height?dr:0)})},Yn=(ir,kr)=>{const{columnWidth:Cr,direction:Er,rowHeight:dr}=kn,br=On.value($e&&Cr,$e&&dr,$e&&Er),_r=`${ir},${kr}`;if(hasOwn$1(br,_r))return br[_r];{const[,Pr]=Ie(kn,kr,unref(An)),gr=unref(An),xr=isRTL(Er),[Rr,Hr]=jt(kn,ir,gr),[Jr]=Ie(kn,kr,gr);return br[_r]={position:"absolute",left:xr?void 0:`${Pr}px`,right:xr?`${Pr}px`:void 0,top:`${Hr}px`,height:`${Rr}px`,width:`${Jr}px`},br[_r]}},qn=()=>{In.value.isScrolling=!1,nextTick(()=>{On.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:ir,initScrollTop:kr}=kn,Cr=unref($n);Cr&&(isNumber$1(ir)&&(Cr.scrollLeft=ir),isNumber$1(kr)&&(Cr.scrollTop=kr)),jn()});const ar=()=>{const{direction:ir}=kn,{scrollLeft:kr,scrollTop:Cr,updateRequested:Er}=unref(In),dr=unref($n);if(Er&&dr){if(ir===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{dr.scrollLeft=-kr;break}case RTL_OFFSET_POS_ASC:{dr.scrollLeft=kr;break}default:{const{clientWidth:br,scrollWidth:_r}=dr;dr.scrollLeft=_r-br-kr;break}}else dr.scrollLeft=Math.max(0,kr);dr.scrollTop=Math.max(0,Cr)}},{resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr}=Tn.proxy;Sn({windowRef:$n,innerRef:Mn,getItemStyleCache:On,scrollTo:rr,scrollToItem:Jn,states:In,resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr});const Kn=()=>{const{scrollbarAlwaysOn:ir,scrollbarStartGap:kr,scrollbarEndGap:Cr,totalColumn:Er,totalRow:dr}=kn,br=unref(Bn),_r=unref(Rn),Pr=unref(Hn),gr=unref(Dn),{scrollLeft:xr,scrollTop:Rr}=unref(In),Hr=h$5(ScrollBar,{ref:Pn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("horizontal"),clientSize:br,layout:"horizontal",onScroll:Xn,ratio:br*100/Pr,scrollFrom:xr/(Pr-br),total:dr,visible:!0}),Jr=h$5(ScrollBar,{ref:Nn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("vertical"),clientSize:_r,layout:"vertical",onScroll:Wn,ratio:_r*100/gr,scrollFrom:Rr/(gr-_r),total:Er,visible:!0});return{horizontalScrollbar:Hr,verticalScrollbar:Jr}},Zn=()=>{var ir;const[kr,Cr]=unref(Vn),[Er,dr]=unref(Ln),{data:br,totalColumn:_r,totalRow:Pr,useIsScrolling:gr,itemKey:xr}=kn,Rr=[];if(Pr>0&&_r>0)for(let Hr=Er;Hr<=dr;Hr++)for(let Jr=kr;Jr<=Cr;Jr++)Rr.push((ir=xn.default)==null?void 0:ir.call(xn,{columnIndex:Jr,data:br,key:xr({columnIndex:Jr,data:br,rowIndex:Hr}),isScrolling:gr?unref(In).isScrolling:void 0,style:Yn(Hr,Jr),rowIndex:Hr}));return Rr},nr=()=>{const ir=resolveDynamicComponent(kn.innerElement),kr=Zn();return[h$5(ir,{style:unref(zn),ref:Mn},isString$4(ir)?kr:{default:()=>kr})]};return()=>{const ir=resolveDynamicComponent(kn.containerElement),{horizontalScrollbar:kr,verticalScrollbar:Cr}=Kn(),Er=nr();return h$5("div",{key:0,class:En.e("wrapper"),role:kn.role},[h$5(ir,{class:kn.className,style:unref(Fn),onScroll:Gn,onWheel:er,ref:$n},isString$4(ir)?Er:{default:()=>Er}),kr,Cr])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:xe},$e)=>[xe,$e*xe],getRowPosition:({rowHeight:xe},$e)=>[xe,$e*xe],getEstimatedTotalHeight:({totalRow:xe,rowHeight:$e})=>$e*xe,getEstimatedTotalWidth:({totalColumn:xe,columnWidth:$e})=>$e*xe,getColumnOffset:({totalColumn:xe,columnWidth:$e,width:Ie},Fe,Ue,qe,At,Dt)=>{Ie=Number(Ie);const Lt=Math.max(0,xe*$e-Ie),jt=Math.min(Lt,Fe*$e),hn=Math.max(0,Fe*$e-Ie+Dt+$e);switch(Ue==="smart"&&(qe>=hn-Ie&&qe<=jt+Ie?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vnLt+Math.floor(Ie/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qe{$e=Number($e);const Lt=Math.max(0,Ie*xe-$e),jt=Math.min(Lt,Fe*xe),hn=Math.max(0,Fe*xe-$e+Dt+xe);switch(Ue===SMART_ALIGNMENT&&(qe>=hn-$e&&qe<=jt+$e?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vnLt+Math.floor($e/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qeMath.max(0,Math.min($e-1,Math.floor(Ie/xe))),getColumnStopIndexForStartIndex:({columnWidth:xe,totalColumn:$e,width:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},getRowStartIndexForOffset:({rowHeight:xe,totalRow:$e},Ie)=>Math.max(0,Math.min($e-1,Math.floor(Ie/xe))),getRowStopIndexForStartIndex:({rowHeight:xe,totalRow:$e,height:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),{max:max$2,min:min$2,floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(xe,$e,Ie,Fe)=>{const[Ue,qe,At]=[Ie[Fe],xe[ACCESS_SIZER_KEY_MAP[Fe]],Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];if($e>At){let Dt=0;if(At>=0){const Lt=Ue[At];Dt=Lt.offset+Lt.size}for(let Lt=At+1;Lt<=$e;Lt++){const jt=qe(Lt);Ue[Lt]={offset:Dt,size:jt},Dt+=jt}Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]=$e}return Ue[$e]},bs=(xe,$e,Ie,Fe,Ue,qe)=>{for(;Ie<=Fe;){const At=Ie+floor((Fe-Ie)/2),Dt=getItemFromCache(xe,At,$e,qe).offset;if(Dt===Ue)return At;Dt{const qe=Ue==="column"?xe.totalColumn:xe.totalRow;let At=1;for(;Ie{const[Ue,qe]=[$e[Fe],$e[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];return(qe>0?Ue[qe].offset:0)>=Ie?bs(xe,$e,0,qe,Ie,Fe):es(xe,$e,max$2(0,qe),Ie,Fe)},getEstimatedTotalHeight=({totalRow:xe},{estimatedRowHeight:$e,lastVisitedRowIndex:Ie,row:Fe})=>{let Ue=0;if(Ie>=xe&&(Ie=xe-1),Ie>=0){const Dt=Fe[Ie];Ue=Dt.offset+Dt.size}const At=(xe-Ie-1)*$e;return Ue+At},getEstimatedTotalWidth=({totalColumn:xe},{column:$e,estimatedColumnWidth:Ie,lastVisitedColumnIndex:Fe})=>{let Ue=0;if(Fe>xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(xe,$e,Ie,Fe,Ue,qe,At)=>{const[Dt,Lt]=[qe==="row"?xe.height:xe.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[qe]],jt=getItemFromCache(xe,$e,Ue,qe),hn=Lt(xe,Ue),vn=max$2(0,min$2(hn-Dt,jt.offset)),bn=max$2(0,jt.offset-Dt+At+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Dt&&Fe<=vn+Dt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:bn>vn||Fe{const Fe=getItemFromCache(xe,$e,Ie,"column");return[Fe.size,Fe.offset]},getRowPosition:(xe,$e,Ie)=>{const Fe=getItemFromCache(xe,$e,Ie,"row");return[Fe.size,Fe.offset]},getColumnOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"column",qe),getRowOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"row",qe),getColumnStartIndexForOffset:(xe,$e,Ie)=>findItem(xe,Ie,$e,"column"),getColumnStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const Ue=getItemFromCache(xe,$e,Fe,"column"),qe=Ie+xe.width;let At=Ue.offset+Ue.size,Dt=$e;for(;DtfindItem(xe,Ie,$e,"row"),getRowStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{totalRow:Ue,height:qe}=xe,At=getItemFromCache(xe,$e,Fe,"row"),Dt=Ie+qe;let Lt=At.size+At.offset,jt=$e;for(;jt{const Ie=({columnIndex:qe,rowIndex:At},Dt)=>{var Lt,jt;Dt=isUndefined(Dt)?!0:Dt,isNumber$1(qe)&&($e.value.lastVisitedColumnIndex=Math.min($e.value.lastVisitedColumnIndex,qe-1)),isNumber$1(At)&&($e.value.lastVisitedRowIndex=Math.min($e.value.lastVisitedRowIndex,At-1)),(Lt=xe.exposed)==null||Lt.getItemStyleCache.value(-1,null,null),Dt&&((jt=xe.proxy)==null||jt.$forceUpdate())},Fe=(qe,At)=>{Ie({columnIndex:qe},At)},Ue=(qe,At)=>{Ie({rowIndex:qe},At)};Object.assign(xe.proxy,{resetAfterColumnIndex:Fe,resetAfterRowIndex:Ue,resetAfter:Ie})},initCache:({estimatedColumnWidth:xe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:$e=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:xe,estimatedRowHeight:$e,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),_sfc_main$N=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$7(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.be("group","title")),style:normalizeStyle$1([xe.style,{lineHeight:`${xe.height}px`}])},toDisplayString(xe.item.label),7)}var GroupItem=_export_sfc$1(_sfc_main$N,[["render",_sfc_render$7],["__file","group-item.vue"]]);function useOption(xe,{emit:$e}){return{hoverItem:()=>{xe.disabled||$e("hover",xe.index)},selectOptionClick:()=>{xe.disabled||$e("select",xe.item,xe.index)}}}const defaultProps$3={label:"label",value:"value",disabled:"disabled",options:"options"};function useProps(xe){const $e=computed(()=>({...defaultProps$3,...xe.props}));return{aliasProps:$e,getLabel:At=>get$1(At,$e.value.label),getValue:At=>get$1(At,$e.value.value),getDisabled:At=>get$1(At,$e.value.disabled),getOptions:At=>get$1(At,$e.value.options)}}const SelectProps=buildProps({allowCreate:Boolean,autocomplete:{type:definePropType(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},effect:{type:definePropType(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:definePropType([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:definePropType(Array),required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,size:useSizeProp,props:{type:definePropType(Object),default:()=>defaultProps$3},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tagType:{...tagProps.type,default:"info"},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),OptionProps=buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),selectV2InjectionKey=Symbol("ElSelectV2Injection"),_sfc_main$M=defineComponent({props:OptionProps,emits:["select","hover"],setup(xe,{emit:$e}){const Ie=inject(selectV2InjectionKey),Fe=useNamespace("select"),{hoverItem:Ue,selectOptionClick:qe}=useOption(xe,{emit:$e}),{getLabel:At}=useProps(Ie.props);return{ns:Fe,hoverItem:Ue,selectOptionClick:qe,getLabel:At}}}),_hoisted_1$m=["aria-selected"];function _sfc_render$6(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{"aria-selected":xe.selected,style:normalizeStyle$1(xe.style),class:normalizeClass([xe.ns.be("dropdown","item"),xe.ns.is("selected",xe.selected),xe.ns.is("disabled",xe.disabled),xe.ns.is("created",xe.created),xe.ns.is("hovering",xe.hovering)]),onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{item:xe.item,index:xe.index,disabled:xe.disabled},()=>[createBaseVNode("span",null,toDisplayString(xe.getLabel(xe.item)),1)])],46,_hoisted_1$m)}var OptionItem=_export_sfc$1(_sfc_main$M,[["render",_sfc_render$6],["__file","option-item.vue"]]),ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(xe,{slots:$e,expose:Ie}){const Fe=inject(selectV2InjectionKey),Ue=useNamespace("select"),{getLabel:qe,getValue:At,getDisabled:Dt}=useProps(Fe.props),Lt=ref([]),jt=ref(),hn=computed(()=>xe.data.length);watch(()=>hn.value,()=>{var On,Rn;(Rn=(On=Fe.tooltipRef.value).updatePopper)==null||Rn.call(On)});const vn=computed(()=>isUndefined(Fe.props.estimatedOptionHeight)),bn=computed(()=>vn.value?{itemSize:Fe.props.itemHeight}:{estimatedSize:Fe.props.estimatedOptionHeight,itemSize:On=>Lt.value[On]}),_n=(On=[],Rn)=>{const{props:{valueKey:Bn}}=Fe;return isObject$8(Rn)?On&&On.some(Vn=>toRaw(get$1(Vn,Bn))===get$1(Rn,Bn)):On.includes(Rn)},wn=(On,Rn)=>{if(isObject$8(Rn)){const{valueKey:Bn}=Fe.props;return get$1(On,Bn)===get$1(Rn,Bn)}else return On===Rn},kn=(On,Rn)=>Fe.props.multiple?_n(On,At(Rn)):wn(On,At(Rn)),Cn=(On,Rn)=>{const{disabled:Bn,multiple:Vn,multipleLimit:Ln}=Fe.props;return Bn||!Rn&&(Vn?Ln>0&&On.length>=Ln:!1)},Sn=On=>xe.hoveringIndex===On;Ie({listRef:jt,isSized:vn,isItemDisabled:Cn,isItemHovering:Sn,isItemSelected:kn,scrollToItem:On=>{const Rn=jt.value;Rn&&Rn.scrollToItem(On)},resetScrollTop:()=>{const On=jt.value;On&&On.resetScrollTop()}});const Tn=On=>{const{index:Rn,data:Bn,style:Vn}=On,Ln=unref(vn),{itemSize:Dn,estimatedSize:Hn}=unref(bn),{modelValue:Fn}=Fe.props,{onSelect:zn,onHover:jn}=Fe,Gn=Bn[Rn];if(Gn.type==="Group")return createVNode$1(GroupItem,{item:Gn,style:Vn,height:Ln?Dn:Hn},null);const Wn=kn(Fn,Gn),Xn=Cn(Fn,Wn),er=Sn(Rn);return createVNode$1(OptionItem,mergeProps(On,{selected:Wn,disabled:Dt(Gn)||Xn,created:!!Gn.created,hovering:er,item:Gn,onSelect:zn,onHover:jn}),{default:rr=>{var Jn;return((Jn=$e.default)==null?void 0:Jn.call($e,rr))||createVNode$1("span",null,[qe(Gn)])}})},{onKeyboardNavigate:An,onKeyboardSelect:$n}=Fe,Pn=()=>{An("forward")},Nn=()=>{An("backward")},Mn=()=>{Fe.expanded=!1},In=On=>{const{code:Rn}=On,{tab:Bn,esc:Vn,down:Ln,up:Dn,enter:Hn}=EVENT_CODE;switch(Rn!==Bn&&(On.preventDefault(),On.stopPropagation()),Rn){case Bn:case Vn:{Mn();break}case Ln:{Pn();break}case Dn:{Nn();break}case Hn:{$n();break}}};return()=>{var On,Rn,Bn,Vn;const{data:Ln,width:Dn}=xe,{height:Hn,multiple:Fn,scrollbarAlwaysOn:zn}=Fe.props,jn=unref(vn)?FixedSizeList:DynamicSizeList;return createVNode$1("div",{class:[Ue.b("dropdown"),Ue.is("multiple",Fn)],style:{width:`${Dn}px`}},[(On=$e.header)==null?void 0:On.call($e),((Rn=$e.loading)==null?void 0:Rn.call($e))||((Bn=$e.empty)==null?void 0:Bn.call($e))||createVNode$1(jn,mergeProps({ref:jt},unref(bn),{className:Ue.be("dropdown","list"),scrollbarAlwaysOn:zn,data:Ln,height:Hn,width:Dn,total:Ln.length,onKeydown:In}),{default:Gn=>createVNode$1(Tn,Gn,null)}),(Vn=$e.footer)==null?void 0:Vn.call($e)])}}});function useAllowCreate(xe,$e){const{aliasProps:Ie,getLabel:Fe,getValue:Ue}=useProps(xe),qe=ref(0),At=ref(null),Dt=computed(()=>xe.allowCreate&&xe.filterable);function Lt(_n){const wn=kn=>Fe(kn)===_n;return xe.options&&xe.options.some(wn)||$e.createdOptions.some(wn)}function jt(_n){Dt.value&&(xe.multiple&&_n.created?qe.value++:At.value=_n)}function hn(_n){if(Dt.value)if(_n&&_n.length>0){if(Lt(_n))return;const wn={[Ie.value.value]:_n,[Ie.value.label]:_n,created:!0,[Ie.value.disabled]:!1};$e.createdOptions.length>=qe.value?$e.createdOptions[qe.value]=wn:$e.createdOptions.push(wn)}else if(xe.multiple)$e.createdOptions.length=qe.value;else{const wn=At.value;$e.createdOptions.length=0,wn&&wn.created&&$e.createdOptions.push(wn)}}function vn(_n){if(!Dt.value||!_n||!_n.created||_n.created&&xe.reserveKeyword&&$e.inputValue===Fe(_n))return;const wn=$e.createdOptions.findIndex(kn=>Ue(kn)===Ue(_n));~wn&&($e.createdOptions.splice(wn,1),qe.value--)}function bn(){Dt.value&&($e.createdOptions.length=0,qe.value=0)}return{createNewOption:hn,removeNewOption:vn,selectNewOption:jt,clearAllNewOption:bn}}const MINIMUM_INPUT_WIDTH=11,useSelect$1=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useNamespace("select"),Ue=useNamespace("input"),{form:qe,formItem:At}=useFormItem(),{inputId:Dt}=useFormItemInputId(xe,{formItemContext:At}),{aliasProps:Lt,getLabel:jt,getValue:hn,getDisabled:vn,getOptions:bn}=useProps(xe),{valueOnClear:_n,isEmptyValue:wn}=useEmptyValues(xe),kn=reactive({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),Cn=ref(-1),Sn=ref(null),xn=ref(null),En=ref(null),Tn=ref(null),An=ref(null),$n=ref(null),Pn=ref(null),Nn=ref(null),Mn=ref(null),In=ref(null),On=ref(null),{wrapperRef:Rn,isFocused:Bn,handleFocus:Vn,handleBlur:Ln}=useFocusController(An,{afterFocus(){xe.automaticDropdown&&!Fn.value&&(Fn.value=!0,kn.menuVisibleOnFocus=!0)},beforeBlur(Ir){var Xr,to;return((Xr=En.value)==null?void 0:Xr.isFocusInsideContent(Ir))||((to=Tn.value)==null?void 0:to.isFocusInsideContent(Ir))},afterBlur(){Fn.value=!1,kn.menuVisibleOnFocus=!1}}),Dn=ref([]),Hn=ref([]),Fn=ref(!1),zn=computed(()=>xe.disabled||(qe==null?void 0:qe.disabled)),jn=computed(()=>{const Ir=Hn.value.length*xe.itemHeight;return Ir>xe.height?xe.height:Ir}),Gn=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!wn(xe.modelValue)),Wn=computed(()=>xe.clearable&&!zn.value&&kn.inputHovering&&Gn.value),Xn=computed(()=>xe.remote&&xe.filterable?"":arrow_down_default),er=computed(()=>Xn.value&&Fe.is("reverse",Fn.value)),rr=computed(()=>(At==null?void 0:At.validateState)||""),Jn=computed(()=>ValidateComponentsMap[rr.value]),Yn=computed(()=>xe.remote?300:0),qn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!kn.inputValue&&Dn.value.length===0?!1:xe.filterable&&kn.inputValue&&Dn.value.length>0&&Hn.value.length===0?xe.noMatchText||Ie("el.select.noMatch"):Dn.value.length===0?xe.noDataText||Ie("el.select.noData"):null),ar=Ir=>{const Xr=to=>{if(xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod))return!0;const oo=new RegExp(escapeStringRegexp(Ir),"i");return Ir?oo.test(jt(to)||""):!0};return xe.loading?[]:[...kn.createdOptions,...xe.options].reduce((to,oo)=>{const co=bn(oo);if(isArray$6(co)){const wo=co.filter(Xr);wo.length>0&&to.push({label:jt(oo),type:"Group"},...wo)}else(xe.remote||Xr(oo))&&to.push(oo);return to},[])},tr=()=>{Dn.value=ar(""),Hn.value=ar(kn.inputValue)},or=computed(()=>{const Ir=new Map;return Dn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),sr=computed(()=>{const Ir=new Map;return Hn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),Kn=computed(()=>Hn.value.every(Ir=>vn(Ir))),Zn=useFormSize(),nr=computed(()=>Zn.value==="small"?"small":"default"),lr=()=>{var Ir;Cn.value=((Ir=Sn.value)==null?void 0:Ir.offsetWidth)||200},ir=()=>{if(!xn.value)return 0;const Ir=window.getComputedStyle(xn.value);return Number.parseFloat(Ir.gap||"6px")},kr=computed(()=>{const Ir=ir();return{maxWidth:`${On.value&&xe.maxCollapseTags===1?kn.selectionWidth-kn.collapseItemWidth-Ir:kn.selectionWidth}px`}}),Cr=computed(()=>({maxWidth:`${kn.selectionWidth}px`})),Er=computed(()=>({width:`${Math.max(kn.calculatorWidth,MINIMUM_INPUT_WIDTH)}px`})),dr=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!kn.inputValue:xe.filterable?!kn.inputValue:!0),br=computed(()=>{var Ir;const Xr=(Ir=xe.placeholder)!=null?Ir:Ie("el.select.placeholder");return xe.multiple||!Gn.value?Xr:kn.selectedLabel}),_r=computed(()=>{var Ir,Xr;return(Xr=(Ir=En.value)==null?void 0:Ir.popperRef)==null?void 0:Xr.contentRef}),Pr=computed(()=>{if(xe.multiple){const Ir=xe.modelValue.length;if(xe.modelValue.length>0&&sr.value.has(xe.modelValue[Ir-1])){const{index:Xr}=sr.value.get(xe.modelValue[Ir-1]);return Xr}}else if(xe.modelValue&&sr.value.has(xe.modelValue)){const{index:Ir}=sr.value.get(xe.modelValue);return Ir}return-1}),gr=computed({get(){return Fn.value&&qn.value!==!1},set(Ir){Fn.value=Ir}}),xr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(0,xe.maxCollapseTags):kn.cachedOptions:[]),Rr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(xe.maxCollapseTags):[]:[]),{createNewOption:Hr,removeNewOption:Jr,selectNewOption:Gr,clearAllNewOption:$r}=useAllowCreate(xe,kn),{handleCompositionStart:Br,handleCompositionUpdate:Tr,handleCompositionEnd:cr}=useInput(Ir=>xo(Ir)),Sr=()=>{zn.value||(kn.menuVisibleOnFocus?kn.menuVisibleOnFocus=!1:Fn.value=!Fn.value)},Dr=()=>{kn.inputValue.length>0&&!Fn.value&&(Fn.value=!0),Hr(kn.inputValue),Lr(kn.inputValue)},mr=debounce(Dr,Yn.value),Lr=Ir=>{kn.previousQuery!==Ir&&(kn.previousQuery=Ir,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Ir):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Ir),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Hn.value.length?nextTick(zr):nextTick($o))},zr=()=>{const Ir=Hn.value.filter(oo=>!oo.disabled&&oo.type!=="Group"),Xr=Ir.find(oo=>oo.created),to=Ir[0];kn.hoveringIndex=qr(Hn.value,Xr||to)},Vr=Ir=>{isEqual$1(xe.modelValue,Ir)||$e(CHANGE_EVENT,Ir)},Kr=Ir=>{$e(UPDATE_MODEL_EVENT,Ir),Vr(Ir),kn.previousValue=xe.multiple?String(Ir):Ir},qr=(Ir=[],Xr)=>{if(!isObject$8(Xr))return Ir.indexOf(Xr);const to=xe.valueKey;let oo=-1;return Ir.some((co,wo)=>get$1(co,to)===get$1(Xr,to)?(oo=wo,!0):!1),oo},Ur=Ir=>isObject$8(Ir)?get$1(Ir,xe.valueKey):Ir,uo=()=>{lr()},vo=()=>{kn.selectionWidth=xn.value.getBoundingClientRect().width},_o=()=>{kn.calculatorWidth=$n.value.getBoundingClientRect().width},Ao=()=>{kn.collapseItemWidth=On.value.getBoundingClientRect().width},ko=()=>{var Ir,Xr;(Xr=(Ir=En.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Do=()=>{var Ir,Xr;(Xr=(Ir=Tn.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Ro=Ir=>{if(xe.multiple){let Xr=xe.modelValue.slice();const to=qr(Xr,hn(Ir));to>-1?(Xr=[...Xr.slice(0,to),...Xr.slice(to+1)],kn.cachedOptions.splice(to,1),Jr(Ir)):(xe.multipleLimit<=0||Xr.length{let to=xe.modelValue.slice();const oo=qr(to,hn(Xr));oo>-1&&!zn.value&&(to=[...xe.modelValue.slice(0,oo),...xe.modelValue.slice(oo+1)],kn.cachedOptions.splice(oo,1),Kr(to),$e("remove-tag",hn(Xr)),Jr(Xr)),Ir.stopPropagation(),qo()},qo=()=>{var Ir;(Ir=An.value)==null||Ir.focus()},To=()=>{var Ir;(Ir=An.value)==null||Ir.blur()},So=()=>{kn.inputValue.length>0?kn.inputValue="":Fn.value=!1},yo=Ir=>findLastIndex(Ir,Xr=>!kn.cachedOptions.some(to=>hn(to)===Xr&&vn(to))),Zr=Ir=>{if(xe.multiple&&Ir.code!==EVENT_CODE.delete&&kn.inputValue.length===0){Ir.preventDefault();const Xr=xe.modelValue.slice(),to=yo(Xr);if(to<0)return;const oo=Xr[to];Xr.splice(to,1);const co=kn.cachedOptions[to];kn.cachedOptions.splice(to,1),Jr(co),Kr(Xr),$e("remove-tag",oo)}},Mr=()=>{let Ir;isArray$6(xe.modelValue)?Ir=[]:Ir=_n.value,xe.multiple?kn.cachedOptions=[]:kn.selectedLabel="",Fn.value=!1,Kr(Ir),$e("clear"),$r(),qo()},Or=(Ir,Xr=void 0)=>{const to=Hn.value;if(!["forward","backward"].includes(Ir)||zn.value||to.length<=0||Kn.value)return;if(!Fn.value)return Sr();Xr===void 0&&(Xr=kn.hoveringIndex);let oo=-1;Ir==="forward"?(oo=Xr+1,oo>=to.length&&(oo=0)):Ir==="backward"&&(oo=Xr-1,(oo<0||oo>=to.length)&&(oo=to.length-1));const co=to[oo];if(vn(co)||co.type==="Group")return Or(Ir,oo);kn.hoveringIndex=oo,ro(oo)},yr=()=>{if(Fn.value)~kn.hoveringIndex&&Hn.value[kn.hoveringIndex]&&Ro(Hn.value[kn.hoveringIndex]);else return Sr()},so=Ir=>{kn.hoveringIndex=Ir},$o=()=>{xe.multiple?kn.hoveringIndex=Hn.value.findIndex(Ir=>xe.modelValue.some(Xr=>Ur(Xr)===Ur(Ir))):kn.hoveringIndex=Hn.value.findIndex(Ir=>Ur(Ir)===Ur(xe.modelValue))},xo=Ir=>{if(kn.inputValue=Ir.target.value,xe.remote)mr();else return Dr()},ho=Ir=>{if(Fn.value=!1,Bn.value){const Xr=new FocusEvent("focus",Ir);Ln(Xr)}},po=()=>(kn.isBeforeHide=!1,nextTick(()=>{~Pr.value&&ro(kn.hoveringIndex)})),ro=Ir=>{Mn.value.scrollToItem(Ir)},Yr=Ir=>{const Xr=Ur(Ir);if(or.value.has(Xr)){const{option:to}=or.value.get(Xr);return to}return{[Lt.value.value]:Ir,[Lt.value.label]:Ir}},Qr=()=>{if(xe.multiple)if(xe.modelValue.length>0){kn.cachedOptions.length=0,kn.previousValue=xe.modelValue.toString();for(const Ir of xe.modelValue){const Xr=Yr(Ir);kn.cachedOptions.push(Xr)}}else kn.cachedOptions=[],kn.previousValue=void 0;else if(Gn.value){kn.previousValue=xe.modelValue;const Ir=Hn.value,Xr=Ir.findIndex(to=>Ur(hn(to))===Ur(xe.modelValue));~Xr?kn.selectedLabel=jt(Ir[Xr]):kn.selectedLabel=Ur(xe.modelValue)}else kn.selectedLabel="",kn.previousValue=void 0;$r(),lr()};return watch(Fn,Ir=>{Ir?Lr(""):(kn.inputValue="",kn.previousQuery=null,kn.isBeforeHide=!0,Hr("")),$e("visible-change",Ir)}),watch(()=>xe.modelValue,(Ir,Xr)=>{var to;(!Ir||xe.multiple&&Ir.toString()!==kn.previousValue||!xe.multiple&&Ur(Ir)!==Ur(kn.previousValue))&&Qr(),!isEqual$1(Ir,Xr)&&xe.validateEvent&&((to=At==null?void 0:At.validate)==null||to.call(At,"change").catch(oo=>void 0))},{deep:!0}),watch(()=>xe.options,()=>{const Ir=An.value;(!Ir||Ir&&document.activeElement!==Ir)&&Qr()},{deep:!0,flush:"post"}),watch(()=>Hn.value,()=>Mn.value&&nextTick(Mn.value.resetScrollTop)),watchEffect(()=>{kn.isBeforeHide||tr()}),watchEffect(()=>{const{valueKey:Ir,options:Xr}=xe,to=new Map;for(const oo of Xr){const co=hn(oo);let wo=co;if(isObject$8(wo)&&(wo=get$1(co,Ir)),to.get(wo))break;to.set(wo,!0)}}),onMounted(()=>{Qr()}),useResizeObserver(Sn,uo),useResizeObserver(xn,vo),useResizeObserver($n,_o),useResizeObserver(Mn,ko),useResizeObserver(Rn,ko),useResizeObserver(In,Do),useResizeObserver(On,Ao),{inputId:Dt,collapseTagSize:nr,currentPlaceholder:br,expanded:Fn,emptyText:qn,popupHeight:jn,debounce:Yn,allOptions:Dn,filteredOptions:Hn,iconComponent:Xn,iconReverse:er,tagStyle:kr,collapseTagStyle:Cr,inputStyle:Er,popperSize:Cn,dropdownMenuVisible:gr,hasModelValue:Gn,shouldShowPlaceholder:dr,selectDisabled:zn,selectSize:Zn,showClearBtn:Wn,states:kn,isFocused:Bn,nsSelect:Fe,nsInput:Ue,calculatorRef:$n,inputRef:An,menuRef:Mn,tagMenuRef:In,tooltipRef:En,tagTooltipRef:Tn,selectRef:Sn,wrapperRef:Rn,selectionRef:xn,prefixRef:Pn,suffixRef:Nn,collapseItemRef:On,popperRef:_r,validateState:rr,validateIcon:Jn,showTagList:xr,collapseTagList:Rr,debouncedOnInputChange:mr,deleteTag:Ko,getLabel:jt,getValue:hn,getDisabled:vn,getValueKey:Ur,handleBlur:Ln,handleClear:Mr,handleClickOutside:ho,handleDel:Zr,handleEsc:So,handleFocus:Vn,focus:qo,blur:To,handleMenuEnter:po,handleResize:uo,resetSelectionWidth:vo,resetCalculatorWidth:_o,updateTooltip:ko,updateTagTooltip:Do,updateOptions:tr,toggleMenu:Sr,scrollTo:ro,onInput:xo,onKeyboardNavigate:Or,onKeyboardSelect:yr,onSelect:Ro,onHover:so,handleCompositionStart:Br,handleCompositionEnd:cr,handleCompositionUpdate:Tr}},_sfc_main$L=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=computed(()=>{const{modelValue:Ue,multiple:qe}=xe,At=qe?[]:void 0;return isArray$6(Ue)?qe?Ue:At:qe?At:Ue}),Fe=useSelect$1(reactive({...toRefs(xe),modelValue:Ie}),$e);return provide(selectV2InjectionKey,{props:reactive({...toRefs(xe),height:Fe.popupHeight,modelValue:Ie}),tooltipRef:Fe.tooltipRef,onSelect:Fe.onSelect,onHover:Fe.onHover,onKeyboardNavigate:Fe.onKeyboardNavigate,onKeyboardSelect:Fe.onKeyboardSelect}),{...Fe,modelValue:Ie}}}),_hoisted_1$l=["id","autocomplete","aria-expanded","aria-label","disabled","readonly","name"],_hoisted_2$e=["textContent"],_hoisted_3$6={key:1};function _sfc_render$5(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-select-menu"),hn=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[14]||($e[14]=vn=>xe.states.inputHovering=!0),onMouseleave:$e[15]||($e[15]=vn=>xe.states.inputHovering=!1),onClick:$e[16]||($e[16]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,placement:xe.placement,pure:"",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[13]||($e[13]=vn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.modelValue.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.modelValue.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,style:normalizeStyle$1(xe.collapseTagStyle),"disable-transitions":""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.modelValue.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=vn=>xe.states.inputValue=vn),style:normalizeStyle$1(xe.inputStyle),autocomplete:xe.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":xe.expanded,"aria-label":xe.ariaLabel,class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,role:"combobox",readonly:!xe.filterable,spellcheck:"false",type:"text",name:xe.name,onFocus:$e[1]||($e[1]=(...vn)=>xe.handleFocus&&xe.handleFocus(...vn)),onBlur:$e[2]||($e[2]=(...vn)=>xe.handleBlur&&xe.handleBlur(...vn)),onInput:$e[3]||($e[3]=(...vn)=>xe.onInput&&xe.onInput(...vn)),onCompositionstart:$e[4]||($e[4]=(...vn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...vn)),onCompositionupdate:$e[5]||($e[5]=(...vn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...vn)),onCompositionend:$e[6]||($e[6]=(...vn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...vn)),onKeydown:[$e[7]||($e[7]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),$e[8]||($e[8]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),$e[9]||($e[9]=withKeys(withModifiers((...vn)=>xe.onKeyboardSelect&&xe.onKeyboardSelect(...vn),["stop","prevent"]),["enter"])),$e[10]||($e[10]=withKeys(withModifiers((...vn)=>xe.handleEsc&&xe.handleEsc(...vn),["stop","prevent"]),["esc"])),$e[11]||($e[11]=withKeys(withModifiers((...vn)=>xe.handleDel&&xe.handleDel(...vn),["stop"]),["delete"]))],onClick:$e[12]||($e[12]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["stop"]))},null,46,_hoisted_1$l),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$e)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$6,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent?withDirectives((openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])),[[vShow,!xe.showClearBtn]]):createCommentVNode("v-if",!0),xe.showClearBtn&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon")]),onClick:withModifiers(xe.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode$1(jt,{ref:"menuRef",data:xe.filteredOptions,width:xe.popperSize,"hovering-index":xe.states.hoveringIndex,"scrollbar-always-on":xe.scrollbarAlwaysOn},createSlots({default:withCtx(vn=>[renderSlot(xe.$slots,"default",normalizeProps(guardReactiveProps(vn)))]),_:2},[xe.$slots.header?{name:"header",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)])}:void 0,xe.$slots.loading&&xe.loading?{name:"loading",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)])}:xe.loading||xe.filteredOptions.length===0?{name:"empty",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)])}:void 0,xe.$slots.footer?{name:"footer",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","onBeforeShow"])],34)),[[hn,xe.handleClickOutside,xe.popperRef]])}var Select=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$5],["__file","select.vue"]]);Select.install=xe=>{xe.component(Select.name,Select)};const _Select=Select,ElSelectV2=_Select,skeletonProps=buildProps({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$B=defineComponent({name:"ElSkeletonItem"}),_sfc_main$K=defineComponent({...__default__$B,props:skeletonItemProps,setup(xe){const $e=useNamespace("skeleton");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).e("item"),unref($e).e(Ie.variant)])},[Ie.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$K,[["__file","skeleton-item.vue"]]);const __default__$A=defineComponent({name:"ElSkeleton"}),_sfc_main$J=defineComponent({...__default__$A,props:skeletonProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("skeleton"),Ue=useThrottleRender(toRef(Ie,"loading"),Ie.throttle);return $e({uiLoading:Ue}),(qe,At)=>unref(Ue)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(Fe).b(),unref(Fe).is("animated",qe.animated)]},qe.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.count,Dt=>(openBlock(),createElementBlock(Fragment,{key:Dt},[qe.loading?renderSlot(qe.$slots,"template",{key:Dt},()=>[createVNode$1(SkeletonItem,{class:normalizeClass(unref(Fe).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.rows,Lt=>(openBlock(),createBlock(SkeletonItem,{key:Lt,class:normalizeClass([unref(Fe).e("paragraph"),unref(Fe).is("last",Lt===qe.rows&&qe.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(qe.$slots,"default",normalizeProps(mergeProps({key:1},qe.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$J,[["__file","skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),isValidValue$1=xe=>isNumber$1(xe)||isArray$6(xe)&&xe.every(isNumber$1),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(xe,$e,Ie)=>{const Fe=ref();return onMounted(async()=>{xe.range?(Array.isArray(xe.modelValue)?($e.firstValue=Math.max(xe.min,xe.modelValue[0]),$e.secondValue=Math.min(xe.max,xe.modelValue[1])):($e.firstValue=xe.min,$e.secondValue=xe.max),$e.oldValue=[$e.firstValue,$e.secondValue]):(typeof xe.modelValue!="number"||Number.isNaN(xe.modelValue)?$e.firstValue=xe.min:$e.firstValue=Math.min(xe.max,Math.max(xe.min,xe.modelValue)),$e.oldValue=$e.firstValue),useEventListener(window,"resize",Ie),await nextTick(),Ie()}),{sliderWrapper:Fe}},useMarks=xe=>computed(()=>xe.marks?Object.keys(xe.marks).map(Number.parseFloat).sort((Ie,Fe)=>Ie-Fe).filter(Ie=>Ie<=xe.max&&Ie>=xe.min).map(Ie=>({point:Ie,position:(Ie-xe.min)*100/(xe.max-xe.min),mark:xe.marks[Ie]})):[]),useSlide=(xe,$e,Ie)=>{const{form:Fe,formItem:Ue}=useFormItem(),qe=shallowRef(),At=ref(),Dt=ref(),Lt={firstButton:At,secondButton:Dt},jt=computed(()=>xe.disabled||(Fe==null?void 0:Fe.disabled)||!1),hn=computed(()=>Math.min($e.firstValue,$e.secondValue)),vn=computed(()=>Math.max($e.firstValue,$e.secondValue)),bn=computed(()=>xe.range?`${100*(vn.value-hn.value)/(xe.max-xe.min)}%`:`${100*($e.firstValue-xe.min)/(xe.max-xe.min)}%`),_n=computed(()=>xe.range?`${100*(hn.value-xe.min)/(xe.max-xe.min)}%`:"0%"),wn=computed(()=>xe.vertical?{height:xe.height}:{}),kn=computed(()=>xe.vertical?{height:bn.value,bottom:_n.value}:{width:bn.value,left:_n.value}),Cn=()=>{qe.value&&($e.sliderSize=qe.value[`client${xe.vertical?"Height":"Width"}`])},Sn=On=>{const Rn=xe.min+On*(xe.max-xe.min)/100;if(!xe.range)return At;let Bn;return Math.abs(hn.value-Rn)$e.secondValue?"firstButton":"secondButton",Lt[Bn]},xn=On=>{const Rn=Sn(On);return Rn.value.setPosition(On),Rn},En=On=>{$e.firstValue=On,An(xe.range?[hn.value,vn.value]:On)},Tn=On=>{$e.secondValue=On,xe.range&&An([hn.value,vn.value])},An=On=>{Ie(UPDATE_MODEL_EVENT,On),Ie(INPUT_EVENT,On)},$n=async()=>{await nextTick(),Ie(CHANGE_EVENT,xe.range?[hn.value,vn.value]:xe.modelValue)},Pn=On=>{var Rn,Bn,Vn,Ln,Dn,Hn;if(jt.value||$e.dragging)return;Cn();let Fn=0;if(xe.vertical){const zn=(Vn=(Bn=(Rn=On.touches)==null?void 0:Rn.item(0))==null?void 0:Bn.clientY)!=null?Vn:On.clientY;Fn=(qe.value.getBoundingClientRect().bottom-zn)/$e.sliderSize*100}else{const zn=(Hn=(Dn=(Ln=On.touches)==null?void 0:Ln.item(0))==null?void 0:Dn.clientX)!=null?Hn:On.clientX,jn=qe.value.getBoundingClientRect().left;Fn=(zn-jn)/$e.sliderSize*100}if(!(Fn<0||Fn>100))return xn(Fn)};return{elFormItem:Ue,slider:qe,firstButton:At,secondButton:Dt,sliderDisabled:jt,minValue:hn,maxValue:vn,runwayStyle:wn,barStyle:kn,resetSize:Cn,setPosition:xn,emitChange:$n,onSliderWrapperPrevent:On=>{var Rn,Bn;((Rn=Lt.firstButton.value)!=null&&Rn.dragging||(Bn=Lt.secondButton.value)!=null&&Bn.dragging)&&On.preventDefault()},onSliderClick:On=>{Pn(On)&&$n()},onSliderDown:async On=>{const Rn=Pn(On);Rn&&(await nextTick(),Rn.value.onButtonDown(On))},setFirstValue:En,setSecondValue:Tn}},{left,down,right,up,home,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=(xe,$e,Ie)=>{const Fe=ref(),Ue=ref(!1),qe=computed(()=>$e.value instanceof Function),At=computed(()=>qe.value&&$e.value(xe.modelValue)||xe.modelValue),Dt=debounce(()=>{Ie.value&&(Ue.value=!0)},50),Lt=debounce(()=>{Ie.value&&(Ue.value=!1)},50);return{tooltip:Fe,tooltipVisible:Ue,formatValue:At,displayTooltip:Dt,hideTooltip:Lt}},useSliderButton=(xe,$e,Ie)=>{const{disabled:Fe,min:Ue,max:qe,step:At,showTooltip:Dt,precision:Lt,sliderSize:jt,formatTooltip:hn,emitChange:vn,resetSize:bn,updateDragging:_n}=inject(sliderContextKey),{tooltip:wn,tooltipVisible:kn,formatValue:Cn,displayTooltip:Sn,hideTooltip:xn}=useTooltip(xe,hn,Dt),En=ref(),Tn=computed(()=>`${(xe.modelValue-Ue.value)/(qe.value-Ue.value)*100}%`),An=computed(()=>xe.vertical?{bottom:Tn.value}:{left:Tn.value}),$n=()=>{$e.hovering=!0,Sn()},Pn=()=>{$e.hovering=!1,$e.dragging||xn()},Nn=Wn=>{Fe.value||(Wn.preventDefault(),Fn(Wn),window.addEventListener("mousemove",zn),window.addEventListener("touchmove",zn),window.addEventListener("mouseup",jn),window.addEventListener("touchend",jn),window.addEventListener("contextmenu",jn),En.value.focus())},Mn=Wn=>{Fe.value||($e.newPosition=Number.parseFloat(Tn.value)+Wn/(qe.value-Ue.value)*100,Gn($e.newPosition),vn())},In=()=>{Mn(-At.value)},On=()=>{Mn(At.value)},Rn=()=>{Mn(-At.value*4)},Bn=()=>{Mn(At.value*4)},Vn=()=>{Fe.value||(Gn(0),vn())},Ln=()=>{Fe.value||(Gn(100),vn())},Dn=Wn=>{let Xn=!0;[left,down].includes(Wn.key)?In():[right,up].includes(Wn.key)?On():Wn.key===home?Vn():Wn.key===end$1?Ln():Wn.key===pageDown?Rn():Wn.key===pageUp?Bn():Xn=!1,Xn&&Wn.preventDefault()},Hn=Wn=>{let Xn,er;return Wn.type.startsWith("touch")?(er=Wn.touches[0].clientY,Xn=Wn.touches[0].clientX):(er=Wn.clientY,Xn=Wn.clientX),{clientX:Xn,clientY:er}},Fn=Wn=>{$e.dragging=!0,$e.isClick=!0;const{clientX:Xn,clientY:er}=Hn(Wn);xe.vertical?$e.startY=er:$e.startX=Xn,$e.startPosition=Number.parseFloat(Tn.value),$e.newPosition=$e.startPosition},zn=Wn=>{if($e.dragging){$e.isClick=!1,Sn(),bn();let Xn;const{clientX:er,clientY:rr}=Hn(Wn);xe.vertical?($e.currentY=rr,Xn=($e.startY-$e.currentY)/jt.value*100):($e.currentX=er,Xn=($e.currentX-$e.startX)/jt.value*100),$e.newPosition=$e.startPosition+Xn,Gn($e.newPosition)}},jn=()=>{$e.dragging&&(setTimeout(()=>{$e.dragging=!1,$e.hovering||xn(),$e.isClick||Gn($e.newPosition),vn()},0),window.removeEventListener("mousemove",zn),window.removeEventListener("touchmove",zn),window.removeEventListener("mouseup",jn),window.removeEventListener("touchend",jn),window.removeEventListener("contextmenu",jn))},Gn=async Wn=>{if(Wn===null||Number.isNaN(+Wn))return;Wn<0?Wn=0:Wn>100&&(Wn=100);const Xn=100/((qe.value-Ue.value)/At.value);let rr=Math.round(Wn/Xn)*Xn*(qe.value-Ue.value)*.01+Ue.value;rr=Number.parseFloat(rr.toFixed(Lt.value)),rr!==xe.modelValue&&Ie(UPDATE_MODEL_EVENT,rr),!$e.dragging&&xe.modelValue!==$e.oldValue&&($e.oldValue=xe.modelValue),await nextTick(),$e.dragging&&Sn(),wn.value.updatePopper()};return watch(()=>$e.dragging,Wn=>{_n(Wn)}),{disabled:Fe,button:En,tooltip:wn,tooltipVisible:kn,showTooltip:Dt,wrapperStyle:An,formatValue:Cn,handleMouseEnter:$n,handleMouseLeave:Pn,onButtonDown:Nn,onKeyDown:Dn,setPosition:Gn}},useStops=(xe,$e,Ie,Fe)=>({stops:computed(()=>{if(!xe.showStops||xe.min>xe.max)return[];if(xe.step===0)return[];const At=(xe.max-xe.min)/xe.step,Dt=100*xe.step/(xe.max-xe.min),Lt=Array.from({length:At-1}).map((jt,hn)=>(hn+1)*Dt);return xe.range?Lt.filter(jt=>jt<100*(Ie.value-xe.min)/(xe.max-xe.min)||jt>100*(Fe.value-xe.min)/(xe.max-xe.min)):Lt.filter(jt=>jt>100*($e.firstValue-xe.min)/(xe.max-xe.min))}),getStopStyle:At=>xe.vertical?{bottom:`${At}%`}:{left:`${At}%`}}),useWatch=(xe,$e,Ie,Fe,Ue,qe)=>{const At=jt=>{Ue(UPDATE_MODEL_EVENT,jt),Ue(INPUT_EVENT,jt)},Dt=()=>xe.range?![Ie.value,Fe.value].every((jt,hn)=>jt===$e.oldValue[hn]):xe.modelValue!==$e.oldValue,Lt=()=>{var jt,hn;xe.min>xe.max&&throwError$1("Slider","min should not be greater than max.");const vn=xe.modelValue;xe.range&&Array.isArray(vn)?vn[1]xe.max?At([xe.max,xe.max]):vn[0]xe.max?At([vn[0],xe.max]):($e.firstValue=vn[0],$e.secondValue=vn[1],Dt()&&(xe.validateEvent&&((jt=qe==null?void 0:qe.validate)==null||jt.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn.slice())):!xe.range&&typeof vn=="number"&&!Number.isNaN(vn)&&(vnxe.max?At(xe.max):($e.firstValue=vn,Dt()&&(xe.validateEvent&&((hn=qe==null?void 0:qe.validate)==null||hn.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn)))};Lt(),watch(()=>$e.dragging,jt=>{jt||Lt()}),watch(()=>xe.modelValue,(jt,hn)=>{$e.dragging||Array.isArray(jt)&&Array.isArray(hn)&&jt.every((vn,bn)=>vn===hn[bn])&&$e.firstValue===jt[0]&&$e.secondValue===jt[1]||Lt()},{deep:!0}),watch(()=>[xe.min,xe.max],()=>{Lt()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)},_hoisted_1$k=["tabindex"],__default__$z=defineComponent({name:"ElSliderButton"}),_sfc_main$I=defineComponent({...__default__$z,props:sliderButtonProps,emits:sliderButtonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),qe=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:Fe.modelValue}),{disabled:At,button:Dt,tooltip:Lt,showTooltip:jt,tooltipVisible:hn,wrapperStyle:vn,formatValue:bn,handleMouseEnter:_n,handleMouseLeave:wn,onButtonDown:kn,onKeyDown:Cn,setPosition:Sn}=useSliderButton(Fe,qe,Ie),{hovering:xn,dragging:En}=toRefs(qe);return $e({onButtonDown:kn,onKeyDown:Cn,setPosition:Sn,hovering:xn,dragging:En}),(Tn,An)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:Dt,class:normalizeClass([unref(Ue).e("button-wrapper"),{hover:unref(xn),dragging:unref(En)}]),style:normalizeStyle$1(unref(vn)),tabindex:unref(At)?-1:0,onMouseenter:An[0]||(An[0]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onMouseleave:An[1]||(An[1]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onMousedown:An[2]||(An[2]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onTouchstart:An[3]||(An[3]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onFocus:An[4]||(An[4]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onBlur:An[5]||(An[5]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onKeydown:An[6]||(An[6]=(...$n)=>unref(Cn)&&unref(Cn)(...$n))},[createVNode$1(unref(ElTooltip),{ref_key:"tooltip",ref:Lt,visible:unref(hn),placement:Tn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Tn.tooltipClass,disabled:!unref(jt),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(bn)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(Ue).e("button"),{hover:unref(xn),dragging:unref(En)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$k))}});var SliderButton=_export_sfc$1(_sfc_main$I,[["__file","button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(xe){const $e=useNamespace("slider"),Ie=computed(()=>isString$4(xe.mark)?xe.mark:xe.mark.label),Fe=computed(()=>isString$4(xe.mark)?void 0:xe.mark.style);return()=>h$5("div",{class:$e.e("marks-text"),style:Fe.value},Ie.value)}});const _hoisted_1$j=["id","role","aria-label","aria-labelledby"],_hoisted_2$d={key:1},__default__$y=defineComponent({name:"ElSlider"}),_sfc_main$H=defineComponent({...__default__$y,props:sliderProps,emits:sliderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),{t:qe}=useLocale(),At=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:Dt,slider:Lt,firstButton:jt,secondButton:hn,sliderDisabled:vn,minValue:bn,maxValue:_n,runwayStyle:wn,barStyle:kn,resetSize:Cn,emitChange:Sn,onSliderWrapperPrevent:xn,onSliderClick:En,onSliderDown:Tn,setFirstValue:An,setSecondValue:$n}=useSlide(Fe,At,Ie),{stops:Pn,getStopStyle:Nn}=useStops(Fe,At,bn,_n),{inputId:Mn,isLabeledByFormItem:In}=useFormItemInputId(Fe,{formItemContext:Dt}),On=useFormSize(),Rn=computed(()=>Fe.inputSize||On.value),Bn=computed(()=>Fe.label||Fe.ariaLabel||qe("el.slider.defaultLabel",{min:Fe.min,max:Fe.max})),Vn=computed(()=>Fe.range?Fe.rangeStartLabel||qe("el.slider.defaultRangeStartLabel"):Bn.value),Ln=computed(()=>Fe.formatValueText?Fe.formatValueText(Wn.value):`${Wn.value}`),Dn=computed(()=>Fe.rangeEndLabel||qe("el.slider.defaultRangeEndLabel")),Hn=computed(()=>Fe.formatValueText?Fe.formatValueText(Xn.value):`${Xn.value}`),Fn=computed(()=>[Ue.b(),Ue.m(On.value),Ue.is("vertical",Fe.vertical),{[Ue.m("with-input")]:Fe.showInput}]),zn=useMarks(Fe);useWatch(Fe,At,bn,_n,Ie,Dt);const jn=computed(()=>{const Jn=[Fe.min,Fe.max,Fe.step].map(Yn=>{const qn=`${Yn}`.split(".")[1];return qn?qn.length:0});return Math.max.apply(null,Jn)}),{sliderWrapper:Gn}=useLifecycle(Fe,At,Cn),{firstValue:Wn,secondValue:Xn,sliderSize:er}=toRefs(At),rr=Jn=>{At.dragging=Jn};return provide(sliderContextKey,{...toRefs(Fe),sliderSize:er,disabled:vn,precision:jn,emitChange:Sn,resetSize:Cn,updateDragging:rr}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-slider",ref:"https://element-plus.org/en-US/component/slider.html"},computed(()=>!!Fe.label)),$e({onSliderClick:En}),(Jn,Yn)=>{var qn,ar;return openBlock(),createElementBlock("div",{id:Jn.range?unref(Mn):void 0,ref_key:"sliderWrapper",ref:Gn,class:normalizeClass(unref(Fn)),role:Jn.range?"group":void 0,"aria-label":Jn.range&&!unref(In)?unref(Bn):void 0,"aria-labelledby":Jn.range&&unref(In)?(qn=unref(Dt))==null?void 0:qn.labelId:void 0,onTouchstart:Yn[2]||(Yn[2]=(...tr)=>unref(xn)&&unref(xn)(...tr)),onTouchmove:Yn[3]||(Yn[3]=(...tr)=>unref(xn)&&unref(xn)(...tr))},[createBaseVNode("div",{ref_key:"slider",ref:Lt,class:normalizeClass([unref(Ue).e("runway"),{"show-input":Jn.showInput&&!Jn.range},unref(Ue).is("disabled",unref(vn))]),style:normalizeStyle$1(unref(wn)),onMousedown:Yn[0]||(Yn[0]=(...tr)=>unref(Tn)&&unref(Tn)(...tr)),onTouchstart:Yn[1]||(Yn[1]=(...tr)=>unref(Tn)&&unref(Tn)(...tr))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("bar")),style:normalizeStyle$1(unref(kn))},null,6),createVNode$1(SliderButton,{id:Jn.range?void 0:unref(Mn),ref_key:"firstButton",ref:jt,"model-value":unref(Wn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":Jn.range||!unref(In)?unref(Vn):void 0,"aria-labelledby":!Jn.range&&unref(In)?(ar=unref(Dt))==null?void 0:ar.labelId:void 0,"aria-valuemin":Jn.min,"aria-valuemax":Jn.range?unref(Xn):Jn.max,"aria-valuenow":unref(Wn),"aria-valuetext":unref(Ln),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref(An)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),Jn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:hn,"model-value":unref(Xn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":unref(Dn),"aria-valuemin":unref(Wn),"aria-valuemax":Jn.max,"aria-valuenow":unref(Xn),"aria-valuetext":unref(Hn),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref($n)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),Jn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$d,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Pn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,class:normalizeClass(unref(Ue).e("stop")),style:normalizeStyle$1(unref(Nn)(tr))},null,6))),128))])):createCommentVNode("v-if",!0),unref(zn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(zn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,style:normalizeStyle$1(unref(Nn)(tr.position)),class:normalizeClass([unref(Ue).e("stop"),unref(Ue).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(zn),(tr,or)=>(openBlock(),createBlock(unref(SliderMarker),{key:or,mark:tr.mark,style:normalizeStyle$1(unref(Nn)(tr.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Jn.showInput&&!Jn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Wn),class:normalizeClass(unref(Ue).e("input")),step:Jn.step,disabled:unref(vn),controls:Jn.showInputControls,min:Jn.min,max:Jn.max,debounce:Jn.debounce,size:unref(Rn),"onUpdate:modelValue":unref(An),onChange:unref(Sn)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$j)}}});var Slider=_export_sfc$1(_sfc_main$H,[["__file","slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(xe,{slots:$e}){const Ie=useNamespace("space"),Fe=computed(()=>`${xe.prefixCls||Ie.b()}__item`);return()=>h$5("div",{class:Fe.value},renderSlot($e,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(xe){const $e=useNamespace("space"),Ie=computed(()=>[$e.b(),$e.m(xe.direction),xe.class]),Fe=ref(0),Ue=ref(0),qe=computed(()=>{const Dt=xe.wrap||xe.fill?{flexWrap:"wrap"}:{},Lt={alignItems:xe.alignment},jt={rowGap:`${Ue.value}px`,columnGap:`${Fe.value}px`};return[Dt,Lt,jt,xe.style]}),At=computed(()=>xe.fill?{flexGrow:1,minWidth:`${xe.fillRatio}%`}:{});return watchEffect(()=>{const{size:Dt="small",wrap:Lt,direction:jt,fill:hn}=xe;if(isArray$6(Dt)){const[vn=0,bn=0]=Dt;Fe.value=vn,Ue.value=bn}else{let vn;isNumber$1(Dt)?vn=Dt:vn=SIZE_MAP[Dt||"small"]||SIZE_MAP.small,(Lt||hn)&&jt==="horizontal"?Fe.value=Ue.value=vn:jt==="horizontal"?(Fe.value=vn,Ue.value=0):(Ue.value=vn,Fe.value=0)}}),{classes:Ie,containerStyle:qe,itemStyle:At}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:xe=>isVNode(xe)||isNumber$1(xe)||isString$4(xe)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:xe=>isNumber$1(xe)||isArray$6(xe)&&xe.length===2&&xe.every(isNumber$1)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(xe,{slots:$e}){const{classes:Ie,containerStyle:Fe,itemStyle:Ue}=useSpace(xe);function qe(At,Dt="",Lt=[]){const{prefixCls:jt}=xe;return At.forEach((hn,vn)=>{isFragment(hn)?isArray$6(hn.children)&&hn.children.forEach((bn,_n)=>{isFragment(bn)&&isArray$6(bn.children)?qe(bn.children,`${Dt+_n}-`,Lt):Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`nested-${Dt+_n}`},{default:()=>[bn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(hn)&&Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`LoopKey${Dt+vn}`},{default:()=>[hn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),Lt}return()=>{var At;const{spacer:Dt,direction:Lt}=xe,jt=renderSlot($e,"default",{key:0},()=>[]);if(((At=jt.children)!=null?At:[]).length===0)return null;if(isArray$6(jt.children)){let hn=qe(jt.children);if(Dt){const vn=hn.length-1;hn=hn.reduce((bn,_n,wn)=>{const kn=[...bn,_n];return wn!==vn&&kn.push(createVNode$1("span",{style:[Ue.value,Lt==="vertical"?"width: 100%":null],key:wn},[isVNode(Dt)?Dt:createTextVNode(Dt,PatchFlags.TEXT)],PatchFlags.STYLE)),kn},[])}return createVNode$1("div",{class:Ie.value,style:Fe.value},hn,PatchFlags.STYLE|PatchFlags.CLASS)}return jt.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),__default__$x=defineComponent({name:"ElStatistic"}),_sfc_main$G=defineComponent({...__default__$x,props:statisticProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("statistic"),Ue=computed(()=>{const{value:qe,formatter:At,precision:Dt,decimalSeparator:Lt,groupSeparator:jt}=Ie;if(isFunction$5(At))return At(qe);if(!isNumber$1(qe))return qe;let[hn,vn=""]=String(qe).split(".");return vn=vn.padEnd(Dt,"0").slice(0,Dt>0?Dt:0),hn=hn.replace(/\B(?=(\d{3})+(?!\d))/g,jt),[hn,vn].join(vn?Lt:"")});return $e({displayValue:Ue}),(qe,At)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[qe.$slots.title||qe.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("head"))},[renderSlot(qe.$slots,"title",{},()=>[createTextVNode(toDisplayString(qe.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content"))},[qe.$slots.prefix||qe.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("prefix"))},[renderSlot(qe.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("number")),style:normalizeStyle$1(qe.valueStyle)},toDisplayString(unref(Ue)),7),qe.$slots.suffix||qe.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).e("suffix"))},[renderSlot(qe.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$G,[["__file","statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:xe=>isNumber$1(xe)},timeUnits$1=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],getTime$1=xe=>isNumber$1(xe)?new Date(xe).getTime():xe.valueOf(),formatTime$1=(xe,$e)=>{let Ie=xe;const Fe=/\[([^\]]*)]/g;return timeUnits$1.reduce((qe,[At,Dt])=>{const Lt=new RegExp(`${At}+(?![^\\[\\]]*\\])`,"g");if(Lt.test(qe)){const jt=Math.floor(Ie/Dt);return Ie-=jt*Dt,qe.replace(Lt,hn=>String(jt).padStart(hn.length,"0"))}return qe},$e).replace(Fe,"$1")},__default__$w=defineComponent({name:"ElCountdown"}),_sfc_main$F=defineComponent({...__default__$w,props:countdownProps,emits:countdownEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;let Ue;const qe=ref(getTime$1(Fe.value)-Date.now()),At=computed(()=>formatTime$1(qe.value,Fe.format)),Dt=hn=>formatTime$1(hn,Fe.format),Lt=()=>{Ue&&(cAF(Ue),Ue=void 0)},jt=()=>{const hn=getTime$1(Fe.value),vn=()=>{let bn=hn-Date.now();Ie("change",bn),bn<=0?(bn=0,Lt(),Ie("finish")):Ue=rAF(vn),qe.value=bn};Ue=rAF(vn)};return watch(()=>[Fe.value,Fe.format],()=>{Lt(),jt()},{immediate:!0}),onBeforeUnmount(()=>{Lt()}),$e({displayValue:At}),(hn,vn)=>(openBlock(),createBlock(unref(ElStatistic),{value:qe.value,title:hn.title,prefix:hn.prefix,suffix:hn.suffix,"value-style":hn.valueStyle,formatter:Dt},createSlots({_:2},[renderList(hn.$slots,(bn,_n)=>({name:_n,fn:withCtx(()=>[renderSlot(hn.$slots,_n)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$F,[["__file","countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),stepsEmits={[CHANGE_EVENT]:(xe,$e)=>[xe,$e].every(isNumber$1)},__default__$v=defineComponent({name:"ElSteps"}),_sfc_main$E=defineComponent({...__default__$v,props:stepsProps,emits:stepsEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("steps"),{children:Ue,addChild:qe,removeChild:At}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(Ue,()=>{Ue.value.forEach((Dt,Lt)=>{Dt.setIndex(Lt)})}),provide("ElSteps",{props:Ie,steps:Ue,addStep:qe,removeStep:At}),watch(()=>Ie.active,(Dt,Lt)=>{$e(CHANGE_EVENT,Dt,Lt)}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(Dt.simple?"simple":Dt.direction)])},[renderSlot(Dt.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$E,[["__file","steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),__default__$u=defineComponent({name:"ElStep"}),_sfc_main$D=defineComponent({...__default__$u,props:stepProps,setup(xe){const $e=xe,Ie=useNamespace("step"),Fe=ref(-1),Ue=ref({}),qe=ref(""),At=inject("ElSteps"),Dt=getCurrentInstance();onMounted(()=>{watch([()=>At.props.active,()=>At.props.processStatus,()=>At.props.finishStatus],([$n])=>{Tn($n)},{immediate:!0})}),onBeforeUnmount(()=>{At.removeStep(An.uid)});const Lt=computed(()=>$e.status||qe.value),jt=computed(()=>{const $n=At.steps.value[Fe.value-1];return $n?$n.currentStatus:"wait"}),hn=computed(()=>At.props.alignCenter),vn=computed(()=>At.props.direction==="vertical"),bn=computed(()=>At.props.simple),_n=computed(()=>At.steps.value.length),wn=computed(()=>{var $n;return(($n=At.steps.value[_n.value-1])==null?void 0:$n.uid)===(Dt==null?void 0:Dt.uid)}),kn=computed(()=>bn.value?"":At.props.space),Cn=computed(()=>[Ie.b(),Ie.is(bn.value?"simple":At.props.direction),Ie.is("flex",wn.value&&!kn.value&&!hn.value),Ie.is("center",hn.value&&!vn.value&&!bn.value)]),Sn=computed(()=>{const $n={flexBasis:isNumber$1(kn.value)?`${kn.value}px`:kn.value?kn.value:`${100/(_n.value-(hn.value?0:1))}%`};return vn.value||wn.value&&($n.maxWidth=`${100/_n.value}%`),$n}),xn=$n=>{Fe.value=$n},En=$n=>{const Pn=$n==="wait",Nn={transitionDelay:`${Pn?"-":""}${150*Fe.value}ms`},Mn=$n===At.props.processStatus||Pn?0:100;Nn.borderWidth=Mn&&!bn.value?"1px":0,Nn[At.props.direction==="vertical"?"height":"width"]=`${Mn}%`,Ue.value=Nn},Tn=$n=>{$n>Fe.value?qe.value=At.props.finishStatus:$n===Fe.value&&jt.value!=="error"?qe.value=At.props.processStatus:qe.value="wait";const Pn=At.steps.value[Fe.value-1];Pn&&Pn.calcProgress(qe.value)},An=reactive({uid:Dt.uid,currentStatus:Lt,setIndex:xn,calcProgress:En});return At.addStep(An),($n,Pn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(Sn)),class:normalizeClass(unref(Cn))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(Ie).e("head"),unref(Ie).is(unref(Lt))])},[unref(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(Ie).e("line-inner")),style:normalizeStyle$1(Ue.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(Ie).e("icon"),unref(Ie).is($n.icon||$n.$slots.icon?"icon":"text")])},[renderSlot($n.$slots,"icon",{},()=>[$n.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ie).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($n.icon)))]),_:1},8,["class"])):unref(Lt)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):unref(Lt)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])):unref(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(Ie).e("icon-inner"))},toDisplayString(Fe.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(Ie).e("title"),unref(Ie).is(unref(Lt))])},[renderSlot($n.$slots,"title",{},()=>[createTextVNode(toDisplayString($n.title),1)])],2),unref(bn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(Ie).e("description"),unref(Ie).is(unref(Lt))])},[renderSlot($n.$slots,"description",{},()=>[createTextVNode(toDisplayString($n.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$D,[["__file","item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},label:{type:String,default:void 0},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe),[INPUT_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe)},_hoisted_1$i=["onClick"],_hoisted_2$c=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$5=["aria-hidden"],_hoisted_4$3=["aria-hidden"],_hoisted_5$2=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$t=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$C=defineComponent({...__default__$t,props:switchProps,emits:switchEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{formItem:Ue}=useFormItem(),qe=useFormSize(),At=useNamespace("switch"),{inputId:Dt}=useFormItemInputId(Fe,{formItemContext:Ue}),Lt=useFormDisabled(computed(()=>Fe.loading)),jt=ref(Fe.modelValue!==!1),hn=ref(),vn=ref(),bn=computed(()=>[At.b(),At.m(qe.value),At.is("disabled",Lt.value),At.is("checked",Sn.value)]),_n=computed(()=>[At.e("label"),At.em("label","left"),At.is("active",!Sn.value)]),wn=computed(()=>[At.e("label"),At.em("label","right"),At.is("active",Sn.value)]),kn=computed(()=>({width:addUnit(Fe.width)}));watch(()=>Fe.modelValue,()=>{jt.value=!0});const Cn=computed(()=>jt.value?Fe.modelValue:!1),Sn=computed(()=>Cn.value===Fe.activeValue);[Fe.activeValue,Fe.inactiveValue].includes(Cn.value)||(Ie(UPDATE_MODEL_EVENT,Fe.inactiveValue),Ie(CHANGE_EVENT,Fe.inactiveValue),Ie(INPUT_EVENT,Fe.inactiveValue)),watch(Sn,An=>{var $n;hn.value.checked=An,Fe.validateEvent&&(($n=Ue==null?void 0:Ue.validate)==null||$n.call(Ue,"change").catch(Pn=>void 0))});const xn=()=>{const An=Sn.value?Fe.inactiveValue:Fe.activeValue;Ie(UPDATE_MODEL_EVENT,An),Ie(CHANGE_EVENT,An),Ie(INPUT_EVENT,An),nextTick(()=>{hn.value.checked=Sn.value})},En=()=>{if(Lt.value)return;const{beforeChange:An}=Fe;if(!An){xn();return}const $n=An();[isPromise($n),isBoolean($n)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise` or `boolean`"),isPromise($n)?$n.then(Nn=>{Nn&&xn()}).catch(Nn=>{}):$n&&xn()},Tn=()=>{var An,$n;($n=(An=hn.value)==null?void 0:An.focus)==null||$n.call(An)};return onMounted(()=>{hn.value.checked=Sn.value}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-switch",ref:"https://element-plus.org/en-US/component/switch.html"},computed(()=>!!Fe.label)),$e({focus:Tn,checked:Sn}),(An,$n)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(bn)),onClick:withModifiers(En,["prevent"])},[createBaseVNode("input",{id:unref(Dt),ref_key:"input",ref:hn,class:normalizeClass(unref(At).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Sn),"aria-disabled":unref(Lt),"aria-label":An.label||An.ariaLabel,name:An.name,"true-value":An.activeValue,"false-value":An.inactiveValue,disabled:unref(Lt),tabindex:An.tabindex,onChange:xn,onKeydown:withKeys(En,["enter"])},null,42,_hoisted_2$c),!An.inlinePrompt&&(An.inactiveIcon||An.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(_n))},[An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.inactiveIcon&&An.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Sn)},toDisplayString(An.inactiveText),9,_hoisted_3$5)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:vn,class:normalizeClass(unref(At).e("core")),style:normalizeStyle$1(unref(kn))},[An.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(At).e("inner"))},[An.activeIcon||An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Sn)?An.activeIcon:An.inactiveIcon)))]),_:1},8,["class"])):An.activeText||An.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(At).is("text")),"aria-hidden":!unref(Sn)},toDisplayString(unref(Sn)?An.activeText:An.inactiveText),11,_hoisted_4$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(At).e("action"))},[An.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])):unref(Sn)?renderSlot(An.$slots,"active-action",{key:1},()=>[An.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeActionIcon)))]),_:1})):createCommentVNode("v-if",!0)]):unref(Sn)?createCommentVNode("v-if",!0):renderSlot(An.$slots,"inactive-action",{key:2},()=>[An.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)])],2)],6),!An.inlinePrompt&&(An.activeIcon||An.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(wn))},[An.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.activeIcon&&An.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Sn)},toDisplayString(An.activeText),9,_hoisted_5$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],10,_hoisted_1$i))}});var Switch=_export_sfc$1(_sfc_main$C,[["__file","switch.vue"]]);const ElSwitch=withInstall(Switch),getCell=function(xe){var $e;return($e=xe.target)==null?void 0:$e.closest("td")},orderBy=function(xe,$e,Ie,Fe,Ue){if(!$e&&!Fe&&(!Ue||Array.isArray(Ue)&&!Ue.length))return xe;typeof Ie=="string"?Ie=Ie==="descending"?-1:1:Ie=Ie&&Ie<0?-1:1;const qe=Fe?null:function(Dt,Lt){return Ue?(Array.isArray(Ue)||(Ue=[Ue]),Ue.map(jt=>typeof jt=="string"?get$1(Dt,jt):jt(Dt,Lt,xe))):($e!=="$key"&&isObject$8(Dt)&&"$value"in Dt&&(Dt=Dt.$value),[isObject$8(Dt)?get$1(Dt,$e):Dt])},At=function(Dt,Lt){if(Fe)return Fe(Dt.value,Lt.value);for(let jt=0,hn=Dt.key.length;jtLt.key[jt])return 1}return 0};return xe.map((Dt,Lt)=>({value:Dt,index:Lt,key:qe?qe(Dt,Lt):null})).sort((Dt,Lt)=>{let jt=At(Dt,Lt);return jt||(jt=Dt.index-Lt.index),jt*+Ie}).map(Dt=>Dt.value)},getColumnById=function(xe,$e){let Ie=null;return xe.columns.forEach(Fe=>{Fe.id===$e&&(Ie=Fe)}),Ie},getColumnByKey=function(xe,$e){let Ie=null;for(let Fe=0;Fe{if(!xe)throw new Error("Row is required when get row identity");if(typeof $e=="string"){if(!$e.includes("."))return`${xe[$e]}`;const Ie=$e.split(".");let Fe=xe;for(const Ue of Ie)Fe=Fe[Ue];return`${Fe}`}else if(typeof $e=="function")return $e.call(null,xe)},getKeysMap=function(xe,$e){const Ie={};return(xe||[]).forEach((Fe,Ue)=>{Ie[getRowIdentity(Fe,$e)]={row:Fe,index:Ue}}),Ie};function mergeOptions(xe,$e){const Ie={};let Fe;for(Fe in xe)Ie[Fe]=xe[Fe];for(Fe in $e)if(hasOwn$1($e,Fe)){const Ue=$e[Fe];typeof Ue<"u"&&(Ie[Fe]=Ue)}return Ie}function parseWidth(xe){return xe===""||xe!==void 0&&(xe=Number.parseInt(xe,10),Number.isNaN(xe)&&(xe="")),xe}function parseMinWidth(xe){return xe===""||xe!==void 0&&(xe=parseWidth(xe),Number.isNaN(xe)&&(xe=80)),xe}function parseHeight(xe){return typeof xe=="number"?xe:typeof xe=="string"?/^\d+(?:px)?$/.test(xe)?Number.parseInt(xe,10):xe:null}function compose(...xe){return xe.length===0?$e=>$e:xe.length===1?xe[0]:xe.reduce(($e,Ie)=>(...Fe)=>$e(Ie(...Fe)))}function toggleRowStatus(xe,$e,Ie){let Fe=!1;const Ue=xe.indexOf($e),qe=Ue!==-1,At=Dt=>{Dt==="add"?xe.push($e):xe.splice(Ue,1),Fe=!0,isArray$6($e.children)&&$e.children.forEach(Lt=>{toggleRowStatus(xe,Lt,Ie??!qe)})};return isBoolean(Ie)?Ie&&!qe?At("add"):!Ie&&qe&&At("remove"):At(qe?"remove":"add"),Fe}function walkTreeNode(xe,$e,Ie="children",Fe="hasChildren"){const Ue=At=>!(Array.isArray(At)&&At.length);function qe(At,Dt,Lt){$e(At,Dt,Lt),Dt.forEach(jt=>{if(jt[Fe]){$e(jt,null,Lt+1);return}const hn=jt[Ie];Ue(hn)||qe(jt,hn,Lt+1)})}xe.forEach(At=>{if(At[Fe]){$e(At,null,0);return}const Dt=At[Ie];Ue(Dt)||qe(At,Dt,0)})}let removePopper=null;function createTablePopper(xe,$e,Ie,Fe){if((removePopper==null?void 0:removePopper.trigger)===Ie)return;removePopper==null||removePopper();const Ue=Fe==null?void 0:Fe.refs.tableWrapper,qe=Ue==null?void 0:Ue.dataset.prefix,At={strategy:"fixed",...xe.popperOptions},Dt=createVNode$1(ElTooltip,{content:$e,virtualTriggering:!0,virtualRef:Ie,appendTo:Ue,placement:"top",transition:"none",offset:0,hideAfter:0,...xe,popperOptions:At,onHide:()=>{removePopper==null||removePopper()}});Dt.appContext={...Fe.appContext,...Fe};const Lt=document.createElement("div");render$2(Dt,Lt),Dt.component.exposed.onOpen();const jt=Ue==null?void 0:Ue.querySelector(`.${qe}-scrollbar__wrap`);removePopper=()=>{render$2(null,Lt),jt==null||jt.removeEventListener("scroll",removePopper),removePopper=null},removePopper.trigger=Ie,jt==null||jt.addEventListener("scroll",removePopper)}function getCurrentColumns(xe){return xe.children?flatMap(xe.children,getCurrentColumns):[xe]}function getColSpan(xe,$e){return xe+$e.colSpan}const isFixedColumn=(xe,$e,Ie,Fe)=>{let Ue=0,qe=xe;const At=Ie.states.columns.value;if(Fe){const Lt=getCurrentColumns(Fe[xe]);Ue=At.slice(0,At.indexOf(Lt[0])).reduce(getColSpan,0),qe=Ue+Lt.reduce(getColSpan,0)-1}else Ue=xe;let Dt;switch($e){case"left":qe=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right");break;default:qe=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right")}return Dt?{direction:Dt,start:Ue,after:qe}:{}},getFixedColumnsClass=(xe,$e,Ie,Fe,Ue,qe=0)=>{const At=[],{direction:Dt,start:Lt,after:jt}=isFixedColumn($e,Ie,Fe,Ue);if(Dt){const hn=Dt==="left";At.push(`${xe}-fixed-column--${Dt}`),hn&&jt+qe===Fe.states.fixedLeafColumnsLength.value-1?At.push("is-last-column"):!hn&&Lt-qe===Fe.states.columns.value.length-Fe.states.rightFixedLeafColumnsLength.value&&At.push("is-first-column")}return At};function getOffset(xe,$e){return xe+($e.realWidth===null||Number.isNaN($e.realWidth)?Number($e.width):$e.realWidth)}const getFixedColumnOffset=(xe,$e,Ie,Fe)=>{const{direction:Ue,start:qe=0,after:At=0}=isFixedColumn(xe,$e,Ie,Fe);if(!Ue)return;const Dt={},Lt=Ue==="left",jt=Ie.states.columns.value;return Lt?Dt.left=jt.slice(0,qe).reduce(getOffset,0):Dt.right=jt.slice(At+1).reverse().reduce(getOffset,0),Dt},ensurePosition=(xe,$e)=>{xe&&(Number.isNaN(xe[$e])||(xe[$e]=`${xe[$e]}px`))};function useExpand(xe){const $e=getCurrentInstance(),Ie=ref(!1),Fe=ref([]);return{updateExpandRows:()=>{const Lt=xe.data.value||[],jt=xe.rowKey.value;if(Ie.value)Fe.value=Lt.slice();else if(jt){const hn=getKeysMap(Fe.value,jt);Fe.value=Lt.reduce((vn,bn)=>{const _n=getRowIdentity(bn,jt);return hn[_n]&&vn.push(bn),vn},[])}else Fe.value=[]},toggleRowExpansion:(Lt,jt)=>{toggleRowStatus(Fe.value,Lt,jt)&&$e.emit("expand-change",Lt,Fe.value.slice())},setExpandRowKeys:Lt=>{$e.store.assertRowKey();const jt=xe.data.value||[],hn=xe.rowKey.value,vn=getKeysMap(jt,hn);Fe.value=Lt.reduce((bn,_n)=>{const wn=vn[_n];return wn&&bn.push(wn.row),bn},[])},isRowExpanded:Lt=>{const jt=xe.rowKey.value;return jt?!!getKeysMap(Fe.value,jt)[getRowIdentity(Lt,jt)]:Fe.value.includes(Lt)},states:{expandRows:Fe,defaultExpandAll:Ie}}}function useCurrent(xe){const $e=getCurrentInstance(),Ie=ref(null),Fe=ref(null),Ue=jt=>{$e.store.assertRowKey(),Ie.value=jt,At(jt)},qe=()=>{Ie.value=null},At=jt=>{const{data:hn,rowKey:vn}=xe;let bn=null;vn.value&&(bn=(unref(hn)||[]).find(_n=>getRowIdentity(_n,vn.value)===jt)),Fe.value=bn,$e.emit("current-change",Fe.value,null)};return{setCurrentRowKey:Ue,restoreCurrentRowKey:qe,setCurrentRowByKey:At,updateCurrentRow:jt=>{const hn=Fe.value;if(jt&&jt!==hn){Fe.value=jt,$e.emit("current-change",Fe.value,hn);return}!jt&&hn&&(Fe.value=null,$e.emit("current-change",null,hn))},updateCurrentRowData:()=>{const jt=xe.rowKey.value,hn=xe.data.value||[],vn=Fe.value;if(!hn.includes(vn)&&vn){if(jt){const bn=getRowIdentity(vn,jt);At(bn)}else Fe.value=null;Fe.value===null&&$e.emit("current-change",null,vn)}else Ie.value&&(At(Ie.value),qe())},states:{_currentRowKey:Ie,currentRow:Fe}}}function useTree$2(xe){const $e=ref([]),Ie=ref({}),Fe=ref(16),Ue=ref(!1),qe=ref({}),At=ref("hasChildren"),Dt=ref("children"),Lt=getCurrentInstance(),jt=computed(()=>{if(!xe.rowKey.value)return{};const Sn=xe.data.value||[];return vn(Sn)}),hn=computed(()=>{const Sn=xe.rowKey.value,xn=Object.keys(qe.value),En={};return xn.length&&xn.forEach(Tn=>{if(qe.value[Tn].length){const An={children:[]};qe.value[Tn].forEach($n=>{const Pn=getRowIdentity($n,Sn);An.children.push(Pn),$n[At.value]&&!En[Pn]&&(En[Pn]={children:[]})}),En[Tn]=An}}),En}),vn=Sn=>{const xn=xe.rowKey.value,En={};return walkTreeNode(Sn,(Tn,An,$n)=>{const Pn=getRowIdentity(Tn,xn);Array.isArray(An)?En[Pn]={children:An.map(Nn=>getRowIdentity(Nn,xn)),level:$n}:Ue.value&&(En[Pn]={children:[],lazy:!0,level:$n})},Dt.value,At.value),En},bn=(Sn=!1,xn=(En=>(En=Lt.store)==null?void 0:En.states.defaultExpandAll.value)())=>{var En;const Tn=jt.value,An=hn.value,$n=Object.keys(Tn),Pn={};if($n.length){const Nn=unref(Ie),Mn=[],In=(Rn,Bn)=>{if(Sn)return $e.value?xn||$e.value.includes(Bn):!!(xn||Rn!=null&&Rn.expanded);{const Vn=xn||$e.value&&$e.value.includes(Bn);return!!(Rn!=null&&Rn.expanded||Vn)}};$n.forEach(Rn=>{const Bn=Nn[Rn],Vn={...Tn[Rn]};if(Vn.expanded=In(Bn,Rn),Vn.lazy){const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Vn.loaded=!!Ln,Vn.loading=!!Dn,Mn.push(Rn)}Pn[Rn]=Vn});const On=Object.keys(An);Ue.value&&On.length&&Mn.length&&On.forEach(Rn=>{const Bn=Nn[Rn],Vn=An[Rn].children;if(Mn.includes(Rn)){if(Pn[Rn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Pn[Rn].children=Vn}else{const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Pn[Rn]={lazy:!0,loaded:!!Ln,loading:!!Dn,expanded:In(Bn,Rn),children:Vn,level:""}}})}Ie.value=Pn,(En=Lt.store)==null||En.updateTableScrollY()};watch(()=>$e.value,()=>{bn(!0)}),watch(()=>jt.value,()=>{bn()}),watch(()=>hn.value,()=>{bn()});const _n=Sn=>{$e.value=Sn,bn()},wn=(Sn,xn)=>{Lt.store.assertRowKey();const En=xe.rowKey.value,Tn=getRowIdentity(Sn,En),An=Tn&&Ie.value[Tn];if(Tn&&An&&"expanded"in An){const $n=An.expanded;xn=typeof xn>"u"?!An.expanded:xn,Ie.value[Tn].expanded=xn,$n!==xn&&Lt.emit("expand-change",Sn,xn),Lt.store.updateTableScrollY()}},kn=Sn=>{Lt.store.assertRowKey();const xn=xe.rowKey.value,En=getRowIdentity(Sn,xn),Tn=Ie.value[En];Ue.value&&Tn&&"loaded"in Tn&&!Tn.loaded?Cn(Sn,En,Tn):wn(Sn,void 0)},Cn=(Sn,xn,En)=>{const{load:Tn}=Lt.props;Tn&&!Ie.value[xn].loaded&&(Ie.value[xn].loading=!0,Tn(Sn,En,An=>{if(!Array.isArray(An))throw new TypeError("[ElTable] data must be an array");Ie.value[xn].loading=!1,Ie.value[xn].loaded=!0,Ie.value[xn].expanded=!0,An.length&&(qe.value[xn]=An),Lt.emit("expand-change",Sn,!0)}))};return{loadData:Cn,loadOrToggle:kn,toggleTreeExpansion:wn,updateTreeExpandKeys:_n,updateTreeData:bn,normalize:vn,states:{expandRowKeys:$e,treeData:Ie,indent:Fe,lazy:Ue,lazyTreeNodeMap:qe,lazyColumnIdentifier:At,childrenColumnName:Dt}}}const sortData=(xe,$e)=>{const Ie=$e.sortingColumn;return!Ie||typeof Ie.sortable=="string"?xe:orderBy(xe,$e.sortProp,$e.sortOrder,Ie.sortMethod,Ie.sortBy)},doFlattenColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children&&Ie.children.length>0?$e.push.apply($e,doFlattenColumns(Ie.children)):$e.push(Ie)}),$e};function useWatcher$1(){var xe;const $e=getCurrentInstance(),{size:Ie}=toRefs((xe=$e.proxy)==null?void 0:xe.$props),Fe=ref(null),Ue=ref([]),qe=ref([]),At=ref(!1),Dt=ref([]),Lt=ref([]),jt=ref([]),hn=ref([]),vn=ref([]),bn=ref([]),_n=ref([]),wn=ref([]),kn=[],Cn=ref(0),Sn=ref(0),xn=ref(0),En=ref(!1),Tn=ref([]),An=ref(!1),$n=ref(!1),Pn=ref(null),Nn=ref({}),Mn=ref(null),In=ref(null),On=ref(null),Rn=ref(null),Bn=ref(null);watch(Ue,()=>$e.state&&Hn(!1),{deep:!0});const Vn=()=>{if(!Fe.value)throw new Error("[ElTable] prop row-key is required")},Ln=Gr=>{var $r;($r=Gr.children)==null||$r.forEach(Br=>{Br.fixed=Gr.fixed,Ln(Br)})},Dn=()=>{Dt.value.forEach(cr=>{Ln(cr)}),hn.value=Dt.value.filter(cr=>cr.fixed===!0||cr.fixed==="left"),vn.value=Dt.value.filter(cr=>cr.fixed==="right"),hn.value.length>0&&Dt.value[0]&&Dt.value[0].type==="selection"&&!Dt.value[0].fixed&&(Dt.value[0].fixed=!0,hn.value.unshift(Dt.value[0]));const Gr=Dt.value.filter(cr=>!cr.fixed);Lt.value=[].concat(hn.value).concat(Gr).concat(vn.value);const $r=doFlattenColumns(Gr),Br=doFlattenColumns(hn.value),Tr=doFlattenColumns(vn.value);Cn.value=$r.length,Sn.value=Br.length,xn.value=Tr.length,jt.value=[].concat(Br).concat($r).concat(Tr),At.value=hn.value.length>0||vn.value.length>0},Hn=(Gr,$r=!1)=>{Gr&&Dn(),$r?$e.state.doLayout():$e.state.debouncedUpdateLayout()},Fn=Gr=>Tn.value.includes(Gr),zn=()=>{En.value=!1;const Gr=Tn.value;Tn.value=[],Gr.length&&$e.emit("selection-change",[])},jn=()=>{let Gr;if(Fe.value){Gr=[];const $r=getKeysMap(Tn.value,Fe.value),Br=getKeysMap(Ue.value,Fe.value);for(const Tr in $r)hasOwn$1($r,Tr)&&!Br[Tr]&&Gr.push($r[Tr].row)}else Gr=Tn.value.filter($r=>!Ue.value.includes($r));if(Gr.length){const $r=Tn.value.filter(Br=>!Gr.includes(Br));Tn.value=$r,$e.emit("selection-change",$r.slice())}},Gn=()=>(Tn.value||[]).slice(),Wn=(Gr,$r=void 0,Br=!0)=>{if(toggleRowStatus(Tn.value,Gr,$r)){const cr=(Tn.value||[]).slice();Br&&$e.emit("select",cr,Gr),$e.emit("selection-change",cr)}},Xn=()=>{var Gr,$r;const Br=$n.value?!En.value:!(En.value||Tn.value.length);En.value=Br;let Tr=!1,cr=0;const Sr=($r=(Gr=$e==null?void 0:$e.store)==null?void 0:Gr.states)==null?void 0:$r.rowKey.value;Ue.value.forEach((Dr,mr)=>{const Lr=mr+cr;Pn.value?Pn.value.call(null,Dr,Lr)&&toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0):toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0),cr+=Jn(getRowIdentity(Dr,Sr))}),Tr&&$e.emit("selection-change",Tn.value?Tn.value.slice():[]),$e.emit("select-all",(Tn.value||[]).slice())},er=()=>{const Gr=getKeysMap(Tn.value,Fe.value);Ue.value.forEach($r=>{const Br=getRowIdentity($r,Fe.value),Tr=Gr[Br];Tr&&(Tn.value[Tr.index]=$r)})},rr=()=>{var Gr,$r,Br;if(((Gr=Ue.value)==null?void 0:Gr.length)===0){En.value=!1;return}let Tr;Fe.value&&(Tr=getKeysMap(Tn.value,Fe.value));const cr=function(Lr){return Tr?!!Tr[getRowIdentity(Lr,Fe.value)]:Tn.value.includes(Lr)};let Sr=!0,Dr=0,mr=0;for(let Lr=0,zr=(Ue.value||[]).length;Lr{var $r;if(!$e||!$e.store)return 0;const{treeData:Br}=$e.store.states;let Tr=0;const cr=($r=Br.value[Gr])==null?void 0:$r.children;return cr&&(Tr+=cr.length,cr.forEach(Sr=>{Tr+=Jn(Sr)})),Tr},Yn=(Gr,$r)=>{Array.isArray(Gr)||(Gr=[Gr]);const Br={};return Gr.forEach(Tr=>{Nn.value[Tr.id]=$r,Br[Tr.columnKey||Tr.id]=$r}),Br},qn=(Gr,$r,Br)=>{In.value&&In.value!==Gr&&(In.value.order=null),In.value=Gr,On.value=$r,Rn.value=Br},ar=()=>{let Gr=unref(qe);Object.keys(Nn.value).forEach($r=>{const Br=Nn.value[$r];if(!Br||Br.length===0)return;const Tr=getColumnById({columns:jt.value},$r);Tr&&Tr.filterMethod&&(Gr=Gr.filter(cr=>Br.some(Sr=>Tr.filterMethod.call(null,Sr,cr,Tr))))}),Mn.value=Gr},tr=()=>{Ue.value=sortData(Mn.value,{sortingColumn:In.value,sortProp:On.value,sortOrder:Rn.value})},or=(Gr=void 0)=>{Gr&&Gr.filter||ar(),tr()},sr=Gr=>{const{tableHeaderRef:$r}=$e.refs;if(!$r)return;const Br=Object.assign({},$r.filterPanels),Tr=Object.keys(Br);if(Tr.length)if(typeof Gr=="string"&&(Gr=[Gr]),Array.isArray(Gr)){const cr=Gr.map(Sr=>getColumnByKey({columns:jt.value},Sr));Tr.forEach(Sr=>{const Dr=cr.find(mr=>mr.id===Sr);Dr&&(Dr.filteredValue=[])}),$e.store.commit("filterChange",{column:cr,values:[],silent:!0,multi:!0})}else Tr.forEach(cr=>{const Sr=jt.value.find(Dr=>Dr.id===cr);Sr&&(Sr.filteredValue=[])}),Nn.value={},$e.store.commit("filterChange",{column:{},values:[],silent:!0})},Kn=()=>{In.value&&(qn(null,null,null),$e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Zn,toggleRowExpansion:nr,updateExpandRows:lr,states:ir,isRowExpanded:kr}=useExpand({data:Ue,rowKey:Fe}),{updateTreeExpandKeys:Cr,toggleTreeExpansion:Er,updateTreeData:dr,loadOrToggle:br,states:_r}=useTree$2({data:Ue,rowKey:Fe}),{updateCurrentRowData:Pr,updateCurrentRow:gr,setCurrentRowKey:xr,states:Rr}=useCurrent({data:Ue,rowKey:Fe});return{assertRowKey:Vn,updateColumns:Dn,scheduleLayout:Hn,isSelected:Fn,clearSelection:zn,cleanSelection:jn,getSelectionRows:Gn,toggleRowSelection:Wn,_toggleAllSelection:Xn,toggleAllSelection:null,updateSelectionByRowKey:er,updateAllSelected:rr,updateFilters:Yn,updateCurrentRow:gr,updateSort:qn,execFilter:ar,execSort:tr,execQuery:or,clearFilter:sr,clearSort:Kn,toggleRowExpansion:nr,setExpandRowKeysAdapter:Gr=>{Zn(Gr),Cr(Gr)},setCurrentRowKey:xr,toggleRowExpansionAdapter:(Gr,$r)=>{jt.value.some(({type:Tr})=>Tr==="expand")?nr(Gr,$r):Er(Gr,$r)},isRowExpanded:kr,updateExpandRows:lr,updateCurrentRowData:Pr,loadOrToggle:br,updateTreeData:dr,states:{tableSize:Ie,rowKey:Fe,data:Ue,_data:qe,isComplex:At,_columns:Dt,originColumns:Lt,columns:jt,fixedColumns:hn,rightFixedColumns:vn,leafColumns:bn,fixedLeafColumns:_n,rightFixedLeafColumns:wn,updateOrderFns:kn,leafColumnsLength:Cn,fixedLeafColumnsLength:Sn,rightFixedLeafColumnsLength:xn,isAllSelected:En,selection:Tn,reserveSelection:An,selectOnIndeterminate:$n,selectable:Pn,filters:Nn,filteredData:Mn,sortingColumn:In,sortProp:On,sortOrder:Rn,hoverRow:Bn,...ir,..._r,...Rr}}}function replaceColumn(xe,$e){return xe.map(Ie=>{var Fe;return Ie.id===$e.id?$e:((Fe=Ie.children)!=null&&Fe.length&&(Ie.children=replaceColumn(Ie.children,$e)),Ie)})}function sortColumn(xe){xe.forEach($e=>{var Ie,Fe;$e.no=(Ie=$e.getColumnIndex)==null?void 0:Ie.call($e),(Fe=$e.children)!=null&&Fe.length&&sortColumn($e.children)}),xe.sort(($e,Ie)=>$e.no-Ie.no)}function useStore(){const xe=getCurrentInstance(),$e=useWatcher$1();return{ns:useNamespace("table"),...$e,mutations:{setData(At,Dt){const Lt=unref(At._data)!==Dt;At.data.value=Dt,At._data.value=Dt,xe.store.execQuery(),xe.store.updateCurrentRowData(),xe.store.updateExpandRows(),xe.store.updateTreeData(xe.store.states.defaultExpandAll.value),unref(At.reserveSelection)?(xe.store.assertRowKey(),xe.store.updateSelectionByRowKey()):Lt?xe.store.clearSelection():xe.store.cleanSelection(),xe.store.updateAllSelected(),xe.$ready&&xe.store.scheduleLayout()},insertColumn(At,Dt,Lt,jt){const hn=unref(At._columns);let vn=[];Lt?(Lt&&!Lt.children&&(Lt.children=[]),Lt.children.push(Dt),vn=replaceColumn(hn,Lt)):(hn.push(Dt),vn=hn),sortColumn(vn),At._columns.value=vn,At.updateOrderFns.push(jt),Dt.type==="selection"&&(At.selectable.value=Dt.selectable,At.reserveSelection.value=Dt.reserveSelection),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},updateColumnOrder(At,Dt){var Lt;((Lt=Dt.getColumnIndex)==null?void 0:Lt.call(Dt))!==Dt.no&&(sortColumn(At._columns.value),xe.$ready&&xe.store.updateColumns())},removeColumn(At,Dt,Lt,jt){const hn=unref(At._columns)||[];if(Lt)Lt.children.splice(Lt.children.findIndex(bn=>bn.id===Dt.id),1),nextTick(()=>{var bn;((bn=Lt.children)==null?void 0:bn.length)===0&&delete Lt.children}),At._columns.value=replaceColumn(hn,Lt);else{const bn=hn.indexOf(Dt);bn>-1&&(hn.splice(bn,1),At._columns.value=hn)}const vn=At.updateOrderFns.indexOf(jt);vn>-1&&At.updateOrderFns.splice(vn,1),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},sort(At,Dt){const{prop:Lt,order:jt,init:hn}=Dt;if(Lt){const vn=unref(At.columns).find(bn=>bn.property===Lt);vn&&(vn.order=jt,xe.store.updateSort(vn,Lt,jt),xe.store.commit("changeSortCondition",{init:hn}))}},changeSortCondition(At,Dt){const{sortingColumn:Lt,sortProp:jt,sortOrder:hn}=At,vn=unref(Lt),bn=unref(jt),_n=unref(hn);_n===null&&(At.sortingColumn.value=null,At.sortProp.value=null);const wn={filter:!0};xe.store.execQuery(wn),(!Dt||!(Dt.silent||Dt.init))&&xe.emit("sort-change",{column:vn,prop:bn,order:_n}),xe.store.updateTableScrollY()},filterChange(At,Dt){const{column:Lt,values:jt,silent:hn}=Dt,vn=xe.store.updateFilters(Lt,jt);xe.store.execQuery(),hn||xe.emit("filter-change",vn),xe.store.updateTableScrollY()},toggleAllSelection(){xe.store.toggleAllSelection()},rowSelectedChanged(At,Dt){xe.store.toggleRowSelection(Dt),xe.store.updateAllSelected()},setHoverRow(At,Dt){At.hoverRow.value=Dt},setCurrentRow(At,Dt){xe.store.updateCurrentRow(Dt)}},commit:function(At,...Dt){const Lt=xe.store.mutations;if(Lt[At])Lt[At].apply(xe,[xe.store.states].concat(Dt));else throw new Error(`Action not found: ${At}`)},updateTableScrollY:function(){nextTick(()=>xe.layout.updateScrollY.apply(xe.layout))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"}};function createStore(xe,$e){if(!xe)throw new Error("Table is required.");const Ie=useStore();return Ie.toggleAllSelection=debounce(Ie._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(Fe=>{handleValue(getArrKeysValue($e,Fe),Fe,Ie)}),proxyTableProps(Ie,$e),Ie}function proxyTableProps(xe,$e){Object.keys(InitialStateMap).forEach(Ie=>{watch(()=>getArrKeysValue($e,Ie),Fe=>{handleValue(Fe,Ie,xe)})})}function handleValue(xe,$e,Ie){let Fe=xe,Ue=InitialStateMap[$e];typeof InitialStateMap[$e]=="object"&&(Ue=Ue.key,Fe=Fe||InitialStateMap[$e].default),Ie.states[Ue].value=Fe}function getArrKeysValue(xe,$e){if($e.includes(".")){const Ie=$e.split(".");let Fe=xe;return Ie.forEach(Ue=>{Fe=Fe[Ue]}),Fe}else return xe[$e]}class TableLayout{constructor($e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const Ie in $e)hasOwn$1($e,Ie)&&(isRef(this[Ie])?this[Ie].value=$e[Ie]:this[Ie]=$e[Ie]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const Ie=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(Ie!=null&&Ie.wrapRef)){let Fe=!0;const Ue=this.scrollY.value;return Fe=Ie.wrapRef.scrollHeight>Ie.wrapRef.clientHeight,this.scrollY.value=Fe,Ue!==Fe}return!1}setHeight($e,Ie="height"){if(!isClient$1)return;const Fe=this.table.vnode.el;if($e=parseHeight($e),this.height.value=Number($e),!Fe&&($e||$e===0))return nextTick(()=>this.setHeight($e,Ie));typeof $e=="number"?(Fe.style[Ie]=`${$e}px`,this.updateElsHeight()):typeof $e=="string"&&(Fe.style[Ie]=$e,this.updateElsHeight())}setMaxHeight($e){this.setHeight($e,"max-height")}getFlattenColumns(){const $e=[];return this.table.store.states.columns.value.forEach(Fe=>{Fe.isColumnGroup?$e.push.apply($e,Fe.columns):$e.push(Fe)}),$e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone($e){if(!$e)return!0;let Ie=$e;for(;Ie.tagName!=="DIV";){if(getComputedStyle(Ie).display==="none")return!0;Ie=Ie.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const $e=this.fit,Ie=this.table.vnode.el.clientWidth;let Fe=0;const Ue=this.getFlattenColumns(),qe=Ue.filter(Lt=>typeof Lt.width!="number");if(Ue.forEach(Lt=>{typeof Lt.width=="number"&&Lt.realWidth&&(Lt.realWidth=null)}),qe.length>0&&$e){if(Ue.forEach(Lt=>{Fe+=Number(Lt.width||Lt.minWidth||80)}),Fe<=Ie){this.scrollX.value=!1;const Lt=Ie-Fe;if(qe.length===1)qe[0].realWidth=Number(qe[0].minWidth||80)+Lt;else{const jt=qe.reduce((bn,_n)=>bn+Number(_n.minWidth||80),0),hn=Lt/jt;let vn=0;qe.forEach((bn,_n)=>{if(_n===0)return;const wn=Math.floor(Number(bn.minWidth||80)*hn);vn+=wn,bn.realWidth=Number(bn.minWidth||80)+wn}),qe[0].realWidth=Number(qe[0].minWidth||80)+Lt-vn}}else this.scrollX.value=!0,qe.forEach(Lt=>{Lt.realWidth=Number(Lt.minWidth)});this.bodyWidth.value=Math.max(Fe,Ie),this.table.state.resizeState.value.width=this.bodyWidth.value}else Ue.forEach(Lt=>{!Lt.width&&!Lt.minWidth?Lt.realWidth=80:Lt.realWidth=Number(Lt.width||Lt.minWidth),Fe+=Lt.realWidth}),this.scrollX.value=Fe>Ie,this.bodyWidth.value=Fe;const At=this.store.states.fixedColumns.value;if(At.length>0){let Lt=0;At.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.fixedWidth.value=Lt}const Dt=this.store.states.rightFixedColumns.value;if(Dt.length>0){let Lt=0;Dt.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.rightFixedWidth.value=Lt}this.notifyObservers("columns")}addObserver($e){this.observers.push($e)}removeObserver($e){const Ie=this.observers.indexOf($e);Ie!==-1&&this.observers.splice(Ie,1)}notifyObservers($e){this.observers.forEach(Fe=>{var Ue,qe;switch($e){case"columns":(Ue=Fe.state)==null||Ue.onColumnsChange(this);break;case"scrollable":(qe=Fe.state)==null||qe.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${$e}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$B=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(xe){const $e=getCurrentInstance(),{t:Ie}=useLocale(),Fe=useNamespace("table-filter"),Ue=$e==null?void 0:$e.parent;Ue.filterPanels.value[xe.column.id]||(Ue.filterPanels.value[xe.column.id]=$e);const qe=ref(!1),At=ref(null),Dt=computed(()=>xe.column&&xe.column.filters),Lt=computed(()=>xe.column.filterClassName?`${Fe.b()} ${xe.column.filterClassName}`:Fe.b()),jt=computed({get:()=>{var An;return(((An=xe.column)==null?void 0:An.filteredValue)||[])[0]},set:An=>{hn.value&&(typeof An<"u"&&An!==null?hn.value.splice(0,1,An):hn.value.splice(0,1))}}),hn=computed({get(){return xe.column?xe.column.filteredValue||[]:[]},set(An){xe.column&&xe.upDataColumn("filteredValue",An)}}),vn=computed(()=>xe.column?xe.column.filterMultiple:!0),bn=An=>An.value===jt.value,_n=()=>{qe.value=!1},wn=An=>{An.stopPropagation(),qe.value=!qe.value},kn=()=>{qe.value=!1},Cn=()=>{En(hn.value),_n()},Sn=()=>{hn.value=[],En(hn.value),_n()},xn=An=>{jt.value=An,En(typeof An<"u"&&An!==null?hn.value:[]),_n()},En=An=>{xe.store.commit("filterChange",{column:xe.column,values:An}),xe.store.updateAllSelected()};watch(qe,An=>{xe.column&&xe.upDataColumn("filterOpened",An)},{immediate:!0});const Tn=computed(()=>{var An,$n;return($n=(An=At.value)==null?void 0:An.popperRef)==null?void 0:$n.contentRef});return{tooltipVisible:qe,multiple:vn,filterClassName:Lt,filteredValue:hn,filterValue:jt,filters:Dt,handleConfirm:Cn,handleReset:Sn,handleSelect:xn,isActive:bn,t:Ie,ns:Fe,showFilterPanel:wn,hideFilterPanel:kn,popperPaneRef:Tn,tooltip:At}}}),_hoisted_1$h={key:0},_hoisted_2$b=["disabled"],_hoisted_3$4=["label","onClick"];function _sfc_render$4(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-checkbox-group"),Lt=resolveComponent("el-scrollbar"),jt=resolveComponent("arrow-up"),hn=resolveComponent("arrow-down"),vn=resolveComponent("el-icon"),bn=resolveComponent("el-tooltip"),_n=resolveDirective("click-outside");return openBlock(),createBlock(bn,{ref:"tooltip",visible:xe.tooltipVisible,offset:0,placement:xe.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":xe.filterClassName,persistent:""},{content:withCtx(()=>[xe.multiple?(openBlock(),createElementBlock("div",_hoisted_1$h,[createBaseVNode("div",{class:normalizeClass(xe.ns.e("content"))},[createVNode$1(Lt,{"wrap-class":xe.ns.e("wrap")},{default:withCtx(()=>[createVNode$1(Dt,{modelValue:xe.filteredValue,"onUpdate:modelValue":$e[0]||($e[0]=wn=>xe.filteredValue=wn),class:normalizeClass(xe.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createBlock(At,{key:wn.value,value:wn.value},{default:withCtx(()=>[createTextVNode(toDisplayString(wn.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[xe.ns.is("disabled")]:xe.filteredValue.length===0}),disabled:xe.filteredValue.length===0,type:"button",onClick:$e[1]||($e[1]=(...wn)=>xe.handleConfirm&&xe.handleConfirm(...wn))},toDisplayString(xe.t("el.table.confirmFilter")),11,_hoisted_2$b),createBaseVNode("button",{type:"button",onClick:$e[2]||($e[2]=(...wn)=>xe.handleReset&&xe.handleReset(...wn))},toDisplayString(xe.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(xe.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([xe.ns.e("list-item"),{[xe.ns.is("active")]:xe.filterValue===void 0||xe.filterValue===null}]),onClick:$e[3]||($e[3]=wn=>xe.handleSelect(null))},toDisplayString(xe.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createElementBlock("li",{key:wn.value,class:normalizeClass([xe.ns.e("list-item"),xe.ns.is("active",xe.isActive(wn))]),label:wn.value,onClick:kn=>xe.handleSelect(wn.value)},toDisplayString(wn.text),11,_hoisted_3$4))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${xe.ns.namespace.value}-table__column-filter-trigger`,`${xe.ns.namespace.value}-none-outline`]),onClick:$e[4]||($e[4]=(...wn)=>xe.showFilterPanel&&xe.showFilterPanel(...wn))},[createVNode$1(vn,null,{default:withCtx(()=>[xe.column.filterOpened?(openBlock(),createBlock(jt,{key:0})):(openBlock(),createBlock(hn,{key:1}))]),_:1})],2)),[[_n,xe.hideFilterPanel,xe.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$B,[["render",_sfc_render$4],["__file","filter-panel.vue"]]);function useLayoutObserver(xe){const $e=getCurrentInstance();onBeforeMount(()=>{Ie.value.addObserver($e)}),onMounted(()=>{Fe(Ie.value),Ue(Ie.value)}),onUpdated(()=>{Fe(Ie.value),Ue(Ie.value)}),onUnmounted(()=>{Ie.value.removeObserver($e)});const Ie=computed(()=>{const qe=xe.layout;if(!qe)throw new Error("Can not find table layout.");return qe}),Fe=qe=>{var At;const Dt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col"))||[];if(!Dt.length)return;const Lt=qe.getFlattenColumns(),jt={};Lt.forEach(hn=>{jt[hn.id]=hn});for(let hn=0,vn=Dt.length;hn{var At,Dt;const Lt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let hn=0,vn=Lt.length;hn{kn.stopPropagation()},qe=(kn,Cn)=>{!Cn.filters&&Cn.sortable?wn(kn,Cn,!1):Cn.filterable&&!Cn.sortable&&Ue(kn),Fe==null||Fe.emit("header-click",Cn,kn)},At=(kn,Cn)=>{Fe==null||Fe.emit("header-contextmenu",Cn,kn)},Dt=ref(null),Lt=ref(!1),jt=ref({}),hn=(kn,Cn)=>{if(isClient$1&&!(Cn.children&&Cn.children.length>0)&&Dt.value&&xe.border){Lt.value=!0;const Sn=Fe;$e("set-drag-visible",!0);const En=(Sn==null?void 0:Sn.vnode.el).getBoundingClientRect().left,Tn=Ie.vnode.el.querySelector(`th.${Cn.id}`),An=Tn.getBoundingClientRect(),$n=An.left-En+30;addClass(Tn,"noclick"),jt.value={startMouseLeft:kn.clientX,startLeft:An.right-En,startColumnLeft:An.left-En,tableLeft:En};const Pn=Sn==null?void 0:Sn.refs.resizeProxy;Pn.style.left=`${jt.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const Nn=In=>{const On=In.clientX-jt.value.startMouseLeft,Rn=jt.value.startLeft+On;Pn.style.left=`${Math.max($n,Rn)}px`},Mn=()=>{if(Lt.value){const{startColumnLeft:In,startLeft:On}=jt.value,Bn=Number.parseInt(Pn.style.left,10)-In;Cn.width=Cn.realWidth=Bn,Sn==null||Sn.emit("header-dragend",Cn.width,On-In,Cn,kn),requestAnimationFrame(()=>{xe.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",Lt.value=!1,Dt.value=null,jt.value={},$e("set-drag-visible",!1)}document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(Tn,"noclick")},0)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)}},vn=(kn,Cn)=>{if(Cn.children&&Cn.children.length>0)return;const Sn=kn.target;if(!isElement$1(Sn))return;const xn=Sn==null?void 0:Sn.closest("th");if(!(!Cn||!Cn.resizable)&&!Lt.value&&xe.border){const En=xn.getBoundingClientRect(),Tn=document.body.style;En.width>12&&En.right-kn.pageX<8?(Tn.cursor="col-resize",hasClass(xn,"is-sortable")&&(xn.style.cursor="col-resize"),Dt.value=Cn):Lt.value||(Tn.cursor="",hasClass(xn,"is-sortable")&&(xn.style.cursor="pointer"),Dt.value=null)}},bn=()=>{isClient$1&&(document.body.style.cursor="")},_n=({order:kn,sortOrders:Cn})=>{if(kn==="")return Cn[0];const Sn=Cn.indexOf(kn||null);return Cn[Sn>Cn.length-2?0:Sn+1]},wn=(kn,Cn,Sn)=>{var xn;kn.stopPropagation();const En=Cn.order===Sn?null:Sn||_n(Cn),Tn=(xn=kn.target)==null?void 0:xn.closest("th");if(Tn&&hasClass(Tn,"noclick")){removeClass(Tn,"noclick");return}if(!Cn.sortable)return;const An=xe.store.states;let $n=An.sortProp.value,Pn;const Nn=An.sortingColumn.value;(Nn!==Cn||Nn===Cn&&Nn.order===null)&&(Nn&&(Nn.order=null),An.sortingColumn.value=Cn,$n=Cn.property),En?Pn=Cn.order=En:Pn=Cn.order=null,An.sortProp.value=$n,An.sortOrder.value=Pn,Fe==null||Fe.store.commit("changeSortCondition")};return{handleHeaderClick:qe,handleHeaderContextMenu:At,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:wn,handleFilterClick:Ue}}function useStyle$2(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getHeaderRowStyle:Dt=>{const Lt=$e==null?void 0:$e.props.headerRowStyle;return typeof Lt=="function"?Lt.call(null,{rowIndex:Dt}):Lt},getHeaderRowClass:Dt=>{const Lt=[],jt=$e==null?void 0:$e.props.headerRowClassName;return typeof jt=="string"?Lt.push(jt):typeof jt=="function"&&Lt.push(jt.call(null,{rowIndex:Dt})),Lt.join(" ")},getHeaderCellStyle:(Dt,Lt,jt,hn)=>{var vn;let bn=(vn=$e==null?void 0:$e.props.headerCellStyle)!=null?vn:{};typeof bn=="function"&&(bn=bn.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn}));const _n=getFixedColumnOffset(Lt,hn.fixed,xe.store,jt);return ensurePosition(_n,"left"),ensurePosition(_n,"right"),Object.assign({},bn,_n)},getHeaderCellClass:(Dt,Lt,jt,hn)=>{const vn=getFixedColumnsClass(Ie.b(),Lt,hn.fixed,xe.store,jt),bn=[hn.id,hn.order,hn.headerAlign,hn.className,hn.labelClassName,...vn];hn.children||bn.push("is-leaf"),hn.sortable&&bn.push("is-sortable");const _n=$e==null?void 0:$e.props.headerCellClassName;return typeof _n=="string"?bn.push(_n):typeof _n=="function"&&bn.push(_n.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn})),bn.push(Ie.e("cell")),bn.filter(wn=>!!wn).join(" ")}}}const getAllColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children?($e.push(Ie),$e.push.apply($e,getAllColumns(Ie.children))):$e.push(Ie)}),$e},convertToRows=xe=>{let $e=1;const Ie=(qe,At)=>{if(At&&(qe.level=At.level+1,$e{Ie(Lt,qe),Dt+=Lt.colSpan}),qe.colSpan=Dt}else qe.colSpan=1};xe.forEach(qe=>{qe.level=1,Ie(qe,void 0)});const Fe=[];for(let qe=0;qe<$e;qe++)Fe.push([]);return getAllColumns(xe).forEach(qe=>{qe.children?(qe.rowSpan=1,qe.children.forEach(At=>At.isSubColumn=!0)):qe.rowSpan=$e-qe.level+1,Fe[qe.level-1].push(qe)}),Fe};function useUtils$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=computed(()=>convertToRows(xe.store.states.originColumns.value));return{isGroup:computed(()=>{const qe=Ie.value.length>1;return qe&&$e&&($e.state.isGroup.value=!0),qe}),toggleAllSelection:qe=>{qe.stopPropagation(),$e==null||$e.store.commit("toggleAllSelection")},columnRows:Ie}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject(TABLE_INJECTION_KEY),Ue=useNamespace("table"),qe=ref({}),{onColumnsChange:At,onScrollableChange:Dt}=useLayoutObserver(Fe);onMounted(async()=>{await nextTick(),await nextTick();const{prop:$n,order:Pn}=xe.defaultSort;Fe==null||Fe.store.commit("sort",{prop:$n,order:Pn,init:!0})});const{handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn}=useEvent(xe,$e),{getHeaderRowStyle:kn,getHeaderRowClass:Cn,getHeaderCellStyle:Sn,getHeaderCellClass:xn}=useStyle$2(xe),{isGroup:En,toggleAllSelection:Tn,columnRows:An}=useUtils$1(xe);return Ie.state={onColumnsChange:At,onScrollableChange:Dt},Ie.filterPanels=qe,{ns:Ue,filterPanels:qe,onColumnsChange:At,onScrollableChange:Dt,columnRows:An,getHeaderRowClass:Cn,getHeaderRowStyle:kn,getHeaderCellClass:xn,getHeaderCellStyle:Sn,handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn,isGroup:En,toggleAllSelection:Tn}},render(){const{ns:xe,isGroup:$e,columnRows:Ie,getHeaderCellStyle:Fe,getHeaderCellClass:Ue,getHeaderRowClass:qe,getHeaderRowStyle:At,handleHeaderClick:Dt,handleHeaderContextMenu:Lt,handleMouseDown:jt,handleMouseMove:hn,handleSortClick:vn,handleMouseOut:bn,store:_n,$parent:wn}=this;let kn=1;return h$5("thead",{class:{[xe.is("group")]:$e}},Ie.map((Cn,Sn)=>h$5("tr",{class:qe(Sn),key:Sn,style:At(Sn)},Cn.map((xn,En)=>(xn.rowSpan>kn&&(kn=xn.rowSpan),h$5("th",{class:Ue(Sn,En,Cn,xn),colspan:xn.colSpan,key:`${xn.id}-thead`,rowspan:xn.rowSpan,style:Fe(Sn,En,Cn,xn),onClick:Tn=>Dt(Tn,xn),onContextmenu:Tn=>Lt(Tn,xn),onMousedown:Tn=>jt(Tn,xn),onMousemove:Tn=>hn(Tn,xn),onMouseout:bn},[h$5("div",{class:["cell",xn.filteredValue&&xn.filteredValue.length>0?"highlight":""]},[xn.renderHeader?xn.renderHeader({column:xn,$index:En,store:_n,_self:wn}):xn.label,xn.sortable&&h$5("span",{onClick:Tn=>vn(Tn,xn),class:"caret-wrapper"},[h$5("i",{onClick:Tn=>vn(Tn,xn,"ascending"),class:"sort-caret ascending"}),h$5("i",{onClick:Tn=>vn(Tn,xn,"descending"),class:"sort-caret descending"})]),xn.filterable&&h$5(FilterPanel,{store:_n,placement:xn.filterPlacement||"bottom-start",column:xn,upDataColumn:(Tn,An)=>{xn[Tn]=An}})])]))))))}});function isGreaterThan(xe,$e,Ie=.01){return xe-$e>Ie}function useEvents(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=ref(""),Fe=ref(h$5("div")),Ue=(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn);let Tn;const An=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;En&&(Tn=getColumnByCell({columns:xe.store.states.columns.value},En,An),Tn&&(xn==null||xn.emit(`cell-${Cn}`,kn,Tn,En,wn))),xn==null||xn.emit(`row-${Cn}`,kn,Tn,wn)},qe=(wn,kn)=>{Ue(wn,kn,"dblclick")},At=(wn,kn)=>{xe.store.commit("setCurrentRow",kn),Ue(wn,kn,"click")},Dt=(wn,kn)=>{Ue(wn,kn,"contextmenu")},Lt=debounce(wn=>{xe.store.commit("setHoverRow",wn)},30),jt=debounce(()=>{xe.store.commit("setHoverRow",null)},30),hn=wn=>{const kn=window.getComputedStyle(wn,null),Cn=Number.parseInt(kn.paddingLeft,10)||0,Sn=Number.parseInt(kn.paddingRight,10)||0,xn=Number.parseInt(kn.paddingTop,10)||0,En=Number.parseInt(kn.paddingBottom,10)||0;return{left:Cn,right:Sn,top:xn,bottom:En}},vn=(wn,kn,Cn)=>{let Sn=kn.target.parentNode;for(;wn>1&&(Sn=Sn==null?void 0:Sn.nextSibling,!(!Sn||Sn.nodeName!=="TR"));)Cn(Sn,"hover-row hover-fixed-row"),wn--};return{handleDoubleClick:qe,handleClick:At,handleContextMenu:Dt,handleMouseEnter:Lt,handleMouseLeave:jt,handleCellMouseEnter:(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn),Tn=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;if(En){const zn=getColumnByCell({columns:xe.store.states.columns.value},En,Tn);En.rowSpan>1&&vn(En.rowSpan,wn,addClass);const jn=xn.hoverState={cell:En,column:zn,row:kn};xn==null||xn.emit("cell-mouse-enter",jn.row,jn.column,jn.cell,wn)}if(!Cn)return;const An=wn.target.querySelector(".cell");if(!(hasClass(An,`${Tn}-tooltip`)&&An.childNodes.length))return;const $n=document.createRange();$n.setStart(An,0),$n.setEnd(An,An.childNodes.length);let{width:Pn,height:Nn}=$n.getBoundingClientRect();const Mn=Pn-Math.floor(Pn),{width:In,height:On}=An.getBoundingClientRect();Mn<.001&&(Pn=Math.floor(Pn)),Nn-Math.floor(Nn)<.001&&(Nn=Math.floor(Nn));const{top:Bn,left:Vn,right:Ln,bottom:Dn}=hn(An),Hn=Vn+Ln,Fn=Bn+Dn;(isGreaterThan(Pn+Hn,In)||isGreaterThan(Nn+Fn,On)||isGreaterThan(An.scrollWidth,In))&&createTablePopper(Cn,En.innerText||En.textContent,En,xn)},handleCellMouseLeave:wn=>{const kn=getCell(wn);if(!kn)return;kn.rowSpan>1&&vn(kn.rowSpan,wn,removeClass);const Cn=$e==null?void 0:$e.hoverState;$e==null||$e.emit("cell-mouse-leave",Cn==null?void 0:Cn.row,Cn==null?void 0:Cn.column,Cn==null?void 0:Cn.cell,wn)},tooltipContent:Ie,tooltipTrigger:Fe}}function useStyles$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getRowStyle:(jt,hn)=>{const vn=$e==null?void 0:$e.props.rowStyle;return typeof vn=="function"?vn.call(null,{row:jt,rowIndex:hn}):vn||null},getRowClass:(jt,hn)=>{const vn=[Ie.e("row")];$e!=null&&$e.props.highlightCurrentRow&&jt===xe.store.states.currentRow.value&&vn.push("current-row"),xe.stripe&&hn%2===1&&vn.push(Ie.em("row","striped"));const bn=$e==null?void 0:$e.props.rowClassName;return typeof bn=="string"?vn.push(bn):typeof bn=="function"&&vn.push(bn.call(null,{row:jt,rowIndex:hn})),vn},getCellStyle:(jt,hn,vn,bn)=>{const _n=$e==null?void 0:$e.props.cellStyle;let wn=_n??{};typeof _n=="function"&&(wn=_n.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn}));const kn=getFixedColumnOffset(hn,xe==null?void 0:xe.fixed,xe.store);return ensurePosition(kn,"left"),ensurePosition(kn,"right"),Object.assign({},wn,kn)},getCellClass:(jt,hn,vn,bn,_n)=>{const wn=getFixedColumnsClass(Ie.b(),hn,xe==null?void 0:xe.fixed,xe.store,void 0,_n),kn=[bn.id,bn.align,bn.className,...wn],Cn=$e==null?void 0:$e.props.cellClassName;return typeof Cn=="string"?kn.push(Cn):typeof Cn=="function"&&kn.push(Cn.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn})),kn.push(Ie.e("cell")),kn.filter(Sn=>!!Sn).join(" ")},getSpan:(jt,hn,vn,bn)=>{let _n=1,wn=1;const kn=$e==null?void 0:$e.props.spanMethod;if(typeof kn=="function"){const Cn=kn({row:jt,column:hn,rowIndex:vn,columnIndex:bn});Array.isArray(Cn)?(_n=Cn[0],wn=Cn[1]):typeof Cn=="object"&&(_n=Cn.rowspan,wn=Cn.colspan)}return{rowspan:_n,colspan:wn}},getColspanRealWidth:(jt,hn,vn)=>{if(hn<1)return jt[vn].realWidth;const bn=jt.map(({realWidth:_n,width:wn})=>_n||wn).slice(vn,vn+hn);return Number(bn.reduce((_n,wn)=>Number(_n)+Number(wn),-1))}}}function useRender$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table"),{handleDoubleClick:Fe,handleClick:Ue,handleContextMenu:qe,handleMouseEnter:At,handleMouseLeave:Dt,handleCellMouseEnter:Lt,handleCellMouseLeave:jt,tooltipContent:hn,tooltipTrigger:vn}=useEvents(xe),{getRowStyle:bn,getRowClass:_n,getCellStyle:wn,getCellClass:kn,getSpan:Cn,getColspanRealWidth:Sn}=useStyles$1(xe),xn=computed(()=>xe.store.states.columns.value.findIndex(({type:Pn})=>Pn==="default")),En=(Pn,Nn)=>{const Mn=$e.props.rowKey;return Mn?getRowIdentity(Pn,Mn):Nn},Tn=(Pn,Nn,Mn,In=!1)=>{const{tooltipEffect:On,tooltipOptions:Rn,store:Bn}=xe,{indent:Vn,columns:Ln}=Bn.states,Dn=_n(Pn,Nn);let Hn=!0;return Mn&&(Dn.push(Ie.em("row",`level-${Mn.level}`)),Hn=Mn.display),h$5("tr",{style:[Hn?null:{display:"none"},bn(Pn,Nn)],class:Dn,key:En(Pn,Nn),onDblclick:zn=>Fe(zn,Pn),onClick:zn=>Ue(zn,Pn),onContextmenu:zn=>qe(zn,Pn),onMouseenter:()=>At(Nn),onMouseleave:Dt},Ln.value.map((zn,jn)=>{const{rowspan:Gn,colspan:Wn}=Cn(Pn,zn,Nn,jn);if(!Gn||!Wn)return null;const Xn=Object.assign({},zn);Xn.realWidth=Sn(Ln.value,Wn,jn);const er={store:xe.store,_self:xe.context||$e,column:Xn,row:Pn,$index:Nn,cellIndex:jn,expanded:In};jn===xn.value&&Mn&&(er.treeNode={indent:Mn.level*Vn.value,level:Mn.level},typeof Mn.expanded=="boolean"&&(er.treeNode.expanded=Mn.expanded,"loading"in Mn&&(er.treeNode.loading=Mn.loading),"noLazyChildren"in Mn&&(er.treeNode.noLazyChildren=Mn.noLazyChildren)));const rr=`${En(Pn,Nn)},${jn}`,Jn=Xn.columnKey||Xn.rawColumnKey||"",Yn=An(jn,zn,er),qn=zn.showOverflowTooltip&&merge$2({effect:On},Rn,zn.showOverflowTooltip);return h$5("td",{style:wn(Nn,jn,Pn,zn),class:kn(Nn,jn,Pn,zn,Wn-1),key:`${Jn}${rr}`,rowspan:Gn,colspan:Wn,onMouseenter:ar=>Lt(ar,Pn,qn),onMouseleave:jt},[Yn])}))},An=(Pn,Nn,Mn)=>Nn.renderCell(Mn);return{wrappedRowRender:(Pn,Nn)=>{const Mn=xe.store,{isRowExpanded:In,assertRowKey:On}=Mn,{treeData:Rn,lazyTreeNodeMap:Bn,childrenColumnName:Vn,rowKey:Ln}=Mn.states,Dn=Mn.states.columns.value;if(Dn.some(({type:Fn})=>Fn==="expand")){const Fn=In(Pn),zn=Tn(Pn,Nn,void 0,Fn),jn=$e.renderExpanded;return Fn?jn?[[zn,h$5("tr",{key:`expanded-row__${zn.key}`},[h$5("td",{colspan:Dn.length,class:`${Ie.e("cell")} ${Ie.e("expanded-cell")}`},[jn({row:Pn,$index:Nn,store:Mn,expanded:Fn})])])]]:(console.error("[Element Error]renderExpanded is required."),zn):[[zn]]}else if(Object.keys(Rn.value).length){On();const Fn=getRowIdentity(Pn,Ln.value);let zn=Rn.value[Fn],jn=null;zn&&(jn={expanded:zn.expanded,level:zn.level,display:!0},typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(jn.noLazyChildren=!(zn.children&&zn.children.length)),jn.loading=zn.loading));const Gn=[Tn(Pn,Nn,jn)];if(zn){let Wn=0;const Xn=(rr,Jn)=>{rr&&rr.length&&Jn&&rr.forEach(Yn=>{const qn={display:Jn.display&&Jn.expanded,level:Jn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ar=getRowIdentity(Yn,Ln.value);if(ar==null)throw new Error("For nested data item, row-key is required.");if(zn={...Rn.value[ar]},zn&&(qn.expanded=zn.expanded,zn.level=zn.level||qn.level,zn.display=!!(zn.expanded&&qn.display),typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(qn.noLazyChildren=!(zn.children&&zn.children.length)),qn.loading=zn.loading)),Wn++,Gn.push(Tn(Yn,Nn+Wn,qn)),zn){const tr=Bn.value[ar]||Yn[Vn.value];Xn(tr,zn)}})};zn.display=!0;const er=Bn.value[Fn]||Pn[Vn.value];Xn(er,zn)}return Gn}else return Tn(Pn,Nn,void 0)},tooltipContent:hn,tooltipTrigger:vn}}const defaultProps$2={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var TableBody=defineComponent({name:"ElTableBody",props:defaultProps$2,setup(xe){const $e=getCurrentInstance(),Ie=inject(TABLE_INJECTION_KEY),Fe=useNamespace("table"),{wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}=useRender$1(xe),{onColumnsChange:Dt,onScrollableChange:Lt}=useLayoutObserver(Ie),jt=[];return watch(xe.store.states.hoverRow,(hn,vn)=>{var bn;const _n=$e==null?void 0:$e.vnode.el,wn=Array.from((_n==null?void 0:_n.children)||[]).filter(Sn=>Sn==null?void 0:Sn.classList.contains(`${Fe.e("row")}`));let kn=hn;const Cn=(bn=wn[kn])==null?void 0:bn.childNodes;if(Cn!=null&&Cn.length){let Sn=0;Array.from(Cn).reduce((En,Tn,An)=>{var $n,Pn;return(($n=Cn[An])==null?void 0:$n.colSpan)>1&&(Sn=(Pn=Cn[An])==null?void 0:Pn.colSpan),Tn.nodeName!=="TD"&&Sn===0&&En.push(An),Sn>0&&Sn--,En},[]).forEach(En=>{var Tn;for(kn=hn;kn>0;){const An=(Tn=wn[kn-1])==null?void 0:Tn.childNodes;if(An[En]&&An[En].nodeName==="TD"&&An[En].rowSpan>1){addClass(An[En],"hover-cell"),jt.push(An[En]);break}kn--}})}else jt.forEach(Sn=>removeClass(Sn,"hover-cell")),jt.length=0;!xe.store.states.isComplex.value||!isClient$1||rAF(()=>{const Sn=wn[vn],xn=wn[hn];Sn&&!Sn.classList.contains("hover-fixed-row")&&removeClass(Sn,"hover-row"),xn&&addClass(xn,"hover-row")})}),onUnmounted(()=>{var hn;(hn=removePopper)==null||hn()}),{ns:Fe,onColumnsChange:Dt,onScrollableChange:Lt,wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}},render(){const{wrappedRowRender:xe,store:$e}=this,Ie=$e.states.data.value||[];return h$5("tbody",{tabIndex:-1},[Ie.reduce((Fe,Ue)=>Fe.concat(xe(Ue,Fe.length)),[])])}});function useMapState(){const xe=inject(TABLE_INJECTION_KEY),$e=xe==null?void 0:xe.store,Ie=computed(()=>$e.states.fixedLeafColumnsLength.value),Fe=computed(()=>$e.states.rightFixedColumns.value.length),Ue=computed(()=>$e.states.columns.value.length),qe=computed(()=>$e.states.fixedColumns.value.length),At=computed(()=>$e.states.rightFixedColumns.value.length);return{leftFixedLeafCount:Ie,rightFixedLeafCount:Fe,columnsCount:Ue,leftFixedCount:qe,rightFixedCount:At,columns:$e.states.columns}}function useStyle$1(xe){const{columns:$e}=useMapState(),Ie=useNamespace("table");return{getCellClasses:(qe,At)=>{const Dt=qe[At],Lt=[Ie.e("cell"),Dt.id,Dt.align,Dt.labelClassName,...getFixedColumnsClass(Ie.b(),At,Dt.fixed,xe.store)];return Dt.className&&Lt.push(Dt.className),Dt.children||Lt.push(Ie.is("leaf")),Lt},getCellStyles:(qe,At)=>{const Dt=getFixedColumnOffset(At,qe.fixed,xe.store);return ensurePosition(Dt,"left"),ensurePosition(Dt,"right"),Dt},columns:$e}}var TableFooter=defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(xe){const{getCellClasses:$e,getCellStyles:Ie,columns:Fe}=useStyle$1(xe);return{ns:useNamespace("table"),getCellClasses:$e,getCellStyles:Ie,columns:Fe}},render(){const{columns:xe,getCellStyles:$e,getCellClasses:Ie,summaryMethod:Fe,sumText:Ue}=this,qe=this.store.states.data.value;let At=[];return Fe?At=Fe({columns:xe,data:qe}):xe.forEach((Dt,Lt)=>{if(Lt===0){At[Lt]=Ue;return}const jt=qe.map(_n=>Number(_n[Dt.property])),hn=[];let vn=!0;jt.forEach(_n=>{if(!Number.isNaN(+_n)){vn=!1;const wn=`${_n}`.split(".")[1];hn.push(wn?wn.length:0)}});const bn=Math.max.apply(null,hn);vn?At[Lt]="":At[Lt]=jt.reduce((_n,wn)=>{const kn=Number(wn);return Number.isNaN(+kn)?_n:Number.parseFloat((_n+wn).toFixed(Math.min(bn,20)))},0)}),h$5(h$5("tfoot",[h$5("tr",{},[...xe.map((Dt,Lt)=>h$5("td",{key:Lt,colspan:Dt.colSpan,rowspan:Dt.rowSpan,class:Ie(xe,Lt),style:$e(Dt,Lt)},[h$5("div",{class:["cell",Dt.labelClassName]},[At[Lt]])]))])]))}});function useUtils(xe){return{setCurrentRow:hn=>{xe.commit("setCurrentRow",hn)},getSelectionRows:()=>xe.getSelectionRows(),toggleRowSelection:(hn,vn)=>{xe.toggleRowSelection(hn,vn,!1),xe.updateAllSelected()},clearSelection:()=>{xe.clearSelection()},clearFilter:hn=>{xe.clearFilter(hn)},toggleAllSelection:()=>{xe.commit("toggleAllSelection")},toggleRowExpansion:(hn,vn)=>{xe.toggleRowExpansionAdapter(hn,vn)},clearSort:()=>{xe.clearSort()},sort:(hn,vn)=>{xe.commit("sort",{prop:hn,order:vn})}}}function useStyle(xe,$e,Ie,Fe){const Ue=ref(!1),qe=ref(null),At=ref(!1),Dt=zn=>{At.value=zn},Lt=ref({width:null,height:null,headerHeight:null}),jt=ref(!1),hn={display:"inline-block",verticalAlign:"middle"},vn=ref(),bn=ref(0),_n=ref(0),wn=ref(0),kn=ref(0),Cn=ref(0);watchEffect(()=>{$e.setHeight(xe.height)}),watchEffect(()=>{$e.setMaxHeight(xe.maxHeight)}),watch(()=>[xe.currentRowKey,Ie.states.rowKey],([zn,jn])=>{!unref(jn)||!unref(zn)||Ie.setCurrentRowKey(`${zn}`)},{immediate:!0}),watch(()=>xe.data,zn=>{Fe.store.commit("setData",zn)},{immediate:!0,deep:!0}),watchEffect(()=>{xe.expandRowKeys&&Ie.setExpandRowKeysAdapter(xe.expandRowKeys)});const Sn=()=>{Fe.store.commit("setHoverRow",null),Fe.hoverState&&(Fe.hoverState=null)},xn=(zn,jn)=>{const{pixelX:Gn,pixelY:Wn}=jn;Math.abs(Gn)>=Math.abs(Wn)&&(Fe.refs.bodyWrapper.scrollLeft+=jn.pixelX/5)},En=computed(()=>xe.height||xe.maxHeight||Ie.states.fixedColumns.value.length>0||Ie.states.rightFixedColumns.value.length>0),Tn=computed(()=>({width:$e.bodyWidth.value?`${$e.bodyWidth.value}px`:""})),An=()=>{En.value&&$e.updateElsHeight(),$e.updateColumnsWidth(),requestAnimationFrame(Mn)};onMounted(async()=>{await nextTick(),Ie.updateColumns(),In(),requestAnimationFrame(An);const zn=Fe.vnode.el,jn=Fe.refs.headerWrapper;xe.flexible&&zn&&zn.parentElement&&(zn.parentElement.style.minWidth="0"),Lt.value={width:vn.value=zn.offsetWidth,height:zn.offsetHeight,headerHeight:xe.showHeader&&jn?jn.offsetHeight:null},Ie.states.columns.value.forEach(Gn=>{Gn.filteredValue&&Gn.filteredValue.length&&Fe.store.commit("filterChange",{column:Gn,values:Gn.filteredValue,silent:!0})}),Fe.$ready=!0});const $n=(zn,jn)=>{if(!zn)return;const Gn=Array.from(zn.classList).filter(Wn=>!Wn.startsWith("is-scrolling-"));Gn.push($e.scrollX.value?jn:"is-scrolling-none"),zn.className=Gn.join(" ")},Pn=zn=>{const{tableWrapper:jn}=Fe.refs;$n(jn,zn)},Nn=zn=>{const{tableWrapper:jn}=Fe.refs;return!!(jn&&jn.classList.contains(zn))},Mn=function(){if(!Fe.refs.scrollBarRef)return;if(!$e.scrollX.value){const Jn="is-scrolling-none";Nn(Jn)||Pn(Jn);return}const zn=Fe.refs.scrollBarRef.wrapRef;if(!zn)return;const{scrollLeft:jn,offsetWidth:Gn,scrollWidth:Wn}=zn,{headerWrapper:Xn,footerWrapper:er}=Fe.refs;Xn&&(Xn.scrollLeft=jn),er&&(er.scrollLeft=jn);const rr=Wn-Gn-1;jn>=rr?Pn("is-scrolling-right"):Pn(jn===0?"is-scrolling-left":"is-scrolling-middle")},In=()=>{Fe.refs.scrollBarRef&&(Fe.refs.scrollBarRef.wrapRef&&useEventListener(Fe.refs.scrollBarRef.wrapRef,"scroll",Mn,{passive:!0}),xe.fit?useResizeObserver(Fe.vnode.el,On):useEventListener(window,"resize",On),useResizeObserver(Fe.refs.bodyWrapper,()=>{var zn,jn;On(),(jn=(zn=Fe.refs)==null?void 0:zn.scrollBarRef)==null||jn.update()}))},On=()=>{var zn,jn,Gn,Wn;const Xn=Fe.vnode.el;if(!Fe.$ready||!Xn)return;let er=!1;const{width:rr,height:Jn,headerHeight:Yn}=Lt.value,qn=vn.value=Xn.offsetWidth;rr!==qn&&(er=!0);const ar=Xn.offsetHeight;(xe.height||En.value)&&Jn!==ar&&(er=!0);const tr=xe.tableLayout==="fixed"?Fe.refs.headerWrapper:(zn=Fe.refs.tableHeaderRef)==null?void 0:zn.$el;xe.showHeader&&(tr==null?void 0:tr.offsetHeight)!==Yn&&(er=!0),bn.value=((jn=Fe.refs.tableWrapper)==null?void 0:jn.scrollHeight)||0,wn.value=(tr==null?void 0:tr.scrollHeight)||0,kn.value=((Gn=Fe.refs.footerWrapper)==null?void 0:Gn.offsetHeight)||0,Cn.value=((Wn=Fe.refs.appendWrapper)==null?void 0:Wn.offsetHeight)||0,_n.value=bn.value-wn.value-kn.value-Cn.value,er&&(Lt.value={width:qn,height:ar,headerHeight:xe.showHeader&&(tr==null?void 0:tr.offsetHeight)||0},An())},Rn=useFormSize(),Bn=computed(()=>{const{bodyWidth:zn,scrollY:jn,gutterWidth:Gn}=$e;return zn.value?`${zn.value-(jn.value?Gn:0)}px`:""}),Vn=computed(()=>xe.maxHeight?"fixed":xe.tableLayout),Ln=computed(()=>{if(xe.data&&xe.data.length)return null;let zn="100%";xe.height&&_n.value&&(zn=`${_n.value}px`);const jn=vn.value;return{width:jn?`${jn}px`:"",height:zn}}),Dn=computed(()=>xe.height?{height:Number.isNaN(Number(xe.height))?xe.height:`${xe.height}px`}:xe.maxHeight?{maxHeight:Number.isNaN(Number(xe.maxHeight))?xe.maxHeight:`${xe.maxHeight}px`}:{}),Hn=computed(()=>xe.height?{height:"100%"}:xe.maxHeight?Number.isNaN(Number(xe.maxHeight))?{maxHeight:`calc(${xe.maxHeight} - ${wn.value+kn.value}px)`}:{maxHeight:`${xe.maxHeight-wn.value-kn.value}px`}:{});return{isHidden:Ue,renderExpanded:qe,setDragVisible:Dt,isGroup:jt,handleMouseLeave:Sn,handleHeaderFooterMousewheel:xn,tableSize:Rn,emptyBlockStyle:Ln,handleFixedMousewheel:(zn,jn)=>{const Gn=Fe.refs.bodyWrapper;if(Math.abs(jn.spinY)>0){const Wn=Gn.scrollTop;jn.pixelY<0&&Wn!==0&&zn.preventDefault(),jn.pixelY>0&&Gn.scrollHeight-Gn.clientHeight>Wn&&zn.preventDefault(),Gn.scrollTop+=Math.ceil(jn.pixelY/5)}else Gn.scrollLeft+=Math.ceil(jn.pixelX/5)},resizeProxyVisible:At,bodyWidth:Bn,resizeState:Lt,doLayout:An,tableBodyStyles:Tn,tableLayout:Vn,scrollbarViewStyle:hn,tableInnerStyle:Dn,scrollbarStyle:Hn}}function useKeyRender(xe){const $e=ref(),Ie=()=>{const Ue=xe.vnode.el.querySelector(".hidden-columns"),qe={childList:!0,subtree:!0},At=xe.store.states.updateOrderFns;$e.value=new MutationObserver(()=>{At.forEach(Dt=>Dt())}),$e.value.observe(Ue,qe)};onMounted(()=>{Ie()}),onUnmounted(()=>{var Fe;(Fe=$e.value)==null||Fe.disconnect()})}var defaultProps$1={data:{type:Array,default:()=>[]},size:useSizeProp,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object]};function hColgroup(xe){const $e=xe.tableLayout==="auto";let Ie=xe.columns||[];$e&&Ie.every(Ue=>Ue.width===void 0)&&(Ie=[]);const Fe=Ue=>{const qe={key:`${xe.tableLayout}_${Ue.id}`,style:{},name:void 0};return $e?qe.style={width:`${Ue.width}px`}:qe.name=Ue.id,qe};return h$5("colgroup",{},Ie.map(Ue=>h$5("col",Fe(Ue))))}hColgroup.props=["columns","tableLayout"];const useScrollbar$1=()=>{const xe=ref(),$e=(qe,At)=>{const Dt=xe.value;Dt&&Dt.scrollTo(qe,At)},Ie=(qe,At)=>{const Dt=xe.value;Dt&&isNumber$1(At)&&["Top","Left"].includes(qe)&&Dt[`setScroll${qe}`](At)};return{scrollBarRef:xe,scrollTo:$e,setScrollTop:qe=>Ie("Top",qe),setScrollLeft:qe=>Ie("Left",qe)}};let tableIdSeed=1;const _sfc_main$A=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$1,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("table"),Fe=getCurrentInstance();provide(TABLE_INJECTION_KEY,Fe);const Ue=createStore(Fe,xe);Fe.store=Ue;const qe=new TableLayout({store:Fe.store,table:Fe,fit:xe.fit,showHeader:xe.showHeader});Fe.layout=qe;const At=computed(()=>(Ue.states.data.value||[]).length===0),{setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,sort:kn}=useUtils(Ue),{isHidden:Cn,renderExpanded:Sn,setDragVisible:xn,isGroup:En,handleMouseLeave:Tn,handleHeaderFooterMousewheel:An,tableSize:$n,emptyBlockStyle:Pn,handleFixedMousewheel:Nn,resizeProxyVisible:Mn,bodyWidth:In,resizeState:On,doLayout:Rn,tableBodyStyles:Bn,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn}=useStyle(xe,qe,Ue,Fe),{scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}=useScrollbar$1(),Wn=debounce(Rn,50),Xn=`${Ie.namespace.value}-table_${tableIdSeed++}`;Fe.tableId=Xn,Fe.state={isGroup:En,resizeState:On,doLayout:Rn,debouncedUpdateLayout:Wn};const er=computed(()=>xe.sumText||$e("el.table.sumText")),rr=computed(()=>xe.emptyText||$e("el.table.emptyText"));return useKeyRender(Fe),{ns:Ie,layout:qe,store:Ue,handleHeaderFooterMousewheel:An,handleMouseLeave:Tn,tableId:Xn,tableSize:$n,isHidden:Cn,isEmpty:At,renderExpanded:Sn,resizeProxyVisible:Mn,resizeState:On,isGroup:En,bodyWidth:In,tableBodyStyles:Bn,emptyBlockStyle:Pn,debouncedUpdateLayout:Wn,handleFixedMousewheel:Nn,setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,doLayout:Rn,sort:kn,t:$e,setDragVisible:xn,context:Fe,computedSumText:er,computedEmptyText:rr,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn,scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}}}),_hoisted_1$g=["data-prefix"],_hoisted_2$a={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$3(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("hColgroup"),Dt=resolveComponent("table-header"),Lt=resolveComponent("table-body"),jt=resolveComponent("table-footer"),hn=resolveComponent("el-scrollbar"),vn=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[xe.ns.m("fit")]:xe.fit,[xe.ns.m("striped")]:xe.stripe,[xe.ns.m("border")]:xe.border||xe.isGroup,[xe.ns.m("hidden")]:xe.isHidden,[xe.ns.m("group")]:xe.isGroup,[xe.ns.m("fluid-height")]:xe.maxHeight,[xe.ns.m("scrollable-x")]:xe.layout.scrollX.value,[xe.ns.m("scrollable-y")]:xe.layout.scrollY.value,[xe.ns.m("enable-row-hover")]:!xe.store.states.isComplex.value,[xe.ns.m("enable-row-transition")]:(xe.store.states.data.value||[]).length!==0&&(xe.store.states.data.value||[]).length<100,"has-footer":xe.showSummary},xe.ns.m(xe.tableSize),xe.className,xe.ns.b(),xe.ns.m(`layout-${xe.tableLayout}`)]),style:normalizeStyle$1(xe.style),"data-prefix":xe.ns.namespace.value,onMouseleave:$e[0]||($e[0]=(...bn)=>xe.handleMouseLeave&&xe.handleMouseLeave(...bn))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("inner-wrapper")),style:normalizeStyle$1(xe.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$a,[renderSlot(xe.$slots,"default")],512),xe.showHeader&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(xe.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(xe.ns.e("header")),style:normalizeStyle$1(xe.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(Dt,{ref:"tableHeaderRef",border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(xe.ns.e("body-wrapper"))},[createVNode$1(hn,{ref:"scrollBarRef","view-style":xe.scrollbarViewStyle,"wrap-style":xe.scrollbarStyle,always:xe.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(xe.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:xe.bodyWidth,tableLayout:xe.tableLayout})},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),xe.showHeader&&xe.tableLayout==="auto"?(openBlock(),createBlock(Dt,{key:0,ref:"tableHeaderRef",class:normalizeClass(xe.ns.e("body-header")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode$1(Lt,{context:xe.context,highlight:xe.highlightCurrentRow,"row-class-name":xe.rowClassName,"tooltip-effect":xe.tooltipEffect,"tooltip-options":xe.tooltipOptions,"row-style":xe.rowStyle,store:xe.store,stripe:xe.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),xe.showSummary&&xe.tableLayout==="auto"?(openBlock(),createBlock(jt,{key:1,class:normalizeClass(xe.ns.e("body-footer")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):createCommentVNode("v-if",!0)],6),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(xe.emptyBlockStyle),class:normalizeClass(xe.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},[renderSlot(xe.$slots,"empty",{},()=>[createTextVNode(toDisplayString(xe.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),xe.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(xe.ns.e("append-wrapper"))},[renderSlot(xe.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),xe.showSummary&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(xe.ns.e("footer-wrapper"))},[createBaseVNode("table",{class:normalizeClass(xe.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1(xe.tableBodyStyles)},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(jt,{border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[vShow,!xe.isEmpty],[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),xe.border||xe.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(xe.ns.e("column-resize-proxy"))},null,2),[[vShow,xe.resizeProxyVisible]])],46,_hoisted_1$g)}var Table=_export_sfc$1(_sfc_main$A,[["render",_sfc_render$3],["__file","table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},getDefaultClassName=xe=>defaultClassNames[xe]||"",cellForced={selection:{renderHeader({store:xe,column:$e}){function Ie(){return xe.states.data.value&&xe.states.data.value.length===0}return h$5(ElCheckbox,{disabled:Ie(),size:xe.states.tableSize.value,indeterminate:xe.states.selection.value.length>0&&!xe.states.isAllSelected.value,"onUpdate:modelValue":xe.toggleAllSelection,modelValue:xe.states.isAllSelected.value,ariaLabel:$e.label})},renderCell({row:xe,column:$e,store:Ie,$index:Fe}){return h$5(ElCheckbox,{disabled:$e.selectable?!$e.selectable.call(null,xe,Fe):!1,size:Ie.states.tableSize.value,onChange:()=>{Ie.commit("rowSelectedChanged",xe)},onClick:Ue=>Ue.stopPropagation(),modelValue:Ie.isSelected(xe),ariaLabel:$e.label})},sortable:!1,resizable:!1},index:{renderHeader({column:xe}){return xe.label||"#"},renderCell({column:xe,$index:$e}){let Ie=$e+1;const Fe=xe.index;return typeof Fe=="number"?Ie=$e+Fe:typeof Fe=="function"&&(Ie=Fe($e)),h$5("div",{},[Ie])},sortable:!1},expand:{renderHeader({column:xe}){return xe.label||""},renderCell({row:xe,store:$e,expanded:Ie}){const{ns:Fe}=$e,Ue=[Fe.e("expand-icon")];return Ie&&Ue.push(Fe.em("expand-icon","expanded")),h$5("div",{class:Ue,onClick:function(At){At.stopPropagation(),$e.toggleRowExpansion(xe)}},{default:()=>[h$5(ElIcon,null,{default:()=>[h$5(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:xe,column:$e,$index:Ie}){var Fe;const Ue=$e.property,qe=Ue&&getProp(xe,Ue).value;return $e&&$e.formatter?$e.formatter(xe,$e,qe,Ie):((Fe=qe==null?void 0:qe.toString)==null?void 0:Fe.call(qe))||""}function treeCellPrefix({row:xe,treeNode:$e,store:Ie},Fe=!1){const{ns:Ue}=Ie;if(!$e)return Fe?[h$5("span",{class:Ue.e("placeholder")})]:null;const qe=[],At=function(Dt){Dt.stopPropagation(),!$e.loading&&Ie.loadOrToggle(xe)};if($e.indent&&qe.push(h$5("span",{class:Ue.e("indent"),style:{"padding-left":`${$e.indent}px`}})),typeof $e.expanded=="boolean"&&!$e.noLazyChildren){const Dt=[Ue.e("expand-icon"),$e.expanded?Ue.em("expand-icon","expanded"):""];let Lt=arrow_right_default;$e.loading&&(Lt=loading_default),qe.push(h$5("div",{class:Dt,onClick:At},{default:()=>[h$5(ElIcon,{class:{[Ue.is("loading")]:$e.loading}},{default:()=>[h$5(Lt)]})]}))}else qe.push(h$5("span",{class:Ue.e("placeholder")}));return qe}function getAllAliases(xe,$e){return xe.reduce((Ie,Fe)=>(Ie[Fe]=Fe,Ie),$e)}function useWatcher(xe,$e){const Ie=getCurrentInstance();return{registerComplexWatchers:()=>{const qe=["fixed"],At={realWidth:"width",realMinWidth:"minWidth"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{let vn=hn;jt==="width"&&Lt==="realWidth"&&(vn=parseWidth(hn)),jt==="minWidth"&&Lt==="realMinWidth"&&(vn=parseMinWidth(hn)),Ie.columnConfig.value[jt]=vn,Ie.columnConfig.value[Lt]=vn;const bn=jt==="fixed";xe.value.store.scheduleLayout(bn)})})},registerNormalWatchers:()=>{const qe=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],At={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{Ie.columnConfig.value[Lt]=hn})})}}}function useRender(xe,$e,Ie){const Fe=getCurrentInstance(),Ue=ref(""),qe=ref(!1),At=ref(),Dt=ref(),Lt=useNamespace("table");watchEffect(()=>{At.value=xe.align?`is-${xe.align}`:null,At.value}),watchEffect(()=>{Dt.value=xe.headerAlign?`is-${xe.headerAlign}`:At.value,Dt.value});const jt=computed(()=>{let Tn=Fe.vnode.vParent||Fe.parent;for(;Tn&&!Tn.tableId&&!Tn.columnId;)Tn=Tn.vnode.vParent||Tn.parent;return Tn}),hn=computed(()=>{const{store:Tn}=Fe.parent;if(!Tn)return!1;const{treeData:An}=Tn.states,$n=An.value;return $n&&Object.keys($n).length>0}),vn=ref(parseWidth(xe.width)),bn=ref(parseMinWidth(xe.minWidth)),_n=Tn=>(vn.value&&(Tn.width=vn.value),bn.value&&(Tn.minWidth=bn.value),!vn.value&&bn.value&&(Tn.width=void 0),Tn.minWidth||(Tn.minWidth=80),Tn.realWidth=Number(Tn.width===void 0?Tn.minWidth:Tn.width),Tn),wn=Tn=>{const An=Tn.type,$n=cellForced[An]||{};Object.keys($n).forEach(Nn=>{const Mn=$n[Nn];Nn!=="className"&&Mn!==void 0&&(Tn[Nn]=Mn)});const Pn=getDefaultClassName(An);if(Pn){const Nn=`${unref(Lt.namespace)}-${Pn}`;Tn.className=Tn.className?`${Tn.className} ${Nn}`:Nn}return Tn},kn=Tn=>{Array.isArray(Tn)?Tn.forEach($n=>An($n)):An(Tn);function An($n){var Pn;((Pn=$n==null?void 0:$n.type)==null?void 0:Pn.name)==="ElTableColumn"&&($n.vParent=Fe)}};return{columnId:Ue,realAlign:At,isSubColumn:qe,realHeaderAlign:Dt,columnOrTableParent:jt,setColumnWidth:_n,setColumnForcedProps:wn,setColumnRenders:Tn=>{xe.renderHeader||Tn.type!=="selection"&&(Tn.renderHeader=$n=>(Fe.columnConfig.value.label,renderSlot($e,"header",$n,()=>[Tn.label])));let An=Tn.renderCell;return Tn.type==="expand"?(Tn.renderCell=$n=>h$5("div",{class:"cell"},[An($n)]),Ie.value.renderExpanded=$n=>$e.default?$e.default($n):$e.default):(An=An||defaultRenderCell,Tn.renderCell=$n=>{let Pn=null;if($e.default){const Bn=$e.default($n);Pn=Bn.some(Vn=>Vn.type!==Comment$1)?Bn:An($n)}else Pn=An($n);const{columns:Nn}=Ie.value.store.states,Mn=Nn.value.findIndex(Bn=>Bn.type==="default"),In=hn.value&&$n.cellIndex===Mn,On=treeCellPrefix($n,In),Rn={class:"cell",style:{}};return Tn.showOverflowTooltip&&(Rn.class=`${Rn.class} ${unref(Lt.namespace)}-tooltip`,Rn.style={width:`${($n.column.realWidth||Number($n.column.width))-1}px`}),kn(Pn),h$5("div",Rn,[On,Pn])}),Tn},getPropsData:(...Tn)=>Tn.reduce((An,$n)=>(Array.isArray($n)&&$n.forEach(Pn=>{An[Pn]=xe[Pn]}),An),{}),getColumnElIndex:(Tn,An)=>Array.prototype.indexOf.call(Tn,An),updateColumnOrder:()=>{Ie.value.store.commit("updateColumnOrder",Fe.columnConfig.value)}}}var defaultProps={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:xe=>xe.every($e=>["ascending","descending",null].includes($e))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=ref({}),Ue=computed(()=>{let En=Ie.parent;for(;En&&!En.tableId;)En=En.parent;return En}),{registerNormalWatchers:qe,registerComplexWatchers:At}=useWatcher(Ue,xe),{columnId:Dt,isSubColumn:Lt,realHeaderAlign:jt,columnOrTableParent:hn,setColumnWidth:vn,setColumnForcedProps:bn,setColumnRenders:_n,getPropsData:wn,getColumnElIndex:kn,realAlign:Cn,updateColumnOrder:Sn}=useRender(xe,$e,Ue),xn=hn.value;Dt.value=`${xn.tableId||xn.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{Lt.value=Ue.value!==xn;const En=xe.type||"default",Tn=xe.sortable===""?!0:xe.sortable,An=isUndefined(xe.showOverflowTooltip)?xn.props.showOverflowTooltip:xe.showOverflowTooltip,$n={...cellStarts[En],id:Dt.value,type:En,property:xe.prop||xe.property,align:Cn,headerAlign:jt,showOverflowTooltip:An,filterable:xe.filters||xe.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Tn,index:xe.index,rawColumnKey:Ie.vnode.key};let On=wn(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);On=mergeOptions($n,On),On=compose(_n,vn,bn)(On),Fe.value=On,qe(),At()}),onMounted(()=>{var En;const Tn=hn.value,An=Lt.value?Tn.vnode.el.children:(En=Tn.refs.hiddenColumns)==null?void 0:En.children,$n=()=>kn(An||[],Ie.vnode.el);Fe.value.getColumnIndex=$n,$n()>-1&&Ue.value.store.commit("insertColumn",Fe.value,Lt.value?Tn.columnConfig.value:null,Sn)}),onBeforeUnmount(()=>{Fe.value.getColumnIndex()>-1&&Ue.value.store.commit("removeColumn",Fe.value,Lt.value?xn.columnConfig.value:null,Sn)}),Ie.columnId=Dt.value,Ie.columnConfig=Fe},render(){var xe,$e,Ie;try{const Fe=($e=(xe=this.$slots).default)==null?void 0:$e.call(xe,{row:{},column:{},$index:-1}),Ue=[];if(Array.isArray(Fe))for(const At of Fe)((Ie=At.type)==null?void 0:Ie.name)==="ElTableColumn"||At.shapeFlag&2?Ue.push(At):At.type===Fragment&&Array.isArray(At.children)&&At.children.forEach(Dt=>{(Dt==null?void 0:Dt.patchFlag)!==1024&&!isString$4(Dt==null?void 0:Dt.children)&&Ue.push(Dt)});return h$5("div",Ue)}catch{return h$5("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(xe=>(xe.ASC="asc",xe.DESC="desc",xe))(SortOrder||{}),Alignment=(xe=>(xe.CENTER="center",xe.RIGHT="right",xe))(Alignment||{}),FixedDir=(xe=>(xe.LEFT="left",xe.RIGHT="right",xe))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(xe,$e,Ie)=>{var Fe;const Ue={flexGrow:0,flexShrink:0,...Ie?{}:{flexGrow:xe.flexGrow||0,flexShrink:xe.flexShrink||1}};Ie||(Ue.flexShrink=1);const qe={...(Fe=xe.style)!=null?Fe:{},...Ue,flexBasis:"auto",width:xe.width};return $e||(xe.maxWidth&&(qe.maxWidth=xe.maxWidth),xe.minWidth&&(qe.minWidth=xe.minWidth)),qe};function useColumns(xe,$e,Ie){const Fe=computed(()=>unref($e).filter(kn=>!kn.hidden)),Ue=computed(()=>unref(Fe).filter(kn=>kn.fixed==="left"||kn.fixed===!0)),qe=computed(()=>unref(Fe).filter(kn=>kn.fixed==="right")),At=computed(()=>unref(Fe).filter(kn=>!kn.fixed)),Dt=computed(()=>{const kn=[];return unref(Ue).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),unref(At).forEach(Cn=>{kn.push(Cn)}),unref(qe).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),kn}),Lt=computed(()=>unref(Ue).length||unref(qe).length),jt=computed(()=>unref($e).reduce((Cn,Sn)=>(Cn[Sn.key]=calcColumnStyle(Sn,unref(Ie),xe.fixed),Cn),{})),hn=computed(()=>unref(Fe).reduce((kn,Cn)=>kn+Cn.width,0)),vn=kn=>unref($e).find(Cn=>Cn.key===kn),bn=kn=>unref(jt)[kn],_n=(kn,Cn)=>{kn.width=Cn};function wn(kn){var Cn;const{key:Sn}=kn.currentTarget.dataset;if(!Sn)return;const{sortState:xn,sortBy:En}=xe;let Tn=SortOrder.ASC;isObject$8(xn)?Tn=oppositeOrderMap[xn[Sn]]:Tn=oppositeOrderMap[En.order],(Cn=xe.onColumnSort)==null||Cn.call(xe,{column:vn(Sn),key:Sn,order:Tn})}return{columns:$e,columnsStyles:jt,columnsTotalWidth:hn,fixedColumnsOnLeft:Ue,fixedColumnsOnRight:qe,hasFixedColumns:Lt,mainColumns:Dt,normalColumns:At,visibleColumns:Fe,getColumn:vn,getColumnStyle:bn,updateColumnWidth:_n,onColumnSorted:wn}}const useScrollbar=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Ue})=>{const qe=ref({scrollLeft:0,scrollTop:0});function At(_n){var wn,kn,Cn;const{scrollTop:Sn}=_n;(wn=$e.value)==null||wn.scrollTo(_n),(kn=Ie.value)==null||kn.scrollToTop(Sn),(Cn=Fe.value)==null||Cn.scrollToTop(Sn)}function Dt(_n){qe.value=_n,At(_n)}function Lt(_n){qe.value.scrollTop=_n,At(unref(qe))}function jt(_n){var wn,kn;qe.value.scrollLeft=_n,(kn=(wn=$e.value)==null?void 0:wn.scrollTo)==null||kn.call(wn,unref(qe))}function hn(_n){var wn;Dt(_n),(wn=xe.onScroll)==null||wn.call(xe,_n)}function vn({scrollTop:_n}){const{scrollTop:wn}=unref(qe);_n!==wn&&Lt(_n)}function bn(_n,wn="auto"){var kn;(kn=$e.value)==null||kn.scrollToRow(_n,wn)}return watch(()=>unref(qe).scrollTop,(_n,wn)=>{_n>wn&&Ue()}),{scrollPos:qe,scrollTo:Dt,scrollToLeft:jt,scrollToTop:Lt,scrollToRow:bn,onScroll:hn,onVerticalScroll:vn}},useRow=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Ue,ns:qe,isScrolling:At})=>{const Dt=getCurrentInstance(),{emit:Lt}=Dt,jt=shallowRef(!1),hn=ref(xe.defaultExpandedRowKeys||[]),vn=ref(-1),bn=shallowRef(null),_n=ref({}),wn=ref({}),kn=shallowRef({}),Cn=shallowRef({}),Sn=shallowRef({}),xn=computed(()=>isNumber$1(xe.estimatedRowHeight));function En(In){var On;(On=xe.onRowsRendered)==null||On.call(xe,In),In.rowCacheEnd>unref(vn)&&(vn.value=In.rowCacheEnd)}function Tn({hovered:In,rowKey:On}){if(At.value)return;Ue.vnode.el.querySelectorAll(`[rowkey=${On}]`).forEach(Vn=>{In?Vn.classList.add(qe.is("hovered")):Vn.classList.remove(qe.is("hovered"))})}function An({expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}){var Vn,Ln;const Dn=[...unref(hn)],Hn=Dn.indexOf(Bn);In?Hn===-1&&Dn.push(Bn):Hn>-1&&Dn.splice(Hn,1),hn.value=Dn,Lt("update:expandedRowKeys",Dn),(Vn=xe.onRowExpand)==null||Vn.call(xe,{expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}),(Ln=xe.onExpandedRowsChange)==null||Ln.call(xe,Dn)}const $n=debounce(()=>{var In,On,Rn,Bn;jt.value=!0,_n.value={...unref(_n),...unref(wn)},Pn(unref(bn),!1),wn.value={},bn.value=null,(In=$e.value)==null||In.forceUpdate(),(On=Ie.value)==null||On.forceUpdate(),(Rn=Fe.value)==null||Rn.forceUpdate(),(Bn=Dt.proxy)==null||Bn.$forceUpdate(),jt.value=!1},0);function Pn(In,On=!1){unref(xn)&&[$e,Ie,Fe].forEach(Rn=>{const Bn=unref(Rn);Bn&&Bn.resetAfterRowIndex(In,On)})}function Nn(In,On,Rn){const Bn=unref(bn);(Bn===null||Bn>Rn)&&(bn.value=Rn),wn.value[In]=On}function Mn({rowKey:In,height:On,rowIndex:Rn},Bn){Bn?Bn===FixedDir.RIGHT?Sn.value[In]=On:kn.value[In]=On:Cn.value[In]=On;const Vn=Math.max(...[kn,Sn,Cn].map(Ln=>Ln.value[In]||0));unref(_n)[In]!==Vn&&(Nn(In,Vn,Rn),$n())}return{expandedRowKeys:hn,lastRenderedRowIndex:vn,isDynamic:xn,isResetting:jt,rowHeights:_n,resetAfterIndex:Pn,onRowExpanded:An,onRowHovered:Tn,onRowsRendered:En,onRowHeightChange:Mn}},useData=(xe,{expandedRowKeys:$e,lastRenderedRowIndex:Ie,resetAfterIndex:Fe})=>{const Ue=ref({}),qe=computed(()=>{const Dt={},{data:Lt,rowKey:jt}=xe,hn=unref($e);if(!hn||!hn.length)return Lt;const vn=[],bn=new Set;hn.forEach(wn=>bn.add(wn));let _n=Lt.slice();for(_n.forEach(wn=>Dt[wn[jt]]=0);_n.length>0;){const wn=_n.shift();vn.push(wn),bn.has(wn[jt])&&Array.isArray(wn.children)&&wn.children.length>0&&(_n=[...wn.children,..._n],wn.children.forEach(kn=>Dt[kn[jt]]=Dt[wn[jt]]+1))}return Ue.value=Dt,vn}),At=computed(()=>{const{data:Dt,expandColumnKey:Lt}=xe;return Lt?unref(qe):Dt});return watch(At,(Dt,Lt)=>{Dt!==Lt&&(Ie.value=-1,Fe(0,!0))}),{data:At,depthMap:Ue}},sumReducer=(xe,$e)=>xe+$e,sum$1=xe=>isArray$6(xe)?xe.reduce(sumReducer,0):xe,tryCall=(xe,$e,Ie={})=>isFunction$5(xe)?xe($e):xe??Ie,enforceUnit=xe=>(["width","maxWidth","minWidth","height"].forEach($e=>{xe[$e]=addUnit(xe[$e])}),xe),componentToSlot=xe=>isVNode(xe)?$e=>h$5(xe,$e):xe,useStyles=(xe,{columnsTotalWidth:$e,data:Ie,fixedColumnsOnLeft:Fe,fixedColumnsOnRight:Ue})=>{const qe=computed(()=>{const{fixed:En,width:Tn,vScrollbarSize:An}=xe,$n=Tn-An;return En?Math.max(Math.round(unref($e)),$n):$n}),At=computed(()=>unref(qe)+xe.vScrollbarSize),Dt=computed(()=>{const{height:En=0,maxHeight:Tn=0,footerHeight:An,hScrollbarSize:$n}=xe;if(Tn>0){const Pn=unref(wn),Nn=unref(Lt),In=unref(_n)+Pn+Nn+$n;return Math.min(In,Tn-An)}return En-An}),Lt=computed(()=>{const{rowHeight:En,estimatedRowHeight:Tn}=xe,An=unref(Ie);return isNumber$1(Tn)?An.length*Tn:An.length*En}),jt=computed(()=>{const{maxHeight:En}=xe,Tn=unref(Dt);if(isNumber$1(En)&&En>0)return Tn;const An=unref(Lt)+unref(_n)+unref(wn);return Math.min(Tn,An)}),hn=En=>En.width,vn=computed(()=>sum$1(unref(Fe).map(hn))),bn=computed(()=>sum$1(unref(Ue).map(hn))),_n=computed(()=>sum$1(xe.headerHeight)),wn=computed(()=>{var En;return(((En=xe.fixedData)==null?void 0:En.length)||0)*xe.rowHeight}),kn=computed(()=>unref(Dt)-unref(_n)-unref(wn)),Cn=computed(()=>{const{style:En={},height:Tn,width:An}=xe;return enforceUnit({...En,height:Tn,width:An})}),Sn=computed(()=>enforceUnit({height:xe.footerHeight})),xn=computed(()=>({top:addUnit(unref(_n)),bottom:addUnit(xe.footerHeight),width:addUnit(xe.width)}));return{bodyWidth:qe,fixedTableHeight:jt,mainTableHeight:Dt,leftTableWidth:vn,rightTableWidth:bn,headerWidth:At,rowsHeight:Lt,windowHeight:kn,footerHeight:Sn,emptyStyle:xn,rootStyle:Cn,headerHeight:_n}},useAutoResize=xe=>{const $e=ref(),Ie=ref(0),Fe=ref(0);let Ue;return onMounted(()=>{Ue=useResizeObserver($e,([qe])=>{const{width:At,height:Dt}=qe.contentRect,{paddingLeft:Lt,paddingRight:jt,paddingTop:hn,paddingBottom:vn}=getComputedStyle(qe.target),bn=Number.parseInt(Lt)||0,_n=Number.parseInt(jt)||0,wn=Number.parseInt(hn)||0,kn=Number.parseInt(vn)||0;Ie.value=At-bn-_n,Fe.value=Dt-wn-kn}).stop}),onBeforeUnmount(()=>{Ue==null||Ue()}),watch([Ie,Fe],([qe,At])=>{var Dt;(Dt=xe.onResize)==null||Dt.call(xe,{width:qe,height:At})}),{sizer:$e,width:Ie,height:Fe}};function useTable(xe){const $e=ref(),Ie=ref(),Fe=ref(),{columns:Ue,columnsStyles:qe,columnsTotalWidth:At,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,hasFixedColumns:jt,mainColumns:hn,onColumnSorted:vn}=useColumns(xe,toRef(xe,"columns"),toRef(xe,"fixed")),{scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn,scrollPos:xn}=useScrollbar(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Kn}),En=useNamespace("table-v2"),Tn=getCurrentInstance(),An=shallowRef(!1),{expandedRowKeys:$n,lastRenderedRowIndex:Pn,isDynamic:Nn,isResetting:Mn,rowHeights:In,resetAfterIndex:On,onRowExpanded:Rn,onRowHeightChange:Bn,onRowHovered:Vn,onRowsRendered:Ln}=useRow(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Tn,ns:En,isScrolling:An}),{data:Dn,depthMap:Hn}=useData(xe,{expandedRowKeys:$n,lastRenderedRowIndex:Pn,resetAfterIndex:On}),{bodyWidth:Fn,fixedTableHeight:zn,mainTableHeight:jn,leftTableWidth:Gn,rightTableWidth:Wn,headerWidth:Xn,rowsHeight:er,windowHeight:rr,footerHeight:Jn,emptyStyle:Yn,rootStyle:qn,headerHeight:ar}=useStyles(xe,{columnsTotalWidth:At,data:Dn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt}),tr=ref(),or=computed(()=>{const Zn=unref(Dn).length===0;return isArray$6(xe.fixedData)?xe.fixedData.length===0&&Zn:Zn});function sr(Zn){const{estimatedRowHeight:nr,rowHeight:lr,rowKey:ir}=xe;return nr?unref(In)[unref(Dn)[Zn][ir]]||nr:lr}function Kn(){const{onEndReached:Zn}=xe;if(!Zn)return;const{scrollTop:nr}=unref(xn),lr=unref(er),ir=unref(rr),kr=lr-(nr+ir)+xe.hScrollbarSize;unref(Pn)>=0&&lr===nr+unref(jn)-unref(ar)&&Zn(kr)}return watch(()=>xe.expandedRowKeys,Zn=>$n.value=Zn,{deep:!0}),{columns:Ue,containerRef:tr,mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,isDynamic:Nn,isResetting:Mn,isScrolling:An,hasFixedColumns:jt,columnsStyles:qe,columnsTotalWidth:At,data:Dn,expandedRowKeys:$n,depthMap:Hn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,mainColumns:hn,bodyWidth:Fn,emptyStyle:Yn,rootStyle:qn,headerWidth:Xn,footerHeight:Jn,mainTableHeight:jn,fixedTableHeight:zn,leftTableWidth:Gn,rightTableWidth:Wn,showEmpty:or,getRowHeight:sr,onColumnSorted:vn,onRowHovered:Vn,onRowExpanded:Rn,onRowsRendered:Ln,onRowHeightChange:Bn,scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn}}const TableV2InjectionKey=Symbol("tableV2"),classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),TableV2Cell=(xe,{slots:$e})=>{var Ie;const{cellData:Fe,style:Ue}=xe,qe=((Ie=Fe==null?void 0:Fe.toString)==null?void 0:Ie.call(Fe))||"",At=renderSlot($e,"default",xe,()=>[qe]);return createVNode$1("div",{class:xe.class,title:qe,style:Ue},[At])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(xe,{slots:$e})=>renderSlot($e,"default",xe,()=>{var Ie,Fe;return[createVNode$1("div",{class:xe.class,title:(Ie=xe.column)==null?void 0:Ie.title},[(Fe=xe.column)==null?void 0:Fe.title])]});HeaderCell.displayName="ElTableV2HeaderCell";HeaderCell.inheritAttrs=!1;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup(xe,{slots:$e}){return()=>{const{columns:Ie,columnsStyles:Fe,headerIndex:Ue,style:qe}=xe;let At=Ie.map((Dt,Lt)=>$e.cell({columns:Ie,column:Dt,columnIndex:Lt,headerIndex:Ue,style:Fe[Dt.key]}));return $e.header&&(At=$e.header({cells:At.map(Dt=>isArray$6(Dt)&&Dt.length===1?Dt[0]:Dt),columns:Ie,headerIndex:Ue})),createVNode$1("div",{class:xe.class,style:qe,role:"row"},[At])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),Ue=ref(),qe=computed(()=>enforceUnit({width:xe.width,height:xe.height})),At=computed(()=>enforceUnit({width:xe.rowWidth,height:xe.height})),Dt=computed(()=>castArray$1(unref(xe.headerHeight))),Lt=vn=>{const bn=unref(Ue);nextTick(()=>{bn!=null&&bn.scroll&&bn.scroll({left:vn})})},jt=()=>{const vn=Fe.e("fixed-header-row"),{columns:bn,fixedHeaderData:_n,rowHeight:wn}=xe;return _n==null?void 0:_n.map((kn,Cn)=>{var Sn;const xn=enforceUnit({height:wn,width:"100%"});return(Sn=$e.fixed)==null?void 0:Sn.call($e,{class:vn,columns:bn,rowData:kn,rowIndex:-(Cn+1),style:xn})})},hn=()=>{const vn=Fe.e("dynamic-header-row"),{columns:bn}=xe;return unref(Dt).map((_n,wn)=>{var kn;const Cn=enforceUnit({width:"100%",height:_n});return(kn=$e.dynamic)==null?void 0:kn.call($e,{class:vn,columns:bn,headerIndex:wn,style:Cn})})};return Ie({scrollToLeft:Lt}),()=>{if(!(xe.height<=0))return createVNode$1("div",{ref:Ue,class:xe.class,style:unref(qe),role:"rowgroup"},[createVNode$1("div",{style:unref(At),class:Fe.e("header")},[hn(),jt()])])}}}),useTableRow=xe=>{const{isScrolling:$e}=inject(TableV2InjectionKey),Ie=ref(!1),Fe=ref(),Ue=computed(()=>isNumber$1(xe.estimatedRowHeight)&&xe.rowIndex>=0),qe=(Lt=!1)=>{const jt=unref(Fe);if(!jt)return;const{columns:hn,onRowHeightChange:vn,rowKey:bn,rowIndex:_n,style:wn}=xe,{height:kn}=jt.getBoundingClientRect();Ie.value=!0,nextTick(()=>{if(Lt||kn!==Number.parseInt(wn.height)){const Cn=hn[0],Sn=(Cn==null?void 0:Cn.placeholderSign)===placeholderSign;vn==null||vn({rowKey:bn,height:kn,rowIndex:_n},Cn&&!Sn&&Cn.fixed)}})},At=computed(()=>{const{rowData:Lt,rowIndex:jt,rowKey:hn,onRowHover:vn}=xe,bn=xe.rowEventHandlers||{},_n={};return Object.entries(bn).forEach(([wn,kn])=>{isFunction$5(kn)&&(_n[wn]=Cn=>{kn({event:Cn,rowData:Lt,rowIndex:jt,rowKey:hn})})}),vn&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:wn,hovered:kn})=>{const Cn=_n[wn];_n[wn]=Sn=>{vn({event:Sn,hovered:kn,rowData:Lt,rowIndex:jt,rowKey:hn}),Cn==null||Cn(Sn)}}),_n}),Dt=Lt=>{const{onRowExpand:jt,rowData:hn,rowIndex:vn,rowKey:bn}=xe;jt==null||jt({expanded:Lt,rowData:hn,rowIndex:vn,rowKey:bn})};return onMounted(()=>{unref(Ue)&&qe(!0)}),{isScrolling:$e,measurable:Ue,measured:Ie,rowRef:Fe,eventHandlers:At,onExpand:Dt}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(xe,{expose:$e,slots:Ie,attrs:Fe}){const{eventHandlers:Ue,isScrolling:qe,measurable:At,measured:Dt,rowRef:Lt,onExpand:jt}=useTableRow(xe);return $e({onExpand:jt}),()=>{const{columns:hn,columnsStyles:vn,expandColumnKey:bn,depth:_n,rowData:wn,rowIndex:kn,style:Cn}=xe;let Sn=hn.map((xn,En)=>{const Tn=isArray$6(wn.children)&&wn.children.length>0&&xn.key===bn;return Ie.cell({column:xn,columns:hn,columnIndex:En,depth:_n,style:vn[xn.key],rowData:wn,rowIndex:kn,isScrolling:unref(qe),expandIconProps:Tn?{rowData:wn,rowIndex:kn,onExpand:jt}:void 0})});if(Ie.row&&(Sn=Ie.row({cells:Sn.map(xn=>isArray$6(xn)&&xn.length===1?xn[0]:xn),style:Cn,columns:hn,depth:_n,rowData:wn,rowIndex:kn,isScrolling:unref(qe)})),unref(At)){const{height:xn,...En}=Cn||{},Tn=unref(Dt);return createVNode$1("div",mergeProps({ref:Lt,class:xe.class,style:Tn?Cn:En,role:"row"},Fe,unref(Ue)),[Sn])}return createVNode$1("div",mergeProps(Fe,{ref:Lt,class:xe.class,style:Cn,role:"row"},unref(Ue)),[Sn])}}}),SortIcon=xe=>{const{sortOrder:$e}=xe;return createVNode$1(ElIcon,{size:14,class:xe.class},{default:()=>[$e===SortOrder.ASC?createVNode$1(sort_up_default,null,null):createVNode$1(sort_down_default,null,null)]})},ExpandIcon=xe=>{const{expanded:$e,expandable:Ie,onExpand:Fe,style:Ue,size:qe}=xe,At={onClick:Ie?()=>Fe(!$e):void 0,class:xe.class};return createVNode$1(ElIcon,mergeProps(At,{size:qe,style:Ue}),{default:()=>[createVNode$1(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=xe=>{const $e=ref(),Ie=ref(),Fe=computed(()=>{const{data:kn,rowHeight:Cn,estimatedRowHeight:Sn}=xe;if(!Sn)return kn.length*Cn}),Ue=computed(()=>{const{fixedData:kn,rowHeight:Cn}=xe;return((kn==null?void 0:kn.length)||0)*Cn}),qe=computed(()=>sum$1(xe.headerHeight)),At=computed(()=>{const{height:kn}=xe;return Math.max(0,kn-unref(qe)-unref(Ue))}),Dt=computed(()=>unref(qe)+unref(Ue)>0),Lt=({data:kn,rowIndex:Cn})=>kn[Cn][xe.rowKey];function jt({rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn}){var En;(En=xe.onRowsRendered)==null||En.call(xe,{rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn})}function hn(kn,Cn){var Sn;(Sn=Ie.value)==null||Sn.resetAfterRowIndex(kn,Cn)}function vn(kn,Cn){const Sn=unref($e),xn=unref(Ie);isObject$8(kn)?(Sn==null||Sn.scrollToLeft(kn.scrollLeft),xn==null||xn.scrollTo(kn)):(Sn==null||Sn.scrollToLeft(kn),xn==null||xn.scrollTo({scrollLeft:kn,scrollTop:Cn}))}function bn(kn){var Cn;(Cn=unref(Ie))==null||Cn.scrollTo({scrollTop:kn})}function _n(kn,Cn){var Sn;(Sn=unref(Ie))==null||Sn.scrollToItem(kn,1,Cn)}function wn(){var kn,Cn;(kn=unref(Ie))==null||kn.$forceUpdate(),(Cn=unref($e))==null||Cn.$forceUpdate()}return{bodyRef:Ie,forceUpdate:wn,fixedRowHeight:Ue,gridHeight:At,hasHeader:Dt,headerHeight:qe,headerRef:$e,totalHeight:Fe,itemKey:Lt,onItemRendered:jt,resetAfterRowIndex:hn,scrollTo:vn,scrollToTop:bn,scrollToRow:_n}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(xe,{slots:$e,expose:Ie}){const{ns:Fe}=inject(TableV2InjectionKey),{bodyRef:Ue,fixedRowHeight:qe,gridHeight:At,hasHeader:Dt,headerRef:Lt,headerHeight:jt,totalHeight:hn,forceUpdate:vn,itemKey:bn,onItemRendered:_n,resetAfterRowIndex:wn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn}=useTableGrid(xe);Ie({forceUpdate:vn,totalHeight:hn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn,resetAfterRowIndex:wn});const xn=()=>xe.bodyWidth;return()=>{const{cache:En,columns:Tn,data:An,fixedData:$n,useIsScrolling:Pn,scrollbarAlwaysOn:Nn,scrollbarEndGap:Mn,scrollbarStartGap:In,style:On,rowHeight:Rn,bodyWidth:Bn,estimatedRowHeight:Vn,headerWidth:Ln,height:Dn,width:Hn,getRowHeight:Fn,onScroll:zn}=xe,jn=isNumber$1(Vn),Gn=jn?DynamicSizeGrid:FixedSizeGrid,Wn=unref(jt);return createVNode$1("div",{role:"table",class:[Fe.e("table"),xe.class],style:On},[createVNode$1(Gn,{ref:Ue,data:An,useIsScrolling:Pn,itemKey:bn,columnCache:0,columnWidth:jn?xn:Bn,totalColumn:1,totalRow:An.length,rowCache:En,rowHeight:jn?Fn:Rn,width:Hn,height:unref(At),class:Fe.e("body"),role:"rowgroup",scrollbarStartGap:In,scrollbarEndGap:Mn,scrollbarAlwaysOn:Nn,onScroll:zn,onItemRendered:_n,perfMode:!1},{default:Xn=>{var er;const rr=An[Xn.rowIndex];return(er=$e.row)==null?void 0:er.call($e,{...Xn,columns:Tn,rowData:rr})}}),unref(Dt)&&createVNode$1(TableV2Header,{ref:Lt,class:Fe.e("header-wrapper"),columns:Tn,headerData:An,headerHeight:xe.headerHeight,fixedHeaderData:$n,rowWidth:Ln,rowHeight:Rn,width:Hn,height:Math.min(Wn+unref(qe),Dn)},{dynamic:$e.header,fixed:$e.row})])}}});function _isSlot$5(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const MainTable=(xe,{slots:$e})=>{const{mainTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$5($e)?$e:{default:()=>[$e]})};function _isSlot$4(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable$1=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{leftTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$4($e)?$e:{default:()=>[$e]})};function _isSlot$3(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{rightTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$3($e)?$e:{default:()=>[$e]})};function _isSlot$2(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const RowRenderer=(xe,{slots:$e})=>{const{columns:Ie,columnsStyles:Fe,depthMap:Ue,expandColumnKey:qe,expandedRowKeys:At,estimatedRowHeight:Dt,hasFixedColumns:Lt,rowData:jt,rowIndex:hn,style:vn,isScrolling:bn,rowProps:_n,rowClass:wn,rowKey:kn,rowEventHandlers:Cn,ns:Sn,onRowHovered:xn,onRowExpanded:En}=xe,Tn=tryCall(wn,{columns:Ie,rowData:jt,rowIndex:hn},""),An=tryCall(_n,{columns:Ie,rowData:jt,rowIndex:hn}),$n=jt[kn],Pn=Ue[$n]||0,Nn=!!qe,Mn=hn<0,In=[Sn.e("row"),Tn,{[Sn.e(`row-depth-${Pn}`)]:Nn&&hn>=0,[Sn.is("expanded")]:Nn&&At.includes($n),[Sn.is("fixed")]:!Pn&&Mn,[Sn.is("customized")]:!!$e.row}],On=Lt?xn:void 0,Rn={...An,columns:Ie,columnsStyles:Fe,class:In,depth:Pn,expandColumnKey:qe,estimatedRowHeight:Mn?void 0:Dt,isScrolling:bn,rowIndex:hn,rowData:jt,rowKey:$n,rowEventHandlers:Cn,style:vn};return createVNode$1(TableV2Row,mergeProps(Rn,{onRowExpand:En,onMouseenter:Ln=>{On==null||On({hovered:!0,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},onMouseleave:Ln=>{On==null||On({hovered:!1,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},rowkey:$n}),_isSlot$2($e)?$e:{default:()=>[$e]})},CellRenderer=({columns:xe,column:$e,columnIndex:Ie,depth:Fe,expandIconProps:Ue,isScrolling:qe,rowData:At,rowIndex:Dt,style:Lt,expandedRowKeys:jt,ns:hn,cellProps:vn,expandColumnKey:bn,indentSize:_n,iconSize:wn,rowKey:kn},{slots:Cn})=>{const Sn=enforceUnit(Lt);if($e.placeholderSign===placeholderSign)return createVNode$1("div",{class:hn.em("row-cell","placeholder"),style:Sn},null);const{cellRenderer:xn,dataKey:En,dataGetter:Tn}=$e,An=isFunction$5(Tn)?Tn({columns:xe,column:$e,columnIndex:Ie,rowData:At,rowIndex:Dt}):get$1(At,En??""),$n=tryCall(vn,{cellData:An,columns:xe,column:$e,columnIndex:Ie,rowIndex:Dt,rowData:At}),Pn={class:hn.e("cell-text"),columns:xe,column:$e,columnIndex:Ie,cellData:An,isScrolling:qe,rowData:At,rowIndex:Dt},Nn=componentToSlot(xn),Mn=Nn?Nn(Pn):renderSlot(Cn,"default",Pn,()=>[createVNode$1(TableV2Cell,Pn,null)]),In=[hn.e("row-cell"),$e.class,$e.align===Alignment.CENTER&&hn.is("align-center"),$e.align===Alignment.RIGHT&&hn.is("align-right")],On=Dt>=0&&bn&&$e.key===bn,Rn=Dt>=0&&jt.includes(At[kn]);let Bn;const Vn=`margin-inline-start: ${Fe*_n}px;`;return On&&(isObject$8(Ue)?Bn=createVNode$1(ExpandIcon,mergeProps(Ue,{class:[hn.e("expand-icon"),hn.is("expanded",Rn)],size:wn,expanded:Rn,style:Vn,expandable:!0}),null):Bn=createVNode$1("div",{style:[Vn,`width: ${wn}px; height: ${wn}px;`].join(" ")},null)),createVNode$1("div",mergeProps({class:In,style:Sn},$n,{role:"cell"}),[Bn,Mn])};CellRenderer.inheritAttrs=!1;function _isSlot$1(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const HeaderRenderer=({columns:xe,columnsStyles:$e,headerIndex:Ie,style:Fe,headerClass:Ue,headerProps:qe,ns:At},{slots:Dt})=>{const Lt={columns:xe,headerIndex:Ie},jt=[At.e("header-row"),tryCall(Ue,Lt,""),{[At.is("customized")]:!!Dt.header}],hn={...tryCall(qe,Lt),columnsStyles:$e,class:jt,columns:xe,headerIndex:Ie,style:Fe};return createVNode$1(TableV2HeaderRow,hn,_isSlot$1(Dt)?Dt:{default:()=>[Dt]})},HeaderCellRenderer=(xe,{slots:$e})=>{const{column:Ie,ns:Fe,style:Ue,onColumnSorted:qe}=xe,At=enforceUnit(Ue);if(Ie.placeholderSign===placeholderSign)return createVNode$1("div",{class:Fe.em("header-row-cell","placeholder"),style:At},null);const{headerCellRenderer:Dt,headerClass:Lt,sortable:jt}=Ie,hn={...xe,class:Fe.e("header-cell-text")},vn=componentToSlot(Dt),bn=vn?vn(hn):renderSlot($e,"default",hn,()=>[createVNode$1(HeaderCell,hn,null)]),{sortBy:_n,sortState:wn,headerCellProps:kn}=xe;let Cn,Sn;if(wn){const Tn=wn[Ie.key];Cn=!!oppositeOrderMap[Tn],Sn=Cn?Tn:SortOrder.ASC}else Cn=Ie.key===_n.key,Sn=Cn?_n.order:SortOrder.ASC;const xn=[Fe.e("header-cell"),tryCall(Lt,xe,""),Ie.align===Alignment.CENTER&&Fe.is("align-center"),Ie.align===Alignment.RIGHT&&Fe.is("align-right"),jt&&Fe.is("sortable")],En={...tryCall(kn,xe),onClick:Ie.sortable?qe:void 0,class:xn,style:At,"data-key":Ie.key};return createVNode$1("div",mergeProps(En,{role:"columnheader"}),[bn,jt&&createVNode$1(SortIcon,{class:[Fe.e("sort-icon"),Cn&&Fe.is("sorting")],sortOrder:Sn},null)])},Footer$1=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Footer$1.displayName="ElTableV2Footer";const Footer=(xe,{slots:$e})=>{const Ie=renderSlot($e,"default",{},()=>[createVNode$1(ElEmpty,null,null)]);return createVNode$1("div",{class:xe.class,style:xe.style},[Ie])};Footer.displayName="ElTableV2Empty";const Overlay=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),{columnsStyles:Ue,fixedColumnsOnLeft:qe,fixedColumnsOnRight:At,mainColumns:Dt,mainTableHeight:Lt,fixedTableHeight:jt,leftTableWidth:hn,rightTableWidth:vn,data:bn,depthMap:_n,expandedRowKeys:wn,hasFixedColumns:kn,mainTableRef:Cn,leftTableRef:Sn,rightTableRef:xn,isDynamic:En,isResetting:Tn,isScrolling:An,bodyWidth:$n,emptyStyle:Pn,rootStyle:Nn,headerWidth:Mn,footerHeight:In,showEmpty:On,scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln,getRowHeight:Dn,onColumnSorted:Hn,onRowHeightChange:Fn,onRowHovered:zn,onRowExpanded:jn,onRowsRendered:Gn,onScroll:Wn,onVerticalScroll:Xn}=useTable(xe);return Ie({scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln}),provide(TableV2InjectionKey,{ns:Fe,isResetting:Tn,isScrolling:An}),()=>{const{cache:er,cellProps:rr,estimatedRowHeight:Jn,expandColumnKey:Yn,fixedData:qn,headerHeight:ar,headerClass:tr,headerProps:or,headerCellProps:sr,sortBy:Kn,sortState:Zn,rowHeight:nr,rowClass:lr,rowEventHandlers:ir,rowKey:kr,rowProps:Cr,scrollbarAlwaysOn:Er,indentSize:dr,iconSize:br,useIsScrolling:_r,vScrollbarSize:Pr,width:gr}=xe,xr=unref(bn),Rr={cache:er,class:Fe.e("main"),columns:unref(Dt),data:xr,fixedData:qn,estimatedRowHeight:Jn,bodyWidth:unref($n)+Pr,headerHeight:ar,headerWidth:unref(Mn),height:unref(Lt),mainTableRef:Cn,rowKey:kr,rowHeight:nr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:gr,getRowHeight:Dn,onRowsRendered:Gn,onScroll:Wn},Hr=unref(hn),Jr=unref(jt),Gr={cache:er,class:Fe.e("left"),columns:unref(qe),data:xr,estimatedRowHeight:Jn,leftTableRef:Sn,rowHeight:nr,bodyWidth:Hr,headerWidth:Hr,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:Hr,getRowHeight:Dn,onScroll:Xn},Br=unref(vn)+Pr,Tr={cache:er,class:Fe.e("right"),columns:unref(At),data:xr,estimatedRowHeight:Jn,rightTableRef:xn,rowHeight:nr,bodyWidth:Br,headerWidth:Br,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,width:Br,style:`--${unref(Fe.namespace)}-table-scrollbar-size: ${Pr}px`,useIsScrolling:_r,getRowHeight:Dn,onScroll:Xn},cr=unref(Ue),Sr={ns:Fe,depthMap:unref(_n),columnsStyles:cr,expandColumnKey:Yn,expandedRowKeys:unref(wn),estimatedRowHeight:Jn,hasFixedColumns:unref(kn),rowProps:Cr,rowClass:lr,rowKey:kr,rowEventHandlers:ir,onRowHovered:zn,onRowExpanded:jn,onRowHeightChange:Fn},Dr={cellProps:rr,expandColumnKey:Yn,indentSize:dr,iconSize:br,rowKey:kr,expandedRowKeys:unref(wn),ns:Fe},mr={ns:Fe,headerClass:tr,headerProps:or,columnsStyles:cr},Lr={ns:Fe,sortBy:Kn,sortState:Zn,headerCellProps:sr,onColumnSorted:Hn},zr={row:qr=>createVNode$1(RowRenderer,mergeProps(qr,Sr),{row:$e.row,cell:Ur=>{let uo;return $e.cell?createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),_isSlot(uo=$e.cell(Ur))?uo:{default:()=>[uo]}):createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),null)}}),header:qr=>createVNode$1(HeaderRenderer,mergeProps(qr,mr),{header:$e.header,cell:Ur=>{let uo;return $e["header-cell"]?createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),_isSlot(uo=$e["header-cell"](Ur))?uo:{default:()=>[uo]}):createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),null)}})},Vr=[xe.class,Fe.b(),Fe.e("root"),{[Fe.is("dynamic")]:unref(En)}],Kr={class:Fe.e("footer"),style:unref(In)};return createVNode$1("div",{class:Vr,style:unref(Nn)},[createVNode$1(MainTable,Rr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable$1,Gr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable,Tr,_isSlot(zr)?zr:{default:()=>[zr]}),$e.footer&&createVNode$1(Footer$1,Kr,{default:$e.footer}),unref(On)&&createVNode$1(Footer,{class:Fe.e("empty"),style:unref(Pn)},{default:$e.empty}),$e.overlay&&createVNode$1(Overlay,{class:Fe.e("overlay")},{default:$e.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(xe,{slots:$e}){const Ie=useNamespace("auto-resizer"),{height:Fe,width:Ue,sizer:qe}=useAutoResize(xe),At={width:"100%",height:"100%"};return()=>{var Dt;return createVNode$1("div",{ref:qe,class:Ie.b(),style:At},[(Dt=$e.default)==null?void 0:Dt.call($e,{height:Fe.value,width:Ue.value})])}}}),ElTableV2=withInstall(TableV2),ElAutoResizer=withInstall(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$s=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$z=defineComponent({...__default__$s,props:tabBarProps,setup(xe,{expose:$e}){const Ie=xe,Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$3,"");const qe=useNamespace("tabs"),At=ref(),Dt=ref(),Lt=()=>{let hn=0,vn=0;const bn=["top","bottom"].includes(Ue.props.tabPosition)?"width":"height",_n=bn==="width"?"x":"y",wn=_n==="x"?"left":"top";return Ie.tabs.every(kn=>{var Cn,Sn;const xn=(Sn=(Cn=Fe.parent)==null?void 0:Cn.refs)==null?void 0:Sn[`tab-${kn.uid}`];if(!xn)return!1;if(!kn.active)return!0;hn=xn[`offset${capitalize(wn)}`],vn=xn[`client${capitalize(bn)}`];const En=window.getComputedStyle(xn);return bn==="width"&&(Ie.tabs.length>1&&(vn-=Number.parseFloat(En.paddingLeft)+Number.parseFloat(En.paddingRight)),hn+=Number.parseFloat(En.paddingLeft)),!1}),{[bn]:`${vn}px`,transform:`translate${capitalize(_n)}(${hn}px)`}},jt=()=>Dt.value=Lt();return watch(()=>Ie.tabs,async()=>{await nextTick(),jt()},{immediate:!0}),useResizeObserver(At,()=>jt()),$e({ref:At,update:jt}),(hn,vn)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:At,class:normalizeClass([unref(qe).e("active-bar"),unref(qe).is(unref(Ue).props.tabPosition)]),style:normalizeStyle$1(Dt.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$z,[["__file","tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(xe,$e,Ie)=>Ie instanceof Event,tabRemove:(xe,$e)=>$e instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$2,"");const qe=useNamespace("tabs"),At=useDocumentVisibility(),Dt=useWindowFocus(),Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn=ref(!1),_n=ref(0),wn=ref(!1),kn=ref(!0),Cn=computed(()=>["top","bottom"].includes(Ue.props.tabPosition)?"width":"height"),Sn=computed(()=>({transform:`translate${Cn.value==="width"?"X":"Y"}(-${_n.value}px)`})),xn=()=>{if(!Lt.value)return;const Mn=Lt.value[`offset${capitalize(Cn.value)}`],In=_n.value;if(!In)return;const On=In>Mn?In-Mn:0;_n.value=On},En=()=>{if(!Lt.value||!jt.value)return;const Mn=jt.value[`offset${capitalize(Cn.value)}`],In=Lt.value[`offset${capitalize(Cn.value)}`],On=_n.value;if(Mn-On<=In)return;const Rn=Mn-On>In*2?On+In:Mn-In;_n.value=Rn},Tn=async()=>{const Mn=jt.value;if(!bn.value||!hn.value||!Lt.value||!Mn)return;await nextTick();const In=hn.value.querySelector(".is-active");if(!In)return;const On=Lt.value,Rn=["top","bottom"].includes(Ue.props.tabPosition),Bn=In.getBoundingClientRect(),Vn=On.getBoundingClientRect(),Ln=Rn?Mn.offsetWidth-Vn.width:Mn.offsetHeight-Vn.height,Dn=_n.value;let Hn=Dn;Rn?(Bn.leftVn.right&&(Hn=Dn+Bn.right-Vn.right)):(Bn.topVn.bottom&&(Hn=Dn+(Bn.bottom-Vn.bottom))),Hn=Math.max(Hn,0),_n.value=Math.min(Hn,Ln)},An=()=>{var Mn;if(!jt.value||!Lt.value)return;xe.stretch&&((Mn=vn.value)==null||Mn.update());const In=jt.value[`offset${capitalize(Cn.value)}`],On=Lt.value[`offset${capitalize(Cn.value)}`],Rn=_n.value;On0&&(_n.value=0))},$n=Mn=>{const In=Mn.code,{up:On,down:Rn,left:Bn,right:Vn}=EVENT_CODE;if(![On,Rn,Bn,Vn].includes(In))return;const Ln=Array.from(Mn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Dn=Ln.indexOf(Mn.target);let Hn;In===Bn||In===On?Dn===0?Hn=Ln.length-1:Hn=Dn-1:Dn{kn.value&&(wn.value=!0)},Nn=()=>wn.value=!1;return watch(At,Mn=>{Mn==="hidden"?kn.value=!1:Mn==="visible"&&setTimeout(()=>kn.value=!0,50)}),watch(Dt,Mn=>{Mn?setTimeout(()=>kn.value=!0,50):kn.value=!1}),useResizeObserver(hn,An),onMounted(()=>setTimeout(()=>Tn(),0)),onUpdated(()=>An()),$e({scrollToActiveTab:Tn,removeFocus:Nn}),watch(()=>xe.panes,()=>Fe.update(),{flush:"post",deep:!0}),()=>{const Mn=bn.value?[createVNode$1("span",{class:[qe.e("nav-prev"),qe.is("disabled",!bn.value.prev)],onClick:xn},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_left_default,null,null)]})]),createVNode$1("span",{class:[qe.e("nav-next"),qe.is("disabled",!bn.value.next)],onClick:En},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_right_default,null,null)]})])]:null,In=xe.panes.map((On,Rn)=>{var Bn,Vn,Ln,Dn;const Hn=On.uid,Fn=On.props.disabled,zn=(Vn=(Bn=On.props.name)!=null?Bn:On.index)!=null?Vn:`${Rn}`,jn=!Fn&&(On.isClosable||xe.editable);On.index=`${Rn}`;const Gn=jn?createVNode$1(ElIcon,{class:"is-icon-close",onClick:er=>Ie("tabRemove",On,er)},{default:()=>[createVNode$1(close_default,null,null)]}):null,Wn=((Dn=(Ln=On.slots).label)==null?void 0:Dn.call(Ln))||On.props.label,Xn=!Fn&&On.active?0:-1;return createVNode$1("div",{ref:`tab-${Hn}`,class:[qe.e("item"),qe.is(Ue.props.tabPosition),qe.is("active",On.active),qe.is("disabled",Fn),qe.is("closable",jn),qe.is("focus",wn.value)],id:`tab-${zn}`,key:`tab-${Hn}`,"aria-controls":`pane-${zn}`,role:"tab","aria-selected":On.active,tabindex:Xn,onFocus:()=>Pn(),onBlur:()=>Nn(),onClick:er=>{Nn(),Ie("tabClick",On,zn,er)},onKeydown:er=>{jn&&(er.code===EVENT_CODE.delete||er.code===EVENT_CODE.backspace)&&Ie("tabRemove",On,er)}},[Wn,Gn])});return createVNode$1("div",{ref:hn,class:[qe.e("nav-wrap"),qe.is("scrollable",!!bn.value),qe.is(Ue.props.tabPosition)]},[Mn,createVNode$1("div",{class:qe.e("nav-scroll"),ref:Lt},[createVNode$1("div",{class:[qe.e("nav"),qe.is(Ue.props.tabPosition),qe.is("stretch",xe.stretch&&["top","bottom"].includes(Ue.props.tabPosition))],ref:jt,style:Sn.value,role:"tablist",onKeydown:$n},[xe.type?null:createVNode$1(TabBar,{ref:vn,tabs:[...xe.panes]},null),In])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=xe=>isString$4(xe)||isNumber$1(xe),tabsEmits={[UPDATE_MODEL_EVENT]:xe=>isPaneName(xe),tabClick:(xe,$e)=>$e instanceof Event,tabChange:xe=>isPaneName(xe),edit:(xe,$e)=>["remove","add"].includes($e),tabRemove:xe=>isPaneName(xe),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){var Ue;const qe=useNamespace("tabs"),{children:At,addChild:Dt,removeChild:Lt}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),jt=ref(),hn=ref((Ue=xe.modelValue)!=null?Ue:"0"),vn=async(kn,Cn=!1)=>{var Sn,xn,En;if(!(hn.value===kn||isUndefined(kn)))try{await((Sn=xe.beforeLeave)==null?void 0:Sn.call(xe,kn,hn.value))!==!1&&(hn.value=kn,Cn&&($e(UPDATE_MODEL_EVENT,kn),$e("tabChange",kn)),(En=(xn=jt.value)==null?void 0:xn.removeFocus)==null||En.call(xn))}catch{}},bn=(kn,Cn,Sn)=>{kn.props.disabled||(vn(Cn,!0),$e("tabClick",kn,Sn))},_n=(kn,Cn)=>{kn.props.disabled||isUndefined(kn.props.name)||(Cn.stopPropagation(),$e("edit",kn.props.name,"remove"),$e("tabRemove",kn.props.name))},wn=()=>{$e("edit",void 0,"add"),$e("tabAdd")};return watch(()=>xe.modelValue,kn=>vn(kn)),watch(hn,async()=>{var kn;await nextTick(),(kn=jt.value)==null||kn.scrollToActiveTab()}),provide(tabsRootContextKey,{props:xe,currentName:hn,registerPane:Dt,unregisterPane:Lt}),Fe({currentName:hn}),()=>{const kn=Ie["add-icon"],Cn=xe.editable||xe.addable?createVNode$1("span",{class:qe.e("new-tab"),tabindex:"0",onClick:wn,onKeydown:En=>{En.code===EVENT_CODE.enter&&wn()}},[kn?renderSlot(Ie,"add-icon"):createVNode$1(ElIcon,{class:qe.is("icon-plus")},{default:()=>[createVNode$1(plus_default,null,null)]})]):null,Sn=createVNode$1("div",{class:[qe.e("header"),qe.is(xe.tabPosition)]},[Cn,createVNode$1(TabNav,{ref:jt,currentName:hn.value,editable:xe.editable,type:xe.type,panes:At.value,stretch:xe.stretch,onTabClick:bn,onTabRemove:_n},null)]),xn=createVNode$1("div",{class:qe.e("content")},[renderSlot(Ie,"default")]);return createVNode$1("div",{class:[qe.b(),qe.m(xe.tabPosition),{[qe.m("card")]:xe.type==="card",[qe.m("border-card")]:xe.type==="border-card"}]},[...xe.tabPosition!=="bottom"?[Sn,xn]:[xn,Sn]])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$f=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$r=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$y=defineComponent({...__default__$r,props:tabPaneProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=useSlots(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$1,"usage: ");const qe=useNamespace("tab-pane"),At=ref(),Dt=computed(()=>$e.closable||Ue.props.closable),Lt=computedEager(()=>{var _n;return Ue.currentName.value===((_n=$e.name)!=null?_n:At.value)}),jt=ref(Lt.value),hn=computed(()=>{var _n;return(_n=$e.name)!=null?_n:At.value}),vn=computedEager(()=>!$e.lazy||jt.value||Lt.value);watch(Lt,_n=>{_n&&(jt.value=!0)});const bn=reactive({uid:Ie.uid,slots:Fe,props:$e,paneName:hn,active:Lt,index:At,isClosable:Dt});return onMounted(()=>{Ue.registerPane(bn)}),onUnmounted(()=>{Ue.unregisterPane(bn.uid)}),(_n,wn)=>unref(vn)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(hn)}`,class:normalizeClass(unref(qe).b()),role:"tabpanel","aria-hidden":!unref(Lt),"aria-labelledby":`tab-${unref(hn)}`},[renderSlot(_n.$slots,"default")],10,_hoisted_1$f)),[[vShow,unref(Lt)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$y,[["__file","tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:{type:Boolean},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),__default__$q=defineComponent({name:"ElText"}),_sfc_main$x=defineComponent({...__default__$q,props:textProps,setup(xe){const $e=xe,Ie=useFormSize(),Fe=useNamespace("text"),Ue=computed(()=>[Fe.b(),Fe.m($e.type),Fe.m(Ie.value),Fe.is("truncated",$e.truncated),Fe.is("line-clamp",!isUndefined($e.lineClamp))]);return(qe,At)=>(openBlock(),createBlock(resolveDynamicComponent(qe.tag),{class:normalizeClass(unref(Ue)),style:normalizeStyle$1({"-webkit-line-clamp":qe.lineClamp})},{default:withCtx(()=>[renderSlot(qe.$slots,"default")]),_:3},8,["class","style"]))}});var Text$1=_export_sfc$1(_sfc_main$x,[["__file","text.vue"]]);const ElText=withInstall(Text$1),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default},...useEmptyValuesProps}),parseTime=xe=>{const $e=(xe||"").split(":");if($e.length>=2){let Ie=Number.parseInt($e[0],10);const Fe=Number.parseInt($e[1],10),Ue=xe.toUpperCase();return Ue.includes("AM")&&Ie===12?Ie=0:Ue.includes("PM")&&Ie!==12&&(Ie+=12),{hours:Ie,minutes:Fe}}return null},compareTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return-1;const Fe=parseTime($e);if(!Fe)return-1;const Ue=Ie.minutes+Ie.hours*60,qe=Fe.minutes+Fe.hours*60;return Ue===qe?0:Ue>qe?1:-1},padTime=xe=>`${xe}`.padStart(2,"0"),formatTime=xe=>`${padTime(xe.hours)}:${padTime(xe.minutes)}`,nextTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return"";const Fe=parseTime($e);if(!Fe)return"";const Ue={hours:Ie.hours,minutes:Ie.minutes};return Ue.minutes+=Fe.minutes,Ue.hours+=Fe.hours,Ue.hours+=Math.floor(Ue.minutes/60),Ue.minutes=Ue.minutes%60,formatTime(Ue)},__default__$p=defineComponent({name:"ElTimeSelect"}),_sfc_main$w=defineComponent({...__default__$p,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(xe,{expose:$e}){const Ie=xe;dayjs.extend(customParseFormat);const{Option:Fe}=ElSelect,Ue=useNamespace("input"),qe=ref(),At=useFormDisabled(),{lang:Dt}=useLocale(),Lt=computed(()=>Ie.modelValue),jt=computed(()=>{const Sn=parseTime(Ie.start);return Sn?formatTime(Sn):null}),hn=computed(()=>{const Sn=parseTime(Ie.end);return Sn?formatTime(Sn):null}),vn=computed(()=>{const Sn=parseTime(Ie.step);return Sn?formatTime(Sn):null}),bn=computed(()=>{const Sn=parseTime(Ie.minTime||"");return Sn?formatTime(Sn):null}),_n=computed(()=>{const Sn=parseTime(Ie.maxTime||"");return Sn?formatTime(Sn):null}),wn=computed(()=>{const Sn=[];if(Ie.start&&Ie.end&&Ie.step){let xn=jt.value,En;for(;xn&&hn.value&&compareTime(xn,hn.value)<=0;)En=dayjs(xn,"HH:mm").locale(Dt.value).format(Ie.format),Sn.push({value:En,disabled:compareTime(xn,bn.value||"-1:-1")<=0||compareTime(xn,_n.value||"100:100")>=0}),xn=nextTime(xn,vn.value)}return Sn});return $e({blur:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.blur)==null||xn.call(Sn)},focus:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.focus)==null||xn.call(Sn)}}),(Sn,xn)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:qe,"model-value":unref(Lt),disabled:unref(At),clearable:Sn.clearable,"clear-icon":Sn.clearIcon,size:Sn.size,effect:Sn.effect,placeholder:Sn.placeholder,"default-first-option":"",filterable:Sn.editable,"empty-values":Sn.emptyValues,"value-on-clear":Sn.valueOnClear,"onUpdate:modelValue":xn[0]||(xn[0]=En=>Sn.$emit("update:modelValue",En)),onChange:xn[1]||(xn[1]=En=>Sn.$emit("change",En)),onBlur:xn[2]||(xn[2]=En=>Sn.$emit("blur",En)),onFocus:xn[3]||(xn[3]=En=>Sn.$emit("focus",En))},{prefix:withCtx(()=>[Sn.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),En=>(openBlock(),createBlock(unref(Fe),{key:En.value,label:En.value,value:En.value,disabled:En.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear"]))}});var TimeSelect=_export_sfc$1(_sfc_main$w,[["__file","time-select.vue"]]);TimeSelect.install=xe=>{xe.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(xe,{slots:$e}){const Ie=useNamespace("timeline");return provide("timeline",$e),()=>h$5("ul",{class:[Ie.b()]},[renderSlot($e,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:iconPropType},hollow:{type:Boolean,default:!1}}),__default__$o=defineComponent({name:"ElTimelineItem"}),_sfc_main$v=defineComponent({...__default__$o,props:timelineItemProps,setup(xe){const $e=xe,Ie=useNamespace("timeline-item"),Fe=computed(()=>[Ie.e("node"),Ie.em("node",$e.size||""),Ie.em("node",$e.type||""),Ie.is("hollow",$e.hollow)]);return(Ue,qe)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(Ie).b(),{[unref(Ie).e("center")]:Ue.center}])},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("tail"))},null,2),Ue.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe)),style:normalizeStyle$1({backgroundColor:Ue.color})},[Ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ie).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),Ue.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ie).e("dot"))},[renderSlot(Ue.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("wrapper"))},[!Ue.hideTimestamp&&Ue.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(Ie).e("timestamp"),unref(Ie).is("top")])},toDisplayString(Ue.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("content"))},[renderSlot(Ue.$slots,"default")],2),!Ue.hideTimestamp&&Ue.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(Ie).e("timestamp"),unref(Ie).is("bottom")])},toDisplayString(Ue.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$v,[["__file","timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(xe=>(xe.top="top",xe.bottom="bottom",xe.left="left",xe.right="right",xe))(TooltipV2Sides||{});const tooltipV2Sides=Object.values(TooltipV2Sides),tooltipV2ArrowProps=buildProps({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:definePropType(Object),default:null}}),tooltipV2ArrowSpecialProps=buildProps({side:{type:definePropType(String),values:tooltipV2Sides,required:!0}}),tooltipV2Strategies=["absolute","fixed"],tooltipV2Placements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tooltipV2ContentProps=buildProps({arrowPadding:{type:definePropType(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:definePropType(String),values:tooltipV2Placements,default:"bottom"},reference:{type:definePropType(Object),default:null},offset:{type:Number,default:8},strategy:{type:definePropType(String),values:tooltipV2Strategies,default:"absolute"},showArrow:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),tooltipV2RootProps=buildProps({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:definePropType(Function)},"onUpdate:open":{type:definePropType(Function)}}),EventHandler={type:definePropType(Function)},tooltipV2TriggerProps=buildProps({onBlur:EventHandler,onClick:EventHandler,onFocus:EventHandler,onMouseDown:EventHandler,onMouseEnter:EventHandler,onMouseLeave:EventHandler}),tooltipV2Props=buildProps({...tooltipV2RootProps,...tooltipV2ArrowProps,...tooltipV2TriggerProps,...tooltipV2ContentProps,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:definePropType(Object),default:null},teleported:Boolean,to:{type:definePropType(String),default:"body"}}),tooltipV2RootKey=Symbol("tooltipV2"),tooltipV2ContentKey=Symbol("tooltipV2Content"),TOOLTIP_V2_OPEN="tooltip_v2.open",__default__$n=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$u=defineComponent({...__default__$n,props:tooltipV2RootProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(Ie.defaultOpen),Ue=ref(null),qe=computed({get:()=>isPropAbsent(Ie.open)?Fe.value:Ie.open,set:Cn=>{var Sn;Fe.value=Cn,(Sn=Ie["onUpdate:open"])==null||Sn.call(Ie,Cn)}}),At=computed(()=>isNumber$1(Ie.delayDuration)&&Ie.delayDuration>0),{start:Dt,stop:Lt}=useTimeoutFn$1(()=>{qe.value=!0},computed(()=>Ie.delayDuration),{immediate:!1}),jt=useNamespace("tooltip-v2"),hn=useId(),vn=()=>{Lt(),qe.value=!0},bn=()=>{unref(At)?Dt():vn()},_n=vn,wn=()=>{Lt(),qe.value=!1};return watch(qe,Cn=>{var Sn;Cn&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),_n()),(Sn=Ie.onOpenChange)==null||Sn.call(Ie,Cn)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,wn)}),onBeforeUnmount(()=>{Lt(),document.removeEventListener(TOOLTIP_V2_OPEN,wn)}),provide(tooltipV2RootKey,{contentId:hn,triggerRef:Ue,ns:jt,onClose:wn,onDelayOpen:bn,onOpen:_n}),$e({onOpen:_n,onClose:wn}),(Cn,Sn)=>renderSlot(Cn.$slots,"default",{open:unref(qe)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$u,[["__file","root.vue"]]);const __default__$m=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$t=defineComponent({...__default__$m,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(xe){const $e=xe,{ns:Ie}=inject(tooltipV2RootKey),{arrowRef:Fe}=inject(tooltipV2ContentKey),Ue=computed(()=>{const{style:qe,width:At,height:Dt}=$e,Lt=Ie.namespace.value;return{[`--${Lt}-tooltip-v2-arrow-width`]:`${At}px`,[`--${Lt}-tooltip-v2-arrow-height`]:`${Dt}px`,[`--${Lt}-tooltip-v2-arrow-border-width`]:`${At/2}px`,[`--${Lt}-tooltip-v2-arrow-cover-width`]:At/2-1,...qe||{}}});return(qe,At)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:Fe,style:normalizeStyle$1(unref(Ue)),class:normalizeClass(unref(Ie).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$t,[["__file","arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$l=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$s=defineComponent({...__default__$l,props:visualHiddenProps,setup(xe){const $e=xe,Ie=computed(()=>[$e.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(Fe,Ue)=>(openBlock(),createElementBlock("span",mergeProps(Fe.$attrs,{style:unref(Ie)}),[renderSlot(Fe.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$s,[["__file","visual-hidden.vue"]]);const _hoisted_1$e=["data-side"],__default__$k=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$r=defineComponent({...__default__$k,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(xe){const $e=xe,{triggerRef:Ie,contentId:Fe}=inject(tooltipV2RootKey),Ue=ref($e.placement),qe=ref($e.strategy),At=ref(null),{referenceRef:Dt,contentRef:Lt,middlewareData:jt,x:hn,y:vn,update:bn}=useFloating$1({placement:Ue,strategy:qe,middleware:computed(()=>{const En=[offset($e.offset)];return $e.showArrow&&En.push(arrowMiddleware({arrowRef:At})),En})}),_n=useZIndex().nextZIndex(),wn=useNamespace("tooltip-v2"),kn=computed(()=>Ue.value.split("-")[0]),Cn=computed(()=>({position:unref(qe),top:`${unref(vn)||0}px`,left:`${unref(hn)||0}px`,zIndex:_n})),Sn=computed(()=>{if(!$e.showArrow)return{};const{arrow:En}=unref(jt);return{[`--${wn.namespace.value}-tooltip-v2-arrow-x`]:`${En==null?void 0:En.x}px`||"",[`--${wn.namespace.value}-tooltip-v2-arrow-y`]:`${En==null?void 0:En.y}px`||""}}),xn=computed(()=>[wn.e("content"),wn.is("dark",$e.effect==="dark"),wn.is(unref(qe)),$e.contentClass]);return watch(At,()=>bn()),watch(()=>$e.placement,En=>Ue.value=En),onMounted(()=>{watch(()=>$e.reference||Ie.value,En=>{Dt.value=En||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:At}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:Lt,style:normalizeStyle$1(unref(Cn)),"data-tooltip-v2-root":""},[En.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(kn),class:normalizeClass(unref(xn))},[renderSlot(En.$slots,"default",{contentStyle:unref(Cn),contentClass:unref(xn)}),createVNode$1(unref(ElVisuallyHidden),{id:unref(Fe),role:"tooltip"},{default:withCtx(()=>[En.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(En.ariaLabel),1)],64)):renderSlot(En.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(En.$slots,"arrow",{style:normalizeStyle$1(unref(Sn)),side:unref(kn)})],10,_hoisted_1$e))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$r,[["__file","content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(xe,{slots:$e}){const Ie=ref(),Fe=composeRefs(Ie,Ue=>{Ue?xe.setRef(Ue.nextElementSibling):xe.setRef(null)});return()=>{var Ue;const[qe]=((Ue=$e.default)==null?void 0:Ue.call($e))||[],At=xe.onlyChild?ensureOnlyChild(qe.children):qe.children;return createVNode$1(Fragment,{ref:Fe},[At])}}});const __default__$j=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$q=defineComponent({...__default__$j,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(xe){const $e=xe,{onClose:Ie,onOpen:Fe,onDelayOpen:Ue,triggerRef:qe,contentId:At}=inject(tooltipV2RootKey);let Dt=!1;const Lt=xn=>{qe.value=xn},jt=()=>{Dt=!1},hn=composeEventHandlers($e.onMouseEnter,Ue),vn=composeEventHandlers($e.onMouseLeave,Ie),bn=composeEventHandlers($e.onMouseDown,()=>{Ie(),Dt=!0,document.addEventListener("mouseup",jt,{once:!0})}),_n=composeEventHandlers($e.onFocus,()=>{Dt||Fe()}),wn=composeEventHandlers($e.onBlur,Ie),kn=composeEventHandlers($e.onClick,xn=>{xn.detail===0&&Ie()}),Cn={blur:wn,click:kn,focus:_n,mousedown:bn,mouseenter:hn,mouseleave:vn},Sn=(xn,En,Tn)=>{xn&&Object.entries(En).forEach(([An,$n])=>{xn[Tn](An,$n)})};return watch(qe,(xn,En)=>{Sn(xn,Cn,"addEventListener"),Sn(En,Cn,"removeEventListener"),xn&&xn.setAttribute("aria-describedby",At.value)}),onBeforeUnmount(()=>{Sn(qe.value,Cn,"removeEventListener"),document.removeEventListener("mouseup",jt)}),(xn,En)=>xn.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":Lt,"only-child":""},{default:withCtx(()=>[renderSlot(xn.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:qe},xn.$attrs),[renderSlot(xn.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$q,[["__file","trigger.vue"]]);const __default__$i=defineComponent({name:"ElTooltipV2"}),_sfc_main$p=defineComponent({...__default__$i,props:tooltipV2Props,setup(xe){const Ie=toRefs(xe),Fe=reactive(pick(Ie,Object.keys(tooltipV2ArrowProps))),Ue=reactive(pick(Ie,Object.keys(tooltipV2ContentProps))),qe=reactive(pick(Ie,Object.keys(tooltipV2RootProps))),At=reactive(pick(Ie,Object.keys(tooltipV2TriggerProps)));return(Dt,Lt)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(qe)),{default:withCtx(({open:jt})=>[createVNode$1(TooltipV2Trigger,mergeProps(At,{nowrap:""}),{default:withCtx(()=>[renderSlot(Dt.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:Dt.to,disabled:!Dt.teleported},[Dt.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},Dt.transitionProps)),{default:withCtx(()=>[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$p,[["__file","tooltip.vue"]]);const ElTooltipV2=withInstall(TooltipV2),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(xe,$e)=>[xe,$e].every(isArray$6)||isArray$6(xe)&&isNil($e),transferEmits={[CHANGE_EVENT]:(xe,$e,Ie)=>[xe,Ie].every(isArray$6)&&["left","right"].includes($e),[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=xe=>{const $e={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...$e,...xe.props}))},useCheck$1=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=computed(()=>xe.data.filter(hn=>isFunction$5(xe.filterMethod)?xe.filterMethod($e.query,hn):String(hn[Fe.value.label]||hn[Fe.value.key]).toLowerCase().includes($e.query.toLowerCase()))),qe=computed(()=>Ue.value.filter(hn=>!hn[Fe.value.disabled])),At=computed(()=>{const hn=$e.checked.length,vn=xe.data.length,{noChecked:bn,hasChecked:_n}=xe.format;return bn&&_n?hn>0?_n.replace(/\${checked}/g,hn.toString()).replace(/\${total}/g,vn.toString()):bn.replace(/\${total}/g,vn.toString()):`${hn}/${vn}`}),Dt=computed(()=>{const hn=$e.checked.length;return hn>0&&hn{const hn=qe.value.map(vn=>vn[Fe.value.key]);$e.allChecked=hn.length>0&&hn.every(vn=>$e.checked.includes(vn))},jt=hn=>{$e.checked=hn?qe.value.map(vn=>vn[Fe.value.key]):[]};return watch(()=>$e.checked,(hn,vn)=>{if(Lt(),$e.checkChangeByUser){const bn=hn.concat(vn).filter(_n=>!hn.includes(_n)||!vn.includes(_n));Ie(CHECKED_CHANGE_EVENT,hn,bn)}else Ie(CHECKED_CHANGE_EVENT,hn),$e.checkChangeByUser=!0}),watch(qe,()=>{Lt()}),watch(()=>xe.data,()=>{const hn=[],vn=Ue.value.map(bn=>bn[Fe.value.key]);$e.checked.forEach(bn=>{vn.includes(bn)&&hn.push(bn)}),$e.checkChangeByUser=!1,$e.checked=hn}),watch(()=>xe.defaultChecked,(hn,vn)=>{if(vn&&hn.length===vn.length&&hn.every(wn=>vn.includes(wn)))return;const bn=[],_n=qe.value.map(wn=>wn[Fe.value.key]);hn.forEach(wn=>{_n.includes(wn)&&bn.push(wn)}),$e.checkChangeByUser=!1,$e.checked=bn},{immediate:!0}),{filteredData:Ue,checkableData:qe,checkedSummary:At,isIndeterminate:Dt,updateAllChecked:Lt,handleAllCheckedChange:jt}},useCheckedChange=(xe,$e)=>({onSourceCheckedChange:(Ue,qe)=>{xe.leftChecked=Ue,qe&&$e(LEFT_CHECK_CHANGE_EVENT,Ue,qe)},onTargetCheckedChange:(Ue,qe)=>{xe.rightChecked=Ue,qe&&$e(RIGHT_CHECK_CHANGE_EVENT,Ue,qe)}}),useComputedData=xe=>{const $e=usePropsAlias(xe),Ie=computed(()=>xe.data.reduce((qe,At)=>(qe[At[$e.value.key]]=At)&&qe,{})),Fe=computed(()=>xe.data.filter(qe=>!xe.modelValue.includes(qe[$e.value.key]))),Ue=computed(()=>xe.targetOrder==="original"?xe.data.filter(qe=>xe.modelValue.includes(qe[$e.value.key])):xe.modelValue.reduce((qe,At)=>{const Dt=Ie.value[At];return Dt&&qe.push(Dt),qe},[]));return{sourceData:Fe,targetData:Ue}},useMove=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=(Dt,Lt,jt)=>{Ie(UPDATE_MODEL_EVENT,Dt),Ie(CHANGE_EVENT,Dt,Lt,jt)};return{addToLeft:()=>{const Dt=xe.modelValue.slice();$e.rightChecked.forEach(Lt=>{const jt=Dt.indexOf(Lt);jt>-1&&Dt.splice(jt,1)}),Ue(Dt,"left",$e.rightChecked)},addToRight:()=>{let Dt=xe.modelValue.slice();const Lt=xe.data.filter(jt=>{const hn=jt[Fe.value.key];return $e.leftChecked.includes(hn)&&!xe.modelValue.includes(hn)}).map(jt=>jt[Fe.value.key]);Dt=xe.targetOrder==="unshift"?Lt.concat(Dt):Dt.concat(Lt),xe.targetOrder==="original"&&(Dt=xe.data.filter(jt=>Dt.includes(jt[Fe.value.key])).map(jt=>jt[Fe.value.key])),Ue(Dt,"right",$e.leftChecked)}}},__default__$h=defineComponent({name:"ElTransferPanel"}),_sfc_main$o=defineComponent({...__default__$h,props:transferPanelProps,emits:transferPanelEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=({option:En})=>En,{t:At}=useLocale(),Dt=useNamespace("transfer"),Lt=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),jt=usePropsAlias(Fe),{filteredData:hn,checkedSummary:vn,isIndeterminate:bn,handleAllCheckedChange:_n}=useCheck$1(Fe,Lt,Ie),wn=computed(()=>!isEmpty(Lt.query)&&isEmpty(hn.value)),kn=computed(()=>!isEmpty(Ue.default()[0].children)),{checked:Cn,allChecked:Sn,query:xn}=toRefs(Lt);return $e({query:xn}),(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","header"))},[createVNode$1(unref(ElCheckbox),{modelValue:unref(Sn),"onUpdate:modelValue":Tn[0]||(Tn[0]=An=>isRef(Sn)?Sn.value=An:null),indeterminate:unref(bn),"validate-event":!1,onChange:unref(_n)},{default:withCtx(()=>[createTextVNode(toDisplayString(En.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref(vn)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(Dt).be("panel","body"),unref(Dt).is("with-footer",unref(kn))])},[En.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(xn),"onUpdate:modelValue":Tn[1]||(Tn[1]=An=>isRef(xn)?xn.value=An:null),class:normalizeClass(unref(Dt).be("panel","filter")),size:"default",placeholder:En.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCheckboxGroup$1),{modelValue:unref(Cn),"onUpdate:modelValue":Tn[2]||(Tn[2]=An=>isRef(Cn)?Cn.value=An:null),"validate-event":!1,class:normalizeClass([unref(Dt).is("filterable",En.filterable),unref(Dt).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),An=>(openBlock(),createBlock(unref(ElCheckbox),{key:An[unref(jt).key],class:normalizeClass(unref(Dt).be("panel","item")),value:An[unref(jt).key],disabled:An[unref(jt).disabled],"validate-event":!1},{default:withCtx(()=>{var $n;return[createVNode$1(qe,{option:($n=En.optionRender)==null?void 0:$n.call(En,An)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(wn)&&!unref(isEmpty)(En.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","empty"))},toDisplayString(unref(wn)?unref(At)("el.transfer.noMatch"):unref(At)("el.transfer.noData")),3),[[vShow,unref(wn)||unref(isEmpty)(En.data)]])],2),unref(kn)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Dt).be("panel","footer"))},[renderSlot(En.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$o,[["__file","transfer-panel.vue"]]);const _hoisted_1$d={key:0},_hoisted_2$9={key:0},__default__$g=defineComponent({name:"ElTransfer"}),_sfc_main$n=defineComponent({...__default__$g,props:transferProps,emits:transferEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),{t:qe}=useLocale(),At=useNamespace("transfer"),{formItem:Dt}=useFormItem(),Lt=reactive({leftChecked:[],rightChecked:[]}),jt=usePropsAlias(Fe),{sourceData:hn,targetData:vn}=useComputedData(Fe),{onSourceCheckedChange:bn,onTargetCheckedChange:_n}=useCheckedChange(Lt,Ie),{addToLeft:wn,addToRight:kn}=useMove(Fe,Lt,Ie),Cn=ref(),Sn=ref(),xn=Nn=>{switch(Nn){case"left":Cn.value.query="";break;case"right":Sn.value.query="";break}},En=computed(()=>Fe.buttonTexts.length===2),Tn=computed(()=>Fe.titles[0]||qe("el.transfer.titles.0")),An=computed(()=>Fe.titles[1]||qe("el.transfer.titles.1")),$n=computed(()=>Fe.filterPlaceholder||qe("el.transfer.filterPlaceholder"));watch(()=>Fe.modelValue,()=>{var Nn;Fe.validateEvent&&((Nn=Dt==null?void 0:Dt.validate)==null||Nn.call(Dt,"change").catch(Mn=>void 0))});const Pn=computed(()=>Nn=>Fe.renderContent?Fe.renderContent(h$5,Nn):Ue.default?Ue.default({option:Nn}):h$5("span",Nn[jt.value.label]||Nn[jt.value.key]));return $e({clearQuery:xn,leftPanel:Cn,rightPanel:Sn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At).b())},[createVNode$1(TransferPanel,{ref_key:"leftPanel",ref:Cn,data:unref(hn),"option-render":unref(Pn),placeholder:unref($n),title:unref(Tn),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,"default-checked":Nn.leftDefaultChecked,props:Fe.props,onCheckedChange:unref(bn)},{default:withCtx(()=>[renderSlot(Nn.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(At).e("buttons"))},[createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.rightChecked),onClick:unref(wn)},{default:withCtx(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1}),unref(isUndefined)(Nn.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$d,toDisplayString(Nn.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.leftChecked),onClick:unref(kn)},{default:withCtx(()=>[unref(isUndefined)(Nn.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$9,toDisplayString(Nn.buttonTexts[1]),1)),createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode$1(TransferPanel,{ref_key:"rightPanel",ref:Sn,data:unref(vn),"option-render":unref(Pn),placeholder:unref($n),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,title:unref(An),"default-checked":Nn.rightDefaultChecked,props:Fe.props,onCheckedChange:unref(_n)},{default:withCtx(()=>[renderSlot(Nn.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$1(_sfc_main$n,[["__file","transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(xe,$e){!$e||$e[NODE_KEY]||Object.defineProperty($e,NODE_KEY,{value:xe.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(xe,$e){return xe?$e[xe]:$e[NODE_KEY]},handleCurrentChange=(xe,$e,Ie)=>{const Fe=xe.value.currentNode;Ie();const Ue=xe.value.currentNode;Fe!==Ue&&$e("current-change",Ue?Ue.data:null,Ue)},getChildState=xe=>{let $e=!0,Ie=!0,Fe=!0;for(let Ue=0,qe=xe.length;Ue"u"){const qe=Fe[$e];return qe===void 0?"":qe}};let nodeIdSeed=0,Node$1=class oi{constructor($e){this.id=nodeIdSeed++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const $e=this.store;if(!$e)throw new Error("[Node]store is required!");$e.registerNode(this);const Ie=$e.props;if(Ie&&typeof Ie.isLeaf<"u"){const qe=getPropertyFromData(this,"isLeaf");typeof qe=="boolean"&&(this.isLeafByUser=qe)}if($e.lazy!==!0&&this.data?(this.setData(this.data),$e.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&$e.lazy&&$e.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const Fe=$e.defaultExpandedKeys,Ue=$e.key;Ue&&Fe&&Fe.includes(this.key)&&this.expand(null,$e.autoExpandParent),Ue&&$e.currentNodeKey!==void 0&&this.key===$e.currentNodeKey&&($e.currentNode=this,$e.currentNode.isCurrent=!0),$e.lazy&&$e._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData($e){Array.isArray($e)||markNodeData(this,$e),this.data=$e,this.childNodes=[];let Ie;this.level===0&&Array.isArray(this.data)?Ie=this.data:Ie=getPropertyFromData(this,"children")||[];for(let Fe=0,Ue=Ie.length;Fe-1)return $e.childNodes[Ie+1]}return null}get previousSibling(){const $e=this.parent;if($e){const Ie=$e.childNodes.indexOf(this);if(Ie>-1)return Ie>0?$e.childNodes[Ie-1]:null}return null}contains($e,Ie=!0){return(this.childNodes||[]).some(Fe=>Fe===$e||Ie&&Fe.contains($e))}remove(){const $e=this.parent;$e&&$e.removeChild(this)}insertChild($e,Ie,Fe){if(!$e)throw new Error("InsertChild error: child is required.");if(!($e instanceof oi)){if(!Fe){const Ue=this.getChildren(!0);Ue.includes($e.data)||(typeof Ie>"u"||Ie<0?Ue.push($e.data):Ue.splice(Ie,0,$e.data))}Object.assign($e,{parent:this,store:this.store}),$e=reactive(new oi($e)),$e instanceof oi&&$e.initialize()}$e.level=this.level+1,typeof Ie>"u"||Ie<0?this.childNodes.push($e):this.childNodes.splice(Ie,0,$e),this.updateLeafState()}insertBefore($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie)),this.insertChild($e,Fe)}insertAfter($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie),Fe!==-1&&(Fe+=1)),this.insertChild($e,Fe)}removeChild($e){const Ie=this.getChildren()||[],Fe=Ie.indexOf($e.data);Fe>-1&&Ie.splice(Fe,1);const Ue=this.childNodes.indexOf($e);Ue>-1&&(this.store&&this.store.deregisterNode($e),$e.parent=null,this.childNodes.splice(Ue,1)),this.updateLeafState()}removeChildByData($e){let Ie=null;for(let Fe=0;Fe{if(Ie){let Ue=this.parent;for(;Ue.level>0;)Ue.expanded=!0,Ue=Ue.parent}this.expanded=!0,$e&&$e(),this.childNodes.forEach(Ue=>{Ue.canFocus=!0})};this.shouldLoadData()?this.loadData(Ue=>{Array.isArray(Ue)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),Fe())}):Fe()}doCreateChildren($e,Ie={}){$e.forEach(Fe=>{this.insertChild(Object.assign({data:Fe},Ie),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach($e=>{$e.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const $e=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!$e||$e.length===0;return}this.isLeaf=!1}setChecked($e,Ie,Fe,Ue){if(this.indeterminate=$e==="half",this.checked=$e===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:At,allWithoutDisable:Dt}=getChildState(this.childNodes);!this.isLeaf&&!At&&Dt&&(this.checked=!1,$e=!1);const Lt=()=>{if(Ie){const jt=this.childNodes;for(let bn=0,_n=jt.length;bn<_n;bn++){const wn=jt[bn];Ue=Ue||$e!==!1;const kn=wn.disabled?wn.checked:Ue;wn.setChecked(kn,Ie,!0,Ue)}const{half:hn,all:vn}=getChildState(jt);vn||(this.checked=vn,this.indeterminate=hn)}};if(this.shouldLoadData()){this.loadData(()=>{Lt(),reInitChecked(this)},{checked:$e!==!1});return}else Lt()}const qe=this.parent;!qe||qe.level===0||Fe||reInitChecked(qe)}getChildren($e=!1){if(this.level===0)return this.data;const Ie=this.data;if(!Ie)return null;const Fe=this.store.props;let Ue="children";return Fe&&(Ue=Fe.children||"children"),Ie[Ue]===void 0&&(Ie[Ue]=null),$e&&!Ie[Ue]&&(Ie[Ue]=[]),Ie[Ue]}updateChildren(){const $e=this.getChildren()||[],Ie=this.childNodes.map(qe=>qe.data),Fe={},Ue=[];$e.forEach((qe,At)=>{const Dt=qe[NODE_KEY];!!Dt&&Ie.findIndex(jt=>jt[NODE_KEY]===Dt)>=0?Fe[Dt]={index:At,data:qe}:Ue.push({index:At,data:qe})}),this.store.lazy||Ie.forEach(qe=>{Fe[qe[NODE_KEY]]||this.removeChildByData(qe)}),Ue.forEach(({index:qe,data:At})=>{this.insertChild({data:At},qe)}),this.updateLeafState()}loadData($e,Ie={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(Ie).length)){this.loading=!0;const Fe=qe=>{this.childNodes=[],this.doCreateChildren(qe,Ie),this.loaded=!0,this.loading=!1,this.updateLeafState(),$e&&$e.call(this,qe)},Ue=()=>{this.loading=!1};this.store.load(this,Fe,Ue)}else $e&&$e.call(this)}eachNode($e){const Ie=[this];for(;Ie.length;){const Fe=Ie.shift();Ie.unshift(...Fe.childNodes),$e(Fe)}}reInitChecked(){this.store.checkStrictly||reInitChecked(this)}};class TreeStore{constructor($e){this.currentNode=null,this.currentNodeKey=null;for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const $e=this.load;$e(this.root,Ie=>{this.root.doCreateChildren(Ie),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter($e){const Ie=this.filterNodeMethod,Fe=this.lazy,Ue=function(qe){const At=qe.root?qe.root.childNodes:qe.childNodes;if(At.forEach(Dt=>{Dt.visible=Ie.call(Dt,$e,Dt.data,Dt),Ue(Dt)}),!qe.visible&&At.length){let Dt=!0;Dt=!At.some(Lt=>Lt.visible),qe.root?qe.root.visible=Dt===!1:qe.visible=Dt===!1}$e&&qe.visible&&!qe.isLeaf&&(!Fe||qe.loaded)&&qe.expand()};Ue(this)}setData($e){$e!==this.root.data?(this.root.setData($e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode($e){if($e instanceof Node$1)return $e;const Ie=isObject$8($e)?getNodeKey(this.key,$e):$e;return this.nodesMap[Ie]||null}insertBefore($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertBefore({data:$e},Fe)}insertAfter($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertAfter({data:$e},Fe)}remove($e){const Ie=this.getNode($e);Ie&&Ie.parent&&(Ie===this.currentNode&&(this.currentNode=null),Ie.parent.removeChild(Ie))}append($e,Ie){const Fe=isPropAbsent(Ie)?this.root:this.getNode(Ie);Fe&&Fe.insertChild({data:$e})}_initDefaultCheckedNodes(){const $e=this.defaultCheckedKeys||[],Ie=this.nodesMap;$e.forEach(Fe=>{const Ue=Ie[Fe];Ue&&Ue.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode($e){(this.defaultCheckedKeys||[]).includes($e.key)&&$e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey($e){$e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=$e,this._initDefaultCheckedNodes())}registerNode($e){const Ie=this.key;!$e||!$e.data||(Ie?$e.key!==void 0&&(this.nodesMap[$e.key]=$e):this.nodesMap[$e.id]=$e)}deregisterNode($e){!this.key||!$e||!$e.data||($e.childNodes.forEach(Fe=>{this.deregisterNode(Fe)}),delete this.nodesMap[$e.key])}getCheckedNodes($e=!1,Ie=!1){const Fe=[],Ue=function(qe){(qe.root?qe.root.childNodes:qe.childNodes).forEach(Dt=>{(Dt.checked||Ie&&Dt.indeterminate)&&(!$e||$e&&Dt.isLeaf)&&Fe.push(Dt.data),Ue(Dt)})};return Ue(this),Fe}getCheckedKeys($e=!1){return this.getCheckedNodes($e).map(Ie=>(Ie||{})[this.key])}getHalfCheckedNodes(){const $e=[],Ie=function(Fe){(Fe.root?Fe.root.childNodes:Fe.childNodes).forEach(qe=>{qe.indeterminate&&$e.push(qe.data),Ie(qe)})};return Ie(this),$e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map($e=>($e||{})[this.key])}_getAllNodes(){const $e=[],Ie=this.nodesMap;for(const Fe in Ie)hasOwn$1(Ie,Fe)&&$e.push(Ie[Fe]);return $e}updateChildren($e,Ie){const Fe=this.nodesMap[$e];if(!Fe)return;const Ue=Fe.childNodes;for(let qe=Ue.length-1;qe>=0;qe--){const At=Ue[qe];this.remove(At.data)}for(let qe=0,At=Ie.length;qeLt.level-jt.level),qe=Object.create(null),At=Object.keys(Fe);Ue.forEach(Lt=>Lt.setChecked(!1,!1));const Dt=Lt=>{Lt.childNodes.forEach(jt=>{var hn;qe[jt.data[$e]]=!0,(hn=jt.childNodes)!=null&&hn.length&&Dt(jt)})};for(let Lt=0,jt=Ue.length;Lt{Cn.isLeaf||Cn.setChecked(!1,!1),_n(Cn)})};_n(hn)}}}setCheckedNodes($e,Ie=!1){const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[(qe||{})[Fe]]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setCheckedKeys($e,Ie=!1){this.defaultCheckedKeys=$e;const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[qe]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setDefaultExpandedKeys($e){$e=$e||[],this.defaultExpandedKeys=$e,$e.forEach(Ie=>{const Fe=this.getNode(Ie);Fe&&Fe.expand(null,this.autoExpandParent)})}setChecked($e,Ie,Fe){const Ue=this.getNode($e);Ue&&Ue.setChecked(!!Ie,Fe)}getCurrentNode(){return this.currentNode}setCurrentNode($e){const Ie=this.currentNode;Ie&&(Ie.isCurrent=!1),this.currentNode=$e,this.currentNode.isCurrent=!0}setUserCurrentNode($e,Ie=!0){const Fe=$e[this.key],Ue=this.nodesMap[Fe];this.setCurrentNode(Ue),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey($e,Ie=!0){if($e==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const Fe=this.getNode($e);Fe&&(this.setCurrentNode(Fe),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$m=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(xe){const $e=useNamespace("tree"),Ie=inject("NodeInstance"),Fe=inject("RootTree");return()=>{const Ue=xe.node,{data:qe,store:At}=Ue;return xe.renderContent?xe.renderContent(h$5,{_self:Ie,node:Ue,data:qe,store:At}):renderSlot(Fe.ctx.slots,"default",{node:Ue,data:qe},()=>[h$5("span",{class:$e.be("node","label")},[Ue.label])])}}});var NodeContent=_export_sfc$1(_sfc_main$m,[["__file","tree-node-content.vue"]]);function useNodeExpandEventBroadcast(xe){const $e=inject("TreeNodeMap",null),Ie={treeNodeExpand:Fe=>{xe.node!==Fe&&xe.node.collapse()},children:[]};return $e&&$e.children.push(Ie),provide("TreeNodeMap",Ie),{broadcastExpanded:Fe=>{if(xe.accordion)for(const Ue of Ie.children)Ue.treeNodeExpand(Fe)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:xe,ctx:$e,el$:Ie,dropIndicator$:Fe,store:Ue}){const qe=useNamespace("tree"),At=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:hn,treeNode:vn})=>{if(typeof xe.allowDrag=="function"&&!xe.allowDrag(vn.node))return hn.preventDefault(),!1;hn.dataTransfer.effectAllowed="move";try{hn.dataTransfer.setData("text/plain","")}catch{}At.value.draggingNode=vn,$e.emit("node-drag-start",vn.node,hn)},treeNodeDragOver:({event:hn,treeNode:vn})=>{const bn=vn,_n=At.value.dropNode;_n&&_n.node.id!==bn.node.id&&removeClass(_n.$el,qe.is("drop-inner"));const wn=At.value.draggingNode;if(!wn||!bn)return;let kn=!0,Cn=!0,Sn=!0,xn=!0;typeof xe.allowDrop=="function"&&(kn=xe.allowDrop(wn.node,bn.node,"prev"),xn=Cn=xe.allowDrop(wn.node,bn.node,"inner"),Sn=xe.allowDrop(wn.node,bn.node,"next")),hn.dataTransfer.dropEffect=Cn||kn||Sn?"move":"none",(kn||Cn||Sn)&&(_n==null?void 0:_n.node.id)!==bn.node.id&&(_n&&$e.emit("node-drag-leave",wn.node,_n.node,hn),$e.emit("node-drag-enter",wn.node,bn.node,hn)),kn||Cn||Sn?At.value.dropNode=bn:At.value.dropNode=null,bn.node.nextSibling===wn.node&&(Sn=!1),bn.node.previousSibling===wn.node&&(kn=!1),bn.node.contains(wn.node,!1)&&(Cn=!1),(wn.node===bn.node||wn.node.contains(bn.node))&&(kn=!1,Cn=!1,Sn=!1);const En=bn.$el.querySelector(`.${qe.be("node","content")}`).getBoundingClientRect(),Tn=Ie.value.getBoundingClientRect();let An;const $n=kn?Cn?.25:Sn?.45:1:-1,Pn=Sn?Cn?.75:kn?.55:0:1;let Nn=-9999;const Mn=hn.clientY-En.top;MnEn.height*Pn?An="after":Cn?An="inner":An="none";const In=bn.$el.querySelector(`.${qe.be("node","expand-icon")}`).getBoundingClientRect(),On=Fe.value;An==="before"?Nn=In.top-Tn.top:An==="after"&&(Nn=In.bottom-Tn.top),On.style.top=`${Nn}px`,On.style.left=`${In.right-Tn.left}px`,An==="inner"?addClass(bn.$el,qe.is("drop-inner")):removeClass(bn.$el,qe.is("drop-inner")),At.value.showDropIndicator=An==="before"||An==="after",At.value.allowDrop=At.value.showDropIndicator||xn,At.value.dropType=An,$e.emit("node-drag-over",wn.node,bn.node,hn)},treeNodeDragEnd:hn=>{const{draggingNode:vn,dropType:bn,dropNode:_n}=At.value;if(hn.preventDefault(),hn.dataTransfer.dropEffect="move",vn&&_n){const wn={data:vn.node.data};bn!=="none"&&vn.node.remove(),bn==="before"?_n.node.parent.insertBefore(wn,_n.node):bn==="after"?_n.node.parent.insertAfter(wn,_n.node):bn==="inner"&&_n.node.insertChild(wn),bn!=="none"&&(Ue.value.registerNode(wn),Ue.value.key&&vn.node.eachNode(kn=>{var Cn;(Cn=Ue.value.nodesMap[kn.data[Ue.value.key]])==null||Cn.setChecked(kn.checked,!Ue.value.checkStrictly)})),removeClass(_n.$el,qe.is("drop-inner")),$e.emit("node-drag-end",vn.node,_n.node,bn,hn),bn!=="none"&&$e.emit("node-drop",vn.node,_n.node,bn,hn)}vn&&!_n&&$e.emit("node-drag-end",vn.node,null,bn,hn),At.value.showDropIndicator=!1,At.value.draggingNode=null,At.value.dropNode=null,At.value.allowDrop=!0}}),{dragState:At}}const _sfc_main$l=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(xe,$e){const Ie=useNamespace("tree"),{broadcastExpanded:Fe}=useNodeExpandEventBroadcast(xe),Ue=inject("RootTree"),qe=ref(!1),At=ref(!1),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=inject(dragEventsKey),vn=getCurrentInstance();provide("NodeInstance",vn),xe.node.expanded&&(qe.value=!0,At.value=!0);const bn=Ue.props.props.children||"children";watch(()=>{const Mn=xe.node.data[bn];return Mn&&[...Mn]},()=>{xe.node.updateChildren()}),watch(()=>xe.node.indeterminate,Mn=>{kn(xe.node.checked,Mn)}),watch(()=>xe.node.checked,Mn=>{kn(Mn,xe.node.indeterminate)}),watch(()=>xe.node.childNodes.length,()=>xe.node.reInitChecked()),watch(()=>xe.node.expanded,Mn=>{nextTick(()=>qe.value=Mn),Mn&&(At.value=!0)});const _n=Mn=>getNodeKey(Ue.props.nodeKey,Mn.data),wn=Mn=>{const In=xe.props.class;if(!In)return{};let On;if(isFunction$5(In)){const{data:Rn}=Mn;On=In(Rn,Mn)}else On=In;return isString$4(On)?{[On]:!0}:On},kn=(Mn,In)=>{(Dt.value!==Mn||Lt.value!==In)&&Ue.ctx.emit("check-change",xe.node.data,Mn,In),Dt.value=Mn,Lt.value=In},Cn=Mn=>{handleCurrentChange(Ue.store,Ue.ctx.emit,()=>Ue.store.value.setCurrentNode(xe.node)),Ue.currentNode.value=xe.node,Ue.props.expandOnClickNode&&xn(),Ue.props.checkOnClickNode&&!xe.node.disabled&&En(null,{target:{checked:!xe.node.checked}}),Ue.ctx.emit("node-click",xe.node.data,xe.node,vn,Mn)},Sn=Mn=>{Ue.instance.vnode.props.onNodeContextmenu&&(Mn.stopPropagation(),Mn.preventDefault()),Ue.ctx.emit("node-contextmenu",Mn,xe.node.data,xe.node,vn)},xn=()=>{xe.node.isLeaf||(qe.value?(Ue.ctx.emit("node-collapse",xe.node.data,xe.node,vn),xe.node.collapse()):(xe.node.expand(),$e.emit("node-expand",xe.node.data,xe.node,vn)))},En=(Mn,In)=>{xe.node.setChecked(In.target.checked,!Ue.props.checkStrictly),nextTick(()=>{const On=Ue.store.value;Ue.ctx.emit("check",xe.node.data,{checkedNodes:On.getCheckedNodes(),checkedKeys:On.getCheckedKeys(),halfCheckedNodes:On.getHalfCheckedNodes(),halfCheckedKeys:On.getHalfCheckedKeys()})})};return{ns:Ie,node$:jt,tree:Ue,expanded:qe,childNodeRendered:At,oldChecked:Dt,oldIndeterminate:Lt,getNodeKey:_n,getNodeClass:wn,handleSelectChange:kn,handleClick:Cn,handleContextMenu:Sn,handleExpandIconClick:xn,handleCheckChange:En,handleChildNodeExpand:(Mn,In,On)=>{Fe(In),Ue.ctx.emit("node-expand",Mn,In,On)},handleDragStart:Mn=>{Ue.props.draggable&&hn.treeNodeDragStart({event:Mn,treeNode:xe})},handleDragOver:Mn=>{Mn.preventDefault(),Ue.props.draggable&&hn.treeNodeDragOver({event:Mn,treeNode:{$el:jt.value,node:xe.node}})},handleDrop:Mn=>{Mn.preventDefault()},handleDragEnd:Mn=>{Ue.props.draggable&&hn.treeNodeDragEnd(Mn)},CaretRight:caret_right_default}}}),_hoisted_1$c=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$8=["aria-expanded"];function _sfc_render$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("el-checkbox"),Lt=resolveComponent("loading"),jt=resolveComponent("node-content"),hn=resolveComponent("el-tree-node"),vn=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([xe.ns.b("node"),xe.ns.is("expanded",xe.expanded),xe.ns.is("current",xe.node.isCurrent),xe.ns.is("hidden",!xe.node.visible),xe.ns.is("focusable",!xe.node.disabled),xe.ns.is("checked",!xe.node.disabled&&xe.node.checked),xe.getNodeClass(xe.node)]),role:"treeitem",tabindex:"-1","aria-expanded":xe.expanded,"aria-disabled":xe.node.disabled,"aria-checked":xe.node.checked,draggable:xe.tree.props.draggable,"data-key":xe.getNodeKey(xe.node),onClick:$e[1]||($e[1]=withModifiers((...bn)=>xe.handleClick&&xe.handleClick(...bn),["stop"])),onContextmenu:$e[2]||($e[2]=(...bn)=>xe.handleContextMenu&&xe.handleContextMenu(...bn)),onDragstart:$e[3]||($e[3]=withModifiers((...bn)=>xe.handleDragStart&&xe.handleDragStart(...bn),["stop"])),onDragover:$e[4]||($e[4]=withModifiers((...bn)=>xe.handleDragOver&&xe.handleDragOver(...bn),["stop"])),onDragend:$e[5]||($e[5]=withModifiers((...bn)=>xe.handleDragEnd&&xe.handleDragEnd(...bn),["stop"])),onDrop:$e[6]||($e[6]=withModifiers((...bn)=>xe.handleDrop&&xe.handleDrop(...bn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(xe.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(xe.node.level-1)*xe.tree.props.indent+"px"})},[xe.tree.props.icon||xe.CaretRight?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.be("node","expand-icon"),xe.ns.is("leaf",xe.node.isLeaf),{expanded:!xe.node.isLeaf&&xe.expanded}]),onClick:withModifiers(xe.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.tree.props.icon||xe.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.showCheckbox?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:!!xe.node.disabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),onChange:xe.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),xe.node.loading?(openBlock(),createBlock(At,{key:2,class:normalizeClass([xe.ns.be("node","loading-icon"),xe.ns.is("loading")])},{default:withCtx(()=>[createVNode$1(Lt)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(jt,{node:xe.node,"render-content":xe.renderContent},null,8,["node","render-content"])],6),createVNode$1(vn,null,{default:withCtx(()=>[!xe.renderAfterExpand||xe.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("node","children")),role:"group","aria-expanded":xe.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.node.childNodes,bn=>(openBlock(),createBlock(hn,{key:xe.getNodeKey(bn),"render-content":xe.renderContent,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,node:bn,accordion:xe.accordion,props:xe.props,onNodeExpand:xe.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$8)),[[vShow,xe.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$c)),[[vShow,xe.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$2],["__file","tree-node.vue"]]);function useKeydown({el$:xe},$e){const Ie=useNamespace("tree"),Fe=shallowRef([]),Ue=shallowRef([]);onMounted(()=>{At()}),onUpdated(()=>{Fe.value=Array.from(xe.value.querySelectorAll("[role=treeitem]")),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"))}),watch(Ue,Dt=>{Dt.forEach(Lt=>{Lt.setAttribute("tabindex","-1")})}),useEventListener(xe,"keydown",Dt=>{const Lt=Dt.target;if(!Lt.className.includes(Ie.b("node")))return;const jt=Dt.code;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`));const hn=Fe.value.indexOf(Lt);let vn;if([EVENT_CODE.up,EVENT_CODE.down].includes(jt)){if(Dt.preventDefault(),jt===EVENT_CODE.up){vn=hn===-1?0:hn!==0?hn-1:Fe.value.length-1;const _n=vn;for(;!$e.value.getNode(Fe.value[vn].dataset.key).canFocus;){if(vn--,vn===_n){vn=-1;break}vn<0&&(vn=Fe.value.length-1)}}else{vn=hn===-1?0:hn=Fe.value.length&&(vn=0)}}vn!==-1&&Fe.value[vn].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(jt)&&(Dt.preventDefault(),Lt.click());const bn=Lt.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(jt)&&bn&&(Dt.preventDefault(),bn.click())});const At=()=>{var Dt;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`)),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"));const Lt=xe.value.querySelectorAll(`.${Ie.is("checked")}[role=treeitem]`);if(Lt.length){Lt[0].setAttribute("tabindex","0");return}(Dt=Fe.value[0])==null||Dt.setAttribute("tabindex","0")}}const _sfc_main$k=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(xe,$e){const{t:Ie}=useLocale(),Fe=useNamespace("tree"),Ue=inject(selectKey,null),qe=ref(new TreeStore({key:xe.nodeKey,data:xe.data,lazy:xe.lazy,props:xe.props,load:xe.load,currentNodeKey:xe.currentNodeKey,checkStrictly:xe.checkStrictly,checkDescendants:xe.checkDescendants,defaultCheckedKeys:xe.defaultCheckedKeys,defaultExpandedKeys:xe.defaultExpandedKeys,autoExpandParent:xe.autoExpandParent,defaultExpandAll:xe.defaultExpandAll,filterNodeMethod:xe.filterNodeMethod}));qe.value.initialize();const At=ref(qe.value.root),Dt=ref(null),Lt=ref(null),jt=ref(null),{broadcastExpanded:hn}=useNodeExpandEventBroadcast(xe),{dragState:vn}=useDragNodeHandler({props:xe,ctx:$e,el$:Lt,dropIndicator$:jt,store:qe});useKeydown({el$:Lt},qe);const bn=computed(()=>{const{childNodes:Fn}=At.value,zn=Ue?Ue.hasFilteredOptions!==0:!1;return(!Fn||Fn.length===0||Fn.every(({visible:jn})=>!jn))&&!zn});watch(()=>xe.currentNodeKey,Fn=>{qe.value.setCurrentNodeKey(Fn)}),watch(()=>xe.defaultCheckedKeys,Fn=>{qe.value.setDefaultCheckedKey(Fn)}),watch(()=>xe.defaultExpandedKeys,Fn=>{qe.value.setDefaultExpandedKeys(Fn)}),watch(()=>xe.data,Fn=>{qe.value.setData(Fn)},{deep:!0}),watch(()=>xe.checkStrictly,Fn=>{qe.value.checkStrictly=Fn});const _n=Fn=>{if(!xe.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");qe.value.filter(Fn)},wn=Fn=>getNodeKey(xe.nodeKey,Fn.data),kn=Fn=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const zn=qe.value.getNode(Fn);if(!zn)return[];const jn=[zn.data];let Gn=zn.parent;for(;Gn&&Gn!==At.value;)jn.push(Gn.data),Gn=Gn.parent;return jn.reverse()},Cn=(Fn,zn)=>qe.value.getCheckedNodes(Fn,zn),Sn=Fn=>qe.value.getCheckedKeys(Fn),xn=()=>{const Fn=qe.value.getCurrentNode();return Fn?Fn.data:null},En=()=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Fn=xn();return Fn?Fn[xe.nodeKey]:null},Tn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");qe.value.setCheckedNodes(Fn,zn)},An=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");qe.value.setCheckedKeys(Fn,zn)},$n=(Fn,zn,jn)=>{qe.value.setChecked(Fn,zn,jn)},Pn=()=>qe.value.getHalfCheckedNodes(),Nn=()=>qe.value.getHalfCheckedKeys(),Mn=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(qe,$e.emit,()=>qe.value.setUserCurrentNode(Fn,zn))},In=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(qe,$e.emit,()=>qe.value.setCurrentNodeKey(Fn,zn))},On=Fn=>qe.value.getNode(Fn),Rn=Fn=>{qe.value.remove(Fn)},Bn=(Fn,zn)=>{qe.value.append(Fn,zn)},Vn=(Fn,zn)=>{qe.value.insertBefore(Fn,zn)},Ln=(Fn,zn)=>{qe.value.insertAfter(Fn,zn)},Dn=(Fn,zn,jn)=>{hn(zn),$e.emit("node-expand",Fn,zn,jn)},Hn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");qe.value.updateChildren(Fn,zn)};return provide("RootTree",{ctx:$e,props:xe,store:qe,root:At,currentNode:Dt,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:Fe,store:qe,root:At,currentNode:Dt,dragState:vn,el$:Lt,dropIndicator$:jt,isEmpty:bn,filter:_n,getNodeKey:wn,getNodePath:kn,getCheckedNodes:Cn,getCheckedKeys:Sn,getCurrentNode:xn,getCurrentKey:En,setCheckedNodes:Tn,setCheckedKeys:An,setChecked:$n,getHalfCheckedNodes:Pn,getHalfCheckedKeys:Nn,setCurrentNode:Mn,setCurrentKey:In,t:Ie,getNode:On,remove:Rn,append:Bn,insertBefore:Vn,insertAfter:Ln,handleNodeExpand:Dn,updateKeyChildren:Hn}}});function _sfc_render$1(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([xe.ns.b(),xe.ns.is("dragging",!!xe.dragState.draggingNode),xe.ns.is("drop-not-allow",!xe.dragState.allowDrop),xe.ns.is("drop-inner",xe.dragState.dropType==="inner"),{[xe.ns.m("highlight-current")]:xe.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.root.childNodes,Dt=>(openBlock(),createBlock(At,{key:xe.getNodeKey(Dt),node:Dt,props:xe.props,accordion:xe.accordion,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,"render-content":xe.renderContent,onNodeExpand:xe.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-block"))},[renderSlot(xe.$slots,"empty",{},()=>{var Dt;return[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString((Dt=xe.emptyText)!=null?Dt:xe.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(xe.ns.e("drop-indicator"))},null,2),[[vShow,xe.dragState.showDropIndicator]])],2)}var Tree$1=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$1],["__file","tree.vue"]]);Tree$1.install=xe=>{xe.component(Tree$1.name,Tree$1)};const _Tree=Tree$1,ElTree=_Tree,useSelect=(xe,{attrs:$e,emit:Ie},{select:Fe,tree:Ue,key:qe})=>{const At=useNamespace("tree-select");return watch(()=>xe.data,()=>{xe.filterable&&nextTick(()=>{var Lt,jt;(jt=Ue.value)==null||jt.filter((Lt=Fe.value)==null?void 0:Lt.states.inputValue)})},{flush:"post"}),{...pick(toRefs(xe),Object.keys(ElSelect.props)),...$e,"onUpdate:modelValue":Lt=>Ie(UPDATE_MODEL_EVENT,Lt),valueKey:qe,popperClass:computed(()=>{const Lt=[At.e("popper")];return xe.popperClass&&Lt.push(xe.popperClass),Lt.join(" ")}),filterMethod:(Lt="")=>{var jt;xe.filterMethod?xe.filterMethod(Lt):xe.remoteMethod?xe.remoteMethod(Lt):(jt=Ue.value)==null||jt.filter(Lt)}}},component=defineComponent({extends:ElOption,setup(xe,$e){const Ie=ElOption.setup(xe,$e);delete Ie.selectOptionClick;const Fe=getCurrentInstance().proxy;return nextTick(()=>{Ie.select.states.cachedOptions.get(Fe.value)||Ie.select.onOptionCreate(Fe)}),Ie},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(xe){return xe||xe===0}function isValidArray(xe){return Array.isArray(xe)&&xe.length}function toValidArray(xe){return Array.isArray(xe)?xe:isValidValue(xe)?[xe]:[]}function treeFind(xe,$e,Ie,Fe,Ue){for(let qe=0;qe{watch(()=>xe.modelValue,()=>{xe.showCheckbox&&nextTick(()=>{const vn=qe.value;vn&&!isEqual$1(vn.getCheckedKeys(),toValidArray(xe.modelValue))&&vn.setCheckedKeys(toValidArray(xe.modelValue))})},{immediate:!0,deep:!0});const Dt=computed(()=>({value:At.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...xe.props})),Lt=(vn,bn)=>{var _n;const wn=Dt.value[vn];return isFunction$5(wn)?wn(bn,(_n=qe.value)==null?void 0:_n.getNode(Lt("value",bn))):bn[wn]},jt=toValidArray(xe.modelValue).map(vn=>treeFind(xe.data||[],bn=>Lt("value",bn)===vn,bn=>Lt("children",bn),(bn,_n,wn,kn)=>kn&&Lt("value",kn))).filter(vn=>isValidValue(vn)),hn=computed(()=>{if(!xe.renderAfterExpand&&!xe.lazy)return[];const vn=[];return treeEach(xe.data.concat(xe.cacheData),bn=>{const _n=Lt("value",bn);vn.push({value:_n,currentLabel:Lt("label",bn),isDisabled:Lt("disabled",bn)})},bn=>Lt("children",bn)),vn});return{...pick(toRefs(xe),Object.keys(_Tree.props)),...$e,nodeKey:At,expandOnClickNode:computed(()=>!xe.checkStrictly&&xe.expandOnClickNode),defaultExpandedKeys:computed(()=>xe.defaultExpandedKeys?xe.defaultExpandedKeys.concat(jt):jt),renderContent:(vn,{node:bn,data:_n,store:wn})=>vn(component,{value:Lt("value",_n),label:Lt("label",_n),disabled:Lt("disabled",_n)},xe.renderContent?()=>xe.renderContent(vn,{node:bn,data:_n,store:wn}):Ie.default?()=>Ie.default({node:bn,data:_n,store:wn}):void 0),filterNodeMethod:(vn,bn,_n)=>xe.filterNodeMethod?xe.filterNodeMethod(vn,bn,_n):vn?new RegExp(escapeStringRegexp(vn),"i").test(Lt("label",bn)||""):!0,onNodeClick:(vn,bn,_n)=>{var wn,kn,Cn,Sn;if((wn=$e.onNodeClick)==null||wn.call($e,vn,bn,_n),!(xe.showCheckbox&&xe.checkOnClickNode)){if(!xe.showCheckbox&&(xe.checkStrictly||bn.isLeaf)){if(!Lt("disabled",vn)){const xn=(kn=Ue.value)==null?void 0:kn.states.options.get(Lt("value",vn));(Cn=Ue.value)==null||Cn.handleOptionSelect(xn)}}else xe.expandOnClickNode&&_n.proxy.handleExpandIconClick();(Sn=Ue.value)==null||Sn.focus()}},onCheck:(vn,bn)=>{var _n;if(!xe.showCheckbox)return;const wn=Lt("value",vn),kn={};treeEach([qe.value.store.root],En=>kn[En.key]=En,En=>En.childNodes);const Cn=bn.checkedKeys,Sn=xe.multiple?toValidArray(xe.modelValue).filter(En=>!(En in kn)&&!Cn.includes(En)):[],xn=Sn.concat(Cn);if(xe.checkStrictly)Fe(UPDATE_MODEL_EVENT,xe.multiple?xn:xn.includes(wn)?wn:void 0);else if(xe.multiple)Fe(UPDATE_MODEL_EVENT,Sn.concat(qe.value.getCheckedKeys(!0)));else{const En=treeFind([vn],$n=>!isValidArray(Lt("children",$n))&&!Lt("disabled",$n),$n=>Lt("children",$n)),Tn=En?Lt("value",En):void 0,An=isValidValue(xe.modelValue)&&!!treeFind([vn],$n=>Lt("value",$n)===xe.modelValue,$n=>Lt("children",$n));Fe(UPDATE_MODEL_EVENT,Tn===xe.modelValue||An?void 0:Tn)}nextTick(()=>{var En;const Tn=toValidArray(xe.modelValue);qe.value.setCheckedKeys(Tn),(En=$e.onCheck)==null||En.call($e,vn,{checkedKeys:qe.value.getCheckedKeys(),checkedNodes:qe.value.getCheckedNodes(),halfCheckedKeys:qe.value.getHalfCheckedKeys(),halfCheckedNodes:qe.value.getHalfCheckedNodes()})}),(_n=Ue.value)==null||_n.focus()},cacheOptions:hn}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(xe){const $e=inject(selectKey);return watch(()=>xe.data,()=>{var Ie;xe.data.forEach(Ue=>{$e.states.cachedOptions.has(Ue.value)||$e.states.cachedOptions.set(Ue.value,Ue)});const Fe=((Ie=$e.selectRef)==null?void 0:Ie.querySelectorAll("input"))||[];Array.from(Fe).includes(document.activeElement)||$e.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$j=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(xe,$e){const{slots:Ie,expose:Fe}=$e,Ue=ref(),qe=ref(),At=computed(()=>xe.nodeKey||xe.valueKey||"value"),Dt=useSelect(xe,$e,{select:Ue,tree:qe,key:At}),{cacheOptions:Lt,...jt}=useTree$1(xe,$e,{select:Ue,tree:qe,key:At}),hn=reactive({});return Fe(hn),onMounted(()=>{Object.assign(hn,{...pick(qe.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick(Ue.value,["focus","blur"])})}),()=>h$5(ElSelect,reactive({...Dt,ref:vn=>Ue.value=vn}),{...Ie,default:()=>[h$5(CacheOptions,{data:Lt.value}),h$5(_Tree,reactive({...jt,ref:vn=>qe.value=vn}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$j,[["__file","tree-select.vue"]]);TreeSelect.install=xe=>{xe.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(xe=>(xe.KEY="id",xe.LABEL="label",xe.CHILDREN="children",xe.DISABLED="disabled",xe))(TreeOptionsEnum||{}),SetOperationEnum=(xe=>(xe.ADD="add",xe.DELETE="delete",xe))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:definePropType([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0}}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(xe,$e,Ie)=>xe&&$e&&Ie,[NODE_EXPAND]:(xe,$e)=>xe&&$e,[NODE_COLLAPSE]:(xe,$e)=>xe&&$e,[CURRENT_CHANGE]:(xe,$e)=>xe&&$e,[NODE_CHECK]:(xe,$e)=>xe&&$e,[NODE_CHECK_CHANGE]:(xe,$e)=>xe&&typeof $e=="boolean",[NODE_CONTEXTMENU]:(xe,$e,Ie)=>xe&&$e&&Ie},treeNodeEmits={click:(xe,$e)=>!!(xe&&$e),toggle:xe=>!!xe,check:(xe,$e)=>xe&&typeof $e=="boolean"};function useCheck(xe,$e){const Ie=ref(new Set),Fe=ref(new Set),{emit:Ue}=getCurrentInstance();watch([()=>$e.value,()=>xe.defaultCheckedKeys],()=>nextTick(()=>{xn(xe.defaultCheckedKeys)}),{immediate:!0});const qe=()=>{if(!$e.value||!xe.showCheckbox||xe.checkStrictly)return;const{levelTreeNodeMap:En,maxLevel:Tn}=$e.value,An=Ie.value,$n=new Set;for(let Pn=Tn-1;Pn>=1;--Pn){const Nn=En.get(Pn);Nn&&Nn.forEach(Mn=>{const In=Mn.children;if(In){let On=!0,Rn=!1;for(const Bn of In){const Vn=Bn.key;if(An.has(Vn))Rn=!0;else if($n.has(Vn)){On=!1,Rn=!0;break}else On=!1}On?An.add(Mn.key):Rn?($n.add(Mn.key),An.delete(Mn.key)):(An.delete(Mn.key),$n.delete(Mn.key))}})}Fe.value=$n},At=En=>Ie.value.has(En.key),Dt=En=>Fe.value.has(En.key),Lt=(En,Tn,An=!0)=>{const $n=Ie.value,Pn=(Nn,Mn)=>{$n[Mn?SetOperationEnum.ADD:SetOperationEnum.DELETE](Nn.key);const In=Nn.children;!xe.checkStrictly&&In&&In.forEach(On=>{On.disabled||Pn(On,Mn)})};Pn(En,Tn),qe(),An&&jt(En,Tn)},jt=(En,Tn)=>{const{checkedNodes:An,checkedKeys:$n}=wn(),{halfCheckedNodes:Pn,halfCheckedKeys:Nn}=kn();Ue(NODE_CHECK,En.data,{checkedKeys:$n,checkedNodes:An,halfCheckedKeys:Nn,halfCheckedNodes:Pn}),Ue(NODE_CHECK_CHANGE,En.data,Tn)};function hn(En=!1){return wn(En).checkedKeys}function vn(En=!1){return wn(En).checkedNodes}function bn(){return kn().halfCheckedKeys}function _n(){return kn().halfCheckedNodes}function wn(En=!1){const Tn=[],An=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:$n}=$e.value;Ie.value.forEach(Pn=>{const Nn=$n.get(Pn);Nn&&(!En||En&&Nn.isLeaf)&&(An.push(Pn),Tn.push(Nn.data))})}return{checkedKeys:An,checkedNodes:Tn}}function kn(){const En=[],Tn=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:An}=$e.value;Fe.value.forEach($n=>{const Pn=An.get($n);Pn&&(Tn.push($n),En.push(Pn.data))})}return{halfCheckedNodes:En,halfCheckedKeys:Tn}}function Cn(En){Ie.value.clear(),Fe.value.clear(),nextTick(()=>{xn(En)})}function Sn(En,Tn){if($e!=null&&$e.value&&xe.showCheckbox){const An=$e.value.treeNodeMap.get(En);An&&Lt(An,Tn,!1)}}function xn(En){if($e!=null&&$e.value){const{treeNodeMap:Tn}=$e.value;if(xe.showCheckbox&&Tn&&En)for(const An of En){const $n=Tn.get(An);$n&&!At($n)&&Lt($n,!0,!1)}}}return{updateCheckedKeys:qe,toggleCheckbox:Lt,isChecked:At,isIndeterminate:Dt,getCheckedKeys:hn,getCheckedNodes:vn,getHalfCheckedKeys:bn,getHalfCheckedNodes:_n,setChecked:Sn,setCheckedKeys:Cn}}function useFilter(xe,$e){const Ie=ref(new Set([])),Fe=ref(new Set([])),Ue=computed(()=>isFunction$5(xe.filterMethod));function qe(Dt){var Lt;if(!Ue.value)return;const jt=new Set,hn=Fe.value,vn=Ie.value,bn=[],_n=((Lt=$e.value)==null?void 0:Lt.treeNodes)||[],wn=xe.filterMethod;vn.clear();function kn(Cn){Cn.forEach(Sn=>{bn.push(Sn),wn!=null&&wn(Dt,Sn.data)?bn.forEach(En=>{jt.add(En.key)}):Sn.isLeaf&&vn.add(Sn.key);const xn=Sn.children;if(xn&&kn(xn),!Sn.isLeaf){if(!jt.has(Sn.key))vn.add(Sn.key);else if(xn){let En=!0;for(const Tn of xn)if(!vn.has(Tn.key)){En=!1;break}En?hn.add(Sn.key):hn.delete(Sn.key)}}bn.pop()})}return kn(_n),jt}function At(Dt){return Fe.value.has(Dt.key)}return{hiddenExpandIconKeySet:Fe,hiddenNodeKeySet:Ie,doFilter:qe,isForceHiddenExpandIcon:At}}function useTree(xe,$e){const Ie=ref(new Set(xe.defaultExpandedKeys)),Fe=ref(),Ue=shallowRef();watch(()=>xe.currentNodeKey,qn=>{Fe.value=qn},{immediate:!0}),watch(()=>xe.data,qn=>{Jn(qn)},{immediate:!0});const{isIndeterminate:qe,isChecked:At,toggleCheckbox:Dt,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n}=useCheck(xe,Ue),{doFilter:wn,hiddenNodeKeySet:kn,isForceHiddenExpandIcon:Cn}=useFilter(xe,Ue),Sn=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.value)||TreeOptionsEnum.KEY}),xn=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.children)||TreeOptionsEnum.CHILDREN}),En=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.disabled)||TreeOptionsEnum.DISABLED}),Tn=computed(()=>{var qn;return((qn=xe.props)==null?void 0:qn.label)||TreeOptionsEnum.LABEL}),An=computed(()=>{const qn=Ie.value,ar=kn.value,tr=[],or=Ue.value&&Ue.value.treeNodes||[];function sr(){const Kn=[];for(let Zn=or.length-1;Zn>=0;--Zn)Kn.push(or[Zn]);for(;Kn.length;){const Zn=Kn.pop();if(Zn&&(ar.has(Zn.key)||tr.push(Zn),qn.has(Zn.key))){const nr=Zn.children;if(nr){const lr=nr.length;for(let ir=lr-1;ir>=0;--ir)Kn.push(nr[ir])}}}}return sr(),tr}),$n=computed(()=>An.value.length>0);function Pn(qn){const ar=new Map,tr=new Map;let or=1;function sr(Zn,nr=1,lr=void 0){var ir;const kr=[];for(const Cr of Zn){const Er=In(Cr),dr={level:nr,key:Er,data:Cr};dr.label=Rn(Cr),dr.parent=lr;const br=Mn(Cr);dr.disabled=On(Cr),dr.isLeaf=!br||br.length===0,br&&br.length&&(dr.children=sr(br,nr+1,dr)),kr.push(dr),ar.set(Er,dr),tr.has(nr)||tr.set(nr,[]),(ir=tr.get(nr))==null||ir.push(dr)}return nr>or&&(or=nr),kr}const Kn=sr(qn);return{treeNodeMap:ar,levelTreeNodeMap:tr,maxLevel:or,treeNodes:Kn}}function Nn(qn){const ar=wn(qn);ar&&(Ie.value=ar)}function Mn(qn){return qn[xn.value]}function In(qn){return qn?qn[Sn.value]:""}function On(qn){return qn[En.value]}function Rn(qn){return qn[Tn.value]}function Bn(qn){Ie.value.has(qn.key)?zn(qn):Fn(qn)}function Vn(qn){Ie.value=new Set(qn)}function Ln(qn,ar){$e(NODE_CLICK,qn.data,qn,ar),Dn(qn),xe.expandOnClickNode&&Bn(qn),xe.showCheckbox&&xe.checkOnClickNode&&!qn.disabled&&Dt(qn,!At(qn),!0)}function Dn(qn){Wn(qn)||(Fe.value=qn.key,$e(CURRENT_CHANGE,qn.data,qn))}function Hn(qn,ar){Dt(qn,ar)}function Fn(qn){const ar=Ie.value;if(Ue.value&&xe.accordion){const{treeNodeMap:tr}=Ue.value;ar.forEach(or=>{const sr=tr.get(or);qn&&qn.level===(sr==null?void 0:sr.level)&&ar.delete(or)})}ar.add(qn.key),$e(NODE_EXPAND,qn.data,qn)}function zn(qn){Ie.value.delete(qn.key),$e(NODE_COLLAPSE,qn.data,qn)}function jn(qn){return Ie.value.has(qn.key)}function Gn(qn){return!!qn.disabled}function Wn(qn){const ar=Fe.value;return ar!==void 0&&ar===qn.key}function Xn(){var qn,ar;if(Fe.value)return(ar=(qn=Ue.value)==null?void 0:qn.treeNodeMap.get(Fe.value))==null?void 0:ar.data}function er(){return Fe.value}function rr(qn){Fe.value=qn}function Jn(qn){nextTick(()=>Ue.value=Pn(qn))}function Yn(qn){var ar;const tr=isObject$8(qn)?In(qn):qn;return(ar=Ue.value)==null?void 0:ar.treeNodeMap.get(tr)}return{tree:Ue,flattenTree:An,isNotEmpty:$n,getKey:In,getChildren:Mn,toggleExpand:Bn,toggleCheckbox:Dt,isExpanded:jn,isChecked:At,isIndeterminate:qe,isDisabled:Gn,isCurrent:Wn,isForceHiddenExpandIcon:Cn,handleNodeClick:Ln,handleNodeCheck:Hn,getCurrentNode:Xn,getCurrentKey:er,setCurrentKey:rr,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n,filter:Nn,setData:Jn,getNode:Yn,expandNode:Fn,collapseNode:zn,setExpandedKeys:Vn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(xe){const $e=inject(ROOT_TREE_INJECTION_KEY),Ie=useNamespace("tree");return()=>{const Fe=xe.node,{data:Ue}=Fe;return $e!=null&&$e.ctx.slots.default?$e.ctx.slots.default({node:Fe,data:Ue}):h$5("span",{class:Ie.be("node","label")},[Fe==null?void 0:Fe.label])}}});const _hoisted_1$b=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$f=defineComponent({name:"ElTreeNode"}),_sfc_main$i=defineComponent({...__default__$f,props:treeNodeProps,emits:treeNodeEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=inject(ROOT_TREE_INJECTION_KEY),Ue=useNamespace("tree"),qe=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.indent)!=null?vn:16}),At=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.icon)!=null?vn:caret_right_default}),Dt=vn=>{$e("click",Ie.node,vn)},Lt=()=>{$e("toggle",Ie.node)},jt=vn=>{$e("check",Ie.node,vn)},hn=vn=>{var bn,_n,wn,kn;(wn=(_n=(bn=Fe==null?void 0:Fe.instance)==null?void 0:bn.vnode)==null?void 0:_n.props)!=null&&wn.onNodeContextmenu&&(vn.stopPropagation(),vn.preventDefault()),Fe==null||Fe.ctx.emit(NODE_CONTEXTMENU,vn,(kn=Ie.node)==null?void 0:kn.data,Ie.node)};return(vn,bn)=>{var _n,wn,kn;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(Ue).b("node"),unref(Ue).is("expanded",vn.expanded),unref(Ue).is("current",vn.current),unref(Ue).is("focusable",!vn.disabled),unref(Ue).is("checked",!vn.disabled&&vn.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":vn.expanded,"aria-disabled":vn.disabled,"aria-checked":vn.checked,"data-key":(_n=vn.node)==null?void 0:_n.key,onClick:withModifiers(Dt,["stop"]),onContextmenu:hn},[createBaseVNode("div",{class:normalizeClass(unref(Ue).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(vn.node.level-1)*unref(qe)}px`,height:vn.itemSize+"px"})},[unref(At)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Ue).is("leaf",!!((wn=vn.node)!=null&&wn.isLeaf)),unref(Ue).is("hidden",vn.hiddenExpandIcon),{expanded:!((kn=vn.node)!=null&&kn.isLeaf)&&vn.expanded},unref(Ue).be("node","expand-icon")]),onClick:withModifiers(Lt,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(At))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),vn.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":vn.checked,indeterminate:vn.indeterminate,disabled:vn.disabled,onChange:jt,onClick:bn[0]||(bn[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElNodeContent),{node:vn.node},null,8,["node"])],6)],42,_hoisted_1$b)}}});var ElTreeNode=_export_sfc$1(_sfc_main$i,[["__file","tree-node.vue"]]);const __default__$e=defineComponent({name:"ElTreeV2"}),_sfc_main$h=defineComponent({...__default__$e,props:treeProps,emits:treeEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=computed(()=>Fe.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:Ie,slots:Ue},props:Fe,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:At}=useLocale(),Dt=useNamespace("tree"),{flattenTree:Lt,isNotEmpty:jt,toggleExpand:hn,isExpanded:vn,isIndeterminate:bn,isChecked:_n,isDisabled:wn,isCurrent:kn,isForceHiddenExpandIcon:Cn,handleNodeClick:Sn,handleNodeCheck:xn,toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}=useTree(Fe,Ie);return $e({toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}),(zn,jn)=>{var Gn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(Dt).b(),{[unref(Dt).m("highlight-current")]:zn.highlightCurrent}]),role:"tree"},[unref(jt)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(Dt).b("virtual-list"),data:unref(Lt),total:unref(Lt).length,height:zn.height,"item-size":unref(qe),"perf-mode":zn.perfMode},{default:withCtx(({data:Wn,index:Xn,style:er})=>[(openBlock(),createBlock(ElTreeNode,{key:Wn[Xn].key,style:normalizeStyle$1(er),node:Wn[Xn],expanded:unref(vn)(Wn[Xn]),"show-checkbox":zn.showCheckbox,checked:unref(_n)(Wn[Xn]),indeterminate:unref(bn)(Wn[Xn]),"item-size":unref(qe),disabled:unref(wn)(Wn[Xn]),current:unref(kn)(Wn[Xn]),"hidden-expand-icon":unref(Cn)(Wn[Xn]),onClick:unref(Sn),onToggle:unref(hn),onCheck:unref(xn)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Dt).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(Dt).e("empty-text"))},toDisplayString((Gn=zn.emptyText)!=null?Gn:unref(At)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$h,[["__file","tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor($e,Ie,Fe,Ue){super($e),this.name="UploadAjaxError",this.status=Ie,this.method=Fe,this.url=Ue}}function getError(xe,$e,Ie){let Fe;return Ie.response?Fe=`${Ie.response.error||Ie.response}`:Ie.responseText?Fe=`${Ie.responseText}`:Fe=`fail to ${$e.method} ${xe} ${Ie.status}`,new UploadAjaxError(Fe,Ie.status,$e.method,xe)}function getBody(xe){const $e=xe.responseText||xe.response;if(!$e)return $e;try{return JSON.parse($e)}catch{return $e}}const ajaxUpload=xe=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const $e=new XMLHttpRequest,Ie=xe.action;$e.upload&&$e.upload.addEventListener("progress",qe=>{const At=qe;At.percent=qe.total>0?qe.loaded/qe.total*100:0,xe.onProgress(At)});const Fe=new FormData;if(xe.data)for(const[qe,At]of Object.entries(xe.data))isArray$6(At)&&At.length?Fe.append(qe,...At):Fe.append(qe,At);Fe.append(xe.filename,xe.file,xe.file.name),$e.addEventListener("error",()=>{xe.onError(getError(Ie,xe,$e))}),$e.addEventListener("load",()=>{if($e.status<200||$e.status>=300)return xe.onError(getError(Ie,xe,$e));xe.onSuccess(getBody($e))}),$e.open(xe.method,Ie,!0),xe.withCredentials&&"withCredentials"in $e&&($e.withCredentials=!0);const Ue=xe.headers||{};if(Ue instanceof Headers)Ue.forEach((qe,At)=>$e.setRequestHeader(At,qe));else for(const[qe,At]of Object.entries(Ue))isNil(At)||$e.setRequestHeader(qe,String(At));return $e.send(Fe),$e},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP},crossorigin:{type:definePropType(String)}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:xe=>!!xe},_hoisted_1$a=["onKeydown"],_hoisted_2$7=["src","crossorigin"],_hoisted_3$3=["onClick"],_hoisted_4$2=["title"],_hoisted_5$1=["onClick"],_hoisted_6$1=["onClick"],__default__$d=defineComponent({name:"ElUploadList"}),_sfc_main$g=defineComponent({...__default__$d,props:uploadListProps,emits:uploadListEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("upload"),qe=useNamespace("icon"),At=useNamespace("list"),Dt=useFormDisabled(),Lt=ref(!1),jt=computed(()=>[Ue.b("list"),Ue.bm("list",Ie.listType),Ue.is("disabled",Ie.disabled)]),hn=vn=>{$e("remove",vn)};return(vn,bn)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(jt)),name:unref(At).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(vn.files,_n=>(openBlock(),createElementBlock("li",{key:_n.uid||_n.name,class:normalizeClass([unref(Ue).be("list","item"),unref(Ue).is(_n.status),{focusing:Lt.value}]),tabindex:"0",onKeydown:withKeys(wn=>!unref(Dt)&&hn(_n),["delete"]),onFocus:bn[0]||(bn[0]=wn=>Lt.value=!0),onBlur:bn[1]||(bn[1]=wn=>Lt.value=!1),onClick:bn[2]||(bn[2]=wn=>Lt.value=!1)},[renderSlot(vn.$slots,"default",{file:_n},()=>[vn.listType==="picture"||_n.status!=="uploading"&&vn.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(Ue).be("list","item-thumbnail")),src:_n.url,crossorigin:vn.crossorigin,alt:""},null,10,_hoisted_2$7)):createCommentVNode("v-if",!0),_n.status==="uploading"||vn.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(Ue).be("list","item-name")),onClick:withModifiers(wn=>vn.handlePreview(_n),["prevent"])},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("document"))},{default:withCtx(()=>[createVNode$1(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-file-name")),title:_n.name},toDisplayString(_n.name),11,_hoisted_4$2)],10,_hoisted_3$3),_n.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:vn.listType==="picture-card"?"circle":"line","stroke-width":vn.listType==="picture-card"?6:2,percentage:Number(_n.percentage),style:normalizeStyle$1(vn.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(Ue).be("list","item-status-label"))},[vn.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("circle-check")])},{default:withCtx(()=>[createVNode$1(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(vn.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("check")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(qe).m("close")),onClick:wn=>hn(_n)},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(qe).m("close-tip"))},toDisplayString(unref(Fe)("el.upload.deleteTip")),3)),vn.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(Ue).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-preview")),onClick:wn=>vn.handlePreview(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("zoom-in"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5$1),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ue).be("list","item-delete")),onClick:wn=>hn(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("delete"))},{default:withCtx(()=>[createVNode$1(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6$1))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$a))),128)),renderSlot(vn.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$g,[["__file","upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:xe=>isArray$6(xe)},_hoisted_1$9=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$c=defineComponent({name:COMPONENT_NAME}),_sfc_main$f=defineComponent({...__default__$c,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(xe,{emit:$e}){inject(uploadContextKey)||throwError$1(COMPONENT_NAME,"usage: ");const Fe=useNamespace("upload"),Ue=ref(!1),qe=useFormDisabled(),At=Lt=>{if(qe.value)return;Ue.value=!1,Lt.stopPropagation();const jt=Array.from(Lt.dataTransfer.files);$e("file",jt)},Dt=()=>{qe.value||(Ue.value=!0)};return(Lt,jt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("dragger"),unref(Fe).is("dragover",Ue.value)]),onDrop:withModifiers(At,["prevent"]),onDragover:withModifiers(Dt,["prevent"]),onDragleave:jt[0]||(jt[0]=withModifiers(hn=>Ue.value=!1,["prevent"]))},[renderSlot(Lt.$slots,"default")],42,_hoisted_1$9))}});var UploadDragger=_export_sfc$1(_sfc_main$f,[["__file","upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),_hoisted_1$8=["onKeydown"],_hoisted_2$6=["name","multiple","accept"],__default__$b=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$e=defineComponent({...__default__$b,props:uploadContentProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("upload"),Ue=useFormDisabled(),qe=shallowRef({}),At=shallowRef(),Dt=kn=>{if(kn.length===0)return;const{autoUpload:Cn,limit:Sn,fileList:xn,multiple:En,onStart:Tn,onExceed:An}=Ie;if(Sn&&xn.length+kn.length>Sn){An(kn,xn);return}En||(kn=kn.slice(0,1));for(const $n of kn){const Pn=$n;Pn.uid=genFileId(),Tn(Pn),Cn&&Lt(Pn)}},Lt=async kn=>{if(At.value.value="",!Ie.beforeUpload)return hn(kn);let Cn,Sn={};try{const En=Ie.data,Tn=Ie.beforeUpload(kn);Sn=isPlainObject$4(Ie.data)?cloneDeep(Ie.data):Ie.data,Cn=await Tn,isPlainObject$4(Ie.data)&&isEqual$1(En,Sn)&&(Sn=cloneDeep(Ie.data))}catch{Cn=!1}if(Cn===!1){Ie.onRemove(kn);return}let xn=kn;Cn instanceof Blob&&(Cn instanceof File?xn=Cn:xn=new File([Cn],kn.name,{type:kn.type})),hn(Object.assign(xn,{uid:kn.uid}),Sn)},jt=async(kn,Cn)=>isFunction$5(kn)?kn(Cn):kn,hn=async(kn,Cn)=>{const{headers:Sn,data:xn,method:En,withCredentials:Tn,name:An,action:$n,onProgress:Pn,onSuccess:Nn,onError:Mn,httpRequest:In}=Ie;try{Cn=await jt(Cn??xn,kn)}catch{Ie.onRemove(kn);return}const{uid:On}=kn,Rn={headers:Sn||{},withCredentials:Tn,file:kn,data:Cn,method:En,filename:An,action:$n,onProgress:Vn=>{Pn(Vn,kn)},onSuccess:Vn=>{Nn(Vn,kn),delete qe.value[On]},onError:Vn=>{Mn(Vn,kn),delete qe.value[On]}},Bn=In(Rn);qe.value[On]=Bn,Bn instanceof Promise&&Bn.then(Rn.onSuccess,Rn.onError)},vn=kn=>{const Cn=kn.target.files;Cn&&Dt(Array.from(Cn))},bn=()=>{Ue.value||(At.value.value="",At.value.click())},_n=()=>{bn()};return $e({abort:kn=>{entriesOf(qe.value).filter(kn?([Sn])=>String(kn.uid)===Sn:()=>!0).forEach(([Sn,xn])=>{xn instanceof XMLHttpRequest&&xn.abort(),delete qe.value[Sn]})},upload:Lt}),(kn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(kn.listType),unref(Fe).is("drag",kn.drag)]),tabindex:"0",onClick:bn,onKeydown:withKeys(withModifiers(_n,["self"]),["enter","space"])},[kn.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(Ue),onFile:Dt},{default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:3},8,["disabled"])):renderSlot(kn.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:At,class:normalizeClass(unref(Fe).e("input")),name:kn.name,multiple:kn.multiple,accept:kn.accept,type:"file",onChange:vn,onClick:Cn[0]||(Cn[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$6)],42,_hoisted_1$8))}});var UploadContent=_export_sfc$1(_sfc_main$e,[["__file","upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=xe=>{var $e;($e=xe.url)!=null&&$e.startsWith("blob:")&&URL.revokeObjectURL(xe.url)},useHandlers=(xe,$e)=>{const Ie=useVModel(xe,"fileList",void 0,{passive:!0}),Fe=bn=>Ie.value.find(_n=>_n.uid===bn.uid);function Ue(bn){var _n;(_n=$e.value)==null||_n.abort(bn)}function qe(bn=["ready","uploading","success","fail"]){Ie.value=Ie.value.filter(_n=>!bn.includes(_n.status))}const At=(bn,_n)=>{const wn=Fe(_n);wn&&(console.error(bn),wn.status="fail",Ie.value.splice(Ie.value.indexOf(wn),1),xe.onError(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},Dt=(bn,_n)=>{const wn=Fe(_n);wn&&(xe.onProgress(bn,wn,Ie.value),wn.status="uploading",wn.percentage=Math.round(bn.percent))},Lt=(bn,_n)=>{const wn=Fe(_n);wn&&(wn.status="success",wn.response=bn,xe.onSuccess(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},jt=bn=>{isNil(bn.uid)&&(bn.uid=genFileId());const _n={name:bn.name,percentage:0,status:"ready",size:bn.size,raw:bn,uid:bn.uid};if(xe.listType==="picture-card"||xe.listType==="picture")try{_n.url=URL.createObjectURL(bn)}catch(wn){wn.message,xe.onError(wn,_n,Ie.value)}Ie.value=[...Ie.value,_n],xe.onChange(_n,Ie.value)},hn=async bn=>{const _n=bn instanceof File?Fe(bn):bn;_n||throwError$1(SCOPE$1,"file to be removed not found");const wn=kn=>{Ue(kn);const Cn=Ie.value;Cn.splice(Cn.indexOf(kn),1),xe.onRemove(kn,Cn),revokeFileObjectURL(kn)};xe.beforeRemove?await xe.beforeRemove(_n,Ie.value)!==!1&&wn(_n):wn(_n)};function vn(){Ie.value.filter(({status:bn})=>bn==="ready").forEach(({raw:bn})=>{var _n;return bn&&((_n=$e.value)==null?void 0:_n.upload(bn))})}return watch(()=>xe.listType,bn=>{bn!=="picture-card"&&bn!=="picture"||(Ie.value=Ie.value.map(_n=>{const{raw:wn,url:kn}=_n;if(!kn&&wn)try{_n.url=URL.createObjectURL(wn)}catch(Cn){xe.onError(Cn,_n,Ie.value)}return _n}))}),watch(Ie,bn=>{for(const _n of bn)_n.uid||(_n.uid=genFileId()),_n.status||(_n.status="success")},{immediate:!0,deep:!0}),{uploadFiles:Ie,abort:Ue,clearFiles:qe,handleError:At,handleProgress:Dt,handleStart:jt,handleSuccess:Lt,handleRemove:hn,submit:vn,revokeFileObjectURL}},__default__$a=defineComponent({name:"ElUpload"}),_sfc_main$d=defineComponent({...__default__$a,props:uploadProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useFormDisabled(),Ue=shallowRef(),{abort:qe,submit:At,clearFiles:Dt,uploadFiles:Lt,handleStart:jt,handleError:hn,handleRemove:vn,handleSuccess:bn,handleProgress:_n,revokeFileObjectURL:wn}=useHandlers(Ie,Ue),kn=computed(()=>Ie.listType==="picture-card"),Cn=computed(()=>({...Ie,fileList:Lt.value,onStart:jt,onProgress:_n,onSuccess:bn,onError:hn,onRemove:vn}));return onBeforeUnmount(()=>{Lt.value.forEach(wn)}),provide(uploadContextKey,{accept:toRef(Ie,"accept")}),$e({abort:qe,submit:At,clearFiles:Dt,handleStart:jt,handleRemove:vn}),(Sn,xn)=>(openBlock(),createElementBlock("div",null,[unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({append:withCtx(()=>[createVNode$1(UploadContent,mergeProps({ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(kn)||unref(kn)&&!Sn.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Sn.$slots.trigger?renderSlot(Sn.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Sn.$slots,"tip"),!unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$d,[["__file","upload.vue"]]);const ElUpload=withInstall(Upload),watermarkProps=buildProps({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:definePropType([String,Array]),default:"Element Plus"},font:{type:definePropType(Object)},gap:{type:definePropType(Array),default:()=>[100,100]},offset:{type:definePropType(Array)}});function toLowercaseSeparator(xe){return xe.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(xe){return Object.keys(xe).map($e=>`${toLowercaseSeparator($e)}: ${xe[$e]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(xe,$e)=>{let Ie=!1;return xe.removedNodes.length&&$e&&(Ie=Array.from(xe.removedNodes).includes($e)),xe.type==="attributes"&&xe.target===$e&&(Ie=!0),Ie},FontGap=3;function prepareCanvas(xe,$e,Ie=1){const Fe=document.createElement("canvas"),Ue=Fe.getContext("2d"),qe=xe*Ie,At=$e*Ie;return Fe.setAttribute("width",`${qe}px`),Fe.setAttribute("height",`${At}px`),Ue.save(),[Ue,Fe,qe,At]}function useClips(){function xe($e,Ie,Fe,Ue,qe,At,Dt,Lt){const[jt,hn,vn,bn]=prepareCanvas(Ue,qe,Fe);if($e instanceof HTMLImageElement)jt.drawImage($e,0,0,vn,bn);else{const{color:Gn,fontSize:Wn,fontStyle:Xn,fontWeight:er,fontFamily:rr,textAlign:Jn,textBaseline:Yn}=At,qn=Number(Wn)*Fe;jt.font=`${Xn} normal ${er} ${qn}px/${qe}px ${rr}`,jt.fillStyle=Gn,jt.textAlign=Jn,jt.textBaseline=Yn;const ar=Array.isArray($e)?$e:[$e];ar==null||ar.forEach((tr,or)=>{jt.fillText(tr??"",vn/2,or*(qn+FontGap*Fe))})}const _n=Math.PI/180*Number(Ie),wn=Math.max(Ue,qe),[kn,Cn,Sn]=prepareCanvas(wn,wn,Fe);kn.translate(Sn/2,Sn/2),kn.rotate(_n),vn>0&&bn>0&&kn.drawImage(hn,-vn/2,-bn/2);function xn(Gn,Wn){const Xn=Gn*Math.cos(_n)-Wn*Math.sin(_n),er=Gn*Math.sin(_n)+Wn*Math.cos(_n);return[Xn,er]}let En=0,Tn=0,An=0,$n=0;const Pn=vn/2,Nn=bn/2;[[0-Pn,0-Nn],[0+Pn,0-Nn],[0+Pn,0+Nn],[0-Pn,0+Nn]].forEach(([Gn,Wn])=>{const[Xn,er]=xn(Gn,Wn);En=Math.min(En,Xn),Tn=Math.max(Tn,Xn),An=Math.min(An,er),$n=Math.max($n,er)});const In=En+Sn/2,On=An+Sn/2,Rn=Tn-En,Bn=$n-An,Vn=Dt*Fe,Ln=Lt*Fe,Dn=(Rn+Vn)*2,Hn=Bn+Ln,[Fn,zn]=prepareCanvas(Dn,Hn);function jn(Gn=0,Wn=0){Fn.drawImage(Cn,In,On,Rn,Bn,Gn,Wn,Rn,Bn)}return jn(),jn(Rn+Vn,-Bn/2-Ln/2),jn(Rn+Vn,+Bn/2+Ln/2),[zn.toDataURL(),Dn/Fe,Hn/Fe]}return xe}const __default__$9=defineComponent({name:"ElWatermark"}),_sfc_main$c=defineComponent({...__default__$9,props:watermarkProps,setup(xe){const $e=xe,Ie={position:"relative"},Fe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.color)!=null?On:"rgba(0,0,0,.15)"}),Ue=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontSize)!=null?On:16}),qe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontWeight)!=null?On:"normal"}),At=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontStyle)!=null?On:"normal"}),Dt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontFamily)!=null?On:"sans-serif"}),Lt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textAlign)!=null?On:"center"}),jt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textBaseline)!=null?On:"hanging"}),hn=computed(()=>$e.gap[0]),vn=computed(()=>$e.gap[1]),bn=computed(()=>hn.value/2),_n=computed(()=>vn.value/2),wn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[0])!=null?On:bn.value}),kn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[1])!=null?On:_n.value}),Cn=()=>{const In={zIndex:$e.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let On=wn.value-bn.value,Rn=kn.value-_n.value;return On>0&&(In.left=`${On}px`,In.width=`calc(100% - ${On}px)`,On=0),Rn>0&&(In.top=`${Rn}px`,In.height=`calc(100% - ${Rn}px)`,Rn=0),In.backgroundPosition=`${On}px ${Rn}px`,In},Sn=shallowRef(null),xn=shallowRef(),En=ref(!1),Tn=()=>{xn.value&&(xn.value.remove(),xn.value=void 0)},An=(In,On)=>{var Rn;Sn.value&&xn.value&&(En.value=!0,xn.value.setAttribute("style",getStyleStr({...Cn(),backgroundImage:`url('${In}')`,backgroundSize:`${Math.floor(On)}px`})),(Rn=Sn.value)==null||Rn.append(xn.value),setTimeout(()=>{En.value=!1}))},$n=In=>{let On=120,Rn=64;const Bn=$e.image,Vn=$e.content,Ln=$e.width,Dn=$e.height;if(!Bn&&In.measureText){In.font=`${Number(Ue.value)}px ${Dt.value}`;const Hn=Array.isArray(Vn)?Vn:[Vn],Fn=Hn.map(zn=>{const jn=In.measureText(zn);return[jn.width,jn.fontBoundingBoxAscent!==void 0?jn.fontBoundingBoxAscent+jn.fontBoundingBoxDescent:jn.actualBoundingBoxAscent+jn.actualBoundingBoxDescent]});On=Math.ceil(Math.max(...Fn.map(zn=>zn[0]))),Rn=Math.ceil(Math.max(...Fn.map(zn=>zn[1])))*Hn.length+(Hn.length-1)*FontGap}return[Ln??On,Dn??Rn]},Pn=useClips(),Nn=()=>{const On=document.createElement("canvas").getContext("2d"),Rn=$e.image,Bn=$e.content,Vn=$e.rotate;if(On){xn.value||(xn.value=document.createElement("div"));const Ln=getPixelRatio(),[Dn,Hn]=$n(On),Fn=zn=>{const[jn,Gn]=Pn(zn||"",Vn,Ln,Dn,Hn,{color:Fe.value,fontSize:Ue.value,fontStyle:At.value,fontWeight:qe.value,fontFamily:Dt.value,textAlign:Lt.value,textBaseline:jt.value},hn.value,vn.value);An(jn,Gn)};if(Rn){const zn=new Image;zn.onload=()=>{Fn(zn)},zn.onerror=()=>{Fn(Bn)},zn.crossOrigin="anonymous",zn.referrerPolicy="no-referrer",zn.src=Rn}else Fn(Bn)}};return onMounted(()=>{Nn()}),watch(()=>$e,()=>{Nn()},{deep:!0,flush:"post"}),onBeforeUnmount(()=>{Tn()}),useMutationObserver(Sn,In=>{En.value||In.forEach(On=>{reRendering(On,xn.value)&&(Tn(),Nn())})},{attributes:!0,subtree:!0,childList:!0}),(In,On)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:Sn,style:normalizeStyle$1([Ie])},[renderSlot(In.$slots,"default")],4))}});var Watermark=_export_sfc$1(_sfc_main$c,[["__file","watermark.vue"]]);const ElWatermark=withInstall(Watermark),maskProps=buildProps({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:definePropType(Object)},targetAreaClickable:{type:Boolean,default:!0}}),useTarget=(xe,$e,Ie,Fe,Ue)=>{const qe=ref(null),At=()=>{let vn;return isString$4(xe.value)?vn=document.querySelector(xe.value):isFunction$5(xe.value)?vn=xe.value():vn=xe.value,vn},Dt=()=>{const vn=At();if(!vn||!$e.value){qe.value=null;return}!isInViewPort(vn)&&$e.value&&vn.scrollIntoView(Ue.value);const{left:bn,top:_n,width:wn,height:kn}=vn.getBoundingClientRect();qe.value={left:bn,top:_n,width:wn,height:kn,radius:0}};onMounted(()=>{watch([$e,xe],()=>{Dt()},{immediate:!0}),window.addEventListener("resize",Dt)}),onBeforeUnmount(()=>{window.removeEventListener("resize",Dt)});const Lt=vn=>{var bn;return(bn=isArray$6(Ie.value.offset)?Ie.value.offset[vn]:Ie.value.offset)!=null?bn:6},jt=computed(()=>{var vn;if(!qe.value)return qe.value;const bn=Lt(0),_n=Lt(1),wn=((vn=Ie.value)==null?void 0:vn.radius)||2;return{left:qe.value.left-bn,top:qe.value.top-_n,width:qe.value.width+bn*2,height:qe.value.height+_n*2,radius:wn}}),hn=computed(()=>{const vn=At();return!Fe.value||!vn||!window.DOMRect?vn||void 0:{getBoundingClientRect(){var bn,_n,wn,kn;return window.DOMRect.fromRect({width:((bn=jt.value)==null?void 0:bn.width)||0,height:((_n=jt.value)==null?void 0:_n.height)||0,x:((wn=jt.value)==null?void 0:wn.left)||0,y:((kn=jt.value)==null?void 0:kn.top)||0})}}});return{mergedPosInfo:jt,triggerTarget:hn}},tourKey=Symbol("ElTour");function isInViewPort(xe){const $e=window.innerWidth||document.documentElement.clientWidth,Ie=window.innerHeight||document.documentElement.clientHeight,{top:Fe,right:Ue,bottom:qe,left:At}=xe.getBoundingClientRect();return Fe>=0&&At>=0&&Ue<=$e&&qe<=Ie}const useFloating=(xe,$e,Ie,Fe,Ue,qe,At,Dt)=>{const Lt=ref(),jt=ref(),hn=ref({}),vn={x:Lt,y:jt,placement:Fe,strategy:Ue,middlewareData:hn},bn=computed(()=>{const Sn=[offset(unref(qe)),flip(),shift(),overflowMiddleware()];return unref(Dt)&&unref(Ie)&&Sn.push(arrow({element:unref(Ie)})),Sn}),_n=async()=>{if(!isClient$1)return;const Sn=unref(xe),xn=unref($e);if(!Sn||!xn)return;const En=await computePosition(Sn,xn,{placement:unref(Fe),strategy:unref(Ue),middleware:unref(bn)});keysOf(vn).forEach(Tn=>{vn[Tn].value=En[Tn]})},wn=computed(()=>{if(!unref(xe))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:unref(At)};const{overflow:Sn}=unref(hn);return{position:unref(Ue),zIndex:unref(At),top:unref(jt)!=null?`${unref(jt)}px`:"",left:unref(Lt)!=null?`${unref(Lt)}px`:"",maxWidth:Sn!=null&&Sn.maxWidth?`${Sn==null?void 0:Sn.maxWidth}px`:""}}),kn=computed(()=>{if(!unref(Dt))return{};const{arrow:Sn}=unref(hn);return{left:(Sn==null?void 0:Sn.x)!=null?`${Sn==null?void 0:Sn.x}px`:"",top:(Sn==null?void 0:Sn.y)!=null?`${Sn==null?void 0:Sn.y}px`:""}});let Cn;return onMounted(()=>{const Sn=unref(xe),xn=unref($e);Sn&&xn&&(Cn=autoUpdate(Sn,xn,_n)),watchEffect(()=>{_n()})}),onBeforeUnmount(()=>{Cn&&Cn()}),{update:_n,contentStyle:wn,arrowStyle:kn}},overflowMiddleware=()=>({name:"overflow",async fn(xe){const $e=await detectOverflow(xe);let Ie=0;return $e.left>0&&(Ie=$e.left),$e.right>0&&(Ie=$e.right),{data:{maxWidth:xe.rects.floating.width-Ie}}}}),_hoisted_1$7={style:{width:"100%",height:"100%"}},_hoisted_2$5=["d"],__default__$8=defineComponent({name:"ElTourMask",inheritAttrs:!1}),_sfc_main$b=defineComponent({...__default__$8,props:maskProps,setup(xe){const $e=xe,{ns:Ie}=inject(tourKey),Fe=computed(()=>{var Dt,Lt;return(Lt=(Dt=$e.pos)==null?void 0:Dt.radius)!=null?Lt:2}),Ue=computed(()=>{const Dt=Fe.value,Lt=`a${Dt},${Dt} 0 0 1`;return{topRight:`${Lt} ${Dt},${Dt}`,bottomRight:`${Lt} ${-Dt},${Dt}`,bottomLeft:`${Lt} ${-Dt},${-Dt}`,topLeft:`${Lt} ${Dt},${-Dt}`}}),qe=computed(()=>{const Dt=window.innerWidth,Lt=window.innerHeight,jt=Ue.value,hn=`M${Dt},0 L0,0 L0,${Lt} L${Dt},${Lt} L${Dt},0 Z`,vn=Fe.value;return $e.pos?`${hn} M${$e.pos.left+vn},${$e.pos.top} h${$e.pos.width-vn*2} ${jt.topRight} v${$e.pos.height-vn*2} ${jt.bottomRight} h${-$e.pos.width+vn*2} ${jt.bottomLeft} v${-$e.pos.height+vn*2} ${jt.topLeft} z`:hn}),At=computed(()=>({fill:$e.fill,pointerEvents:"auto",cursor:"auto"}));return useLockscreen(toRef($e,"visible"),{ns:Ie}),(Dt,Lt)=>Dt.visible?(openBlock(),createElementBlock("div",mergeProps({key:0,class:unref(Ie).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Dt.zIndex,pointerEvents:Dt.pos&&Dt.targetAreaClickable?"none":"auto"}},Dt.$attrs),[(openBlock(),createElementBlock("svg",_hoisted_1$7,[createBaseVNode("path",{class:normalizeClass(unref(Ie).e("hollow")),style:normalizeStyle$1(unref(At)),d:unref(qe)},null,14,_hoisted_2$5)]))],16)):createCommentVNode("v-if",!0)}});var ElTourMask=_export_sfc$1(_sfc_main$b,[["__file","mask.vue"]]);const tourStrategies=["absolute","fixed"],tourPlacements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tourContentProps=buildProps({placement:{type:definePropType(String),values:tourPlacements,default:"bottom"},reference:{type:definePropType(Object),default:null},strategy:{type:definePropType(String),values:tourStrategies,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),tourContentEmits={close:()=>!0},_hoisted_1$6=["data-side"],__default__$7=defineComponent({name:"ElTourContent"}),_sfc_main$a=defineComponent({...__default__$7,props:tourContentProps,emits:tourContentEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=ref(Ie.placement),Ue=ref(Ie.strategy),qe=ref(null),At=ref(null);watch(()=>Ie.placement,()=>{Fe.value=Ie.placement});const{contentStyle:Dt,arrowStyle:Lt}=useFloating(toRef(Ie,"reference"),qe,At,Fe,Ue,toRef(Ie,"offset"),toRef(Ie,"zIndex"),toRef(Ie,"showArrow")),jt=computed(()=>Fe.value.split("-")[0]),{ns:hn}=inject(tourKey),vn=()=>{$e("close")},bn=_n=>{_n.detail.focusReason==="pointer"&&_n.preventDefault()};return(_n,wn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:qe,style:normalizeStyle$1(unref(Dt)),class:normalizeClass(unref(hn).e("content")),"data-side":unref(jt),tabindex:"-1"},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":qe.value||void 0,onReleaseRequested:vn,onFocusoutPrevented:bn},{default:withCtx(()=>[renderSlot(_n.$slots,"default")]),_:3},8,["focus-trap-el"]),_n.showArrow?(openBlock(),createElementBlock("span",{key:0,ref_key:"arrowRef",ref:At,style:normalizeStyle$1(unref(Lt)),class:normalizeClass(unref(hn).e("arrow"))},null,6)):createCommentVNode("v-if",!0)],14,_hoisted_1$6))}});var ElTourContent=_export_sfc$1(_sfc_main$a,[["__file","content.vue"]]),ElTourSteps=defineComponent({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(xe,{slots:$e,emit:Ie}){let Fe=0;return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];let Lt=0;function jt(hn){isArray$6(hn)&&hn.forEach(vn=>{var bn;((bn=(vn==null?void 0:vn.type)||{})==null?void 0:bn.name)==="ElTourStep"&&(Dt.push(vn),Lt+=1)})}return At.length&&jt(flattedChildren((qe=At[0])==null?void 0:qe.children)),Fe!==Lt&&(Fe=Lt,Ie("update-total",Lt)),Dt.length?Dt[xe.current]:null}}});const tourProps=buildProps({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:iconPropType},placement:tourContentProps.placement,contentStyle:{type:definePropType([Object])},mask:{type:definePropType([Boolean,Object]),default:!0},gap:{type:definePropType(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:()=>({block:"center"})},type:{type:definePropType(String)},appendTo:{type:definePropType([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),tourEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),"update:current":xe=>isNumber$1(xe),close:xe=>isNumber$1(xe),finish:()=>!0,change:xe=>isNumber$1(xe)},__default__$6=defineComponent({name:"ElTour"}),_sfc_main$9=defineComponent({...__default__$6,props:tourProps,emits:tourEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("tour"),Ue=ref(0),qe=ref(),At=useVModel(Ie,"current",$e,{passive:!0}),Dt=computed(()=>{var Mn;return(Mn=qe.value)==null?void 0:Mn.target}),Lt=computed(()=>[Fe.b(),Cn.value==="primary"?Fe.m("primary"):""]),jt=computed(()=>{var Mn;return((Mn=qe.value)==null?void 0:Mn.placement)||Ie.placement}),hn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.contentStyle)!=null?In:Ie.contentStyle}),vn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.mask)!=null?In:Ie.mask}),bn=computed(()=>!!vn.value&&Ie.modelValue),_n=computed(()=>isBoolean(vn.value)?void 0:vn.value),wn=computed(()=>{var Mn,In;return!!Dt.value&&((In=(Mn=qe.value)==null?void 0:Mn.showArrow)!=null?In:Ie.showArrow)}),kn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.scrollIntoViewOptions)!=null?In:Ie.scrollIntoViewOptions}),Cn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.type)!=null?In:Ie.type}),{nextZIndex:Sn}=useZIndex(),xn=Sn(),En=computed(()=>{var Mn;return(Mn=Ie.zIndex)!=null?Mn:xn}),{mergedPosInfo:Tn,triggerTarget:An}=useTarget(Dt,toRef(Ie,"modelValue"),toRef(Ie,"gap"),vn,kn);watch(()=>Ie.modelValue,Mn=>{Mn||(At.value=0)});const $n=()=>{Ie.closeOnPressEscape&&($e("update:modelValue",!1),$e("close",At.value))},Pn=Mn=>{Ue.value=Mn},Nn=useSlots();return provide(tourKey,{currentStep:qe,current:At,total:Ue,showClose:toRef(Ie,"showClose"),closeIcon:toRef(Ie,"closeIcon"),mergedType:Cn,ns:Fe,slots:Nn,updateModelValue(Mn){$e("update:modelValue",Mn)},onClose(){$e("close",At.value)},onFinish(){$e("finish")},onChange(){$e("change",At.value)}}),(Mn,In)=>{var On,Rn;return openBlock(),createElementBlock(Fragment,null,[(openBlock(),createBlock(Teleport,{to:Mn.appendTo},[createBaseVNode("div",mergeProps({class:unref(Lt)},Mn.$attrs),[createVNode$1(ElTourMask,{visible:unref(bn),fill:(On=unref(_n))==null?void 0:On.color,style:normalizeStyle$1((Rn=unref(_n))==null?void 0:Rn.style),pos:unref(Tn),"z-index":unref(En),"target-area-clickable":Mn.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),Mn.modelValue?(openBlock(),createBlock(ElTourContent,{key:unref(At),reference:unref(An),placement:unref(jt),"show-arrow":unref(wn),"z-index":unref(En),style:normalizeStyle$1(unref(hn)),onClose:$n},{default:withCtx(()=>[createVNode$1(unref(ElTourSteps),{current:unref(At),onUpdateTotal:Pn},{default:withCtx(()=>[renderSlot(Mn.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):createCommentVNode("v-if",!0)],16)],8,["to"])),createCommentVNode(" just for IDE "),createCommentVNode("v-if",!0)],64)}}});var Tour=_export_sfc$1(_sfc_main$9,[["__file","tour.vue"]]);const tourStepProps=buildProps({target:{type:definePropType([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:iconPropType},showArrow:{type:Boolean,default:void 0},placement:tourContentProps.placement,mask:{type:definePropType([Boolean,Object]),default:void 0},contentStyle:{type:definePropType([Object])},prevButtonProps:{type:definePropType(Object)},nextButtonProps:{type:definePropType(Object)},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:void 0},type:{type:definePropType(String)}}),tourStepEmits={close:()=>!0},__default__$5=defineComponent({name:"ElTourStep"}),_sfc_main$8=defineComponent({...__default__$5,props:tourStepProps,emits:tourStepEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=CloseComponents,{t:Ue}=useLocale(),{currentStep:qe,current:At,total:Dt,showClose:Lt,closeIcon:jt,mergedType:hn,ns:vn,slots:bn,updateModelValue:_n,onClose:wn,onFinish:kn,onChange:Cn}=inject(tourKey);watch(Ie,Nn=>{qe.value=Nn},{immediate:!0});const Sn=computed(()=>{var Nn;return(Nn=Ie.showClose)!=null?Nn:Lt.value}),xn=computed(()=>{var Nn,Mn;return(Mn=(Nn=Ie.closeIcon)!=null?Nn:jt.value)!=null?Mn:Fe}),En=Nn=>{if(Nn)return omit(Nn,["children","onClick"])},Tn=()=>{var Nn,Mn;At.value-=1,(Nn=Ie.prevButtonProps)!=null&&Nn.onClick&&((Mn=Ie.prevButtonProps)==null||Mn.onClick()),Cn()},An=()=>{var Nn;At.value>=Dt.value-1?$n():At.value+=1,(Nn=Ie.nextButtonProps)!=null&&Nn.onClick&&Ie.nextButtonProps.onClick(),Cn()},$n=()=>{Pn(),kn()},Pn=()=>{_n(!1),wn(),$e("close")};return(Nn,Mn)=>(openBlock(),createElementBlock(Fragment,null,[unref(Sn)?(openBlock(),createElementBlock("button",{key:0,"aria-label":"Close",class:normalizeClass(unref(vn).e("closebtn")),type:"button",onClick:Pn},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(vn).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(xn))))]),_:1},8,["class"])],2)):createCommentVNode("v-if",!0),createBaseVNode("header",{class:normalizeClass([unref(vn).e("header"),{"show-close":unref(Lt)}])},[renderSlot(Nn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(vn).e("title"))},toDisplayString(Nn.title),3)])],2),createBaseVNode("div",{class:normalizeClass(unref(vn).e("body"))},[renderSlot(Nn.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(Nn.description),1)])],2),createBaseVNode("footer",{class:normalizeClass(unref(vn).e("footer"))},[createBaseVNode("div",{class:normalizeClass(unref(vn).b("indicators"))},[unref(bn).indicators?(openBlock(),createBlock(resolveDynamicComponent(unref(bn).indicators),{key:0,current:unref(At),total:unref(Dt)},null,8,["current","total"])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Dt),(In,On)=>(openBlock(),createElementBlock("span",{key:In,class:normalizeClass([unref(vn).b("indicator"),On===unref(At)?"is-active":""])},null,2))),128))],2),createBaseVNode("div",{class:normalizeClass(unref(vn).b("buttons"))},[unref(At)>0?(openBlock(),createBlock(unref(ElButton),mergeProps({key:0,size:"small",type:unref(hn)},En(Nn.prevButtonProps),{onClick:Tn}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.prevButtonProps)==null?void 0:In.children)!=null?On:unref(Ue)("el.tour.previous")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0),unref(At)<=unref(Dt)-1?(openBlock(),createBlock(unref(ElButton),mergeProps({key:1,size:"small",type:unref(hn)==="primary"?"default":"primary"},En(Nn.nextButtonProps),{onClick:An}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.nextButtonProps)==null?void 0:In.children)!=null?On:unref(At)===unref(Dt)-1?unref(Ue)("el.tour.finish"):unref(Ue)("el.tour.next")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0)],2)],2)],64))}});var TourStep=_export_sfc$1(_sfc_main$8,[["__file","step.vue"]]);const ElTour=withInstall(Tour,{TourStep}),ElTourStep=withNoopInstall(TourStep),anchorProps=buildProps({container:{type:definePropType([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:definePropType(String),default:"default"},direction:{type:definePropType(String),default:"vertical"}}),anchorEmits={change:xe=>isString$4(xe),click:(xe,$e)=>xe instanceof MouseEvent&&(isString$4($e)||isUndefined($e))},anchorKey=Symbol("anchor"),__default__$4=defineComponent({name:"ElAnchor"}),_sfc_main$7=defineComponent({...__default__$4,props:anchorProps,emits:anchorEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=ref(""),qe=ref(null),At=ref(null),Dt=ref(),Lt={};let jt=!1,hn=0;const vn=useNamespace("anchor"),bn=computed(()=>[vn.b(),Fe.type==="underline"?vn.m("underline"):"",vn.m(Fe.direction)]),_n=Nn=>{Lt[Nn.href]=Nn.el},wn=Nn=>{delete Lt[Nn]},kn=Nn=>{Ue.value!==Nn&&(Ue.value=Nn,Ie("change",Nn))};let Cn=null;const Sn=Nn=>{if(!Dt.value)return;const Mn=getElement(Nn);if(!Mn)return;Cn&&Cn(),jt=!0;const In=getScrollElement(Mn,Dt.value),On=getOffsetTopDistance(Mn,In),Rn=In.scrollHeight-In.clientHeight,Bn=Math.min(On-Fe.offset,Rn);Cn=animateScrollTo(Dt.value,hn,Bn,Fe.duration,()=>{setTimeout(()=>{jt=!1},20)})},xn=Nn=>{Nn&&(kn(Nn),Sn(Nn))},En=(Nn,Mn)=>{Ie("click",Nn,Mn),xn(Mn)},Tn=throttleByRaf(()=>{Dt.value&&(hn=getScrollTop(Dt.value));const Nn=An();jt||isUndefined(Nn)||kn(Nn)}),An=()=>{if(!Dt.value)return;const Nn=getScrollTop(Dt.value),Mn=[];for(const In of Object.keys(Lt)){const On=getElement(In);if(!On)continue;const Rn=getScrollElement(On,Dt.value),Bn=getOffsetTopDistance(On,Rn);Mn.push({top:Bn-Fe.offset-Fe.bound,href:In})}Mn.sort((In,On)=>In.top-On.top);for(let In=0;InNn))return On.href}},$n=()=>{const Nn=getElement(Fe.container);!Nn||isWindow(Nn)?Dt.value=window:Dt.value=Nn};useEventListener(Dt,"scroll",Tn);const Pn=computed(()=>{if(!qe.value||!At.value||!Ue.value)return{};const Nn=Lt[Ue.value];if(!Nn)return{};const Mn=qe.value.getBoundingClientRect(),In=At.value.getBoundingClientRect(),On=Nn.getBoundingClientRect();return Fe.direction==="horizontal"?{left:`${On.left-Mn.left}px`,width:`${On.width}px`,opacity:1}:{top:`${On.top-Mn.top+(On.height-In.height)/2}px`,opacity:1}});return onMounted(()=>{$n();const Nn=decodeURIComponent(window.location.hash);getElement(Nn)?xn(Nn):Tn()}),watch(()=>Fe.container,()=>{$n()}),provide(anchorKey,{ns:vn,direction:Fe.direction,currentAnchor:Ue,addLink:_n,removeLink:wn,handleClick:En}),$e({scrollTo:xn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{ref_key:"anchorRef",ref:qe,class:normalizeClass(unref(bn))},[Nn.marker?(openBlock(),createElementBlock("div",{key:0,ref_key:"markerRef",ref:At,class:normalizeClass(unref(vn).e("marker")),style:normalizeStyle$1(unref(Pn))},null,6)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("list"))},[renderSlot(Nn.$slots,"default")],2)],2))}});var Anchor=_export_sfc$1(_sfc_main$7,[["__file","anchor.vue"]]);const anchorLinkProps=buildProps({title:String,href:String}),_hoisted_1$5=["href"],__default__$3=defineComponent({name:"ElAnchorLink"}),_sfc_main$6=defineComponent({...__default__$3,props:anchorLinkProps,setup(xe){const $e=xe,Ie=ref(null),{ns:Fe,direction:Ue,currentAnchor:qe,addLink:At,removeLink:Dt,handleClick:Lt}=inject(anchorKey),jt=computed(()=>[Fe.e("link"),Fe.is("active",qe.value===$e.href)]),hn=vn=>{Lt(vn,$e.href)};return watch(()=>$e.href,(vn,bn)=>{nextTick(()=>{bn&&Dt(bn),vn&&At({href:vn,el:Ie.value})})}),onMounted(()=>{const{href:vn}=$e;vn&&At({href:vn,el:Ie.value})}),onBeforeUnmount(()=>{const{href:vn}=$e;vn&&Dt(vn)}),(vn,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).e("item"))},[createBaseVNode("a",{ref_key:"linkRef",ref:Ie,class:normalizeClass(unref(jt)),href:vn.href,onClick:hn},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],10,_hoisted_1$5),vn.$slots["sub-link"]&&unref(Ue)==="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("list"))},[renderSlot(vn.$slots,"sub-link")],2)):createCommentVNode("v-if",!0)],2))}});var AnchorLink=_export_sfc$1(_sfc_main$6,[["__file","anchor-link.vue"]]);const ElAnchor=withInstall(Anchor,{AnchorLink}),ElAnchorLink=withNoopInstall(AnchorLink),segmentedProps=buildProps({options:{type:definePropType(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:useSizeProp,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...useAriaProps(["ariaLabel"])}),segmentedEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)},_hoisted_1$4=["id","aria-label","aria-labelledby"],_hoisted_2$4=["name","disabled","checked","onChange"],__default__$2=defineComponent({name:"ElSegmented"}),_sfc_main$5=defineComponent({...__default__$2,props:segmentedProps,emits:segmentedEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("segmented"),Ue=useId(),qe=useFormSize(),At=useFormDisabled(),{formItem:Dt}=useFormItem(),{inputId:Lt,isLabeledByFormItem:jt}=useFormItemInputId(Ie,{formItemContext:Dt}),hn=ref(null),vn=useActiveElement(),bn=reactive({isInit:!1,width:0,translateX:0,disabled:!1,focusVisible:!1}),_n=Mn=>{const In=wn(Mn);$e(UPDATE_MODEL_EVENT,In),$e(CHANGE_EVENT,In)},wn=Mn=>isObject$8(Mn)?Mn.value:Mn,kn=Mn=>isObject$8(Mn)?Mn.label:Mn,Cn=Mn=>!!(At.value||isObject$8(Mn)&&Mn.disabled),Sn=Mn=>Ie.modelValue===wn(Mn),xn=Mn=>Ie.options.find(In=>wn(In)===Mn),En=Mn=>[Fe.e("item"),Fe.is("selected",Sn(Mn)),Fe.is("disabled",Cn(Mn))],Tn=()=>{if(!hn.value)return;const Mn=hn.value.querySelector(".is-selected"),In=hn.value.querySelector(".is-selected input");if(!Mn||!In){bn.width=0,bn.translateX=0,bn.disabled=!1,bn.focusVisible=!1;return}const On=Mn.getBoundingClientRect();bn.isInit=!0,bn.width=On.width,bn.translateX=Mn.offsetLeft,bn.disabled=Cn(xn(Ie.modelValue));try{bn.focusVisible=In.matches(":focus-visible")}catch{}},An=computed(()=>[Fe.b(),Fe.m(qe.value),Fe.is("block",Ie.block)]),$n=computed(()=>({width:`${bn.width}px`,transform:`translateX(${bn.translateX}px)`,display:bn.isInit?"block":"none"})),Pn=computed(()=>[Fe.e("item-selected"),Fe.is("disabled",bn.disabled),Fe.is("focus-visible",bn.focusVisible)]),Nn=computed(()=>Ie.name||Ue.value);return useResizeObserver(hn,Tn),watch(vn,Tn),watch(()=>Ie.modelValue,()=>{var Mn;Tn(),Ie.validateEvent&&((Mn=Dt==null?void 0:Dt.validate)==null||Mn.call(Dt,"change").catch(In=>void 0))},{flush:"post"}),(Mn,In)=>(openBlock(),createElementBlock("div",{id:unref(Lt),ref_key:"segmentedRef",ref:hn,class:normalizeClass(unref(An)),role:"radiogroup","aria-label":unref(jt)?void 0:Mn.ariaLabel||"segmented","aria-labelledby":unref(jt)?unref(Dt).labelId:void 0},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("div",{style:normalizeStyle$1(unref($n)),class:normalizeClass(unref(Pn))},null,6),(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.options,(On,Rn)=>(openBlock(),createElementBlock("label",{key:Rn,class:normalizeClass(En(On))},[createBaseVNode("input",{class:normalizeClass(unref(Fe).e("item-input")),type:"radio",name:unref(Nn),disabled:Cn(On),checked:Sn(On),onChange:Bn=>_n(On)},null,42,_hoisted_2$4),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("item-label"))},[renderSlot(Mn.$slots,"default",{item:On},()=>[createTextVNode(toDisplayString(kn(On)),1)])],2)],2))),128))],2)],10,_hoisted_1$4))}});var Segmented=_export_sfc$1(_sfc_main$5,[["__file","segmented.vue"]]);const ElSegmented=withInstall(Segmented);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup$1,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTooltipV2,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload,ElWatermark,ElTour,ElTourStep,ElAnchor,ElAnchorLink,ElSegmented];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(xe,$e)=>Object.entries(attributes).reduce((Ie,[Fe,Ue])=>{var qe,At;const{type:Dt,default:Lt}=Ue,jt=xe.getAttribute(`infinite-scroll-${Fe}`);let hn=(At=(qe=$e[jt])!=null?qe:jt)!=null?At:Lt;return hn=hn==="false"?!1:hn,hn=Dt(hn),Ie[Fe]=Number.isNaN(hn)?Lt:hn,Ie},{}),destroyObserver=xe=>{const{observer:$e}=xe[SCOPE];$e&&($e.disconnect(),delete xe[SCOPE].observer)},handleScroll=(xe,$e)=>{const{container:Ie,containerEl:Fe,instance:Ue,observer:qe,lastScrollTop:At}=xe[SCOPE],{disabled:Dt,distance:Lt}=getScrollOptions(xe,Ue),{clientHeight:jt,scrollHeight:hn,scrollTop:vn}=Fe,bn=vn-At;if(xe[SCOPE].lastScrollTop=vn,qe||Dt||bn<0)return;let _n=!1;if(Ie===xe)_n=hn-(jt+vn)<=Lt;else{const{clientTop:wn,scrollHeight:kn}=xe,Cn=getOffsetTopDistance(xe,Fe);_n=vn+jt>=Cn+wn+kn-Lt}_n&&$e.call(Ue)};function checkFull(xe,$e){const{containerEl:Ie,instance:Fe}=xe[SCOPE],{disabled:Ue}=getScrollOptions(xe,Fe);Ue||Ie.clientHeight===0||(Ie.scrollHeight<=Ie.clientHeight?$e.call(Fe):destroyObserver(xe))}const InfiniteScroll={async mounted(xe,$e){const{instance:Ie,value:Fe}=$e;isFunction$5(Fe)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:Ue,immediate:qe}=getScrollOptions(xe,Ie),At=getScrollContainer(xe,!0),Dt=At===window?document.documentElement:At,Lt=throttle$3(handleScroll.bind(null,xe,Fe),Ue);if(At){if(xe[SCOPE]={instance:Ie,container:At,containerEl:Dt,delay:Ue,cb:Fe,onScroll:Lt,lastScrollTop:Dt.scrollTop},qe){const jt=new MutationObserver(throttle$3(checkFull.bind(null,xe,Fe),CHECK_INTERVAL));xe[SCOPE].observer=jt,jt.observe(xe,{childList:!0,subtree:!0}),checkFull(xe,Fe)}At.addEventListener("scroll",Lt)}},unmounted(xe){if(!xe[SCOPE])return;const{container:$e,onScroll:Ie}=xe[SCOPE];$e==null||$e.removeEventListener("scroll",Ie),destroyObserver(xe)},async updated(xe){if(!xe[SCOPE])await nextTick();else{const{containerEl:$e,cb:Ie,observer:Fe}=xe[SCOPE];$e.clientHeight&&Fe&&checkFull(xe,Ie)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=xe=>{xe.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(xe){let $e;const Ie=ref(!1),Fe=reactive({...xe,originalPosition:"",originalOverflow:"",visible:!1});function Ue(bn){Fe.text=bn}function qe(){const bn=Fe.parent,_n=vn.ns;if(!bn.vLoadingAddClassList){let wn=bn.getAttribute("loading-number");wn=Number.parseInt(wn)-1,wn?bn.setAttribute("loading-number",wn.toString()):(removeClass(bn,_n.bm("parent","relative")),bn.removeAttribute("loading-number")),removeClass(bn,_n.bm("parent","hidden"))}At(),hn.unmount()}function At(){var bn,_n;(_n=(bn=vn.$el)==null?void 0:bn.parentNode)==null||_n.removeChild(vn.$el)}function Dt(){var bn;xe.beforeClose&&!xe.beforeClose()||(Ie.value=!0,clearTimeout($e),$e=window.setTimeout(Lt,400),Fe.visible=!1,(bn=xe.closed)==null||bn.call(xe))}function Lt(){if(!Ie.value)return;const bn=Fe.parent;Ie.value=!1,bn.vLoadingAddClassList=void 0,qe()}const hn=createApp(defineComponent({name:"ElLoading",setup(bn,{expose:_n}){const{ns:wn,zIndex:kn}=useGlobalComponentSettings("loading");return _n({ns:wn,zIndex:kn}),()=>{const Cn=Fe.spinner||Fe.svg,Sn=h$5("svg",{class:"circular",viewBox:Fe.svgViewBox?Fe.svgViewBox:"0 0 50 50",...Cn?{innerHTML:Cn}:{}},[h$5("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),xn=Fe.text?h$5("p",{class:wn.b("text")},[Fe.text]):void 0;return h$5(Transition,{name:wn.b("fade"),onAfterLeave:Lt},{default:withCtx(()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:Fe.background||""},class:[wn.b("mask"),Fe.customClass,Fe.fullscreen?"is-fullscreen":""]},[h$5("div",{class:wn.b("spinner")},[Sn,xn])]),[[vShow,Fe.visible]])])})}}})),vn=hn.mount(document.createElement("div"));return{...toRefs(Fe),setText:Ue,removeElLoadingChild:At,close:Dt,handleAfterLeave:Lt,vm:vn,get $el(){return vn.$el}}}let fullscreenInstance;const Loading=function(xe={}){if(!isClient$1)return;const $e=resolveOptions(xe);if($e.fullscreen&&fullscreenInstance)return fullscreenInstance;const Ie=createLoadingComponent({...$e,closed:()=>{var Ue;(Ue=$e.closed)==null||Ue.call($e),$e.fullscreen&&(fullscreenInstance=void 0)}});addStyle($e,$e.parent,Ie),addClassList($e,$e.parent,Ie),$e.parent.vLoadingAddClassList=()=>addClassList($e,$e.parent,Ie);let Fe=$e.parent.getAttribute("loading-number");return Fe?Fe=`${Number.parseInt(Fe)+1}`:Fe="1",$e.parent.setAttribute("loading-number",Fe),$e.parent.appendChild(Ie.$el),nextTick(()=>Ie.visible.value=$e.visible),$e.fullscreen&&(fullscreenInstance=Ie),Ie},resolveOptions=xe=>{var $e,Ie,Fe,Ue;let qe;return isString$4(xe.target)?qe=($e=document.querySelector(xe.target))!=null?$e:document.body:qe=xe.target||document.body,{parent:qe===document.body||xe.body?document.body:qe,background:xe.background||"",svg:xe.svg||"",svgViewBox:xe.svgViewBox||"",spinner:xe.spinner||!1,text:xe.text||"",fullscreen:qe===document.body&&((Ie=xe.fullscreen)!=null?Ie:!0),lock:(Fe=xe.lock)!=null?Fe:!1,customClass:xe.customClass||"",visible:(Ue=xe.visible)!=null?Ue:!0,target:qe}},addStyle=async(xe,$e,Ie)=>{const{nextZIndex:Fe}=Ie.vm.zIndex||Ie.vm._.exposed.zIndex,Ue={};if(xe.fullscreen)Ie.originalPosition.value=getStyle$1(document.body,"position"),Ie.originalOverflow.value=getStyle$1(document.body,"overflow"),Ue.zIndex=Fe();else if(xe.parent===document.body){Ie.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const qe of["top","left"]){const At=qe==="top"?"scrollTop":"scrollLeft";Ue[qe]=`${xe.target.getBoundingClientRect()[qe]+document.body[At]+document.documentElement[At]-Number.parseInt(getStyle$1(document.body,`margin-${qe}`),10)}px`}for(const qe of["height","width"])Ue[qe]=`${xe.target.getBoundingClientRect()[qe]}px`}else Ie.originalPosition.value=getStyle$1($e,"position");for(const[qe,At]of Object.entries(Ue))Ie.$el.style[qe]=At},addClassList=(xe,$e,Ie)=>{const Fe=Ie.vm.ns||Ie.vm._.exposed.ns;["absolute","fixed","sticky"].includes(Ie.originalPosition.value)?removeClass($e,Fe.bm("parent","relative")):addClass($e,Fe.bm("parent","relative")),xe.fullscreen&&xe.lock?addClass($e,Fe.bm("parent","hidden")):removeClass($e,Fe.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance=(xe,$e)=>{var Ie,Fe,Ue,qe;const At=$e.instance,Dt=bn=>isObject$8($e.value)?$e.value[bn]:void 0,Lt=bn=>{const _n=isString$4(bn)&&(At==null?void 0:At[bn])||bn;return _n&&ref(_n)},jt=bn=>Lt(Dt(bn)||xe.getAttribute(`element-loading-${hyphenate(bn)}`)),hn=(Ie=Dt("fullscreen"))!=null?Ie:$e.modifiers.fullscreen,vn={text:jt("text"),svg:jt("svg"),svgViewBox:jt("svgViewBox"),spinner:jt("spinner"),background:jt("background"),customClass:jt("customClass"),fullscreen:hn,target:(Fe=Dt("target"))!=null?Fe:hn?void 0:xe,body:(Ue=Dt("body"))!=null?Ue:$e.modifiers.body,lock:(qe=Dt("lock"))!=null?qe:$e.modifiers.lock};xe[INSTANCE_KEY]={options:vn,instance:Loading(vn)}},updateOptions=(xe,$e)=>{for(const Ie of Object.keys($e))isRef($e[Ie])&&($e[Ie].value=xe[Ie])},vLoading={mounted(xe,$e){$e.value&&createInstance(xe,$e)},updated(xe,$e){const Ie=xe[INSTANCE_KEY];$e.oldValue!==$e.value&&($e.value&&!$e.oldValue?createInstance(xe,$e):$e.value&&$e.oldValue?isObject$8($e.value)&&updateOptions($e.value,Ie.options):Ie==null||Ie.instance.close())},unmounted(xe){var $e;($e=xe[INSTANCE_KEY])==null||$e.instance.close(),xe[INSTANCE_KEY]=null}},ElLoading={install(xe){xe.directive("loading",vLoading),xe.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances$2=shallowReactive([]),getInstance=xe=>{const $e=instances$2.findIndex(Ue=>Ue.id===xe),Ie=instances$2[$e];let Fe;return $e>0&&(Fe=instances$2[$e-1]),{current:Ie,prev:Fe}},getLastOffset=xe=>{const{prev:$e}=getInstance(xe);return $e?$e.vm.exposed.bottom.value:0},getOffsetOrSpace=(xe,$e)=>instances$2.findIndex(Fe=>Fe.id===xe)>0?16:$e,_hoisted_1$3=["id"],_hoisted_2$3=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$4=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(xe,{expose:$e}){const Ie=xe,{Close:Fe}=TypeComponents,{ns:Ue,zIndex:qe}=useGlobalComponentSettings("message"),{currentZIndex:At,nextZIndex:Dt}=qe,Lt=ref(),jt=ref(!1),hn=ref(0);let vn;const bn=computed(()=>Ie.type?Ie.type==="error"?"danger":Ie.type:"info"),_n=computed(()=>{const Pn=Ie.type;return{[Ue.bm("icon",Pn)]:Pn&&TypeComponentsMap[Pn]}}),wn=computed(()=>Ie.icon||TypeComponentsMap[Ie.type]||""),kn=computed(()=>getLastOffset(Ie.id)),Cn=computed(()=>getOffsetOrSpace(Ie.id,Ie.offset)+kn.value),Sn=computed(()=>hn.value+Cn.value),xn=computed(()=>({top:`${Cn.value}px`,zIndex:At.value}));function En(){Ie.duration!==0&&({stop:vn}=useTimeoutFn$1(()=>{An()},Ie.duration))}function Tn(){vn==null||vn()}function An(){jt.value=!1}function $n({code:Pn}){Pn===EVENT_CODE.esc&&An()}return onMounted(()=>{En(),Dt(),jt.value=!0}),watch(()=>Ie.repeatNum,()=>{Tn(),En()}),useEventListener(document,"keydown",$n),useResizeObserver(Lt,()=>{hn.value=Lt.value.getBoundingClientRect().height}),$e({visible:jt,bottom:Sn,close:An}),(Pn,Nn)=>(openBlock(),createBlock(Transition,{name:unref(Ue).b("fade"),onBeforeLeave:Pn.onClose,onAfterLeave:Nn[0]||(Nn[0]=Mn=>Pn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Pn.id,ref_key:"messageRef",ref:Lt,class:normalizeClass([unref(Ue).b(),{[unref(Ue).m(Pn.type)]:Pn.type},unref(Ue).is("center",Pn.center),unref(Ue).is("closable",Pn.showClose),unref(Ue).is("plain",Pn.plain),Pn.customClass]),style:normalizeStyle$1(unref(xn)),role:"alert",onMouseenter:Tn,onMouseleave:En},[Pn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Pn.repeatNum,type:unref(bn),class:normalizeClass(unref(Ue).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(wn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ue).e("icon"),unref(_n)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Pn.$slots,"default",{},()=>[Pn.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(Ue).e("content")),innerHTML:Pn.message},null,10,_hoisted_2$3)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Ue).e("content"))},toDisplayString(Pn.message),3))]),Pn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(Ue).e("closeBtn")),onClick:withModifiers(An,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$3),[[vShow,jt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$4,[["__file","message.vue"]]);let seed$1=1;const normalizeOptions=xe=>{const $e=!xe||isString$4(xe)||isVNode(xe)||isFunction$5(xe)?{message:xe}:xe,Ie={...messageDefaults,...$e};if(!Ie.appendTo)Ie.appendTo=document.body;else if(isString$4(Ie.appendTo)){let Fe=document.querySelector(Ie.appendTo);isElement$1(Fe)||(Fe=document.body),Ie.appendTo=Fe}return Ie},closeMessage=xe=>{const $e=instances$2.indexOf(xe);if($e===-1)return;instances$2.splice($e,1);const{handler:Ie}=xe;Ie.close()},createMessage=({appendTo:xe,...$e},Ie)=>{const Fe=`message_${seed$1++}`,Ue=$e.onClose,qe=document.createElement("div"),At={...$e,id:Fe,onClose:()=>{Ue==null||Ue(),closeMessage(hn)},onDestroy:()=>{render$2(null,qe)}},Dt=createVNode$1(MessageConstructor,At,isFunction$5(At.message)||isVNode(At.message)?{default:isFunction$5(At.message)?At.message:()=>At.message}:null);Dt.appContext=Ie||message._context,render$2(Dt,qe),xe.appendChild(qe.firstElementChild);const Lt=Dt.component,hn={id:Fe,vnode:Dt,vm:Lt,handler:{close:()=>{Lt.exposed.visible.value=!1}},props:Dt.component.props};return hn},message=(xe={},$e)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$1(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const Ie=normalizeOptions(xe);if(Ie.grouping&&instances$2.length){const Ue=instances$2.find(({vnode:qe})=>{var At;return((At=qe.props)==null?void 0:At.message)===Ie.message});if(Ue)return Ue.props.repeatNum+=1,Ue.props.type=Ie.type,Ue.handler}const Fe=createMessage(Ie,$e);return instances$2.push(Fe),Fe.handler};messageTypes.forEach(xe=>{message[xe]=($e={},Ie)=>{const Fe=normalizeOptions($e);return message({...Fe,type:xe},Ie)}});function closeAll$1(xe){for(const $e of instances$2)(!xe||xe===$e.props.type)&&$e.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$3=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(xe,{emit:$e}){const{locale:Ie,zIndex:Fe,ns:Ue,size:qe}=useGlobalComponentSettings("message-box",computed(()=>xe.buttonSize)),{t:At}=Ie,{nextZIndex:Dt}=Fe,Lt=ref(!1),jt=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:Dt()}),hn=computed(()=>{const Dn=jt.type;return{[Ue.bm("icon",Dn)]:Dn&&TypeComponentsMap[Dn]}}),vn=useId(),bn=useId(),_n=computed(()=>jt.icon||TypeComponentsMap[jt.type]||""),wn=computed(()=>!!jt.message),kn=ref(),Cn=ref(),Sn=ref(),xn=ref(),En=ref(),Tn=computed(()=>jt.confirmButtonClass);watch(()=>jt.inputValue,async Dn=>{await nextTick(),xe.boxType==="prompt"&&Dn!==null&&Rn()},{immediate:!0}),watch(()=>Lt.value,Dn=>{var Hn,Fn;Dn&&(xe.boxType!=="prompt"&&(jt.autofocus?Sn.value=(Fn=(Hn=En.value)==null?void 0:Hn.$el)!=null?Fn:kn.value:Sn.value=kn.value),jt.zIndex=Dt()),xe.boxType==="prompt"&&(Dn?nextTick().then(()=>{var zn;xn.value&&xn.value.$el&&(jt.autofocus?Sn.value=(zn=Bn())!=null?zn:kn.value:Sn.value=kn.value)}):(jt.editorErrorMessage="",jt.validateError=!1))});const An=computed(()=>xe.draggable),$n=computed(()=>xe.overflow);useDraggable(kn,Cn,An,$n),onMounted(async()=>{await nextTick(),xe.closeOnHashChange&&window.addEventListener("hashchange",Pn)}),onBeforeUnmount(()=>{xe.closeOnHashChange&&window.removeEventListener("hashchange",Pn)});function Pn(){Lt.value&&(Lt.value=!1,nextTick(()=>{jt.action&&$e("action",jt.action)}))}const Nn=()=>{xe.closeOnClickModal&&On(jt.distinguishCancelAndClose?"close":"cancel")},Mn=useSameTarget(Nn),In=Dn=>{if(jt.inputType!=="textarea")return Dn.preventDefault(),On("confirm")},On=Dn=>{var Hn;xe.boxType==="prompt"&&Dn==="confirm"&&!Rn()||(jt.action=Dn,jt.beforeClose?(Hn=jt.beforeClose)==null||Hn.call(jt,Dn,jt,Pn):Pn())},Rn=()=>{if(xe.boxType==="prompt"){const Dn=jt.inputPattern;if(Dn&&!Dn.test(jt.inputValue||""))return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;const Hn=jt.inputValidator;if(typeof Hn=="function"){const Fn=Hn(jt.inputValue);if(Fn===!1)return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;if(typeof Fn=="string")return jt.editorErrorMessage=Fn,jt.validateError=!0,!1}}return jt.editorErrorMessage="",jt.validateError=!1,!0},Bn=()=>{const Dn=xn.value.$refs;return Dn.input||Dn.textarea},Vn=()=>{On("close")},Ln=()=>{xe.closeOnPressEscape&&Vn()};return xe.lockScroll&&useLockscreen(Lt),{...toRefs(jt),ns:Ue,overlayEvent:Mn,visible:Lt,hasMessage:wn,typeClass:hn,contentId:vn,inputId:bn,btnSize:qe,iconComponent:_n,confirmButtonClasses:Tn,rootRef:kn,focusStartRef:Sn,headerRef:Cn,inputRef:xn,confirmRef:En,doClose:Pn,handleClose:Vn,onCloseRequested:Ln,handleWrapperClick:Nn,handleInputEnter:In,handleAction:On,t:At}}}),_hoisted_1$2=["aria-label","aria-describedby"],_hoisted_2$2=["aria-label"],_hoisted_3$2=["id"];function _sfc_render(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("close"),Lt=resolveComponent("el-input"),jt=resolveComponent("el-button"),hn=resolveComponent("el-focus-trap"),vn=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:$e[11]||($e[11]=bn=>xe.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(vn,{"z-index":xe.zIndex,"overlay-class":[xe.ns.is("message-box"),xe.modalClass],mask:xe.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":xe.title,"aria-modal":"true","aria-describedby":xe.showInput?void 0:xe.contentId,class:normalizeClass(`${xe.ns.namespace.value}-overlay-message-box`),onClick:$e[8]||($e[8]=(...bn)=>xe.overlayEvent.onClick&&xe.overlayEvent.onClick(...bn)),onMousedown:$e[9]||($e[9]=(...bn)=>xe.overlayEvent.onMousedown&&xe.overlayEvent.onMousedown(...bn)),onMouseup:$e[10]||($e[10]=(...bn)=>xe.overlayEvent.onMouseup&&xe.overlayEvent.onMouseup(...bn))},[createVNode$1(hn,{loop:"",trapped:xe.visible,"focus-trap-el":xe.rootRef,"focus-start-el":xe.focusStartRef,onReleaseRequested:xe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([xe.ns.b(),xe.customClass,xe.ns.is("draggable",xe.draggable),{[xe.ns.m("center")]:xe.center}]),style:normalizeStyle$1(xe.customStyle),tabindex:"-1",onClick:$e[7]||($e[7]=withModifiers(()=>{},["stop"]))},[xe.title!==null&&xe.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([xe.ns.e("header"),{"show-close":xe.showClose}])},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.iconComponent&&xe.center?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(xe.title),1)],2),xe.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(xe.ns.e("headerbtn")),"aria-label":xe.t("el.messagebox.close"),onClick:$e[0]||($e[0]=bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel")),onKeydown:$e[1]||($e[1]=withKeys(withModifiers(bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode$1(At,{class:normalizeClass(xe.ns.e("close"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"])],42,_hoisted_2$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:xe.contentId,class:normalizeClass(xe.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("container"))},[xe.iconComponent&&!xe.center&&xe.hasMessage?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("message"))},[renderSlot(xe.$slots,"default",{},()=>[xe.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:1,for:xe.showInput?xe.inputId:void 0,innerHTML:xe.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:0,for:xe.showInput?xe.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.dangerouslyUseHTMLString?"":xe.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(xe.ns.e("input"))},[createVNode$1(Lt,{id:xe.inputId,ref:"inputRef",modelValue:xe.inputValue,"onUpdate:modelValue":$e[2]||($e[2]=bn=>xe.inputValue=bn),type:xe.inputType,placeholder:xe.inputPlaceholder,"aria-invalid":xe.validateError,class:normalizeClass({invalid:xe.validateError}),onKeydown:withKeys(xe.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(xe.ns.e("errormsg")),style:normalizeStyle$1({visibility:xe.editorErrorMessage?"visible":"hidden"})},toDisplayString(xe.editorErrorMessage),7)],2),[[vShow,xe.showInput]])],10,_hoisted_3$2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("btns"))},[xe.showCancelButton?(openBlock(),createBlock(jt,{key:0,loading:xe.cancelButtonLoading,class:normalizeClass([xe.cancelButtonClass]),round:xe.roundButton,size:xe.btnSize,onClick:$e[3]||($e[3]=bn=>xe.handleAction("cancel")),onKeydown:$e[4]||($e[4]=withKeys(withModifiers(bn=>xe.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.cancelButtonText||xe.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(jt,{ref:"confirmRef",type:"primary",loading:xe.confirmButtonLoading,class:normalizeClass([xe.confirmButtonClasses]),round:xe.roundButton,disabled:xe.confirmButtonDisabled,size:xe.btnSize,onClick:$e[5]||($e[5]=bn=>xe.handleAction("confirm")),onKeydown:$e[6]||($e[6]=withKeys(withModifiers(bn=>xe.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.confirmButtonText||xe.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,xe.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$2)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,xe.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$3,[["render",_sfc_render],["__file","index.vue"]]);const messageInstance=new Map,getAppendToElement=xe=>{let $e=document.body;return xe.appendTo&&(isString$4(xe.appendTo)&&($e=document.querySelector(xe.appendTo)),isElement$1(xe.appendTo)&&($e=xe.appendTo),isElement$1($e)||($e=document.body)),$e},initInstance=(xe,$e,Ie=null)=>{const Fe=createVNode$1(MessageBoxConstructor,xe,isFunction$5(xe.message)||isVNode(xe.message)?{default:isFunction$5(xe.message)?xe.message:()=>xe.message}:null);return Fe.appContext=Ie,render$2(Fe,$e),getAppendToElement(xe).appendChild($e.firstElementChild),Fe.component},genContainer=()=>document.createElement("div"),showMessage=(xe,$e)=>{const Ie=genContainer();xe.onVanish=()=>{render$2(null,Ie),messageInstance.delete(Ue)},xe.onAction=qe=>{const At=messageInstance.get(Ue);let Dt;xe.showInput?Dt={value:Ue.inputValue,action:qe}:Dt=qe,xe.callback?xe.callback(Dt,Fe.proxy):qe==="cancel"||qe==="close"?xe.distinguishCancelAndClose&&qe!=="cancel"?At.reject("close"):At.reject("cancel"):At.resolve(Dt)};const Fe=initInstance(xe,Ie,$e),Ue=Fe.proxy;for(const qe in xe)hasOwn$1(xe,qe)&&!hasOwn$1(Ue.$props,qe)&&(Ue[qe]=xe[qe]);return Ue.visible=!0,Ue};function MessageBox(xe,$e=null){if(!isClient$1)return Promise.reject();let Ie;return isString$4(xe)||isVNode(xe)?xe={message:xe}:Ie=xe.callback,new Promise((Fe,Ue)=>{const qe=showMessage(xe,$e??MessageBox._context);messageInstance.set(qe,{options:xe,callback:Ie,resolve:Fe,reject:Ue})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(xe=>{MessageBox[xe]=messageBoxFactory(xe)});function messageBoxFactory(xe){return($e,Ie,Fe,Ue)=>{let qe="";return isObject$8(Ie)?(Fe=Ie,qe=""):isUndefined(Ie)?qe="":qe=Ie,MessageBox(Object.assign({title:qe,message:$e,type:"",...MESSAGE_BOX_DEFAULT_OPTS[xe]},Fe,{boxType:xe}),Ue)}}MessageBox.close=()=>{messageInstance.forEach((xe,$e)=>{$e.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=xe=>{_MessageBox._context=xe._context,xe.config.globalProperties.$msgbox=_MessageBox,xe.config.globalProperties.$messageBox=_MessageBox,xe.config.globalProperties.$alert=_MessageBox.alert,xe.config.globalProperties.$confirm=_MessageBox.confirm,xe.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number}),notificationEmits={destroy:()=>!0},_hoisted_1$1=["id"],_hoisted_2$1=["textContent"],_hoisted_3$1={key:0},_hoisted_4$1=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$2=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(xe,{expose:$e}){const Ie=xe,{ns:Fe,zIndex:Ue}=useGlobalComponentSettings("notification"),{nextZIndex:qe,currentZIndex:At}=Ue,{Close:Dt}=CloseComponents,Lt=ref(!1);let jt;const hn=computed(()=>{const En=Ie.type;return En&&TypeComponentsMap[Ie.type]?Fe.m(En):""}),vn=computed(()=>Ie.type&&TypeComponentsMap[Ie.type]||Ie.icon),bn=computed(()=>Ie.position.endsWith("right")?"right":"left"),_n=computed(()=>Ie.position.startsWith("top")?"top":"bottom"),wn=computed(()=>{var En;return{[_n.value]:`${Ie.offset}px`,zIndex:(En=Ie.zIndex)!=null?En:At.value}});function kn(){Ie.duration>0&&({stop:jt}=useTimeoutFn$1(()=>{Lt.value&&Sn()},Ie.duration))}function Cn(){jt==null||jt()}function Sn(){Lt.value=!1}function xn({code:En}){En===EVENT_CODE.delete||En===EVENT_CODE.backspace?Cn():En===EVENT_CODE.esc?Lt.value&&Sn():kn()}return onMounted(()=>{kn(),qe(),Lt.value=!0}),useEventListener(document,"keydown",xn),$e({visible:Lt,close:Sn}),(En,Tn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),onBeforeLeave:En.onClose,onAfterLeave:Tn[1]||(Tn[1]=An=>En.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:En.id,class:normalizeClass([unref(Fe).b(),En.customClass,unref(bn)]),style:normalizeStyle$1(unref(wn)),role:"alert",onMouseenter:Cn,onMouseleave:kn,onClick:Tn[0]||(Tn[0]=(...An)=>En.onClick&&En.onClick(...An))},[unref(vn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Fe).e("icon"),unref(hn)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(vn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(Fe).e("title")),textContent:toDisplayString(En.title)},null,10,_hoisted_2$1),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content")),style:normalizeStyle$1(En.title?void 0:{margin:0})},[renderSlot(En.$slots,"default",{},()=>[En.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:En.message},null,8,_hoisted_4$1)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$1,toDisplayString(En.message),1))])],6),[[vShow,En.message]]),En.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Fe).e("closeBtn")),onClick:withModifiers(Sn,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Dt))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$1),[[vShow,Lt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$2,[["__file","notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(xe={},$e=null){if(!isClient$1)return{close:()=>{}};(typeof xe=="string"||isVNode(xe))&&(xe={message:xe});const Ie=xe.position||"top-right";let Fe=xe.offset||0;notifications[Ie].forEach(({vm:hn})=>{var vn;Fe+=(((vn=hn.el)==null?void 0:vn.offsetHeight)||0)+GAP_SIZE}),Fe+=GAP_SIZE;const Ue=`notification_${seed++}`,qe=xe.onClose,At={...xe,offset:Fe,id:Ue,onClose:()=>{close(Ue,Ie,qe)}};let Dt=document.body;isElement$1(xe.appendTo)?Dt=xe.appendTo:isString$4(xe.appendTo)&&(Dt=document.querySelector(xe.appendTo)),isElement$1(Dt)||(Dt=document.body);const Lt=document.createElement("div"),jt=createVNode$1(NotificationConstructor,At,isVNode(At.message)?{default:()=>At.message}:null);return jt.appContext=$e??notify._context,jt.props.onDestroy=()=>{render$2(null,Lt)},render$2(jt,Lt),notifications[Ie].push({vm:jt}),Dt.appendChild(Lt.firstElementChild),{close:()=>{jt.component.exposed.visible.value=!1}}};notificationTypes.forEach(xe=>{notify[xe]=($e={})=>((typeof $e=="string"||isVNode($e))&&($e={message:$e}),notify({...$e,type:xe}))});function close(xe,$e,Ie){const Fe=notifications[$e],Ue=Fe.findIndex(({vm:jt})=>{var hn;return((hn=jt.component)==null?void 0:hn.props.id)===xe});if(Ue===-1)return;const{vm:qe}=Fe[Ue];if(!qe)return;Ie==null||Ie(qe);const At=qe.el.offsetHeight,Dt=$e.split("-")[0];Fe.splice(Ue,1);const Lt=Fe.length;if(!(Lt<1))for(let jt=Ue;jt{$e.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]),nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT */(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie={};Ie.version="0.2.0";var Fe=Ie.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};Ie.configure=function(wn){var kn,Cn;for(kn in wn)Cn=wn[kn],Cn!==void 0&&wn.hasOwnProperty(kn)&&(Fe[kn]=Cn);return this},Ie.status=null,Ie.set=function(wn){var kn=Ie.isStarted();wn=Ue(wn,Fe.minimum,1),Ie.status=wn===1?null:wn;var Cn=Ie.render(!kn),Sn=Cn.querySelector(Fe.barSelector),xn=Fe.speed,En=Fe.easing;return Cn.offsetWidth,Dt(function(Tn){Fe.positionUsing===""&&(Fe.positionUsing=Ie.getPositioningCSS()),Lt(Sn,At(wn,xn,En)),wn===1?(Lt(Cn,{transition:"none",opacity:1}),Cn.offsetWidth,setTimeout(function(){Lt(Cn,{transition:"all "+xn+"ms linear",opacity:0}),setTimeout(function(){Ie.remove(),Tn()},xn)},xn)):setTimeout(Tn,xn)}),this},Ie.isStarted=function(){return typeof Ie.status=="number"},Ie.start=function(){Ie.status||Ie.set(0);var wn=function(){setTimeout(function(){Ie.status&&(Ie.trickle(),wn())},Fe.trickleSpeed)};return Fe.trickle&&wn(),this},Ie.done=function(wn){return!wn&&!Ie.status?this:Ie.inc(.3+.5*Math.random()).set(1)},Ie.inc=function(wn){var kn=Ie.status;return kn?(typeof wn!="number"&&(wn=(1-kn)*Ue(Math.random()*kn,.1,.95)),kn=Ue(kn+wn,0,.994),Ie.set(kn)):Ie.start()},Ie.trickle=function(){return Ie.inc(Math.random()*Fe.trickleRate)},function(){var wn=0,kn=0;Ie.promise=function(Cn){return!Cn||Cn.state()==="resolved"?this:(kn===0&&Ie.start(),wn++,kn++,Cn.always(function(){kn--,kn===0?(wn=0,Ie.done()):Ie.set((wn-kn)/wn)}),this)}}(),Ie.render=function(wn){if(Ie.isRendered())return document.getElementById("nprogress");hn(document.documentElement,"nprogress-busy");var kn=document.createElement("div");kn.id="nprogress",kn.innerHTML=Fe.template;var Cn=kn.querySelector(Fe.barSelector),Sn=wn?"-100":qe(Ie.status||0),xn=document.querySelector(Fe.parent),En;return Lt(Cn,{transition:"all 0 linear",transform:"translate3d("+Sn+"%,0,0)"}),Fe.showSpinner||(En=kn.querySelector(Fe.spinnerSelector),En&&_n(En)),xn!=document.body&&hn(xn,"nprogress-custom-parent"),xn.appendChild(kn),kn},Ie.remove=function(){vn(document.documentElement,"nprogress-busy"),vn(document.querySelector(Fe.parent),"nprogress-custom-parent");var wn=document.getElementById("nprogress");wn&&_n(wn)},Ie.isRendered=function(){return!!document.getElementById("nprogress")},Ie.getPositioningCSS=function(){var wn=document.body.style,kn="WebkitTransform"in wn?"Webkit":"MozTransform"in wn?"Moz":"msTransform"in wn?"ms":"OTransform"in wn?"O":"";return kn+"Perspective"in wn?"translate3d":kn+"Transform"in wn?"translate":"margin"};function Ue(wn,kn,Cn){return wnCn?Cn:wn}function qe(wn){return(-1+wn)*100}function At(wn,kn,Cn){var Sn;return Fe.positionUsing==="translate3d"?Sn={transform:"translate3d("+qe(wn)+"%,0,0)"}:Fe.positionUsing==="translate"?Sn={transform:"translate("+qe(wn)+"%,0)"}:Sn={"margin-left":qe(wn)+"%"},Sn.transition="all "+kn+"ms "+Cn,Sn}var Dt=function(){var wn=[];function kn(){var Cn=wn.shift();Cn&&Cn(kn)}return function(Cn){wn.push(Cn),wn.length==1&&kn()}}(),Lt=function(){var wn=["Webkit","O","Moz","ms"],kn={};function Cn(Tn){return Tn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(An,$n){return $n.toUpperCase()})}function Sn(Tn){var An=document.body.style;if(Tn in An)return Tn;for(var $n=wn.length,Pn=Tn.charAt(0).toUpperCase()+Tn.slice(1),Nn;$n--;)if(Nn=wn[$n]+Pn,Nn in An)return Nn;return Tn}function xn(Tn){return Tn=Cn(Tn),kn[Tn]||(kn[Tn]=Sn(Tn))}function En(Tn,An,$n){An=xn(An),Tn.style[An]=$n}return function(Tn,An){var $n=arguments,Pn,Nn;if($n.length==2)for(Pn in An)Nn=An[Pn],Nn!==void 0&&An.hasOwnProperty(Pn)&&En(Tn,Pn,Nn);else En(Tn,$n[1],$n[2])}}();function jt(wn,kn){var Cn=typeof wn=="string"?wn:bn(wn);return Cn.indexOf(" "+kn+" ")>=0}function hn(wn,kn){var Cn=bn(wn),Sn=Cn+kn;jt(Cn,kn)||(wn.className=Sn.substring(1))}function vn(wn,kn){var Cn=bn(wn),Sn;jt(wn,kn)&&(Sn=Cn.replace(" "+kn+" "," "),wn.className=Sn.substring(1,Sn.length-1))}function bn(wn){return(" "+(wn.className||"")+" ").replace(/\s+/gi," ")}function _n(wn){wn&&wn.parentNode&&wn.parentNode.removeChild(wn)}return Ie})})(nprogress$1);var nprogressExports=nprogress$1.exports;const nprogress=getDefaultExportFromCjs(nprogressExports);function tryOnScopeDispose(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function toValue(xe){return typeof xe=="function"?xe():unref(xe)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString=Object.prototype.toString,isObject$4=xe=>toString.call(xe)==="[object Object]",noop$1=()=>{};function createSingletonPromise(xe){let $e;function Ie(){return $e||($e=xe()),$e}return Ie.reset=async()=>{const Fe=$e;$e=void 0,Fe&&await Fe},Ie}function getLifeCycleTarget(xe){return getCurrentInstance()}function tryOnMounted(xe,$e=!0,Ie){getLifeCycleTarget()?onMounted(xe,Ie):$e?xe():nextTick(xe)}function useTimeoutFn(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},toValue($e))}return Fe&&(Ue.value=!0,isClient&&Lt()),tryOnScopeDispose(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function useNProgress(xe=null,$e){const Ie=ref(xe),Fe=computed({set:qe=>qe?nprogress.start():nprogress.done(),get:()=>typeof Ie.value=="number"&&Ie.value<1}),Ue=nprogress.set;return nprogress.set=qe=>(Ie.value=qe,Ue.call(nprogress,qe)),watchEffect(()=>{typeof Ie.value=="number"&&isClient&&Ue.call(nprogress,Ie.value)}),tryOnScopeDispose(nprogress.remove),{isLoading:Fe,progress:Ie,start:nprogress.start,done:nprogress.done,remove:()=>{Ie.value=null,nprogress.remove()}}}const pinia=createPinia(),useKeepAliveStore=defineStore("keepAlive",()=>{const xe=ref([]);function $e(Ue){typeof Ue=="string"?!xe.value.includes(Ue)&&xe.value.push(Ue):Ue.forEach(qe=>{qe&&!xe.value.includes(qe)&&xe.value.push(qe)})}function Ie(Ue){typeof Ue=="string"?xe.value=xe.value.filter(qe=>qe!==Ue):xe.value=xe.value.filter(qe=>!Ue.includes(qe))}function Fe(){xe.value=[]}return{list:xe,add:$e,remove:Ie,clean:Fe}}),menus={meta:{title:"多级导航",icon:"heroicons-solid:menu-alt-3"},children:[{path:"/multilevel_menu_example/page",meta:{title:"导航1"}},{meta:{title:"导航2"},children:[{path:"/multilevel_menu_example/level2/page",meta:{title:"导航2-1"}},{meta:{title:"导航2-2"},children:[{path:"/multilevel_menu_example/level2/level3/page1",meta:{title:"导航2-2-1"}},{path:"/multilevel_menu_example/level2/level3/page2",meta:{title:"导航2-2-2"}}]}]}]},menu=[{meta:{title:"演示",icon:"uim:box"},children:[menus]}];function assertPath(xe){if(typeof xe!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(xe))}function normalizeStringPosix(xe,$e){for(var Ie="",Fe=0,Ue=-1,qe=0,At,Dt=0;Dt<=xe.length;++Dt){if(Dt2){var Lt=Ie.lastIndexOf("/");if(Lt!==Ie.length-1){Lt===-1?(Ie="",Fe=0):(Ie=Ie.slice(0,Lt),Fe=Ie.length-1-Ie.lastIndexOf("/")),Ue=Dt,qe=0;continue}}else if(Ie.length===2||Ie.length===1){Ie="",Fe=0,Ue=Dt,qe=0;continue}}$e&&(Ie.length>0?Ie+="/..":Ie="..",Fe=2)}else Ie.length>0?Ie+="/"+xe.slice(Ue+1,Dt):Ie=xe.slice(Ue+1,Dt),Fe=Dt-Ue-1;Ue=Dt,qe=0}else At===46&&qe!==-1?++qe:qe=-1}return Ie}function _format(xe,$e){var Ie=$e.dir||$e.root,Fe=$e.base||($e.name||"")+($e.ext||"");return Ie?Ie===$e.root?Ie+Fe:Ie+xe+Fe:Fe}var posix={resolve:function xe(){for(var $e="",Ie=!1,Fe,Ue=arguments.length-1;Ue>=-1&&!Ie;Ue--){var qe;Ue>=0?qe=arguments[Ue]:(Fe===void 0&&(Fe=process.cwd()),qe=Fe),assertPath(qe),qe.length!==0&&($e=qe+"/"+$e,Ie=qe.charCodeAt(0)===47)}return $e=normalizeStringPosix($e,!Ie),Ie?$e.length>0?"/"+$e:"/":$e.length>0?$e:"."},normalize:function xe($e){if(assertPath($e),$e.length===0)return".";var Ie=$e.charCodeAt(0)===47,Fe=$e.charCodeAt($e.length-1)===47;return $e=normalizeStringPosix($e,!Ie),$e.length===0&&!Ie&&($e="."),$e.length>0&&Fe&&($e+="/"),Ie?"/"+$e:$e},isAbsolute:function xe($e){return assertPath($e),$e.length>0&&$e.charCodeAt(0)===47},join:function xe(){if(arguments.length===0)return".";for(var $e,Ie=0;Ie0&&($e===void 0?$e=Fe:$e+="/"+Fe)}return $e===void 0?".":posix.normalize($e)},relative:function xe($e,Ie){if(assertPath($e),assertPath(Ie),$e===Ie||($e=posix.resolve($e),Ie=posix.resolve(Ie),$e===Ie))return"";for(var Fe=1;Fe<$e.length&&$e.charCodeAt(Fe)===47;++Fe);for(var Ue=$e.length,qe=Ue-Fe,At=1;Atjt){if(Ie.charCodeAt(At+vn)===47)return Ie.slice(At+vn+1);if(vn===0)return Ie.slice(At+vn)}else qe>jt&&($e.charCodeAt(Fe+vn)===47?hn=vn:vn===0&&(hn=0));break}var bn=$e.charCodeAt(Fe+vn),_n=Ie.charCodeAt(At+vn);if(bn!==_n)break;bn===47&&(hn=vn)}var wn="";for(vn=Fe+hn+1;vn<=Ue;++vn)(vn===Ue||$e.charCodeAt(vn)===47)&&(wn.length===0?wn+="..":wn+="/..");return wn.length>0?wn+Ie.slice(At+hn):(At+=hn,Ie.charCodeAt(At)===47&&++At,Ie.slice(At))},_makeLong:function xe($e){return $e},dirname:function xe($e){if(assertPath($e),$e.length===0)return".";for(var Ie=$e.charCodeAt(0),Fe=Ie===47,Ue=-1,qe=!0,At=$e.length-1;At>=1;--At)if(Ie=$e.charCodeAt(At),Ie===47){if(!qe){Ue=At;break}}else qe=!1;return Ue===-1?Fe?"/":".":Fe&&Ue===1?"//":$e.slice(0,Ue)},basename:function xe($e,Ie){if(Ie!==void 0&&typeof Ie!="string")throw new TypeError('"ext" argument must be a string');assertPath($e);var Fe=0,Ue=-1,qe=!0,At;if(Ie!==void 0&&Ie.length>0&&Ie.length<=$e.length){if(Ie.length===$e.length&&Ie===$e)return"";var Dt=Ie.length-1,Lt=-1;for(At=$e.length-1;At>=0;--At){var jt=$e.charCodeAt(At);if(jt===47){if(!qe){Fe=At+1;break}}else Lt===-1&&(qe=!1,Lt=At+1),Dt>=0&&(jt===Ie.charCodeAt(Dt)?--Dt===-1&&(Ue=At):(Dt=-1,Ue=Lt))}return Fe===Ue?Ue=Lt:Ue===-1&&(Ue=$e.length),$e.slice(Fe,Ue)}else{for(At=$e.length-1;At>=0;--At)if($e.charCodeAt(At)===47){if(!qe){Fe=At+1;break}}else Ue===-1&&(qe=!1,Ue=At+1);return Ue===-1?"":$e.slice(Fe,Ue)}},extname:function xe($e){assertPath($e);for(var Ie=-1,Fe=0,Ue=-1,qe=!0,At=0,Dt=$e.length-1;Dt>=0;--Dt){var Lt=$e.charCodeAt(Dt);if(Lt===47){if(!qe){Fe=Dt+1;break}continue}Ue===-1&&(qe=!1,Ue=Dt+1),Lt===46?Ie===-1?Ie=Dt:At!==1&&(At=1):Ie!==-1&&(At=-1)}return Ie===-1||Ue===-1||At===0||At===1&&Ie===Ue-1&&Ie===Fe+1?"":$e.slice(Ie,Ue)},format:function xe($e){if($e===null||typeof $e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof $e);return _format("/",$e)},parse:function xe($e){assertPath($e);var Ie={root:"",dir:"",base:"",ext:"",name:""};if($e.length===0)return Ie;var Fe=$e.charCodeAt(0),Ue=Fe===47,qe;Ue?(Ie.root="/",qe=1):qe=0;for(var At=-1,Dt=0,Lt=-1,jt=!0,hn=$e.length-1,vn=0;hn>=qe;--hn){if(Fe=$e.charCodeAt(hn),Fe===47){if(!jt){Dt=hn+1;break}continue}Lt===-1&&(jt=!1,Lt=hn+1),Fe===46?At===-1?At=hn:vn!==1&&(vn=1):At!==-1&&(vn=-1)}return At===-1||Lt===-1||vn===0||vn===1&&At===Lt-1&&At===Dt+1?Lt!==-1&&(Dt===0&&Ue?Ie.base=Ie.name=$e.slice(1,Lt):Ie.base=Ie.name=$e.slice(Dt,Lt)):(Dt===0&&Ue?(Ie.name=$e.slice(1,At),Ie.base=$e.slice(1,Lt)):(Ie.name=$e.slice(Dt,At),Ie.base=$e.slice(Dt,Lt)),Ie.ext=$e.slice(At,Lt)),Dt>0?Ie.dir=$e.slice(0,Dt-1):Ue&&(Ie.dir="/"),Ie},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix;const path=getDefaultExportFromCjs(pathBrowserify);function resolveRoutePath(xe,$e){return xe?path.resolve(xe,$e??""):$e??""}const scriptRel="modulepreload",assetsURL=function(xe){return"/admin/"+xe},seen={},__vitePreload=function xe($e,Ie,Fe){let Ue=Promise.resolve();if(Ie&&Ie.length>0){document.getElementsByTagName("link");const qe=document.querySelector("meta[property=csp-nonce]"),At=(qe==null?void 0:qe.nonce)||(qe==null?void 0:qe.getAttribute("nonce"));Ue=Promise.all(Ie.map(Dt=>{if(Dt=assetsURL(Dt),Dt in seen)return;seen[Dt]=!0;const Lt=Dt.endsWith(".css"),jt=Lt?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${Dt}"]${jt}`))return;const hn=document.createElement("link");if(hn.rel=Lt?"stylesheet":scriptRel,Lt||(hn.as="script",hn.crossOrigin=""),hn.href=Dt,At&&hn.setAttribute("nonce",At),document.head.appendChild(hn),Lt)return new Promise((vn,bn)=>{hn.addEventListener("load",vn),hn.addEventListener("error",()=>bn(new Error(`Unable to preload CSS for ${Dt}`)))})}))}return Ue.then(()=>$e()).catch(qe=>{const At=new Event("vite:preloadError",{cancelable:!0});if(At.payload=qe,window.dispatchEvent(At),!At.defaultPrevented)throw qe})},apiDashboard={getBaseInfo:()=>api.get("/statistic/base"),getChatStatistic:xe=>api.get("/statistic/chatStatistic",{params:{days:xe.days}}),getBaiduVisit:xe=>api.get("/statistic/baiduVisit",{params:{days:xe.days}}),getObserverCharts:xe=>api.get("/statistic/observerCharts",{params:xe})};/*! ***************************************************************************** + `}),Lt=computed(()=>2*Math.PI*At.value),jt=computed(()=>$e.type==="dashboard"?.75:1),hn=computed(()=>`${-1*Lt.value*(1-jt.value)/2}px`),vn=computed(()=>({strokeDasharray:`${Lt.value*jt.value}px, ${Lt.value}px`,strokeDashoffset:hn.value})),bn=computed(()=>({strokeDasharray:`${Lt.value*jt.value*($e.percentage/100)}px, ${Lt.value}px`,strokeDashoffset:hn.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),_n=computed(()=>{let En;return $e.color?En=xn($e.percentage):En=Ie[$e.status]||Ie.default,En}),wn=computed(()=>$e.status==="warning"?warning_filled_default:$e.type==="line"?$e.status==="success"?circle_check_default:circle_close_default:$e.status==="success"?check_default:close_default),kn=computed(()=>$e.type==="line"?12+$e.strokeWidth*.4:$e.width*.111111+2),Cn=computed(()=>$e.format($e.percentage));function Sn(En){const Tn=100/En.length;return En.map(($n,Pn)=>isString$4($n)?{color:$n,percentage:(Pn+1)*Tn}:$n).sort(($n,Pn)=>$n.percentage-Pn.percentage)}const xn=En=>{var Tn;const{color:An}=$e;if(isFunction$5(An))return An(En);if(isString$4(An))return An;{const $n=Sn(An);for(const Pn of $n)if(Pn.percentage>En)return Pn.color;return(Tn=$n[$n.length-1])==null?void 0:Tn.color}};return(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(En.type),unref(Fe).is(En.status),{[unref(Fe).m("without-text")]:!En.showText,[unref(Fe).m("text-inside")]:En.textInside}]),role:"progressbar","aria-valuenow":En.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[En.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(Fe).be("bar","outer")),style:normalizeStyle$1({height:`${En.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(Fe).be("bar","inner"),{[unref(Fe).bem("bar","inner","indeterminate")]:En.indeterminate},{[unref(Fe).bem("bar","inner","striped")]:En.striped},{[unref(Fe).bem("bar","inner","striped-flow")]:En.stripedFlow}]),style:normalizeStyle$1(unref(Ue))},[(En.showText||En.$slots.default)&&En.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).be("bar","innerText"))},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[createBaseVNode("span",null,toDisplayString(unref(Cn)),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).b("circle")),style:normalizeStyle$1({height:`${En.width}px`,width:`${En.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$g,[createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","track")),d:unref(Dt),stroke:`var(${unref(Fe).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),fill:"none",style:normalizeStyle$1(unref(vn))},null,14,_hoisted_3$7),createBaseVNode("path",{class:normalizeClass(unref(Fe).be("circle","path")),d:unref(Dt),stroke:unref(_n),fill:"none",opacity:En.percentage?1:0,"stroke-linecap":En.strokeLinecap,"stroke-width":unref(qe),style:normalizeStyle$1(unref(bn))},null,14,_hoisted_4$4)]))],6)),(En.showText||En.$slots.default)&&!En.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(Fe).e("text")),style:normalizeStyle$1({fontSize:`${unref(kn)}px`})},[renderSlot(En.$slots,"default",{percentage:En.percentage},()=>[En.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$3,toDisplayString(unref(Cn)),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$o))}});var Progress=_export_sfc$1(_sfc_main$Q,[["__file","progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),rateEmits={[CHANGE_EVENT]:xe=>isNumber$1(xe),[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)},_hoisted_1$n=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$f=["onMousemove","onClick"],__default__$D=defineComponent({name:"ElRate"}),_sfc_main$P=defineComponent({...__default__$D,props:rateProps,emits:rateEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;function Ue(Dn,Hn){const Fn=Gn=>isObject$8(Gn),zn=Object.keys(Hn).map(Gn=>+Gn).filter(Gn=>{const Wn=Hn[Gn];return(Fn(Wn)?Wn.excluded:!1)?DnGn-Wn),jn=Hn[zn[0]];return Fn(jn)&&jn.value||jn}const qe=inject(formContextKey,void 0),At=inject(formItemContextKey,void 0),Dt=useFormSize(),Lt=useNamespace("rate"),{inputId:jt,isLabeledByFormItem:hn}=useFormItemInputId(Fe,{formItemContext:At}),vn=ref(Fe.modelValue),bn=ref(-1),_n=ref(!0),wn=computed(()=>[Lt.b(),Lt.m(Dt.value)]),kn=computed(()=>Fe.disabled||(qe==null?void 0:qe.disabled)),Cn=computed(()=>Lt.cssVarBlock({"void-color":Fe.voidColor,"disabled-void-color":Fe.disabledVoidColor,"fill-color":Tn.value})),Sn=computed(()=>{let Dn="";return Fe.showScore?Dn=Fe.scoreTemplate.replace(/\{\s*value\s*\}/,kn.value?`${Fe.modelValue}`:`${vn.value}`):Fe.showText&&(Dn=Fe.texts[Math.ceil(vn.value)-1]),Dn}),xn=computed(()=>Fe.modelValue*100-Math.floor(Fe.modelValue)*100),En=computed(()=>isArray$6(Fe.colors)?{[Fe.lowThreshold]:Fe.colors[0],[Fe.highThreshold]:{value:Fe.colors[1],excluded:!0},[Fe.max]:Fe.colors[2]}:Fe.colors),Tn=computed(()=>{const Dn=Ue(vn.value,En.value);return isObject$8(Dn)?"":Dn}),An=computed(()=>{let Dn="";return kn.value?Dn=`${xn.value}%`:Fe.allowHalf&&(Dn="50%"),{color:Tn.value,width:Dn}}),$n=computed(()=>{let Dn=isArray$6(Fe.icons)?[...Fe.icons]:{...Fe.icons};return Dn=markRaw(Dn),isArray$6(Dn)?{[Fe.lowThreshold]:Dn[0],[Fe.highThreshold]:{value:Dn[1],excluded:!0},[Fe.max]:Dn[2]}:Dn}),Pn=computed(()=>Ue(Fe.modelValue,$n.value)),Nn=computed(()=>kn.value?isString$4(Fe.disabledVoidIcon)?Fe.disabledVoidIcon:markRaw(Fe.disabledVoidIcon):isString$4(Fe.voidIcon)?Fe.voidIcon:markRaw(Fe.voidIcon)),Mn=computed(()=>Ue(vn.value,$n.value));function In(Dn){const Hn=kn.value&&xn.value>0&&Dn-1Fe.modelValue,Fn=Fe.allowHalf&&_n.value&&Dn-.5<=vn.value&&Dn>vn.value;return Hn||Fn}function On(Dn){Fe.clearable&&Dn===Fe.modelValue&&(Dn=0),Ie(UPDATE_MODEL_EVENT,Dn),Fe.modelValue!==Dn&&Ie("change",Dn)}function Rn(Dn){kn.value||(Fe.allowHalf&&_n.value?On(vn.value):On(Dn))}function Bn(Dn){if(kn.value)return;let Hn=vn.value;const Fn=Dn.code;return Fn===EVENT_CODE.up||Fn===EVENT_CODE.right?(Fe.allowHalf?Hn+=.5:Hn+=1,Dn.stopPropagation(),Dn.preventDefault()):(Fn===EVENT_CODE.left||Fn===EVENT_CODE.down)&&(Fe.allowHalf?Hn-=.5:Hn-=1,Dn.stopPropagation(),Dn.preventDefault()),Hn=Hn<0?0:Hn,Hn=Hn>Fe.max?Fe.max:Hn,Ie(UPDATE_MODEL_EVENT,Hn),Ie("change",Hn),Hn}function Vn(Dn,Hn){if(!kn.value){if(Fe.allowHalf&&Hn){let Fn=Hn.target;hasClass(Fn,Lt.e("item"))&&(Fn=Fn.querySelector(`.${Lt.e("icon")}`)),(Fn.clientWidth===0||hasClass(Fn,Lt.e("decimal")))&&(Fn=Fn.parentNode),_n.value=Hn.offsetX*2<=Fn.clientWidth,vn.value=_n.value?Dn-.5:Dn}else vn.value=Dn;bn.value=Dn}}function Ln(){kn.value||(Fe.allowHalf&&(_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)),vn.value=Fe.modelValue,bn.value=-1)}return watch(()=>Fe.modelValue,Dn=>{vn.value=Dn,_n.value=Fe.modelValue!==Math.floor(Fe.modelValue)}),Fe.modelValue||Ie(UPDATE_MODEL_EVENT,0),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-rate",ref:"https://element-plus.org/en-US/component/rate.html"},computed(()=>!!Fe.label)),$e({setCurrentValue:Vn,resetCurrentValue:Ln}),(Dn,Hn)=>{var Fn;return openBlock(),createElementBlock("div",{id:unref(jt),class:normalizeClass([unref(wn),unref(Lt).is("disabled",unref(kn))]),role:"slider","aria-label":unref(hn)?void 0:Dn.label||Dn.ariaLabel||"rating","aria-labelledby":unref(hn)?(Fn=unref(At))==null?void 0:Fn.labelId:void 0,"aria-valuenow":vn.value,"aria-valuetext":unref(Sn)||void 0,"aria-valuemin":"0","aria-valuemax":Dn.max,tabindex:"0",style:normalizeStyle$1(unref(Cn)),onKeydown:Bn},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dn.max,(zn,jn)=>(openBlock(),createElementBlock("span",{key:jn,class:normalizeClass(unref(Lt).e("item")),onMousemove:Gn=>Vn(zn,Gn),onMouseleave:Ln,onClick:Gn=>Rn(zn)},[createVNode$1(unref(ElIcon),{class:normalizeClass([unref(Lt).e("icon"),{hover:bn.value===zn},unref(Lt).is("active",zn<=vn.value)])},{default:withCtx(()=>[In(zn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Mn)),null,null,512)),[[vShow,zn<=vn.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),null,null,512)),[[vShow,!(zn<=vn.value)]])],64)),In(zn)?(openBlock(),createElementBlock(Fragment,{key:1},[(openBlock(),createBlock(resolveDynamicComponent(unref(Nn)),{class:normalizeClass([unref(Lt).em("decimal","box")])},null,8,["class"])),createVNode$1(unref(ElIcon),{style:normalizeStyle$1(unref(An)),class:normalizeClass([unref(Lt).e("icon"),unref(Lt).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Pn))))]),_:1},8,["style","class"])],64)):createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,_hoisted_2$f))),128)),Dn.showText||Dn.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Lt).e("text")),style:normalizeStyle$1({color:Dn.textColor})},toDisplayString(unref(Sn)),7)):createCommentVNode("v-if",!0)],46,_hoisted_1$n)}}});var Rate=_export_sfc$1(_sfc_main$P,[["__file","rate.vue"]]);const ElRate=withInstall(Rate),IconMap={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),__default__$C=defineComponent({name:"ElResult"}),_sfc_main$O=defineComponent({...__default__$C,props:resultProps,setup(xe){const $e=xe,Ie=useNamespace("result"),Fe=computed(()=>{const Ue=$e.icon,qe=Ue&&IconMap[Ue]?IconMap[Ue]:"icon-info",At=IconComponentMap[qe]||IconComponentMap["icon-info"];return{class:qe,component:At}});return(Ue,qe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Ie).b())},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("icon"))},[renderSlot(Ue.$slots,"icon",{},()=>[unref(Fe).component?(openBlock(),createBlock(resolveDynamicComponent(unref(Fe).component),{key:0,class:normalizeClass(unref(Fe).class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),Ue.title||Ue.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("title"))},[renderSlot(Ue.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString(Ue.title),1)])],2)):createCommentVNode("v-if",!0),Ue.subTitle||Ue.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ie).e("subtitle"))},[renderSlot(Ue.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString(Ue.subTitle),1)])],2)):createCommentVNode("v-if",!0),Ue.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(Ie).e("extra"))},[renderSlot(Ue.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc$1(_sfc_main$O,[["__file","result.vue"]]);const ElResult=withInstall(Result);var safeIsNaN=Number.isNaN||function xe($e){return typeof $e=="number"&&$e!==$e};function isEqual(xe,$e){return!!(xe===$e||safeIsNaN(xe)&&safeIsNaN($e))}function areInputsEqual(xe,$e){if(xe.length!==$e.length)return!1;for(var Ie=0;Ie{const $e=getCurrentInstance().proxy.$props;return computed(()=>{const Ie=(Fe,Ue,qe)=>({});return $e.perfMode?memoize(Ie):memoizeOne(Ie)})},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL$1]:"left",[VERTICAL$1]:"top"},SCROLLBAR_MIN_SIZE=20,LayoutKeys={[HORIZONTAL$1]:"deltaX",[VERTICAL$1]:"deltaY"},useWheel=({atEndEdge:xe,atStartEdge:$e,layout:Ie},Fe)=>{let Ue,qe=0;const At=Lt=>Lt<0&&$e.value||Lt>0&&xe.value;return{hasReachedEdge:At,onWheel:Lt=>{cAF(Ue);const jt=Lt[LayoutKeys[Ie.value]];At(qe)&&At(qe+jt)||(qe+=jt,isFirefox()||Lt.preventDefault(),Ue=rAF(()=>{Fe(qe),qe=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total=buildProp({type:Number,required:!0}),layout$4=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL$1}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:definePropType([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),virtualizedListProps=buildProps({cache,estimatedItemSize,layout:layout$4,initScrollOffset,total,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:xe,rowIndex:$e})=>`${$e}:${xe}`},rowCache:cache,rowHeight:itemSize$1,totalColumn:total,totalRow:total,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout$4,total,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(xe,$e)=>xe<$e?FORWARD:BACKWARD,isHorizontal=xe=>xe===LTR||xe===RTL||xe===HORIZONTAL$1,isRTL=xe=>xe===RTL;let cachedRTLResult=null;function getRTLOffsetType(xe=!1){if(cachedRTLResult===null||xe){const $e=document.createElement("div"),Ie=$e.style;Ie.width="50px",Ie.height="50px",Ie.overflow="scroll",Ie.direction="rtl";const Fe=document.createElement("div"),Ue=Fe.style;return Ue.width="100px",Ue.height="100px",$e.appendChild(Fe),document.body.appendChild($e),$e.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:($e.scrollLeft=1,$e.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild($e),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:xe,size:$e,bar:Ie},Fe){const Ue={},qe=`translate${Ie.axis}(${xe}px)`;return Ue[Ie.size]=$e,Ue.transform=qe,Ue.msTransform=qe,Ue.webkitTransform=qe,Fe==="horizontal"?Ue.height="100%":Ue.width="100%",Ue}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(xe,{emit:$e}){const Ie=computed(()=>xe.startGap+xe.endGap),Fe=useNamespace("virtual-scrollbar"),Ue=useNamespace("scrollbar"),qe=ref(),At=ref();let Dt=null,Lt=null;const jt=reactive({isDragging:!1,traveled:0}),hn=computed(()=>BAR_MAP[xe.layout]),vn=computed(()=>xe.clientSize-unref(Ie)),bn=computed(()=>({position:"absolute",width:`${HORIZONTAL$1===xe.layout?vn.value:xe.scrollbarSize}px`,height:`${HORIZONTAL$1===xe.layout?xe.scrollbarSize:vn.value}px`,[ScrollbarDirKey[xe.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),_n=computed(()=>{const $n=xe.ratio,Pn=xe.clientSize;if($n>=100)return Number.POSITIVE_INFINITY;if($n>=50)return $n*Pn/100;const Nn=Pn/3;return Math.floor(Math.min(Math.max($n*Pn,SCROLLBAR_MIN_SIZE),Nn))}),wn=computed(()=>{if(!Number.isFinite(_n.value))return{display:"none"};const $n=`${_n.value}px`;return renderThumbStyle({bar:hn.value,size:$n,move:jt.traveled},xe.layout)}),kn=computed(()=>Math.floor(xe.clientSize-_n.value-unref(Ie))),Cn=()=>{window.addEventListener("mousemove",Tn),window.addEventListener("mouseup",En);const $n=unref(At);$n&&(Lt=document.onselectstart,document.onselectstart=()=>!1,$n.addEventListener("touchmove",Tn),$n.addEventListener("touchend",En))},Sn=()=>{window.removeEventListener("mousemove",Tn),window.removeEventListener("mouseup",En),document.onselectstart=Lt,Lt=null;const $n=unref(At);$n&&($n.removeEventListener("touchmove",Tn),$n.removeEventListener("touchend",En))},xn=$n=>{$n.stopImmediatePropagation(),!($n.ctrlKey||[1,2].includes($n.button))&&(jt.isDragging=!0,jt[hn.value.axis]=$n.currentTarget[hn.value.offset]-($n[hn.value.client]-$n.currentTarget.getBoundingClientRect()[hn.value.direction]),$e("start-move"),Cn())},En=()=>{jt.isDragging=!1,jt[hn.value.axis]=0,$e("stop-move"),Sn()},Tn=$n=>{const{isDragging:Pn}=jt;if(!Pn||!At.value||!qe.value)return;const Nn=jt[hn.value.axis];if(!Nn)return;cAF(Dt);const Mn=(qe.value.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client])*-1,In=At.value[hn.value.offset]-Nn,On=Mn-In;Dt=rAF(()=>{jt.traveled=Math.max(xe.startGap,Math.min(On,kn.value)),$e("scroll",On,kn.value)})},An=$n=>{const Pn=Math.abs($n.target.getBoundingClientRect()[hn.value.direction]-$n[hn.value.client]),Nn=At.value[hn.value.offset]/2,Mn=Pn-Nn;jt.traveled=Math.max(0,Math.min(Mn,kn.value)),$e("scroll",Mn,kn.value)};return watch(()=>xe.scrollFrom,$n=>{jt.isDragging||(jt.traveled=Math.ceil($n*kn.value))}),onBeforeUnmount(()=>{Sn()}),()=>h$5("div",{role:"presentation",ref:qe,class:[Fe.b(),xe.class,(xe.alwaysOn||jt.isDragging)&&"always-on"],style:bn.value,onMousedown:withModifiers(An,["stop","prevent"]),onTouchstartPrevent:xn},h$5("div",{ref:At,class:Ue.e("thumb"),style:wn.value,onMousedown:xn},[]))}}),createList$2=({name:xe,getOffset:$e,getItemSize:Ie,getItemOffset:Fe,getEstimatedTotalSize:Ue,getStartIndexForOffset:qe,getStopIndexForStartIndex:At,initCache:Dt,clearCache:Lt,validateProps:jt})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(hn,{emit:vn,expose:bn}){jt(hn);const _n=getCurrentInstance(),wn=useNamespace("vl"),kn=ref(Dt(hn,_n)),Cn=useCache(),Sn=ref(),xn=ref(),En=ref(),Tn=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$1(hn.initScrollOffset)?hn.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:hn.scrollbarAlwaysOn}),An=computed(()=>{const{total:Xn,cache:er}=hn,{isScrolling:rr,scrollDir:Jn,scrollOffset:qn}=unref(Tn);if(Xn===0)return[0,0,0,0];const Yn=qe(hn,qn,unref(kn)),ar=At(hn,Yn,qn,unref(kn)),tr=!rr||Jn===BACKWARD?Math.max(1,er):1,or=!rr||Jn===FORWARD?Math.max(1,er):1;return[Math.max(0,Yn-tr),Math.max(0,Math.min(Xn-1,ar+or)),Yn,ar]}),$n=computed(()=>Ue(hn,unref(kn))),Pn=computed(()=>isHorizontal(hn.layout)),Nn=computed(()=>[{position:"relative",[`overflow-${Pn.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:hn.direction,height:isNumber$1(hn.height)?`${hn.height}px`:hn.height,width:isNumber$1(hn.width)?`${hn.width}px`:hn.width},hn.style]),Mn=computed(()=>{const Xn=unref($n),er=unref(Pn);return{height:er?"100%":`${Xn}px`,pointerEvents:unref(Tn).isScrolling?"none":void 0,width:er?`${Xn}px`:"100%"}}),In=computed(()=>Pn.value?hn.width:hn.height),{onWheel:On}=useWheel({atStartEdge:computed(()=>Tn.value.scrollOffset<=0),atEndEdge:computed(()=>Tn.value.scrollOffset>=$n.value),layout:computed(()=>hn.layout)},Xn=>{var er,rr;(rr=(er=En.value).onMouseUp)==null||rr.call(er),Hn(Math.min(Tn.value.scrollOffset+Xn,$n.value-In.value))}),Rn=()=>{const{total:Xn}=hn;if(Xn>0){const[qn,Yn,ar,tr]=unref(An);vn(ITEM_RENDER_EVT,qn,Yn,ar,tr)}const{scrollDir:er,scrollOffset:rr,updateRequested:Jn}=unref(Tn);vn(SCROLL_EVT,er,rr,Jn)},Bn=Xn=>{const{clientHeight:er,scrollHeight:rr,scrollTop:Jn}=Xn.currentTarget,qn=unref(Tn);if(qn.scrollOffset===Jn)return;const Yn=Math.max(0,Math.min(Jn,rr-er));Tn.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,Yn),scrollOffset:Yn,updateRequested:!1},nextTick(jn)},Vn=Xn=>{const{clientWidth:er,scrollLeft:rr,scrollWidth:Jn}=Xn.currentTarget,qn=unref(Tn);if(qn.scrollOffset===rr)return;const{direction:Yn}=hn;let ar=rr;if(Yn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{ar=-rr;break}case RTL_OFFSET_POS_DESC:{ar=Jn-er-rr;break}}ar=Math.max(0,Math.min(ar,Jn-er)),Tn.value={...qn,isScrolling:!0,scrollDir:getScrollDir(qn.scrollOffset,ar),scrollOffset:ar,updateRequested:!1},nextTick(jn)},Ln=Xn=>{unref(Pn)?Vn(Xn):Bn(Xn),Rn()},Dn=(Xn,er)=>{const rr=($n.value-In.value)/er*Xn;Hn(Math.min($n.value-In.value,rr))},Hn=Xn=>{Xn=Math.max(Xn,0),Xn!==unref(Tn).scrollOffset&&(Tn.value={...unref(Tn),scrollOffset:Xn,scrollDir:getScrollDir(unref(Tn).scrollOffset,Xn),updateRequested:!0},nextTick(jn))},Fn=(Xn,er=AUTO_ALIGNMENT)=>{const{scrollOffset:rr}=unref(Tn);Xn=Math.max(0,Math.min(Xn,hn.total-1)),Hn($e(hn,Xn,er,rr,unref(kn)))},zn=Xn=>{const{direction:er,itemSize:rr,layout:Jn}=hn,qn=Cn.value(Lt&&rr,Lt&&Jn,Lt&&er);let Yn;if(hasOwn$1(qn,String(Xn)))Yn=qn[Xn];else{const ar=Fe(hn,Xn,unref(kn)),tr=Ie(hn,Xn,unref(kn)),or=unref(Pn),sr=er===RTL,Kn=or?ar:0;qn[Xn]=Yn={position:"absolute",left:sr?void 0:`${Kn}px`,right:sr?`${Kn}px`:void 0,top:or?0:`${ar}px`,height:or?"100%":`${tr}px`,width:or?`${tr}px`:"100%"}}return Yn},jn=()=>{Tn.value.isScrolling=!1,nextTick(()=>{Cn.value(-1,null,null)})},Gn=()=>{const Xn=Sn.value;Xn&&(Xn.scrollTop=0)};onMounted(()=>{if(!isClient$1)return;const{initScrollOffset:Xn}=hn,er=unref(Sn);isNumber$1(Xn)&&er&&(unref(Pn)?er.scrollLeft=Xn:er.scrollTop=Xn),Rn()}),onUpdated(()=>{const{direction:Xn,layout:er}=hn,{scrollOffset:rr,updateRequested:Jn}=unref(Tn),qn=unref(Sn);if(Jn&&qn)if(er===HORIZONTAL$1)if(Xn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{qn.scrollLeft=-rr;break}case RTL_OFFSET_POS_ASC:{qn.scrollLeft=rr;break}default:{const{clientWidth:Yn,scrollWidth:ar}=qn;qn.scrollLeft=ar-Yn-rr;break}}else qn.scrollLeft=rr;else qn.scrollTop=rr});const Wn={ns:wn,clientSize:In,estimatedTotalSize:$n,windowStyle:Nn,windowRef:Sn,innerRef:xn,innerStyle:Mn,itemsToRender:An,scrollbarRef:En,states:Tn,getItemStyle:zn,onScroll:Ln,onScrollbarScroll:Dn,onWheel:On,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn};return bn({windowRef:Sn,innerRef:xn,getItemStyleCache:Cn,scrollTo:Hn,scrollToItem:Fn,resetScrollTop:Gn,states:Tn}),Wn},render(hn){var vn;const{$slots:bn,className:_n,clientSize:wn,containerElement:kn,data:Cn,getItemStyle:Sn,innerElement:xn,itemsToRender:En,innerStyle:Tn,layout:An,total:$n,onScroll:Pn,onScrollbarScroll:Nn,onWheel:Mn,states:In,useIsScrolling:On,windowStyle:Rn,ns:Bn}=hn,[Vn,Ln]=En,Dn=resolveDynamicComponent(kn),Hn=resolveDynamicComponent(xn),Fn=[];if($n>0)for(let Wn=Vn;Wn<=Ln;Wn++)Fn.push((vn=bn.default)==null?void 0:vn.call(bn,{data:Cn,key:Wn,index:Wn,isScrolling:On?In.isScrolling:void 0,style:Sn(Wn)}));const zn=[h$5(Hn,{style:Tn,ref:"innerRef"},isString$4(Hn)?Fn:{default:()=>Fn})],jn=h$5(ScrollBar,{ref:"scrollbarRef",clientSize:wn,layout:An,onScroll:Nn,ratio:wn*100/this.estimatedTotalSize,scrollFrom:In.scrollOffset/(this.estimatedTotalSize-wn),total:$n}),Gn=h$5(Dn,{class:[Bn.e("window"),_n],style:Rn,onScroll:Pn,onWheel:Mn,ref:"windowRef",key:0},isString$4(Dn)?[zn]:{default:()=>[zn]});return h$5("div",{key:0,class:[Bn.e("wrapper"),In.scrollbarAlwaysOn?"always-on":""]},[Gn,jn])}}),FixedSizeList=createList$2({name:"ElFixedSizeList",getItemOffset:({itemSize:xe},$e)=>$e*xe,getItemSize:({itemSize:xe})=>xe,getEstimatedTotalSize:({total:xe,itemSize:$e})=>$e*xe,getOffset:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At,Dt)=>{const Lt=isHorizontal(Fe)?Ue:xe,jt=Math.max(0,$e*Ie-Lt),hn=Math.min(jt,qe*Ie),vn=Math.max(0,(qe+1)*Ie-Lt);switch(At===SMART_ALIGNMENT&&(Dt>=vn-Lt&&Dt<=hn+Lt?At=AUTO_ALIGNMENT:At=CENTERED_ALIGNMENT),At){case START_ALIGNMENT:return hn;case END_ALIGNMENT:return vn;case CENTERED_ALIGNMENT:{const bn=Math.round(vn+(hn-vn)/2);return bnjt+Math.floor(Lt/2)?jt:bn}case AUTO_ALIGNMENT:default:return Dt>=vn&&Dt<=hn?Dt:DtMath.max(0,Math.min(xe-1,Math.floor(Ie/$e))),getStopIndexForStartIndex:({height:xe,total:$e,itemSize:Ie,layout:Fe,width:Ue},qe,At)=>{const Dt=qe*Ie,Lt=isHorizontal(Fe)?Ue:xe,jt=Math.ceil((Lt+At-Dt)/Ie);return Math.max(0,Math.min($e-1,qe+jt-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(xe,$e,Ie)=>{const{itemSize:Fe}=xe,{items:Ue,lastVisitedIndex:qe}=Ie;if($e>qe){let At=0;if(qe>=0){const Dt=Ue[qe];At=Dt.offset+Dt.size}for(let Dt=qe+1;Dt<=$e;Dt++){const Lt=Fe(Dt);Ue[Dt]={offset:At,size:Lt},At+=Lt}Ie.lastVisitedIndex=$e}return Ue[$e]},findItem$1=(xe,$e,Ie)=>{const{items:Fe,lastVisitedIndex:Ue}=$e;return(Ue>0?Fe[Ue].offset:0)>=Ie?bs$1(xe,$e,0,Ue,Ie):es$1(xe,$e,Math.max(0,Ue),Ie)},bs$1=(xe,$e,Ie,Fe,Ue)=>{for(;Ie<=Fe;){const qe=Ie+Math.floor((Fe-Ie)/2),At=getItemFromCache$1(xe,qe,$e).offset;if(At===Ue)return qe;AtUe&&(Fe=qe-1)}return Math.max(0,Ie-1)},es$1=(xe,$e,Ie,Fe)=>{const{total:Ue}=xe;let qe=1;for(;Ie{let Ue=0;if(Fe>=xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},DynamicSizeList=createList$2({name:"ElDynamicSizeList",getItemOffset:(xe,$e,Ie)=>getItemFromCache$1(xe,$e,Ie).offset,getItemSize:(xe,$e,{items:Ie})=>Ie[$e].size,getEstimatedTotalSize,getOffset:(xe,$e,Ie,Fe,Ue)=>{const{height:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:qe,jt=getItemFromCache$1(xe,$e,Ue),hn=getEstimatedTotalSize(xe,Ue),vn=Math.max(0,Math.min(hn-Lt,jt.offset)),bn=Math.max(0,jt.offset-Lt+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Lt&&Fe<=vn+Lt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:FefindItem$1(xe,Ie,$e),getStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{height:Ue,total:qe,layout:At,width:Dt}=xe,Lt=isHorizontal(At)?Dt:Ue,jt=getItemFromCache$1(xe,$e,Fe),hn=Ie+Lt;let vn=jt.offset+jt.size,bn=$e;for(;bn{var qe,At;Ie.lastVisitedIndex=Math.min(Ie.lastVisitedIndex,Fe-1),(qe=$e.exposed)==null||qe.getItemStyleCache(-1),Ue&&((At=$e.proxy)==null||At.$forceUpdate())},Ie},clearCache:!1,validateProps:({itemSize:xe})=>{}}),useGridWheel=({atXEndEdge:xe,atXStartEdge:$e,atYEndEdge:Ie,atYStartEdge:Fe},Ue)=>{let qe=null,At=0,Dt=0;const Lt=(hn,vn)=>{const bn=hn<=0&&$e.value||hn>=0&&xe.value,_n=vn<=0&&Fe.value||vn>=0&&Ie.value;return bn&&_n};return{hasReachedEdge:Lt,onWheel:hn=>{cAF(qe);let vn=hn.deltaX,bn=hn.deltaY;Math.abs(vn)>Math.abs(bn)?bn=0:vn=0,hn.shiftKey&&bn!==0&&(vn=bn,bn=0),!(Lt(At,Dt)&&Lt(At+vn,Dt+bn))&&(At+=vn,Dt+=bn,hn.preventDefault(),qe=rAF(()=>{Ue(At,Dt),At=0,Dt=0}))}}},createGrid=({name:xe,clearCache:$e,getColumnPosition:Ie,getColumnStartIndexForOffset:Fe,getColumnStopIndexForStartIndex:Ue,getEstimatedTotalHeight:qe,getEstimatedTotalWidth:At,getColumnOffset:Dt,getRowOffset:Lt,getRowPosition:jt,getRowStartIndexForOffset:hn,getRowStopIndexForStartIndex:vn,initCache:bn,injectToInstance:_n,validateProps:wn})=>defineComponent({name:xe??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(kn,{emit:Cn,expose:Sn,slots:xn}){const En=useNamespace("vl");wn(kn);const Tn=getCurrentInstance(),An=ref(bn(kn,Tn));_n==null||_n(Tn,An);const $n=ref(),Pn=ref(),Nn=ref(),Mn=ref(null),In=ref({isScrolling:!1,scrollLeft:isNumber$1(kn.initScrollLeft)?kn.initScrollLeft:0,scrollTop:isNumber$1(kn.initScrollTop)?kn.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),On=useCache(),Rn=computed(()=>Number.parseInt(`${kn.height}`,10)),Bn=computed(()=>Number.parseInt(`${kn.width}`,10)),Vn=computed(()=>{const{totalColumn:ir,totalRow:kr,columnCache:Cr}=kn,{isScrolling:Er,xAxisScrollDir:dr,scrollLeft:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=Fe(kn,br,unref(An)),Pr=Ue(kn,_r,br,unref(An)),gr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-gr),Math.max(0,Math.min(ir-1,Pr+xr)),_r,Pr]}),Ln=computed(()=>{const{totalColumn:ir,totalRow:kr,rowCache:Cr}=kn,{isScrolling:Er,yAxisScrollDir:dr,scrollTop:br}=unref(In);if(ir===0||kr===0)return[0,0,0,0];const _r=hn(kn,br,unref(An)),Pr=vn(kn,_r,br,unref(An)),gr=!Er||dr===BACKWARD?Math.max(1,Cr):1,xr=!Er||dr===FORWARD?Math.max(1,Cr):1;return[Math.max(0,_r-gr),Math.max(0,Math.min(kr-1,Pr+xr)),_r,Pr]}),Dn=computed(()=>qe(kn,unref(An))),Hn=computed(()=>At(kn,unref(An))),Fn=computed(()=>{var ir;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:kn.direction,height:isNumber$1(kn.height)?`${kn.height}px`:kn.height,width:isNumber$1(kn.width)?`${kn.width}px`:kn.width},(ir=kn.style)!=null?ir:{}]}),zn=computed(()=>{const ir=`${unref(Hn)}px`;return{height:`${unref(Dn)}px`,pointerEvents:unref(In).isScrolling?"none":void 0,width:ir}}),jn=()=>{const{totalColumn:ir,totalRow:kr}=kn;if(ir>0&&kr>0){const[Pr,gr,xr,Rr]=unref(Vn),[Hr,Jr,Gr,$r]=unref(Ln);Cn(ITEM_RENDER_EVT,{columnCacheStart:Pr,columnCacheEnd:gr,rowCacheStart:Hr,rowCacheEnd:Jr,columnVisibleStart:xr,columnVisibleEnd:Rr,rowVisibleStart:Gr,rowVisibleEnd:$r})}const{scrollLeft:Cr,scrollTop:Er,updateRequested:dr,xAxisScrollDir:br,yAxisScrollDir:_r}=unref(In);Cn(SCROLL_EVT,{xAxisScrollDir:br,scrollLeft:Cr,yAxisScrollDir:_r,scrollTop:Er,updateRequested:dr})},Gn=ir=>{const{clientHeight:kr,clientWidth:Cr,scrollHeight:Er,scrollLeft:dr,scrollTop:br,scrollWidth:_r}=ir.currentTarget,Pr=unref(In);if(Pr.scrollTop===br&&Pr.scrollLeft===dr)return;let gr=dr;if(isRTL(kn.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:gr=-dr;break;case RTL_OFFSET_POS_DESC:gr=_r-Cr-dr;break}In.value={...Pr,isScrolling:!0,scrollLeft:gr,scrollTop:Math.max(0,Math.min(br,Er-kr)),updateRequested:!0,xAxisScrollDir:getScrollDir(Pr.scrollLeft,gr),yAxisScrollDir:getScrollDir(Pr.scrollTop,br)},nextTick(()=>Yn()),ar(),jn()},Wn=(ir,kr)=>{const Cr=unref(Rn),Er=(Dn.value-Cr)/kr*ir;rr({scrollTop:Math.min(Dn.value-Cr,Er)})},Xn=(ir,kr)=>{const Cr=unref(Bn),Er=(Hn.value-Cr)/kr*ir;rr({scrollLeft:Math.min(Hn.value-Cr,Er)})},{onWheel:er}=useGridWheel({atXStartEdge:computed(()=>In.value.scrollLeft<=0),atXEndEdge:computed(()=>In.value.scrollLeft>=Hn.value-unref(Bn)),atYStartEdge:computed(()=>In.value.scrollTop<=0),atYEndEdge:computed(()=>In.value.scrollTop>=Dn.value-unref(Rn))},(ir,kr)=>{var Cr,Er,dr,br;(Er=(Cr=Pn.value)==null?void 0:Cr.onMouseUp)==null||Er.call(Cr),(br=(dr=Nn.value)==null?void 0:dr.onMouseUp)==null||br.call(dr);const _r=unref(Bn),Pr=unref(Rn);rr({scrollLeft:Math.min(In.value.scrollLeft+ir,Hn.value-_r),scrollTop:Math.min(In.value.scrollTop+kr,Dn.value-Pr)})}),rr=({scrollLeft:ir=In.value.scrollLeft,scrollTop:kr=In.value.scrollTop})=>{ir=Math.max(ir,0),kr=Math.max(kr,0);const Cr=unref(In);kr===Cr.scrollTop&&ir===Cr.scrollLeft||(In.value={...Cr,xAxisScrollDir:getScrollDir(Cr.scrollLeft,ir),yAxisScrollDir:getScrollDir(Cr.scrollTop,kr),scrollLeft:ir,scrollTop:kr,updateRequested:!0},nextTick(()=>Yn()),ar(),jn())},Jn=(ir=0,kr=0,Cr=AUTO_ALIGNMENT)=>{const Er=unref(In);kr=Math.max(0,Math.min(kr,kn.totalColumn-1)),ir=Math.max(0,Math.min(ir,kn.totalRow-1));const dr=getScrollBarWidth(En.namespace.value),br=unref(An),_r=qe(kn,br),Pr=At(kn,br);rr({scrollLeft:Dt(kn,kr,Cr,Er.scrollLeft,br,Pr>kn.width?dr:0),scrollTop:Lt(kn,ir,Cr,Er.scrollTop,br,_r>kn.height?dr:0)})},qn=(ir,kr)=>{const{columnWidth:Cr,direction:Er,rowHeight:dr}=kn,br=On.value($e&&Cr,$e&&dr,$e&&Er),_r=`${ir},${kr}`;if(hasOwn$1(br,_r))return br[_r];{const[,Pr]=Ie(kn,kr,unref(An)),gr=unref(An),xr=isRTL(Er),[Rr,Hr]=jt(kn,ir,gr),[Jr]=Ie(kn,kr,gr);return br[_r]={position:"absolute",left:xr?void 0:`${Pr}px`,right:xr?`${Pr}px`:void 0,top:`${Hr}px`,height:`${Rr}px`,width:`${Jr}px`},br[_r]}},Yn=()=>{In.value.isScrolling=!1,nextTick(()=>{On.value(-1,null,null)})};onMounted(()=>{if(!isClient$1)return;const{initScrollLeft:ir,initScrollTop:kr}=kn,Cr=unref($n);Cr&&(isNumber$1(ir)&&(Cr.scrollLeft=ir),isNumber$1(kr)&&(Cr.scrollTop=kr)),jn()});const ar=()=>{const{direction:ir}=kn,{scrollLeft:kr,scrollTop:Cr,updateRequested:Er}=unref(In),dr=unref($n);if(Er&&dr){if(ir===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{dr.scrollLeft=-kr;break}case RTL_OFFSET_POS_ASC:{dr.scrollLeft=kr;break}default:{const{clientWidth:br,scrollWidth:_r}=dr;dr.scrollLeft=_r-br-kr;break}}else dr.scrollLeft=Math.max(0,kr);dr.scrollTop=Math.max(0,Cr)}},{resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr}=Tn.proxy;Sn({windowRef:$n,innerRef:Mn,getItemStyleCache:On,scrollTo:rr,scrollToItem:Jn,states:In,resetAfterColumnIndex:tr,resetAfterRowIndex:or,resetAfter:sr});const Kn=()=>{const{scrollbarAlwaysOn:ir,scrollbarStartGap:kr,scrollbarEndGap:Cr,totalColumn:Er,totalRow:dr}=kn,br=unref(Bn),_r=unref(Rn),Pr=unref(Hn),gr=unref(Dn),{scrollLeft:xr,scrollTop:Rr}=unref(In),Hr=h$5(ScrollBar,{ref:Pn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("horizontal"),clientSize:br,layout:"horizontal",onScroll:Xn,ratio:br*100/Pr,scrollFrom:xr/(Pr-br),total:dr,visible:!0}),Jr=h$5(ScrollBar,{ref:Nn,alwaysOn:ir,startGap:kr,endGap:Cr,class:En.e("vertical"),clientSize:_r,layout:"vertical",onScroll:Wn,ratio:_r*100/gr,scrollFrom:Rr/(gr-_r),total:Er,visible:!0});return{horizontalScrollbar:Hr,verticalScrollbar:Jr}},Zn=()=>{var ir;const[kr,Cr]=unref(Vn),[Er,dr]=unref(Ln),{data:br,totalColumn:_r,totalRow:Pr,useIsScrolling:gr,itemKey:xr}=kn,Rr=[];if(Pr>0&&_r>0)for(let Hr=Er;Hr<=dr;Hr++)for(let Jr=kr;Jr<=Cr;Jr++)Rr.push((ir=xn.default)==null?void 0:ir.call(xn,{columnIndex:Jr,data:br,key:xr({columnIndex:Jr,data:br,rowIndex:Hr}),isScrolling:gr?unref(In).isScrolling:void 0,style:qn(Hr,Jr),rowIndex:Hr}));return Rr},nr=()=>{const ir=resolveDynamicComponent(kn.innerElement),kr=Zn();return[h$5(ir,{style:unref(zn),ref:Mn},isString$4(ir)?kr:{default:()=>kr})]};return()=>{const ir=resolveDynamicComponent(kn.containerElement),{horizontalScrollbar:kr,verticalScrollbar:Cr}=Kn(),Er=nr();return h$5("div",{key:0,class:En.e("wrapper"),role:kn.role},[h$5(ir,{class:kn.className,style:unref(Fn),onScroll:Gn,onWheel:er,ref:$n},isString$4(ir)?Er:{default:()=>Er}),kr,Cr])}}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:xe},$e)=>[xe,$e*xe],getRowPosition:({rowHeight:xe},$e)=>[xe,$e*xe],getEstimatedTotalHeight:({totalRow:xe,rowHeight:$e})=>$e*xe,getEstimatedTotalWidth:({totalColumn:xe,columnWidth:$e})=>$e*xe,getColumnOffset:({totalColumn:xe,columnWidth:$e,width:Ie},Fe,Ue,qe,At,Dt)=>{Ie=Number(Ie);const Lt=Math.max(0,xe*$e-Ie),jt=Math.min(Lt,Fe*$e),hn=Math.max(0,Fe*$e-Ie+Dt+$e);switch(Ue==="smart"&&(qe>=hn-Ie&&qe<=jt+Ie?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vnLt+Math.floor(Ie/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qe{$e=Number($e);const Lt=Math.max(0,Ie*xe-$e),jt=Math.min(Lt,Fe*xe),hn=Math.max(0,Fe*xe-$e+Dt+xe);switch(Ue===SMART_ALIGNMENT&&(qe>=hn-$e&&qe<=jt+$e?Ue=AUTO_ALIGNMENT:Ue=CENTERED_ALIGNMENT),Ue){case START_ALIGNMENT:return jt;case END_ALIGNMENT:return hn;case CENTERED_ALIGNMENT:{const vn=Math.round(hn+(jt-hn)/2);return vnLt+Math.floor($e/2)?Lt:vn}case AUTO_ALIGNMENT:default:return qe>=hn&&qe<=jt?qe:hn>jt||qeMath.max(0,Math.min($e-1,Math.floor(Ie/xe))),getColumnStopIndexForStartIndex:({columnWidth:xe,totalColumn:$e,width:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},getRowStartIndexForOffset:({rowHeight:xe,totalRow:$e},Ie)=>Math.max(0,Math.min($e-1,Math.floor(Ie/xe))),getRowStopIndexForStartIndex:({rowHeight:xe,totalRow:$e,height:Ie},Fe,Ue)=>{const qe=Fe*xe,At=Math.ceil((Ie+Ue-qe)/xe);return Math.max(0,Math.min($e-1,Fe+At-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),{max:max$2,min:min$2,floor}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(xe,$e,Ie,Fe)=>{const[Ue,qe,At]=[Ie[Fe],xe[ACCESS_SIZER_KEY_MAP[Fe]],Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];if($e>At){let Dt=0;if(At>=0){const Lt=Ue[At];Dt=Lt.offset+Lt.size}for(let Lt=At+1;Lt<=$e;Lt++){const jt=qe(Lt);Ue[Lt]={offset:Dt,size:jt},Dt+=jt}Ie[ACCESS_LAST_VISITED_KEY_MAP[Fe]]=$e}return Ue[$e]},bs=(xe,$e,Ie,Fe,Ue,qe)=>{for(;Ie<=Fe;){const At=Ie+floor((Fe-Ie)/2),Dt=getItemFromCache(xe,At,$e,qe).offset;if(Dt===Ue)return At;Dt{const qe=Ue==="column"?xe.totalColumn:xe.totalRow;let At=1;for(;Ie{const[Ue,qe]=[$e[Fe],$e[ACCESS_LAST_VISITED_KEY_MAP[Fe]]];return(qe>0?Ue[qe].offset:0)>=Ie?bs(xe,$e,0,qe,Ie,Fe):es(xe,$e,max$2(0,qe),Ie,Fe)},getEstimatedTotalHeight=({totalRow:xe},{estimatedRowHeight:$e,lastVisitedRowIndex:Ie,row:Fe})=>{let Ue=0;if(Ie>=xe&&(Ie=xe-1),Ie>=0){const Dt=Fe[Ie];Ue=Dt.offset+Dt.size}const At=(xe-Ie-1)*$e;return Ue+At},getEstimatedTotalWidth=({totalColumn:xe},{column:$e,estimatedColumnWidth:Ie,lastVisitedColumnIndex:Fe})=>{let Ue=0;if(Fe>xe&&(Fe=xe-1),Fe>=0){const Dt=$e[Fe];Ue=Dt.offset+Dt.size}const At=(xe-Fe-1)*Ie;return Ue+At},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset$1=(xe,$e,Ie,Fe,Ue,qe,At)=>{const[Dt,Lt]=[qe==="row"?xe.height:xe.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[qe]],jt=getItemFromCache(xe,$e,Ue,qe),hn=Lt(xe,Ue),vn=max$2(0,min$2(hn-Dt,jt.offset)),bn=max$2(0,jt.offset-Dt+At+jt.size);switch(Ie===SMART_ALIGNMENT&&(Fe>=bn-Dt&&Fe<=vn+Dt?Ie=AUTO_ALIGNMENT:Ie=CENTERED_ALIGNMENT),Ie){case START_ALIGNMENT:return vn;case END_ALIGNMENT:return bn;case CENTERED_ALIGNMENT:return Math.round(bn+(vn-bn)/2);case AUTO_ALIGNMENT:default:return Fe>=bn&&Fe<=vn?Fe:bn>vn||Fe{const Fe=getItemFromCache(xe,$e,Ie,"column");return[Fe.size,Fe.offset]},getRowPosition:(xe,$e,Ie)=>{const Fe=getItemFromCache(xe,$e,Ie,"row");return[Fe.size,Fe.offset]},getColumnOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"column",qe),getRowOffset:(xe,$e,Ie,Fe,Ue,qe)=>getOffset$1(xe,$e,Ie,Fe,Ue,"row",qe),getColumnStartIndexForOffset:(xe,$e,Ie)=>findItem(xe,Ie,$e,"column"),getColumnStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const Ue=getItemFromCache(xe,$e,Fe,"column"),qe=Ie+xe.width;let At=Ue.offset+Ue.size,Dt=$e;for(;DtfindItem(xe,Ie,$e,"row"),getRowStopIndexForStartIndex:(xe,$e,Ie,Fe)=>{const{totalRow:Ue,height:qe}=xe,At=getItemFromCache(xe,$e,Fe,"row"),Dt=Ie+qe;let Lt=At.size+At.offset,jt=$e;for(;jt{const Ie=({columnIndex:qe,rowIndex:At},Dt)=>{var Lt,jt;Dt=isUndefined(Dt)?!0:Dt,isNumber$1(qe)&&($e.value.lastVisitedColumnIndex=Math.min($e.value.lastVisitedColumnIndex,qe-1)),isNumber$1(At)&&($e.value.lastVisitedRowIndex=Math.min($e.value.lastVisitedRowIndex,At-1)),(Lt=xe.exposed)==null||Lt.getItemStyleCache.value(-1,null,null),Dt&&((jt=xe.proxy)==null||jt.$forceUpdate())},Fe=(qe,At)=>{Ie({columnIndex:qe},At)},Ue=(qe,At)=>{Ie({rowIndex:qe},At)};Object.assign(xe.proxy,{resetAfterColumnIndex:Fe,resetAfterRowIndex:Ue,resetAfter:Ie})},initCache:({estimatedColumnWidth:xe=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:$e=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:xe,estimatedRowHeight:$e,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:xe,rowHeight:$e})=>{}}),_sfc_main$N=defineComponent({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$7(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("div",{class:normalizeClass(xe.ns.be("group","title")),style:normalizeStyle$1([xe.style,{lineHeight:`${xe.height}px`}])},toDisplayString(xe.item.label),7)}var GroupItem=_export_sfc$1(_sfc_main$N,[["render",_sfc_render$7],["__file","group-item.vue"]]);function useOption(xe,{emit:$e}){return{hoverItem:()=>{xe.disabled||$e("hover",xe.index)},selectOptionClick:()=>{xe.disabled||$e("select",xe.item,xe.index)}}}const defaultProps$3={label:"label",value:"value",disabled:"disabled",options:"options"};function useProps(xe){const $e=computed(()=>({...defaultProps$3,...xe.props}));return{aliasProps:$e,getLabel:At=>get$1(At,$e.value.label),getValue:At=>get$1(At,$e.value.value),getDisabled:At=>get$1(At,$e.value.disabled),getOptions:At=>get$1(At,$e.value.options)}}const SelectProps=buildProps({allowCreate:Boolean,autocomplete:{type:definePropType(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},effect:{type:definePropType(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:definePropType([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:definePropType(Array),required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,size:useSizeProp,props:{type:definePropType(Object),default:()=>defaultProps$3},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tagType:{...tagProps.type,default:"info"},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),OptionProps=buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),selectV2InjectionKey=Symbol("ElSelectV2Injection"),_sfc_main$M=defineComponent({props:OptionProps,emits:["select","hover"],setup(xe,{emit:$e}){const Ie=inject(selectV2InjectionKey),Fe=useNamespace("select"),{hoverItem:Ue,selectOptionClick:qe}=useOption(xe,{emit:$e}),{getLabel:At}=useProps(Ie.props);return{ns:Fe,hoverItem:Ue,selectOptionClick:qe,getLabel:At}}}),_hoisted_1$m=["aria-selected"];function _sfc_render$6(xe,$e,Ie,Fe,Ue,qe){return openBlock(),createElementBlock("li",{"aria-selected":xe.selected,style:normalizeStyle$1(xe.style),class:normalizeClass([xe.ns.be("dropdown","item"),xe.ns.is("selected",xe.selected),xe.ns.is("disabled",xe.disabled),xe.ns.is("created",xe.created),xe.ns.is("hovering",xe.hovering)]),onMouseenter:$e[0]||($e[0]=(...At)=>xe.hoverItem&&xe.hoverItem(...At)),onClick:$e[1]||($e[1]=withModifiers((...At)=>xe.selectOptionClick&&xe.selectOptionClick(...At),["stop"]))},[renderSlot(xe.$slots,"default",{item:xe.item,index:xe.index,disabled:xe.disabled},()=>[createBaseVNode("span",null,toDisplayString(xe.getLabel(xe.item)),1)])],46,_hoisted_1$m)}var OptionItem=_export_sfc$1(_sfc_main$M,[["render",_sfc_render$6],["__file","option-item.vue"]]),ElSelectMenu=defineComponent({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(xe,{slots:$e,expose:Ie}){const Fe=inject(selectV2InjectionKey),Ue=useNamespace("select"),{getLabel:qe,getValue:At,getDisabled:Dt}=useProps(Fe.props),Lt=ref([]),jt=ref(),hn=computed(()=>xe.data.length);watch(()=>hn.value,()=>{var On,Rn;(Rn=(On=Fe.tooltipRef.value).updatePopper)==null||Rn.call(On)});const vn=computed(()=>isUndefined(Fe.props.estimatedOptionHeight)),bn=computed(()=>vn.value?{itemSize:Fe.props.itemHeight}:{estimatedSize:Fe.props.estimatedOptionHeight,itemSize:On=>Lt.value[On]}),_n=(On=[],Rn)=>{const{props:{valueKey:Bn}}=Fe;return isObject$8(Rn)?On&&On.some(Vn=>toRaw(get$1(Vn,Bn))===get$1(Rn,Bn)):On.includes(Rn)},wn=(On,Rn)=>{if(isObject$8(Rn)){const{valueKey:Bn}=Fe.props;return get$1(On,Bn)===get$1(Rn,Bn)}else return On===Rn},kn=(On,Rn)=>Fe.props.multiple?_n(On,At(Rn)):wn(On,At(Rn)),Cn=(On,Rn)=>{const{disabled:Bn,multiple:Vn,multipleLimit:Ln}=Fe.props;return Bn||!Rn&&(Vn?Ln>0&&On.length>=Ln:!1)},Sn=On=>xe.hoveringIndex===On;Ie({listRef:jt,isSized:vn,isItemDisabled:Cn,isItemHovering:Sn,isItemSelected:kn,scrollToItem:On=>{const Rn=jt.value;Rn&&Rn.scrollToItem(On)},resetScrollTop:()=>{const On=jt.value;On&&On.resetScrollTop()}});const Tn=On=>{const{index:Rn,data:Bn,style:Vn}=On,Ln=unref(vn),{itemSize:Dn,estimatedSize:Hn}=unref(bn),{modelValue:Fn}=Fe.props,{onSelect:zn,onHover:jn}=Fe,Gn=Bn[Rn];if(Gn.type==="Group")return createVNode$1(GroupItem,{item:Gn,style:Vn,height:Ln?Dn:Hn},null);const Wn=kn(Fn,Gn),Xn=Cn(Fn,Wn),er=Sn(Rn);return createVNode$1(OptionItem,mergeProps(On,{selected:Wn,disabled:Dt(Gn)||Xn,created:!!Gn.created,hovering:er,item:Gn,onSelect:zn,onHover:jn}),{default:rr=>{var Jn;return((Jn=$e.default)==null?void 0:Jn.call($e,rr))||createVNode$1("span",null,[qe(Gn)])}})},{onKeyboardNavigate:An,onKeyboardSelect:$n}=Fe,Pn=()=>{An("forward")},Nn=()=>{An("backward")},Mn=()=>{Fe.expanded=!1},In=On=>{const{code:Rn}=On,{tab:Bn,esc:Vn,down:Ln,up:Dn,enter:Hn}=EVENT_CODE;switch(Rn!==Bn&&(On.preventDefault(),On.stopPropagation()),Rn){case Bn:case Vn:{Mn();break}case Ln:{Pn();break}case Dn:{Nn();break}case Hn:{$n();break}}};return()=>{var On,Rn,Bn,Vn;const{data:Ln,width:Dn}=xe,{height:Hn,multiple:Fn,scrollbarAlwaysOn:zn}=Fe.props,jn=unref(vn)?FixedSizeList:DynamicSizeList;return createVNode$1("div",{class:[Ue.b("dropdown"),Ue.is("multiple",Fn)],style:{width:`${Dn}px`}},[(On=$e.header)==null?void 0:On.call($e),((Rn=$e.loading)==null?void 0:Rn.call($e))||((Bn=$e.empty)==null?void 0:Bn.call($e))||createVNode$1(jn,mergeProps({ref:jt},unref(bn),{className:Ue.be("dropdown","list"),scrollbarAlwaysOn:zn,data:Ln,height:Hn,width:Dn,total:Ln.length,onKeydown:In}),{default:Gn=>createVNode$1(Tn,Gn,null)}),(Vn=$e.footer)==null?void 0:Vn.call($e)])}}});function useAllowCreate(xe,$e){const{aliasProps:Ie,getLabel:Fe,getValue:Ue}=useProps(xe),qe=ref(0),At=ref(null),Dt=computed(()=>xe.allowCreate&&xe.filterable);function Lt(_n){const wn=kn=>Fe(kn)===_n;return xe.options&&xe.options.some(wn)||$e.createdOptions.some(wn)}function jt(_n){Dt.value&&(xe.multiple&&_n.created?qe.value++:At.value=_n)}function hn(_n){if(Dt.value)if(_n&&_n.length>0){if(Lt(_n))return;const wn={[Ie.value.value]:_n,[Ie.value.label]:_n,created:!0,[Ie.value.disabled]:!1};$e.createdOptions.length>=qe.value?$e.createdOptions[qe.value]=wn:$e.createdOptions.push(wn)}else if(xe.multiple)$e.createdOptions.length=qe.value;else{const wn=At.value;$e.createdOptions.length=0,wn&&wn.created&&$e.createdOptions.push(wn)}}function vn(_n){if(!Dt.value||!_n||!_n.created||_n.created&&xe.reserveKeyword&&$e.inputValue===Fe(_n))return;const wn=$e.createdOptions.findIndex(kn=>Ue(kn)===Ue(_n));~wn&&($e.createdOptions.splice(wn,1),qe.value--)}function bn(){Dt.value&&($e.createdOptions.length=0,qe.value=0)}return{createNewOption:hn,removeNewOption:vn,selectNewOption:jt,clearAllNewOption:bn}}const MINIMUM_INPUT_WIDTH=11,useSelect$1=(xe,$e)=>{const{t:Ie}=useLocale(),Fe=useNamespace("select"),Ue=useNamespace("input"),{form:qe,formItem:At}=useFormItem(),{inputId:Dt}=useFormItemInputId(xe,{formItemContext:At}),{aliasProps:Lt,getLabel:jt,getValue:hn,getDisabled:vn,getOptions:bn}=useProps(xe),{valueOnClear:_n,isEmptyValue:wn}=useEmptyValues(xe),kn=reactive({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),Cn=ref(-1),Sn=ref(null),xn=ref(null),En=ref(null),Tn=ref(null),An=ref(null),$n=ref(null),Pn=ref(null),Nn=ref(null),Mn=ref(null),In=ref(null),On=ref(null),{wrapperRef:Rn,isFocused:Bn,handleFocus:Vn,handleBlur:Ln}=useFocusController(An,{afterFocus(){xe.automaticDropdown&&!Fn.value&&(Fn.value=!0,kn.menuVisibleOnFocus=!0)},beforeBlur(Ir){var Xr,to;return((Xr=En.value)==null?void 0:Xr.isFocusInsideContent(Ir))||((to=Tn.value)==null?void 0:to.isFocusInsideContent(Ir))},afterBlur(){Fn.value=!1,kn.menuVisibleOnFocus=!1}}),Dn=ref([]),Hn=ref([]),Fn=ref(!1),zn=computed(()=>xe.disabled||(qe==null?void 0:qe.disabled)),jn=computed(()=>{const Ir=Hn.value.length*xe.itemHeight;return Ir>xe.height?xe.height:Ir}),Gn=computed(()=>xe.multiple?isArray$6(xe.modelValue)&&xe.modelValue.length>0:!wn(xe.modelValue)),Wn=computed(()=>xe.clearable&&!zn.value&&kn.inputHovering&&Gn.value),Xn=computed(()=>xe.remote&&xe.filterable?"":arrow_down_default),er=computed(()=>Xn.value&&Fe.is("reverse",Fn.value)),rr=computed(()=>(At==null?void 0:At.validateState)||""),Jn=computed(()=>ValidateComponentsMap[rr.value]),qn=computed(()=>xe.remote?300:0),Yn=computed(()=>xe.loading?xe.loadingText||Ie("el.select.loading"):xe.remote&&!kn.inputValue&&Dn.value.length===0?!1:xe.filterable&&kn.inputValue&&Dn.value.length>0&&Hn.value.length===0?xe.noMatchText||Ie("el.select.noMatch"):Dn.value.length===0?xe.noDataText||Ie("el.select.noData"):null),ar=Ir=>{const Xr=to=>{if(xe.filterable&&isFunction$5(xe.filterMethod)||xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod))return!0;const oo=new RegExp(escapeStringRegexp(Ir),"i");return Ir?oo.test(jt(to)||""):!0};return xe.loading?[]:[...kn.createdOptions,...xe.options].reduce((to,oo)=>{const co=bn(oo);if(isArray$6(co)){const wo=co.filter(Xr);wo.length>0&&to.push({label:jt(oo),type:"Group"},...wo)}else(xe.remote||Xr(oo))&&to.push(oo);return to},[])},tr=()=>{Dn.value=ar(""),Hn.value=ar(kn.inputValue)},or=computed(()=>{const Ir=new Map;return Dn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),sr=computed(()=>{const Ir=new Map;return Hn.value.forEach((Xr,to)=>{Ir.set(Ur(hn(Xr)),{option:Xr,index:to})}),Ir}),Kn=computed(()=>Hn.value.every(Ir=>vn(Ir))),Zn=useFormSize(),nr=computed(()=>Zn.value==="small"?"small":"default"),lr=()=>{var Ir;Cn.value=((Ir=Sn.value)==null?void 0:Ir.offsetWidth)||200},ir=()=>{if(!xn.value)return 0;const Ir=window.getComputedStyle(xn.value);return Number.parseFloat(Ir.gap||"6px")},kr=computed(()=>{const Ir=ir();return{maxWidth:`${On.value&&xe.maxCollapseTags===1?kn.selectionWidth-kn.collapseItemWidth-Ir:kn.selectionWidth}px`}}),Cr=computed(()=>({maxWidth:`${kn.selectionWidth}px`})),Er=computed(()=>({width:`${Math.max(kn.calculatorWidth,MINIMUM_INPUT_WIDTH)}px`})),dr=computed(()=>isArray$6(xe.modelValue)?xe.modelValue.length===0&&!kn.inputValue:xe.filterable?!kn.inputValue:!0),br=computed(()=>{var Ir;const Xr=(Ir=xe.placeholder)!=null?Ir:Ie("el.select.placeholder");return xe.multiple||!Gn.value?Xr:kn.selectedLabel}),_r=computed(()=>{var Ir,Xr;return(Xr=(Ir=En.value)==null?void 0:Ir.popperRef)==null?void 0:Xr.contentRef}),Pr=computed(()=>{if(xe.multiple){const Ir=xe.modelValue.length;if(xe.modelValue.length>0&&sr.value.has(xe.modelValue[Ir-1])){const{index:Xr}=sr.value.get(xe.modelValue[Ir-1]);return Xr}}else if(xe.modelValue&&sr.value.has(xe.modelValue)){const{index:Ir}=sr.value.get(xe.modelValue);return Ir}return-1}),gr=computed({get(){return Fn.value&&Yn.value!==!1},set(Ir){Fn.value=Ir}}),xr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(0,xe.maxCollapseTags):kn.cachedOptions:[]),Rr=computed(()=>xe.multiple?xe.collapseTags?kn.cachedOptions.slice(xe.maxCollapseTags):[]:[]),{createNewOption:Hr,removeNewOption:Jr,selectNewOption:Gr,clearAllNewOption:$r}=useAllowCreate(xe,kn),{handleCompositionStart:Br,handleCompositionUpdate:Tr,handleCompositionEnd:cr}=useInput(Ir=>xo(Ir)),Sr=()=>{zn.value||(kn.menuVisibleOnFocus?kn.menuVisibleOnFocus=!1:Fn.value=!Fn.value)},Dr=()=>{kn.inputValue.length>0&&!Fn.value&&(Fn.value=!0),Hr(kn.inputValue),Lr(kn.inputValue)},mr=debounce(Dr,qn.value),Lr=Ir=>{kn.previousQuery!==Ir&&(kn.previousQuery=Ir,xe.filterable&&isFunction$5(xe.filterMethod)?xe.filterMethod(Ir):xe.filterable&&xe.remote&&isFunction$5(xe.remoteMethod)&&xe.remoteMethod(Ir),xe.defaultFirstOption&&(xe.filterable||xe.remote)&&Hn.value.length?nextTick(zr):nextTick($o))},zr=()=>{const Ir=Hn.value.filter(oo=>!oo.disabled&&oo.type!=="Group"),Xr=Ir.find(oo=>oo.created),to=Ir[0];kn.hoveringIndex=Yr(Hn.value,Xr||to)},Vr=Ir=>{isEqual$1(xe.modelValue,Ir)||$e(CHANGE_EVENT,Ir)},Kr=Ir=>{$e(UPDATE_MODEL_EVENT,Ir),Vr(Ir),kn.previousValue=xe.multiple?String(Ir):Ir},Yr=(Ir=[],Xr)=>{if(!isObject$8(Xr))return Ir.indexOf(Xr);const to=xe.valueKey;let oo=-1;return Ir.some((co,wo)=>get$1(co,to)===get$1(Xr,to)?(oo=wo,!0):!1),oo},Ur=Ir=>isObject$8(Ir)?get$1(Ir,xe.valueKey):Ir,uo=()=>{lr()},vo=()=>{kn.selectionWidth=xn.value.getBoundingClientRect().width},_o=()=>{kn.calculatorWidth=$n.value.getBoundingClientRect().width},Ao=()=>{kn.collapseItemWidth=On.value.getBoundingClientRect().width},ko=()=>{var Ir,Xr;(Xr=(Ir=En.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Do=()=>{var Ir,Xr;(Xr=(Ir=Tn.value)==null?void 0:Ir.updatePopper)==null||Xr.call(Ir)},Ro=Ir=>{if(xe.multiple){let Xr=xe.modelValue.slice();const to=Yr(Xr,hn(Ir));to>-1?(Xr=[...Xr.slice(0,to),...Xr.slice(to+1)],kn.cachedOptions.splice(to,1),Jr(Ir)):(xe.multipleLimit<=0||Xr.length{let to=xe.modelValue.slice();const oo=Yr(to,hn(Xr));oo>-1&&!zn.value&&(to=[...xe.modelValue.slice(0,oo),...xe.modelValue.slice(oo+1)],kn.cachedOptions.splice(oo,1),Kr(to),$e("remove-tag",hn(Xr)),Jr(Xr)),Ir.stopPropagation(),Yo()},Yo=()=>{var Ir;(Ir=An.value)==null||Ir.focus()},To=()=>{var Ir;(Ir=An.value)==null||Ir.blur()},So=()=>{kn.inputValue.length>0?kn.inputValue="":Fn.value=!1},yo=Ir=>findLastIndex(Ir,Xr=>!kn.cachedOptions.some(to=>hn(to)===Xr&&vn(to))),Zr=Ir=>{if(xe.multiple&&Ir.code!==EVENT_CODE.delete&&kn.inputValue.length===0){Ir.preventDefault();const Xr=xe.modelValue.slice(),to=yo(Xr);if(to<0)return;const oo=Xr[to];Xr.splice(to,1);const co=kn.cachedOptions[to];kn.cachedOptions.splice(to,1),Jr(co),Kr(Xr),$e("remove-tag",oo)}},Mr=()=>{let Ir;isArray$6(xe.modelValue)?Ir=[]:Ir=_n.value,xe.multiple?kn.cachedOptions=[]:kn.selectedLabel="",Fn.value=!1,Kr(Ir),$e("clear"),$r(),Yo()},Or=(Ir,Xr=void 0)=>{const to=Hn.value;if(!["forward","backward"].includes(Ir)||zn.value||to.length<=0||Kn.value)return;if(!Fn.value)return Sr();Xr===void 0&&(Xr=kn.hoveringIndex);let oo=-1;Ir==="forward"?(oo=Xr+1,oo>=to.length&&(oo=0)):Ir==="backward"&&(oo=Xr-1,(oo<0||oo>=to.length)&&(oo=to.length-1));const co=to[oo];if(vn(co)||co.type==="Group")return Or(Ir,oo);kn.hoveringIndex=oo,ro(oo)},yr=()=>{if(Fn.value)~kn.hoveringIndex&&Hn.value[kn.hoveringIndex]&&Ro(Hn.value[kn.hoveringIndex]);else return Sr()},so=Ir=>{kn.hoveringIndex=Ir},$o=()=>{xe.multiple?kn.hoveringIndex=Hn.value.findIndex(Ir=>xe.modelValue.some(Xr=>Ur(Xr)===Ur(Ir))):kn.hoveringIndex=Hn.value.findIndex(Ir=>Ur(Ir)===Ur(xe.modelValue))},xo=Ir=>{if(kn.inputValue=Ir.target.value,xe.remote)mr();else return Dr()},ho=Ir=>{if(Fn.value=!1,Bn.value){const Xr=new FocusEvent("focus",Ir);Ln(Xr)}},po=()=>(kn.isBeforeHide=!1,nextTick(()=>{~Pr.value&&ro(kn.hoveringIndex)})),ro=Ir=>{Mn.value.scrollToItem(Ir)},qr=Ir=>{const Xr=Ur(Ir);if(or.value.has(Xr)){const{option:to}=or.value.get(Xr);return to}return{[Lt.value.value]:Ir,[Lt.value.label]:Ir}},Qr=()=>{if(xe.multiple)if(xe.modelValue.length>0){kn.cachedOptions.length=0,kn.previousValue=xe.modelValue.toString();for(const Ir of xe.modelValue){const Xr=qr(Ir);kn.cachedOptions.push(Xr)}}else kn.cachedOptions=[],kn.previousValue=void 0;else if(Gn.value){kn.previousValue=xe.modelValue;const Ir=Hn.value,Xr=Ir.findIndex(to=>Ur(hn(to))===Ur(xe.modelValue));~Xr?kn.selectedLabel=jt(Ir[Xr]):kn.selectedLabel=Ur(xe.modelValue)}else kn.selectedLabel="",kn.previousValue=void 0;$r(),lr()};return watch(Fn,Ir=>{Ir?Lr(""):(kn.inputValue="",kn.previousQuery=null,kn.isBeforeHide=!0,Hr("")),$e("visible-change",Ir)}),watch(()=>xe.modelValue,(Ir,Xr)=>{var to;(!Ir||xe.multiple&&Ir.toString()!==kn.previousValue||!xe.multiple&&Ur(Ir)!==Ur(kn.previousValue))&&Qr(),!isEqual$1(Ir,Xr)&&xe.validateEvent&&((to=At==null?void 0:At.validate)==null||to.call(At,"change").catch(oo=>void 0))},{deep:!0}),watch(()=>xe.options,()=>{const Ir=An.value;(!Ir||Ir&&document.activeElement!==Ir)&&Qr()},{deep:!0,flush:"post"}),watch(()=>Hn.value,()=>Mn.value&&nextTick(Mn.value.resetScrollTop)),watchEffect(()=>{kn.isBeforeHide||tr()}),watchEffect(()=>{const{valueKey:Ir,options:Xr}=xe,to=new Map;for(const oo of Xr){const co=hn(oo);let wo=co;if(isObject$8(wo)&&(wo=get$1(co,Ir)),to.get(wo))break;to.set(wo,!0)}}),onMounted(()=>{Qr()}),useResizeObserver(Sn,uo),useResizeObserver(xn,vo),useResizeObserver($n,_o),useResizeObserver(Mn,ko),useResizeObserver(Rn,ko),useResizeObserver(In,Do),useResizeObserver(On,Ao),{inputId:Dt,collapseTagSize:nr,currentPlaceholder:br,expanded:Fn,emptyText:Yn,popupHeight:jn,debounce:qn,allOptions:Dn,filteredOptions:Hn,iconComponent:Xn,iconReverse:er,tagStyle:kr,collapseTagStyle:Cr,inputStyle:Er,popperSize:Cn,dropdownMenuVisible:gr,hasModelValue:Gn,shouldShowPlaceholder:dr,selectDisabled:zn,selectSize:Zn,showClearBtn:Wn,states:kn,isFocused:Bn,nsSelect:Fe,nsInput:Ue,calculatorRef:$n,inputRef:An,menuRef:Mn,tagMenuRef:In,tooltipRef:En,tagTooltipRef:Tn,selectRef:Sn,wrapperRef:Rn,selectionRef:xn,prefixRef:Pn,suffixRef:Nn,collapseItemRef:On,popperRef:_r,validateState:rr,validateIcon:Jn,showTagList:xr,collapseTagList:Rr,debouncedOnInputChange:mr,deleteTag:Ko,getLabel:jt,getValue:hn,getDisabled:vn,getValueKey:Ur,handleBlur:Ln,handleClear:Mr,handleClickOutside:ho,handleDel:Zr,handleEsc:So,handleFocus:Vn,focus:Yo,blur:To,handleMenuEnter:po,handleResize:uo,resetSelectionWidth:vo,resetCalculatorWidth:_o,updateTooltip:ko,updateTagTooltip:Do,updateOptions:tr,toggleMenu:Sr,scrollTo:ro,onInput:xo,onKeyboardNavigate:Or,onKeyboardSelect:yr,onSelect:Ro,onHover:so,handleCompositionStart:Br,handleCompositionEnd:cr,handleCompositionUpdate:Tr}},_sfc_main$L=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside},props:SelectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(xe,{emit:$e}){const Ie=computed(()=>{const{modelValue:Ue,multiple:qe}=xe,At=qe?[]:void 0;return isArray$6(Ue)?qe?Ue:At:qe?At:Ue}),Fe=useSelect$1(reactive({...toRefs(xe),modelValue:Ie}),$e);return provide(selectV2InjectionKey,{props:reactive({...toRefs(xe),height:Fe.popupHeight,modelValue:Ie}),tooltipRef:Fe.tooltipRef,onSelect:Fe.onSelect,onHover:Fe.onHover,onKeyboardNavigate:Fe.onKeyboardNavigate,onKeyboardSelect:Fe.onKeyboardSelect}),{...Fe,modelValue:Ie}}}),_hoisted_1$l=["id","autocomplete","aria-expanded","aria-label","disabled","readonly","name"],_hoisted_2$e=["textContent"],_hoisted_3$6={key:1};function _sfc_render$5(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tag"),Dt=resolveComponent("el-tooltip"),Lt=resolveComponent("el-icon"),jt=resolveComponent("el-select-menu"),hn=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([xe.nsSelect.b(),xe.nsSelect.m(xe.selectSize)]),onMouseenter:$e[14]||($e[14]=vn=>xe.states.inputHovering=!0),onMouseleave:$e[15]||($e[15]=vn=>xe.states.inputHovering=!1),onClick:$e[16]||($e[16]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["prevent","stop"]))},[createVNode$1(Dt,{ref:"tooltipRef",visible:xe.dropdownMenuVisible,teleported:xe.teleported,"popper-class":[xe.nsSelect.e("popper"),xe.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":xe.popperOptions,"fallback-placements":xe.fallbackPlacements,effect:xe.effect,placement:xe.placement,pure:"",transition:`${xe.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:xe.persistent,onBeforeShow:xe.handleMenuEnter,onHide:$e[13]||($e[13]=vn=>xe.states.isBeforeHide=!1)},{default:withCtx(()=>[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([xe.nsSelect.e("wrapper"),xe.nsSelect.is("focused",xe.isFocused),xe.nsSelect.is("hovering",xe.states.inputHovering),xe.nsSelect.is("filterable",xe.filterable),xe.nsSelect.is("disabled",xe.selectDisabled)])},[xe.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(xe.nsSelect.e("prefix"))},[renderSlot(xe.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([xe.nsSelect.e("selection"),xe.nsSelect.is("near",xe.multiple&&!xe.$slots.prefix&&!!xe.modelValue.length)])},[xe.multiple?renderSlot(xe.$slots,"tag",{key:0},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.showTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",style:normalizeStyle$1(xe.tagStyle),onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),xe.collapseTags&&xe.modelValue.length>xe.maxCollapseTags?(openBlock(),createBlock(Dt,{key:0,ref:"tagTooltipRef",disabled:xe.dropdownMenuVisible||!xe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:xe.effect,placement:"bottom",teleported:xe.teleported},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{closable:!1,size:xe.collapseTagSize,type:xe.tagType,style:normalizeStyle$1(xe.collapseTagStyle),"disable-transitions":""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))}," + "+toDisplayString(xe.modelValue.length-xe.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(xe.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.collapseTagList,vn=>(openBlock(),createElementBlock("div",{key:xe.getValueKey(xe.getValue(vn)),class:normalizeClass(xe.nsSelect.e("selected-item"))},[createVNode$1(At,{class:"in-tooltip",closable:!xe.selectDisabled&&!xe.getDisabled(vn),size:xe.collapseTagSize,type:xe.tagType,"disable-transitions":"",onClose:bn=>xe.deleteTag(bn,vn)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(xe.nsSelect.e("tags-text"))},[renderSlot(xe.$slots,"label",{label:xe.getLabel(vn),value:xe.getValue(vn)},()=>[createTextVNode(toDisplayString(xe.getLabel(vn)),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),xe.selectDisabled?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("input-wrapper"),xe.nsSelect.is("hidden",!xe.filterable)])},[withDirectives(createBaseVNode("input",{id:xe.inputId,ref:"inputRef","onUpdate:modelValue":$e[0]||($e[0]=vn=>xe.states.inputValue=vn),style:normalizeStyle$1(xe.inputStyle),autocomplete:xe.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":xe.expanded,"aria-label":xe.ariaLabel,class:normalizeClass([xe.nsSelect.e("input"),xe.nsSelect.is(xe.selectSize)]),disabled:xe.selectDisabled,role:"combobox",readonly:!xe.filterable,spellcheck:"false",type:"text",name:xe.name,onFocus:$e[1]||($e[1]=(...vn)=>xe.handleFocus&&xe.handleFocus(...vn)),onBlur:$e[2]||($e[2]=(...vn)=>xe.handleBlur&&xe.handleBlur(...vn)),onInput:$e[3]||($e[3]=(...vn)=>xe.onInput&&xe.onInput(...vn)),onCompositionstart:$e[4]||($e[4]=(...vn)=>xe.handleCompositionStart&&xe.handleCompositionStart(...vn)),onCompositionupdate:$e[5]||($e[5]=(...vn)=>xe.handleCompositionUpdate&&xe.handleCompositionUpdate(...vn)),onCompositionend:$e[6]||($e[6]=(...vn)=>xe.handleCompositionEnd&&xe.handleCompositionEnd(...vn)),onKeydown:[$e[7]||($e[7]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),$e[8]||($e[8]=withKeys(withModifiers(vn=>xe.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),$e[9]||($e[9]=withKeys(withModifiers((...vn)=>xe.onKeyboardSelect&&xe.onKeyboardSelect(...vn),["stop","prevent"]),["enter"])),$e[10]||($e[10]=withKeys(withModifiers((...vn)=>xe.handleEsc&&xe.handleEsc(...vn),["stop","prevent"]),["esc"])),$e[11]||($e[11]=withKeys(withModifiers((...vn)=>xe.handleDel&&xe.handleDel(...vn),["stop"]),["delete"]))],onClick:$e[12]||($e[12]=withModifiers((...vn)=>xe.toggleMenu&&xe.toggleMenu(...vn),["stop"]))},null,46,_hoisted_1$l),[[vModelText,xe.states.inputValue]]),xe.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(xe.nsSelect.e("input-calculator")),textContent:toDisplayString(xe.states.inputValue)},null,10,_hoisted_2$e)):createCommentVNode("v-if",!0)],2)),xe.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([xe.nsSelect.e("selected-item"),xe.nsSelect.e("placeholder"),xe.nsSelect.is("transparent",!xe.hasModelValue||xe.expanded&&!xe.states.inputValue)])},[xe.hasModelValue?renderSlot(xe.$slots,"label",{key:0,label:xe.currentPlaceholder,value:xe.modelValue},()=>[createBaseVNode("span",null,toDisplayString(xe.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$6,toDisplayString(xe.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(xe.nsSelect.e("suffix"))},[xe.iconComponent?withDirectives((openBlock(),createBlock(Lt,{key:0,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon"),xe.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])),[[vShow,!xe.showClearBtn]]):createCommentVNode("v-if",!0),xe.showClearBtn&&xe.clearIcon?(openBlock(),createBlock(Lt,{key:1,class:normalizeClass([xe.nsSelect.e("caret"),xe.nsInput.e("icon")]),onClick:withModifiers(xe.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.validateState&&xe.validateIcon?(openBlock(),createBlock(Lt,{key:2,class:normalizeClass([xe.nsInput.e("icon"),xe.nsInput.e("validateIcon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]),content:withCtx(()=>[createVNode$1(jt,{ref:"menuRef",data:xe.filteredOptions,width:xe.popperSize,"hovering-index":xe.states.hoveringIndex,"scrollbar-always-on":xe.scrollbarAlwaysOn},createSlots({default:withCtx(vn=>[renderSlot(xe.$slots,"default",normalizeProps(guardReactiveProps(vn)))]),_:2},[xe.$slots.header?{name:"header",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","header"))},[renderSlot(xe.$slots,"header")],2)])}:void 0,xe.$slots.loading&&xe.loading?{name:"loading",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","loading"))},[renderSlot(xe.$slots,"loading")],2)])}:xe.loading||xe.filteredOptions.length===0?{name:"empty",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","empty"))},[renderSlot(xe.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(xe.emptyText),1)])],2)])}:void 0,xe.$slots.footer?{name:"footer",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(xe.nsSelect.be("dropdown","footer"))},[renderSlot(xe.$slots,"footer")],2)])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","onBeforeShow"])],34)),[[hn,xe.handleClickOutside,xe.popperRef]])}var Select=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$5],["__file","select.vue"]]);Select.install=xe=>{xe.component(Select.name,Select)};const _Select=Select,ElSelectV2=_Select,skeletonProps=buildProps({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),__default__$B=defineComponent({name:"ElSkeletonItem"}),_sfc_main$K=defineComponent({...__default__$B,props:skeletonItemProps,setup(xe){const $e=useNamespace("skeleton");return(Ie,Fe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($e).e("item"),unref($e).e(Ie.variant)])},[Ie.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc$1(_sfc_main$K,[["__file","skeleton-item.vue"]]);const __default__$A=defineComponent({name:"ElSkeleton"}),_sfc_main$J=defineComponent({...__default__$A,props:skeletonProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("skeleton"),Ue=useThrottleRender(toRef(Ie,"loading"),Ie.throttle);return $e({uiLoading:Ue}),(qe,At)=>unref(Ue)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(Fe).b(),unref(Fe).is("animated",qe.animated)]},qe.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.count,Dt=>(openBlock(),createElementBlock(Fragment,{key:Dt},[qe.loading?renderSlot(qe.$slots,"template",{key:Dt},()=>[createVNode$1(SkeletonItem,{class:normalizeClass(unref(Fe).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.rows,Lt=>(openBlock(),createBlock(SkeletonItem,{key:Lt,class:normalizeClass([unref(Fe).e("paragraph"),unref(Fe).is("last",Lt===qe.rows&&qe.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot(qe.$slots,"default",normalizeProps(mergeProps({key:1},qe.$attrs)))}});var Skeleton=_export_sfc$1(_sfc_main$J,[["__file","skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton,{SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),isValidValue$1=xe=>isNumber$1(xe)||isArray$6(xe)&&xe.every(isNumber$1),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},useLifecycle=(xe,$e,Ie)=>{const Fe=ref();return onMounted(async()=>{xe.range?(Array.isArray(xe.modelValue)?($e.firstValue=Math.max(xe.min,xe.modelValue[0]),$e.secondValue=Math.min(xe.max,xe.modelValue[1])):($e.firstValue=xe.min,$e.secondValue=xe.max),$e.oldValue=[$e.firstValue,$e.secondValue]):(typeof xe.modelValue!="number"||Number.isNaN(xe.modelValue)?$e.firstValue=xe.min:$e.firstValue=Math.min(xe.max,Math.max(xe.min,xe.modelValue)),$e.oldValue=$e.firstValue),useEventListener(window,"resize",Ie),await nextTick(),Ie()}),{sliderWrapper:Fe}},useMarks=xe=>computed(()=>xe.marks?Object.keys(xe.marks).map(Number.parseFloat).sort((Ie,Fe)=>Ie-Fe).filter(Ie=>Ie<=xe.max&&Ie>=xe.min).map(Ie=>({point:Ie,position:(Ie-xe.min)*100/(xe.max-xe.min),mark:xe.marks[Ie]})):[]),useSlide=(xe,$e,Ie)=>{const{form:Fe,formItem:Ue}=useFormItem(),qe=shallowRef(),At=ref(),Dt=ref(),Lt={firstButton:At,secondButton:Dt},jt=computed(()=>xe.disabled||(Fe==null?void 0:Fe.disabled)||!1),hn=computed(()=>Math.min($e.firstValue,$e.secondValue)),vn=computed(()=>Math.max($e.firstValue,$e.secondValue)),bn=computed(()=>xe.range?`${100*(vn.value-hn.value)/(xe.max-xe.min)}%`:`${100*($e.firstValue-xe.min)/(xe.max-xe.min)}%`),_n=computed(()=>xe.range?`${100*(hn.value-xe.min)/(xe.max-xe.min)}%`:"0%"),wn=computed(()=>xe.vertical?{height:xe.height}:{}),kn=computed(()=>xe.vertical?{height:bn.value,bottom:_n.value}:{width:bn.value,left:_n.value}),Cn=()=>{qe.value&&($e.sliderSize=qe.value[`client${xe.vertical?"Height":"Width"}`])},Sn=On=>{const Rn=xe.min+On*(xe.max-xe.min)/100;if(!xe.range)return At;let Bn;return Math.abs(hn.value-Rn)$e.secondValue?"firstButton":"secondButton",Lt[Bn]},xn=On=>{const Rn=Sn(On);return Rn.value.setPosition(On),Rn},En=On=>{$e.firstValue=On,An(xe.range?[hn.value,vn.value]:On)},Tn=On=>{$e.secondValue=On,xe.range&&An([hn.value,vn.value])},An=On=>{Ie(UPDATE_MODEL_EVENT,On),Ie(INPUT_EVENT,On)},$n=async()=>{await nextTick(),Ie(CHANGE_EVENT,xe.range?[hn.value,vn.value]:xe.modelValue)},Pn=On=>{var Rn,Bn,Vn,Ln,Dn,Hn;if(jt.value||$e.dragging)return;Cn();let Fn=0;if(xe.vertical){const zn=(Vn=(Bn=(Rn=On.touches)==null?void 0:Rn.item(0))==null?void 0:Bn.clientY)!=null?Vn:On.clientY;Fn=(qe.value.getBoundingClientRect().bottom-zn)/$e.sliderSize*100}else{const zn=(Hn=(Dn=(Ln=On.touches)==null?void 0:Ln.item(0))==null?void 0:Dn.clientX)!=null?Hn:On.clientX,jn=qe.value.getBoundingClientRect().left;Fn=(zn-jn)/$e.sliderSize*100}if(!(Fn<0||Fn>100))return xn(Fn)};return{elFormItem:Ue,slider:qe,firstButton:At,secondButton:Dt,sliderDisabled:jt,minValue:hn,maxValue:vn,runwayStyle:wn,barStyle:kn,resetSize:Cn,setPosition:xn,emitChange:$n,onSliderWrapperPrevent:On=>{var Rn,Bn;((Rn=Lt.firstButton.value)!=null&&Rn.dragging||(Bn=Lt.secondButton.value)!=null&&Bn.dragging)&&On.preventDefault()},onSliderClick:On=>{Pn(On)&&$n()},onSliderDown:async On=>{const Rn=Pn(On);Rn&&(await nextTick(),Rn.value.onButtonDown(On))},setFirstValue:En,setSecondValue:Tn}},{left,down,right,up,home,end:end$1,pageUp,pageDown}=EVENT_CODE,useTooltip=(xe,$e,Ie)=>{const Fe=ref(),Ue=ref(!1),qe=computed(()=>$e.value instanceof Function),At=computed(()=>qe.value&&$e.value(xe.modelValue)||xe.modelValue),Dt=debounce(()=>{Ie.value&&(Ue.value=!0)},50),Lt=debounce(()=>{Ie.value&&(Ue.value=!1)},50);return{tooltip:Fe,tooltipVisible:Ue,formatValue:At,displayTooltip:Dt,hideTooltip:Lt}},useSliderButton=(xe,$e,Ie)=>{const{disabled:Fe,min:Ue,max:qe,step:At,showTooltip:Dt,precision:Lt,sliderSize:jt,formatTooltip:hn,emitChange:vn,resetSize:bn,updateDragging:_n}=inject(sliderContextKey),{tooltip:wn,tooltipVisible:kn,formatValue:Cn,displayTooltip:Sn,hideTooltip:xn}=useTooltip(xe,hn,Dt),En=ref(),Tn=computed(()=>`${(xe.modelValue-Ue.value)/(qe.value-Ue.value)*100}%`),An=computed(()=>xe.vertical?{bottom:Tn.value}:{left:Tn.value}),$n=()=>{$e.hovering=!0,Sn()},Pn=()=>{$e.hovering=!1,$e.dragging||xn()},Nn=Wn=>{Fe.value||(Wn.preventDefault(),Fn(Wn),window.addEventListener("mousemove",zn),window.addEventListener("touchmove",zn),window.addEventListener("mouseup",jn),window.addEventListener("touchend",jn),window.addEventListener("contextmenu",jn),En.value.focus())},Mn=Wn=>{Fe.value||($e.newPosition=Number.parseFloat(Tn.value)+Wn/(qe.value-Ue.value)*100,Gn($e.newPosition),vn())},In=()=>{Mn(-At.value)},On=()=>{Mn(At.value)},Rn=()=>{Mn(-At.value*4)},Bn=()=>{Mn(At.value*4)},Vn=()=>{Fe.value||(Gn(0),vn())},Ln=()=>{Fe.value||(Gn(100),vn())},Dn=Wn=>{let Xn=!0;[left,down].includes(Wn.key)?In():[right,up].includes(Wn.key)?On():Wn.key===home?Vn():Wn.key===end$1?Ln():Wn.key===pageDown?Rn():Wn.key===pageUp?Bn():Xn=!1,Xn&&Wn.preventDefault()},Hn=Wn=>{let Xn,er;return Wn.type.startsWith("touch")?(er=Wn.touches[0].clientY,Xn=Wn.touches[0].clientX):(er=Wn.clientY,Xn=Wn.clientX),{clientX:Xn,clientY:er}},Fn=Wn=>{$e.dragging=!0,$e.isClick=!0;const{clientX:Xn,clientY:er}=Hn(Wn);xe.vertical?$e.startY=er:$e.startX=Xn,$e.startPosition=Number.parseFloat(Tn.value),$e.newPosition=$e.startPosition},zn=Wn=>{if($e.dragging){$e.isClick=!1,Sn(),bn();let Xn;const{clientX:er,clientY:rr}=Hn(Wn);xe.vertical?($e.currentY=rr,Xn=($e.startY-$e.currentY)/jt.value*100):($e.currentX=er,Xn=($e.currentX-$e.startX)/jt.value*100),$e.newPosition=$e.startPosition+Xn,Gn($e.newPosition)}},jn=()=>{$e.dragging&&(setTimeout(()=>{$e.dragging=!1,$e.hovering||xn(),$e.isClick||Gn($e.newPosition),vn()},0),window.removeEventListener("mousemove",zn),window.removeEventListener("touchmove",zn),window.removeEventListener("mouseup",jn),window.removeEventListener("touchend",jn),window.removeEventListener("contextmenu",jn))},Gn=async Wn=>{if(Wn===null||Number.isNaN(+Wn))return;Wn<0?Wn=0:Wn>100&&(Wn=100);const Xn=100/((qe.value-Ue.value)/At.value);let rr=Math.round(Wn/Xn)*Xn*(qe.value-Ue.value)*.01+Ue.value;rr=Number.parseFloat(rr.toFixed(Lt.value)),rr!==xe.modelValue&&Ie(UPDATE_MODEL_EVENT,rr),!$e.dragging&&xe.modelValue!==$e.oldValue&&($e.oldValue=xe.modelValue),await nextTick(),$e.dragging&&Sn(),wn.value.updatePopper()};return watch(()=>$e.dragging,Wn=>{_n(Wn)}),{disabled:Fe,button:En,tooltip:wn,tooltipVisible:kn,showTooltip:Dt,wrapperStyle:An,formatValue:Cn,handleMouseEnter:$n,handleMouseLeave:Pn,onButtonDown:Nn,onKeyDown:Dn,setPosition:Gn}},useStops=(xe,$e,Ie,Fe)=>({stops:computed(()=>{if(!xe.showStops||xe.min>xe.max)return[];if(xe.step===0)return[];const At=(xe.max-xe.min)/xe.step,Dt=100*xe.step/(xe.max-xe.min),Lt=Array.from({length:At-1}).map((jt,hn)=>(hn+1)*Dt);return xe.range?Lt.filter(jt=>jt<100*(Ie.value-xe.min)/(xe.max-xe.min)||jt>100*(Fe.value-xe.min)/(xe.max-xe.min)):Lt.filter(jt=>jt>100*($e.firstValue-xe.min)/(xe.max-xe.min))}),getStopStyle:At=>xe.vertical?{bottom:`${At}%`}:{left:`${At}%`}}),useWatch=(xe,$e,Ie,Fe,Ue,qe)=>{const At=jt=>{Ue(UPDATE_MODEL_EVENT,jt),Ue(INPUT_EVENT,jt)},Dt=()=>xe.range?![Ie.value,Fe.value].every((jt,hn)=>jt===$e.oldValue[hn]):xe.modelValue!==$e.oldValue,Lt=()=>{var jt,hn;xe.min>xe.max&&throwError$1("Slider","min should not be greater than max.");const vn=xe.modelValue;xe.range&&Array.isArray(vn)?vn[1]xe.max?At([xe.max,xe.max]):vn[0]xe.max?At([vn[0],xe.max]):($e.firstValue=vn[0],$e.secondValue=vn[1],Dt()&&(xe.validateEvent&&((jt=qe==null?void 0:qe.validate)==null||jt.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn.slice())):!xe.range&&typeof vn=="number"&&!Number.isNaN(vn)&&(vnxe.max?At(xe.max):($e.firstValue=vn,Dt()&&(xe.validateEvent&&((hn=qe==null?void 0:qe.validate)==null||hn.call(qe,"change").catch(bn=>void 0)),$e.oldValue=vn)))};Lt(),watch(()=>$e.dragging,jt=>{jt||Lt()}),watch(()=>xe.modelValue,(jt,hn)=>{$e.dragging||Array.isArray(jt)&&Array.isArray(hn)&&jt.every((vn,bn)=>vn===hn[bn])&&$e.firstValue===jt[0]&&$e.secondValue===jt[1]||Lt()},{deep:!0}),watch(()=>[xe.min,xe.max],()=>{Lt()})},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:xe=>isNumber$1(xe)},_hoisted_1$k=["tabindex"],__default__$z=defineComponent({name:"ElSliderButton"}),_sfc_main$I=defineComponent({...__default__$z,props:sliderButtonProps,emits:sliderButtonEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),qe=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:Fe.modelValue}),{disabled:At,button:Dt,tooltip:Lt,showTooltip:jt,tooltipVisible:hn,wrapperStyle:vn,formatValue:bn,handleMouseEnter:_n,handleMouseLeave:wn,onButtonDown:kn,onKeyDown:Cn,setPosition:Sn}=useSliderButton(Fe,qe,Ie),{hovering:xn,dragging:En}=toRefs(qe);return $e({onButtonDown:kn,onKeyDown:Cn,setPosition:Sn,hovering:xn,dragging:En}),(Tn,An)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:Dt,class:normalizeClass([unref(Ue).e("button-wrapper"),{hover:unref(xn),dragging:unref(En)}]),style:normalizeStyle$1(unref(vn)),tabindex:unref(At)?-1:0,onMouseenter:An[0]||(An[0]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onMouseleave:An[1]||(An[1]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onMousedown:An[2]||(An[2]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onTouchstart:An[3]||(An[3]=(...$n)=>unref(kn)&&unref(kn)(...$n)),onFocus:An[4]||(An[4]=(...$n)=>unref(_n)&&unref(_n)(...$n)),onBlur:An[5]||(An[5]=(...$n)=>unref(wn)&&unref(wn)(...$n)),onKeydown:An[6]||(An[6]=(...$n)=>unref(Cn)&&unref(Cn)(...$n))},[createVNode$1(unref(ElTooltip),{ref_key:"tooltip",ref:Lt,visible:unref(hn),placement:Tn.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Tn.tooltipClass,disabled:!unref(jt),persistent:""},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(bn)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref(Ue).e("button"),{hover:unref(xn),dragging:unref(En)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,_hoisted_1$k))}});var SliderButton=_export_sfc$1(_sfc_main$I,[["__file","button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(xe){const $e=useNamespace("slider"),Ie=computed(()=>isString$4(xe.mark)?xe.mark:xe.mark.label),Fe=computed(()=>isString$4(xe.mark)?void 0:xe.mark.style);return()=>h$5("div",{class:$e.e("marks-text"),style:Fe.value},Ie.value)}});const _hoisted_1$j=["id","role","aria-label","aria-labelledby"],_hoisted_2$d={key:1},__default__$y=defineComponent({name:"ElSlider"}),_sfc_main$H=defineComponent({...__default__$y,props:sliderProps,emits:sliderEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useNamespace("slider"),{t:qe}=useLocale(),At=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:Dt,slider:Lt,firstButton:jt,secondButton:hn,sliderDisabled:vn,minValue:bn,maxValue:_n,runwayStyle:wn,barStyle:kn,resetSize:Cn,emitChange:Sn,onSliderWrapperPrevent:xn,onSliderClick:En,onSliderDown:Tn,setFirstValue:An,setSecondValue:$n}=useSlide(Fe,At,Ie),{stops:Pn,getStopStyle:Nn}=useStops(Fe,At,bn,_n),{inputId:Mn,isLabeledByFormItem:In}=useFormItemInputId(Fe,{formItemContext:Dt}),On=useFormSize(),Rn=computed(()=>Fe.inputSize||On.value),Bn=computed(()=>Fe.label||Fe.ariaLabel||qe("el.slider.defaultLabel",{min:Fe.min,max:Fe.max})),Vn=computed(()=>Fe.range?Fe.rangeStartLabel||qe("el.slider.defaultRangeStartLabel"):Bn.value),Ln=computed(()=>Fe.formatValueText?Fe.formatValueText(Wn.value):`${Wn.value}`),Dn=computed(()=>Fe.rangeEndLabel||qe("el.slider.defaultRangeEndLabel")),Hn=computed(()=>Fe.formatValueText?Fe.formatValueText(Xn.value):`${Xn.value}`),Fn=computed(()=>[Ue.b(),Ue.m(On.value),Ue.is("vertical",Fe.vertical),{[Ue.m("with-input")]:Fe.showInput}]),zn=useMarks(Fe);useWatch(Fe,At,bn,_n,Ie,Dt);const jn=computed(()=>{const Jn=[Fe.min,Fe.max,Fe.step].map(qn=>{const Yn=`${qn}`.split(".")[1];return Yn?Yn.length:0});return Math.max.apply(null,Jn)}),{sliderWrapper:Gn}=useLifecycle(Fe,At,Cn),{firstValue:Wn,secondValue:Xn,sliderSize:er}=toRefs(At),rr=Jn=>{At.dragging=Jn};return provide(sliderContextKey,{...toRefs(Fe),sliderSize:er,disabled:vn,precision:jn,emitChange:Sn,resetSize:Cn,updateDragging:rr}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-slider",ref:"https://element-plus.org/en-US/component/slider.html"},computed(()=>!!Fe.label)),$e({onSliderClick:En}),(Jn,qn)=>{var Yn,ar;return openBlock(),createElementBlock("div",{id:Jn.range?unref(Mn):void 0,ref_key:"sliderWrapper",ref:Gn,class:normalizeClass(unref(Fn)),role:Jn.range?"group":void 0,"aria-label":Jn.range&&!unref(In)?unref(Bn):void 0,"aria-labelledby":Jn.range&&unref(In)?(Yn=unref(Dt))==null?void 0:Yn.labelId:void 0,onTouchstart:qn[2]||(qn[2]=(...tr)=>unref(xn)&&unref(xn)(...tr)),onTouchmove:qn[3]||(qn[3]=(...tr)=>unref(xn)&&unref(xn)(...tr))},[createBaseVNode("div",{ref_key:"slider",ref:Lt,class:normalizeClass([unref(Ue).e("runway"),{"show-input":Jn.showInput&&!Jn.range},unref(Ue).is("disabled",unref(vn))]),style:normalizeStyle$1(unref(wn)),onMousedown:qn[0]||(qn[0]=(...tr)=>unref(Tn)&&unref(Tn)(...tr)),onTouchstart:qn[1]||(qn[1]=(...tr)=>unref(Tn)&&unref(Tn)(...tr))},[createBaseVNode("div",{class:normalizeClass(unref(Ue).e("bar")),style:normalizeStyle$1(unref(kn))},null,6),createVNode$1(SliderButton,{id:Jn.range?void 0:unref(Mn),ref_key:"firstButton",ref:jt,"model-value":unref(Wn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":Jn.range||!unref(In)?unref(Vn):void 0,"aria-labelledby":!Jn.range&&unref(In)?(ar=unref(Dt))==null?void 0:ar.labelId:void 0,"aria-valuemin":Jn.min,"aria-valuemax":Jn.range?unref(Xn):Jn.max,"aria-valuenow":unref(Wn),"aria-valuetext":unref(Ln),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref(An)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),Jn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:hn,"model-value":unref(Xn),vertical:Jn.vertical,"tooltip-class":Jn.tooltipClass,placement:Jn.placement,role:"slider","aria-label":unref(Dn),"aria-valuemin":unref(Wn),"aria-valuemax":Jn.max,"aria-valuenow":unref(Xn),"aria-valuetext":unref(Hn),"aria-orientation":Jn.vertical?"vertical":"horizontal","aria-disabled":unref(vn),"onUpdate:modelValue":unref($n)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),Jn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$d,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Pn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,class:normalizeClass(unref(Ue).e("stop")),style:normalizeStyle$1(unref(Nn)(tr))},null,6))),128))])):createCommentVNode("v-if",!0),unref(zn).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(zn),(tr,or)=>(openBlock(),createElementBlock("div",{key:or,style:normalizeStyle$1(unref(Nn)(tr.position)),class:normalizeClass([unref(Ue).e("stop"),unref(Ue).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref(Ue).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(zn),(tr,or)=>(openBlock(),createBlock(unref(SliderMarker),{key:or,mark:tr.mark,style:normalizeStyle$1(unref(Nn)(tr.position))},null,8,["mark","style"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),Jn.showInput&&!Jn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Wn),class:normalizeClass(unref(Ue).e("input")),step:Jn.step,disabled:unref(vn),controls:Jn.showInputControls,min:Jn.min,max:Jn.max,debounce:Jn.debounce,size:unref(Rn),"onUpdate:modelValue":unref(An),onChange:unref(Sn)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],42,_hoisted_1$j)}}});var Slider=_export_sfc$1(_sfc_main$H,[["__file","slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(xe,{slots:$e}){const Ie=useNamespace("space"),Fe=computed(()=>`${xe.prefixCls||Ie.b()}__item`);return()=>h$5("div",{class:Fe.value},renderSlot($e,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(xe){const $e=useNamespace("space"),Ie=computed(()=>[$e.b(),$e.m(xe.direction),xe.class]),Fe=ref(0),Ue=ref(0),qe=computed(()=>{const Dt=xe.wrap||xe.fill?{flexWrap:"wrap"}:{},Lt={alignItems:xe.alignment},jt={rowGap:`${Ue.value}px`,columnGap:`${Fe.value}px`};return[Dt,Lt,jt,xe.style]}),At=computed(()=>xe.fill?{flexGrow:1,minWidth:`${xe.fillRatio}%`}:{});return watchEffect(()=>{const{size:Dt="small",wrap:Lt,direction:jt,fill:hn}=xe;if(isArray$6(Dt)){const[vn=0,bn=0]=Dt;Fe.value=vn,Ue.value=bn}else{let vn;isNumber$1(Dt)?vn=Dt:vn=SIZE_MAP[Dt||"small"]||SIZE_MAP.small,(Lt||hn)&&jt==="horizontal"?Fe.value=Ue.value=vn:jt==="horizontal"?(Fe.value=vn,Ue.value=0):(Ue.value=vn,Fe.value=0)}}),{classes:Ie,containerStyle:qe,itemStyle:At}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:xe=>isVNode(xe)||isNumber$1(xe)||isString$4(xe)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:xe=>isNumber$1(xe)||isArray$6(xe)&&xe.length===2&&xe.every(isNumber$1)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(xe,{slots:$e}){const{classes:Ie,containerStyle:Fe,itemStyle:Ue}=useSpace(xe);function qe(At,Dt="",Lt=[]){const{prefixCls:jt}=xe;return At.forEach((hn,vn)=>{isFragment(hn)?isArray$6(hn.children)&&hn.children.forEach((bn,_n)=>{isFragment(bn)&&isArray$6(bn.children)?qe(bn.children,`${Dt+_n}-`,Lt):Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`nested-${Dt+_n}`},{default:()=>[bn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(hn)&&Lt.push(createVNode$1(SpaceItem,{style:Ue.value,prefixCls:jt,key:`LoopKey${Dt+vn}`},{default:()=>[hn]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),Lt}return()=>{var At;const{spacer:Dt,direction:Lt}=xe,jt=renderSlot($e,"default",{key:0},()=>[]);if(((At=jt.children)!=null?At:[]).length===0)return null;if(isArray$6(jt.children)){let hn=qe(jt.children);if(Dt){const vn=hn.length-1;hn=hn.reduce((bn,_n,wn)=>{const kn=[...bn,_n];return wn!==vn&&kn.push(createVNode$1("span",{style:[Ue.value,Lt==="vertical"?"width: 100%":null],key:wn},[isVNode(Dt)?Dt:createTextVNode(Dt,PatchFlags.TEXT)],PatchFlags.STYLE)),kn},[])}return createVNode$1("div",{class:Ie.value,style:Fe.value},hn,PatchFlags.STYLE|PatchFlags.CLASS)}return jt.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),__default__$x=defineComponent({name:"ElStatistic"}),_sfc_main$G=defineComponent({...__default__$x,props:statisticProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("statistic"),Ue=computed(()=>{const{value:qe,formatter:At,precision:Dt,decimalSeparator:Lt,groupSeparator:jt}=Ie;if(isFunction$5(At))return At(qe);if(!isNumber$1(qe))return qe;let[hn,vn=""]=String(qe).split(".");return vn=vn.padEnd(Dt,"0").slice(0,Dt>0?Dt:0),hn=hn.replace(/\B(?=(\d{3})+(?!\d))/g,jt),[hn,vn].join(vn?Lt:"")});return $e({displayValue:Ue}),(qe,At)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).b())},[qe.$slots.title||qe.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("head"))},[renderSlot(qe.$slots,"title",{},()=>[createTextVNode(toDisplayString(qe.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content"))},[qe.$slots.prefix||qe.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("prefix"))},[renderSlot(qe.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(Fe).e("number")),style:normalizeStyle$1(qe.valueStyle)},toDisplayString(unref(Ue)),7),qe.$slots.suffix||qe.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Fe).e("suffix"))},[renderSlot(qe.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString(qe.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc$1(_sfc_main$G,[["__file","statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:xe=>isNumber$1(xe)},timeUnits$1=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],getTime$1=xe=>isNumber$1(xe)?new Date(xe).getTime():xe.valueOf(),formatTime$1=(xe,$e)=>{let Ie=xe;const Fe=/\[([^\]]*)]/g;return timeUnits$1.reduce((qe,[At,Dt])=>{const Lt=new RegExp(`${At}+(?![^\\[\\]]*\\])`,"g");if(Lt.test(qe)){const jt=Math.floor(Ie/Dt);return Ie-=jt*Dt,qe.replace(Lt,hn=>String(jt).padStart(hn.length,"0"))}return qe},$e).replace(Fe,"$1")},__default__$w=defineComponent({name:"ElCountdown"}),_sfc_main$F=defineComponent({...__default__$w,props:countdownProps,emits:countdownEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe;let Ue;const qe=ref(getTime$1(Fe.value)-Date.now()),At=computed(()=>formatTime$1(qe.value,Fe.format)),Dt=hn=>formatTime$1(hn,Fe.format),Lt=()=>{Ue&&(cAF(Ue),Ue=void 0)},jt=()=>{const hn=getTime$1(Fe.value),vn=()=>{let bn=hn-Date.now();Ie("change",bn),bn<=0?(bn=0,Lt(),Ie("finish")):Ue=rAF(vn),qe.value=bn};Ue=rAF(vn)};return watch(()=>[Fe.value,Fe.format],()=>{Lt(),jt()},{immediate:!0}),onBeforeUnmount(()=>{Lt()}),$e({displayValue:At}),(hn,vn)=>(openBlock(),createBlock(unref(ElStatistic),{value:qe.value,title:hn.title,prefix:hn.prefix,suffix:hn.suffix,"value-style":hn.valueStyle,formatter:Dt},createSlots({_:2},[renderList(hn.$slots,(bn,_n)=>({name:_n,fn:withCtx(()=>[renderSlot(hn.$slots,_n)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc$1(_sfc_main$F,[["__file","countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),stepsEmits={[CHANGE_EVENT]:(xe,$e)=>[xe,$e].every(isNumber$1)},__default__$v=defineComponent({name:"ElSteps"}),_sfc_main$E=defineComponent({...__default__$v,props:stepsProps,emits:stepsEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("steps"),{children:Ue,addChild:qe,removeChild:At}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch(Ue,()=>{Ue.value.forEach((Dt,Lt)=>{Dt.setIndex(Lt)})}),provide("ElSteps",{props:Ie,steps:Ue,addStep:qe,removeStep:At}),watch(()=>Ie.active,(Dt,Lt)=>{$e(CHANGE_EVENT,Dt,Lt)}),(Dt,Lt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(Dt.simple?"simple":Dt.direction)])},[renderSlot(Dt.$slots,"default")],2))}});var Steps=_export_sfc$1(_sfc_main$E,[["__file","steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),__default__$u=defineComponent({name:"ElStep"}),_sfc_main$D=defineComponent({...__default__$u,props:stepProps,setup(xe){const $e=xe,Ie=useNamespace("step"),Fe=ref(-1),Ue=ref({}),qe=ref(""),At=inject("ElSteps"),Dt=getCurrentInstance();onMounted(()=>{watch([()=>At.props.active,()=>At.props.processStatus,()=>At.props.finishStatus],([$n])=>{Tn($n)},{immediate:!0})}),onBeforeUnmount(()=>{At.removeStep(An.uid)});const Lt=computed(()=>$e.status||qe.value),jt=computed(()=>{const $n=At.steps.value[Fe.value-1];return $n?$n.currentStatus:"wait"}),hn=computed(()=>At.props.alignCenter),vn=computed(()=>At.props.direction==="vertical"),bn=computed(()=>At.props.simple),_n=computed(()=>At.steps.value.length),wn=computed(()=>{var $n;return(($n=At.steps.value[_n.value-1])==null?void 0:$n.uid)===(Dt==null?void 0:Dt.uid)}),kn=computed(()=>bn.value?"":At.props.space),Cn=computed(()=>[Ie.b(),Ie.is(bn.value?"simple":At.props.direction),Ie.is("flex",wn.value&&!kn.value&&!hn.value),Ie.is("center",hn.value&&!vn.value&&!bn.value)]),Sn=computed(()=>{const $n={flexBasis:isNumber$1(kn.value)?`${kn.value}px`:kn.value?kn.value:`${100/(_n.value-(hn.value?0:1))}%`};return vn.value||wn.value&&($n.maxWidth=`${100/_n.value}%`),$n}),xn=$n=>{Fe.value=$n},En=$n=>{const Pn=$n==="wait",Nn={transitionDelay:`${Pn?"-":""}${150*Fe.value}ms`},Mn=$n===At.props.processStatus||Pn?0:100;Nn.borderWidth=Mn&&!bn.value?"1px":0,Nn[At.props.direction==="vertical"?"height":"width"]=`${Mn}%`,Ue.value=Nn},Tn=$n=>{$n>Fe.value?qe.value=At.props.finishStatus:$n===Fe.value&&jt.value!=="error"?qe.value=At.props.processStatus:qe.value="wait";const Pn=At.steps.value[Fe.value-1];Pn&&Pn.calcProgress(qe.value)},An=reactive({uid:Dt.uid,currentStatus:Lt,setIndex:xn,calcProgress:En});return At.addStep(An),($n,Pn)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(unref(Sn)),class:normalizeClass(unref(Cn))},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(Ie).e("head"),unref(Ie).is(unref(Lt))])},[unref(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(Ie).e("line-inner")),style:normalizeStyle$1(Ue.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(Ie).e("icon"),unref(Ie).is($n.icon||$n.$slots.icon?"icon":"text")])},[renderSlot($n.$slots,"icon",{},()=>[$n.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ie).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent($n.icon)))]),_:1},8,["class"])):unref(Lt)==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):unref(Lt)==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(Ie).e("icon-inner"),unref(Ie).is("status")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])):unref(bn)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(Ie).e("icon-inner"))},toDisplayString(Fe.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(Ie).e("title"),unref(Ie).is(unref(Lt))])},[renderSlot($n.$slots,"title",{},()=>[createTextVNode(toDisplayString($n.title),1)])],2),unref(bn)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(Ie).e("description"),unref(Ie).is(unref(Lt))])},[renderSlot($n.$slots,"description",{},()=>[createTextVNode(toDisplayString($n.description),1)])],2))],2)],6))}});var Step=_export_sfc$1(_sfc_main$D,[["__file","item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},label:{type:String,default:void 0},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe),[CHANGE_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe),[INPUT_EVENT]:xe=>isBoolean(xe)||isString$4(xe)||isNumber$1(xe)},_hoisted_1$i=["onClick"],_hoisted_2$c=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],_hoisted_3$5=["aria-hidden"],_hoisted_4$3=["aria-hidden"],_hoisted_5$2=["aria-hidden"],COMPONENT_NAME$8="ElSwitch",__default__$t=defineComponent({name:COMPONENT_NAME$8}),_sfc_main$C=defineComponent({...__default__$t,props:switchProps,emits:switchEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,{formItem:Ue}=useFormItem(),qe=useFormSize(),At=useNamespace("switch"),{inputId:Dt}=useFormItemInputId(Fe,{formItemContext:Ue}),Lt=useFormDisabled(computed(()=>Fe.loading)),jt=ref(Fe.modelValue!==!1),hn=ref(),vn=ref(),bn=computed(()=>[At.b(),At.m(qe.value),At.is("disabled",Lt.value),At.is("checked",Sn.value)]),_n=computed(()=>[At.e("label"),At.em("label","left"),At.is("active",!Sn.value)]),wn=computed(()=>[At.e("label"),At.em("label","right"),At.is("active",Sn.value)]),kn=computed(()=>({width:addUnit(Fe.width)}));watch(()=>Fe.modelValue,()=>{jt.value=!0});const Cn=computed(()=>jt.value?Fe.modelValue:!1),Sn=computed(()=>Cn.value===Fe.activeValue);[Fe.activeValue,Fe.inactiveValue].includes(Cn.value)||(Ie(UPDATE_MODEL_EVENT,Fe.inactiveValue),Ie(CHANGE_EVENT,Fe.inactiveValue),Ie(INPUT_EVENT,Fe.inactiveValue)),watch(Sn,An=>{var $n;hn.value.checked=An,Fe.validateEvent&&(($n=Ue==null?void 0:Ue.validate)==null||$n.call(Ue,"change").catch(Pn=>void 0))});const xn=()=>{const An=Sn.value?Fe.inactiveValue:Fe.activeValue;Ie(UPDATE_MODEL_EVENT,An),Ie(CHANGE_EVENT,An),Ie(INPUT_EVENT,An),nextTick(()=>{hn.value.checked=Sn.value})},En=()=>{if(Lt.value)return;const{beforeChange:An}=Fe;if(!An){xn();return}const $n=An();[isPromise($n),isBoolean($n)].includes(!0)||throwError$1(COMPONENT_NAME$8,"beforeChange must return type `Promise` or `boolean`"),isPromise($n)?$n.then(Nn=>{Nn&&xn()}).catch(Nn=>{}):$n&&xn()},Tn=()=>{var An,$n;($n=(An=hn.value)==null?void 0:An.focus)==null||$n.call(An)};return onMounted(()=>{hn.value.checked=Sn.value}),useDeprecated({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-switch",ref:"https://element-plus.org/en-US/component/switch.html"},computed(()=>!!Fe.label)),$e({focus:Tn,checked:Sn}),(An,$n)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(bn)),onClick:withModifiers(En,["prevent"])},[createBaseVNode("input",{id:unref(Dt),ref_key:"input",ref:hn,class:normalizeClass(unref(At).e("input")),type:"checkbox",role:"switch","aria-checked":unref(Sn),"aria-disabled":unref(Lt),"aria-label":An.label||An.ariaLabel,name:An.name,"true-value":An.activeValue,"false-value":An.inactiveValue,disabled:unref(Lt),tabindex:An.tabindex,onChange:xn,onKeydown:withKeys(En,["enter"])},null,42,_hoisted_2$c),!An.inlinePrompt&&(An.inactiveIcon||An.inactiveText)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(_n))},[An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.inactiveIcon&&An.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":unref(Sn)},toDisplayString(An.inactiveText),9,_hoisted_3$5)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{ref_key:"core",ref:vn,class:normalizeClass(unref(At).e("core")),style:normalizeStyle$1(unref(kn))},[An.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(At).e("inner"))},[An.activeIcon||An.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(Sn)?An.activeIcon:An.inactiveIcon)))]),_:1},8,["class"])):An.activeText||An.inactiveText?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(At).is("text")),"aria-hidden":!unref(Sn)},toDisplayString(unref(Sn)?An.activeText:An.inactiveText),11,_hoisted_4$3)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(At).e("action"))},[An.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(At).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])):unref(Sn)?renderSlot(An.$slots,"active-action",{key:1},()=>[An.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeActionIcon)))]),_:1})):createCommentVNode("v-if",!0)]):unref(Sn)?createCommentVNode("v-if",!0):renderSlot(An.$slots,"inactive-action",{key:2},()=>[An.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)])],2)],6),!An.inlinePrompt&&(An.activeIcon||An.activeText)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(wn))},[An.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(An.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!An.activeIcon&&An.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!unref(Sn)},toDisplayString(An.activeText),9,_hoisted_5$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],10,_hoisted_1$i))}});var Switch=_export_sfc$1(_sfc_main$C,[["__file","switch.vue"]]);const ElSwitch=withInstall(Switch),getCell=function(xe){var $e;return($e=xe.target)==null?void 0:$e.closest("td")},orderBy=function(xe,$e,Ie,Fe,Ue){if(!$e&&!Fe&&(!Ue||Array.isArray(Ue)&&!Ue.length))return xe;typeof Ie=="string"?Ie=Ie==="descending"?-1:1:Ie=Ie&&Ie<0?-1:1;const qe=Fe?null:function(Dt,Lt){return Ue?(Array.isArray(Ue)||(Ue=[Ue]),Ue.map(jt=>typeof jt=="string"?get$1(Dt,jt):jt(Dt,Lt,xe))):($e!=="$key"&&isObject$8(Dt)&&"$value"in Dt&&(Dt=Dt.$value),[isObject$8(Dt)?get$1(Dt,$e):Dt])},At=function(Dt,Lt){if(Fe)return Fe(Dt.value,Lt.value);for(let jt=0,hn=Dt.key.length;jtLt.key[jt])return 1}return 0};return xe.map((Dt,Lt)=>({value:Dt,index:Lt,key:qe?qe(Dt,Lt):null})).sort((Dt,Lt)=>{let jt=At(Dt,Lt);return jt||(jt=Dt.index-Lt.index),jt*+Ie}).map(Dt=>Dt.value)},getColumnById=function(xe,$e){let Ie=null;return xe.columns.forEach(Fe=>{Fe.id===$e&&(Ie=Fe)}),Ie},getColumnByKey=function(xe,$e){let Ie=null;for(let Fe=0;Fe{if(!xe)throw new Error("Row is required when get row identity");if(typeof $e=="string"){if(!$e.includes("."))return`${xe[$e]}`;const Ie=$e.split(".");let Fe=xe;for(const Ue of Ie)Fe=Fe[Ue];return`${Fe}`}else if(typeof $e=="function")return $e.call(null,xe)},getKeysMap=function(xe,$e){const Ie={};return(xe||[]).forEach((Fe,Ue)=>{Ie[getRowIdentity(Fe,$e)]={row:Fe,index:Ue}}),Ie};function mergeOptions(xe,$e){const Ie={};let Fe;for(Fe in xe)Ie[Fe]=xe[Fe];for(Fe in $e)if(hasOwn$1($e,Fe)){const Ue=$e[Fe];typeof Ue<"u"&&(Ie[Fe]=Ue)}return Ie}function parseWidth(xe){return xe===""||xe!==void 0&&(xe=Number.parseInt(xe,10),Number.isNaN(xe)&&(xe="")),xe}function parseMinWidth(xe){return xe===""||xe!==void 0&&(xe=parseWidth(xe),Number.isNaN(xe)&&(xe=80)),xe}function parseHeight(xe){return typeof xe=="number"?xe:typeof xe=="string"?/^\d+(?:px)?$/.test(xe)?Number.parseInt(xe,10):xe:null}function compose(...xe){return xe.length===0?$e=>$e:xe.length===1?xe[0]:xe.reduce(($e,Ie)=>(...Fe)=>$e(Ie(...Fe)))}function toggleRowStatus(xe,$e,Ie){let Fe=!1;const Ue=xe.indexOf($e),qe=Ue!==-1,At=Dt=>{Dt==="add"?xe.push($e):xe.splice(Ue,1),Fe=!0,isArray$6($e.children)&&$e.children.forEach(Lt=>{toggleRowStatus(xe,Lt,Ie??!qe)})};return isBoolean(Ie)?Ie&&!qe?At("add"):!Ie&&qe&&At("remove"):At(qe?"remove":"add"),Fe}function walkTreeNode(xe,$e,Ie="children",Fe="hasChildren"){const Ue=At=>!(Array.isArray(At)&&At.length);function qe(At,Dt,Lt){$e(At,Dt,Lt),Dt.forEach(jt=>{if(jt[Fe]){$e(jt,null,Lt+1);return}const hn=jt[Ie];Ue(hn)||qe(jt,hn,Lt+1)})}xe.forEach(At=>{if(At[Fe]){$e(At,null,0);return}const Dt=At[Ie];Ue(Dt)||qe(At,Dt,0)})}let removePopper=null;function createTablePopper(xe,$e,Ie,Fe){if((removePopper==null?void 0:removePopper.trigger)===Ie)return;removePopper==null||removePopper();const Ue=Fe==null?void 0:Fe.refs.tableWrapper,qe=Ue==null?void 0:Ue.dataset.prefix,At={strategy:"fixed",...xe.popperOptions},Dt=createVNode$1(ElTooltip,{content:$e,virtualTriggering:!0,virtualRef:Ie,appendTo:Ue,placement:"top",transition:"none",offset:0,hideAfter:0,...xe,popperOptions:At,onHide:()=>{removePopper==null||removePopper()}});Dt.appContext={...Fe.appContext,...Fe};const Lt=document.createElement("div");render$2(Dt,Lt),Dt.component.exposed.onOpen();const jt=Ue==null?void 0:Ue.querySelector(`.${qe}-scrollbar__wrap`);removePopper=()=>{render$2(null,Lt),jt==null||jt.removeEventListener("scroll",removePopper),removePopper=null},removePopper.trigger=Ie,jt==null||jt.addEventListener("scroll",removePopper)}function getCurrentColumns(xe){return xe.children?flatMap(xe.children,getCurrentColumns):[xe]}function getColSpan(xe,$e){return xe+$e.colSpan}const isFixedColumn=(xe,$e,Ie,Fe)=>{let Ue=0,qe=xe;const At=Ie.states.columns.value;if(Fe){const Lt=getCurrentColumns(Fe[xe]);Ue=At.slice(0,At.indexOf(Lt[0])).reduce(getColSpan,0),qe=Ue+Lt.reduce(getColSpan,0)-1}else Ue=xe;let Dt;switch($e){case"left":qe=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right");break;default:qe=At.length-Ie.states.rightFixedLeafColumnsLength.value&&(Dt="right")}return Dt?{direction:Dt,start:Ue,after:qe}:{}},getFixedColumnsClass=(xe,$e,Ie,Fe,Ue,qe=0)=>{const At=[],{direction:Dt,start:Lt,after:jt}=isFixedColumn($e,Ie,Fe,Ue);if(Dt){const hn=Dt==="left";At.push(`${xe}-fixed-column--${Dt}`),hn&&jt+qe===Fe.states.fixedLeafColumnsLength.value-1?At.push("is-last-column"):!hn&&Lt-qe===Fe.states.columns.value.length-Fe.states.rightFixedLeafColumnsLength.value&&At.push("is-first-column")}return At};function getOffset(xe,$e){return xe+($e.realWidth===null||Number.isNaN($e.realWidth)?Number($e.width):$e.realWidth)}const getFixedColumnOffset=(xe,$e,Ie,Fe)=>{const{direction:Ue,start:qe=0,after:At=0}=isFixedColumn(xe,$e,Ie,Fe);if(!Ue)return;const Dt={},Lt=Ue==="left",jt=Ie.states.columns.value;return Lt?Dt.left=jt.slice(0,qe).reduce(getOffset,0):Dt.right=jt.slice(At+1).reverse().reduce(getOffset,0),Dt},ensurePosition=(xe,$e)=>{xe&&(Number.isNaN(xe[$e])||(xe[$e]=`${xe[$e]}px`))};function useExpand(xe){const $e=getCurrentInstance(),Ie=ref(!1),Fe=ref([]);return{updateExpandRows:()=>{const Lt=xe.data.value||[],jt=xe.rowKey.value;if(Ie.value)Fe.value=Lt.slice();else if(jt){const hn=getKeysMap(Fe.value,jt);Fe.value=Lt.reduce((vn,bn)=>{const _n=getRowIdentity(bn,jt);return hn[_n]&&vn.push(bn),vn},[])}else Fe.value=[]},toggleRowExpansion:(Lt,jt)=>{toggleRowStatus(Fe.value,Lt,jt)&&$e.emit("expand-change",Lt,Fe.value.slice())},setExpandRowKeys:Lt=>{$e.store.assertRowKey();const jt=xe.data.value||[],hn=xe.rowKey.value,vn=getKeysMap(jt,hn);Fe.value=Lt.reduce((bn,_n)=>{const wn=vn[_n];return wn&&bn.push(wn.row),bn},[])},isRowExpanded:Lt=>{const jt=xe.rowKey.value;return jt?!!getKeysMap(Fe.value,jt)[getRowIdentity(Lt,jt)]:Fe.value.includes(Lt)},states:{expandRows:Fe,defaultExpandAll:Ie}}}function useCurrent(xe){const $e=getCurrentInstance(),Ie=ref(null),Fe=ref(null),Ue=jt=>{$e.store.assertRowKey(),Ie.value=jt,At(jt)},qe=()=>{Ie.value=null},At=jt=>{const{data:hn,rowKey:vn}=xe;let bn=null;vn.value&&(bn=(unref(hn)||[]).find(_n=>getRowIdentity(_n,vn.value)===jt)),Fe.value=bn,$e.emit("current-change",Fe.value,null)};return{setCurrentRowKey:Ue,restoreCurrentRowKey:qe,setCurrentRowByKey:At,updateCurrentRow:jt=>{const hn=Fe.value;if(jt&&jt!==hn){Fe.value=jt,$e.emit("current-change",Fe.value,hn);return}!jt&&hn&&(Fe.value=null,$e.emit("current-change",null,hn))},updateCurrentRowData:()=>{const jt=xe.rowKey.value,hn=xe.data.value||[],vn=Fe.value;if(!hn.includes(vn)&&vn){if(jt){const bn=getRowIdentity(vn,jt);At(bn)}else Fe.value=null;Fe.value===null&&$e.emit("current-change",null,vn)}else Ie.value&&(At(Ie.value),qe())},states:{_currentRowKey:Ie,currentRow:Fe}}}function useTree$2(xe){const $e=ref([]),Ie=ref({}),Fe=ref(16),Ue=ref(!1),qe=ref({}),At=ref("hasChildren"),Dt=ref("children"),Lt=getCurrentInstance(),jt=computed(()=>{if(!xe.rowKey.value)return{};const Sn=xe.data.value||[];return vn(Sn)}),hn=computed(()=>{const Sn=xe.rowKey.value,xn=Object.keys(qe.value),En={};return xn.length&&xn.forEach(Tn=>{if(qe.value[Tn].length){const An={children:[]};qe.value[Tn].forEach($n=>{const Pn=getRowIdentity($n,Sn);An.children.push(Pn),$n[At.value]&&!En[Pn]&&(En[Pn]={children:[]})}),En[Tn]=An}}),En}),vn=Sn=>{const xn=xe.rowKey.value,En={};return walkTreeNode(Sn,(Tn,An,$n)=>{const Pn=getRowIdentity(Tn,xn);Array.isArray(An)?En[Pn]={children:An.map(Nn=>getRowIdentity(Nn,xn)),level:$n}:Ue.value&&(En[Pn]={children:[],lazy:!0,level:$n})},Dt.value,At.value),En},bn=(Sn=!1,xn=(En=>(En=Lt.store)==null?void 0:En.states.defaultExpandAll.value)())=>{var En;const Tn=jt.value,An=hn.value,$n=Object.keys(Tn),Pn={};if($n.length){const Nn=unref(Ie),Mn=[],In=(Rn,Bn)=>{if(Sn)return $e.value?xn||$e.value.includes(Bn):!!(xn||Rn!=null&&Rn.expanded);{const Vn=xn||$e.value&&$e.value.includes(Bn);return!!(Rn!=null&&Rn.expanded||Vn)}};$n.forEach(Rn=>{const Bn=Nn[Rn],Vn={...Tn[Rn]};if(Vn.expanded=In(Bn,Rn),Vn.lazy){const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Vn.loaded=!!Ln,Vn.loading=!!Dn,Mn.push(Rn)}Pn[Rn]=Vn});const On=Object.keys(An);Ue.value&&On.length&&Mn.length&&On.forEach(Rn=>{const Bn=Nn[Rn],Vn=An[Rn].children;if(Mn.includes(Rn)){if(Pn[Rn].children.length!==0)throw new Error("[ElTable]children must be an empty array.");Pn[Rn].children=Vn}else{const{loaded:Ln=!1,loading:Dn=!1}=Bn||{};Pn[Rn]={lazy:!0,loaded:!!Ln,loading:!!Dn,expanded:In(Bn,Rn),children:Vn,level:""}}})}Ie.value=Pn,(En=Lt.store)==null||En.updateTableScrollY()};watch(()=>$e.value,()=>{bn(!0)}),watch(()=>jt.value,()=>{bn()}),watch(()=>hn.value,()=>{bn()});const _n=Sn=>{$e.value=Sn,bn()},wn=(Sn,xn)=>{Lt.store.assertRowKey();const En=xe.rowKey.value,Tn=getRowIdentity(Sn,En),An=Tn&&Ie.value[Tn];if(Tn&&An&&"expanded"in An){const $n=An.expanded;xn=typeof xn>"u"?!An.expanded:xn,Ie.value[Tn].expanded=xn,$n!==xn&&Lt.emit("expand-change",Sn,xn),Lt.store.updateTableScrollY()}},kn=Sn=>{Lt.store.assertRowKey();const xn=xe.rowKey.value,En=getRowIdentity(Sn,xn),Tn=Ie.value[En];Ue.value&&Tn&&"loaded"in Tn&&!Tn.loaded?Cn(Sn,En,Tn):wn(Sn,void 0)},Cn=(Sn,xn,En)=>{const{load:Tn}=Lt.props;Tn&&!Ie.value[xn].loaded&&(Ie.value[xn].loading=!0,Tn(Sn,En,An=>{if(!Array.isArray(An))throw new TypeError("[ElTable] data must be an array");Ie.value[xn].loading=!1,Ie.value[xn].loaded=!0,Ie.value[xn].expanded=!0,An.length&&(qe.value[xn]=An),Lt.emit("expand-change",Sn,!0)}))};return{loadData:Cn,loadOrToggle:kn,toggleTreeExpansion:wn,updateTreeExpandKeys:_n,updateTreeData:bn,normalize:vn,states:{expandRowKeys:$e,treeData:Ie,indent:Fe,lazy:Ue,lazyTreeNodeMap:qe,lazyColumnIdentifier:At,childrenColumnName:Dt}}}const sortData=(xe,$e)=>{const Ie=$e.sortingColumn;return!Ie||typeof Ie.sortable=="string"?xe:orderBy(xe,$e.sortProp,$e.sortOrder,Ie.sortMethod,Ie.sortBy)},doFlattenColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children&&Ie.children.length>0?$e.push.apply($e,doFlattenColumns(Ie.children)):$e.push(Ie)}),$e};function useWatcher$1(){var xe;const $e=getCurrentInstance(),{size:Ie}=toRefs((xe=$e.proxy)==null?void 0:xe.$props),Fe=ref(null),Ue=ref([]),qe=ref([]),At=ref(!1),Dt=ref([]),Lt=ref([]),jt=ref([]),hn=ref([]),vn=ref([]),bn=ref([]),_n=ref([]),wn=ref([]),kn=[],Cn=ref(0),Sn=ref(0),xn=ref(0),En=ref(!1),Tn=ref([]),An=ref(!1),$n=ref(!1),Pn=ref(null),Nn=ref({}),Mn=ref(null),In=ref(null),On=ref(null),Rn=ref(null),Bn=ref(null);watch(Ue,()=>$e.state&&Hn(!1),{deep:!0});const Vn=()=>{if(!Fe.value)throw new Error("[ElTable] prop row-key is required")},Ln=Gr=>{var $r;($r=Gr.children)==null||$r.forEach(Br=>{Br.fixed=Gr.fixed,Ln(Br)})},Dn=()=>{Dt.value.forEach(cr=>{Ln(cr)}),hn.value=Dt.value.filter(cr=>cr.fixed===!0||cr.fixed==="left"),vn.value=Dt.value.filter(cr=>cr.fixed==="right"),hn.value.length>0&&Dt.value[0]&&Dt.value[0].type==="selection"&&!Dt.value[0].fixed&&(Dt.value[0].fixed=!0,hn.value.unshift(Dt.value[0]));const Gr=Dt.value.filter(cr=>!cr.fixed);Lt.value=[].concat(hn.value).concat(Gr).concat(vn.value);const $r=doFlattenColumns(Gr),Br=doFlattenColumns(hn.value),Tr=doFlattenColumns(vn.value);Cn.value=$r.length,Sn.value=Br.length,xn.value=Tr.length,jt.value=[].concat(Br).concat($r).concat(Tr),At.value=hn.value.length>0||vn.value.length>0},Hn=(Gr,$r=!1)=>{Gr&&Dn(),$r?$e.state.doLayout():$e.state.debouncedUpdateLayout()},Fn=Gr=>Tn.value.includes(Gr),zn=()=>{En.value=!1;const Gr=Tn.value;Tn.value=[],Gr.length&&$e.emit("selection-change",[])},jn=()=>{let Gr;if(Fe.value){Gr=[];const $r=getKeysMap(Tn.value,Fe.value),Br=getKeysMap(Ue.value,Fe.value);for(const Tr in $r)hasOwn$1($r,Tr)&&!Br[Tr]&&Gr.push($r[Tr].row)}else Gr=Tn.value.filter($r=>!Ue.value.includes($r));if(Gr.length){const $r=Tn.value.filter(Br=>!Gr.includes(Br));Tn.value=$r,$e.emit("selection-change",$r.slice())}},Gn=()=>(Tn.value||[]).slice(),Wn=(Gr,$r=void 0,Br=!0)=>{if(toggleRowStatus(Tn.value,Gr,$r)){const cr=(Tn.value||[]).slice();Br&&$e.emit("select",cr,Gr),$e.emit("selection-change",cr)}},Xn=()=>{var Gr,$r;const Br=$n.value?!En.value:!(En.value||Tn.value.length);En.value=Br;let Tr=!1,cr=0;const Sr=($r=(Gr=$e==null?void 0:$e.store)==null?void 0:Gr.states)==null?void 0:$r.rowKey.value;Ue.value.forEach((Dr,mr)=>{const Lr=mr+cr;Pn.value?Pn.value.call(null,Dr,Lr)&&toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0):toggleRowStatus(Tn.value,Dr,Br)&&(Tr=!0),cr+=Jn(getRowIdentity(Dr,Sr))}),Tr&&$e.emit("selection-change",Tn.value?Tn.value.slice():[]),$e.emit("select-all",(Tn.value||[]).slice())},er=()=>{const Gr=getKeysMap(Tn.value,Fe.value);Ue.value.forEach($r=>{const Br=getRowIdentity($r,Fe.value),Tr=Gr[Br];Tr&&(Tn.value[Tr.index]=$r)})},rr=()=>{var Gr,$r,Br;if(((Gr=Ue.value)==null?void 0:Gr.length)===0){En.value=!1;return}let Tr;Fe.value&&(Tr=getKeysMap(Tn.value,Fe.value));const cr=function(Lr){return Tr?!!Tr[getRowIdentity(Lr,Fe.value)]:Tn.value.includes(Lr)};let Sr=!0,Dr=0,mr=0;for(let Lr=0,zr=(Ue.value||[]).length;Lr{var $r;if(!$e||!$e.store)return 0;const{treeData:Br}=$e.store.states;let Tr=0;const cr=($r=Br.value[Gr])==null?void 0:$r.children;return cr&&(Tr+=cr.length,cr.forEach(Sr=>{Tr+=Jn(Sr)})),Tr},qn=(Gr,$r)=>{Array.isArray(Gr)||(Gr=[Gr]);const Br={};return Gr.forEach(Tr=>{Nn.value[Tr.id]=$r,Br[Tr.columnKey||Tr.id]=$r}),Br},Yn=(Gr,$r,Br)=>{In.value&&In.value!==Gr&&(In.value.order=null),In.value=Gr,On.value=$r,Rn.value=Br},ar=()=>{let Gr=unref(qe);Object.keys(Nn.value).forEach($r=>{const Br=Nn.value[$r];if(!Br||Br.length===0)return;const Tr=getColumnById({columns:jt.value},$r);Tr&&Tr.filterMethod&&(Gr=Gr.filter(cr=>Br.some(Sr=>Tr.filterMethod.call(null,Sr,cr,Tr))))}),Mn.value=Gr},tr=()=>{Ue.value=sortData(Mn.value,{sortingColumn:In.value,sortProp:On.value,sortOrder:Rn.value})},or=(Gr=void 0)=>{Gr&&Gr.filter||ar(),tr()},sr=Gr=>{const{tableHeaderRef:$r}=$e.refs;if(!$r)return;const Br=Object.assign({},$r.filterPanels),Tr=Object.keys(Br);if(Tr.length)if(typeof Gr=="string"&&(Gr=[Gr]),Array.isArray(Gr)){const cr=Gr.map(Sr=>getColumnByKey({columns:jt.value},Sr));Tr.forEach(Sr=>{const Dr=cr.find(mr=>mr.id===Sr);Dr&&(Dr.filteredValue=[])}),$e.store.commit("filterChange",{column:cr,values:[],silent:!0,multi:!0})}else Tr.forEach(cr=>{const Sr=jt.value.find(Dr=>Dr.id===cr);Sr&&(Sr.filteredValue=[])}),Nn.value={},$e.store.commit("filterChange",{column:{},values:[],silent:!0})},Kn=()=>{In.value&&(Yn(null,null,null),$e.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Zn,toggleRowExpansion:nr,updateExpandRows:lr,states:ir,isRowExpanded:kr}=useExpand({data:Ue,rowKey:Fe}),{updateTreeExpandKeys:Cr,toggleTreeExpansion:Er,updateTreeData:dr,loadOrToggle:br,states:_r}=useTree$2({data:Ue,rowKey:Fe}),{updateCurrentRowData:Pr,updateCurrentRow:gr,setCurrentRowKey:xr,states:Rr}=useCurrent({data:Ue,rowKey:Fe});return{assertRowKey:Vn,updateColumns:Dn,scheduleLayout:Hn,isSelected:Fn,clearSelection:zn,cleanSelection:jn,getSelectionRows:Gn,toggleRowSelection:Wn,_toggleAllSelection:Xn,toggleAllSelection:null,updateSelectionByRowKey:er,updateAllSelected:rr,updateFilters:qn,updateCurrentRow:gr,updateSort:Yn,execFilter:ar,execSort:tr,execQuery:or,clearFilter:sr,clearSort:Kn,toggleRowExpansion:nr,setExpandRowKeysAdapter:Gr=>{Zn(Gr),Cr(Gr)},setCurrentRowKey:xr,toggleRowExpansionAdapter:(Gr,$r)=>{jt.value.some(({type:Tr})=>Tr==="expand")?nr(Gr,$r):Er(Gr,$r)},isRowExpanded:kr,updateExpandRows:lr,updateCurrentRowData:Pr,loadOrToggle:br,updateTreeData:dr,states:{tableSize:Ie,rowKey:Fe,data:Ue,_data:qe,isComplex:At,_columns:Dt,originColumns:Lt,columns:jt,fixedColumns:hn,rightFixedColumns:vn,leafColumns:bn,fixedLeafColumns:_n,rightFixedLeafColumns:wn,updateOrderFns:kn,leafColumnsLength:Cn,fixedLeafColumnsLength:Sn,rightFixedLeafColumnsLength:xn,isAllSelected:En,selection:Tn,reserveSelection:An,selectOnIndeterminate:$n,selectable:Pn,filters:Nn,filteredData:Mn,sortingColumn:In,sortProp:On,sortOrder:Rn,hoverRow:Bn,...ir,..._r,...Rr}}}function replaceColumn(xe,$e){return xe.map(Ie=>{var Fe;return Ie.id===$e.id?$e:((Fe=Ie.children)!=null&&Fe.length&&(Ie.children=replaceColumn(Ie.children,$e)),Ie)})}function sortColumn(xe){xe.forEach($e=>{var Ie,Fe;$e.no=(Ie=$e.getColumnIndex)==null?void 0:Ie.call($e),(Fe=$e.children)!=null&&Fe.length&&sortColumn($e.children)}),xe.sort(($e,Ie)=>$e.no-Ie.no)}function useStore(){const xe=getCurrentInstance(),$e=useWatcher$1();return{ns:useNamespace("table"),...$e,mutations:{setData(At,Dt){const Lt=unref(At._data)!==Dt;At.data.value=Dt,At._data.value=Dt,xe.store.execQuery(),xe.store.updateCurrentRowData(),xe.store.updateExpandRows(),xe.store.updateTreeData(xe.store.states.defaultExpandAll.value),unref(At.reserveSelection)?(xe.store.assertRowKey(),xe.store.updateSelectionByRowKey()):Lt?xe.store.clearSelection():xe.store.cleanSelection(),xe.store.updateAllSelected(),xe.$ready&&xe.store.scheduleLayout()},insertColumn(At,Dt,Lt,jt){const hn=unref(At._columns);let vn=[];Lt?(Lt&&!Lt.children&&(Lt.children=[]),Lt.children.push(Dt),vn=replaceColumn(hn,Lt)):(hn.push(Dt),vn=hn),sortColumn(vn),At._columns.value=vn,At.updateOrderFns.push(jt),Dt.type==="selection"&&(At.selectable.value=Dt.selectable,At.reserveSelection.value=Dt.reserveSelection),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},updateColumnOrder(At,Dt){var Lt;((Lt=Dt.getColumnIndex)==null?void 0:Lt.call(Dt))!==Dt.no&&(sortColumn(At._columns.value),xe.$ready&&xe.store.updateColumns())},removeColumn(At,Dt,Lt,jt){const hn=unref(At._columns)||[];if(Lt)Lt.children.splice(Lt.children.findIndex(bn=>bn.id===Dt.id),1),nextTick(()=>{var bn;((bn=Lt.children)==null?void 0:bn.length)===0&&delete Lt.children}),At._columns.value=replaceColumn(hn,Lt);else{const bn=hn.indexOf(Dt);bn>-1&&(hn.splice(bn,1),At._columns.value=hn)}const vn=At.updateOrderFns.indexOf(jt);vn>-1&&At.updateOrderFns.splice(vn,1),xe.$ready&&(xe.store.updateColumns(),xe.store.scheduleLayout())},sort(At,Dt){const{prop:Lt,order:jt,init:hn}=Dt;if(Lt){const vn=unref(At.columns).find(bn=>bn.property===Lt);vn&&(vn.order=jt,xe.store.updateSort(vn,Lt,jt),xe.store.commit("changeSortCondition",{init:hn}))}},changeSortCondition(At,Dt){const{sortingColumn:Lt,sortProp:jt,sortOrder:hn}=At,vn=unref(Lt),bn=unref(jt),_n=unref(hn);_n===null&&(At.sortingColumn.value=null,At.sortProp.value=null);const wn={filter:!0};xe.store.execQuery(wn),(!Dt||!(Dt.silent||Dt.init))&&xe.emit("sort-change",{column:vn,prop:bn,order:_n}),xe.store.updateTableScrollY()},filterChange(At,Dt){const{column:Lt,values:jt,silent:hn}=Dt,vn=xe.store.updateFilters(Lt,jt);xe.store.execQuery(),hn||xe.emit("filter-change",vn),xe.store.updateTableScrollY()},toggleAllSelection(){xe.store.toggleAllSelection()},rowSelectedChanged(At,Dt){xe.store.toggleRowSelection(Dt),xe.store.updateAllSelected()},setHoverRow(At,Dt){At.hoverRow.value=Dt},setCurrentRow(At,Dt){xe.store.updateCurrentRow(Dt)}},commit:function(At,...Dt){const Lt=xe.store.mutations;if(Lt[At])Lt[At].apply(xe,[xe.store.states].concat(Dt));else throw new Error(`Action not found: ${At}`)},updateTableScrollY:function(){nextTick(()=>xe.layout.updateScrollY.apply(xe.layout))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"}};function createStore(xe,$e){if(!xe)throw new Error("Table is required.");const Ie=useStore();return Ie.toggleAllSelection=debounce(Ie._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(Fe=>{handleValue(getArrKeysValue($e,Fe),Fe,Ie)}),proxyTableProps(Ie,$e),Ie}function proxyTableProps(xe,$e){Object.keys(InitialStateMap).forEach(Ie=>{watch(()=>getArrKeysValue($e,Ie),Fe=>{handleValue(Fe,Ie,xe)})})}function handleValue(xe,$e,Ie){let Fe=xe,Ue=InitialStateMap[$e];typeof InitialStateMap[$e]=="object"&&(Ue=Ue.key,Fe=Fe||InitialStateMap[$e].default),Ie.states[Ue].value=Fe}function getArrKeysValue(xe,$e){if($e.includes(".")){const Ie=$e.split(".");let Fe=xe;return Ie.forEach(Ue=>{Fe=Fe[Ue]}),Fe}else return xe[$e]}class TableLayout{constructor($e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const Ie in $e)hasOwn$1($e,Ie)&&(isRef(this[Ie])?this[Ie].value=$e[Ie]:this[Ie]=$e[Ie]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const Ie=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(Ie!=null&&Ie.wrapRef)){let Fe=!0;const Ue=this.scrollY.value;return Fe=Ie.wrapRef.scrollHeight>Ie.wrapRef.clientHeight,this.scrollY.value=Fe,Ue!==Fe}return!1}setHeight($e,Ie="height"){if(!isClient$1)return;const Fe=this.table.vnode.el;if($e=parseHeight($e),this.height.value=Number($e),!Fe&&($e||$e===0))return nextTick(()=>this.setHeight($e,Ie));typeof $e=="number"?(Fe.style[Ie]=`${$e}px`,this.updateElsHeight()):typeof $e=="string"&&(Fe.style[Ie]=$e,this.updateElsHeight())}setMaxHeight($e){this.setHeight($e,"max-height")}getFlattenColumns(){const $e=[];return this.table.store.states.columns.value.forEach(Fe=>{Fe.isColumnGroup?$e.push.apply($e,Fe.columns):$e.push(Fe)}),$e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone($e){if(!$e)return!0;let Ie=$e;for(;Ie.tagName!=="DIV";){if(getComputedStyle(Ie).display==="none")return!0;Ie=Ie.parentElement}return!1}updateColumnsWidth(){if(!isClient$1)return;const $e=this.fit,Ie=this.table.vnode.el.clientWidth;let Fe=0;const Ue=this.getFlattenColumns(),qe=Ue.filter(Lt=>typeof Lt.width!="number");if(Ue.forEach(Lt=>{typeof Lt.width=="number"&&Lt.realWidth&&(Lt.realWidth=null)}),qe.length>0&&$e){if(Ue.forEach(Lt=>{Fe+=Number(Lt.width||Lt.minWidth||80)}),Fe<=Ie){this.scrollX.value=!1;const Lt=Ie-Fe;if(qe.length===1)qe[0].realWidth=Number(qe[0].minWidth||80)+Lt;else{const jt=qe.reduce((bn,_n)=>bn+Number(_n.minWidth||80),0),hn=Lt/jt;let vn=0;qe.forEach((bn,_n)=>{if(_n===0)return;const wn=Math.floor(Number(bn.minWidth||80)*hn);vn+=wn,bn.realWidth=Number(bn.minWidth||80)+wn}),qe[0].realWidth=Number(qe[0].minWidth||80)+Lt-vn}}else this.scrollX.value=!0,qe.forEach(Lt=>{Lt.realWidth=Number(Lt.minWidth)});this.bodyWidth.value=Math.max(Fe,Ie),this.table.state.resizeState.value.width=this.bodyWidth.value}else Ue.forEach(Lt=>{!Lt.width&&!Lt.minWidth?Lt.realWidth=80:Lt.realWidth=Number(Lt.width||Lt.minWidth),Fe+=Lt.realWidth}),this.scrollX.value=Fe>Ie,this.bodyWidth.value=Fe;const At=this.store.states.fixedColumns.value;if(At.length>0){let Lt=0;At.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.fixedWidth.value=Lt}const Dt=this.store.states.rightFixedColumns.value;if(Dt.length>0){let Lt=0;Dt.forEach(jt=>{Lt+=Number(jt.realWidth||jt.width)}),this.rightFixedWidth.value=Lt}this.notifyObservers("columns")}addObserver($e){this.observers.push($e)}removeObserver($e){const Ie=this.observers.indexOf($e);Ie!==-1&&this.observers.splice(Ie,1)}notifyObservers($e){this.observers.forEach(Fe=>{var Ue,qe;switch($e){case"columns":(Ue=Fe.state)==null||Ue.onColumnsChange(this);break;case"scrollable":(qe=Fe.state)==null||qe.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${$e}.`)}})}}const{CheckboxGroup:ElCheckboxGroup}=ElCheckbox,_sfc_main$B=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},directives:{ClickOutside},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(xe){const $e=getCurrentInstance(),{t:Ie}=useLocale(),Fe=useNamespace("table-filter"),Ue=$e==null?void 0:$e.parent;Ue.filterPanels.value[xe.column.id]||(Ue.filterPanels.value[xe.column.id]=$e);const qe=ref(!1),At=ref(null),Dt=computed(()=>xe.column&&xe.column.filters),Lt=computed(()=>xe.column.filterClassName?`${Fe.b()} ${xe.column.filterClassName}`:Fe.b()),jt=computed({get:()=>{var An;return(((An=xe.column)==null?void 0:An.filteredValue)||[])[0]},set:An=>{hn.value&&(typeof An<"u"&&An!==null?hn.value.splice(0,1,An):hn.value.splice(0,1))}}),hn=computed({get(){return xe.column?xe.column.filteredValue||[]:[]},set(An){xe.column&&xe.upDataColumn("filteredValue",An)}}),vn=computed(()=>xe.column?xe.column.filterMultiple:!0),bn=An=>An.value===jt.value,_n=()=>{qe.value=!1},wn=An=>{An.stopPropagation(),qe.value=!qe.value},kn=()=>{qe.value=!1},Cn=()=>{En(hn.value),_n()},Sn=()=>{hn.value=[],En(hn.value),_n()},xn=An=>{jt.value=An,En(typeof An<"u"&&An!==null?hn.value:[]),_n()},En=An=>{xe.store.commit("filterChange",{column:xe.column,values:An}),xe.store.updateAllSelected()};watch(qe,An=>{xe.column&&xe.upDataColumn("filterOpened",An)},{immediate:!0});const Tn=computed(()=>{var An,$n;return($n=(An=At.value)==null?void 0:An.popperRef)==null?void 0:$n.contentRef});return{tooltipVisible:qe,multiple:vn,filterClassName:Lt,filteredValue:hn,filterValue:jt,filters:Dt,handleConfirm:Cn,handleReset:Sn,handleSelect:xn,isActive:bn,t:Ie,ns:Fe,showFilterPanel:wn,hideFilterPanel:kn,popperPaneRef:Tn,tooltip:At}}}),_hoisted_1$h={key:0},_hoisted_2$b=["disabled"],_hoisted_3$4=["label","onClick"];function _sfc_render$4(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-checkbox"),Dt=resolveComponent("el-checkbox-group"),Lt=resolveComponent("el-scrollbar"),jt=resolveComponent("arrow-up"),hn=resolveComponent("arrow-down"),vn=resolveComponent("el-icon"),bn=resolveComponent("el-tooltip"),_n=resolveDirective("click-outside");return openBlock(),createBlock(bn,{ref:"tooltip",visible:xe.tooltipVisible,offset:0,placement:xe.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":xe.filterClassName,persistent:""},{content:withCtx(()=>[xe.multiple?(openBlock(),createElementBlock("div",_hoisted_1$h,[createBaseVNode("div",{class:normalizeClass(xe.ns.e("content"))},[createVNode$1(Lt,{"wrap-class":xe.ns.e("wrap")},{default:withCtx(()=>[createVNode$1(Dt,{modelValue:xe.filteredValue,"onUpdate:modelValue":$e[0]||($e[0]=wn=>xe.filteredValue=wn),class:normalizeClass(xe.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createBlock(At,{key:wn.value,value:wn.value},{default:withCtx(()=>[createTextVNode(toDisplayString(wn.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass({[xe.ns.is("disabled")]:xe.filteredValue.length===0}),disabled:xe.filteredValue.length===0,type:"button",onClick:$e[1]||($e[1]=(...wn)=>xe.handleConfirm&&xe.handleConfirm(...wn))},toDisplayString(xe.t("el.table.confirmFilter")),11,_hoisted_2$b),createBaseVNode("button",{type:"button",onClick:$e[2]||($e[2]=(...wn)=>xe.handleReset&&xe.handleReset(...wn))},toDisplayString(xe.t("el.table.resetFilter")),1)],2)])):(openBlock(),createElementBlock("ul",{key:1,class:normalizeClass(xe.ns.e("list"))},[createBaseVNode("li",{class:normalizeClass([xe.ns.e("list-item"),{[xe.ns.is("active")]:xe.filterValue===void 0||xe.filterValue===null}]),onClick:$e[3]||($e[3]=wn=>xe.handleSelect(null))},toDisplayString(xe.t("el.table.clearFilter")),3),(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.filters,wn=>(openBlock(),createElementBlock("li",{key:wn.value,class:normalizeClass([xe.ns.e("list-item"),xe.ns.is("active",xe.isActive(wn))]),label:wn.value,onClick:kn=>xe.handleSelect(wn.value)},toDisplayString(wn.text),11,_hoisted_3$4))),128))],2))]),default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass([`${xe.ns.namespace.value}-table__column-filter-trigger`,`${xe.ns.namespace.value}-none-outline`]),onClick:$e[4]||($e[4]=(...wn)=>xe.showFilterPanel&&xe.showFilterPanel(...wn))},[createVNode$1(vn,null,{default:withCtx(()=>[xe.column.filterOpened?(openBlock(),createBlock(jt,{key:0})):(openBlock(),createBlock(hn,{key:1}))]),_:1})],2)),[[_n,xe.hideFilterPanel,xe.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var FilterPanel=_export_sfc$1(_sfc_main$B,[["render",_sfc_render$4],["__file","filter-panel.vue"]]);function useLayoutObserver(xe){const $e=getCurrentInstance();onBeforeMount(()=>{Ie.value.addObserver($e)}),onMounted(()=>{Fe(Ie.value),Ue(Ie.value)}),onUpdated(()=>{Fe(Ie.value),Ue(Ie.value)}),onUnmounted(()=>{Ie.value.removeObserver($e)});const Ie=computed(()=>{const qe=xe.layout;if(!qe)throw new Error("Can not find table layout.");return qe}),Fe=qe=>{var At;const Dt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col"))||[];if(!Dt.length)return;const Lt=qe.getFlattenColumns(),jt={};Lt.forEach(hn=>{jt[hn.id]=hn});for(let hn=0,vn=Dt.length;hn{var At,Dt;const Lt=((At=xe.vnode.el)==null?void 0:At.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let hn=0,vn=Lt.length;hn{kn.stopPropagation()},qe=(kn,Cn)=>{!Cn.filters&&Cn.sortable?wn(kn,Cn,!1):Cn.filterable&&!Cn.sortable&&Ue(kn),Fe==null||Fe.emit("header-click",Cn,kn)},At=(kn,Cn)=>{Fe==null||Fe.emit("header-contextmenu",Cn,kn)},Dt=ref(null),Lt=ref(!1),jt=ref({}),hn=(kn,Cn)=>{if(isClient$1&&!(Cn.children&&Cn.children.length>0)&&Dt.value&&xe.border){Lt.value=!0;const Sn=Fe;$e("set-drag-visible",!0);const En=(Sn==null?void 0:Sn.vnode.el).getBoundingClientRect().left,Tn=Ie.vnode.el.querySelector(`th.${Cn.id}`),An=Tn.getBoundingClientRect(),$n=An.left-En+30;addClass(Tn,"noclick"),jt.value={startMouseLeft:kn.clientX,startLeft:An.right-En,startColumnLeft:An.left-En,tableLeft:En};const Pn=Sn==null?void 0:Sn.refs.resizeProxy;Pn.style.left=`${jt.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const Nn=In=>{const On=In.clientX-jt.value.startMouseLeft,Rn=jt.value.startLeft+On;Pn.style.left=`${Math.max($n,Rn)}px`},Mn=()=>{if(Lt.value){const{startColumnLeft:In,startLeft:On}=jt.value,Bn=Number.parseInt(Pn.style.left,10)-In;Cn.width=Cn.realWidth=Bn,Sn==null||Sn.emit("header-dragend",Cn.width,On-In,Cn,kn),requestAnimationFrame(()=>{xe.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",Lt.value=!1,Dt.value=null,jt.value={},$e("set-drag-visible",!1)}document.removeEventListener("mousemove",Nn),document.removeEventListener("mouseup",Mn),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass(Tn,"noclick")},0)};document.addEventListener("mousemove",Nn),document.addEventListener("mouseup",Mn)}},vn=(kn,Cn)=>{if(Cn.children&&Cn.children.length>0)return;const Sn=kn.target;if(!isElement$1(Sn))return;const xn=Sn==null?void 0:Sn.closest("th");if(!(!Cn||!Cn.resizable)&&!Lt.value&&xe.border){const En=xn.getBoundingClientRect(),Tn=document.body.style;En.width>12&&En.right-kn.pageX<8?(Tn.cursor="col-resize",hasClass(xn,"is-sortable")&&(xn.style.cursor="col-resize"),Dt.value=Cn):Lt.value||(Tn.cursor="",hasClass(xn,"is-sortable")&&(xn.style.cursor="pointer"),Dt.value=null)}},bn=()=>{isClient$1&&(document.body.style.cursor="")},_n=({order:kn,sortOrders:Cn})=>{if(kn==="")return Cn[0];const Sn=Cn.indexOf(kn||null);return Cn[Sn>Cn.length-2?0:Sn+1]},wn=(kn,Cn,Sn)=>{var xn;kn.stopPropagation();const En=Cn.order===Sn?null:Sn||_n(Cn),Tn=(xn=kn.target)==null?void 0:xn.closest("th");if(Tn&&hasClass(Tn,"noclick")){removeClass(Tn,"noclick");return}if(!Cn.sortable)return;const An=xe.store.states;let $n=An.sortProp.value,Pn;const Nn=An.sortingColumn.value;(Nn!==Cn||Nn===Cn&&Nn.order===null)&&(Nn&&(Nn.order=null),An.sortingColumn.value=Cn,$n=Cn.property),En?Pn=Cn.order=En:Pn=Cn.order=null,An.sortProp.value=$n,An.sortOrder.value=Pn,Fe==null||Fe.store.commit("changeSortCondition")};return{handleHeaderClick:qe,handleHeaderContextMenu:At,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:wn,handleFilterClick:Ue}}function useStyle$2(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getHeaderRowStyle:Dt=>{const Lt=$e==null?void 0:$e.props.headerRowStyle;return typeof Lt=="function"?Lt.call(null,{rowIndex:Dt}):Lt},getHeaderRowClass:Dt=>{const Lt=[],jt=$e==null?void 0:$e.props.headerRowClassName;return typeof jt=="string"?Lt.push(jt):typeof jt=="function"&&Lt.push(jt.call(null,{rowIndex:Dt})),Lt.join(" ")},getHeaderCellStyle:(Dt,Lt,jt,hn)=>{var vn;let bn=(vn=$e==null?void 0:$e.props.headerCellStyle)!=null?vn:{};typeof bn=="function"&&(bn=bn.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn}));const _n=getFixedColumnOffset(Lt,hn.fixed,xe.store,jt);return ensurePosition(_n,"left"),ensurePosition(_n,"right"),Object.assign({},bn,_n)},getHeaderCellClass:(Dt,Lt,jt,hn)=>{const vn=getFixedColumnsClass(Ie.b(),Lt,hn.fixed,xe.store,jt),bn=[hn.id,hn.order,hn.headerAlign,hn.className,hn.labelClassName,...vn];hn.children||bn.push("is-leaf"),hn.sortable&&bn.push("is-sortable");const _n=$e==null?void 0:$e.props.headerCellClassName;return typeof _n=="string"?bn.push(_n):typeof _n=="function"&&bn.push(_n.call(null,{rowIndex:Dt,columnIndex:Lt,row:jt,column:hn})),bn.push(Ie.e("cell")),bn.filter(wn=>!!wn).join(" ")}}}const getAllColumns=xe=>{const $e=[];return xe.forEach(Ie=>{Ie.children?($e.push(Ie),$e.push.apply($e,getAllColumns(Ie.children))):$e.push(Ie)}),$e},convertToRows=xe=>{let $e=1;const Ie=(qe,At)=>{if(At&&(qe.level=At.level+1,$e{Ie(Lt,qe),Dt+=Lt.colSpan}),qe.colSpan=Dt}else qe.colSpan=1};xe.forEach(qe=>{qe.level=1,Ie(qe,void 0)});const Fe=[];for(let qe=0;qe<$e;qe++)Fe.push([]);return getAllColumns(xe).forEach(qe=>{qe.children?(qe.rowSpan=1,qe.children.forEach(At=>At.isSubColumn=!0)):qe.rowSpan=$e-qe.level+1,Fe[qe.level-1].push(qe)}),Fe};function useUtils$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=computed(()=>convertToRows(xe.store.states.originColumns.value));return{isGroup:computed(()=>{const qe=Ie.value.length>1;return qe&&$e&&($e.state.isGroup.value=!0),qe}),toggleAllSelection:qe=>{qe.stopPropagation(),$e==null||$e.store.commit("toggleAllSelection")},columnRows:Ie}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(xe,{emit:$e}){const Ie=getCurrentInstance(),Fe=inject(TABLE_INJECTION_KEY),Ue=useNamespace("table"),qe=ref({}),{onColumnsChange:At,onScrollableChange:Dt}=useLayoutObserver(Fe);onMounted(async()=>{await nextTick(),await nextTick();const{prop:$n,order:Pn}=xe.defaultSort;Fe==null||Fe.store.commit("sort",{prop:$n,order:Pn,init:!0})});const{handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn}=useEvent(xe,$e),{getHeaderRowStyle:kn,getHeaderRowClass:Cn,getHeaderCellStyle:Sn,getHeaderCellClass:xn}=useStyle$2(xe),{isGroup:En,toggleAllSelection:Tn,columnRows:An}=useUtils$1(xe);return Ie.state={onColumnsChange:At,onScrollableChange:Dt},Ie.filterPanels=qe,{ns:Ue,filterPanels:qe,onColumnsChange:At,onScrollableChange:Dt,columnRows:An,getHeaderRowClass:Cn,getHeaderRowStyle:kn,getHeaderCellClass:xn,getHeaderCellStyle:Sn,handleHeaderClick:Lt,handleHeaderContextMenu:jt,handleMouseDown:hn,handleMouseMove:vn,handleMouseOut:bn,handleSortClick:_n,handleFilterClick:wn,isGroup:En,toggleAllSelection:Tn}},render(){const{ns:xe,isGroup:$e,columnRows:Ie,getHeaderCellStyle:Fe,getHeaderCellClass:Ue,getHeaderRowClass:qe,getHeaderRowStyle:At,handleHeaderClick:Dt,handleHeaderContextMenu:Lt,handleMouseDown:jt,handleMouseMove:hn,handleSortClick:vn,handleMouseOut:bn,store:_n,$parent:wn}=this;let kn=1;return h$5("thead",{class:{[xe.is("group")]:$e}},Ie.map((Cn,Sn)=>h$5("tr",{class:qe(Sn),key:Sn,style:At(Sn)},Cn.map((xn,En)=>(xn.rowSpan>kn&&(kn=xn.rowSpan),h$5("th",{class:Ue(Sn,En,Cn,xn),colspan:xn.colSpan,key:`${xn.id}-thead`,rowspan:xn.rowSpan,style:Fe(Sn,En,Cn,xn),onClick:Tn=>Dt(Tn,xn),onContextmenu:Tn=>Lt(Tn,xn),onMousedown:Tn=>jt(Tn,xn),onMousemove:Tn=>hn(Tn,xn),onMouseout:bn},[h$5("div",{class:["cell",xn.filteredValue&&xn.filteredValue.length>0?"highlight":""]},[xn.renderHeader?xn.renderHeader({column:xn,$index:En,store:_n,_self:wn}):xn.label,xn.sortable&&h$5("span",{onClick:Tn=>vn(Tn,xn),class:"caret-wrapper"},[h$5("i",{onClick:Tn=>vn(Tn,xn,"ascending"),class:"sort-caret ascending"}),h$5("i",{onClick:Tn=>vn(Tn,xn,"descending"),class:"sort-caret descending"})]),xn.filterable&&h$5(FilterPanel,{store:_n,placement:xn.filterPlacement||"bottom-start",column:xn,upDataColumn:(Tn,An)=>{xn[Tn]=An}})])]))))))}});function isGreaterThan(xe,$e,Ie=.01){return xe-$e>Ie}function useEvents(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=ref(""),Fe=ref(h$5("div")),Ue=(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn);let Tn;const An=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;En&&(Tn=getColumnByCell({columns:xe.store.states.columns.value},En,An),Tn&&(xn==null||xn.emit(`cell-${Cn}`,kn,Tn,En,wn))),xn==null||xn.emit(`row-${Cn}`,kn,Tn,wn)},qe=(wn,kn)=>{Ue(wn,kn,"dblclick")},At=(wn,kn)=>{xe.store.commit("setCurrentRow",kn),Ue(wn,kn,"click")},Dt=(wn,kn)=>{Ue(wn,kn,"contextmenu")},Lt=debounce(wn=>{xe.store.commit("setHoverRow",wn)},30),jt=debounce(()=>{xe.store.commit("setHoverRow",null)},30),hn=wn=>{const kn=window.getComputedStyle(wn,null),Cn=Number.parseInt(kn.paddingLeft,10)||0,Sn=Number.parseInt(kn.paddingRight,10)||0,xn=Number.parseInt(kn.paddingTop,10)||0,En=Number.parseInt(kn.paddingBottom,10)||0;return{left:Cn,right:Sn,top:xn,bottom:En}},vn=(wn,kn,Cn)=>{let Sn=kn.target.parentNode;for(;wn>1&&(Sn=Sn==null?void 0:Sn.nextSibling,!(!Sn||Sn.nodeName!=="TR"));)Cn(Sn,"hover-row hover-fixed-row"),wn--};return{handleDoubleClick:qe,handleClick:At,handleContextMenu:Dt,handleMouseEnter:Lt,handleMouseLeave:jt,handleCellMouseEnter:(wn,kn,Cn)=>{var Sn;const xn=$e,En=getCell(wn),Tn=(Sn=xn==null?void 0:xn.vnode.el)==null?void 0:Sn.dataset.prefix;if(En){const zn=getColumnByCell({columns:xe.store.states.columns.value},En,Tn);En.rowSpan>1&&vn(En.rowSpan,wn,addClass);const jn=xn.hoverState={cell:En,column:zn,row:kn};xn==null||xn.emit("cell-mouse-enter",jn.row,jn.column,jn.cell,wn)}if(!Cn)return;const An=wn.target.querySelector(".cell");if(!(hasClass(An,`${Tn}-tooltip`)&&An.childNodes.length))return;const $n=document.createRange();$n.setStart(An,0),$n.setEnd(An,An.childNodes.length);let{width:Pn,height:Nn}=$n.getBoundingClientRect();const Mn=Pn-Math.floor(Pn),{width:In,height:On}=An.getBoundingClientRect();Mn<.001&&(Pn=Math.floor(Pn)),Nn-Math.floor(Nn)<.001&&(Nn=Math.floor(Nn));const{top:Bn,left:Vn,right:Ln,bottom:Dn}=hn(An),Hn=Vn+Ln,Fn=Bn+Dn;(isGreaterThan(Pn+Hn,In)||isGreaterThan(Nn+Fn,On)||isGreaterThan(An.scrollWidth,In))&&createTablePopper(Cn,En.innerText||En.textContent,En,xn)},handleCellMouseLeave:wn=>{const kn=getCell(wn);if(!kn)return;kn.rowSpan>1&&vn(kn.rowSpan,wn,removeClass);const Cn=$e==null?void 0:$e.hoverState;$e==null||$e.emit("cell-mouse-leave",Cn==null?void 0:Cn.row,Cn==null?void 0:Cn.column,Cn==null?void 0:Cn.cell,wn)},tooltipContent:Ie,tooltipTrigger:Fe}}function useStyles$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table");return{getRowStyle:(jt,hn)=>{const vn=$e==null?void 0:$e.props.rowStyle;return typeof vn=="function"?vn.call(null,{row:jt,rowIndex:hn}):vn||null},getRowClass:(jt,hn)=>{const vn=[Ie.e("row")];$e!=null&&$e.props.highlightCurrentRow&&jt===xe.store.states.currentRow.value&&vn.push("current-row"),xe.stripe&&hn%2===1&&vn.push(Ie.em("row","striped"));const bn=$e==null?void 0:$e.props.rowClassName;return typeof bn=="string"?vn.push(bn):typeof bn=="function"&&vn.push(bn.call(null,{row:jt,rowIndex:hn})),vn},getCellStyle:(jt,hn,vn,bn)=>{const _n=$e==null?void 0:$e.props.cellStyle;let wn=_n??{};typeof _n=="function"&&(wn=_n.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn}));const kn=getFixedColumnOffset(hn,xe==null?void 0:xe.fixed,xe.store);return ensurePosition(kn,"left"),ensurePosition(kn,"right"),Object.assign({},wn,kn)},getCellClass:(jt,hn,vn,bn,_n)=>{const wn=getFixedColumnsClass(Ie.b(),hn,xe==null?void 0:xe.fixed,xe.store,void 0,_n),kn=[bn.id,bn.align,bn.className,...wn],Cn=$e==null?void 0:$e.props.cellClassName;return typeof Cn=="string"?kn.push(Cn):typeof Cn=="function"&&kn.push(Cn.call(null,{rowIndex:jt,columnIndex:hn,row:vn,column:bn})),kn.push(Ie.e("cell")),kn.filter(Sn=>!!Sn).join(" ")},getSpan:(jt,hn,vn,bn)=>{let _n=1,wn=1;const kn=$e==null?void 0:$e.props.spanMethod;if(typeof kn=="function"){const Cn=kn({row:jt,column:hn,rowIndex:vn,columnIndex:bn});Array.isArray(Cn)?(_n=Cn[0],wn=Cn[1]):typeof Cn=="object"&&(_n=Cn.rowspan,wn=Cn.colspan)}return{rowspan:_n,colspan:wn}},getColspanRealWidth:(jt,hn,vn)=>{if(hn<1)return jt[vn].realWidth;const bn=jt.map(({realWidth:_n,width:wn})=>_n||wn).slice(vn,vn+hn);return Number(bn.reduce((_n,wn)=>Number(_n)+Number(wn),-1))}}}function useRender$1(xe){const $e=inject(TABLE_INJECTION_KEY),Ie=useNamespace("table"),{handleDoubleClick:Fe,handleClick:Ue,handleContextMenu:qe,handleMouseEnter:At,handleMouseLeave:Dt,handleCellMouseEnter:Lt,handleCellMouseLeave:jt,tooltipContent:hn,tooltipTrigger:vn}=useEvents(xe),{getRowStyle:bn,getRowClass:_n,getCellStyle:wn,getCellClass:kn,getSpan:Cn,getColspanRealWidth:Sn}=useStyles$1(xe),xn=computed(()=>xe.store.states.columns.value.findIndex(({type:Pn})=>Pn==="default")),En=(Pn,Nn)=>{const Mn=$e.props.rowKey;return Mn?getRowIdentity(Pn,Mn):Nn},Tn=(Pn,Nn,Mn,In=!1)=>{const{tooltipEffect:On,tooltipOptions:Rn,store:Bn}=xe,{indent:Vn,columns:Ln}=Bn.states,Dn=_n(Pn,Nn);let Hn=!0;return Mn&&(Dn.push(Ie.em("row",`level-${Mn.level}`)),Hn=Mn.display),h$5("tr",{style:[Hn?null:{display:"none"},bn(Pn,Nn)],class:Dn,key:En(Pn,Nn),onDblclick:zn=>Fe(zn,Pn),onClick:zn=>Ue(zn,Pn),onContextmenu:zn=>qe(zn,Pn),onMouseenter:()=>At(Nn),onMouseleave:Dt},Ln.value.map((zn,jn)=>{const{rowspan:Gn,colspan:Wn}=Cn(Pn,zn,Nn,jn);if(!Gn||!Wn)return null;const Xn=Object.assign({},zn);Xn.realWidth=Sn(Ln.value,Wn,jn);const er={store:xe.store,_self:xe.context||$e,column:Xn,row:Pn,$index:Nn,cellIndex:jn,expanded:In};jn===xn.value&&Mn&&(er.treeNode={indent:Mn.level*Vn.value,level:Mn.level},typeof Mn.expanded=="boolean"&&(er.treeNode.expanded=Mn.expanded,"loading"in Mn&&(er.treeNode.loading=Mn.loading),"noLazyChildren"in Mn&&(er.treeNode.noLazyChildren=Mn.noLazyChildren)));const rr=`${En(Pn,Nn)},${jn}`,Jn=Xn.columnKey||Xn.rawColumnKey||"",qn=An(jn,zn,er),Yn=zn.showOverflowTooltip&&merge$2({effect:On},Rn,zn.showOverflowTooltip);return h$5("td",{style:wn(Nn,jn,Pn,zn),class:kn(Nn,jn,Pn,zn,Wn-1),key:`${Jn}${rr}`,rowspan:Gn,colspan:Wn,onMouseenter:ar=>Lt(ar,Pn,Yn),onMouseleave:jt},[qn])}))},An=(Pn,Nn,Mn)=>Nn.renderCell(Mn);return{wrappedRowRender:(Pn,Nn)=>{const Mn=xe.store,{isRowExpanded:In,assertRowKey:On}=Mn,{treeData:Rn,lazyTreeNodeMap:Bn,childrenColumnName:Vn,rowKey:Ln}=Mn.states,Dn=Mn.states.columns.value;if(Dn.some(({type:Fn})=>Fn==="expand")){const Fn=In(Pn),zn=Tn(Pn,Nn,void 0,Fn),jn=$e.renderExpanded;return Fn?jn?[[zn,h$5("tr",{key:`expanded-row__${zn.key}`},[h$5("td",{colspan:Dn.length,class:`${Ie.e("cell")} ${Ie.e("expanded-cell")}`},[jn({row:Pn,$index:Nn,store:Mn,expanded:Fn})])])]]:(console.error("[Element Error]renderExpanded is required."),zn):[[zn]]}else if(Object.keys(Rn.value).length){On();const Fn=getRowIdentity(Pn,Ln.value);let zn=Rn.value[Fn],jn=null;zn&&(jn={expanded:zn.expanded,level:zn.level,display:!0},typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(jn.noLazyChildren=!(zn.children&&zn.children.length)),jn.loading=zn.loading));const Gn=[Tn(Pn,Nn,jn)];if(zn){let Wn=0;const Xn=(rr,Jn)=>{rr&&rr.length&&Jn&&rr.forEach(qn=>{const Yn={display:Jn.display&&Jn.expanded,level:Jn.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ar=getRowIdentity(qn,Ln.value);if(ar==null)throw new Error("For nested data item, row-key is required.");if(zn={...Rn.value[ar]},zn&&(Yn.expanded=zn.expanded,zn.level=zn.level||Yn.level,zn.display=!!(zn.expanded&&Yn.display),typeof zn.lazy=="boolean"&&(typeof zn.loaded=="boolean"&&zn.loaded&&(Yn.noLazyChildren=!(zn.children&&zn.children.length)),Yn.loading=zn.loading)),Wn++,Gn.push(Tn(qn,Nn+Wn,Yn)),zn){const tr=Bn.value[ar]||qn[Vn.value];Xn(tr,zn)}})};zn.display=!0;const er=Bn.value[Fn]||Pn[Vn.value];Xn(er,zn)}return Gn}else return Tn(Pn,Nn,void 0)},tooltipContent:hn,tooltipTrigger:vn}}const defaultProps$2={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var TableBody=defineComponent({name:"ElTableBody",props:defaultProps$2,setup(xe){const $e=getCurrentInstance(),Ie=inject(TABLE_INJECTION_KEY),Fe=useNamespace("table"),{wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}=useRender$1(xe),{onColumnsChange:Dt,onScrollableChange:Lt}=useLayoutObserver(Ie),jt=[];return watch(xe.store.states.hoverRow,(hn,vn)=>{var bn;const _n=$e==null?void 0:$e.vnode.el,wn=Array.from((_n==null?void 0:_n.children)||[]).filter(Sn=>Sn==null?void 0:Sn.classList.contains(`${Fe.e("row")}`));let kn=hn;const Cn=(bn=wn[kn])==null?void 0:bn.childNodes;if(Cn!=null&&Cn.length){let Sn=0;Array.from(Cn).reduce((En,Tn,An)=>{var $n,Pn;return(($n=Cn[An])==null?void 0:$n.colSpan)>1&&(Sn=(Pn=Cn[An])==null?void 0:Pn.colSpan),Tn.nodeName!=="TD"&&Sn===0&&En.push(An),Sn>0&&Sn--,En},[]).forEach(En=>{var Tn;for(kn=hn;kn>0;){const An=(Tn=wn[kn-1])==null?void 0:Tn.childNodes;if(An[En]&&An[En].nodeName==="TD"&&An[En].rowSpan>1){addClass(An[En],"hover-cell"),jt.push(An[En]);break}kn--}})}else jt.forEach(Sn=>removeClass(Sn,"hover-cell")),jt.length=0;!xe.store.states.isComplex.value||!isClient$1||rAF(()=>{const Sn=wn[vn],xn=wn[hn];Sn&&!Sn.classList.contains("hover-fixed-row")&&removeClass(Sn,"hover-row"),xn&&addClass(xn,"hover-row")})}),onUnmounted(()=>{var hn;(hn=removePopper)==null||hn()}),{ns:Fe,onColumnsChange:Dt,onScrollableChange:Lt,wrappedRowRender:Ue,tooltipContent:qe,tooltipTrigger:At}},render(){const{wrappedRowRender:xe,store:$e}=this,Ie=$e.states.data.value||[];return h$5("tbody",{tabIndex:-1},[Ie.reduce((Fe,Ue)=>Fe.concat(xe(Ue,Fe.length)),[])])}});function useMapState(){const xe=inject(TABLE_INJECTION_KEY),$e=xe==null?void 0:xe.store,Ie=computed(()=>$e.states.fixedLeafColumnsLength.value),Fe=computed(()=>$e.states.rightFixedColumns.value.length),Ue=computed(()=>$e.states.columns.value.length),qe=computed(()=>$e.states.fixedColumns.value.length),At=computed(()=>$e.states.rightFixedColumns.value.length);return{leftFixedLeafCount:Ie,rightFixedLeafCount:Fe,columnsCount:Ue,leftFixedCount:qe,rightFixedCount:At,columns:$e.states.columns}}function useStyle$1(xe){const{columns:$e}=useMapState(),Ie=useNamespace("table");return{getCellClasses:(qe,At)=>{const Dt=qe[At],Lt=[Ie.e("cell"),Dt.id,Dt.align,Dt.labelClassName,...getFixedColumnsClass(Ie.b(),At,Dt.fixed,xe.store)];return Dt.className&&Lt.push(Dt.className),Dt.children||Lt.push(Ie.is("leaf")),Lt},getCellStyles:(qe,At)=>{const Dt=getFixedColumnOffset(At,qe.fixed,xe.store);return ensurePosition(Dt,"left"),ensurePosition(Dt,"right"),Dt},columns:$e}}var TableFooter=defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(xe){const{getCellClasses:$e,getCellStyles:Ie,columns:Fe}=useStyle$1(xe);return{ns:useNamespace("table"),getCellClasses:$e,getCellStyles:Ie,columns:Fe}},render(){const{columns:xe,getCellStyles:$e,getCellClasses:Ie,summaryMethod:Fe,sumText:Ue}=this,qe=this.store.states.data.value;let At=[];return Fe?At=Fe({columns:xe,data:qe}):xe.forEach((Dt,Lt)=>{if(Lt===0){At[Lt]=Ue;return}const jt=qe.map(_n=>Number(_n[Dt.property])),hn=[];let vn=!0;jt.forEach(_n=>{if(!Number.isNaN(+_n)){vn=!1;const wn=`${_n}`.split(".")[1];hn.push(wn?wn.length:0)}});const bn=Math.max.apply(null,hn);vn?At[Lt]="":At[Lt]=jt.reduce((_n,wn)=>{const kn=Number(wn);return Number.isNaN(+kn)?_n:Number.parseFloat((_n+wn).toFixed(Math.min(bn,20)))},0)}),h$5(h$5("tfoot",[h$5("tr",{},[...xe.map((Dt,Lt)=>h$5("td",{key:Lt,colspan:Dt.colSpan,rowspan:Dt.rowSpan,class:Ie(xe,Lt),style:$e(Dt,Lt)},[h$5("div",{class:["cell",Dt.labelClassName]},[At[Lt]])]))])]))}});function useUtils(xe){return{setCurrentRow:hn=>{xe.commit("setCurrentRow",hn)},getSelectionRows:()=>xe.getSelectionRows(),toggleRowSelection:(hn,vn)=>{xe.toggleRowSelection(hn,vn,!1),xe.updateAllSelected()},clearSelection:()=>{xe.clearSelection()},clearFilter:hn=>{xe.clearFilter(hn)},toggleAllSelection:()=>{xe.commit("toggleAllSelection")},toggleRowExpansion:(hn,vn)=>{xe.toggleRowExpansionAdapter(hn,vn)},clearSort:()=>{xe.clearSort()},sort:(hn,vn)=>{xe.commit("sort",{prop:hn,order:vn})}}}function useStyle(xe,$e,Ie,Fe){const Ue=ref(!1),qe=ref(null),At=ref(!1),Dt=zn=>{At.value=zn},Lt=ref({width:null,height:null,headerHeight:null}),jt=ref(!1),hn={display:"inline-block",verticalAlign:"middle"},vn=ref(),bn=ref(0),_n=ref(0),wn=ref(0),kn=ref(0),Cn=ref(0);watchEffect(()=>{$e.setHeight(xe.height)}),watchEffect(()=>{$e.setMaxHeight(xe.maxHeight)}),watch(()=>[xe.currentRowKey,Ie.states.rowKey],([zn,jn])=>{!unref(jn)||!unref(zn)||Ie.setCurrentRowKey(`${zn}`)},{immediate:!0}),watch(()=>xe.data,zn=>{Fe.store.commit("setData",zn)},{immediate:!0,deep:!0}),watchEffect(()=>{xe.expandRowKeys&&Ie.setExpandRowKeysAdapter(xe.expandRowKeys)});const Sn=()=>{Fe.store.commit("setHoverRow",null),Fe.hoverState&&(Fe.hoverState=null)},xn=(zn,jn)=>{const{pixelX:Gn,pixelY:Wn}=jn;Math.abs(Gn)>=Math.abs(Wn)&&(Fe.refs.bodyWrapper.scrollLeft+=jn.pixelX/5)},En=computed(()=>xe.height||xe.maxHeight||Ie.states.fixedColumns.value.length>0||Ie.states.rightFixedColumns.value.length>0),Tn=computed(()=>({width:$e.bodyWidth.value?`${$e.bodyWidth.value}px`:""})),An=()=>{En.value&&$e.updateElsHeight(),$e.updateColumnsWidth(),requestAnimationFrame(Mn)};onMounted(async()=>{await nextTick(),Ie.updateColumns(),In(),requestAnimationFrame(An);const zn=Fe.vnode.el,jn=Fe.refs.headerWrapper;xe.flexible&&zn&&zn.parentElement&&(zn.parentElement.style.minWidth="0"),Lt.value={width:vn.value=zn.offsetWidth,height:zn.offsetHeight,headerHeight:xe.showHeader&&jn?jn.offsetHeight:null},Ie.states.columns.value.forEach(Gn=>{Gn.filteredValue&&Gn.filteredValue.length&&Fe.store.commit("filterChange",{column:Gn,values:Gn.filteredValue,silent:!0})}),Fe.$ready=!0});const $n=(zn,jn)=>{if(!zn)return;const Gn=Array.from(zn.classList).filter(Wn=>!Wn.startsWith("is-scrolling-"));Gn.push($e.scrollX.value?jn:"is-scrolling-none"),zn.className=Gn.join(" ")},Pn=zn=>{const{tableWrapper:jn}=Fe.refs;$n(jn,zn)},Nn=zn=>{const{tableWrapper:jn}=Fe.refs;return!!(jn&&jn.classList.contains(zn))},Mn=function(){if(!Fe.refs.scrollBarRef)return;if(!$e.scrollX.value){const Jn="is-scrolling-none";Nn(Jn)||Pn(Jn);return}const zn=Fe.refs.scrollBarRef.wrapRef;if(!zn)return;const{scrollLeft:jn,offsetWidth:Gn,scrollWidth:Wn}=zn,{headerWrapper:Xn,footerWrapper:er}=Fe.refs;Xn&&(Xn.scrollLeft=jn),er&&(er.scrollLeft=jn);const rr=Wn-Gn-1;jn>=rr?Pn("is-scrolling-right"):Pn(jn===0?"is-scrolling-left":"is-scrolling-middle")},In=()=>{Fe.refs.scrollBarRef&&(Fe.refs.scrollBarRef.wrapRef&&useEventListener(Fe.refs.scrollBarRef.wrapRef,"scroll",Mn,{passive:!0}),xe.fit?useResizeObserver(Fe.vnode.el,On):useEventListener(window,"resize",On),useResizeObserver(Fe.refs.bodyWrapper,()=>{var zn,jn;On(),(jn=(zn=Fe.refs)==null?void 0:zn.scrollBarRef)==null||jn.update()}))},On=()=>{var zn,jn,Gn,Wn;const Xn=Fe.vnode.el;if(!Fe.$ready||!Xn)return;let er=!1;const{width:rr,height:Jn,headerHeight:qn}=Lt.value,Yn=vn.value=Xn.offsetWidth;rr!==Yn&&(er=!0);const ar=Xn.offsetHeight;(xe.height||En.value)&&Jn!==ar&&(er=!0);const tr=xe.tableLayout==="fixed"?Fe.refs.headerWrapper:(zn=Fe.refs.tableHeaderRef)==null?void 0:zn.$el;xe.showHeader&&(tr==null?void 0:tr.offsetHeight)!==qn&&(er=!0),bn.value=((jn=Fe.refs.tableWrapper)==null?void 0:jn.scrollHeight)||0,wn.value=(tr==null?void 0:tr.scrollHeight)||0,kn.value=((Gn=Fe.refs.footerWrapper)==null?void 0:Gn.offsetHeight)||0,Cn.value=((Wn=Fe.refs.appendWrapper)==null?void 0:Wn.offsetHeight)||0,_n.value=bn.value-wn.value-kn.value-Cn.value,er&&(Lt.value={width:Yn,height:ar,headerHeight:xe.showHeader&&(tr==null?void 0:tr.offsetHeight)||0},An())},Rn=useFormSize(),Bn=computed(()=>{const{bodyWidth:zn,scrollY:jn,gutterWidth:Gn}=$e;return zn.value?`${zn.value-(jn.value?Gn:0)}px`:""}),Vn=computed(()=>xe.maxHeight?"fixed":xe.tableLayout),Ln=computed(()=>{if(xe.data&&xe.data.length)return null;let zn="100%";xe.height&&_n.value&&(zn=`${_n.value}px`);const jn=vn.value;return{width:jn?`${jn}px`:"",height:zn}}),Dn=computed(()=>xe.height?{height:Number.isNaN(Number(xe.height))?xe.height:`${xe.height}px`}:xe.maxHeight?{maxHeight:Number.isNaN(Number(xe.maxHeight))?xe.maxHeight:`${xe.maxHeight}px`}:{}),Hn=computed(()=>xe.height?{height:"100%"}:xe.maxHeight?Number.isNaN(Number(xe.maxHeight))?{maxHeight:`calc(${xe.maxHeight} - ${wn.value+kn.value}px)`}:{maxHeight:`${xe.maxHeight-wn.value-kn.value}px`}:{});return{isHidden:Ue,renderExpanded:qe,setDragVisible:Dt,isGroup:jt,handleMouseLeave:Sn,handleHeaderFooterMousewheel:xn,tableSize:Rn,emptyBlockStyle:Ln,handleFixedMousewheel:(zn,jn)=>{const Gn=Fe.refs.bodyWrapper;if(Math.abs(jn.spinY)>0){const Wn=Gn.scrollTop;jn.pixelY<0&&Wn!==0&&zn.preventDefault(),jn.pixelY>0&&Gn.scrollHeight-Gn.clientHeight>Wn&&zn.preventDefault(),Gn.scrollTop+=Math.ceil(jn.pixelY/5)}else Gn.scrollLeft+=Math.ceil(jn.pixelX/5)},resizeProxyVisible:At,bodyWidth:Bn,resizeState:Lt,doLayout:An,tableBodyStyles:Tn,tableLayout:Vn,scrollbarViewStyle:hn,tableInnerStyle:Dn,scrollbarStyle:Hn}}function useKeyRender(xe){const $e=ref(),Ie=()=>{const Ue=xe.vnode.el.querySelector(".hidden-columns"),qe={childList:!0,subtree:!0},At=xe.store.states.updateOrderFns;$e.value=new MutationObserver(()=>{At.forEach(Dt=>Dt())}),$e.value.observe(Ue,qe)};onMounted(()=>{Ie()}),onUnmounted(()=>{var Fe;(Fe=$e.value)==null||Fe.disconnect()})}var defaultProps$1={data:{type:Array,default:()=>[]},size:useSizeProp,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object]};function hColgroup(xe){const $e=xe.tableLayout==="auto";let Ie=xe.columns||[];$e&&Ie.every(Ue=>Ue.width===void 0)&&(Ie=[]);const Fe=Ue=>{const qe={key:`${xe.tableLayout}_${Ue.id}`,style:{},name:void 0};return $e?qe.style={width:`${Ue.width}px`}:qe.name=Ue.id,qe};return h$5("colgroup",{},Ie.map(Ue=>h$5("col",Fe(Ue))))}hColgroup.props=["columns","tableLayout"];const useScrollbar$1=()=>{const xe=ref(),$e=(qe,At)=>{const Dt=xe.value;Dt&&Dt.scrollTo(qe,At)},Ie=(qe,At)=>{const Dt=xe.value;Dt&&isNumber$1(At)&&["Top","Left"].includes(qe)&&Dt[`setScroll${qe}`](At)};return{scrollBarRef:xe,scrollTo:$e,setScrollTop:qe=>Ie("Top",qe),setScrollLeft:qe=>Ie("Left",qe)}};let tableIdSeed=1;const _sfc_main$A=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$1,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(xe){const{t:$e}=useLocale(),Ie=useNamespace("table"),Fe=getCurrentInstance();provide(TABLE_INJECTION_KEY,Fe);const Ue=createStore(Fe,xe);Fe.store=Ue;const qe=new TableLayout({store:Fe.store,table:Fe,fit:xe.fit,showHeader:xe.showHeader});Fe.layout=qe;const At=computed(()=>(Ue.states.data.value||[]).length===0),{setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,sort:kn}=useUtils(Ue),{isHidden:Cn,renderExpanded:Sn,setDragVisible:xn,isGroup:En,handleMouseLeave:Tn,handleHeaderFooterMousewheel:An,tableSize:$n,emptyBlockStyle:Pn,handleFixedMousewheel:Nn,resizeProxyVisible:Mn,bodyWidth:In,resizeState:On,doLayout:Rn,tableBodyStyles:Bn,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn}=useStyle(xe,qe,Ue,Fe),{scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}=useScrollbar$1(),Wn=debounce(Rn,50),Xn=`${Ie.namespace.value}-table_${tableIdSeed++}`;Fe.tableId=Xn,Fe.state={isGroup:En,resizeState:On,doLayout:Rn,debouncedUpdateLayout:Wn};const er=computed(()=>xe.sumText||$e("el.table.sumText")),rr=computed(()=>xe.emptyText||$e("el.table.emptyText"));return useKeyRender(Fe),{ns:Ie,layout:qe,store:Ue,handleHeaderFooterMousewheel:An,handleMouseLeave:Tn,tableId:Xn,tableSize:$n,isHidden:Cn,isEmpty:At,renderExpanded:Sn,resizeProxyVisible:Mn,resizeState:On,isGroup:En,bodyWidth:In,tableBodyStyles:Bn,emptyBlockStyle:Pn,debouncedUpdateLayout:Wn,handleFixedMousewheel:Nn,setCurrentRow:Dt,getSelectionRows:Lt,toggleRowSelection:jt,clearSelection:hn,clearFilter:vn,toggleAllSelection:bn,toggleRowExpansion:_n,clearSort:wn,doLayout:Rn,sort:kn,t:$e,setDragVisible:xn,context:Fe,computedSumText:er,computedEmptyText:rr,tableLayout:Vn,scrollbarViewStyle:Ln,tableInnerStyle:Dn,scrollbarStyle:Hn,scrollBarRef:Fn,scrollTo:zn,setScrollLeft:jn,setScrollTop:Gn}}}),_hoisted_1$g=["data-prefix"],_hoisted_2$a={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$3(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("hColgroup"),Dt=resolveComponent("table-header"),Lt=resolveComponent("table-body"),jt=resolveComponent("table-footer"),hn=resolveComponent("el-scrollbar"),vn=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[xe.ns.m("fit")]:xe.fit,[xe.ns.m("striped")]:xe.stripe,[xe.ns.m("border")]:xe.border||xe.isGroup,[xe.ns.m("hidden")]:xe.isHidden,[xe.ns.m("group")]:xe.isGroup,[xe.ns.m("fluid-height")]:xe.maxHeight,[xe.ns.m("scrollable-x")]:xe.layout.scrollX.value,[xe.ns.m("scrollable-y")]:xe.layout.scrollY.value,[xe.ns.m("enable-row-hover")]:!xe.store.states.isComplex.value,[xe.ns.m("enable-row-transition")]:(xe.store.states.data.value||[]).length!==0&&(xe.store.states.data.value||[]).length<100,"has-footer":xe.showSummary},xe.ns.m(xe.tableSize),xe.className,xe.ns.b(),xe.ns.m(`layout-${xe.tableLayout}`)]),style:normalizeStyle$1(xe.style),"data-prefix":xe.ns.namespace.value,onMouseleave:$e[0]||($e[0]=(...bn)=>xe.handleMouseLeave&&xe.handleMouseLeave(...bn))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("inner-wrapper")),style:normalizeStyle$1(xe.tableInnerStyle)},[createBaseVNode("div",_hoisted_2$a,[renderSlot(xe.$slots,"default")],512),xe.showHeader&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(xe.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(xe.ns.e("header")),style:normalizeStyle$1(xe.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(Dt,{ref:"tableHeaderRef",border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(xe.ns.e("body-wrapper"))},[createVNode$1(hn,{ref:"scrollBarRef","view-style":xe.scrollbarViewStyle,"wrap-style":xe.scrollbarStyle,always:xe.scrollbarAlwaysOn},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(xe.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:xe.bodyWidth,tableLayout:xe.tableLayout})},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),xe.showHeader&&xe.tableLayout==="auto"?(openBlock(),createBlock(Dt,{key:0,ref:"tableHeaderRef",class:normalizeClass(xe.ns.e("body-header")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,onSetDragVisible:xe.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode$1(Lt,{context:xe.context,highlight:xe.highlightCurrentRow,"row-class-name":xe.rowClassName,"tooltip-effect":xe.tooltipEffect,"tooltip-options":xe.tooltipOptions,"row-style":xe.rowStyle,store:xe.store,stripe:xe.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),xe.showSummary&&xe.tableLayout==="auto"?(openBlock(),createBlock(jt,{key:1,class:normalizeClass(xe.ns.e("body-footer")),border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):createCommentVNode("v-if",!0)],6),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(xe.emptyBlockStyle),class:normalizeClass(xe.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},[renderSlot(xe.$slots,"empty",{},()=>[createTextVNode(toDisplayString(xe.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),xe.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(xe.ns.e("append-wrapper"))},[renderSlot(xe.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),xe.showSummary&&xe.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(xe.ns.e("footer-wrapper"))},[createBaseVNode("table",{class:normalizeClass(xe.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1(xe.tableBodyStyles)},[createVNode$1(At,{columns:xe.store.states.columns.value,"table-layout":xe.tableLayout},null,8,["columns","table-layout"]),createVNode$1(jt,{border:xe.border,"default-sort":xe.defaultSort,store:xe.store,"sum-text":xe.computedSumText,"summary-method":xe.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[vShow,!xe.isEmpty],[vn,xe.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),xe.border||xe.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(xe.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],6),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(xe.ns.e("column-resize-proxy"))},null,2),[[vShow,xe.resizeProxyVisible]])],46,_hoisted_1$g)}var Table=_export_sfc$1(_sfc_main$A,[["render",_sfc_render$3],["__file","table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},getDefaultClassName=xe=>defaultClassNames[xe]||"",cellForced={selection:{renderHeader({store:xe,column:$e}){function Ie(){return xe.states.data.value&&xe.states.data.value.length===0}return h$5(ElCheckbox,{disabled:Ie(),size:xe.states.tableSize.value,indeterminate:xe.states.selection.value.length>0&&!xe.states.isAllSelected.value,"onUpdate:modelValue":xe.toggleAllSelection,modelValue:xe.states.isAllSelected.value,ariaLabel:$e.label})},renderCell({row:xe,column:$e,store:Ie,$index:Fe}){return h$5(ElCheckbox,{disabled:$e.selectable?!$e.selectable.call(null,xe,Fe):!1,size:Ie.states.tableSize.value,onChange:()=>{Ie.commit("rowSelectedChanged",xe)},onClick:Ue=>Ue.stopPropagation(),modelValue:Ie.isSelected(xe),ariaLabel:$e.label})},sortable:!1,resizable:!1},index:{renderHeader({column:xe}){return xe.label||"#"},renderCell({column:xe,$index:$e}){let Ie=$e+1;const Fe=xe.index;return typeof Fe=="number"?Ie=$e+Fe:typeof Fe=="function"&&(Ie=Fe($e)),h$5("div",{},[Ie])},sortable:!1},expand:{renderHeader({column:xe}){return xe.label||""},renderCell({row:xe,store:$e,expanded:Ie}){const{ns:Fe}=$e,Ue=[Fe.e("expand-icon")];return Ie&&Ue.push(Fe.em("expand-icon","expanded")),h$5("div",{class:Ue,onClick:function(At){At.stopPropagation(),$e.toggleRowExpansion(xe)}},{default:()=>[h$5(ElIcon,null,{default:()=>[h$5(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:xe,column:$e,$index:Ie}){var Fe;const Ue=$e.property,qe=Ue&&getProp(xe,Ue).value;return $e&&$e.formatter?$e.formatter(xe,$e,qe,Ie):((Fe=qe==null?void 0:qe.toString)==null?void 0:Fe.call(qe))||""}function treeCellPrefix({row:xe,treeNode:$e,store:Ie},Fe=!1){const{ns:Ue}=Ie;if(!$e)return Fe?[h$5("span",{class:Ue.e("placeholder")})]:null;const qe=[],At=function(Dt){Dt.stopPropagation(),!$e.loading&&Ie.loadOrToggle(xe)};if($e.indent&&qe.push(h$5("span",{class:Ue.e("indent"),style:{"padding-left":`${$e.indent}px`}})),typeof $e.expanded=="boolean"&&!$e.noLazyChildren){const Dt=[Ue.e("expand-icon"),$e.expanded?Ue.em("expand-icon","expanded"):""];let Lt=arrow_right_default;$e.loading&&(Lt=loading_default),qe.push(h$5("div",{class:Dt,onClick:At},{default:()=>[h$5(ElIcon,{class:{[Ue.is("loading")]:$e.loading}},{default:()=>[h$5(Lt)]})]}))}else qe.push(h$5("span",{class:Ue.e("placeholder")}));return qe}function getAllAliases(xe,$e){return xe.reduce((Ie,Fe)=>(Ie[Fe]=Fe,Ie),$e)}function useWatcher(xe,$e){const Ie=getCurrentInstance();return{registerComplexWatchers:()=>{const qe=["fixed"],At={realWidth:"width",realMinWidth:"minWidth"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{let vn=hn;jt==="width"&&Lt==="realWidth"&&(vn=parseWidth(hn)),jt==="minWidth"&&Lt==="realMinWidth"&&(vn=parseMinWidth(hn)),Ie.columnConfig.value[jt]=vn,Ie.columnConfig.value[Lt]=vn;const bn=jt==="fixed";xe.value.store.scheduleLayout(bn)})})},registerNormalWatchers:()=>{const qe=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],At={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},Dt=getAllAliases(qe,At);Object.keys(Dt).forEach(Lt=>{const jt=At[Lt];hasOwn$1($e,jt)&&watch(()=>$e[jt],hn=>{Ie.columnConfig.value[Lt]=hn})})}}}function useRender(xe,$e,Ie){const Fe=getCurrentInstance(),Ue=ref(""),qe=ref(!1),At=ref(),Dt=ref(),Lt=useNamespace("table");watchEffect(()=>{At.value=xe.align?`is-${xe.align}`:null,At.value}),watchEffect(()=>{Dt.value=xe.headerAlign?`is-${xe.headerAlign}`:At.value,Dt.value});const jt=computed(()=>{let Tn=Fe.vnode.vParent||Fe.parent;for(;Tn&&!Tn.tableId&&!Tn.columnId;)Tn=Tn.vnode.vParent||Tn.parent;return Tn}),hn=computed(()=>{const{store:Tn}=Fe.parent;if(!Tn)return!1;const{treeData:An}=Tn.states,$n=An.value;return $n&&Object.keys($n).length>0}),vn=ref(parseWidth(xe.width)),bn=ref(parseMinWidth(xe.minWidth)),_n=Tn=>(vn.value&&(Tn.width=vn.value),bn.value&&(Tn.minWidth=bn.value),!vn.value&&bn.value&&(Tn.width=void 0),Tn.minWidth||(Tn.minWidth=80),Tn.realWidth=Number(Tn.width===void 0?Tn.minWidth:Tn.width),Tn),wn=Tn=>{const An=Tn.type,$n=cellForced[An]||{};Object.keys($n).forEach(Nn=>{const Mn=$n[Nn];Nn!=="className"&&Mn!==void 0&&(Tn[Nn]=Mn)});const Pn=getDefaultClassName(An);if(Pn){const Nn=`${unref(Lt.namespace)}-${Pn}`;Tn.className=Tn.className?`${Tn.className} ${Nn}`:Nn}return Tn},kn=Tn=>{Array.isArray(Tn)?Tn.forEach($n=>An($n)):An(Tn);function An($n){var Pn;((Pn=$n==null?void 0:$n.type)==null?void 0:Pn.name)==="ElTableColumn"&&($n.vParent=Fe)}};return{columnId:Ue,realAlign:At,isSubColumn:qe,realHeaderAlign:Dt,columnOrTableParent:jt,setColumnWidth:_n,setColumnForcedProps:wn,setColumnRenders:Tn=>{xe.renderHeader||Tn.type!=="selection"&&(Tn.renderHeader=$n=>(Fe.columnConfig.value.label,renderSlot($e,"header",$n,()=>[Tn.label])));let An=Tn.renderCell;return Tn.type==="expand"?(Tn.renderCell=$n=>h$5("div",{class:"cell"},[An($n)]),Ie.value.renderExpanded=$n=>$e.default?$e.default($n):$e.default):(An=An||defaultRenderCell,Tn.renderCell=$n=>{let Pn=null;if($e.default){const Bn=$e.default($n);Pn=Bn.some(Vn=>Vn.type!==Comment$1)?Bn:An($n)}else Pn=An($n);const{columns:Nn}=Ie.value.store.states,Mn=Nn.value.findIndex(Bn=>Bn.type==="default"),In=hn.value&&$n.cellIndex===Mn,On=treeCellPrefix($n,In),Rn={class:"cell",style:{}};return Tn.showOverflowTooltip&&(Rn.class=`${Rn.class} ${unref(Lt.namespace)}-tooltip`,Rn.style={width:`${($n.column.realWidth||Number($n.column.width))-1}px`}),kn(Pn),h$5("div",Rn,[On,Pn])}),Tn},getPropsData:(...Tn)=>Tn.reduce((An,$n)=>(Array.isArray($n)&&$n.forEach(Pn=>{An[Pn]=xe[Pn]}),An),{}),getColumnElIndex:(Tn,An)=>Array.prototype.indexOf.call(Tn,An),updateColumnOrder:()=>{Ie.value.store.commit("updateColumnOrder",Fe.columnConfig.value)}}}var defaultProps={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:xe=>xe.every($e=>["ascending","descending",null].includes($e))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps,setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=ref({}),Ue=computed(()=>{let En=Ie.parent;for(;En&&!En.tableId;)En=En.parent;return En}),{registerNormalWatchers:qe,registerComplexWatchers:At}=useWatcher(Ue,xe),{columnId:Dt,isSubColumn:Lt,realHeaderAlign:jt,columnOrTableParent:hn,setColumnWidth:vn,setColumnForcedProps:bn,setColumnRenders:_n,getPropsData:wn,getColumnElIndex:kn,realAlign:Cn,updateColumnOrder:Sn}=useRender(xe,$e,Ue),xn=hn.value;Dt.value=`${xn.tableId||xn.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{Lt.value=Ue.value!==xn;const En=xe.type||"default",Tn=xe.sortable===""?!0:xe.sortable,An=isUndefined(xe.showOverflowTooltip)?xn.props.showOverflowTooltip:xe.showOverflowTooltip,$n={...cellStarts[En],id:Dt.value,type:En,property:xe.prop||xe.property,align:Cn,headerAlign:jt,showOverflowTooltip:An,filterable:xe.filters||xe.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Tn,index:xe.index,rawColumnKey:Ie.vnode.key};let On=wn(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);On=mergeOptions($n,On),On=compose(_n,vn,bn)(On),Fe.value=On,qe(),At()}),onMounted(()=>{var En;const Tn=hn.value,An=Lt.value?Tn.vnode.el.children:(En=Tn.refs.hiddenColumns)==null?void 0:En.children,$n=()=>kn(An||[],Ie.vnode.el);Fe.value.getColumnIndex=$n,$n()>-1&&Ue.value.store.commit("insertColumn",Fe.value,Lt.value?Tn.columnConfig.value:null,Sn)}),onBeforeUnmount(()=>{Fe.value.getColumnIndex()>-1&&Ue.value.store.commit("removeColumn",Fe.value,Lt.value?xn.columnConfig.value:null,Sn)}),Ie.columnId=Dt.value,Ie.columnConfig=Fe},render(){var xe,$e,Ie;try{const Fe=($e=(xe=this.$slots).default)==null?void 0:$e.call(xe,{row:{},column:{},$index:-1}),Ue=[];if(Array.isArray(Fe))for(const At of Fe)((Ie=At.type)==null?void 0:Ie.name)==="ElTableColumn"||At.shapeFlag&2?Ue.push(At):At.type===Fragment&&Array.isArray(At.children)&&At.children.forEach(Dt=>{(Dt==null?void 0:Dt.patchFlag)!==1024&&!isString$4(Dt==null?void 0:Dt.children)&&Ue.push(Dt)});return h$5("div",Ue)}catch{return h$5("div",[])}}});const ElTable=withInstall(Table,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(xe=>(xe.ASC="asc",xe.DESC="desc",xe))(SortOrder||{}),Alignment=(xe=>(xe.CENTER="center",xe.RIGHT="right",xe))(Alignment||{}),FixedDir=(xe=>(xe.LEFT="left",xe.RIGHT="right",xe))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(xe,$e,Ie)=>{var Fe;const Ue={flexGrow:0,flexShrink:0,...Ie?{}:{flexGrow:xe.flexGrow||0,flexShrink:xe.flexShrink||1}};Ie||(Ue.flexShrink=1);const qe={...(Fe=xe.style)!=null?Fe:{},...Ue,flexBasis:"auto",width:xe.width};return $e||(xe.maxWidth&&(qe.maxWidth=xe.maxWidth),xe.minWidth&&(qe.minWidth=xe.minWidth)),qe};function useColumns(xe,$e,Ie){const Fe=computed(()=>unref($e).filter(kn=>!kn.hidden)),Ue=computed(()=>unref(Fe).filter(kn=>kn.fixed==="left"||kn.fixed===!0)),qe=computed(()=>unref(Fe).filter(kn=>kn.fixed==="right")),At=computed(()=>unref(Fe).filter(kn=>!kn.fixed)),Dt=computed(()=>{const kn=[];return unref(Ue).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),unref(At).forEach(Cn=>{kn.push(Cn)}),unref(qe).forEach(Cn=>{kn.push({...Cn,placeholderSign})}),kn}),Lt=computed(()=>unref(Ue).length||unref(qe).length),jt=computed(()=>unref($e).reduce((Cn,Sn)=>(Cn[Sn.key]=calcColumnStyle(Sn,unref(Ie),xe.fixed),Cn),{})),hn=computed(()=>unref(Fe).reduce((kn,Cn)=>kn+Cn.width,0)),vn=kn=>unref($e).find(Cn=>Cn.key===kn),bn=kn=>unref(jt)[kn],_n=(kn,Cn)=>{kn.width=Cn};function wn(kn){var Cn;const{key:Sn}=kn.currentTarget.dataset;if(!Sn)return;const{sortState:xn,sortBy:En}=xe;let Tn=SortOrder.ASC;isObject$8(xn)?Tn=oppositeOrderMap[xn[Sn]]:Tn=oppositeOrderMap[En.order],(Cn=xe.onColumnSort)==null||Cn.call(xe,{column:vn(Sn),key:Sn,order:Tn})}return{columns:$e,columnsStyles:jt,columnsTotalWidth:hn,fixedColumnsOnLeft:Ue,fixedColumnsOnRight:qe,hasFixedColumns:Lt,mainColumns:Dt,normalColumns:At,visibleColumns:Fe,getColumn:vn,getColumnStyle:bn,updateColumnWidth:_n,onColumnSorted:wn}}const useScrollbar=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Ue})=>{const qe=ref({scrollLeft:0,scrollTop:0});function At(_n){var wn,kn,Cn;const{scrollTop:Sn}=_n;(wn=$e.value)==null||wn.scrollTo(_n),(kn=Ie.value)==null||kn.scrollToTop(Sn),(Cn=Fe.value)==null||Cn.scrollToTop(Sn)}function Dt(_n){qe.value=_n,At(_n)}function Lt(_n){qe.value.scrollTop=_n,At(unref(qe))}function jt(_n){var wn,kn;qe.value.scrollLeft=_n,(kn=(wn=$e.value)==null?void 0:wn.scrollTo)==null||kn.call(wn,unref(qe))}function hn(_n){var wn;Dt(_n),(wn=xe.onScroll)==null||wn.call(xe,_n)}function vn({scrollTop:_n}){const{scrollTop:wn}=unref(qe);_n!==wn&&Lt(_n)}function bn(_n,wn="auto"){var kn;(kn=$e.value)==null||kn.scrollToRow(_n,wn)}return watch(()=>unref(qe).scrollTop,(_n,wn)=>{_n>wn&&Ue()}),{scrollPos:qe,scrollTo:Dt,scrollToLeft:jt,scrollToTop:Lt,scrollToRow:bn,onScroll:hn,onVerticalScroll:vn}},useRow=(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Ue,ns:qe,isScrolling:At})=>{const Dt=getCurrentInstance(),{emit:Lt}=Dt,jt=shallowRef(!1),hn=ref(xe.defaultExpandedRowKeys||[]),vn=ref(-1),bn=shallowRef(null),_n=ref({}),wn=ref({}),kn=shallowRef({}),Cn=shallowRef({}),Sn=shallowRef({}),xn=computed(()=>isNumber$1(xe.estimatedRowHeight));function En(In){var On;(On=xe.onRowsRendered)==null||On.call(xe,In),In.rowCacheEnd>unref(vn)&&(vn.value=In.rowCacheEnd)}function Tn({hovered:In,rowKey:On}){if(At.value)return;Ue.vnode.el.querySelectorAll(`[rowkey=${On}]`).forEach(Vn=>{In?Vn.classList.add(qe.is("hovered")):Vn.classList.remove(qe.is("hovered"))})}function An({expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}){var Vn,Ln;const Dn=[...unref(hn)],Hn=Dn.indexOf(Bn);In?Hn===-1&&Dn.push(Bn):Hn>-1&&Dn.splice(Hn,1),hn.value=Dn,Lt("update:expandedRowKeys",Dn),(Vn=xe.onRowExpand)==null||Vn.call(xe,{expanded:In,rowData:On,rowIndex:Rn,rowKey:Bn}),(Ln=xe.onExpandedRowsChange)==null||Ln.call(xe,Dn)}const $n=debounce(()=>{var In,On,Rn,Bn;jt.value=!0,_n.value={...unref(_n),...unref(wn)},Pn(unref(bn),!1),wn.value={},bn.value=null,(In=$e.value)==null||In.forceUpdate(),(On=Ie.value)==null||On.forceUpdate(),(Rn=Fe.value)==null||Rn.forceUpdate(),(Bn=Dt.proxy)==null||Bn.$forceUpdate(),jt.value=!1},0);function Pn(In,On=!1){unref(xn)&&[$e,Ie,Fe].forEach(Rn=>{const Bn=unref(Rn);Bn&&Bn.resetAfterRowIndex(In,On)})}function Nn(In,On,Rn){const Bn=unref(bn);(Bn===null||Bn>Rn)&&(bn.value=Rn),wn.value[In]=On}function Mn({rowKey:In,height:On,rowIndex:Rn},Bn){Bn?Bn===FixedDir.RIGHT?Sn.value[In]=On:kn.value[In]=On:Cn.value[In]=On;const Vn=Math.max(...[kn,Sn,Cn].map(Ln=>Ln.value[In]||0));unref(_n)[In]!==Vn&&(Nn(In,Vn,Rn),$n())}return{expandedRowKeys:hn,lastRenderedRowIndex:vn,isDynamic:xn,isResetting:jt,rowHeights:_n,resetAfterIndex:Pn,onRowExpanded:An,onRowHovered:Tn,onRowsRendered:En,onRowHeightChange:Mn}},useData=(xe,{expandedRowKeys:$e,lastRenderedRowIndex:Ie,resetAfterIndex:Fe})=>{const Ue=ref({}),qe=computed(()=>{const Dt={},{data:Lt,rowKey:jt}=xe,hn=unref($e);if(!hn||!hn.length)return Lt;const vn=[],bn=new Set;hn.forEach(wn=>bn.add(wn));let _n=Lt.slice();for(_n.forEach(wn=>Dt[wn[jt]]=0);_n.length>0;){const wn=_n.shift();vn.push(wn),bn.has(wn[jt])&&Array.isArray(wn.children)&&wn.children.length>0&&(_n=[...wn.children,..._n],wn.children.forEach(kn=>Dt[kn[jt]]=Dt[wn[jt]]+1))}return Ue.value=Dt,vn}),At=computed(()=>{const{data:Dt,expandColumnKey:Lt}=xe;return Lt?unref(qe):Dt});return watch(At,(Dt,Lt)=>{Dt!==Lt&&(Ie.value=-1,Fe(0,!0))}),{data:At,depthMap:Ue}},sumReducer=(xe,$e)=>xe+$e,sum$1=xe=>isArray$6(xe)?xe.reduce(sumReducer,0):xe,tryCall=(xe,$e,Ie={})=>isFunction$5(xe)?xe($e):xe??Ie,enforceUnit=xe=>(["width","maxWidth","minWidth","height"].forEach($e=>{xe[$e]=addUnit(xe[$e])}),xe),componentToSlot=xe=>isVNode(xe)?$e=>h$5(xe,$e):xe,useStyles=(xe,{columnsTotalWidth:$e,data:Ie,fixedColumnsOnLeft:Fe,fixedColumnsOnRight:Ue})=>{const qe=computed(()=>{const{fixed:En,width:Tn,vScrollbarSize:An}=xe,$n=Tn-An;return En?Math.max(Math.round(unref($e)),$n):$n}),At=computed(()=>unref(qe)+xe.vScrollbarSize),Dt=computed(()=>{const{height:En=0,maxHeight:Tn=0,footerHeight:An,hScrollbarSize:$n}=xe;if(Tn>0){const Pn=unref(wn),Nn=unref(Lt),In=unref(_n)+Pn+Nn+$n;return Math.min(In,Tn-An)}return En-An}),Lt=computed(()=>{const{rowHeight:En,estimatedRowHeight:Tn}=xe,An=unref(Ie);return isNumber$1(Tn)?An.length*Tn:An.length*En}),jt=computed(()=>{const{maxHeight:En}=xe,Tn=unref(Dt);if(isNumber$1(En)&&En>0)return Tn;const An=unref(Lt)+unref(_n)+unref(wn);return Math.min(Tn,An)}),hn=En=>En.width,vn=computed(()=>sum$1(unref(Fe).map(hn))),bn=computed(()=>sum$1(unref(Ue).map(hn))),_n=computed(()=>sum$1(xe.headerHeight)),wn=computed(()=>{var En;return(((En=xe.fixedData)==null?void 0:En.length)||0)*xe.rowHeight}),kn=computed(()=>unref(Dt)-unref(_n)-unref(wn)),Cn=computed(()=>{const{style:En={},height:Tn,width:An}=xe;return enforceUnit({...En,height:Tn,width:An})}),Sn=computed(()=>enforceUnit({height:xe.footerHeight})),xn=computed(()=>({top:addUnit(unref(_n)),bottom:addUnit(xe.footerHeight),width:addUnit(xe.width)}));return{bodyWidth:qe,fixedTableHeight:jt,mainTableHeight:Dt,leftTableWidth:vn,rightTableWidth:bn,headerWidth:At,rowsHeight:Lt,windowHeight:kn,footerHeight:Sn,emptyStyle:xn,rootStyle:Cn,headerHeight:_n}},useAutoResize=xe=>{const $e=ref(),Ie=ref(0),Fe=ref(0);let Ue;return onMounted(()=>{Ue=useResizeObserver($e,([qe])=>{const{width:At,height:Dt}=qe.contentRect,{paddingLeft:Lt,paddingRight:jt,paddingTop:hn,paddingBottom:vn}=getComputedStyle(qe.target),bn=Number.parseInt(Lt)||0,_n=Number.parseInt(jt)||0,wn=Number.parseInt(hn)||0,kn=Number.parseInt(vn)||0;Ie.value=At-bn-_n,Fe.value=Dt-wn-kn}).stop}),onBeforeUnmount(()=>{Ue==null||Ue()}),watch([Ie,Fe],([qe,At])=>{var Dt;(Dt=xe.onResize)==null||Dt.call(xe,{width:qe,height:At})}),{sizer:$e,width:Ie,height:Fe}};function useTable(xe){const $e=ref(),Ie=ref(),Fe=ref(),{columns:Ue,columnsStyles:qe,columnsTotalWidth:At,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,hasFixedColumns:jt,mainColumns:hn,onColumnSorted:vn}=useColumns(xe,toRef(xe,"columns"),toRef(xe,"fixed")),{scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn,scrollPos:xn}=useScrollbar(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,onMaybeEndReached:Kn}),En=useNamespace("table-v2"),Tn=getCurrentInstance(),An=shallowRef(!1),{expandedRowKeys:$n,lastRenderedRowIndex:Pn,isDynamic:Nn,isResetting:Mn,rowHeights:In,resetAfterIndex:On,onRowExpanded:Rn,onRowHeightChange:Bn,onRowHovered:Vn,onRowsRendered:Ln}=useRow(xe,{mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,tableInstance:Tn,ns:En,isScrolling:An}),{data:Dn,depthMap:Hn}=useData(xe,{expandedRowKeys:$n,lastRenderedRowIndex:Pn,resetAfterIndex:On}),{bodyWidth:Fn,fixedTableHeight:zn,mainTableHeight:jn,leftTableWidth:Gn,rightTableWidth:Wn,headerWidth:Xn,rowsHeight:er,windowHeight:rr,footerHeight:Jn,emptyStyle:qn,rootStyle:Yn,headerHeight:ar}=useStyles(xe,{columnsTotalWidth:At,data:Dn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt}),tr=ref(),or=computed(()=>{const Zn=unref(Dn).length===0;return isArray$6(xe.fixedData)?xe.fixedData.length===0&&Zn:Zn});function sr(Zn){const{estimatedRowHeight:nr,rowHeight:lr,rowKey:ir}=xe;return nr?unref(In)[unref(Dn)[Zn][ir]]||nr:lr}function Kn(){const{onEndReached:Zn}=xe;if(!Zn)return;const{scrollTop:nr}=unref(xn),lr=unref(er),ir=unref(rr),kr=lr-(nr+ir)+xe.hScrollbarSize;unref(Pn)>=0&&lr===nr+unref(jn)-unref(ar)&&Zn(kr)}return watch(()=>xe.expandedRowKeys,Zn=>$n.value=Zn,{deep:!0}),{columns:Ue,containerRef:tr,mainTableRef:$e,leftTableRef:Ie,rightTableRef:Fe,isDynamic:Nn,isResetting:Mn,isScrolling:An,hasFixedColumns:jt,columnsStyles:qe,columnsTotalWidth:At,data:Dn,expandedRowKeys:$n,depthMap:Hn,fixedColumnsOnLeft:Dt,fixedColumnsOnRight:Lt,mainColumns:hn,bodyWidth:Fn,emptyStyle:qn,rootStyle:Yn,headerWidth:Xn,footerHeight:Jn,mainTableHeight:jn,fixedTableHeight:zn,leftTableWidth:Gn,rightTableWidth:Wn,showEmpty:or,getRowHeight:sr,onColumnSorted:vn,onRowHovered:Vn,onRowExpanded:Rn,onRowsRendered:Ln,onRowHeightChange:Bn,scrollTo:bn,scrollToLeft:_n,scrollToTop:wn,scrollToRow:kn,onScroll:Cn,onVerticalScroll:Sn}}const TableV2InjectionKey=Symbol("tableV2"),classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),TableV2Cell=(xe,{slots:$e})=>{var Ie;const{cellData:Fe,style:Ue}=xe,qe=((Ie=Fe==null?void 0:Fe.toString)==null?void 0:Ie.call(Fe))||"",At=renderSlot($e,"default",xe,()=>[qe]);return createVNode$1("div",{class:xe.class,title:qe,style:Ue},[At])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;const HeaderCell=(xe,{slots:$e})=>renderSlot($e,"default",xe,()=>{var Ie,Fe;return[createVNode$1("div",{class:xe.class,title:(Ie=xe.column)==null?void 0:Ie.title},[(Fe=xe.column)==null?void 0:Fe.title])]});HeaderCell.displayName="ElTableV2HeaderCell";HeaderCell.inheritAttrs=!1;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup(xe,{slots:$e}){return()=>{const{columns:Ie,columnsStyles:Fe,headerIndex:Ue,style:qe}=xe;let At=Ie.map((Dt,Lt)=>$e.cell({columns:Ie,column:Dt,columnIndex:Lt,headerIndex:Ue,style:Fe[Dt.key]}));return $e.header&&(At=$e.header({cells:At.map(Dt=>isArray$6(Dt)&&Dt.length===1?Dt[0]:Dt),columns:Ie,headerIndex:Ue})),createVNode$1("div",{class:xe.class,style:qe,role:"row"},[At])}}}),COMPONENT_NAME$7="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$7,props:tableV2HeaderProps,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),Ue=ref(),qe=computed(()=>enforceUnit({width:xe.width,height:xe.height})),At=computed(()=>enforceUnit({width:xe.rowWidth,height:xe.height})),Dt=computed(()=>castArray$1(unref(xe.headerHeight))),Lt=vn=>{const bn=unref(Ue);nextTick(()=>{bn!=null&&bn.scroll&&bn.scroll({left:vn})})},jt=()=>{const vn=Fe.e("fixed-header-row"),{columns:bn,fixedHeaderData:_n,rowHeight:wn}=xe;return _n==null?void 0:_n.map((kn,Cn)=>{var Sn;const xn=enforceUnit({height:wn,width:"100%"});return(Sn=$e.fixed)==null?void 0:Sn.call($e,{class:vn,columns:bn,rowData:kn,rowIndex:-(Cn+1),style:xn})})},hn=()=>{const vn=Fe.e("dynamic-header-row"),{columns:bn}=xe;return unref(Dt).map((_n,wn)=>{var kn;const Cn=enforceUnit({width:"100%",height:_n});return(kn=$e.dynamic)==null?void 0:kn.call($e,{class:vn,columns:bn,headerIndex:wn,style:Cn})})};return Ie({scrollToLeft:Lt}),()=>{if(!(xe.height<=0))return createVNode$1("div",{ref:Ue,class:xe.class,style:unref(qe),role:"rowgroup"},[createVNode$1("div",{style:unref(At),class:Fe.e("header")},[hn(),jt()])])}}}),useTableRow=xe=>{const{isScrolling:$e}=inject(TableV2InjectionKey),Ie=ref(!1),Fe=ref(),Ue=computed(()=>isNumber$1(xe.estimatedRowHeight)&&xe.rowIndex>=0),qe=(Lt=!1)=>{const jt=unref(Fe);if(!jt)return;const{columns:hn,onRowHeightChange:vn,rowKey:bn,rowIndex:_n,style:wn}=xe,{height:kn}=jt.getBoundingClientRect();Ie.value=!0,nextTick(()=>{if(Lt||kn!==Number.parseInt(wn.height)){const Cn=hn[0],Sn=(Cn==null?void 0:Cn.placeholderSign)===placeholderSign;vn==null||vn({rowKey:bn,height:kn,rowIndex:_n},Cn&&!Sn&&Cn.fixed)}})},At=computed(()=>{const{rowData:Lt,rowIndex:jt,rowKey:hn,onRowHover:vn}=xe,bn=xe.rowEventHandlers||{},_n={};return Object.entries(bn).forEach(([wn,kn])=>{isFunction$5(kn)&&(_n[wn]=Cn=>{kn({event:Cn,rowData:Lt,rowIndex:jt,rowKey:hn})})}),vn&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:wn,hovered:kn})=>{const Cn=_n[wn];_n[wn]=Sn=>{vn({event:Sn,hovered:kn,rowData:Lt,rowIndex:jt,rowKey:hn}),Cn==null||Cn(Sn)}}),_n}),Dt=Lt=>{const{onRowExpand:jt,rowData:hn,rowIndex:vn,rowKey:bn}=xe;jt==null||jt({expanded:Lt,rowData:hn,rowIndex:vn,rowKey:bn})};return onMounted(()=>{unref(Ue)&&qe(!0)}),{isScrolling:$e,measurable:Ue,measured:Ie,rowRef:Fe,eventHandlers:At,onExpand:Dt}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(xe,{expose:$e,slots:Ie,attrs:Fe}){const{eventHandlers:Ue,isScrolling:qe,measurable:At,measured:Dt,rowRef:Lt,onExpand:jt}=useTableRow(xe);return $e({onExpand:jt}),()=>{const{columns:hn,columnsStyles:vn,expandColumnKey:bn,depth:_n,rowData:wn,rowIndex:kn,style:Cn}=xe;let Sn=hn.map((xn,En)=>{const Tn=isArray$6(wn.children)&&wn.children.length>0&&xn.key===bn;return Ie.cell({column:xn,columns:hn,columnIndex:En,depth:_n,style:vn[xn.key],rowData:wn,rowIndex:kn,isScrolling:unref(qe),expandIconProps:Tn?{rowData:wn,rowIndex:kn,onExpand:jt}:void 0})});if(Ie.row&&(Sn=Ie.row({cells:Sn.map(xn=>isArray$6(xn)&&xn.length===1?xn[0]:xn),style:Cn,columns:hn,depth:_n,rowData:wn,rowIndex:kn,isScrolling:unref(qe)})),unref(At)){const{height:xn,...En}=Cn||{},Tn=unref(Dt);return createVNode$1("div",mergeProps({ref:Lt,class:xe.class,style:Tn?Cn:En,role:"row"},Fe,unref(Ue)),[Sn])}return createVNode$1("div",mergeProps(Fe,{ref:Lt,class:xe.class,style:Cn,role:"row"},unref(Ue)),[Sn])}}}),SortIcon=xe=>{const{sortOrder:$e}=xe;return createVNode$1(ElIcon,{size:14,class:xe.class},{default:()=>[$e===SortOrder.ASC?createVNode$1(sort_up_default,null,null):createVNode$1(sort_down_default,null,null)]})},ExpandIcon=xe=>{const{expanded:$e,expandable:Ie,onExpand:Fe,style:Ue,size:qe}=xe,At={onClick:Ie?()=>Fe(!$e):void 0,class:xe.class};return createVNode$1(ElIcon,mergeProps(At,{size:qe,style:Ue}),{default:()=>[createVNode$1(arrow_right_default,null,null)]})},COMPONENT_NAME$5="ElTableV2Grid",useTableGrid=xe=>{const $e=ref(),Ie=ref(),Fe=computed(()=>{const{data:kn,rowHeight:Cn,estimatedRowHeight:Sn}=xe;if(!Sn)return kn.length*Cn}),Ue=computed(()=>{const{fixedData:kn,rowHeight:Cn}=xe;return((kn==null?void 0:kn.length)||0)*Cn}),qe=computed(()=>sum$1(xe.headerHeight)),At=computed(()=>{const{height:kn}=xe;return Math.max(0,kn-unref(qe)-unref(Ue))}),Dt=computed(()=>unref(qe)+unref(Ue)>0),Lt=({data:kn,rowIndex:Cn})=>kn[Cn][xe.rowKey];function jt({rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn}){var En;(En=xe.onRowsRendered)==null||En.call(xe,{rowCacheStart:kn,rowCacheEnd:Cn,rowVisibleStart:Sn,rowVisibleEnd:xn})}function hn(kn,Cn){var Sn;(Sn=Ie.value)==null||Sn.resetAfterRowIndex(kn,Cn)}function vn(kn,Cn){const Sn=unref($e),xn=unref(Ie);isObject$8(kn)?(Sn==null||Sn.scrollToLeft(kn.scrollLeft),xn==null||xn.scrollTo(kn)):(Sn==null||Sn.scrollToLeft(kn),xn==null||xn.scrollTo({scrollLeft:kn,scrollTop:Cn}))}function bn(kn){var Cn;(Cn=unref(Ie))==null||Cn.scrollTo({scrollTop:kn})}function _n(kn,Cn){var Sn;(Sn=unref(Ie))==null||Sn.scrollToItem(kn,1,Cn)}function wn(){var kn,Cn;(kn=unref(Ie))==null||kn.$forceUpdate(),(Cn=unref($e))==null||Cn.$forceUpdate()}return{bodyRef:Ie,forceUpdate:wn,fixedRowHeight:Ue,gridHeight:At,hasHeader:Dt,headerHeight:qe,headerRef:$e,totalHeight:Fe,itemKey:Lt,onItemRendered:jt,resetAfterRowIndex:hn,scrollTo:vn,scrollToTop:bn,scrollToRow:_n}},TableGrid=defineComponent({name:COMPONENT_NAME$5,props:tableV2GridProps,setup(xe,{slots:$e,expose:Ie}){const{ns:Fe}=inject(TableV2InjectionKey),{bodyRef:Ue,fixedRowHeight:qe,gridHeight:At,hasHeader:Dt,headerRef:Lt,headerHeight:jt,totalHeight:hn,forceUpdate:vn,itemKey:bn,onItemRendered:_n,resetAfterRowIndex:wn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn}=useTableGrid(xe);Ie({forceUpdate:vn,totalHeight:hn,scrollTo:kn,scrollToTop:Cn,scrollToRow:Sn,resetAfterRowIndex:wn});const xn=()=>xe.bodyWidth;return()=>{const{cache:En,columns:Tn,data:An,fixedData:$n,useIsScrolling:Pn,scrollbarAlwaysOn:Nn,scrollbarEndGap:Mn,scrollbarStartGap:In,style:On,rowHeight:Rn,bodyWidth:Bn,estimatedRowHeight:Vn,headerWidth:Ln,height:Dn,width:Hn,getRowHeight:Fn,onScroll:zn}=xe,jn=isNumber$1(Vn),Gn=jn?DynamicSizeGrid:FixedSizeGrid,Wn=unref(jt);return createVNode$1("div",{role:"table",class:[Fe.e("table"),xe.class],style:On},[createVNode$1(Gn,{ref:Ue,data:An,useIsScrolling:Pn,itemKey:bn,columnCache:0,columnWidth:jn?xn:Bn,totalColumn:1,totalRow:An.length,rowCache:En,rowHeight:jn?Fn:Rn,width:Hn,height:unref(At),class:Fe.e("body"),role:"rowgroup",scrollbarStartGap:In,scrollbarEndGap:Mn,scrollbarAlwaysOn:Nn,onScroll:zn,onItemRendered:_n,perfMode:!1},{default:Xn=>{var er;const rr=An[Xn.rowIndex];return(er=$e.row)==null?void 0:er.call($e,{...Xn,columns:Tn,rowData:rr})}}),unref(Dt)&&createVNode$1(TableV2Header,{ref:Lt,class:Fe.e("header-wrapper"),columns:Tn,headerData:An,headerHeight:xe.headerHeight,fixedHeaderData:$n,rowWidth:Ln,rowHeight:Rn,width:Hn,height:Math.min(Wn+unref(qe),Dn)},{dynamic:$e.header,fixed:$e.row})])}}});function _isSlot$5(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const MainTable=(xe,{slots:$e})=>{const{mainTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$5($e)?$e:{default:()=>[$e]})};function _isSlot$4(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable$1=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{leftTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$4($e)?$e:{default:()=>[$e]})};function _isSlot$3(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const LeftTable=(xe,{slots:$e})=>{if(!xe.columns.length)return;const{rightTableRef:Ie,...Fe}=xe;return createVNode$1(TableGrid,mergeProps({ref:Ie},Fe),_isSlot$3($e)?$e:{default:()=>[$e]})};function _isSlot$2(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const RowRenderer=(xe,{slots:$e})=>{const{columns:Ie,columnsStyles:Fe,depthMap:Ue,expandColumnKey:qe,expandedRowKeys:At,estimatedRowHeight:Dt,hasFixedColumns:Lt,rowData:jt,rowIndex:hn,style:vn,isScrolling:bn,rowProps:_n,rowClass:wn,rowKey:kn,rowEventHandlers:Cn,ns:Sn,onRowHovered:xn,onRowExpanded:En}=xe,Tn=tryCall(wn,{columns:Ie,rowData:jt,rowIndex:hn},""),An=tryCall(_n,{columns:Ie,rowData:jt,rowIndex:hn}),$n=jt[kn],Pn=Ue[$n]||0,Nn=!!qe,Mn=hn<0,In=[Sn.e("row"),Tn,{[Sn.e(`row-depth-${Pn}`)]:Nn&&hn>=0,[Sn.is("expanded")]:Nn&&At.includes($n),[Sn.is("fixed")]:!Pn&&Mn,[Sn.is("customized")]:!!$e.row}],On=Lt?xn:void 0,Rn={...An,columns:Ie,columnsStyles:Fe,class:In,depth:Pn,expandColumnKey:qe,estimatedRowHeight:Mn?void 0:Dt,isScrolling:bn,rowIndex:hn,rowData:jt,rowKey:$n,rowEventHandlers:Cn,style:vn};return createVNode$1(TableV2Row,mergeProps(Rn,{onRowExpand:En,onMouseenter:Ln=>{On==null||On({hovered:!0,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},onMouseleave:Ln=>{On==null||On({hovered:!1,rowKey:$n,event:Ln,rowData:jt,rowIndex:hn})},rowkey:$n}),_isSlot$2($e)?$e:{default:()=>[$e]})},CellRenderer=({columns:xe,column:$e,columnIndex:Ie,depth:Fe,expandIconProps:Ue,isScrolling:qe,rowData:At,rowIndex:Dt,style:Lt,expandedRowKeys:jt,ns:hn,cellProps:vn,expandColumnKey:bn,indentSize:_n,iconSize:wn,rowKey:kn},{slots:Cn})=>{const Sn=enforceUnit(Lt);if($e.placeholderSign===placeholderSign)return createVNode$1("div",{class:hn.em("row-cell","placeholder"),style:Sn},null);const{cellRenderer:xn,dataKey:En,dataGetter:Tn}=$e,An=isFunction$5(Tn)?Tn({columns:xe,column:$e,columnIndex:Ie,rowData:At,rowIndex:Dt}):get$1(At,En??""),$n=tryCall(vn,{cellData:An,columns:xe,column:$e,columnIndex:Ie,rowIndex:Dt,rowData:At}),Pn={class:hn.e("cell-text"),columns:xe,column:$e,columnIndex:Ie,cellData:An,isScrolling:qe,rowData:At,rowIndex:Dt},Nn=componentToSlot(xn),Mn=Nn?Nn(Pn):renderSlot(Cn,"default",Pn,()=>[createVNode$1(TableV2Cell,Pn,null)]),In=[hn.e("row-cell"),$e.class,$e.align===Alignment.CENTER&&hn.is("align-center"),$e.align===Alignment.RIGHT&&hn.is("align-right")],On=Dt>=0&&bn&&$e.key===bn,Rn=Dt>=0&&jt.includes(At[kn]);let Bn;const Vn=`margin-inline-start: ${Fe*_n}px;`;return On&&(isObject$8(Ue)?Bn=createVNode$1(ExpandIcon,mergeProps(Ue,{class:[hn.e("expand-icon"),hn.is("expanded",Rn)],size:wn,expanded:Rn,style:Vn,expandable:!0}),null):Bn=createVNode$1("div",{style:[Vn,`width: ${wn}px; height: ${wn}px;`].join(" ")},null)),createVNode$1("div",mergeProps({class:In,style:Sn},$n,{role:"cell"}),[Bn,Mn])};CellRenderer.inheritAttrs=!1;function _isSlot$1(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const HeaderRenderer=({columns:xe,columnsStyles:$e,headerIndex:Ie,style:Fe,headerClass:Ue,headerProps:qe,ns:At},{slots:Dt})=>{const Lt={columns:xe,headerIndex:Ie},jt=[At.e("header-row"),tryCall(Ue,Lt,""),{[At.is("customized")]:!!Dt.header}],hn={...tryCall(qe,Lt),columnsStyles:$e,class:jt,columns:xe,headerIndex:Ie,style:Fe};return createVNode$1(TableV2HeaderRow,hn,_isSlot$1(Dt)?Dt:{default:()=>[Dt]})},HeaderCellRenderer=(xe,{slots:$e})=>{const{column:Ie,ns:Fe,style:Ue,onColumnSorted:qe}=xe,At=enforceUnit(Ue);if(Ie.placeholderSign===placeholderSign)return createVNode$1("div",{class:Fe.em("header-row-cell","placeholder"),style:At},null);const{headerCellRenderer:Dt,headerClass:Lt,sortable:jt}=Ie,hn={...xe,class:Fe.e("header-cell-text")},vn=componentToSlot(Dt),bn=vn?vn(hn):renderSlot($e,"default",hn,()=>[createVNode$1(HeaderCell,hn,null)]),{sortBy:_n,sortState:wn,headerCellProps:kn}=xe;let Cn,Sn;if(wn){const Tn=wn[Ie.key];Cn=!!oppositeOrderMap[Tn],Sn=Cn?Tn:SortOrder.ASC}else Cn=Ie.key===_n.key,Sn=Cn?_n.order:SortOrder.ASC;const xn=[Fe.e("header-cell"),tryCall(Lt,xe,""),Ie.align===Alignment.CENTER&&Fe.is("align-center"),Ie.align===Alignment.RIGHT&&Fe.is("align-right"),jt&&Fe.is("sortable")],En={...tryCall(kn,xe),onClick:Ie.sortable?qe:void 0,class:xn,style:At,"data-key":Ie.key};return createVNode$1("div",mergeProps(En,{role:"columnheader"}),[bn,jt&&createVNode$1(SortIcon,{class:[Fe.e("sort-icon"),Cn&&Fe.is("sorting")],sortOrder:Sn},null)])},Footer$1=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Footer$1.displayName="ElTableV2Footer";const Footer=(xe,{slots:$e})=>{const Ie=renderSlot($e,"default",{},()=>[createVNode$1(ElEmpty,null,null)]);return createVNode$1("div",{class:xe.class,style:xe.style},[Ie])};Footer.displayName="ElTableV2Empty";const Overlay=(xe,{slots:$e})=>{var Ie;return createVNode$1("div",{class:xe.class,style:xe.style},[(Ie=$e.default)==null?void 0:Ie.call($e)])};Overlay.displayName="ElTableV2Overlay";function _isSlot(xe){return typeof xe=="function"||Object.prototype.toString.call(xe)==="[object Object]"&&!isVNode(xe)}const COMPONENT_NAME$4="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$4,props:tableV2Props,setup(xe,{slots:$e,expose:Ie}){const Fe=useNamespace("table-v2"),{columnsStyles:Ue,fixedColumnsOnLeft:qe,fixedColumnsOnRight:At,mainColumns:Dt,mainTableHeight:Lt,fixedTableHeight:jt,leftTableWidth:hn,rightTableWidth:vn,data:bn,depthMap:_n,expandedRowKeys:wn,hasFixedColumns:kn,mainTableRef:Cn,leftTableRef:Sn,rightTableRef:xn,isDynamic:En,isResetting:Tn,isScrolling:An,bodyWidth:$n,emptyStyle:Pn,rootStyle:Nn,headerWidth:Mn,footerHeight:In,showEmpty:On,scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln,getRowHeight:Dn,onColumnSorted:Hn,onRowHeightChange:Fn,onRowHovered:zn,onRowExpanded:jn,onRowsRendered:Gn,onScroll:Wn,onVerticalScroll:Xn}=useTable(xe);return Ie({scrollTo:Rn,scrollToLeft:Bn,scrollToTop:Vn,scrollToRow:Ln}),provide(TableV2InjectionKey,{ns:Fe,isResetting:Tn,isScrolling:An}),()=>{const{cache:er,cellProps:rr,estimatedRowHeight:Jn,expandColumnKey:qn,fixedData:Yn,headerHeight:ar,headerClass:tr,headerProps:or,headerCellProps:sr,sortBy:Kn,sortState:Zn,rowHeight:nr,rowClass:lr,rowEventHandlers:ir,rowKey:kr,rowProps:Cr,scrollbarAlwaysOn:Er,indentSize:dr,iconSize:br,useIsScrolling:_r,vScrollbarSize:Pr,width:gr}=xe,xr=unref(bn),Rr={cache:er,class:Fe.e("main"),columns:unref(Dt),data:xr,fixedData:Yn,estimatedRowHeight:Jn,bodyWidth:unref($n)+Pr,headerHeight:ar,headerWidth:unref(Mn),height:unref(Lt),mainTableRef:Cn,rowKey:kr,rowHeight:nr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:gr,getRowHeight:Dn,onRowsRendered:Gn,onScroll:Wn},Hr=unref(hn),Jr=unref(jt),Gr={cache:er,class:Fe.e("left"),columns:unref(qe),data:xr,estimatedRowHeight:Jn,leftTableRef:Sn,rowHeight:nr,bodyWidth:Hr,headerWidth:Hr,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,useIsScrolling:_r,width:Hr,getRowHeight:Dn,onScroll:Xn},Br=unref(vn)+Pr,Tr={cache:er,class:Fe.e("right"),columns:unref(At),data:xr,estimatedRowHeight:Jn,rightTableRef:xn,rowHeight:nr,bodyWidth:Br,headerWidth:Br,headerHeight:ar,height:Jr,rowKey:kr,scrollbarAlwaysOn:Er,scrollbarStartGap:2,scrollbarEndGap:Pr,width:Br,style:`--${unref(Fe.namespace)}-table-scrollbar-size: ${Pr}px`,useIsScrolling:_r,getRowHeight:Dn,onScroll:Xn},cr=unref(Ue),Sr={ns:Fe,depthMap:unref(_n),columnsStyles:cr,expandColumnKey:qn,expandedRowKeys:unref(wn),estimatedRowHeight:Jn,hasFixedColumns:unref(kn),rowProps:Cr,rowClass:lr,rowKey:kr,rowEventHandlers:ir,onRowHovered:zn,onRowExpanded:jn,onRowHeightChange:Fn},Dr={cellProps:rr,expandColumnKey:qn,indentSize:dr,iconSize:br,rowKey:kr,expandedRowKeys:unref(wn),ns:Fe},mr={ns:Fe,headerClass:tr,headerProps:or,columnsStyles:cr},Lr={ns:Fe,sortBy:Kn,sortState:Zn,headerCellProps:sr,onColumnSorted:Hn},zr={row:Yr=>createVNode$1(RowRenderer,mergeProps(Yr,Sr),{row:$e.row,cell:Ur=>{let uo;return $e.cell?createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),_isSlot(uo=$e.cell(Ur))?uo:{default:()=>[uo]}):createVNode$1(CellRenderer,mergeProps(Ur,Dr,{style:cr[Ur.column.key]}),null)}}),header:Yr=>createVNode$1(HeaderRenderer,mergeProps(Yr,mr),{header:$e.header,cell:Ur=>{let uo;return $e["header-cell"]?createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),_isSlot(uo=$e["header-cell"](Ur))?uo:{default:()=>[uo]}):createVNode$1(HeaderCellRenderer,mergeProps(Ur,Lr,{style:cr[Ur.column.key]}),null)}})},Vr=[xe.class,Fe.b(),Fe.e("root"),{[Fe.is("dynamic")]:unref(En)}],Kr={class:Fe.e("footer"),style:unref(In)};return createVNode$1("div",{class:Vr,style:unref(Nn)},[createVNode$1(MainTable,Rr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable$1,Gr,_isSlot(zr)?zr:{default:()=>[zr]}),createVNode$1(LeftTable,Tr,_isSlot(zr)?zr:{default:()=>[zr]}),$e.footer&&createVNode$1(Footer$1,Kr,{default:$e.footer}),unref(On)&&createVNode$1(Footer,{class:Fe.e("empty"),style:unref(Pn)},{default:$e.empty}),$e.overlay&&createVNode$1(Overlay,{class:Fe.e("overlay")},{default:$e.overlay})])}}}),autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(xe,{slots:$e}){const Ie=useNamespace("auto-resizer"),{height:Fe,width:Ue,sizer:qe}=useAutoResize(xe),At={width:"100%",height:"100%"};return()=>{var Dt;return createVNode$1("div",{ref:qe,class:Ie.b(),style:At},[(Dt=$e.default)==null?void 0:Dt.call($e,{height:Fe.value,width:Ue.value})])}}}),ElTableV2=withInstall(TableV2),ElAutoResizer=withInstall(AutoResizer),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])}}),COMPONENT_NAME$3="ElTabBar",__default__$s=defineComponent({name:COMPONENT_NAME$3}),_sfc_main$z=defineComponent({...__default__$s,props:tabBarProps,setup(xe,{expose:$e}){const Ie=xe,Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$3,"");const qe=useNamespace("tabs"),At=ref(),Dt=ref(),Lt=()=>{let hn=0,vn=0;const bn=["top","bottom"].includes(Ue.props.tabPosition)?"width":"height",_n=bn==="width"?"x":"y",wn=_n==="x"?"left":"top";return Ie.tabs.every(kn=>{var Cn,Sn;const xn=(Sn=(Cn=Fe.parent)==null?void 0:Cn.refs)==null?void 0:Sn[`tab-${kn.uid}`];if(!xn)return!1;if(!kn.active)return!0;hn=xn[`offset${capitalize(wn)}`],vn=xn[`client${capitalize(bn)}`];const En=window.getComputedStyle(xn);return bn==="width"&&(Ie.tabs.length>1&&(vn-=Number.parseFloat(En.paddingLeft)+Number.parseFloat(En.paddingRight)),hn+=Number.parseFloat(En.paddingLeft)),!1}),{[bn]:`${vn}px`,transform:`translate${capitalize(_n)}(${hn}px)`}},jt=()=>Dt.value=Lt();return watch(()=>Ie.tabs,async()=>{await nextTick(),jt()},{immediate:!0}),useResizeObserver(At,()=>jt()),$e({ref:At,update:jt}),(hn,vn)=>(openBlock(),createElementBlock("div",{ref_key:"barRef",ref:At,class:normalizeClass([unref(qe).e("active-bar"),unref(qe).is(unref(Ue).props.tabPosition)]),style:normalizeStyle$1(Dt.value)},null,6))}});var TabBar=_export_sfc$1(_sfc_main$z,[["__file","tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),tabNavEmits={tabClick:(xe,$e,Ie)=>Ie instanceof Event,tabRemove:(xe,$e)=>$e instanceof Event},COMPONENT_NAME$2="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$2,props:tabNavProps,emits:tabNavEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=getCurrentInstance(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$2,"");const qe=useNamespace("tabs"),At=useDocumentVisibility(),Dt=useWindowFocus(),Lt=ref(),jt=ref(),hn=ref(),vn=ref(),bn=ref(!1),_n=ref(0),wn=ref(!1),kn=ref(!0),Cn=computed(()=>["top","bottom"].includes(Ue.props.tabPosition)?"width":"height"),Sn=computed(()=>({transform:`translate${Cn.value==="width"?"X":"Y"}(-${_n.value}px)`})),xn=()=>{if(!Lt.value)return;const Mn=Lt.value[`offset${capitalize(Cn.value)}`],In=_n.value;if(!In)return;const On=In>Mn?In-Mn:0;_n.value=On},En=()=>{if(!Lt.value||!jt.value)return;const Mn=jt.value[`offset${capitalize(Cn.value)}`],In=Lt.value[`offset${capitalize(Cn.value)}`],On=_n.value;if(Mn-On<=In)return;const Rn=Mn-On>In*2?On+In:Mn-In;_n.value=Rn},Tn=async()=>{const Mn=jt.value;if(!bn.value||!hn.value||!Lt.value||!Mn)return;await nextTick();const In=hn.value.querySelector(".is-active");if(!In)return;const On=Lt.value,Rn=["top","bottom"].includes(Ue.props.tabPosition),Bn=In.getBoundingClientRect(),Vn=On.getBoundingClientRect(),Ln=Rn?Mn.offsetWidth-Vn.width:Mn.offsetHeight-Vn.height,Dn=_n.value;let Hn=Dn;Rn?(Bn.leftVn.right&&(Hn=Dn+Bn.right-Vn.right)):(Bn.topVn.bottom&&(Hn=Dn+(Bn.bottom-Vn.bottom))),Hn=Math.max(Hn,0),_n.value=Math.min(Hn,Ln)},An=()=>{var Mn;if(!jt.value||!Lt.value)return;xe.stretch&&((Mn=vn.value)==null||Mn.update());const In=jt.value[`offset${capitalize(Cn.value)}`],On=Lt.value[`offset${capitalize(Cn.value)}`],Rn=_n.value;On0&&(_n.value=0))},$n=Mn=>{const In=Mn.code,{up:On,down:Rn,left:Bn,right:Vn}=EVENT_CODE;if(![On,Rn,Bn,Vn].includes(In))return;const Ln=Array.from(Mn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),Dn=Ln.indexOf(Mn.target);let Hn;In===Bn||In===On?Dn===0?Hn=Ln.length-1:Hn=Dn-1:Dn{kn.value&&(wn.value=!0)},Nn=()=>wn.value=!1;return watch(At,Mn=>{Mn==="hidden"?kn.value=!1:Mn==="visible"&&setTimeout(()=>kn.value=!0,50)}),watch(Dt,Mn=>{Mn?setTimeout(()=>kn.value=!0,50):kn.value=!1}),useResizeObserver(hn,An),onMounted(()=>setTimeout(()=>Tn(),0)),onUpdated(()=>An()),$e({scrollToActiveTab:Tn,removeFocus:Nn}),watch(()=>xe.panes,()=>Fe.update(),{flush:"post",deep:!0}),()=>{const Mn=bn.value?[createVNode$1("span",{class:[qe.e("nav-prev"),qe.is("disabled",!bn.value.prev)],onClick:xn},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_left_default,null,null)]})]),createVNode$1("span",{class:[qe.e("nav-next"),qe.is("disabled",!bn.value.next)],onClick:En},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_right_default,null,null)]})])]:null,In=xe.panes.map((On,Rn)=>{var Bn,Vn,Ln,Dn;const Hn=On.uid,Fn=On.props.disabled,zn=(Vn=(Bn=On.props.name)!=null?Bn:On.index)!=null?Vn:`${Rn}`,jn=!Fn&&(On.isClosable||xe.editable);On.index=`${Rn}`;const Gn=jn?createVNode$1(ElIcon,{class:"is-icon-close",onClick:er=>Ie("tabRemove",On,er)},{default:()=>[createVNode$1(close_default,null,null)]}):null,Wn=((Dn=(Ln=On.slots).label)==null?void 0:Dn.call(Ln))||On.props.label,Xn=!Fn&&On.active?0:-1;return createVNode$1("div",{ref:`tab-${Hn}`,class:[qe.e("item"),qe.is(Ue.props.tabPosition),qe.is("active",On.active),qe.is("disabled",Fn),qe.is("closable",jn),qe.is("focus",wn.value)],id:`tab-${zn}`,key:`tab-${Hn}`,"aria-controls":`pane-${zn}`,role:"tab","aria-selected":On.active,tabindex:Xn,onFocus:()=>Pn(),onBlur:()=>Nn(),onClick:er=>{Nn(),Ie("tabClick",On,zn,er)},onKeydown:er=>{jn&&(er.code===EVENT_CODE.delete||er.code===EVENT_CODE.backspace)&&Ie("tabRemove",On,er)}},[Wn,Gn])});return createVNode$1("div",{ref:hn,class:[qe.e("nav-wrap"),qe.is("scrollable",!!bn.value),qe.is(Ue.props.tabPosition)]},[Mn,createVNode$1("div",{class:qe.e("nav-scroll"),ref:Lt},[createVNode$1("div",{class:[qe.e("nav"),qe.is(Ue.props.tabPosition),qe.is("stretch",xe.stretch&&["top","bottom"].includes(Ue.props.tabPosition))],ref:jt,style:Sn.value,role:"tablist",onKeydown:$n},[xe.type?null:createVNode$1(TabBar,{ref:vn,tabs:[...xe.panes]},null),In])])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean}),isPaneName=xe=>isString$4(xe)||isNumber$1(xe),tabsEmits={[UPDATE_MODEL_EVENT]:xe=>isPaneName(xe),tabClick:(xe,$e)=>$e instanceof Event,tabChange:xe=>isPaneName(xe),edit:(xe,$e)=>["remove","add"].includes($e),tabRemove:xe=>isPaneName(xe),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(xe,{emit:$e,slots:Ie,expose:Fe}){var Ue;const qe=useNamespace("tabs"),{children:At,addChild:Dt,removeChild:Lt}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),jt=ref(),hn=ref((Ue=xe.modelValue)!=null?Ue:"0"),vn=async(kn,Cn=!1)=>{var Sn,xn,En;if(!(hn.value===kn||isUndefined(kn)))try{await((Sn=xe.beforeLeave)==null?void 0:Sn.call(xe,kn,hn.value))!==!1&&(hn.value=kn,Cn&&($e(UPDATE_MODEL_EVENT,kn),$e("tabChange",kn)),(En=(xn=jt.value)==null?void 0:xn.removeFocus)==null||En.call(xn))}catch{}},bn=(kn,Cn,Sn)=>{kn.props.disabled||(vn(Cn,!0),$e("tabClick",kn,Sn))},_n=(kn,Cn)=>{kn.props.disabled||isUndefined(kn.props.name)||(Cn.stopPropagation(),$e("edit",kn.props.name,"remove"),$e("tabRemove",kn.props.name))},wn=()=>{$e("edit",void 0,"add"),$e("tabAdd")};return watch(()=>xe.modelValue,kn=>vn(kn)),watch(hn,async()=>{var kn;await nextTick(),(kn=jt.value)==null||kn.scrollToActiveTab()}),provide(tabsRootContextKey,{props:xe,currentName:hn,registerPane:Dt,unregisterPane:Lt}),Fe({currentName:hn}),()=>{const kn=Ie["add-icon"],Cn=xe.editable||xe.addable?createVNode$1("span",{class:qe.e("new-tab"),tabindex:"0",onClick:wn,onKeydown:En=>{En.code===EVENT_CODE.enter&&wn()}},[kn?renderSlot(Ie,"add-icon"):createVNode$1(ElIcon,{class:qe.is("icon-plus")},{default:()=>[createVNode$1(plus_default,null,null)]})]):null,Sn=createVNode$1("div",{class:[qe.e("header"),qe.is(xe.tabPosition)]},[Cn,createVNode$1(TabNav,{ref:jt,currentName:hn.value,editable:xe.editable,type:xe.type,panes:At.value,stretch:xe.stretch,onTabClick:bn,onTabRemove:_n},null)]),xn=createVNode$1("div",{class:qe.e("content")},[renderSlot(Ie,"default")]);return createVNode$1("div",{class:[qe.b(),qe.m(xe.tabPosition),{[qe.m("card")]:xe.type==="card",[qe.m("border-card")]:xe.type==="border-card"}]},[...xe.tabPosition!=="bottom"?[Sn,xn]:[xn,Sn]])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),_hoisted_1$f=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$1="ElTabPane",__default__$r=defineComponent({name:COMPONENT_NAME$1}),_sfc_main$y=defineComponent({...__default__$r,props:tabPaneProps,setup(xe){const $e=xe,Ie=getCurrentInstance(),Fe=useSlots(),Ue=inject(tabsRootContextKey);Ue||throwError$1(COMPONENT_NAME$1,"usage: ");const qe=useNamespace("tab-pane"),At=ref(),Dt=computed(()=>$e.closable||Ue.props.closable),Lt=computedEager(()=>{var _n;return Ue.currentName.value===((_n=$e.name)!=null?_n:At.value)}),jt=ref(Lt.value),hn=computed(()=>{var _n;return(_n=$e.name)!=null?_n:At.value}),vn=computedEager(()=>!$e.lazy||jt.value||Lt.value);watch(Lt,_n=>{_n&&(jt.value=!0)});const bn=reactive({uid:Ie.uid,slots:Fe,props:$e,paneName:hn,active:Lt,index:At,isClosable:Dt});return onMounted(()=>{Ue.registerPane(bn)}),onUnmounted(()=>{Ue.unregisterPane(bn.uid)}),(_n,wn)=>unref(vn)?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${unref(hn)}`,class:normalizeClass(unref(qe).b()),role:"tabpanel","aria-hidden":!unref(Lt),"aria-labelledby":`tab-${unref(hn)}`},[renderSlot(_n.$slots,"default")],10,_hoisted_1$f)),[[vShow,unref(Lt)]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc$1(_sfc_main$y,[["__file","tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:{type:Boolean},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),__default__$q=defineComponent({name:"ElText"}),_sfc_main$x=defineComponent({...__default__$q,props:textProps,setup(xe){const $e=xe,Ie=useFormSize(),Fe=useNamespace("text"),Ue=computed(()=>[Fe.b(),Fe.m($e.type),Fe.m(Ie.value),Fe.is("truncated",$e.truncated),Fe.is("line-clamp",!isUndefined($e.lineClamp))]);return(qe,At)=>(openBlock(),createBlock(resolveDynamicComponent(qe.tag),{class:normalizeClass(unref(Ue)),style:normalizeStyle$1({"-webkit-line-clamp":qe.lineClamp})},{default:withCtx(()=>[renderSlot(qe.$slots,"default")]),_:3},8,["class","style"]))}});var Text$1=_export_sfc$1(_sfc_main$x,[["__file","text.vue"]]);const ElText=withInstall(Text$1),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default},...useEmptyValuesProps}),parseTime=xe=>{const $e=(xe||"").split(":");if($e.length>=2){let Ie=Number.parseInt($e[0],10);const Fe=Number.parseInt($e[1],10),Ue=xe.toUpperCase();return Ue.includes("AM")&&Ie===12?Ie=0:Ue.includes("PM")&&Ie!==12&&(Ie+=12),{hours:Ie,minutes:Fe}}return null},compareTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return-1;const Fe=parseTime($e);if(!Fe)return-1;const Ue=Ie.minutes+Ie.hours*60,qe=Fe.minutes+Fe.hours*60;return Ue===qe?0:Ue>qe?1:-1},padTime=xe=>`${xe}`.padStart(2,"0"),formatTime=xe=>`${padTime(xe.hours)}:${padTime(xe.minutes)}`,nextTime=(xe,$e)=>{const Ie=parseTime(xe);if(!Ie)return"";const Fe=parseTime($e);if(!Fe)return"";const Ue={hours:Ie.hours,minutes:Ie.minutes};return Ue.minutes+=Fe.minutes,Ue.hours+=Fe.hours,Ue.hours+=Math.floor(Ue.minutes/60),Ue.minutes=Ue.minutes%60,formatTime(Ue)},__default__$p=defineComponent({name:"ElTimeSelect"}),_sfc_main$w=defineComponent({...__default__$p,props:timeSelectProps,emits:["change","blur","focus","update:modelValue"],setup(xe,{expose:$e}){const Ie=xe;dayjs.extend(customParseFormat);const{Option:Fe}=ElSelect,Ue=useNamespace("input"),qe=ref(),At=useFormDisabled(),{lang:Dt}=useLocale(),Lt=computed(()=>Ie.modelValue),jt=computed(()=>{const Sn=parseTime(Ie.start);return Sn?formatTime(Sn):null}),hn=computed(()=>{const Sn=parseTime(Ie.end);return Sn?formatTime(Sn):null}),vn=computed(()=>{const Sn=parseTime(Ie.step);return Sn?formatTime(Sn):null}),bn=computed(()=>{const Sn=parseTime(Ie.minTime||"");return Sn?formatTime(Sn):null}),_n=computed(()=>{const Sn=parseTime(Ie.maxTime||"");return Sn?formatTime(Sn):null}),wn=computed(()=>{const Sn=[];if(Ie.start&&Ie.end&&Ie.step){let xn=jt.value,En;for(;xn&&hn.value&&compareTime(xn,hn.value)<=0;)En=dayjs(xn,"HH:mm").locale(Dt.value).format(Ie.format),Sn.push({value:En,disabled:compareTime(xn,bn.value||"-1:-1")<=0||compareTime(xn,_n.value||"100:100")>=0}),xn=nextTime(xn,vn.value)}return Sn});return $e({blur:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.blur)==null||xn.call(Sn)},focus:()=>{var Sn,xn;(xn=(Sn=qe.value)==null?void 0:Sn.focus)==null||xn.call(Sn)}}),(Sn,xn)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:qe,"model-value":unref(Lt),disabled:unref(At),clearable:Sn.clearable,"clear-icon":Sn.clearIcon,size:Sn.size,effect:Sn.effect,placeholder:Sn.placeholder,"default-first-option":"",filterable:Sn.editable,"empty-values":Sn.emptyValues,"value-on-clear":Sn.valueOnClear,"onUpdate:modelValue":xn[0]||(xn[0]=En=>Sn.$emit("update:modelValue",En)),onChange:xn[1]||(xn[1]=En=>Sn.$emit("change",En)),onBlur:xn[2]||(xn[2]=En=>Sn.$emit("blur",En)),onFocus:xn[3]||(xn[3]=En=>Sn.$emit("focus",En))},{prefix:withCtx(()=>[Sn.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ue).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Sn.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(wn),En=>(openBlock(),createBlock(unref(Fe),{key:En.value,label:En.value,value:En.value,disabled:En.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear"]))}});var TimeSelect=_export_sfc$1(_sfc_main$w,[["__file","time-select.vue"]]);TimeSelect.install=xe=>{xe.component(TimeSelect.name,TimeSelect)};const _TimeSelect=TimeSelect,ElTimeSelect=_TimeSelect,Timeline=defineComponent({name:"ElTimeline",setup(xe,{slots:$e}){const Ie=useNamespace("timeline");return provide("timeline",$e),()=>h$5("ul",{class:[Ie.b()]},[renderSlot($e,"default")])}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:iconPropType},hollow:{type:Boolean,default:!1}}),__default__$o=defineComponent({name:"ElTimelineItem"}),_sfc_main$v=defineComponent({...__default__$o,props:timelineItemProps,setup(xe){const $e=xe,Ie=useNamespace("timeline-item"),Fe=computed(()=>[Ie.e("node"),Ie.em("node",$e.size||""),Ie.em("node",$e.type||""),Ie.is("hollow",$e.hollow)]);return(Ue,qe)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(Ie).b(),{[unref(Ie).e("center")]:Ue.center}])},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("tail"))},null,2),Ue.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe)),style:normalizeStyle$1({backgroundColor:Ue.color})},[Ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Ie).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),Ue.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ie).e("dot"))},[renderSlot(Ue.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("wrapper"))},[!Ue.hideTimestamp&&Ue.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(Ie).e("timestamp"),unref(Ie).is("top")])},toDisplayString(Ue.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("content"))},[renderSlot(Ue.$slots,"default")],2),!Ue.hideTimestamp&&Ue.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(Ie).e("timestamp"),unref(Ie).is("bottom")])},toDisplayString(Ue.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc$1(_sfc_main$v,[["__file","timeline-item.vue"]]);const ElTimeline=withInstall(Timeline,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),tooltipV2CommonProps=buildProps({nowrap:Boolean});var TooltipV2Sides=(xe=>(xe.top="top",xe.bottom="bottom",xe.left="left",xe.right="right",xe))(TooltipV2Sides||{});const tooltipV2Sides=Object.values(TooltipV2Sides),tooltipV2ArrowProps=buildProps({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:definePropType(Object),default:null}}),tooltipV2ArrowSpecialProps=buildProps({side:{type:definePropType(String),values:tooltipV2Sides,required:!0}}),tooltipV2Strategies=["absolute","fixed"],tooltipV2Placements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tooltipV2ContentProps=buildProps({arrowPadding:{type:definePropType(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:definePropType(String),values:tooltipV2Placements,default:"bottom"},reference:{type:definePropType(Object),default:null},offset:{type:Number,default:8},strategy:{type:definePropType(String),values:tooltipV2Strategies,default:"absolute"},showArrow:{type:Boolean,default:!1},...useAriaProps(["ariaLabel"])}),tooltipV2RootProps=buildProps({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:definePropType(Function)},"onUpdate:open":{type:definePropType(Function)}}),EventHandler={type:definePropType(Function)},tooltipV2TriggerProps=buildProps({onBlur:EventHandler,onClick:EventHandler,onFocus:EventHandler,onMouseDown:EventHandler,onMouseEnter:EventHandler,onMouseLeave:EventHandler}),tooltipV2Props=buildProps({...tooltipV2RootProps,...tooltipV2ArrowProps,...tooltipV2TriggerProps,...tooltipV2ContentProps,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:definePropType(Object),default:null},teleported:Boolean,to:{type:definePropType(String),default:"body"}}),tooltipV2RootKey=Symbol("tooltipV2"),tooltipV2ContentKey=Symbol("tooltipV2Content"),TOOLTIP_V2_OPEN="tooltip_v2.open",__default__$n=defineComponent({name:"ElTooltipV2Root"}),_sfc_main$u=defineComponent({...__default__$n,props:tooltipV2RootProps,setup(xe,{expose:$e}){const Ie=xe,Fe=ref(Ie.defaultOpen),Ue=ref(null),qe=computed({get:()=>isPropAbsent(Ie.open)?Fe.value:Ie.open,set:Cn=>{var Sn;Fe.value=Cn,(Sn=Ie["onUpdate:open"])==null||Sn.call(Ie,Cn)}}),At=computed(()=>isNumber$1(Ie.delayDuration)&&Ie.delayDuration>0),{start:Dt,stop:Lt}=useTimeoutFn$1(()=>{qe.value=!0},computed(()=>Ie.delayDuration),{immediate:!1}),jt=useNamespace("tooltip-v2"),hn=useId(),vn=()=>{Lt(),qe.value=!0},bn=()=>{unref(At)?Dt():vn()},_n=vn,wn=()=>{Lt(),qe.value=!1};return watch(qe,Cn=>{var Sn;Cn&&(document.dispatchEvent(new CustomEvent(TOOLTIP_V2_OPEN)),_n()),(Sn=Ie.onOpenChange)==null||Sn.call(Ie,Cn)}),onMounted(()=>{document.addEventListener(TOOLTIP_V2_OPEN,wn)}),onBeforeUnmount(()=>{Lt(),document.removeEventListener(TOOLTIP_V2_OPEN,wn)}),provide(tooltipV2RootKey,{contentId:hn,triggerRef:Ue,ns:jt,onClose:wn,onDelayOpen:bn,onOpen:_n}),$e({onOpen:_n,onClose:wn}),(Cn,Sn)=>renderSlot(Cn.$slots,"default",{open:unref(qe)})}});var TooltipV2Root=_export_sfc$1(_sfc_main$u,[["__file","root.vue"]]);const __default__$m=defineComponent({name:"ElTooltipV2Arrow"}),_sfc_main$t=defineComponent({...__default__$m,props:{...tooltipV2ArrowProps,...tooltipV2ArrowSpecialProps},setup(xe){const $e=xe,{ns:Ie}=inject(tooltipV2RootKey),{arrowRef:Fe}=inject(tooltipV2ContentKey),Ue=computed(()=>{const{style:qe,width:At,height:Dt}=$e,Lt=Ie.namespace.value;return{[`--${Lt}-tooltip-v2-arrow-width`]:`${At}px`,[`--${Lt}-tooltip-v2-arrow-height`]:`${Dt}px`,[`--${Lt}-tooltip-v2-arrow-border-width`]:`${At/2}px`,[`--${Lt}-tooltip-v2-arrow-cover-width`]:At/2-1,...qe||{}}});return(qe,At)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:Fe,style:normalizeStyle$1(unref(Ue)),class:normalizeClass(unref(Ie).e("arrow"))},null,6))}});var TooltipV2Arrow=_export_sfc$1(_sfc_main$t,[["__file","arrow.vue"]]);const visualHiddenProps=buildProps({style:{type:definePropType([String,Object,Array]),default:()=>({})}}),__default__$l=defineComponent({name:"ElVisuallyHidden"}),_sfc_main$s=defineComponent({...__default__$l,props:visualHiddenProps,setup(xe){const $e=xe,Ie=computed(()=>[$e.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(Fe,Ue)=>(openBlock(),createElementBlock("span",mergeProps(Fe.$attrs,{style:unref(Ie)}),[renderSlot(Fe.$slots,"default")],16))}});var ElVisuallyHidden=_export_sfc$1(_sfc_main$s,[["__file","visual-hidden.vue"]]);const _hoisted_1$e=["data-side"],__default__$k=defineComponent({name:"ElTooltipV2Content"}),_sfc_main$r=defineComponent({...__default__$k,props:{...tooltipV2ContentProps,...tooltipV2CommonProps},setup(xe){const $e=xe,{triggerRef:Ie,contentId:Fe}=inject(tooltipV2RootKey),Ue=ref($e.placement),qe=ref($e.strategy),At=ref(null),{referenceRef:Dt,contentRef:Lt,middlewareData:jt,x:hn,y:vn,update:bn}=useFloating$1({placement:Ue,strategy:qe,middleware:computed(()=>{const En=[offset($e.offset)];return $e.showArrow&&En.push(arrowMiddleware({arrowRef:At})),En})}),_n=useZIndex().nextZIndex(),wn=useNamespace("tooltip-v2"),kn=computed(()=>Ue.value.split("-")[0]),Cn=computed(()=>({position:unref(qe),top:`${unref(vn)||0}px`,left:`${unref(hn)||0}px`,zIndex:_n})),Sn=computed(()=>{if(!$e.showArrow)return{};const{arrow:En}=unref(jt);return{[`--${wn.namespace.value}-tooltip-v2-arrow-x`]:`${En==null?void 0:En.x}px`||"",[`--${wn.namespace.value}-tooltip-v2-arrow-y`]:`${En==null?void 0:En.y}px`||""}}),xn=computed(()=>[wn.e("content"),wn.is("dark",$e.effect==="dark"),wn.is(unref(qe)),$e.contentClass]);return watch(At,()=>bn()),watch(()=>$e.placement,En=>Ue.value=En),onMounted(()=>{watch(()=>$e.reference||Ie.value,En=>{Dt.value=En||void 0},{immediate:!0})}),provide(tooltipV2ContentKey,{arrowRef:At}),(En,Tn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:Lt,style:normalizeStyle$1(unref(Cn)),"data-tooltip-v2-root":""},[En.nowrap?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,"data-side":unref(kn),class:normalizeClass(unref(xn))},[renderSlot(En.$slots,"default",{contentStyle:unref(Cn),contentClass:unref(xn)}),createVNode$1(unref(ElVisuallyHidden),{id:unref(Fe),role:"tooltip"},{default:withCtx(()=>[En.ariaLabel?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(En.ariaLabel),1)],64)):renderSlot(En.$slots,"default",{key:1})]),_:3},8,["id"]),renderSlot(En.$slots,"arrow",{style:normalizeStyle$1(unref(Sn)),side:unref(kn)})],10,_hoisted_1$e))],4))}});var TooltipV2Content=_export_sfc$1(_sfc_main$r,[["__file","content.vue"]]);const forwardRefProps=buildProps({setRef:{type:definePropType(Function),required:!0},onlyChild:Boolean});var ForwardRef=defineComponent({props:forwardRefProps,setup(xe,{slots:$e}){const Ie=ref(),Fe=composeRefs(Ie,Ue=>{Ue?xe.setRef(Ue.nextElementSibling):xe.setRef(null)});return()=>{var Ue;const[qe]=((Ue=$e.default)==null?void 0:Ue.call($e))||[],At=xe.onlyChild?ensureOnlyChild(qe.children):qe.children;return createVNode$1(Fragment,{ref:Fe},[At])}}});const __default__$j=defineComponent({name:"ElTooltipV2Trigger"}),_sfc_main$q=defineComponent({...__default__$j,props:{...tooltipV2CommonProps,...tooltipV2TriggerProps},setup(xe){const $e=xe,{onClose:Ie,onOpen:Fe,onDelayOpen:Ue,triggerRef:qe,contentId:At}=inject(tooltipV2RootKey);let Dt=!1;const Lt=xn=>{qe.value=xn},jt=()=>{Dt=!1},hn=composeEventHandlers($e.onMouseEnter,Ue),vn=composeEventHandlers($e.onMouseLeave,Ie),bn=composeEventHandlers($e.onMouseDown,()=>{Ie(),Dt=!0,document.addEventListener("mouseup",jt,{once:!0})}),_n=composeEventHandlers($e.onFocus,()=>{Dt||Fe()}),wn=composeEventHandlers($e.onBlur,Ie),kn=composeEventHandlers($e.onClick,xn=>{xn.detail===0&&Ie()}),Cn={blur:wn,click:kn,focus:_n,mousedown:bn,mouseenter:hn,mouseleave:vn},Sn=(xn,En,Tn)=>{xn&&Object.entries(En).forEach(([An,$n])=>{xn[Tn](An,$n)})};return watch(qe,(xn,En)=>{Sn(xn,Cn,"addEventListener"),Sn(En,Cn,"removeEventListener"),xn&&xn.setAttribute("aria-describedby",At.value)}),onBeforeUnmount(()=>{Sn(qe.value,Cn,"removeEventListener"),document.removeEventListener("mouseup",jt)}),(xn,En)=>xn.nowrap?(openBlock(),createBlock(unref(ForwardRef),{key:0,"set-ref":Lt,"only-child":""},{default:withCtx(()=>[renderSlot(xn.$slots,"default")]),_:3})):(openBlock(),createElementBlock("button",mergeProps({key:1,ref_key:"triggerRef",ref:qe},xn.$attrs),[renderSlot(xn.$slots,"default")],16))}});var TooltipV2Trigger=_export_sfc$1(_sfc_main$q,[["__file","trigger.vue"]]);const __default__$i=defineComponent({name:"ElTooltipV2"}),_sfc_main$p=defineComponent({...__default__$i,props:tooltipV2Props,setup(xe){const Ie=toRefs(xe),Fe=reactive(pick(Ie,Object.keys(tooltipV2ArrowProps))),Ue=reactive(pick(Ie,Object.keys(tooltipV2ContentProps))),qe=reactive(pick(Ie,Object.keys(tooltipV2RootProps))),At=reactive(pick(Ie,Object.keys(tooltipV2TriggerProps)));return(Dt,Lt)=>(openBlock(),createBlock(TooltipV2Root,normalizeProps(guardReactiveProps(qe)),{default:withCtx(({open:jt})=>[createVNode$1(TooltipV2Trigger,mergeProps(At,{nowrap:""}),{default:withCtx(()=>[renderSlot(Dt.$slots,"trigger")]),_:3},16),(openBlock(),createBlock(Teleport,{to:Dt.to,disabled:!Dt.teleported},[Dt.fullTransition?(openBlock(),createBlock(Transition,normalizeProps(mergeProps({key:0},Dt.transitionProps)),{default:withCtx(()=>[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)]),_:2},1040)):(openBlock(),createElementBlock(Fragment,{key:1},[Dt.alwaysOn||jt?(openBlock(),createBlock(TooltipV2Content,normalizeProps(mergeProps({key:0},Ue)),{arrow:withCtx(({style:hn,side:vn})=>[Dt.showArrow?(openBlock(),createBlock(TooltipV2Arrow,mergeProps({key:0},Fe,{style:hn,side:vn}),null,16,["style","side"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[renderSlot(Dt.$slots,"default")]),_:3},16)):createCommentVNode("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var TooltipV2=_export_sfc$1(_sfc_main$p,[["__file","tooltip.vue"]]);const ElTooltipV2=withInstall(TooltipV2),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(xe,$e)=>[xe,$e].every(isArray$6)||isArray$6(xe)&&isNil($e),transferEmits={[CHANGE_EVENT]:(xe,$e,Ie)=>[xe,Ie].every(isArray$6)&&["left","right"].includes($e),[UPDATE_MODEL_EVENT]:xe=>isArray$6(xe),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=xe=>{const $e={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...$e,...xe.props}))},useCheck$1=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=computed(()=>xe.data.filter(hn=>isFunction$5(xe.filterMethod)?xe.filterMethod($e.query,hn):String(hn[Fe.value.label]||hn[Fe.value.key]).toLowerCase().includes($e.query.toLowerCase()))),qe=computed(()=>Ue.value.filter(hn=>!hn[Fe.value.disabled])),At=computed(()=>{const hn=$e.checked.length,vn=xe.data.length,{noChecked:bn,hasChecked:_n}=xe.format;return bn&&_n?hn>0?_n.replace(/\${checked}/g,hn.toString()).replace(/\${total}/g,vn.toString()):bn.replace(/\${total}/g,vn.toString()):`${hn}/${vn}`}),Dt=computed(()=>{const hn=$e.checked.length;return hn>0&&hn{const hn=qe.value.map(vn=>vn[Fe.value.key]);$e.allChecked=hn.length>0&&hn.every(vn=>$e.checked.includes(vn))},jt=hn=>{$e.checked=hn?qe.value.map(vn=>vn[Fe.value.key]):[]};return watch(()=>$e.checked,(hn,vn)=>{if(Lt(),$e.checkChangeByUser){const bn=hn.concat(vn).filter(_n=>!hn.includes(_n)||!vn.includes(_n));Ie(CHECKED_CHANGE_EVENT,hn,bn)}else Ie(CHECKED_CHANGE_EVENT,hn),$e.checkChangeByUser=!0}),watch(qe,()=>{Lt()}),watch(()=>xe.data,()=>{const hn=[],vn=Ue.value.map(bn=>bn[Fe.value.key]);$e.checked.forEach(bn=>{vn.includes(bn)&&hn.push(bn)}),$e.checkChangeByUser=!1,$e.checked=hn}),watch(()=>xe.defaultChecked,(hn,vn)=>{if(vn&&hn.length===vn.length&&hn.every(wn=>vn.includes(wn)))return;const bn=[],_n=qe.value.map(wn=>wn[Fe.value.key]);hn.forEach(wn=>{_n.includes(wn)&&bn.push(wn)}),$e.checkChangeByUser=!1,$e.checked=bn},{immediate:!0}),{filteredData:Ue,checkableData:qe,checkedSummary:At,isIndeterminate:Dt,updateAllChecked:Lt,handleAllCheckedChange:jt}},useCheckedChange=(xe,$e)=>({onSourceCheckedChange:(Ue,qe)=>{xe.leftChecked=Ue,qe&&$e(LEFT_CHECK_CHANGE_EVENT,Ue,qe)},onTargetCheckedChange:(Ue,qe)=>{xe.rightChecked=Ue,qe&&$e(RIGHT_CHECK_CHANGE_EVENT,Ue,qe)}}),useComputedData=xe=>{const $e=usePropsAlias(xe),Ie=computed(()=>xe.data.reduce((qe,At)=>(qe[At[$e.value.key]]=At)&&qe,{})),Fe=computed(()=>xe.data.filter(qe=>!xe.modelValue.includes(qe[$e.value.key]))),Ue=computed(()=>xe.targetOrder==="original"?xe.data.filter(qe=>xe.modelValue.includes(qe[$e.value.key])):xe.modelValue.reduce((qe,At)=>{const Dt=Ie.value[At];return Dt&&qe.push(Dt),qe},[]));return{sourceData:Fe,targetData:Ue}},useMove=(xe,$e,Ie)=>{const Fe=usePropsAlias(xe),Ue=(Dt,Lt,jt)=>{Ie(UPDATE_MODEL_EVENT,Dt),Ie(CHANGE_EVENT,Dt,Lt,jt)};return{addToLeft:()=>{const Dt=xe.modelValue.slice();$e.rightChecked.forEach(Lt=>{const jt=Dt.indexOf(Lt);jt>-1&&Dt.splice(jt,1)}),Ue(Dt,"left",$e.rightChecked)},addToRight:()=>{let Dt=xe.modelValue.slice();const Lt=xe.data.filter(jt=>{const hn=jt[Fe.value.key];return $e.leftChecked.includes(hn)&&!xe.modelValue.includes(hn)}).map(jt=>jt[Fe.value.key]);Dt=xe.targetOrder==="unshift"?Lt.concat(Dt):Dt.concat(Lt),xe.targetOrder==="original"&&(Dt=xe.data.filter(jt=>Dt.includes(jt[Fe.value.key])).map(jt=>jt[Fe.value.key])),Ue(Dt,"right",$e.leftChecked)}}},__default__$h=defineComponent({name:"ElTransferPanel"}),_sfc_main$o=defineComponent({...__default__$h,props:transferPanelProps,emits:transferPanelEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=({option:En})=>En,{t:At}=useLocale(),Dt=useNamespace("transfer"),Lt=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),jt=usePropsAlias(Fe),{filteredData:hn,checkedSummary:vn,isIndeterminate:bn,handleAllCheckedChange:_n}=useCheck$1(Fe,Lt,Ie),wn=computed(()=>!isEmpty(Lt.query)&&isEmpty(hn.value)),kn=computed(()=>!isEmpty(Ue.default()[0].children)),{checked:Cn,allChecked:Sn,query:xn}=toRefs(Lt);return $e({query:xn}),(En,Tn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Dt).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","header"))},[createVNode$1(unref(ElCheckbox),{modelValue:unref(Sn),"onUpdate:modelValue":Tn[0]||(Tn[0]=An=>isRef(Sn)?Sn.value=An:null),indeterminate:unref(bn),"validate-event":!1,onChange:unref(_n)},{default:withCtx(()=>[createTextVNode(toDisplayString(En.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref(vn)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(Dt).be("panel","body"),unref(Dt).is("with-footer",unref(kn))])},[En.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(xn),"onUpdate:modelValue":Tn[1]||(Tn[1]=An=>isRef(xn)?xn.value=An:null),class:normalizeClass(unref(Dt).be("panel","filter")),size:"default",placeholder:En.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCheckboxGroup$1),{modelValue:unref(Cn),"onUpdate:modelValue":Tn[2]||(Tn[2]=An=>isRef(Cn)?Cn.value=An:null),"validate-event":!1,class:normalizeClass([unref(Dt).is("filterable",En.filterable),unref(Dt).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(hn),An=>(openBlock(),createBlock(unref(ElCheckbox),{key:An[unref(jt).key],class:normalizeClass(unref(Dt).be("panel","item")),value:An[unref(jt).key],disabled:An[unref(jt).disabled],"validate-event":!1},{default:withCtx(()=>{var $n;return[createVNode$1(qe,{option:($n=En.optionRender)==null?void 0:$n.call(En,An)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!unref(wn)&&!unref(isEmpty)(En.data)]]),withDirectives(createBaseVNode("p",{class:normalizeClass(unref(Dt).be("panel","empty"))},toDisplayString(unref(wn)?unref(At)("el.transfer.noMatch"):unref(At)("el.transfer.noData")),3),[[vShow,unref(wn)||unref(isEmpty)(En.data)]])],2),unref(kn)?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Dt).be("panel","footer"))},[renderSlot(En.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc$1(_sfc_main$o,[["__file","transfer-panel.vue"]]);const _hoisted_1$d={key:0},_hoisted_2$9={key:0},__default__$g=defineComponent({name:"ElTransfer"}),_sfc_main$n=defineComponent({...__default__$g,props:transferProps,emits:transferEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),{t:qe}=useLocale(),At=useNamespace("transfer"),{formItem:Dt}=useFormItem(),Lt=reactive({leftChecked:[],rightChecked:[]}),jt=usePropsAlias(Fe),{sourceData:hn,targetData:vn}=useComputedData(Fe),{onSourceCheckedChange:bn,onTargetCheckedChange:_n}=useCheckedChange(Lt,Ie),{addToLeft:wn,addToRight:kn}=useMove(Fe,Lt,Ie),Cn=ref(),Sn=ref(),xn=Nn=>{switch(Nn){case"left":Cn.value.query="";break;case"right":Sn.value.query="";break}},En=computed(()=>Fe.buttonTexts.length===2),Tn=computed(()=>Fe.titles[0]||qe("el.transfer.titles.0")),An=computed(()=>Fe.titles[1]||qe("el.transfer.titles.1")),$n=computed(()=>Fe.filterPlaceholder||qe("el.transfer.filterPlaceholder"));watch(()=>Fe.modelValue,()=>{var Nn;Fe.validateEvent&&((Nn=Dt==null?void 0:Dt.validate)==null||Nn.call(Dt,"change").catch(Mn=>void 0))});const Pn=computed(()=>Nn=>Fe.renderContent?Fe.renderContent(h$5,Nn):Ue.default?Ue.default({option:Nn}):h$5("span",Nn[jt.value.label]||Nn[jt.value.key]));return $e({clearQuery:xn,leftPanel:Cn,rightPanel:Sn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(At).b())},[createVNode$1(TransferPanel,{ref_key:"leftPanel",ref:Cn,data:unref(hn),"option-render":unref(Pn),placeholder:unref($n),title:unref(Tn),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,"default-checked":Nn.leftDefaultChecked,props:Fe.props,onCheckedChange:unref(bn)},{default:withCtx(()=>[renderSlot(Nn.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(At).e("buttons"))},[createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.rightChecked),onClick:unref(wn)},{default:withCtx(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1}),unref(isUndefined)(Nn.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$d,toDisplayString(Nn.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(At).e("button"),unref(At).is("with-texts",unref(En))]),disabled:unref(isEmpty)(Lt.leftChecked),onClick:unref(kn)},{default:withCtx(()=>[unref(isUndefined)(Nn.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$9,toDisplayString(Nn.buttonTexts[1]),1)),createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode$1(TransferPanel,{ref_key:"rightPanel",ref:Sn,data:unref(vn),"option-render":unref(Pn),placeholder:unref($n),filterable:Nn.filterable,format:Nn.format,"filter-method":Nn.filterMethod,title:unref(An),"default-checked":Nn.rightDefaultChecked,props:Fe.props,onCheckedChange:unref(_n)},{default:withCtx(()=>[renderSlot(Nn.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc$1(_sfc_main$n,[["__file","transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(xe,$e){!$e||$e[NODE_KEY]||Object.defineProperty($e,NODE_KEY,{value:xe.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=function(xe,$e){return xe?$e[xe]:$e[NODE_KEY]},handleCurrentChange=(xe,$e,Ie)=>{const Fe=xe.value.currentNode;Ie();const Ue=xe.value.currentNode;Fe!==Ue&&$e("current-change",Ue?Ue.data:null,Ue)},getChildState=xe=>{let $e=!0,Ie=!0,Fe=!0;for(let Ue=0,qe=xe.length;Ue"u"){const qe=Fe[$e];return qe===void 0?"":qe}};let nodeIdSeed=0,Node$1=class oi{constructor($e){this.id=nodeIdSeed++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const $e=this.store;if(!$e)throw new Error("[Node]store is required!");$e.registerNode(this);const Ie=$e.props;if(Ie&&typeof Ie.isLeaf<"u"){const qe=getPropertyFromData(this,"isLeaf");typeof qe=="boolean"&&(this.isLeafByUser=qe)}if($e.lazy!==!0&&this.data?(this.setData(this.data),$e.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&$e.lazy&&$e.defaultExpandAll&&this.expand(),Array.isArray(this.data)||markNodeData(this,this.data),!this.data)return;const Fe=$e.defaultExpandedKeys,Ue=$e.key;Ue&&Fe&&Fe.includes(this.key)&&this.expand(null,$e.autoExpandParent),Ue&&$e.currentNodeKey!==void 0&&this.key===$e.currentNodeKey&&($e.currentNode=this,$e.currentNode.isCurrent=!0),$e.lazy&&$e._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData($e){Array.isArray($e)||markNodeData(this,$e),this.data=$e,this.childNodes=[];let Ie;this.level===0&&Array.isArray(this.data)?Ie=this.data:Ie=getPropertyFromData(this,"children")||[];for(let Fe=0,Ue=Ie.length;Fe-1)return $e.childNodes[Ie+1]}return null}get previousSibling(){const $e=this.parent;if($e){const Ie=$e.childNodes.indexOf(this);if(Ie>-1)return Ie>0?$e.childNodes[Ie-1]:null}return null}contains($e,Ie=!0){return(this.childNodes||[]).some(Fe=>Fe===$e||Ie&&Fe.contains($e))}remove(){const $e=this.parent;$e&&$e.removeChild(this)}insertChild($e,Ie,Fe){if(!$e)throw new Error("InsertChild error: child is required.");if(!($e instanceof oi)){if(!Fe){const Ue=this.getChildren(!0);Ue.includes($e.data)||(typeof Ie>"u"||Ie<0?Ue.push($e.data):Ue.splice(Ie,0,$e.data))}Object.assign($e,{parent:this,store:this.store}),$e=reactive(new oi($e)),$e instanceof oi&&$e.initialize()}$e.level=this.level+1,typeof Ie>"u"||Ie<0?this.childNodes.push($e):this.childNodes.splice(Ie,0,$e),this.updateLeafState()}insertBefore($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie)),this.insertChild($e,Fe)}insertAfter($e,Ie){let Fe;Ie&&(Fe=this.childNodes.indexOf(Ie),Fe!==-1&&(Fe+=1)),this.insertChild($e,Fe)}removeChild($e){const Ie=this.getChildren()||[],Fe=Ie.indexOf($e.data);Fe>-1&&Ie.splice(Fe,1);const Ue=this.childNodes.indexOf($e);Ue>-1&&(this.store&&this.store.deregisterNode($e),$e.parent=null,this.childNodes.splice(Ue,1)),this.updateLeafState()}removeChildByData($e){let Ie=null;for(let Fe=0;Fe{if(Ie){let Ue=this.parent;for(;Ue.level>0;)Ue.expanded=!0,Ue=Ue.parent}this.expanded=!0,$e&&$e(),this.childNodes.forEach(Ue=>{Ue.canFocus=!0})};this.shouldLoadData()?this.loadData(Ue=>{Array.isArray(Ue)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),Fe())}):Fe()}doCreateChildren($e,Ie={}){$e.forEach(Fe=>{this.insertChild(Object.assign({data:Fe},Ie),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach($e=>{$e.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const $e=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!$e||$e.length===0;return}this.isLeaf=!1}setChecked($e,Ie,Fe,Ue){if(this.indeterminate=$e==="half",this.checked=$e===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:At,allWithoutDisable:Dt}=getChildState(this.childNodes);!this.isLeaf&&!At&&Dt&&(this.checked=!1,$e=!1);const Lt=()=>{if(Ie){const jt=this.childNodes;for(let bn=0,_n=jt.length;bn<_n;bn++){const wn=jt[bn];Ue=Ue||$e!==!1;const kn=wn.disabled?wn.checked:Ue;wn.setChecked(kn,Ie,!0,Ue)}const{half:hn,all:vn}=getChildState(jt);vn||(this.checked=vn,this.indeterminate=hn)}};if(this.shouldLoadData()){this.loadData(()=>{Lt(),reInitChecked(this)},{checked:$e!==!1});return}else Lt()}const qe=this.parent;!qe||qe.level===0||Fe||reInitChecked(qe)}getChildren($e=!1){if(this.level===0)return this.data;const Ie=this.data;if(!Ie)return null;const Fe=this.store.props;let Ue="children";return Fe&&(Ue=Fe.children||"children"),Ie[Ue]===void 0&&(Ie[Ue]=null),$e&&!Ie[Ue]&&(Ie[Ue]=[]),Ie[Ue]}updateChildren(){const $e=this.getChildren()||[],Ie=this.childNodes.map(qe=>qe.data),Fe={},Ue=[];$e.forEach((qe,At)=>{const Dt=qe[NODE_KEY];!!Dt&&Ie.findIndex(jt=>jt[NODE_KEY]===Dt)>=0?Fe[Dt]={index:At,data:qe}:Ue.push({index:At,data:qe})}),this.store.lazy||Ie.forEach(qe=>{Fe[qe[NODE_KEY]]||this.removeChildByData(qe)}),Ue.forEach(({index:qe,data:At})=>{this.insertChild({data:At},qe)}),this.updateLeafState()}loadData($e,Ie={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(Ie).length)){this.loading=!0;const Fe=qe=>{this.childNodes=[],this.doCreateChildren(qe,Ie),this.loaded=!0,this.loading=!1,this.updateLeafState(),$e&&$e.call(this,qe)},Ue=()=>{this.loading=!1};this.store.load(this,Fe,Ue)}else $e&&$e.call(this)}eachNode($e){const Ie=[this];for(;Ie.length;){const Fe=Ie.shift();Ie.unshift(...Fe.childNodes),$e(Fe)}}reInitChecked(){this.store.checkStrictly||reInitChecked(this)}};class TreeStore{constructor($e){this.currentNode=null,this.currentNodeKey=null;for(const Ie in $e)hasOwn$1($e,Ie)&&(this[Ie]=$e[Ie]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const $e=this.load;$e(this.root,Ie=>{this.root.doCreateChildren(Ie),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter($e){const Ie=this.filterNodeMethod,Fe=this.lazy,Ue=function(qe){const At=qe.root?qe.root.childNodes:qe.childNodes;if(At.forEach(Dt=>{Dt.visible=Ie.call(Dt,$e,Dt.data,Dt),Ue(Dt)}),!qe.visible&&At.length){let Dt=!0;Dt=!At.some(Lt=>Lt.visible),qe.root?qe.root.visible=Dt===!1:qe.visible=Dt===!1}$e&&qe.visible&&!qe.isLeaf&&(!Fe||qe.loaded)&&qe.expand()};Ue(this)}setData($e){$e!==this.root.data?(this.root.setData($e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode($e){if($e instanceof Node$1)return $e;const Ie=isObject$8($e)?getNodeKey(this.key,$e):$e;return this.nodesMap[Ie]||null}insertBefore($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertBefore({data:$e},Fe)}insertAfter($e,Ie){const Fe=this.getNode(Ie);Fe.parent.insertAfter({data:$e},Fe)}remove($e){const Ie=this.getNode($e);Ie&&Ie.parent&&(Ie===this.currentNode&&(this.currentNode=null),Ie.parent.removeChild(Ie))}append($e,Ie){const Fe=isPropAbsent(Ie)?this.root:this.getNode(Ie);Fe&&Fe.insertChild({data:$e})}_initDefaultCheckedNodes(){const $e=this.defaultCheckedKeys||[],Ie=this.nodesMap;$e.forEach(Fe=>{const Ue=Ie[Fe];Ue&&Ue.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode($e){(this.defaultCheckedKeys||[]).includes($e.key)&&$e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey($e){$e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=$e,this._initDefaultCheckedNodes())}registerNode($e){const Ie=this.key;!$e||!$e.data||(Ie?$e.key!==void 0&&(this.nodesMap[$e.key]=$e):this.nodesMap[$e.id]=$e)}deregisterNode($e){!this.key||!$e||!$e.data||($e.childNodes.forEach(Fe=>{this.deregisterNode(Fe)}),delete this.nodesMap[$e.key])}getCheckedNodes($e=!1,Ie=!1){const Fe=[],Ue=function(qe){(qe.root?qe.root.childNodes:qe.childNodes).forEach(Dt=>{(Dt.checked||Ie&&Dt.indeterminate)&&(!$e||$e&&Dt.isLeaf)&&Fe.push(Dt.data),Ue(Dt)})};return Ue(this),Fe}getCheckedKeys($e=!1){return this.getCheckedNodes($e).map(Ie=>(Ie||{})[this.key])}getHalfCheckedNodes(){const $e=[],Ie=function(Fe){(Fe.root?Fe.root.childNodes:Fe.childNodes).forEach(qe=>{qe.indeterminate&&$e.push(qe.data),Ie(qe)})};return Ie(this),$e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map($e=>($e||{})[this.key])}_getAllNodes(){const $e=[],Ie=this.nodesMap;for(const Fe in Ie)hasOwn$1(Ie,Fe)&&$e.push(Ie[Fe]);return $e}updateChildren($e,Ie){const Fe=this.nodesMap[$e];if(!Fe)return;const Ue=Fe.childNodes;for(let qe=Ue.length-1;qe>=0;qe--){const At=Ue[qe];this.remove(At.data)}for(let qe=0,At=Ie.length;qeLt.level-jt.level),qe=Object.create(null),At=Object.keys(Fe);Ue.forEach(Lt=>Lt.setChecked(!1,!1));const Dt=Lt=>{Lt.childNodes.forEach(jt=>{var hn;qe[jt.data[$e]]=!0,(hn=jt.childNodes)!=null&&hn.length&&Dt(jt)})};for(let Lt=0,jt=Ue.length;Lt{Cn.isLeaf||Cn.setChecked(!1,!1),_n(Cn)})};_n(hn)}}}setCheckedNodes($e,Ie=!1){const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[(qe||{})[Fe]]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setCheckedKeys($e,Ie=!1){this.defaultCheckedKeys=$e;const Fe=this.key,Ue={};$e.forEach(qe=>{Ue[qe]=!0}),this._setCheckedKeys(Fe,Ie,Ue)}setDefaultExpandedKeys($e){$e=$e||[],this.defaultExpandedKeys=$e,$e.forEach(Ie=>{const Fe=this.getNode(Ie);Fe&&Fe.expand(null,this.autoExpandParent)})}setChecked($e,Ie,Fe){const Ue=this.getNode($e);Ue&&Ue.setChecked(!!Ie,Fe)}getCurrentNode(){return this.currentNode}setCurrentNode($e){const Ie=this.currentNode;Ie&&(Ie.isCurrent=!1),this.currentNode=$e,this.currentNode.isCurrent=!0}setUserCurrentNode($e,Ie=!0){const Fe=$e[this.key],Ue=this.nodesMap[Fe];this.setCurrentNode(Ue),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey($e,Ie=!0){if($e==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const Fe=this.getNode($e);Fe&&(this.setCurrentNode(Fe),Ie&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const _sfc_main$m=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(xe){const $e=useNamespace("tree"),Ie=inject("NodeInstance"),Fe=inject("RootTree");return()=>{const Ue=xe.node,{data:qe,store:At}=Ue;return xe.renderContent?xe.renderContent(h$5,{_self:Ie,node:Ue,data:qe,store:At}):renderSlot(Fe.ctx.slots,"default",{node:Ue,data:qe},()=>[h$5("span",{class:$e.be("node","label")},[Ue.label])])}}});var NodeContent=_export_sfc$1(_sfc_main$m,[["__file","tree-node-content.vue"]]);function useNodeExpandEventBroadcast(xe){const $e=inject("TreeNodeMap",null),Ie={treeNodeExpand:Fe=>{xe.node!==Fe&&xe.node.collapse()},children:[]};return $e&&$e.children.push(Ie),provide("TreeNodeMap",Ie),{broadcastExpanded:Fe=>{if(xe.accordion)for(const Ue of Ie.children)Ue.treeNodeExpand(Fe)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:xe,ctx:$e,el$:Ie,dropIndicator$:Fe,store:Ue}){const qe=useNamespace("tree"),At=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:hn,treeNode:vn})=>{if(typeof xe.allowDrag=="function"&&!xe.allowDrag(vn.node))return hn.preventDefault(),!1;hn.dataTransfer.effectAllowed="move";try{hn.dataTransfer.setData("text/plain","")}catch{}At.value.draggingNode=vn,$e.emit("node-drag-start",vn.node,hn)},treeNodeDragOver:({event:hn,treeNode:vn})=>{const bn=vn,_n=At.value.dropNode;_n&&_n.node.id!==bn.node.id&&removeClass(_n.$el,qe.is("drop-inner"));const wn=At.value.draggingNode;if(!wn||!bn)return;let kn=!0,Cn=!0,Sn=!0,xn=!0;typeof xe.allowDrop=="function"&&(kn=xe.allowDrop(wn.node,bn.node,"prev"),xn=Cn=xe.allowDrop(wn.node,bn.node,"inner"),Sn=xe.allowDrop(wn.node,bn.node,"next")),hn.dataTransfer.dropEffect=Cn||kn||Sn?"move":"none",(kn||Cn||Sn)&&(_n==null?void 0:_n.node.id)!==bn.node.id&&(_n&&$e.emit("node-drag-leave",wn.node,_n.node,hn),$e.emit("node-drag-enter",wn.node,bn.node,hn)),kn||Cn||Sn?At.value.dropNode=bn:At.value.dropNode=null,bn.node.nextSibling===wn.node&&(Sn=!1),bn.node.previousSibling===wn.node&&(kn=!1),bn.node.contains(wn.node,!1)&&(Cn=!1),(wn.node===bn.node||wn.node.contains(bn.node))&&(kn=!1,Cn=!1,Sn=!1);const En=bn.$el.querySelector(`.${qe.be("node","content")}`).getBoundingClientRect(),Tn=Ie.value.getBoundingClientRect();let An;const $n=kn?Cn?.25:Sn?.45:1:-1,Pn=Sn?Cn?.75:kn?.55:0:1;let Nn=-9999;const Mn=hn.clientY-En.top;MnEn.height*Pn?An="after":Cn?An="inner":An="none";const In=bn.$el.querySelector(`.${qe.be("node","expand-icon")}`).getBoundingClientRect(),On=Fe.value;An==="before"?Nn=In.top-Tn.top:An==="after"&&(Nn=In.bottom-Tn.top),On.style.top=`${Nn}px`,On.style.left=`${In.right-Tn.left}px`,An==="inner"?addClass(bn.$el,qe.is("drop-inner")):removeClass(bn.$el,qe.is("drop-inner")),At.value.showDropIndicator=An==="before"||An==="after",At.value.allowDrop=At.value.showDropIndicator||xn,At.value.dropType=An,$e.emit("node-drag-over",wn.node,bn.node,hn)},treeNodeDragEnd:hn=>{const{draggingNode:vn,dropType:bn,dropNode:_n}=At.value;if(hn.preventDefault(),hn.dataTransfer.dropEffect="move",vn&&_n){const wn={data:vn.node.data};bn!=="none"&&vn.node.remove(),bn==="before"?_n.node.parent.insertBefore(wn,_n.node):bn==="after"?_n.node.parent.insertAfter(wn,_n.node):bn==="inner"&&_n.node.insertChild(wn),bn!=="none"&&(Ue.value.registerNode(wn),Ue.value.key&&vn.node.eachNode(kn=>{var Cn;(Cn=Ue.value.nodesMap[kn.data[Ue.value.key]])==null||Cn.setChecked(kn.checked,!Ue.value.checkStrictly)})),removeClass(_n.$el,qe.is("drop-inner")),$e.emit("node-drag-end",vn.node,_n.node,bn,hn),bn!=="none"&&$e.emit("node-drop",vn.node,_n.node,bn,hn)}vn&&!_n&&$e.emit("node-drag-end",vn.node,null,bn,hn),At.value.showDropIndicator=!1,At.value.draggingNode=null,At.value.dropNode=null,At.value.allowDrop=!0}}),{dragState:At}}const _sfc_main$l=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition:_CollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(xe,$e){const Ie=useNamespace("tree"),{broadcastExpanded:Fe}=useNodeExpandEventBroadcast(xe),Ue=inject("RootTree"),qe=ref(!1),At=ref(!1),Dt=ref(null),Lt=ref(null),jt=ref(null),hn=inject(dragEventsKey),vn=getCurrentInstance();provide("NodeInstance",vn),xe.node.expanded&&(qe.value=!0,At.value=!0);const bn=Ue.props.props.children||"children";watch(()=>{const Mn=xe.node.data[bn];return Mn&&[...Mn]},()=>{xe.node.updateChildren()}),watch(()=>xe.node.indeterminate,Mn=>{kn(xe.node.checked,Mn)}),watch(()=>xe.node.checked,Mn=>{kn(Mn,xe.node.indeterminate)}),watch(()=>xe.node.childNodes.length,()=>xe.node.reInitChecked()),watch(()=>xe.node.expanded,Mn=>{nextTick(()=>qe.value=Mn),Mn&&(At.value=!0)});const _n=Mn=>getNodeKey(Ue.props.nodeKey,Mn.data),wn=Mn=>{const In=xe.props.class;if(!In)return{};let On;if(isFunction$5(In)){const{data:Rn}=Mn;On=In(Rn,Mn)}else On=In;return isString$4(On)?{[On]:!0}:On},kn=(Mn,In)=>{(Dt.value!==Mn||Lt.value!==In)&&Ue.ctx.emit("check-change",xe.node.data,Mn,In),Dt.value=Mn,Lt.value=In},Cn=Mn=>{handleCurrentChange(Ue.store,Ue.ctx.emit,()=>Ue.store.value.setCurrentNode(xe.node)),Ue.currentNode.value=xe.node,Ue.props.expandOnClickNode&&xn(),Ue.props.checkOnClickNode&&!xe.node.disabled&&En(null,{target:{checked:!xe.node.checked}}),Ue.ctx.emit("node-click",xe.node.data,xe.node,vn,Mn)},Sn=Mn=>{Ue.instance.vnode.props.onNodeContextmenu&&(Mn.stopPropagation(),Mn.preventDefault()),Ue.ctx.emit("node-contextmenu",Mn,xe.node.data,xe.node,vn)},xn=()=>{xe.node.isLeaf||(qe.value?(Ue.ctx.emit("node-collapse",xe.node.data,xe.node,vn),xe.node.collapse()):(xe.node.expand(),$e.emit("node-expand",xe.node.data,xe.node,vn)))},En=(Mn,In)=>{xe.node.setChecked(In.target.checked,!Ue.props.checkStrictly),nextTick(()=>{const On=Ue.store.value;Ue.ctx.emit("check",xe.node.data,{checkedNodes:On.getCheckedNodes(),checkedKeys:On.getCheckedKeys(),halfCheckedNodes:On.getHalfCheckedNodes(),halfCheckedKeys:On.getHalfCheckedKeys()})})};return{ns:Ie,node$:jt,tree:Ue,expanded:qe,childNodeRendered:At,oldChecked:Dt,oldIndeterminate:Lt,getNodeKey:_n,getNodeClass:wn,handleSelectChange:kn,handleClick:Cn,handleContextMenu:Sn,handleExpandIconClick:xn,handleCheckChange:En,handleChildNodeExpand:(Mn,In,On)=>{Fe(In),Ue.ctx.emit("node-expand",Mn,In,On)},handleDragStart:Mn=>{Ue.props.draggable&&hn.treeNodeDragStart({event:Mn,treeNode:xe})},handleDragOver:Mn=>{Mn.preventDefault(),Ue.props.draggable&&hn.treeNodeDragOver({event:Mn,treeNode:{$el:jt.value,node:xe.node}})},handleDrop:Mn=>{Mn.preventDefault()},handleDragEnd:Mn=>{Ue.props.draggable&&hn.treeNodeDragEnd(Mn)},CaretRight:caret_right_default}}}),_hoisted_1$c=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$8=["aria-expanded"];function _sfc_render$2(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("el-checkbox"),Lt=resolveComponent("loading"),jt=resolveComponent("node-content"),hn=resolveComponent("el-tree-node"),vn=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([xe.ns.b("node"),xe.ns.is("expanded",xe.expanded),xe.ns.is("current",xe.node.isCurrent),xe.ns.is("hidden",!xe.node.visible),xe.ns.is("focusable",!xe.node.disabled),xe.ns.is("checked",!xe.node.disabled&&xe.node.checked),xe.getNodeClass(xe.node)]),role:"treeitem",tabindex:"-1","aria-expanded":xe.expanded,"aria-disabled":xe.node.disabled,"aria-checked":xe.node.checked,draggable:xe.tree.props.draggable,"data-key":xe.getNodeKey(xe.node),onClick:$e[1]||($e[1]=withModifiers((...bn)=>xe.handleClick&&xe.handleClick(...bn),["stop"])),onContextmenu:$e[2]||($e[2]=(...bn)=>xe.handleContextMenu&&xe.handleContextMenu(...bn)),onDragstart:$e[3]||($e[3]=withModifiers((...bn)=>xe.handleDragStart&&xe.handleDragStart(...bn),["stop"])),onDragover:$e[4]||($e[4]=withModifiers((...bn)=>xe.handleDragOver&&xe.handleDragOver(...bn),["stop"])),onDragend:$e[5]||($e[5]=withModifiers((...bn)=>xe.handleDragEnd&&xe.handleDragEnd(...bn),["stop"])),onDrop:$e[6]||($e[6]=withModifiers((...bn)=>xe.handleDrop&&xe.handleDrop(...bn),["stop"]))},[createBaseVNode("div",{class:normalizeClass(xe.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(xe.node.level-1)*xe.tree.props.indent+"px"})},[xe.tree.props.icon||xe.CaretRight?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.be("node","expand-icon"),xe.ns.is("leaf",xe.node.isLeaf),{expanded:!xe.node.isLeaf&&xe.expanded}]),onClick:withModifiers(xe.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.tree.props.icon||xe.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),xe.showCheckbox?(openBlock(),createBlock(Dt,{key:1,"model-value":xe.node.checked,indeterminate:xe.node.indeterminate,disabled:!!xe.node.disabled,onClick:$e[0]||($e[0]=withModifiers(()=>{},["stop"])),onChange:xe.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),xe.node.loading?(openBlock(),createBlock(At,{key:2,class:normalizeClass([xe.ns.be("node","loading-icon"),xe.ns.is("loading")])},{default:withCtx(()=>[createVNode$1(Lt)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(jt,{node:xe.node,"render-content":xe.renderContent},null,8,["node","render-content"])],6),createVNode$1(vn,null,{default:withCtx(()=>[!xe.renderAfterExpand||xe.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.be("node","children")),role:"group","aria-expanded":xe.expanded},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.node.childNodes,bn=>(openBlock(),createBlock(hn,{key:xe.getNodeKey(bn),"render-content":xe.renderContent,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,node:bn,accordion:xe.accordion,props:xe.props,onNodeExpand:xe.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$8)),[[vShow,xe.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$c)),[[vShow,xe.node.visible]])}var ElTreeNode$1=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$2],["__file","tree-node.vue"]]);function useKeydown({el$:xe},$e){const Ie=useNamespace("tree"),Fe=shallowRef([]),Ue=shallowRef([]);onMounted(()=>{At()}),onUpdated(()=>{Fe.value=Array.from(xe.value.querySelectorAll("[role=treeitem]")),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"))}),watch(Ue,Dt=>{Dt.forEach(Lt=>{Lt.setAttribute("tabindex","-1")})}),useEventListener(xe,"keydown",Dt=>{const Lt=Dt.target;if(!Lt.className.includes(Ie.b("node")))return;const jt=Dt.code;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`));const hn=Fe.value.indexOf(Lt);let vn;if([EVENT_CODE.up,EVENT_CODE.down].includes(jt)){if(Dt.preventDefault(),jt===EVENT_CODE.up){vn=hn===-1?0:hn!==0?hn-1:Fe.value.length-1;const _n=vn;for(;!$e.value.getNode(Fe.value[vn].dataset.key).canFocus;){if(vn--,vn===_n){vn=-1;break}vn<0&&(vn=Fe.value.length-1)}}else{vn=hn===-1?0:hn=Fe.value.length&&(vn=0)}}vn!==-1&&Fe.value[vn].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(jt)&&(Dt.preventDefault(),Lt.click());const bn=Lt.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.space].includes(jt)&&bn&&(Dt.preventDefault(),bn.click())});const At=()=>{var Dt;Fe.value=Array.from(xe.value.querySelectorAll(`.${Ie.is("focusable")}[role=treeitem]`)),Ue.value=Array.from(xe.value.querySelectorAll("input[type=checkbox]"));const Lt=xe.value.querySelectorAll(`.${Ie.is("checked")}[role=treeitem]`);if(Lt.length){Lt[0].setAttribute("tabindex","0");return}(Dt=Fe.value[0])==null||Dt.setAttribute("tabindex","0")}}const _sfc_main$k=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(xe,$e){const{t:Ie}=useLocale(),Fe=useNamespace("tree"),Ue=inject(selectKey,null),qe=ref(new TreeStore({key:xe.nodeKey,data:xe.data,lazy:xe.lazy,props:xe.props,load:xe.load,currentNodeKey:xe.currentNodeKey,checkStrictly:xe.checkStrictly,checkDescendants:xe.checkDescendants,defaultCheckedKeys:xe.defaultCheckedKeys,defaultExpandedKeys:xe.defaultExpandedKeys,autoExpandParent:xe.autoExpandParent,defaultExpandAll:xe.defaultExpandAll,filterNodeMethod:xe.filterNodeMethod}));qe.value.initialize();const At=ref(qe.value.root),Dt=ref(null),Lt=ref(null),jt=ref(null),{broadcastExpanded:hn}=useNodeExpandEventBroadcast(xe),{dragState:vn}=useDragNodeHandler({props:xe,ctx:$e,el$:Lt,dropIndicator$:jt,store:qe});useKeydown({el$:Lt},qe);const bn=computed(()=>{const{childNodes:Fn}=At.value,zn=Ue?Ue.hasFilteredOptions!==0:!1;return(!Fn||Fn.length===0||Fn.every(({visible:jn})=>!jn))&&!zn});watch(()=>xe.currentNodeKey,Fn=>{qe.value.setCurrentNodeKey(Fn)}),watch(()=>xe.defaultCheckedKeys,Fn=>{qe.value.setDefaultCheckedKey(Fn)}),watch(()=>xe.defaultExpandedKeys,Fn=>{qe.value.setDefaultExpandedKeys(Fn)}),watch(()=>xe.data,Fn=>{qe.value.setData(Fn)},{deep:!0}),watch(()=>xe.checkStrictly,Fn=>{qe.value.checkStrictly=Fn});const _n=Fn=>{if(!xe.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");qe.value.filter(Fn)},wn=Fn=>getNodeKey(xe.nodeKey,Fn.data),kn=Fn=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const zn=qe.value.getNode(Fn);if(!zn)return[];const jn=[zn.data];let Gn=zn.parent;for(;Gn&&Gn!==At.value;)jn.push(Gn.data),Gn=Gn.parent;return jn.reverse()},Cn=(Fn,zn)=>qe.value.getCheckedNodes(Fn,zn),Sn=Fn=>qe.value.getCheckedKeys(Fn),xn=()=>{const Fn=qe.value.getCurrentNode();return Fn?Fn.data:null},En=()=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const Fn=xn();return Fn?Fn[xe.nodeKey]:null},Tn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");qe.value.setCheckedNodes(Fn,zn)},An=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");qe.value.setCheckedKeys(Fn,zn)},$n=(Fn,zn,jn)=>{qe.value.setChecked(Fn,zn,jn)},Pn=()=>qe.value.getHalfCheckedNodes(),Nn=()=>qe.value.getHalfCheckedKeys(),Mn=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");handleCurrentChange(qe,$e.emit,()=>qe.value.setUserCurrentNode(Fn,zn))},In=(Fn,zn=!0)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");handleCurrentChange(qe,$e.emit,()=>qe.value.setCurrentNodeKey(Fn,zn))},On=Fn=>qe.value.getNode(Fn),Rn=Fn=>{qe.value.remove(Fn)},Bn=(Fn,zn)=>{qe.value.append(Fn,zn)},Vn=(Fn,zn)=>{qe.value.insertBefore(Fn,zn)},Ln=(Fn,zn)=>{qe.value.insertAfter(Fn,zn)},Dn=(Fn,zn,jn)=>{hn(zn),$e.emit("node-expand",Fn,zn,jn)},Hn=(Fn,zn)=>{if(!xe.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");qe.value.updateChildren(Fn,zn)};return provide("RootTree",{ctx:$e,props:xe,store:qe,root:At,currentNode:Dt,instance:getCurrentInstance()}),provide(formItemContextKey,void 0),{ns:Fe,store:qe,root:At,currentNode:Dt,dragState:vn,el$:Lt,dropIndicator$:jt,isEmpty:bn,filter:_n,getNodeKey:wn,getNodePath:kn,getCheckedNodes:Cn,getCheckedKeys:Sn,getCurrentNode:xn,getCurrentKey:En,setCheckedNodes:Tn,setCheckedKeys:An,setChecked:$n,getHalfCheckedNodes:Pn,getHalfCheckedKeys:Nn,setCurrentNode:Mn,setCurrentKey:In,t:Ie,getNode:On,remove:Rn,append:Bn,insertBefore:Vn,insertAfter:Ln,handleNodeExpand:Dn,updateKeyChildren:Hn}}});function _sfc_render$1(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([xe.ns.b(),xe.ns.is("dragging",!!xe.dragState.draggingNode),xe.ns.is("drop-not-allow",!xe.dragState.allowDrop),xe.ns.is("drop-inner",xe.dragState.dropType==="inner"),{[xe.ns.m("highlight-current")]:xe.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(xe.root.childNodes,Dt=>(openBlock(),createBlock(At,{key:xe.getNodeKey(Dt),node:Dt,props:xe.props,accordion:xe.accordion,"render-after-expand":xe.renderAfterExpand,"show-checkbox":xe.showCheckbox,"render-content":xe.renderContent,onNodeExpand:xe.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),xe.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(xe.ns.e("empty-block"))},[renderSlot(xe.$slots,"empty",{},()=>{var Dt;return[createBaseVNode("span",{class:normalizeClass(xe.ns.e("empty-text"))},toDisplayString((Dt=xe.emptyText)!=null?Dt:xe.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(xe.ns.e("drop-indicator"))},null,2),[[vShow,xe.dragState.showDropIndicator]])],2)}var Tree$1=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$1],["__file","tree.vue"]]);Tree$1.install=xe=>{xe.component(Tree$1.name,Tree$1)};const _Tree=Tree$1,ElTree=_Tree,useSelect=(xe,{attrs:$e,emit:Ie},{select:Fe,tree:Ue,key:qe})=>{const At=useNamespace("tree-select");return watch(()=>xe.data,()=>{xe.filterable&&nextTick(()=>{var Lt,jt;(jt=Ue.value)==null||jt.filter((Lt=Fe.value)==null?void 0:Lt.states.inputValue)})},{flush:"post"}),{...pick(toRefs(xe),Object.keys(ElSelect.props)),...$e,"onUpdate:modelValue":Lt=>Ie(UPDATE_MODEL_EVENT,Lt),valueKey:qe,popperClass:computed(()=>{const Lt=[At.e("popper")];return xe.popperClass&&Lt.push(xe.popperClass),Lt.join(" ")}),filterMethod:(Lt="")=>{var jt;xe.filterMethod?xe.filterMethod(Lt):xe.remoteMethod?xe.remoteMethod(Lt):(jt=Ue.value)==null||jt.filter(Lt)}}},component=defineComponent({extends:ElOption,setup(xe,$e){const Ie=ElOption.setup(xe,$e);delete Ie.selectOptionClick;const Fe=getCurrentInstance().proxy;return nextTick(()=>{Ie.select.states.cachedOptions.get(Fe.value)||Ie.select.onOptionCreate(Fe)}),Ie},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(xe){return xe||xe===0}function isValidArray(xe){return Array.isArray(xe)&&xe.length}function toValidArray(xe){return Array.isArray(xe)?xe:isValidValue(xe)?[xe]:[]}function treeFind(xe,$e,Ie,Fe,Ue){for(let qe=0;qe{watch(()=>xe.modelValue,()=>{xe.showCheckbox&&nextTick(()=>{const vn=qe.value;vn&&!isEqual$1(vn.getCheckedKeys(),toValidArray(xe.modelValue))&&vn.setCheckedKeys(toValidArray(xe.modelValue))})},{immediate:!0,deep:!0});const Dt=computed(()=>({value:At.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...xe.props})),Lt=(vn,bn)=>{var _n;const wn=Dt.value[vn];return isFunction$5(wn)?wn(bn,(_n=qe.value)==null?void 0:_n.getNode(Lt("value",bn))):bn[wn]},jt=toValidArray(xe.modelValue).map(vn=>treeFind(xe.data||[],bn=>Lt("value",bn)===vn,bn=>Lt("children",bn),(bn,_n,wn,kn)=>kn&&Lt("value",kn))).filter(vn=>isValidValue(vn)),hn=computed(()=>{if(!xe.renderAfterExpand&&!xe.lazy)return[];const vn=[];return treeEach(xe.data.concat(xe.cacheData),bn=>{const _n=Lt("value",bn);vn.push({value:_n,currentLabel:Lt("label",bn),isDisabled:Lt("disabled",bn)})},bn=>Lt("children",bn)),vn});return{...pick(toRefs(xe),Object.keys(_Tree.props)),...$e,nodeKey:At,expandOnClickNode:computed(()=>!xe.checkStrictly&&xe.expandOnClickNode),defaultExpandedKeys:computed(()=>xe.defaultExpandedKeys?xe.defaultExpandedKeys.concat(jt):jt),renderContent:(vn,{node:bn,data:_n,store:wn})=>vn(component,{value:Lt("value",_n),label:Lt("label",_n),disabled:Lt("disabled",_n)},xe.renderContent?()=>xe.renderContent(vn,{node:bn,data:_n,store:wn}):Ie.default?()=>Ie.default({node:bn,data:_n,store:wn}):void 0),filterNodeMethod:(vn,bn,_n)=>xe.filterNodeMethod?xe.filterNodeMethod(vn,bn,_n):vn?new RegExp(escapeStringRegexp(vn),"i").test(Lt("label",bn)||""):!0,onNodeClick:(vn,bn,_n)=>{var wn,kn,Cn,Sn;if((wn=$e.onNodeClick)==null||wn.call($e,vn,bn,_n),!(xe.showCheckbox&&xe.checkOnClickNode)){if(!xe.showCheckbox&&(xe.checkStrictly||bn.isLeaf)){if(!Lt("disabled",vn)){const xn=(kn=Ue.value)==null?void 0:kn.states.options.get(Lt("value",vn));(Cn=Ue.value)==null||Cn.handleOptionSelect(xn)}}else xe.expandOnClickNode&&_n.proxy.handleExpandIconClick();(Sn=Ue.value)==null||Sn.focus()}},onCheck:(vn,bn)=>{var _n;if(!xe.showCheckbox)return;const wn=Lt("value",vn),kn={};treeEach([qe.value.store.root],En=>kn[En.key]=En,En=>En.childNodes);const Cn=bn.checkedKeys,Sn=xe.multiple?toValidArray(xe.modelValue).filter(En=>!(En in kn)&&!Cn.includes(En)):[],xn=Sn.concat(Cn);if(xe.checkStrictly)Fe(UPDATE_MODEL_EVENT,xe.multiple?xn:xn.includes(wn)?wn:void 0);else if(xe.multiple)Fe(UPDATE_MODEL_EVENT,Sn.concat(qe.value.getCheckedKeys(!0)));else{const En=treeFind([vn],$n=>!isValidArray(Lt("children",$n))&&!Lt("disabled",$n),$n=>Lt("children",$n)),Tn=En?Lt("value",En):void 0,An=isValidValue(xe.modelValue)&&!!treeFind([vn],$n=>Lt("value",$n)===xe.modelValue,$n=>Lt("children",$n));Fe(UPDATE_MODEL_EVENT,Tn===xe.modelValue||An?void 0:Tn)}nextTick(()=>{var En;const Tn=toValidArray(xe.modelValue);qe.value.setCheckedKeys(Tn),(En=$e.onCheck)==null||En.call($e,vn,{checkedKeys:qe.value.getCheckedKeys(),checkedNodes:qe.value.getCheckedNodes(),halfCheckedKeys:qe.value.getHalfCheckedKeys(),halfCheckedNodes:qe.value.getHalfCheckedNodes()})}),(_n=Ue.value)==null||_n.focus()},cacheOptions:hn}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(xe){const $e=inject(selectKey);return watch(()=>xe.data,()=>{var Ie;xe.data.forEach(Ue=>{$e.states.cachedOptions.has(Ue.value)||$e.states.cachedOptions.set(Ue.value,Ue)});const Fe=((Ie=$e.selectRef)==null?void 0:Ie.querySelectorAll("input"))||[];Array.from(Fe).includes(document.activeElement)||$e.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$j=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...ElSelect.props,..._Tree.props,cacheData:{type:Array,default:()=>[]}},setup(xe,$e){const{slots:Ie,expose:Fe}=$e,Ue=ref(),qe=ref(),At=computed(()=>xe.nodeKey||xe.valueKey||"value"),Dt=useSelect(xe,$e,{select:Ue,tree:qe,key:At}),{cacheOptions:Lt,...jt}=useTree$1(xe,$e,{select:Ue,tree:qe,key:At}),hn=reactive({});return Fe(hn),onMounted(()=>{Object.assign(hn,{...pick(qe.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick(Ue.value,["focus","blur"])})}),()=>h$5(ElSelect,reactive({...Dt,ref:vn=>Ue.value=vn}),{...Ie,default:()=>[h$5(CacheOptions,{data:Lt.value}),h$5(_Tree,reactive({...jt,ref:vn=>qe.value=vn}))]})}});var TreeSelect=_export_sfc$1(_sfc_main$j,[["__file","tree-select.vue"]]);TreeSelect.install=xe=>{xe.component(TreeSelect.name,TreeSelect)};const _TreeSelect=TreeSelect,ElTreeSelect=_TreeSelect,ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(xe=>(xe.KEY="id",xe.LABEL="label",xe.CHILDREN="children",xe.DISABLED="disabled",xe))(TreeOptionsEnum||{}),SetOperationEnum=(xe=>(xe.ADD="add",xe.DELETE="delete",xe))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:definePropType([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0}}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(xe,$e,Ie)=>xe&&$e&&Ie,[NODE_EXPAND]:(xe,$e)=>xe&&$e,[NODE_COLLAPSE]:(xe,$e)=>xe&&$e,[CURRENT_CHANGE]:(xe,$e)=>xe&&$e,[NODE_CHECK]:(xe,$e)=>xe&&$e,[NODE_CHECK_CHANGE]:(xe,$e)=>xe&&typeof $e=="boolean",[NODE_CONTEXTMENU]:(xe,$e,Ie)=>xe&&$e&&Ie},treeNodeEmits={click:(xe,$e)=>!!(xe&&$e),toggle:xe=>!!xe,check:(xe,$e)=>xe&&typeof $e=="boolean"};function useCheck(xe,$e){const Ie=ref(new Set),Fe=ref(new Set),{emit:Ue}=getCurrentInstance();watch([()=>$e.value,()=>xe.defaultCheckedKeys],()=>nextTick(()=>{xn(xe.defaultCheckedKeys)}),{immediate:!0});const qe=()=>{if(!$e.value||!xe.showCheckbox||xe.checkStrictly)return;const{levelTreeNodeMap:En,maxLevel:Tn}=$e.value,An=Ie.value,$n=new Set;for(let Pn=Tn-1;Pn>=1;--Pn){const Nn=En.get(Pn);Nn&&Nn.forEach(Mn=>{const In=Mn.children;if(In){let On=!0,Rn=!1;for(const Bn of In){const Vn=Bn.key;if(An.has(Vn))Rn=!0;else if($n.has(Vn)){On=!1,Rn=!0;break}else On=!1}On?An.add(Mn.key):Rn?($n.add(Mn.key),An.delete(Mn.key)):(An.delete(Mn.key),$n.delete(Mn.key))}})}Fe.value=$n},At=En=>Ie.value.has(En.key),Dt=En=>Fe.value.has(En.key),Lt=(En,Tn,An=!0)=>{const $n=Ie.value,Pn=(Nn,Mn)=>{$n[Mn?SetOperationEnum.ADD:SetOperationEnum.DELETE](Nn.key);const In=Nn.children;!xe.checkStrictly&&In&&In.forEach(On=>{On.disabled||Pn(On,Mn)})};Pn(En,Tn),qe(),An&&jt(En,Tn)},jt=(En,Tn)=>{const{checkedNodes:An,checkedKeys:$n}=wn(),{halfCheckedNodes:Pn,halfCheckedKeys:Nn}=kn();Ue(NODE_CHECK,En.data,{checkedKeys:$n,checkedNodes:An,halfCheckedKeys:Nn,halfCheckedNodes:Pn}),Ue(NODE_CHECK_CHANGE,En.data,Tn)};function hn(En=!1){return wn(En).checkedKeys}function vn(En=!1){return wn(En).checkedNodes}function bn(){return kn().halfCheckedKeys}function _n(){return kn().halfCheckedNodes}function wn(En=!1){const Tn=[],An=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:$n}=$e.value;Ie.value.forEach(Pn=>{const Nn=$n.get(Pn);Nn&&(!En||En&&Nn.isLeaf)&&(An.push(Pn),Tn.push(Nn.data))})}return{checkedKeys:An,checkedNodes:Tn}}function kn(){const En=[],Tn=[];if($e!=null&&$e.value&&xe.showCheckbox){const{treeNodeMap:An}=$e.value;Fe.value.forEach($n=>{const Pn=An.get($n);Pn&&(Tn.push($n),En.push(Pn.data))})}return{halfCheckedNodes:En,halfCheckedKeys:Tn}}function Cn(En){Ie.value.clear(),Fe.value.clear(),nextTick(()=>{xn(En)})}function Sn(En,Tn){if($e!=null&&$e.value&&xe.showCheckbox){const An=$e.value.treeNodeMap.get(En);An&&Lt(An,Tn,!1)}}function xn(En){if($e!=null&&$e.value){const{treeNodeMap:Tn}=$e.value;if(xe.showCheckbox&&Tn&&En)for(const An of En){const $n=Tn.get(An);$n&&!At($n)&&Lt($n,!0,!1)}}}return{updateCheckedKeys:qe,toggleCheckbox:Lt,isChecked:At,isIndeterminate:Dt,getCheckedKeys:hn,getCheckedNodes:vn,getHalfCheckedKeys:bn,getHalfCheckedNodes:_n,setChecked:Sn,setCheckedKeys:Cn}}function useFilter(xe,$e){const Ie=ref(new Set([])),Fe=ref(new Set([])),Ue=computed(()=>isFunction$5(xe.filterMethod));function qe(Dt){var Lt;if(!Ue.value)return;const jt=new Set,hn=Fe.value,vn=Ie.value,bn=[],_n=((Lt=$e.value)==null?void 0:Lt.treeNodes)||[],wn=xe.filterMethod;vn.clear();function kn(Cn){Cn.forEach(Sn=>{bn.push(Sn),wn!=null&&wn(Dt,Sn.data)?bn.forEach(En=>{jt.add(En.key)}):Sn.isLeaf&&vn.add(Sn.key);const xn=Sn.children;if(xn&&kn(xn),!Sn.isLeaf){if(!jt.has(Sn.key))vn.add(Sn.key);else if(xn){let En=!0;for(const Tn of xn)if(!vn.has(Tn.key)){En=!1;break}En?hn.add(Sn.key):hn.delete(Sn.key)}}bn.pop()})}return kn(_n),jt}function At(Dt){return Fe.value.has(Dt.key)}return{hiddenExpandIconKeySet:Fe,hiddenNodeKeySet:Ie,doFilter:qe,isForceHiddenExpandIcon:At}}function useTree(xe,$e){const Ie=ref(new Set(xe.defaultExpandedKeys)),Fe=ref(),Ue=shallowRef();watch(()=>xe.currentNodeKey,Yn=>{Fe.value=Yn},{immediate:!0}),watch(()=>xe.data,Yn=>{Jn(Yn)},{immediate:!0});const{isIndeterminate:qe,isChecked:At,toggleCheckbox:Dt,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n}=useCheck(xe,Ue),{doFilter:wn,hiddenNodeKeySet:kn,isForceHiddenExpandIcon:Cn}=useFilter(xe,Ue),Sn=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.value)||TreeOptionsEnum.KEY}),xn=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.children)||TreeOptionsEnum.CHILDREN}),En=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.disabled)||TreeOptionsEnum.DISABLED}),Tn=computed(()=>{var Yn;return((Yn=xe.props)==null?void 0:Yn.label)||TreeOptionsEnum.LABEL}),An=computed(()=>{const Yn=Ie.value,ar=kn.value,tr=[],or=Ue.value&&Ue.value.treeNodes||[];function sr(){const Kn=[];for(let Zn=or.length-1;Zn>=0;--Zn)Kn.push(or[Zn]);for(;Kn.length;){const Zn=Kn.pop();if(Zn&&(ar.has(Zn.key)||tr.push(Zn),Yn.has(Zn.key))){const nr=Zn.children;if(nr){const lr=nr.length;for(let ir=lr-1;ir>=0;--ir)Kn.push(nr[ir])}}}}return sr(),tr}),$n=computed(()=>An.value.length>0);function Pn(Yn){const ar=new Map,tr=new Map;let or=1;function sr(Zn,nr=1,lr=void 0){var ir;const kr=[];for(const Cr of Zn){const Er=In(Cr),dr={level:nr,key:Er,data:Cr};dr.label=Rn(Cr),dr.parent=lr;const br=Mn(Cr);dr.disabled=On(Cr),dr.isLeaf=!br||br.length===0,br&&br.length&&(dr.children=sr(br,nr+1,dr)),kr.push(dr),ar.set(Er,dr),tr.has(nr)||tr.set(nr,[]),(ir=tr.get(nr))==null||ir.push(dr)}return nr>or&&(or=nr),kr}const Kn=sr(Yn);return{treeNodeMap:ar,levelTreeNodeMap:tr,maxLevel:or,treeNodes:Kn}}function Nn(Yn){const ar=wn(Yn);ar&&(Ie.value=ar)}function Mn(Yn){return Yn[xn.value]}function In(Yn){return Yn?Yn[Sn.value]:""}function On(Yn){return Yn[En.value]}function Rn(Yn){return Yn[Tn.value]}function Bn(Yn){Ie.value.has(Yn.key)?zn(Yn):Fn(Yn)}function Vn(Yn){Ie.value=new Set(Yn)}function Ln(Yn,ar){$e(NODE_CLICK,Yn.data,Yn,ar),Dn(Yn),xe.expandOnClickNode&&Bn(Yn),xe.showCheckbox&&xe.checkOnClickNode&&!Yn.disabled&&Dt(Yn,!At(Yn),!0)}function Dn(Yn){Wn(Yn)||(Fe.value=Yn.key,$e(CURRENT_CHANGE,Yn.data,Yn))}function Hn(Yn,ar){Dt(Yn,ar)}function Fn(Yn){const ar=Ie.value;if(Ue.value&&xe.accordion){const{treeNodeMap:tr}=Ue.value;ar.forEach(or=>{const sr=tr.get(or);Yn&&Yn.level===(sr==null?void 0:sr.level)&&ar.delete(or)})}ar.add(Yn.key),$e(NODE_EXPAND,Yn.data,Yn)}function zn(Yn){Ie.value.delete(Yn.key),$e(NODE_COLLAPSE,Yn.data,Yn)}function jn(Yn){return Ie.value.has(Yn.key)}function Gn(Yn){return!!Yn.disabled}function Wn(Yn){const ar=Fe.value;return ar!==void 0&&ar===Yn.key}function Xn(){var Yn,ar;if(Fe.value)return(ar=(Yn=Ue.value)==null?void 0:Yn.treeNodeMap.get(Fe.value))==null?void 0:ar.data}function er(){return Fe.value}function rr(Yn){Fe.value=Yn}function Jn(Yn){nextTick(()=>Ue.value=Pn(Yn))}function qn(Yn){var ar;const tr=isObject$8(Yn)?In(Yn):Yn;return(ar=Ue.value)==null?void 0:ar.treeNodeMap.get(tr)}return{tree:Ue,flattenTree:An,isNotEmpty:$n,getKey:In,getChildren:Mn,toggleExpand:Bn,toggleCheckbox:Dt,isExpanded:jn,isChecked:At,isIndeterminate:qe,isDisabled:Gn,isCurrent:Wn,isForceHiddenExpandIcon:Cn,handleNodeClick:Ln,handleNodeCheck:Hn,getCurrentNode:Xn,getCurrentKey:er,setCurrentKey:rr,getCheckedKeys:Lt,getCheckedNodes:jt,getHalfCheckedKeys:hn,getHalfCheckedNodes:vn,setChecked:bn,setCheckedKeys:_n,filter:Nn,setData:Jn,getNode:qn,expandNode:Fn,collapseNode:zn,setExpandedKeys:Vn}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(xe){const $e=inject(ROOT_TREE_INJECTION_KEY),Ie=useNamespace("tree");return()=>{const Fe=xe.node,{data:Ue}=Fe;return $e!=null&&$e.ctx.slots.default?$e.ctx.slots.default({node:Fe,data:Ue}):h$5("span",{class:Ie.be("node","label")},[Fe==null?void 0:Fe.label])}}});const _hoisted_1$b=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],__default__$f=defineComponent({name:"ElTreeNode"}),_sfc_main$i=defineComponent({...__default__$f,props:treeNodeProps,emits:treeNodeEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=inject(ROOT_TREE_INJECTION_KEY),Ue=useNamespace("tree"),qe=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.indent)!=null?vn:16}),At=computed(()=>{var vn;return(vn=Fe==null?void 0:Fe.props.icon)!=null?vn:caret_right_default}),Dt=vn=>{$e("click",Ie.node,vn)},Lt=()=>{$e("toggle",Ie.node)},jt=vn=>{$e("check",Ie.node,vn)},hn=vn=>{var bn,_n,wn,kn;(wn=(_n=(bn=Fe==null?void 0:Fe.instance)==null?void 0:bn.vnode)==null?void 0:_n.props)!=null&&wn.onNodeContextmenu&&(vn.stopPropagation(),vn.preventDefault()),Fe==null||Fe.ctx.emit(NODE_CONTEXTMENU,vn,(kn=Ie.node)==null?void 0:kn.data,Ie.node)};return(vn,bn)=>{var _n,wn,kn;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref(Ue).b("node"),unref(Ue).is("expanded",vn.expanded),unref(Ue).is("current",vn.current),unref(Ue).is("focusable",!vn.disabled),unref(Ue).is("checked",!vn.disabled&&vn.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":vn.expanded,"aria-disabled":vn.disabled,"aria-checked":vn.checked,"data-key":(_n=vn.node)==null?void 0:_n.key,onClick:withModifiers(Dt,["stop"]),onContextmenu:hn},[createBaseVNode("div",{class:normalizeClass(unref(Ue).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(vn.node.level-1)*unref(qe)}px`,height:vn.itemSize+"px"})},[unref(At)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Ue).is("leaf",!!((wn=vn.node)!=null&&wn.isLeaf)),unref(Ue).is("hidden",vn.hiddenExpandIcon),{expanded:!((kn=vn.node)!=null&&kn.isLeaf)&&vn.expanded},unref(Ue).be("node","expand-icon")]),onClick:withModifiers(Lt,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(At))))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),vn.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":vn.checked,indeterminate:vn.indeterminate,disabled:vn.disabled,onChange:jt,onClick:bn[0]||(bn[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElNodeContent),{node:vn.node},null,8,["node"])],6)],42,_hoisted_1$b)}}});var ElTreeNode=_export_sfc$1(_sfc_main$i,[["__file","tree-node.vue"]]);const __default__$e=defineComponent({name:"ElTreeV2"}),_sfc_main$h=defineComponent({...__default__$e,props:treeProps,emits:treeEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=useSlots(),qe=computed(()=>Fe.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:Ie,slots:Ue},props:Fe,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:At}=useLocale(),Dt=useNamespace("tree"),{flattenTree:Lt,isNotEmpty:jt,toggleExpand:hn,isExpanded:vn,isIndeterminate:bn,isChecked:_n,isDisabled:wn,isCurrent:kn,isForceHiddenExpandIcon:Cn,handleNodeClick:Sn,handleNodeCheck:xn,toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}=useTree(Fe,Ie);return $e({toggleCheckbox:En,getCurrentNode:Tn,getCurrentKey:An,setCurrentKey:$n,getCheckedKeys:Pn,getCheckedNodes:Nn,getHalfCheckedKeys:Mn,getHalfCheckedNodes:In,setChecked:On,setCheckedKeys:Rn,filter:Bn,setData:Vn,getNode:Ln,expandNode:Dn,collapseNode:Hn,setExpandedKeys:Fn}),(zn,jn)=>{var Gn;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(Dt).b(),{[unref(Dt).m("highlight-current")]:zn.highlightCurrent}]),role:"tree"},[unref(jt)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,"class-name":unref(Dt).b("virtual-list"),data:unref(Lt),total:unref(Lt).length,height:zn.height,"item-size":unref(qe),"perf-mode":zn.perfMode},{default:withCtx(({data:Wn,index:Xn,style:er})=>[(openBlock(),createBlock(ElTreeNode,{key:Wn[Xn].key,style:normalizeStyle$1(er),node:Wn[Xn],expanded:unref(vn)(Wn[Xn]),"show-checkbox":zn.showCheckbox,checked:unref(_n)(Wn[Xn]),indeterminate:unref(bn)(Wn[Xn]),"item-size":unref(qe),disabled:unref(wn)(Wn[Xn]),current:unref(kn)(Wn[Xn]),"hidden-expand-icon":unref(Cn)(Wn[Xn]),onClick:unref(Sn),onToggle:unref(hn),onCheck:unref(xn)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Dt).e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(unref(Dt).e("empty-text"))},toDisplayString((Gn=zn.emptyText)!=null?Gn:unref(At)("el.tree.emptyText")),3)],2))],2)}}});var TreeV2=_export_sfc$1(_sfc_main$h,[["__file","tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor($e,Ie,Fe,Ue){super($e),this.name="UploadAjaxError",this.status=Ie,this.method=Fe,this.url=Ue}}function getError(xe,$e,Ie){let Fe;return Ie.response?Fe=`${Ie.response.error||Ie.response}`:Ie.responseText?Fe=`${Ie.responseText}`:Fe=`fail to ${$e.method} ${xe} ${Ie.status}`,new UploadAjaxError(Fe,Ie.status,$e.method,xe)}function getBody(xe){const $e=xe.responseText||xe.response;if(!$e)return $e;try{return JSON.parse($e)}catch{return $e}}const ajaxUpload=xe=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const $e=new XMLHttpRequest,Ie=xe.action;$e.upload&&$e.upload.addEventListener("progress",qe=>{const At=qe;At.percent=qe.total>0?qe.loaded/qe.total*100:0,xe.onProgress(At)});const Fe=new FormData;if(xe.data)for(const[qe,At]of Object.entries(xe.data))isArray$6(At)&&At.length?Fe.append(qe,...At):Fe.append(qe,At);Fe.append(xe.filename,xe.file,xe.file.name),$e.addEventListener("error",()=>{xe.onError(getError(Ie,xe,$e))}),$e.addEventListener("load",()=>{if($e.status<200||$e.status>=300)return xe.onError(getError(Ie,xe,$e));xe.onSuccess(getBody($e))}),$e.open(xe.method,Ie,!0),xe.withCredentials&&"withCredentials"in $e&&($e.withCredentials=!0);const Ue=xe.headers||{};if(Ue instanceof Headers)Ue.forEach((qe,At)=>$e.setRequestHeader(At,qe));else for(const[qe,At]of Object.entries(Ue))isNil(At)||$e.setRequestHeader(qe,String(At));return $e.send(Fe),$e},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:Boolean,limit:Number}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP},crossorigin:{type:definePropType(String)}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:!1},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:xe=>!!xe},_hoisted_1$a=["onKeydown"],_hoisted_2$7=["src","crossorigin"],_hoisted_3$3=["onClick"],_hoisted_4$2=["title"],_hoisted_5$1=["onClick"],_hoisted_6$1=["onClick"],__default__$d=defineComponent({name:"ElUploadList"}),_sfc_main$g=defineComponent({...__default__$d,props:uploadListProps,emits:uploadListEmits,setup(xe,{emit:$e}){const Ie=xe,{t:Fe}=useLocale(),Ue=useNamespace("upload"),qe=useNamespace("icon"),At=useNamespace("list"),Dt=useFormDisabled(),Lt=ref(!1),jt=computed(()=>[Ue.b("list"),Ue.bm("list",Ie.listType),Ue.is("disabled",Ie.disabled)]),hn=vn=>{$e("remove",vn)};return(vn,bn)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(unref(jt)),name:unref(At).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(vn.files,_n=>(openBlock(),createElementBlock("li",{key:_n.uid||_n.name,class:normalizeClass([unref(Ue).be("list","item"),unref(Ue).is(_n.status),{focusing:Lt.value}]),tabindex:"0",onKeydown:withKeys(wn=>!unref(Dt)&&hn(_n),["delete"]),onFocus:bn[0]||(bn[0]=wn=>Lt.value=!0),onBlur:bn[1]||(bn[1]=wn=>Lt.value=!1),onClick:bn[2]||(bn[2]=wn=>Lt.value=!1)},[renderSlot(vn.$slots,"default",{file:_n},()=>[vn.listType==="picture"||_n.status!=="uploading"&&vn.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref(Ue).be("list","item-thumbnail")),src:_n.url,crossorigin:vn.crossorigin,alt:""},null,10,_hoisted_2$7)):createCommentVNode("v-if",!0),_n.status==="uploading"||vn.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(Ue).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref(Ue).be("list","item-name")),onClick:withModifiers(wn=>vn.handlePreview(_n),["prevent"])},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("document"))},{default:withCtx(()=>[createVNode$1(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-file-name")),title:_n.name},toDisplayString(_n.name),11,_hoisted_4$2)],10,_hoisted_3$3),_n.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:vn.listType==="picture-card"?"circle":"line","stroke-width":vn.listType==="picture-card"?6:2,percentage:Number(_n.percentage),style:normalizeStyle$1(vn.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref(Ue).be("list","item-status-label"))},[vn.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("circle-check")])},{default:withCtx(()=>[createVNode$1(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(vn.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(qe).m("upload-success"),unref(qe).m("check")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(qe).m("close")),onClick:wn=>hn(_n)},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:2},1032,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(qe).m("close-tip"))},toDisplayString(unref(Fe)("el.upload.deleteTip")),3)),vn.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref(Ue).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref(Ue).be("list","item-preview")),onClick:wn=>vn.handlePreview(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("zoom-in"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5$1),unref(Dt)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(Ue).be("list","item-delete")),onClick:wn=>hn(_n)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(qe).m("delete"))},{default:withCtx(()=>[createVNode$1(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6$1))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$a))),128)),renderSlot(vn.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc$1(_sfc_main$g,[["__file","upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:!1}}),uploadDraggerEmits={file:xe=>isArray$6(xe)},_hoisted_1$9=["onDrop","onDragover"],COMPONENT_NAME="ElUploadDrag",__default__$c=defineComponent({name:COMPONENT_NAME}),_sfc_main$f=defineComponent({...__default__$c,props:uploadDraggerProps,emits:uploadDraggerEmits,setup(xe,{emit:$e}){inject(uploadContextKey)||throwError$1(COMPONENT_NAME,"usage: ");const Fe=useNamespace("upload"),Ue=ref(!1),qe=useFormDisabled(),At=Lt=>{if(qe.value)return;Ue.value=!1,Lt.stopPropagation();const jt=Array.from(Lt.dataTransfer.files);$e("file",jt)},Dt=()=>{qe.value||(Ue.value=!0)};return(Lt,jt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b("dragger"),unref(Fe).is("dragover",Ue.value)]),onDrop:withModifiers(At,["prevent"]),onDragover:withModifiers(Dt,["prevent"]),onDragleave:jt[0]||(jt[0]=withModifiers(hn=>Ue.value=!1,["prevent"]))},[renderSlot(Lt.$slots,"default")],42,_hoisted_1$9))}});var UploadDragger=_export_sfc$1(_sfc_main$f,[["__file","upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),_hoisted_1$8=["onKeydown"],_hoisted_2$6=["name","multiple","accept"],__default__$b=defineComponent({name:"ElUploadContent",inheritAttrs:!1}),_sfc_main$e=defineComponent({...__default__$b,props:uploadContentProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useNamespace("upload"),Ue=useFormDisabled(),qe=shallowRef({}),At=shallowRef(),Dt=kn=>{if(kn.length===0)return;const{autoUpload:Cn,limit:Sn,fileList:xn,multiple:En,onStart:Tn,onExceed:An}=Ie;if(Sn&&xn.length+kn.length>Sn){An(kn,xn);return}En||(kn=kn.slice(0,1));for(const $n of kn){const Pn=$n;Pn.uid=genFileId(),Tn(Pn),Cn&&Lt(Pn)}},Lt=async kn=>{if(At.value.value="",!Ie.beforeUpload)return hn(kn);let Cn,Sn={};try{const En=Ie.data,Tn=Ie.beforeUpload(kn);Sn=isPlainObject$4(Ie.data)?cloneDeep(Ie.data):Ie.data,Cn=await Tn,isPlainObject$4(Ie.data)&&isEqual$1(En,Sn)&&(Sn=cloneDeep(Ie.data))}catch{Cn=!1}if(Cn===!1){Ie.onRemove(kn);return}let xn=kn;Cn instanceof Blob&&(Cn instanceof File?xn=Cn:xn=new File([Cn],kn.name,{type:kn.type})),hn(Object.assign(xn,{uid:kn.uid}),Sn)},jt=async(kn,Cn)=>isFunction$5(kn)?kn(Cn):kn,hn=async(kn,Cn)=>{const{headers:Sn,data:xn,method:En,withCredentials:Tn,name:An,action:$n,onProgress:Pn,onSuccess:Nn,onError:Mn,httpRequest:In}=Ie;try{Cn=await jt(Cn??xn,kn)}catch{Ie.onRemove(kn);return}const{uid:On}=kn,Rn={headers:Sn||{},withCredentials:Tn,file:kn,data:Cn,method:En,filename:An,action:$n,onProgress:Vn=>{Pn(Vn,kn)},onSuccess:Vn=>{Nn(Vn,kn),delete qe.value[On]},onError:Vn=>{Mn(Vn,kn),delete qe.value[On]}},Bn=In(Rn);qe.value[On]=Bn,Bn instanceof Promise&&Bn.then(Rn.onSuccess,Rn.onError)},vn=kn=>{const Cn=kn.target.files;Cn&&Dt(Array.from(Cn))},bn=()=>{Ue.value||(At.value.value="",At.value.click())},_n=()=>{bn()};return $e({abort:kn=>{entriesOf(qe.value).filter(kn?([Sn])=>String(kn.uid)===Sn:()=>!0).forEach(([Sn,xn])=>{xn instanceof XMLHttpRequest&&xn.abort(),delete qe.value[Sn]})},upload:Lt}),(kn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Fe).b(),unref(Fe).m(kn.listType),unref(Fe).is("drag",kn.drag)]),tabindex:"0",onClick:bn,onKeydown:withKeys(withModifiers(_n,["self"]),["enter","space"])},[kn.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(Ue),onFile:Dt},{default:withCtx(()=>[renderSlot(kn.$slots,"default")]),_:3},8,["disabled"])):renderSlot(kn.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:At,class:normalizeClass(unref(Fe).e("input")),name:kn.name,multiple:kn.multiple,accept:kn.accept,type:"file",onChange:vn,onClick:Cn[0]||(Cn[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$6)],42,_hoisted_1$8))}});var UploadContent=_export_sfc$1(_sfc_main$e,[["__file","upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=xe=>{var $e;($e=xe.url)!=null&&$e.startsWith("blob:")&&URL.revokeObjectURL(xe.url)},useHandlers=(xe,$e)=>{const Ie=useVModel(xe,"fileList",void 0,{passive:!0}),Fe=bn=>Ie.value.find(_n=>_n.uid===bn.uid);function Ue(bn){var _n;(_n=$e.value)==null||_n.abort(bn)}function qe(bn=["ready","uploading","success","fail"]){Ie.value=Ie.value.filter(_n=>!bn.includes(_n.status))}const At=(bn,_n)=>{const wn=Fe(_n);wn&&(console.error(bn),wn.status="fail",Ie.value.splice(Ie.value.indexOf(wn),1),xe.onError(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},Dt=(bn,_n)=>{const wn=Fe(_n);wn&&(xe.onProgress(bn,wn,Ie.value),wn.status="uploading",wn.percentage=Math.round(bn.percent))},Lt=(bn,_n)=>{const wn=Fe(_n);wn&&(wn.status="success",wn.response=bn,xe.onSuccess(bn,wn,Ie.value),xe.onChange(wn,Ie.value))},jt=bn=>{isNil(bn.uid)&&(bn.uid=genFileId());const _n={name:bn.name,percentage:0,status:"ready",size:bn.size,raw:bn,uid:bn.uid};if(xe.listType==="picture-card"||xe.listType==="picture")try{_n.url=URL.createObjectURL(bn)}catch(wn){wn.message,xe.onError(wn,_n,Ie.value)}Ie.value=[...Ie.value,_n],xe.onChange(_n,Ie.value)},hn=async bn=>{const _n=bn instanceof File?Fe(bn):bn;_n||throwError$1(SCOPE$1,"file to be removed not found");const wn=kn=>{Ue(kn);const Cn=Ie.value;Cn.splice(Cn.indexOf(kn),1),xe.onRemove(kn,Cn),revokeFileObjectURL(kn)};xe.beforeRemove?await xe.beforeRemove(_n,Ie.value)!==!1&&wn(_n):wn(_n)};function vn(){Ie.value.filter(({status:bn})=>bn==="ready").forEach(({raw:bn})=>{var _n;return bn&&((_n=$e.value)==null?void 0:_n.upload(bn))})}return watch(()=>xe.listType,bn=>{bn!=="picture-card"&&bn!=="picture"||(Ie.value=Ie.value.map(_n=>{const{raw:wn,url:kn}=_n;if(!kn&&wn)try{_n.url=URL.createObjectURL(wn)}catch(Cn){xe.onError(Cn,_n,Ie.value)}return _n}))}),watch(Ie,bn=>{for(const _n of bn)_n.uid||(_n.uid=genFileId()),_n.status||(_n.status="success")},{immediate:!0,deep:!0}),{uploadFiles:Ie,abort:Ue,clearFiles:qe,handleError:At,handleProgress:Dt,handleStart:jt,handleSuccess:Lt,handleRemove:hn,submit:vn,revokeFileObjectURL}},__default__$a=defineComponent({name:"ElUpload"}),_sfc_main$d=defineComponent({...__default__$a,props:uploadProps,setup(xe,{expose:$e}){const Ie=xe,Fe=useFormDisabled(),Ue=shallowRef(),{abort:qe,submit:At,clearFiles:Dt,uploadFiles:Lt,handleStart:jt,handleError:hn,handleRemove:vn,handleSuccess:bn,handleProgress:_n,revokeFileObjectURL:wn}=useHandlers(Ie,Ue),kn=computed(()=>Ie.listType==="picture-card"),Cn=computed(()=>({...Ie,fileList:Lt.value,onStart:jt,onProgress:_n,onSuccess:bn,onError:hn,onRemove:vn}));return onBeforeUnmount(()=>{Lt.value.forEach(wn)}),provide(uploadContextKey,{accept:toRef(Ie,"accept")}),$e({abort:qe,submit:At,clearFiles:Dt,handleStart:jt,handleRemove:vn}),(Sn,xn)=>(openBlock(),createElementBlock("div",null,[unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({append:withCtx(()=>[createVNode$1(UploadContent,mergeProps({ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!unref(kn)||unref(kn)&&!Sn.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:Ue},unref(Cn)),{default:withCtx(()=>[Sn.$slots.trigger?renderSlot(Sn.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Sn.$slots.trigger&&Sn.$slots.default?renderSlot(Sn.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Sn.$slots.trigger?renderSlot(Sn.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Sn.$slots,"tip"),!unref(kn)&&Sn.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(Fe),"list-type":Sn.listType,files:unref(Lt),crossorigin:Sn.crossorigin,"handle-preview":Sn.onPreview,onRemove:unref(vn)},createSlots({_:2},[Sn.$slots.file?{name:"default",fn:withCtx(({file:En})=>[renderSlot(Sn.$slots,"file",{file:En})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc$1(_sfc_main$d,[["__file","upload.vue"]]);const ElUpload=withInstall(Upload),watermarkProps=buildProps({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:definePropType([String,Array]),default:"Element Plus"},font:{type:definePropType(Object)},gap:{type:definePropType(Array),default:()=>[100,100]},offset:{type:definePropType(Array)}});function toLowercaseSeparator(xe){return xe.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(xe){return Object.keys(xe).map($e=>`${toLowercaseSeparator($e)}: ${xe[$e]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(xe,$e)=>{let Ie=!1;return xe.removedNodes.length&&$e&&(Ie=Array.from(xe.removedNodes).includes($e)),xe.type==="attributes"&&xe.target===$e&&(Ie=!0),Ie},FontGap=3;function prepareCanvas(xe,$e,Ie=1){const Fe=document.createElement("canvas"),Ue=Fe.getContext("2d"),qe=xe*Ie,At=$e*Ie;return Fe.setAttribute("width",`${qe}px`),Fe.setAttribute("height",`${At}px`),Ue.save(),[Ue,Fe,qe,At]}function useClips(){function xe($e,Ie,Fe,Ue,qe,At,Dt,Lt){const[jt,hn,vn,bn]=prepareCanvas(Ue,qe,Fe);if($e instanceof HTMLImageElement)jt.drawImage($e,0,0,vn,bn);else{const{color:Gn,fontSize:Wn,fontStyle:Xn,fontWeight:er,fontFamily:rr,textAlign:Jn,textBaseline:qn}=At,Yn=Number(Wn)*Fe;jt.font=`${Xn} normal ${er} ${Yn}px/${qe}px ${rr}`,jt.fillStyle=Gn,jt.textAlign=Jn,jt.textBaseline=qn;const ar=Array.isArray($e)?$e:[$e];ar==null||ar.forEach((tr,or)=>{jt.fillText(tr??"",vn/2,or*(Yn+FontGap*Fe))})}const _n=Math.PI/180*Number(Ie),wn=Math.max(Ue,qe),[kn,Cn,Sn]=prepareCanvas(wn,wn,Fe);kn.translate(Sn/2,Sn/2),kn.rotate(_n),vn>0&&bn>0&&kn.drawImage(hn,-vn/2,-bn/2);function xn(Gn,Wn){const Xn=Gn*Math.cos(_n)-Wn*Math.sin(_n),er=Gn*Math.sin(_n)+Wn*Math.cos(_n);return[Xn,er]}let En=0,Tn=0,An=0,$n=0;const Pn=vn/2,Nn=bn/2;[[0-Pn,0-Nn],[0+Pn,0-Nn],[0+Pn,0+Nn],[0-Pn,0+Nn]].forEach(([Gn,Wn])=>{const[Xn,er]=xn(Gn,Wn);En=Math.min(En,Xn),Tn=Math.max(Tn,Xn),An=Math.min(An,er),$n=Math.max($n,er)});const In=En+Sn/2,On=An+Sn/2,Rn=Tn-En,Bn=$n-An,Vn=Dt*Fe,Ln=Lt*Fe,Dn=(Rn+Vn)*2,Hn=Bn+Ln,[Fn,zn]=prepareCanvas(Dn,Hn);function jn(Gn=0,Wn=0){Fn.drawImage(Cn,In,On,Rn,Bn,Gn,Wn,Rn,Bn)}return jn(),jn(Rn+Vn,-Bn/2-Ln/2),jn(Rn+Vn,+Bn/2+Ln/2),[zn.toDataURL(),Dn/Fe,Hn/Fe]}return xe}const __default__$9=defineComponent({name:"ElWatermark"}),_sfc_main$c=defineComponent({...__default__$9,props:watermarkProps,setup(xe){const $e=xe,Ie={position:"relative"},Fe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.color)!=null?On:"rgba(0,0,0,.15)"}),Ue=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontSize)!=null?On:16}),qe=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontWeight)!=null?On:"normal"}),At=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontStyle)!=null?On:"normal"}),Dt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.fontFamily)!=null?On:"sans-serif"}),Lt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textAlign)!=null?On:"center"}),jt=computed(()=>{var In,On;return(On=(In=$e.font)==null?void 0:In.textBaseline)!=null?On:"hanging"}),hn=computed(()=>$e.gap[0]),vn=computed(()=>$e.gap[1]),bn=computed(()=>hn.value/2),_n=computed(()=>vn.value/2),wn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[0])!=null?On:bn.value}),kn=computed(()=>{var In,On;return(On=(In=$e.offset)==null?void 0:In[1])!=null?On:_n.value}),Cn=()=>{const In={zIndex:$e.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let On=wn.value-bn.value,Rn=kn.value-_n.value;return On>0&&(In.left=`${On}px`,In.width=`calc(100% - ${On}px)`,On=0),Rn>0&&(In.top=`${Rn}px`,In.height=`calc(100% - ${Rn}px)`,Rn=0),In.backgroundPosition=`${On}px ${Rn}px`,In},Sn=shallowRef(null),xn=shallowRef(),En=ref(!1),Tn=()=>{xn.value&&(xn.value.remove(),xn.value=void 0)},An=(In,On)=>{var Rn;Sn.value&&xn.value&&(En.value=!0,xn.value.setAttribute("style",getStyleStr({...Cn(),backgroundImage:`url('${In}')`,backgroundSize:`${Math.floor(On)}px`})),(Rn=Sn.value)==null||Rn.append(xn.value),setTimeout(()=>{En.value=!1}))},$n=In=>{let On=120,Rn=64;const Bn=$e.image,Vn=$e.content,Ln=$e.width,Dn=$e.height;if(!Bn&&In.measureText){In.font=`${Number(Ue.value)}px ${Dt.value}`;const Hn=Array.isArray(Vn)?Vn:[Vn],Fn=Hn.map(zn=>{const jn=In.measureText(zn);return[jn.width,jn.fontBoundingBoxAscent!==void 0?jn.fontBoundingBoxAscent+jn.fontBoundingBoxDescent:jn.actualBoundingBoxAscent+jn.actualBoundingBoxDescent]});On=Math.ceil(Math.max(...Fn.map(zn=>zn[0]))),Rn=Math.ceil(Math.max(...Fn.map(zn=>zn[1])))*Hn.length+(Hn.length-1)*FontGap}return[Ln??On,Dn??Rn]},Pn=useClips(),Nn=()=>{const On=document.createElement("canvas").getContext("2d"),Rn=$e.image,Bn=$e.content,Vn=$e.rotate;if(On){xn.value||(xn.value=document.createElement("div"));const Ln=getPixelRatio(),[Dn,Hn]=$n(On),Fn=zn=>{const[jn,Gn]=Pn(zn||"",Vn,Ln,Dn,Hn,{color:Fe.value,fontSize:Ue.value,fontStyle:At.value,fontWeight:qe.value,fontFamily:Dt.value,textAlign:Lt.value,textBaseline:jt.value},hn.value,vn.value);An(jn,Gn)};if(Rn){const zn=new Image;zn.onload=()=>{Fn(zn)},zn.onerror=()=>{Fn(Bn)},zn.crossOrigin="anonymous",zn.referrerPolicy="no-referrer",zn.src=Rn}else Fn(Bn)}};return onMounted(()=>{Nn()}),watch(()=>$e,()=>{Nn()},{deep:!0,flush:"post"}),onBeforeUnmount(()=>{Tn()}),useMutationObserver(Sn,In=>{En.value||In.forEach(On=>{reRendering(On,xn.value)&&(Tn(),Nn())})},{attributes:!0,subtree:!0,childList:!0}),(In,On)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:Sn,style:normalizeStyle$1([Ie])},[renderSlot(In.$slots,"default")],4))}});var Watermark=_export_sfc$1(_sfc_main$c,[["__file","watermark.vue"]]);const ElWatermark=withInstall(Watermark),maskProps=buildProps({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:definePropType(Object)},targetAreaClickable:{type:Boolean,default:!0}}),useTarget=(xe,$e,Ie,Fe,Ue)=>{const qe=ref(null),At=()=>{let vn;return isString$4(xe.value)?vn=document.querySelector(xe.value):isFunction$5(xe.value)?vn=xe.value():vn=xe.value,vn},Dt=()=>{const vn=At();if(!vn||!$e.value){qe.value=null;return}!isInViewPort(vn)&&$e.value&&vn.scrollIntoView(Ue.value);const{left:bn,top:_n,width:wn,height:kn}=vn.getBoundingClientRect();qe.value={left:bn,top:_n,width:wn,height:kn,radius:0}};onMounted(()=>{watch([$e,xe],()=>{Dt()},{immediate:!0}),window.addEventListener("resize",Dt)}),onBeforeUnmount(()=>{window.removeEventListener("resize",Dt)});const Lt=vn=>{var bn;return(bn=isArray$6(Ie.value.offset)?Ie.value.offset[vn]:Ie.value.offset)!=null?bn:6},jt=computed(()=>{var vn;if(!qe.value)return qe.value;const bn=Lt(0),_n=Lt(1),wn=((vn=Ie.value)==null?void 0:vn.radius)||2;return{left:qe.value.left-bn,top:qe.value.top-_n,width:qe.value.width+bn*2,height:qe.value.height+_n*2,radius:wn}}),hn=computed(()=>{const vn=At();return!Fe.value||!vn||!window.DOMRect?vn||void 0:{getBoundingClientRect(){var bn,_n,wn,kn;return window.DOMRect.fromRect({width:((bn=jt.value)==null?void 0:bn.width)||0,height:((_n=jt.value)==null?void 0:_n.height)||0,x:((wn=jt.value)==null?void 0:wn.left)||0,y:((kn=jt.value)==null?void 0:kn.top)||0})}}});return{mergedPosInfo:jt,triggerTarget:hn}},tourKey=Symbol("ElTour");function isInViewPort(xe){const $e=window.innerWidth||document.documentElement.clientWidth,Ie=window.innerHeight||document.documentElement.clientHeight,{top:Fe,right:Ue,bottom:qe,left:At}=xe.getBoundingClientRect();return Fe>=0&&At>=0&&Ue<=$e&&qe<=Ie}const useFloating=(xe,$e,Ie,Fe,Ue,qe,At,Dt)=>{const Lt=ref(),jt=ref(),hn=ref({}),vn={x:Lt,y:jt,placement:Fe,strategy:Ue,middlewareData:hn},bn=computed(()=>{const Sn=[offset(unref(qe)),flip(),shift(),overflowMiddleware()];return unref(Dt)&&unref(Ie)&&Sn.push(arrow({element:unref(Ie)})),Sn}),_n=async()=>{if(!isClient$1)return;const Sn=unref(xe),xn=unref($e);if(!Sn||!xn)return;const En=await computePosition(Sn,xn,{placement:unref(Fe),strategy:unref(Ue),middleware:unref(bn)});keysOf(vn).forEach(Tn=>{vn[Tn].value=En[Tn]})},wn=computed(()=>{if(!unref(xe))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:unref(At)};const{overflow:Sn}=unref(hn);return{position:unref(Ue),zIndex:unref(At),top:unref(jt)!=null?`${unref(jt)}px`:"",left:unref(Lt)!=null?`${unref(Lt)}px`:"",maxWidth:Sn!=null&&Sn.maxWidth?`${Sn==null?void 0:Sn.maxWidth}px`:""}}),kn=computed(()=>{if(!unref(Dt))return{};const{arrow:Sn}=unref(hn);return{left:(Sn==null?void 0:Sn.x)!=null?`${Sn==null?void 0:Sn.x}px`:"",top:(Sn==null?void 0:Sn.y)!=null?`${Sn==null?void 0:Sn.y}px`:""}});let Cn;return onMounted(()=>{const Sn=unref(xe),xn=unref($e);Sn&&xn&&(Cn=autoUpdate(Sn,xn,_n)),watchEffect(()=>{_n()})}),onBeforeUnmount(()=>{Cn&&Cn()}),{update:_n,contentStyle:wn,arrowStyle:kn}},overflowMiddleware=()=>({name:"overflow",async fn(xe){const $e=await detectOverflow(xe);let Ie=0;return $e.left>0&&(Ie=$e.left),$e.right>0&&(Ie=$e.right),{data:{maxWidth:xe.rects.floating.width-Ie}}}}),_hoisted_1$7={style:{width:"100%",height:"100%"}},_hoisted_2$5=["d"],__default__$8=defineComponent({name:"ElTourMask",inheritAttrs:!1}),_sfc_main$b=defineComponent({...__default__$8,props:maskProps,setup(xe){const $e=xe,{ns:Ie}=inject(tourKey),Fe=computed(()=>{var Dt,Lt;return(Lt=(Dt=$e.pos)==null?void 0:Dt.radius)!=null?Lt:2}),Ue=computed(()=>{const Dt=Fe.value,Lt=`a${Dt},${Dt} 0 0 1`;return{topRight:`${Lt} ${Dt},${Dt}`,bottomRight:`${Lt} ${-Dt},${Dt}`,bottomLeft:`${Lt} ${-Dt},${-Dt}`,topLeft:`${Lt} ${Dt},${-Dt}`}}),qe=computed(()=>{const Dt=window.innerWidth,Lt=window.innerHeight,jt=Ue.value,hn=`M${Dt},0 L0,0 L0,${Lt} L${Dt},${Lt} L${Dt},0 Z`,vn=Fe.value;return $e.pos?`${hn} M${$e.pos.left+vn},${$e.pos.top} h${$e.pos.width-vn*2} ${jt.topRight} v${$e.pos.height-vn*2} ${jt.bottomRight} h${-$e.pos.width+vn*2} ${jt.bottomLeft} v${-$e.pos.height+vn*2} ${jt.topLeft} z`:hn}),At=computed(()=>({fill:$e.fill,pointerEvents:"auto",cursor:"auto"}));return useLockscreen(toRef($e,"visible"),{ns:Ie}),(Dt,Lt)=>Dt.visible?(openBlock(),createElementBlock("div",mergeProps({key:0,class:unref(Ie).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:Dt.zIndex,pointerEvents:Dt.pos&&Dt.targetAreaClickable?"none":"auto"}},Dt.$attrs),[(openBlock(),createElementBlock("svg",_hoisted_1$7,[createBaseVNode("path",{class:normalizeClass(unref(Ie).e("hollow")),style:normalizeStyle$1(unref(At)),d:unref(qe)},null,14,_hoisted_2$5)]))],16)):createCommentVNode("v-if",!0)}});var ElTourMask=_export_sfc$1(_sfc_main$b,[["__file","mask.vue"]]);const tourStrategies=["absolute","fixed"],tourPlacements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tourContentProps=buildProps({placement:{type:definePropType(String),values:tourPlacements,default:"bottom"},reference:{type:definePropType(Object),default:null},strategy:{type:definePropType(String),values:tourStrategies,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),tourContentEmits={close:()=>!0},_hoisted_1$6=["data-side"],__default__$7=defineComponent({name:"ElTourContent"}),_sfc_main$a=defineComponent({...__default__$7,props:tourContentProps,emits:tourContentEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=ref(Ie.placement),Ue=ref(Ie.strategy),qe=ref(null),At=ref(null);watch(()=>Ie.placement,()=>{Fe.value=Ie.placement});const{contentStyle:Dt,arrowStyle:Lt}=useFloating(toRef(Ie,"reference"),qe,At,Fe,Ue,toRef(Ie,"offset"),toRef(Ie,"zIndex"),toRef(Ie,"showArrow")),jt=computed(()=>Fe.value.split("-")[0]),{ns:hn}=inject(tourKey),vn=()=>{$e("close")},bn=_n=>{_n.detail.focusReason==="pointer"&&_n.preventDefault()};return(_n,wn)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:qe,style:normalizeStyle$1(unref(Dt)),class:normalizeClass(unref(hn).e("content")),"data-side":unref(jt),tabindex:"-1"},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":qe.value||void 0,onReleaseRequested:vn,onFocusoutPrevented:bn},{default:withCtx(()=>[renderSlot(_n.$slots,"default")]),_:3},8,["focus-trap-el"]),_n.showArrow?(openBlock(),createElementBlock("span",{key:0,ref_key:"arrowRef",ref:At,style:normalizeStyle$1(unref(Lt)),class:normalizeClass(unref(hn).e("arrow"))},null,6)):createCommentVNode("v-if",!0)],14,_hoisted_1$6))}});var ElTourContent=_export_sfc$1(_sfc_main$a,[["__file","content.vue"]]),ElTourSteps=defineComponent({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(xe,{slots:$e,emit:Ie}){let Fe=0;return()=>{var Ue,qe;const At=(Ue=$e.default)==null?void 0:Ue.call($e),Dt=[];let Lt=0;function jt(hn){isArray$6(hn)&&hn.forEach(vn=>{var bn;((bn=(vn==null?void 0:vn.type)||{})==null?void 0:bn.name)==="ElTourStep"&&(Dt.push(vn),Lt+=1)})}return At.length&&jt(flattedChildren((qe=At[0])==null?void 0:qe.children)),Fe!==Lt&&(Fe=Lt,Ie("update-total",Lt)),Dt.length?Dt[xe.current]:null}}});const tourProps=buildProps({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:iconPropType},placement:tourContentProps.placement,contentStyle:{type:definePropType([Object])},mask:{type:definePropType([Boolean,Object]),default:!0},gap:{type:definePropType(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:()=>({block:"center"})},type:{type:definePropType(String)},appendTo:{type:definePropType([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),tourEmits={[UPDATE_MODEL_EVENT]:xe=>isBoolean(xe),"update:current":xe=>isNumber$1(xe),close:xe=>isNumber$1(xe),finish:()=>!0,change:xe=>isNumber$1(xe)},__default__$6=defineComponent({name:"ElTour"}),_sfc_main$9=defineComponent({...__default__$6,props:tourProps,emits:tourEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("tour"),Ue=ref(0),qe=ref(),At=useVModel(Ie,"current",$e,{passive:!0}),Dt=computed(()=>{var Mn;return(Mn=qe.value)==null?void 0:Mn.target}),Lt=computed(()=>[Fe.b(),Cn.value==="primary"?Fe.m("primary"):""]),jt=computed(()=>{var Mn;return((Mn=qe.value)==null?void 0:Mn.placement)||Ie.placement}),hn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.contentStyle)!=null?In:Ie.contentStyle}),vn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.mask)!=null?In:Ie.mask}),bn=computed(()=>!!vn.value&&Ie.modelValue),_n=computed(()=>isBoolean(vn.value)?void 0:vn.value),wn=computed(()=>{var Mn,In;return!!Dt.value&&((In=(Mn=qe.value)==null?void 0:Mn.showArrow)!=null?In:Ie.showArrow)}),kn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.scrollIntoViewOptions)!=null?In:Ie.scrollIntoViewOptions}),Cn=computed(()=>{var Mn,In;return(In=(Mn=qe.value)==null?void 0:Mn.type)!=null?In:Ie.type}),{nextZIndex:Sn}=useZIndex(),xn=Sn(),En=computed(()=>{var Mn;return(Mn=Ie.zIndex)!=null?Mn:xn}),{mergedPosInfo:Tn,triggerTarget:An}=useTarget(Dt,toRef(Ie,"modelValue"),toRef(Ie,"gap"),vn,kn);watch(()=>Ie.modelValue,Mn=>{Mn||(At.value=0)});const $n=()=>{Ie.closeOnPressEscape&&($e("update:modelValue",!1),$e("close",At.value))},Pn=Mn=>{Ue.value=Mn},Nn=useSlots();return provide(tourKey,{currentStep:qe,current:At,total:Ue,showClose:toRef(Ie,"showClose"),closeIcon:toRef(Ie,"closeIcon"),mergedType:Cn,ns:Fe,slots:Nn,updateModelValue(Mn){$e("update:modelValue",Mn)},onClose(){$e("close",At.value)},onFinish(){$e("finish")},onChange(){$e("change",At.value)}}),(Mn,In)=>{var On,Rn;return openBlock(),createElementBlock(Fragment,null,[(openBlock(),createBlock(Teleport,{to:Mn.appendTo},[createBaseVNode("div",mergeProps({class:unref(Lt)},Mn.$attrs),[createVNode$1(ElTourMask,{visible:unref(bn),fill:(On=unref(_n))==null?void 0:On.color,style:normalizeStyle$1((Rn=unref(_n))==null?void 0:Rn.style),pos:unref(Tn),"z-index":unref(En),"target-area-clickable":Mn.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),Mn.modelValue?(openBlock(),createBlock(ElTourContent,{key:unref(At),reference:unref(An),placement:unref(jt),"show-arrow":unref(wn),"z-index":unref(En),style:normalizeStyle$1(unref(hn)),onClose:$n},{default:withCtx(()=>[createVNode$1(unref(ElTourSteps),{current:unref(At),onUpdateTotal:Pn},{default:withCtx(()=>[renderSlot(Mn.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):createCommentVNode("v-if",!0)],16)],8,["to"])),createCommentVNode(" just for IDE "),createCommentVNode("v-if",!0)],64)}}});var Tour=_export_sfc$1(_sfc_main$9,[["__file","tour.vue"]]);const tourStepProps=buildProps({target:{type:definePropType([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:iconPropType},showArrow:{type:Boolean,default:void 0},placement:tourContentProps.placement,mask:{type:definePropType([Boolean,Object]),default:void 0},contentStyle:{type:definePropType([Object])},prevButtonProps:{type:definePropType(Object)},nextButtonProps:{type:definePropType(Object)},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:void 0},type:{type:definePropType(String)}}),tourStepEmits={close:()=>!0},__default__$5=defineComponent({name:"ElTourStep"}),_sfc_main$8=defineComponent({...__default__$5,props:tourStepProps,emits:tourStepEmits,setup(xe,{emit:$e}){const Ie=xe,{Close:Fe}=CloseComponents,{t:Ue}=useLocale(),{currentStep:qe,current:At,total:Dt,showClose:Lt,closeIcon:jt,mergedType:hn,ns:vn,slots:bn,updateModelValue:_n,onClose:wn,onFinish:kn,onChange:Cn}=inject(tourKey);watch(Ie,Nn=>{qe.value=Nn},{immediate:!0});const Sn=computed(()=>{var Nn;return(Nn=Ie.showClose)!=null?Nn:Lt.value}),xn=computed(()=>{var Nn,Mn;return(Mn=(Nn=Ie.closeIcon)!=null?Nn:jt.value)!=null?Mn:Fe}),En=Nn=>{if(Nn)return omit(Nn,["children","onClick"])},Tn=()=>{var Nn,Mn;At.value-=1,(Nn=Ie.prevButtonProps)!=null&&Nn.onClick&&((Mn=Ie.prevButtonProps)==null||Mn.onClick()),Cn()},An=()=>{var Nn;At.value>=Dt.value-1?$n():At.value+=1,(Nn=Ie.nextButtonProps)!=null&&Nn.onClick&&Ie.nextButtonProps.onClick(),Cn()},$n=()=>{Pn(),kn()},Pn=()=>{_n(!1),wn(),$e("close")};return(Nn,Mn)=>(openBlock(),createElementBlock(Fragment,null,[unref(Sn)?(openBlock(),createElementBlock("button",{key:0,"aria-label":"Close",class:normalizeClass(unref(vn).e("closebtn")),type:"button",onClick:Pn},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(vn).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(xn))))]),_:1},8,["class"])],2)):createCommentVNode("v-if",!0),createBaseVNode("header",{class:normalizeClass([unref(vn).e("header"),{"show-close":unref(Lt)}])},[renderSlot(Nn.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(vn).e("title"))},toDisplayString(Nn.title),3)])],2),createBaseVNode("div",{class:normalizeClass(unref(vn).e("body"))},[renderSlot(Nn.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(Nn.description),1)])],2),createBaseVNode("footer",{class:normalizeClass(unref(vn).e("footer"))},[createBaseVNode("div",{class:normalizeClass(unref(vn).b("indicators"))},[unref(bn).indicators?(openBlock(),createBlock(resolveDynamicComponent(unref(bn).indicators),{key:0,current:unref(At),total:unref(Dt)},null,8,["current","total"])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(Dt),(In,On)=>(openBlock(),createElementBlock("span",{key:In,class:normalizeClass([unref(vn).b("indicator"),On===unref(At)?"is-active":""])},null,2))),128))],2),createBaseVNode("div",{class:normalizeClass(unref(vn).b("buttons"))},[unref(At)>0?(openBlock(),createBlock(unref(ElButton),mergeProps({key:0,size:"small",type:unref(hn)},En(Nn.prevButtonProps),{onClick:Tn}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.prevButtonProps)==null?void 0:In.children)!=null?On:unref(Ue)("el.tour.previous")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0),unref(At)<=unref(Dt)-1?(openBlock(),createBlock(unref(ElButton),mergeProps({key:1,size:"small",type:unref(hn)==="primary"?"default":"primary"},En(Nn.nextButtonProps),{onClick:An}),{default:withCtx(()=>{var In,On;return[createTextVNode(toDisplayString((On=(In=Nn.nextButtonProps)==null?void 0:In.children)!=null?On:unref(At)===unref(Dt)-1?unref(Ue)("el.tour.finish"):unref(Ue)("el.tour.next")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0)],2)],2)],64))}});var TourStep=_export_sfc$1(_sfc_main$8,[["__file","step.vue"]]);const ElTour=withInstall(Tour,{TourStep}),ElTourStep=withNoopInstall(TourStep),anchorProps=buildProps({container:{type:definePropType([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:definePropType(String),default:"default"},direction:{type:definePropType(String),default:"vertical"}}),anchorEmits={change:xe=>isString$4(xe),click:(xe,$e)=>xe instanceof MouseEvent&&(isString$4($e)||isUndefined($e))},anchorKey=Symbol("anchor"),__default__$4=defineComponent({name:"ElAnchor"}),_sfc_main$7=defineComponent({...__default__$4,props:anchorProps,emits:anchorEmits,setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue=ref(""),qe=ref(null),At=ref(null),Dt=ref(),Lt={};let jt=!1,hn=0;const vn=useNamespace("anchor"),bn=computed(()=>[vn.b(),Fe.type==="underline"?vn.m("underline"):"",vn.m(Fe.direction)]),_n=Nn=>{Lt[Nn.href]=Nn.el},wn=Nn=>{delete Lt[Nn]},kn=Nn=>{Ue.value!==Nn&&(Ue.value=Nn,Ie("change",Nn))};let Cn=null;const Sn=Nn=>{if(!Dt.value)return;const Mn=getElement(Nn);if(!Mn)return;Cn&&Cn(),jt=!0;const In=getScrollElement(Mn,Dt.value),On=getOffsetTopDistance(Mn,In),Rn=In.scrollHeight-In.clientHeight,Bn=Math.min(On-Fe.offset,Rn);Cn=animateScrollTo(Dt.value,hn,Bn,Fe.duration,()=>{setTimeout(()=>{jt=!1},20)})},xn=Nn=>{Nn&&(kn(Nn),Sn(Nn))},En=(Nn,Mn)=>{Ie("click",Nn,Mn),xn(Mn)},Tn=throttleByRaf(()=>{Dt.value&&(hn=getScrollTop(Dt.value));const Nn=An();jt||isUndefined(Nn)||kn(Nn)}),An=()=>{if(!Dt.value)return;const Nn=getScrollTop(Dt.value),Mn=[];for(const In of Object.keys(Lt)){const On=getElement(In);if(!On)continue;const Rn=getScrollElement(On,Dt.value),Bn=getOffsetTopDistance(On,Rn);Mn.push({top:Bn-Fe.offset-Fe.bound,href:In})}Mn.sort((In,On)=>In.top-On.top);for(let In=0;InNn))return On.href}},$n=()=>{const Nn=getElement(Fe.container);!Nn||isWindow(Nn)?Dt.value=window:Dt.value=Nn};useEventListener(Dt,"scroll",Tn);const Pn=computed(()=>{if(!qe.value||!At.value||!Ue.value)return{};const Nn=Lt[Ue.value];if(!Nn)return{};const Mn=qe.value.getBoundingClientRect(),In=At.value.getBoundingClientRect(),On=Nn.getBoundingClientRect();return Fe.direction==="horizontal"?{left:`${On.left-Mn.left}px`,width:`${On.width}px`,opacity:1}:{top:`${On.top-Mn.top+(On.height-In.height)/2}px`,opacity:1}});return onMounted(()=>{$n();const Nn=decodeURIComponent(window.location.hash);getElement(Nn)?xn(Nn):Tn()}),watch(()=>Fe.container,()=>{$n()}),provide(anchorKey,{ns:vn,direction:Fe.direction,currentAnchor:Ue,addLink:_n,removeLink:wn,handleClick:En}),$e({scrollTo:xn}),(Nn,Mn)=>(openBlock(),createElementBlock("div",{ref_key:"anchorRef",ref:qe,class:normalizeClass(unref(bn))},[Nn.marker?(openBlock(),createElementBlock("div",{key:0,ref_key:"markerRef",ref:At,class:normalizeClass(unref(vn).e("marker")),style:normalizeStyle$1(unref(Pn))},null,6)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(vn).e("list"))},[renderSlot(Nn.$slots,"default")],2)],2))}});var Anchor=_export_sfc$1(_sfc_main$7,[["__file","anchor.vue"]]);const anchorLinkProps=buildProps({title:String,href:String}),_hoisted_1$5=["href"],__default__$3=defineComponent({name:"ElAnchorLink"}),_sfc_main$6=defineComponent({...__default__$3,props:anchorLinkProps,setup(xe){const $e=xe,Ie=ref(null),{ns:Fe,direction:Ue,currentAnchor:qe,addLink:At,removeLink:Dt,handleClick:Lt}=inject(anchorKey),jt=computed(()=>[Fe.e("link"),Fe.is("active",qe.value===$e.href)]),hn=vn=>{Lt(vn,$e.href)};return watch(()=>$e.href,(vn,bn)=>{nextTick(()=>{bn&&Dt(bn),vn&&At({href:vn,el:Ie.value})})}),onMounted(()=>{const{href:vn}=$e;vn&&At({href:vn,el:Ie.value})}),onBeforeUnmount(()=>{const{href:vn}=$e;vn&&Dt(vn)}),(vn,bn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(Fe).e("item"))},[createBaseVNode("a",{ref_key:"linkRef",ref:Ie,class:normalizeClass(unref(jt)),href:vn.href,onClick:hn},[renderSlot(vn.$slots,"default",{},()=>[createTextVNode(toDisplayString(vn.title),1)])],10,_hoisted_1$5),vn.$slots["sub-link"]&&unref(Ue)==="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Fe).e("list"))},[renderSlot(vn.$slots,"sub-link")],2)):createCommentVNode("v-if",!0)],2))}});var AnchorLink=_export_sfc$1(_sfc_main$6,[["__file","anchor-link.vue"]]);const ElAnchor=withInstall(Anchor,{AnchorLink}),ElAnchorLink=withNoopInstall(AnchorLink),segmentedProps=buildProps({options:{type:definePropType(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:useSizeProp,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...useAriaProps(["ariaLabel"])}),segmentedEmits={[UPDATE_MODEL_EVENT]:xe=>isString$4(xe)||isNumber$1(xe),[CHANGE_EVENT]:xe=>isString$4(xe)||isNumber$1(xe)},_hoisted_1$4=["id","aria-label","aria-labelledby"],_hoisted_2$4=["name","disabled","checked","onChange"],__default__$2=defineComponent({name:"ElSegmented"}),_sfc_main$5=defineComponent({...__default__$2,props:segmentedProps,emits:segmentedEmits,setup(xe,{emit:$e}){const Ie=xe,Fe=useNamespace("segmented"),Ue=useId(),qe=useFormSize(),At=useFormDisabled(),{formItem:Dt}=useFormItem(),{inputId:Lt,isLabeledByFormItem:jt}=useFormItemInputId(Ie,{formItemContext:Dt}),hn=ref(null),vn=useActiveElement(),bn=reactive({isInit:!1,width:0,translateX:0,disabled:!1,focusVisible:!1}),_n=Mn=>{const In=wn(Mn);$e(UPDATE_MODEL_EVENT,In),$e(CHANGE_EVENT,In)},wn=Mn=>isObject$8(Mn)?Mn.value:Mn,kn=Mn=>isObject$8(Mn)?Mn.label:Mn,Cn=Mn=>!!(At.value||isObject$8(Mn)&&Mn.disabled),Sn=Mn=>Ie.modelValue===wn(Mn),xn=Mn=>Ie.options.find(In=>wn(In)===Mn),En=Mn=>[Fe.e("item"),Fe.is("selected",Sn(Mn)),Fe.is("disabled",Cn(Mn))],Tn=()=>{if(!hn.value)return;const Mn=hn.value.querySelector(".is-selected"),In=hn.value.querySelector(".is-selected input");if(!Mn||!In){bn.width=0,bn.translateX=0,bn.disabled=!1,bn.focusVisible=!1;return}const On=Mn.getBoundingClientRect();bn.isInit=!0,bn.width=On.width,bn.translateX=Mn.offsetLeft,bn.disabled=Cn(xn(Ie.modelValue));try{bn.focusVisible=In.matches(":focus-visible")}catch{}},An=computed(()=>[Fe.b(),Fe.m(qe.value),Fe.is("block",Ie.block)]),$n=computed(()=>({width:`${bn.width}px`,transform:`translateX(${bn.translateX}px)`,display:bn.isInit?"block":"none"})),Pn=computed(()=>[Fe.e("item-selected"),Fe.is("disabled",bn.disabled),Fe.is("focus-visible",bn.focusVisible)]),Nn=computed(()=>Ie.name||Ue.value);return useResizeObserver(hn,Tn),watch(vn,Tn),watch(()=>Ie.modelValue,()=>{var Mn;Tn(),Ie.validateEvent&&((Mn=Dt==null?void 0:Dt.validate)==null||Mn.call(Dt,"change").catch(In=>void 0))},{flush:"post"}),(Mn,In)=>(openBlock(),createElementBlock("div",{id:unref(Lt),ref_key:"segmentedRef",ref:hn,class:normalizeClass(unref(An)),role:"radiogroup","aria-label":unref(jt)?void 0:Mn.ariaLabel||"segmented","aria-labelledby":unref(jt)?unref(Dt).labelId:void 0},[createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("div",{style:normalizeStyle$1(unref($n)),class:normalizeClass(unref(Pn))},null,6),(openBlock(!0),createElementBlock(Fragment,null,renderList(Mn.options,(On,Rn)=>(openBlock(),createElementBlock("label",{key:Rn,class:normalizeClass(En(On))},[createBaseVNode("input",{class:normalizeClass(unref(Fe).e("item-input")),type:"radio",name:unref(Nn),disabled:Cn(On),checked:Sn(On),onChange:Bn=>_n(On)},null,42,_hoisted_2$4),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("item-label"))},[renderSlot(Mn.$slots,"default",{item:On},()=>[createTextVNode(toDisplayString(kn(On)),1)])],2)],2))),128))],2)],10,_hoisted_1$4))}});var Segmented=_export_sfc$1(_sfc_main$5,[["__file","segmented.vue"]]);const ElSegmented=withInstall(Segmented);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup$1,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTooltipV2,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload,ElWatermark,ElTour,ElTourStep,ElAnchor,ElAnchorLink,ElSegmented];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(xe,$e)=>Object.entries(attributes).reduce((Ie,[Fe,Ue])=>{var qe,At;const{type:Dt,default:Lt}=Ue,jt=xe.getAttribute(`infinite-scroll-${Fe}`);let hn=(At=(qe=$e[jt])!=null?qe:jt)!=null?At:Lt;return hn=hn==="false"?!1:hn,hn=Dt(hn),Ie[Fe]=Number.isNaN(hn)?Lt:hn,Ie},{}),destroyObserver=xe=>{const{observer:$e}=xe[SCOPE];$e&&($e.disconnect(),delete xe[SCOPE].observer)},handleScroll=(xe,$e)=>{const{container:Ie,containerEl:Fe,instance:Ue,observer:qe,lastScrollTop:At}=xe[SCOPE],{disabled:Dt,distance:Lt}=getScrollOptions(xe,Ue),{clientHeight:jt,scrollHeight:hn,scrollTop:vn}=Fe,bn=vn-At;if(xe[SCOPE].lastScrollTop=vn,qe||Dt||bn<0)return;let _n=!1;if(Ie===xe)_n=hn-(jt+vn)<=Lt;else{const{clientTop:wn,scrollHeight:kn}=xe,Cn=getOffsetTopDistance(xe,Fe);_n=vn+jt>=Cn+wn+kn-Lt}_n&&$e.call(Ue)};function checkFull(xe,$e){const{containerEl:Ie,instance:Fe}=xe[SCOPE],{disabled:Ue}=getScrollOptions(xe,Fe);Ue||Ie.clientHeight===0||(Ie.scrollHeight<=Ie.clientHeight?$e.call(Fe):destroyObserver(xe))}const InfiniteScroll={async mounted(xe,$e){const{instance:Ie,value:Fe}=$e;isFunction$5(Fe)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:Ue,immediate:qe}=getScrollOptions(xe,Ie),At=getScrollContainer(xe,!0),Dt=At===window?document.documentElement:At,Lt=throttle$3(handleScroll.bind(null,xe,Fe),Ue);if(At){if(xe[SCOPE]={instance:Ie,container:At,containerEl:Dt,delay:Ue,cb:Fe,onScroll:Lt,lastScrollTop:Dt.scrollTop},qe){const jt=new MutationObserver(throttle$3(checkFull.bind(null,xe,Fe),CHECK_INTERVAL));xe[SCOPE].observer=jt,jt.observe(xe,{childList:!0,subtree:!0}),checkFull(xe,Fe)}At.addEventListener("scroll",Lt)}},unmounted(xe){if(!xe[SCOPE])return;const{container:$e,onScroll:Ie}=xe[SCOPE];$e==null||$e.removeEventListener("scroll",Ie),destroyObserver(xe)},async updated(xe){if(!xe[SCOPE])await nextTick();else{const{containerEl:$e,cb:Ie,observer:Fe}=xe[SCOPE];$e.clientHeight&&Fe&&checkFull(xe,Ie)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=xe=>{xe.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(xe){let $e;const Ie=ref(!1),Fe=reactive({...xe,originalPosition:"",originalOverflow:"",visible:!1});function Ue(bn){Fe.text=bn}function qe(){const bn=Fe.parent,_n=vn.ns;if(!bn.vLoadingAddClassList){let wn=bn.getAttribute("loading-number");wn=Number.parseInt(wn)-1,wn?bn.setAttribute("loading-number",wn.toString()):(removeClass(bn,_n.bm("parent","relative")),bn.removeAttribute("loading-number")),removeClass(bn,_n.bm("parent","hidden"))}At(),hn.unmount()}function At(){var bn,_n;(_n=(bn=vn.$el)==null?void 0:bn.parentNode)==null||_n.removeChild(vn.$el)}function Dt(){var bn;xe.beforeClose&&!xe.beforeClose()||(Ie.value=!0,clearTimeout($e),$e=window.setTimeout(Lt,400),Fe.visible=!1,(bn=xe.closed)==null||bn.call(xe))}function Lt(){if(!Ie.value)return;const bn=Fe.parent;Ie.value=!1,bn.vLoadingAddClassList=void 0,qe()}const hn=createApp(defineComponent({name:"ElLoading",setup(bn,{expose:_n}){const{ns:wn,zIndex:kn}=useGlobalComponentSettings("loading");return _n({ns:wn,zIndex:kn}),()=>{const Cn=Fe.spinner||Fe.svg,Sn=h$5("svg",{class:"circular",viewBox:Fe.svgViewBox?Fe.svgViewBox:"0 0 50 50",...Cn?{innerHTML:Cn}:{}},[h$5("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),xn=Fe.text?h$5("p",{class:wn.b("text")},[Fe.text]):void 0;return h$5(Transition,{name:wn.b("fade"),onAfterLeave:Lt},{default:withCtx(()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:Fe.background||""},class:[wn.b("mask"),Fe.customClass,Fe.fullscreen?"is-fullscreen":""]},[h$5("div",{class:wn.b("spinner")},[Sn,xn])]),[[vShow,Fe.visible]])])})}}})),vn=hn.mount(document.createElement("div"));return{...toRefs(Fe),setText:Ue,removeElLoadingChild:At,close:Dt,handleAfterLeave:Lt,vm:vn,get $el(){return vn.$el}}}let fullscreenInstance;const Loading=function(xe={}){if(!isClient$1)return;const $e=resolveOptions(xe);if($e.fullscreen&&fullscreenInstance)return fullscreenInstance;const Ie=createLoadingComponent({...$e,closed:()=>{var Ue;(Ue=$e.closed)==null||Ue.call($e),$e.fullscreen&&(fullscreenInstance=void 0)}});addStyle($e,$e.parent,Ie),addClassList($e,$e.parent,Ie),$e.parent.vLoadingAddClassList=()=>addClassList($e,$e.parent,Ie);let Fe=$e.parent.getAttribute("loading-number");return Fe?Fe=`${Number.parseInt(Fe)+1}`:Fe="1",$e.parent.setAttribute("loading-number",Fe),$e.parent.appendChild(Ie.$el),nextTick(()=>Ie.visible.value=$e.visible),$e.fullscreen&&(fullscreenInstance=Ie),Ie},resolveOptions=xe=>{var $e,Ie,Fe,Ue;let qe;return isString$4(xe.target)?qe=($e=document.querySelector(xe.target))!=null?$e:document.body:qe=xe.target||document.body,{parent:qe===document.body||xe.body?document.body:qe,background:xe.background||"",svg:xe.svg||"",svgViewBox:xe.svgViewBox||"",spinner:xe.spinner||!1,text:xe.text||"",fullscreen:qe===document.body&&((Ie=xe.fullscreen)!=null?Ie:!0),lock:(Fe=xe.lock)!=null?Fe:!1,customClass:xe.customClass||"",visible:(Ue=xe.visible)!=null?Ue:!0,target:qe}},addStyle=async(xe,$e,Ie)=>{const{nextZIndex:Fe}=Ie.vm.zIndex||Ie.vm._.exposed.zIndex,Ue={};if(xe.fullscreen)Ie.originalPosition.value=getStyle$1(document.body,"position"),Ie.originalOverflow.value=getStyle$1(document.body,"overflow"),Ue.zIndex=Fe();else if(xe.parent===document.body){Ie.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const qe of["top","left"]){const At=qe==="top"?"scrollTop":"scrollLeft";Ue[qe]=`${xe.target.getBoundingClientRect()[qe]+document.body[At]+document.documentElement[At]-Number.parseInt(getStyle$1(document.body,`margin-${qe}`),10)}px`}for(const qe of["height","width"])Ue[qe]=`${xe.target.getBoundingClientRect()[qe]}px`}else Ie.originalPosition.value=getStyle$1($e,"position");for(const[qe,At]of Object.entries(Ue))Ie.$el.style[qe]=At},addClassList=(xe,$e,Ie)=>{const Fe=Ie.vm.ns||Ie.vm._.exposed.ns;["absolute","fixed","sticky"].includes(Ie.originalPosition.value)?removeClass($e,Fe.bm("parent","relative")):addClass($e,Fe.bm("parent","relative")),xe.fullscreen&&xe.lock?addClass($e,Fe.bm("parent","hidden")):removeClass($e,Fe.bm("parent","hidden"))},INSTANCE_KEY=Symbol("ElLoading"),createInstance=(xe,$e)=>{var Ie,Fe,Ue,qe;const At=$e.instance,Dt=bn=>isObject$8($e.value)?$e.value[bn]:void 0,Lt=bn=>{const _n=isString$4(bn)&&(At==null?void 0:At[bn])||bn;return _n&&ref(_n)},jt=bn=>Lt(Dt(bn)||xe.getAttribute(`element-loading-${hyphenate(bn)}`)),hn=(Ie=Dt("fullscreen"))!=null?Ie:$e.modifiers.fullscreen,vn={text:jt("text"),svg:jt("svg"),svgViewBox:jt("svgViewBox"),spinner:jt("spinner"),background:jt("background"),customClass:jt("customClass"),fullscreen:hn,target:(Fe=Dt("target"))!=null?Fe:hn?void 0:xe,body:(Ue=Dt("body"))!=null?Ue:$e.modifiers.body,lock:(qe=Dt("lock"))!=null?qe:$e.modifiers.lock};xe[INSTANCE_KEY]={options:vn,instance:Loading(vn)}},updateOptions=(xe,$e)=>{for(const Ie of Object.keys($e))isRef($e[Ie])&&($e[Ie].value=xe[Ie])},vLoading={mounted(xe,$e){$e.value&&createInstance(xe,$e)},updated(xe,$e){const Ie=xe[INSTANCE_KEY];$e.oldValue!==$e.value&&($e.value&&!$e.oldValue?createInstance(xe,$e):$e.value&&$e.oldValue?isObject$8($e.value)&&updateOptions($e.value,Ie.options):Ie==null||Ie.instance.close())},unmounted(xe){var $e;($e=xe[INSTANCE_KEY])==null||$e.instance.close(),xe[INSTANCE_KEY]=null}},ElLoading={install(xe){xe.directive("loading",vLoading),xe.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["success","info","warning","error"],messageDefaults=mutable({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient$1?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},center:{type:Boolean,default:messageDefaults.center},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},offset:{type:Number,default:messageDefaults.offset},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},instances$2=shallowReactive([]),getInstance=xe=>{const $e=instances$2.findIndex(Ue=>Ue.id===xe),Ie=instances$2[$e];let Fe;return $e>0&&(Fe=instances$2[$e-1]),{current:Ie,prev:Fe}},getLastOffset=xe=>{const{prev:$e}=getInstance(xe);return $e?$e.vm.exposed.bottom.value:0},getOffsetOrSpace=(xe,$e)=>instances$2.findIndex(Fe=>Fe.id===xe)>0?16:$e,_hoisted_1$3=["id"],_hoisted_2$3=["innerHTML"],__default__$1=defineComponent({name:"ElMessage"}),_sfc_main$4=defineComponent({...__default__$1,props:messageProps,emits:messageEmits,setup(xe,{expose:$e}){const Ie=xe,{Close:Fe}=TypeComponents,{ns:Ue,zIndex:qe}=useGlobalComponentSettings("message"),{currentZIndex:At,nextZIndex:Dt}=qe,Lt=ref(),jt=ref(!1),hn=ref(0);let vn;const bn=computed(()=>Ie.type?Ie.type==="error"?"danger":Ie.type:"info"),_n=computed(()=>{const Pn=Ie.type;return{[Ue.bm("icon",Pn)]:Pn&&TypeComponentsMap[Pn]}}),wn=computed(()=>Ie.icon||TypeComponentsMap[Ie.type]||""),kn=computed(()=>getLastOffset(Ie.id)),Cn=computed(()=>getOffsetOrSpace(Ie.id,Ie.offset)+kn.value),Sn=computed(()=>hn.value+Cn.value),xn=computed(()=>({top:`${Cn.value}px`,zIndex:At.value}));function En(){Ie.duration!==0&&({stop:vn}=useTimeoutFn$1(()=>{An()},Ie.duration))}function Tn(){vn==null||vn()}function An(){jt.value=!1}function $n({code:Pn}){Pn===EVENT_CODE.esc&&An()}return onMounted(()=>{En(),Dt(),jt.value=!0}),watch(()=>Ie.repeatNum,()=>{Tn(),En()}),useEventListener(document,"keydown",$n),useResizeObserver(Lt,()=>{hn.value=Lt.value.getBoundingClientRect().height}),$e({visible:jt,bottom:Sn,close:An}),(Pn,Nn)=>(openBlock(),createBlock(Transition,{name:unref(Ue).b("fade"),onBeforeLeave:Pn.onClose,onAfterLeave:Nn[0]||(Nn[0]=Mn=>Pn.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Pn.id,ref_key:"messageRef",ref:Lt,class:normalizeClass([unref(Ue).b(),{[unref(Ue).m(Pn.type)]:Pn.type},unref(Ue).is("center",Pn.center),unref(Ue).is("closable",Pn.showClose),unref(Ue).is("plain",Pn.plain),Pn.customClass]),style:normalizeStyle$1(unref(xn)),role:"alert",onMouseenter:Tn,onMouseleave:En},[Pn.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Pn.repeatNum,type:unref(bn),class:normalizeClass(unref(Ue).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),unref(wn)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(Ue).e("icon"),unref(_n)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(wn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Pn.$slots,"default",{},()=>[Pn.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(Ue).e("content")),innerHTML:Pn.message},null,10,_hoisted_2$3)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(Ue).e("content"))},toDisplayString(Pn.message),3))]),Pn.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(Ue).e("closeBtn")),onClick:withModifiers(An,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Fe))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],46,_hoisted_1$3),[[vShow,jt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc$1(_sfc_main$4,[["__file","message.vue"]]);let seed$1=1;const normalizeOptions=xe=>{const $e=!xe||isString$4(xe)||isVNode(xe)||isFunction$5(xe)?{message:xe}:xe,Ie={...messageDefaults,...$e};if(!Ie.appendTo)Ie.appendTo=document.body;else if(isString$4(Ie.appendTo)){let Fe=document.querySelector(Ie.appendTo);isElement$1(Fe)||(Fe=document.body),Ie.appendTo=Fe}return Ie},closeMessage=xe=>{const $e=instances$2.indexOf(xe);if($e===-1)return;instances$2.splice($e,1);const{handler:Ie}=xe;Ie.close()},createMessage=({appendTo:xe,...$e},Ie)=>{const Fe=`message_${seed$1++}`,Ue=$e.onClose,qe=document.createElement("div"),At={...$e,id:Fe,onClose:()=>{Ue==null||Ue(),closeMessage(hn)},onDestroy:()=>{render$2(null,qe)}},Dt=createVNode$1(MessageConstructor,At,isFunction$5(At.message)||isVNode(At.message)?{default:isFunction$5(At.message)?At.message:()=>At.message}:null);Dt.appContext=Ie||message._context,render$2(Dt,qe),xe.appendChild(qe.firstElementChild);const Lt=Dt.component,hn={id:Fe,vnode:Dt,vm:Lt,handler:{close:()=>{Lt.exposed.visible.value=!1}},props:Dt.component.props};return hn},message=(xe={},$e)=>{if(!isClient$1)return{close:()=>{}};if(isNumber$1(messageConfig.max)&&instances$2.length>=messageConfig.max)return{close:()=>{}};const Ie=normalizeOptions(xe);if(Ie.grouping&&instances$2.length){const Ue=instances$2.find(({vnode:qe})=>{var At;return((At=qe.props)==null?void 0:At.message)===Ie.message});if(Ue)return Ue.props.repeatNum+=1,Ue.props.type=Ie.type,Ue.handler}const Fe=createMessage(Ie,$e);return instances$2.push(Fe),Fe.handler};messageTypes.forEach(xe=>{message[xe]=($e={},Ie)=>{const Fe=normalizeOptions($e);return message({...Fe,type:xe},Ie)}});function closeAll$1(xe){for(const $e of instances$2)(!xe||xe===$e.props.type)&&$e.handler.close()}message.closeAll=closeAll$1;message._context=null;const ElMessage=withInstallFunction(message,"$message"),_sfc_main$3=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(xe,{emit:$e}){const{locale:Ie,zIndex:Fe,ns:Ue,size:qe}=useGlobalComponentSettings("message-box",computed(()=>xe.buttonSize)),{t:At}=Ie,{nextZIndex:Dt}=Fe,Lt=ref(!1),jt=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:Dt()}),hn=computed(()=>{const Dn=jt.type;return{[Ue.bm("icon",Dn)]:Dn&&TypeComponentsMap[Dn]}}),vn=useId(),bn=useId(),_n=computed(()=>jt.icon||TypeComponentsMap[jt.type]||""),wn=computed(()=>!!jt.message),kn=ref(),Cn=ref(),Sn=ref(),xn=ref(),En=ref(),Tn=computed(()=>jt.confirmButtonClass);watch(()=>jt.inputValue,async Dn=>{await nextTick(),xe.boxType==="prompt"&&Dn!==null&&Rn()},{immediate:!0}),watch(()=>Lt.value,Dn=>{var Hn,Fn;Dn&&(xe.boxType!=="prompt"&&(jt.autofocus?Sn.value=(Fn=(Hn=En.value)==null?void 0:Hn.$el)!=null?Fn:kn.value:Sn.value=kn.value),jt.zIndex=Dt()),xe.boxType==="prompt"&&(Dn?nextTick().then(()=>{var zn;xn.value&&xn.value.$el&&(jt.autofocus?Sn.value=(zn=Bn())!=null?zn:kn.value:Sn.value=kn.value)}):(jt.editorErrorMessage="",jt.validateError=!1))});const An=computed(()=>xe.draggable),$n=computed(()=>xe.overflow);useDraggable(kn,Cn,An,$n),onMounted(async()=>{await nextTick(),xe.closeOnHashChange&&window.addEventListener("hashchange",Pn)}),onBeforeUnmount(()=>{xe.closeOnHashChange&&window.removeEventListener("hashchange",Pn)});function Pn(){Lt.value&&(Lt.value=!1,nextTick(()=>{jt.action&&$e("action",jt.action)}))}const Nn=()=>{xe.closeOnClickModal&&On(jt.distinguishCancelAndClose?"close":"cancel")},Mn=useSameTarget(Nn),In=Dn=>{if(jt.inputType!=="textarea")return Dn.preventDefault(),On("confirm")},On=Dn=>{var Hn;xe.boxType==="prompt"&&Dn==="confirm"&&!Rn()||(jt.action=Dn,jt.beforeClose?(Hn=jt.beforeClose)==null||Hn.call(jt,Dn,jt,Pn):Pn())},Rn=()=>{if(xe.boxType==="prompt"){const Dn=jt.inputPattern;if(Dn&&!Dn.test(jt.inputValue||""))return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;const Hn=jt.inputValidator;if(typeof Hn=="function"){const Fn=Hn(jt.inputValue);if(Fn===!1)return jt.editorErrorMessage=jt.inputErrorMessage||At("el.messagebox.error"),jt.validateError=!0,!1;if(typeof Fn=="string")return jt.editorErrorMessage=Fn,jt.validateError=!0,!1}}return jt.editorErrorMessage="",jt.validateError=!1,!0},Bn=()=>{const Dn=xn.value.$refs;return Dn.input||Dn.textarea},Vn=()=>{On("close")},Ln=()=>{xe.closeOnPressEscape&&Vn()};return xe.lockScroll&&useLockscreen(Lt),{...toRefs(jt),ns:Ue,overlayEvent:Mn,visible:Lt,hasMessage:wn,typeClass:hn,contentId:vn,inputId:bn,btnSize:qe,iconComponent:_n,confirmButtonClasses:Tn,rootRef:kn,focusStartRef:Sn,headerRef:Cn,inputRef:xn,confirmRef:En,doClose:Pn,handleClose:Vn,onCloseRequested:Ln,handleWrapperClick:Nn,handleInputEnter:In,handleAction:On,t:At}}}),_hoisted_1$2=["aria-label","aria-describedby"],_hoisted_2$2=["aria-label"],_hoisted_3$2=["id"];function _sfc_render(xe,$e,Ie,Fe,Ue,qe){const At=resolveComponent("el-icon"),Dt=resolveComponent("close"),Lt=resolveComponent("el-input"),jt=resolveComponent("el-button"),hn=resolveComponent("el-focus-trap"),vn=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:$e[11]||($e[11]=bn=>xe.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(vn,{"z-index":xe.zIndex,"overlay-class":[xe.ns.is("message-box"),xe.modalClass],mask:xe.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":xe.title,"aria-modal":"true","aria-describedby":xe.showInput?void 0:xe.contentId,class:normalizeClass(`${xe.ns.namespace.value}-overlay-message-box`),onClick:$e[8]||($e[8]=(...bn)=>xe.overlayEvent.onClick&&xe.overlayEvent.onClick(...bn)),onMousedown:$e[9]||($e[9]=(...bn)=>xe.overlayEvent.onMousedown&&xe.overlayEvent.onMousedown(...bn)),onMouseup:$e[10]||($e[10]=(...bn)=>xe.overlayEvent.onMouseup&&xe.overlayEvent.onMouseup(...bn))},[createVNode$1(hn,{loop:"",trapped:xe.visible,"focus-trap-el":xe.rootRef,"focus-start-el":xe.focusStartRef,onReleaseRequested:xe.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([xe.ns.b(),xe.customClass,xe.ns.is("draggable",xe.draggable),{[xe.ns.m("center")]:xe.center}]),style:normalizeStyle$1(xe.customStyle),tabindex:"-1",onClick:$e[7]||($e[7]=withModifiers(()=>{},["stop"]))},[xe.title!==null&&xe.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([xe.ns.e("header"),{"show-close":xe.showClose}])},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("title"))},[xe.iconComponent&&xe.center?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(xe.title),1)],2),xe.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(xe.ns.e("headerbtn")),"aria-label":xe.t("el.messagebox.close"),onClick:$e[0]||($e[0]=bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel")),onKeydown:$e[1]||($e[1]=withKeys(withModifiers(bn=>xe.handleAction(xe.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode$1(At,{class:normalizeClass(xe.ns.e("close"))},{default:withCtx(()=>[createVNode$1(Dt)]),_:1},8,["class"])],42,_hoisted_2$2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:xe.contentId,class:normalizeClass(xe.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(xe.ns.e("container"))},[xe.iconComponent&&!xe.center&&xe.hasMessage?(openBlock(),createBlock(At,{key:0,class:normalizeClass([xe.ns.e("status"),xe.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),xe.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(xe.ns.e("message"))},[renderSlot(xe.$slots,"default",{},()=>[xe.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:1,for:xe.showInput?xe.inputId:void 0,innerHTML:xe.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(xe.showInput?"label":"p"),{key:0,for:xe.showInput?xe.inputId:void 0},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.dangerouslyUseHTMLString?"":xe.message),1)]),_:1},8,["for"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(xe.ns.e("input"))},[createVNode$1(Lt,{id:xe.inputId,ref:"inputRef",modelValue:xe.inputValue,"onUpdate:modelValue":$e[2]||($e[2]=bn=>xe.inputValue=bn),type:xe.inputType,placeholder:xe.inputPlaceholder,"aria-invalid":xe.validateError,class:normalizeClass({invalid:xe.validateError}),onKeydown:withKeys(xe.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(xe.ns.e("errormsg")),style:normalizeStyle$1({visibility:xe.editorErrorMessage?"visible":"hidden"})},toDisplayString(xe.editorErrorMessage),7)],2),[[vShow,xe.showInput]])],10,_hoisted_3$2),createBaseVNode("div",{class:normalizeClass(xe.ns.e("btns"))},[xe.showCancelButton?(openBlock(),createBlock(jt,{key:0,loading:xe.cancelButtonLoading,class:normalizeClass([xe.cancelButtonClass]),round:xe.roundButton,size:xe.btnSize,onClick:$e[3]||($e[3]=bn=>xe.handleAction("cancel")),onKeydown:$e[4]||($e[4]=withKeys(withModifiers(bn=>xe.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.cancelButtonText||xe.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(jt,{ref:"confirmRef",type:"primary",loading:xe.confirmButtonLoading,class:normalizeClass([xe.confirmButtonClasses]),round:xe.roundButton,disabled:xe.confirmButtonDisabled,size:xe.btnSize,onClick:$e[5]||($e[5]=bn=>xe.handleAction("confirm")),onKeydown:$e[6]||($e[6]=withKeys(withModifiers(bn=>xe.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(xe.confirmButtonText||xe.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[vShow,xe.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$2)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,xe.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc$1(_sfc_main$3,[["render",_sfc_render],["__file","index.vue"]]);const messageInstance=new Map,getAppendToElement=xe=>{let $e=document.body;return xe.appendTo&&(isString$4(xe.appendTo)&&($e=document.querySelector(xe.appendTo)),isElement$1(xe.appendTo)&&($e=xe.appendTo),isElement$1($e)||($e=document.body)),$e},initInstance=(xe,$e,Ie=null)=>{const Fe=createVNode$1(MessageBoxConstructor,xe,isFunction$5(xe.message)||isVNode(xe.message)?{default:isFunction$5(xe.message)?xe.message:()=>xe.message}:null);return Fe.appContext=Ie,render$2(Fe,$e),getAppendToElement(xe).appendChild($e.firstElementChild),Fe.component},genContainer=()=>document.createElement("div"),showMessage=(xe,$e)=>{const Ie=genContainer();xe.onVanish=()=>{render$2(null,Ie),messageInstance.delete(Ue)},xe.onAction=qe=>{const At=messageInstance.get(Ue);let Dt;xe.showInput?Dt={value:Ue.inputValue,action:qe}:Dt=qe,xe.callback?xe.callback(Dt,Fe.proxy):qe==="cancel"||qe==="close"?xe.distinguishCancelAndClose&&qe!=="cancel"?At.reject("close"):At.reject("cancel"):At.resolve(Dt)};const Fe=initInstance(xe,Ie,$e),Ue=Fe.proxy;for(const qe in xe)hasOwn$1(xe,qe)&&!hasOwn$1(Ue.$props,qe)&&(Ue[qe]=xe[qe]);return Ue.visible=!0,Ue};function MessageBox(xe,$e=null){if(!isClient$1)return Promise.reject();let Ie;return isString$4(xe)||isVNode(xe)?xe={message:xe}:Ie=xe.callback,new Promise((Fe,Ue)=>{const qe=showMessage(xe,$e??MessageBox._context);messageInstance.set(qe,{options:xe,callback:Ie,resolve:Fe,reject:Ue})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(xe=>{MessageBox[xe]=messageBoxFactory(xe)});function messageBoxFactory(xe){return($e,Ie,Fe,Ue)=>{let qe="";return isObject$8(Ie)?(Fe=Ie,qe=""):isUndefined(Ie)?qe="":qe=Ie,MessageBox(Object.assign({title:qe,message:$e,type:"",...MESSAGE_BOX_DEFAULT_OPTS[xe]},Fe,{boxType:xe}),Ue)}}MessageBox.close=()=>{messageInstance.forEach((xe,$e)=>{$e.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=xe=>{_MessageBox._context=xe._context,xe.config.globalProperties.$msgbox=_MessageBox,xe.config.globalProperties.$messageBox=_MessageBox,xe.config.globalProperties.$alert=_MessageBox.alert,xe.config.globalProperties.$confirm=_MessageBox.confirm,xe.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number}),notificationEmits={destroy:()=>!0},_hoisted_1$1=["id"],_hoisted_2$1=["textContent"],_hoisted_3$1={key:0},_hoisted_4$1=["innerHTML"],__default__=defineComponent({name:"ElNotification"}),_sfc_main$2=defineComponent({...__default__,props:notificationProps,emits:notificationEmits,setup(xe,{expose:$e}){const Ie=xe,{ns:Fe,zIndex:Ue}=useGlobalComponentSettings("notification"),{nextZIndex:qe,currentZIndex:At}=Ue,{Close:Dt}=CloseComponents,Lt=ref(!1);let jt;const hn=computed(()=>{const En=Ie.type;return En&&TypeComponentsMap[Ie.type]?Fe.m(En):""}),vn=computed(()=>Ie.type&&TypeComponentsMap[Ie.type]||Ie.icon),bn=computed(()=>Ie.position.endsWith("right")?"right":"left"),_n=computed(()=>Ie.position.startsWith("top")?"top":"bottom"),wn=computed(()=>{var En;return{[_n.value]:`${Ie.offset}px`,zIndex:(En=Ie.zIndex)!=null?En:At.value}});function kn(){Ie.duration>0&&({stop:jt}=useTimeoutFn$1(()=>{Lt.value&&Sn()},Ie.duration))}function Cn(){jt==null||jt()}function Sn(){Lt.value=!1}function xn({code:En}){En===EVENT_CODE.delete||En===EVENT_CODE.backspace?Cn():En===EVENT_CODE.esc?Lt.value&&Sn():kn()}return onMounted(()=>{kn(),qe(),Lt.value=!0}),useEventListener(document,"keydown",xn),$e({visible:Lt,close:Sn}),(En,Tn)=>(openBlock(),createBlock(Transition,{name:unref(Fe).b("fade"),onBeforeLeave:En.onClose,onAfterLeave:Tn[1]||(Tn[1]=An=>En.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:En.id,class:normalizeClass([unref(Fe).b(),En.customClass,unref(bn)]),style:normalizeStyle$1(unref(wn)),role:"alert",onMouseenter:Cn,onMouseleave:kn,onClick:Tn[0]||(Tn[0]=(...An)=>En.onClick&&En.onClick(...An))},[unref(vn)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(Fe).e("icon"),unref(hn)])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(vn))))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Fe).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(Fe).e("title")),textContent:toDisplayString(En.title)},null,10,_hoisted_2$1),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(Fe).e("content")),style:normalizeStyle$1(En.title?void 0:{margin:0})},[renderSlot(En.$slots,"default",{},()=>[En.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:En.message},null,8,_hoisted_4$1)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$1,toDisplayString(En.message),1))])],6),[[vShow,En.message]]),En.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(Fe).e("closeBtn")),onClick:withModifiers(Sn,["stop"])},{default:withCtx(()=>[createVNode$1(unref(Dt))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$1),[[vShow,Lt.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc$1(_sfc_main$2,[["__file","notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(xe={},$e=null){if(!isClient$1)return{close:()=>{}};(typeof xe=="string"||isVNode(xe))&&(xe={message:xe});const Ie=xe.position||"top-right";let Fe=xe.offset||0;notifications[Ie].forEach(({vm:hn})=>{var vn;Fe+=(((vn=hn.el)==null?void 0:vn.offsetHeight)||0)+GAP_SIZE}),Fe+=GAP_SIZE;const Ue=`notification_${seed++}`,qe=xe.onClose,At={...xe,offset:Fe,id:Ue,onClose:()=>{close(Ue,Ie,qe)}};let Dt=document.body;isElement$1(xe.appendTo)?Dt=xe.appendTo:isString$4(xe.appendTo)&&(Dt=document.querySelector(xe.appendTo)),isElement$1(Dt)||(Dt=document.body);const Lt=document.createElement("div"),jt=createVNode$1(NotificationConstructor,At,isVNode(At.message)?{default:()=>At.message}:null);return jt.appContext=$e??notify._context,jt.props.onDestroy=()=>{render$2(null,Lt)},render$2(jt,Lt),notifications[Ie].push({vm:jt}),Dt.appendChild(Lt.firstElementChild),{close:()=>{jt.component.exposed.visible.value=!1}}};notificationTypes.forEach(xe=>{notify[xe]=($e={})=>((typeof $e=="string"||isVNode($e))&&($e={message:$e}),notify({...$e,type:xe}))});function close(xe,$e,Ie){const Fe=notifications[$e],Ue=Fe.findIndex(({vm:jt})=>{var hn;return((hn=jt.component)==null?void 0:hn.props.id)===xe});if(Ue===-1)return;const{vm:qe}=Fe[Ue];if(!qe)return;Ie==null||Ie(qe);const At=qe.el.offsetHeight,Dt=$e.split("-")[0];Fe.splice(Ue,1);const Lt=Fe.length;if(!(Lt<1))for(let jt=Ue;jt{$e.component.exposed.visible.value=!1})}notify.closeAll=closeAll;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]),nprogress$1={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT */(function(xe,$e){(function(Ie,Fe){xe.exports=Fe()})(commonjsGlobal,function(){var Ie={};Ie.version="0.2.0";var Fe=Ie.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
    '};Ie.configure=function(wn){var kn,Cn;for(kn in wn)Cn=wn[kn],Cn!==void 0&&wn.hasOwnProperty(kn)&&(Fe[kn]=Cn);return this},Ie.status=null,Ie.set=function(wn){var kn=Ie.isStarted();wn=Ue(wn,Fe.minimum,1),Ie.status=wn===1?null:wn;var Cn=Ie.render(!kn),Sn=Cn.querySelector(Fe.barSelector),xn=Fe.speed,En=Fe.easing;return Cn.offsetWidth,Dt(function(Tn){Fe.positionUsing===""&&(Fe.positionUsing=Ie.getPositioningCSS()),Lt(Sn,At(wn,xn,En)),wn===1?(Lt(Cn,{transition:"none",opacity:1}),Cn.offsetWidth,setTimeout(function(){Lt(Cn,{transition:"all "+xn+"ms linear",opacity:0}),setTimeout(function(){Ie.remove(),Tn()},xn)},xn)):setTimeout(Tn,xn)}),this},Ie.isStarted=function(){return typeof Ie.status=="number"},Ie.start=function(){Ie.status||Ie.set(0);var wn=function(){setTimeout(function(){Ie.status&&(Ie.trickle(),wn())},Fe.trickleSpeed)};return Fe.trickle&&wn(),this},Ie.done=function(wn){return!wn&&!Ie.status?this:Ie.inc(.3+.5*Math.random()).set(1)},Ie.inc=function(wn){var kn=Ie.status;return kn?(typeof wn!="number"&&(wn=(1-kn)*Ue(Math.random()*kn,.1,.95)),kn=Ue(kn+wn,0,.994),Ie.set(kn)):Ie.start()},Ie.trickle=function(){return Ie.inc(Math.random()*Fe.trickleRate)},function(){var wn=0,kn=0;Ie.promise=function(Cn){return!Cn||Cn.state()==="resolved"?this:(kn===0&&Ie.start(),wn++,kn++,Cn.always(function(){kn--,kn===0?(wn=0,Ie.done()):Ie.set((wn-kn)/wn)}),this)}}(),Ie.render=function(wn){if(Ie.isRendered())return document.getElementById("nprogress");hn(document.documentElement,"nprogress-busy");var kn=document.createElement("div");kn.id="nprogress",kn.innerHTML=Fe.template;var Cn=kn.querySelector(Fe.barSelector),Sn=wn?"-100":qe(Ie.status||0),xn=document.querySelector(Fe.parent),En;return Lt(Cn,{transition:"all 0 linear",transform:"translate3d("+Sn+"%,0,0)"}),Fe.showSpinner||(En=kn.querySelector(Fe.spinnerSelector),En&&_n(En)),xn!=document.body&&hn(xn,"nprogress-custom-parent"),xn.appendChild(kn),kn},Ie.remove=function(){vn(document.documentElement,"nprogress-busy"),vn(document.querySelector(Fe.parent),"nprogress-custom-parent");var wn=document.getElementById("nprogress");wn&&_n(wn)},Ie.isRendered=function(){return!!document.getElementById("nprogress")},Ie.getPositioningCSS=function(){var wn=document.body.style,kn="WebkitTransform"in wn?"Webkit":"MozTransform"in wn?"Moz":"msTransform"in wn?"ms":"OTransform"in wn?"O":"";return kn+"Perspective"in wn?"translate3d":kn+"Transform"in wn?"translate":"margin"};function Ue(wn,kn,Cn){return wnCn?Cn:wn}function qe(wn){return(-1+wn)*100}function At(wn,kn,Cn){var Sn;return Fe.positionUsing==="translate3d"?Sn={transform:"translate3d("+qe(wn)+"%,0,0)"}:Fe.positionUsing==="translate"?Sn={transform:"translate("+qe(wn)+"%,0)"}:Sn={"margin-left":qe(wn)+"%"},Sn.transition="all "+kn+"ms "+Cn,Sn}var Dt=function(){var wn=[];function kn(){var Cn=wn.shift();Cn&&Cn(kn)}return function(Cn){wn.push(Cn),wn.length==1&&kn()}}(),Lt=function(){var wn=["Webkit","O","Moz","ms"],kn={};function Cn(Tn){return Tn.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(An,$n){return $n.toUpperCase()})}function Sn(Tn){var An=document.body.style;if(Tn in An)return Tn;for(var $n=wn.length,Pn=Tn.charAt(0).toUpperCase()+Tn.slice(1),Nn;$n--;)if(Nn=wn[$n]+Pn,Nn in An)return Nn;return Tn}function xn(Tn){return Tn=Cn(Tn),kn[Tn]||(kn[Tn]=Sn(Tn))}function En(Tn,An,$n){An=xn(An),Tn.style[An]=$n}return function(Tn,An){var $n=arguments,Pn,Nn;if($n.length==2)for(Pn in An)Nn=An[Pn],Nn!==void 0&&An.hasOwnProperty(Pn)&&En(Tn,Pn,Nn);else En(Tn,$n[1],$n[2])}}();function jt(wn,kn){var Cn=typeof wn=="string"?wn:bn(wn);return Cn.indexOf(" "+kn+" ")>=0}function hn(wn,kn){var Cn=bn(wn),Sn=Cn+kn;jt(Cn,kn)||(wn.className=Sn.substring(1))}function vn(wn,kn){var Cn=bn(wn),Sn;jt(wn,kn)&&(Sn=Cn.replace(" "+kn+" "," "),wn.className=Sn.substring(1,Sn.length-1))}function bn(wn){return(" "+(wn.className||"")+" ").replace(/\s+/gi," ")}function _n(wn){wn&&wn.parentNode&&wn.parentNode.removeChild(wn)}return Ie})})(nprogress$1);var nprogressExports=nprogress$1.exports;const nprogress=getDefaultExportFromCjs(nprogressExports);function tryOnScopeDispose(xe){return getCurrentScope()?(onScopeDispose(xe),!0):!1}function toValue(xe){return typeof xe=="function"?xe():unref(xe)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString=Object.prototype.toString,isObject$4=xe=>toString.call(xe)==="[object Object]",noop$1=()=>{};function createSingletonPromise(xe){let $e;function Ie(){return $e||($e=xe()),$e}return Ie.reset=async()=>{const Fe=$e;$e=void 0,Fe&&await Fe},Ie}function getLifeCycleTarget(xe){return getCurrentInstance()}function tryOnMounted(xe,$e=!0,Ie){getLifeCycleTarget()?onMounted(xe,Ie):$e?xe():nextTick(xe)}function useTimeoutFn(xe,$e,Ie={}){const{immediate:Fe=!0}=Ie,Ue=ref(!1);let qe=null;function At(){qe&&(clearTimeout(qe),qe=null)}function Dt(){Ue.value=!1,At()}function Lt(...jt){At(),Ue.value=!0,qe=setTimeout(()=>{Ue.value=!1,qe=null,xe(...jt)},toValue($e))}return Fe&&(Ue.value=!0,isClient&&Lt()),tryOnScopeDispose(Dt),{isPending:readonly(Ue),start:Lt,stop:Dt}}function useNProgress(xe=null,$e){const Ie=ref(xe),Fe=computed({set:qe=>qe?nprogress.start():nprogress.done(),get:()=>typeof Ie.value=="number"&&Ie.value<1}),Ue=nprogress.set;return nprogress.set=qe=>(Ie.value=qe,Ue.call(nprogress,qe)),watchEffect(()=>{typeof Ie.value=="number"&&isClient&&Ue.call(nprogress,Ie.value)}),tryOnScopeDispose(nprogress.remove),{isLoading:Fe,progress:Ie,start:nprogress.start,done:nprogress.done,remove:()=>{Ie.value=null,nprogress.remove()}}}const pinia=createPinia(),useKeepAliveStore=defineStore("keepAlive",()=>{const xe=ref([]);function $e(Ue){typeof Ue=="string"?!xe.value.includes(Ue)&&xe.value.push(Ue):Ue.forEach(qe=>{qe&&!xe.value.includes(qe)&&xe.value.push(qe)})}function Ie(Ue){typeof Ue=="string"?xe.value=xe.value.filter(qe=>qe!==Ue):xe.value=xe.value.filter(qe=>!Ue.includes(qe))}function Fe(){xe.value=[]}return{list:xe,add:$e,remove:Ie,clean:Fe}}),menus={meta:{title:"多级导航",icon:"heroicons-solid:menu-alt-3"},children:[{path:"/multilevel_menu_example/page",meta:{title:"导航1"}},{meta:{title:"导航2"},children:[{path:"/multilevel_menu_example/level2/page",meta:{title:"导航2-1"}},{meta:{title:"导航2-2"},children:[{path:"/multilevel_menu_example/level2/level3/page1",meta:{title:"导航2-2-1"}},{path:"/multilevel_menu_example/level2/level3/page2",meta:{title:"导航2-2-2"}}]}]}]},menu=[{meta:{title:"演示",icon:"uim:box"},children:[menus]}];function assertPath(xe){if(typeof xe!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(xe))}function normalizeStringPosix(xe,$e){for(var Ie="",Fe=0,Ue=-1,qe=0,At,Dt=0;Dt<=xe.length;++Dt){if(Dt2){var Lt=Ie.lastIndexOf("/");if(Lt!==Ie.length-1){Lt===-1?(Ie="",Fe=0):(Ie=Ie.slice(0,Lt),Fe=Ie.length-1-Ie.lastIndexOf("/")),Ue=Dt,qe=0;continue}}else if(Ie.length===2||Ie.length===1){Ie="",Fe=0,Ue=Dt,qe=0;continue}}$e&&(Ie.length>0?Ie+="/..":Ie="..",Fe=2)}else Ie.length>0?Ie+="/"+xe.slice(Ue+1,Dt):Ie=xe.slice(Ue+1,Dt),Fe=Dt-Ue-1;Ue=Dt,qe=0}else At===46&&qe!==-1?++qe:qe=-1}return Ie}function _format(xe,$e){var Ie=$e.dir||$e.root,Fe=$e.base||($e.name||"")+($e.ext||"");return Ie?Ie===$e.root?Ie+Fe:Ie+xe+Fe:Fe}var posix={resolve:function xe(){for(var $e="",Ie=!1,Fe,Ue=arguments.length-1;Ue>=-1&&!Ie;Ue--){var qe;Ue>=0?qe=arguments[Ue]:(Fe===void 0&&(Fe=process.cwd()),qe=Fe),assertPath(qe),qe.length!==0&&($e=qe+"/"+$e,Ie=qe.charCodeAt(0)===47)}return $e=normalizeStringPosix($e,!Ie),Ie?$e.length>0?"/"+$e:"/":$e.length>0?$e:"."},normalize:function xe($e){if(assertPath($e),$e.length===0)return".";var Ie=$e.charCodeAt(0)===47,Fe=$e.charCodeAt($e.length-1)===47;return $e=normalizeStringPosix($e,!Ie),$e.length===0&&!Ie&&($e="."),$e.length>0&&Fe&&($e+="/"),Ie?"/"+$e:$e},isAbsolute:function xe($e){return assertPath($e),$e.length>0&&$e.charCodeAt(0)===47},join:function xe(){if(arguments.length===0)return".";for(var $e,Ie=0;Ie0&&($e===void 0?$e=Fe:$e+="/"+Fe)}return $e===void 0?".":posix.normalize($e)},relative:function xe($e,Ie){if(assertPath($e),assertPath(Ie),$e===Ie||($e=posix.resolve($e),Ie=posix.resolve(Ie),$e===Ie))return"";for(var Fe=1;Fe<$e.length&&$e.charCodeAt(Fe)===47;++Fe);for(var Ue=$e.length,qe=Ue-Fe,At=1;Atjt){if(Ie.charCodeAt(At+vn)===47)return Ie.slice(At+vn+1);if(vn===0)return Ie.slice(At+vn)}else qe>jt&&($e.charCodeAt(Fe+vn)===47?hn=vn:vn===0&&(hn=0));break}var bn=$e.charCodeAt(Fe+vn),_n=Ie.charCodeAt(At+vn);if(bn!==_n)break;bn===47&&(hn=vn)}var wn="";for(vn=Fe+hn+1;vn<=Ue;++vn)(vn===Ue||$e.charCodeAt(vn)===47)&&(wn.length===0?wn+="..":wn+="/..");return wn.length>0?wn+Ie.slice(At+hn):(At+=hn,Ie.charCodeAt(At)===47&&++At,Ie.slice(At))},_makeLong:function xe($e){return $e},dirname:function xe($e){if(assertPath($e),$e.length===0)return".";for(var Ie=$e.charCodeAt(0),Fe=Ie===47,Ue=-1,qe=!0,At=$e.length-1;At>=1;--At)if(Ie=$e.charCodeAt(At),Ie===47){if(!qe){Ue=At;break}}else qe=!1;return Ue===-1?Fe?"/":".":Fe&&Ue===1?"//":$e.slice(0,Ue)},basename:function xe($e,Ie){if(Ie!==void 0&&typeof Ie!="string")throw new TypeError('"ext" argument must be a string');assertPath($e);var Fe=0,Ue=-1,qe=!0,At;if(Ie!==void 0&&Ie.length>0&&Ie.length<=$e.length){if(Ie.length===$e.length&&Ie===$e)return"";var Dt=Ie.length-1,Lt=-1;for(At=$e.length-1;At>=0;--At){var jt=$e.charCodeAt(At);if(jt===47){if(!qe){Fe=At+1;break}}else Lt===-1&&(qe=!1,Lt=At+1),Dt>=0&&(jt===Ie.charCodeAt(Dt)?--Dt===-1&&(Ue=At):(Dt=-1,Ue=Lt))}return Fe===Ue?Ue=Lt:Ue===-1&&(Ue=$e.length),$e.slice(Fe,Ue)}else{for(At=$e.length-1;At>=0;--At)if($e.charCodeAt(At)===47){if(!qe){Fe=At+1;break}}else Ue===-1&&(qe=!1,Ue=At+1);return Ue===-1?"":$e.slice(Fe,Ue)}},extname:function xe($e){assertPath($e);for(var Ie=-1,Fe=0,Ue=-1,qe=!0,At=0,Dt=$e.length-1;Dt>=0;--Dt){var Lt=$e.charCodeAt(Dt);if(Lt===47){if(!qe){Fe=Dt+1;break}continue}Ue===-1&&(qe=!1,Ue=Dt+1),Lt===46?Ie===-1?Ie=Dt:At!==1&&(At=1):Ie!==-1&&(At=-1)}return Ie===-1||Ue===-1||At===0||At===1&&Ie===Ue-1&&Ie===Fe+1?"":$e.slice(Ie,Ue)},format:function xe($e){if($e===null||typeof $e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof $e);return _format("/",$e)},parse:function xe($e){assertPath($e);var Ie={root:"",dir:"",base:"",ext:"",name:""};if($e.length===0)return Ie;var Fe=$e.charCodeAt(0),Ue=Fe===47,qe;Ue?(Ie.root="/",qe=1):qe=0;for(var At=-1,Dt=0,Lt=-1,jt=!0,hn=$e.length-1,vn=0;hn>=qe;--hn){if(Fe=$e.charCodeAt(hn),Fe===47){if(!jt){Dt=hn+1;break}continue}Lt===-1&&(jt=!1,Lt=hn+1),Fe===46?At===-1?At=hn:vn!==1&&(vn=1):At!==-1&&(vn=-1)}return At===-1||Lt===-1||vn===0||vn===1&&At===Lt-1&&At===Dt+1?Lt!==-1&&(Dt===0&&Ue?Ie.base=Ie.name=$e.slice(1,Lt):Ie.base=Ie.name=$e.slice(Dt,Lt)):(Dt===0&&Ue?(Ie.name=$e.slice(1,At),Ie.base=$e.slice(1,Lt)):(Ie.name=$e.slice(Dt,At),Ie.base=$e.slice(Dt,Lt)),Ie.ext=$e.slice(At,Lt)),Dt>0?Ie.dir=$e.slice(0,Dt-1):Ue&&(Ie.dir="/"),Ie},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix;const path=getDefaultExportFromCjs(pathBrowserify);function resolveRoutePath(xe,$e){return xe?path.resolve(xe,$e??""):$e??""}const scriptRel="modulepreload",assetsURL=function(xe,$e){return new URL(xe,$e).href},seen={},__vitePreload=function xe($e,Ie,Fe){let Ue=Promise.resolve();if(Ie&&Ie.length>0){const qe=document.getElementsByTagName("link"),At=document.querySelector("meta[property=csp-nonce]"),Dt=(At==null?void 0:At.nonce)||(At==null?void 0:At.getAttribute("nonce"));Ue=Promise.all(Ie.map(Lt=>{if(Lt=assetsURL(Lt,Fe),Lt in seen)return;seen[Lt]=!0;const jt=Lt.endsWith(".css"),hn=jt?'[rel="stylesheet"]':"";if(!!Fe)for(let _n=qe.length-1;_n>=0;_n--){const wn=qe[_n];if(wn.href===Lt&&(!jt||wn.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${Lt}"]${hn}`))return;const bn=document.createElement("link");if(bn.rel=jt?"stylesheet":scriptRel,jt||(bn.as="script",bn.crossOrigin=""),bn.href=Lt,Dt&&bn.setAttribute("nonce",Dt),document.head.appendChild(bn),jt)return new Promise((_n,wn)=>{bn.addEventListener("load",_n),bn.addEventListener("error",()=>wn(new Error(`Unable to preload CSS for ${Lt}`)))})}))}return Ue.then(()=>$e()).catch(qe=>{const At=new Event("vite:preloadError",{cancelable:!0});if(At.payload=qe,window.dispatchEvent(At),!At.defaultPrevented)throw qe})},apiDashboard={getBaseInfo:()=>api.get("/statistic/base"),getChatStatistic:xe=>api.get("/statistic/chatStatistic",{params:{days:xe.days}}),getBaiduVisit:xe=>api.get("/statistic/baiduVisit",{params:{days:xe.days}}),getObserverCharts:xe=>api.get("/statistic/observerCharts",{params:xe})};/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -480,17 +480,17 @@ PERFORMANCE OF THIS SOFTWARE. `):[];var bn=vn.length*Dt,_n=retrieve2($e.height,bn);if(bn>_n&&jt){var wn=Math.floor(_n/Dt);vn=vn.slice(0,wn)}if(xe&&qe&&hn!=null)for(var kn=prepareTruncateOptions(hn,Ue,$e.ellipsis,{minChar:$e.truncateMinChar,placeholder:$e.placeholder}),Cn=0;CnDt&&pushTokens(Ie,xe.substring(Dt,jt),$e,At),pushTokens(Ie,Lt[2],$e,At,Lt[1]),Dt=STYLE_REG.lastIndex}DtUe){An>0?(xn.tokens=xn.tokens.slice(0,An),Cn(xn,Tn,En),Ie.lines=Ie.lines.slice(0,Sn+1)):Ie.lines=Ie.lines.slice(0,Sn);break e}var Rn=Pn.width,Bn=Rn==null||Rn==="auto";if(typeof Rn=="string"&&Rn.charAt(Rn.length-1)==="%")$n.percentWidth=Rn,hn.push($n),$n.contentWidth=getWidth($n.text,In);else{if(Bn){var Vn=Pn.backgroundColor,Ln=Vn&&Vn.image;Ln&&(Ln=findExistImage(Ln),isImageReady(Ln)&&($n.width=Math.max($n.width,Ln.width*On/Ln.height)))}var Dn=wn&&Fe!=null?Fe-Tn:null;Dn!=null&&Dn<$n.width?!Bn||Dn0&&wn+Fe.accumWidth>Fe.width&&(hn=$e.split(` `),jt=!0),Fe.accumWidth=wn}else{var kn=wrapText($e,Lt,Fe.width,Fe.breakAll,Fe.accumWidth);Fe.accumWidth=kn.accumWidth+_n,vn=kn.linesWidths,hn=kn.lines}}else hn=$e.split(` `);for(var Cn=0;Cn=32&&$e<=591||$e>=880&&$e<=4351||$e>=4608&&$e<=5119||$e>=7680&&$e<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function(xe,$e){return xe[$e]=!0,xe},{});function isWordBreakChar(xe){return isAlphabeticLetter(xe)?!!breakCharMap[xe]:!0}function wrapText(xe,$e,Ie,Fe,Ue){for(var qe=[],At=[],Dt="",Lt="",jt=0,hn=0,vn=0;vnIe:Ue+hn+_n>Ie){hn?(Dt||Lt)&&(wn?(Dt||(Dt=Lt,Lt="",jt=0,hn=jt),qe.push(Dt),At.push(hn-jt),Lt+=bn,jt+=_n,Dt="",hn=jt):(Lt&&(Dt+=Lt,Lt="",jt=0),qe.push(Dt),At.push(hn),Dt=bn,hn=_n)):wn?(qe.push(Lt),At.push(jt),Lt=bn,jt=_n):(qe.push(bn),At.push(_n));continue}hn+=_n,wn?(Lt+=bn,jt+=_n):(Lt&&(Dt+=Lt,Lt="",jt=0),Dt+=bn)}return!qe.length&&!Dt&&(Dt=xe,Lt="",jt=0),Lt&&(Dt+=Lt),Dt&&(qe.push(Dt),At.push(hn)),qe.length===1&&(hn+=Ue),{accumWidth:hn,lines:qe,linesWidths:At}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype._init=function(Ie){for(var Fe=keys(Ie),Ue=0;Ue1e-4){Dt[0]=xe-Ie,Dt[1]=$e-Fe,Lt[0]=xe+Ie,Lt[1]=$e+Fe;return}if(start[0]=mathCos$4(Ue)*Ie+xe,start[1]=mathSin$4(Ue)*Fe+$e,end[0]=mathCos$4(qe)*Ie+xe,end[1]=mathSin$4(qe)*Fe+$e,jt(Dt,start,end),hn(Lt,start,end),Ue=Ue%PI2$8,Ue<0&&(Ue=Ue+PI2$8),qe=qe%PI2$8,qe<0&&(qe=qe+PI2$8),Ue>qe&&!At?qe+=PI2$8:UeUe&&(extremity[0]=mathCos$4(_n)*Ie+xe,extremity[1]=mathSin$4(_n)*Fe+$e,jt(Dt,extremity,Dt),hn(Lt,extremity,Lt))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=PI$8*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(xe){var $e=Math.round(xe/PI$8*1e8)/1e8;return $e%2*PI$8}function normalizeArcAngles(xe,$e){var Ie=modPI2(xe[0]);Ie<0&&(Ie+=PI2$7);var Fe=Ie-xe[0],Ue=xe[1];Ue+=Fe,!$e&&Ue-Ie>=PI2$7?Ue=Ie+PI2$7:$e&&Ie-Ue>=PI2$7?Ue=Ie-PI2$7:!$e&&Ie>Ue?Ue=Ie+(PI2$7-modPI2(Ie-Ue)):$e&&Ie0&&(this._ux=mathAbs$2(Fe/devicePixelRatio/$e)||0,this._uy=mathAbs$2(Fe/devicePixelRatio/Ie)||0)},xe.prototype.setDPR=function($e){this.dpr=$e},xe.prototype.setContext=function($e){this._ctx=$e},xe.prototype.getContext=function(){return this._ctx},xe.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},xe.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},xe.prototype.moveTo=function($e,Ie){return this._drawPendingPt(),this.addData(CMD$4.M,$e,Ie),this._ctx&&this._ctx.moveTo($e,Ie),this._x0=$e,this._y0=Ie,this._xi=$e,this._yi=Ie,this},xe.prototype.lineTo=function($e,Ie){var Fe=mathAbs$2($e-this._xi),Ue=mathAbs$2(Ie-this._yi),qe=Fe>this._ux||Ue>this._uy;if(this.addData(CMD$4.L,$e,Ie),this._ctx&&qe&&this._ctx.lineTo($e,Ie),qe)this._xi=$e,this._yi=Ie,this._pendingPtDist=0;else{var At=Fe*Fe+Ue*Ue;At>this._pendingPtDist&&(this._pendingPtX=$e,this._pendingPtY=Ie,this._pendingPtDist=At)}return this},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){return this._drawPendingPt(),this.addData(CMD$4.C,$e,Ie,Fe,Ue,qe,At),this._ctx&&this._ctx.bezierCurveTo($e,Ie,Fe,Ue,qe,At),this._xi=qe,this._yi=At,this},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this.addData(CMD$4.Q,$e,Ie,Fe,Ue),this._ctx&&this._ctx.quadraticCurveTo($e,Ie,Fe,Ue),this._xi=Fe,this._yi=Ue,this},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this._drawPendingPt(),tmpAngles[0]=Ue,tmpAngles[1]=qe,normalizeArcAngles(tmpAngles,At),Ue=tmpAngles[0],qe=tmpAngles[1];var Dt=qe-Ue;return this.addData(CMD$4.A,$e,Ie,Fe,Fe,Ue,Dt,0,At?0:1),this._ctx&&this._ctx.arc($e,Ie,Fe,Ue,qe,At),this._xi=mathCos$3(qe)*Fe+$e,this._yi=mathSin$3(qe)*Fe+Ie,this},xe.prototype.arcTo=function($e,Ie,Fe,Ue,qe){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo($e,Ie,Fe,Ue,qe),this},xe.prototype.rect=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this._ctx&&this._ctx.rect($e,Ie,Fe,Ue),this.addData(CMD$4.R,$e,Ie,Fe,Ue),this},xe.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.Z);var $e=this._ctx,Ie=this._x0,Fe=this._y0;return $e&&$e.closePath(),this._xi=Ie,this._yi=Fe,this},xe.prototype.fill=function($e){$e&&$e.fill(),this.toStatic()},xe.prototype.stroke=function($e){$e&&$e.stroke(),this.toStatic()},xe.prototype.len=function(){return this._len},xe.prototype.setData=function($e){var Ie=$e.length;!(this.data&&this.data.length===Ie)&&hasTypedArray&&(this.data=new Float32Array(Ie));for(var Fe=0;Fehn.length&&(this._expandData(),hn=this.data);for(var vn=0;vn0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},xe.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var $e=[],Ie=0;Ie11&&(this.data=new Float32Array($e)))}},xe.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var $e=this.data,Ie=0,Fe=0,Ue=0,qe=0,At;for(At=0;AtFe||mathAbs$2(En)>Ue||bn===Ie-1)&&(kn=Math.sqrt(xn*xn+En*En),qe=Cn,At=Sn);break}case CMD$4.C:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++],$n=$e[bn++],Pn=$e[bn++];kn=cubicLength(qe,At,Tn,An,Cn,Sn,$n,Pn,10),qe=$n,At=Pn;break}case CMD$4.Q:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++];kn=quadraticLength(qe,At,Tn,An,Cn,Sn,10),qe=Cn,At=Sn;break}case CMD$4.A:var Nn=$e[bn++],Mn=$e[bn++],In=$e[bn++],On=$e[bn++],Rn=$e[bn++],Bn=$e[bn++],Vn=Bn+Rn;bn+=1,wn&&(Dt=mathCos$3(Rn)*In+Nn,Lt=mathSin$3(Rn)*On+Mn),kn=mathMax$8(In,On)*mathMin$8(PI2$7,Math.abs(Bn)),qe=mathCos$3(Vn)*In+Nn,At=mathSin$3(Vn)*On+Mn;break;case CMD$4.R:{Dt=qe=$e[bn++],Lt=At=$e[bn++];var Ln=$e[bn++],Dn=$e[bn++];kn=Ln*2+Dn*2;break}case CMD$4.Z:{var xn=Dt-qe,En=Lt-At;kn=Math.sqrt(xn*xn+En*En),qe=Dt,At=Lt;break}}kn>=0&&(jt[vn++]=kn,hn+=kn)}return this._pathLen=hn,hn},xe.prototype.rebuildPath=function($e,Ie){var Fe=this.data,Ue=this._ux,qe=this._uy,At=this._len,Dt,Lt,jt,hn,vn,bn,_n=Ie<1,wn,kn,Cn=0,Sn=0,xn,En=0,Tn,An;if(!(_n&&(this._pathSegLen||this._calculateLength(),wn=this._pathSegLen,kn=this._pathLen,xn=Ie*kn,!xn)))e:for(var $n=0;$n0&&($e.lineTo(Tn,An),En=0),Pn){case CMD$4.M:Dt=jt=Fe[$n++],Lt=hn=Fe[$n++],$e.moveTo(jt,hn);break;case CMD$4.L:{vn=Fe[$n++],bn=Fe[$n++];var Mn=mathAbs$2(vn-jt),In=mathAbs$2(bn-hn);if(Mn>Ue||In>qe){if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+vn*Rn,hn*(1-Rn)+bn*Rn);break e}Cn+=On}$e.lineTo(vn,bn),jt=vn,hn=bn,En=0}else{var Bn=Mn*Mn+In*In;Bn>En&&(Tn=vn,An=bn,En=Bn)}break}case CMD$4.C:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++],Fn=Fe[$n++],zn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;cubicSubdivide(jt,Vn,Dn,Fn,Rn,tmpOutX),cubicSubdivide(hn,Ln,Hn,zn,Rn,tmpOutY),$e.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}Cn+=On}$e.bezierCurveTo(Vn,Ln,Dn,Hn,Fn,zn),jt=Fn,hn=zn;break}case CMD$4.Q:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;quadraticSubdivide(jt,Vn,Dn,Rn,tmpOutX),quadraticSubdivide(hn,Ln,Hn,Rn,tmpOutY),$e.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}Cn+=On}$e.quadraticCurveTo(Vn,Ln,Dn,Hn),jt=Dn,hn=Hn;break}case CMD$4.A:var jn=Fe[$n++],Gn=Fe[$n++],Wn=Fe[$n++],Xn=Fe[$n++],er=Fe[$n++],rr=Fe[$n++],Jn=Fe[$n++],Yn=!Fe[$n++],qn=Wn>Xn?Wn:Xn,ar=mathAbs$2(Wn-Xn)>.001,tr=er+rr,or=!1;if(_n){var On=wn[Sn++];Cn+On>xn&&(tr=er+rr*(xn-Cn)/On,or=!0),Cn+=On}if(ar&&$e.ellipse?$e.ellipse(jn,Gn,Wn,Xn,Jn,er,tr,Yn):$e.arc(jn,Gn,qn,er,tr,Yn),or)break e;Nn&&(Dt=mathCos$3(er)*Wn+jn,Lt=mathSin$3(er)*Xn+Gn),jt=mathCos$3(tr)*Wn+jn,hn=mathSin$3(tr)*Xn+Gn;break;case CMD$4.R:Dt=jt=Fe[$n],Lt=hn=Fe[$n+1],vn=Fe[$n++],bn=Fe[$n++];var sr=Fe[$n++],Kn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Zn=xn-Cn;$e.moveTo(vn,bn),$e.lineTo(vn+mathMin$8(Zn,sr),bn),Zn-=sr,Zn>0&&$e.lineTo(vn+sr,bn+mathMin$8(Zn,Kn)),Zn-=Kn,Zn>0&&$e.lineTo(vn+mathMax$8(sr-Zn,0),bn+Kn),Zn-=sr,Zn>0&&$e.lineTo(vn,bn+mathMax$8(Kn-Zn,0));break e}Cn+=On}$e.rect(vn,bn,sr,Kn);break;case CMD$4.Z:if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+Dt*Rn,hn*(1-Rn)+Lt*Rn);break e}Cn+=On}$e.closePath(),jt=Dt,hn=Lt}}},xe.prototype.clone=function(){var $e=new xe,Ie=this.data;return $e.data=Ie.slice?Ie.slice():Array.prototype.slice.call(Ie),$e._len=this._len,$e},xe.CMD=CMD$4,xe.initDefaultProps=function(){var $e=xe.prototype;$e._saveData=!0,$e._ux=0,$e._uy=0,$e._pendingPtDist=0,$e._version=0}(),xe}();function containStroke$4(xe,$e,Ie,Fe,Ue,qe,At){if(Ue===0)return!1;var Dt=Ue,Lt=0,jt=xe;if(At>$e+Dt&&At>Fe+Dt||At<$e-Dt&&Atxe+Dt&&qe>Ie+Dt||qe$e+vn&&hn>Fe+vn&&hn>qe+vn&&hn>Dt+vn||hn<$e-vn&&hnxe+vn&&jt>Ie+vn&&jt>Ue+vn&&jt>At+vn||jt$e+jt&&Lt>Fe+jt&&Lt>qe+jt||Lt<$e-jt&&Ltxe+jt&&Dt>Ie+jt&&Dt>Ue+jt||DtIe||hn+jtUe&&(Ue+=PI2$5);var bn=Math.atan2(Lt,Dt);return bn<0&&(bn+=PI2$5),bn>=Fe&&bn<=Ue||bn+PI2$5>=Fe&&bn+PI2$5<=Ue}function windingLine(xe,$e,Ie,Fe,Ue,qe){if(qe>$e&&qe>Fe||qe<$e&&qeUe?Dt:0}var CMD$3=PathProxy.CMD,PI2$4=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(xe,$e){return Math.abs(xe-$e)$e&&jt>Fe&&jt>qe&&jt>Dt||jt<$e&&jt1&&swapExtrema(),_n=cubicAt($e,Fe,qe,Dt,extrema[0]),bn>1&&(wn=cubicAt($e,Fe,qe,Dt,extrema[1]))),bn===2?Cn$e&&Dt>Fe&&Dt>qe||Dt<$e&&Dt=0&&jt<=1){for(var hn=0,vn=quadraticAt$1($e,Fe,qe,jt),bn=0;bnIe||Dt<-Ie)return 0;var Lt=Math.sqrt(Ie*Ie-Dt*Dt);roots[0]=-Lt,roots[1]=Lt;var jt=Math.abs(Fe-Ue);if(jt<1e-4)return 0;if(jt>=PI2$4-1e-4){Fe=0,Ue=PI2$4;var hn=qe?1:-1;return At>=roots[0]+xe&&At<=roots[1]+xe?hn:0}if(Fe>Ue){var vn=Fe;Fe=Ue,Ue=vn}Fe<0&&(Fe+=PI2$4,Ue+=PI2$4);for(var bn=0,_n=0;_n<2;_n++){var wn=roots[_n];if(wn+xe>At){var kn=Math.atan2(Dt,wn),hn=qe?1:-1;kn<0&&(kn=PI2$4+kn),(kn>=Fe&&kn<=Ue||kn+PI2$4>=Fe&&kn+PI2$4<=Ue)&&(kn>Math.PI/2&&kn1&&(Ie||(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue))),Cn&&(Lt=qe[wn],jt=qe[wn+1],hn=Lt,vn=jt),kn){case CMD$3.M:hn=qe[wn++],vn=qe[wn++],Lt=hn,jt=vn;break;case CMD$3.L:if(Ie){if(containStroke$4(Lt,jt,qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.C:if(Ie){if(containStroke$3(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingCubic(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.Q:if(Ie){if(containStroke$2(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingQuadratic(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.A:var Sn=qe[wn++],xn=qe[wn++],En=qe[wn++],Tn=qe[wn++],An=qe[wn++],$n=qe[wn++];wn+=1;var Pn=!!(1-qe[wn++]);bn=Math.cos(An)*En+Sn,_n=Math.sin(An)*Tn+xn,Cn?(hn=bn,vn=_n):Dt+=windingLine(Lt,jt,bn,_n,Fe,Ue);var Nn=(Fe-Sn)*Tn/En+Sn;if(Ie){if(containStroke$1(Sn,xn,Tn,An,An+$n,Pn,$e,Nn,Ue))return!0}else Dt+=windingArc(Sn,xn,Tn,An,An+$n,Pn,Nn,Ue);Lt=Math.cos(An+$n)*En+Sn,jt=Math.sin(An+$n)*Tn+xn;break;case CMD$3.R:hn=Lt=qe[wn++],vn=jt=qe[wn++];var Mn=qe[wn++],In=qe[wn++];if(bn=hn+Mn,_n=vn+In,Ie){if(containStroke$4(hn,vn,bn,vn,$e,Fe,Ue)||containStroke$4(bn,vn,bn,_n,$e,Fe,Ue)||containStroke$4(bn,_n,hn,_n,$e,Fe,Ue)||containStroke$4(hn,_n,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(bn,vn,bn,_n,Fe,Ue),Dt+=windingLine(hn,_n,hn,vn,Fe,Ue);break;case CMD$3.Z:if(Ie){if(containStroke$4(Lt,jt,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue);Lt=hn,jt=vn;break}}return!Ie&&!isAroundEqual$1(jt,vn)&&(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue)||0),Dt!==0}function contain$2(xe,$e,Ie){return containPath(xe,0,!1,$e,Ie)}function containStroke(xe,$e,Ie,Fe){return containPath(xe,$e,!0,Ie,Fe)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.update=function(){var Ie=this;xe.prototype.update.call(this);var Fe=this.style;if(Fe.decal){var Ue=this._decalEl=this._decalEl||new $e;Ue.buildPath===$e.prototype.buildPath&&(Ue.buildPath=function(Lt){Ie.buildPath(Lt,Ie.shape)}),Ue.silent=!0;var qe=Ue.style;for(var At in Fe)qe[At]!==Fe[At]&&(qe[At]=Fe[At]);qe.fill=Fe.fill?Fe.decal:null,qe.decal=null,qe.shadowColor=null,Fe.strokeFirst&&(qe.stroke=null);for(var Dt=0;Dt.5?DARK_LABEL_COLOR:Fe>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(Ie)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},$e.prototype.getInsideTextStroke=function(Ie){var Fe=this.style.fill;if(isString(Fe)){var Ue=this.__zr,qe=!!(Ue&&Ue.isDarkMode()),At=lum(Ie,0)0))},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.getBoundingRect=function(){var Ie=this._rect,Fe=this.style,Ue=!Ie;if(Ue){var qe=!1;this.path||(qe=!0,this.createPathProxy());var At=this.path;(qe||this.__dirty&SHAPE_CHANGED_BIT)&&(At.beginPath(),this.buildPath(At,this.shape,!1),this.pathUpdated()),Ie=At.getBoundingRect()}if(this._rect=Ie,this.hasStroke()&&this.path&&this.path.len()>0){var Dt=this._rectStroke||(this._rectStroke=Ie.clone());if(this.__dirty||Ue){Dt.copy(Ie);var Lt=Fe.strokeNoScale?this.getLineScale():1,jt=Fe.lineWidth;if(!this.hasFill()){var hn=this.strokeContainThreshold;jt=Math.max(jt,hn??4)}Lt>1e-10&&(Dt.width+=jt/Lt,Dt.height+=jt/Lt,Dt.x-=jt/Lt/2,Dt.y-=jt/Lt/2)}return Dt}return Ie},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect(),At=this.style;if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var Dt=this.path;if(this.hasStroke()){var Lt=At.lineWidth,jt=At.strokeNoScale?this.getLineScale():1;if(jt>1e-10&&(this.hasFill()||(Lt=Math.max(Lt,this.strokeContainThreshold)),containStroke(Dt,Lt/jt,Ie,Fe)))return!0}if(this.hasFill())return contain$2(Dt,Ie,Fe)}return!1},$e.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},$e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},$e.prototype.animateShape=function(Ie){return this.animate("shape",Ie)},$e.prototype.updateDuringAnimation=function(Ie){Ie==="style"?this.dirtyStyle():Ie==="shape"?this.dirtyShape():this.markRedraw()},$e.prototype.attrKV=function(Ie,Fe){Ie==="shape"?this.setShape(Fe):xe.prototype.attrKV.call(this,Ie,Fe)},$e.prototype.setShape=function(Ie,Fe){var Ue=this.shape;return Ue||(Ue=this.shape={}),typeof Ie=="string"?Ue[Ie]=Fe:extend(Ue,Ie),this.dirtyShape(),this},$e.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_PATH_STYLE,Ie)},$e.prototype._innerSaveToNormal=function(Ie){xe.prototype._innerSaveToNormal.call(this,Ie);var Fe=this._normalState;Ie.shape&&!Fe.shape&&(Fe.shape=extend({},this.shape))},$e.prototype._applyStateObj=function(Ie,Fe,Ue,qe,At,Dt){xe.prototype._applyStateObj.call(this,Ie,Fe,Ue,qe,At,Dt);var Lt=!(Fe&&qe),jt;if(Fe&&Fe.shape?At?qe?jt=Fe.shape:(jt=extend({},Ue.shape),extend(jt,Fe.shape)):(jt=extend({},qe?this.shape:Ue.shape),extend(jt,Fe.shape)):Lt&&(jt=Ue.shape),jt)if(At){this.shape=extend({},this.shape);for(var hn={},vn=keys(jt),bn=0;bn0},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_TSPAN_STYLE,Ie)},$e.prototype.setBoundingRect=function(Ie){this._rect=Ie},$e.prototype.getBoundingRect=function(){var Ie=this.style;if(!this._rect){var Fe=Ie.text;Fe!=null?Fe+="":Fe="";var Ue=getBoundingRect(Fe,Ie.font,Ie.textAlign,Ie.textBaseline);if(Ue.x+=Ie.x||0,Ue.y+=Ie.y||0,this.hasStroke()){var qe=Ie.lineWidth;Ue.x-=qe/2,Ue.y-=qe/2,Ue.width+=qe,Ue.height+=qe}this._rect=Ue}return this._rect},$e.initDefaultProps=function(){var Ie=$e.prototype;Ie.dirtyRectTolerance=10}(),$e}(Displayable);TSpan.prototype.type="tspan";var DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(xe){return!!(xe&&typeof xe!="string"&&xe.width&&xe.height)}var ZRImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.createStyle=function(Ie){return createObject(DEFAULT_IMAGE_STYLE,Ie)},$e.prototype._getSize=function(Ie){var Fe=this.style,Ue=Fe[Ie];if(Ue!=null)return Ue;var qe=isImageLike$1(Fe.image)?Fe.image:this.__image;if(!qe)return 0;var At=Ie==="width"?"height":"width",Dt=Fe[At];return Dt==null?qe[Ie]:qe[Ie]/qe[At]*Dt},$e.prototype.getWidth=function(){return this._getSize("width")},$e.prototype.getHeight=function(){return this._getSize("height")},$e.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},$e.prototype.getBoundingRect=function(){var Ie=this.style;return this._rect||(this._rect=new BoundingRect(Ie.x||0,Ie.y||0,this.getWidth(),this.getHeight())),this._rect},$e}(Displayable);ZRImage.prototype.type="image";function buildPath$2(xe,$e){var Ie=$e.x,Fe=$e.y,Ue=$e.width,qe=$e.height,At=$e.r,Dt,Lt,jt,hn;Ue<0&&(Ie=Ie+Ue,Ue=-Ue),qe<0&&(Fe=Fe+qe,qe=-qe),typeof At=="number"?Dt=Lt=jt=hn=At:At instanceof Array?At.length===1?Dt=Lt=jt=hn=At[0]:At.length===2?(Dt=jt=At[0],Lt=hn=At[1]):At.length===3?(Dt=At[0],Lt=hn=At[1],jt=At[2]):(Dt=At[0],Lt=At[1],jt=At[2],hn=At[3]):Dt=Lt=jt=hn=0;var vn;Dt+Lt>Ue&&(vn=Dt+Lt,Dt*=Ue/vn,Lt*=Ue/vn),jt+hn>Ue&&(vn=jt+hn,jt*=Ue/vn,hn*=Ue/vn),Lt+jt>qe&&(vn=Lt+jt,Lt*=qe/vn,jt*=qe/vn),Dt+hn>qe&&(vn=Dt+hn,Dt*=qe/vn,hn*=qe/vn),xe.moveTo(Ie+Dt,Fe),xe.lineTo(Ie+Ue-Lt,Fe),Lt!==0&&xe.arc(Ie+Ue-Lt,Fe+Lt,Lt,-Math.PI/2,0),xe.lineTo(Ie+Ue,Fe+qe-jt),jt!==0&&xe.arc(Ie+Ue-jt,Fe+qe-jt,jt,0,Math.PI/2),xe.lineTo(Ie+hn,Fe+qe),hn!==0&&xe.arc(Ie+hn,Fe+qe-hn,hn,Math.PI/2,Math.PI),xe.lineTo(Ie,Fe+Dt),Dt!==0&&xe.arc(Ie+Dt,Fe+Dt,Dt,Math.PI,Math.PI*1.5)}var round$2=Math.round;function subPixelOptimizeLine$1(xe,$e,Ie){if($e){var Fe=$e.x1,Ue=$e.x2,qe=$e.y1,At=$e.y2;xe.x1=Fe,xe.x2=Ue,xe.y1=qe,xe.y2=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(round$2(Fe*2)===round$2(Ue*2)&&(xe.x1=xe.x2=subPixelOptimize$1(Fe,Dt,!0)),round$2(qe*2)===round$2(At*2)&&(xe.y1=xe.y2=subPixelOptimize$1(qe,Dt,!0))),xe}}function subPixelOptimizeRect$1(xe,$e,Ie){if($e){var Fe=$e.x,Ue=$e.y,qe=$e.width,At=$e.height;xe.x=Fe,xe.y=Ue,xe.width=qe,xe.height=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(xe.x=subPixelOptimize$1(Fe,Dt,!0),xe.y=subPixelOptimize$1(Ue,Dt,!0),xe.width=Math.max(subPixelOptimize$1(Fe+qe,Dt,!1)-xe.x,qe===0?0:1),xe.height=Math.max(subPixelOptimize$1(Ue+At,Dt,!1)-xe.y,At===0?0:1)),xe}}function subPixelOptimize$1(xe,$e,Ie){if(!$e)return xe;var Fe=round$2(xe*2);return(Fe+round$2($e))%2===0?Fe/2:(Fe+(Ie?1:-1))/2}var RectShape=function(){function xe(){this.x=0,this.y=0,this.width=0,this.height=0}return xe}(),subPixelOptimizeOutputShape$1={},Rect$2=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RectShape},$e.prototype.buildPath=function(Ie,Fe){var Ue,qe,At,Dt;if(this.subPixelOptimize){var Lt=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,Fe,this.style);Ue=Lt.x,qe=Lt.y,At=Lt.width,Dt=Lt.height,Lt.r=Fe.r,Fe=Lt}else Ue=Fe.x,qe=Fe.y,At=Fe.width,Dt=Fe.height;Fe.r?buildPath$2(Ie,Fe):Ie.rect(Ue,qe,At,Dt)},$e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},$e}(Path);Rect$2.prototype.type="rect";var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe.type="text",Fe._children=[],Fe._defaultStyle=DEFAULT_RICH_TEXT_COLOR,Fe.attr(Ie),Fe}return $e.prototype.childrenRef=function(){return this._children},$e.prototype.update=function(){xe.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var Ie=0;Ie0,Rn=Ie.width!=null&&(Ie.overflow==="truncate"||Ie.overflow==="break"||Ie.overflow==="breakAll"),Bn=At.calculatedLineHeight,Vn=0;Vn=0&&(Vn=$n[Bn],Vn.align==="right");)this._placeToken(Vn,Ie,Nn,Sn,Rn,"right",En),Mn-=Vn.width,Rn-=Vn.width,Bn--;for(On+=(qe-(On-Cn)-(xn-Rn)-Mn)/2;In<=Bn;)Vn=$n[In],this._placeToken(Vn,Ie,Nn,Sn,On+Vn.width/2,"center",En),On+=Vn.width,In++;Sn+=Nn}},$e.prototype._placeToken=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Fe.rich[Ie.styleName]||{};jt.text=Ie.text;var hn=Ie.verticalAlign,vn=qe+Ue/2;hn==="top"?vn=qe+Ie.height/2:hn==="bottom"&&(vn=qe+Ue-Ie.height/2);var bn=!Ie.isLineHolder&&needDrawBackground(jt);bn&&this._renderBackground(jt,Fe,Dt==="right"?At-Ie.width:Dt==="center"?At-Ie.width/2:At,vn-Ie.height/2,Ie.width,Ie.height);var _n=!!jt.backgroundColor,wn=Ie.textPadding;wn&&(At=getTextXForPadding(At,Dt,wn),vn-=Ie.height/2-wn[0]-Ie.innerHeight/2);var kn=this._getOrCreateChild(TSpan),Cn=kn.createStyle();kn.useStyle(Cn);var Sn=this._defaultStyle,xn=!1,En=0,Tn=getFill("fill"in jt?jt.fill:"fill"in Fe?Fe.fill:(xn=!0,Sn.fill)),An=getStroke("stroke"in jt?jt.stroke:"stroke"in Fe?Fe.stroke:!_n&&!Lt&&(!Sn.autoStroke||xn)?(En=DEFAULT_STROKE_LINE_WIDTH,Sn.stroke):null),$n=jt.textShadowBlur>0||Fe.textShadowBlur>0;Cn.text=Ie.text,Cn.x=At,Cn.y=vn,$n&&(Cn.shadowBlur=jt.textShadowBlur||Fe.textShadowBlur||0,Cn.shadowColor=jt.textShadowColor||Fe.textShadowColor||"transparent",Cn.shadowOffsetX=jt.textShadowOffsetX||Fe.textShadowOffsetX||0,Cn.shadowOffsetY=jt.textShadowOffsetY||Fe.textShadowOffsetY||0),Cn.textAlign=Dt,Cn.textBaseline="middle",Cn.font=Ie.font||DEFAULT_FONT,Cn.opacity=retrieve3(jt.opacity,Fe.opacity,1),setSeparateFont(Cn,jt),An&&(Cn.lineWidth=retrieve3(jt.lineWidth,Fe.lineWidth,En),Cn.lineDash=retrieve2(jt.lineDash,Fe.lineDash),Cn.lineDashOffset=Fe.lineDashOffset||0,Cn.stroke=An),Tn&&(Cn.fill=Tn);var Pn=Ie.contentWidth,Nn=Ie.contentHeight;kn.setBoundingRect(new BoundingRect(adjustTextX(Cn.x,Pn,Cn.textAlign),adjustTextY(Cn.y,Nn,Cn.textBaseline),Pn,Nn))},$e.prototype._renderBackground=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ie.backgroundColor,jt=Ie.borderWidth,hn=Ie.borderColor,vn=Lt&&Lt.image,bn=Lt&&!vn,_n=Ie.borderRadius,wn=this,kn,Cn;if(bn||Ie.lineHeight||jt&&hn){kn=this._getOrCreateChild(Rect$2),kn.useStyle(kn.createStyle()),kn.style.fill=null;var Sn=kn.shape;Sn.x=Ue,Sn.y=qe,Sn.width=At,Sn.height=Dt,Sn.r=_n,kn.dirtyShape()}if(bn){var xn=kn.style;xn.fill=Lt||null,xn.fillOpacity=retrieve2(Ie.fillOpacity,1)}else if(vn){Cn=this._getOrCreateChild(ZRImage),Cn.onload=function(){wn.dirtyStyle()};var En=Cn.style;En.image=Lt.image,En.x=Ue,En.y=qe,En.width=At,En.height=Dt}if(jt&&hn){var xn=kn.style;xn.lineWidth=jt,xn.stroke=hn,xn.strokeOpacity=retrieve2(Ie.strokeOpacity,1),xn.lineDash=Ie.borderDash,xn.lineDashOffset=Ie.borderDashOffset||0,kn.strokeContainThreshold=0,kn.hasFill()&&kn.hasStroke()&&(xn.strokeFirst=!0,xn.lineWidth*=2)}var Tn=(kn||Cn).style;Tn.shadowBlur=Ie.shadowBlur||0,Tn.shadowColor=Ie.shadowColor||"transparent",Tn.shadowOffsetX=Ie.shadowOffsetX||0,Tn.shadowOffsetY=Ie.shadowOffsetY||0,Tn.opacity=retrieve3(Ie.opacity,Fe.opacity,1)},$e.makeFont=function(Ie){var Fe="";return hasSeparateFont(Ie)&&(Fe=[Ie.fontStyle,Ie.fontWeight,parseFontSize(Ie.fontSize),Ie.fontFamily||"sans-serif"].join(" ")),Fe&&trim$1(Fe)||Ie.textFont||Ie.font},$e}(Displayable),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(xe){return typeof xe=="string"&&(xe.indexOf("px")!==-1||xe.indexOf("rem")!==-1||xe.indexOf("em")!==-1)?xe:isNaN(+xe)?DEFAULT_FONT_SIZE+"px":xe+"px"}function setSeparateFont(xe,$e){for(var Ie=0;Ie=0,qe=!1;if(xe instanceof Path){var At=getSavedStates(xe),Dt=Ue&&At.selectFill||At.normalFill,Lt=Ue&&At.selectStroke||At.normalStroke;if(hasFillOrStroke(Dt)||hasFillOrStroke(Lt)){Fe=Fe||{};var jt=Fe.style||{};jt.fill==="inherit"?(qe=!0,Fe=extend({},Fe),jt=extend({},jt),jt.fill=Dt):!hasFillOrStroke(jt.fill)&&hasFillOrStroke(Dt)?(qe=!0,Fe=extend({},Fe),jt=extend({},jt),jt.fill=liftColor(Dt)):!hasFillOrStroke(jt.stroke)&&hasFillOrStroke(Lt)&&(qe||(Fe=extend({},Fe),jt=extend({},jt)),jt.stroke=liftColor(Lt)),Fe.style=jt}}if(Fe&&Fe.z2==null){qe||(Fe=extend({},Fe));var hn=xe.z2EmphasisLift;Fe.z2=xe.z2+(hn??Z2_EMPHASIS_LIFT)}return Fe}function createSelectDefaultState(xe,$e,Ie){if(Ie&&Ie.z2==null){Ie=extend({},Ie);var Fe=xe.z2SelectLift;Ie.z2=xe.z2+(Fe??Z2_SELECT_LIFT)}return Ie}function createBlurDefaultState(xe,$e,Ie){var Fe=indexOf(xe.currentStates,$e)>=0,Ue=xe.style.opacity,qe=Fe?null:getFromStateStyle(xe,["opacity"],$e,{opacity:1});Ie=Ie||{};var At=Ie.style||{};return At.opacity==null&&(Ie=extend({},Ie),At=extend({opacity:Fe?Ue:qe.opacity*.1},At),Ie.style=At),Ie}function elementStateProxy(xe,$e){var Ie=this.states[xe];if(this.style){if(xe==="emphasis")return createEmphasisDefaultState(this,xe,$e,Ie);if(xe==="blur")return createBlurDefaultState(this,xe,Ie);if(xe==="select")return createSelectDefaultState(this,xe,Ie)}return Ie}function setDefaultStateProxy(xe){xe.stateProxy=elementStateProxy;var $e=xe.getTextContent(),Ie=xe.getTextGuideLine();$e&&($e.stateProxy=elementStateProxy),Ie&&(Ie.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterEmphasis(xe,$e){xe.__highByOuter|=1<<($e||0),traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasis(xe,$e){!(xe.__highByOuter&=~(1<<($e||0)))&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterBlur(xe){traverseUpdateState(xe,singleEnterBlur)}function leaveBlur(xe){traverseUpdateState(xe,singleLeaveBlur)}function enterSelect(xe){traverseUpdateState(xe,singleEnterSelect)}function leaveSelect(xe){traverseUpdateState(xe,singleLeaveSelect)}function shouldSilent(xe,$e){return xe.__highDownSilentOnTouch&&$e.zrByTouch}function allLeaveBlur(xe){var $e=xe.getModel(),Ie=[],Fe=[];$e.eachComponent(function(Ue,qe){var At=getComponentStates(qe),Dt=Ue==="series",Lt=Dt?xe.getViewOfSeriesModel(qe):xe.getViewOfComponentModel(qe);!Dt&&Fe.push(Lt),At.isBlured&&(Lt.group.traverse(function(jt){singleLeaveBlur(jt)}),Dt&&Ie.push(qe)),At.isBlured=!1}),each$f(Fe,function(Ue){Ue&&Ue.toggleBlurSeries&&Ue.toggleBlurSeries(Ie,!1,$e)})}function blurSeries(xe,$e,Ie,Fe){var Ue=Fe.getModel();Ie=Ie||"coordinateSystem";function qe(jt,hn){for(var vn=0;vn0){var Dt={dataIndex:At,seriesIndex:Ie.seriesIndex};qe!=null&&(Dt.dataType=qe),$e.push(Dt)}})}),$e}function enableHoverEmphasis(xe,$e,Ie){setAsHighDownDispatcher(xe,!0),traverseUpdateState(xe,setDefaultStateProxy),enableHoverFocus(xe,$e,Ie)}function disableHoverEmphasis(xe){setAsHighDownDispatcher(xe,!1)}function toggleHoverEmphasis(xe,$e,Ie,Fe){Fe?disableHoverEmphasis(xe):enableHoverEmphasis(xe,$e,Ie)}function enableHoverFocus(xe,$e,Ie){var Fe=getECData(xe);$e!=null?(Fe.focus=$e,Fe.blurScope=Ie):Fe.focus&&(Fe.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(xe,$e,Ie,Fe){Ie=Ie||"itemStyle";for(var Ue=0;Ue1&&(At*=mathSqrt$1(wn),Dt*=mathSqrt$1(wn));var kn=(Ue===qe?-1:1)*mathSqrt$1((At*At*(Dt*Dt)-At*At*(_n*_n)-Dt*Dt*(bn*bn))/(At*At*(_n*_n)+Dt*Dt*(bn*bn)))||0,Cn=kn*At*_n/Dt,Sn=kn*-Dt*bn/At,xn=(xe+Ie)/2+mathCos$2(vn)*Cn-mathSin$2(vn)*Sn,En=($e+Fe)/2+mathSin$2(vn)*Cn+mathCos$2(vn)*Sn,Tn=vAngle([1,0],[(bn-Cn)/At,(_n-Sn)/Dt]),An=[(bn-Cn)/At,(_n-Sn)/Dt],$n=[(-1*bn-Cn)/At,(-1*_n-Sn)/Dt],Pn=vAngle(An,$n);if(vRatio(An,$n)<=-1&&(Pn=PI$7),vRatio(An,$n)>=1&&(Pn=0),Pn<0){var Nn=Math.round(Pn/PI$7*1e6)/1e6;Pn=PI$7*2+Nn%2*PI$7}hn.addData(jt,xn,En,At,Dt,Tn,Pn,vn,qe)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(xe){var $e=new PathProxy;if(!xe)return $e;var Ie=0,Fe=0,Ue=Ie,qe=Fe,At,Dt=PathProxy.CMD,Lt=xe.match(commandReg);if(!Lt)return $e;for(var jt=0;jtVn*Vn+Ln*Ln&&(Nn=In,Mn=On),{cx:Nn,cy:Mn,x0:-hn,y0:-vn,x1:Nn*(Ue/An-1),y1:Mn*(Ue/An-1)}}function normalizeCornerRadius(xe){var $e;if(isArray$1(xe)){var Ie=xe.length;if(!Ie)return xe;Ie===1?$e=[xe[0],xe[0],0,0]:Ie===2?$e=[xe[0],xe[0],xe[1],xe[1]]:Ie===3?$e=xe.concat(xe[2]):$e=xe}else $e=[xe,xe,xe,xe];return $e}function buildPath$1(xe,$e){var Ie,Fe=mathMax$7($e.r,0),Ue=mathMax$7($e.r0||0,0),qe=Fe>0,At=Ue>0;if(!(!qe&&!At)){if(qe||(Fe=Ue,Ue=0),Ue>Fe){var Dt=Fe;Fe=Ue,Ue=Dt}var Lt=$e.startAngle,jt=$e.endAngle;if(!(isNaN(Lt)||isNaN(jt))){var hn=$e.cx,vn=$e.cy,bn=!!$e.clockwise,_n=mathAbs$1(jt-Lt),wn=_n>PI2$3&&_n%PI2$3;if(wn>e&&(_n=wn),!(Fe>e))xe.moveTo(hn,vn);else if(_n>PI2$3-e)xe.moveTo(hn+Fe*mathCos$1(Lt),vn+Fe*mathSin$1(Lt)),xe.arc(hn,vn,Fe,Lt,jt,!bn),Ue>e&&(xe.moveTo(hn+Ue*mathCos$1(jt),vn+Ue*mathSin$1(jt)),xe.arc(hn,vn,Ue,jt,Lt,bn));else{var kn=void 0,Cn=void 0,Sn=void 0,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0,Pn=void 0,Nn=void 0,Mn=void 0,In=void 0,On=void 0,Rn=void 0,Bn=void 0,Vn=void 0,Ln=Fe*mathCos$1(Lt),Dn=Fe*mathSin$1(Lt),Hn=Ue*mathCos$1(jt),Fn=Ue*mathSin$1(jt),zn=_n>e;if(zn){var jn=$e.cornerRadius;jn&&(Ie=normalizeCornerRadius(jn),kn=Ie[0],Cn=Ie[1],Sn=Ie[2],xn=Ie[3]);var Gn=mathAbs$1(Fe-Ue)/2;if(En=mathMin$7(Gn,Sn),Tn=mathMin$7(Gn,xn),An=mathMin$7(Gn,kn),$n=mathMin$7(Gn,Cn),Mn=Pn=mathMax$7(En,Tn),In=Nn=mathMax$7(An,$n),(Pn>e||Nn>e)&&(On=Fe*mathCos$1(jt),Rn=Fe*mathSin$1(jt),Bn=Ue*mathCos$1(Lt),Vn=Ue*mathSin$1(Lt),_ne){var ar=mathMin$7(Sn,Mn),tr=mathMin$7(xn,Mn),or=computeCornerTangents(Bn,Vn,Ln,Dn,Fe,ar,bn),sr=computeCornerTangents(On,Rn,Hn,Fn,Fe,tr,bn);xe.moveTo(hn+or.cx+or.x0,vn+or.cy+or.y0),Mn0&&xe.arc(hn+or.cx,vn+or.cy,ar,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Fe,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),!bn),tr>0&&xe.arc(hn+sr.cx,vn+sr.cy,tr,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.moveTo(hn+Ln,vn+Dn),xe.arc(hn,vn,Fe,Lt,jt,!bn);if(!(Ue>e)||!zn)xe.lineTo(hn+Hn,vn+Fn);else if(In>e){var ar=mathMin$7(kn,In),tr=mathMin$7(Cn,In),or=computeCornerTangents(Hn,Fn,On,Rn,Ue,-tr,bn),sr=computeCornerTangents(Ln,Dn,Bn,Vn,Ue,-ar,bn);xe.lineTo(hn+or.cx+or.x0,vn+or.cy+or.y0),In0&&xe.arc(hn+or.cx,vn+or.cy,tr,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Ue,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),bn),ar>0&&xe.arc(hn+sr.cx,vn+sr.cy,ar,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.lineTo(hn+Hn,vn+Fn),xe.arc(hn,vn,Ue,jt,Lt,bn)}xe.closePath()}}}var SectorShape=function(){function xe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return xe}(),Sector=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SectorShape},$e.prototype.buildPath=function(Ie,Fe){buildPath$1(Ie,Fe)},$e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},$e}(Path);Sector.prototype.type="sector";var RingShape=function(){function xe(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return xe}(),Ring=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RingShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.PI*2;Ie.moveTo(Ue+Fe.r,qe),Ie.arc(Ue,qe,Fe.r,0,At,!1),Ie.moveTo(Ue+Fe.r0,qe),Ie.arc(Ue,qe,Fe.r0,0,At,!0)},$e}(Path);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(xe,$e,Ie,Fe){var Ue=[],qe=[],At=[],Dt=[],Lt,jt,hn,vn;if(Fe){hn=[1/0,1/0],vn=[-1/0,-1/0];for(var bn=0,_n=xe.length;bn<_n;bn++)min$1(hn,hn,xe[bn]),max$1(vn,vn,xe[bn]);min$1(hn,hn,Fe[0]),max$1(vn,vn,Fe[1])}for(var bn=0,_n=xe.length;bn<_n;bn++){var wn=xe[bn];if(Ie)Lt=xe[bn?bn-1:_n-1],jt=xe[(bn+1)%_n];else if(bn===0||bn===_n-1){Ue.push(clone$3(xe[bn]));continue}else Lt=xe[bn-1],jt=xe[bn+1];sub(qe,jt,Lt),scale$2(qe,qe,$e);var kn=distance(wn,Lt),Cn=distance(wn,jt),Sn=kn+Cn;Sn!==0&&(kn/=Sn,Cn/=Sn),scale$2(At,qe,-kn),scale$2(Dt,qe,Cn);var xn=add([],wn,At),En=add([],wn,Dt);Fe&&(max$1(xn,xn,hn),min$1(xn,xn,vn),max$1(En,En,hn),min$1(En,En,vn)),Ue.push(xn),Ue.push(En)}return Ie&&Ue.push(Ue.shift()),Ue}function buildPath(xe,$e,Ie){var Fe=$e.smooth,Ue=$e.points;if(Ue&&Ue.length>=2){if(Fe){var qe=smoothBezier(Ue,Fe,Ie,$e.smoothConstraint);xe.moveTo(Ue[0][0],Ue[0][1]);for(var At=Ue.length,Dt=0;Dt<(Ie?At:At-1);Dt++){var Lt=qe[Dt*2],jt=qe[Dt*2+1],hn=Ue[(Dt+1)%At];xe.bezierCurveTo(Lt[0],Lt[1],jt[0],jt[1],hn[0],hn[1])}}else{xe.moveTo(Ue[0][0],Ue[0][1]);for(var Dt=1,vn=Ue.length;Dtextent2[1]){if(Dt=!1,qe)return Dt;var hn=Math.abs(extent2[0]-extent[1]),vn=Math.abs(extent[0]-extent2[1]);Math.min(hn,vn)>Ue.len()&&(hn0){var vn=hn.duration,bn=hn.delay,_n=hn.easing,wn={duration:vn,delay:bn||0,easing:_n,done:qe,force:!!qe||!!At,setToFinal:!jt,scope:xe,during:At};Dt?$e.animateFrom(Ie,wn):$e.animateTo(Ie,wn)}else $e.stopAnimation(),!Dt&&$e.attr(Ie),At&&At(1),qe&&qe()}function updateProps$1(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("update",xe,$e,Ie,Fe,Ue,qe)}function initProps(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("enter",xe,$e,Ie,Fe,Ue,qe)}function isElementRemoved(xe){if(!xe.__zr)return!0;for(var $e=0;$eMath.abs(qe[1])?qe[0]>0?"right":"left":qe[1]>0?"bottom":"top"}function isNotGroup(xe){return!xe.isGroup}function isPath$1(xe){return xe.shape!=null}function groupTransition(xe,$e,Ie){if(!xe||!$e)return;function Fe(At){var Dt={};return At.traverse(function(Lt){isNotGroup(Lt)&&Lt.anid&&(Dt[Lt.anid]=Lt)}),Dt}function Ue(At){var Dt={x:At.x,y:At.y,rotation:At.rotation};return isPath$1(At)&&(Dt.shape=extend({},At.shape)),Dt}var qe=Fe(xe);$e.traverse(function(At){if(isNotGroup(At)&&At.anid){var Dt=qe[At.anid];if(Dt){var Lt=Ue(At);At.attr(Ue(Dt)),updateProps$1(At,Lt,Ie,getECData(At).dataIndex)}}})}function clipPointsByRect(xe,$e){return map$1(xe,function(Ie){var Fe=Ie[0];Fe=mathMax$6(Fe,$e.x),Fe=mathMin$6(Fe,$e.x+$e.width);var Ue=Ie[1];return Ue=mathMax$6(Ue,$e.y),Ue=mathMin$6(Ue,$e.y+$e.height),[Fe,Ue]})}function clipRectByRect(xe,$e){var Ie=mathMax$6(xe.x,$e.x),Fe=mathMin$6(xe.x+xe.width,$e.x+$e.width),Ue=mathMax$6(xe.y,$e.y),qe=mathMin$6(xe.y+xe.height,$e.y+$e.height);if(Fe>=Ie&&qe>=Ue)return{x:Ie,y:Ue,width:Fe-Ie,height:qe-Ue}}function createIcon(xe,$e,Ie){var Fe=extend({rectHover:!0},$e),Ue=Fe.style={strokeNoScale:!0};if(Ie=Ie||{x:-1,y:-1,width:2,height:2},xe)return xe.indexOf("image://")===0?(Ue.image=xe.slice(8),defaults(Ue,Ie),new ZRImage(Fe)):makePath(xe.replace("path://",""),Fe,Ie,"center")}function linePolygonIntersect(xe,$e,Ie,Fe,Ue){for(var qe=0,At=Ue[Ue.length-1];qe1)return!1;var Cn=crossProduct2d$1(_n,wn,hn,vn)/bn;return!(Cn<0||Cn>1)}function crossProduct2d$1(xe,$e,Ie,Fe){return xe*Fe-Ie*$e}function nearZero(xe){return xe<=1e-6&&xe>=-1e-6}function setTooltipConfig(xe){var $e=xe.itemTooltipOption,Ie=xe.componentModel,Fe=xe.itemName,Ue=isString($e)?{formatter:$e}:$e,qe=Ie.mainType,At=Ie.componentIndex,Dt={componentType:qe,name:Fe,$vars:["name"]};Dt[qe+"Index"]=At;var Lt=xe.formatterParamsExtra;Lt&&each$f(keys(Lt),function(hn){hasOwn(Dt,hn)||(Dt[hn]=Lt[hn],Dt.$vars.push(hn))});var jt=getECData(xe.el);jt.componentMainType=qe,jt.componentIndex=At,jt.tooltipConfig={name:Fe,option:defaults({content:Fe,formatterParams:Dt},Ue)}}function traverseElement(xe,$e){var Ie;xe.isGroup&&(Ie=$e(xe)),Ie||xe.traverse($e)}function traverseElements(xe,$e){if(xe)if(isArray$1(xe))for(var Ie=0;Ie=0&&Dt.push(Lt)}),Dt}}function inheritDefaultOption(xe,$e){return merge(merge({},xe,!0),$e,!0)}const langEN={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env.domSupported?function(){var xe=(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase();return xe.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(xe,$e){xe=xe.toUpperCase(),localeModels[xe]=new Model($e),localeStorage[xe]=$e}function createLocaleObject(xe){if(isString(xe)){var $e=localeStorage[xe.toUpperCase()]||{};return xe===LOCALE_ZH||xe===LOCALE_EN?clone$4($e):merge(clone$4($e),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$4(xe),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(xe){return localeModels[xe]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=ONE_SECOND*60,ONE_HOUR=ONE_MINUTE*60,ONE_DAY=ONE_HOUR*24,ONE_YEAR=ONE_DAY*365,defaultLeveledFormatter={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(xe,$e){return xe+="","0000".substr(0,$e-xe.length)+xe}function getPrimaryTimeUnit(xe){switch(xe){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return xe}}function isPrimaryTimeUnit(xe){return xe===getPrimaryTimeUnit(xe)}function getDefaultFormatPrecisionOfInterval(xe){switch(xe){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format(xe,$e,Ie,Fe){var Ue=parseDate(xe),qe=Ue[fullYearGetterName(Ie)](),At=Ue[monthGetterName(Ie)]()+1,Dt=Math.floor((At-1)/3)+1,Lt=Ue[dateGetterName(Ie)](),jt=Ue["get"+(Ie?"UTC":"")+"Day"](),hn=Ue[hoursGetterName(Ie)](),vn=(hn-1)%12+1,bn=Ue[minutesGetterName(Ie)](),_n=Ue[secondsGetterName(Ie)](),wn=Ue[millisecondsGetterName(Ie)](),kn=Fe instanceof Model?Fe:getLocaleModel(Fe||SYSTEM_LANG)||getDefaultLocaleModel(),Cn=kn.getModel("time"),Sn=Cn.get("month"),xn=Cn.get("monthAbbr"),En=Cn.get("dayOfWeek"),Tn=Cn.get("dayOfWeekAbbr");return($e||"").replace(/{yyyy}/g,qe+"").replace(/{yy}/g,pad(qe%100+"",2)).replace(/{Q}/g,Dt+"").replace(/{MMMM}/g,Sn[At-1]).replace(/{MMM}/g,xn[At-1]).replace(/{MM}/g,pad(At,2)).replace(/{M}/g,At+"").replace(/{dd}/g,pad(Lt,2)).replace(/{d}/g,Lt+"").replace(/{eeee}/g,En[jt]).replace(/{ee}/g,Tn[jt]).replace(/{e}/g,jt+"").replace(/{HH}/g,pad(hn,2)).replace(/{H}/g,hn+"").replace(/{hh}/g,pad(vn+"",2)).replace(/{h}/g,vn+"").replace(/{mm}/g,pad(bn,2)).replace(/{m}/g,bn+"").replace(/{ss}/g,pad(_n,2)).replace(/{s}/g,_n+"").replace(/{SSS}/g,pad(wn,3)).replace(/{S}/g,wn+"")}function leveledFormat(xe,$e,Ie,Fe,Ue){var qe=null;if(isString(Ie))qe=Ie;else if(isFunction(Ie))qe=Ie(xe.value,$e,{level:xe.level});else{var At=extend({},defaultLeveledFormatter);if(xe.level>0)for(var Dt=0;Dt=0;--Dt)if(Lt[jt]){qe=Lt[jt];break}qe=qe||At.none}if(isArray$1(qe)){var vn=xe.level==null?0:xe.level>=0?xe.level:qe.length+xe.level;vn=Math.min(vn,qe.length-1),qe=qe[vn]}}return format(new Date(xe.value),qe,Ue,Fe)}function getUnitFromValue(xe,$e){var Ie=parseDate(xe),Fe=Ie[monthGetterName($e)]()+1,Ue=Ie[dateGetterName($e)](),qe=Ie[hoursGetterName($e)](),At=Ie[minutesGetterName($e)](),Dt=Ie[secondsGetterName($e)](),Lt=Ie[millisecondsGetterName($e)](),jt=Lt===0,hn=jt&&Dt===0,vn=hn&&At===0,bn=vn&&qe===0,_n=bn&&Ue===1,wn=_n&&Fe===1;return wn?"year":_n?"month":bn?"day":vn?"hour":hn?"minute":jt?"second":"millisecond"}function getUnitValue(xe,$e,Ie){var Fe=isNumber(xe)?parseDate(xe):xe;switch($e=$e||getUnitFromValue(xe,Ie),$e){case"year":return Fe[fullYearGetterName(Ie)]();case"half-year":return Fe[monthGetterName(Ie)]()>=6?1:0;case"quarter":return Math.floor((Fe[monthGetterName(Ie)]()+1)/4);case"month":return Fe[monthGetterName(Ie)]();case"day":return Fe[dateGetterName(Ie)]();case"half-day":return Fe[hoursGetterName(Ie)]()/24;case"hour":return Fe[hoursGetterName(Ie)]();case"minute":return Fe[minutesGetterName(Ie)]();case"second":return Fe[secondsGetterName(Ie)]();case"millisecond":return Fe[millisecondsGetterName(Ie)]()}}function fullYearGetterName(xe){return xe?"getUTCFullYear":"getFullYear"}function monthGetterName(xe){return xe?"getUTCMonth":"getMonth"}function dateGetterName(xe){return xe?"getUTCDate":"getDate"}function hoursGetterName(xe){return xe?"getUTCHours":"getHours"}function minutesGetterName(xe){return xe?"getUTCMinutes":"getMinutes"}function secondsGetterName(xe){return xe?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(xe){return xe?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(xe){return xe?"setUTCFullYear":"setFullYear"}function monthSetterName(xe){return xe?"setUTCMonth":"setMonth"}function dateSetterName(xe){return xe?"setUTCDate":"setDate"}function hoursSetterName(xe){return xe?"setUTCHours":"setHours"}function minutesSetterName(xe){return xe?"setUTCMinutes":"setMinutes"}function secondsSetterName(xe){return xe?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(xe){return xe?"setUTCMilliseconds":"setMilliseconds"}function addCommas(xe){if(!isNumeric(xe))return isString(xe)?xe:"-";var $e=(xe+"").split(".");return $e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+($e.length>1?"."+$e[1]:"")}function toCamelCase(xe,$e){return xe=(xe||"").toLowerCase().replace(/-(.)/g,function(Ie,Fe){return Fe.toUpperCase()}),$e&&xe&&(xe=xe.charAt(0).toUpperCase()+xe.slice(1)),xe}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(xe,$e,Ie){var Fe="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function Ue(hn){return hn&&trim$1(hn)?hn:"-"}function qe(hn){return!!(hn!=null&&!isNaN(hn)&&isFinite(hn))}var At=$e==="time",Dt=xe instanceof Date;if(At||Dt){var Lt=At?parseDate(xe):xe;if(isNaN(+Lt)){if(Dt)return"-"}else return format(Lt,Fe,Ie)}if($e==="ordinal")return isStringSafe(xe)?Ue(xe):isNumber(xe)&&qe(xe)?xe+"":"-";var jt=numericToNumber(xe);return qe(jt)?addCommas(jt):isStringSafe(xe)?Ue(xe):typeof xe=="boolean"?xe+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(xe,$e){return"{"+xe+($e??"")+"}"};function formatTpl(xe,$e,Ie){isArray$1($e)||($e=[$e]);var Fe=$e.length;if(!Fe)return"";for(var Ue=$e[0].$vars||[],qe=0;qe
    ':'';var At=Ie.markerId||"markerX";return{renderMode:qe,content:"{"+At+"|} ",style:Ue==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:Fe}:{width:10,height:10,borderRadius:5,backgroundColor:Fe}}}function convertToColorString(xe,$e){return $e=$e||"transparent",isString(xe)?xe:isObject$3(xe)&&xe.colorStops&&(xe.colorStops[0]||{}).color||$e}function windowOpen(xe,$e){if($e==="_blank"||$e==="blank"){var Ie=window.open();Ie.opener=null,Ie.location.href=xe}else window.open(xe,$e)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(xe,$e,Ie,Fe,Ue){var qe=0,At=0;Fe==null&&(Fe=1/0),Ue==null&&(Ue=1/0);var Dt=0;$e.eachChild(function(Lt,jt){var hn=Lt.getBoundingRect(),vn=$e.childAt(jt+1),bn=vn&&vn.getBoundingRect(),_n,wn;if(xe==="horizontal"){var kn=hn.width+(bn?-bn.x+hn.x:0);_n=qe+kn,_n>Fe||Lt.newline?(qe=0,_n=kn,At+=Dt+Ie,Dt=hn.height):Dt=Math.max(Dt,hn.height)}else{var Cn=hn.height+(bn?-bn.y+hn.y:0);wn=At+Cn,wn>Ue||Lt.newline?(qe+=Dt+Ie,At=0,wn=Cn,Dt=hn.width):Dt=Math.max(Dt,hn.width)}Lt.newline||(Lt.x=qe,Lt.y=At,Lt.markRedraw(),xe==="horizontal"?qe=_n+Ie:At=wn+Ie)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getAvailableSize(xe,$e,Ie){var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue);return(isNaN(qe)||isNaN(parseFloat(xe.left)))&&(qe=0),(isNaN(Dt)||isNaN(parseFloat(xe.right)))&&(Dt=Fe),(isNaN(At)||isNaN(parseFloat(xe.top)))&&(At=0),(isNaN(Lt)||isNaN(parseFloat(xe.bottom)))&&(Lt=Ue),Ie=normalizeCssArray(Ie||0),{width:Math.max(Dt-qe-Ie[1]-Ie[3],0),height:Math.max(Lt-At-Ie[0]-Ie[2],0)}}function getLayoutRect(xe,$e,Ie){Ie=normalizeCssArray(Ie||0);var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue),jt=parsePercent(xe.width,Fe),hn=parsePercent(xe.height,Ue),vn=Ie[2]+Ie[0],bn=Ie[1]+Ie[3],_n=xe.aspect;switch(isNaN(jt)&&(jt=Fe-Dt-bn-qe),isNaN(hn)&&(hn=Ue-Lt-vn-At),_n!=null&&(isNaN(jt)&&isNaN(hn)&&(_n>Fe/Ue?jt=Fe*.8:hn=Ue*.8),isNaN(jt)&&(jt=_n*hn),isNaN(hn)&&(hn=jt/_n)),isNaN(qe)&&(qe=Fe-Dt-jt-bn),isNaN(At)&&(At=Ue-Lt-hn-vn),xe.left||xe.right){case"center":qe=Fe/2-jt/2-Ie[3];break;case"right":qe=Fe-jt-bn;break}switch(xe.top||xe.bottom){case"middle":case"center":At=Ue/2-hn/2-Ie[0];break;case"bottom":At=Ue-hn-vn;break}qe=qe||0,At=At||0,isNaN(jt)&&(jt=Fe-bn-qe-(Dt||0)),isNaN(hn)&&(hn=Ue-vn-At-(Lt||0));var wn=new BoundingRect(qe+Ie[3],At+Ie[0],jt,hn);return wn.margin=Ie,wn}function positionElement(xe,$e,Ie,Fe,Ue,qe){var At=!Ue||!Ue.hv||Ue.hv[0],Dt=!Ue||!Ue.hv||Ue.hv[1],Lt=Ue&&Ue.boundingMode||"all";if(qe=qe||xe,qe.x=xe.x,qe.y=xe.y,!At&&!Dt)return!1;var jt;if(Lt==="raw")jt=xe.type==="group"?new BoundingRect(0,0,+$e.width||0,+$e.height||0):xe.getBoundingRect();else if(jt=xe.getBoundingRect(),xe.needLocalTransform()){var hn=xe.getLocalTransform();jt=jt.clone(),jt.applyTransform(hn)}var vn=getLayoutRect(defaults({width:jt.width,height:jt.height},$e),Ie,Fe),bn=At?vn.x-jt.x:0,_n=Dt?vn.y-jt.y:0;return Lt==="raw"?(qe.x=bn,qe.y=_n):(qe.x+=bn,qe.y+=_n),qe===xe&&xe.markRedraw(),!0}function sizeCalculable(xe,$e){return xe[HV_NAMES[$e][0]]!=null||xe[HV_NAMES[$e][1]]!=null&&xe[HV_NAMES[$e][2]]!=null}function fetchLayoutMode(xe){var $e=xe.layoutMode||xe.constructor.layoutMode;return isObject$3($e)?$e:$e?{type:$e}:null}function mergeLayoutParam(xe,$e,Ie){var Fe=Ie&&Ie.ignoreSize;!isArray$1(Fe)&&(Fe=[Fe,Fe]);var Ue=At(HV_NAMES[0],0),qe=At(HV_NAMES[1],1);jt(HV_NAMES[0],xe,Ue),jt(HV_NAMES[1],xe,qe);function At(hn,vn){var bn={},_n=0,wn={},kn=0,Cn=2;if(each$e(hn,function(En){wn[En]=xe[En]}),each$e(hn,function(En){Dt($e,En)&&(bn[En]=wn[En]=$e[En]),Lt(bn,En)&&_n++,Lt(wn,En)&&kn++}),Fe[vn])return Lt($e,hn[1])?wn[hn[2]]=null:Lt($e,hn[2])&&(wn[hn[1]]=null),wn;if(kn===Cn||!_n)return wn;if(_n>=Cn)return bn;for(var Sn=0;Sn=0;Lt--)Dt=merge(Dt,Ue[Lt],!0);Fe.defaultOption=Dt}return Fe.defaultOption},$e.prototype.getReferringComponents=function(Ie,Fe){var Ue=Ie+"Index",qe=Ie+"Id";return queryReferringComponents(this.ecModel,Ie,{index:this.get(Ue,!0),id:this.get(qe,!0)},Fe)},$e.prototype.getBoxLayoutParams=function(){var Ie=this;return{left:Ie.get("left"),top:Ie.get("top"),right:Ie.get("right"),bottom:Ie.get("bottom"),width:Ie.get("width"),height:Ie.get("height")}},$e.prototype.getZLevelKey=function(){return""},$e.prototype.setZLevel=function(Ie){this.option.zlevel=Ie},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="component",Ie.id="",Ie.name="",Ie.mainType="",Ie.subType="",Ie.componentIndex=0}(),$e}(Model);mountExtend(ComponentModel,Model);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(xe){var $e=[];return each$f(ComponentModel.getClassesByMainType(xe),function(Ie){$e=$e.concat(Ie.dependencies||Ie.prototype.dependencies||[])}),$e=map$1($e,function(Ie){return parseClassType(Ie).main}),xe!=="dataset"&&indexOf($e,"dataset")<=0&&$e.unshift("dataset"),$e}var platform="";typeof navigator<"u"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)";const globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(xe){innerGlobalModel(xe).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(xe,$e,Ie){var Fe={},Ue=querySeriesUpstreamDatasetModel($e);if(!Ue||!xe)return Fe;var qe=[],At=[],Dt=$e.ecModel,Lt=innerGlobalModel(Dt).datasetMap,jt=Ue.uid+"_"+Ie.seriesLayoutBy,hn,vn;xe=xe.slice(),each$f(xe,function(kn,Cn){var Sn=isObject$3(kn)?kn:xe[Cn]={name:kn};Sn.type==="ordinal"&&hn==null&&(hn=Cn,vn=wn(Sn)),Fe[Sn.name]=[]});var bn=Lt.get(jt)||Lt.set(jt,{categoryWayDim:vn,valueWayDim:0});each$f(xe,function(kn,Cn){var Sn=kn.name,xn=wn(kn);if(hn==null){var En=bn.valueWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.valueWayDim+=xn}else if(hn===Cn)_n(Fe[Sn],0,xn),_n(qe,0,xn);else{var En=bn.categoryWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.categoryWayDim+=xn}});function _n(kn,Cn,Sn){for(var xn=0;xn$e)return xe[Fe];return xe[Ie-1]}function getFromPalette(xe,$e,Ie,Fe,Ue,qe,At){qe=qe||xe;var Dt=$e(qe),Lt=Dt.paletteIdx||0,jt=Dt.paletteNameMap=Dt.paletteNameMap||{};if(jt.hasOwnProperty(Ue))return jt[Ue];var hn=At==null||!Fe?Ie:getNearestPalette(Fe,At);if(hn=hn||Ie,!(!hn||!hn.length)){var vn=hn[Lt];return Ue&&(jt[Ue]=vn),Dt.paletteIdx=(Lt+1)%hn.length,vn}}function clearPalette(xe,$e){$e(xe).paletteIdx=0,$e(xe).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie,Fe,Ue,qe,At,Dt){qe=qe||{},this.option=null,this._theme=new Model(qe),this._locale=new Model(At),this._optionManager=Dt},$e.prototype.setOption=function(Ie,Fe,Ue){var qe=normalizeSetOptionInput(Fe);this._optionManager.setOption(Ie,Ue,qe),this._resetOption(null,qe)},$e.prototype.resetOption=function(Ie,Fe){return this._resetOption(Ie,normalizeSetOptionInput(Fe))},$e.prototype._resetOption=function(Ie,Fe){var Ue=!1,qe=this._optionManager;if(!Ie||Ie==="recreate"){var At=qe.mountOption(Ie==="recreate");!this.option||Ie==="recreate"?initBase(this,At):(this.restoreData(),this._mergeOption(At,Fe)),Ue=!0}if((Ie==="timeline"||Ie==="media")&&this.restoreData(),!Ie||Ie==="recreate"||Ie==="timeline"){var Dt=qe.getTimelineOption(this);Dt&&(Ue=!0,this._mergeOption(Dt,Fe))}if(!Ie||Ie==="recreate"||Ie==="media"){var Lt=qe.getMediaOption(this);Lt.length&&each$f(Lt,function(jt){Ue=!0,this._mergeOption(jt,Fe)},this)}return Ue},$e.prototype.mergeOption=function(Ie){this._mergeOption(Ie,null)},$e.prototype._mergeOption=function(Ie,Fe){var Ue=this.option,qe=this._componentsMap,At=this._componentsCount,Dt=[],Lt=createHashMap(),jt=Fe&&Fe.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(Ie,function(vn,bn){vn!=null&&(ComponentModel.hasClass(bn)?bn&&(Dt.push(bn),Lt.set(bn,!0)):Ue[bn]=Ue[bn]==null?clone$4(vn):merge(Ue[bn],vn,!0))}),jt&&jt.each(function(vn,bn){ComponentModel.hasClass(bn)&&!Lt.get(bn)&&(Dt.push(bn),Lt.set(bn,!0))}),ComponentModel.topologicalTravel(Dt,ComponentModel.getAllClassMainTypes(),hn,this);function hn(vn){var bn=concatInternalOptions(this,vn,normalizeToArray(Ie[vn])),_n=qe.get(vn),wn=_n?jt&&jt.get(vn)?"replaceMerge":"normalMerge":"replaceAll",kn=mappingToExists(_n,bn,wn);setComponentTypeToKeyInfo(kn,vn,ComponentModel),Ue[vn]=null,qe.set(vn,null),At.set(vn,0);var Cn=[],Sn=[],xn=0,En;each$f(kn,function(Tn,An){var $n=Tn.existing,Pn=Tn.newOption;if(!Pn)$n&&($n.mergeOption({},this),$n.optionUpdated({},!1));else{var Nn=vn==="series",Mn=ComponentModel.getClass(vn,Tn.keyInfo.subType,!Nn);if(!Mn)return;if(vn==="tooltip"){if(En)return;En=!0}if($n&&$n.constructor===Mn)$n.name=Tn.keyInfo.name,$n.mergeOption(Pn,this),$n.optionUpdated(Pn,!1);else{var In=extend({componentIndex:An},Tn.keyInfo);$n=new Mn(Pn,this,this,In),extend($n,In),Tn.brandNew&&($n.__requireNewView=!0),$n.init(Pn,this,this),$n.optionUpdated(null,!0)}}$n?(Cn.push($n.option),Sn.push($n),xn++):(Cn.push(void 0),Sn.push(void 0))},this),Ue[vn]=Cn,qe.set(vn,Sn),At.set(vn,xn),vn==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},$e.prototype.getOption=function(){var Ie=clone$4(this.option);return each$f(Ie,function(Fe,Ue){if(ComponentModel.hasClass(Ue)){for(var qe=normalizeToArray(Fe),At=qe.length,Dt=!1,Lt=At-1;Lt>=0;Lt--)qe[Lt]&&!isComponentIdInternal(qe[Lt])?Dt=!0:(qe[Lt]=null,!Dt&&At--);qe.length=At,Ie[Ue]=qe}}),delete Ie[OPTION_INNER_KEY],Ie},$e.prototype.getTheme=function(){return this._theme},$e.prototype.getLocaleModel=function(){return this._locale},$e.prototype.setUpdatePayload=function(Ie){this._payload=Ie},$e.prototype.getUpdatePayload=function(){return this._payload},$e.prototype.getComponent=function(Ie,Fe){var Ue=this._componentsMap.get(Ie);if(Ue){var qe=Ue[Fe||0];if(qe)return qe;if(Fe==null){for(var At=0;At=$e:Ie==="max"?xe<=$e:xe===$e}function indicesEquals(xe,$e){return xe.join(",")===$e.join(",")}var each$d=each$f,isObject$2=isObject$3,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(xe){var $e=xe&&xe.itemStyle;if($e)for(var Ie=0,Fe=POSSIBLE_STYLES.length;Ie=0;Cn--){var Sn=xe[Cn];if(Dt||(wn=Sn.data.rawIndexOf(Sn.stackedByDimension,_n)),wn>=0){var xn=Sn.data.getByRawIndex(Sn.stackResultDimension,wn);if(Lt==="all"||Lt==="positive"&&xn>0||Lt==="negative"&&xn<0||Lt==="samesign"&&bn>=0&&xn>0||Lt==="samesign"&&bn<=0&&xn<0){bn=addSafe(bn,xn),kn=xn;break}}}return Fe[0]=bn,Fe[1]=kn,Fe})})}var SourceImpl=function(){function xe($e){this.data=$e.data||($e.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=$e.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=$e.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=$e.startIndex||0,this.dimensionsDetectedCount=$e.dimensionsDetectedCount,this.metaRawOption=$e.metaRawOption;var Ie=this.dimensionsDefine=$e.dimensionsDefine;if(Ie)for(var Fe=0;Fekn&&(kn=En)}_n[0]=wn,_n[1]=kn}},Ue=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=($e={},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},$e[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(At){var Dt=this._data;each$f(At,function(Lt,jt){for(var hn=Dt[jt]||(Dt[jt]=[]),vn=0;vn<(Lt||[]).length;vn++)hn.push(Lt[vn])})}},$e[SOURCE_FORMAT_ORIGINAL]={appendData:qe},$e[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(At){this._data=At},clean:function(){this._offset+=this.count(),this._data=null}},$e);function qe(At){for(var Dt=0;Dt=0&&(kn=At.interpolatedValue[Cn])}return kn!=null?kn+"":""})}},xe.prototype.getRawValue=function($e,Ie){return retrieveRawValue(this.getData(Ie),$e)},xe.prototype.formatTooltip=function($e,Ie,Fe){},xe}();function normalizeTooltipFormatResult(xe){var $e,Ie;return isObject$3(xe)?xe.type&&(Ie=xe):$e=xe,{text:$e,frag:Ie}}function createTask(xe){return new Task(xe)}var Task=function(){function xe($e){$e=$e||{},this._reset=$e.reset,this._plan=$e.plan,this._count=$e.count,this._onDirty=$e.onDirty,this._dirty=!0}return xe.prototype.perform=function($e){var Ie=this._upstream,Fe=$e&&$e.skip;if(this._dirty&&Ie){var Ue=this.context;Ue.data=Ue.outputData=Ie.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var qe;this._plan&&!Fe&&(qe=this._plan(this.context));var At=hn(this._modBy),Dt=this._modDataCount||0,Lt=hn($e&&$e.modBy),jt=$e&&$e.modDataCount||0;(At!==Lt||Dt!==jt)&&(qe="reset");function hn(xn){return!(xn>=1)&&(xn=1),xn}var vn;(this._dirty||qe==="reset")&&(this._dirty=!1,vn=this._doReset(Fe)),this._modBy=Lt,this._modDataCount=jt;var bn=$e&&$e.step;if(Ie?this._dueEnd=Ie._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var _n=this._dueIndex,wn=Math.min(bn!=null?this._dueIndex+bn:1/0,this._dueEnd);if(!Fe&&(vn||_n1&&Fe>0?Dt:At}};return qe;function At(){return $e=xe?null:Lt$e},gte:function(xe,$e){return xe>=$e}},FilterOrderComparator=function(){function xe($e,Ie){if(!isNumber(Ie)){var Fe="";throwError(Fe)}this._opFn=ORDER_COMPARISON_OP_MAP[$e],this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){return isNumber($e)?this._opFn($e,this._rvalFloat):this._opFn(numericToNumber($e),this._rvalFloat)},xe}(),SortOrderComparator=function(){function xe($e,Ie){var Fe=$e==="desc";this._resultLT=Fe?1:-1,Ie==null&&(Ie=Fe?"min":"max"),this._incomparable=Ie==="min"?-1/0:1/0}return xe.prototype.evaluate=function($e,Ie){var Fe=isNumber($e)?$e:numericToNumber($e),Ue=isNumber(Ie)?Ie:numericToNumber(Ie),qe=isNaN(Fe),At=isNaN(Ue);if(qe&&(Fe=this._incomparable),At&&(Ue=this._incomparable),qe&&At){var Dt=isString($e),Lt=isString(Ie);Dt&&(Fe=Lt?$e:0),Lt&&(Ue=Dt?Ie:0)}return FeUe?-this._resultLT:0},xe}(),FilterEqualityComparator=function(){function xe($e,Ie){this._rval=Ie,this._isEQ=$e,this._rvalTypeof=typeof Ie,this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){var Ie=$e===this._rval;if(!Ie){var Fe=typeof $e;Fe!==this._rvalTypeof&&(Fe==="number"||this._rvalTypeof==="number")&&(Ie=numericToNumber($e)===this._rvalFloat)}return this._isEQ?Ie:!Ie},xe}();function createFilterComparator(xe,$e){return xe==="eq"||xe==="ne"?new FilterEqualityComparator(xe==="eq",$e):hasOwn(ORDER_COMPARISON_OP_MAP,xe)?new FilterOrderComparator(xe,$e):null}var ExternalSource=function(){function xe(){}return xe.prototype.getRawData=function(){throw new Error("not supported")},xe.prototype.getRawDataItem=function($e){throw new Error("not supported")},xe.prototype.cloneRawData=function(){},xe.prototype.getDimensionInfo=function($e){},xe.prototype.cloneAllDimensionInfo=function(){},xe.prototype.count=function(){},xe.prototype.retrieveValue=function($e,Ie){},xe.prototype.retrieveValueFromItem=function($e,Ie){},xe.prototype.convertValue=function($e,Ie){return parseDataValue($e,Ie)},xe}();function createExternalSource(xe,$e){var Ie=new ExternalSource,Fe=xe.data,Ue=Ie.sourceFormat=xe.sourceFormat,qe=xe.startIndex,At="";xe.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(At);var Dt=[],Lt={},jt=xe.dimensionsDefine;if(jt)each$f(jt,function(kn,Cn){var Sn=kn.name,xn={index:Cn,name:Sn,displayName:kn.displayName};if(Dt.push(xn),Sn!=null){var En="";hasOwn(Lt,Sn)&&throwError(En),Lt[Sn]=xn}});else for(var hn=0;hn65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(xe){var $e=xe.constructor;return $e===Array?xe.slice():new $e(xe)}function prepareStore(xe,$e,Ie,Fe,Ue){var qe=dataCtors[Ie||"float"];if(Ue){var At=xe[$e],Dt=At&&At.length;if(Dt!==Fe){for(var Lt=new qe(Fe),jt=0;jtCn[1]&&(Cn[1]=kn)}return this._rawCount=this._count=Lt,{start:Dt,end:Lt}},xe.prototype._initDataFromProvider=function($e,Ie,Fe){for(var Ue=this._provider,qe=this._chunks,At=this._dimensions,Dt=At.length,Lt=this._rawExtent,jt=map$1(At,function(xn){return xn.property}),hn=0;hnSn[1]&&(Sn[1]=Cn)}}!Ue.persistent&&Ue.clean&&Ue.clean(),this._rawCount=this._count=Ie,this._extent=[]},xe.prototype.count=function(){return this._count},xe.prototype.get=function($e,Ie){if(!(Ie>=0&&Ie=0&&Ie=this._rawCount||$e<0)return-1;if(!this._indices)return $e;var Ie=this._indices,Fe=Ie[$e];if(Fe!=null&&Fe$e)qe=At-1;else return At}return-1},xe.prototype.indicesOfNearest=function($e,Ie,Fe){var Ue=this._chunks,qe=Ue[$e],At=[];if(!qe)return At;Fe==null&&(Fe=1/0);for(var Dt=1/0,Lt=-1,jt=0,hn=0,vn=this.count();hn=0&&Lt<0)&&(Dt=wn,Lt=_n,jt=0),_n===Lt&&(At[jt++]=hn))}return At.length=jt,At},xe.prototype.getIndices=function(){var $e,Ie=this._indices;if(Ie){var Fe=Ie.constructor,Ue=this._count;if(Fe===Array){$e=new Fe(Ue);for(var qe=0;qe=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=kn),kn++}wn=!0}else if(qe===2){for(var Cn=_n[Ue[0]],En=_n[Ue[1]],Tn=$e[Ue[1]][0],An=$e[Ue[1]][1],Sn=0;Sn=vn&&xn<=bn||isNaN(xn))&&($n>=Tn&&$n<=An||isNaN($n))&&(Lt[jt++]=kn),kn++}wn=!0}}if(!wn)if(qe===1)for(var Sn=0;Sn=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=Pn)}else for(var Sn=0;Sn$e[In][1])&&(Nn=!1)}Nn&&(Lt[jt++]=Ie.getRawIndex(Sn))}return jtSn[1]&&(Sn[1]=Cn)}}}},xe.prototype.lttbDownSample=function($e,Ie){var Fe=this.clone([$e],!0),Ue=Fe._chunks,qe=Ue[$e],At=this.count(),Dt=0,Lt=Math.floor(1/Ie),jt=this.getRawIndex(0),hn,vn,bn,_n=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(At/Lt)+2)*2,At));_n[Dt++]=jt;for(var wn=1;wnhn&&(hn=vn,bn=Tn)}On>0&&Onhn-wn&&(Lt=hn-wn,Dt.length=Lt);for(var kn=0;knvn[1]&&(vn[1]=Sn),bn[_n++]=xn}return qe._count=_n,qe._indices=bn,qe._updateGetRawIdx(),qe},xe.prototype.each=function($e,Ie){if(this._count)for(var Fe=$e.length,Ue=this._chunks,qe=0,At=this.count();qeLt&&(Lt=vn)}return At=[Dt,Lt],this._extent[$e]=At,At},xe.prototype.getRawDataItem=function($e){var Ie=this.getRawIndex($e);if(this._provider.persistent)return this._provider.getItem(Ie);for(var Fe=[],Ue=this._chunks,qe=0;qe=0?this._indices[$e]:-1},xe.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},xe.internalField=function(){function $e(Ie,Fe,Ue,qe){return parseDataValue(Ie[qe],this._dimensions[qe])}defaultDimValueGetters={arrayRows:$e,objectRows:function(Ie,Fe,Ue,qe){return parseDataValue(Ie[Fe],this._dimensions[qe])},keyedColumns:$e,original:function(Ie,Fe,Ue,qe){var At=Ie&&(Ie.value==null?Ie:Ie.value);return parseDataValue(At instanceof Array?At[qe]:At,this._dimensions[qe])},typedArray:function(Ie,Fe,Ue,qe){return Ie[qe]}}}(),xe}(),SourceManager=function(){function xe($e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=$e}return xe.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},xe.prototype._setLocalSource=function($e,Ie){this._sourceList=$e,this._upstreamSignList=Ie,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},xe.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},xe.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},xe.prototype._createSource=function(){this._setLocalSource([],[]);var $e=this._sourceHost,Ie=this._getUpstreamSourceManagers(),Fe=!!Ie.length,Ue,qe;if(isSeries($e)){var At=$e,Dt=void 0,Lt=void 0,jt=void 0;if(Fe){var hn=Ie[0];hn.prepareSource(),jt=hn.getSource(),Dt=jt.data,Lt=jt.sourceFormat,qe=[hn._getVersionSign()]}else Dt=At.get("data",!0),Lt=isTypedArray(Dt)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,qe=[];var vn=this._getSourceMetaRawOption()||{},bn=jt&&jt.metaRawOption||{},_n=retrieve2(vn.seriesLayoutBy,bn.seriesLayoutBy)||null,wn=retrieve2(vn.sourceHeader,bn.sourceHeader),kn=retrieve2(vn.dimensions,bn.dimensions),Cn=_n!==bn.seriesLayoutBy||!!wn!=!!bn.sourceHeader||kn;Ue=Cn?[createSource(Dt,{seriesLayoutBy:_n,sourceHeader:wn,dimensions:kn},Lt)]:[]}else{var Sn=$e;if(Fe){var xn=this._applyTransform(Ie);Ue=xn.sourceList,qe=xn.upstreamSignList}else{var En=Sn.get("source",!0);Ue=[createSource(En,this._getSourceMetaRawOption(),null)],qe=[]}}this._setLocalSource(Ue,qe)},xe.prototype._applyTransform=function($e){var Ie=this._sourceHost,Fe=Ie.get("transform",!0),Ue=Ie.get("fromTransformResult",!0);if(Ue!=null){var qe="";$e.length!==1&&doThrow(qe)}var At,Dt=[],Lt=[];return each$f($e,function(jt){jt.prepareSource();var hn=jt.getSource(Ue||0),vn="";Ue!=null&&!hn&&doThrow(vn),Dt.push(hn),Lt.push(jt._getVersionSign())}),Fe?At=applyDataTransform(Fe,Dt,{datasetIndex:Ie.componentIndex}):Ue!=null&&(At=[cloneSourceShallow(Dt[0])]),{sourceList:At,upstreamSignList:Lt}},xe.prototype._isDirty=function(){if(this._dirty)return!0;for(var $e=this._getUpstreamSourceManagers(),Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];if(Fe._isDirty()||this._upstreamSignList[Ie]!==Fe._getVersionSign())return!0}},xe.prototype.getSource=function($e){$e=$e||0;var Ie=this._sourceList[$e];if(!Ie){var Fe=this._getUpstreamSourceManagers();return Fe[0]&&Fe[0].getSource($e)}return Ie},xe.prototype.getSharedDataStore=function($e){var Ie=$e.makeStoreSchema();return this._innerGetDataStore(Ie.dimensions,$e.source,Ie.hash)},xe.prototype._innerGetDataStore=function($e,Ie,Fe){var Ue=0,qe=this._storeList,At=qe[Ue];At||(At=qe[Ue]={});var Dt=At[Fe];if(!Dt){var Lt=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&Lt?Dt=Lt._innerGetDataStore($e,Ie,Fe):(Dt=new DataStore,Dt.initData(new DefaultDataProvider(Ie,$e.length),$e)),At[Fe]=Dt}return Dt},xe.prototype._getUpstreamSourceManagers=function(){var $e=this._sourceHost;if(isSeries($e)){var Ie=querySeriesUpstreamDatasetModel($e);return Ie?[Ie.getSourceManager()]:[]}else return map$1(queryDatasetUpstreamDatasetModels($e),function(Fe){return Fe.getSourceManager()})},xe.prototype._getSourceMetaRawOption=function(){var $e=this._sourceHost,Ie,Fe,Ue;if(isSeries($e))Ie=$e.get("seriesLayoutBy",!0),Fe=$e.get("sourceHeader",!0),Ue=$e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var qe=$e;Ie=qe.get("seriesLayoutBy",!0),Fe=qe.get("sourceHeader",!0),Ue=qe.get("dimensions",!0)}return{seriesLayoutBy:Ie,sourceHeader:Fe,dimensions:Ue}},xe}();function disableTransformOptionMerge(xe){var $e=xe.option.transform;$e&&setAsPrimitive(xe.option.transform)}function isSeries(xe){return xe.mainType==="series"}function doThrow(xe){throw new Error(xe)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipTextStyle(xe,$e){var Ie=xe.color||"#6e7079",Fe=xe.fontSize||12,Ue=xe.fontWeight||"400",qe=xe.color||"#464646",At=xe.fontSize||14,Dt=xe.fontWeight||"900";return $e==="html"?{nameStyle:"font-size:"+encodeHTML(Fe+"")+"px;color:"+encodeHTML(Ie)+";font-weight:"+encodeHTML(Ue+""),valueStyle:"font-size:"+encodeHTML(At+"")+"px;color:"+encodeHTML(qe)+";font-weight:"+encodeHTML(Dt+"")}:{nameStyle:{fontSize:Fe,fill:Ie,fontWeight:Ue},valueStyle:{fontSize:At,fill:qe,fontWeight:Dt}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["",` +`){Lt&&(Dt+=Lt,hn+=jt),qe.push(Dt),At.push(hn),Dt="",Lt="",jt=0,hn=0;continue}var _n=getWidth(bn,$e),wn=Fe?!1:!isWordBreakChar(bn);if(qe.length?hn+_n>Ie:Ue+hn+_n>Ie){hn?(Dt||Lt)&&(wn?(Dt||(Dt=Lt,Lt="",jt=0,hn=jt),qe.push(Dt),At.push(hn-jt),Lt+=bn,jt+=_n,Dt="",hn=jt):(Lt&&(Dt+=Lt,Lt="",jt=0),qe.push(Dt),At.push(hn),Dt=bn,hn=_n)):wn?(qe.push(Lt),At.push(jt),Lt=bn,jt=_n):(qe.push(bn),At.push(_n));continue}hn+=_n,wn?(Lt+=bn,jt+=_n):(Lt&&(Dt+=Lt,Lt="",jt=0),Dt+=bn)}return!qe.length&&!Dt&&(Dt=xe,Lt="",jt=0),Lt&&(Dt+=Lt),Dt&&(qe.push(Dt),At.push(hn)),qe.length===1&&(hn+=Ue),{accumWidth:hn,lines:qe,linesWidths:At}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype._init=function(Ie){for(var Fe=keys(Ie),Ue=0;Ue1e-4){Dt[0]=xe-Ie,Dt[1]=$e-Fe,Lt[0]=xe+Ie,Lt[1]=$e+Fe;return}if(start[0]=mathCos$4(Ue)*Ie+xe,start[1]=mathSin$4(Ue)*Fe+$e,end[0]=mathCos$4(qe)*Ie+xe,end[1]=mathSin$4(qe)*Fe+$e,jt(Dt,start,end),hn(Lt,start,end),Ue=Ue%PI2$8,Ue<0&&(Ue=Ue+PI2$8),qe=qe%PI2$8,qe<0&&(qe=qe+PI2$8),Ue>qe&&!At?qe+=PI2$8:UeUe&&(extremity[0]=mathCos$4(_n)*Ie+xe,extremity[1]=mathSin$4(_n)*Fe+$e,jt(Dt,extremity,Dt),hn(Lt,extremity,Lt))}var CMD$4={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$8=Math.min,mathMax$8=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$2=Math.abs,PI$8=Math.PI,PI2$7=PI$8*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(xe){var $e=Math.round(xe/PI$8*1e8)/1e8;return $e%2*PI$8}function normalizeArcAngles(xe,$e){var Ie=modPI2(xe[0]);Ie<0&&(Ie+=PI2$7);var Fe=Ie-xe[0],Ue=xe[1];Ue+=Fe,!$e&&Ue-Ie>=PI2$7?Ue=Ie+PI2$7:$e&&Ie-Ue>=PI2$7?Ue=Ie-PI2$7:!$e&&Ie>Ue?Ue=Ie+(PI2$7-modPI2(Ie-Ue)):$e&&Ie0&&(this._ux=mathAbs$2(Fe/devicePixelRatio/$e)||0,this._uy=mathAbs$2(Fe/devicePixelRatio/Ie)||0)},xe.prototype.setDPR=function($e){this.dpr=$e},xe.prototype.setContext=function($e){this._ctx=$e},xe.prototype.getContext=function(){return this._ctx},xe.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},xe.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},xe.prototype.moveTo=function($e,Ie){return this._drawPendingPt(),this.addData(CMD$4.M,$e,Ie),this._ctx&&this._ctx.moveTo($e,Ie),this._x0=$e,this._y0=Ie,this._xi=$e,this._yi=Ie,this},xe.prototype.lineTo=function($e,Ie){var Fe=mathAbs$2($e-this._xi),Ue=mathAbs$2(Ie-this._yi),qe=Fe>this._ux||Ue>this._uy;if(this.addData(CMD$4.L,$e,Ie),this._ctx&&qe&&this._ctx.lineTo($e,Ie),qe)this._xi=$e,this._yi=Ie,this._pendingPtDist=0;else{var At=Fe*Fe+Ue*Ue;At>this._pendingPtDist&&(this._pendingPtX=$e,this._pendingPtY=Ie,this._pendingPtDist=At)}return this},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){return this._drawPendingPt(),this.addData(CMD$4.C,$e,Ie,Fe,Ue,qe,At),this._ctx&&this._ctx.bezierCurveTo($e,Ie,Fe,Ue,qe,At),this._xi=qe,this._yi=At,this},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this.addData(CMD$4.Q,$e,Ie,Fe,Ue),this._ctx&&this._ctx.quadraticCurveTo($e,Ie,Fe,Ue),this._xi=Fe,this._yi=Ue,this},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this._drawPendingPt(),tmpAngles[0]=Ue,tmpAngles[1]=qe,normalizeArcAngles(tmpAngles,At),Ue=tmpAngles[0],qe=tmpAngles[1];var Dt=qe-Ue;return this.addData(CMD$4.A,$e,Ie,Fe,Fe,Ue,Dt,0,At?0:1),this._ctx&&this._ctx.arc($e,Ie,Fe,Ue,qe,At),this._xi=mathCos$3(qe)*Fe+$e,this._yi=mathSin$3(qe)*Fe+Ie,this},xe.prototype.arcTo=function($e,Ie,Fe,Ue,qe){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo($e,Ie,Fe,Ue,qe),this},xe.prototype.rect=function($e,Ie,Fe,Ue){return this._drawPendingPt(),this._ctx&&this._ctx.rect($e,Ie,Fe,Ue),this.addData(CMD$4.R,$e,Ie,Fe,Ue),this},xe.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$4.Z);var $e=this._ctx,Ie=this._x0,Fe=this._y0;return $e&&$e.closePath(),this._xi=Ie,this._yi=Fe,this},xe.prototype.fill=function($e){$e&&$e.fill(),this.toStatic()},xe.prototype.stroke=function($e){$e&&$e.stroke(),this.toStatic()},xe.prototype.len=function(){return this._len},xe.prototype.setData=function($e){var Ie=$e.length;!(this.data&&this.data.length===Ie)&&hasTypedArray&&(this.data=new Float32Array(Ie));for(var Fe=0;Fehn.length&&(this._expandData(),hn=this.data);for(var vn=0;vn0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},xe.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var $e=[],Ie=0;Ie11&&(this.data=new Float32Array($e)))}},xe.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var $e=this.data,Ie=0,Fe=0,Ue=0,qe=0,At;for(At=0;AtFe||mathAbs$2(En)>Ue||bn===Ie-1)&&(kn=Math.sqrt(xn*xn+En*En),qe=Cn,At=Sn);break}case CMD$4.C:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++],$n=$e[bn++],Pn=$e[bn++];kn=cubicLength(qe,At,Tn,An,Cn,Sn,$n,Pn,10),qe=$n,At=Pn;break}case CMD$4.Q:{var Tn=$e[bn++],An=$e[bn++],Cn=$e[bn++],Sn=$e[bn++];kn=quadraticLength(qe,At,Tn,An,Cn,Sn,10),qe=Cn,At=Sn;break}case CMD$4.A:var Nn=$e[bn++],Mn=$e[bn++],In=$e[bn++],On=$e[bn++],Rn=$e[bn++],Bn=$e[bn++],Vn=Bn+Rn;bn+=1,wn&&(Dt=mathCos$3(Rn)*In+Nn,Lt=mathSin$3(Rn)*On+Mn),kn=mathMax$8(In,On)*mathMin$8(PI2$7,Math.abs(Bn)),qe=mathCos$3(Vn)*In+Nn,At=mathSin$3(Vn)*On+Mn;break;case CMD$4.R:{Dt=qe=$e[bn++],Lt=At=$e[bn++];var Ln=$e[bn++],Dn=$e[bn++];kn=Ln*2+Dn*2;break}case CMD$4.Z:{var xn=Dt-qe,En=Lt-At;kn=Math.sqrt(xn*xn+En*En),qe=Dt,At=Lt;break}}kn>=0&&(jt[vn++]=kn,hn+=kn)}return this._pathLen=hn,hn},xe.prototype.rebuildPath=function($e,Ie){var Fe=this.data,Ue=this._ux,qe=this._uy,At=this._len,Dt,Lt,jt,hn,vn,bn,_n=Ie<1,wn,kn,Cn=0,Sn=0,xn,En=0,Tn,An;if(!(_n&&(this._pathSegLen||this._calculateLength(),wn=this._pathSegLen,kn=this._pathLen,xn=Ie*kn,!xn)))e:for(var $n=0;$n0&&($e.lineTo(Tn,An),En=0),Pn){case CMD$4.M:Dt=jt=Fe[$n++],Lt=hn=Fe[$n++],$e.moveTo(jt,hn);break;case CMD$4.L:{vn=Fe[$n++],bn=Fe[$n++];var Mn=mathAbs$2(vn-jt),In=mathAbs$2(bn-hn);if(Mn>Ue||In>qe){if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+vn*Rn,hn*(1-Rn)+bn*Rn);break e}Cn+=On}$e.lineTo(vn,bn),jt=vn,hn=bn,En=0}else{var Bn=Mn*Mn+In*In;Bn>En&&(Tn=vn,An=bn,En=Bn)}break}case CMD$4.C:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++],Fn=Fe[$n++],zn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;cubicSubdivide(jt,Vn,Dn,Fn,Rn,tmpOutX),cubicSubdivide(hn,Ln,Hn,zn,Rn,tmpOutY),$e.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}Cn+=On}$e.bezierCurveTo(Vn,Ln,Dn,Hn,Fn,zn),jt=Fn,hn=zn;break}case CMD$4.Q:{var Vn=Fe[$n++],Ln=Fe[$n++],Dn=Fe[$n++],Hn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;quadraticSubdivide(jt,Vn,Dn,Rn,tmpOutX),quadraticSubdivide(hn,Ln,Hn,Rn,tmpOutY),$e.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}Cn+=On}$e.quadraticCurveTo(Vn,Ln,Dn,Hn),jt=Dn,hn=Hn;break}case CMD$4.A:var jn=Fe[$n++],Gn=Fe[$n++],Wn=Fe[$n++],Xn=Fe[$n++],er=Fe[$n++],rr=Fe[$n++],Jn=Fe[$n++],qn=!Fe[$n++],Yn=Wn>Xn?Wn:Xn,ar=mathAbs$2(Wn-Xn)>.001,tr=er+rr,or=!1;if(_n){var On=wn[Sn++];Cn+On>xn&&(tr=er+rr*(xn-Cn)/On,or=!0),Cn+=On}if(ar&&$e.ellipse?$e.ellipse(jn,Gn,Wn,Xn,Jn,er,tr,qn):$e.arc(jn,Gn,Yn,er,tr,qn),or)break e;Nn&&(Dt=mathCos$3(er)*Wn+jn,Lt=mathSin$3(er)*Xn+Gn),jt=mathCos$3(tr)*Wn+jn,hn=mathSin$3(tr)*Xn+Gn;break;case CMD$4.R:Dt=jt=Fe[$n],Lt=hn=Fe[$n+1],vn=Fe[$n++],bn=Fe[$n++];var sr=Fe[$n++],Kn=Fe[$n++];if(_n){var On=wn[Sn++];if(Cn+On>xn){var Zn=xn-Cn;$e.moveTo(vn,bn),$e.lineTo(vn+mathMin$8(Zn,sr),bn),Zn-=sr,Zn>0&&$e.lineTo(vn+sr,bn+mathMin$8(Zn,Kn)),Zn-=Kn,Zn>0&&$e.lineTo(vn+mathMax$8(sr-Zn,0),bn+Kn),Zn-=sr,Zn>0&&$e.lineTo(vn,bn+mathMax$8(Kn-Zn,0));break e}Cn+=On}$e.rect(vn,bn,sr,Kn);break;case CMD$4.Z:if(_n){var On=wn[Sn++];if(Cn+On>xn){var Rn=(xn-Cn)/On;$e.lineTo(jt*(1-Rn)+Dt*Rn,hn*(1-Rn)+Lt*Rn);break e}Cn+=On}$e.closePath(),jt=Dt,hn=Lt}}},xe.prototype.clone=function(){var $e=new xe,Ie=this.data;return $e.data=Ie.slice?Ie.slice():Array.prototype.slice.call(Ie),$e._len=this._len,$e},xe.CMD=CMD$4,xe.initDefaultProps=function(){var $e=xe.prototype;$e._saveData=!0,$e._ux=0,$e._uy=0,$e._pendingPtDist=0,$e._version=0}(),xe}();function containStroke$4(xe,$e,Ie,Fe,Ue,qe,At){if(Ue===0)return!1;var Dt=Ue,Lt=0,jt=xe;if(At>$e+Dt&&At>Fe+Dt||At<$e-Dt&&Atxe+Dt&&qe>Ie+Dt||qe$e+vn&&hn>Fe+vn&&hn>qe+vn&&hn>Dt+vn||hn<$e-vn&&hnxe+vn&&jt>Ie+vn&&jt>Ue+vn&&jt>At+vn||jt$e+jt&&Lt>Fe+jt&&Lt>qe+jt||Lt<$e-jt&&Ltxe+jt&&Dt>Ie+jt&&Dt>Ue+jt||DtIe||hn+jtUe&&(Ue+=PI2$5);var bn=Math.atan2(Lt,Dt);return bn<0&&(bn+=PI2$5),bn>=Fe&&bn<=Ue||bn+PI2$5>=Fe&&bn+PI2$5<=Ue}function windingLine(xe,$e,Ie,Fe,Ue,qe){if(qe>$e&&qe>Fe||qe<$e&&qeUe?Dt:0}var CMD$3=PathProxy.CMD,PI2$4=Math.PI*2,EPSILON$1=1e-4;function isAroundEqual$1(xe,$e){return Math.abs(xe-$e)$e&&jt>Fe&&jt>qe&&jt>Dt||jt<$e&&jt1&&swapExtrema(),_n=cubicAt($e,Fe,qe,Dt,extrema[0]),bn>1&&(wn=cubicAt($e,Fe,qe,Dt,extrema[1]))),bn===2?Cn$e&&Dt>Fe&&Dt>qe||Dt<$e&&Dt=0&&jt<=1){for(var hn=0,vn=quadraticAt$1($e,Fe,qe,jt),bn=0;bnIe||Dt<-Ie)return 0;var Lt=Math.sqrt(Ie*Ie-Dt*Dt);roots[0]=-Lt,roots[1]=Lt;var jt=Math.abs(Fe-Ue);if(jt<1e-4)return 0;if(jt>=PI2$4-1e-4){Fe=0,Ue=PI2$4;var hn=qe?1:-1;return At>=roots[0]+xe&&At<=roots[1]+xe?hn:0}if(Fe>Ue){var vn=Fe;Fe=Ue,Ue=vn}Fe<0&&(Fe+=PI2$4,Ue+=PI2$4);for(var bn=0,_n=0;_n<2;_n++){var wn=roots[_n];if(wn+xe>At){var kn=Math.atan2(Dt,wn),hn=qe?1:-1;kn<0&&(kn=PI2$4+kn),(kn>=Fe&&kn<=Ue||kn+PI2$4>=Fe&&kn+PI2$4<=Ue)&&(kn>Math.PI/2&&kn1&&(Ie||(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue))),Cn&&(Lt=qe[wn],jt=qe[wn+1],hn=Lt,vn=jt),kn){case CMD$3.M:hn=qe[wn++],vn=qe[wn++],Lt=hn,jt=vn;break;case CMD$3.L:if(Ie){if(containStroke$4(Lt,jt,qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.C:if(Ie){if(containStroke$3(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingCubic(Lt,jt,qe[wn++],qe[wn++],qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.Q:if(Ie){if(containStroke$2(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],$e,Fe,Ue))return!0}else Dt+=windingQuadratic(Lt,jt,qe[wn++],qe[wn++],qe[wn],qe[wn+1],Fe,Ue)||0;Lt=qe[wn++],jt=qe[wn++];break;case CMD$3.A:var Sn=qe[wn++],xn=qe[wn++],En=qe[wn++],Tn=qe[wn++],An=qe[wn++],$n=qe[wn++];wn+=1;var Pn=!!(1-qe[wn++]);bn=Math.cos(An)*En+Sn,_n=Math.sin(An)*Tn+xn,Cn?(hn=bn,vn=_n):Dt+=windingLine(Lt,jt,bn,_n,Fe,Ue);var Nn=(Fe-Sn)*Tn/En+Sn;if(Ie){if(containStroke$1(Sn,xn,Tn,An,An+$n,Pn,$e,Nn,Ue))return!0}else Dt+=windingArc(Sn,xn,Tn,An,An+$n,Pn,Nn,Ue);Lt=Math.cos(An+$n)*En+Sn,jt=Math.sin(An+$n)*Tn+xn;break;case CMD$3.R:hn=Lt=qe[wn++],vn=jt=qe[wn++];var Mn=qe[wn++],In=qe[wn++];if(bn=hn+Mn,_n=vn+In,Ie){if(containStroke$4(hn,vn,bn,vn,$e,Fe,Ue)||containStroke$4(bn,vn,bn,_n,$e,Fe,Ue)||containStroke$4(bn,_n,hn,_n,$e,Fe,Ue)||containStroke$4(hn,_n,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(bn,vn,bn,_n,Fe,Ue),Dt+=windingLine(hn,_n,hn,vn,Fe,Ue);break;case CMD$3.Z:if(Ie){if(containStroke$4(Lt,jt,hn,vn,$e,Fe,Ue))return!0}else Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue);Lt=hn,jt=vn;break}}return!Ie&&!isAroundEqual$1(jt,vn)&&(Dt+=windingLine(Lt,jt,hn,vn,Fe,Ue)||0),Dt!==0}function contain$2(xe,$e,Ie){return containPath(xe,0,!1,$e,Ie)}function containStroke(xe,$e,Ie,Fe){return containPath(xe,$e,!0,Ie,Fe)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.update=function(){var Ie=this;xe.prototype.update.call(this);var Fe=this.style;if(Fe.decal){var Ue=this._decalEl=this._decalEl||new $e;Ue.buildPath===$e.prototype.buildPath&&(Ue.buildPath=function(Lt){Ie.buildPath(Lt,Ie.shape)}),Ue.silent=!0;var qe=Ue.style;for(var At in Fe)qe[At]!==Fe[At]&&(qe[At]=Fe[At]);qe.fill=Fe.fill?Fe.decal:null,qe.decal=null,qe.shadowColor=null,Fe.strokeFirst&&(qe.stroke=null);for(var Dt=0;Dt.5?DARK_LABEL_COLOR:Fe>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(Ie)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},$e.prototype.getInsideTextStroke=function(Ie){var Fe=this.style.fill;if(isString(Fe)){var Ue=this.__zr,qe=!!(Ue&&Ue.isDarkMode()),At=lum(Ie,0)0))},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.getBoundingRect=function(){var Ie=this._rect,Fe=this.style,Ue=!Ie;if(Ue){var qe=!1;this.path||(qe=!0,this.createPathProxy());var At=this.path;(qe||this.__dirty&SHAPE_CHANGED_BIT)&&(At.beginPath(),this.buildPath(At,this.shape,!1),this.pathUpdated()),Ie=At.getBoundingRect()}if(this._rect=Ie,this.hasStroke()&&this.path&&this.path.len()>0){var Dt=this._rectStroke||(this._rectStroke=Ie.clone());if(this.__dirty||Ue){Dt.copy(Ie);var Lt=Fe.strokeNoScale?this.getLineScale():1,jt=Fe.lineWidth;if(!this.hasFill()){var hn=this.strokeContainThreshold;jt=Math.max(jt,hn??4)}Lt>1e-10&&(Dt.width+=jt/Lt,Dt.height+=jt/Lt,Dt.x-=jt/Lt/2,Dt.y-=jt/Lt/2)}return Dt}return Ie},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect(),At=this.style;if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var Dt=this.path;if(this.hasStroke()){var Lt=At.lineWidth,jt=At.strokeNoScale?this.getLineScale():1;if(jt>1e-10&&(this.hasFill()||(Lt=Math.max(Lt,this.strokeContainThreshold)),containStroke(Dt,Lt/jt,Ie,Fe)))return!0}if(this.hasFill())return contain$2(Dt,Ie,Fe)}return!1},$e.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},$e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},$e.prototype.animateShape=function(Ie){return this.animate("shape",Ie)},$e.prototype.updateDuringAnimation=function(Ie){Ie==="style"?this.dirtyStyle():Ie==="shape"?this.dirtyShape():this.markRedraw()},$e.prototype.attrKV=function(Ie,Fe){Ie==="shape"?this.setShape(Fe):xe.prototype.attrKV.call(this,Ie,Fe)},$e.prototype.setShape=function(Ie,Fe){var Ue=this.shape;return Ue||(Ue=this.shape={}),typeof Ie=="string"?Ue[Ie]=Fe:extend(Ue,Ie),this.dirtyShape(),this},$e.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_PATH_STYLE,Ie)},$e.prototype._innerSaveToNormal=function(Ie){xe.prototype._innerSaveToNormal.call(this,Ie);var Fe=this._normalState;Ie.shape&&!Fe.shape&&(Fe.shape=extend({},this.shape))},$e.prototype._applyStateObj=function(Ie,Fe,Ue,qe,At,Dt){xe.prototype._applyStateObj.call(this,Ie,Fe,Ue,qe,At,Dt);var Lt=!(Fe&&qe),jt;if(Fe&&Fe.shape?At?qe?jt=Fe.shape:(jt=extend({},Ue.shape),extend(jt,Fe.shape)):(jt=extend({},qe?this.shape:Ue.shape),extend(jt,Fe.shape)):Lt&&(jt=Ue.shape),jt)if(At){this.shape=extend({},this.shape);for(var hn={},vn=keys(jt),bn=0;bn0},$e.prototype.hasFill=function(){var Ie=this.style,Fe=Ie.fill;return Fe!=null&&Fe!=="none"},$e.prototype.createStyle=function(Ie){return createObject(DEFAULT_TSPAN_STYLE,Ie)},$e.prototype.setBoundingRect=function(Ie){this._rect=Ie},$e.prototype.getBoundingRect=function(){var Ie=this.style;if(!this._rect){var Fe=Ie.text;Fe!=null?Fe+="":Fe="";var Ue=getBoundingRect(Fe,Ie.font,Ie.textAlign,Ie.textBaseline);if(Ue.x+=Ie.x||0,Ue.y+=Ie.y||0,this.hasStroke()){var qe=Ie.lineWidth;Ue.x-=qe/2,Ue.y-=qe/2,Ue.width+=qe,Ue.height+=qe}this._rect=Ue}return this._rect},$e.initDefaultProps=function(){var Ie=$e.prototype;Ie.dirtyRectTolerance=10}(),$e}(Displayable);TSpan.prototype.type="tspan";var DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(xe){return!!(xe&&typeof xe!="string"&&xe.width&&xe.height)}var ZRImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.createStyle=function(Ie){return createObject(DEFAULT_IMAGE_STYLE,Ie)},$e.prototype._getSize=function(Ie){var Fe=this.style,Ue=Fe[Ie];if(Ue!=null)return Ue;var qe=isImageLike$1(Fe.image)?Fe.image:this.__image;if(!qe)return 0;var At=Ie==="width"?"height":"width",Dt=Fe[At];return Dt==null?qe[Ie]:qe[Ie]/qe[At]*Dt},$e.prototype.getWidth=function(){return this._getSize("width")},$e.prototype.getHeight=function(){return this._getSize("height")},$e.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},$e.prototype.getBoundingRect=function(){var Ie=this.style;return this._rect||(this._rect=new BoundingRect(Ie.x||0,Ie.y||0,this.getWidth(),this.getHeight())),this._rect},$e}(Displayable);ZRImage.prototype.type="image";function buildPath$2(xe,$e){var Ie=$e.x,Fe=$e.y,Ue=$e.width,qe=$e.height,At=$e.r,Dt,Lt,jt,hn;Ue<0&&(Ie=Ie+Ue,Ue=-Ue),qe<0&&(Fe=Fe+qe,qe=-qe),typeof At=="number"?Dt=Lt=jt=hn=At:At instanceof Array?At.length===1?Dt=Lt=jt=hn=At[0]:At.length===2?(Dt=jt=At[0],Lt=hn=At[1]):At.length===3?(Dt=At[0],Lt=hn=At[1],jt=At[2]):(Dt=At[0],Lt=At[1],jt=At[2],hn=At[3]):Dt=Lt=jt=hn=0;var vn;Dt+Lt>Ue&&(vn=Dt+Lt,Dt*=Ue/vn,Lt*=Ue/vn),jt+hn>Ue&&(vn=jt+hn,jt*=Ue/vn,hn*=Ue/vn),Lt+jt>qe&&(vn=Lt+jt,Lt*=qe/vn,jt*=qe/vn),Dt+hn>qe&&(vn=Dt+hn,Dt*=qe/vn,hn*=qe/vn),xe.moveTo(Ie+Dt,Fe),xe.lineTo(Ie+Ue-Lt,Fe),Lt!==0&&xe.arc(Ie+Ue-Lt,Fe+Lt,Lt,-Math.PI/2,0),xe.lineTo(Ie+Ue,Fe+qe-jt),jt!==0&&xe.arc(Ie+Ue-jt,Fe+qe-jt,jt,0,Math.PI/2),xe.lineTo(Ie+hn,Fe+qe),hn!==0&&xe.arc(Ie+hn,Fe+qe-hn,hn,Math.PI/2,Math.PI),xe.lineTo(Ie,Fe+Dt),Dt!==0&&xe.arc(Ie+Dt,Fe+Dt,Dt,Math.PI,Math.PI*1.5)}var round$2=Math.round;function subPixelOptimizeLine$1(xe,$e,Ie){if($e){var Fe=$e.x1,Ue=$e.x2,qe=$e.y1,At=$e.y2;xe.x1=Fe,xe.x2=Ue,xe.y1=qe,xe.y2=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(round$2(Fe*2)===round$2(Ue*2)&&(xe.x1=xe.x2=subPixelOptimize$1(Fe,Dt,!0)),round$2(qe*2)===round$2(At*2)&&(xe.y1=xe.y2=subPixelOptimize$1(qe,Dt,!0))),xe}}function subPixelOptimizeRect$1(xe,$e,Ie){if($e){var Fe=$e.x,Ue=$e.y,qe=$e.width,At=$e.height;xe.x=Fe,xe.y=Ue,xe.width=qe,xe.height=At;var Dt=Ie&&Ie.lineWidth;return Dt&&(xe.x=subPixelOptimize$1(Fe,Dt,!0),xe.y=subPixelOptimize$1(Ue,Dt,!0),xe.width=Math.max(subPixelOptimize$1(Fe+qe,Dt,!1)-xe.x,qe===0?0:1),xe.height=Math.max(subPixelOptimize$1(Ue+At,Dt,!1)-xe.y,At===0?0:1)),xe}}function subPixelOptimize$1(xe,$e,Ie){if(!$e)return xe;var Fe=round$2(xe*2);return(Fe+round$2($e))%2===0?Fe/2:(Fe+(Ie?1:-1))/2}var RectShape=function(){function xe(){this.x=0,this.y=0,this.width=0,this.height=0}return xe}(),subPixelOptimizeOutputShape$1={},Rect$2=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RectShape},$e.prototype.buildPath=function(Ie,Fe){var Ue,qe,At,Dt;if(this.subPixelOptimize){var Lt=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,Fe,this.style);Ue=Lt.x,qe=Lt.y,At=Lt.width,Dt=Lt.height,Lt.r=Fe.r,Fe=Lt}else Ue=Fe.x,qe=Fe.y,At=Fe.width,Dt=Fe.height;Fe.r?buildPath$2(Ie,Fe):Ie.rect(Ue,qe,At,Dt)},$e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},$e}(Path);Rect$2.prototype.type="rect";var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this)||this;return Fe.type="text",Fe._children=[],Fe._defaultStyle=DEFAULT_RICH_TEXT_COLOR,Fe.attr(Ie),Fe}return $e.prototype.childrenRef=function(){return this._children},$e.prototype.update=function(){xe.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var Ie=0;Ie0,Rn=Ie.width!=null&&(Ie.overflow==="truncate"||Ie.overflow==="break"||Ie.overflow==="breakAll"),Bn=At.calculatedLineHeight,Vn=0;Vn=0&&(Vn=$n[Bn],Vn.align==="right");)this._placeToken(Vn,Ie,Nn,Sn,Rn,"right",En),Mn-=Vn.width,Rn-=Vn.width,Bn--;for(On+=(qe-(On-Cn)-(xn-Rn)-Mn)/2;In<=Bn;)Vn=$n[In],this._placeToken(Vn,Ie,Nn,Sn,On+Vn.width/2,"center",En),On+=Vn.width,In++;Sn+=Nn}},$e.prototype._placeToken=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Fe.rich[Ie.styleName]||{};jt.text=Ie.text;var hn=Ie.verticalAlign,vn=qe+Ue/2;hn==="top"?vn=qe+Ie.height/2:hn==="bottom"&&(vn=qe+Ue-Ie.height/2);var bn=!Ie.isLineHolder&&needDrawBackground(jt);bn&&this._renderBackground(jt,Fe,Dt==="right"?At-Ie.width:Dt==="center"?At-Ie.width/2:At,vn-Ie.height/2,Ie.width,Ie.height);var _n=!!jt.backgroundColor,wn=Ie.textPadding;wn&&(At=getTextXForPadding(At,Dt,wn),vn-=Ie.height/2-wn[0]-Ie.innerHeight/2);var kn=this._getOrCreateChild(TSpan),Cn=kn.createStyle();kn.useStyle(Cn);var Sn=this._defaultStyle,xn=!1,En=0,Tn=getFill("fill"in jt?jt.fill:"fill"in Fe?Fe.fill:(xn=!0,Sn.fill)),An=getStroke("stroke"in jt?jt.stroke:"stroke"in Fe?Fe.stroke:!_n&&!Lt&&(!Sn.autoStroke||xn)?(En=DEFAULT_STROKE_LINE_WIDTH,Sn.stroke):null),$n=jt.textShadowBlur>0||Fe.textShadowBlur>0;Cn.text=Ie.text,Cn.x=At,Cn.y=vn,$n&&(Cn.shadowBlur=jt.textShadowBlur||Fe.textShadowBlur||0,Cn.shadowColor=jt.textShadowColor||Fe.textShadowColor||"transparent",Cn.shadowOffsetX=jt.textShadowOffsetX||Fe.textShadowOffsetX||0,Cn.shadowOffsetY=jt.textShadowOffsetY||Fe.textShadowOffsetY||0),Cn.textAlign=Dt,Cn.textBaseline="middle",Cn.font=Ie.font||DEFAULT_FONT,Cn.opacity=retrieve3(jt.opacity,Fe.opacity,1),setSeparateFont(Cn,jt),An&&(Cn.lineWidth=retrieve3(jt.lineWidth,Fe.lineWidth,En),Cn.lineDash=retrieve2(jt.lineDash,Fe.lineDash),Cn.lineDashOffset=Fe.lineDashOffset||0,Cn.stroke=An),Tn&&(Cn.fill=Tn);var Pn=Ie.contentWidth,Nn=Ie.contentHeight;kn.setBoundingRect(new BoundingRect(adjustTextX(Cn.x,Pn,Cn.textAlign),adjustTextY(Cn.y,Nn,Cn.textBaseline),Pn,Nn))},$e.prototype._renderBackground=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ie.backgroundColor,jt=Ie.borderWidth,hn=Ie.borderColor,vn=Lt&&Lt.image,bn=Lt&&!vn,_n=Ie.borderRadius,wn=this,kn,Cn;if(bn||Ie.lineHeight||jt&&hn){kn=this._getOrCreateChild(Rect$2),kn.useStyle(kn.createStyle()),kn.style.fill=null;var Sn=kn.shape;Sn.x=Ue,Sn.y=qe,Sn.width=At,Sn.height=Dt,Sn.r=_n,kn.dirtyShape()}if(bn){var xn=kn.style;xn.fill=Lt||null,xn.fillOpacity=retrieve2(Ie.fillOpacity,1)}else if(vn){Cn=this._getOrCreateChild(ZRImage),Cn.onload=function(){wn.dirtyStyle()};var En=Cn.style;En.image=Lt.image,En.x=Ue,En.y=qe,En.width=At,En.height=Dt}if(jt&&hn){var xn=kn.style;xn.lineWidth=jt,xn.stroke=hn,xn.strokeOpacity=retrieve2(Ie.strokeOpacity,1),xn.lineDash=Ie.borderDash,xn.lineDashOffset=Ie.borderDashOffset||0,kn.strokeContainThreshold=0,kn.hasFill()&&kn.hasStroke()&&(xn.strokeFirst=!0,xn.lineWidth*=2)}var Tn=(kn||Cn).style;Tn.shadowBlur=Ie.shadowBlur||0,Tn.shadowColor=Ie.shadowColor||"transparent",Tn.shadowOffsetX=Ie.shadowOffsetX||0,Tn.shadowOffsetY=Ie.shadowOffsetY||0,Tn.opacity=retrieve3(Ie.opacity,Fe.opacity,1)},$e.makeFont=function(Ie){var Fe="";return hasSeparateFont(Ie)&&(Fe=[Ie.fontStyle,Ie.fontWeight,parseFontSize(Ie.fontSize),Ie.fontFamily||"sans-serif"].join(" ")),Fe&&trim$1(Fe)||Ie.textFont||Ie.font},$e}(Displayable),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(xe){return typeof xe=="string"&&(xe.indexOf("px")!==-1||xe.indexOf("rem")!==-1||xe.indexOf("em")!==-1)?xe:isNaN(+xe)?DEFAULT_FONT_SIZE+"px":xe+"px"}function setSeparateFont(xe,$e){for(var Ie=0;Ie=0,qe=!1;if(xe instanceof Path){var At=getSavedStates(xe),Dt=Ue&&At.selectFill||At.normalFill,Lt=Ue&&At.selectStroke||At.normalStroke;if(hasFillOrStroke(Dt)||hasFillOrStroke(Lt)){Fe=Fe||{};var jt=Fe.style||{};jt.fill==="inherit"?(qe=!0,Fe=extend({},Fe),jt=extend({},jt),jt.fill=Dt):!hasFillOrStroke(jt.fill)&&hasFillOrStroke(Dt)?(qe=!0,Fe=extend({},Fe),jt=extend({},jt),jt.fill=liftColor(Dt)):!hasFillOrStroke(jt.stroke)&&hasFillOrStroke(Lt)&&(qe||(Fe=extend({},Fe),jt=extend({},jt)),jt.stroke=liftColor(Lt)),Fe.style=jt}}if(Fe&&Fe.z2==null){qe||(Fe=extend({},Fe));var hn=xe.z2EmphasisLift;Fe.z2=xe.z2+(hn??Z2_EMPHASIS_LIFT)}return Fe}function createSelectDefaultState(xe,$e,Ie){if(Ie&&Ie.z2==null){Ie=extend({},Ie);var Fe=xe.z2SelectLift;Ie.z2=xe.z2+(Fe??Z2_SELECT_LIFT)}return Ie}function createBlurDefaultState(xe,$e,Ie){var Fe=indexOf(xe.currentStates,$e)>=0,Ue=xe.style.opacity,qe=Fe?null:getFromStateStyle(xe,["opacity"],$e,{opacity:1});Ie=Ie||{};var At=Ie.style||{};return At.opacity==null&&(Ie=extend({},Ie),At=extend({opacity:Fe?Ue:qe.opacity*.1},At),Ie.style=At),Ie}function elementStateProxy(xe,$e){var Ie=this.states[xe];if(this.style){if(xe==="emphasis")return createEmphasisDefaultState(this,xe,$e,Ie);if(xe==="blur")return createBlurDefaultState(this,xe,Ie);if(xe==="select")return createSelectDefaultState(this,xe,Ie)}return Ie}function setDefaultStateProxy(xe){xe.stateProxy=elementStateProxy;var $e=xe.getTextContent(),Ie=xe.getTextGuideLine();$e&&($e.stateProxy=elementStateProxy),Ie&&(Ie.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(xe,$e){!shouldSilent(xe,$e)&&!xe.__highByOuter&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterEmphasis(xe,$e){xe.__highByOuter|=1<<($e||0),traverseUpdateState(xe,singleEnterEmphasis)}function leaveEmphasis(xe,$e){!(xe.__highByOuter&=~(1<<($e||0)))&&traverseUpdateState(xe,singleLeaveEmphasis)}function enterBlur(xe){traverseUpdateState(xe,singleEnterBlur)}function leaveBlur(xe){traverseUpdateState(xe,singleLeaveBlur)}function enterSelect(xe){traverseUpdateState(xe,singleEnterSelect)}function leaveSelect(xe){traverseUpdateState(xe,singleLeaveSelect)}function shouldSilent(xe,$e){return xe.__highDownSilentOnTouch&&$e.zrByTouch}function allLeaveBlur(xe){var $e=xe.getModel(),Ie=[],Fe=[];$e.eachComponent(function(Ue,qe){var At=getComponentStates(qe),Dt=Ue==="series",Lt=Dt?xe.getViewOfSeriesModel(qe):xe.getViewOfComponentModel(qe);!Dt&&Fe.push(Lt),At.isBlured&&(Lt.group.traverse(function(jt){singleLeaveBlur(jt)}),Dt&&Ie.push(qe)),At.isBlured=!1}),each$f(Fe,function(Ue){Ue&&Ue.toggleBlurSeries&&Ue.toggleBlurSeries(Ie,!1,$e)})}function blurSeries(xe,$e,Ie,Fe){var Ue=Fe.getModel();Ie=Ie||"coordinateSystem";function qe(jt,hn){for(var vn=0;vn0){var Dt={dataIndex:At,seriesIndex:Ie.seriesIndex};qe!=null&&(Dt.dataType=qe),$e.push(Dt)}})}),$e}function enableHoverEmphasis(xe,$e,Ie){setAsHighDownDispatcher(xe,!0),traverseUpdateState(xe,setDefaultStateProxy),enableHoverFocus(xe,$e,Ie)}function disableHoverEmphasis(xe){setAsHighDownDispatcher(xe,!1)}function toggleHoverEmphasis(xe,$e,Ie,Fe){Fe?disableHoverEmphasis(xe):enableHoverEmphasis(xe,$e,Ie)}function enableHoverFocus(xe,$e,Ie){var Fe=getECData(xe);$e!=null?(Fe.focus=$e,Fe.blurScope=Ie):Fe.focus&&(Fe.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(xe,$e,Ie,Fe){Ie=Ie||"itemStyle";for(var Ue=0;Ue1&&(At*=mathSqrt$1(wn),Dt*=mathSqrt$1(wn));var kn=(Ue===qe?-1:1)*mathSqrt$1((At*At*(Dt*Dt)-At*At*(_n*_n)-Dt*Dt*(bn*bn))/(At*At*(_n*_n)+Dt*Dt*(bn*bn)))||0,Cn=kn*At*_n/Dt,Sn=kn*-Dt*bn/At,xn=(xe+Ie)/2+mathCos$2(vn)*Cn-mathSin$2(vn)*Sn,En=($e+Fe)/2+mathSin$2(vn)*Cn+mathCos$2(vn)*Sn,Tn=vAngle([1,0],[(bn-Cn)/At,(_n-Sn)/Dt]),An=[(bn-Cn)/At,(_n-Sn)/Dt],$n=[(-1*bn-Cn)/At,(-1*_n-Sn)/Dt],Pn=vAngle(An,$n);if(vRatio(An,$n)<=-1&&(Pn=PI$7),vRatio(An,$n)>=1&&(Pn=0),Pn<0){var Nn=Math.round(Pn/PI$7*1e6)/1e6;Pn=PI$7*2+Nn%2*PI$7}hn.addData(jt,xn,En,At,Dt,Tn,Pn,vn,qe)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg$1=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(xe){var $e=new PathProxy;if(!xe)return $e;var Ie=0,Fe=0,Ue=Ie,qe=Fe,At,Dt=PathProxy.CMD,Lt=xe.match(commandReg);if(!Lt)return $e;for(var jt=0;jtVn*Vn+Ln*Ln&&(Nn=In,Mn=On),{cx:Nn,cy:Mn,x0:-hn,y0:-vn,x1:Nn*(Ue/An-1),y1:Mn*(Ue/An-1)}}function normalizeCornerRadius(xe){var $e;if(isArray$1(xe)){var Ie=xe.length;if(!Ie)return xe;Ie===1?$e=[xe[0],xe[0],0,0]:Ie===2?$e=[xe[0],xe[0],xe[1],xe[1]]:Ie===3?$e=xe.concat(xe[2]):$e=xe}else $e=[xe,xe,xe,xe];return $e}function buildPath$1(xe,$e){var Ie,Fe=mathMax$7($e.r,0),Ue=mathMax$7($e.r0||0,0),qe=Fe>0,At=Ue>0;if(!(!qe&&!At)){if(qe||(Fe=Ue,Ue=0),Ue>Fe){var Dt=Fe;Fe=Ue,Ue=Dt}var Lt=$e.startAngle,jt=$e.endAngle;if(!(isNaN(Lt)||isNaN(jt))){var hn=$e.cx,vn=$e.cy,bn=!!$e.clockwise,_n=mathAbs$1(jt-Lt),wn=_n>PI2$3&&_n%PI2$3;if(wn>e&&(_n=wn),!(Fe>e))xe.moveTo(hn,vn);else if(_n>PI2$3-e)xe.moveTo(hn+Fe*mathCos$1(Lt),vn+Fe*mathSin$1(Lt)),xe.arc(hn,vn,Fe,Lt,jt,!bn),Ue>e&&(xe.moveTo(hn+Ue*mathCos$1(jt),vn+Ue*mathSin$1(jt)),xe.arc(hn,vn,Ue,jt,Lt,bn));else{var kn=void 0,Cn=void 0,Sn=void 0,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0,Pn=void 0,Nn=void 0,Mn=void 0,In=void 0,On=void 0,Rn=void 0,Bn=void 0,Vn=void 0,Ln=Fe*mathCos$1(Lt),Dn=Fe*mathSin$1(Lt),Hn=Ue*mathCos$1(jt),Fn=Ue*mathSin$1(jt),zn=_n>e;if(zn){var jn=$e.cornerRadius;jn&&(Ie=normalizeCornerRadius(jn),kn=Ie[0],Cn=Ie[1],Sn=Ie[2],xn=Ie[3]);var Gn=mathAbs$1(Fe-Ue)/2;if(En=mathMin$7(Gn,Sn),Tn=mathMin$7(Gn,xn),An=mathMin$7(Gn,kn),$n=mathMin$7(Gn,Cn),Mn=Pn=mathMax$7(En,Tn),In=Nn=mathMax$7(An,$n),(Pn>e||Nn>e)&&(On=Fe*mathCos$1(jt),Rn=Fe*mathSin$1(jt),Bn=Ue*mathCos$1(Lt),Vn=Ue*mathSin$1(Lt),_ne){var ar=mathMin$7(Sn,Mn),tr=mathMin$7(xn,Mn),or=computeCornerTangents(Bn,Vn,Ln,Dn,Fe,ar,bn),sr=computeCornerTangents(On,Rn,Hn,Fn,Fe,tr,bn);xe.moveTo(hn+or.cx+or.x0,vn+or.cy+or.y0),Mn0&&xe.arc(hn+or.cx,vn+or.cy,ar,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Fe,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),!bn),tr>0&&xe.arc(hn+sr.cx,vn+sr.cy,tr,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.moveTo(hn+Ln,vn+Dn),xe.arc(hn,vn,Fe,Lt,jt,!bn);if(!(Ue>e)||!zn)xe.lineTo(hn+Hn,vn+Fn);else if(In>e){var ar=mathMin$7(kn,In),tr=mathMin$7(Cn,In),or=computeCornerTangents(Hn,Fn,On,Rn,Ue,-tr,bn),sr=computeCornerTangents(Ln,Dn,Bn,Vn,Ue,-ar,bn);xe.lineTo(hn+or.cx+or.x0,vn+or.cy+or.y0),In0&&xe.arc(hn+or.cx,vn+or.cy,tr,mathATan2(or.y0,or.x0),mathATan2(or.y1,or.x1),!bn),xe.arc(hn,vn,Ue,mathATan2(or.cy+or.y1,or.cx+or.x1),mathATan2(sr.cy+sr.y1,sr.cx+sr.x1),bn),ar>0&&xe.arc(hn+sr.cx,vn+sr.cy,ar,mathATan2(sr.y1,sr.x1),mathATan2(sr.y0,sr.x0),!bn))}else xe.lineTo(hn+Hn,vn+Fn),xe.arc(hn,vn,Ue,jt,Lt,bn)}xe.closePath()}}}var SectorShape=function(){function xe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return xe}(),Sector=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SectorShape},$e.prototype.buildPath=function(Ie,Fe){buildPath$1(Ie,Fe)},$e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},$e}(Path);Sector.prototype.type="sector";var RingShape=function(){function xe(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return xe}(),Ring=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new RingShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.PI*2;Ie.moveTo(Ue+Fe.r,qe),Ie.arc(Ue,qe,Fe.r,0,At,!1),Ie.moveTo(Ue+Fe.r0,qe),Ie.arc(Ue,qe,Fe.r0,0,At,!0)},$e}(Path);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(xe,$e,Ie,Fe){var Ue=[],qe=[],At=[],Dt=[],Lt,jt,hn,vn;if(Fe){hn=[1/0,1/0],vn=[-1/0,-1/0];for(var bn=0,_n=xe.length;bn<_n;bn++)min$1(hn,hn,xe[bn]),max$1(vn,vn,xe[bn]);min$1(hn,hn,Fe[0]),max$1(vn,vn,Fe[1])}for(var bn=0,_n=xe.length;bn<_n;bn++){var wn=xe[bn];if(Ie)Lt=xe[bn?bn-1:_n-1],jt=xe[(bn+1)%_n];else if(bn===0||bn===_n-1){Ue.push(clone$3(xe[bn]));continue}else Lt=xe[bn-1],jt=xe[bn+1];sub(qe,jt,Lt),scale$2(qe,qe,$e);var kn=distance(wn,Lt),Cn=distance(wn,jt),Sn=kn+Cn;Sn!==0&&(kn/=Sn,Cn/=Sn),scale$2(At,qe,-kn),scale$2(Dt,qe,Cn);var xn=add([],wn,At),En=add([],wn,Dt);Fe&&(max$1(xn,xn,hn),min$1(xn,xn,vn),max$1(En,En,hn),min$1(En,En,vn)),Ue.push(xn),Ue.push(En)}return Ie&&Ue.push(Ue.shift()),Ue}function buildPath(xe,$e,Ie){var Fe=$e.smooth,Ue=$e.points;if(Ue&&Ue.length>=2){if(Fe){var qe=smoothBezier(Ue,Fe,Ie,$e.smoothConstraint);xe.moveTo(Ue[0][0],Ue[0][1]);for(var At=Ue.length,Dt=0;Dt<(Ie?At:At-1);Dt++){var Lt=qe[Dt*2],jt=qe[Dt*2+1],hn=Ue[(Dt+1)%At];xe.bezierCurveTo(Lt[0],Lt[1],jt[0],jt[1],hn[0],hn[1])}}else{xe.moveTo(Ue[0][0],Ue[0][1]);for(var Dt=1,vn=Ue.length;Dtextent2[1]){if(Dt=!1,qe)return Dt;var hn=Math.abs(extent2[0]-extent[1]),vn=Math.abs(extent[0]-extent2[1]);Math.min(hn,vn)>Ue.len()&&(hn0){var vn=hn.duration,bn=hn.delay,_n=hn.easing,wn={duration:vn,delay:bn||0,easing:_n,done:qe,force:!!qe||!!At,setToFinal:!jt,scope:xe,during:At};Dt?$e.animateFrom(Ie,wn):$e.animateTo(Ie,wn)}else $e.stopAnimation(),!Dt&&$e.attr(Ie),At&&At(1),qe&&qe()}function updateProps$1(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("update",xe,$e,Ie,Fe,Ue,qe)}function initProps(xe,$e,Ie,Fe,Ue,qe){animateOrSetProps("enter",xe,$e,Ie,Fe,Ue,qe)}function isElementRemoved(xe){if(!xe.__zr)return!0;for(var $e=0;$eMath.abs(qe[1])?qe[0]>0?"right":"left":qe[1]>0?"bottom":"top"}function isNotGroup(xe){return!xe.isGroup}function isPath$1(xe){return xe.shape!=null}function groupTransition(xe,$e,Ie){if(!xe||!$e)return;function Fe(At){var Dt={};return At.traverse(function(Lt){isNotGroup(Lt)&&Lt.anid&&(Dt[Lt.anid]=Lt)}),Dt}function Ue(At){var Dt={x:At.x,y:At.y,rotation:At.rotation};return isPath$1(At)&&(Dt.shape=extend({},At.shape)),Dt}var qe=Fe(xe);$e.traverse(function(At){if(isNotGroup(At)&&At.anid){var Dt=qe[At.anid];if(Dt){var Lt=Ue(At);At.attr(Ue(Dt)),updateProps$1(At,Lt,Ie,getECData(At).dataIndex)}}})}function clipPointsByRect(xe,$e){return map$1(xe,function(Ie){var Fe=Ie[0];Fe=mathMax$6(Fe,$e.x),Fe=mathMin$6(Fe,$e.x+$e.width);var Ue=Ie[1];return Ue=mathMax$6(Ue,$e.y),Ue=mathMin$6(Ue,$e.y+$e.height),[Fe,Ue]})}function clipRectByRect(xe,$e){var Ie=mathMax$6(xe.x,$e.x),Fe=mathMin$6(xe.x+xe.width,$e.x+$e.width),Ue=mathMax$6(xe.y,$e.y),qe=mathMin$6(xe.y+xe.height,$e.y+$e.height);if(Fe>=Ie&&qe>=Ue)return{x:Ie,y:Ue,width:Fe-Ie,height:qe-Ue}}function createIcon(xe,$e,Ie){var Fe=extend({rectHover:!0},$e),Ue=Fe.style={strokeNoScale:!0};if(Ie=Ie||{x:-1,y:-1,width:2,height:2},xe)return xe.indexOf("image://")===0?(Ue.image=xe.slice(8),defaults(Ue,Ie),new ZRImage(Fe)):makePath(xe.replace("path://",""),Fe,Ie,"center")}function linePolygonIntersect(xe,$e,Ie,Fe,Ue){for(var qe=0,At=Ue[Ue.length-1];qe1)return!1;var Cn=crossProduct2d$1(_n,wn,hn,vn)/bn;return!(Cn<0||Cn>1)}function crossProduct2d$1(xe,$e,Ie,Fe){return xe*Fe-Ie*$e}function nearZero(xe){return xe<=1e-6&&xe>=-1e-6}function setTooltipConfig(xe){var $e=xe.itemTooltipOption,Ie=xe.componentModel,Fe=xe.itemName,Ue=isString($e)?{formatter:$e}:$e,qe=Ie.mainType,At=Ie.componentIndex,Dt={componentType:qe,name:Fe,$vars:["name"]};Dt[qe+"Index"]=At;var Lt=xe.formatterParamsExtra;Lt&&each$f(keys(Lt),function(hn){hasOwn(Dt,hn)||(Dt[hn]=Lt[hn],Dt.$vars.push(hn))});var jt=getECData(xe.el);jt.componentMainType=qe,jt.componentIndex=At,jt.tooltipConfig={name:Fe,option:defaults({content:Fe,formatterParams:Dt},Ue)}}function traverseElement(xe,$e){var Ie;xe.isGroup&&(Ie=$e(xe)),Ie||xe.traverse($e)}function traverseElements(xe,$e){if(xe)if(isArray$1(xe))for(var Ie=0;Ie=0&&Dt.push(Lt)}),Dt}}function inheritDefaultOption(xe,$e){return merge(merge({},xe,!0),$e,!0)}const langEN={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},langZH={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env.domSupported?function(){var xe=(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase();return xe.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(xe,$e){xe=xe.toUpperCase(),localeModels[xe]=new Model($e),localeStorage[xe]=$e}function createLocaleObject(xe){if(isString(xe)){var $e=localeStorage[xe.toUpperCase()]||{};return xe===LOCALE_ZH||xe===LOCALE_EN?clone$4($e):merge(clone$4($e),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$4(xe),clone$4(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(xe){return localeModels[xe]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);var ONE_SECOND=1e3,ONE_MINUTE=ONE_SECOND*60,ONE_HOUR=ONE_MINUTE*60,ONE_DAY=ONE_HOUR*24,ONE_YEAR=ONE_DAY*365,defaultLeveledFormatter={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},fullDayFormatter="{yyyy}-{MM}-{dd}",fullLeveledFormatter={year:"{yyyy}",month:"{yyyy}-{MM}",day:fullDayFormatter,hour:fullDayFormatter+" "+defaultLeveledFormatter.hour,minute:fullDayFormatter+" "+defaultLeveledFormatter.minute,second:fullDayFormatter+" "+defaultLeveledFormatter.second,millisecond:defaultLeveledFormatter.none},primaryTimeUnits=["year","month","day","hour","minute","second","millisecond"],timeUnits=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function pad(xe,$e){return xe+="","0000".substr(0,$e-xe.length)+xe}function getPrimaryTimeUnit(xe){switch(xe){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return xe}}function isPrimaryTimeUnit(xe){return xe===getPrimaryTimeUnit(xe)}function getDefaultFormatPrecisionOfInterval(xe){switch(xe){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function format(xe,$e,Ie,Fe){var Ue=parseDate(xe),qe=Ue[fullYearGetterName(Ie)](),At=Ue[monthGetterName(Ie)]()+1,Dt=Math.floor((At-1)/3)+1,Lt=Ue[dateGetterName(Ie)](),jt=Ue["get"+(Ie?"UTC":"")+"Day"](),hn=Ue[hoursGetterName(Ie)](),vn=(hn-1)%12+1,bn=Ue[minutesGetterName(Ie)](),_n=Ue[secondsGetterName(Ie)](),wn=Ue[millisecondsGetterName(Ie)](),kn=Fe instanceof Model?Fe:getLocaleModel(Fe||SYSTEM_LANG)||getDefaultLocaleModel(),Cn=kn.getModel("time"),Sn=Cn.get("month"),xn=Cn.get("monthAbbr"),En=Cn.get("dayOfWeek"),Tn=Cn.get("dayOfWeekAbbr");return($e||"").replace(/{yyyy}/g,qe+"").replace(/{yy}/g,pad(qe%100+"",2)).replace(/{Q}/g,Dt+"").replace(/{MMMM}/g,Sn[At-1]).replace(/{MMM}/g,xn[At-1]).replace(/{MM}/g,pad(At,2)).replace(/{M}/g,At+"").replace(/{dd}/g,pad(Lt,2)).replace(/{d}/g,Lt+"").replace(/{eeee}/g,En[jt]).replace(/{ee}/g,Tn[jt]).replace(/{e}/g,jt+"").replace(/{HH}/g,pad(hn,2)).replace(/{H}/g,hn+"").replace(/{hh}/g,pad(vn+"",2)).replace(/{h}/g,vn+"").replace(/{mm}/g,pad(bn,2)).replace(/{m}/g,bn+"").replace(/{ss}/g,pad(_n,2)).replace(/{s}/g,_n+"").replace(/{SSS}/g,pad(wn,3)).replace(/{S}/g,wn+"")}function leveledFormat(xe,$e,Ie,Fe,Ue){var qe=null;if(isString(Ie))qe=Ie;else if(isFunction(Ie))qe=Ie(xe.value,$e,{level:xe.level});else{var At=extend({},defaultLeveledFormatter);if(xe.level>0)for(var Dt=0;Dt=0;--Dt)if(Lt[jt]){qe=Lt[jt];break}qe=qe||At.none}if(isArray$1(qe)){var vn=xe.level==null?0:xe.level>=0?xe.level:qe.length+xe.level;vn=Math.min(vn,qe.length-1),qe=qe[vn]}}return format(new Date(xe.value),qe,Ue,Fe)}function getUnitFromValue(xe,$e){var Ie=parseDate(xe),Fe=Ie[monthGetterName($e)]()+1,Ue=Ie[dateGetterName($e)](),qe=Ie[hoursGetterName($e)](),At=Ie[minutesGetterName($e)](),Dt=Ie[secondsGetterName($e)](),Lt=Ie[millisecondsGetterName($e)](),jt=Lt===0,hn=jt&&Dt===0,vn=hn&&At===0,bn=vn&&qe===0,_n=bn&&Ue===1,wn=_n&&Fe===1;return wn?"year":_n?"month":bn?"day":vn?"hour":hn?"minute":jt?"second":"millisecond"}function getUnitValue(xe,$e,Ie){var Fe=isNumber(xe)?parseDate(xe):xe;switch($e=$e||getUnitFromValue(xe,Ie),$e){case"year":return Fe[fullYearGetterName(Ie)]();case"half-year":return Fe[monthGetterName(Ie)]()>=6?1:0;case"quarter":return Math.floor((Fe[monthGetterName(Ie)]()+1)/4);case"month":return Fe[monthGetterName(Ie)]();case"day":return Fe[dateGetterName(Ie)]();case"half-day":return Fe[hoursGetterName(Ie)]()/24;case"hour":return Fe[hoursGetterName(Ie)]();case"minute":return Fe[minutesGetterName(Ie)]();case"second":return Fe[secondsGetterName(Ie)]();case"millisecond":return Fe[millisecondsGetterName(Ie)]()}}function fullYearGetterName(xe){return xe?"getUTCFullYear":"getFullYear"}function monthGetterName(xe){return xe?"getUTCMonth":"getMonth"}function dateGetterName(xe){return xe?"getUTCDate":"getDate"}function hoursGetterName(xe){return xe?"getUTCHours":"getHours"}function minutesGetterName(xe){return xe?"getUTCMinutes":"getMinutes"}function secondsGetterName(xe){return xe?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(xe){return xe?"getUTCMilliseconds":"getMilliseconds"}function fullYearSetterName(xe){return xe?"setUTCFullYear":"setFullYear"}function monthSetterName(xe){return xe?"setUTCMonth":"setMonth"}function dateSetterName(xe){return xe?"setUTCDate":"setDate"}function hoursSetterName(xe){return xe?"setUTCHours":"setHours"}function minutesSetterName(xe){return xe?"setUTCMinutes":"setMinutes"}function secondsSetterName(xe){return xe?"setUTCSeconds":"setSeconds"}function millisecondsSetterName(xe){return xe?"setUTCMilliseconds":"setMilliseconds"}function addCommas(xe){if(!isNumeric(xe))return isString(xe)?xe:"-";var $e=(xe+"").split(".");return $e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+($e.length>1?"."+$e[1]:"")}function toCamelCase(xe,$e){return xe=(xe||"").toLowerCase().replace(/-(.)/g,function(Ie,Fe){return Fe.toUpperCase()}),$e&&xe&&(xe=xe.charAt(0).toUpperCase()+xe.slice(1)),xe}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(xe,$e,Ie){var Fe="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function Ue(hn){return hn&&trim$1(hn)?hn:"-"}function qe(hn){return!!(hn!=null&&!isNaN(hn)&&isFinite(hn))}var At=$e==="time",Dt=xe instanceof Date;if(At||Dt){var Lt=At?parseDate(xe):xe;if(isNaN(+Lt)){if(Dt)return"-"}else return format(Lt,Fe,Ie)}if($e==="ordinal")return isStringSafe(xe)?Ue(xe):isNumber(xe)&&qe(xe)?xe+"":"-";var jt=numericToNumber(xe);return qe(jt)?addCommas(jt):isStringSafe(xe)?Ue(xe):typeof xe=="boolean"?xe+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(xe,$e){return"{"+xe+($e??"")+"}"};function formatTpl(xe,$e,Ie){isArray$1($e)||($e=[$e]);var Fe=$e.length;if(!Fe)return"";for(var Ue=$e[0].$vars||[],qe=0;qe
    ':'';var At=Ie.markerId||"markerX";return{renderMode:qe,content:"{"+At+"|} ",style:Ue==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:Fe}:{width:10,height:10,borderRadius:5,backgroundColor:Fe}}}function convertToColorString(xe,$e){return $e=$e||"transparent",isString(xe)?xe:isObject$3(xe)&&xe.colorStops&&(xe.colorStops[0]||{}).color||$e}function windowOpen(xe,$e){if($e==="_blank"||$e==="blank"){var Ie=window.open();Ie.opener=null,Ie.location.href=xe}else window.open(xe,$e)}var each$e=each$f,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(xe,$e,Ie,Fe,Ue){var qe=0,At=0;Fe==null&&(Fe=1/0),Ue==null&&(Ue=1/0);var Dt=0;$e.eachChild(function(Lt,jt){var hn=Lt.getBoundingRect(),vn=$e.childAt(jt+1),bn=vn&&vn.getBoundingRect(),_n,wn;if(xe==="horizontal"){var kn=hn.width+(bn?-bn.x+hn.x:0);_n=qe+kn,_n>Fe||Lt.newline?(qe=0,_n=kn,At+=Dt+Ie,Dt=hn.height):Dt=Math.max(Dt,hn.height)}else{var Cn=hn.height+(bn?-bn.y+hn.y:0);wn=At+Cn,wn>Ue||Lt.newline?(qe+=Dt+Ie,At=0,wn=Cn,Dt=hn.width):Dt=Math.max(Dt,hn.width)}Lt.newline||(Lt.x=qe,Lt.y=At,Lt.markRedraw(),xe==="horizontal"?qe=_n+Ie:At=wn+Ie)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getAvailableSize(xe,$e,Ie){var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue);return(isNaN(qe)||isNaN(parseFloat(xe.left)))&&(qe=0),(isNaN(Dt)||isNaN(parseFloat(xe.right)))&&(Dt=Fe),(isNaN(At)||isNaN(parseFloat(xe.top)))&&(At=0),(isNaN(Lt)||isNaN(parseFloat(xe.bottom)))&&(Lt=Ue),Ie=normalizeCssArray(Ie||0),{width:Math.max(Dt-qe-Ie[1]-Ie[3],0),height:Math.max(Lt-At-Ie[0]-Ie[2],0)}}function getLayoutRect(xe,$e,Ie){Ie=normalizeCssArray(Ie||0);var Fe=$e.width,Ue=$e.height,qe=parsePercent(xe.left,Fe),At=parsePercent(xe.top,Ue),Dt=parsePercent(xe.right,Fe),Lt=parsePercent(xe.bottom,Ue),jt=parsePercent(xe.width,Fe),hn=parsePercent(xe.height,Ue),vn=Ie[2]+Ie[0],bn=Ie[1]+Ie[3],_n=xe.aspect;switch(isNaN(jt)&&(jt=Fe-Dt-bn-qe),isNaN(hn)&&(hn=Ue-Lt-vn-At),_n!=null&&(isNaN(jt)&&isNaN(hn)&&(_n>Fe/Ue?jt=Fe*.8:hn=Ue*.8),isNaN(jt)&&(jt=_n*hn),isNaN(hn)&&(hn=jt/_n)),isNaN(qe)&&(qe=Fe-Dt-jt-bn),isNaN(At)&&(At=Ue-Lt-hn-vn),xe.left||xe.right){case"center":qe=Fe/2-jt/2-Ie[3];break;case"right":qe=Fe-jt-bn;break}switch(xe.top||xe.bottom){case"middle":case"center":At=Ue/2-hn/2-Ie[0];break;case"bottom":At=Ue-hn-vn;break}qe=qe||0,At=At||0,isNaN(jt)&&(jt=Fe-bn-qe-(Dt||0)),isNaN(hn)&&(hn=Ue-vn-At-(Lt||0));var wn=new BoundingRect(qe+Ie[3],At+Ie[0],jt,hn);return wn.margin=Ie,wn}function positionElement(xe,$e,Ie,Fe,Ue,qe){var At=!Ue||!Ue.hv||Ue.hv[0],Dt=!Ue||!Ue.hv||Ue.hv[1],Lt=Ue&&Ue.boundingMode||"all";if(qe=qe||xe,qe.x=xe.x,qe.y=xe.y,!At&&!Dt)return!1;var jt;if(Lt==="raw")jt=xe.type==="group"?new BoundingRect(0,0,+$e.width||0,+$e.height||0):xe.getBoundingRect();else if(jt=xe.getBoundingRect(),xe.needLocalTransform()){var hn=xe.getLocalTransform();jt=jt.clone(),jt.applyTransform(hn)}var vn=getLayoutRect(defaults({width:jt.width,height:jt.height},$e),Ie,Fe),bn=At?vn.x-jt.x:0,_n=Dt?vn.y-jt.y:0;return Lt==="raw"?(qe.x=bn,qe.y=_n):(qe.x+=bn,qe.y+=_n),qe===xe&&xe.markRedraw(),!0}function sizeCalculable(xe,$e){return xe[HV_NAMES[$e][0]]!=null||xe[HV_NAMES[$e][1]]!=null&&xe[HV_NAMES[$e][2]]!=null}function fetchLayoutMode(xe){var $e=xe.layoutMode||xe.constructor.layoutMode;return isObject$3($e)?$e:$e?{type:$e}:null}function mergeLayoutParam(xe,$e,Ie){var Fe=Ie&&Ie.ignoreSize;!isArray$1(Fe)&&(Fe=[Fe,Fe]);var Ue=At(HV_NAMES[0],0),qe=At(HV_NAMES[1],1);jt(HV_NAMES[0],xe,Ue),jt(HV_NAMES[1],xe,qe);function At(hn,vn){var bn={},_n=0,wn={},kn=0,Cn=2;if(each$e(hn,function(En){wn[En]=xe[En]}),each$e(hn,function(En){Dt($e,En)&&(bn[En]=wn[En]=$e[En]),Lt(bn,En)&&_n++,Lt(wn,En)&&kn++}),Fe[vn])return Lt($e,hn[1])?wn[hn[2]]=null:Lt($e,hn[2])&&(wn[hn[1]]=null),wn;if(kn===Cn||!_n)return wn;if(_n>=Cn)return bn;for(var Sn=0;Sn=0;Lt--)Dt=merge(Dt,Ue[Lt],!0);Fe.defaultOption=Dt}return Fe.defaultOption},$e.prototype.getReferringComponents=function(Ie,Fe){var Ue=Ie+"Index",qe=Ie+"Id";return queryReferringComponents(this.ecModel,Ie,{index:this.get(Ue,!0),id:this.get(qe,!0)},Fe)},$e.prototype.getBoxLayoutParams=function(){var Ie=this;return{left:Ie.get("left"),top:Ie.get("top"),right:Ie.get("right"),bottom:Ie.get("bottom"),width:Ie.get("width"),height:Ie.get("height")}},$e.prototype.getZLevelKey=function(){return""},$e.prototype.setZLevel=function(Ie){this.option.zlevel=Ie},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="component",Ie.id="",Ie.name="",Ie.mainType="",Ie.subType="",Ie.componentIndex=0}(),$e}(Model);mountExtend(ComponentModel,Model);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(xe){var $e=[];return each$f(ComponentModel.getClassesByMainType(xe),function(Ie){$e=$e.concat(Ie.dependencies||Ie.prototype.dependencies||[])}),$e=map$1($e,function(Ie){return parseClassType(Ie).main}),xe!=="dataset"&&indexOf($e,"dataset")<=0&&$e.unshift("dataset"),$e}var platform="";typeof navigator<"u"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)";const globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(xe){innerGlobalModel(xe).datasetMap=createHashMap()}function makeSeriesEncodeForAxisCoordSys(xe,$e,Ie){var Fe={},Ue=querySeriesUpstreamDatasetModel($e);if(!Ue||!xe)return Fe;var qe=[],At=[],Dt=$e.ecModel,Lt=innerGlobalModel(Dt).datasetMap,jt=Ue.uid+"_"+Ie.seriesLayoutBy,hn,vn;xe=xe.slice(),each$f(xe,function(kn,Cn){var Sn=isObject$3(kn)?kn:xe[Cn]={name:kn};Sn.type==="ordinal"&&hn==null&&(hn=Cn,vn=wn(Sn)),Fe[Sn.name]=[]});var bn=Lt.get(jt)||Lt.set(jt,{categoryWayDim:vn,valueWayDim:0});each$f(xe,function(kn,Cn){var Sn=kn.name,xn=wn(kn);if(hn==null){var En=bn.valueWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.valueWayDim+=xn}else if(hn===Cn)_n(Fe[Sn],0,xn),_n(qe,0,xn);else{var En=bn.categoryWayDim;_n(Fe[Sn],En,xn),_n(At,En,xn),bn.categoryWayDim+=xn}});function _n(kn,Cn,Sn){for(var xn=0;xn$e)return xe[Fe];return xe[Ie-1]}function getFromPalette(xe,$e,Ie,Fe,Ue,qe,At){qe=qe||xe;var Dt=$e(qe),Lt=Dt.paletteIdx||0,jt=Dt.paletteNameMap=Dt.paletteNameMap||{};if(jt.hasOwnProperty(Ue))return jt[Ue];var hn=At==null||!Fe?Ie:getNearestPalette(Fe,At);if(hn=hn||Ie,!(!hn||!hn.length)){var vn=hn[Lt];return Ue&&(jt[Ue]=vn),Dt.paletteIdx=(Lt+1)%hn.length,vn}}function clearPalette(xe,$e){$e(xe).paletteIdx=0,$e(xe).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie,Fe,Ue,qe,At,Dt){qe=qe||{},this.option=null,this._theme=new Model(qe),this._locale=new Model(At),this._optionManager=Dt},$e.prototype.setOption=function(Ie,Fe,Ue){var qe=normalizeSetOptionInput(Fe);this._optionManager.setOption(Ie,Ue,qe),this._resetOption(null,qe)},$e.prototype.resetOption=function(Ie,Fe){return this._resetOption(Ie,normalizeSetOptionInput(Fe))},$e.prototype._resetOption=function(Ie,Fe){var Ue=!1,qe=this._optionManager;if(!Ie||Ie==="recreate"){var At=qe.mountOption(Ie==="recreate");!this.option||Ie==="recreate"?initBase(this,At):(this.restoreData(),this._mergeOption(At,Fe)),Ue=!0}if((Ie==="timeline"||Ie==="media")&&this.restoreData(),!Ie||Ie==="recreate"||Ie==="timeline"){var Dt=qe.getTimelineOption(this);Dt&&(Ue=!0,this._mergeOption(Dt,Fe))}if(!Ie||Ie==="recreate"||Ie==="media"){var Lt=qe.getMediaOption(this);Lt.length&&each$f(Lt,function(jt){Ue=!0,this._mergeOption(jt,Fe)},this)}return Ue},$e.prototype.mergeOption=function(Ie){this._mergeOption(Ie,null)},$e.prototype._mergeOption=function(Ie,Fe){var Ue=this.option,qe=this._componentsMap,At=this._componentsCount,Dt=[],Lt=createHashMap(),jt=Fe&&Fe.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$f(Ie,function(vn,bn){vn!=null&&(ComponentModel.hasClass(bn)?bn&&(Dt.push(bn),Lt.set(bn,!0)):Ue[bn]=Ue[bn]==null?clone$4(vn):merge(Ue[bn],vn,!0))}),jt&&jt.each(function(vn,bn){ComponentModel.hasClass(bn)&&!Lt.get(bn)&&(Dt.push(bn),Lt.set(bn,!0))}),ComponentModel.topologicalTravel(Dt,ComponentModel.getAllClassMainTypes(),hn,this);function hn(vn){var bn=concatInternalOptions(this,vn,normalizeToArray(Ie[vn])),_n=qe.get(vn),wn=_n?jt&&jt.get(vn)?"replaceMerge":"normalMerge":"replaceAll",kn=mappingToExists(_n,bn,wn);setComponentTypeToKeyInfo(kn,vn,ComponentModel),Ue[vn]=null,qe.set(vn,null),At.set(vn,0);var Cn=[],Sn=[],xn=0,En;each$f(kn,function(Tn,An){var $n=Tn.existing,Pn=Tn.newOption;if(!Pn)$n&&($n.mergeOption({},this),$n.optionUpdated({},!1));else{var Nn=vn==="series",Mn=ComponentModel.getClass(vn,Tn.keyInfo.subType,!Nn);if(!Mn)return;if(vn==="tooltip"){if(En)return;En=!0}if($n&&$n.constructor===Mn)$n.name=Tn.keyInfo.name,$n.mergeOption(Pn,this),$n.optionUpdated(Pn,!1);else{var In=extend({componentIndex:An},Tn.keyInfo);$n=new Mn(Pn,this,this,In),extend($n,In),Tn.brandNew&&($n.__requireNewView=!0),$n.init(Pn,this,this),$n.optionUpdated(null,!0)}}$n?(Cn.push($n.option),Sn.push($n),xn++):(Cn.push(void 0),Sn.push(void 0))},this),Ue[vn]=Cn,qe.set(vn,Sn),At.set(vn,xn),vn==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},$e.prototype.getOption=function(){var Ie=clone$4(this.option);return each$f(Ie,function(Fe,Ue){if(ComponentModel.hasClass(Ue)){for(var qe=normalizeToArray(Fe),At=qe.length,Dt=!1,Lt=At-1;Lt>=0;Lt--)qe[Lt]&&!isComponentIdInternal(qe[Lt])?Dt=!0:(qe[Lt]=null,!Dt&&At--);qe.length=At,Ie[Ue]=qe}}),delete Ie[OPTION_INNER_KEY],Ie},$e.prototype.getTheme=function(){return this._theme},$e.prototype.getLocaleModel=function(){return this._locale},$e.prototype.setUpdatePayload=function(Ie){this._payload=Ie},$e.prototype.getUpdatePayload=function(){return this._payload},$e.prototype.getComponent=function(Ie,Fe){var Ue=this._componentsMap.get(Ie);if(Ue){var qe=Ue[Fe||0];if(qe)return qe;if(Fe==null){for(var At=0;At=$e:Ie==="max"?xe<=$e:xe===$e}function indicesEquals(xe,$e){return xe.join(",")===$e.join(",")}var each$d=each$f,isObject$2=isObject$3,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(xe){var $e=xe&&xe.itemStyle;if($e)for(var Ie=0,Fe=POSSIBLE_STYLES.length;Ie=0;Cn--){var Sn=xe[Cn];if(Dt||(wn=Sn.data.rawIndexOf(Sn.stackedByDimension,_n)),wn>=0){var xn=Sn.data.getByRawIndex(Sn.stackResultDimension,wn);if(Lt==="all"||Lt==="positive"&&xn>0||Lt==="negative"&&xn<0||Lt==="samesign"&&bn>=0&&xn>0||Lt==="samesign"&&bn<=0&&xn<0){bn=addSafe(bn,xn),kn=xn;break}}}return Fe[0]=bn,Fe[1]=kn,Fe})})}var SourceImpl=function(){function xe($e){this.data=$e.data||($e.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=$e.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=$e.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=$e.startIndex||0,this.dimensionsDetectedCount=$e.dimensionsDetectedCount,this.metaRawOption=$e.metaRawOption;var Ie=this.dimensionsDefine=$e.dimensionsDefine;if(Ie)for(var Fe=0;Fekn&&(kn=En)}_n[0]=wn,_n[1]=kn}},Ue=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=($e={},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},$e[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:qe},$e[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(At){var Dt=this._data;each$f(At,function(Lt,jt){for(var hn=Dt[jt]||(Dt[jt]=[]),vn=0;vn<(Lt||[]).length;vn++)hn.push(Lt[vn])})}},$e[SOURCE_FORMAT_ORIGINAL]={appendData:qe},$e[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(At){this._data=At},clean:function(){this._offset+=this.count(),this._data=null}},$e);function qe(At){for(var Dt=0;Dt=0&&(kn=At.interpolatedValue[Cn])}return kn!=null?kn+"":""})}},xe.prototype.getRawValue=function($e,Ie){return retrieveRawValue(this.getData(Ie),$e)},xe.prototype.formatTooltip=function($e,Ie,Fe){},xe}();function normalizeTooltipFormatResult(xe){var $e,Ie;return isObject$3(xe)?xe.type&&(Ie=xe):$e=xe,{text:$e,frag:Ie}}function createTask(xe){return new Task(xe)}var Task=function(){function xe($e){$e=$e||{},this._reset=$e.reset,this._plan=$e.plan,this._count=$e.count,this._onDirty=$e.onDirty,this._dirty=!0}return xe.prototype.perform=function($e){var Ie=this._upstream,Fe=$e&&$e.skip;if(this._dirty&&Ie){var Ue=this.context;Ue.data=Ue.outputData=Ie.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var qe;this._plan&&!Fe&&(qe=this._plan(this.context));var At=hn(this._modBy),Dt=this._modDataCount||0,Lt=hn($e&&$e.modBy),jt=$e&&$e.modDataCount||0;(At!==Lt||Dt!==jt)&&(qe="reset");function hn(xn){return!(xn>=1)&&(xn=1),xn}var vn;(this._dirty||qe==="reset")&&(this._dirty=!1,vn=this._doReset(Fe)),this._modBy=Lt,this._modDataCount=jt;var bn=$e&&$e.step;if(Ie?this._dueEnd=Ie._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var _n=this._dueIndex,wn=Math.min(bn!=null?this._dueIndex+bn:1/0,this._dueEnd);if(!Fe&&(vn||_n1&&Fe>0?Dt:At}};return qe;function At(){return $e=xe?null:Lt$e},gte:function(xe,$e){return xe>=$e}},FilterOrderComparator=function(){function xe($e,Ie){if(!isNumber(Ie)){var Fe="";throwError(Fe)}this._opFn=ORDER_COMPARISON_OP_MAP[$e],this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){return isNumber($e)?this._opFn($e,this._rvalFloat):this._opFn(numericToNumber($e),this._rvalFloat)},xe}(),SortOrderComparator=function(){function xe($e,Ie){var Fe=$e==="desc";this._resultLT=Fe?1:-1,Ie==null&&(Ie=Fe?"min":"max"),this._incomparable=Ie==="min"?-1/0:1/0}return xe.prototype.evaluate=function($e,Ie){var Fe=isNumber($e)?$e:numericToNumber($e),Ue=isNumber(Ie)?Ie:numericToNumber(Ie),qe=isNaN(Fe),At=isNaN(Ue);if(qe&&(Fe=this._incomparable),At&&(Ue=this._incomparable),qe&&At){var Dt=isString($e),Lt=isString(Ie);Dt&&(Fe=Lt?$e:0),Lt&&(Ue=Dt?Ie:0)}return FeUe?-this._resultLT:0},xe}(),FilterEqualityComparator=function(){function xe($e,Ie){this._rval=Ie,this._isEQ=$e,this._rvalTypeof=typeof Ie,this._rvalFloat=numericToNumber(Ie)}return xe.prototype.evaluate=function($e){var Ie=$e===this._rval;if(!Ie){var Fe=typeof $e;Fe!==this._rvalTypeof&&(Fe==="number"||this._rvalTypeof==="number")&&(Ie=numericToNumber($e)===this._rvalFloat)}return this._isEQ?Ie:!Ie},xe}();function createFilterComparator(xe,$e){return xe==="eq"||xe==="ne"?new FilterEqualityComparator(xe==="eq",$e):hasOwn(ORDER_COMPARISON_OP_MAP,xe)?new FilterOrderComparator(xe,$e):null}var ExternalSource=function(){function xe(){}return xe.prototype.getRawData=function(){throw new Error("not supported")},xe.prototype.getRawDataItem=function($e){throw new Error("not supported")},xe.prototype.cloneRawData=function(){},xe.prototype.getDimensionInfo=function($e){},xe.prototype.cloneAllDimensionInfo=function(){},xe.prototype.count=function(){},xe.prototype.retrieveValue=function($e,Ie){},xe.prototype.retrieveValueFromItem=function($e,Ie){},xe.prototype.convertValue=function($e,Ie){return parseDataValue($e,Ie)},xe}();function createExternalSource(xe,$e){var Ie=new ExternalSource,Fe=xe.data,Ue=Ie.sourceFormat=xe.sourceFormat,qe=xe.startIndex,At="";xe.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(At);var Dt=[],Lt={},jt=xe.dimensionsDefine;if(jt)each$f(jt,function(kn,Cn){var Sn=kn.name,xn={index:Cn,name:Sn,displayName:kn.displayName};if(Dt.push(xn),Sn!=null){var En="";hasOwn(Lt,Sn)&&throwError(En),Lt[Sn]=xn}});else for(var hn=0;hn65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(xe){var $e=xe.constructor;return $e===Array?xe.slice():new $e(xe)}function prepareStore(xe,$e,Ie,Fe,Ue){var qe=dataCtors[Ie||"float"];if(Ue){var At=xe[$e],Dt=At&&At.length;if(Dt!==Fe){for(var Lt=new qe(Fe),jt=0;jtCn[1]&&(Cn[1]=kn)}return this._rawCount=this._count=Lt,{start:Dt,end:Lt}},xe.prototype._initDataFromProvider=function($e,Ie,Fe){for(var Ue=this._provider,qe=this._chunks,At=this._dimensions,Dt=At.length,Lt=this._rawExtent,jt=map$1(At,function(xn){return xn.property}),hn=0;hnSn[1]&&(Sn[1]=Cn)}}!Ue.persistent&&Ue.clean&&Ue.clean(),this._rawCount=this._count=Ie,this._extent=[]},xe.prototype.count=function(){return this._count},xe.prototype.get=function($e,Ie){if(!(Ie>=0&&Ie=0&&Ie=this._rawCount||$e<0)return-1;if(!this._indices)return $e;var Ie=this._indices,Fe=Ie[$e];if(Fe!=null&&Fe$e)qe=At-1;else return At}return-1},xe.prototype.indicesOfNearest=function($e,Ie,Fe){var Ue=this._chunks,qe=Ue[$e],At=[];if(!qe)return At;Fe==null&&(Fe=1/0);for(var Dt=1/0,Lt=-1,jt=0,hn=0,vn=this.count();hn=0&&Lt<0)&&(Dt=wn,Lt=_n,jt=0),_n===Lt&&(At[jt++]=hn))}return At.length=jt,At},xe.prototype.getIndices=function(){var $e,Ie=this._indices;if(Ie){var Fe=Ie.constructor,Ue=this._count;if(Fe===Array){$e=new Fe(Ue);for(var qe=0;qe=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=kn),kn++}wn=!0}else if(qe===2){for(var Cn=_n[Ue[0]],En=_n[Ue[1]],Tn=$e[Ue[1]][0],An=$e[Ue[1]][1],Sn=0;Sn=vn&&xn<=bn||isNaN(xn))&&($n>=Tn&&$n<=An||isNaN($n))&&(Lt[jt++]=kn),kn++}wn=!0}}if(!wn)if(qe===1)for(var Sn=0;Sn=vn&&xn<=bn||isNaN(xn))&&(Lt[jt++]=Pn)}else for(var Sn=0;Sn$e[In][1])&&(Nn=!1)}Nn&&(Lt[jt++]=Ie.getRawIndex(Sn))}return jtSn[1]&&(Sn[1]=Cn)}}}},xe.prototype.lttbDownSample=function($e,Ie){var Fe=this.clone([$e],!0),Ue=Fe._chunks,qe=Ue[$e],At=this.count(),Dt=0,Lt=Math.floor(1/Ie),jt=this.getRawIndex(0),hn,vn,bn,_n=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(At/Lt)+2)*2,At));_n[Dt++]=jt;for(var wn=1;wnhn&&(hn=vn,bn=Tn)}On>0&&Onhn-wn&&(Lt=hn-wn,Dt.length=Lt);for(var kn=0;knvn[1]&&(vn[1]=Sn),bn[_n++]=xn}return qe._count=_n,qe._indices=bn,qe._updateGetRawIdx(),qe},xe.prototype.each=function($e,Ie){if(this._count)for(var Fe=$e.length,Ue=this._chunks,qe=0,At=this.count();qeLt&&(Lt=vn)}return At=[Dt,Lt],this._extent[$e]=At,At},xe.prototype.getRawDataItem=function($e){var Ie=this.getRawIndex($e);if(this._provider.persistent)return this._provider.getItem(Ie);for(var Fe=[],Ue=this._chunks,qe=0;qe=0?this._indices[$e]:-1},xe.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},xe.internalField=function(){function $e(Ie,Fe,Ue,qe){return parseDataValue(Ie[qe],this._dimensions[qe])}defaultDimValueGetters={arrayRows:$e,objectRows:function(Ie,Fe,Ue,qe){return parseDataValue(Ie[Fe],this._dimensions[qe])},keyedColumns:$e,original:function(Ie,Fe,Ue,qe){var At=Ie&&(Ie.value==null?Ie:Ie.value);return parseDataValue(At instanceof Array?At[qe]:At,this._dimensions[qe])},typedArray:function(Ie,Fe,Ue,qe){return Ie[qe]}}}(),xe}(),SourceManager=function(){function xe($e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=$e}return xe.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},xe.prototype._setLocalSource=function($e,Ie){this._sourceList=$e,this._upstreamSignList=Ie,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},xe.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},xe.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},xe.prototype._createSource=function(){this._setLocalSource([],[]);var $e=this._sourceHost,Ie=this._getUpstreamSourceManagers(),Fe=!!Ie.length,Ue,qe;if(isSeries($e)){var At=$e,Dt=void 0,Lt=void 0,jt=void 0;if(Fe){var hn=Ie[0];hn.prepareSource(),jt=hn.getSource(),Dt=jt.data,Lt=jt.sourceFormat,qe=[hn._getVersionSign()]}else Dt=At.get("data",!0),Lt=isTypedArray(Dt)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,qe=[];var vn=this._getSourceMetaRawOption()||{},bn=jt&&jt.metaRawOption||{},_n=retrieve2(vn.seriesLayoutBy,bn.seriesLayoutBy)||null,wn=retrieve2(vn.sourceHeader,bn.sourceHeader),kn=retrieve2(vn.dimensions,bn.dimensions),Cn=_n!==bn.seriesLayoutBy||!!wn!=!!bn.sourceHeader||kn;Ue=Cn?[createSource(Dt,{seriesLayoutBy:_n,sourceHeader:wn,dimensions:kn},Lt)]:[]}else{var Sn=$e;if(Fe){var xn=this._applyTransform(Ie);Ue=xn.sourceList,qe=xn.upstreamSignList}else{var En=Sn.get("source",!0);Ue=[createSource(En,this._getSourceMetaRawOption(),null)],qe=[]}}this._setLocalSource(Ue,qe)},xe.prototype._applyTransform=function($e){var Ie=this._sourceHost,Fe=Ie.get("transform",!0),Ue=Ie.get("fromTransformResult",!0);if(Ue!=null){var qe="";$e.length!==1&&doThrow(qe)}var At,Dt=[],Lt=[];return each$f($e,function(jt){jt.prepareSource();var hn=jt.getSource(Ue||0),vn="";Ue!=null&&!hn&&doThrow(vn),Dt.push(hn),Lt.push(jt._getVersionSign())}),Fe?At=applyDataTransform(Fe,Dt,{datasetIndex:Ie.componentIndex}):Ue!=null&&(At=[cloneSourceShallow(Dt[0])]),{sourceList:At,upstreamSignList:Lt}},xe.prototype._isDirty=function(){if(this._dirty)return!0;for(var $e=this._getUpstreamSourceManagers(),Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];if(Fe._isDirty()||this._upstreamSignList[Ie]!==Fe._getVersionSign())return!0}},xe.prototype.getSource=function($e){$e=$e||0;var Ie=this._sourceList[$e];if(!Ie){var Fe=this._getUpstreamSourceManagers();return Fe[0]&&Fe[0].getSource($e)}return Ie},xe.prototype.getSharedDataStore=function($e){var Ie=$e.makeStoreSchema();return this._innerGetDataStore(Ie.dimensions,$e.source,Ie.hash)},xe.prototype._innerGetDataStore=function($e,Ie,Fe){var Ue=0,qe=this._storeList,At=qe[Ue];At||(At=qe[Ue]={});var Dt=At[Fe];if(!Dt){var Lt=this._getUpstreamSourceManagers()[0];isSeries(this._sourceHost)&&Lt?Dt=Lt._innerGetDataStore($e,Ie,Fe):(Dt=new DataStore,Dt.initData(new DefaultDataProvider(Ie,$e.length),$e)),At[Fe]=Dt}return Dt},xe.prototype._getUpstreamSourceManagers=function(){var $e=this._sourceHost;if(isSeries($e)){var Ie=querySeriesUpstreamDatasetModel($e);return Ie?[Ie.getSourceManager()]:[]}else return map$1(queryDatasetUpstreamDatasetModels($e),function(Fe){return Fe.getSourceManager()})},xe.prototype._getSourceMetaRawOption=function(){var $e=this._sourceHost,Ie,Fe,Ue;if(isSeries($e))Ie=$e.get("seriesLayoutBy",!0),Fe=$e.get("sourceHeader",!0),Ue=$e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var qe=$e;Ie=qe.get("seriesLayoutBy",!0),Fe=qe.get("sourceHeader",!0),Ue=qe.get("dimensions",!0)}return{seriesLayoutBy:Ie,sourceHeader:Fe,dimensions:Ue}},xe}();function disableTransformOptionMerge(xe){var $e=xe.option.transform;$e&&setAsPrimitive(xe.option.transform)}function isSeries(xe){return xe.mainType==="series"}function doThrow(xe){throw new Error(xe)}var TOOLTIP_LINE_HEIGHT_CSS="line-height:1";function getTooltipTextStyle(xe,$e){var Ie=xe.color||"#6e7079",Fe=xe.fontSize||12,Ue=xe.fontWeight||"400",qe=xe.color||"#464646",At=xe.fontSize||14,Dt=xe.fontWeight||"900";return $e==="html"?{nameStyle:"font-size:"+encodeHTML(Fe+"")+"px;color:"+encodeHTML(Ie)+";font-weight:"+encodeHTML(Ue+""),valueStyle:"font-size:"+encodeHTML(At+"")+"px;color:"+encodeHTML(qe)+";font-weight:"+encodeHTML(Dt+"")}:{nameStyle:{fontSize:Fe,fill:Ie,fontWeight:Ue},valueStyle:{fontSize:At,fill:qe,fontWeight:Dt}}}var HTML_GAPS=[0,10,20,30],RICH_TEXT_GAPS=["",` `,` `,` -`];function createTooltipMarkup(xe,$e){return $e.type=xe,$e}function isSectionFragment(xe){return xe.type==="section"}function getBuilder(xe){return isSectionFragment(xe)?buildSection:buildNameValue}function getBlockGapLevel(xe){if(isSectionFragment(xe)){var $e=0,Ie=xe.blocks.length,Fe=Ie>1||Ie>0&&!xe.noHeader;return each$f(xe.blocks,function(Ue){var qe=getBlockGapLevel(Ue);qe>=$e&&($e=qe+ +(Fe&&(!qe||isSectionFragment(Ue)&&!Ue.noHeader)))}),$e}return 0}function buildSection(xe,$e,Ie,Fe){var Ue=$e.noHeader,qe=getGap(getBlockGapLevel($e)),At=[],Dt=$e.blocks||[];assert(!Dt||isArray$1(Dt)),Dt=Dt||[];var Lt=xe.orderMode;if($e.sortBlocks&&Lt){Dt=Dt.slice();var jt={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(jt,Lt)){var hn=new SortOrderComparator(jt[Lt],null);Dt.sort(function(wn,kn){return hn.evaluate(wn.sortParam,kn.sortParam)})}else Lt==="seriesDesc"&&Dt.reverse()}each$f(Dt,function(wn,kn){var Cn=$e.valueFormatter,Sn=getBuilder(wn)(Cn?extend(extend({},xe),{valueFormatter:Cn}):xe,wn,kn>0?qe.html:0,Fe);Sn!=null&&At.push(Sn)});var vn=xe.renderMode==="richText"?At.join(qe.richText):wrapBlockHTML(At.join(""),Ue?Ie:qe.html);if(Ue)return vn;var bn=makeValueReadable($e.header,"ordinal",xe.useUTC),_n=getTooltipTextStyle(Fe,xe.renderMode).nameStyle;return xe.renderMode==="richText"?wrapInlineNameRichText(xe,bn,_n)+qe.richText+vn:wrapBlockHTML('
    '+encodeHTML(bn)+"
    "+vn,Ie)}function buildNameValue(xe,$e,Ie,Fe){var Ue=xe.renderMode,qe=$e.noName,At=$e.noValue,Dt=!$e.markerType,Lt=$e.name,jt=xe.useUTC,hn=$e.valueFormatter||xe.valueFormatter||function(Tn){return Tn=isArray$1(Tn)?Tn:[Tn],map$1(Tn,function(An,$n){return makeValueReadable(An,isArray$1(_n)?_n[$n]:_n,jt)})};if(!(qe&&At)){var vn=Dt?"":xe.markupStyleCreator.makeTooltipMarker($e.markerType,$e.markerColor||"#333",Ue),bn=qe?"":makeValueReadable(Lt,"ordinal",jt),_n=$e.valueType,wn=At?[]:hn($e.value,$e.dataIndex),kn=!Dt||!qe,Cn=!Dt&&qe,Sn=getTooltipTextStyle(Fe,Ue),xn=Sn.nameStyle,En=Sn.valueStyle;return Ue==="richText"?(Dt?"":vn)+(qe?"":wrapInlineNameRichText(xe,bn,xn))+(At?"":wrapInlineValueRichText(xe,wn,kn,Cn,En)):wrapBlockHTML((Dt?"":vn)+(qe?"":wrapInlineNameHTML(bn,!Dt,xn))+(At?"":wrapInlineValueHTML(wn,kn,Cn,En)),Ie)}}function buildTooltipMarkup(xe,$e,Ie,Fe,Ue,qe){if(xe){var At=getBuilder(xe),Dt={useUTC:Ue,renderMode:Ie,orderMode:Fe,markupStyleCreator:$e,valueFormatter:xe.valueFormatter};return At(Dt,xe,0,qe)}}function getGap(xe){return{html:HTML_GAPS[xe],richText:RICH_TEXT_GAPS[xe]}}function wrapBlockHTML(xe,$e){var Ie='
    ',Fe="margin: "+$e+"px 0 0";return'
    '+xe+Ie+"
    "}function wrapInlineNameHTML(xe,$e,Ie){var Fe=$e?"margin-left:2px":"";return''+encodeHTML(xe)+""}function wrapInlineValueHTML(xe,$e,Ie,Fe){var Ue=Ie?"10px":"20px",qe=$e?"float:right;margin-left:"+Ue:"";return xe=isArray$1(xe)?xe:[xe],''+map$1(xe,function(At){return encodeHTML(At)}).join("  ")+""}function wrapInlineNameRichText(xe,$e,Ie){return xe.markupStyleCreator.wrapRichTextStyle($e,Ie)}function wrapInlineValueRichText(xe,$e,Ie,Fe,Ue){var qe=[Ue],At=Fe?10:20;return Ie&&qe.push({padding:[0,0,0,At],align:"right"}),xe.markupStyleCreator.wrapRichTextStyle(isArray$1($e)?$e.join(" "):$e,qe)}function retrieveVisualColorForTooltipMarker(xe,$e){var Ie=xe.getData().getItemVisual($e,"style"),Fe=Ie[xe.visualDrawType];return convertToColorString(Fe)}function getPaddingFromTooltipModel(xe,$e){var Ie=xe.get("padding");return Ie??($e==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function xe(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return xe.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},xe.prototype.makeTooltipMarker=function($e,Ie,Fe){var Ue=Fe==="richText"?this._generateStyleName():null,qe=getTooltipMarker({color:Ie,type:$e,renderMode:Fe,markerId:Ue});return isString(qe)?qe:(this.richTextStyles[Ue]=qe.style,qe.content)},xe.prototype.wrapRichTextStyle=function($e,Ie){var Fe={};isArray$1(Ie)?each$f(Ie,function(qe){return extend(Fe,qe)}):extend(Fe,Ie);var Ue=this._generateStyleName();return this.richTextStyles[Ue]=Fe,"{"+Ue+"|"+$e+"}"},xe}();function defaultSeriesFormatTooltip(xe){var $e=xe.series,Ie=xe.dataIndex,Fe=xe.multipleSeries,Ue=$e.getData(),qe=Ue.mapDimensionsAll("defaultedTooltip"),At=qe.length,Dt=$e.getRawValue(Ie),Lt=isArray$1(Dt),jt=retrieveVisualColorForTooltipMarker($e,Ie),hn,vn,bn,_n;if(At>1||Lt&&!At){var wn=formatTooltipArrayValue(Dt,$e,Ie,qe,jt);hn=wn.inlineValues,vn=wn.inlineValueTypes,bn=wn.blocks,_n=wn.inlineValues[0]}else if(At){var kn=Ue.getDimensionInfo(qe[0]);_n=hn=retrieveRawValue(Ue,Ie,qe[0]),vn=kn.type}else _n=hn=Lt?Dt[0]:Dt;var Cn=isNameSpecified($e),Sn=Cn&&$e.name||"",xn=Ue.getName(Ie),En=Fe?Sn:xn;return createTooltipMarkup("section",{header:Sn,noHeader:Fe||!Cn,sortParam:_n,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:jt,name:En,noName:!trim$1(En),value:hn,valueType:vn,dataIndex:Ie})].concat(bn||[])})}function formatTooltipArrayValue(xe,$e,Ie,Fe,Ue){var qe=$e.getData(),At=reduce(xe,function(vn,bn,_n){var wn=qe.getDimensionInfo(_n);return vn=vn||wn&&wn.tooltip!==!1&&wn.displayName!=null},!1),Dt=[],Lt=[],jt=[];Fe.length?each$f(Fe,function(vn){hn(retrieveRawValue(qe,Ie,vn),vn)}):each$f(xe,hn);function hn(vn,bn){var _n=qe.getDimensionInfo(bn);!_n||_n.otherDims.tooltip===!1||(At?jt.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:Ue,name:_n.displayName,value:vn,valueType:_n.type})):(Dt.push(vn),Lt.push(_n.type)))}return{inlineValues:Dt,inlineValueTypes:Lt,blocks:jt}}var inner$k=makeInner();function getSelectionKey(xe,$e){return xe.getName($e)||xe.getId($e)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie._selectedDataIndicesMap={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(Ie,Ue);var qe=inner$k(this).sourceManager=new SourceManager(this);qe.prepareSource();var At=this.getInitialData(Ie,Ue);wrapData(At,this),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.mergeDefaultAndTheme=function(Ie,Fe){var Ue=fetchLayoutMode(this),qe=Ue?getLayoutParams(Ie):{},At=this.subType;ComponentModel.hasClass(At)&&(At+="Series"),merge(Ie,Fe.getTheme().get(this.subType)),merge(Ie,this.getDefaultOption()),defaultEmphasis(Ie,"label",["show"]),this.fillDataTextStyle(Ie.data),Ue&&mergeLayoutParam(Ie,qe,Ue)},$e.prototype.mergeOption=function(Ie,Fe){Ie=merge(this.option,Ie,!0),this.fillDataTextStyle(Ie.data);var Ue=fetchLayoutMode(this);Ue&&mergeLayoutParam(this.option,Ie,Ue);var qe=inner$k(this).sourceManager;qe.dirty(),qe.prepareSource();var At=this.getInitialData(Ie,Fe);wrapData(At,this),this.dataTask.dirty(),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.fillDataTextStyle=function(Ie){if(Ie&&!isTypedArray(Ie))for(var Fe=["show"],Ue=0;Uethis.getShallow("animationThreshold")&&(Fe=!1),!!Fe},$e.prototype.restoreData=function(){this.dataTask.dirty()},$e.prototype.getColorFromPalette=function(Ie,Fe,Ue){var qe=this.ecModel,At=PaletteMixin.prototype.getColorFromPalette.call(this,Ie,Fe,Ue);return At||(At=qe.getColorFromPalette(Ie,Fe,Ue)),At},$e.prototype.coordDimToDataDim=function(Ie){return this.getRawData().mapDimensionsAll(Ie)},$e.prototype.getProgressive=function(){return this.get("progressive")},$e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},$e.prototype.select=function(Ie,Fe){this._innerSelect(this.getData(Fe),Ie)},$e.prototype.unselect=function(Ie,Fe){var Ue=this.option.selectedMap;if(Ue){var qe=this.option.selectedMode,At=this.getData(Fe);if(qe==="series"||Ue==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var Dt=0;Dt=0&&Ue.push(At)}return Ue},$e.prototype.isSelected=function(Ie,Fe){var Ue=this.option.selectedMap;if(!Ue)return!1;var qe=this.getData(Fe);return(Ue==="all"||Ue[getSelectionKey(qe,Ie)])&&!qe.getItemModel(Ie).get(["select","disabled"])},$e.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var Ie=this.option.universalTransition;return Ie?Ie===!0?!0:Ie&&Ie.enabled:!1},$e.prototype._innerSelect=function(Ie,Fe){var Ue,qe,At=this.option,Dt=At.selectedMode,Lt=Fe.length;if(!(!Dt||!Lt)){if(Dt==="series")At.selectedMap="all";else if(Dt==="multiple"){isObject$3(At.selectedMap)||(At.selectedMap={});for(var jt=At.selectedMap,hn=0;hn0&&this._innerSelect(Ie,Fe)}},$e.registerClass=function(Ie){return ComponentModel.registerClass(Ie)},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="series.__base__",Ie.seriesIndex=0,Ie.ignoreStyleOnData=!1,Ie.hasSymbolVisual=!1,Ie.defaultSymbol="circle",Ie.visualStyleAccessPath="itemStyle",Ie.visualDrawType="fill"}(),$e}(ComponentModel);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel);function autoSeriesName(xe){var $e=xe.name;isNameSpecified(xe)||(xe.name=getSeriesAutoName(xe)||$e)}function getSeriesAutoName(xe){var $e=xe.getRawData(),Ie=$e.mapDimensionsAll("seriesName"),Fe=[];return each$f(Ie,function(Ue){var qe=$e.getDimensionInfo(Ue);qe.displayName&&Fe.push(qe.displayName)}),Fe.join(" ")}function dataTaskCount(xe){return xe.model.getRawData().count()}function dataTaskReset(xe){var $e=xe.model;return $e.setData($e.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(xe,$e){$e.outputData&&xe.end>$e.outputData.count()&&$e.model.getRawData().cloneShallow($e.outputData)}function wrapData(xe,$e){each$f(concatArray(xe.CHANGABLE_METHODS,xe.DOWNSAMPLE_METHODS),function(Ie){xe.wrapMethod(Ie,curry$1(onDataChange,$e))})}function onDataChange(xe,$e){var Ie=getCurrentTask(xe);return Ie&&Ie.setOutputEnd(($e||this).count()),$e}function getCurrentTask(xe){var $e=(xe.ecModel||{}).scheduler,Ie=$e&&$e.getPipeline(xe.uid);if(Ie){var Fe=Ie.currentTask;if(Fe){var Ue=Fe.agentStubMap;Ue&&(Fe=Ue.get(xe.uid))}return Fe}}var ComponentView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewComponent")}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){},xe.prototype.toggleBlurSeries=function($e,Ie,Fe){},xe.prototype.eachRendered=function($e){var Ie=this.group;Ie&&Ie.traverse($e)},xe}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);function createRenderPlanner(){var xe=makeInner();return function($e){var Ie=xe($e),Fe=$e.pipelineContext,Ue=!!Ie.large,qe=!!Ie.progressiveRender,At=Ie.large=!!(Fe&&Fe.large),Dt=Ie.progressiveRender=!!(Fe&&Fe.progressiveRender);return(Ue!==At||qe!==Dt)&&"reset"}}var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.highlight=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"emphasis")},xe.prototype.downplay=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"normal")},xe.prototype.remove=function($e,Ie){this.group.removeAll()},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.eachRendered=function($e){traverseElements(this.group,$e)},xe.markUpdateMethod=function($e,Ie){inner$j($e).updateMethod=Ie},xe.protoInitialize=function(){var $e=xe.prototype;$e.type="chart"}(),xe}();function elSetState(xe,$e,Ie){xe&&isHighDownDispatcher(xe)&&($e==="emphasis"?enterEmphasis:leaveEmphasis)(xe,Ie)}function toggleHighlight(xe,$e,Ie){var Fe=queryDataIndex(xe,$e),Ue=$e&&$e.highlightKey!=null?getHighlightDigit($e.highlightKey):null;Fe!=null?each$f(normalizeToArray(Fe),function(qe){elSetState(xe.getItemGraphicEl(qe),Ie,Ue)}):xe.eachItemGraphicEl(function(qe){elSetState(qe,Ie,Ue)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(xe){return renderPlanner(xe.model)}function renderTaskReset(xe){var $e=xe.model,Ie=xe.ecModel,Fe=xe.api,Ue=xe.payload,qe=$e.pipelineContext.progressiveRender,At=xe.view,Dt=Ue&&inner$j(Ue).updateMethod,Lt=qe?"incrementalPrepareRender":Dt&&At[Dt]?Dt:"render";return Lt!=="render"&&At[Lt]($e,Ie,Fe,Ue),progressMethodMap[Lt]}var progressMethodMap={incrementalPrepareRender:{progress:function(xe,$e){$e.view.incrementalRender(xe,$e.model,$e.ecModel,$e.api,$e.payload)}},render:{forceFirstProgress:!0,progress:function(xe,$e){$e.view.render($e.model,$e.ecModel,$e.api,$e.payload)}}},ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle$1(xe,$e,Ie){var Fe,Ue=0,qe=0,At=null,Dt,Lt,jt,hn;$e=$e||0;function vn(){qe=new Date().getTime(),At=null,xe.apply(Lt,jt||[])}var bn=function(){for(var _n=[],wn=0;wn=0?vn():At=setTimeout(vn,-Dt),Ue=Fe};return bn.clear=function(){At&&(clearTimeout(At),At=null)},bn.debounceNextCall=function(_n){hn=_n},bn}function createOrUpdate(xe,$e,Ie,Fe){var Ue=xe[$e];if(Ue){var qe=Ue[ORIGIN_METHOD]||Ue,At=Ue[THROTTLE_TYPE],Dt=Ue[RATE];if(Dt!==Ie||At!==Fe){if(Ie==null||!Fe)return xe[$e]=qe;Ue=xe[$e]=throttle$1(qe,Ie,Fe==="debounce"),Ue[ORIGIN_METHOD]=qe,Ue[THROTTLE_TYPE]=Fe,Ue[RATE]=Ie}return Ue}}function clear$1(xe,$e){var Ie=xe[$e];Ie&&Ie[ORIGIN_METHOD]&&(Ie.clear&&Ie.clear(),xe[$e]=Ie[ORIGIN_METHOD])}var inner$i=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(xe,$e){var Ie=xe.visualStyleMapper||defaultStyleMappers[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(xe,$e){var Ie=xe.visualDrawType||defaultColorKey[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=xe.getModel(Fe),qe=getStyleMapper(xe,Fe),At=qe(Ue),Dt=Ue.getShallow("decal");Dt&&(Ie.setVisual("decal",Dt),Dt.dirty=!0);var Lt=getDefaultColorKey(xe,Fe),jt=At[Lt],hn=isFunction(jt)?jt:null,vn=At.fill==="auto"||At.stroke==="auto";if(!At[Lt]||hn||vn){var bn=xe.getColorFromPalette(xe.name,null,$e.getSeriesCount());At[Lt]||(At[Lt]=bn,Ie.setVisual("colorFromPalette",!0)),At.fill=At.fill==="auto"||isFunction(At.fill)?bn:At.fill,At.stroke=At.stroke==="auto"||isFunction(At.stroke)?bn:At.stroke}if(Ie.setVisual("style",At),Ie.setVisual("drawType",Lt),!$e.isSeriesFiltered(xe)&&hn)return Ie.setVisual("colorFromPalette",!1),{dataEach:function(_n,wn){var kn=xe.getDataParams(wn),Cn=extend({},At);Cn[Lt]=hn(kn),_n.setItemVisual(wn,"style",Cn)}}}},sharedModel=new Model,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){if(!(xe.ignoreStyleOnData||$e.isSeriesFiltered(xe))){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=getStyleMapper(xe,Fe),qe=Ie.getVisual("drawType");return{dataEach:Ie.hasItemOption?function(At,Dt){var Lt=At.getRawDataItem(Dt);if(Lt&&Lt[Fe]){sharedModel.option=Lt[Fe];var jt=Ue(sharedModel),hn=At.ensureUniqueItemVisual(Dt,"style");extend(hn,jt),sharedModel.option.decal&&(At.setItemVisual(Dt,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),qe in jt&&At.setItemVisual(Dt,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(xe){var $e=createHashMap();xe.eachSeries(function(Ie){var Fe=Ie.getColorBy();if(!Ie.isColorBySeries()){var Ue=Ie.type+"-"+Fe,qe=$e.get(Ue);qe||(qe={},$e.set(Ue,qe)),inner$i(Ie).scope=qe}}),xe.eachSeries(function(Ie){if(!(Ie.isColorBySeries()||xe.isSeriesFiltered(Ie))){var Fe=Ie.getRawData(),Ue={},qe=Ie.getData(),At=inner$i(Ie).scope,Dt=Ie.visualStyleAccessPath||"itemStyle",Lt=getDefaultColorKey(Ie,Dt);qe.each(function(jt){var hn=qe.getRawIndex(jt);Ue[hn]=jt}),Fe.each(function(jt){var hn=Ue[jt],vn=qe.getItemVisual(hn,"colorFromPalette");if(vn){var bn=qe.ensureUniqueItemVisual(hn,"style"),_n=Fe.getName(jt)||jt+"",wn=Fe.count();bn[Lt]=Ie.getColorFromPalette(_n,At,wn)}})}})}},PI$5=Math.PI;function defaultLoading(xe,$e){$e=$e||{},defaults($e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var Ie=new Group$3,Fe=new Rect$2({style:{fill:$e.maskColor},zlevel:$e.zlevel,z:1e4});Ie.add(Fe);var Ue=new ZRText({style:{text:$e.text,fill:$e.textColor,fontSize:$e.fontSize,fontWeight:$e.fontWeight,fontStyle:$e.fontStyle,fontFamily:$e.fontFamily},zlevel:$e.zlevel,z:10001}),qe=new Rect$2({style:{fill:"none"},textContent:Ue,textConfig:{position:"right",distance:10},zlevel:$e.zlevel,z:10001});Ie.add(qe);var At;return $e.showSpinner&&(At=new Arc({shape:{startAngle:-PI$5/2,endAngle:-PI$5/2+.1,r:$e.spinnerRadius},style:{stroke:$e.color,lineCap:"round",lineWidth:$e.lineWidth},zlevel:$e.zlevel,z:10001}),At.animateShape(!0).when(1e3,{endAngle:PI$5*3/2}).start("circularInOut"),At.animateShape(!0).when(1e3,{startAngle:PI$5*3/2}).delay(300).start("circularInOut"),Ie.add(At)),Ie.resize=function(){var Dt=Ue.getBoundingRect().width,Lt=$e.showSpinner?$e.spinnerRadius:0,jt=(xe.getWidth()-Lt*2-($e.showSpinner&&Dt?10:0)-Dt)/2-($e.showSpinner&&Dt?0:5+Dt/2)+($e.showSpinner?0:Dt/2)+(Dt?0:Lt),hn=xe.getHeight()/2;$e.showSpinner&&At.setShape({cx:jt,cy:hn}),qe.setShape({x:jt-Lt,y:hn-Lt,width:Lt*2,height:Lt*2}),Fe.setShape({x:0,y:0,width:xe.getWidth(),height:xe.getHeight()})},Ie.resize(),Ie}var Scheduler=function(){function xe($e,Ie,Fe,Ue){this._stageTaskMap=createHashMap(),this.ecInstance=$e,this.api=Ie,Fe=this._dataProcessorHandlers=Fe.slice(),Ue=this._visualHandlers=Ue.slice(),this._allHandlers=Fe.concat(Ue)}return xe.prototype.restoreData=function($e,Ie){$e.restoreData(Ie),this._stageTaskMap.each(function(Fe){var Ue=Fe.overallTask;Ue&&Ue.dirty()})},xe.prototype.getPerformArgs=function($e,Ie){if($e.__pipeline){var Fe=this._pipelineMap.get($e.__pipeline.id),Ue=Fe.context,qe=!Ie&&Fe.progressiveEnabled&&(!Ue||Ue.progressiveRender)&&$e.__idxInPipeline>Fe.blockIndex,At=qe?Fe.step:null,Dt=Ue&&Ue.modDataCount,Lt=Dt!=null?Math.ceil(Dt/At):null;return{step:At,modBy:Lt,modDataCount:Dt}}},xe.prototype.getPipeline=function($e){return this._pipelineMap.get($e)},xe.prototype.updateStreamModes=function($e,Ie){var Fe=this._pipelineMap.get($e.uid),Ue=$e.getData(),qe=Ue.count(),At=Fe.progressiveEnabled&&Ie.incrementalPrepareRender&&qe>=Fe.threshold,Dt=$e.get("large")&&qe>=$e.get("largeThreshold"),Lt=$e.get("progressiveChunkMode")==="mod"?qe:null;$e.pipelineContext=Fe.context={progressiveRender:At,modDataCount:Lt,large:Dt}},xe.prototype.restorePipelines=function($e){var Ie=this,Fe=Ie._pipelineMap=createHashMap();$e.eachSeries(function(Ue){var qe=Ue.getProgressive(),At=Ue.uid;Fe.set(At,{id:At,head:null,tail:null,threshold:Ue.getProgressiveThreshold(),progressiveEnabled:qe&&!(Ue.preventIncremental&&Ue.preventIncremental()),blockIndex:-1,step:Math.round(qe||700),count:0}),Ie._pipe(Ue,Ue.dataTask)})},xe.prototype.prepareStageTasks=function(){var $e=this._stageTaskMap,Ie=this.api.getModel(),Fe=this.api;each$f(this._allHandlers,function(Ue){var qe=$e.get(Ue.uid)||$e.set(Ue.uid,{}),At="";assert(!(Ue.reset&&Ue.overallReset),At),Ue.reset&&this._createSeriesStageTask(Ue,qe,Ie,Fe),Ue.overallReset&&this._createOverallStageTask(Ue,qe,Ie,Fe)},this)},xe.prototype.prepareView=function($e,Ie,Fe,Ue){var qe=$e.renderTask,At=qe.context;At.model=Ie,At.ecModel=Fe,At.api=Ue,qe.__block=!$e.incrementalPrepareRender,this._pipe(Ie,qe)},xe.prototype.performDataProcessorTasks=function($e,Ie){this._performStageTasks(this._dataProcessorHandlers,$e,Ie,{block:!0})},xe.prototype.performVisualTasks=function($e,Ie,Fe){this._performStageTasks(this._visualHandlers,$e,Ie,Fe)},xe.prototype._performStageTasks=function($e,Ie,Fe,Ue){Ue=Ue||{};var qe=!1,At=this;each$f($e,function(Lt,jt){if(!(Ue.visualType&&Ue.visualType!==Lt.visualType)){var hn=At._stageTaskMap.get(Lt.uid),vn=hn.seriesTaskMap,bn=hn.overallTask;if(bn){var _n,wn=bn.agentStubMap;wn.each(function(Cn){Dt(Ue,Cn)&&(Cn.dirty(),_n=!0)}),_n&&bn.dirty(),At.updatePayload(bn,Fe);var kn=At.getPerformArgs(bn,Ue.block);wn.each(function(Cn){Cn.perform(kn)}),bn.perform(kn)&&(qe=!0)}else vn&&vn.each(function(Cn,Sn){Dt(Ue,Cn)&&Cn.dirty();var xn=At.getPerformArgs(Cn,Ue.block);xn.skip=!Lt.performRawSeries&&Ie.isSeriesFiltered(Cn.context.model),At.updatePayload(Cn,Fe),Cn.perform(xn)&&(qe=!0)})}});function Dt(Lt,jt){return Lt.setDirty&&(!Lt.dirtyMap||Lt.dirtyMap.get(jt.__pipeline.id))}this.unfinished=qe||this.unfinished},xe.prototype.performSeriesTasks=function($e){var Ie;$e.eachSeries(function(Fe){Ie=Fe.dataTask.perform()||Ie}),this.unfinished=Ie||this.unfinished},xe.prototype.plan=function(){this._pipelineMap.each(function($e){var Ie=$e.tail;do{if(Ie.__block){$e.blockIndex=Ie.__idxInPipeline;break}Ie=Ie.getUpstream()}while(Ie)})},xe.prototype.updatePayload=function($e,Ie){Ie!=="remain"&&($e.context.payload=Ie)},xe.prototype._createSeriesStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.seriesTaskMap,Dt=Ie.seriesTaskMap=createHashMap(),Lt=$e.seriesType,jt=$e.getTargetSeries;$e.createOnAllSeries?Fe.eachRawSeries(hn):Lt?Fe.eachRawSeriesByType(Lt,hn):jt&&jt(Fe,Ue).each(hn);function hn(vn){var bn=vn.uid,_n=Dt.set(bn,At&&At.get(bn)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));_n.context={model:vn,ecModel:Fe,api:Ue,useClearVisual:$e.isVisual&&!$e.isLayout,plan:$e.plan,reset:$e.reset,scheduler:qe},qe._pipe(vn,_n)}},xe.prototype._createOverallStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.overallTask=Ie.overallTask||createTask({reset:overallTaskReset});At.context={ecModel:Fe,api:Ue,overallReset:$e.overallReset,scheduler:qe};var Dt=At.agentStubMap,Lt=At.agentStubMap=createHashMap(),jt=$e.seriesType,hn=$e.getTargetSeries,vn=!0,bn=!1,_n="";assert(!$e.createOnAllSeries,_n),jt?Fe.eachRawSeriesByType(jt,wn):hn?hn(Fe,Ue).each(wn):(vn=!1,each$f(Fe.getSeries(),wn));function wn(kn){var Cn=kn.uid,Sn=Lt.set(Cn,Dt&&Dt.get(Cn)||(bn=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));Sn.context={model:kn,overallProgress:vn},Sn.agent=At,Sn.__block=vn,qe._pipe(kn,Sn)}bn&&At.dirty()},xe.prototype._pipe=function($e,Ie){var Fe=$e.uid,Ue=this._pipelineMap.get(Fe);!Ue.head&&(Ue.head=Ie),Ue.tail&&Ue.tail.pipe(Ie),Ue.tail=Ie,Ie.__idxInPipeline=Ue.count++,Ie.__pipeline=Ue},xe.wrapStageHandler=function($e,Ie){return isFunction($e)&&($e={overallReset:$e,seriesType:detectSeriseType($e)}),$e.uid=getUID("stageHandler"),Ie&&($e.visualType=Ie),$e},xe}();function overallTaskReset(xe){xe.overallReset(xe.ecModel,xe.api,xe.payload)}function stubReset(xe){return xe.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(xe){return xe.plan?xe.plan(xe.model,xe.ecModel,xe.api,xe.payload):null}function seriesTaskReset(xe){xe.useClearVisual&&xe.data.clearAllVisual();var $e=xe.resetDefines=normalizeToArray(xe.reset(xe.model,xe.ecModel,xe.api,xe.payload));return $e.length>1?map$1($e,function(Ie,Fe){return makeSeriesTaskProgress(Fe)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(xe){return function($e,Ie){var Fe=Ie.data,Ue=Ie.resetDefines[xe];if(Ue&&Ue.dataEach)for(var qe=$e.start;qe<$e.end;qe++)Ue.dataEach(Fe,qe);else Ue&&Ue.progress&&Ue.progress($e,Fe)}}function seriesTaskCount(xe){return xe.data.count()}function detectSeriseType(xe){seriesType=null;try{xe(ecModelMock,apiMock)}catch{}return seriesType}var ecModelMock={},apiMock={},seriesType;mockMethods(ecModelMock,GlobalModel);mockMethods(apiMock,ExtensionAPI);ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function(xe){seriesType=xe};ecModelMock.eachComponent=function(xe){xe.mainType==="series"&&xe.subType&&(seriesType=xe.subType)};function mockMethods(xe,$e){for(var Ie in $e.prototype)xe[Ie]=noop}var colorAll=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const lightTheme={color:colorAll,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],colorAll]};var contrastColor="#B9B8CE",backgroundColor="#100C2A",axisCommon=function(){return{axisLine:{lineStyle:{color:contrastColor}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},colorPalette=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],theme={darkMode:!0,color:colorPalette,backgroundColor,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:contrastColor}},textStyle:{color:contrastColor},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:contrastColor}},dataZoom:{borderColor:"#71708A",textStyle:{color:contrastColor},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:contrastColor}},timeline:{lineStyle:{color:contrastColor},label:{color:contrastColor},controlStyle:{color:contrastColor,borderColor:contrastColor}},calendar:{itemStyle:{color:backgroundColor},dayLabel:{color:contrastColor},monthLabel:{color:contrastColor},yearLabel:{color:contrastColor}},timeAxis:axisCommon(),logAxis:axisCommon(),valueAxis:axisCommon(),categoryAxis:axisCommon(),line:{symbol:"circle"},graph:{color:colorPalette},gauge:{title:{color:contrastColor},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:contrastColor},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};theme.categoryAxis.splitLine.show=!1;var ECEventProcessor=function(){function xe(){}return xe.prototype.normalizeQuery=function($e){var Ie={},Fe={},Ue={};if(isString($e)){var qe=parseClassType($e);Ie.mainType=qe.main||null,Ie.subType=qe.sub||null}else{var At=["Index","Name","Id"],Dt={name:1,dataIndex:1,dataType:1};each$f($e,function(Lt,jt){for(var hn=!1,vn=0;vn0&&_n===jt.length-bn.length){var wn=jt.slice(0,_n);wn!=="data"&&(Ie.mainType=wn,Ie[bn.toLowerCase()]=Lt,hn=!0)}}Dt.hasOwnProperty(jt)&&(Fe[jt]=Lt,hn=!0),hn||(Ue[jt]=Lt)})}return{cptQuery:Ie,dataQuery:Fe,otherQuery:Ue}},xe.prototype.filter=function($e,Ie){var Fe=this.eventInfo;if(!Fe)return!0;var Ue=Fe.targetEl,qe=Fe.packedEvent,At=Fe.model,Dt=Fe.view;if(!At||!Dt)return!0;var Lt=Ie.cptQuery,jt=Ie.dataQuery;return hn(Lt,At,"mainType")&&hn(Lt,At,"subType")&&hn(Lt,At,"index","componentIndex")&&hn(Lt,At,"name")&&hn(Lt,At,"id")&&hn(jt,qe,"name")&&hn(jt,qe,"dataIndex")&&hn(jt,qe,"dataType")&&(!Dt.filterForExposedEvent||Dt.filterForExposedEvent($e,Ie.otherQuery,Ue,qe));function hn(vn,bn,_n,wn){return vn[_n]==null||bn[wn||_n]===vn[_n]}},xe.prototype.afterTrigger=function(){this.eventInfo=null},xe}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData();if(xe.legendIcon&&Ie.setVisual("legendIcon",xe.legendIcon),!xe.hasSymbolVisual)return;for(var Fe={},Ue={},qe=!1,At=0;At=0&&isSafeNum(Lt)?Lt:.5;var jt=xe.createRadialGradient(At,Dt,0,At,Dt,Lt);return jt}function getCanvasGradient(xe,$e,Ie){for(var Fe=$e.type==="radial"?createRadialGradient(xe,$e,Ie):createLinearGradient(xe,$e,Ie),Ue=$e.colorStops,qe=0;qe0)?null:xe==="dashed"?[4*$e,2*$e]:xe==="dotted"?[$e]:isNumber(xe)?[xe]:isArray$1(xe)?xe:null}function getLineDash(xe){var $e=xe.style,Ie=$e.lineDash&&$e.lineWidth>0&&normalizeLineDash($e.lineDash,$e.lineWidth),Fe=$e.lineDashOffset;if(Ie){var Ue=$e.strokeNoScale&&xe.getLineScale?xe.getLineScale():1;Ue&&Ue!==1&&(Ie=map$1(Ie,function(qe){return qe/Ue}),Fe/=Ue)}return[Ie,Fe]}var pathProxyForDraw=new PathProxy(!0);function styleHasStroke(xe){var $e=xe.stroke;return!($e==null||$e==="none"||!(xe.lineWidth>0))}function isValidStrokeFillStyle(xe){return typeof xe=="string"&&xe!=="none"}function styleHasFill(xe){var $e=xe.fill;return $e!=null&&$e!=="none"}function doFillPath(xe,$e){if($e.fillOpacity!=null&&$e.fillOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.fillOpacity*$e.opacity,xe.fill(),xe.globalAlpha=Ie}else xe.fill()}function doStrokePath(xe,$e){if($e.strokeOpacity!=null&&$e.strokeOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.strokeOpacity*$e.opacity,xe.stroke(),xe.globalAlpha=Ie}else xe.stroke()}function createCanvasPattern(xe,$e,Ie){var Fe=createOrUpdateImage($e.image,$e.__image,Ie);if(isImageReady(Fe)){var Ue=xe.createPattern(Fe,$e.repeat||"repeat");if(typeof DOMMatrix=="function"&&Ue&&Ue.setTransform){var qe=new DOMMatrix;qe.translateSelf($e.x||0,$e.y||0),qe.rotateSelf(0,0,($e.rotation||0)*RADIAN_TO_DEGREE),qe.scaleSelf($e.scaleX||1,$e.scaleY||1),Ue.setTransform(qe)}return Ue}}function brushPath(xe,$e,Ie,Fe){var Ue,qe=styleHasStroke(Ie),At=styleHasFill(Ie),Dt=Ie.strokePercent,Lt=Dt<1,jt=!$e.path;(!$e.silent||Lt)&&jt&&$e.createPathProxy();var hn=$e.path||pathProxyForDraw,vn=$e.__dirty;if(!Fe){var bn=Ie.fill,_n=Ie.stroke,wn=At&&!!bn.colorStops,kn=qe&&!!_n.colorStops,Cn=At&&!!bn.image,Sn=qe&&!!_n.image,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0;(wn||kn)&&($n=$e.getBoundingRect()),wn&&(xn=vn?getCanvasGradient(xe,bn,$n):$e.__canvasFillGradient,$e.__canvasFillGradient=xn),kn&&(En=vn?getCanvasGradient(xe,_n,$n):$e.__canvasStrokeGradient,$e.__canvasStrokeGradient=En),Cn&&(Tn=vn||!$e.__canvasFillPattern?createCanvasPattern(xe,bn,$e):$e.__canvasFillPattern,$e.__canvasFillPattern=Tn),Sn&&(An=vn||!$e.__canvasStrokePattern?createCanvasPattern(xe,_n,$e):$e.__canvasStrokePattern,$e.__canvasStrokePattern=Tn),wn?xe.fillStyle=xn:Cn&&(Tn?xe.fillStyle=Tn:At=!1),kn?xe.strokeStyle=En:Sn&&(An?xe.strokeStyle=An:qe=!1)}var Pn=$e.getGlobalScale();hn.setScale(Pn[0],Pn[1],$e.segmentIgnoreThreshold);var Nn,Mn;xe.setLineDash&&Ie.lineDash&&(Ue=getLineDash($e),Nn=Ue[0],Mn=Ue[1]);var In=!0;(jt||vn&SHAPE_CHANGED_BIT)&&(hn.setDPR(xe.dpr),Lt?hn.setContext(null):(hn.setContext(xe),In=!1),hn.reset(),$e.buildPath(hn,$e.shape,Fe),hn.toStatic(),$e.pathUpdated()),In&&hn.rebuildPath(xe,Lt?Dt:1),Nn&&(xe.setLineDash(Nn),xe.lineDashOffset=Mn),Fe||(Ie.strokeFirst?(qe&&doStrokePath(xe,Ie),At&&doFillPath(xe,Ie)):(At&&doFillPath(xe,Ie),qe&&doStrokePath(xe,Ie))),Nn&&xe.setLineDash([])}function brushImage(xe,$e,Ie){var Fe=$e.__image=createOrUpdateImage(Ie.image,$e.__image,$e,$e.onload);if(!(!Fe||!isImageReady(Fe))){var Ue=Ie.x||0,qe=Ie.y||0,At=$e.getWidth(),Dt=$e.getHeight(),Lt=Fe.width/Fe.height;if(At==null&&Dt!=null?At=Dt*Lt:Dt==null&&At!=null?Dt=At/Lt:At==null&&Dt==null&&(At=Fe.width,Dt=Fe.height),Ie.sWidth&&Ie.sHeight){var jt=Ie.sx||0,hn=Ie.sy||0;xe.drawImage(Fe,jt,hn,Ie.sWidth,Ie.sHeight,Ue,qe,At,Dt)}else if(Ie.sx&&Ie.sy){var jt=Ie.sx,hn=Ie.sy,vn=At-jt,bn=Dt-hn;xe.drawImage(Fe,jt,hn,vn,bn,Ue,qe,At,Dt)}else xe.drawImage(Fe,Ue,qe,At,Dt)}}function brushText(xe,$e,Ie){var Fe,Ue=Ie.text;if(Ue!=null&&(Ue+=""),Ue){xe.font=Ie.font||DEFAULT_FONT,xe.textAlign=Ie.textAlign,xe.textBaseline=Ie.textBaseline;var qe=void 0,At=void 0;xe.setLineDash&&Ie.lineDash&&(Fe=getLineDash($e),qe=Fe[0],At=Fe[1]),qe&&(xe.setLineDash(qe),xe.lineDashOffset=At),Ie.strokeFirst?(styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y),styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y)):(styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y),styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y)),qe&&xe.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(xe,$e,Ie,Fe,Ue){var qe=!1;if(!Fe&&(Ie=Ie||{},$e===Ie))return!1;if(Fe||$e.opacity!==Ie.opacity){flushPathDrawn(xe,Ue),qe=!0;var At=Math.max(Math.min($e.opacity,1),0);xe.globalAlpha=isNaN(At)?DEFAULT_COMMON_STYLE.opacity:At}(Fe||$e.blend!==Ie.blend)&&(qe||(flushPathDrawn(xe,Ue),qe=!0),xe.globalCompositeOperation=$e.blend||DEFAULT_COMMON_STYLE.blend);for(var Dt=0;Dt0&&Ie.unfinished);Ie.unfinished||this._zr.flush()}}},$e.prototype.getDom=function(){return this._dom},$e.prototype.getId=function(){return this.id},$e.prototype.getZr=function(){return this._zr},$e.prototype.isSSR=function(){return this._ssr},$e.prototype.setOption=function(Ie,Fe,Ue){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var qe,At,Dt;if(isObject$3(Fe)&&(Ue=Fe.lazyUpdate,qe=Fe.silent,At=Fe.replaceMerge,Dt=Fe.transition,Fe=Fe.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||Fe){var Lt=new OptionManager(this._api),jt=this._theme,hn=this._model=new GlobalModel;hn.scheduler=this._scheduler,hn.ssr=this._ssr,hn.init(null,null,null,jt,this._locale,Lt)}this._model.setOption(Ie,{replaceMerge:At},optionPreprocessorFuncs);var vn={seriesTransition:Dt,optionChanged:!0};if(Ue)this[PENDING_UPDATE]={silent:qe,updateParams:vn},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,vn)}catch(bn){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,bn}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.setTheme=function(){},$e.prototype.getModel=function(){return this._model},$e.prototype.getOption=function(){return this._model&&this._model.getOption()},$e.prototype.getWidth=function(){return this._zr.getWidth()},$e.prototype.getHeight=function(){return this._zr.getHeight()},$e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env.hasGlobalWindow&&window.devicePixelRatio||1},$e.prototype.getRenderedCanvas=function(Ie){return this.renderToCanvas(Ie)},$e.prototype.renderToCanvas=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.getRenderedCanvas({backgroundColor:Ie.backgroundColor||this._model.get("backgroundColor"),pixelRatio:Ie.pixelRatio||this.getDevicePixelRatio()})},$e.prototype.renderToSVGString=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.renderToString({useViewBox:Ie.useViewBox})},$e.prototype.getSvgDataURL=function(){if(env.svgSupported){var Ie=this._zr,Fe=Ie.storage.getDisplayList();return each$f(Fe,function(Ue){Ue.stopAnimation(null,!0)}),Ie.painter.toDataURL()}},$e.prototype.getDataURL=function(Ie){if(this._disposed){this.id;return}Ie=Ie||{};var Fe=Ie.excludeComponents,Ue=this._model,qe=[],At=this;each$f(Fe,function(Lt){Ue.eachComponent({mainType:Lt},function(jt){var hn=At._componentsMap[jt.__viewId];hn.group.ignore||(qe.push(hn),hn.group.ignore=!0)})});var Dt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(Ie).toDataURL("image/"+(Ie&&Ie.type||"png"));return each$f(qe,function(Lt){Lt.group.ignore=!1}),Dt},$e.prototype.getConnectedDataURL=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.type==="svg",Ue=this.group,qe=Math.min,At=Math.max,Dt=1/0;if(connectedGroups[Ue]){var Lt=Dt,jt=Dt,hn=-Dt,vn=-Dt,bn=[],_n=Ie&&Ie.pixelRatio||this.getDevicePixelRatio();each$f(instances,function(En,Tn){if(En.group===Ue){var An=Fe?En.getZr().painter.getSvgDom().innerHTML:En.renderToCanvas(clone$4(Ie)),$n=En.getDom().getBoundingClientRect();Lt=qe($n.left,Lt),jt=qe($n.top,jt),hn=At($n.right,hn),vn=At($n.bottom,vn),bn.push({dom:An,left:$n.left,top:$n.top})}}),Lt*=_n,jt*=_n,hn*=_n,vn*=_n;var wn=hn-Lt,kn=vn-jt,Cn=platformApi.createCanvas(),Sn=init$2(Cn,{renderer:Fe?"svg":"canvas"});if(Sn.resize({width:wn,height:kn}),Fe){var xn="";return each$f(bn,function(En){var Tn=En.left-Lt,An=En.top-jt;xn+=''+En.dom+""}),Sn.painter.getSvgRoot().innerHTML=xn,Ie.connectedBackgroundColor&&Sn.painter.setBackgroundColor(Ie.connectedBackgroundColor),Sn.refreshImmediately(),Sn.painter.toDataURL()}else return Ie.connectedBackgroundColor&&Sn.add(new Rect$2({shape:{x:0,y:0,width:wn,height:kn},style:{fill:Ie.connectedBackgroundColor}})),each$f(bn,function(En){var Tn=new ZRImage({style:{x:En.left*_n-Lt,y:En.top*_n-jt,image:En.dom}});Sn.add(Tn)}),Sn.refreshImmediately(),Cn.toDataURL("image/"+(Ie&&Ie.type||"png"))}else return this.getDataURL(Ie)},$e.prototype.convertToPixel=function(Ie,Fe){return doConvertPixel(this,"convertToPixel",Ie,Fe)},$e.prototype.convertFromPixel=function(Ie,Fe){return doConvertPixel(this,"convertFromPixel",Ie,Fe)},$e.prototype.containPixel=function(Ie,Fe){if(this._disposed){this.id;return}var Ue=this._model,qe,At=parseFinder$1(Ue,Ie);return each$f(At,function(Dt,Lt){Lt.indexOf("Models")>=0&&each$f(Dt,function(jt){var hn=jt.coordinateSystem;if(hn&&hn.containPoint)qe=qe||!!hn.containPoint(Fe);else if(Lt==="seriesModels"){var vn=this._chartsMap[jt.__viewId];vn&&vn.containPoint&&(qe=qe||vn.containPoint(Fe,jt))}},this)},this),!!qe},$e.prototype.getVisual=function(Ie,Fe){var Ue=this._model,qe=parseFinder$1(Ue,Ie,{defaultMainType:"series"}),At=qe.seriesModel,Dt=At.getData(),Lt=qe.hasOwnProperty("dataIndexInside")?qe.dataIndexInside:qe.hasOwnProperty("dataIndex")?Dt.indexOfRawIndex(qe.dataIndex):null;return Lt!=null?getItemVisualFromData(Dt,Lt,Fe):getVisualFromData(Dt,Fe)},$e.prototype.getViewOfComponentModel=function(Ie){return this._componentsMap[Ie.__viewId]},$e.prototype.getViewOfSeriesModel=function(Ie){return this._chartsMap[Ie.__viewId]},$e.prototype._initEvents=function(){var Ie=this;each$f(MOUSE_EVENT_NAMES,function(Fe){var Ue=function(qe){var At=Ie.getModel(),Dt=qe.target,Lt,jt=Fe==="globalout";if(jt?Lt={}:Dt&&findEventDispatcher(Dt,function(wn){var kn=getECData(wn);if(kn&&kn.dataIndex!=null){var Cn=kn.dataModel||At.getSeriesByIndex(kn.seriesIndex);return Lt=Cn&&Cn.getDataParams(kn.dataIndex,kn.dataType,Dt)||{},!0}else if(kn.eventData)return Lt=extend({},kn.eventData),!0},!0),Lt){var hn=Lt.componentType,vn=Lt.componentIndex;(hn==="markLine"||hn==="markPoint"||hn==="markArea")&&(hn="series",vn=Lt.seriesIndex);var bn=hn&&vn!=null&&At.getComponent(hn,vn),_n=bn&&Ie[bn.mainType==="series"?"_chartsMap":"_componentsMap"][bn.__viewId];Lt.event=qe,Lt.type=Fe,Ie._$eventProcessor.eventInfo={targetEl:Dt,packedEvent:Lt,model:bn,view:_n},Ie.trigger(Fe,Lt)}};Ue.zrEventfulCallAtLast=!0,Ie._zr.on(Fe,Ue,Ie)}),each$f(eventActionMap,function(Fe,Ue){Ie._messageCenter.on(Ue,function(qe){this.trigger(Ue,qe)},Ie)}),each$f(["selectchanged"],function(Fe){Ie._messageCenter.on(Fe,function(Ue){this.trigger(Fe,Ue)},Ie)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},$e.prototype.isDisposed=function(){return this._disposed},$e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},$e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var Ie=this.getDom();Ie&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var Fe=this,Ue=Fe._api,qe=Fe._model;each$f(Fe._componentsViews,function(At){At.dispose(qe,Ue)}),each$f(Fe._chartsViews,function(At){At.dispose(qe,Ue)}),Fe._zr.dispose(),Fe._dom=Fe._model=Fe._chartsMap=Fe._componentsMap=Fe._chartsViews=Fe._componentsViews=Fe._scheduler=Fe._api=Fe._zr=Fe._throttledZrFlush=Fe._theme=Fe._coordSysMgr=Fe._messageCenter=null,delete instances[Fe.id]},$e.prototype.resize=function(Ie){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(Ie);var Fe=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!Fe){var Ue=Fe.resetOption("media"),qe=Ie&&Ie.silent;this[PENDING_UPDATE]&&(qe==null&&(qe=this[PENDING_UPDATE].silent),Ue=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{Ue&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},Ie&&Ie.animation)})}catch(At){throw this[IN_MAIN_PROCESS_KEY]=!1,At}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.showLoading=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$3(Ie)&&(Fe=Ie,Ie=""),Ie=Ie||"default",this.hideLoading(),!!loadingEffects[Ie]){var Ue=loadingEffects[Ie](this._api,Fe),qe=this._zr;this._loadingFX=Ue,qe.add(Ue)}},$e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},$e.prototype.makeActionFromEvent=function(Ie){var Fe=extend({},Ie);return Fe.type=eventActionMap[Ie.type],Fe},$e.prototype.dispatchAction=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$3(Fe)||(Fe={silent:!!Fe}),!!actions[Ie.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(Ie);return}var Ue=Fe.silent;doDispatchAction.call(this,Ie,Ue);var qe=Fe.flush;qe?this._zr.flush():qe!==!1&&env.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,Ue),triggerUpdatedEvent.call(this,Ue)}},$e.prototype.updateLabelLayout=function(){lifecycle.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},$e.prototype.appendData=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.seriesIndex,Ue=this.getModel(),qe=Ue.getSeriesByIndex(Fe);qe.appendData(Ie),this._scheduler.unfinished=!0,this.getZr().wakeUp()},$e.internalField=function(){prepare=function(vn){var bn=vn._scheduler;bn.restorePipelines(vn._model),bn.prepareStageTasks(),prepareView(vn,!0),prepareView(vn,!1),bn.plan()},prepareView=function(vn,bn){for(var _n=vn._model,wn=vn._scheduler,kn=bn?vn._componentsViews:vn._chartsViews,Cn=bn?vn._componentsMap:vn._chartsMap,Sn=vn._zr,xn=vn._api,En=0;Enbn.get("hoverLayerThreshold")&&!env.node&&!env.worker&&bn.eachSeries(function(Cn){if(!Cn.preventUsingHoverLayer){var Sn=vn._chartsMap[Cn.__viewId];Sn.__alive&&Sn.eachRendered(function(xn){xn.states.emphasis&&(xn.states.emphasis.hoverLayer=!0)})}})}function At(vn,bn){var _n=vn.get("blendMode")||null;bn.eachRendered(function(wn){wn.isGroup||(wn.style.blend=_n)})}function Dt(vn,bn){if(!vn.preventAutoZ){var _n=vn.get("z")||0,wn=vn.get("zlevel")||0;bn.eachRendered(function(kn){return Lt(kn,_n,wn,-1/0),!0})}}function Lt(vn,bn,_n,wn){var kn=vn.getTextContent(),Cn=vn.getTextGuideLine(),Sn=vn.isGroup;if(Sn)for(var xn=vn.childrenRef(),En=0;En0?{duration:kn,delay:_n.get("delay"),easing:_n.get("easing")}:null;bn.eachRendered(function(Sn){if(Sn.states&&Sn.states.emphasis){if(isElementRemoved(Sn))return;if(Sn instanceof Path&&savePathStates(Sn),Sn.__dirty){var xn=Sn.prevStates;xn&&Sn.useStates(xn)}if(wn){Sn.stateTransition=Cn;var En=Sn.getTextContent(),Tn=Sn.getTextGuideLine();En&&(En.stateTransition=Cn),Tn&&(Tn.stateTransition=Cn)}Sn.__dirty&&Ue(Sn)}})}createExtensionAPI=function(vn){return new(function(bn){__extends(_n,bn);function _n(){return bn!==null&&bn.apply(this,arguments)||this}return _n.prototype.getCoordinateSystems=function(){return vn._coordSysMgr.getCoordinateSystems()},_n.prototype.getComponentByElement=function(wn){for(;wn;){var kn=wn.__ecComponentInfo;if(kn!=null)return vn._model.getComponent(kn.mainType,kn.index);wn=wn.parent}},_n.prototype.enterEmphasis=function(wn,kn){enterEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.leaveEmphasis=function(wn,kn){leaveEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.enterBlur=function(wn){enterBlur(wn),markStatusToUpdate(vn)},_n.prototype.leaveBlur=function(wn){leaveBlur(wn),markStatusToUpdate(vn)},_n.prototype.enterSelect=function(wn){enterSelect(wn),markStatusToUpdate(vn)},_n.prototype.leaveSelect=function(wn){leaveSelect(wn),markStatusToUpdate(vn)},_n.prototype.getModel=function(){return vn.getModel()},_n.prototype.getViewOfComponentModel=function(wn){return vn.getViewOfComponentModel(wn)},_n.prototype.getViewOfSeriesModel=function(wn){return vn.getViewOfSeriesModel(wn)},_n}(ExtensionAPI))(vn)},enableConnect=function(vn){function bn(_n,wn){for(var kn=0;kn<_n.length;kn++){var Cn=_n[kn];Cn[CONNECT_STATUS_KEY]=wn}}each$f(eventActionMap,function(_n,wn){vn._messageCenter.on(wn,function(kn){if(connectedGroups[vn.group]&&vn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(kn&&kn.escapeConnect)return;var Cn=vn.makeActionFromEvent(kn),Sn=[];each$f(instances,function(xn){xn!==vn&&xn.group===vn.group&&Sn.push(xn)}),bn(Sn,CONNECT_STATUS_PENDING),each$f(Sn,function(xn){xn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&xn.dispatchAction(Cn)}),bn(Sn,CONNECT_STATUS_UPDATED)}})})}}(),$e}(Eventful),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function(xe,$e,Ie){var Fe=this;function Ue(){for(var qe=[],At=0;At=0)){registeredTasks.push(Ie);var qe=Scheduler.wrapStageHandler(Ie,Ue);qe.__prio=$e,qe.__raw=Ie,xe.push(qe)}}function registerLoading(xe,$e){loadingEffects[xe]=$e}function registerMap$1(xe,$e,Ie){var Fe=getImpl("registerMap");Fe&&Fe(xe,$e,Ie)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",theme);var extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap:registerMap$1,registerImpl,PRIORITY,ComponentModel,ComponentView,SeriesModel,ChartView,registerComponentModel:function(xe){ComponentModel.registerClass(xe)},registerComponentView:function(xe){ComponentView.registerClass(xe)},registerSeriesModel:function(xe){SeriesModel.registerClass(xe)},registerChartView:function(xe){ChartView.registerClass(xe)},registerSubTypeDefaulter:function(xe,$e){ComponentModel.registerSubTypeDefaulter(xe,$e)},registerPainter:function(xe,$e){registerPainter(xe,$e)}};function use(xe){if(isArray$1(xe)){each$f(xe,function($e){use($e)});return}indexOf(extensions,xe)>=0||(extensions.push(xe),isFunction(xe)&&(xe={install:xe}),xe.install(extensionRegisters))}function dataIndexMapValueLength(xe){return xe==null?0:xe.length||1}function defaultKeyGetter(xe){return xe}var DataDiffer=function(){function xe($e,Ie,Fe,Ue,qe,At){this._old=$e,this._new=Ie,this._oldKeyGetter=Fe||defaultKeyGetter,this._newKeyGetter=Ue||defaultKeyGetter,this.context=qe,this._diffModeMultiple=At==="multiple"}return xe.prototype.add=function($e){return this._add=$e,this},xe.prototype.update=function($e){return this._update=$e,this},xe.prototype.updateManyToOne=function($e){return this._updateManyToOne=$e,this},xe.prototype.updateOneToMany=function($e){return this._updateOneToMany=$e,this},xe.prototype.updateManyToMany=function($e){return this._updateManyToMany=$e,this},xe.prototype.remove=function($e){return this._remove=$e,this},xe.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},xe.prototype._executeOneToOne=function(){var $e=this._old,Ie=this._new,Fe={},Ue=new Array($e.length),qe=new Array(Ie.length);this._initIndexMap($e,null,Ue,"_oldKeyGetter"),this._initIndexMap(Ie,Fe,qe,"_newKeyGetter");for(var At=0;At<$e.length;At++){var Dt=Ue[At],Lt=Fe[Dt],jt=dataIndexMapValueLength(Lt);if(jt>1){var hn=Lt.shift();Lt.length===1&&(Fe[Dt]=Lt[0]),this._update&&this._update(hn,At)}else jt===1?(Fe[Dt]=null,this._update&&this._update(Lt,At)):this._remove&&this._remove(At)}this._performRestAdd(qe,Fe)},xe.prototype._executeMultiple=function(){var $e=this._old,Ie=this._new,Fe={},Ue={},qe=[],At=[];this._initIndexMap($e,Fe,qe,"_oldKeyGetter"),this._initIndexMap(Ie,Ue,At,"_newKeyGetter");for(var Dt=0;Dt1&&bn===1)this._updateManyToOne&&this._updateManyToOne(hn,jt),Ue[Lt]=null;else if(vn===1&&bn>1)this._updateOneToMany&&this._updateOneToMany(hn,jt),Ue[Lt]=null;else if(vn===1&&bn===1)this._update&&this._update(hn,jt),Ue[Lt]=null;else if(vn>1&&bn>1)this._updateManyToMany&&this._updateManyToMany(hn,jt),Ue[Lt]=null;else if(vn>1)for(var _n=0;_n1)for(var Dt=0;Dt30}var isObject$1=isObject$3,map=map$1,CtorInt32Array=typeof Int32Array>"u"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function xe($e,Ie){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var Fe,Ue=!1;isSeriesDataSchema($e)?(Fe=$e.dimensions,this._dimOmitted=$e.isDimensionOmitted(),this._schema=$e):(Ue=!0,Fe=$e),Fe=Fe||["x","y"];for(var qe={},At=[],Dt={},Lt=!1,jt={},hn=0;hn=Ie)){var Fe=this._store,Ue=Fe.getProvider();this._updateOrdinalMeta();var qe=this._nameList,At=this._idList,Dt=Ue.getSource().sourceFormat,Lt=Dt===SOURCE_FORMAT_ORIGINAL;if(Lt&&!Ue.pure)for(var jt=[],hn=$e;hn0},xe.prototype.ensureUniqueItemVisual=function($e,Ie){var Fe=this._itemVisuals,Ue=Fe[$e];Ue||(Ue=Fe[$e]={});var qe=Ue[Ie];return qe==null&&(qe=this.getVisual(Ie),isArray$1(qe)?qe=qe.slice():isObject$1(qe)&&(qe=extend({},qe)),Ue[Ie]=qe),qe},xe.prototype.setItemVisual=function($e,Ie,Fe){var Ue=this._itemVisuals[$e]||{};this._itemVisuals[$e]=Ue,isObject$1(Ie)?extend(Ue,Ie):Ue[Ie]=Fe},xe.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},xe.prototype.setLayout=function($e,Ie){isObject$1($e)?extend(this._layout,$e):this._layout[$e]=Ie},xe.prototype.getLayout=function($e){return this._layout[$e]},xe.prototype.getItemLayout=function($e){return this._itemLayouts[$e]},xe.prototype.setItemLayout=function($e,Ie,Fe){this._itemLayouts[$e]=Fe?extend(this._itemLayouts[$e]||{},Ie):Ie},xe.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},xe.prototype.setItemGraphicEl=function($e,Ie){var Fe=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(Fe,this.dataType,$e,Ie),this._graphicEls[$e]=Ie},xe.prototype.getItemGraphicEl=function($e){return this._graphicEls[$e]},xe.prototype.eachItemGraphicEl=function($e,Ie){each$f(this._graphicEls,function(Fe,Ue){Fe&&$e&&$e.call(Ie,Fe,Ue)})},xe.prototype.cloneShallow=function($e){return $e||($e=new xe(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties($e,this),$e._store=this._store,$e},xe.prototype.wrapMethod=function($e,Ie){var Fe=this[$e];isFunction(Fe)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push($e),this[$e]=function(){var Ue=Fe.apply(this,arguments);return Ie.apply(this,[Ue].concat(slice(arguments)))})},xe.internalField=function(){prepareInvertedIndex=function($e){var Ie=$e._invertedIndicesMap;each$f(Ie,function(Fe,Ue){var qe=$e._dimInfos[Ue],At=qe.ordinalMeta,Dt=$e._store;if(At){Fe=Ie[Ue]=new CtorInt32Array(At.categories.length);for(var Lt=0;Lt1&&(Lt+="__ec__"+hn),Ue[Ie]=Lt}}}(),xe}();function prepareSeriesDataSchema(xe,$e){isSourceInstance(xe)||(xe=createSourceFromSeriesDataOption(xe)),$e=$e||{};var Ie=$e.coordDimensions||[],Fe=$e.dimensionsDefine||xe.dimensionsDefine||[],Ue=createHashMap(),qe=[],At=getDimCount(xe,Ie,Fe,$e.dimensionsCount),Dt=$e.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(At),Lt=Fe===xe.dimensionsDefine,jt=Lt?ensureSourceDimNameMap(xe):createDimNameMap(Fe),hn=$e.encodeDefine;!hn&&$e.encodeDefaulter&&(hn=$e.encodeDefaulter(xe,At));for(var vn=createHashMap(hn),bn=new CtorInt32Array$1(At),_n=0;_n0&&(Fe.name=Ue+(qe-1)),qe++,$e.set(Ue,qe)}}function getDimCount(xe,$e,Ie,Fe){var Ue=Math.max(xe.dimensionsDetectedCount||1,$e.length,Ie.length,Fe||0);return each$f($e,function(qe){var At;isObject$3(qe)&&(At=qe.dimsDef)&&(Ue=Math.max(Ue,At.length))}),Ue}function genCoordDimName(xe,$e,Ie){if(Ie||$e.hasKey(xe)){for(var Fe=0;$e.hasKey(xe+Fe);)Fe++;xe+=Fe}return $e.set(xe,!0),xe}var CoordSysInfo=function(){function xe($e){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=$e}return xe}();function getCoordSysInfoBySeries(xe){var $e=xe.get("coordinateSystem"),Ie=new CoordSysInfo($e),Fe=fetchers[$e];if(Fe)return Fe(xe,Ie,Ie.axisMap,Ie.categoryAxisMap),Ie}var fetchers={cartesian2d:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],qe=xe.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["x","y"],Ie.set("x",Ue),Ie.set("y",qe),isCategory(Ue)&&(Fe.set("x",Ue),$e.firstCategoryDimIndex=0),isCategory(qe)&&(Fe.set("y",qe),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},singleAxis:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["single"],Ie.set("single",Ue),isCategory(Ue)&&(Fe.set("single",Ue),$e.firstCategoryDimIndex=0)},polar:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("polar",SINGLE_REFERRING).models[0],qe=Ue.findAxisModel("radiusAxis"),At=Ue.findAxisModel("angleAxis");$e.coordSysDims=["radius","angle"],Ie.set("radius",qe),Ie.set("angle",At),isCategory(qe)&&(Fe.set("radius",qe),$e.firstCategoryDimIndex=0),isCategory(At)&&(Fe.set("angle",At),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},geo:function(xe,$e,Ie,Fe){$e.coordSysDims=["lng","lat"]},parallel:function(xe,$e,Ie,Fe){var Ue=xe.ecModel,qe=Ue.getComponent("parallel",xe.get("parallelIndex")),At=$e.coordSysDims=qe.dimensions.slice();each$f(qe.parallelAxisIndex,function(Dt,Lt){var jt=Ue.getComponent("parallelAxis",Dt),hn=At[Lt];Ie.set(hn,jt),isCategory(jt)&&(Fe.set(hn,jt),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=Lt))})}};function isCategory(xe){return xe.get("type")==="category"}function enableDataStack(xe,$e,Ie){Ie=Ie||{};var Fe=Ie.byIndex,Ue=Ie.stackedCoordDimension,qe,At,Dt;isLegacyDimensionsInput($e)?qe=$e:(At=$e.schema,qe=At.dimensions,Dt=$e.store);var Lt=!!(xe&&xe.get("stack")),jt,hn,vn,bn;if(each$f(qe,function(xn,En){isString(xn)&&(qe[En]=xn={name:xn}),Lt&&!xn.isExtraCoord&&(!Fe&&!jt&&xn.ordinalMeta&&(jt=xn),!hn&&xn.type!=="ordinal"&&xn.type!=="time"&&(!Ue||Ue===xn.coordDim)&&(hn=xn))}),hn&&!Fe&&!jt&&(Fe=!0),hn){vn="__\0ecstackresult_"+xe.id,bn="__\0ecstackedover_"+xe.id,jt&&(jt.createInvertedIndices=!0);var _n=hn.coordDim,wn=hn.type,kn=0;each$f(qe,function(xn){xn.coordDim===_n&&kn++});var Cn={name:vn,coordDim:_n,coordDimIndex:kn,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length},Sn={name:bn,coordDim:bn,coordDimIndex:kn+1,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length+1};At?(Dt&&(Cn.storeDimIndex=Dt.ensureCalculationDimension(bn,wn),Sn.storeDimIndex=Dt.ensureCalculationDimension(vn,wn)),At.appendCalculationDimension(Cn),At.appendCalculationDimension(Sn)):(qe.push(Cn),qe.push(Sn))}return{stackedDimension:hn&&hn.name,stackedByDimension:jt&&jt.name,isStackedByIndex:Fe,stackedOverDimension:bn,stackResultDimension:vn}}function isLegacyDimensionsInput(xe){return!isSeriesDataSchema(xe.schema)}function isDimensionStacked(xe,$e){return!!$e&&$e===xe.getCalculationInfo("stackedDimension")}function getStackedDimension(xe,$e){return isDimensionStacked(xe,$e)?xe.getCalculationInfo("stackResultDimension"):$e}function getCoordSysDimDefs(xe,$e){var Ie=xe.get("coordinateSystem"),Fe=CoordinateSystemManager.get(Ie),Ue;return $e&&$e.coordSysDims&&(Ue=map$1($e.coordSysDims,function(qe){var At={name:qe},Dt=$e.axisMap.get(qe);if(Dt){var Lt=Dt.get("type");At.type=getDimensionTypeByAxis(Lt)}return At})),Ue||(Ue=Fe&&(Fe.getDimensionsInfo?Fe.getDimensionsInfo():Fe.dimensions.slice())||["x","y"]),Ue}function injectOrdinalMeta(xe,$e,Ie){var Fe,Ue;return Ie&&each$f(xe,function(qe,At){var Dt=qe.coordDim,Lt=Ie.categoryAxisMap.get(Dt);Lt&&(Fe==null&&(Fe=At),qe.ordinalMeta=Lt.getOrdinalMeta(),$e&&(qe.createInvertedIndices=!0)),qe.otherDims.itemName!=null&&(Ue=!0)}),!Ue&&Fe!=null&&(xe[Fe].otherDims.itemName=0),Fe}function createSeriesData(xe,$e,Ie){Ie=Ie||{};var Fe=$e.getSourceManager(),Ue,qe=!1;xe?(qe=!0,Ue=createSourceFromSeriesDataOption(xe)):(Ue=Fe.getSource(),qe=Ue.sourceFormat===SOURCE_FORMAT_ORIGINAL);var At=getCoordSysInfoBySeries($e),Dt=getCoordSysDimDefs($e,At),Lt=Ie.useEncodeDefaulter,jt=isFunction(Lt)?Lt:Lt?curry$1(makeSeriesEncodeForAxisCoordSys,Dt,$e):null,hn={coordDimensions:Dt,generateCoord:Ie.generateCoord,encodeDefine:$e.getEncode(),encodeDefaulter:jt,canOmitUnusedDimensions:!qe},vn=prepareSeriesDataSchema(Ue,hn),bn=injectOrdinalMeta(vn.dimensions,Ie.createInvertedIndices,At),_n=qe?null:Fe.getSharedDataStore(vn),wn=enableDataStack($e,{schema:vn,store:_n}),kn=new SeriesData(vn,$e);kn.setCalculationInfo(wn);var Cn=bn!=null&&isNeedCompleteOrdinalData(Ue)?function(Sn,xn,En,Tn){return Tn===bn?En:this.defaultDimValueGetter(Sn,xn,En,Tn)}:null;return kn.hasItemOption=!1,kn.initData(qe?Ue:_n,null,Cn),kn}function isNeedCompleteOrdinalData(xe){if(xe.sourceFormat===SOURCE_FORMAT_ORIGINAL){var $e=firstDataNotNull(xe.data||[]);return!isArray$1(getDataItemValue($e))}}function firstDataNotNull(xe){for(var $e=0;$eIe[1]&&(Ie[1]=$e[1])},xe.prototype.unionExtentFromData=function($e,Ie){this.unionExtent($e.getApproximateExtent(Ie))},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;isNaN($e)||(Fe[0]=$e),isNaN(Ie)||(Fe[1]=Ie)},xe.prototype.isInExtentRange=function($e){return this._extent[0]<=$e&&this._extent[1]>=$e},xe.prototype.isBlank=function(){return this._isBlank},xe.prototype.setBlank=function($e){this._isBlank=$e},xe}();enableClassManagement(Scale);var uidBase=0,OrdinalMeta=function(){function xe($e){this.categories=$e.categories||[],this._needCollect=$e.needCollect,this._deduplication=$e.deduplication,this.uid=++uidBase}return xe.createByAxisModel=function($e){var Ie=$e.option,Fe=Ie.data,Ue=Fe&&map$1(Fe,getName);return new xe({categories:Ue,needCollect:!Ue,deduplication:Ie.dedplication!==!1})},xe.prototype.getOrdinal=function($e){return this._getOrCreateMap().get($e)},xe.prototype.parseAndCollect=function($e){var Ie,Fe=this._needCollect;if(!isString($e)&&!Fe)return $e;if(Fe&&!this._deduplication)return Ie=this.categories.length,this.categories[Ie]=$e,Ie;var Ue=this._getOrCreateMap();return Ie=Ue.get($e),Ie==null&&(Fe?(Ie=this.categories.length,this.categories[Ie]=$e,Ue.set($e,Ie)):Ie=NaN),Ie},xe.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},xe}();function getName(xe){return isObject$3(xe)&&xe.value!=null?xe.value:xe+""}function isIntervalOrLogScale(xe){return xe.type==="interval"||xe.type==="log"}function intervalScaleNiceTicks(xe,$e,Ie,Fe){var Ue={},qe=xe[1]-xe[0],At=Ue.interval=nice(qe/$e);Ie!=null&&AtFe&&(At=Ue.interval=Fe);var Dt=Ue.intervalPrecision=getIntervalPrecision(At),Lt=Ue.niceTickExtent=[round$3(Math.ceil(xe[0]/At)*At,Dt),round$3(Math.floor(xe[1]/At)*At,Dt)];return fixExtent(Lt,xe),Ue}function increaseInterval(xe){var $e=Math.pow(10,quantityExponent(xe)),Ie=xe/$e;return Ie?Ie===2?Ie=3:Ie===3?Ie=5:Ie*=2:Ie=1,round$3(Ie*$e)}function getIntervalPrecision(xe){return getPrecision(xe)+2}function clamp(xe,$e,Ie){xe[$e]=Math.max(Math.min(xe[$e],Ie[1]),Ie[0])}function fixExtent(xe,$e){!isFinite(xe[0])&&(xe[0]=$e[0]),!isFinite(xe[1])&&(xe[1]=$e[1]),clamp(xe,0,$e),clamp(xe,1,$e),xe[0]>xe[1]&&(xe[0]=xe[1])}function contain$1(xe,$e){return xe>=$e[0]&&xe<=$e[1]}function normalize$2(xe,$e){return $e[1]===$e[0]?.5:(xe-$e[0])/($e[1]-$e[0])}function scale(xe,$e){return xe*($e[1]-$e[0])+$e[0]}var OrdinalScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;Fe.type="ordinal";var Ue=Fe.getSetting("ordinalMeta");return Ue||(Ue=new OrdinalMeta({})),isArray$1(Ue)&&(Ue=new OrdinalMeta({categories:map$1(Ue,function(qe){return isObject$3(qe)?qe.value:qe})})),Fe._ordinalMeta=Ue,Fe._extent=Fe.getSetting("extent")||[0,Ue.categories.length-1],Fe}return $e.prototype.parse=function(Ie){return Ie==null?NaN:isString(Ie)?this._ordinalMeta.getOrdinal(Ie):Math.round(Ie)},$e.prototype.contain=function(Ie){return Ie=this.parse(Ie),contain$1(Ie,this._extent)&&this._ordinalMeta.categories[Ie]!=null},$e.prototype.normalize=function(Ie){return Ie=this._getTickNumber(this.parse(Ie)),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=Math.round(scale(Ie,this._extent)),this.getRawOrdinalNumber(Ie)},$e.prototype.getTicks=function(){for(var Ie=[],Fe=this._extent,Ue=Fe[0];Ue<=Fe[1];)Ie.push({value:Ue}),Ue++;return Ie},$e.prototype.getMinorTicks=function(Ie){},$e.prototype.setSortInfo=function(Ie){if(Ie==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var Fe=Ie.ordinalNumbers,Ue=this._ordinalNumbersByTick=[],qe=this._ticksByOrdinalNumber=[],At=0,Dt=this._ordinalMeta.categories.length,Lt=Math.min(Dt,Fe.length);At=0&&Ie=0&&Ie=Ie},$e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},$e.prototype.calcNiceTicks=function(){},$e.prototype.calcNiceExtent=function(){},$e.type="ordinal",$e}(Scale);Scale.registerClass(OrdinalScale);var roundNumber=round$3,IntervalScale=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="interval",Ie._interval=0,Ie._intervalPrecision=2,Ie}return $e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.prototype.setExtent=function(Ie,Fe){var Ue=this._extent;isNaN(Ie)||(Ue[0]=parseFloat(Ie)),isNaN(Fe)||(Ue[1]=parseFloat(Fe))},$e.prototype.unionExtent=function(Ie){var Fe=this._extent;Ie[0]Fe[1]&&(Fe[1]=Ie[1]),this.setExtent(Fe[0],Fe[1])},$e.prototype.getInterval=function(){return this._interval},$e.prototype.setInterval=function(Ie){this._interval=Ie,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(Ie)},$e.prototype.getTicks=function(Ie){var Fe=this._interval,Ue=this._extent,qe=this._niceExtent,At=this._intervalPrecision,Dt=[];if(!Fe)return Dt;var Lt=1e4;Ue[0]Lt)return[];var hn=Dt.length?Dt[Dt.length-1].value:qe[1];return Ue[1]>hn&&(Ie?Dt.push({value:roundNumber(hn+Fe,At)}):Dt.push({value:Ue[1]})),Dt},$e.prototype.getMinorTicks=function(Ie){for(var Fe=this.getTicks(!0),Ue=[],qe=this.getExtent(),At=1;Atqe[0]&&_n0&&(qe=qe===null?Dt:Math.min(qe,Dt))}Ie[Fe]=qe}}return Ie}function makeColumnLayout(xe){var $e=getValueAxesMinGaps(xe),Ie=[];return each$f(xe,function(Fe){var Ue=Fe.coordinateSystem,qe=Ue.getBaseAxis(),At=qe.getExtent(),Dt;if(qe.type==="category")Dt=qe.getBandWidth();else if(qe.type==="value"||qe.type==="time"){var Lt=qe.dim+"_"+qe.index,jt=$e[Lt],hn=Math.abs(At[1]-At[0]),vn=qe.scale.getExtent(),bn=Math.abs(vn[1]-vn[0]);Dt=jt?hn/bn*jt:hn}else{var _n=Fe.getData();Dt=Math.abs(At[1]-At[0])/_n.count()}var wn=parsePercent(Fe.get("barWidth"),Dt),kn=parsePercent(Fe.get("barMaxWidth"),Dt),Cn=parsePercent(Fe.get("barMinWidth")||(isInLargeMode(Fe)?.5:1),Dt),Sn=Fe.get("barGap"),xn=Fe.get("barCategoryGap");Ie.push({bandWidth:Dt,barWidth:wn,barMaxWidth:kn,barMinWidth:Cn,barGap:Sn,barCategoryGap:xn,axisKey:getAxisKey$1(qe),stackId:getSeriesStackId$1(Fe)})}),doCalBarWidthAndOffset(Ie)}function doCalBarWidthAndOffset(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.axisKey,At=Fe.bandWidth,Dt=$e[qe]||{bandWidth:At,remainedWidth:At,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},Lt=Dt.stacks;$e[qe]=Dt;var jt=Fe.stackId;Lt[jt]||Dt.autoWidthCount++,Lt[jt]=Lt[jt]||{width:0,maxWidth:0};var hn=Fe.barWidth;hn&&!Lt[jt].width&&(Lt[jt].width=hn,hn=Math.min(Dt.remainedWidth,hn),Dt.remainedWidth-=hn);var vn=Fe.barMaxWidth;vn&&(Lt[jt].maxWidth=vn);var bn=Fe.barMinWidth;bn&&(Lt[jt].minWidth=bn);var _n=Fe.barGap;_n!=null&&(Dt.gap=_n);var wn=Fe.barCategoryGap;wn!=null&&(Dt.categoryGap=wn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=Fe.categoryGap;if(Dt==null){var Lt=keys(qe).length;Dt=Math.max(35-Lt*4,15)+"%"}var jt=parsePercent(Dt,At),hn=parsePercent(Fe.gap,1),vn=Fe.remainedWidth,bn=Fe.autoWidthCount,_n=(vn-jt)/(bn+(bn-1)*hn);_n=Math.max(_n,0),each$f(qe,function(Sn){var xn=Sn.maxWidth,En=Sn.minWidth;if(Sn.width){var Tn=Sn.width;xn&&(Tn=Math.min(Tn,xn)),En&&(Tn=Math.max(Tn,En)),Sn.width=Tn,vn-=Tn+hn*Tn,bn--}else{var Tn=_n;xn&&xnTn&&(Tn=En),Tn!==_n&&(Sn.width=Tn,vn-=Tn+hn*Tn,bn--)}}),_n=(vn-jt)/(bn+(bn-1)*hn),_n=Math.max(_n,0);var wn=0,kn;each$f(qe,function(Sn,xn){Sn.width||(Sn.width=_n),kn=Sn,wn+=Sn.width*(1+hn)}),kn&&(wn-=kn.width*hn);var Cn=-wn/2;each$f(qe,function(Sn,xn){Ie[Ue][xn]=Ie[Ue][xn]||{bandWidth:At,offset:Cn,width:Sn.width},Cn+=Sn.width*(1+hn)})}),Ie}function retrieveColumnLayout(xe,$e,Ie){if(xe&&$e){var Fe=xe[getAxisKey$1($e)];return Fe!=null&&Ie!=null?Fe[getSeriesStackId$1(Ie)]:Fe}}function layout$3(xe,$e){var Ie=prepareLayoutBarSeries(xe,$e),Fe=makeColumnLayout(Ie);each$f(Ie,function(Ue){var qe=Ue.getData(),At=Ue.coordinateSystem,Dt=At.getBaseAxis(),Lt=getSeriesStackId$1(Ue),jt=Fe[getAxisKey$1(Dt)][Lt],hn=jt.offset,vn=jt.width;qe.setLayout({bandWidth:jt.bandWidth,offset:hn,size:vn})})}function createProgressiveLayout(xe){return{seriesType:xe,plan:createRenderPlanner(),reset:function($e){if(isOnCartesian($e)){var Ie=$e.getData(),Fe=$e.coordinateSystem,Ue=Fe.getBaseAxis(),qe=Fe.getOtherAxis(Ue),At=Ie.getDimensionIndex(Ie.mapDimension(qe.dim)),Dt=Ie.getDimensionIndex(Ie.mapDimension(Ue.dim)),Lt=$e.get("showBackground",!0),jt=Ie.mapDimension(qe.dim),hn=Ie.getCalculationInfo("stackResultDimension"),vn=isDimensionStacked(Ie,jt)&&!!Ie.getCalculationInfo("stackedOnSeries"),bn=qe.isHorizontal(),_n=getValueAxisStart(Ue,qe),wn=isInLargeMode($e),kn=$e.get("barMinHeight")||0,Cn=hn&&Ie.getDimensionIndex(hn),Sn=Ie.getLayout("size"),xn=Ie.getLayout("offset");return{progress:function(En,Tn){for(var An=En.count,$n=wn&&createFloat32Array(An*3),Pn=wn&&Lt&&createFloat32Array(An*3),Nn=wn&&createFloat32Array(An),Mn=Fe.master.getRect(),In=bn?Mn.width:Mn.height,On,Rn=Tn.getStore(),Bn=0;(On=En.next())!=null;){var Vn=Rn.get(vn?Cn:At,On),Ln=Rn.get(Dt,On),Dn=_n,Hn=void 0;vn&&(Hn=+Vn-Rn.get(At,On));var Fn=void 0,zn=void 0,jn=void 0,Gn=void 0;if(bn){var Wn=Fe.dataToPoint([Vn,Ln]);if(vn){var Xn=Fe.dataToPoint([Hn,Ln]);Dn=Xn[0]}Fn=Dn,zn=Wn[1]+xn,jn=Wn[0]-Dn,Gn=Sn,Math.abs(jn)>>1;xe[Ue][1]<$e?Ie=Ue+1:Fe=Ue}return Ie},TimeScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="time",Fe}return $e.prototype.getLabel=function(Ie){var Fe=this.getSetting("useUTC");return format(Ie.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,Fe,this.getSetting("locale"))},$e.prototype.getFormattedLabel=function(Ie,Fe,Ue){var qe=this.getSetting("useUTC"),At=this.getSetting("locale");return leveledFormat(Ie,Fe,Ue,At,qe)},$e.prototype.getTicks=function(){var Ie=this._interval,Fe=this._extent,Ue=[];if(!Ie)return Ue;Ue.push({value:Fe[0],level:0});var qe=this.getSetting("useUTC"),At=getIntervalTicks(this._minLevelUnit,this._approxInterval,qe,Fe);return Ue=Ue.concat(At),Ue.push({value:Fe[1],level:0}),Ue},$e.prototype.calcNiceExtent=function(Ie){var Fe=this._extent;if(Fe[0]===Fe[1]&&(Fe[0]-=ONE_DAY,Fe[1]+=ONE_DAY),Fe[1]===-1/0&&Fe[0]===1/0){var Ue=new Date;Fe[1]=+new Date(Ue.getFullYear(),Ue.getMonth(),Ue.getDate()),Fe[0]=Fe[1]-ONE_DAY}this.calcNiceTicks(Ie.splitNumber,Ie.minInterval,Ie.maxInterval)},$e.prototype.calcNiceTicks=function(Ie,Fe,Ue){Ie=Ie||10;var qe=this._extent,At=qe[1]-qe[0];this._approxInterval=At/Ie,Fe!=null&&this._approxIntervalUe&&(this._approxInterval=Ue);var Dt=scaleIntervals.length,Lt=Math.min(bisect(scaleIntervals,this._approxInterval,0,Dt),Dt-1);this._interval=scaleIntervals[Lt][1],this._minLevelUnit=scaleIntervals[Math.max(Lt-1,0)][0]},$e.prototype.parse=function(Ie){return isNumber(Ie)?Ie:+parseDate(Ie)},$e.prototype.contain=function(Ie){return contain$1(this.parse(Ie),this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(this.parse(Ie),this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.type="time",$e}(IntervalScale),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",ONE_HOUR*6],["half-day",ONE_HOUR*12],["day",ONE_DAY*1.2],["half-week",ONE_DAY*3.5],["week",ONE_DAY*7],["month",ONE_DAY*31],["quarter",ONE_DAY*95],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(xe,$e,Ie,Fe){var Ue=parseDate($e),qe=parseDate(Ie),At=function(wn){return getUnitValue(Ue,wn,Fe)===getUnitValue(qe,wn,Fe)},Dt=function(){return At("year")},Lt=function(){return Dt()&&At("month")},jt=function(){return Lt()&&At("day")},hn=function(){return jt()&&At("hour")},vn=function(){return hn()&&At("minute")},bn=function(){return vn()&&At("second")},_n=function(){return bn()&&At("millisecond")};switch(xe){case"year":return Dt();case"month":return Lt();case"day":return jt();case"hour":return hn();case"minute":return vn();case"second":return bn();case"millisecond":return _n()}}function getDateInterval(xe,$e){return xe/=ONE_DAY,xe>16?16:xe>7.5?7:xe>3.5?4:xe>1.5?2:1}function getMonthInterval(xe){var $e=30*ONE_DAY;return xe/=$e,xe>6?6:xe>3?3:xe>2?2:1}function getHourInterval(xe){return xe/=ONE_HOUR,xe>12?12:xe>6?6:xe>3.5?4:xe>2?2:1}function getMinutesAndSecondsInterval(xe,$e){return xe/=$e?ONE_MINUTE:ONE_SECOND,xe>30?30:xe>20?20:xe>15?15:xe>10?10:xe>5?5:xe>2?2:1}function getMillisecondsInterval(xe){return nice(xe)}function getFirstTimestampOfUnit(xe,$e,Ie){var Fe=new Date(xe);switch(getPrimaryTimeUnit($e)){case"year":case"month":Fe[monthSetterName(Ie)](0);case"day":Fe[dateSetterName(Ie)](1);case"hour":Fe[hoursSetterName(Ie)](0);case"minute":Fe[minutesSetterName(Ie)](0);case"second":Fe[secondsSetterName(Ie)](0),Fe[millisecondsSetterName(Ie)](0)}return Fe.getTime()}function getIntervalTicks(xe,$e,Ie,Fe){var Ue=1e4,qe=timeUnits,At=0;function Dt(In,On,Rn,Bn,Vn,Ln,Dn){for(var Hn=new Date(On),Fn=On,zn=Hn[Bn]();Fn1&&Ln===0&&Rn.unshift({value:Rn[0].value-Fn})}}for(var Ln=0;Ln=Fe[0]&&xn<=Fe[1]&&vn++)}var En=(Fe[1]-Fe[0])/$e;if(vn>En*1.5&&bn>En/1.5||(jt.push(Cn),vn>En||xe===qe[_n]))break}hn=[]}}}for(var Tn=filter(map$1(jt,function(In){return filter(In,function(On){return On.value>=Fe[0]&&On.value<=Fe[1]&&!On.notAdd})}),function(In){return In.length>0}),An=[],$n=Tn.length-1,_n=0;_n0;)qe*=10;var Dt=[round$3(mathCeil$1(Fe[0]/qe)*qe),round$3(mathFloor$1(Fe[1]/qe)*qe)];this._interval=qe,this._niceExtent=Dt}},$e.prototype.calcNiceExtent=function(Ie){intervalScaleProto.calcNiceExtent.call(this,Ie),this._fixMin=Ie.fixMin,this._fixMax=Ie.fixMax},$e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=scale(Ie,this._extent),mathPow$1(this.base,Ie)},$e.type="log",$e}(Scale),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(xe,$e){return roundingErrorFix(xe,getPrecision($e))}Scale.registerClass(LogScale);var ScaleRawExtentInfo=function(){function xe($e,Ie,Fe){this._prepareParams($e,Ie,Fe)}return xe.prototype._prepareParams=function($e,Ie,Fe){Fe[1]0&&Lt>0&&!jt&&(Dt=0),Dt<0&&Lt<0&&!hn&&(Lt=0));var bn=this._determinedMin,_n=this._determinedMax;return bn!=null&&(Dt=bn,jt=!0),_n!=null&&(Lt=_n,hn=!0),{min:Dt,max:Lt,minFixed:jt,maxFixed:hn,isBlank:vn}},xe.prototype.modifyDataMinMax=function($e,Ie){this[DATA_MIN_MAX_ATTR[$e]]=Ie},xe.prototype.setDeterminedMinMax=function($e,Ie){var Fe=DETERMINED_MIN_MAX_ATTR[$e];this[Fe]=Ie},xe.prototype.freeze=function(){this.frozen=!0},xe}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(xe,$e,Ie){var Fe=xe.rawExtentInfo;return Fe||(Fe=new ScaleRawExtentInfo(xe,$e,Ie),xe.rawExtentInfo=Fe,Fe)}function parseAxisModelMinMax(xe,$e){return $e==null?null:eqNaN($e)?NaN:xe.parse($e)}function getScaleExtent(xe,$e){var Ie=xe.type,Fe=ensureScaleRawExtentInfo(xe,$e,xe.getExtent()).calculate();xe.setBlank(Fe.isBlank);var Ue=Fe.min,qe=Fe.max,At=$e.ecModel;if(At&&Ie==="time"){var Dt=prepareLayoutBarSeries("bar",At),Lt=!1;if(each$f(Dt,function(vn){Lt=Lt||vn.getBaseAxis()===$e.axis}),Lt){var jt=makeColumnLayout(Dt),hn=adjustScaleForOverflow(Ue,qe,$e,jt);Ue=hn.min,qe=hn.max}}return{extent:[Ue,qe],fixMin:Fe.minFixed,fixMax:Fe.maxFixed}}function adjustScaleForOverflow(xe,$e,Ie,Fe){var Ue=Ie.axis.getExtent(),qe=Ue[1]-Ue[0],At=retrieveColumnLayout(Fe,Ie.axis);if(At===void 0)return{min:xe,max:$e};var Dt=1/0;each$f(At,function(_n){Dt=Math.min(_n.offset,Dt)});var Lt=-1/0;each$f(At,function(_n){Lt=Math.max(_n.offset+_n.width,Lt)}),Dt=Math.abs(Dt),Lt=Math.abs(Lt);var jt=Dt+Lt,hn=$e-xe,vn=1-(Dt+Lt)/qe,bn=hn/vn-hn;return $e+=bn*(Lt/jt),xe-=bn*(Dt/jt),{min:xe,max:$e}}function niceScaleExtent(xe,$e){var Ie=$e,Fe=getScaleExtent(xe,Ie),Ue=Fe.extent,qe=Ie.get("splitNumber");xe instanceof LogScale&&(xe.base=Ie.get("logBase"));var At=xe.type,Dt=Ie.get("interval"),Lt=At==="interval"||At==="time";xe.setExtent(Ue[0],Ue[1]),xe.calcNiceExtent({splitNumber:qe,fixMin:Fe.fixMin,fixMax:Fe.fixMax,minInterval:Lt?Ie.get("minInterval"):null,maxInterval:Lt?Ie.get("maxInterval"):null}),Dt!=null&&xe.setInterval&&xe.setInterval(Dt)}function createScaleByModel$1(xe,$e){if($e=$e||xe.get("type"),$e)switch($e){case"category":return new OrdinalScale({ordinalMeta:xe.getOrdinalMeta?xe.getOrdinalMeta():xe.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale({locale:xe.ecModel.getLocaleModel(),useUTC:xe.ecModel.get("useUTC")});default:return new(Scale.getClass($e)||IntervalScale)}}function ifAxisCrossZero(xe){var $e=xe.scale.getExtent(),Ie=$e[0],Fe=$e[1];return!(Ie>0&&Fe>0||Ie<0&&Fe<0)}function makeLabelFormatter(xe){var $e=xe.getLabelModel().get("formatter"),Ie=xe.type==="category"?xe.scale.getExtent()[0]:null;return xe.scale.type==="time"?function(Fe){return function(Ue,qe){return xe.scale.getFormattedLabel(Ue,qe,Fe)}}($e):isString($e)?function(Fe){return function(Ue){var qe=xe.scale.getLabel(Ue),At=Fe.replace("{value}",qe??"");return At}}($e):isFunction($e)?function(Fe){return function(Ue,qe){return Ie!=null&&(qe=Ue.value-Ie),Fe(getAxisRawValue(xe,Ue),qe,Ue.level!=null?{level:Ue.level}:null)}}($e):function(Fe){return xe.scale.getLabel(Fe)}}function getAxisRawValue(xe,$e){return xe.type==="category"?xe.scale.getLabel($e):$e.value}function estimateLabelUnionRect(xe){var $e=xe.model,Ie=xe.scale;if(!(!$e.get(["axisLabel","show"])||Ie.isBlank())){var Fe,Ue,qe=Ie.getExtent();Ie instanceof OrdinalScale?Ue=Ie.count():(Fe=Ie.getTicks(),Ue=Fe.length);var At=xe.getLabelModel(),Dt=makeLabelFormatter(xe),Lt,jt=1;Ue>40&&(jt=Math.ceil(Ue/40));for(var hn=0;hnxe[1]&&(xe[1]=Ue[1])})}var AxisModelCommonMixin=function(){function xe(){}return xe.prototype.getNeedCrossZero=function(){var $e=this.option;return!$e.scale},xe.prototype.getCoordSysModel=function(){},xe}(),EPSILON=1e-8;function isAroundEqual(xe,$e){return Math.abs(xe-$e)Ue&&(Fe=At,Ue=Lt)}if(Fe)return centroid$1(Fe.exterior);var jt=this.getBoundingRect();return[jt.x+jt.width/2,jt.y+jt.height/2]},$e.prototype.getBoundingRect=function(Ie){var Fe=this._rect;if(Fe&&!Ie)return Fe;var Ue=[1/0,1/0],qe=[-1/0,-1/0],At=this.geometries;return each$f(At,function(Dt){Dt.type==="polygon"?updateBBoxFromPoints(Dt.exterior,Ue,qe,Ie):each$f(Dt.points,function(Lt){updateBBoxFromPoints(Lt,Ue,qe,Ie)})}),isFinite(Ue[0])&&isFinite(Ue[1])&&isFinite(qe[0])&&isFinite(qe[1])||(Ue[0]=Ue[1]=qe[0]=qe[1]=0),Fe=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]),Ie||(this._rect=Fe),Fe},$e.prototype.contain=function(Ie){var Fe=this.getBoundingRect(),Ue=this.geometries;if(!Fe.contain(Ie[0],Ie[1]))return!1;e:for(var qe=0,At=Ue.length;qe>1^-(Dt&1),Lt=Lt>>1^-(Lt&1),Dt+=Ue,Lt+=qe,Ue=Dt,qe=Lt,Fe.push([Dt/Ie,Lt/Ie])}return Fe}function parseGeoJSON(xe,$e){return xe=decode(xe),map$1(filter(xe.features,function(Ie){return Ie.geometry&&Ie.properties&&Ie.geometry.coordinates.length>0}),function(Ie){var Fe=Ie.properties,Ue=Ie.geometry,qe=[];switch(Ue.type){case"Polygon":var At=Ue.coordinates;qe.push(new GeoJSONPolygonGeometry(At[0],At.slice(1)));break;case"MultiPolygon":each$f(Ue.coordinates,function(Lt){Lt[0]&&qe.push(new GeoJSONPolygonGeometry(Lt[0],Lt.slice(1)))});break;case"LineString":qe.push(new GeoJSONLineStringGeometry([Ue.coordinates]));break;case"MultiLineString":qe.push(new GeoJSONLineStringGeometry(Ue.coordinates))}var Dt=new GeoJSONRegion(Fe[$e||"name"],qe,Fe.cp);return Dt.properties=Fe,Dt})}var inner$g=makeInner();function createAxisLabels(xe){return xe.type==="category"?makeCategoryLabels(xe):makeRealNumberLabels(xe)}function createAxisTicks(xe,$e){return xe.type==="category"?makeCategoryTicks(xe,$e):{ticks:map$1(xe.scale.getTicks(),function(Ie){return Ie.value})}}function makeCategoryLabels(xe){var $e=xe.getLabelModel(),Ie=makeCategoryLabelsActually(xe,$e);return!$e.get("show")||xe.scale.isBlank()?{labels:[],labelCategoryInterval:Ie.labelCategoryInterval}:Ie}function makeCategoryLabelsActually(xe,$e){var Ie=getListCache(xe,"labels"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;return isFunction(Fe)?qe=makeLabelsByCustomizedCategoryInterval(xe,Fe):(At=Fe==="auto"?makeAutoCategoryInterval(xe):Fe,qe=makeLabelsByNumericCategoryInterval(xe,At)),listCacheSet(Ie,Fe,{labels:qe,labelCategoryInterval:At})}function makeCategoryTicks(xe,$e){var Ie=getListCache(xe,"ticks"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;if((!$e.get("show")||xe.scale.isBlank())&&(qe=[]),isFunction(Fe))qe=makeLabelsByCustomizedCategoryInterval(xe,Fe,!0);else if(Fe==="auto"){var Dt=makeCategoryLabelsActually(xe,xe.getLabelModel());At=Dt.labelCategoryInterval,qe=map$1(Dt.labels,function(Lt){return Lt.tickValue})}else At=Fe,qe=makeLabelsByNumericCategoryInterval(xe,At,!0);return listCacheSet(Ie,Fe,{ticks:qe,tickCategoryInterval:At})}function makeRealNumberLabels(xe){var $e=xe.scale.getTicks(),Ie=makeLabelFormatter(xe);return{labels:map$1($e,function(Fe,Ue){return{level:Fe.level,formattedLabel:Ie(Fe,Ue),rawLabel:xe.scale.getLabel(Fe),tickValue:Fe.value}})}}function getListCache(xe,$e){return inner$g(xe)[$e]||(inner$g(xe)[$e]=[])}function listCacheGet(xe,$e){for(var Ie=0;Ie40&&(Dt=Math.max(1,Math.floor(At/40)));for(var Lt=qe[0],jt=xe.dataToCoord(Lt+1)-xe.dataToCoord(Lt),hn=Math.abs(jt*Math.cos(Fe)),vn=Math.abs(jt*Math.sin(Fe)),bn=0,_n=0;Lt<=qe[1];Lt+=Dt){var wn=0,kn=0,Cn=getBoundingRect(Ie({value:Lt}),$e.font,"center","top");wn=Cn.width*1.3,kn=Cn.height*1.3,bn=Math.max(bn,wn,7),_n=Math.max(_n,kn,7)}var Sn=bn/hn,xn=_n/vn;isNaN(Sn)&&(Sn=1/0),isNaN(xn)&&(xn=1/0);var En=Math.max(0,Math.floor(Math.min(Sn,xn))),Tn=inner$g(xe.model),An=xe.getExtent(),$n=Tn.lastAutoInterval,Pn=Tn.lastTickCount;return $n!=null&&Pn!=null&&Math.abs($n-En)<=1&&Math.abs(Pn-At)<=1&&$n>En&&Tn.axisExtent0===An[0]&&Tn.axisExtent1===An[1]?En=$n:(Tn.lastTickCount=At,Tn.lastAutoInterval=En,Tn.axisExtent0=An[0],Tn.axisExtent1=An[1]),En}function fetchAutoCategoryIntervalCalculationParams(xe){var $e=xe.getLabelModel();return{axisRotate:xe.getRotate?xe.getRotate():xe.isHorizontal&&!xe.isHorizontal()?90:0,labelRotate:$e.get("rotate")||0,font:$e.getFont()}}function makeLabelsByNumericCategoryInterval(xe,$e,Ie){var Fe=makeLabelFormatter(xe),Ue=xe.scale,qe=Ue.getExtent(),At=xe.getLabelModel(),Dt=[],Lt=Math.max(($e||0)+1,1),jt=qe[0],hn=Ue.count();jt!==0&&Lt>1&&hn/Lt>2&&(jt=Math.round(Math.ceil(jt/Lt)*Lt));var vn=shouldShowAllLabels(xe),bn=At.get("showMinLabel")||vn,_n=At.get("showMaxLabel")||vn;bn&&jt!==qe[0]&&kn(qe[0]);for(var wn=jt;wn<=qe[1];wn+=Lt)kn(wn);_n&&wn-Lt!==qe[1]&&kn(qe[1]);function kn(Cn){var Sn={value:Cn};Dt.push(Ie?Cn:{formattedLabel:Fe(Sn),rawLabel:Ue.getLabel(Sn),tickValue:Cn})}return Dt}function makeLabelsByCustomizedCategoryInterval(xe,$e,Ie){var Fe=xe.scale,Ue=makeLabelFormatter(xe),qe=[];return each$f(Fe.getTicks(),function(At){var Dt=Fe.getLabel(At),Lt=At.value;$e(At.value,Dt)&&qe.push(Ie?Lt:{formattedLabel:Ue(At),rawLabel:Dt,tickValue:Lt})}),qe}var NORMALIZED_EXTENT=[0,1],Axis=function(){function xe($e,Ie,Fe){this.onBand=!1,this.inverse=!1,this.dim=$e,this.scale=Ie,this._extent=Fe||[0,0]}return xe.prototype.contain=function($e){var Ie=this._extent,Fe=Math.min(Ie[0],Ie[1]),Ue=Math.max(Ie[0],Ie[1]);return $e>=Fe&&$e<=Ue},xe.prototype.containData=function($e){return this.scale.contain($e)},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.getPixelPrecision=function($e){return getPixelPrecision($e||this.scale.getExtent(),this._extent)},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;Fe[0]=$e,Fe[1]=Ie},xe.prototype.dataToCoord=function($e,Ie){var Fe=this._extent,Ue=this.scale;return $e=Ue.normalize($e),this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count())),linearMap$2($e,NORMALIZED_EXTENT,Fe,Ie)},xe.prototype.coordToData=function($e,Ie){var Fe=this._extent,Ue=this.scale;this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count()));var qe=linearMap$2($e,Fe,NORMALIZED_EXTENT,Ie);return this.scale.scale(qe)},xe.prototype.pointToData=function($e,Ie){},xe.prototype.getTicksCoords=function($e){$e=$e||{};var Ie=$e.tickModel||this.getTickModel(),Fe=createAxisTicks(this,Ie),Ue=Fe.ticks,qe=map$1(Ue,function(Dt){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(Dt):Dt),tickValue:Dt}},this),At=Ie.get("alignWithLabel");return fixOnBandTicksCoords(this,qe,At,$e.clamp),qe},xe.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var $e=this.model.getModel("minorTick"),Ie=$e.get("splitNumber");Ie>0&&Ie<100||(Ie=5);var Fe=this.scale.getMinorTicks(Ie),Ue=map$1(Fe,function(qe){return map$1(qe,function(At){return{coord:this.dataToCoord(At),tickValue:At}},this)},this);return Ue},xe.prototype.getViewLabels=function(){return createAxisLabels(this).labels},xe.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},xe.prototype.getTickModel=function(){return this.model.getModel("axisTick")},xe.prototype.getBandWidth=function(){var $e=this._extent,Ie=this.scale.getExtent(),Fe=Ie[1]-Ie[0]+(this.onBand?1:0);Fe===0&&(Fe=1);var Ue=Math.abs($e[1]-$e[0]);return Math.abs(Ue)/Fe},xe.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},xe}();function fixExtentWithBands(xe,$e){var Ie=xe[1]-xe[0],Fe=$e,Ue=Ie/Fe/2;xe[0]+=Ue,xe[1]-=Ue}function fixOnBandTicksCoords(xe,$e,Ie,Fe){var Ue=$e.length;if(!xe.onBand||Ie||!Ue)return;var qe=xe.getExtent(),At,Dt;if(Ue===1)$e[0].coord=qe[0],At=$e[1]={coord:qe[1]};else{var Lt=$e[Ue-1].tickValue-$e[0].tickValue,jt=($e[Ue-1].coord-$e[0].coord)/Lt;each$f($e,function(_n){_n.coord-=jt/2});var hn=xe.scale.getExtent();Dt=1+hn[1]-$e[Ue-1].tickValue,At={coord:$e[Ue-1].coord+jt*Dt},$e.push(At)}var vn=qe[0]>qe[1];bn($e[0].coord,qe[0])&&(Fe?$e[0].coord=qe[0]:$e.shift()),Fe&&bn(qe[0],$e[0].coord)&&$e.unshift({coord:qe[0]}),bn(qe[1],At.coord)&&(Fe?At.coord=qe[1]:$e.pop()),Fe&&bn(At.coord,qe[1])&&$e.push({coord:qe[1]});function bn(_n,wn){return _n=round$3(_n),wn=round$3(wn),vn?_n>wn:_nUe&&(Ue+=PI2$2);var _n=Math.atan2(Dt,At);if(_n<0&&(_n+=PI2$2),_n>=Fe&&_n<=Ue||_n+PI2$2>=Fe&&_n+PI2$2<=Ue)return Lt[0]=hn,Lt[1]=vn,jt-Ie;var wn=Ie*Math.cos(Fe)+xe,kn=Ie*Math.sin(Fe)+$e,Cn=Ie*Math.cos(Ue)+xe,Sn=Ie*Math.sin(Ue)+$e,xn=(wn-At)*(wn-At)+(kn-Dt)*(kn-Dt),En=(Cn-At)*(Cn-At)+(Sn-Dt)*(Sn-Dt);return xn0){$e=$e/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt0,pt1),Point.sub(dir2,pt2,pt1);var Ie=dir.len(),Fe=dir2.len();if(!(Ie<.001||Fe<.001)){dir.scale(1/Ie),dir2.scale(1/Fe);var Ue=dir.dot(dir2),qe=Math.cos($e);if(qe1&&Point.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(xe[1])}}}}function limitSurfaceAngle(xe,$e,Ie){if(Ie<=180&&Ie>0){Ie=Ie/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt1,pt0),Point.sub(dir2,pt2,pt1);var Fe=dir.len(),Ue=dir2.len();if(!(Fe<.001||Ue<.001)){dir.scale(1/Fe),dir2.scale(1/Ue);var qe=dir.dot($e),At=Math.cos(Ie);if(qe=Lt)Point.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,Dt/Math.tan(Math.PI/2-hn));var vn=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(vn))return;vn<0?Point.copy(tmpProjPoint,pt1):vn>1&&Point.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(xe[1])}}}}function setLabelLineState(xe,$e,Ie,Fe){var Ue=Ie==="normal",qe=Ue?xe:xe.ensureState(Ie);qe.ignore=$e;var At=Fe.get("smooth");At&&At===!0&&(At=.3),qe.shape=qe.shape||{},At>0&&(qe.shape.smooth=At);var Dt=Fe.getModel("lineStyle").getLineStyle();Ue?xe.useStyle(Dt):qe.style=Dt}function buildLabelLinePath(xe,$e){var Ie=$e.smooth,Fe=$e.points;if(Fe)if(xe.moveTo(Fe[0][0],Fe[0][1]),Ie>0&&Fe.length>=3){var Ue=dist$1(Fe[0],Fe[1]),qe=dist$1(Fe[1],Fe[2]);if(!Ue||!qe){xe.lineTo(Fe[1][0],Fe[1][1]),xe.lineTo(Fe[2][0],Fe[2][1]);return}var At=Math.min(Ue,qe)*Ie,Dt=lerp$1([],Fe[1],Fe[0],At/Ue),Lt=lerp$1([],Fe[1],Fe[2],At/qe),jt=lerp$1([],Dt,Lt,.5);xe.bezierCurveTo(Dt[0],Dt[1],Dt[0],Dt[1],jt[0],jt[1]),xe.bezierCurveTo(Lt[0],Lt[1],Lt[0],Lt[1],Fe[2][0],Fe[2][1])}else for(var hn=1;hn0&&qe&&An(-hn/At,0,At);var kn=xe[0],Cn=xe[At-1],Sn,xn;En(),Sn<0&&$n(-Sn,.8),xn<0&&$n(xn,.8),En(),Tn(Sn,xn,1),Tn(xn,Sn,-1),En(),Sn<0&&Pn(-Sn),xn<0&&Pn(xn);function En(){Sn=kn.rect[$e]-Fe,xn=Ue-Cn.rect[$e]-Cn.rect[Ie]}function Tn(Nn,Mn,In){if(Nn<0){var On=Math.min(Mn,-Nn);if(On>0){An(On*In,0,At);var Rn=On+Nn;Rn<0&&$n(-Rn*In,1)}else $n(-Nn*In,1)}}function An(Nn,Mn,In){Nn!==0&&(jt=!0);for(var On=Mn;On0)for(var Rn=0;Rn0;Rn--){var Dn=In[Rn-1]*Ln;An(-Dn,Rn,At)}}}function Pn(Nn){var Mn=Nn<0?-1:1;Nn=Math.abs(Nn);for(var In=Math.ceil(Nn/(At-1)),On=0;On0?An(In,0,On+1):An(-In,At-On-1,At),Nn-=In,Nn<=0)return}return jt}function shiftLayoutOnX(xe,$e,Ie,Fe){return shiftLayout(xe,"x","width",$e,Ie,Fe)}function shiftLayoutOnY(xe,$e,Ie,Fe){return shiftLayout(xe,"y","height",$e,Ie,Fe)}function hideOverlap(xe){var $e=[];xe.sort(function(kn,Cn){return Cn.priority-kn.priority});var Ie=new BoundingRect(0,0,0,0);function Fe(kn){if(!kn.ignore){var Cn=kn.ensureState("emphasis");Cn.ignore==null&&(Cn.ignore=!1)}kn.ignore=!0}for(var Ue=0;Ue=0&&Fe.attr(qe.oldLayoutSelect),indexOf(bn,"emphasis")>=0&&Fe.attr(qe.oldLayoutEmphasis)),updateProps$1(Fe,jt,Ie,Lt)}else if(Fe.attr(jt),!labelInner(Fe).valueAnimation){var vn=retrieve2(Fe.style.opacity,1);Fe.style.opacity=0,initProps(Fe,{style:{opacity:vn}},Ie,Lt)}if(qe.oldLayout=jt,Fe.states.select){var _n=qe.oldLayoutSelect={};extendWithKeys(_n,jt,LABEL_LAYOUT_PROPS),extendWithKeys(_n,Fe.states.select,LABEL_LAYOUT_PROPS)}if(Fe.states.emphasis){var wn=qe.oldLayoutEmphasis={};extendWithKeys(wn,jt,LABEL_LAYOUT_PROPS),extendWithKeys(wn,Fe.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(Fe,Lt,hn,Ie,Ie)}if(Ue&&!Ue.ignore&&!Ue.invisible){var qe=labelLineAnimationStore(Ue),At=qe.oldLayout,kn={points:Ue.shape.points};At?(Ue.attr({shape:At}),updateProps$1(Ue,{shape:kn},Ie)):(Ue.setShape(kn),Ue.style.strokePercent=0,initProps(Ue,{style:{strokePercent:1}},Ie)),qe.oldLayout=kn}},xe}(),getLabelManager=makeInner();function installLabelLayout(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Ue||(Ue=getLabelManager(Ie).labelManager=new LabelManager),Ue.clearLabels()}),xe.registerUpdateLifecycle("series:layoutlabels",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Fe.updatedSeries.forEach(function(qe){Ue.addLabelsOfSeries(Ie.getViewOfSeriesModel(qe))}),Ue.updateLayoutConfig(Ie),Ue.layout(Ie),Ue.processLabelsOverall()})}var mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=Math.PI*2,degree=180/PI$4,SVGPathRebuilder=function(){function xe(){}return xe.prototype.reset=function($e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,$e||4)},xe.prototype.moveTo=function($e,Ie){this._add("M",$e,Ie)},xe.prototype.lineTo=function($e,Ie){this._add("L",$e,Ie)},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){this._add("C",$e,Ie,Fe,Ue,qe,At)},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){this._add("Q",$e,Ie,Fe,Ue)},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this.ellipse($e,Ie,Fe,Fe,0,Ue,qe,At)},xe.prototype.ellipse=function($e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Dt-At,hn=!Lt,vn=Math.abs(jt),bn=isAroundZero(vn-PI2$1)||(hn?jt>=PI2$1:-jt>=PI2$1),_n=jt>0?jt%PI2$1:jt%PI2$1+PI2$1,wn=!1;bn?wn=!0:isAroundZero(vn)?wn=!1:wn=_n>=PI$4==!!hn;var kn=$e+Fe*mathCos(At),Cn=Ie+Ue*mathSin(At);this._start&&this._add("M",kn,Cn);var Sn=Math.round(qe*degree);if(bn){var xn=1/this._p,En=(hn?1:-1)*(PI2$1-xn);this._add("A",Fe,Ue,Sn,1,+hn,$e+Fe*mathCos(At+En),Ie+Ue*mathSin(At+En)),xn>.01&&this._add("A",Fe,Ue,Sn,0,+hn,kn,Cn)}else{var Tn=$e+Fe*mathCos(Dt),An=Ie+Ue*mathSin(Dt);this._add("A",Fe,Ue,Sn,+wn,+hn,Tn,An)}},xe.prototype.rect=function($e,Ie,Fe,Ue){this._add("M",$e,Ie),this._add("l",Fe,0),this._add("l",0,Ue),this._add("l",-Fe,0),this._add("Z")},xe.prototype.closePath=function(){this._d.length>0&&this._add("Z")},xe.prototype._add=function($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){for(var hn=[],vn=this._p,bn=1;bn"}function createElementClose(xe){return""}function vNodeToString(xe,$e){$e=$e||{};var Ie=$e.newline?` +`];function createTooltipMarkup(xe,$e){return $e.type=xe,$e}function isSectionFragment(xe){return xe.type==="section"}function getBuilder(xe){return isSectionFragment(xe)?buildSection:buildNameValue}function getBlockGapLevel(xe){if(isSectionFragment(xe)){var $e=0,Ie=xe.blocks.length,Fe=Ie>1||Ie>0&&!xe.noHeader;return each$f(xe.blocks,function(Ue){var qe=getBlockGapLevel(Ue);qe>=$e&&($e=qe+ +(Fe&&(!qe||isSectionFragment(Ue)&&!Ue.noHeader)))}),$e}return 0}function buildSection(xe,$e,Ie,Fe){var Ue=$e.noHeader,qe=getGap(getBlockGapLevel($e)),At=[],Dt=$e.blocks||[];assert(!Dt||isArray$1(Dt)),Dt=Dt||[];var Lt=xe.orderMode;if($e.sortBlocks&&Lt){Dt=Dt.slice();var jt={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(jt,Lt)){var hn=new SortOrderComparator(jt[Lt],null);Dt.sort(function(wn,kn){return hn.evaluate(wn.sortParam,kn.sortParam)})}else Lt==="seriesDesc"&&Dt.reverse()}each$f(Dt,function(wn,kn){var Cn=$e.valueFormatter,Sn=getBuilder(wn)(Cn?extend(extend({},xe),{valueFormatter:Cn}):xe,wn,kn>0?qe.html:0,Fe);Sn!=null&&At.push(Sn)});var vn=xe.renderMode==="richText"?At.join(qe.richText):wrapBlockHTML(At.join(""),Ue?Ie:qe.html);if(Ue)return vn;var bn=makeValueReadable($e.header,"ordinal",xe.useUTC),_n=getTooltipTextStyle(Fe,xe.renderMode).nameStyle;return xe.renderMode==="richText"?wrapInlineNameRichText(xe,bn,_n)+qe.richText+vn:wrapBlockHTML('
    '+encodeHTML(bn)+"
    "+vn,Ie)}function buildNameValue(xe,$e,Ie,Fe){var Ue=xe.renderMode,qe=$e.noName,At=$e.noValue,Dt=!$e.markerType,Lt=$e.name,jt=xe.useUTC,hn=$e.valueFormatter||xe.valueFormatter||function(Tn){return Tn=isArray$1(Tn)?Tn:[Tn],map$1(Tn,function(An,$n){return makeValueReadable(An,isArray$1(_n)?_n[$n]:_n,jt)})};if(!(qe&&At)){var vn=Dt?"":xe.markupStyleCreator.makeTooltipMarker($e.markerType,$e.markerColor||"#333",Ue),bn=qe?"":makeValueReadable(Lt,"ordinal",jt),_n=$e.valueType,wn=At?[]:hn($e.value,$e.dataIndex),kn=!Dt||!qe,Cn=!Dt&&qe,Sn=getTooltipTextStyle(Fe,Ue),xn=Sn.nameStyle,En=Sn.valueStyle;return Ue==="richText"?(Dt?"":vn)+(qe?"":wrapInlineNameRichText(xe,bn,xn))+(At?"":wrapInlineValueRichText(xe,wn,kn,Cn,En)):wrapBlockHTML((Dt?"":vn)+(qe?"":wrapInlineNameHTML(bn,!Dt,xn))+(At?"":wrapInlineValueHTML(wn,kn,Cn,En)),Ie)}}function buildTooltipMarkup(xe,$e,Ie,Fe,Ue,qe){if(xe){var At=getBuilder(xe),Dt={useUTC:Ue,renderMode:Ie,orderMode:Fe,markupStyleCreator:$e,valueFormatter:xe.valueFormatter};return At(Dt,xe,0,qe)}}function getGap(xe){return{html:HTML_GAPS[xe],richText:RICH_TEXT_GAPS[xe]}}function wrapBlockHTML(xe,$e){var Ie='
    ',Fe="margin: "+$e+"px 0 0";return'
    '+xe+Ie+"
    "}function wrapInlineNameHTML(xe,$e,Ie){var Fe=$e?"margin-left:2px":"";return''+encodeHTML(xe)+""}function wrapInlineValueHTML(xe,$e,Ie,Fe){var Ue=Ie?"10px":"20px",qe=$e?"float:right;margin-left:"+Ue:"";return xe=isArray$1(xe)?xe:[xe],''+map$1(xe,function(At){return encodeHTML(At)}).join("  ")+""}function wrapInlineNameRichText(xe,$e,Ie){return xe.markupStyleCreator.wrapRichTextStyle($e,Ie)}function wrapInlineValueRichText(xe,$e,Ie,Fe,Ue){var qe=[Ue],At=Fe?10:20;return Ie&&qe.push({padding:[0,0,0,At],align:"right"}),xe.markupStyleCreator.wrapRichTextStyle(isArray$1($e)?$e.join(" "):$e,qe)}function retrieveVisualColorForTooltipMarker(xe,$e){var Ie=xe.getData().getItemVisual($e,"style"),Fe=Ie[xe.visualDrawType];return convertToColorString(Fe)}function getPaddingFromTooltipModel(xe,$e){var Ie=xe.get("padding");return Ie??($e==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function xe(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return xe.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},xe.prototype.makeTooltipMarker=function($e,Ie,Fe){var Ue=Fe==="richText"?this._generateStyleName():null,qe=getTooltipMarker({color:Ie,type:$e,renderMode:Fe,markerId:Ue});return isString(qe)?qe:(this.richTextStyles[Ue]=qe.style,qe.content)},xe.prototype.wrapRichTextStyle=function($e,Ie){var Fe={};isArray$1(Ie)?each$f(Ie,function(qe){return extend(Fe,qe)}):extend(Fe,Ie);var Ue=this._generateStyleName();return this.richTextStyles[Ue]=Fe,"{"+Ue+"|"+$e+"}"},xe}();function defaultSeriesFormatTooltip(xe){var $e=xe.series,Ie=xe.dataIndex,Fe=xe.multipleSeries,Ue=$e.getData(),qe=Ue.mapDimensionsAll("defaultedTooltip"),At=qe.length,Dt=$e.getRawValue(Ie),Lt=isArray$1(Dt),jt=retrieveVisualColorForTooltipMarker($e,Ie),hn,vn,bn,_n;if(At>1||Lt&&!At){var wn=formatTooltipArrayValue(Dt,$e,Ie,qe,jt);hn=wn.inlineValues,vn=wn.inlineValueTypes,bn=wn.blocks,_n=wn.inlineValues[0]}else if(At){var kn=Ue.getDimensionInfo(qe[0]);_n=hn=retrieveRawValue(Ue,Ie,qe[0]),vn=kn.type}else _n=hn=Lt?Dt[0]:Dt;var Cn=isNameSpecified($e),Sn=Cn&&$e.name||"",xn=Ue.getName(Ie),En=Fe?Sn:xn;return createTooltipMarkup("section",{header:Sn,noHeader:Fe||!Cn,sortParam:_n,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:jt,name:En,noName:!trim$1(En),value:hn,valueType:vn,dataIndex:Ie})].concat(bn||[])})}function formatTooltipArrayValue(xe,$e,Ie,Fe,Ue){var qe=$e.getData(),At=reduce(xe,function(vn,bn,_n){var wn=qe.getDimensionInfo(_n);return vn=vn||wn&&wn.tooltip!==!1&&wn.displayName!=null},!1),Dt=[],Lt=[],jt=[];Fe.length?each$f(Fe,function(vn){hn(retrieveRawValue(qe,Ie,vn),vn)}):each$f(xe,hn);function hn(vn,bn){var _n=qe.getDimensionInfo(bn);!_n||_n.otherDims.tooltip===!1||(At?jt.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:Ue,name:_n.displayName,value:vn,valueType:_n.type})):(Dt.push(vn),Lt.push(_n.type)))}return{inlineValues:Dt,inlineValueTypes:Lt,blocks:jt}}var inner$k=makeInner();function getSelectionKey(xe,$e){return xe.getName($e)||xe.getId($e)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie._selectedDataIndicesMap={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(Ie,Ue);var qe=inner$k(this).sourceManager=new SourceManager(this);qe.prepareSource();var At=this.getInitialData(Ie,Ue);wrapData(At,this),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.mergeDefaultAndTheme=function(Ie,Fe){var Ue=fetchLayoutMode(this),qe=Ue?getLayoutParams(Ie):{},At=this.subType;ComponentModel.hasClass(At)&&(At+="Series"),merge(Ie,Fe.getTheme().get(this.subType)),merge(Ie,this.getDefaultOption()),defaultEmphasis(Ie,"label",["show"]),this.fillDataTextStyle(Ie.data),Ue&&mergeLayoutParam(Ie,qe,Ue)},$e.prototype.mergeOption=function(Ie,Fe){Ie=merge(this.option,Ie,!0),this.fillDataTextStyle(Ie.data);var Ue=fetchLayoutMode(this);Ue&&mergeLayoutParam(this.option,Ie,Ue);var qe=inner$k(this).sourceManager;qe.dirty(),qe.prepareSource();var At=this.getInitialData(Ie,Fe);wrapData(At,this),this.dataTask.dirty(),this.dataTask.context.data=At,inner$k(this).dataBeforeProcessed=At,autoSeriesName(this),this._initSelectedMapFromData(At)},$e.prototype.fillDataTextStyle=function(Ie){if(Ie&&!isTypedArray(Ie))for(var Fe=["show"],Ue=0;Uethis.getShallow("animationThreshold")&&(Fe=!1),!!Fe},$e.prototype.restoreData=function(){this.dataTask.dirty()},$e.prototype.getColorFromPalette=function(Ie,Fe,Ue){var qe=this.ecModel,At=PaletteMixin.prototype.getColorFromPalette.call(this,Ie,Fe,Ue);return At||(At=qe.getColorFromPalette(Ie,Fe,Ue)),At},$e.prototype.coordDimToDataDim=function(Ie){return this.getRawData().mapDimensionsAll(Ie)},$e.prototype.getProgressive=function(){return this.get("progressive")},$e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},$e.prototype.select=function(Ie,Fe){this._innerSelect(this.getData(Fe),Ie)},$e.prototype.unselect=function(Ie,Fe){var Ue=this.option.selectedMap;if(Ue){var qe=this.option.selectedMode,At=this.getData(Fe);if(qe==="series"||Ue==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var Dt=0;Dt=0&&Ue.push(At)}return Ue},$e.prototype.isSelected=function(Ie,Fe){var Ue=this.option.selectedMap;if(!Ue)return!1;var qe=this.getData(Fe);return(Ue==="all"||Ue[getSelectionKey(qe,Ie)])&&!qe.getItemModel(Ie).get(["select","disabled"])},$e.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var Ie=this.option.universalTransition;return Ie?Ie===!0?!0:Ie&&Ie.enabled:!1},$e.prototype._innerSelect=function(Ie,Fe){var Ue,qe,At=this.option,Dt=At.selectedMode,Lt=Fe.length;if(!(!Dt||!Lt)){if(Dt==="series")At.selectedMap="all";else if(Dt==="multiple"){isObject$3(At.selectedMap)||(At.selectedMap={});for(var jt=At.selectedMap,hn=0;hn0&&this._innerSelect(Ie,Fe)}},$e.registerClass=function(Ie){return ComponentModel.registerClass(Ie)},$e.protoInitialize=function(){var Ie=$e.prototype;Ie.type="series.__base__",Ie.seriesIndex=0,Ie.ignoreStyleOnData=!1,Ie.hasSymbolVisual=!1,Ie.defaultSymbol="circle",Ie.visualStyleAccessPath="itemStyle",Ie.visualDrawType="fill"}(),$e}(ComponentModel);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel);function autoSeriesName(xe){var $e=xe.name;isNameSpecified(xe)||(xe.name=getSeriesAutoName(xe)||$e)}function getSeriesAutoName(xe){var $e=xe.getRawData(),Ie=$e.mapDimensionsAll("seriesName"),Fe=[];return each$f(Ie,function(Ue){var qe=$e.getDimensionInfo(Ue);qe.displayName&&Fe.push(qe.displayName)}),Fe.join(" ")}function dataTaskCount(xe){return xe.model.getRawData().count()}function dataTaskReset(xe){var $e=xe.model;return $e.setData($e.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(xe,$e){$e.outputData&&xe.end>$e.outputData.count()&&$e.model.getRawData().cloneShallow($e.outputData)}function wrapData(xe,$e){each$f(concatArray(xe.CHANGABLE_METHODS,xe.DOWNSAMPLE_METHODS),function(Ie){xe.wrapMethod(Ie,curry$1(onDataChange,$e))})}function onDataChange(xe,$e){var Ie=getCurrentTask(xe);return Ie&&Ie.setOutputEnd(($e||this).count()),$e}function getCurrentTask(xe){var $e=(xe.ecModel||{}).scheduler,Ie=$e&&$e.getPipeline(xe.uid);if(Ie){var Fe=Ie.currentTask;if(Fe){var Ue=Fe.agentStubMap;Ue&&(Fe=Ue.get(xe.uid))}return Fe}}var ComponentView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewComponent")}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){},xe.prototype.toggleBlurSeries=function($e,Ie,Fe){},xe.prototype.eachRendered=function($e){var Ie=this.group;Ie&&Ie.traverse($e)},xe}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);function createRenderPlanner(){var xe=makeInner();return function($e){var Ie=xe($e),Fe=$e.pipelineContext,Ue=!!Ie.large,qe=!!Ie.progressiveRender,At=Ie.large=!!(Fe&&Fe.large),Dt=Ie.progressiveRender=!!(Fe&&Fe.progressiveRender);return(Ue!==At||qe!==Dt)&&"reset"}}var inner$j=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function xe(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return xe.prototype.init=function($e,Ie){},xe.prototype.render=function($e,Ie,Fe,Ue){},xe.prototype.highlight=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"emphasis")},xe.prototype.downplay=function($e,Ie,Fe,Ue){var qe=$e.getData(Ue&&Ue.dataType);qe&&toggleHighlight(qe,Ue,"normal")},xe.prototype.remove=function($e,Ie){this.group.removeAll()},xe.prototype.dispose=function($e,Ie){},xe.prototype.updateView=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateLayout=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.updateVisual=function($e,Ie,Fe,Ue){this.render($e,Ie,Fe,Ue)},xe.prototype.eachRendered=function($e){traverseElements(this.group,$e)},xe.markUpdateMethod=function($e,Ie){inner$j($e).updateMethod=Ie},xe.protoInitialize=function(){var $e=xe.prototype;$e.type="chart"}(),xe}();function elSetState(xe,$e,Ie){xe&&isHighDownDispatcher(xe)&&($e==="emphasis"?enterEmphasis:leaveEmphasis)(xe,Ie)}function toggleHighlight(xe,$e,Ie){var Fe=queryDataIndex(xe,$e),Ue=$e&&$e.highlightKey!=null?getHighlightDigit($e.highlightKey):null;Fe!=null?each$f(normalizeToArray(Fe),function(qe){elSetState(xe.getItemGraphicEl(qe),Ie,Ue)}):xe.eachItemGraphicEl(function(qe){elSetState(qe,Ie,Ue)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(xe){return renderPlanner(xe.model)}function renderTaskReset(xe){var $e=xe.model,Ie=xe.ecModel,Fe=xe.api,Ue=xe.payload,qe=$e.pipelineContext.progressiveRender,At=xe.view,Dt=Ue&&inner$j(Ue).updateMethod,Lt=qe?"incrementalPrepareRender":Dt&&At[Dt]?Dt:"render";return Lt!=="render"&&At[Lt]($e,Ie,Fe,Ue),progressMethodMap[Lt]}var progressMethodMap={incrementalPrepareRender:{progress:function(xe,$e){$e.view.incrementalRender(xe,$e.model,$e.ecModel,$e.api,$e.payload)}},render:{forceFirstProgress:!0,progress:function(xe,$e){$e.view.render($e.model,$e.ecModel,$e.api,$e.payload)}}},ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle$1(xe,$e,Ie){var Fe,Ue=0,qe=0,At=null,Dt,Lt,jt,hn;$e=$e||0;function vn(){qe=new Date().getTime(),At=null,xe.apply(Lt,jt||[])}var bn=function(){for(var _n=[],wn=0;wn=0?vn():At=setTimeout(vn,-Dt),Ue=Fe};return bn.clear=function(){At&&(clearTimeout(At),At=null)},bn.debounceNextCall=function(_n){hn=_n},bn}function createOrUpdate(xe,$e,Ie,Fe){var Ue=xe[$e];if(Ue){var qe=Ue[ORIGIN_METHOD]||Ue,At=Ue[THROTTLE_TYPE],Dt=Ue[RATE];if(Dt!==Ie||At!==Fe){if(Ie==null||!Fe)return xe[$e]=qe;Ue=xe[$e]=throttle$1(qe,Ie,Fe==="debounce"),Ue[ORIGIN_METHOD]=qe,Ue[THROTTLE_TYPE]=Fe,Ue[RATE]=Ie}return Ue}}function clear$1(xe,$e){var Ie=xe[$e];Ie&&Ie[ORIGIN_METHOD]&&(Ie.clear&&Ie.clear(),xe[$e]=Ie[ORIGIN_METHOD])}var inner$i=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(xe,$e){var Ie=xe.visualStyleMapper||defaultStyleMappers[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(xe,$e){var Ie=xe.visualDrawType||defaultColorKey[$e];return Ie||(console.warn("Unknown style type '"+$e+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=xe.getModel(Fe),qe=getStyleMapper(xe,Fe),At=qe(Ue),Dt=Ue.getShallow("decal");Dt&&(Ie.setVisual("decal",Dt),Dt.dirty=!0);var Lt=getDefaultColorKey(xe,Fe),jt=At[Lt],hn=isFunction(jt)?jt:null,vn=At.fill==="auto"||At.stroke==="auto";if(!At[Lt]||hn||vn){var bn=xe.getColorFromPalette(xe.name,null,$e.getSeriesCount());At[Lt]||(At[Lt]=bn,Ie.setVisual("colorFromPalette",!0)),At.fill=At.fill==="auto"||isFunction(At.fill)?bn:At.fill,At.stroke=At.stroke==="auto"||isFunction(At.stroke)?bn:At.stroke}if(Ie.setVisual("style",At),Ie.setVisual("drawType",Lt),!$e.isSeriesFiltered(xe)&&hn)return Ie.setVisual("colorFromPalette",!1),{dataEach:function(_n,wn){var kn=xe.getDataParams(wn),Cn=extend({},At);Cn[Lt]=hn(kn),_n.setItemVisual(wn,"style",Cn)}}}},sharedModel=new Model,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){if(!(xe.ignoreStyleOnData||$e.isSeriesFiltered(xe))){var Ie=xe.getData(),Fe=xe.visualStyleAccessPath||"itemStyle",Ue=getStyleMapper(xe,Fe),qe=Ie.getVisual("drawType");return{dataEach:Ie.hasItemOption?function(At,Dt){var Lt=At.getRawDataItem(Dt);if(Lt&&Lt[Fe]){sharedModel.option=Lt[Fe];var jt=Ue(sharedModel),hn=At.ensureUniqueItemVisual(Dt,"style");extend(hn,jt),sharedModel.option.decal&&(At.setItemVisual(Dt,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),qe in jt&&At.setItemVisual(Dt,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(xe){var $e=createHashMap();xe.eachSeries(function(Ie){var Fe=Ie.getColorBy();if(!Ie.isColorBySeries()){var Ue=Ie.type+"-"+Fe,qe=$e.get(Ue);qe||(qe={},$e.set(Ue,qe)),inner$i(Ie).scope=qe}}),xe.eachSeries(function(Ie){if(!(Ie.isColorBySeries()||xe.isSeriesFiltered(Ie))){var Fe=Ie.getRawData(),Ue={},qe=Ie.getData(),At=inner$i(Ie).scope,Dt=Ie.visualStyleAccessPath||"itemStyle",Lt=getDefaultColorKey(Ie,Dt);qe.each(function(jt){var hn=qe.getRawIndex(jt);Ue[hn]=jt}),Fe.each(function(jt){var hn=Ue[jt],vn=qe.getItemVisual(hn,"colorFromPalette");if(vn){var bn=qe.ensureUniqueItemVisual(hn,"style"),_n=Fe.getName(jt)||jt+"",wn=Fe.count();bn[Lt]=Ie.getColorFromPalette(_n,At,wn)}})}})}},PI$5=Math.PI;function defaultLoading(xe,$e){$e=$e||{},defaults($e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var Ie=new Group$3,Fe=new Rect$2({style:{fill:$e.maskColor},zlevel:$e.zlevel,z:1e4});Ie.add(Fe);var Ue=new ZRText({style:{text:$e.text,fill:$e.textColor,fontSize:$e.fontSize,fontWeight:$e.fontWeight,fontStyle:$e.fontStyle,fontFamily:$e.fontFamily},zlevel:$e.zlevel,z:10001}),qe=new Rect$2({style:{fill:"none"},textContent:Ue,textConfig:{position:"right",distance:10},zlevel:$e.zlevel,z:10001});Ie.add(qe);var At;return $e.showSpinner&&(At=new Arc({shape:{startAngle:-PI$5/2,endAngle:-PI$5/2+.1,r:$e.spinnerRadius},style:{stroke:$e.color,lineCap:"round",lineWidth:$e.lineWidth},zlevel:$e.zlevel,z:10001}),At.animateShape(!0).when(1e3,{endAngle:PI$5*3/2}).start("circularInOut"),At.animateShape(!0).when(1e3,{startAngle:PI$5*3/2}).delay(300).start("circularInOut"),Ie.add(At)),Ie.resize=function(){var Dt=Ue.getBoundingRect().width,Lt=$e.showSpinner?$e.spinnerRadius:0,jt=(xe.getWidth()-Lt*2-($e.showSpinner&&Dt?10:0)-Dt)/2-($e.showSpinner&&Dt?0:5+Dt/2)+($e.showSpinner?0:Dt/2)+(Dt?0:Lt),hn=xe.getHeight()/2;$e.showSpinner&&At.setShape({cx:jt,cy:hn}),qe.setShape({x:jt-Lt,y:hn-Lt,width:Lt*2,height:Lt*2}),Fe.setShape({x:0,y:0,width:xe.getWidth(),height:xe.getHeight()})},Ie.resize(),Ie}var Scheduler=function(){function xe($e,Ie,Fe,Ue){this._stageTaskMap=createHashMap(),this.ecInstance=$e,this.api=Ie,Fe=this._dataProcessorHandlers=Fe.slice(),Ue=this._visualHandlers=Ue.slice(),this._allHandlers=Fe.concat(Ue)}return xe.prototype.restoreData=function($e,Ie){$e.restoreData(Ie),this._stageTaskMap.each(function(Fe){var Ue=Fe.overallTask;Ue&&Ue.dirty()})},xe.prototype.getPerformArgs=function($e,Ie){if($e.__pipeline){var Fe=this._pipelineMap.get($e.__pipeline.id),Ue=Fe.context,qe=!Ie&&Fe.progressiveEnabled&&(!Ue||Ue.progressiveRender)&&$e.__idxInPipeline>Fe.blockIndex,At=qe?Fe.step:null,Dt=Ue&&Ue.modDataCount,Lt=Dt!=null?Math.ceil(Dt/At):null;return{step:At,modBy:Lt,modDataCount:Dt}}},xe.prototype.getPipeline=function($e){return this._pipelineMap.get($e)},xe.prototype.updateStreamModes=function($e,Ie){var Fe=this._pipelineMap.get($e.uid),Ue=$e.getData(),qe=Ue.count(),At=Fe.progressiveEnabled&&Ie.incrementalPrepareRender&&qe>=Fe.threshold,Dt=$e.get("large")&&qe>=$e.get("largeThreshold"),Lt=$e.get("progressiveChunkMode")==="mod"?qe:null;$e.pipelineContext=Fe.context={progressiveRender:At,modDataCount:Lt,large:Dt}},xe.prototype.restorePipelines=function($e){var Ie=this,Fe=Ie._pipelineMap=createHashMap();$e.eachSeries(function(Ue){var qe=Ue.getProgressive(),At=Ue.uid;Fe.set(At,{id:At,head:null,tail:null,threshold:Ue.getProgressiveThreshold(),progressiveEnabled:qe&&!(Ue.preventIncremental&&Ue.preventIncremental()),blockIndex:-1,step:Math.round(qe||700),count:0}),Ie._pipe(Ue,Ue.dataTask)})},xe.prototype.prepareStageTasks=function(){var $e=this._stageTaskMap,Ie=this.api.getModel(),Fe=this.api;each$f(this._allHandlers,function(Ue){var qe=$e.get(Ue.uid)||$e.set(Ue.uid,{}),At="";assert(!(Ue.reset&&Ue.overallReset),At),Ue.reset&&this._createSeriesStageTask(Ue,qe,Ie,Fe),Ue.overallReset&&this._createOverallStageTask(Ue,qe,Ie,Fe)},this)},xe.prototype.prepareView=function($e,Ie,Fe,Ue){var qe=$e.renderTask,At=qe.context;At.model=Ie,At.ecModel=Fe,At.api=Ue,qe.__block=!$e.incrementalPrepareRender,this._pipe(Ie,qe)},xe.prototype.performDataProcessorTasks=function($e,Ie){this._performStageTasks(this._dataProcessorHandlers,$e,Ie,{block:!0})},xe.prototype.performVisualTasks=function($e,Ie,Fe){this._performStageTasks(this._visualHandlers,$e,Ie,Fe)},xe.prototype._performStageTasks=function($e,Ie,Fe,Ue){Ue=Ue||{};var qe=!1,At=this;each$f($e,function(Lt,jt){if(!(Ue.visualType&&Ue.visualType!==Lt.visualType)){var hn=At._stageTaskMap.get(Lt.uid),vn=hn.seriesTaskMap,bn=hn.overallTask;if(bn){var _n,wn=bn.agentStubMap;wn.each(function(Cn){Dt(Ue,Cn)&&(Cn.dirty(),_n=!0)}),_n&&bn.dirty(),At.updatePayload(bn,Fe);var kn=At.getPerformArgs(bn,Ue.block);wn.each(function(Cn){Cn.perform(kn)}),bn.perform(kn)&&(qe=!0)}else vn&&vn.each(function(Cn,Sn){Dt(Ue,Cn)&&Cn.dirty();var xn=At.getPerformArgs(Cn,Ue.block);xn.skip=!Lt.performRawSeries&&Ie.isSeriesFiltered(Cn.context.model),At.updatePayload(Cn,Fe),Cn.perform(xn)&&(qe=!0)})}});function Dt(Lt,jt){return Lt.setDirty&&(!Lt.dirtyMap||Lt.dirtyMap.get(jt.__pipeline.id))}this.unfinished=qe||this.unfinished},xe.prototype.performSeriesTasks=function($e){var Ie;$e.eachSeries(function(Fe){Ie=Fe.dataTask.perform()||Ie}),this.unfinished=Ie||this.unfinished},xe.prototype.plan=function(){this._pipelineMap.each(function($e){var Ie=$e.tail;do{if(Ie.__block){$e.blockIndex=Ie.__idxInPipeline;break}Ie=Ie.getUpstream()}while(Ie)})},xe.prototype.updatePayload=function($e,Ie){Ie!=="remain"&&($e.context.payload=Ie)},xe.prototype._createSeriesStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.seriesTaskMap,Dt=Ie.seriesTaskMap=createHashMap(),Lt=$e.seriesType,jt=$e.getTargetSeries;$e.createOnAllSeries?Fe.eachRawSeries(hn):Lt?Fe.eachRawSeriesByType(Lt,hn):jt&&jt(Fe,Ue).each(hn);function hn(vn){var bn=vn.uid,_n=Dt.set(bn,At&&At.get(bn)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));_n.context={model:vn,ecModel:Fe,api:Ue,useClearVisual:$e.isVisual&&!$e.isLayout,plan:$e.plan,reset:$e.reset,scheduler:qe},qe._pipe(vn,_n)}},xe.prototype._createOverallStageTask=function($e,Ie,Fe,Ue){var qe=this,At=Ie.overallTask=Ie.overallTask||createTask({reset:overallTaskReset});At.context={ecModel:Fe,api:Ue,overallReset:$e.overallReset,scheduler:qe};var Dt=At.agentStubMap,Lt=At.agentStubMap=createHashMap(),jt=$e.seriesType,hn=$e.getTargetSeries,vn=!0,bn=!1,_n="";assert(!$e.createOnAllSeries,_n),jt?Fe.eachRawSeriesByType(jt,wn):hn?hn(Fe,Ue).each(wn):(vn=!1,each$f(Fe.getSeries(),wn));function wn(kn){var Cn=kn.uid,Sn=Lt.set(Cn,Dt&&Dt.get(Cn)||(bn=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));Sn.context={model:kn,overallProgress:vn},Sn.agent=At,Sn.__block=vn,qe._pipe(kn,Sn)}bn&&At.dirty()},xe.prototype._pipe=function($e,Ie){var Fe=$e.uid,Ue=this._pipelineMap.get(Fe);!Ue.head&&(Ue.head=Ie),Ue.tail&&Ue.tail.pipe(Ie),Ue.tail=Ie,Ie.__idxInPipeline=Ue.count++,Ie.__pipeline=Ue},xe.wrapStageHandler=function($e,Ie){return isFunction($e)&&($e={overallReset:$e,seriesType:detectSeriseType($e)}),$e.uid=getUID("stageHandler"),Ie&&($e.visualType=Ie),$e},xe}();function overallTaskReset(xe){xe.overallReset(xe.ecModel,xe.api,xe.payload)}function stubReset(xe){return xe.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(xe){return xe.plan?xe.plan(xe.model,xe.ecModel,xe.api,xe.payload):null}function seriesTaskReset(xe){xe.useClearVisual&&xe.data.clearAllVisual();var $e=xe.resetDefines=normalizeToArray(xe.reset(xe.model,xe.ecModel,xe.api,xe.payload));return $e.length>1?map$1($e,function(Ie,Fe){return makeSeriesTaskProgress(Fe)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(xe){return function($e,Ie){var Fe=Ie.data,Ue=Ie.resetDefines[xe];if(Ue&&Ue.dataEach)for(var qe=$e.start;qe<$e.end;qe++)Ue.dataEach(Fe,qe);else Ue&&Ue.progress&&Ue.progress($e,Fe)}}function seriesTaskCount(xe){return xe.data.count()}function detectSeriseType(xe){seriesType=null;try{xe(ecModelMock,apiMock)}catch{}return seriesType}var ecModelMock={},apiMock={},seriesType;mockMethods(ecModelMock,GlobalModel);mockMethods(apiMock,ExtensionAPI);ecModelMock.eachSeriesByType=ecModelMock.eachRawSeriesByType=function(xe){seriesType=xe};ecModelMock.eachComponent=function(xe){xe.mainType==="series"&&xe.subType&&(seriesType=xe.subType)};function mockMethods(xe,$e){for(var Ie in $e.prototype)xe[Ie]=noop}var colorAll=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const lightTheme={color:colorAll,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],colorAll]};var contrastColor="#B9B8CE",backgroundColor="#100C2A",axisCommon=function(){return{axisLine:{lineStyle:{color:contrastColor}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},colorPalette=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],theme={darkMode:!0,color:colorPalette,backgroundColor,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:contrastColor}},textStyle:{color:contrastColor},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:contrastColor}},dataZoom:{borderColor:"#71708A",textStyle:{color:contrastColor},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:contrastColor}},timeline:{lineStyle:{color:contrastColor},label:{color:contrastColor},controlStyle:{color:contrastColor,borderColor:contrastColor}},calendar:{itemStyle:{color:backgroundColor},dayLabel:{color:contrastColor},monthLabel:{color:contrastColor},yearLabel:{color:contrastColor}},timeAxis:axisCommon(),logAxis:axisCommon(),valueAxis:axisCommon(),categoryAxis:axisCommon(),line:{symbol:"circle"},graph:{color:colorPalette},gauge:{title:{color:contrastColor},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:contrastColor},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};theme.categoryAxis.splitLine.show=!1;var ECEventProcessor=function(){function xe(){}return xe.prototype.normalizeQuery=function($e){var Ie={},Fe={},Ue={};if(isString($e)){var qe=parseClassType($e);Ie.mainType=qe.main||null,Ie.subType=qe.sub||null}else{var At=["Index","Name","Id"],Dt={name:1,dataIndex:1,dataType:1};each$f($e,function(Lt,jt){for(var hn=!1,vn=0;vn0&&_n===jt.length-bn.length){var wn=jt.slice(0,_n);wn!=="data"&&(Ie.mainType=wn,Ie[bn.toLowerCase()]=Lt,hn=!0)}}Dt.hasOwnProperty(jt)&&(Fe[jt]=Lt,hn=!0),hn||(Ue[jt]=Lt)})}return{cptQuery:Ie,dataQuery:Fe,otherQuery:Ue}},xe.prototype.filter=function($e,Ie){var Fe=this.eventInfo;if(!Fe)return!0;var Ue=Fe.targetEl,qe=Fe.packedEvent,At=Fe.model,Dt=Fe.view;if(!At||!Dt)return!0;var Lt=Ie.cptQuery,jt=Ie.dataQuery;return hn(Lt,At,"mainType")&&hn(Lt,At,"subType")&&hn(Lt,At,"index","componentIndex")&&hn(Lt,At,"name")&&hn(Lt,At,"id")&&hn(jt,qe,"name")&&hn(jt,qe,"dataIndex")&&hn(jt,qe,"dataType")&&(!Dt.filterForExposedEvent||Dt.filterForExposedEvent($e,Ie.otherQuery,Ue,qe));function hn(vn,bn,_n,wn){return vn[_n]==null||bn[wn||_n]===vn[_n]}},xe.prototype.afterTrigger=function(){this.eventInfo=null},xe}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(xe,$e){var Ie=xe.getData();if(xe.legendIcon&&Ie.setVisual("legendIcon",xe.legendIcon),!xe.hasSymbolVisual)return;for(var Fe={},Ue={},qe=!1,At=0;At=0&&isSafeNum(Lt)?Lt:.5;var jt=xe.createRadialGradient(At,Dt,0,At,Dt,Lt);return jt}function getCanvasGradient(xe,$e,Ie){for(var Fe=$e.type==="radial"?createRadialGradient(xe,$e,Ie):createLinearGradient(xe,$e,Ie),Ue=$e.colorStops,qe=0;qe0)?null:xe==="dashed"?[4*$e,2*$e]:xe==="dotted"?[$e]:isNumber(xe)?[xe]:isArray$1(xe)?xe:null}function getLineDash(xe){var $e=xe.style,Ie=$e.lineDash&&$e.lineWidth>0&&normalizeLineDash($e.lineDash,$e.lineWidth),Fe=$e.lineDashOffset;if(Ie){var Ue=$e.strokeNoScale&&xe.getLineScale?xe.getLineScale():1;Ue&&Ue!==1&&(Ie=map$1(Ie,function(qe){return qe/Ue}),Fe/=Ue)}return[Ie,Fe]}var pathProxyForDraw=new PathProxy(!0);function styleHasStroke(xe){var $e=xe.stroke;return!($e==null||$e==="none"||!(xe.lineWidth>0))}function isValidStrokeFillStyle(xe){return typeof xe=="string"&&xe!=="none"}function styleHasFill(xe){var $e=xe.fill;return $e!=null&&$e!=="none"}function doFillPath(xe,$e){if($e.fillOpacity!=null&&$e.fillOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.fillOpacity*$e.opacity,xe.fill(),xe.globalAlpha=Ie}else xe.fill()}function doStrokePath(xe,$e){if($e.strokeOpacity!=null&&$e.strokeOpacity!==1){var Ie=xe.globalAlpha;xe.globalAlpha=$e.strokeOpacity*$e.opacity,xe.stroke(),xe.globalAlpha=Ie}else xe.stroke()}function createCanvasPattern(xe,$e,Ie){var Fe=createOrUpdateImage($e.image,$e.__image,Ie);if(isImageReady(Fe)){var Ue=xe.createPattern(Fe,$e.repeat||"repeat");if(typeof DOMMatrix=="function"&&Ue&&Ue.setTransform){var qe=new DOMMatrix;qe.translateSelf($e.x||0,$e.y||0),qe.rotateSelf(0,0,($e.rotation||0)*RADIAN_TO_DEGREE),qe.scaleSelf($e.scaleX||1,$e.scaleY||1),Ue.setTransform(qe)}return Ue}}function brushPath(xe,$e,Ie,Fe){var Ue,qe=styleHasStroke(Ie),At=styleHasFill(Ie),Dt=Ie.strokePercent,Lt=Dt<1,jt=!$e.path;(!$e.silent||Lt)&&jt&&$e.createPathProxy();var hn=$e.path||pathProxyForDraw,vn=$e.__dirty;if(!Fe){var bn=Ie.fill,_n=Ie.stroke,wn=At&&!!bn.colorStops,kn=qe&&!!_n.colorStops,Cn=At&&!!bn.image,Sn=qe&&!!_n.image,xn=void 0,En=void 0,Tn=void 0,An=void 0,$n=void 0;(wn||kn)&&($n=$e.getBoundingRect()),wn&&(xn=vn?getCanvasGradient(xe,bn,$n):$e.__canvasFillGradient,$e.__canvasFillGradient=xn),kn&&(En=vn?getCanvasGradient(xe,_n,$n):$e.__canvasStrokeGradient,$e.__canvasStrokeGradient=En),Cn&&(Tn=vn||!$e.__canvasFillPattern?createCanvasPattern(xe,bn,$e):$e.__canvasFillPattern,$e.__canvasFillPattern=Tn),Sn&&(An=vn||!$e.__canvasStrokePattern?createCanvasPattern(xe,_n,$e):$e.__canvasStrokePattern,$e.__canvasStrokePattern=Tn),wn?xe.fillStyle=xn:Cn&&(Tn?xe.fillStyle=Tn:At=!1),kn?xe.strokeStyle=En:Sn&&(An?xe.strokeStyle=An:qe=!1)}var Pn=$e.getGlobalScale();hn.setScale(Pn[0],Pn[1],$e.segmentIgnoreThreshold);var Nn,Mn;xe.setLineDash&&Ie.lineDash&&(Ue=getLineDash($e),Nn=Ue[0],Mn=Ue[1]);var In=!0;(jt||vn&SHAPE_CHANGED_BIT)&&(hn.setDPR(xe.dpr),Lt?hn.setContext(null):(hn.setContext(xe),In=!1),hn.reset(),$e.buildPath(hn,$e.shape,Fe),hn.toStatic(),$e.pathUpdated()),In&&hn.rebuildPath(xe,Lt?Dt:1),Nn&&(xe.setLineDash(Nn),xe.lineDashOffset=Mn),Fe||(Ie.strokeFirst?(qe&&doStrokePath(xe,Ie),At&&doFillPath(xe,Ie)):(At&&doFillPath(xe,Ie),qe&&doStrokePath(xe,Ie))),Nn&&xe.setLineDash([])}function brushImage(xe,$e,Ie){var Fe=$e.__image=createOrUpdateImage(Ie.image,$e.__image,$e,$e.onload);if(!(!Fe||!isImageReady(Fe))){var Ue=Ie.x||0,qe=Ie.y||0,At=$e.getWidth(),Dt=$e.getHeight(),Lt=Fe.width/Fe.height;if(At==null&&Dt!=null?At=Dt*Lt:Dt==null&&At!=null?Dt=At/Lt:At==null&&Dt==null&&(At=Fe.width,Dt=Fe.height),Ie.sWidth&&Ie.sHeight){var jt=Ie.sx||0,hn=Ie.sy||0;xe.drawImage(Fe,jt,hn,Ie.sWidth,Ie.sHeight,Ue,qe,At,Dt)}else if(Ie.sx&&Ie.sy){var jt=Ie.sx,hn=Ie.sy,vn=At-jt,bn=Dt-hn;xe.drawImage(Fe,jt,hn,vn,bn,Ue,qe,At,Dt)}else xe.drawImage(Fe,Ue,qe,At,Dt)}}function brushText(xe,$e,Ie){var Fe,Ue=Ie.text;if(Ue!=null&&(Ue+=""),Ue){xe.font=Ie.font||DEFAULT_FONT,xe.textAlign=Ie.textAlign,xe.textBaseline=Ie.textBaseline;var qe=void 0,At=void 0;xe.setLineDash&&Ie.lineDash&&(Fe=getLineDash($e),qe=Fe[0],At=Fe[1]),qe&&(xe.setLineDash(qe),xe.lineDashOffset=At),Ie.strokeFirst?(styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y),styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y)):(styleHasFill(Ie)&&xe.fillText(Ue,Ie.x,Ie.y),styleHasStroke(Ie)&&xe.strokeText(Ue,Ie.x,Ie.y)),qe&&xe.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(xe,$e,Ie,Fe,Ue){var qe=!1;if(!Fe&&(Ie=Ie||{},$e===Ie))return!1;if(Fe||$e.opacity!==Ie.opacity){flushPathDrawn(xe,Ue),qe=!0;var At=Math.max(Math.min($e.opacity,1),0);xe.globalAlpha=isNaN(At)?DEFAULT_COMMON_STYLE.opacity:At}(Fe||$e.blend!==Ie.blend)&&(qe||(flushPathDrawn(xe,Ue),qe=!0),xe.globalCompositeOperation=$e.blend||DEFAULT_COMMON_STYLE.blend);for(var Dt=0;Dt0&&Ie.unfinished);Ie.unfinished||this._zr.flush()}}},$e.prototype.getDom=function(){return this._dom},$e.prototype.getId=function(){return this.id},$e.prototype.getZr=function(){return this._zr},$e.prototype.isSSR=function(){return this._ssr},$e.prototype.setOption=function(Ie,Fe,Ue){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var qe,At,Dt;if(isObject$3(Fe)&&(Ue=Fe.lazyUpdate,qe=Fe.silent,At=Fe.replaceMerge,Dt=Fe.transition,Fe=Fe.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||Fe){var Lt=new OptionManager(this._api),jt=this._theme,hn=this._model=new GlobalModel;hn.scheduler=this._scheduler,hn.ssr=this._ssr,hn.init(null,null,null,jt,this._locale,Lt)}this._model.setOption(Ie,{replaceMerge:At},optionPreprocessorFuncs);var vn={seriesTransition:Dt,optionChanged:!0};if(Ue)this[PENDING_UPDATE]={silent:qe,updateParams:vn},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,vn)}catch(bn){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,bn}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.setTheme=function(){},$e.prototype.getModel=function(){return this._model},$e.prototype.getOption=function(){return this._model&&this._model.getOption()},$e.prototype.getWidth=function(){return this._zr.getWidth()},$e.prototype.getHeight=function(){return this._zr.getHeight()},$e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||env.hasGlobalWindow&&window.devicePixelRatio||1},$e.prototype.getRenderedCanvas=function(Ie){return this.renderToCanvas(Ie)},$e.prototype.renderToCanvas=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.getRenderedCanvas({backgroundColor:Ie.backgroundColor||this._model.get("backgroundColor"),pixelRatio:Ie.pixelRatio||this.getDevicePixelRatio()})},$e.prototype.renderToSVGString=function(Ie){Ie=Ie||{};var Fe=this._zr.painter;return Fe.renderToString({useViewBox:Ie.useViewBox})},$e.prototype.getSvgDataURL=function(){if(env.svgSupported){var Ie=this._zr,Fe=Ie.storage.getDisplayList();return each$f(Fe,function(Ue){Ue.stopAnimation(null,!0)}),Ie.painter.toDataURL()}},$e.prototype.getDataURL=function(Ie){if(this._disposed){this.id;return}Ie=Ie||{};var Fe=Ie.excludeComponents,Ue=this._model,qe=[],At=this;each$f(Fe,function(Lt){Ue.eachComponent({mainType:Lt},function(jt){var hn=At._componentsMap[jt.__viewId];hn.group.ignore||(qe.push(hn),hn.group.ignore=!0)})});var Dt=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(Ie).toDataURL("image/"+(Ie&&Ie.type||"png"));return each$f(qe,function(Lt){Lt.group.ignore=!1}),Dt},$e.prototype.getConnectedDataURL=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.type==="svg",Ue=this.group,qe=Math.min,At=Math.max,Dt=1/0;if(connectedGroups[Ue]){var Lt=Dt,jt=Dt,hn=-Dt,vn=-Dt,bn=[],_n=Ie&&Ie.pixelRatio||this.getDevicePixelRatio();each$f(instances,function(En,Tn){if(En.group===Ue){var An=Fe?En.getZr().painter.getSvgDom().innerHTML:En.renderToCanvas(clone$4(Ie)),$n=En.getDom().getBoundingClientRect();Lt=qe($n.left,Lt),jt=qe($n.top,jt),hn=At($n.right,hn),vn=At($n.bottom,vn),bn.push({dom:An,left:$n.left,top:$n.top})}}),Lt*=_n,jt*=_n,hn*=_n,vn*=_n;var wn=hn-Lt,kn=vn-jt,Cn=platformApi.createCanvas(),Sn=init$2(Cn,{renderer:Fe?"svg":"canvas"});if(Sn.resize({width:wn,height:kn}),Fe){var xn="";return each$f(bn,function(En){var Tn=En.left-Lt,An=En.top-jt;xn+=''+En.dom+""}),Sn.painter.getSvgRoot().innerHTML=xn,Ie.connectedBackgroundColor&&Sn.painter.setBackgroundColor(Ie.connectedBackgroundColor),Sn.refreshImmediately(),Sn.painter.toDataURL()}else return Ie.connectedBackgroundColor&&Sn.add(new Rect$2({shape:{x:0,y:0,width:wn,height:kn},style:{fill:Ie.connectedBackgroundColor}})),each$f(bn,function(En){var Tn=new ZRImage({style:{x:En.left*_n-Lt,y:En.top*_n-jt,image:En.dom}});Sn.add(Tn)}),Sn.refreshImmediately(),Cn.toDataURL("image/"+(Ie&&Ie.type||"png"))}else return this.getDataURL(Ie)},$e.prototype.convertToPixel=function(Ie,Fe){return doConvertPixel(this,"convertToPixel",Ie,Fe)},$e.prototype.convertFromPixel=function(Ie,Fe){return doConvertPixel(this,"convertFromPixel",Ie,Fe)},$e.prototype.containPixel=function(Ie,Fe){if(this._disposed){this.id;return}var Ue=this._model,qe,At=parseFinder$1(Ue,Ie);return each$f(At,function(Dt,Lt){Lt.indexOf("Models")>=0&&each$f(Dt,function(jt){var hn=jt.coordinateSystem;if(hn&&hn.containPoint)qe=qe||!!hn.containPoint(Fe);else if(Lt==="seriesModels"){var vn=this._chartsMap[jt.__viewId];vn&&vn.containPoint&&(qe=qe||vn.containPoint(Fe,jt))}},this)},this),!!qe},$e.prototype.getVisual=function(Ie,Fe){var Ue=this._model,qe=parseFinder$1(Ue,Ie,{defaultMainType:"series"}),At=qe.seriesModel,Dt=At.getData(),Lt=qe.hasOwnProperty("dataIndexInside")?qe.dataIndexInside:qe.hasOwnProperty("dataIndex")?Dt.indexOfRawIndex(qe.dataIndex):null;return Lt!=null?getItemVisualFromData(Dt,Lt,Fe):getVisualFromData(Dt,Fe)},$e.prototype.getViewOfComponentModel=function(Ie){return this._componentsMap[Ie.__viewId]},$e.prototype.getViewOfSeriesModel=function(Ie){return this._chartsMap[Ie.__viewId]},$e.prototype._initEvents=function(){var Ie=this;each$f(MOUSE_EVENT_NAMES,function(Fe){var Ue=function(qe){var At=Ie.getModel(),Dt=qe.target,Lt,jt=Fe==="globalout";if(jt?Lt={}:Dt&&findEventDispatcher(Dt,function(wn){var kn=getECData(wn);if(kn&&kn.dataIndex!=null){var Cn=kn.dataModel||At.getSeriesByIndex(kn.seriesIndex);return Lt=Cn&&Cn.getDataParams(kn.dataIndex,kn.dataType,Dt)||{},!0}else if(kn.eventData)return Lt=extend({},kn.eventData),!0},!0),Lt){var hn=Lt.componentType,vn=Lt.componentIndex;(hn==="markLine"||hn==="markPoint"||hn==="markArea")&&(hn="series",vn=Lt.seriesIndex);var bn=hn&&vn!=null&&At.getComponent(hn,vn),_n=bn&&Ie[bn.mainType==="series"?"_chartsMap":"_componentsMap"][bn.__viewId];Lt.event=qe,Lt.type=Fe,Ie._$eventProcessor.eventInfo={targetEl:Dt,packedEvent:Lt,model:bn,view:_n},Ie.trigger(Fe,Lt)}};Ue.zrEventfulCallAtLast=!0,Ie._zr.on(Fe,Ue,Ie)}),each$f(eventActionMap,function(Fe,Ue){Ie._messageCenter.on(Ue,function(qe){this.trigger(Ue,qe)},Ie)}),each$f(["selectchanged"],function(Fe){Ie._messageCenter.on(Fe,function(Ue){this.trigger(Fe,Ue)},Ie)}),handleLegacySelectEvents(this._messageCenter,this,this._api)},$e.prototype.isDisposed=function(){return this._disposed},$e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},$e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var Ie=this.getDom();Ie&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var Fe=this,Ue=Fe._api,qe=Fe._model;each$f(Fe._componentsViews,function(At){At.dispose(qe,Ue)}),each$f(Fe._chartsViews,function(At){At.dispose(qe,Ue)}),Fe._zr.dispose(),Fe._dom=Fe._model=Fe._chartsMap=Fe._componentsMap=Fe._chartsViews=Fe._componentsViews=Fe._scheduler=Fe._api=Fe._zr=Fe._throttledZrFlush=Fe._theme=Fe._coordSysMgr=Fe._messageCenter=null,delete instances[Fe.id]},$e.prototype.resize=function(Ie){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(Ie);var Fe=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!Fe){var Ue=Fe.resetOption("media"),qe=Ie&&Ie.silent;this[PENDING_UPDATE]&&(qe==null&&(qe=this[PENDING_UPDATE].silent),Ue=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{Ue&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},Ie&&Ie.animation)})}catch(At){throw this[IN_MAIN_PROCESS_KEY]=!1,At}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,qe),triggerUpdatedEvent.call(this,qe)}}},$e.prototype.showLoading=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$3(Ie)&&(Fe=Ie,Ie=""),Ie=Ie||"default",this.hideLoading(),!!loadingEffects[Ie]){var Ue=loadingEffects[Ie](this._api,Fe),qe=this._zr;this._loadingFX=Ue,qe.add(Ue)}},$e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},$e.prototype.makeActionFromEvent=function(Ie){var Fe=extend({},Ie);return Fe.type=eventActionMap[Ie.type],Fe},$e.prototype.dispatchAction=function(Ie,Fe){if(this._disposed){this.id;return}if(isObject$3(Fe)||(Fe={silent:!!Fe}),!!actions[Ie.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(Ie);return}var Ue=Fe.silent;doDispatchAction.call(this,Ie,Ue);var qe=Fe.flush;qe?this._zr.flush():qe!==!1&&env.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,Ue),triggerUpdatedEvent.call(this,Ue)}},$e.prototype.updateLabelLayout=function(){lifecycle.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},$e.prototype.appendData=function(Ie){if(this._disposed){this.id;return}var Fe=Ie.seriesIndex,Ue=this.getModel(),qe=Ue.getSeriesByIndex(Fe);qe.appendData(Ie),this._scheduler.unfinished=!0,this.getZr().wakeUp()},$e.internalField=function(){prepare=function(vn){var bn=vn._scheduler;bn.restorePipelines(vn._model),bn.prepareStageTasks(),prepareView(vn,!0),prepareView(vn,!1),bn.plan()},prepareView=function(vn,bn){for(var _n=vn._model,wn=vn._scheduler,kn=bn?vn._componentsViews:vn._chartsViews,Cn=bn?vn._componentsMap:vn._chartsMap,Sn=vn._zr,xn=vn._api,En=0;Enbn.get("hoverLayerThreshold")&&!env.node&&!env.worker&&bn.eachSeries(function(Cn){if(!Cn.preventUsingHoverLayer){var Sn=vn._chartsMap[Cn.__viewId];Sn.__alive&&Sn.eachRendered(function(xn){xn.states.emphasis&&(xn.states.emphasis.hoverLayer=!0)})}})}function At(vn,bn){var _n=vn.get("blendMode")||null;bn.eachRendered(function(wn){wn.isGroup||(wn.style.blend=_n)})}function Dt(vn,bn){if(!vn.preventAutoZ){var _n=vn.get("z")||0,wn=vn.get("zlevel")||0;bn.eachRendered(function(kn){return Lt(kn,_n,wn,-1/0),!0})}}function Lt(vn,bn,_n,wn){var kn=vn.getTextContent(),Cn=vn.getTextGuideLine(),Sn=vn.isGroup;if(Sn)for(var xn=vn.childrenRef(),En=0;En0?{duration:kn,delay:_n.get("delay"),easing:_n.get("easing")}:null;bn.eachRendered(function(Sn){if(Sn.states&&Sn.states.emphasis){if(isElementRemoved(Sn))return;if(Sn instanceof Path&&savePathStates(Sn),Sn.__dirty){var xn=Sn.prevStates;xn&&Sn.useStates(xn)}if(wn){Sn.stateTransition=Cn;var En=Sn.getTextContent(),Tn=Sn.getTextGuideLine();En&&(En.stateTransition=Cn),Tn&&(Tn.stateTransition=Cn)}Sn.__dirty&&Ue(Sn)}})}createExtensionAPI=function(vn){return new(function(bn){__extends(_n,bn);function _n(){return bn!==null&&bn.apply(this,arguments)||this}return _n.prototype.getCoordinateSystems=function(){return vn._coordSysMgr.getCoordinateSystems()},_n.prototype.getComponentByElement=function(wn){for(;wn;){var kn=wn.__ecComponentInfo;if(kn!=null)return vn._model.getComponent(kn.mainType,kn.index);wn=wn.parent}},_n.prototype.enterEmphasis=function(wn,kn){enterEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.leaveEmphasis=function(wn,kn){leaveEmphasis(wn,kn),markStatusToUpdate(vn)},_n.prototype.enterBlur=function(wn){enterBlur(wn),markStatusToUpdate(vn)},_n.prototype.leaveBlur=function(wn){leaveBlur(wn),markStatusToUpdate(vn)},_n.prototype.enterSelect=function(wn){enterSelect(wn),markStatusToUpdate(vn)},_n.prototype.leaveSelect=function(wn){leaveSelect(wn),markStatusToUpdate(vn)},_n.prototype.getModel=function(){return vn.getModel()},_n.prototype.getViewOfComponentModel=function(wn){return vn.getViewOfComponentModel(wn)},_n.prototype.getViewOfSeriesModel=function(wn){return vn.getViewOfSeriesModel(wn)},_n}(ExtensionAPI))(vn)},enableConnect=function(vn){function bn(_n,wn){for(var kn=0;kn<_n.length;kn++){var Cn=_n[kn];Cn[CONNECT_STATUS_KEY]=wn}}each$f(eventActionMap,function(_n,wn){vn._messageCenter.on(wn,function(kn){if(connectedGroups[vn.group]&&vn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_PENDING){if(kn&&kn.escapeConnect)return;var Cn=vn.makeActionFromEvent(kn),Sn=[];each$f(instances,function(xn){xn!==vn&&xn.group===vn.group&&Sn.push(xn)}),bn(Sn,CONNECT_STATUS_PENDING),each$f(Sn,function(xn){xn[CONNECT_STATUS_KEY]!==CONNECT_STATUS_UPDATING&&xn.dispatchAction(Cn)}),bn(Sn,CONNECT_STATUS_UPDATED)}})})}}(),$e}(Eventful),echartsProto=ECharts.prototype;echartsProto.on=createRegisterEventWithLowercaseECharts("on");echartsProto.off=createRegisterEventWithLowercaseECharts("off");echartsProto.one=function(xe,$e,Ie){var Fe=this;function Ue(){for(var qe=[],At=0;At=0)){registeredTasks.push(Ie);var qe=Scheduler.wrapStageHandler(Ie,Ue);qe.__prio=$e,qe.__raw=Ie,xe.push(qe)}}function registerLoading(xe,$e){loadingEffects[xe]=$e}function registerMap$1(xe,$e,Ie){var Fe=getImpl("registerMap");Fe&&Fe(xe,$e,Ie)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",theme);var extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap:registerMap$1,registerImpl,PRIORITY,ComponentModel,ComponentView,SeriesModel,ChartView,registerComponentModel:function(xe){ComponentModel.registerClass(xe)},registerComponentView:function(xe){ComponentView.registerClass(xe)},registerSeriesModel:function(xe){SeriesModel.registerClass(xe)},registerChartView:function(xe){ChartView.registerClass(xe)},registerSubTypeDefaulter:function(xe,$e){ComponentModel.registerSubTypeDefaulter(xe,$e)},registerPainter:function(xe,$e){registerPainter(xe,$e)}};function use(xe){if(isArray$1(xe)){each$f(xe,function($e){use($e)});return}indexOf(extensions,xe)>=0||(extensions.push(xe),isFunction(xe)&&(xe={install:xe}),xe.install(extensionRegisters))}function dataIndexMapValueLength(xe){return xe==null?0:xe.length||1}function defaultKeyGetter(xe){return xe}var DataDiffer=function(){function xe($e,Ie,Fe,Ue,qe,At){this._old=$e,this._new=Ie,this._oldKeyGetter=Fe||defaultKeyGetter,this._newKeyGetter=Ue||defaultKeyGetter,this.context=qe,this._diffModeMultiple=At==="multiple"}return xe.prototype.add=function($e){return this._add=$e,this},xe.prototype.update=function($e){return this._update=$e,this},xe.prototype.updateManyToOne=function($e){return this._updateManyToOne=$e,this},xe.prototype.updateOneToMany=function($e){return this._updateOneToMany=$e,this},xe.prototype.updateManyToMany=function($e){return this._updateManyToMany=$e,this},xe.prototype.remove=function($e){return this._remove=$e,this},xe.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},xe.prototype._executeOneToOne=function(){var $e=this._old,Ie=this._new,Fe={},Ue=new Array($e.length),qe=new Array(Ie.length);this._initIndexMap($e,null,Ue,"_oldKeyGetter"),this._initIndexMap(Ie,Fe,qe,"_newKeyGetter");for(var At=0;At<$e.length;At++){var Dt=Ue[At],Lt=Fe[Dt],jt=dataIndexMapValueLength(Lt);if(jt>1){var hn=Lt.shift();Lt.length===1&&(Fe[Dt]=Lt[0]),this._update&&this._update(hn,At)}else jt===1?(Fe[Dt]=null,this._update&&this._update(Lt,At)):this._remove&&this._remove(At)}this._performRestAdd(qe,Fe)},xe.prototype._executeMultiple=function(){var $e=this._old,Ie=this._new,Fe={},Ue={},qe=[],At=[];this._initIndexMap($e,Fe,qe,"_oldKeyGetter"),this._initIndexMap(Ie,Ue,At,"_newKeyGetter");for(var Dt=0;Dt1&&bn===1)this._updateManyToOne&&this._updateManyToOne(hn,jt),Ue[Lt]=null;else if(vn===1&&bn>1)this._updateOneToMany&&this._updateOneToMany(hn,jt),Ue[Lt]=null;else if(vn===1&&bn===1)this._update&&this._update(hn,jt),Ue[Lt]=null;else if(vn>1&&bn>1)this._updateManyToMany&&this._updateManyToMany(hn,jt),Ue[Lt]=null;else if(vn>1)for(var _n=0;_n1)for(var Dt=0;Dt30}var isObject$1=isObject$3,map=map$1,CtorInt32Array=typeof Int32Array>"u"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function xe($e,Ie){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var Fe,Ue=!1;isSeriesDataSchema($e)?(Fe=$e.dimensions,this._dimOmitted=$e.isDimensionOmitted(),this._schema=$e):(Ue=!0,Fe=$e),Fe=Fe||["x","y"];for(var qe={},At=[],Dt={},Lt=!1,jt={},hn=0;hn=Ie)){var Fe=this._store,Ue=Fe.getProvider();this._updateOrdinalMeta();var qe=this._nameList,At=this._idList,Dt=Ue.getSource().sourceFormat,Lt=Dt===SOURCE_FORMAT_ORIGINAL;if(Lt&&!Ue.pure)for(var jt=[],hn=$e;hn0},xe.prototype.ensureUniqueItemVisual=function($e,Ie){var Fe=this._itemVisuals,Ue=Fe[$e];Ue||(Ue=Fe[$e]={});var qe=Ue[Ie];return qe==null&&(qe=this.getVisual(Ie),isArray$1(qe)?qe=qe.slice():isObject$1(qe)&&(qe=extend({},qe)),Ue[Ie]=qe),qe},xe.prototype.setItemVisual=function($e,Ie,Fe){var Ue=this._itemVisuals[$e]||{};this._itemVisuals[$e]=Ue,isObject$1(Ie)?extend(Ue,Ie):Ue[Ie]=Fe},xe.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},xe.prototype.setLayout=function($e,Ie){isObject$1($e)?extend(this._layout,$e):this._layout[$e]=Ie},xe.prototype.getLayout=function($e){return this._layout[$e]},xe.prototype.getItemLayout=function($e){return this._itemLayouts[$e]},xe.prototype.setItemLayout=function($e,Ie,Fe){this._itemLayouts[$e]=Fe?extend(this._itemLayouts[$e]||{},Ie):Ie},xe.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},xe.prototype.setItemGraphicEl=function($e,Ie){var Fe=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(Fe,this.dataType,$e,Ie),this._graphicEls[$e]=Ie},xe.prototype.getItemGraphicEl=function($e){return this._graphicEls[$e]},xe.prototype.eachItemGraphicEl=function($e,Ie){each$f(this._graphicEls,function(Fe,Ue){Fe&&$e&&$e.call(Ie,Fe,Ue)})},xe.prototype.cloneShallow=function($e){return $e||($e=new xe(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties($e,this),$e._store=this._store,$e},xe.prototype.wrapMethod=function($e,Ie){var Fe=this[$e];isFunction(Fe)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push($e),this[$e]=function(){var Ue=Fe.apply(this,arguments);return Ie.apply(this,[Ue].concat(slice(arguments)))})},xe.internalField=function(){prepareInvertedIndex=function($e){var Ie=$e._invertedIndicesMap;each$f(Ie,function(Fe,Ue){var qe=$e._dimInfos[Ue],At=qe.ordinalMeta,Dt=$e._store;if(At){Fe=Ie[Ue]=new CtorInt32Array(At.categories.length);for(var Lt=0;Lt1&&(Lt+="__ec__"+hn),Ue[Ie]=Lt}}}(),xe}();function prepareSeriesDataSchema(xe,$e){isSourceInstance(xe)||(xe=createSourceFromSeriesDataOption(xe)),$e=$e||{};var Ie=$e.coordDimensions||[],Fe=$e.dimensionsDefine||xe.dimensionsDefine||[],Ue=createHashMap(),qe=[],At=getDimCount(xe,Ie,Fe,$e.dimensionsCount),Dt=$e.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(At),Lt=Fe===xe.dimensionsDefine,jt=Lt?ensureSourceDimNameMap(xe):createDimNameMap(Fe),hn=$e.encodeDefine;!hn&&$e.encodeDefaulter&&(hn=$e.encodeDefaulter(xe,At));for(var vn=createHashMap(hn),bn=new CtorInt32Array$1(At),_n=0;_n0&&(Fe.name=Ue+(qe-1)),qe++,$e.set(Ue,qe)}}function getDimCount(xe,$e,Ie,Fe){var Ue=Math.max(xe.dimensionsDetectedCount||1,$e.length,Ie.length,Fe||0);return each$f($e,function(qe){var At;isObject$3(qe)&&(At=qe.dimsDef)&&(Ue=Math.max(Ue,At.length))}),Ue}function genCoordDimName(xe,$e,Ie){if(Ie||$e.hasKey(xe)){for(var Fe=0;$e.hasKey(xe+Fe);)Fe++;xe+=Fe}return $e.set(xe,!0),xe}var CoordSysInfo=function(){function xe($e){this.coordSysDims=[],this.axisMap=createHashMap(),this.categoryAxisMap=createHashMap(),this.coordSysName=$e}return xe}();function getCoordSysInfoBySeries(xe){var $e=xe.get("coordinateSystem"),Ie=new CoordSysInfo($e),Fe=fetchers[$e];if(Fe)return Fe(xe,Ie,Ie.axisMap,Ie.categoryAxisMap),Ie}var fetchers={cartesian2d:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("xAxis",SINGLE_REFERRING).models[0],qe=xe.getReferringComponents("yAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["x","y"],Ie.set("x",Ue),Ie.set("y",qe),isCategory(Ue)&&(Fe.set("x",Ue),$e.firstCategoryDimIndex=0),isCategory(qe)&&(Fe.set("y",qe),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},singleAxis:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];$e.coordSysDims=["single"],Ie.set("single",Ue),isCategory(Ue)&&(Fe.set("single",Ue),$e.firstCategoryDimIndex=0)},polar:function(xe,$e,Ie,Fe){var Ue=xe.getReferringComponents("polar",SINGLE_REFERRING).models[0],qe=Ue.findAxisModel("radiusAxis"),At=Ue.findAxisModel("angleAxis");$e.coordSysDims=["radius","angle"],Ie.set("radius",qe),Ie.set("angle",At),isCategory(qe)&&(Fe.set("radius",qe),$e.firstCategoryDimIndex=0),isCategory(At)&&(Fe.set("angle",At),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=1))},geo:function(xe,$e,Ie,Fe){$e.coordSysDims=["lng","lat"]},parallel:function(xe,$e,Ie,Fe){var Ue=xe.ecModel,qe=Ue.getComponent("parallel",xe.get("parallelIndex")),At=$e.coordSysDims=qe.dimensions.slice();each$f(qe.parallelAxisIndex,function(Dt,Lt){var jt=Ue.getComponent("parallelAxis",Dt),hn=At[Lt];Ie.set(hn,jt),isCategory(jt)&&(Fe.set(hn,jt),$e.firstCategoryDimIndex==null&&($e.firstCategoryDimIndex=Lt))})}};function isCategory(xe){return xe.get("type")==="category"}function enableDataStack(xe,$e,Ie){Ie=Ie||{};var Fe=Ie.byIndex,Ue=Ie.stackedCoordDimension,qe,At,Dt;isLegacyDimensionsInput($e)?qe=$e:(At=$e.schema,qe=At.dimensions,Dt=$e.store);var Lt=!!(xe&&xe.get("stack")),jt,hn,vn,bn;if(each$f(qe,function(xn,En){isString(xn)&&(qe[En]=xn={name:xn}),Lt&&!xn.isExtraCoord&&(!Fe&&!jt&&xn.ordinalMeta&&(jt=xn),!hn&&xn.type!=="ordinal"&&xn.type!=="time"&&(!Ue||Ue===xn.coordDim)&&(hn=xn))}),hn&&!Fe&&!jt&&(Fe=!0),hn){vn="__\0ecstackresult_"+xe.id,bn="__\0ecstackedover_"+xe.id,jt&&(jt.createInvertedIndices=!0);var _n=hn.coordDim,wn=hn.type,kn=0;each$f(qe,function(xn){xn.coordDim===_n&&kn++});var Cn={name:vn,coordDim:_n,coordDimIndex:kn,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length},Sn={name:bn,coordDim:bn,coordDimIndex:kn+1,type:wn,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:qe.length+1};At?(Dt&&(Cn.storeDimIndex=Dt.ensureCalculationDimension(bn,wn),Sn.storeDimIndex=Dt.ensureCalculationDimension(vn,wn)),At.appendCalculationDimension(Cn),At.appendCalculationDimension(Sn)):(qe.push(Cn),qe.push(Sn))}return{stackedDimension:hn&&hn.name,stackedByDimension:jt&&jt.name,isStackedByIndex:Fe,stackedOverDimension:bn,stackResultDimension:vn}}function isLegacyDimensionsInput(xe){return!isSeriesDataSchema(xe.schema)}function isDimensionStacked(xe,$e){return!!$e&&$e===xe.getCalculationInfo("stackedDimension")}function getStackedDimension(xe,$e){return isDimensionStacked(xe,$e)?xe.getCalculationInfo("stackResultDimension"):$e}function getCoordSysDimDefs(xe,$e){var Ie=xe.get("coordinateSystem"),Fe=CoordinateSystemManager.get(Ie),Ue;return $e&&$e.coordSysDims&&(Ue=map$1($e.coordSysDims,function(qe){var At={name:qe},Dt=$e.axisMap.get(qe);if(Dt){var Lt=Dt.get("type");At.type=getDimensionTypeByAxis(Lt)}return At})),Ue||(Ue=Fe&&(Fe.getDimensionsInfo?Fe.getDimensionsInfo():Fe.dimensions.slice())||["x","y"]),Ue}function injectOrdinalMeta(xe,$e,Ie){var Fe,Ue;return Ie&&each$f(xe,function(qe,At){var Dt=qe.coordDim,Lt=Ie.categoryAxisMap.get(Dt);Lt&&(Fe==null&&(Fe=At),qe.ordinalMeta=Lt.getOrdinalMeta(),$e&&(qe.createInvertedIndices=!0)),qe.otherDims.itemName!=null&&(Ue=!0)}),!Ue&&Fe!=null&&(xe[Fe].otherDims.itemName=0),Fe}function createSeriesData(xe,$e,Ie){Ie=Ie||{};var Fe=$e.getSourceManager(),Ue,qe=!1;xe?(qe=!0,Ue=createSourceFromSeriesDataOption(xe)):(Ue=Fe.getSource(),qe=Ue.sourceFormat===SOURCE_FORMAT_ORIGINAL);var At=getCoordSysInfoBySeries($e),Dt=getCoordSysDimDefs($e,At),Lt=Ie.useEncodeDefaulter,jt=isFunction(Lt)?Lt:Lt?curry$1(makeSeriesEncodeForAxisCoordSys,Dt,$e):null,hn={coordDimensions:Dt,generateCoord:Ie.generateCoord,encodeDefine:$e.getEncode(),encodeDefaulter:jt,canOmitUnusedDimensions:!qe},vn=prepareSeriesDataSchema(Ue,hn),bn=injectOrdinalMeta(vn.dimensions,Ie.createInvertedIndices,At),_n=qe?null:Fe.getSharedDataStore(vn),wn=enableDataStack($e,{schema:vn,store:_n}),kn=new SeriesData(vn,$e);kn.setCalculationInfo(wn);var Cn=bn!=null&&isNeedCompleteOrdinalData(Ue)?function(Sn,xn,En,Tn){return Tn===bn?En:this.defaultDimValueGetter(Sn,xn,En,Tn)}:null;return kn.hasItemOption=!1,kn.initData(qe?Ue:_n,null,Cn),kn}function isNeedCompleteOrdinalData(xe){if(xe.sourceFormat===SOURCE_FORMAT_ORIGINAL){var $e=firstDataNotNull(xe.data||[]);return!isArray$1(getDataItemValue($e))}}function firstDataNotNull(xe){for(var $e=0;$eIe[1]&&(Ie[1]=$e[1])},xe.prototype.unionExtentFromData=function($e,Ie){this.unionExtent($e.getApproximateExtent(Ie))},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;isNaN($e)||(Fe[0]=$e),isNaN(Ie)||(Fe[1]=Ie)},xe.prototype.isInExtentRange=function($e){return this._extent[0]<=$e&&this._extent[1]>=$e},xe.prototype.isBlank=function(){return this._isBlank},xe.prototype.setBlank=function($e){this._isBlank=$e},xe}();enableClassManagement(Scale);var uidBase=0,OrdinalMeta=function(){function xe($e){this.categories=$e.categories||[],this._needCollect=$e.needCollect,this._deduplication=$e.deduplication,this.uid=++uidBase}return xe.createByAxisModel=function($e){var Ie=$e.option,Fe=Ie.data,Ue=Fe&&map$1(Fe,getName);return new xe({categories:Ue,needCollect:!Ue,deduplication:Ie.dedplication!==!1})},xe.prototype.getOrdinal=function($e){return this._getOrCreateMap().get($e)},xe.prototype.parseAndCollect=function($e){var Ie,Fe=this._needCollect;if(!isString($e)&&!Fe)return $e;if(Fe&&!this._deduplication)return Ie=this.categories.length,this.categories[Ie]=$e,Ie;var Ue=this._getOrCreateMap();return Ie=Ue.get($e),Ie==null&&(Fe?(Ie=this.categories.length,this.categories[Ie]=$e,Ue.set($e,Ie)):Ie=NaN),Ie},xe.prototype._getOrCreateMap=function(){return this._map||(this._map=createHashMap(this.categories))},xe}();function getName(xe){return isObject$3(xe)&&xe.value!=null?xe.value:xe+""}function isIntervalOrLogScale(xe){return xe.type==="interval"||xe.type==="log"}function intervalScaleNiceTicks(xe,$e,Ie,Fe){var Ue={},qe=xe[1]-xe[0],At=Ue.interval=nice(qe/$e);Ie!=null&&AtFe&&(At=Ue.interval=Fe);var Dt=Ue.intervalPrecision=getIntervalPrecision(At),Lt=Ue.niceTickExtent=[round$3(Math.ceil(xe[0]/At)*At,Dt),round$3(Math.floor(xe[1]/At)*At,Dt)];return fixExtent(Lt,xe),Ue}function increaseInterval(xe){var $e=Math.pow(10,quantityExponent(xe)),Ie=xe/$e;return Ie?Ie===2?Ie=3:Ie===3?Ie=5:Ie*=2:Ie=1,round$3(Ie*$e)}function getIntervalPrecision(xe){return getPrecision(xe)+2}function clamp(xe,$e,Ie){xe[$e]=Math.max(Math.min(xe[$e],Ie[1]),Ie[0])}function fixExtent(xe,$e){!isFinite(xe[0])&&(xe[0]=$e[0]),!isFinite(xe[1])&&(xe[1]=$e[1]),clamp(xe,0,$e),clamp(xe,1,$e),xe[0]>xe[1]&&(xe[0]=xe[1])}function contain$1(xe,$e){return xe>=$e[0]&&xe<=$e[1]}function normalize$2(xe,$e){return $e[1]===$e[0]?.5:(xe-$e[0])/($e[1]-$e[0])}function scale(xe,$e){return xe*($e[1]-$e[0])+$e[0]}var OrdinalScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;Fe.type="ordinal";var Ue=Fe.getSetting("ordinalMeta");return Ue||(Ue=new OrdinalMeta({})),isArray$1(Ue)&&(Ue=new OrdinalMeta({categories:map$1(Ue,function(qe){return isObject$3(qe)?qe.value:qe})})),Fe._ordinalMeta=Ue,Fe._extent=Fe.getSetting("extent")||[0,Ue.categories.length-1],Fe}return $e.prototype.parse=function(Ie){return Ie==null?NaN:isString(Ie)?this._ordinalMeta.getOrdinal(Ie):Math.round(Ie)},$e.prototype.contain=function(Ie){return Ie=this.parse(Ie),contain$1(Ie,this._extent)&&this._ordinalMeta.categories[Ie]!=null},$e.prototype.normalize=function(Ie){return Ie=this._getTickNumber(this.parse(Ie)),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=Math.round(scale(Ie,this._extent)),this.getRawOrdinalNumber(Ie)},$e.prototype.getTicks=function(){for(var Ie=[],Fe=this._extent,Ue=Fe[0];Ue<=Fe[1];)Ie.push({value:Ue}),Ue++;return Ie},$e.prototype.getMinorTicks=function(Ie){},$e.prototype.setSortInfo=function(Ie){if(Ie==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var Fe=Ie.ordinalNumbers,Ue=this._ordinalNumbersByTick=[],qe=this._ticksByOrdinalNumber=[],At=0,Dt=this._ordinalMeta.categories.length,Lt=Math.min(Dt,Fe.length);At=0&&Ie=0&&Ie=Ie},$e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},$e.prototype.calcNiceTicks=function(){},$e.prototype.calcNiceExtent=function(){},$e.type="ordinal",$e}(Scale);Scale.registerClass(OrdinalScale);var roundNumber=round$3,IntervalScale=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="interval",Ie._interval=0,Ie._intervalPrecision=2,Ie}return $e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.prototype.setExtent=function(Ie,Fe){var Ue=this._extent;isNaN(Ie)||(Ue[0]=parseFloat(Ie)),isNaN(Fe)||(Ue[1]=parseFloat(Fe))},$e.prototype.unionExtent=function(Ie){var Fe=this._extent;Ie[0]Fe[1]&&(Fe[1]=Ie[1]),this.setExtent(Fe[0],Fe[1])},$e.prototype.getInterval=function(){return this._interval},$e.prototype.setInterval=function(Ie){this._interval=Ie,this._niceExtent=this._extent.slice(),this._intervalPrecision=getIntervalPrecision(Ie)},$e.prototype.getTicks=function(Ie){var Fe=this._interval,Ue=this._extent,qe=this._niceExtent,At=this._intervalPrecision,Dt=[];if(!Fe)return Dt;var Lt=1e4;Ue[0]Lt)return[];var hn=Dt.length?Dt[Dt.length-1].value:qe[1];return Ue[1]>hn&&(Ie?Dt.push({value:roundNumber(hn+Fe,At)}):Dt.push({value:Ue[1]})),Dt},$e.prototype.getMinorTicks=function(Ie){for(var Fe=this.getTicks(!0),Ue=[],qe=this.getExtent(),At=1;Atqe[0]&&_n0&&(qe=qe===null?Dt:Math.min(qe,Dt))}Ie[Fe]=qe}}return Ie}function makeColumnLayout(xe){var $e=getValueAxesMinGaps(xe),Ie=[];return each$f(xe,function(Fe){var Ue=Fe.coordinateSystem,qe=Ue.getBaseAxis(),At=qe.getExtent(),Dt;if(qe.type==="category")Dt=qe.getBandWidth();else if(qe.type==="value"||qe.type==="time"){var Lt=qe.dim+"_"+qe.index,jt=$e[Lt],hn=Math.abs(At[1]-At[0]),vn=qe.scale.getExtent(),bn=Math.abs(vn[1]-vn[0]);Dt=jt?hn/bn*jt:hn}else{var _n=Fe.getData();Dt=Math.abs(At[1]-At[0])/_n.count()}var wn=parsePercent(Fe.get("barWidth"),Dt),kn=parsePercent(Fe.get("barMaxWidth"),Dt),Cn=parsePercent(Fe.get("barMinWidth")||(isInLargeMode(Fe)?.5:1),Dt),Sn=Fe.get("barGap"),xn=Fe.get("barCategoryGap");Ie.push({bandWidth:Dt,barWidth:wn,barMaxWidth:kn,barMinWidth:Cn,barGap:Sn,barCategoryGap:xn,axisKey:getAxisKey$1(qe),stackId:getSeriesStackId$1(Fe)})}),doCalBarWidthAndOffset(Ie)}function doCalBarWidthAndOffset(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.axisKey,At=Fe.bandWidth,Dt=$e[qe]||{bandWidth:At,remainedWidth:At,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},Lt=Dt.stacks;$e[qe]=Dt;var jt=Fe.stackId;Lt[jt]||Dt.autoWidthCount++,Lt[jt]=Lt[jt]||{width:0,maxWidth:0};var hn=Fe.barWidth;hn&&!Lt[jt].width&&(Lt[jt].width=hn,hn=Math.min(Dt.remainedWidth,hn),Dt.remainedWidth-=hn);var vn=Fe.barMaxWidth;vn&&(Lt[jt].maxWidth=vn);var bn=Fe.barMinWidth;bn&&(Lt[jt].minWidth=bn);var _n=Fe.barGap;_n!=null&&(Dt.gap=_n);var wn=Fe.barCategoryGap;wn!=null&&(Dt.categoryGap=wn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=Fe.categoryGap;if(Dt==null){var Lt=keys(qe).length;Dt=Math.max(35-Lt*4,15)+"%"}var jt=parsePercent(Dt,At),hn=parsePercent(Fe.gap,1),vn=Fe.remainedWidth,bn=Fe.autoWidthCount,_n=(vn-jt)/(bn+(bn-1)*hn);_n=Math.max(_n,0),each$f(qe,function(Sn){var xn=Sn.maxWidth,En=Sn.minWidth;if(Sn.width){var Tn=Sn.width;xn&&(Tn=Math.min(Tn,xn)),En&&(Tn=Math.max(Tn,En)),Sn.width=Tn,vn-=Tn+hn*Tn,bn--}else{var Tn=_n;xn&&xnTn&&(Tn=En),Tn!==_n&&(Sn.width=Tn,vn-=Tn+hn*Tn,bn--)}}),_n=(vn-jt)/(bn+(bn-1)*hn),_n=Math.max(_n,0);var wn=0,kn;each$f(qe,function(Sn,xn){Sn.width||(Sn.width=_n),kn=Sn,wn+=Sn.width*(1+hn)}),kn&&(wn-=kn.width*hn);var Cn=-wn/2;each$f(qe,function(Sn,xn){Ie[Ue][xn]=Ie[Ue][xn]||{bandWidth:At,offset:Cn,width:Sn.width},Cn+=Sn.width*(1+hn)})}),Ie}function retrieveColumnLayout(xe,$e,Ie){if(xe&&$e){var Fe=xe[getAxisKey$1($e)];return Fe!=null&&Ie!=null?Fe[getSeriesStackId$1(Ie)]:Fe}}function layout$3(xe,$e){var Ie=prepareLayoutBarSeries(xe,$e),Fe=makeColumnLayout(Ie);each$f(Ie,function(Ue){var qe=Ue.getData(),At=Ue.coordinateSystem,Dt=At.getBaseAxis(),Lt=getSeriesStackId$1(Ue),jt=Fe[getAxisKey$1(Dt)][Lt],hn=jt.offset,vn=jt.width;qe.setLayout({bandWidth:jt.bandWidth,offset:hn,size:vn})})}function createProgressiveLayout(xe){return{seriesType:xe,plan:createRenderPlanner(),reset:function($e){if(isOnCartesian($e)){var Ie=$e.getData(),Fe=$e.coordinateSystem,Ue=Fe.getBaseAxis(),qe=Fe.getOtherAxis(Ue),At=Ie.getDimensionIndex(Ie.mapDimension(qe.dim)),Dt=Ie.getDimensionIndex(Ie.mapDimension(Ue.dim)),Lt=$e.get("showBackground",!0),jt=Ie.mapDimension(qe.dim),hn=Ie.getCalculationInfo("stackResultDimension"),vn=isDimensionStacked(Ie,jt)&&!!Ie.getCalculationInfo("stackedOnSeries"),bn=qe.isHorizontal(),_n=getValueAxisStart(Ue,qe),wn=isInLargeMode($e),kn=$e.get("barMinHeight")||0,Cn=hn&&Ie.getDimensionIndex(hn),Sn=Ie.getLayout("size"),xn=Ie.getLayout("offset");return{progress:function(En,Tn){for(var An=En.count,$n=wn&&createFloat32Array(An*3),Pn=wn&&Lt&&createFloat32Array(An*3),Nn=wn&&createFloat32Array(An),Mn=Fe.master.getRect(),In=bn?Mn.width:Mn.height,On,Rn=Tn.getStore(),Bn=0;(On=En.next())!=null;){var Vn=Rn.get(vn?Cn:At,On),Ln=Rn.get(Dt,On),Dn=_n,Hn=void 0;vn&&(Hn=+Vn-Rn.get(At,On));var Fn=void 0,zn=void 0,jn=void 0,Gn=void 0;if(bn){var Wn=Fe.dataToPoint([Vn,Ln]);if(vn){var Xn=Fe.dataToPoint([Hn,Ln]);Dn=Xn[0]}Fn=Dn,zn=Wn[1]+xn,jn=Wn[0]-Dn,Gn=Sn,Math.abs(jn)>>1;xe[Ue][1]<$e?Ie=Ue+1:Fe=Ue}return Ie},TimeScale=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="time",Fe}return $e.prototype.getLabel=function(Ie){var Fe=this.getSetting("useUTC");return format(Ie.value,fullLeveledFormatter[getDefaultFormatPrecisionOfInterval(getPrimaryTimeUnit(this._minLevelUnit))]||fullLeveledFormatter.second,Fe,this.getSetting("locale"))},$e.prototype.getFormattedLabel=function(Ie,Fe,Ue){var qe=this.getSetting("useUTC"),At=this.getSetting("locale");return leveledFormat(Ie,Fe,Ue,At,qe)},$e.prototype.getTicks=function(){var Ie=this._interval,Fe=this._extent,Ue=[];if(!Ie)return Ue;Ue.push({value:Fe[0],level:0});var qe=this.getSetting("useUTC"),At=getIntervalTicks(this._minLevelUnit,this._approxInterval,qe,Fe);return Ue=Ue.concat(At),Ue.push({value:Fe[1],level:0}),Ue},$e.prototype.calcNiceExtent=function(Ie){var Fe=this._extent;if(Fe[0]===Fe[1]&&(Fe[0]-=ONE_DAY,Fe[1]+=ONE_DAY),Fe[1]===-1/0&&Fe[0]===1/0){var Ue=new Date;Fe[1]=+new Date(Ue.getFullYear(),Ue.getMonth(),Ue.getDate()),Fe[0]=Fe[1]-ONE_DAY}this.calcNiceTicks(Ie.splitNumber,Ie.minInterval,Ie.maxInterval)},$e.prototype.calcNiceTicks=function(Ie,Fe,Ue){Ie=Ie||10;var qe=this._extent,At=qe[1]-qe[0];this._approxInterval=At/Ie,Fe!=null&&this._approxIntervalUe&&(this._approxInterval=Ue);var Dt=scaleIntervals.length,Lt=Math.min(bisect(scaleIntervals,this._approxInterval,0,Dt),Dt-1);this._interval=scaleIntervals[Lt][1],this._minLevelUnit=scaleIntervals[Math.max(Lt-1,0)][0]},$e.prototype.parse=function(Ie){return isNumber(Ie)?Ie:+parseDate(Ie)},$e.prototype.contain=function(Ie){return contain$1(this.parse(Ie),this._extent)},$e.prototype.normalize=function(Ie){return normalize$2(this.parse(Ie),this._extent)},$e.prototype.scale=function(Ie){return scale(Ie,this._extent)},$e.type="time",$e}(IntervalScale),scaleIntervals=[["second",ONE_SECOND],["minute",ONE_MINUTE],["hour",ONE_HOUR],["quarter-day",ONE_HOUR*6],["half-day",ONE_HOUR*12],["day",ONE_DAY*1.2],["half-week",ONE_DAY*3.5],["week",ONE_DAY*7],["month",ONE_DAY*31],["quarter",ONE_DAY*95],["half-year",ONE_YEAR/2],["year",ONE_YEAR]];function isUnitValueSame(xe,$e,Ie,Fe){var Ue=parseDate($e),qe=parseDate(Ie),At=function(wn){return getUnitValue(Ue,wn,Fe)===getUnitValue(qe,wn,Fe)},Dt=function(){return At("year")},Lt=function(){return Dt()&&At("month")},jt=function(){return Lt()&&At("day")},hn=function(){return jt()&&At("hour")},vn=function(){return hn()&&At("minute")},bn=function(){return vn()&&At("second")},_n=function(){return bn()&&At("millisecond")};switch(xe){case"year":return Dt();case"month":return Lt();case"day":return jt();case"hour":return hn();case"minute":return vn();case"second":return bn();case"millisecond":return _n()}}function getDateInterval(xe,$e){return xe/=ONE_DAY,xe>16?16:xe>7.5?7:xe>3.5?4:xe>1.5?2:1}function getMonthInterval(xe){var $e=30*ONE_DAY;return xe/=$e,xe>6?6:xe>3?3:xe>2?2:1}function getHourInterval(xe){return xe/=ONE_HOUR,xe>12?12:xe>6?6:xe>3.5?4:xe>2?2:1}function getMinutesAndSecondsInterval(xe,$e){return xe/=$e?ONE_MINUTE:ONE_SECOND,xe>30?30:xe>20?20:xe>15?15:xe>10?10:xe>5?5:xe>2?2:1}function getMillisecondsInterval(xe){return nice(xe)}function getFirstTimestampOfUnit(xe,$e,Ie){var Fe=new Date(xe);switch(getPrimaryTimeUnit($e)){case"year":case"month":Fe[monthSetterName(Ie)](0);case"day":Fe[dateSetterName(Ie)](1);case"hour":Fe[hoursSetterName(Ie)](0);case"minute":Fe[minutesSetterName(Ie)](0);case"second":Fe[secondsSetterName(Ie)](0),Fe[millisecondsSetterName(Ie)](0)}return Fe.getTime()}function getIntervalTicks(xe,$e,Ie,Fe){var Ue=1e4,qe=timeUnits,At=0;function Dt(In,On,Rn,Bn,Vn,Ln,Dn){for(var Hn=new Date(On),Fn=On,zn=Hn[Bn]();Fn1&&Ln===0&&Rn.unshift({value:Rn[0].value-Fn})}}for(var Ln=0;Ln=Fe[0]&&xn<=Fe[1]&&vn++)}var En=(Fe[1]-Fe[0])/$e;if(vn>En*1.5&&bn>En/1.5||(jt.push(Cn),vn>En||xe===qe[_n]))break}hn=[]}}}for(var Tn=filter(map$1(jt,function(In){return filter(In,function(On){return On.value>=Fe[0]&&On.value<=Fe[1]&&!On.notAdd})}),function(In){return In.length>0}),An=[],$n=Tn.length-1,_n=0;_n0;)qe*=10;var Dt=[round$3(mathCeil$1(Fe[0]/qe)*qe),round$3(mathFloor$1(Fe[1]/qe)*qe)];this._interval=qe,this._niceExtent=Dt}},$e.prototype.calcNiceExtent=function(Ie){intervalScaleProto.calcNiceExtent.call(this,Ie),this._fixMin=Ie.fixMin,this._fixMax=Ie.fixMax},$e.prototype.parse=function(Ie){return Ie},$e.prototype.contain=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),contain$1(Ie,this._extent)},$e.prototype.normalize=function(Ie){return Ie=mathLog$1(Ie)/mathLog$1(this.base),normalize$2(Ie,this._extent)},$e.prototype.scale=function(Ie){return Ie=scale(Ie,this._extent),mathPow$1(this.base,Ie)},$e.type="log",$e}(Scale),proto=LogScale.prototype;proto.getMinorTicks=intervalScaleProto.getMinorTicks;proto.getLabel=intervalScaleProto.getLabel;function fixRoundingError(xe,$e){return roundingErrorFix(xe,getPrecision($e))}Scale.registerClass(LogScale);var ScaleRawExtentInfo=function(){function xe($e,Ie,Fe){this._prepareParams($e,Ie,Fe)}return xe.prototype._prepareParams=function($e,Ie,Fe){Fe[1]0&&Lt>0&&!jt&&(Dt=0),Dt<0&&Lt<0&&!hn&&(Lt=0));var bn=this._determinedMin,_n=this._determinedMax;return bn!=null&&(Dt=bn,jt=!0),_n!=null&&(Lt=_n,hn=!0),{min:Dt,max:Lt,minFixed:jt,maxFixed:hn,isBlank:vn}},xe.prototype.modifyDataMinMax=function($e,Ie){this[DATA_MIN_MAX_ATTR[$e]]=Ie},xe.prototype.setDeterminedMinMax=function($e,Ie){var Fe=DETERMINED_MIN_MAX_ATTR[$e];this[Fe]=Ie},xe.prototype.freeze=function(){this.frozen=!0},xe}(),DETERMINED_MIN_MAX_ATTR={min:"_determinedMin",max:"_determinedMax"},DATA_MIN_MAX_ATTR={min:"_dataMin",max:"_dataMax"};function ensureScaleRawExtentInfo(xe,$e,Ie){var Fe=xe.rawExtentInfo;return Fe||(Fe=new ScaleRawExtentInfo(xe,$e,Ie),xe.rawExtentInfo=Fe,Fe)}function parseAxisModelMinMax(xe,$e){return $e==null?null:eqNaN($e)?NaN:xe.parse($e)}function getScaleExtent(xe,$e){var Ie=xe.type,Fe=ensureScaleRawExtentInfo(xe,$e,xe.getExtent()).calculate();xe.setBlank(Fe.isBlank);var Ue=Fe.min,qe=Fe.max,At=$e.ecModel;if(At&&Ie==="time"){var Dt=prepareLayoutBarSeries("bar",At),Lt=!1;if(each$f(Dt,function(vn){Lt=Lt||vn.getBaseAxis()===$e.axis}),Lt){var jt=makeColumnLayout(Dt),hn=adjustScaleForOverflow(Ue,qe,$e,jt);Ue=hn.min,qe=hn.max}}return{extent:[Ue,qe],fixMin:Fe.minFixed,fixMax:Fe.maxFixed}}function adjustScaleForOverflow(xe,$e,Ie,Fe){var Ue=Ie.axis.getExtent(),qe=Ue[1]-Ue[0],At=retrieveColumnLayout(Fe,Ie.axis);if(At===void 0)return{min:xe,max:$e};var Dt=1/0;each$f(At,function(_n){Dt=Math.min(_n.offset,Dt)});var Lt=-1/0;each$f(At,function(_n){Lt=Math.max(_n.offset+_n.width,Lt)}),Dt=Math.abs(Dt),Lt=Math.abs(Lt);var jt=Dt+Lt,hn=$e-xe,vn=1-(Dt+Lt)/qe,bn=hn/vn-hn;return $e+=bn*(Lt/jt),xe-=bn*(Dt/jt),{min:xe,max:$e}}function niceScaleExtent(xe,$e){var Ie=$e,Fe=getScaleExtent(xe,Ie),Ue=Fe.extent,qe=Ie.get("splitNumber");xe instanceof LogScale&&(xe.base=Ie.get("logBase"));var At=xe.type,Dt=Ie.get("interval"),Lt=At==="interval"||At==="time";xe.setExtent(Ue[0],Ue[1]),xe.calcNiceExtent({splitNumber:qe,fixMin:Fe.fixMin,fixMax:Fe.fixMax,minInterval:Lt?Ie.get("minInterval"):null,maxInterval:Lt?Ie.get("maxInterval"):null}),Dt!=null&&xe.setInterval&&xe.setInterval(Dt)}function createScaleByModel$1(xe,$e){if($e=$e||xe.get("type"),$e)switch($e){case"category":return new OrdinalScale({ordinalMeta:xe.getOrdinalMeta?xe.getOrdinalMeta():xe.getCategories(),extent:[1/0,-1/0]});case"time":return new TimeScale({locale:xe.ecModel.getLocaleModel(),useUTC:xe.ecModel.get("useUTC")});default:return new(Scale.getClass($e)||IntervalScale)}}function ifAxisCrossZero(xe){var $e=xe.scale.getExtent(),Ie=$e[0],Fe=$e[1];return!(Ie>0&&Fe>0||Ie<0&&Fe<0)}function makeLabelFormatter(xe){var $e=xe.getLabelModel().get("formatter"),Ie=xe.type==="category"?xe.scale.getExtent()[0]:null;return xe.scale.type==="time"?function(Fe){return function(Ue,qe){return xe.scale.getFormattedLabel(Ue,qe,Fe)}}($e):isString($e)?function(Fe){return function(Ue){var qe=xe.scale.getLabel(Ue),At=Fe.replace("{value}",qe??"");return At}}($e):isFunction($e)?function(Fe){return function(Ue,qe){return Ie!=null&&(qe=Ue.value-Ie),Fe(getAxisRawValue(xe,Ue),qe,Ue.level!=null?{level:Ue.level}:null)}}($e):function(Fe){return xe.scale.getLabel(Fe)}}function getAxisRawValue(xe,$e){return xe.type==="category"?xe.scale.getLabel($e):$e.value}function estimateLabelUnionRect(xe){var $e=xe.model,Ie=xe.scale;if(!(!$e.get(["axisLabel","show"])||Ie.isBlank())){var Fe,Ue,qe=Ie.getExtent();Ie instanceof OrdinalScale?Ue=Ie.count():(Fe=Ie.getTicks(),Ue=Fe.length);var At=xe.getLabelModel(),Dt=makeLabelFormatter(xe),Lt,jt=1;Ue>40&&(jt=Math.ceil(Ue/40));for(var hn=0;hnxe[1]&&(xe[1]=Ue[1])})}var AxisModelCommonMixin=function(){function xe(){}return xe.prototype.getNeedCrossZero=function(){var $e=this.option;return!$e.scale},xe.prototype.getCoordSysModel=function(){},xe}(),EPSILON=1e-8;function isAroundEqual(xe,$e){return Math.abs(xe-$e)Ue&&(Fe=At,Ue=Lt)}if(Fe)return centroid$1(Fe.exterior);var jt=this.getBoundingRect();return[jt.x+jt.width/2,jt.y+jt.height/2]},$e.prototype.getBoundingRect=function(Ie){var Fe=this._rect;if(Fe&&!Ie)return Fe;var Ue=[1/0,1/0],qe=[-1/0,-1/0],At=this.geometries;return each$f(At,function(Dt){Dt.type==="polygon"?updateBBoxFromPoints(Dt.exterior,Ue,qe,Ie):each$f(Dt.points,function(Lt){updateBBoxFromPoints(Lt,Ue,qe,Ie)})}),isFinite(Ue[0])&&isFinite(Ue[1])&&isFinite(qe[0])&&isFinite(qe[1])||(Ue[0]=Ue[1]=qe[0]=qe[1]=0),Fe=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]),Ie||(this._rect=Fe),Fe},$e.prototype.contain=function(Ie){var Fe=this.getBoundingRect(),Ue=this.geometries;if(!Fe.contain(Ie[0],Ie[1]))return!1;e:for(var qe=0,At=Ue.length;qe>1^-(Dt&1),Lt=Lt>>1^-(Lt&1),Dt+=Ue,Lt+=qe,Ue=Dt,qe=Lt,Fe.push([Dt/Ie,Lt/Ie])}return Fe}function parseGeoJSON(xe,$e){return xe=decode(xe),map$1(filter(xe.features,function(Ie){return Ie.geometry&&Ie.properties&&Ie.geometry.coordinates.length>0}),function(Ie){var Fe=Ie.properties,Ue=Ie.geometry,qe=[];switch(Ue.type){case"Polygon":var At=Ue.coordinates;qe.push(new GeoJSONPolygonGeometry(At[0],At.slice(1)));break;case"MultiPolygon":each$f(Ue.coordinates,function(Lt){Lt[0]&&qe.push(new GeoJSONPolygonGeometry(Lt[0],Lt.slice(1)))});break;case"LineString":qe.push(new GeoJSONLineStringGeometry([Ue.coordinates]));break;case"MultiLineString":qe.push(new GeoJSONLineStringGeometry(Ue.coordinates))}var Dt=new GeoJSONRegion(Fe[$e||"name"],qe,Fe.cp);return Dt.properties=Fe,Dt})}var inner$g=makeInner();function createAxisLabels(xe){return xe.type==="category"?makeCategoryLabels(xe):makeRealNumberLabels(xe)}function createAxisTicks(xe,$e){return xe.type==="category"?makeCategoryTicks(xe,$e):{ticks:map$1(xe.scale.getTicks(),function(Ie){return Ie.value})}}function makeCategoryLabels(xe){var $e=xe.getLabelModel(),Ie=makeCategoryLabelsActually(xe,$e);return!$e.get("show")||xe.scale.isBlank()?{labels:[],labelCategoryInterval:Ie.labelCategoryInterval}:Ie}function makeCategoryLabelsActually(xe,$e){var Ie=getListCache(xe,"labels"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;return isFunction(Fe)?qe=makeLabelsByCustomizedCategoryInterval(xe,Fe):(At=Fe==="auto"?makeAutoCategoryInterval(xe):Fe,qe=makeLabelsByNumericCategoryInterval(xe,At)),listCacheSet(Ie,Fe,{labels:qe,labelCategoryInterval:At})}function makeCategoryTicks(xe,$e){var Ie=getListCache(xe,"ticks"),Fe=getOptionCategoryInterval($e),Ue=listCacheGet(Ie,Fe);if(Ue)return Ue;var qe,At;if((!$e.get("show")||xe.scale.isBlank())&&(qe=[]),isFunction(Fe))qe=makeLabelsByCustomizedCategoryInterval(xe,Fe,!0);else if(Fe==="auto"){var Dt=makeCategoryLabelsActually(xe,xe.getLabelModel());At=Dt.labelCategoryInterval,qe=map$1(Dt.labels,function(Lt){return Lt.tickValue})}else At=Fe,qe=makeLabelsByNumericCategoryInterval(xe,At,!0);return listCacheSet(Ie,Fe,{ticks:qe,tickCategoryInterval:At})}function makeRealNumberLabels(xe){var $e=xe.scale.getTicks(),Ie=makeLabelFormatter(xe);return{labels:map$1($e,function(Fe,Ue){return{level:Fe.level,formattedLabel:Ie(Fe,Ue),rawLabel:xe.scale.getLabel(Fe),tickValue:Fe.value}})}}function getListCache(xe,$e){return inner$g(xe)[$e]||(inner$g(xe)[$e]=[])}function listCacheGet(xe,$e){for(var Ie=0;Ie40&&(Dt=Math.max(1,Math.floor(At/40)));for(var Lt=qe[0],jt=xe.dataToCoord(Lt+1)-xe.dataToCoord(Lt),hn=Math.abs(jt*Math.cos(Fe)),vn=Math.abs(jt*Math.sin(Fe)),bn=0,_n=0;Lt<=qe[1];Lt+=Dt){var wn=0,kn=0,Cn=getBoundingRect(Ie({value:Lt}),$e.font,"center","top");wn=Cn.width*1.3,kn=Cn.height*1.3,bn=Math.max(bn,wn,7),_n=Math.max(_n,kn,7)}var Sn=bn/hn,xn=_n/vn;isNaN(Sn)&&(Sn=1/0),isNaN(xn)&&(xn=1/0);var En=Math.max(0,Math.floor(Math.min(Sn,xn))),Tn=inner$g(xe.model),An=xe.getExtent(),$n=Tn.lastAutoInterval,Pn=Tn.lastTickCount;return $n!=null&&Pn!=null&&Math.abs($n-En)<=1&&Math.abs(Pn-At)<=1&&$n>En&&Tn.axisExtent0===An[0]&&Tn.axisExtent1===An[1]?En=$n:(Tn.lastTickCount=At,Tn.lastAutoInterval=En,Tn.axisExtent0=An[0],Tn.axisExtent1=An[1]),En}function fetchAutoCategoryIntervalCalculationParams(xe){var $e=xe.getLabelModel();return{axisRotate:xe.getRotate?xe.getRotate():xe.isHorizontal&&!xe.isHorizontal()?90:0,labelRotate:$e.get("rotate")||0,font:$e.getFont()}}function makeLabelsByNumericCategoryInterval(xe,$e,Ie){var Fe=makeLabelFormatter(xe),Ue=xe.scale,qe=Ue.getExtent(),At=xe.getLabelModel(),Dt=[],Lt=Math.max(($e||0)+1,1),jt=qe[0],hn=Ue.count();jt!==0&&Lt>1&&hn/Lt>2&&(jt=Math.round(Math.ceil(jt/Lt)*Lt));var vn=shouldShowAllLabels(xe),bn=At.get("showMinLabel")||vn,_n=At.get("showMaxLabel")||vn;bn&&jt!==qe[0]&&kn(qe[0]);for(var wn=jt;wn<=qe[1];wn+=Lt)kn(wn);_n&&wn-Lt!==qe[1]&&kn(qe[1]);function kn(Cn){var Sn={value:Cn};Dt.push(Ie?Cn:{formattedLabel:Fe(Sn),rawLabel:Ue.getLabel(Sn),tickValue:Cn})}return Dt}function makeLabelsByCustomizedCategoryInterval(xe,$e,Ie){var Fe=xe.scale,Ue=makeLabelFormatter(xe),qe=[];return each$f(Fe.getTicks(),function(At){var Dt=Fe.getLabel(At),Lt=At.value;$e(At.value,Dt)&&qe.push(Ie?Lt:{formattedLabel:Ue(At),rawLabel:Dt,tickValue:Lt})}),qe}var NORMALIZED_EXTENT=[0,1],Axis=function(){function xe($e,Ie,Fe){this.onBand=!1,this.inverse=!1,this.dim=$e,this.scale=Ie,this._extent=Fe||[0,0]}return xe.prototype.contain=function($e){var Ie=this._extent,Fe=Math.min(Ie[0],Ie[1]),Ue=Math.max(Ie[0],Ie[1]);return $e>=Fe&&$e<=Ue},xe.prototype.containData=function($e){return this.scale.contain($e)},xe.prototype.getExtent=function(){return this._extent.slice()},xe.prototype.getPixelPrecision=function($e){return getPixelPrecision($e||this.scale.getExtent(),this._extent)},xe.prototype.setExtent=function($e,Ie){var Fe=this._extent;Fe[0]=$e,Fe[1]=Ie},xe.prototype.dataToCoord=function($e,Ie){var Fe=this._extent,Ue=this.scale;return $e=Ue.normalize($e),this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count())),linearMap$2($e,NORMALIZED_EXTENT,Fe,Ie)},xe.prototype.coordToData=function($e,Ie){var Fe=this._extent,Ue=this.scale;this.onBand&&Ue.type==="ordinal"&&(Fe=Fe.slice(),fixExtentWithBands(Fe,Ue.count()));var qe=linearMap$2($e,Fe,NORMALIZED_EXTENT,Ie);return this.scale.scale(qe)},xe.prototype.pointToData=function($e,Ie){},xe.prototype.getTicksCoords=function($e){$e=$e||{};var Ie=$e.tickModel||this.getTickModel(),Fe=createAxisTicks(this,Ie),Ue=Fe.ticks,qe=map$1(Ue,function(Dt){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(Dt):Dt),tickValue:Dt}},this),At=Ie.get("alignWithLabel");return fixOnBandTicksCoords(this,qe,At,$e.clamp),qe},xe.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var $e=this.model.getModel("minorTick"),Ie=$e.get("splitNumber");Ie>0&&Ie<100||(Ie=5);var Fe=this.scale.getMinorTicks(Ie),Ue=map$1(Fe,function(qe){return map$1(qe,function(At){return{coord:this.dataToCoord(At),tickValue:At}},this)},this);return Ue},xe.prototype.getViewLabels=function(){return createAxisLabels(this).labels},xe.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},xe.prototype.getTickModel=function(){return this.model.getModel("axisTick")},xe.prototype.getBandWidth=function(){var $e=this._extent,Ie=this.scale.getExtent(),Fe=Ie[1]-Ie[0]+(this.onBand?1:0);Fe===0&&(Fe=1);var Ue=Math.abs($e[1]-$e[0]);return Math.abs(Ue)/Fe},xe.prototype.calculateCategoryInterval=function(){return calculateCategoryInterval(this)},xe}();function fixExtentWithBands(xe,$e){var Ie=xe[1]-xe[0],Fe=$e,Ue=Ie/Fe/2;xe[0]+=Ue,xe[1]-=Ue}function fixOnBandTicksCoords(xe,$e,Ie,Fe){var Ue=$e.length;if(!xe.onBand||Ie||!Ue)return;var qe=xe.getExtent(),At,Dt;if(Ue===1)$e[0].coord=qe[0],At=$e[1]={coord:qe[1]};else{var Lt=$e[Ue-1].tickValue-$e[0].tickValue,jt=($e[Ue-1].coord-$e[0].coord)/Lt;each$f($e,function(_n){_n.coord-=jt/2});var hn=xe.scale.getExtent();Dt=1+hn[1]-$e[Ue-1].tickValue,At={coord:$e[Ue-1].coord+jt*Dt},$e.push(At)}var vn=qe[0]>qe[1];bn($e[0].coord,qe[0])&&(Fe?$e[0].coord=qe[0]:$e.shift()),Fe&&bn(qe[0],$e[0].coord)&&$e.unshift({coord:qe[0]}),bn(qe[1],At.coord)&&(Fe?At.coord=qe[1]:$e.pop()),Fe&&bn(At.coord,qe[1])&&$e.push({coord:qe[1]});function bn(_n,wn){return _n=round$3(_n),wn=round$3(wn),vn?_n>wn:_nUe&&(Ue+=PI2$2);var _n=Math.atan2(Dt,At);if(_n<0&&(_n+=PI2$2),_n>=Fe&&_n<=Ue||_n+PI2$2>=Fe&&_n+PI2$2<=Ue)return Lt[0]=hn,Lt[1]=vn,jt-Ie;var wn=Ie*Math.cos(Fe)+xe,kn=Ie*Math.sin(Fe)+$e,Cn=Ie*Math.cos(Ue)+xe,Sn=Ie*Math.sin(Ue)+$e,xn=(wn-At)*(wn-At)+(kn-Dt)*(kn-Dt),En=(Cn-At)*(Cn-At)+(Sn-Dt)*(Sn-Dt);return xn0){$e=$e/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt0,pt1),Point.sub(dir2,pt2,pt1);var Ie=dir.len(),Fe=dir2.len();if(!(Ie<.001||Fe<.001)){dir.scale(1/Ie),dir2.scale(1/Fe);var Ue=dir.dot(dir2),qe=Math.cos($e);if(qe1&&Point.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(xe[1])}}}}function limitSurfaceAngle(xe,$e,Ie){if(Ie<=180&&Ie>0){Ie=Ie/180*Math.PI,pt0.fromArray(xe[0]),pt1.fromArray(xe[1]),pt2.fromArray(xe[2]),Point.sub(dir,pt1,pt0),Point.sub(dir2,pt2,pt1);var Fe=dir.len(),Ue=dir2.len();if(!(Fe<.001||Ue<.001)){dir.scale(1/Fe),dir2.scale(1/Ue);var qe=dir.dot($e),At=Math.cos(Ie);if(qe=Lt)Point.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,Dt/Math.tan(Math.PI/2-hn));var vn=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(vn))return;vn<0?Point.copy(tmpProjPoint,pt1):vn>1&&Point.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(xe[1])}}}}function setLabelLineState(xe,$e,Ie,Fe){var Ue=Ie==="normal",qe=Ue?xe:xe.ensureState(Ie);qe.ignore=$e;var At=Fe.get("smooth");At&&At===!0&&(At=.3),qe.shape=qe.shape||{},At>0&&(qe.shape.smooth=At);var Dt=Fe.getModel("lineStyle").getLineStyle();Ue?xe.useStyle(Dt):qe.style=Dt}function buildLabelLinePath(xe,$e){var Ie=$e.smooth,Fe=$e.points;if(Fe)if(xe.moveTo(Fe[0][0],Fe[0][1]),Ie>0&&Fe.length>=3){var Ue=dist$1(Fe[0],Fe[1]),qe=dist$1(Fe[1],Fe[2]);if(!Ue||!qe){xe.lineTo(Fe[1][0],Fe[1][1]),xe.lineTo(Fe[2][0],Fe[2][1]);return}var At=Math.min(Ue,qe)*Ie,Dt=lerp$1([],Fe[1],Fe[0],At/Ue),Lt=lerp$1([],Fe[1],Fe[2],At/qe),jt=lerp$1([],Dt,Lt,.5);xe.bezierCurveTo(Dt[0],Dt[1],Dt[0],Dt[1],jt[0],jt[1]),xe.bezierCurveTo(Lt[0],Lt[1],Lt[0],Lt[1],Fe[2][0],Fe[2][1])}else for(var hn=1;hn0&&qe&&An(-hn/At,0,At);var kn=xe[0],Cn=xe[At-1],Sn,xn;En(),Sn<0&&$n(-Sn,.8),xn<0&&$n(xn,.8),En(),Tn(Sn,xn,1),Tn(xn,Sn,-1),En(),Sn<0&&Pn(-Sn),xn<0&&Pn(xn);function En(){Sn=kn.rect[$e]-Fe,xn=Ue-Cn.rect[$e]-Cn.rect[Ie]}function Tn(Nn,Mn,In){if(Nn<0){var On=Math.min(Mn,-Nn);if(On>0){An(On*In,0,At);var Rn=On+Nn;Rn<0&&$n(-Rn*In,1)}else $n(-Nn*In,1)}}function An(Nn,Mn,In){Nn!==0&&(jt=!0);for(var On=Mn;On0)for(var Rn=0;Rn0;Rn--){var Dn=In[Rn-1]*Ln;An(-Dn,Rn,At)}}}function Pn(Nn){var Mn=Nn<0?-1:1;Nn=Math.abs(Nn);for(var In=Math.ceil(Nn/(At-1)),On=0;On0?An(In,0,On+1):An(-In,At-On-1,At),Nn-=In,Nn<=0)return}return jt}function shiftLayoutOnX(xe,$e,Ie,Fe){return shiftLayout(xe,"x","width",$e,Ie,Fe)}function shiftLayoutOnY(xe,$e,Ie,Fe){return shiftLayout(xe,"y","height",$e,Ie,Fe)}function hideOverlap(xe){var $e=[];xe.sort(function(kn,Cn){return Cn.priority-kn.priority});var Ie=new BoundingRect(0,0,0,0);function Fe(kn){if(!kn.ignore){var Cn=kn.ensureState("emphasis");Cn.ignore==null&&(Cn.ignore=!1)}kn.ignore=!0}for(var Ue=0;Ue=0&&Fe.attr(qe.oldLayoutSelect),indexOf(bn,"emphasis")>=0&&Fe.attr(qe.oldLayoutEmphasis)),updateProps$1(Fe,jt,Ie,Lt)}else if(Fe.attr(jt),!labelInner(Fe).valueAnimation){var vn=retrieve2(Fe.style.opacity,1);Fe.style.opacity=0,initProps(Fe,{style:{opacity:vn}},Ie,Lt)}if(qe.oldLayout=jt,Fe.states.select){var _n=qe.oldLayoutSelect={};extendWithKeys(_n,jt,LABEL_LAYOUT_PROPS),extendWithKeys(_n,Fe.states.select,LABEL_LAYOUT_PROPS)}if(Fe.states.emphasis){var wn=qe.oldLayoutEmphasis={};extendWithKeys(wn,jt,LABEL_LAYOUT_PROPS),extendWithKeys(wn,Fe.states.emphasis,LABEL_LAYOUT_PROPS)}animateLabelValue(Fe,Lt,hn,Ie,Ie)}if(Ue&&!Ue.ignore&&!Ue.invisible){var qe=labelLineAnimationStore(Ue),At=qe.oldLayout,kn={points:Ue.shape.points};At?(Ue.attr({shape:At}),updateProps$1(Ue,{shape:kn},Ie)):(Ue.setShape(kn),Ue.style.strokePercent=0,initProps(Ue,{style:{strokePercent:1}},Ie)),qe.oldLayout=kn}},xe}(),getLabelManager=makeInner();function installLabelLayout(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Ue||(Ue=getLabelManager(Ie).labelManager=new LabelManager),Ue.clearLabels()}),xe.registerUpdateLifecycle("series:layoutlabels",function($e,Ie,Fe){var Ue=getLabelManager(Ie).labelManager;Fe.updatedSeries.forEach(function(qe){Ue.addLabelsOfSeries(Ie.getViewOfSeriesModel(qe))}),Ue.updateLayoutConfig(Ie),Ue.layout(Ie),Ue.processLabelsOverall()})}var mathSin=Math.sin,mathCos=Math.cos,PI$4=Math.PI,PI2$1=Math.PI*2,degree=180/PI$4,SVGPathRebuilder=function(){function xe(){}return xe.prototype.reset=function($e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,$e||4)},xe.prototype.moveTo=function($e,Ie){this._add("M",$e,Ie)},xe.prototype.lineTo=function($e,Ie){this._add("L",$e,Ie)},xe.prototype.bezierCurveTo=function($e,Ie,Fe,Ue,qe,At){this._add("C",$e,Ie,Fe,Ue,qe,At)},xe.prototype.quadraticCurveTo=function($e,Ie,Fe,Ue){this._add("Q",$e,Ie,Fe,Ue)},xe.prototype.arc=function($e,Ie,Fe,Ue,qe,At){this.ellipse($e,Ie,Fe,Fe,0,Ue,qe,At)},xe.prototype.ellipse=function($e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=Dt-At,hn=!Lt,vn=Math.abs(jt),bn=isAroundZero(vn-PI2$1)||(hn?jt>=PI2$1:-jt>=PI2$1),_n=jt>0?jt%PI2$1:jt%PI2$1+PI2$1,wn=!1;bn?wn=!0:isAroundZero(vn)?wn=!1:wn=_n>=PI$4==!!hn;var kn=$e+Fe*mathCos(At),Cn=Ie+Ue*mathSin(At);this._start&&this._add("M",kn,Cn);var Sn=Math.round(qe*degree);if(bn){var xn=1/this._p,En=(hn?1:-1)*(PI2$1-xn);this._add("A",Fe,Ue,Sn,1,+hn,$e+Fe*mathCos(At+En),Ie+Ue*mathSin(At+En)),xn>.01&&this._add("A",Fe,Ue,Sn,0,+hn,kn,Cn)}else{var Tn=$e+Fe*mathCos(Dt),An=Ie+Ue*mathSin(Dt);this._add("A",Fe,Ue,Sn,+wn,+hn,Tn,An)}},xe.prototype.rect=function($e,Ie,Fe,Ue){this._add("M",$e,Ie),this._add("l",Fe,0),this._add("l",0,Ue),this._add("l",-Fe,0),this._add("Z")},xe.prototype.closePath=function(){this._d.length>0&&this._add("Z")},xe.prototype._add=function($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){for(var hn=[],vn=this._p,bn=1;bn"}function createElementClose(xe){return""}function vNodeToString(xe,$e){$e=$e||{};var Ie=$e.newline?` `:"";function Fe(Ue){var qe=Ue.children,At=Ue.tag,Dt=Ue.attrs,Lt=Ue.text;return createElementOpen(At,Dt)+(At!=="style"?encodeHTML(Lt):Lt||"")+(qe?""+Ie+map$1(qe,function(jt){return Fe(jt)}).join(Ie)+Ie:"")+createElementClose(At)}return Fe(xe)}function getCssString(xe,$e,Ie){Ie=Ie||{};var Fe=Ie.newline?` -`:"",Ue=" {"+Fe,qe=Fe+"}",At=map$1(keys(xe),function(Lt){return Lt+Ue+map$1(keys(xe[Lt]),function(jt){return jt+":"+xe[Lt][jt]+";"}).join(Fe)+qe}).join(Fe),Dt=map$1(keys($e),function(Lt){return"@keyframes "+Lt+Ue+map$1(keys($e[Lt]),function(jt){return jt+Ue+map$1(keys($e[Lt][jt]),function(hn){var vn=$e[Lt][jt][hn];return hn==="d"&&(vn='path("'+vn+'")'),hn+":"+vn+";"}).join(Fe)+qe}).join(Fe)+qe}).join(Fe);return!At&&!Dt?"":[""].join(Fe)}function createBrushScope(xe){return{zrId:xe,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(xe,$e,Ie,Fe){return createVNode("svg","root",{width:xe,height:$e,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:Fe?"0 0 "+xe+" "+$e:!1},Ie)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},transformOriginKey="transform-origin";function buildPathString(xe,$e,Ie){var Fe=extend({},xe.shape);extend(Fe,$e),xe.buildPath(Ie,Fe);var Ue=new SVGPathRebuilder;return Ue.reset(getPathPrecision(xe)),Ie.rebuildPath(Ue,1),Ue.generateStr(),Ue.getStr()}function setTransformOrigin(xe,$e){var Ie=$e.originX,Fe=$e.originY;(Ie||Fe)&&(xe[transformOriginKey]=Ie+"px "+Fe+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(xe,$e){var Ie=$e.zrId+"-ani-"+$e.cssAnimIdx++;return $e.cssAnims[Ie]=xe,Ie}function createCompoundPathCSSAnimation(xe,$e,Ie){var Fe=xe.shape.paths,Ue={},qe,At;if(each$f(Fe,function(Lt){var jt=createBrushScope(Ie.zrId);jt.animation=!0,createCSSAnimation(Lt,{},jt,!0);var hn=jt.cssAnims,vn=jt.cssNodes,bn=keys(hn),_n=bn.length;if(_n){At=bn[_n-1];var wn=hn[At];for(var kn in wn){var Cn=wn[kn];Ue[kn]=Ue[kn]||{d:""},Ue[kn].d+=Cn.d||""}for(var Sn in vn){var xn=vn[Sn].animation;xn.indexOf(At)>=0&&(qe=xn)}}}),!!qe){$e.d=!1;var Dt=addAnimation(Ue,Ie);return qe.replace(At,Dt)}}function getEasingFunc(xe){return isString(xe)?EASING_MAP[xe]?"cubic-bezier("+EASING_MAP[xe]+")":createCubicEasingFunc(xe)?xe:"":""}function createCSSAnimation(xe,$e,Ie,Fe){var Ue=xe.animators,qe=Ue.length,At=[];if(xe instanceof CompoundPath$1){var Dt=createCompoundPathCSSAnimation(xe,$e,Ie);if(Dt)At.push(Dt);else if(!qe)return}else if(!qe)return;for(var Lt={},jt=0;jt0}).length){var Yn=addAnimation(Pn,Ie);return Yn+" "+xn[0]+" both"}}for(var Cn in Lt){var Dt=kn(Lt[Cn]);Dt&&At.push(Dt)}if(At.length){var Sn=Ie.zrId+"-cls-"+getClassId();Ie.cssNodes["."+Sn]={animation:At.join(",")},$e.class=Sn}}function createCSSEmphasis(xe,$e,Ie){if(!xe.ignore)if(xe.isSilent()){var Fe={"pointer-events":"none"};setClassAttribute(Fe,$e,Ie)}else{var Ue=xe.states.emphasis&&xe.states.emphasis.style?xe.states.emphasis.style:{},qe=Ue.fill;if(!qe){var At=xe.style&&xe.style.fill,Dt=xe.states.select&&xe.states.select.style&&xe.states.select.style.fill,Lt=xe.currentStates.indexOf("select")>=0&&Dt||At;Lt&&(qe=liftColor(Lt))}var jt=Ue.lineWidth;if(jt){var hn=!Ue.strokeNoScale&&xe.transform?xe.transform[0]:1;jt=jt/hn}var Fe={cursor:"pointer"};qe&&(Fe.fill=qe),Ue.stroke&&(Fe.stroke=Ue.stroke),jt&&(Fe["stroke-width"]=jt),setClassAttribute(Fe,$e,Ie)}}function setClassAttribute(xe,$e,Ie,Fe){var Ue=JSON.stringify(xe),qe=Ie.cssStyleCache[Ue];qe||(qe=Ie.zrId+"-cls-"+getClassId(),Ie.cssStyleCache[Ue]=qe,Ie.cssNodes["."+qe+":hover"]=xe),$e.class=$e.class?$e.class+" "+qe:qe}var round$1=Math.round;function isImageLike(xe){return xe&&isString(xe.src)}function isCanvasLike(xe){return xe&&isFunction(xe.toDataURL)}function setStyleAttrs(xe,$e,Ie,Fe){mapStyleToAttrs(function(Ue,qe){var At=Ue==="fill"||Ue==="stroke";At&&isGradient(qe)?setGradient($e,xe,Ue,Fe):At&&isPattern(qe)?setPattern(Ie,xe,Ue,Fe):At&&qe==="none"?xe[Ue]="transparent":xe[Ue]=qe},$e,Ie,!1),setShadow(Ie,xe,Fe)}function setMetaData(xe,$e){var Ie=getElementSSRData($e);Ie&&(Ie.each(function(Fe,Ue){Fe!=null&&(xe[(META_DATA_PREFIX+Ue).toLowerCase()]=Fe+"")}),$e.isSilent()&&(xe[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(xe){return isAroundZero(xe[0]-1)&&isAroundZero(xe[1])&&isAroundZero(xe[2])&&isAroundZero(xe[3]-1)}function noTranslate(xe){return isAroundZero(xe[4])&&isAroundZero(xe[5])}function setTransform(xe,$e,Ie){if($e&&!(noTranslate($e)&&noRotateScale($e))){var Fe=1e4;xe.transform=noRotateScale($e)?"translate("+round$1($e[4]*Fe)/Fe+" "+round$1($e[5]*Fe)/Fe+")":getMatrixStr($e)}}function convertPolyShape(xe,$e,Ie){for(var Fe=xe.points,Ue=[],qe=0;qe"u"){var Cn="Image width/height must been given explictly in svg-ssr renderer.";assert(bn,Cn),assert(_n,Cn)}else if(bn==null||_n==null){var Sn=function(In,On){if(In){var Rn=In.elm,Bn=bn||On.width,Vn=_n||On.height;In.tag==="pattern"&&(jt?(Vn=1,Bn/=qe.width):hn&&(Bn=1,Vn/=qe.height)),In.attrs.width=Bn,In.attrs.height=Vn,Rn&&(Rn.setAttribute("width",Bn),Rn.setAttribute("height",Vn))}},xn=createOrUpdateImage(wn,null,xe,function(In){Lt||Sn($n,In),Sn(vn,In)});xn&&xn.width&&xn.height&&(bn=bn||xn.width,_n=_n||xn.height)}vn=createVNode("image","img",{href:wn,width:bn,height:_n}),At.width=bn,At.height=_n}else Ue.svgElement&&(vn=clone$4(Ue.svgElement),At.width=Ue.svgWidth,At.height=Ue.svgHeight);if(vn){var En,Tn;Lt?En=Tn=1:jt?(Tn=1,En=At.width/qe.width):hn?(En=1,Tn=At.height/qe.height):At.patternUnits="userSpaceOnUse",En!=null&&!isNaN(En)&&(At.width=En),Tn!=null&&!isNaN(Tn)&&(At.height=Tn);var An=getSRTTransformString(Ue);An&&(At.patternTransform=An);var $n=createVNode("pattern","",At,[vn]),Pn=vNodeToString($n),Nn=Fe.patternCache,Mn=Nn[Pn];Mn||(Mn=Fe.zrId+"-p"+Fe.patternIdx++,Nn[Pn]=Mn,At.id=Mn,$n=Fe.defs[Mn]=createVNode("pattern",Mn,At,[vn])),$e[Ie]=getIdURL(Mn)}}function setClipPath(xe,$e,Ie){var Fe=Ie.clipPathCache,Ue=Ie.defs,qe=Fe[xe.id];if(!qe){qe=Ie.zrId+"-c"+Ie.clipPathIdx++;var At={id:qe};Fe[xe.id]=qe,Ue[qe]=createVNode("clipPath",qe,At,[brushSVGPath(xe,Ie)])}$e["clip-path"]=getIdURL(qe)}function createTextNode(xe){return document.createTextNode(xe)}function insertBefore(xe,$e,Ie){xe.insertBefore($e,Ie)}function removeChild(xe,$e){xe.removeChild($e)}function appendChild(xe,$e){xe.appendChild($e)}function parentNode(xe){return xe.parentNode}function nextSibling(xe){return xe.nextSibling}function setTextContent(xe,$e){xe.textContent=$e}var colonChar=58,xChar=120,emptyNode=createVNode("","");function isUndef(xe){return xe===void 0}function isDef(xe){return xe!==void 0}function createKeyToOldIdx(xe,$e,Ie){for(var Fe={},Ue=$e;Ue<=Ie;++Ue){var qe=xe[Ue].key;qe!==void 0&&(Fe[qe]=Ue)}return Fe}function sameVnode(xe,$e){var Ie=xe.key===$e.key,Fe=xe.tag===$e.tag;return Fe&&Ie}function createElm(xe){var $e,Ie=xe.children,Fe=xe.tag;if(isDef(Fe)){var Ue=xe.elm=createElement(Fe);if(updateAttrs(emptyNode,xe),isArray$1(Ie))for($e=0;$eqe?(wn=Ie[Lt+1]==null?null:Ie[Lt+1].elm,addVnodes(xe,wn,Ie,Ue,Lt)):removeVnodes(xe,$e,Fe,qe))}function patchVnode(xe,$e){var Ie=$e.elm=xe.elm,Fe=xe.children,Ue=$e.children;xe!==$e&&(updateAttrs(xe,$e),isUndef($e.text)?isDef(Fe)&&isDef(Ue)?Fe!==Ue&&updateChildren(Ie,Fe,Ue):isDef(Ue)?(isDef(xe.text)&&setTextContent(Ie,""),addVnodes(Ie,null,Ue,0,Ue.length-1)):isDef(Fe)?removeVnodes(Ie,Fe,0,Fe.length-1):isDef(xe.text)&&setTextContent(Ie,""):xe.text!==$e.text&&(isDef(Fe)&&removeVnodes(Ie,Fe,0,Fe.length-1),setTextContent(Ie,$e.text)))}function patch(xe,$e){if(sameVnode(xe,$e))patchVnode(xe,$e);else{var Ie=xe.elm,Fe=parentNode(Ie);createElm($e),Fe!==null&&(insertBefore(Fe,$e.elm,nextSibling(Ie)),removeVnodes(Fe,[xe],0,0))}return $e}var svgId=0,SVGPainter=function(){function xe($e,Ie,Fe){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=Ie,this._opts=Fe=extend({},Fe),this.root=$e,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(Fe.width,Fe.height),$e&&!Fe.ssr){var Ue=this._viewport=document.createElement("div");Ue.style.cssText="position:relative;overflow:hidden";var qe=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),Ue.appendChild(qe),$e.appendChild(Ue)}this.resize(Fe.width,Fe.height)}return xe.prototype.getType=function(){return this.type},xe.prototype.getViewportRoot=function(){return this._viewport},xe.prototype.getViewportRootOffset=function(){var $e=this.getViewportRoot();if($e)return{offsetLeft:$e.offsetLeft||0,offsetTop:$e.offsetTop||0}},xe.prototype.getSvgDom=function(){return this._svgDom},xe.prototype.refresh=function(){if(this.root){var $e=this.renderToVNode({willUpdate:!0});$e.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,$e),this._oldVNode=$e}},xe.prototype.renderOneToVNode=function($e){return brush($e,createBrushScope(this._id))},xe.prototype.renderToVNode=function($e){$e=$e||{};var Ie=this.storage.getDisplayList(!0),Fe=this._width,Ue=this._height,qe=createBrushScope(this._id);qe.animation=$e.animation,qe.willUpdate=$e.willUpdate,qe.compress=$e.compress,qe.emphasis=$e.emphasis;var At=[],Dt=this._bgVNode=createBackgroundVNode(Fe,Ue,this._backgroundColor,qe);Dt&&At.push(Dt);var Lt=$e.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(Ie,qe,Lt?Lt.children:At),Lt&&At.push(Lt);var jt=map$1(keys(qe.defs),function(bn){return qe.defs[bn]});if(jt.length&&At.push(createVNode("defs","defs",{},jt)),$e.animation){var hn=getCssString(qe.cssNodes,qe.cssAnims,{newline:!0});if(hn){var vn=createVNode("style","stl",{},[],hn);At.push(vn)}}return createSVGVNode(Fe,Ue,At,$e.useViewBox)},xe.prototype.renderToString=function($e){return $e=$e||{},vNodeToString(this.renderToVNode({animation:retrieve2($e.cssAnimation,!0),emphasis:retrieve2($e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2($e.useViewBox,!0)}),{newline:!0})},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e},xe.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},xe.prototype._paintList=function($e,Ie,Fe){for(var Ue=$e.length,qe=[],At=0,Dt,Lt,jt=0,hn=0;hn=0&&!(bn&&Lt&&bn[kn]===Lt[kn]);kn--);for(var Cn=wn-1;Cn>kn;Cn--)At--,Dt=qe[At-1];for(var Sn=kn+1;Sn<_n;Sn++){var xn={};setClipPath(bn[Sn],xn,Ie);var En=createVNode("g","clip-g-"+jt++,xn,[]);(Dt?Dt.children:Fe).push(En),qe[At++]=En,Dt=En}Lt=bn;var Tn=brush(vn,Ie);Tn&&(Dt?Dt.children:Fe).push(Tn)}}},xe.prototype.resize=function($e,Ie){var Fe=this._opts,Ue=this.root,qe=this._viewport;if($e!=null&&(Fe.width=$e),Ie!=null&&(Fe.height=Ie),Ue&&qe&&(qe.style.display="none",$e=getSize$1(Ue,0,Fe),Ie=getSize$1(Ue,1,Fe),qe.style.display=""),this._width!==$e||this._height!==Ie){if(this._width=$e,this._height=Ie,qe){var At=qe.style;At.width=$e+"px",At.height=Ie+"px"}if(isPattern(this._backgroundColor))this.refresh();else{var Dt=this._svgDom;Dt&&(Dt.setAttribute("width",$e),Dt.setAttribute("height",Ie));var Lt=this._bgVNode&&this._bgVNode.elm;Lt&&(Lt.setAttribute("width",$e),Lt.setAttribute("height",Ie))}}},xe.prototype.getWidth=function(){return this._width},xe.prototype.getHeight=function(){return this._height},xe.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},xe.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},xe.prototype.toDataURL=function($e){var Ie=this.renderToString(),Fe="data:image/svg+xml;";return $e?(Ie=encodeBase64(Ie),Ie&&Fe+"base64,"+Ie):Fe+"charset=UTF-8,"+encodeURIComponent(Ie)},xe}();function createMethodNotSupport(xe){return function(){}}function createBackgroundVNode(xe,$e,Ie,Fe){var Ue;if(Ie&&Ie!=="none")if(Ue=createVNode("rect","bg",{width:xe,height:$e,x:"0",y:"0"}),isGradient(Ie))setGradient({fill:Ie},Ue.attrs,"fill",Fe);else if(isPattern(Ie))setPattern({style:{fill:Ie},dirty:noop,getBoundingRect:function(){return{width:xe,height:$e}}},Ue.attrs,"fill",Fe);else{var qe=normalizeColor(Ie),At=qe.color,Dt=qe.opacity;Ue.attrs.fill=At,Dt<1&&(Ue.attrs["fill-opacity"]=Dt)}return Ue}function install$T(xe){xe.registerPainter("svg",SVGPainter)}function createDom(xe,$e,Ie){var Fe=platformApi.createCanvas(),Ue=$e.getWidth(),qe=$e.getHeight(),At=Fe.style;return At&&(At.position="absolute",At.left="0",At.top="0",At.width=Ue+"px",At.height=qe+"px",Fe.setAttribute("data-zr-dom-id",xe)),Fe.width=Ue*Ie,Fe.height=qe*Ie,Fe}var Layer=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;qe.motionBlur=!1,qe.lastFrameAlpha=.7,qe.dpr=1,qe.virtual=!1,qe.config={},qe.incremental=!1,qe.zlevel=0,qe.maxRepaintRectCount=5,qe.__dirty=!0,qe.__firstTimePaint=!0,qe.__used=!1,qe.__drawIndex=0,qe.__startIndex=0,qe.__endIndex=0,qe.__prevStartIndex=null,qe.__prevEndIndex=null;var At;Ue=Ue||devicePixelRatio,typeof Ie=="string"?At=createDom(Ie,Fe,Ue):isObject$3(Ie)&&(At=Ie,Ie=At.id),qe.id=Ie,qe.dom=At;var Dt=At.style;return Dt&&(disableUserSelect(At),At.onselectstart=function(){return!1},Dt.padding="0",Dt.margin="0",Dt.borderWidth="0"),qe.painter=Fe,qe.dpr=Ue,qe}return $e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},$e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},$e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},$e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},$e.prototype.createBackBuffer=function(){var Ie=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,Ie),this.ctxBack=this.domBack.getContext("2d"),Ie!==1&&this.ctxBack.scale(Ie,Ie)},$e.prototype.createRepaintRects=function(Ie,Fe,Ue,qe){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var At=[],Dt=this.maxRepaintRectCount,Lt=!1,jt=new BoundingRect(0,0,0,0);function hn(xn){if(!(!xn.isFinite()||xn.isZero()))if(At.length===0){var En=new BoundingRect(0,0,0,0);En.copy(xn),At.push(En)}else{for(var Tn=!1,An=1/0,$n=0,Pn=0;Pn=Dt)}}for(var vn=this.__startIndex;vn15)break}}Vn.prevElClipPaths&&Sn.restore()};if(xn)if(xn.length===0)Nn=Cn.__endIndex;else for(var In=_n.dpr,On=0;On0&&$e>Ue[0]){for(Lt=0;Lt$e);Lt++);Dt=Fe[Ue[Lt]]}if(Ue.splice(Lt+1,0,$e),Fe[$e]=Ie,!Ie.virtual)if(Dt){var jt=Dt.dom;jt.nextSibling?At.insertBefore(Ie.dom,jt.nextSibling):At.appendChild(Ie.dom)}else At.firstChild?At.insertBefore(Ie.dom,At.firstChild):At.appendChild(Ie.dom);Ie.painter||(Ie.painter=this)}},xe.prototype.eachLayer=function($e,Ie){for(var Fe=this._zlevelList,Ue=0;Ue0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),hn.__builtin__||logError("ZLevel "+jt+" has been used by unkown layer "+hn.id),hn!==qe&&(hn.__used=!0,hn.__startIndex!==Lt&&(hn.__dirty=!0),hn.__startIndex=Lt,hn.incremental?hn.__drawIndex=-1:hn.__drawIndex=Lt,Ie(Lt),qe=hn),Ue.__dirty&REDRAW_BIT&&!Ue.__inHover&&(hn.__dirty=!0,hn.incremental&&hn.__drawIndex<0&&(hn.__drawIndex=Lt))}Ie(Lt),this.eachBuiltinLayer(function(vn,bn){!vn.__used&&vn.getElementCount()>0&&(vn.__dirty=!0,vn.__startIndex=vn.__endIndex=vn.__drawIndex=0),vn.__dirty&&vn.__drawIndex<0&&(vn.__drawIndex=vn.__startIndex)})},xe.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},xe.prototype._clearLayer=function($e){$e.clear()},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e,each$f(this._layers,function(Ie){Ie.setUnpainted()})},xe.prototype.configLayer=function($e,Ie){if(Ie){var Fe=this._layerConfig;Fe[$e]?merge(Fe[$e],Ie,!0):Fe[$e]=Ie;for(var Ue=0;Ue-1&&(jt.style.stroke=jt.style.fill,jt.style.fill="#fff",jt.style.lineWidth=2),Fe},$e.type="series.line",$e.dependencies=["grid","polar"],$e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},$e}(SeriesModel);function getDefaultLabel(xe,$e){var Ie=xe.mapDimensionsAll("defaultedLabel"),Fe=Ie.length;if(Fe===1){var Ue=retrieveRawValue(xe,$e,Ie[0]);return Ue!=null?Ue+"":null}else if(Fe){for(var qe=[],At=0;At=0&&Fe.push($e[qe])}return Fe.join(" ")}var Symbol$1=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;return At.updateData(Ie,Fe,Ue,qe),At}return $e.prototype._createSymbol=function(Ie,Fe,Ue,qe,At){this.removeAll();var Dt=createSymbol$1(Ie,-1,-1,2,2,null,At);Dt.attr({z2:100,culling:!0,scaleX:qe[0]/2,scaleY:qe[1]/2}),Dt.drift=driftSymbol,this._symbolType=Ie,this.add(Dt)},$e.prototype.stopSymbolAnimation=function(Ie){this.childAt(0).stopAnimation(null,Ie)},$e.prototype.getSymbolType=function(){return this._symbolType},$e.prototype.getSymbolPath=function(){return this.childAt(0)},$e.prototype.highlight=function(){enterEmphasis(this.childAt(0))},$e.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},$e.prototype.setZ=function(Ie,Fe){var Ue=this.childAt(0);Ue.zlevel=Ie,Ue.z=Fe},$e.prototype.setDraggable=function(Ie,Fe){var Ue=this.childAt(0);Ue.draggable=Ie,Ue.cursor=!Fe&&Ie?"move":Ue.cursor},$e.prototype.updateData=function(Ie,Fe,Ue,qe){this.silent=!1;var At=Ie.getItemVisual(Fe,"symbol")||"circle",Dt=Ie.hostModel,Lt=$e.getSymbolSize(Ie,Fe),jt=At!==this._symbolType,hn=qe&&qe.disableAnimation;if(jt){var vn=Ie.getItemVisual(Fe,"symbolKeepAspect");this._createSymbol(At,Ie,Fe,Lt,vn)}else{var bn=this.childAt(0);bn.silent=!1;var _n={scaleX:Lt[0]/2,scaleY:Lt[1]/2};hn?bn.attr(_n):updateProps$1(bn,_n,Dt,Fe),saveOldStyle(bn)}if(this._updateCommon(Ie,Fe,Lt,Ue,qe),jt){var bn=this.childAt(0);if(!hn){var _n={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:bn.style.opacity}};bn.scaleX=bn.scaleY=0,bn.style.opacity=0,initProps(bn,_n,Dt,Fe)}}hn&&this.childAt(0).stopAnimation("leave")},$e.prototype._updateCommon=function(Ie,Fe,Ue,qe,At){var Dt=this.childAt(0),Lt=Ie.hostModel,jt,hn,vn,bn,_n,wn,kn,Cn,Sn;if(qe&&(jt=qe.emphasisItemStyle,hn=qe.blurItemStyle,vn=qe.selectItemStyle,bn=qe.focus,_n=qe.blurScope,kn=qe.labelStatesModels,Cn=qe.hoverScale,Sn=qe.cursorStyle,wn=qe.emphasisDisabled),!qe||Ie.hasItemOption){var xn=qe&&qe.itemModel?qe.itemModel:Ie.getItemModel(Fe),En=xn.getModel("emphasis");jt=En.getModel("itemStyle").getItemStyle(),vn=xn.getModel(["select","itemStyle"]).getItemStyle(),hn=xn.getModel(["blur","itemStyle"]).getItemStyle(),bn=En.get("focus"),_n=En.get("blurScope"),wn=En.get("disabled"),kn=getLabelStatesModels(xn),Cn=En.getShallow("scale"),Sn=xn.getShallow("cursor")}var Tn=Ie.getItemVisual(Fe,"symbolRotate");Dt.attr("rotation",(Tn||0)*Math.PI/180||0);var An=normalizeSymbolOffset(Ie.getItemVisual(Fe,"symbolOffset"),Ue);An&&(Dt.x=An[0],Dt.y=An[1]),Sn&&Dt.attr("cursor",Sn);var $n=Ie.getItemVisual(Fe,"style"),Pn=$n.fill;if(Dt instanceof ZRImage){var Nn=Dt.style;Dt.useStyle(extend({image:Nn.image,x:Nn.x,y:Nn.y,width:Nn.width,height:Nn.height},$n))}else Dt.__isEmptyBrush?Dt.useStyle(extend({},$n)):Dt.useStyle($n),Dt.style.decal=null,Dt.setColor(Pn,At&&At.symbolInnerColor),Dt.style.strokeNoScale=!0;var Mn=Ie.getItemVisual(Fe,"liftZ"),In=this._z2;Mn!=null?In==null&&(this._z2=Dt.z2,Dt.z2+=Mn):In!=null&&(Dt.z2=In,this._z2=null);var On=At&&At.useNameLabel;setLabelStyle(Dt,kn,{labelFetcher:Lt,labelDataIndex:Fe,defaultText:Rn,inheritColor:Pn,defaultOpacity:$n.opacity});function Rn(Ln){return On?Ie.getName(Ln):getDefaultLabel(Ie,Ln)}this._sizeX=Ue[0]/2,this._sizeY=Ue[1]/2;var Bn=Dt.ensureState("emphasis");Bn.style=jt,Dt.ensureState("select").style=vn,Dt.ensureState("blur").style=hn;var Vn=Cn==null||Cn===!0?Math.max(1.1,3/this._sizeY):isFinite(Cn)&&Cn>0?+Cn:1;Bn.scaleX=this._sizeX*Vn,Bn.scaleY=this._sizeY*Vn,this.setSymbolScale(1),toggleHoverEmphasis(this,bn,_n,wn)},$e.prototype.setSymbolScale=function(Ie){this.scaleX=this.scaleY=Ie},$e.prototype.fadeOut=function(Ie,Fe,Ue){var qe=this.childAt(0),At=getECData(this).dataIndex,Dt=Ue&&Ue.animation;if(this.silent=qe.silent=!0,Ue&&Ue.fadeLabel){var Lt=qe.getTextContent();Lt&&removeElement(Lt,{style:{opacity:0}},Fe,{dataIndex:At,removeOpt:Dt,cb:function(){qe.removeTextContent()}})}else qe.removeTextContent();removeElement(qe,{style:{opacity:0},scaleX:0,scaleY:0},Fe,{dataIndex:At,cb:Ie,removeOpt:Dt})},$e.getSymbolSize=function(Ie,Fe){return normalizeSymbolSize(Ie.getItemVisual(Fe,"symbolSize"))},$e}(Group$3);function driftSymbol(xe,$e){this.parent.drift(xe,$e)}function symbolNeedsDraw$1(xe,$e,Ie,Fe){return $e&&!isNaN($e[0])&&!isNaN($e[1])&&!(Fe.isIgnore&&Fe.isIgnore(Ie))&&!(Fe.clipShape&&!Fe.clipShape.contain($e[0],$e[1]))&&xe.getItemVisual(Ie,"symbol")!=="none"}function normalizeUpdateOpt(xe){return xe!=null&&!isObject$3(xe)&&(xe={isIgnore:xe}),xe||{}}function makeSeriesScope$2(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{emphasisItemStyle:Ie.getModel("itemStyle").getItemStyle(),blurItemStyle:$e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:$e.getModel(["select","itemStyle"]).getItemStyle(),focus:Ie.get("focus"),blurScope:Ie.get("blurScope"),emphasisDisabled:Ie.get("disabled"),hoverScale:Ie.get("scale"),labelStatesModels:getLabelStatesModels($e),cursorStyle:$e.get("cursor")}}var SymbolDraw=function(){function xe($e){this.group=new Group$3,this._SymbolCtor=$e||Symbol$1}return xe.prototype.updateData=function($e,Ie){this._progressiveEls=null,Ie=normalizeUpdateOpt(Ie);var Fe=this.group,Ue=$e.hostModel,qe=this._data,At=this._SymbolCtor,Dt=Ie.disableAnimation,Lt=makeSeriesScope$2($e),jt={disableAnimation:Dt},hn=Ie.getSymbolPoint||function(vn){return $e.getItemLayout(vn)};qe||Fe.removeAll(),$e.diff(qe).add(function(vn){var bn=hn(vn);if(symbolNeedsDraw$1($e,bn,vn,Ie)){var _n=new At($e,vn,Lt,jt);_n.setPosition(bn),$e.setItemGraphicEl(vn,_n),Fe.add(_n)}}).update(function(vn,bn){var _n=qe.getItemGraphicEl(bn),wn=hn(vn);if(!symbolNeedsDraw$1($e,wn,vn,Ie)){Fe.remove(_n);return}var kn=$e.getItemVisual(vn,"symbol")||"circle",Cn=_n&&_n.getSymbolType&&_n.getSymbolType();if(!_n||Cn&&Cn!==kn)Fe.remove(_n),_n=new At($e,vn,Lt,jt),_n.setPosition(wn);else{_n.updateData($e,vn,Lt,jt);var Sn={x:wn[0],y:wn[1]};Dt?_n.attr(Sn):updateProps$1(_n,Sn,Ue)}Fe.add(_n),$e.setItemGraphicEl(vn,_n)}).remove(function(vn){var bn=qe.getItemGraphicEl(vn);bn&&bn.fadeOut(function(){Fe.remove(bn)},Ue)}).execute(),this._getSymbolPoint=hn,this._data=$e},xe.prototype.updateLayout=function(){var $e=this,Ie=this._data;Ie&&Ie.eachItemGraphicEl(function(Fe,Ue){var qe=$e._getSymbolPoint(Ue);Fe.setPosition(qe),Fe.markRedraw()})},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$2($e),this._data=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie,Fe){this._progressiveEls=[],Fe=normalizeUpdateOpt(Fe);function Ue(Lt){Lt.isGroup||(Lt.incremental=!0,Lt.ensureState("emphasis").hoverLayer=!0)}for(var qe=$e.start;qe<$e.end;qe++){var At=Ie.getItemLayout(qe);if(symbolNeedsDraw$1(Ie,At,qe,Fe)){var Dt=new this._SymbolCtor(Ie,qe,this._seriesScope);Dt.traverse(Ue),Dt.setPosition(At),this.group.add(Dt),Ie.setItemGraphicEl(qe,Dt),this._progressiveEls.push(Dt)}}},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype.remove=function($e){var Ie=this.group,Fe=this._data;Fe&&$e?Fe.eachItemGraphicEl(function(Ue){Ue.fadeOut(function(){Ie.remove(Ue)},Fe.hostModel)}):Ie.removeAll()},xe}();function prepareDataCoordInfo(xe,$e,Ie){var Fe=xe.getBaseAxis(),Ue=xe.getOtherAxis(Fe),qe=getValueStart(Ue,Ie),At=Fe.dim,Dt=Ue.dim,Lt=$e.mapDimension(Dt),jt=$e.mapDimension(At),hn=Dt==="x"||Dt==="radius"?1:0,vn=map$1(xe.dimensions,function(wn){return $e.mapDimension(wn)}),bn=!1,_n=$e.getCalculationInfo("stackResultDimension");return isDimensionStacked($e,vn[0])&&(bn=!0,vn[0]=_n),isDimensionStacked($e,vn[1])&&(bn=!0,vn[1]=_n),{dataDimsForPoint:vn,valueStart:qe,valueAxisDim:Dt,baseAxisDim:At,stacked:!!bn,valueDim:Lt,baseDim:jt,baseDataOffset:hn,stackedOverDimension:$e.getCalculationInfo("stackedOverDimension")}}function getValueStart(xe,$e){var Ie=0,Fe=xe.scale.getExtent();return $e==="start"?Ie=Fe[0]:$e==="end"?Ie=Fe[1]:isNumber($e)&&!isNaN($e)?Ie=$e:Fe[0]>0?Ie=Fe[0]:Fe[1]<0&&(Ie=Fe[1]),Ie}function getStackedOnPoint(xe,$e,Ie,Fe){var Ue=NaN;xe.stacked&&(Ue=Ie.get(Ie.getCalculationInfo("stackedOverDimension"),Fe)),isNaN(Ue)&&(Ue=xe.valueStart);var qe=xe.baseDataOffset,At=[];return At[qe]=Ie.get(xe.baseDim,Fe),At[1-qe]=Ue,$e.dataToPoint(At)}function diffData(xe,$e){var Ie=[];return $e.diff(xe).add(function(Fe){Ie.push({cmd:"+",idx:Fe})}).update(function(Fe,Ue){Ie.push({cmd:"=",idx:Ue,idx1:Fe})}).remove(function(Fe){Ie.push({cmd:"-",idx:Fe})}).execute(),Ie}function lineAnimationDiff(xe,$e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=diffData(xe,$e),jt=[],hn=[],vn=[],bn=[],_n=[],wn=[],kn=[],Cn=prepareDataCoordInfo(Ue,$e,At),Sn=xe.getLayout("points")||[],xn=$e.getLayout("points")||[],En=0;En=Ue||kn<0)break;if(isPointNull$1(Sn,xn)){if(Lt){kn+=qe;continue}break}if(kn===Ie)xe[qe>0?"moveTo":"lineTo"](Sn,xn),vn=Sn,bn=xn;else{var En=Sn-jt,Tn=xn-hn;if(En*En+Tn*Tn<.5){kn+=qe;continue}if(At>0){for(var An=kn+qe,$n=$e[An*2],Pn=$e[An*2+1];$n===Sn&&Pn===xn&&Cn=Fe||isPointNull$1($n,Pn))_n=Sn,wn=xn;else{In=$n-jt,On=Pn-hn;var Vn=Sn-jt,Ln=$n-Sn,Dn=xn-hn,Hn=Pn-xn,Fn=void 0,zn=void 0;if(Dt==="x"){Fn=Math.abs(Vn),zn=Math.abs(Ln);var jn=In>0?1:-1;_n=Sn-jn*Fn*At,wn=xn,Rn=Sn+jn*zn*At,Bn=xn}else if(Dt==="y"){Fn=Math.abs(Dn),zn=Math.abs(Hn);var Gn=On>0?1:-1;_n=Sn,wn=xn-Gn*Fn*At,Rn=Sn,Bn=xn+Gn*zn*At}else Fn=Math.sqrt(Vn*Vn+Dn*Dn),zn=Math.sqrt(Ln*Ln+Hn*Hn),Mn=zn/(zn+Fn),_n=Sn-In*At*(1-Mn),wn=xn-On*At*(1-Mn),Rn=Sn+In*At*Mn,Bn=xn+On*At*Mn,Rn=mathMin$5(Rn,mathMax$5($n,Sn)),Bn=mathMin$5(Bn,mathMax$5(Pn,xn)),Rn=mathMax$5(Rn,mathMin$5($n,Sn)),Bn=mathMax$5(Bn,mathMin$5(Pn,xn)),In=Rn-Sn,On=Bn-xn,_n=Sn-In*Fn/zn,wn=xn-On*Fn/zn,_n=mathMin$5(_n,mathMax$5(jt,Sn)),wn=mathMin$5(wn,mathMax$5(hn,xn)),_n=mathMax$5(_n,mathMin$5(jt,Sn)),wn=mathMax$5(wn,mathMin$5(hn,xn)),In=Sn-_n,On=xn-wn,Rn=Sn+In*zn/Fn,Bn=xn+On*zn/Fn}xe.bezierCurveTo(vn,bn,_n,wn,Sn,xn),vn=Rn,bn=Bn}else xe.lineTo(Sn,xn)}jt=Sn,hn=xn,kn+=qe}return Cn}var ECPolylineShape=function(){function xe(){this.smooth=0,this.smoothConstraint=!0}return xe}(),ECPolyline=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polyline",Fe}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new ECPolylineShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0,At=Ue.length/2;if(Fe.connectNulls){for(;At>0&&isPointNull$1(Ue[At*2-2],Ue[At*2-1]);At--);for(;qe=0){var Tn=jt?(wn-Lt)*En+Lt:(_n-Dt)*En+Dt;return jt?[Ie,Tn]:[Tn,Ie]}Dt=_n,Lt=wn;break;case At.C:_n=qe[vn++],wn=qe[vn++],kn=qe[vn++],Cn=qe[vn++],Sn=qe[vn++],xn=qe[vn++];var An=jt?cubicRootAt(Dt,_n,kn,Sn,Ie,hn):cubicRootAt(Lt,wn,Cn,xn,Ie,hn);if(An>0)for(var $n=0;$n=0){var Tn=jt?cubicAt(Lt,wn,Cn,xn,Pn):cubicAt(Dt,_n,kn,Sn,Pn);return jt?[Ie,Tn]:[Tn,Ie]}}Dt=Sn,Lt=xn;break}}},$e}(Path),ECPolygonShape=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e}(ECPolylineShape),ECPolygon=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polygon",Fe}return $e.prototype.getDefaultShape=function(){return new ECPolygonShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.stackedOnPoints,At=0,Dt=Ue.length/2,Lt=Fe.smoothMonotone;if(Fe.connectNulls){for(;Dt>0&&isPointNull$1(Ue[Dt*2-2],Ue[Dt*2-1]);Dt--);for(;At$e){qe?Ie.push(At(qe,Lt,$e)):Ue&&Ie.push(At(Ue,Lt,0),At(Ue,Lt,$e));break}else Ue&&(Ie.push(At(Ue,Lt,0)),Ue=null),Ie.push(Lt),qe=Lt}return Ie}function getVisualGradient(xe,$e,Ie){var Fe=xe.getVisual("visualMeta");if(!(!Fe||!Fe.length||!xe.count())&&$e.type==="cartesian2d"){for(var Ue,qe,At=Fe.length-1;At>=0;At--){var Dt=xe.getDimensionInfo(Fe[At].dimension);if(Ue=Dt&&Dt.coordDim,Ue==="x"||Ue==="y"){qe=Fe[At];break}}if(qe){var Lt=$e.getAxis(Ue),jt=map$1(qe.stops,function(En){return{coord:Lt.toGlobalCoord(Lt.dataToCoord(En.value)),color:En.color}}),hn=jt.length,vn=qe.outerColors.slice();hn&&jt[0].coord>jt[hn-1].coord&&(jt.reverse(),vn.reverse());var bn=clipColorStops(jt,Ue==="x"?Ie.getWidth():Ie.getHeight()),_n=bn.length;if(!_n&&hn)return jt[0].coord<0?vn[1]?vn[1]:jt[hn-1].color:vn[0]?vn[0]:jt[0].color;var wn=10,kn=bn[0].coord-wn,Cn=bn[_n-1].coord+wn,Sn=Cn-kn;if(Sn<.001)return"transparent";each$f(bn,function(En){En.offset=(En.coord-kn)/Sn}),bn.push({offset:_n?bn[_n-1].offset:.5,color:vn[1]||"transparent"}),bn.unshift({offset:_n?bn[0].offset:.5,color:vn[0]||"transparent"});var xn=new LinearGradient(0,0,0,0,bn,!0);return xn[Ue]=kn,xn[Ue+"2"]=Cn,xn}}}function getIsIgnoreFunc(xe,$e,Ie){var Fe=xe.get("showAllSymbol"),Ue=Fe==="auto";if(!(Fe&&!Ue)){var qe=Ie.getAxesByScale("ordinal")[0];if(qe&&!(Ue&&canShowAllSymbolForCategory(qe,$e))){var At=$e.mapDimension(qe.dim),Dt={};return each$f(qe.getViewLabels(),function(Lt){var jt=qe.scale.getRawOrdinalNumber(Lt.tickValue);Dt[jt]=1}),function(Lt){return!Dt.hasOwnProperty($e.get(At,Lt))}}}}function canShowAllSymbolForCategory(xe,$e){var Ie=xe.getExtent(),Fe=Math.abs(Ie[1]-Ie[0])/xe.scale.count();isNaN(Fe)&&(Fe=0);for(var Ue=$e.count(),qe=Math.max(1,Math.round(Ue/5)),At=0;AtFe)return!1;return!0}function isPointNull(xe,$e){return isNaN(xe)||isNaN($e)}function getLastIndexNotNull(xe){for(var $e=xe.length/2;$e>0&&isPointNull(xe[$e*2-2],xe[$e*2-1]);$e--);return $e-1}function getPointAtIndex(xe,$e){return[xe[$e*2],xe[$e*2+1]]}function getIndexRange(xe,$e,Ie){for(var Fe=xe.length/2,Ue=Ie==="x"?0:1,qe,At,Dt=0,Lt=-1,jt=0;jt=$e||qe>=$e&&At<=$e){Lt=jt;break}Dt=jt,qe=At}return{range:[Dt,Lt],t:($e-qe)/(At-qe)}}function anyStateShowEndLabel(xe){if(xe.get(["endLabel","show"]))return!0;for(var $e=0;$e0&&Ie.get(["emphasis","lineStyle","width"])==="bolder"){var jn=kn.getState("emphasis").style;jn.lineWidth=+kn.style.lineWidth+1}getECData(kn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(kn,Hn,Fn,zn);var Gn=getSmooth(Ie.get("smooth")),Wn=Ie.get("smoothMonotone");if(kn.setShape({smooth:Gn,smoothMonotone:Wn,connectNulls:Nn}),Cn){var Xn=Lt.getCalculationInfo("stackedOnSeries"),er=0;Cn.useStyle(defaults(hn.getAreaStyle(),{fill:Bn,opacity:.7,lineJoin:"bevel",decal:Lt.getVisual("style").decal})),Xn&&(er=getSmooth(Xn.get("smooth"))),Cn.setShape({smooth:Gn,stackedOnSmooth:er,smoothMonotone:Wn,connectNulls:Nn}),setStatesStylesFromModel(Cn,Ie,"areaStyle"),getECData(Cn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(Cn,Hn,Fn,zn)}var rr=function(Jn){qe._changePolyState(Jn)};Lt.eachItemGraphicEl(function(Jn){Jn&&(Jn.onHoverStateChange=rr)}),this._polyline.onHoverStateChange=rr,this._data=Lt,this._coordSys=At,this._stackedOnPoints=$n,this._points=vn,this._step=On,this._valueOrigin=Tn,Ie.get("triggerLineEvent")&&(this.packEventData(Ie,kn),Cn&&this.packEventData(Ie,Cn))},$e.prototype.packEventData=function(Ie,Fe){getECData(Fe).eventData={componentType:"series",componentSubType:"line",componentIndex:Ie.componentIndex,seriesIndex:Ie.seriesIndex,seriesName:Ie.name,seriesType:"line"}},$e.prototype.highlight=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("emphasis"),!(Dt instanceof Array)&&Dt!=null&&Dt>=0){var Lt=At.getLayout("points"),jt=At.getItemGraphicEl(Dt);if(!jt){var hn=Lt[Dt*2],vn=Lt[Dt*2+1];if(isNaN(hn)||isNaN(vn)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(hn,vn))return;var bn=Ie.get("zlevel")||0,_n=Ie.get("z")||0;jt=new Symbol$1(At,Dt),jt.x=hn,jt.y=vn,jt.setZ(bn,_n);var wn=jt.getSymbolPath().getTextContent();wn&&(wn.zlevel=bn,wn.z=_n,wn.z2=this._polyline.z2+1),jt.__temp=!0,At.setItemGraphicEl(Dt,jt),jt.stopSymbolAnimation(!0),this.group.add(jt)}jt.highlight()}else ChartView.prototype.highlight.call(this,Ie,Fe,Ue,qe)},$e.prototype.downplay=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("normal"),Dt!=null&&Dt>=0){var Lt=At.getItemGraphicEl(Dt);Lt&&(Lt.__temp?(At.setItemGraphicEl(Dt,null),this.group.remove(Lt)):Lt.downplay())}else ChartView.prototype.downplay.call(this,Ie,Fe,Ue,qe)},$e.prototype._changePolyState=function(Ie){var Fe=this._polygon;setStatesFlag(this._polyline,Ie),Fe&&setStatesFlag(Fe,Ie)},$e.prototype._newPolyline=function(Ie){var Fe=this._polyline;return Fe&&this._lineGroup.remove(Fe),Fe=new ECPolyline({shape:{points:Ie},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(Fe),this._polyline=Fe,Fe},$e.prototype._newPolygon=function(Ie,Fe){var Ue=this._polygon;return Ue&&this._lineGroup.remove(Ue),Ue=new ECPolygon({shape:{points:Ie,stackedOnPoints:Fe},segmentIgnoreThreshold:2}),this._lineGroup.add(Ue),this._polygon=Ue,Ue},$e.prototype._initSymbolLabelAnimation=function(Ie,Fe,Ue){var qe,At,Dt=Fe.getBaseAxis(),Lt=Dt.inverse;Fe.type==="cartesian2d"?(qe=Dt.isHorizontal(),At=!1):Fe.type==="polar"&&(qe=Dt.dim==="angle",At=!0);var jt=Ie.hostModel,hn=jt.get("animationDuration");isFunction(hn)&&(hn=hn(null));var vn=jt.get("animationDelay")||0,bn=isFunction(vn)?vn(null):vn;Ie.eachItemGraphicEl(function(_n,wn){var kn=_n;if(kn){var Cn=[_n.x,_n.y],Sn=void 0,xn=void 0,En=void 0;if(Ue)if(At){var Tn=Ue,An=Fe.pointToCoord(Cn);qe?(Sn=Tn.startAngle,xn=Tn.endAngle,En=-An[1]/180*Math.PI):(Sn=Tn.r0,xn=Tn.r,En=An[0])}else{var $n=Ue;qe?(Sn=$n.x,xn=$n.x+$n.width,En=_n.x):(Sn=$n.y+$n.height,xn=$n.y,En=_n.y)}var Pn=xn===Sn?0:(En-Sn)/(xn-Sn);Lt&&(Pn=1-Pn);var Nn=isFunction(vn)?vn(wn):hn*Pn+bn,Mn=kn.getSymbolPath(),In=Mn.getTextContent();kn.attr({scaleX:0,scaleY:0}),kn.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:Nn}),In&&In.animateFrom({style:{opacity:0}},{duration:300,delay:Nn}),Mn.disableLabelAnimation=!0}})},$e.prototype._initOrUpdateEndLabel=function(Ie,Fe,Ue){var qe=Ie.getModel("endLabel");if(anyStateShowEndLabel(Ie)){var At=Ie.getData(),Dt=this._polyline,Lt=At.getLayout("points");if(!Lt){Dt.removeTextContent(),this._endLabel=null;return}var jt=this._endLabel;jt||(jt=this._endLabel=new ZRText({z2:200}),jt.ignoreClip=!0,Dt.setTextContent(this._endLabel),Dt.disableLabelAnimation=!0);var hn=getLastIndexNotNull(Lt);hn>=0&&(setLabelStyle(Dt,getLabelStatesModels(Ie,"endLabel"),{inheritColor:Ue,labelFetcher:Ie,labelDataIndex:hn,defaultText:function(vn,bn,_n){return _n!=null?getDefaultInterpolatedLabel(At,_n):getDefaultLabel(At,vn)},enableTextSetter:!0},getEndLabelStateSpecified(qe,Fe)),Dt.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},$e.prototype._endLabelOnDuring=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._endLabel,hn=this._polyline;if(jt){Ie<1&&qe.originalX==null&&(qe.originalX=jt.x,qe.originalY=jt.y);var vn=Ue.getLayout("points"),bn=Ue.hostModel,_n=bn.get("connectNulls"),wn=Dt.get("precision"),kn=Dt.get("distance")||0,Cn=Lt.getBaseAxis(),Sn=Cn.isHorizontal(),xn=Cn.inverse,En=Fe.shape,Tn=xn?Sn?En.x:En.y+En.height:Sn?En.x+En.width:En.y,An=(Sn?kn:0)*(xn?-1:1),$n=(Sn?0:-kn)*(xn?-1:1),Pn=Sn?"x":"y",Nn=getIndexRange(vn,Tn,Pn),Mn=Nn.range,In=Mn[1]-Mn[0],On=void 0;if(In>=1){if(In>1&&!_n){var Rn=getPointAtIndex(vn,Mn[0]);jt.attr({x:Rn[0]+An,y:Rn[1]+$n}),At&&(On=bn.getRawValue(Mn[0]))}else{var Rn=hn.getPointOn(Tn,Pn);Rn&&jt.attr({x:Rn[0]+An,y:Rn[1]+$n});var Bn=bn.getRawValue(Mn[0]),Vn=bn.getRawValue(Mn[1]);At&&(On=interpolateRawValues(Ue,wn,Bn,Vn,Nn.t))}qe.lastFrameIndex=Mn[0]}else{var Ln=Ie===1||qe.lastFrameIndex>0?Mn[0]:0,Rn=getPointAtIndex(vn,Ln);At&&(On=bn.getRawValue(Ln)),jt.attr({x:Rn[0]+An,y:Rn[1]+$n})}if(At){var Dn=labelInner(jt);typeof Dn.setLabelText=="function"&&Dn.setLabelText(On)}}},$e.prototype._doUpdateAnimation=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._polyline,hn=this._polygon,vn=Ie.hostModel,bn=lineAnimationDiff(this._data,Ie,this._stackedOnPoints,Fe,this._coordSys,Ue,this._valueOrigin),_n=bn.current,wn=bn.stackedOnCurrent,kn=bn.next,Cn=bn.stackedOnNext;if(At&&(_n=turnPointsIntoStep(bn.current,Ue,At,Lt),wn=turnPointsIntoStep(bn.stackedOnCurrent,Ue,At,Lt),kn=turnPointsIntoStep(bn.next,Ue,At,Lt),Cn=turnPointsIntoStep(bn.stackedOnNext,Ue,At,Lt)),getBoundingDiff(_n,kn)>3e3||hn&&getBoundingDiff(wn,Cn)>3e3){jt.stopAnimation(),jt.setShape({points:kn}),hn&&(hn.stopAnimation(),hn.setShape({points:kn,stackedOnPoints:Cn}));return}jt.shape.__points=bn.current,jt.shape.points=_n;var Sn={shape:{points:kn}};bn.current!==_n&&(Sn.shape.__points=bn.next),jt.stopAnimation(),updateProps$1(jt,Sn,vn),hn&&(hn.setShape({points:_n,stackedOnPoints:wn}),hn.stopAnimation(),updateProps$1(hn,{shape:{stackedOnPoints:Cn}},vn),jt.shape.points!==hn.shape.points&&(hn.shape.points=jt.shape.points));for(var xn=[],En=bn.status,Tn=0;Tn$e&&($e=xe[Ie]);return isFinite($e)?$e:NaN},min:function(xe){for(var $e=1/0,Ie=0;Ie$e&&($e=qe,Ie=Ue)}return isFinite(Ie)?Ie:NaN},nearest:function(xe){return xe[0]}},indexSampler=function(xe){return Math.round(xe.length/2)};function dataSample(xe){return{seriesType:xe,reset:function($e,Ie,Fe){var Ue=$e.getData(),qe=$e.get("sampling"),At=$e.coordinateSystem,Dt=Ue.count();if(Dt>10&&At.type==="cartesian2d"&&qe){var Lt=At.getBaseAxis(),jt=At.getOtherAxis(Lt),hn=Lt.getExtent(),vn=Fe.getDevicePixelRatio(),bn=Math.abs(hn[1]-hn[0])*(vn||1),_n=Math.round(Dt/bn);if(isFinite(_n)&&_n>1){qe==="lttb"&&$e.setData(Ue.lttbDownSample(Ue.mapDimension(jt.dim),1/_n));var wn=void 0;isString(qe)?wn=samplers[qe]:isFunction(qe)&&(wn=qe),wn&&$e.setData(Ue.downSample(Ue.mapDimension(jt.dim),1/_n,wn,indexSampler))}}}}}function install$R(xe){xe.registerChartView(LineView),xe.registerSeriesModel(LineSeriesModel),xe.registerLayout(pointsLayout("line",!0)),xe.registerVisual({seriesType:"line",reset:function($e){var Ie=$e.getData(),Fe=$e.getModel("lineStyle").getLineStyle();Fe&&!Fe.stroke&&(Fe.stroke=Ie.getVisual("style").fill),Ie.setVisual("legendLineStyle",Fe)}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getMarkerPosition=function(Ie,Fe,Ue){var qe=this.coordinateSystem;if(qe&&qe.clampData){var At=qe.clampData(Ie),Dt=qe.dataToPoint(At);if(Ue)each$f(qe.getAxes(),function(bn,_n){if(bn.type==="category"&&Fe!=null){var wn=bn.getTicksCoords(),kn=bn.getTickModel().get("alignWithLabel"),Cn=At[_n],Sn=Fe[_n]==="x1"||Fe[_n]==="y1";if(Sn&&!kn&&(Cn+=1),wn.length<2)return;if(wn.length===2){Dt[_n]=bn.toGlobalCoord(bn.getExtent()[Sn?1:0]);return}for(var xn=void 0,En=void 0,Tn=1,An=0;AnCn){En=($n+xn)/2;break}An===1&&(Tn=Pn-wn[0].tickValue)}En==null&&(xn?xn&&(En=wn[wn.length-1].coord):En=wn[0].coord),Dt[_n]=bn.toGlobalCoord(En)}});else{var Lt=this.getData(),jt=Lt.getLayout("offset"),hn=Lt.getLayout("size"),vn=qe.getBaseAxis().isHorizontal()?0:1;Dt[vn]+=jt+hn/2}return Dt}return[NaN,NaN]},$e.type="series.__base_bar__",$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},$e}(SeriesModel);SeriesModel.registerClass(BaseBarSeriesModel);var BarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},$e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},$e.prototype.getProgressiveThreshold=function(){var Ie=this.get("progressiveThreshold"),Fe=this.get("largeThreshold");return Fe>Ie&&(Ie=Fe),Ie},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.rect(Fe.getItemLayout(Ie))},$e.type="series.bar",$e.dependencies=["grid","polar"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),$e}(BaseBarSeriesModel),SausageShape=function(){function xe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return xe}(),SausagePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="sausage",Fe}return $e.prototype.getDefaultShape=function(){return new SausageShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.max(Fe.r0||0,0),Dt=Math.max(Fe.r,0),Lt=(Dt-At)*.5,jt=At+Lt,hn=Fe.startAngle,vn=Fe.endAngle,bn=Fe.clockwise,_n=Math.PI*2,wn=bn?vn-hn<_n:hn-vn<_n;wn||(hn=vn-(bn?_n:-_n));var kn=Math.cos(hn),Cn=Math.sin(hn),Sn=Math.cos(vn),xn=Math.sin(vn);wn?(Ie.moveTo(kn*At+Ue,Cn*At+qe),Ie.arc(kn*jt+Ue,Cn*jt+qe,Lt,-Math.PI+hn,hn,!bn)):Ie.moveTo(kn*Dt+Ue,Cn*Dt+qe),Ie.arc(Ue,qe,Dt,hn,vn,!bn),Ie.arc(Sn*jt+Ue,xn*jt+qe,Lt,vn-Math.PI*2,vn-Math.PI,!bn),At!==0&&Ie.arc(Ue,qe,At,vn,hn,bn)},$e}(Path);function createSectorCalculateTextPosition(xe,$e){$e=$e||{};var Ie=$e.isRoundCap;return function(Fe,Ue,qe){var At=Ue.position;if(!At||At instanceof Array)return calculateTextPosition(Fe,Ue,qe);var Dt=xe(At),Lt=Ue.distance!=null?Ue.distance:5,jt=this.shape,hn=jt.cx,vn=jt.cy,bn=jt.r,_n=jt.r0,wn=(bn+_n)/2,kn=jt.startAngle,Cn=jt.endAngle,Sn=(kn+Cn)/2,xn=Ie?Math.abs(bn-_n)/2:0,En=Math.cos,Tn=Math.sin,An=hn+bn*En(kn),$n=vn+bn*Tn(kn),Pn="left",Nn="top";switch(Dt){case"startArc":An=hn+(_n-Lt)*En(Sn),$n=vn+(_n-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"insideStartArc":An=hn+(_n+Lt)*En(Sn),$n=vn+(_n+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"startAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,Lt+xn,!1),Pn="right",Nn="middle";break;case"insideStartAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,-Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,-Lt+xn,!1),Pn="left",Nn="middle";break;case"middle":An=hn+wn*En(Sn),$n=vn+wn*Tn(Sn),Pn="center",Nn="middle";break;case"endArc":An=hn+(bn+Lt)*En(Sn),$n=vn+(bn+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"insideEndArc":An=hn+(bn-Lt)*En(Sn),$n=vn+(bn-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"endAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,Lt+xn,!0),Pn="left",Nn="middle";break;case"insideEndAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,-Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,-Lt+xn,!0),Pn="right",Nn="middle";break;default:return calculateTextPosition(Fe,Ue,qe)}return Fe=Fe||{},Fe.x=An,Fe.y=$n,Fe.align=Pn,Fe.verticalAlign=Nn,Fe}}function setSectorTextRotation(xe,$e,Ie,Fe){if(isNumber(Fe)){xe.setTextConfig({rotation:Fe});return}else if(isArray$1($e)){xe.setTextConfig({rotation:0});return}var Ue=xe.shape,qe=Ue.clockwise?Ue.startAngle:Ue.endAngle,At=Ue.clockwise?Ue.endAngle:Ue.startAngle,Dt=(qe+At)/2,Lt,jt=Ie($e);switch(jt){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":Lt=Dt;break;case"startAngle":case"insideStartAngle":Lt=qe;break;case"endAngle":case"insideEndAngle":Lt=At;break;default:xe.setTextConfig({rotation:0});return}var hn=Math.PI*1.5-Lt;jt==="middle"&&hn>Math.PI/2&&hnDt)return!0;Dt=vn}return!1},$e.prototype._isOrderDifferentInView=function(Ie,Fe){for(var Ue=Fe.scale,qe=Ue.getExtent(),At=Math.max(0,qe[0]),Dt=Math.min(qe[1],Ue.getOrdinalMeta().categories.length-1);At<=Dt;++At)if(Ie.ordinalNumbers[At]!==Ue.getRawOrdinalNumber(At))return!0},$e.prototype._updateSortWithinSameData=function(Ie,Fe,Ue,qe){if(this._isOrderChangedWithinSameData(Ie,Fe,Ue)){var At=this._dataSort(Ie,Ue,Fe);this._isOrderDifferentInView(At,Ue)&&(this._removeOnRenderedListener(qe),qe.dispatchAction({type:"changeAxisOrder",componentType:Ue.dim+"Axis",axisId:Ue.index,sortInfo:At}))}},$e.prototype._dispatchInitSort=function(Ie,Fe,Ue){var qe=Fe.baseAxis,At=this._dataSort(Ie,qe,function(Dt){return Ie.get(Ie.mapDimension(Fe.otherAxis.dim),Dt)});Ue.dispatchAction({type:"changeAxisOrder",componentType:qe.dim+"Axis",isInitSort:!0,axisId:qe.index,sortInfo:At})},$e.prototype.remove=function(Ie,Fe){this._clear(this._model),this._removeOnRenderedListener(Fe)},$e.prototype.dispose=function(Ie,Fe){this._removeOnRenderedListener(Fe)},$e.prototype._removeOnRenderedListener=function(Ie){this._onRendered&&(Ie.getZr().off("rendered",this._onRendered),this._onRendered=null)},$e.prototype._clear=function(Ie){var Fe=this.group,Ue=this._data;Ie&&Ie.isAnimationEnabled()&&Ue&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],Ue.eachItemGraphicEl(function(qe){removeElementWithFadeOut(qe,Ie,getECData(qe).dataIndex)})):Fe.removeAll(),this._data=null,this._isFirstFrame=!0},$e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},$e.type="bar",$e}(ChartView),clip={cartesian2d:function(xe,$e){var Ie=$e.width<0?-1:1,Fe=$e.height<0?-1:1;Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height);var Ue=xe.x+xe.width,qe=xe.y+xe.height,At=mathMax$4($e.x,xe.x),Dt=mathMin$4($e.x+$e.width,Ue),Lt=mathMax$4($e.y,xe.y),jt=mathMin$4($e.y+$e.height,qe),hn=DtUe?Dt:At,$e.y=vn&&Lt>qe?jt:Lt,$e.width=hn?0:Dt-At,$e.height=vn?0:jt-Lt,Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height),hn||vn},polar:function(xe,$e){var Ie=$e.r0<=$e.r?1:-1;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}var Ue=mathMin$4($e.r,xe.r),qe=mathMax$4($e.r0,xe.r0);$e.r=Ue,$e.r0=qe;var At=Ue-qe<0;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}return At}},elementCreator={cartesian2d:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=new Rect$2({shape:extend({},Fe),z2:1});if(jt.__dataIndex=Ie,jt.name="item",qe){var hn=jt.shape,vn=Ue?"height":"width";hn[vn]=0}return jt},polar:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=!Ue&&Lt?SausagePath:Sector,hn=new jt({shape:Fe,z2:1});hn.name="item";var vn=createPolarPositionMapping(Ue);if(hn.calculateTextPosition=createSectorCalculateTextPosition(vn,{isRoundCap:jt===SausagePath}),qe){var bn=hn.shape,_n=Ue?"r":"endAngle",wn={};bn[_n]=Ue?Fe.r0:Fe.startAngle,wn[_n]=Fe[_n],(Dt?updateProps$1:initProps)(hn,{shape:wn},qe)}return hn}};function shouldRealtimeSort(xe,$e){var Ie=xe.get("realtimeSort",!0),Fe=$e.getBaseAxis();if(Ie&&Fe.type==="category"&&$e.type==="cartesian2d")return{baseAxis:Fe,otherAxis:$e.getOtherAxis(Fe)}}function updateRealtimeAnimation(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt,jt;qe?(jt={x:Fe.x,width:Fe.width},Lt={y:Fe.y,height:Fe.height}):(jt={y:Fe.y,height:Fe.height},Lt={x:Fe.x,width:Fe.width}),Dt||(At?updateProps$1:initProps)(Ie,{shape:Lt},$e,Ue,null);var hn=$e?xe.baseAxis.model:null;(At?updateProps$1:initProps)(Ie,{shape:jt},hn,Ue)}function checkPropertiesNotValid(xe,$e){for(var Ie=0;Ie<$e.length;Ie++)if(!isFinite(xe[$e[Ie]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function(xe){return!checkPropertiesNotValid(xe,rectPropties)},polar:function(xe){return!checkPropertiesNotValid(xe,polarPropties)}},getLayout={cartesian2d:function(xe,$e,Ie){var Fe=xe.getItemLayout($e),Ue=Ie?getLineWidth(Ie,Fe):0,qe=Fe.width>0?1:-1,At=Fe.height>0?1:-1;return{x:Fe.x+qe*Ue/2,y:Fe.y+At*Ue/2,width:Fe.width-qe*Ue,height:Fe.height-At*Ue}},polar:function(xe,$e,Ie){var Fe=xe.getItemLayout($e);return{cx:Fe.cx,cy:Fe.cy,r0:Fe.r0,r:Fe.r,startAngle:Fe.startAngle,endAngle:Fe.endAngle,clockwise:Fe.clockwise}}};function isZeroOnPolar(xe){return xe.startAngle!=null&&xe.endAngle!=null&&xe.startAngle===xe.endAngle}function createPolarPositionMapping(xe){return function($e){var Ie=$e?"Arc":"Angle";return function(Fe){switch(Fe){case"start":case"insideStart":case"end":case"insideEnd":return Fe+Ie;default:return Fe}}}(xe)}function updateStyle(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getItemVisual(Ie,"style");if(Dt){if(!qe.get("roundCap")){var hn=xe.shape,vn=getSectorCornerRadius(Fe.getModel("itemStyle"),hn,!0);extend(hn,vn),xe.setShape(hn)}}else{var jt=Fe.get(["itemStyle","borderRadius"])||0;xe.setShape("r",jt)}xe.useStyle(Lt);var bn=Fe.getShallow("cursor");bn&&xe.attr("cursor",bn);var _n=Dt?At?Ue.r>=Ue.r0?"endArc":"startArc":Ue.endAngle>=Ue.startAngle?"endAngle":"startAngle":At?Ue.height>=0?"bottom":"top":Ue.width>=0?"right":"left",wn=getLabelStatesModels(Fe);setLabelStyle(xe,wn,{labelFetcher:qe,labelDataIndex:Ie,defaultText:getDefaultLabel(qe.getData(),Ie),inheritColor:Lt.fill,defaultOpacity:Lt.opacity,defaultOutsidePosition:_n});var kn=xe.getTextContent();if(Dt&&kn){var Cn=Fe.get(["label","position"]);xe.textConfig.inside=Cn==="middle"?!0:null,setSectorTextRotation(xe,Cn==="outside"?_n:Cn,createPolarPositionMapping(At),Fe.get(["label","rotate"]))}setLabelValueAnimation(kn,wn,qe.getRawValue(Ie),function(xn){return getDefaultInterpolatedLabel($e,xn)});var Sn=Fe.getModel(["emphasis"]);toggleHoverEmphasis(xe,Sn.get("focus"),Sn.get("blurScope"),Sn.get("disabled")),setStatesStylesFromModel(xe,Fe),isZeroOnPolar(Ue)&&(xe.style.fill="none",xe.style.stroke="none",each$f(xe.states,function(xn){xn.style&&(xn.style.fill=xn.style.stroke="none")}))}function getLineWidth(xe,$e){var Ie=xe.get(["itemStyle","borderColor"]);if(!Ie||Ie==="none")return 0;var Fe=xe.get(["itemStyle","borderWidth"])||0,Ue=isNaN($e.width)?Number.MAX_VALUE:Math.abs($e.width),qe=isNaN($e.height)?Number.MAX_VALUE:Math.abs($e.height);return Math.min(Fe,Ue,qe)}var LagePathShape=function(){function xe(){}return xe}(),LargePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeBar",Fe}return $e.prototype.getDefaultShape=function(){return new LagePathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=this.baseDimIdx,At=1-this.baseDimIdx,Dt=[],Lt=[],jt=this.barWidth,hn=0;hn=0?Ie:null},30,!1);function largePathFindDataIndex(xe,$e,Ie){for(var Fe=xe.baseDimIdx,Ue=1-Fe,qe=xe.shape.points,At=xe.largeDataIndices,Dt=[],Lt=[],jt=xe.barWidth,hn=0,vn=qe.length/3;hn=Dt[0]&&$e<=Dt[0]+Lt[0]&&Ie>=Dt[1]&&Ie<=Dt[1]+Lt[1])return At[hn]}return-1}function createBackgroundShape(xe,$e,Ie){if(isCoordinateSystemType(Ie,"cartesian2d")){var Fe=$e,Ue=Ie.getArea();return{x:xe?Fe.x:Ue.x,y:xe?Ue.y:Fe.y,width:xe?Fe.width:Ue.width,height:xe?Ue.height:Fe.height}}else{var Ue=Ie.getArea(),qe=$e;return{cx:Ue.cx,cy:Ue.cy,r0:xe?Ue.r0:qe.r0,r:xe?Ue.r:qe.r,startAngle:xe?qe.startAngle:0,endAngle:xe?qe.endAngle:Math.PI*2}}}function createBackgroundEl(xe,$e,Ie){var Fe=xe.type==="polar"?Sector:Rect$2;return new Fe({shape:createBackgroundShape($e,Ie,xe),silent:!0,z2:0})}function install$Q(xe){xe.registerChartView(BarView),xe.registerSeriesModel(BarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"bar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),xe.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function($e,Ie){var Fe=$e.componentType||"series";Ie.eachComponent({mainType:Fe,query:$e},function(Ue){$e.sortInfo&&Ue.axis.setCategorySortInfo($e.sortInfo)})})}var PI2=Math.PI*2,RADIAN$2=Math.PI/180;function getViewRect$5(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getBasicPieLayout(xe,$e){var Ie=getViewRect$5(xe,$e),Fe=xe.get("center"),Ue=xe.get("radius");isArray$1(Ue)||(Ue=[0,Ue]);var qe=parsePercent(Ie.width,$e.getWidth()),At=parsePercent(Ie.height,$e.getHeight()),Dt=Math.min(qe,At),Lt=parsePercent(Ue[0],Dt/2),jt=parsePercent(Ue[1],Dt/2),hn,vn,bn=xe.coordinateSystem;if(bn){var _n=bn.dataToPoint(Fe);hn=_n[0]||0,vn=_n[1]||0}else isArray$1(Fe)||(Fe=[Fe,Fe]),hn=parsePercent(Fe[0],qe)+Ie.x,vn=parsePercent(Fe[1],At)+Ie.y;return{cx:hn,cy:vn,r0:Lt,r:jt}}function pieLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.getData(),qe=Ue.mapDimension("value"),At=getViewRect$5(Fe,Ie),Dt=getBasicPieLayout(Fe,Ie),Lt=Dt.cx,jt=Dt.cy,hn=Dt.r,vn=Dt.r0,bn=-Fe.get("startAngle")*RADIAN$2,_n=Fe.get("endAngle"),wn=Fe.get("padAngle")*RADIAN$2;_n=_n==="auto"?bn-PI2:-_n*RADIAN$2;var kn=Fe.get("minAngle")*RADIAN$2,Cn=kn+wn,Sn=0;Ue.each(qe,function(Dn){!isNaN(Dn)&&Sn++});var xn=Ue.getSum(qe),En=Math.PI/(xn||Sn)*2,Tn=Fe.get("clockwise"),An=Fe.get("roseType"),$n=Fe.get("stillShowZeroSum"),Pn=Ue.getDataExtent(qe);Pn[0]=0;var Nn=Tn?1:-1,Mn=[bn,_n],In=Nn*wn/2;normalizeArcAngles(Mn,!Tn),bn=Mn[0],_n=Mn[1];var On=Math.abs(_n-bn),Rn=On,Bn=0,Vn=bn;if(Ue.setLayout({viewRect:At,r:hn}),Ue.each(qe,function(Dn,Hn){var Fn;if(isNaN(Dn)){Ue.setItemLayout(Hn,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?NaN:hn});return}An!=="area"?Fn=xn===0&&$n?En:Dn*En:Fn=On/Sn,FnFn?(jn=Vn+Nn*Fn/2,Gn=jn):(jn=Vn+In,Gn=zn-In),Ue.setItemLayout(Hn,{angle:Fn,startAngle:jn,endAngle:Gn,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?linearMap$2(Dn,Pn,[vn,hn]):hn}),Vn=zn}),RnIe?Sn:Cn,An=Math.abs(En.label.y-Ie);if(An>=Tn.maxY){var $n=En.label.x-$e-En.len2*Ue,Pn=Fe+En.len,Nn=Math.abs($n)xe.unconstrainedWidth?null:_n:null;Fe.setStyle("width",wn)}var kn=Fe.getBoundingRect();qe.width=kn.width;var Cn=(Fe.style.margin||0)+2.1;qe.height=kn.height+Cn,qe.y-=(qe.height-vn)/2}}}function isPositionCenter(xe){return xe.position==="center"}function pieLabelLayout(xe){var $e=xe.getData(),Ie=[],Fe,Ue,qe=!1,At=(xe.get("minShowLabelAngle")||0)*RADIAN$1,Dt=$e.getLayout("viewRect"),Lt=$e.getLayout("r"),jt=Dt.width,hn=Dt.x,vn=Dt.y,bn=Dt.height;function _n($n){$n.ignore=!0}function wn($n){if(!$n.ignore)return!0;for(var Pn in $n.states)if($n.states[Pn].ignore===!1)return!0;return!1}$e.each(function($n){var Pn=$e.getItemGraphicEl($n),Nn=Pn.shape,Mn=Pn.getTextContent(),In=Pn.getTextGuideLine(),On=$e.getItemModel($n),Rn=On.getModel("label"),Bn=Rn.get("position")||On.get(["emphasis","label","position"]),Vn=Rn.get("distanceToLabelLine"),Ln=Rn.get("alignTo"),Dn=parsePercent(Rn.get("edgeDistance"),jt),Hn=Rn.get("bleedMargin"),Fn=On.getModel("labelLine"),zn=Fn.get("length");zn=parsePercent(zn,jt);var jn=Fn.get("length2");if(jn=parsePercent(jn,jt),Math.abs(Nn.endAngle-Nn.startAngle)0?"right":"left":Wn>0?"left":"right"}var nr=Math.PI,lr=0,ir=Rn.get("rotate");if(isNumber(ir))lr=ir*(nr/180);else if(Bn==="center")lr=0;else if(ir==="radial"||ir===!0){var kr=Wn<0?-Gn+nr:-Gn;lr=kr}else if(ir==="tangential"&&Bn!=="outside"&&Bn!=="outer"){var Cr=Math.atan2(Wn,Xn);Cr<0&&(Cr=nr*2+Cr);var Er=Xn>0;Er&&(Cr=nr+Cr),lr=Cr-nr}if(qe=!!lr,Mn.x=er,Mn.y=rr,Mn.rotation=lr,Mn.setStyle({verticalAlign:"middle"}),qn){Mn.setStyle({align:Yn});var _r=Mn.states.select;_r&&(_r.x+=Mn.x,_r.y+=Mn.y)}else{var dr=Mn.getBoundingRect().clone();dr.applyTransform(Mn.getComputedTransform());var br=(Mn.style.margin||0)+2.1;dr.y-=br/2,dr.height+=br,Ie.push({label:Mn,labelLine:In,position:Bn,len:zn,len2:jn,minTurnAngle:Fn.get("minTurnAngle"),maxSurfaceAngle:Fn.get("maxSurfaceAngle"),surfaceNormal:new Point(Wn,Xn),linePoints:Jn,textAlign:Yn,labelDistance:Vn,labelAlignTo:Ln,edgeDistance:Dn,bleedMargin:Hn,rect:dr,unconstrainedWidth:dr.width,labelStyleWidth:Mn.style.width})}Pn.setTextConfig({inside:qn})}}),!qe&&xe.get("avoidLabelOverlap")&&avoidOverlap(Ie,Fe,Ue,Lt,jt,bn,hn,vn);for(var kn=0;kn0){for(var hn=At.getItemLayout(0),vn=1;isNaN(hn&&hn.startAngle)&&vn=qe.r0}},$e.type="pie",$e}(ChartView);function createSeriesDataSimply(xe,$e,Ie){$e=isArray$1($e)&&{coordDimensions:$e}||extend({encodeDefine:xe.getEncode()},$e);var Fe=xe.getSource(),Ue=prepareSeriesDataSchema(Fe,$e).dimensions,qe=new SeriesData(Ue,xe);return qe.initData(Fe,Ie),qe}var LegendVisualProvider=function(){function xe($e,Ie){this._getDataWithEncodedVisual=$e,this._getRawData=Ie}return xe.prototype.getAllNames=function(){var $e=this._getRawData();return $e.mapArray($e.getName)},xe.prototype.containName=function($e){var Ie=this._getRawData();return Ie.indexOfName($e)>=0},xe.prototype.indexOfName=function($e){var Ie=this._getDataWithEncodedVisual();return Ie.indexOfName($e)},xe.prototype.getItemVisual=function($e,Ie){var Fe=this._getDataWithEncodedVisual();return Fe.getItemVisual($e,Ie)},xe}(),innerData=makeInner(),PieSeriesModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.mergeOption=function(){xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=innerData(Fe),qe=Ue.seats;if(!qe){var At=[];Fe.each(Fe.mapDimension("value"),function(Lt){At.push(Lt)}),qe=Ue.seats=getPercentSeats(At,Fe.hostModel.get("percentPrecision"))}var Dt=xe.prototype.getDataParams.call(this,Ie);return Dt.percent=qe[Ie]||0,Dt.$vars.push("percent"),Dt},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.type="series.pie",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},$e}(SeriesModel);function negativeDataFilter(xe){return{seriesType:xe,reset:function($e,Ie){var Fe=$e.getData();Fe.filterSelf(function(Ue){var qe=Fe.mapDimension("value"),At=Fe.get(qe,Ue);return!(isNumber(At)&&!isNaN(At)&&At<0)})}}}function install$P(xe){xe.registerChartView(PieView),xe.registerSeriesModel(PieSeriesModel),createLegacyDataSelectAction("pie",xe.registerAction),xe.registerLayout(curry$1(pieLayout,"pie")),xe.registerProcessor(dataFilter$1("pie")),xe.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?5e3:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?1e4:this.get("progressiveThreshold"))},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.point(Fe.getItemLayout(Ie))},$e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},$e.type="series.scatter",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},$e}(SeriesModel),BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){function xe(){}return xe}(),LargeSymbolPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},$e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.size,At=this.symbolProxy,Dt=At.shape,Lt=Ie.getContext?Ie.getContext():Ie,jt=Lt&&qe[0]=0;jt--){var hn=jt*2,vn=qe[hn]-Dt/2,bn=qe[hn+1]-Lt/2;if(Ie>=vn&&Fe>=bn&&Ie<=vn+Dt&&Fe<=bn+Lt)return jt}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.points,qe=Fe.size,At=qe[0],Dt=qe[1],Lt=1/0,jt=1/0,hn=-1/0,vn=-1/0,bn=0;bn=0&&(jt.dataIndex=vn+($e.startIndex||0))})},xe.prototype.remove=function(){this._clear()},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),ScatterView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.updateData(qe,{clipShape:this._getClipShape(Ie)}),this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._symbolDraw.incrementalUpdate(Ie,Fe.getData(),{clipShape:this._getClipShape(Fe)}),this._finished=Ie.end===Fe.getData().count()},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData();if(this.group.dirty(),!this._finished||qe.count()>1e4)return{update:!0};var At=pointsLayout("").reset(Ie,Fe,Ue);At.progress&&At.progress({start:0,end:qe.count(),count:qe.count()},qe),this._symbolDraw.updateLayout(qe)},$e.prototype.eachRendered=function(Ie){this._symbolDraw&&this._symbolDraw.eachRendered(Ie)},$e.prototype._getClipShape=function(Ie){if(Ie.get("clip",!0)){var Fe=Ie.coordinateSystem;return Fe&&Fe.getArea&&Fe.getArea(.1)}},$e.prototype._updateSymbolDraw=function(Ie,Fe){var Ue=this._symbolDraw,qe=Fe.pipelineContext,At=qe.large;return(!Ue||At!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._symbolDraw=At?new LargeSymbolDraw:new SymbolDraw,this._isLargeDraw=At,this.group.removeAll()),this.group.add(Ue.group),Ue},$e.prototype.remove=function(Ie,Fe){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},$e.prototype.dispose=function(){},$e.type="scatter",$e}(ChartView),GridModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.type="grid",$e.dependencies=["xAxis","yAxis"],$e.layoutMode="box",$e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},$e}(ComponentModel),CartesianAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},$e.type="cartesian2dAxis",$e}(ComponentModel);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},defaultOption$1),timeAxis=merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults({logBase:10},valueAxis);const axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis};var AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(xe,$e,Ie,Fe){each$f(AXIS_TYPES,function(Ue,qe){var At=merge(merge({},axisDefault[qe],!0),Fe,!0),Dt=function(Lt){__extends(jt,Lt);function jt(){var hn=Lt!==null&&Lt.apply(this,arguments)||this;return hn.type=$e+"Axis."+qe,hn}return jt.prototype.mergeDefaultAndTheme=function(hn,vn){var bn=fetchLayoutMode(this),_n=bn?getLayoutParams(hn):{},wn=vn.getTheme();merge(hn,wn.get(qe+"Axis")),merge(hn,this.getDefaultOption()),hn.type=getAxisType(hn),bn&&mergeLayoutParam(hn,_n,bn)},jt.prototype.optionUpdated=function(){var hn=this.option;hn.type==="category"&&(this.__ordinalMeta=OrdinalMeta.createByAxisModel(this))},jt.prototype.getCategories=function(hn){var vn=this.option;if(vn.type==="category")return hn?vn.data:this.__ordinalMeta.categories},jt.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},jt.type=$e+"Axis."+qe,jt.defaultOption=At,jt}(Ie);xe.registerComponentModel(Dt)}),xe.registerSubTypeDefaulter($e+"Axis",getAxisType)}function getAxisType(xe){return xe.type||(xe.data?"category":"value")}var Cartesian=function(){function xe($e){this.type="cartesian",this._dimList=[],this._axes={},this.name=$e||""}return xe.prototype.getAxis=function($e){return this._axes[$e]},xe.prototype.getAxes=function(){return map$1(this._dimList,function($e){return this._axes[$e]},this)},xe.prototype.getAxesByScale=function($e){return $e=$e.toLowerCase(),filter(this.getAxes(),function(Ie){return Ie.scale.type===$e})},xe.prototype.addAxis=function($e){var Ie=$e.dim;this._axes[Ie]=$e,this._dimList.push(Ie)},xe}(),cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(xe){return xe.type==="interval"||xe.type==="time"}var Cartesian2D=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="cartesian2d",Ie.dimensions=cartesian2DDimensions,Ie}return $e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var Ie=this.getAxis("x").scale,Fe=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(Ie)||!canCalculateAffineTransform(Fe))){var Ue=Ie.getExtent(),qe=Fe.getExtent(),At=this.dataToPoint([Ue[0],qe[0]]),Dt=this.dataToPoint([Ue[1],qe[1]]),Lt=Ue[1]-Ue[0],jt=qe[1]-qe[0];if(!(!Lt||!jt)){var hn=(Dt[0]-At[0])/Lt,vn=(Dt[1]-At[1])/jt,bn=At[0]-Ue[0]*hn,_n=At[1]-qe[0]*vn,wn=this._transform=[hn,0,0,vn,bn,_n];this._invTransform=invert([],wn)}}},$e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},$e.prototype.containPoint=function(Ie){var Fe=this.getAxis("x"),Ue=this.getAxis("y");return Fe.contain(Fe.toLocalCoord(Ie[0]))&&Ue.contain(Ue.toLocalCoord(Ie[1]))},$e.prototype.containData=function(Ie){return this.getAxis("x").containData(Ie[0])&&this.getAxis("y").containData(Ie[1])},$e.prototype.containZone=function(Ie,Fe){var Ue=this.dataToPoint(Ie),qe=this.dataToPoint(Fe),At=this.getArea(),Dt=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]);return At.intersect(Dt)},$e.prototype.dataToPoint=function(Ie,Fe,Ue){Ue=Ue||[];var qe=Ie[0],At=Ie[1];if(this._transform&&qe!=null&&isFinite(qe)&&At!=null&&isFinite(At))return applyTransform$1(Ue,Ie,this._transform);var Dt=this.getAxis("x"),Lt=this.getAxis("y");return Ue[0]=Dt.toGlobalCoord(Dt.dataToCoord(qe,Fe)),Ue[1]=Lt.toGlobalCoord(Lt.dataToCoord(At,Fe)),Ue},$e.prototype.clampData=function(Ie,Fe){var Ue=this.getAxis("x").scale,qe=this.getAxis("y").scale,At=Ue.getExtent(),Dt=qe.getExtent(),Lt=Ue.parse(Ie[0]),jt=qe.parse(Ie[1]);return Fe=Fe||[],Fe[0]=Math.min(Math.max(Math.min(At[0],At[1]),Lt),Math.max(At[0],At[1])),Fe[1]=Math.min(Math.max(Math.min(Dt[0],Dt[1]),jt),Math.max(Dt[0],Dt[1])),Fe},$e.prototype.pointToData=function(Ie,Fe){var Ue=[];if(this._invTransform)return applyTransform$1(Ue,Ie,this._invTransform);var qe=this.getAxis("x"),At=this.getAxis("y");return Ue[0]=qe.coordToData(qe.toLocalCoord(Ie[0]),Fe),Ue[1]=At.coordToData(At.toLocalCoord(Ie[1]),Fe),Ue},$e.prototype.getOtherAxis=function(Ie){return this.getAxis(Ie.dim==="x"?"y":"x")},$e.prototype.getArea=function(Ie){Ie=Ie||0;var Fe=this.getAxis("x").getGlobalExtent(),Ue=this.getAxis("y").getGlobalExtent(),qe=Math.min(Fe[0],Fe[1])-Ie,At=Math.min(Ue[0],Ue[1])-Ie,Dt=Math.max(Fe[0],Fe[1])-qe+Ie,Lt=Math.max(Ue[0],Ue[1])-At+Ie;return new BoundingRect(qe,At,Dt,Lt)},$e}(Cartesian),Axis2D=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.index=0,Dt.type=qe||"value",Dt.position=At||"bottom",Dt}return $e.prototype.isHorizontal=function(){var Ie=this.position;return Ie==="top"||Ie==="bottom"},$e.prototype.getGlobalExtent=function(Ie){var Fe=this.getExtent();return Fe[0]=this.toGlobalCoord(Fe[0]),Fe[1]=this.toGlobalCoord(Fe[1]),Ie&&Fe[0]>Fe[1]&&Fe.reverse(),Fe},$e.prototype.pointToData=function(Ie,Fe){return this.coordToData(this.toLocalCoord(Ie[this.dim==="x"?0:1]),Fe)},$e.prototype.setCategorySortInfo=function(Ie){if(this.type!=="category")return!1;this.model.option.categorySortInfo=Ie,this.scale.setSortInfo(Ie)},$e}(Axis);function layout$2(xe,$e,Ie){Ie=Ie||{};var Fe=xe.coordinateSystem,Ue=$e.axis,qe={},At=Ue.getAxesOnZeroOf()[0],Dt=Ue.position,Lt=At?"onZero":Dt,jt=Ue.dim,hn=Fe.getRect(),vn=[hn.x,hn.x+hn.width,hn.y,hn.y+hn.height],bn={left:0,right:1,top:0,bottom:1,onZero:2},_n=$e.get("offset")||0,wn=jt==="x"?[vn[2]-_n,vn[3]+_n]:[vn[0]-_n,vn[1]+_n];if(At){var kn=At.toGlobalCoord(At.dataToCoord(0));wn[bn.onZero]=Math.max(Math.min(kn,wn[1]),wn[0])}qe.position=[jt==="y"?wn[bn[Lt]]:vn[0],jt==="x"?wn[bn[Lt]]:vn[3]],qe.rotation=Math.PI/2*(jt==="x"?0:1);var Cn={top:-1,bottom:1,left:-1,right:1};qe.labelDirection=qe.tickDirection=qe.nameDirection=Cn[Dt],qe.labelOffset=At?wn[bn[Dt]]-wn[bn.onZero]:0,$e.get(["axisTick","inside"])&&(qe.tickDirection=-qe.tickDirection),retrieve(Ie.labelInside,$e.get(["axisLabel","inside"]))&&(qe.labelDirection=-qe.labelDirection);var Sn=$e.get(["axisLabel","rotate"]);return qe.labelRotate=Lt==="top"?-Sn:Sn,qe.z2=1,qe}function isCartesian2DSeries(xe){return xe.get("coordinateSystem")==="cartesian2d"}function findAxisModels(xe){var $e={xAxisModel:null,yAxisModel:null};return each$f($e,function(Ie,Fe){var Ue=Fe.replace(/Model$/,""),qe=xe.getReferringComponents(Ue,SINGLE_REFERRING).models[0];$e[Fe]=qe}),$e}var mathLog=Math.log;function alignScaleTicks(xe,$e,Ie){var Fe=IntervalScale.prototype,Ue=Fe.getTicks.call(Ie),qe=Fe.getTicks.call(Ie,!0),At=Ue.length-1,Dt=Fe.getInterval.call(Ie),Lt=getScaleExtent(xe,$e),jt=Lt.extent,hn=Lt.fixMin,vn=Lt.fixMax;if(xe.type==="log"){var bn=mathLog(xe.base);jt=[mathLog(jt[0])/bn,mathLog(jt[1])/bn]}xe.setExtent(jt[0],jt[1]),xe.calcNiceExtent({splitNumber:At,fixMin:hn,fixMax:vn});var _n=Fe.getExtent.call(xe);hn&&(jt[0]=_n[0]),vn&&(jt[1]=_n[1]);var wn=Fe.getInterval.call(xe),kn=jt[0],Cn=jt[1];if(hn&&vn)wn=(Cn-kn)/At;else if(hn)for(Cn=jt[0]+wn*At;Cnjt[0]&&isFinite(kn)&&isFinite(jt[0]);)wn=increaseInterval(wn),kn=jt[1]-wn*At;else{var Sn=xe.getTicks().length-1;Sn>At&&(wn=increaseInterval(wn));var xn=wn*At;Cn=Math.ceil(jt[1]/wn)*wn,kn=round$3(Cn-xn),kn<0&&jt[0]>=0?(kn=0,Cn=round$3(xn)):Cn>0&&jt[1]<=0&&(Cn=0,kn=-round$3(xn))}var En=(Ue[0].value-qe[0].value)/Dt,Tn=(Ue[At].value-qe[At].value)/Dt;Fe.setExtent.call(xe,kn+wn*En,Cn+wn*Tn),Fe.setInterval.call(xe,wn),(En||Tn)&&Fe.setNiceExtent.call(xe,kn+wn,Cn-wn)}var Grid=function(){function xe($e,Ie,Fe){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian($e,Ie,Fe),this.model=$e}return xe.prototype.getRect=function(){return this._rect},xe.prototype.update=function($e,Ie){var Fe=this._axesMap;this._updateScale($e,this.model);function Ue(At){var Dt,Lt=keys(At),jt=Lt.length;if(jt){for(var hn=[],vn=jt-1;vn>=0;vn--){var bn=+Lt[vn],_n=At[bn],wn=_n.model,kn=_n.scale;isIntervalOrLogScale(kn)&&wn.get("alignTicks")&&wn.get("interval")==null?hn.push(_n):(niceScaleExtent(kn,wn),isIntervalOrLogScale(kn)&&(Dt=_n))}hn.length&&(Dt||(Dt=hn.pop(),niceScaleExtent(Dt.scale,Dt.model)),each$f(hn,function(Cn){alignScaleTicks(Cn.scale,Cn.model,Dt.scale)}))}}Ue(Fe.x),Ue(Fe.y);var qe={};each$f(Fe.x,function(At){fixAxisOnZero(Fe,"y",At,qe)}),each$f(Fe.y,function(At){fixAxisOnZero(Fe,"x",At,qe)}),this.resize(this.model,Ie)},xe.prototype.resize=function($e,Ie,Fe){var Ue=$e.getBoxLayoutParams(),qe=!Fe&&$e.get("containLabel"),At=getLayoutRect(Ue,{width:Ie.getWidth(),height:Ie.getHeight()});this._rect=At;var Dt=this._axesList;Lt(),qe&&(each$f(Dt,function(jt){if(!jt.model.get(["axisLabel","inside"])){var hn=estimateLabelUnionRect(jt);if(hn){var vn=jt.isHorizontal()?"height":"width",bn=jt.model.get(["axisLabel","margin"]);At[vn]-=hn[vn]+bn,jt.position==="top"?At.y+=hn.height+bn:jt.position==="left"&&(At.x+=hn.width+bn)}}}),Lt()),each$f(this._coordsList,function(jt){jt.calcAffineTransform()});function Lt(){each$f(Dt,function(jt){var hn=jt.isHorizontal(),vn=hn?[0,At.width]:[0,At.height],bn=jt.inverse?1:0;jt.setExtent(vn[bn],vn[1-bn]),updateAxisTransform(jt,hn?At.x:At.y)})}},xe.prototype.getAxis=function($e,Ie){var Fe=this._axesMap[$e];if(Fe!=null)return Fe[Ie||0]},xe.prototype.getAxes=function(){return this._axesList.slice()},xe.prototype.getCartesian=function($e,Ie){if($e!=null&&Ie!=null){var Fe="x"+$e+"y"+Ie;return this._coordsMap[Fe]}isObject$3($e)&&(Ie=$e.yAxisIndex,$e=$e.xAxisIndex);for(var Ue=0,qe=this._coordsList;Ue0?"top":"bottom",qe="center"):isRadianAroundZero(Ue-PI$3)?(At=Fe>0?"bottom":"top",qe="center"):(At="middle",Ue>0&&Ue0?"right":"left":qe=Fe>0?"left":"right"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}},xe.makeAxisEventDataBase=function($e){var Ie={componentType:$e.mainType,componentIndex:$e.componentIndex};return Ie[$e.mainType+"Index"]=$e.componentIndex,Ie},xe.isLabelSilent=function($e){var Ie=$e.get("tooltip");return $e.get("silent")||!($e.get("triggerEvent")||Ie&&Ie.show)},xe}(),builders={axisLine:function(xe,$e,Ie,Fe){var Ue=$e.get(["axisLine","show"]);if(Ue==="auto"&&xe.handleAutoShown&&(Ue=xe.handleAutoShown("axisLine")),!!Ue){var qe=$e.axis.getExtent(),At=Fe.transform,Dt=[qe[0],0],Lt=[qe[1],0],jt=Dt[0]>Lt[0];At&&(applyTransform$1(Dt,Dt,At),applyTransform$1(Lt,Lt,At));var hn=extend({lineCap:"round"},$e.getModel(["axisLine","lineStyle"]).getLineStyle()),vn=new Line$1({shape:{x1:Dt[0],y1:Dt[1],x2:Lt[0],y2:Lt[1]},style:hn,strokeContainThreshold:xe.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(vn.shape,vn.style.lineWidth),vn.anid="line",Ie.add(vn);var bn=$e.get(["axisLine","symbol"]);if(bn!=null){var _n=$e.get(["axisLine","symbolSize"]);isString(bn)&&(bn=[bn,bn]),(isString(_n)||isNumber(_n))&&(_n=[_n,_n]);var wn=normalizeSymbolOffset($e.get(["axisLine","symbolOffset"])||0,_n),kn=_n[0],Cn=_n[1];each$f([{rotate:xe.rotation+Math.PI/2,offset:wn[0],r:0},{rotate:xe.rotation-Math.PI/2,offset:wn[1],r:Math.sqrt((Dt[0]-Lt[0])*(Dt[0]-Lt[0])+(Dt[1]-Lt[1])*(Dt[1]-Lt[1]))}],function(Sn,xn){if(bn[xn]!=="none"&&bn[xn]!=null){var En=createSymbol$1(bn[xn],-kn/2,-Cn/2,kn,Cn,hn.stroke,!0),Tn=Sn.r+Sn.offset,An=jt?Lt:Dt;En.attr({rotation:Sn.rotate,x:An[0]+Tn*Math.cos(xe.rotation),y:An[1]-Tn*Math.sin(xe.rotation),silent:!0,z2:11}),Ie.add(En)}})}}},axisTickLabel:function(xe,$e,Ie,Fe){var Ue=buildAxisMajorTicks(Ie,Fe,$e,xe),qe=buildAxisLabel(Ie,Fe,$e,xe);if(fixMinMaxLabelShow($e,qe,Ue),buildAxisMinorTicks(Ie,Fe,$e,xe.tickDirection),$e.get(["axisLabel","hideOverlap"])){var At=prepareLayoutList(map$1(qe,function(Dt){return{label:Dt,priority:Dt.z2,defaultAttr:{ignore:Dt.ignore}}}));hideOverlap(At)}},axisName:function(xe,$e,Ie,Fe){var Ue=retrieve(xe.axisName,$e.get("name"));if(Ue){var qe=$e.get("nameLocation"),At=xe.nameDirection,Dt=$e.getModel("nameTextStyle"),Lt=$e.get("nameGap")||0,jt=$e.axis.getExtent(),hn=jt[0]>jt[1]?-1:1,vn=[qe==="start"?jt[0]-hn*Lt:qe==="end"?jt[1]+hn*Lt:(jt[0]+jt[1])/2,isNameLocationCenter(qe)?xe.labelOffset+At*Lt:0],bn,_n=$e.get("nameRotate");_n!=null&&(_n=_n*PI$3/180);var wn;isNameLocationCenter(qe)?bn=AxisBuilder.innerTextLayout(xe.rotation,_n??xe.rotation,At):(bn=endTextLayout(xe.rotation,qe,_n||0,jt),wn=xe.axisNameAvailableWidth,wn!=null&&(wn=Math.abs(wn/Math.sin(bn.rotation)),!isFinite(wn)&&(wn=null)));var kn=Dt.getFont(),Cn=$e.get("nameTruncate",!0)||{},Sn=Cn.ellipsis,xn=retrieve(xe.nameTruncateMaxWidth,Cn.maxWidth,wn),En=new ZRText({x:vn[0],y:vn[1],rotation:bn.rotation,silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(Dt,{text:Ue,font:kn,overflow:"truncate",width:xn,ellipsis:Sn,fill:Dt.getTextColor()||$e.get(["axisLine","lineStyle","color"]),align:Dt.get("align")||bn.textAlign,verticalAlign:Dt.get("verticalAlign")||bn.textVerticalAlign}),z2:1});if(setTooltipConfig({el:En,componentModel:$e,itemName:Ue}),En.__fullText=Ue,En.anid="name",$e.get("triggerEvent")){var Tn=AxisBuilder.makeAxisEventDataBase($e);Tn.targetType="axisName",Tn.name=Ue,getECData(En).eventData=Tn}Fe.add(En),En.updateTransform(),Ie.add(En),En.decomposeTransform()}}};function endTextLayout(xe,$e,Ie,Fe){var Ue=remRadian(Ie-xe),qe,At,Dt=Fe[0]>Fe[1],Lt=$e==="start"&&!Dt||$e!=="start"&&Dt;return isRadianAroundZero(Ue-PI$3/2)?(At=Lt?"bottom":"top",qe="center"):isRadianAroundZero(Ue-PI$3*1.5)?(At=Lt?"top":"bottom",qe="center"):(At="middle",UePI$3/2?qe=Lt?"left":"right":qe=Lt?"right":"left"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}}function fixMinMaxLabelShow(xe,$e,Ie){if(!shouldShowAllLabels(xe.axis)){var Fe=xe.get(["axisLabel","showMinLabel"]),Ue=xe.get(["axisLabel","showMaxLabel"]);$e=$e||[],Ie=Ie||[];var qe=$e[0],At=$e[1],Dt=$e[$e.length-1],Lt=$e[$e.length-2],jt=Ie[0],hn=Ie[1],vn=Ie[Ie.length-1],bn=Ie[Ie.length-2];Fe===!1?(ignoreEl(qe),ignoreEl(jt)):isTwoLabelOverlapped(qe,At)&&(Fe?(ignoreEl(At),ignoreEl(hn)):(ignoreEl(qe),ignoreEl(jt))),Ue===!1?(ignoreEl(Dt),ignoreEl(vn)):isTwoLabelOverlapped(Lt,Dt)&&(Ue?(ignoreEl(Lt),ignoreEl(bn)):(ignoreEl(Dt),ignoreEl(vn)))}}function ignoreEl(xe){xe&&(xe.ignore=!0)}function isTwoLabelOverlapped(xe,$e){var Ie=xe&&xe.getBoundingRect().clone(),Fe=$e&&$e.getBoundingRect().clone();if(!(!Ie||!Fe)){var Ue=identity([]);return rotate(Ue,Ue,-xe.rotation),Ie.applyTransform(mul([],Ue,xe.getLocalTransform())),Fe.applyTransform(mul([],Ue,$e.getLocalTransform())),Ie.intersect(Fe)}}function isNameLocationCenter(xe){return xe==="middle"||xe==="center"}function createTicks(xe,$e,Ie,Fe,Ue){for(var qe=[],At=[],Dt=[],Lt=0;Lt=0||xe===$e}function fixValue(xe){var $e=getAxisInfo$1(xe);if($e){var Ie=$e.axisPointerModel,Fe=$e.axis.scale,Ue=Ie.option,qe=Ie.get("status"),At=Ie.get("value");At!=null&&(At=Fe.parse(At));var Dt=isHandleTrigger(Ie);qe==null&&(Ue.status=Dt?"show":"hide");var Lt=Fe.getExtent().slice();Lt[0]>Lt[1]&&Lt.reverse(),(At==null||At>Lt[1])&&(At=Lt[1]),At0&&!wn.min?wn.min=0:wn.min!=null&&wn.min<0&&!wn.max&&(wn.max=0);var kn=Lt;wn.color!=null&&(kn=defaults({color:wn.color},Lt));var Cn=merge(clone$4(wn),{boundaryGap:Ie,splitNumber:Fe,scale:Ue,axisLine:qe,axisTick:At,axisLabel:Dt,name:wn.text,showName:jt,nameLocation:"end",nameGap:vn,nameTextStyle:kn,triggerEvent:bn},!1);if(isString(hn)){var Sn=Cn.name;Cn.name=hn.replace("{value}",Sn??"")}else isFunction(hn)&&(Cn.name=hn(Cn.name,Cn));var xn=new Model(Cn,null,this.ecModel);return mixin(xn,AxisModelCommonMixin.prototype),xn.mainType="radar",xn.componentIndex=this.componentIndex,xn},this);this._indicatorModels=_n},$e.prototype.getIndicatorModels=function(){return this._indicatorModels},$e.type="radar",$e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:merge({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},$e}(ComponentModel),axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll(),this._buildAxes(Ie),this._buildSplitLineAndArea(Ie)},$e.prototype._buildAxes=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes(),qe=map$1(Ue,function(At){var Dt=At.model.get("showName")?At.name:"",Lt=new AxisBuilder(At.model,{axisName:Dt,position:[Fe.cx,Fe.cy],rotation:At.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return Lt});each$f(qe,function(At){each$f(axisBuilderAttrs$2,At.add,At),this.group.add(At.getGroup())},this)},$e.prototype._buildSplitLineAndArea=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes();if(!Ue.length)return;var qe=Ie.get("shape"),At=Ie.getModel("splitLine"),Dt=Ie.getModel("splitArea"),Lt=At.getModel("lineStyle"),jt=Dt.getModel("areaStyle"),hn=At.get("show"),vn=Dt.get("show"),bn=Lt.get("color"),_n=jt.get("color"),wn=isArray$1(bn)?bn:[bn],kn=isArray$1(_n)?_n:[_n],Cn=[],Sn=[];function xn(Ln,Dn,Hn){var Fn=Hn%Dn.length;return Ln[Fn]=Ln[Fn]||[],Fn}if(qe==="circle")for(var En=Ue[0].getTicksCoords(),Tn=Fe.cx,An=Fe.cy,$n=0;$n3?1.4:At>1?1.2:1.1,hn=qe>0?jt:1/jt;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",Ie,{scale:hn,originX:Dt,originY:Lt,isAvailableBehavior:null})}if(Ue){var vn=Math.abs(qe),bn=(qe>0?1:-1)*(vn>3?.4:vn>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",Ie,{scrollDelta:bn,originX:Dt,originY:Lt,isAvailableBehavior:null})}}},$e.prototype._pinchHandler=function(Ie){if(!isTaken(this._zr,"globalPan")){var Fe=Ie.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,Ie,{scale:Fe,originX:Ie.pinchX,originY:Ie.pinchY,isAvailableBehavior:null})}},$e}(Eventful);function checkPointerAndTrigger(xe,$e,Ie,Fe,Ue){xe.pointerChecker&&xe.pointerChecker(Fe,Ue.originX,Ue.originY)&&(stop(Fe.event),trigger$1(xe,$e,Ie,Fe,Ue))}function trigger$1(xe,$e,Ie,Fe,Ue){Ue.isAvailableBehavior=bind$1(isAvailableBehavior,null,Ie,Fe),xe.trigger($e,Ue)}function isAvailableBehavior(xe,$e,Ie){var Fe=Ie[xe];return!xe||Fe&&(!isString(Fe)||$e.event[Fe+"Key"])}function updateViewOnPan(xe,$e,Ie){var Fe=xe.target;Fe.x+=$e,Fe.y+=Ie,Fe.dirty()}function updateViewOnZoom(xe,$e,Ie,Fe){var Ue=xe.target,qe=xe.zoomLimit,At=xe.zoom=xe.zoom||1;if(At*=$e,qe){var Dt=qe.min||0,Lt=qe.max||1/0;At=Math.max(Math.min(Lt,At),Dt)}var jt=At/xe.zoom;xe.zoom=At,Ue.x-=(Ie-Ue.x)*(jt-1),Ue.y-=(Fe-Ue.y)*(jt-1),Ue.scaleX*=jt,Ue.scaleY*=jt,Ue.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(xe,$e,Ie){var Fe=$e.getComponentByElement(xe.topTarget),Ue=Fe&&Fe.coordinateSystem;return Fe&&Fe!==Ie&&!IRRELEVANT_EXCLUDES.hasOwnProperty(Fe.mainType)&&Ue&&Ue.model!==Ie}function parseXML(xe){if(isString(xe)){var $e=new DOMParser;xe=$e.parseFromString(xe,"text/xml")}var Ie=xe;for(Ie.nodeType===9&&(Ie=Ie.firstChild);Ie.nodeName.toLowerCase()!=="svg"||Ie.nodeType!==1;)Ie=Ie.nextSibling;return Ie}var nodeParsers,INHERITABLE_STYLE_ATTRIBUTES_MAP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function xe(){this._defs={},this._root=null}return xe.prototype.parse=function($e,Ie){Ie=Ie||{};var Fe=parseXML($e);this._defsUsePending=[];var Ue=new Group$3;this._root=Ue;var qe=[],At=Fe.getAttribute("viewBox")||"",Dt=parseFloat(Fe.getAttribute("width")||Ie.width),Lt=parseFloat(Fe.getAttribute("height")||Ie.height);isNaN(Dt)&&(Dt=null),isNaN(Lt)&&(Lt=null),parseAttributes(Fe,Ue,null,!0,!1);for(var jt=Fe.firstChild;jt;)this._parseNode(jt,Ue,qe,null,!1,!1),jt=jt.nextSibling;applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[];var hn,vn;if(At){var bn=splitNumberSequence(At);bn.length>=4&&(hn={x:parseFloat(bn[0]||0),y:parseFloat(bn[1]||0),width:parseFloat(bn[2]),height:parseFloat(bn[3])})}if(hn&&Dt!=null&&Lt!=null&&(vn=makeViewBoxTransform(hn,{x:0,y:0,width:Dt,height:Lt}),!Ie.ignoreViewBox)){var _n=Ue;Ue=new Group$3,Ue.add(_n),_n.scaleX=_n.scaleY=vn.scale,_n.x=vn.x,_n.y=vn.y}return!Ie.ignoreRootClip&&Dt!=null&&Lt!=null&&Ue.setClipPath(new Rect$2({shape:{x:0,y:0,width:Dt,height:Lt}})),{root:Ue,width:Dt,height:Lt,viewBoxRect:hn,viewBoxTransform:vn,named:qe}},xe.prototype._parseNode=function($e,Ie,Fe,Ue,qe,At){var Dt=$e.nodeName.toLowerCase(),Lt,jt=Ue;if(Dt==="defs"&&(qe=!0),Dt==="text"&&(At=!0),Dt==="defs"||Dt==="switch")Lt=Ie;else{if(!qe){var hn=nodeParsers[Dt];if(hn&&hasOwn(nodeParsers,Dt)){Lt=hn.call(this,$e,Ie);var vn=$e.getAttribute("name");if(vn){var bn={name:vn,namedFrom:null,svgNodeTagLower:Dt,el:Lt};Fe.push(bn),Dt==="g"&&(jt=bn)}else Ue&&Fe.push({name:Ue.name,namedFrom:Ue,svgNodeTagLower:Dt,el:Lt});Ie.add(Lt)}}var _n=paintServerParsers[Dt];if(_n&&hasOwn(paintServerParsers,Dt)){var wn=_n.call(this,$e),kn=$e.getAttribute("id");kn&&(this._defs[kn]=wn)}}if(Lt&&Lt.isGroup)for(var Cn=$e.firstChild;Cn;)Cn.nodeType===1?this._parseNode(Cn,Lt,Fe,jt,qe,At):Cn.nodeType===3&&At&&this._parseText(Cn,Lt),Cn=Cn.nextSibling},xe.prototype._parseText=function($e,Ie){var Fe=new TSpan({style:{text:$e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),applyTextAlignment(Fe,Ie);var Ue=Fe.style,qe=Ue.fontSize;qe&&qe<9&&(Ue.fontSize=9,Fe.scaleX*=qe/9,Fe.scaleY*=qe/9);var At=(Ue.fontSize||Ue.fontFamily)&&[Ue.fontStyle,Ue.fontWeight,(Ue.fontSize||12)+"px",Ue.fontFamily||"sans-serif"].join(" ");Ue.font=At;var Dt=Fe.getBoundingRect();return this._textX+=Dt.width,Ie.add(Fe),Fe},xe.internalField=function(){nodeParsers={g:function($e,Ie){var Fe=new Group$3;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe},rect:function($e,Ie){var Fe=new Rect$2;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x:parseFloat($e.getAttribute("x")||"0"),y:parseFloat($e.getAttribute("y")||"0"),width:parseFloat($e.getAttribute("width")||"0"),height:parseFloat($e.getAttribute("height")||"0")}),Fe.silent=!0,Fe},circle:function($e,Ie){var Fe=new Circle;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),r:parseFloat($e.getAttribute("r")||"0")}),Fe.silent=!0,Fe},line:function($e,Ie){var Fe=new Line$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x1:parseFloat($e.getAttribute("x1")||"0"),y1:parseFloat($e.getAttribute("y1")||"0"),x2:parseFloat($e.getAttribute("x2")||"0"),y2:parseFloat($e.getAttribute("y2")||"0")}),Fe.silent=!0,Fe},ellipse:function($e,Ie){var Fe=new Ellipse$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),rx:parseFloat($e.getAttribute("rx")||"0"),ry:parseFloat($e.getAttribute("ry")||"0")}),Fe.silent=!0,Fe},polygon:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polygon({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},polyline:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polyline$1({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},image:function($e,Ie){var Fe=new ZRImage;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setStyle({image:$e.getAttribute("xlink:href")||$e.getAttribute("href"),x:+$e.getAttribute("x"),y:+$e.getAttribute("y"),width:+$e.getAttribute("width"),height:+$e.getAttribute("height")}),Fe.silent=!0,Fe},text:function($e,Ie){var Fe=$e.getAttribute("x")||"0",Ue=$e.getAttribute("y")||"0",qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0";this._textX=parseFloat(Fe)+parseFloat(qe),this._textY=parseFloat(Ue)+parseFloat(At);var Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),Dt},tspan:function($e,Ie){var Fe=$e.getAttribute("x"),Ue=$e.getAttribute("y");Fe!=null&&(this._textX=parseFloat(Fe)),Ue!=null&&(this._textY=parseFloat(Ue));var qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0",Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),this._textX+=parseFloat(qe),this._textY+=parseFloat(At),Dt},path:function($e,Ie){var Fe=$e.getAttribute("d")||"",Ue=createFromString(Fe);return inheritStyle(Ie,Ue),parseAttributes($e,Ue,this._defsUsePending,!1,!1),Ue.silent=!0,Ue}}}(),xe}(),paintServerParsers={lineargradient:function(xe){var $e=parseInt(xe.getAttribute("x1")||"0",10),Ie=parseInt(xe.getAttribute("y1")||"0",10),Fe=parseInt(xe.getAttribute("x2")||"10",10),Ue=parseInt(xe.getAttribute("y2")||"0",10),qe=new LinearGradient($e,Ie,Fe,Ue);return parsePaintServerUnit(xe,qe),parseGradientColorStops(xe,qe),qe},radialgradient:function(xe){var $e=parseInt(xe.getAttribute("cx")||"0",10),Ie=parseInt(xe.getAttribute("cy")||"0",10),Fe=parseInt(xe.getAttribute("r")||"0",10),Ue=new RadialGradient$1($e,Ie,Fe);return parsePaintServerUnit(xe,Ue),parseGradientColorStops(xe,Ue),Ue}};function parsePaintServerUnit(xe,$e){var Ie=xe.getAttribute("gradientUnits");Ie==="userSpaceOnUse"&&($e.global=!0)}function parseGradientColorStops(xe,$e){for(var Ie=xe.firstChild;Ie;){if(Ie.nodeType===1&&Ie.nodeName.toLocaleLowerCase()==="stop"){var Fe=Ie.getAttribute("offset"),Ue=void 0;Fe&&Fe.indexOf("%")>0?Ue=parseInt(Fe,10)/100:Fe?Ue=parseFloat(Fe):Ue=0;var qe={};parseInlineStyle(Ie,qe,qe);var At=qe.stopColor||Ie.getAttribute("stop-color")||"#000000";$e.colorStops.push({offset:Ue,color:At})}Ie=Ie.nextSibling}}function inheritStyle(xe,$e){xe&&xe.__inheritedStyle&&($e.__inheritedStyle||($e.__inheritedStyle={}),defaults($e.__inheritedStyle,xe.__inheritedStyle))}function parsePoints(xe){for(var $e=splitNumberSequence(xe),Ie=[],Fe=0;Fe<$e.length;Fe+=2){var Ue=parseFloat($e[Fe]),qe=parseFloat($e[Fe+1]);Ie.push([Ue,qe])}return Ie}function parseAttributes(xe,$e,Ie,Fe,Ue){var qe=$e,At=qe.__inheritedStyle=qe.__inheritedStyle||{},Dt={};xe.nodeType===1&&(parseTransformAttribute(xe,$e),parseInlineStyle(xe,At,Dt),Fe||parseAttributeStyle(xe,At,Dt)),qe.style=qe.style||{},At.fill!=null&&(qe.style.fill=getFillStrokeStyle(qe,"fill",At.fill,Ie)),At.stroke!=null&&(qe.style.stroke=getFillStrokeStyle(qe,"stroke",At.stroke,Ie)),each$f(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=parseFloat(At[Lt]))}),each$f(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=At[Lt])}),Ue&&(qe.__selfStyle=Dt),At.lineDash&&(qe.style.lineDash=map$1(splitNumberSequence(At.lineDash),function(Lt){return parseFloat(Lt)})),(At.visibility==="hidden"||At.visibility==="collapse")&&(qe.invisible=!0),At.display==="none"&&(qe.ignore=!0)}function applyTextAlignment(xe,$e){var Ie=$e.__selfStyle;if(Ie){var Fe=Ie.textBaseline,Ue=Fe;!Fe||Fe==="auto"||Fe==="baseline"?Ue="alphabetic":Fe==="before-edge"||Fe==="text-before-edge"?Ue="top":Fe==="after-edge"||Fe==="text-after-edge"?Ue="bottom":(Fe==="central"||Fe==="mathematical")&&(Ue="middle"),xe.style.textBaseline=Ue}var qe=$e.__inheritedStyle;if(qe){var At=qe.textAlign,Dt=At;At&&(At==="middle"&&(Dt="center"),xe.style.textAlign=Dt)}}var urlRegex=/^url\(\s*#(.*?)\)/;function getFillStrokeStyle(xe,$e,Ie,Fe){var Ue=Ie&&Ie.match(urlRegex);if(Ue){var qe=trim$1(Ue[1]);Fe.push([xe,$e,qe]);return}return Ie==="none"&&(Ie=null),Ie}function applyDefs(xe,$e){for(var Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];Fe[0].style[Fe[1]]=xe[Fe[2]]}}var numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function splitNumberSequence(xe){return xe.match(numberReg)||[]}var transformRegex=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,DEGREE_TO_ANGLE=Math.PI/180;function parseTransformAttribute(xe,$e){var Ie=xe.getAttribute("transform");if(Ie){Ie=Ie.replace(/,/g," ");var Fe=[],Ue=null;Ie.replace(transformRegex,function(vn,bn,_n){return Fe.push(bn,_n),""});for(var qe=Fe.length-1;qe>0;qe-=2){var At=Fe[qe],Dt=Fe[qe-1],Lt=splitNumberSequence(At);switch(Ue=Ue||create$1(),Dt){case"translate":translate(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||"0")]);break;case"scale":scale$1(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||Lt[0])]);break;case"rotate":rotate(Ue,Ue,-parseFloat(Lt[0])*DEGREE_TO_ANGLE,[parseFloat(Lt[1]||"0"),parseFloat(Lt[2]||"0")]);break;case"skewX":var jt=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,0,jt,1,0,0],Ue);break;case"skewY":var hn=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,hn,0,1,0,0],Ue);break;case"matrix":Ue[0]=parseFloat(Lt[0]),Ue[1]=parseFloat(Lt[1]),Ue[2]=parseFloat(Lt[2]),Ue[3]=parseFloat(Lt[3]),Ue[4]=parseFloat(Lt[4]),Ue[5]=parseFloat(Lt[5]);break}}$e.setLocalTransform(Ue)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(xe,$e,Ie){var Fe=xe.getAttribute("style");if(Fe){styleRegex.lastIndex=0;for(var Ue;(Ue=styleRegex.exec(Fe))!=null;){var qe=Ue[1],At=hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP,qe)?INHERITABLE_STYLE_ATTRIBUTES_MAP[qe]:null;At&&($e[At]=Ue[2]);var Dt=hasOwn(SELF_STYLE_ATTRIBUTES_MAP,qe)?SELF_STYLE_ATTRIBUTES_MAP[qe]:null;Dt&&(Ie[Dt]=Ue[2])}}}function parseAttributeStyle(xe,$e,Ie){for(var Fe=0;Fe"].join(Fe)}function createBrushScope(xe){return{zrId:xe,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(xe,$e,Ie,Fe){return createVNode("svg","root",{width:xe,height:$e,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:Fe?"0 0 "+xe+" "+$e:!1},Ie)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},transformOriginKey="transform-origin";function buildPathString(xe,$e,Ie){var Fe=extend({},xe.shape);extend(Fe,$e),xe.buildPath(Ie,Fe);var Ue=new SVGPathRebuilder;return Ue.reset(getPathPrecision(xe)),Ie.rebuildPath(Ue,1),Ue.generateStr(),Ue.getStr()}function setTransformOrigin(xe,$e){var Ie=$e.originX,Fe=$e.originY;(Ie||Fe)&&(xe[transformOriginKey]=Ie+"px "+Fe+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(xe,$e){var Ie=$e.zrId+"-ani-"+$e.cssAnimIdx++;return $e.cssAnims[Ie]=xe,Ie}function createCompoundPathCSSAnimation(xe,$e,Ie){var Fe=xe.shape.paths,Ue={},qe,At;if(each$f(Fe,function(Lt){var jt=createBrushScope(Ie.zrId);jt.animation=!0,createCSSAnimation(Lt,{},jt,!0);var hn=jt.cssAnims,vn=jt.cssNodes,bn=keys(hn),_n=bn.length;if(_n){At=bn[_n-1];var wn=hn[At];for(var kn in wn){var Cn=wn[kn];Ue[kn]=Ue[kn]||{d:""},Ue[kn].d+=Cn.d||""}for(var Sn in vn){var xn=vn[Sn].animation;xn.indexOf(At)>=0&&(qe=xn)}}}),!!qe){$e.d=!1;var Dt=addAnimation(Ue,Ie);return qe.replace(At,Dt)}}function getEasingFunc(xe){return isString(xe)?EASING_MAP[xe]?"cubic-bezier("+EASING_MAP[xe]+")":createCubicEasingFunc(xe)?xe:"":""}function createCSSAnimation(xe,$e,Ie,Fe){var Ue=xe.animators,qe=Ue.length,At=[];if(xe instanceof CompoundPath$1){var Dt=createCompoundPathCSSAnimation(xe,$e,Ie);if(Dt)At.push(Dt);else if(!qe)return}else if(!qe)return;for(var Lt={},jt=0;jt0}).length){var qn=addAnimation(Pn,Ie);return qn+" "+xn[0]+" both"}}for(var Cn in Lt){var Dt=kn(Lt[Cn]);Dt&&At.push(Dt)}if(At.length){var Sn=Ie.zrId+"-cls-"+getClassId();Ie.cssNodes["."+Sn]={animation:At.join(",")},$e.class=Sn}}function createCSSEmphasis(xe,$e,Ie){if(!xe.ignore)if(xe.isSilent()){var Fe={"pointer-events":"none"};setClassAttribute(Fe,$e,Ie)}else{var Ue=xe.states.emphasis&&xe.states.emphasis.style?xe.states.emphasis.style:{},qe=Ue.fill;if(!qe){var At=xe.style&&xe.style.fill,Dt=xe.states.select&&xe.states.select.style&&xe.states.select.style.fill,Lt=xe.currentStates.indexOf("select")>=0&&Dt||At;Lt&&(qe=liftColor(Lt))}var jt=Ue.lineWidth;if(jt){var hn=!Ue.strokeNoScale&&xe.transform?xe.transform[0]:1;jt=jt/hn}var Fe={cursor:"pointer"};qe&&(Fe.fill=qe),Ue.stroke&&(Fe.stroke=Ue.stroke),jt&&(Fe["stroke-width"]=jt),setClassAttribute(Fe,$e,Ie)}}function setClassAttribute(xe,$e,Ie,Fe){var Ue=JSON.stringify(xe),qe=Ie.cssStyleCache[Ue];qe||(qe=Ie.zrId+"-cls-"+getClassId(),Ie.cssStyleCache[Ue]=qe,Ie.cssNodes["."+qe+":hover"]=xe),$e.class=$e.class?$e.class+" "+qe:qe}var round$1=Math.round;function isImageLike(xe){return xe&&isString(xe.src)}function isCanvasLike(xe){return xe&&isFunction(xe.toDataURL)}function setStyleAttrs(xe,$e,Ie,Fe){mapStyleToAttrs(function(Ue,qe){var At=Ue==="fill"||Ue==="stroke";At&&isGradient(qe)?setGradient($e,xe,Ue,Fe):At&&isPattern(qe)?setPattern(Ie,xe,Ue,Fe):At&&qe==="none"?xe[Ue]="transparent":xe[Ue]=qe},$e,Ie,!1),setShadow(Ie,xe,Fe)}function setMetaData(xe,$e){var Ie=getElementSSRData($e);Ie&&(Ie.each(function(Fe,Ue){Fe!=null&&(xe[(META_DATA_PREFIX+Ue).toLowerCase()]=Fe+"")}),$e.isSilent()&&(xe[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(xe){return isAroundZero(xe[0]-1)&&isAroundZero(xe[1])&&isAroundZero(xe[2])&&isAroundZero(xe[3]-1)}function noTranslate(xe){return isAroundZero(xe[4])&&isAroundZero(xe[5])}function setTransform(xe,$e,Ie){if($e&&!(noTranslate($e)&&noRotateScale($e))){var Fe=1e4;xe.transform=noRotateScale($e)?"translate("+round$1($e[4]*Fe)/Fe+" "+round$1($e[5]*Fe)/Fe+")":getMatrixStr($e)}}function convertPolyShape(xe,$e,Ie){for(var Fe=xe.points,Ue=[],qe=0;qe"u"){var Cn="Image width/height must been given explictly in svg-ssr renderer.";assert(bn,Cn),assert(_n,Cn)}else if(bn==null||_n==null){var Sn=function(In,On){if(In){var Rn=In.elm,Bn=bn||On.width,Vn=_n||On.height;In.tag==="pattern"&&(jt?(Vn=1,Bn/=qe.width):hn&&(Bn=1,Vn/=qe.height)),In.attrs.width=Bn,In.attrs.height=Vn,Rn&&(Rn.setAttribute("width",Bn),Rn.setAttribute("height",Vn))}},xn=createOrUpdateImage(wn,null,xe,function(In){Lt||Sn($n,In),Sn(vn,In)});xn&&xn.width&&xn.height&&(bn=bn||xn.width,_n=_n||xn.height)}vn=createVNode("image","img",{href:wn,width:bn,height:_n}),At.width=bn,At.height=_n}else Ue.svgElement&&(vn=clone$4(Ue.svgElement),At.width=Ue.svgWidth,At.height=Ue.svgHeight);if(vn){var En,Tn;Lt?En=Tn=1:jt?(Tn=1,En=At.width/qe.width):hn?(En=1,Tn=At.height/qe.height):At.patternUnits="userSpaceOnUse",En!=null&&!isNaN(En)&&(At.width=En),Tn!=null&&!isNaN(Tn)&&(At.height=Tn);var An=getSRTTransformString(Ue);An&&(At.patternTransform=An);var $n=createVNode("pattern","",At,[vn]),Pn=vNodeToString($n),Nn=Fe.patternCache,Mn=Nn[Pn];Mn||(Mn=Fe.zrId+"-p"+Fe.patternIdx++,Nn[Pn]=Mn,At.id=Mn,$n=Fe.defs[Mn]=createVNode("pattern",Mn,At,[vn])),$e[Ie]=getIdURL(Mn)}}function setClipPath(xe,$e,Ie){var Fe=Ie.clipPathCache,Ue=Ie.defs,qe=Fe[xe.id];if(!qe){qe=Ie.zrId+"-c"+Ie.clipPathIdx++;var At={id:qe};Fe[xe.id]=qe,Ue[qe]=createVNode("clipPath",qe,At,[brushSVGPath(xe,Ie)])}$e["clip-path"]=getIdURL(qe)}function createTextNode(xe){return document.createTextNode(xe)}function insertBefore(xe,$e,Ie){xe.insertBefore($e,Ie)}function removeChild(xe,$e){xe.removeChild($e)}function appendChild(xe,$e){xe.appendChild($e)}function parentNode(xe){return xe.parentNode}function nextSibling(xe){return xe.nextSibling}function setTextContent(xe,$e){xe.textContent=$e}var colonChar=58,xChar=120,emptyNode=createVNode("","");function isUndef(xe){return xe===void 0}function isDef(xe){return xe!==void 0}function createKeyToOldIdx(xe,$e,Ie){for(var Fe={},Ue=$e;Ue<=Ie;++Ue){var qe=xe[Ue].key;qe!==void 0&&(Fe[qe]=Ue)}return Fe}function sameVnode(xe,$e){var Ie=xe.key===$e.key,Fe=xe.tag===$e.tag;return Fe&&Ie}function createElm(xe){var $e,Ie=xe.children,Fe=xe.tag;if(isDef(Fe)){var Ue=xe.elm=createElement(Fe);if(updateAttrs(emptyNode,xe),isArray$1(Ie))for($e=0;$eqe?(wn=Ie[Lt+1]==null?null:Ie[Lt+1].elm,addVnodes(xe,wn,Ie,Ue,Lt)):removeVnodes(xe,$e,Fe,qe))}function patchVnode(xe,$e){var Ie=$e.elm=xe.elm,Fe=xe.children,Ue=$e.children;xe!==$e&&(updateAttrs(xe,$e),isUndef($e.text)?isDef(Fe)&&isDef(Ue)?Fe!==Ue&&updateChildren(Ie,Fe,Ue):isDef(Ue)?(isDef(xe.text)&&setTextContent(Ie,""),addVnodes(Ie,null,Ue,0,Ue.length-1)):isDef(Fe)?removeVnodes(Ie,Fe,0,Fe.length-1):isDef(xe.text)&&setTextContent(Ie,""):xe.text!==$e.text&&(isDef(Fe)&&removeVnodes(Ie,Fe,0,Fe.length-1),setTextContent(Ie,$e.text)))}function patch(xe,$e){if(sameVnode(xe,$e))patchVnode(xe,$e);else{var Ie=xe.elm,Fe=parentNode(Ie);createElm($e),Fe!==null&&(insertBefore(Fe,$e.elm,nextSibling(Ie)),removeVnodes(Fe,[xe],0,0))}return $e}var svgId=0,SVGPainter=function(){function xe($e,Ie,Fe){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=Ie,this._opts=Fe=extend({},Fe),this.root=$e,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(Fe.width,Fe.height),$e&&!Fe.ssr){var Ue=this._viewport=document.createElement("div");Ue.style.cssText="position:relative;overflow:hidden";var qe=this._svgDom=this._oldVNode.elm=createElement("svg");updateAttrs(null,this._oldVNode),Ue.appendChild(qe),$e.appendChild(Ue)}this.resize(Fe.width,Fe.height)}return xe.prototype.getType=function(){return this.type},xe.prototype.getViewportRoot=function(){return this._viewport},xe.prototype.getViewportRootOffset=function(){var $e=this.getViewportRoot();if($e)return{offsetLeft:$e.offsetLeft||0,offsetTop:$e.offsetTop||0}},xe.prototype.getSvgDom=function(){return this._svgDom},xe.prototype.refresh=function(){if(this.root){var $e=this.renderToVNode({willUpdate:!0});$e.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,$e),this._oldVNode=$e}},xe.prototype.renderOneToVNode=function($e){return brush($e,createBrushScope(this._id))},xe.prototype.renderToVNode=function($e){$e=$e||{};var Ie=this.storage.getDisplayList(!0),Fe=this._width,Ue=this._height,qe=createBrushScope(this._id);qe.animation=$e.animation,qe.willUpdate=$e.willUpdate,qe.compress=$e.compress,qe.emphasis=$e.emphasis;var At=[],Dt=this._bgVNode=createBackgroundVNode(Fe,Ue,this._backgroundColor,qe);Dt&&At.push(Dt);var Lt=$e.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(Ie,qe,Lt?Lt.children:At),Lt&&At.push(Lt);var jt=map$1(keys(qe.defs),function(bn){return qe.defs[bn]});if(jt.length&&At.push(createVNode("defs","defs",{},jt)),$e.animation){var hn=getCssString(qe.cssNodes,qe.cssAnims,{newline:!0});if(hn){var vn=createVNode("style","stl",{},[],hn);At.push(vn)}}return createSVGVNode(Fe,Ue,At,$e.useViewBox)},xe.prototype.renderToString=function($e){return $e=$e||{},vNodeToString(this.renderToVNode({animation:retrieve2($e.cssAnimation,!0),emphasis:retrieve2($e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2($e.useViewBox,!0)}),{newline:!0})},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e},xe.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},xe.prototype._paintList=function($e,Ie,Fe){for(var Ue=$e.length,qe=[],At=0,Dt,Lt,jt=0,hn=0;hn=0&&!(bn&&Lt&&bn[kn]===Lt[kn]);kn--);for(var Cn=wn-1;Cn>kn;Cn--)At--,Dt=qe[At-1];for(var Sn=kn+1;Sn<_n;Sn++){var xn={};setClipPath(bn[Sn],xn,Ie);var En=createVNode("g","clip-g-"+jt++,xn,[]);(Dt?Dt.children:Fe).push(En),qe[At++]=En,Dt=En}Lt=bn;var Tn=brush(vn,Ie);Tn&&(Dt?Dt.children:Fe).push(Tn)}}},xe.prototype.resize=function($e,Ie){var Fe=this._opts,Ue=this.root,qe=this._viewport;if($e!=null&&(Fe.width=$e),Ie!=null&&(Fe.height=Ie),Ue&&qe&&(qe.style.display="none",$e=getSize$1(Ue,0,Fe),Ie=getSize$1(Ue,1,Fe),qe.style.display=""),this._width!==$e||this._height!==Ie){if(this._width=$e,this._height=Ie,qe){var At=qe.style;At.width=$e+"px",At.height=Ie+"px"}if(isPattern(this._backgroundColor))this.refresh();else{var Dt=this._svgDom;Dt&&(Dt.setAttribute("width",$e),Dt.setAttribute("height",Ie));var Lt=this._bgVNode&&this._bgVNode.elm;Lt&&(Lt.setAttribute("width",$e),Lt.setAttribute("height",Ie))}}},xe.prototype.getWidth=function(){return this._width},xe.prototype.getHeight=function(){return this._height},xe.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},xe.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},xe.prototype.toDataURL=function($e){var Ie=this.renderToString(),Fe="data:image/svg+xml;";return $e?(Ie=encodeBase64(Ie),Ie&&Fe+"base64,"+Ie):Fe+"charset=UTF-8,"+encodeURIComponent(Ie)},xe}();function createMethodNotSupport(xe){return function(){}}function createBackgroundVNode(xe,$e,Ie,Fe){var Ue;if(Ie&&Ie!=="none")if(Ue=createVNode("rect","bg",{width:xe,height:$e,x:"0",y:"0"}),isGradient(Ie))setGradient({fill:Ie},Ue.attrs,"fill",Fe);else if(isPattern(Ie))setPattern({style:{fill:Ie},dirty:noop,getBoundingRect:function(){return{width:xe,height:$e}}},Ue.attrs,"fill",Fe);else{var qe=normalizeColor(Ie),At=qe.color,Dt=qe.opacity;Ue.attrs.fill=At,Dt<1&&(Ue.attrs["fill-opacity"]=Dt)}return Ue}function install$T(xe){xe.registerPainter("svg",SVGPainter)}function createDom(xe,$e,Ie){var Fe=platformApi.createCanvas(),Ue=$e.getWidth(),qe=$e.getHeight(),At=Fe.style;return At&&(At.position="absolute",At.left="0",At.top="0",At.width=Ue+"px",At.height=qe+"px",Fe.setAttribute("data-zr-dom-id",xe)),Fe.width=Ue*Ie,Fe.height=qe*Ie,Fe}var Layer=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue){var qe=xe.call(this)||this;qe.motionBlur=!1,qe.lastFrameAlpha=.7,qe.dpr=1,qe.virtual=!1,qe.config={},qe.incremental=!1,qe.zlevel=0,qe.maxRepaintRectCount=5,qe.__dirty=!0,qe.__firstTimePaint=!0,qe.__used=!1,qe.__drawIndex=0,qe.__startIndex=0,qe.__endIndex=0,qe.__prevStartIndex=null,qe.__prevEndIndex=null;var At;Ue=Ue||devicePixelRatio,typeof Ie=="string"?At=createDom(Ie,Fe,Ue):isObject$3(Ie)&&(At=Ie,Ie=At.id),qe.id=Ie,qe.dom=At;var Dt=At.style;return Dt&&(disableUserSelect(At),At.onselectstart=function(){return!1},Dt.padding="0",Dt.margin="0",Dt.borderWidth="0"),qe.painter=Fe,qe.dpr=Ue,qe}return $e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},$e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},$e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},$e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},$e.prototype.createBackBuffer=function(){var Ie=this.dpr;this.domBack=createDom("back-"+this.id,this.painter,Ie),this.ctxBack=this.domBack.getContext("2d"),Ie!==1&&this.ctxBack.scale(Ie,Ie)},$e.prototype.createRepaintRects=function(Ie,Fe,Ue,qe){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var At=[],Dt=this.maxRepaintRectCount,Lt=!1,jt=new BoundingRect(0,0,0,0);function hn(xn){if(!(!xn.isFinite()||xn.isZero()))if(At.length===0){var En=new BoundingRect(0,0,0,0);En.copy(xn),At.push(En)}else{for(var Tn=!1,An=1/0,$n=0,Pn=0;Pn=Dt)}}for(var vn=this.__startIndex;vn15)break}}Vn.prevElClipPaths&&Sn.restore()};if(xn)if(xn.length===0)Nn=Cn.__endIndex;else for(var In=_n.dpr,On=0;On0&&$e>Ue[0]){for(Lt=0;Lt$e);Lt++);Dt=Fe[Ue[Lt]]}if(Ue.splice(Lt+1,0,$e),Fe[$e]=Ie,!Ie.virtual)if(Dt){var jt=Dt.dom;jt.nextSibling?At.insertBefore(Ie.dom,jt.nextSibling):At.appendChild(Ie.dom)}else At.firstChild?At.insertBefore(Ie.dom,At.firstChild):At.appendChild(Ie.dom);Ie.painter||(Ie.painter=this)}},xe.prototype.eachLayer=function($e,Ie){for(var Fe=this._zlevelList,Ue=0;Ue0?EL_AFTER_INCREMENTAL_INC:0),this._needsManuallyCompositing),hn.__builtin__||logError("ZLevel "+jt+" has been used by unkown layer "+hn.id),hn!==qe&&(hn.__used=!0,hn.__startIndex!==Lt&&(hn.__dirty=!0),hn.__startIndex=Lt,hn.incremental?hn.__drawIndex=-1:hn.__drawIndex=Lt,Ie(Lt),qe=hn),Ue.__dirty&REDRAW_BIT&&!Ue.__inHover&&(hn.__dirty=!0,hn.incremental&&hn.__drawIndex<0&&(hn.__drawIndex=Lt))}Ie(Lt),this.eachBuiltinLayer(function(vn,bn){!vn.__used&&vn.getElementCount()>0&&(vn.__dirty=!0,vn.__startIndex=vn.__endIndex=vn.__drawIndex=0),vn.__dirty&&vn.__drawIndex<0&&(vn.__drawIndex=vn.__startIndex)})},xe.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},xe.prototype._clearLayer=function($e){$e.clear()},xe.prototype.setBackgroundColor=function($e){this._backgroundColor=$e,each$f(this._layers,function(Ie){Ie.setUnpainted()})},xe.prototype.configLayer=function($e,Ie){if(Ie){var Fe=this._layerConfig;Fe[$e]?merge(Fe[$e],Ie,!0):Fe[$e]=Ie;for(var Ue=0;Ue-1&&(jt.style.stroke=jt.style.fill,jt.style.fill="#fff",jt.style.lineWidth=2),Fe},$e.type="series.line",$e.dependencies=["grid","polar"],$e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},$e}(SeriesModel);function getDefaultLabel(xe,$e){var Ie=xe.mapDimensionsAll("defaultedLabel"),Fe=Ie.length;if(Fe===1){var Ue=retrieveRawValue(xe,$e,Ie[0]);return Ue!=null?Ue+"":null}else if(Fe){for(var qe=[],At=0;At=0&&Fe.push($e[qe])}return Fe.join(" ")}var Symbol$1=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;return At.updateData(Ie,Fe,Ue,qe),At}return $e.prototype._createSymbol=function(Ie,Fe,Ue,qe,At){this.removeAll();var Dt=createSymbol$1(Ie,-1,-1,2,2,null,At);Dt.attr({z2:100,culling:!0,scaleX:qe[0]/2,scaleY:qe[1]/2}),Dt.drift=driftSymbol,this._symbolType=Ie,this.add(Dt)},$e.prototype.stopSymbolAnimation=function(Ie){this.childAt(0).stopAnimation(null,Ie)},$e.prototype.getSymbolType=function(){return this._symbolType},$e.prototype.getSymbolPath=function(){return this.childAt(0)},$e.prototype.highlight=function(){enterEmphasis(this.childAt(0))},$e.prototype.downplay=function(){leaveEmphasis(this.childAt(0))},$e.prototype.setZ=function(Ie,Fe){var Ue=this.childAt(0);Ue.zlevel=Ie,Ue.z=Fe},$e.prototype.setDraggable=function(Ie,Fe){var Ue=this.childAt(0);Ue.draggable=Ie,Ue.cursor=!Fe&&Ie?"move":Ue.cursor},$e.prototype.updateData=function(Ie,Fe,Ue,qe){this.silent=!1;var At=Ie.getItemVisual(Fe,"symbol")||"circle",Dt=Ie.hostModel,Lt=$e.getSymbolSize(Ie,Fe),jt=At!==this._symbolType,hn=qe&&qe.disableAnimation;if(jt){var vn=Ie.getItemVisual(Fe,"symbolKeepAspect");this._createSymbol(At,Ie,Fe,Lt,vn)}else{var bn=this.childAt(0);bn.silent=!1;var _n={scaleX:Lt[0]/2,scaleY:Lt[1]/2};hn?bn.attr(_n):updateProps$1(bn,_n,Dt,Fe),saveOldStyle(bn)}if(this._updateCommon(Ie,Fe,Lt,Ue,qe),jt){var bn=this.childAt(0);if(!hn){var _n={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:bn.style.opacity}};bn.scaleX=bn.scaleY=0,bn.style.opacity=0,initProps(bn,_n,Dt,Fe)}}hn&&this.childAt(0).stopAnimation("leave")},$e.prototype._updateCommon=function(Ie,Fe,Ue,qe,At){var Dt=this.childAt(0),Lt=Ie.hostModel,jt,hn,vn,bn,_n,wn,kn,Cn,Sn;if(qe&&(jt=qe.emphasisItemStyle,hn=qe.blurItemStyle,vn=qe.selectItemStyle,bn=qe.focus,_n=qe.blurScope,kn=qe.labelStatesModels,Cn=qe.hoverScale,Sn=qe.cursorStyle,wn=qe.emphasisDisabled),!qe||Ie.hasItemOption){var xn=qe&&qe.itemModel?qe.itemModel:Ie.getItemModel(Fe),En=xn.getModel("emphasis");jt=En.getModel("itemStyle").getItemStyle(),vn=xn.getModel(["select","itemStyle"]).getItemStyle(),hn=xn.getModel(["blur","itemStyle"]).getItemStyle(),bn=En.get("focus"),_n=En.get("blurScope"),wn=En.get("disabled"),kn=getLabelStatesModels(xn),Cn=En.getShallow("scale"),Sn=xn.getShallow("cursor")}var Tn=Ie.getItemVisual(Fe,"symbolRotate");Dt.attr("rotation",(Tn||0)*Math.PI/180||0);var An=normalizeSymbolOffset(Ie.getItemVisual(Fe,"symbolOffset"),Ue);An&&(Dt.x=An[0],Dt.y=An[1]),Sn&&Dt.attr("cursor",Sn);var $n=Ie.getItemVisual(Fe,"style"),Pn=$n.fill;if(Dt instanceof ZRImage){var Nn=Dt.style;Dt.useStyle(extend({image:Nn.image,x:Nn.x,y:Nn.y,width:Nn.width,height:Nn.height},$n))}else Dt.__isEmptyBrush?Dt.useStyle(extend({},$n)):Dt.useStyle($n),Dt.style.decal=null,Dt.setColor(Pn,At&&At.symbolInnerColor),Dt.style.strokeNoScale=!0;var Mn=Ie.getItemVisual(Fe,"liftZ"),In=this._z2;Mn!=null?In==null&&(this._z2=Dt.z2,Dt.z2+=Mn):In!=null&&(Dt.z2=In,this._z2=null);var On=At&&At.useNameLabel;setLabelStyle(Dt,kn,{labelFetcher:Lt,labelDataIndex:Fe,defaultText:Rn,inheritColor:Pn,defaultOpacity:$n.opacity});function Rn(Ln){return On?Ie.getName(Ln):getDefaultLabel(Ie,Ln)}this._sizeX=Ue[0]/2,this._sizeY=Ue[1]/2;var Bn=Dt.ensureState("emphasis");Bn.style=jt,Dt.ensureState("select").style=vn,Dt.ensureState("blur").style=hn;var Vn=Cn==null||Cn===!0?Math.max(1.1,3/this._sizeY):isFinite(Cn)&&Cn>0?+Cn:1;Bn.scaleX=this._sizeX*Vn,Bn.scaleY=this._sizeY*Vn,this.setSymbolScale(1),toggleHoverEmphasis(this,bn,_n,wn)},$e.prototype.setSymbolScale=function(Ie){this.scaleX=this.scaleY=Ie},$e.prototype.fadeOut=function(Ie,Fe,Ue){var qe=this.childAt(0),At=getECData(this).dataIndex,Dt=Ue&&Ue.animation;if(this.silent=qe.silent=!0,Ue&&Ue.fadeLabel){var Lt=qe.getTextContent();Lt&&removeElement(Lt,{style:{opacity:0}},Fe,{dataIndex:At,removeOpt:Dt,cb:function(){qe.removeTextContent()}})}else qe.removeTextContent();removeElement(qe,{style:{opacity:0},scaleX:0,scaleY:0},Fe,{dataIndex:At,cb:Ie,removeOpt:Dt})},$e.getSymbolSize=function(Ie,Fe){return normalizeSymbolSize(Ie.getItemVisual(Fe,"symbolSize"))},$e}(Group$3);function driftSymbol(xe,$e){this.parent.drift(xe,$e)}function symbolNeedsDraw$1(xe,$e,Ie,Fe){return $e&&!isNaN($e[0])&&!isNaN($e[1])&&!(Fe.isIgnore&&Fe.isIgnore(Ie))&&!(Fe.clipShape&&!Fe.clipShape.contain($e[0],$e[1]))&&xe.getItemVisual(Ie,"symbol")!=="none"}function normalizeUpdateOpt(xe){return xe!=null&&!isObject$3(xe)&&(xe={isIgnore:xe}),xe||{}}function makeSeriesScope$2(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{emphasisItemStyle:Ie.getModel("itemStyle").getItemStyle(),blurItemStyle:$e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:$e.getModel(["select","itemStyle"]).getItemStyle(),focus:Ie.get("focus"),blurScope:Ie.get("blurScope"),emphasisDisabled:Ie.get("disabled"),hoverScale:Ie.get("scale"),labelStatesModels:getLabelStatesModels($e),cursorStyle:$e.get("cursor")}}var SymbolDraw=function(){function xe($e){this.group=new Group$3,this._SymbolCtor=$e||Symbol$1}return xe.prototype.updateData=function($e,Ie){this._progressiveEls=null,Ie=normalizeUpdateOpt(Ie);var Fe=this.group,Ue=$e.hostModel,qe=this._data,At=this._SymbolCtor,Dt=Ie.disableAnimation,Lt=makeSeriesScope$2($e),jt={disableAnimation:Dt},hn=Ie.getSymbolPoint||function(vn){return $e.getItemLayout(vn)};qe||Fe.removeAll(),$e.diff(qe).add(function(vn){var bn=hn(vn);if(symbolNeedsDraw$1($e,bn,vn,Ie)){var _n=new At($e,vn,Lt,jt);_n.setPosition(bn),$e.setItemGraphicEl(vn,_n),Fe.add(_n)}}).update(function(vn,bn){var _n=qe.getItemGraphicEl(bn),wn=hn(vn);if(!symbolNeedsDraw$1($e,wn,vn,Ie)){Fe.remove(_n);return}var kn=$e.getItemVisual(vn,"symbol")||"circle",Cn=_n&&_n.getSymbolType&&_n.getSymbolType();if(!_n||Cn&&Cn!==kn)Fe.remove(_n),_n=new At($e,vn,Lt,jt),_n.setPosition(wn);else{_n.updateData($e,vn,Lt,jt);var Sn={x:wn[0],y:wn[1]};Dt?_n.attr(Sn):updateProps$1(_n,Sn,Ue)}Fe.add(_n),$e.setItemGraphicEl(vn,_n)}).remove(function(vn){var bn=qe.getItemGraphicEl(vn);bn&&bn.fadeOut(function(){Fe.remove(bn)},Ue)}).execute(),this._getSymbolPoint=hn,this._data=$e},xe.prototype.updateLayout=function(){var $e=this,Ie=this._data;Ie&&Ie.eachItemGraphicEl(function(Fe,Ue){var qe=$e._getSymbolPoint(Ue);Fe.setPosition(qe),Fe.markRedraw()})},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$2($e),this._data=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie,Fe){this._progressiveEls=[],Fe=normalizeUpdateOpt(Fe);function Ue(Lt){Lt.isGroup||(Lt.incremental=!0,Lt.ensureState("emphasis").hoverLayer=!0)}for(var qe=$e.start;qe<$e.end;qe++){var At=Ie.getItemLayout(qe);if(symbolNeedsDraw$1(Ie,At,qe,Fe)){var Dt=new this._SymbolCtor(Ie,qe,this._seriesScope);Dt.traverse(Ue),Dt.setPosition(At),this.group.add(Dt),Ie.setItemGraphicEl(qe,Dt),this._progressiveEls.push(Dt)}}},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype.remove=function($e){var Ie=this.group,Fe=this._data;Fe&&$e?Fe.eachItemGraphicEl(function(Ue){Ue.fadeOut(function(){Ie.remove(Ue)},Fe.hostModel)}):Ie.removeAll()},xe}();function prepareDataCoordInfo(xe,$e,Ie){var Fe=xe.getBaseAxis(),Ue=xe.getOtherAxis(Fe),qe=getValueStart(Ue,Ie),At=Fe.dim,Dt=Ue.dim,Lt=$e.mapDimension(Dt),jt=$e.mapDimension(At),hn=Dt==="x"||Dt==="radius"?1:0,vn=map$1(xe.dimensions,function(wn){return $e.mapDimension(wn)}),bn=!1,_n=$e.getCalculationInfo("stackResultDimension");return isDimensionStacked($e,vn[0])&&(bn=!0,vn[0]=_n),isDimensionStacked($e,vn[1])&&(bn=!0,vn[1]=_n),{dataDimsForPoint:vn,valueStart:qe,valueAxisDim:Dt,baseAxisDim:At,stacked:!!bn,valueDim:Lt,baseDim:jt,baseDataOffset:hn,stackedOverDimension:$e.getCalculationInfo("stackedOverDimension")}}function getValueStart(xe,$e){var Ie=0,Fe=xe.scale.getExtent();return $e==="start"?Ie=Fe[0]:$e==="end"?Ie=Fe[1]:isNumber($e)&&!isNaN($e)?Ie=$e:Fe[0]>0?Ie=Fe[0]:Fe[1]<0&&(Ie=Fe[1]),Ie}function getStackedOnPoint(xe,$e,Ie,Fe){var Ue=NaN;xe.stacked&&(Ue=Ie.get(Ie.getCalculationInfo("stackedOverDimension"),Fe)),isNaN(Ue)&&(Ue=xe.valueStart);var qe=xe.baseDataOffset,At=[];return At[qe]=Ie.get(xe.baseDim,Fe),At[1-qe]=Ue,$e.dataToPoint(At)}function diffData(xe,$e){var Ie=[];return $e.diff(xe).add(function(Fe){Ie.push({cmd:"+",idx:Fe})}).update(function(Fe,Ue){Ie.push({cmd:"=",idx:Ue,idx1:Fe})}).remove(function(Fe){Ie.push({cmd:"-",idx:Fe})}).execute(),Ie}function lineAnimationDiff(xe,$e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=diffData(xe,$e),jt=[],hn=[],vn=[],bn=[],_n=[],wn=[],kn=[],Cn=prepareDataCoordInfo(Ue,$e,At),Sn=xe.getLayout("points")||[],xn=$e.getLayout("points")||[],En=0;En=Ue||kn<0)break;if(isPointNull$1(Sn,xn)){if(Lt){kn+=qe;continue}break}if(kn===Ie)xe[qe>0?"moveTo":"lineTo"](Sn,xn),vn=Sn,bn=xn;else{var En=Sn-jt,Tn=xn-hn;if(En*En+Tn*Tn<.5){kn+=qe;continue}if(At>0){for(var An=kn+qe,$n=$e[An*2],Pn=$e[An*2+1];$n===Sn&&Pn===xn&&Cn=Fe||isPointNull$1($n,Pn))_n=Sn,wn=xn;else{In=$n-jt,On=Pn-hn;var Vn=Sn-jt,Ln=$n-Sn,Dn=xn-hn,Hn=Pn-xn,Fn=void 0,zn=void 0;if(Dt==="x"){Fn=Math.abs(Vn),zn=Math.abs(Ln);var jn=In>0?1:-1;_n=Sn-jn*Fn*At,wn=xn,Rn=Sn+jn*zn*At,Bn=xn}else if(Dt==="y"){Fn=Math.abs(Dn),zn=Math.abs(Hn);var Gn=On>0?1:-1;_n=Sn,wn=xn-Gn*Fn*At,Rn=Sn,Bn=xn+Gn*zn*At}else Fn=Math.sqrt(Vn*Vn+Dn*Dn),zn=Math.sqrt(Ln*Ln+Hn*Hn),Mn=zn/(zn+Fn),_n=Sn-In*At*(1-Mn),wn=xn-On*At*(1-Mn),Rn=Sn+In*At*Mn,Bn=xn+On*At*Mn,Rn=mathMin$5(Rn,mathMax$5($n,Sn)),Bn=mathMin$5(Bn,mathMax$5(Pn,xn)),Rn=mathMax$5(Rn,mathMin$5($n,Sn)),Bn=mathMax$5(Bn,mathMin$5(Pn,xn)),In=Rn-Sn,On=Bn-xn,_n=Sn-In*Fn/zn,wn=xn-On*Fn/zn,_n=mathMin$5(_n,mathMax$5(jt,Sn)),wn=mathMin$5(wn,mathMax$5(hn,xn)),_n=mathMax$5(_n,mathMin$5(jt,Sn)),wn=mathMax$5(wn,mathMin$5(hn,xn)),In=Sn-_n,On=xn-wn,Rn=Sn+In*zn/Fn,Bn=xn+On*zn/Fn}xe.bezierCurveTo(vn,bn,_n,wn,Sn,xn),vn=Rn,bn=Bn}else xe.lineTo(Sn,xn)}jt=Sn,hn=xn,kn+=qe}return Cn}var ECPolylineShape=function(){function xe(){this.smooth=0,this.smoothConstraint=!0}return xe}(),ECPolyline=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polyline",Fe}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new ECPolylineShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0,At=Ue.length/2;if(Fe.connectNulls){for(;At>0&&isPointNull$1(Ue[At*2-2],Ue[At*2-1]);At--);for(;qe=0){var Tn=jt?(wn-Lt)*En+Lt:(_n-Dt)*En+Dt;return jt?[Ie,Tn]:[Tn,Ie]}Dt=_n,Lt=wn;break;case At.C:_n=qe[vn++],wn=qe[vn++],kn=qe[vn++],Cn=qe[vn++],Sn=qe[vn++],xn=qe[vn++];var An=jt?cubicRootAt(Dt,_n,kn,Sn,Ie,hn):cubicRootAt(Lt,wn,Cn,xn,Ie,hn);if(An>0)for(var $n=0;$n=0){var Tn=jt?cubicAt(Lt,wn,Cn,xn,Pn):cubicAt(Dt,_n,kn,Sn,Pn);return jt?[Ie,Tn]:[Tn,Ie]}}Dt=Sn,Lt=xn;break}}},$e}(Path),ECPolygonShape=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e}(ECPolylineShape),ECPolygon=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="ec-polygon",Fe}return $e.prototype.getDefaultShape=function(){return new ECPolygonShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.stackedOnPoints,At=0,Dt=Ue.length/2,Lt=Fe.smoothMonotone;if(Fe.connectNulls){for(;Dt>0&&isPointNull$1(Ue[Dt*2-2],Ue[Dt*2-1]);Dt--);for(;At$e){qe?Ie.push(At(qe,Lt,$e)):Ue&&Ie.push(At(Ue,Lt,0),At(Ue,Lt,$e));break}else Ue&&(Ie.push(At(Ue,Lt,0)),Ue=null),Ie.push(Lt),qe=Lt}return Ie}function getVisualGradient(xe,$e,Ie){var Fe=xe.getVisual("visualMeta");if(!(!Fe||!Fe.length||!xe.count())&&$e.type==="cartesian2d"){for(var Ue,qe,At=Fe.length-1;At>=0;At--){var Dt=xe.getDimensionInfo(Fe[At].dimension);if(Ue=Dt&&Dt.coordDim,Ue==="x"||Ue==="y"){qe=Fe[At];break}}if(qe){var Lt=$e.getAxis(Ue),jt=map$1(qe.stops,function(En){return{coord:Lt.toGlobalCoord(Lt.dataToCoord(En.value)),color:En.color}}),hn=jt.length,vn=qe.outerColors.slice();hn&&jt[0].coord>jt[hn-1].coord&&(jt.reverse(),vn.reverse());var bn=clipColorStops(jt,Ue==="x"?Ie.getWidth():Ie.getHeight()),_n=bn.length;if(!_n&&hn)return jt[0].coord<0?vn[1]?vn[1]:jt[hn-1].color:vn[0]?vn[0]:jt[0].color;var wn=10,kn=bn[0].coord-wn,Cn=bn[_n-1].coord+wn,Sn=Cn-kn;if(Sn<.001)return"transparent";each$f(bn,function(En){En.offset=(En.coord-kn)/Sn}),bn.push({offset:_n?bn[_n-1].offset:.5,color:vn[1]||"transparent"}),bn.unshift({offset:_n?bn[0].offset:.5,color:vn[0]||"transparent"});var xn=new LinearGradient(0,0,0,0,bn,!0);return xn[Ue]=kn,xn[Ue+"2"]=Cn,xn}}}function getIsIgnoreFunc(xe,$e,Ie){var Fe=xe.get("showAllSymbol"),Ue=Fe==="auto";if(!(Fe&&!Ue)){var qe=Ie.getAxesByScale("ordinal")[0];if(qe&&!(Ue&&canShowAllSymbolForCategory(qe,$e))){var At=$e.mapDimension(qe.dim),Dt={};return each$f(qe.getViewLabels(),function(Lt){var jt=qe.scale.getRawOrdinalNumber(Lt.tickValue);Dt[jt]=1}),function(Lt){return!Dt.hasOwnProperty($e.get(At,Lt))}}}}function canShowAllSymbolForCategory(xe,$e){var Ie=xe.getExtent(),Fe=Math.abs(Ie[1]-Ie[0])/xe.scale.count();isNaN(Fe)&&(Fe=0);for(var Ue=$e.count(),qe=Math.max(1,Math.round(Ue/5)),At=0;AtFe)return!1;return!0}function isPointNull(xe,$e){return isNaN(xe)||isNaN($e)}function getLastIndexNotNull(xe){for(var $e=xe.length/2;$e>0&&isPointNull(xe[$e*2-2],xe[$e*2-1]);$e--);return $e-1}function getPointAtIndex(xe,$e){return[xe[$e*2],xe[$e*2+1]]}function getIndexRange(xe,$e,Ie){for(var Fe=xe.length/2,Ue=Ie==="x"?0:1,qe,At,Dt=0,Lt=-1,jt=0;jt=$e||qe>=$e&&At<=$e){Lt=jt;break}Dt=jt,qe=At}return{range:[Dt,Lt],t:($e-qe)/(At-qe)}}function anyStateShowEndLabel(xe){if(xe.get(["endLabel","show"]))return!0;for(var $e=0;$e0&&Ie.get(["emphasis","lineStyle","width"])==="bolder"){var jn=kn.getState("emphasis").style;jn.lineWidth=+kn.style.lineWidth+1}getECData(kn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(kn,Hn,Fn,zn);var Gn=getSmooth(Ie.get("smooth")),Wn=Ie.get("smoothMonotone");if(kn.setShape({smooth:Gn,smoothMonotone:Wn,connectNulls:Nn}),Cn){var Xn=Lt.getCalculationInfo("stackedOnSeries"),er=0;Cn.useStyle(defaults(hn.getAreaStyle(),{fill:Bn,opacity:.7,lineJoin:"bevel",decal:Lt.getVisual("style").decal})),Xn&&(er=getSmooth(Xn.get("smooth"))),Cn.setShape({smooth:Gn,stackedOnSmooth:er,smoothMonotone:Wn,connectNulls:Nn}),setStatesStylesFromModel(Cn,Ie,"areaStyle"),getECData(Cn).seriesIndex=Ie.seriesIndex,toggleHoverEmphasis(Cn,Hn,Fn,zn)}var rr=function(Jn){qe._changePolyState(Jn)};Lt.eachItemGraphicEl(function(Jn){Jn&&(Jn.onHoverStateChange=rr)}),this._polyline.onHoverStateChange=rr,this._data=Lt,this._coordSys=At,this._stackedOnPoints=$n,this._points=vn,this._step=On,this._valueOrigin=Tn,Ie.get("triggerLineEvent")&&(this.packEventData(Ie,kn),Cn&&this.packEventData(Ie,Cn))},$e.prototype.packEventData=function(Ie,Fe){getECData(Fe).eventData={componentType:"series",componentSubType:"line",componentIndex:Ie.componentIndex,seriesIndex:Ie.seriesIndex,seriesName:Ie.name,seriesType:"line"}},$e.prototype.highlight=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("emphasis"),!(Dt instanceof Array)&&Dt!=null&&Dt>=0){var Lt=At.getLayout("points"),jt=At.getItemGraphicEl(Dt);if(!jt){var hn=Lt[Dt*2],vn=Lt[Dt*2+1];if(isNaN(hn)||isNaN(vn)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(hn,vn))return;var bn=Ie.get("zlevel")||0,_n=Ie.get("z")||0;jt=new Symbol$1(At,Dt),jt.x=hn,jt.y=vn,jt.setZ(bn,_n);var wn=jt.getSymbolPath().getTextContent();wn&&(wn.zlevel=bn,wn.z=_n,wn.z2=this._polyline.z2+1),jt.__temp=!0,At.setItemGraphicEl(Dt,jt),jt.stopSymbolAnimation(!0),this.group.add(jt)}jt.highlight()}else ChartView.prototype.highlight.call(this,Ie,Fe,Ue,qe)},$e.prototype.downplay=function(Ie,Fe,Ue,qe){var At=Ie.getData(),Dt=queryDataIndex(At,qe);if(this._changePolyState("normal"),Dt!=null&&Dt>=0){var Lt=At.getItemGraphicEl(Dt);Lt&&(Lt.__temp?(At.setItemGraphicEl(Dt,null),this.group.remove(Lt)):Lt.downplay())}else ChartView.prototype.downplay.call(this,Ie,Fe,Ue,qe)},$e.prototype._changePolyState=function(Ie){var Fe=this._polygon;setStatesFlag(this._polyline,Ie),Fe&&setStatesFlag(Fe,Ie)},$e.prototype._newPolyline=function(Ie){var Fe=this._polyline;return Fe&&this._lineGroup.remove(Fe),Fe=new ECPolyline({shape:{points:Ie},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(Fe),this._polyline=Fe,Fe},$e.prototype._newPolygon=function(Ie,Fe){var Ue=this._polygon;return Ue&&this._lineGroup.remove(Ue),Ue=new ECPolygon({shape:{points:Ie,stackedOnPoints:Fe},segmentIgnoreThreshold:2}),this._lineGroup.add(Ue),this._polygon=Ue,Ue},$e.prototype._initSymbolLabelAnimation=function(Ie,Fe,Ue){var qe,At,Dt=Fe.getBaseAxis(),Lt=Dt.inverse;Fe.type==="cartesian2d"?(qe=Dt.isHorizontal(),At=!1):Fe.type==="polar"&&(qe=Dt.dim==="angle",At=!0);var jt=Ie.hostModel,hn=jt.get("animationDuration");isFunction(hn)&&(hn=hn(null));var vn=jt.get("animationDelay")||0,bn=isFunction(vn)?vn(null):vn;Ie.eachItemGraphicEl(function(_n,wn){var kn=_n;if(kn){var Cn=[_n.x,_n.y],Sn=void 0,xn=void 0,En=void 0;if(Ue)if(At){var Tn=Ue,An=Fe.pointToCoord(Cn);qe?(Sn=Tn.startAngle,xn=Tn.endAngle,En=-An[1]/180*Math.PI):(Sn=Tn.r0,xn=Tn.r,En=An[0])}else{var $n=Ue;qe?(Sn=$n.x,xn=$n.x+$n.width,En=_n.x):(Sn=$n.y+$n.height,xn=$n.y,En=_n.y)}var Pn=xn===Sn?0:(En-Sn)/(xn-Sn);Lt&&(Pn=1-Pn);var Nn=isFunction(vn)?vn(wn):hn*Pn+bn,Mn=kn.getSymbolPath(),In=Mn.getTextContent();kn.attr({scaleX:0,scaleY:0}),kn.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:Nn}),In&&In.animateFrom({style:{opacity:0}},{duration:300,delay:Nn}),Mn.disableLabelAnimation=!0}})},$e.prototype._initOrUpdateEndLabel=function(Ie,Fe,Ue){var qe=Ie.getModel("endLabel");if(anyStateShowEndLabel(Ie)){var At=Ie.getData(),Dt=this._polyline,Lt=At.getLayout("points");if(!Lt){Dt.removeTextContent(),this._endLabel=null;return}var jt=this._endLabel;jt||(jt=this._endLabel=new ZRText({z2:200}),jt.ignoreClip=!0,Dt.setTextContent(this._endLabel),Dt.disableLabelAnimation=!0);var hn=getLastIndexNotNull(Lt);hn>=0&&(setLabelStyle(Dt,getLabelStatesModels(Ie,"endLabel"),{inheritColor:Ue,labelFetcher:Ie,labelDataIndex:hn,defaultText:function(vn,bn,_n){return _n!=null?getDefaultInterpolatedLabel(At,_n):getDefaultLabel(At,vn)},enableTextSetter:!0},getEndLabelStateSpecified(qe,Fe)),Dt.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},$e.prototype._endLabelOnDuring=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._endLabel,hn=this._polyline;if(jt){Ie<1&&qe.originalX==null&&(qe.originalX=jt.x,qe.originalY=jt.y);var vn=Ue.getLayout("points"),bn=Ue.hostModel,_n=bn.get("connectNulls"),wn=Dt.get("precision"),kn=Dt.get("distance")||0,Cn=Lt.getBaseAxis(),Sn=Cn.isHorizontal(),xn=Cn.inverse,En=Fe.shape,Tn=xn?Sn?En.x:En.y+En.height:Sn?En.x+En.width:En.y,An=(Sn?kn:0)*(xn?-1:1),$n=(Sn?0:-kn)*(xn?-1:1),Pn=Sn?"x":"y",Nn=getIndexRange(vn,Tn,Pn),Mn=Nn.range,In=Mn[1]-Mn[0],On=void 0;if(In>=1){if(In>1&&!_n){var Rn=getPointAtIndex(vn,Mn[0]);jt.attr({x:Rn[0]+An,y:Rn[1]+$n}),At&&(On=bn.getRawValue(Mn[0]))}else{var Rn=hn.getPointOn(Tn,Pn);Rn&&jt.attr({x:Rn[0]+An,y:Rn[1]+$n});var Bn=bn.getRawValue(Mn[0]),Vn=bn.getRawValue(Mn[1]);At&&(On=interpolateRawValues(Ue,wn,Bn,Vn,Nn.t))}qe.lastFrameIndex=Mn[0]}else{var Ln=Ie===1||qe.lastFrameIndex>0?Mn[0]:0,Rn=getPointAtIndex(vn,Ln);At&&(On=bn.getRawValue(Ln)),jt.attr({x:Rn[0]+An,y:Rn[1]+$n})}if(At){var Dn=labelInner(jt);typeof Dn.setLabelText=="function"&&Dn.setLabelText(On)}}},$e.prototype._doUpdateAnimation=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._polyline,hn=this._polygon,vn=Ie.hostModel,bn=lineAnimationDiff(this._data,Ie,this._stackedOnPoints,Fe,this._coordSys,Ue,this._valueOrigin),_n=bn.current,wn=bn.stackedOnCurrent,kn=bn.next,Cn=bn.stackedOnNext;if(At&&(_n=turnPointsIntoStep(bn.current,Ue,At,Lt),wn=turnPointsIntoStep(bn.stackedOnCurrent,Ue,At,Lt),kn=turnPointsIntoStep(bn.next,Ue,At,Lt),Cn=turnPointsIntoStep(bn.stackedOnNext,Ue,At,Lt)),getBoundingDiff(_n,kn)>3e3||hn&&getBoundingDiff(wn,Cn)>3e3){jt.stopAnimation(),jt.setShape({points:kn}),hn&&(hn.stopAnimation(),hn.setShape({points:kn,stackedOnPoints:Cn}));return}jt.shape.__points=bn.current,jt.shape.points=_n;var Sn={shape:{points:kn}};bn.current!==_n&&(Sn.shape.__points=bn.next),jt.stopAnimation(),updateProps$1(jt,Sn,vn),hn&&(hn.setShape({points:_n,stackedOnPoints:wn}),hn.stopAnimation(),updateProps$1(hn,{shape:{stackedOnPoints:Cn}},vn),jt.shape.points!==hn.shape.points&&(hn.shape.points=jt.shape.points));for(var xn=[],En=bn.status,Tn=0;Tn$e&&($e=xe[Ie]);return isFinite($e)?$e:NaN},min:function(xe){for(var $e=1/0,Ie=0;Ie$e&&($e=qe,Ie=Ue)}return isFinite(Ie)?Ie:NaN},nearest:function(xe){return xe[0]}},indexSampler=function(xe){return Math.round(xe.length/2)};function dataSample(xe){return{seriesType:xe,reset:function($e,Ie,Fe){var Ue=$e.getData(),qe=$e.get("sampling"),At=$e.coordinateSystem,Dt=Ue.count();if(Dt>10&&At.type==="cartesian2d"&&qe){var Lt=At.getBaseAxis(),jt=At.getOtherAxis(Lt),hn=Lt.getExtent(),vn=Fe.getDevicePixelRatio(),bn=Math.abs(hn[1]-hn[0])*(vn||1),_n=Math.round(Dt/bn);if(isFinite(_n)&&_n>1){qe==="lttb"&&$e.setData(Ue.lttbDownSample(Ue.mapDimension(jt.dim),1/_n));var wn=void 0;isString(qe)?wn=samplers[qe]:isFunction(qe)&&(wn=qe),wn&&$e.setData(Ue.downSample(Ue.mapDimension(jt.dim),1/_n,wn,indexSampler))}}}}}function install$R(xe){xe.registerChartView(LineView),xe.registerSeriesModel(LineSeriesModel),xe.registerLayout(pointsLayout("line",!0)),xe.registerVisual({seriesType:"line",reset:function($e){var Ie=$e.getData(),Fe=$e.getModel("lineStyle").getLineStyle();Fe&&!Fe.stroke&&(Fe.stroke=Ie.getVisual("style").fill),Ie.setVisual("legendLineStyle",Fe)}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("line"))}var BaseBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getMarkerPosition=function(Ie,Fe,Ue){var qe=this.coordinateSystem;if(qe&&qe.clampData){var At=qe.clampData(Ie),Dt=qe.dataToPoint(At);if(Ue)each$f(qe.getAxes(),function(bn,_n){if(bn.type==="category"&&Fe!=null){var wn=bn.getTicksCoords(),kn=bn.getTickModel().get("alignWithLabel"),Cn=At[_n],Sn=Fe[_n]==="x1"||Fe[_n]==="y1";if(Sn&&!kn&&(Cn+=1),wn.length<2)return;if(wn.length===2){Dt[_n]=bn.toGlobalCoord(bn.getExtent()[Sn?1:0]);return}for(var xn=void 0,En=void 0,Tn=1,An=0;AnCn){En=($n+xn)/2;break}An===1&&(Tn=Pn-wn[0].tickValue)}En==null&&(xn?xn&&(En=wn[wn.length-1].coord):En=wn[0].coord),Dt[_n]=bn.toGlobalCoord(En)}});else{var Lt=this.getData(),jt=Lt.getLayout("offset"),hn=Lt.getLayout("size"),vn=qe.getBaseAxis().isHorizontal()?0:1;Dt[vn]+=jt+hn/2}return Dt}return[NaN,NaN]},$e.type="series.__base_bar__",$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},$e}(SeriesModel);SeriesModel.registerClass(BaseBarSeriesModel);var BarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(){return createSeriesData(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},$e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},$e.prototype.getProgressiveThreshold=function(){var Ie=this.get("progressiveThreshold"),Fe=this.get("largeThreshold");return Fe>Ie&&(Ie=Fe),Ie},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.rect(Fe.getItemLayout(Ie))},$e.type="series.bar",$e.dependencies=["grid","polar"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),$e}(BaseBarSeriesModel),SausageShape=function(){function xe(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return xe}(),SausagePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="sausage",Fe}return $e.prototype.getDefaultShape=function(){return new SausageShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.cx,qe=Fe.cy,At=Math.max(Fe.r0||0,0),Dt=Math.max(Fe.r,0),Lt=(Dt-At)*.5,jt=At+Lt,hn=Fe.startAngle,vn=Fe.endAngle,bn=Fe.clockwise,_n=Math.PI*2,wn=bn?vn-hn<_n:hn-vn<_n;wn||(hn=vn-(bn?_n:-_n));var kn=Math.cos(hn),Cn=Math.sin(hn),Sn=Math.cos(vn),xn=Math.sin(vn);wn?(Ie.moveTo(kn*At+Ue,Cn*At+qe),Ie.arc(kn*jt+Ue,Cn*jt+qe,Lt,-Math.PI+hn,hn,!bn)):Ie.moveTo(kn*Dt+Ue,Cn*Dt+qe),Ie.arc(Ue,qe,Dt,hn,vn,!bn),Ie.arc(Sn*jt+Ue,xn*jt+qe,Lt,vn-Math.PI*2,vn-Math.PI,!bn),At!==0&&Ie.arc(Ue,qe,At,vn,hn,bn)},$e}(Path);function createSectorCalculateTextPosition(xe,$e){$e=$e||{};var Ie=$e.isRoundCap;return function(Fe,Ue,qe){var At=Ue.position;if(!At||At instanceof Array)return calculateTextPosition(Fe,Ue,qe);var Dt=xe(At),Lt=Ue.distance!=null?Ue.distance:5,jt=this.shape,hn=jt.cx,vn=jt.cy,bn=jt.r,_n=jt.r0,wn=(bn+_n)/2,kn=jt.startAngle,Cn=jt.endAngle,Sn=(kn+Cn)/2,xn=Ie?Math.abs(bn-_n)/2:0,En=Math.cos,Tn=Math.sin,An=hn+bn*En(kn),$n=vn+bn*Tn(kn),Pn="left",Nn="top";switch(Dt){case"startArc":An=hn+(_n-Lt)*En(Sn),$n=vn+(_n-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"insideStartArc":An=hn+(_n+Lt)*En(Sn),$n=vn+(_n+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"startAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,Lt+xn,!1),Pn="right",Nn="middle";break;case"insideStartAngle":An=hn+wn*En(kn)+adjustAngleDistanceX(kn,-Lt+xn,!1),$n=vn+wn*Tn(kn)+adjustAngleDistanceY(kn,-Lt+xn,!1),Pn="left",Nn="middle";break;case"middle":An=hn+wn*En(Sn),$n=vn+wn*Tn(Sn),Pn="center",Nn="middle";break;case"endArc":An=hn+(bn+Lt)*En(Sn),$n=vn+(bn+Lt)*Tn(Sn),Pn="center",Nn="bottom";break;case"insideEndArc":An=hn+(bn-Lt)*En(Sn),$n=vn+(bn-Lt)*Tn(Sn),Pn="center",Nn="top";break;case"endAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,Lt+xn,!0),Pn="left",Nn="middle";break;case"insideEndAngle":An=hn+wn*En(Cn)+adjustAngleDistanceX(Cn,-Lt+xn,!0),$n=vn+wn*Tn(Cn)+adjustAngleDistanceY(Cn,-Lt+xn,!0),Pn="right",Nn="middle";break;default:return calculateTextPosition(Fe,Ue,qe)}return Fe=Fe||{},Fe.x=An,Fe.y=$n,Fe.align=Pn,Fe.verticalAlign=Nn,Fe}}function setSectorTextRotation(xe,$e,Ie,Fe){if(isNumber(Fe)){xe.setTextConfig({rotation:Fe});return}else if(isArray$1($e)){xe.setTextConfig({rotation:0});return}var Ue=xe.shape,qe=Ue.clockwise?Ue.startAngle:Ue.endAngle,At=Ue.clockwise?Ue.endAngle:Ue.startAngle,Dt=(qe+At)/2,Lt,jt=Ie($e);switch(jt){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":Lt=Dt;break;case"startAngle":case"insideStartAngle":Lt=qe;break;case"endAngle":case"insideEndAngle":Lt=At;break;default:xe.setTextConfig({rotation:0});return}var hn=Math.PI*1.5-Lt;jt==="middle"&&hn>Math.PI/2&&hnDt)return!0;Dt=vn}return!1},$e.prototype._isOrderDifferentInView=function(Ie,Fe){for(var Ue=Fe.scale,qe=Ue.getExtent(),At=Math.max(0,qe[0]),Dt=Math.min(qe[1],Ue.getOrdinalMeta().categories.length-1);At<=Dt;++At)if(Ie.ordinalNumbers[At]!==Ue.getRawOrdinalNumber(At))return!0},$e.prototype._updateSortWithinSameData=function(Ie,Fe,Ue,qe){if(this._isOrderChangedWithinSameData(Ie,Fe,Ue)){var At=this._dataSort(Ie,Ue,Fe);this._isOrderDifferentInView(At,Ue)&&(this._removeOnRenderedListener(qe),qe.dispatchAction({type:"changeAxisOrder",componentType:Ue.dim+"Axis",axisId:Ue.index,sortInfo:At}))}},$e.prototype._dispatchInitSort=function(Ie,Fe,Ue){var qe=Fe.baseAxis,At=this._dataSort(Ie,qe,function(Dt){return Ie.get(Ie.mapDimension(Fe.otherAxis.dim),Dt)});Ue.dispatchAction({type:"changeAxisOrder",componentType:qe.dim+"Axis",isInitSort:!0,axisId:qe.index,sortInfo:At})},$e.prototype.remove=function(Ie,Fe){this._clear(this._model),this._removeOnRenderedListener(Fe)},$e.prototype.dispose=function(Ie,Fe){this._removeOnRenderedListener(Fe)},$e.prototype._removeOnRenderedListener=function(Ie){this._onRendered&&(Ie.getZr().off("rendered",this._onRendered),this._onRendered=null)},$e.prototype._clear=function(Ie){var Fe=this.group,Ue=this._data;Ie&&Ie.isAnimationEnabled()&&Ue&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],Ue.eachItemGraphicEl(function(qe){removeElementWithFadeOut(qe,Ie,getECData(qe).dataIndex)})):Fe.removeAll(),this._data=null,this._isFirstFrame=!0},$e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},$e.type="bar",$e}(ChartView),clip={cartesian2d:function(xe,$e){var Ie=$e.width<0?-1:1,Fe=$e.height<0?-1:1;Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height);var Ue=xe.x+xe.width,qe=xe.y+xe.height,At=mathMax$4($e.x,xe.x),Dt=mathMin$4($e.x+$e.width,Ue),Lt=mathMax$4($e.y,xe.y),jt=mathMin$4($e.y+$e.height,qe),hn=DtUe?Dt:At,$e.y=vn&&Lt>qe?jt:Lt,$e.width=hn?0:Dt-At,$e.height=vn?0:jt-Lt,Ie<0&&($e.x+=$e.width,$e.width=-$e.width),Fe<0&&($e.y+=$e.height,$e.height=-$e.height),hn||vn},polar:function(xe,$e){var Ie=$e.r0<=$e.r?1:-1;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}var Ue=mathMin$4($e.r,xe.r),qe=mathMax$4($e.r0,xe.r0);$e.r=Ue,$e.r0=qe;var At=Ue-qe<0;if(Ie<0){var Fe=$e.r;$e.r=$e.r0,$e.r0=Fe}return At}},elementCreator={cartesian2d:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=new Rect$2({shape:extend({},Fe),z2:1});if(jt.__dataIndex=Ie,jt.name="item",qe){var hn=jt.shape,vn=Ue?"height":"width";hn[vn]=0}return jt},polar:function(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){var jt=!Ue&&Lt?SausagePath:Sector,hn=new jt({shape:Fe,z2:1});hn.name="item";var vn=createPolarPositionMapping(Ue);if(hn.calculateTextPosition=createSectorCalculateTextPosition(vn,{isRoundCap:jt===SausagePath}),qe){var bn=hn.shape,_n=Ue?"r":"endAngle",wn={};bn[_n]=Ue?Fe.r0:Fe.startAngle,wn[_n]=Fe[_n],(Dt?updateProps$1:initProps)(hn,{shape:wn},qe)}return hn}};function shouldRealtimeSort(xe,$e){var Ie=xe.get("realtimeSort",!0),Fe=$e.getBaseAxis();if(Ie&&Fe.type==="category"&&$e.type==="cartesian2d")return{baseAxis:Fe,otherAxis:$e.getOtherAxis(Fe)}}function updateRealtimeAnimation(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt,jt;qe?(jt={x:Fe.x,width:Fe.width},Lt={y:Fe.y,height:Fe.height}):(jt={y:Fe.y,height:Fe.height},Lt={x:Fe.x,width:Fe.width}),Dt||(At?updateProps$1:initProps)(Ie,{shape:Lt},$e,Ue,null);var hn=$e?xe.baseAxis.model:null;(At?updateProps$1:initProps)(Ie,{shape:jt},hn,Ue)}function checkPropertiesNotValid(xe,$e){for(var Ie=0;Ie<$e.length;Ie++)if(!isFinite(xe[$e[Ie]]))return!0;return!1}var rectPropties=["x","y","width","height"],polarPropties=["cx","cy","r","startAngle","endAngle"],isValidLayout={cartesian2d:function(xe){return!checkPropertiesNotValid(xe,rectPropties)},polar:function(xe){return!checkPropertiesNotValid(xe,polarPropties)}},getLayout={cartesian2d:function(xe,$e,Ie){var Fe=xe.getItemLayout($e),Ue=Ie?getLineWidth(Ie,Fe):0,qe=Fe.width>0?1:-1,At=Fe.height>0?1:-1;return{x:Fe.x+qe*Ue/2,y:Fe.y+At*Ue/2,width:Fe.width-qe*Ue,height:Fe.height-At*Ue}},polar:function(xe,$e,Ie){var Fe=xe.getItemLayout($e);return{cx:Fe.cx,cy:Fe.cy,r0:Fe.r0,r:Fe.r,startAngle:Fe.startAngle,endAngle:Fe.endAngle,clockwise:Fe.clockwise}}};function isZeroOnPolar(xe){return xe.startAngle!=null&&xe.endAngle!=null&&xe.startAngle===xe.endAngle}function createPolarPositionMapping(xe){return function($e){var Ie=$e?"Arc":"Angle";return function(Fe){switch(Fe){case"start":case"insideStart":case"end":case"insideEnd":return Fe+Ie;default:return Fe}}}(xe)}function updateStyle(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getItemVisual(Ie,"style");if(Dt){if(!qe.get("roundCap")){var hn=xe.shape,vn=getSectorCornerRadius(Fe.getModel("itemStyle"),hn,!0);extend(hn,vn),xe.setShape(hn)}}else{var jt=Fe.get(["itemStyle","borderRadius"])||0;xe.setShape("r",jt)}xe.useStyle(Lt);var bn=Fe.getShallow("cursor");bn&&xe.attr("cursor",bn);var _n=Dt?At?Ue.r>=Ue.r0?"endArc":"startArc":Ue.endAngle>=Ue.startAngle?"endAngle":"startAngle":At?Ue.height>=0?"bottom":"top":Ue.width>=0?"right":"left",wn=getLabelStatesModels(Fe);setLabelStyle(xe,wn,{labelFetcher:qe,labelDataIndex:Ie,defaultText:getDefaultLabel(qe.getData(),Ie),inheritColor:Lt.fill,defaultOpacity:Lt.opacity,defaultOutsidePosition:_n});var kn=xe.getTextContent();if(Dt&&kn){var Cn=Fe.get(["label","position"]);xe.textConfig.inside=Cn==="middle"?!0:null,setSectorTextRotation(xe,Cn==="outside"?_n:Cn,createPolarPositionMapping(At),Fe.get(["label","rotate"]))}setLabelValueAnimation(kn,wn,qe.getRawValue(Ie),function(xn){return getDefaultInterpolatedLabel($e,xn)});var Sn=Fe.getModel(["emphasis"]);toggleHoverEmphasis(xe,Sn.get("focus"),Sn.get("blurScope"),Sn.get("disabled")),setStatesStylesFromModel(xe,Fe),isZeroOnPolar(Ue)&&(xe.style.fill="none",xe.style.stroke="none",each$f(xe.states,function(xn){xn.style&&(xn.style.fill=xn.style.stroke="none")}))}function getLineWidth(xe,$e){var Ie=xe.get(["itemStyle","borderColor"]);if(!Ie||Ie==="none")return 0;var Fe=xe.get(["itemStyle","borderWidth"])||0,Ue=isNaN($e.width)?Number.MAX_VALUE:Math.abs($e.width),qe=isNaN($e.height)?Number.MAX_VALUE:Math.abs($e.height);return Math.min(Fe,Ue,qe)}var LagePathShape=function(){function xe(){}return xe}(),LargePath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeBar",Fe}return $e.prototype.getDefaultShape=function(){return new LagePathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=this.baseDimIdx,At=1-this.baseDimIdx,Dt=[],Lt=[],jt=this.barWidth,hn=0;hn=0?Ie:null},30,!1);function largePathFindDataIndex(xe,$e,Ie){for(var Fe=xe.baseDimIdx,Ue=1-Fe,qe=xe.shape.points,At=xe.largeDataIndices,Dt=[],Lt=[],jt=xe.barWidth,hn=0,vn=qe.length/3;hn=Dt[0]&&$e<=Dt[0]+Lt[0]&&Ie>=Dt[1]&&Ie<=Dt[1]+Lt[1])return At[hn]}return-1}function createBackgroundShape(xe,$e,Ie){if(isCoordinateSystemType(Ie,"cartesian2d")){var Fe=$e,Ue=Ie.getArea();return{x:xe?Fe.x:Ue.x,y:xe?Ue.y:Fe.y,width:xe?Fe.width:Ue.width,height:xe?Ue.height:Fe.height}}else{var Ue=Ie.getArea(),qe=$e;return{cx:Ue.cx,cy:Ue.cy,r0:xe?Ue.r0:qe.r0,r:xe?Ue.r:qe.r,startAngle:xe?qe.startAngle:0,endAngle:xe?qe.endAngle:Math.PI*2}}}function createBackgroundEl(xe,$e,Ie){var Fe=xe.type==="polar"?Sector:Rect$2;return new Fe({shape:createBackgroundShape($e,Ie,xe),silent:!0,z2:0})}function install$Q(xe){xe.registerChartView(BarView),xe.registerSeriesModel(BarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"bar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("bar")),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,dataSample("bar")),xe.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function($e,Ie){var Fe=$e.componentType||"series";Ie.eachComponent({mainType:Fe,query:$e},function(Ue){$e.sortInfo&&Ue.axis.setCategorySortInfo($e.sortInfo)})})}var PI2=Math.PI*2,RADIAN$2=Math.PI/180;function getViewRect$5(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getBasicPieLayout(xe,$e){var Ie=getViewRect$5(xe,$e),Fe=xe.get("center"),Ue=xe.get("radius");isArray$1(Ue)||(Ue=[0,Ue]);var qe=parsePercent(Ie.width,$e.getWidth()),At=parsePercent(Ie.height,$e.getHeight()),Dt=Math.min(qe,At),Lt=parsePercent(Ue[0],Dt/2),jt=parsePercent(Ue[1],Dt/2),hn,vn,bn=xe.coordinateSystem;if(bn){var _n=bn.dataToPoint(Fe);hn=_n[0]||0,vn=_n[1]||0}else isArray$1(Fe)||(Fe=[Fe,Fe]),hn=parsePercent(Fe[0],qe)+Ie.x,vn=parsePercent(Fe[1],At)+Ie.y;return{cx:hn,cy:vn,r0:Lt,r:jt}}function pieLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.getData(),qe=Ue.mapDimension("value"),At=getViewRect$5(Fe,Ie),Dt=getBasicPieLayout(Fe,Ie),Lt=Dt.cx,jt=Dt.cy,hn=Dt.r,vn=Dt.r0,bn=-Fe.get("startAngle")*RADIAN$2,_n=Fe.get("endAngle"),wn=Fe.get("padAngle")*RADIAN$2;_n=_n==="auto"?bn-PI2:-_n*RADIAN$2;var kn=Fe.get("minAngle")*RADIAN$2,Cn=kn+wn,Sn=0;Ue.each(qe,function(Dn){!isNaN(Dn)&&Sn++});var xn=Ue.getSum(qe),En=Math.PI/(xn||Sn)*2,Tn=Fe.get("clockwise"),An=Fe.get("roseType"),$n=Fe.get("stillShowZeroSum"),Pn=Ue.getDataExtent(qe);Pn[0]=0;var Nn=Tn?1:-1,Mn=[bn,_n],In=Nn*wn/2;normalizeArcAngles(Mn,!Tn),bn=Mn[0],_n=Mn[1];var On=Math.abs(_n-bn),Rn=On,Bn=0,Vn=bn;if(Ue.setLayout({viewRect:At,r:hn}),Ue.each(qe,function(Dn,Hn){var Fn;if(isNaN(Dn)){Ue.setItemLayout(Hn,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?NaN:hn});return}An!=="area"?Fn=xn===0&&$n?En:Dn*En:Fn=On/Sn,FnFn?(jn=Vn+Nn*Fn/2,Gn=jn):(jn=Vn+In,Gn=zn-In),Ue.setItemLayout(Hn,{angle:Fn,startAngle:jn,endAngle:Gn,clockwise:Tn,cx:Lt,cy:jt,r0:vn,r:An?linearMap$2(Dn,Pn,[vn,hn]):hn}),Vn=zn}),RnIe?Sn:Cn,An=Math.abs(En.label.y-Ie);if(An>=Tn.maxY){var $n=En.label.x-$e-En.len2*Ue,Pn=Fe+En.len,Nn=Math.abs($n)xe.unconstrainedWidth?null:_n:null;Fe.setStyle("width",wn)}var kn=Fe.getBoundingRect();qe.width=kn.width;var Cn=(Fe.style.margin||0)+2.1;qe.height=kn.height+Cn,qe.y-=(qe.height-vn)/2}}}function isPositionCenter(xe){return xe.position==="center"}function pieLabelLayout(xe){var $e=xe.getData(),Ie=[],Fe,Ue,qe=!1,At=(xe.get("minShowLabelAngle")||0)*RADIAN$1,Dt=$e.getLayout("viewRect"),Lt=$e.getLayout("r"),jt=Dt.width,hn=Dt.x,vn=Dt.y,bn=Dt.height;function _n($n){$n.ignore=!0}function wn($n){if(!$n.ignore)return!0;for(var Pn in $n.states)if($n.states[Pn].ignore===!1)return!0;return!1}$e.each(function($n){var Pn=$e.getItemGraphicEl($n),Nn=Pn.shape,Mn=Pn.getTextContent(),In=Pn.getTextGuideLine(),On=$e.getItemModel($n),Rn=On.getModel("label"),Bn=Rn.get("position")||On.get(["emphasis","label","position"]),Vn=Rn.get("distanceToLabelLine"),Ln=Rn.get("alignTo"),Dn=parsePercent(Rn.get("edgeDistance"),jt),Hn=Rn.get("bleedMargin"),Fn=On.getModel("labelLine"),zn=Fn.get("length");zn=parsePercent(zn,jt);var jn=Fn.get("length2");if(jn=parsePercent(jn,jt),Math.abs(Nn.endAngle-Nn.startAngle)0?"right":"left":Wn>0?"left":"right"}var nr=Math.PI,lr=0,ir=Rn.get("rotate");if(isNumber(ir))lr=ir*(nr/180);else if(Bn==="center")lr=0;else if(ir==="radial"||ir===!0){var kr=Wn<0?-Gn+nr:-Gn;lr=kr}else if(ir==="tangential"&&Bn!=="outside"&&Bn!=="outer"){var Cr=Math.atan2(Wn,Xn);Cr<0&&(Cr=nr*2+Cr);var Er=Xn>0;Er&&(Cr=nr+Cr),lr=Cr-nr}if(qe=!!lr,Mn.x=er,Mn.y=rr,Mn.rotation=lr,Mn.setStyle({verticalAlign:"middle"}),Yn){Mn.setStyle({align:qn});var _r=Mn.states.select;_r&&(_r.x+=Mn.x,_r.y+=Mn.y)}else{var dr=Mn.getBoundingRect().clone();dr.applyTransform(Mn.getComputedTransform());var br=(Mn.style.margin||0)+2.1;dr.y-=br/2,dr.height+=br,Ie.push({label:Mn,labelLine:In,position:Bn,len:zn,len2:jn,minTurnAngle:Fn.get("minTurnAngle"),maxSurfaceAngle:Fn.get("maxSurfaceAngle"),surfaceNormal:new Point(Wn,Xn),linePoints:Jn,textAlign:qn,labelDistance:Vn,labelAlignTo:Ln,edgeDistance:Dn,bleedMargin:Hn,rect:dr,unconstrainedWidth:dr.width,labelStyleWidth:Mn.style.width})}Pn.setTextConfig({inside:Yn})}}),!qe&&xe.get("avoidLabelOverlap")&&avoidOverlap(Ie,Fe,Ue,Lt,jt,bn,hn,vn);for(var kn=0;kn0){for(var hn=At.getItemLayout(0),vn=1;isNaN(hn&&hn.startAngle)&&vn=qe.r0}},$e.type="pie",$e}(ChartView);function createSeriesDataSimply(xe,$e,Ie){$e=isArray$1($e)&&{coordDimensions:$e}||extend({encodeDefine:xe.getEncode()},$e);var Fe=xe.getSource(),Ue=prepareSeriesDataSchema(Fe,$e).dimensions,qe=new SeriesData(Ue,xe);return qe.initData(Fe,Ie),qe}var LegendVisualProvider=function(){function xe($e,Ie){this._getDataWithEncodedVisual=$e,this._getRawData=Ie}return xe.prototype.getAllNames=function(){var $e=this._getRawData();return $e.mapArray($e.getName)},xe.prototype.containName=function($e){var Ie=this._getRawData();return Ie.indexOfName($e)>=0},xe.prototype.indexOfName=function($e){var Ie=this._getDataWithEncodedVisual();return Ie.indexOfName($e)},xe.prototype.getItemVisual=function($e,Ie){var Fe=this._getDataWithEncodedVisual();return Fe.getItemVisual($e,Ie)},xe}(),innerData=makeInner(),PieSeriesModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.mergeOption=function(){xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=innerData(Fe),qe=Ue.seats;if(!qe){var At=[];Fe.each(Fe.mapDimension("value"),function(Lt){At.push(Lt)}),qe=Ue.seats=getPercentSeats(At,Fe.hostModel.get("percentPrecision"))}var Dt=xe.prototype.getDataParams.call(this,Ie);return Dt.percent=qe[Ie]||0,Dt.$vars.push("percent"),Dt},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.type="series.pie",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},$e}(SeriesModel);function negativeDataFilter(xe){return{seriesType:xe,reset:function($e,Ie){var Fe=$e.getData();Fe.filterSelf(function(Ue){var qe=Fe.mapDimension("value"),At=Fe.get(qe,Ue);return!(isNumber(At)&&!isNaN(At)&&At<0)})}}}function install$P(xe){xe.registerChartView(PieView),xe.registerSeriesModel(PieSeriesModel),createLegacyDataSelectAction("pie",xe.registerAction),xe.registerLayout(curry$1(pieLayout,"pie")),xe.registerProcessor(dataFilter$1("pie")),xe.registerProcessor(negativeDataFilter("pie"))}var ScatterSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{useEncodeDefaulter:!0})},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?5e3:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?1e4:this.get("progressiveThreshold"))},$e.prototype.brushSelector=function(Ie,Fe,Ue){return Ue.point(Fe.getItemLayout(Ie))},$e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},$e.type="series.scatter",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},$e}(SeriesModel),BOOST_SIZE_THRESHOLD=4,LargeSymbolPathShape=function(){function xe(){}return xe}(),LargeSymbolPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.getDefaultShape=function(){return new LargeSymbolPathShape},$e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=Fe.size,At=this.symbolProxy,Dt=At.shape,Lt=Ie.getContext?Ie.getContext():Ie,jt=Lt&&qe[0]=0;jt--){var hn=jt*2,vn=qe[hn]-Dt/2,bn=qe[hn+1]-Lt/2;if(Ie>=vn&&Fe>=bn&&Ie<=vn+Dt&&Fe<=bn+Lt)return jt}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.points,qe=Fe.size,At=qe[0],Dt=qe[1],Lt=1/0,jt=1/0,hn=-1/0,vn=-1/0,bn=0;bn=0&&(jt.dataIndex=vn+($e.startIndex||0))})},xe.prototype.remove=function(){this._clear()},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),ScatterView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.updateData(qe,{clipShape:this._getClipShape(Ie)}),this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateSymbolDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._symbolDraw.incrementalUpdate(Ie,Fe.getData(),{clipShape:this._getClipShape(Fe)}),this._finished=Ie.end===Fe.getData().count()},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData();if(this.group.dirty(),!this._finished||qe.count()>1e4)return{update:!0};var At=pointsLayout("").reset(Ie,Fe,Ue);At.progress&&At.progress({start:0,end:qe.count(),count:qe.count()},qe),this._symbolDraw.updateLayout(qe)},$e.prototype.eachRendered=function(Ie){this._symbolDraw&&this._symbolDraw.eachRendered(Ie)},$e.prototype._getClipShape=function(Ie){if(Ie.get("clip",!0)){var Fe=Ie.coordinateSystem;return Fe&&Fe.getArea&&Fe.getArea(.1)}},$e.prototype._updateSymbolDraw=function(Ie,Fe){var Ue=this._symbolDraw,qe=Fe.pipelineContext,At=qe.large;return(!Ue||At!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._symbolDraw=At?new LargeSymbolDraw:new SymbolDraw,this._isLargeDraw=At,this.group.removeAll()),this.group.add(Ue.group),Ue},$e.prototype.remove=function(Ie,Fe){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},$e.prototype.dispose=function(){},$e.type="scatter",$e}(ChartView),GridModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.type="grid",$e.dependencies=["xAxis","yAxis"],$e.layoutMode="box",$e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},$e}(ComponentModel),CartesianAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",SINGLE_REFERRING).models[0]},$e.type="cartesian2dAxis",$e}(ComponentModel);mixin(CartesianAxisModel,AxisModelCommonMixin);var defaultOption$1={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},categoryAxis=merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},defaultOption$1),valueAxis=merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},defaultOption$1),timeAxis=merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},valueAxis),logAxis=defaults({logBase:10},valueAxis);const axisDefault={category:categoryAxis,value:valueAxis,time:timeAxis,log:logAxis};var AXIS_TYPES={value:1,category:1,time:1,log:1};function axisModelCreator(xe,$e,Ie,Fe){each$f(AXIS_TYPES,function(Ue,qe){var At=merge(merge({},axisDefault[qe],!0),Fe,!0),Dt=function(Lt){__extends(jt,Lt);function jt(){var hn=Lt!==null&&Lt.apply(this,arguments)||this;return hn.type=$e+"Axis."+qe,hn}return jt.prototype.mergeDefaultAndTheme=function(hn,vn){var bn=fetchLayoutMode(this),_n=bn?getLayoutParams(hn):{},wn=vn.getTheme();merge(hn,wn.get(qe+"Axis")),merge(hn,this.getDefaultOption()),hn.type=getAxisType(hn),bn&&mergeLayoutParam(hn,_n,bn)},jt.prototype.optionUpdated=function(){var hn=this.option;hn.type==="category"&&(this.__ordinalMeta=OrdinalMeta.createByAxisModel(this))},jt.prototype.getCategories=function(hn){var vn=this.option;if(vn.type==="category")return hn?vn.data:this.__ordinalMeta.categories},jt.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},jt.type=$e+"Axis."+qe,jt.defaultOption=At,jt}(Ie);xe.registerComponentModel(Dt)}),xe.registerSubTypeDefaulter($e+"Axis",getAxisType)}function getAxisType(xe){return xe.type||(xe.data?"category":"value")}var Cartesian=function(){function xe($e){this.type="cartesian",this._dimList=[],this._axes={},this.name=$e||""}return xe.prototype.getAxis=function($e){return this._axes[$e]},xe.prototype.getAxes=function(){return map$1(this._dimList,function($e){return this._axes[$e]},this)},xe.prototype.getAxesByScale=function($e){return $e=$e.toLowerCase(),filter(this.getAxes(),function(Ie){return Ie.scale.type===$e})},xe.prototype.addAxis=function($e){var Ie=$e.dim;this._axes[Ie]=$e,this._dimList.push(Ie)},xe}(),cartesian2DDimensions=["x","y"];function canCalculateAffineTransform(xe){return xe.type==="interval"||xe.type==="time"}var Cartesian2D=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="cartesian2d",Ie.dimensions=cartesian2DDimensions,Ie}return $e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var Ie=this.getAxis("x").scale,Fe=this.getAxis("y").scale;if(!(!canCalculateAffineTransform(Ie)||!canCalculateAffineTransform(Fe))){var Ue=Ie.getExtent(),qe=Fe.getExtent(),At=this.dataToPoint([Ue[0],qe[0]]),Dt=this.dataToPoint([Ue[1],qe[1]]),Lt=Ue[1]-Ue[0],jt=qe[1]-qe[0];if(!(!Lt||!jt)){var hn=(Dt[0]-At[0])/Lt,vn=(Dt[1]-At[1])/jt,bn=At[0]-Ue[0]*hn,_n=At[1]-qe[0]*vn,wn=this._transform=[hn,0,0,vn,bn,_n];this._invTransform=invert([],wn)}}},$e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},$e.prototype.containPoint=function(Ie){var Fe=this.getAxis("x"),Ue=this.getAxis("y");return Fe.contain(Fe.toLocalCoord(Ie[0]))&&Ue.contain(Ue.toLocalCoord(Ie[1]))},$e.prototype.containData=function(Ie){return this.getAxis("x").containData(Ie[0])&&this.getAxis("y").containData(Ie[1])},$e.prototype.containZone=function(Ie,Fe){var Ue=this.dataToPoint(Ie),qe=this.dataToPoint(Fe),At=this.getArea(),Dt=new BoundingRect(Ue[0],Ue[1],qe[0]-Ue[0],qe[1]-Ue[1]);return At.intersect(Dt)},$e.prototype.dataToPoint=function(Ie,Fe,Ue){Ue=Ue||[];var qe=Ie[0],At=Ie[1];if(this._transform&&qe!=null&&isFinite(qe)&&At!=null&&isFinite(At))return applyTransform$1(Ue,Ie,this._transform);var Dt=this.getAxis("x"),Lt=this.getAxis("y");return Ue[0]=Dt.toGlobalCoord(Dt.dataToCoord(qe,Fe)),Ue[1]=Lt.toGlobalCoord(Lt.dataToCoord(At,Fe)),Ue},$e.prototype.clampData=function(Ie,Fe){var Ue=this.getAxis("x").scale,qe=this.getAxis("y").scale,At=Ue.getExtent(),Dt=qe.getExtent(),Lt=Ue.parse(Ie[0]),jt=qe.parse(Ie[1]);return Fe=Fe||[],Fe[0]=Math.min(Math.max(Math.min(At[0],At[1]),Lt),Math.max(At[0],At[1])),Fe[1]=Math.min(Math.max(Math.min(Dt[0],Dt[1]),jt),Math.max(Dt[0],Dt[1])),Fe},$e.prototype.pointToData=function(Ie,Fe){var Ue=[];if(this._invTransform)return applyTransform$1(Ue,Ie,this._invTransform);var qe=this.getAxis("x"),At=this.getAxis("y");return Ue[0]=qe.coordToData(qe.toLocalCoord(Ie[0]),Fe),Ue[1]=At.coordToData(At.toLocalCoord(Ie[1]),Fe),Ue},$e.prototype.getOtherAxis=function(Ie){return this.getAxis(Ie.dim==="x"?"y":"x")},$e.prototype.getArea=function(Ie){Ie=Ie||0;var Fe=this.getAxis("x").getGlobalExtent(),Ue=this.getAxis("y").getGlobalExtent(),qe=Math.min(Fe[0],Fe[1])-Ie,At=Math.min(Ue[0],Ue[1])-Ie,Dt=Math.max(Fe[0],Fe[1])-qe+Ie,Lt=Math.max(Ue[0],Ue[1])-At+Ie;return new BoundingRect(qe,At,Dt,Lt)},$e}(Cartesian),Axis2D=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.index=0,Dt.type=qe||"value",Dt.position=At||"bottom",Dt}return $e.prototype.isHorizontal=function(){var Ie=this.position;return Ie==="top"||Ie==="bottom"},$e.prototype.getGlobalExtent=function(Ie){var Fe=this.getExtent();return Fe[0]=this.toGlobalCoord(Fe[0]),Fe[1]=this.toGlobalCoord(Fe[1]),Ie&&Fe[0]>Fe[1]&&Fe.reverse(),Fe},$e.prototype.pointToData=function(Ie,Fe){return this.coordToData(this.toLocalCoord(Ie[this.dim==="x"?0:1]),Fe)},$e.prototype.setCategorySortInfo=function(Ie){if(this.type!=="category")return!1;this.model.option.categorySortInfo=Ie,this.scale.setSortInfo(Ie)},$e}(Axis);function layout$2(xe,$e,Ie){Ie=Ie||{};var Fe=xe.coordinateSystem,Ue=$e.axis,qe={},At=Ue.getAxesOnZeroOf()[0],Dt=Ue.position,Lt=At?"onZero":Dt,jt=Ue.dim,hn=Fe.getRect(),vn=[hn.x,hn.x+hn.width,hn.y,hn.y+hn.height],bn={left:0,right:1,top:0,bottom:1,onZero:2},_n=$e.get("offset")||0,wn=jt==="x"?[vn[2]-_n,vn[3]+_n]:[vn[0]-_n,vn[1]+_n];if(At){var kn=At.toGlobalCoord(At.dataToCoord(0));wn[bn.onZero]=Math.max(Math.min(kn,wn[1]),wn[0])}qe.position=[jt==="y"?wn[bn[Lt]]:vn[0],jt==="x"?wn[bn[Lt]]:vn[3]],qe.rotation=Math.PI/2*(jt==="x"?0:1);var Cn={top:-1,bottom:1,left:-1,right:1};qe.labelDirection=qe.tickDirection=qe.nameDirection=Cn[Dt],qe.labelOffset=At?wn[bn[Dt]]-wn[bn.onZero]:0,$e.get(["axisTick","inside"])&&(qe.tickDirection=-qe.tickDirection),retrieve(Ie.labelInside,$e.get(["axisLabel","inside"]))&&(qe.labelDirection=-qe.labelDirection);var Sn=$e.get(["axisLabel","rotate"]);return qe.labelRotate=Lt==="top"?-Sn:Sn,qe.z2=1,qe}function isCartesian2DSeries(xe){return xe.get("coordinateSystem")==="cartesian2d"}function findAxisModels(xe){var $e={xAxisModel:null,yAxisModel:null};return each$f($e,function(Ie,Fe){var Ue=Fe.replace(/Model$/,""),qe=xe.getReferringComponents(Ue,SINGLE_REFERRING).models[0];$e[Fe]=qe}),$e}var mathLog=Math.log;function alignScaleTicks(xe,$e,Ie){var Fe=IntervalScale.prototype,Ue=Fe.getTicks.call(Ie),qe=Fe.getTicks.call(Ie,!0),At=Ue.length-1,Dt=Fe.getInterval.call(Ie),Lt=getScaleExtent(xe,$e),jt=Lt.extent,hn=Lt.fixMin,vn=Lt.fixMax;if(xe.type==="log"){var bn=mathLog(xe.base);jt=[mathLog(jt[0])/bn,mathLog(jt[1])/bn]}xe.setExtent(jt[0],jt[1]),xe.calcNiceExtent({splitNumber:At,fixMin:hn,fixMax:vn});var _n=Fe.getExtent.call(xe);hn&&(jt[0]=_n[0]),vn&&(jt[1]=_n[1]);var wn=Fe.getInterval.call(xe),kn=jt[0],Cn=jt[1];if(hn&&vn)wn=(Cn-kn)/At;else if(hn)for(Cn=jt[0]+wn*At;Cnjt[0]&&isFinite(kn)&&isFinite(jt[0]);)wn=increaseInterval(wn),kn=jt[1]-wn*At;else{var Sn=xe.getTicks().length-1;Sn>At&&(wn=increaseInterval(wn));var xn=wn*At;Cn=Math.ceil(jt[1]/wn)*wn,kn=round$3(Cn-xn),kn<0&&jt[0]>=0?(kn=0,Cn=round$3(xn)):Cn>0&&jt[1]<=0&&(Cn=0,kn=-round$3(xn))}var En=(Ue[0].value-qe[0].value)/Dt,Tn=(Ue[At].value-qe[At].value)/Dt;Fe.setExtent.call(xe,kn+wn*En,Cn+wn*Tn),Fe.setInterval.call(xe,wn),(En||Tn)&&Fe.setNiceExtent.call(xe,kn+wn,Cn-wn)}var Grid=function(){function xe($e,Ie,Fe){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=cartesian2DDimensions,this._initCartesian($e,Ie,Fe),this.model=$e}return xe.prototype.getRect=function(){return this._rect},xe.prototype.update=function($e,Ie){var Fe=this._axesMap;this._updateScale($e,this.model);function Ue(At){var Dt,Lt=keys(At),jt=Lt.length;if(jt){for(var hn=[],vn=jt-1;vn>=0;vn--){var bn=+Lt[vn],_n=At[bn],wn=_n.model,kn=_n.scale;isIntervalOrLogScale(kn)&&wn.get("alignTicks")&&wn.get("interval")==null?hn.push(_n):(niceScaleExtent(kn,wn),isIntervalOrLogScale(kn)&&(Dt=_n))}hn.length&&(Dt||(Dt=hn.pop(),niceScaleExtent(Dt.scale,Dt.model)),each$f(hn,function(Cn){alignScaleTicks(Cn.scale,Cn.model,Dt.scale)}))}}Ue(Fe.x),Ue(Fe.y);var qe={};each$f(Fe.x,function(At){fixAxisOnZero(Fe,"y",At,qe)}),each$f(Fe.y,function(At){fixAxisOnZero(Fe,"x",At,qe)}),this.resize(this.model,Ie)},xe.prototype.resize=function($e,Ie,Fe){var Ue=$e.getBoxLayoutParams(),qe=!Fe&&$e.get("containLabel"),At=getLayoutRect(Ue,{width:Ie.getWidth(),height:Ie.getHeight()});this._rect=At;var Dt=this._axesList;Lt(),qe&&(each$f(Dt,function(jt){if(!jt.model.get(["axisLabel","inside"])){var hn=estimateLabelUnionRect(jt);if(hn){var vn=jt.isHorizontal()?"height":"width",bn=jt.model.get(["axisLabel","margin"]);At[vn]-=hn[vn]+bn,jt.position==="top"?At.y+=hn.height+bn:jt.position==="left"&&(At.x+=hn.width+bn)}}}),Lt()),each$f(this._coordsList,function(jt){jt.calcAffineTransform()});function Lt(){each$f(Dt,function(jt){var hn=jt.isHorizontal(),vn=hn?[0,At.width]:[0,At.height],bn=jt.inverse?1:0;jt.setExtent(vn[bn],vn[1-bn]),updateAxisTransform(jt,hn?At.x:At.y)})}},xe.prototype.getAxis=function($e,Ie){var Fe=this._axesMap[$e];if(Fe!=null)return Fe[Ie||0]},xe.prototype.getAxes=function(){return this._axesList.slice()},xe.prototype.getCartesian=function($e,Ie){if($e!=null&&Ie!=null){var Fe="x"+$e+"y"+Ie;return this._coordsMap[Fe]}isObject$3($e)&&(Ie=$e.yAxisIndex,$e=$e.xAxisIndex);for(var Ue=0,qe=this._coordsList;Ue0?"top":"bottom",qe="center"):isRadianAroundZero(Ue-PI$3)?(At=Fe>0?"bottom":"top",qe="center"):(At="middle",Ue>0&&Ue0?"right":"left":qe=Fe>0?"left":"right"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}},xe.makeAxisEventDataBase=function($e){var Ie={componentType:$e.mainType,componentIndex:$e.componentIndex};return Ie[$e.mainType+"Index"]=$e.componentIndex,Ie},xe.isLabelSilent=function($e){var Ie=$e.get("tooltip");return $e.get("silent")||!($e.get("triggerEvent")||Ie&&Ie.show)},xe}(),builders={axisLine:function(xe,$e,Ie,Fe){var Ue=$e.get(["axisLine","show"]);if(Ue==="auto"&&xe.handleAutoShown&&(Ue=xe.handleAutoShown("axisLine")),!!Ue){var qe=$e.axis.getExtent(),At=Fe.transform,Dt=[qe[0],0],Lt=[qe[1],0],jt=Dt[0]>Lt[0];At&&(applyTransform$1(Dt,Dt,At),applyTransform$1(Lt,Lt,At));var hn=extend({lineCap:"round"},$e.getModel(["axisLine","lineStyle"]).getLineStyle()),vn=new Line$1({shape:{x1:Dt[0],y1:Dt[1],x2:Lt[0],y2:Lt[1]},style:hn,strokeContainThreshold:xe.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(vn.shape,vn.style.lineWidth),vn.anid="line",Ie.add(vn);var bn=$e.get(["axisLine","symbol"]);if(bn!=null){var _n=$e.get(["axisLine","symbolSize"]);isString(bn)&&(bn=[bn,bn]),(isString(_n)||isNumber(_n))&&(_n=[_n,_n]);var wn=normalizeSymbolOffset($e.get(["axisLine","symbolOffset"])||0,_n),kn=_n[0],Cn=_n[1];each$f([{rotate:xe.rotation+Math.PI/2,offset:wn[0],r:0},{rotate:xe.rotation-Math.PI/2,offset:wn[1],r:Math.sqrt((Dt[0]-Lt[0])*(Dt[0]-Lt[0])+(Dt[1]-Lt[1])*(Dt[1]-Lt[1]))}],function(Sn,xn){if(bn[xn]!=="none"&&bn[xn]!=null){var En=createSymbol$1(bn[xn],-kn/2,-Cn/2,kn,Cn,hn.stroke,!0),Tn=Sn.r+Sn.offset,An=jt?Lt:Dt;En.attr({rotation:Sn.rotate,x:An[0]+Tn*Math.cos(xe.rotation),y:An[1]-Tn*Math.sin(xe.rotation),silent:!0,z2:11}),Ie.add(En)}})}}},axisTickLabel:function(xe,$e,Ie,Fe){var Ue=buildAxisMajorTicks(Ie,Fe,$e,xe),qe=buildAxisLabel(Ie,Fe,$e,xe);if(fixMinMaxLabelShow($e,qe,Ue),buildAxisMinorTicks(Ie,Fe,$e,xe.tickDirection),$e.get(["axisLabel","hideOverlap"])){var At=prepareLayoutList(map$1(qe,function(Dt){return{label:Dt,priority:Dt.z2,defaultAttr:{ignore:Dt.ignore}}}));hideOverlap(At)}},axisName:function(xe,$e,Ie,Fe){var Ue=retrieve(xe.axisName,$e.get("name"));if(Ue){var qe=$e.get("nameLocation"),At=xe.nameDirection,Dt=$e.getModel("nameTextStyle"),Lt=$e.get("nameGap")||0,jt=$e.axis.getExtent(),hn=jt[0]>jt[1]?-1:1,vn=[qe==="start"?jt[0]-hn*Lt:qe==="end"?jt[1]+hn*Lt:(jt[0]+jt[1])/2,isNameLocationCenter(qe)?xe.labelOffset+At*Lt:0],bn,_n=$e.get("nameRotate");_n!=null&&(_n=_n*PI$3/180);var wn;isNameLocationCenter(qe)?bn=AxisBuilder.innerTextLayout(xe.rotation,_n??xe.rotation,At):(bn=endTextLayout(xe.rotation,qe,_n||0,jt),wn=xe.axisNameAvailableWidth,wn!=null&&(wn=Math.abs(wn/Math.sin(bn.rotation)),!isFinite(wn)&&(wn=null)));var kn=Dt.getFont(),Cn=$e.get("nameTruncate",!0)||{},Sn=Cn.ellipsis,xn=retrieve(xe.nameTruncateMaxWidth,Cn.maxWidth,wn),En=new ZRText({x:vn[0],y:vn[1],rotation:bn.rotation,silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(Dt,{text:Ue,font:kn,overflow:"truncate",width:xn,ellipsis:Sn,fill:Dt.getTextColor()||$e.get(["axisLine","lineStyle","color"]),align:Dt.get("align")||bn.textAlign,verticalAlign:Dt.get("verticalAlign")||bn.textVerticalAlign}),z2:1});if(setTooltipConfig({el:En,componentModel:$e,itemName:Ue}),En.__fullText=Ue,En.anid="name",$e.get("triggerEvent")){var Tn=AxisBuilder.makeAxisEventDataBase($e);Tn.targetType="axisName",Tn.name=Ue,getECData(En).eventData=Tn}Fe.add(En),En.updateTransform(),Ie.add(En),En.decomposeTransform()}}};function endTextLayout(xe,$e,Ie,Fe){var Ue=remRadian(Ie-xe),qe,At,Dt=Fe[0]>Fe[1],Lt=$e==="start"&&!Dt||$e!=="start"&&Dt;return isRadianAroundZero(Ue-PI$3/2)?(At=Lt?"bottom":"top",qe="center"):isRadianAroundZero(Ue-PI$3*1.5)?(At=Lt?"top":"bottom",qe="center"):(At="middle",UePI$3/2?qe=Lt?"left":"right":qe=Lt?"right":"left"),{rotation:Ue,textAlign:qe,textVerticalAlign:At}}function fixMinMaxLabelShow(xe,$e,Ie){if(!shouldShowAllLabels(xe.axis)){var Fe=xe.get(["axisLabel","showMinLabel"]),Ue=xe.get(["axisLabel","showMaxLabel"]);$e=$e||[],Ie=Ie||[];var qe=$e[0],At=$e[1],Dt=$e[$e.length-1],Lt=$e[$e.length-2],jt=Ie[0],hn=Ie[1],vn=Ie[Ie.length-1],bn=Ie[Ie.length-2];Fe===!1?(ignoreEl(qe),ignoreEl(jt)):isTwoLabelOverlapped(qe,At)&&(Fe?(ignoreEl(At),ignoreEl(hn)):(ignoreEl(qe),ignoreEl(jt))),Ue===!1?(ignoreEl(Dt),ignoreEl(vn)):isTwoLabelOverlapped(Lt,Dt)&&(Ue?(ignoreEl(Lt),ignoreEl(bn)):(ignoreEl(Dt),ignoreEl(vn)))}}function ignoreEl(xe){xe&&(xe.ignore=!0)}function isTwoLabelOverlapped(xe,$e){var Ie=xe&&xe.getBoundingRect().clone(),Fe=$e&&$e.getBoundingRect().clone();if(!(!Ie||!Fe)){var Ue=identity([]);return rotate(Ue,Ue,-xe.rotation),Ie.applyTransform(mul([],Ue,xe.getLocalTransform())),Fe.applyTransform(mul([],Ue,$e.getLocalTransform())),Ie.intersect(Fe)}}function isNameLocationCenter(xe){return xe==="middle"||xe==="center"}function createTicks(xe,$e,Ie,Fe,Ue){for(var qe=[],At=[],Dt=[],Lt=0;Lt=0||xe===$e}function fixValue(xe){var $e=getAxisInfo$1(xe);if($e){var Ie=$e.axisPointerModel,Fe=$e.axis.scale,Ue=Ie.option,qe=Ie.get("status"),At=Ie.get("value");At!=null&&(At=Fe.parse(At));var Dt=isHandleTrigger(Ie);qe==null&&(Ue.status=Dt?"show":"hide");var Lt=Fe.getExtent().slice();Lt[0]>Lt[1]&&Lt.reverse(),(At==null||At>Lt[1])&&(At=Lt[1]),At0&&!wn.min?wn.min=0:wn.min!=null&&wn.min<0&&!wn.max&&(wn.max=0);var kn=Lt;wn.color!=null&&(kn=defaults({color:wn.color},Lt));var Cn=merge(clone$4(wn),{boundaryGap:Ie,splitNumber:Fe,scale:Ue,axisLine:qe,axisTick:At,axisLabel:Dt,name:wn.text,showName:jt,nameLocation:"end",nameGap:vn,nameTextStyle:kn,triggerEvent:bn},!1);if(isString(hn)){var Sn=Cn.name;Cn.name=hn.replace("{value}",Sn??"")}else isFunction(hn)&&(Cn.name=hn(Cn.name,Cn));var xn=new Model(Cn,null,this.ecModel);return mixin(xn,AxisModelCommonMixin.prototype),xn.mainType="radar",xn.componentIndex=this.componentIndex,xn},this);this._indicatorModels=_n},$e.prototype.getIndicatorModels=function(){return this._indicatorModels},$e.type="radar",$e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:merge({lineStyle:{color:"#bbb"}},valueAxisDefault.axisLine),axisLabel:defaultsShow(valueAxisDefault.axisLabel,!1),axisTick:defaultsShow(valueAxisDefault.axisTick,!1),splitLine:defaultsShow(valueAxisDefault.splitLine,!0),splitArea:defaultsShow(valueAxisDefault.splitArea,!0),indicator:[]},$e}(ComponentModel),axisBuilderAttrs$2=["axisLine","axisTickLabel","axisName"],RadarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll(),this._buildAxes(Ie),this._buildSplitLineAndArea(Ie)},$e.prototype._buildAxes=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes(),qe=map$1(Ue,function(At){var Dt=At.model.get("showName")?At.name:"",Lt=new AxisBuilder(At.model,{axisName:Dt,position:[Fe.cx,Fe.cy],rotation:At.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return Lt});each$f(qe,function(At){each$f(axisBuilderAttrs$2,At.add,At),this.group.add(At.getGroup())},this)},$e.prototype._buildSplitLineAndArea=function(Ie){var Fe=Ie.coordinateSystem,Ue=Fe.getIndicatorAxes();if(!Ue.length)return;var qe=Ie.get("shape"),At=Ie.getModel("splitLine"),Dt=Ie.getModel("splitArea"),Lt=At.getModel("lineStyle"),jt=Dt.getModel("areaStyle"),hn=At.get("show"),vn=Dt.get("show"),bn=Lt.get("color"),_n=jt.get("color"),wn=isArray$1(bn)?bn:[bn],kn=isArray$1(_n)?_n:[_n],Cn=[],Sn=[];function xn(Ln,Dn,Hn){var Fn=Hn%Dn.length;return Ln[Fn]=Ln[Fn]||[],Fn}if(qe==="circle")for(var En=Ue[0].getTicksCoords(),Tn=Fe.cx,An=Fe.cy,$n=0;$n3?1.4:At>1?1.2:1.1,hn=qe>0?jt:1/jt;checkPointerAndTrigger(this,"zoom","zoomOnMouseWheel",Ie,{scale:hn,originX:Dt,originY:Lt,isAvailableBehavior:null})}if(Ue){var vn=Math.abs(qe),bn=(qe>0?1:-1)*(vn>3?.4:vn>1?.15:.05);checkPointerAndTrigger(this,"scrollMove","moveOnMouseWheel",Ie,{scrollDelta:bn,originX:Dt,originY:Lt,isAvailableBehavior:null})}}},$e.prototype._pinchHandler=function(Ie){if(!isTaken(this._zr,"globalPan")){var Fe=Ie.pinchScale>1?1.1:1/1.1;checkPointerAndTrigger(this,"zoom",null,Ie,{scale:Fe,originX:Ie.pinchX,originY:Ie.pinchY,isAvailableBehavior:null})}},$e}(Eventful);function checkPointerAndTrigger(xe,$e,Ie,Fe,Ue){xe.pointerChecker&&xe.pointerChecker(Fe,Ue.originX,Ue.originY)&&(stop(Fe.event),trigger$1(xe,$e,Ie,Fe,Ue))}function trigger$1(xe,$e,Ie,Fe,Ue){Ue.isAvailableBehavior=bind$1(isAvailableBehavior,null,Ie,Fe),xe.trigger($e,Ue)}function isAvailableBehavior(xe,$e,Ie){var Fe=Ie[xe];return!xe||Fe&&(!isString(Fe)||$e.event[Fe+"Key"])}function updateViewOnPan(xe,$e,Ie){var Fe=xe.target;Fe.x+=$e,Fe.y+=Ie,Fe.dirty()}function updateViewOnZoom(xe,$e,Ie,Fe){var Ue=xe.target,qe=xe.zoomLimit,At=xe.zoom=xe.zoom||1;if(At*=$e,qe){var Dt=qe.min||0,Lt=qe.max||1/0;At=Math.max(Math.min(Lt,At),Dt)}var jt=At/xe.zoom;xe.zoom=At,Ue.x-=(Ie-Ue.x)*(jt-1),Ue.y-=(Fe-Ue.y)*(jt-1),Ue.scaleX*=jt,Ue.scaleY*=jt,Ue.dirty()}var IRRELEVANT_EXCLUDES={axisPointer:1,tooltip:1,brush:1};function onIrrelevantElement(xe,$e,Ie){var Fe=$e.getComponentByElement(xe.topTarget),Ue=Fe&&Fe.coordinateSystem;return Fe&&Fe!==Ie&&!IRRELEVANT_EXCLUDES.hasOwnProperty(Fe.mainType)&&Ue&&Ue.model!==Ie}function parseXML(xe){if(isString(xe)){var $e=new DOMParser;xe=$e.parseFromString(xe,"text/xml")}var Ie=xe;for(Ie.nodeType===9&&(Ie=Ie.firstChild);Ie.nodeName.toLowerCase()!=="svg"||Ie.nodeType!==1;)Ie=Ie.nextSibling;return Ie}var nodeParsers,INHERITABLE_STYLE_ATTRIBUTES_MAP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},INHERITABLE_STYLE_ATTRIBUTES_MAP_KEYS=keys(INHERITABLE_STYLE_ATTRIBUTES_MAP),SELF_STYLE_ATTRIBUTES_MAP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},SELF_STYLE_ATTRIBUTES_MAP_KEYS=keys(SELF_STYLE_ATTRIBUTES_MAP),SVGParser=function(){function xe(){this._defs={},this._root=null}return xe.prototype.parse=function($e,Ie){Ie=Ie||{};var Fe=parseXML($e);this._defsUsePending=[];var Ue=new Group$3;this._root=Ue;var qe=[],At=Fe.getAttribute("viewBox")||"",Dt=parseFloat(Fe.getAttribute("width")||Ie.width),Lt=parseFloat(Fe.getAttribute("height")||Ie.height);isNaN(Dt)&&(Dt=null),isNaN(Lt)&&(Lt=null),parseAttributes(Fe,Ue,null,!0,!1);for(var jt=Fe.firstChild;jt;)this._parseNode(jt,Ue,qe,null,!1,!1),jt=jt.nextSibling;applyDefs(this._defs,this._defsUsePending),this._defsUsePending=[];var hn,vn;if(At){var bn=splitNumberSequence(At);bn.length>=4&&(hn={x:parseFloat(bn[0]||0),y:parseFloat(bn[1]||0),width:parseFloat(bn[2]),height:parseFloat(bn[3])})}if(hn&&Dt!=null&&Lt!=null&&(vn=makeViewBoxTransform(hn,{x:0,y:0,width:Dt,height:Lt}),!Ie.ignoreViewBox)){var _n=Ue;Ue=new Group$3,Ue.add(_n),_n.scaleX=_n.scaleY=vn.scale,_n.x=vn.x,_n.y=vn.y}return!Ie.ignoreRootClip&&Dt!=null&&Lt!=null&&Ue.setClipPath(new Rect$2({shape:{x:0,y:0,width:Dt,height:Lt}})),{root:Ue,width:Dt,height:Lt,viewBoxRect:hn,viewBoxTransform:vn,named:qe}},xe.prototype._parseNode=function($e,Ie,Fe,Ue,qe,At){var Dt=$e.nodeName.toLowerCase(),Lt,jt=Ue;if(Dt==="defs"&&(qe=!0),Dt==="text"&&(At=!0),Dt==="defs"||Dt==="switch")Lt=Ie;else{if(!qe){var hn=nodeParsers[Dt];if(hn&&hasOwn(nodeParsers,Dt)){Lt=hn.call(this,$e,Ie);var vn=$e.getAttribute("name");if(vn){var bn={name:vn,namedFrom:null,svgNodeTagLower:Dt,el:Lt};Fe.push(bn),Dt==="g"&&(jt=bn)}else Ue&&Fe.push({name:Ue.name,namedFrom:Ue,svgNodeTagLower:Dt,el:Lt});Ie.add(Lt)}}var _n=paintServerParsers[Dt];if(_n&&hasOwn(paintServerParsers,Dt)){var wn=_n.call(this,$e),kn=$e.getAttribute("id");kn&&(this._defs[kn]=wn)}}if(Lt&&Lt.isGroup)for(var Cn=$e.firstChild;Cn;)Cn.nodeType===1?this._parseNode(Cn,Lt,Fe,jt,qe,At):Cn.nodeType===3&&At&&this._parseText(Cn,Lt),Cn=Cn.nextSibling},xe.prototype._parseText=function($e,Ie){var Fe=new TSpan({style:{text:$e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),applyTextAlignment(Fe,Ie);var Ue=Fe.style,qe=Ue.fontSize;qe&&qe<9&&(Ue.fontSize=9,Fe.scaleX*=qe/9,Fe.scaleY*=qe/9);var At=(Ue.fontSize||Ue.fontFamily)&&[Ue.fontStyle,Ue.fontWeight,(Ue.fontSize||12)+"px",Ue.fontFamily||"sans-serif"].join(" ");Ue.font=At;var Dt=Fe.getBoundingRect();return this._textX+=Dt.width,Ie.add(Fe),Fe},xe.internalField=function(){nodeParsers={g:function($e,Ie){var Fe=new Group$3;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe},rect:function($e,Ie){var Fe=new Rect$2;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x:parseFloat($e.getAttribute("x")||"0"),y:parseFloat($e.getAttribute("y")||"0"),width:parseFloat($e.getAttribute("width")||"0"),height:parseFloat($e.getAttribute("height")||"0")}),Fe.silent=!0,Fe},circle:function($e,Ie){var Fe=new Circle;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),r:parseFloat($e.getAttribute("r")||"0")}),Fe.silent=!0,Fe},line:function($e,Ie){var Fe=new Line$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({x1:parseFloat($e.getAttribute("x1")||"0"),y1:parseFloat($e.getAttribute("y1")||"0"),x2:parseFloat($e.getAttribute("x2")||"0"),y2:parseFloat($e.getAttribute("y2")||"0")}),Fe.silent=!0,Fe},ellipse:function($e,Ie){var Fe=new Ellipse$1;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setShape({cx:parseFloat($e.getAttribute("cx")||"0"),cy:parseFloat($e.getAttribute("cy")||"0"),rx:parseFloat($e.getAttribute("rx")||"0"),ry:parseFloat($e.getAttribute("ry")||"0")}),Fe.silent=!0,Fe},polygon:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polygon({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},polyline:function($e,Ie){var Fe=$e.getAttribute("points"),Ue;Fe&&(Ue=parsePoints(Fe));var qe=new Polyline$1({shape:{points:Ue||[]},silent:!0});return inheritStyle(Ie,qe),parseAttributes($e,qe,this._defsUsePending,!1,!1),qe},image:function($e,Ie){var Fe=new ZRImage;return inheritStyle(Ie,Fe),parseAttributes($e,Fe,this._defsUsePending,!1,!1),Fe.setStyle({image:$e.getAttribute("xlink:href")||$e.getAttribute("href"),x:+$e.getAttribute("x"),y:+$e.getAttribute("y"),width:+$e.getAttribute("width"),height:+$e.getAttribute("height")}),Fe.silent=!0,Fe},text:function($e,Ie){var Fe=$e.getAttribute("x")||"0",Ue=$e.getAttribute("y")||"0",qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0";this._textX=parseFloat(Fe)+parseFloat(qe),this._textY=parseFloat(Ue)+parseFloat(At);var Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),Dt},tspan:function($e,Ie){var Fe=$e.getAttribute("x"),Ue=$e.getAttribute("y");Fe!=null&&(this._textX=parseFloat(Fe)),Ue!=null&&(this._textY=parseFloat(Ue));var qe=$e.getAttribute("dx")||"0",At=$e.getAttribute("dy")||"0",Dt=new Group$3;return inheritStyle(Ie,Dt),parseAttributes($e,Dt,this._defsUsePending,!1,!0),this._textX+=parseFloat(qe),this._textY+=parseFloat(At),Dt},path:function($e,Ie){var Fe=$e.getAttribute("d")||"",Ue=createFromString(Fe);return inheritStyle(Ie,Ue),parseAttributes($e,Ue,this._defsUsePending,!1,!1),Ue.silent=!0,Ue}}}(),xe}(),paintServerParsers={lineargradient:function(xe){var $e=parseInt(xe.getAttribute("x1")||"0",10),Ie=parseInt(xe.getAttribute("y1")||"0",10),Fe=parseInt(xe.getAttribute("x2")||"10",10),Ue=parseInt(xe.getAttribute("y2")||"0",10),qe=new LinearGradient($e,Ie,Fe,Ue);return parsePaintServerUnit(xe,qe),parseGradientColorStops(xe,qe),qe},radialgradient:function(xe){var $e=parseInt(xe.getAttribute("cx")||"0",10),Ie=parseInt(xe.getAttribute("cy")||"0",10),Fe=parseInt(xe.getAttribute("r")||"0",10),Ue=new RadialGradient$1($e,Ie,Fe);return parsePaintServerUnit(xe,Ue),parseGradientColorStops(xe,Ue),Ue}};function parsePaintServerUnit(xe,$e){var Ie=xe.getAttribute("gradientUnits");Ie==="userSpaceOnUse"&&($e.global=!0)}function parseGradientColorStops(xe,$e){for(var Ie=xe.firstChild;Ie;){if(Ie.nodeType===1&&Ie.nodeName.toLocaleLowerCase()==="stop"){var Fe=Ie.getAttribute("offset"),Ue=void 0;Fe&&Fe.indexOf("%")>0?Ue=parseInt(Fe,10)/100:Fe?Ue=parseFloat(Fe):Ue=0;var qe={};parseInlineStyle(Ie,qe,qe);var At=qe.stopColor||Ie.getAttribute("stop-color")||"#000000";$e.colorStops.push({offset:Ue,color:At})}Ie=Ie.nextSibling}}function inheritStyle(xe,$e){xe&&xe.__inheritedStyle&&($e.__inheritedStyle||($e.__inheritedStyle={}),defaults($e.__inheritedStyle,xe.__inheritedStyle))}function parsePoints(xe){for(var $e=splitNumberSequence(xe),Ie=[],Fe=0;Fe<$e.length;Fe+=2){var Ue=parseFloat($e[Fe]),qe=parseFloat($e[Fe+1]);Ie.push([Ue,qe])}return Ie}function parseAttributes(xe,$e,Ie,Fe,Ue){var qe=$e,At=qe.__inheritedStyle=qe.__inheritedStyle||{},Dt={};xe.nodeType===1&&(parseTransformAttribute(xe,$e),parseInlineStyle(xe,At,Dt),Fe||parseAttributeStyle(xe,At,Dt)),qe.style=qe.style||{},At.fill!=null&&(qe.style.fill=getFillStrokeStyle(qe,"fill",At.fill,Ie)),At.stroke!=null&&(qe.style.stroke=getFillStrokeStyle(qe,"stroke",At.stroke,Ie)),each$f(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=parseFloat(At[Lt]))}),each$f(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(Lt){At[Lt]!=null&&(qe.style[Lt]=At[Lt])}),Ue&&(qe.__selfStyle=Dt),At.lineDash&&(qe.style.lineDash=map$1(splitNumberSequence(At.lineDash),function(Lt){return parseFloat(Lt)})),(At.visibility==="hidden"||At.visibility==="collapse")&&(qe.invisible=!0),At.display==="none"&&(qe.ignore=!0)}function applyTextAlignment(xe,$e){var Ie=$e.__selfStyle;if(Ie){var Fe=Ie.textBaseline,Ue=Fe;!Fe||Fe==="auto"||Fe==="baseline"?Ue="alphabetic":Fe==="before-edge"||Fe==="text-before-edge"?Ue="top":Fe==="after-edge"||Fe==="text-after-edge"?Ue="bottom":(Fe==="central"||Fe==="mathematical")&&(Ue="middle"),xe.style.textBaseline=Ue}var qe=$e.__inheritedStyle;if(qe){var At=qe.textAlign,Dt=At;At&&(At==="middle"&&(Dt="center"),xe.style.textAlign=Dt)}}var urlRegex=/^url\(\s*#(.*?)\)/;function getFillStrokeStyle(xe,$e,Ie,Fe){var Ue=Ie&&Ie.match(urlRegex);if(Ue){var qe=trim$1(Ue[1]);Fe.push([xe,$e,qe]);return}return Ie==="none"&&(Ie=null),Ie}function applyDefs(xe,$e){for(var Ie=0;Ie<$e.length;Ie++){var Fe=$e[Ie];Fe[0].style[Fe[1]]=xe[Fe[2]]}}var numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function splitNumberSequence(xe){return xe.match(numberReg)||[]}var transformRegex=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,DEGREE_TO_ANGLE=Math.PI/180;function parseTransformAttribute(xe,$e){var Ie=xe.getAttribute("transform");if(Ie){Ie=Ie.replace(/,/g," ");var Fe=[],Ue=null;Ie.replace(transformRegex,function(vn,bn,_n){return Fe.push(bn,_n),""});for(var qe=Fe.length-1;qe>0;qe-=2){var At=Fe[qe],Dt=Fe[qe-1],Lt=splitNumberSequence(At);switch(Ue=Ue||create$1(),Dt){case"translate":translate(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||"0")]);break;case"scale":scale$1(Ue,Ue,[parseFloat(Lt[0]),parseFloat(Lt[1]||Lt[0])]);break;case"rotate":rotate(Ue,Ue,-parseFloat(Lt[0])*DEGREE_TO_ANGLE,[parseFloat(Lt[1]||"0"),parseFloat(Lt[2]||"0")]);break;case"skewX":var jt=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,0,jt,1,0,0],Ue);break;case"skewY":var hn=Math.tan(parseFloat(Lt[0])*DEGREE_TO_ANGLE);mul(Ue,[1,hn,0,1,0,0],Ue);break;case"matrix":Ue[0]=parseFloat(Lt[0]),Ue[1]=parseFloat(Lt[1]),Ue[2]=parseFloat(Lt[2]),Ue[3]=parseFloat(Lt[3]),Ue[4]=parseFloat(Lt[4]),Ue[5]=parseFloat(Lt[5]);break}}$e.setLocalTransform(Ue)}}var styleRegex=/([^\s:;]+)\s*:\s*([^:;]+)/g;function parseInlineStyle(xe,$e,Ie){var Fe=xe.getAttribute("style");if(Fe){styleRegex.lastIndex=0;for(var Ue;(Ue=styleRegex.exec(Fe))!=null;){var qe=Ue[1],At=hasOwn(INHERITABLE_STYLE_ATTRIBUTES_MAP,qe)?INHERITABLE_STYLE_ATTRIBUTES_MAP[qe]:null;At&&($e[At]=Ue[2]);var Dt=hasOwn(SELF_STYLE_ATTRIBUTES_MAP,qe)?SELF_STYLE_ATTRIBUTES_MAP[qe]:null;Dt&&(Ie[Dt]=Ue[2])}}}function parseAttributeStyle(xe,$e,Ie){for(var Fe=0;Fe0,Cn={api:Fe,geo:Lt,mapOrGeoModel:$e,data:Dt,isVisualEncodedByVisualMap:kn,isGeo:At,transformInfoRaw:bn};Lt.resourceType==="geoJSON"?this._buildGeoJSON(Cn):Lt.resourceType==="geoSVG"&&this._buildSVG(Cn),this._updateController($e,Ie,Fe),this._updateMapSelectHandler($e,jt,Fe,Ue)},xe.prototype._buildGeoJSON=function($e){var Ie=this._regionsGroupByName=createHashMap(),Fe=createHashMap(),Ue=this._regionsGroup,qe=$e.transformInfoRaw,At=$e.mapOrGeoModel,Dt=$e.data,Lt=$e.geo.projection,jt=Lt&&Lt.stream;function hn(_n,wn){return wn&&(_n=wn(_n)),_n&&[_n[0]*qe.scaleX+qe.x,_n[1]*qe.scaleY+qe.y]}function vn(_n){for(var wn=[],kn=!jt&&Lt&&Lt.project,Cn=0;Cn<_n.length;++Cn){var Sn=hn(_n[Cn],kn);Sn&&wn.push(Sn)}return wn}function bn(_n){return{shape:{points:vn(_n)}}}Ue.removeAll(),each$f($e.geo.regions,function(_n){var wn=_n.name,kn=Ie.get(wn),Cn=Fe.get(wn)||{},Sn=Cn.dataIdx,xn=Cn.regionModel;kn||(kn=Ie.set(wn,new Group$3),Ue.add(kn),Sn=Dt?Dt.indexOfName(wn):null,xn=$e.isGeo?At.getRegionModel(wn):Dt?Dt.getItemModel(Sn):null,Fe.set(wn,{dataIdx:Sn,regionModel:xn}));var En=[],Tn=[];each$f(_n.geometries,function(Pn){if(Pn.type==="polygon"){var Nn=[Pn.exterior].concat(Pn.interiors||[]);jt&&(Nn=projectPolys(Nn,jt)),each$f(Nn,function(In){En.push(new Polygon(bn(In)))})}else{var Mn=Pn.points;jt&&(Mn=projectPolys(Mn,jt,!0)),each$f(Mn,function(In){Tn.push(new Polyline$1(bn(In)))})}});var An=hn(_n.getCenter(),Lt&&Lt.project);function $n(Pn,Nn){if(Pn.length){var Mn=new CompoundPath$1({culling:!0,segmentIgnoreThreshold:1,shape:{paths:Pn}});kn.add(Mn),applyOptionStyleForRegion($e,Mn,Sn,xn),resetLabelForRegion($e,Mn,wn,xn,At,Sn,An),Nn&&(fixLineStyle(Mn),each$f(Mn.states,fixLineStyle))}}$n(En),$n(Tn,!0)}),Ie.each(function(_n,wn){var kn=Fe.get(wn),Cn=kn.dataIdx,Sn=kn.regionModel;resetEventTriggerForRegion($e,_n,wn,Sn,At,Cn),resetTooltipForRegion($e,_n,wn,Sn,At),resetStateTriggerForRegion($e,_n,wn,Sn,At)},this)},xe.prototype._buildSVG=function($e){var Ie=$e.geo.map,Fe=$e.transformInfoRaw;this._svgGroup.x=Fe.x,this._svgGroup.y=Fe.y,this._svgGroup.scaleX=Fe.scaleX,this._svgGroup.scaleY=Fe.scaleY,this._svgResourceChanged(Ie)&&(this._freeSVG(),this._useSVG(Ie));var Ue=this._svgDispatcherMap=createHashMap(),qe=!1;each$f(this._svgGraphicRecord.named,function(At){var Dt=At.name,Lt=$e.mapOrGeoModel,jt=$e.data,hn=At.svgNodeTagLower,vn=At.el,bn=jt?jt.indexOfName(Dt):null,_n=Lt.getRegionModel(Dt);if(OPTION_STYLE_ENABLED_TAG_MAP.get(hn)!=null&&vn instanceof Displayable&&applyOptionStyleForRegion($e,vn,bn,_n),vn instanceof Displayable&&(vn.culling=!0),vn.z2EmphasisLift=0,!At.namedFrom&&(LABEL_HOST_MAP.get(hn)!=null&&resetLabelForRegion($e,vn,Dt,_n,Lt,bn,null),resetEventTriggerForRegion($e,vn,Dt,_n,Lt,bn),resetTooltipForRegion($e,vn,Dt,_n,Lt),STATE_TRIGGER_TAG_MAP.get(hn)!=null)){var wn=resetStateTriggerForRegion($e,vn,Dt,_n,Lt);wn==="self"&&(qe=!0);var kn=Ue.get(Dt)||Ue.set(Dt,[]);kn.push(vn)}},this),this._enableBlurEntireSVG(qe,$e)},xe.prototype._enableBlurEntireSVG=function($e,Ie){if($e&&Ie.isGeo){var Fe=Ie.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),Ue=Fe.opacity;this._svgGraphicRecord.root.traverse(function(qe){if(!qe.isGroup){setDefaultStateProxy(qe);var At=qe.ensureState("blur").style||{};At.opacity==null&&Ue!=null&&(At.opacity=Ue),qe.ensureState("emphasis")}})}},xe.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},xe.prototype.findHighDownDispatchers=function($e,Ie){if($e==null)return[];var Fe=Ie.coordinateSystem;if(Fe.resourceType==="geoJSON"){var Ue=this._regionsGroupByName;if(Ue){var qe=Ue.get($e);return qe?[qe]:[]}}else if(Fe.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get($e)||[]},xe.prototype._svgResourceChanged=function($e){return this._svgMapName!==$e},xe.prototype._useSVG=function($e){var Ie=geoSourceManager.getGeoResource($e);if(Ie&&Ie.type==="geoSVG"){var Fe=Ie.useGraphic(this.uid);this._svgGroup.add(Fe.root),this._svgGraphicRecord=Fe,this._svgMapName=$e}},xe.prototype._freeSVG=function(){var $e=this._svgMapName;if($e!=null){var Ie=geoSourceManager.getGeoResource($e);Ie&&Ie.type==="geoSVG"&&Ie.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},xe.prototype._updateController=function($e,Ie,Fe){var Ue=$e.coordinateSystem,qe=this._controller,At=this._controllerHost;At.zoomLimit=$e.get("scaleLimit"),At.zoom=Ue.getZoom(),qe.enable($e.get("roam")||!1);var Dt=$e.mainType;function Lt(){var jt={type:"geoRoam",componentType:Dt};return jt[Dt+"Id"]=$e.id,jt}qe.off("pan").on("pan",function(jt){this._mouseDownFlag=!1,updateViewOnPan(At,jt.dx,jt.dy),Fe.dispatchAction(extend(Lt(),{dx:jt.dx,dy:jt.dy,animation:{duration:0}}))},this),qe.off("zoom").on("zoom",function(jt){this._mouseDownFlag=!1,updateViewOnZoom(At,jt.scale,jt.originX,jt.originY),Fe.dispatchAction(extend(Lt(),{zoom:jt.scale,originX:jt.originX,originY:jt.originY,animation:{duration:0}}))},this),qe.setPointerChecker(function(jt,hn,vn){return Ue.containPoint([hn,vn])&&!onIrrelevantElement(jt,Fe,$e)})},xe.prototype.resetForLabelLayout=function(){this.group.traverse(function($e){var Ie=$e.getTextContent();Ie&&(Ie.ignore=mapLabelRaw(Ie).ignore)})},xe.prototype._updateMapSelectHandler=function($e,Ie,Fe,Ue){var qe=this;Ie.off("mousedown"),Ie.off("click"),$e.get("selectedMode")&&(Ie.on("mousedown",function(){qe._mouseDownFlag=!0}),Ie.on("click",function(At){qe._mouseDownFlag&&(qe._mouseDownFlag=!1)}))},xe}();function applyOptionStyleForRegion(xe,$e,Ie,Fe){var Ue=Fe.getModel("itemStyle"),qe=Fe.getModel(["emphasis","itemStyle"]),At=Fe.getModel(["blur","itemStyle"]),Dt=Fe.getModel(["select","itemStyle"]),Lt=getFixedItemStyle(Ue),jt=getFixedItemStyle(qe),hn=getFixedItemStyle(Dt),vn=getFixedItemStyle(At),bn=xe.data;if(bn){var _n=bn.getItemVisual(Ie,"style"),wn=bn.getItemVisual(Ie,"decal");xe.isVisualEncodedByVisualMap&&_n.fill&&(Lt.fill=_n.fill),wn&&(Lt.decal=createOrUpdatePatternFromDecal(wn,xe.api))}$e.setStyle(Lt),$e.style.strokeNoScale=!0,$e.ensureState("emphasis").style=jt,$e.ensureState("select").style=hn,$e.ensureState("blur").style=vn,setDefaultStateProxy($e)}function resetLabelForRegion(xe,$e,Ie,Fe,Ue,qe,At){var Dt=xe.data,Lt=xe.isGeo,jt=Dt&&isNaN(Dt.get(Dt.mapDimension("value"),qe)),hn=Dt&&Dt.getItemLayout(qe);if(Lt||jt||hn&&hn.showLabel){var vn=Lt?Ie:qe,bn=void 0;(!Dt||qe>=0)&&(bn=Ue);var _n=At?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle($e,getLabelStatesModels(Fe),{labelFetcher:bn,labelDataIndex:vn,defaultText:Ie},_n);var wn=$e.getTextContent();if(wn&&(mapLabelRaw(wn).ignore=wn.ignore,$e.textConfig&&At)){var kn=$e.getBoundingRect().clone();$e.textConfig.layoutRect=kn,$e.textConfig.position=[(At[0]-kn.x)/kn.width*100+"%",(At[1]-kn.y)/kn.height*100+"%"]}$e.disableLabelAnimation=!0}else $e.removeTextContent(),$e.removeTextConfig(),$e.disableLabelAnimation=null}function resetEventTriggerForRegion(xe,$e,Ie,Fe,Ue,qe){xe.data?xe.data.setItemGraphicEl(qe,$e):getECData($e).eventData={componentType:"geo",componentIndex:Ue.componentIndex,geoIndex:Ue.componentIndex,name:Ie,region:Fe&&Fe.option||{}}}function resetTooltipForRegion(xe,$e,Ie,Fe,Ue){xe.data||setTooltipConfig({el:$e,componentModel:Ue,itemName:Ie,itemTooltipOption:Fe.get("tooltip")})}function resetStateTriggerForRegion(xe,$e,Ie,Fe,Ue){$e.highDownSilentOnTouch=!!Ue.get("selectedMode");var qe=Fe.getModel("emphasis"),At=qe.get("focus");return toggleHoverEmphasis($e,At,qe.get("blurScope"),qe.get("disabled")),xe.isGeo&&enableComponentHighDownFeatures($e,Ue,Ie),At}function projectPolys(xe,$e,Ie){var Fe=[],Ue;function qe(){Ue=[]}function At(){Ue.length&&(Fe.push(Ue),Ue=[])}var Dt=$e({polygonStart:qe,polygonEnd:At,lineStart:qe,lineEnd:At,point:function(Lt,jt){isFinite(Lt)&&isFinite(jt)&&Ue.push([Lt,jt])},sphere:function(){}});return!Ie&&Dt.polygonStart(),each$f(xe,function(Lt){Dt.lineStart();for(var jt=0;jt-1&&(Ue.style.stroke=Ue.style.fill,Ue.style.fill="#fff",Ue.style.lineWidth=2),Ue},$e.type="series.map",$e.dependencies=["geo"],$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},$e}(SeriesModel);function dataStatistics(xe,$e){var Ie={};return each$f(xe,function(Fe){Fe.each(Fe.mapDimension("value"),function(Ue,qe){var At="ec-"+Fe.getName(qe);Ie[At]=Ie[At]||[],isNaN(Ue)||Ie[At].push(Ue)})}),xe[0].map(xe[0].mapDimension("value"),function(Fe,Ue){for(var qe="ec-"+xe[0].getName(Ue),At=0,Dt=1/0,Lt=-1/0,jt=Ie[qe].length,hn=0;hn1?(Tn.width=En,Tn.height=En/Cn):(Tn.height=En,Tn.width=En*Cn),Tn.y=xn[1]-Tn.height/2,Tn.x=xn[0]-Tn.width/2;else{var An=xe.getBoxLayoutParams();An.aspect=Cn,Tn=getLayoutRect(An,{width:wn,height:kn})}this.setViewRect(Tn.x,Tn.y,Tn.width,Tn.height),this.setCenter(xe.get("center"),$e),this.setZoom(xe.get("zoom"))}function setGeoCoords(xe,$e){each$f($e.get("geoCoord"),function(Ie,Fe){xe.addGeoCoord(Fe,Ie)})}var GeoCreator=function(){function xe(){this.dimensions=geo2DDimensions}return xe.prototype.create=function($e,Ie){var Fe=[];function Ue(At){return{nameProperty:At.get("nameProperty"),aspectScale:At.get("aspectScale"),projection:At.get("projection")}}$e.eachComponent("geo",function(At,Dt){var Lt=At.get("map"),jt=new Geo$1(Lt+Dt,Lt,extend({nameMap:At.get("nameMap")},Ue(At)));jt.zoomLimit=At.get("scaleLimit"),Fe.push(jt),At.coordinateSystem=jt,jt.model=At,jt.resize=resizeGeo,jt.resize(At,Ie)}),$e.eachSeries(function(At){var Dt=At.get("coordinateSystem");if(Dt==="geo"){var Lt=At.get("geoIndex")||0;At.coordinateSystem=Fe[Lt]}});var qe={};return $e.eachSeriesByType("map",function(At){if(!At.getHostGeoModel()){var Dt=At.getMapType();qe[Dt]=qe[Dt]||[],qe[Dt].push(At)}}),each$f(qe,function(At,Dt){var Lt=map$1(At,function(hn){return hn.get("nameMap")}),jt=new Geo$1(Dt,Dt,extend({nameMap:mergeAll(Lt)},Ue(At[0])));jt.zoomLimit=retrieve.apply(null,map$1(At,function(hn){return hn.get("scaleLimit")})),Fe.push(jt),jt.resize=resizeGeo,jt.resize(At[0],Ie),each$f(At,function(hn){hn.coordinateSystem=jt,setGeoCoords(jt,hn)})}),Fe},xe.prototype.getFilledRegions=function($e,Ie,Fe,Ue){for(var qe=($e||[]).slice(),At=createHashMap(),Dt=0;Dt=0;At--){var Dt=Ue[At];Dt.hierNode={defaultAncestor:null,ancestor:Dt,prelim:0,modifier:0,change:0,shift:0,i:At,thread:null},Ie.push(Dt)}}function firstWalk(xe,$e){var Ie=xe.isExpand?xe.children:[],Fe=xe.parentNode.children,Ue=xe.hierNode.i?Fe[xe.hierNode.i-1]:null;if(Ie.length){executeShifts(xe);var qe=(Ie[0].hierNode.prelim+Ie[Ie.length-1].hierNode.prelim)/2;Ue?(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue),xe.hierNode.modifier=xe.hierNode.prelim-qe):xe.hierNode.prelim=qe}else Ue&&(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue));xe.parentNode.hierNode.defaultAncestor=apportion(xe,Ue,xe.parentNode.hierNode.defaultAncestor||Fe[0],$e)}function secondWalk(xe){var $e=xe.hierNode.prelim+xe.parentNode.hierNode.modifier;xe.setLayout({x:$e},!0),xe.hierNode.modifier+=xe.parentNode.hierNode.modifier}function separation(xe){return arguments.length?xe:defaultSeparation}function radialCoordinate(xe,$e){return xe-=Math.PI/2,{x:$e*Math.cos(xe),y:$e*Math.sin(xe)}}function getViewRect$4(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function executeShifts(xe){for(var $e=xe.children,Ie=$e.length,Fe=0,Ue=0;--Ie>=0;){var qe=$e[Ie];qe.hierNode.prelim+=Fe,qe.hierNode.modifier+=Fe,Ue+=qe.hierNode.change,Fe+=qe.hierNode.shift+Ue}}function apportion(xe,$e,Ie,Fe){if($e){for(var Ue=xe,qe=xe,At=qe.parentNode.children[0],Dt=$e,Lt=Ue.hierNode.modifier,jt=qe.hierNode.modifier,hn=At.hierNode.modifier,vn=Dt.hierNode.modifier;Dt=nextRight(Dt),qe=nextLeft(qe),Dt&&qe;){Ue=nextRight(Ue),At=nextLeft(At),Ue.hierNode.ancestor=xe;var bn=Dt.hierNode.prelim+vn-qe.hierNode.prelim-jt+Fe(Dt,qe);bn>0&&(moveSubtree(nextAncestor(Dt,xe,Ie),xe,bn),jt+=bn,Lt+=bn),vn+=Dt.hierNode.modifier,jt+=qe.hierNode.modifier,Lt+=Ue.hierNode.modifier,hn+=At.hierNode.modifier}Dt&&!nextRight(Ue)&&(Ue.hierNode.thread=Dt,Ue.hierNode.modifier+=vn-Lt),qe&&!nextLeft(At)&&(At.hierNode.thread=qe,At.hierNode.modifier+=jt-hn,Ie=xe)}return Ie}function nextRight(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[$e.length-1]:xe.hierNode.thread}function nextLeft(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[0]:xe.hierNode.thread}function nextAncestor(xe,$e,Ie){return xe.hierNode.ancestor.parentNode===$e.parentNode?xe.hierNode.ancestor:Ie}function moveSubtree(xe,$e,Ie){var Fe=Ie/($e.hierNode.i-xe.hierNode.i);$e.hierNode.change-=Fe,$e.hierNode.shift+=Ie,$e.hierNode.modifier+=Ie,$e.hierNode.prelim+=Ie,xe.hierNode.change+=Fe}function defaultSeparation(xe,$e){return xe.parentNode===$e.parentNode?1:2}var TreeEdgeShape=function(){function xe(){this.parentPoint=[],this.childPoints=[]}return xe}(),TreePath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new TreeEdgeShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.childPoints,qe=Ue.length,At=Fe.parentPoint,Dt=Ue[0],Lt=Ue[qe-1];if(qe===1){Ie.moveTo(At[0],At[1]),Ie.lineTo(Dt[0],Dt[1]);return}var jt=Fe.orient,hn=jt==="TB"||jt==="BT"?0:1,vn=1-hn,bn=parsePercent(Fe.forkPosition,1),_n=[];_n[hn]=At[hn],_n[vn]=At[vn]+(Lt[vn]-At[vn])*bn,Ie.moveTo(At[0],At[1]),Ie.lineTo(_n[0],_n[1]),Ie.moveTo(Dt[0],Dt[1]),_n[hn]=Dt[hn],Ie.lineTo(_n[0],_n[1]),_n[hn]=Lt[hn],Ie.lineTo(_n[0],_n[1]),Ie.lineTo(Lt[0],Lt[1]);for(var wn=1;wnxn.x,An||(Tn=Tn-Math.PI));var Pn=An?"left":"right",Nn=Dt.getModel("label"),Mn=Nn.get("rotate"),In=Mn*(Math.PI/180),On=Cn.getTextContent();On&&(Cn.setTextConfig({position:Nn.get("position")||Pn,rotation:Mn==null?-Tn:In,origin:"center"}),On.setStyle("verticalAlign","middle"))}var Rn=Dt.get(["emphasis","focus"]),Bn=Rn==="relative"?concatArray(At.getAncestorsIndices(),At.getDescendantIndices()):Rn==="ancestor"?At.getAncestorsIndices():Rn==="descendant"?At.getDescendantIndices():null;Bn&&(getECData(Ie).focus=Bn),drawEdge(Ue,At,hn,Ie,wn,_n,kn,Fe),Ie.__edge&&(Ie.onHoverStateChange=function(Vn){if(Vn!=="blur"){var Ln=At.parentNode&&xe.getItemGraphicEl(At.parentNode.dataIndex);Ln&&Ln.hoverState===HOVER_STATE_BLUR||setStatesFlag(Ie.__edge,Vn)}})}function drawEdge(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getModel(),jt=xe.get("edgeShape"),hn=xe.get("layout"),vn=xe.getOrient(),bn=xe.get(["lineStyle","curveness"]),_n=xe.get("edgeForkPosition"),wn=Lt.getModel("lineStyle").getLineStyle(),kn=Fe.__edge;if(jt==="curve")$e.parentNode&&$e.parentNode!==Ie&&(kn||(kn=Fe.__edge=new BezierCurve({shape:getEdgeShape(hn,vn,bn,Ue,Ue)})),updateProps$1(kn,{shape:getEdgeShape(hn,vn,bn,qe,At)},xe));else if(jt==="polyline"&&hn==="orthogonal"&&$e!==Ie&&$e.children&&$e.children.length!==0&&$e.isExpand===!0){for(var Cn=$e.children,Sn=[],xn=0;xnIe&&(Ie=Ue.height)}this.height=Ie+1},xe.prototype.getNodeById=function($e){if(this.getId()===$e)return this;for(var Ie=0,Fe=this.children,Ue=Fe.length;Ie=0&&this.hostTree.data.setItemLayout(this.dataIndex,$e,Ie)},xe.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},xe.prototype.getModel=function($e){if(!(this.dataIndex<0)){var Ie=this.hostTree,Fe=Ie.data.getItemModel(this.dataIndex);return Fe.getModel($e)}},xe.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},xe.prototype.setVisual=function($e,Ie){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,$e,Ie)},xe.prototype.getVisual=function($e){return this.hostTree.data.getItemVisual(this.dataIndex,$e)},xe.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},xe.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},xe.prototype.getChildIndex=function(){if(this.parentNode){for(var $e=this.parentNode.children,Ie=0;Ie<$e.length;++Ie)if($e[Ie]===this)return Ie;return-1}return-1},xe.prototype.isAncestorOf=function($e){for(var Ie=$e.parentNode;Ie;){if(Ie===this)return!0;Ie=Ie.parentNode}return!1},xe.prototype.isDescendantOf=function($e){return $e!==this&&$e.isAncestorOf(this)},xe}(),Tree=function(){function xe($e){this.type="tree",this._nodes=[],this.hostModel=$e}return xe.prototype.eachNode=function($e,Ie,Fe){this.root.eachNode($e,Ie,Fe)},xe.prototype.getNodeByDataIndex=function($e){var Ie=this.data.getRawIndex($e);return this._nodes[Ie]},xe.prototype.getNodeById=function($e){return this.root.getNodeById($e)},xe.prototype.update=function(){for(var $e=this.data,Ie=this._nodes,Fe=0,Ue=Ie.length;Fe=0){var Fe=Ie.getData().tree.root,Ue=xe.targetNode;if(isString(Ue)&&(Ue=Fe.getNodeById(Ue)),Ue&&Fe.contains(Ue))return{node:Ue};var qe=xe.targetNodeId;if(qe!=null&&(Ue=Fe.getNodeById(qe)))return{node:Ue}}}function getPathToRoot(xe){for(var $e=[];xe;)xe=xe.parentNode,xe&&$e.push(xe);return $e.reverse()}function aboveViewRoot(xe,$e){var Ie=getPathToRoot(xe);return indexOf(Ie,$e)>=0}function wrapTreePathInfo(xe,$e){for(var Ie=[];xe;){var Fe=xe.dataIndex;Ie.push({name:xe.name,dataIndex:Fe,value:$e.getRawValue(Fe)}),xe=xe.parentNode}return Ie.reverse(),Ie}var TreeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.hasSymbolVisual=!0,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie){var Fe={name:Ie.name,children:Ie.data},Ue=Ie.leaves||{},qe=new Model(Ue,this,this.ecModel),At=Tree.createTree(Fe,this,Dt);function Dt(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=At.getNodeByDataIndex(_n);return wn&&wn.children.length&&wn.isExpand||(bn.parentModel=qe),bn})}var Lt=0;At.eachNode("preorder",function(vn){vn.depth>Lt&&(Lt=vn.depth)});var jt=Ie.expandAndCollapse,hn=jt&&Ie.initialTreeDepth>=0?Ie.initialTreeDepth:Lt;return At.root.eachNode("preorder",function(vn){var bn=vn.hostTree.data.getRawDataItem(vn.dataIndex);vn.isExpand=bn&&bn.collapsed!=null?!bn.collapsed:vn.depth<=hn}),At.data},$e.prototype.getOrient=function(){var Ie=this.get("orient");return Ie==="horizontal"?Ie="LR":Ie==="vertical"&&(Ie="TB"),Ie},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.formatTooltip=function(Ie,Fe,Ue){for(var qe=this.getData().tree,At=qe.root.children[0],Dt=qe.getNodeByDataIndex(Ie),Lt=Dt.getValue(),jt=Dt.name;Dt&&Dt!==At;)jt=Dt.parentNode.name+"."+jt,Dt=Dt.parentNode;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:isNaN(Lt)||Lt==null})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.collapsed=!Ue.isExpand,Fe},$e.type="series.tree",$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},$e}(SeriesModel);function eachAfter(xe,$e,Ie){for(var Fe=[xe],Ue=[],qe;qe=Fe.pop();)if(Ue.push(qe),qe.isExpand){var At=qe.children;if(At.length)for(var Dt=0;Dt=0;qe--)Ie.push(Ue[qe])}}function treeLayout(xe,$e){xe.eachSeriesByType("tree",function(Ie){commonLayout(Ie,$e)})}function commonLayout(xe,$e){var Ie=getViewRect$4(xe,$e);xe.layoutInfo=Ie;var Fe=xe.get("layout"),Ue=0,qe=0,At=null;Fe==="radial"?(Ue=2*Math.PI,qe=Math.min(Ie.height,Ie.width)/2,At=separation(function(En,Tn){return(En.parentNode===Tn.parentNode?1:2)/En.depth})):(Ue=Ie.width,qe=Ie.height,At=separation());var Dt=xe.getData().tree.root,Lt=Dt.children[0];if(Lt){init(Dt),eachAfter(Lt,firstWalk,At),Dt.hierNode.modifier=-Lt.hierNode.prelim,eachBefore(Lt,secondWalk);var jt=Lt,hn=Lt,vn=Lt;eachBefore(Lt,function(En){var Tn=En.getLayout().x;Tnhn.getLayout().x&&(hn=En),En.depth>vn.depth&&(vn=En)});var bn=jt===hn?1:At(jt,hn)/2,_n=bn-jt.getLayout().x,wn=0,kn=0,Cn=0,Sn=0;if(Fe==="radial")wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=(En.depth-1)*kn;var Tn=radialCoordinate(Cn,Sn);En.setLayout({x:Tn.x,y:Tn.y,rawX:Cn,rawY:Sn},!0)});else{var xn=xe.getOrient();xn==="RL"||xn==="LR"?(kn=qe/(hn.getLayout().x+bn+_n),wn=Ue/(vn.depth-1||1),eachBefore(Lt,function(En){Sn=(En.getLayout().x+_n)*kn,Cn=xn==="LR"?(En.depth-1)*wn:Ue-(En.depth-1)*wn,En.setLayout({x:Cn,y:Sn},!0)})):(xn==="TB"||xn==="BT")&&(wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=xn==="TB"?(En.depth-1)*kn:qe-(En.depth-1)*kn,En.setLayout({x:Cn,y:Sn},!0)}))}}}function treeVisual(xe){xe.eachSeriesByType("tree",function($e){var Ie=$e.getData(),Fe=Ie.tree;Fe.eachNode(function(Ue){var qe=Ue.getModel(),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ie.ensureUniqueItemVisual(Ue.dataIndex,"style");extend(Dt,At)})})}function installTreeAction(xe){xe.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Fe){var Ue=$e.dataIndex,qe=Fe.getData().tree,At=qe.getNodeByDataIndex(Ue);At.isExpand=!At.isExpand})}),xe.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function($e,Ie,Fe){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}function install$I(xe){xe.registerChartView(TreeView),xe.registerSeriesModel(TreeSeriesModel),xe.registerLayout(treeLayout),xe.registerVisual(treeVisual),installTreeAction(xe)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(xe){for(var $e=0;$e1;)qe=qe.parentNode;var At=getDecalFromPalette(xe.ecModel,qe.name||qe.dataIndex+"",Fe);Ue.setVisual("decal",At)})}var TreemapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.preventUsingHoverLayer=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue$1(Ue);var qe=Ie.levels||[],At=this.designatedVisualItemStyle={},Dt=new Model({itemStyle:At},this,Fe);qe=Ie.levels=setDefault(qe,Fe);var Lt=map$1(qe||[],function(vn){return new Model(vn,Dt,Fe)},this),jt=Tree.createTree(Ue,this,hn);function hn(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=jt.getNodeByDataIndex(_n),kn=wn?Lt[wn.depth]:null;return bn.parentModel=kn||Dt,bn})}return jt.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=this.getRawValue(Ie),Dt=qe.getName(Ie);return createTooltipMarkup("nameValue",{name:Dt,value:At})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.treePathInfo=Fe.treeAncestors,Fe},$e.prototype.setLayoutInfo=function(Ie){this.layoutInfo=this.layoutInfo||{},extend(this.layoutInfo,Ie)},$e.prototype.mapIdToIndex=function(Ie){var Fe=this._idIndexMap;Fe||(Fe=this._idIndexMap=createHashMap(),this._idIndexMapCount=0);var Ue=Fe.get(Ie);return Ue==null&&Fe.set(Ie,Ue=this._idIndexMapCount++),Ue},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.treemap",$e.layoutMode="box",$e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},$e}(SeriesModel);function completeTreeValue$1(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue$1(Fe);var Ue=Fe.value;isArray$1(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$1(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$1(xe.value)?xe.value[0]=Ie:xe.value=Ie}function setDefault(xe,$e){var Ie=normalizeToArray($e.get("color")),Fe=normalizeToArray($e.get(["aria","decal","decals"]));if(Ie){xe=xe||[];var Ue,qe;each$f(xe,function(Dt){var Lt=new Model(Dt),jt=Lt.get("color"),hn=Lt.get("decal");(Lt.get(["itemStyle","color"])||jt&&jt!=="none")&&(Ue=!0),(Lt.get(["itemStyle","decal"])||hn&&hn!=="none")&&(qe=!0)});var At=xe[0]||(xe[0]={});return Ue||(At.color=Ie.slice()),!qe&&Fe&&(At.decal=Fe.slice()),xe}}var TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb=function(){function xe($e){this.group=new Group$3,$e.add(this.group)}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=$e.getModel("breadcrumb"),At=this.group;if(At.removeAll(),!(!qe.get("show")||!Fe)){var Dt=qe.getModel("itemStyle"),Lt=qe.getModel("emphasis"),jt=Dt.getModel("textStyle"),hn=Lt.getModel(["itemStyle","textStyle"]),vn={pos:{left:qe.get("left"),right:qe.get("right"),top:qe.get("top"),bottom:qe.get("bottom")},box:{width:Ie.getWidth(),height:Ie.getHeight()},emptyItemWidth:qe.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(Fe,vn,jt),this._renderContent($e,vn,Dt,Lt,jt,hn,Ue),positionElement(At,vn.pos,vn.box)}},xe.prototype._prepare=function($e,Ie,Fe){for(var Ue=$e;Ue;Ue=Ue.parentNode){var qe=convertOptionIdName(Ue.getModel().get("name"),""),At=Fe.getTextRect(qe),Dt=Math.max(At.width+TEXT_PADDING*2,Ie.emptyItemWidth);Ie.totalWidth+=Dt+ITEM_GAP,Ie.renderList.push({node:Ue,text:qe,width:Dt})}},xe.prototype._renderContent=function($e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=0,jt=Ie.emptyItemWidth,hn=$e.get(["breadcrumb","height"]),vn=getAvailableSize(Ie.pos,Ie.box),bn=Ie.totalWidth,_n=Ie.renderList,wn=Ue.getModel("itemStyle").getItemStyle(),kn=_n.length-1;kn>=0;kn--){var Cn=_n[kn],Sn=Cn.node,xn=Cn.width,En=Cn.text;bn>vn.width&&(bn-=xn-jt,xn=jt,En=null);var Tn=new Polygon({shape:{points:makeItemPoints(Lt,0,xn,hn,kn===_n.length-1,kn===0)},style:defaults(Fe.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText({style:createTextStyle(qe,{text:En})}),textConfig:{position:"inside"},z2:Z2_EMPHASIS_LIFT*1e4,onclick:curry$1(Dt,Sn)});Tn.disableLabelAnimation=!0,Tn.getTextContent().ensureState("emphasis").style=createTextStyle(At,{text:En}),Tn.ensureState("emphasis").style=wn,toggleHoverEmphasis(Tn,Ue.get("focus"),Ue.get("blurScope"),Ue.get("disabled")),this.group.add(Tn),packEventData(Tn,$e,Sn),Lt+=xn+ITEM_GAP}},xe.prototype.remove=function(){this.group.removeAll()},xe}();function makeItemPoints(xe,$e,Ie,Fe,Ue,qe){var At=[[Ue?xe:xe-ARRAY_LENGTH,$e],[xe+Ie,$e],[xe+Ie,$e+Fe],[Ue?xe:xe-ARRAY_LENGTH,$e+Fe]];return!qe&&At.splice(2,0,[xe+Ie+ARRAY_LENGTH,$e+Fe/2]),!Ue&&At.push([xe,$e+Fe/2]),At}function packEventData(xe,$e,Ie){getECData(xe).eventData={componentType:"series",componentSubType:"treemap",componentIndex:$e.componentIndex,seriesIndex:$e.seriesIndex,seriesName:$e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:Ie&&Ie.dataIndex,name:Ie&&Ie.name},treePathInfo:Ie&&wrapTreePathInfo(Ie,$e)}}var AnimationWrap=function(){function xe(){this._storage=[],this._elExistsMap={}}return xe.prototype.add=function($e,Ie,Fe,Ue,qe){return this._elExistsMap[$e.id]?!1:(this._elExistsMap[$e.id]=!0,this._storage.push({el:$e,target:Ie,duration:Fe,delay:Ue,easing:qe}),!0)},xe.prototype.finished=function($e){return this._finishedCallback=$e,this},xe.prototype.start=function(){for(var $e=this,Ie=this._storage.length,Fe=function(){Ie--,Ie<=0&&($e._storage.length=0,$e._elExistsMap={},$e._finishedCallback&&$e._finishedCallback())},Ue=0,qe=this._storage.length;UeDRAG_THRESHOLD||Math.abs(Ie.dy)>DRAG_THRESHOLD)){var Fe=this.seriesModel.getData().tree.root;if(!Fe)return;var Ue=Fe.getLayout();if(!Ue)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Ue.x+Ie.dx,y:Ue.y+Ie.dy,width:Ue.width,height:Ue.height}})}},$e.prototype._onZoom=function(Ie){var Fe=Ie.originX,Ue=Ie.originY;if(this._state!=="animating"){var qe=this.seriesModel.getData().tree.root;if(!qe)return;var At=qe.getLayout();if(!At)return;var Dt=new BoundingRect(At.x,At.y,At.width,At.height),Lt=this.seriesModel.layoutInfo;Fe-=Lt.x,Ue-=Lt.y;var jt=create$1();translate(jt,jt,[-Fe,-Ue]),scale$1(jt,jt,[Ie.scale,Ie.scale]),translate(jt,jt,[Fe,Ue]),Dt.applyTransform(jt),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height}})}},$e.prototype._initEvents=function(Ie){var Fe=this;Ie.on("click",function(Ue){if(Fe._state==="ready"){var qe=Fe.seriesModel.get("nodeClick",!0);if(qe){var At=Fe.findTarget(Ue.offsetX,Ue.offsetY);if(At){var Dt=At.node;if(Dt.getLayout().isLeafRoot)Fe._rootToNode(At);else if(qe==="zoomToNode")Fe._zoomToNode(At);else if(qe==="link"){var Lt=Dt.hostTree.data.getItemModel(Dt.dataIndex),jt=Lt.get("link",!0),hn=Lt.get("target",!0)||"blank";jt&&windowOpen(jt,hn)}}}}},this)},$e.prototype._renderBreadcrumb=function(Ie,Fe,Ue){var qe=this;Ue||(Ue=Ie.get("leafDepth",!0)!=null?{node:Ie.getViewRoot()}:this.findTarget(Fe.getWidth()/2,Fe.getHeight()/2),Ue||(Ue={node:Ie.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Breadcrumb(this.group))).render(Ie,Fe,Ue.node,function(At){qe._state!=="animating"&&(aboveViewRoot(Ie.getViewRoot(),At)?qe._rootToNode({node:At}):qe._zoomToNode({node:At}))})},$e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},$e.prototype.dispose=function(){this._clearController()},$e.prototype._zoomToNode=function(Ie){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype._rootToNode=function(Ie){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype.findTarget=function(Ie,Fe){var Ue,qe=this.seriesModel.getViewRoot();return qe.eachNode({attr:"viewChildren",order:"preorder"},function(At){var Dt=this._storage.background[At.getRawIndex()];if(Dt){var Lt=Dt.transformCoordToLocal(Ie,Fe),jt=Dt.shape;if(jt.x<=Lt[0]&&Lt[0]<=jt.x+jt.width&&jt.y<=Lt[1]&&Lt[1]<=jt.y+jt.height)Ue={node:At,offsetX:Lt[0],offsetY:Lt[1]};else return!1}},this),Ue},$e.type="treemap",$e}(ChartView);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(!At)return;var hn=At.getLayout(),vn=xe.getData(),bn=At.getModel();if(vn.setItemGraphicEl(At.dataIndex,null),!hn||!hn.isInView)return;var _n=hn.width,wn=hn.height,kn=hn.borderWidth,Cn=hn.invisible,Sn=At.getRawIndex(),xn=Dt&&Dt.getRawIndex(),En=At.viewChildren,Tn=hn.upperHeight,An=En&&En.length,$n=bn.getModel("itemStyle"),Pn=bn.getModel(["emphasis","itemStyle"]),Nn=bn.getModel(["blur","itemStyle"]),Mn=bn.getModel(["select","itemStyle"]),In=$n.get("borderRadius")||0,On=er("nodeGroup",Group$2);if(!On)return;if(Lt.add(On),On.x=hn.x||0,On.y=hn.y||0,On.markRedraw(),inner$d(On).nodeWidth=_n,inner$d(On).nodeHeight=wn,hn.isAboveViewRoot)return On;var Rn=er("background",Rect$1,jt,Z2_BG);Rn&&zn(On,Rn,An&&hn.upperLabelHeight);var Bn=bn.getModel("emphasis"),Vn=Bn.get("focus"),Ln=Bn.get("blurScope"),Dn=Bn.get("disabled"),Hn=Vn==="ancestor"?At.getAncestorsIndices():Vn==="descendant"?At.getDescendantIndices():Vn;if(An)isHighDownDispatcher(On)&&setAsHighDownDispatcher(On,!1),Rn&&(setAsHighDownDispatcher(Rn,!Dn),vn.setItemGraphicEl(At.dataIndex,Rn),enableHoverFocus(Rn,Hn,Ln));else{var Fn=er("content",Rect$1,jt,Z2_CONTENT);Fn&&jn(On,Fn),Rn.disableMorphing=!0,Rn&&isHighDownDispatcher(Rn)&&setAsHighDownDispatcher(Rn,!1),setAsHighDownDispatcher(On,!Dn),vn.setItemGraphicEl(At.dataIndex,On),enableHoverFocus(On,Hn,Ln)}return On;function zn(Yn,qn,ar){var tr=getECData(qn);if(tr.dataIndex=At.dataIndex,tr.seriesIndex=xe.seriesIndex,qn.setShape({x:0,y:0,width:_n,height:wn,r:In}),Cn)Gn(qn);else{qn.invisible=!1;var or=At.getVisual("style"),sr=or.stroke,Kn=getItemStyleNormal($n);Kn.fill=sr;var Zn=getStateItemStyle(Pn);Zn.fill=Pn.get("borderColor");var nr=getStateItemStyle(Nn);nr.fill=Nn.get("borderColor");var lr=getStateItemStyle(Mn);if(lr.fill=Mn.get("borderColor"),ar){var ir=_n-2*kn;Wn(qn,sr,or.opacity,{x:kn,y:0,width:ir,height:Tn})}else qn.removeTextContent();qn.setStyle(Kn),qn.ensureState("emphasis").style=Zn,qn.ensureState("blur").style=nr,qn.ensureState("select").style=lr,setDefaultStateProxy(qn)}Yn.add(qn)}function jn(Yn,qn){var ar=getECData(qn);ar.dataIndex=At.dataIndex,ar.seriesIndex=xe.seriesIndex;var tr=Math.max(_n-2*kn,0),or=Math.max(wn-2*kn,0);if(qn.culling=!0,qn.setShape({x:kn,y:kn,width:tr,height:or,r:In}),Cn)Gn(qn);else{qn.invisible=!1;var sr=At.getVisual("style"),Kn=sr.fill,Zn=getItemStyleNormal($n);Zn.fill=Kn,Zn.decal=sr.decal;var nr=getStateItemStyle(Pn),lr=getStateItemStyle(Nn),ir=getStateItemStyle(Mn);Wn(qn,Kn,sr.opacity,null),qn.setStyle(Zn),qn.ensureState("emphasis").style=nr,qn.ensureState("blur").style=lr,qn.ensureState("select").style=ir,setDefaultStateProxy(qn)}Yn.add(qn)}function Gn(Yn){!Yn.invisible&&qe.push(Yn)}function Wn(Yn,qn,ar,tr){var or=bn.getModel(tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),sr=convertOptionIdName(bn.get("name"),null),Kn=or.getShallow("show");setLabelStyle(Yn,getLabelStatesModels(bn,tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:Kn?sr:null,inheritColor:qn,defaultOpacity:ar,labelFetcher:xe,labelDataIndex:At.dataIndex});var Zn=Yn.getTextContent();if(Zn){var nr=Zn.style,lr=normalizeCssArray$1(nr.padding||0);tr&&(Yn.setTextConfig({layoutRect:tr}),Zn.disableLabelLayout=!0),Zn.beforeUpdate=function(){var kr=Math.max((tr?tr.width:Yn.shape.width)-lr[1]-lr[3],0),Cr=Math.max((tr?tr.height:Yn.shape.height)-lr[0]-lr[2],0);(nr.width!==kr||nr.height!==Cr)&&Zn.setStyle({width:kr,height:Cr})},nr.truncateMinChar=2,nr.lineOverflow="truncate",Xn(nr,tr,hn);var ir=Zn.getState("emphasis");Xn(ir?ir.style:null,tr,hn)}}function Xn(Yn,qn,ar){var tr=Yn?Yn.text:null;if(!qn&&ar.isLeafRoot&&tr!=null){var or=xe.get("drillDownIcon",!0);Yn.text=or?or+" "+tr:tr}}function er(Yn,qn,ar,tr){var or=xn!=null&&Ie[Yn][xn],sr=Ue[Yn];return or?(Ie[Yn][xn]=null,rr(sr,or)):Cn||(or=new qn,or instanceof Displayable&&(or.z2=calculateZ2(ar,tr)),Jn(sr,or)),$e[Yn][Sn]=or}function rr(Yn,qn){var ar=Yn[Sn]={};qn instanceof Group$2?(ar.oldX=qn.x,ar.oldY=qn.y):ar.oldShape=extend({},qn.shape)}function Jn(Yn,qn){var ar=Yn[Sn]={},tr=At.parentNode,or=qn instanceof Group$3;if(tr&&(!Fe||Fe.direction==="drillDown")){var sr=0,Kn=0,Zn=Ue.background[tr.getRawIndex()];!Fe&&Zn&&Zn.oldShape&&(sr=Zn.oldShape.width,Kn=Zn.oldShape.height),or?(ar.oldX=0,ar.oldY=Kn):ar.oldShape={x:sr,y:Kn,width:0,height:0}}ar.fadein=!or}}function calculateZ2(xe,$e){return xe*Z2_BASE+$e}var each$c=each$f,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function xe($e){var Ie=$e.mappingMethod,Fe=$e.type,Ue=this.option=clone$4($e);this.type=Fe,this.mappingMethod=Ie,this._normalizeData=normalizers[Ie];var qe=xe.visualHandlers[Fe];this.applyVisual=qe.applyVisual,this.getColorMapper=qe.getColorMapper,this._normalizedToVisual=qe._normalizedToVisual[Ie],Ie==="piecewise"?(normalizeVisualRange(Ue),preprocessForPiecewise(Ue)):Ie==="category"?Ue.categories?preprocessForSpecifiedCategory(Ue):normalizeVisualRange(Ue,!0):(assert(Ie!=="linear"||Ue.dataExtent),normalizeVisualRange(Ue))}return xe.prototype.mapValueToVisual=function($e){var Ie=this._normalizeData($e);return this._normalizedToVisual(Ie,$e)},xe.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},xe.listVisualTypes=function(){return keys(xe.visualHandlers)},xe.isValidType=function($e){return xe.visualHandlers.hasOwnProperty($e)},xe.eachVisual=function($e,Ie,Fe){isObject$3($e)?each$f($e,Ie,Fe):Ie.call(Fe,$e)},xe.mapVisual=function($e,Ie,Fe){var Ue,qe=isArray$1($e)?[]:isObject$3($e)?{}:(Ue=!0,null);return xe.eachVisual($e,function(At,Dt){var Lt=Ie.call(Fe,At,Dt);Ue?qe=Lt:qe[Dt]=Lt}),qe},xe.retrieveVisuals=function($e){var Ie={},Fe;return $e&&each$c(xe.visualHandlers,function(Ue,qe){$e.hasOwnProperty(qe)&&(Ie[qe]=$e[qe],Fe=!0)}),Fe?Ie:null},xe.prepareVisualTypes=function($e){if(isArray$1($e))$e=$e.slice();else if(isObject($e)){var Ie=[];each$c($e,function(Fe,Ue){Ie.push(Ue)}),$e=Ie}else return[];return $e.sort(function(Fe,Ue){return Ue==="color"&&Fe!=="color"&&Fe.indexOf("color")===0?1:-1}),$e},xe.dependsOn=function($e,Ie){return Ie==="color"?!!($e&&$e.indexOf(Ie)===0):$e===Ie},xe.findPieceIndex=function($e,Ie,Fe){for(var Ue,qe=1/0,At=0,Dt=Ie.length;At=0;qe--)Fe[qe]==null&&(delete Ie[$e[qe]],$e.pop())}function normalizeVisualRange(xe,$e){var Ie=xe.visual,Fe=[];isObject$3(Ie)?each$c(Ie,function(qe){Fe.push(qe)}):Ie!=null&&Fe.push(Ie);var Ue={color:1,symbol:1};!$e&&Fe.length===1&&!Ue.hasOwnProperty(xe.type)&&(Fe[1]=Fe[0]),setVisualToOption(xe,Fe)}function makePartialColorVisualHandler(xe){return{applyVisual:function($e,Ie,Fe){var Ue=this.mapValueToVisual($e);Fe("color",xe(Ie("color"),Ue))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(xe){var $e=this.option.visual;return $e[Math.round(linearMap$2(xe,[0,1],[0,$e.length-1],!0))]||{}}function makeApplyVisual(xe){return function($e,Ie,Fe){Fe(xe,this.mapValueToVisual($e))}}function doMapCategory(xe){var $e=this.option.visual;return $e[this.option.loop&&xe!==CATEGORY_DEFAULT_VISUAL_INDEX?xe%$e.length:xe]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(xe){return{linear:function($e){return linearMap$2($e,xe,this.option.visual,!0)},category:doMapCategory,piecewise:function($e,Ie){var Fe=getSpecifiedVisual.call(this,Ie);return Fe==null&&(Fe=linearMap$2($e,xe,this.option.visual,!0)),Fe},fixed:doMapFixed}}function getSpecifiedVisual(xe){var $e=this.option,Ie=$e.pieceList;if($e.hasSpecialVisual){var Fe=VisualMapping.findPieceIndex(xe,Ie),Ue=Ie[Fe];if(Ue&&Ue.visual)return Ue.visual[this.type]}}function setVisualToOption(xe,$e){return xe.visual=$e,xe.type==="color"&&(xe.parsedVisual=map$1($e,function(Ie){var Fe=parse(Ie);return Fe||[0,0,0,1]})),$e}var normalizers={linear:function(xe){return linearMap$2(xe,this.option.dataExtent,[0,1],!0)},piecewise:function(xe){var $e=this.option.pieceList,Ie=VisualMapping.findPieceIndex(xe,$e,!0);if(Ie!=null)return linearMap$2(Ie,[0,$e.length-1],[0,1],!0)},category:function(xe){var $e=this.option.categories?this.option.categoryMap[xe]:xe;return $e??CATEGORY_DEFAULT_VISUAL_INDEX},fixed:noop};function littleThan(xe,$e,Ie){return xe?$e<=Ie:$e=Ie.length||kn===Ie[kn.depth]){var Sn=mapVisual$1(Ue,Lt,kn,Cn,wn,Fe);travelTree(kn,Sn,Ie,Fe)}})}}}function buildVisuals(xe,$e,Ie){var Fe=extend({},$e),Ue=Ie.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],function(qe){Ue[qe]=$e[qe];var At=xe.get(qe);Ue[qe]=null,At!=null&&(Fe[qe]=At)}),Fe}function calculateColor(xe){var $e=getValueVisualDefine(xe,"color");if($e){var Ie=getValueVisualDefine(xe,"colorAlpha"),Fe=getValueVisualDefine(xe,"colorSaturation");return Fe&&($e=modifyHSL($e,null,null,Fe)),Ie&&($e=modifyAlpha($e,Ie)),$e}}function calculateBorderColor(xe,$e){return $e!=null?modifyHSL($e,null,null,xe):null}function getValueVisualDefine(xe,$e){var Ie=xe[$e];if(Ie!=null&&Ie!=="none")return Ie}function buildVisualMapping(xe,$e,Ie,Fe,Ue,qe){if(!(!qe||!qe.length)){var At=getRangeVisual($e,"color")||Ue.color!=null&&Ue.color!=="none"&&(getRangeVisual($e,"colorAlpha")||getRangeVisual($e,"colorSaturation"));if(At){var Dt=$e.get("visualMin"),Lt=$e.get("visualMax"),jt=Ie.dataExtent.slice();Dt!=null&&Dtjt[1]&&(jt[1]=Lt);var hn=$e.get("colorMappingBy"),vn={type:At.name,dataExtent:jt,visual:At.range};vn.type==="color"&&(hn==="index"||hn==="id")?(vn.mappingMethod="category",vn.loop=!0):vn.mappingMethod="linear";var bn=new VisualMapping(vn);return inner$c(bn).drColorMappingBy=hn,bn}}}function getRangeVisual(xe,$e){var Ie=xe.get($e);return isArray$1(Ie)&&Ie.length?{name:$e,range:Ie}:null}function mapVisual$1(xe,$e,Ie,Fe,Ue,qe){var At=extend({},$e);if(Ue){var Dt=Ue.type,Lt=Dt==="color"&&inner$c(Ue).drColorMappingBy,jt=Lt==="index"?Fe:Lt==="id"?qe.mapIdToIndex(Ie.getId()):Ie.getValue(xe.get("visualDimension"));At[Dt]=Ue.mapValueToVisual(jt)}return At}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"];const treemapLayout={seriesType:"treemap",reset:function(xe,$e,Ie,Fe){var Ue=Ie.getWidth(),qe=Ie.getHeight(),At=xe.option,Dt=getLayoutRect(xe.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),Lt=At.size||[],jt=parsePercent(retrieveValue(Dt.width,Lt[0]),Ue),hn=parsePercent(retrieveValue(Dt.height,Lt[1]),qe),vn=Fe&&Fe.type,bn=["treemapZoomToNode","treemapRootToNode"],_n=retrieveTargetInfo(Fe,bn,xe),wn=vn==="treemapRender"||vn==="treemapMove"?Fe.rootRect:null,kn=xe.getViewRoot(),Cn=getPathToRoot(kn);if(vn!=="treemapMove"){var Sn=vn==="treemapZoomToNode"?estimateRootSize(xe,_n,kn,jt,hn):wn?[wn.width,wn.height]:[jt,hn],xn=At.sort;xn&&xn!=="asc"&&xn!=="desc"&&(xn="desc");var En={squareRatio:At.squareRatio,sort:xn,leafDepth:At.leafDepth};kn.hostTree.clearLayouts();var Tn={x:0,y:0,width:Sn[0],height:Sn[1],area:Sn[0]*Sn[1]};kn.setLayout(Tn),squarify(kn,En,!1,0),Tn=kn.getLayout(),each$b(Cn,function($n,Pn){var Nn=(Cn[Pn+1]||kn).getValue();$n.setLayout(extend({dataExtent:[Nn,Nn],borderWidth:0,upperHeight:0},Tn))})}var An=xe.getData().tree.root;An.setLayout(calculateRootPosition(Dt,wn,_n),!0),xe.setLayoutInfo(Dt),prunning(An,new BoundingRect(-Dt.x,-Dt.y,Ue,qe),Cn,kn,0)}};function squarify(xe,$e,Ie,Fe){var Ue,qe;if(!xe.isRemoved()){var At=xe.getLayout();Ue=At.width,qe=At.height;var Dt=xe.getModel(),Lt=Dt.get(PATH_BORDER_WIDTH),jt=Dt.get(PATH_GAP_WIDTH)/2,hn=getUpperLabelHeight(Dt),vn=Math.max(Lt,hn),bn=Lt-jt,_n=vn-jt;xe.setLayout({borderWidth:Lt,upperHeight:vn,upperLabelHeight:hn},!0),Ue=mathMax$3(Ue-2*bn,0),qe=mathMax$3(qe-bn-_n,0);var wn=Ue*qe,kn=initChildren$1(xe,Dt,wn,$e,Ie,Fe);if(kn.length){var Cn={x:bn,y:_n,width:Ue,height:qe},Sn=mathMin$3(Ue,qe),xn=1/0,En=[];En.area=0;for(var Tn=0,An=kn.length;Tn=0;Lt--){var jt=Ue[Fe==="asc"?At-Lt-1:Lt].getValue();jt/Ie*$eDt[1]&&(Dt[1]=jt)})),{sum:Fe,dataExtent:Dt}}function worst(xe,$e,Ie){for(var Fe=0,Ue=1/0,qe=0,At=void 0,Dt=xe.length;qeFe&&(Fe=At));var Lt=xe.area*xe.area,jt=$e*$e*Ie;return Lt?mathMax$3(jt*Fe/Lt,Lt/(jt*Ue)):1/0}function position(xe,$e,Ie,Fe,Ue){var qe=$e===Ie.width?0:1,At=1-qe,Dt=["x","y"],Lt=["width","height"],jt=Ie[Dt[qe]],hn=$e?xe.area/$e:0;(Ue||hn>Ie[Lt[At]])&&(hn=Ie[Lt[At]]);for(var vn=0,bn=xe.length;vnMAX_SAFE_INTEGER&&(jt=MAX_SAFE_INTEGER),qe=Dt}jtFe&&(Fe=$e);var qe=Fe%2?Fe+2:Fe+3;Ue=[];for(var At=0;At0&&(An[0]=-An[0],An[1]=-An[1]);var Pn=Tn[0]<0?-1:1;if(qe.__position!=="start"&&qe.__position!=="end"){var Nn=-Math.atan2(Tn[1],Tn[0]);vn[0].8?"left":bn[0]<-.8?"right":"center",kn=bn[1]>.8?"top":bn[1]<-.8?"bottom":"middle";break;case"start":qe.x=-bn[0]*Sn+hn[0],qe.y=-bn[1]*xn+hn[1],wn=bn[0]>.8?"right":bn[0]<-.8?"left":"center",kn=bn[1]>.8?"bottom":bn[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":qe.x=Sn*Pn+hn[0],qe.y=hn[1]+Mn,wn=Tn[0]<0?"right":"left",qe.originX=-Sn*Pn,qe.originY=-Mn;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":qe.x=$n[0],qe.y=$n[1]+Mn,wn="center",qe.originY=-Mn;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":qe.x=-Sn*Pn+vn[0],qe.y=vn[1]+Mn,wn=Tn[0]>=0?"right":"left",qe.originX=Sn*Pn,qe.originY=-Mn;break}qe.scaleX=qe.scaleY=At,qe.setStyle({verticalAlign:qe.__verticalAlign||kn,align:qe.__align||wn})}},$e}(Group$3),LineDraw=function(){function xe($e){this.group=new Group$3,this._LineCtor=$e||Line}return xe.prototype.updateData=function($e){var Ie=this;this._progressiveEls=null;var Fe=this,Ue=Fe.group,qe=Fe._lineData;Fe._lineData=$e,qe||Ue.removeAll();var At=makeSeriesScope$1($e);$e.diff(qe).add(function(Dt){Ie._doAdd($e,Dt,At)}).update(function(Dt,Lt){Ie._doUpdate(qe,$e,Lt,Dt,At)}).remove(function(Dt){Ue.remove(qe.getItemGraphicEl(Dt))}).execute()},xe.prototype.updateLayout=function(){var $e=this._lineData;$e&&$e.eachItemGraphicEl(function(Ie,Fe){Ie.updateLayout($e,Fe)},this)},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$1($e),this._lineData=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie){this._progressiveEls=[];function Fe(Dt){!Dt.isGroup&&!isEffectObject(Dt)&&(Dt.incremental=!0,Dt.ensureState("emphasis").hoverLayer=!0)}for(var Ue=$e.start;Ue<$e.end;Ue++){var qe=Ie.getItemLayout(Ue);if(lineNeedsDraw(qe)){var At=new this._LineCtor(Ie,Ue,this._seriesScope);At.traverse(Fe),this.group.add(At),Ie.setItemGraphicEl(Ue,At),this._progressiveEls.push(At)}}},xe.prototype.remove=function(){this.group.removeAll()},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype._doAdd=function($e,Ie,Fe){var Ue=$e.getItemLayout(Ie);if(lineNeedsDraw(Ue)){var qe=new this._LineCtor($e,Ie,Fe);$e.setItemGraphicEl(Ie,qe),this.group.add(qe)}},xe.prototype._doUpdate=function($e,Ie,Fe,Ue,qe){var At=$e.getItemGraphicEl(Fe);if(!lineNeedsDraw(Ie.getItemLayout(Ue))){this.group.remove(At);return}At?At.updateData(Ie,Ue,qe):At=new this._LineCtor(Ie,Ue,qe),Ie.setItemGraphicEl(Ue,At),this.group.add(At)},xe}();function isEffectObject(xe){return xe.animators&&xe.animators.length>0}function makeSeriesScope$1(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{lineStyle:$e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:Ie.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:$e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:$e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:Ie.get("disabled"),blurScope:Ie.get("blurScope"),focus:Ie.get("focus"),labelStatesModels:getLabelStatesModels($e)}}function isPointNaN(xe){return isNaN(xe[0])||isNaN(xe[1])}function lineNeedsDraw(xe){return xe&&!isPointNaN(xe[0])&&!isPointNaN(xe[1])}var v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(xe,$e,Ie){for(var Fe=xe[0],Ue=xe[1],qe=xe[2],At=1/0,Dt,Lt=Ie*Ie,jt=.1,hn=.1;hn<=.9;hn+=.1){v1[0]=quadraticAt(Fe[0],Ue[0],qe[0],hn),v1[1]=quadraticAt(Fe[1],Ue[1],qe[1],hn);var vn=mathAbs(v2DistSquare(v1,$e)-Lt);vn=0?Dt=Dt+jt:Dt=Dt-jt:wn>=0?Dt=Dt-jt:Dt=Dt+jt}return Dt}function adjustEdge(xe,$e){var Ie=[],Fe=quadraticSubdivide,Ue=[[],[],[]],qe=[[],[]],At=[];$e/=2,xe.eachEdge(function(Dt,Lt){var jt=Dt.getLayout(),hn=Dt.getVisual("fromSymbol"),vn=Dt.getVisual("toSymbol");jt.__original||(jt.__original=[clone$3(jt[0]),clone$3(jt[1])],jt[2]&&jt.__original.push(clone$3(jt[2])));var bn=jt.__original;if(jt[2]!=null){if(copy$1(Ue[0],bn[0]),copy$1(Ue[1],bn[2]),copy$1(Ue[2],bn[1]),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1),wn=intersectCurveCircle(Ue,bn[0],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[0][0]=Ie[3],Ue[1][0]=Ie[4],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[0][1]=Ie[3],Ue[1][1]=Ie[4]}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2),wn=intersectCurveCircle(Ue,bn[1],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[1][0]=Ie[1],Ue[2][0]=Ie[2],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[1][1]=Ie[1],Ue[2][1]=Ie[2]}copy$1(jt[0],Ue[0]),copy$1(jt[1],Ue[2]),copy$1(jt[2],Ue[1])}else{if(copy$1(qe[0],bn[0]),copy$1(qe[1],bn[1]),sub(At,qe[1],qe[0]),normalize$3(At,At),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1);scaleAndAdd$1(qe[0],qe[0],At,_n*$e)}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2);scaleAndAdd$1(qe[1],qe[1],At,-_n*$e)}copy$1(jt[0],qe[0]),copy$1(jt[1],qe[1])}})}function isViewCoordSys(xe){return xe.type==="view"}var GraphView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){var Ue=new SymbolDraw,qe=new LineDraw,At=this.group;this._controller=new RoamController(Fe.getZr()),this._controllerHost={target:At},At.add(Ue.group),At.add(qe.group),this._symbolDraw=Ue,this._lineDraw=qe,this._firstRender=!0},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.coordinateSystem;this._model=Ie;var Dt=this._symbolDraw,Lt=this._lineDraw,jt=this.group;if(isViewCoordSys(At)){var hn={x:At.x,y:At.y,scaleX:At.scaleX,scaleY:At.scaleY};this._firstRender?jt.attr(hn):updateProps$1(jt,hn,Ie)}adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie));var vn=Ie.getData();Dt.updateData(vn);var bn=Ie.getEdgeData();Lt.updateData(bn),this._updateNodeAndLinkScale(),this._updateController(Ie,Fe,Ue),clearTimeout(this._layoutTimeout);var _n=Ie.forceLayout,wn=Ie.get(["force","layoutAnimation"]);_n&&this._startForceLayoutIteration(_n,wn);var kn=Ie.get("layout");vn.graph.eachNode(function(En){var Tn=En.dataIndex,An=En.getGraphicEl(),$n=En.getModel();if(An){An.off("drag").off("dragend");var Pn=$n.get("draggable");Pn&&An.on("drag",function(Mn){switch(kn){case"force":_n.warmUp(),!qe._layouting&&qe._startForceLayoutIteration(_n,wn),_n.setFixed(Tn),vn.setItemLayout(Tn,[An.x,An.y]);break;case"circular":vn.setItemLayout(Tn,[An.x,An.y]),En.setLayout({fixed:!0},!0),circularLayout(Ie,"symbolSize",En,[Mn.offsetX,Mn.offsetY]),qe.updateLayout(Ie);break;case"none":default:vn.setItemLayout(Tn,[An.x,An.y]),simpleLayoutEdge(Ie.getGraph(),Ie),qe.updateLayout(Ie);break}}).on("dragend",function(){_n&&_n.setUnfixed(Tn)}),An.setDraggable(Pn,!!$n.get("cursor"));var Nn=$n.get(["emphasis","focus"]);Nn==="adjacency"&&(getECData(An).focus=En.getAdjacentDataIndices())}}),vn.graph.eachEdge(function(En){var Tn=En.getGraphicEl(),An=En.getModel().get(["emphasis","focus"]);Tn&&An==="adjacency"&&(getECData(Tn).focus={edge:[En.dataIndex],node:[En.node1.dataIndex,En.node2.dataIndex]})});var Cn=Ie.get("layout")==="circular"&&Ie.get(["circular","rotateLabel"]),Sn=vn.getLayout("cx"),xn=vn.getLayout("cy");vn.graph.eachNode(function(En){rotateNodeLabel(En,Cn,Sn,xn)}),this._firstRender=!1},$e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},$e.prototype._startForceLayoutIteration=function(Ie,Fe){var Ue=this;(function qe(){Ie.step(function(At){Ue.updateLayout(Ue._model),(Ue._layouting=!At)&&(Fe?Ue._layoutTimeout=setTimeout(qe,16):qe())})})()},$e.prototype._updateController=function(Ie,Fe,Ue){var qe=this,At=this._controller,Dt=this._controllerHost,Lt=this.group;if(At.setPointerChecker(function(jt,hn,vn){var bn=Lt.getBoundingRect();return bn.applyTransform(Lt.transform),bn.contain(hn,vn)&&!onIrrelevantElement(jt,Ue,Ie)}),!isViewCoordSys(Ie.coordinateSystem)){At.disable();return}At.enable(Ie.get("roam")),Dt.zoomLimit=Ie.get("scaleLimit"),Dt.zoom=Ie.coordinateSystem.getZoom(),At.off("pan").off("zoom").on("pan",function(jt){updateViewOnPan(Dt,jt.dx,jt.dy),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",dx:jt.dx,dy:jt.dy})}).on("zoom",function(jt){updateViewOnZoom(Dt,jt.scale,jt.originX,jt.originY),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",zoom:jt.scale,originX:jt.originX,originY:jt.originY}),qe._updateNodeAndLinkScale(),adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),qe._lineDraw.updateLayout(),Ue.updateLabelLayout()})},$e.prototype._updateNodeAndLinkScale=function(){var Ie=this._model,Fe=Ie.getData(),Ue=getNodeGlobalScale(Ie);Fe.eachItemGraphicEl(function(qe,At){qe&&qe.setSymbolScale(Ue)})},$e.prototype.updateLayout=function(Ie){adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},$e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},$e.type="graph",$e}(ChartView);function generateNodeKey(xe){return"_EC_"+xe}var Graph=function(){function xe($e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=$e||!1}return xe.prototype.isDirected=function(){return this._directed},xe.prototype.addNode=function($e,Ie){$e=$e==null?""+Ie:""+$e;var Fe=this._nodesMap;if(!Fe[generateNodeKey($e)]){var Ue=new GraphNode($e,Ie);return Ue.hostGraph=this,this.nodes.push(Ue),Fe[generateNodeKey($e)]=Ue,Ue}},xe.prototype.getNodeByIndex=function($e){var Ie=this.data.getRawIndex($e);return this.nodes[Ie]},xe.prototype.getNodeById=function($e){return this._nodesMap[generateNodeKey($e)]},xe.prototype.addEdge=function($e,Ie,Fe){var Ue=this._nodesMap,qe=this._edgesMap;if(isNumber($e)&&($e=this.nodes[$e]),isNumber(Ie)&&(Ie=this.nodes[Ie]),$e instanceof GraphNode||($e=Ue[generateNodeKey($e)]),Ie instanceof GraphNode||(Ie=Ue[generateNodeKey(Ie)]),!(!$e||!Ie)){var At=$e.id+"-"+Ie.id,Dt=new GraphEdge($e,Ie,Fe);return Dt.hostGraph=this,this._directed&&($e.outEdges.push(Dt),Ie.inEdges.push(Dt)),$e.edges.push(Dt),$e!==Ie&&Ie.edges.push(Dt),this.edges.push(Dt),qe[At]=Dt,Dt}},xe.prototype.getEdgeByIndex=function($e){var Ie=this.edgeData.getRawIndex($e);return this.edges[Ie]},xe.prototype.getEdge=function($e,Ie){$e instanceof GraphNode&&($e=$e.id),Ie instanceof GraphNode&&(Ie=Ie.id);var Fe=this._edgesMap;return this._directed?Fe[$e+"-"+Ie]:Fe[$e+"-"+Ie]||Fe[Ie+"-"+$e]},xe.prototype.eachNode=function($e,Ie){for(var Fe=this.nodes,Ue=Fe.length,qe=0;qe=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.eachEdge=function($e,Ie){for(var Fe=this.edges,Ue=Fe.length,qe=0;qe=0&&Fe[qe].node1.dataIndex>=0&&Fe[qe].node2.dataIndex>=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.breadthFirstTraverse=function($e,Ie,Fe,Ue){if(Ie instanceof GraphNode||(Ie=this._nodesMap[generateNodeKey(Ie)]),!!Ie){for(var qe=Fe==="out"?"outEdges":Fe==="in"?"inEdges":"edges",At=0;At=0&&Lt.node2.dataIndex>=0});for(var qe=0,At=Ue.length;qe=0&&this[xe][$e].setItemVisual(this.dataIndex,Ie,Fe)},getVisual:function(Ie){return this[xe][$e].getItemVisual(this.dataIndex,Ie)},setLayout:function(Ie,Fe){this.dataIndex>=0&&this[xe][$e].setItemLayout(this.dataIndex,Ie,Fe)},getLayout:function(){return this[xe][$e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[xe][$e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[xe][$e].getRawIndex(this.dataIndex)}}}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data"));mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));function createGraphFromNodeEdge(xe,$e,Ie,Fe,Ue){for(var qe=new Graph(Fe),At=0;At "+bn)),jt++)}var _n=Ie.get("coordinateSystem"),wn;if(_n==="cartesian2d"||_n==="polar")wn=createSeriesData(xe,Ie);else{var kn=CoordinateSystemManager.get(_n),Cn=kn?kn.dimensions||[]:[];indexOf(Cn,"value")<0&&Cn.concat(["value"]);var Sn=prepareSeriesDataSchema(xe,{coordDimensions:Cn,encodeDefine:Ie.getEncode()}).dimensions;wn=new SeriesData(Sn,Ie),wn.initData(xe)}var xn=new SeriesData(["value"],Ie);return xn.initData(Lt,Dt),Ue&&Ue(wn,xn),linkSeriesData({mainData:wn,struct:qe,structAttr:"graph",datas:{node:wn,edge:xn},datasAttr:{node:"data",edge:"edgeData"}}),qe.update(),qe}var GraphSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments);var Fe=this;function Ue(){return Fe._categoriesData}this.legendVisualProvider=new LegendVisualProvider(Ue,Ue),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeDefaultAndTheme=function(Ie){xe.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(Ie,"edgeLabel",["show"])},$e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links||[],qe=Ie.data||Ie.nodes||[],At=this;if(qe&&Ue){initCurvenessList(this);var Dt=createGraphFromNodeEdge(qe,Ue,this,!0,Lt);return each$f(Dt.edges,function(jt){createEdgeMapForCurveness(jt.node1,jt.node2,this,jt.dataIndex)},this),Dt.data}function Lt(jt,hn){jt.wrapMethod("getItemModel",function(wn){var kn=At._categoriesModels,Cn=wn.getShallow("category"),Sn=kn[Cn];return Sn&&(Sn.parentModel=wn.parentModel,wn.parentModel=Sn),wn});var vn=Model.prototype.getModel;function bn(wn,kn){var Cn=vn.call(this,wn,kn);return Cn.resolveParentPath=_n,Cn}hn.wrapMethod("getItemModel",function(wn){return wn.resolveParentPath=_n,wn.getModel=bn,wn});function _n(wn){if(wn&&(wn[0]==="label"||wn[1]==="label")){var kn=wn.slice();return wn[0]==="label"?kn[0]="edgeLabel":wn[1]==="label"&&(kn[1]="edgeLabel"),kn}return wn}}},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.getCategoriesData=function(){return this._categoriesData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){if(Ue==="edge"){var qe=this.getData(),At=this.getDataParams(Ie,Ue),Dt=qe.graph.getEdgeByIndex(Ie),Lt=qe.getName(Dt.node1.dataIndex),jt=qe.getName(Dt.node2.dataIndex),hn=[];return Lt!=null&&hn.push(Lt),jt!=null&&hn.push(jt),createTooltipMarkup("nameValue",{name:hn.join(" > "),value:At.value,noValue:At.value==null})}var vn=defaultSeriesFormatTooltip({series:this,dataIndex:Ie,multipleSeries:Fe});return vn},$e.prototype._updateCategoriesData=function(){var Ie=map$1(this.option.categories||[],function(Ue){return Ue.value!=null?Ue:extend({value:0},Ue)}),Fe=new SeriesData(["value"],this);Fe.initData(Ie),this._categoriesData=Fe,this._categoriesModels=Fe.mapArray(function(Ue){return Fe.getItemModel(Ue)})},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.isAnimationEnabled=function(){return xe.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},$e.type="series.graph",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel),actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$G(xe){xe.registerChartView(GraphView),xe.registerSeriesModel(GraphSeriesModel),xe.registerProcessor(categoryFilter),xe.registerVisual(categoryVisual),xe.registerVisual(graphEdgeVisual),xe.registerLayout(graphSimpleLayout),xe.registerLayout(xe.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),xe.registerLayout(graphForceLayout),xe.registerCoordinateSystem("graphView",{dimensions:View.dimensions,create:createViewCoordSys}),xe.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop),xe.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop),xe.registerAction(actionInfo$1,function($e,Ie,Fe){Ie.eachComponent({mainType:"series",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}var PointerShape=function(){function xe(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return xe}(),PointerPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="pointer",Fe}return $e.prototype.getDefaultShape=function(){return new PointerShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Math.cos,qe=Math.sin,At=Fe.r,Dt=Fe.width,Lt=Fe.angle,jt=Fe.x-Ue(Lt)*Dt*(Dt>=At/3?1:2),hn=Fe.y-qe(Lt)*Dt*(Dt>=At/3?1:2);Lt=Fe.angle-Math.PI/2,Ie.moveTo(jt,hn),Ie.lineTo(Fe.x+Ue(Lt)*Dt,Fe.y+qe(Lt)*Dt),Ie.lineTo(Fe.x+Ue(Fe.angle)*At,Fe.y+qe(Fe.angle)*At),Ie.lineTo(Fe.x-Ue(Lt)*Dt,Fe.y-qe(Lt)*Dt),Ie.lineTo(jt,hn)},$e}(Path);function parsePosition(xe,$e){var Ie=xe.get("center"),Fe=$e.getWidth(),Ue=$e.getHeight(),qe=Math.min(Fe,Ue),At=parsePercent(Ie[0],$e.getWidth()),Dt=parsePercent(Ie[1],$e.getHeight()),Lt=parsePercent(xe.get("radius"),qe/2);return{cx:At,cy:Dt,r:Lt}}function formatLabel(xe,$e){var Ie=xe==null?"":xe+"";return $e&&(isString($e)?Ie=$e.replace("{value}",Ie):isFunction($e)&&(Ie=$e(xe))),Ie}var GaugeView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeAll();var qe=Ie.get(["axisLine","lineStyle","color"]),At=parsePosition(Ie,Ue);this._renderMain(Ie,Fe,Ue,qe,At),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.prototype._renderMain=function(Ie,Fe,Ue,qe,At){var Dt=this.group,Lt=Ie.get("clockwise"),jt=-Ie.get("startAngle")/180*Math.PI,hn=-Ie.get("endAngle")/180*Math.PI,vn=Ie.getModel("axisLine"),bn=vn.get("roundCap"),_n=bn?SausagePath:Sector,wn=vn.get("show"),kn=vn.getModel("lineStyle"),Cn=kn.get("width"),Sn=[jt,hn];normalizeArcAngles(Sn,!Lt),jt=Sn[0],hn=Sn[1];for(var xn=hn-jt,En=jt,Tn=[],An=0;wn&&An=Mn&&(In===0?0:qe[In-1][0])Math.PI/2&&(er+=Math.PI)):Xn==="tangential"?er=-Nn-Math.PI/2:isNumber(Xn)&&(er=Xn*Math.PI/180),er===0?vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:Ln<-.8?"top":Ln>.8?"bottom":"middle",align:Vn<-.4?"left":Vn>.4?"right":"center"},{inheritColor:jn}),silent:!0})):vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:"middle",align:"center"},{inheritColor:jn}),silent:!0,originX:Gn,originY:Wn,rotation:er}))}if(xn.get("show")&&Dn!==Tn){var Hn=xn.get("distance");Hn=Hn?Hn+hn:hn;for(var rr=0;rr<=An;rr++){Vn=Math.cos(Nn),Ln=Math.sin(Nn);var Jn=new Line$1({shape:{x1:Vn*(wn-Hn)+bn,y1:Ln*(wn-Hn)+_n,x2:Vn*(wn-Pn-Hn)+bn,y2:Ln*(wn-Pn-Hn)+_n},silent:!0,style:Rn});Rn.stroke==="auto"&&Jn.setStyle({stroke:qe((Dn+rr/An)/Tn)}),vn.add(Jn),Nn+=In}Nn-=In}else Nn+=Mn}},$e.prototype._renderPointer=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){var vn=this.group,bn=this._data,_n=this._progressEls,wn=[],kn=Ie.get(["pointer","show"]),Cn=Ie.getModel("progress"),Sn=Cn.get("show"),xn=Ie.getData(),En=xn.mapDimension("value"),Tn=+Ie.get("min"),An=+Ie.get("max"),$n=[Tn,An],Pn=[Dt,Lt];function Nn(In,On){var Rn=xn.getItemModel(In),Bn=Rn.getModel("pointer"),Vn=parsePercent(Bn.get("width"),At.r),Ln=parsePercent(Bn.get("length"),At.r),Dn=Ie.get(["pointer","icon"]),Hn=Bn.get("offsetCenter"),Fn=parsePercent(Hn[0],At.r),zn=parsePercent(Hn[1],At.r),jn=Bn.get("keepAspect"),Gn;return Dn?Gn=createSymbol$1(Dn,Fn-Vn/2,zn-Ln,Vn,Ln,null,jn):Gn=new PointerPath({shape:{angle:-Math.PI/2,width:Vn,r:Ln,x:Fn,y:zn}}),Gn.rotation=-(On+Math.PI/2),Gn.x=At.cx,Gn.y=At.cy,Gn}function Mn(In,On){var Rn=Cn.get("roundCap"),Bn=Rn?SausagePath:Sector,Vn=Cn.get("overlap"),Ln=Vn?Cn.get("width"):hn/xn.count(),Dn=Vn?At.r-Ln:At.r-(In+1)*Ln,Hn=Vn?At.r:At.r-In*Ln,Fn=new Bn({shape:{startAngle:Dt,endAngle:On,cx:At.cx,cy:At.cy,clockwise:jt,r0:Dn,r:Hn}});return Vn&&(Fn.z2=An-xn.get(En,In)%An),Fn}(Sn||kn)&&(xn.diff(bn).add(function(In){var On=xn.get(En,In);if(kn){var Rn=Nn(In,Dt);initProps(Rn,{rotation:-((isNaN(+On)?Pn[0]:linearMap$2(On,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Rn),xn.setItemGraphicEl(In,Rn)}if(Sn){var Bn=Mn(In,Dt),Vn=Cn.get("clip");initProps(Bn,{shape:{endAngle:linearMap$2(On,$n,Pn,Vn)}},Ie),vn.add(Bn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Bn),wn[In]=Bn}}).update(function(In,On){var Rn=xn.get(En,In);if(kn){var Bn=bn.getItemGraphicEl(On),Vn=Bn?Bn.rotation:Dt,Ln=Nn(In,Vn);Ln.rotation=Vn,updateProps$1(Ln,{rotation:-((isNaN(+Rn)?Pn[0]:linearMap$2(Rn,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Ln),xn.setItemGraphicEl(In,Ln)}if(Sn){var Dn=_n[On],Hn=Dn?Dn.shape.endAngle:Dt,Fn=Mn(In,Hn),zn=Cn.get("clip");updateProps$1(Fn,{shape:{endAngle:linearMap$2(Rn,$n,Pn,zn)}},Ie),vn.add(Fn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Fn),wn[In]=Fn}}).execute(),xn.each(function(In){var On=xn.getItemModel(In),Rn=On.getModel("emphasis"),Bn=Rn.get("focus"),Vn=Rn.get("blurScope"),Ln=Rn.get("disabled");if(kn){var Dn=xn.getItemGraphicEl(In),Hn=xn.getItemVisual(In,"style"),Fn=Hn.fill;if(Dn instanceof ZRImage){var zn=Dn.style;Dn.useStyle(extend({image:zn.image,x:zn.x,y:zn.y,width:zn.width,height:zn.height},Hn))}else Dn.useStyle(Hn),Dn.type!=="pointer"&&Dn.setColor(Fn);Dn.setStyle(On.getModel(["pointer","itemStyle"]).getItemStyle()),Dn.style.fill==="auto"&&Dn.setStyle("fill",qe(linearMap$2(xn.get(En,In),$n,[0,1],!0))),Dn.z2EmphasisLift=0,setStatesStylesFromModel(Dn,On),toggleHoverEmphasis(Dn,Bn,Vn,Ln)}if(Sn){var jn=wn[In];jn.useStyle(xn.getItemVisual(In,"style")),jn.setStyle(On.getModel(["progress","itemStyle"]).getItemStyle()),jn.z2EmphasisLift=0,setStatesStylesFromModel(jn,On),toggleHoverEmphasis(jn,Bn,Vn,Ln)}}),this._progressEls=wn)},$e.prototype._renderAnchor=function(Ie,Fe){var Ue=Ie.getModel("anchor"),qe=Ue.get("show");if(qe){var At=Ue.get("size"),Dt=Ue.get("icon"),Lt=Ue.get("offsetCenter"),jt=Ue.get("keepAspect"),hn=createSymbol$1(Dt,Fe.cx-At/2+parsePercent(Lt[0],Fe.r),Fe.cy-At/2+parsePercent(Lt[1],Fe.r),At,At,null,jt);hn.z2=Ue.get("showAbove")?1:0,hn.setStyle(Ue.getModel("itemStyle").getItemStyle()),this.group.add(hn)}},$e.prototype._renderTitleAndDetail=function(Ie,Fe,Ue,qe,At){var Dt=this,Lt=Ie.getData(),jt=Lt.mapDimension("value"),hn=+Ie.get("min"),vn=+Ie.get("max"),bn=new Group$3,_n=[],wn=[],kn=Ie.isAnimationEnabled(),Cn=Ie.get(["pointer","showAbove"]);Lt.diff(this._data).add(function(Sn){_n[Sn]=new ZRText({silent:!0}),wn[Sn]=new ZRText({silent:!0})}).update(function(Sn,xn){_n[Sn]=Dt._titleEls[xn],wn[Sn]=Dt._detailEls[xn]}).execute(),Lt.each(function(Sn){var xn=Lt.getItemModel(Sn),En=Lt.get(jt,Sn),Tn=new Group$3,An=qe(linearMap$2(En,[hn,vn],[0,1],!0)),$n=xn.getModel("title");if($n.get("show")){var Pn=$n.get("offsetCenter"),Nn=At.cx+parsePercent(Pn[0],At.r),Mn=At.cy+parsePercent(Pn[1],At.r),In=_n[Sn];In.attr({z2:Cn?0:2,style:createTextStyle($n,{x:Nn,y:Mn,text:Lt.getName(Sn),align:"center",verticalAlign:"middle"},{inheritColor:An})}),Tn.add(In)}var On=xn.getModel("detail");if(On.get("show")){var Rn=On.get("offsetCenter"),Bn=At.cx+parsePercent(Rn[0],At.r),Vn=At.cy+parsePercent(Rn[1],At.r),Ln=parsePercent(On.get("width"),At.r),Dn=parsePercent(On.get("height"),At.r),Hn=Ie.get(["progress","show"])?Lt.getItemVisual(Sn,"style").fill:An,In=wn[Sn],Fn=On.get("formatter");In.attr({z2:Cn?0:2,style:createTextStyle(On,{x:Bn,y:Vn,text:formatLabel(En,Fn),width:isNaN(Ln)?null:Ln,height:isNaN(Dn)?null:Dn,align:"center",verticalAlign:"middle"},{inheritColor:Hn})}),setLabelValueAnimation(In,{normal:On},En,function(jn){return formatLabel(jn,Fn)}),kn&&animateLabelValue(In,Sn,Lt,Ie,{getFormattedLabel:function(jn,Gn,Wn,Xn,er,rr){return formatLabel(rr?rr.interpolatedValue:En,Fn)}}),Tn.add(In)}bn.add(Tn)}),this.group.add(bn),this._titleEls=_n,this._detailEls=wn},$e.type="gauge",$e}(ChartView),GaugeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="itemStyle",Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,["value"])},$e.type="series.gauge",$e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},$e}(SeriesModel);function install$F(xe){xe.registerChartView(GaugeView),xe.registerSeriesModel(GaugeSeriesModel)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=Ue,At=new Polyline$1,Dt=new ZRText;return qe.setTextContent(Dt),Ue.setTextGuideLine(At),Ue.updateData(Ie,Fe,!0),Ue}return $e.prototype.updateData=function(Ie,Fe,Ue){var qe=this,At=Ie.hostModel,Dt=Ie.getItemModel(Fe),Lt=Ie.getItemLayout(Fe),jt=Dt.getModel("emphasis"),hn=Dt.get(opacityAccessPath$1);hn=hn??1,Ue||saveOldStyle(qe),qe.useStyle(Ie.getItemVisual(Fe,"style")),qe.style.lineJoin="round",Ue?(qe.setShape({points:Lt.points}),qe.style.opacity=0,initProps(qe,{style:{opacity:hn}},At,Fe)):updateProps$1(qe,{style:{opacity:hn},shape:{points:Lt.points}},At,Fe),setStatesStylesFromModel(qe,Dt),this._updateLabel(Ie,Fe),toggleHoverEmphasis(this,jt.get("focus"),jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie,Fe){var Ue=this,qe=this.getTextGuideLine(),At=Ue.getTextContent(),Dt=Ie.hostModel,Lt=Ie.getItemModel(Fe),jt=Ie.getItemLayout(Fe),hn=jt.label,vn=Ie.getItemVisual(Fe,"style"),bn=vn.fill;setLabelStyle(At,getLabelStatesModels(Lt),{labelFetcher:Ie.hostModel,labelDataIndex:Fe,defaultOpacity:vn.opacity,defaultText:Ie.getName(Fe)},{normal:{align:hn.textAlign,verticalAlign:hn.verticalAlign}}),Ue.setTextConfig({local:!0,inside:!!hn.inside,insideStroke:bn,outsideFill:bn});var _n=hn.linePoints;qe.setShape({points:_n}),Ue.textGuideLineConfig={anchor:_n?new Point(_n[0][0],_n[0][1]):null},updateProps$1(At,{style:{x:hn.x,y:hn.y}},Dt,Fe),At.attr({rotation:hn.rotation,originX:hn.x,originY:hn.y,z2:10}),setLabelLineStyle(Ue,getLabelLineStatesModels(Lt),{stroke:bn})},$e}(Polygon),FunnelView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreLabelLineUpdate=!0,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._data,Dt=this.group;qe.diff(At).add(function(Lt){var jt=new FunnelPiece(qe,Lt);qe.setItemGraphicEl(Lt,jt),Dt.add(jt)}).update(function(Lt,jt){var hn=At.getItemGraphicEl(jt);hn.updateData(qe,Lt),Dt.add(hn),qe.setItemGraphicEl(Lt,hn)}).remove(function(Lt){var jt=At.getItemGraphicEl(Lt);removeElementWithFadeOut(jt,Ie,Lt)}).execute(),this._data=qe},$e.prototype.remove=function(){this.group.removeAll(),this._data=null},$e.prototype.dispose=function(){},$e.type="funnel",$e}(ChartView),FunnelSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=xe.prototype.getDataParams.call(this,Ie),qe=Fe.mapDimension("value"),At=Fe.getSum(qe);return Ue.percent=At?+(Fe.get(qe,Ie)/At*100).toFixed(2):0,Ue.$vars.push("percent"),Ue},$e.type="series.funnel",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function getViewRect$2(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getSortedIndices(xe,$e){for(var Ie=xe.mapDimension("value"),Fe=xe.mapArray(Ie,function(Lt){return Lt}),Ue=[],qe=$e==="ascending",At=0,Dt=xe.count();AtCLICK_THRESHOLD)return;var Ue=this._model.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]);Ue.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:Ue.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(xe){if(!(this._mouseDownPoint||!checkTrigger(this,"mousemove"))){var $e=this._model,Ie=$e.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]),Fe=Ie.behavior;Fe==="jump"&&this._throttledDispatchExpand.debounceNextCall($e.get("axisExpandDebounce")),this._throttledDispatchExpand(Fe==="none"?null:{axisExpandWindow:Ie.axisExpandWindow,animation:Fe==="jump"?null:{duration:0}})}}};function checkTrigger(xe,$e){var Ie=xe._model;return Ie.get("axisExpandable")&&Ie.get("axisExpandTriggerOn")===$e}var ParallelModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){xe.prototype.init.apply(this,arguments),this.mergeOption({})},$e.prototype.mergeOption=function(Ie){var Fe=this.option;Ie&&merge(Fe,Ie,!0),this._initDimensions()},$e.prototype.contains=function(Ie,Fe){var Ue=Ie.get("parallelIndex");return Ue!=null&&Fe.getComponent("parallel",Ue)===this},$e.prototype.setAxisExpand=function(Ie){each$f(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(Fe){Ie.hasOwnProperty(Fe)&&(this.option[Fe]=Ie[Fe])},this)},$e.prototype._initDimensions=function(){var Ie=this.dimensions=[],Fe=this.parallelAxisIndex=[],Ue=filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(qe){return(qe.get("parallelIndex")||0)===this.componentIndex},this);each$f(Ue,function(qe){Ie.push("dim"+qe.get("dim")),Fe.push(qe.componentIndex)})},$e.type="parallel",$e.dependencies=["parallelAxis"],$e.layoutMode="box",$e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},$e}(ComponentModel),ParallelAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.type=qe||"value",Dt.axisIndex=At,Dt}return $e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},$e}(Axis);function sliderMove(xe,$e,Ie,Fe,Ue,qe){xe=xe||0;var At=Ie[1]-Ie[0];if(Ue!=null&&(Ue=restrict$1(Ue,[0,At])),qe!=null&&(qe=Math.max(qe,Ue??0)),Fe==="all"){var Dt=Math.abs($e[1]-$e[0]);Dt=restrict$1(Dt,[0,At]),Ue=qe=restrict$1(Dt,[Ue,qe]),Fe=0}$e[0]=restrict$1($e[0],Ie),$e[1]=restrict$1($e[1],Ie);var Lt=getSpanSign($e,Fe);$e[Fe]+=xe;var jt=Ue||0,hn=Ie.slice();Lt.sign<0?hn[0]+=jt:hn[1]-=jt,$e[Fe]=restrict$1($e[Fe],hn);var vn;return vn=getSpanSign($e,Fe),Ue!=null&&(vn.sign!==Lt.sign||vn.spanqe&&($e[1-Fe]=$e[Fe]+vn.sign*qe),$e}function getSpanSign(xe,$e){var Ie=xe[$e]-xe[1-$e];return{span:Math.abs(Ie),sign:Ie>0?-1:Ie<0?1:$e?-1:1}}function restrict$1(xe,$e){return Math.min($e[1]!=null?$e[1]:1/0,Math.max($e[0]!=null?$e[0]:-1/0,xe))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function xe($e,Ie,Fe){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=$e.dimensions,this._model=$e,this._init($e,Ie,Fe)}return xe.prototype._init=function($e,Ie,Fe){var Ue=$e.dimensions,qe=$e.parallelAxisIndex;each$a(Ue,function(At,Dt){var Lt=qe[Dt],jt=Ie.getComponent("parallelAxis",Lt),hn=this._axesMap.set(At,new ParallelAxis(At,createScaleByModel$1(jt),[0,0],jt.get("type"),Lt)),vn=hn.type==="category";hn.onBand=vn&&jt.get("boundaryGap"),hn.inverse=jt.get("inverse"),jt.axis=hn,hn.model=jt,hn.coordinateSystem=jt.coordinateSystem=this},this)},xe.prototype.update=function($e,Ie){this._updateAxesFromSeries(this._model,$e)},xe.prototype.containPoint=function($e){var Ie=this._makeLayoutInfo(),Fe=Ie.axisBase,Ue=Ie.layoutBase,qe=Ie.pixelDimIndex,At=$e[1-qe],Dt=$e[qe];return At>=Fe&&At<=Fe+Ie.axisLength&&Dt>=Ue&&Dt<=Ue+Ie.layoutLength},xe.prototype.getModel=function(){return this._model},xe.prototype._updateAxesFromSeries=function($e,Ie){Ie.eachSeries(function(Fe){if($e.contains(Fe,Ie)){var Ue=Fe.getData();each$a(this.dimensions,function(qe){var At=this._axesMap.get(qe);At.scale.unionExtentFromData(Ue,Ue.mapDimension(qe)),niceScaleExtent(At.scale,At.model)},this)}},this)},xe.prototype.resize=function($e,Ie){this._rect=getLayoutRect($e.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),this._layoutAxes()},xe.prototype.getRect=function(){return this._rect},xe.prototype._makeLayoutInfo=function(){var $e=this._model,Ie=this._rect,Fe=["x","y"],Ue=["width","height"],qe=$e.get("layout"),At=qe==="horizontal"?0:1,Dt=Ie[Ue[At]],Lt=[0,Dt],jt=this.dimensions.length,hn=restrict($e.get("axisExpandWidth"),Lt),vn=restrict($e.get("axisExpandCount")||0,[0,jt]),bn=$e.get("axisExpandable")&&jt>3&&jt>vn&&vn>1&&hn>0&&Dt>0,_n=$e.get("axisExpandWindow"),wn;if(_n)wn=restrict(_n[1]-_n[0],Lt),_n[1]=_n[0]+wn;else{wn=restrict(hn*(vn-1),Lt);var kn=$e.get("axisExpandCenter")||mathFloor(jt/2);_n=[hn*kn-wn/2],_n[1]=_n[0]+wn}var Cn=(Dt-wn)/(jt-vn);Cn<3&&(Cn=0);var Sn=[mathFloor(round(_n[0]/hn,1))+1,mathCeil(round(_n[1]/hn,1))-1],xn=Cn/hn*_n[0];return{layout:qe,pixelDimIndex:At,layoutBase:Ie[Fe[At]],layoutLength:Dt,axisBase:Ie[Fe[1-At]],axisLength:Ie[Ue[1-At]],axisExpandable:bn,axisExpandWidth:hn,axisCollapseWidth:Cn,axisExpandWindow:_n,axisCount:jt,winInnerIndices:Sn,axisExpandWindow0Pos:xn}},xe.prototype._layoutAxes=function(){var $e=this._rect,Ie=this._axesMap,Fe=this.dimensions,Ue=this._makeLayoutInfo(),qe=Ue.layout;Ie.each(function(At){var Dt=[0,Ue.axisLength],Lt=At.inverse?1:0;At.setExtent(Dt[Lt],Dt[1-Lt])}),each$a(Fe,function(At,Dt){var Lt=(Ue.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(Dt,Ue),jt={horizontal:{x:Lt.position,y:Ue.axisLength},vertical:{x:0,y:Lt.position}},hn={horizontal:PI$1/2,vertical:0},vn=[jt[qe].x+$e.x,jt[qe].y+$e.y],bn=hn[qe],_n=create$1();rotate(_n,_n,bn),translate(_n,_n,vn),this._axesLayout[At]={position:vn,rotation:bn,transform:_n,axisNameAvailableWidth:Lt.axisNameAvailableWidth,axisLabelShow:Lt.axisLabelShow,nameTruncateMaxWidth:Lt.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},xe.prototype.getAxis=function($e){return this._axesMap.get($e)},xe.prototype.dataToPoint=function($e,Ie){return this.axisCoordToPoint(this._axesMap.get(Ie).dataToCoord($e),Ie)},xe.prototype.eachActiveState=function($e,Ie,Fe,Ue){Fe==null&&(Fe=0),Ue==null&&(Ue=$e.count());var qe=this._axesMap,At=this.dimensions,Dt=[],Lt=[];each$f(At,function(Cn){Dt.push($e.mapDimension(Cn)),Lt.push(qe.get(Cn).model)});for(var jt=this.hasAxisBrushed(),hn=Fe;hnqe*(1-vn[0])?(jt="jump",Lt=Dt-qe*(1-vn[2])):(Lt=Dt-qe*vn[1])>=0&&(Lt=Dt-qe*(1-vn[1]))<=0&&(Lt=0),Lt*=Ie.axisExpandWidth/hn,Lt?sliderMove(Lt,Ue,At,"all"):jt="none";else{var _n=Ue[1]-Ue[0],wn=At[1]*Dt/_n;Ue=[mathMax$2(0,wn-_n/2)],Ue[1]=mathMin$2(At[1],Ue[0]+_n),Ue[0]=Ue[1]-_n}return{axisExpandWindow:Ue,behavior:jt}},xe}();function restrict(xe,$e){return mathMin$2(mathMax$2(xe,$e[0]),$e[1])}function layoutAxisWithoutExpand(xe,$e){var Ie=$e.layoutLength/($e.axisCount-1);return{position:Ie*xe,axisNameAvailableWidth:Ie,axisLabelShow:!0}}function layoutAxisWithExpand(xe,$e){var Ie=$e.layoutLength,Fe=$e.axisExpandWidth,Ue=$e.axisCount,qe=$e.axisCollapseWidth,At=$e.winInnerIndices,Dt,Lt=qe,jt=!1,hn;return xe=0;Ue--)asc$2(Fe[Ue])},$e.prototype.getActiveState=function(Ie){var Fe=this.activeIntervals;if(!Fe.length)return"normal";if(Ie==null||isNaN(+Ie))return"inactive";if(Fe.length===1){var Ue=Fe[0];if(Ue[0]<=Ie&&Ie<=Ue[1])return"active"}else for(var qe=0,At=Fe.length;qeUNSELECT_THRESHOLD}function getTrackEnds(xe){var $e=xe.length-1;return $e<0&&($e=0),[xe[0],xe[$e]]}function createBaseRectCover(xe,$e,Ie,Fe){var Ue=new Group$3;return Ue.add(new Rect$2({name:"main",style:makeStyle(Ie),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,xe,$e,Ue,["n","s","w","e"]),ondragend:curry$1(trigger,$e,{isEnd:!0})})),each$f(Fe,function(qe){Ue.add(new Rect$2({name:qe.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,xe,$e,Ue,qe),ondragend:curry$1(trigger,$e,{isEnd:!0})}))}),Ue}function updateBaseRect(xe,$e,Ie,Fe){var Ue=Fe.brushStyle.lineWidth||0,qe=mathMax$1(Ue,MIN_RESIZE_LINE_WIDTH),At=Ie[0][0],Dt=Ie[1][0],Lt=At-Ue/2,jt=Dt-Ue/2,hn=Ie[0][1],vn=Ie[1][1],bn=hn-qe+Ue/2,_n=vn-qe+Ue/2,wn=hn-At,kn=vn-Dt,Cn=wn+Ue,Sn=kn+Ue;updateRectShape(xe,$e,"main",At,Dt,wn,kn),Fe.transformable&&(updateRectShape(xe,$e,"w",Lt,jt,qe,Sn),updateRectShape(xe,$e,"e",bn,jt,qe,Sn),updateRectShape(xe,$e,"n",Lt,jt,Cn,qe),updateRectShape(xe,$e,"s",Lt,_n,Cn,qe),updateRectShape(xe,$e,"nw",Lt,jt,qe,qe),updateRectShape(xe,$e,"ne",bn,jt,qe,qe),updateRectShape(xe,$e,"sw",Lt,_n,qe,qe),updateRectShape(xe,$e,"se",bn,_n,qe,qe))}function updateCommon$1(xe,$e){var Ie=$e.__brushOption,Fe=Ie.transformable,Ue=$e.childAt(0);Ue.useStyle(makeStyle(Ie)),Ue.attr({silent:!Fe,cursor:Fe?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(qe){var At=$e.childOfName(qe.join("")),Dt=qe.length===1?getGlobalDirection1(xe,qe[0]):getGlobalDirection2(xe,qe);At&&At.attr({silent:!Fe,invisible:!Fe,cursor:Fe?CURSOR_MAP[Dt]+"-resize":null})})}function updateRectShape(xe,$e,Ie,Fe,Ue,qe,At){var Dt=$e.childOfName(Ie);Dt&&Dt.setShape(pointsToRect(clipByPanel(xe,$e,[[Fe,Ue],[Fe+qe,Ue+At]])))}function makeStyle(xe){return defaults({strokeNoScale:!0},xe.brushStyle)}function formatRectRange(xe,$e,Ie,Fe){var Ue=[mathMin$1(xe,Ie),mathMin$1($e,Fe)],qe=[mathMax$1(xe,Ie),mathMax$1($e,Fe)];return[[Ue[0],qe[0]],[Ue[1],qe[1]]]}function getTransform(xe){return getTransform$1(xe.group)}function getGlobalDirection1(xe,$e){var Ie={w:"left",e:"right",n:"top",s:"bottom"},Fe={left:"w",right:"e",top:"n",bottom:"s"},Ue=transformDirection(Ie[$e],getTransform(xe));return Fe[Ue]}function getGlobalDirection2(xe,$e){var Ie=[getGlobalDirection1(xe,$e[0]),getGlobalDirection1(xe,$e[1])];return(Ie[0]==="e"||Ie[0]==="w")&&Ie.reverse(),Ie.join("")}function driftRect(xe,$e,Ie,Fe,Ue,qe){var At=Ie.__brushOption,Dt=xe.toRectRange(At.range),Lt=toLocalDelta($e,Ue,qe);each$f(Fe,function(jt){var hn=DIRECTION_MAP[jt];Dt[hn[0]][hn[1]]+=Lt[hn[0]]}),At.range=xe.fromRectRange(formatRectRange(Dt[0][0],Dt[1][0],Dt[0][1],Dt[1][1])),updateCoverAfterCreation($e,Ie),trigger($e,{isEnd:!1})}function driftPolygon(xe,$e,Ie,Fe){var Ue=$e.__brushOption.range,qe=toLocalDelta(xe,Ie,Fe);each$f(Ue,function(At){At[0]+=qe[0],At[1]+=qe[1]}),updateCoverAfterCreation(xe,$e),trigger(xe,{isEnd:!1})}function toLocalDelta(xe,$e,Ie){var Fe=xe.group,Ue=Fe.transformCoordToLocal($e,Ie),qe=Fe.transformCoordToLocal(0,0);return[Ue[0]-qe[0],Ue[1]-qe[1]]}function clipByPanel(xe,$e,Ie){var Fe=getPanelByCover(xe,$e);return Fe&&Fe!==BRUSH_PANEL_GLOBAL?Fe.clipPath(Ie,xe._transform):clone$4(Ie)}function pointsToRect(xe){var $e=mathMin$1(xe[0][0],xe[1][0]),Ie=mathMin$1(xe[0][1],xe[1][1]),Fe=mathMax$1(xe[0][0],xe[1][0]),Ue=mathMax$1(xe[0][1],xe[1][1]);return{x:$e,y:Ie,width:Fe-$e,height:Ue-Ie}}function resetCursor(xe,$e,Ie){if(!(!xe._brushType||isOutsideZrArea(xe,$e.offsetX,$e.offsetY))){var Fe=xe._zr,Ue=xe._covers,qe=getPanelByPoint(xe,$e,Ie);if(!xe._dragging)for(var At=0;AtFe.getWidth()||Ie<0||Ie>Fe.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(xe,$e){function Ie(Fe){return Fe}return createBaseRectCover({toRectRange:Ie,fromRectRange:Ie},xe,$e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(xe){var $e=getTrackEnds(xe);return formatRectRange($e[1][0],$e[1][1],$e[0][0],$e[0][1])},updateCoverShape:function(xe,$e,Ie,Fe){updateBaseRect(xe,$e,Ie,Fe)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(xe,$e){var Ie=new Group$3;return Ie.add(new Polyline$1({name:"main",style:makeStyle($e),silent:!0})),Ie},getCreatingRange:function(xe){return xe},endCreating:function(xe,$e){$e.remove($e.childAt(0)),$e.add(new Polygon({name:"main",draggable:!0,drift:curry$1(driftPolygon,xe,$e),ondragend:curry$1(trigger,xe,{isEnd:!0})}))},updateCoverShape:function(xe,$e,Ie,Fe){$e.childAt(0).setShape({points:clipByPanel(xe,$e,Ie)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(xe){return{createCover:function($e,Ie){return createBaseRectCover({toRectRange:function(Fe){var Ue=[Fe,[0,100]];return xe&&Ue.reverse(),Ue},fromRectRange:function(Fe){return Fe[xe]}},$e,Ie,[[["w"],["e"]],[["n"],["s"]]][xe])},getCreatingRange:function($e){var Ie=getTrackEnds($e),Fe=mathMin$1(Ie[0][xe],Ie[1][xe]),Ue=mathMax$1(Ie[0][xe],Ie[1][xe]);return[Fe,Ue]},updateCoverShape:function($e,Ie,Fe,Ue){var qe,At=getPanelByCover($e,Ie);if(At!==BRUSH_PANEL_GLOBAL&&At.getLinearBrushOtherExtent)qe=At.getLinearBrushOtherExtent(xe);else{var Dt=$e._zr;qe=[0,[Dt.getWidth(),Dt.getHeight()][1-xe]]}var Lt=[Fe,qe];xe&&Lt.reverse(),updateBaseRect($e,Ie,Lt,Ue)},updateCommon:updateCommon$1,contain:mainShapeContain}}function makeRectPanelClipPath(xe){return xe=normalizeRect(xe),function($e){return clipPointsByRect($e,xe)}}function makeLinearBrushOtherExtent(xe,$e){return xe=normalizeRect(xe),function(Ie){var Fe=$e??Ie,Ue=Fe?xe.width:xe.height,qe=Fe?xe.x:xe.y;return[qe,qe+(Ue||0)]}}function makeRectIsTargetByCursor(xe,$e,Ie){var Fe=normalizeRect(xe);return function(Ue,qe){return Fe.contain(qe[0],qe[1])&&!onIrrelevantElement(Ue,$e,Ie)}}function normalizeRect(xe){return BoundingRect.create(xe)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){xe.prototype.init.apply(this,arguments),(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$1(this._onBrush,this))},$e.prototype.render=function(Ie,Fe,Ue,qe){if(!fromAxisAreaSelect(Ie,Fe,qe)){this.axisModel=Ie,this.api=Ue,this.group.removeAll();var At=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!Ie.get("show")){var Dt=getCoordSysModel(Ie,Fe),Lt=Dt.coordinateSystem,jt=Ie.getAreaSelectStyle(),hn=jt.width,vn=Ie.axis.dim,bn=Lt.getAxisLayout(vn),_n=extend({strokeContainThreshold:hn},bn),wn=new AxisBuilder(Ie,_n);each$f(elementList$1,wn.add,wn),this._axisGroup.add(wn.getGroup()),this._refreshBrushController(_n,jt,Ie,Dt,hn,Ue),groupTransition(At,this._axisGroup,Ie)}}},$e.prototype._refreshBrushController=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ue.axis.getExtent(),jt=Lt[1]-Lt[0],hn=Math.min(30,Math.abs(jt)*.1),vn=BoundingRect.create({x:Lt[0],y:-At/2,width:jt,height:At});vn.x-=hn,vn.width+=2*hn,this._brushController.mount({enableGlobalPan:!0,rotation:Ie.rotation,x:Ie.position[0],y:Ie.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(vn),isTargetByCursor:makeRectIsTargetByCursor(vn,Dt,qe),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(vn,0)}]).enableBrush({brushType:"lineX",brushStyle:Fe,removeOnClick:!0}).updateCovers(getCoverInfoList(Ue))},$e.prototype._onBrush=function(Ie){var Fe=Ie.areas,Ue=this.axisModel,qe=Ue.axis,At=map$1(Fe,function(Dt){return[qe.coordToData(Dt.range[0],!0),qe.coordToData(Dt.range[1],!0)]});(!Ue.option.realtime===Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:Ue.id,intervals:At})},$e.prototype.dispose=function(){this._brushController.dispose()},$e.type="parallelAxis",$e}(ComponentView);function fromAxisAreaSelect(xe,$e,Ie){return Ie&&Ie.type==="axisAreaSelect"&&$e.findComponents({mainType:"parallelAxis",query:Ie})[0]===xe}function getCoverInfoList(xe){var $e=xe.axis;return map$1(xe.activeIntervals,function(Ie){return{brushType:"lineX",panelId:"pl",range:[$e.dataToCoord(Ie[0],!0),$e.dataToCoord(Ie[1],!0)]}})}function getCoordSysModel(xe,$e){return $e.getComponent("parallel",xe.get("parallelIndex"))}var actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(xe){xe.registerAction(actionInfo,function($e,Ie){Ie.eachComponent({mainType:"parallelAxis",query:$e},function(Fe){Fe.axis.model.setActiveIntervals($e.intervals)})}),xe.registerAction("parallelAxisExpand",function($e,Ie){Ie.eachComponent({mainType:"parallel",query:$e},function(Fe){Fe.setAxisExpand($e)})})}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$D(xe){xe.registerComponentView(ParallelView),xe.registerComponentModel(ParallelModel),xe.registerCoordinateSystem("parallel",parallelCoordSysCreator),xe.registerPreprocessor(parallelPreprocessor),xe.registerComponentModel(ParallelAxisModel),xe.registerComponentView(ParallelAxisView),axisModelCreator(xe,"parallel",ParallelAxisModel,defaultAxisOption),installParallelActions(xe)}function install$C(xe){use(install$D),xe.registerChartView(ParallelView$1),xe.registerSeriesModel(ParallelSeriesModel),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,parallelVisual)}var SankeyPathShape=function(){function xe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return xe}(),SankeyPath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SankeyPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.extent;Ie.moveTo(Fe.x1,Fe.y1),Ie.bezierCurveTo(Fe.cpx1,Fe.cpy1,Fe.cpx2,Fe.cpy2,Fe.x2,Fe.y2),Fe.orient==="vertical"?(Ie.lineTo(Fe.x2+Ue,Fe.y2),Ie.bezierCurveTo(Fe.cpx2+Ue,Fe.cpy2,Fe.cpx1+Ue,Fe.cpy1,Fe.x1+Ue,Fe.y1)):(Ie.lineTo(Fe.x2,Fe.y2+Ue),Ie.bezierCurveTo(Fe.cpx2,Fe.cpy2+Ue,Fe.cpx1,Fe.cpy1+Ue,Fe.x1,Fe.y1+Ue)),Ie.closePath()},$e.prototype.highlight=function(){enterEmphasis(this)},$e.prototype.downplay=function(){leaveEmphasis(this)},$e}(Path),SankeyView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._focusAdjacencyDisabled=!1,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.getGraph(),Dt=this.group,Lt=Ie.layoutInfo,jt=Lt.width,hn=Lt.height,vn=Ie.getData(),bn=Ie.getData("edge"),_n=Ie.get("orient");this._model=Ie,Dt.removeAll(),Dt.x=Lt.x,Dt.y=Lt.y,At.eachEdge(function(wn){var kn=new SankeyPath,Cn=getECData(kn);Cn.dataIndex=wn.dataIndex,Cn.seriesIndex=Ie.seriesIndex,Cn.dataType="edge";var Sn=wn.getModel(),xn=Sn.getModel("lineStyle"),En=xn.get("curveness"),Tn=wn.node1.getLayout(),An=wn.node1.getModel(),$n=An.get("localX"),Pn=An.get("localY"),Nn=wn.node2.getLayout(),Mn=wn.node2.getModel(),In=Mn.get("localX"),On=Mn.get("localY"),Rn=wn.getLayout(),Bn,Vn,Ln,Dn,Hn,Fn,zn,jn;kn.shape.extent=Math.max(1,Rn.dy),kn.shape.orient=_n,_n==="vertical"?(Bn=($n!=null?$n*jt:Tn.x)+Rn.sy,Vn=(Pn!=null?Pn*hn:Tn.y)+Tn.dy,Ln=(In!=null?In*jt:Nn.x)+Rn.ty,Dn=On!=null?On*hn:Nn.y,Hn=Bn,Fn=Vn*(1-En)+Dn*En,zn=Ln,jn=Vn*En+Dn*(1-En)):(Bn=($n!=null?$n*jt:Tn.x)+Tn.dx,Vn=(Pn!=null?Pn*hn:Tn.y)+Rn.sy,Ln=In!=null?In*jt:Nn.x,Dn=(On!=null?On*hn:Nn.y)+Rn.ty,Hn=Bn*(1-En)+Ln*En,Fn=Vn,zn=Bn*En+Ln*(1-En),jn=Dn),kn.setShape({x1:Bn,y1:Vn,x2:Ln,y2:Dn,cpx1:Hn,cpy1:Fn,cpx2:zn,cpy2:jn}),kn.useStyle(xn.getItemStyle()),applyCurveStyle(kn.style,_n,wn);var Gn=""+Sn.get("value"),Wn=getLabelStatesModels(Sn,"edgeLabel");setLabelStyle(kn,Wn,{labelFetcher:{getFormattedLabel:function(rr,Jn,Yn,qn,ar,tr){return Ie.getFormattedLabel(rr,Jn,"edge",qn,retrieve3(ar,Wn.normal&&Wn.normal.get("formatter"),Gn),tr)}},labelDataIndex:wn.dataIndex,defaultText:Gn}),kn.setTextConfig({position:"inside"});var Xn=Sn.getModel("emphasis");setStatesStylesFromModel(kn,Sn,"lineStyle",function(rr){var Jn=rr.getItemStyle();return applyCurveStyle(Jn,_n,wn),Jn}),Dt.add(kn),bn.setItemGraphicEl(wn.dataIndex,kn);var er=Xn.get("focus");toggleHoverEmphasis(kn,er==="adjacency"?wn.getAdjacentDataIndices():er==="trajectory"?wn.getTrajectoryDataIndices():er,Xn.get("blurScope"),Xn.get("disabled"))}),At.eachNode(function(wn){var kn=wn.getLayout(),Cn=wn.getModel(),Sn=Cn.get("localX"),xn=Cn.get("localY"),En=Cn.getModel("emphasis"),Tn=new Rect$2({shape:{x:Sn!=null?Sn*jt:kn.x,y:xn!=null?xn*hn:kn.y,width:kn.dx,height:kn.dy},style:Cn.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(Tn,getLabelStatesModels(Cn),{labelFetcher:{getFormattedLabel:function($n,Pn){return Ie.getFormattedLabel($n,Pn,"node")}},labelDataIndex:wn.dataIndex,defaultText:wn.id}),Tn.disableLabelAnimation=!0,Tn.setStyle("fill",wn.getVisual("color")),Tn.setStyle("decal",wn.getVisual("style").decal),setStatesStylesFromModel(Tn,Cn),Dt.add(Tn),vn.setItemGraphicEl(wn.dataIndex,Tn),getECData(Tn).dataType="node";var An=En.get("focus");toggleHoverEmphasis(Tn,An==="adjacency"?wn.getAdjacentDataIndices():An==="trajectory"?wn.getTrajectoryDataIndices():An,En.get("blurScope"),En.get("disabled"))}),vn.eachItemGraphicEl(function(wn,kn){var Cn=vn.getItemModel(kn);Cn.get("draggable")&&(wn.drift=function(Sn,xn){qe._focusAdjacencyDisabled=!0,this.shape.x+=Sn,this.shape.y+=xn,this.dirty(),Ue.dispatchAction({type:"dragNode",seriesId:Ie.id,dataIndex:vn.getRawIndex(kn),localX:this.shape.x/jt,localY:this.shape.y/hn})},wn.ondragend=function(){qe._focusAdjacencyDisabled=!1},wn.draggable=!0,wn.cursor="move")}),!this._data&&Ie.isAnimationEnabled()&&Dt.setClipPath(createGridClipShape$1(Dt.getBoundingRect(),Ie,function(){Dt.removeClipPath()})),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.type="sankey",$e}(ChartView);function applyCurveStyle(xe,$e,Ie){switch(xe.fill){case"source":xe.fill=Ie.node1.getVisual("color"),xe.decal=Ie.node1.getVisual("style").decal;break;case"target":xe.fill=Ie.node2.getVisual("color"),xe.decal=Ie.node2.getVisual("style").decal;break;case"gradient":var Fe=Ie.node1.getVisual("color"),Ue=Ie.node2.getVisual("color");isString(Fe)&&isString(Ue)&&(xe.fill=new LinearGradient(0,0,+($e==="horizontal"),+($e==="vertical"),[{color:Fe,offset:0},{color:Ue,offset:1}]))}}function createGridClipShape$1(xe,$e,Ie){var Fe=new Rect$2({shape:{x:xe.x-10,y:xe.y-10,width:0,height:xe.height+20}});return initProps(Fe,{shape:{width:xe.width+20}},$e,Ie),Fe}var SankeySeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links,qe=Ie.data||Ie.nodes,At=Ie.levels;this.levelModels=[];for(var Dt=this.levelModels,Lt=0;Lt=0&&(Dt[At[Lt].depth]=new Model(At[Lt],this,Fe));if(qe&&Ue){var jt=createGraphFromNodeEdge(qe,Ue,this,!0,hn);return jt.data}function hn(vn,bn){vn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getData().getItemLayout(wn);if(Cn){var Sn=Cn.depth,xn=kn.levelModels[Sn];xn&&(_n.parentModel=xn)}return _n}),bn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getGraph().getEdgeByIndex(wn),Sn=Cn.node1.getLayout();if(Sn){var xn=Sn.depth,En=kn.levelModels[xn];En&&(_n.parentModel=En)}return _n})}},$e.prototype.setNodePosition=function(Ie,Fe){var Ue=this.option.data||this.option.nodes,qe=Ue[Ie];qe.localX=Fe[0],qe.localY=Fe[1]},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){function qe(_n){return isNaN(_n)||_n==null}if(Ue==="edge"){var At=this.getDataParams(Ie,Ue),Dt=At.data,Lt=At.value,jt=Dt.source+" -- "+Dt.target;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:qe(Lt)})}else{var hn=this.getGraph().getNodeByIndex(Ie),vn=hn.getLayout().value,bn=this.getDataParams(Ie,Ue).data.name;return createTooltipMarkup("nameValue",{name:bn!=null?bn+"":null,value:vn,noValue:qe(vn)})}},$e.prototype.optionUpdated=function(){},$e.prototype.getDataParams=function(Ie,Fe){var Ue=xe.prototype.getDataParams.call(this,Ie,Fe);if(Ue.value==null&&Fe==="node"){var qe=this.getGraph().getNodeByIndex(Ie),At=qe.getLayout().value;Ue.value=At}return Ue},$e.type="series.sankey",$e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},$e}(SeriesModel);function sankeyLayout(xe,$e){xe.eachSeriesByType("sankey",function(Ie){var Fe=Ie.get("nodeWidth"),Ue=Ie.get("nodeGap"),qe=getViewRect$1(Ie,$e);Ie.layoutInfo=qe;var At=qe.width,Dt=qe.height,Lt=Ie.getGraph(),jt=Lt.nodes,hn=Lt.edges;computeNodeValues(jt);var vn=filter(jt,function(kn){return kn.getLayout().value===0}),bn=vn.length!==0?0:Ie.get("layoutIterations"),_n=Ie.get("orient"),wn=Ie.get("nodeAlign");layoutSankey(jt,hn,Fe,Ue,At,Dt,bn,_n,wn)})}function getViewRect$1(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function layoutSankey(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){computeNodeBreadths(xe,$e,Ie,Ue,qe,Dt,Lt),computeNodeDepths(xe,$e,qe,Ue,Fe,At,Dt),computeEdgeDepths(xe,Dt)}function computeNodeValues(xe){each$f(xe,function($e){var Ie=sum($e.outEdges,getEdgeValue),Fe=sum($e.inEdges,getEdgeValue),Ue=$e.getValue()||0,qe=Math.max(Ie,Fe,Ue);$e.setLayout({value:qe},!0)})}function computeNodeBreadths(xe,$e,Ie,Fe,Ue,qe,At){for(var Dt=[],Lt=[],jt=[],hn=[],vn=0,bn=0;bn<$e.length;bn++)Dt[bn]=1;for(var bn=0;bn=0;Sn&&Cn.depth>_n&&(_n=Cn.depth),kn.setLayout({depth:Sn?Cn.depth:vn},!0),qe==="vertical"?kn.setLayout({dy:Ie},!0):kn.setLayout({dx:Ie},!0);for(var xn=0;xnvn-1?_n:vn-1;At&&At!=="left"&&adjustNodeWithNodeAlign(xe,At,qe,Pn);var Nn=qe==="vertical"?(Ue-Ie)/Pn:(Fe-Ie)/Pn;scaleNodeBreadths(xe,Nn,qe)}function isNodeDepth(xe){var $e=xe.hostGraph.data.getRawDataItem(xe.dataIndex);return $e.depth!=null&&$e.depth>=0}function adjustNodeWithNodeAlign(xe,$e,Ie,Fe){if($e==="right"){for(var Ue=[],qe=xe,At=0;qe.length;){for(var Dt=0;Dt0;qe--)Lt*=.99,relaxRightToLeft(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At),relaxLeftToRight(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At)}function prepareNodesByBreadth(xe,$e){var Ie=[],Fe=$e==="vertical"?"y":"x",Ue=groupData(xe,function(qe){return qe.getLayout()[Fe]});return Ue.keys.sort(function(qe,At){return qe-At}),each$f(Ue.keys,function(qe){Ie.push(Ue.buckets.get(qe))}),Ie}function initializeNodeDepth(xe,$e,Ie,Fe,Ue,qe){var At=1/0;each$f(xe,function(Dt){var Lt=Dt.length,jt=0;each$f(Dt,function(vn){jt+=vn.getLayout().value});var hn=qe==="vertical"?(Fe-(Lt-1)*Ue)/jt:(Ie-(Lt-1)*Ue)/jt;hn0&&(Dt=Lt.getLayout()[qe]+jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e;var wn=Ue==="vertical"?Fe:Ie;if(jt=hn-$e-wn,jt>0){Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0),hn=Dt;for(var _n=vn-2;_n>=0;--_n)Lt=At[_n],jt=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e-hn,jt>0&&(Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]}})}function relaxRightToLeft(xe,$e,Ie){each$f(xe.slice().reverse(),function(Fe){each$f(Fe,function(Ue){if(Ue.outEdges.length){var qe=sum(Ue.outEdges,weightedTarget,Ie)/sum(Ue.outEdges,getEdgeValue);if(isNaN(qe)){var At=Ue.outEdges.length;qe=At?sum(Ue.outEdges,centerTarget,Ie)/At:0}if(Ie==="vertical"){var Dt=Ue.getLayout().x+(qe-center(Ue,Ie))*$e;Ue.setLayout({x:Dt},!0)}else{var Lt=Ue.getLayout().y+(qe-center(Ue,Ie))*$e;Ue.setLayout({y:Lt},!0)}}})})}function weightedTarget(xe,$e){return center(xe.node2,$e)*xe.getValue()}function centerTarget(xe,$e){return center(xe.node2,$e)}function weightedSource(xe,$e){return center(xe.node1,$e)*xe.getValue()}function centerSource(xe,$e){return center(xe.node1,$e)}function center(xe,$e){return $e==="vertical"?xe.getLayout().x+xe.getLayout().dx/2:xe.getLayout().y+xe.getLayout().dy/2}function getEdgeValue(xe){return xe.getValue()}function sum(xe,$e,Ie){for(var Fe=0,Ue=xe.length,qe=-1;++qeAt&&(At=Lt)}),each$f(Fe,function(Dt){var Lt=new VisualMapping({type:"color",mappingMethod:"linear",dataExtent:[qe,At],visual:$e.get("color")}),jt=Lt.mapValueToVisual(Dt.getLayout().value),hn=Dt.getModel().get(["itemStyle","color"]);hn!=null?(Dt.setVisual("color",hn),Dt.setVisual("style",{fill:hn})):(Dt.setVisual("color",jt),Dt.setVisual("style",{fill:jt}))})}Ue.length&&each$f(Ue,function(Dt){var Lt=Dt.getModel().get("lineStyle");Dt.setVisual("style",Lt)})})}function install$B(xe){xe.registerChartView(SankeyView),xe.registerSeriesModel(SankeySeriesModel),xe.registerLayout(sankeyLayout),xe.registerVisual(sankeyVisual),xe.registerAction({type:"dragNode",event:"dragnode",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"sankey",query:$e},function(Fe){Fe.setNodePosition($e.dataIndex,[$e.localX,$e.localY])})})}var WhiskerBoxCommonMixin=function(){function xe(){}return xe.prototype.getInitialData=function($e,Ie){var Fe,Ue=Ie.getComponent("xAxis",this.get("xAxisIndex")),qe=Ie.getComponent("yAxis",this.get("yAxisIndex")),At=Ue.get("type"),Dt=qe.get("type"),Lt;At==="category"?($e.layout="horizontal",Fe=Ue.getOrdinalMeta(),Lt=!0):Dt==="category"?($e.layout="vertical",Fe=qe.getOrdinalMeta(),Lt=!0):$e.layout=$e.layout||"horizontal";var jt=["x","y"],hn=$e.layout==="horizontal"?0:1,vn=this._baseAxisDim=jt[hn],bn=jt[1-hn],_n=[Ue,qe],wn=_n[hn].get("type"),kn=_n[1-hn].get("type"),Cn=$e.data;if(Cn&&Lt){var Sn=[];each$f(Cn,function(Tn,An){var $n;isArray$1(Tn)?($n=Tn.slice(),Tn.unshift(An)):isArray$1(Tn.value)?($n=extend({},Tn),$n.value=$n.value.slice(),Tn.value.unshift(An)):$n=Tn,Sn.push($n)}),$e.data=Sn}var xn=this.defaultValueDimensions,En=[{name:vn,type:getDimensionTypeByAxis(wn),ordinalMeta:Fe,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:bn,type:getDimensionTypeByAxis(kn),dimsDef:xn.slice()}];return createSeriesDataSimply(this,{coordDimensions:En,dimensionsCount:xn.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,En,this)})},xe.prototype.getBaseAxis=function(){var $e=this._baseAxisDim;return this.ecModel.getComponent($e+"Axis",this.get($e+"AxisIndex")).axis},xe}(),BoxplotSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],Ie.visualDrawType="stroke",Ie}return $e.type="series.boxplot",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},$e}(SeriesModel);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);var BoxplotView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this.group,Dt=this._data;this._data||At.removeAll();var Lt=Ie.get("layout")==="horizontal"?1:0;qe.diff(Dt).add(function(jt){if(qe.hasValue(jt)){var hn=qe.getItemLayout(jt),vn=createNormalBox$1(hn,qe,jt,Lt,!0);qe.setItemGraphicEl(jt,vn),At.add(vn)}}).update(function(jt,hn){var vn=Dt.getItemGraphicEl(hn);if(!qe.hasValue(jt)){At.remove(vn);return}var bn=qe.getItemLayout(jt);vn?(saveOldStyle(vn),updateNormalBoxData(bn,vn,qe,jt)):vn=createNormalBox$1(bn,qe,jt,Lt),At.add(vn),qe.setItemGraphicEl(jt,vn)}).remove(function(jt){var hn=Dt.getItemGraphicEl(jt);hn&&At.remove(hn)}).execute(),this._data=qe},$e.prototype.remove=function(Ie){var Fe=this.group,Ue=this._data;this._data=null,Ue&&Ue.eachItemGraphicEl(function(qe){qe&&Fe.remove(qe)})},$e.type="boxplot",$e}(ChartView),BoxPathShape=function(){function xe(){}return xe}(),BoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="boxplotBoxPath",Fe}return $e.prototype.getDefaultShape=function(){return new BoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0;for(Ie.moveTo(Ue[qe][0],Ue[qe][1]),qe++;qe<4;qe++)Ie.lineTo(Ue[qe][0],Ue[qe][1]);for(Ie.closePath();qekn){var Tn=[Sn,En];Fe.push(Tn)}}}return{boxData:Ie,outliers:Fe}}var boxplotTransform={type:"echarts:boxplot",transform:function xe($e){var Ie=$e.upstream;if(Ie.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){var Fe="";throwError(Fe)}var Ue=prepareBoxplotData(Ie.getRawData(),$e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:Ue.boxData},{data:Ue.outliers}]}};function install$A(xe){xe.registerSeriesModel(BoxplotSeriesModel),xe.registerChartView(BoxplotView),xe.registerLayout(boxplotLayout),xe.registerTransform(boxplotTransform)}var SKIP_PROPS=["color","borderColor"],CandlestickView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(Ie),this._isLargeDraw?this._renderLarge(Ie):this._renderNormal(Ie)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this._clear(),this._updateDrawMode(Ie)},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(Ie,Fe):this._incrementalRenderNormal(Ie,Fe)},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._updateDrawMode=function(Ie){var Fe=Ie.pipelineContext.large;(this._isLargeDraw==null||Fe!==this._isLargeDraw)&&(this._isLargeDraw=Fe,this._clear())},$e.prototype._renderNormal=function(Ie){var Fe=Ie.getData(),Ue=this._data,qe=this.group,At=Fe.getLayout("isSimpleBox"),Dt=Ie.get("clip",!0),Lt=Ie.coordinateSystem,jt=Lt.getArea&&Lt.getArea();this._data||qe.removeAll(),Fe.diff(Ue).add(function(hn){if(Fe.hasValue(hn)){var vn=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,vn))return;var bn=createNormalBox(vn,hn,!0);initProps(bn,{shape:{points:vn.ends}},Ie,hn),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}}).update(function(hn,vn){var bn=Ue.getItemGraphicEl(vn);if(!Fe.hasValue(hn)){qe.remove(bn);return}var _n=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,_n)){qe.remove(bn);return}bn?(updateProps$1(bn,{shape:{points:_n.ends}},Ie,hn),saveOldStyle(bn)):bn=createNormalBox(_n),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}).remove(function(hn){var vn=Ue.getItemGraphicEl(hn);vn&&qe.remove(vn)}).execute(),this._data=Fe},$e.prototype._renderLarge=function(Ie){this._clear(),createLarge(Ie,this.group);var Fe=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;Fe?this.group.setClipPath(Fe):this.group.removeClipPath()},$e.prototype._incrementalRenderNormal=function(Ie,Fe){for(var Ue=Fe.getData(),qe=Ue.getLayout("isSimpleBox"),At;(At=Ie.next())!=null;){var Dt=Ue.getItemLayout(At),Lt=createNormalBox(Dt);setBoxCommon(Lt,Ue,At,qe),Lt.incremental=!0,this.group.add(Lt),this._progressiveEls.push(Lt)}},$e.prototype._incrementalRenderLarge=function(Ie,Fe){createLarge(Fe,this.group,this._progressiveEls,!0)},$e.prototype.remove=function(Ie){this._clear()},$e.prototype._clear=function(){this.group.removeAll(),this._data=null},$e.type="candlestick",$e}(ChartView),NormalBoxPathShape=function(){function xe(){}return xe}(),NormalBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="normalCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new NormalBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points;this.__simpleBox?(Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[6][0],Ue[6][1])):(Ie.moveTo(Ue[0][0],Ue[0][1]),Ie.lineTo(Ue[1][0],Ue[1][1]),Ie.lineTo(Ue[2][0],Ue[2][1]),Ie.lineTo(Ue[3][0],Ue[3][1]),Ie.closePath(),Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[5][0],Ue[5][1]),Ie.moveTo(Ue[6][0],Ue[6][1]),Ie.lineTo(Ue[7][0],Ue[7][1]))},$e}(Path);function createNormalBox(xe,$e,Ie){var Fe=xe.ends;return new NormalBoxPath({shape:{points:Ie?transInit(Fe,xe):Fe},z2:100})}function isNormalBoxClipped(xe,$e){for(var Ie=!0,Fe=0;Fe<$e.ends.length;Fe++)if(xe.contain($e.ends[Fe][0],$e.ends[Fe][1])){Ie=!1;break}return Ie}function setBoxCommon(xe,$e,Ie,Fe){var Ue=$e.getItemModel(Ie);xe.useStyle($e.getItemVisual(Ie,"style")),xe.style.strokeNoScale=!0,xe.__simpleBox=Fe,setStatesStylesFromModel(xe,Ue)}function transInit(xe,$e){return map$1(xe,function(Ie){return Ie=Ie.slice(),Ie[1]=$e.initBaseline,Ie})}var LargeBoxPathShape=function(){function xe(){}return xe}(),LargeBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new LargeBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=0;qe0?"borderColor":"borderColor0"])||Ie.get(["itemStyle",xe>0?"color":"color0"]);xe===0&&(Ue=Ie.get(["itemStyle","borderColorDoji"]));var qe=Ie.getModel("itemStyle").getItemStyle(SKIP_PROPS);$e.useStyle(qe),$e.style.fill=null,$e.style.stroke=Ue}var CandlestickSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],Ie}return $e.prototype.getShadowDim=function(){return"open"},$e.prototype.brushSelector=function(Ie,Fe,Ue){var qe=Fe.getItemLayout(Ie);return qe&&Ue.rect(qe.brushRect)},$e.type="series.candlestick",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},$e}(SeriesModel);mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);function candlestickPreprocessor(xe){!xe||!isArray$1(xe.series)||each$f(xe.series,function($e){isObject$3($e)&&$e.type==="k"&&($e.type="candlestick")})}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"],candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(xe,$e){function Ie(qe,At){return At.get(qe>0?positiveColorQuery:negativeColorQuery)}function Fe(qe,At){return At.get(qe===0?dojiBorderColorQuery:qe>0?positiveBorderColorQuery:negativeBorderColorQuery)}if(!$e.isSeriesFiltered(xe)){var Ue=xe.pipelineContext.large;return!Ue&&{progress:function(qe,At){for(var Dt;(Dt=qe.next())!=null;){var Lt=At.getItemModel(Dt),jt=At.getItemLayout(Dt).sign,hn=Lt.getItemStyle();hn.fill=Ie(jt,Lt),hn.stroke=Fe(jt,Lt)||hn.fill;var vn=At.ensureUniqueItemVisual(Dt,"style");extend(vn,hn)}}}}}},candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem,Ie=xe.getData(),Fe=calculateCandleWidth(xe,Ie),Ue=0,qe=1,At=["x","y"],Dt=Ie.getDimensionIndex(Ie.mapDimension(At[Ue])),Lt=map$1(Ie.mapDimensionsAll(At[qe]),Ie.getDimensionIndex,Ie),jt=Lt[0],hn=Lt[1],vn=Lt[2],bn=Lt[3];if(Ie.setLayout({candleWidth:Fe,isSimpleBox:Fe<=1.3}),Dt<0||Lt.length<4)return;return{progress:xe.pipelineContext.large?wn:_n};function _n(kn,Cn){for(var Sn,xn=Cn.getStore();(Sn=kn.next())!=null;){var En=xn.get(Dt,Sn),Tn=xn.get(jt,Sn),An=xn.get(hn,Sn),$n=xn.get(vn,Sn),Pn=xn.get(bn,Sn),Nn=Math.min(Tn,An),Mn=Math.max(Tn,An),In=Hn(Nn,En),On=Hn(Mn,En),Rn=Hn($n,En),Bn=Hn(Pn,En),Vn=[];Fn(Vn,On,0),Fn(Vn,In,1),Vn.push(jn(Bn),jn(On),jn(Rn),jn(In));var Ln=Cn.getItemModel(Sn),Dn=!!Ln.get(["itemStyle","borderColorDoji"]);Cn.setItemLayout(Sn,{sign:getSign(xn,Sn,Tn,An,hn,Dn),initBaseline:Tn>An?On[qe]:In[qe],ends:Vn,brushRect:zn($n,Pn,En)})}function Hn(Gn,Wn){var Xn=[];return Xn[Ue]=Wn,Xn[qe]=Gn,isNaN(Wn)||isNaN(Gn)?[NaN,NaN]:$e.dataToPoint(Xn)}function Fn(Gn,Wn,Xn){var er=Wn.slice(),rr=Wn.slice();er[Ue]=subPixelOptimize(er[Ue]+Fe/2,1,!1),rr[Ue]=subPixelOptimize(rr[Ue]-Fe/2,1,!0),Xn?Gn.push(er,rr):Gn.push(rr,er)}function zn(Gn,Wn,Xn){var er=Hn(Gn,Xn),rr=Hn(Wn,Xn);return er[Ue]-=Fe/2,rr[Ue]-=Fe/2,{x:er[0],y:er[1],width:Fe,height:rr[1]-er[1]}}function jn(Gn){return Gn[Ue]=subPixelOptimize(Gn[Ue],1),Gn}}function wn(kn,Cn){for(var Sn=createFloat32Array(kn.count*4),xn=0,En,Tn=[],An=[],$n,Pn=Cn.getStore(),Nn=!!xe.get(["itemStyle","borderColorDoji"]);($n=kn.next())!=null;){var Mn=Pn.get(Dt,$n),In=Pn.get(jt,$n),On=Pn.get(hn,$n),Rn=Pn.get(vn,$n),Bn=Pn.get(bn,$n);if(isNaN(Mn)||isNaN(Rn)||isNaN(Bn)){Sn[xn++]=NaN,xn+=3;continue}Sn[xn++]=getSign(Pn,$n,In,On,hn,Nn),Tn[Ue]=Mn,Tn[qe]=Rn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[0]:NaN,Sn[xn++]=En?En[1]:NaN,Tn[qe]=Bn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[1]:NaN}Cn.setLayout("largePoints",Sn)}}};function getSign(xe,$e,Ie,Fe,Ue,qe){var At;return Ie>Fe?At=-1:Ie0?xe.get(Ue,$e-1)<=Fe?1:-1:1,At}function calculateCandleWidth(xe,$e){var Ie=xe.getBaseAxis(),Fe,Ue=Ie.type==="category"?Ie.getBandWidth():(Fe=Ie.getExtent(),Math.abs(Fe[1]-Fe[0])/$e.count()),qe=parsePercent(retrieve2(xe.get("barMaxWidth"),Ue),Ue),At=parsePercent(retrieve2(xe.get("barMinWidth"),1),Ue),Dt=xe.get("barWidth");return Dt!=null?parsePercent(Dt,Ue):Math.max(Math.min(Ue/2,qe),At)}function install$z(xe){xe.registerChartView(CandlestickView),xe.registerSeriesModel(CandlestickSeriesModel),xe.registerPreprocessor(candlestickPreprocessor),xe.registerVisual(candlestickVisual),xe.registerLayout(candlestickLayout)}function updateRipplePath(xe,$e){var Ie=$e.rippleEffectColor||$e.color;xe.eachChild(function(Fe){Fe.attr({z:$e.z,zlevel:$e.zlevel,style:{stroke:$e.brushType==="stroke"?Ie:null,fill:$e.brushType==="fill"?Ie:null}})})}var EffectSymbol=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=new Symbol$1(Ie,Fe),At=new Group$3;return Ue.add(qe),Ue.add(At),Ue.updateData(Ie,Fe),Ue}return $e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},$e.prototype.startEffectAnimation=function(Ie){for(var Fe=Ie.symbolType,Ue=Ie.color,qe=Ie.rippleNumber,At=this.childAt(1),Dt=0;Dt0&&(Dt=this._getLineLength(qe)/hn*1e3),Dt!==this._period||Lt!==this._loop||jt!==this._roundTrip){qe.stopAnimation();var bn=void 0;isFunction(vn)?bn=vn(Ue):bn=vn,qe.__t>0&&(bn=-Dt*qe.__t),this._animateSymbol(qe,Dt,bn,Lt,jt)}this._period=Dt,this._loop=Lt,this._roundTrip=jt}},$e.prototype._animateSymbol=function(Ie,Fe,Ue,qe,At){if(Fe>0){Ie.__t=0;var Dt=this,Lt=Ie.animate("",qe).when(At?Fe*2:Fe,{__t:At?2:1}).delay(Ue).during(function(){Dt._updateSymbolPosition(Ie)});qe||Lt.done(function(){Dt.remove(Ie)}),Lt.start()}},$e.prototype._getLineLength=function(Ie){return dist$1(Ie.__p1,Ie.__cp1)+dist$1(Ie.__cp1,Ie.__p2)},$e.prototype._updateAnimationPoints=function(Ie,Fe){Ie.__p1=Fe[0],Ie.__p2=Fe[1],Ie.__cp1=Fe[2]||[(Fe[0][0]+Fe[1][0])/2,(Fe[0][1]+Fe[1][1])/2]},$e.prototype.updateData=function(Ie,Fe,Ue){this.childAt(0).updateData(Ie,Fe,Ue),this._updateEffectSymbol(Ie,Fe)},$e.prototype._updateSymbolPosition=function(Ie){var Fe=Ie.__p1,Ue=Ie.__p2,qe=Ie.__cp1,At=Ie.__t<1?Ie.__t:2-Ie.__t,Dt=[Ie.x,Ie.y],Lt=Dt.slice(),jt=quadraticAt$1,hn=quadraticDerivativeAt;Dt[0]=jt(Fe[0],qe[0],Ue[0],At),Dt[1]=jt(Fe[1],qe[1],Ue[1],At);var vn=Ie.__t<1?hn(Fe[0],qe[0],Ue[0],At):hn(Ue[0],qe[0],Fe[0],1-At),bn=Ie.__t<1?hn(Fe[1],qe[1],Ue[1],At):hn(Ue[1],qe[1],Fe[1],1-At);Ie.rotation=-Math.atan2(bn,vn)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(Ie.__lastT!==void 0&&Ie.__lastT=0&&!(qe[Lt]<=Fe);Lt--);Lt=Math.min(Lt,At-2)}else{for(Lt=Dt;LtFe);Lt++);Lt=Math.min(Lt-1,At-2)}var hn=(Fe-qe[Lt])/(qe[Lt+1]-qe[Lt]),vn=Ue[Lt],bn=Ue[Lt+1];Ie.x=vn[0]*(1-hn)+hn*bn[0],Ie.y=vn[1]*(1-hn)+hn*bn[1];var _n=Ie.__t<1?bn[0]-vn[0]:vn[0]-bn[0],wn=Ie.__t<1?bn[1]-vn[1]:vn[1]-bn[1];Ie.rotation=-Math.atan2(wn,_n)-Math.PI/2,this._lastFrame=Lt,this._lastFramePercent=Fe,Ie.ignore=!1}},$e}(EffectLine),LargeLinesPathShape=function(){function xe(){this.polyline=!1,this.curveness=0,this.segs=[]}return xe}(),LargeLinesPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new LargeLinesPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.segs,qe=Fe.curveness,At;if(Fe.polyline)for(At=this._off;At0){Ie.moveTo(Ue[At++],Ue[At++]);for(var Lt=1;Lt0){var _n=(jt+vn)/2-(hn-bn)*qe,wn=(hn+bn)/2-(vn-jt)*qe;Ie.quadraticCurveTo(_n,wn,vn,bn)}else Ie.lineTo(vn,bn)}this.incremental&&(this._off=At,this.notClear=!0)},$e.prototype.findDataIndex=function(Ie,Fe){var Ue=this.shape,qe=Ue.segs,At=Ue.curveness,Dt=this.style.lineWidth;if(Ue.polyline)for(var Lt=0,jt=0;jt0)for(var vn=qe[jt++],bn=qe[jt++],_n=1;_n0){var Cn=(vn+wn)/2-(bn-kn)*At,Sn=(bn+kn)/2-(wn-vn)*At;if(containStroke$2(vn,bn,Cn,Sn,wn,kn,Dt,Ie,Fe))return Lt}else if(containStroke$4(vn,bn,wn,kn,Dt,Ie,Fe))return Lt;Lt++}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.segs,qe=1/0,At=1/0,Dt=-1/0,Lt=-1/0,jt=0;jt0&&(At.dataIndex=Lt+$e.__startIndex)})},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem;if($e){var Ie=xe.get("polyline"),Fe=xe.pipelineContext.large;return{progress:function(Ue,qe){var At=[];if(Fe){var Dt=void 0,Lt=Ue.end-Ue.start;if(Ie){for(var jt=0,hn=Ue.start;hn0&&(hn||jt.configLayer(Dt,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(Lt/10+.9,1),0)})),At.updateData(qe);var vn=Ie.get("clip",!0)&&createClipPath(Ie.coordinateSystem,!1,Ie);vn?this.group.setClipPath(vn):this.group.removeClipPath(),this._lastZlevel=Dt,this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateLineDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._clearLayer(Ue),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._lineDraw.incrementalUpdate(Ie,Fe.getData()),this._finished=Ie.end===Fe.getData().count()},$e.prototype.eachRendered=function(Ie){this._lineDraw&&this._lineDraw.eachRendered(Ie)},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData(),At=Ie.pipelineContext;if(!this._finished||At.large||At.progressiveRender)return{update:!0};var Dt=linesLayout.reset(Ie,Fe,Ue);Dt.progress&&Dt.progress({start:0,end:qe.count(),count:qe.count()},qe),this._lineDraw.updateLayout(),this._clearLayer(Ue)},$e.prototype._updateLineDraw=function(Ie,Fe){var Ue=this._lineDraw,qe=this._showEffect(Fe),At=!!Fe.get("polyline"),Dt=Fe.pipelineContext,Lt=Dt.large;return(!Ue||qe!==this._hasEffet||At!==this._isPolyline||Lt!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._lineDraw=Lt?new LargeLineDraw:new LineDraw(At?qe?EffectPolyline:Polyline:qe?EffectLine:Line),this._hasEffet=qe,this._isPolyline=At,this._isLargeDraw=Lt),this.group.add(Ue.group),Ue},$e.prototype._showEffect=function(Ie){return!!Ie.get(["effect","show"])},$e.prototype._clearLayer=function(Ie){var Fe=Ie.getZr(),Ue=Fe.painter.getType()==="svg";!Ue&&this._lastZlevel!=null&&Fe.painter.getLayer(this._lastZlevel).clear(!0)},$e.prototype.remove=function(Ie,Fe){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(Fe)},$e.prototype.dispose=function(Ie,Fe){this.remove(Ie,Fe)},$e.type="lines",$e}(ChartView),Uint32Arr=typeof Uint32Array>"u"?Array:Uint32Array,Float64Arr=typeof Float64Array>"u"?Array:Float64Array;function compatEc2(xe){var $e=xe.data;$e&&$e[0]&&$e[0][0]&&$e[0][0].coord&&(xe.data=map$1($e,function(Ie){var Fe=[Ie[0].coord,Ie[1].coord],Ue={coords:Fe};return Ie[0].name&&(Ue.fromName=Ie[0].name),Ie[1].name&&(Ue.toName=Ie[1].name),mergeAll([Ue,Ie[0],Ie[1]])}))}var LinesSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="lineStyle",Ie.visualDrawType="stroke",Ie}return $e.prototype.init=function(Ie){Ie.data=Ie.data||[],compatEc2(Ie);var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count)),xe.prototype.init.apply(this,arguments)},$e.prototype.mergeOption=function(Ie){if(compatEc2(Ie),Ie.data){var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count))}xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.appendData=function(Ie){var Fe=this._processFlatCoordsArray(Ie.data);Fe.flatCoords&&(this._flatCoords?(this._flatCoords=concatArray(this._flatCoords,Fe.flatCoords),this._flatCoordsOffset=concatArray(this._flatCoordsOffset,Fe.flatCoordsOffset)):(this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset),Ie.data=new Float32Array(Fe.count)),this.getRawData().appendData(Ie.data)},$e.prototype._getCoordsFromItemModel=function(Ie){var Fe=this.getData().getItemModel(Ie),Ue=Fe.option instanceof Array?Fe.option:Fe.getShallow("coords");return Ue},$e.prototype.getLineCoordsCount=function(Ie){return this._flatCoordsOffset?this._flatCoordsOffset[Ie*2+1]:this._getCoordsFromItemModel(Ie).length},$e.prototype.getLineCoords=function(Ie,Fe){if(this._flatCoordsOffset){for(var Ue=this._flatCoordsOffset[Ie*2],qe=this._flatCoordsOffset[Ie*2+1],At=0;At ")})},$e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?1e4:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?2e4:this.get("progressiveThreshold"))},$e.prototype.getZLevelKey=function(){var Ie=this.getModel("effect"),Fe=Ie.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:Ie.get("show")&&Fe>0?Fe+"":""},$e.type="series.lines",$e.dependencies=["grid","polar","geo","calendar"],$e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},$e}(SeriesModel);function normalize(xe){return xe instanceof Array||(xe=[xe,xe]),xe}var linesVisual={seriesType:"lines",reset:function(xe){var $e=normalize(xe.get("symbol")),Ie=normalize(xe.get("symbolSize")),Fe=xe.getData();Fe.setVisual("fromSymbol",$e&&$e[0]),Fe.setVisual("toSymbol",$e&&$e[1]),Fe.setVisual("fromSymbolSize",Ie&&Ie[0]),Fe.setVisual("toSymbolSize",Ie&&Ie[1]);function Ue(qe,At){var Dt=qe.getItemModel(At),Lt=normalize(Dt.getShallow("symbol",!0)),jt=normalize(Dt.getShallow("symbolSize",!0));Lt[0]&&qe.setItemVisual(At,"fromSymbol",Lt[0]),Lt[1]&&qe.setItemVisual(At,"toSymbol",Lt[1]),jt[0]&&qe.setItemVisual(At,"fromSymbolSize",jt[0]),jt[1]&&qe.setItemVisual(At,"toSymbolSize",jt[1])}return{dataEach:Fe.hasItemOption?Ue:null}}};function install$x(xe){xe.registerChartView(LinesView),xe.registerSeriesModel(LinesSeriesModel),xe.registerLayout(linesLayout),xe.registerVisual(linesVisual)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function xe(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var $e=platformApi.createCanvas();this.canvas=$e}return xe.prototype.update=function($e,Ie,Fe,Ue,qe,At){var Dt=this._getBrush(),Lt=this._getGradient(qe,"inRange"),jt=this._getGradient(qe,"outOfRange"),hn=this.pointSize+this.blurSize,vn=this.canvas,bn=vn.getContext("2d"),_n=$e.length;vn.width=Ie,vn.height=Fe;for(var wn=0;wn<_n;++wn){var kn=$e[wn],Cn=kn[0],Sn=kn[1],xn=kn[2],En=Ue(xn);bn.globalAlpha=En,bn.drawImage(Dt,Cn-hn,Sn-hn)}if(!vn.width||!vn.height)return vn;for(var Tn=bn.getImageData(0,0,vn.width,vn.height),An=Tn.data,$n=0,Pn=An.length,Nn=this.minOpacity,Mn=this.maxOpacity,In=Mn-Nn;$n0){var Rn=At(En)?Lt:jt;En>0&&(En=En*In+Nn),An[$n++]=Rn[On],An[$n++]=Rn[On+1],An[$n++]=Rn[On+2],An[$n++]=Rn[On+3]*En*256}else $n+=4}return bn.putImageData(Tn,0,0),vn},xe.prototype._getBrush=function(){var $e=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),Ie=this.pointSize+this.blurSize,Fe=Ie*2;$e.width=Fe,$e.height=Fe;var Ue=$e.getContext("2d");return Ue.clearRect(0,0,Fe,Fe),Ue.shadowOffsetX=Fe,Ue.shadowBlur=this.blurSize,Ue.shadowColor="#000",Ue.beginPath(),Ue.arc(-Ie,Ie,this.pointSize,0,Math.PI*2,!0),Ue.closePath(),Ue.fill(),$e},xe.prototype._getGradient=function($e,Ie){for(var Fe=this._gradientPixels,Ue=Fe[Ie]||(Fe[Ie]=new Uint8ClampedArray(256*4)),qe=[0,0,0,0],At=0,Dt=0;Dt<256;Dt++)$e[Ie](Dt/255,!0,qe),Ue[At++]=qe[0],Ue[At++]=qe[1],Ue[At++]=qe[2],Ue[At++]=qe[3];return Ue},xe}();function getIsInPiecewiseRange(xe,$e,Ie){var Fe=xe[1]-xe[0];$e=map$1($e,function(At){return{interval:[(At.interval[0]-xe[0])/Fe,(At.interval[1]-xe[0])/Fe]}});var Ue=$e.length,qe=0;return function(At){var Dt;for(Dt=qe;Dt=0;Dt--){var Lt=$e[Dt].interval;if(Lt[0]<=At&&At<=Lt[1]){qe=Dt;break}}return Dt>=0&&Dt=$e[0]&&Fe<=$e[1]}}function isGeoCoordSys(xe){var $e=xe.dimensions;return $e[0]==="lng"&&$e[1]==="lat"}var HeatmapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe;Fe.eachComponent("visualMap",function(Dt){Dt.eachTargetSeries(function(Lt){Lt===Ie&&(qe=Dt)})}),this._progressiveEls=null,this.group.removeAll();var At=Ie.coordinateSystem;At.type==="cartesian2d"||At.type==="calendar"?this._renderOnCartesianAndCalendar(Ie,Ue,0,Ie.getData().count()):isGeoCoordSys(At)&&this._renderOnGeo(At,Ie,qe,Ue)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this.group.removeAll()},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){var At=Fe.coordinateSystem;At&&(isGeoCoordSys(At)?this.render(Fe,Ue,qe):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(Fe,qe,Ie.start,Ie.end,!0)))},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._renderOnCartesianAndCalendar=function(Ie,Fe,Ue,qe,At){var Dt=Ie.coordinateSystem,Lt=isCoordinateSystemType(Dt,"cartesian2d"),jt,hn,vn,bn;if(Lt){var _n=Dt.getAxis("x"),wn=Dt.getAxis("y");jt=_n.getBandWidth()+.5,hn=wn.getBandWidth()+.5,vn=_n.scale.getExtent(),bn=wn.scale.getExtent()}for(var kn=this.group,Cn=Ie.getData(),Sn=Ie.getModel(["emphasis","itemStyle"]).getItemStyle(),xn=Ie.getModel(["blur","itemStyle"]).getItemStyle(),En=Ie.getModel(["select","itemStyle"]).getItemStyle(),Tn=Ie.get(["itemStyle","borderRadius"]),An=getLabelStatesModels(Ie),$n=Ie.getModel("emphasis"),Pn=$n.get("focus"),Nn=$n.get("blurScope"),Mn=$n.get("disabled"),In=Lt?[Cn.mapDimension("x"),Cn.mapDimension("y"),Cn.mapDimension("value")]:[Cn.mapDimension("time"),Cn.mapDimension("value")],On=Ue;Onvn[1]||Lnbn[1])continue;var Dn=Dt.dataToPoint([Vn,Ln]);Rn=new Rect$2({shape:{x:Dn[0]-jt/2,y:Dn[1]-hn/2,width:jt,height:hn},style:Bn})}else{if(isNaN(Cn.get(In[1],On)))continue;Rn=new Rect$2({z2:1,shape:Dt.dataToRect([Cn.get(In[0],On)]).contentShape,style:Bn})}if(Cn.hasItemOption){var Hn=Cn.getItemModel(On),Fn=Hn.getModel("emphasis");Sn=Fn.getModel("itemStyle").getItemStyle(),xn=Hn.getModel(["blur","itemStyle"]).getItemStyle(),En=Hn.getModel(["select","itemStyle"]).getItemStyle(),Tn=Hn.get(["itemStyle","borderRadius"]),Pn=Fn.get("focus"),Nn=Fn.get("blurScope"),Mn=Fn.get("disabled"),An=getLabelStatesModels(Hn)}Rn.shape.r=Tn;var zn=Ie.getRawValue(On),jn="-";zn&&zn[2]!=null&&(jn=zn[2]+""),setLabelStyle(Rn,An,{labelFetcher:Ie,labelDataIndex:On,defaultOpacity:Bn.opacity,defaultText:jn}),Rn.ensureState("emphasis").style=Sn,Rn.ensureState("blur").style=xn,Rn.ensureState("select").style=En,toggleHoverEmphasis(Rn,Pn,Nn,Mn),Rn.incremental=At,At&&(Rn.states.emphasis.hoverLayer=!0),kn.add(Rn),Cn.setItemGraphicEl(On,Rn),this._progressiveEls&&this._progressiveEls.push(Rn)}},$e.prototype._renderOnGeo=function(Ie,Fe,Ue,qe){var At=Ue.targetVisuals.inRange,Dt=Ue.targetVisuals.outOfRange,Lt=Fe.getData(),jt=this._hmLayer||this._hmLayer||new HeatmapLayer;jt.blurSize=Fe.get("blurSize"),jt.pointSize=Fe.get("pointSize"),jt.minOpacity=Fe.get("minOpacity"),jt.maxOpacity=Fe.get("maxOpacity");var hn=Ie.getViewRect().clone(),vn=Ie.getRoamTransform();hn.applyTransform(vn);var bn=Math.max(hn.x,0),_n=Math.max(hn.y,0),wn=Math.min(hn.width+hn.x,qe.getWidth()),kn=Math.min(hn.height+hn.y,qe.getHeight()),Cn=wn-bn,Sn=kn-_n,xn=[Lt.mapDimension("lng"),Lt.mapDimension("lat"),Lt.mapDimension("value")],En=Lt.mapArray(xn,function(Pn,Nn,Mn){var In=Ie.dataToPoint([Pn,Nn]);return In[0]-=bn,In[1]-=_n,In.push(Mn),In}),Tn=Ue.getExtent(),An=Ue.type==="visualMap.continuous"?getIsInContinuousRange(Tn,Ue.option.range):getIsInPiecewiseRange(Tn,Ue.getPieceList(),Ue.option.selected);jt.update(En,Cn,Sn,At.color.getNormalizer(),{inRange:At.color.getColorMapper(),outOfRange:Dt.color.getColorMapper()},An);var $n=new ZRImage({style:{width:Cn,height:Sn,x:bn,y:_n,image:jt.canvas},silent:!0});this.group.add($n)},$e.type="heatmap",$e}(ChartView),HeatmapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{generateCoord:"value"})},$e.prototype.preventIncremental=function(){var Ie=CoordinateSystemManager.get(this.get("coordinateSystem"));if(Ie&&Ie.dimensions)return Ie.dimensions[0]==="lng"&&Ie.dimensions[1]==="lat"},$e.type="series.heatmap",$e.dependencies=["grid","geo","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function install$w(xe){xe.registerChartView(HeatmapView),xe.registerSeriesModel(HeatmapSeriesModel)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle,PictorialBarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group,At=Ie.getData(),Dt=this._data,Lt=Ie.coordinateSystem,jt=Lt.getBaseAxis(),hn=jt.isHorizontal(),vn=Lt.master.getRect(),bn={ecSize:{width:Ue.getWidth(),height:Ue.getHeight()},seriesModel:Ie,coordSys:Lt,coordSysExtent:[[vn.x,vn.x+vn.width],[vn.y,vn.y+vn.height]],isHorizontal:hn,valueDim:LAYOUT_ATTRS[+hn],categoryDim:LAYOUT_ATTRS[1-+hn]};At.diff(Dt).add(function(wn){if(At.hasValue(wn)){var kn=getItemModel(At,wn),Cn=getSymbolMeta(At,wn,kn,bn),Sn=createBar(At,bn,Cn);At.setItemGraphicEl(wn,Sn),qe.add(Sn),updateCommon(Sn,bn,Cn)}}).update(function(wn,kn){var Cn=Dt.getItemGraphicEl(kn);if(!At.hasValue(wn)){qe.remove(Cn);return}var Sn=getItemModel(At,wn),xn=getSymbolMeta(At,wn,Sn,bn),En=getShapeStr(At,xn);Cn&&En!==Cn.__pictorialShapeStr&&(qe.remove(Cn),At.setItemGraphicEl(wn,null),Cn=null),Cn?updateBar(Cn,bn,xn):Cn=createBar(At,bn,xn,!0),At.setItemGraphicEl(wn,Cn),Cn.__pictorialSymbolMeta=xn,qe.add(Cn),updateCommon(Cn,bn,xn)}).remove(function(wn){var kn=Dt.getItemGraphicEl(wn);kn&&removeBar(Dt,wn,kn.__pictorialSymbolMeta.animationModel,kn)}).execute();var _n=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;return _n?qe.setClipPath(_n):qe.removeClipPath(),this._data=At,this.group},$e.prototype.remove=function(Ie,Fe){var Ue=this.group,qe=this._data;Ie.get("animation")?qe&&qe.eachItemGraphicEl(function(At){removeBar(qe,getECData(At).dataIndex,Ie,At)}):Ue.removeAll()},$e.type="pictorialBar",$e}(ChartView);function getSymbolMeta(xe,$e,Ie,Fe){var Ue=xe.getItemLayout($e),qe=Ie.get("symbolRepeat"),At=Ie.get("symbolClip"),Dt=Ie.get("symbolPosition")||"start",Lt=Ie.get("symbolRotate"),jt=(Lt||0)*Math.PI/180||0,hn=Ie.get("symbolPatternSize")||2,vn=Ie.isAnimationEnabled(),bn={dataIndex:$e,layout:Ue,itemModel:Ie,symbolType:xe.getItemVisual($e,"symbol")||"circle",style:xe.getItemVisual($e,"style"),symbolClip:At,symbolRepeat:qe,symbolRepeatDirection:Ie.get("symbolRepeatDirection"),symbolPatternSize:hn,rotation:jt,animationModel:vn?Ie:null,hoverScale:vn&&Ie.get(["emphasis","scale"]),z2:Ie.getShallow("z",!0)||0};prepareBarLength(Ie,qe,Ue,Fe,bn),prepareSymbolSize(xe,$e,Ue,qe,At,bn.boundingLength,bn.pxSign,hn,Fe,bn),prepareLineWidth(Ie,bn.symbolScale,jt,Fe,bn);var _n=bn.symbolSize,wn=normalizeSymbolOffset(Ie.get("symbolOffset"),_n);return prepareLayoutInfo(Ie,_n,Ue,qe,At,wn,Dt,bn.valueLineWidth,bn.boundingLength,bn.repeatCutLength,Fe,bn),bn}function prepareBarLength(xe,$e,Ie,Fe,Ue){var qe=Fe.valueDim,At=xe.get("symbolBoundingData"),Dt=Fe.coordSys.getOtherAxis(Fe.coordSys.getBaseAxis()),Lt=Dt.toGlobalCoord(Dt.dataToCoord(0)),jt=1-+(Ie[qe.wh]<=0),hn;if(isArray$1(At)){var vn=[convertToCoordOnAxis(Dt,At[0])-Lt,convertToCoordOnAxis(Dt,At[1])-Lt];vn[1]0?1:-1}function convertToCoordOnAxis(xe,$e){return xe.toGlobalCoord(xe.dataToCoord(xe.scale.parse($e)))}function prepareSymbolSize(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=Lt.valueDim,vn=Lt.categoryDim,bn=Math.abs(Ie[vn.wh]),_n=xe.getItemVisual($e,"symbolSize"),wn;isArray$1(_n)?wn=_n.slice():_n==null?wn=["100%","100%"]:wn=[_n,_n],wn[vn.index]=parsePercent(wn[vn.index],bn),wn[hn.index]=parsePercent(wn[hn.index],Fe?bn:Math.abs(qe)),jt.symbolSize=wn;var kn=jt.symbolScale=[wn[0]/Dt,wn[1]/Dt];kn[hn.index]*=(Lt.isHorizontal?-1:1)*At}function prepareLineWidth(xe,$e,Ie,Fe,Ue){var qe=xe.get(BAR_BORDER_WIDTH_QUERY)||0;qe&&(pathForLineWidth.attr({scaleX:$e[0],scaleY:$e[1],rotation:Ie}),pathForLineWidth.updateTransform(),qe/=pathForLineWidth.getLineScale(),qe*=$e[Fe.valueDim.index]),Ue.valueLineWidth=qe||0}function prepareLayoutInfo(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn){var bn=hn.categoryDim,_n=hn.valueDim,wn=vn.pxSign,kn=Math.max($e[_n.index]+Dt,0),Cn=kn;if(Fe){var Sn=Math.abs(Lt),xn=retrieve(xe.get("symbolMargin"),"15%")+"",En=!1;xn.lastIndexOf("!")===xn.length-1&&(En=!0,xn=xn.slice(0,xn.length-1));var Tn=parsePercent(xn,$e[_n.index]),An=Math.max(kn+Tn*2,0),$n=En?0:Tn*2,Pn=isNumeric(Fe),Nn=Pn?Fe:toIntTimes((Sn+$n)/An),Mn=Sn-Nn*kn;Tn=Mn/2/(En?Nn:Math.max(Nn-1,1)),An=kn+Tn*2,$n=En?0:Tn*2,!Pn&&Fe!=="fixed"&&(Nn=jt?toIntTimes((Math.abs(jt)+$n)/An):0),Cn=Nn*An-$n,vn.repeatTimes=Nn,vn.symbolMargin=Tn}var In=wn*(Cn/2),On=vn.pathPosition=[];On[bn.index]=Ie[bn.wh]/2,On[_n.index]=At==="start"?In:At==="end"?Lt-In:Lt/2,qe&&(On[0]+=qe[0],On[1]+=qe[1]);var Rn=vn.bundlePosition=[];Rn[bn.index]=Ie[bn.xy],Rn[_n.index]=Ie[_n.xy];var Bn=vn.barRectShape=extend({},Ie);Bn[_n.wh]=wn*Math.max(Math.abs(Ie[_n.wh]),Math.abs(On[_n.index]+In)),Bn[bn.wh]=Ie[bn.wh];var Vn=vn.clipShape={};Vn[bn.xy]=-Ie[bn.xy],Vn[bn.wh]=hn.ecSize[bn.wh],Vn[_n.xy]=0,Vn[_n.wh]=Ie[_n.wh]}function createPath(xe){var $e=xe.symbolPatternSize,Ie=createSymbol$1(xe.symbolType,-$e/2,-$e/2,$e,$e);return Ie.attr({culling:!0}),Ie.type!=="image"&&Ie.setStyle({strokeNoScale:!0}),Ie}function createOrUpdateRepeatSymbols(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=Ie.symbolSize,At=Ie.valueLineWidth,Dt=Ie.pathPosition,Lt=$e.valueDim,jt=Ie.repeatTimes||0,hn=0,vn=qe[$e.valueDim.index]+At+Ie.symbolMargin*2;for(eachPath(xe,function(kn){kn.__pictorialAnimationIndex=hn,kn.__pictorialRepeatTimes=jt,hn0:Sn<0)&&(xn=jt-1-kn),Cn[Lt.index]=vn*(xn-jt/2+.5)+Dt[Lt.index],{x:Cn[0],y:Cn[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation}}}function createOrUpdateSingleSymbol(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=xe.__pictorialMainPath;qe?updateAttr(qe,null,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation},Ie,Fe):(qe=xe.__pictorialMainPath=createPath(Ie),Ue.add(qe),updateAttr(qe,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:0,scaleY:0,rotation:Ie.rotation},{scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1]},Ie,Fe))}function createOrUpdateBarRect(xe,$e,Ie){var Fe=extend({},$e.barRectShape),Ue=xe.__pictorialBarRect;Ue?updateAttr(Ue,null,{shape:Fe},$e,Ie):(Ue=xe.__pictorialBarRect=new Rect$2({z2:2,shape:Fe,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),Ue.disableMorphing=!0,xe.add(Ue))}function createOrUpdateClip(xe,$e,Ie,Fe){if(Ie.symbolClip){var Ue=xe.__pictorialClipPath,qe=extend({},Ie.clipShape),At=$e.valueDim,Dt=Ie.animationModel,Lt=Ie.dataIndex;if(Ue)updateProps$1(Ue,{shape:qe},Dt,Lt);else{qe[At.wh]=0,Ue=new Rect$2({shape:qe}),xe.__pictorialBundle.setClipPath(Ue),xe.__pictorialClipPath=Ue;var jt={};jt[At.wh]=Ie.clipShape[At.wh],graphic[Fe?"updateProps":"initProps"](Ue,{shape:jt},Dt,Lt)}}}function getItemModel(xe,$e){var Ie=xe.getItemModel($e);return Ie.getAnimationDelayParams=getAnimationDelayParams,Ie.isAnimationEnabled=isAnimationEnabled,Ie}function getAnimationDelayParams(xe){return{index:xe.__pictorialAnimationIndex,count:xe.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(xe,$e,Ie,Fe){var Ue=new Group$3,qe=new Group$3;return Ue.add(qe),Ue.__pictorialBundle=qe,qe.x=Ie.bundlePosition[0],qe.y=Ie.bundlePosition[1],Ie.symbolRepeat?createOrUpdateRepeatSymbols(Ue,$e,Ie):createOrUpdateSingleSymbol(Ue,$e,Ie),createOrUpdateBarRect(Ue,Ie,Fe),createOrUpdateClip(Ue,$e,Ie,Fe),Ue.__pictorialShapeStr=getShapeStr(xe,Ie),Ue.__pictorialSymbolMeta=Ie,Ue}function updateBar(xe,$e,Ie){var Fe=Ie.animationModel,Ue=Ie.dataIndex,qe=xe.__pictorialBundle;updateProps$1(qe,{x:Ie.bundlePosition[0],y:Ie.bundlePosition[1]},Fe,Ue),Ie.symbolRepeat?createOrUpdateRepeatSymbols(xe,$e,Ie,!0):createOrUpdateSingleSymbol(xe,$e,Ie,!0),createOrUpdateBarRect(xe,Ie,!0),createOrUpdateClip(xe,$e,Ie,!0)}function removeBar(xe,$e,Ie,Fe){var Ue=Fe.__pictorialBarRect;Ue&&Ue.removeTextContent();var qe=[];eachPath(Fe,function(At){qe.push(At)}),Fe.__pictorialMainPath&&qe.push(Fe.__pictorialMainPath),Fe.__pictorialClipPath&&(Ie=null),each$f(qe,function(At){removeElement(At,{scaleX:0,scaleY:0},Ie,$e,function(){Fe.parent&&Fe.parent.remove(Fe)})}),xe.setItemGraphicEl($e,null)}function getShapeStr(xe,$e){return[xe.getItemVisual($e.dataIndex,"symbol")||"none",!!$e.symbolRepeat,!!$e.symbolClip].join(":")}function eachPath(xe,$e,Ie){each$f(xe.__pictorialBundle.children(),function(Fe){Fe!==xe.__pictorialBarRect&&$e.call(Ie,Fe)})}function updateAttr(xe,$e,Ie,Fe,Ue,qe){$e&&xe.attr($e),Fe.symbolClip&&!Ue?Ie&&xe.attr(Ie):Ie&&graphic[Ue?"updateProps":"initProps"](xe,Ie,Fe.animationModel,Fe.dataIndex,qe)}function updateCommon(xe,$e,Ie){var Fe=Ie.dataIndex,Ue=Ie.itemModel,qe=Ue.getModel("emphasis"),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ue.getModel(["blur","itemStyle"]).getItemStyle(),Lt=Ue.getModel(["select","itemStyle"]).getItemStyle(),jt=Ue.getShallow("cursor"),hn=qe.get("focus"),vn=qe.get("blurScope"),bn=qe.get("scale");eachPath(xe,function(kn){if(kn instanceof ZRImage){var Cn=kn.style;kn.useStyle(extend({image:Cn.image,x:Cn.x,y:Cn.y,width:Cn.width,height:Cn.height},Ie.style))}else kn.useStyle(Ie.style);var Sn=kn.ensureState("emphasis");Sn.style=At,bn&&(Sn.scaleX=kn.scaleX*1.1,Sn.scaleY=kn.scaleY*1.1),kn.ensureState("blur").style=Dt,kn.ensureState("select").style=Lt,jt&&(kn.cursor=jt),kn.z2=Ie.z2});var _n=$e.valueDim.posDesc[+(Ie.boundingLength>0)],wn=xe.__pictorialBarRect;wn.ignoreClip=!0,setLabelStyle(wn,getLabelStatesModels(Ue),{labelFetcher:$e.seriesModel,labelDataIndex:Fe,defaultText:getDefaultLabel($e.seriesModel.getData(),Fe),inheritColor:Ie.style.fill,defaultOpacity:Ie.style.opacity,defaultOutsidePosition:_n}),toggleHoverEmphasis(xe,hn,vn,qe.get("disabled"))}function toIntTimes(xe){var $e=Math.round(xe);return Math.abs(xe-$e)<1e-4?$e:Math.ceil(xe)}var PictorialBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie.defaultSymbol="roundRect",Ie}return $e.prototype.getInitialData=function(Ie){return Ie.stack=null,xe.prototype.getInitialData.apply(this,arguments)},$e.type="series.pictorialBar",$e.dependencies=["grid"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),$e}(BaseBarSeriesModel);function install$v(xe){xe.registerChartView(PictorialBarView),xe.registerSeriesModel(PictorialBarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"pictorialBar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._layers=[],Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this,Dt=this.group,Lt=Ie.getLayerSeries(),jt=qe.getLayout("layoutInfo"),hn=jt.rect,vn=jt.boundaryGap;Dt.x=0,Dt.y=hn.y+vn[0];function bn(Cn){return Cn.name}var _n=new DataDiffer(this._layersSeries||[],Lt,bn,bn),wn=[];_n.add(bind$1(kn,this,"add")).update(bind$1(kn,this,"update")).remove(bind$1(kn,this,"remove")).execute();function kn(Cn,Sn,xn){var En=At._layers;if(Cn==="remove"){Dt.remove(En[Sn]);return}for(var Tn=[],An=[],$n,Pn=Lt[Sn].indices,Nn=0;Nnqe&&(qe=Dt),Fe.push(Dt)}for(var jt=0;jtqe&&(qe=vn)}return{y0:Ue,max:qe}}function install$u(xe){xe.registerChartView(ThemeRiverView),xe.registerSeriesModel(ThemeRiverSeriesModel),xe.registerLayout(themeRiverLayout),xe.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;At.z2=DEFAULT_SECTOR_Z,At.textConfig={inside:!0},getECData(At).seriesIndex=Fe.seriesIndex;var Dt=new ZRText({z2:DEFAULT_TEXT_Z,silent:Ie.getModel().get(["label","silent"])});return At.setTextContent(Dt),At.updateData(!0,Ie,Fe,Ue,qe),At}return $e.prototype.updateData=function(Ie,Fe,Ue,qe,At){this.node=Fe,Fe.piece=this,Ue=Ue||this._seriesModel,qe=qe||this._ecModel;var Dt=this;getECData(Dt).dataIndex=Fe.dataIndex;var Lt=Fe.getModel(),jt=Lt.getModel("emphasis"),hn=Fe.getLayout(),vn=extend({},hn);vn.label=null;var bn=Fe.getVisual("style");bn.lineJoin="bevel";var _n=Fe.getVisual("decal");_n&&(bn.decal=createOrUpdatePatternFromDecal(_n,At));var wn=getSectorCornerRadius(Lt.getModel("itemStyle"),vn,!0);extend(vn,wn),each$f(SPECIAL_STATES,function(xn){var En=Dt.ensureState(xn),Tn=Lt.getModel([xn,"itemStyle"]);En.style=Tn.getItemStyle();var An=getSectorCornerRadius(Tn,vn);An&&(En.shape=An)}),Ie?(Dt.setShape(vn),Dt.shape.r=hn.r0,initProps(Dt,{shape:{r:hn.r}},Ue,Fe.dataIndex)):(updateProps$1(Dt,{shape:vn},Ue),saveOldStyle(Dt)),Dt.useStyle(bn),this._updateLabel(Ue);var kn=Lt.getShallow("cursor");kn&&Dt.attr("cursor",kn),this._seriesModel=Ue||this._seriesModel,this._ecModel=qe||this._ecModel;var Cn=jt.get("focus"),Sn=Cn==="ancestor"?Fe.getAncestorsIndices():Cn==="descendant"?Fe.getDescendantIndices():Cn;toggleHoverEmphasis(this,Sn,jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie){var Fe=this,Ue=this.node.getModel(),qe=Ue.getModel("label"),At=this.node.getLayout(),Dt=At.endAngle-At.startAngle,Lt=(At.startAngle+At.endAngle)/2,jt=Math.cos(Lt),hn=Math.sin(Lt),vn=this,bn=vn.getTextContent(),_n=this.node.dataIndex,wn=qe.get("minAngle")/180*Math.PI,kn=qe.get("show")&&!(wn!=null&&Math.abs(Dt)Vn&&!isRadianAroundZero(Dn-Vn)&&Dn0?(At.virtualPiece?At.virtualPiece.updateData(!1,xn,Ie,Fe,Ue):(At.virtualPiece=new SunburstPiece(xn,Ie,Fe,Ue),hn.add(At.virtualPiece)),En.piece.off("click"),At.virtualPiece.on("click",function(Tn){At._rootToNode(En.parentNode)})):At.virtualPiece&&(hn.remove(At.virtualPiece),At.virtualPiece=null)}},$e.prototype._initEvents=function(){var Ie=this;this.group.off("click"),this.group.on("click",function(Fe){var Ue=!1,qe=Ie.seriesModel.getViewRoot();qe.eachNode(function(At){if(!Ue&&At.piece&&At.piece===Fe.target){var Dt=At.getModel().get("nodeClick");if(Dt==="rootToNode")Ie._rootToNode(At);else if(Dt==="link"){var Lt=At.getModel(),jt=Lt.get("link");if(jt){var hn=Lt.get("target",!0)||"_blank";windowOpen(jt,hn)}}Ue=!0}})})},$e.prototype._rootToNode=function(Ie){Ie!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie})},$e.prototype.containPoint=function(Ie,Fe){var Ue=Fe.getData(),qe=Ue.getItemLayout(0);if(qe){var At=Ie[0]-qe.cx,Dt=Ie[1]-qe.cy,Lt=Math.sqrt(At*At+Dt*Dt);return Lt<=qe.r&&Lt>=qe.r0}},$e.type="sunburst",$e}(ChartView),SunburstSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue(Ue);var qe=this._levelModels=map$1(Ie.levels||[],function(Lt){return new Model(Lt,this,Fe)},this),At=Tree.createTree(Ue,this,Dt);function Dt(Lt){Lt.wrapMethod("getItemModel",function(jt,hn){var vn=At.getNodeByDataIndex(hn),bn=qe[vn.depth];return bn&&(jt.parentModel=bn),jt})}return At.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treePathInfo=wrapTreePathInfo(Ue,this),Fe},$e.prototype.getLevelModel=function(Ie){return this._levelModels&&this._levelModels[Ie.depth]},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.sunburst",$e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},$e}(SeriesModel);function completeTreeValue(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue(Fe);var Ue=Fe.value;isArray$1(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$1(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$1(xe.value)?xe.value[0]=Ie:xe.value=Ie}var RADIAN=Math.PI/180;function sunburstLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.get("center"),qe=Fe.get("radius");isArray$1(qe)||(qe=[0,qe]),isArray$1(Ue)||(Ue=[Ue,Ue]);var At=Ie.getWidth(),Dt=Ie.getHeight(),Lt=Math.min(At,Dt),jt=parsePercent(Ue[0],At),hn=parsePercent(Ue[1],Dt),vn=parsePercent(qe[0],Lt/2),bn=parsePercent(qe[1],Lt/2),_n=-Fe.get("startAngle")*RADIAN,wn=Fe.get("minAngle")*RADIAN,kn=Fe.getData().tree.root,Cn=Fe.getViewRoot(),Sn=Cn.depth,xn=Fe.get("sort");xn!=null&&initChildren(Cn,xn);var En=0;each$f(Cn.children,function(Dn){!isNaN(Dn.getValue())&&En++});var Tn=Cn.getValue(),An=Math.PI/(Tn||En)*2,$n=Cn.depth>0,Pn=Cn.height-($n?-1:1),Nn=(bn-vn)/(Pn||1),Mn=Fe.get("clockwise"),In=Fe.get("stillShowZeroSum"),On=Mn?1:-1,Rn=function(Dn,Hn){if(Dn){var Fn=Hn;if(Dn!==kn){var zn=Dn.getValue(),jn=Tn===0&&In?An:zn*An;jn1;)At=At.parentNode;var Dt=Ue.getColorFromPalette(At.name||At.dataIndex+"",$e);return Fe.depth>1&&isString(Dt)&&(Dt=lift(Dt,(Fe.depth-1)/(qe-1)*.5)),Dt}xe.eachSeriesByType("sunburst",function(Fe){var Ue=Fe.getData(),qe=Ue.tree;qe.eachNode(function(At){var Dt=At.getModel(),Lt=Dt.getModel("itemStyle").getItemStyle();Lt.fill||(Lt.fill=Ie(At,Fe,qe.root.height));var jt=Ue.ensureUniqueItemVisual(At.dataIndex,"style");extend(jt,Lt)})})}function install$t(xe){xe.registerChartView(SunburstView),xe.registerSeriesModel(SunburstSeriesModel),xe.registerLayout(curry$1(sunburstLayout,"sunburst")),xe.registerProcessor(curry$1(dataFilter$1,"sunburst")),xe.registerVisual(sunburstVisual),installSunburstAction(xe)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this)},$e.prototype.getDataParams=function(Ie,Fe,Ue){var qe=xe.prototype.getDataParams.call(this,Ie,Fe);return Ue&&(qe.info=customInnerStore(Ue).info),qe},$e.type="series.custom",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},$e}(SeriesModel);function dataToCoordSize$3(xe,$e){return $e=$e||[0,0],map$1(["x","y"],function(Ie,Fe){var Ue=this.getAxis(Ie),qe=$e[Fe],At=xe[Fe]/2;return Ue.type==="category"?Ue.getBandWidth():Math.abs(Ue.dataToCoord(qe-At)-Ue.dataToCoord(qe+At))},this)}function cartesianPrepareCustom(xe){var $e=xe.master.getRect();return{coordSys:{type:"cartesian2d",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$3,xe)}}}function dataToCoordSize$2(xe,$e){return $e=$e||[0,0],map$1([0,1],function(Ie){var Fe=$e[Ie],Ue=xe[Ie]/2,qe=[],At=[];return qe[Ie]=Fe-Ue,At[Ie]=Fe+Ue,qe[1-Ie]=At[1-Ie]=$e[1-Ie],Math.abs(this.dataToPoint(qe)[Ie]-this.dataToPoint(At)[Ie])},this)}function geoPrepareCustom(xe){var $e=xe.getBoundingRect();return{coordSys:{type:"geo",x:$e.x,y:$e.y,width:$e.width,height:$e.height,zoom:xe.getZoom()},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$2,xe)}}}function dataToCoordSize$1(xe,$e){var Ie=this.getAxis(),Fe=$e instanceof Array?$e[0]:$e,Ue=(xe instanceof Array?xe[0]:xe)/2;return Ie.type==="category"?Ie.getBandWidth():Math.abs(Ie.dataToCoord(Fe-Ue)-Ie.dataToCoord(Fe+Ue))}function singlePrepareCustom(xe){var $e=xe.getRect();return{coordSys:{type:"singleAxis",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$1,xe)}}}function dataToCoordSize(xe,$e){return $e=$e||[0,0],map$1(["Radius","Angle"],function(Ie,Fe){var Ue="get"+Ie+"Axis",qe=this[Ue](),At=$e[Fe],Dt=xe[Fe]/2,Lt=qe.type==="category"?qe.getBandWidth():Math.abs(qe.dataToCoord(At-Dt)-qe.dataToCoord(At+Dt));return Ie==="Angle"&&(Lt=Lt*Math.PI/180),Lt},this)}function polarPrepareCustom(xe){var $e=xe.getRadiusAxis(),Ie=xe.getAngleAxis(),Fe=$e.getExtent();return Fe[0]>Fe[1]&&Fe.reverse(),{coordSys:{type:"polar",cx:xe.cx,cy:xe.cy,r:Fe[1],r0:Fe[0]},api:{coord:function(Ue){var qe=$e.dataToRadius(Ue[0]),At=Ie.dataToAngle(Ue[1]),Dt=xe.coordToPoint([qe,At]);return Dt.push(qe,At*Math.PI/180),Dt},size:bind$1(dataToCoordSize,xe)}}}function calendarPrepareCustom(xe){var $e=xe.getRect(),Ie=xe.getRangeInfo();return{coordSys:{type:"calendar",x:$e.x,y:$e.y,width:$e.width,height:$e.height,cellWidth:xe.getCellWidth(),cellHeight:xe.getCellHeight(),rangeInfo:{start:Ie.start,end:Ie.end,weeks:Ie.weeks,dayCount:Ie.allDay}},api:{coord:function(Fe,Ue){return xe.dataToPoint(Fe,Ue)}}}}function isEC4CompatibleStyle(xe,$e,Ie,Fe){return xe&&(xe.legacy||xe.legacy!==!1&&!Ie&&!Fe&&$e!=="tspan"&&($e==="text"||hasOwn(xe,"text")))}function convertFromEC4CompatibleStyle(xe,$e,Ie){var Fe=xe,Ue,qe,At;if($e==="text")At=Fe;else{At={},hasOwn(Fe,"text")&&(At.text=Fe.text),hasOwn(Fe,"rich")&&(At.rich=Fe.rich),hasOwn(Fe,"textFill")&&(At.fill=Fe.textFill),hasOwn(Fe,"textStroke")&&(At.stroke=Fe.textStroke),hasOwn(Fe,"fontFamily")&&(At.fontFamily=Fe.fontFamily),hasOwn(Fe,"fontSize")&&(At.fontSize=Fe.fontSize),hasOwn(Fe,"fontStyle")&&(At.fontStyle=Fe.fontStyle),hasOwn(Fe,"fontWeight")&&(At.fontWeight=Fe.fontWeight),qe={type:"text",style:At,silent:!0},Ue={};var Dt=hasOwn(Fe,"textPosition");Ie?Ue.position=Dt?Fe.textPosition:"inside":Dt&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textPosition")&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textOffset")&&(Ue.offset=Fe.textOffset),hasOwn(Fe,"textRotation")&&(Ue.rotation=Fe.textRotation),hasOwn(Fe,"textDistance")&&(Ue.distance=Fe.textDistance)}return convertEC4CompatibleRichItem(At,xe),each$f(At.rich,function(Lt){convertEC4CompatibleRichItem(Lt,Lt)}),{textConfig:Ue,textContent:qe}}function convertEC4CompatibleRichItem(xe,$e){$e&&($e.font=$e.textFont||$e.font,hasOwn($e,"textStrokeWidth")&&(xe.lineWidth=$e.textStrokeWidth),hasOwn($e,"textAlign")&&(xe.align=$e.textAlign),hasOwn($e,"textVerticalAlign")&&(xe.verticalAlign=$e.textVerticalAlign),hasOwn($e,"textLineHeight")&&(xe.lineHeight=$e.textLineHeight),hasOwn($e,"textWidth")&&(xe.width=$e.textWidth),hasOwn($e,"textHeight")&&(xe.height=$e.textHeight),hasOwn($e,"textBackgroundColor")&&(xe.backgroundColor=$e.textBackgroundColor),hasOwn($e,"textPadding")&&(xe.padding=$e.textPadding),hasOwn($e,"textBorderColor")&&(xe.borderColor=$e.textBorderColor),hasOwn($e,"textBorderWidth")&&(xe.borderWidth=$e.textBorderWidth),hasOwn($e,"textBorderRadius")&&(xe.borderRadius=$e.textBorderRadius),hasOwn($e,"textBoxShadowColor")&&(xe.shadowColor=$e.textBoxShadowColor),hasOwn($e,"textBoxShadowBlur")&&(xe.shadowBlur=$e.textBoxShadowBlur),hasOwn($e,"textBoxShadowOffsetX")&&(xe.shadowOffsetX=$e.textBoxShadowOffsetX),hasOwn($e,"textBoxShadowOffsetY")&&(xe.shadowOffsetY=$e.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(xe,$e,Ie){var Fe=xe;Fe.textPosition=Fe.textPosition||Ie.position||"inside",Ie.offset!=null&&(Fe.textOffset=Ie.offset),Ie.rotation!=null&&(Fe.textRotation=Ie.rotation),Ie.distance!=null&&(Fe.textDistance=Ie.distance);var Ue=Fe.textPosition.indexOf("inside")>=0,qe=xe.fill||"#000";convertToEC4RichItem(Fe,$e);var At=Fe.textFill==null;return Ue?At&&(Fe.textFill=Ie.insideFill||"#fff",!Fe.textStroke&&Ie.insideStroke&&(Fe.textStroke=Ie.insideStroke),!Fe.textStroke&&(Fe.textStroke=qe),Fe.textStrokeWidth==null&&(Fe.textStrokeWidth=2)):(At&&(Fe.textFill=xe.fill||Ie.outsideFill||"#000"),!Fe.textStroke&&Ie.outsideStroke&&(Fe.textStroke=Ie.outsideStroke)),Fe.text=$e.text,Fe.rich=$e.rich,each$f($e.rich,function(Dt){convertToEC4RichItem(Dt,Dt)}),Fe}function convertToEC4RichItem(xe,$e){$e&&(hasOwn($e,"fill")&&(xe.textFill=$e.fill),hasOwn($e,"stroke")&&(xe.textStroke=$e.fill),hasOwn($e,"lineWidth")&&(xe.textStrokeWidth=$e.lineWidth),hasOwn($e,"font")&&(xe.font=$e.font),hasOwn($e,"fontStyle")&&(xe.fontStyle=$e.fontStyle),hasOwn($e,"fontWeight")&&(xe.fontWeight=$e.fontWeight),hasOwn($e,"fontSize")&&(xe.fontSize=$e.fontSize),hasOwn($e,"fontFamily")&&(xe.fontFamily=$e.fontFamily),hasOwn($e,"align")&&(xe.textAlign=$e.align),hasOwn($e,"verticalAlign")&&(xe.textVerticalAlign=$e.verticalAlign),hasOwn($e,"lineHeight")&&(xe.textLineHeight=$e.lineHeight),hasOwn($e,"width")&&(xe.textWidth=$e.width),hasOwn($e,"height")&&(xe.textHeight=$e.height),hasOwn($e,"backgroundColor")&&(xe.textBackgroundColor=$e.backgroundColor),hasOwn($e,"padding")&&(xe.textPadding=$e.padding),hasOwn($e,"borderColor")&&(xe.textBorderColor=$e.borderColor),hasOwn($e,"borderWidth")&&(xe.textBorderWidth=$e.borderWidth),hasOwn($e,"borderRadius")&&(xe.textBorderRadius=$e.borderRadius),hasOwn($e,"shadowColor")&&(xe.textBoxShadowColor=$e.shadowColor),hasOwn($e,"shadowBlur")&&(xe.textBoxShadowBlur=$e.shadowBlur),hasOwn($e,"shadowOffsetX")&&(xe.textBoxShadowOffsetX=$e.shadowOffsetX),hasOwn($e,"shadowOffsetY")&&(xe.textBoxShadowOffsetY=$e.shadowOffsetY),hasOwn($e,"textShadowColor")&&(xe.textShadowColor=$e.textShadowColor),hasOwn($e,"textShadowBlur")&&(xe.textShadowBlur=$e.textShadowBlur),hasOwn($e,"textShadowOffsetX")&&(xe.textShadowOffsetX=$e.textShadowOffsetX),hasOwn($e,"textShadowOffsetY")&&(xe.textShadowOffsetY=$e.textShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,function(xe,$e){return xe[$e]=1,xe},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(xe,$e,Ie,Fe,Ue){var qe=xe+"Animation",At=getAnimationConfig(xe,Fe,Ue)||{},Dt=transitionInnerStore($e).userDuring;return At.duration>0&&(At.during=Dt?bind$1(duringCall,{el:$e,userDuring:Dt}):null,At.setToFinal=!0,At.scope=xe),extend(At,Ie[qe]),At}function applyUpdateTransition(xe,$e,Ie,Fe){Fe=Fe||{};var Ue=Fe.dataIndex,qe=Fe.isInit,At=Fe.clearStyle,Dt=Ie.isAnimationEnabled(),Lt=transitionInnerStore(xe),jt=$e.style;Lt.userDuring=$e.during;var hn={},vn={};if(prepareTransformAllPropsFinal(xe,$e,vn),prepareShapeOrExtraAllPropsFinal("shape",$e,vn),prepareShapeOrExtraAllPropsFinal("extra",$e,vn),!qe&&Dt&&(prepareTransformTransitionFrom(xe,$e,hn),prepareShapeOrExtraTransitionFrom("shape",xe,$e,hn),prepareShapeOrExtraTransitionFrom("extra",xe,$e,hn),prepareStyleTransitionFrom(xe,$e,jt,hn)),vn.style=jt,applyPropsDirectly(xe,vn,At),applyMiscProps(xe,$e),Dt)if(qe){var bn={};each$f(ELEMENT_ANIMATABLE_PROPS,function(wn){var kn=wn?$e[wn]:$e;kn&&kn.enterFrom&&(wn&&(bn[wn]=bn[wn]||{}),extend(wn?bn[wn]:bn,kn.enterFrom))});var _n=getElementAnimationConfig("enter",xe,$e,Ie,Ue);_n.duration>0&&xe.animateFrom(bn,_n)}else applyPropsTransition(xe,$e,Ue||0,Ie,hn);updateLeaveTo(xe,$e),jt?xe.dirty():xe.markRedraw()}function updateLeaveTo(xe,$e){for(var Ie=transitionInnerStore(xe).leaveToProps,Fe=0;Fe0&&xe.animateFrom(Ue,qe)}}function applyMiscProps(xe,$e){hasOwn($e,"silent")&&(xe.silent=$e.silent),hasOwn($e,"ignore")&&(xe.ignore=$e.ignore),xe instanceof Displayable&&hasOwn($e,"invisible")&&(xe.invisible=$e.invisible),xe instanceof Path&&hasOwn($e,"autoBatch")&&(xe.autoBatch=$e.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(xe,$e){return tmpDuringScope.el[xe]=$e,this},getTransform:function(xe){return tmpDuringScope.el[xe]},setShape:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.shape||(Ie.shape={});return Fe[xe]=$e,Ie.dirtyShape&&Ie.dirtyShape(),this},getShape:function(xe){var $e=tmpDuringScope.el.shape;if($e)return $e[xe]},setStyle:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.style;return Fe&&(Fe[xe]=$e,Ie.dirtyStyle&&Ie.dirtyStyle()),this},getStyle:function(xe){var $e=tmpDuringScope.el.style;if($e)return $e[xe]},setExtra:function(xe,$e){var Ie=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return Ie[xe]=$e,this},getExtra:function(xe){var $e=tmpDuringScope.el.extra;if($e)return $e[xe]}};function duringCall(){var xe=this,$e=xe.el;if($e){var Ie=transitionInnerStore($e).userDuring,Fe=xe.userDuring;if(Ie!==Fe){xe.el=xe.userDuring=null;return}tmpDuringScope.el=$e,Fe(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(xe,$e,Ie,Fe){var Ue=Ie[xe];if(Ue){var qe=$e[xe],At;if(qe){var Dt=Ie.transition,Lt=Ue.transition;if(Lt)if(!At&&(At=Fe[xe]={}),isTransitionAll(Lt))extend(At,qe);else for(var jt=normalizeToArray(Lt),hn=0;hn=0){!At&&(At=Fe[xe]={});for(var _n=keys(qe),hn=0;hn<_n.length;hn++){var vn=_n[hn],bn=qe[vn];isNonStyleTransitionEnabled(Ue[vn],bn)&&(At[vn]=bn)}}}}}function prepareShapeOrExtraAllPropsFinal(xe,$e,Ie){var Fe=$e[xe];if(Fe)for(var Ue=Ie[xe]={},qe=keys(Fe),At=0;At=0)){var bn=xe.getAnimationStyleProps(),_n=bn?bn.style:null;if(_n){!qe&&(qe=Fe.style={});for(var wn=keys(Ie),jt=0;jt=0?$e.getStore().get(Hn,Ln):void 0}var Fn=$e.get(Dn.name,Ln),zn=Dn&&Dn.ordinalMeta;return zn?zn.categories[Fn]:Fn}function $n(Vn,Ln){Ln==null&&(Ln=jt);var Dn=$e.getItemVisual(Ln,"style"),Hn=Dn&&Dn.fill,Fn=Dn&&Dn.opacity,zn=xn(Ln,NORMAL).getItemStyle();Hn!=null&&(zn.fill=Hn),Fn!=null&&(zn.opacity=Fn);var jn={inheritColor:isString(Hn)?Hn:"#000"},Gn=En(Ln,NORMAL),Wn=createTextStyle(Gn,null,jn,!1,!0);Wn.text=Gn.getShallow("show")?retrieve2(xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var Xn=createTextConfig(Gn,jn,!1);return Mn(Vn,zn),zn=convertToEC4StyleForCustomSerise(zn,Wn,Xn),Vn&&Nn(zn,Vn),zn.legacy=!0,zn}function Pn(Vn,Ln){Ln==null&&(Ln=jt);var Dn=xn(Ln,EMPHASIS).getItemStyle(),Hn=En(Ln,EMPHASIS),Fn=createTextStyle(Hn,null,null,!0,!0);Fn.text=Hn.getShallow("show")?retrieve3(xe.getFormattedLabel(Ln,EMPHASIS),xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var zn=createTextConfig(Hn,null,!0);return Mn(Vn,Dn),Dn=convertToEC4StyleForCustomSerise(Dn,Fn,zn),Vn&&Nn(Dn,Vn),Dn.legacy=!0,Dn}function Nn(Vn,Ln){for(var Dn in Ln)hasOwn(Ln,Dn)&&(Vn[Dn]=Ln[Dn])}function Mn(Vn,Ln){Vn&&(Vn.textFill&&(Ln.textFill=Vn.textFill),Vn.textPosition&&(Ln.textPosition=Vn.textPosition))}function In(Vn,Ln){if(Ln==null&&(Ln=jt),hasOwn(STYLE_VISUAL_TYPE,Vn)){var Dn=$e.getItemVisual(Ln,"style");return Dn?Dn[STYLE_VISUAL_TYPE[Vn]]:null}if(hasOwn(NON_STYLE_VISUAL_PROPS,Vn))return $e.getItemVisual(Ln,Vn)}function On(Vn){if(qe.type==="cartesian2d"){var Ln=qe.getBaseAxis();return getLayoutOnAxis(defaults({axis:Ln},Vn))}}function Rn(){return Ie.getCurrentSeriesIndices()}function Bn(Vn){return getFont(Vn,Ie)}}function wrapEncodeDef(xe){var $e={};return each$f(xe.dimensions,function(Ie){var Fe=xe.getDimensionInfo(Ie);if(!Fe.isExtraCoord){var Ue=Fe.coordDim,qe=$e[Ue]=$e[Ue]||[];qe[Fe.coordDimIndex]=xe.getDimensionIndex(Ie)}}),$e}function createOrUpdateItem(xe,$e,Ie,Fe,Ue,qe,At){if(!Fe){qe.remove($e);return}var Dt=doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe);return Dt&&At.setItemGraphicEl(Ie,Dt),Dt&&toggleHoverEmphasis(Dt,Fe.focus,Fe.blurScope,Fe.emphasisDisabled),Dt}function doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe){var At=-1,Dt=$e;$e&&doesElNeedRecreate($e,Fe,Ue)&&(At=indexOf(qe.childrenRef(),$e),$e=null);var Lt=!$e,jt=$e;jt?jt.clearStates():(jt=createEl$1(Fe),Dt&©Element(Dt,jt)),Fe.morph===!1?jt.disableMorphing=!0:jt.disableMorphing&&(jt.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(jt,Ie,Fe,Ue,Lt,attachedTxInfoTmp),doCreateOrUpdateClipPath(jt,Ie,Fe,Ue,Lt),updateElNormal(xe,jt,Ie,Fe,attachedTxInfoTmp,Ue,Lt),hasOwn(Fe,"info")&&(customInnerStore(jt).info=Fe.info);for(var hn=0;hn=0?qe.replaceAt(jt,At):qe.add(jt),jt}function doesElNeedRecreate(xe,$e,Ie){var Fe=customInnerStore(xe),Ue=$e.type,qe=$e.shape,At=$e.style;return Ie.isUniversalTransitionEnabled()||Ue!=null&&Ue!==Fe.customGraphicType||Ue==="path"&&hasOwnPathData(qe)&&getPathData(qe)!==Fe.customPathData||Ue==="image"&&hasOwn(At,"image")&&At.image!==Fe.customImagePath}function doCreateOrUpdateClipPath(xe,$e,Ie,Fe,Ue){var qe=Ie.clipPath;if(qe===!1)xe&&xe.getClipPath()&&xe.removeClipPath();else if(qe){var At=xe.getClipPath();At&&doesElNeedRecreate(At,qe,Fe)&&(At=null),At||(At=createEl$1(qe),xe.setClipPath(At)),updateElNormal(null,At,$e,qe,null,Fe,Ue)}}function doCreateOrUpdateAttachedTx(xe,$e,Ie,Fe,Ue,qe){if(!xe.isGroup){processTxInfo(Ie,null,qe),processTxInfo(Ie,EMPHASIS,qe);var At=qe.normal.conOpt,Dt=qe.emphasis.conOpt,Lt=qe.blur.conOpt,jt=qe.select.conOpt;if(At!=null||Dt!=null||jt!=null||Lt!=null){var hn=xe.getTextContent();if(At===!1)hn&&xe.removeTextContent();else{At=qe.normal.conOpt=At||{type:"text"},hn?hn.clearStates():(hn=createEl$1(At),xe.setTextContent(hn)),updateElNormal(null,hn,$e,At,null,Fe,Ue);for(var vn=At&&At.style,bn=0;bn=hn;_n--){var wn=$e.childAt(_n);removeChildFromGroup($e,wn,Ue)}}}function removeChildFromGroup(xe,$e,Ie){$e&&applyLeaveTransition($e,customInnerStore(xe).option,Ie)}function diffGroupChildren(xe){new DataDiffer(xe.oldChildren,xe.newChildren,getKey,getKey,xe).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(xe,$e){var Ie=xe&&xe.name;return Ie??GROUP_DIFF_PREFIX+$e}function processAddUpdate(xe,$e){var Ie=this.context,Fe=xe!=null?Ie.newChildren[xe]:null,Ue=$e!=null?Ie.oldChildren[$e]:null;doCreateOrUpdateEl(Ie.api,Ue,Ie.dataIndex,Fe,Ie.seriesModel,Ie.group)}function processRemove(xe){var $e=this.context,Ie=$e.oldChildren[xe];Ie&&applyLeaveTransition(Ie,customInnerStore(Ie).option,$e.seriesModel)}function getPathData(xe){return xe&&(xe.pathData||xe.d)}function hasOwnPathData(xe){return xe&&(hasOwn(xe,"pathData")||hasOwn(xe,"d"))}function install$s(xe){xe.registerChartView(CustomChartView),xe.registerSeriesModel(CustomSeriesModel)}var inner$b=makeInner(),clone$1=clone$4,bind=bind$1,BaseAxisPointer=function(){function xe(){this._dragging=!1,this.animationThreshold=15}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=Ie.get("value"),At=Ie.get("status");if(this._axisModel=$e,this._axisPointerModel=Ie,this._api=Fe,!(!Ue&&this._lastValue===qe&&this._lastStatus===At)){this._lastValue=qe,this._lastStatus=At;var Dt=this._group,Lt=this._handle;if(!At||At==="hide"){Dt&&Dt.hide(),Lt&&Lt.hide();return}Dt&&Dt.show(),Lt&&Lt.show();var jt={};this.makeElOption(jt,qe,$e,Ie,Fe);var hn=jt.graphicKey;hn!==this._lastGraphicKey&&this.clear(Fe),this._lastGraphicKey=hn;var vn=this._moveAnimation=this.determineAnimation($e,Ie);if(!Dt)Dt=this._group=new Group$3,this.createPointerEl(Dt,jt,$e,Ie),this.createLabelEl(Dt,jt,$e,Ie),Fe.getZr().add(Dt);else{var bn=curry$1(updateProps,Ie,vn);this.updatePointerEl(Dt,jt,bn),this.updateLabelEl(Dt,jt,bn,Ie)}updateMandatoryProps(Dt,Ie,!0),this._renderHandle(qe)}},xe.prototype.remove=function($e){this.clear($e)},xe.prototype.dispose=function($e){this.clear($e)},xe.prototype.determineAnimation=function($e,Ie){var Fe=Ie.get("animation"),Ue=$e.axis,qe=Ue.type==="category",At=Ie.get("snap");if(!At&&!qe)return!1;if(Fe==="auto"||Fe==null){var Dt=this.animationThreshold;if(qe&&Ue.getBandWidth()>Dt)return!0;if(At){var Lt=getAxisInfo$1($e).seriesDataCount,jt=Ue.getExtent();return Math.abs(jt[0]-jt[1])/Lt>Dt}return!1}return Fe===!0},xe.prototype.makeElOption=function($e,Ie,Fe,Ue,qe){},xe.prototype.createPointerEl=function($e,Ie,Fe,Ue){var qe=Ie.pointer;if(qe){var At=inner$b($e).pointerEl=new graphic[qe.type](clone$1(Ie.pointer));$e.add(At)}},xe.prototype.createLabelEl=function($e,Ie,Fe,Ue){if(Ie.label){var qe=inner$b($e).labelEl=new ZRText(clone$1(Ie.label));$e.add(qe),updateLabelShowHide(qe,Ue)}},xe.prototype.updatePointerEl=function($e,Ie,Fe){var Ue=inner$b($e).pointerEl;Ue&&Ie.pointer&&(Ue.setStyle(Ie.pointer.style),Fe(Ue,{shape:Ie.pointer.shape}))},xe.prototype.updateLabelEl=function($e,Ie,Fe,Ue){var qe=inner$b($e).labelEl;qe&&(qe.setStyle(Ie.label.style),Fe(qe,{x:Ie.label.x,y:Ie.label.y}),updateLabelShowHide(qe,Ue))},xe.prototype._renderHandle=function($e){if(!(this._dragging||!this.updateHandleTransform)){var Ie=this._axisPointerModel,Fe=this._api.getZr(),Ue=this._handle,qe=Ie.getModel("handle"),At=Ie.get("status");if(!qe.get("show")||!At||At==="hide"){Ue&&Fe.remove(Ue),this._handle=null;return}var Dt;this._handle||(Dt=!0,Ue=this._handle=createIcon(qe.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(jt){stop(jt.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),Fe.add(Ue)),updateMandatoryProps(Ue,Ie,!1),Ue.setStyle(qe.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var Lt=qe.get("size");isArray$1(Lt)||(Lt=[Lt,Lt]),Ue.scaleX=Lt[0]/2,Ue.scaleY=Lt[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",qe.get("throttle")||0,"fixRate"),this._moveHandleToValue($e,Dt)}},xe.prototype._moveHandleToValue=function($e,Ie){updateProps(this._axisPointerModel,!Ie&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform($e,this._axisModel,this._axisPointerModel)))},xe.prototype._onHandleDragMove=function($e,Ie){var Fe=this._handle;if(Fe){this._dragging=!0;var Ue=this.updateHandleTransform(getHandleTransProps(Fe),[$e,Ie],this._axisModel,this._axisPointerModel);this._payloadInfo=Ue,Fe.stopAnimation(),Fe.attr(getHandleTransProps(Ue)),inner$b(Fe).lastProp=null,this._doDispatchAxisPointer()}},xe.prototype._doDispatchAxisPointer=function(){var $e=this._handle;if($e){var Ie=this._payloadInfo,Fe=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:Ie.cursorPoint[0],y:Ie.cursorPoint[1],tooltipOption:Ie.tooltipOption,axesInfo:[{axisDim:Fe.axis.dim,axisIndex:Fe.componentIndex}]})}},xe.prototype._onHandleDragEnd=function(){this._dragging=!1;var $e=this._handle;if($e){var Ie=this._axisPointerModel.get("value");this._moveHandleToValue(Ie),this._api.dispatchAction({type:"hideTip"})}},xe.prototype.clear=function($e){this._lastValue=null,this._lastStatus=null;var Ie=$e.getZr(),Fe=this._group,Ue=this._handle;Ie&&Fe&&(this._lastGraphicKey=null,Fe&&Ie.remove(Fe),Ue&&Ie.remove(Ue),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},xe.prototype.doClear=function(){},xe.prototype.buildLabel=function($e,Ie,Fe){return Fe=Fe||0,{x:$e[Fe],y:$e[1-Fe],width:Ie[Fe],height:Ie[1-Fe]}},xe}();function updateProps(xe,$e,Ie,Fe){propsEqual(inner$b(Ie).lastProp,Fe)||(inner$b(Ie).lastProp=Fe,$e?updateProps$1(Ie,Fe,xe):(Ie.stopAnimation(),Ie.attr(Fe)))}function propsEqual(xe,$e){if(isObject$3(xe)&&isObject$3($e)){var Ie=!0;return each$f($e,function(Fe,Ue){Ie=Ie&&propsEqual(xe[Ue],Fe)}),!!Ie}else return xe===$e}function updateLabelShowHide(xe,$e){xe[$e.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(xe){return{x:xe.x||0,y:xe.y||0,rotation:xe.rotation||0}}function updateMandatoryProps(xe,$e,Ie){var Fe=$e.get("z"),Ue=$e.get("zlevel");xe&&xe.traverse(function(qe){qe.type!=="group"&&(Fe!=null&&(qe.z=Fe),Ue!=null&&(qe.zlevel=Ue),qe.silent=Ie)})}function buildElStyle(xe){var $e=xe.get("type"),Ie=xe.getModel($e+"Style"),Fe;return $e==="line"?(Fe=Ie.getLineStyle(),Fe.fill=null):$e==="shadow"&&(Fe=Ie.getAreaStyle(),Fe.stroke=null),Fe}function buildLabelElOption(xe,$e,Ie,Fe,Ue){var qe=Ie.get("value"),At=getValueLabel(qe,$e.axis,$e.ecModel,Ie.get("seriesDataIndices"),{precision:Ie.get(["label","precision"]),formatter:Ie.get(["label","formatter"])}),Dt=Ie.getModel("label"),Lt=normalizeCssArray(Dt.get("padding")||0),jt=Dt.getFont(),hn=getBoundingRect(At,jt),vn=Ue.position,bn=hn.width+Lt[1]+Lt[3],_n=hn.height+Lt[0]+Lt[2],wn=Ue.align;wn==="right"&&(vn[0]-=bn),wn==="center"&&(vn[0]-=bn/2);var kn=Ue.verticalAlign;kn==="bottom"&&(vn[1]-=_n),kn==="middle"&&(vn[1]-=_n/2),confineInContainer(vn,bn,_n,Fe);var Cn=Dt.get("backgroundColor");(!Cn||Cn==="auto")&&(Cn=$e.get(["axisLine","lineStyle","color"])),xe.label={x:vn[0],y:vn[1],style:createTextStyle(Dt,{text:At,font:jt,fill:Dt.getTextColor(),padding:Lt,backgroundColor:Cn}),z2:10}}function confineInContainer(xe,$e,Ie,Fe){var Ue=Fe.getWidth(),qe=Fe.getHeight();xe[0]=Math.min(xe[0]+$e,Ue)-$e,xe[1]=Math.min(xe[1]+Ie,qe)-Ie,xe[0]=Math.max(xe[0],0),xe[1]=Math.max(xe[1],0)}function getValueLabel(xe,$e,Ie,Fe,Ue){xe=$e.scale.parse(xe);var qe=$e.scale.getLabel({value:xe},{precision:Ue.precision}),At=Ue.formatter;if(At){var Dt={value:getAxisRawValue($e,{value:xe}),axisDimension:$e.dim,axisIndex:$e.index,seriesData:[]};each$f(Fe,function(Lt){var jt=Ie.getSeriesByIndex(Lt.seriesIndex),hn=Lt.dataIndexInside,vn=jt&&jt.getDataParams(hn);vn&&Dt.seriesData.push(vn)}),isString(At)?qe=At.replace("{value}",qe):isFunction(At)&&(qe=At(Dt))}return qe}function getTransformedPosition(xe,$e,Ie){var Fe=create$1();return rotate(Fe,Fe,Ie.rotation),translate(Fe,Fe,Ie.position),applyTransform([xe.dataToCoord($e),(Ie.labelOffset||0)+(Ie.labelDirection||1)*(Ie.labelMargin||0)],Fe)}function buildCartesianSingleLabelElOption(xe,$e,Ie,Fe,Ue,qe){var At=AxisBuilder.innerTextLayout(Ie.rotation,0,Ie.labelDirection);Ie.labelMargin=Ue.get(["label","margin"]),buildLabelElOption($e,Fe,Ue,qe,{position:getTransformedPosition(Fe.axis,xe,Ie),align:At.textAlign,verticalAlign:At.textVerticalAlign})}function makeLineShape(xe,$e,Ie){return Ie=Ie||0,{x1:xe[Ie],y1:xe[1-Ie],x2:$e[Ie],y2:$e[1-Ie]}}function makeRectShape(xe,$e,Ie){return Ie=Ie||0,{x:xe[Ie],y:xe[1-Ie],width:$e[Ie],height:$e[1-Ie]}}function makeSectorShape(xe,$e,Ie,Fe,Ue,qe){return{cx:xe,cy:$e,r0:Ie,r:Fe,startAngle:Ue,endAngle:qe,clockwise:!0}}var CartesianAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.grid,jt=qe.get("type"),hn=getCartesian(Lt,Dt).getOtherAxis(Dt).getGlobalExtent(),vn=Dt.toGlobalCoord(Dt.dataToCoord(Fe,!0));if(jt&&jt!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder$2[jt](Dt,vn,hn);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$2(Lt.model,Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$2(Fe.axis.grid.model,Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.grid,Lt=At.getGlobalExtent(!0),jt=getCartesian(Dt,At).getOtherAxis(At).getGlobalExtent(),hn=At.dim==="x"?0:1,vn=[Ie.x,Ie.y];vn[hn]+=Fe[hn],vn[hn]=Math.min(Lt[1],vn[hn]),vn[hn]=Math.max(Lt[0],vn[hn]);var bn=(jt[1]+jt[0])/2,_n=[bn,bn];_n[hn]=vn[hn];var wn=[{verticalAlign:"middle"},{align:"center"}];return{x:vn[0],y:vn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:wn[hn]}},$e}(BaseAxisPointer);function getCartesian(xe,$e){var Ie={};return Ie[$e.dim+"AxisIndex"]=$e.index,xe.getCartesian(Ie)}var pointerShapeBuilder$2={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getAxisDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=Math.max(1,xe.getBandWidth()),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getAxisDimIndex(xe))}}};function getAxisDimIndex(xe){return xe.dim==="x"?0:1}var AxisPointerModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="axisPointer",$e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},$e}(ComponentModel),inner$a=makeInner(),each$8=each$f;function register(xe,$e,Ie){if(!env.node){var Fe=$e.getZr();inner$a(Fe).records||(inner$a(Fe).records={}),initGlobalListeners(Fe,$e);var Ue=inner$a(Fe).records[xe]||(inner$a(Fe).records[xe]={});Ue.handler=Ie}}function initGlobalListeners(xe,$e){if(inner$a(xe).initialized)return;inner$a(xe).initialized=!0,Ie("click",curry$1(doEnter,"click")),Ie("mousemove",curry$1(doEnter,"mousemove")),Ie("globalout",onLeave);function Ie(Fe,Ue){xe.on(Fe,function(qe){var At=makeDispatchAction$1($e);each$8(inner$a(xe).records,function(Dt){Dt&&Ue(Dt,qe,At.dispatchAction)}),dispatchTooltipFinally(At.pendings,$e)})}}function dispatchTooltipFinally(xe,$e){var Ie=xe.showTip.length,Fe=xe.hideTip.length,Ue;Ie?Ue=xe.showTip[Ie-1]:Fe&&(Ue=xe.hideTip[Fe-1]),Ue&&(Ue.dispatchAction=null,$e.dispatchAction(Ue))}function onLeave(xe,$e,Ie){xe.handler("leave",null,Ie)}function doEnter(xe,$e,Ie,Fe){$e.handler(xe,Ie,Fe)}function makeDispatchAction$1(xe){var $e={showTip:[],hideTip:[]},Ie=function(Fe){var Ue=$e[Fe.type];Ue?Ue.push(Fe):(Fe.dispatchAction=Ie,xe.dispatchAction(Fe))};return{dispatchAction:Ie,pendings:$e}}function unregister(xe,$e){if(!env.node){var Ie=$e.getZr(),Fe=(inner$a(Ie).records||{})[xe];Fe&&(inner$a(Ie).records[xe]=null)}}var AxisPointerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Fe.getComponent("tooltip"),At=Ie.get("triggerOn")||qe&&qe.get("triggerOn")||"mousemove|click";register("axisPointer",Ue,function(Dt,Lt,jt){At!=="none"&&(Dt==="leave"||At.indexOf(Dt)>=0)&&jt({type:"updateAxisPointer",currTrigger:Dt,x:Lt&&Lt.offsetX,y:Lt&&Lt.offsetY})})},$e.prototype.remove=function(Ie,Fe){unregister("axisPointer",Fe)},$e.prototype.dispose=function(Ie,Fe){unregister("axisPointer",Fe)},$e.type="axisPointer",$e}(ComponentView);function findPointFromSeries(xe,$e){var Ie=[],Fe=xe.seriesIndex,Ue;if(Fe==null||!(Ue=$e.getSeriesByIndex(Fe)))return{point:[]};var qe=Ue.getData(),At=queryDataIndex(qe,xe);if(At==null||At<0||isArray$1(At))return{point:[]};var Dt=qe.getItemGraphicEl(At),Lt=Ue.coordinateSystem;if(Ue.getTooltipPosition)Ie=Ue.getTooltipPosition(At)||[];else if(Lt&&Lt.dataToPoint)if(xe.isStacked){var jt=Lt.getBaseAxis(),hn=Lt.getOtherAxis(jt),vn=hn.dim,bn=jt.dim,_n=vn==="x"||vn==="radius"?1:0,wn=qe.mapDimension(bn),kn=[];kn[_n]=qe.get(wn,At),kn[1-_n]=qe.get(qe.getCalculationInfo("stackResultDimension"),At),Ie=Lt.dataToPoint(kn)||[]}else Ie=Lt.dataToPoint(qe.getValues(map$1(Lt.dimensions,function(Sn){return qe.mapDimension(Sn)}),At))||[];else if(Dt){var Cn=Dt.getBoundingRect().clone();Cn.applyTransform(Dt.transform),Ie=[Cn.x+Cn.width/2,Cn.y+Cn.height/2]}return{point:Ie,el:Dt}}var inner$9=makeInner();function axisTrigger(xe,$e,Ie){var Fe=xe.currTrigger,Ue=[xe.x,xe.y],qe=xe,At=xe.dispatchAction||bind$1(Ie.dispatchAction,Ie),Dt=$e.getComponent("axisPointer").coordSysAxesInfo;if(Dt){illegalPoint(Ue)&&(Ue=findPointFromSeries({seriesIndex:qe.seriesIndex,dataIndex:qe.dataIndex},$e).point);var Lt=illegalPoint(Ue),jt=qe.axesInfo,hn=Dt.axesInfo,vn=Fe==="leave"||illegalPoint(Ue),bn={},_n={},wn={list:[],map:{}},kn={showPointer:curry$1(showPointer,_n),showTooltip:curry$1(showTooltip,wn)};each$f(Dt.coordSysMap,function(Sn,xn){var En=Lt||Sn.containPoint(Ue);each$f(Dt.coordSysAxesInfo[xn],function(Tn,An){var $n=Tn.axis,Pn=findInputAxisInfo(jt,Tn);if(!vn&&En&&(!jt||Pn)){var Nn=Pn&&Pn.value;Nn==null&&!Lt&&(Nn=$n.pointToData(Ue)),Nn!=null&&processOnAxis(Tn,Nn,kn,!1,bn)}})});var Cn={};return each$f(hn,function(Sn,xn){var En=Sn.linkGroup;En&&!_n[xn]&&each$f(En.axesInfo,function(Tn,An){var $n=_n[An];if(Tn!==Sn&&$n){var Pn=$n.value;En.mapper&&(Pn=Sn.axis.scale.parse(En.mapper(Pn,makeMapperParam(Tn),makeMapperParam(Sn)))),Cn[Sn.key]=Pn}})}),each$f(Cn,function(Sn,xn){processOnAxis(hn[xn],Sn,kn,!0,bn)}),updateModelActually(_n,hn,bn),dispatchTooltipActually(wn,Ue,xe,At),dispatchHighDownActually(hn,At,Ie),bn}}function processOnAxis(xe,$e,Ie,Fe,Ue){var qe=xe.axis;if(!(qe.scale.isBlank()||!qe.containData($e))){if(!xe.involveSeries){Ie.showPointer(xe,$e);return}var At=buildPayloadsBySeries($e,xe),Dt=At.payloadBatch,Lt=At.snapToValue;Dt[0]&&Ue.seriesIndex==null&&extend(Ue,Dt[0]),!Fe&&xe.snap&&qe.containData(Lt)&&Lt!=null&&($e=Lt),Ie.showPointer(xe,$e,Dt),Ie.showTooltip(xe,At,Lt)}}function buildPayloadsBySeries(xe,$e){var Ie=$e.axis,Fe=Ie.dim,Ue=xe,qe=[],At=Number.MAX_VALUE,Dt=-1;return each$f($e.seriesModels,function(Lt,jt){var hn=Lt.getData().mapDimensionsAll(Fe),vn,bn;if(Lt.getAxisTooltipData){var _n=Lt.getAxisTooltipData(hn,xe,Ie);bn=_n.dataIndices,vn=_n.nestestValue}else{if(bn=Lt.getData().indicesOfNearest(hn[0],xe,Ie.type==="category"?.5:null),!bn.length)return;vn=Lt.getData().get(hn[0],bn[0])}if(!(vn==null||!isFinite(vn))){var wn=xe-vn,kn=Math.abs(wn);kn<=At&&((kn=0&&Dt<0)&&(At=kn,Dt=wn,Ue=vn,qe.length=0),each$f(bn,function(Cn){qe.push({seriesIndex:Lt.seriesIndex,dataIndexInside:Cn,dataIndex:Lt.getData().getRawIndex(Cn)})}))}}),{payloadBatch:qe,snapToValue:Ue}}function showPointer(xe,$e,Ie,Fe){xe[$e.key]={value:Ie,payloadBatch:Fe}}function showTooltip(xe,$e,Ie,Fe){var Ue=Ie.payloadBatch,qe=$e.axis,At=qe.model,Dt=$e.axisPointerModel;if(!(!$e.triggerTooltip||!Ue.length)){var Lt=$e.coordSys.model,jt=makeKey(Lt),hn=xe.map[jt];hn||(hn=xe.map[jt]={coordSysId:Lt.id,coordSysIndex:Lt.componentIndex,coordSysType:Lt.type,coordSysMainType:Lt.mainType,dataByAxis:[]},xe.list.push(hn)),hn.dataByAxis.push({axisDim:qe.dim,axisIndex:At.componentIndex,axisType:At.type,axisId:At.id,value:Fe,valueLabelOpt:{precision:Dt.get(["label","precision"]),formatter:Dt.get(["label","formatter"])},seriesDataIndices:Ue.slice()})}}function updateModelActually(xe,$e,Ie){var Fe=Ie.axesInfo=[];each$f($e,function(Ue,qe){var At=Ue.axisPointerModel.option,Dt=xe[qe];Dt?(!Ue.useHandle&&(At.status="show"),At.value=Dt.value,At.seriesDataIndices=(Dt.payloadBatch||[]).slice()):!Ue.useHandle&&(At.status="hide"),At.status==="show"&&Fe.push({axisDim:Ue.axis.dim,axisIndex:Ue.axis.model.componentIndex,value:At.value})})}function dispatchTooltipActually(xe,$e,Ie,Fe){if(illegalPoint($e)||!xe.list.length){Fe({type:"hideTip"});return}var Ue=((xe.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};Fe({type:"showTip",escapeConnect:!0,x:$e[0],y:$e[1],tooltipOption:Ie.tooltipOption,position:Ie.position,dataIndexInside:Ue.dataIndexInside,dataIndex:Ue.dataIndex,seriesIndex:Ue.seriesIndex,dataByCoordSys:xe.list})}function dispatchHighDownActually(xe,$e,Ie){var Fe=Ie.getZr(),Ue="axisPointerLastHighlights",qe=inner$9(Fe)[Ue]||{},At=inner$9(Fe)[Ue]={};each$f(xe,function(jt,hn){var vn=jt.axisPointerModel.option;vn.status==="show"&&jt.triggerEmphasis&&each$f(vn.seriesDataIndices,function(bn){var _n=bn.seriesIndex+" | "+bn.dataIndex;At[_n]=bn})});var Dt=[],Lt=[];each$f(qe,function(jt,hn){!At[hn]&&Lt.push(jt)}),each$f(At,function(jt,hn){!qe[hn]&&Dt.push(jt)}),Lt.length&&Ie.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:Lt}),Dt.length&&Ie.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:Dt})}function findInputAxisInfo(xe,$e){for(var Ie=0;Ie<(xe||[]).length;Ie++){var Fe=xe[Ie];if($e.axis.dim===Fe.axisDim&&$e.axis.model.componentIndex===Fe.axisIndex)return Fe}}function makeMapperParam(xe){var $e=xe.axis.model,Ie={},Fe=Ie.axisDim=xe.axis.dim;return Ie.axisIndex=Ie[Fe+"AxisIndex"]=$e.componentIndex,Ie.axisName=Ie[Fe+"AxisName"]=$e.name,Ie.axisId=Ie[Fe+"AxisId"]=$e.id,Ie}function illegalPoint(xe){return!xe||xe[0]==null||isNaN(xe[0])||xe[1]==null||isNaN(xe[1])}function install$r(xe){AxisView.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer),xe.registerComponentModel(AxisPointerModel),xe.registerComponentView(AxisPointerView),xe.registerPreprocessor(function($e){if($e){(!$e.axisPointer||$e.axisPointer.length===0)&&($e.axisPointer={});var Ie=$e.axisPointer.link;Ie&&!isArray$1(Ie)&&($e.axisPointer.link=[Ie])}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,function($e,Ie){$e.getComponent("axisPointer").coordSysAxesInfo=collect($e,Ie)}),xe.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$q(xe){use(install$O),use(install$r)}var PolarAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis;Dt.dim==="angle"&&(this.animationThreshold=Math.PI/18);var Lt=Dt.polar,jt=Lt.getOtherAxis(Dt),hn=jt.getExtent(),vn=Dt.dataToCoord(Fe),bn=qe.get("type");if(bn&&bn!=="none"){var _n=buildElStyle(qe),wn=pointerShapeBuilder$1[bn](Dt,Lt,vn,hn);wn.style=_n,Ie.graphicKey=wn.type,Ie.pointer=wn}var kn=qe.get(["label","margin"]),Cn=getLabelPosition(Fe,Ue,qe,Lt,kn);buildLabelElOption(Ie,Ue,qe,At,Cn)},$e}(BaseAxisPointer);function getLabelPosition(xe,$e,Ie,Fe,Ue){var qe=$e.axis,At=qe.dataToCoord(xe),Dt=Fe.getAngleAxis().getExtent()[0];Dt=Dt/180*Math.PI;var Lt=Fe.getRadiusAxis().getExtent(),jt,hn,vn;if(qe.dim==="radius"){var bn=create$1();rotate(bn,bn,Dt),translate(bn,bn,[Fe.cx,Fe.cy]),jt=applyTransform([At,-Ue],bn);var _n=$e.getModel("axisLabel").get("rotate")||0,wn=AxisBuilder.innerTextLayout(Dt,_n*Math.PI/180,-1);hn=wn.textAlign,vn=wn.textVerticalAlign}else{var kn=Lt[1];jt=Fe.coordToPoint([kn+Ue,At]);var Cn=Fe.cx,Sn=Fe.cy;hn=Math.abs(jt[0]-Cn)/kn<.3?"center":jt[0]>Cn?"left":"right",vn=Math.abs(jt[1]-Sn)/kn<.3?"middle":jt[1]>Sn?"top":"bottom"}return{position:jt,align:hn,verticalAlign:vn}}var pointerShapeBuilder$1={line:function(xe,$e,Ie,Fe){return xe.dim==="angle"?{type:"Line",shape:makeLineShape($e.coordToPoint([Fe[0],Ie]),$e.coordToPoint([Fe[1],Ie]))}:{type:"Circle",shape:{cx:$e.cx,cy:$e.cy,r:Ie}}},shadow:function(xe,$e,Ie,Fe){var Ue=Math.max(1,xe.getBandWidth()),qe=Math.PI/180;return xe.dim==="angle"?{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Fe[0],Fe[1],(-Ie-Ue/2)*qe,(-Ie+Ue/2)*qe)}:{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Ie-Ue/2,Ie+Ue/2,0,Math.PI*2)}}},PolarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.findAxisModel=function(Ie){var Fe,Ue=this.ecModel;return Ue.eachComponent(Ie,function(qe){qe.getCoordSysModel()===this&&(Fe=qe)},this),Fe},$e.type="polar",$e.dependencies=["radiusAxis","angleAxis"],$e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},$e}(ComponentModel),PolarAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},$e.type="polarAxis",$e}(ComponentModel);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="angleAxis",$e}(PolarAxisModel),RadiusAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="radiusAxis",$e}(PolarAxisModel),RadiusAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"radius",Ie,Fe)||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e}(Axis);RadiusAxis.prototype.dataToRadius=Axis.prototype.dataToCoord;RadiusAxis.prototype.radiusToData=Axis.prototype.coordToData;var inner$8=makeInner(),AngleAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"angle",Ie,Fe||[0,360])||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e.prototype.calculateCategoryInterval=function(){var Ie=this,Fe=Ie.getLabelModel(),Ue=Ie.scale,qe=Ue.getExtent(),At=Ue.count();if(qe[1]-qe[0]<1)return 0;var Dt=qe[0],Lt=Ie.dataToCoord(Dt+1)-Ie.dataToCoord(Dt),jt=Math.abs(Lt),hn=getBoundingRect(Dt==null?"":Dt+"",Fe.getFont(),"center","top"),vn=Math.max(hn.height,7),bn=vn/jt;isNaN(bn)&&(bn=1/0);var _n=Math.max(0,Math.floor(bn)),wn=inner$8(Ie.model),kn=wn.lastAutoInterval,Cn=wn.lastTickCount;return kn!=null&&Cn!=null&&Math.abs(kn-_n)<=1&&Math.abs(Cn-At)<=1&&kn>_n?_n=kn:(wn.lastTickCount=At,wn.lastAutoInterval=_n),_n},$e}(Axis);AngleAxis.prototype.dataToAngle=Axis.prototype.dataToCoord;AngleAxis.prototype.angleToData=Axis.prototype.coordToData;var polarDimensions=["radius","angle"],Polar=function(){function xe($e){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis,this._angleAxis=new AngleAxis,this.axisPointerEnabled=!0,this.name=$e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return xe.prototype.containPoint=function($e){var Ie=this.pointToCoord($e);return this._radiusAxis.contain(Ie[0])&&this._angleAxis.contain(Ie[1])},xe.prototype.containData=function($e){return this._radiusAxis.containData($e[0])&&this._angleAxis.containData($e[1])},xe.prototype.getAxis=function($e){var Ie="_"+$e+"Axis";return this[Ie]},xe.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},xe.prototype.getAxesByScale=function($e){var Ie=[],Fe=this._angleAxis,Ue=this._radiusAxis;return Fe.scale.type===$e&&Ie.push(Fe),Ue.scale.type===$e&&Ie.push(Ue),Ie},xe.prototype.getAngleAxis=function(){return this._angleAxis},xe.prototype.getRadiusAxis=function(){return this._radiusAxis},xe.prototype.getOtherAxis=function($e){var Ie=this._angleAxis;return $e===Ie?this._radiusAxis:Ie},xe.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},xe.prototype.getTooltipAxes=function($e){var Ie=$e!=null&&$e!=="auto"?this.getAxis($e):this.getBaseAxis();return{baseAxes:[Ie],otherAxes:[this.getOtherAxis(Ie)]}},xe.prototype.dataToPoint=function($e,Ie){return this.coordToPoint([this._radiusAxis.dataToRadius($e[0],Ie),this._angleAxis.dataToAngle($e[1],Ie)])},xe.prototype.pointToData=function($e,Ie){var Fe=this.pointToCoord($e);return[this._radiusAxis.radiusToData(Fe[0],Ie),this._angleAxis.angleToData(Fe[1],Ie)]},xe.prototype.pointToCoord=function($e){var Ie=$e[0]-this.cx,Fe=$e[1]-this.cy,Ue=this.getAngleAxis(),qe=Ue.getExtent(),At=Math.min(qe[0],qe[1]),Dt=Math.max(qe[0],qe[1]);Ue.inverse?At=Dt-360:Dt=At+360;var Lt=Math.sqrt(Ie*Ie+Fe*Fe);Ie/=Lt,Fe/=Lt;for(var jt=Math.atan2(-Fe,Ie)/Math.PI*180,hn=jtDt;)jt+=hn*360;return[Lt,jt]},xe.prototype.coordToPoint=function($e){var Ie=$e[0],Fe=$e[1]/180*Math.PI,Ue=Math.cos(Fe)*Ie+this.cx,qe=-Math.sin(Fe)*Ie+this.cy;return[Ue,qe]},xe.prototype.getArea=function(){var $e=this.getAngleAxis(),Ie=this.getRadiusAxis(),Fe=Ie.getExtent().slice();Fe[0]>Fe[1]&&Fe.reverse();var Ue=$e.getExtent(),qe=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:Fe[0],r:Fe[1],startAngle:-Ue[0]*qe,endAngle:-Ue[1]*qe,clockwise:$e.inverse,contain:function(At,Dt){var Lt=At-this.cx,jt=Dt-this.cy,hn=Lt*Lt+jt*jt-1e-4,vn=this.r,bn=this.r0;return hn<=vn*vn&&hn>=bn*bn}}},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$2(xe){var $e=xe.seriesModel,Ie=xe.polarModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}const Polar$1=Polar;function resizePolar(xe,$e,Ie){var Fe=$e.get("center"),Ue=Ie.getWidth(),qe=Ie.getHeight();xe.cx=parsePercent(Fe[0],Ue),xe.cy=parsePercent(Fe[1],qe);var At=xe.getRadiusAxis(),Dt=Math.min(Ue,qe)/2,Lt=$e.get("radius");Lt==null?Lt=[0,"100%"]:isArray$1(Lt)||(Lt=[0,Lt]);var jt=[parsePercent(Lt[0],Dt),parsePercent(Lt[1],Dt)];At.inverse?At.setExtent(jt[1],jt[0]):At.setExtent(jt[0],jt[1])}function updatePolarScale(xe,$e){var Ie=this,Fe=Ie.getAngleAxis(),Ue=Ie.getRadiusAxis();if(Fe.scale.setExtent(1/0,-1/0),Ue.scale.setExtent(1/0,-1/0),xe.eachSeries(function(Dt){if(Dt.coordinateSystem===Ie){var Lt=Dt.getData();each$f(getDataDimensionsOnAxis(Lt,"radius"),function(jt){Ue.scale.unionExtentFromData(Lt,jt)}),each$f(getDataDimensionsOnAxis(Lt,"angle"),function(jt){Fe.scale.unionExtentFromData(Lt,jt)})}}),niceScaleExtent(Fe.scale,Fe.model),niceScaleExtent(Ue.scale,Ue.model),Fe.type==="category"&&!Fe.onBand){var qe=Fe.getExtent(),At=360/Fe.scale.count();Fe.inverse?qe[1]+=At:qe[1]-=At,Fe.setExtent(qe[0],qe[1])}}function isAngleAxisModel(xe){return xe.mainType==="angleAxis"}function setAxis(xe,$e){var Ie;if(xe.type=$e.get("type"),xe.scale=createScaleByModel$1($e),xe.onBand=$e.get("boundaryGap")&&xe.type==="category",xe.inverse=$e.get("inverse"),isAngleAxisModel($e)){xe.inverse=xe.inverse!==$e.get("clockwise");var Fe=$e.get("startAngle"),Ue=(Ie=$e.get("endAngle"))!==null&&Ie!==void 0?Ie:Fe+(xe.inverse?-360:360);xe.setExtent(Fe,Ue)}$e.axis=xe,xe.model=$e}var polarCreator={dimensions:polarDimensions,create:function(xe,$e){var Ie=[];return xe.eachComponent("polar",function(Fe,Ue){var qe=new Polar$1(Ue+"");qe.update=updatePolarScale;var At=qe.getRadiusAxis(),Dt=qe.getAngleAxis(),Lt=Fe.findAxisModel("radiusAxis"),jt=Fe.findAxisModel("angleAxis");setAxis(At,Lt),setAxis(Dt,jt),resizePolar(qe,Fe,$e),Ie.push(qe),Fe.coordinateSystem=qe,qe.model=Fe}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="polar"){var Ue=Fe.getReferringComponents("polar",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue.coordinateSystem}}),Ie}},elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(xe,$e,Ie){$e[1]>$e[0]&&($e=$e.slice().reverse());var Fe=xe.coordToPoint([$e[0],Ie]),Ue=xe.coordToPoint([$e[1],Ie]);return{x1:Fe[0],y1:Fe[1],x2:Ue[0],y2:Ue[1]}}function getRadiusIdx(xe){var $e=xe.getRadiusAxis();return $e.inverse?0:1}function fixAngleOverlap(xe){var $e=xe[0],Ie=xe[xe.length-1];$e&&Ie&&Math.abs(Math.abs($e.coord-Ie.coord)-360)<1e-4&&xe.pop()}var AngleAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.axisPointerClass="PolarAxisPointer",Ie}return $e.prototype.render=function(Ie,Fe){if(this.group.removeAll(),!!Ie.get("show")){var Ue=Ie.axis,qe=Ue.polar,At=qe.getRadiusAxis().getExtent(),Dt=Ue.getTicksCoords(),Lt=Ue.getMinorTicksCoords(),jt=map$1(Ue.getViewLabels(),function(hn){hn=clone$4(hn);var vn=Ue.scale,bn=vn.type==="ordinal"?vn.getRawOrdinalNumber(hn.tickValue):hn.tickValue;return hn.coord=Ue.dataToCoord(bn),hn});fixAngleOverlap(jt),fixAngleOverlap(Dt),each$f(elementList,function(hn){Ie.get([hn,"show"])&&(!Ue.scale.isBlank()||hn==="axisLine")&&angelAxisElementsBuilders[hn](this.group,Ie,qe,Dt,Lt,At,jt)},this)}},$e.type="angleAxis",$e}(AxisView),angelAxisElementsBuilders={axisLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel(["axisLine","lineStyle"]),Dt=Ie.getAngleAxis(),Lt=Math.PI/180,jt=Dt.getExtent(),hn=getRadiusIdx(Ie),vn=hn?0:1,bn,_n=Math.abs(jt[1]-jt[0])===360?"Circle":"Arc";qe[vn]===0?bn=new graphic[_n]({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],startAngle:-jt[0]*Lt,endAngle:-jt[1]*Lt,clockwise:Dt.inverse},style:At.getLineStyle(),z2:1,silent:!0}):bn=new Ring$1({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],r0:qe[vn]},style:At.getLineStyle(),z2:1,silent:!0}),bn.style.fill=null,xe.add(bn)},axisTick:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("axisTick"),Dt=(At.get("inside")?-1:1)*At.get("length"),Lt=qe[getRadiusIdx(Ie)],jt=map$1(Fe,function(hn){return new Line$1({shape:getAxisLineShape(Ie,[Lt,Lt+Dt],hn.coord)})});xe.add(mergePath(jt,{style:defaults(At.getModel("lineStyle").getLineStyle(),{stroke:$e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(xe,$e,Ie,Fe,Ue,qe){if(Ue.length){for(var At=$e.getModel("axisTick"),Dt=$e.getModel("minorTick"),Lt=(At.get("inside")?-1:1)*Dt.get("length"),jt=qe[getRadiusIdx(Ie)],hn=[],vn=0;vnSn?"left":"right",Tn=Math.abs(Cn[1]-xn)/kn<.3?"middle":Cn[1]>xn?"top":"bottom";if(Dt&&Dt[wn]){var An=Dt[wn];isObject$3(An)&&An.textStyle&&(_n=new Model(An.textStyle,Lt,Lt.ecModel))}var $n=new ZRText({silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(_n,{x:Cn[0],y:Cn[1],fill:_n.getTextColor()||$e.get(["axisLine","lineStyle","color"]),text:vn.formattedLabel,align:En,verticalAlign:Tn})});if(xe.add($n),hn){var Pn=AxisBuilder.makeAxisEventDataBase($e);Pn.targetType="axisLabel",Pn.value=vn.rawLabel,getECData($n).eventData=Pn}},this)},splitLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("splitLine"),Dt=At.getModel("lineStyle"),Lt=Dt.get("color"),jt=0;Lt=Lt instanceof Array?Lt:[Lt];for(var hn=[],vn=0;vn=0?"p":"n",Bn=Pn;An&&(Fe[hn][On]||(Fe[hn][On]={p:Pn,n:Pn}),Bn=Fe[hn][On][Rn]);var Vn=void 0,Ln=void 0,Dn=void 0,Hn=void 0;if(wn.dim==="radius"){var Fn=wn.dataToCoord(In)-Pn,zn=Lt.dataToCoord(On);Math.abs(Fn)=Hn})}}})}function calRadialBar(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.getData(),At=Fe.coordinateSystem,Dt=At.getBaseAxis(),Lt=getAxisKey(At,Dt),jt=Dt.getExtent(),hn=Dt.type==="category"?Dt.getBandWidth():Math.abs(jt[1]-jt[0])/qe.count(),vn=$e[Lt]||{bandWidth:hn,remainedWidth:hn,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},bn=vn.stacks;$e[Lt]=vn;var _n=getSeriesStackId(Fe);bn[_n]||vn.autoWidthCount++,bn[_n]=bn[_n]||{width:0,maxWidth:0};var wn=parsePercent(Fe.get("barWidth"),hn),kn=parsePercent(Fe.get("barMaxWidth"),hn),Cn=Fe.get("barGap"),Sn=Fe.get("barCategoryGap");wn&&!bn[_n].width&&(wn=Math.min(vn.remainedWidth,wn),bn[_n].width=wn,vn.remainedWidth-=wn),kn&&(bn[_n].maxWidth=kn),Cn!=null&&(vn.gap=Cn),Sn!=null&&(vn.categoryGap=Sn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=parsePercent(Fe.categoryGap,At),Lt=parsePercent(Fe.gap,1),jt=Fe.remainedWidth,hn=Fe.autoWidthCount,vn=(jt-Dt)/(hn+(hn-1)*Lt);vn=Math.max(vn,0),each$f(qe,function(kn,Cn){var Sn=kn.maxWidth;Sn&&Sn=Ie.y&&$e[1]<=Ie.y+Ie.height:Fe.contain(Fe.toLocalCoord($e[1]))&&$e[0]>=Ie.y&&$e[0]<=Ie.y+Ie.height},xe.prototype.pointToData=function($e){var Ie=this.getAxis();return[Ie.coordToData(Ie.toLocalCoord($e[Ie.orient==="horizontal"?0:1]))]},xe.prototype.dataToPoint=function($e){var Ie=this.getAxis(),Fe=this.getRect(),Ue=[],qe=Ie.orient==="horizontal"?0:1;return $e instanceof Array&&($e=$e[0]),Ue[qe]=Ie.toGlobalCoord(Ie.dataToCoord(+$e)),Ue[1-qe]=qe===0?Fe.y+Fe.height/2:Fe.x+Fe.width/2,Ue},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$1(xe){var $e=xe.seriesModel,Ie=xe.singleAxisModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}function create(xe,$e){var Ie=[];return xe.eachComponent("singleAxis",function(Fe,Ue){var qe=new Single(Fe,xe,$e);qe.name="single_"+Ue,qe.resize(Fe,$e),Fe.coordinateSystem=qe,Ie.push(qe)}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="singleAxis"){var Ue=Fe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue&&Ue.coordinateSystem}}),Ie}var singleCreator={create,dimensions:singleDimensions},XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.coordinateSystem,jt=getGlobalExtent(Lt,1-getPointDimIndex(Dt)),hn=Lt.dataToPoint(Fe)[0],vn=qe.get("type");if(vn&&vn!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder[vn](Dt,hn,jt);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$1(Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$1(Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.coordinateSystem,Lt=getPointDimIndex(At),jt=getGlobalExtent(Dt,Lt),hn=[Ie.x,Ie.y];hn[Lt]+=Fe[Lt],hn[Lt]=Math.min(jt[1],hn[Lt]),hn[Lt]=Math.max(jt[0],hn[Lt]);var vn=getGlobalExtent(Dt,1-Lt),bn=(vn[1]+vn[0])/2,_n=[bn,bn];return _n[Lt]=hn[Lt],{x:hn[0],y:hn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:{verticalAlign:"middle"}}},$e}(BaseAxisPointer),pointerShapeBuilder={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getPointDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=xe.getBandWidth(),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getPointDimIndex(xe))}}};function getPointDimIndex(xe){return xe.isHorizontal()?0:1}function getGlobalExtent(xe,$e){var Ie=xe.getRect();return[Ie[XY$1[$e]],Ie[XY$1[$e]]+Ie[WH$1[$e]]]}var SingleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="single",$e}(ComponentView);function install$o(xe){use(install$r),AxisView.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer),xe.registerComponentView(SingleView),xe.registerComponentView(SingleAxisView),xe.registerComponentModel(SingleAxisModel),axisModelCreator(xe,"single",SingleAxisModel,SingleAxisModel.defaultOption),xe.registerCoordinateSystem("single",singleCreator)}var CalendarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=getLayoutParams(Ie);xe.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(Ie,qe)},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(this.option,Ie)},$e.prototype.getCellSize=function(){return this.option.cellSize},$e.type="calendar",$e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},$e}(ComponentModel);function mergeAndNormalizeLayoutParams$1(xe,$e){var Ie=xe.cellSize,Fe;isArray$1(Ie)?Fe=Ie:Fe=xe.cellSize=[Ie,Ie],Fe.length===1&&(Fe[1]=Fe[0]);var Ue=map$1([0,1],function(qe){return sizeCalculable($e,qe)&&(Fe[qe]="auto"),Fe[qe]!=null&&Fe[qe]!=="auto"});mergeLayoutParam(xe,$e,{type:"box",ignoreSize:Ue})}var CalendarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll();var At=Ie.coordinateSystem,Dt=At.getRangeInfo(),Lt=At.getOrient(),jt=Fe.getLocaleModel();this._renderDayRect(Ie,Dt,qe),this._renderLines(Ie,Dt,Lt,qe),this._renderYearText(Ie,Dt,Lt,qe),this._renderMonthText(Ie,jt,Lt,qe),this._renderWeekText(Ie,jt,Dt,Lt,qe)},$e.prototype._renderDayRect=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=Ie.getModel("itemStyle").getItemStyle(),Dt=qe.getCellWidth(),Lt=qe.getCellHeight(),jt=Fe.start.time;jt<=Fe.end.time;jt=qe.getNextNDay(jt,1).time){var hn=qe.dataToRect([jt],!1).tl,vn=new Rect$2({shape:{x:hn[0],y:hn[1],width:Dt,height:Lt},cursor:"default",style:At});Ue.add(vn)}},$e.prototype._renderLines=function(Ie,Fe,Ue,qe){var At=this,Dt=Ie.coordinateSystem,Lt=Ie.getModel(["splitLine","lineStyle"]).getLineStyle(),jt=Ie.get(["splitLine","show"]),hn=Lt.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var vn=Fe.start,bn=0;vn.time<=Fe.end.time;bn++){wn(vn.formatedDate),bn===0&&(vn=Dt.getDateInfo(Fe.start.y+"-"+Fe.start.m));var _n=vn.date;_n.setMonth(_n.getMonth()+1),vn=Dt.getDateInfo(_n)}wn(Dt.getNextNDay(Fe.end.time,1).formatedDate);function wn(kn){At._firstDayOfMonth.push(Dt.getDateInfo(kn)),At._firstDayPoints.push(Dt.dataToRect([kn],!1).tl);var Cn=At._getLinePointsOfOneWeek(Ie,kn,Ue);At._tlpoints.push(Cn[0]),At._blpoints.push(Cn[Cn.length-1]),jt&&At._drawSplitline(Cn,Lt,qe)}jt&&this._drawSplitline(At._getEdgesPoints(At._tlpoints,hn,Ue),Lt,qe),jt&&this._drawSplitline(At._getEdgesPoints(At._blpoints,hn,Ue),Lt,qe)},$e.prototype._getEdgesPoints=function(Ie,Fe,Ue){var qe=[Ie[0].slice(),Ie[Ie.length-1].slice()],At=Ue==="horizontal"?0:1;return qe[0][At]=qe[0][At]-Fe/2,qe[1][At]=qe[1][At]+Fe/2,qe},$e.prototype._drawSplitline=function(Ie,Fe,Ue){var qe=new Polyline$1({z2:20,shape:{points:Ie},style:Fe});Ue.add(qe)},$e.prototype._getLinePointsOfOneWeek=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=qe.getDateInfo(Fe),Dt=[],Lt=0;Lt<7;Lt++){var jt=qe.getNextNDay(At.time,Lt),hn=qe.dataToRect([jt.time],!1);Dt[2*jt.day]=hn.tl,Dt[2*jt.day+1]=hn[Ue==="horizontal"?"bl":"tr"]}return Dt},$e.prototype._formatterLabel=function(Ie,Fe){return isString(Ie)&&Ie?formatTplSimple(Ie,Fe):isFunction(Ie)?Ie(Fe):Fe.nameMap},$e.prototype._yearTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt=Fe[0],Lt=Fe[1],jt=["center","bottom"];qe==="bottom"?(Lt+=At,jt=["center","top"]):qe==="left"?Dt-=At:qe==="right"?(Dt+=At,jt=["center","top"]):Lt-=At;var hn=0;return(qe==="left"||qe==="right")&&(hn=Math.PI/2),{rotation:hn,x:Dt,y:Lt,style:{align:jt[0],verticalAlign:jt[1]}}},$e.prototype._renderYearText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("yearLabel");if(At.get("show")){var Dt=At.get("margin"),Lt=At.get("position");Lt||(Lt=Ue!=="horizontal"?"top":"left");var jt=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],hn=(jt[0][0]+jt[1][0])/2,vn=(jt[0][1]+jt[1][1])/2,bn=Ue==="horizontal"?0:1,_n={top:[hn,jt[bn][1]],bottom:[hn,jt[1-bn][1]],left:[jt[1-bn][0],vn],right:[jt[bn][0],vn]},wn=Fe.start.y;+Fe.end.y>+Fe.start.y&&(wn=wn+"-"+Fe.end.y);var kn=At.get("formatter"),Cn={start:Fe.start.y,end:Fe.end.y,nameMap:wn},Sn=this._formatterLabel(kn,Cn),xn=new ZRText({z2:30,style:createTextStyle(At,{text:Sn})});xn.attr(this._yearTextPositionControl(xn,_n[Lt],Ue,Lt,Dt)),qe.add(xn)}},$e.prototype._monthTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt="left",Lt="top",jt=Ie[0],hn=Ie[1];return Ue==="horizontal"?(hn=hn+At,Fe&&(Dt="center"),qe==="start"&&(Lt="bottom")):(jt=jt+At,Fe&&(Lt="middle"),qe==="start"&&(Dt="right")),{x:jt,y:hn,align:Dt,verticalAlign:Lt}},$e.prototype._renderMonthText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("monthLabel");if(At.get("show")){var Dt=At.get("nameMap"),Lt=At.get("margin"),jt=At.get("position"),hn=At.get("align"),vn=[this._tlpoints,this._blpoints];(!Dt||isString(Dt))&&(Dt&&(Fe=getLocaleModel(Dt)||Fe),Dt=Fe.get(["time","monthAbbr"])||[]);var bn=jt==="start"?0:1,_n=Ue==="horizontal"?0:1;Lt=jt==="start"?-Lt:Lt;for(var wn=hn==="center",kn=0;kn=Ue.start.time&&Fe.timeDt.end.time&&Ie.reverse(),Ie},xe.prototype._getRangeInfo=function($e){var Ie=[this.getDateInfo($e[0]),this.getDateInfo($e[1])],Fe;Ie[0].time>Ie[1].time&&(Fe=!0,Ie.reverse());var Ue=Math.floor(Ie[1].time/PROXIMATE_ONE_DAY)-Math.floor(Ie[0].time/PROXIMATE_ONE_DAY)+1,qe=new Date(Ie[0].time),At=qe.getDate(),Dt=Ie[1].date.getDate();qe.setDate(At+Ue-1);var Lt=qe.getDate();if(Lt!==Dt)for(var jt=qe.getTime()-Ie[1].time>0?1:-1;(Lt=qe.getDate())!==Dt&&(qe.getTime()-Ie[1].time)*jt>0;)Ue-=jt,qe.setDate(Lt-jt);var hn=Math.floor((Ue+Ie[0].day+6)/7),vn=Fe?-hn+1:hn-1;return Fe&&Ie.reverse(),{range:[Ie[0].formatedDate,Ie[1].formatedDate],start:Ie[0],end:Ie[1],allDay:Ue,weeks:hn,nthWeek:vn,fweek:Ie[0].day,lweek:Ie[1].day}},xe.prototype._getDateByWeeksAndDay=function($e,Ie,Fe){var Ue=this._getRangeInfo(Fe);if($e>Ue.weeks||$e===0&&IeUe.lweek)return null;var qe=($e-1)*7-Ue.fweek+Ie,At=new Date(Ue.start.time);return At.setDate(+Ue.start.d+qe),this.getDateInfo(At)},xe.create=function($e,Ie){var Fe=[];return $e.eachComponent("calendar",function(Ue){var qe=new xe(Ue);Fe.push(qe),Ue.coordinateSystem=qe}),$e.eachSeries(function(Ue){Ue.get("coordinateSystem")==="calendar"&&(Ue.coordinateSystem=Fe[Ue.get("calendarIndex")||0])}),Fe},xe.dimensions=["time","value"],xe}();function getCoordSys(xe){var $e=xe.calendarModel,Ie=xe.seriesModel,Fe=$e?$e.coordinateSystem:Ie?Ie.coordinateSystem:null;return Fe}function install$n(xe){xe.registerComponentModel(CalendarModel),xe.registerComponentView(CalendarView),xe.registerCoordinateSystem("calendar",Calendar)}function setKeyInfoToNewElOption(xe,$e){var Ie=xe.existing;if($e.id=xe.keyInfo.id,!$e.type&&Ie&&($e.type=Ie.type),$e.parentId==null){var Fe=$e.parentOption;Fe?$e.parentId=Fe.id:Ie&&($e.parentId=Ie.parentId)}$e.parentOption=null}function isSetLoc(xe,$e){var Ie;return each$f($e,function(Fe){xe[Fe]!=null&&xe[Fe]!=="auto"&&(Ie=!0)}),Ie}function mergeNewElOptionToExist(xe,$e,Ie){var Fe=extend({},Ie),Ue=xe[$e],qe=Ie.$action||"merge";qe==="merge"?Ue?(merge(Ue,Fe,!0),mergeLayoutParam(Ue,Fe,{ignoreSize:!0}),copyLayoutParams(Ie,Ue),copyTransitionInfo(Ie,Ue),copyTransitionInfo(Ie,Ue,"shape"),copyTransitionInfo(Ie,Ue,"style"),copyTransitionInfo(Ie,Ue,"extra"),Ie.clipPath=Ue.clipPath):xe[$e]=Fe:qe==="replace"?xe[$e]=Fe:qe==="remove"&&Ue&&(xe[$e]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(xe,$e,Ie){if(Ie&&(!xe[Ie]&&$e[Ie]&&(xe[Ie]={}),xe=xe[Ie],$e=$e[Ie]),!(!xe||!$e))for(var Fe=Ie?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,Ue=0;Ue=0;hn--){var vn=Ue[hn],bn=convertOptionIdName(vn.id,null),_n=bn!=null?At.get(bn):null;if(_n){var wn=_n.parent,Sn=inner$7(wn),xn=wn===qe?{width:Dt,height:Lt}:{width:Sn.width,height:Sn.height},En={},Tn=positionElement(_n,vn,xn,null,{hv:vn.hv,boundingMode:vn.bounding},En);if(!inner$7(_n).isNew&&Tn){for(var An=vn.transition,$n={},Pn=0;Pn=0)?$n[Nn]=Mn:_n[Nn]=Mn}updateProps$1(_n,$n,Ie,0)}else _n.attr(En)}}},$e.prototype._clear=function(){var Ie=this,Fe=this._elMap;Fe.each(function(Ue){removeEl$1(Ue,inner$7(Ue).option,Fe,Ie._lastGraphicModel)}),this._elMap=createHashMap()},$e.prototype.dispose=function(){this._clear()},$e.type="graphic",$e}(ComponentView);function newEl(xe){var $e=hasOwn(nonShapeGraphicElements,xe)?nonShapeGraphicElements[xe]:getShapeClass(xe),Ie=new $e({});return inner$7(Ie).type=xe,Ie}function createEl(xe,$e,Ie,Fe){var Ue=newEl(Ie);return $e.add(Ue),Fe.set(xe,Ue),inner$7(Ue).id=xe,inner$7(Ue).isNew=!0,Ue}function removeEl$1(xe,$e,Ie,Fe){var Ue=xe&&xe.parent;Ue&&(xe.type==="group"&&xe.traverse(function(qe){removeEl$1(qe,$e,Ie,Fe)}),applyLeaveTransition(xe,$e,Fe),Ie.removeKey(inner$7(xe).id))}function updateCommonAttrs(xe,$e,Ie,Fe){xe.isGroup||each$f([["cursor",Displayable.prototype.cursor],["zlevel",Fe||0],["z",Ie||0],["z2",0]],function(Ue){var qe=Ue[0];hasOwn($e,qe)?xe[qe]=retrieve2($e[qe],Ue[1]):xe[qe]==null&&(xe[qe]=Ue[1])}),each$f(keys($e),function(Ue){if(Ue.indexOf("on")===0){var qe=$e[Ue];xe[Ue]=isFunction(qe)?qe:null}}),hasOwn($e,"draggable")&&(xe.draggable=$e.draggable),$e.name!=null&&(xe.name=$e.name),$e.id!=null&&(xe.id=$e.id)}function getCleanedElOption(xe){return xe=extend({},xe),each$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function($e){delete xe[$e]}),xe}function setEventData(xe,$e,Ie){var Fe=getECData(xe).eventData;!xe.silent&&!xe.ignore&&!Fe&&(Fe=getECData(xe).eventData={componentType:"graphic",componentIndex:$e.componentIndex,name:xe.name}),Fe&&(Fe.info=Ie.info)}function install$m(xe){xe.registerComponentModel(GraphicComponentModel),xe.registerComponentView(GraphicComponentView),xe.registerPreprocessor(function($e){var Ie=$e.graphic;isArray$1(Ie)?!Ie[0]||!Ie[0].elements?$e.graphic=[{elements:Ie}]:$e.graphic=[$e.graphic[0]]:Ie&&!Ie.elements&&($e.graphic=[{elements:[Ie]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(xe){var $e=xe.get("coordinateSystem");return indexOf(SERIES_COORDS,$e)>=0}function getAxisMainType(xe){return xe+"Axis"}function findEffectedDataZooms(xe,$e){var Ie=createHashMap(),Fe=[],Ue=createHashMap();xe.eachComponent({mainType:"dataZoom",query:$e},function(hn){Ue.get(hn.uid)||Dt(hn)});var qe;do qe=!1,xe.eachComponent("dataZoom",At);while(qe);function At(hn){!Ue.get(hn.uid)&&Lt(hn)&&(Dt(hn),qe=!0)}function Dt(hn){Ue.set(hn.uid,!0),Fe.push(hn),jt(hn)}function Lt(hn){var vn=!1;return hn.eachTargetAxis(function(bn,_n){var wn=Ie.get(bn);wn&&wn[_n]&&(vn=!0)}),vn}function jt(hn){hn.eachTargetAxis(function(vn,bn){(Ie.get(vn)||Ie.set(vn,[]))[bn]=!0})}return Fe}function collectReferCoordSysModelInfo(xe){var $e=xe.ecModel,Ie={infoList:[],infoMap:createHashMap()};return xe.eachTargetAxis(function(Fe,Ue){var qe=$e.getComponent(getAxisMainType(Fe),Ue);if(qe){var At=qe.getCoordSysModel();if(At){var Dt=At.uid,Lt=Ie.infoMap.get(Dt);Lt||(Lt={model:At,axisModels:[]},Ie.infoList.push(Lt),Ie.infoMap.set(Dt,Lt)),Lt.axisModels.push(qe)}}}),Ie}var DataZoomAxisInfo=function(){function xe(){this.indexList=[],this.indexMap=[]}return xe.prototype.add=function($e){this.indexMap[$e]||(this.indexList.push($e),this.indexMap[$e]=!0)},xe}(),DataZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._autoThrottle=!0,Ie._noTarget=!0,Ie._rangePropMode=["percent","percent"],Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=retrieveRawOption(Ie);this.settledOption=qe,this.mergeDefaultAndTheme(Ie,Ue),this._doInit(qe)},$e.prototype.mergeOption=function(Ie){var Fe=retrieveRawOption(Ie);merge(this.option,Ie,!0),merge(this.settledOption,Fe,!0),this._doInit(Fe)},$e.prototype._doInit=function(Ie){var Fe=this.option;this._setDefaultThrottle(Ie),this._updateRangeUse(Ie);var Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe,At){this._rangePropMode[At]==="value"&&(Fe[qe[0]]=Ue[qe[0]]=null)},this),this._resetTarget()},$e.prototype._resetTarget=function(){var Ie=this.get("orient",!0),Fe=this._targetAxisInfoMap=createHashMap(),Ue=this._fillSpecifiedTargetAxis(Fe);Ue?this._orient=Ie||this._makeAutoOrientByTargetAxis():(this._orient=Ie||"horizontal",this._fillAutoTargetAxisByOrient(Fe,this._orient)),this._noTarget=!0,Fe.each(function(qe){qe.indexList.length&&(this._noTarget=!1)},this)},$e.prototype._fillSpecifiedTargetAxis=function(Ie){var Fe=!1;return each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(Ue){var qe=this.getReferringComponents(getAxisMainType(Ue),MULTIPLE_REFERRING);if(qe.specified){Fe=!0;var At=new DataZoomAxisInfo;each$f(qe.models,function(Dt){At.add(Dt.componentIndex)}),Ie.set(Ue,At)}},this),Fe},$e.prototype._fillAutoTargetAxisByOrient=function(Ie,Fe){var Ue=this.ecModel,qe=!0;if(qe){var At=Fe==="vertical"?"y":"x",Dt=Ue.findComponents({mainType:At+"Axis"});Lt(Dt,At)}if(qe){var Dt=Ue.findComponents({mainType:"singleAxis",filter:function(hn){return hn.get("orient",!0)===Fe}});Lt(Dt,"single")}function Lt(jt,hn){var vn=jt[0];if(vn){var bn=new DataZoomAxisInfo;if(bn.add(vn.componentIndex),Ie.set(hn,bn),qe=!1,hn==="x"||hn==="y"){var _n=vn.getReferringComponents("grid",SINGLE_REFERRING).models[0];_n&&each$f(jt,function(wn){vn.componentIndex!==wn.componentIndex&&_n===wn.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&bn.add(wn.componentIndex)})}}}qe&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(jt){if(qe){var hn=Ue.findComponents({mainType:getAxisMainType(jt),filter:function(bn){return bn.get("type",!0)==="category"}});if(hn[0]){var vn=new DataZoomAxisInfo;vn.add(hn[0].componentIndex),Ie.set(jt,vn),qe=!1}}},this)},$e.prototype._makeAutoOrientByTargetAxis=function(){var Ie;return this.eachTargetAxis(function(Fe){!Ie&&(Ie=Fe)},this),Ie==="y"?"vertical":"horizontal"},$e.prototype._setDefaultThrottle=function(Ie){if(Ie.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var Fe=this.ecModel.option;this.option.throttle=Fe.animation&&Fe.animationDurationUpdate>0?100:20}},$e.prototype._updateRangeUse=function(Ie){var Fe=this._rangePropMode,Ue=this.get("rangeMode");each$f([["start","startValue"],["end","endValue"]],function(qe,At){var Dt=Ie[qe[0]]!=null,Lt=Ie[qe[1]]!=null;Dt&&!Lt?Fe[At]="percent":!Dt&&Lt?Fe[At]="value":Ue?Fe[At]=Ue[At]:Dt&&(Fe[At]="percent")})},$e.prototype.noTarget=function(){return this._noTarget},$e.prototype.getFirstTargetAxisModel=function(){var Ie;return this.eachTargetAxis(function(Fe,Ue){Ie==null&&(Ie=this.ecModel.getComponent(getAxisMainType(Fe),Ue))},this),Ie},$e.prototype.eachTargetAxis=function(Ie,Fe){this._targetAxisInfoMap.each(function(Ue,qe){each$f(Ue.indexList,function(At){Ie.call(Fe,qe,At)})})},$e.prototype.getAxisProxy=function(Ie,Fe){var Ue=this.getAxisModel(Ie,Fe);if(Ue)return Ue.__dzAxisProxy},$e.prototype.getAxisModel=function(Ie,Fe){var Ue=this._targetAxisInfoMap.get(Ie);if(Ue&&Ue.indexMap[Fe])return this.ecModel.getComponent(getAxisMainType(Ie),Fe)},$e.prototype.setRawRange=function(Ie){var Fe=this.option,Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe){(Ie[qe[0]]!=null||Ie[qe[1]]!=null)&&(Fe[qe[0]]=Ue[qe[0]]=Ie[qe[0]],Fe[qe[1]]=Ue[qe[1]]=Ie[qe[1]])},this),this._updateRangeUse(Ie)},$e.prototype.setCalculatedRange=function(Ie){var Fe=this.option;each$f(["start","startValue","end","endValue"],function(Ue){Fe[Ue]=Ie[Ue]})},$e.prototype.getPercentRange=function(){var Ie=this.findRepresentativeAxisProxy();if(Ie)return Ie.getDataPercentWindow()},$e.prototype.getValueRange=function(Ie,Fe){if(Ie==null&&Fe==null){var Ue=this.findRepresentativeAxisProxy();if(Ue)return Ue.getDataValueWindow()}else return this.getAxisProxy(Ie,Fe).getDataValueWindow()},$e.prototype.findRepresentativeAxisProxy=function(Ie){if(Ie)return Ie.__dzAxisProxy;for(var Fe,Ue=this._targetAxisInfoMap.keys(),qe=0;qeAt[1];if(En&&!Tn&&!An)return!0;En&&(Cn=!0),Tn&&(wn=!0),An&&(kn=!0)}return Cn&&wn&&kn})}else each$7(hn,function(_n){if(qe==="empty")Lt.setData(jt=jt.map(_n,function(kn){return Dt(kn)?kn:NaN}));else{var wn={};wn[_n]=At,jt.selectRange(wn)}});each$7(hn,function(_n){jt.setApproximateExtent(At,_n)})}});function Dt(Lt){return Lt>=At[0]&&Lt<=At[1]}},xe.prototype._updateMinMaxSpan=function(){var $e=this._minMaxSpan={},Ie=this._dataZoomModel,Fe=this._dataExtent;each$7(["min","max"],function(Ue){var qe=Ie.get(Ue+"Span"),At=Ie.get(Ue+"ValueSpan");At!=null&&(At=this.getAxisModel().axis.scale.parse(At)),At!=null?qe=linearMap$2(Fe[0]+At,Fe,[0,100],!0):qe!=null&&(At=linearMap$2(qe,[0,100],Fe,!0)-Fe[0]),$e[Ue+"Span"]=qe,$e[Ue+"ValueSpan"]=At},this)},xe.prototype._setAxisModel=function(){var $e=this.getAxisModel(),Ie=this._percentWindow,Fe=this._valueWindow;if(Ie){var Ue=getPixelPrecision(Fe,[0,500]);Ue=Math.min(Ue,20);var qe=$e.axis.scale.rawExtentInfo;Ie[0]!==0&&qe.setDeterminedMinMax("min",+Fe[0].toFixed(Ue)),Ie[1]!==100&&qe.setDeterminedMinMax("max",+Fe[1].toFixed(Ue)),qe.freeze()}},xe}();function calculateDataExtent(xe,$e,Ie){var Fe=[1/0,-1/0];each$7(Ie,function(At){unionAxisExtentFromData(Fe,At.getData(),$e)});var Ue=xe.getAxisModel(),qe=ensureScaleRawExtentInfo(Ue.axis.scale,Ue,Fe).calculate();return[qe.min,qe.max]}var dataZoomProcessor={getTargetSeries:function(xe){function $e(Ue){xe.eachComponent("dataZoom",function(qe){qe.eachTargetAxis(function(At,Dt){var Lt=xe.getComponent(getAxisMainType(At),Dt);Ue(At,Dt,Lt,qe)})})}$e(function(Ue,qe,At,Dt){At.__dzAxisProxy=null});var Ie=[];$e(function(Ue,qe,At,Dt){At.__dzAxisProxy||(At.__dzAxisProxy=new AxisProxy(Ue,qe,Dt,xe),Ie.push(At.__dzAxisProxy))});var Fe=createHashMap();return each$f(Ie,function(Ue){each$f(Ue.getTargetSeriesModels(),function(qe){Fe.set(qe.uid,qe)})}),Fe},overallReset:function(xe,$e){xe.eachComponent("dataZoom",function(Ie){Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).reset(Ie)}),Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).filterData(Ie,$e)})}),xe.eachComponent("dataZoom",function(Ie){var Fe=Ie.findRepresentativeAxisProxy();if(Fe){var Ue=Fe.getDataPercentWindow(),qe=Fe.getDataValueWindow();Ie.setCalculatedRange({start:Ue[0],end:Ue[1],startValue:qe[0],endValue:qe[1]})}})}};function installDataZoomAction(xe){xe.registerAction("dataZoom",function($e,Ie){var Fe=findEffectedDataZooms(Ie,$e);each$f(Fe,function(Ue){Ue.setRawRange({start:$e.start,end:$e.end,startValue:$e.startValue,endValue:$e.endValue})})})}var installed$1=!1;function installCommon$1(xe){installed$1||(installed$1=!0,xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor),installDataZoomAction(xe),xe.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$l(xe){xe.registerComponentModel(SelectDataZoomModel),xe.registerComponentView(SelectDataZoomView),installCommon$1(xe)}var ToolboxFeature=function(){function xe(){}return xe}(),features={};function registerFeature(xe,$e){features[xe]=$e}function getFeature(xe){return features[xe]}var ToolboxModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){xe.prototype.optionUpdated.apply(this,arguments);var Ie=this.ecModel;each$f(this.option.feature,function(Fe,Ue){var qe=getFeature(Ue);qe&&(qe.getDefaultOption&&(qe.defaultOption=qe.getDefaultOption(Ie)),merge(Fe,qe.defaultOption))})},$e.type="toolbox",$e.layoutMode={type:"box",ignoreSize:!0},$e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},$e}(ComponentModel);function layout(xe,$e,Ie){var Fe=$e.getBoxLayoutParams(),Ue=$e.get("padding"),qe={width:Ie.getWidth(),height:Ie.getHeight()},At=getLayoutRect(Fe,qe,Ue);box($e.get("orient"),xe,$e.get("itemGap"),At.width,At.height),positionElement(xe,Fe,qe,Ue)}function makeBackground(xe,$e){var Ie=normalizeCssArray($e.get("padding")),Fe=$e.getItemStyle(["color","opacity"]);return Fe.fill=$e.get("backgroundColor"),xe=new Rect$2({shape:{x:xe.x-Ie[3],y:xe.y-Ie[0],width:xe.width+Ie[1]+Ie[3],height:xe.height+Ie[0]+Ie[2],r:$e.get("borderRadius")},style:Fe,silent:!0,z2:-1}),xe}var ToolboxView=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=this.group;if(At.removeAll(),!Ie.get("show"))return;var Dt=+Ie.get("itemSize"),Lt=Ie.get("orient")==="vertical",jt=Ie.get("feature")||{},hn=this._features||(this._features={}),vn=[];each$f(jt,function(wn,kn){vn.push(kn)}),new DataDiffer(this._featureNames||[],vn).add(bn).update(bn).remove(curry$1(bn,null)).execute(),this._featureNames=vn;function bn(wn,kn){var Cn=vn[wn],Sn=vn[kn],xn=jt[Cn],En=new Model(xn,Ie,Ie.ecModel),Tn;if(qe&&qe.newTitle!=null&&qe.featureName===Cn&&(xn.title=qe.newTitle),Cn&&!Sn){if(isUserFeatureName(Cn))Tn={onclick:En.option.onclick,featureName:Cn};else{var An=getFeature(Cn);if(!An)return;Tn=new An}hn[Cn]=Tn}else if(Tn=hn[Sn],!Tn)return;Tn.uid=getUID("toolbox-feature"),Tn.model=En,Tn.ecModel=Fe,Tn.api=Ue;var $n=Tn instanceof ToolboxFeature;if(!Cn&&Sn){$n&&Tn.dispose&&Tn.dispose(Fe,Ue);return}if(!En.get("show")||$n&&Tn.unusable){$n&&Tn.remove&&Tn.remove(Fe,Ue);return}_n(En,Tn,Cn),En.setIconStatus=function(Pn,Nn){var Mn=this.option,In=this.iconPaths;Mn.iconStatus=Mn.iconStatus||{},Mn.iconStatus[Pn]=Nn,In[Pn]&&(Nn==="emphasis"?enterEmphasis:leaveEmphasis)(In[Pn])},Tn instanceof ToolboxFeature&&Tn.render&&Tn.render(En,Fe,Ue,qe)}function _n(wn,kn,Cn){var Sn=wn.getModel("iconStyle"),xn=wn.getModel(["emphasis","iconStyle"]),En=kn instanceof ToolboxFeature&&kn.getIcons?kn.getIcons():wn.get("icon"),Tn=wn.get("title")||{},An,$n;isString(En)?(An={},An[Cn]=En):An=En,isString(Tn)?($n={},$n[Cn]=Tn):$n=Tn;var Pn=wn.iconPaths={};each$f(An,function(Nn,Mn){var In=createIcon(Nn,{},{x:-Dt/2,y:-Dt/2,width:Dt,height:Dt});In.setStyle(Sn.getItemStyle());var On=In.ensureState("emphasis");On.style=xn.getItemStyle();var Rn=new ZRText({style:{text:$n[Mn],align:xn.get("textAlign"),borderRadius:xn.get("textBorderRadius"),padding:xn.get("textPadding"),fill:null,font:getFont({fontStyle:xn.get("textFontStyle"),fontFamily:xn.get("textFontFamily"),fontSize:xn.get("textFontSize"),fontWeight:xn.get("textFontWeight")},Fe)},ignore:!0});In.setTextContent(Rn),setTooltipConfig({el:In,componentModel:Ie,itemName:Mn,formatterParamsExtra:{title:$n[Mn]}}),In.__title=$n[Mn],In.on("mouseover",function(){var Bn=xn.getItemStyle(),Vn=Lt?Ie.get("right")==null&&Ie.get("left")!=="right"?"right":"left":Ie.get("bottom")==null&&Ie.get("top")!=="bottom"?"bottom":"top";Rn.setStyle({fill:xn.get("textFill")||Bn.fill||Bn.stroke||"#000",backgroundColor:xn.get("textBackgroundColor")}),In.setTextConfig({position:xn.get("textPosition")||Vn}),Rn.ignore=!Ie.get("showTitle"),Ue.enterEmphasis(this)}).on("mouseout",function(){wn.get(["iconStatus",Mn])!=="emphasis"&&Ue.leaveEmphasis(this),Rn.hide()}),(wn.get(["iconStatus",Mn])==="emphasis"?enterEmphasis:leaveEmphasis)(In),At.add(In),In.on("click",bind$1(kn.onclick,kn,Fe,Ue,Mn)),Pn[Mn]=In})}layout(At,Ie,Ue),At.add(makeBackground(At.getBoundingRect(),Ie)),Lt||At.eachChild(function(wn){var kn=wn.__title,Cn=wn.ensureState("emphasis"),Sn=Cn.textConfig||(Cn.textConfig={}),xn=wn.getTextContent(),En=xn&&xn.ensureState("emphasis");if(En&&!isFunction(En)&&kn){var Tn=En.style||(En.style={}),An=getBoundingRect(kn,ZRText.makeFont(Tn)),$n=wn.x+At.x,Pn=wn.y+At.y+Dt,Nn=!1;Pn+An.height>Ue.getHeight()&&(Sn.position="top",Nn=!0);var Mn=Nn?-5-An.height:Dt+10;$n+An.width/2>Ue.getWidth()?(Sn.position=["100%",Mn],Tn.align="right"):$n-An.width/2<0&&(Sn.position=[0,Mn],Tn.align="left")}})},$e.prototype.updateView=function(Ie,Fe,Ue,qe){each$f(this._features,function(At){At instanceof ToolboxFeature&&At.updateView&&At.updateView(At.model,Fe,Ue,qe)})},$e.prototype.remove=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.remove&&Ue.remove(Ie,Fe)}),this.group.removeAll()},$e.prototype.dispose=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.dispose&&Ue.dispose(Ie,Fe)})},$e.type="toolbox",$e}(ComponentView);function isUserFeatureName(xe){return xe.indexOf("my")===0}var SaveAsImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.onclick=function(Ie,Fe){var Ue=this.model,qe=Ue.get("name")||Ie.get("title.0.text")||"echarts",At=Fe.getZr().painter.getType()==="svg",Dt=At?"svg":Ue.get("type",!0)||"png",Lt=Fe.getConnectedDataURL({type:Dt,backgroundColor:Ue.get("backgroundColor",!0)||Ie.get("backgroundColor")||"#fff",connectedBackgroundColor:Ue.get("connectedBackgroundColor"),excludeComponents:Ue.get("excludeComponents"),pixelRatio:Ue.get("pixelRatio")}),jt=env.browser;if(isFunction(MouseEvent)&&(jt.newEdge||!jt.ie&&!jt.edge)){var hn=document.createElement("a");hn.download=qe+"."+Dt,hn.target="_blank",hn.href=Lt;var vn=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});hn.dispatchEvent(vn)}else if(window.navigator.msSaveOrOpenBlob||At){var bn=Lt.split(","),_n=bn[0].indexOf("base64")>-1,wn=At?decodeURIComponent(bn[1]):bn[1];_n&&(wn=window.atob(wn));var kn=qe+"."+Dt;if(window.navigator.msSaveOrOpenBlob){for(var Cn=wn.length,Sn=new Uint8Array(Cn);Cn--;)Sn[Cn]=wn.charCodeAt(Cn);var xn=new Blob([Sn]);window.navigator.msSaveOrOpenBlob(xn,kn)}else{var En=document.createElement("iframe");document.body.appendChild(En);var Tn=En.contentWindow,An=Tn.document;An.open("image/svg+xml","replace"),An.write(wn),An.close(),Tn.focus(),An.execCommand("SaveAs",!0,kn),document.body.removeChild(En)}}else{var $n=Ue.get("lang"),Pn='',Nn=window.open();Nn.document.write(Pn),Nn.document.title=qe}},$e.getDefaultOption=function(Ie){var Fe={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:Ie.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:Ie.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return Fe},$e}(ToolboxFeature),INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon"),Ue={};return each$f(Ie.get("type"),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.getDefaultOption=function(Ie){var Fe={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:Ie.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return Fe},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this.model,At=qe.get(["seriesIndex",Ue]);if(seriesOptGenreator[Ue]){var Dt={series:[]},Lt=function(vn){var bn=vn.subType,_n=vn.id,wn=seriesOptGenreator[Ue](bn,_n,vn,qe);wn&&(defaults(wn,vn.option),Dt.series.push(wn));var kn=vn.coordinateSystem;if(kn&&kn.type==="cartesian2d"&&(Ue==="line"||Ue==="bar")){var Cn=kn.getAxesByScale("ordinal")[0];if(Cn){var Sn=Cn.dim,xn=Sn+"Axis",En=vn.getReferringComponents(xn,SINGLE_REFERRING).models[0],Tn=En.componentIndex;Dt[xn]=Dt[xn]||[];for(var An=0;An<=Tn;An++)Dt[xn][Tn]=Dt[xn][Tn]||{};Dt[xn][Tn].boundaryGap=Ue==="bar"}}};each$f(radioTypes,function(vn){indexOf(vn,Ue)>=0&&each$f(vn,function(bn){qe.setIconStatus(bn,"normal")})}),qe.setIconStatus(Ue,"emphasis"),Ie.eachComponent({mainType:"series",query:At==null?null:{seriesIndex:At}},Lt);var jt,hn=Ue;Ue==="stack"&&(jt=merge({stack:qe.option.title.tiled,tiled:qe.option.title.stack},qe.option.title),qe.get(["iconStatus",Ue])!=="emphasis"&&(hn="tiled")),Fe.dispatchAction({type:"changeMagicType",currentType:hn,newOption:Dt,newTitle:jt,featureName:"magicType"})}},$e}(ToolboxFeature),seriesOptGenreator={line:function(xe,$e,Ie,Fe){if(xe==="bar")return merge({id:$e,type:"line",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","line"])||{},!0)},bar:function(xe,$e,Ie,Fe){if(xe==="line")return merge({id:$e,type:"bar",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","bar"])||{},!0)},stack:function(xe,$e,Ie,Fe){var Ue=Ie.get("stack")===INNER_STACK_KEYWORD;if(xe==="line"||xe==="bar")return Fe.setIconStatus("stack",Ue?"normal":"emphasis"),merge({id:$e,stack:Ue?"":INNER_STACK_KEYWORD},Fe.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(xe,$e){$e.mergeOption(xe.newOption)});var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries(xe){var $e={},Ie=[],Fe=[];return xe.eachRawSeries(function(Ue){var qe=Ue.coordinateSystem;if(qe&&(qe.type==="cartesian2d"||qe.type==="polar")){var At=qe.getBaseAxis();if(At.type==="category"){var Dt=At.dim+"_"+At.index;$e[Dt]||($e[Dt]={categoryAxis:At,valueAxis:qe.getOtherAxis(At),series:[]},Fe.push({axisDim:At.dim,axisIndex:At.index})),$e[Dt].series.push(Ue)}else Ie.push(Ue)}else Ie.push(Ue)}),{seriesGroupByCategoryAxis:$e,other:Ie,meta:Fe}}function assembleSeriesWithCategoryAxis(xe){var $e=[];return each$f(xe,function(Ie,Fe){var Ue=Ie.categoryAxis,qe=Ie.valueAxis,At=qe.dim,Dt=[" "].concat(map$1(Ie.series,function(_n){return _n.name})),Lt=[Ue.model.getCategories()];each$f(Ie.series,function(_n){var wn=_n.getRawData();Lt.push(_n.getRawData().mapArray(wn.mapDimension(At),function(kn){return kn}))});for(var jt=[Dt.join(ITEM_SPLITER)],hn=0;hn0,Cn={api:Fe,geo:Lt,mapOrGeoModel:$e,data:Dt,isVisualEncodedByVisualMap:kn,isGeo:At,transformInfoRaw:bn};Lt.resourceType==="geoJSON"?this._buildGeoJSON(Cn):Lt.resourceType==="geoSVG"&&this._buildSVG(Cn),this._updateController($e,Ie,Fe),this._updateMapSelectHandler($e,jt,Fe,Ue)},xe.prototype._buildGeoJSON=function($e){var Ie=this._regionsGroupByName=createHashMap(),Fe=createHashMap(),Ue=this._regionsGroup,qe=$e.transformInfoRaw,At=$e.mapOrGeoModel,Dt=$e.data,Lt=$e.geo.projection,jt=Lt&&Lt.stream;function hn(_n,wn){return wn&&(_n=wn(_n)),_n&&[_n[0]*qe.scaleX+qe.x,_n[1]*qe.scaleY+qe.y]}function vn(_n){for(var wn=[],kn=!jt&&Lt&&Lt.project,Cn=0;Cn<_n.length;++Cn){var Sn=hn(_n[Cn],kn);Sn&&wn.push(Sn)}return wn}function bn(_n){return{shape:{points:vn(_n)}}}Ue.removeAll(),each$f($e.geo.regions,function(_n){var wn=_n.name,kn=Ie.get(wn),Cn=Fe.get(wn)||{},Sn=Cn.dataIdx,xn=Cn.regionModel;kn||(kn=Ie.set(wn,new Group$3),Ue.add(kn),Sn=Dt?Dt.indexOfName(wn):null,xn=$e.isGeo?At.getRegionModel(wn):Dt?Dt.getItemModel(Sn):null,Fe.set(wn,{dataIdx:Sn,regionModel:xn}));var En=[],Tn=[];each$f(_n.geometries,function(Pn){if(Pn.type==="polygon"){var Nn=[Pn.exterior].concat(Pn.interiors||[]);jt&&(Nn=projectPolys(Nn,jt)),each$f(Nn,function(In){En.push(new Polygon(bn(In)))})}else{var Mn=Pn.points;jt&&(Mn=projectPolys(Mn,jt,!0)),each$f(Mn,function(In){Tn.push(new Polyline$1(bn(In)))})}});var An=hn(_n.getCenter(),Lt&&Lt.project);function $n(Pn,Nn){if(Pn.length){var Mn=new CompoundPath$1({culling:!0,segmentIgnoreThreshold:1,shape:{paths:Pn}});kn.add(Mn),applyOptionStyleForRegion($e,Mn,Sn,xn),resetLabelForRegion($e,Mn,wn,xn,At,Sn,An),Nn&&(fixLineStyle(Mn),each$f(Mn.states,fixLineStyle))}}$n(En),$n(Tn,!0)}),Ie.each(function(_n,wn){var kn=Fe.get(wn),Cn=kn.dataIdx,Sn=kn.regionModel;resetEventTriggerForRegion($e,_n,wn,Sn,At,Cn),resetTooltipForRegion($e,_n,wn,Sn,At),resetStateTriggerForRegion($e,_n,wn,Sn,At)},this)},xe.prototype._buildSVG=function($e){var Ie=$e.geo.map,Fe=$e.transformInfoRaw;this._svgGroup.x=Fe.x,this._svgGroup.y=Fe.y,this._svgGroup.scaleX=Fe.scaleX,this._svgGroup.scaleY=Fe.scaleY,this._svgResourceChanged(Ie)&&(this._freeSVG(),this._useSVG(Ie));var Ue=this._svgDispatcherMap=createHashMap(),qe=!1;each$f(this._svgGraphicRecord.named,function(At){var Dt=At.name,Lt=$e.mapOrGeoModel,jt=$e.data,hn=At.svgNodeTagLower,vn=At.el,bn=jt?jt.indexOfName(Dt):null,_n=Lt.getRegionModel(Dt);if(OPTION_STYLE_ENABLED_TAG_MAP.get(hn)!=null&&vn instanceof Displayable&&applyOptionStyleForRegion($e,vn,bn,_n),vn instanceof Displayable&&(vn.culling=!0),vn.z2EmphasisLift=0,!At.namedFrom&&(LABEL_HOST_MAP.get(hn)!=null&&resetLabelForRegion($e,vn,Dt,_n,Lt,bn,null),resetEventTriggerForRegion($e,vn,Dt,_n,Lt,bn),resetTooltipForRegion($e,vn,Dt,_n,Lt),STATE_TRIGGER_TAG_MAP.get(hn)!=null)){var wn=resetStateTriggerForRegion($e,vn,Dt,_n,Lt);wn==="self"&&(qe=!0);var kn=Ue.get(Dt)||Ue.set(Dt,[]);kn.push(vn)}},this),this._enableBlurEntireSVG(qe,$e)},xe.prototype._enableBlurEntireSVG=function($e,Ie){if($e&&Ie.isGeo){var Fe=Ie.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),Ue=Fe.opacity;this._svgGraphicRecord.root.traverse(function(qe){if(!qe.isGroup){setDefaultStateProxy(qe);var At=qe.ensureState("blur").style||{};At.opacity==null&&Ue!=null&&(At.opacity=Ue),qe.ensureState("emphasis")}})}},xe.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},xe.prototype.findHighDownDispatchers=function($e,Ie){if($e==null)return[];var Fe=Ie.coordinateSystem;if(Fe.resourceType==="geoJSON"){var Ue=this._regionsGroupByName;if(Ue){var qe=Ue.get($e);return qe?[qe]:[]}}else if(Fe.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get($e)||[]},xe.prototype._svgResourceChanged=function($e){return this._svgMapName!==$e},xe.prototype._useSVG=function($e){var Ie=geoSourceManager.getGeoResource($e);if(Ie&&Ie.type==="geoSVG"){var Fe=Ie.useGraphic(this.uid);this._svgGroup.add(Fe.root),this._svgGraphicRecord=Fe,this._svgMapName=$e}},xe.prototype._freeSVG=function(){var $e=this._svgMapName;if($e!=null){var Ie=geoSourceManager.getGeoResource($e);Ie&&Ie.type==="geoSVG"&&Ie.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},xe.prototype._updateController=function($e,Ie,Fe){var Ue=$e.coordinateSystem,qe=this._controller,At=this._controllerHost;At.zoomLimit=$e.get("scaleLimit"),At.zoom=Ue.getZoom(),qe.enable($e.get("roam")||!1);var Dt=$e.mainType;function Lt(){var jt={type:"geoRoam",componentType:Dt};return jt[Dt+"Id"]=$e.id,jt}qe.off("pan").on("pan",function(jt){this._mouseDownFlag=!1,updateViewOnPan(At,jt.dx,jt.dy),Fe.dispatchAction(extend(Lt(),{dx:jt.dx,dy:jt.dy,animation:{duration:0}}))},this),qe.off("zoom").on("zoom",function(jt){this._mouseDownFlag=!1,updateViewOnZoom(At,jt.scale,jt.originX,jt.originY),Fe.dispatchAction(extend(Lt(),{zoom:jt.scale,originX:jt.originX,originY:jt.originY,animation:{duration:0}}))},this),qe.setPointerChecker(function(jt,hn,vn){return Ue.containPoint([hn,vn])&&!onIrrelevantElement(jt,Fe,$e)})},xe.prototype.resetForLabelLayout=function(){this.group.traverse(function($e){var Ie=$e.getTextContent();Ie&&(Ie.ignore=mapLabelRaw(Ie).ignore)})},xe.prototype._updateMapSelectHandler=function($e,Ie,Fe,Ue){var qe=this;Ie.off("mousedown"),Ie.off("click"),$e.get("selectedMode")&&(Ie.on("mousedown",function(){qe._mouseDownFlag=!0}),Ie.on("click",function(At){qe._mouseDownFlag&&(qe._mouseDownFlag=!1)}))},xe}();function applyOptionStyleForRegion(xe,$e,Ie,Fe){var Ue=Fe.getModel("itemStyle"),qe=Fe.getModel(["emphasis","itemStyle"]),At=Fe.getModel(["blur","itemStyle"]),Dt=Fe.getModel(["select","itemStyle"]),Lt=getFixedItemStyle(Ue),jt=getFixedItemStyle(qe),hn=getFixedItemStyle(Dt),vn=getFixedItemStyle(At),bn=xe.data;if(bn){var _n=bn.getItemVisual(Ie,"style"),wn=bn.getItemVisual(Ie,"decal");xe.isVisualEncodedByVisualMap&&_n.fill&&(Lt.fill=_n.fill),wn&&(Lt.decal=createOrUpdatePatternFromDecal(wn,xe.api))}$e.setStyle(Lt),$e.style.strokeNoScale=!0,$e.ensureState("emphasis").style=jt,$e.ensureState("select").style=hn,$e.ensureState("blur").style=vn,setDefaultStateProxy($e)}function resetLabelForRegion(xe,$e,Ie,Fe,Ue,qe,At){var Dt=xe.data,Lt=xe.isGeo,jt=Dt&&isNaN(Dt.get(Dt.mapDimension("value"),qe)),hn=Dt&&Dt.getItemLayout(qe);if(Lt||jt||hn&&hn.showLabel){var vn=Lt?Ie:qe,bn=void 0;(!Dt||qe>=0)&&(bn=Ue);var _n=At?{normal:{align:"center",verticalAlign:"middle"}}:null;setLabelStyle($e,getLabelStatesModels(Fe),{labelFetcher:bn,labelDataIndex:vn,defaultText:Ie},_n);var wn=$e.getTextContent();if(wn&&(mapLabelRaw(wn).ignore=wn.ignore,$e.textConfig&&At)){var kn=$e.getBoundingRect().clone();$e.textConfig.layoutRect=kn,$e.textConfig.position=[(At[0]-kn.x)/kn.width*100+"%",(At[1]-kn.y)/kn.height*100+"%"]}$e.disableLabelAnimation=!0}else $e.removeTextContent(),$e.removeTextConfig(),$e.disableLabelAnimation=null}function resetEventTriggerForRegion(xe,$e,Ie,Fe,Ue,qe){xe.data?xe.data.setItemGraphicEl(qe,$e):getECData($e).eventData={componentType:"geo",componentIndex:Ue.componentIndex,geoIndex:Ue.componentIndex,name:Ie,region:Fe&&Fe.option||{}}}function resetTooltipForRegion(xe,$e,Ie,Fe,Ue){xe.data||setTooltipConfig({el:$e,componentModel:Ue,itemName:Ie,itemTooltipOption:Fe.get("tooltip")})}function resetStateTriggerForRegion(xe,$e,Ie,Fe,Ue){$e.highDownSilentOnTouch=!!Ue.get("selectedMode");var qe=Fe.getModel("emphasis"),At=qe.get("focus");return toggleHoverEmphasis($e,At,qe.get("blurScope"),qe.get("disabled")),xe.isGeo&&enableComponentHighDownFeatures($e,Ue,Ie),At}function projectPolys(xe,$e,Ie){var Fe=[],Ue;function qe(){Ue=[]}function At(){Ue.length&&(Fe.push(Ue),Ue=[])}var Dt=$e({polygonStart:qe,polygonEnd:At,lineStart:qe,lineEnd:At,point:function(Lt,jt){isFinite(Lt)&&isFinite(jt)&&Ue.push([Lt,jt])},sphere:function(){}});return!Ie&&Dt.polygonStart(),each$f(xe,function(Lt){Dt.lineStart();for(var jt=0;jt-1&&(Ue.style.stroke=Ue.style.fill,Ue.style.fill="#fff",Ue.style.lineWidth=2),Ue},$e.type="series.map",$e.dependencies=["geo"],$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},$e}(SeriesModel);function dataStatistics(xe,$e){var Ie={};return each$f(xe,function(Fe){Fe.each(Fe.mapDimension("value"),function(Ue,qe){var At="ec-"+Fe.getName(qe);Ie[At]=Ie[At]||[],isNaN(Ue)||Ie[At].push(Ue)})}),xe[0].map(xe[0].mapDimension("value"),function(Fe,Ue){for(var qe="ec-"+xe[0].getName(Ue),At=0,Dt=1/0,Lt=-1/0,jt=Ie[qe].length,hn=0;hn1?(Tn.width=En,Tn.height=En/Cn):(Tn.height=En,Tn.width=En*Cn),Tn.y=xn[1]-Tn.height/2,Tn.x=xn[0]-Tn.width/2;else{var An=xe.getBoxLayoutParams();An.aspect=Cn,Tn=getLayoutRect(An,{width:wn,height:kn})}this.setViewRect(Tn.x,Tn.y,Tn.width,Tn.height),this.setCenter(xe.get("center"),$e),this.setZoom(xe.get("zoom"))}function setGeoCoords(xe,$e){each$f($e.get("geoCoord"),function(Ie,Fe){xe.addGeoCoord(Fe,Ie)})}var GeoCreator=function(){function xe(){this.dimensions=geo2DDimensions}return xe.prototype.create=function($e,Ie){var Fe=[];function Ue(At){return{nameProperty:At.get("nameProperty"),aspectScale:At.get("aspectScale"),projection:At.get("projection")}}$e.eachComponent("geo",function(At,Dt){var Lt=At.get("map"),jt=new Geo$1(Lt+Dt,Lt,extend({nameMap:At.get("nameMap")},Ue(At)));jt.zoomLimit=At.get("scaleLimit"),Fe.push(jt),At.coordinateSystem=jt,jt.model=At,jt.resize=resizeGeo,jt.resize(At,Ie)}),$e.eachSeries(function(At){var Dt=At.get("coordinateSystem");if(Dt==="geo"){var Lt=At.get("geoIndex")||0;At.coordinateSystem=Fe[Lt]}});var qe={};return $e.eachSeriesByType("map",function(At){if(!At.getHostGeoModel()){var Dt=At.getMapType();qe[Dt]=qe[Dt]||[],qe[Dt].push(At)}}),each$f(qe,function(At,Dt){var Lt=map$1(At,function(hn){return hn.get("nameMap")}),jt=new Geo$1(Dt,Dt,extend({nameMap:mergeAll(Lt)},Ue(At[0])));jt.zoomLimit=retrieve.apply(null,map$1(At,function(hn){return hn.get("scaleLimit")})),Fe.push(jt),jt.resize=resizeGeo,jt.resize(At[0],Ie),each$f(At,function(hn){hn.coordinateSystem=jt,setGeoCoords(jt,hn)})}),Fe},xe.prototype.getFilledRegions=function($e,Ie,Fe,Ue){for(var qe=($e||[]).slice(),At=createHashMap(),Dt=0;Dt=0;At--){var Dt=Ue[At];Dt.hierNode={defaultAncestor:null,ancestor:Dt,prelim:0,modifier:0,change:0,shift:0,i:At,thread:null},Ie.push(Dt)}}function firstWalk(xe,$e){var Ie=xe.isExpand?xe.children:[],Fe=xe.parentNode.children,Ue=xe.hierNode.i?Fe[xe.hierNode.i-1]:null;if(Ie.length){executeShifts(xe);var qe=(Ie[0].hierNode.prelim+Ie[Ie.length-1].hierNode.prelim)/2;Ue?(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue),xe.hierNode.modifier=xe.hierNode.prelim-qe):xe.hierNode.prelim=qe}else Ue&&(xe.hierNode.prelim=Ue.hierNode.prelim+$e(xe,Ue));xe.parentNode.hierNode.defaultAncestor=apportion(xe,Ue,xe.parentNode.hierNode.defaultAncestor||Fe[0],$e)}function secondWalk(xe){var $e=xe.hierNode.prelim+xe.parentNode.hierNode.modifier;xe.setLayout({x:$e},!0),xe.hierNode.modifier+=xe.parentNode.hierNode.modifier}function separation(xe){return arguments.length?xe:defaultSeparation}function radialCoordinate(xe,$e){return xe-=Math.PI/2,{x:$e*Math.cos(xe),y:$e*Math.sin(xe)}}function getViewRect$4(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function executeShifts(xe){for(var $e=xe.children,Ie=$e.length,Fe=0,Ue=0;--Ie>=0;){var qe=$e[Ie];qe.hierNode.prelim+=Fe,qe.hierNode.modifier+=Fe,Ue+=qe.hierNode.change,Fe+=qe.hierNode.shift+Ue}}function apportion(xe,$e,Ie,Fe){if($e){for(var Ue=xe,qe=xe,At=qe.parentNode.children[0],Dt=$e,Lt=Ue.hierNode.modifier,jt=qe.hierNode.modifier,hn=At.hierNode.modifier,vn=Dt.hierNode.modifier;Dt=nextRight(Dt),qe=nextLeft(qe),Dt&&qe;){Ue=nextRight(Ue),At=nextLeft(At),Ue.hierNode.ancestor=xe;var bn=Dt.hierNode.prelim+vn-qe.hierNode.prelim-jt+Fe(Dt,qe);bn>0&&(moveSubtree(nextAncestor(Dt,xe,Ie),xe,bn),jt+=bn,Lt+=bn),vn+=Dt.hierNode.modifier,jt+=qe.hierNode.modifier,Lt+=Ue.hierNode.modifier,hn+=At.hierNode.modifier}Dt&&!nextRight(Ue)&&(Ue.hierNode.thread=Dt,Ue.hierNode.modifier+=vn-Lt),qe&&!nextLeft(At)&&(At.hierNode.thread=qe,At.hierNode.modifier+=jt-hn,Ie=xe)}return Ie}function nextRight(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[$e.length-1]:xe.hierNode.thread}function nextLeft(xe){var $e=xe.children;return $e.length&&xe.isExpand?$e[0]:xe.hierNode.thread}function nextAncestor(xe,$e,Ie){return xe.hierNode.ancestor.parentNode===$e.parentNode?xe.hierNode.ancestor:Ie}function moveSubtree(xe,$e,Ie){var Fe=Ie/($e.hierNode.i-xe.hierNode.i);$e.hierNode.change-=Fe,$e.hierNode.shift+=Ie,$e.hierNode.modifier+=Ie,$e.hierNode.prelim+=Ie,xe.hierNode.change+=Fe}function defaultSeparation(xe,$e){return xe.parentNode===$e.parentNode?1:2}var TreeEdgeShape=function(){function xe(){this.parentPoint=[],this.childPoints=[]}return xe}(),TreePath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new TreeEdgeShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.childPoints,qe=Ue.length,At=Fe.parentPoint,Dt=Ue[0],Lt=Ue[qe-1];if(qe===1){Ie.moveTo(At[0],At[1]),Ie.lineTo(Dt[0],Dt[1]);return}var jt=Fe.orient,hn=jt==="TB"||jt==="BT"?0:1,vn=1-hn,bn=parsePercent(Fe.forkPosition,1),_n=[];_n[hn]=At[hn],_n[vn]=At[vn]+(Lt[vn]-At[vn])*bn,Ie.moveTo(At[0],At[1]),Ie.lineTo(_n[0],_n[1]),Ie.moveTo(Dt[0],Dt[1]),_n[hn]=Dt[hn],Ie.lineTo(_n[0],_n[1]),_n[hn]=Lt[hn],Ie.lineTo(_n[0],_n[1]),Ie.lineTo(Lt[0],Lt[1]);for(var wn=1;wnxn.x,An||(Tn=Tn-Math.PI));var Pn=An?"left":"right",Nn=Dt.getModel("label"),Mn=Nn.get("rotate"),In=Mn*(Math.PI/180),On=Cn.getTextContent();On&&(Cn.setTextConfig({position:Nn.get("position")||Pn,rotation:Mn==null?-Tn:In,origin:"center"}),On.setStyle("verticalAlign","middle"))}var Rn=Dt.get(["emphasis","focus"]),Bn=Rn==="relative"?concatArray(At.getAncestorsIndices(),At.getDescendantIndices()):Rn==="ancestor"?At.getAncestorsIndices():Rn==="descendant"?At.getDescendantIndices():null;Bn&&(getECData(Ie).focus=Bn),drawEdge(Ue,At,hn,Ie,wn,_n,kn,Fe),Ie.__edge&&(Ie.onHoverStateChange=function(Vn){if(Vn!=="blur"){var Ln=At.parentNode&&xe.getItemGraphicEl(At.parentNode.dataIndex);Ln&&Ln.hoverState===HOVER_STATE_BLUR||setStatesFlag(Ie.__edge,Vn)}})}function drawEdge(xe,$e,Ie,Fe,Ue,qe,At,Dt){var Lt=$e.getModel(),jt=xe.get("edgeShape"),hn=xe.get("layout"),vn=xe.getOrient(),bn=xe.get(["lineStyle","curveness"]),_n=xe.get("edgeForkPosition"),wn=Lt.getModel("lineStyle").getLineStyle(),kn=Fe.__edge;if(jt==="curve")$e.parentNode&&$e.parentNode!==Ie&&(kn||(kn=Fe.__edge=new BezierCurve({shape:getEdgeShape(hn,vn,bn,Ue,Ue)})),updateProps$1(kn,{shape:getEdgeShape(hn,vn,bn,qe,At)},xe));else if(jt==="polyline"&&hn==="orthogonal"&&$e!==Ie&&$e.children&&$e.children.length!==0&&$e.isExpand===!0){for(var Cn=$e.children,Sn=[],xn=0;xnIe&&(Ie=Ue.height)}this.height=Ie+1},xe.prototype.getNodeById=function($e){if(this.getId()===$e)return this;for(var Ie=0,Fe=this.children,Ue=Fe.length;Ie=0&&this.hostTree.data.setItemLayout(this.dataIndex,$e,Ie)},xe.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},xe.prototype.getModel=function($e){if(!(this.dataIndex<0)){var Ie=this.hostTree,Fe=Ie.data.getItemModel(this.dataIndex);return Fe.getModel($e)}},xe.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},xe.prototype.setVisual=function($e,Ie){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,$e,Ie)},xe.prototype.getVisual=function($e){return this.hostTree.data.getItemVisual(this.dataIndex,$e)},xe.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},xe.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},xe.prototype.getChildIndex=function(){if(this.parentNode){for(var $e=this.parentNode.children,Ie=0;Ie<$e.length;++Ie)if($e[Ie]===this)return Ie;return-1}return-1},xe.prototype.isAncestorOf=function($e){for(var Ie=$e.parentNode;Ie;){if(Ie===this)return!0;Ie=Ie.parentNode}return!1},xe.prototype.isDescendantOf=function($e){return $e!==this&&$e.isAncestorOf(this)},xe}(),Tree=function(){function xe($e){this.type="tree",this._nodes=[],this.hostModel=$e}return xe.prototype.eachNode=function($e,Ie,Fe){this.root.eachNode($e,Ie,Fe)},xe.prototype.getNodeByDataIndex=function($e){var Ie=this.data.getRawIndex($e);return this._nodes[Ie]},xe.prototype.getNodeById=function($e){return this.root.getNodeById($e)},xe.prototype.update=function(){for(var $e=this.data,Ie=this._nodes,Fe=0,Ue=Ie.length;Fe=0){var Fe=Ie.getData().tree.root,Ue=xe.targetNode;if(isString(Ue)&&(Ue=Fe.getNodeById(Ue)),Ue&&Fe.contains(Ue))return{node:Ue};var qe=xe.targetNodeId;if(qe!=null&&(Ue=Fe.getNodeById(qe)))return{node:Ue}}}function getPathToRoot(xe){for(var $e=[];xe;)xe=xe.parentNode,xe&&$e.push(xe);return $e.reverse()}function aboveViewRoot(xe,$e){var Ie=getPathToRoot(xe);return indexOf(Ie,$e)>=0}function wrapTreePathInfo(xe,$e){for(var Ie=[];xe;){var Fe=xe.dataIndex;Ie.push({name:xe.name,dataIndex:Fe,value:$e.getRawValue(Fe)}),xe=xe.parentNode}return Ie.reverse(),Ie}var TreeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.hasSymbolVisual=!0,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie){var Fe={name:Ie.name,children:Ie.data},Ue=Ie.leaves||{},qe=new Model(Ue,this,this.ecModel),At=Tree.createTree(Fe,this,Dt);function Dt(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=At.getNodeByDataIndex(_n);return wn&&wn.children.length&&wn.isExpand||(bn.parentModel=qe),bn})}var Lt=0;At.eachNode("preorder",function(vn){vn.depth>Lt&&(Lt=vn.depth)});var jt=Ie.expandAndCollapse,hn=jt&&Ie.initialTreeDepth>=0?Ie.initialTreeDepth:Lt;return At.root.eachNode("preorder",function(vn){var bn=vn.hostTree.data.getRawDataItem(vn.dataIndex);vn.isExpand=bn&&bn.collapsed!=null?!bn.collapsed:vn.depth<=hn}),At.data},$e.prototype.getOrient=function(){var Ie=this.get("orient");return Ie==="horizontal"?Ie="LR":Ie==="vertical"&&(Ie="TB"),Ie},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.formatTooltip=function(Ie,Fe,Ue){for(var qe=this.getData().tree,At=qe.root.children[0],Dt=qe.getNodeByDataIndex(Ie),Lt=Dt.getValue(),jt=Dt.name;Dt&&Dt!==At;)jt=Dt.parentNode.name+"."+jt,Dt=Dt.parentNode;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:isNaN(Lt)||Lt==null})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.collapsed=!Ue.isExpand,Fe},$e.type="series.tree",$e.layoutMode="box",$e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},$e}(SeriesModel);function eachAfter(xe,$e,Ie){for(var Fe=[xe],Ue=[],qe;qe=Fe.pop();)if(Ue.push(qe),qe.isExpand){var At=qe.children;if(At.length)for(var Dt=0;Dt=0;qe--)Ie.push(Ue[qe])}}function treeLayout(xe,$e){xe.eachSeriesByType("tree",function(Ie){commonLayout(Ie,$e)})}function commonLayout(xe,$e){var Ie=getViewRect$4(xe,$e);xe.layoutInfo=Ie;var Fe=xe.get("layout"),Ue=0,qe=0,At=null;Fe==="radial"?(Ue=2*Math.PI,qe=Math.min(Ie.height,Ie.width)/2,At=separation(function(En,Tn){return(En.parentNode===Tn.parentNode?1:2)/En.depth})):(Ue=Ie.width,qe=Ie.height,At=separation());var Dt=xe.getData().tree.root,Lt=Dt.children[0];if(Lt){init(Dt),eachAfter(Lt,firstWalk,At),Dt.hierNode.modifier=-Lt.hierNode.prelim,eachBefore(Lt,secondWalk);var jt=Lt,hn=Lt,vn=Lt;eachBefore(Lt,function(En){var Tn=En.getLayout().x;Tnhn.getLayout().x&&(hn=En),En.depth>vn.depth&&(vn=En)});var bn=jt===hn?1:At(jt,hn)/2,_n=bn-jt.getLayout().x,wn=0,kn=0,Cn=0,Sn=0;if(Fe==="radial")wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=(En.depth-1)*kn;var Tn=radialCoordinate(Cn,Sn);En.setLayout({x:Tn.x,y:Tn.y,rawX:Cn,rawY:Sn},!0)});else{var xn=xe.getOrient();xn==="RL"||xn==="LR"?(kn=qe/(hn.getLayout().x+bn+_n),wn=Ue/(vn.depth-1||1),eachBefore(Lt,function(En){Sn=(En.getLayout().x+_n)*kn,Cn=xn==="LR"?(En.depth-1)*wn:Ue-(En.depth-1)*wn,En.setLayout({x:Cn,y:Sn},!0)})):(xn==="TB"||xn==="BT")&&(wn=Ue/(hn.getLayout().x+bn+_n),kn=qe/(vn.depth-1||1),eachBefore(Lt,function(En){Cn=(En.getLayout().x+_n)*wn,Sn=xn==="TB"?(En.depth-1)*kn:qe-(En.depth-1)*kn,En.setLayout({x:Cn,y:Sn},!0)}))}}}function treeVisual(xe){xe.eachSeriesByType("tree",function($e){var Ie=$e.getData(),Fe=Ie.tree;Fe.eachNode(function(Ue){var qe=Ue.getModel(),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ie.ensureUniqueItemVisual(Ue.dataIndex,"style");extend(Dt,At)})})}function installTreeAction(xe){xe.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Fe){var Ue=$e.dataIndex,qe=Fe.getData().tree,At=qe.getNodeByDataIndex(Ue);At.isExpand=!At.isExpand})}),xe.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function($e,Ie,Fe){Ie.eachComponent({mainType:"series",subType:"tree",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}function install$I(xe){xe.registerChartView(TreeView),xe.registerSeriesModel(TreeSeriesModel),xe.registerLayout(treeLayout),xe.registerVisual(treeVisual),installTreeAction(xe)}var actionTypes=["treemapZoomToNode","treemapRender","treemapMove"];function installTreemapAction(xe){for(var $e=0;$e1;)qe=qe.parentNode;var At=getDecalFromPalette(xe.ecModel,qe.name||qe.dataIndex+"",Fe);Ue.setVisual("decal",At)})}var TreemapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.preventUsingHoverLayer=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue$1(Ue);var qe=Ie.levels||[],At=this.designatedVisualItemStyle={},Dt=new Model({itemStyle:At},this,Fe);qe=Ie.levels=setDefault(qe,Fe);var Lt=map$1(qe||[],function(vn){return new Model(vn,Dt,Fe)},this),jt=Tree.createTree(Ue,this,hn);function hn(vn){vn.wrapMethod("getItemModel",function(bn,_n){var wn=jt.getNodeByDataIndex(_n),kn=wn?Lt[wn.depth]:null;return bn.parentModel=kn||Dt,bn})}return jt.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.formatTooltip=function(Ie,Fe,Ue){var qe=this.getData(),At=this.getRawValue(Ie),Dt=qe.getName(Ie);return createTooltipMarkup("nameValue",{name:Dt,value:At})},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treeAncestors=wrapTreePathInfo(Ue,this),Fe.treePathInfo=Fe.treeAncestors,Fe},$e.prototype.setLayoutInfo=function(Ie){this.layoutInfo=this.layoutInfo||{},extend(this.layoutInfo,Ie)},$e.prototype.mapIdToIndex=function(Ie){var Fe=this._idIndexMap;Fe||(Fe=this._idIndexMap=createHashMap(),this._idIndexMapCount=0);var Ue=Fe.get(Ie);return Ue==null&&Fe.set(Ie,Ue=this._idIndexMapCount++),Ue},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.treemap",$e.layoutMode="box",$e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},$e}(SeriesModel);function completeTreeValue$1(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue$1(Fe);var Ue=Fe.value;isArray$1(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$1(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$1(xe.value)?xe.value[0]=Ie:xe.value=Ie}function setDefault(xe,$e){var Ie=normalizeToArray($e.get("color")),Fe=normalizeToArray($e.get(["aria","decal","decals"]));if(Ie){xe=xe||[];var Ue,qe;each$f(xe,function(Dt){var Lt=new Model(Dt),jt=Lt.get("color"),hn=Lt.get("decal");(Lt.get(["itemStyle","color"])||jt&&jt!=="none")&&(Ue=!0),(Lt.get(["itemStyle","decal"])||hn&&hn!=="none")&&(qe=!0)});var At=xe[0]||(xe[0]={});return Ue||(At.color=Ie.slice()),!qe&&Fe&&(At.decal=Fe.slice()),xe}}var TEXT_PADDING=8,ITEM_GAP=8,ARRAY_LENGTH=5,Breadcrumb=function(){function xe($e){this.group=new Group$3,$e.add(this.group)}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=$e.getModel("breadcrumb"),At=this.group;if(At.removeAll(),!(!qe.get("show")||!Fe)){var Dt=qe.getModel("itemStyle"),Lt=qe.getModel("emphasis"),jt=Dt.getModel("textStyle"),hn=Lt.getModel(["itemStyle","textStyle"]),vn={pos:{left:qe.get("left"),right:qe.get("right"),top:qe.get("top"),bottom:qe.get("bottom")},box:{width:Ie.getWidth(),height:Ie.getHeight()},emptyItemWidth:qe.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(Fe,vn,jt),this._renderContent($e,vn,Dt,Lt,jt,hn,Ue),positionElement(At,vn.pos,vn.box)}},xe.prototype._prepare=function($e,Ie,Fe){for(var Ue=$e;Ue;Ue=Ue.parentNode){var qe=convertOptionIdName(Ue.getModel().get("name"),""),At=Fe.getTextRect(qe),Dt=Math.max(At.width+TEXT_PADDING*2,Ie.emptyItemWidth);Ie.totalWidth+=Dt+ITEM_GAP,Ie.renderList.push({node:Ue,text:qe,width:Dt})}},xe.prototype._renderContent=function($e,Ie,Fe,Ue,qe,At,Dt){for(var Lt=0,jt=Ie.emptyItemWidth,hn=$e.get(["breadcrumb","height"]),vn=getAvailableSize(Ie.pos,Ie.box),bn=Ie.totalWidth,_n=Ie.renderList,wn=Ue.getModel("itemStyle").getItemStyle(),kn=_n.length-1;kn>=0;kn--){var Cn=_n[kn],Sn=Cn.node,xn=Cn.width,En=Cn.text;bn>vn.width&&(bn-=xn-jt,xn=jt,En=null);var Tn=new Polygon({shape:{points:makeItemPoints(Lt,0,xn,hn,kn===_n.length-1,kn===0)},style:defaults(Fe.getItemStyle(),{lineJoin:"bevel"}),textContent:new ZRText({style:createTextStyle(qe,{text:En})}),textConfig:{position:"inside"},z2:Z2_EMPHASIS_LIFT*1e4,onclick:curry$1(Dt,Sn)});Tn.disableLabelAnimation=!0,Tn.getTextContent().ensureState("emphasis").style=createTextStyle(At,{text:En}),Tn.ensureState("emphasis").style=wn,toggleHoverEmphasis(Tn,Ue.get("focus"),Ue.get("blurScope"),Ue.get("disabled")),this.group.add(Tn),packEventData(Tn,$e,Sn),Lt+=xn+ITEM_GAP}},xe.prototype.remove=function(){this.group.removeAll()},xe}();function makeItemPoints(xe,$e,Ie,Fe,Ue,qe){var At=[[Ue?xe:xe-ARRAY_LENGTH,$e],[xe+Ie,$e],[xe+Ie,$e+Fe],[Ue?xe:xe-ARRAY_LENGTH,$e+Fe]];return!qe&&At.splice(2,0,[xe+Ie+ARRAY_LENGTH,$e+Fe/2]),!Ue&&At.push([xe,$e+Fe/2]),At}function packEventData(xe,$e,Ie){getECData(xe).eventData={componentType:"series",componentSubType:"treemap",componentIndex:$e.componentIndex,seriesIndex:$e.seriesIndex,seriesName:$e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:Ie&&Ie.dataIndex,name:Ie&&Ie.name},treePathInfo:Ie&&wrapTreePathInfo(Ie,$e)}}var AnimationWrap=function(){function xe(){this._storage=[],this._elExistsMap={}}return xe.prototype.add=function($e,Ie,Fe,Ue,qe){return this._elExistsMap[$e.id]?!1:(this._elExistsMap[$e.id]=!0,this._storage.push({el:$e,target:Ie,duration:Fe,delay:Ue,easing:qe}),!0)},xe.prototype.finished=function($e){return this._finishedCallback=$e,this},xe.prototype.start=function(){for(var $e=this,Ie=this._storage.length,Fe=function(){Ie--,Ie<=0&&($e._storage.length=0,$e._elExistsMap={},$e._finishedCallback&&$e._finishedCallback())},Ue=0,qe=this._storage.length;UeDRAG_THRESHOLD||Math.abs(Ie.dy)>DRAG_THRESHOLD)){var Fe=this.seriesModel.getData().tree.root;if(!Fe)return;var Ue=Fe.getLayout();if(!Ue)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Ue.x+Ie.dx,y:Ue.y+Ie.dy,width:Ue.width,height:Ue.height}})}},$e.prototype._onZoom=function(Ie){var Fe=Ie.originX,Ue=Ie.originY;if(this._state!=="animating"){var qe=this.seriesModel.getData().tree.root;if(!qe)return;var At=qe.getLayout();if(!At)return;var Dt=new BoundingRect(At.x,At.y,At.width,At.height),Lt=this.seriesModel.layoutInfo;Fe-=Lt.x,Ue-=Lt.y;var jt=create$1();translate(jt,jt,[-Fe,-Ue]),scale$1(jt,jt,[Ie.scale,Ie.scale]),translate(jt,jt,[Fe,Ue]),Dt.applyTransform(jt),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height}})}},$e.prototype._initEvents=function(Ie){var Fe=this;Ie.on("click",function(Ue){if(Fe._state==="ready"){var qe=Fe.seriesModel.get("nodeClick",!0);if(qe){var At=Fe.findTarget(Ue.offsetX,Ue.offsetY);if(At){var Dt=At.node;if(Dt.getLayout().isLeafRoot)Fe._rootToNode(At);else if(qe==="zoomToNode")Fe._zoomToNode(At);else if(qe==="link"){var Lt=Dt.hostTree.data.getItemModel(Dt.dataIndex),jt=Lt.get("link",!0),hn=Lt.get("target",!0)||"blank";jt&&windowOpen(jt,hn)}}}}},this)},$e.prototype._renderBreadcrumb=function(Ie,Fe,Ue){var qe=this;Ue||(Ue=Ie.get("leafDepth",!0)!=null?{node:Ie.getViewRoot()}:this.findTarget(Fe.getWidth()/2,Fe.getHeight()/2),Ue||(Ue={node:Ie.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Breadcrumb(this.group))).render(Ie,Fe,Ue.node,function(At){qe._state!=="animating"&&(aboveViewRoot(Ie.getViewRoot(),At)?qe._rootToNode({node:At}):qe._zoomToNode({node:At}))})},$e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=createStorage(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},$e.prototype.dispose=function(){this._clearController()},$e.prototype._zoomToNode=function(Ie){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype._rootToNode=function(Ie){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie.node})},$e.prototype.findTarget=function(Ie,Fe){var Ue,qe=this.seriesModel.getViewRoot();return qe.eachNode({attr:"viewChildren",order:"preorder"},function(At){var Dt=this._storage.background[At.getRawIndex()];if(Dt){var Lt=Dt.transformCoordToLocal(Ie,Fe),jt=Dt.shape;if(jt.x<=Lt[0]&&Lt[0]<=jt.x+jt.width&&jt.y<=Lt[1]&&Lt[1]<=jt.y+jt.height)Ue={node:At,offsetX:Lt[0],offsetY:Lt[1]};else return!1}},this),Ue},$e.type="treemap",$e}(ChartView);function createStorage(){return{nodeGroup:[],background:[],content:[]}}function renderNode(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(!At)return;var hn=At.getLayout(),vn=xe.getData(),bn=At.getModel();if(vn.setItemGraphicEl(At.dataIndex,null),!hn||!hn.isInView)return;var _n=hn.width,wn=hn.height,kn=hn.borderWidth,Cn=hn.invisible,Sn=At.getRawIndex(),xn=Dt&&Dt.getRawIndex(),En=At.viewChildren,Tn=hn.upperHeight,An=En&&En.length,$n=bn.getModel("itemStyle"),Pn=bn.getModel(["emphasis","itemStyle"]),Nn=bn.getModel(["blur","itemStyle"]),Mn=bn.getModel(["select","itemStyle"]),In=$n.get("borderRadius")||0,On=er("nodeGroup",Group$2);if(!On)return;if(Lt.add(On),On.x=hn.x||0,On.y=hn.y||0,On.markRedraw(),inner$d(On).nodeWidth=_n,inner$d(On).nodeHeight=wn,hn.isAboveViewRoot)return On;var Rn=er("background",Rect$1,jt,Z2_BG);Rn&&zn(On,Rn,An&&hn.upperLabelHeight);var Bn=bn.getModel("emphasis"),Vn=Bn.get("focus"),Ln=Bn.get("blurScope"),Dn=Bn.get("disabled"),Hn=Vn==="ancestor"?At.getAncestorsIndices():Vn==="descendant"?At.getDescendantIndices():Vn;if(An)isHighDownDispatcher(On)&&setAsHighDownDispatcher(On,!1),Rn&&(setAsHighDownDispatcher(Rn,!Dn),vn.setItemGraphicEl(At.dataIndex,Rn),enableHoverFocus(Rn,Hn,Ln));else{var Fn=er("content",Rect$1,jt,Z2_CONTENT);Fn&&jn(On,Fn),Rn.disableMorphing=!0,Rn&&isHighDownDispatcher(Rn)&&setAsHighDownDispatcher(Rn,!1),setAsHighDownDispatcher(On,!Dn),vn.setItemGraphicEl(At.dataIndex,On),enableHoverFocus(On,Hn,Ln)}return On;function zn(qn,Yn,ar){var tr=getECData(Yn);if(tr.dataIndex=At.dataIndex,tr.seriesIndex=xe.seriesIndex,Yn.setShape({x:0,y:0,width:_n,height:wn,r:In}),Cn)Gn(Yn);else{Yn.invisible=!1;var or=At.getVisual("style"),sr=or.stroke,Kn=getItemStyleNormal($n);Kn.fill=sr;var Zn=getStateItemStyle(Pn);Zn.fill=Pn.get("borderColor");var nr=getStateItemStyle(Nn);nr.fill=Nn.get("borderColor");var lr=getStateItemStyle(Mn);if(lr.fill=Mn.get("borderColor"),ar){var ir=_n-2*kn;Wn(Yn,sr,or.opacity,{x:kn,y:0,width:ir,height:Tn})}else Yn.removeTextContent();Yn.setStyle(Kn),Yn.ensureState("emphasis").style=Zn,Yn.ensureState("blur").style=nr,Yn.ensureState("select").style=lr,setDefaultStateProxy(Yn)}qn.add(Yn)}function jn(qn,Yn){var ar=getECData(Yn);ar.dataIndex=At.dataIndex,ar.seriesIndex=xe.seriesIndex;var tr=Math.max(_n-2*kn,0),or=Math.max(wn-2*kn,0);if(Yn.culling=!0,Yn.setShape({x:kn,y:kn,width:tr,height:or,r:In}),Cn)Gn(Yn);else{Yn.invisible=!1;var sr=At.getVisual("style"),Kn=sr.fill,Zn=getItemStyleNormal($n);Zn.fill=Kn,Zn.decal=sr.decal;var nr=getStateItemStyle(Pn),lr=getStateItemStyle(Nn),ir=getStateItemStyle(Mn);Wn(Yn,Kn,sr.opacity,null),Yn.setStyle(Zn),Yn.ensureState("emphasis").style=nr,Yn.ensureState("blur").style=lr,Yn.ensureState("select").style=ir,setDefaultStateProxy(Yn)}qn.add(Yn)}function Gn(qn){!qn.invisible&&qe.push(qn)}function Wn(qn,Yn,ar,tr){var or=bn.getModel(tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),sr=convertOptionIdName(bn.get("name"),null),Kn=or.getShallow("show");setLabelStyle(qn,getLabelStatesModels(bn,tr?PATH_UPPERLABEL_NORMAL:PATH_LABEL_NOAMAL),{defaultText:Kn?sr:null,inheritColor:Yn,defaultOpacity:ar,labelFetcher:xe,labelDataIndex:At.dataIndex});var Zn=qn.getTextContent();if(Zn){var nr=Zn.style,lr=normalizeCssArray$1(nr.padding||0);tr&&(qn.setTextConfig({layoutRect:tr}),Zn.disableLabelLayout=!0),Zn.beforeUpdate=function(){var kr=Math.max((tr?tr.width:qn.shape.width)-lr[1]-lr[3],0),Cr=Math.max((tr?tr.height:qn.shape.height)-lr[0]-lr[2],0);(nr.width!==kr||nr.height!==Cr)&&Zn.setStyle({width:kr,height:Cr})},nr.truncateMinChar=2,nr.lineOverflow="truncate",Xn(nr,tr,hn);var ir=Zn.getState("emphasis");Xn(ir?ir.style:null,tr,hn)}}function Xn(qn,Yn,ar){var tr=qn?qn.text:null;if(!Yn&&ar.isLeafRoot&&tr!=null){var or=xe.get("drillDownIcon",!0);qn.text=or?or+" "+tr:tr}}function er(qn,Yn,ar,tr){var or=xn!=null&&Ie[qn][xn],sr=Ue[qn];return or?(Ie[qn][xn]=null,rr(sr,or)):Cn||(or=new Yn,or instanceof Displayable&&(or.z2=calculateZ2(ar,tr)),Jn(sr,or)),$e[qn][Sn]=or}function rr(qn,Yn){var ar=qn[Sn]={};Yn instanceof Group$2?(ar.oldX=Yn.x,ar.oldY=Yn.y):ar.oldShape=extend({},Yn.shape)}function Jn(qn,Yn){var ar=qn[Sn]={},tr=At.parentNode,or=Yn instanceof Group$3;if(tr&&(!Fe||Fe.direction==="drillDown")){var sr=0,Kn=0,Zn=Ue.background[tr.getRawIndex()];!Fe&&Zn&&Zn.oldShape&&(sr=Zn.oldShape.width,Kn=Zn.oldShape.height),or?(ar.oldX=0,ar.oldY=Kn):ar.oldShape={x:sr,y:Kn,width:0,height:0}}ar.fadein=!or}}function calculateZ2(xe,$e){return xe*Z2_BASE+$e}var each$c=each$f,isObject=isObject$3,CATEGORY_DEFAULT_VISUAL_INDEX=-1,VisualMapping=function(){function xe($e){var Ie=$e.mappingMethod,Fe=$e.type,Ue=this.option=clone$4($e);this.type=Fe,this.mappingMethod=Ie,this._normalizeData=normalizers[Ie];var qe=xe.visualHandlers[Fe];this.applyVisual=qe.applyVisual,this.getColorMapper=qe.getColorMapper,this._normalizedToVisual=qe._normalizedToVisual[Ie],Ie==="piecewise"?(normalizeVisualRange(Ue),preprocessForPiecewise(Ue)):Ie==="category"?Ue.categories?preprocessForSpecifiedCategory(Ue):normalizeVisualRange(Ue,!0):(assert(Ie!=="linear"||Ue.dataExtent),normalizeVisualRange(Ue))}return xe.prototype.mapValueToVisual=function($e){var Ie=this._normalizeData($e);return this._normalizedToVisual(Ie,$e)},xe.prototype.getNormalizer=function(){return bind$1(this._normalizeData,this)},xe.listVisualTypes=function(){return keys(xe.visualHandlers)},xe.isValidType=function($e){return xe.visualHandlers.hasOwnProperty($e)},xe.eachVisual=function($e,Ie,Fe){isObject$3($e)?each$f($e,Ie,Fe):Ie.call(Fe,$e)},xe.mapVisual=function($e,Ie,Fe){var Ue,qe=isArray$1($e)?[]:isObject$3($e)?{}:(Ue=!0,null);return xe.eachVisual($e,function(At,Dt){var Lt=Ie.call(Fe,At,Dt);Ue?qe=Lt:qe[Dt]=Lt}),qe},xe.retrieveVisuals=function($e){var Ie={},Fe;return $e&&each$c(xe.visualHandlers,function(Ue,qe){$e.hasOwnProperty(qe)&&(Ie[qe]=$e[qe],Fe=!0)}),Fe?Ie:null},xe.prepareVisualTypes=function($e){if(isArray$1($e))$e=$e.slice();else if(isObject($e)){var Ie=[];each$c($e,function(Fe,Ue){Ie.push(Ue)}),$e=Ie}else return[];return $e.sort(function(Fe,Ue){return Ue==="color"&&Fe!=="color"&&Fe.indexOf("color")===0?1:-1}),$e},xe.dependsOn=function($e,Ie){return Ie==="color"?!!($e&&$e.indexOf(Ie)===0):$e===Ie},xe.findPieceIndex=function($e,Ie,Fe){for(var Ue,qe=1/0,At=0,Dt=Ie.length;At=0;qe--)Fe[qe]==null&&(delete Ie[$e[qe]],$e.pop())}function normalizeVisualRange(xe,$e){var Ie=xe.visual,Fe=[];isObject$3(Ie)?each$c(Ie,function(qe){Fe.push(qe)}):Ie!=null&&Fe.push(Ie);var Ue={color:1,symbol:1};!$e&&Fe.length===1&&!Ue.hasOwnProperty(xe.type)&&(Fe[1]=Fe[0]),setVisualToOption(xe,Fe)}function makePartialColorVisualHandler(xe){return{applyVisual:function($e,Ie,Fe){var Ue=this.mapValueToVisual($e);Fe("color",xe(Ie("color"),Ue))},_normalizedToVisual:createNormalizedToNumericVisual([0,1])}}function doMapToArray(xe){var $e=this.option.visual;return $e[Math.round(linearMap$2(xe,[0,1],[0,$e.length-1],!0))]||{}}function makeApplyVisual(xe){return function($e,Ie,Fe){Fe(xe,this.mapValueToVisual($e))}}function doMapCategory(xe){var $e=this.option.visual;return $e[this.option.loop&&xe!==CATEGORY_DEFAULT_VISUAL_INDEX?xe%$e.length:xe]}function doMapFixed(){return this.option.visual[0]}function createNormalizedToNumericVisual(xe){return{linear:function($e){return linearMap$2($e,xe,this.option.visual,!0)},category:doMapCategory,piecewise:function($e,Ie){var Fe=getSpecifiedVisual.call(this,Ie);return Fe==null&&(Fe=linearMap$2($e,xe,this.option.visual,!0)),Fe},fixed:doMapFixed}}function getSpecifiedVisual(xe){var $e=this.option,Ie=$e.pieceList;if($e.hasSpecialVisual){var Fe=VisualMapping.findPieceIndex(xe,Ie),Ue=Ie[Fe];if(Ue&&Ue.visual)return Ue.visual[this.type]}}function setVisualToOption(xe,$e){return xe.visual=$e,xe.type==="color"&&(xe.parsedVisual=map$1($e,function(Ie){var Fe=parse(Ie);return Fe||[0,0,0,1]})),$e}var normalizers={linear:function(xe){return linearMap$2(xe,this.option.dataExtent,[0,1],!0)},piecewise:function(xe){var $e=this.option.pieceList,Ie=VisualMapping.findPieceIndex(xe,$e,!0);if(Ie!=null)return linearMap$2(Ie,[0,$e.length-1],[0,1],!0)},category:function(xe){var $e=this.option.categories?this.option.categoryMap[xe]:xe;return $e??CATEGORY_DEFAULT_VISUAL_INDEX},fixed:noop};function littleThan(xe,$e,Ie){return xe?$e<=Ie:$e=Ie.length||kn===Ie[kn.depth]){var Sn=mapVisual$1(Ue,Lt,kn,Cn,wn,Fe);travelTree(kn,Sn,Ie,Fe)}})}}}function buildVisuals(xe,$e,Ie){var Fe=extend({},$e),Ue=Ie.designatedVisualItemStyle;return each$f(["color","colorAlpha","colorSaturation"],function(qe){Ue[qe]=$e[qe];var At=xe.get(qe);Ue[qe]=null,At!=null&&(Fe[qe]=At)}),Fe}function calculateColor(xe){var $e=getValueVisualDefine(xe,"color");if($e){var Ie=getValueVisualDefine(xe,"colorAlpha"),Fe=getValueVisualDefine(xe,"colorSaturation");return Fe&&($e=modifyHSL($e,null,null,Fe)),Ie&&($e=modifyAlpha($e,Ie)),$e}}function calculateBorderColor(xe,$e){return $e!=null?modifyHSL($e,null,null,xe):null}function getValueVisualDefine(xe,$e){var Ie=xe[$e];if(Ie!=null&&Ie!=="none")return Ie}function buildVisualMapping(xe,$e,Ie,Fe,Ue,qe){if(!(!qe||!qe.length)){var At=getRangeVisual($e,"color")||Ue.color!=null&&Ue.color!=="none"&&(getRangeVisual($e,"colorAlpha")||getRangeVisual($e,"colorSaturation"));if(At){var Dt=$e.get("visualMin"),Lt=$e.get("visualMax"),jt=Ie.dataExtent.slice();Dt!=null&&Dtjt[1]&&(jt[1]=Lt);var hn=$e.get("colorMappingBy"),vn={type:At.name,dataExtent:jt,visual:At.range};vn.type==="color"&&(hn==="index"||hn==="id")?(vn.mappingMethod="category",vn.loop=!0):vn.mappingMethod="linear";var bn=new VisualMapping(vn);return inner$c(bn).drColorMappingBy=hn,bn}}}function getRangeVisual(xe,$e){var Ie=xe.get($e);return isArray$1(Ie)&&Ie.length?{name:$e,range:Ie}:null}function mapVisual$1(xe,$e,Ie,Fe,Ue,qe){var At=extend({},$e);if(Ue){var Dt=Ue.type,Lt=Dt==="color"&&inner$c(Ue).drColorMappingBy,jt=Lt==="index"?Fe:Lt==="id"?qe.mapIdToIndex(Ie.getId()):Ie.getValue(xe.get("visualDimension"));At[Dt]=Ue.mapValueToVisual(jt)}return At}var mathMax$3=Math.max,mathMin$3=Math.min,retrieveValue=retrieve,each$b=each$f,PATH_BORDER_WIDTH=["itemStyle","borderWidth"],PATH_GAP_WIDTH=["itemStyle","gapWidth"],PATH_UPPER_LABEL_SHOW=["upperLabel","show"],PATH_UPPER_LABEL_HEIGHT=["upperLabel","height"];const treemapLayout={seriesType:"treemap",reset:function(xe,$e,Ie,Fe){var Ue=Ie.getWidth(),qe=Ie.getHeight(),At=xe.option,Dt=getLayoutRect(xe.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),Lt=At.size||[],jt=parsePercent(retrieveValue(Dt.width,Lt[0]),Ue),hn=parsePercent(retrieveValue(Dt.height,Lt[1]),qe),vn=Fe&&Fe.type,bn=["treemapZoomToNode","treemapRootToNode"],_n=retrieveTargetInfo(Fe,bn,xe),wn=vn==="treemapRender"||vn==="treemapMove"?Fe.rootRect:null,kn=xe.getViewRoot(),Cn=getPathToRoot(kn);if(vn!=="treemapMove"){var Sn=vn==="treemapZoomToNode"?estimateRootSize(xe,_n,kn,jt,hn):wn?[wn.width,wn.height]:[jt,hn],xn=At.sort;xn&&xn!=="asc"&&xn!=="desc"&&(xn="desc");var En={squareRatio:At.squareRatio,sort:xn,leafDepth:At.leafDepth};kn.hostTree.clearLayouts();var Tn={x:0,y:0,width:Sn[0],height:Sn[1],area:Sn[0]*Sn[1]};kn.setLayout(Tn),squarify(kn,En,!1,0),Tn=kn.getLayout(),each$b(Cn,function($n,Pn){var Nn=(Cn[Pn+1]||kn).getValue();$n.setLayout(extend({dataExtent:[Nn,Nn],borderWidth:0,upperHeight:0},Tn))})}var An=xe.getData().tree.root;An.setLayout(calculateRootPosition(Dt,wn,_n),!0),xe.setLayoutInfo(Dt),prunning(An,new BoundingRect(-Dt.x,-Dt.y,Ue,qe),Cn,kn,0)}};function squarify(xe,$e,Ie,Fe){var Ue,qe;if(!xe.isRemoved()){var At=xe.getLayout();Ue=At.width,qe=At.height;var Dt=xe.getModel(),Lt=Dt.get(PATH_BORDER_WIDTH),jt=Dt.get(PATH_GAP_WIDTH)/2,hn=getUpperLabelHeight(Dt),vn=Math.max(Lt,hn),bn=Lt-jt,_n=vn-jt;xe.setLayout({borderWidth:Lt,upperHeight:vn,upperLabelHeight:hn},!0),Ue=mathMax$3(Ue-2*bn,0),qe=mathMax$3(qe-bn-_n,0);var wn=Ue*qe,kn=initChildren$1(xe,Dt,wn,$e,Ie,Fe);if(kn.length){var Cn={x:bn,y:_n,width:Ue,height:qe},Sn=mathMin$3(Ue,qe),xn=1/0,En=[];En.area=0;for(var Tn=0,An=kn.length;Tn=0;Lt--){var jt=Ue[Fe==="asc"?At-Lt-1:Lt].getValue();jt/Ie*$eDt[1]&&(Dt[1]=jt)})),{sum:Fe,dataExtent:Dt}}function worst(xe,$e,Ie){for(var Fe=0,Ue=1/0,qe=0,At=void 0,Dt=xe.length;qeFe&&(Fe=At));var Lt=xe.area*xe.area,jt=$e*$e*Ie;return Lt?mathMax$3(jt*Fe/Lt,Lt/(jt*Ue)):1/0}function position(xe,$e,Ie,Fe,Ue){var qe=$e===Ie.width?0:1,At=1-qe,Dt=["x","y"],Lt=["width","height"],jt=Ie[Dt[qe]],hn=$e?xe.area/$e:0;(Ue||hn>Ie[Lt[At]])&&(hn=Ie[Lt[At]]);for(var vn=0,bn=xe.length;vnMAX_SAFE_INTEGER&&(jt=MAX_SAFE_INTEGER),qe=Dt}jtFe&&(Fe=$e);var qe=Fe%2?Fe+2:Fe+3;Ue=[];for(var At=0;At0&&(An[0]=-An[0],An[1]=-An[1]);var Pn=Tn[0]<0?-1:1;if(qe.__position!=="start"&&qe.__position!=="end"){var Nn=-Math.atan2(Tn[1],Tn[0]);vn[0].8?"left":bn[0]<-.8?"right":"center",kn=bn[1]>.8?"top":bn[1]<-.8?"bottom":"middle";break;case"start":qe.x=-bn[0]*Sn+hn[0],qe.y=-bn[1]*xn+hn[1],wn=bn[0]>.8?"right":bn[0]<-.8?"left":"center",kn=bn[1]>.8?"bottom":bn[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":qe.x=Sn*Pn+hn[0],qe.y=hn[1]+Mn,wn=Tn[0]<0?"right":"left",qe.originX=-Sn*Pn,qe.originY=-Mn;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":qe.x=$n[0],qe.y=$n[1]+Mn,wn="center",qe.originY=-Mn;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":qe.x=-Sn*Pn+vn[0],qe.y=vn[1]+Mn,wn=Tn[0]>=0?"right":"left",qe.originX=Sn*Pn,qe.originY=-Mn;break}qe.scaleX=qe.scaleY=At,qe.setStyle({verticalAlign:qe.__verticalAlign||kn,align:qe.__align||wn})}},$e}(Group$3),LineDraw=function(){function xe($e){this.group=new Group$3,this._LineCtor=$e||Line}return xe.prototype.updateData=function($e){var Ie=this;this._progressiveEls=null;var Fe=this,Ue=Fe.group,qe=Fe._lineData;Fe._lineData=$e,qe||Ue.removeAll();var At=makeSeriesScope$1($e);$e.diff(qe).add(function(Dt){Ie._doAdd($e,Dt,At)}).update(function(Dt,Lt){Ie._doUpdate(qe,$e,Lt,Dt,At)}).remove(function(Dt){Ue.remove(qe.getItemGraphicEl(Dt))}).execute()},xe.prototype.updateLayout=function(){var $e=this._lineData;$e&&$e.eachItemGraphicEl(function(Ie,Fe){Ie.updateLayout($e,Fe)},this)},xe.prototype.incrementalPrepareUpdate=function($e){this._seriesScope=makeSeriesScope$1($e),this._lineData=null,this.group.removeAll()},xe.prototype.incrementalUpdate=function($e,Ie){this._progressiveEls=[];function Fe(Dt){!Dt.isGroup&&!isEffectObject(Dt)&&(Dt.incremental=!0,Dt.ensureState("emphasis").hoverLayer=!0)}for(var Ue=$e.start;Ue<$e.end;Ue++){var qe=Ie.getItemLayout(Ue);if(lineNeedsDraw(qe)){var At=new this._LineCtor(Ie,Ue,this._seriesScope);At.traverse(Fe),this.group.add(At),Ie.setItemGraphicEl(Ue,At),this._progressiveEls.push(At)}}},xe.prototype.remove=function(){this.group.removeAll()},xe.prototype.eachRendered=function($e){traverseElements(this._progressiveEls||this.group,$e)},xe.prototype._doAdd=function($e,Ie,Fe){var Ue=$e.getItemLayout(Ie);if(lineNeedsDraw(Ue)){var qe=new this._LineCtor($e,Ie,Fe);$e.setItemGraphicEl(Ie,qe),this.group.add(qe)}},xe.prototype._doUpdate=function($e,Ie,Fe,Ue,qe){var At=$e.getItemGraphicEl(Fe);if(!lineNeedsDraw(Ie.getItemLayout(Ue))){this.group.remove(At);return}At?At.updateData(Ie,Ue,qe):At=new this._LineCtor(Ie,Ue,qe),Ie.setItemGraphicEl(Ue,At),this.group.add(At)},xe}();function isEffectObject(xe){return xe.animators&&xe.animators.length>0}function makeSeriesScope$1(xe){var $e=xe.hostModel,Ie=$e.getModel("emphasis");return{lineStyle:$e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:Ie.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:$e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:$e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:Ie.get("disabled"),blurScope:Ie.get("blurScope"),focus:Ie.get("focus"),labelStatesModels:getLabelStatesModels($e)}}function isPointNaN(xe){return isNaN(xe[0])||isNaN(xe[1])}function lineNeedsDraw(xe){return xe&&!isPointNaN(xe[0])&&!isPointNaN(xe[1])}var v1=[],v2=[],v3=[],quadraticAt=quadraticAt$1,v2DistSquare=distSquare,mathAbs=Math.abs;function intersectCurveCircle(xe,$e,Ie){for(var Fe=xe[0],Ue=xe[1],qe=xe[2],At=1/0,Dt,Lt=Ie*Ie,jt=.1,hn=.1;hn<=.9;hn+=.1){v1[0]=quadraticAt(Fe[0],Ue[0],qe[0],hn),v1[1]=quadraticAt(Fe[1],Ue[1],qe[1],hn);var vn=mathAbs(v2DistSquare(v1,$e)-Lt);vn=0?Dt=Dt+jt:Dt=Dt-jt:wn>=0?Dt=Dt-jt:Dt=Dt+jt}return Dt}function adjustEdge(xe,$e){var Ie=[],Fe=quadraticSubdivide,Ue=[[],[],[]],qe=[[],[]],At=[];$e/=2,xe.eachEdge(function(Dt,Lt){var jt=Dt.getLayout(),hn=Dt.getVisual("fromSymbol"),vn=Dt.getVisual("toSymbol");jt.__original||(jt.__original=[clone$3(jt[0]),clone$3(jt[1])],jt[2]&&jt.__original.push(clone$3(jt[2])));var bn=jt.__original;if(jt[2]!=null){if(copy$1(Ue[0],bn[0]),copy$1(Ue[1],bn[2]),copy$1(Ue[2],bn[1]),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1),wn=intersectCurveCircle(Ue,bn[0],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[0][0]=Ie[3],Ue[1][0]=Ie[4],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[0][1]=Ie[3],Ue[1][1]=Ie[4]}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2),wn=intersectCurveCircle(Ue,bn[1],_n*$e);Fe(Ue[0][0],Ue[1][0],Ue[2][0],wn,Ie),Ue[1][0]=Ie[1],Ue[2][0]=Ie[2],Fe(Ue[0][1],Ue[1][1],Ue[2][1],wn,Ie),Ue[1][1]=Ie[1],Ue[2][1]=Ie[2]}copy$1(jt[0],Ue[0]),copy$1(jt[1],Ue[2]),copy$1(jt[2],Ue[1])}else{if(copy$1(qe[0],bn[0]),copy$1(qe[1],bn[1]),sub(At,qe[1],qe[0]),normalize$3(At,At),hn&&hn!=="none"){var _n=getSymbolSize(Dt.node1);scaleAndAdd$1(qe[0],qe[0],At,_n*$e)}if(vn&&vn!=="none"){var _n=getSymbolSize(Dt.node2);scaleAndAdd$1(qe[1],qe[1],At,-_n*$e)}copy$1(jt[0],qe[0]),copy$1(jt[1],qe[1])}})}function isViewCoordSys(xe){return xe.type==="view"}var GraphView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){var Ue=new SymbolDraw,qe=new LineDraw,At=this.group;this._controller=new RoamController(Fe.getZr()),this._controllerHost={target:At},At.add(Ue.group),At.add(qe.group),this._symbolDraw=Ue,this._lineDraw=qe,this._firstRender=!0},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.coordinateSystem;this._model=Ie;var Dt=this._symbolDraw,Lt=this._lineDraw,jt=this.group;if(isViewCoordSys(At)){var hn={x:At.x,y:At.y,scaleX:At.scaleX,scaleY:At.scaleY};this._firstRender?jt.attr(hn):updateProps$1(jt,hn,Ie)}adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie));var vn=Ie.getData();Dt.updateData(vn);var bn=Ie.getEdgeData();Lt.updateData(bn),this._updateNodeAndLinkScale(),this._updateController(Ie,Fe,Ue),clearTimeout(this._layoutTimeout);var _n=Ie.forceLayout,wn=Ie.get(["force","layoutAnimation"]);_n&&this._startForceLayoutIteration(_n,wn);var kn=Ie.get("layout");vn.graph.eachNode(function(En){var Tn=En.dataIndex,An=En.getGraphicEl(),$n=En.getModel();if(An){An.off("drag").off("dragend");var Pn=$n.get("draggable");Pn&&An.on("drag",function(Mn){switch(kn){case"force":_n.warmUp(),!qe._layouting&&qe._startForceLayoutIteration(_n,wn),_n.setFixed(Tn),vn.setItemLayout(Tn,[An.x,An.y]);break;case"circular":vn.setItemLayout(Tn,[An.x,An.y]),En.setLayout({fixed:!0},!0),circularLayout(Ie,"symbolSize",En,[Mn.offsetX,Mn.offsetY]),qe.updateLayout(Ie);break;case"none":default:vn.setItemLayout(Tn,[An.x,An.y]),simpleLayoutEdge(Ie.getGraph(),Ie),qe.updateLayout(Ie);break}}).on("dragend",function(){_n&&_n.setUnfixed(Tn)}),An.setDraggable(Pn,!!$n.get("cursor"));var Nn=$n.get(["emphasis","focus"]);Nn==="adjacency"&&(getECData(An).focus=En.getAdjacentDataIndices())}}),vn.graph.eachEdge(function(En){var Tn=En.getGraphicEl(),An=En.getModel().get(["emphasis","focus"]);Tn&&An==="adjacency"&&(getECData(Tn).focus={edge:[En.dataIndex],node:[En.node1.dataIndex,En.node2.dataIndex]})});var Cn=Ie.get("layout")==="circular"&&Ie.get(["circular","rotateLabel"]),Sn=vn.getLayout("cx"),xn=vn.getLayout("cy");vn.graph.eachNode(function(En){rotateNodeLabel(En,Cn,Sn,xn)}),this._firstRender=!1},$e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},$e.prototype._startForceLayoutIteration=function(Ie,Fe){var Ue=this;(function qe(){Ie.step(function(At){Ue.updateLayout(Ue._model),(Ue._layouting=!At)&&(Fe?Ue._layoutTimeout=setTimeout(qe,16):qe())})})()},$e.prototype._updateController=function(Ie,Fe,Ue){var qe=this,At=this._controller,Dt=this._controllerHost,Lt=this.group;if(At.setPointerChecker(function(jt,hn,vn){var bn=Lt.getBoundingRect();return bn.applyTransform(Lt.transform),bn.contain(hn,vn)&&!onIrrelevantElement(jt,Ue,Ie)}),!isViewCoordSys(Ie.coordinateSystem)){At.disable();return}At.enable(Ie.get("roam")),Dt.zoomLimit=Ie.get("scaleLimit"),Dt.zoom=Ie.coordinateSystem.getZoom(),At.off("pan").off("zoom").on("pan",function(jt){updateViewOnPan(Dt,jt.dx,jt.dy),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",dx:jt.dx,dy:jt.dy})}).on("zoom",function(jt){updateViewOnZoom(Dt,jt.scale,jt.originX,jt.originY),Ue.dispatchAction({seriesId:Ie.id,type:"graphRoam",zoom:jt.scale,originX:jt.originX,originY:jt.originY}),qe._updateNodeAndLinkScale(),adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),qe._lineDraw.updateLayout(),Ue.updateLabelLayout()})},$e.prototype._updateNodeAndLinkScale=function(){var Ie=this._model,Fe=Ie.getData(),Ue=getNodeGlobalScale(Ie);Fe.eachItemGraphicEl(function(qe,At){qe&&qe.setSymbolScale(Ue)})},$e.prototype.updateLayout=function(Ie){adjustEdge(Ie.getGraph(),getNodeGlobalScale(Ie)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},$e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},$e.type="graph",$e}(ChartView);function generateNodeKey(xe){return"_EC_"+xe}var Graph=function(){function xe($e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=$e||!1}return xe.prototype.isDirected=function(){return this._directed},xe.prototype.addNode=function($e,Ie){$e=$e==null?""+Ie:""+$e;var Fe=this._nodesMap;if(!Fe[generateNodeKey($e)]){var Ue=new GraphNode($e,Ie);return Ue.hostGraph=this,this.nodes.push(Ue),Fe[generateNodeKey($e)]=Ue,Ue}},xe.prototype.getNodeByIndex=function($e){var Ie=this.data.getRawIndex($e);return this.nodes[Ie]},xe.prototype.getNodeById=function($e){return this._nodesMap[generateNodeKey($e)]},xe.prototype.addEdge=function($e,Ie,Fe){var Ue=this._nodesMap,qe=this._edgesMap;if(isNumber($e)&&($e=this.nodes[$e]),isNumber(Ie)&&(Ie=this.nodes[Ie]),$e instanceof GraphNode||($e=Ue[generateNodeKey($e)]),Ie instanceof GraphNode||(Ie=Ue[generateNodeKey(Ie)]),!(!$e||!Ie)){var At=$e.id+"-"+Ie.id,Dt=new GraphEdge($e,Ie,Fe);return Dt.hostGraph=this,this._directed&&($e.outEdges.push(Dt),Ie.inEdges.push(Dt)),$e.edges.push(Dt),$e!==Ie&&Ie.edges.push(Dt),this.edges.push(Dt),qe[At]=Dt,Dt}},xe.prototype.getEdgeByIndex=function($e){var Ie=this.edgeData.getRawIndex($e);return this.edges[Ie]},xe.prototype.getEdge=function($e,Ie){$e instanceof GraphNode&&($e=$e.id),Ie instanceof GraphNode&&(Ie=Ie.id);var Fe=this._edgesMap;return this._directed?Fe[$e+"-"+Ie]:Fe[$e+"-"+Ie]||Fe[Ie+"-"+$e]},xe.prototype.eachNode=function($e,Ie){for(var Fe=this.nodes,Ue=Fe.length,qe=0;qe=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.eachEdge=function($e,Ie){for(var Fe=this.edges,Ue=Fe.length,qe=0;qe=0&&Fe[qe].node1.dataIndex>=0&&Fe[qe].node2.dataIndex>=0&&$e.call(Ie,Fe[qe],qe)},xe.prototype.breadthFirstTraverse=function($e,Ie,Fe,Ue){if(Ie instanceof GraphNode||(Ie=this._nodesMap[generateNodeKey(Ie)]),!!Ie){for(var qe=Fe==="out"?"outEdges":Fe==="in"?"inEdges":"edges",At=0;At=0&&Lt.node2.dataIndex>=0});for(var qe=0,At=Ue.length;qe=0&&this[xe][$e].setItemVisual(this.dataIndex,Ie,Fe)},getVisual:function(Ie){return this[xe][$e].getItemVisual(this.dataIndex,Ie)},setLayout:function(Ie,Fe){this.dataIndex>=0&&this[xe][$e].setItemLayout(this.dataIndex,Ie,Fe)},getLayout:function(){return this[xe][$e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[xe][$e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[xe][$e].getRawIndex(this.dataIndex)}}}mixin(GraphNode,createGraphDataProxyMixin("hostGraph","data"));mixin(GraphEdge,createGraphDataProxyMixin("hostGraph","edgeData"));function createGraphFromNodeEdge(xe,$e,Ie,Fe,Ue){for(var qe=new Graph(Fe),At=0;At "+bn)),jt++)}var _n=Ie.get("coordinateSystem"),wn;if(_n==="cartesian2d"||_n==="polar")wn=createSeriesData(xe,Ie);else{var kn=CoordinateSystemManager.get(_n),Cn=kn?kn.dimensions||[]:[];indexOf(Cn,"value")<0&&Cn.concat(["value"]);var Sn=prepareSeriesDataSchema(xe,{coordDimensions:Cn,encodeDefine:Ie.getEncode()}).dimensions;wn=new SeriesData(Sn,Ie),wn.initData(xe)}var xn=new SeriesData(["value"],Ie);return xn.initData(Lt,Dt),Ue&&Ue(wn,xn),linkSeriesData({mainData:wn,struct:qe,structAttr:"graph",datas:{node:wn,edge:xn},datasAttr:{node:"data",edge:"edgeData"}}),qe.update(),qe}var GraphSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments);var Fe=this;function Ue(){return Fe._categoriesData}this.legendVisualProvider=new LegendVisualProvider(Ue,Ue),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(Ie.edges||Ie.links),this._updateCategoriesData()},$e.prototype.mergeDefaultAndTheme=function(Ie){xe.prototype.mergeDefaultAndTheme.apply(this,arguments),defaultEmphasis(Ie,"edgeLabel",["show"])},$e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links||[],qe=Ie.data||Ie.nodes||[],At=this;if(qe&&Ue){initCurvenessList(this);var Dt=createGraphFromNodeEdge(qe,Ue,this,!0,Lt);return each$f(Dt.edges,function(jt){createEdgeMapForCurveness(jt.node1,jt.node2,this,jt.dataIndex)},this),Dt.data}function Lt(jt,hn){jt.wrapMethod("getItemModel",function(wn){var kn=At._categoriesModels,Cn=wn.getShallow("category"),Sn=kn[Cn];return Sn&&(Sn.parentModel=wn.parentModel,wn.parentModel=Sn),wn});var vn=Model.prototype.getModel;function bn(wn,kn){var Cn=vn.call(this,wn,kn);return Cn.resolveParentPath=_n,Cn}hn.wrapMethod("getItemModel",function(wn){return wn.resolveParentPath=_n,wn.getModel=bn,wn});function _n(wn){if(wn&&(wn[0]==="label"||wn[1]==="label")){var kn=wn.slice();return wn[0]==="label"?kn[0]="edgeLabel":wn[1]==="label"&&(kn[1]="edgeLabel"),kn}return wn}}},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.getCategoriesData=function(){return this._categoriesData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){if(Ue==="edge"){var qe=this.getData(),At=this.getDataParams(Ie,Ue),Dt=qe.graph.getEdgeByIndex(Ie),Lt=qe.getName(Dt.node1.dataIndex),jt=qe.getName(Dt.node2.dataIndex),hn=[];return Lt!=null&&hn.push(Lt),jt!=null&&hn.push(jt),createTooltipMarkup("nameValue",{name:hn.join(" > "),value:At.value,noValue:At.value==null})}var vn=defaultSeriesFormatTooltip({series:this,dataIndex:Ie,multipleSeries:Fe});return vn},$e.prototype._updateCategoriesData=function(){var Ie=map$1(this.option.categories||[],function(Ue){return Ue.value!=null?Ue:extend({value:0},Ue)}),Fe=new SeriesData(["value"],this);Fe.initData(Ie),this._categoriesData=Fe,this._categoriesModels=Fe.mapArray(function(Ue){return Fe.getItemModel(Ue)})},$e.prototype.setZoom=function(Ie){this.option.zoom=Ie},$e.prototype.setCenter=function(Ie){this.option.center=Ie},$e.prototype.isAnimationEnabled=function(){return xe.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},$e.type="series.graph",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel),actionInfo$1={type:"graphRoam",event:"graphRoam",update:"none"};function install$G(xe){xe.registerChartView(GraphView),xe.registerSeriesModel(GraphSeriesModel),xe.registerProcessor(categoryFilter),xe.registerVisual(categoryVisual),xe.registerVisual(graphEdgeVisual),xe.registerLayout(graphSimpleLayout),xe.registerLayout(xe.PRIORITY.VISUAL.POST_CHART_LAYOUT,graphCircularLayout),xe.registerLayout(graphForceLayout),xe.registerCoordinateSystem("graphView",{dimensions:View.dimensions,create:createViewCoordSys}),xe.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},noop),xe.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},noop),xe.registerAction(actionInfo$1,function($e,Ie,Fe){Ie.eachComponent({mainType:"series",query:$e},function(Ue){var qe=Ue.coordinateSystem,At=updateCenterAndZoom(qe,$e,void 0,Fe);Ue.setCenter&&Ue.setCenter(At.center),Ue.setZoom&&Ue.setZoom(At.zoom)})})}var PointerShape=function(){function xe(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return xe}(),PointerPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="pointer",Fe}return $e.prototype.getDefaultShape=function(){return new PointerShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Math.cos,qe=Math.sin,At=Fe.r,Dt=Fe.width,Lt=Fe.angle,jt=Fe.x-Ue(Lt)*Dt*(Dt>=At/3?1:2),hn=Fe.y-qe(Lt)*Dt*(Dt>=At/3?1:2);Lt=Fe.angle-Math.PI/2,Ie.moveTo(jt,hn),Ie.lineTo(Fe.x+Ue(Lt)*Dt,Fe.y+qe(Lt)*Dt),Ie.lineTo(Fe.x+Ue(Fe.angle)*At,Fe.y+qe(Fe.angle)*At),Ie.lineTo(Fe.x-Ue(Lt)*Dt,Fe.y-qe(Lt)*Dt),Ie.lineTo(jt,hn)},$e}(Path);function parsePosition(xe,$e){var Ie=xe.get("center"),Fe=$e.getWidth(),Ue=$e.getHeight(),qe=Math.min(Fe,Ue),At=parsePercent(Ie[0],$e.getWidth()),Dt=parsePercent(Ie[1],$e.getHeight()),Lt=parsePercent(xe.get("radius"),qe/2);return{cx:At,cy:Dt,r:Lt}}function formatLabel(xe,$e){var Ie=xe==null?"":xe+"";return $e&&(isString($e)?Ie=$e.replace("{value}",Ie):isFunction($e)&&(Ie=$e(xe))),Ie}var GaugeView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeAll();var qe=Ie.get(["axisLine","lineStyle","color"]),At=parsePosition(Ie,Ue);this._renderMain(Ie,Fe,Ue,qe,At),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.prototype._renderMain=function(Ie,Fe,Ue,qe,At){var Dt=this.group,Lt=Ie.get("clockwise"),jt=-Ie.get("startAngle")/180*Math.PI,hn=-Ie.get("endAngle")/180*Math.PI,vn=Ie.getModel("axisLine"),bn=vn.get("roundCap"),_n=bn?SausagePath:Sector,wn=vn.get("show"),kn=vn.getModel("lineStyle"),Cn=kn.get("width"),Sn=[jt,hn];normalizeArcAngles(Sn,!Lt),jt=Sn[0],hn=Sn[1];for(var xn=hn-jt,En=jt,Tn=[],An=0;wn&&An=Mn&&(In===0?0:qe[In-1][0])Math.PI/2&&(er+=Math.PI)):Xn==="tangential"?er=-Nn-Math.PI/2:isNumber(Xn)&&(er=Xn*Math.PI/180),er===0?vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:Ln<-.8?"top":Ln>.8?"bottom":"middle",align:Vn<-.4?"left":Vn>.4?"right":"center"},{inheritColor:jn}),silent:!0})):vn.add(new ZRText({style:createTextStyle(En,{text:zn,x:Gn,y:Wn,verticalAlign:"middle",align:"center"},{inheritColor:jn}),silent:!0,originX:Gn,originY:Wn,rotation:er}))}if(xn.get("show")&&Dn!==Tn){var Hn=xn.get("distance");Hn=Hn?Hn+hn:hn;for(var rr=0;rr<=An;rr++){Vn=Math.cos(Nn),Ln=Math.sin(Nn);var Jn=new Line$1({shape:{x1:Vn*(wn-Hn)+bn,y1:Ln*(wn-Hn)+_n,x2:Vn*(wn-Pn-Hn)+bn,y2:Ln*(wn-Pn-Hn)+_n},silent:!0,style:Rn});Rn.stroke==="auto"&&Jn.setStyle({stroke:qe((Dn+rr/An)/Tn)}),vn.add(Jn),Nn+=In}Nn-=In}else Nn+=Mn}},$e.prototype._renderPointer=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){var vn=this.group,bn=this._data,_n=this._progressEls,wn=[],kn=Ie.get(["pointer","show"]),Cn=Ie.getModel("progress"),Sn=Cn.get("show"),xn=Ie.getData(),En=xn.mapDimension("value"),Tn=+Ie.get("min"),An=+Ie.get("max"),$n=[Tn,An],Pn=[Dt,Lt];function Nn(In,On){var Rn=xn.getItemModel(In),Bn=Rn.getModel("pointer"),Vn=parsePercent(Bn.get("width"),At.r),Ln=parsePercent(Bn.get("length"),At.r),Dn=Ie.get(["pointer","icon"]),Hn=Bn.get("offsetCenter"),Fn=parsePercent(Hn[0],At.r),zn=parsePercent(Hn[1],At.r),jn=Bn.get("keepAspect"),Gn;return Dn?Gn=createSymbol$1(Dn,Fn-Vn/2,zn-Ln,Vn,Ln,null,jn):Gn=new PointerPath({shape:{angle:-Math.PI/2,width:Vn,r:Ln,x:Fn,y:zn}}),Gn.rotation=-(On+Math.PI/2),Gn.x=At.cx,Gn.y=At.cy,Gn}function Mn(In,On){var Rn=Cn.get("roundCap"),Bn=Rn?SausagePath:Sector,Vn=Cn.get("overlap"),Ln=Vn?Cn.get("width"):hn/xn.count(),Dn=Vn?At.r-Ln:At.r-(In+1)*Ln,Hn=Vn?At.r:At.r-In*Ln,Fn=new Bn({shape:{startAngle:Dt,endAngle:On,cx:At.cx,cy:At.cy,clockwise:jt,r0:Dn,r:Hn}});return Vn&&(Fn.z2=An-xn.get(En,In)%An),Fn}(Sn||kn)&&(xn.diff(bn).add(function(In){var On=xn.get(En,In);if(kn){var Rn=Nn(In,Dt);initProps(Rn,{rotation:-((isNaN(+On)?Pn[0]:linearMap$2(On,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Rn),xn.setItemGraphicEl(In,Rn)}if(Sn){var Bn=Mn(In,Dt),Vn=Cn.get("clip");initProps(Bn,{shape:{endAngle:linearMap$2(On,$n,Pn,Vn)}},Ie),vn.add(Bn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Bn),wn[In]=Bn}}).update(function(In,On){var Rn=xn.get(En,In);if(kn){var Bn=bn.getItemGraphicEl(On),Vn=Bn?Bn.rotation:Dt,Ln=Nn(In,Vn);Ln.rotation=Vn,updateProps$1(Ln,{rotation:-((isNaN(+Rn)?Pn[0]:linearMap$2(Rn,$n,Pn,!0))+Math.PI/2)},Ie),vn.add(Ln),xn.setItemGraphicEl(In,Ln)}if(Sn){var Dn=_n[On],Hn=Dn?Dn.shape.endAngle:Dt,Fn=Mn(In,Hn),zn=Cn.get("clip");updateProps$1(Fn,{shape:{endAngle:linearMap$2(Rn,$n,Pn,zn)}},Ie),vn.add(Fn),setCommonECData(Ie.seriesIndex,xn.dataType,In,Fn),wn[In]=Fn}}).execute(),xn.each(function(In){var On=xn.getItemModel(In),Rn=On.getModel("emphasis"),Bn=Rn.get("focus"),Vn=Rn.get("blurScope"),Ln=Rn.get("disabled");if(kn){var Dn=xn.getItemGraphicEl(In),Hn=xn.getItemVisual(In,"style"),Fn=Hn.fill;if(Dn instanceof ZRImage){var zn=Dn.style;Dn.useStyle(extend({image:zn.image,x:zn.x,y:zn.y,width:zn.width,height:zn.height},Hn))}else Dn.useStyle(Hn),Dn.type!=="pointer"&&Dn.setColor(Fn);Dn.setStyle(On.getModel(["pointer","itemStyle"]).getItemStyle()),Dn.style.fill==="auto"&&Dn.setStyle("fill",qe(linearMap$2(xn.get(En,In),$n,[0,1],!0))),Dn.z2EmphasisLift=0,setStatesStylesFromModel(Dn,On),toggleHoverEmphasis(Dn,Bn,Vn,Ln)}if(Sn){var jn=wn[In];jn.useStyle(xn.getItemVisual(In,"style")),jn.setStyle(On.getModel(["progress","itemStyle"]).getItemStyle()),jn.z2EmphasisLift=0,setStatesStylesFromModel(jn,On),toggleHoverEmphasis(jn,Bn,Vn,Ln)}}),this._progressEls=wn)},$e.prototype._renderAnchor=function(Ie,Fe){var Ue=Ie.getModel("anchor"),qe=Ue.get("show");if(qe){var At=Ue.get("size"),Dt=Ue.get("icon"),Lt=Ue.get("offsetCenter"),jt=Ue.get("keepAspect"),hn=createSymbol$1(Dt,Fe.cx-At/2+parsePercent(Lt[0],Fe.r),Fe.cy-At/2+parsePercent(Lt[1],Fe.r),At,At,null,jt);hn.z2=Ue.get("showAbove")?1:0,hn.setStyle(Ue.getModel("itemStyle").getItemStyle()),this.group.add(hn)}},$e.prototype._renderTitleAndDetail=function(Ie,Fe,Ue,qe,At){var Dt=this,Lt=Ie.getData(),jt=Lt.mapDimension("value"),hn=+Ie.get("min"),vn=+Ie.get("max"),bn=new Group$3,_n=[],wn=[],kn=Ie.isAnimationEnabled(),Cn=Ie.get(["pointer","showAbove"]);Lt.diff(this._data).add(function(Sn){_n[Sn]=new ZRText({silent:!0}),wn[Sn]=new ZRText({silent:!0})}).update(function(Sn,xn){_n[Sn]=Dt._titleEls[xn],wn[Sn]=Dt._detailEls[xn]}).execute(),Lt.each(function(Sn){var xn=Lt.getItemModel(Sn),En=Lt.get(jt,Sn),Tn=new Group$3,An=qe(linearMap$2(En,[hn,vn],[0,1],!0)),$n=xn.getModel("title");if($n.get("show")){var Pn=$n.get("offsetCenter"),Nn=At.cx+parsePercent(Pn[0],At.r),Mn=At.cy+parsePercent(Pn[1],At.r),In=_n[Sn];In.attr({z2:Cn?0:2,style:createTextStyle($n,{x:Nn,y:Mn,text:Lt.getName(Sn),align:"center",verticalAlign:"middle"},{inheritColor:An})}),Tn.add(In)}var On=xn.getModel("detail");if(On.get("show")){var Rn=On.get("offsetCenter"),Bn=At.cx+parsePercent(Rn[0],At.r),Vn=At.cy+parsePercent(Rn[1],At.r),Ln=parsePercent(On.get("width"),At.r),Dn=parsePercent(On.get("height"),At.r),Hn=Ie.get(["progress","show"])?Lt.getItemVisual(Sn,"style").fill:An,In=wn[Sn],Fn=On.get("formatter");In.attr({z2:Cn?0:2,style:createTextStyle(On,{x:Bn,y:Vn,text:formatLabel(En,Fn),width:isNaN(Ln)?null:Ln,height:isNaN(Dn)?null:Dn,align:"center",verticalAlign:"middle"},{inheritColor:Hn})}),setLabelValueAnimation(In,{normal:On},En,function(jn){return formatLabel(jn,Fn)}),kn&&animateLabelValue(In,Sn,Lt,Ie,{getFormattedLabel:function(jn,Gn,Wn,Xn,er,rr){return formatLabel(rr?rr.interpolatedValue:En,Fn)}}),Tn.add(In)}bn.add(Tn)}),this.group.add(bn),this._titleEls=_n,this._detailEls=wn},$e.type="gauge",$e}(ChartView),GaugeSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="itemStyle",Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,["value"])},$e.type="series.gauge",$e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},$e}(SeriesModel);function install$F(xe){xe.registerChartView(GaugeView),xe.registerSeriesModel(GaugeSeriesModel)}var opacityAccessPath$1=["itemStyle","opacity"],FunnelPiece=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=Ue,At=new Polyline$1,Dt=new ZRText;return qe.setTextContent(Dt),Ue.setTextGuideLine(At),Ue.updateData(Ie,Fe,!0),Ue}return $e.prototype.updateData=function(Ie,Fe,Ue){var qe=this,At=Ie.hostModel,Dt=Ie.getItemModel(Fe),Lt=Ie.getItemLayout(Fe),jt=Dt.getModel("emphasis"),hn=Dt.get(opacityAccessPath$1);hn=hn??1,Ue||saveOldStyle(qe),qe.useStyle(Ie.getItemVisual(Fe,"style")),qe.style.lineJoin="round",Ue?(qe.setShape({points:Lt.points}),qe.style.opacity=0,initProps(qe,{style:{opacity:hn}},At,Fe)):updateProps$1(qe,{style:{opacity:hn},shape:{points:Lt.points}},At,Fe),setStatesStylesFromModel(qe,Dt),this._updateLabel(Ie,Fe),toggleHoverEmphasis(this,jt.get("focus"),jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie,Fe){var Ue=this,qe=this.getTextGuideLine(),At=Ue.getTextContent(),Dt=Ie.hostModel,Lt=Ie.getItemModel(Fe),jt=Ie.getItemLayout(Fe),hn=jt.label,vn=Ie.getItemVisual(Fe,"style"),bn=vn.fill;setLabelStyle(At,getLabelStatesModels(Lt),{labelFetcher:Ie.hostModel,labelDataIndex:Fe,defaultOpacity:vn.opacity,defaultText:Ie.getName(Fe)},{normal:{align:hn.textAlign,verticalAlign:hn.verticalAlign}}),Ue.setTextConfig({local:!0,inside:!!hn.inside,insideStroke:bn,outsideFill:bn});var _n=hn.linePoints;qe.setShape({points:_n}),Ue.textGuideLineConfig={anchor:_n?new Point(_n[0][0],_n[0][1]):null},updateProps$1(At,{style:{x:hn.x,y:hn.y}},Dt,Fe),At.attr({rotation:hn.rotation,originX:hn.x,originY:hn.y,z2:10}),setLabelLineStyle(Ue,getLabelLineStatesModels(Lt),{stroke:bn})},$e}(Polygon),FunnelView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreLabelLineUpdate=!0,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._data,Dt=this.group;qe.diff(At).add(function(Lt){var jt=new FunnelPiece(qe,Lt);qe.setItemGraphicEl(Lt,jt),Dt.add(jt)}).update(function(Lt,jt){var hn=At.getItemGraphicEl(jt);hn.updateData(qe,Lt),Dt.add(hn),qe.setItemGraphicEl(Lt,hn)}).remove(function(Lt){var jt=At.getItemGraphicEl(Lt);removeElementWithFadeOut(jt,Ie,Lt)}).execute(),this._data=qe},$e.prototype.remove=function(){this.group.removeAll(),this._data=null},$e.prototype.dispose=function(){},$e.type="funnel",$e}(ChartView),FunnelSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie){xe.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(Ie)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},$e.prototype._defaultLabelLine=function(Ie){defaultEmphasis(Ie,"labelLine",["show"]);var Fe=Ie.labelLine,Ue=Ie.emphasis.labelLine;Fe.show=Fe.show&&Ie.label.show,Ue.show=Ue.show&&Ie.emphasis.label.show},$e.prototype.getDataParams=function(Ie){var Fe=this.getData(),Ue=xe.prototype.getDataParams.call(this,Ie),qe=Fe.mapDimension("value"),At=Fe.getSum(qe);return Ue.percent=At?+(Fe.get(qe,Ie)/At*100).toFixed(2):0,Ue.$vars.push("percent"),Ue},$e.type="series.funnel",$e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function getViewRect$2(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function getSortedIndices(xe,$e){for(var Ie=xe.mapDimension("value"),Fe=xe.mapArray(Ie,function(Lt){return Lt}),Ue=[],qe=$e==="ascending",At=0,Dt=xe.count();AtCLICK_THRESHOLD)return;var Ue=this._model.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]);Ue.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:Ue.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(xe){if(!(this._mouseDownPoint||!checkTrigger(this,"mousemove"))){var $e=this._model,Ie=$e.coordinateSystem.getSlidedAxisExpandWindow([xe.offsetX,xe.offsetY]),Fe=Ie.behavior;Fe==="jump"&&this._throttledDispatchExpand.debounceNextCall($e.get("axisExpandDebounce")),this._throttledDispatchExpand(Fe==="none"?null:{axisExpandWindow:Ie.axisExpandWindow,animation:Fe==="jump"?null:{duration:0}})}}};function checkTrigger(xe,$e){var Ie=xe._model;return Ie.get("axisExpandable")&&Ie.get("axisExpandTriggerOn")===$e}var ParallelModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){xe.prototype.init.apply(this,arguments),this.mergeOption({})},$e.prototype.mergeOption=function(Ie){var Fe=this.option;Ie&&merge(Fe,Ie,!0),this._initDimensions()},$e.prototype.contains=function(Ie,Fe){var Ue=Ie.get("parallelIndex");return Ue!=null&&Fe.getComponent("parallel",Ue)===this},$e.prototype.setAxisExpand=function(Ie){each$f(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(Fe){Ie.hasOwnProperty(Fe)&&(this.option[Fe]=Ie[Fe])},this)},$e.prototype._initDimensions=function(){var Ie=this.dimensions=[],Fe=this.parallelAxisIndex=[],Ue=filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(qe){return(qe.get("parallelIndex")||0)===this.componentIndex},this);each$f(Ue,function(qe){Ie.push("dim"+qe.get("dim")),Fe.push(qe.componentIndex)})},$e.type="parallel",$e.dependencies=["parallelAxis"],$e.layoutMode="box",$e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},$e}(ComponentModel),ParallelAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe,At){var Dt=xe.call(this,Ie,Fe,Ue)||this;return Dt.type=qe||"value",Dt.axisIndex=At,Dt}return $e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},$e}(Axis);function sliderMove(xe,$e,Ie,Fe,Ue,qe){xe=xe||0;var At=Ie[1]-Ie[0];if(Ue!=null&&(Ue=restrict$1(Ue,[0,At])),qe!=null&&(qe=Math.max(qe,Ue??0)),Fe==="all"){var Dt=Math.abs($e[1]-$e[0]);Dt=restrict$1(Dt,[0,At]),Ue=qe=restrict$1(Dt,[Ue,qe]),Fe=0}$e[0]=restrict$1($e[0],Ie),$e[1]=restrict$1($e[1],Ie);var Lt=getSpanSign($e,Fe);$e[Fe]+=xe;var jt=Ue||0,hn=Ie.slice();Lt.sign<0?hn[0]+=jt:hn[1]-=jt,$e[Fe]=restrict$1($e[Fe],hn);var vn;return vn=getSpanSign($e,Fe),Ue!=null&&(vn.sign!==Lt.sign||vn.spanqe&&($e[1-Fe]=$e[Fe]+vn.sign*qe),$e}function getSpanSign(xe,$e){var Ie=xe[$e]-xe[1-$e];return{span:Math.abs(Ie),sign:Ie>0?-1:Ie<0?1:$e?-1:1}}function restrict$1(xe,$e){return Math.min($e[1]!=null?$e[1]:1/0,Math.max($e[0]!=null?$e[0]:-1/0,xe))}var each$a=each$f,mathMin$2=Math.min,mathMax$2=Math.max,mathFloor=Math.floor,mathCeil=Math.ceil,round=round$3,PI$1=Math.PI,Parallel=function(){function xe($e,Ie,Fe){this.type="parallel",this._axesMap=createHashMap(),this._axesLayout={},this.dimensions=$e.dimensions,this._model=$e,this._init($e,Ie,Fe)}return xe.prototype._init=function($e,Ie,Fe){var Ue=$e.dimensions,qe=$e.parallelAxisIndex;each$a(Ue,function(At,Dt){var Lt=qe[Dt],jt=Ie.getComponent("parallelAxis",Lt),hn=this._axesMap.set(At,new ParallelAxis(At,createScaleByModel$1(jt),[0,0],jt.get("type"),Lt)),vn=hn.type==="category";hn.onBand=vn&&jt.get("boundaryGap"),hn.inverse=jt.get("inverse"),jt.axis=hn,hn.model=jt,hn.coordinateSystem=jt.coordinateSystem=this},this)},xe.prototype.update=function($e,Ie){this._updateAxesFromSeries(this._model,$e)},xe.prototype.containPoint=function($e){var Ie=this._makeLayoutInfo(),Fe=Ie.axisBase,Ue=Ie.layoutBase,qe=Ie.pixelDimIndex,At=$e[1-qe],Dt=$e[qe];return At>=Fe&&At<=Fe+Ie.axisLength&&Dt>=Ue&&Dt<=Ue+Ie.layoutLength},xe.prototype.getModel=function(){return this._model},xe.prototype._updateAxesFromSeries=function($e,Ie){Ie.eachSeries(function(Fe){if($e.contains(Fe,Ie)){var Ue=Fe.getData();each$a(this.dimensions,function(qe){var At=this._axesMap.get(qe);At.scale.unionExtentFromData(Ue,Ue.mapDimension(qe)),niceScaleExtent(At.scale,At.model)},this)}},this)},xe.prototype.resize=function($e,Ie){this._rect=getLayoutRect($e.getBoxLayoutParams(),{width:Ie.getWidth(),height:Ie.getHeight()}),this._layoutAxes()},xe.prototype.getRect=function(){return this._rect},xe.prototype._makeLayoutInfo=function(){var $e=this._model,Ie=this._rect,Fe=["x","y"],Ue=["width","height"],qe=$e.get("layout"),At=qe==="horizontal"?0:1,Dt=Ie[Ue[At]],Lt=[0,Dt],jt=this.dimensions.length,hn=restrict($e.get("axisExpandWidth"),Lt),vn=restrict($e.get("axisExpandCount")||0,[0,jt]),bn=$e.get("axisExpandable")&&jt>3&&jt>vn&&vn>1&&hn>0&&Dt>0,_n=$e.get("axisExpandWindow"),wn;if(_n)wn=restrict(_n[1]-_n[0],Lt),_n[1]=_n[0]+wn;else{wn=restrict(hn*(vn-1),Lt);var kn=$e.get("axisExpandCenter")||mathFloor(jt/2);_n=[hn*kn-wn/2],_n[1]=_n[0]+wn}var Cn=(Dt-wn)/(jt-vn);Cn<3&&(Cn=0);var Sn=[mathFloor(round(_n[0]/hn,1))+1,mathCeil(round(_n[1]/hn,1))-1],xn=Cn/hn*_n[0];return{layout:qe,pixelDimIndex:At,layoutBase:Ie[Fe[At]],layoutLength:Dt,axisBase:Ie[Fe[1-At]],axisLength:Ie[Ue[1-At]],axisExpandable:bn,axisExpandWidth:hn,axisCollapseWidth:Cn,axisExpandWindow:_n,axisCount:jt,winInnerIndices:Sn,axisExpandWindow0Pos:xn}},xe.prototype._layoutAxes=function(){var $e=this._rect,Ie=this._axesMap,Fe=this.dimensions,Ue=this._makeLayoutInfo(),qe=Ue.layout;Ie.each(function(At){var Dt=[0,Ue.axisLength],Lt=At.inverse?1:0;At.setExtent(Dt[Lt],Dt[1-Lt])}),each$a(Fe,function(At,Dt){var Lt=(Ue.axisExpandable?layoutAxisWithExpand:layoutAxisWithoutExpand)(Dt,Ue),jt={horizontal:{x:Lt.position,y:Ue.axisLength},vertical:{x:0,y:Lt.position}},hn={horizontal:PI$1/2,vertical:0},vn=[jt[qe].x+$e.x,jt[qe].y+$e.y],bn=hn[qe],_n=create$1();rotate(_n,_n,bn),translate(_n,_n,vn),this._axesLayout[At]={position:vn,rotation:bn,transform:_n,axisNameAvailableWidth:Lt.axisNameAvailableWidth,axisLabelShow:Lt.axisLabelShow,nameTruncateMaxWidth:Lt.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},xe.prototype.getAxis=function($e){return this._axesMap.get($e)},xe.prototype.dataToPoint=function($e,Ie){return this.axisCoordToPoint(this._axesMap.get(Ie).dataToCoord($e),Ie)},xe.prototype.eachActiveState=function($e,Ie,Fe,Ue){Fe==null&&(Fe=0),Ue==null&&(Ue=$e.count());var qe=this._axesMap,At=this.dimensions,Dt=[],Lt=[];each$f(At,function(Cn){Dt.push($e.mapDimension(Cn)),Lt.push(qe.get(Cn).model)});for(var jt=this.hasAxisBrushed(),hn=Fe;hnqe*(1-vn[0])?(jt="jump",Lt=Dt-qe*(1-vn[2])):(Lt=Dt-qe*vn[1])>=0&&(Lt=Dt-qe*(1-vn[1]))<=0&&(Lt=0),Lt*=Ie.axisExpandWidth/hn,Lt?sliderMove(Lt,Ue,At,"all"):jt="none";else{var _n=Ue[1]-Ue[0],wn=At[1]*Dt/_n;Ue=[mathMax$2(0,wn-_n/2)],Ue[1]=mathMin$2(At[1],Ue[0]+_n),Ue[0]=Ue[1]-_n}return{axisExpandWindow:Ue,behavior:jt}},xe}();function restrict(xe,$e){return mathMin$2(mathMax$2(xe,$e[0]),$e[1])}function layoutAxisWithoutExpand(xe,$e){var Ie=$e.layoutLength/($e.axisCount-1);return{position:Ie*xe,axisNameAvailableWidth:Ie,axisLabelShow:!0}}function layoutAxisWithExpand(xe,$e){var Ie=$e.layoutLength,Fe=$e.axisExpandWidth,Ue=$e.axisCount,qe=$e.axisCollapseWidth,At=$e.winInnerIndices,Dt,Lt=qe,jt=!1,hn;return xe=0;Ue--)asc$2(Fe[Ue])},$e.prototype.getActiveState=function(Ie){var Fe=this.activeIntervals;if(!Fe.length)return"normal";if(Ie==null||isNaN(+Ie))return"inactive";if(Fe.length===1){var Ue=Fe[0];if(Ue[0]<=Ie&&Ie<=Ue[1])return"active"}else for(var qe=0,At=Fe.length;qeUNSELECT_THRESHOLD}function getTrackEnds(xe){var $e=xe.length-1;return $e<0&&($e=0),[xe[0],xe[$e]]}function createBaseRectCover(xe,$e,Ie,Fe){var Ue=new Group$3;return Ue.add(new Rect$2({name:"main",style:makeStyle(Ie),silent:!0,draggable:!0,cursor:"move",drift:curry$1(driftRect,xe,$e,Ue,["n","s","w","e"]),ondragend:curry$1(trigger,$e,{isEnd:!0})})),each$f(Fe,function(qe){Ue.add(new Rect$2({name:qe.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:curry$1(driftRect,xe,$e,Ue,qe),ondragend:curry$1(trigger,$e,{isEnd:!0})}))}),Ue}function updateBaseRect(xe,$e,Ie,Fe){var Ue=Fe.brushStyle.lineWidth||0,qe=mathMax$1(Ue,MIN_RESIZE_LINE_WIDTH),At=Ie[0][0],Dt=Ie[1][0],Lt=At-Ue/2,jt=Dt-Ue/2,hn=Ie[0][1],vn=Ie[1][1],bn=hn-qe+Ue/2,_n=vn-qe+Ue/2,wn=hn-At,kn=vn-Dt,Cn=wn+Ue,Sn=kn+Ue;updateRectShape(xe,$e,"main",At,Dt,wn,kn),Fe.transformable&&(updateRectShape(xe,$e,"w",Lt,jt,qe,Sn),updateRectShape(xe,$e,"e",bn,jt,qe,Sn),updateRectShape(xe,$e,"n",Lt,jt,Cn,qe),updateRectShape(xe,$e,"s",Lt,_n,Cn,qe),updateRectShape(xe,$e,"nw",Lt,jt,qe,qe),updateRectShape(xe,$e,"ne",bn,jt,qe,qe),updateRectShape(xe,$e,"sw",Lt,_n,qe,qe),updateRectShape(xe,$e,"se",bn,_n,qe,qe))}function updateCommon$1(xe,$e){var Ie=$e.__brushOption,Fe=Ie.transformable,Ue=$e.childAt(0);Ue.useStyle(makeStyle(Ie)),Ue.attr({silent:!Fe,cursor:Fe?"move":"default"}),each$f([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(qe){var At=$e.childOfName(qe.join("")),Dt=qe.length===1?getGlobalDirection1(xe,qe[0]):getGlobalDirection2(xe,qe);At&&At.attr({silent:!Fe,invisible:!Fe,cursor:Fe?CURSOR_MAP[Dt]+"-resize":null})})}function updateRectShape(xe,$e,Ie,Fe,Ue,qe,At){var Dt=$e.childOfName(Ie);Dt&&Dt.setShape(pointsToRect(clipByPanel(xe,$e,[[Fe,Ue],[Fe+qe,Ue+At]])))}function makeStyle(xe){return defaults({strokeNoScale:!0},xe.brushStyle)}function formatRectRange(xe,$e,Ie,Fe){var Ue=[mathMin$1(xe,Ie),mathMin$1($e,Fe)],qe=[mathMax$1(xe,Ie),mathMax$1($e,Fe)];return[[Ue[0],qe[0]],[Ue[1],qe[1]]]}function getTransform(xe){return getTransform$1(xe.group)}function getGlobalDirection1(xe,$e){var Ie={w:"left",e:"right",n:"top",s:"bottom"},Fe={left:"w",right:"e",top:"n",bottom:"s"},Ue=transformDirection(Ie[$e],getTransform(xe));return Fe[Ue]}function getGlobalDirection2(xe,$e){var Ie=[getGlobalDirection1(xe,$e[0]),getGlobalDirection1(xe,$e[1])];return(Ie[0]==="e"||Ie[0]==="w")&&Ie.reverse(),Ie.join("")}function driftRect(xe,$e,Ie,Fe,Ue,qe){var At=Ie.__brushOption,Dt=xe.toRectRange(At.range),Lt=toLocalDelta($e,Ue,qe);each$f(Fe,function(jt){var hn=DIRECTION_MAP[jt];Dt[hn[0]][hn[1]]+=Lt[hn[0]]}),At.range=xe.fromRectRange(formatRectRange(Dt[0][0],Dt[1][0],Dt[0][1],Dt[1][1])),updateCoverAfterCreation($e,Ie),trigger($e,{isEnd:!1})}function driftPolygon(xe,$e,Ie,Fe){var Ue=$e.__brushOption.range,qe=toLocalDelta(xe,Ie,Fe);each$f(Ue,function(At){At[0]+=qe[0],At[1]+=qe[1]}),updateCoverAfterCreation(xe,$e),trigger(xe,{isEnd:!1})}function toLocalDelta(xe,$e,Ie){var Fe=xe.group,Ue=Fe.transformCoordToLocal($e,Ie),qe=Fe.transformCoordToLocal(0,0);return[Ue[0]-qe[0],Ue[1]-qe[1]]}function clipByPanel(xe,$e,Ie){var Fe=getPanelByCover(xe,$e);return Fe&&Fe!==BRUSH_PANEL_GLOBAL?Fe.clipPath(Ie,xe._transform):clone$4(Ie)}function pointsToRect(xe){var $e=mathMin$1(xe[0][0],xe[1][0]),Ie=mathMin$1(xe[0][1],xe[1][1]),Fe=mathMax$1(xe[0][0],xe[1][0]),Ue=mathMax$1(xe[0][1],xe[1][1]);return{x:$e,y:Ie,width:Fe-$e,height:Ue-Ie}}function resetCursor(xe,$e,Ie){if(!(!xe._brushType||isOutsideZrArea(xe,$e.offsetX,$e.offsetY))){var Fe=xe._zr,Ue=xe._covers,qe=getPanelByPoint(xe,$e,Ie);if(!xe._dragging)for(var At=0;AtFe.getWidth()||Ie<0||Ie>Fe.getHeight()}var coverRenderers={lineX:getLineRenderer(0),lineY:getLineRenderer(1),rect:{createCover:function(xe,$e){function Ie(Fe){return Fe}return createBaseRectCover({toRectRange:Ie,fromRectRange:Ie},xe,$e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(xe){var $e=getTrackEnds(xe);return formatRectRange($e[1][0],$e[1][1],$e[0][0],$e[0][1])},updateCoverShape:function(xe,$e,Ie,Fe){updateBaseRect(xe,$e,Ie,Fe)},updateCommon:updateCommon$1,contain:mainShapeContain},polygon:{createCover:function(xe,$e){var Ie=new Group$3;return Ie.add(new Polyline$1({name:"main",style:makeStyle($e),silent:!0})),Ie},getCreatingRange:function(xe){return xe},endCreating:function(xe,$e){$e.remove($e.childAt(0)),$e.add(new Polygon({name:"main",draggable:!0,drift:curry$1(driftPolygon,xe,$e),ondragend:curry$1(trigger,xe,{isEnd:!0})}))},updateCoverShape:function(xe,$e,Ie,Fe){$e.childAt(0).setShape({points:clipByPanel(xe,$e,Ie)})},updateCommon:updateCommon$1,contain:mainShapeContain}};function getLineRenderer(xe){return{createCover:function($e,Ie){return createBaseRectCover({toRectRange:function(Fe){var Ue=[Fe,[0,100]];return xe&&Ue.reverse(),Ue},fromRectRange:function(Fe){return Fe[xe]}},$e,Ie,[[["w"],["e"]],[["n"],["s"]]][xe])},getCreatingRange:function($e){var Ie=getTrackEnds($e),Fe=mathMin$1(Ie[0][xe],Ie[1][xe]),Ue=mathMax$1(Ie[0][xe],Ie[1][xe]);return[Fe,Ue]},updateCoverShape:function($e,Ie,Fe,Ue){var qe,At=getPanelByCover($e,Ie);if(At!==BRUSH_PANEL_GLOBAL&&At.getLinearBrushOtherExtent)qe=At.getLinearBrushOtherExtent(xe);else{var Dt=$e._zr;qe=[0,[Dt.getWidth(),Dt.getHeight()][1-xe]]}var Lt=[Fe,qe];xe&&Lt.reverse(),updateBaseRect($e,Ie,Lt,Ue)},updateCommon:updateCommon$1,contain:mainShapeContain}}function makeRectPanelClipPath(xe){return xe=normalizeRect(xe),function($e){return clipPointsByRect($e,xe)}}function makeLinearBrushOtherExtent(xe,$e){return xe=normalizeRect(xe),function(Ie){var Fe=$e??Ie,Ue=Fe?xe.width:xe.height,qe=Fe?xe.x:xe.y;return[qe,qe+(Ue||0)]}}function makeRectIsTargetByCursor(xe,$e,Ie){var Fe=normalizeRect(xe);return function(Ue,qe){return Fe.contain(qe[0],qe[1])&&!onIrrelevantElement(Ue,$e,Ie)}}function normalizeRect(xe){return BoundingRect.create(xe)}var elementList$1=["axisLine","axisTickLabel","axisName"],ParallelAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){xe.prototype.init.apply(this,arguments),(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$1(this._onBrush,this))},$e.prototype.render=function(Ie,Fe,Ue,qe){if(!fromAxisAreaSelect(Ie,Fe,qe)){this.axisModel=Ie,this.api=Ue,this.group.removeAll();var At=this._axisGroup;if(this._axisGroup=new Group$3,this.group.add(this._axisGroup),!!Ie.get("show")){var Dt=getCoordSysModel(Ie,Fe),Lt=Dt.coordinateSystem,jt=Ie.getAreaSelectStyle(),hn=jt.width,vn=Ie.axis.dim,bn=Lt.getAxisLayout(vn),_n=extend({strokeContainThreshold:hn},bn),wn=new AxisBuilder(Ie,_n);each$f(elementList$1,wn.add,wn),this._axisGroup.add(wn.getGroup()),this._refreshBrushController(_n,jt,Ie,Dt,hn,Ue),groupTransition(At,this._axisGroup,Ie)}}},$e.prototype._refreshBrushController=function(Ie,Fe,Ue,qe,At,Dt){var Lt=Ue.axis.getExtent(),jt=Lt[1]-Lt[0],hn=Math.min(30,Math.abs(jt)*.1),vn=BoundingRect.create({x:Lt[0],y:-At/2,width:jt,height:At});vn.x-=hn,vn.width+=2*hn,this._brushController.mount({enableGlobalPan:!0,rotation:Ie.rotation,x:Ie.position[0],y:Ie.position[1]}).setPanels([{panelId:"pl",clipPath:makeRectPanelClipPath(vn),isTargetByCursor:makeRectIsTargetByCursor(vn,Dt,qe),getLinearBrushOtherExtent:makeLinearBrushOtherExtent(vn,0)}]).enableBrush({brushType:"lineX",brushStyle:Fe,removeOnClick:!0}).updateCovers(getCoverInfoList(Ue))},$e.prototype._onBrush=function(Ie){var Fe=Ie.areas,Ue=this.axisModel,qe=Ue.axis,At=map$1(Fe,function(Dt){return[qe.coordToData(Dt.range[0],!0),qe.coordToData(Dt.range[1],!0)]});(!Ue.option.realtime===Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:Ue.id,intervals:At})},$e.prototype.dispose=function(){this._brushController.dispose()},$e.type="parallelAxis",$e}(ComponentView);function fromAxisAreaSelect(xe,$e,Ie){return Ie&&Ie.type==="axisAreaSelect"&&$e.findComponents({mainType:"parallelAxis",query:Ie})[0]===xe}function getCoverInfoList(xe){var $e=xe.axis;return map$1(xe.activeIntervals,function(Ie){return{brushType:"lineX",panelId:"pl",range:[$e.dataToCoord(Ie[0],!0),$e.dataToCoord(Ie[1],!0)]}})}function getCoordSysModel(xe,$e){return $e.getComponent("parallel",xe.get("parallelIndex"))}var actionInfo={type:"axisAreaSelect",event:"axisAreaSelected"};function installParallelActions(xe){xe.registerAction(actionInfo,function($e,Ie){Ie.eachComponent({mainType:"parallelAxis",query:$e},function(Fe){Fe.axis.model.setActiveIntervals($e.intervals)})}),xe.registerAction("parallelAxisExpand",function($e,Ie){Ie.eachComponent({mainType:"parallel",query:$e},function(Fe){Fe.setAxisExpand($e)})})}var defaultAxisOption={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function install$D(xe){xe.registerComponentView(ParallelView),xe.registerComponentModel(ParallelModel),xe.registerCoordinateSystem("parallel",parallelCoordSysCreator),xe.registerPreprocessor(parallelPreprocessor),xe.registerComponentModel(ParallelAxisModel),xe.registerComponentView(ParallelAxisView),axisModelCreator(xe,"parallel",ParallelAxisModel,defaultAxisOption),installParallelActions(xe)}function install$C(xe){use(install$D),xe.registerChartView(ParallelView$1),xe.registerSeriesModel(ParallelSeriesModel),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,parallelVisual)}var SankeyPathShape=function(){function xe(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return xe}(),SankeyPath=function(xe){__extends($e,xe);function $e(Ie){return xe.call(this,Ie)||this}return $e.prototype.getDefaultShape=function(){return new SankeyPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.extent;Ie.moveTo(Fe.x1,Fe.y1),Ie.bezierCurveTo(Fe.cpx1,Fe.cpy1,Fe.cpx2,Fe.cpy2,Fe.x2,Fe.y2),Fe.orient==="vertical"?(Ie.lineTo(Fe.x2+Ue,Fe.y2),Ie.bezierCurveTo(Fe.cpx2+Ue,Fe.cpy2,Fe.cpx1+Ue,Fe.cpy1,Fe.x1+Ue,Fe.y1)):(Ie.lineTo(Fe.x2,Fe.y2+Ue),Ie.bezierCurveTo(Fe.cpx2,Fe.cpy2+Ue,Fe.cpx1,Fe.cpy1+Ue,Fe.x1,Fe.y1+Ue)),Ie.closePath()},$e.prototype.highlight=function(){enterEmphasis(this)},$e.prototype.downplay=function(){leaveEmphasis(this)},$e}(Path),SankeyView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._focusAdjacencyDisabled=!1,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=Ie.getGraph(),Dt=this.group,Lt=Ie.layoutInfo,jt=Lt.width,hn=Lt.height,vn=Ie.getData(),bn=Ie.getData("edge"),_n=Ie.get("orient");this._model=Ie,Dt.removeAll(),Dt.x=Lt.x,Dt.y=Lt.y,At.eachEdge(function(wn){var kn=new SankeyPath,Cn=getECData(kn);Cn.dataIndex=wn.dataIndex,Cn.seriesIndex=Ie.seriesIndex,Cn.dataType="edge";var Sn=wn.getModel(),xn=Sn.getModel("lineStyle"),En=xn.get("curveness"),Tn=wn.node1.getLayout(),An=wn.node1.getModel(),$n=An.get("localX"),Pn=An.get("localY"),Nn=wn.node2.getLayout(),Mn=wn.node2.getModel(),In=Mn.get("localX"),On=Mn.get("localY"),Rn=wn.getLayout(),Bn,Vn,Ln,Dn,Hn,Fn,zn,jn;kn.shape.extent=Math.max(1,Rn.dy),kn.shape.orient=_n,_n==="vertical"?(Bn=($n!=null?$n*jt:Tn.x)+Rn.sy,Vn=(Pn!=null?Pn*hn:Tn.y)+Tn.dy,Ln=(In!=null?In*jt:Nn.x)+Rn.ty,Dn=On!=null?On*hn:Nn.y,Hn=Bn,Fn=Vn*(1-En)+Dn*En,zn=Ln,jn=Vn*En+Dn*(1-En)):(Bn=($n!=null?$n*jt:Tn.x)+Tn.dx,Vn=(Pn!=null?Pn*hn:Tn.y)+Rn.sy,Ln=In!=null?In*jt:Nn.x,Dn=(On!=null?On*hn:Nn.y)+Rn.ty,Hn=Bn*(1-En)+Ln*En,Fn=Vn,zn=Bn*En+Ln*(1-En),jn=Dn),kn.setShape({x1:Bn,y1:Vn,x2:Ln,y2:Dn,cpx1:Hn,cpy1:Fn,cpx2:zn,cpy2:jn}),kn.useStyle(xn.getItemStyle()),applyCurveStyle(kn.style,_n,wn);var Gn=""+Sn.get("value"),Wn=getLabelStatesModels(Sn,"edgeLabel");setLabelStyle(kn,Wn,{labelFetcher:{getFormattedLabel:function(rr,Jn,qn,Yn,ar,tr){return Ie.getFormattedLabel(rr,Jn,"edge",Yn,retrieve3(ar,Wn.normal&&Wn.normal.get("formatter"),Gn),tr)}},labelDataIndex:wn.dataIndex,defaultText:Gn}),kn.setTextConfig({position:"inside"});var Xn=Sn.getModel("emphasis");setStatesStylesFromModel(kn,Sn,"lineStyle",function(rr){var Jn=rr.getItemStyle();return applyCurveStyle(Jn,_n,wn),Jn}),Dt.add(kn),bn.setItemGraphicEl(wn.dataIndex,kn);var er=Xn.get("focus");toggleHoverEmphasis(kn,er==="adjacency"?wn.getAdjacentDataIndices():er==="trajectory"?wn.getTrajectoryDataIndices():er,Xn.get("blurScope"),Xn.get("disabled"))}),At.eachNode(function(wn){var kn=wn.getLayout(),Cn=wn.getModel(),Sn=Cn.get("localX"),xn=Cn.get("localY"),En=Cn.getModel("emphasis"),Tn=new Rect$2({shape:{x:Sn!=null?Sn*jt:kn.x,y:xn!=null?xn*hn:kn.y,width:kn.dx,height:kn.dy},style:Cn.getModel("itemStyle").getItemStyle(),z2:10});setLabelStyle(Tn,getLabelStatesModels(Cn),{labelFetcher:{getFormattedLabel:function($n,Pn){return Ie.getFormattedLabel($n,Pn,"node")}},labelDataIndex:wn.dataIndex,defaultText:wn.id}),Tn.disableLabelAnimation=!0,Tn.setStyle("fill",wn.getVisual("color")),Tn.setStyle("decal",wn.getVisual("style").decal),setStatesStylesFromModel(Tn,Cn),Dt.add(Tn),vn.setItemGraphicEl(wn.dataIndex,Tn),getECData(Tn).dataType="node";var An=En.get("focus");toggleHoverEmphasis(Tn,An==="adjacency"?wn.getAdjacentDataIndices():An==="trajectory"?wn.getTrajectoryDataIndices():An,En.get("blurScope"),En.get("disabled"))}),vn.eachItemGraphicEl(function(wn,kn){var Cn=vn.getItemModel(kn);Cn.get("draggable")&&(wn.drift=function(Sn,xn){qe._focusAdjacencyDisabled=!0,this.shape.x+=Sn,this.shape.y+=xn,this.dirty(),Ue.dispatchAction({type:"dragNode",seriesId:Ie.id,dataIndex:vn.getRawIndex(kn),localX:this.shape.x/jt,localY:this.shape.y/hn})},wn.ondragend=function(){qe._focusAdjacencyDisabled=!1},wn.draggable=!0,wn.cursor="move")}),!this._data&&Ie.isAnimationEnabled()&&Dt.setClipPath(createGridClipShape$1(Dt.getBoundingRect(),Ie,function(){Dt.removeClipPath()})),this._data=Ie.getData()},$e.prototype.dispose=function(){},$e.type="sankey",$e}(ChartView);function applyCurveStyle(xe,$e,Ie){switch(xe.fill){case"source":xe.fill=Ie.node1.getVisual("color"),xe.decal=Ie.node1.getVisual("style").decal;break;case"target":xe.fill=Ie.node2.getVisual("color"),xe.decal=Ie.node2.getVisual("style").decal;break;case"gradient":var Fe=Ie.node1.getVisual("color"),Ue=Ie.node2.getVisual("color");isString(Fe)&&isString(Ue)&&(xe.fill=new LinearGradient(0,0,+($e==="horizontal"),+($e==="vertical"),[{color:Fe,offset:0},{color:Ue,offset:1}]))}}function createGridClipShape$1(xe,$e,Ie){var Fe=new Rect$2({shape:{x:xe.x-10,y:xe.y-10,width:0,height:xe.height+20}});return initProps(Fe,{shape:{width:xe.width+20}},$e,Ie),Fe}var SankeySeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue=Ie.edges||Ie.links,qe=Ie.data||Ie.nodes,At=Ie.levels;this.levelModels=[];for(var Dt=this.levelModels,Lt=0;Lt=0&&(Dt[At[Lt].depth]=new Model(At[Lt],this,Fe));if(qe&&Ue){var jt=createGraphFromNodeEdge(qe,Ue,this,!0,hn);return jt.data}function hn(vn,bn){vn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getData().getItemLayout(wn);if(Cn){var Sn=Cn.depth,xn=kn.levelModels[Sn];xn&&(_n.parentModel=xn)}return _n}),bn.wrapMethod("getItemModel",function(_n,wn){var kn=_n.parentModel,Cn=kn.getGraph().getEdgeByIndex(wn),Sn=Cn.node1.getLayout();if(Sn){var xn=Sn.depth,En=kn.levelModels[xn];En&&(_n.parentModel=En)}return _n})}},$e.prototype.setNodePosition=function(Ie,Fe){var Ue=this.option.data||this.option.nodes,qe=Ue[Ie];qe.localX=Fe[0],qe.localY=Fe[1]},$e.prototype.getGraph=function(){return this.getData().graph},$e.prototype.getEdgeData=function(){return this.getGraph().edgeData},$e.prototype.formatTooltip=function(Ie,Fe,Ue){function qe(_n){return isNaN(_n)||_n==null}if(Ue==="edge"){var At=this.getDataParams(Ie,Ue),Dt=At.data,Lt=At.value,jt=Dt.source+" -- "+Dt.target;return createTooltipMarkup("nameValue",{name:jt,value:Lt,noValue:qe(Lt)})}else{var hn=this.getGraph().getNodeByIndex(Ie),vn=hn.getLayout().value,bn=this.getDataParams(Ie,Ue).data.name;return createTooltipMarkup("nameValue",{name:bn!=null?bn+"":null,value:vn,noValue:qe(vn)})}},$e.prototype.optionUpdated=function(){},$e.prototype.getDataParams=function(Ie,Fe){var Ue=xe.prototype.getDataParams.call(this,Ie,Fe);if(Ue.value==null&&Fe==="node"){var qe=this.getGraph().getNodeByIndex(Ie),At=qe.getLayout().value;Ue.value=At}return Ue},$e.type="series.sankey",$e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},$e}(SeriesModel);function sankeyLayout(xe,$e){xe.eachSeriesByType("sankey",function(Ie){var Fe=Ie.get("nodeWidth"),Ue=Ie.get("nodeGap"),qe=getViewRect$1(Ie,$e);Ie.layoutInfo=qe;var At=qe.width,Dt=qe.height,Lt=Ie.getGraph(),jt=Lt.nodes,hn=Lt.edges;computeNodeValues(jt);var vn=filter(jt,function(kn){return kn.getLayout().value===0}),bn=vn.length!==0?0:Ie.get("layoutIterations"),_n=Ie.get("orient"),wn=Ie.get("nodeAlign");layoutSankey(jt,hn,Fe,Ue,At,Dt,bn,_n,wn)})}function getViewRect$1(xe,$e){return getLayoutRect(xe.getBoxLayoutParams(),{width:$e.getWidth(),height:$e.getHeight()})}function layoutSankey(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){computeNodeBreadths(xe,$e,Ie,Ue,qe,Dt,Lt),computeNodeDepths(xe,$e,qe,Ue,Fe,At,Dt),computeEdgeDepths(xe,Dt)}function computeNodeValues(xe){each$f(xe,function($e){var Ie=sum($e.outEdges,getEdgeValue),Fe=sum($e.inEdges,getEdgeValue),Ue=$e.getValue()||0,qe=Math.max(Ie,Fe,Ue);$e.setLayout({value:qe},!0)})}function computeNodeBreadths(xe,$e,Ie,Fe,Ue,qe,At){for(var Dt=[],Lt=[],jt=[],hn=[],vn=0,bn=0;bn<$e.length;bn++)Dt[bn]=1;for(var bn=0;bn=0;Sn&&Cn.depth>_n&&(_n=Cn.depth),kn.setLayout({depth:Sn?Cn.depth:vn},!0),qe==="vertical"?kn.setLayout({dy:Ie},!0):kn.setLayout({dx:Ie},!0);for(var xn=0;xnvn-1?_n:vn-1;At&&At!=="left"&&adjustNodeWithNodeAlign(xe,At,qe,Pn);var Nn=qe==="vertical"?(Ue-Ie)/Pn:(Fe-Ie)/Pn;scaleNodeBreadths(xe,Nn,qe)}function isNodeDepth(xe){var $e=xe.hostGraph.data.getRawDataItem(xe.dataIndex);return $e.depth!=null&&$e.depth>=0}function adjustNodeWithNodeAlign(xe,$e,Ie,Fe){if($e==="right"){for(var Ue=[],qe=xe,At=0;qe.length;){for(var Dt=0;Dt0;qe--)Lt*=.99,relaxRightToLeft(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At),relaxLeftToRight(Dt,Lt,At),resolveCollisions(Dt,Ue,Ie,Fe,At)}function prepareNodesByBreadth(xe,$e){var Ie=[],Fe=$e==="vertical"?"y":"x",Ue=groupData(xe,function(qe){return qe.getLayout()[Fe]});return Ue.keys.sort(function(qe,At){return qe-At}),each$f(Ue.keys,function(qe){Ie.push(Ue.buckets.get(qe))}),Ie}function initializeNodeDepth(xe,$e,Ie,Fe,Ue,qe){var At=1/0;each$f(xe,function(Dt){var Lt=Dt.length,jt=0;each$f(Dt,function(vn){jt+=vn.getLayout().value});var hn=qe==="vertical"?(Fe-(Lt-1)*Ue)/jt:(Ie-(Lt-1)*Ue)/jt;hn0&&(Dt=Lt.getLayout()[qe]+jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e;var wn=Ue==="vertical"?Fe:Ie;if(jt=hn-$e-wn,jt>0){Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0),hn=Dt;for(var _n=vn-2;_n>=0;--_n)Lt=At[_n],jt=Lt.getLayout()[qe]+Lt.getLayout()[bn]+$e-hn,jt>0&&(Dt=Lt.getLayout()[qe]-jt,Ue==="vertical"?Lt.setLayout({x:Dt},!0):Lt.setLayout({y:Dt},!0)),hn=Lt.getLayout()[qe]}})}function relaxRightToLeft(xe,$e,Ie){each$f(xe.slice().reverse(),function(Fe){each$f(Fe,function(Ue){if(Ue.outEdges.length){var qe=sum(Ue.outEdges,weightedTarget,Ie)/sum(Ue.outEdges,getEdgeValue);if(isNaN(qe)){var At=Ue.outEdges.length;qe=At?sum(Ue.outEdges,centerTarget,Ie)/At:0}if(Ie==="vertical"){var Dt=Ue.getLayout().x+(qe-center(Ue,Ie))*$e;Ue.setLayout({x:Dt},!0)}else{var Lt=Ue.getLayout().y+(qe-center(Ue,Ie))*$e;Ue.setLayout({y:Lt},!0)}}})})}function weightedTarget(xe,$e){return center(xe.node2,$e)*xe.getValue()}function centerTarget(xe,$e){return center(xe.node2,$e)}function weightedSource(xe,$e){return center(xe.node1,$e)*xe.getValue()}function centerSource(xe,$e){return center(xe.node1,$e)}function center(xe,$e){return $e==="vertical"?xe.getLayout().x+xe.getLayout().dx/2:xe.getLayout().y+xe.getLayout().dy/2}function getEdgeValue(xe){return xe.getValue()}function sum(xe,$e,Ie){for(var Fe=0,Ue=xe.length,qe=-1;++qeAt&&(At=Lt)}),each$f(Fe,function(Dt){var Lt=new VisualMapping({type:"color",mappingMethod:"linear",dataExtent:[qe,At],visual:$e.get("color")}),jt=Lt.mapValueToVisual(Dt.getLayout().value),hn=Dt.getModel().get(["itemStyle","color"]);hn!=null?(Dt.setVisual("color",hn),Dt.setVisual("style",{fill:hn})):(Dt.setVisual("color",jt),Dt.setVisual("style",{fill:jt}))})}Ue.length&&each$f(Ue,function(Dt){var Lt=Dt.getModel().get("lineStyle");Dt.setVisual("style",Lt)})})}function install$B(xe){xe.registerChartView(SankeyView),xe.registerSeriesModel(SankeySeriesModel),xe.registerLayout(sankeyLayout),xe.registerVisual(sankeyVisual),xe.registerAction({type:"dragNode",event:"dragnode",update:"update"},function($e,Ie){Ie.eachComponent({mainType:"series",subType:"sankey",query:$e},function(Fe){Fe.setNodePosition($e.dataIndex,[$e.localX,$e.localY])})})}var WhiskerBoxCommonMixin=function(){function xe(){}return xe.prototype.getInitialData=function($e,Ie){var Fe,Ue=Ie.getComponent("xAxis",this.get("xAxisIndex")),qe=Ie.getComponent("yAxis",this.get("yAxisIndex")),At=Ue.get("type"),Dt=qe.get("type"),Lt;At==="category"?($e.layout="horizontal",Fe=Ue.getOrdinalMeta(),Lt=!0):Dt==="category"?($e.layout="vertical",Fe=qe.getOrdinalMeta(),Lt=!0):$e.layout=$e.layout||"horizontal";var jt=["x","y"],hn=$e.layout==="horizontal"?0:1,vn=this._baseAxisDim=jt[hn],bn=jt[1-hn],_n=[Ue,qe],wn=_n[hn].get("type"),kn=_n[1-hn].get("type"),Cn=$e.data;if(Cn&&Lt){var Sn=[];each$f(Cn,function(Tn,An){var $n;isArray$1(Tn)?($n=Tn.slice(),Tn.unshift(An)):isArray$1(Tn.value)?($n=extend({},Tn),$n.value=$n.value.slice(),Tn.value.unshift(An)):$n=Tn,Sn.push($n)}),$e.data=Sn}var xn=this.defaultValueDimensions,En=[{name:vn,type:getDimensionTypeByAxis(wn),ordinalMeta:Fe,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:bn,type:getDimensionTypeByAxis(kn),dimsDef:xn.slice()}];return createSeriesDataSimply(this,{coordDimensions:En,dimensionsCount:xn.length+1,encodeDefaulter:curry$1(makeSeriesEncodeForAxisCoordSys,En,this)})},xe.prototype.getBaseAxis=function(){var $e=this._baseAxisDim;return this.ecModel.getComponent($e+"Axis",this.get($e+"AxisIndex")).axis},xe}(),BoxplotSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],Ie.visualDrawType="stroke",Ie}return $e.type="series.boxplot",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},$e}(SeriesModel);mixin(BoxplotSeriesModel,WhiskerBoxCommonMixin,!0);var BoxplotView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this.group,Dt=this._data;this._data||At.removeAll();var Lt=Ie.get("layout")==="horizontal"?1:0;qe.diff(Dt).add(function(jt){if(qe.hasValue(jt)){var hn=qe.getItemLayout(jt),vn=createNormalBox$1(hn,qe,jt,Lt,!0);qe.setItemGraphicEl(jt,vn),At.add(vn)}}).update(function(jt,hn){var vn=Dt.getItemGraphicEl(hn);if(!qe.hasValue(jt)){At.remove(vn);return}var bn=qe.getItemLayout(jt);vn?(saveOldStyle(vn),updateNormalBoxData(bn,vn,qe,jt)):vn=createNormalBox$1(bn,qe,jt,Lt),At.add(vn),qe.setItemGraphicEl(jt,vn)}).remove(function(jt){var hn=Dt.getItemGraphicEl(jt);hn&&At.remove(hn)}).execute(),this._data=qe},$e.prototype.remove=function(Ie){var Fe=this.group,Ue=this._data;this._data=null,Ue&&Ue.eachItemGraphicEl(function(qe){qe&&Fe.remove(qe)})},$e.type="boxplot",$e}(ChartView),BoxPathShape=function(){function xe(){}return xe}(),BoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="boxplotBoxPath",Fe}return $e.prototype.getDefaultShape=function(){return new BoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points,qe=0;for(Ie.moveTo(Ue[qe][0],Ue[qe][1]),qe++;qe<4;qe++)Ie.lineTo(Ue[qe][0],Ue[qe][1]);for(Ie.closePath();qekn){var Tn=[Sn,En];Fe.push(Tn)}}}return{boxData:Ie,outliers:Fe}}var boxplotTransform={type:"echarts:boxplot",transform:function xe($e){var Ie=$e.upstream;if(Ie.sourceFormat!==SOURCE_FORMAT_ARRAY_ROWS){var Fe="";throwError(Fe)}var Ue=prepareBoxplotData(Ie.getRawData(),$e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:Ue.boxData},{data:Ue.outliers}]}};function install$A(xe){xe.registerSeriesModel(BoxplotSeriesModel),xe.registerChartView(BoxplotView),xe.registerLayout(boxplotLayout),xe.registerTransform(boxplotTransform)}var SKIP_PROPS=["color","borderColor"],CandlestickView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(Ie),this._isLargeDraw?this._renderLarge(Ie):this._renderNormal(Ie)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this._clear(),this._updateDrawMode(Ie)},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(Ie,Fe):this._incrementalRenderNormal(Ie,Fe)},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._updateDrawMode=function(Ie){var Fe=Ie.pipelineContext.large;(this._isLargeDraw==null||Fe!==this._isLargeDraw)&&(this._isLargeDraw=Fe,this._clear())},$e.prototype._renderNormal=function(Ie){var Fe=Ie.getData(),Ue=this._data,qe=this.group,At=Fe.getLayout("isSimpleBox"),Dt=Ie.get("clip",!0),Lt=Ie.coordinateSystem,jt=Lt.getArea&&Lt.getArea();this._data||qe.removeAll(),Fe.diff(Ue).add(function(hn){if(Fe.hasValue(hn)){var vn=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,vn))return;var bn=createNormalBox(vn,hn,!0);initProps(bn,{shape:{points:vn.ends}},Ie,hn),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}}).update(function(hn,vn){var bn=Ue.getItemGraphicEl(vn);if(!Fe.hasValue(hn)){qe.remove(bn);return}var _n=Fe.getItemLayout(hn);if(Dt&&isNormalBoxClipped(jt,_n)){qe.remove(bn);return}bn?(updateProps$1(bn,{shape:{points:_n.ends}},Ie,hn),saveOldStyle(bn)):bn=createNormalBox(_n),setBoxCommon(bn,Fe,hn,At),qe.add(bn),Fe.setItemGraphicEl(hn,bn)}).remove(function(hn){var vn=Ue.getItemGraphicEl(hn);vn&&qe.remove(vn)}).execute(),this._data=Fe},$e.prototype._renderLarge=function(Ie){this._clear(),createLarge(Ie,this.group);var Fe=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;Fe?this.group.setClipPath(Fe):this.group.removeClipPath()},$e.prototype._incrementalRenderNormal=function(Ie,Fe){for(var Ue=Fe.getData(),qe=Ue.getLayout("isSimpleBox"),At;(At=Ie.next())!=null;){var Dt=Ue.getItemLayout(At),Lt=createNormalBox(Dt);setBoxCommon(Lt,Ue,At,qe),Lt.incremental=!0,this.group.add(Lt),this._progressiveEls.push(Lt)}},$e.prototype._incrementalRenderLarge=function(Ie,Fe){createLarge(Fe,this.group,this._progressiveEls,!0)},$e.prototype.remove=function(Ie){this._clear()},$e.prototype._clear=function(){this.group.removeAll(),this._data=null},$e.type="candlestick",$e}(ChartView),NormalBoxPathShape=function(){function xe(){}return xe}(),NormalBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="normalCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new NormalBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.points;this.__simpleBox?(Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[6][0],Ue[6][1])):(Ie.moveTo(Ue[0][0],Ue[0][1]),Ie.lineTo(Ue[1][0],Ue[1][1]),Ie.lineTo(Ue[2][0],Ue[2][1]),Ie.lineTo(Ue[3][0],Ue[3][1]),Ie.closePath(),Ie.moveTo(Ue[4][0],Ue[4][1]),Ie.lineTo(Ue[5][0],Ue[5][1]),Ie.moveTo(Ue[6][0],Ue[6][1]),Ie.lineTo(Ue[7][0],Ue[7][1]))},$e}(Path);function createNormalBox(xe,$e,Ie){var Fe=xe.ends;return new NormalBoxPath({shape:{points:Ie?transInit(Fe,xe):Fe},z2:100})}function isNormalBoxClipped(xe,$e){for(var Ie=!0,Fe=0;Fe<$e.ends.length;Fe++)if(xe.contain($e.ends[Fe][0],$e.ends[Fe][1])){Ie=!1;break}return Ie}function setBoxCommon(xe,$e,Ie,Fe){var Ue=$e.getItemModel(Ie);xe.useStyle($e.getItemVisual(Ie,"style")),xe.style.strokeNoScale=!0,xe.__simpleBox=Fe,setStatesStylesFromModel(xe,Ue)}function transInit(xe,$e){return map$1(xe,function(Ie){return Ie=Ie.slice(),Ie[1]=$e.initBaseline,Ie})}var LargeBoxPathShape=function(){function xe(){}return xe}(),LargeBoxPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe.type="largeCandlestickBox",Fe}return $e.prototype.getDefaultShape=function(){return new LargeBoxPathShape},$e.prototype.buildPath=function(Ie,Fe){for(var Ue=Fe.points,qe=0;qe0?"borderColor":"borderColor0"])||Ie.get(["itemStyle",xe>0?"color":"color0"]);xe===0&&(Ue=Ie.get(["itemStyle","borderColorDoji"]));var qe=Ie.getModel("itemStyle").getItemStyle(SKIP_PROPS);$e.useStyle(qe),$e.style.fill=null,$e.style.stroke=Ue}var CandlestickSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],Ie}return $e.prototype.getShadowDim=function(){return"open"},$e.prototype.brushSelector=function(Ie,Fe,Ue){var qe=Fe.getItemLayout(Ie);return qe&&Ue.rect(qe.brushRect)},$e.type="series.candlestick",$e.dependencies=["xAxis","yAxis","grid"],$e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},$e}(SeriesModel);mixin(CandlestickSeriesModel,WhiskerBoxCommonMixin,!0);function candlestickPreprocessor(xe){!xe||!isArray$1(xe.series)||each$f(xe.series,function($e){isObject$3($e)&&$e.type==="k"&&($e.type="candlestick")})}var positiveBorderColorQuery=["itemStyle","borderColor"],negativeBorderColorQuery=["itemStyle","borderColor0"],dojiBorderColorQuery=["itemStyle","borderColorDoji"],positiveColorQuery=["itemStyle","color"],negativeColorQuery=["itemStyle","color0"],candlestickVisual={seriesType:"candlestick",plan:createRenderPlanner(),performRawSeries:!0,reset:function(xe,$e){function Ie(qe,At){return At.get(qe>0?positiveColorQuery:negativeColorQuery)}function Fe(qe,At){return At.get(qe===0?dojiBorderColorQuery:qe>0?positiveBorderColorQuery:negativeBorderColorQuery)}if(!$e.isSeriesFiltered(xe)){var Ue=xe.pipelineContext.large;return!Ue&&{progress:function(qe,At){for(var Dt;(Dt=qe.next())!=null;){var Lt=At.getItemModel(Dt),jt=At.getItemLayout(Dt).sign,hn=Lt.getItemStyle();hn.fill=Ie(jt,Lt),hn.stroke=Fe(jt,Lt)||hn.fill;var vn=At.ensureUniqueItemVisual(Dt,"style");extend(vn,hn)}}}}}},candlestickLayout={seriesType:"candlestick",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem,Ie=xe.getData(),Fe=calculateCandleWidth(xe,Ie),Ue=0,qe=1,At=["x","y"],Dt=Ie.getDimensionIndex(Ie.mapDimension(At[Ue])),Lt=map$1(Ie.mapDimensionsAll(At[qe]),Ie.getDimensionIndex,Ie),jt=Lt[0],hn=Lt[1],vn=Lt[2],bn=Lt[3];if(Ie.setLayout({candleWidth:Fe,isSimpleBox:Fe<=1.3}),Dt<0||Lt.length<4)return;return{progress:xe.pipelineContext.large?wn:_n};function _n(kn,Cn){for(var Sn,xn=Cn.getStore();(Sn=kn.next())!=null;){var En=xn.get(Dt,Sn),Tn=xn.get(jt,Sn),An=xn.get(hn,Sn),$n=xn.get(vn,Sn),Pn=xn.get(bn,Sn),Nn=Math.min(Tn,An),Mn=Math.max(Tn,An),In=Hn(Nn,En),On=Hn(Mn,En),Rn=Hn($n,En),Bn=Hn(Pn,En),Vn=[];Fn(Vn,On,0),Fn(Vn,In,1),Vn.push(jn(Bn),jn(On),jn(Rn),jn(In));var Ln=Cn.getItemModel(Sn),Dn=!!Ln.get(["itemStyle","borderColorDoji"]);Cn.setItemLayout(Sn,{sign:getSign(xn,Sn,Tn,An,hn,Dn),initBaseline:Tn>An?On[qe]:In[qe],ends:Vn,brushRect:zn($n,Pn,En)})}function Hn(Gn,Wn){var Xn=[];return Xn[Ue]=Wn,Xn[qe]=Gn,isNaN(Wn)||isNaN(Gn)?[NaN,NaN]:$e.dataToPoint(Xn)}function Fn(Gn,Wn,Xn){var er=Wn.slice(),rr=Wn.slice();er[Ue]=subPixelOptimize(er[Ue]+Fe/2,1,!1),rr[Ue]=subPixelOptimize(rr[Ue]-Fe/2,1,!0),Xn?Gn.push(er,rr):Gn.push(rr,er)}function zn(Gn,Wn,Xn){var er=Hn(Gn,Xn),rr=Hn(Wn,Xn);return er[Ue]-=Fe/2,rr[Ue]-=Fe/2,{x:er[0],y:er[1],width:Fe,height:rr[1]-er[1]}}function jn(Gn){return Gn[Ue]=subPixelOptimize(Gn[Ue],1),Gn}}function wn(kn,Cn){for(var Sn=createFloat32Array(kn.count*4),xn=0,En,Tn=[],An=[],$n,Pn=Cn.getStore(),Nn=!!xe.get(["itemStyle","borderColorDoji"]);($n=kn.next())!=null;){var Mn=Pn.get(Dt,$n),In=Pn.get(jt,$n),On=Pn.get(hn,$n),Rn=Pn.get(vn,$n),Bn=Pn.get(bn,$n);if(isNaN(Mn)||isNaN(Rn)||isNaN(Bn)){Sn[xn++]=NaN,xn+=3;continue}Sn[xn++]=getSign(Pn,$n,In,On,hn,Nn),Tn[Ue]=Mn,Tn[qe]=Rn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[0]:NaN,Sn[xn++]=En?En[1]:NaN,Tn[qe]=Bn,En=$e.dataToPoint(Tn,null,An),Sn[xn++]=En?En[1]:NaN}Cn.setLayout("largePoints",Sn)}}};function getSign(xe,$e,Ie,Fe,Ue,qe){var At;return Ie>Fe?At=-1:Ie0?xe.get(Ue,$e-1)<=Fe?1:-1:1,At}function calculateCandleWidth(xe,$e){var Ie=xe.getBaseAxis(),Fe,Ue=Ie.type==="category"?Ie.getBandWidth():(Fe=Ie.getExtent(),Math.abs(Fe[1]-Fe[0])/$e.count()),qe=parsePercent(retrieve2(xe.get("barMaxWidth"),Ue),Ue),At=parsePercent(retrieve2(xe.get("barMinWidth"),1),Ue),Dt=xe.get("barWidth");return Dt!=null?parsePercent(Dt,Ue):Math.max(Math.min(Ue/2,qe),At)}function install$z(xe){xe.registerChartView(CandlestickView),xe.registerSeriesModel(CandlestickSeriesModel),xe.registerPreprocessor(candlestickPreprocessor),xe.registerVisual(candlestickVisual),xe.registerLayout(candlestickLayout)}function updateRipplePath(xe,$e){var Ie=$e.rippleEffectColor||$e.color;xe.eachChild(function(Fe){Fe.attr({z:$e.z,zlevel:$e.zlevel,style:{stroke:$e.brushType==="stroke"?Ie:null,fill:$e.brushType==="fill"?Ie:null}})})}var EffectSymbol=function(xe){__extends($e,xe);function $e(Ie,Fe){var Ue=xe.call(this)||this,qe=new Symbol$1(Ie,Fe),At=new Group$3;return Ue.add(qe),Ue.add(At),Ue.updateData(Ie,Fe),Ue}return $e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},$e.prototype.startEffectAnimation=function(Ie){for(var Fe=Ie.symbolType,Ue=Ie.color,qe=Ie.rippleNumber,At=this.childAt(1),Dt=0;Dt0&&(Dt=this._getLineLength(qe)/hn*1e3),Dt!==this._period||Lt!==this._loop||jt!==this._roundTrip){qe.stopAnimation();var bn=void 0;isFunction(vn)?bn=vn(Ue):bn=vn,qe.__t>0&&(bn=-Dt*qe.__t),this._animateSymbol(qe,Dt,bn,Lt,jt)}this._period=Dt,this._loop=Lt,this._roundTrip=jt}},$e.prototype._animateSymbol=function(Ie,Fe,Ue,qe,At){if(Fe>0){Ie.__t=0;var Dt=this,Lt=Ie.animate("",qe).when(At?Fe*2:Fe,{__t:At?2:1}).delay(Ue).during(function(){Dt._updateSymbolPosition(Ie)});qe||Lt.done(function(){Dt.remove(Ie)}),Lt.start()}},$e.prototype._getLineLength=function(Ie){return dist$1(Ie.__p1,Ie.__cp1)+dist$1(Ie.__cp1,Ie.__p2)},$e.prototype._updateAnimationPoints=function(Ie,Fe){Ie.__p1=Fe[0],Ie.__p2=Fe[1],Ie.__cp1=Fe[2]||[(Fe[0][0]+Fe[1][0])/2,(Fe[0][1]+Fe[1][1])/2]},$e.prototype.updateData=function(Ie,Fe,Ue){this.childAt(0).updateData(Ie,Fe,Ue),this._updateEffectSymbol(Ie,Fe)},$e.prototype._updateSymbolPosition=function(Ie){var Fe=Ie.__p1,Ue=Ie.__p2,qe=Ie.__cp1,At=Ie.__t<1?Ie.__t:2-Ie.__t,Dt=[Ie.x,Ie.y],Lt=Dt.slice(),jt=quadraticAt$1,hn=quadraticDerivativeAt;Dt[0]=jt(Fe[0],qe[0],Ue[0],At),Dt[1]=jt(Fe[1],qe[1],Ue[1],At);var vn=Ie.__t<1?hn(Fe[0],qe[0],Ue[0],At):hn(Ue[0],qe[0],Fe[0],1-At),bn=Ie.__t<1?hn(Fe[1],qe[1],Ue[1],At):hn(Ue[1],qe[1],Fe[1],1-At);Ie.rotation=-Math.atan2(bn,vn)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(Ie.__lastT!==void 0&&Ie.__lastT=0&&!(qe[Lt]<=Fe);Lt--);Lt=Math.min(Lt,At-2)}else{for(Lt=Dt;LtFe);Lt++);Lt=Math.min(Lt-1,At-2)}var hn=(Fe-qe[Lt])/(qe[Lt+1]-qe[Lt]),vn=Ue[Lt],bn=Ue[Lt+1];Ie.x=vn[0]*(1-hn)+hn*bn[0],Ie.y=vn[1]*(1-hn)+hn*bn[1];var _n=Ie.__t<1?bn[0]-vn[0]:vn[0]-bn[0],wn=Ie.__t<1?bn[1]-vn[1]:vn[1]-bn[1];Ie.rotation=-Math.atan2(wn,_n)-Math.PI/2,this._lastFrame=Lt,this._lastFramePercent=Fe,Ie.ignore=!1}},$e}(EffectLine),LargeLinesPathShape=function(){function xe(){this.polyline=!1,this.curveness=0,this.segs=[]}return xe}(),LargeLinesPath=function(xe){__extends($e,xe);function $e(Ie){var Fe=xe.call(this,Ie)||this;return Fe._off=0,Fe.hoverDataIdx=-1,Fe}return $e.prototype.reset=function(){this.notClear=!1,this._off=0},$e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},$e.prototype.getDefaultShape=function(){return new LargeLinesPathShape},$e.prototype.buildPath=function(Ie,Fe){var Ue=Fe.segs,qe=Fe.curveness,At;if(Fe.polyline)for(At=this._off;At0){Ie.moveTo(Ue[At++],Ue[At++]);for(var Lt=1;Lt0){var _n=(jt+vn)/2-(hn-bn)*qe,wn=(hn+bn)/2-(vn-jt)*qe;Ie.quadraticCurveTo(_n,wn,vn,bn)}else Ie.lineTo(vn,bn)}this.incremental&&(this._off=At,this.notClear=!0)},$e.prototype.findDataIndex=function(Ie,Fe){var Ue=this.shape,qe=Ue.segs,At=Ue.curveness,Dt=this.style.lineWidth;if(Ue.polyline)for(var Lt=0,jt=0;jt0)for(var vn=qe[jt++],bn=qe[jt++],_n=1;_n0){var Cn=(vn+wn)/2-(bn-kn)*At,Sn=(bn+kn)/2-(wn-vn)*At;if(containStroke$2(vn,bn,Cn,Sn,wn,kn,Dt,Ie,Fe))return Lt}else if(containStroke$4(vn,bn,wn,kn,Dt,Ie,Fe))return Lt;Lt++}return-1},$e.prototype.contain=function(Ie,Fe){var Ue=this.transformCoordToLocal(Ie,Fe),qe=this.getBoundingRect();if(Ie=Ue[0],Fe=Ue[1],qe.contain(Ie,Fe)){var At=this.hoverDataIdx=this.findDataIndex(Ie,Fe);return At>=0}return this.hoverDataIdx=-1,!1},$e.prototype.getBoundingRect=function(){var Ie=this._rect;if(!Ie){for(var Fe=this.shape,Ue=Fe.segs,qe=1/0,At=1/0,Dt=-1/0,Lt=-1/0,jt=0;jt0&&(At.dataIndex=Lt+$e.__startIndex)})},xe.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},xe}(),linesLayout={seriesType:"lines",plan:createRenderPlanner(),reset:function(xe){var $e=xe.coordinateSystem;if($e){var Ie=xe.get("polyline"),Fe=xe.pipelineContext.large;return{progress:function(Ue,qe){var At=[];if(Fe){var Dt=void 0,Lt=Ue.end-Ue.start;if(Ie){for(var jt=0,hn=Ue.start;hn0&&(hn||jt.configLayer(Dt,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(Lt/10+.9,1),0)})),At.updateData(qe);var vn=Ie.get("clip",!0)&&createClipPath(Ie.coordinateSystem,!1,Ie);vn?this.group.setClipPath(vn):this.group.removeClipPath(),this._lastZlevel=Dt,this._finished=!0},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this._updateLineDraw(qe,Ie);At.incrementalPrepareUpdate(qe),this._clearLayer(Ue),this._finished=!1},$e.prototype.incrementalRender=function(Ie,Fe,Ue){this._lineDraw.incrementalUpdate(Ie,Fe.getData()),this._finished=Ie.end===Fe.getData().count()},$e.prototype.eachRendered=function(Ie){this._lineDraw&&this._lineDraw.eachRendered(Ie)},$e.prototype.updateTransform=function(Ie,Fe,Ue){var qe=Ie.getData(),At=Ie.pipelineContext;if(!this._finished||At.large||At.progressiveRender)return{update:!0};var Dt=linesLayout.reset(Ie,Fe,Ue);Dt.progress&&Dt.progress({start:0,end:qe.count(),count:qe.count()},qe),this._lineDraw.updateLayout(),this._clearLayer(Ue)},$e.prototype._updateLineDraw=function(Ie,Fe){var Ue=this._lineDraw,qe=this._showEffect(Fe),At=!!Fe.get("polyline"),Dt=Fe.pipelineContext,Lt=Dt.large;return(!Ue||qe!==this._hasEffet||At!==this._isPolyline||Lt!==this._isLargeDraw)&&(Ue&&Ue.remove(),Ue=this._lineDraw=Lt?new LargeLineDraw:new LineDraw(At?qe?EffectPolyline:Polyline:qe?EffectLine:Line),this._hasEffet=qe,this._isPolyline=At,this._isLargeDraw=Lt),this.group.add(Ue.group),Ue},$e.prototype._showEffect=function(Ie){return!!Ie.get(["effect","show"])},$e.prototype._clearLayer=function(Ie){var Fe=Ie.getZr(),Ue=Fe.painter.getType()==="svg";!Ue&&this._lastZlevel!=null&&Fe.painter.getLayer(this._lastZlevel).clear(!0)},$e.prototype.remove=function(Ie,Fe){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(Fe)},$e.prototype.dispose=function(Ie,Fe){this.remove(Ie,Fe)},$e.type="lines",$e}(ChartView),Uint32Arr=typeof Uint32Array>"u"?Array:Uint32Array,Float64Arr=typeof Float64Array>"u"?Array:Float64Array;function compatEc2(xe){var $e=xe.data;$e&&$e[0]&&$e[0][0]&&$e[0][0].coord&&(xe.data=map$1($e,function(Ie){var Fe=[Ie[0].coord,Ie[1].coord],Ue={coords:Fe};return Ie[0].name&&(Ue.fromName=Ie[0].name),Ie[1].name&&(Ue.toName=Ie[1].name),mergeAll([Ue,Ie[0],Ie[1]])}))}var LinesSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.visualStyleAccessPath="lineStyle",Ie.visualDrawType="stroke",Ie}return $e.prototype.init=function(Ie){Ie.data=Ie.data||[],compatEc2(Ie);var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count)),xe.prototype.init.apply(this,arguments)},$e.prototype.mergeOption=function(Ie){if(compatEc2(Ie),Ie.data){var Fe=this._processFlatCoordsArray(Ie.data);this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset,Fe.flatCoords&&(Ie.data=new Float32Array(Fe.count))}xe.prototype.mergeOption.apply(this,arguments)},$e.prototype.appendData=function(Ie){var Fe=this._processFlatCoordsArray(Ie.data);Fe.flatCoords&&(this._flatCoords?(this._flatCoords=concatArray(this._flatCoords,Fe.flatCoords),this._flatCoordsOffset=concatArray(this._flatCoordsOffset,Fe.flatCoordsOffset)):(this._flatCoords=Fe.flatCoords,this._flatCoordsOffset=Fe.flatCoordsOffset),Ie.data=new Float32Array(Fe.count)),this.getRawData().appendData(Ie.data)},$e.prototype._getCoordsFromItemModel=function(Ie){var Fe=this.getData().getItemModel(Ie),Ue=Fe.option instanceof Array?Fe.option:Fe.getShallow("coords");return Ue},$e.prototype.getLineCoordsCount=function(Ie){return this._flatCoordsOffset?this._flatCoordsOffset[Ie*2+1]:this._getCoordsFromItemModel(Ie).length},$e.prototype.getLineCoords=function(Ie,Fe){if(this._flatCoordsOffset){for(var Ue=this._flatCoordsOffset[Ie*2],qe=this._flatCoordsOffset[Ie*2+1],At=0;At ")})},$e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},$e.prototype.getProgressive=function(){var Ie=this.option.progressive;return Ie??(this.option.large?1e4:this.get("progressive"))},$e.prototype.getProgressiveThreshold=function(){var Ie=this.option.progressiveThreshold;return Ie??(this.option.large?2e4:this.get("progressiveThreshold"))},$e.prototype.getZLevelKey=function(){var Ie=this.getModel("effect"),Fe=Ie.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:Ie.get("show")&&Fe>0?Fe+"":""},$e.type="series.lines",$e.dependencies=["grid","polar","geo","calendar"],$e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},$e}(SeriesModel);function normalize(xe){return xe instanceof Array||(xe=[xe,xe]),xe}var linesVisual={seriesType:"lines",reset:function(xe){var $e=normalize(xe.get("symbol")),Ie=normalize(xe.get("symbolSize")),Fe=xe.getData();Fe.setVisual("fromSymbol",$e&&$e[0]),Fe.setVisual("toSymbol",$e&&$e[1]),Fe.setVisual("fromSymbolSize",Ie&&Ie[0]),Fe.setVisual("toSymbolSize",Ie&&Ie[1]);function Ue(qe,At){var Dt=qe.getItemModel(At),Lt=normalize(Dt.getShallow("symbol",!0)),jt=normalize(Dt.getShallow("symbolSize",!0));Lt[0]&&qe.setItemVisual(At,"fromSymbol",Lt[0]),Lt[1]&&qe.setItemVisual(At,"toSymbol",Lt[1]),jt[0]&&qe.setItemVisual(At,"fromSymbolSize",jt[0]),jt[1]&&qe.setItemVisual(At,"toSymbolSize",jt[1])}return{dataEach:Fe.hasItemOption?Ue:null}}};function install$x(xe){xe.registerChartView(LinesView),xe.registerSeriesModel(LinesSeriesModel),xe.registerLayout(linesLayout),xe.registerVisual(linesVisual)}var GRADIENT_LEVELS=256,HeatmapLayer=function(){function xe(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var $e=platformApi.createCanvas();this.canvas=$e}return xe.prototype.update=function($e,Ie,Fe,Ue,qe,At){var Dt=this._getBrush(),Lt=this._getGradient(qe,"inRange"),jt=this._getGradient(qe,"outOfRange"),hn=this.pointSize+this.blurSize,vn=this.canvas,bn=vn.getContext("2d"),_n=$e.length;vn.width=Ie,vn.height=Fe;for(var wn=0;wn<_n;++wn){var kn=$e[wn],Cn=kn[0],Sn=kn[1],xn=kn[2],En=Ue(xn);bn.globalAlpha=En,bn.drawImage(Dt,Cn-hn,Sn-hn)}if(!vn.width||!vn.height)return vn;for(var Tn=bn.getImageData(0,0,vn.width,vn.height),An=Tn.data,$n=0,Pn=An.length,Nn=this.minOpacity,Mn=this.maxOpacity,In=Mn-Nn;$n0){var Rn=At(En)?Lt:jt;En>0&&(En=En*In+Nn),An[$n++]=Rn[On],An[$n++]=Rn[On+1],An[$n++]=Rn[On+2],An[$n++]=Rn[On+3]*En*256}else $n+=4}return bn.putImageData(Tn,0,0),vn},xe.prototype._getBrush=function(){var $e=this._brushCanvas||(this._brushCanvas=platformApi.createCanvas()),Ie=this.pointSize+this.blurSize,Fe=Ie*2;$e.width=Fe,$e.height=Fe;var Ue=$e.getContext("2d");return Ue.clearRect(0,0,Fe,Fe),Ue.shadowOffsetX=Fe,Ue.shadowBlur=this.blurSize,Ue.shadowColor="#000",Ue.beginPath(),Ue.arc(-Ie,Ie,this.pointSize,0,Math.PI*2,!0),Ue.closePath(),Ue.fill(),$e},xe.prototype._getGradient=function($e,Ie){for(var Fe=this._gradientPixels,Ue=Fe[Ie]||(Fe[Ie]=new Uint8ClampedArray(256*4)),qe=[0,0,0,0],At=0,Dt=0;Dt<256;Dt++)$e[Ie](Dt/255,!0,qe),Ue[At++]=qe[0],Ue[At++]=qe[1],Ue[At++]=qe[2],Ue[At++]=qe[3];return Ue},xe}();function getIsInPiecewiseRange(xe,$e,Ie){var Fe=xe[1]-xe[0];$e=map$1($e,function(At){return{interval:[(At.interval[0]-xe[0])/Fe,(At.interval[1]-xe[0])/Fe]}});var Ue=$e.length,qe=0;return function(At){var Dt;for(Dt=qe;Dt=0;Dt--){var Lt=$e[Dt].interval;if(Lt[0]<=At&&At<=Lt[1]){qe=Dt;break}}return Dt>=0&&Dt=$e[0]&&Fe<=$e[1]}}function isGeoCoordSys(xe){var $e=xe.dimensions;return $e[0]==="lng"&&$e[1]==="lat"}var HeatmapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe;Fe.eachComponent("visualMap",function(Dt){Dt.eachTargetSeries(function(Lt){Lt===Ie&&(qe=Dt)})}),this._progressiveEls=null,this.group.removeAll();var At=Ie.coordinateSystem;At.type==="cartesian2d"||At.type==="calendar"?this._renderOnCartesianAndCalendar(Ie,Ue,0,Ie.getData().count()):isGeoCoordSys(At)&&this._renderOnGeo(At,Ie,qe,Ue)},$e.prototype.incrementalPrepareRender=function(Ie,Fe,Ue){this.group.removeAll()},$e.prototype.incrementalRender=function(Ie,Fe,Ue,qe){var At=Fe.coordinateSystem;At&&(isGeoCoordSys(At)?this.render(Fe,Ue,qe):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(Fe,qe,Ie.start,Ie.end,!0)))},$e.prototype.eachRendered=function(Ie){traverseElements(this._progressiveEls||this.group,Ie)},$e.prototype._renderOnCartesianAndCalendar=function(Ie,Fe,Ue,qe,At){var Dt=Ie.coordinateSystem,Lt=isCoordinateSystemType(Dt,"cartesian2d"),jt,hn,vn,bn;if(Lt){var _n=Dt.getAxis("x"),wn=Dt.getAxis("y");jt=_n.getBandWidth()+.5,hn=wn.getBandWidth()+.5,vn=_n.scale.getExtent(),bn=wn.scale.getExtent()}for(var kn=this.group,Cn=Ie.getData(),Sn=Ie.getModel(["emphasis","itemStyle"]).getItemStyle(),xn=Ie.getModel(["blur","itemStyle"]).getItemStyle(),En=Ie.getModel(["select","itemStyle"]).getItemStyle(),Tn=Ie.get(["itemStyle","borderRadius"]),An=getLabelStatesModels(Ie),$n=Ie.getModel("emphasis"),Pn=$n.get("focus"),Nn=$n.get("blurScope"),Mn=$n.get("disabled"),In=Lt?[Cn.mapDimension("x"),Cn.mapDimension("y"),Cn.mapDimension("value")]:[Cn.mapDimension("time"),Cn.mapDimension("value")],On=Ue;Onvn[1]||Lnbn[1])continue;var Dn=Dt.dataToPoint([Vn,Ln]);Rn=new Rect$2({shape:{x:Dn[0]-jt/2,y:Dn[1]-hn/2,width:jt,height:hn},style:Bn})}else{if(isNaN(Cn.get(In[1],On)))continue;Rn=new Rect$2({z2:1,shape:Dt.dataToRect([Cn.get(In[0],On)]).contentShape,style:Bn})}if(Cn.hasItemOption){var Hn=Cn.getItemModel(On),Fn=Hn.getModel("emphasis");Sn=Fn.getModel("itemStyle").getItemStyle(),xn=Hn.getModel(["blur","itemStyle"]).getItemStyle(),En=Hn.getModel(["select","itemStyle"]).getItemStyle(),Tn=Hn.get(["itemStyle","borderRadius"]),Pn=Fn.get("focus"),Nn=Fn.get("blurScope"),Mn=Fn.get("disabled"),An=getLabelStatesModels(Hn)}Rn.shape.r=Tn;var zn=Ie.getRawValue(On),jn="-";zn&&zn[2]!=null&&(jn=zn[2]+""),setLabelStyle(Rn,An,{labelFetcher:Ie,labelDataIndex:On,defaultOpacity:Bn.opacity,defaultText:jn}),Rn.ensureState("emphasis").style=Sn,Rn.ensureState("blur").style=xn,Rn.ensureState("select").style=En,toggleHoverEmphasis(Rn,Pn,Nn,Mn),Rn.incremental=At,At&&(Rn.states.emphasis.hoverLayer=!0),kn.add(Rn),Cn.setItemGraphicEl(On,Rn),this._progressiveEls&&this._progressiveEls.push(Rn)}},$e.prototype._renderOnGeo=function(Ie,Fe,Ue,qe){var At=Ue.targetVisuals.inRange,Dt=Ue.targetVisuals.outOfRange,Lt=Fe.getData(),jt=this._hmLayer||this._hmLayer||new HeatmapLayer;jt.blurSize=Fe.get("blurSize"),jt.pointSize=Fe.get("pointSize"),jt.minOpacity=Fe.get("minOpacity"),jt.maxOpacity=Fe.get("maxOpacity");var hn=Ie.getViewRect().clone(),vn=Ie.getRoamTransform();hn.applyTransform(vn);var bn=Math.max(hn.x,0),_n=Math.max(hn.y,0),wn=Math.min(hn.width+hn.x,qe.getWidth()),kn=Math.min(hn.height+hn.y,qe.getHeight()),Cn=wn-bn,Sn=kn-_n,xn=[Lt.mapDimension("lng"),Lt.mapDimension("lat"),Lt.mapDimension("value")],En=Lt.mapArray(xn,function(Pn,Nn,Mn){var In=Ie.dataToPoint([Pn,Nn]);return In[0]-=bn,In[1]-=_n,In.push(Mn),In}),Tn=Ue.getExtent(),An=Ue.type==="visualMap.continuous"?getIsInContinuousRange(Tn,Ue.option.range):getIsInPiecewiseRange(Tn,Ue.getPieceList(),Ue.option.selected);jt.update(En,Cn,Sn,At.color.getNormalizer(),{inRange:At.color.getColorMapper(),outOfRange:Dt.color.getColorMapper()},An);var $n=new ZRImage({style:{width:Cn,height:Sn,x:bn,y:_n,image:jt.canvas},silent:!0});this.group.add($n)},$e.type="heatmap",$e}(ChartView),HeatmapSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this,{generateCoord:"value"})},$e.prototype.preventIncremental=function(){var Ie=CoordinateSystemManager.get(this.get("coordinateSystem"));if(Ie&&Ie.dimensions)return Ie.dimensions[0]==="lng"&&Ie.dimensions[1]==="lat"},$e.type="series.heatmap",$e.dependencies=["grid","geo","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},$e}(SeriesModel);function install$w(xe){xe.registerChartView(HeatmapView),xe.registerSeriesModel(HeatmapSeriesModel)}var BAR_BORDER_WIDTH_QUERY=["itemStyle","borderWidth"],LAYOUT_ATTRS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pathForLineWidth=new Circle,PictorialBarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group,At=Ie.getData(),Dt=this._data,Lt=Ie.coordinateSystem,jt=Lt.getBaseAxis(),hn=jt.isHorizontal(),vn=Lt.master.getRect(),bn={ecSize:{width:Ue.getWidth(),height:Ue.getHeight()},seriesModel:Ie,coordSys:Lt,coordSysExtent:[[vn.x,vn.x+vn.width],[vn.y,vn.y+vn.height]],isHorizontal:hn,valueDim:LAYOUT_ATTRS[+hn],categoryDim:LAYOUT_ATTRS[1-+hn]};At.diff(Dt).add(function(wn){if(At.hasValue(wn)){var kn=getItemModel(At,wn),Cn=getSymbolMeta(At,wn,kn,bn),Sn=createBar(At,bn,Cn);At.setItemGraphicEl(wn,Sn),qe.add(Sn),updateCommon(Sn,bn,Cn)}}).update(function(wn,kn){var Cn=Dt.getItemGraphicEl(kn);if(!At.hasValue(wn)){qe.remove(Cn);return}var Sn=getItemModel(At,wn),xn=getSymbolMeta(At,wn,Sn,bn),En=getShapeStr(At,xn);Cn&&En!==Cn.__pictorialShapeStr&&(qe.remove(Cn),At.setItemGraphicEl(wn,null),Cn=null),Cn?updateBar(Cn,bn,xn):Cn=createBar(At,bn,xn,!0),At.setItemGraphicEl(wn,Cn),Cn.__pictorialSymbolMeta=xn,qe.add(Cn),updateCommon(Cn,bn,xn)}).remove(function(wn){var kn=Dt.getItemGraphicEl(wn);kn&&removeBar(Dt,wn,kn.__pictorialSymbolMeta.animationModel,kn)}).execute();var _n=Ie.get("clip",!0)?createClipPath(Ie.coordinateSystem,!1,Ie):null;return _n?qe.setClipPath(_n):qe.removeClipPath(),this._data=At,this.group},$e.prototype.remove=function(Ie,Fe){var Ue=this.group,qe=this._data;Ie.get("animation")?qe&&qe.eachItemGraphicEl(function(At){removeBar(qe,getECData(At).dataIndex,Ie,At)}):Ue.removeAll()},$e.type="pictorialBar",$e}(ChartView);function getSymbolMeta(xe,$e,Ie,Fe){var Ue=xe.getItemLayout($e),qe=Ie.get("symbolRepeat"),At=Ie.get("symbolClip"),Dt=Ie.get("symbolPosition")||"start",Lt=Ie.get("symbolRotate"),jt=(Lt||0)*Math.PI/180||0,hn=Ie.get("symbolPatternSize")||2,vn=Ie.isAnimationEnabled(),bn={dataIndex:$e,layout:Ue,itemModel:Ie,symbolType:xe.getItemVisual($e,"symbol")||"circle",style:xe.getItemVisual($e,"style"),symbolClip:At,symbolRepeat:qe,symbolRepeatDirection:Ie.get("symbolRepeatDirection"),symbolPatternSize:hn,rotation:jt,animationModel:vn?Ie:null,hoverScale:vn&&Ie.get(["emphasis","scale"]),z2:Ie.getShallow("z",!0)||0};prepareBarLength(Ie,qe,Ue,Fe,bn),prepareSymbolSize(xe,$e,Ue,qe,At,bn.boundingLength,bn.pxSign,hn,Fe,bn),prepareLineWidth(Ie,bn.symbolScale,jt,Fe,bn);var _n=bn.symbolSize,wn=normalizeSymbolOffset(Ie.get("symbolOffset"),_n);return prepareLayoutInfo(Ie,_n,Ue,qe,At,wn,Dt,bn.valueLineWidth,bn.boundingLength,bn.repeatCutLength,Fe,bn),bn}function prepareBarLength(xe,$e,Ie,Fe,Ue){var qe=Fe.valueDim,At=xe.get("symbolBoundingData"),Dt=Fe.coordSys.getOtherAxis(Fe.coordSys.getBaseAxis()),Lt=Dt.toGlobalCoord(Dt.dataToCoord(0)),jt=1-+(Ie[qe.wh]<=0),hn;if(isArray$1(At)){var vn=[convertToCoordOnAxis(Dt,At[0])-Lt,convertToCoordOnAxis(Dt,At[1])-Lt];vn[1]0?1:-1}function convertToCoordOnAxis(xe,$e){return xe.toGlobalCoord(xe.dataToCoord(xe.scale.parse($e)))}function prepareSymbolSize(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=Lt.valueDim,vn=Lt.categoryDim,bn=Math.abs(Ie[vn.wh]),_n=xe.getItemVisual($e,"symbolSize"),wn;isArray$1(_n)?wn=_n.slice():_n==null?wn=["100%","100%"]:wn=[_n,_n],wn[vn.index]=parsePercent(wn[vn.index],bn),wn[hn.index]=parsePercent(wn[hn.index],Fe?bn:Math.abs(qe)),jt.symbolSize=wn;var kn=jt.symbolScale=[wn[0]/Dt,wn[1]/Dt];kn[hn.index]*=(Lt.isHorizontal?-1:1)*At}function prepareLineWidth(xe,$e,Ie,Fe,Ue){var qe=xe.get(BAR_BORDER_WIDTH_QUERY)||0;qe&&(pathForLineWidth.attr({scaleX:$e[0],scaleY:$e[1],rotation:Ie}),pathForLineWidth.updateTransform(),qe/=pathForLineWidth.getLineScale(),qe*=$e[Fe.valueDim.index]),Ue.valueLineWidth=qe||0}function prepareLayoutInfo(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn){var bn=hn.categoryDim,_n=hn.valueDim,wn=vn.pxSign,kn=Math.max($e[_n.index]+Dt,0),Cn=kn;if(Fe){var Sn=Math.abs(Lt),xn=retrieve(xe.get("symbolMargin"),"15%")+"",En=!1;xn.lastIndexOf("!")===xn.length-1&&(En=!0,xn=xn.slice(0,xn.length-1));var Tn=parsePercent(xn,$e[_n.index]),An=Math.max(kn+Tn*2,0),$n=En?0:Tn*2,Pn=isNumeric(Fe),Nn=Pn?Fe:toIntTimes((Sn+$n)/An),Mn=Sn-Nn*kn;Tn=Mn/2/(En?Nn:Math.max(Nn-1,1)),An=kn+Tn*2,$n=En?0:Tn*2,!Pn&&Fe!=="fixed"&&(Nn=jt?toIntTimes((Math.abs(jt)+$n)/An):0),Cn=Nn*An-$n,vn.repeatTimes=Nn,vn.symbolMargin=Tn}var In=wn*(Cn/2),On=vn.pathPosition=[];On[bn.index]=Ie[bn.wh]/2,On[_n.index]=At==="start"?In:At==="end"?Lt-In:Lt/2,qe&&(On[0]+=qe[0],On[1]+=qe[1]);var Rn=vn.bundlePosition=[];Rn[bn.index]=Ie[bn.xy],Rn[_n.index]=Ie[_n.xy];var Bn=vn.barRectShape=extend({},Ie);Bn[_n.wh]=wn*Math.max(Math.abs(Ie[_n.wh]),Math.abs(On[_n.index]+In)),Bn[bn.wh]=Ie[bn.wh];var Vn=vn.clipShape={};Vn[bn.xy]=-Ie[bn.xy],Vn[bn.wh]=hn.ecSize[bn.wh],Vn[_n.xy]=0,Vn[_n.wh]=Ie[_n.wh]}function createPath(xe){var $e=xe.symbolPatternSize,Ie=createSymbol$1(xe.symbolType,-$e/2,-$e/2,$e,$e);return Ie.attr({culling:!0}),Ie.type!=="image"&&Ie.setStyle({strokeNoScale:!0}),Ie}function createOrUpdateRepeatSymbols(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=Ie.symbolSize,At=Ie.valueLineWidth,Dt=Ie.pathPosition,Lt=$e.valueDim,jt=Ie.repeatTimes||0,hn=0,vn=qe[$e.valueDim.index]+At+Ie.symbolMargin*2;for(eachPath(xe,function(kn){kn.__pictorialAnimationIndex=hn,kn.__pictorialRepeatTimes=jt,hn0:Sn<0)&&(xn=jt-1-kn),Cn[Lt.index]=vn*(xn-jt/2+.5)+Dt[Lt.index],{x:Cn[0],y:Cn[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation}}}function createOrUpdateSingleSymbol(xe,$e,Ie,Fe){var Ue=xe.__pictorialBundle,qe=xe.__pictorialMainPath;qe?updateAttr(qe,null,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1],rotation:Ie.rotation},Ie,Fe):(qe=xe.__pictorialMainPath=createPath(Ie),Ue.add(qe),updateAttr(qe,{x:Ie.pathPosition[0],y:Ie.pathPosition[1],scaleX:0,scaleY:0,rotation:Ie.rotation},{scaleX:Ie.symbolScale[0],scaleY:Ie.symbolScale[1]},Ie,Fe))}function createOrUpdateBarRect(xe,$e,Ie){var Fe=extend({},$e.barRectShape),Ue=xe.__pictorialBarRect;Ue?updateAttr(Ue,null,{shape:Fe},$e,Ie):(Ue=xe.__pictorialBarRect=new Rect$2({z2:2,shape:Fe,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),Ue.disableMorphing=!0,xe.add(Ue))}function createOrUpdateClip(xe,$e,Ie,Fe){if(Ie.symbolClip){var Ue=xe.__pictorialClipPath,qe=extend({},Ie.clipShape),At=$e.valueDim,Dt=Ie.animationModel,Lt=Ie.dataIndex;if(Ue)updateProps$1(Ue,{shape:qe},Dt,Lt);else{qe[At.wh]=0,Ue=new Rect$2({shape:qe}),xe.__pictorialBundle.setClipPath(Ue),xe.__pictorialClipPath=Ue;var jt={};jt[At.wh]=Ie.clipShape[At.wh],graphic[Fe?"updateProps":"initProps"](Ue,{shape:jt},Dt,Lt)}}}function getItemModel(xe,$e){var Ie=xe.getItemModel($e);return Ie.getAnimationDelayParams=getAnimationDelayParams,Ie.isAnimationEnabled=isAnimationEnabled,Ie}function getAnimationDelayParams(xe){return{index:xe.__pictorialAnimationIndex,count:xe.__pictorialRepeatTimes}}function isAnimationEnabled(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function createBar(xe,$e,Ie,Fe){var Ue=new Group$3,qe=new Group$3;return Ue.add(qe),Ue.__pictorialBundle=qe,qe.x=Ie.bundlePosition[0],qe.y=Ie.bundlePosition[1],Ie.symbolRepeat?createOrUpdateRepeatSymbols(Ue,$e,Ie):createOrUpdateSingleSymbol(Ue,$e,Ie),createOrUpdateBarRect(Ue,Ie,Fe),createOrUpdateClip(Ue,$e,Ie,Fe),Ue.__pictorialShapeStr=getShapeStr(xe,Ie),Ue.__pictorialSymbolMeta=Ie,Ue}function updateBar(xe,$e,Ie){var Fe=Ie.animationModel,Ue=Ie.dataIndex,qe=xe.__pictorialBundle;updateProps$1(qe,{x:Ie.bundlePosition[0],y:Ie.bundlePosition[1]},Fe,Ue),Ie.symbolRepeat?createOrUpdateRepeatSymbols(xe,$e,Ie,!0):createOrUpdateSingleSymbol(xe,$e,Ie,!0),createOrUpdateBarRect(xe,Ie,!0),createOrUpdateClip(xe,$e,Ie,!0)}function removeBar(xe,$e,Ie,Fe){var Ue=Fe.__pictorialBarRect;Ue&&Ue.removeTextContent();var qe=[];eachPath(Fe,function(At){qe.push(At)}),Fe.__pictorialMainPath&&qe.push(Fe.__pictorialMainPath),Fe.__pictorialClipPath&&(Ie=null),each$f(qe,function(At){removeElement(At,{scaleX:0,scaleY:0},Ie,$e,function(){Fe.parent&&Fe.parent.remove(Fe)})}),xe.setItemGraphicEl($e,null)}function getShapeStr(xe,$e){return[xe.getItemVisual($e.dataIndex,"symbol")||"none",!!$e.symbolRepeat,!!$e.symbolClip].join(":")}function eachPath(xe,$e,Ie){each$f(xe.__pictorialBundle.children(),function(Fe){Fe!==xe.__pictorialBarRect&&$e.call(Ie,Fe)})}function updateAttr(xe,$e,Ie,Fe,Ue,qe){$e&&xe.attr($e),Fe.symbolClip&&!Ue?Ie&&xe.attr(Ie):Ie&&graphic[Ue?"updateProps":"initProps"](xe,Ie,Fe.animationModel,Fe.dataIndex,qe)}function updateCommon(xe,$e,Ie){var Fe=Ie.dataIndex,Ue=Ie.itemModel,qe=Ue.getModel("emphasis"),At=qe.getModel("itemStyle").getItemStyle(),Dt=Ue.getModel(["blur","itemStyle"]).getItemStyle(),Lt=Ue.getModel(["select","itemStyle"]).getItemStyle(),jt=Ue.getShallow("cursor"),hn=qe.get("focus"),vn=qe.get("blurScope"),bn=qe.get("scale");eachPath(xe,function(kn){if(kn instanceof ZRImage){var Cn=kn.style;kn.useStyle(extend({image:Cn.image,x:Cn.x,y:Cn.y,width:Cn.width,height:Cn.height},Ie.style))}else kn.useStyle(Ie.style);var Sn=kn.ensureState("emphasis");Sn.style=At,bn&&(Sn.scaleX=kn.scaleX*1.1,Sn.scaleY=kn.scaleY*1.1),kn.ensureState("blur").style=Dt,kn.ensureState("select").style=Lt,jt&&(kn.cursor=jt),kn.z2=Ie.z2});var _n=$e.valueDim.posDesc[+(Ie.boundingLength>0)],wn=xe.__pictorialBarRect;wn.ignoreClip=!0,setLabelStyle(wn,getLabelStatesModels(Ue),{labelFetcher:$e.seriesModel,labelDataIndex:Fe,defaultText:getDefaultLabel($e.seriesModel.getData(),Fe),inheritColor:Ie.style.fill,defaultOpacity:Ie.style.opacity,defaultOutsidePosition:_n}),toggleHoverEmphasis(xe,hn,vn,qe.get("disabled"))}function toIntTimes(xe){var $e=Math.round(xe);return Math.abs(xe-$e)<1e-4?$e:Math.ceil(xe)}var PictorialBarSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.hasSymbolVisual=!0,Ie.defaultSymbol="roundRect",Ie}return $e.prototype.getInitialData=function(Ie){return Ie.stack=null,xe.prototype.getInitialData.apply(this,arguments)},$e.type="series.pictorialBar",$e.dependencies=["grid"],$e.defaultOption=inheritDefaultOption(BaseBarSeriesModel.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),$e}(BaseBarSeriesModel);function install$v(xe){xe.registerChartView(PictorialBarView),xe.registerSeriesModel(PictorialBarSeriesModel),xe.registerLayout(xe.PRIORITY.VISUAL.LAYOUT,curry$1(layout$3,"pictorialBar")),xe.registerLayout(xe.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,createProgressiveLayout("pictorialBar"))}var ThemeRiverView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._layers=[],Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Ie.getData(),At=this,Dt=this.group,Lt=Ie.getLayerSeries(),jt=qe.getLayout("layoutInfo"),hn=jt.rect,vn=jt.boundaryGap;Dt.x=0,Dt.y=hn.y+vn[0];function bn(Cn){return Cn.name}var _n=new DataDiffer(this._layersSeries||[],Lt,bn,bn),wn=[];_n.add(bind$1(kn,this,"add")).update(bind$1(kn,this,"update")).remove(bind$1(kn,this,"remove")).execute();function kn(Cn,Sn,xn){var En=At._layers;if(Cn==="remove"){Dt.remove(En[Sn]);return}for(var Tn=[],An=[],$n,Pn=Lt[Sn].indices,Nn=0;Nnqe&&(qe=Dt),Fe.push(Dt)}for(var jt=0;jtqe&&(qe=vn)}return{y0:Ue,max:qe}}function install$u(xe){xe.registerChartView(ThemeRiverView),xe.registerSeriesModel(ThemeRiverSeriesModel),xe.registerLayout(themeRiverLayout),xe.registerProcessor(dataFilter$1("themeRiver"))}var DEFAULT_SECTOR_Z=2,DEFAULT_TEXT_Z=4,SunburstPiece=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this)||this;At.z2=DEFAULT_SECTOR_Z,At.textConfig={inside:!0},getECData(At).seriesIndex=Fe.seriesIndex;var Dt=new ZRText({z2:DEFAULT_TEXT_Z,silent:Ie.getModel().get(["label","silent"])});return At.setTextContent(Dt),At.updateData(!0,Ie,Fe,Ue,qe),At}return $e.prototype.updateData=function(Ie,Fe,Ue,qe,At){this.node=Fe,Fe.piece=this,Ue=Ue||this._seriesModel,qe=qe||this._ecModel;var Dt=this;getECData(Dt).dataIndex=Fe.dataIndex;var Lt=Fe.getModel(),jt=Lt.getModel("emphasis"),hn=Fe.getLayout(),vn=extend({},hn);vn.label=null;var bn=Fe.getVisual("style");bn.lineJoin="bevel";var _n=Fe.getVisual("decal");_n&&(bn.decal=createOrUpdatePatternFromDecal(_n,At));var wn=getSectorCornerRadius(Lt.getModel("itemStyle"),vn,!0);extend(vn,wn),each$f(SPECIAL_STATES,function(xn){var En=Dt.ensureState(xn),Tn=Lt.getModel([xn,"itemStyle"]);En.style=Tn.getItemStyle();var An=getSectorCornerRadius(Tn,vn);An&&(En.shape=An)}),Ie?(Dt.setShape(vn),Dt.shape.r=hn.r0,initProps(Dt,{shape:{r:hn.r}},Ue,Fe.dataIndex)):(updateProps$1(Dt,{shape:vn},Ue),saveOldStyle(Dt)),Dt.useStyle(bn),this._updateLabel(Ue);var kn=Lt.getShallow("cursor");kn&&Dt.attr("cursor",kn),this._seriesModel=Ue||this._seriesModel,this._ecModel=qe||this._ecModel;var Cn=jt.get("focus"),Sn=Cn==="ancestor"?Fe.getAncestorsIndices():Cn==="descendant"?Fe.getDescendantIndices():Cn;toggleHoverEmphasis(this,Sn,jt.get("blurScope"),jt.get("disabled"))},$e.prototype._updateLabel=function(Ie){var Fe=this,Ue=this.node.getModel(),qe=Ue.getModel("label"),At=this.node.getLayout(),Dt=At.endAngle-At.startAngle,Lt=(At.startAngle+At.endAngle)/2,jt=Math.cos(Lt),hn=Math.sin(Lt),vn=this,bn=vn.getTextContent(),_n=this.node.dataIndex,wn=qe.get("minAngle")/180*Math.PI,kn=qe.get("show")&&!(wn!=null&&Math.abs(Dt)Vn&&!isRadianAroundZero(Dn-Vn)&&Dn0?(At.virtualPiece?At.virtualPiece.updateData(!1,xn,Ie,Fe,Ue):(At.virtualPiece=new SunburstPiece(xn,Ie,Fe,Ue),hn.add(At.virtualPiece)),En.piece.off("click"),At.virtualPiece.on("click",function(Tn){At._rootToNode(En.parentNode)})):At.virtualPiece&&(hn.remove(At.virtualPiece),At.virtualPiece=null)}},$e.prototype._initEvents=function(){var Ie=this;this.group.off("click"),this.group.on("click",function(Fe){var Ue=!1,qe=Ie.seriesModel.getViewRoot();qe.eachNode(function(At){if(!Ue&&At.piece&&At.piece===Fe.target){var Dt=At.getModel().get("nodeClick");if(Dt==="rootToNode")Ie._rootToNode(At);else if(Dt==="link"){var Lt=At.getModel(),jt=Lt.get("link");if(jt){var hn=Lt.get("target",!0)||"_blank";windowOpen(jt,hn)}}Ue=!0}})})},$e.prototype._rootToNode=function(Ie){Ie!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ROOT_TO_NODE_ACTION,from:this.uid,seriesId:this.seriesModel.id,targetNode:Ie})},$e.prototype.containPoint=function(Ie,Fe){var Ue=Fe.getData(),qe=Ue.getItemLayout(0);if(qe){var At=Ie[0]-qe.cx,Dt=Ie[1]-qe.cy,Lt=Math.sqrt(At*At+Dt*Dt);return Lt<=qe.r&&Lt>=qe.r0}},$e.type="sunburst",$e}(ChartView),SunburstSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.ignoreStyleOnData=!0,Ie}return $e.prototype.getInitialData=function(Ie,Fe){var Ue={name:Ie.name,children:Ie.data};completeTreeValue(Ue);var qe=this._levelModels=map$1(Ie.levels||[],function(Lt){return new Model(Lt,this,Fe)},this),At=Tree.createTree(Ue,this,Dt);function Dt(Lt){Lt.wrapMethod("getItemModel",function(jt,hn){var vn=At.getNodeByDataIndex(hn),bn=qe[vn.depth];return bn&&(jt.parentModel=bn),jt})}return At.data},$e.prototype.optionUpdated=function(){this.resetViewRoot()},$e.prototype.getDataParams=function(Ie){var Fe=xe.prototype.getDataParams.apply(this,arguments),Ue=this.getData().tree.getNodeByDataIndex(Ie);return Fe.treePathInfo=wrapTreePathInfo(Ue,this),Fe},$e.prototype.getLevelModel=function(Ie){return this._levelModels&&this._levelModels[Ie.depth]},$e.prototype.getViewRoot=function(){return this._viewRoot},$e.prototype.resetViewRoot=function(Ie){Ie?this._viewRoot=Ie:Ie=this._viewRoot;var Fe=this.getRawData().tree.root;(!Ie||Ie!==Fe&&!Fe.contains(Ie))&&(this._viewRoot=Fe)},$e.prototype.enableAriaDecal=function(){enableAriaDecalForTree(this)},$e.type="series.sunburst",$e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},$e}(SeriesModel);function completeTreeValue(xe){var $e=0;each$f(xe.children,function(Fe){completeTreeValue(Fe);var Ue=Fe.value;isArray$1(Ue)&&(Ue=Ue[0]),$e+=Ue});var Ie=xe.value;isArray$1(Ie)&&(Ie=Ie[0]),(Ie==null||isNaN(Ie))&&(Ie=$e),Ie<0&&(Ie=0),isArray$1(xe.value)?xe.value[0]=Ie:xe.value=Ie}var RADIAN=Math.PI/180;function sunburstLayout(xe,$e,Ie){$e.eachSeriesByType(xe,function(Fe){var Ue=Fe.get("center"),qe=Fe.get("radius");isArray$1(qe)||(qe=[0,qe]),isArray$1(Ue)||(Ue=[Ue,Ue]);var At=Ie.getWidth(),Dt=Ie.getHeight(),Lt=Math.min(At,Dt),jt=parsePercent(Ue[0],At),hn=parsePercent(Ue[1],Dt),vn=parsePercent(qe[0],Lt/2),bn=parsePercent(qe[1],Lt/2),_n=-Fe.get("startAngle")*RADIAN,wn=Fe.get("minAngle")*RADIAN,kn=Fe.getData().tree.root,Cn=Fe.getViewRoot(),Sn=Cn.depth,xn=Fe.get("sort");xn!=null&&initChildren(Cn,xn);var En=0;each$f(Cn.children,function(Dn){!isNaN(Dn.getValue())&&En++});var Tn=Cn.getValue(),An=Math.PI/(Tn||En)*2,$n=Cn.depth>0,Pn=Cn.height-($n?-1:1),Nn=(bn-vn)/(Pn||1),Mn=Fe.get("clockwise"),In=Fe.get("stillShowZeroSum"),On=Mn?1:-1,Rn=function(Dn,Hn){if(Dn){var Fn=Hn;if(Dn!==kn){var zn=Dn.getValue(),jn=Tn===0&&In?An:zn*An;jn1;)At=At.parentNode;var Dt=Ue.getColorFromPalette(At.name||At.dataIndex+"",$e);return Fe.depth>1&&isString(Dt)&&(Dt=lift(Dt,(Fe.depth-1)/(qe-1)*.5)),Dt}xe.eachSeriesByType("sunburst",function(Fe){var Ue=Fe.getData(),qe=Ue.tree;qe.eachNode(function(At){var Dt=At.getModel(),Lt=Dt.getModel("itemStyle").getItemStyle();Lt.fill||(Lt.fill=Ie(At,Fe,qe.root.height));var jt=Ue.ensureUniqueItemVisual(At.dataIndex,"style");extend(jt,Lt)})})}function install$t(xe){xe.registerChartView(SunburstView),xe.registerSeriesModel(SunburstSeriesModel),xe.registerLayout(curry$1(sunburstLayout,"sunburst")),xe.registerProcessor(curry$1(dataFilter$1,"sunburst")),xe.registerVisual(sunburstVisual),installSunburstAction(xe)}var STYLE_VISUAL_TYPE={color:"fill",borderColor:"stroke"},NON_STYLE_VISUAL_PROPS={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},customInnerStore=makeInner(),CustomSeriesModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},$e.prototype.getInitialData=function(Ie,Fe){return createSeriesData(null,this)},$e.prototype.getDataParams=function(Ie,Fe,Ue){var qe=xe.prototype.getDataParams.call(this,Ie,Fe);return Ue&&(qe.info=customInnerStore(Ue).info),qe},$e.type="series.custom",$e.dependencies=["grid","polar","geo","singleAxis","calendar"],$e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},$e}(SeriesModel);function dataToCoordSize$3(xe,$e){return $e=$e||[0,0],map$1(["x","y"],function(Ie,Fe){var Ue=this.getAxis(Ie),qe=$e[Fe],At=xe[Fe]/2;return Ue.type==="category"?Ue.getBandWidth():Math.abs(Ue.dataToCoord(qe-At)-Ue.dataToCoord(qe+At))},this)}function cartesianPrepareCustom(xe){var $e=xe.master.getRect();return{coordSys:{type:"cartesian2d",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$3,xe)}}}function dataToCoordSize$2(xe,$e){return $e=$e||[0,0],map$1([0,1],function(Ie){var Fe=$e[Ie],Ue=xe[Ie]/2,qe=[],At=[];return qe[Ie]=Fe-Ue,At[Ie]=Fe+Ue,qe[1-Ie]=At[1-Ie]=$e[1-Ie],Math.abs(this.dataToPoint(qe)[Ie]-this.dataToPoint(At)[Ie])},this)}function geoPrepareCustom(xe){var $e=xe.getBoundingRect();return{coordSys:{type:"geo",x:$e.x,y:$e.y,width:$e.width,height:$e.height,zoom:xe.getZoom()},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$2,xe)}}}function dataToCoordSize$1(xe,$e){var Ie=this.getAxis(),Fe=$e instanceof Array?$e[0]:$e,Ue=(xe instanceof Array?xe[0]:xe)/2;return Ie.type==="category"?Ie.getBandWidth():Math.abs(Ie.dataToCoord(Fe-Ue)-Ie.dataToCoord(Fe+Ue))}function singlePrepareCustom(xe){var $e=xe.getRect();return{coordSys:{type:"singleAxis",x:$e.x,y:$e.y,width:$e.width,height:$e.height},api:{coord:function(Ie){return xe.dataToPoint(Ie)},size:bind$1(dataToCoordSize$1,xe)}}}function dataToCoordSize(xe,$e){return $e=$e||[0,0],map$1(["Radius","Angle"],function(Ie,Fe){var Ue="get"+Ie+"Axis",qe=this[Ue](),At=$e[Fe],Dt=xe[Fe]/2,Lt=qe.type==="category"?qe.getBandWidth():Math.abs(qe.dataToCoord(At-Dt)-qe.dataToCoord(At+Dt));return Ie==="Angle"&&(Lt=Lt*Math.PI/180),Lt},this)}function polarPrepareCustom(xe){var $e=xe.getRadiusAxis(),Ie=xe.getAngleAxis(),Fe=$e.getExtent();return Fe[0]>Fe[1]&&Fe.reverse(),{coordSys:{type:"polar",cx:xe.cx,cy:xe.cy,r:Fe[1],r0:Fe[0]},api:{coord:function(Ue){var qe=$e.dataToRadius(Ue[0]),At=Ie.dataToAngle(Ue[1]),Dt=xe.coordToPoint([qe,At]);return Dt.push(qe,At*Math.PI/180),Dt},size:bind$1(dataToCoordSize,xe)}}}function calendarPrepareCustom(xe){var $e=xe.getRect(),Ie=xe.getRangeInfo();return{coordSys:{type:"calendar",x:$e.x,y:$e.y,width:$e.width,height:$e.height,cellWidth:xe.getCellWidth(),cellHeight:xe.getCellHeight(),rangeInfo:{start:Ie.start,end:Ie.end,weeks:Ie.weeks,dayCount:Ie.allDay}},api:{coord:function(Fe,Ue){return xe.dataToPoint(Fe,Ue)}}}}function isEC4CompatibleStyle(xe,$e,Ie,Fe){return xe&&(xe.legacy||xe.legacy!==!1&&!Ie&&!Fe&&$e!=="tspan"&&($e==="text"||hasOwn(xe,"text")))}function convertFromEC4CompatibleStyle(xe,$e,Ie){var Fe=xe,Ue,qe,At;if($e==="text")At=Fe;else{At={},hasOwn(Fe,"text")&&(At.text=Fe.text),hasOwn(Fe,"rich")&&(At.rich=Fe.rich),hasOwn(Fe,"textFill")&&(At.fill=Fe.textFill),hasOwn(Fe,"textStroke")&&(At.stroke=Fe.textStroke),hasOwn(Fe,"fontFamily")&&(At.fontFamily=Fe.fontFamily),hasOwn(Fe,"fontSize")&&(At.fontSize=Fe.fontSize),hasOwn(Fe,"fontStyle")&&(At.fontStyle=Fe.fontStyle),hasOwn(Fe,"fontWeight")&&(At.fontWeight=Fe.fontWeight),qe={type:"text",style:At,silent:!0},Ue={};var Dt=hasOwn(Fe,"textPosition");Ie?Ue.position=Dt?Fe.textPosition:"inside":Dt&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textPosition")&&(Ue.position=Fe.textPosition),hasOwn(Fe,"textOffset")&&(Ue.offset=Fe.textOffset),hasOwn(Fe,"textRotation")&&(Ue.rotation=Fe.textRotation),hasOwn(Fe,"textDistance")&&(Ue.distance=Fe.textDistance)}return convertEC4CompatibleRichItem(At,xe),each$f(At.rich,function(Lt){convertEC4CompatibleRichItem(Lt,Lt)}),{textConfig:Ue,textContent:qe}}function convertEC4CompatibleRichItem(xe,$e){$e&&($e.font=$e.textFont||$e.font,hasOwn($e,"textStrokeWidth")&&(xe.lineWidth=$e.textStrokeWidth),hasOwn($e,"textAlign")&&(xe.align=$e.textAlign),hasOwn($e,"textVerticalAlign")&&(xe.verticalAlign=$e.textVerticalAlign),hasOwn($e,"textLineHeight")&&(xe.lineHeight=$e.textLineHeight),hasOwn($e,"textWidth")&&(xe.width=$e.textWidth),hasOwn($e,"textHeight")&&(xe.height=$e.textHeight),hasOwn($e,"textBackgroundColor")&&(xe.backgroundColor=$e.textBackgroundColor),hasOwn($e,"textPadding")&&(xe.padding=$e.textPadding),hasOwn($e,"textBorderColor")&&(xe.borderColor=$e.textBorderColor),hasOwn($e,"textBorderWidth")&&(xe.borderWidth=$e.textBorderWidth),hasOwn($e,"textBorderRadius")&&(xe.borderRadius=$e.textBorderRadius),hasOwn($e,"textBoxShadowColor")&&(xe.shadowColor=$e.textBoxShadowColor),hasOwn($e,"textBoxShadowBlur")&&(xe.shadowBlur=$e.textBoxShadowBlur),hasOwn($e,"textBoxShadowOffsetX")&&(xe.shadowOffsetX=$e.textBoxShadowOffsetX),hasOwn($e,"textBoxShadowOffsetY")&&(xe.shadowOffsetY=$e.textBoxShadowOffsetY))}function convertToEC4StyleForCustomSerise(xe,$e,Ie){var Fe=xe;Fe.textPosition=Fe.textPosition||Ie.position||"inside",Ie.offset!=null&&(Fe.textOffset=Ie.offset),Ie.rotation!=null&&(Fe.textRotation=Ie.rotation),Ie.distance!=null&&(Fe.textDistance=Ie.distance);var Ue=Fe.textPosition.indexOf("inside")>=0,qe=xe.fill||"#000";convertToEC4RichItem(Fe,$e);var At=Fe.textFill==null;return Ue?At&&(Fe.textFill=Ie.insideFill||"#fff",!Fe.textStroke&&Ie.insideStroke&&(Fe.textStroke=Ie.insideStroke),!Fe.textStroke&&(Fe.textStroke=qe),Fe.textStrokeWidth==null&&(Fe.textStrokeWidth=2)):(At&&(Fe.textFill=xe.fill||Ie.outsideFill||"#000"),!Fe.textStroke&&Ie.outsideStroke&&(Fe.textStroke=Ie.outsideStroke)),Fe.text=$e.text,Fe.rich=$e.rich,each$f($e.rich,function(Dt){convertToEC4RichItem(Dt,Dt)}),Fe}function convertToEC4RichItem(xe,$e){$e&&(hasOwn($e,"fill")&&(xe.textFill=$e.fill),hasOwn($e,"stroke")&&(xe.textStroke=$e.fill),hasOwn($e,"lineWidth")&&(xe.textStrokeWidth=$e.lineWidth),hasOwn($e,"font")&&(xe.font=$e.font),hasOwn($e,"fontStyle")&&(xe.fontStyle=$e.fontStyle),hasOwn($e,"fontWeight")&&(xe.fontWeight=$e.fontWeight),hasOwn($e,"fontSize")&&(xe.fontSize=$e.fontSize),hasOwn($e,"fontFamily")&&(xe.fontFamily=$e.fontFamily),hasOwn($e,"align")&&(xe.textAlign=$e.align),hasOwn($e,"verticalAlign")&&(xe.textVerticalAlign=$e.verticalAlign),hasOwn($e,"lineHeight")&&(xe.textLineHeight=$e.lineHeight),hasOwn($e,"width")&&(xe.textWidth=$e.width),hasOwn($e,"height")&&(xe.textHeight=$e.height),hasOwn($e,"backgroundColor")&&(xe.textBackgroundColor=$e.backgroundColor),hasOwn($e,"padding")&&(xe.textPadding=$e.padding),hasOwn($e,"borderColor")&&(xe.textBorderColor=$e.borderColor),hasOwn($e,"borderWidth")&&(xe.textBorderWidth=$e.borderWidth),hasOwn($e,"borderRadius")&&(xe.textBorderRadius=$e.borderRadius),hasOwn($e,"shadowColor")&&(xe.textBoxShadowColor=$e.shadowColor),hasOwn($e,"shadowBlur")&&(xe.textBoxShadowBlur=$e.shadowBlur),hasOwn($e,"shadowOffsetX")&&(xe.textBoxShadowOffsetX=$e.shadowOffsetX),hasOwn($e,"shadowOffsetY")&&(xe.textBoxShadowOffsetY=$e.shadowOffsetY),hasOwn($e,"textShadowColor")&&(xe.textShadowColor=$e.textShadowColor),hasOwn($e,"textShadowBlur")&&(xe.textShadowBlur=$e.textShadowBlur),hasOwn($e,"textShadowOffsetX")&&(xe.textShadowOffsetX=$e.textShadowOffsetX),hasOwn($e,"textShadowOffsetY")&&(xe.textShadowOffsetY=$e.textShadowOffsetY))}var LEGACY_TRANSFORM_PROPS_MAP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},LEGACY_TRANSFORM_PROPS=keys(LEGACY_TRANSFORM_PROPS_MAP);reduce(TRANSFORMABLE_PROPS,function(xe,$e){return xe[$e]=1,xe},{});TRANSFORMABLE_PROPS.join(", ");var ELEMENT_ANIMATABLE_PROPS=["","style","shape","extra"],transitionInnerStore=makeInner();function getElementAnimationConfig(xe,$e,Ie,Fe,Ue){var qe=xe+"Animation",At=getAnimationConfig(xe,Fe,Ue)||{},Dt=transitionInnerStore($e).userDuring;return At.duration>0&&(At.during=Dt?bind$1(duringCall,{el:$e,userDuring:Dt}):null,At.setToFinal=!0,At.scope=xe),extend(At,Ie[qe]),At}function applyUpdateTransition(xe,$e,Ie,Fe){Fe=Fe||{};var Ue=Fe.dataIndex,qe=Fe.isInit,At=Fe.clearStyle,Dt=Ie.isAnimationEnabled(),Lt=transitionInnerStore(xe),jt=$e.style;Lt.userDuring=$e.during;var hn={},vn={};if(prepareTransformAllPropsFinal(xe,$e,vn),prepareShapeOrExtraAllPropsFinal("shape",$e,vn),prepareShapeOrExtraAllPropsFinal("extra",$e,vn),!qe&&Dt&&(prepareTransformTransitionFrom(xe,$e,hn),prepareShapeOrExtraTransitionFrom("shape",xe,$e,hn),prepareShapeOrExtraTransitionFrom("extra",xe,$e,hn),prepareStyleTransitionFrom(xe,$e,jt,hn)),vn.style=jt,applyPropsDirectly(xe,vn,At),applyMiscProps(xe,$e),Dt)if(qe){var bn={};each$f(ELEMENT_ANIMATABLE_PROPS,function(wn){var kn=wn?$e[wn]:$e;kn&&kn.enterFrom&&(wn&&(bn[wn]=bn[wn]||{}),extend(wn?bn[wn]:bn,kn.enterFrom))});var _n=getElementAnimationConfig("enter",xe,$e,Ie,Ue);_n.duration>0&&xe.animateFrom(bn,_n)}else applyPropsTransition(xe,$e,Ue||0,Ie,hn);updateLeaveTo(xe,$e),jt?xe.dirty():xe.markRedraw()}function updateLeaveTo(xe,$e){for(var Ie=transitionInnerStore(xe).leaveToProps,Fe=0;Fe0&&xe.animateFrom(Ue,qe)}}function applyMiscProps(xe,$e){hasOwn($e,"silent")&&(xe.silent=$e.silent),hasOwn($e,"ignore")&&(xe.ignore=$e.ignore),xe instanceof Displayable&&hasOwn($e,"invisible")&&(xe.invisible=$e.invisible),xe instanceof Path&&hasOwn($e,"autoBatch")&&(xe.autoBatch=$e.autoBatch)}var tmpDuringScope={},transitionDuringAPI={setTransform:function(xe,$e){return tmpDuringScope.el[xe]=$e,this},getTransform:function(xe){return tmpDuringScope.el[xe]},setShape:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.shape||(Ie.shape={});return Fe[xe]=$e,Ie.dirtyShape&&Ie.dirtyShape(),this},getShape:function(xe){var $e=tmpDuringScope.el.shape;if($e)return $e[xe]},setStyle:function(xe,$e){var Ie=tmpDuringScope.el,Fe=Ie.style;return Fe&&(Fe[xe]=$e,Ie.dirtyStyle&&Ie.dirtyStyle()),this},getStyle:function(xe){var $e=tmpDuringScope.el.style;if($e)return $e[xe]},setExtra:function(xe,$e){var Ie=tmpDuringScope.el.extra||(tmpDuringScope.el.extra={});return Ie[xe]=$e,this},getExtra:function(xe){var $e=tmpDuringScope.el.extra;if($e)return $e[xe]}};function duringCall(){var xe=this,$e=xe.el;if($e){var Ie=transitionInnerStore($e).userDuring,Fe=xe.userDuring;if(Ie!==Fe){xe.el=xe.userDuring=null;return}tmpDuringScope.el=$e,Fe(transitionDuringAPI)}}function prepareShapeOrExtraTransitionFrom(xe,$e,Ie,Fe){var Ue=Ie[xe];if(Ue){var qe=$e[xe],At;if(qe){var Dt=Ie.transition,Lt=Ue.transition;if(Lt)if(!At&&(At=Fe[xe]={}),isTransitionAll(Lt))extend(At,qe);else for(var jt=normalizeToArray(Lt),hn=0;hn=0){!At&&(At=Fe[xe]={});for(var _n=keys(qe),hn=0;hn<_n.length;hn++){var vn=_n[hn],bn=qe[vn];isNonStyleTransitionEnabled(Ue[vn],bn)&&(At[vn]=bn)}}}}}function prepareShapeOrExtraAllPropsFinal(xe,$e,Ie){var Fe=$e[xe];if(Fe)for(var Ue=Ie[xe]={},qe=keys(Fe),At=0;At=0)){var bn=xe.getAnimationStyleProps(),_n=bn?bn.style:null;if(_n){!qe&&(qe=Fe.style={});for(var wn=keys(Ie),jt=0;jt=0?$e.getStore().get(Hn,Ln):void 0}var Fn=$e.get(Dn.name,Ln),zn=Dn&&Dn.ordinalMeta;return zn?zn.categories[Fn]:Fn}function $n(Vn,Ln){Ln==null&&(Ln=jt);var Dn=$e.getItemVisual(Ln,"style"),Hn=Dn&&Dn.fill,Fn=Dn&&Dn.opacity,zn=xn(Ln,NORMAL).getItemStyle();Hn!=null&&(zn.fill=Hn),Fn!=null&&(zn.opacity=Fn);var jn={inheritColor:isString(Hn)?Hn:"#000"},Gn=En(Ln,NORMAL),Wn=createTextStyle(Gn,null,jn,!1,!0);Wn.text=Gn.getShallow("show")?retrieve2(xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var Xn=createTextConfig(Gn,jn,!1);return Mn(Vn,zn),zn=convertToEC4StyleForCustomSerise(zn,Wn,Xn),Vn&&Nn(zn,Vn),zn.legacy=!0,zn}function Pn(Vn,Ln){Ln==null&&(Ln=jt);var Dn=xn(Ln,EMPHASIS).getItemStyle(),Hn=En(Ln,EMPHASIS),Fn=createTextStyle(Hn,null,null,!0,!0);Fn.text=Hn.getShallow("show")?retrieve3(xe.getFormattedLabel(Ln,EMPHASIS),xe.getFormattedLabel(Ln,NORMAL),getDefaultLabel($e,Ln)):null;var zn=createTextConfig(Hn,null,!0);return Mn(Vn,Dn),Dn=convertToEC4StyleForCustomSerise(Dn,Fn,zn),Vn&&Nn(Dn,Vn),Dn.legacy=!0,Dn}function Nn(Vn,Ln){for(var Dn in Ln)hasOwn(Ln,Dn)&&(Vn[Dn]=Ln[Dn])}function Mn(Vn,Ln){Vn&&(Vn.textFill&&(Ln.textFill=Vn.textFill),Vn.textPosition&&(Ln.textPosition=Vn.textPosition))}function In(Vn,Ln){if(Ln==null&&(Ln=jt),hasOwn(STYLE_VISUAL_TYPE,Vn)){var Dn=$e.getItemVisual(Ln,"style");return Dn?Dn[STYLE_VISUAL_TYPE[Vn]]:null}if(hasOwn(NON_STYLE_VISUAL_PROPS,Vn))return $e.getItemVisual(Ln,Vn)}function On(Vn){if(qe.type==="cartesian2d"){var Ln=qe.getBaseAxis();return getLayoutOnAxis(defaults({axis:Ln},Vn))}}function Rn(){return Ie.getCurrentSeriesIndices()}function Bn(Vn){return getFont(Vn,Ie)}}function wrapEncodeDef(xe){var $e={};return each$f(xe.dimensions,function(Ie){var Fe=xe.getDimensionInfo(Ie);if(!Fe.isExtraCoord){var Ue=Fe.coordDim,qe=$e[Ue]=$e[Ue]||[];qe[Fe.coordDimIndex]=xe.getDimensionIndex(Ie)}}),$e}function createOrUpdateItem(xe,$e,Ie,Fe,Ue,qe,At){if(!Fe){qe.remove($e);return}var Dt=doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe);return Dt&&At.setItemGraphicEl(Ie,Dt),Dt&&toggleHoverEmphasis(Dt,Fe.focus,Fe.blurScope,Fe.emphasisDisabled),Dt}function doCreateOrUpdateEl(xe,$e,Ie,Fe,Ue,qe){var At=-1,Dt=$e;$e&&doesElNeedRecreate($e,Fe,Ue)&&(At=indexOf(qe.childrenRef(),$e),$e=null);var Lt=!$e,jt=$e;jt?jt.clearStates():(jt=createEl$1(Fe),Dt&©Element(Dt,jt)),Fe.morph===!1?jt.disableMorphing=!0:jt.disableMorphing&&(jt.disableMorphing=!1),attachedTxInfoTmp.normal.cfg=attachedTxInfoTmp.normal.conOpt=attachedTxInfoTmp.emphasis.cfg=attachedTxInfoTmp.emphasis.conOpt=attachedTxInfoTmp.blur.cfg=attachedTxInfoTmp.blur.conOpt=attachedTxInfoTmp.select.cfg=attachedTxInfoTmp.select.conOpt=null,attachedTxInfoTmp.isLegacy=!1,doCreateOrUpdateAttachedTx(jt,Ie,Fe,Ue,Lt,attachedTxInfoTmp),doCreateOrUpdateClipPath(jt,Ie,Fe,Ue,Lt),updateElNormal(xe,jt,Ie,Fe,attachedTxInfoTmp,Ue,Lt),hasOwn(Fe,"info")&&(customInnerStore(jt).info=Fe.info);for(var hn=0;hn=0?qe.replaceAt(jt,At):qe.add(jt),jt}function doesElNeedRecreate(xe,$e,Ie){var Fe=customInnerStore(xe),Ue=$e.type,qe=$e.shape,At=$e.style;return Ie.isUniversalTransitionEnabled()||Ue!=null&&Ue!==Fe.customGraphicType||Ue==="path"&&hasOwnPathData(qe)&&getPathData(qe)!==Fe.customPathData||Ue==="image"&&hasOwn(At,"image")&&At.image!==Fe.customImagePath}function doCreateOrUpdateClipPath(xe,$e,Ie,Fe,Ue){var qe=Ie.clipPath;if(qe===!1)xe&&xe.getClipPath()&&xe.removeClipPath();else if(qe){var At=xe.getClipPath();At&&doesElNeedRecreate(At,qe,Fe)&&(At=null),At||(At=createEl$1(qe),xe.setClipPath(At)),updateElNormal(null,At,$e,qe,null,Fe,Ue)}}function doCreateOrUpdateAttachedTx(xe,$e,Ie,Fe,Ue,qe){if(!xe.isGroup){processTxInfo(Ie,null,qe),processTxInfo(Ie,EMPHASIS,qe);var At=qe.normal.conOpt,Dt=qe.emphasis.conOpt,Lt=qe.blur.conOpt,jt=qe.select.conOpt;if(At!=null||Dt!=null||jt!=null||Lt!=null){var hn=xe.getTextContent();if(At===!1)hn&&xe.removeTextContent();else{At=qe.normal.conOpt=At||{type:"text"},hn?hn.clearStates():(hn=createEl$1(At),xe.setTextContent(hn)),updateElNormal(null,hn,$e,At,null,Fe,Ue);for(var vn=At&&At.style,bn=0;bn=hn;_n--){var wn=$e.childAt(_n);removeChildFromGroup($e,wn,Ue)}}}function removeChildFromGroup(xe,$e,Ie){$e&&applyLeaveTransition($e,customInnerStore(xe).option,Ie)}function diffGroupChildren(xe){new DataDiffer(xe.oldChildren,xe.newChildren,getKey,getKey,xe).add(processAddUpdate).update(processAddUpdate).remove(processRemove).execute()}function getKey(xe,$e){var Ie=xe&&xe.name;return Ie??GROUP_DIFF_PREFIX+$e}function processAddUpdate(xe,$e){var Ie=this.context,Fe=xe!=null?Ie.newChildren[xe]:null,Ue=$e!=null?Ie.oldChildren[$e]:null;doCreateOrUpdateEl(Ie.api,Ue,Ie.dataIndex,Fe,Ie.seriesModel,Ie.group)}function processRemove(xe){var $e=this.context,Ie=$e.oldChildren[xe];Ie&&applyLeaveTransition(Ie,customInnerStore(Ie).option,$e.seriesModel)}function getPathData(xe){return xe&&(xe.pathData||xe.d)}function hasOwnPathData(xe){return xe&&(hasOwn(xe,"pathData")||hasOwn(xe,"d"))}function install$s(xe){xe.registerChartView(CustomChartView),xe.registerSeriesModel(CustomSeriesModel)}var inner$b=makeInner(),clone$1=clone$4,bind=bind$1,BaseAxisPointer=function(){function xe(){this._dragging=!1,this.animationThreshold=15}return xe.prototype.render=function($e,Ie,Fe,Ue){var qe=Ie.get("value"),At=Ie.get("status");if(this._axisModel=$e,this._axisPointerModel=Ie,this._api=Fe,!(!Ue&&this._lastValue===qe&&this._lastStatus===At)){this._lastValue=qe,this._lastStatus=At;var Dt=this._group,Lt=this._handle;if(!At||At==="hide"){Dt&&Dt.hide(),Lt&&Lt.hide();return}Dt&&Dt.show(),Lt&&Lt.show();var jt={};this.makeElOption(jt,qe,$e,Ie,Fe);var hn=jt.graphicKey;hn!==this._lastGraphicKey&&this.clear(Fe),this._lastGraphicKey=hn;var vn=this._moveAnimation=this.determineAnimation($e,Ie);if(!Dt)Dt=this._group=new Group$3,this.createPointerEl(Dt,jt,$e,Ie),this.createLabelEl(Dt,jt,$e,Ie),Fe.getZr().add(Dt);else{var bn=curry$1(updateProps,Ie,vn);this.updatePointerEl(Dt,jt,bn),this.updateLabelEl(Dt,jt,bn,Ie)}updateMandatoryProps(Dt,Ie,!0),this._renderHandle(qe)}},xe.prototype.remove=function($e){this.clear($e)},xe.prototype.dispose=function($e){this.clear($e)},xe.prototype.determineAnimation=function($e,Ie){var Fe=Ie.get("animation"),Ue=$e.axis,qe=Ue.type==="category",At=Ie.get("snap");if(!At&&!qe)return!1;if(Fe==="auto"||Fe==null){var Dt=this.animationThreshold;if(qe&&Ue.getBandWidth()>Dt)return!0;if(At){var Lt=getAxisInfo$1($e).seriesDataCount,jt=Ue.getExtent();return Math.abs(jt[0]-jt[1])/Lt>Dt}return!1}return Fe===!0},xe.prototype.makeElOption=function($e,Ie,Fe,Ue,qe){},xe.prototype.createPointerEl=function($e,Ie,Fe,Ue){var qe=Ie.pointer;if(qe){var At=inner$b($e).pointerEl=new graphic[qe.type](clone$1(Ie.pointer));$e.add(At)}},xe.prototype.createLabelEl=function($e,Ie,Fe,Ue){if(Ie.label){var qe=inner$b($e).labelEl=new ZRText(clone$1(Ie.label));$e.add(qe),updateLabelShowHide(qe,Ue)}},xe.prototype.updatePointerEl=function($e,Ie,Fe){var Ue=inner$b($e).pointerEl;Ue&&Ie.pointer&&(Ue.setStyle(Ie.pointer.style),Fe(Ue,{shape:Ie.pointer.shape}))},xe.prototype.updateLabelEl=function($e,Ie,Fe,Ue){var qe=inner$b($e).labelEl;qe&&(qe.setStyle(Ie.label.style),Fe(qe,{x:Ie.label.x,y:Ie.label.y}),updateLabelShowHide(qe,Ue))},xe.prototype._renderHandle=function($e){if(!(this._dragging||!this.updateHandleTransform)){var Ie=this._axisPointerModel,Fe=this._api.getZr(),Ue=this._handle,qe=Ie.getModel("handle"),At=Ie.get("status");if(!qe.get("show")||!At||At==="hide"){Ue&&Fe.remove(Ue),this._handle=null;return}var Dt;this._handle||(Dt=!0,Ue=this._handle=createIcon(qe.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(jt){stop(jt.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),Fe.add(Ue)),updateMandatoryProps(Ue,Ie,!1),Ue.setStyle(qe.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var Lt=qe.get("size");isArray$1(Lt)||(Lt=[Lt,Lt]),Ue.scaleX=Lt[0]/2,Ue.scaleY=Lt[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",qe.get("throttle")||0,"fixRate"),this._moveHandleToValue($e,Dt)}},xe.prototype._moveHandleToValue=function($e,Ie){updateProps(this._axisPointerModel,!Ie&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform($e,this._axisModel,this._axisPointerModel)))},xe.prototype._onHandleDragMove=function($e,Ie){var Fe=this._handle;if(Fe){this._dragging=!0;var Ue=this.updateHandleTransform(getHandleTransProps(Fe),[$e,Ie],this._axisModel,this._axisPointerModel);this._payloadInfo=Ue,Fe.stopAnimation(),Fe.attr(getHandleTransProps(Ue)),inner$b(Fe).lastProp=null,this._doDispatchAxisPointer()}},xe.prototype._doDispatchAxisPointer=function(){var $e=this._handle;if($e){var Ie=this._payloadInfo,Fe=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:Ie.cursorPoint[0],y:Ie.cursorPoint[1],tooltipOption:Ie.tooltipOption,axesInfo:[{axisDim:Fe.axis.dim,axisIndex:Fe.componentIndex}]})}},xe.prototype._onHandleDragEnd=function(){this._dragging=!1;var $e=this._handle;if($e){var Ie=this._axisPointerModel.get("value");this._moveHandleToValue(Ie),this._api.dispatchAction({type:"hideTip"})}},xe.prototype.clear=function($e){this._lastValue=null,this._lastStatus=null;var Ie=$e.getZr(),Fe=this._group,Ue=this._handle;Ie&&Fe&&(this._lastGraphicKey=null,Fe&&Ie.remove(Fe),Ue&&Ie.remove(Ue),this._group=null,this._handle=null,this._payloadInfo=null),clear$1(this,"_doDispatchAxisPointer")},xe.prototype.doClear=function(){},xe.prototype.buildLabel=function($e,Ie,Fe){return Fe=Fe||0,{x:$e[Fe],y:$e[1-Fe],width:Ie[Fe],height:Ie[1-Fe]}},xe}();function updateProps(xe,$e,Ie,Fe){propsEqual(inner$b(Ie).lastProp,Fe)||(inner$b(Ie).lastProp=Fe,$e?updateProps$1(Ie,Fe,xe):(Ie.stopAnimation(),Ie.attr(Fe)))}function propsEqual(xe,$e){if(isObject$3(xe)&&isObject$3($e)){var Ie=!0;return each$f($e,function(Fe,Ue){Ie=Ie&&propsEqual(xe[Ue],Fe)}),!!Ie}else return xe===$e}function updateLabelShowHide(xe,$e){xe[$e.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(xe){return{x:xe.x||0,y:xe.y||0,rotation:xe.rotation||0}}function updateMandatoryProps(xe,$e,Ie){var Fe=$e.get("z"),Ue=$e.get("zlevel");xe&&xe.traverse(function(qe){qe.type!=="group"&&(Fe!=null&&(qe.z=Fe),Ue!=null&&(qe.zlevel=Ue),qe.silent=Ie)})}function buildElStyle(xe){var $e=xe.get("type"),Ie=xe.getModel($e+"Style"),Fe;return $e==="line"?(Fe=Ie.getLineStyle(),Fe.fill=null):$e==="shadow"&&(Fe=Ie.getAreaStyle(),Fe.stroke=null),Fe}function buildLabelElOption(xe,$e,Ie,Fe,Ue){var qe=Ie.get("value"),At=getValueLabel(qe,$e.axis,$e.ecModel,Ie.get("seriesDataIndices"),{precision:Ie.get(["label","precision"]),formatter:Ie.get(["label","formatter"])}),Dt=Ie.getModel("label"),Lt=normalizeCssArray(Dt.get("padding")||0),jt=Dt.getFont(),hn=getBoundingRect(At,jt),vn=Ue.position,bn=hn.width+Lt[1]+Lt[3],_n=hn.height+Lt[0]+Lt[2],wn=Ue.align;wn==="right"&&(vn[0]-=bn),wn==="center"&&(vn[0]-=bn/2);var kn=Ue.verticalAlign;kn==="bottom"&&(vn[1]-=_n),kn==="middle"&&(vn[1]-=_n/2),confineInContainer(vn,bn,_n,Fe);var Cn=Dt.get("backgroundColor");(!Cn||Cn==="auto")&&(Cn=$e.get(["axisLine","lineStyle","color"])),xe.label={x:vn[0],y:vn[1],style:createTextStyle(Dt,{text:At,font:jt,fill:Dt.getTextColor(),padding:Lt,backgroundColor:Cn}),z2:10}}function confineInContainer(xe,$e,Ie,Fe){var Ue=Fe.getWidth(),qe=Fe.getHeight();xe[0]=Math.min(xe[0]+$e,Ue)-$e,xe[1]=Math.min(xe[1]+Ie,qe)-Ie,xe[0]=Math.max(xe[0],0),xe[1]=Math.max(xe[1],0)}function getValueLabel(xe,$e,Ie,Fe,Ue){xe=$e.scale.parse(xe);var qe=$e.scale.getLabel({value:xe},{precision:Ue.precision}),At=Ue.formatter;if(At){var Dt={value:getAxisRawValue($e,{value:xe}),axisDimension:$e.dim,axisIndex:$e.index,seriesData:[]};each$f(Fe,function(Lt){var jt=Ie.getSeriesByIndex(Lt.seriesIndex),hn=Lt.dataIndexInside,vn=jt&&jt.getDataParams(hn);vn&&Dt.seriesData.push(vn)}),isString(At)?qe=At.replace("{value}",qe):isFunction(At)&&(qe=At(Dt))}return qe}function getTransformedPosition(xe,$e,Ie){var Fe=create$1();return rotate(Fe,Fe,Ie.rotation),translate(Fe,Fe,Ie.position),applyTransform([xe.dataToCoord($e),(Ie.labelOffset||0)+(Ie.labelDirection||1)*(Ie.labelMargin||0)],Fe)}function buildCartesianSingleLabelElOption(xe,$e,Ie,Fe,Ue,qe){var At=AxisBuilder.innerTextLayout(Ie.rotation,0,Ie.labelDirection);Ie.labelMargin=Ue.get(["label","margin"]),buildLabelElOption($e,Fe,Ue,qe,{position:getTransformedPosition(Fe.axis,xe,Ie),align:At.textAlign,verticalAlign:At.textVerticalAlign})}function makeLineShape(xe,$e,Ie){return Ie=Ie||0,{x1:xe[Ie],y1:xe[1-Ie],x2:$e[Ie],y2:$e[1-Ie]}}function makeRectShape(xe,$e,Ie){return Ie=Ie||0,{x:xe[Ie],y:xe[1-Ie],width:$e[Ie],height:$e[1-Ie]}}function makeSectorShape(xe,$e,Ie,Fe,Ue,qe){return{cx:xe,cy:$e,r0:Ie,r:Fe,startAngle:Ue,endAngle:qe,clockwise:!0}}var CartesianAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.grid,jt=qe.get("type"),hn=getCartesian(Lt,Dt).getOtherAxis(Dt).getGlobalExtent(),vn=Dt.toGlobalCoord(Dt.dataToCoord(Fe,!0));if(jt&&jt!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder$2[jt](Dt,vn,hn);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$2(Lt.model,Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$2(Fe.axis.grid.model,Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.grid,Lt=At.getGlobalExtent(!0),jt=getCartesian(Dt,At).getOtherAxis(At).getGlobalExtent(),hn=At.dim==="x"?0:1,vn=[Ie.x,Ie.y];vn[hn]+=Fe[hn],vn[hn]=Math.min(Lt[1],vn[hn]),vn[hn]=Math.max(Lt[0],vn[hn]);var bn=(jt[1]+jt[0])/2,_n=[bn,bn];_n[hn]=vn[hn];var wn=[{verticalAlign:"middle"},{align:"center"}];return{x:vn[0],y:vn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:wn[hn]}},$e}(BaseAxisPointer);function getCartesian(xe,$e){var Ie={};return Ie[$e.dim+"AxisIndex"]=$e.index,xe.getCartesian(Ie)}var pointerShapeBuilder$2={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getAxisDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=Math.max(1,xe.getBandWidth()),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getAxisDimIndex(xe))}}};function getAxisDimIndex(xe){return xe.dim==="x"?0:1}var AxisPointerModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="axisPointer",$e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},$e}(ComponentModel),inner$a=makeInner(),each$8=each$f;function register(xe,$e,Ie){if(!env.node){var Fe=$e.getZr();inner$a(Fe).records||(inner$a(Fe).records={}),initGlobalListeners(Fe,$e);var Ue=inner$a(Fe).records[xe]||(inner$a(Fe).records[xe]={});Ue.handler=Ie}}function initGlobalListeners(xe,$e){if(inner$a(xe).initialized)return;inner$a(xe).initialized=!0,Ie("click",curry$1(doEnter,"click")),Ie("mousemove",curry$1(doEnter,"mousemove")),Ie("globalout",onLeave);function Ie(Fe,Ue){xe.on(Fe,function(qe){var At=makeDispatchAction$1($e);each$8(inner$a(xe).records,function(Dt){Dt&&Ue(Dt,qe,At.dispatchAction)}),dispatchTooltipFinally(At.pendings,$e)})}}function dispatchTooltipFinally(xe,$e){var Ie=xe.showTip.length,Fe=xe.hideTip.length,Ue;Ie?Ue=xe.showTip[Ie-1]:Fe&&(Ue=xe.hideTip[Fe-1]),Ue&&(Ue.dispatchAction=null,$e.dispatchAction(Ue))}function onLeave(xe,$e,Ie){xe.handler("leave",null,Ie)}function doEnter(xe,$e,Ie,Fe){$e.handler(xe,Ie,Fe)}function makeDispatchAction$1(xe){var $e={showTip:[],hideTip:[]},Ie=function(Fe){var Ue=$e[Fe.type];Ue?Ue.push(Fe):(Fe.dispatchAction=Ie,xe.dispatchAction(Fe))};return{dispatchAction:Ie,pendings:$e}}function unregister(xe,$e){if(!env.node){var Ie=$e.getZr(),Fe=(inner$a(Ie).records||{})[xe];Fe&&(inner$a(Ie).records[xe]=null)}}var AxisPointerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=Fe.getComponent("tooltip"),At=Ie.get("triggerOn")||qe&&qe.get("triggerOn")||"mousemove|click";register("axisPointer",Ue,function(Dt,Lt,jt){At!=="none"&&(Dt==="leave"||At.indexOf(Dt)>=0)&&jt({type:"updateAxisPointer",currTrigger:Dt,x:Lt&&Lt.offsetX,y:Lt&&Lt.offsetY})})},$e.prototype.remove=function(Ie,Fe){unregister("axisPointer",Fe)},$e.prototype.dispose=function(Ie,Fe){unregister("axisPointer",Fe)},$e.type="axisPointer",$e}(ComponentView);function findPointFromSeries(xe,$e){var Ie=[],Fe=xe.seriesIndex,Ue;if(Fe==null||!(Ue=$e.getSeriesByIndex(Fe)))return{point:[]};var qe=Ue.getData(),At=queryDataIndex(qe,xe);if(At==null||At<0||isArray$1(At))return{point:[]};var Dt=qe.getItemGraphicEl(At),Lt=Ue.coordinateSystem;if(Ue.getTooltipPosition)Ie=Ue.getTooltipPosition(At)||[];else if(Lt&&Lt.dataToPoint)if(xe.isStacked){var jt=Lt.getBaseAxis(),hn=Lt.getOtherAxis(jt),vn=hn.dim,bn=jt.dim,_n=vn==="x"||vn==="radius"?1:0,wn=qe.mapDimension(bn),kn=[];kn[_n]=qe.get(wn,At),kn[1-_n]=qe.get(qe.getCalculationInfo("stackResultDimension"),At),Ie=Lt.dataToPoint(kn)||[]}else Ie=Lt.dataToPoint(qe.getValues(map$1(Lt.dimensions,function(Sn){return qe.mapDimension(Sn)}),At))||[];else if(Dt){var Cn=Dt.getBoundingRect().clone();Cn.applyTransform(Dt.transform),Ie=[Cn.x+Cn.width/2,Cn.y+Cn.height/2]}return{point:Ie,el:Dt}}var inner$9=makeInner();function axisTrigger(xe,$e,Ie){var Fe=xe.currTrigger,Ue=[xe.x,xe.y],qe=xe,At=xe.dispatchAction||bind$1(Ie.dispatchAction,Ie),Dt=$e.getComponent("axisPointer").coordSysAxesInfo;if(Dt){illegalPoint(Ue)&&(Ue=findPointFromSeries({seriesIndex:qe.seriesIndex,dataIndex:qe.dataIndex},$e).point);var Lt=illegalPoint(Ue),jt=qe.axesInfo,hn=Dt.axesInfo,vn=Fe==="leave"||illegalPoint(Ue),bn={},_n={},wn={list:[],map:{}},kn={showPointer:curry$1(showPointer,_n),showTooltip:curry$1(showTooltip,wn)};each$f(Dt.coordSysMap,function(Sn,xn){var En=Lt||Sn.containPoint(Ue);each$f(Dt.coordSysAxesInfo[xn],function(Tn,An){var $n=Tn.axis,Pn=findInputAxisInfo(jt,Tn);if(!vn&&En&&(!jt||Pn)){var Nn=Pn&&Pn.value;Nn==null&&!Lt&&(Nn=$n.pointToData(Ue)),Nn!=null&&processOnAxis(Tn,Nn,kn,!1,bn)}})});var Cn={};return each$f(hn,function(Sn,xn){var En=Sn.linkGroup;En&&!_n[xn]&&each$f(En.axesInfo,function(Tn,An){var $n=_n[An];if(Tn!==Sn&&$n){var Pn=$n.value;En.mapper&&(Pn=Sn.axis.scale.parse(En.mapper(Pn,makeMapperParam(Tn),makeMapperParam(Sn)))),Cn[Sn.key]=Pn}})}),each$f(Cn,function(Sn,xn){processOnAxis(hn[xn],Sn,kn,!0,bn)}),updateModelActually(_n,hn,bn),dispatchTooltipActually(wn,Ue,xe,At),dispatchHighDownActually(hn,At,Ie),bn}}function processOnAxis(xe,$e,Ie,Fe,Ue){var qe=xe.axis;if(!(qe.scale.isBlank()||!qe.containData($e))){if(!xe.involveSeries){Ie.showPointer(xe,$e);return}var At=buildPayloadsBySeries($e,xe),Dt=At.payloadBatch,Lt=At.snapToValue;Dt[0]&&Ue.seriesIndex==null&&extend(Ue,Dt[0]),!Fe&&xe.snap&&qe.containData(Lt)&&Lt!=null&&($e=Lt),Ie.showPointer(xe,$e,Dt),Ie.showTooltip(xe,At,Lt)}}function buildPayloadsBySeries(xe,$e){var Ie=$e.axis,Fe=Ie.dim,Ue=xe,qe=[],At=Number.MAX_VALUE,Dt=-1;return each$f($e.seriesModels,function(Lt,jt){var hn=Lt.getData().mapDimensionsAll(Fe),vn,bn;if(Lt.getAxisTooltipData){var _n=Lt.getAxisTooltipData(hn,xe,Ie);bn=_n.dataIndices,vn=_n.nestestValue}else{if(bn=Lt.getData().indicesOfNearest(hn[0],xe,Ie.type==="category"?.5:null),!bn.length)return;vn=Lt.getData().get(hn[0],bn[0])}if(!(vn==null||!isFinite(vn))){var wn=xe-vn,kn=Math.abs(wn);kn<=At&&((kn=0&&Dt<0)&&(At=kn,Dt=wn,Ue=vn,qe.length=0),each$f(bn,function(Cn){qe.push({seriesIndex:Lt.seriesIndex,dataIndexInside:Cn,dataIndex:Lt.getData().getRawIndex(Cn)})}))}}),{payloadBatch:qe,snapToValue:Ue}}function showPointer(xe,$e,Ie,Fe){xe[$e.key]={value:Ie,payloadBatch:Fe}}function showTooltip(xe,$e,Ie,Fe){var Ue=Ie.payloadBatch,qe=$e.axis,At=qe.model,Dt=$e.axisPointerModel;if(!(!$e.triggerTooltip||!Ue.length)){var Lt=$e.coordSys.model,jt=makeKey(Lt),hn=xe.map[jt];hn||(hn=xe.map[jt]={coordSysId:Lt.id,coordSysIndex:Lt.componentIndex,coordSysType:Lt.type,coordSysMainType:Lt.mainType,dataByAxis:[]},xe.list.push(hn)),hn.dataByAxis.push({axisDim:qe.dim,axisIndex:At.componentIndex,axisType:At.type,axisId:At.id,value:Fe,valueLabelOpt:{precision:Dt.get(["label","precision"]),formatter:Dt.get(["label","formatter"])},seriesDataIndices:Ue.slice()})}}function updateModelActually(xe,$e,Ie){var Fe=Ie.axesInfo=[];each$f($e,function(Ue,qe){var At=Ue.axisPointerModel.option,Dt=xe[qe];Dt?(!Ue.useHandle&&(At.status="show"),At.value=Dt.value,At.seriesDataIndices=(Dt.payloadBatch||[]).slice()):!Ue.useHandle&&(At.status="hide"),At.status==="show"&&Fe.push({axisDim:Ue.axis.dim,axisIndex:Ue.axis.model.componentIndex,value:At.value})})}function dispatchTooltipActually(xe,$e,Ie,Fe){if(illegalPoint($e)||!xe.list.length){Fe({type:"hideTip"});return}var Ue=((xe.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};Fe({type:"showTip",escapeConnect:!0,x:$e[0],y:$e[1],tooltipOption:Ie.tooltipOption,position:Ie.position,dataIndexInside:Ue.dataIndexInside,dataIndex:Ue.dataIndex,seriesIndex:Ue.seriesIndex,dataByCoordSys:xe.list})}function dispatchHighDownActually(xe,$e,Ie){var Fe=Ie.getZr(),Ue="axisPointerLastHighlights",qe=inner$9(Fe)[Ue]||{},At=inner$9(Fe)[Ue]={};each$f(xe,function(jt,hn){var vn=jt.axisPointerModel.option;vn.status==="show"&&jt.triggerEmphasis&&each$f(vn.seriesDataIndices,function(bn){var _n=bn.seriesIndex+" | "+bn.dataIndex;At[_n]=bn})});var Dt=[],Lt=[];each$f(qe,function(jt,hn){!At[hn]&&Lt.push(jt)}),each$f(At,function(jt,hn){!qe[hn]&&Dt.push(jt)}),Lt.length&&Ie.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:Lt}),Dt.length&&Ie.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:Dt})}function findInputAxisInfo(xe,$e){for(var Ie=0;Ie<(xe||[]).length;Ie++){var Fe=xe[Ie];if($e.axis.dim===Fe.axisDim&&$e.axis.model.componentIndex===Fe.axisIndex)return Fe}}function makeMapperParam(xe){var $e=xe.axis.model,Ie={},Fe=Ie.axisDim=xe.axis.dim;return Ie.axisIndex=Ie[Fe+"AxisIndex"]=$e.componentIndex,Ie.axisName=Ie[Fe+"AxisName"]=$e.name,Ie.axisId=Ie[Fe+"AxisId"]=$e.id,Ie}function illegalPoint(xe){return!xe||xe[0]==null||isNaN(xe[0])||xe[1]==null||isNaN(xe[1])}function install$r(xe){AxisView.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer),xe.registerComponentModel(AxisPointerModel),xe.registerComponentView(AxisPointerView),xe.registerPreprocessor(function($e){if($e){(!$e.axisPointer||$e.axisPointer.length===0)&&($e.axisPointer={});var Ie=$e.axisPointer.link;Ie&&!isArray$1(Ie)&&($e.axisPointer.link=[Ie])}}),xe.registerProcessor(xe.PRIORITY.PROCESSOR.STATISTIC,function($e,Ie){$e.getComponent("axisPointer").coordSysAxesInfo=collect($e,Ie)}),xe.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function install$q(xe){use(install$O),use(install$r)}var PolarAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis;Dt.dim==="angle"&&(this.animationThreshold=Math.PI/18);var Lt=Dt.polar,jt=Lt.getOtherAxis(Dt),hn=jt.getExtent(),vn=Dt.dataToCoord(Fe),bn=qe.get("type");if(bn&&bn!=="none"){var _n=buildElStyle(qe),wn=pointerShapeBuilder$1[bn](Dt,Lt,vn,hn);wn.style=_n,Ie.graphicKey=wn.type,Ie.pointer=wn}var kn=qe.get(["label","margin"]),Cn=getLabelPosition(Fe,Ue,qe,Lt,kn);buildLabelElOption(Ie,Ue,qe,At,Cn)},$e}(BaseAxisPointer);function getLabelPosition(xe,$e,Ie,Fe,Ue){var qe=$e.axis,At=qe.dataToCoord(xe),Dt=Fe.getAngleAxis().getExtent()[0];Dt=Dt/180*Math.PI;var Lt=Fe.getRadiusAxis().getExtent(),jt,hn,vn;if(qe.dim==="radius"){var bn=create$1();rotate(bn,bn,Dt),translate(bn,bn,[Fe.cx,Fe.cy]),jt=applyTransform([At,-Ue],bn);var _n=$e.getModel("axisLabel").get("rotate")||0,wn=AxisBuilder.innerTextLayout(Dt,_n*Math.PI/180,-1);hn=wn.textAlign,vn=wn.textVerticalAlign}else{var kn=Lt[1];jt=Fe.coordToPoint([kn+Ue,At]);var Cn=Fe.cx,Sn=Fe.cy;hn=Math.abs(jt[0]-Cn)/kn<.3?"center":jt[0]>Cn?"left":"right",vn=Math.abs(jt[1]-Sn)/kn<.3?"middle":jt[1]>Sn?"top":"bottom"}return{position:jt,align:hn,verticalAlign:vn}}var pointerShapeBuilder$1={line:function(xe,$e,Ie,Fe){return xe.dim==="angle"?{type:"Line",shape:makeLineShape($e.coordToPoint([Fe[0],Ie]),$e.coordToPoint([Fe[1],Ie]))}:{type:"Circle",shape:{cx:$e.cx,cy:$e.cy,r:Ie}}},shadow:function(xe,$e,Ie,Fe){var Ue=Math.max(1,xe.getBandWidth()),qe=Math.PI/180;return xe.dim==="angle"?{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Fe[0],Fe[1],(-Ie-Ue/2)*qe,(-Ie+Ue/2)*qe)}:{type:"Sector",shape:makeSectorShape($e.cx,$e.cy,Ie-Ue/2,Ie+Ue/2,0,Math.PI*2)}}},PolarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.findAxisModel=function(Ie){var Fe,Ue=this.ecModel;return Ue.eachComponent(Ie,function(qe){qe.getCoordSysModel()===this&&(Fe=qe)},this),Fe},$e.type="polar",$e.dependencies=["radiusAxis","angleAxis"],$e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},$e}(ComponentModel),PolarAxisModel=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",SINGLE_REFERRING).models[0]},$e.type="polarAxis",$e}(ComponentModel);mixin(PolarAxisModel,AxisModelCommonMixin);var AngleAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="angleAxis",$e}(PolarAxisModel),RadiusAxisModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="radiusAxis",$e}(PolarAxisModel),RadiusAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"radius",Ie,Fe)||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e}(Axis);RadiusAxis.prototype.dataToRadius=Axis.prototype.dataToCoord;RadiusAxis.prototype.radiusToData=Axis.prototype.coordToData;var inner$8=makeInner(),AngleAxis=function(xe){__extends($e,xe);function $e(Ie,Fe){return xe.call(this,"angle",Ie,Fe||[0,360])||this}return $e.prototype.pointToData=function(Ie,Fe){return this.polar.pointToData(Ie,Fe)[this.dim==="radius"?0:1]},$e.prototype.calculateCategoryInterval=function(){var Ie=this,Fe=Ie.getLabelModel(),Ue=Ie.scale,qe=Ue.getExtent(),At=Ue.count();if(qe[1]-qe[0]<1)return 0;var Dt=qe[0],Lt=Ie.dataToCoord(Dt+1)-Ie.dataToCoord(Dt),jt=Math.abs(Lt),hn=getBoundingRect(Dt==null?"":Dt+"",Fe.getFont(),"center","top"),vn=Math.max(hn.height,7),bn=vn/jt;isNaN(bn)&&(bn=1/0);var _n=Math.max(0,Math.floor(bn)),wn=inner$8(Ie.model),kn=wn.lastAutoInterval,Cn=wn.lastTickCount;return kn!=null&&Cn!=null&&Math.abs(kn-_n)<=1&&Math.abs(Cn-At)<=1&&kn>_n?_n=kn:(wn.lastTickCount=At,wn.lastAutoInterval=_n),_n},$e}(Axis);AngleAxis.prototype.dataToAngle=Axis.prototype.dataToCoord;AngleAxis.prototype.angleToData=Axis.prototype.coordToData;var polarDimensions=["radius","angle"],Polar=function(){function xe($e){this.dimensions=polarDimensions,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new RadiusAxis,this._angleAxis=new AngleAxis,this.axisPointerEnabled=!0,this.name=$e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return xe.prototype.containPoint=function($e){var Ie=this.pointToCoord($e);return this._radiusAxis.contain(Ie[0])&&this._angleAxis.contain(Ie[1])},xe.prototype.containData=function($e){return this._radiusAxis.containData($e[0])&&this._angleAxis.containData($e[1])},xe.prototype.getAxis=function($e){var Ie="_"+$e+"Axis";return this[Ie]},xe.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},xe.prototype.getAxesByScale=function($e){var Ie=[],Fe=this._angleAxis,Ue=this._radiusAxis;return Fe.scale.type===$e&&Ie.push(Fe),Ue.scale.type===$e&&Ie.push(Ue),Ie},xe.prototype.getAngleAxis=function(){return this._angleAxis},xe.prototype.getRadiusAxis=function(){return this._radiusAxis},xe.prototype.getOtherAxis=function($e){var Ie=this._angleAxis;return $e===Ie?this._radiusAxis:Ie},xe.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},xe.prototype.getTooltipAxes=function($e){var Ie=$e!=null&&$e!=="auto"?this.getAxis($e):this.getBaseAxis();return{baseAxes:[Ie],otherAxes:[this.getOtherAxis(Ie)]}},xe.prototype.dataToPoint=function($e,Ie){return this.coordToPoint([this._radiusAxis.dataToRadius($e[0],Ie),this._angleAxis.dataToAngle($e[1],Ie)])},xe.prototype.pointToData=function($e,Ie){var Fe=this.pointToCoord($e);return[this._radiusAxis.radiusToData(Fe[0],Ie),this._angleAxis.angleToData(Fe[1],Ie)]},xe.prototype.pointToCoord=function($e){var Ie=$e[0]-this.cx,Fe=$e[1]-this.cy,Ue=this.getAngleAxis(),qe=Ue.getExtent(),At=Math.min(qe[0],qe[1]),Dt=Math.max(qe[0],qe[1]);Ue.inverse?At=Dt-360:Dt=At+360;var Lt=Math.sqrt(Ie*Ie+Fe*Fe);Ie/=Lt,Fe/=Lt;for(var jt=Math.atan2(-Fe,Ie)/Math.PI*180,hn=jtDt;)jt+=hn*360;return[Lt,jt]},xe.prototype.coordToPoint=function($e){var Ie=$e[0],Fe=$e[1]/180*Math.PI,Ue=Math.cos(Fe)*Ie+this.cx,qe=-Math.sin(Fe)*Ie+this.cy;return[Ue,qe]},xe.prototype.getArea=function(){var $e=this.getAngleAxis(),Ie=this.getRadiusAxis(),Fe=Ie.getExtent().slice();Fe[0]>Fe[1]&&Fe.reverse();var Ue=$e.getExtent(),qe=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:Fe[0],r:Fe[1],startAngle:-Ue[0]*qe,endAngle:-Ue[1]*qe,clockwise:$e.inverse,contain:function(At,Dt){var Lt=At-this.cx,jt=Dt-this.cy,hn=Lt*Lt+jt*jt-1e-4,vn=this.r,bn=this.r0;return hn<=vn*vn&&hn>=bn*bn}}},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$2(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$2(xe){var $e=xe.seriesModel,Ie=xe.polarModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}const Polar$1=Polar;function resizePolar(xe,$e,Ie){var Fe=$e.get("center"),Ue=Ie.getWidth(),qe=Ie.getHeight();xe.cx=parsePercent(Fe[0],Ue),xe.cy=parsePercent(Fe[1],qe);var At=xe.getRadiusAxis(),Dt=Math.min(Ue,qe)/2,Lt=$e.get("radius");Lt==null?Lt=[0,"100%"]:isArray$1(Lt)||(Lt=[0,Lt]);var jt=[parsePercent(Lt[0],Dt),parsePercent(Lt[1],Dt)];At.inverse?At.setExtent(jt[1],jt[0]):At.setExtent(jt[0],jt[1])}function updatePolarScale(xe,$e){var Ie=this,Fe=Ie.getAngleAxis(),Ue=Ie.getRadiusAxis();if(Fe.scale.setExtent(1/0,-1/0),Ue.scale.setExtent(1/0,-1/0),xe.eachSeries(function(Dt){if(Dt.coordinateSystem===Ie){var Lt=Dt.getData();each$f(getDataDimensionsOnAxis(Lt,"radius"),function(jt){Ue.scale.unionExtentFromData(Lt,jt)}),each$f(getDataDimensionsOnAxis(Lt,"angle"),function(jt){Fe.scale.unionExtentFromData(Lt,jt)})}}),niceScaleExtent(Fe.scale,Fe.model),niceScaleExtent(Ue.scale,Ue.model),Fe.type==="category"&&!Fe.onBand){var qe=Fe.getExtent(),At=360/Fe.scale.count();Fe.inverse?qe[1]+=At:qe[1]-=At,Fe.setExtent(qe[0],qe[1])}}function isAngleAxisModel(xe){return xe.mainType==="angleAxis"}function setAxis(xe,$e){var Ie;if(xe.type=$e.get("type"),xe.scale=createScaleByModel$1($e),xe.onBand=$e.get("boundaryGap")&&xe.type==="category",xe.inverse=$e.get("inverse"),isAngleAxisModel($e)){xe.inverse=xe.inverse!==$e.get("clockwise");var Fe=$e.get("startAngle"),Ue=(Ie=$e.get("endAngle"))!==null&&Ie!==void 0?Ie:Fe+(xe.inverse?-360:360);xe.setExtent(Fe,Ue)}$e.axis=xe,xe.model=$e}var polarCreator={dimensions:polarDimensions,create:function(xe,$e){var Ie=[];return xe.eachComponent("polar",function(Fe,Ue){var qe=new Polar$1(Ue+"");qe.update=updatePolarScale;var At=qe.getRadiusAxis(),Dt=qe.getAngleAxis(),Lt=Fe.findAxisModel("radiusAxis"),jt=Fe.findAxisModel("angleAxis");setAxis(At,Lt),setAxis(Dt,jt),resizePolar(qe,Fe,$e),Ie.push(qe),Fe.coordinateSystem=qe,qe.model=Fe}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="polar"){var Ue=Fe.getReferringComponents("polar",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue.coordinateSystem}}),Ie}},elementList=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function getAxisLineShape(xe,$e,Ie){$e[1]>$e[0]&&($e=$e.slice().reverse());var Fe=xe.coordToPoint([$e[0],Ie]),Ue=xe.coordToPoint([$e[1],Ie]);return{x1:Fe[0],y1:Fe[1],x2:Ue[0],y2:Ue[1]}}function getRadiusIdx(xe){var $e=xe.getRadiusAxis();return $e.inverse?0:1}function fixAngleOverlap(xe){var $e=xe[0],Ie=xe[xe.length-1];$e&&Ie&&Math.abs(Math.abs($e.coord-Ie.coord)-360)<1e-4&&xe.pop()}var AngleAxisView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.axisPointerClass="PolarAxisPointer",Ie}return $e.prototype.render=function(Ie,Fe){if(this.group.removeAll(),!!Ie.get("show")){var Ue=Ie.axis,qe=Ue.polar,At=qe.getRadiusAxis().getExtent(),Dt=Ue.getTicksCoords(),Lt=Ue.getMinorTicksCoords(),jt=map$1(Ue.getViewLabels(),function(hn){hn=clone$4(hn);var vn=Ue.scale,bn=vn.type==="ordinal"?vn.getRawOrdinalNumber(hn.tickValue):hn.tickValue;return hn.coord=Ue.dataToCoord(bn),hn});fixAngleOverlap(jt),fixAngleOverlap(Dt),each$f(elementList,function(hn){Ie.get([hn,"show"])&&(!Ue.scale.isBlank()||hn==="axisLine")&&angelAxisElementsBuilders[hn](this.group,Ie,qe,Dt,Lt,At,jt)},this)}},$e.type="angleAxis",$e}(AxisView),angelAxisElementsBuilders={axisLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel(["axisLine","lineStyle"]),Dt=Ie.getAngleAxis(),Lt=Math.PI/180,jt=Dt.getExtent(),hn=getRadiusIdx(Ie),vn=hn?0:1,bn,_n=Math.abs(jt[1]-jt[0])===360?"Circle":"Arc";qe[vn]===0?bn=new graphic[_n]({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],startAngle:-jt[0]*Lt,endAngle:-jt[1]*Lt,clockwise:Dt.inverse},style:At.getLineStyle(),z2:1,silent:!0}):bn=new Ring$1({shape:{cx:Ie.cx,cy:Ie.cy,r:qe[hn],r0:qe[vn]},style:At.getLineStyle(),z2:1,silent:!0}),bn.style.fill=null,xe.add(bn)},axisTick:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("axisTick"),Dt=(At.get("inside")?-1:1)*At.get("length"),Lt=qe[getRadiusIdx(Ie)],jt=map$1(Fe,function(hn){return new Line$1({shape:getAxisLineShape(Ie,[Lt,Lt+Dt],hn.coord)})});xe.add(mergePath(jt,{style:defaults(At.getModel("lineStyle").getLineStyle(),{stroke:$e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(xe,$e,Ie,Fe,Ue,qe){if(Ue.length){for(var At=$e.getModel("axisTick"),Dt=$e.getModel("minorTick"),Lt=(At.get("inside")?-1:1)*Dt.get("length"),jt=qe[getRadiusIdx(Ie)],hn=[],vn=0;vnSn?"left":"right",Tn=Math.abs(Cn[1]-xn)/kn<.3?"middle":Cn[1]>xn?"top":"bottom";if(Dt&&Dt[wn]){var An=Dt[wn];isObject$3(An)&&An.textStyle&&(_n=new Model(An.textStyle,Lt,Lt.ecModel))}var $n=new ZRText({silent:AxisBuilder.isLabelSilent($e),style:createTextStyle(_n,{x:Cn[0],y:Cn[1],fill:_n.getTextColor()||$e.get(["axisLine","lineStyle","color"]),text:vn.formattedLabel,align:En,verticalAlign:Tn})});if(xe.add($n),hn){var Pn=AxisBuilder.makeAxisEventDataBase($e);Pn.targetType="axisLabel",Pn.value=vn.rawLabel,getECData($n).eventData=Pn}},this)},splitLine:function(xe,$e,Ie,Fe,Ue,qe){var At=$e.getModel("splitLine"),Dt=At.getModel("lineStyle"),Lt=Dt.get("color"),jt=0;Lt=Lt instanceof Array?Lt:[Lt];for(var hn=[],vn=0;vn=0?"p":"n",Bn=Pn;An&&(Fe[hn][On]||(Fe[hn][On]={p:Pn,n:Pn}),Bn=Fe[hn][On][Rn]);var Vn=void 0,Ln=void 0,Dn=void 0,Hn=void 0;if(wn.dim==="radius"){var Fn=wn.dataToCoord(In)-Pn,zn=Lt.dataToCoord(On);Math.abs(Fn)=Hn})}}})}function calRadialBar(xe){var $e={};each$f(xe,function(Fe,Ue){var qe=Fe.getData(),At=Fe.coordinateSystem,Dt=At.getBaseAxis(),Lt=getAxisKey(At,Dt),jt=Dt.getExtent(),hn=Dt.type==="category"?Dt.getBandWidth():Math.abs(jt[1]-jt[0])/qe.count(),vn=$e[Lt]||{bandWidth:hn,remainedWidth:hn,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},bn=vn.stacks;$e[Lt]=vn;var _n=getSeriesStackId(Fe);bn[_n]||vn.autoWidthCount++,bn[_n]=bn[_n]||{width:0,maxWidth:0};var wn=parsePercent(Fe.get("barWidth"),hn),kn=parsePercent(Fe.get("barMaxWidth"),hn),Cn=Fe.get("barGap"),Sn=Fe.get("barCategoryGap");wn&&!bn[_n].width&&(wn=Math.min(vn.remainedWidth,wn),bn[_n].width=wn,vn.remainedWidth-=wn),kn&&(bn[_n].maxWidth=kn),Cn!=null&&(vn.gap=Cn),Sn!=null&&(vn.categoryGap=Sn)});var Ie={};return each$f($e,function(Fe,Ue){Ie[Ue]={};var qe=Fe.stacks,At=Fe.bandWidth,Dt=parsePercent(Fe.categoryGap,At),Lt=parsePercent(Fe.gap,1),jt=Fe.remainedWidth,hn=Fe.autoWidthCount,vn=(jt-Dt)/(hn+(hn-1)*Lt);vn=Math.max(vn,0),each$f(qe,function(kn,Cn){var Sn=kn.maxWidth;Sn&&Sn=Ie.y&&$e[1]<=Ie.y+Ie.height:Fe.contain(Fe.toLocalCoord($e[1]))&&$e[0]>=Ie.y&&$e[0]<=Ie.y+Ie.height},xe.prototype.pointToData=function($e){var Ie=this.getAxis();return[Ie.coordToData(Ie.toLocalCoord($e[Ie.orient==="horizontal"?0:1]))]},xe.prototype.dataToPoint=function($e){var Ie=this.getAxis(),Fe=this.getRect(),Ue=[],qe=Ie.orient==="horizontal"?0:1;return $e instanceof Array&&($e=$e[0]),Ue[qe]=Ie.toGlobalCoord(Ie.dataToCoord(+$e)),Ue[1-qe]=qe===0?Fe.y+Fe.height/2:Fe.x+Fe.width/2,Ue},xe.prototype.convertToPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.dataToPoint(Fe):null},xe.prototype.convertFromPixel=function($e,Ie,Fe){var Ue=getCoordSys$1(Ie);return Ue===this?this.pointToData(Fe):null},xe}();function getCoordSys$1(xe){var $e=xe.seriesModel,Ie=xe.singleAxisModel;return Ie&&Ie.coordinateSystem||$e&&$e.coordinateSystem}function create(xe,$e){var Ie=[];return xe.eachComponent("singleAxis",function(Fe,Ue){var qe=new Single(Fe,xe,$e);qe.name="single_"+Ue,qe.resize(Fe,$e),Fe.coordinateSystem=qe,Ie.push(qe)}),xe.eachSeries(function(Fe){if(Fe.get("coordinateSystem")==="singleAxis"){var Ue=Fe.getReferringComponents("singleAxis",SINGLE_REFERRING).models[0];Fe.coordinateSystem=Ue&&Ue.coordinateSystem}}),Ie}var singleCreator={create,dimensions:singleDimensions},XY$1=["x","y"],WH$1=["width","height"],SingleAxisPointer=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.makeElOption=function(Ie,Fe,Ue,qe,At){var Dt=Ue.axis,Lt=Dt.coordinateSystem,jt=getGlobalExtent(Lt,1-getPointDimIndex(Dt)),hn=Lt.dataToPoint(Fe)[0],vn=qe.get("type");if(vn&&vn!=="none"){var bn=buildElStyle(qe),_n=pointerShapeBuilder[vn](Dt,hn,jt);_n.style=bn,Ie.graphicKey=_n.type,Ie.pointer=_n}var wn=layout$1(Ue);buildCartesianSingleLabelElOption(Fe,Ie,wn,Ue,qe,At)},$e.prototype.getHandleTransform=function(Ie,Fe,Ue){var qe=layout$1(Fe,{labelInside:!1});qe.labelMargin=Ue.get(["handle","margin"]);var At=getTransformedPosition(Fe.axis,Ie,qe);return{x:At[0],y:At[1],rotation:qe.rotation+(qe.labelDirection<0?Math.PI:0)}},$e.prototype.updateHandleTransform=function(Ie,Fe,Ue,qe){var At=Ue.axis,Dt=At.coordinateSystem,Lt=getPointDimIndex(At),jt=getGlobalExtent(Dt,Lt),hn=[Ie.x,Ie.y];hn[Lt]+=Fe[Lt],hn[Lt]=Math.min(jt[1],hn[Lt]),hn[Lt]=Math.max(jt[0],hn[Lt]);var vn=getGlobalExtent(Dt,1-Lt),bn=(vn[1]+vn[0])/2,_n=[bn,bn];return _n[Lt]=hn[Lt],{x:hn[0],y:hn[1],rotation:Ie.rotation,cursorPoint:_n,tooltipOption:{verticalAlign:"middle"}}},$e}(BaseAxisPointer),pointerShapeBuilder={line:function(xe,$e,Ie){var Fe=makeLineShape([$e,Ie[0]],[$e,Ie[1]],getPointDimIndex(xe));return{type:"Line",subPixelOptimize:!0,shape:Fe}},shadow:function(xe,$e,Ie){var Fe=xe.getBandWidth(),Ue=Ie[1]-Ie[0];return{type:"Rect",shape:makeRectShape([$e-Fe/2,Ie[0]],[Fe,Ue],getPointDimIndex(xe))}}};function getPointDimIndex(xe){return xe.isHorizontal()?0:1}function getGlobalExtent(xe,$e){var Ie=xe.getRect();return[Ie[XY$1[$e]],Ie[XY$1[$e]]+Ie[WH$1[$e]]]}var SingleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="single",$e}(ComponentView);function install$o(xe){use(install$r),AxisView.registerAxisPointerClass("SingleAxisPointer",SingleAxisPointer),xe.registerComponentView(SingleView),xe.registerComponentView(SingleAxisView),xe.registerComponentModel(SingleAxisModel),axisModelCreator(xe,"single",SingleAxisModel,SingleAxisModel.defaultOption),xe.registerCoordinateSystem("single",singleCreator)}var CalendarModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=getLayoutParams(Ie);xe.prototype.init.apply(this,arguments),mergeAndNormalizeLayoutParams$1(Ie,qe)},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),mergeAndNormalizeLayoutParams$1(this.option,Ie)},$e.prototype.getCellSize=function(){return this.option.cellSize},$e.type="calendar",$e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},$e}(ComponentModel);function mergeAndNormalizeLayoutParams$1(xe,$e){var Ie=xe.cellSize,Fe;isArray$1(Ie)?Fe=Ie:Fe=xe.cellSize=[Ie,Ie],Fe.length===1&&(Fe[1]=Fe[0]);var Ue=map$1([0,1],function(qe){return sizeCalculable($e,qe)&&(Fe[qe]="auto"),Fe[qe]!=null&&Fe[qe]!=="auto"});mergeLayoutParam(xe,$e,{type:"box",ignoreSize:Ue})}var CalendarView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){var qe=this.group;qe.removeAll();var At=Ie.coordinateSystem,Dt=At.getRangeInfo(),Lt=At.getOrient(),jt=Fe.getLocaleModel();this._renderDayRect(Ie,Dt,qe),this._renderLines(Ie,Dt,Lt,qe),this._renderYearText(Ie,Dt,Lt,qe),this._renderMonthText(Ie,jt,Lt,qe),this._renderWeekText(Ie,jt,Dt,Lt,qe)},$e.prototype._renderDayRect=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=Ie.getModel("itemStyle").getItemStyle(),Dt=qe.getCellWidth(),Lt=qe.getCellHeight(),jt=Fe.start.time;jt<=Fe.end.time;jt=qe.getNextNDay(jt,1).time){var hn=qe.dataToRect([jt],!1).tl,vn=new Rect$2({shape:{x:hn[0],y:hn[1],width:Dt,height:Lt},cursor:"default",style:At});Ue.add(vn)}},$e.prototype._renderLines=function(Ie,Fe,Ue,qe){var At=this,Dt=Ie.coordinateSystem,Lt=Ie.getModel(["splitLine","lineStyle"]).getLineStyle(),jt=Ie.get(["splitLine","show"]),hn=Lt.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var vn=Fe.start,bn=0;vn.time<=Fe.end.time;bn++){wn(vn.formatedDate),bn===0&&(vn=Dt.getDateInfo(Fe.start.y+"-"+Fe.start.m));var _n=vn.date;_n.setMonth(_n.getMonth()+1),vn=Dt.getDateInfo(_n)}wn(Dt.getNextNDay(Fe.end.time,1).formatedDate);function wn(kn){At._firstDayOfMonth.push(Dt.getDateInfo(kn)),At._firstDayPoints.push(Dt.dataToRect([kn],!1).tl);var Cn=At._getLinePointsOfOneWeek(Ie,kn,Ue);At._tlpoints.push(Cn[0]),At._blpoints.push(Cn[Cn.length-1]),jt&&At._drawSplitline(Cn,Lt,qe)}jt&&this._drawSplitline(At._getEdgesPoints(At._tlpoints,hn,Ue),Lt,qe),jt&&this._drawSplitline(At._getEdgesPoints(At._blpoints,hn,Ue),Lt,qe)},$e.prototype._getEdgesPoints=function(Ie,Fe,Ue){var qe=[Ie[0].slice(),Ie[Ie.length-1].slice()],At=Ue==="horizontal"?0:1;return qe[0][At]=qe[0][At]-Fe/2,qe[1][At]=qe[1][At]+Fe/2,qe},$e.prototype._drawSplitline=function(Ie,Fe,Ue){var qe=new Polyline$1({z2:20,shape:{points:Ie},style:Fe});Ue.add(qe)},$e.prototype._getLinePointsOfOneWeek=function(Ie,Fe,Ue){for(var qe=Ie.coordinateSystem,At=qe.getDateInfo(Fe),Dt=[],Lt=0;Lt<7;Lt++){var jt=qe.getNextNDay(At.time,Lt),hn=qe.dataToRect([jt.time],!1);Dt[2*jt.day]=hn.tl,Dt[2*jt.day+1]=hn[Ue==="horizontal"?"bl":"tr"]}return Dt},$e.prototype._formatterLabel=function(Ie,Fe){return isString(Ie)&&Ie?formatTplSimple(Ie,Fe):isFunction(Ie)?Ie(Fe):Fe.nameMap},$e.prototype._yearTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt=Fe[0],Lt=Fe[1],jt=["center","bottom"];qe==="bottom"?(Lt+=At,jt=["center","top"]):qe==="left"?Dt-=At:qe==="right"?(Dt+=At,jt=["center","top"]):Lt-=At;var hn=0;return(qe==="left"||qe==="right")&&(hn=Math.PI/2),{rotation:hn,x:Dt,y:Lt,style:{align:jt[0],verticalAlign:jt[1]}}},$e.prototype._renderYearText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("yearLabel");if(At.get("show")){var Dt=At.get("margin"),Lt=At.get("position");Lt||(Lt=Ue!=="horizontal"?"top":"left");var jt=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],hn=(jt[0][0]+jt[1][0])/2,vn=(jt[0][1]+jt[1][1])/2,bn=Ue==="horizontal"?0:1,_n={top:[hn,jt[bn][1]],bottom:[hn,jt[1-bn][1]],left:[jt[1-bn][0],vn],right:[jt[bn][0],vn]},wn=Fe.start.y;+Fe.end.y>+Fe.start.y&&(wn=wn+"-"+Fe.end.y);var kn=At.get("formatter"),Cn={start:Fe.start.y,end:Fe.end.y,nameMap:wn},Sn=this._formatterLabel(kn,Cn),xn=new ZRText({z2:30,style:createTextStyle(At,{text:Sn})});xn.attr(this._yearTextPositionControl(xn,_n[Lt],Ue,Lt,Dt)),qe.add(xn)}},$e.prototype._monthTextPositionControl=function(Ie,Fe,Ue,qe,At){var Dt="left",Lt="top",jt=Ie[0],hn=Ie[1];return Ue==="horizontal"?(hn=hn+At,Fe&&(Dt="center"),qe==="start"&&(Lt="bottom")):(jt=jt+At,Fe&&(Lt="middle"),qe==="start"&&(Dt="right")),{x:jt,y:hn,align:Dt,verticalAlign:Lt}},$e.prototype._renderMonthText=function(Ie,Fe,Ue,qe){var At=Ie.getModel("monthLabel");if(At.get("show")){var Dt=At.get("nameMap"),Lt=At.get("margin"),jt=At.get("position"),hn=At.get("align"),vn=[this._tlpoints,this._blpoints];(!Dt||isString(Dt))&&(Dt&&(Fe=getLocaleModel(Dt)||Fe),Dt=Fe.get(["time","monthAbbr"])||[]);var bn=jt==="start"?0:1,_n=Ue==="horizontal"?0:1;Lt=jt==="start"?-Lt:Lt;for(var wn=hn==="center",kn=0;kn=Ue.start.time&&Fe.timeDt.end.time&&Ie.reverse(),Ie},xe.prototype._getRangeInfo=function($e){var Ie=[this.getDateInfo($e[0]),this.getDateInfo($e[1])],Fe;Ie[0].time>Ie[1].time&&(Fe=!0,Ie.reverse());var Ue=Math.floor(Ie[1].time/PROXIMATE_ONE_DAY)-Math.floor(Ie[0].time/PROXIMATE_ONE_DAY)+1,qe=new Date(Ie[0].time),At=qe.getDate(),Dt=Ie[1].date.getDate();qe.setDate(At+Ue-1);var Lt=qe.getDate();if(Lt!==Dt)for(var jt=qe.getTime()-Ie[1].time>0?1:-1;(Lt=qe.getDate())!==Dt&&(qe.getTime()-Ie[1].time)*jt>0;)Ue-=jt,qe.setDate(Lt-jt);var hn=Math.floor((Ue+Ie[0].day+6)/7),vn=Fe?-hn+1:hn-1;return Fe&&Ie.reverse(),{range:[Ie[0].formatedDate,Ie[1].formatedDate],start:Ie[0],end:Ie[1],allDay:Ue,weeks:hn,nthWeek:vn,fweek:Ie[0].day,lweek:Ie[1].day}},xe.prototype._getDateByWeeksAndDay=function($e,Ie,Fe){var Ue=this._getRangeInfo(Fe);if($e>Ue.weeks||$e===0&&IeUe.lweek)return null;var qe=($e-1)*7-Ue.fweek+Ie,At=new Date(Ue.start.time);return At.setDate(+Ue.start.d+qe),this.getDateInfo(At)},xe.create=function($e,Ie){var Fe=[];return $e.eachComponent("calendar",function(Ue){var qe=new xe(Ue);Fe.push(qe),Ue.coordinateSystem=qe}),$e.eachSeries(function(Ue){Ue.get("coordinateSystem")==="calendar"&&(Ue.coordinateSystem=Fe[Ue.get("calendarIndex")||0])}),Fe},xe.dimensions=["time","value"],xe}();function getCoordSys(xe){var $e=xe.calendarModel,Ie=xe.seriesModel,Fe=$e?$e.coordinateSystem:Ie?Ie.coordinateSystem:null;return Fe}function install$n(xe){xe.registerComponentModel(CalendarModel),xe.registerComponentView(CalendarView),xe.registerCoordinateSystem("calendar",Calendar)}function setKeyInfoToNewElOption(xe,$e){var Ie=xe.existing;if($e.id=xe.keyInfo.id,!$e.type&&Ie&&($e.type=Ie.type),$e.parentId==null){var Fe=$e.parentOption;Fe?$e.parentId=Fe.id:Ie&&($e.parentId=Ie.parentId)}$e.parentOption=null}function isSetLoc(xe,$e){var Ie;return each$f($e,function(Fe){xe[Fe]!=null&&xe[Fe]!=="auto"&&(Ie=!0)}),Ie}function mergeNewElOptionToExist(xe,$e,Ie){var Fe=extend({},Ie),Ue=xe[$e],qe=Ie.$action||"merge";qe==="merge"?Ue?(merge(Ue,Fe,!0),mergeLayoutParam(Ue,Fe,{ignoreSize:!0}),copyLayoutParams(Ie,Ue),copyTransitionInfo(Ie,Ue),copyTransitionInfo(Ie,Ue,"shape"),copyTransitionInfo(Ie,Ue,"style"),copyTransitionInfo(Ie,Ue,"extra"),Ie.clipPath=Ue.clipPath):xe[$e]=Fe:qe==="replace"?xe[$e]=Fe:qe==="remove"&&Ue&&(xe[$e]=null)}var TRANSITION_PROPS_TO_COPY=["transition","enterFrom","leaveTo"],ROOT_TRANSITION_PROPS_TO_COPY=TRANSITION_PROPS_TO_COPY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function copyTransitionInfo(xe,$e,Ie){if(Ie&&(!xe[Ie]&&$e[Ie]&&(xe[Ie]={}),xe=xe[Ie],$e=$e[Ie]),!(!xe||!$e))for(var Fe=Ie?TRANSITION_PROPS_TO_COPY:ROOT_TRANSITION_PROPS_TO_COPY,Ue=0;Ue=0;hn--){var vn=Ue[hn],bn=convertOptionIdName(vn.id,null),_n=bn!=null?At.get(bn):null;if(_n){var wn=_n.parent,Sn=inner$7(wn),xn=wn===qe?{width:Dt,height:Lt}:{width:Sn.width,height:Sn.height},En={},Tn=positionElement(_n,vn,xn,null,{hv:vn.hv,boundingMode:vn.bounding},En);if(!inner$7(_n).isNew&&Tn){for(var An=vn.transition,$n={},Pn=0;Pn=0)?$n[Nn]=Mn:_n[Nn]=Mn}updateProps$1(_n,$n,Ie,0)}else _n.attr(En)}}},$e.prototype._clear=function(){var Ie=this,Fe=this._elMap;Fe.each(function(Ue){removeEl$1(Ue,inner$7(Ue).option,Fe,Ie._lastGraphicModel)}),this._elMap=createHashMap()},$e.prototype.dispose=function(){this._clear()},$e.type="graphic",$e}(ComponentView);function newEl(xe){var $e=hasOwn(nonShapeGraphicElements,xe)?nonShapeGraphicElements[xe]:getShapeClass(xe),Ie=new $e({});return inner$7(Ie).type=xe,Ie}function createEl(xe,$e,Ie,Fe){var Ue=newEl(Ie);return $e.add(Ue),Fe.set(xe,Ue),inner$7(Ue).id=xe,inner$7(Ue).isNew=!0,Ue}function removeEl$1(xe,$e,Ie,Fe){var Ue=xe&&xe.parent;Ue&&(xe.type==="group"&&xe.traverse(function(qe){removeEl$1(qe,$e,Ie,Fe)}),applyLeaveTransition(xe,$e,Fe),Ie.removeKey(inner$7(xe).id))}function updateCommonAttrs(xe,$e,Ie,Fe){xe.isGroup||each$f([["cursor",Displayable.prototype.cursor],["zlevel",Fe||0],["z",Ie||0],["z2",0]],function(Ue){var qe=Ue[0];hasOwn($e,qe)?xe[qe]=retrieve2($e[qe],Ue[1]):xe[qe]==null&&(xe[qe]=Ue[1])}),each$f(keys($e),function(Ue){if(Ue.indexOf("on")===0){var qe=$e[Ue];xe[Ue]=isFunction(qe)?qe:null}}),hasOwn($e,"draggable")&&(xe.draggable=$e.draggable),$e.name!=null&&(xe.name=$e.name),$e.id!=null&&(xe.id=$e.id)}function getCleanedElOption(xe){return xe=extend({},xe),each$f(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(LOCATION_PARAMS),function($e){delete xe[$e]}),xe}function setEventData(xe,$e,Ie){var Fe=getECData(xe).eventData;!xe.silent&&!xe.ignore&&!Fe&&(Fe=getECData(xe).eventData={componentType:"graphic",componentIndex:$e.componentIndex,name:xe.name}),Fe&&(Fe.info=Ie.info)}function install$m(xe){xe.registerComponentModel(GraphicComponentModel),xe.registerComponentView(GraphicComponentView),xe.registerPreprocessor(function($e){var Ie=$e.graphic;isArray$1(Ie)?!Ie[0]||!Ie[0].elements?$e.graphic=[{elements:Ie}]:$e.graphic=[$e.graphic[0]]:Ie&&!Ie.elements&&($e.graphic=[{elements:[Ie]}])})}var DATA_ZOOM_AXIS_DIMENSIONS=["x","y","radius","angle","single"],SERIES_COORDS=["cartesian2d","polar","singleAxis"];function isCoordSupported(xe){var $e=xe.get("coordinateSystem");return indexOf(SERIES_COORDS,$e)>=0}function getAxisMainType(xe){return xe+"Axis"}function findEffectedDataZooms(xe,$e){var Ie=createHashMap(),Fe=[],Ue=createHashMap();xe.eachComponent({mainType:"dataZoom",query:$e},function(hn){Ue.get(hn.uid)||Dt(hn)});var qe;do qe=!1,xe.eachComponent("dataZoom",At);while(qe);function At(hn){!Ue.get(hn.uid)&&Lt(hn)&&(Dt(hn),qe=!0)}function Dt(hn){Ue.set(hn.uid,!0),Fe.push(hn),jt(hn)}function Lt(hn){var vn=!1;return hn.eachTargetAxis(function(bn,_n){var wn=Ie.get(bn);wn&&wn[_n]&&(vn=!0)}),vn}function jt(hn){hn.eachTargetAxis(function(vn,bn){(Ie.get(vn)||Ie.set(vn,[]))[bn]=!0})}return Fe}function collectReferCoordSysModelInfo(xe){var $e=xe.ecModel,Ie={infoList:[],infoMap:createHashMap()};return xe.eachTargetAxis(function(Fe,Ue){var qe=$e.getComponent(getAxisMainType(Fe),Ue);if(qe){var At=qe.getCoordSysModel();if(At){var Dt=At.uid,Lt=Ie.infoMap.get(Dt);Lt||(Lt={model:At,axisModels:[]},Ie.infoList.push(Lt),Ie.infoMap.set(Dt,Lt)),Lt.axisModels.push(qe)}}}),Ie}var DataZoomAxisInfo=function(){function xe(){this.indexList=[],this.indexMap=[]}return xe.prototype.add=function($e){this.indexMap[$e]||(this.indexList.push($e),this.indexMap[$e]=!0)},xe}(),DataZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._autoThrottle=!0,Ie._noTarget=!0,Ie._rangePropMode=["percent","percent"],Ie}return $e.prototype.init=function(Ie,Fe,Ue){var qe=retrieveRawOption(Ie);this.settledOption=qe,this.mergeDefaultAndTheme(Ie,Ue),this._doInit(qe)},$e.prototype.mergeOption=function(Ie){var Fe=retrieveRawOption(Ie);merge(this.option,Ie,!0),merge(this.settledOption,Fe,!0),this._doInit(Fe)},$e.prototype._doInit=function(Ie){var Fe=this.option;this._setDefaultThrottle(Ie),this._updateRangeUse(Ie);var Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe,At){this._rangePropMode[At]==="value"&&(Fe[qe[0]]=Ue[qe[0]]=null)},this),this._resetTarget()},$e.prototype._resetTarget=function(){var Ie=this.get("orient",!0),Fe=this._targetAxisInfoMap=createHashMap(),Ue=this._fillSpecifiedTargetAxis(Fe);Ue?this._orient=Ie||this._makeAutoOrientByTargetAxis():(this._orient=Ie||"horizontal",this._fillAutoTargetAxisByOrient(Fe,this._orient)),this._noTarget=!0,Fe.each(function(qe){qe.indexList.length&&(this._noTarget=!1)},this)},$e.prototype._fillSpecifiedTargetAxis=function(Ie){var Fe=!1;return each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(Ue){var qe=this.getReferringComponents(getAxisMainType(Ue),MULTIPLE_REFERRING);if(qe.specified){Fe=!0;var At=new DataZoomAxisInfo;each$f(qe.models,function(Dt){At.add(Dt.componentIndex)}),Ie.set(Ue,At)}},this),Fe},$e.prototype._fillAutoTargetAxisByOrient=function(Ie,Fe){var Ue=this.ecModel,qe=!0;if(qe){var At=Fe==="vertical"?"y":"x",Dt=Ue.findComponents({mainType:At+"Axis"});Lt(Dt,At)}if(qe){var Dt=Ue.findComponents({mainType:"singleAxis",filter:function(hn){return hn.get("orient",!0)===Fe}});Lt(Dt,"single")}function Lt(jt,hn){var vn=jt[0];if(vn){var bn=new DataZoomAxisInfo;if(bn.add(vn.componentIndex),Ie.set(hn,bn),qe=!1,hn==="x"||hn==="y"){var _n=vn.getReferringComponents("grid",SINGLE_REFERRING).models[0];_n&&each$f(jt,function(wn){vn.componentIndex!==wn.componentIndex&&_n===wn.getReferringComponents("grid",SINGLE_REFERRING).models[0]&&bn.add(wn.componentIndex)})}}}qe&&each$f(DATA_ZOOM_AXIS_DIMENSIONS,function(jt){if(qe){var hn=Ue.findComponents({mainType:getAxisMainType(jt),filter:function(bn){return bn.get("type",!0)==="category"}});if(hn[0]){var vn=new DataZoomAxisInfo;vn.add(hn[0].componentIndex),Ie.set(jt,vn),qe=!1}}},this)},$e.prototype._makeAutoOrientByTargetAxis=function(){var Ie;return this.eachTargetAxis(function(Fe){!Ie&&(Ie=Fe)},this),Ie==="y"?"vertical":"horizontal"},$e.prototype._setDefaultThrottle=function(Ie){if(Ie.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var Fe=this.ecModel.option;this.option.throttle=Fe.animation&&Fe.animationDurationUpdate>0?100:20}},$e.prototype._updateRangeUse=function(Ie){var Fe=this._rangePropMode,Ue=this.get("rangeMode");each$f([["start","startValue"],["end","endValue"]],function(qe,At){var Dt=Ie[qe[0]]!=null,Lt=Ie[qe[1]]!=null;Dt&&!Lt?Fe[At]="percent":!Dt&&Lt?Fe[At]="value":Ue?Fe[At]=Ue[At]:Dt&&(Fe[At]="percent")})},$e.prototype.noTarget=function(){return this._noTarget},$e.prototype.getFirstTargetAxisModel=function(){var Ie;return this.eachTargetAxis(function(Fe,Ue){Ie==null&&(Ie=this.ecModel.getComponent(getAxisMainType(Fe),Ue))},this),Ie},$e.prototype.eachTargetAxis=function(Ie,Fe){this._targetAxisInfoMap.each(function(Ue,qe){each$f(Ue.indexList,function(At){Ie.call(Fe,qe,At)})})},$e.prototype.getAxisProxy=function(Ie,Fe){var Ue=this.getAxisModel(Ie,Fe);if(Ue)return Ue.__dzAxisProxy},$e.prototype.getAxisModel=function(Ie,Fe){var Ue=this._targetAxisInfoMap.get(Ie);if(Ue&&Ue.indexMap[Fe])return this.ecModel.getComponent(getAxisMainType(Ie),Fe)},$e.prototype.setRawRange=function(Ie){var Fe=this.option,Ue=this.settledOption;each$f([["start","startValue"],["end","endValue"]],function(qe){(Ie[qe[0]]!=null||Ie[qe[1]]!=null)&&(Fe[qe[0]]=Ue[qe[0]]=Ie[qe[0]],Fe[qe[1]]=Ue[qe[1]]=Ie[qe[1]])},this),this._updateRangeUse(Ie)},$e.prototype.setCalculatedRange=function(Ie){var Fe=this.option;each$f(["start","startValue","end","endValue"],function(Ue){Fe[Ue]=Ie[Ue]})},$e.prototype.getPercentRange=function(){var Ie=this.findRepresentativeAxisProxy();if(Ie)return Ie.getDataPercentWindow()},$e.prototype.getValueRange=function(Ie,Fe){if(Ie==null&&Fe==null){var Ue=this.findRepresentativeAxisProxy();if(Ue)return Ue.getDataValueWindow()}else return this.getAxisProxy(Ie,Fe).getDataValueWindow()},$e.prototype.findRepresentativeAxisProxy=function(Ie){if(Ie)return Ie.__dzAxisProxy;for(var Fe,Ue=this._targetAxisInfoMap.keys(),qe=0;qeAt[1];if(En&&!Tn&&!An)return!0;En&&(Cn=!0),Tn&&(wn=!0),An&&(kn=!0)}return Cn&&wn&&kn})}else each$7(hn,function(_n){if(qe==="empty")Lt.setData(jt=jt.map(_n,function(kn){return Dt(kn)?kn:NaN}));else{var wn={};wn[_n]=At,jt.selectRange(wn)}});each$7(hn,function(_n){jt.setApproximateExtent(At,_n)})}});function Dt(Lt){return Lt>=At[0]&&Lt<=At[1]}},xe.prototype._updateMinMaxSpan=function(){var $e=this._minMaxSpan={},Ie=this._dataZoomModel,Fe=this._dataExtent;each$7(["min","max"],function(Ue){var qe=Ie.get(Ue+"Span"),At=Ie.get(Ue+"ValueSpan");At!=null&&(At=this.getAxisModel().axis.scale.parse(At)),At!=null?qe=linearMap$2(Fe[0]+At,Fe,[0,100],!0):qe!=null&&(At=linearMap$2(qe,[0,100],Fe,!0)-Fe[0]),$e[Ue+"Span"]=qe,$e[Ue+"ValueSpan"]=At},this)},xe.prototype._setAxisModel=function(){var $e=this.getAxisModel(),Ie=this._percentWindow,Fe=this._valueWindow;if(Ie){var Ue=getPixelPrecision(Fe,[0,500]);Ue=Math.min(Ue,20);var qe=$e.axis.scale.rawExtentInfo;Ie[0]!==0&&qe.setDeterminedMinMax("min",+Fe[0].toFixed(Ue)),Ie[1]!==100&&qe.setDeterminedMinMax("max",+Fe[1].toFixed(Ue)),qe.freeze()}},xe}();function calculateDataExtent(xe,$e,Ie){var Fe=[1/0,-1/0];each$7(Ie,function(At){unionAxisExtentFromData(Fe,At.getData(),$e)});var Ue=xe.getAxisModel(),qe=ensureScaleRawExtentInfo(Ue.axis.scale,Ue,Fe).calculate();return[qe.min,qe.max]}var dataZoomProcessor={getTargetSeries:function(xe){function $e(Ue){xe.eachComponent("dataZoom",function(qe){qe.eachTargetAxis(function(At,Dt){var Lt=xe.getComponent(getAxisMainType(At),Dt);Ue(At,Dt,Lt,qe)})})}$e(function(Ue,qe,At,Dt){At.__dzAxisProxy=null});var Ie=[];$e(function(Ue,qe,At,Dt){At.__dzAxisProxy||(At.__dzAxisProxy=new AxisProxy(Ue,qe,Dt,xe),Ie.push(At.__dzAxisProxy))});var Fe=createHashMap();return each$f(Ie,function(Ue){each$f(Ue.getTargetSeriesModels(),function(qe){Fe.set(qe.uid,qe)})}),Fe},overallReset:function(xe,$e){xe.eachComponent("dataZoom",function(Ie){Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).reset(Ie)}),Ie.eachTargetAxis(function(Fe,Ue){Ie.getAxisProxy(Fe,Ue).filterData(Ie,$e)})}),xe.eachComponent("dataZoom",function(Ie){var Fe=Ie.findRepresentativeAxisProxy();if(Fe){var Ue=Fe.getDataPercentWindow(),qe=Fe.getDataValueWindow();Ie.setCalculatedRange({start:Ue[0],end:Ue[1],startValue:qe[0],endValue:qe[1]})}})}};function installDataZoomAction(xe){xe.registerAction("dataZoom",function($e,Ie){var Fe=findEffectedDataZooms(Ie,$e);each$f(Fe,function(Ue){Ue.setRawRange({start:$e.start,end:$e.end,startValue:$e.startValue,endValue:$e.endValue})})})}var installed$1=!1;function installCommon$1(xe){installed$1||(installed$1=!0,xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,dataZoomProcessor),installDataZoomAction(xe),xe.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function install$l(xe){xe.registerComponentModel(SelectDataZoomModel),xe.registerComponentView(SelectDataZoomView),installCommon$1(xe)}var ToolboxFeature=function(){function xe(){}return xe}(),features={};function registerFeature(xe,$e){features[xe]=$e}function getFeature(xe){return features[xe]}var ToolboxModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(){xe.prototype.optionUpdated.apply(this,arguments);var Ie=this.ecModel;each$f(this.option.feature,function(Fe,Ue){var qe=getFeature(Ue);qe&&(qe.getDefaultOption&&(qe.defaultOption=qe.getDefaultOption(Ie)),merge(Fe,qe.defaultOption))})},$e.type="toolbox",$e.layoutMode={type:"box",ignoreSize:!0},$e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},$e}(ComponentModel);function layout(xe,$e,Ie){var Fe=$e.getBoxLayoutParams(),Ue=$e.get("padding"),qe={width:Ie.getWidth(),height:Ie.getHeight()},At=getLayoutRect(Fe,qe,Ue);box($e.get("orient"),xe,$e.get("itemGap"),At.width,At.height),positionElement(xe,Fe,qe,Ue)}function makeBackground(xe,$e){var Ie=normalizeCssArray($e.get("padding")),Fe=$e.getItemStyle(["color","opacity"]);return Fe.fill=$e.get("backgroundColor"),xe=new Rect$2({shape:{x:xe.x-Ie[3],y:xe.y-Ie[0],width:xe.width+Ie[1]+Ie[3],height:xe.height+Ie[0]+Ie[2],r:$e.get("borderRadius")},style:Fe,silent:!0,z2:-1}),xe}var ToolboxView=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue,qe){var At=this.group;if(At.removeAll(),!Ie.get("show"))return;var Dt=+Ie.get("itemSize"),Lt=Ie.get("orient")==="vertical",jt=Ie.get("feature")||{},hn=this._features||(this._features={}),vn=[];each$f(jt,function(wn,kn){vn.push(kn)}),new DataDiffer(this._featureNames||[],vn).add(bn).update(bn).remove(curry$1(bn,null)).execute(),this._featureNames=vn;function bn(wn,kn){var Cn=vn[wn],Sn=vn[kn],xn=jt[Cn],En=new Model(xn,Ie,Ie.ecModel),Tn;if(qe&&qe.newTitle!=null&&qe.featureName===Cn&&(xn.title=qe.newTitle),Cn&&!Sn){if(isUserFeatureName(Cn))Tn={onclick:En.option.onclick,featureName:Cn};else{var An=getFeature(Cn);if(!An)return;Tn=new An}hn[Cn]=Tn}else if(Tn=hn[Sn],!Tn)return;Tn.uid=getUID("toolbox-feature"),Tn.model=En,Tn.ecModel=Fe,Tn.api=Ue;var $n=Tn instanceof ToolboxFeature;if(!Cn&&Sn){$n&&Tn.dispose&&Tn.dispose(Fe,Ue);return}if(!En.get("show")||$n&&Tn.unusable){$n&&Tn.remove&&Tn.remove(Fe,Ue);return}_n(En,Tn,Cn),En.setIconStatus=function(Pn,Nn){var Mn=this.option,In=this.iconPaths;Mn.iconStatus=Mn.iconStatus||{},Mn.iconStatus[Pn]=Nn,In[Pn]&&(Nn==="emphasis"?enterEmphasis:leaveEmphasis)(In[Pn])},Tn instanceof ToolboxFeature&&Tn.render&&Tn.render(En,Fe,Ue,qe)}function _n(wn,kn,Cn){var Sn=wn.getModel("iconStyle"),xn=wn.getModel(["emphasis","iconStyle"]),En=kn instanceof ToolboxFeature&&kn.getIcons?kn.getIcons():wn.get("icon"),Tn=wn.get("title")||{},An,$n;isString(En)?(An={},An[Cn]=En):An=En,isString(Tn)?($n={},$n[Cn]=Tn):$n=Tn;var Pn=wn.iconPaths={};each$f(An,function(Nn,Mn){var In=createIcon(Nn,{},{x:-Dt/2,y:-Dt/2,width:Dt,height:Dt});In.setStyle(Sn.getItemStyle());var On=In.ensureState("emphasis");On.style=xn.getItemStyle();var Rn=new ZRText({style:{text:$n[Mn],align:xn.get("textAlign"),borderRadius:xn.get("textBorderRadius"),padding:xn.get("textPadding"),fill:null,font:getFont({fontStyle:xn.get("textFontStyle"),fontFamily:xn.get("textFontFamily"),fontSize:xn.get("textFontSize"),fontWeight:xn.get("textFontWeight")},Fe)},ignore:!0});In.setTextContent(Rn),setTooltipConfig({el:In,componentModel:Ie,itemName:Mn,formatterParamsExtra:{title:$n[Mn]}}),In.__title=$n[Mn],In.on("mouseover",function(){var Bn=xn.getItemStyle(),Vn=Lt?Ie.get("right")==null&&Ie.get("left")!=="right"?"right":"left":Ie.get("bottom")==null&&Ie.get("top")!=="bottom"?"bottom":"top";Rn.setStyle({fill:xn.get("textFill")||Bn.fill||Bn.stroke||"#000",backgroundColor:xn.get("textBackgroundColor")}),In.setTextConfig({position:xn.get("textPosition")||Vn}),Rn.ignore=!Ie.get("showTitle"),Ue.enterEmphasis(this)}).on("mouseout",function(){wn.get(["iconStatus",Mn])!=="emphasis"&&Ue.leaveEmphasis(this),Rn.hide()}),(wn.get(["iconStatus",Mn])==="emphasis"?enterEmphasis:leaveEmphasis)(In),At.add(In),In.on("click",bind$1(kn.onclick,kn,Fe,Ue,Mn)),Pn[Mn]=In})}layout(At,Ie,Ue),At.add(makeBackground(At.getBoundingRect(),Ie)),Lt||At.eachChild(function(wn){var kn=wn.__title,Cn=wn.ensureState("emphasis"),Sn=Cn.textConfig||(Cn.textConfig={}),xn=wn.getTextContent(),En=xn&&xn.ensureState("emphasis");if(En&&!isFunction(En)&&kn){var Tn=En.style||(En.style={}),An=getBoundingRect(kn,ZRText.makeFont(Tn)),$n=wn.x+At.x,Pn=wn.y+At.y+Dt,Nn=!1;Pn+An.height>Ue.getHeight()&&(Sn.position="top",Nn=!0);var Mn=Nn?-5-An.height:Dt+10;$n+An.width/2>Ue.getWidth()?(Sn.position=["100%",Mn],Tn.align="right"):$n-An.width/2<0&&(Sn.position=[0,Mn],Tn.align="left")}})},$e.prototype.updateView=function(Ie,Fe,Ue,qe){each$f(this._features,function(At){At instanceof ToolboxFeature&&At.updateView&&At.updateView(At.model,Fe,Ue,qe)})},$e.prototype.remove=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.remove&&Ue.remove(Ie,Fe)}),this.group.removeAll()},$e.prototype.dispose=function(Ie,Fe){each$f(this._features,function(Ue){Ue instanceof ToolboxFeature&&Ue.dispose&&Ue.dispose(Ie,Fe)})},$e.type="toolbox",$e}(ComponentView);function isUserFeatureName(xe){return xe.indexOf("my")===0}var SaveAsImage=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.onclick=function(Ie,Fe){var Ue=this.model,qe=Ue.get("name")||Ie.get("title.0.text")||"echarts",At=Fe.getZr().painter.getType()==="svg",Dt=At?"svg":Ue.get("type",!0)||"png",Lt=Fe.getConnectedDataURL({type:Dt,backgroundColor:Ue.get("backgroundColor",!0)||Ie.get("backgroundColor")||"#fff",connectedBackgroundColor:Ue.get("connectedBackgroundColor"),excludeComponents:Ue.get("excludeComponents"),pixelRatio:Ue.get("pixelRatio")}),jt=env.browser;if(isFunction(MouseEvent)&&(jt.newEdge||!jt.ie&&!jt.edge)){var hn=document.createElement("a");hn.download=qe+"."+Dt,hn.target="_blank",hn.href=Lt;var vn=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});hn.dispatchEvent(vn)}else if(window.navigator.msSaveOrOpenBlob||At){var bn=Lt.split(","),_n=bn[0].indexOf("base64")>-1,wn=At?decodeURIComponent(bn[1]):bn[1];_n&&(wn=window.atob(wn));var kn=qe+"."+Dt;if(window.navigator.msSaveOrOpenBlob){for(var Cn=wn.length,Sn=new Uint8Array(Cn);Cn--;)Sn[Cn]=wn.charCodeAt(Cn);var xn=new Blob([Sn]);window.navigator.msSaveOrOpenBlob(xn,kn)}else{var En=document.createElement("iframe");document.body.appendChild(En);var Tn=En.contentWindow,An=Tn.document;An.open("image/svg+xml","replace"),An.write(wn),An.close(),Tn.focus(),An.execCommand("SaveAs",!0,kn),document.body.removeChild(En)}}else{var $n=Ue.get("lang"),Pn='',Nn=window.open();Nn.document.write(Pn),Nn.document.title=qe}},$e.getDefaultOption=function(Ie){var Fe={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:Ie.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:Ie.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return Fe},$e}(ToolboxFeature),INNER_STACK_KEYWORD="__ec_magicType_stack__",radioTypes=[["line","bar"],["stack"]],MagicType=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon"),Ue={};return each$f(Ie.get("type"),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.getDefaultOption=function(Ie){var Fe={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:Ie.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return Fe},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this.model,At=qe.get(["seriesIndex",Ue]);if(seriesOptGenreator[Ue]){var Dt={series:[]},Lt=function(vn){var bn=vn.subType,_n=vn.id,wn=seriesOptGenreator[Ue](bn,_n,vn,qe);wn&&(defaults(wn,vn.option),Dt.series.push(wn));var kn=vn.coordinateSystem;if(kn&&kn.type==="cartesian2d"&&(Ue==="line"||Ue==="bar")){var Cn=kn.getAxesByScale("ordinal")[0];if(Cn){var Sn=Cn.dim,xn=Sn+"Axis",En=vn.getReferringComponents(xn,SINGLE_REFERRING).models[0],Tn=En.componentIndex;Dt[xn]=Dt[xn]||[];for(var An=0;An<=Tn;An++)Dt[xn][Tn]=Dt[xn][Tn]||{};Dt[xn][Tn].boundaryGap=Ue==="bar"}}};each$f(radioTypes,function(vn){indexOf(vn,Ue)>=0&&each$f(vn,function(bn){qe.setIconStatus(bn,"normal")})}),qe.setIconStatus(Ue,"emphasis"),Ie.eachComponent({mainType:"series",query:At==null?null:{seriesIndex:At}},Lt);var jt,hn=Ue;Ue==="stack"&&(jt=merge({stack:qe.option.title.tiled,tiled:qe.option.title.stack},qe.option.title),qe.get(["iconStatus",Ue])!=="emphasis"&&(hn="tiled")),Fe.dispatchAction({type:"changeMagicType",currentType:hn,newOption:Dt,newTitle:jt,featureName:"magicType"})}},$e}(ToolboxFeature),seriesOptGenreator={line:function(xe,$e,Ie,Fe){if(xe==="bar")return merge({id:$e,type:"line",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","line"])||{},!0)},bar:function(xe,$e,Ie,Fe){if(xe==="line")return merge({id:$e,type:"bar",data:Ie.get("data"),stack:Ie.get("stack"),markPoint:Ie.get("markPoint"),markLine:Ie.get("markLine")},Fe.get(["option","bar"])||{},!0)},stack:function(xe,$e,Ie,Fe){var Ue=Ie.get("stack")===INNER_STACK_KEYWORD;if(xe==="line"||xe==="bar")return Fe.setIconStatus("stack",Ue?"normal":"emphasis"),merge({id:$e,stack:Ue?"":INNER_STACK_KEYWORD},Fe.get(["option","stack"])||{},!0)}};registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(xe,$e){$e.mergeOption(xe.newOption)});var BLOCK_SPLITER=new Array(60).join("-"),ITEM_SPLITER=" ";function groupSeries(xe){var $e={},Ie=[],Fe=[];return xe.eachRawSeries(function(Ue){var qe=Ue.coordinateSystem;if(qe&&(qe.type==="cartesian2d"||qe.type==="polar")){var At=qe.getBaseAxis();if(At.type==="category"){var Dt=At.dim+"_"+At.index;$e[Dt]||($e[Dt]={categoryAxis:At,valueAxis:qe.getOtherAxis(At),series:[]},Fe.push({axisDim:At.dim,axisIndex:At.index})),$e[Dt].series.push(Ue)}else Ie.push(Ue)}else Ie.push(Ue)}),{seriesGroupByCategoryAxis:$e,other:Ie,meta:Fe}}function assembleSeriesWithCategoryAxis(xe){var $e=[];return each$f(xe,function(Ie,Fe){var Ue=Ie.categoryAxis,qe=Ie.valueAxis,At=qe.dim,Dt=[" "].concat(map$1(Ie.series,function(_n){return _n.name})),Lt=[Ue.model.getCategories()];each$f(Ie.series,function(_n){var wn=_n.getRawData();Lt.push(_n.getRawData().mapArray(wn.mapDimension(At),function(kn){return kn}))});for(var jt=[Dt.join(ITEM_SPLITER)],hn=0;hn",Sn=vn.join(Cn);this._showOrMove(Dt,function(){this._updateContentNotChangedOnAxis(Ie,jt)?this._updatePosition(Dt,_n,At[0],At[1],this._tooltipContent,jt):this._showTooltipContent(Dt,Sn,jt,Math.random()+"",At[0],At[1],_n,null,bn)})},$e.prototype._showSeriesItemTooltip=function(Ie,Fe,Ue){var qe=this._ecModel,At=getECData(Fe),Dt=At.seriesIndex,Lt=qe.getSeriesByIndex(Dt),jt=At.dataModel||Lt,hn=At.dataIndex,vn=At.dataType,bn=jt.getData(vn),_n=this._renderMode,wn=Ie.positionDefault,kn=buildTooltipModel([bn.getItemModel(hn),jt,Lt&&(Lt.coordinateSystem||{}).model],this._tooltipModel,wn?{position:wn}:null),Cn=kn.get("trigger");if(!(Cn!=null&&Cn!=="item")){var Sn=jt.getDataParams(hn,vn),xn=new TooltipMarkupStyleCreator;Sn.marker=xn.makeTooltipMarker("item",convertToColorString(Sn.color),_n);var En=normalizeTooltipFormatResult(jt.formatTooltip(hn,!1,vn)),Tn=kn.get("order"),An=kn.get("valueFormatter"),$n=En.frag,Pn=$n?buildTooltipMarkup(An?extend({valueFormatter:An},$n):$n,xn,_n,Tn,qe.get("useUTC"),kn.get("textStyle")):En.text,Nn="item_"+jt.name+"_"+hn;this._showOrMove(kn,function(){this._showTooltipContent(kn,Pn,Sn,Nn,Ie.offsetX,Ie.offsetY,Ie.position,Ie.target,xn)}),Ue({type:"showTip",dataIndexInside:hn,dataIndex:bn.getRawIndex(hn),seriesIndex:Dt,from:this.uid})}},$e.prototype._showComponentItemTooltip=function(Ie,Fe,Ue){var qe=getECData(Fe),At=qe.tooltipConfig,Dt=At.option||{};if(isString(Dt)){var Lt=Dt;Dt={content:Lt,formatter:Lt}}var jt=[Dt],hn=this._ecModel.getComponent(qe.componentMainType,qe.componentIndex);hn&&jt.push(hn),jt.push({formatter:Dt.content});var vn=Ie.positionDefault,bn=buildTooltipModel(jt,this._tooltipModel,vn?{position:vn}:null),_n=bn.get("content"),wn=Math.random()+"",kn=new TooltipMarkupStyleCreator;this._showOrMove(bn,function(){var Cn=clone$4(bn.get("formatterParams")||{});this._showTooltipContent(bn,_n,Cn,wn,Ie.offsetX,Ie.offsetY,Ie.position,Fe,kn)}),Ue({type:"showTip",from:this.uid})},$e.prototype._showTooltipContent=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){if(this._ticket="",!(!Ie.get("showContent")||!Ie.get("show"))){var vn=this._tooltipContent;vn.setEnterable(Ie.get("enterable"));var bn=Ie.get("formatter");Lt=Lt||Ie.get("position");var _n=Fe,wn=this._getNearestPoint([At,Dt],Ue,Ie.get("trigger"),Ie.get("borderColor")),kn=wn.color;if(bn)if(isString(bn)){var Cn=Ie.ecModel.get("useUTC"),Sn=isArray$1(Ue)?Ue[0]:Ue,xn=Sn&&Sn.axisType&&Sn.axisType.indexOf("time")>=0;_n=bn,xn&&(_n=format(Sn.axisValue,_n,Cn)),_n=formatTpl(_n,Ue,!0)}else if(isFunction(bn)){var En=bind$1(function(Tn,An){Tn===this._ticket&&(vn.setContent(An,hn,Ie,kn,Lt),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt))},this);this._ticket=qe,_n=bn(Ue,qe,En)}else _n=bn;vn.setContent(_n,hn,Ie,kn,Lt),vn.show(Ie,kn),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt)}},$e.prototype._getNearestPoint=function(Ie,Fe,Ue,qe){if(Ue==="axis"||isArray$1(Fe))return{color:qe||(this._renderMode==="html"?"#fff":"none")};if(!isArray$1(Fe))return{color:qe||Fe.color||Fe.borderColor}},$e.prototype._updatePosition=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._api.getWidth(),hn=this._api.getHeight();Fe=Fe||Ie.get("position");var vn=At.getSize(),bn=Ie.get("align"),_n=Ie.get("verticalAlign"),wn=Lt&&Lt.getBoundingRect().clone();if(Lt&&wn.applyTransform(Lt.transform),isFunction(Fe)&&(Fe=Fe([Ue,qe],Dt,At.el,wn,{viewSize:[jt,hn],contentSize:vn.slice()})),isArray$1(Fe))Ue=parsePercent(Fe[0],jt),qe=parsePercent(Fe[1],hn);else if(isObject$3(Fe)){var kn=Fe;kn.width=vn[0],kn.height=vn[1];var Cn=getLayoutRect(kn,{width:jt,height:hn});Ue=Cn.x,qe=Cn.y,bn=null,_n=null}else if(isString(Fe)&&Lt){var Sn=calcTooltipPosition(Fe,wn,vn,Ie.get("borderWidth"));Ue=Sn[0],qe=Sn[1]}else{var Sn=refixTooltipPosition(Ue,qe,At,jt,hn,bn?null:20,_n?null:20);Ue=Sn[0],qe=Sn[1]}if(bn&&(Ue-=isCenterAlign(bn)?vn[0]/2:bn==="right"?vn[0]:0),_n&&(qe-=isCenterAlign(_n)?vn[1]/2:_n==="bottom"?vn[1]:0),shouldTooltipConfine(Ie)){var Sn=confineTooltipPosition(Ue,qe,At,jt,hn);Ue=Sn[0],qe=Sn[1]}At.moveTo(Ue,qe)},$e.prototype._updateContentNotChangedOnAxis=function(Ie,Fe){var Ue=this._lastDataByCoordSys,qe=this._cbParamsList,At=!!Ue&&Ue.length===Ie.length;return At&&each$f(Ue,function(Dt,Lt){var jt=Dt.dataByAxis||[],hn=Ie[Lt]||{},vn=hn.dataByAxis||[];At=At&&jt.length===vn.length,At&&each$f(jt,function(bn,_n){var wn=vn[_n]||{},kn=bn.seriesDataIndices||[],Cn=wn.seriesDataIndices||[];At=At&&bn.value===wn.value&&bn.axisType===wn.axisType&&bn.axisId===wn.axisId&&kn.length===Cn.length,At&&each$f(kn,function(Sn,xn){var En=Cn[xn];At=At&&Sn.seriesIndex===En.seriesIndex&&Sn.dataIndex===En.dataIndex}),qe&&each$f(bn.seriesDataIndices,function(Sn){var xn=Sn.seriesIndex,En=Fe[xn],Tn=qe[xn];En&&Tn&&Tn.data!==En.data&&(At=!1)})})}),this._lastDataByCoordSys=Ie,this._cbParamsList=Fe,!!At},$e.prototype._hide=function(Ie){this._lastDataByCoordSys=null,Ie({type:"hideTip",from:this.uid})},$e.prototype.dispose=function(Ie,Fe){env.node||!Fe.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",Fe))},$e.type="tooltip",$e}(ComponentView);function buildTooltipModel(xe,$e,Ie){var Fe=$e.ecModel,Ue;Ie?(Ue=new Model(Ie,Fe,Fe),Ue=new Model($e.option,Ue,Fe)):Ue=$e;for(var qe=xe.length-1;qe>=0;qe--){var At=xe[qe];At&&(At instanceof Model&&(At=At.get("tooltip",!0)),isString(At)&&(At={formatter:At}),At&&(Ue=new Model(At,Ue,Fe)))}return Ue}function makeDispatchAction(xe,$e){return xe.dispatchAction||bind$1($e.dispatchAction,$e)}function refixTooltipPosition(xe,$e,Ie,Fe,Ue,qe,At){var Dt=Ie.getSize(),Lt=Dt[0],jt=Dt[1];return qe!=null&&(xe+Lt+qe+2>Fe?xe-=Lt+qe:xe+=qe),At!=null&&($e+jt+At>Ue?$e-=jt+At:$e+=At),[xe,$e]}function confineTooltipPosition(xe,$e,Ie,Fe,Ue){var qe=Ie.getSize(),At=qe[0],Dt=qe[1];return xe=Math.min(xe+At,Fe)-At,$e=Math.min($e+Dt,Ue)-Dt,xe=Math.max(xe,0),$e=Math.max($e,0),[xe,$e]}function calcTooltipPosition(xe,$e,Ie,Fe){var Ue=Ie[0],qe=Ie[1],At=Math.ceil(Math.SQRT2*Fe)+8,Dt=0,Lt=0,jt=$e.width,hn=$e.height;switch(xe){case"inside":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn/2-qe/2;break;case"top":Dt=$e.x+jt/2-Ue/2,Lt=$e.y-qe-At;break;case"bottom":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn+At;break;case"left":Dt=$e.x-Ue-At,Lt=$e.y+hn/2-qe/2;break;case"right":Dt=$e.x+jt+At,Lt=$e.y+hn/2-qe/2}return[Dt,Lt]}function isCenterAlign(xe){return xe==="center"||xe==="middle"}function findComponentReference(xe,$e,Ie){var Fe=preParseFinder(xe).queryOptionMap,Ue=Fe.keys()[0];if(!(!Ue||Ue==="series")){var qe=queryReferringComponents($e,Ue,Fe.get(Ue),{useDefault:!1,enableAll:!1,enableNone:!1}),At=qe.models[0];if(At){var Dt=Ie.getViewOfComponentModel(At),Lt;if(Dt.group.traverse(function(jt){var hn=getECData(jt).tooltipConfig;if(hn&&hn.name===xe.name)return Lt=jt,!0}),Lt)return{componentMainType:Ue,componentIndex:At.componentIndex,el:Lt}}}}function install$j(xe){use(install$r),xe.registerComponentModel(TooltipModel),xe.registerComponentView(TooltipView),xe.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),xe.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(xe,$e){var Ie=normalizeToArray(xe?xe.brush:[]);if(Ie.length){var Fe=[];each$f(Ie,function(Lt){var jt=Lt.hasOwnProperty("toolbox")?Lt.toolbox:[];jt instanceof Array&&(Fe=Fe.concat(jt))});var Ue=xe&&xe.toolbox;isArray$1(Ue)&&(Ue=Ue[0]),Ue||(Ue={feature:{}},xe.toolbox=[Ue]);var qe=Ue.feature||(Ue.feature={}),At=qe.brush||(qe.brush={}),Dt=At.type||(At.type=[]);Dt.push.apply(Dt,Fe),removeDuplicate(Dt),$e&&!Dt.length&&Dt.push.apply(Dt,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(xe){var $e={};each$f(xe,function(Ie){$e[Ie]=1}),xe.length=0,each$f($e,function(Ie,Fe){xe.push(Fe)})}var each$4=each$f;function hasKeys(xe){if(xe){for(var $e in xe)if(xe.hasOwnProperty($e))return!0}}function createVisualMappings(xe,$e,Ie){var Fe={};return each$4($e,function(qe){var At=Fe[qe]=Ue();each$4(xe[qe],function(Dt,Lt){if(VisualMapping.isValidType(Lt)){var jt={type:Lt,visual:Dt};Ie&&Ie(jt,qe),At[Lt]=new VisualMapping(jt),Lt==="opacity"&&(jt=clone$4(jt),jt.type="colorAlpha",At.__hidden.__alphaForOpacity=new VisualMapping(jt))}})}),Fe;function Ue(){var qe=function(){};qe.prototype.__hidden=qe.prototype;var At=new qe;return At}}function replaceVisualOption(xe,$e,Ie){var Fe;each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])&&(Fe=!0)}),Fe&&each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])?xe[Ue]=clone$4($e[Ue]):delete xe[Ue]})}function applyVisual(xe,$e,Ie,Fe,Ue,qe){var At={};each$f(xe,function(vn){var bn=VisualMapping.prepareVisualTypes($e[vn]);At[vn]=bn});var Dt;function Lt(vn){return getItemVisualFromData(Ie,Dt,vn)}function jt(vn,bn){setItemVisualFromData(Ie,Dt,vn,bn)}Ie.each(hn);function hn(vn,bn){Dt=vn;var _n=Ie.getRawDataItem(Dt);if(!(_n&&_n.visualMap===!1))for(var wn=Fe.call(Ue,vn),kn=$e[wn],Cn=At[wn],Sn=0,xn=Cn.length;Sn$e[0][1]&&($e[0][1]=qe[0]),qe[1]<$e[1][0]&&($e[1][0]=qe[1]),qe[1]>$e[1][1]&&($e[1][1]=qe[1])}return $e&&getBoundingRectFromMinMax($e)}};function getBoundingRectFromMinMax(xe){return new BoundingRect(xe[0][0],xe[1][0],xe[0][1]-xe[0][0],xe[1][1]-xe[1][0])}var BrushView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.ecModel=Ie,this.api=Fe,this.model,(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$1(this._onBrush,this)).mount()},$e.prototype.render=function(Ie,Fe,Ue,qe){this.model=Ie,this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateTransform=function(Ie,Fe,Ue,qe){layoutCovers(Fe),this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateVisual=function(Ie,Fe,Ue,qe){this.updateTransform(Ie,Fe,Ue,qe)},$e.prototype.updateView=function(Ie,Fe,Ue,qe){this._updateController(Ie,Fe,Ue,qe)},$e.prototype._updateController=function(Ie,Fe,Ue,qe){(!qe||qe.$from!==Ie.id)&&this._brushController.setPanels(Ie.brushTargetManager.makePanelOpts(Ue)).enableBrush(Ie.brushOption).updateCovers(Ie.areas.slice())},$e.prototype.dispose=function(){this._brushController.dispose()},$e.prototype._onBrush=function(Ie){var Fe=this.model.id,Ue=this.model.brushTargetManager.setOutputRanges(Ie.areas,this.ecModel);(!Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:Fe,areas:clone$4(Ue),$from:Fe}),Ie.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:Fe,areas:clone$4(Ue),$from:Fe})},$e.type="brush",$e}(ComponentView),DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.areas=[],Ie.brushOption={},Ie}return $e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,["inBrush","outOfBrush"]);var qe=Ue.inBrush=Ue.inBrush||{};Ue.outOfBrush=Ue.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},qe.hasOwnProperty("liftZ")||(qe.liftZ=5)},$e.prototype.setAreas=function(Ie){Ie&&(this.areas=map$1(Ie,function(Fe){return generateBrushOption(this.option,Fe)},this))},$e.prototype.setBrushOption=function(Ie){this.brushOption=generateBrushOption(this.option,Ie),this.brushType=this.brushOption.brushType},$e.type="brush",$e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],$e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},$e}(ComponentModel);function generateBrushOption(xe,$e){return merge({brushType:xe.brushType,brushMode:xe.brushMode,transformable:xe.transformable,brushStyle:new Model(xe.brushStyle).getItemStyle(),removeOnClick:xe.removeOnClick,z:xe.z},$e,!0)}var ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue){var qe,At,Dt;Fe.eachComponent({mainType:"brush"},function(Lt){qe=Lt.brushType,At=Lt.brushOption.brushMode||"single",Dt=Dt||!!Lt.areas.length}),this._brushType=qe,this._brushMode=At,each$f(Ie.get("type",!0),function(Lt){Ie.setIconStatus(Lt,(Lt==="keep"?At==="multiple":Lt==="clear"?Dt:Lt===qe)?"emphasis":"normal")})},$e.prototype.updateView=function(Ie,Fe,Ue){this.render(Ie,Fe,Ue)},$e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon",!0),Ue={};return each$f(Ie.get("type",!0),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this._brushType,At=this._brushMode;Ue==="clear"?(Fe.dispatchAction({type:"axisAreaSelect",intervals:[]}),Fe.dispatchAction({type:"brush",command:"clear",areas:[]})):Fe.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:Ue==="keep"?qe:qe===Ue?!1:Ue,brushMode:Ue==="keep"?At==="multiple"?"single":"multiple":At}})},$e.getDefaultOption=function(Ie){var Fe={show:!0,type:ICON_TYPES.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:Ie.getLocaleModel().get(["toolbox","brush","title"])};return Fe},$e}(ToolboxFeature);function install$i(xe){xe.registerComponentView(BrushView),xe.registerComponentModel(BrushModel),xe.registerPreprocessor(brushPreprocessor),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,brushVisual),xe.registerAction({type:"brush",event:"brush",update:"updateVisual"},function($e,Ie){Ie.eachComponent({mainType:"brush",query:$e},function(Fe){Fe.setAreas($e.areas)})}),xe.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},noop),xe.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop),registerFeature("brush",BrushFeature)}var TitleModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode={type:"box",ignoreSize:!0},Ie}return $e.type="title",$e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},$e}(ComponentModel),TitleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(this.group.removeAll(),!!Ie.get("show")){var qe=this.group,At=Ie.getModel("textStyle"),Dt=Ie.getModel("subtextStyle"),Lt=Ie.get("textAlign"),jt=retrieve2(Ie.get("textBaseline"),Ie.get("textVerticalAlign")),hn=new ZRText({style:createTextStyle(At,{text:Ie.get("text"),fill:At.getTextColor()},{disableBox:!0}),z2:10}),vn=hn.getBoundingRect(),bn=Ie.get("subtext"),_n=new ZRText({style:createTextStyle(Dt,{text:bn,fill:Dt.getTextColor(),y:vn.height+Ie.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),wn=Ie.get("link"),kn=Ie.get("sublink"),Cn=Ie.get("triggerEvent",!0);hn.silent=!wn&&!Cn,_n.silent=!kn&&!Cn,wn&&hn.on("click",function(){windowOpen(wn,"_"+Ie.get("target"))}),kn&&_n.on("click",function(){windowOpen(kn,"_"+Ie.get("subtarget"))}),getECData(hn).eventData=getECData(_n).eventData=Cn?{componentType:"title",componentIndex:Ie.componentIndex}:null,qe.add(hn),bn&&qe.add(_n);var Sn=qe.getBoundingRect(),xn=Ie.getBoxLayoutParams();xn.width=Sn.width,xn.height=Sn.height;var En=getLayoutRect(xn,{width:Ue.getWidth(),height:Ue.getHeight()},Ie.get("padding"));Lt||(Lt=Ie.get("left")||Ie.get("right"),Lt==="middle"&&(Lt="center"),Lt==="right"?En.x+=En.width:Lt==="center"&&(En.x+=En.width/2)),jt||(jt=Ie.get("top")||Ie.get("bottom"),jt==="center"&&(jt="middle"),jt==="bottom"?En.y+=En.height:jt==="middle"&&(En.y+=En.height/2),jt=jt||"top"),qe.x=En.x,qe.y=En.y,qe.markRedraw();var Tn={align:Lt,verticalAlign:jt};hn.setStyle(Tn),_n.setStyle(Tn),Sn=qe.getBoundingRect();var An=En.margin,$n=Ie.getItemStyle(["color","opacity"]);$n.fill=Ie.get("backgroundColor");var Pn=new Rect$2({shape:{x:Sn.x-An[3],y:Sn.y-An[0],width:Sn.width+An[1]+An[3],height:Sn.height+An[0]+An[2],r:Ie.get("borderRadius")},style:$n,subPixelOptimize:!0,silent:!0});qe.add(Pn)}},$e.type="title",$e}(ComponentView);function install$h(xe){xe.registerComponentModel(TitleModel),xe.registerComponentView(TitleView)}var TimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode="box",Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue),this._initData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this._initData()},$e.prototype.setCurrentIndex=function(Ie){Ie==null&&(Ie=this.option.currentIndex);var Fe=this._data.count();this.option.loop?Ie=(Ie%Fe+Fe)%Fe:(Ie>=Fe&&(Ie=Fe-1),Ie<0&&(Ie=0)),this.option.currentIndex=Ie},$e.prototype.getCurrentIndex=function(){return this.option.currentIndex},$e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},$e.prototype.setPlayState=function(Ie){this.option.autoPlay=!!Ie},$e.prototype.getPlayState=function(){return!!this.option.autoPlay},$e.prototype._initData=function(){var Ie=this.option,Fe=Ie.data||[],Ue=Ie.axisType,qe=this._names=[],At;Ue==="category"?(At=[],each$f(Fe,function(jt,hn){var vn=convertOptionIdName(getDataItemValue(jt),""),bn;isObject$3(jt)?(bn=clone$4(jt),bn.value=hn):bn=hn,At.push(bn),qe.push(vn)})):At=Fe;var Dt={category:"ordinal",time:"time",value:"number"}[Ue]||"number",Lt=this._data=new SeriesData([{name:"value",type:Dt}],this);Lt.initData(At,qe)},$e.prototype.getData=function(){return this._data},$e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},$e.type="timeline",$e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},$e}(ComponentModel),SliderTimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline.slider",$e.defaultOption=inheritDefaultOption(TimelineModel.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),$e}(TimelineModel);mixin(SliderTimelineModel,DataFormatMixin.prototype);var TimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline",$e}(ComponentView),TimelineAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this,Ie,Fe,Ue)||this;return At.type=qe||"value",At}return $e.prototype.getLabelModel=function(){return this.model.getModel("label")},$e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},$e}(Axis),PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe},$e.prototype.render=function(Ie,Fe,Ue){if(this.model=Ie,this.api=Ue,this.ecModel=Fe,this.group.removeAll(),Ie.get("show",!0)){var qe=this._layout(Ie,Ue),At=this._createGroup("_mainGroup"),Dt=this._createGroup("_labelGroup"),Lt=this._axis=this._createAxis(qe,Ie);Ie.formatTooltip=function(jt){var hn=Lt.scale.getLabel({value:jt});return createTooltipMarkup("nameValue",{noName:!0,value:hn})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],function(jt){this["_render"+jt](qe,At,Lt,Ie)},this),this._renderAxisLabel(qe,Dt,Lt,Ie),this._position(qe,Ie)}this._doPlayStop(),this._updateTicksStatus()},$e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},$e.prototype.dispose=function(){this._clearTimer()},$e.prototype._layout=function(Ie,Fe){var Ue=Ie.get(["label","position"]),qe=Ie.get("orient"),At=getViewRect(Ie,Fe),Dt;Ue==null||Ue==="auto"?Dt=qe==="horizontal"?At.y+At.height/2=0||Dt==="+"?"left":"right"},jt={horizontal:Dt>=0||Dt==="+"?"top":"bottom",vertical:"middle"},hn={horizontal:0,vertical:PI/2},vn=qe==="vertical"?At.height:At.width,bn=Ie.getModel("controlStyle"),_n=bn.get("show",!0),wn=_n?bn.get("itemSize"):0,kn=_n?bn.get("itemGap"):0,Cn=wn+kn,Sn=Ie.get(["label","rotate"])||0;Sn=Sn*PI/180;var xn,En,Tn,An=bn.get("position",!0),$n=_n&&bn.get("showPlayBtn",!0),Pn=_n&&bn.get("showPrevBtn",!0),Nn=_n&&bn.get("showNextBtn",!0),Mn=0,In=vn;An==="left"||An==="bottom"?($n&&(xn=[0,0],Mn+=Cn),Pn&&(En=[Mn,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn)):($n&&(xn=[In-wn,0],In-=Cn),Pn&&(En=[0,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn));var On=[Mn,In];return Ie.get("inverse")&&On.reverse(),{viewRect:At,mainLength:vn,orient:qe,rotation:hn[qe],labelRotation:Sn,labelPosOpt:Dt,labelAlign:Ie.get(["label","align"])||Lt[qe],labelBaseline:Ie.get(["label","verticalAlign"])||Ie.get(["label","baseline"])||jt[qe],playPosition:xn,prevBtnPosition:En,nextBtnPosition:Tn,axisExtent:On,controlSize:wn,controlGap:kn}},$e.prototype._position=function(Ie,Fe){var Ue=this._mainGroup,qe=this._labelGroup,At=Ie.viewRect;if(Ie.orient==="vertical"){var Dt=create$1(),Lt=At.x,jt=At.y+At.height;translate(Dt,Dt,[-Lt,-jt]),rotate(Dt,Dt,-PI/2),translate(Dt,Dt,[Lt,jt]),At=At.clone(),At.applyTransform(Dt)}var hn=xn(At),vn=xn(Ue.getBoundingRect()),bn=xn(qe.getBoundingRect()),_n=[Ue.x,Ue.y],wn=[qe.x,qe.y];wn[0]=_n[0]=hn[0][0];var kn=Ie.labelPosOpt;if(kn==null||isString(kn)){var Cn=kn==="+"?0:1;En(_n,vn,hn,1,Cn),En(wn,bn,hn,1,1-Cn)}else{var Cn=kn>=0?0:1;En(_n,vn,hn,1,Cn),wn[1]=_n[1]+kn}Ue.setPosition(_n),qe.setPosition(wn),Ue.rotation=qe.rotation=Ie.rotation,Sn(Ue),Sn(qe);function Sn(Tn){Tn.originX=hn[0][0]-Tn.x,Tn.originY=hn[1][0]-Tn.y}function xn(Tn){return[[Tn.x,Tn.x+Tn.width],[Tn.y,Tn.y+Tn.height]]}function En(Tn,An,$n,Pn,Nn){Tn[Pn]+=$n[Pn][Nn]-An[Pn][Nn]}},$e.prototype._createAxis=function(Ie,Fe){var Ue=Fe.getData(),qe=Fe.get("axisType"),At=createScaleByModel(Fe,qe);At.getTicks=function(){return Ue.mapArray(["value"],function(jt){return{value:jt}})};var Dt=Ue.getDataExtent("value");At.setExtent(Dt[0],Dt[1]),At.calcNiceTicks();var Lt=new TimelineAxis("value",At,Ie.axisExtent,qe);return Lt.model=Fe,Lt},$e.prototype._createGroup=function(Ie){var Fe=this[Ie]=new Group$3;return this.group.add(Fe),Fe},$e.prototype._renderAxisLine=function(Ie,Fe,Ue,qe){var At=Ue.getExtent();if(qe.get(["lineStyle","show"])){var Dt=new Line$1({shape:{x1:At[0],y1:0,x2:At[1],y2:0},style:extend({lineCap:"round"},qe.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});Fe.add(Dt);var Lt=this._progressLine=new Line$1({shape:{x1:At[0],x2:this._currentPointer?this._currentPointer.x:At[0],y1:0,y2:0},style:defaults({lineCap:"round",lineWidth:Dt.style.lineWidth},qe.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});Fe.add(Lt)}},$e.prototype._renderAxisTick=function(Ie,Fe,Ue,qe){var At=this,Dt=qe.getData(),Lt=Ue.scale.getTicks();this._tickSymbols=[],each$f(Lt,function(jt){var hn=Ue.dataToCoord(jt.value),vn=Dt.getItemModel(jt.value),bn=vn.getModel("itemStyle"),_n=vn.getModel(["emphasis","itemStyle"]),wn=vn.getModel(["progress","itemStyle"]),kn={x:hn,y:0,onclick:bind$1(At._changeTimeline,At,jt.value)},Cn=giveSymbol(vn,bn,Fe,kn);Cn.ensureState("emphasis").style=_n.getItemStyle(),Cn.ensureState("progress").style=wn.getItemStyle(),enableHoverEmphasis(Cn);var Sn=getECData(Cn);vn.get("tooltip")?(Sn.dataIndex=jt.value,Sn.dataModel=qe):Sn.dataIndex=Sn.dataModel=null,At._tickSymbols.push(Cn)})},$e.prototype._renderAxisLabel=function(Ie,Fe,Ue,qe){var At=this,Dt=Ue.getLabelModel();if(Dt.get("show")){var Lt=qe.getData(),jt=Ue.getViewLabels();this._tickLabels=[],each$f(jt,function(hn){var vn=hn.tickValue,bn=Lt.getItemModel(vn),_n=bn.getModel("label"),wn=bn.getModel(["emphasis","label"]),kn=bn.getModel(["progress","label"]),Cn=Ue.dataToCoord(hn.tickValue),Sn=new ZRText({x:Cn,y:0,rotation:Ie.labelRotation-Ie.rotation,onclick:bind$1(At._changeTimeline,At,vn),silent:!1,style:createTextStyle(_n,{text:hn.formattedLabel,align:Ie.labelAlign,verticalAlign:Ie.labelBaseline})});Sn.ensureState("emphasis").style=createTextStyle(wn),Sn.ensureState("progress").style=createTextStyle(kn),Fe.add(Sn),enableHoverEmphasis(Sn),labelDataIndexStore(Sn).dataIndex=vn,At._tickLabels.push(Sn)})}},$e.prototype._renderControl=function(Ie,Fe,Ue,qe){var At=Ie.controlSize,Dt=Ie.rotation,Lt=qe.getModel("controlStyle").getItemStyle(),jt=qe.getModel(["emphasis","controlStyle"]).getItemStyle(),hn=qe.getPlayState(),vn=qe.get("inverse",!0);bn(Ie.nextBtnPosition,"next",bind$1(this._changeTimeline,this,vn?"-":"+")),bn(Ie.prevBtnPosition,"prev",bind$1(this._changeTimeline,this,vn?"+":"-")),bn(Ie.playPosition,hn?"stop":"play",bind$1(this._handlePlayClick,this,!hn),!0);function bn(_n,wn,kn,Cn){if(_n){var Sn=parsePercent$1(retrieve2(qe.get(["controlStyle",wn+"BtnSize"]),At),At),xn=[0,-Sn/2,Sn,Sn],En=makeControlIcon(qe,wn+"Icon",xn,{x:_n[0],y:_n[1],originX:At/2,originY:0,rotation:Cn?-Dt:0,rectHover:!0,style:Lt,onclick:kn});En.ensureState("emphasis").style=jt,Fe.add(En),enableHoverEmphasis(En)}}},$e.prototype._renderCurrentPointer=function(Ie,Fe,Ue,qe){var At=qe.getData(),Dt=qe.getCurrentIndex(),Lt=At.getItemModel(Dt).getModel("checkpointStyle"),jt=this,hn={onCreate:function(vn){vn.draggable=!0,vn.drift=bind$1(jt._handlePointerDrag,jt),vn.ondragend=bind$1(jt._handlePointerDragend,jt),pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe,!0)},onUpdate:function(vn){pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe)}};this._currentPointer=giveSymbol(Lt,Lt,this._mainGroup,{},this._currentPointer,hn)},$e.prototype._handlePlayClick=function(Ie){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:Ie,from:this.uid})},$e.prototype._handlePointerDrag=function(Ie,Fe,Ue){this._clearTimer(),this._pointerChangeTimeline([Ue.offsetX,Ue.offsetY])},$e.prototype._handlePointerDragend=function(Ie){this._pointerChangeTimeline([Ie.offsetX,Ie.offsetY],!0)},$e.prototype._pointerChangeTimeline=function(Ie,Fe){var Ue=this._toAxisCoord(Ie)[0],qe=this._axis,At=asc$2(qe.getExtent().slice());Ue>At[1]&&(Ue=At[1]),Ue=0&&(At[qe]=+At[qe].toFixed(bn)),[At,vn]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(xe,$e){if($e){var Ie=xe.getData(),Fe=xe.coordinateSystem,Ue=Fe&&Fe.dimensions;if(!hasXAndY($e)&&!isArray$1($e.coord)&&isArray$1(Ue)){var qe=getAxisInfo($e,Ie,Fe,xe);if($e=clone$4($e),$e.type&&markerTypeCalculator[$e.type]&&qe.baseAxis&&qe.valueAxis){var At=indexOf(Ue,qe.baseAxis.dim),Dt=indexOf(Ue,qe.valueAxis.dim),Lt=markerTypeCalculator[$e.type](Ie,qe.baseDataDim,qe.valueDataDim,At,Dt);$e.coord=Lt[0],$e.value=Lt[1]}else $e.coord=[$e.xAxis!=null?$e.xAxis:$e.radiusAxis,$e.yAxis!=null?$e.yAxis:$e.angleAxis]}if($e.coord==null||!isArray$1(Ue))$e.coord=[];else for(var jt=$e.coord,hn=0;hn<2;hn++)markerTypeCalculator[jt[hn]]&&(jt[hn]=numCalculate(Ie,Ie.mapDimension(Ue[hn]),jt[hn]));return $e}}function getAxisInfo(xe,$e,Ie,Fe){var Ue={};return xe.valueIndex!=null||xe.valueDim!=null?(Ue.valueDataDim=xe.valueIndex!=null?$e.getDimension(xe.valueIndex):xe.valueDim,Ue.valueAxis=Ie.getAxis(dataDimToCoordDim(Fe,Ue.valueDataDim)),Ue.baseAxis=Ie.getOtherAxis(Ue.valueAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim)):(Ue.baseAxis=Fe.getBaseAxis(),Ue.valueAxis=Ie.getOtherAxis(Ue.baseAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim),Ue.valueDataDim=$e.mapDimension(Ue.valueAxis.dim)),Ue}function dataDimToCoordDim(xe,$e){var Ie=xe.getData().getDimensionInfo($e);return Ie&&Ie.coordDim}function dataFilter(xe,$e){return xe&&xe.containData&&$e.coord&&!hasXOrY($e)?xe.containData($e.coord):!0}function zoneFilter(xe,$e,Ie){return xe&&xe.containZone&&$e.coord&&Ie.coord&&!hasXOrY($e)&&!hasXOrY(Ie)?xe.containZone($e.coord,Ie.coord):!0}function createMarkerDimValueGetter(xe,$e){return xe?function(Ie,Fe,Ue,qe){var At=qe<2?Ie.coord&&Ie.coord[qe]:Ie.value;return parseDataValue(At,$e[qe])}:function(Ie,Fe,Ue,qe){return parseDataValue(Ie.value,$e[qe])}}function numCalculate(xe,$e,Ie){if(Ie==="average"){var Fe=0,Ue=0;return xe.each($e,function(qe,At){isNaN(qe)||(Fe+=qe,Ue++)}),Fe/Ue}else return Ie==="median"?xe.getMedian($e):xe.getDataExtent($e)[Ie==="max"?1:0]}var inner$4=makeInner(),MarkerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){this.markerGroupMap=createHashMap()},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=this.markerGroupMap;At.each(function(Dt){inner$4(Dt).keep=!1}),Fe.eachSeries(function(Dt){var Lt=MarkerModel.getMarkerModelFromSeries(Dt,qe.type);Lt&&qe.renderSeries(Dt,Lt,Fe,Ue)}),At.each(function(Dt){!inner$4(Dt).keep&&qe.group.remove(Dt.group)})},$e.prototype.markKeep=function(Ie){inner$4(Ie).keep=!0},$e.prototype.toggleBlurSeries=function(Ie,Fe){var Ue=this;each$f(Ie,function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,Ue.type);if(At){var Dt=At.getData();Dt.eachItemGraphicEl(function(Lt){Lt&&(Fe?enterBlur(Lt):leaveBlur(Lt))})}})},$e.type="marker",$e}(ComponentView);function updateMarkerLayout(xe,$e,Ie){var Fe=$e.coordinateSystem;xe.each(function(Ue){var qe=xe.getItemModel(Ue),At,Dt=parsePercent(qe.get("x"),Ie.getWidth()),Lt=parsePercent(qe.get("y"),Ie.getHeight());if(!isNaN(Dt)&&!isNaN(Lt))At=[Dt,Lt];else if($e.getMarkerPosition)At=$e.getMarkerPosition(xe.getValues(xe.dimensions,Ue));else if(Fe){var jt=xe.get(Fe.dimensions[0],Ue),hn=xe.get(Fe.dimensions[1],Ue);At=Fe.dataToPoint([jt,hn])}isNaN(Dt)||(At[0]=Dt),isNaN(Lt)||(At[1]=Lt),xe.setItemLayout(Ue,At)})}var MarkPointView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markPoint");At&&(updateMarkerLayout(At.getData(),qe,Ue),this.markerGroupMap.get(qe.id).updateLayout())},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new SymbolDraw),vn=createData(At,Ie,Fe);Fe.setData(vn),updateMarkerLayout(Fe.getData(),Ie,qe),vn.each(function(bn){var _n=vn.getItemModel(bn),wn=_n.getShallow("symbol"),kn=_n.getShallow("symbolSize"),Cn=_n.getShallow("symbolRotate"),Sn=_n.getShallow("symbolOffset"),xn=_n.getShallow("symbolKeepAspect");if(isFunction(wn)||isFunction(kn)||isFunction(Cn)||isFunction(Sn)){var En=Fe.getRawValue(bn),Tn=Fe.getDataParams(bn);isFunction(wn)&&(wn=wn(En,Tn)),isFunction(kn)&&(kn=kn(En,Tn)),isFunction(Cn)&&(Cn=Cn(En,Tn)),isFunction(Sn)&&(Sn=Sn(En,Tn))}var An=_n.getModel("itemStyle").getItemStyle(),$n=getVisualFromData(Lt,"color");An.fill||(An.fill=$n),vn.setItemVisual(bn,{symbol:wn,symbolSize:kn,symbolRotate:Cn,symbolOffset:Sn,symbolKeepAspect:xn,style:An})}),hn.updateData(vn),this.group.add(hn.group),vn.eachItemGraphicEl(function(bn){bn.traverse(function(_n){getECData(_n).dataModel=Fe})}),this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markPoint",$e}(MarkerView);function createData(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(Dt){var Lt=$e.getData().getDimensionInfo($e.getData().mapDimension(Dt))||{};return extend(extend({},Lt),{name:Dt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=map$1(Ie.get("data"),curry$1(dataTransform,$e));xe&&(qe=filter(qe,curry$1(dataFilter,xe)));var At=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(qe,null,At),Ue}function install$f(xe){xe.registerComponentModel(MarkPointModel),xe.registerComponentView(MarkPointView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markPoint")&&($e.markPoint=$e.markPoint||{})})}var MarkLineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markLine",$e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},$e}(MarkerModel),inner$3=makeInner(),markLineTransform=function(xe,$e,Ie,Fe){var Ue=xe.getData(),qe;if(isArray$1(Fe))qe=Fe;else{var At=Fe.type;if(At==="min"||At==="max"||At==="average"||At==="median"||Fe.xAxis!=null||Fe.yAxis!=null){var Dt=void 0,Lt=void 0;if(Fe.yAxis!=null||Fe.xAxis!=null)Dt=$e.getAxis(Fe.yAxis!=null?"y":"x"),Lt=retrieve(Fe.yAxis,Fe.xAxis);else{var jt=getAxisInfo(Fe,Ue,$e,xe);Dt=jt.valueAxis;var hn=getStackedDimension(Ue,jt.valueDataDim);Lt=numCalculate(Ue,hn,At)}var vn=Dt.dim==="x"?0:1,bn=1-vn,_n=clone$4(Fe),wn={coord:[]};_n.type=null,_n.coord=[],_n.coord[bn]=-1/0,wn.coord[bn]=1/0;var kn=Ie.get("precision");kn>=0&&isNumber(Lt)&&(Lt=+Lt.toFixed(Math.min(kn,20))),_n.coord[vn]=wn.coord[vn]=Lt,qe=[_n,wn,{type:At,valueIndex:Fe.valueIndex,value:Lt}]}else qe=[]}var Cn=[dataTransform(xe,qe[0]),dataTransform(xe,qe[1]),extend({},qe[2])];return Cn[2].type=Cn[2].type||null,merge(Cn[2],Cn[0]),merge(Cn[2],Cn[1]),Cn};function isInfinity$1(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkLineHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe,qe=Fe.dimensions[xe];return isInfinity$1($e[Ue])&&isInfinity$1(Ie[Ue])&&$e[xe]===Ie[xe]&&Fe.getAxis(qe).containData($e[xe])}function markLineFilter(xe,$e){if(xe.type==="cartesian2d"){var Ie=$e[0].coord,Fe=$e[1].coord;if(Ie&&Fe&&(ifMarkLineHasOnlyDim(1,Ie,Fe,xe)||ifMarkLineHasOnlyDim(0,Ie,Fe,xe)))return!0}return dataFilter(xe,$e[0])&&dataFilter(xe,$e[1])}function updateSingleMarkerEndLayout(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get("x"),Ue.getWidth()),jt=parsePercent(At.get("y"),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition)Dt=Fe.getMarkerPosition(xe.getValues(xe.dimensions,$e));else{var hn=qe.dimensions,vn=xe.get(hn[0],$e),bn=xe.get(hn[1],$e);Dt=qe.dataToPoint([vn,bn])}if(isCoordinateSystemType(qe,"cartesian2d")){var _n=qe.getAxis("x"),wn=qe.getAxis("y"),hn=qe.dimensions;isInfinity$1(xe.get(hn[0],$e))?Dt[0]=_n.toGlobalCoord(_n.getExtent()[Ie?0:1]):isInfinity$1(xe.get(hn[1],$e))&&(Dt[1]=wn.toGlobalCoord(wn.getExtent()[Ie?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}xe.setItemLayout($e,Dt)}var MarkLineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markLine");if(At){var Dt=At.getData(),Lt=inner$3(At).from,jt=inner$3(At).to;Lt.each(function(hn){updateSingleMarkerEndLayout(Lt,hn,!0,qe,Ue),updateSingleMarkerEndLayout(jt,hn,!1,qe,Ue)}),Dt.each(function(hn){Dt.setItemLayout(hn,[Lt.getItemLayout(hn),jt.getItemLayout(hn)])}),this.markerGroupMap.get(qe.id).updateLayout()}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new LineDraw);this.group.add(hn.group);var vn=createList$1(At,Ie,Fe),bn=vn.from,_n=vn.to,wn=vn.line;inner$3(Fe).from=bn,inner$3(Fe).to=_n,Fe.setData(wn);var kn=Fe.get("symbol"),Cn=Fe.get("symbolSize"),Sn=Fe.get("symbolRotate"),xn=Fe.get("symbolOffset");isArray$1(kn)||(kn=[kn,kn]),isArray$1(Cn)||(Cn=[Cn,Cn]),isArray$1(Sn)||(Sn=[Sn,Sn]),isArray$1(xn)||(xn=[xn,xn]),vn.from.each(function(Tn){En(bn,Tn,!0),En(_n,Tn,!1)}),wn.each(function(Tn){var An=wn.getItemModel(Tn).getModel("lineStyle").getLineStyle();wn.setItemLayout(Tn,[bn.getItemLayout(Tn),_n.getItemLayout(Tn)]),An.stroke==null&&(An.stroke=bn.getItemVisual(Tn,"style").fill),wn.setItemVisual(Tn,{fromSymbolKeepAspect:bn.getItemVisual(Tn,"symbolKeepAspect"),fromSymbolOffset:bn.getItemVisual(Tn,"symbolOffset"),fromSymbolRotate:bn.getItemVisual(Tn,"symbolRotate"),fromSymbolSize:bn.getItemVisual(Tn,"symbolSize"),fromSymbol:bn.getItemVisual(Tn,"symbol"),toSymbolKeepAspect:_n.getItemVisual(Tn,"symbolKeepAspect"),toSymbolOffset:_n.getItemVisual(Tn,"symbolOffset"),toSymbolRotate:_n.getItemVisual(Tn,"symbolRotate"),toSymbolSize:_n.getItemVisual(Tn,"symbolSize"),toSymbol:_n.getItemVisual(Tn,"symbol"),style:An})}),hn.updateData(wn),vn.line.eachItemGraphicEl(function(Tn){getECData(Tn).dataModel=Fe,Tn.traverse(function(An){getECData(An).dataModel=Fe})});function En(Tn,An,$n){var Pn=Tn.getItemModel(An);updateSingleMarkerEndLayout(Tn,An,$n,Ie,qe);var Nn=Pn.getModel("itemStyle").getItemStyle();Nn.fill==null&&(Nn.fill=getVisualFromData(Lt,"color")),Tn.setItemVisual(An,{symbolKeepAspect:Pn.get("symbolKeepAspect"),symbolOffset:retrieve2(Pn.get("symbolOffset",!0),xn[$n?0:1]),symbolRotate:retrieve2(Pn.get("symbolRotate",!0),Sn[$n?0:1]),symbolSize:retrieve2(Pn.get("symbolSize"),Cn[$n?0:1]),symbol:retrieve2(Pn.get("symbol",!0),kn[$n?0:1]),style:Nn})}this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markLine",$e}(MarkerView);function createList$1(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(jt){var hn=$e.getData().getDimensionInfo($e.getData().mapDimension(jt))||{};return extend(extend({},hn),{name:jt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=new SeriesData(Fe,Ie),At=new SeriesData([],Ie),Dt=map$1(Ie.get("data"),curry$1(markLineTransform,$e,xe,Ie));xe&&(Dt=filter(Dt,curry$1(markLineFilter,xe)));var Lt=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(map$1(Dt,function(jt){return jt[0]}),null,Lt),qe.initData(map$1(Dt,function(jt){return jt[1]}),null,Lt),At.initData(map$1(Dt,function(jt){return jt[2]})),At.hasItemOption=!0,{from:Ue,to:qe,line:At}}function install$e(xe){xe.registerComponentModel(MarkLineModel),xe.registerComponentView(MarkLineView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markLine")&&($e.markLine=$e.markLine||{})})}var MarkAreaModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markArea",$e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},$e}(MarkerModel),inner$2=makeInner(),markAreaTransform=function(xe,$e,Ie,Fe){var Ue=Fe[0],qe=Fe[1];if(!(!Ue||!qe)){var At=dataTransform(xe,Ue),Dt=dataTransform(xe,qe),Lt=At.coord,jt=Dt.coord;Lt[0]=retrieve(Lt[0],-1/0),Lt[1]=retrieve(Lt[1],-1/0),jt[0]=retrieve(jt[0],1/0),jt[1]=retrieve(jt[1],1/0);var hn=mergeAll([{},At,Dt]);return hn.coord=[At.coord,Dt.coord],hn.x0=At.x,hn.y0=At.y,hn.x1=Dt.x,hn.y1=Dt.y,hn}};function isInfinity(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkAreaHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe;return isInfinity($e[Ue])&&isInfinity(Ie[Ue])}function markAreaFilter(xe,$e){var Ie=$e.coord[0],Fe=$e.coord[1],Ue={coord:Ie,x:$e.x0,y:$e.y0},qe={coord:Fe,x:$e.x1,y:$e.y1};return isCoordinateSystemType(xe,"cartesian2d")?Ie&&Fe&&(ifMarkAreaHasOnlyDim(1,Ie,Fe)||ifMarkAreaHasOnlyDim(0,Ie,Fe))?!0:zoneFilter(xe,Ue,qe):dataFilter(xe,Ue)||dataFilter(xe,qe)}function getSingleMarkerEndPoint(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get(Ie[0]),Ue.getWidth()),jt=parsePercent(At.get(Ie[1]),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition){var hn=xe.getValues(["x0","y0"],$e),vn=xe.getValues(["x1","y1"],$e),bn=qe.clampData(hn),_n=qe.clampData(vn),wn=[];Ie[0]==="x0"?wn[0]=bn[0]>_n[0]?vn[0]:hn[0]:wn[0]=bn[0]>_n[0]?hn[0]:vn[0],Ie[1]==="y0"?wn[1]=bn[1]>_n[1]?vn[1]:hn[1]:wn[1]=bn[1]>_n[1]?hn[1]:vn[1],Dt=Fe.getMarkerPosition(wn,Ie,!0)}else{var kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e),Sn=[kn,Cn];qe.clampData&&qe.clampData(Sn,Sn),Dt=qe.dataToPoint(Sn,!0)}if(isCoordinateSystemType(qe,"cartesian2d")){var xn=qe.getAxis("x"),En=qe.getAxis("y"),kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e);isInfinity(kn)?Dt[0]=xn.toGlobalCoord(xn.getExtent()[Ie[0]==="x0"?0:1]):isInfinity(Cn)&&(Dt[1]=En.toGlobalCoord(En.getExtent()[Ie[1]==="y0"?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}return Dt}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markArea");if(At){var Dt=At.getData();Dt.each(function(Lt){var jt=map$1(dimPermutations,function(vn){return getSingleMarkerEndPoint(Dt,Lt,vn,qe,Ue)});Dt.setItemLayout(Lt,jt);var hn=Dt.getItemGraphicEl(Lt);hn.setShape("points",jt)})}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,{group:new Group$3});this.group.add(hn.group),this.markKeep(hn);var vn=createList(At,Ie,Fe);Fe.setData(vn),vn.each(function(bn){var _n=map$1(dimPermutations,function(Nn){return getSingleMarkerEndPoint(vn,bn,Nn,Ie,qe)}),wn=At.getAxis("x").scale,kn=At.getAxis("y").scale,Cn=wn.getExtent(),Sn=kn.getExtent(),xn=[wn.parse(vn.get("x0",bn)),wn.parse(vn.get("x1",bn))],En=[kn.parse(vn.get("y0",bn)),kn.parse(vn.get("y1",bn))];asc$2(xn),asc$2(En);var Tn=!(Cn[0]>xn[1]||Cn[1]En[1]||Sn[1]=0},$e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},$e.type="legend.plain",$e.dependencies=["series"],$e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},$e}(ComponentModel),curry=curry$1,each$3=each$f,Group$1=Group$3,LegendView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.newlineDisabled=!1,Ie}return $e.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},$e.prototype.getContentGroup=function(){return this._contentGroup},$e.prototype.getSelectorGroup=function(){return this._selectorGroup},$e.prototype.render=function(Ie,Fe,Ue){var qe=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!Ie.get("show",!0)){var At=Ie.get("align"),Dt=Ie.get("orient");(!At||At==="auto")&&(At=Ie.get("left")==="right"&&Dt==="vertical"?"right":"left");var Lt=Ie.get("selector",!0),jt=Ie.get("selectorPosition",!0);Lt&&(!jt||jt==="auto")&&(jt=Dt==="horizontal"?"end":"start"),this.renderInner(At,Ie,Fe,Ue,Lt,Dt,jt);var hn=Ie.getBoxLayoutParams(),vn={width:Ue.getWidth(),height:Ue.getHeight()},bn=Ie.get("padding"),_n=getLayoutRect(hn,vn,bn),wn=this.layoutInner(Ie,At,_n,qe,Lt,jt),kn=getLayoutRect(defaults({width:wn.width,height:wn.height},hn),vn,bn);this.group.x=kn.x-wn.x,this.group.y=kn.y-wn.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(wn,Ie))}},$e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},$e.prototype.renderInner=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this.getContentGroup(),hn=createHashMap(),vn=Fe.get("selectedMode"),bn=[];Ue.eachRawSeries(function(_n){!_n.get("legendHoverLink")&&bn.push(_n.id)}),each$3(Fe.getData(),function(_n,wn){var kn=_n.get("name");if(!this.newlineDisabled&&(kn===""||kn===` `)){var Cn=new Group$1;Cn.newline=!0,jt.add(Cn);return}var Sn=Ue.getSeriesByName(kn)[0];if(!hn.get(kn))if(Sn){var xn=Sn.getData(),En=xn.getVisual("legendLineStyle")||{},Tn=xn.getVisual("legendIcon"),An=xn.getVisual("style"),$n=this._createItem(Sn,kn,wn,_n,Fe,Ie,En,An,Tn,vn,qe);$n.on("click",curry(dispatchSelectAction,kn,null,qe,bn)).on("mouseover",curry(dispatchHighlightAction,Sn.name,null,qe,bn)).on("mouseout",curry(dispatchDownplayAction,Sn.name,null,qe,bn)),Ue.ssr&&$n.eachChild(function(Pn){var Nn=getECData(Pn);Nn.seriesIndex=Sn.seriesIndex,Nn.dataIndex=wn,Nn.ssrType="legend"}),hn.set(kn,!0)}else Ue.eachRawSeries(function(Pn){if(!hn.get(kn)&&Pn.legendVisualProvider){var Nn=Pn.legendVisualProvider;if(!Nn.containName(kn))return;var Mn=Nn.indexOfName(kn),In=Nn.getItemVisual(Mn,"style"),On=Nn.getItemVisual(Mn,"legendIcon"),Rn=parse(In.fill);Rn&&Rn[3]===0&&(Rn[3]=.2,In=extend(extend({},In),{fill:stringify(Rn,"rgba")}));var Bn=this._createItem(Pn,kn,wn,_n,Fe,Ie,{},In,On,vn,qe);Bn.on("click",curry(dispatchSelectAction,null,kn,qe,bn)).on("mouseover",curry(dispatchHighlightAction,null,kn,qe,bn)).on("mouseout",curry(dispatchDownplayAction,null,kn,qe,bn)),Ue.ssr&&Bn.eachChild(function(Vn){var Ln=getECData(Vn);Ln.seriesIndex=Pn.seriesIndex,Ln.dataIndex=wn,Ln.ssrType="legend"}),hn.set(kn,!0)}},this)},this),At&&this._createSelector(At,Fe,qe,Dt,Lt)},$e.prototype._createSelector=function(Ie,Fe,Ue,qe,At){var Dt=this.getSelectorGroup();each$3(Ie,function(jt){var hn=jt.type,vn=new ZRText({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){Ue.dispatchAction({type:hn==="all"?"legendAllSelect":"legendInverseSelect"})}});Dt.add(vn);var bn=Fe.getModel("selectorLabel"),_n=Fe.getModel(["emphasis","selectorLabel"]);setLabelStyle(vn,{normal:bn,emphasis:_n},{defaultText:jt.title}),enableHoverEmphasis(vn)})},$e.prototype._createItem=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn,bn){var _n=Ie.visualDrawType,wn=At.get("itemWidth"),kn=At.get("itemHeight"),Cn=At.isSelected(Fe),Sn=qe.get("symbolRotate"),xn=qe.get("symbolKeepAspect"),En=qe.get("icon");hn=En||hn||"roundRect";var Tn=getLegendStyle(hn,qe,Lt,jt,_n,Cn,bn),An=new Group$1,$n=qe.getModel("textStyle");if(isFunction(Ie.getLegendIcon)&&(!En||En==="inherit"))An.add(Ie.getLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Sn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}));else{var Pn=En==="inherit"&&Ie.getData().getVisual("symbol")?Sn==="inherit"?Ie.getData().getVisual("symbolRotate"):Sn:0;An.add(getDefaultLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Pn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}))}var Nn=Dt==="left"?wn+5:-5,Mn=Dt,In=At.get("formatter"),On=Fe;isString(In)&&In?On=In.replace("{name}",Fe??""):isFunction(In)&&(On=In(Fe));var Rn=Cn?$n.getTextColor():qe.get("inactiveColor");An.add(new ZRText({style:createTextStyle($n,{text:On,x:Nn,y:kn/2,fill:Rn,align:Mn,verticalAlign:"middle"},{inheritColor:Rn})}));var Bn=new Rect$2({shape:An.getBoundingRect(),style:{fill:"transparent"}}),Vn=qe.getModel("tooltip");return Vn.get("show")&&setTooltipConfig({el:Bn,componentModel:At,itemName:Fe,itemTooltipOption:Vn.option}),An.add(Bn),An.eachChild(function(Ln){Ln.silent=!0}),Bn.silent=!vn,this.getContentGroup().add(An),enableHoverEmphasis(An),An.__legendDataIndex=Ue,An},$e.prototype.layoutInner=function(Ie,Fe,Ue,qe,At,Dt){var Lt=this.getContentGroup(),jt=this.getSelectorGroup();box(Ie.get("orient"),Lt,Ie.get("itemGap"),Ue.width,Ue.height);var hn=Lt.getBoundingRect(),vn=[-hn.x,-hn.y];if(jt.markRedraw(),Lt.markRedraw(),At){box("horizontal",jt,Ie.get("selectorItemGap",!0));var bn=jt.getBoundingRect(),_n=[-bn.x,-bn.y],wn=Ie.get("selectorButtonGap",!0),kn=Ie.getOrient().index,Cn=kn===0?"width":"height",Sn=kn===0?"height":"width",xn=kn===0?"y":"x";Dt==="end"?_n[kn]+=hn[Cn]+wn:vn[kn]+=bn[Cn]+wn,_n[1-kn]+=hn[Sn]/2-bn[Sn]/2,jt.x=_n[0],jt.y=_n[1],Lt.x=vn[0],Lt.y=vn[1];var En={x:0,y:0};return En[Cn]=hn[Cn]+wn+bn[Cn],En[Sn]=Math.max(hn[Sn],bn[Sn]),En[xn]=Math.min(0,bn[xn]+_n[1-kn]),En}else return Lt.x=vn[0],Lt.y=vn[1],this.group.getBoundingRect()},$e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},$e.type="legend.plain",$e}(ComponentView);function getLegendStyle(xe,$e,Ie,Fe,Ue,qe,At){function Dt(Cn,Sn){Cn.lineWidth==="auto"&&(Cn.lineWidth=Sn.lineWidth>0?2:0),each$3(Cn,function(xn,En){Cn[En]==="inherit"&&(Cn[En]=Sn[En])})}var Lt=$e.getModel("itemStyle"),jt=Lt.getItemStyle(),hn=xe.lastIndexOf("empty",0)===0?"fill":"stroke",vn=Lt.getShallow("decal");jt.decal=!vn||vn==="inherit"?Fe.decal:createOrUpdatePatternFromDecal(vn,At),jt.fill==="inherit"&&(jt.fill=Fe[Ue]),jt.stroke==="inherit"&&(jt.stroke=Fe[hn]),jt.opacity==="inherit"&&(jt.opacity=(Ue==="fill"?Fe:Ie).opacity),Dt(jt,Fe);var bn=$e.getModel("lineStyle"),_n=bn.getLineStyle();if(Dt(_n,Ie),jt.fill==="auto"&&(jt.fill=Fe.fill),jt.stroke==="auto"&&(jt.stroke=Fe.fill),_n.stroke==="auto"&&(_n.stroke=Fe.fill),!qe){var wn=$e.get("inactiveBorderWidth"),kn=jt[hn];jt.lineWidth=wn==="auto"?Fe.lineWidth>0&&kn?2:0:jt.lineWidth,jt.fill=$e.get("inactiveColor"),jt.stroke=$e.get("inactiveBorderColor"),_n.stroke=bn.get("inactiveColor"),_n.lineWidth=bn.get("inactiveWidth")}return{itemStyle:jt,lineStyle:_n}}function getDefaultLegendIcon(xe){var $e=xe.icon||"roundRect",Ie=createSymbol$1($e,0,0,xe.itemWidth,xe.itemHeight,xe.itemStyle.fill,xe.symbolKeepAspect);return Ie.setStyle(xe.itemStyle),Ie.rotation=(xe.iconRotate||0)*Math.PI/180,Ie.setOrigin([xe.itemWidth/2,xe.itemHeight/2]),$e.indexOf("empty")>-1&&(Ie.style.stroke=Ie.style.fill,Ie.style.fill="#fff",Ie.style.lineWidth=2),Ie}function dispatchSelectAction(xe,$e,Ie,Fe){dispatchDownplayAction(xe,$e,Ie,Fe),Ie.dispatchAction({type:"legendToggleSelect",name:xe??$e}),dispatchHighlightAction(xe,$e,Ie,Fe)}function isUseHoverLayer(xe){for(var $e=xe.getZr().storage.getDisplayList(),Ie,Fe=0,Ue=$e.length;FeUe[At],Cn=[-_n.x,-_n.y];Fe||(Cn[qe]=hn[jt]);var Sn=[0,0],xn=[-wn.x,-wn.y],En=retrieve2(Ie.get("pageButtonGap",!0),Ie.get("itemGap",!0));if(kn){var Tn=Ie.get("pageButtonPosition",!0);Tn==="end"?xn[qe]+=Ue[At]-wn[At]:Sn[qe]+=wn[At]+En}xn[1-qe]+=_n[Dt]/2-wn[Dt]/2,hn.setPosition(Cn),vn.setPosition(Sn),bn.setPosition(xn);var An={x:0,y:0};if(An[At]=kn?Ue[At]:_n[At],An[Dt]=Math.max(_n[Dt],wn[Dt]),An[Lt]=Math.min(0,wn[Lt]+xn[1-qe]),vn.__rectSize=Ue[At],kn){var $n={x:0,y:0};$n[At]=Math.max(Ue[At]-wn[At]-En,0),$n[Dt]=An[Dt],vn.setClipPath(new Rect$2({shape:$n})),vn.__rectSize=$n[At]}else bn.eachChild(function(Nn){Nn.attr({invisible:!0,silent:!0})});var Pn=this._getPageInfo(Ie);return Pn.pageIndex!=null&&updateProps$1(hn,{x:Pn.contentPosition[0],y:Pn.contentPosition[1]},kn?Ie:null),this._updatePageInfoView(Ie,Pn),An},$e.prototype._pageGo=function(Ie,Fe,Ue){var qe=this._getPageInfo(Fe)[Ie];qe!=null&&Ue.dispatchAction({type:"legendScroll",scrollDataIndex:qe,legendId:Fe.id})},$e.prototype._updatePageInfoView=function(Ie,Fe){var Ue=this._controllerGroup;each$f(["pagePrev","pageNext"],function(hn){var vn=hn+"DataIndex",bn=Fe[vn]!=null,_n=Ue.childOfName(hn);_n&&(_n.setStyle("fill",bn?Ie.get("pageIconColor",!0):Ie.get("pageIconInactiveColor",!0)),_n.cursor=bn?"pointer":"default")});var qe=Ue.childOfName("pageText"),At=Ie.get("pageFormatter"),Dt=Fe.pageIndex,Lt=Dt!=null?Dt+1:0,jt=Fe.pageCount;qe&&At&&qe.setStyle("text",isString(At)?At.replace("{current}",Lt==null?"":Lt+"").replace("{total}",jt==null?"":jt+""):At({current:Lt,total:jt}))},$e.prototype._getPageInfo=function(Ie){var Fe=Ie.get("scrollDataIndex",!0),Ue=this.getContentGroup(),qe=this._containerGroup.__rectSize,At=Ie.getOrient().index,Dt=WH[At],Lt=XY[At],jt=this._findTargetItemIndex(Fe),hn=Ue.children(),vn=hn[jt],bn=hn.length,_n=bn?1:0,wn={contentPosition:[Ue.x,Ue.y],pageCount:_n,pageIndex:_n-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!vn)return wn;var kn=Tn(vn);wn.contentPosition[At]=-kn.s;for(var Cn=jt+1,Sn=kn,xn=kn,En=null;Cn<=bn;++Cn)En=Tn(hn[Cn]),(!En&&xn.e>Sn.s+qe||En&&!An(En,Sn.s))&&(xn.i>Sn.i?Sn=xn:Sn=En,Sn&&(wn.pageNextDataIndex==null&&(wn.pageNextDataIndex=Sn.i),++wn.pageCount)),xn=En;for(var Cn=jt-1,Sn=kn,xn=kn,En=null;Cn>=-1;--Cn)En=Tn(hn[Cn]),(!En||!An(xn,En.s))&&Sn.i=Pn&&$n.s<=Pn+qe}},$e.prototype._findTargetItemIndex=function(Ie){if(!this._showController)return 0;var Fe,Ue=this.getContentGroup(),qe;return Ue.eachChild(function(At,Dt){var Lt=At.__legendDataIndex;qe==null&&Lt!=null&&(qe=Dt),Lt===Ie&&(Fe=Dt)}),Fe??qe},$e.type="legend.scroll",$e}(LegendView);function installScrollableLegendAction(xe){xe.registerAction("legendScroll","legendscroll",function($e,Ie){var Fe=$e.scrollDataIndex;Fe!=null&&Ie.eachComponent({mainType:"legend",subType:"scroll",query:$e},function(Ue){Ue.setScrollDataIndex(Fe)})})}function install$b(xe){use(install$c),xe.registerComponentModel(ScrollableLegendModel),xe.registerComponentView(ScrollableLegendView),installScrollableLegendAction(xe)}function install$a(xe){use(install$c),use(install$b)}var InsideZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.inside",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),$e}(DataZoomModel),inner$1=makeInner();function setViewInfoToCoordSysRecord(xe,$e,Ie){inner$1(xe).coordSysRecordMap.each(function(Fe){var Ue=Fe.dataZoomInfoMap.get($e.uid);Ue&&(Ue.getRange=Ie)})}function disposeCoordSysRecordIfNeeded(xe,$e){for(var Ie=inner$1(xe).coordSysRecordMap,Fe=Ie.keys(),Ue=0;UeFe[Ie+$e]&&($e=Dt),Ue=Ue&&At.get("preventDefaultMouseMove",!0)}),{controlType:$e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!Ue}}}function installDataZoomRoamProcessor(xe){xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,function($e,Ie){var Fe=inner$1(Ie),Ue=Fe.coordSysRecordMap||(Fe.coordSysRecordMap=createHashMap());Ue.each(function(qe){qe.dataZoomInfoMap=null}),$e.eachComponent({mainType:"dataZoom",subType:"inside"},function(qe){var At=collectReferCoordSysModelInfo(qe);each$f(At.infoList,function(Dt){var Lt=Dt.model.uid,jt=Ue.get(Lt)||Ue.set(Lt,createCoordSysRecord(Ie,Dt.model)),hn=jt.dataZoomInfoMap||(jt.dataZoomInfoMap=createHashMap());hn.set(qe.uid,{dzReferCoordSysInfo:Dt,model:qe,getRange:null})})}),Ue.each(function(qe){var At=qe.controller,Dt,Lt=qe.dataZoomInfoMap;if(Lt){var jt=Lt.keys()[0];jt!=null&&(Dt=Lt.get(jt))}if(!Dt){disposeCoordSysRecord(Ue,qe);return}var hn=mergeControllerParams(Lt);At.enable(hn.controlType,hn.opt),At.setPointerChecker(qe.containsPoint),createOrUpdate(qe,"dispatchAction",Dt.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataZoom.inside",Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(xe.prototype.render.apply(this,arguments),Ie.noTarget()){this._clear();return}this.range=Ie.getPercentRange(),setViewInfoToCoordSysRecord(Ue,Ie,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},$e.type="dataZoom.inside",$e}(DataZoomView),getRangeHandlers={zoom:function(xe,$e,Ie,Fe){var Ue=this.range,qe=Ue.slice(),At=xe.axisModels[0];if(At){var Dt=getDirectionInfo[$e](null,[Fe.originX,Fe.originY],At,Ie,xe),Lt=(Dt.signal>0?Dt.pixelStart+Dt.pixelLength-Dt.pixel:Dt.pixel-Dt.pixelStart)/Dt.pixelLength*(qe[1]-qe[0])+qe[0],jt=Math.max(1/Fe.scale,0);qe[0]=(qe[0]-Lt)*jt+Lt,qe[1]=(qe[1]-Lt)*jt+Lt;var hn=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,qe,[0,100],0,hn.minSpan,hn.maxSpan),this.range=qe,Ue[0]!==qe[0]||Ue[1]!==qe[1])return qe}},pan:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([qe.oldX,qe.oldY],[qe.newX,qe.newY],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*At.pixel/At.pixelLength}),scrollMove:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([0,0],[qe.scrollDelta,qe.scrollDelta],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*qe.scrollDelta})};function makeMover(xe){return function($e,Ie,Fe,Ue){var qe=this.range,At=qe.slice(),Dt=$e.axisModels[0];if(Dt){var Lt=xe(At,Dt,$e,Ie,Fe,Ue);if(sliderMove(Lt,At,[0,100],"all"),this.range=At,qe[0]!==At[0]||qe[1]!==At[1])return At}}}var getDirectionInfo={grid:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem.getRect();return xe=xe||[0,0],qe.dim==="x"?(At.pixel=$e[0]-xe[0],At.pixelLength=Dt.width,At.pixelStart=Dt.x,At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=Dt.height,At.pixelStart=Dt.y,At.signal=qe.inverse?-1:1),At},polar:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem,Lt=Dt.getRadiusAxis().getExtent(),jt=Dt.getAngleAxis().getExtent();return xe=xe?Dt.pointToCoord(xe):[0,0],$e=Dt.pointToCoord($e),Ie.mainType==="radiusAxis"?(At.pixel=$e[0]-xe[0],At.pixelLength=Lt[1]-Lt[0],At.pixelStart=Lt[0],At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=jt[1]-jt[0],At.pixelStart=jt[0],At.signal=qe.inverse?-1:1),At},singleAxis:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At=Ue.model.coordinateSystem.getRect(),Dt={};return xe=xe||[0,0],qe.orient==="horizontal"?(Dt.pixel=$e[0]-xe[0],Dt.pixelLength=At.width,Dt.pixelStart=At.x,Dt.signal=qe.inverse?1:-1):(Dt.pixel=$e[1]-xe[1],Dt.pixelLength=At.height,Dt.pixelStart=At.y,Dt.signal=qe.inverse?-1:1),Dt}};function install$9(xe){installCommon$1(xe),xe.registerComponentModel(InsideZoomModel),xe.registerComponentView(InsideZoomView),installDataZoomRoamProcessor(xe)}var SliderZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.slider",$e.layoutMode="box",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),$e}(DataZoomModel),Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._displayables={},Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},$e.prototype.render=function(Ie,Fe,Ue,qe){if(xe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",Ie.get("throttle"),"fixRate"),this._orient=Ie.getOrient(),Ie.get("show")===!1){this.group.removeAll();return}if(Ie.noTarget()){this._clear(),this.group.removeAll();return}(!qe||qe.type!=="dataZoom"||qe.from!==this.uid)&&this._buildView(),this._updateView()},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var Ie=this.api.getZr();Ie.off("mousemove",this._onBrush),Ie.off("mouseup",this._onBrushEnd)},$e.prototype._buildView=function(){var Ie=this.group;Ie.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var Fe=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),Ie.add(Fe),this._positionGroup()},$e.prototype._resetLocation=function(){var Ie=this.dataZoomModel,Fe=this.api,Ue=Ie.get("brushSelect"),qe=Ue?DEFAULT_MOVE_HANDLE_SIZE:0,At=this._findCoordRect(),Dt={width:Fe.getWidth(),height:Fe.getHeight()},Lt=this._orient===HORIZONTAL?{right:Dt.width-At.x-At.width,top:Dt.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-qe,width:At.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:At.y,width:DEFAULT_FILLER_SIZE,height:At.height},jt=getLayoutParams(Ie.option);each$f(["right","top","width","height"],function(vn){jt[vn]==="ph"&&(jt[vn]=Lt[vn])});var hn=getLayoutRect(jt,Dt);this._location={x:hn.x,y:hn.y},this._size=[hn.width,hn.height],this._orient===VERTICAL&&this._size.reverse()},$e.prototype._positionGroup=function(){var Ie=this.group,Fe=this._location,Ue=this._orient,qe=this.dataZoomModel.getFirstTargetAxisModel(),At=qe&&qe.get("inverse"),Dt=this._displayables.sliderGroup,Lt=(this._dataShadowInfo||{}).otherAxisInverse;Dt.attr(Ue===HORIZONTAL&&!At?{scaleY:Lt?1:-1,scaleX:1}:Ue===HORIZONTAL&&At?{scaleY:Lt?1:-1,scaleX:-1}:Ue===VERTICAL&&!At?{scaleY:Lt?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:Lt?-1:1,scaleX:-1,rotation:Math.PI/2});var jt=Ie.getBoundingRect([Dt]);Ie.x=Fe.x-jt.x,Ie.y=Fe.y-jt.y,Ie.markRedraw()},$e.prototype._getViewExtent=function(){return[0,this._size[0]]},$e.prototype._renderBackground=function(){var Ie=this.dataZoomModel,Fe=this._size,Ue=this._displayables.sliderGroup,qe=Ie.get("brushSelect");Ue.add(new Rect({silent:!0,shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:Ie.get("backgroundColor")},z2:-40}));var At=new Rect({shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),Dt=this.api.getZr();qe?(At.on("mousedown",this._onBrushStart,this),At.cursor="crosshair",Dt.on("mousemove",this._onBrush),Dt.on("mouseup",this._onBrushEnd)):(Dt.off("mousemove",this._onBrush),Dt.off("mouseup",this._onBrushEnd)),Ue.add(At)},$e.prototype._renderDataShadow=function(){var Ie=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!Ie)return;var Fe=this._size,Ue=this._shadowSize||[],qe=Ie.series,At=qe.getRawData(),Dt=qe.getShadowDim&&qe.getShadowDim(),Lt=Dt&&At.getDimensionInfo(Dt)?qe.getShadowDim():Ie.otherDim;if(Lt==null)return;var jt=this._shadowPolygonPts,hn=this._shadowPolylinePts;if(At!==this._shadowData||Lt!==this._shadowDim||Fe[0]!==Ue[0]||Fe[1]!==Ue[1]){var vn=At.getDataExtent(Lt),bn=(vn[1]-vn[0])*.3;vn=[vn[0]-bn,vn[1]+bn];var _n=[0,Fe[1]],wn=[0,Fe[0]],kn=[[Fe[0],0],[0,0]],Cn=[],Sn=wn[1]/(At.count()-1),xn=0,En=Math.round(At.count()/Fe[0]),Tn;At.each([Lt],function(Mn,In){if(En>0&&In%En){xn+=Sn;return}var On=Mn==null||isNaN(Mn)||Mn==="",Rn=On?0:linearMap$2(Mn,vn,_n,!0);On&&!Tn&&In?(kn.push([kn[kn.length-1][0],0]),Cn.push([Cn[Cn.length-1][0],0])):!On&&Tn&&(kn.push([xn,0]),Cn.push([xn,0])),kn.push([xn,Rn]),Cn.push([xn,Rn]),xn+=Sn,Tn=On}),jt=this._shadowPolygonPts=kn,hn=this._shadowPolylinePts=Cn}this._shadowData=At,this._shadowDim=Lt,this._shadowSize=[Fe[0],Fe[1]];var An=this.dataZoomModel;function $n(Mn){var In=An.getModel(Mn?"selectedDataBackground":"dataBackground"),On=new Group$3,Rn=new Polygon({shape:{points:jt},segmentIgnoreThreshold:1,style:In.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Bn=new Polyline$1({shape:{points:hn},segmentIgnoreThreshold:1,style:In.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return On.add(Rn),On.add(Bn),On}for(var Pn=0;Pn<3;Pn++){var Nn=$n(Pn===1);this._displayables.sliderGroup.add(Nn),this._displayables.dataShadowSegs.push(Nn)}},$e.prototype._prepareDataShadowInfo=function(){var Ie=this.dataZoomModel,Fe=Ie.get("showDataShadow");if(Fe!==!1){var Ue,qe=this.ecModel;return Ie.eachTargetAxis(function(At,Dt){var Lt=Ie.getAxisProxy(At,Dt).getTargetSeriesModels();each$f(Lt,function(jt){if(!Ue&&!(Fe!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,jt.get("type"))<0)){var hn=qe.getComponent(getAxisMainType(At),Dt).axis,vn=getOtherDim(At),bn,_n=jt.coordinateSystem;vn!=null&&_n.getOtherAxis&&(bn=_n.getOtherAxis(hn).inverse),vn=jt.getData().mapDimension(vn),Ue={thisAxis:hn,series:jt,thisDim:At,otherDim:vn,otherAxisInverse:bn}}},this)},this),Ue}},$e.prototype._renderHandle=function(){var Ie=this.group,Fe=this._displayables,Ue=Fe.handles=[null,null],qe=Fe.handleLabels=[null,null],At=this._displayables.sliderGroup,Dt=this._size,Lt=this.dataZoomModel,jt=this.api,hn=Lt.get("borderRadius")||0,vn=Lt.get("brushSelect"),bn=Fe.filler=new Rect({silent:vn,style:{fill:Lt.get("fillerColor")},textConfig:{position:"inside"}});At.add(bn),At.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:Dt[0],height:Dt[1],r:hn},style:{stroke:Lt.get("dataBackgroundColor")||Lt.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(En){var Tn=Lt.get("handleIcon");!symbolBuildProxies[Tn]&&Tn.indexOf("path://")<0&&Tn.indexOf("image://")<0&&(Tn="path://"+Tn);var An=createSymbol$1(Tn,-1,0,2,2,null,!0);An.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,En),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var $n=An.getBoundingRect(),Pn=Lt.get("handleSize");this._handleHeight=parsePercent(Pn,this._size[1]),this._handleWidth=$n.width/$n.height*this._handleHeight,An.setStyle(Lt.getModel("handleStyle").getItemStyle()),An.style.strokeNoScale=!0,An.rectHover=!0,An.ensureState("emphasis").style=Lt.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(An);var Nn=Lt.get("handleColor");Nn!=null&&(An.style.fill=Nn),At.add(Ue[En]=An);var Mn=Lt.getModel("textStyle");Ie.add(qe[En]=new ZRText({silent:!0,invisible:!0,style:createTextStyle(Mn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Mn.getTextColor(),font:Mn.getFont()}),z2:10}))},this);var _n=bn;if(vn){var wn=parsePercent(Lt.get("moveHandleSize"),Dt[1]),kn=Fe.moveHandle=new Rect$2({style:Lt.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:Dt[1]-.5,height:wn}}),Cn=wn*.8,Sn=Fe.moveHandleIcon=createSymbol$1(Lt.get("moveHandleIcon"),-Cn/2,-Cn/2,Cn,Cn,"#fff",!0);Sn.silent=!0,Sn.y=Dt[1]+wn/2-.5,kn.ensureState("emphasis").style=Lt.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var xn=Math.min(Dt[1]/2,Math.max(wn,10));_n=Fe.moveZone=new Rect$2({invisible:!0,shape:{y:Dt[1]-xn,height:wn+xn}}),_n.on("mouseover",function(){jt.enterEmphasis(kn)}).on("mouseout",function(){jt.leaveEmphasis(kn)}),At.add(kn),At.add(Sn),At.add(_n)}_n.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},$e.prototype._resetInterval=function(){var Ie=this._range=this.dataZoomModel.getPercentRange(),Fe=this._getViewExtent();this._handleEnds=[linearMap$2(Ie[0],[0,100],Fe,!0),linearMap$2(Ie[1],[0,100],Fe,!0)]},$e.prototype._updateInterval=function(Ie,Fe){var Ue=this.dataZoomModel,qe=this._handleEnds,At=this._getViewExtent(),Dt=Ue.findRepresentativeAxisProxy().getMinMaxSpan(),Lt=[0,100];sliderMove(Fe,qe,At,Ue.get("zoomLock")?"all":Ie,Dt.minSpan!=null?linearMap$2(Dt.minSpan,Lt,At,!0):null,Dt.maxSpan!=null?linearMap$2(Dt.maxSpan,Lt,At,!0):null);var jt=this._range,hn=this._range=asc$2([linearMap$2(qe[0],At,Lt,!0),linearMap$2(qe[1],At,Lt,!0)]);return!jt||jt[0]!==hn[0]||jt[1]!==hn[1]},$e.prototype._updateView=function(Ie){var Fe=this._displayables,Ue=this._handleEnds,qe=asc$2(Ue.slice()),At=this._size;each$f([0,1],function(_n){var wn=Fe.handles[_n],kn=this._handleHeight;wn.attr({scaleX:kn/2,scaleY:kn/2,x:Ue[_n]+(_n?-1:1),y:At[1]/2-kn/2})},this),Fe.filler.setShape({x:qe[0],y:0,width:qe[1]-qe[0],height:At[1]});var Dt={x:qe[0],width:qe[1]-qe[0]};Fe.moveHandle&&(Fe.moveHandle.setShape(Dt),Fe.moveZone.setShape(Dt),Fe.moveZone.getBoundingRect(),Fe.moveHandleIcon&&Fe.moveHandleIcon.attr("x",Dt.x+Dt.width/2));for(var Lt=Fe.dataShadowSegs,jt=[0,qe[0],qe[1],At[0]],hn=0;hnFe[0]||Ue[1]<0||Ue[1]>Fe[1])){var qe=this._handleEnds,At=(qe[0]+qe[1])/2,Dt=this._updateInterval("all",Ue[0]-At);this._updateView(),Dt&&this._dispatchZoomAction(!1)}},$e.prototype._onBrushStart=function(Ie){var Fe=Ie.offsetX,Ue=Ie.offsetY;this._brushStart=new Point(Fe,Ue),this._brushing=!0,this._brushStartTime=+new Date},$e.prototype._onBrushEnd=function(Ie){if(this._brushing){var Fe=this._displayables.brushRect;if(this._brushing=!1,!!Fe){Fe.attr("ignore",!0);var Ue=Fe.shape,qe=+new Date;if(!(qe-this._brushStartTime<200&&Math.abs(Ue.width)<5)){var At=this._getViewExtent(),Dt=[0,100];this._range=asc$2([linearMap$2(Ue.x,At,Dt,!0),linearMap$2(Ue.x+Ue.width,At,Dt,!0)]),this._handleEnds=[Ue.x,Ue.x+Ue.width],this._updateView(),this._dispatchZoomAction(!1)}}}},$e.prototype._onBrush=function(Ie){this._brushing&&(stop(Ie.event),this._updateBrushRect(Ie.offsetX,Ie.offsetY))},$e.prototype._updateBrushRect=function(Ie,Fe){var Ue=this._displayables,qe=this.dataZoomModel,At=Ue.brushRect;At||(At=Ue.brushRect=new Rect({silent:!0,style:qe.getModel("brushStyle").getItemStyle()}),Ue.sliderGroup.add(At)),At.attr("ignore",!1);var Dt=this._brushStart,Lt=this._displayables.sliderGroup,jt=Lt.transformCoordToLocal(Ie,Fe),hn=Lt.transformCoordToLocal(Dt.x,Dt.y),vn=this._size;jt[0]=Math.max(Math.min(vn[0],jt[0]),0),At.setShape({x:hn[0],y:0,width:jt[0]-hn[0],height:vn[1]})},$e.prototype._dispatchZoomAction=function(Ie){var Fe=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:Ie?REALTIME_ANIMATION_CONFIG:null,start:Fe[0],end:Fe[1]})},$e.prototype._findCoordRect=function(){var Ie,Fe=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!Ie&&Fe.length){var Ue=Fe[0].model.coordinateSystem;Ie=Ue.getRect&&Ue.getRect()}if(!Ie){var qe=this.api.getWidth(),At=this.api.getHeight();Ie={x:qe*.2,y:At*.2,width:qe*.6,height:At*.6}}return Ie},$e.type="dataZoom.slider",$e}(DataZoomView);function getOtherDim(xe){var $e={x:"y",y:"x",radius:"angle",angle:"radius"};return $e[xe]}function getCursor$1(xe){return xe==="vertical"?"ns-resize":"ew-resize"}function install$8(xe){xe.registerComponentModel(SliderZoomModel),xe.registerComponentView(SliderZoomView),installCommon$1(xe)}function install$7(xe){use(install$9),use(install$8)}var visualDefault={get:function(xe,$e,Ie){var Fe=clone$4((defaultOption[xe]||{})[$e]);return Ie&&isArray$1(Fe)?Fe[Fe.length-1]:Fe}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},mapVisual=VisualMapping.mapVisual,eachVisual=VisualMapping.eachVisual,isArray=isArray$1,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.stateList=["inRange","outOfRange"],Ie.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],Ie.layoutMode={type:"box",ignoreSize:!0},Ie.dataBound=[-1/0,1/0],Ie.targetVisuals={},Ie.controllerVisuals={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue)},$e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},$e.prototype.resetVisual=function(Ie){var Fe=this.stateList;Ie=bind$1(Ie,this),this.controllerVisuals=createVisualMappings(this.option.controller,Fe,Ie),this.targetVisuals=createVisualMappings(this.option.target,Fe,Ie)},$e.prototype.getItemSymbol=function(){return null},$e.prototype.getTargetSeriesIndices=function(){var Ie=this.option.seriesIndex,Fe=[];return Ie==null||Ie==="all"?this.ecModel.eachSeries(function(Ue,qe){Fe.push(qe)}):Fe=normalizeToArray(Ie),Fe},$e.prototype.eachTargetSeries=function(Ie,Fe){each$f(this.getTargetSeriesIndices(),function(Ue){var qe=this.ecModel.getSeriesByIndex(Ue);qe&&Ie.call(Fe,qe)},this)},$e.prototype.isTargetSeries=function(Ie){var Fe=!1;return this.eachTargetSeries(function(Ue){Ue===Ie&&(Fe=!0)}),Fe},$e.prototype.formatValueText=function(Ie,Fe,Ue){var qe=this.option,At=qe.precision,Dt=this.dataBound,Lt=qe.formatter,jt;Ue=Ue||["<",">"],isArray$1(Ie)&&(Ie=Ie.slice(),jt=!0);var hn=Fe?Ie:jt?[vn(Ie[0]),vn(Ie[1])]:vn(Ie);if(isString(Lt))return Lt.replace("{value}",jt?hn[0]:hn).replace("{value2}",jt?hn[1]:hn);if(isFunction(Lt))return jt?Lt(Ie[0],Ie[1]):Lt(Ie);if(jt)return Ie[0]===Dt[0]?Ue[0]+" "+hn[1]:Ie[1]===Dt[1]?Ue[1]+" "+hn[0]:hn[0]+" - "+hn[1];return hn;function vn(bn){return bn===Dt[0]?"min":bn===Dt[1]?"max":(+bn).toFixed(Math.min(At,20))}},$e.prototype.resetExtent=function(){var Ie=this.option,Fe=asc([Ie.min,Ie.max]);this._dataExtent=Fe},$e.prototype.getDataDimensionIndex=function(Ie){var Fe=this.option.dimension;if(Fe!=null)return Ie.getDimensionIndex(Fe);for(var Ue=Ie.dimensions,qe=Ue.length-1;qe>=0;qe--){var At=Ue[qe],Dt=Ie.getDimensionInfo(At);if(!Dt.isCalculationCoord)return Dt.storeDimIndex}},$e.prototype.getExtent=function(){return this._dataExtent.slice()},$e.prototype.completeVisualOption=function(){var Ie=this.ecModel,Fe=this.option,Ue={inRange:Fe.inRange,outOfRange:Fe.outOfRange},qe=Fe.target||(Fe.target={}),At=Fe.controller||(Fe.controller={});merge(qe,Ue),merge(At,Ue);var Dt=this.isCategory();Lt.call(this,qe),Lt.call(this,At),jt.call(this,qe,"inRange","outOfRange"),hn.call(this,At);function Lt(vn){isArray(Fe.color)&&!vn.inRange&&(vn.inRange={color:Fe.color.slice().reverse()}),vn.inRange=vn.inRange||{color:Ie.get("gradientColor")}}function jt(vn,bn,_n){var wn=vn[bn],kn=vn[_n];wn&&!kn&&(kn=vn[_n]={},each$2(wn,function(Cn,Sn){if(VisualMapping.isValidType(Sn)){var xn=visualDefault.get(Sn,"inactive",Dt);xn!=null&&(kn[Sn]=xn,Sn==="color"&&!kn.hasOwnProperty("opacity")&&!kn.hasOwnProperty("colorAlpha")&&(kn.opacity=[0,0]))}}))}function hn(vn){var bn=(vn.inRange||{}).symbol||(vn.outOfRange||{}).symbol,_n=(vn.inRange||{}).symbolSize||(vn.outOfRange||{}).symbolSize,wn=this.get("inactiveColor"),kn=this.getItemSymbol(),Cn=kn||"roundRect";each$2(this.stateList,function(Sn){var xn=this.itemSize,En=vn[Sn];En||(En=vn[Sn]={color:Dt?wn:[wn]}),En.symbol==null&&(En.symbol=bn&&clone$4(bn)||(Dt?Cn:[Cn])),En.symbolSize==null&&(En.symbolSize=_n&&clone$4(_n)||(Dt?xn[0]:[xn[0],xn[0]])),En.symbol=mapVisual(En.symbol,function($n){return $n==="none"?Cn:$n});var Tn=En.symbolSize;if(Tn!=null){var An=-1/0;eachVisual(Tn,function($n){$n>An&&(An=$n)}),En.symbolSize=mapVisual(Tn,function($n){return linearMap$1($n,[0,An],[0,xn[0]],!0)})}},this)}},$e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},$e.prototype.isCategory=function(){return!!this.option.categories},$e.prototype.setSelected=function(Ie){},$e.prototype.getSelected=function(){return null},$e.prototype.getValueState=function(Ie){return null},$e.prototype.getVisualMeta=function(Ie){return null},$e.type="visualMap",$e.dependencies=["series"],$e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},$e}(ComponentModel),DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(Ue){Ue.mappingMethod="linear",Ue.dataExtent=this.getExtent()}),this._resetRange()},$e.prototype.resetItemSize=function(){xe.prototype.resetItemSize.apply(this,arguments);var Ie=this.itemSize;(Ie[0]==null||isNaN(Ie[0]))&&(Ie[0]=DEFAULT_BAR_BOUND[0]),(Ie[1]==null||isNaN(Ie[1]))&&(Ie[1]=DEFAULT_BAR_BOUND[1])},$e.prototype._resetRange=function(){var Ie=this.getExtent(),Fe=this.option.range;!Fe||Fe.auto?(Ie.auto=1,this.option.range=Ie):isArray$1(Fe)&&(Fe[0]>Fe[1]&&Fe.reverse(),Fe[0]=Math.max(Fe[0],Ie[0]),Fe[1]=Math.min(Fe[1],Ie[1]))},$e.prototype.completeVisualOption=function(){xe.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(Ie){var Fe=this.option.controller[Ie].symbolSize;Fe&&Fe[0]!==Fe[1]&&(Fe[0]=Fe[1]/3)},this)},$e.prototype.setSelected=function(Ie){this.option.range=Ie.slice(),this._resetRange()},$e.prototype.getSelected=function(){var Ie=this.getExtent(),Fe=asc$2((this.get("range")||[]).slice());return Fe[0]>Ie[1]&&(Fe[0]=Ie[1]),Fe[1]>Ie[1]&&(Fe[1]=Ie[1]),Fe[0]=Ue[1]||Ie<=Fe[1])?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[];return this.eachTargetSeries(function(Ue){var qe=[],At=Ue.getData();At.each(this.getDataDimensionIndex(At),function(Dt,Lt){Ie[0]<=Dt&&Dt<=Ie[1]&&qe.push(Lt)},this),Fe.push({seriesId:Ue.id,dataIndex:qe})},this),Fe},$e.prototype.getVisualMeta=function(Ie){var Fe=getColorStopValues(this,"outOfRange",this.getExtent()),Ue=getColorStopValues(this,"inRange",this.option.range.slice()),qe=[];function At(_n,wn){qe.push({value:_n,color:Ie(_n,wn)})}for(var Dt=0,Lt=0,jt=Ue.length,hn=Fe.length;LtIe[1])break;qe.push({color:this.getControllerVisual(Lt,"color",Fe),offset:Dt/Ue})}return qe.push({color:this.getControllerVisual(Ie[1],"color",Fe),offset:1}),qe},$e.prototype._createBarPoints=function(Ie,Fe){var Ue=this.visualMapModel.itemSize;return[[Ue[0]-Fe[0],Ie[0]],[Ue[0],Ie[0]],[Ue[0],Ie[1]],[Ue[0]-Fe[1],Ie[1]]]},$e.prototype._createBarGroup=function(Ie){var Fe=this._orient,Ue=this.visualMapModel.get("inverse");return new Group$3(Fe==="horizontal"&&!Ue?{scaleX:Ie==="bottom"?1:-1,rotation:Math.PI/2}:Fe==="horizontal"&&Ue?{scaleX:Ie==="bottom"?-1:1,rotation:-Math.PI/2}:Fe==="vertical"&&!Ue?{scaleX:Ie==="left"?1:-1,scaleY:-1}:{scaleX:Ie==="left"?1:-1})},$e.prototype._updateHandle=function(Ie,Fe){if(this._useHandle){var Ue=this._shapes,qe=this.visualMapModel,At=Ue.handleThumbs,Dt=Ue.handleLabels,Lt=qe.itemSize,jt=qe.getExtent();each$1([0,1],function(hn){var vn=At[hn];vn.setStyle("fill",Fe.handlesColor[hn]),vn.y=Ie[hn];var bn=linearMap(Ie[hn],[0,Lt[1]],jt,!0),_n=this.getControllerVisual(bn,"symbolSize");vn.scaleX=vn.scaleY=_n/Lt[0],vn.x=Lt[0]-_n/2;var wn=applyTransform(Ue.handleLabelPoints[hn],getTransform$1(vn,this.group));Dt[hn].setStyle({x:wn[0],y:wn[1],text:qe.formatValueText(this._dataInterval[hn]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",Ue.mainGroup):"center"})},this)}},$e.prototype._showIndicator=function(Ie,Fe,Ue,qe){var At=this.visualMapModel,Dt=At.getExtent(),Lt=At.itemSize,jt=[0,Lt[1]],hn=this._shapes,vn=hn.indicator;if(vn){vn.attr("invisible",!1);var bn={convertOpacityToAlpha:!0},_n=this.getControllerVisual(Ie,"color",bn),wn=this.getControllerVisual(Ie,"symbolSize"),kn=linearMap(Ie,Dt,jt,!0),Cn=Lt[0]-wn/2,Sn={x:vn.x,y:vn.y};vn.y=kn,vn.x=Cn;var xn=applyTransform(hn.indicatorLabelPoint,getTransform$1(vn,this.group)),En=hn.indicatorLabel;En.attr("invisible",!1);var Tn=this._applyTransform("left",hn.mainGroup),An=this._orient,$n=An==="horizontal";En.setStyle({text:(Ue||"")+At.formatValueText(Fe),verticalAlign:$n?Tn:"middle",align:$n?"center":Tn});var Pn={x:Cn,y:kn,style:{fill:_n}},Nn={style:{x:xn[0],y:xn[1]}};if(At.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Mn={duration:100,easing:"cubicInOut",additive:!0};vn.x=Sn.x,vn.y=Sn.y,vn.animateTo(Pn,Mn),En.animateTo(Nn,Mn)}else vn.attr(Pn),En.attr(Nn);this._firstShowIndicator=!1;var In=this._shapes.handleLabels;if(In)for(var On=0;OnAt[1]&&(vn[1]=1/0),Fe&&(vn[0]===-1/0?this._showIndicator(hn,vn[1],"< ",Lt):vn[1]===1/0?this._showIndicator(hn,vn[0],"> ",Lt):this._showIndicator(hn,hn,"≈ ",Lt));var bn=this._hoverLinkDataIndices,_n=[];(Fe||useHoverLinkOnHandle(Ue))&&(_n=this._hoverLinkDataIndices=Ue.findTargetDataIndices(vn));var wn=compressBatches(bn,_n);this._dispatchHighDown("downplay",makeHighDownBatch(wn[0],Ue)),this._dispatchHighDown("highlight",makeHighDownBatch(wn[1],Ue))}},$e.prototype._hoverLinkFromSeriesMouseOver=function(Ie){var Fe;if(findEventDispatcher(Ie.target,function(Lt){var jt=getECData(Lt);if(jt.dataIndex!=null)return Fe=jt,!0},!0),!!Fe){var Ue=this.ecModel.getSeriesByIndex(Fe.seriesIndex),qe=this.visualMapModel;if(qe.isTargetSeries(Ue)){var At=Ue.getData(Fe.dataType),Dt=At.getStore().get(qe.getDataDimensionIndex(At),Fe.dataIndex);isNaN(Dt)||this._showIndicator(Dt,Dt)}}},$e.prototype._hideIndicator=function(){var Ie=this._shapes;Ie.indicator&&Ie.indicator.attr("invisible",!0),Ie.indicatorLabel&&Ie.indicatorLabel.attr("invisible",!0);var Fe=this._shapes.handleLabels;if(Fe)for(var Ue=0;Ue=0&&(qe.dimension=At,Fe.push(qe))}}),xe.getData().setVisual("visualMeta",Fe)}}];function getColorVisual(xe,$e,Ie,Fe){for(var Ue=$e.targetVisuals[Fe],qe=VisualMapping.prepareVisualTypes(Ue),At={color:getVisualFromData(xe.getData(),"color")},Dt=0,Lt=qe.length;Dt0:$e.splitNumber>0)||$e.calculable)?"continuous":"piecewise"}),xe.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function($e){xe.registerVisual(xe.PRIORITY.VISUAL.COMPONENT,$e)}),xe.registerPreprocessor(visualMapPreprocessor))}function install$6(xe){xe.registerComponentModel(ContinuousModel),xe.registerComponentView(ContinuousView),installCommon(xe)}var PiecewiseModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._pieceList=[],Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var Ue=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(Ie,Fe);var qe=this.option.categories;this.resetVisual(function(At,Dt){Ue==="categories"?(At.mappingMethod="category",At.categories=clone$4(qe)):(At.dataExtent=this.getExtent(),At.mappingMethod="piecewise",At.pieceList=map$1(this._pieceList,function(Lt){return Lt=clone$4(Lt),Dt!=="inRange"&&(Lt.visual=null),Lt}))})},$e.prototype.completeVisualOption=function(){var Ie=this.option,Fe={},Ue=VisualMapping.listVisualTypes(),qe=this.isCategory();each$f(Ie.pieces,function(Dt){each$f(Ue,function(Lt){Dt.hasOwnProperty(Lt)&&(Fe[Lt]=1)})}),each$f(Fe,function(Dt,Lt){var jt=!1;each$f(this.stateList,function(hn){jt=jt||At(Ie,hn,Lt)||At(Ie.target,hn,Lt)},this),!jt&&each$f(this.stateList,function(hn){(Ie[hn]||(Ie[hn]={}))[Lt]=visualDefault.get(Lt,hn==="inRange"?"active":"inactive",qe)})},this);function At(Dt,Lt,jt){return Dt&&Dt[Lt]&&Dt[Lt].hasOwnProperty(jt)}xe.prototype.completeVisualOption.apply(this,arguments)},$e.prototype._resetSelected=function(Ie,Fe){var Ue=this.option,qe=this._pieceList,At=(Fe?Ue:Ie).selected||{};if(Ue.selected=At,each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At.hasOwnProperty(hn)||(At[hn]=!0)},this),Ue.selectedMode==="single"){var Dt=!1;each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At[hn]&&(Dt?At[hn]=!1:Dt=!0)},this)}},$e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},$e.prototype.getSelectedMapKey=function(Ie){return this._mode==="categories"?Ie.value+"":Ie.index+""},$e.prototype.getPieceList=function(){return this._pieceList},$e.prototype._determineMode=function(){var Ie=this.option;return Ie.pieces&&Ie.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},$e.prototype.setSelected=function(Ie){this.option.selected=clone$4(Ie)},$e.prototype.getValueState=function(Ie){var Fe=VisualMapping.findPieceIndex(Ie,this._pieceList);return Fe!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[Fe])]?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[],Ue=this._pieceList;return this.eachTargetSeries(function(qe){var At=[],Dt=qe.getData();Dt.each(this.getDataDimensionIndex(Dt),function(Lt,jt){var hn=VisualMapping.findPieceIndex(Lt,Ue);hn===Ie&&At.push(jt)},this),Fe.push({seriesId:qe.id,dataIndex:At})},this),Fe},$e.prototype.getRepresentValue=function(Ie){var Fe;if(this.isCategory())Fe=Ie.value;else if(Ie.value!=null)Fe=Ie.value;else{var Ue=Ie.interval||[];Fe=Ue[0]===-1/0&&Ue[1]===1/0?0:(Ue[0]+Ue[1])/2}return Fe},$e.prototype.getVisualMeta=function(Ie){if(this.isCategory())return;var Fe=[],Ue=["",""],qe=this;function At(hn,vn){var bn=qe.getRepresentValue({interval:hn});vn||(vn=qe.getValueState(bn));var _n=Ie(bn,vn);hn[0]===-1/0?Ue[0]=_n:hn[1]===1/0?Ue[1]=_n:Fe.push({value:hn[0],color:_n},{value:hn[1],color:_n})}var Dt=this._pieceList.slice();if(!Dt.length)Dt.push({interval:[-1/0,1/0]});else{var Lt=Dt[0].interval[0];Lt!==-1/0&&Dt.unshift({interval:[-1/0,Lt]}),Lt=Dt[Dt.length-1].interval[1],Lt!==1/0&&Dt.push({interval:[Lt,1/0]})}var jt=-1/0;return each$f(Dt,function(hn){var vn=hn.interval;vn&&(vn[0]>jt&&At([jt,vn[0]],"outOfRange"),At(vn.slice()),jt=vn[1])},this),{stops:Fe,outerColors:Ue}},$e.type="visualMap.piecewise",$e.defaultOption=inheritDefaultOption(VisualMapModel.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),$e}(VisualMapModel),resetMethods={splitNumber:function(xe){var $e=this.option,Ie=Math.min($e.precision,20),Fe=this.getExtent(),Ue=$e.splitNumber;Ue=Math.max(parseInt(Ue,10),1),$e.splitNumber=Ue;for(var qe=(Fe[1]-Fe[0])/Ue;+qe.toFixed(Ie)!==qe&&Ie<5;)Ie++;$e.precision=Ie,qe=+qe.toFixed(Ie),$e.minOpen&&xe.push({interval:[-1/0,Fe[0]],close:[0,0]});for(var At=0,Dt=Fe[0];At","≥"][Fe[0]]];Ie.text=Ie.text||this.formatValueText(Ie.value!=null?Ie.value:Ie.interval,!1,Ue)},this)}};function normalizeReverse(xe,$e){var Ie=xe.inverse;(xe.orient==="vertical"?!Ie:Ie)&&$e.reverse()}var PiecewiseVisualMapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.doRender=function(){var Ie=this.group;Ie.removeAll();var Fe=this.visualMapModel,Ue=Fe.get("textGap"),qe=Fe.textStyleModel,At=qe.getFont(),Dt=qe.getTextColor(),Lt=this._getItemAlign(),jt=Fe.itemSize,hn=this._getViewData(),vn=hn.endsText,bn=retrieve(Fe.get("showLabel",!0),!vn);vn&&this._renderEndsText(Ie,vn[0],jt,bn,Lt),each$f(hn.viewPieceList,function(_n){var wn=_n.piece,kn=new Group$3;kn.onclick=bind$1(this._onItemClick,this,wn),this._enableHoverLink(kn,_n.indexInModelPieceList);var Cn=Fe.getRepresentValue(wn);if(this._createItemSymbol(kn,Cn,[0,0,jt[0],jt[1]]),bn){var Sn=this.visualMapModel.getValueState(Cn);kn.add(new ZRText({style:{x:Lt==="right"?-Ue:jt[0]+Ue,y:jt[1]/2,text:wn.text,verticalAlign:"middle",align:Lt,font:At,fill:Dt,opacity:Sn==="outOfRange"?.5:1}}))}Ie.add(kn)},this),vn&&this._renderEndsText(Ie,vn[1],jt,bn,Lt),box(Fe.get("orient"),Ie,Fe.get("itemGap")),this.renderBackground(Ie),this.positionGroup(Ie)},$e.prototype._enableHoverLink=function(Ie,Fe){var Ue=this;Ie.on("mouseover",function(){return qe("highlight")}).on("mouseout",function(){return qe("downplay")});var qe=function(At){var Dt=Ue.visualMapModel;Dt.option.hoverLink&&Ue.api.dispatchAction({type:At,batch:makeHighDownBatch(Dt.findTargetDataIndices(Fe),Dt)})}},$e.prototype._getItemAlign=function(){var Ie=this.visualMapModel,Fe=Ie.option;if(Fe.orient==="vertical")return getItemAlign(Ie,this.api,Ie.itemSize);var Ue=Fe.align;return(!Ue||Ue==="auto")&&(Ue="left"),Ue},$e.prototype._renderEndsText=function(Ie,Fe,Ue,qe,At){if(Fe){var Dt=new Group$3,Lt=this.visualMapModel.textStyleModel;Dt.add(new ZRText({style:createTextStyle(Lt,{x:qe?At==="right"?Ue[0]:0:Ue[0]/2,y:Ue[1]/2,verticalAlign:"middle",align:qe?At:"center",text:Fe})})),Ie.add(Dt)}},$e.prototype._getViewData=function(){var Ie=this.visualMapModel,Fe=map$1(Ie.getPieceList(),function(Dt,Lt){return{piece:Dt,indexInModelPieceList:Lt}}),Ue=Ie.get("text"),qe=Ie.get("orient"),At=Ie.get("inverse");return(qe==="horizontal"?At:!At)?Fe.reverse():Ue&&(Ue=Ue.slice().reverse()),{viewPieceList:Fe,endsText:Ue}},$e.prototype._createItemSymbol=function(Ie,Fe,Ue){Ie.add(createSymbol$1(this.getControllerVisual(Fe,"symbol"),Ue[0],Ue[1],Ue[2],Ue[3],this.getControllerVisual(Fe,"color")))},$e.prototype._onItemClick=function(Ie){var Fe=this.visualMapModel,Ue=Fe.option,qe=Ue.selectedMode;if(qe){var At=clone$4(Ue.selected),Dt=Fe.getSelectedMapKey(Ie);qe==="single"||qe===!0?(At[Dt]=!0,each$f(At,function(Lt,jt){At[jt]=jt===Dt})):At[Dt]=!At[Dt],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:At})}},$e.type="visualMap.piecewise",$e}(VisualMapView);function install$5(xe){xe.registerComponentModel(PiecewiseModel),xe.registerComponentView(PiecewiseVisualMapView),installCommon(xe)}function install$4(xe){use(install$6),use(install$5)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(xe,$e){var Ie=xe.getModel("aria");if(!Ie.get("enabled"))return;var Fe=clone$4(DEFAULT_OPTION);merge(Fe.label,xe.getLocaleModel().get("aria"),!1),merge(Ie.option,Fe,!1),Ue(),qe();function Ue(){var jt=Ie.getModel("decal"),hn=jt.get("show");if(hn){var vn=createHashMap();xe.eachSeries(function(bn){if(!bn.isColorBySeries()){var _n=vn.get(bn.type);_n||(_n={},vn.set(bn.type,_n)),inner(bn).scope=_n}}),xe.eachRawSeries(function(bn){if(xe.isSeriesFiltered(bn))return;if(isFunction(bn.enableAriaDecal)){bn.enableAriaDecal();return}var _n=bn.getData();if(bn.isColorBySeries()){var xn=getDecalFromPalette(bn.ecModel,bn.name,decalPaletteScope,xe.getSeriesCount()),En=_n.getVisual("decal");_n.setVisual("decal",Tn(En,xn))}else{var wn=bn.getRawData(),kn={},Cn=inner(bn).scope;_n.each(function(An){var $n=_n.getRawIndex(An);kn[$n]=An});var Sn=wn.count();wn.each(function(An){var $n=kn[An],Pn=wn.getName(An)||An+"",Nn=getDecalFromPalette(bn.ecModel,Pn,Cn,Sn),Mn=_n.getItemVisual($n,"decal");_n.setItemVisual($n,"decal",Tn(Mn,Nn))})}function Tn(An,$n){var Pn=An?extend(extend({},$n),An):$n;return Pn.dirty=!0,Pn}})}}function qe(){var jt=xe.getLocaleModel().get("aria"),hn=Ie.getModel("label");if(hn.option=defaults(hn.option,jt),!!hn.get("enabled")){var vn=$e.getZr().dom;if(hn.get("description")){vn.setAttribute("aria-label",hn.get("description"));return}var bn=xe.getSeriesCount(),_n=hn.get(["data","maxCount"])||10,wn=hn.get(["series","maxCount"])||10,kn=Math.min(bn,wn),Cn;if(!(bn<1)){var Sn=Dt();if(Sn){var xn=hn.get(["general","withTitle"]);Cn=At(xn,{title:Sn})}else Cn=hn.get(["general","withoutTitle"]);var En=[],Tn=bn>1?hn.get(["series","multiple","prefix"]):hn.get(["series","single","prefix"]);Cn+=At(Tn,{seriesCount:bn}),xe.eachSeries(function(Nn,Mn){if(Mn1?hn.get(["series","multiple",Rn]):hn.get(["series","single",Rn]),In=At(In,{seriesId:Nn.seriesIndex,seriesName:Nn.get("name"),seriesType:Lt(Nn.subType)});var Bn=Nn.getData();if(Bn.count()>_n){var Vn=hn.get(["data","partialData"]);In+=At(Vn,{displayCnt:_n})}else In+=hn.get(["data","allData"]);for(var Ln=hn.get(["data","separator","middle"]),Dn=hn.get(["data","separator","end"]),Hn=[],Fn=0;Fn":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function xe($e){var Ie=this._condVal=isString($e)?new RegExp($e):isRegExp($e)?$e:null;if(Ie==null){var Fe="";throwError(Fe)}}return xe.prototype.evaluate=function($e){var Ie=typeof $e;return isString(Ie)?this._condVal.test($e):isNumber(Ie)?this._condVal.test($e+""):!1},xe}(),ConstConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return this.value},xe}(),AndConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if(!$e[Ie].evaluate())return!1;return!0},xe}(),OrConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if($e[Ie].evaluate())return!0;return!1},xe}(),NotConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return!this.child.evaluate()},xe}(),RelationalConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=!!this.valueParser,Ie=this.getValue,Fe=Ie(this.valueGetterParam),Ue=$e?this.valueParser(Fe):null,qe=0;qe2&&Fe.push(Ue),Ue=[Bn,Vn]}function hn(Bn,Vn,Ln,Dn){aroundEqual(Bn,Ln)&&aroundEqual(Vn,Dn)||Ue.push(Bn,Vn,Ln,Dn,Ln,Dn)}function vn(Bn,Vn,Ln,Dn,Hn,Fn){var zn=Math.abs(Vn-Bn),jn=Math.tan(zn/4)*4/3,Gn=VnNn:On2&&Fe.push(Ue),Fe}function adpativeBezier(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(aroundEqual(xe,Ie)&&aroundEqual($e,Fe)&&aroundEqual(Ue,At)&&aroundEqual(qe,Dt)){Lt.push(At,Dt);return}var hn=2/jt,vn=hn*hn,bn=At-xe,_n=Dt-$e,wn=Math.sqrt(bn*bn+_n*_n);bn/=wn,_n/=wn;var kn=Ie-xe,Cn=Fe-$e,Sn=Ue-At,xn=qe-Dt,En=kn*kn+Cn*Cn,Tn=Sn*Sn+xn*xn;if(En=0&&Nn=0){Lt.push(At,Dt);return}var Mn=[],In=[];cubicSubdivide(xe,Ie,Ue,At,.5,Mn),cubicSubdivide($e,Fe,qe,Dt,.5,In),adpativeBezier(Mn[0],In[0],Mn[1],In[1],Mn[2],In[2],Mn[3],In[3],Lt,jt),adpativeBezier(Mn[4],In[4],Mn[5],In[5],Mn[6],In[6],Mn[7],In[7],Lt,jt)}function pathToPolygons(xe,$e){var Ie=pathToBezierCurves(xe),Fe=[];$e=$e||1;for(var Ue=0;Ue0)for(var jt=0;jtMath.abs(jt),vn=getDividingGrids([Lt,jt],hn?0:1,$e),bn=(hn?Dt:jt)/vn.length,_n=0;_nUe,At=getDividingGrids([Fe,Ue],qe?0:1,$e),Dt=qe?"width":"height",Lt=qe?"height":"width",jt=qe?"x":"y",hn=qe?"y":"x",vn=xe[Dt]/At.length,bn=0;bn1?null:new Point(kn*Lt+xe,kn*jt+$e)}function projPtOnLine(xe,$e,Ie){var Fe=new Point;Point.sub(Fe,Ie,$e),Fe.normalize();var Ue=new Point;Point.sub(Ue,xe,$e);var qe=Ue.dot(Fe);return qe}function addToPoly(xe,$e){var Ie=xe[xe.length-1];Ie&&Ie[0]===$e[0]&&Ie[1]===$e[1]||xe.push($e)}function splitPolygonByLine(xe,$e,Ie){for(var Fe=xe.length,Ue=[],qe=0;qeAt?(jt.x=hn.x=Dt+qe/2,jt.y=Lt,hn.y=Lt+At):(jt.y=hn.y=Lt+At/2,jt.x=Dt,hn.x=Dt+qe),splitPolygonByLine($e,jt,hn)}function binaryDivideRecursive(xe,$e,Ie,Fe){if(Ie===1)Fe.push($e);else{var Ue=Math.floor(Ie/2),qe=xe($e);binaryDivideRecursive(xe,qe[0],Ue,Fe),binaryDivideRecursive(xe,qe[1],Ie-Ue,Fe)}return Fe}function clone(xe,$e){for(var Ie=[],Fe=0;Fe<$e;Fe++)Ie.push(clonePath(xe));return Ie}function copyPathProps(xe,$e){$e.setStyle(xe.style),$e.z=xe.z,$e.z2=xe.z2,$e.zlevel=xe.zlevel}function polygonConvert(xe){for(var $e=[],Ie=0;Ie0;jt/=2){var hn=0,vn=0;(xe&jt)>0&&(hn=1),($e&jt)>0&&(vn=1),Dt+=jt*jt*(3*hn^vn),vn===0&&(hn===1&&(xe=jt-1-xe,$e=jt-1-$e),Lt=xe,xe=$e,$e=Lt)}return Dt}function sortPaths(xe){var $e=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=map$1(xe,function(Dt){var Lt=Dt.getBoundingRect(),jt=Dt.getComputedTransform(),hn=Lt.x+Lt.width/2+(jt?jt[4]:0),vn=Lt.y+Lt.height/2+(jt?jt[5]:0);return $e=Math.min(hn,$e),Ie=Math.min(vn,Ie),Fe=Math.max(hn,Fe),Ue=Math.max(vn,Ue),[hn,vn]}),At=map$1(qe,function(Dt,Lt){return{cp:Dt,z:hilbert(Dt[0],Dt[1],$e,Ie,Fe,Ue),path:xe[Lt]}});return At.sort(function(Dt,Lt){return Dt.z-Lt.z}).map(function(Dt){return Dt.path})}function defaultDividePath(xe){return split(xe.path,xe.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(xe,$e,Ie){var Fe=[];function Ue(An){for(var $n=0;$n=0;Ue--)if(!Ie[Ue].many.length){var Lt=Ie[Dt].many;if(Lt.length<=1)if(Dt)Dt=0;else return Ie;var qe=Lt.length,jt=Math.ceil(qe/2);Ie[Ue].many=Lt.slice(jt,qe),Ie[Dt].many=Lt.slice(0,jt),Dt++}return Ie}var pathDividers={clone:function(xe){for(var $e=[],Ie=1-Math.pow(1-xe.path.style.opacity,1/xe.count),Fe=0;Fe0))return;var Dt=Fe.getModel("universalTransition").get("delay"),Lt=Object.assign({setToFinal:!0},At),jt,hn;isMultiple(xe)&&(jt=xe,hn=$e),isMultiple($e)&&(jt=$e,hn=xe);function vn(Sn,xn,En,Tn,An){var $n=Sn.many,Pn=Sn.one;if($n.length===1&&!An){var Nn=xn?$n[0]:Pn,Mn=xn?Pn:$n[0];if(isCombineMorphing(Nn))vn({many:[Nn],one:Mn},!0,En,Tn,!0);else{var In=Dt?defaults({delay:Dt(En,Tn)},Lt):Lt;morphPath(Nn,Mn,In),qe(Nn,Mn,Nn,Mn,In)}}else for(var On=defaults({dividePath:pathDividers[Ie],individualDelay:Dt&&function(Hn,Fn,zn,jn){return Dt(Hn+En,Tn)}},Lt),Rn=xn?combineMorph($n,Pn,On):separateMorph(Pn,$n,On),Bn=Rn.fromIndividuals,Vn=Rn.toIndividuals,Ln=Bn.length,Dn=0;Dn$e.length,_n=jt?prepareMorphBatches(hn,jt):prepareMorphBatches(bn?$e:xe,[bn?xe:$e]),wn=0,kn=0;kn<_n.length;kn++)wn+=_n[kn].many.length;for(var Cn=0,kn=0;kn<_n.length;kn++)vn(_n[kn],bn,Cn,wn),Cn+=_n[kn].many.length}function getPathList(xe){if(!xe)return[];if(isArray$1(xe)){for(var $e=[],Ie=0;IeDATA_COUNT_THRESHOLD))for(var qe=Fe.getIndices(),At=0;At0&&$n.group.traverse(function(Nn){Nn instanceof Path&&!Nn.animators.length&&Nn.animateFrom({style:{opacity:0}},Pn)})})}function getSeriesTransitionKey(xe){var $e=xe.getModel("universalTransition").get("seriesKey");return $e||xe.id}function convertArraySeriesKeyToString(xe){return isArray$1(xe)?xe.sort().join(","):xe}function getDivideShapeFromData(xe){if(xe.hostModel)return xe.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(xe,$e){var Ie=createHashMap(),Fe=createHashMap(),Ue=createHashMap();return each$f(xe.oldSeries,function(qe,At){var Dt=xe.oldDataGroupIds[At],Lt=xe.oldData[At],jt=getSeriesTransitionKey(qe),hn=convertArraySeriesKeyToString(jt);Fe.set(hn,{dataGroupId:Dt,data:Lt}),isArray$1(jt)&&each$f(jt,function(vn){Ue.set(vn,{key:hn,dataGroupId:Dt,data:Lt})})}),each$f($e.updatedSeries,function(qe){if(qe.isUniversalTransitionEnabled()&&qe.isAnimationEnabled()){var At=qe.get("dataGroupId"),Dt=qe.getData(),Lt=getSeriesTransitionKey(qe),jt=convertArraySeriesKeyToString(Lt),hn=Fe.get(jt);if(hn)Ie.set(jt,{oldSeries:[{dataGroupId:hn.dataGroupId,divide:getDivideShapeFromData(hn.data),data:hn.data}],newSeries:[{dataGroupId:At,divide:getDivideShapeFromData(Dt),data:Dt}]});else if(isArray$1(Lt)){var vn=[];each$f(Lt,function(wn){var kn=Fe.get(wn);kn.data&&vn.push({dataGroupId:kn.dataGroupId,divide:getDivideShapeFromData(kn.data),data:kn.data})}),vn.length&&Ie.set(jt,{oldSeries:vn,newSeries:[{dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)}]})}else{var bn=Ue.get(Lt);if(bn){var _n=Ie.get(bn.key);_n||(_n={oldSeries:[{dataGroupId:bn.dataGroupId,data:bn.data,divide:getDivideShapeFromData(bn.data)}],newSeries:[]},Ie.set(bn.key,_n)),_n.newSeries.push({dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)})}}}}),Ie}function querySeries(xe,$e){for(var Ie=0;Ie=0&&Ue.push({dataGroupId:$e.oldDataGroupIds[Dt],data:$e.oldData[Dt],divide:getDivideShapeFromData($e.oldData[Dt]),groupIdDim:At.dimension})}),each$f(normalizeToArray(xe.to),function(At){var Dt=querySeries(Ie.updatedSeries,At);if(Dt>=0){var Lt=Ie.updatedSeries[Dt].getData();qe.push({dataGroupId:$e.oldDataGroupIds[Dt],data:Lt,divide:getDivideShapeFromData(Lt),groupIdDim:At.dimension})}}),Ue.length>0&&qe.length>0&&transitionBetween(Ue,qe,Fe)}function installUniversalTransition(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){each$f(normalizeToArray(Fe.seriesTransition),function(Ue){each$f(normalizeToArray(Ue.to),function(qe){for(var At=Fe.updatedSeries,Dt=0;Dt0},xe.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},xe.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},xe.prototype.onTransitionEnd_=function($e){var Ie=$e.propertyName,Fe=Ie===void 0?"":Ie,Ue=transitionKeys.some(function(qe){return!!~Fe.indexOf(qe)});Ue&&this.refresh()},xe.getInstance=function(){return this.instance_||(this.instance_=new xe),this.instance_},xe.instance_=null,xe}(),defineConfigurable=function(xe,$e){for(var Ie=0,Fe=Object.keys($e);Ie"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)||(Ie.set($e,new ResizeObservation($e)),this.controller_.addObserver(this),this.controller_.refresh())}},xe.prototype.unobserve=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)&&(Ie.delete($e),Ie.size||this.controller_.removeObserver(this))}},xe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},xe.prototype.gatherActive=function(){var $e=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&$e.activeObservations_.push(Ie)})},xe.prototype.broadcastActive=function(){if(this.hasActive()){var $e=this.callbackCtx_,Ie=this.activeObservations_.map(function(Fe){return new ResizeObserverEntry$1(Fe.target,Fe.broadcastRect())});this.callback_.call($e,Ie,$e),this.clearActive()}},xe.prototype.clearActive=function(){this.activeObservations_.splice(0)},xe.prototype.hasActive=function(){return this.activeObservations_.length>0},xe}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$1=function(){function xe($e){if(!(this instanceof xe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=ResizeObserverController.getInstance(),Fe=new ResizeObserverSPI($e,Ie,this);observers.set(this,Fe)}return xe}();["observe","unobserve","disconnect"].forEach(function(xe){ResizeObserver$1.prototype[xe]=function(){var $e;return($e=observers.get(this))[xe].apply($e,arguments)}});var index=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$1}();const _withScopeId=xe=>(pushScopeId("data-v-c51b6157"),xe=xe(),popScopeId(),xe),_hoisted_1={style:{padding:"15px"}},_hoisted_2={class:"justify-between flex"},_hoisted_3=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日新增用户数量",-1)),_hoisted_4={class:"flex justify-between"},_hoisted_5=_withScopeId(()=>createBaseVNode("span",null,"总计用户数量:",-1)),_hoisted_6={class:"flex justify-between"},_hoisted_7=_withScopeId(()=>createBaseVNode("span",{class:"font-bold"},"今日对话",-1)),_hoisted_8={class:"flex justify-between"},_hoisted_9=_withScopeId(()=>createBaseVNode("span",null,"总计对话",-1)),_hoisted_10={class:"flex justify-between"},_hoisted_11=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日绘画数量",-1)),_hoisted_12={class:"flex justify-between"},_hoisted_13=_withScopeId(()=>createBaseVNode("span",null,"总计绘画数量:",-1)),_hoisted_14={class:"justify-between flex"},_hoisted_15=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日订单数量",-1)),_hoisted_16={class:"flex justify-between"},_hoisted_17=_withScopeId(()=>createBaseVNode("span",null,"总计订单数量:",-1)),_hoisted_18={class:"align-center flex justify-between"},_hoisted_19=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"对话信息统计",-1)),_hoisted_20=_withScopeId(()=>createBaseVNode("div",{id:"chat"},null,-1)),_hoisted_21={class:"align-center flex justify-between"},_hoisted_22=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"网站访客统计",-1)),_hoisted_23=_withScopeId(()=>createBaseVNode("div",{id:"baidu"},null,-1)),_sfc_main$1=defineComponent({__name:"index",setup(xe){const $e=useSettingsStore(),Ie=computed(()=>$e.settings.app.colorScheme),Fe=ref({userCount:0,newUserCount:0,chatCount:0,newChatCount:0,drawCount:0,newDrawCount:0,orderCount:0,newOrderCount:0});let Ue,qe,At;const Dt=ref(30),Lt=ref(30),jt={title:{text:"对话统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{top:"30px",data:[{name:"对话数量",icon:"rect",itemWidth:10,itemHeight:5},{name:"绘画数量",icon:"rect"}]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}}],series:[{name:"对话数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"rgba(17, 76, 255, 0.2)"},emphasis:{focus:"series"},data:[]},{name:"绘画数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"#00d7ff33"},emphasis:{focus:"series"},data:[]}]},hn={title:{text:"访问量统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis"},legend:{data:["pv","uv","ip"]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}},series:[{name:"pv",type:"bar",smooth:!0,areaStyle:{color:"rgba(17, 76, 255, 0.2)"},data:[]},{name:"uv",type:"bar",smooth:!0,areaStyle:{color:"#00d7ff33"},data:[]},{name:"ip",smooth:!0,areaStyle:{color:"rgba(0, 215, 255, 0.2)"},type:"bar",data:[]}]},vn=[{label:7,value:"最近七天"},{label:15,value:"最近半月"},{label:30,value:"最近一月"},{label:90,value:"最近三月"}];async function bn(){const Cn=await apiDashboard.getBaseInfo();console.log(Cn.data),Fe.value=Cn.data}async function _n(){const Cn=await apiDashboard.getBaiduVisit({days:Lt.value}),{data:Sn}=Cn;hn.xAxis.data=Sn.items[0].map(En=>En[0]),hn.series.forEach((En,Tn)=>{En.data=Sn.items[1].map(An=>An[Tn])});const xn=document.getElementById("baidu");qe=init$1(xn),qe.setOption(hn)}async function wn(){const Cn=await apiDashboard.getChatStatistic({days:Dt.value}),{date:Sn,chat:xn,draw:En}=Cn.data;jt.xAxis[0].data=Sn,jt.series[0].data=xn,jt.series[1].data=En;const Tn=document.getElementById("chat");Ue=init$1(Tn),Ue.setOption(jt)}watch(Ie,()=>{kn()});function kn(){const Sn=$e.settings.app.colorScheme==="dark"?["#ffffff1a"]:["#0000001a"];jt.yAxis[0].splitLine.lineStyle.color=Sn,jt.xAxis[0].splitLine.lineStyle.color=Sn,Ue.setOption(jt),hn.yAxis.splitLine.lineStyle.color=Sn,hn.xAxis.splitLine.lineStyle.color=Sn,qe.setOption(hn)}return onMounted(async()=>{await bn(),await Promise.all([wn(),_n()]),kn(),ElNotification({title:"配置迁移提醒",message:"除对话页外的其他页面将不再维护。专业绘画、思维导图等页面的配置已移至其他设置中。",type:"info",duration:15e3})}),onMounted(()=>{At=new index(()=>{Ue&&Ue.resize(),qe&&qe.resize()});const Cn=document.getElementById("chat");Cn&&(At==null||At.observe(Cn));const Sn=document.getElementById("baidu");Sn&&(At==null||At.observe(Sn))}),onBeforeMount(()=>{At&&At.disconnect()}),(Cn,Sn)=>{const xn=resolveComponent("el-card"),En=resolveComponent("el-col"),Tn=resolveComponent("el-row"),An=resolveComponent("Histogram"),$n=resolveComponent("el-icon"),Pn=resolveComponent("el-radio-button"),Nn=resolveComponent("el-radio-group");return openBlock(),createElementBlock("div",_hoisted_1,[createVNode$1(Tn,{gutter:10},{default:withCtx(()=>[createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>{var Mn;return[createBaseVNode("div",_hoisted_2,[_hoisted_3,createBaseVNode("b",null,toDisplayString((Mn=unref(Fe))==null?void 0:Mn.newUserCount),1)])]}),default:withCtx(()=>[createBaseVNode("div",_hoisted_4,[_hoisted_5,createBaseVNode("span",null,toDisplayString(unref(Fe).userCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_6,[_hoisted_7,createBaseVNode("b",null,toDisplayString(unref(Fe).newChatCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8,[_hoisted_9,createBaseVNode("span",null,toDisplayString(unref(Fe).chatCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_10,[_hoisted_11,createBaseVNode("b",null,toDisplayString(unref(Fe).newDrawCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_12,[_hoisted_13,createBaseVNode("span",null,toDisplayString(unref(Fe).drawCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_14,[_hoisted_15,createBaseVNode("b",null,toDisplayString(unref(Fe).newOrderCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_16,[_hoisted_17,createBaseVNode("span",null,toDisplayString(unref(Fe).orderCount),1)])]),_:1})]),_:1})]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_18,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_19]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Dt),"onUpdate:modelValue":Sn[0]||(Sn[0]=Mn=>isRef(Dt)?Dt.value=Mn:null),onChange:wn},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_20]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_21,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_22]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Lt),"onUpdate:modelValue":Sn[1]||(Sn[1]=Mn=>isRef(Lt)?Lt.value=Mn:null),onChange:_n},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_23]),_:1})])}}}),block0={},_export_sfc=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};typeof block0=="function"&&block0(_sfc_main$1);const Home=_export_sfc(_sfc_main$1,[["__scopeId","data-v-c51b6157"]]),__pages_import_0__=()=>__vitePreload(()=>import("./wechat-BkbWOIf6.js"),__vite__mapDeps([0,1,2])),__pages_import_1__=()=>__vitePreload(()=>import("./register-CYjD1up6.js"),__vite__mapDeps([3,1,2,4])),__pages_import_2__=()=>__vitePreload(()=>import("./phone-CGUMJk5n.js"),__vite__mapDeps([5,1,2])),__pages_import_3__=()=>__vitePreload(()=>import("./index-BpF_L7px.js"),__vite__mapDeps([6,7,1,8,9])),__pages_import_4__=()=>__vitePreload(()=>import("./email-_1Kpc4yH.js"),__vite__mapDeps([10,1,2])),__pages_import_5__=()=>__vitePreload(()=>import("./accountLog-Cd0BMb3f.js"),__vite__mapDeps([11,7,1,8,9])),__pages_import_6__=()=>__vitePreload(()=>import("./secret-D2aTJbOx.js"),__vite__mapDeps([12,2])),__pages_import_7__=()=>__vitePreload(()=>import("./notice-DMe6HJCf.js").then(xe=>xe.w),__vite__mapDeps([13,1,2,14])),__pages_import_8__=()=>__vitePreload(()=>import("./menu-CuN26WL2.js"),__vite__mapDeps([15,1])),__pages_import_9__=()=>__vitePreload(()=>import("./cos-BRNa7REY.js"),__vite__mapDeps([16,7,2])),__pages_import_10__=()=>__vitePreload(()=>import("./baseConfiguration-DH4Ibd3L.js"),__vite__mapDeps([17,1,2])),__pages_import_11__=()=>__vitePreload(()=>import("./base-CufmkG0J.js"),__vite__mapDeps([18,1,2])),__pages_import_12__=()=>__vitePreload(()=>import("./tencent-lJ3a0Qqq.js"),__vite__mapDeps([19,1,2])),__pages_import_13__=()=>__vitePreload(()=>import("./chevereto-KDePOTPH.js"),__vite__mapDeps([20,1,2])),__pages_import_14__=()=>__vitePreload(()=>import("./ali-6pjHUfm1.js"),__vite__mapDeps([21,1,2])),__pages_import_15__=()=>__vitePreload(()=>import("./violation-DZDD8jUe.js"),__vite__mapDeps([22,7,1,23,9,24,8,25])),__pages_import_16__=()=>__vitePreload(()=>import("./custom-HDg7nfHW.js"),__vite__mapDeps([26,7,1,23,8])),__pages_import_17__=()=>__vitePreload(()=>import("./baiduSensitive-z59IcEO-.js"),__vite__mapDeps([27,1,2])),__pages_import_18__=()=>__vitePreload(()=>import("./autpReply-aBwzoon6.js"),__vite__mapDeps([28,7,1,9,8])),__pages_import_19__=()=>__vitePreload(()=>import("./salesUser-CVpVO-ws.js"),__vite__mapDeps([29,7,1,30])),__pages_import_20__=()=>__vitePreload(()=>import("./records-CnW4CjLy.js"),__vite__mapDeps([31,7,1,30])),__pages_import_21__=()=>__vitePreload(()=>import("./order-BFa8L6DT.js"),__vite__mapDeps([32,7,1,30,8])),__pages_import_22__=()=>__vitePreload(()=>import("./base-B9aketWE.js"),__vite__mapDeps([33,1,2])),__pages_import_23__=()=>__vitePreload(()=>import("./setting-86cZ7V_6.js"),__vite__mapDeps([34,7,35])),__pages_import_24__=()=>__vitePreload(()=>import("./edit.password-uLg52Hrl.js"),__vite__mapDeps([36,7,1,37,38])),__pages_import_25__=()=>__vitePreload(()=>import("./wechat-Ckikji2h.js"),__vite__mapDeps([39,1,2])),__pages_import_26__=()=>__vitePreload(()=>import("./mpay-DIbFMYy3.js"),__vite__mapDeps([40,1,2])),__pages_import_27__=()=>__vitePreload(()=>import("./ltzf-DEkCmzhn.js"),__vite__mapDeps([41,1,2])),__pages_import_28__=()=>__vitePreload(()=>import("./hupijiao-BE4XxZbP.js"),__vite__mapDeps([42,1,2])),__pages_import_29__=()=>__vitePreload(()=>import("./epay-CxwnO4xc.js"),__vite__mapDeps([43,1,2])),__pages_import_30__=()=>__vitePreload(()=>import("./points-D-WLryND.js"),__vite__mapDeps([44,1,2])),__pages_import_31__=()=>__vitePreload(()=>import("./package-ByB7JmhZ.js"),__vite__mapDeps([45,7,1,46,8,9])),__pages_import_32__=()=>__vitePreload(()=>import("./crami-BJO-Jlp1.js"),__vite__mapDeps([47,7,1,46,8,9])),__pages_import_33__=()=>__vitePreload(()=>import("./index-DTod8imv.js"),__vite__mapDeps([48,7,1,8,9,49])),__pages_import_34__=()=>__vitePreload(()=>import("./systemapp-C2A6geA0.js"),__vite__mapDeps([50,7,51])),__pages_import_35__=()=>__vitePreload(()=>import("./proxy-D8FeVRV6.js"),__vite__mapDeps([52,7,2])),__pages_import_36__=()=>__vitePreload(()=>import("./prompts-m_Et1l2u.js"),__vite__mapDeps([53,7,54,55])),__pages_import_37__=()=>__vitePreload(()=>import("./mind-COFTHx0M.js"),__vite__mapDeps([56,7,2])),__pages_import_38__=()=>__vitePreload(()=>import("./key-CZ1ImD0H.js"),__vite__mapDeps([57,7,1,9,8])),__pages_import_39__=()=>__vitePreload(()=>import("./interface-D9t9C8J7.js"),__vite__mapDeps([58,1,2])),__pages_import_40__=()=>__vitePreload(()=>import("./index-DCp_chce.js"),__vite__mapDeps([59,7,2])),__pages_import_41__=()=>__vitePreload(()=>import("./draw-DTXEmBi5.js"),__vite__mapDeps([60,7,61,54,9,8,25])),__pages_import_42__=()=>__vitePreload(()=>import("./logo-BZQMTxuq.js"),__vite__mapDeps([62,7,2])),__pages_import_43__=()=>__vitePreload(()=>import("./midjourney-C4S1NgSK.js"),__vite__mapDeps([63,7,61,8,64])),__pages_import_44__=()=>__vitePreload(()=>import("./draw-BnhvwcDa.js"),__vite__mapDeps([65,7,1,61,8,9,64])),__pages_import_45__=()=>__vitePreload(()=>import("./chat-CdVhebVz.js"),__vite__mapDeps([66,7,1,61,9,24,25])),__pages_import_46__=()=>__vitePreload(()=>import("./index-D-dDLRwf.js"),__vite__mapDeps([67,7,2])),__pages_import_47__=()=>__vitePreload(()=>import("./visible-K9fT7Dyr.js"),__vite__mapDeps([68,1,2])),__pages_import_48__=()=>__vitePreload(()=>import("./plugin-BFOtki6v.js"),__vite__mapDeps([69,7,1,8])),__pages_import_49__=()=>__vitePreload(()=>import("./pdf-DpqOMvmu.js"),__vite__mapDeps([70,7,2])),__pages_import_50__=()=>__vitePreload(()=>import("./classify-CRtm6uvD.js"),__vite__mapDeps([71,7,1,51,9,8])),__pages_import_51__=()=>__vitePreload(()=>import("./application-BvqlJIC2.js"),__vite__mapDeps([72,7,1,51,9,8])),__pages_import_52__=()=>__vitePreload(()=>import("./globalPre-B88RPeeo.js"),__vite__mapDeps([73,7,2])),__pages_import_53__=()=>__vitePreload(()=>import("./github-redirect-Du65IWeK.js"),[]),__pages_import_54__=()=>__vitePreload(()=>import("./reload-Czf8LhHT.js"),[]),__pages_import_55__=()=>__vitePreload(()=>import("./login-CbhshGNo.js"),[]),__pages_import_57__=()=>__vitePreload(()=>import("./_...all_-BaYrHne_.js"),[]),routes$c=[{name:"users-wechat",path:"/users/wechat",component:__pages_import_0__,props:!0,meta:{title:"微信设置"}},{name:"users-register",path:"/users/register",component:__pages_import_1__,props:!0,meta:{title:"访问配置"}},{name:"users-phone",path:"/users/phone",component:__pages_import_2__,props:!0,meta:{title:"手机验证码配置"}},{name:"users",path:"/users",component:__pages_import_3__,props:!0,meta:{title:"用户管理"}},{name:"users-email",path:"/users/email",component:__pages_import_4__,props:!0,meta:{title:"邮件设置"}},{name:"users-accountLog",path:"/users/accountlog",component:__pages_import_5__,props:!0,meta:{title:"账户变更记录"}},{name:"system-secret",path:"/system/secret",component:__pages_import_6__,props:!0,meta:{title:"key设置"}},{name:"system-notice",path:"/system/notice",component:__pages_import_7__,props:!0,meta:{title:"公告设置"}},{name:"system-menu",path:"/system/menu",component:__pages_import_8__,props:!0,meta:{title:"动态菜单"}},{name:"system-cos",path:"/system/cos",component:__pages_import_9__,props:!0,meta:{title:"cos设置"}},{name:"system-baseConfiguration",path:"/system/baseconfiguration",component:__pages_import_10__,props:!0,meta:{title:"基础配置"}},{name:"system-base",path:"/system/base",component:__pages_import_11__,props:!0,meta:{title:"百度统计"}},{name:"storage-tencent",path:"/storage/tencent",component:__pages_import_12__,props:!0,meta:{title:"腾讯云cos设置"}},{name:"storage-chevereto",path:"/storage/chevereto",component:__pages_import_13__,props:!0,meta:{title:"Chevereto图床设置"}},{name:"storage-ali",path:"/storage/ali",component:__pages_import_14__,props:!0,meta:{title:"阿里云oss设置"}},{name:"sensitive-violation",path:"/sensitive/violation",component:__pages_import_15__,props:!0,meta:{title:"违规记录"}},{name:"sensitive-custom",path:"/sensitive/custom",component:__pages_import_16__,props:!0,meta:{title:"敏感词预设"}},{name:"sensitive-baiduSensitive",path:"/sensitive/baidusensitive",component:__pages_import_17__,props:!0,meta:{title:"百度云敏感词设置"}},{name:"sensitive-autpReply",path:"/sensitive/autpreply",component:__pages_import_18__,props:!0,meta:{title:"自定义回复预设"}},{name:"sales-salesUser",path:"/sales/salesuser",component:__pages_import_19__,props:!0,meta:{title:"分销佣金账户"}},{name:"sales-records",path:"/sales/records",component:__pages_import_20__,props:!0,meta:{title:"佣金分销明细"}},{name:"sales-order",path:"/sales/order",component:__pages_import_21__,props:!0,meta:{title:"key列表"}},{name:"sales-base",path:"/sales/base",component:__pages_import_22__,props:!0,meta:{title:"分销系统基础设置"}},{name:"personalSetting",path:"/personal/setting",component:__pages_import_23__,props:!0,meta:{title:"个人设置",cache:"personal-edit.password"}},{name:"personalEditPassword",path:"/personal/edit.password",component:__pages_import_24__,props:!0,meta:{title:"修改密码"}},{name:"pay-wechat",path:"/pay/wechat",component:__pages_import_25__,props:!0,meta:{title:"官方微信支付设置"}},{name:"pay-mpay",path:"/pay/mpay",component:__pages_import_26__,props:!0,meta:{title:"码支付设置"}},{name:"pay-ltzf",path:"/pay/ltzf",component:__pages_import_27__,props:!0,meta:{title:"蓝兔支付设置"}},{name:"pay-hupijiao",path:"/pay/hupijiao",component:__pages_import_28__,props:!0,meta:{title:"虎皮椒支付设置"}},{name:"pay-epay",path:"/pay/epay",component:__pages_import_29__,props:!0,meta:{title:"易支付设置"}},{name:"package-points",path:"/package/points",component:__pages_import_30__,props:!0,meta:{title:"积分显示"}},{name:"package-package",path:"/package/package",component:__pages_import_31__,props:!0,meta:{title:"卡券管理"}},{name:"package-crami",path:"/package/crami",component:__pages_import_32__,props:!0,meta:{title:"卡密管理"}},{name:"order",path:"/order",component:__pages_import_33__,props:!0,meta:{title:"对话管理"}},{name:"models-systemapp",path:"/models/systemapp",component:__pages_import_34__,props:!0,meta:{title:"系统应用管理"}},{name:"models-proxy",path:"/models/proxy",component:__pages_import_35__,props:!0,meta:{title:"MJ设置"}},{name:"models-prompts",path:"/models/prompts",component:__pages_import_36__,props:!0,meta:{title:"模型列表"}},{name:"models-mind",path:"/models/mind",component:__pages_import_37__,props:!0,meta:{title:"思维导图"}},{name:"models-key",path:"/models/key",component:__pages_import_38__,props:!0,meta:{title:"模型列表"}},{name:"models-interface",path:"/models/interface",component:__pages_import_39__,props:!0,meta:{title:"接口请求设置"}},{name:"mjDraw",path:"/mjdraw",component:__pages_import_40__,props:!0,meta:{title:"MJ设置"}},{name:"mjDraw-draw",path:"/mjdraw/draw",component:__pages_import_41__,props:!0,meta:{title:"key列表"}},{name:"client-logo",path:"/client/logo",component:__pages_import_42__,props:!0,meta:{title:"动态菜单"}},{name:"chat-midjourney",path:"/chat/midjourney",component:__pages_import_43__,props:!0,meta:{title:"MJ绘画管理"}},{name:"chat-draw",path:"/chat/draw",component:__pages_import_44__,props:!0,meta:{title:"绘画管理"}},{name:"chat-chat",path:"/chat/chat",component:__pages_import_45__,props:!0,meta:{title:"对话管理"}},{name:"basic",path:"/basic",component:__pages_import_46__,props:!0,meta:{title:"全局预设"}},{name:"app-visible",path:"/app/visible",component:__pages_import_47__,props:!0,meta:{title:"基础设置"}},{name:"app-plugin",path:"/app/plugin",component:__pages_import_48__,props:!0,meta:{title:"插件管理"}},{name:"app-pdf",path:"/app/pdf",component:__pages_import_49__,props:!0,meta:{title:"PDF 分析设置"}},{name:"app-classify",path:"/app/classify",component:__pages_import_50__,props:!0,meta:{title:"App分类管理"}},{name:"app-application",path:"/app/application",component:__pages_import_51__,props:!0,meta:{title:"应用管理"}},{name:"ai-globalPre",path:"/ai/globalpre",component:__pages_import_52__,props:!0,meta:{title:"全局设置"}},{name:"ai-github-redirect",path:"/ai/github-redirect",component:__pages_import_53__,props:!0},{name:"reload",path:"/reload",component:__pages_import_54__,props:!0},{name:"login",path:"/login",component:__pages_import_55__,props:!0,meta:{title:"登录",constant:!0,layout:!1}},{name:"home",path:"/",component:Home,props:!0,meta:{title:"主页"}},{name:"notFound",path:"/:all(.*)*",component:__pages_import_57__,props:!0,meta:{title:"找不到页面",constant:!0,layout:!1}}];function setupLayouts(xe){const $e={};Object.entries(Object.assign({"/src/layouts/components/AppSetting/index.vue":()=>__vitePreload(()=>import("./index-B64mWH-H.js"),__vite__mapDeps([74,75,76,77,78,79,80,81,82])),"/src/layouts/components/BackTop/index.vue":()=>__vitePreload(()=>import("./index-Df_vc7Fn.js"),__vite__mapDeps([83,84])),"/src/layouts/components/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-D2N8hAxR.js"),__vite__mapDeps([85,86])),"/src/layouts/components/Breadcrumb/item.vue":()=>__vitePreload(()=>import("./item-CYH3jTfY.js"),__vite__mapDeps([87,88])),"/src/layouts/components/Copyright/index.vue":()=>__vitePreload(()=>import("./index-DQ4-HBJz.js"),__vite__mapDeps([89,90])),"/src/layouts/components/Header/index.vue":()=>__vitePreload(()=>import("./index-CD-WGSon.js"),__vite__mapDeps([91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102])),"/src/layouts/components/HotkeysIntro/index.vue":()=>__vitePreload(()=>import("./index-D74dhXQj.js"),__vite__mapDeps([103,104,105,99])),"/src/layouts/components/Logo/index.vue":()=>__vitePreload(()=>import("./index-DurhRyBU.js"),__vite__mapDeps([106,92])),"/src/layouts/components/MainSidebar/index.vue":()=>__vitePreload(()=>import("./index-O7C3nkUu.js"),__vite__mapDeps([107,92,101,108])),"/src/layouts/components/Menu/index.vue":()=>__vitePreload(()=>import("./index-PllwPqA5.js"),__vite__mapDeps([109,110,111,112,79])),"/src/layouts/components/Menu/item.vue":()=>__vitePreload(()=>import("./item-Bc1_M91q.js"),__vite__mapDeps([113,112,79])),"/src/layouts/components/Menu/sub.vue":()=>__vitePreload(()=>import("./sub-BrxcEWON.js"),__vite__mapDeps([114,111,112,79])),"/src/layouts/components/Search/index.vue":()=>__vitePreload(()=>import("./index-DKZCJQvq.js"),__vite__mapDeps([115,116,99,85,86,88])),"/src/layouts/components/SubSidebar/index.vue":()=>__vitePreload(()=>import("./index-CBLO6eVA.js"),__vite__mapDeps([117,81,92,110,111,112,79,118])),"/src/layouts/components/Topbar/Tabbar/index.vue":()=>__vitePreload(()=>import("./index-vmxuRT_7.js"),__vite__mapDeps([119,81,37,120])),"/src/layouts/components/Topbar/Toolbar/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-CS8LAyXh.js"),__vite__mapDeps([121,85,86,88,122])),"/src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue":()=>__vitePreload(()=>import("./index-CVmyQDYv.js"),__vite__mapDeps([123,95,96,80,78])),"/src/layouts/components/Topbar/Toolbar/Fullscreen/index.vue":()=>__vitePreload(()=>import("./index-CfI4TwiN.js"),__vite__mapDeps([124,97,81])),"/src/layouts/components/Topbar/Toolbar/NavSearch/index.vue":()=>__vitePreload(()=>import("./index-BsxNmcGU.js"),__vite__mapDeps([125,98,99])),"/src/layouts/components/Topbar/Toolbar/PageReload/index.vue":()=>__vitePreload(()=>import("./index-BcUjYA-t.js"),__vite__mapDeps([126,100,37])),"/src/layouts/components/Topbar/Toolbar/index.vue":()=>__vitePreload(()=>import("./index-Czbj0ARg.js"),__vite__mapDeps([127,128,121,85,86,88,122,93,94,95,96,80,78,97,81,98,99,100,37,129])),"/src/layouts/components/Topbar/Toolbar/leftSide.vue":()=>__vitePreload(()=>import("./leftSide-Bw4CimaX.js"),__vite__mapDeps([130,128,121,85,86,88,122])),"/src/layouts/components/Topbar/Toolbar/rightSide.vue":()=>__vitePreload(()=>import("./rightSide-CHjddZ3y.js"),__vite__mapDeps([131,93,94,95,96,80,78,97,81,98,99,100,37])),"/src/layouts/components/Topbar/index.vue":()=>__vitePreload(()=>import("./index-5KCDGGNS.js"),__vite__mapDeps([132,119,81,37,120,127,128,121,85,86,88,122,93,94,95,96,80,78,97,98,99,100,129,133])),"/src/layouts/components/views/link.vue":()=>__vitePreload(()=>import("./link-DH7aCgYr.js"),__vite__mapDeps([134,7,79,81,135])),"/src/layouts/index.vue":()=>__vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82])),"/src/layouts/ui-kit/HButton.vue":()=>__vitePreload(()=>import("./HButton-Db3nWqlB.js"),[]),"/src/layouts/ui-kit/HCheckList.vue":()=>__vitePreload(()=>import("./HCheckList-DLr-yKy6.js"),__vite__mapDeps([138,76])),"/src/layouts/ui-kit/HDialog.vue":()=>__vitePreload(()=>import("./HDialog-jgtAkYW8.js"),__vite__mapDeps([139,105])),"/src/layouts/ui-kit/HDropdown.vue":()=>__vitePreload(()=>import("./HDropdown-qq12d9mA.js"),[]),"/src/layouts/ui-kit/HDropdownMenu.vue":()=>__vitePreload(()=>import("./HDropdownMenu-Dqvjzvpm.js"),__vite__mapDeps([140,94])),"/src/layouts/ui-kit/HInput.vue":()=>__vitePreload(()=>import("./HInput-BzUT1kdG.js"),__vite__mapDeps([141,75])),"/src/layouts/ui-kit/HKbd.vue":()=>__vitePreload(()=>import("./HKbd-Dkpr3OfM.js"),[]),"/src/layouts/ui-kit/HSelect.vue":()=>__vitePreload(()=>import("./HSelect-C6n0PNM1.js"),[]),"/src/layouts/ui-kit/HSlideover.vue":()=>__vitePreload(()=>import("./HSlideover-DOumEMj5.js"),[]),"/src/layouts/ui-kit/HTabList.vue":()=>__vitePreload(()=>import("./HTabList-Bu0nxnXP.js"),__vite__mapDeps([142,80,78])),"/src/layouts/ui-kit/HToggle.vue":()=>__vitePreload(()=>import("./HToggle-CbE2U3ML.js"),__vite__mapDeps([143,77,78])),"/src/layouts/ui-kit/HTooltip.vue":()=>__vitePreload(()=>import("./HTooltip-DqxvMbPq.js"),__vite__mapDeps([144,79]))})).forEach(([Ue,qe])=>{let At=Ue.replace("/src/layouts/","").replace(".vue","");$e[At]=qe});function Fe(Ue,qe=!0){return Ue.map(At=>{var Dt,Lt,jt,hn,vn;return((Dt=At.children)==null?void 0:Dt.length)>0&&(At.children=Fe(At.children,!1)),qe&&((Lt=At.meta)==null?void 0:Lt.layout)!==!1?{path:At.path,component:$e[((jt=At.meta)==null?void 0:jt.layout)||"index"],children:At.path==="/"?[At]:[{...At,path:""}],meta:{isLayout:!0}}:(hn=At.meta)!=null&&hn.layout?{path:At.path,component:$e[(vn=At.meta)==null?void 0:vn.layout],children:[{...At,path:""}],meta:{isLayout:!0}}:At})}return Fe(xe)}function Layout$a(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$b={path:"/chat",component:Layout$a,redirect:"/chat/chat",name:"chatMenu",meta:{title:"数据管理",icon:"majesticons:data-line"},children:[{path:"dashboard",name:"dashboardMenu",component:()=>__vitePreload(()=>import("./index-BpF_L7px.js"),__vite__mapDeps([6,7,1,8,9])),meta:{title:"用户信息",icon:"fa6-solid:list-ul"}},{path:"list",name:"chatMenuList",component:()=>__vitePreload(()=>import("./chat-CdVhebVz.js"),__vite__mapDeps([66,7,1,61,9,24,25])),meta:{title:"对话记录",icon:"material-symbols-light:chat-outline"}},{path:"draw",name:"drawMenuList",component:()=>__vitePreload(()=>import("./draw-BnhvwcDa.js"),__vite__mapDeps([65,7,1,61,8,9,64])),meta:{title:"绘画记录",icon:"material-symbols:draw-outline"}},{path:"auto-reply",name:"ReplyMenuList",component:()=>__vitePreload(()=>import("./autpReply-aBwzoon6.js"),__vite__mapDeps([28,7,1,9,8])),meta:{title:"回复预设",icon:"ic:outline-question-answer"}}]};function Layout$9(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$a={path:"/package",component:Layout$9,redirect:"/package/list",name:"packageMenu",meta:{title:"套餐管理",icon:"icon-park-outline:buy"},children:[{path:"order-list",name:"OrderMenuList",component:()=>__vitePreload(()=>import("./index-DTod8imv.js"),__vite__mapDeps([48,7,1,8,9,49])),meta:{title:"订单列表",icon:"lets-icons:order"}},{path:"account-log",name:"AccountLogMenu",component:()=>__vitePreload(()=>import("./accountLog-Cd0BMb3f.js"),__vite__mapDeps([11,7,1,8,9])),meta:{title:"账户明细",icon:"carbon:account"}},{path:"list",name:"packageMenuList",component:()=>__vitePreload(()=>import("./package-ByB7JmhZ.js"),__vite__mapDeps([45,7,1,46,8,9])),meta:{title:"套餐设置",icon:"icon-park-outline:commodity"}},{path:"crami",name:"cramiMenuList",component:()=>__vitePreload(()=>import("./crami-BJO-Jlp1.js"),__vite__mapDeps([47,7,1,46,8,9])),meta:{title:"卡密管理",icon:"solar:passport-broken"}}]};function Layout$8(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$9={path:"/sales",component:Layout$8,redirect:"/sales/config",name:"SalesMenu",meta:{title:"分销管理",icon:"mdi:cart-sale"},children:[{path:"config",name:"SalesBaseManage",component:()=>__vitePreload(()=>import("./base-B9aketWE.js"),__vite__mapDeps([33,1,2])),meta:{title:"基础分销配置",icon:"mdi:sale-outline"}},{path:"salesUser",name:"SalesUserManage",component:()=>__vitePreload(()=>import("./salesUser-CVpVO-ws.js"),__vite__mapDeps([29,7,1,30])),meta:{title:"佣金账户列表",icon:"tdesign:money"}},{path:"records",name:"SalesRecoredManage",component:()=>__vitePreload(()=>import("./records-CnW4CjLy.js"),__vite__mapDeps([31,7,1,30])),meta:{title:"佣金分销明细",icon:"ep:money"}},{path:"order",name:"SalesOrderManage",component:()=>__vitePreload(()=>import("./order-BFa8L6DT.js"),__vite__mapDeps([32,7,1,30,8])),meta:{title:"提现工单管理",icon:"mdi:order-bool-descending-variant"}}]};function Layout$7(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$8={path:"/user",component:Layout$7,redirect:"/user/dashboard",name:"userMenu",meta:{title:"访问管理",icon:"mdi:user-outline"},children:[{path:"register",name:"systemMenuRegister",component:()=>__vitePreload(()=>import("./register-CYjD1up6.js"),__vite__mapDeps([3,1,2,4])),meta:{title:"访问配置",icon:"hugeicons:access"}},{path:"email",name:"systemMenuEmail",component:()=>__vitePreload(()=>import("./email-_1Kpc4yH.js"),__vite__mapDeps([10,1,2])),meta:{title:"邮件登录配置",icon:"material-symbols:mail-outline"}},{path:"wechat",name:"systemMenuWechat",component:()=>__vitePreload(()=>import("./wechat-BkbWOIf6.js"),__vite__mapDeps([0,1,2])),meta:{title:"微信登录配置",icon:"la:weixin"}},{path:"ali-phone",name:"AliPhoneMenu",component:()=>__vitePreload(()=>import("./phone-CGUMJk5n.js"),__vite__mapDeps([5,1,2])),meta:{title:"短信登录配置",icon:"tabler:message"}}]};function Layout$6(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$7={path:"/app",component:Layout$6,redirect:"/app/classify",name:"AppMenu",meta:{title:"插件应用",icon:"tdesign:app"},children:[{path:"visible",name:"VisibleMenu",component:()=>__vitePreload(()=>import("./visible-K9fT7Dyr.js"),__vite__mapDeps([68,1,2])),meta:{title:"基础设置",icon:"tdesign:setting"}},{path:"pluginmenu",name:"PluginMenu",component:()=>__vitePreload(()=>import("./plugin-BFOtki6v.js"),__vite__mapDeps([69,7,1,8])),meta:{title:"插件列表",icon:"mingcute:plugin-2-line"}},{path:"classify",name:"AppMenuClassify",component:()=>__vitePreload(()=>import("./classify-CRtm6uvD.js"),__vite__mapDeps([71,7,1,51,9,8])),meta:{title:"分类列表",icon:"ph:list-fill"}},{path:"application",name:"Application",component:()=>__vitePreload(()=>import("./application-BvqlJIC2.js"),__vite__mapDeps([72,7,1,51,9,8])),meta:{title:"应用列表",icon:"clarity:vmw-app-line"}}]};function Layout$5(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$6={path:"/system",component:Layout$5,redirect:"/system/base",name:"systemMenu",meta:{title:"系统管理",icon:"tdesign:system-2"},children:[{path:"base-configuration",name:"ClientBaseConfig",component:()=>__vitePreload(()=>import("./baseConfiguration-DH4Ibd3L.js"),__vite__mapDeps([17,1,2])),meta:{title:"基础配置",icon:"uil:setting"}},{path:"menu",name:"ClientMenuConfig",component:()=>__vitePreload(()=>import("./menu-CuN26WL2.js"),__vite__mapDeps([15,1])),meta:{title:"动态菜单",icon:"gg:menu-grid-r"}},{path:"points",name:"PointsDisplay",component:()=>__vitePreload(()=>import("./points-D-WLryND.js"),__vite__mapDeps([44,1,2])),meta:{title:"显示设置",icon:"mdi:show-outline"}},{path:"notice",name:"systemMenuNotice",component:()=>__vitePreload(()=>import("./notice-DMe6HJCf.js").then(xe=>xe.w),__vite__mapDeps([13,1,2,14])),meta:{title:"公告设置",icon:"mdi:notice-board"}},{path:"baidu",name:"systemMenuBase",component:()=>__vitePreload(()=>import("./base-CufmkG0J.js"),__vite__mapDeps([18,1,2])),meta:{title:"统计设置",icon:"wpf:statistics"}}]};function Layout$4(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$5={path:"/ai",component:Layout$4,redirect:"/ai/chat-key-list",name:"AiMenu",meta:{title:"模型管理",icon:"hugeicons:ai-book"},children:[{path:"model",name:"AiMenuInterface",component:()=>__vitePreload(()=>import("./interface-D9t9C8J7.js"),__vite__mapDeps([58,1,2])),meta:{title:"全局配置",icon:"tabler:box-model"}},{path:"keys",name:"AiMenuKeys",component:()=>__vitePreload(()=>import("./key-CZ1ImD0H.js"),__vite__mapDeps([57,7,1,9,8])),meta:{title:"模型设置",icon:"ph:open-ai-logo-light"}}]};function Layout$3(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$4={path:"/others",component:Layout$3,name:"othersMenu",meta:{title:"其他设置",icon:"material-symbols:history"},children:[{path:"Midjourney",name:"Midjourney",component:()=>__vitePreload(()=>import("./proxy-D8FeVRV6.js"),__vite__mapDeps([52,7,2])),meta:{title:"MJ绘画设置",icon:"fluent:draw-image-20-regular"},children:[{path:"proxy",name:"mjProxyManage",component:()=>__vitePreload(()=>import("./proxy-D8FeVRV6.js"),__vite__mapDeps([52,7,2])),meta:{title:"绘画设置",icon:"fluent:draw-image-24-regular"}},{path:"midjourney",name:"MjMenuList",component:()=>__vitePreload(()=>import("./midjourney-C4S1NgSK.js"),__vite__mapDeps([63,7,61,8,64])),meta:{title:"绘画管理",icon:"mingcute:pic-line"}},{path:"mjdraw",name:"mjDrawManage",component:()=>__vitePreload(()=>import("./draw-DTXEmBi5.js"),__vite__mapDeps([60,7,61,54,9,8,25])),meta:{title:"绘图历史",icon:"material-symbols:history"}}]},{path:"prompts",name:"mjPromptsManage",component:()=>__vitePreload(()=>import("./prompts-m_Et1l2u.js"),__vite__mapDeps([53,7,54,55])),meta:{title:"提示词预设",icon:"mdi:tag-text-outline"},children:[]},{path:"mind",name:"systemMenuMind",component:()=>__vitePreload(()=>import("./mind-COFTHx0M.js"),__vite__mapDeps([56,7,2])),meta:{title:"思维导图",icon:"icon-park-outline:mindmap-map"}},{path:"systemapp-list",name:"systemAppList",component:()=>__vitePreload(()=>import("./systemapp-C2A6geA0.js"),__vite__mapDeps([50,7,51])),meta:{title:"系统应用",icon:"grommet-icons:system"}}]};function Layout$2(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$3={path:"/pay",component:Layout$2,redirect:"/pay/hupijiao",name:"PayMenu",meta:{title:"支付管理",icon:"mingcute:card-pay-line"},children:[{path:"wechat",name:"WechatConfig",component:()=>__vitePreload(()=>import("./wechat-Ckikji2h.js"),__vite__mapDeps([39,1,2])),meta:{title:"微信支付",icon:"ic:baseline-wechat"}},{path:"epay",name:"EpayConfig",component:()=>__vitePreload(()=>import("./epay-CxwnO4xc.js"),__vite__mapDeps([43,1,2])),meta:{title:"易支付",icon:"uiw:pay"}},{path:"mpay",name:"MpayConfig",component:()=>__vitePreload(()=>import("./mpay-DIbFMYy3.js"),__vite__mapDeps([40,1,2])),meta:{title:"码支付",icon:"ant-design:pay-circle-outlined"}},{path:"hupi",name:"HupioConfig",component:()=>__vitePreload(()=>import("./hupijiao-BE4XxZbP.js"),__vite__mapDeps([42,1,2])),meta:{title:"虎皮椒支付",icon:"token:pay"}},{path:"ltzf",name:"LtzfConfig",component:()=>__vitePreload(()=>import("./ltzf-DEkCmzhn.js"),__vite__mapDeps([41,1,2])),meta:{title:"蓝兔支付",icon:"ph:rabbit"}}]},routes$2={path:"/github",component:()=>__vitePreload(()=>import("./github-redirect-Du65IWeK.js"),[]),name:"ProjectAddressMenu",meta:{title:"开源地址",icon:"mdi:github"}};function Layout$1(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes$1={path:"/secure",component:Layout$1,redirect:"/secure/sensitive-baidu",name:"SecureMenu",meta:{title:"风控管理",icon:"ri:secure-payment-line"},children:[{path:"sensitive-violation",name:"SensitiveViolationLog",component:()=>__vitePreload(()=>import("./violation-DZDD8jUe.js"),__vite__mapDeps([22,7,1,23,9,24,8,25])),meta:{title:"违规检测记录",icon:"tabler:ban"}},{path:"sensitive-baidu",name:"SensitiveBaiduyun",component:()=>__vitePreload(()=>import("./baiduSensitive-z59IcEO-.js"),__vite__mapDeps([27,1,2])),meta:{title:"百度云敏感词",icon:"ri:baidu-line"}},{path:"sensitive-custom",name:"SensitiveCuston",component:()=>__vitePreload(()=>import("./custom-HDg7nfHW.js"),__vite__mapDeps([26,7,1,23,8])),meta:{title:"自定义敏感词",icon:"carbon:word-cloud"}}]};function Layout(){return __vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82]))}const routes={path:"/storage",component:Layout,redirect:"/storage/config",name:"StorageMenu",meta:{title:"存储配置",icon:"mingcute:storage-line"},children:[{path:"tencent",name:"StorageTencent",component:()=>__vitePreload(()=>import("./tencent-lJ3a0Qqq.js"),__vite__mapDeps([19,1,2])),meta:{title:"腾讯云COS",icon:"mingcute:storage-line"}},{path:"ali",name:"StorageAli",component:()=>__vitePreload(()=>import("./ali-6pjHUfm1.js"),__vite__mapDeps([21,1,2])),meta:{title:"阿里云OSS",icon:"material-symbols:home-storage-outline"}},{path:"chevereto",name:"StorageChevereto",component:()=>__vitePreload(()=>import("./chevereto-KDePOTPH.js"),__vite__mapDeps([20,1,2])),meta:{title:"chevereto图床",icon:"material-symbols:image-outline"}}]},constantRoutes=[{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./login-CbhshGNo.js"),[]),meta:{title:"登录"}},{path:"/:all(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./_...all_-BaYrHne_.js"),[]),meta:{title:"找不到页面"}}],systemRoutes=[{path:"/",component:()=>__vitePreload(()=>import("./index-Bu7AiT64.js"),__vite__mapDeps([136,91,92,93,94,95,96,80,78,97,81,98,99,100,37,101,102,107,108,117,110,111,112,79,118,132,119,120,127,128,121,85,86,88,122,129,133,116,104,105,134,7,135,89,90,84,137,82])),meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1},children:[{path:"",name:"home",component:Home,meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1}},{path:"reload",name:"reload",component:()=>__vitePreload(()=>import("./reload-Czf8LhHT.js"),[]),meta:{title:"重新加载",breadcrumb:!1}},{path:"setting",name:"personalSetting",component:()=>__vitePreload(()=>import("./setting-86cZ7V_6.js"),__vite__mapDeps([34,7,35])),meta:{title:"个人设置",cache:"personalEditPassword"}},{path:"edit/password",name:"personalEditPassword",component:()=>__vitePreload(()=>import("./edit.password-uLg52Hrl.js"),__vite__mapDeps([36,7,1,37,38])),meta:{title:"修改密码"}}]}],asyncRoutes=[{children:[routes$6,routes$8,routes$5,routes$b,routes$7,routes$1,routes,routes$a,routes$3,routes$9,routes$4,routes$2]}],constantRoutesByFilesystem=routes$c.filter(xe=>{var $e,Ie;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)===!0}),asyncRoutesByFilesystem=setupLayouts(routes$c.filter(xe=>{var $e,Ie,Fe;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)!==!0&&((Fe=xe.meta)==null?void 0:Fe.layout)!==!1}));function validateProjectAddressMenu(xe){if(!xe.find(Ue=>{var qe;return(qe=Ue.children)==null?void 0:qe.includes(routes$2)}))return!1;const Ie=routes$2.path,Fe=routes$2.component;return!(!Ie||typeof Ie!="string"||!Fe||typeof Fe!="function")}if(!validateProjectAddressMenu(asyncRoutes))throw document.body.innerHTML="

    ",new Error("");const useRouteStore=defineStore("route",()=>{const xe=useSettingsStore(),$e=ref(!1),Ie=ref([]),Fe=ref([]),Ue=ref([]);function qe(Cn){var Sn,xn,En,Tn;return Cn.children&&(Cn.children=At(Cn.children,[{path:Cn.path,title:(Sn=Cn.meta)==null?void 0:Sn.title,icon:(xn=Cn.meta)==null?void 0:xn.icon,hide:!((En=Cn.meta)!=null&&En.breadcrumb)&&((Tn=Cn.meta)==null?void 0:Tn.breadcrumb)===!1}],Cn.path)),Cn}function At(Cn,Sn=[],xn=""){const En=[];return Cn.forEach(Tn=>{var An,$n,Pn,Nn,Mn,In,On,Rn;if(Tn.children){const Bn=resolveRoutePath(xn,Tn.path),Vn=cloneDeep(Sn);Vn.push({path:Bn,title:(An=Tn.meta)==null?void 0:An.title,icon:($n=Tn.meta)==null?void 0:$n.icon,hide:!((Pn=Tn.meta)!=null&&Pn.breadcrumb)&&((Nn=Tn.meta)==null?void 0:Nn.breadcrumb)===!1});const Ln=cloneDeep(Tn);Ln.path=Bn,Ln.meta||(Ln.meta={}),Ln.meta.breadcrumbNeste=Vn,delete Ln.children,En.push(Ln),At(Tn.children,Vn,Bn).forEach(Hn=>{En.some(Fn=>Fn.path===Hn.path)?En.forEach((Fn,zn)=>{Fn.path===Hn.path&&(En[zn]=Hn)}):En.push(Hn)})}else{const Bn=cloneDeep(Tn);Bn.path=resolveRoutePath(xn,Bn.path);const Vn=cloneDeep(Sn);Vn.push({path:Bn.path,title:(Mn=Bn.meta)==null?void 0:Mn.title,icon:(In=Bn.meta)==null?void 0:In.icon,hide:!((On=Bn.meta)!=null&&On.breadcrumb)&&((Rn=Bn.meta)==null?void 0:Rn.breadcrumb)===!1}),Bn.meta||(Bn.meta={}),Bn.meta.breadcrumbNeste=Vn,En.push(Bn)}}),En}const Dt=computed(()=>{const Cn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Ie.value&&(Ie.value.forEach(Sn=>{const xn=cloneDeep(Sn.children);xn.map(En=>{var Tn,An;return En.meta||(En.meta={}),En.meta.auth=((Tn=Sn.meta)==null?void 0:Tn.auth)??((An=En.meta)==null?void 0:An.auth),En}),Cn.push(...xn)}),Cn.forEach(Sn=>qe(Sn))):Cn.push(...cloneDeep(Fe.value)),Cn}),Lt=computed(()=>{const Cn=[...systemRoutes];return Cn.forEach(Sn=>qe(Sn)),Cn});let jt=!1;function hn(Cn){return Cn.forEach(Sn=>{Sn.children=vn(Sn.children)}),jt&&console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性'),Cn}function vn(Cn){return Cn&&Cn.forEach(Sn=>{var xn;typeof((xn=Sn.meta)==null?void 0:xn.sidebar)=="boolean"&&(jt=!0,Sn.meta.menu=Sn.meta.sidebar,delete Sn.meta.sidebar),Sn.children&&vn(Sn.children)}),Cn}function bn(Cn){Ie.value=hn(cloneDeep(Cn)),$e.value=!0}function _n(Cn){Fe.value=cloneDeep(Cn),$e.value=!0}function wn(Cn){Ue.value=Cn}function kn(){$e.value=!1,Ie.value=[],Fe.value=[],Ue.value.forEach(Cn=>{Cn()}),Ue.value=[]}return{isGenerate:$e,routesRaw:Ie,currentRemoveRoutes:Ue,flatRoutes:Dt,flatSystemRoutes:Lt,generateRoutesAtFront:bn,generateRoutesAtFilesystem:_n,setCurrentRemoveRoutes:wn,removeRoutes:kn}}),useMenuStore=defineStore("menu",()=>{const xe=useSettingsStore(),$e=useUserStore$1(),Ie=useRouteStore(),Fe=ref([]),Ue=ref(0);function qe(Sn){const xn=[];return Sn.forEach(En=>{var Tn,An,$n;if(xe.settings.menu.menuMode==="single")xn.length===0&&xn.push({meta:{},children:[]}),xn[0].children.push(...At(En.children));else{const Pn={meta:{title:(Tn=En==null?void 0:En.meta)==null?void 0:Tn.title,icon:(An=En==null?void 0:En.meta)==null?void 0:An.icon,auth:($n=En==null?void 0:En.meta)==null?void 0:$n.auth},children:[]};Pn.children=At(En.children),xn.push(Pn)}}),xn}function At(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var $n,Pn,Nn,Mn,In,On;const An={path:resolveRoutePath(xn,Tn.path),meta:{title:($n=Tn==null?void 0:Tn.meta)==null?void 0:$n.title,icon:(Pn=Tn==null?void 0:Tn.meta)==null?void 0:Pn.icon,defaultOpened:(Nn=Tn==null?void 0:Tn.meta)==null?void 0:Nn.defaultOpened,auth:(Mn=Tn==null?void 0:Tn.meta)==null?void 0:Mn.auth,menu:(In=Tn==null?void 0:Tn.meta)==null?void 0:In.menu,link:(On=Tn==null?void 0:Tn.meta)==null?void 0:On.link}};Tn.children&&(An.children=At(Tn.children,An.path)),En.push(An)}),En}const Dt=computed(()=>{let Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Sn=qe(Ie.routesRaw):Sn=Fe.value,xe.settings.app.enablePermission&&(Sn=wn(Sn,$e.permissions)),Sn}),Lt=computed(()=>Dt.value.length>0?Dt.value.length>1?Dt.value[Ue.value].children:Dt.value[0].children:[]),jt=computed(()=>Lt.value.length>0?hn(Lt.value[0]):xe.settings.home.fullPath);function hn(Sn,xn=""){let En="";if(Sn.children){const Tn=Sn.children.find(An=>{var $n;return(($n=An.meta)==null?void 0:$n.menu)!==!1});Tn?En=hn(Tn,resolveRoutePath(xn,Sn.path)):En=hn(Sn.children[0],resolveRoutePath(xn,Sn.path))}else En=resolveRoutePath(xn,Sn.path);return En}const vn=computed(()=>{const Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"&&Dt.value.forEach(xn=>{Sn.push(...bn(xn.children))}),Sn});function bn(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var An;if((An=Tn.meta)!=null&&An.defaultOpened&&Tn.children){En.push(resolveRoutePath(xn,Tn.path));const $n=bn(Tn.children,resolveRoutePath(xn,Tn.path));$n.length>0&&En.push(...$n)}}),En}function _n(Sn,xn){var Tn;let En=!1;return(Tn=xn.meta)!=null&&Tn.auth?En=Sn.some(An=>{var $n,Pn;return typeof(($n=xn.meta)==null?void 0:$n.auth)=="string"?xn.meta.auth!==""?xn.meta.auth===An:!0:typeof((Pn=xn.meta)==null?void 0:Pn.auth)=="object"?xn.meta.auth.length>0?xn.meta.auth.includes(An):!0:!1}):En=!0,En}function wn(Sn,xn){const En=[];return Sn.forEach(Tn=>{if(_n(xn,Tn)){const An=cloneDeep(Tn);An.children&&An.children.length>0?(An.children=wn(An.children,xn),An.children.length>0&&En.push(An)):(delete An.children,En.push(An))}}),En}async function kn(){Fe.value=menu.filter(Sn=>Sn.children.length!==0)}function Cn(Sn){if(typeof Sn=="number")Ue.value=Sn;else{const xn=Dt.value.findIndex(En=>En.children.some(Tn=>Sn.indexOf(`${Tn.path}/`)===0||Sn===Tn.path));xn>=0&&(Ue.value=xn)}}return{actived:Ue,allMenus:Dt,sidebarMenus:Lt,sidebarMenusFirstDeepestPath:jt,defaultOpenedPaths:vn,generateMenusAtFront:kn,setActived:Cn}}),{isLoading}=useNProgress(),router=createRouter({history:createWebHashHistory("/admin/"),routes:useSettingsStore(pinia).settings.app.routeBaseOn==="filesystem"?constantRoutesByFilesystem:constantRoutes});router.beforeEach(async(xe,$e,Ie)=>{const Fe=useSettingsStore(),Ue=useUserStore$1(),qe=useRouteStore(),At=useMenuStore();if(Fe.settings.app.enableProgress&&(isLoading.value=!0),Ue.isLogin)if(qe.isGenerate)Fe.settings.menu.menuMode!=="single"&&At.setActived(xe.path),xe.name==="login"?Ie({path:Fe.settings.home.fullPath,replace:!0}):!Fe.settings.home.enable&&xe.fullPath===Fe.settings.home.fullPath&&At.sidebarMenus.length>0?Ie({path:At.sidebarMenusFirstDeepestPath,replace:!0}):Ie();else{switch(Fe.settings.app.enablePermission&&await Ue.getPermissions(),Fe.settings.app.routeBaseOn){case"frontend":qe.generateRoutesAtFront(asyncRoutes);break;case"filesystem":switch(qe.generateRoutesAtFilesystem(asyncRoutesByFilesystem),Fe.settings.menu.baseOn){case"frontend":At.generateMenusAtFront();break}break}const Dt=[];qe.flatRoutes.forEach(Lt=>{/^(?:https?:|mailto:|tel:)/.test(Lt.path)||Dt.push(router.addRoute(Lt))}),Fe.settings.app.routeBaseOn!=="filesystem"&&qe.flatSystemRoutes.forEach(Lt=>{Dt.push(router.addRoute(Lt))}),qe.setCurrentRemoveRoutes(Dt),Ie({path:xe.path,query:xe.query,replace:!0})}else xe.name!=="login"?Ie({name:"login",query:{redirect:xe.fullPath!==Fe.settings.home.fullPath?xe.fullPath:void 0}}):Ie()});router.afterEach((xe,$e)=>{var Ue,qe,At,Dt,Lt,jt;const Ie=useSettingsStore(),Fe=useKeepAliveStore();if(Ie.settings.app.enableProgress&&(isLoading.value=!1),Ie.settings.app.routeBaseOn!=="filesystem"?Ie.setTitle(((qe=(Ue=xe.meta.breadcrumbNeste)==null?void 0:Ue.at(-1))==null?void 0:qe.title)??xe.meta.title):Ie.setTitle(xe.meta.title),xe.meta.cache){const hn=(Dt=(At=xe.matched.at(-1))==null?void 0:At.components)==null?void 0:Dt.default.name;hn?Fe.add(hn):console.warn("[Fantastic-admin] 该页面组件未设置组件名,会导致缓存失效,请检查")}if($e.meta.cache){const hn=(jt=(Lt=$e.matched.at(-1))==null?void 0:Lt.components)==null?void 0:jt.default.name;if(hn){switch(typeof $e.meta.cache){case"string":$e.meta.cache!==xe.name&&Fe.remove(hn);break;case"object":$e.meta.cache.includes(xe.name)||Fe.remove(hn);break}if($e.meta.noCache)switch(typeof $e.meta.noCache){case"string":$e.meta.noCache===xe.name&&Fe.remove(hn);break;case"object":$e.meta.noCache.includes(xe.name)&&Fe.remove(hn);break}xe.name==="reload"&&Fe.remove(hn)}}document.documentElement.scrollTop=0});const api=axios.create({baseURL:"/api",timeout:1e3*60,responseType:"json"});api.interceptors.request.use(xe=>{const $e=useUserStore$1();return $e.isLogin&&xe.headers&&(xe.headers.Authorization=$e.token?`Bearer ${$e.token}`:""),xe.method,xe});api.interceptors.response.use(xe=>Promise.resolve(xe.data),xe=>{let $e="";if(xe!=null&&xe.response){const{data:Ie,status:Fe}=xe.response;Fe===401&&($e="权限验证失败,请重新登录",Ie.code===401&&Ie.message.includes("请登录后继续操作")&&useUserStore$1().logout().then(()=>{router.push({name:"login"})}));const{message:Ue,code:qe}=Ie;Ue&&($e=Ue)}else $e="接口请求异常,请稍后再试";return ElMessage({message:$e,type:"error"}),Promise.reject(xe)});const ApiUsre={login:xe=>api.post("auth/login",xe),permission:()=>api.get("auth/getInfo"),getInfo:()=>api.get("auth/getInfo"),queryAllUser:xe=>api.get("user/queryAll",{params:xe}),updateUserStatus:xe=>api.post("user/updateStatus",xe),resetUserPassword:xe=>api.post("user/resetUserPass",xe),sendUserCrami:xe=>api.post("user/recharge",xe),passwordEdit:xe=>api.post("auth/updatePassword",xe)},useUserStore=defineStore("user",()=>{const xe=useRouteStore(),$e=useMenuStore(),Ie=ref(""),Fe=ref(localStorage.username??""),Ue=ref(localStorage.token??""),qe=ref(localStorage.failure_time??""),At=ref([]),Dt=computed(()=>Ue.value);async function Lt(_n){const wn=await ApiUsre.login(_n);localStorage.setItem("token",wn.data),Ue.value=wn.data,await hn()}async function jt(){localStorage.removeItem("username"),localStorage.removeItem("token"),localStorage.removeItem("failure_time"),Fe.value="",Ue.value="",qe.value="",xe.removeRoutes(),$e.setActived(0),router.push({name:"login"})}async function hn(){const _n=await ApiUsre.getInfo(),{userInfo:wn}=_n.data;localStorage.setItem("username",wn.username);const{role:kn}=wn;Fe.value=wn.username,Ie.value=wn.avatar,["admin","super"].includes(kn)||(ElMessage.error("您没有权限访问该系统!!!"),await jt())}async function vn(){const _n=await ApiUsre.permission(),{userInfo:wn}=_n.data,{username:kn}=wn;return localStorage.setItem("username",kn),Fe.value=kn,At.value=["permission.browse","permission.create","permission.edit","permission.remove"],At.value}async function bn(_n){await ApiUsre.passwordEdit(_n)}return{username:Fe,token:Ue,permissions:At,isLogin:Dt,avatar:Ie,login:Lt,logout:jt,getInfo:hn,getPermissions:vn,editPassword:bn}}),useUserStore$1=useUserStore;function useAuth(){function xe(Fe){const Ue=useSettingsStore(),qe=useUserStore$1();return Ue.settings.app.enablePermission?qe.permissions.includes(Fe):!0}function $e(Fe){let Ue;return typeof Fe=="string"?Ue=Fe!==""?xe(Fe):!0:Ue=Fe.length>0?Fe.some(qe=>xe(qe)):!0,Ue}function Ie(Fe){return Fe.length>0?Fe.every(Ue=>xe(Ue)):!0}return{auth:$e,authAll:Ie}}const _sfc_main=defineComponent({__name:"App",setup(xe){const $e=useRoute(),Ie=useSettingsStore(),{auth:Fe}=useAuth(),Ue=computed(()=>$e.matched.every(Dt=>Fe(Dt.meta.auth??""))),qe=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-main-sidebar-width"));return(Ie.settings.menu.menuMode==="single"||Ie.settings.menu.menuMode==="head"&&Ie.mode!=="mobile")&&(Dt=0),`${Dt}px`}),At=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-width"));return Ie.settings.menu.subMenuCollapse&&Ie.mode!=="mobile"&&(Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-collapse-width"))),`${Dt}px`});return watch([()=>Ie.settings.app.enableDynamicTitle,()=>Ie.title],()=>{if(Ie.settings.app.enableDynamicTitle&&Ie.title){const Dt=typeof Ie.title=="function"?Ie.title():Ie.title;document.title=`${Dt} - AIWeb`}else document.title="AIWeb"},{immediate:!0,deep:!0}),onMounted(()=>{Ie.setMode(document.documentElement.clientWidth),window.addEventListener("resize",()=>{Ie.setMode(document.documentElement.clientWidth)}),hotkeys("alt+i",()=>{eventBus.emit("global-system-info-toggle")})}),(Dt,Lt)=>{const jt=_sfc_main$2u,hn=resolveComponent("RouterView"),vn=_sfc_main$2w;return openBlock(),createBlock(_sfc_main$2t,null,{default:withCtx(()=>[createVNode$1(hn,{style:normalizeStyle$1({"--g-main-sidebar-actual-width":unref(qe),"--g-sub-sidebar-actual-width":unref(At)})},{default:withCtx(({Component:bn})=>[unref(Ue)?(openBlock(),createBlock(resolveDynamicComponent(bn),{key:0})):(openBlock(),createBlock(jt,{key:1}))]),_:1},8,["style"]),createVNode$1(vn)]),_:1})}}});function install(xe){xe.use(installer)}const ui={install};function directive(xe){xe.directive("auth",{mounted:($e,Ie)=>{useAuth().auth(Ie.value)||$e.remove()}}),xe.directive("auth-all",{mounted:($e,Ie)=>{useAuth().authAll(Ie.value)||$e.remove()}})}if(typeof window<"u"){let xe=function(){var $e=document.body,Ie=document.getElementById("__svg__icons__dom__");Ie||(Ie=document.createElementNS("http://www.w3.org/2000/svg","svg"),Ie.style.position="absolute",Ie.style.width="0",Ie.style.height="0",Ie.id="__svg__icons__dom__",Ie.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ie.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),Ie.innerHTML='',$e.insertBefore(Ie,$e.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",xe):xe()}const data=[{prefix:"ant-design",info:{name:"Ant Design Icons",total:789,version:"4.3.1",author:{name:"HeskeyBaozi",url:"https://github.com/ant-design/ant-design-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/ant-design/ant-design-icons/blob/master/LICENSE"},samples:["pushpin-filled","pie-chart-outlined","shopping-twotone"],height:16,category:"General",palette:!1},icons:["account-book-filled","account-book-outlined","account-book-twotone","aim-outlined","alert-filled","alert-outlined","alert-twotone","alibaba-outlined","align-center-outlined","align-left-outlined","align-right-outlined","alipay-circle-filled","alipay-circle-outlined","alipay-outlined","alipay-square-filled","aliwangwang-filled","aliwangwang-outlined","aliyun-outlined","amazon-circle-filled","amazon-outlined","amazon-square-filled","android-filled","android-outlined","ant-cloud-outlined","ant-design-outlined","apartment-outlined","api-filled","api-outlined","api-twotone","apple-filled","apple-outlined","appstore-add-outlined","appstore-filled","appstore-outlined","appstore-twotone","area-chart-outlined","arrow-down-outlined","arrow-left-outlined","arrow-right-outlined","arrow-up-outlined","arrows-alt-outlined","audio-filled","audio-muted-outlined","audio-outlined","audio-twotone","audit-outlined","backward-filled","backward-outlined","bank-filled","bank-outlined","bank-twotone","bar-chart-outlined","barcode-outlined","bars-outlined","behance-circle-filled","behance-outlined","behance-square-filled","behance-square-outlined","bell-filled","bell-outlined","bell-twotone","bg-colors-outlined","block-outlined","bold-outlined","book-filled","book-outlined","book-twotone","border-bottom-outlined","border-horizontal-outlined","border-inner-outlined","border-left-outlined","border-outer-outlined","border-outlined","border-right-outlined","border-top-outlined","border-verticle-outlined","borderless-table-outlined","box-plot-filled","box-plot-outlined","box-plot-twotone","branches-outlined","bug-filled","bug-outlined","bug-twotone","build-filled","build-outlined","build-twotone","bulb-filled","bulb-outlined","bulb-twotone","calculator-filled","calculator-outlined","calculator-twotone","calendar-filled","calendar-outlined","calendar-twotone","camera-filled","camera-outlined","camera-twotone","car-filled","car-outlined","car-twotone","caret-down-filled","caret-down-outlined","caret-left-filled","caret-left-outlined","caret-right-filled","caret-right-outlined","caret-up-filled","caret-up-outlined","carry-out-filled","carry-out-outlined","carry-out-twotone","check-circle-filled","check-circle-outlined","check-circle-twotone","check-outlined","check-square-filled","check-square-outlined","check-square-twotone","chrome-filled","chrome-outlined","ci-circle-filled","ci-circle-outlined","ci-circle-twotone","ci-outlined","ci-twotone","clear-outlined","clock-circle-filled","clock-circle-outlined","clock-circle-twotone","close-circle-filled","close-circle-outlined","close-circle-twotone","close-outlined","close-square-filled","close-square-outlined","close-square-twotone","cloud-download-outlined","cloud-filled","cloud-outlined","cloud-server-outlined","cloud-sync-outlined","cloud-twotone","cloud-upload-outlined","cluster-outlined","code-filled","code-outlined","code-sandbox-circle-filled","code-sandbox-outlined","code-sandbox-square-filled","code-twotone","codepen-circle-filled","codepen-circle-outlined","codepen-outlined","codepen-square-filled","coffee-outlined","column-height-outlined","column-width-outlined","comment-outlined","compass-filled","compass-outlined","compass-twotone","compress-outlined","console-sql-outlined","contacts-filled","contacts-outlined","contacts-twotone","container-filled","container-outlined","container-twotone","control-filled","control-outlined","control-twotone","copy-filled","copy-outlined","copy-twotone","copyright-circle-filled","copyright-circle-outlined","copyright-circle-twotone","copyright-outlined","copyright-twotone","credit-card-filled","credit-card-outlined","credit-card-twotone","crown-filled","crown-outlined","crown-twotone","customer-service-filled","customer-service-outlined","customer-service-twotone","dash-outlined","dashboard-filled","dashboard-outlined","dashboard-twotone","database-filled","database-outlined","database-twotone","delete-column-outlined","delete-filled","delete-outlined","delete-row-outlined","delete-twotone","delivered-procedure-outlined","deployment-unit-outlined","desktop-outlined","diff-filled","diff-outlined","diff-twotone","dingding-outlined","dingtalk-circle-filled","dingtalk-outlined","dingtalk-square-filled","disconnect-outlined","dislike-filled","dislike-outlined","dislike-twotone","dollar-circle-filled","dollar-circle-outlined","dollar-circle-twotone","dollar-outlined","dollar-twotone","dot-chart-outlined","double-left-outlined","double-right-outlined","down-circle-filled","down-circle-outlined","down-circle-twotone","down-outlined","down-square-filled","down-square-outlined","down-square-twotone","download-outlined","drag-outlined","dribbble-circle-filled","dribbble-outlined","dribbble-square-filled","dribbble-square-outlined","dropbox-circle-filled","dropbox-outlined","dropbox-square-filled","edit-filled","edit-outlined","edit-twotone","ellipsis-outlined","enter-outlined","environment-filled","environment-outlined","environment-twotone","euro-circle-filled","euro-circle-outlined","euro-circle-twotone","euro-outlined","euro-twotone","exception-outlined","exclamation-circle-filled","exclamation-circle-outlined","exclamation-circle-twotone","exclamation-outlined","expand-alt-outlined","expand-outlined","experiment-filled","experiment-outlined","experiment-twotone","export-outlined","eye-filled","eye-invisible-filled","eye-invisible-outlined","eye-invisible-twotone","eye-outlined","eye-twotone","facebook-filled","facebook-outlined","fall-outlined","fast-backward-filled","fast-backward-outlined","fast-forward-filled","fast-forward-outlined","field-binary-outlined","field-number-outlined","field-string-outlined","field-time-outlined","file-add-filled","file-add-outlined","file-add-twotone","file-done-outlined","file-excel-filled","file-excel-outlined","file-excel-twotone","file-exclamation-filled","file-exclamation-outlined","file-exclamation-twotone","file-filled","file-gif-outlined","file-image-filled","file-image-outlined","file-image-twotone","file-jpg-outlined","file-markdown-filled","file-markdown-outlined","file-markdown-twotone","file-outlined","file-pdf-filled","file-pdf-outlined","file-pdf-twotone","file-ppt-filled","file-ppt-outlined","file-ppt-twotone","file-protect-outlined","file-search-outlined","file-sync-outlined","file-text-filled","file-text-outlined","file-text-twotone","file-twotone","file-unknown-filled","file-unknown-outlined","file-unknown-twotone","file-word-filled","file-word-outlined","file-word-twotone","file-zip-filled","file-zip-outlined","file-zip-twotone","filter-filled","filter-outlined","filter-twotone","fire-filled","fire-outlined","fire-twotone","flag-filled","flag-outlined","flag-twotone","folder-add-filled","folder-add-outlined","folder-add-twotone","folder-filled","folder-open-filled","folder-open-outlined","folder-open-twotone","folder-outlined","folder-twotone","folder-view-outlined","font-colors-outlined","font-size-outlined","fork-outlined","form-outlined","format-painter-filled","format-painter-outlined","forward-filled","forward-outlined","frown-filled","frown-outlined","frown-twotone","fullscreen-exit-outlined","fullscreen-outlined","function-outlined","fund-filled","fund-outlined","fund-projection-screen-outlined","fund-twotone","fund-view-outlined","funnel-plot-filled","funnel-plot-outlined","funnel-plot-twotone","gateway-outlined","gif-outlined","gift-filled","gift-outlined","gift-twotone","github-filled","github-outlined","gitlab-filled","gitlab-outlined","global-outlined","gold-filled","gold-outlined","gold-twotone","golden-filled","google-circle-filled","google-outlined","google-plus-circle-filled","google-plus-outlined","google-plus-square-filled","google-square-filled","group-outlined","hdd-filled","hdd-outlined","hdd-twotone","heart-filled","heart-outlined","heart-twotone","heat-map-outlined","highlight-filled","highlight-outlined","highlight-twotone","history-outlined","holder-outlined","home-filled","home-outlined","home-twotone","hourglass-filled","hourglass-outlined","hourglass-twotone","html5-filled","html5-outlined","html5-twotone","idcard-filled","idcard-outlined","idcard-twotone","ie-circle-filled","ie-outlined","ie-square-filled","import-outlined","inbox-outlined","info-circle-filled","info-circle-outlined","info-circle-twotone","info-outlined","insert-row-above-outlined","insert-row-below-outlined","insert-row-left-outlined","insert-row-right-outlined","instagram-filled","instagram-outlined","insurance-filled","insurance-outlined","insurance-twotone","interaction-filled","interaction-outlined","interaction-twotone","issues-close-outlined","italic-outlined","key-outlined","laptop-outlined","layout-filled","layout-outlined","layout-twotone","left-circle-filled","left-circle-outlined","left-circle-twotone","left-outlined","left-square-filled","left-square-outlined","left-square-twotone","like-filled","like-outlined","like-twotone","line-chart-outlined","line-height-outlined","line-outlined","link-outlined","linkedin-filled","linkedin-outlined","loading-3-quarters-outlined","loading-outlined","lock-filled","lock-outlined","lock-twotone","login-outlined","logout-outlined","mac-command-filled","mac-command-outlined","mail-filled","mail-outlined","mail-twotone","man-outlined","medicine-box-filled","medicine-box-outlined","medicine-box-twotone","medium-circle-filled","medium-outlined","medium-square-filled","medium-workmark-outlined","meh-filled","meh-outlined","meh-twotone","menu-fold-outlined","menu-outlined","menu-unfold-outlined","merge-cells-outlined","message-filled","message-outlined","message-twotone","minus-circle-filled","minus-circle-outlined","minus-circle-twotone","minus-outlined","minus-square-filled","minus-square-outlined","minus-square-twotone","mobile-filled","mobile-outlined","mobile-twotone","money-collect-filled","money-collect-outlined","money-collect-twotone","monitor-outlined","more-outlined","node-collapse-outlined","node-expand-outlined","node-index-outlined","notification-filled","notification-outlined","notification-twotone","number-outlined","one-to-one-outlined","ordered-list-outlined","paper-clip-outlined","partition-outlined","pause-circle-filled","pause-circle-outlined","pause-circle-twotone","pause-outlined","pay-circle-filled","pay-circle-outlined","percentage-outlined","phone-filled","phone-outlined","phone-twotone","pic-center-outlined","pic-left-outlined","pic-right-outlined","picture-filled","picture-outlined","picture-twotone","pie-chart-filled","pie-chart-outlined","pie-chart-twotone","play-circle-filled","play-circle-outlined","play-circle-twotone","play-square-filled","play-square-outlined","play-square-twotone","plus-circle-filled","plus-circle-outlined","plus-circle-twotone","plus-outlined","plus-square-filled","plus-square-outlined","plus-square-twotone","pound-circle-filled","pound-circle-outlined","pound-circle-twotone","pound-outlined","poweroff-outlined","printer-filled","printer-outlined","printer-twotone","profile-filled","profile-outlined","profile-twotone","project-filled","project-outlined","project-twotone","property-safety-filled","property-safety-outlined","property-safety-twotone","pull-request-outlined","pushpin-filled","pushpin-outlined","pushpin-twotone","qq-circle-filled","qq-outlined","qq-square-filled","qrcode-outlined","question-circle-filled","question-circle-outlined","question-circle-twotone","question-outlined","radar-chart-outlined","radius-bottomleft-outlined","radius-bottomright-outlined","radius-setting-outlined","radius-upleft-outlined","radius-upright-outlined","read-filled","read-outlined","reconciliation-filled","reconciliation-outlined","reconciliation-twotone","red-envelope-filled","red-envelope-outlined","red-envelope-twotone","reddit-circle-filled","reddit-outlined","reddit-square-filled","redo-outlined","reload-outlined","rest-filled","rest-outlined","rest-twotone","retweet-outlined","right-circle-filled","right-circle-outlined","right-circle-twotone","right-outlined","right-square-filled","right-square-outlined","right-square-twotone","rise-outlined","robot-filled","robot-outlined","rocket-filled","rocket-outlined","rocket-twotone","rollback-outlined","rotate-left-outlined","rotate-right-outlined","safety-certificate-filled","safety-certificate-outlined","safety-certificate-twotone","safety-outlined","save-filled","save-outlined","save-twotone","scan-outlined","schedule-filled","schedule-outlined","schedule-twotone","scissor-outlined","search-outlined","security-scan-filled","security-scan-outlined","security-scan-twotone","select-outlined","send-outlined","setting-filled","setting-outlined","setting-twotone","shake-outlined","share-alt-outlined","shop-filled","shop-outlined","shop-twotone","shopping-cart-outlined","shopping-filled","shopping-outlined","shopping-twotone","shrink-outlined","signal-filled","sisternode-outlined","sketch-circle-filled","sketch-outlined","sketch-square-filled","skin-filled","skin-outlined","skin-twotone","skype-filled","skype-outlined","slack-circle-filled","slack-outlined","slack-square-filled","slack-square-outlined","sliders-filled","sliders-outlined","sliders-twotone","small-dash-outlined","smile-filled","smile-outlined","smile-twotone","snippets-filled","snippets-outlined","snippets-twotone","solution-outlined","sort-ascending-outlined","sort-descending-outlined","sound-filled","sound-outlined","sound-twotone","split-cells-outlined","star-filled","star-outlined","star-twotone","step-backward-filled","step-backward-outlined","step-forward-filled","step-forward-outlined","stock-outlined","stop-filled","stop-outlined","stop-twotone","strikethrough-outlined","subnode-outlined","swap-left-outlined","swap-outlined","swap-right-outlined","switcher-filled","switcher-outlined","switcher-twotone","sync-outlined","table-outlined","tablet-filled","tablet-outlined","tablet-twotone","tag-filled","tag-outlined","tag-twotone","tags-filled","tags-outlined","tags-twotone","taobao-circle-filled","taobao-circle-outlined","taobao-outlined","taobao-square-filled","team-outlined","thunderbolt-filled","thunderbolt-outlined","thunderbolt-twotone","to-top-outlined","tool-filled","tool-outlined","tool-twotone","trademark-circle-filled","trademark-circle-outlined","trademark-circle-twotone","trademark-outlined","transaction-outlined","translation-outlined","trophy-filled","trophy-outlined","trophy-twotone","twitter-circle-filled","twitter-outlined","twitter-square-filled","underline-outlined","undo-outlined","ungroup-outlined","unlock-filled","unlock-outlined","unlock-twotone","unordered-list-outlined","up-circle-filled","up-circle-outlined","up-circle-twotone","up-outlined","up-square-filled","up-square-outlined","up-square-twotone","upload-outlined","usb-filled","usb-outlined","usb-twotone","user-add-outlined","user-delete-outlined","user-outlined","user-switch-outlined","usergroup-add-outlined","usergroup-delete-outlined","verified-outlined","vertical-align-bottom-outlined","vertical-align-middle-outlined","vertical-align-top-outlined","vertical-left-outlined","vertical-right-outlined","video-camera-add-outlined","video-camera-filled","video-camera-outlined","video-camera-twotone","wallet-filled","wallet-outlined","wallet-twotone","warning-filled","warning-outlined","warning-twotone","wechat-filled","wechat-outlined","weibo-circle-filled","weibo-circle-outlined","weibo-outlined","weibo-square-filled","weibo-square-outlined","whats-app-outlined","wifi-outlined","windows-filled","windows-outlined","woman-outlined","yahoo-filled","yahoo-outlined","youtube-filled","youtube-outlined","yuque-filled","yuque-outlined","zhihu-circle-filled","zhihu-outlined","zhihu-square-filled","zoom-in-outlined","zoom-out-outlined"]},{prefix:"ep",info:{name:"Element Plus",total:293,version:"2.3.1",author:{name:"Element Plus",url:"https://github.com/element-plus/element-plus-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/element-plus/element-plus-icons/blob/main/packages/svg/package.json"},samples:["home-filled","partly-cloudy","avatar"],height:32,displayHeight:16,category:"General",palette:!1},icons:["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","chrome-filled","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","element-plus","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","gold-medal","goods","goods-filled","grape","grid","guide","handbag","headset","help","help-filled","hide","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","memo","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","quartz-watch","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","shopping-trolley","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","suitcase-line","sunny","sunrise","sunset","switch","switch-button","switch-filled","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","trophy-base","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warn-triangle-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"]},{prefix:"flagpack",info:{name:"Flagpack",total:255,version:"2.0.0",author:{name:"Yummygum",url:"https://github.com/Yummygum/flagpack-core"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/Yummygum/flagpack-core/blob/main/LICENSE"},samples:["ci","gb-ukm","wf"],height:24,category:"Maps / Flags",palette:!0},icons:["ad","ae","af","ag","ai","al","am","ao","aq","ar","as","at","au","aw","ax","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bl","bm","bn","bo","bq-bo","bq-sa","bq-se","br","bs","bt","bv","bw","by","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cu","cv","cw","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","eh","er","es","et","fi","fj","fk","fm","fo","fr","ga","gb","gb-eng","gb-nir","gb-sct","gb-ukm","gb-wls","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gw","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","iq","ir","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kp","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","me","mf","mg","mh","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pr","ps","pt","pw","py","qa","re","ro","rs","ru","rw","sa","sb","sc","sd","se","sg","sh","si","sj","sk","sl","sm","sn","so","sr","ss","st","sv","sx","sy","sz","tc","td","tf","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tw","tz","ua","ug","um","us","uy","uz","va","vc","ve","vg","vi","vn","vu","wf","ws","ye","yt","za","zm","zw"]},{prefix:"icon-park",info:{name:"IconPark",total:2658,version:"1.4.2",author:{name:"ByteDance",url:"https://github.com/bytedance/IconPark"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/bytedance/IconPark/blob/master/LICENSE"},samples:["add-one","english-mustache","basketball-clothes"],height:24,category:"General",palette:!0},icons:["a-cane","abdominal","abnormal","acceleration","accept-email","acoustic","activity-source","ad","ad-product","add","add-computer","add-four","add-item","add-mode","add-music","add-one","add-pic","add-picture","add-print","add-subset","add-subtract","add-text","add-text-two","add-three","add-two","add-user","add-web","address-book","adjacent-item","adjustment","adobe-illustrate","adobe-indesign","adobe-lightroom","adobe-photoshop","afferent","afferent-four","afferent-three","afferent-two","afro-pick","agreement","aiming","air-bike","air-conditioning","airplane","airplane-window","airplane-window-one","airplay","airpods","alarm","alarm-clock","align-bottom","align-bottom-two","align-horizontal-center-two","align-horizontally","align-left","align-left-one","align-left-two","align-right","align-right-one","align-right-two","align-text-both","align-text-both-one","align-text-bottom","align-text-bottom-one","align-text-center","align-text-center-one","align-text-left","align-text-left-one","align-text-middle","align-text-middle-one","align-text-right","align-text-right-one","align-text-top","align-text-top-one","align-top","align-top-two","align-vertical-center-two","align-vertically","alignment-bottom-center","alignment-bottom-left","alignment-bottom-right","alignment-horizontal-bottom","alignment-horizontal-center","alignment-horizontal-top","alignment-left-bottom","alignment-left-center","alignment-left-top","alignment-right-bottom","alignment-right-center","alignment-right-top","alignment-top-center","alignment-top-left","alignment-top-right","alignment-vertical-center","alignment-vertical-left","alignment-vertical-right","alipay","all-application","alphabetical-sorting","alphabetical-sorting-two","ambulance","analysis","anchor","anchor-one","anchor-round","anchor-squre","anchor-two","android","angry-face","anguished-face","announcement","anti-corrosion","aperture-priority","api","api-app","app-store","app-switch","apple","apple-one","applet-closed","application","application-effect","application-menu","application-one","application-two","appointment","aquarius","arc-de-triomphe","archers-bow","archery","area-map","arena","aries","arithmetic","arithmetic-buttons","arithmetic-one","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-keys","arrow-left","arrow-left-down","arrow-left-up","arrow-right","arrow-right-down","arrow-right-up","arrow-up","assembly-line","association","asterisk","asterisk-key","astonished-face","at-sign","attention","audio-file","audit","auto-focus","auto-height-one","auto-line-height","auto-line-width","auto-width","auto-width-one","avatar","average","aviation","avocado","avocado-one","baby","baby-app","baby-bottle","baby-car-seat","baby-feet","baby-meal","baby-mobile","baby-one","baby-pants","baby-sling","baby-taste","bachelor-cap","bachelor-cap-one","bachelor-cap-two","back","back-one","background-color","backpack","bad","bad-one","bad-two","badge","badge-two","badminton","baggage-delay","balance","balance-one","balance-two","banana","bank","bank-card","bank-card-one","bank-card-two","bank-transfer","baokemeng","bar-code","barbecue","barber-brush","barber-clippers","baseball","baseball-bat","baseball-cap","basketball","basketball-clothes","basketball-one","basketball-stand","bat","battery-charge","battery-empty","battery-failure","battery-full","battery-storage","battery-tips","battery-working","battery-working-one","beach-umbrella","bear","beauty","beauty-instrument","bedside","bedside-two","bee","beer","beer-mug","behance","bell-ring","belt","benz","bezier-curve","bib","big-clock","big-x","bike","bill","bird","birthday-cake","bitcoin","black-eight","blackboard","blade","bless","block","block-eight","block-five","block-four","block-nine","block-one","block-seven","block-six","block-ten","block-three","block-two","blockchain","blocks-and-arrows","bloom","blossom","bluetooth","boiler","bolt-one","bone","book","book-one","book-open","bookmark","bookmark-one","bookmark-three","bookshelf","booster-car-seat","booth","boots","bottle","bottle-one","bottle-three","bottle-two","bottom-bar","bottom-bar-one","bow","bowl","bowl-one","bowling","box","boxing","boxing-one","boy","boy-one","boy-stroller","boy-two","brain","brake-pads","branch","branch-one","branch-two","brdige-three","bread","bread-machine","bread-one","breast-pump","bridge-one","bridge-two","briefcase","brightness","bring-forward","bring-to-front","bring-to-front-one","broadcast","broadcast-one","broadcast-radio","browser","browser-chrome","browser-safari","bubble-chart","bug","building-four","building-one","building-three","building-two","bullet-map","bus","bus-one","bus-two","butterfly","buy","bydesign","bye","bytedance","bytedance-applets","bytedance-mini-app","cable-car","cactus","cake","cake-five","cake-four","cake-one","cake-three","cake-two","calculator","calculator-one","calendar","calendar-dot","calendar-thirty","calendar-thirty-two","calendar-three","camera","camera-five","camera-four","camera-one","camera-three","camera-two","camp","cancer","candy","canned-fruit","capricornus","car","car-battery","card-two","cardioelectric","carousel","carousel-video","carrot","cast-screen","castle","cat","category-management","cattle","cattle-zodiac","caution","cc","cd","ce-marking","cell","center-alignment","certificate","chafing-dish","chafing-dish-one","chair","chair-one","change","change-date-sort","charging-treasure","chart-graph","chart-histogram","chart-histogram-one","chart-histogram-two","chart-line","chart-line-area","chart-pie","chart-pie-one","chart-proportion","chart-ring","chart-scatter","chart-stock","check","check-correct","check-in","check-one","check-small","checkbox","checkerboard","checklist","cheese","chef-hat","chef-hat-one","cherry","chess","chess-one","chest","chicken","chicken-leg","chicken-zodiac","child-with-pacifier","children-cap","children-pyramid","chili","chimney","chinese","chinese-one","chinese-pavilion","chip","chopping-board","chopsticks-fork","christmas-tree","christmas-tree-one","church-one","church-two","circle-double-down","circle-double-left","circle-double-right","circle-double-up","circle-five-line","circle-four","circle-four-line","circle-house","circle-left-down","circle-left-up","circle-right-down","circle-right-up","circle-three","circle-two-line","circles-and-triangles","circles-seven","circular-connection","circus","city","city-gate","city-one","clap","classroom","clear","clear-format","click","click-tap","click-tap-two","click-to-fold","clipboard","clock-tower","close","close-one","close-remind","close-small","close-wifi","clothes-briefs","clothes-cardigan","clothes-crew-neck","clothes-diapers","clothes-gloves","clothes-gloves-two","clothes-hoodie","clothes-pants","clothes-pants-short","clothes-pants-sweat","clothes-short-sleeve","clothes-skates","clothes-suit","clothes-sweater","clothes-turtleneck","clothes-windbreaker","cloud-storage","cloudy","cloudy-night","clue","coat-hanger","cocktail","coconut-tree","code","code-brackets","code-computer","code-download","code-laptop","code-one","coffee-machine","cola","collapse-text-input","collect-computer","collect-laptop","collect-picture","collection-files","collection-records","color-card","color-filter","column","comb","come","command","comment","comment-one","comments","commodity","communication","commuter-bag","compass","compass-one","components","composition","compression","computer","computer-one","concept-sharing","concern","conditioner","cone","cones","config","confounded-face","confused-face","connect","connect-address-one","connect-address-two","connection","connection-arrow","connection-box","connection-point","connection-point-two","consignment","consume","contrast","contrast-view","contrast-view-circle","control","converging-gateway","cook","cooking","cooking-pot","cool","cooperative-handshake","coordinate-system","copy","copy-link","copy-one","copyright","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","coronavirus","correct","cosmetic-brush","coupon","court","cpu","crab","creation-date-sort","creative","credit","crib","croissant","cross-ring","cross-ring-two","cross-society","crown","crown-three","crown-two","cruise","crying-baby","cube","cube-five","cube-four","cube-three","cube-two","cup","cup-four","cup-one","curling","currency","curve-adjustment","customer","cutting","cutting-one","cuvette","cycle","cycle-arrow","cycle-movement","cycle-one","cylinder","damage-map","dark-mode","dashboard","dashboard-car","dashboard-one","dashboard-two","data","data-all","data-arrival","data-display","data-file","data-four","data-lock","data-null","data-one","data-screen","data-server","data-sheet","data-switching","data-three","data-two","data-user","database-alert","database-code","database-config","database-download","database-enter","database-fail","database-first","database-forbid","database-lock","database-network","database-network-point","database-point","database-position","database-power","database-proportion","database-search","database-setting","database-success","database-sync","database-time","date-comes-back","deadline-sort","death-star","deeplink","deer","degree-hat","delete","delete-five","delete-four","delete-key","delete-mode","delete-one","delete-themes","delete-three","delete-two","delivery","deposit","descend","desk-lamp","desk-lamp-one","detection","devices","diamond","diamond-necklace","diamond-one","diamond-ring","diamond-three","diamond-two","diamonds","dianziqian","diapers-one","difference-set","digital-watches","direction","direction-adjustment","direction-adjustment-three","direction-adjustment-two","disabaled-web","disabled-computer","disabled-laptop","disabled-picture","disappointed-face","discovery-index","disk","disk-one","disk-two","dislike","dislike-two","display","distortion","distraught-face","distribute-horizontal-spacing","distribute-horizontally","distribute-vertical-spacing","distribute-vertically","dividing-line","dividing-line-one","diving","diving-bottle","diving-suit","division","dizzy-face","doc-add","doc-detail","doc-fail","doc-search","doc-search-two","doc-success","document-folder","dog","dog-zodiac","dollar","dolphin","dome","dome-light","done-all","dongchedi","door-handle","dot","double-bed","double-down","double-left","double-right","double-up","doughnut","down","down-c","down-one","down-picture","down-small","down-square","down-two","download","download-computer","download-four","download-laptop","download-one","download-three","download-two","download-web","drag","dragon-zodiac","dribble","drink","drone","drone-one","drop-down-list","drop-shadow-down","drop-shadow-left","drop-shadow-right","drop-shadow-up","dropbox","drumstick","dubai","duck","dumbbel-line","dumbbell","dvi","eagle","earth","easy","ecg","edit","edit-movie","edit-name","edit-one","edit-two","editing","editor","eeg","effects","efferent-four","efferent-three","egg","egg-one","eggplant","eiffel-tower","eight-key","electric-drill","electric-iron","electric-wave","electrocardiogram","electronic-door-lock","electronic-locks-close","electronic-locks-open","electronic-pen","elephant","elevator","email-block","email-delect","email-down","email-fail","email-lock","email-push","email-search","email-security","email-successfully","emotion-happy","emotion-unhappy","empty","end-time-sort","endless","endocrine","endpoint-displacement","endpoint-flat","endpoint-round","endpoint-square","energy-socket","engineering-brand","engineering-vehicle","english","english-mustache","enquire","enter-key","enter-key-one","enter-the-keyboard","entertainment","envelope","envelope-one","equal-ratio","equalizer","erase","error","error-computer","error-picture","error-prompt","escalators","ethernet-off","ethernet-on","every-user","excel","excel-one","exchange","exchange-four","exchange-one","exchange-three","exchange-two","exclude-selection","exclusive-gateway","expand-down","expand-down-one","expand-left","expand-left-and-right","expand-right","expand-text-input","expand-up","expenses","expenses-one","experiment","experiment-one","export","express-delivery","expressionless-face","extend","external-transmission","eyebrow","eyes","f-eight-key","f-five-key","f-four-key","f-n-key","f-nine-key","f-one-key","f-seven-key","f-six-key","f-three-key","f-two-key","f-zero-key","face-powder","face-recognition","face-with-smiling-open-eyes","face-without-mouth","facebook","facebook-one","facetime","faceu","facial-cleanser","facial-mask","factory-building","fail-picture","family","fan","fanqiexiaoshuo","feelgood","feelgood-one","feiyu","female","fence-one","fence-two","ferris-wheel","figma","figma-component","figma-flatten-selection","figma-mask","figma-reset-instance","file-addition","file-addition-one","file-cabinet","file-code","file-code-one","file-collection","file-collection-one","file-conversion","file-conversion-one","file-date","file-date-one","file-display","file-display-one","file-doc","file-editing","file-editing-one","file-excel","file-failed","file-failed-one","file-focus","file-focus-one","file-gif","file-hash","file-hash-one","file-hiding","file-hiding-one","file-jpg","file-lock","file-lock-one","file-music","file-music-one","file-pdf","file-pdf-one","file-ppt","file-protection","file-protection-one","file-quality","file-quality-one","file-question","file-removal","file-removal-one","file-search","file-search-one","file-search-two","file-settings","file-settings-one","file-staff","file-staff-one","file-success","file-success-one","file-text","file-text-one","file-tips","file-tips-one","file-txt","file-txt-one","file-withdrawal","file-withdrawal-one","file-word","file-zip","fill","film","filter","filter-one","finance","financing","financing-one","financing-two","find","find-one","fingernail","fingerprint","fingerprint-three","fingerprint-two","fire","fire-extinguisher","fire-extinguisher-one","fire-two","fireworks","first","first-aid-kit","fish","fish-one","fishing","fist","fitness","five","five-ellipses","five-five","five-key","five-star-badge","flag","flash-payment","flashlamp","flashlight","flask","flight-airflow","flight-safety","flip-camera","flip-horizontally","flip-vertically","flirt","float","floor-tile","fm","focus","focus-one","fog","fold-up-one","folder","folder-block","folder-block-one","folder-close","folder-code","folder-code-one","folder-conversion","folder-conversion-one","folder-download","folder-failed","folder-failed-one","folder-focus","folder-focus-one","folder-lock","folder-lock-one","folder-minus","folder-music","folder-music-one","folder-one","folder-open","folder-plus","folder-protection","folder-protection-one","folder-quality","folder-quality-one","folder-search","folder-search-one","folder-settings","folder-settings-one","folder-success","folder-success-one","folder-upload","folder-withdrawal","folder-withdrawal-one","follow-up-date-sort","font-search","font-size","font-size-two","foot","football","forbid","fork","fork-spoon","form","form-one","format","format-brush","formula","foundation-makeup","four","four-arrows","four-four","four-key","four-leaves","four-point-connection","four-round-point-connection","foursquare","freeze-column","freeze-line","freezing-line-column","french-fries","friends-circle","frigate","frog","frowning-face-whit-open-mouth","fruiter","full-dress-longuette","full-screen","full-screen-one","full-screen-play","full-screen-two","full-selection","fullwidth","funds","future-build-one","future-build-three","future-build-two","game","game-console","game-console-one","game-emoji","game-handle","game-ps","game-three","game-two","gamepad","garage","garlic","gas","gastrointestinal","gate","gate-machine","gauze","gavel","gemini","general-branch","geometric-flowers","germs","ghost","gift","gift-bag","gift-box","girl","girl-one","girl-two","github","github-one","gitlab","glasses","glasses-one","glasses-three","globe","glove","go-ahead","go-end","go-on","go-start","goblet","goblet-cracking","goblet-full","goblet-one","gold-medal","gold-medal-two","golf-course","gongfu","good","good-one","good-two","google","google-ads","gopro","gps","graphic-design","graphic-design-two","graphic-stitching","graphic-stitching-four","graphic-stitching-three","great-wall","green-house","green-new-energy","grid-four","grid-nine","grid-sixteen","grid-three","grid-two","grimacing-face","grinning-face","grinning-face-with-open-mouth","grinning-face-with-squinting-eyes","grinning-face-with-tightly-closed-eyes","grinning-face-with-tightly-closed-eyes-open-mouth","group","guide-board","gymnastics","gymnastics-one","h","h1","h2","h3","hair-brush","hair-clip","hair-dryer","hair-dryer-one","halo","hamburger","hamburger-button","hamburger-one","hammer-and-anvil","hand-cream","hand-down","hand-drag","hand-left","hand-painted-plate","hand-right","hand-up","handbag","handheld","handle-a","handle-b","handle-c","handle-down","handle-left","handle-right","handle-round","handle-square","handle-triangle","handle-up","handle-x","handle-y","handle-z","hands","handwashing","handwashing-fluid","hanfu-chinese-style","hanger","hanger-one","hanger-two","hard-disk","hard-disk-one","harm","hashtag-key","hat","hdd","hdmi-cable","hdmi-connector","headphone-sound","headset","headset-one","headset-two","headwear","health","health-products","healthy-recognition","heart","heart-ballon","heart-rate","heartbeat","heater-resistor","heavy-metal","heavy-rain","heavy-wind","helmet","helmet-one","help","helpcenter","hexagon-one","hexagon-strip","hexagonal","hi","high-heeled-shoes","high-light","high-speed-rail","hippo","histogram","history","history-query","hockey","hold","hold-interface","hold-seeds","holding-hands","holy-sword","home","home-two","homestay","honey","honey-one","horizontal-spacing-between-items","horizontal-tidy-up","horizontally-centered","horse-zodiac","hospital","hospital-bed","hospital-four","hospital-three","hospital-two","hot-air-balloon","hot-pot","hot-pot-one","hotel","hotel-do-not-clean","hotel-please-clean","hourglass","hourglass-full","hourglass-null","html-five","hunting-gear","huoshanzhibo","i-mac","icecream","icecream-five","icecream-four","icecream-one","icecream-three","icecream-two","id-card","id-card-h","id-card-v","image-files","imbalance","import-and-export","in-flight","inbox","inbox-download-r","inbox-in","inbox-out","inbox-r","inbox-success","inbox-success-r","inbox-upload-r","inclusive-gateway","income","income-one","incoming","increase","increase-the-scale","indent-left","indent-right","index-finger","induction-lock","industrial-scales","info","infusion","injection","inline","inner-shadow-bottom-left","inner-shadow-bottom-right","inner-shadow-down","inner-shadow-left","inner-shadow-right","inner-shadow-top-left","inner-shadow-top-right","inner-shadow-up","insert-card","insert-table","inspection","instagram","instagram-one","install","instruction","intercom","intermediate-mode","internal-data","internal-expansion","internal-reduction","internal-transmission","international","intersect-selection","intersection","invalid-files","invert-camera","invert-left","invert-right","ios-face-recognition","ipad","ipad-one","iphone","ipo","iron","iron-disable","iron-three","iron-two","iwatch","iwatch-one","iwatch-two","jewelry","jinritoutiao","journey","joystick","juice","jump","kagi-map","kettle","kettle-one","key","key-one","key-two","keyboard","keyboard-one","keyhole","keyline","kitchen-knife","knife-fork","koala-bear","kungfu","label","ladder","ladder-one","lamp","land-surveying","landing","landscape","laptop","laptop-computer","laptop-one","lark","lark-one","lattice-pattern","layers","layout-five","layout-four","layout-one","layout-three","layout-two","leaf","leaves","leaves-one","leaves-two","led-diode","left","left-alignment","left-and-right-branch","left-bar","left-branch","left-c","left-expand","left-one","left-small","left-small-down","left-small-up","left-square","left-two","lemon","lens-alignment","leo","level","level-adjustment","level-eight-title","level-five-title","level-four-title","level-nine-title","level-seven-title","level-six-title","libra","lifebuoy","light","light-house","light-member","light-rain","lightning","like","lincoln","link","link-break","link-cloud","link-cloud-faild","link-cloud-sucess","link-four","link-in","link-interrupt","link-left","link-one","link-out","link-right","link-three","link-two","lip-gloss","lip-tattoo","lipstick","lipstick-one","liqueur","list","list-add","list-alphabet","list-bottom","list-checkbox","list-fail","list-middle","list-numbers","list-one","list-success","list-top","list-two","list-view","loading","loading-four","loading-one","loading-three","loading-two","local","local-pin","local-two","lock","lock-one","locking-computer","locking-laptop","locking-picture","locking-web","log","login","logout","lollipop","loop-once","lotion","lotus","loudly-crying-face","loudly-crying-face-whit-open-mouth","love-and-help","lower-branch","luggage","luminous","lung","mac-finder","macadamia-nut","magic","magic-hat","magic-wand","magnet","mail","mail-download","mail-edit","mail-open","mail-package","mail-review","mail-unpacking","maill-one","makeups","male","mall-bag","manual-gear","many-to-many","map-distance","map-draw","map-road","map-road-two","map-two","margin","margin-one","mark","market","market-analysis","mascara","mask","mask-one","mask-two","maslow-pyramids","massage-chair","massage-chair-one","massage-table","master","material","material-three","material-two","maximum","maya","mayura-gesture","me","measuring-cup","medal-one","mediaeditor","medical-box","medical-files","medical-mark","medication-time","medicine-bottle","medicine-bottle-one","medicine-chest","memory","memory-card","memory-card-one","memory-one","men-jacket","menu-fold","menu-fold-one","menu-unfold","menu-unfold-one","merge","merge-cells","message","message-emoji","message-failed","message-one","message-privacy","message-search","message-security","message-sent","message-success","message-unread","messages","messages-one","micro-sd","micro-slr-camera","microphone","microphone-one","microscope","microscope-one","microwave-oven","microwaves","middle-finger","milk","milk-one","min","mind-mapping","mindmap-list","mindmap-map","mini-sd-card","minus","minus-the-bottom","minus-the-top","mirror","mirror-one","mirror-two","misaligned-semicircle","mitsubishi","modify","modify-two","monitor","monitor-camera","monitor-off","monitor-one","monitor-two","monkey","monkey-zodiac","monument-one","monument-two","moon","more","more-app","more-four","more-one","more-three","more-two","mosaic","mountain","mounted","mouse","mouse-one","mouse-zodiac","mouth","move","move-in","move-in-one","move-one","movie","movie-board","moving-picture","multi-circular","multi-function-knife","multi-picture-carousel","multi-rectangle","multi-ring","multi-triangular","multi-triangular-four","multi-triangular-three","multi-triangular-two","multicast","multilayer-sphere","muscle","museum-one","museum-two","music","music-cd","music-list","music-menu","music-one","music-rhythm","mute","nail-polish","nail-polish-one","nasal","natural-mode","navigation","necktie","needle","negative-dynamics","nested-arrows","nests","network-drive","network-tree","neural","neutral-face","new-afferent","new-computer","new-dianziqian","new-efferent","new-lark","new-picture","newlybuild","newspaper-folding","next","nine-key","nine-points-connected","nintendo-switch","nmr","no-shooting","node-flat","node-round","node-square","noodles","notebook","notebook-and-pen","notebook-one","notepad","notes","nuclear-plant","nurse-cap","nut","nutrition","oceanengine","octagon","off-screen","off-screen-one","off-screen-two","oil-industry","okay","one","one-key","one-one","one-third-rotation","one-to-many","one-to-one","onesies","online-meeting","open","open-an-account","open-door","open-one","optimize","optional","orange","orange-one","orange-station","order","ordered-list","orthopedic","oscillator","other","outbound","outdoor","outgoing","oval-love","oval-love-two","oval-one","oven","oven-tray","overall-reduction","owl","pacifier","pad","page","page-template","pagoda","paint","painted-eggshell","painted-screen","palace","palm","panda","pangle","panorama-horizontal","panties","paper-money","paper-money-two","paper-ship","paperclip","parabola","parachute","paragraph-alphabet","paragraph-break","paragraph-break-two","paragraph-cut","paragraph-rectangle","paragraph-round","paragraph-triangle","paragraph-unfold","parallel-gateway","parallelogram","parenting-book","parking","party-balloon","passport","passport-one","pause","pause-one","pay-code","pay-code-one","pay-code-two","payment-method","paypal","peach","pear","pearl-of-the-orient","peas","pencil","pennant","pentagon-one","people","people-bottom","people-bottom-card","people-delete","people-delete-one","people-download","people-left","people-minus","people-minus-one","people-plus","people-plus-one","people-right","people-safe","people-safe-one","people-search","people-search-one","people-speak","people-top","people-top-card","people-unknown","people-upload","peoples","peoples-two","percentage","performance","perfume","perfumer-bottle","period","permissions","personal-collection","personal-privacy","perspective","pesticide","petrol","phone","phone-booth","phone-call","phone-incoming","phone-incoming-one","phone-missed","phone-off","phone-one","phone-outgoing","phone-outgoing-one","phone-telephone","phone-two","phone-video-call","phonograph","photograph","piano","pic","pic-one","picture","picture-album","picture-one","pie","pie-five","pie-four","pie-one","pie-seven","pie-six","pie-three","pie-two","pig","pig-zodiac","pigeon","pill","pills","pin","pineapple","pinwheel","pisces","pivot-table","plan","planet","plastic-surgery","platte","play","play-basketball","play-cycle","play-once","play-one","play-two","play-volleyball","play-wrong","playback-progress","plug","plug-one","plus","plus-cross","point","point-out","pokeball-one","poker","popcorn","popcorn-one","positive-dynamics","pot","potentiometer","pound","pound-sign","pouting-face","powder","power","power-supply","power-supply-one","powerpoint","ppt","pregnant-women","preschool","prescription","press","preview-close","preview-close-one","preview-open","printer","printer-one","printer-two","prison","process-line","projector","projector-one","projector-three","projector-two","proportional-scaling","protect","protection","public-toilet","pull-door","pull-requests","pumpkin","pure-natural","push-door","pushpin","puzzle","pyramid","pyramid-one","qingniao-clue","qiyehao","quadrangular-pyramid","quadrilateral","quote","rabbit","rabbit-zodiac","radar","radar-chart","radar-three","radar-two","radiation","radio","radio-nanny","radio-one","radio-two","radish","radish-one","railway","ranking","ranking-list","rattle","rattle-one","razor","read-book","receive","receiver","recent-views-sort","record","record-disc","record-player","rectangle","rectangle-one","rectangle-small","rectangle-tear","rectangle-x","rectangular-circular-connection","rectangular-circular-separation","rectangular-vertebra","recycle-bin","recycling","recycling-pool","red-cross","red-envelope","red-envelopes","redo","reduce","reduce-decimal-places","reduce-one","reduce-two","reduce-user","reel","refraction","refresh","refresh-one","refrigerator","reject","relational-graph","relieved-face","reload","remind","remind-disable","remote-control","remote-control-one","renal","renault","repair","replay-five","replay-music","report","repositioning","resistor","respect","resting","retro-bag","return","reverse-lens","reverse-lens-one","reverse-operation-in","reverse-operation-out","reverse-rotation","rice","riding","riding-one","right","right-angle","right-bar","right-branch","right-branch-one","right-branch-two","right-c","right-expand","right-one","right-run","right-small","right-small-down","right-small-up","right-square","right-two","right-user","ring","ring-one","rings","ripple","road","road-cone","road-one","road-sign","road-sign-both","robot","robot-one","robot-two","rock","rock-gesture","rocket","rocket-one","rocking-horse","rollerskates","romper","rope-skipping","rope-skipping-one","rotate","rotate-one","rotating-add","rotating-forward","rotation","rotation-horizontal","rotation-one","rotation-vertical","round","round-caliper","round-distortion","round-mask","round-socket","round-trip","router","router-one","row-height","rowing","rs-male","rss","rugby","rugby-one","rule-two","ruler","ruler-one","run-left","s-turn-down","s-turn-left","s-turn-right","s-turn-up","safe-retrieval","sagittarius","sailboat","sailboat-one","sailing","sales-report","sandals","sandstorm","sandwich","sandwich-one","sapling","save","save-one","scale","scale-one","scallion","scan","scan-code","scan-setting","scanning","scanning-two","scatter-alignment","schedule","school","scissors","scoreboard","scorpio","screen-rotation","screenshot","screenshot-one","screenshot-two","screwdriver","sd","sd-card","seal","search","seat","security","security-stall","seedling","selected","selected-focus","selfie","send","send-backward","send-email","send-one","send-to-back","sent-to-back","seo","seo-folder","server","set-off","setting","setting-computer","setting-config","setting-laptop","setting-one","setting-three","setting-two","setting-web","seven-key","shade","shake","share","share-one","share-sys","share-three","share-two","shaver","shaver-one","shaving","sheep-zodiac","shield","shield-add","ship","shop","shopping","shopping-bag","shopping-bag-one","shopping-cart","shopping-cart-add","shopping-cart-del","shopping-cart-one","shopping-cart-two","shopping-mall","short-skirt","shorts","shoulder-bag","shovel","shovel-one","shower-head","shrimp","shuffle","shuffle-one","shutter-priority","sickbed","signal","signal-one","signal-strength","signal-tower","signal-tower-one","sim","sim-card","single-bed","sinusoid","sippy-cup","six","six-circular-connection","six-key","six-points","skate","skates","skating","sketch","skiing-nordic","skull","slave","sleaves","sleep","sleep-one","sleep-two","slide","slide-two","sliding-horizontal","sliding-vertical","slightly-frowning-face-whit-open-mouth","slightly-smiling-face","slippers","slippers-one","sly-face-whit-smile","smart-optimization","smiling-face","smiling-face-with-squinting-eyes","snacks","snake-zodiac","snow","snowflake","snowman","soap-bubble","soccer","soccer-one","socks","sofa","sofa-two","softball","solar-energy","solar-energy-one","solid-state-disk","sorcerer-hat","sort","sort-amount-down","sort-amount-up","sort-four","sort-one","sort-three","sort-two","sound","sound-one","sound-wave","source-code","soybean-milk-maker","spa-candle","space-colony","spanner","speaker","speaker-one","speed","speed-one","sperm","sphere","spider-man","spikedshoes","spinning-top","split","split-branch","split-cells","split-turn-down-left","split-turn-down-right","spoon","sport","sporting","square","square-small","ssd","stack-light","stamp","stand-up","stapler","star","star-one","start-time-sort","steering-wheel","steoller","stereo-nesting","stereo-one","stereo-perspective","stethoscope","stickers","stock-market","stopwatch","stopwatch-start","storage-card-one","storage-card-two","straight-razor","straw-hat","stretching","stretching-one","strikethrough","strongbox","subtract-selection","subtract-selection-one","subway","success","success-picture","sum","sun","sun-hat","sun-one","sunbath","sunny","sunrise","sunset","sunshade","surprised-face-with-open-big-mouth","surprised-face-with-open-mouth","surveillance-cameras","surveillance-cameras-one","surveillance-cameras-two","swallow","sweater","swimming-pool","swimming-ring","swimsuit","swing","swipe","switch","switch-button","switch-contrast","switch-nintendo","switch-one","switch-themes","switch-track","switching-done","symbol","symbol-double-x","symmetry","sync","system","t-shirt","table","table-file","table-lamp","table-report","tabletennis","tag","tag-one","tailoring","tailoring-two","taj-mahal","take-off","take-off-one","taobao","tape","tape-measure","target","target-one","target-two","taurus","taxi","tea","tea-drink","teapot","teeth","telegram","telescope","tencent-qq","tennis","tent","tent-banner","terminal","termination-file","terrace","test-tube","text","text-bold","text-italic","text-message","text-recognition","text-rotation-down","text-rotation-left","text-rotation-none","text-rotation-up","text-style","text-style-one","text-underline","text-wrap-overflow","text-wrap-truncation","textarea","texture","texture-two","the-single-shoulder-bag","theater","theme","thermometer","thermometer-one","thermos-cup","thin","thinking-problem","three","three-d-glasses","three-hexagons","three-key","three-slashes","three-three","three-triangles","thumbs-down","thumbs-up","thunderbolt","thunderstorm","thunderstorm-one","ticket","ticket-one","tickets-checked","tickets-one","tickets-two","tiger-zodiac","tiktok","time","timed-mail","timeline","timer","tips","tips-one","tire-swing","title-level","to-bottom","to-bottom-one","to-left","to-right","to-top","to-top-one","toilet","tomato","tool","toolkit","top-bar","topbuzz","topic","topic-discussion","torch","tour-bus","towel","tower","tower-of-babel","tower-of-pisa","toxins","trace","trademark","traditional-chinese-medicine","train","transaction","transaction-order","transfer","transfer-data","transform","translate","translation","transport","transporter","trapezoid","tray","treadmill","treadmill-one","treadmill-two","treasure-chest","tree","tree-diagram","tree-list","tree-one","tree-two","trend","trend-two","trending-down","trending-up","triangle","triangle-round-rectangle","triangle-ruler","triangular-pyramid","trophy","trousers-bell-bottoms","truck","trumpet","trunk","tub","tuchong","tumblr","turkey","turn-around","turn-off-bluetooth","turn-on","tv","tv-one","twitter","two","two-dimensional-code","two-dimensional-code-one","two-dimensional-code-two","two-ellipses","two-fingers","two-hands","two-key","two-semicircles","two-triangles","two-triangles-two","two-two","type-drive","u-disk","u-turn-down","u-turn-left","u-turn-right","u-turn-up","ulikecam","umbrella","umbrella-one","umbrella-two","undo","ungroup","unicast","union-selection","universal","unlike","unlink","unlock","unlock-one","unordered-list","up","up-and-down","up-c","up-one","up-small","up-square","up-two","update-rotation","upload","upload-computer","upload-laptop","upload-logs","upload-one","upload-picture","upload-three","upload-two","upload-web","upside-down-face","usb","usb-memory-stick","usb-micro-one","usb-micro-two","usb-one","usb-type-c","user","user-business","user-positioning","user-to-user-transmission","uterus","vacation","vacuum-cleaner","vegetable-basket","vegetables","vertical-spacing-between-items","vertical-tidy-up","vertical-timeline","vertically-centered","vest","vial","vicia-faba","video","video-conference","video-file","video-one","video-two","videocamera","videocamera-one","viencharts","view-grid-card","view-grid-detail","view-grid-list","view-list","viewfinder","vigo","vip","vip-one","virgo","virtual-reality-glasses","voice","voice-input","voice-message","voice-off","voice-one","voicemail","volkswagen","volleyball","volume-down","volume-mute","volume-notice","volume-small","volume-up","vr-glasses","waistline","wallet","wallet-one","wallet-three","wallet-two","warehousing","washing-machine","washing-machine-one","watch","watch-one","water","water-level","water-no","water-rate","water-rate-two","waterfalls-h","waterfalls-v","watermelon","watermelon-one","waterpolo","waterpolo-one","waves","waves-left","waves-right","weary-face","web-page","webcam","wechat","weibo","weight","weightlifting","weixin-cards-offers","weixin-favorites","weixin-games","weixin-market","weixin-mini-app","weixin-people-nearby","weixin-scan","weixin-search","weixin-shake","weixin-top-stories","whale","wheelchair","whirlwind","whistling","whole-site-accelerator","wifi","wind","wind-turbine","windmill","windmill-one","windmill-two","windows","wingsuit-flying","winking-face","winking-face-with-open-eyes","woman","women","women-coat","woolen-hat","word","workbench","worker","world","worried-face","write","writing-fluently","wrong-user","xiaodu","xiaodu-home","xigua","xingfuli","xingtu","yep","youtobe","youtube","zero-key","zijinyunying","zip","zoom","zoom-in","zoom-internal","zoom-out"]},{prefix:"mdi",info:{name:"Material Design Icons",total:7447,author:{name:"Pictogrammers",url:"https://github.com/Templarian/MaterialDesign"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Templarian/MaterialDesign/blob/master/LICENSE"},samples:["account-check","bell-alert-outline","calendar-edit"],height:24,category:"General",palette:!1},icons:["ab-testing","abacus","abjad-arabic","abjad-hebrew","abugida-devanagari","abugida-thai","access-point","access-point-check","access-point-minus","access-point-network","access-point-network-off","access-point-off","access-point-plus","access-point-remove","account","account-alert","account-alert-outline","account-arrow-down","account-arrow-down-outline","account-arrow-left","account-arrow-left-outline","account-arrow-right","account-arrow-right-outline","account-arrow-up","account-arrow-up-outline","account-badge","account-badge-outline","account-box","account-box-edit-outline","account-box-minus-outline","account-box-multiple","account-box-multiple-outline","account-box-outline","account-box-plus-outline","account-cancel","account-cancel-outline","account-card","account-card-outline","account-cash","account-cash-outline","account-check","account-check-outline","account-child","account-child-circle","account-child-outline","account-circle","account-circle-outline","account-clock","account-clock-outline","account-cog","account-cog-outline","account-convert","account-convert-outline","account-cowboy-hat","account-cowboy-hat-outline","account-credit-card","account-credit-card-outline","account-details","account-details-outline","account-edit","account-edit-outline","account-eye","account-eye-outline","account-file","account-file-outline","account-file-text","account-file-text-outline","account-filter","account-filter-outline","account-group","account-group-outline","account-hard-hat","account-hard-hat-outline","account-heart","account-heart-outline","account-injury","account-injury-outline","account-key","account-key-outline","account-lock","account-lock-open","account-lock-open-outline","account-lock-outline","account-minus","account-minus-outline","account-multiple","account-multiple-check","account-multiple-check-outline","account-multiple-minus","account-multiple-minus-outline","account-multiple-outline","account-multiple-plus","account-multiple-plus-outline","account-multiple-remove","account-multiple-remove-outline","account-music","account-music-outline","account-network","account-network-off","account-network-off-outline","account-network-outline","account-off","account-off-outline","account-outline","account-plus","account-plus-outline","account-question","account-question-outline","account-reactivate","account-reactivate-outline","account-remove","account-remove-outline","account-school","account-school-outline","account-search","account-search-outline","account-settings","account-settings-outline","account-settings-variant","account-star","account-star-outline","account-supervisor","account-supervisor-circle","account-supervisor-circle-outline","account-supervisor-outline","account-switch","account-switch-outline","account-sync","account-sync-outline","account-tag","account-tag-outline","account-tie","account-tie-hat","account-tie-hat-outline","account-tie-outline","account-tie-voice","account-tie-voice-off","account-tie-voice-off-outline","account-tie-voice-outline","account-tie-woman","account-voice","account-voice-off","account-wrench","account-wrench-outline","accusoft","ad-choices","adchoices","adjust","adobe","advertisements","advertisements-off","air-conditioner","air-filter","air-horn","air-humidifier","air-humidifier-off","air-purifier","air-purifier-off","airbag","airballoon","airballoon-outline","airplane","airplane-alert","airplane-check","airplane-clock","airplane-cog","airplane-edit","airplane-landing","airplane-marker","airplane-minus","airplane-off","airplane-plus","airplane-remove","airplane-search","airplane-settings","airplane-takeoff","airport","alarm","alarm-bell","alarm-check","alarm-light","alarm-light-off","alarm-light-off-outline","alarm-light-outline","alarm-multiple","alarm-note","alarm-note-off","alarm-off","alarm-panel","alarm-panel-outline","alarm-plus","alarm-snooze","album","alert","alert-box","alert-box-outline","alert-circle","alert-circle-check","alert-circle-check-outline","alert-circle-outline","alert-decagram","alert-decagram-outline","alert-minus","alert-minus-outline","alert-octagon","alert-octagon-outline","alert-octagram","alert-octagram-outline","alert-outline","alert-plus","alert-plus-outline","alert-remove","alert-remove-outline","alert-rhombus","alert-rhombus-outline","alien","alien-outline","align-horizontal-center","align-horizontal-distribute","align-horizontal-left","align-horizontal-right","align-vertical-bottom","align-vertical-center","align-vertical-distribute","align-vertical-top","all-inclusive","all-inclusive-box","all-inclusive-box-outline","allergy","allo","alpha","alpha-a","alpha-a-box","alpha-a-box-outline","alpha-a-circle","alpha-a-circle-outline","alpha-b","alpha-b-box","alpha-b-box-outline","alpha-b-circle","alpha-b-circle-outline","alpha-c","alpha-c-box","alpha-c-box-outline","alpha-c-circle","alpha-c-circle-outline","alpha-d","alpha-d-box","alpha-d-box-outline","alpha-d-circle","alpha-d-circle-outline","alpha-e","alpha-e-box","alpha-e-box-outline","alpha-e-circle","alpha-e-circle-outline","alpha-f","alpha-f-box","alpha-f-box-outline","alpha-f-circle","alpha-f-circle-outline","alpha-g","alpha-g-box","alpha-g-box-outline","alpha-g-circle","alpha-g-circle-outline","alpha-h","alpha-h-box","alpha-h-box-outline","alpha-h-circle","alpha-h-circle-outline","alpha-i","alpha-i-box","alpha-i-box-outline","alpha-i-circle","alpha-i-circle-outline","alpha-j","alpha-j-box","alpha-j-box-outline","alpha-j-circle","alpha-j-circle-outline","alpha-k","alpha-k-box","alpha-k-box-outline","alpha-k-circle","alpha-k-circle-outline","alpha-l","alpha-l-box","alpha-l-box-outline","alpha-l-circle","alpha-l-circle-outline","alpha-m","alpha-m-box","alpha-m-box-outline","alpha-m-circle","alpha-m-circle-outline","alpha-n","alpha-n-box","alpha-n-box-outline","alpha-n-circle","alpha-n-circle-outline","alpha-o","alpha-o-box","alpha-o-box-outline","alpha-o-circle","alpha-o-circle-outline","alpha-p","alpha-p-box","alpha-p-box-outline","alpha-p-circle","alpha-p-circle-outline","alpha-q","alpha-q-box","alpha-q-box-outline","alpha-q-circle","alpha-q-circle-outline","alpha-r","alpha-r-box","alpha-r-box-outline","alpha-r-circle","alpha-r-circle-outline","alpha-s","alpha-s-box","alpha-s-box-outline","alpha-s-circle","alpha-s-circle-outline","alpha-t","alpha-t-box","alpha-t-box-outline","alpha-t-circle","alpha-t-circle-outline","alpha-u","alpha-u-box","alpha-u-box-outline","alpha-u-circle","alpha-u-circle-outline","alpha-v","alpha-v-box","alpha-v-box-outline","alpha-v-circle","alpha-v-circle-outline","alpha-w","alpha-w-box","alpha-w-box-outline","alpha-w-circle","alpha-w-circle-outline","alpha-x","alpha-x-box","alpha-x-box-outline","alpha-x-circle","alpha-x-circle-outline","alpha-y","alpha-y-box","alpha-y-box-outline","alpha-y-circle","alpha-y-circle-outline","alpha-z","alpha-z-box","alpha-z-box-outline","alpha-z-circle","alpha-z-circle-outline","alphabet-aurebesh","alphabet-cyrillic","alphabet-greek","alphabet-latin","alphabet-piqad","alphabet-tengwar","alphabetical","alphabetical-off","alphabetical-variant","alphabetical-variant-off","altimeter","amazon","amazon-alexa","amazon-drive","ambulance","ammunition","ampersand","amplifier","amplifier-off","anchor","android","android-auto","android-debug-bridge","android-head","android-messages","android-studio","angle-acute","angle-obtuse","angle-right","angular","angularjs","animation","animation-outline","animation-play","animation-play-outline","ansible","antenna","anvil","apache-kafka","api","api-off","apple","apple-finder","apple-icloud","apple-ios","apple-keyboard-caps","apple-keyboard-command","apple-keyboard-control","apple-keyboard-option","apple-keyboard-shift","apple-safari","application","application-array","application-array-outline","application-braces","application-braces-outline","application-brackets","application-brackets-outline","application-cog","application-cog-outline","application-edit","application-edit-outline","application-export","application-import","application-outline","application-parentheses","application-parentheses-outline","application-settings","application-settings-outline","application-variable","application-variable-outline","appnet","approximately-equal","approximately-equal-box","apps","apps-box","arch","archive","archive-alert","archive-alert-outline","archive-arrow-down","archive-arrow-down-outline","archive-arrow-up","archive-arrow-up-outline","archive-cancel","archive-cancel-outline","archive-check","archive-check-outline","archive-clock","archive-clock-outline","archive-cog","archive-cog-outline","archive-edit","archive-edit-outline","archive-eye","archive-eye-outline","archive-lock","archive-lock-open","archive-lock-open-outline","archive-lock-outline","archive-marker","archive-marker-outline","archive-minus","archive-minus-outline","archive-music","archive-music-outline","archive-off","archive-off-outline","archive-outline","archive-plus","archive-plus-outline","archive-refresh","archive-refresh-outline","archive-remove","archive-remove-outline","archive-search","archive-search-outline","archive-settings","archive-settings-outline","archive-star","archive-star-outline","archive-sync","archive-sync-outline","arm-flex","arm-flex-outline","arrange-bring-forward","arrange-bring-to-front","arrange-send-backward","arrange-send-to-back","arrow-all","arrow-bottom-left","arrow-bottom-left-bold-box","arrow-bottom-left-bold-box-outline","arrow-bottom-left-bold-outline","arrow-bottom-left-thick","arrow-bottom-left-thin","arrow-bottom-left-thin-circle-outline","arrow-bottom-right","arrow-bottom-right-bold-box","arrow-bottom-right-bold-box-outline","arrow-bottom-right-bold-outline","arrow-bottom-right-thick","arrow-bottom-right-thin","arrow-bottom-right-thin-circle-outline","arrow-collapse","arrow-collapse-all","arrow-collapse-down","arrow-collapse-horizontal","arrow-collapse-left","arrow-collapse-right","arrow-collapse-up","arrow-collapse-vertical","arrow-decision","arrow-decision-auto","arrow-decision-auto-outline","arrow-decision-outline","arrow-down","arrow-down-bold","arrow-down-bold-box","arrow-down-bold-box-outline","arrow-down-bold-circle","arrow-down-bold-circle-outline","arrow-down-bold-hexagon-outline","arrow-down-bold-outline","arrow-down-box","arrow-down-circle","arrow-down-circle-outline","arrow-down-drop-circle","arrow-down-drop-circle-outline","arrow-down-left","arrow-down-left-bold","arrow-down-right","arrow-down-right-bold","arrow-down-thick","arrow-down-thin","arrow-down-thin-circle-outline","arrow-expand","arrow-expand-all","arrow-expand-down","arrow-expand-horizontal","arrow-expand-left","arrow-expand-right","arrow-expand-up","arrow-expand-vertical","arrow-horizontal-lock","arrow-left","arrow-left-bold","arrow-left-bold-box","arrow-left-bold-box-outline","arrow-left-bold-circle","arrow-left-bold-circle-outline","arrow-left-bold-hexagon-outline","arrow-left-bold-outline","arrow-left-bottom","arrow-left-bottom-bold","arrow-left-box","arrow-left-circle","arrow-left-circle-outline","arrow-left-drop-circle","arrow-left-drop-circle-outline","arrow-left-right","arrow-left-right-bold","arrow-left-right-bold-outline","arrow-left-thick","arrow-left-thin","arrow-left-thin-circle-outline","arrow-left-top","arrow-left-top-bold","arrow-oscillating","arrow-oscillating-off","arrow-projectile","arrow-projectile-multiple","arrow-right","arrow-right-bold","arrow-right-bold-box","arrow-right-bold-box-outline","arrow-right-bold-circle","arrow-right-bold-circle-outline","arrow-right-bold-hexagon-outline","arrow-right-bold-outline","arrow-right-bottom","arrow-right-bottom-bold","arrow-right-box","arrow-right-circle","arrow-right-circle-outline","arrow-right-drop-circle","arrow-right-drop-circle-outline","arrow-right-thick","arrow-right-thin","arrow-right-thin-circle-outline","arrow-right-top","arrow-right-top-bold","arrow-split-horizontal","arrow-split-vertical","arrow-top-left","arrow-top-left-bold-box","arrow-top-left-bold-box-outline","arrow-top-left-bold-outline","arrow-top-left-bottom-right","arrow-top-left-bottom-right-bold","arrow-top-left-thick","arrow-top-left-thin","arrow-top-left-thin-circle-outline","arrow-top-right","arrow-top-right-bold-box","arrow-top-right-bold-box-outline","arrow-top-right-bold-outline","arrow-top-right-bottom-left","arrow-top-right-bottom-left-bold","arrow-top-right-thick","arrow-top-right-thin","arrow-top-right-thin-circle-outline","arrow-u-down-left","arrow-u-down-left-bold","arrow-u-down-right","arrow-u-down-right-bold","arrow-u-left-bottom","arrow-u-left-bottom-bold","arrow-u-left-top","arrow-u-left-top-bold","arrow-u-right-bottom","arrow-u-right-bottom-bold","arrow-u-right-top","arrow-u-right-top-bold","arrow-u-up-left","arrow-u-up-left-bold","arrow-u-up-right","arrow-u-up-right-bold","arrow-up","arrow-up-bold","arrow-up-bold-box","arrow-up-bold-box-outline","arrow-up-bold-circle","arrow-up-bold-circle-outline","arrow-up-bold-hexagon-outline","arrow-up-bold-outline","arrow-up-box","arrow-up-circle","arrow-up-circle-outline","arrow-up-down","arrow-up-down-bold","arrow-up-down-bold-outline","arrow-up-drop-circle","arrow-up-drop-circle-outline","arrow-up-left","arrow-up-left-bold","arrow-up-right","arrow-up-right-bold","arrow-up-thick","arrow-up-thin","arrow-up-thin-circle-outline","arrow-vertical-lock","artboard","artstation","aspect-ratio","assistant","asterisk","asterisk-circle-outline","at","atlassian","atm","atom","atom-variant","attachment","attachment-check","attachment-lock","attachment-minus","attachment-off","attachment-plus","attachment-remove","atv","audio-input-rca","audio-input-stereo-minijack","audio-input-xlr","audio-video","audio-video-off","augmented-reality","aurora","auto-download","auto-fix","auto-mode","auto-upload","autorenew","autorenew-off","av-timer","awning","awning-outline","aws","axe","axe-battle","axis","axis-arrow","axis-arrow-info","axis-arrow-lock","axis-lock","axis-x-arrow","axis-x-arrow-lock","axis-x-rotate-clockwise","axis-x-rotate-counterclockwise","axis-x-y-arrow-lock","axis-y-arrow","axis-y-arrow-lock","axis-y-rotate-clockwise","axis-y-rotate-counterclockwise","axis-z-arrow","axis-z-arrow-lock","axis-z-rotate-clockwise","axis-z-rotate-counterclockwise","babel","baby","baby-bottle","baby-bottle-outline","baby-buggy","baby-buggy-off","baby-carriage","baby-carriage-off","baby-face","baby-face-outline","backburger","backspace","backspace-outline","backspace-reverse","backspace-reverse-outline","backup-restore","bacteria","bacteria-outline","badge-account","badge-account-alert","badge-account-alert-outline","badge-account-horizontal","badge-account-horizontal-outline","badge-account-outline","badminton","bag-carry-on","bag-carry-on-check","bag-carry-on-off","bag-checked","bag-personal","bag-personal-off","bag-personal-off-outline","bag-personal-outline","bag-personal-plus","bag-personal-plus-outline","bag-personal-tag","bag-personal-tag-outline","bag-suitcase","bag-suitcase-off","bag-suitcase-off-outline","bag-suitcase-outline","baguette","balcony","balloon","ballot","ballot-outline","ballot-recount","ballot-recount-outline","bandage","bandcamp","bank","bank-check","bank-circle","bank-circle-outline","bank-minus","bank-off","bank-off-outline","bank-outline","bank-plus","bank-remove","bank-transfer","bank-transfer-in","bank-transfer-out","barcode","barcode-off","barcode-scan","barley","barley-off","barn","barrel","barrel-outline","baseball","baseball-bat","baseball-diamond","baseball-diamond-outline","baseball-outline","basecamp","bash","basket","basket-check","basket-check-outline","basket-fill","basket-minus","basket-minus-outline","basket-off","basket-off-outline","basket-outline","basket-plus","basket-plus-outline","basket-remove","basket-remove-outline","basket-unfill","basketball","basketball-hoop","basketball-hoop-outline","bat","bathtub","bathtub-outline","battery","battery-10","battery-10-bluetooth","battery-20","battery-20-bluetooth","battery-30","battery-30-bluetooth","battery-40","battery-40-bluetooth","battery-50","battery-50-bluetooth","battery-60","battery-60-bluetooth","battery-70","battery-70-bluetooth","battery-80","battery-80-bluetooth","battery-90","battery-90-bluetooth","battery-alert","battery-alert-bluetooth","battery-alert-variant","battery-alert-variant-outline","battery-arrow-down","battery-arrow-down-outline","battery-arrow-up","battery-arrow-up-outline","battery-bluetooth","battery-bluetooth-variant","battery-charging","battery-charging-10","battery-charging-100","battery-charging-20","battery-charging-30","battery-charging-40","battery-charging-50","battery-charging-60","battery-charging-70","battery-charging-80","battery-charging-90","battery-charging-high","battery-charging-low","battery-charging-medium","battery-charging-outline","battery-charging-wireless","battery-charging-wireless-10","battery-charging-wireless-20","battery-charging-wireless-30","battery-charging-wireless-40","battery-charging-wireless-50","battery-charging-wireless-60","battery-charging-wireless-70","battery-charging-wireless-80","battery-charging-wireless-90","battery-charging-wireless-alert","battery-charging-wireless-outline","battery-check","battery-check-outline","battery-clock","battery-clock-outline","battery-heart","battery-heart-outline","battery-heart-variant","battery-high","battery-lock","battery-lock-open","battery-low","battery-medium","battery-minus","battery-minus-outline","battery-minus-variant","battery-negative","battery-off","battery-off-outline","battery-outline","battery-plus","battery-plus-outline","battery-plus-variant","battery-positive","battery-remove","battery-remove-outline","battery-standard","battery-sync","battery-sync-outline","battery-unknown","battery-unknown-bluetooth","battlenet","beach","beaker","beaker-alert","beaker-alert-outline","beaker-check","beaker-check-outline","beaker-minus","beaker-minus-outline","beaker-outline","beaker-plus","beaker-plus-outline","beaker-question","beaker-question-outline","beaker-remove","beaker-remove-outline","beam","beats","bed","bed-clock","bed-double","bed-double-outline","bed-empty","bed-king","bed-king-outline","bed-outline","bed-queen","bed-queen-outline","bed-single","bed-single-outline","bee","bee-flower","beehive-off-outline","beehive-outline","beekeeper","beer","beer-outline","behance","bell","bell-alert","bell-alert-outline","bell-badge","bell-badge-outline","bell-cancel","bell-cancel-outline","bell-check","bell-check-outline","bell-circle","bell-circle-outline","bell-cog","bell-cog-outline","bell-minus","bell-minus-outline","bell-off","bell-off-outline","bell-outline","bell-plus","bell-plus-outline","bell-remove","bell-remove-outline","bell-ring","bell-ring-outline","bell-sleep","bell-sleep-outline","bench","bench-back","beta","betamax","biathlon","bicycle","bicycle-basket","bicycle-cargo","bicycle-electric","bicycle-penny-farthing","bike","bike-fast","bike-pedal","bike-pedal-clipless","bike-pedal-mountain","billboard","billiards","billiards-rack","binoculars","bio","biohazard","bird","bitbucket","bitcoin","black-mesa","blackberry","blender","blender-outline","blender-software","blinds","blinds-horizontal","blinds-horizontal-closed","blinds-open","blinds-vertical","blinds-vertical-closed","block-helper","blogger","blood-bag","bluetooth","bluetooth-audio","bluetooth-connect","bluetooth-off","bluetooth-settings","bluetooth-transfer","blur","blur-linear","blur-off","blur-radial","bolt","bomb","bomb-off","bone","bone-off","book","book-account","book-account-outline","book-alert","book-alert-outline","book-alphabet","book-arrow-down","book-arrow-down-outline","book-arrow-left","book-arrow-left-outline","book-arrow-right","book-arrow-right-outline","book-arrow-up","book-arrow-up-outline","book-cancel","book-cancel-outline","book-check","book-check-outline","book-clock","book-clock-outline","book-cog","book-cog-outline","book-cross","book-edit","book-edit-outline","book-education","book-education-outline","book-heart","book-heart-outline","book-information-variant","book-lock","book-lock-open","book-lock-open-outline","book-lock-outline","book-marker","book-marker-outline","book-minus","book-minus-multiple","book-minus-multiple-outline","book-minus-outline","book-multiple","book-multiple-minus","book-multiple-outline","book-multiple-plus","book-multiple-remove","book-multiple-variant","book-music","book-music-outline","book-off","book-off-outline","book-open","book-open-blank-variant","book-open-blank-variant-outline","book-open-outline","book-open-page-variant","book-open-page-variant-outline","book-open-variant","book-open-variant-outline","book-outline","book-play","book-play-outline","book-plus","book-plus-multiple","book-plus-multiple-outline","book-plus-outline","book-refresh","book-refresh-outline","book-remove","book-remove-multiple","book-remove-multiple-outline","book-remove-outline","book-search","book-search-outline","book-settings","book-settings-outline","book-sync","book-sync-outline","book-variant","book-variant-multiple","bookmark","bookmark-box","bookmark-box-multiple","bookmark-box-multiple-outline","bookmark-box-outline","bookmark-check","bookmark-check-outline","bookmark-minus","bookmark-minus-outline","bookmark-multiple","bookmark-multiple-outline","bookmark-music","bookmark-music-outline","bookmark-off","bookmark-off-outline","bookmark-outline","bookmark-plus","bookmark-plus-outline","bookmark-remove","bookmark-remove-outline","bookshelf","boom-gate","boom-gate-alert","boom-gate-alert-outline","boom-gate-arrow-down","boom-gate-arrow-down-outline","boom-gate-arrow-up","boom-gate-arrow-up-outline","boom-gate-outline","boom-gate-up","boom-gate-up-outline","boombox","boomerang","bootstrap","border-all","border-all-variant","border-bottom","border-bottom-variant","border-color","border-horizontal","border-inside","border-left","border-left-variant","border-none","border-none-variant","border-outside","border-radius","border-right","border-right-variant","border-style","border-top","border-top-variant","border-vertical","bottle-soda","bottle-soda-classic","bottle-soda-classic-outline","bottle-soda-outline","bottle-tonic","bottle-tonic-outline","bottle-tonic-plus","bottle-tonic-plus-outline","bottle-tonic-skull","bottle-tonic-skull-outline","bottle-wine","bottle-wine-outline","bow-arrow","bow-tie","bowl","bowl-mix","bowl-mix-outline","bowl-outline","bowling","box","box-cutter","box-cutter-off","box-download","box-shadow","box-upload","boxing-glove","boxing-gloves","braille","brain","bread-slice","bread-slice-outline","bridge","briefcase","briefcase-account","briefcase-account-outline","briefcase-arrow-left-right","briefcase-arrow-left-right-outline","briefcase-arrow-up-down","briefcase-arrow-up-down-outline","briefcase-check","briefcase-check-outline","briefcase-clock","briefcase-clock-outline","briefcase-download","briefcase-download-outline","briefcase-edit","briefcase-edit-outline","briefcase-eye","briefcase-eye-outline","briefcase-minus","briefcase-minus-outline","briefcase-off","briefcase-off-outline","briefcase-outline","briefcase-plus","briefcase-plus-outline","briefcase-remove","briefcase-remove-outline","briefcase-search","briefcase-search-outline","briefcase-upload","briefcase-upload-outline","briefcase-variant","briefcase-variant-off","briefcase-variant-off-outline","briefcase-variant-outline","brightness","brightness-1","brightness-2","brightness-3","brightness-4","brightness-5","brightness-6","brightness-7","brightness-auto","brightness-percent","broadcast","broadcast-off","broom","brush","brush-off","brush-outline","brush-variant","bucket","bucket-outline","buffer","buffet","bug","bug-check","bug-check-outline","bug-outline","bug-pause","bug-pause-outline","bug-play","bug-play-outline","bug-stop","bug-stop-outline","bugle","bulkhead-light","bulldozer","bullet","bulletin-board","bullhorn","bullhorn-outline","bullhorn-variant","bullhorn-variant-outline","bullseye","bullseye-arrow","bulma","bunk-bed","bunk-bed-outline","bus","bus-alert","bus-articulated-end","bus-articulated-front","bus-clock","bus-double-decker","bus-electric","bus-marker","bus-multiple","bus-school","bus-side","bus-sign","bus-stop","bus-stop-covered","bus-stop-uncovered","bus-wrench","butterfly","butterfly-outline","button-cursor","button-pointer","cabin-a-frame","cable-data","cached","cactus","cake","cake-layered","cake-variant","cake-variant-outline","calculator","calculator-off","calculator-variant","calculator-variant-outline","calendar","calendar-account","calendar-account-outline","calendar-alert","calendar-alert-outline","calendar-arrow-left","calendar-arrow-right","calendar-badge","calendar-badge-outline","calendar-blank","calendar-blank-multiple","calendar-blank-outline","calendar-check","calendar-check-outline","calendar-clock","calendar-clock-outline","calendar-collapse-horizontal","calendar-collapse-horizontal-outline","calendar-cursor","calendar-cursor-outline","calendar-edit","calendar-edit-outline","calendar-end","calendar-end-outline","calendar-expand-horizontal","calendar-expand-horizontal-outline","calendar-export","calendar-export-outline","calendar-filter","calendar-filter-outline","calendar-heart","calendar-heart-outline","calendar-import","calendar-import-outline","calendar-lock","calendar-lock-open","calendar-lock-open-outline","calendar-lock-outline","calendar-minus","calendar-minus-outline","calendar-month","calendar-month-outline","calendar-multiple","calendar-multiple-check","calendar-multiselect","calendar-multiselect-outline","calendar-outline","calendar-plus","calendar-plus-outline","calendar-question","calendar-question-outline","calendar-range","calendar-range-outline","calendar-refresh","calendar-refresh-outline","calendar-remove","calendar-remove-outline","calendar-search","calendar-search-outline","calendar-select","calendar-star","calendar-star-four-points","calendar-star-outline","calendar-start","calendar-start-outline","calendar-sync","calendar-sync-outline","calendar-text","calendar-text-outline","calendar-today","calendar-today-outline","calendar-week","calendar-week-begin","calendar-week-begin-outline","calendar-week-end","calendar-week-end-outline","calendar-week-outline","calendar-weekend","calendar-weekend-outline","call-made","call-merge","call-missed","call-received","call-split","camcorder","camcorder-off","camera","camera-account","camera-burst","camera-control","camera-document","camera-document-off","camera-enhance","camera-enhance-outline","camera-flip","camera-flip-outline","camera-focus","camera-front","camera-front-variant","camera-gopro","camera-image","camera-iris","camera-lock","camera-lock-open","camera-lock-open-outline","camera-lock-outline","camera-marker","camera-marker-outline","camera-metering-center","camera-metering-matrix","camera-metering-partial","camera-metering-spot","camera-off","camera-off-outline","camera-outline","camera-party-mode","camera-plus","camera-plus-outline","camera-rear","camera-rear-variant","camera-retake","camera-retake-outline","camera-switch","camera-switch-outline","camera-timer","camera-wireless","camera-wireless-outline","campfire","cancel","candelabra","candelabra-fire","candle","candy","candy-off","candy-off-outline","candy-outline","candycane","cannabis","cannabis-off","caps-lock","car","car-2-plus","car-3-plus","car-arrow-left","car-arrow-right","car-back","car-battery","car-brake-abs","car-brake-alert","car-brake-fluid-level","car-brake-hold","car-brake-low-pressure","car-brake-parking","car-brake-retarder","car-brake-temperature","car-brake-worn-linings","car-child-seat","car-clock","car-clutch","car-cog","car-connected","car-convertable","car-convertible","car-coolant-level","car-cruise-control","car-defrost-front","car-defrost-rear","car-door","car-door-lock","car-door-lock-open","car-electric","car-electric-outline","car-emergency","car-esp","car-estate","car-hatchback","car-info","car-key","car-lifted-pickup","car-light-alert","car-light-dimmed","car-light-fog","car-light-high","car-limousine","car-multiple","car-off","car-outline","car-parking-lights","car-pickup","car-search","car-search-outline","car-seat","car-seat-cooler","car-seat-heater","car-select","car-settings","car-shift-pattern","car-side","car-speed-limiter","car-sports","car-tire-alert","car-traction-control","car-turbocharger","car-wash","car-windshield","car-windshield-outline","car-wireless","car-wrench","carabiner","caravan","card","card-account-details","card-account-details-outline","card-account-details-star","card-account-details-star-outline","card-account-mail","card-account-mail-outline","card-account-phone","card-account-phone-outline","card-bulleted","card-bulleted-off","card-bulleted-off-outline","card-bulleted-outline","card-bulleted-settings","card-bulleted-settings-outline","card-minus","card-minus-outline","card-multiple","card-multiple-outline","card-off","card-off-outline","card-outline","card-plus","card-plus-outline","card-remove","card-remove-outline","card-search","card-search-outline","card-text","card-text-outline","cards","cards-club","cards-club-outline","cards-diamond","cards-diamond-outline","cards-heart","cards-heart-outline","cards-outline","cards-playing","cards-playing-club","cards-playing-club-multiple","cards-playing-club-multiple-outline","cards-playing-club-outline","cards-playing-diamond","cards-playing-diamond-multiple","cards-playing-diamond-multiple-outline","cards-playing-diamond-outline","cards-playing-heart","cards-playing-heart-multiple","cards-playing-heart-multiple-outline","cards-playing-heart-outline","cards-playing-outline","cards-playing-spade","cards-playing-spade-multiple","cards-playing-spade-multiple-outline","cards-playing-spade-outline","cards-spade","cards-spade-outline","cards-variant","carrot","cart","cart-arrow-down","cart-arrow-right","cart-arrow-up","cart-check","cart-heart","cart-minus","cart-off","cart-outline","cart-percent","cart-plus","cart-remove","cart-variant","case-sensitive-alt","cash","cash-100","cash-check","cash-clock","cash-edit","cash-fast","cash-lock","cash-lock-open","cash-marker","cash-minus","cash-multiple","cash-off","cash-plus","cash-refund","cash-register","cash-remove","cash-sync","cash-usd","cash-usd-outline","cassette","cast","cast-audio","cast-audio-variant","cast-connected","cast-education","cast-off","cast-variant","castle","cat","cctv","cctv-off","ceiling-fan","ceiling-fan-light","ceiling-light","ceiling-light-multiple","ceiling-light-multiple-outline","ceiling-light-outline","cellphone","cellphone-android","cellphone-arrow-down","cellphone-arrow-down-variant","cellphone-basic","cellphone-charging","cellphone-check","cellphone-cog","cellphone-dock","cellphone-information","cellphone-iphone","cellphone-key","cellphone-link","cellphone-link-off","cellphone-lock","cellphone-marker","cellphone-message","cellphone-message-off","cellphone-nfc","cellphone-nfc-off","cellphone-off","cellphone-play","cellphone-remove","cellphone-screenshot","cellphone-settings","cellphone-sound","cellphone-text","cellphone-wireless","centos","certificate","certificate-outline","chair-rolling","chair-school","chandelier","charity","charity-search","chart-arc","chart-areaspline","chart-areaspline-variant","chart-bar","chart-bar-stacked","chart-bell-curve","chart-bell-curve-cumulative","chart-box","chart-box-multiple","chart-box-multiple-outline","chart-box-outline","chart-box-plus-outline","chart-bubble","chart-donut","chart-donut-variant","chart-gantt","chart-histogram","chart-line","chart-line-stacked","chart-line-variant","chart-multiline","chart-multiple","chart-pie","chart-pie-outline","chart-ppf","chart-sankey","chart-sankey-variant","chart-scatter-plot","chart-scatter-plot-hexbin","chart-timeline","chart-timeline-variant","chart-timeline-variant-shimmer","chart-tree","chart-waterfall","chat","chat-alert","chat-alert-outline","chat-minus","chat-minus-outline","chat-outline","chat-plus","chat-plus-outline","chat-processing","chat-processing-outline","chat-question","chat-question-outline","chat-remove","chat-remove-outline","chat-sleep","chat-sleep-outline","check","check-all","check-bold","check-bookmark","check-circle","check-circle-outline","check-decagram","check-decagram-outline","check-network","check-network-outline","check-outline","check-underline","check-underline-circle","check-underline-circle-outline","checkbook","checkbook-arrow-left","checkbook-arrow-right","checkbox-blank","checkbox-blank-badge","checkbox-blank-badge-outline","checkbox-blank-circle","checkbox-blank-circle-outline","checkbox-blank-off","checkbox-blank-off-outline","checkbox-blank-outline","checkbox-intermediate","checkbox-intermediate-variant","checkbox-marked","checkbox-marked-circle","checkbox-marked-circle-auto-outline","checkbox-marked-circle-minus-outline","checkbox-marked-circle-outline","checkbox-marked-circle-plus-outline","checkbox-marked-outline","checkbox-multiple-blank","checkbox-multiple-blank-circle","checkbox-multiple-blank-circle-outline","checkbox-multiple-blank-outline","checkbox-multiple-marked","checkbox-multiple-marked-circle","checkbox-multiple-marked-circle-outline","checkbox-multiple-marked-outline","checkbox-multiple-outline","checkbox-outline","checkerboard","checkerboard-minus","checkerboard-plus","checkerboard-remove","cheese","cheese-off","chef-hat","chemical-weapon","chess-bishop","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up","chevron-down","chevron-down-box","chevron-down-box-outline","chevron-down-circle","chevron-down-circle-outline","chevron-left","chevron-left-box","chevron-left-box-outline","chevron-left-circle","chevron-left-circle-outline","chevron-right","chevron-right-box","chevron-right-box-outline","chevron-right-circle","chevron-right-circle-outline","chevron-triple-down","chevron-triple-left","chevron-triple-right","chevron-triple-up","chevron-up","chevron-up-box","chevron-up-box-outline","chevron-up-circle","chevron-up-circle-outline","chili-alert","chili-alert-outline","chili-hot","chili-hot-outline","chili-medium","chili-medium-outline","chili-mild","chili-mild-outline","chili-off","chili-off-outline","chip","church","church-outline","cigar","cigar-off","circle","circle-box","circle-box-outline","circle-double","circle-edit-outline","circle-expand","circle-half","circle-half-full","circle-medium","circle-multiple","circle-multiple-outline","circle-off-outline","circle-opacity","circle-outline","circle-slice-1","circle-slice-2","circle-slice-3","circle-slice-4","circle-slice-5","circle-slice-6","circle-slice-7","circle-slice-8","circle-small","circular-saw","cisco-webex","city","city-switch","city-variant","city-variant-outline","clipboard","clipboard-account","clipboard-account-outline","clipboard-alert","clipboard-alert-outline","clipboard-arrow-down","clipboard-arrow-down-outline","clipboard-arrow-left","clipboard-arrow-left-outline","clipboard-arrow-right","clipboard-arrow-right-outline","clipboard-arrow-up","clipboard-arrow-up-outline","clipboard-check","clipboard-check-multiple","clipboard-check-multiple-outline","clipboard-check-outline","clipboard-clock","clipboard-clock-outline","clipboard-edit","clipboard-edit-outline","clipboard-file","clipboard-file-outline","clipboard-flow","clipboard-flow-outline","clipboard-list","clipboard-list-outline","clipboard-minus","clipboard-minus-outline","clipboard-multiple","clipboard-multiple-outline","clipboard-off","clipboard-off-outline","clipboard-outline","clipboard-play","clipboard-play-multiple","clipboard-play-multiple-outline","clipboard-play-outline","clipboard-plus","clipboard-plus-outline","clipboard-pulse","clipboard-pulse-outline","clipboard-remove","clipboard-remove-outline","clipboard-search","clipboard-search-outline","clipboard-text","clipboard-text-clock","clipboard-text-clock-outline","clipboard-text-multiple","clipboard-text-multiple-outline","clipboard-text-off","clipboard-text-off-outline","clipboard-text-outline","clipboard-text-play","clipboard-text-play-outline","clipboard-text-search","clipboard-text-search-outline","clippy","clock","clock-alert","clock-alert-outline","clock-check","clock-check-outline","clock-digital","clock-edit","clock-edit-outline","clock-end","clock-fast","clock-in","clock-minus","clock-minus-outline","clock-out","clock-outline","clock-plus","clock-plus-outline","clock-remove","clock-remove-outline","clock-star-four-points","clock-star-four-points-outline","clock-start","clock-time-eight","clock-time-eight-outline","clock-time-eleven","clock-time-eleven-outline","clock-time-five","clock-time-five-outline","clock-time-four","clock-time-four-outline","clock-time-nine","clock-time-nine-outline","clock-time-one","clock-time-one-outline","clock-time-seven","clock-time-seven-outline","clock-time-six","clock-time-six-outline","clock-time-ten","clock-time-ten-outline","clock-time-three","clock-time-three-outline","clock-time-twelve","clock-time-twelve-outline","clock-time-two","clock-time-two-outline","close","close-box","close-box-multiple","close-box-multiple-outline","close-box-outline","close-circle","close-circle-multiple","close-circle-multiple-outline","close-circle-outline","close-network","close-network-outline","close-octagon","close-octagon-outline","close-outline","close-thick","closed-caption","closed-caption-outline","cloud","cloud-alert","cloud-alert-outline","cloud-arrow-down","cloud-arrow-down-outline","cloud-arrow-left","cloud-arrow-left-outline","cloud-arrow-right","cloud-arrow-right-outline","cloud-arrow-up","cloud-arrow-up-outline","cloud-braces","cloud-cancel","cloud-cancel-outline","cloud-check","cloud-check-outline","cloud-check-variant","cloud-check-variant-outline","cloud-circle","cloud-circle-outline","cloud-clock","cloud-clock-outline","cloud-cog","cloud-cog-outline","cloud-download","cloud-download-outline","cloud-key","cloud-key-outline","cloud-lock","cloud-lock-open","cloud-lock-open-outline","cloud-lock-outline","cloud-minus","cloud-minus-outline","cloud-off","cloud-off-outline","cloud-outline","cloud-percent","cloud-percent-outline","cloud-plus","cloud-plus-outline","cloud-print","cloud-print-outline","cloud-question","cloud-question-outline","cloud-refresh","cloud-refresh-outline","cloud-refresh-variant","cloud-refresh-variant-outline","cloud-remove","cloud-remove-outline","cloud-search","cloud-search-outline","cloud-sync","cloud-sync-outline","cloud-tags","cloud-upload","cloud-upload-outline","clouds","clover","clover-outline","coach-lamp","coach-lamp-variant","coat-rack","code-array","code-block-braces","code-block-brackets","code-block-parentheses","code-block-tags","code-braces","code-braces-box","code-brackets","code-equal","code-greater-than","code-greater-than-or-equal","code-json","code-less-than","code-less-than-or-equal","code-not-equal","code-not-equal-variant","code-parentheses","code-parentheses-box","code-string","code-tags","code-tags-check","codepen","coffee","coffee-maker","coffee-maker-check","coffee-maker-check-outline","coffee-maker-outline","coffee-off","coffee-off-outline","coffee-outline","coffee-to-go","coffee-to-go-outline","coffin","cog","cog-box","cog-clockwise","cog-counterclockwise","cog-off","cog-off-outline","cog-outline","cog-pause","cog-pause-outline","cog-play","cog-play-outline","cog-refresh","cog-refresh-outline","cog-stop","cog-stop-outline","cog-sync","cog-sync-outline","cog-transfer","cog-transfer-outline","cogs","collage","collapse-all","collapse-all-outline","color-helper","comma","comma-box","comma-box-outline","comma-circle","comma-circle-outline","comment","comment-account","comment-account-outline","comment-alert","comment-alert-outline","comment-arrow-left","comment-arrow-left-outline","comment-arrow-right","comment-arrow-right-outline","comment-bookmark","comment-bookmark-outline","comment-check","comment-check-outline","comment-edit","comment-edit-outline","comment-eye","comment-eye-outline","comment-flash","comment-flash-outline","comment-minus","comment-minus-outline","comment-multiple","comment-multiple-outline","comment-off","comment-off-outline","comment-outline","comment-plus","comment-plus-outline","comment-processing","comment-processing-outline","comment-question","comment-question-outline","comment-quote","comment-quote-outline","comment-remove","comment-remove-outline","comment-search","comment-search-outline","comment-text","comment-text-multiple","comment-text-multiple-outline","comment-text-outline","compare","compare-horizontal","compare-remove","compare-vertical","compass","compass-off","compass-off-outline","compass-outline","compass-rose","compost","concourse-ci","cone","cone-off","connection","console","console-line","console-network","console-network-outline","consolidate","contactless-payment","contactless-payment-circle","contactless-payment-circle-outline","contacts","contacts-outline","contain","contain-end","contain-start","content-copy","content-cut","content-duplicate","content-paste","content-save","content-save-alert","content-save-alert-outline","content-save-all","content-save-all-outline","content-save-check","content-save-check-outline","content-save-cog","content-save-cog-outline","content-save-edit","content-save-edit-outline","content-save-minus","content-save-minus-outline","content-save-move","content-save-move-outline","content-save-off","content-save-off-outline","content-save-outline","content-save-plus","content-save-plus-outline","content-save-settings","content-save-settings-outline","contrast","contrast-box","contrast-circle","controller","controller-classic","controller-classic-outline","controller-off","controller-xbox","cookie","cookie-alert","cookie-alert-outline","cookie-check","cookie-check-outline","cookie-clock","cookie-clock-outline","cookie-cog","cookie-cog-outline","cookie-edit","cookie-edit-outline","cookie-lock","cookie-lock-outline","cookie-minus","cookie-minus-outline","cookie-off","cookie-off-outline","cookie-outline","cookie-plus","cookie-plus-outline","cookie-refresh","cookie-refresh-outline","cookie-remove","cookie-remove-outline","cookie-settings","cookie-settings-outline","coolant-temperature","copyleft","copyright","cordova","corn","corn-off","cosine-wave","counter","countertop","countertop-outline","cow","cow-off","cpu-32-bit","cpu-64-bit","cradle","cradle-outline","crane","creation","creation-outline","creative-commons","credit-card","credit-card-check","credit-card-check-outline","credit-card-chip","credit-card-chip-outline","credit-card-clock","credit-card-clock-outline","credit-card-edit","credit-card-edit-outline","credit-card-fast","credit-card-fast-outline","credit-card-lock","credit-card-lock-outline","credit-card-marker","credit-card-marker-outline","credit-card-minus","credit-card-minus-outline","credit-card-multiple","credit-card-multiple-outline","credit-card-off","credit-card-off-outline","credit-card-outline","credit-card-plus","credit-card-plus-outline","credit-card-refresh","credit-card-refresh-outline","credit-card-refund","credit-card-refund-outline","credit-card-remove","credit-card-remove-outline","credit-card-scan","credit-card-scan-outline","credit-card-search","credit-card-search-outline","credit-card-settings","credit-card-settings-outline","credit-card-sync","credit-card-sync-outline","credit-card-wireless","credit-card-wireless-off","credit-card-wireless-off-outline","credit-card-wireless-outline","cricket","crop","crop-free","crop-landscape","crop-portrait","crop-rotate","crop-square","cross","cross-bolnisi","cross-celtic","cross-outline","crosshairs","crosshairs-gps","crosshairs-off","crosshairs-question","crowd","crown","crown-circle","crown-circle-outline","crown-outline","cryengine","crystal-ball","cube","cube-off","cube-off-outline","cube-outline","cube-scan","cube-send","cube-unfolded","cup","cup-off","cup-off-outline","cup-outline","cup-water","cupboard","cupboard-outline","cupcake","curling","currency-bdt","currency-brl","currency-btc","currency-chf","currency-cny","currency-eth","currency-eur","currency-eur-off","currency-fra","currency-gbp","currency-ils","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-mnt","currency-ngn","currency-php","currency-rial","currency-rub","currency-rupee","currency-sign","currency-thb","currency-try","currency-twd","currency-uah","currency-usd","currency-usd-circle","currency-usd-circle-outline","currency-usd-off","current-ac","current-dc","cursor-default","cursor-default-click","cursor-default-click-outline","cursor-default-gesture","cursor-default-gesture-outline","cursor-default-outline","cursor-move","cursor-pointer","cursor-text","curtains","curtains-closed","cylinder","cylinder-off","dance-ballroom","dance-pole","data","data-matrix","data-matrix-edit","data-matrix-minus","data-matrix-plus","data-matrix-remove","data-matrix-scan","database","database-alert","database-alert-outline","database-arrow-down","database-arrow-down-outline","database-arrow-left","database-arrow-left-outline","database-arrow-right","database-arrow-right-outline","database-arrow-up","database-arrow-up-outline","database-check","database-check-outline","database-clock","database-clock-outline","database-cog","database-cog-outline","database-edit","database-edit-outline","database-export","database-export-outline","database-eye","database-eye-off","database-eye-off-outline","database-eye-outline","database-import","database-import-outline","database-lock","database-lock-outline","database-marker","database-marker-outline","database-minus","database-minus-outline","database-off","database-off-outline","database-outline","database-plus","database-plus-outline","database-refresh","database-refresh-outline","database-remove","database-remove-outline","database-search","database-search-outline","database-settings","database-settings-outline","database-sync","database-sync-outline","death-star","death-star-variant","deathly-hallows","debian","debug-step-into","debug-step-out","debug-step-over","decagram","decagram-outline","decimal","decimal-comma","decimal-comma-decrease","decimal-comma-increase","decimal-decrease","decimal-increase","delete","delete-alert","delete-alert-outline","delete-circle","delete-circle-outline","delete-clock","delete-clock-outline","delete-empty","delete-empty-outline","delete-forever","delete-forever-outline","delete-off","delete-off-outline","delete-outline","delete-restore","delete-sweep","delete-sweep-outline","delete-variant","delta","desk","desk-lamp","desk-lamp-off","desk-lamp-on","deskphone","desktop-classic","desktop-mac","desktop-mac-dashboard","desktop-tower","desktop-tower-monitor","details","dev-to","developer-board","deviantart","devices","dharmachakra","diabetes","dialpad","diameter","diameter-outline","diameter-variant","diamond","diamond-outline","diamond-stone","diaper-outline","dice","dice-1","dice-1-outline","dice-2","dice-2-outline","dice-3","dice-3-outline","dice-4","dice-4-outline","dice-5","dice-5-outline","dice-6","dice-6-outline","dice-d10","dice-d10-outline","dice-d12","dice-d12-outline","dice-d20","dice-d20-outline","dice-d4","dice-d4-outline","dice-d6","dice-d6-outline","dice-d8","dice-d8-outline","dice-multiple","dice-multiple-outline","digital-ocean","dip-switch","directions","directions-fork","disc","disc-alert","disc-player","discord","dishwasher","dishwasher-alert","dishwasher-off","disk","disk-alert","disk-player","disqus","disqus-outline","distribute-horizontal-center","distribute-horizontal-left","distribute-horizontal-right","distribute-vertical-bottom","distribute-vertical-center","distribute-vertical-top","diversify","diving","diving-flippers","diving-helmet","diving-scuba","diving-scuba-flag","diving-scuba-mask","diving-scuba-tank","diving-scuba-tank-multiple","diving-snorkel","division","division-box","dlna","dna","dns","dns-outline","do-not-disturb","dock-bottom","dock-left","dock-right","dock-top","dock-window","docker","doctor","document","dog","dog-service","dog-side","dog-side-off","dolby","dolly","dolphin","domain","domain-off","domain-plus","domain-remove","domain-switch","dome-light","domino-mask","donkey","door","door-closed","door-closed-cancel","door-closed-lock","door-open","door-sliding","door-sliding-lock","door-sliding-open","doorbell","doorbell-video","dot-net","dots-circle","dots-grid","dots-hexagon","dots-horizontal","dots-horizontal-circle","dots-horizontal-circle-outline","dots-square","dots-triangle","dots-vertical","dots-vertical-circle","dots-vertical-circle-outline","douban","download","download-box","download-box-outline","download-circle","download-circle-outline","download-lock","download-lock-outline","download-multiple","download-multiple-outline","download-network","download-network-outline","download-off","download-off-outline","download-outline","drag","drag-horizontal","drag-horizontal-variant","drag-variant","drag-vertical","drag-vertical-variant","drama-masks","draw","draw-pen","drawing","drawing-box","dresser","dresser-outline","dribbble","dribbble-box","drone","dropbox","drupal","duck","dumbbell","dump-truck","ear-hearing","ear-hearing-loop","ear-hearing-off","earbuds","earbuds-off","earbuds-off-outline","earbuds-outline","earth","earth-arrow-down","earth-arrow-left","earth-arrow-right","earth-arrow-up","earth-box","earth-box-minus","earth-box-off","earth-box-plus","earth-box-remove","earth-minus","earth-off","earth-plus","earth-remove","ebay","egg","egg-easter","egg-fried","egg-off","egg-off-outline","egg-outline","eiffel-tower","eight-track","eject","eject-circle","eject-circle-outline","eject-outline","electric-switch","electric-switch-closed","electron-framework","elephant","elevation-decline","elevation-rise","elevator","elevator-down","elevator-passenger","elevator-passenger-off","elevator-passenger-off-outline","elevator-passenger-outline","elevator-up","ellipse","ellipse-outline","email","email-alert","email-alert-outline","email-arrow-left","email-arrow-left-outline","email-arrow-right","email-arrow-right-outline","email-box","email-check","email-check-outline","email-edit","email-edit-outline","email-fast","email-fast-outline","email-heart-outline","email-lock","email-lock-outline","email-mark-as-unread","email-minus","email-minus-outline","email-multiple","email-multiple-outline","email-newsletter","email-off","email-off-outline","email-open","email-open-heart-outline","email-open-multiple","email-open-multiple-outline","email-open-outline","email-outline","email-plus","email-plus-outline","email-remove","email-remove-outline","email-seal","email-seal-outline","email-search","email-search-outline","email-sync","email-sync-outline","email-variant","ember","emby","emoticon","emoticon-angry","emoticon-angry-outline","emoticon-confused","emoticon-confused-outline","emoticon-cool","emoticon-cool-outline","emoticon-cry","emoticon-cry-outline","emoticon-dead","emoticon-dead-outline","emoticon-devil","emoticon-devil-outline","emoticon-excited","emoticon-excited-outline","emoticon-frown","emoticon-frown-outline","emoticon-happy","emoticon-happy-outline","emoticon-kiss","emoticon-kiss-outline","emoticon-lol","emoticon-lol-outline","emoticon-minus","emoticon-minus-outline","emoticon-neutral","emoticon-neutral-outline","emoticon-outline","emoticon-plus","emoticon-plus-outline","emoticon-poop","emoticon-poop-outline","emoticon-remove","emoticon-remove-outline","emoticon-sad","emoticon-sad-outline","emoticon-sick","emoticon-sick-outline","emoticon-tongue","emoticon-tongue-outline","emoticon-wink","emoticon-wink-outline","engine","engine-off","engine-off-outline","engine-outline","epsilon","equal","equal-box","equalizer","equalizer-outline","eraser","eraser-variant","escalator","escalator-box","escalator-down","escalator-up","eslint","et","ethereum","ethernet","ethernet-cable","ethernet-cable-off","ethernet-off","etsy","ev-plug-ccs1","ev-plug-ccs2","ev-plug-chademo","ev-plug-tesla","ev-plug-type1","ev-plug-type2","ev-station","eventbrite","evernote","excavator","exclamation","exclamation-thick","exit-run","exit-to-app","expand-all","expand-all-outline","expansion-card","expansion-card-variant","exponent","exponent-box","export","export-variant","eye","eye-arrow-left","eye-arrow-left-outline","eye-arrow-right","eye-arrow-right-outline","eye-check","eye-check-outline","eye-circle","eye-circle-outline","eye-closed","eye-lock","eye-lock-open","eye-lock-open-outline","eye-lock-outline","eye-minus","eye-minus-outline","eye-off","eye-off-outline","eye-outline","eye-plus","eye-plus-outline","eye-refresh","eye-refresh-outline","eye-remove","eye-remove-outline","eye-settings","eye-settings-outline","eyedropper","eyedropper-minus","eyedropper-off","eyedropper-plus","eyedropper-remove","eyedropper-variant","face-agent","face-man","face-man-outline","face-man-profile","face-man-shimmer","face-man-shimmer-outline","face-mask","face-mask-outline","face-recognition","face-woman","face-woman-outline","face-woman-profile","face-woman-shimmer","face-woman-shimmer-outline","facebook","facebook-box","facebook-gaming","facebook-messenger","facebook-workplace","factory","family-tree","fan","fan-alert","fan-auto","fan-chevron-down","fan-chevron-up","fan-clock","fan-minus","fan-off","fan-plus","fan-remove","fan-speed-1","fan-speed-2","fan-speed-3","fast-forward","fast-forward-10","fast-forward-15","fast-forward-30","fast-forward-45","fast-forward-5","fast-forward-60","fast-forward-outline","faucet","faucet-variant","fax","feather","feature-search","feature-search-outline","fedora","fence","fence-electric","fencing","ferris-wheel","ferry","file","file-account","file-account-outline","file-alert","file-alert-outline","file-arrow-left-right","file-arrow-left-right-outline","file-arrow-up-down","file-arrow-up-down-outline","file-cabinet","file-cad","file-cad-box","file-cancel","file-cancel-outline","file-certificate","file-certificate-outline","file-chart","file-chart-check","file-chart-check-outline","file-chart-outline","file-check","file-check-outline","file-clock","file-clock-outline","file-cloud","file-cloud-outline","file-code","file-code-outline","file-cog","file-cog-outline","file-compare","file-delimited","file-delimited-outline","file-document","file-document-alert","file-document-alert-outline","file-document-arrow-right","file-document-arrow-right-outline","file-document-check","file-document-check-outline","file-document-edit","file-document-edit-outline","file-document-minus","file-document-minus-outline","file-document-multiple","file-document-multiple-outline","file-document-outline","file-document-plus","file-document-plus-outline","file-document-refresh","file-document-refresh-outline","file-document-remove","file-document-remove-outline","file-download","file-download-outline","file-edit","file-edit-outline","file-excel","file-excel-box","file-excel-box-outline","file-excel-outline","file-export","file-export-outline","file-eye","file-eye-outline","file-find","file-find-outline","file-gif-box","file-hidden","file-image","file-image-box","file-image-marker","file-image-marker-outline","file-image-minus","file-image-minus-outline","file-image-outline","file-image-plus","file-image-plus-outline","file-image-remove","file-image-remove-outline","file-import","file-import-outline","file-jpg-box","file-key","file-key-outline","file-link","file-link-outline","file-lock","file-lock-open","file-lock-open-outline","file-lock-outline","file-marker","file-marker-outline","file-minus","file-minus-outline","file-move","file-move-outline","file-multiple","file-multiple-outline","file-music","file-music-outline","file-outline","file-pdf","file-pdf-box","file-pdf-box-outline","file-pdf-outline","file-percent","file-percent-outline","file-phone","file-phone-outline","file-plus","file-plus-outline","file-png-box","file-powerpoint","file-powerpoint-box","file-powerpoint-box-outline","file-powerpoint-outline","file-presentation-box","file-question","file-question-outline","file-refresh","file-refresh-outline","file-remove","file-remove-outline","file-replace","file-replace-outline","file-restore","file-restore-outline","file-rotate-left","file-rotate-left-outline","file-rotate-right","file-rotate-right-outline","file-search","file-search-outline","file-send","file-send-outline","file-settings","file-settings-outline","file-sign","file-star","file-star-four-points","file-star-four-points-outline","file-star-outline","file-swap","file-swap-outline","file-sync","file-sync-outline","file-table","file-table-box","file-table-box-multiple","file-table-box-multiple-outline","file-table-box-outline","file-table-outline","file-tree","file-tree-outline","file-undo","file-undo-outline","file-upload","file-upload-outline","file-video","file-video-outline","file-word","file-word-box","file-word-box-outline","file-word-outline","file-xml","file-xml-box","fill","film","filmstrip","filmstrip-box","filmstrip-box-multiple","filmstrip-off","filter","filter-check","filter-check-outline","filter-cog","filter-cog-outline","filter-menu","filter-menu-outline","filter-minus","filter-minus-outline","filter-multiple","filter-multiple-outline","filter-off","filter-off-outline","filter-outline","filter-plus","filter-plus-outline","filter-remove","filter-remove-outline","filter-settings","filter-settings-outline","filter-variant","filter-variant-minus","filter-variant-plus","filter-variant-remove","finance","find-replace","fingerprint","fingerprint-off","fire","fire-alert","fire-circle","fire-extinguisher","fire-hydrant","fire-hydrant-alert","fire-hydrant-off","fire-off","fire-station","fire-truck","firebase","firefox","fireplace","fireplace-off","firewire","firework","firework-off","fish","fish-off","fishbowl","fishbowl-outline","fit-to-page","fit-to-page-outline","fit-to-screen","fit-to-screen-outline","flag","flag-checkered","flag-checkered-variant","flag-minus","flag-minus-outline","flag-off","flag-off-outline","flag-outline","flag-outline-variant","flag-plus","flag-plus-outline","flag-remove","flag-remove-outline","flag-triangle","flag-variant","flag-variant-minus","flag-variant-minus-outline","flag-variant-off","flag-variant-off-outline","flag-variant-outline","flag-variant-plus","flag-variant-plus-outline","flag-variant-remove","flag-variant-remove-outline","flare","flash","flash-alert","flash-alert-outline","flash-auto","flash-off","flash-off-outline","flash-outline","flash-red-eye","flash-triangle","flash-triangle-outline","flashlight","flashlight-off","flask","flask-empty","flask-empty-minus","flask-empty-minus-outline","flask-empty-off","flask-empty-off-outline","flask-empty-outline","flask-empty-plus","flask-empty-plus-outline","flask-empty-remove","flask-empty-remove-outline","flask-minus","flask-minus-outline","flask-off","flask-off-outline","flask-outline","flask-plus","flask-plus-outline","flask-remove","flask-remove-outline","flask-round-bottom","flask-round-bottom-empty","flask-round-bottom-empty-outline","flask-round-bottom-outline","flattr","fleur-de-lis","flickr","flickr-after","flickr-before","flip-horizontal","flip-to-back","flip-to-front","flip-vertical","floor-1","floor-2","floor-3","floor-a","floor-b","floor-g","floor-l","floor-lamp","floor-lamp-dual","floor-lamp-dual-outline","floor-lamp-outline","floor-lamp-torchiere","floor-lamp-torchiere-outline","floor-lamp-torchiere-variant","floor-lamp-torchiere-variant-outline","floor-plan","floppy","floppy-variant","flower","flower-outline","flower-pollen","flower-pollen-outline","flower-poppy","flower-tulip","flower-tulip-outline","focus-auto","focus-field","focus-field-horizontal","focus-field-vertical","folder","folder-account","folder-account-outline","folder-alert","folder-alert-outline","folder-arrow-down","folder-arrow-down-outline","folder-arrow-left","folder-arrow-left-outline","folder-arrow-left-right","folder-arrow-left-right-outline","folder-arrow-right","folder-arrow-right-outline","folder-arrow-up","folder-arrow-up-down","folder-arrow-up-down-outline","folder-arrow-up-outline","folder-cancel","folder-cancel-outline","folder-check","folder-check-outline","folder-clock","folder-clock-outline","folder-cog","folder-cog-outline","folder-download","folder-download-outline","folder-edit","folder-edit-outline","folder-eye","folder-eye-outline","folder-file","folder-file-outline","folder-google-drive","folder-heart","folder-heart-outline","folder-hidden","folder-home","folder-home-outline","folder-image","folder-information","folder-information-outline","folder-key","folder-key-network","folder-key-network-outline","folder-key-outline","folder-lock","folder-lock-open","folder-lock-open-outline","folder-lock-outline","folder-marker","folder-marker-outline","folder-minus","folder-minus-outline","folder-move","folder-move-outline","folder-multiple","folder-multiple-image","folder-multiple-outline","folder-multiple-plus","folder-multiple-plus-outline","folder-music","folder-music-outline","folder-network","folder-network-outline","folder-off","folder-off-outline","folder-open","folder-open-outline","folder-outline","folder-outline-lock","folder-play","folder-play-outline","folder-plus","folder-plus-outline","folder-pound","folder-pound-outline","folder-question","folder-question-outline","folder-refresh","folder-refresh-outline","folder-remove","folder-remove-outline","folder-search","folder-search-outline","folder-settings","folder-settings-outline","folder-star","folder-star-multiple","folder-star-multiple-outline","folder-star-outline","folder-swap","folder-swap-outline","folder-sync","folder-sync-outline","folder-table","folder-table-outline","folder-text","folder-text-outline","folder-upload","folder-upload-outline","folder-wrench","folder-wrench-outline","folder-zip","folder-zip-outline","font-awesome","food","food-apple","food-apple-outline","food-croissant","food-drumstick","food-drumstick-off","food-drumstick-off-outline","food-drumstick-outline","food-fork-drink","food-halal","food-hot-dog","food-kosher","food-off","food-off-outline","food-outline","food-steak","food-steak-off","food-takeout-box","food-takeout-box-outline","food-turkey","food-variant","food-variant-off","foot-print","football","football-australian","football-helmet","footer","forest","forest-outline","forklift","form-dropdown","form-select","form-textarea","form-textbox","form-textbox-lock","form-textbox-password","format-align-bottom","format-align-center","format-align-justify","format-align-left","format-align-middle","format-align-right","format-align-top","format-annotation-minus","format-annotation-plus","format-bold","format-clear","format-color","format-color-fill","format-color-highlight","format-color-marker-cancel","format-color-text","format-columns","format-float-center","format-float-left","format-float-none","format-float-right","format-font","format-font-size-decrease","format-font-size-increase","format-header-1","format-header-2","format-header-3","format-header-4","format-header-5","format-header-6","format-header-decrease","format-header-down","format-header-equal","format-header-increase","format-header-pound","format-header-up","format-horizontal-align-center","format-horizontal-align-left","format-horizontal-align-right","format-indent-decrease","format-indent-increase","format-italic","format-letter-case","format-letter-case-lower","format-letter-case-upper","format-letter-ends-with","format-letter-matches","format-letter-spacing","format-letter-spacing-variant","format-letter-starts-with","format-line-height","format-line-spacing","format-line-style","format-line-weight","format-list-bulleted","format-list-bulleted-square","format-list-bulleted-triangle","format-list-bulleted-type","format-list-checkbox","format-list-checks","format-list-group","format-list-group-plus","format-list-numbered","format-list-numbered-rtl","format-list-text","format-list-triangle","format-overline","format-page-break","format-page-split","format-paint","format-paragraph","format-paragraph-spacing","format-pilcrow","format-pilcrow-arrow-left","format-pilcrow-arrow-right","format-quote-close","format-quote-close-outline","format-quote-open","format-quote-open-outline","format-rotate-90","format-section","format-size","format-strikethrough","format-strikethrough-variant","format-subscript","format-superscript","format-text","format-text-rotation-angle-down","format-text-rotation-angle-up","format-text-rotation-down","format-text-rotation-down-vertical","format-text-rotation-none","format-text-rotation-up","format-text-rotation-vertical","format-text-variant","format-text-variant-outline","format-text-wrapping-clip","format-text-wrapping-overflow","format-text-wrapping-wrap","format-textbox","format-title","format-underline","format-underline-wavy","format-vertical-align-bottom","format-vertical-align-center","format-vertical-align-top","format-wrap-inline","format-wrap-square","format-wrap-tight","format-wrap-top-bottom","forum","forum-minus","forum-minus-outline","forum-outline","forum-plus","forum-plus-outline","forum-remove","forum-remove-outline","forward","forwardburger","fountain","fountain-pen","fountain-pen-tip","foursquare","fraction-one-half","freebsd","french-fries","frequently-asked-questions","fridge","fridge-alert","fridge-alert-outline","fridge-bottom","fridge-industrial","fridge-industrial-alert","fridge-industrial-alert-outline","fridge-industrial-off","fridge-industrial-off-outline","fridge-industrial-outline","fridge-off","fridge-off-outline","fridge-outline","fridge-top","fridge-variant","fridge-variant-alert","fridge-variant-alert-outline","fridge-variant-off","fridge-variant-off-outline","fridge-variant-outline","fruit-cherries","fruit-cherries-off","fruit-citrus","fruit-citrus-off","fruit-grapes","fruit-grapes-outline","fruit-pear","fruit-pineapple","fruit-watermelon","fuel","fuel-cell","fullscreen","fullscreen-exit","function","function-variant","furigana-horizontal","furigana-vertical","fuse","fuse-alert","fuse-blade","fuse-off","gamepad","gamepad-circle","gamepad-circle-down","gamepad-circle-left","gamepad-circle-outline","gamepad-circle-right","gamepad-circle-up","gamepad-down","gamepad-left","gamepad-outline","gamepad-right","gamepad-round","gamepad-round-down","gamepad-round-left","gamepad-round-outline","gamepad-round-right","gamepad-round-up","gamepad-square","gamepad-square-outline","gamepad-up","gamepad-variant","gamepad-variant-outline","gamma","gantry-crane","garage","garage-alert","garage-alert-variant","garage-lock","garage-open","garage-open-variant","garage-variant","garage-variant-lock","gas-burner","gas-cylinder","gas-station","gas-station-in-use","gas-station-in-use-outline","gas-station-off","gas-station-off-outline","gas-station-outline","gate","gate-alert","gate-and","gate-arrow-left","gate-arrow-right","gate-buffer","gate-nand","gate-nor","gate-not","gate-open","gate-or","gate-xnor","gate-xor","gatsby","gauge","gauge-empty","gauge-full","gauge-low","gavel","gender-female","gender-male","gender-male-female","gender-male-female-variant","gender-non-binary","gender-transgender","generator-mobile","generator-portable","generator-stationary","gentoo","gesture","gesture-double-tap","gesture-pinch","gesture-spread","gesture-swipe","gesture-swipe-down","gesture-swipe-horizontal","gesture-swipe-left","gesture-swipe-right","gesture-swipe-up","gesture-swipe-vertical","gesture-tap","gesture-tap-box","gesture-tap-button","gesture-tap-hold","gesture-two-double-tap","gesture-two-tap","ghost","ghost-off","ghost-off-outline","ghost-outline","gif","gift","gift-off","gift-off-outline","gift-open","gift-open-outline","gift-outline","git","github","github-box","github-face","gitlab","glass-cocktail","glass-cocktail-off","glass-flute","glass-fragile","glass-mug","glass-mug-off","glass-mug-variant","glass-mug-variant-off","glass-pint-outline","glass-stange","glass-tulip","glass-wine","glassdoor","glasses","globe-light","globe-light-outline","globe-model","gmail","gnome","go-kart","go-kart-track","gog","gold","golf","golf-cart","golf-tee","gondola","goodreads","google","google-ads","google-allo","google-analytics","google-assistant","google-cardboard","google-chrome","google-circles","google-circles-communities","google-circles-extended","google-circles-group","google-classroom","google-cloud","google-downasaur","google-drive","google-earth","google-fit","google-glass","google-hangouts","google-home","google-keep","google-lens","google-maps","google-my-business","google-nearby","google-pages","google-photos","google-physical-web","google-play","google-plus","google-plus-box","google-podcast","google-spreadsheet","google-street-view","google-translate","google-wallet","gradient-horizontal","gradient-vertical","grain","graph","graph-outline","graphql","grass","grave-stone","grease-pencil","greater-than","greater-than-or-equal","greenhouse","grid","grid-large","grid-off","grill","grill-outline","group","guitar-acoustic","guitar-electric","guitar-pick","guitar-pick-outline","guy-fawkes-mask","gymnastics","hail","hair-dryer","hair-dryer-outline","halloween","hamburger","hamburger-check","hamburger-minus","hamburger-off","hamburger-plus","hamburger-remove","hammer","hammer-screwdriver","hammer-sickle","hammer-wrench","hand-back-left","hand-back-left-off","hand-back-left-off-outline","hand-back-left-outline","hand-back-right","hand-back-right-off","hand-back-right-off-outline","hand-back-right-outline","hand-clap","hand-clap-off","hand-coin","hand-coin-outline","hand-cycle","hand-extended","hand-extended-outline","hand-front-left","hand-front-left-outline","hand-front-right","hand-front-right-outline","hand-heart","hand-heart-outline","hand-left","hand-okay","hand-peace","hand-peace-variant","hand-pointing-down","hand-pointing-left","hand-pointing-right","hand-pointing-up","hand-right","hand-saw","hand-wash","hand-wash-outline","hand-water","hand-wave","hand-wave-outline","handball","handcuffs","hands-pray","handshake","handshake-outline","hanger","hangouts","hard-hat","harddisk","harddisk-plus","harddisk-remove","hat-fedora","hazard-lights","hdmi-port","hdr","hdr-off","head","head-alert","head-alert-outline","head-check","head-check-outline","head-cog","head-cog-outline","head-dots-horizontal","head-dots-horizontal-outline","head-flash","head-flash-outline","head-heart","head-heart-outline","head-lightbulb","head-lightbulb-outline","head-minus","head-minus-outline","head-outline","head-plus","head-plus-outline","head-question","head-question-outline","head-remove","head-remove-outline","head-snowflake","head-snowflake-outline","head-sync","head-sync-outline","headphones","headphones-bluetooth","headphones-box","headphones-off","headphones-settings","headset","headset-dock","headset-off","heart","heart-box","heart-box-outline","heart-broken","heart-broken-outline","heart-circle","heart-circle-outline","heart-cog","heart-cog-outline","heart-flash","heart-half","heart-half-full","heart-half-outline","heart-minus","heart-minus-outline","heart-multiple","heart-multiple-outline","heart-off","heart-off-outline","heart-outline","heart-plus","heart-plus-outline","heart-pulse","heart-remove","heart-remove-outline","heart-search","heart-settings","heart-settings-outline","heat-pump","heat-pump-outline","heat-wave","heating-coil","helicopter","help","help-box","help-box-multiple","help-box-multiple-outline","help-box-outline","help-circle","help-circle-outline","help-network","help-network-outline","help-rhombus","help-rhombus-outline","hexadecimal","hexagon","hexagon-multiple","hexagon-multiple-outline","hexagon-outline","hexagon-slice-1","hexagon-slice-2","hexagon-slice-3","hexagon-slice-4","hexagon-slice-5","hexagon-slice-6","hexagram","hexagram-outline","high-definition","high-definition-box","highway","hiking","history","hockey-puck","hockey-sticks","hololens","home","home-account","home-alert","home-alert-outline","home-analytics","home-assistant","home-automation","home-battery","home-battery-outline","home-circle","home-circle-outline","home-city","home-city-outline","home-clock","home-clock-outline","home-currency-usd","home-edit","home-edit-outline","home-export-outline","home-flood","home-floor-0","home-floor-1","home-floor-2","home-floor-3","home-floor-a","home-floor-b","home-floor-g","home-floor-l","home-floor-negative-1","home-group","home-group-minus","home-group-plus","home-group-remove","home-heart","home-import-outline","home-lightbulb","home-lightbulb-outline","home-lightning-bolt","home-lightning-bolt-outline","home-lock","home-lock-open","home-map-marker","home-minus","home-minus-outline","home-modern","home-off","home-off-outline","home-outline","home-percent","home-percent-outline","home-plus","home-plus-outline","home-remove","home-remove-outline","home-roof","home-search","home-search-outline","home-silo","home-silo-outline","home-sound-in","home-sound-in-outline","home-sound-out","home-sound-out-outline","home-switch","home-switch-outline","home-thermometer","home-thermometer-outline","home-variant","home-variant-outline","hook","hook-off","hoop-house","hops","horizontal-rotate-clockwise","horizontal-rotate-counterclockwise","horse","horse-human","horse-variant","horse-variant-fast","horseshoe","hospital","hospital-box","hospital-box-outline","hospital-building","hospital-marker","hot-tub","hours-12","hours-24","houzz","houzz-box","hub","hub-outline","hubspot","hulu","human","human-baby-changing-table","human-cane","human-capacity-decrease","human-capacity-increase","human-child","human-dolly","human-edit","human-female","human-female-boy","human-female-dance","human-female-female","human-female-female-child","human-female-girl","human-greeting","human-greeting-proximity","human-greeting-variant","human-handsdown","human-handsup","human-male","human-male-board","human-male-board-poll","human-male-boy","human-male-child","human-male-female","human-male-female-child","human-male-girl","human-male-height","human-male-height-variant","human-male-male","human-male-male-child","human-non-binary","human-pregnant","human-queue","human-scooter","human-walker","human-wheelchair","human-white-cane","humble-bundle","hurricane","hvac","hvac-off","hydraulic-oil-level","hydraulic-oil-temperature","hydro-power","hydrogen-station","ice-cream","ice-cream-off","ice-pop","id-card","identifier","ideogram-cjk","ideogram-cjk-variant","image","image-album","image-area","image-area-close","image-auto-adjust","image-broken","image-broken-variant","image-check","image-check-outline","image-edit","image-edit-outline","image-filter-black-white","image-filter-center-focus","image-filter-center-focus-strong","image-filter-center-focus-strong-outline","image-filter-center-focus-weak","image-filter-drama","image-filter-drama-outline","image-filter-frames","image-filter-hdr","image-filter-hdr-outline","image-filter-none","image-filter-tilt-shift","image-filter-vintage","image-frame","image-lock","image-lock-outline","image-marker","image-marker-outline","image-minus","image-minus-outline","image-move","image-multiple","image-multiple-outline","image-off","image-off-outline","image-outline","image-plus","image-plus-outline","image-refresh","image-refresh-outline","image-remove","image-remove-outline","image-search","image-search-outline","image-size-select-actual","image-size-select-large","image-size-select-small","image-sync","image-sync-outline","image-text","import","inbox","inbox-arrow-down","inbox-arrow-down-outline","inbox-arrow-up","inbox-arrow-up-outline","inbox-full","inbox-full-outline","inbox-multiple","inbox-multiple-outline","inbox-outline","inbox-remove","inbox-remove-outline","incognito","incognito-circle","incognito-circle-off","incognito-off","indent","induction","infinity","information","information-box","information-box-outline","information-off","information-off-outline","information-outline","information-slab-box","information-slab-box-outline","information-slab-circle","information-slab-circle-outline","information-slab-symbol","information-symbol","information-variant","information-variant-box","information-variant-box-outline","information-variant-circle","information-variant-circle-outline","instagram","instapaper","instrument-triangle","integrated-circuit-chip","invert-colors","invert-colors-off","invoice","invoice-arrow-left","invoice-arrow-left-outline","invoice-arrow-right","invoice-arrow-right-outline","invoice-check","invoice-check-outline","invoice-clock","invoice-clock-outline","invoice-edit","invoice-edit-outline","invoice-export-outline","invoice-fast","invoice-fast-outline","invoice-import","invoice-import-outline","invoice-list","invoice-list-outline","invoice-minus","invoice-minus-outline","invoice-multiple","invoice-multiple-outline","invoice-outline","invoice-plus","invoice-plus-outline","invoice-remove","invoice-remove-outline","invoice-send","invoice-send-outline","invoice-text","invoice-text-arrow-left","invoice-text-arrow-left-outline","invoice-text-arrow-right","invoice-text-arrow-right-outline","invoice-text-check","invoice-text-check-outline","invoice-text-clock","invoice-text-clock-outline","invoice-text-edit","invoice-text-edit-outline","invoice-text-fast","invoice-text-fast-outline","invoice-text-minus","invoice-text-minus-outline","invoice-text-multiple","invoice-text-multiple-outline","invoice-text-outline","invoice-text-plus","invoice-text-plus-outline","invoice-text-remove","invoice-text-remove-outline","invoice-text-send","invoice-text-send-outline","iobroker","ip","ip-network","ip-network-outline","ip-outline","ipod","iron","iron-board","iron-outline","island","island-variant","itunes","iv-bag","jabber","jeepney","jellyfish","jellyfish-outline","jira","jquery","jsfiddle","jump-rope","kabaddi","kangaroo","karate","kayaking","keg","kettle","kettle-alert","kettle-alert-outline","kettle-off","kettle-off-outline","kettle-outline","kettle-pour-over","kettle-steam","kettle-steam-outline","kettlebell","key","key-alert","key-alert-outline","key-arrow-right","key-chain","key-chain-variant","key-change","key-link","key-minus","key-outline","key-plus","key-remove","key-star","key-variant","key-wireless","keyboard","keyboard-backspace","keyboard-caps","keyboard-close","keyboard-close-outline","keyboard-esc","keyboard-f1","keyboard-f10","keyboard-f11","keyboard-f12","keyboard-f2","keyboard-f3","keyboard-f4","keyboard-f5","keyboard-f6","keyboard-f7","keyboard-f8","keyboard-f9","keyboard-off","keyboard-off-outline","keyboard-outline","keyboard-return","keyboard-settings","keyboard-settings-outline","keyboard-space","keyboard-tab","keyboard-tab-reverse","keyboard-variant","khanda","kickstarter","kite","kite-outline","kitesurfing","klingon","knife","knife-military","knob","koala","kodi","kubernetes","label","label-multiple","label-multiple-outline","label-off","label-off-outline","label-outline","label-percent","label-percent-outline","label-variant","label-variant-outline","ladder","ladybug","lambda","lamp","lamp-outline","lamps","lamps-outline","lan","lan-check","lan-connect","lan-disconnect","lan-pending","land-fields","land-plots","land-plots-circle","land-plots-circle-variant","land-plots-marker","land-rows-horizontal","land-rows-vertical","landslide","landslide-outline","language-c","language-cpp","language-csharp","language-css3","language-fortran","language-go","language-haskell","language-html5","language-java","language-javascript","language-jsx","language-kotlin","language-lua","language-markdown","language-markdown-outline","language-php","language-python","language-python-text","language-r","language-ruby","language-ruby-on-rails","language-rust","language-swift","language-typescript","language-xaml","laptop","laptop-account","laptop-chromebook","laptop-mac","laptop-off","laptop-windows","laravel","laser-pointer","lasso","lastfm","lastpass","latitude","launch","lava-lamp","layers","layers-edit","layers-minus","layers-off","layers-off-outline","layers-outline","layers-plus","layers-remove","layers-search","layers-search-outline","layers-triple","layers-triple-outline","lead-pencil","leaf","leaf-circle","leaf-circle-outline","leaf-maple","leaf-maple-off","leaf-off","leak","leak-off","lectern","led-off","led-on","led-outline","led-strip","led-strip-variant","led-strip-variant-off","led-variant-off","led-variant-on","led-variant-outline","leek","less-than","less-than-or-equal","library","library-books","library-outline","library-shelves","license","lifebuoy","light-flood-down","light-flood-up","light-recessed","light-switch","light-switch-off","lightbulb","lightbulb-alert","lightbulb-alert-outline","lightbulb-auto","lightbulb-auto-outline","lightbulb-cfl","lightbulb-cfl-off","lightbulb-cfl-spiral","lightbulb-cfl-spiral-off","lightbulb-fluorescent-tube","lightbulb-fluorescent-tube-outline","lightbulb-group","lightbulb-group-off","lightbulb-group-off-outline","lightbulb-group-outline","lightbulb-multiple","lightbulb-multiple-off","lightbulb-multiple-off-outline","lightbulb-multiple-outline","lightbulb-night","lightbulb-night-outline","lightbulb-off","lightbulb-off-outline","lightbulb-on","lightbulb-on-10","lightbulb-on-20","lightbulb-on-30","lightbulb-on-40","lightbulb-on-50","lightbulb-on-60","lightbulb-on-70","lightbulb-on-80","lightbulb-on-90","lightbulb-on-outline","lightbulb-outline","lightbulb-question","lightbulb-question-outline","lightbulb-spot","lightbulb-spot-off","lightbulb-variant","lightbulb-variant-outline","lighthouse","lighthouse-on","lightning-bolt","lightning-bolt-circle","lightning-bolt-outline","line-scan","lingerie","link","link-box","link-box-outline","link-box-variant","link-box-variant-outline","link-circle","link-circle-outline","link-edit","link-lock","link-off","link-plus","link-variant","link-variant-minus","link-variant-off","link-variant-plus","link-variant-remove","linkedin","linode","linux","linux-mint","lipstick","liquid-spot","liquor","list-box","list-box-outline","list-status","litecoin","loading","location-enter","location-exit","lock","lock-alert","lock-alert-outline","lock-check","lock-check-outline","lock-clock","lock-minus","lock-minus-outline","lock-off","lock-off-outline","lock-open","lock-open-alert","lock-open-alert-outline","lock-open-check","lock-open-check-outline","lock-open-minus","lock-open-minus-outline","lock-open-outline","lock-open-plus","lock-open-plus-outline","lock-open-remove","lock-open-remove-outline","lock-open-variant","lock-open-variant-outline","lock-outline","lock-pattern","lock-percent","lock-percent-open","lock-percent-open-outline","lock-percent-open-variant","lock-percent-open-variant-outline","lock-percent-outline","lock-plus","lock-plus-outline","lock-question","lock-remove","lock-remove-outline","lock-reset","lock-smart","locker","locker-multiple","login","login-variant","logout","logout-variant","longitude","looks","lotion","lotion-outline","lotion-plus","lotion-plus-outline","loupe","lumx","lungs","lyft","mace","magazine-pistol","magazine-rifle","magic-staff","magnet","magnet-on","magnify","magnify-close","magnify-expand","magnify-minus","magnify-minus-cursor","magnify-minus-outline","magnify-plus","magnify-plus-cursor","magnify-plus-outline","magnify-remove-cursor","magnify-remove-outline","magnify-scan","mail","mail-ru","mailbox","mailbox-open","mailbox-open-outline","mailbox-open-up","mailbox-open-up-outline","mailbox-outline","mailbox-up","mailbox-up-outline","manjaro","map","map-check","map-check-outline","map-clock","map-clock-outline","map-legend","map-marker","map-marker-account","map-marker-account-outline","map-marker-alert","map-marker-alert-outline","map-marker-check","map-marker-check-outline","map-marker-circle","map-marker-distance","map-marker-down","map-marker-left","map-marker-left-outline","map-marker-minus","map-marker-minus-outline","map-marker-multiple","map-marker-multiple-outline","map-marker-off","map-marker-off-outline","map-marker-outline","map-marker-path","map-marker-plus","map-marker-plus-outline","map-marker-question","map-marker-question-outline","map-marker-radius","map-marker-radius-outline","map-marker-remove","map-marker-remove-outline","map-marker-remove-variant","map-marker-right","map-marker-right-outline","map-marker-star","map-marker-star-outline","map-marker-up","map-minus","map-outline","map-plus","map-search","map-search-outline","mapbox","margin","marker","marker-cancel","marker-check","mastodon","mastodon-variant","material-design","material-ui","math-compass","math-cos","math-integral","math-integral-box","math-log","math-norm","math-norm-box","math-sin","math-tan","matrix","maxcdn","medal","medal-outline","medical-bag","medical-cotton-swab","medication","medication-outline","meditation","medium","meetup","memory","memory-arrow-down","menorah","menorah-fire","menu","menu-close","menu-down","menu-down-outline","menu-left","menu-left-outline","menu-open","menu-right","menu-right-outline","menu-swap","menu-swap-outline","menu-up","menu-up-outline","merge","message","message-alert","message-alert-outline","message-arrow-left","message-arrow-left-outline","message-arrow-right","message-arrow-right-outline","message-badge","message-badge-outline","message-bookmark","message-bookmark-outline","message-bulleted","message-bulleted-off","message-check","message-check-outline","message-cog","message-cog-outline","message-draw","message-fast","message-fast-outline","message-flash","message-flash-outline","message-image","message-image-outline","message-lock","message-lock-outline","message-minus","message-minus-outline","message-off","message-off-outline","message-outline","message-plus","message-plus-outline","message-processing","message-processing-outline","message-question","message-question-outline","message-reply","message-reply-outline","message-reply-text","message-reply-text-outline","message-settings","message-settings-outline","message-star","message-star-outline","message-text","message-text-clock","message-text-clock-outline","message-text-fast","message-text-fast-outline","message-text-lock","message-text-lock-outline","message-text-outline","message-video","meteor","meter-electric","meter-electric-outline","meter-gas","meter-gas-outline","metronome","metronome-tick","micro-sd","microphone","microphone-message","microphone-message-off","microphone-minus","microphone-off","microphone-outline","microphone-plus","microphone-question","microphone-question-outline","microphone-settings","microphone-variant","microphone-variant-off","microscope","microsoft","microsoft-access","microsoft-azure","microsoft-azure-devops","microsoft-bing","microsoft-dynamics-365","microsoft-edge","microsoft-edge-legacy","microsoft-excel","microsoft-internet-explorer","microsoft-office","microsoft-onedrive","microsoft-onenote","microsoft-outlook","microsoft-powerpoint","microsoft-sharepoint","microsoft-teams","microsoft-visual-studio","microsoft-visual-studio-code","microsoft-windows","microsoft-windows-classic","microsoft-word","microsoft-xbox","microsoft-xbox-controller","microsoft-xbox-controller-battery-alert","microsoft-xbox-controller-battery-charging","microsoft-xbox-controller-battery-empty","microsoft-xbox-controller-battery-full","microsoft-xbox-controller-battery-low","microsoft-xbox-controller-battery-medium","microsoft-xbox-controller-battery-unknown","microsoft-xbox-controller-menu","microsoft-xbox-controller-off","microsoft-xbox-controller-view","microsoft-yammer","microwave","microwave-off","middleware","middleware-outline","midi","midi-input","midi-port","mine","minecraft","mini-sd","minidisc","minus","minus-box","minus-box-multiple","minus-box-multiple-outline","minus-box-outline","minus-circle","minus-circle-multiple","minus-circle-multiple-outline","minus-circle-off","minus-circle-off-outline","minus-circle-outline","minus-network","minus-network-outline","minus-thick","mirror","mirror-rectangle","mirror-variant","mixcloud","mixed-martial-arts","mixed-reality","mixer","molecule","molecule-co","molecule-co2","monitor","monitor-account","monitor-arrow-down","monitor-arrow-down-variant","monitor-cellphone","monitor-cellphone-star","monitor-dashboard","monitor-edit","monitor-eye","monitor-lock","monitor-multiple","monitor-off","monitor-screenshot","monitor-share","monitor-shimmer","monitor-small","monitor-speaker","monitor-speaker-off","monitor-star","monitor-vertical","moon-first-quarter","moon-full","moon-last-quarter","moon-new","moon-waning-crescent","moon-waning-gibbous","moon-waxing-crescent","moon-waxing-gibbous","moped","moped-electric","moped-electric-outline","moped-outline","more","mortar-pestle","mortar-pestle-plus","mosque","mosque-outline","mother-heart","mother-nurse","motion","motion-outline","motion-pause","motion-pause-outline","motion-play","motion-play-outline","motion-sensor","motion-sensor-off","motorbike","motorbike-electric","motorbike-off","mouse","mouse-bluetooth","mouse-left-click","mouse-left-click-outline","mouse-move-down","mouse-move-up","mouse-move-vertical","mouse-off","mouse-outline","mouse-right-click","mouse-right-click-outline","mouse-scroll-wheel","mouse-variant","mouse-variant-off","move-resize","move-resize-variant","movie","movie-check","movie-check-outline","movie-cog","movie-cog-outline","movie-edit","movie-edit-outline","movie-filter","movie-filter-outline","movie-minus","movie-minus-outline","movie-off","movie-off-outline","movie-open","movie-open-check","movie-open-check-outline","movie-open-cog","movie-open-cog-outline","movie-open-edit","movie-open-edit-outline","movie-open-minus","movie-open-minus-outline","movie-open-off","movie-open-off-outline","movie-open-outline","movie-open-play","movie-open-play-outline","movie-open-plus","movie-open-plus-outline","movie-open-remove","movie-open-remove-outline","movie-open-settings","movie-open-settings-outline","movie-open-star","movie-open-star-outline","movie-outline","movie-play","movie-play-outline","movie-plus","movie-plus-outline","movie-remove","movie-remove-outline","movie-roll","movie-search","movie-search-outline","movie-settings","movie-settings-outline","movie-star","movie-star-outline","mower","mower-bag","mower-bag-on","mower-on","muffin","multicast","multimedia","multiplication","multiplication-box","mushroom","mushroom-off","mushroom-off-outline","mushroom-outline","music","music-accidental-double-flat","music-accidental-double-sharp","music-accidental-flat","music-accidental-natural","music-accidental-sharp","music-box","music-box-multiple","music-box-multiple-outline","music-box-outline","music-circle","music-circle-outline","music-clef-alto","music-clef-bass","music-clef-treble","music-note","music-note-bluetooth","music-note-bluetooth-off","music-note-eighth","music-note-eighth-dotted","music-note-half","music-note-half-dotted","music-note-minus","music-note-off","music-note-off-outline","music-note-outline","music-note-plus","music-note-quarter","music-note-quarter-dotted","music-note-sixteenth","music-note-sixteenth-dotted","music-note-whole","music-note-whole-dotted","music-off","music-rest-eighth","music-rest-half","music-rest-quarter","music-rest-sixteenth","music-rest-whole","mustache","nail","nas","nativescript","nature","nature-outline","nature-people","nature-people-outline","navigation","navigation-outline","navigation-variant","navigation-variant-outline","near-me","necklace","needle","needle-off","nest-thermostat","netflix","network","network-off","network-off-outline","network-outline","network-pos","network-strength-1","network-strength-1-alert","network-strength-2","network-strength-2-alert","network-strength-3","network-strength-3-alert","network-strength-4","network-strength-4-alert","network-strength-4-cog","network-strength-alert","network-strength-alert-outline","network-strength-off","network-strength-off-outline","network-strength-outline","new-box","newspaper","newspaper-check","newspaper-minus","newspaper-plus","newspaper-remove","newspaper-variant","newspaper-variant-multiple","newspaper-variant-multiple-outline","newspaper-variant-outline","nfc","nfc-off","nfc-search-variant","nfc-tap","nfc-variant","nfc-variant-off","ninja","nintendo-game-boy","nintendo-switch","nintendo-wii","nintendo-wiiu","nix","nodejs","noodles","not-equal","not-equal-variant","note","note-alert","note-alert-outline","note-check","note-check-outline","note-edit","note-edit-outline","note-minus","note-minus-outline","note-multiple","note-multiple-outline","note-off","note-off-outline","note-outline","note-plus","note-plus-outline","note-remove","note-remove-outline","note-search","note-search-outline","note-text","note-text-outline","notebook","notebook-check","notebook-check-outline","notebook-edit","notebook-edit-outline","notebook-heart","notebook-heart-outline","notebook-minus","notebook-minus-outline","notebook-multiple","notebook-outline","notebook-plus","notebook-plus-outline","notebook-remove","notebook-remove-outline","notification-clear-all","npm","npm-variant","npm-variant-outline","nuke","null","numeric","numeric-0","numeric-0-box","numeric-0-box-multiple","numeric-0-box-multiple-outline","numeric-0-box-outline","numeric-0-circle","numeric-0-circle-outline","numeric-1","numeric-1-box","numeric-1-box-multiple","numeric-1-box-multiple-outline","numeric-1-box-outline","numeric-1-circle","numeric-1-circle-outline","numeric-10","numeric-10-box","numeric-10-box-multiple","numeric-10-box-multiple-outline","numeric-10-box-outline","numeric-10-circle","numeric-10-circle-outline","numeric-2","numeric-2-box","numeric-2-box-multiple","numeric-2-box-multiple-outline","numeric-2-box-outline","numeric-2-circle","numeric-2-circle-outline","numeric-3","numeric-3-box","numeric-3-box-multiple","numeric-3-box-multiple-outline","numeric-3-box-outline","numeric-3-circle","numeric-3-circle-outline","numeric-4","numeric-4-box","numeric-4-box-multiple","numeric-4-box-multiple-outline","numeric-4-box-outline","numeric-4-circle","numeric-4-circle-outline","numeric-5","numeric-5-box","numeric-5-box-multiple","numeric-5-box-multiple-outline","numeric-5-box-outline","numeric-5-circle","numeric-5-circle-outline","numeric-6","numeric-6-box","numeric-6-box-multiple","numeric-6-box-multiple-outline","numeric-6-box-outline","numeric-6-circle","numeric-6-circle-outline","numeric-7","numeric-7-box","numeric-7-box-multiple","numeric-7-box-multiple-outline","numeric-7-box-outline","numeric-7-circle","numeric-7-circle-outline","numeric-8","numeric-8-box","numeric-8-box-multiple","numeric-8-box-multiple-outline","numeric-8-box-outline","numeric-8-circle","numeric-8-circle-outline","numeric-9","numeric-9-box","numeric-9-box-multiple","numeric-9-box-multiple-outline","numeric-9-box-outline","numeric-9-circle","numeric-9-circle-outline","numeric-9-plus","numeric-9-plus-box","numeric-9-plus-box-multiple","numeric-9-plus-box-multiple-outline","numeric-9-plus-box-outline","numeric-9-plus-circle","numeric-9-plus-circle-outline","numeric-negative-1","numeric-off","numeric-positive-1","nut","nutrition","nuxt","oar","ocarina","oci","ocr","octagon","octagon-outline","octagram","octagram-edit","octagram-edit-outline","octagram-minus","octagram-minus-outline","octagram-outline","octagram-plus","octagram-plus-outline","octahedron","octahedron-off","odnoklassniki","offer","office-building","office-building-cog","office-building-cog-outline","office-building-marker","office-building-marker-outline","office-building-minus","office-building-minus-outline","office-building-outline","office-building-plus","office-building-plus-outline","office-building-remove","office-building-remove-outline","oil","oil-lamp","oil-level","oil-temperature","om","omega","one-up","onedrive","onenote","onepassword","opacity","open-in-app","open-in-new","open-source-initiative","openid","opera","orbit","orbit-variant","order-alphabetical-ascending","order-alphabetical-descending","order-bool-ascending","order-bool-ascending-variant","order-bool-descending","order-bool-descending-variant","order-numeric-ascending","order-numeric-descending","origin","ornament","ornament-variant","outbox","outdent","outdoor-lamp","outlook","overscan","owl","pac-man","package","package-check","package-down","package-up","package-variant","package-variant-closed","package-variant-closed-check","package-variant-closed-minus","package-variant-closed-plus","package-variant-closed-remove","package-variant-minus","package-variant-plus","package-variant-remove","page-first","page-last","page-layout-body","page-layout-footer","page-layout-header","page-layout-header-footer","page-layout-sidebar-left","page-layout-sidebar-right","page-next","page-next-outline","page-previous","page-previous-outline","pail","pail-minus","pail-minus-outline","pail-off","pail-off-outline","pail-outline","pail-plus","pail-plus-outline","pail-remove","pail-remove-outline","palette","palette-advanced","palette-outline","palette-swatch","palette-swatch-outline","palette-swatch-variant","palm-tree","pan","pan-bottom-left","pan-bottom-right","pan-down","pan-horizontal","pan-left","pan-right","pan-top-left","pan-top-right","pan-up","pan-vertical","panda","pandora","panorama","panorama-fisheye","panorama-horizontal","panorama-horizontal-outline","panorama-outline","panorama-sphere","panorama-sphere-outline","panorama-variant","panorama-variant-outline","panorama-vertical","panorama-vertical-outline","panorama-wide-angle","panorama-wide-angle-outline","paper-cut-vertical","paper-roll","paper-roll-outline","paperclip","paperclip-check","paperclip-lock","paperclip-minus","paperclip-off","paperclip-plus","paperclip-remove","parachute","parachute-outline","paragliding","parking","party-popper","passport","passport-alert","passport-biometric","passport-cancel","passport-check","passport-minus","passport-plus","passport-remove","pasta","patio-heater","patreon","pause","pause-box","pause-box-outline","pause-circle","pause-circle-outline","pause-octagon","pause-octagon-outline","paw","paw-off","paw-off-outline","paw-outline","paypal","peace","peanut","peanut-off","peanut-off-outline","peanut-outline","pen","pen-lock","pen-minus","pen-off","pen-plus","pen-remove","pencil","pencil-box","pencil-box-multiple","pencil-box-multiple-outline","pencil-box-outline","pencil-circle","pencil-circle-outline","pencil-lock","pencil-lock-outline","pencil-minus","pencil-minus-outline","pencil-off","pencil-off-outline","pencil-outline","pencil-plus","pencil-plus-outline","pencil-remove","pencil-remove-outline","pencil-ruler","pencil-ruler-outline","penguin","pentagon","pentagon-outline","pentagram","percent","percent-box","percent-box-outline","percent-circle","percent-circle-outline","percent-outline","periodic-table","periscope","perspective-less","perspective-more","ph","phone","phone-alert","phone-alert-outline","phone-bluetooth","phone-bluetooth-outline","phone-cancel","phone-cancel-outline","phone-check","phone-check-outline","phone-classic","phone-classic-off","phone-clock","phone-dial","phone-dial-outline","phone-forward","phone-forward-outline","phone-hangup","phone-hangup-outline","phone-in-talk","phone-in-talk-outline","phone-incoming","phone-incoming-outgoing","phone-incoming-outgoing-outline","phone-incoming-outline","phone-lock","phone-lock-outline","phone-log","phone-log-outline","phone-message","phone-message-outline","phone-minus","phone-minus-outline","phone-missed","phone-missed-outline","phone-off","phone-off-outline","phone-outgoing","phone-outgoing-outline","phone-outline","phone-paused","phone-paused-outline","phone-plus","phone-plus-outline","phone-refresh","phone-refresh-outline","phone-remove","phone-remove-outline","phone-return","phone-return-outline","phone-ring","phone-ring-outline","phone-rotate-landscape","phone-rotate-portrait","phone-settings","phone-settings-outline","phone-sync","phone-sync-outline","phone-voip","pi","pi-box","pi-hole","piano","piano-off","pickaxe","picture-in-picture-bottom-right","picture-in-picture-bottom-right-outline","picture-in-picture-top-right","picture-in-picture-top-right-outline","pier","pier-crane","pig","pig-variant","pig-variant-outline","piggy-bank","piggy-bank-outline","pill","pill-multiple","pill-off","pillar","pin","pin-off","pin-off-outline","pin-outline","pine-tree","pine-tree-box","pine-tree-fire","pine-tree-variant","pine-tree-variant-outline","pinterest","pinterest-box","pinwheel","pinwheel-outline","pipe","pipe-disconnected","pipe-leak","pipe-valve","pipe-wrench","pirate","pistol","piston","pitchfork","pizza","plane-car","plane-train","play","play-box","play-box-edit-outline","play-box-lock","play-box-lock-open","play-box-lock-open-outline","play-box-lock-outline","play-box-multiple","play-box-multiple-outline","play-box-outline","play-circle","play-circle-outline","play-network","play-network-outline","play-outline","play-pause","play-protected-content","play-speed","playlist-check","playlist-edit","playlist-minus","playlist-music","playlist-music-outline","playlist-play","playlist-plus","playlist-remove","playlist-star","plex","pliers","plus","plus-box","plus-box-multiple","plus-box-multiple-outline","plus-box-outline","plus-circle","plus-circle-multiple","plus-circle-multiple-outline","plus-circle-outline","plus-lock","plus-lock-open","plus-minus","plus-minus-box","plus-minus-variant","plus-network","plus-network-outline","plus-outline","plus-thick","pocket","podcast","podium","podium-bronze","podium-gold","podium-silver","point-of-sale","pokeball","pokemon-go","poker-chip","polaroid","police-badge","police-badge-outline","police-station","poll","polo","polymer","pool","pool-thermometer","popcorn","post","post-lamp","post-outline","postage-stamp","pot","pot-mix","pot-mix-outline","pot-outline","pot-steam","pot-steam-outline","pound","pound-box","pound-box-outline","power","power-cycle","power-off","power-on","power-plug","power-plug-battery","power-plug-battery-outline","power-plug-off","power-plug-off-outline","power-plug-outline","power-settings","power-sleep","power-socket","power-socket-au","power-socket-ch","power-socket-de","power-socket-eu","power-socket-fr","power-socket-it","power-socket-jp","power-socket-uk","power-socket-us","power-standby","powershell","prescription","presentation","presentation-play","pretzel","prezi","printer","printer-3d","printer-3d-nozzle","printer-3d-nozzle-alert","printer-3d-nozzle-alert-outline","printer-3d-nozzle-heat","printer-3d-nozzle-heat-outline","printer-3d-nozzle-off","printer-3d-nozzle-off-outline","printer-3d-nozzle-outline","printer-3d-off","printer-alert","printer-check","printer-eye","printer-off","printer-off-outline","printer-outline","printer-pos","printer-pos-alert","printer-pos-alert-outline","printer-pos-cancel","printer-pos-cancel-outline","printer-pos-check","printer-pos-check-outline","printer-pos-cog","printer-pos-cog-outline","printer-pos-edit","printer-pos-edit-outline","printer-pos-minus","printer-pos-minus-outline","printer-pos-network","printer-pos-network-outline","printer-pos-off","printer-pos-off-outline","printer-pos-outline","printer-pos-pause","printer-pos-pause-outline","printer-pos-play","printer-pos-play-outline","printer-pos-plus","printer-pos-plus-outline","printer-pos-refresh","printer-pos-refresh-outline","printer-pos-remove","printer-pos-remove-outline","printer-pos-star","printer-pos-star-outline","printer-pos-stop","printer-pos-stop-outline","printer-pos-sync","printer-pos-sync-outline","printer-pos-wrench","printer-pos-wrench-outline","printer-search","printer-settings","printer-wireless","priority-high","priority-low","professional-hexagon","progress-alert","progress-check","progress-clock","progress-close","progress-download","progress-helper","progress-pencil","progress-question","progress-star","progress-star-four-points","progress-tag","progress-upload","progress-wrench","projector","projector-off","projector-screen","projector-screen-off","projector-screen-off-outline","projector-screen-outline","projector-screen-variant","projector-screen-variant-off","projector-screen-variant-off-outline","projector-screen-variant-outline","propane-tank","propane-tank-outline","protocol","publish","publish-off","pulse","pump","pump-off","pumpkin","purse","purse-outline","puzzle","puzzle-check","puzzle-check-outline","puzzle-edit","puzzle-edit-outline","puzzle-heart","puzzle-heart-outline","puzzle-minus","puzzle-minus-outline","puzzle-outline","puzzle-plus","puzzle-plus-outline","puzzle-remove","puzzle-remove-outline","puzzle-star","puzzle-star-outline","pyramid","pyramid-off","qi","qqchat","qrcode","qrcode-edit","qrcode-minus","qrcode-plus","qrcode-remove","qrcode-scan","quadcopter","quality-high","quality-low","quality-medium","queue-first-in-last-out","quick-reply","quicktime","quora","rabbit","rabbit-variant","rabbit-variant-outline","racing-helmet","racquetball","radar","radiator","radiator-disabled","radiator-off","radio","radio-am","radio-fm","radio-handheld","radio-off","radio-tower","radioactive","radioactive-circle","radioactive-circle-outline","radioactive-off","radiobox-blank","radiobox-indeterminate-variant","radiobox-marked","radiology-box","radiology-box-outline","radius","radius-outline","railroad-light","rake","raspberry-pi","raw","raw-off","ray-end","ray-end-arrow","ray-start","ray-start-arrow","ray-start-end","ray-start-vertex-end","ray-vertex","razor-double-edge","razor-single-edge","rdio","react","read","receipt","receipt-clock","receipt-clock-outline","receipt-outline","receipt-send","receipt-send-outline","receipt-text","receipt-text-arrow-left","receipt-text-arrow-left-outline","receipt-text-arrow-right","receipt-text-arrow-right-outline","receipt-text-check","receipt-text-check-outline","receipt-text-clock","receipt-text-clock-outline","receipt-text-edit","receipt-text-edit-outline","receipt-text-minus","receipt-text-minus-outline","receipt-text-outline","receipt-text-plus","receipt-text-plus-outline","receipt-text-remove","receipt-text-remove-outline","receipt-text-send","receipt-text-send-outline","record","record-circle","record-circle-outline","record-player","record-rec","rectangle","rectangle-outline","recycle","recycle-variant","reddit","redhat","redo","redo-variant","reflect-horizontal","reflect-vertical","refresh","refresh-auto","refresh-circle","regex","registered-trademark","reiterate","relation-many-to-many","relation-many-to-one","relation-many-to-one-or-many","relation-many-to-only-one","relation-many-to-zero-or-many","relation-many-to-zero-or-one","relation-one-or-many-to-many","relation-one-or-many-to-one","relation-one-or-many-to-one-or-many","relation-one-or-many-to-only-one","relation-one-or-many-to-zero-or-many","relation-one-or-many-to-zero-or-one","relation-one-to-many","relation-one-to-one","relation-one-to-one-or-many","relation-one-to-only-one","relation-one-to-zero-or-many","relation-one-to-zero-or-one","relation-only-one-to-many","relation-only-one-to-one","relation-only-one-to-one-or-many","relation-only-one-to-only-one","relation-only-one-to-zero-or-many","relation-only-one-to-zero-or-one","relation-zero-or-many-to-many","relation-zero-or-many-to-one","relation-zero-or-many-to-one-or-many","relation-zero-or-many-to-only-one","relation-zero-or-many-to-zero-or-many","relation-zero-or-many-to-zero-or-one","relation-zero-or-one-to-many","relation-zero-or-one-to-one","relation-zero-or-one-to-one-or-many","relation-zero-or-one-to-only-one","relation-zero-or-one-to-zero-or-many","relation-zero-or-one-to-zero-or-one","relative-scale","reload","reload-alert","reminder","remote","remote-desktop","remote-off","remote-tv","remote-tv-off","rename","rename-box","rename-box-outline","rename-outline","reorder-horizontal","reorder-vertical","repeat","repeat-off","repeat-once","repeat-variant","replay","reply","reply-all","reply-all-outline","reply-circle","reply-outline","reproduction","resistor","resistor-nodes","resize","resize-bottom-right","responsive","restart","restart-alert","restart-off","restore","restore-alert","rewind","rewind-10","rewind-15","rewind-30","rewind-45","rewind-5","rewind-60","rewind-outline","rhombus","rhombus-medium","rhombus-medium-outline","rhombus-outline","rhombus-split","rhombus-split-outline","ribbon","rice","rickshaw","rickshaw-electric","ring","rivet","road","road-variant","robber","robot","robot-angry","robot-angry-outline","robot-confused","robot-confused-outline","robot-dead","robot-dead-outline","robot-excited","robot-excited-outline","robot-happy","robot-happy-outline","robot-industrial","robot-industrial-outline","robot-love","robot-love-outline","robot-mower","robot-mower-outline","robot-off","robot-off-outline","robot-outline","robot-vacuum","robot-vacuum-alert","robot-vacuum-off","robot-vacuum-variant","robot-vacuum-variant-alert","robot-vacuum-variant-off","rocket","rocket-launch","rocket-launch-outline","rocket-outline","rodent","roller-shade","roller-shade-closed","roller-skate","roller-skate-off","rollerblade","rollerblade-off","rollupjs","rolodex","rolodex-outline","roman-numeral-1","roman-numeral-10","roman-numeral-2","roman-numeral-3","roman-numeral-4","roman-numeral-5","roman-numeral-6","roman-numeral-7","roman-numeral-8","roman-numeral-9","room-service","room-service-outline","rotate-360","rotate-3d","rotate-3d-variant","rotate-left","rotate-left-variant","rotate-orbit","rotate-right","rotate-right-variant","rounded-corner","router","router-network","router-network-wireless","router-wireless","router-wireless-off","router-wireless-settings","routes","routes-clock","rowing","rss","rss-box","rss-off","rug","rugby","ruler","ruler-square","ruler-square-compass","run","run-fast","rv-truck","sack","sack-outline","sack-percent","safe","safe-square","safe-square-outline","safety-goggles","safety-googles","sail-boat","sail-boat-sink","sale","sale-outline","salesforce","sass","satellite","satellite-uplink","satellite-variant","sausage","sausage-off","saw-blade","sawtooth-wave","saxophone","scale","scale-balance","scale-bathroom","scale-off","scale-unbalanced","scan-helper","scanner","scanner-off","scatter-plot","scatter-plot-outline","scent","scent-off","school","school-outline","scissors-cutting","scooter","scooter-electric","scoreboard","scoreboard-outline","screen-rotation","screen-rotation-lock","screw-flat-top","screw-lag","screw-machine-flat-top","screw-machine-round-top","screw-round-top","screwdriver","script","script-outline","script-text","script-text-key","script-text-key-outline","script-text-outline","script-text-play","script-text-play-outline","sd","seal","seal-variant","search-web","seat","seat-flat","seat-flat-angled","seat-individual-suite","seat-legroom-extra","seat-legroom-normal","seat-legroom-reduced","seat-outline","seat-passenger","seat-recline-extra","seat-recline-normal","seatbelt","security","security-close","security-network","seed","seed-off","seed-off-outline","seed-outline","seed-plus","seed-plus-outline","seesaw","segment","select","select-all","select-arrow-down","select-arrow-up","select-color","select-compare","select-drag","select-group","select-inverse","select-marker","select-multiple","select-multiple-marker","select-off","select-place","select-remove","select-search","selection","selection-drag","selection-ellipse","selection-ellipse-arrow-inside","selection-ellipse-remove","selection-lasso","selection-marker","selection-multiple","selection-multiple-marker","selection-off","selection-remove","selection-search","semantic-web","send","send-check","send-check-outline","send-circle","send-circle-outline","send-clock","send-clock-outline","send-lock","send-lock-outline","send-outline","send-variant","send-variant-clock","send-variant-clock-outline","send-variant-outline","serial-port","server","server-minus","server-minus-outline","server-network","server-network-off","server-network-outline","server-off","server-outline","server-plus","server-plus-outline","server-remove","server-security","set-all","set-center","set-center-right","set-left","set-left-center","set-left-right","set-merge","set-none","set-right","set-split","set-square","set-top-box","settings-helper","shaker","shaker-outline","shape","shape-circle-plus","shape-outline","shape-oval-plus","shape-plus","shape-plus-outline","shape-polygon-plus","shape-rectangle-plus","shape-square-plus","shape-square-rounded-plus","share","share-all","share-all-outline","share-circle","share-off","share-off-outline","share-outline","share-variant","share-variant-outline","shark","shark-fin","shark-fin-outline","shark-off","sheep","shield","shield-account","shield-account-outline","shield-account-variant","shield-account-variant-outline","shield-airplane","shield-airplane-outline","shield-alert","shield-alert-outline","shield-bug","shield-bug-outline","shield-car","shield-check","shield-check-outline","shield-cross","shield-cross-outline","shield-crown","shield-crown-outline","shield-edit","shield-edit-outline","shield-half","shield-half-full","shield-home","shield-home-outline","shield-key","shield-key-outline","shield-link-variant","shield-link-variant-outline","shield-lock","shield-lock-open","shield-lock-open-outline","shield-lock-outline","shield-moon","shield-moon-outline","shield-off","shield-off-outline","shield-outline","shield-plus","shield-plus-outline","shield-refresh","shield-refresh-outline","shield-remove","shield-remove-outline","shield-search","shield-star","shield-star-outline","shield-sun","shield-sun-outline","shield-sword","shield-sword-outline","shield-sync","shield-sync-outline","shimmer","ship-wheel","shipping-pallet","shoe-ballet","shoe-cleat","shoe-formal","shoe-heel","shoe-print","shoe-sneaker","shopify","shopping","shopping-music","shopping-outline","shopping-search","shopping-search-outline","shore","shovel","shovel-off","shower","shower-head","shredder","shuffle","shuffle-disabled","shuffle-variant","shuriken","sickle","sigma","sigma-lower","sign-caution","sign-direction","sign-direction-minus","sign-direction-plus","sign-direction-remove","sign-language","sign-language-outline","sign-pole","sign-real-estate","sign-text","sign-yield","signal","signal-2g","signal-3g","signal-4g","signal-5g","signal-cellular-1","signal-cellular-2","signal-cellular-3","signal-cellular-outline","signal-distance-variant","signal-hspa","signal-hspa-plus","signal-off","signal-variant","signature","signature-freehand","signature-image","signature-text","silo","silo-outline","silverware","silverware-clean","silverware-fork","silverware-fork-knife","silverware-spoon","silverware-variant","sim","sim-alert","sim-alert-outline","sim-off","sim-off-outline","sim-outline","simple-icons","sina-weibo","sine-wave","sitemap","sitemap-outline","size-l","size-m","size-s","size-xl","size-xs","size-xxl","size-xxs","size-xxxl","skate","skate-off","skateboard","skateboarding","skew-less","skew-more","ski","ski-cross-country","ski-water","skip-backward","skip-backward-outline","skip-forward","skip-forward-outline","skip-next","skip-next-circle","skip-next-circle-outline","skip-next-outline","skip-previous","skip-previous-circle","skip-previous-circle-outline","skip-previous-outline","skull","skull-crossbones","skull-crossbones-outline","skull-outline","skull-scan","skull-scan-outline","skype","skype-business","slack","slackware","slash-forward","slash-forward-box","sledding","sleep","sleep-off","slide","slope-downhill","slope-uphill","slot-machine","slot-machine-outline","smart-card","smart-card-off","smart-card-off-outline","smart-card-outline","smart-card-reader","smart-card-reader-outline","smog","smoke","smoke-detector","smoke-detector-alert","smoke-detector-alert-outline","smoke-detector-off","smoke-detector-off-outline","smoke-detector-outline","smoke-detector-variant","smoke-detector-variant-alert","smoke-detector-variant-off","smoking","smoking-off","smoking-pipe","smoking-pipe-off","snail","snake","snapchat","snowboard","snowflake","snowflake-alert","snowflake-check","snowflake-melt","snowflake-off","snowflake-thermometer","snowflake-variant","snowman","snowmobile","snowshoeing","soccer","soccer-field","social-distance-2-meters","social-distance-6-feet","sofa","sofa-outline","sofa-single","sofa-single-outline","solar-panel","solar-panel-large","solar-power","solar-power-variant","solar-power-variant-outline","soldering-iron","solid","sony-playstation","sort","sort-alphabetical-ascending","sort-alphabetical-ascending-variant","sort-alphabetical-descending","sort-alphabetical-descending-variant","sort-alphabetical-variant","sort-ascending","sort-bool-ascending","sort-bool-ascending-variant","sort-bool-descending","sort-bool-descending-variant","sort-calendar-ascending","sort-calendar-descending","sort-clock-ascending","sort-clock-ascending-outline","sort-clock-descending","sort-clock-descending-outline","sort-descending","sort-numeric-ascending","sort-numeric-ascending-variant","sort-numeric-descending","sort-numeric-descending-variant","sort-numeric-variant","sort-reverse-variant","sort-variant","sort-variant-lock","sort-variant-lock-open","sort-variant-off","sort-variant-remove","soundbar","soundcloud","source-branch","source-branch-check","source-branch-minus","source-branch-plus","source-branch-refresh","source-branch-remove","source-branch-sync","source-commit","source-commit-end","source-commit-end-local","source-commit-local","source-commit-next-local","source-commit-start","source-commit-start-next-local","source-fork","source-merge","source-pull","source-repository","source-repository-multiple","soy-sauce","soy-sauce-off","spa","spa-outline","space-invaders","space-station","spade","speaker","speaker-bluetooth","speaker-message","speaker-multiple","speaker-off","speaker-pause","speaker-play","speaker-stop","speaker-wireless","spear","speedometer","speedometer-medium","speedometer-slow","spellcheck","sphere","sphere-off","spider","spider-outline","spider-thread","spider-web","spirit-level","split-horizontal","split-vertical","spoon-sugar","spotify","spotlight","spotlight-beam","spray","spray-bottle","spreadsheet","sprinkler","sprinkler-fire","sprinkler-variant","sprout","sprout-outline","square","square-circle","square-circle-outline","square-edit-outline","square-inc","square-inc-cash","square-medium","square-medium-outline","square-off","square-off-outline","square-opacity","square-outline","square-root","square-root-box","square-rounded","square-rounded-badge","square-rounded-badge-outline","square-rounded-outline","square-small","square-wave","squeegee","ssh","stack-exchange","stack-overflow","stackpath","stadium","stadium-outline","stadium-variant","stairs","stairs-box","stairs-down","stairs-up","stamper","standard-definition","star","star-box","star-box-multiple","star-box-multiple-outline","star-box-outline","star-check","star-check-outline","star-circle","star-circle-outline","star-cog","star-cog-outline","star-crescent","star-david","star-face","star-four-points","star-four-points-box","star-four-points-box-outline","star-four-points-circle","star-four-points-circle-outline","star-four-points-outline","star-four-points-small","star-half","star-half-full","star-minus","star-minus-outline","star-off","star-off-outline","star-outline","star-plus","star-plus-outline","star-remove","star-remove-outline","star-settings","star-settings-outline","star-shooting","star-shooting-outline","star-three-points","star-three-points-outline","state-machine","steam","steam-box","steering","steering-off","step-backward","step-backward-2","step-forward","step-forward-2","stethoscope","sticker","sticker-alert","sticker-alert-outline","sticker-check","sticker-check-outline","sticker-circle-outline","sticker-emoji","sticker-minus","sticker-minus-outline","sticker-outline","sticker-plus","sticker-plus-outline","sticker-remove","sticker-remove-outline","sticker-text","sticker-text-outline","stocking","stomach","stool","stool-outline","stop","stop-circle","stop-circle-outline","storage-tank","storage-tank-outline","store","store-24-hour","store-alert","store-alert-outline","store-check","store-check-outline","store-clock","store-clock-outline","store-cog","store-cog-outline","store-edit","store-edit-outline","store-marker","store-marker-outline","store-minus","store-minus-outline","store-off","store-off-outline","store-outline","store-plus","store-plus-outline","store-remove","store-remove-outline","store-search","store-search-outline","store-settings","store-settings-outline","storefront","storefront-check","storefront-check-outline","storefront-edit","storefront-edit-outline","storefront-minus","storefront-minus-outline","storefront-outline","storefront-plus","storefront-plus-outline","storefront-remove","storefront-remove-outline","stove","strategy","strava","stretch-to-page","stretch-to-page-outline","string-lights","string-lights-off","subdirectory-arrow-left","subdirectory-arrow-right","submarine","subtitles","subtitles-outline","subway","subway-alert-variant","subway-variant","summit","sun-angle","sun-angle-outline","sun-clock","sun-clock-outline","sun-compass","sun-snowflake","sun-snowflake-variant","sun-thermometer","sun-thermometer-outline","sun-wireless","sun-wireless-outline","sunglasses","surfing","surround-sound","surround-sound-2-0","surround-sound-2-1","surround-sound-3-1","surround-sound-5-1","surround-sound-5-1-2","surround-sound-7-1","svg","swap-horizontal","swap-horizontal-bold","swap-horizontal-circle","swap-horizontal-circle-outline","swap-horizontal-hidden","swap-horizontal-variant","swap-vertical","swap-vertical-bold","swap-vertical-circle","swap-vertical-circle-outline","swap-vertical-variant","swim","switch","sword","sword-cross","syllabary-hangul","syllabary-hiragana","syllabary-katakana","syllabary-katakana-halfwidth","symbol","symfony","synagogue","synagogue-outline","sync","sync-alert","sync-circle","sync-off","tab","tab-minus","tab-plus","tab-remove","tab-search","tab-unselected","table","table-account","table-alert","table-arrow-down","table-arrow-left","table-arrow-right","table-arrow-up","table-border","table-cancel","table-chair","table-check","table-clock","table-cog","table-column","table-column-plus-after","table-column-plus-before","table-column-remove","table-column-width","table-edit","table-eye","table-eye-off","table-filter","table-furniture","table-headers-eye","table-headers-eye-off","table-heart","table-key","table-large","table-large-plus","table-large-remove","table-lock","table-merge-cells","table-minus","table-multiple","table-network","table-of-contents","table-off","table-picnic","table-pivot","table-plus","table-question","table-refresh","table-remove","table-row","table-row-height","table-row-plus-after","table-row-plus-before","table-row-remove","table-search","table-settings","table-split-cell","table-star","table-sync","table-tennis","tablet","tablet-android","tablet-cellphone","tablet-dashboard","tablet-ipad","taco","tag","tag-arrow-down","tag-arrow-down-outline","tag-arrow-left","tag-arrow-left-outline","tag-arrow-right","tag-arrow-right-outline","tag-arrow-up","tag-arrow-up-outline","tag-check","tag-check-outline","tag-edit","tag-edit-outline","tag-faces","tag-heart","tag-heart-outline","tag-hidden","tag-minus","tag-minus-outline","tag-multiple","tag-multiple-outline","tag-off","tag-off-outline","tag-outline","tag-plus","tag-plus-outline","tag-remove","tag-remove-outline","tag-search","tag-search-outline","tag-text","tag-text-outline","tailwind","tally-mark-1","tally-mark-2","tally-mark-3","tally-mark-4","tally-mark-5","tangram","tank","tanker-truck","tape-drive","tape-measure","target","target-account","target-variant","taxi","tea","tea-outline","teamspeak","teamviewer","teddy-bear","telegram","telescope","television","television-ambient-light","television-box","television-classic","television-classic-off","television-guide","television-off","television-pause","television-play","television-shimmer","television-speaker","television-speaker-off","television-stop","temperature-celsius","temperature-fahrenheit","temperature-kelvin","temple-buddhist","temple-buddhist-outline","temple-hindu","temple-hindu-outline","tennis","tennis-ball","tennis-ball-outline","tent","terraform","terrain","test-tube","test-tube-empty","test-tube-off","text","text-account","text-box","text-box-check","text-box-check-outline","text-box-edit","text-box-edit-outline","text-box-minus","text-box-minus-outline","text-box-multiple","text-box-multiple-outline","text-box-outline","text-box-plus","text-box-plus-outline","text-box-remove","text-box-remove-outline","text-box-search","text-box-search-outline","text-long","text-recognition","text-search","text-search-variant","text-shadow","text-short","texture","texture-box","theater","theme-light-dark","thermometer","thermometer-alert","thermometer-auto","thermometer-bluetooth","thermometer-check","thermometer-chevron-down","thermometer-chevron-up","thermometer-high","thermometer-lines","thermometer-low","thermometer-minus","thermometer-off","thermometer-plus","thermometer-probe","thermometer-probe-off","thermometer-water","thermostat","thermostat-auto","thermostat-box","thermostat-box-auto","thermostat-cog","thought-bubble","thought-bubble-outline","thumb-down","thumb-down-outline","thumb-up","thumb-up-outline","thumbs-up-down","thumbs-up-down-outline","ticket","ticket-account","ticket-confirmation","ticket-confirmation-outline","ticket-outline","ticket-percent","ticket-percent-outline","tie","tilde","tilde-off","timelapse","timeline","timeline-alert","timeline-alert-outline","timeline-check","timeline-check-outline","timeline-clock","timeline-clock-outline","timeline-minus","timeline-minus-outline","timeline-outline","timeline-plus","timeline-plus-outline","timeline-question","timeline-question-outline","timeline-remove","timeline-remove-outline","timeline-text","timeline-text-outline","timer","timer-10","timer-3","timer-alert","timer-alert-outline","timer-cancel","timer-cancel-outline","timer-check","timer-check-outline","timer-cog","timer-cog-outline","timer-edit","timer-edit-outline","timer-lock","timer-lock-open","timer-lock-open-outline","timer-lock-outline","timer-marker","timer-marker-outline","timer-minus","timer-minus-outline","timer-music","timer-music-outline","timer-off","timer-off-outline","timer-outline","timer-pause","timer-pause-outline","timer-play","timer-play-outline","timer-plus","timer-plus-outline","timer-refresh","timer-refresh-outline","timer-remove","timer-remove-outline","timer-sand","timer-sand-complete","timer-sand-empty","timer-sand-full","timer-sand-paused","timer-settings","timer-settings-outline","timer-star","timer-star-outline","timer-stop","timer-stop-outline","timer-sync","timer-sync-outline","timetable","tire","toaster","toaster-off","toaster-oven","toggle-switch","toggle-switch-off","toggle-switch-off-outline","toggle-switch-outline","toggle-switch-variant","toggle-switch-variant-off","toilet","toolbox","toolbox-outline","tools","tooltip","tooltip-account","tooltip-cellphone","tooltip-check","tooltip-check-outline","tooltip-edit","tooltip-edit-outline","tooltip-image","tooltip-image-outline","tooltip-minus","tooltip-minus-outline","tooltip-outline","tooltip-plus","tooltip-plus-outline","tooltip-question","tooltip-question-outline","tooltip-remove","tooltip-remove-outline","tooltip-text","tooltip-text-outline","tooth","tooth-outline","toothbrush","toothbrush-electric","toothbrush-paste","tor","torch","tortoise","toslink","touch-text-outline","tournament","tow-truck","tower-beach","tower-fire","town-hall","toy-brick","toy-brick-marker","toy-brick-marker-outline","toy-brick-minus","toy-brick-minus-outline","toy-brick-outline","toy-brick-plus","toy-brick-plus-outline","toy-brick-remove","toy-brick-remove-outline","toy-brick-search","toy-brick-search-outline","track-light","track-light-off","trackpad","trackpad-lock","tractor","tractor-variant","trademark","traffic-cone","traffic-light","traffic-light-outline","train","train-bus","train-car","train-car-autorack","train-car-box","train-car-box-full","train-car-box-open","train-car-caboose","train-car-centerbeam","train-car-centerbeam-full","train-car-container","train-car-flatbed","train-car-flatbed-car","train-car-flatbed-tank","train-car-gondola","train-car-gondola-full","train-car-hopper","train-car-hopper-covered","train-car-hopper-full","train-car-intermodal","train-car-passenger","train-car-passenger-door","train-car-passenger-door-open","train-car-passenger-variant","train-car-tank","train-variant","tram","tram-side","transcribe","transcribe-close","transfer","transfer-down","transfer-left","transfer-right","transfer-up","transit-connection","transit-connection-horizontal","transit-connection-variant","transit-detour","transit-skip","transit-transfer","transition","transition-masked","translate","translate-off","translate-variant","transmission-tower","transmission-tower-export","transmission-tower-import","transmission-tower-off","trash-can","trash-can-outline","tray","tray-alert","tray-arrow-down","tray-arrow-up","tray-full","tray-minus","tray-plus","tray-remove","treasure-chest","treasure-chest-outline","tree","tree-outline","trello","trending-down","trending-neutral","trending-up","triangle","triangle-down","triangle-down-outline","triangle-outline","triangle-small-down","triangle-small-up","triangle-wave","triforce","trophy","trophy-award","trophy-broken","trophy-outline","trophy-variant","trophy-variant-outline","truck","truck-alert","truck-alert-outline","truck-cargo-container","truck-check","truck-check-outline","truck-delivery","truck-delivery-outline","truck-fast","truck-fast-outline","truck-flatbed","truck-minus","truck-minus-outline","truck-off-road","truck-off-road-off","truck-outline","truck-plus","truck-plus-outline","truck-remove","truck-remove-outline","truck-snowflake","truck-trailer","trumpet","tshirt-crew","tshirt-crew-outline","tshirt-v","tshirt-v-outline","tsunami","tumble-dryer","tumble-dryer-alert","tumble-dryer-off","tumblr","tumblr-box","tumblr-reblog","tune","tune-variant","tune-vertical","tune-vertical-variant","tunnel","tunnel-outline","turbine","turkey","turnstile","turnstile-outline","turtle","twitch","twitter","twitter-box","twitter-circle","two-factor-authentication","typewriter","uber","ubisoft","ubuntu","ufo","ufo-outline","ultra-high-definition","umbraco","umbrella","umbrella-beach","umbrella-beach-outline","umbrella-closed","umbrella-closed-outline","umbrella-closed-variant","umbrella-outline","underwear-outline","undo","undo-variant","unfold-less-horizontal","unfold-less-vertical","unfold-more-horizontal","unfold-more-vertical","ungroup","unicode","unicorn","unicorn-variant","unicycle","unity","unreal","untappd","update","upload","upload-box","upload-box-outline","upload-circle","upload-circle-outline","upload-lock","upload-lock-outline","upload-multiple","upload-multiple-outline","upload-network","upload-network-outline","upload-off","upload-off-outline","upload-outline","usb","usb-c-port","usb-flash-drive","usb-flash-drive-outline","usb-port","vacuum","vacuum-outline","valve","valve-closed","valve-open","van-passenger","van-utility","vanish","vanish-quarter","vanity-light","variable","variable-box","vector-arrange-above","vector-arrange-below","vector-bezier","vector-circle","vector-circle-variant","vector-combine","vector-curve","vector-difference","vector-difference-ab","vector-difference-ba","vector-ellipse","vector-intersection","vector-line","vector-link","vector-point","vector-point-edit","vector-point-minus","vector-point-plus","vector-point-select","vector-polygon","vector-polygon-variant","vector-polyline","vector-polyline-edit","vector-polyline-minus","vector-polyline-plus","vector-polyline-remove","vector-radius","vector-rectangle","vector-selection","vector-square","vector-square-close","vector-square-edit","vector-square-minus","vector-square-open","vector-square-plus","vector-square-remove","vector-triangle","vector-union","venmo","vhs","vibrate","vibrate-off","video","video-2d","video-3d","video-3d-off","video-3d-variant","video-4k-box","video-account","video-box","video-box-off","video-check","video-check-outline","video-high-definition","video-image","video-input-antenna","video-input-component","video-input-hdmi","video-input-scart","video-input-svideo","video-marker","video-marker-outline","video-minus","video-minus-outline","video-off","video-off-outline","video-outline","video-plus","video-plus-outline","video-stabilization","video-standard-definition","video-switch","video-switch-outline","video-vintage","video-wireless","video-wireless-outline","view-agenda","view-agenda-outline","view-array","view-array-outline","view-carousel","view-carousel-outline","view-column","view-column-outline","view-comfy","view-comfy-outline","view-compact","view-compact-outline","view-dashboard","view-dashboard-edit","view-dashboard-edit-outline","view-dashboard-outline","view-dashboard-variant","view-dashboard-variant-outline","view-day","view-day-outline","view-gallery","view-gallery-outline","view-grid","view-grid-compact","view-grid-outline","view-grid-plus","view-grid-plus-outline","view-headline","view-list","view-list-outline","view-module","view-module-outline","view-parallel","view-parallel-outline","view-quilt","view-quilt-outline","view-sequential","view-sequential-outline","view-split-horizontal","view-split-vertical","view-stream","view-stream-outline","view-week","view-week-outline","vimeo","vine","violin","virtual-reality","virus","virus-off","virus-off-outline","virus-outline","vk","vk-box","vk-circle","vlc","voicemail","volcano","volcano-outline","volleyball","volume","volume-equal","volume-high","volume-low","volume-medium","volume-minus","volume-mute","volume-off","volume-plus","volume-source","volume-variant-off","volume-vibrate","vote","vote-outline","vpn","vuejs","vuetify","walk","wall","wall-fire","wall-sconce","wall-sconce-flat","wall-sconce-flat-outline","wall-sconce-flat-variant","wall-sconce-flat-variant-outline","wall-sconce-outline","wall-sconce-round","wall-sconce-round-outline","wall-sconce-round-variant","wall-sconce-round-variant-outline","wall-sconce-variant","wallet","wallet-bifold","wallet-bifold-outline","wallet-giftcard","wallet-membership","wallet-outline","wallet-plus","wallet-plus-outline","wallet-travel","wallpaper","wan","wardrobe","wardrobe-outline","warehouse","washing-machine","washing-machine-alert","washing-machine-off","watch","watch-export","watch-export-variant","watch-import","watch-import-variant","watch-variant","watch-vibrate","watch-vibrate-off","water","water-alert","water-alert-outline","water-boiler","water-boiler-alert","water-boiler-auto","water-boiler-off","water-check","water-check-outline","water-circle","water-minus","water-minus-outline","water-off","water-off-outline","water-opacity","water-outline","water-percent","water-percent-alert","water-plus","water-plus-outline","water-polo","water-pump","water-pump-off","water-remove","water-remove-outline","water-sync","water-thermometer","water-thermometer-outline","water-well","water-well-outline","waterfall","watering-can","watering-can-outline","watermark","wave","wave-arrow-down","wave-arrow-up","wave-undercurrent","waveform","waves","waves-arrow-left","waves-arrow-right","waves-arrow-up","waze","weather-cloudy","weather-cloudy-alert","weather-cloudy-arrow-right","weather-cloudy-clock","weather-dust","weather-fog","weather-hail","weather-hazy","weather-hurricane","weather-hurricane-outline","weather-lightning","weather-lightning-rainy","weather-moonset","weather-moonset-down","weather-moonset-up","weather-night","weather-night-partly-cloudy","weather-partly-cloudy","weather-partly-lightning","weather-partly-rainy","weather-partly-snowy","weather-partly-snowy-rainy","weather-pouring","weather-rainy","weather-snowy","weather-snowy-heavy","weather-snowy-rainy","weather-sunny","weather-sunny-alert","weather-sunny-off","weather-sunset","weather-sunset-down","weather-sunset-up","weather-tornado","weather-windy","weather-windy-variant","web","web-box","web-cancel","web-check","web-clock","web-minus","web-off","web-plus","web-refresh","web-remove","web-sync","webcam","webcam-off","webhook","webpack","webrtc","wechat","weight","weight-gram","weight-kilogram","weight-lifter","weight-pound","whatsapp","wheel-barrow","wheelchair","wheelchair-accessibility","whistle","whistle-outline","white-balance-auto","white-balance-incandescent","white-balance-iridescent","white-balance-sunny","widgets","widgets-outline","wifi","wifi-alert","wifi-arrow-down","wifi-arrow-left","wifi-arrow-left-right","wifi-arrow-right","wifi-arrow-up","wifi-arrow-up-down","wifi-cancel","wifi-check","wifi-cog","wifi-lock","wifi-lock-open","wifi-marker","wifi-minus","wifi-off","wifi-plus","wifi-refresh","wifi-remove","wifi-settings","wifi-star","wifi-strength-1","wifi-strength-1-alert","wifi-strength-1-lock","wifi-strength-1-lock-open","wifi-strength-2","wifi-strength-2-alert","wifi-strength-2-lock","wifi-strength-2-lock-open","wifi-strength-3","wifi-strength-3-alert","wifi-strength-3-lock","wifi-strength-3-lock-open","wifi-strength-4","wifi-strength-4-alert","wifi-strength-4-lock","wifi-strength-4-lock-open","wifi-strength-alert-outline","wifi-strength-lock-open-outline","wifi-strength-lock-outline","wifi-strength-off","wifi-strength-off-outline","wifi-strength-outline","wifi-sync","wikipedia","wind-power","wind-power-outline","wind-turbine","wind-turbine-alert","wind-turbine-check","window-close","window-closed","window-closed-variant","window-maximize","window-minimize","window-open","window-open-variant","window-restore","window-shutter","window-shutter-alert","window-shutter-auto","window-shutter-cog","window-shutter-open","window-shutter-settings","windsock","wiper","wiper-wash","wiper-wash-alert","wizard-hat","wordpress","wrap","wrap-disabled","wrench","wrench-check","wrench-check-outline","wrench-clock","wrench-clock-outline","wrench-cog","wrench-cog-outline","wrench-outline","wunderlist","xamarin","xamarin-outline","xda","xing","xing-circle","xml","xmpp","y-combinator","yahoo","yammer","yeast","yelp","yin-yang","yoga","youtube","youtube-gaming","youtube-studio","youtube-subscription","youtube-tv","yurt","z-wave","zend","zigbee","zip-box","zip-box-outline","zip-disk","zodiac-aquarius","zodiac-aries","zodiac-cancer","zodiac-capricorn","zodiac-gemini","zodiac-leo","zodiac-libra","zodiac-pisces","zodiac-sagittarius","zodiac-scorpio","zodiac-taurus","zodiac-virgo"]},{prefix:"ri",info:{name:"Remix Icon",total:2704,version:"4.0.0",author:{name:"Remix Design",url:"https://github.com/Remix-Design/RemixIcon"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Remix-Design/RemixIcon/blob/master/License"},samples:["lock-2-line","mark-pen-fill","moon-line"],height:24,category:"General",palette:!1},icons:["24-hours-fill","24-hours-line","4k-fill","4k-line","a-b","account-box-fill","account-box-line","account-circle-fill","account-circle-line","account-pin-box-fill","account-pin-box-line","account-pin-circle-fill","account-pin-circle-line","add-box-fill","add-box-line","add-circle-fill","add-circle-line","add-fill","add-line","admin-fill","admin-line","advertisement-fill","advertisement-line","ai-generate","airplay-fill","airplay-line","alarm-fill","alarm-line","alarm-warning-fill","alarm-warning-line","album-fill","album-line","alert-fill","alert-line","aliens-fill","aliens-line","align-bottom","align-center","align-justify","align-left","align-right","align-top","align-vertically","alipay-fill","alipay-line","amazon-fill","amazon-line","anchor-fill","anchor-line","ancient-gate-fill","ancient-gate-line","ancient-pavilion-fill","ancient-pavilion-line","android-fill","android-line","angularjs-fill","angularjs-line","anticlockwise-2-fill","anticlockwise-2-line","anticlockwise-fill","anticlockwise-line","app-store-fill","app-store-line","apple-fill","apple-line","apps-2-fill","apps-2-line","apps-fill","apps-line","archive-2-fill","archive-2-line","archive-drawer-fill","archive-drawer-line","archive-fill","archive-line","archive-stack-fill","archive-stack-line","armchair-fill","armchair-line","arrow-down-circle-fill","arrow-down-circle-line","arrow-down-double-fill","arrow-down-double-line","arrow-down-fill","arrow-down-line","arrow-down-s-fill","arrow-down-s-line","arrow-drop-down-fill","arrow-drop-down-line","arrow-drop-left-fill","arrow-drop-left-line","arrow-drop-right-fill","arrow-drop-right-line","arrow-drop-up-fill","arrow-drop-up-line","arrow-go-back-fill","arrow-go-back-line","arrow-go-forward-fill","arrow-go-forward-line","arrow-left-circle-fill","arrow-left-circle-line","arrow-left-double-fill","arrow-left-double-line","arrow-left-down-fill","arrow-left-down-line","arrow-left-fill","arrow-left-line","arrow-left-right-fill","arrow-left-right-line","arrow-left-s-fill","arrow-left-s-line","arrow-left-up-fill","arrow-left-up-line","arrow-right-circle-fill","arrow-right-circle-line","arrow-right-double-fill","arrow-right-double-line","arrow-right-down-fill","arrow-right-down-line","arrow-right-fill","arrow-right-line","arrow-right-s-fill","arrow-right-s-line","arrow-right-up-fill","arrow-right-up-line","arrow-turn-back-fill","arrow-turn-back-line","arrow-turn-forward-fill","arrow-turn-forward-line","arrow-up-circle-fill","arrow-up-circle-line","arrow-up-double-fill","arrow-up-double-line","arrow-up-down-fill","arrow-up-down-line","arrow-up-fill","arrow-up-line","arrow-up-s-fill","arrow-up-s-line","artboard-2-fill","artboard-2-line","artboard-fill","artboard-line","article-fill","article-line","aspect-ratio-fill","aspect-ratio-line","asterisk","at-fill","at-line","attachment-2","attachment-fill","attachment-line","auction-fill","auction-line","award-fill","award-line","baidu-fill","baidu-line","ball-pen-fill","ball-pen-line","bank-card-2-fill","bank-card-2-line","bank-card-fill","bank-card-line","bank-fill","bank-line","bar-chart-2-fill","bar-chart-2-line","bar-chart-box-fill","bar-chart-box-line","bar-chart-fill","bar-chart-grouped-fill","bar-chart-grouped-line","bar-chart-horizontal-fill","bar-chart-horizontal-line","bar-chart-line","barcode-box-fill","barcode-box-line","barcode-fill","barcode-line","bard-fill","bard-line","barricade-fill","barricade-line","base-station-fill","base-station-line","basketball-fill","basketball-line","battery-2-charge-fill","battery-2-charge-line","battery-2-fill","battery-2-line","battery-charge-fill","battery-charge-line","battery-fill","battery-line","battery-low-fill","battery-low-line","battery-saver-fill","battery-saver-line","battery-share-fill","battery-share-line","bear-smile-fill","bear-smile-line","beer-fill","beer-line","behance-fill","behance-line","bell-fill","bell-line","bike-fill","bike-line","bilibili-fill","bilibili-line","bill-fill","bill-line","billiards-fill","billiards-line","bit-coin-fill","bit-coin-line","blaze-fill","blaze-line","blender-fill","blender-line","blogger-fill","blogger-line","bluetooth-connect-fill","bluetooth-connect-line","bluetooth-fill","bluetooth-line","blur-off-fill","blur-off-line","bnb-fill","bnb-line","body-scan-fill","body-scan-line","bold","book-2-fill","book-2-line","book-3-fill","book-3-line","book-fill","book-line","book-marked-fill","book-marked-line","book-open-fill","book-open-line","book-read-fill","book-read-line","booklet-fill","booklet-line","bookmark-2-fill","bookmark-2-line","bookmark-3-fill","bookmark-3-line","bookmark-fill","bookmark-line","bootstrap-fill","bootstrap-line","bowl-fill","bowl-line","box-1-fill","box-1-line","box-2-fill","box-2-line","box-3-fill","box-3-line","boxing-fill","boxing-line","braces-fill","braces-line","brackets-fill","brackets-line","brain-fill","brain-line","bread-fill","bread-line","briefcase-2-fill","briefcase-2-line","briefcase-3-fill","briefcase-3-line","briefcase-4-fill","briefcase-4-line","briefcase-5-fill","briefcase-5-line","briefcase-fill","briefcase-line","bring-forward","bring-to-front","broadcast-fill","broadcast-line","brush-2-fill","brush-2-line","brush-3-fill","brush-3-line","brush-4-fill","brush-4-line","brush-fill","brush-line","btc-fill","btc-line","bubble-chart-fill","bubble-chart-line","bug-2-fill","bug-2-line","bug-fill","bug-line","building-2-fill","building-2-line","building-3-fill","building-3-line","building-4-fill","building-4-line","building-fill","building-line","bus-2-fill","bus-2-line","bus-fill","bus-line","bus-wifi-fill","bus-wifi-line","cactus-fill","cactus-line","cake-2-fill","cake-2-line","cake-3-fill","cake-3-line","cake-fill","cake-line","calculator-fill","calculator-line","calendar-2-fill","calendar-2-line","calendar-check-fill","calendar-check-line","calendar-close-fill","calendar-close-line","calendar-event-fill","calendar-event-line","calendar-fill","calendar-line","calendar-schedule-fill","calendar-schedule-line","calendar-todo-fill","calendar-todo-line","calendar-view","camera-2-fill","camera-2-line","camera-3-fill","camera-3-line","camera-fill","camera-lens-fill","camera-lens-line","camera-line","camera-off-fill","camera-off-line","camera-switch-fill","camera-switch-line","candle-fill","candle-line","capsule-fill","capsule-line","car-fill","car-line","car-washing-fill","car-washing-line","caravan-fill","caravan-line","carousel-view","cash-fill","cash-line","cast-fill","cast-line","cellphone-fill","cellphone-line","celsius-fill","celsius-line","centos-fill","centos-line","character-recognition-fill","character-recognition-line","charging-pile-2-fill","charging-pile-2-line","charging-pile-fill","charging-pile-line","chat-1-fill","chat-1-line","chat-2-fill","chat-2-line","chat-3-fill","chat-3-line","chat-4-fill","chat-4-line","chat-check-fill","chat-check-line","chat-delete-fill","chat-delete-line","chat-download-fill","chat-download-line","chat-follow-up-fill","chat-follow-up-line","chat-forward-fill","chat-forward-line","chat-heart-fill","chat-heart-line","chat-history-fill","chat-history-line","chat-new-fill","chat-new-line","chat-off-fill","chat-off-line","chat-poll-fill","chat-poll-line","chat-private-fill","chat-private-line","chat-quote-fill","chat-quote-line","chat-settings-fill","chat-settings-line","chat-smile-2-fill","chat-smile-2-line","chat-smile-3-fill","chat-smile-3-line","chat-smile-fill","chat-smile-line","chat-thread-fill","chat-thread-line","chat-upload-fill","chat-upload-line","chat-voice-fill","chat-voice-line","check-double-fill","check-double-line","check-fill","check-line","checkbox-blank-circle-fill","checkbox-blank-circle-line","checkbox-blank-fill","checkbox-blank-line","checkbox-circle-fill","checkbox-circle-line","checkbox-fill","checkbox-indeterminate-fill","checkbox-indeterminate-line","checkbox-line","checkbox-multiple-blank-fill","checkbox-multiple-blank-line","checkbox-multiple-fill","checkbox-multiple-line","china-railway-fill","china-railway-line","chrome-fill","chrome-line","circle-fill","circle-line","clapperboard-fill","clapperboard-line","clipboard-fill","clipboard-line","clockwise-2-fill","clockwise-2-line","clockwise-fill","clockwise-line","close-circle-fill","close-circle-line","close-fill","close-line","closed-captioning-fill","closed-captioning-line","cloud-fill","cloud-line","cloud-off-fill","cloud-off-line","cloud-windy-fill","cloud-windy-line","cloudy-2-fill","cloudy-2-line","cloudy-fill","cloudy-line","code-block","code-box-fill","code-box-line","code-fill","code-line","code-s-fill","code-s-line","code-s-slash-fill","code-s-slash-line","code-view","codepen-fill","codepen-line","coin-fill","coin-line","coins-fill","coins-line","collage-fill","collage-line","color-filter-fill","color-filter-line","command-fill","command-line","community-fill","community-line","compass-2-fill","compass-2-line","compass-3-fill","compass-3-line","compass-4-fill","compass-4-line","compass-discover-fill","compass-discover-line","compass-fill","compass-line","compasses-2-fill","compasses-2-line","compasses-fill","compasses-line","computer-fill","computer-line","contacts-book-2-fill","contacts-book-2-line","contacts-book-3-fill","contacts-book-3-line","contacts-book-fill","contacts-book-line","contacts-book-upload-fill","contacts-book-upload-line","contacts-fill","contacts-line","contract-fill","contract-left-fill","contract-left-line","contract-left-right-fill","contract-left-right-line","contract-line","contract-right-fill","contract-right-line","contract-up-down-fill","contract-up-down-line","contrast-2-fill","contrast-2-line","contrast-drop-2-fill","contrast-drop-2-line","contrast-drop-fill","contrast-drop-line","contrast-fill","contrast-line","copilot-fill","copilot-line","copper-coin-fill","copper-coin-line","copper-diamond-fill","copper-diamond-line","copyleft-fill","copyleft-line","copyright-fill","copyright-line","coreos-fill","coreos-line","corner-down-left-fill","corner-down-left-line","corner-down-right-fill","corner-down-right-line","corner-left-down-fill","corner-left-down-line","corner-left-up-fill","corner-left-up-line","corner-right-down-fill","corner-right-down-line","corner-right-up-fill","corner-right-up-line","corner-up-left-double-fill","corner-up-left-double-line","corner-up-left-fill","corner-up-left-line","corner-up-right-double-fill","corner-up-right-double-line","corner-up-right-fill","corner-up-right-line","coupon-2-fill","coupon-2-line","coupon-3-fill","coupon-3-line","coupon-4-fill","coupon-4-line","coupon-5-fill","coupon-5-line","coupon-fill","coupon-line","cpu-fill","cpu-line","creative-commons-by-fill","creative-commons-by-line","creative-commons-fill","creative-commons-line","creative-commons-nc-fill","creative-commons-nc-line","creative-commons-nd-fill","creative-commons-nd-line","creative-commons-sa-fill","creative-commons-sa-line","creative-commons-zero-fill","creative-commons-zero-line","criminal-fill","criminal-line","crop-2-fill","crop-2-line","crop-fill","crop-line","cross-fill","cross-line","crosshair-2-fill","crosshair-2-line","crosshair-fill","crosshair-line","css3-fill","css3-line","cup-fill","cup-line","currency-fill","currency-line","cursor-fill","cursor-line","customer-service-2-fill","customer-service-2-line","customer-service-fill","customer-service-line","dashboard-2-fill","dashboard-2-line","dashboard-3-fill","dashboard-3-line","dashboard-fill","dashboard-line","database-2-fill","database-2-line","database-fill","database-line","delete-back-2-fill","delete-back-2-line","delete-back-fill","delete-back-line","delete-bin-2-fill","delete-bin-2-line","delete-bin-3-fill","delete-bin-3-line","delete-bin-4-fill","delete-bin-4-line","delete-bin-5-fill","delete-bin-5-line","delete-bin-6-fill","delete-bin-6-line","delete-bin-7-fill","delete-bin-7-line","delete-bin-fill","delete-bin-line","delete-column","delete-row","device-fill","device-line","device-recover-fill","device-recover-line","dice-1-fill","dice-1-line","dice-2-fill","dice-2-line","dice-3-fill","dice-3-line","dice-4-fill","dice-4-line","dice-5-fill","dice-5-line","dice-6-fill","dice-6-line","dice-fill","dice-line","dingding-fill","dingding-line","direction-fill","direction-line","disc-fill","disc-line","discord-fill","discord-line","discount-percent-fill","discount-percent-line","discuss-fill","discuss-line","dislike-fill","dislike-line","disqus-fill","disqus-line","divide-fill","divide-line","donut-chart-fill","donut-chart-line","door-closed-fill","door-closed-line","door-fill","door-line","door-lock-box-fill","door-lock-box-line","door-lock-fill","door-lock-line","door-open-fill","door-open-line","dossier-fill","dossier-line","douban-fill","douban-line","double-quotes-l","double-quotes-r","download-2-fill","download-2-line","download-cloud-2-fill","download-cloud-2-line","download-cloud-fill","download-cloud-line","download-fill","download-line","draft-fill","draft-line","drag-drop-fill","drag-drop-line","drag-move-2-fill","drag-move-2-line","drag-move-fill","drag-move-line","draggable","dribbble-fill","dribbble-line","drinks-2-fill","drinks-2-line","drinks-fill","drinks-line","drive-fill","drive-line","drizzle-fill","drizzle-line","drop-fill","drop-line","dropbox-fill","dropbox-line","dropdown-list","dual-sim-1-fill","dual-sim-1-line","dual-sim-2-fill","dual-sim-2-line","dv-fill","dv-line","dvd-fill","dvd-line","e-bike-2-fill","e-bike-2-line","e-bike-fill","e-bike-line","earth-fill","earth-line","earthquake-fill","earthquake-line","edge-fill","edge-line","edge-new-fill","edge-new-line","edit-2-fill","edit-2-line","edit-box-fill","edit-box-line","edit-circle-fill","edit-circle-line","edit-fill","edit-line","eject-fill","eject-line","emoji-sticker-fill","emoji-sticker-line","emotion-2-fill","emotion-2-line","emotion-fill","emotion-happy-fill","emotion-happy-line","emotion-laugh-fill","emotion-laugh-line","emotion-line","emotion-normal-fill","emotion-normal-line","emotion-sad-fill","emotion-sad-line","emotion-unhappy-fill","emotion-unhappy-line","empathize-fill","empathize-line","emphasis","emphasis-cn","english-input","equal-fill","equal-line","equalizer-2-fill","equalizer-2-line","equalizer-3-fill","equalizer-3-line","equalizer-fill","equalizer-line","eraser-fill","eraser-line","error-warning-fill","error-warning-line","eth-fill","eth-line","evernote-fill","evernote-line","exchange-2-fill","exchange-2-line","exchange-box-fill","exchange-box-line","exchange-cny-fill","exchange-cny-line","exchange-dollar-fill","exchange-dollar-line","exchange-fill","exchange-funds-fill","exchange-funds-line","exchange-line","expand-left-fill","expand-left-line","expand-left-right-fill","expand-left-right-line","expand-right-fill","expand-right-line","expand-up-down-fill","expand-up-down-line","export-fill","export-line","external-link-fill","external-link-line","eye-2-fill","eye-2-line","eye-close-fill","eye-close-line","eye-fill","eye-line","eye-off-fill","eye-off-line","facebook-box-fill","facebook-box-line","facebook-circle-fill","facebook-circle-line","facebook-fill","facebook-line","fahrenheit-fill","fahrenheit-line","feedback-fill","feedback-line","file-2-fill","file-2-line","file-3-fill","file-3-line","file-4-fill","file-4-line","file-add-fill","file-add-line","file-chart-2-fill","file-chart-2-line","file-chart-fill","file-chart-line","file-check-fill","file-check-line","file-close-fill","file-close-line","file-cloud-fill","file-cloud-line","file-code-fill","file-code-line","file-copy-2-fill","file-copy-2-line","file-copy-fill","file-copy-line","file-damage-fill","file-damage-line","file-download-fill","file-download-line","file-edit-fill","file-edit-line","file-excel-2-fill","file-excel-2-line","file-excel-fill","file-excel-line","file-fill","file-forbid-fill","file-forbid-line","file-gif-fill","file-gif-line","file-history-fill","file-history-line","file-hwp-fill","file-hwp-line","file-image-fill","file-image-line","file-info-fill","file-info-line","file-line","file-list-2-fill","file-list-2-line","file-list-3-fill","file-list-3-line","file-list-fill","file-list-line","file-lock-fill","file-lock-line","file-marked-fill","file-marked-line","file-music-fill","file-music-line","file-paper-2-fill","file-paper-2-line","file-paper-fill","file-paper-line","file-pdf-2-fill","file-pdf-2-line","file-pdf-fill","file-pdf-line","file-ppt-2-fill","file-ppt-2-line","file-ppt-fill","file-ppt-line","file-reduce-fill","file-reduce-line","file-search-fill","file-search-line","file-settings-fill","file-settings-line","file-shield-2-fill","file-shield-2-line","file-shield-fill","file-shield-line","file-shred-fill","file-shred-line","file-text-fill","file-text-line","file-transfer-fill","file-transfer-line","file-unknow-fill","file-unknow-line","file-upload-fill","file-upload-line","file-user-fill","file-user-line","file-video-fill","file-video-line","file-warning-fill","file-warning-line","file-word-2-fill","file-word-2-line","file-word-fill","file-word-line","file-zip-fill","file-zip-line","film-fill","film-line","filter-2-fill","filter-2-line","filter-3-fill","filter-3-line","filter-fill","filter-line","filter-off-fill","filter-off-line","find-replace-fill","find-replace-line","finder-fill","finder-line","fingerprint-2-fill","fingerprint-2-line","fingerprint-fill","fingerprint-line","fire-fill","fire-line","firefox-fill","firefox-line","first-aid-kit-fill","first-aid-kit-line","flag-2-fill","flag-2-line","flag-fill","flag-line","flashlight-fill","flashlight-line","flask-fill","flask-line","flickr-fill","flickr-line","flight-land-fill","flight-land-line","flight-takeoff-fill","flight-takeoff-line","flood-fill","flood-line","flow-chart","flower-fill","flower-line","flutter-fill","flutter-line","focus-2-fill","focus-2-line","focus-3-fill","focus-3-line","focus-fill","focus-line","focus-mode","foggy-fill","foggy-line","folder-2-fill","folder-2-line","folder-3-fill","folder-3-line","folder-4-fill","folder-4-line","folder-5-fill","folder-5-line","folder-6-fill","folder-6-line","folder-add-fill","folder-add-line","folder-chart-2-fill","folder-chart-2-line","folder-chart-fill","folder-chart-line","folder-check-fill","folder-check-line","folder-close-fill","folder-close-line","folder-cloud-fill","folder-cloud-line","folder-download-fill","folder-download-line","folder-fill","folder-forbid-fill","folder-forbid-line","folder-history-fill","folder-history-line","folder-image-fill","folder-image-line","folder-info-fill","folder-info-line","folder-keyhole-fill","folder-keyhole-line","folder-line","folder-lock-fill","folder-lock-line","folder-music-fill","folder-music-line","folder-open-fill","folder-open-line","folder-received-fill","folder-received-line","folder-reduce-fill","folder-reduce-line","folder-settings-fill","folder-settings-line","folder-shared-fill","folder-shared-line","folder-shield-2-fill","folder-shield-2-line","folder-shield-fill","folder-shield-line","folder-transfer-fill","folder-transfer-line","folder-unknow-fill","folder-unknow-line","folder-upload-fill","folder-upload-line","folder-user-fill","folder-user-line","folder-video-fill","folder-video-line","folder-warning-fill","folder-warning-line","folder-zip-fill","folder-zip-line","folders-fill","folders-line","font-color","font-family","font-mono","font-sans","font-sans-serif","font-size","font-size-2","football-fill","football-line","footprint-fill","footprint-line","forbid-2-fill","forbid-2-line","forbid-fill","forbid-line","format-clear","forward-10-fill","forward-10-line","forward-15-fill","forward-15-line","forward-30-fill","forward-30-line","forward-5-fill","forward-5-line","fridge-fill","fridge-line","fullscreen-exit-fill","fullscreen-exit-line","fullscreen-fill","fullscreen-line","function-fill","function-line","functions","funds-box-fill","funds-box-line","funds-fill","funds-line","gallery-fill","gallery-line","gallery-upload-fill","gallery-upload-line","gallery-view","gallery-view-2","game-fill","game-line","gamepad-fill","gamepad-line","gas-station-fill","gas-station-line","gatsby-fill","gatsby-line","genderless-fill","genderless-line","ghost-2-fill","ghost-2-line","ghost-fill","ghost-line","ghost-smile-fill","ghost-smile-line","gift-2-fill","gift-2-line","gift-fill","gift-line","git-branch-fill","git-branch-line","git-close-pull-request-fill","git-close-pull-request-line","git-commit-fill","git-commit-line","git-fork-fill","git-fork-line","git-merge-fill","git-merge-line","git-pull-request-fill","git-pull-request-line","git-repository-commits-fill","git-repository-commits-line","git-repository-fill","git-repository-line","git-repository-private-fill","git-repository-private-line","github-fill","github-line","gitlab-fill","gitlab-line","glasses-2-fill","glasses-2-line","glasses-fill","glasses-line","global-fill","global-line","globe-fill","globe-line","goblet-fill","goblet-line","goggles-fill","goggles-line","google-fill","google-line","google-play-fill","google-play-line","government-fill","government-line","gps-fill","gps-line","gradienter-fill","gradienter-line","graduation-cap-fill","graduation-cap-line","grid-fill","grid-line","group-2-fill","group-2-line","group-fill","group-line","guide-fill","guide-line","h-1","h-2","h-3","h-4","h-5","h-6","hail-fill","hail-line","hammer-fill","hammer-line","hand","hand-coin-fill","hand-coin-line","hand-heart-fill","hand-heart-line","hand-sanitizer-fill","hand-sanitizer-line","handbag-fill","handbag-line","hard-drive-2-fill","hard-drive-2-line","hard-drive-3-fill","hard-drive-3-line","hard-drive-fill","hard-drive-line","hashtag","haze-2-fill","haze-2-line","haze-fill","haze-line","hd-fill","hd-line","heading","headphone-fill","headphone-line","health-book-fill","health-book-line","heart-2-fill","heart-2-line","heart-3-fill","heart-3-line","heart-add-fill","heart-add-line","heart-fill","heart-line","heart-pulse-fill","heart-pulse-line","hearts-fill","hearts-line","heavy-showers-fill","heavy-showers-line","hexagon-fill","hexagon-line","history-fill","history-line","home-2-fill","home-2-line","home-3-fill","home-3-line","home-4-fill","home-4-line","home-5-fill","home-5-line","home-6-fill","home-6-line","home-7-fill","home-7-line","home-8-fill","home-8-line","home-fill","home-gear-fill","home-gear-line","home-heart-fill","home-heart-line","home-line","home-office-fill","home-office-line","home-smile-2-fill","home-smile-2-line","home-smile-fill","home-smile-line","home-wifi-fill","home-wifi-line","honor-of-kings-fill","honor-of-kings-line","honour-fill","honour-line","hospital-fill","hospital-line","hotel-bed-fill","hotel-bed-line","hotel-fill","hotel-line","hotspot-fill","hotspot-line","hourglass-2-fill","hourglass-2-line","hourglass-fill","hourglass-line","hq-fill","hq-line","html5-fill","html5-line","ie-fill","ie-line","image-2-fill","image-2-line","image-add-fill","image-add-line","image-circle-fill","image-circle-line","image-edit-fill","image-edit-line","image-fill","image-line","import-fill","import-line","inbox-2-fill","inbox-2-line","inbox-archive-fill","inbox-archive-line","inbox-fill","inbox-line","inbox-unarchive-fill","inbox-unarchive-line","increase-decrease-fill","increase-decrease-line","indent-decrease","indent-increase","indeterminate-circle-fill","indeterminate-circle-line","infinity-fill","infinity-line","info-i","information-2-fill","information-2-line","information-fill","information-line","infrared-thermometer-fill","infrared-thermometer-line","ink-bottle-fill","ink-bottle-line","input-cursor-move","input-field","input-method-fill","input-method-line","insert-column-left","insert-column-right","insert-row-bottom","insert-row-top","instagram-fill","instagram-line","install-fill","install-line","instance-fill","instance-line","invision-fill","invision-line","italic","javascript-fill","javascript-line","kakao-talk-fill","kakao-talk-line","kanban-view","kanban-view-2","key-2-fill","key-2-line","key-fill","key-line","keyboard-box-fill","keyboard-box-line","keyboard-fill","keyboard-line","keynote-fill","keynote-line","kick-fill","kick-line","knife-blood-fill","knife-blood-line","knife-fill","knife-line","landscape-fill","landscape-line","layout-2-fill","layout-2-line","layout-3-fill","layout-3-line","layout-4-fill","layout-4-line","layout-5-fill","layout-5-line","layout-6-fill","layout-6-line","layout-bottom-2-fill","layout-bottom-2-line","layout-bottom-fill","layout-bottom-line","layout-column-fill","layout-column-line","layout-fill","layout-grid-fill","layout-grid-line","layout-left-2-fill","layout-left-2-line","layout-left-fill","layout-left-line","layout-line","layout-masonry-fill","layout-masonry-line","layout-right-2-fill","layout-right-2-line","layout-right-fill","layout-right-line","layout-row-fill","layout-row-line","layout-top-2-fill","layout-top-2-line","layout-top-fill","layout-top-line","leaf-fill","leaf-line","lifebuoy-fill","lifebuoy-line","lightbulb-fill","lightbulb-flash-fill","lightbulb-flash-line","lightbulb-line","line-chart-fill","line-chart-line","line-fill","line-height","line-line","link","link-m","link-unlink","link-unlink-m","linkedin-box-fill","linkedin-box-line","linkedin-fill","linkedin-line","links-fill","links-line","list-check","list-check-2","list-check-3","list-indefinite","list-ordered","list-ordered-2","list-radio","list-settings-fill","list-settings-line","list-unordered","list-view","live-fill","live-line","loader-2-fill","loader-2-line","loader-3-fill","loader-3-line","loader-4-fill","loader-4-line","loader-5-fill","loader-5-line","loader-fill","loader-line","lock-2-fill","lock-2-line","lock-fill","lock-line","lock-password-fill","lock-password-line","lock-star-fill","lock-star-line","lock-unlock-fill","lock-unlock-line","login-box-fill","login-box-line","login-circle-fill","login-circle-line","logout-box-fill","logout-box-line","logout-box-r-fill","logout-box-r-line","logout-circle-fill","logout-circle-line","logout-circle-r-fill","logout-circle-r-line","loop-left-fill","loop-left-line","loop-right-fill","loop-right-line","luggage-cart-fill","luggage-cart-line","luggage-deposit-fill","luggage-deposit-line","lungs-fill","lungs-line","mac-fill","mac-line","macbook-fill","macbook-line","magic-fill","magic-line","mail-add-fill","mail-add-line","mail-check-fill","mail-check-line","mail-close-fill","mail-close-line","mail-download-fill","mail-download-line","mail-fill","mail-forbid-fill","mail-forbid-line","mail-line","mail-lock-fill","mail-lock-line","mail-open-fill","mail-open-line","mail-send-fill","mail-send-line","mail-settings-fill","mail-settings-line","mail-star-fill","mail-star-line","mail-unread-fill","mail-unread-line","mail-volume-fill","mail-volume-line","map-2-fill","map-2-line","map-fill","map-line","map-pin-2-fill","map-pin-2-line","map-pin-3-fill","map-pin-3-line","map-pin-4-fill","map-pin-4-line","map-pin-5-fill","map-pin-5-line","map-pin-add-fill","map-pin-add-line","map-pin-fill","map-pin-line","map-pin-range-fill","map-pin-range-line","map-pin-time-fill","map-pin-time-line","map-pin-user-fill","map-pin-user-line","mark-pen-fill","mark-pen-line","markdown-fill","markdown-line","markup-fill","markup-line","mastercard-fill","mastercard-line","mastodon-fill","mastodon-line","medal-2-fill","medal-2-line","medal-fill","medal-line","medicine-bottle-fill","medicine-bottle-line","medium-fill","medium-line","megaphone-fill","megaphone-line","memories-fill","memories-line","men-fill","men-line","mental-health-fill","mental-health-line","menu-2-fill","menu-2-line","menu-3-fill","menu-3-line","menu-4-fill","menu-4-line","menu-5-fill","menu-5-line","menu-add-fill","menu-add-line","menu-fill","menu-fold-fill","menu-fold-line","menu-line","menu-search-fill","menu-search-line","menu-unfold-fill","menu-unfold-line","merge-cells-horizontal","merge-cells-vertical","message-2-fill","message-2-line","message-3-fill","message-3-line","message-fill","message-line","messenger-fill","messenger-line","meta-fill","meta-line","meteor-fill","meteor-line","mic-2-fill","mic-2-line","mic-fill","mic-line","mic-off-fill","mic-off-line","mickey-fill","mickey-line","microscope-fill","microscope-line","microsoft-fill","microsoft-line","microsoft-loop-fill","microsoft-loop-line","mind-map","mini-program-fill","mini-program-line","mist-fill","mist-line","money-cny-box-fill","money-cny-box-line","money-cny-circle-fill","money-cny-circle-line","money-dollar-box-fill","money-dollar-box-line","money-dollar-circle-fill","money-dollar-circle-line","money-euro-box-fill","money-euro-box-line","money-euro-circle-fill","money-euro-circle-line","money-pound-box-fill","money-pound-box-line","money-pound-circle-fill","money-pound-circle-line","money-rupee-circle-fill","money-rupee-circle-line","moon-clear-fill","moon-clear-line","moon-cloudy-fill","moon-cloudy-line","moon-fill","moon-foggy-fill","moon-foggy-line","moon-line","more-2-fill","more-2-line","more-fill","more-line","motorbike-fill","motorbike-line","mouse-fill","mouse-line","movie-2-fill","movie-2-line","movie-fill","movie-line","music-2-fill","music-2-line","music-fill","music-line","mv-fill","mv-line","navigation-fill","navigation-line","netease-cloud-music-fill","netease-cloud-music-line","netflix-fill","netflix-line","news-fill","news-line","newspaper-fill","newspaper-line","nft-fill","nft-line","node-tree","notification-2-fill","notification-2-line","notification-3-fill","notification-3-line","notification-4-fill","notification-4-line","notification-badge-fill","notification-badge-line","notification-fill","notification-line","notification-off-fill","notification-off-line","notion-fill","notion-line","npmjs-fill","npmjs-line","number-0","number-1","number-2","number-3","number-4","number-5","number-6","number-7","number-8","number-9","numbers-fill","numbers-line","nurse-fill","nurse-line","octagon-fill","octagon-line","oil-fill","oil-line","omega","open-arm-fill","open-arm-line","open-source-fill","open-source-line","openai-fill","openai-line","openbase-fill","openbase-line","opera-fill","opera-line","order-play-fill","order-play-line","organization-chart","outlet-2-fill","outlet-2-line","outlet-fill","outlet-line","overline","p2p-fill","p2p-line","page-separator","pages-fill","pages-line","paint-brush-fill","paint-brush-line","paint-fill","paint-line","palette-fill","palette-line","pantone-fill","pantone-line","paragraph","parent-fill","parent-line","parentheses-fill","parentheses-line","parking-box-fill","parking-box-line","parking-fill","parking-line","pass-expired-fill","pass-expired-line","pass-pending-fill","pass-pending-line","pass-valid-fill","pass-valid-line","passport-fill","passport-line","patreon-fill","patreon-line","pause-circle-fill","pause-circle-line","pause-fill","pause-line","pause-mini-fill","pause-mini-line","paypal-fill","paypal-line","pen-nib-fill","pen-nib-line","pencil-fill","pencil-line","pencil-ruler-2-fill","pencil-ruler-2-line","pencil-ruler-fill","pencil-ruler-line","pentagon-fill","pentagon-line","percent-fill","percent-line","phone-camera-fill","phone-camera-line","phone-fill","phone-find-fill","phone-find-line","phone-line","phone-lock-fill","phone-lock-line","picture-in-picture-2-fill","picture-in-picture-2-line","picture-in-picture-exit-fill","picture-in-picture-exit-line","picture-in-picture-fill","picture-in-picture-line","pie-chart-2-fill","pie-chart-2-line","pie-chart-box-fill","pie-chart-box-line","pie-chart-fill","pie-chart-line","pin-distance-fill","pin-distance-line","ping-pong-fill","ping-pong-line","pinterest-fill","pinterest-line","pinyin-input","pixelfed-fill","pixelfed-line","plane-fill","plane-line","planet-fill","planet-line","plant-fill","plant-line","play-circle-fill","play-circle-line","play-fill","play-line","play-list-2-fill","play-list-2-line","play-list-add-fill","play-list-add-line","play-list-fill","play-list-line","play-mini-fill","play-mini-line","playstation-fill","playstation-line","plug-2-fill","plug-2-line","plug-fill","plug-line","polaroid-2-fill","polaroid-2-line","polaroid-fill","polaroid-line","police-car-fill","police-car-line","presentation-fill","presentation-line","price-tag-2-fill","price-tag-2-line","price-tag-3-fill","price-tag-3-line","price-tag-fill","price-tag-line","printer-cloud-fill","printer-cloud-line","printer-fill","printer-line","product-hunt-fill","product-hunt-line","profile-fill","profile-line","progress-1-fill","progress-1-line","progress-2-fill","progress-2-line","progress-3-fill","progress-3-line","progress-4-fill","progress-4-line","progress-5-fill","progress-5-line","progress-6-fill","progress-6-line","progress-7-fill","progress-7-line","progress-8-fill","progress-8-line","prohibited-fill","prohibited-line","projector-2-fill","projector-2-line","projector-fill","projector-line","psychotherapy-fill","psychotherapy-line","pulse-fill","pulse-line","pushpin-2-fill","pushpin-2-line","pushpin-fill","pushpin-line","puzzle-2-fill","puzzle-2-line","puzzle-fill","puzzle-line","qq-fill","qq-line","qr-code-fill","qr-code-line","qr-scan-2-fill","qr-scan-2-line","qr-scan-fill","qr-scan-line","question-answer-fill","question-answer-line","question-fill","question-line","question-mark","questionnaire-fill","questionnaire-line","quill-pen-fill","quill-pen-line","quote-text","radar-fill","radar-line","radio-2-fill","radio-2-line","radio-button-fill","radio-button-line","radio-fill","radio-line","rainbow-fill","rainbow-line","rainy-fill","rainy-line","ram-2-fill","ram-2-line","ram-fill","ram-line","reactjs-fill","reactjs-line","receipt-fill","receipt-line","record-circle-fill","record-circle-line","record-mail-fill","record-mail-line","rectangle-fill","rectangle-line","recycle-fill","recycle-line","red-packet-fill","red-packet-line","reddit-fill","reddit-line","refresh-fill","refresh-line","refund-2-fill","refund-2-line","refund-fill","refund-line","registered-fill","registered-line","remix-run-fill","remix-run-line","remixicon-fill","remixicon-line","remote-control-2-fill","remote-control-2-line","remote-control-fill","remote-control-line","repeat-2-fill","repeat-2-line","repeat-fill","repeat-line","repeat-one-fill","repeat-one-line","replay-10-fill","replay-10-line","replay-15-fill","replay-15-line","replay-30-fill","replay-30-line","replay-5-fill","replay-5-line","reply-all-fill","reply-all-line","reply-fill","reply-line","reserved-fill","reserved-line","rest-time-fill","rest-time-line","restart-fill","restart-line","restaurant-2-fill","restaurant-2-line","restaurant-fill","restaurant-line","rewind-fill","rewind-line","rewind-mini-fill","rewind-mini-line","rfid-fill","rfid-line","rhythm-fill","rhythm-line","riding-fill","riding-line","road-map-fill","road-map-line","roadster-fill","roadster-line","robot-2-fill","robot-2-line","robot-3-fill","robot-3-line","robot-fill","robot-line","rocket-2-fill","rocket-2-line","rocket-fill","rocket-line","rotate-lock-fill","rotate-lock-line","rounded-corner","route-fill","route-line","router-fill","router-line","rss-fill","rss-line","ruler-2-fill","ruler-2-line","ruler-fill","ruler-line","run-fill","run-line","safari-fill","safari-line","safe-2-fill","safe-2-line","safe-fill","safe-line","sailboat-fill","sailboat-line","save-2-fill","save-2-line","save-3-fill","save-3-line","save-fill","save-line","scales-2-fill","scales-2-line","scales-3-fill","scales-3-line","scales-fill","scales-line","scan-2-fill","scan-2-line","scan-fill","scan-line","school-fill","school-line","scissors-2-fill","scissors-2-line","scissors-cut-fill","scissors-cut-line","scissors-fill","scissors-line","screenshot-2-fill","screenshot-2-line","screenshot-fill","screenshot-line","sd-card-fill","sd-card-line","sd-card-mini-fill","sd-card-mini-line","search-2-fill","search-2-line","search-eye-fill","search-eye-line","search-fill","search-line","secure-payment-fill","secure-payment-line","seedling-fill","seedling-line","send-backward","send-plane-2-fill","send-plane-2-line","send-plane-fill","send-plane-line","send-to-back","sensor-fill","sensor-line","seo-fill","seo-line","separator","server-fill","server-line","service-fill","service-line","settings-2-fill","settings-2-line","settings-3-fill","settings-3-line","settings-4-fill","settings-4-line","settings-5-fill","settings-5-line","settings-6-fill","settings-6-line","settings-fill","settings-line","shadow-fill","shadow-line","shake-hands-fill","shake-hands-line","shape-2-fill","shape-2-line","shape-fill","shape-line","shapes-fill","shapes-line","share-2-fill","share-2-line","share-box-fill","share-box-line","share-circle-fill","share-circle-line","share-fill","share-forward-2-fill","share-forward-2-line","share-forward-box-fill","share-forward-box-line","share-forward-fill","share-forward-line","share-line","shield-check-fill","shield-check-line","shield-cross-fill","shield-cross-line","shield-fill","shield-flash-fill","shield-flash-line","shield-keyhole-fill","shield-keyhole-line","shield-line","shield-star-fill","shield-star-line","shield-user-fill","shield-user-line","shining-2-fill","shining-2-line","shining-fill","shining-line","ship-2-fill","ship-2-line","ship-fill","ship-line","shirt-fill","shirt-line","shopping-bag-2-fill","shopping-bag-2-line","shopping-bag-3-fill","shopping-bag-3-line","shopping-bag-fill","shopping-bag-line","shopping-basket-2-fill","shopping-basket-2-line","shopping-basket-fill","shopping-basket-line","shopping-cart-2-fill","shopping-cart-2-line","shopping-cart-fill","shopping-cart-line","showers-fill","showers-line","shuffle-fill","shuffle-line","shut-down-fill","shut-down-line","side-bar-fill","side-bar-line","sidebar-fold-fill","sidebar-fold-line","sidebar-unfold-fill","sidebar-unfold-line","signal-tower-fill","signal-tower-line","signal-wifi-1-fill","signal-wifi-1-line","signal-wifi-2-fill","signal-wifi-2-line","signal-wifi-3-fill","signal-wifi-3-line","signal-wifi-error-fill","signal-wifi-error-line","signal-wifi-fill","signal-wifi-line","signal-wifi-off-fill","signal-wifi-off-line","signpost-fill","signpost-line","sim-card-2-fill","sim-card-2-line","sim-card-fill","sim-card-line","single-quotes-l","single-quotes-r","sip-fill","sip-line","sketching","skip-back-fill","skip-back-line","skip-back-mini-fill","skip-back-mini-line","skip-down-fill","skip-down-line","skip-forward-fill","skip-forward-line","skip-forward-mini-fill","skip-forward-mini-line","skip-left-fill","skip-left-line","skip-right-fill","skip-right-line","skip-up-fill","skip-up-line","skull-2-fill","skull-2-line","skull-fill","skull-line","skype-fill","skype-line","slack-fill","slack-line","slash-commands","slash-commands-2","slice-fill","slice-line","slideshow-2-fill","slideshow-2-line","slideshow-3-fill","slideshow-3-line","slideshow-4-fill","slideshow-4-line","slideshow-fill","slideshow-line","slideshow-view","slow-down-fill","slow-down-line","smartphone-fill","smartphone-line","snapchat-fill","snapchat-line","snowy-fill","snowy-line","sofa-fill","sofa-line","sort-alphabet-asc","sort-alphabet-desc","sort-asc","sort-desc","sort-number-asc","sort-number-desc","sound-module-fill","sound-module-line","soundcloud-fill","soundcloud-line","space","space-ship-fill","space-ship-line","spam-2-fill","spam-2-line","spam-3-fill","spam-3-line","spam-fill","spam-line","sparkling-2-fill","sparkling-2-line","sparkling-fill","sparkling-line","speak-fill","speak-line","speaker-2-fill","speaker-2-line","speaker-3-fill","speaker-3-line","speaker-fill","speaker-line","spectrum-fill","spectrum-line","speed-fill","speed-line","speed-mini-fill","speed-mini-line","speed-up-fill","speed-up-line","split-cells-horizontal","split-cells-vertical","spotify-fill","spotify-line","spy-fill","spy-line","square-fill","square-line","stack-fill","stack-line","stack-overflow-fill","stack-overflow-line","stacked-view","stackshare-fill","stackshare-line","star-fill","star-half-fill","star-half-line","star-half-s-fill","star-half-s-line","star-line","star-s-fill","star-s-line","star-smile-fill","star-smile-line","steam-fill","steam-line","steering-2-fill","steering-2-line","steering-fill","steering-line","stethoscope-fill","stethoscope-line","sticky-note-2-fill","sticky-note-2-line","sticky-note-add-fill","sticky-note-add-line","sticky-note-fill","sticky-note-line","stock-fill","stock-line","stop-circle-fill","stop-circle-line","stop-fill","stop-line","stop-mini-fill","stop-mini-line","store-2-fill","store-2-line","store-3-fill","store-3-line","store-fill","store-line","strikethrough","strikethrough-2","subscript","subscript-2","subtract-fill","subtract-line","subway-fill","subway-line","subway-wifi-fill","subway-wifi-line","suitcase-2-fill","suitcase-2-line","suitcase-3-fill","suitcase-3-line","suitcase-fill","suitcase-line","sun-cloudy-fill","sun-cloudy-line","sun-fill","sun-foggy-fill","sun-foggy-line","sun-line","supabase-fill","supabase-line","superscript","superscript-2","surgical-mask-fill","surgical-mask-line","surround-sound-fill","surround-sound-line","survey-fill","survey-line","svelte-fill","svelte-line","swap-2-fill","swap-2-line","swap-3-fill","swap-3-line","swap-box-fill","swap-box-line","swap-fill","swap-line","switch-fill","switch-line","sword-fill","sword-line","syringe-fill","syringe-line","t-box-fill","t-box-line","t-shirt-2-fill","t-shirt-2-line","t-shirt-air-fill","t-shirt-air-line","t-shirt-fill","t-shirt-line","table-2","table-3","table-alt-fill","table-alt-line","table-fill","table-line","table-view","tablet-fill","tablet-line","takeaway-fill","takeaway-line","taobao-fill","taobao-line","tape-fill","tape-line","task-fill","task-line","taxi-fill","taxi-line","taxi-wifi-fill","taxi-wifi-line","team-fill","team-line","telegram-fill","telegram-line","temp-cold-fill","temp-cold-line","temp-hot-fill","temp-hot-line","tent-fill","tent-line","terminal-box-fill","terminal-box-line","terminal-fill","terminal-line","terminal-window-fill","terminal-window-line","test-tube-fill","test-tube-line","text","text-block","text-direction-l","text-direction-r","text-snippet","text-spacing","text-wrap","thermometer-fill","thermometer-line","threads-fill","threads-line","thumb-down-fill","thumb-down-line","thumb-up-fill","thumb-up-line","thunderstorms-fill","thunderstorms-line","ticket-2-fill","ticket-2-line","ticket-fill","ticket-line","tiktok-fill","tiktok-line","time-fill","time-line","time-zone-fill","time-zone-line","timeline-view","timer-2-fill","timer-2-line","timer-fill","timer-flash-fill","timer-flash-line","timer-line","todo-fill","todo-line","toggle-fill","toggle-line","token-swap-fill","token-swap-line","tools-fill","tools-line","tornado-fill","tornado-line","trademark-fill","trademark-line","traffic-light-fill","traffic-light-line","train-fill","train-line","train-wifi-fill","train-wifi-line","translate","translate-2","travesti-fill","travesti-line","treasure-map-fill","treasure-map-line","tree-fill","tree-line","trello-fill","trello-line","triangle-fill","triangle-line","trophy-fill","trophy-line","truck-fill","truck-line","tumblr-fill","tumblr-line","tv-2-fill","tv-2-line","tv-fill","tv-line","twitch-fill","twitch-line","twitter-fill","twitter-line","twitter-x-fill","twitter-x-line","typhoon-fill","typhoon-line","u-disk-fill","u-disk-line","ubuntu-fill","ubuntu-line","umbrella-fill","umbrella-line","underline","uninstall-fill","uninstall-line","unpin-fill","unpin-line","unsplash-fill","unsplash-line","upload-2-fill","upload-2-line","upload-cloud-2-fill","upload-cloud-2-line","upload-cloud-fill","upload-cloud-line","upload-fill","upload-line","usb-fill","usb-line","user-2-fill","user-2-line","user-3-fill","user-3-line","user-4-fill","user-4-line","user-5-fill","user-5-line","user-6-fill","user-6-line","user-add-fill","user-add-line","user-fill","user-follow-fill","user-follow-line","user-forbid-fill","user-forbid-line","user-heart-fill","user-heart-line","user-line","user-location-fill","user-location-line","user-received-2-fill","user-received-2-line","user-received-fill","user-received-line","user-search-fill","user-search-line","user-settings-fill","user-settings-line","user-shared-2-fill","user-shared-2-line","user-shared-fill","user-shared-line","user-smile-fill","user-smile-line","user-star-fill","user-star-line","user-unfollow-fill","user-unfollow-line","user-voice-fill","user-voice-line","verified-badge-fill","verified-badge-line","video-add-fill","video-add-line","video-chat-fill","video-chat-line","video-download-fill","video-download-line","video-fill","video-line","video-upload-fill","video-upload-line","vidicon-2-fill","vidicon-2-line","vidicon-fill","vidicon-line","vimeo-fill","vimeo-line","vip-crown-2-fill","vip-crown-2-line","vip-crown-fill","vip-crown-line","vip-diamond-fill","vip-diamond-line","vip-fill","vip-line","virus-fill","virus-line","visa-fill","visa-line","vk-fill","vk-line","voice-recognition-fill","voice-recognition-line","voiceprint-fill","voiceprint-line","volume-down-fill","volume-down-line","volume-mute-fill","volume-mute-line","volume-off-vibrate-fill","volume-off-vibrate-line","volume-up-fill","volume-up-line","volume-vibrate-fill","volume-vibrate-line","vuejs-fill","vuejs-line","walk-fill","walk-line","wallet-2-fill","wallet-2-line","wallet-3-fill","wallet-3-line","wallet-fill","wallet-line","water-flash-fill","water-flash-line","water-percent-fill","water-percent-line","webcam-fill","webcam-line","wechat-2-fill","wechat-2-line","wechat-channels-fill","wechat-channels-line","wechat-fill","wechat-line","wechat-pay-fill","wechat-pay-line","weibo-fill","weibo-line","whatsapp-fill","whatsapp-line","wheelchair-fill","wheelchair-line","wifi-fill","wifi-line","wifi-off-fill","wifi-off-line","window-2-fill","window-2-line","window-fill","window-line","windows-fill","windows-line","windy-fill","windy-line","wireless-charging-fill","wireless-charging-line","women-fill","women-line","wordpress-fill","wordpress-line","wubi-input","xbox-fill","xbox-line","xing-fill","xing-line","xrp-fill","xrp-line","xtz-fill","xtz-line","youtube-fill","youtube-line","yuque-fill","yuque-line","zcool-fill","zcool-line","zhihu-fill","zhihu-line","zoom-in-fill","zoom-in-line","zoom-out-fill","zoom-out-line","zzz-fill","zzz-line"]},{prefix:"logos",info:{name:"SVG Logos",total:1812,author:{name:"Gil Barbara",url:"https://github.com/gilbarbara/logos"},license:{title:"CC0",spdx:"CC0-1.0",url:"https://raw.githubusercontent.com/gilbarbara/logos/master/LICENSE.txt"},samples:["angular-icon","firefox","google-drive"],category:"Brands / Social",palette:!0},icons:["100tb","500px","6px","active-campaign","active-campaign-icon","admob","adobe-after-effects","adobe-animate","adobe-dreamweaver","adobe-illustrator","adobe-incopy","adobe-indesign","adobe-lightroom","adobe-photoshop","adobe-premiere","adobe-xd","adonisjs","adonisjs-icon","adroll","adyen","aerogear","aerospike","aerospike-icon","aha","ai","airbnb","airbnb-icon","airbrake","airflow","airflow-icon","airtable","aix","akamai","akka","alfresco","algolia","alpinejs","alpinejs-icon","altair","amazon-chime","amazon-connect","amd","amex","amex-digital","amp","amp-icon","ampersand","amplication","amplication-icon","amplitude","amplitude-icon","analog","android","android-icon","android-vertical","angellist","angular","angular-icon","ansible","ant-design","anthropic","anthropic-icon","apache","apache-camel","apache-cloudstack","apache-flink","apache-flink-icon","apache-spark","apache-superset","apache-superset-icon","api-ai","apiary","apigee","apitools","apollostack","apostrophe","appbase","appbaseio","appbaseio-icon","appcelerator","appcenter","appcenter-icon","appcircle","appcircle-icon","appcode","appdynamics","appdynamics-icon","appfog","apphub","appium","apple","apple-app-store","apple-pay","applitools","applitools-icon","appmaker","apportable","appsignal","appsignal-icon","apptentive","appveyor","appwrite","appwrite-icon","arangodb","arangodb-icon","arc","architect","architect-icon","archlinux","arduino","argo","argo-icon","arm","armory","armory-icon","asana","asana-icon","asciidoctor","assembla","assembla-icon","astro","astro-icon","astronomer","async-api","async-api-icon","atlassian","atom","atom-icon","atomic","atomic-icon","atomicojs","atomicojs-icon","aurelia","aurora","aurous","auth0","auth0-icon","authy","autocode","autoit","autoprefixer","ava","awesome","aws","aws-amplify","aws-api-gateway","aws-app-mesh","aws-appflow","aws-appsync","aws-athena","aws-aurora","aws-backup","aws-batch","aws-certificate-manager","aws-cloudformation","aws-cloudfront","aws-cloudsearch","aws-cloudtrail","aws-cloudwatch","aws-codebuild","aws-codecommit","aws-codedeploy","aws-codepipeline","aws-codestar","aws-cognito","aws-config","aws-documentdb","aws-dynamodb","aws-ec2","aws-ecs","aws-eks","aws-elastic-beanstalk","aws-elastic-cache","aws-elasticache","aws-elb","aws-eventbridge","aws-fargate","aws-glacier","aws-glue","aws-iam","aws-keyspaces","aws-kinesis","aws-kms","aws-lake-formation","aws-lambda","aws-lightsail","aws-mobilehub","aws-mq","aws-msk","aws-neptune","aws-open-search","aws-opsworks","aws-quicksight","aws-rds","aws-redshift","aws-route53","aws-s3","aws-secrets-manager","aws-ses","aws-shield","aws-sns","aws-sqs","aws-step-functions","aws-systems-manager","aws-timestream","aws-vpc","aws-waf","aws-xray","axios","azure","azure-icon","babel","backbone","backbone-icon","backerkit","baker-street","balena","bamboo","base","basecamp","basecamp-icon","basekit","baseline","bash","bash-icon","batch","beats","behance","bem","bem-2","bigpanda","bing","biomejs","bitballoon","bitbar","bitbucket","bitcoin","bitnami","bitrise","bitrise-icon","blender","blitzjs","blitzjs-icon","blocs","blogger","blossom","bluemix","blueprint","bluetooth","booqable","booqable-icon","bootstrap","bosun","botanalytics","bourbon","bower","bowtie","box","brackets","brainjs","branch","branch-icon","brandfolder","brandfolder-icon","brave","braze","braze-icon","broadcom","broadcom-icon","broccoli","brotli","browserify","browserify-icon","browserling","browserslist","browserstack","browsersync","brunch","bubble","bubble-icon","buck","buddy","buffer","bugherd","bugherd-icon","bugsee","bugsnag","bugsnag-icon","builder-io","builder-io-icon","buildkite","buildkite-icon","bulma","bun","bunny-net","bunny-net-icon","c","c-plusplus","c-sharp","cachet","caffe2","cakephp","cakephp-icon","calibre","calibre-icon","campaignmonitor","campaignmonitor-icon","campfire","canjs","capacitorjs","capacitorjs-icon","capistrano","carbide","cardano","cardano-icon","cassandra","celluloid","centos","centos-icon","certbot","ceylon","chai","chalk","changetip","chargebee","chargebee-icon","chartblocks","chef","chevereto","chroma","chromatic","chromatic-icon","chrome","chrome-web-store","cinder","circleci","cirrus","cirrus-ci","clickdeploy","clio-lang","clion","cljs","clojure","close","cloud9","cloudacademy","cloudacademy-icon","cloudant","cloudcraft","cloudera","cloudflare","cloudflare-icon","cloudflare-workers","cloudflare-workers-icon","cloudinary","cloudinary-icon","cloudlinux","clusterhq","cobalt","cockpit","cocoapods","coda","coda-icon","codacy","codebase","codebeat","codecademy","codeception","codeclimate","codeclimate-icon","codecov","codecov-icon","codefactor","codefactor-icon","codefund","codefund-icon","codeigniter","codeigniter-icon","codepen","codepen-icon","codepicnic","codepush","codersrank","codersrank-icon","coderwall","codesandbox","codesandbox-icon","codeschool","codesee","codesee-icon","codeship","codio","codium","codium-icon","codrops","coffeescript","commitizen","compass","component","componentkit","compose","compose-multiplatform","composer","conan-io","concourse","concrete5","concretecms","concretecms-icon","conda","confluence","consul","containership","contentful","convox","convox-icon","copyleft","copyleft-pirate","corda","cordova","coreos","coreos-icon","couchbase","couchdb","couchdb-icon","coursera","coveralls","coverity","cpanel","craft","craftcms","crashlytics","crateio","create-react-app","createjs","crittercism","cross-browser-testing","crossbrowsertesting","crossplane","crossplane-icon","crowdprocess","crucible","crystal","css-3","css-3-official","cssnext","cube","cube-icon","cucumber","curl","customerio","customerio-icon","cyclejs","cypress","cypress-icon","d3","dailydev","dailydev-icon","daisyui","danfo","dapulse","dart","dashlane","dashlane-icon","dat","data-station","database-labs","datadog","datadog-icon","datagrip","datasette","datasette-icon","dataspell","datocms","datocms-icon","dbt","dbt-icon","dcos","dcos-icon","debian","delicious","delicious-burger","delighted","delighted-icon","deno","dependabot","dependencyci","deploy","deployhq","deployhq-icon","deppbot","derby","descript","descript-icon","designernews","desk","dev","dev-icon","deviantart","deviantart-icon","dgraph","dgraph-icon","dialogflow","digital-ocean","digital-ocean-icon","dimer","dinersclub","discord","discord-icon","discourse","discourse-icon","discover","disqus","distelli","divshot","django","django-icon","dockbit","docker","docker-icon","doctrine","docusaurus","dojo","dojo-icon","dojo-toolkit","dolt","dotcloud","dotnet","doubleclick","dovetail","dovetail-icon","dreamfactory","dreamhost","dribbble","dribbble-icon","drift","drip","drizzle","drizzle-icon","drone","drone-icon","drools","drools-icon","dropbox","dropmark","dropzone","drupal","drupal-icon","duckduckgo","dynatrace","dynatrace-icon","dyndns","eager","ebanx","eclipse","eclipse-icon","ecma","edgedb","edgio","edgio-icon","editorconfig","effect","effect-icon","effector","egghead","elasticbox","elasticpath","elasticpath-icon","elasticsearch","electron","element","elemental-ui","elementary","eleventy","ello","elm","elm-classic","elo","emacs","emacs-classic","embedly","ember","ember-tomster","emmet","enact","engine-yard","engine-yard-icon","envato","envoy","envoy-icon","envoyer","envoyproxy","enyo","epsagon","epsagon-icon","eraser","eraser-icon","erlang","es6","esbuild","esdoc","eslint","eslint-old","eta","eta-icon","etcd","ethereum","ethereum-color","ethers","ethnio","eventbrite","eventbrite-icon","eventsentry","evergreen","evergreen-icon","expo","expo-icon","exponent","express","fabric","fabric-io","facebook","falcor","famous","fastapi","fastapi-icon","fastify","fastify-icon","fastlane","fastly","fauna","fauna-icon","feathersjs","fedora","fetch","ffmpeg","ffmpeg-icon","figma","firebase","firefox","flannel","flarum","flask","flat-ui","flattr","flattr-icon","fleep","flexible-gs","flickr","flickr-icon","flight","flocker","floodio","flow","flowxo","floydhub","flutter","flux","fluxxor","fly","fly-icon","flyjs","fogbugz","fogbugz-icon","fomo","fomo-icon","font-awesome","forest","forestadmin","forestadmin-icon","forever","formkeep","fortran","foundation","foundationdb","foundationdb-icon","framed","framer","framework7","framework7-icon","freebsd","freedcamp","freedcamp-icon","freedomdefined","fresh","frontapp","fsharp","fuchsia","galliumos","game-analytics","game-analytics-icon","ganache","ganache-icon","gatsby","gaugeio","geekbot","geetest","geetest-icon","get-satisfaction","getyourguide","ghost","giantswarm","gin","git","git-icon","gitboard","github","github-actions","github-copilot","github-icon","github-octocat","gitkraken","gitlab","gitter","gitup","glamorous","glamorous-icon","gleam","glimmerjs","glint","glitch","glitch-icon","gnome","gnome-icon","gnu","gnu-net","gnupg","gnupg-icon","go","gocd","godot","godot-icon","gohorse","goland","gomix","google","google-2014","google-360suite","google-admob","google-ads","google-adsense","google-adwords","google-analytics","google-bard","google-bard-icon","google-calendar","google-cloud","google-cloud-functions","google-cloud-platform","google-cloud-run","google-currents","google-data-studio","google-developers","google-developers-icon","google-domains","google-domains-icon","google-drive","google-fit","google-gemini","google-gmail","google-gsuite","google-home","google-icon","google-inbox","google-keep","google-maps","google-marketing-platform","google-meet","google-one","google-optimize","google-palm","google-pay","google-pay-icon","google-photos","google-play","google-play-console","google-play-console-icon","google-play-icon","google-plus","google-search-console","google-tag-manager","google-wallet","google-workspace","gopher","gordon","gradio","gradio-icon","gradle","grafana","grails","grammarly","grammarly-icon","grape","graphcool","graphene","graphql","gratipay","grav","gravatar","gravatar-icon","graylog","graylog-icon","greensock","greensock-icon","gridsome","gridsome-icon","grommet","groovehq","grove","growth-book","growth-book-icon","grpc","grunt","gulp","gunicorn","gunjs","gusto","gwt","hack","hacker-one","hadoop","haiku","haiku-icon","haml","hanami","handlebars","hapi","hardhat","hardhat-icon","harness","harness-icon","harrow","hashicorp","hashicorp-icon","hashnode","hashnode-icon","haskell","haskell-icon","hasura","hasura-icon","haxe","haxl","hbase","hcaptcha","hcaptcha-icon","headlessui","headlessui-icon","heap","heap-icon","helm","helpscout","helpscout-icon","hermes","heroku","heroku-icon","heroku-redis","heron","hexo","hhvm","hibernate","highcharts","hipchat","hipercard","hoa","homebrew","hono","hoodie","hookstate","hootsuite","hootsuite-icon","horizon","hosted-graphite","hostgator","hostgator-icon","hotjar","hotjar-icon","houndci","html-5","html5-boilerplate","httpie","httpie-icon","hubspot","hugging-face","hugging-face-icon","huggy","hugo","humongous","hyper","hyperapp","ibm","ieee","ietf","ifttt","imagemin","imba","imba-icon","immer","immer-icon","immutable","impala","importio","incident","incident-icon","infer","inferno","influxdb","influxdb-icon","ink","insomnia","instagram","instagram-icon","intel","intellij-idea","intercom","intercom-icon","internetexplorer","invision","invision-icon","io","ionic","ionic-icon","ios","iron","iron-icon","itsalive","itsalive-icon","jade","jamstack","jamstack-icon","jasmine","java","javascript","jcb","jekyll","jelastic","jelastic-icon","jenkins","jest","jetbrains","jetbrains-icon","jetbrains-space","jetbrains-space-icon","jfrog","jhipster","jhipster-icon","jira","joomla","jotai","jquery","jquery-mobile","jruby","jsbin","jscs","jsdelivr","jsdom","jsfiddle","json","json-ld","jspm","jss","juju","julia","jupyter","jwt","jwt-icon","kafka","kafka-icon","kaios","kallithea","karma","katalon","katalon-icon","kde","keen","kemal","keycdn","keycdn-icon","keydb","keydb-icon","keymetrics","keystonejs","khan-academy","khan-academy-icon","kibana","kickstarter","kickstarter-icon","kinto","kinto-icon","kinvey","kirby","kirby-icon","kissmetrics","kissmetrics-monochromatic","kitematic","kloudless","knex","knockout","koa","kong","kong-icon","kontena","kops","kore","koreio","kotlin","kotlin-icon","kraken","krakenjs","ktor","ktor-icon","kubernetes","kustomer","languagetool","laravel","lastfm","lateral","lateral-icon","launchdarkly","launchdarkly-icon","launchkit","launchrock","leaflet","leankit","leankit-icon","lerna","less","lets-cloud","letsencrypt","leveldb","lexical","lexical-icon","librato","liftweb","lighthouse","lightstep","lightstep-icon","lighttpd","linear","linear-icon","linkedin","linkedin-icon","linkerd","linode","linux-mint","linux-tux","lit","lit-icon","litmus","loader","locent","lodash","logentries","loggly","logmatic","logstash","lookback","looker","looker-icon","loom","loom-icon","loopback","loopback-icon","losant","lotus","lua","lucene","lucene-net","lumen","lynda","macos","macosx","madge","maestro","mageia","magento","magneto","mailchimp","mailchimp-freddie","maildeveloper","mailgun","mailgun-icon","mailjet","mailjet-icon","malinajs","mandrill","mandrill-shield","manifoldjs","manjaro","mantine","mantine-icon","mantl","manuscript","mapbox","mapbox-icon","maps-me","mapzen","mapzen-icon","mariadb","mariadb-icon","marionette","markdown","marko","marvel","mastercard","mastodon","mastodon-icon","material-ui","materializecss","matomo","matomo-icon","matplotlib","matplotlib-icon","matter","matter-icon","mattermost","mattermost-icon","mautic","mautic-icon","maven","maxcdn","mdn","mdx","meanio","medium","medium-icon","medusa","medusa-icon","meilisearch","memcached","memgraph","memsql","memsql-icon","mention","mercurial","mern","mesos","mesosphere","messenger","meta","meta-icon","metabase","metamask","metamask-icon","meteor","meteor-icon","micro","micro-icon","micro-python","microcosm","micron","micron-icon","microsoft","microsoft-azure","microsoft-edge","microsoft-icon","microsoft-onedrive","microsoft-power-bi","microsoft-teams","microsoft-windows","microsoft-windows-icon","mida","mida-icon","middleman","midjourney","milligram","million","million-icon","milvus","milvus-icon","mindsdb","mindsdb-icon","mint-lang","mio","mist","mistral-ai","mistral-ai-icon","mithril","mixmax","mixpanel","mlab","mobx","mocha","mockflow","mockflow-icon","modernizr","modulus","modx","modx-icon","moltin","moltin-icon","momentjs","monday","monday-icon","monero","mongodb","mongodb-icon","mongolab","mono","moon","mootools","morpheus","morpheus-icon","mozilla","mparticle","mparticle-icon","mps","mps-icon","msw","msw-icon","multipass","mysql","mysql-icon","myth","naiveui","namecheap","nanonets","nasm","nativescript","nats","nats-icon","neat","neo4j","neon","neon-icon","neonmetrics","neovim","nestjs","net","netbeans","netflix","netflix-icon","netlify","netlify-icon","netuitive","neverinstall","neverinstall-icon","new-relic","new-relic-icon","nextjs","nextjs-icon","nginx","ngrok","nhost","nhost-icon","nightwatch","nim-lang","nocodb","nodal","node-sass","nodebots","nodejitsu","nodejs","nodejs-icon","nodejs-icon-alt","nodemon","nodeos","nodewebkit","nomad","nomad-icon","notion","notion-icon","now","noysi","npm","npm-2","npm-icon","nuclide","numpy","nuodb","nuxt","nuxt-icon","nvidia","nvm","nx","oauth","observablehq","obsidian","obsidian-icon","ocaml","octodns","octopus-deploy","okta","okta-icon","olapic","olark","onesignal","opbeat","open-graph","open-zeppelin","open-zeppelin-icon","openai","openai-icon","openapi","openapi-icon","opencart","opencollective","opencv","openframeworks","opengl","openjs-foundation","openjs-foundation-icon","openlayers","opensearch","opensearch-icon","openshift","opensource","openstack","openstack-icon","opentelemetry","opentelemetry-icon","opera","opsee","opsgenie","opsmatic","optimizely","optimizely-icon","oracle","oreilly","origami","origin","oshw","osquery","otto","overloop","overloop-icon","p5js","packer","pagekit","pagekite","pagerduty","pagerduty-icon","panda","pandacss","pandacss-icon","pandas","pandas-icon","parcel","parcel-icon","parse","parsehub","partytown","partytown-icon","passbolt","passbolt-icon","passport","patreon","payload","paypal","peer5","pepperoni","percona","percy","percy-icon","perf-rocks","periscope","perl","phalcon","phoenix","phonegap","phonegap-bot","php","php-alt","phpstorm","picasa","pinecone","pinecone-icon","pingdom","pingy","pinia","pinterest","pipedream","pipedrive","pipefy","pivotal-tracker","pixate","pixelapse","pixijs","pkg","planetscale","planless","planless-icon","plasmic","plastic-scm","platformio","play","playwright","pluralsight","pluralsight-icon","pm2","pm2-icon","pnpm","pocket-base","podio","poeditor","polymer","positionly","postcss","postgraphile","postgresql","posthog","posthog-icon","postman","postman-icon","pouchdb","preact","precursor","prerender","prerender-icon","prestashop","presto","presto-icon","prettier","prisma","prismic","prismic-icon","processing","processwire","processwire-icon","productboard","productboard-icon","producteev","producthunt","progress","prometheus","promises","proofy","prospect","protoio","protonet","protractor","prott","pug","pulumi","pulumi-icon","pumpkindb","puppet","puppet-icon","puppeteer","puppy-linux","purescript","purescript-icon","pushbullet","pusher","pusher-icon","pwa","pycharm","pypi","pyscript","python","pytorch","pytorch-icon","pyup","q","qdrant","qdrant-icon","qlik","qordoba","qt","qualcomm","quarkus","quarkus-icon","quay","quobyte","quora","qwik","qwik-icon","r-lang","rabbitmq","rabbitmq-icon","rackspace","rackspace-icon","rails","ramda","raml","rancher","rancher-icon","randomcolor","raphael","raspberry-pi","rax","react","react-query","react-query-icon","react-router","react-spring","react-styleguidist","reactivex","realm","reapp","reasonml","reasonml-icon","recaptcha","recoil","recoil-icon","reddit","reddit-icon","redhat","redhat-icon","redis","redsmin","redspread","redux","redux-observable","redux-saga","redwoodjs","refactor","reindex","relay","release","remergr","remix","remix-icon","renovatebot","replay","replay-icon","replit","replit-icon","require","rescript","rescript-icon","rest","rest-li","rethinkdb","retool","retool-icon","riak","rider","riot","risingwave","risingwave-icon","rkt","rocket-chat","rocket-chat-icon","rocksdb","rocky-linux","rocky-linux-icon","rollbar","rollbar-icon","rollupjs","rome","rome-icon","ros","rsa","rsmq","rubocop","ruby","rubygems","rubymine","rum","run-above","runnable","runscope","rush","rush-icon","rust","rxdb","safari","sagui","sails","salesforce","saltstack","sameroom","samsung","sanity","sap","sass","sass-doc","saucelabs","scala","scaledrone","scaphold","scribd","scribd-icon","seaborn","seaborn-icon","section","section-icon","sectionio","segment","segment-icon","selenium","semantic-release","semantic-ui","semantic-web","semaphore","semaphoreci","sencha","sendgrid","sendgrid-icon","seneca","sensu","sensu-icon","sentry","sentry-icon","sequelize","serveless","serverless","sherlock","sherlock-icon","shields","shipit","shippable","shogun","shopify","shortcut","shortcut-icon","sidekick","sidekiq","sidekiq-icon","signal","sigstore","sigstore-icon","sinatra","singlestore","singlestore-icon","siphon","sitepoint","sk-hynix","skaffolder","sketch","sketchapp","skylight","skype","slack","slack-icon","slides","slim","smartling","smashingmagazine","snap-svg","snaplet","snaplet-icon","snowflake","snowflake-icon","snowpack","snupps","snyk","socket-io","solarwinds","solid","solidity","solidjs","solidjs-icon","solr","sonarcloud","sonarcloud-icon","sonarlint","sonarlint-icon","sonarqube","soundcloud","sourcegraph","sourcetrail","sourcetree","spark","sparkcentral","sparkpost","speakerdeck","speedcurve","spidermonkey","spidermonkey-icon","spinnaker","splunk","spotify","spotify-icon","spree","spring","spring-icon","sqldep","sqlite","square","squarespace","sst","sst-icon","stability-ai","stability-ai-icon","stackbit","stackbit-icon","stackblitz","stackblitz-icon","stackoverflow","stackoverflow-icon","stackshare","stacksmith","stash","stately","stately-icon","statuspage","stdlib","stdlib-icon","steam","steemit","stenciljs","stenciljs-icon","stepsize","stepsize-icon","steroids","stetho","stickermule","stigg","stigg-icon","stimulus","stimulus-icon","stitch","stoplight","stormpath","storyblocks","storyblocks-icon","storyblok","storyblok-icon","storybook","storybook-icon","strapi","strapi-icon","streamlit","strider","stripe","strongloop","struts","styleci","stylefmt","stylelint","stylis","stylus","stytch","sublimetext","sublimetext-icon","subversion","sugarss","supabase","supabase-icon","supergiant","supersonic","supertokens","supertokens-icon","supportkit","surge","surrealdb","surrealdb-icon","survicate","survicate-icon","suse","susy","svelte","svelte-icon","svelte-kit","svg","svgator","swagger","swc","swift","swiftype","swimm","swr","symfony","sysdig","sysdig-icon","t3","tableau","tableau-icon","taiga","tailwindcss","tailwindcss-icon","tapcart","tapcart-icon","targetprocess","taskade","taskade-icon","tastejs","tauri","tealium","teamcity","teamgrid","teamwork","teamwork-icon","tectonic","telegram","tensorflow","terminal","terraform","terraform-icon","terser","terser-icon","testcafe","testing-library","testlodge","testmunk","thimble","threejs","thymeleaf","thymeleaf-icon","tidal","tidal-icon","tiktok","tiktok-icon","titon","tnw","todoist","todoist-icon","todomvc","tomcat","toml","tor","tor-browser","torus","traackr","trac","trace","travis-ci","travis-ci-monochrome","treasuredata","treasuredata-icon","treehouse","treehouse-icon","trello","trpc","truffle","truffle-icon","tsmc","tsnode","tsu","tsuru","tumblr","tumblr-icon","tunein","tuple","turbopack","turbopack-icon","turborepo","turborepo-icon","turret","tutsplus","tutum","twilio","twilio-icon","twitch","twitter","typeform","typeform-icon","typeorm","typescript","typescript-icon","typescript-icon-round","typesense","typesense-icon","typo3","typo3-icon","ubuntu","udacity","udacity-icon","udemy","udemy-icon","uikit","umu","unbounce","unbounce-icon","undertow","unionpay","unitjs","unito","unito-icon","unity","unocss","unrealengine","unrealengine-icon","upcase","upstash","upstash-icon","upwork","user-testing","user-testing-icon","uservoice","uservoice-icon","uwsgi","v8","v8-ignition","v8-turbofan","vaadin","vaddy","vagrant","vagrant-icon","vault","vault-icon","vector","vector-timber","vercel","vercel-icon","verdaccio","verdaccio-icon","vernemq","victorops","vim","vimeo","vimeo-icon","vine","visa","visaelectron","visual-studio","visual-studio-code","visual-website-optimizer","vitejs","vitess","vitest","vivaldi","vivaldi-icon","vlang","void","vue","vuetifyjs","vueuse","vulkan","vultr","vultr-icon","vwo","w3c","waffle","waffle-icon","wagtail","wakatime","walkme","watchman","waypoint","waypoint-icon","wayscript","wayscript-icon","wearos","weave","web-dev","web-dev-icon","web-fundamentals","web3js","webassembly","webcomponents","webdriverio","webflow","webgpu","webhint","webhint-icon","webhooks","webix","webix-icon","webkit","webmin","webpack","webplatform","webrtc","websocket","webstorm","webtask","webtorrent","weebly","wercker","whalar","whalar-icon","whatsapp","whatsapp-icon","whatsapp-monochrome-icon","whatwg","wicket","wicket-icon","wifi","wildfly","windi-css","winglang","winglang-icon","wire","wiredtree","wix","wmr","woocommerce","woocommerce-icon","woopra","wordpress","wordpress-icon","wordpress-icon-alt","workboard","workos","workos-icon","workplace","workplace-icon","wpengine","wufoo","x-ray-goggles","xamarin","xampp","xata","xata-icon","xcart","xcode","xero","xplenty","xray-for-jira","xstate","xtend","xwiki","xwiki-icon","yahoo","yaml","yammer","yandex-ru","yarn","ycombinator","yeoman","yii","youtrack","youtube","youtube-icon","yugabyte","yugabyte-icon","zabbix","zapier","zapier-icon","zeit","zeit-icon","zend-framework","zendesk","zendesk-icon","zenhub","zenhub-icon","zeplin","zeroheight","zeroheight-icon","zest","zig","zigbee","zod","zoho","zoom","zoom-icon","zorin-os","zsh","zube","zulip","zulip-icon","zwave"]},{prefix:"twemoji",info:{name:"Twitter Emoji",total:3668,author:{name:"Twitter",url:"https://github.com/twitter/twemoji"},license:{title:"CC BY 4.0",spdx:"CC-BY-4.0",url:"https://creativecommons.org/licenses/by/4.0/"},samples:["anguished-face","duck","crossed-swords"],height:36,displayHeight:18,category:"Emoji",palette:!0},icons:["1st-place-medal","2nd-place-medal","3rd-place-medal","a-button-blood-type","ab-button-blood-type","abacus","accordion","adhesive-bandage","admission-tickets","adult","adult-dark-skin-tone","adult-light-skin-tone","adult-medium-dark-skin-tone","adult-medium-light-skin-tone","adult-medium-skin-tone","aerial-tramway","airplane","airplane-arrival","airplane-departure","alarm-clock","alembic","alien","alien-monster","ambulance","american-football","amphora","anatomical-heart","anchor","anger-symbol","angry-face","angry-face-with-horns","anguished-face","ant","antenna-bars","anxious-face-with-sweat","aquarius","aries","articulated-lorry","artist","artist-dark-skin-tone","artist-light-skin-tone","artist-medium-dark-skin-tone","artist-medium-light-skin-tone","artist-medium-skin-tone","artist-palette","astonished-face","astronaut","astronaut-dark-skin-tone","astronaut-light-skin-tone","astronaut-medium-dark-skin-tone","astronaut-medium-light-skin-tone","astronaut-medium-skin-tone","atm-sign","atom-symbol","auto-rickshaw","automobile","avocado","axe","b-button-blood-type","baby","baby-angel","baby-angel-dark-skin-tone","baby-angel-light-skin-tone","baby-angel-medium-dark-skin-tone","baby-angel-medium-light-skin-tone","baby-angel-medium-skin-tone","baby-bottle","baby-chick","baby-dark-skin-tone","baby-light-skin-tone","baby-medium-dark-skin-tone","baby-medium-light-skin-tone","baby-medium-skin-tone","baby-symbol","back-arrow","backhand-index-pointing-down","backhand-index-pointing-down-dark-skin-tone","backhand-index-pointing-down-light-skin-tone","backhand-index-pointing-down-medium-dark-skin-tone","backhand-index-pointing-down-medium-light-skin-tone","backhand-index-pointing-down-medium-skin-tone","backhand-index-pointing-left","backhand-index-pointing-left-dark-skin-tone","backhand-index-pointing-left-light-skin-tone","backhand-index-pointing-left-medium-dark-skin-tone","backhand-index-pointing-left-medium-light-skin-tone","backhand-index-pointing-left-medium-skin-tone","backhand-index-pointing-right","backhand-index-pointing-right-dark-skin-tone","backhand-index-pointing-right-light-skin-tone","backhand-index-pointing-right-medium-dark-skin-tone","backhand-index-pointing-right-medium-light-skin-tone","backhand-index-pointing-right-medium-skin-tone","backhand-index-pointing-up","backhand-index-pointing-up-dark-skin-tone","backhand-index-pointing-up-light-skin-tone","backhand-index-pointing-up-medium-dark-skin-tone","backhand-index-pointing-up-medium-light-skin-tone","backhand-index-pointing-up-medium-skin-tone","backpack","bacon","badger","badminton","bagel","baggage-claim","baguette-bread","balance-scale","bald","ballet-shoes","balloon","ballot-box-with-ballot","banana","banjo","bank","bar-chart","barber-pole","baseball","basket","basketball","bat","bathtub","battery","beach-with-umbrella","beaming-face-with-smiling-eyes","beans","bear","bearded-person","bearded-person-dark-skin-tone","bearded-person-light-skin-tone","bearded-person-medium-dark-skin-tone","bearded-person-medium-light-skin-tone","bearded-person-medium-skin-tone","beating-heart","beaver","bed","beer-mug","beetle","bell","bell-pepper","bell-with-slash","bellhop-bell","bento-box","beverage-box","bicycle","bikini","billed-cap","biohazard","bird","birthday-cake","bison","biting-lip","black-cat","black-circle","black-flag","black-heart","black-large-square","black-medium-small-square","black-medium-square","black-nib","black-small-square","black-square-button","blossom","blowfish","blue-book","blue-circle","blue-heart","blue-square","blueberries","boar","bomb","bone","bookmark","bookmark-tabs","books","boomerang","bottle-with-popping-cork","bouquet","bow-and-arrow","bowl-with-spoon","bowling","boxing-glove","boy","boy-dark-skin-tone","boy-light-skin-tone","boy-medium-dark-skin-tone","boy-medium-light-skin-tone","boy-medium-skin-tone","brain","bread","breast-feeding","breast-feeding-dark-skin-tone","breast-feeding-light-skin-tone","breast-feeding-medium-dark-skin-tone","breast-feeding-medium-light-skin-tone","breast-feeding-medium-skin-tone","brick","bridge-at-night","briefcase","briefs","bright-button","broccoli","broken-heart","broom","brown-circle","brown-heart","brown-square","bubble-tea","bubbles","bucket","bug","building-construction","bullet-train","bullseye","burrito","bus","bus-stop","bust-in-silhouette","busts-in-silhouette","butter","butterfly","cactus","calendar","call-me-hand","call-me-hand-dark-skin-tone","call-me-hand-light-skin-tone","call-me-hand-medium-dark-skin-tone","call-me-hand-medium-light-skin-tone","call-me-hand-medium-skin-tone","camel","camera","camera-with-flash","camping","cancer","candle","candy","canned-food","canoe","capricorn","card-file-box","card-index","card-index-dividers","carousel-horse","carp-streamer","carpentry-saw","carrot","castle","cat","cat-face","cat-with-tears-of-joy","cat-with-wry-smile","chains","chair","chart-decreasing","chart-increasing","chart-increasing-with-yen","check-box-with-check","check-mark","check-mark-button","cheese-wedge","chequered-flag","cherries","cherry-blossom","chess-pawn","chestnut","chicken","child","child-dark-skin-tone","child-light-skin-tone","child-medium-dark-skin-tone","child-medium-light-skin-tone","child-medium-skin-tone","children-crossing","chipmunk","chocolate-bar","chopsticks","christmas-tree","church","cigarette","cinema","circled-m","circus-tent","cityscape","cityscape-at-dusk","cl-button","clamp","clapper-board","clapping-hands","clapping-hands-dark-skin-tone","clapping-hands-light-skin-tone","clapping-hands-medium-dark-skin-tone","clapping-hands-medium-light-skin-tone","clapping-hands-medium-skin-tone","classical-building","clinking-beer-mugs","clinking-glasses","clipboard","clockwise-vertical-arrows","closed-book","closed-mailbox-with-lowered-flag","closed-mailbox-with-raised-flag","closed-umbrella","cloud","cloud-with-lightning","cloud-with-lightning-and-rain","cloud-with-rain","cloud-with-snow","clown-face","club-suit","clutch-bag","coat","cockroach","cocktail-glass","coconut","coffin","coin","cold-face","collision","comet","compass","computer-disk","computer-mouse","confetti-ball","confounded-face","confused-face","construction","construction-worker","construction-worker-dark-skin-tone","construction-worker-light-skin-tone","construction-worker-medium-dark-skin-tone","construction-worker-medium-light-skin-tone","construction-worker-medium-skin-tone","control-knobs","convenience-store","cook","cook-dark-skin-tone","cook-light-skin-tone","cook-medium-dark-skin-tone","cook-medium-light-skin-tone","cook-medium-skin-tone","cooked-rice","cookie","cooking","cool-button","copyright","coral","couch-and-lamp","counterclockwise-arrows-button","couple-with-heart","couple-with-heart-dark-skin-tone","couple-with-heart-light-skin-tone","couple-with-heart-man-man","couple-with-heart-man-man-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-light-skin-tone","couple-with-heart-man-man-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-medium-dark-skin-tone","couple-with-heart-medium-light-skin-tone","couple-with-heart-medium-skin-tone","couple-with-heart-person-person-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man","couple-with-heart-woman-man-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman","couple-with-heart-woman-woman-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-light-skin-tone","cow","cow-face","cowboy-hat-face","crab","crayon","credit-card","crescent-moon","cricket","cricket-game","crocodile","croissant","cross-mark","cross-mark-button","crossed-fingers","crossed-fingers-dark-skin-tone","crossed-fingers-light-skin-tone","crossed-fingers-medium-dark-skin-tone","crossed-fingers-medium-light-skin-tone","crossed-fingers-medium-skin-tone","crossed-flags","crossed-swords","crown","crutch","crying-cat","crying-face","crystal-ball","cucumber","cup-with-straw","cupcake","curling-stone","curly-haired","curly-loop","currency-exchange","curry-rice","custard","customs","cut-of-meat","cyclone","dagger","dango","dark-skin-tone","dashing-away","deaf-man","deaf-man-dark-skin-tone","deaf-man-light-skin-tone","deaf-man-medium-dark-skin-tone","deaf-man-medium-light-skin-tone","deaf-man-medium-skin-tone","deaf-person","deaf-person-dark-skin-tone","deaf-person-light-skin-tone","deaf-person-medium-dark-skin-tone","deaf-person-medium-light-skin-tone","deaf-person-medium-skin-tone","deaf-woman","deaf-woman-dark-skin-tone","deaf-woman-light-skin-tone","deaf-woman-medium-dark-skin-tone","deaf-woman-medium-light-skin-tone","deaf-woman-medium-skin-tone","deciduous-tree","deer","delivery-truck","department-store","derelict-house","desert","desert-island","desktop-computer","detective","detective-dark-skin-tone","detective-light-skin-tone","detective-medium-dark-skin-tone","detective-medium-light-skin-tone","detective-medium-skin-tone","diamond-suit","diamond-with-a-dot","dim-button","disappointed-face","disguised-face","divide","diving-mask","diya-lamp","dizzy","dna","dodo","dog","dog-face","dollar-banknote","dolphin","door","dotted-line-face","dotted-six-pointed-star","double-curly-loop","double-exclamation-mark","doughnut","dove","down-arrow","down-left-arrow","down-right-arrow","downcast-face-with-sweat","downwards-button","dragon","dragon-face","dress","drooling-face","drop-of-blood","droplet","drum","duck","dumpling","dvd","e-mail","eagle","ear","ear-dark-skin-tone","ear-light-skin-tone","ear-medium-dark-skin-tone","ear-medium-light-skin-tone","ear-medium-skin-tone","ear-of-corn","ear-with-hearing-aid","ear-with-hearing-aid-dark-skin-tone","ear-with-hearing-aid-light-skin-tone","ear-with-hearing-aid-medium-dark-skin-tone","ear-with-hearing-aid-medium-light-skin-tone","ear-with-hearing-aid-medium-skin-tone","egg","eggplant","eight-oclock","eight-pointed-star","eight-spoked-asterisk","eight-thirty","eject-button","electric-plug","elephant","elevator","eleven-oclock","eleven-thirty","elf","elf-dark-skin-tone","elf-light-skin-tone","elf-medium-dark-skin-tone","elf-medium-light-skin-tone","elf-medium-skin-tone","empty-nest","end-arrow","enraged-face","envelope","envelope-with-arrow","euro-banknote","evergreen-tree","ewe","exclamation-question-mark","exploding-head","expressionless-face","eye","eye-in-speech-bubble","eyes","face-blowing-a-kiss","face-exhaling","face-holding-back-tears","face-in-clouds","face-savoring-food","face-screaming-in-fear","face-vomiting","face-with-crossed-out-eyes","face-with-diagonal-mouth","face-with-hand-over-mouth","face-with-head-bandage","face-with-medical-mask","face-with-monocle","face-with-open-eyes-and-hand-over-mouth","face-with-open-mouth","face-with-peeking-eye","face-with-raised-eyebrow","face-with-rolling-eyes","face-with-spiral-eyes","face-with-steam-from-nose","face-with-symbols-on-mouth","face-with-tears-of-joy","face-with-thermometer","face-with-tongue","face-without-mouth","factory","factory-worker","factory-worker-dark-skin-tone","factory-worker-light-skin-tone","factory-worker-medium-dark-skin-tone","factory-worker-medium-light-skin-tone","factory-worker-medium-skin-tone","fairy","fairy-dark-skin-tone","fairy-light-skin-tone","fairy-medium-dark-skin-tone","fairy-medium-light-skin-tone","fairy-medium-skin-tone","falafel","fallen-leaf","family","family-man-boy","family-man-boy-boy","family-man-girl","family-man-girl-boy","family-man-girl-girl","family-man-man-boy","family-man-man-boy-boy","family-man-man-girl","family-man-man-girl-boy","family-man-man-girl-girl","family-man-woman-boy","family-man-woman-boy-boy","family-man-woman-girl","family-man-woman-girl-boy","family-man-woman-girl-girl","family-woman-boy","family-woman-boy-boy","family-woman-girl","family-woman-girl-boy","family-woman-girl-girl","family-woman-woman-boy","family-woman-woman-boy-boy","family-woman-woman-girl","family-woman-woman-girl-boy","family-woman-woman-girl-girl","farmer","farmer-dark-skin-tone","farmer-light-skin-tone","farmer-medium-dark-skin-tone","farmer-medium-light-skin-tone","farmer-medium-skin-tone","fast-down-button","fast-forward-button","fast-reverse-button","fast-up-button","fax-machine","fearful-face","feather","female-sign","ferris-wheel","ferry","field-hockey","file-cabinet","file-folder","film-frames","film-projector","fire","fire-engine","fire-extinguisher","firecracker","firefighter","firefighter-dark-skin-tone","firefighter-light-skin-tone","firefighter-medium-dark-skin-tone","firefighter-medium-light-skin-tone","firefighter-medium-skin-tone","fireworks","first-quarter-moon","first-quarter-moon-face","fish","fish-cake-with-swirl","fishing-pole","five-oclock","five-thirty","flag-afghanistan","flag-aland-islands","flag-albania","flag-algeria","flag-american-samoa","flag-andorra","flag-angola","flag-anguilla","flag-antarctica","flag-antigua-and-barbuda","flag-argentina","flag-armenia","flag-aruba","flag-ascension-island","flag-australia","flag-austria","flag-azerbaijan","flag-bahamas","flag-bahrain","flag-bangladesh","flag-barbados","flag-belarus","flag-belgium","flag-belize","flag-benin","flag-bermuda","flag-bhutan","flag-bolivia","flag-bosnia-and-herzegovina","flag-botswana","flag-bouvet-island","flag-brazil","flag-british-indian-ocean-territory","flag-british-virgin-islands","flag-brunei","flag-bulgaria","flag-burkina-faso","flag-burundi","flag-cambodia","flag-cameroon","flag-canada","flag-canary-islands","flag-cape-verde","flag-caribbean-netherlands","flag-cayman-islands","flag-central-african-republic","flag-ceuta-and-melilla","flag-chad","flag-chile","flag-china","flag-christmas-island","flag-clipperton-island","flag-cocos-keeling-islands","flag-colombia","flag-comoros","flag-congo-brazzaville","flag-congo-kinshasa","flag-cook-islands","flag-costa-rica","flag-cote-divoire","flag-croatia","flag-cuba","flag-curacao","flag-cyprus","flag-czechia","flag-denmark","flag-diego-garcia","flag-djibouti","flag-dominica","flag-dominican-republic","flag-ecuador","flag-egypt","flag-el-salvador","flag-england","flag-equatorial-guinea","flag-eritrea","flag-estonia","flag-eswatini","flag-ethiopia","flag-european-union","flag-falkland-islands","flag-faroe-islands","flag-fiji","flag-finland","flag-for-flag-afghanistan","flag-for-flag-albania","flag-for-flag-algeria","flag-for-flag-american-samoa","flag-for-flag-andorra","flag-for-flag-angola","flag-for-flag-antigua-and-barbuda","flag-for-flag-argentina","flag-for-flag-aruba","flag-for-flag-ascension-island","flag-for-flag-australia","flag-for-flag-azerbaijan","flag-for-flag-bahamas","flag-for-flag-bangladesh","flag-for-flag-barbados","flag-for-flag-belarus","flag-for-flag-belize","flag-for-flag-bermuda","flag-for-flag-bolivia","flag-for-flag-bosnia-and-herzegovina","flag-for-flag-brazil","flag-for-flag-british-indian-ocean-territory","flag-for-flag-burkina-faso","flag-for-flag-burundi","flag-for-flag-canary-islands","flag-for-flag-cape-verde","flag-for-flag-caribbean-netherlands","flag-for-flag-cayman-islands","flag-for-flag-central-african-republic","flag-for-flag-ceuta-and-melilla","flag-for-flag-china","flag-for-flag-christmas-island","flag-for-flag-cocos-keeling-islands","flag-for-flag-comoros","flag-for-flag-cook-islands","flag-for-flag-costa-rica","flag-for-flag-croatia","flag-for-flag-cuba","flag-for-flag-cyprus","flag-for-flag-djibouti","flag-for-flag-dominica","flag-for-flag-dominican-republic","flag-for-flag-ecuador","flag-for-flag-egypt","flag-for-flag-el-salvador","flag-for-flag-equatorial-guinea","flag-for-flag-eswatini","flag-for-flag-ethiopia","flag-for-flag-european-union","flag-for-flag-falkland-islands","flag-for-flag-fiji","flag-for-flag-french-guiana","flag-for-flag-french-polynesia","flag-for-flag-french-southern-territories","flag-for-flag-ghana","flag-for-flag-gibraltar","flag-for-flag-greenland","flag-for-flag-grenada","flag-for-flag-guam","flag-for-flag-guatemala","flag-for-flag-guinea-bissau","flag-for-flag-guyana","flag-for-flag-haiti","flag-for-flag-honduras","flag-for-flag-hong-kong-sar-china","flag-for-flag-india","flag-for-flag-isle-of-man","flag-for-flag-israel","flag-for-flag-japan","flag-for-flag-jersey","flag-for-flag-jordan","flag-for-flag-kazakhstan","flag-for-flag-kenya","flag-for-flag-kiribati","flag-for-flag-kosovo","flag-for-flag-laos","flag-for-flag-lebanon","flag-for-flag-liberia","flag-for-flag-liechtenstein","flag-for-flag-malawi","flag-for-flag-malaysia","flag-for-flag-malta","flag-for-flag-marshall-islands","flag-for-flag-mauritania","flag-for-flag-mayotte","flag-for-flag-mexico","flag-for-flag-micronesia","flag-for-flag-moldova","flag-for-flag-montserrat","flag-for-flag-morocco","flag-for-flag-mozambique","flag-for-flag-namibia","flag-for-flag-nauru","flag-for-flag-nepal","flag-for-flag-new-caledonia","flag-for-flag-new-zealand","flag-for-flag-nicaragua","flag-for-flag-niger","flag-for-flag-niue","flag-for-flag-northern-mariana-islands","flag-for-flag-pakistan","flag-for-flag-palau","flag-for-flag-panama","flag-for-flag-papua-new-guinea","flag-for-flag-paraguay","flag-for-flag-philippines","flag-for-flag-pitcairn-islands","flag-for-flag-puerto-rico","flag-for-flag-qatar","flag-for-flag-reunion","flag-for-flag-rwanda","flag-for-flag-samoa","flag-for-flag-sao-tome-and-principe","flag-for-flag-saudi-arabia","flag-for-flag-seychelles","flag-for-flag-singapore","flag-for-flag-sint-maarten","flag-for-flag-slovenia","flag-for-flag-solomon-islands","flag-for-flag-south-georgia-and-south-sandwich-islands","flag-for-flag-south-korea","flag-for-flag-south-sudan","flag-for-flag-sri-lanka","flag-for-flag-st-barthelemy","flag-for-flag-st-helena","flag-for-flag-st-kitts-and-nevis","flag-for-flag-st-lucia","flag-for-flag-st-pierre-and-miquelon","flag-for-flag-st-vincent-and-grenadines","flag-for-flag-syria","flag-for-flag-taiwan","flag-for-flag-timor-leste","flag-for-flag-tokelau","flag-for-flag-tristan-da-cunha","flag-for-flag-tunisia","flag-for-flag-turkmenistan","flag-for-flag-tuvalu","flag-for-flag-uganda","flag-for-flag-united-kingdom","flag-for-flag-united-nations","flag-for-flag-united-states","flag-for-flag-uruguay","flag-for-flag-us-virgin-islands","flag-for-flag-vanuatu","flag-for-flag-vatican-city","flag-for-flag-venezuela","flag-for-flag-wallis-and-futuna","flag-for-flag-western-sahara","flag-for-flag-zimbabwe","flag-france","flag-french-guiana","flag-french-polynesia","flag-french-southern-territories","flag-gabon","flag-gambia","flag-georgia","flag-germany","flag-ghana","flag-gibraltar","flag-greece","flag-greenland","flag-grenada","flag-guadeloupe","flag-guam","flag-guatemala","flag-guernsey","flag-guinea","flag-guinea-bissau","flag-guyana","flag-haiti","flag-heard-and-mcdonald-islands","flag-honduras","flag-hong-kong-sar-china","flag-hungary","flag-iceland","flag-in-hole","flag-india","flag-indonesia","flag-iran","flag-iraq","flag-ireland","flag-isle-of-man","flag-israel","flag-italy","flag-jamaica","flag-japan","flag-jersey","flag-jordan","flag-kazakhstan","flag-kenya","flag-kiribati","flag-kosovo","flag-kuwait","flag-kyrgyzstan","flag-laos","flag-latvia","flag-lebanon","flag-lesotho","flag-liberia","flag-libya","flag-liechtenstein","flag-lithuania","flag-luxembourg","flag-macao-sar-china","flag-madagascar","flag-malawi","flag-malaysia","flag-maldives","flag-mali","flag-malta","flag-marshall-islands","flag-martinique","flag-mauritania","flag-mauritius","flag-mayotte","flag-mexico","flag-micronesia","flag-moldova","flag-monaco","flag-mongolia","flag-montenegro","flag-montserrat","flag-morocco","flag-mozambique","flag-myanmar-burma","flag-namibia","flag-nauru","flag-nepal","flag-netherlands","flag-new-caledonia","flag-new-zealand","flag-nicaragua","flag-niger","flag-nigeria","flag-niue","flag-norfolk-island","flag-north-korea","flag-north-macedonia","flag-northern-mariana-islands","flag-norway","flag-oman","flag-pakistan","flag-palau","flag-palestinian-territories","flag-panama","flag-papua-new-guinea","flag-paraguay","flag-peru","flag-philippines","flag-pitcairn-islands","flag-poland","flag-portugal","flag-puerto-rico","flag-qatar","flag-reunion","flag-romania","flag-russia","flag-rwanda","flag-samoa","flag-san-marino","flag-sao-tome-and-principe","flag-saudi-arabia","flag-scotland","flag-senegal","flag-serbia","flag-seychelles","flag-sierra-leone","flag-singapore","flag-sint-maarten","flag-slovakia","flag-slovenia","flag-solomon-islands","flag-somalia","flag-south-africa","flag-south-georgia-and-south-sandwich-islands","flag-south-korea","flag-south-sudan","flag-spain","flag-sri-lanka","flag-st-barthelemy","flag-st-helena","flag-st-kitts-and-nevis","flag-st-lucia","flag-st-martin","flag-st-pierre-and-miquelon","flag-st-vincent-and-grenadines","flag-sudan","flag-suriname","flag-svalbard-and-jan-mayen","flag-sweden","flag-switzerland","flag-syria","flag-taiwan","flag-tajikistan","flag-tanzania","flag-thailand","flag-timor-leste","flag-togo","flag-tokelau","flag-tonga","flag-trinidad-and-tobago","flag-tristan-da-cunha","flag-tunisia","flag-turkiye","flag-turkmenistan","flag-turks-and-caicos-islands","flag-tuvalu","flag-uganda","flag-ukraine","flag-united-arab-emirates","flag-united-kingdom","flag-united-nations","flag-united-states","flag-uruguay","flag-us-outlying-islands","flag-us-virgin-islands","flag-uzbekistan","flag-vanuatu","flag-vatican-city","flag-venezuela","flag-vietnam","flag-wales","flag-wallis-and-futuna","flag-western-sahara","flag-yemen","flag-zambia","flag-zimbabwe","flamingo","flashlight","flat-shoe","flatbread","fleur-de-lis","flexed-biceps","flexed-biceps-dark-skin-tone","flexed-biceps-light-skin-tone","flexed-biceps-medium-dark-skin-tone","flexed-biceps-medium-light-skin-tone","flexed-biceps-medium-skin-tone","floppy-disk","flower-playing-cards","flushed-face","fly","flying-disc","flying-saucer","fog","foggy","folded-hands","folded-hands-dark-skin-tone","folded-hands-light-skin-tone","folded-hands-medium-dark-skin-tone","folded-hands-medium-light-skin-tone","folded-hands-medium-skin-tone","fondue","foot","foot-dark-skin-tone","foot-light-skin-tone","foot-medium-dark-skin-tone","foot-medium-light-skin-tone","foot-medium-skin-tone","footprints","fork-and-knife","fork-and-knife-with-plate","fortune-cookie","fountain","fountain-pen","four-leaf-clover","four-oclock","four-thirty","fox","framed-picture","free-button","french-fries","fried-shrimp","frog","front-facing-baby-chick","frowning-face","frowning-face-with-open-mouth","fuel-pump","full-moon","full-moon-face","funeral-urn","game-die","garlic","gear","gem-stone","gemini","genie","ghost","giraffe","girl","girl-dark-skin-tone","girl-light-skin-tone","girl-medium-dark-skin-tone","girl-medium-light-skin-tone","girl-medium-skin-tone","glass-of-milk","glasses","globe-showing-americas","globe-showing-asia-australia","globe-showing-europe-africa","globe-with-meridians","gloves","glowing-star","goal-net","goat","goblin","goggles","gorilla","graduation-cap","grapes","green-apple","green-book","green-circle","green-heart","green-salad","green-square","grimacing-face","grinning-cat","grinning-cat-with-smiling-eyes","grinning-face","grinning-face-with-big-eyes","grinning-face-with-smiling-eyes","grinning-face-with-sweat","grinning-squinting-face","growing-heart","guard","guard-dark-skin-tone","guard-light-skin-tone","guard-medium-dark-skin-tone","guard-medium-light-skin-tone","guard-medium-skin-tone","guide-dog","guitar","hamburger","hammer","hammer-and-pick","hammer-and-wrench","hamsa","hamster","hand-with-fingers-splayed","hand-with-fingers-splayed-dark-skin-tone","hand-with-fingers-splayed-light-skin-tone","hand-with-fingers-splayed-medium-dark-skin-tone","hand-with-fingers-splayed-medium-light-skin-tone","hand-with-fingers-splayed-medium-skin-tone","hand-with-index-finger-and-thumb-crossed","hand-with-index-finger-and-thumb-crossed-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-skin-tone","handbag","handshake","handshake-dark-skin-tone","handshake-dark-skin-tone-light-skin-tone","handshake-dark-skin-tone-medium-dark-skin-tone","handshake-dark-skin-tone-medium-light-skin-tone","handshake-dark-skin-tone-medium-skin-tone","handshake-light-skin-tone","handshake-light-skin-tone-dark-skin-tone","handshake-light-skin-tone-medium-dark-skin-tone","handshake-light-skin-tone-medium-light-skin-tone","handshake-light-skin-tone-medium-skin-tone","handshake-medium-dark-skin-tone","handshake-medium-dark-skin-tone-dark-skin-tone","handshake-medium-dark-skin-tone-light-skin-tone","handshake-medium-dark-skin-tone-medium-light-skin-tone","handshake-medium-dark-skin-tone-medium-skin-tone","handshake-medium-light-skin-tone","handshake-medium-light-skin-tone-dark-skin-tone","handshake-medium-light-skin-tone-light-skin-tone","handshake-medium-light-skin-tone-medium-dark-skin-tone","handshake-medium-light-skin-tone-medium-skin-tone","handshake-medium-skin-tone","handshake-medium-skin-tone-dark-skin-tone","handshake-medium-skin-tone-light-skin-tone","handshake-medium-skin-tone-medium-dark-skin-tone","handshake-medium-skin-tone-medium-light-skin-tone","hatching-chick","headphone","headstone","health-worker","health-worker-dark-skin-tone","health-worker-light-skin-tone","health-worker-medium-dark-skin-tone","health-worker-medium-light-skin-tone","health-worker-medium-skin-tone","hear-no-evil-monkey","heart-decoration","heart-exclamation","heart-hands","heart-hands-dark-skin-tone","heart-hands-light-skin-tone","heart-hands-medium-dark-skin-tone","heart-hands-medium-light-skin-tone","heart-hands-medium-skin-tone","heart-on-fire","heart-suit","heart-with-arrow","heart-with-ribbon","heavy-dollar-sign","heavy-equals-sign","hedgehog","helicopter","herb","hibiscus","high-heeled-shoe","high-speed-train","high-voltage","hiking-boot","hindu-temple","hippopotamus","hole","hollow-red-circle","honey-pot","honeybee","hook","horizontal-traffic-light","horse","horse-face","horse-racing","horse-racing-dark-skin-tone","horse-racing-light-skin-tone","horse-racing-medium-dark-skin-tone","horse-racing-medium-light-skin-tone","horse-racing-medium-skin-tone","hospital","hot-beverage","hot-dog","hot-face","hot-pepper","hot-springs","hotel","hourglass-done","hourglass-not-done","house","house-with-garden","houses","hugging-face","hundred-points","hushed-face","hut","ice","ice-cream","ice-hockey","ice-skate","id-button","identification-card","inbox-tray","incoming-envelope","index-pointing-at-the-viewer","index-pointing-at-the-viewer-dark-skin-tone","index-pointing-at-the-viewer-light-skin-tone","index-pointing-at-the-viewer-medium-dark-skin-tone","index-pointing-at-the-viewer-medium-light-skin-tone","index-pointing-at-the-viewer-medium-skin-tone","index-pointing-up","index-pointing-up-dark-skin-tone","index-pointing-up-light-skin-tone","index-pointing-up-medium-dark-skin-tone","index-pointing-up-medium-light-skin-tone","index-pointing-up-medium-skin-tone","infinity","information","input-latin-letters","input-latin-lowercase","input-latin-uppercase","input-numbers","input-symbols","jack-o-lantern","japanese-acceptable-button","japanese-application-button","japanese-bargain-button","japanese-castle","japanese-congratulations-button","japanese-discount-button","japanese-dolls","japanese-free-of-charge-button","japanese-here-button","japanese-monthly-amount-button","japanese-no-vacancy-button","japanese-not-free-of-charge-button","japanese-open-for-business-button","japanese-passing-grade-button","japanese-post-office","japanese-prohibited-button","japanese-reserved-button","japanese-secret-button","japanese-service-charge-button","japanese-symbol-for-beginner","japanese-vacancy-button","jar","jeans","joker","joystick","judge","judge-dark-skin-tone","judge-light-skin-tone","judge-medium-dark-skin-tone","judge-medium-light-skin-tone","judge-medium-skin-tone","kaaba","kangaroo","key","keyboard","keycap-0","keycap-1","keycap-10","keycap-2","keycap-3","keycap-4","keycap-5","keycap-6","keycap-7","keycap-8","keycap-9","keycap-asterisk","keycap-pound","kick-scooter","kimono","kiss","kiss-dark-skin-tone","kiss-light-skin-tone","kiss-man-man","kiss-man-man-dark-skin-tone","kiss-man-man-dark-skin-tone-light-skin-tone","kiss-man-man-dark-skin-tone-medium-dark-skin-tone","kiss-man-man-dark-skin-tone-medium-light-skin-tone","kiss-man-man-dark-skin-tone-medium-skin-tone","kiss-man-man-light-skin-tone","kiss-man-man-light-skin-tone-dark-skin-tone","kiss-man-man-light-skin-tone-medium-dark-skin-tone","kiss-man-man-light-skin-tone-medium-light-skin-tone","kiss-man-man-light-skin-tone-medium-skin-tone","kiss-man-man-medium-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-skin-tone","kiss-man-man-medium-light-skin-tone","kiss-man-man-medium-light-skin-tone-dark-skin-tone","kiss-man-man-medium-light-skin-tone-light-skin-tone","kiss-man-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-light-skin-tone-medium-skin-tone","kiss-man-man-medium-skin-tone","kiss-man-man-medium-skin-tone-dark-skin-tone","kiss-man-man-medium-skin-tone-light-skin-tone","kiss-man-man-medium-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-skin-tone-medium-light-skin-tone","kiss-mark","kiss-medium-dark-skin-tone","kiss-medium-light-skin-tone","kiss-medium-skin-tone","kiss-person-person-dark-skin-tone-light-skin-tone","kiss-person-person-dark-skin-tone-medium-dark-skin-tone","kiss-person-person-dark-skin-tone-medium-light-skin-tone","kiss-person-person-dark-skin-tone-medium-skin-tone","kiss-person-person-light-skin-tone-dark-skin-tone","kiss-person-person-light-skin-tone-medium-dark-skin-tone","kiss-person-person-light-skin-tone-medium-light-skin-tone","kiss-person-person-light-skin-tone-medium-skin-tone","kiss-person-person-medium-dark-skin-tone-dark-skin-tone","kiss-person-person-medium-dark-skin-tone-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-skin-tone","kiss-person-person-medium-light-skin-tone-dark-skin-tone","kiss-person-person-medium-light-skin-tone-light-skin-tone","kiss-person-person-medium-light-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-light-skin-tone-medium-skin-tone","kiss-person-person-medium-skin-tone-dark-skin-tone","kiss-person-person-medium-skin-tone-light-skin-tone","kiss-person-person-medium-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-skin-tone-medium-light-skin-tone","kiss-woman-man","kiss-woman-man-dark-skin-tone","kiss-woman-man-dark-skin-tone-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-dark-skin-tone","kiss-woman-man-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-skin-tone","kiss-woman-man-light-skin-tone","kiss-woman-man-light-skin-tone-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-light-skin-tone","kiss-woman-man-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-skin-tone","kiss-woman-man-medium-light-skin-tone","kiss-woman-man-medium-light-skin-tone-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-light-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-skin-tone","kiss-woman-man-medium-skin-tone-dark-skin-tone","kiss-woman-man-medium-skin-tone-light-skin-tone","kiss-woman-man-medium-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-skin-tone-medium-light-skin-tone","kiss-woman-woman","kiss-woman-woman-dark-skin-tone","kiss-woman-woman-dark-skin-tone-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-dark-skin-tone","kiss-woman-woman-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-skin-tone","kiss-woman-woman-light-skin-tone","kiss-woman-woman-light-skin-tone-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-light-skin-tone","kiss-woman-woman-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-skin-tone","kiss-woman-woman-medium-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-skin-tone","kiss-woman-woman-medium-skin-tone-dark-skin-tone","kiss-woman-woman-medium-skin-tone-light-skin-tone","kiss-woman-woman-medium-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-skin-tone-medium-light-skin-tone","kissing-cat","kissing-face","kissing-face-with-closed-eyes","kissing-face-with-smiling-eyes","kitchen-knife","kite","kiwi-fruit","knocked-out-face","knot","koala","lab-coat","label","lacrosse","ladder","lady-beetle","laptop","large-blue-diamond","large-orange-diamond","last-quarter-moon","last-quarter-moon-face","last-track-button","latin-cross","leaf-fluttering-in-wind","leafy-green","ledger","left-arrow","left-arrow-curving-right","left-facing-fist","left-facing-fist-dark-skin-tone","left-facing-fist-light-skin-tone","left-facing-fist-medium-dark-skin-tone","left-facing-fist-medium-light-skin-tone","left-facing-fist-medium-skin-tone","left-luggage","left-right-arrow","left-speech-bubble","leftwards-hand","leftwards-hand-dark-skin-tone","leftwards-hand-light-skin-tone","leftwards-hand-medium-dark-skin-tone","leftwards-hand-medium-light-skin-tone","leftwards-hand-medium-skin-tone","leg","leg-dark-skin-tone","leg-light-skin-tone","leg-medium-dark-skin-tone","leg-medium-light-skin-tone","leg-medium-skin-tone","lemon","leo","leopard","letter-a","letter-b","letter-c","letter-d","letter-e","letter-f","letter-g","letter-h","letter-i","letter-j","letter-k","letter-l","letter-m","letter-n","letter-o","letter-p","letter-q","letter-r","letter-s","letter-t","letter-u","letter-v","letter-w","letter-x","letter-y","letter-z","level-slider","libra","light-bulb","light-rail","light-skin-tone","link","linked-paperclips","lion","lipstick","litter-in-bin-sign","lizard","llama","lobster","locked","locked-with-key","locked-with-pen","locomotive","lollipop","long-drum","lotion-bottle","lotus","loudly-crying-face","loudspeaker","love-hotel","love-letter","love-you-gesture","love-you-gesture-dark-skin-tone","love-you-gesture-light-skin-tone","love-you-gesture-medium-dark-skin-tone","love-you-gesture-medium-light-skin-tone","love-you-gesture-medium-skin-tone","low-battery","luggage","lungs","lying-face","mage","mage-dark-skin-tone","mage-light-skin-tone","mage-medium-dark-skin-tone","mage-medium-light-skin-tone","mage-medium-skin-tone","magic-wand","magnet","magnifying-glass-tilted-left","magnifying-glass-tilted-right","mahjong-red-dragon","male-sign","mammoth","man","man-and-woman-holding-hands","man-artist","man-artist-dark-skin-tone","man-artist-light-skin-tone","man-artist-medium-dark-skin-tone","man-artist-medium-light-skin-tone","man-artist-medium-skin-tone","man-astronaut","man-astronaut-dark-skin-tone","man-astronaut-light-skin-tone","man-astronaut-medium-dark-skin-tone","man-astronaut-medium-light-skin-tone","man-astronaut-medium-skin-tone","man-bald","man-beard","man-biking","man-biking-dark-skin-tone","man-biking-light-skin-tone","man-biking-medium-dark-skin-tone","man-biking-medium-light-skin-tone","man-biking-medium-skin-tone","man-blond-hair","man-bouncing-ball","man-bouncing-ball-dark-skin-tone","man-bouncing-ball-light-skin-tone","man-bouncing-ball-medium-dark-skin-tone","man-bouncing-ball-medium-light-skin-tone","man-bouncing-ball-medium-skin-tone","man-bowing","man-bowing-dark-skin-tone","man-bowing-light-skin-tone","man-bowing-medium-dark-skin-tone","man-bowing-medium-light-skin-tone","man-bowing-medium-skin-tone","man-cartwheeling","man-cartwheeling-dark-skin-tone","man-cartwheeling-light-skin-tone","man-cartwheeling-medium-dark-skin-tone","man-cartwheeling-medium-light-skin-tone","man-cartwheeling-medium-skin-tone","man-climbing","man-climbing-dark-skin-tone","man-climbing-light-skin-tone","man-climbing-medium-dark-skin-tone","man-climbing-medium-light-skin-tone","man-climbing-medium-skin-tone","man-construction-worker","man-construction-worker-dark-skin-tone","man-construction-worker-light-skin-tone","man-construction-worker-medium-dark-skin-tone","man-construction-worker-medium-light-skin-tone","man-construction-worker-medium-skin-tone","man-cook","man-cook-dark-skin-tone","man-cook-light-skin-tone","man-cook-medium-dark-skin-tone","man-cook-medium-light-skin-tone","man-cook-medium-skin-tone","man-curly-hair","man-dancing","man-dancing-dark-skin-tone","man-dancing-light-skin-tone","man-dancing-medium-dark-skin-tone","man-dancing-medium-light-skin-tone","man-dancing-medium-skin-tone","man-dark-skin-tone","man-dark-skin-tone-bald","man-dark-skin-tone-beard","man-dark-skin-tone-blond-hair","man-dark-skin-tone-curly-hair","man-dark-skin-tone-red-hair","man-dark-skin-tone-white-hair","man-detective","man-detective-dark-skin-tone","man-detective-light-skin-tone","man-detective-medium-dark-skin-tone","man-detective-medium-light-skin-tone","man-detective-medium-skin-tone","man-elf","man-elf-dark-skin-tone","man-elf-light-skin-tone","man-elf-medium-dark-skin-tone","man-elf-medium-light-skin-tone","man-elf-medium-skin-tone","man-facepalming","man-facepalming-dark-skin-tone","man-facepalming-light-skin-tone","man-facepalming-medium-dark-skin-tone","man-facepalming-medium-light-skin-tone","man-facepalming-medium-skin-tone","man-factory-worker","man-factory-worker-dark-skin-tone","man-factory-worker-light-skin-tone","man-factory-worker-medium-dark-skin-tone","man-factory-worker-medium-light-skin-tone","man-factory-worker-medium-skin-tone","man-fairy","man-fairy-dark-skin-tone","man-fairy-light-skin-tone","man-fairy-medium-dark-skin-tone","man-fairy-medium-light-skin-tone","man-fairy-medium-skin-tone","man-farmer","man-farmer-dark-skin-tone","man-farmer-light-skin-tone","man-farmer-medium-dark-skin-tone","man-farmer-medium-light-skin-tone","man-farmer-medium-skin-tone","man-feeding-baby","man-feeding-baby-dark-skin-tone","man-feeding-baby-light-skin-tone","man-feeding-baby-medium-dark-skin-tone","man-feeding-baby-medium-light-skin-tone","man-feeding-baby-medium-skin-tone","man-firefighter","man-firefighter-dark-skin-tone","man-firefighter-light-skin-tone","man-firefighter-medium-dark-skin-tone","man-firefighter-medium-light-skin-tone","man-firefighter-medium-skin-tone","man-frowning","man-frowning-dark-skin-tone","man-frowning-light-skin-tone","man-frowning-medium-dark-skin-tone","man-frowning-medium-light-skin-tone","man-frowning-medium-skin-tone","man-genie","man-gesturing-no","man-gesturing-no-dark-skin-tone","man-gesturing-no-light-skin-tone","man-gesturing-no-medium-dark-skin-tone","man-gesturing-no-medium-light-skin-tone","man-gesturing-no-medium-skin-tone","man-gesturing-ok","man-gesturing-ok-dark-skin-tone","man-gesturing-ok-light-skin-tone","man-gesturing-ok-medium-dark-skin-tone","man-gesturing-ok-medium-light-skin-tone","man-gesturing-ok-medium-skin-tone","man-getting-haircut","man-getting-haircut-dark-skin-tone","man-getting-haircut-light-skin-tone","man-getting-haircut-medium-dark-skin-tone","man-getting-haircut-medium-light-skin-tone","man-getting-haircut-medium-skin-tone","man-getting-massage","man-getting-massage-dark-skin-tone","man-getting-massage-light-skin-tone","man-getting-massage-medium-dark-skin-tone","man-getting-massage-medium-light-skin-tone","man-getting-massage-medium-skin-tone","man-golfing","man-golfing-dark-skin-tone","man-golfing-light-skin-tone","man-golfing-medium-dark-skin-tone","man-golfing-medium-light-skin-tone","man-golfing-medium-skin-tone","man-guard","man-guard-dark-skin-tone","man-guard-light-skin-tone","man-guard-medium-dark-skin-tone","man-guard-medium-light-skin-tone","man-guard-medium-skin-tone","man-health-worker","man-health-worker-dark-skin-tone","man-health-worker-light-skin-tone","man-health-worker-medium-dark-skin-tone","man-health-worker-medium-light-skin-tone","man-health-worker-medium-skin-tone","man-in-lotus-position","man-in-lotus-position-dark-skin-tone","man-in-lotus-position-light-skin-tone","man-in-lotus-position-medium-dark-skin-tone","man-in-lotus-position-medium-light-skin-tone","man-in-lotus-position-medium-skin-tone","man-in-manual-wheelchair","man-in-manual-wheelchair-dark-skin-tone","man-in-manual-wheelchair-light-skin-tone","man-in-manual-wheelchair-medium-dark-skin-tone","man-in-manual-wheelchair-medium-light-skin-tone","man-in-manual-wheelchair-medium-skin-tone","man-in-motorized-wheelchair","man-in-motorized-wheelchair-dark-skin-tone","man-in-motorized-wheelchair-light-skin-tone","man-in-motorized-wheelchair-medium-dark-skin-tone","man-in-motorized-wheelchair-medium-light-skin-tone","man-in-motorized-wheelchair-medium-skin-tone","man-in-steamy-room","man-in-steamy-room-dark-skin-tone","man-in-steamy-room-light-skin-tone","man-in-steamy-room-medium-dark-skin-tone","man-in-steamy-room-medium-light-skin-tone","man-in-steamy-room-medium-skin-tone","man-in-suit-levitating","man-in-suit-levitating-dark-skin-tone","man-in-suit-levitating-light-skin-tone","man-in-suit-levitating-medium-dark-skin-tone","man-in-suit-levitating-medium-light-skin-tone","man-in-suit-levitating-medium-skin-tone","man-in-tuxedo","man-in-tuxedo-dark-skin-tone","man-in-tuxedo-light-skin-tone","man-in-tuxedo-medium-dark-skin-tone","man-in-tuxedo-medium-light-skin-tone","man-in-tuxedo-medium-skin-tone","man-judge","man-judge-dark-skin-tone","man-judge-light-skin-tone","man-judge-medium-dark-skin-tone","man-judge-medium-light-skin-tone","man-judge-medium-skin-tone","man-juggling","man-juggling-dark-skin-tone","man-juggling-light-skin-tone","man-juggling-medium-dark-skin-tone","man-juggling-medium-light-skin-tone","man-juggling-medium-skin-tone","man-kneeling","man-kneeling-dark-skin-tone","man-kneeling-light-skin-tone","man-kneeling-medium-dark-skin-tone","man-kneeling-medium-light-skin-tone","man-kneeling-medium-skin-tone","man-lifting-weights","man-lifting-weights-dark-skin-tone","man-lifting-weights-light-skin-tone","man-lifting-weights-medium-dark-skin-tone","man-lifting-weights-medium-light-skin-tone","man-lifting-weights-medium-skin-tone","man-light-skin-tone","man-light-skin-tone-bald","man-light-skin-tone-beard","man-light-skin-tone-blond-hair","man-light-skin-tone-curly-hair","man-light-skin-tone-red-hair","man-light-skin-tone-white-hair","man-mage","man-mage-dark-skin-tone","man-mage-light-skin-tone","man-mage-medium-dark-skin-tone","man-mage-medium-light-skin-tone","man-mage-medium-skin-tone","man-mechanic","man-mechanic-dark-skin-tone","man-mechanic-light-skin-tone","man-mechanic-medium-dark-skin-tone","man-mechanic-medium-light-skin-tone","man-mechanic-medium-skin-tone","man-medium-dark-skin-tone","man-medium-dark-skin-tone-bald","man-medium-dark-skin-tone-beard","man-medium-dark-skin-tone-blond-hair","man-medium-dark-skin-tone-curly-hair","man-medium-dark-skin-tone-red-hair","man-medium-dark-skin-tone-white-hair","man-medium-light-skin-tone","man-medium-light-skin-tone-bald","man-medium-light-skin-tone-beard","man-medium-light-skin-tone-blond-hair","man-medium-light-skin-tone-curly-hair","man-medium-light-skin-tone-red-hair","man-medium-light-skin-tone-white-hair","man-medium-skin-tone","man-medium-skin-tone-bald","man-medium-skin-tone-beard","man-medium-skin-tone-blond-hair","man-medium-skin-tone-curly-hair","man-medium-skin-tone-red-hair","man-medium-skin-tone-white-hair","man-mountain-biking","man-mountain-biking-dark-skin-tone","man-mountain-biking-light-skin-tone","man-mountain-biking-medium-dark-skin-tone","man-mountain-biking-medium-light-skin-tone","man-mountain-biking-medium-skin-tone","man-office-worker","man-office-worker-dark-skin-tone","man-office-worker-light-skin-tone","man-office-worker-medium-dark-skin-tone","man-office-worker-medium-light-skin-tone","man-office-worker-medium-skin-tone","man-pilot","man-pilot-dark-skin-tone","man-pilot-light-skin-tone","man-pilot-medium-dark-skin-tone","man-pilot-medium-light-skin-tone","man-pilot-medium-skin-tone","man-playing-handball","man-playing-handball-dark-skin-tone","man-playing-handball-light-skin-tone","man-playing-handball-medium-dark-skin-tone","man-playing-handball-medium-light-skin-tone","man-playing-handball-medium-skin-tone","man-playing-water-polo","man-playing-water-polo-dark-skin-tone","man-playing-water-polo-light-skin-tone","man-playing-water-polo-medium-dark-skin-tone","man-playing-water-polo-medium-light-skin-tone","man-playing-water-polo-medium-skin-tone","man-police-officer","man-police-officer-dark-skin-tone","man-police-officer-light-skin-tone","man-police-officer-medium-dark-skin-tone","man-police-officer-medium-light-skin-tone","man-police-officer-medium-skin-tone","man-pouting","man-pouting-dark-skin-tone","man-pouting-light-skin-tone","man-pouting-medium-dark-skin-tone","man-pouting-medium-light-skin-tone","man-pouting-medium-skin-tone","man-raising-hand","man-raising-hand-dark-skin-tone","man-raising-hand-light-skin-tone","man-raising-hand-medium-dark-skin-tone","man-raising-hand-medium-light-skin-tone","man-raising-hand-medium-skin-tone","man-red-hair","man-rowing-boat","man-rowing-boat-dark-skin-tone","man-rowing-boat-light-skin-tone","man-rowing-boat-medium-dark-skin-tone","man-rowing-boat-medium-light-skin-tone","man-rowing-boat-medium-skin-tone","man-running","man-running-dark-skin-tone","man-running-light-skin-tone","man-running-medium-dark-skin-tone","man-running-medium-light-skin-tone","man-running-medium-skin-tone","man-scientist","man-scientist-dark-skin-tone","man-scientist-light-skin-tone","man-scientist-medium-dark-skin-tone","man-scientist-medium-light-skin-tone","man-scientist-medium-skin-tone","man-shrugging","man-shrugging-dark-skin-tone","man-shrugging-light-skin-tone","man-shrugging-medium-dark-skin-tone","man-shrugging-medium-light-skin-tone","man-shrugging-medium-skin-tone","man-singer","man-singer-dark-skin-tone","man-singer-light-skin-tone","man-singer-medium-dark-skin-tone","man-singer-medium-light-skin-tone","man-singer-medium-skin-tone","man-standing","man-standing-dark-skin-tone","man-standing-light-skin-tone","man-standing-medium-dark-skin-tone","man-standing-medium-light-skin-tone","man-standing-medium-skin-tone","man-student","man-student-dark-skin-tone","man-student-light-skin-tone","man-student-medium-dark-skin-tone","man-student-medium-light-skin-tone","man-student-medium-skin-tone","man-superhero","man-superhero-dark-skin-tone","man-superhero-light-skin-tone","man-superhero-medium-dark-skin-tone","man-superhero-medium-light-skin-tone","man-superhero-medium-skin-tone","man-supervillain","man-supervillain-dark-skin-tone","man-supervillain-light-skin-tone","man-supervillain-medium-dark-skin-tone","man-supervillain-medium-light-skin-tone","man-supervillain-medium-skin-tone","man-surfing","man-surfing-dark-skin-tone","man-surfing-light-skin-tone","man-surfing-medium-dark-skin-tone","man-surfing-medium-light-skin-tone","man-surfing-medium-skin-tone","man-swimming","man-swimming-dark-skin-tone","man-swimming-light-skin-tone","man-swimming-medium-dark-skin-tone","man-swimming-medium-light-skin-tone","man-swimming-medium-skin-tone","man-teacher","man-teacher-dark-skin-tone","man-teacher-light-skin-tone","man-teacher-medium-dark-skin-tone","man-teacher-medium-light-skin-tone","man-teacher-medium-skin-tone","man-technologist","man-technologist-dark-skin-tone","man-technologist-light-skin-tone","man-technologist-medium-dark-skin-tone","man-technologist-medium-light-skin-tone","man-technologist-medium-skin-tone","man-tipping-hand","man-tipping-hand-dark-skin-tone","man-tipping-hand-light-skin-tone","man-tipping-hand-medium-dark-skin-tone","man-tipping-hand-medium-light-skin-tone","man-tipping-hand-medium-skin-tone","man-vampire","man-vampire-dark-skin-tone","man-vampire-light-skin-tone","man-vampire-medium-dark-skin-tone","man-vampire-medium-light-skin-tone","man-vampire-medium-skin-tone","man-walking","man-walking-dark-skin-tone","man-walking-light-skin-tone","man-walking-medium-dark-skin-tone","man-walking-medium-light-skin-tone","man-walking-medium-skin-tone","man-wearing-turban","man-wearing-turban-dark-skin-tone","man-wearing-turban-light-skin-tone","man-wearing-turban-medium-dark-skin-tone","man-wearing-turban-medium-light-skin-tone","man-wearing-turban-medium-skin-tone","man-white-hair","man-with-veil","man-with-veil-dark-skin-tone","man-with-veil-light-skin-tone","man-with-veil-medium-dark-skin-tone","man-with-veil-medium-light-skin-tone","man-with-veil-medium-skin-tone","man-with-white-cane","man-with-white-cane-dark-skin-tone","man-with-white-cane-light-skin-tone","man-with-white-cane-medium-dark-skin-tone","man-with-white-cane-medium-light-skin-tone","man-with-white-cane-medium-skin-tone","man-zombie","mango","mans-shoe","mantelpiece-clock","manual-wheelchair","map-of-japan","maple-leaf","martial-arts-uniform","mate","meat-on-bone","mechanic","mechanic-dark-skin-tone","mechanic-light-skin-tone","mechanic-medium-dark-skin-tone","mechanic-medium-light-skin-tone","mechanic-medium-skin-tone","mechanical-arm","mechanical-leg","medical-symbol","medium-dark-skin-tone","medium-light-skin-tone","medium-skin-tone","megaphone","melon","melting-face","memo","men-holding-hands","men-holding-hands-dark-skin-tone","men-holding-hands-dark-skin-tone-light-skin-tone","men-holding-hands-dark-skin-tone-medium-dark-skin-tone","men-holding-hands-dark-skin-tone-medium-light-skin-tone","men-holding-hands-dark-skin-tone-medium-skin-tone","men-holding-hands-light-skin-tone","men-holding-hands-light-skin-tone-dark-skin-tone","men-holding-hands-light-skin-tone-medium-dark-skin-tone","men-holding-hands-light-skin-tone-medium-light-skin-tone","men-holding-hands-light-skin-tone-medium-skin-tone","men-holding-hands-medium-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-skin-tone","men-holding-hands-medium-light-skin-tone","men-holding-hands-medium-light-skin-tone-dark-skin-tone","men-holding-hands-medium-light-skin-tone-light-skin-tone","men-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-light-skin-tone-medium-skin-tone","men-holding-hands-medium-skin-tone","men-holding-hands-medium-skin-tone-dark-skin-tone","men-holding-hands-medium-skin-tone-light-skin-tone","men-holding-hands-medium-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-skin-tone-medium-light-skin-tone","men-with-bunny-ears","men-wrestling","mending-heart","menorah","mens-room","mermaid","mermaid-dark-skin-tone","mermaid-light-skin-tone","mermaid-medium-dark-skin-tone","mermaid-medium-light-skin-tone","mermaid-medium-skin-tone","merman","merman-dark-skin-tone","merman-light-skin-tone","merman-medium-dark-skin-tone","merman-medium-light-skin-tone","merman-medium-skin-tone","merperson","merperson-dark-skin-tone","merperson-light-skin-tone","merperson-medium-dark-skin-tone","merperson-medium-light-skin-tone","merperson-medium-skin-tone","metro","microbe","microphone","microscope","middle-finger","middle-finger-dark-skin-tone","middle-finger-light-skin-tone","middle-finger-medium-dark-skin-tone","middle-finger-medium-light-skin-tone","middle-finger-medium-skin-tone","military-helmet","military-medal","milky-way","minibus","minus","mirror","mirror-ball","moai","mobile-phone","mobile-phone-off","mobile-phone-with-arrow","money-bag","money-mouth-face","money-with-wings","monkey","monkey-face","monorail","moon-cake","moon-viewing-ceremony","mosque","mosquito","motor-boat","motor-scooter","motorcycle","motorized-wheelchair","motorway","mount-fuji","mountain","mountain-cableway","mountain-railway","mouse","mouse-face","mouse-trap","mouth","movie-camera","mrs-claus","mrs-claus-dark-skin-tone","mrs-claus-light-skin-tone","mrs-claus-medium-dark-skin-tone","mrs-claus-medium-light-skin-tone","mrs-claus-medium-skin-tone","multiply","mushroom","musical-keyboard","musical-note","musical-notes","musical-score","muted-speaker","mx-claus","mx-claus-dark-skin-tone","mx-claus-light-skin-tone","mx-claus-medium-dark-skin-tone","mx-claus-medium-light-skin-tone","mx-claus-medium-skin-tone","nail-polish","nail-polish-dark-skin-tone","nail-polish-light-skin-tone","nail-polish-medium-dark-skin-tone","nail-polish-medium-light-skin-tone","nail-polish-medium-skin-tone","name-badge","national-park","nauseated-face","nazar-amulet","necktie","nerd-face","nest-with-eggs","nesting-dolls","neutral-face","new-button","new-moon","new-moon-face","newspaper","next-track-button","ng-button","night-with-stars","nine-oclock","nine-thirty","ninja","ninja-dark-skin-tone","ninja-light-skin-tone","ninja-medium-dark-skin-tone","ninja-medium-light-skin-tone","ninja-medium-skin-tone","no-bicycles","no-entry","no-littering","no-mobile-phones","no-one-under-eighteen","no-pedestrians","no-smoking","non-potable-water","nose","nose-dark-skin-tone","nose-light-skin-tone","nose-medium-dark-skin-tone","nose-medium-light-skin-tone","nose-medium-skin-tone","notebook","notebook-with-decorative-cover","nut-and-bolt","o-button-blood-type","octopus","oden","office-building","office-worker","office-worker-dark-skin-tone","office-worker-light-skin-tone","office-worker-medium-dark-skin-tone","office-worker-medium-light-skin-tone","office-worker-medium-skin-tone","ogre","oil-drum","ok-button","ok-hand","ok-hand-dark-skin-tone","ok-hand-light-skin-tone","ok-hand-medium-dark-skin-tone","ok-hand-medium-light-skin-tone","ok-hand-medium-skin-tone","old-key","old-man","old-man-dark-skin-tone","old-man-light-skin-tone","old-man-medium-dark-skin-tone","old-man-medium-light-skin-tone","old-man-medium-skin-tone","old-woman","old-woman-dark-skin-tone","old-woman-light-skin-tone","old-woman-medium-dark-skin-tone","old-woman-medium-light-skin-tone","old-woman-medium-skin-tone","older-adult","older-adult-dark-skin-tone","older-adult-light-skin-tone","older-adult-medium-dark-skin-tone","older-adult-medium-light-skin-tone","older-adult-medium-skin-tone","older-person","older-person-dark-skin-tone","older-person-light-skin-tone","older-person-medium-dark-skin-tone","older-person-medium-light-skin-tone","older-person-medium-skin-tone","olive","om","on-exclamation-arrow","oncoming-automobile","oncoming-bus","oncoming-fist","oncoming-fist-dark-skin-tone","oncoming-fist-light-skin-tone","oncoming-fist-medium-dark-skin-tone","oncoming-fist-medium-light-skin-tone","oncoming-fist-medium-skin-tone","oncoming-police-car","oncoming-taxi","one-oclock","one-piece-swimsuit","one-thirty","onion","open-book","open-file-folder","open-hands","open-hands-dark-skin-tone","open-hands-light-skin-tone","open-hands-medium-dark-skin-tone","open-hands-medium-light-skin-tone","open-hands-medium-skin-tone","open-mailbox-with-lowered-flag","open-mailbox-with-raised-flag","ophiuchus","optical-disk","orange-book","orange-circle","orange-heart","orange-square","orangutan","orthodox-cross","otter","outbox-tray","owl","ox","oyster","p-button","package","page-facing-up","page-with-curl","pager","paintbrush","palm-down-hand","palm-down-hand-dark-skin-tone","palm-down-hand-light-skin-tone","palm-down-hand-medium-dark-skin-tone","palm-down-hand-medium-light-skin-tone","palm-down-hand-medium-skin-tone","palm-tree","palm-up-hand","palm-up-hand-dark-skin-tone","palm-up-hand-light-skin-tone","palm-up-hand-medium-dark-skin-tone","palm-up-hand-medium-light-skin-tone","palm-up-hand-medium-skin-tone","palms-up-together","palms-up-together-dark-skin-tone","palms-up-together-light-skin-tone","palms-up-together-medium-dark-skin-tone","palms-up-together-medium-light-skin-tone","palms-up-together-medium-skin-tone","pancakes","panda","paperclip","parachute","parrot","part-alternation-mark","party-popper","partying-face","passenger-ship","passport-control","pause-button","paw-prints","peace-symbol","peach","peacock","peanuts","pear","pen","pencil","penguin","pensive-face","people-holding-hands","people-holding-hands-dark-skin-tone","people-holding-hands-dark-skin-tone-light-skin-tone","people-holding-hands-dark-skin-tone-medium-dark-skin-tone","people-holding-hands-dark-skin-tone-medium-light-skin-tone","people-holding-hands-dark-skin-tone-medium-skin-tone","people-holding-hands-light-skin-tone","people-holding-hands-light-skin-tone-dark-skin-tone","people-holding-hands-light-skin-tone-medium-dark-skin-tone","people-holding-hands-light-skin-tone-medium-light-skin-tone","people-holding-hands-light-skin-tone-medium-skin-tone","people-holding-hands-medium-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-skin-tone","people-holding-hands-medium-light-skin-tone","people-holding-hands-medium-light-skin-tone-dark-skin-tone","people-holding-hands-medium-light-skin-tone-light-skin-tone","people-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-light-skin-tone-medium-skin-tone","people-holding-hands-medium-skin-tone","people-holding-hands-medium-skin-tone-dark-skin-tone","people-holding-hands-medium-skin-tone-light-skin-tone","people-holding-hands-medium-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-skin-tone-medium-light-skin-tone","people-hugging","people-with-bunny-ears","people-wrestling","performing-arts","persevering-face","person","person-bald","person-beard","person-biking","person-biking-dark-skin-tone","person-biking-light-skin-tone","person-biking-medium-dark-skin-tone","person-biking-medium-light-skin-tone","person-biking-medium-skin-tone","person-blond-hair","person-bouncing-ball","person-bouncing-ball-dark-skin-tone","person-bouncing-ball-light-skin-tone","person-bouncing-ball-medium-dark-skin-tone","person-bouncing-ball-medium-light-skin-tone","person-bouncing-ball-medium-skin-tone","person-bowing","person-bowing-dark-skin-tone","person-bowing-light-skin-tone","person-bowing-medium-dark-skin-tone","person-bowing-medium-light-skin-tone","person-bowing-medium-skin-tone","person-cartwheeling","person-cartwheeling-dark-skin-tone","person-cartwheeling-light-skin-tone","person-cartwheeling-medium-dark-skin-tone","person-cartwheeling-medium-light-skin-tone","person-cartwheeling-medium-skin-tone","person-climbing","person-climbing-dark-skin-tone","person-climbing-light-skin-tone","person-climbing-medium-dark-skin-tone","person-climbing-medium-light-skin-tone","person-climbing-medium-skin-tone","person-curly-hair","person-dark-skin-tone","person-dark-skin-tone-bald","person-dark-skin-tone-beard","person-dark-skin-tone-blond-hair","person-dark-skin-tone-curly-hair","person-dark-skin-tone-red-hair","person-dark-skin-tone-white-hair","person-facepalming","person-facepalming-dark-skin-tone","person-facepalming-light-skin-tone","person-facepalming-medium-dark-skin-tone","person-facepalming-medium-light-skin-tone","person-facepalming-medium-skin-tone","person-feeding-baby","person-feeding-baby-dark-skin-tone","person-feeding-baby-light-skin-tone","person-feeding-baby-medium-dark-skin-tone","person-feeding-baby-medium-light-skin-tone","person-feeding-baby-medium-skin-tone","person-fencing","person-frowning","person-frowning-dark-skin-tone","person-frowning-light-skin-tone","person-frowning-medium-dark-skin-tone","person-frowning-medium-light-skin-tone","person-frowning-medium-skin-tone","person-gesturing-no","person-gesturing-no-dark-skin-tone","person-gesturing-no-light-skin-tone","person-gesturing-no-medium-dark-skin-tone","person-gesturing-no-medium-light-skin-tone","person-gesturing-no-medium-skin-tone","person-gesturing-ok","person-gesturing-ok-dark-skin-tone","person-gesturing-ok-light-skin-tone","person-gesturing-ok-medium-dark-skin-tone","person-gesturing-ok-medium-light-skin-tone","person-gesturing-ok-medium-skin-tone","person-getting-haircut","person-getting-haircut-dark-skin-tone","person-getting-haircut-light-skin-tone","person-getting-haircut-medium-dark-skin-tone","person-getting-haircut-medium-light-skin-tone","person-getting-haircut-medium-skin-tone","person-getting-massage","person-getting-massage-dark-skin-tone","person-getting-massage-light-skin-tone","person-getting-massage-medium-dark-skin-tone","person-getting-massage-medium-light-skin-tone","person-getting-massage-medium-skin-tone","person-golfing","person-golfing-dark-skin-tone","person-golfing-light-skin-tone","person-golfing-medium-dark-skin-tone","person-golfing-medium-light-skin-tone","person-golfing-medium-skin-tone","person-in-bed","person-in-bed-dark-skin-tone","person-in-bed-light-skin-tone","person-in-bed-medium-dark-skin-tone","person-in-bed-medium-light-skin-tone","person-in-bed-medium-skin-tone","person-in-lotus-position","person-in-lotus-position-dark-skin-tone","person-in-lotus-position-light-skin-tone","person-in-lotus-position-medium-dark-skin-tone","person-in-lotus-position-medium-light-skin-tone","person-in-lotus-position-medium-skin-tone","person-in-manual-wheelchair","person-in-manual-wheelchair-dark-skin-tone","person-in-manual-wheelchair-light-skin-tone","person-in-manual-wheelchair-medium-dark-skin-tone","person-in-manual-wheelchair-medium-light-skin-tone","person-in-manual-wheelchair-medium-skin-tone","person-in-motorized-wheelchair","person-in-motorized-wheelchair-dark-skin-tone","person-in-motorized-wheelchair-light-skin-tone","person-in-motorized-wheelchair-medium-dark-skin-tone","person-in-motorized-wheelchair-medium-light-skin-tone","person-in-motorized-wheelchair-medium-skin-tone","person-in-steamy-room","person-in-steamy-room-dark-skin-tone","person-in-steamy-room-light-skin-tone","person-in-steamy-room-medium-dark-skin-tone","person-in-steamy-room-medium-light-skin-tone","person-in-steamy-room-medium-skin-tone","person-in-suit-levitating","person-in-suit-levitating-dark-skin-tone","person-in-suit-levitating-light-skin-tone","person-in-suit-levitating-medium-dark-skin-tone","person-in-suit-levitating-medium-light-skin-tone","person-in-suit-levitating-medium-skin-tone","person-in-tuxedo","person-in-tuxedo-dark-skin-tone","person-in-tuxedo-light-skin-tone","person-in-tuxedo-medium-dark-skin-tone","person-in-tuxedo-medium-light-skin-tone","person-in-tuxedo-medium-skin-tone","person-juggling","person-juggling-dark-skin-tone","person-juggling-light-skin-tone","person-juggling-medium-dark-skin-tone","person-juggling-medium-light-skin-tone","person-juggling-medium-skin-tone","person-kneeling","person-kneeling-dark-skin-tone","person-kneeling-light-skin-tone","person-kneeling-medium-dark-skin-tone","person-kneeling-medium-light-skin-tone","person-kneeling-medium-skin-tone","person-lifting-weights","person-lifting-weights-dark-skin-tone","person-lifting-weights-light-skin-tone","person-lifting-weights-medium-dark-skin-tone","person-lifting-weights-medium-light-skin-tone","person-lifting-weights-medium-skin-tone","person-light-skin-tone","person-light-skin-tone-bald","person-light-skin-tone-beard","person-light-skin-tone-blond-hair","person-light-skin-tone-curly-hair","person-light-skin-tone-red-hair","person-light-skin-tone-white-hair","person-medium-dark-skin-tone","person-medium-dark-skin-tone-bald","person-medium-dark-skin-tone-beard","person-medium-dark-skin-tone-blond-hair","person-medium-dark-skin-tone-curly-hair","person-medium-dark-skin-tone-red-hair","person-medium-dark-skin-tone-white-hair","person-medium-light-skin-tone","person-medium-light-skin-tone-bald","person-medium-light-skin-tone-beard","person-medium-light-skin-tone-blond-hair","person-medium-light-skin-tone-curly-hair","person-medium-light-skin-tone-red-hair","person-medium-light-skin-tone-white-hair","person-medium-skin-tone","person-medium-skin-tone-bald","person-medium-skin-tone-beard","person-medium-skin-tone-blond-hair","person-medium-skin-tone-curly-hair","person-medium-skin-tone-red-hair","person-medium-skin-tone-white-hair","person-mountain-biking","person-mountain-biking-dark-skin-tone","person-mountain-biking-light-skin-tone","person-mountain-biking-medium-dark-skin-tone","person-mountain-biking-medium-light-skin-tone","person-mountain-biking-medium-skin-tone","person-playing-handball","person-playing-handball-dark-skin-tone","person-playing-handball-light-skin-tone","person-playing-handball-medium-dark-skin-tone","person-playing-handball-medium-light-skin-tone","person-playing-handball-medium-skin-tone","person-playing-water-polo","person-playing-water-polo-dark-skin-tone","person-playing-water-polo-light-skin-tone","person-playing-water-polo-medium-dark-skin-tone","person-playing-water-polo-medium-light-skin-tone","person-playing-water-polo-medium-skin-tone","person-pouting","person-pouting-dark-skin-tone","person-pouting-light-skin-tone","person-pouting-medium-dark-skin-tone","person-pouting-medium-light-skin-tone","person-pouting-medium-skin-tone","person-raising-hand","person-raising-hand-dark-skin-tone","person-raising-hand-light-skin-tone","person-raising-hand-medium-dark-skin-tone","person-raising-hand-medium-light-skin-tone","person-raising-hand-medium-skin-tone","person-red-hair","person-rowing-boat","person-rowing-boat-dark-skin-tone","person-rowing-boat-light-skin-tone","person-rowing-boat-medium-dark-skin-tone","person-rowing-boat-medium-light-skin-tone","person-rowing-boat-medium-skin-tone","person-running","person-running-dark-skin-tone","person-running-light-skin-tone","person-running-medium-dark-skin-tone","person-running-medium-light-skin-tone","person-running-medium-skin-tone","person-shrugging","person-shrugging-dark-skin-tone","person-shrugging-light-skin-tone","person-shrugging-medium-dark-skin-tone","person-shrugging-medium-light-skin-tone","person-shrugging-medium-skin-tone","person-standing","person-standing-dark-skin-tone","person-standing-light-skin-tone","person-standing-medium-dark-skin-tone","person-standing-medium-light-skin-tone","person-standing-medium-skin-tone","person-surfing","person-surfing-dark-skin-tone","person-surfing-light-skin-tone","person-surfing-medium-dark-skin-tone","person-surfing-medium-light-skin-tone","person-surfing-medium-skin-tone","person-swimming","person-swimming-dark-skin-tone","person-swimming-light-skin-tone","person-swimming-medium-dark-skin-tone","person-swimming-medium-light-skin-tone","person-swimming-medium-skin-tone","person-taking-bath","person-taking-bath-dark-skin-tone","person-taking-bath-light-skin-tone","person-taking-bath-medium-dark-skin-tone","person-taking-bath-medium-light-skin-tone","person-taking-bath-medium-skin-tone","person-tipping-hand","person-tipping-hand-dark-skin-tone","person-tipping-hand-light-skin-tone","person-tipping-hand-medium-dark-skin-tone","person-tipping-hand-medium-light-skin-tone","person-tipping-hand-medium-skin-tone","person-walking","person-walking-dark-skin-tone","person-walking-light-skin-tone","person-walking-medium-dark-skin-tone","person-walking-medium-light-skin-tone","person-walking-medium-skin-tone","person-wearing-turban","person-wearing-turban-dark-skin-tone","person-wearing-turban-light-skin-tone","person-wearing-turban-medium-dark-skin-tone","person-wearing-turban-medium-light-skin-tone","person-wearing-turban-medium-skin-tone","person-white-hair","person-with-crown","person-with-crown-dark-skin-tone","person-with-crown-light-skin-tone","person-with-crown-medium-dark-skin-tone","person-with-crown-medium-light-skin-tone","person-with-crown-medium-skin-tone","person-with-skullcap","person-with-skullcap-dark-skin-tone","person-with-skullcap-light-skin-tone","person-with-skullcap-medium-dark-skin-tone","person-with-skullcap-medium-light-skin-tone","person-with-skullcap-medium-skin-tone","person-with-veil","person-with-veil-dark-skin-tone","person-with-veil-light-skin-tone","person-with-veil-medium-dark-skin-tone","person-with-veil-medium-light-skin-tone","person-with-veil-medium-skin-tone","person-with-white-cane","person-with-white-cane-dark-skin-tone","person-with-white-cane-light-skin-tone","person-with-white-cane-medium-dark-skin-tone","person-with-white-cane-medium-light-skin-tone","person-with-white-cane-medium-skin-tone","petri-dish","pick","pickup-truck","pie","pig","pig-face","pig-nose","pile-of-poo","pill","pilot","pilot-dark-skin-tone","pilot-light-skin-tone","pilot-medium-dark-skin-tone","pilot-medium-light-skin-tone","pilot-medium-skin-tone","pinata","pinched-fingers","pinched-fingers-dark-skin-tone","pinched-fingers-light-skin-tone","pinched-fingers-medium-dark-skin-tone","pinched-fingers-medium-light-skin-tone","pinched-fingers-medium-skin-tone","pinching-hand","pinching-hand-dark-skin-tone","pinching-hand-light-skin-tone","pinching-hand-medium-dark-skin-tone","pinching-hand-medium-light-skin-tone","pinching-hand-medium-skin-tone","pine-decoration","pineapple","ping-pong","pirate-flag","pisces","pizza","placard","place-of-worship","play-button","play-or-pause-button","playground-slide","pleading-face","plunger","plus","polar-bear","police-car","police-car-light","police-officer","police-officer-dark-skin-tone","police-officer-light-skin-tone","police-officer-medium-dark-skin-tone","police-officer-medium-light-skin-tone","police-officer-medium-skin-tone","poodle","pool-8-ball","popcorn","post-office","postal-horn","postbox","pot-of-food","potable-water","potato","potted-plant","poultry-leg","pound-banknote","pouring-liquid","pouting-cat","prayer-beads","pregnant-man","pregnant-man-dark-skin-tone","pregnant-man-light-skin-tone","pregnant-man-medium-dark-skin-tone","pregnant-man-medium-light-skin-tone","pregnant-man-medium-skin-tone","pregnant-person","pregnant-person-dark-skin-tone","pregnant-person-light-skin-tone","pregnant-person-medium-dark-skin-tone","pregnant-person-medium-light-skin-tone","pregnant-person-medium-skin-tone","pregnant-woman","pregnant-woman-dark-skin-tone","pregnant-woman-light-skin-tone","pregnant-woman-medium-dark-skin-tone","pregnant-woman-medium-light-skin-tone","pregnant-woman-medium-skin-tone","pretzel","prince","prince-dark-skin-tone","prince-light-skin-tone","prince-medium-dark-skin-tone","prince-medium-light-skin-tone","prince-medium-skin-tone","princess","princess-dark-skin-tone","princess-light-skin-tone","princess-medium-dark-skin-tone","princess-medium-light-skin-tone","princess-medium-skin-tone","printer","prohibited","purple-circle","purple-heart","purple-square","purse","pushpin","puzzle-piece","rabbit","rabbit-face","raccoon","racing-car","radio","radio-button","radioactive","railway-car","railway-track","rainbow","rainbow-flag","raised-back-of-hand","raised-back-of-hand-dark-skin-tone","raised-back-of-hand-light-skin-tone","raised-back-of-hand-medium-dark-skin-tone","raised-back-of-hand-medium-light-skin-tone","raised-back-of-hand-medium-skin-tone","raised-fist","raised-fist-dark-skin-tone","raised-fist-light-skin-tone","raised-fist-medium-dark-skin-tone","raised-fist-medium-light-skin-tone","raised-fist-medium-skin-tone","raised-hand","raised-hand-dark-skin-tone","raised-hand-light-skin-tone","raised-hand-medium-dark-skin-tone","raised-hand-medium-light-skin-tone","raised-hand-medium-skin-tone","raising-hands","raising-hands-dark-skin-tone","raising-hands-light-skin-tone","raising-hands-medium-dark-skin-tone","raising-hands-medium-light-skin-tone","raising-hands-medium-skin-tone","ram","rat","razor","receipt","record-button","recycling-symbol","red-apple","red-circle","red-envelope","red-exclamation-mark","red-haired","red-heart","red-paper-lantern","red-question-mark","red-square","red-triangle-pointed-down","red-triangle-pointed-up","registered","relieved-face","reminder-ribbon","repeat-button","repeat-single-button","rescue-workers-helmet","restroom","reverse-button","revolving-hearts","rhinoceros","ribbon","rice-ball","rice-cracker","right-anger-bubble","right-arrow","right-arrow-curving-down","right-arrow-curving-left","right-arrow-curving-up","right-facing-fist","right-facing-fist-dark-skin-tone","right-facing-fist-light-skin-tone","right-facing-fist-medium-dark-skin-tone","right-facing-fist-medium-light-skin-tone","right-facing-fist-medium-skin-tone","rightwards-hand","rightwards-hand-dark-skin-tone","rightwards-hand-light-skin-tone","rightwards-hand-medium-dark-skin-tone","rightwards-hand-medium-light-skin-tone","rightwards-hand-medium-skin-tone","ring","ring-buoy","ringed-planet","roasted-sweet-potato","robot","rock","rocket","roll-of-paper","rolled-up-newspaper","roller-coaster","roller-skate","rolling-on-the-floor-laughing","rooster","rose","rosette","round-pushpin","rugby-football","running-shirt","running-shoe","sad-but-relieved-face","safety-pin","safety-vest","sagittarius","sailboat","sake","salt","saluting-face","sandwich","santa-claus","santa-claus-dark-skin-tone","santa-claus-light-skin-tone","santa-claus-medium-dark-skin-tone","santa-claus-medium-light-skin-tone","santa-claus-medium-skin-tone","sari","satellite","satellite-antenna","sauropod","saxophone","scarf","school","scientist","scientist-dark-skin-tone","scientist-light-skin-tone","scientist-medium-dark-skin-tone","scientist-medium-light-skin-tone","scientist-medium-skin-tone","scissors","scorpio","scorpion","screwdriver","scroll","seal","seat","see-no-evil-monkey","seedling","selfie","selfie-dark-skin-tone","selfie-light-skin-tone","selfie-medium-dark-skin-tone","selfie-medium-light-skin-tone","selfie-medium-skin-tone","service-dog","seven-oclock","seven-thirty","sewing-needle","shallow-pan-of-food","shamrock","shark","shaved-ice","sheaf-of-rice","shibuya-109-department-store","shield","shinto-shrine","ship","shooting-star","shopping-bags","shopping-cart","shortcake","shorts","shower","shrimp","shuffle-tracks-button","shushing-face","sign-of-the-horns","sign-of-the-horns-dark-skin-tone","sign-of-the-horns-light-skin-tone","sign-of-the-horns-medium-dark-skin-tone","sign-of-the-horns-medium-light-skin-tone","sign-of-the-horns-medium-skin-tone","singer","singer-dark-skin-tone","singer-light-skin-tone","singer-medium-dark-skin-tone","singer-medium-light-skin-tone","singer-medium-skin-tone","six-oclock","six-thirty","skateboard","skier","skier-dark-skin-tone","skier-light-skin-tone","skier-medium-dark-skin-tone","skier-medium-light-skin-tone","skier-medium-skin-tone","skis","skull","skull-and-crossbones","skunk","sled","sleeping-face","sleepy-face","slightly-frowning-face","slightly-smiling-face","slot-machine","sloth","small-airplane","small-blue-diamond","small-orange-diamond","smiling-cat-with-heart-eyes","smiling-face","smiling-face-with-halo","smiling-face-with-heart-eyes","smiling-face-with-hearts","smiling-face-with-horns","smiling-face-with-open-hands","smiling-face-with-smiling-eyes","smiling-face-with-sunglasses","smiling-face-with-tear","smirking-face","snail","snake","sneezing-face","snow-capped-mountain","snowboarder","snowboarder-dark-skin-tone","snowboarder-light-skin-tone","snowboarder-medium-dark-skin-tone","snowboarder-medium-light-skin-tone","snowboarder-medium-skin-tone","snowflake","snowman","snowman-without-snow","soap","soccer-ball","socks","soft-ice-cream","softball","soon-arrow","sos-button","spade-suit","spaghetti","sparkle","sparkler","sparkles","sparkling-heart","speak-no-evil-monkey","speaker-high-volume","speaker-low-volume","speaker-medium-volume","speaking-head","speech-balloon","speedboat","spider","spider-web","spiral-calendar","spiral-notepad","spiral-shell","sponge","spoon","sport-utility-vehicle","sports-medal","spouting-whale","squid","squinting-face-with-tongue","stadium","star","star-and-crescent","star-of-david","star-struck","station","statue-of-liberty","steaming-bowl","stethoscope","stop-button","stop-sign","stopwatch","straight-ruler","strawberry","student","student-dark-skin-tone","student-light-skin-tone","student-medium-dark-skin-tone","student-medium-light-skin-tone","student-medium-skin-tone","studio-microphone","stuffed-flatbread","sun","sun-behind-cloud","sun-behind-large-cloud","sun-behind-rain-cloud","sun-behind-small-cloud","sun-with-face","sunflower","sunglasses","sunrise","sunrise-over-mountains","sunset","superhero","superhero-dark-skin-tone","superhero-light-skin-tone","superhero-medium-dark-skin-tone","superhero-medium-light-skin-tone","superhero-medium-skin-tone","supervillain","supervillain-dark-skin-tone","supervillain-light-skin-tone","supervillain-medium-dark-skin-tone","supervillain-medium-light-skin-tone","supervillain-medium-skin-tone","sushi","suspension-railway","swan","sweat-droplets","synagogue","syringe","t-rex","t-shirt","taco","takeout-box","tamale","tanabata-tree","tangerine","taurus","taxi","teacher","teacher-dark-skin-tone","teacher-light-skin-tone","teacher-medium-dark-skin-tone","teacher-medium-light-skin-tone","teacher-medium-skin-tone","teacup-without-handle","teapot","tear-off-calendar","technologist","technologist-dark-skin-tone","technologist-light-skin-tone","technologist-medium-dark-skin-tone","technologist-medium-light-skin-tone","technologist-medium-skin-tone","teddy-bear","telephone","telephone-receiver","telescope","television","ten-oclock","ten-thirty","tennis","tent","test-tube","thermometer","thinking-face","thong-sandal","thought-balloon","thread","three-oclock","three-thirty","thumbs-down","thumbs-down-dark-skin-tone","thumbs-down-light-skin-tone","thumbs-down-medium-dark-skin-tone","thumbs-down-medium-light-skin-tone","thumbs-down-medium-skin-tone","thumbs-up","thumbs-up-dark-skin-tone","thumbs-up-light-skin-tone","thumbs-up-medium-dark-skin-tone","thumbs-up-medium-light-skin-tone","thumbs-up-medium-skin-tone","ticket","tiger","tiger-face","timer-clock","tired-face","toilet","tokyo-tower","tomato","tongue","toolbox","tooth","toothbrush","top-arrow","top-hat","tornado","trackball","tractor","trade-mark","train","tram","tram-car","transgender-flag","transgender-symbol","triangular-flag","triangular-ruler","trident-emblem","troll","trolleybus","trophy","tropical-drink","tropical-fish","trumpet","tulip","tumbler-glass","turkey","turtle","twelve-oclock","twelve-thirty","two-hearts","two-hump-camel","two-men-holding-hands","two-oclock","two-thirty","two-women-holding-hands","umbrella","umbrella-on-ground","umbrella-with-rain-drops","unamused-face","unicorn","unlocked","up-arrow","up-down-arrow","up-exclamation-button","up-left-arrow","up-right-arrow","upside-down-face","upwards-button","vampire","vampire-dark-skin-tone","vampire-light-skin-tone","vampire-medium-dark-skin-tone","vampire-medium-light-skin-tone","vampire-medium-skin-tone","vertical-traffic-light","vibration-mode","victory-hand","victory-hand-dark-skin-tone","victory-hand-light-skin-tone","victory-hand-medium-dark-skin-tone","victory-hand-medium-light-skin-tone","victory-hand-medium-skin-tone","video-camera","video-game","videocassette","violin","virgo","volcano","volleyball","vs-button","vulcan-salute","vulcan-salute-dark-skin-tone","vulcan-salute-light-skin-tone","vulcan-salute-medium-dark-skin-tone","vulcan-salute-medium-light-skin-tone","vulcan-salute-medium-skin-tone","waffle","waning-crescent-moon","waning-gibbous-moon","warning","wastebasket","watch","water-buffalo","water-closet","water-pistol","water-wave","watermelon","waving-hand","waving-hand-dark-skin-tone","waving-hand-light-skin-tone","waving-hand-medium-dark-skin-tone","waving-hand-medium-light-skin-tone","waving-hand-medium-skin-tone","wavy-dash","waxing-crescent-moon","waxing-gibbous-moon","weary-cat","weary-face","wedding","whale","wheel","wheel-of-dharma","wheelchair-symbol","white-cane","white-circle","white-exclamation-mark","white-flag","white-flower","white-haired","white-heart","white-large-square","white-medium-small-square","white-medium-square","white-question-mark","white-small-square","white-square-button","wilted-flower","wind-chime","wind-face","window","wine-glass","winking-face","winking-face-with-tongue","wolf","woman","woman-and-man-holding-hands","woman-and-man-holding-hands-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-light-skin-tone","woman-artist","woman-artist-dark-skin-tone","woman-artist-light-skin-tone","woman-artist-medium-dark-skin-tone","woman-artist-medium-light-skin-tone","woman-artist-medium-skin-tone","woman-astronaut","woman-astronaut-dark-skin-tone","woman-astronaut-light-skin-tone","woman-astronaut-medium-dark-skin-tone","woman-astronaut-medium-light-skin-tone","woman-astronaut-medium-skin-tone","woman-bald","woman-beard","woman-biking","woman-biking-dark-skin-tone","woman-biking-light-skin-tone","woman-biking-medium-dark-skin-tone","woman-biking-medium-light-skin-tone","woman-biking-medium-skin-tone","woman-blond-hair","woman-bouncing-ball","woman-bouncing-ball-dark-skin-tone","woman-bouncing-ball-light-skin-tone","woman-bouncing-ball-medium-dark-skin-tone","woman-bouncing-ball-medium-light-skin-tone","woman-bouncing-ball-medium-skin-tone","woman-bowing","woman-bowing-dark-skin-tone","woman-bowing-light-skin-tone","woman-bowing-medium-dark-skin-tone","woman-bowing-medium-light-skin-tone","woman-bowing-medium-skin-tone","woman-cartwheeling","woman-cartwheeling-dark-skin-tone","woman-cartwheeling-light-skin-tone","woman-cartwheeling-medium-dark-skin-tone","woman-cartwheeling-medium-light-skin-tone","woman-cartwheeling-medium-skin-tone","woman-climbing","woman-climbing-dark-skin-tone","woman-climbing-light-skin-tone","woman-climbing-medium-dark-skin-tone","woman-climbing-medium-light-skin-tone","woman-climbing-medium-skin-tone","woman-construction-worker","woman-construction-worker-dark-skin-tone","woman-construction-worker-light-skin-tone","woman-construction-worker-medium-dark-skin-tone","woman-construction-worker-medium-light-skin-tone","woman-construction-worker-medium-skin-tone","woman-cook","woman-cook-dark-skin-tone","woman-cook-light-skin-tone","woman-cook-medium-dark-skin-tone","woman-cook-medium-light-skin-tone","woman-cook-medium-skin-tone","woman-curly-hair","woman-dancing","woman-dancing-dark-skin-tone","woman-dancing-light-skin-tone","woman-dancing-medium-dark-skin-tone","woman-dancing-medium-light-skin-tone","woman-dancing-medium-skin-tone","woman-dark-skin-tone","woman-dark-skin-tone-bald","woman-dark-skin-tone-beard","woman-dark-skin-tone-blond-hair","woman-dark-skin-tone-curly-hair","woman-dark-skin-tone-red-hair","woman-dark-skin-tone-white-hair","woman-detective","woman-detective-dark-skin-tone","woman-detective-light-skin-tone","woman-detective-medium-dark-skin-tone","woman-detective-medium-light-skin-tone","woman-detective-medium-skin-tone","woman-elf","woman-elf-dark-skin-tone","woman-elf-light-skin-tone","woman-elf-medium-dark-skin-tone","woman-elf-medium-light-skin-tone","woman-elf-medium-skin-tone","woman-facepalming","woman-facepalming-dark-skin-tone","woman-facepalming-light-skin-tone","woman-facepalming-medium-dark-skin-tone","woman-facepalming-medium-light-skin-tone","woman-facepalming-medium-skin-tone","woman-factory-worker","woman-factory-worker-dark-skin-tone","woman-factory-worker-light-skin-tone","woman-factory-worker-medium-dark-skin-tone","woman-factory-worker-medium-light-skin-tone","woman-factory-worker-medium-skin-tone","woman-fairy","woman-fairy-dark-skin-tone","woman-fairy-light-skin-tone","woman-fairy-medium-dark-skin-tone","woman-fairy-medium-light-skin-tone","woman-fairy-medium-skin-tone","woman-farmer","woman-farmer-dark-skin-tone","woman-farmer-light-skin-tone","woman-farmer-medium-dark-skin-tone","woman-farmer-medium-light-skin-tone","woman-farmer-medium-skin-tone","woman-feeding-baby","woman-feeding-baby-dark-skin-tone","woman-feeding-baby-light-skin-tone","woman-feeding-baby-medium-dark-skin-tone","woman-feeding-baby-medium-light-skin-tone","woman-feeding-baby-medium-skin-tone","woman-firefighter","woman-firefighter-dark-skin-tone","woman-firefighter-light-skin-tone","woman-firefighter-medium-dark-skin-tone","woman-firefighter-medium-light-skin-tone","woman-firefighter-medium-skin-tone","woman-frowning","woman-frowning-dark-skin-tone","woman-frowning-light-skin-tone","woman-frowning-medium-dark-skin-tone","woman-frowning-medium-light-skin-tone","woman-frowning-medium-skin-tone","woman-genie","woman-gesturing-no","woman-gesturing-no-dark-skin-tone","woman-gesturing-no-light-skin-tone","woman-gesturing-no-medium-dark-skin-tone","woman-gesturing-no-medium-light-skin-tone","woman-gesturing-no-medium-skin-tone","woman-gesturing-ok","woman-gesturing-ok-dark-skin-tone","woman-gesturing-ok-light-skin-tone","woman-gesturing-ok-medium-dark-skin-tone","woman-gesturing-ok-medium-light-skin-tone","woman-gesturing-ok-medium-skin-tone","woman-getting-haircut","woman-getting-haircut-dark-skin-tone","woman-getting-haircut-light-skin-tone","woman-getting-haircut-medium-dark-skin-tone","woman-getting-haircut-medium-light-skin-tone","woman-getting-haircut-medium-skin-tone","woman-getting-massage","woman-getting-massage-dark-skin-tone","woman-getting-massage-light-skin-tone","woman-getting-massage-medium-dark-skin-tone","woman-getting-massage-medium-light-skin-tone","woman-getting-massage-medium-skin-tone","woman-golfing","woman-golfing-dark-skin-tone","woman-golfing-light-skin-tone","woman-golfing-medium-dark-skin-tone","woman-golfing-medium-light-skin-tone","woman-golfing-medium-skin-tone","woman-guard","woman-guard-dark-skin-tone","woman-guard-light-skin-tone","woman-guard-medium-dark-skin-tone","woman-guard-medium-light-skin-tone","woman-guard-medium-skin-tone","woman-health-worker","woman-health-worker-dark-skin-tone","woman-health-worker-light-skin-tone","woman-health-worker-medium-dark-skin-tone","woman-health-worker-medium-light-skin-tone","woman-health-worker-medium-skin-tone","woman-in-lotus-position","woman-in-lotus-position-dark-skin-tone","woman-in-lotus-position-light-skin-tone","woman-in-lotus-position-medium-dark-skin-tone","woman-in-lotus-position-medium-light-skin-tone","woman-in-lotus-position-medium-skin-tone","woman-in-manual-wheelchair","woman-in-manual-wheelchair-dark-skin-tone","woman-in-manual-wheelchair-light-skin-tone","woman-in-manual-wheelchair-medium-dark-skin-tone","woman-in-manual-wheelchair-medium-light-skin-tone","woman-in-manual-wheelchair-medium-skin-tone","woman-in-motorized-wheelchair","woman-in-motorized-wheelchair-dark-skin-tone","woman-in-motorized-wheelchair-light-skin-tone","woman-in-motorized-wheelchair-medium-dark-skin-tone","woman-in-motorized-wheelchair-medium-light-skin-tone","woman-in-motorized-wheelchair-medium-skin-tone","woman-in-steamy-room","woman-in-steamy-room-dark-skin-tone","woman-in-steamy-room-light-skin-tone","woman-in-steamy-room-medium-dark-skin-tone","woman-in-steamy-room-medium-light-skin-tone","woman-in-steamy-room-medium-skin-tone","woman-in-suit-levitating","woman-in-suit-levitating-dark-skin-tone","woman-in-suit-levitating-light-skin-tone","woman-in-suit-levitating-medium-dark-skin-tone","woman-in-suit-levitating-medium-light-skin-tone","woman-in-suit-levitating-medium-skin-tone","woman-in-tuxedo","woman-in-tuxedo-dark-skin-tone","woman-in-tuxedo-light-skin-tone","woman-in-tuxedo-medium-dark-skin-tone","woman-in-tuxedo-medium-light-skin-tone","woman-in-tuxedo-medium-skin-tone","woman-judge","woman-judge-dark-skin-tone","woman-judge-light-skin-tone","woman-judge-medium-dark-skin-tone","woman-judge-medium-light-skin-tone","woman-judge-medium-skin-tone","woman-juggling","woman-juggling-dark-skin-tone","woman-juggling-light-skin-tone","woman-juggling-medium-dark-skin-tone","woman-juggling-medium-light-skin-tone","woman-juggling-medium-skin-tone","woman-kneeling","woman-kneeling-dark-skin-tone","woman-kneeling-light-skin-tone","woman-kneeling-medium-dark-skin-tone","woman-kneeling-medium-light-skin-tone","woman-kneeling-medium-skin-tone","woman-lifting-weights","woman-lifting-weights-dark-skin-tone","woman-lifting-weights-light-skin-tone","woman-lifting-weights-medium-dark-skin-tone","woman-lifting-weights-medium-light-skin-tone","woman-lifting-weights-medium-skin-tone","woman-light-skin-tone","woman-light-skin-tone-bald","woman-light-skin-tone-beard","woman-light-skin-tone-blond-hair","woman-light-skin-tone-curly-hair","woman-light-skin-tone-red-hair","woman-light-skin-tone-white-hair","woman-mage","woman-mage-dark-skin-tone","woman-mage-light-skin-tone","woman-mage-medium-dark-skin-tone","woman-mage-medium-light-skin-tone","woman-mage-medium-skin-tone","woman-mechanic","woman-mechanic-dark-skin-tone","woman-mechanic-light-skin-tone","woman-mechanic-medium-dark-skin-tone","woman-mechanic-medium-light-skin-tone","woman-mechanic-medium-skin-tone","woman-medium-dark-skin-tone","woman-medium-dark-skin-tone-bald","woman-medium-dark-skin-tone-beard","woman-medium-dark-skin-tone-blond-hair","woman-medium-dark-skin-tone-curly-hair","woman-medium-dark-skin-tone-red-hair","woman-medium-dark-skin-tone-white-hair","woman-medium-light-skin-tone","woman-medium-light-skin-tone-bald","woman-medium-light-skin-tone-beard","woman-medium-light-skin-tone-blond-hair","woman-medium-light-skin-tone-curly-hair","woman-medium-light-skin-tone-red-hair","woman-medium-light-skin-tone-white-hair","woman-medium-skin-tone","woman-medium-skin-tone-bald","woman-medium-skin-tone-beard","woman-medium-skin-tone-blond-hair","woman-medium-skin-tone-curly-hair","woman-medium-skin-tone-red-hair","woman-medium-skin-tone-white-hair","woman-mountain-biking","woman-mountain-biking-dark-skin-tone","woman-mountain-biking-light-skin-tone","woman-mountain-biking-medium-dark-skin-tone","woman-mountain-biking-medium-light-skin-tone","woman-mountain-biking-medium-skin-tone","woman-office-worker","woman-office-worker-dark-skin-tone","woman-office-worker-light-skin-tone","woman-office-worker-medium-dark-skin-tone","woman-office-worker-medium-light-skin-tone","woman-office-worker-medium-skin-tone","woman-pilot","woman-pilot-dark-skin-tone","woman-pilot-light-skin-tone","woman-pilot-medium-dark-skin-tone","woman-pilot-medium-light-skin-tone","woman-pilot-medium-skin-tone","woman-playing-handball","woman-playing-handball-dark-skin-tone","woman-playing-handball-light-skin-tone","woman-playing-handball-medium-dark-skin-tone","woman-playing-handball-medium-light-skin-tone","woman-playing-handball-medium-skin-tone","woman-playing-water-polo","woman-playing-water-polo-dark-skin-tone","woman-playing-water-polo-light-skin-tone","woman-playing-water-polo-medium-dark-skin-tone","woman-playing-water-polo-medium-light-skin-tone","woman-playing-water-polo-medium-skin-tone","woman-police-officer","woman-police-officer-dark-skin-tone","woman-police-officer-light-skin-tone","woman-police-officer-medium-dark-skin-tone","woman-police-officer-medium-light-skin-tone","woman-police-officer-medium-skin-tone","woman-pouting","woman-pouting-dark-skin-tone","woman-pouting-light-skin-tone","woman-pouting-medium-dark-skin-tone","woman-pouting-medium-light-skin-tone","woman-pouting-medium-skin-tone","woman-raising-hand","woman-raising-hand-dark-skin-tone","woman-raising-hand-light-skin-tone","woman-raising-hand-medium-dark-skin-tone","woman-raising-hand-medium-light-skin-tone","woman-raising-hand-medium-skin-tone","woman-red-hair","woman-rowing-boat","woman-rowing-boat-dark-skin-tone","woman-rowing-boat-light-skin-tone","woman-rowing-boat-medium-dark-skin-tone","woman-rowing-boat-medium-light-skin-tone","woman-rowing-boat-medium-skin-tone","woman-running","woman-running-dark-skin-tone","woman-running-light-skin-tone","woman-running-medium-dark-skin-tone","woman-running-medium-light-skin-tone","woman-running-medium-skin-tone","woman-scientist","woman-scientist-dark-skin-tone","woman-scientist-light-skin-tone","woman-scientist-medium-dark-skin-tone","woman-scientist-medium-light-skin-tone","woman-scientist-medium-skin-tone","woman-shrugging","woman-shrugging-dark-skin-tone","woman-shrugging-light-skin-tone","woman-shrugging-medium-dark-skin-tone","woman-shrugging-medium-light-skin-tone","woman-shrugging-medium-skin-tone","woman-singer","woman-singer-dark-skin-tone","woman-singer-light-skin-tone","woman-singer-medium-dark-skin-tone","woman-singer-medium-light-skin-tone","woman-singer-medium-skin-tone","woman-standing","woman-standing-dark-skin-tone","woman-standing-light-skin-tone","woman-standing-medium-dark-skin-tone","woman-standing-medium-light-skin-tone","woman-standing-medium-skin-tone","woman-student","woman-student-dark-skin-tone","woman-student-light-skin-tone","woman-student-medium-dark-skin-tone","woman-student-medium-light-skin-tone","woman-student-medium-skin-tone","woman-superhero","woman-superhero-dark-skin-tone","woman-superhero-light-skin-tone","woman-superhero-medium-dark-skin-tone","woman-superhero-medium-light-skin-tone","woman-superhero-medium-skin-tone","woman-supervillain","woman-supervillain-dark-skin-tone","woman-supervillain-light-skin-tone","woman-supervillain-medium-dark-skin-tone","woman-supervillain-medium-light-skin-tone","woman-supervillain-medium-skin-tone","woman-surfing","woman-surfing-dark-skin-tone","woman-surfing-light-skin-tone","woman-surfing-medium-dark-skin-tone","woman-surfing-medium-light-skin-tone","woman-surfing-medium-skin-tone","woman-swimming","woman-swimming-dark-skin-tone","woman-swimming-light-skin-tone","woman-swimming-medium-dark-skin-tone","woman-swimming-medium-light-skin-tone","woman-swimming-medium-skin-tone","woman-teacher","woman-teacher-dark-skin-tone","woman-teacher-light-skin-tone","woman-teacher-medium-dark-skin-tone","woman-teacher-medium-light-skin-tone","woman-teacher-medium-skin-tone","woman-technologist","woman-technologist-dark-skin-tone","woman-technologist-light-skin-tone","woman-technologist-medium-dark-skin-tone","woman-technologist-medium-light-skin-tone","woman-technologist-medium-skin-tone","woman-tipping-hand","woman-tipping-hand-dark-skin-tone","woman-tipping-hand-light-skin-tone","woman-tipping-hand-medium-dark-skin-tone","woman-tipping-hand-medium-light-skin-tone","woman-tipping-hand-medium-skin-tone","woman-vampire","woman-vampire-dark-skin-tone","woman-vampire-light-skin-tone","woman-vampire-medium-dark-skin-tone","woman-vampire-medium-light-skin-tone","woman-vampire-medium-skin-tone","woman-walking","woman-walking-dark-skin-tone","woman-walking-light-skin-tone","woman-walking-medium-dark-skin-tone","woman-walking-medium-light-skin-tone","woman-walking-medium-skin-tone","woman-wearing-turban","woman-wearing-turban-dark-skin-tone","woman-wearing-turban-light-skin-tone","woman-wearing-turban-medium-dark-skin-tone","woman-wearing-turban-medium-light-skin-tone","woman-wearing-turban-medium-skin-tone","woman-white-hair","woman-with-headscarf","woman-with-headscarf-dark-skin-tone","woman-with-headscarf-light-skin-tone","woman-with-headscarf-medium-dark-skin-tone","woman-with-headscarf-medium-light-skin-tone","woman-with-headscarf-medium-skin-tone","woman-with-veil","woman-with-veil-dark-skin-tone","woman-with-veil-light-skin-tone","woman-with-veil-medium-dark-skin-tone","woman-with-veil-medium-light-skin-tone","woman-with-veil-medium-skin-tone","woman-with-white-cane","woman-with-white-cane-dark-skin-tone","woman-with-white-cane-light-skin-tone","woman-with-white-cane-medium-dark-skin-tone","woman-with-white-cane-medium-light-skin-tone","woman-with-white-cane-medium-skin-tone","woman-zombie","womans-boot","womans-clothes","womans-hat","womans-sandal","women-holding-hands","women-holding-hands-dark-skin-tone","women-holding-hands-dark-skin-tone-light-skin-tone","women-holding-hands-dark-skin-tone-medium-dark-skin-tone","women-holding-hands-dark-skin-tone-medium-light-skin-tone","women-holding-hands-dark-skin-tone-medium-skin-tone","women-holding-hands-light-skin-tone","women-holding-hands-light-skin-tone-dark-skin-tone","women-holding-hands-light-skin-tone-medium-dark-skin-tone","women-holding-hands-light-skin-tone-medium-light-skin-tone","women-holding-hands-light-skin-tone-medium-skin-tone","women-holding-hands-medium-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-skin-tone","women-holding-hands-medium-light-skin-tone","women-holding-hands-medium-light-skin-tone-dark-skin-tone","women-holding-hands-medium-light-skin-tone-light-skin-tone","women-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-light-skin-tone-medium-skin-tone","women-holding-hands-medium-skin-tone","women-holding-hands-medium-skin-tone-dark-skin-tone","women-holding-hands-medium-skin-tone-light-skin-tone","women-holding-hands-medium-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-skin-tone-medium-light-skin-tone","women-with-bunny-ears","women-wrestling","womens-room","wood","woozy-face","world-map","worm","worried-face","wrapped-gift","wrench","writing-hand","writing-hand-dark-skin-tone","writing-hand-light-skin-tone","writing-hand-medium-dark-skin-tone","writing-hand-medium-light-skin-tone","writing-hand-medium-skin-tone","x-ray","yarn","yawning-face","yellow-circle","yellow-heart","yellow-square","yen-banknote","yin-yang","yo-yo","zany-face","zebra","zipper-mouth-face","zombie","zzz"]},{prefix:"vscode-icons",info:{name:"VSCode Icons",total:1240,version:"12.6.0",author:{name:"Roberto Huertas",url:"https://github.com/vscode-icons/vscode-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE"},samples:["file-type-actionscript2","file-type-json","file-type-manifest"],height:32,displayHeight:16,category:"General",palette:!0},icons:["default-file","default-folder","default-folder-opened","default-root-folder","default-root-folder-opened","file-type-access","file-type-access2","file-type-actionscript","file-type-actionscript2","file-type-ada","file-type-advpl","file-type-affinitydesigner","file-type-affinityphoto","file-type-affinitypublisher","file-type-ai","file-type-ai2","file-type-al","file-type-al-dal","file-type-allcontributors","file-type-angular","file-type-ansible","file-type-antlr","file-type-anyscript","file-type-apache","file-type-apex","file-type-api-extractor","file-type-apib","file-type-apib2","file-type-apl","file-type-applescript","file-type-appscript","file-type-appsemble","file-type-appveyor","file-type-arduino","file-type-asciidoc","file-type-asp","file-type-aspx","file-type-assembly","file-type-astro","file-type-astroconfig","file-type-ats","file-type-audio","file-type-aurelia","file-type-autohotkey","file-type-autoit","file-type-avif","file-type-avro","file-type-awk","file-type-aws","file-type-azure","file-type-azurepipelines","file-type-babel","file-type-babel2","file-type-ballerina","file-type-bat","file-type-bats","file-type-bazaar","file-type-bazel","file-type-bazel-ignore","file-type-bazel-version","file-type-befunge","file-type-bicep","file-type-biml","file-type-binary","file-type-biome","file-type-bitbucketpipeline","file-type-bithound","file-type-blade","file-type-blitzbasic","file-type-bolt","file-type-bosque","file-type-bower","file-type-bower2","file-type-browserslist","file-type-buckbuild","file-type-buf","file-type-bun","file-type-bundler","file-type-bunfig","file-type-c","file-type-c-al","file-type-c2","file-type-c3","file-type-cabal","file-type-caddy","file-type-cake","file-type-cakephp","file-type-capacitor","file-type-cargo","file-type-casc","file-type-cddl","file-type-cert","file-type-ceylon","file-type-cf","file-type-cf2","file-type-cfc","file-type-cfc2","file-type-cfm","file-type-cfm2","file-type-cheader","file-type-chef","file-type-chef-cookbook","file-type-circleci","file-type-class","file-type-clojure","file-type-clojurescript","file-type-cloudfoundry","file-type-cmake","file-type-cobol","file-type-codacy","file-type-codeclimate","file-type-codecov","file-type-codekit","file-type-codeowners","file-type-codeql","file-type-coffeelint","file-type-coffeescript","file-type-commitizen","file-type-commitlint","file-type-compass","file-type-composer","file-type-conan","file-type-conda","file-type-config","file-type-confluence","file-type-coveralls","file-type-cpp","file-type-cpp2","file-type-cpp3","file-type-cppheader","file-type-crowdin","file-type-crystal","file-type-csharp","file-type-csharp2","file-type-cspell","file-type-csproj","file-type-css","file-type-csscomb","file-type-csslint","file-type-cssmap","file-type-cucumber","file-type-cuda","file-type-cvs","file-type-cypress","file-type-cypress-spec","file-type-cython","file-type-dal","file-type-darcs","file-type-dartlang","file-type-dartlang-generated","file-type-dartlang-ignore","file-type-datadog","file-type-db","file-type-delphi","file-type-deno","file-type-denoify","file-type-dependabot","file-type-dependencies","file-type-devcontainer","file-type-dhall","file-type-diff","file-type-django","file-type-dlang","file-type-docker","file-type-docker2","file-type-dockertest","file-type-dockertest2","file-type-docpad","file-type-docz","file-type-dojo","file-type-doppler","file-type-dotenv","file-type-dotjs","file-type-doxygen","file-type-drawio","file-type-drone","file-type-drools","file-type-dustjs","file-type-dvc","file-type-dylan","file-type-earthly","file-type-eas-metadata","file-type-edge","file-type-edge2","file-type-editorconfig","file-type-eex","file-type-ejs","file-type-elastic","file-type-elasticbeanstalk","file-type-eleventy","file-type-eleventy2","file-type-elixir","file-type-elm","file-type-elm2","file-type-emacs","file-type-ember","file-type-ensime","file-type-eps","file-type-erb","file-type-erlang","file-type-erlang2","file-type-esbuild","file-type-eslint","file-type-eslint2","file-type-esphome","file-type-excel","file-type-excel2","file-type-expo","file-type-falcon","file-type-fantasticon","file-type-fauna","file-type-favicon","file-type-fbx","file-type-firebase","file-type-firebasehosting","file-type-firestore","file-type-fitbit","file-type-fla","file-type-flareact","file-type-flash","file-type-floobits","file-type-flow","file-type-flutter","file-type-flutter-package","file-type-font","file-type-formkit","file-type-fortran","file-type-fossa","file-type-fossil","file-type-freemarker","file-type-fsharp","file-type-fsharp2","file-type-fsproj","file-type-fthtml","file-type-funding","file-type-fusebox","file-type-galen","file-type-galen2","file-type-gamemaker","file-type-gamemaker2","file-type-gamemaker81","file-type-gatsby","file-type-gcloud","file-type-gcode","file-type-gdscript","file-type-genstat","file-type-git","file-type-git2","file-type-gitlab","file-type-gitpod","file-type-glide","file-type-glitter","file-type-glsl","file-type-glyphs","file-type-gnu","file-type-gnuplot","file-type-go","file-type-go-aqua","file-type-go-black","file-type-go-fuchsia","file-type-go-gopher","file-type-go-lightblue","file-type-go-package","file-type-go-white","file-type-go-work","file-type-go-yellow","file-type-goctl","file-type-godot","file-type-gradle","file-type-gradle2","file-type-grain","file-type-graphql","file-type-graphql-config","file-type-graphviz","file-type-greenkeeper","file-type-gridsome","file-type-groovy","file-type-groovy2","file-type-grunt","file-type-gulp","file-type-haml","file-type-handlebars","file-type-handlebars2","file-type-harbour","file-type-hardhat","file-type-hashicorp","file-type-haskell","file-type-haskell2","file-type-haxe","file-type-haxecheckstyle","file-type-haxedevelop","file-type-helix","file-type-helm","file-type-hjson","file-type-hlsl","file-type-homeassistant","file-type-horusec","file-type-host","file-type-html","file-type-htmlhint","file-type-http","file-type-hunspell","file-type-husky","file-type-hy","file-type-hygen","file-type-hypr","file-type-icl","file-type-idris","file-type-idrisbin","file-type-idrispkg","file-type-image","file-type-imba","file-type-inc","file-type-infopath","file-type-informix","file-type-ini","file-type-ink","file-type-innosetup","file-type-io","file-type-iodine","file-type-ionic","file-type-jake","file-type-janet","file-type-jar","file-type-jasmine","file-type-java","file-type-jbuilder","file-type-jekyll","file-type-jenkins","file-type-jest","file-type-jest-snapshot","file-type-jinja","file-type-jpm","file-type-js","file-type-js-official","file-type-jsbeautify","file-type-jsconfig","file-type-jscpd","file-type-jshint","file-type-jsmap","file-type-json","file-type-json-official","file-type-json-schema","file-type-json2","file-type-json5","file-type-jsonld","file-type-jsonnet","file-type-jsp","file-type-jss","file-type-julia","file-type-julia2","file-type-jupyter","file-type-k","file-type-karma","file-type-key","file-type-kitchenci","file-type-kite","file-type-kivy","file-type-kos","file-type-kotlin","file-type-kusto","file-type-latino","file-type-layout","file-type-lerna","file-type-less","file-type-lex","file-type-license","file-type-licensebat","file-type-light-actionscript2","file-type-light-ada","file-type-light-apl","file-type-light-babel","file-type-light-babel2","file-type-light-cabal","file-type-light-circleci","file-type-light-cloudfoundry","file-type-light-codacy","file-type-light-codeclimate","file-type-light-codeowners","file-type-light-config","file-type-light-crystal","file-type-light-cypress","file-type-light-cypress-spec","file-type-light-db","file-type-light-deno","file-type-light-dhall","file-type-light-docpad","file-type-light-drone","file-type-light-eas-metadata","file-type-light-eleventy","file-type-light-eleventy2","file-type-light-esphome","file-type-light-expo","file-type-light-firebasehosting","file-type-light-fla","file-type-light-font","file-type-light-gamemaker2","file-type-light-gradle","file-type-light-hashicorp","file-type-light-hjson","file-type-light-ini","file-type-light-io","file-type-light-js","file-type-light-jsconfig","file-type-light-jsmap","file-type-light-json","file-type-light-json-schema","file-type-light-json5","file-type-light-jsonld","file-type-light-kite","file-type-light-lerna","file-type-light-mailing","file-type-light-mdx","file-type-light-mlang","file-type-light-mustache","file-type-light-netlify","file-type-light-next","file-type-light-nim","file-type-light-nx","file-type-light-objidconfig","file-type-light-openhab","file-type-light-pcl","file-type-light-pnpm","file-type-light-prettier","file-type-light-prisma","file-type-light-purescript","file-type-light-quasar","file-type-light-razzle","file-type-light-rehype","file-type-light-remark","file-type-light-replit","file-type-light-retext","file-type-light-rome","file-type-light-rubocop","file-type-light-rust","file-type-light-rust-toolchain","file-type-light-shaderlab","file-type-light-solidity","file-type-light-spin","file-type-light-stylelint","file-type-light-stylus","file-type-light-symfony","file-type-light-systemd","file-type-light-systemverilog","file-type-light-testcafe","file-type-light-testjs","file-type-light-tex","file-type-light-todo","file-type-light-toit","file-type-light-toml","file-type-light-tree","file-type-light-turbo","file-type-light-unibeautify","file-type-light-vash","file-type-light-vercel","file-type-light-vsix","file-type-light-vsixmanifest","file-type-light-xfl","file-type-light-yaml","file-type-light-zeit","file-type-lighthouse","file-type-lilypond","file-type-lime","file-type-lintstagedrc","file-type-liquid","file-type-lisp","file-type-livescript","file-type-lnk","file-type-locale","file-type-log","file-type-lolcode","file-type-lsl","file-type-lua","file-type-luau","file-type-lync","file-type-mailing","file-type-manifest","file-type-manifest-bak","file-type-manifest-skip","file-type-map","file-type-mariadb","file-type-markdown","file-type-markdownlint","file-type-markdownlint-ignore","file-type-marko","file-type-markojs","file-type-master-co","file-type-matlab","file-type-maven","file-type-maxscript","file-type-maya","file-type-mdx","file-type-mediawiki","file-type-mercurial","file-type-mermaid","file-type-meson","file-type-meteor","file-type-mjml","file-type-mlang","file-type-mocha","file-type-modernizr","file-type-mojo","file-type-mojolicious","file-type-moleculer","file-type-mondoo","file-type-mongo","file-type-monotone","file-type-motif","file-type-mson","file-type-mustache","file-type-mysql","file-type-ndst","file-type-nearly","file-type-nest-adapter-js","file-type-nest-adapter-ts","file-type-nest-controller-js","file-type-nest-controller-ts","file-type-nest-decorator-js","file-type-nest-decorator-ts","file-type-nest-filter-js","file-type-nest-filter-ts","file-type-nest-gateway-js","file-type-nest-gateway-ts","file-type-nest-guard-js","file-type-nest-guard-ts","file-type-nest-interceptor-js","file-type-nest-interceptor-ts","file-type-nest-middleware-js","file-type-nest-middleware-ts","file-type-nest-module-js","file-type-nest-module-ts","file-type-nest-pipe-js","file-type-nest-pipe-ts","file-type-nest-service-js","file-type-nest-service-ts","file-type-nestjs","file-type-netlify","file-type-next","file-type-ng-component-css","file-type-ng-component-dart","file-type-ng-component-html","file-type-ng-component-js","file-type-ng-component-js2","file-type-ng-component-less","file-type-ng-component-sass","file-type-ng-component-scss","file-type-ng-component-ts","file-type-ng-component-ts2","file-type-ng-controller-js","file-type-ng-controller-ts","file-type-ng-directive-dart","file-type-ng-directive-js","file-type-ng-directive-js2","file-type-ng-directive-ts","file-type-ng-directive-ts2","file-type-ng-guard-dart","file-type-ng-guard-js","file-type-ng-guard-ts","file-type-ng-interceptor-dart","file-type-ng-interceptor-js","file-type-ng-interceptor-ts","file-type-ng-module-dart","file-type-ng-module-js","file-type-ng-module-js2","file-type-ng-module-ts","file-type-ng-module-ts2","file-type-ng-pipe-dart","file-type-ng-pipe-js","file-type-ng-pipe-js2","file-type-ng-pipe-ts","file-type-ng-pipe-ts2","file-type-ng-routing-dart","file-type-ng-routing-js","file-type-ng-routing-js2","file-type-ng-routing-ts","file-type-ng-routing-ts2","file-type-ng-service-dart","file-type-ng-service-js","file-type-ng-service-js2","file-type-ng-service-ts","file-type-ng-service-ts2","file-type-ng-smart-component-dart","file-type-ng-smart-component-js","file-type-ng-smart-component-js2","file-type-ng-smart-component-ts","file-type-ng-smart-component-ts2","file-type-ng-tailwind","file-type-nginx","file-type-nim","file-type-nimble","file-type-ninja","file-type-nix","file-type-njsproj","file-type-noc","file-type-node","file-type-node2","file-type-nodemon","file-type-npm","file-type-nsi","file-type-nsri","file-type-nsri-integrity","file-type-nuget","file-type-numpy","file-type-nunjucks","file-type-nuxt","file-type-nx","file-type-nyc","file-type-objectivec","file-type-objectivecpp","file-type-objidconfig","file-type-ocaml","file-type-ocaml-intf","file-type-ogone","file-type-onenote","file-type-opencl","file-type-openhab","file-type-openscad","file-type-org","file-type-outlook","file-type-ovpn","file-type-package","file-type-paket","file-type-patch","file-type-pcl","file-type-pddl","file-type-pddl-happenings","file-type-pddl-plan","file-type-pdf2","file-type-peeky","file-type-perl","file-type-perl2","file-type-perl6","file-type-pgsql","file-type-photoshop","file-type-photoshop2","file-type-php","file-type-php2","file-type-php3","file-type-phpcsfixer","file-type-phpstan","file-type-phpunit","file-type-phraseapp","file-type-pine","file-type-pip","file-type-pipeline","file-type-plantuml","file-type-platformio","file-type-playwright","file-type-plsql","file-type-plsql-package","file-type-plsql-package-body","file-type-plsql-package-header","file-type-plsql-package-spec","file-type-pm2","file-type-pnpm","file-type-poedit","file-type-poetry","file-type-polymer","file-type-pony","file-type-postcss","file-type-postcssconfig","file-type-postman","file-type-powerpoint","file-type-powerpoint2","file-type-powershell","file-type-powershell-format","file-type-powershell-psd","file-type-powershell-psd2","file-type-powershell-psm","file-type-powershell-psm2","file-type-powershell-types","file-type-powershell2","file-type-preact","file-type-precommit","file-type-prettier","file-type-prisma","file-type-processinglang","file-type-procfile","file-type-progress","file-type-prolog","file-type-prometheus","file-type-protobuf","file-type-protractor","file-type-publiccode","file-type-publisher","file-type-pug","file-type-pulumi","file-type-puppet","file-type-purescript","file-type-pyret","file-type-python","file-type-pythowo","file-type-pytyped","file-type-pyup","file-type-q","file-type-qbs","file-type-qlikview","file-type-qml","file-type-qmldir","file-type-qsharp","file-type-quasar","file-type-r","file-type-racket","file-type-rails","file-type-rake","file-type-raml","file-type-razor","file-type-razzle","file-type-reactjs","file-type-reacttemplate","file-type-reactts","file-type-reason","file-type-red","file-type-registry","file-type-rego","file-type-rehype","file-type-remark","file-type-renovate","file-type-replit","file-type-rescript","file-type-rest","file-type-retext","file-type-rexx","file-type-riot","file-type-rmd","file-type-robotframework","file-type-robots","file-type-rollup","file-type-rome","file-type-ron","file-type-rproj","file-type-rspec","file-type-rubocop","file-type-ruby","file-type-rust","file-type-rust-toolchain","file-type-sails","file-type-saltstack","file-type-san","file-type-sapphire-framework-cli","file-type-sas","file-type-sass","file-type-sbt","file-type-scala","file-type-scilab","file-type-script","file-type-scss","file-type-scss2","file-type-sdlang","file-type-sentry","file-type-sequelize","file-type-serverless","file-type-shaderlab","file-type-shell","file-type-shuttle","file-type-silverstripe","file-type-sino","file-type-siyuan","file-type-sketch","file-type-skipper","file-type-slang","file-type-slashup","file-type-slice","file-type-slim","file-type-sln","file-type-sln2","file-type-smarty","file-type-snapcraft","file-type-snaplet","file-type-snort","file-type-snyk","file-type-solidarity","file-type-solidity","file-type-source","file-type-spacengine","file-type-sparql","file-type-spin","file-type-sqf","file-type-sql","file-type-sqlite","file-type-squirrel","file-type-sss","file-type-stan","file-type-stata","file-type-stencil","file-type-storyboard","file-type-storybook","file-type-stryker","file-type-stylable","file-type-style","file-type-styled","file-type-stylelint","file-type-stylish-haskell","file-type-stylus","file-type-sublime","file-type-subversion","file-type-svelte","file-type-svelteconfig","file-type-svg","file-type-swagger","file-type-swc","file-type-swift","file-type-swig","file-type-symfony","file-type-systemd","file-type-systemverilog","file-type-t4tt","file-type-tailwind","file-type-tamagui","file-type-taskfile","file-type-tauri","file-type-tcl","file-type-teal","file-type-tera","file-type-terraform","file-type-test","file-type-testcafe","file-type-testjs","file-type-testts","file-type-tex","file-type-text","file-type-textile","file-type-tfs","file-type-tiltfile","file-type-todo","file-type-toit","file-type-toml","file-type-tox","file-type-travis","file-type-tree","file-type-tres","file-type-truffle","file-type-trunk","file-type-tsbuildinfo","file-type-tscn","file-type-tsconfig","file-type-tsconfig-official","file-type-tslint","file-type-tt","file-type-ttcn","file-type-tuc","file-type-turbo","file-type-twig","file-type-typedoc","file-type-typescript","file-type-typescript-official","file-type-typescriptdef","file-type-typescriptdef-official","file-type-typo3","file-type-uiua","file-type-unibeautify","file-type-unison","file-type-unlicense","file-type-unocss","file-type-vagrant","file-type-vala","file-type-vanilla-extract","file-type-vapi","file-type-vapor","file-type-vash","file-type-vb","file-type-vba","file-type-vbhtml","file-type-vbproj","file-type-vcxproj","file-type-velocity","file-type-vercel","file-type-verilog","file-type-vhdl","file-type-video","file-type-view","file-type-vim","file-type-vite","file-type-vitest","file-type-vlang","file-type-volt","file-type-vscode","file-type-vscode-insiders","file-type-vscode-test","file-type-vscode2","file-type-vscode3","file-type-vsix","file-type-vsixmanifest","file-type-vue","file-type-vueconfig","file-type-wallaby","file-type-wally","file-type-wasm","file-type-watchmanconfig","file-type-wdio","file-type-webp","file-type-webpack","file-type-wenyan","file-type-wercker","file-type-wgsl","file-type-wikitext","file-type-windi","file-type-wolfram","file-type-word","file-type-word2","file-type-wpml","file-type-wurst","file-type-wxml","file-type-wxss","file-type-xcode","file-type-xfl","file-type-xib","file-type-xliff","file-type-xmake","file-type-xml","file-type-xquery","file-type-xsl","file-type-yacc","file-type-yaml","file-type-yamllint","file-type-yandex","file-type-yang","file-type-yarn","file-type-yeoman","file-type-zeit","file-type-zig","file-type-zip","file-type-zip2","folder-type-android","folder-type-android-opened","folder-type-api","folder-type-api-opened","folder-type-app","folder-type-app-opened","folder-type-arangodb","folder-type-arangodb-opened","folder-type-asset","folder-type-asset-opened","folder-type-audio","folder-type-audio-opened","folder-type-aurelia","folder-type-aurelia-opened","folder-type-aws","folder-type-aws-opened","folder-type-azure","folder-type-azure-opened","folder-type-azurepipelines","folder-type-azurepipelines-opened","folder-type-binary","folder-type-binary-opened","folder-type-bloc","folder-type-bloc-opened","folder-type-blueprint","folder-type-blueprint-opened","folder-type-bot","folder-type-bot-opened","folder-type-bower","folder-type-bower-opened","folder-type-buildkite","folder-type-buildkite-opened","folder-type-cake","folder-type-cake-opened","folder-type-certificate","folder-type-certificate-opened","folder-type-changesets","folder-type-changesets-opened","folder-type-chef","folder-type-chef-opened","folder-type-circleci","folder-type-circleci-opened","folder-type-cli","folder-type-cli-opened","folder-type-client","folder-type-client-opened","folder-type-cmake","folder-type-cmake-opened","folder-type-common","folder-type-common-opened","folder-type-component","folder-type-component-opened","folder-type-composer","folder-type-composer-opened","folder-type-config","folder-type-config-opened","folder-type-controller","folder-type-controller-opened","folder-type-coverage","folder-type-coverage-opened","folder-type-css","folder-type-css-opened","folder-type-cubit","folder-type-cubit-opened","folder-type-cypress","folder-type-cypress-opened","folder-type-dapr","folder-type-dapr-opened","folder-type-datadog","folder-type-datadog-opened","folder-type-db","folder-type-db-opened","folder-type-debian","folder-type-debian-opened","folder-type-dependabot","folder-type-dependabot-opened","folder-type-devcontainer","folder-type-devcontainer-opened","folder-type-dist","folder-type-dist-opened","folder-type-docker","folder-type-docker-opened","folder-type-docs","folder-type-docs-opened","folder-type-e2e","folder-type-e2e-opened","folder-type-elasticbeanstalk","folder-type-elasticbeanstalk-opened","folder-type-electron","folder-type-electron-opened","folder-type-expo","folder-type-expo-opened","folder-type-favicon","folder-type-favicon-opened","folder-type-flow","folder-type-flow-opened","folder-type-fonts","folder-type-fonts-opened","folder-type-gcp","folder-type-gcp-opened","folder-type-git","folder-type-git-opened","folder-type-github","folder-type-github-opened","folder-type-gitlab","folder-type-gitlab-opened","folder-type-gradle","folder-type-gradle-opened","folder-type-graphql","folder-type-graphql-opened","folder-type-grunt","folder-type-grunt-opened","folder-type-gulp","folder-type-gulp-opened","folder-type-haxelib","folder-type-haxelib-opened","folder-type-helper","folder-type-helper-opened","folder-type-hook","folder-type-hook-opened","folder-type-husky","folder-type-husky-opened","folder-type-idea","folder-type-idea-opened","folder-type-images","folder-type-images-opened","folder-type-include","folder-type-include-opened","folder-type-interfaces","folder-type-interfaces-opened","folder-type-ios","folder-type-ios-opened","folder-type-js","folder-type-js-opened","folder-type-json","folder-type-json-official","folder-type-json-official-opened","folder-type-json-opened","folder-type-kubernetes","folder-type-kubernetes-opened","folder-type-less","folder-type-less-opened","folder-type-library","folder-type-library-opened","folder-type-light-cypress","folder-type-light-cypress-opened","folder-type-light-electron","folder-type-light-electron-opened","folder-type-light-expo","folder-type-light-expo-opened","folder-type-light-fonts","folder-type-light-fonts-opened","folder-type-light-gradle","folder-type-light-gradle-opened","folder-type-light-meteor","folder-type-light-meteor-opened","folder-type-light-mysql","folder-type-light-mysql-opened","folder-type-light-node","folder-type-light-node-opened","folder-type-light-redux","folder-type-light-redux-opened","folder-type-light-sass","folder-type-light-sass-opened","folder-type-linux","folder-type-linux-opened","folder-type-locale","folder-type-locale-opened","folder-type-log","folder-type-log-opened","folder-type-macos","folder-type-macos-opened","folder-type-mariadb","folder-type-mariadb-opened","folder-type-maven","folder-type-maven-opened","folder-type-memcached","folder-type-memcached-opened","folder-type-meteor","folder-type-meteor-opened","folder-type-middleware","folder-type-middleware-opened","folder-type-minikube","folder-type-minikube-opened","folder-type-mjml","folder-type-mjml-opened","folder-type-mock","folder-type-mock-opened","folder-type-model","folder-type-model-opened","folder-type-module","folder-type-module-opened","folder-type-mojo","folder-type-mojo-opened","folder-type-mongodb","folder-type-mongodb-opened","folder-type-mysql","folder-type-mysql-opened","folder-type-next","folder-type-next-opened","folder-type-nginx","folder-type-nginx-opened","folder-type-nix","folder-type-nix-opened","folder-type-node","folder-type-node-opened","folder-type-notebooks","folder-type-notebooks-opened","folder-type-notification","folder-type-notification-opened","folder-type-nuget","folder-type-nuget-opened","folder-type-nuxt","folder-type-nuxt-opened","folder-type-package","folder-type-package-opened","folder-type-paket","folder-type-paket-opened","folder-type-php","folder-type-php-opened","folder-type-platformio","folder-type-platformio-opened","folder-type-plugin","folder-type-plugin-opened","folder-type-prisma","folder-type-prisma-opened","folder-type-private","folder-type-private-opened","folder-type-public","folder-type-public-opened","folder-type-python","folder-type-python-opened","folder-type-ravendb","folder-type-ravendb-opened","folder-type-redis","folder-type-redis-opened","folder-type-redux","folder-type-redux-opened","folder-type-route","folder-type-route-opened","folder-type-sass","folder-type-sass-opened","folder-type-script","folder-type-script-opened","folder-type-server","folder-type-server-opened","folder-type-services","folder-type-services-opened","folder-type-shared","folder-type-shared-opened","folder-type-snaplet","folder-type-snaplet-opened","folder-type-spin","folder-type-spin-opened","folder-type-src","folder-type-src-opened","folder-type-sso","folder-type-sso-opened","folder-type-story","folder-type-story-opened","folder-type-style","folder-type-style-opened","folder-type-svelte","folder-type-svelte-opened","folder-type-tauri","folder-type-tauri-opened","folder-type-temp","folder-type-temp-opened","folder-type-template","folder-type-template-opened","folder-type-test","folder-type-test-opened","folder-type-theme","folder-type-theme-opened","folder-type-tools","folder-type-tools-opened","folder-type-travis","folder-type-travis-opened","folder-type-trunk","folder-type-trunk-opened","folder-type-turbo","folder-type-turbo-opened","folder-type-typescript","folder-type-typescript-opened","folder-type-typings","folder-type-typings-opened","folder-type-typings2","folder-type-typings2-opened","folder-type-vagrant","folder-type-vagrant-opened","folder-type-vercel","folder-type-vercel-opened","folder-type-video","folder-type-video-opened","folder-type-view","folder-type-view-opened","folder-type-vs","folder-type-vs-opened","folder-type-vs2","folder-type-vs2-opened","folder-type-vscode","folder-type-vscode-opened","folder-type-vscode-test","folder-type-vscode-test-opened","folder-type-vscode-test2","folder-type-vscode-test2-opened","folder-type-vscode-test3","folder-type-vscode-test3-opened","folder-type-vscode2","folder-type-vscode2-opened","folder-type-vscode3","folder-type-vscode3-opened","folder-type-webpack","folder-type-webpack-opened","folder-type-windows","folder-type-windows-opened","folder-type-www","folder-type-www-opened","folder-type-yarn","folder-type-yarn-opened"]}];data.sort((xe,$e)=>xe.info.name.localeCompare($e.info.name));const app=createApp(_sfc_main);app.use(Gt$1,{distance:12});app.use(index$1);app.use(pinia);app.use(router);app.use(ui);directive(app);app.mount("#app");export{inject as $,createCommentVNode as A,plus_default as B,refresh_default as C,isRef as D,ElMessage as E,Fragment as F,nextTick as G,axios as H,api as I,question_filled_default as J,ApiUsre as K,useUserStore$1 as L,vShow as M,useRoute as N,useSlots as O,renderSlot as P,normalizeClass as Q,normalizeStyle$1 as R,onUnmounted as S,pushScopeId as T,popScopeId as U,ElInput as V,useAttrs$1 as W,mergeProps as X,Icon$1 as Y,watch as Z,_sfc_main$2v as _,onMounted as a,createApp as a$,onBeforeUnmount as a0,cloneVNode as a1,shallowRef as a2,Teleport as a3,h$5 as a4,__vitePreload as a5,getDefaultExportFromCjs as a6,provide as a7,toRef as a8,isVNode as a9,noop$1 as aA,toValue as aB,isClient as aC,isObject$4 as aD,tryOnScopeDispose as aE,createSingletonPromise as aF,getCurrentInstance as aG,BaseTransition as aH,BaseTransitionPropsValidators as aI,Comment$1 as aJ,DeprecationTypes as aK,EffectScope as aL,ErrorCodes as aM,ErrorTypeStrings as aN,ReactiveEffect as aO,Static as aP,Suspense as aQ,Text$2 as aR,TrackOpTypes as aS,TriggerOpTypes as aT,VueElement as aU,assertNumber as aV,callWithAsyncErrorHandling as aW,callWithErrorHandling as aX,camelize as aY,capitalize$1 as aZ,compatUtils as a_,useKeepAliveStore as aa,useMenuStore as ab,hotkeys as ac,Transition as ad,resolveDynamicComponent as ae,KeepAlive as af,TransitionGroup as ag,onBeforeUpdate as ah,eventBus as ai,resolveRoutePath as aj,he as ak,Ge$1 as al,vModelText as am,Je$1 as an,P$2 as ao,Ye$1 as ap,Se$1 as aq,cloneDeep as ar,index$1 as as,normalizeProps as at,guardReactiveProps as au,mergeModels as av,useModel as aw,Ve as ax,useTimeoutFn as ay,tryOnMounted as az,createVNode$1 as b,transformVNodeArgs as b$,createHydrationRenderer as b0,createPropsRestProxy as b1,createRenderer as b2,createSSRApp as b3,createSlots as b4,createStaticVNode as b5,customRef as b6,defineAsyncComponent as b7,defineCustomElement as b8,defineEmits as b9,onDeactivated as bA,onErrorCaptured as bB,onRenderTracked as bC,onRenderTriggered as bD,onScopeDispose as bE,onServerPrefetch as bF,onUpdated as bG,proxyRefs as bH,queuePostFlushCb as bI,readonly as bJ,registerRuntimeCompiler as bK,render$2 as bL,resolveFilter as bM,resolveTransitionHooks as bN,setBlockTracking as bO,setDevtoolsHook as bP,setTransitionHooks as bQ,shallowReactive as bR,shallowReadonly as bS,ssrContextKey as bT,ssrUtils as bU,stop$1 as bV,toHandlerKey as bW,toHandlers as bX,toRaw as bY,toRefs as bZ,toValue$1 as b_,defineExpose as ba,defineModel as bb,defineOptions as bc,defineProps as bd,defineSSRCustomElement as be,defineSlots as bf,devtools as bg,effect as bh,effectScope as bi,getCurrentScope as bj,getTransitionRawChildren as bk,handleError as bl,hasInjectionContext as bm,hydrate as bn,initCustomFormatter as bo,initDirectivesForSSR as bp,isMemoSame as bq,isProxy as br,isReactive as bs,isReadonly as bt,isRuntimeOnly as bu,isShallow as bv,markRaw as bw,mergeDefaults as bx,onActivated as by,onBeforeMount as bz,createElementBlock as c,triggerRef as c0,useCssModule as c1,useCssVars as c2,useSSRContext as c3,useTransitionState as c4,vModelCheckbox as c5,vModelDynamic as c6,vModelRadio as c7,vModelSelect as c8,version$1 as c9,_sfc_main$2x as cA,E$5 as cB,warn$2 as ca,watchEffect as cb,watchPostEffect as cc,watchSyncEffect as cd,withAsyncContext as ce,withDefaults as cf,withMemo as cg,withScopeId as ch,getAugmentedNamespace as ci,commonjsGlobal as cj,defineStore as ck,u$5 as cl,f$3 as cm,O$2 as cn,o$3 as co,A$4 as cp,T$3 as cq,u$7 as cr,I$4 as cs,o$2 as ct,T$4 as cu,t$7 as cv,i$5 as cw,P$4 as cx,N$7 as cy,globalSettingsDefault as cz,defineComponent as d,createBaseVNode as e,useRouter as f,openBlock as g,createTextVNode as h,unref as i,_sfc_main$2y as j,block0 as k,_export_sfc as l,reactive as m,resolveComponent as n,onBeforeRouteLeave as o,computed as p,resolveDirective as q,ref as r,renderList as s,toDisplayString as t,useSettingsStore as u,withKeys as v,withCtx as w,withModifiers as x,withDirectives as y,createBlock as z}; +`||jt==="")){var hn=At.isSelected(jt);Fe.hasOwnProperty(jt)?Fe[jt]=Fe[jt]&&hn:Fe[jt]=hn}})}),xe==="allSelect"||xe==="inverseSelect"?{selected:Fe}:{name:$e.name,selected:Fe}}function installLegendAction(xe){xe.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),xe.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),xe.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),xe.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),xe.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$c(xe){xe.registerComponentModel(LegendModel),xe.registerComponentView(LegendView),xe.registerProcessor(xe.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),xe.registerSubTypeDefaulter("legend",function(){return"plain"}),installLegendAction(xe)}var ScrollableLegendModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.setScrollDataIndex=function(Ie){this.option.scrollDataIndex=Ie},$e.prototype.init=function(Ie,Fe,Ue){var qe=getLayoutParams(Ie);xe.prototype.init.call(this,Ie,Fe,Ue),mergeAndNormalizeLayoutParams(this,Ie,qe)},$e.prototype.mergeOption=function(Ie,Fe){xe.prototype.mergeOption.call(this,Ie,Fe),mergeAndNormalizeLayoutParams(this,this.option,Ie)},$e.type="legend.scroll",$e.defaultOption=inheritDefaultOption(LegendModel.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),$e}(LegendModel);function mergeAndNormalizeLayoutParams(xe,$e,Ie){var Fe=xe.getOrient(),Ue=[1,1];Ue[Fe.index]=0,mergeLayoutParam($e,Ie,{type:"box",ignoreSize:!!Ue})}var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.newlineDisabled=!0,Ie._currentIndex=0,Ie}return $e.prototype.init=function(){xe.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},$e.prototype.resetInner=function(){xe.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},$e.prototype.renderInner=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this;xe.prototype.renderInner.call(this,Ie,Fe,Ue,qe,At,Dt,Lt);var hn=this._controllerGroup,vn=Fe.get("pageIconSize",!0),bn=isArray$1(vn)?vn:[vn,vn];wn("pagePrev",0);var _n=Fe.getModel("pageTextStyle");hn.add(new ZRText({name:"pageText",style:{text:"xx/xx",fill:_n.getTextColor(),font:_n.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),wn("pageNext",1);function wn(kn,Cn){var Sn=kn+"DataIndex",xn=createIcon(Fe.get("pageIcons",!0)[Fe.getOrient().name][Cn],{onclick:bind$1(jt._pageGo,jt,Sn,Fe,qe)},{x:-bn[0]/2,y:-bn[1]/2,width:bn[0],height:bn[1]});xn.name=kn,hn.add(xn)}},$e.prototype.layoutInner=function(Ie,Fe,Ue,qe,At,Dt){var Lt=this.getSelectorGroup(),jt=Ie.getOrient().index,hn=WH[jt],vn=XY[jt],bn=WH[1-jt],_n=XY[1-jt];At&&box("horizontal",Lt,Ie.get("selectorItemGap",!0));var wn=Ie.get("selectorButtonGap",!0),kn=Lt.getBoundingRect(),Cn=[-kn.x,-kn.y],Sn=clone$4(Ue);At&&(Sn[hn]=Ue[hn]-kn[hn]-wn);var xn=this._layoutContentAndController(Ie,qe,Sn,jt,hn,bn,_n,vn);if(At){if(Dt==="end")Cn[jt]+=xn[hn]+wn;else{var En=kn[hn]+wn;Cn[jt]-=En,xn[vn]-=En}xn[hn]+=kn[hn]+wn,Cn[1-jt]+=xn[_n]+xn[bn]/2-kn[bn]/2,xn[bn]=Math.max(xn[bn],kn[bn]),xn[_n]=Math.min(xn[_n],kn[_n]+Cn[1-jt]),Lt.x=Cn[0],Lt.y=Cn[1],Lt.markRedraw()}return xn},$e.prototype._layoutContentAndController=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=this.getContentGroup(),vn=this._containerGroup,bn=this._controllerGroup;box(Ie.get("orient"),hn,Ie.get("itemGap"),qe?Ue.width:null,qe?null:Ue.height),box("horizontal",bn,Ie.get("pageButtonItemGap",!0));var _n=hn.getBoundingRect(),wn=bn.getBoundingRect(),kn=this._showController=_n[At]>Ue[At],Cn=[-_n.x,-_n.y];Fe||(Cn[qe]=hn[jt]);var Sn=[0,0],xn=[-wn.x,-wn.y],En=retrieve2(Ie.get("pageButtonGap",!0),Ie.get("itemGap",!0));if(kn){var Tn=Ie.get("pageButtonPosition",!0);Tn==="end"?xn[qe]+=Ue[At]-wn[At]:Sn[qe]+=wn[At]+En}xn[1-qe]+=_n[Dt]/2-wn[Dt]/2,hn.setPosition(Cn),vn.setPosition(Sn),bn.setPosition(xn);var An={x:0,y:0};if(An[At]=kn?Ue[At]:_n[At],An[Dt]=Math.max(_n[Dt],wn[Dt]),An[Lt]=Math.min(0,wn[Lt]+xn[1-qe]),vn.__rectSize=Ue[At],kn){var $n={x:0,y:0};$n[At]=Math.max(Ue[At]-wn[At]-En,0),$n[Dt]=An[Dt],vn.setClipPath(new Rect$2({shape:$n})),vn.__rectSize=$n[At]}else bn.eachChild(function(Nn){Nn.attr({invisible:!0,silent:!0})});var Pn=this._getPageInfo(Ie);return Pn.pageIndex!=null&&updateProps$1(hn,{x:Pn.contentPosition[0],y:Pn.contentPosition[1]},kn?Ie:null),this._updatePageInfoView(Ie,Pn),An},$e.prototype._pageGo=function(Ie,Fe,Ue){var qe=this._getPageInfo(Fe)[Ie];qe!=null&&Ue.dispatchAction({type:"legendScroll",scrollDataIndex:qe,legendId:Fe.id})},$e.prototype._updatePageInfoView=function(Ie,Fe){var Ue=this._controllerGroup;each$f(["pagePrev","pageNext"],function(hn){var vn=hn+"DataIndex",bn=Fe[vn]!=null,_n=Ue.childOfName(hn);_n&&(_n.setStyle("fill",bn?Ie.get("pageIconColor",!0):Ie.get("pageIconInactiveColor",!0)),_n.cursor=bn?"pointer":"default")});var qe=Ue.childOfName("pageText"),At=Ie.get("pageFormatter"),Dt=Fe.pageIndex,Lt=Dt!=null?Dt+1:0,jt=Fe.pageCount;qe&&At&&qe.setStyle("text",isString(At)?At.replace("{current}",Lt==null?"":Lt+"").replace("{total}",jt==null?"":jt+""):At({current:Lt,total:jt}))},$e.prototype._getPageInfo=function(Ie){var Fe=Ie.get("scrollDataIndex",!0),Ue=this.getContentGroup(),qe=this._containerGroup.__rectSize,At=Ie.getOrient().index,Dt=WH[At],Lt=XY[At],jt=this._findTargetItemIndex(Fe),hn=Ue.children(),vn=hn[jt],bn=hn.length,_n=bn?1:0,wn={contentPosition:[Ue.x,Ue.y],pageCount:_n,pageIndex:_n-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!vn)return wn;var kn=Tn(vn);wn.contentPosition[At]=-kn.s;for(var Cn=jt+1,Sn=kn,xn=kn,En=null;Cn<=bn;++Cn)En=Tn(hn[Cn]),(!En&&xn.e>Sn.s+qe||En&&!An(En,Sn.s))&&(xn.i>Sn.i?Sn=xn:Sn=En,Sn&&(wn.pageNextDataIndex==null&&(wn.pageNextDataIndex=Sn.i),++wn.pageCount)),xn=En;for(var Cn=jt-1,Sn=kn,xn=kn,En=null;Cn>=-1;--Cn)En=Tn(hn[Cn]),(!En||!An(xn,En.s))&&Sn.i=Pn&&$n.s<=Pn+qe}},$e.prototype._findTargetItemIndex=function(Ie){if(!this._showController)return 0;var Fe,Ue=this.getContentGroup(),qe;return Ue.eachChild(function(At,Dt){var Lt=At.__legendDataIndex;qe==null&&Lt!=null&&(qe=Dt),Lt===Ie&&(Fe=Dt)}),Fe??qe},$e.type="legend.scroll",$e}(LegendView);function installScrollableLegendAction(xe){xe.registerAction("legendScroll","legendscroll",function($e,Ie){var Fe=$e.scrollDataIndex;Fe!=null&&Ie.eachComponent({mainType:"legend",subType:"scroll",query:$e},function(Ue){Ue.setScrollDataIndex(Fe)})})}function install$b(xe){use(install$c),xe.registerComponentModel(ScrollableLegendModel),xe.registerComponentView(ScrollableLegendView),installScrollableLegendAction(xe)}function install$a(xe){use(install$c),use(install$b)}var InsideZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.inside",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),$e}(DataZoomModel),inner$1=makeInner();function setViewInfoToCoordSysRecord(xe,$e,Ie){inner$1(xe).coordSysRecordMap.each(function(Fe){var Ue=Fe.dataZoomInfoMap.get($e.uid);Ue&&(Ue.getRange=Ie)})}function disposeCoordSysRecordIfNeeded(xe,$e){for(var Ie=inner$1(xe).coordSysRecordMap,Fe=Ie.keys(),Ue=0;UeFe[Ie+$e]&&($e=Dt),Ue=Ue&&At.get("preventDefaultMouseMove",!0)}),{controlType:$e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!Ue}}}function installDataZoomRoamProcessor(xe){xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,function($e,Ie){var Fe=inner$1(Ie),Ue=Fe.coordSysRecordMap||(Fe.coordSysRecordMap=createHashMap());Ue.each(function(qe){qe.dataZoomInfoMap=null}),$e.eachComponent({mainType:"dataZoom",subType:"inside"},function(qe){var At=collectReferCoordSysModelInfo(qe);each$f(At.infoList,function(Dt){var Lt=Dt.model.uid,jt=Ue.get(Lt)||Ue.set(Lt,createCoordSysRecord(Ie,Dt.model)),hn=jt.dataZoomInfoMap||(jt.dataZoomInfoMap=createHashMap());hn.set(qe.uid,{dzReferCoordSysInfo:Dt,model:qe,getRange:null})})}),Ue.each(function(qe){var At=qe.controller,Dt,Lt=qe.dataZoomInfoMap;if(Lt){var jt=Lt.keys()[0];jt!=null&&(Dt=Lt.get(jt))}if(!Dt){disposeCoordSysRecord(Ue,qe);return}var hn=mergeControllerParams(Lt);At.enable(hn.controlType,hn.opt),At.setPointerChecker(qe.containsPoint),createOrUpdate(qe,"dispatchAction",Dt.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataZoom.inside",Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(xe.prototype.render.apply(this,arguments),Ie.noTarget()){this._clear();return}this.range=Ie.getPercentRange(),setViewInfoToCoordSysRecord(Ue,Ie,{pan:bind$1(getRangeHandlers.pan,this),zoom:bind$1(getRangeHandlers.zoom,this),scrollMove:bind$1(getRangeHandlers.scrollMove,this)})},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},$e.type="dataZoom.inside",$e}(DataZoomView),getRangeHandlers={zoom:function(xe,$e,Ie,Fe){var Ue=this.range,qe=Ue.slice(),At=xe.axisModels[0];if(At){var Dt=getDirectionInfo[$e](null,[Fe.originX,Fe.originY],At,Ie,xe),Lt=(Dt.signal>0?Dt.pixelStart+Dt.pixelLength-Dt.pixel:Dt.pixel-Dt.pixelStart)/Dt.pixelLength*(qe[1]-qe[0])+qe[0],jt=Math.max(1/Fe.scale,0);qe[0]=(qe[0]-Lt)*jt+Lt,qe[1]=(qe[1]-Lt)*jt+Lt;var hn=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,qe,[0,100],0,hn.minSpan,hn.maxSpan),this.range=qe,Ue[0]!==qe[0]||Ue[1]!==qe[1])return qe}},pan:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([qe.oldX,qe.oldY],[qe.newX,qe.newY],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*At.pixel/At.pixelLength}),scrollMove:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([0,0],[qe.scrollDelta,qe.scrollDelta],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*qe.scrollDelta})};function makeMover(xe){return function($e,Ie,Fe,Ue){var qe=this.range,At=qe.slice(),Dt=$e.axisModels[0];if(Dt){var Lt=xe(At,Dt,$e,Ie,Fe,Ue);if(sliderMove(Lt,At,[0,100],"all"),this.range=At,qe[0]!==At[0]||qe[1]!==At[1])return At}}}var getDirectionInfo={grid:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem.getRect();return xe=xe||[0,0],qe.dim==="x"?(At.pixel=$e[0]-xe[0],At.pixelLength=Dt.width,At.pixelStart=Dt.x,At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=Dt.height,At.pixelStart=Dt.y,At.signal=qe.inverse?-1:1),At},polar:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem,Lt=Dt.getRadiusAxis().getExtent(),jt=Dt.getAngleAxis().getExtent();return xe=xe?Dt.pointToCoord(xe):[0,0],$e=Dt.pointToCoord($e),Ie.mainType==="radiusAxis"?(At.pixel=$e[0]-xe[0],At.pixelLength=Lt[1]-Lt[0],At.pixelStart=Lt[0],At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=jt[1]-jt[0],At.pixelStart=jt[0],At.signal=qe.inverse?-1:1),At},singleAxis:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At=Ue.model.coordinateSystem.getRect(),Dt={};return xe=xe||[0,0],qe.orient==="horizontal"?(Dt.pixel=$e[0]-xe[0],Dt.pixelLength=At.width,Dt.pixelStart=At.x,Dt.signal=qe.inverse?1:-1):(Dt.pixel=$e[1]-xe[1],Dt.pixelLength=At.height,Dt.pixelStart=At.y,Dt.signal=qe.inverse?-1:1),Dt}};function install$9(xe){installCommon$1(xe),xe.registerComponentModel(InsideZoomModel),xe.registerComponentView(InsideZoomView),installDataZoomRoamProcessor(xe)}var SliderZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.slider",$e.layoutMode="box",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),$e}(DataZoomModel),Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL="horizontal",VERTICAL="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._displayables={},Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe,this._onBrush=bind$1(this._onBrush,this),this._onBrushEnd=bind$1(this._onBrushEnd,this)},$e.prototype.render=function(Ie,Fe,Ue,qe){if(xe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",Ie.get("throttle"),"fixRate"),this._orient=Ie.getOrient(),Ie.get("show")===!1){this.group.removeAll();return}if(Ie.noTarget()){this._clear(),this.group.removeAll();return}(!qe||qe.type!=="dataZoom"||qe.from!==this.uid)&&this._buildView(),this._updateView()},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var Ie=this.api.getZr();Ie.off("mousemove",this._onBrush),Ie.off("mouseup",this._onBrushEnd)},$e.prototype._buildView=function(){var Ie=this.group;Ie.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var Fe=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),Ie.add(Fe),this._positionGroup()},$e.prototype._resetLocation=function(){var Ie=this.dataZoomModel,Fe=this.api,Ue=Ie.get("brushSelect"),qe=Ue?DEFAULT_MOVE_HANDLE_SIZE:0,At=this._findCoordRect(),Dt={width:Fe.getWidth(),height:Fe.getHeight()},Lt=this._orient===HORIZONTAL?{right:Dt.width-At.x-At.width,top:Dt.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-qe,width:At.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:At.y,width:DEFAULT_FILLER_SIZE,height:At.height},jt=getLayoutParams(Ie.option);each$f(["right","top","width","height"],function(vn){jt[vn]==="ph"&&(jt[vn]=Lt[vn])});var hn=getLayoutRect(jt,Dt);this._location={x:hn.x,y:hn.y},this._size=[hn.width,hn.height],this._orient===VERTICAL&&this._size.reverse()},$e.prototype._positionGroup=function(){var Ie=this.group,Fe=this._location,Ue=this._orient,qe=this.dataZoomModel.getFirstTargetAxisModel(),At=qe&&qe.get("inverse"),Dt=this._displayables.sliderGroup,Lt=(this._dataShadowInfo||{}).otherAxisInverse;Dt.attr(Ue===HORIZONTAL&&!At?{scaleY:Lt?1:-1,scaleX:1}:Ue===HORIZONTAL&&At?{scaleY:Lt?1:-1,scaleX:-1}:Ue===VERTICAL&&!At?{scaleY:Lt?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:Lt?-1:1,scaleX:-1,rotation:Math.PI/2});var jt=Ie.getBoundingRect([Dt]);Ie.x=Fe.x-jt.x,Ie.y=Fe.y-jt.y,Ie.markRedraw()},$e.prototype._getViewExtent=function(){return[0,this._size[0]]},$e.prototype._renderBackground=function(){var Ie=this.dataZoomModel,Fe=this._size,Ue=this._displayables.sliderGroup,qe=Ie.get("brushSelect");Ue.add(new Rect({silent:!0,shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:Ie.get("backgroundColor")},z2:-40}));var At=new Rect({shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:"transparent"},z2:0,onclick:bind$1(this._onClickPanel,this)}),Dt=this.api.getZr();qe?(At.on("mousedown",this._onBrushStart,this),At.cursor="crosshair",Dt.on("mousemove",this._onBrush),Dt.on("mouseup",this._onBrushEnd)):(Dt.off("mousemove",this._onBrush),Dt.off("mouseup",this._onBrushEnd)),Ue.add(At)},$e.prototype._renderDataShadow=function(){var Ie=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!Ie)return;var Fe=this._size,Ue=this._shadowSize||[],qe=Ie.series,At=qe.getRawData(),Dt=qe.getShadowDim&&qe.getShadowDim(),Lt=Dt&&At.getDimensionInfo(Dt)?qe.getShadowDim():Ie.otherDim;if(Lt==null)return;var jt=this._shadowPolygonPts,hn=this._shadowPolylinePts;if(At!==this._shadowData||Lt!==this._shadowDim||Fe[0]!==Ue[0]||Fe[1]!==Ue[1]){var vn=At.getDataExtent(Lt),bn=(vn[1]-vn[0])*.3;vn=[vn[0]-bn,vn[1]+bn];var _n=[0,Fe[1]],wn=[0,Fe[0]],kn=[[Fe[0],0],[0,0]],Cn=[],Sn=wn[1]/(At.count()-1),xn=0,En=Math.round(At.count()/Fe[0]),Tn;At.each([Lt],function(Mn,In){if(En>0&&In%En){xn+=Sn;return}var On=Mn==null||isNaN(Mn)||Mn==="",Rn=On?0:linearMap$2(Mn,vn,_n,!0);On&&!Tn&&In?(kn.push([kn[kn.length-1][0],0]),Cn.push([Cn[Cn.length-1][0],0])):!On&&Tn&&(kn.push([xn,0]),Cn.push([xn,0])),kn.push([xn,Rn]),Cn.push([xn,Rn]),xn+=Sn,Tn=On}),jt=this._shadowPolygonPts=kn,hn=this._shadowPolylinePts=Cn}this._shadowData=At,this._shadowDim=Lt,this._shadowSize=[Fe[0],Fe[1]];var An=this.dataZoomModel;function $n(Mn){var In=An.getModel(Mn?"selectedDataBackground":"dataBackground"),On=new Group$3,Rn=new Polygon({shape:{points:jt},segmentIgnoreThreshold:1,style:In.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Bn=new Polyline$1({shape:{points:hn},segmentIgnoreThreshold:1,style:In.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return On.add(Rn),On.add(Bn),On}for(var Pn=0;Pn<3;Pn++){var Nn=$n(Pn===1);this._displayables.sliderGroup.add(Nn),this._displayables.dataShadowSegs.push(Nn)}},$e.prototype._prepareDataShadowInfo=function(){var Ie=this.dataZoomModel,Fe=Ie.get("showDataShadow");if(Fe!==!1){var Ue,qe=this.ecModel;return Ie.eachTargetAxis(function(At,Dt){var Lt=Ie.getAxisProxy(At,Dt).getTargetSeriesModels();each$f(Lt,function(jt){if(!Ue&&!(Fe!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,jt.get("type"))<0)){var hn=qe.getComponent(getAxisMainType(At),Dt).axis,vn=getOtherDim(At),bn,_n=jt.coordinateSystem;vn!=null&&_n.getOtherAxis&&(bn=_n.getOtherAxis(hn).inverse),vn=jt.getData().mapDimension(vn),Ue={thisAxis:hn,series:jt,thisDim:At,otherDim:vn,otherAxisInverse:bn}}},this)},this),Ue}},$e.prototype._renderHandle=function(){var Ie=this.group,Fe=this._displayables,Ue=Fe.handles=[null,null],qe=Fe.handleLabels=[null,null],At=this._displayables.sliderGroup,Dt=this._size,Lt=this.dataZoomModel,jt=this.api,hn=Lt.get("borderRadius")||0,vn=Lt.get("brushSelect"),bn=Fe.filler=new Rect({silent:vn,style:{fill:Lt.get("fillerColor")},textConfig:{position:"inside"}});At.add(bn),At.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:Dt[0],height:Dt[1],r:hn},style:{stroke:Lt.get("dataBackgroundColor")||Lt.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(En){var Tn=Lt.get("handleIcon");!symbolBuildProxies[Tn]&&Tn.indexOf("path://")<0&&Tn.indexOf("image://")<0&&(Tn="path://"+Tn);var An=createSymbol$1(Tn,-1,0,2,2,null,!0);An.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$1(this._onDragMove,this,En),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1),z2:5});var $n=An.getBoundingRect(),Pn=Lt.get("handleSize");this._handleHeight=parsePercent(Pn,this._size[1]),this._handleWidth=$n.width/$n.height*this._handleHeight,An.setStyle(Lt.getModel("handleStyle").getItemStyle()),An.style.strokeNoScale=!0,An.rectHover=!0,An.ensureState("emphasis").style=Lt.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(An);var Nn=Lt.get("handleColor");Nn!=null&&(An.style.fill=Nn),At.add(Ue[En]=An);var Mn=Lt.getModel("textStyle");Ie.add(qe[En]=new ZRText({silent:!0,invisible:!0,style:createTextStyle(Mn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Mn.getTextColor(),font:Mn.getFont()}),z2:10}))},this);var _n=bn;if(vn){var wn=parsePercent(Lt.get("moveHandleSize"),Dt[1]),kn=Fe.moveHandle=new Rect$2({style:Lt.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:Dt[1]-.5,height:wn}}),Cn=wn*.8,Sn=Fe.moveHandleIcon=createSymbol$1(Lt.get("moveHandleIcon"),-Cn/2,-Cn/2,Cn,Cn,"#fff",!0);Sn.silent=!0,Sn.y=Dt[1]+wn/2-.5,kn.ensureState("emphasis").style=Lt.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var xn=Math.min(Dt[1]/2,Math.max(wn,10));_n=Fe.moveZone=new Rect$2({invisible:!0,shape:{y:Dt[1]-xn,height:wn+xn}}),_n.on("mouseover",function(){jt.enterEmphasis(kn)}).on("mouseout",function(){jt.leaveEmphasis(kn)}),At.add(kn),At.add(Sn),At.add(_n)}_n.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$1(this._onDragMove,this,"all"),ondragstart:bind$1(this._showDataInfo,this,!0),ondragend:bind$1(this._onDragEnd,this),onmouseover:bind$1(this._showDataInfo,this,!0),onmouseout:bind$1(this._showDataInfo,this,!1)})},$e.prototype._resetInterval=function(){var Ie=this._range=this.dataZoomModel.getPercentRange(),Fe=this._getViewExtent();this._handleEnds=[linearMap$2(Ie[0],[0,100],Fe,!0),linearMap$2(Ie[1],[0,100],Fe,!0)]},$e.prototype._updateInterval=function(Ie,Fe){var Ue=this.dataZoomModel,qe=this._handleEnds,At=this._getViewExtent(),Dt=Ue.findRepresentativeAxisProxy().getMinMaxSpan(),Lt=[0,100];sliderMove(Fe,qe,At,Ue.get("zoomLock")?"all":Ie,Dt.minSpan!=null?linearMap$2(Dt.minSpan,Lt,At,!0):null,Dt.maxSpan!=null?linearMap$2(Dt.maxSpan,Lt,At,!0):null);var jt=this._range,hn=this._range=asc$2([linearMap$2(qe[0],At,Lt,!0),linearMap$2(qe[1],At,Lt,!0)]);return!jt||jt[0]!==hn[0]||jt[1]!==hn[1]},$e.prototype._updateView=function(Ie){var Fe=this._displayables,Ue=this._handleEnds,qe=asc$2(Ue.slice()),At=this._size;each$f([0,1],function(_n){var wn=Fe.handles[_n],kn=this._handleHeight;wn.attr({scaleX:kn/2,scaleY:kn/2,x:Ue[_n]+(_n?-1:1),y:At[1]/2-kn/2})},this),Fe.filler.setShape({x:qe[0],y:0,width:qe[1]-qe[0],height:At[1]});var Dt={x:qe[0],width:qe[1]-qe[0]};Fe.moveHandle&&(Fe.moveHandle.setShape(Dt),Fe.moveZone.setShape(Dt),Fe.moveZone.getBoundingRect(),Fe.moveHandleIcon&&Fe.moveHandleIcon.attr("x",Dt.x+Dt.width/2));for(var Lt=Fe.dataShadowSegs,jt=[0,qe[0],qe[1],At[0]],hn=0;hnFe[0]||Ue[1]<0||Ue[1]>Fe[1])){var qe=this._handleEnds,At=(qe[0]+qe[1])/2,Dt=this._updateInterval("all",Ue[0]-At);this._updateView(),Dt&&this._dispatchZoomAction(!1)}},$e.prototype._onBrushStart=function(Ie){var Fe=Ie.offsetX,Ue=Ie.offsetY;this._brushStart=new Point(Fe,Ue),this._brushing=!0,this._brushStartTime=+new Date},$e.prototype._onBrushEnd=function(Ie){if(this._brushing){var Fe=this._displayables.brushRect;if(this._brushing=!1,!!Fe){Fe.attr("ignore",!0);var Ue=Fe.shape,qe=+new Date;if(!(qe-this._brushStartTime<200&&Math.abs(Ue.width)<5)){var At=this._getViewExtent(),Dt=[0,100];this._range=asc$2([linearMap$2(Ue.x,At,Dt,!0),linearMap$2(Ue.x+Ue.width,At,Dt,!0)]),this._handleEnds=[Ue.x,Ue.x+Ue.width],this._updateView(),this._dispatchZoomAction(!1)}}}},$e.prototype._onBrush=function(Ie){this._brushing&&(stop(Ie.event),this._updateBrushRect(Ie.offsetX,Ie.offsetY))},$e.prototype._updateBrushRect=function(Ie,Fe){var Ue=this._displayables,qe=this.dataZoomModel,At=Ue.brushRect;At||(At=Ue.brushRect=new Rect({silent:!0,style:qe.getModel("brushStyle").getItemStyle()}),Ue.sliderGroup.add(At)),At.attr("ignore",!1);var Dt=this._brushStart,Lt=this._displayables.sliderGroup,jt=Lt.transformCoordToLocal(Ie,Fe),hn=Lt.transformCoordToLocal(Dt.x,Dt.y),vn=this._size;jt[0]=Math.max(Math.min(vn[0],jt[0]),0),At.setShape({x:hn[0],y:0,width:jt[0]-hn[0],height:vn[1]})},$e.prototype._dispatchZoomAction=function(Ie){var Fe=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:Ie?REALTIME_ANIMATION_CONFIG:null,start:Fe[0],end:Fe[1]})},$e.prototype._findCoordRect=function(){var Ie,Fe=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!Ie&&Fe.length){var Ue=Fe[0].model.coordinateSystem;Ie=Ue.getRect&&Ue.getRect()}if(!Ie){var qe=this.api.getWidth(),At=this.api.getHeight();Ie={x:qe*.2,y:At*.2,width:qe*.6,height:At*.6}}return Ie},$e.type="dataZoom.slider",$e}(DataZoomView);function getOtherDim(xe){var $e={x:"y",y:"x",radius:"angle",angle:"radius"};return $e[xe]}function getCursor$1(xe){return xe==="vertical"?"ns-resize":"ew-resize"}function install$8(xe){xe.registerComponentModel(SliderZoomModel),xe.registerComponentView(SliderZoomView),installCommon$1(xe)}function install$7(xe){use(install$9),use(install$8)}var visualDefault={get:function(xe,$e,Ie){var Fe=clone$4((defaultOption[xe]||{})[$e]);return Ie&&isArray$1(Fe)?Fe[Fe.length-1]:Fe}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},mapVisual=VisualMapping.mapVisual,eachVisual=VisualMapping.eachVisual,isArray=isArray$1,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.stateList=["inRange","outOfRange"],Ie.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],Ie.layoutMode={type:"box",ignoreSize:!0},Ie.dataBound=[-1/0,1/0],Ie.targetVisuals={},Ie.controllerVisuals={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue)},$e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},$e.prototype.resetVisual=function(Ie){var Fe=this.stateList;Ie=bind$1(Ie,this),this.controllerVisuals=createVisualMappings(this.option.controller,Fe,Ie),this.targetVisuals=createVisualMappings(this.option.target,Fe,Ie)},$e.prototype.getItemSymbol=function(){return null},$e.prototype.getTargetSeriesIndices=function(){var Ie=this.option.seriesIndex,Fe=[];return Ie==null||Ie==="all"?this.ecModel.eachSeries(function(Ue,qe){Fe.push(qe)}):Fe=normalizeToArray(Ie),Fe},$e.prototype.eachTargetSeries=function(Ie,Fe){each$f(this.getTargetSeriesIndices(),function(Ue){var qe=this.ecModel.getSeriesByIndex(Ue);qe&&Ie.call(Fe,qe)},this)},$e.prototype.isTargetSeries=function(Ie){var Fe=!1;return this.eachTargetSeries(function(Ue){Ue===Ie&&(Fe=!0)}),Fe},$e.prototype.formatValueText=function(Ie,Fe,Ue){var qe=this.option,At=qe.precision,Dt=this.dataBound,Lt=qe.formatter,jt;Ue=Ue||["<",">"],isArray$1(Ie)&&(Ie=Ie.slice(),jt=!0);var hn=Fe?Ie:jt?[vn(Ie[0]),vn(Ie[1])]:vn(Ie);if(isString(Lt))return Lt.replace("{value}",jt?hn[0]:hn).replace("{value2}",jt?hn[1]:hn);if(isFunction(Lt))return jt?Lt(Ie[0],Ie[1]):Lt(Ie);if(jt)return Ie[0]===Dt[0]?Ue[0]+" "+hn[1]:Ie[1]===Dt[1]?Ue[1]+" "+hn[0]:hn[0]+" - "+hn[1];return hn;function vn(bn){return bn===Dt[0]?"min":bn===Dt[1]?"max":(+bn).toFixed(Math.min(At,20))}},$e.prototype.resetExtent=function(){var Ie=this.option,Fe=asc([Ie.min,Ie.max]);this._dataExtent=Fe},$e.prototype.getDataDimensionIndex=function(Ie){var Fe=this.option.dimension;if(Fe!=null)return Ie.getDimensionIndex(Fe);for(var Ue=Ie.dimensions,qe=Ue.length-1;qe>=0;qe--){var At=Ue[qe],Dt=Ie.getDimensionInfo(At);if(!Dt.isCalculationCoord)return Dt.storeDimIndex}},$e.prototype.getExtent=function(){return this._dataExtent.slice()},$e.prototype.completeVisualOption=function(){var Ie=this.ecModel,Fe=this.option,Ue={inRange:Fe.inRange,outOfRange:Fe.outOfRange},qe=Fe.target||(Fe.target={}),At=Fe.controller||(Fe.controller={});merge(qe,Ue),merge(At,Ue);var Dt=this.isCategory();Lt.call(this,qe),Lt.call(this,At),jt.call(this,qe,"inRange","outOfRange"),hn.call(this,At);function Lt(vn){isArray(Fe.color)&&!vn.inRange&&(vn.inRange={color:Fe.color.slice().reverse()}),vn.inRange=vn.inRange||{color:Ie.get("gradientColor")}}function jt(vn,bn,_n){var wn=vn[bn],kn=vn[_n];wn&&!kn&&(kn=vn[_n]={},each$2(wn,function(Cn,Sn){if(VisualMapping.isValidType(Sn)){var xn=visualDefault.get(Sn,"inactive",Dt);xn!=null&&(kn[Sn]=xn,Sn==="color"&&!kn.hasOwnProperty("opacity")&&!kn.hasOwnProperty("colorAlpha")&&(kn.opacity=[0,0]))}}))}function hn(vn){var bn=(vn.inRange||{}).symbol||(vn.outOfRange||{}).symbol,_n=(vn.inRange||{}).symbolSize||(vn.outOfRange||{}).symbolSize,wn=this.get("inactiveColor"),kn=this.getItemSymbol(),Cn=kn||"roundRect";each$2(this.stateList,function(Sn){var xn=this.itemSize,En=vn[Sn];En||(En=vn[Sn]={color:Dt?wn:[wn]}),En.symbol==null&&(En.symbol=bn&&clone$4(bn)||(Dt?Cn:[Cn])),En.symbolSize==null&&(En.symbolSize=_n&&clone$4(_n)||(Dt?xn[0]:[xn[0],xn[0]])),En.symbol=mapVisual(En.symbol,function($n){return $n==="none"?Cn:$n});var Tn=En.symbolSize;if(Tn!=null){var An=-1/0;eachVisual(Tn,function($n){$n>An&&(An=$n)}),En.symbolSize=mapVisual(Tn,function($n){return linearMap$1($n,[0,An],[0,xn[0]],!0)})}},this)}},$e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},$e.prototype.isCategory=function(){return!!this.option.categories},$e.prototype.setSelected=function(Ie){},$e.prototype.getSelected=function(){return null},$e.prototype.getValueState=function(Ie){return null},$e.prototype.getVisualMeta=function(Ie){return null},$e.type="visualMap",$e.dependencies=["series"],$e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},$e}(ComponentModel),DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(Ue){Ue.mappingMethod="linear",Ue.dataExtent=this.getExtent()}),this._resetRange()},$e.prototype.resetItemSize=function(){xe.prototype.resetItemSize.apply(this,arguments);var Ie=this.itemSize;(Ie[0]==null||isNaN(Ie[0]))&&(Ie[0]=DEFAULT_BAR_BOUND[0]),(Ie[1]==null||isNaN(Ie[1]))&&(Ie[1]=DEFAULT_BAR_BOUND[1])},$e.prototype._resetRange=function(){var Ie=this.getExtent(),Fe=this.option.range;!Fe||Fe.auto?(Ie.auto=1,this.option.range=Ie):isArray$1(Fe)&&(Fe[0]>Fe[1]&&Fe.reverse(),Fe[0]=Math.max(Fe[0],Ie[0]),Fe[1]=Math.min(Fe[1],Ie[1]))},$e.prototype.completeVisualOption=function(){xe.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(Ie){var Fe=this.option.controller[Ie].symbolSize;Fe&&Fe[0]!==Fe[1]&&(Fe[0]=Fe[1]/3)},this)},$e.prototype.setSelected=function(Ie){this.option.range=Ie.slice(),this._resetRange()},$e.prototype.getSelected=function(){var Ie=this.getExtent(),Fe=asc$2((this.get("range")||[]).slice());return Fe[0]>Ie[1]&&(Fe[0]=Ie[1]),Fe[1]>Ie[1]&&(Fe[1]=Ie[1]),Fe[0]=Ue[1]||Ie<=Fe[1])?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[];return this.eachTargetSeries(function(Ue){var qe=[],At=Ue.getData();At.each(this.getDataDimensionIndex(At),function(Dt,Lt){Ie[0]<=Dt&&Dt<=Ie[1]&&qe.push(Lt)},this),Fe.push({seriesId:Ue.id,dataIndex:qe})},this),Fe},$e.prototype.getVisualMeta=function(Ie){var Fe=getColorStopValues(this,"outOfRange",this.getExtent()),Ue=getColorStopValues(this,"inRange",this.option.range.slice()),qe=[];function At(_n,wn){qe.push({value:_n,color:Ie(_n,wn)})}for(var Dt=0,Lt=0,jt=Ue.length,hn=Fe.length;LtIe[1])break;qe.push({color:this.getControllerVisual(Lt,"color",Fe),offset:Dt/Ue})}return qe.push({color:this.getControllerVisual(Ie[1],"color",Fe),offset:1}),qe},$e.prototype._createBarPoints=function(Ie,Fe){var Ue=this.visualMapModel.itemSize;return[[Ue[0]-Fe[0],Ie[0]],[Ue[0],Ie[0]],[Ue[0],Ie[1]],[Ue[0]-Fe[1],Ie[1]]]},$e.prototype._createBarGroup=function(Ie){var Fe=this._orient,Ue=this.visualMapModel.get("inverse");return new Group$3(Fe==="horizontal"&&!Ue?{scaleX:Ie==="bottom"?1:-1,rotation:Math.PI/2}:Fe==="horizontal"&&Ue?{scaleX:Ie==="bottom"?-1:1,rotation:-Math.PI/2}:Fe==="vertical"&&!Ue?{scaleX:Ie==="left"?1:-1,scaleY:-1}:{scaleX:Ie==="left"?1:-1})},$e.prototype._updateHandle=function(Ie,Fe){if(this._useHandle){var Ue=this._shapes,qe=this.visualMapModel,At=Ue.handleThumbs,Dt=Ue.handleLabels,Lt=qe.itemSize,jt=qe.getExtent();each$1([0,1],function(hn){var vn=At[hn];vn.setStyle("fill",Fe.handlesColor[hn]),vn.y=Ie[hn];var bn=linearMap(Ie[hn],[0,Lt[1]],jt,!0),_n=this.getControllerVisual(bn,"symbolSize");vn.scaleX=vn.scaleY=_n/Lt[0],vn.x=Lt[0]-_n/2;var wn=applyTransform(Ue.handleLabelPoints[hn],getTransform$1(vn,this.group));Dt[hn].setStyle({x:wn[0],y:wn[1],text:qe.formatValueText(this._dataInterval[hn]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",Ue.mainGroup):"center"})},this)}},$e.prototype._showIndicator=function(Ie,Fe,Ue,qe){var At=this.visualMapModel,Dt=At.getExtent(),Lt=At.itemSize,jt=[0,Lt[1]],hn=this._shapes,vn=hn.indicator;if(vn){vn.attr("invisible",!1);var bn={convertOpacityToAlpha:!0},_n=this.getControllerVisual(Ie,"color",bn),wn=this.getControllerVisual(Ie,"symbolSize"),kn=linearMap(Ie,Dt,jt,!0),Cn=Lt[0]-wn/2,Sn={x:vn.x,y:vn.y};vn.y=kn,vn.x=Cn;var xn=applyTransform(hn.indicatorLabelPoint,getTransform$1(vn,this.group)),En=hn.indicatorLabel;En.attr("invisible",!1);var Tn=this._applyTransform("left",hn.mainGroup),An=this._orient,$n=An==="horizontal";En.setStyle({text:(Ue||"")+At.formatValueText(Fe),verticalAlign:$n?Tn:"middle",align:$n?"center":Tn});var Pn={x:Cn,y:kn,style:{fill:_n}},Nn={style:{x:xn[0],y:xn[1]}};if(At.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Mn={duration:100,easing:"cubicInOut",additive:!0};vn.x=Sn.x,vn.y=Sn.y,vn.animateTo(Pn,Mn),En.animateTo(Nn,Mn)}else vn.attr(Pn),En.attr(Nn);this._firstShowIndicator=!1;var In=this._shapes.handleLabels;if(In)for(var On=0;OnAt[1]&&(vn[1]=1/0),Fe&&(vn[0]===-1/0?this._showIndicator(hn,vn[1],"< ",Lt):vn[1]===1/0?this._showIndicator(hn,vn[0],"> ",Lt):this._showIndicator(hn,hn,"≈ ",Lt));var bn=this._hoverLinkDataIndices,_n=[];(Fe||useHoverLinkOnHandle(Ue))&&(_n=this._hoverLinkDataIndices=Ue.findTargetDataIndices(vn));var wn=compressBatches(bn,_n);this._dispatchHighDown("downplay",makeHighDownBatch(wn[0],Ue)),this._dispatchHighDown("highlight",makeHighDownBatch(wn[1],Ue))}},$e.prototype._hoverLinkFromSeriesMouseOver=function(Ie){var Fe;if(findEventDispatcher(Ie.target,function(Lt){var jt=getECData(Lt);if(jt.dataIndex!=null)return Fe=jt,!0},!0),!!Fe){var Ue=this.ecModel.getSeriesByIndex(Fe.seriesIndex),qe=this.visualMapModel;if(qe.isTargetSeries(Ue)){var At=Ue.getData(Fe.dataType),Dt=At.getStore().get(qe.getDataDimensionIndex(At),Fe.dataIndex);isNaN(Dt)||this._showIndicator(Dt,Dt)}}},$e.prototype._hideIndicator=function(){var Ie=this._shapes;Ie.indicator&&Ie.indicator.attr("invisible",!0),Ie.indicatorLabel&&Ie.indicatorLabel.attr("invisible",!0);var Fe=this._shapes.handleLabels;if(Fe)for(var Ue=0;Ue=0&&(qe.dimension=At,Fe.push(qe))}}),xe.getData().setVisual("visualMeta",Fe)}}];function getColorVisual(xe,$e,Ie,Fe){for(var Ue=$e.targetVisuals[Fe],qe=VisualMapping.prepareVisualTypes(Ue),At={color:getVisualFromData(xe.getData(),"color")},Dt=0,Lt=qe.length;Dt0:$e.splitNumber>0)||$e.calculable)?"continuous":"piecewise"}),xe.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function($e){xe.registerVisual(xe.PRIORITY.VISUAL.COMPONENT,$e)}),xe.registerPreprocessor(visualMapPreprocessor))}function install$6(xe){xe.registerComponentModel(ContinuousModel),xe.registerComponentView(ContinuousView),installCommon(xe)}var PiecewiseModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._pieceList=[],Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var Ue=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(Ie,Fe);var qe=this.option.categories;this.resetVisual(function(At,Dt){Ue==="categories"?(At.mappingMethod="category",At.categories=clone$4(qe)):(At.dataExtent=this.getExtent(),At.mappingMethod="piecewise",At.pieceList=map$1(this._pieceList,function(Lt){return Lt=clone$4(Lt),Dt!=="inRange"&&(Lt.visual=null),Lt}))})},$e.prototype.completeVisualOption=function(){var Ie=this.option,Fe={},Ue=VisualMapping.listVisualTypes(),qe=this.isCategory();each$f(Ie.pieces,function(Dt){each$f(Ue,function(Lt){Dt.hasOwnProperty(Lt)&&(Fe[Lt]=1)})}),each$f(Fe,function(Dt,Lt){var jt=!1;each$f(this.stateList,function(hn){jt=jt||At(Ie,hn,Lt)||At(Ie.target,hn,Lt)},this),!jt&&each$f(this.stateList,function(hn){(Ie[hn]||(Ie[hn]={}))[Lt]=visualDefault.get(Lt,hn==="inRange"?"active":"inactive",qe)})},this);function At(Dt,Lt,jt){return Dt&&Dt[Lt]&&Dt[Lt].hasOwnProperty(jt)}xe.prototype.completeVisualOption.apply(this,arguments)},$e.prototype._resetSelected=function(Ie,Fe){var Ue=this.option,qe=this._pieceList,At=(Fe?Ue:Ie).selected||{};if(Ue.selected=At,each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At.hasOwnProperty(hn)||(At[hn]=!0)},this),Ue.selectedMode==="single"){var Dt=!1;each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At[hn]&&(Dt?At[hn]=!1:Dt=!0)},this)}},$e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},$e.prototype.getSelectedMapKey=function(Ie){return this._mode==="categories"?Ie.value+"":Ie.index+""},$e.prototype.getPieceList=function(){return this._pieceList},$e.prototype._determineMode=function(){var Ie=this.option;return Ie.pieces&&Ie.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},$e.prototype.setSelected=function(Ie){this.option.selected=clone$4(Ie)},$e.prototype.getValueState=function(Ie){var Fe=VisualMapping.findPieceIndex(Ie,this._pieceList);return Fe!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[Fe])]?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[],Ue=this._pieceList;return this.eachTargetSeries(function(qe){var At=[],Dt=qe.getData();Dt.each(this.getDataDimensionIndex(Dt),function(Lt,jt){var hn=VisualMapping.findPieceIndex(Lt,Ue);hn===Ie&&At.push(jt)},this),Fe.push({seriesId:qe.id,dataIndex:At})},this),Fe},$e.prototype.getRepresentValue=function(Ie){var Fe;if(this.isCategory())Fe=Ie.value;else if(Ie.value!=null)Fe=Ie.value;else{var Ue=Ie.interval||[];Fe=Ue[0]===-1/0&&Ue[1]===1/0?0:(Ue[0]+Ue[1])/2}return Fe},$e.prototype.getVisualMeta=function(Ie){if(this.isCategory())return;var Fe=[],Ue=["",""],qe=this;function At(hn,vn){var bn=qe.getRepresentValue({interval:hn});vn||(vn=qe.getValueState(bn));var _n=Ie(bn,vn);hn[0]===-1/0?Ue[0]=_n:hn[1]===1/0?Ue[1]=_n:Fe.push({value:hn[0],color:_n},{value:hn[1],color:_n})}var Dt=this._pieceList.slice();if(!Dt.length)Dt.push({interval:[-1/0,1/0]});else{var Lt=Dt[0].interval[0];Lt!==-1/0&&Dt.unshift({interval:[-1/0,Lt]}),Lt=Dt[Dt.length-1].interval[1],Lt!==1/0&&Dt.push({interval:[Lt,1/0]})}var jt=-1/0;return each$f(Dt,function(hn){var vn=hn.interval;vn&&(vn[0]>jt&&At([jt,vn[0]],"outOfRange"),At(vn.slice()),jt=vn[1])},this),{stops:Fe,outerColors:Ue}},$e.type="visualMap.piecewise",$e.defaultOption=inheritDefaultOption(VisualMapModel.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),$e}(VisualMapModel),resetMethods={splitNumber:function(xe){var $e=this.option,Ie=Math.min($e.precision,20),Fe=this.getExtent(),Ue=$e.splitNumber;Ue=Math.max(parseInt(Ue,10),1),$e.splitNumber=Ue;for(var qe=(Fe[1]-Fe[0])/Ue;+qe.toFixed(Ie)!==qe&&Ie<5;)Ie++;$e.precision=Ie,qe=+qe.toFixed(Ie),$e.minOpen&&xe.push({interval:[-1/0,Fe[0]],close:[0,0]});for(var At=0,Dt=Fe[0];At","≥"][Fe[0]]];Ie.text=Ie.text||this.formatValueText(Ie.value!=null?Ie.value:Ie.interval,!1,Ue)},this)}};function normalizeReverse(xe,$e){var Ie=xe.inverse;(xe.orient==="vertical"?!Ie:Ie)&&$e.reverse()}var PiecewiseVisualMapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.doRender=function(){var Ie=this.group;Ie.removeAll();var Fe=this.visualMapModel,Ue=Fe.get("textGap"),qe=Fe.textStyleModel,At=qe.getFont(),Dt=qe.getTextColor(),Lt=this._getItemAlign(),jt=Fe.itemSize,hn=this._getViewData(),vn=hn.endsText,bn=retrieve(Fe.get("showLabel",!0),!vn);vn&&this._renderEndsText(Ie,vn[0],jt,bn,Lt),each$f(hn.viewPieceList,function(_n){var wn=_n.piece,kn=new Group$3;kn.onclick=bind$1(this._onItemClick,this,wn),this._enableHoverLink(kn,_n.indexInModelPieceList);var Cn=Fe.getRepresentValue(wn);if(this._createItemSymbol(kn,Cn,[0,0,jt[0],jt[1]]),bn){var Sn=this.visualMapModel.getValueState(Cn);kn.add(new ZRText({style:{x:Lt==="right"?-Ue:jt[0]+Ue,y:jt[1]/2,text:wn.text,verticalAlign:"middle",align:Lt,font:At,fill:Dt,opacity:Sn==="outOfRange"?.5:1}}))}Ie.add(kn)},this),vn&&this._renderEndsText(Ie,vn[1],jt,bn,Lt),box(Fe.get("orient"),Ie,Fe.get("itemGap")),this.renderBackground(Ie),this.positionGroup(Ie)},$e.prototype._enableHoverLink=function(Ie,Fe){var Ue=this;Ie.on("mouseover",function(){return qe("highlight")}).on("mouseout",function(){return qe("downplay")});var qe=function(At){var Dt=Ue.visualMapModel;Dt.option.hoverLink&&Ue.api.dispatchAction({type:At,batch:makeHighDownBatch(Dt.findTargetDataIndices(Fe),Dt)})}},$e.prototype._getItemAlign=function(){var Ie=this.visualMapModel,Fe=Ie.option;if(Fe.orient==="vertical")return getItemAlign(Ie,this.api,Ie.itemSize);var Ue=Fe.align;return(!Ue||Ue==="auto")&&(Ue="left"),Ue},$e.prototype._renderEndsText=function(Ie,Fe,Ue,qe,At){if(Fe){var Dt=new Group$3,Lt=this.visualMapModel.textStyleModel;Dt.add(new ZRText({style:createTextStyle(Lt,{x:qe?At==="right"?Ue[0]:0:Ue[0]/2,y:Ue[1]/2,verticalAlign:"middle",align:qe?At:"center",text:Fe})})),Ie.add(Dt)}},$e.prototype._getViewData=function(){var Ie=this.visualMapModel,Fe=map$1(Ie.getPieceList(),function(Dt,Lt){return{piece:Dt,indexInModelPieceList:Lt}}),Ue=Ie.get("text"),qe=Ie.get("orient"),At=Ie.get("inverse");return(qe==="horizontal"?At:!At)?Fe.reverse():Ue&&(Ue=Ue.slice().reverse()),{viewPieceList:Fe,endsText:Ue}},$e.prototype._createItemSymbol=function(Ie,Fe,Ue){Ie.add(createSymbol$1(this.getControllerVisual(Fe,"symbol"),Ue[0],Ue[1],Ue[2],Ue[3],this.getControllerVisual(Fe,"color")))},$e.prototype._onItemClick=function(Ie){var Fe=this.visualMapModel,Ue=Fe.option,qe=Ue.selectedMode;if(qe){var At=clone$4(Ue.selected),Dt=Fe.getSelectedMapKey(Ie);qe==="single"||qe===!0?(At[Dt]=!0,each$f(At,function(Lt,jt){At[jt]=jt===Dt})):At[Dt]=!At[Dt],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:At})}},$e.type="visualMap.piecewise",$e}(VisualMapView);function install$5(xe){xe.registerComponentModel(PiecewiseModel),xe.registerComponentView(PiecewiseVisualMapView),installCommon(xe)}function install$4(xe){use(install$6),use(install$5)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(xe,$e){var Ie=xe.getModel("aria");if(!Ie.get("enabled"))return;var Fe=clone$4(DEFAULT_OPTION);merge(Fe.label,xe.getLocaleModel().get("aria"),!1),merge(Ie.option,Fe,!1),Ue(),qe();function Ue(){var jt=Ie.getModel("decal"),hn=jt.get("show");if(hn){var vn=createHashMap();xe.eachSeries(function(bn){if(!bn.isColorBySeries()){var _n=vn.get(bn.type);_n||(_n={},vn.set(bn.type,_n)),inner(bn).scope=_n}}),xe.eachRawSeries(function(bn){if(xe.isSeriesFiltered(bn))return;if(isFunction(bn.enableAriaDecal)){bn.enableAriaDecal();return}var _n=bn.getData();if(bn.isColorBySeries()){var xn=getDecalFromPalette(bn.ecModel,bn.name,decalPaletteScope,xe.getSeriesCount()),En=_n.getVisual("decal");_n.setVisual("decal",Tn(En,xn))}else{var wn=bn.getRawData(),kn={},Cn=inner(bn).scope;_n.each(function(An){var $n=_n.getRawIndex(An);kn[$n]=An});var Sn=wn.count();wn.each(function(An){var $n=kn[An],Pn=wn.getName(An)||An+"",Nn=getDecalFromPalette(bn.ecModel,Pn,Cn,Sn),Mn=_n.getItemVisual($n,"decal");_n.setItemVisual($n,"decal",Tn(Mn,Nn))})}function Tn(An,$n){var Pn=An?extend(extend({},$n),An):$n;return Pn.dirty=!0,Pn}})}}function qe(){var jt=xe.getLocaleModel().get("aria"),hn=Ie.getModel("label");if(hn.option=defaults(hn.option,jt),!!hn.get("enabled")){var vn=$e.getZr().dom;if(hn.get("description")){vn.setAttribute("aria-label",hn.get("description"));return}var bn=xe.getSeriesCount(),_n=hn.get(["data","maxCount"])||10,wn=hn.get(["series","maxCount"])||10,kn=Math.min(bn,wn),Cn;if(!(bn<1)){var Sn=Dt();if(Sn){var xn=hn.get(["general","withTitle"]);Cn=At(xn,{title:Sn})}else Cn=hn.get(["general","withoutTitle"]);var En=[],Tn=bn>1?hn.get(["series","multiple","prefix"]):hn.get(["series","single","prefix"]);Cn+=At(Tn,{seriesCount:bn}),xe.eachSeries(function(Nn,Mn){if(Mn1?hn.get(["series","multiple",Rn]):hn.get(["series","single",Rn]),In=At(In,{seriesId:Nn.seriesIndex,seriesName:Nn.get("name"),seriesType:Lt(Nn.subType)});var Bn=Nn.getData();if(Bn.count()>_n){var Vn=hn.get(["data","partialData"]);In+=At(Vn,{displayCnt:_n})}else In+=hn.get(["data","allData"]);for(var Ln=hn.get(["data","separator","middle"]),Dn=hn.get(["data","separator","end"]),Hn=[],Fn=0;Fn":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function xe($e){var Ie=this._condVal=isString($e)?new RegExp($e):isRegExp($e)?$e:null;if(Ie==null){var Fe="";throwError(Fe)}}return xe.prototype.evaluate=function($e){var Ie=typeof $e;return isString(Ie)?this._condVal.test($e):isNumber(Ie)?this._condVal.test($e+""):!1},xe}(),ConstConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return this.value},xe}(),AndConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if(!$e[Ie].evaluate())return!1;return!0},xe}(),OrConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if($e[Ie].evaluate())return!0;return!1},xe}(),NotConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return!this.child.evaluate()},xe}(),RelationalConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=!!this.valueParser,Ie=this.getValue,Fe=Ie(this.valueGetterParam),Ue=$e?this.valueParser(Fe):null,qe=0;qe2&&Fe.push(Ue),Ue=[Bn,Vn]}function hn(Bn,Vn,Ln,Dn){aroundEqual(Bn,Ln)&&aroundEqual(Vn,Dn)||Ue.push(Bn,Vn,Ln,Dn,Ln,Dn)}function vn(Bn,Vn,Ln,Dn,Hn,Fn){var zn=Math.abs(Vn-Bn),jn=Math.tan(zn/4)*4/3,Gn=VnNn:On2&&Fe.push(Ue),Fe}function adpativeBezier(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(aroundEqual(xe,Ie)&&aroundEqual($e,Fe)&&aroundEqual(Ue,At)&&aroundEqual(qe,Dt)){Lt.push(At,Dt);return}var hn=2/jt,vn=hn*hn,bn=At-xe,_n=Dt-$e,wn=Math.sqrt(bn*bn+_n*_n);bn/=wn,_n/=wn;var kn=Ie-xe,Cn=Fe-$e,Sn=Ue-At,xn=qe-Dt,En=kn*kn+Cn*Cn,Tn=Sn*Sn+xn*xn;if(En=0&&Nn=0){Lt.push(At,Dt);return}var Mn=[],In=[];cubicSubdivide(xe,Ie,Ue,At,.5,Mn),cubicSubdivide($e,Fe,qe,Dt,.5,In),adpativeBezier(Mn[0],In[0],Mn[1],In[1],Mn[2],In[2],Mn[3],In[3],Lt,jt),adpativeBezier(Mn[4],In[4],Mn[5],In[5],Mn[6],In[6],Mn[7],In[7],Lt,jt)}function pathToPolygons(xe,$e){var Ie=pathToBezierCurves(xe),Fe=[];$e=$e||1;for(var Ue=0;Ue0)for(var jt=0;jtMath.abs(jt),vn=getDividingGrids([Lt,jt],hn?0:1,$e),bn=(hn?Dt:jt)/vn.length,_n=0;_nUe,At=getDividingGrids([Fe,Ue],qe?0:1,$e),Dt=qe?"width":"height",Lt=qe?"height":"width",jt=qe?"x":"y",hn=qe?"y":"x",vn=xe[Dt]/At.length,bn=0;bn1?null:new Point(kn*Lt+xe,kn*jt+$e)}function projPtOnLine(xe,$e,Ie){var Fe=new Point;Point.sub(Fe,Ie,$e),Fe.normalize();var Ue=new Point;Point.sub(Ue,xe,$e);var qe=Ue.dot(Fe);return qe}function addToPoly(xe,$e){var Ie=xe[xe.length-1];Ie&&Ie[0]===$e[0]&&Ie[1]===$e[1]||xe.push($e)}function splitPolygonByLine(xe,$e,Ie){for(var Fe=xe.length,Ue=[],qe=0;qeAt?(jt.x=hn.x=Dt+qe/2,jt.y=Lt,hn.y=Lt+At):(jt.y=hn.y=Lt+At/2,jt.x=Dt,hn.x=Dt+qe),splitPolygonByLine($e,jt,hn)}function binaryDivideRecursive(xe,$e,Ie,Fe){if(Ie===1)Fe.push($e);else{var Ue=Math.floor(Ie/2),qe=xe($e);binaryDivideRecursive(xe,qe[0],Ue,Fe),binaryDivideRecursive(xe,qe[1],Ie-Ue,Fe)}return Fe}function clone(xe,$e){for(var Ie=[],Fe=0;Fe<$e;Fe++)Ie.push(clonePath(xe));return Ie}function copyPathProps(xe,$e){$e.setStyle(xe.style),$e.z=xe.z,$e.z2=xe.z2,$e.zlevel=xe.zlevel}function polygonConvert(xe){for(var $e=[],Ie=0;Ie0;jt/=2){var hn=0,vn=0;(xe&jt)>0&&(hn=1),($e&jt)>0&&(vn=1),Dt+=jt*jt*(3*hn^vn),vn===0&&(hn===1&&(xe=jt-1-xe,$e=jt-1-$e),Lt=xe,xe=$e,$e=Lt)}return Dt}function sortPaths(xe){var $e=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=map$1(xe,function(Dt){var Lt=Dt.getBoundingRect(),jt=Dt.getComputedTransform(),hn=Lt.x+Lt.width/2+(jt?jt[4]:0),vn=Lt.y+Lt.height/2+(jt?jt[5]:0);return $e=Math.min(hn,$e),Ie=Math.min(vn,Ie),Fe=Math.max(hn,Fe),Ue=Math.max(vn,Ue),[hn,vn]}),At=map$1(qe,function(Dt,Lt){return{cp:Dt,z:hilbert(Dt[0],Dt[1],$e,Ie,Fe,Ue),path:xe[Lt]}});return At.sort(function(Dt,Lt){return Dt.z-Lt.z}).map(function(Dt){return Dt.path})}function defaultDividePath(xe){return split(xe.path,xe.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(xe,$e,Ie){var Fe=[];function Ue(An){for(var $n=0;$n=0;Ue--)if(!Ie[Ue].many.length){var Lt=Ie[Dt].many;if(Lt.length<=1)if(Dt)Dt=0;else return Ie;var qe=Lt.length,jt=Math.ceil(qe/2);Ie[Ue].many=Lt.slice(jt,qe),Ie[Dt].many=Lt.slice(0,jt),Dt++}return Ie}var pathDividers={clone:function(xe){for(var $e=[],Ie=1-Math.pow(1-xe.path.style.opacity,1/xe.count),Fe=0;Fe0))return;var Dt=Fe.getModel("universalTransition").get("delay"),Lt=Object.assign({setToFinal:!0},At),jt,hn;isMultiple(xe)&&(jt=xe,hn=$e),isMultiple($e)&&(jt=$e,hn=xe);function vn(Sn,xn,En,Tn,An){var $n=Sn.many,Pn=Sn.one;if($n.length===1&&!An){var Nn=xn?$n[0]:Pn,Mn=xn?Pn:$n[0];if(isCombineMorphing(Nn))vn({many:[Nn],one:Mn},!0,En,Tn,!0);else{var In=Dt?defaults({delay:Dt(En,Tn)},Lt):Lt;morphPath(Nn,Mn,In),qe(Nn,Mn,Nn,Mn,In)}}else for(var On=defaults({dividePath:pathDividers[Ie],individualDelay:Dt&&function(Hn,Fn,zn,jn){return Dt(Hn+En,Tn)}},Lt),Rn=xn?combineMorph($n,Pn,On):separateMorph(Pn,$n,On),Bn=Rn.fromIndividuals,Vn=Rn.toIndividuals,Ln=Bn.length,Dn=0;Dn$e.length,_n=jt?prepareMorphBatches(hn,jt):prepareMorphBatches(bn?$e:xe,[bn?xe:$e]),wn=0,kn=0;kn<_n.length;kn++)wn+=_n[kn].many.length;for(var Cn=0,kn=0;kn<_n.length;kn++)vn(_n[kn],bn,Cn,wn),Cn+=_n[kn].many.length}function getPathList(xe){if(!xe)return[];if(isArray$1(xe)){for(var $e=[],Ie=0;IeDATA_COUNT_THRESHOLD))for(var qe=Fe.getIndices(),At=0;At0&&$n.group.traverse(function(Nn){Nn instanceof Path&&!Nn.animators.length&&Nn.animateFrom({style:{opacity:0}},Pn)})})}function getSeriesTransitionKey(xe){var $e=xe.getModel("universalTransition").get("seriesKey");return $e||xe.id}function convertArraySeriesKeyToString(xe){return isArray$1(xe)?xe.sort().join(","):xe}function getDivideShapeFromData(xe){if(xe.hostModel)return xe.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(xe,$e){var Ie=createHashMap(),Fe=createHashMap(),Ue=createHashMap();return each$f(xe.oldSeries,function(qe,At){var Dt=xe.oldDataGroupIds[At],Lt=xe.oldData[At],jt=getSeriesTransitionKey(qe),hn=convertArraySeriesKeyToString(jt);Fe.set(hn,{dataGroupId:Dt,data:Lt}),isArray$1(jt)&&each$f(jt,function(vn){Ue.set(vn,{key:hn,dataGroupId:Dt,data:Lt})})}),each$f($e.updatedSeries,function(qe){if(qe.isUniversalTransitionEnabled()&&qe.isAnimationEnabled()){var At=qe.get("dataGroupId"),Dt=qe.getData(),Lt=getSeriesTransitionKey(qe),jt=convertArraySeriesKeyToString(Lt),hn=Fe.get(jt);if(hn)Ie.set(jt,{oldSeries:[{dataGroupId:hn.dataGroupId,divide:getDivideShapeFromData(hn.data),data:hn.data}],newSeries:[{dataGroupId:At,divide:getDivideShapeFromData(Dt),data:Dt}]});else if(isArray$1(Lt)){var vn=[];each$f(Lt,function(wn){var kn=Fe.get(wn);kn.data&&vn.push({dataGroupId:kn.dataGroupId,divide:getDivideShapeFromData(kn.data),data:kn.data})}),vn.length&&Ie.set(jt,{oldSeries:vn,newSeries:[{dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)}]})}else{var bn=Ue.get(Lt);if(bn){var _n=Ie.get(bn.key);_n||(_n={oldSeries:[{dataGroupId:bn.dataGroupId,data:bn.data,divide:getDivideShapeFromData(bn.data)}],newSeries:[]},Ie.set(bn.key,_n)),_n.newSeries.push({dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)})}}}}),Ie}function querySeries(xe,$e){for(var Ie=0;Ie=0&&Ue.push({dataGroupId:$e.oldDataGroupIds[Dt],data:$e.oldData[Dt],divide:getDivideShapeFromData($e.oldData[Dt]),groupIdDim:At.dimension})}),each$f(normalizeToArray(xe.to),function(At){var Dt=querySeries(Ie.updatedSeries,At);if(Dt>=0){var Lt=Ie.updatedSeries[Dt].getData();qe.push({dataGroupId:$e.oldDataGroupIds[Dt],data:Lt,divide:getDivideShapeFromData(Lt),groupIdDim:At.dimension})}}),Ue.length>0&&qe.length>0&&transitionBetween(Ue,qe,Fe)}function installUniversalTransition(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){each$f(normalizeToArray(Fe.seriesTransition),function(Ue){each$f(normalizeToArray(Ue.to),function(qe){for(var At=Fe.updatedSeries,Dt=0;Dt0},xe.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},xe.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},xe.prototype.onTransitionEnd_=function($e){var Ie=$e.propertyName,Fe=Ie===void 0?"":Ie,Ue=transitionKeys.some(function(qe){return!!~Fe.indexOf(qe)});Ue&&this.refresh()},xe.getInstance=function(){return this.instance_||(this.instance_=new xe),this.instance_},xe.instance_=null,xe}(),defineConfigurable=function(xe,$e){for(var Ie=0,Fe=Object.keys($e);Ie"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)||(Ie.set($e,new ResizeObservation($e)),this.controller_.addObserver(this),this.controller_.refresh())}},xe.prototype.unobserve=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)&&(Ie.delete($e),Ie.size||this.controller_.removeObserver(this))}},xe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},xe.prototype.gatherActive=function(){var $e=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&$e.activeObservations_.push(Ie)})},xe.prototype.broadcastActive=function(){if(this.hasActive()){var $e=this.callbackCtx_,Ie=this.activeObservations_.map(function(Fe){return new ResizeObserverEntry$1(Fe.target,Fe.broadcastRect())});this.callback_.call($e,Ie,$e),this.clearActive()}},xe.prototype.clearActive=function(){this.activeObservations_.splice(0)},xe.prototype.hasActive=function(){return this.activeObservations_.length>0},xe}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$1=function(){function xe($e){if(!(this instanceof xe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=ResizeObserverController.getInstance(),Fe=new ResizeObserverSPI($e,Ie,this);observers.set(this,Fe)}return xe}();["observe","unobserve","disconnect"].forEach(function(xe){ResizeObserver$1.prototype[xe]=function(){var $e;return($e=observers.get(this))[xe].apply($e,arguments)}});var index=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$1}();const _withScopeId=xe=>(pushScopeId("data-v-c51b6157"),xe=xe(),popScopeId(),xe),_hoisted_1={style:{padding:"15px"}},_hoisted_2={class:"justify-between flex"},_hoisted_3=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日新增用户数量",-1)),_hoisted_4={class:"flex justify-between"},_hoisted_5=_withScopeId(()=>createBaseVNode("span",null,"总计用户数量:",-1)),_hoisted_6={class:"flex justify-between"},_hoisted_7=_withScopeId(()=>createBaseVNode("span",{class:"font-bold"},"今日对话",-1)),_hoisted_8={class:"flex justify-between"},_hoisted_9=_withScopeId(()=>createBaseVNode("span",null,"总计对话",-1)),_hoisted_10={class:"flex justify-between"},_hoisted_11=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日绘画数量",-1)),_hoisted_12={class:"flex justify-between"},_hoisted_13=_withScopeId(()=>createBaseVNode("span",null,"总计绘画数量:",-1)),_hoisted_14={class:"justify-between flex"},_hoisted_15=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日订单数量",-1)),_hoisted_16={class:"flex justify-between"},_hoisted_17=_withScopeId(()=>createBaseVNode("span",null,"总计订单数量:",-1)),_hoisted_18={class:"align-center flex justify-between"},_hoisted_19=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"对话信息统计",-1)),_hoisted_20=_withScopeId(()=>createBaseVNode("div",{id:"chat"},null,-1)),_hoisted_21={class:"align-center flex justify-between"},_hoisted_22=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"网站访客统计",-1)),_hoisted_23=_withScopeId(()=>createBaseVNode("div",{id:"baidu"},null,-1)),_sfc_main$1=defineComponent({__name:"index",setup(xe){const $e=useSettingsStore(),Ie=computed(()=>$e.settings.app.colorScheme),Fe=ref({userCount:0,newUserCount:0,chatCount:0,newChatCount:0,drawCount:0,newDrawCount:0,orderCount:0,newOrderCount:0});let Ue,qe,At;const Dt=ref(30),Lt=ref(30),jt={title:{text:"对话统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{top:"30px",data:[{name:"对话数量",icon:"rect",itemWidth:10,itemHeight:5},{name:"绘画数量",icon:"rect"}]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}}],series:[{name:"对话数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"rgba(17, 76, 255, 0.2)"},emphasis:{focus:"series"},data:[]},{name:"绘画数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"#00d7ff33"},emphasis:{focus:"series"},data:[]}]},hn={title:{text:"访问量统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis"},legend:{data:["pv","uv","ip"]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}},series:[{name:"pv",type:"bar",smooth:!0,areaStyle:{color:"rgba(17, 76, 255, 0.2)"},data:[]},{name:"uv",type:"bar",smooth:!0,areaStyle:{color:"#00d7ff33"},data:[]},{name:"ip",smooth:!0,areaStyle:{color:"rgba(0, 215, 255, 0.2)"},type:"bar",data:[]}]},vn=[{label:7,value:"最近七天"},{label:15,value:"最近半月"},{label:30,value:"最近一月"},{label:90,value:"最近三月"}];async function bn(){const Cn=await apiDashboard.getBaseInfo();console.log(Cn.data),Fe.value=Cn.data}async function _n(){const Cn=await apiDashboard.getBaiduVisit({days:Lt.value}),{data:Sn}=Cn;hn.xAxis.data=Sn.items[0].map(En=>En[0]),hn.series.forEach((En,Tn)=>{En.data=Sn.items[1].map(An=>An[Tn])});const xn=document.getElementById("baidu");qe=init$1(xn),qe.setOption(hn)}async function wn(){const Cn=await apiDashboard.getChatStatistic({days:Dt.value}),{date:Sn,chat:xn,draw:En}=Cn.data;jt.xAxis[0].data=Sn,jt.series[0].data=xn,jt.series[1].data=En;const Tn=document.getElementById("chat");Ue=init$1(Tn),Ue.setOption(jt)}watch(Ie,()=>{kn()});function kn(){const Sn=$e.settings.app.colorScheme==="dark"?["#ffffff1a"]:["#0000001a"];jt.yAxis[0].splitLine.lineStyle.color=Sn,jt.xAxis[0].splitLine.lineStyle.color=Sn,Ue.setOption(jt),hn.yAxis.splitLine.lineStyle.color=Sn,hn.xAxis.splitLine.lineStyle.color=Sn,qe.setOption(hn)}return onMounted(async()=>{await bn(),await Promise.all([wn(),_n()]),kn(),ElNotification({title:"配置迁移提醒",message:"除对话页外的其他页面将不再维护。专业绘画、思维导图等页面的配置已移至其他设置中。",type:"info",duration:15e3})}),onMounted(()=>{At=new index(()=>{Ue&&Ue.resize(),qe&&qe.resize()});const Cn=document.getElementById("chat");Cn&&(At==null||At.observe(Cn));const Sn=document.getElementById("baidu");Sn&&(At==null||At.observe(Sn))}),onBeforeMount(()=>{At&&At.disconnect()}),(Cn,Sn)=>{const xn=resolveComponent("el-card"),En=resolveComponent("el-col"),Tn=resolveComponent("el-row"),An=resolveComponent("Histogram"),$n=resolveComponent("el-icon"),Pn=resolveComponent("el-radio-button"),Nn=resolveComponent("el-radio-group");return openBlock(),createElementBlock("div",_hoisted_1,[createVNode$1(Tn,{gutter:10},{default:withCtx(()=>[createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>{var Mn;return[createBaseVNode("div",_hoisted_2,[_hoisted_3,createBaseVNode("b",null,toDisplayString((Mn=unref(Fe))==null?void 0:Mn.newUserCount),1)])]}),default:withCtx(()=>[createBaseVNode("div",_hoisted_4,[_hoisted_5,createBaseVNode("span",null,toDisplayString(unref(Fe).userCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_6,[_hoisted_7,createBaseVNode("b",null,toDisplayString(unref(Fe).newChatCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8,[_hoisted_9,createBaseVNode("span",null,toDisplayString(unref(Fe).chatCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_10,[_hoisted_11,createBaseVNode("b",null,toDisplayString(unref(Fe).newDrawCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_12,[_hoisted_13,createBaseVNode("span",null,toDisplayString(unref(Fe).drawCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_14,[_hoisted_15,createBaseVNode("b",null,toDisplayString(unref(Fe).newOrderCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_16,[_hoisted_17,createBaseVNode("span",null,toDisplayString(unref(Fe).orderCount),1)])]),_:1})]),_:1})]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_18,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_19]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Dt),"onUpdate:modelValue":Sn[0]||(Sn[0]=Mn=>isRef(Dt)?Dt.value=Mn:null),onChange:wn},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_20]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_21,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_22]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Lt),"onUpdate:modelValue":Sn[1]||(Sn[1]=Mn=>isRef(Lt)?Lt.value=Mn:null),onChange:_n},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_23]),_:1})])}}}),block0={},_export_sfc=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};typeof block0=="function"&&block0(_sfc_main$1);const Home=_export_sfc(_sfc_main$1,[["__scopeId","data-v-c51b6157"]]),__pages_import_0__=()=>__vitePreload(()=>import("./wechat-CZwjwtAA.js"),__vite__mapDeps([0,1,2]),import.meta.url),__pages_import_1__=()=>__vitePreload(()=>import("./register-CnkVQnVg.js"),__vite__mapDeps([3,1,2,4]),import.meta.url),__pages_import_2__=()=>__vitePreload(()=>import("./phone-BhpR_O8Z.js"),__vite__mapDeps([5,1,2]),import.meta.url),__pages_import_3__=()=>__vitePreload(()=>import("./index-Rn5VD-Vw.js"),__vite__mapDeps([6,7,1,8,9]),import.meta.url),__pages_import_4__=()=>__vitePreload(()=>import("./email-DZS2Vv6k.js"),__vite__mapDeps([10,1,2]),import.meta.url),__pages_import_5__=()=>__vitePreload(()=>import("./accountLog-Bv2zJ5xz.js"),__vite__mapDeps([11,7,1,8,9]),import.meta.url),__pages_import_6__=()=>__vitePreload(()=>import("./secret-DVpbvVhp.js"),__vite__mapDeps([12,2]),import.meta.url),__pages_import_7__=()=>__vitePreload(()=>import("./notice-CvCJnusr.js").then(xe=>xe.w),__vite__mapDeps([13,1,2,14]),import.meta.url),__pages_import_8__=()=>__vitePreload(()=>import("./menu-D-Mi8J_Q.js"),__vite__mapDeps([15,1]),import.meta.url),__pages_import_9__=()=>__vitePreload(()=>import("./cos-BkMP671c.js"),__vite__mapDeps([16,7,2]),import.meta.url),__pages_import_10__=()=>__vitePreload(()=>import("./baseConfiguration-BP1QaQoF.js"),__vite__mapDeps([17,1,2]),import.meta.url),__pages_import_11__=()=>__vitePreload(()=>import("./base-Bp8P0cPO.js"),__vite__mapDeps([18,1,2]),import.meta.url),__pages_import_12__=()=>__vitePreload(()=>import("./tencent-CqvvHHWH.js"),__vite__mapDeps([19,1,2]),import.meta.url),__pages_import_13__=()=>__vitePreload(()=>import("./localStorage-CScPrwoq.js"),__vite__mapDeps([20,1,2]),import.meta.url),__pages_import_14__=()=>__vitePreload(()=>import("./chevereto-MjauSghI.js"),__vite__mapDeps([21,1,2]),import.meta.url),__pages_import_15__=()=>__vitePreload(()=>import("./ali-CthEMzCz.js"),__vite__mapDeps([22,1,2]),import.meta.url),__pages_import_16__=()=>__vitePreload(()=>import("./violation-CpOLyc9r.js"),__vite__mapDeps([23,7,1,24,9,25,8,26]),import.meta.url),__pages_import_17__=()=>__vitePreload(()=>import("./custom-DUs2A6em.js"),__vite__mapDeps([27,7,1,24,8]),import.meta.url),__pages_import_18__=()=>__vitePreload(()=>import("./baiduSensitive-w44zgPld.js"),__vite__mapDeps([28,1,2]),import.meta.url),__pages_import_19__=()=>__vitePreload(()=>import("./autpReply-Bgd0Ar34.js"),__vite__mapDeps([29,7,1,8]),import.meta.url),__pages_import_20__=()=>__vitePreload(()=>import("./salesUser-D0a0Dv4C.js"),__vite__mapDeps([30,7,1,31]),import.meta.url),__pages_import_21__=()=>__vitePreload(()=>import("./records-DczDfo3x.js"),__vite__mapDeps([32,7,1,31]),import.meta.url),__pages_import_22__=()=>__vitePreload(()=>import("./order-DRnsEKPF.js"),__vite__mapDeps([33,7,1,31,8]),import.meta.url),__pages_import_23__=()=>__vitePreload(()=>import("./base-B8K1zB5w.js"),__vite__mapDeps([34,1,2]),import.meta.url),__pages_import_24__=()=>__vitePreload(()=>import("./setting-CxPu4I7s.js"),__vite__mapDeps([35,7,36]),import.meta.url),__pages_import_25__=()=>__vitePreload(()=>import("./edit.password-DSZwCxCa.js"),__vite__mapDeps([37,7,1,38,39]),import.meta.url),__pages_import_26__=()=>__vitePreload(()=>import("./wechat-DPXVY5uo.js"),__vite__mapDeps([40,1,2]),import.meta.url),__pages_import_27__=()=>__vitePreload(()=>import("./mpay-DRwpUtvc.js"),__vite__mapDeps([41,1,2]),import.meta.url),__pages_import_28__=()=>__vitePreload(()=>import("./ltzf-COGRrtpR.js"),__vite__mapDeps([42,1,2]),import.meta.url),__pages_import_29__=()=>__vitePreload(()=>import("./hupijiao-BqkX94iC.js"),__vite__mapDeps([43,1,2]),import.meta.url),__pages_import_30__=()=>__vitePreload(()=>import("./epay-ClQXvGry.js"),__vite__mapDeps([44,1,2]),import.meta.url),__pages_import_31__=()=>__vitePreload(()=>import("./points-BojjHWXH.js"),__vite__mapDeps([45,1,2]),import.meta.url),__pages_import_32__=()=>__vitePreload(()=>import("./package-BrV10YH2.js"),__vite__mapDeps([46,7,1,47,8,9]),import.meta.url),__pages_import_33__=()=>__vitePreload(()=>import("./crami-S-fLJ3WY.js"),__vite__mapDeps([48,7,1,47,8,9]),import.meta.url),__pages_import_34__=()=>__vitePreload(()=>import("./index-BQKCY3x4.js"),__vite__mapDeps([49,7,1,8,9,50]),import.meta.url),__pages_import_35__=()=>__vitePreload(()=>import("./systemapp-vjaiCdpw.js"),__vite__mapDeps([51,7,52]),import.meta.url),__pages_import_36__=()=>__vitePreload(()=>import("./proxy-D3dVBgtt.js"),__vite__mapDeps([53,7,2]),import.meta.url),__pages_import_37__=()=>__vitePreload(()=>import("./prompts-_C-RTIKZ.js"),__vite__mapDeps([54,7,55,56]),import.meta.url),__pages_import_38__=()=>__vitePreload(()=>import("./mind-Cfbn7Ry5.js"),__vite__mapDeps([57,7,2]),import.meta.url),__pages_import_39__=()=>__vitePreload(()=>import("./key-DCiaxDgO.js"),__vite__mapDeps([58,7,1,9,8]),import.meta.url),__pages_import_40__=()=>__vitePreload(()=>import("./interface-C0zsOKTH.js"),__vite__mapDeps([59,1,2]),import.meta.url),__pages_import_41__=()=>__vitePreload(()=>import("./index-DqVV3_P8.js"),__vite__mapDeps([60,7,2]),import.meta.url),__pages_import_42__=()=>__vitePreload(()=>import("./draw-C4wX6IZ0.js"),__vite__mapDeps([61,7,62,55,9,8,26]),import.meta.url),__pages_import_43__=()=>__vitePreload(()=>import("./logo-CSbn4ZlY.js"),__vite__mapDeps([63,7,2]),import.meta.url),__pages_import_44__=()=>__vitePreload(()=>import("./midjourney-Dw_s_JpY.js"),__vite__mapDeps([64,7,62,8,65]),import.meta.url),__pages_import_45__=()=>__vitePreload(()=>import("./draw-B9oSC571.js"),__vite__mapDeps([66,7,1,62,8,9,65]),import.meta.url),__pages_import_46__=()=>__vitePreload(()=>import("./chat-hU1m0TZ2.js"),__vite__mapDeps([67,7,1,62,9,25,26]),import.meta.url),__pages_import_47__=()=>__vitePreload(()=>import("./index-BvtGkCoY.js"),__vite__mapDeps([68,7,2]),import.meta.url),__pages_import_48__=()=>__vitePreload(()=>import("./visible-Cerzljbr.js"),__vite__mapDeps([69,1,2]),import.meta.url),__pages_import_49__=()=>__vitePreload(()=>import("./plugin-Cqknmgxh.js"),__vite__mapDeps([70,7,1,8]),import.meta.url),__pages_import_50__=()=>__vitePreload(()=>import("./pdf-D0scwBrA.js"),__vite__mapDeps([71,7,2]),import.meta.url),__pages_import_51__=()=>__vitePreload(()=>import("./classify-D_VHKxxX.js"),__vite__mapDeps([72,7,1,52,9,8]),import.meta.url),__pages_import_52__=()=>__vitePreload(()=>import("./application-C2I8CIsH.js"),__vite__mapDeps([73,7,1,52,9,8]),import.meta.url),__pages_import_53__=()=>__vitePreload(()=>import("./globalPre-CLwf_0ut.js"),__vite__mapDeps([74,7,2]),import.meta.url),__pages_import_54__=()=>__vitePreload(()=>import("./github-redirect-SzGxw1fr.js"),[],import.meta.url),__pages_import_55__=()=>__vitePreload(()=>import("./reload-B81v72ys.js"),[],import.meta.url),__pages_import_56__=()=>__vitePreload(()=>import("./login-gvFSAow7.js"),[],import.meta.url),__pages_import_58__=()=>__vitePreload(()=>import("./_...all_-BzKwStpT.js"),[],import.meta.url),routes$c=[{name:"users-wechat",path:"/users/wechat",component:__pages_import_0__,props:!0,meta:{title:"微信设置"}},{name:"users-register",path:"/users/register",component:__pages_import_1__,props:!0,meta:{title:"访问配置"}},{name:"users-phone",path:"/users/phone",component:__pages_import_2__,props:!0,meta:{title:"手机验证码配置"}},{name:"users",path:"/users",component:__pages_import_3__,props:!0,meta:{title:"用户管理"}},{name:"users-email",path:"/users/email",component:__pages_import_4__,props:!0,meta:{title:"邮件设置"}},{name:"users-accountLog",path:"/users/accountlog",component:__pages_import_5__,props:!0,meta:{title:"账户变更记录"}},{name:"system-secret",path:"/system/secret",component:__pages_import_6__,props:!0,meta:{title:"key设置"}},{name:"system-notice",path:"/system/notice",component:__pages_import_7__,props:!0,meta:{title:"公告设置"}},{name:"system-menu",path:"/system/menu",component:__pages_import_8__,props:!0,meta:{title:"动态菜单"}},{name:"system-cos",path:"/system/cos",component:__pages_import_9__,props:!0,meta:{title:"cos设置"}},{name:"system-baseConfiguration",path:"/system/baseconfiguration",component:__pages_import_10__,props:!0,meta:{title:"基础配置"}},{name:"system-base",path:"/system/base",component:__pages_import_11__,props:!0,meta:{title:"百度统计"}},{name:"storage-tencent",path:"/storage/tencent",component:__pages_import_12__,props:!0,meta:{title:"腾讯云cos设置"}},{name:"storage-localStorage",path:"/storage/localstorage",component:__pages_import_13__,props:!0,meta:{title:"本地存储配置"}},{name:"storage-chevereto",path:"/storage/chevereto",component:__pages_import_14__,props:!0,meta:{title:"Chevereto图床设置"}},{name:"storage-ali",path:"/storage/ali",component:__pages_import_15__,props:!0,meta:{title:"阿里云oss设置"}},{name:"sensitive-violation",path:"/sensitive/violation",component:__pages_import_16__,props:!0,meta:{title:"违规记录"}},{name:"sensitive-custom",path:"/sensitive/custom",component:__pages_import_17__,props:!0,meta:{title:"敏感词预设"}},{name:"sensitive-baiduSensitive",path:"/sensitive/baidusensitive",component:__pages_import_18__,props:!0,meta:{title:"百度云敏感词设置"}},{name:"sensitive-autpReply",path:"/sensitive/autpreply",component:__pages_import_19__,props:!0,meta:{title:"自定义回复预设"}},{name:"sales-salesUser",path:"/sales/salesuser",component:__pages_import_20__,props:!0,meta:{title:"分销佣金账户"}},{name:"sales-records",path:"/sales/records",component:__pages_import_21__,props:!0,meta:{title:"佣金分销明细"}},{name:"sales-order",path:"/sales/order",component:__pages_import_22__,props:!0,meta:{title:"key列表"}},{name:"sales-base",path:"/sales/base",component:__pages_import_23__,props:!0,meta:{title:"分销系统基础设置"}},{name:"personalSetting",path:"/personal/setting",component:__pages_import_24__,props:!0,meta:{title:"个人设置",cache:"personal-edit.password"}},{name:"personalEditPassword",path:"/personal/edit.password",component:__pages_import_25__,props:!0,meta:{title:"修改密码"}},{name:"pay-wechat",path:"/pay/wechat",component:__pages_import_26__,props:!0,meta:{title:"官方微信支付设置"}},{name:"pay-mpay",path:"/pay/mpay",component:__pages_import_27__,props:!0,meta:{title:"码支付设置"}},{name:"pay-ltzf",path:"/pay/ltzf",component:__pages_import_28__,props:!0,meta:{title:"蓝兔支付设置"}},{name:"pay-hupijiao",path:"/pay/hupijiao",component:__pages_import_29__,props:!0,meta:{title:"虎皮椒支付设置"}},{name:"pay-epay",path:"/pay/epay",component:__pages_import_30__,props:!0,meta:{title:"易支付设置"}},{name:"package-points",path:"/package/points",component:__pages_import_31__,props:!0,meta:{title:"积分显示"}},{name:"package-package",path:"/package/package",component:__pages_import_32__,props:!0,meta:{title:"卡券管理"}},{name:"package-crami",path:"/package/crami",component:__pages_import_33__,props:!0,meta:{title:"卡密管理"}},{name:"order",path:"/order",component:__pages_import_34__,props:!0,meta:{title:"对话管理"}},{name:"models-systemapp",path:"/models/systemapp",component:__pages_import_35__,props:!0,meta:{title:"系统应用管理"}},{name:"models-proxy",path:"/models/proxy",component:__pages_import_36__,props:!0,meta:{title:"MJ设置"}},{name:"models-prompts",path:"/models/prompts",component:__pages_import_37__,props:!0,meta:{title:"模型列表"}},{name:"models-mind",path:"/models/mind",component:__pages_import_38__,props:!0,meta:{title:"思维导图"}},{name:"models-key",path:"/models/key",component:__pages_import_39__,props:!0,meta:{title:"模型列表"}},{name:"models-interface",path:"/models/interface",component:__pages_import_40__,props:!0,meta:{title:"接口请求设置"}},{name:"mjDraw",path:"/mjdraw",component:__pages_import_41__,props:!0,meta:{title:"MJ设置"}},{name:"mjDraw-draw",path:"/mjdraw/draw",component:__pages_import_42__,props:!0,meta:{title:"key列表"}},{name:"client-logo",path:"/client/logo",component:__pages_import_43__,props:!0,meta:{title:"动态菜单"}},{name:"chat-midjourney",path:"/chat/midjourney",component:__pages_import_44__,props:!0,meta:{title:"MJ绘画管理"}},{name:"chat-draw",path:"/chat/draw",component:__pages_import_45__,props:!0,meta:{title:"绘画管理"}},{name:"chat-chat",path:"/chat/chat",component:__pages_import_46__,props:!0,meta:{title:"对话管理"}},{name:"basic",path:"/basic",component:__pages_import_47__,props:!0,meta:{title:"全局预设"}},{name:"app-visible",path:"/app/visible",component:__pages_import_48__,props:!0,meta:{title:"基础设置"}},{name:"app-plugin",path:"/app/plugin",component:__pages_import_49__,props:!0,meta:{title:"插件管理"}},{name:"app-pdf",path:"/app/pdf",component:__pages_import_50__,props:!0,meta:{title:"PDF 分析设置"}},{name:"app-classify",path:"/app/classify",component:__pages_import_51__,props:!0,meta:{title:"App分类管理"}},{name:"app-application",path:"/app/application",component:__pages_import_52__,props:!0,meta:{title:"应用管理"}},{name:"ai-globalPre",path:"/ai/globalpre",component:__pages_import_53__,props:!0,meta:{title:"全局设置"}},{name:"ai-github-redirect",path:"/ai/github-redirect",component:__pages_import_54__,props:!0},{name:"reload",path:"/reload",component:__pages_import_55__,props:!0},{name:"login",path:"/login",component:__pages_import_56__,props:!0,meta:{title:"登录",constant:!0,layout:!1}},{name:"home",path:"/",component:Home,props:!0,meta:{title:"主页"}},{name:"notFound",path:"/:all(.*)*",component:__pages_import_58__,props:!0,meta:{title:"找不到页面",constant:!0,layout:!1}}];function setupLayouts(xe){const $e={};Object.entries(Object.assign({"/src/layouts/components/AppSetting/index.vue":()=>__vitePreload(()=>import("./index-DH2af8kL.js"),__vite__mapDeps([75,76,77,78,79,80,81,82,83]),import.meta.url),"/src/layouts/components/BackTop/index.vue":()=>__vitePreload(()=>import("./index-KJICoTyc.js"),__vite__mapDeps([84,85]),import.meta.url),"/src/layouts/components/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-BhXahEts.js"),__vite__mapDeps([86,87]),import.meta.url),"/src/layouts/components/Breadcrumb/item.vue":()=>__vitePreload(()=>import("./item-_7iwIlqR.js"),__vite__mapDeps([88,89]),import.meta.url),"/src/layouts/components/Copyright/index.vue":()=>__vitePreload(()=>import("./index-eUqYFFt5.js"),__vite__mapDeps([90,91]),import.meta.url),"/src/layouts/components/Header/index.vue":()=>__vitePreload(()=>import("./index-BhbCyWce.js"),__vite__mapDeps([92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103]),import.meta.url),"/src/layouts/components/HotkeysIntro/index.vue":()=>__vitePreload(()=>import("./index-CdsDfwEH.js"),__vite__mapDeps([104,105,106,100]),import.meta.url),"/src/layouts/components/Logo/index.vue":()=>__vitePreload(()=>import("./index-DGBJFFlM.js"),__vite__mapDeps([107,93]),import.meta.url),"/src/layouts/components/MainSidebar/index.vue":()=>__vitePreload(()=>import("./index-BOGDNEcr.js"),__vite__mapDeps([108,93,102,109]),import.meta.url),"/src/layouts/components/Menu/index.vue":()=>__vitePreload(()=>import("./index-Bn8_v3Wu.js"),__vite__mapDeps([110,111,112,113,80]),import.meta.url),"/src/layouts/components/Menu/item.vue":()=>__vitePreload(()=>import("./item-pwpBMREM.js"),__vite__mapDeps([114,113,80]),import.meta.url),"/src/layouts/components/Menu/sub.vue":()=>__vitePreload(()=>import("./sub-BcJl5NGu.js"),__vite__mapDeps([115,112,113,80]),import.meta.url),"/src/layouts/components/Search/index.vue":()=>__vitePreload(()=>import("./index-W6VHFY0Q.js"),__vite__mapDeps([116,117,100,86,87,89]),import.meta.url),"/src/layouts/components/SubSidebar/index.vue":()=>__vitePreload(()=>import("./index-C2Ax2Tf1.js"),__vite__mapDeps([118,82,93,111,112,113,80,119]),import.meta.url),"/src/layouts/components/Topbar/Tabbar/index.vue":()=>__vitePreload(()=>import("./index-q7-SSFGZ.js"),__vite__mapDeps([120,82,38,121]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-CprVCdi5.js"),__vite__mapDeps([122,86,87,89,123]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue":()=>__vitePreload(()=>import("./index-B-IrUVnq.js"),__vite__mapDeps([124,96,97,81,79]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Fullscreen/index.vue":()=>__vitePreload(()=>import("./index-BxLVZRPz.js"),__vite__mapDeps([125,98,82]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/NavSearch/index.vue":()=>__vitePreload(()=>import("./index-BIBJqTOW.js"),__vite__mapDeps([126,99,100]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/PageReload/index.vue":()=>__vitePreload(()=>import("./index-CDYu2v-j.js"),__vite__mapDeps([127,101,38]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/index.vue":()=>__vitePreload(()=>import("./index-BGSS2M6V.js"),__vite__mapDeps([128,129,122,86,87,89,123,94,95,96,97,81,79,98,82,99,100,101,38,130]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/leftSide.vue":()=>__vitePreload(()=>import("./leftSide-CkmChX_A.js"),__vite__mapDeps([131,129,122,86,87,89,123]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/rightSide.vue":()=>__vitePreload(()=>import("./rightSide-DNWXJnoI.js"),__vite__mapDeps([132,94,95,96,97,81,79,98,82,99,100,101,38]),import.meta.url),"/src/layouts/components/Topbar/index.vue":()=>__vitePreload(()=>import("./index-g_KccFwY.js"),__vite__mapDeps([133,120,82,38,121,128,129,122,86,87,89,123,94,95,96,97,81,79,98,99,100,101,130,134]),import.meta.url),"/src/layouts/components/views/link.vue":()=>__vitePreload(()=>import("./link-Zl4a3VRf.js"),__vite__mapDeps([135,7,80,82,136]),import.meta.url),"/src/layouts/index.vue":()=>__vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url),"/src/layouts/ui-kit/HButton.vue":()=>__vitePreload(()=>import("./HButton-BqWGq2ru.js"),[],import.meta.url),"/src/layouts/ui-kit/HCheckList.vue":()=>__vitePreload(()=>import("./HCheckList-CHru1RVX.js"),__vite__mapDeps([139,77]),import.meta.url),"/src/layouts/ui-kit/HDialog.vue":()=>__vitePreload(()=>import("./HDialog-BSLIfyaj.js"),__vite__mapDeps([140,106]),import.meta.url),"/src/layouts/ui-kit/HDropdown.vue":()=>__vitePreload(()=>import("./HDropdown-BtjElhzu.js"),[],import.meta.url),"/src/layouts/ui-kit/HDropdownMenu.vue":()=>__vitePreload(()=>import("./HDropdownMenu-geTVfmOY.js"),__vite__mapDeps([141,95]),import.meta.url),"/src/layouts/ui-kit/HInput.vue":()=>__vitePreload(()=>import("./HInput-DPjGv0jU.js"),__vite__mapDeps([142,76]),import.meta.url),"/src/layouts/ui-kit/HKbd.vue":()=>__vitePreload(()=>import("./HKbd-ajmXhnhP.js"),[],import.meta.url),"/src/layouts/ui-kit/HSelect.vue":()=>__vitePreload(()=>import("./HSelect-BCkm_fJ7.js"),[],import.meta.url),"/src/layouts/ui-kit/HSlideover.vue":()=>__vitePreload(()=>import("./HSlideover-D8Tv9jj5.js"),[],import.meta.url),"/src/layouts/ui-kit/HTabList.vue":()=>__vitePreload(()=>import("./HTabList-DhWbaN9B.js"),__vite__mapDeps([143,81,79]),import.meta.url),"/src/layouts/ui-kit/HToggle.vue":()=>__vitePreload(()=>import("./HToggle-CTYtfOdh.js"),__vite__mapDeps([144,78,79]),import.meta.url),"/src/layouts/ui-kit/HTooltip.vue":()=>__vitePreload(()=>import("./HTooltip-Bxw045P4.js"),__vite__mapDeps([145,80]),import.meta.url)})).forEach(([Ue,qe])=>{let At=Ue.replace("/src/layouts/","").replace(".vue","");$e[At]=qe});function Fe(Ue,qe=!0){return Ue.map(At=>{var Dt,Lt,jt,hn,vn;return((Dt=At.children)==null?void 0:Dt.length)>0&&(At.children=Fe(At.children,!1)),qe&&((Lt=At.meta)==null?void 0:Lt.layout)!==!1?{path:At.path,component:$e[((jt=At.meta)==null?void 0:jt.layout)||"index"],children:At.path==="/"?[At]:[{...At,path:""}],meta:{isLayout:!0}}:(hn=At.meta)!=null&&hn.layout?{path:At.path,component:$e[(vn=At.meta)==null?void 0:vn.layout],children:[{...At,path:""}],meta:{isLayout:!0}}:At})}return Fe(xe)}function Layout$a(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$b={path:"/chat",component:Layout$a,redirect:"/chat/chat",name:"chatMenu",meta:{title:"数据管理",icon:"majesticons:data-line"},children:[{path:"dashboard",name:"dashboardMenu",component:()=>__vitePreload(()=>import("./index-Rn5VD-Vw.js"),__vite__mapDeps([6,7,1,8,9]),import.meta.url),meta:{title:"用户信息",icon:"fa6-solid:list-ul"}},{path:"list",name:"chatMenuList",component:()=>__vitePreload(()=>import("./chat-hU1m0TZ2.js"),__vite__mapDeps([67,7,1,62,9,25,26]),import.meta.url),meta:{title:"对话记录",icon:"material-symbols-light:chat-outline"}},{path:"draw",name:"drawMenuList",component:()=>__vitePreload(()=>import("./draw-B9oSC571.js"),__vite__mapDeps([66,7,1,62,8,9,65]),import.meta.url),meta:{title:"绘画记录",icon:"material-symbols:draw-outline"}}]};function Layout$9(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$a={path:"/package",component:Layout$9,redirect:"/package/list",name:"packageMenu",meta:{title:"套餐管理",icon:"icon-park-outline:buy"},children:[{path:"order-list",name:"OrderMenuList",component:()=>__vitePreload(()=>import("./index-BQKCY3x4.js"),__vite__mapDeps([49,7,1,8,9,50]),import.meta.url),meta:{title:"订单列表",icon:"lets-icons:order"}},{path:"account-log",name:"AccountLogMenu",component:()=>__vitePreload(()=>import("./accountLog-Bv2zJ5xz.js"),__vite__mapDeps([11,7,1,8,9]),import.meta.url),meta:{title:"账户明细",icon:"carbon:account"}},{path:"list",name:"packageMenuList",component:()=>__vitePreload(()=>import("./package-BrV10YH2.js"),__vite__mapDeps([46,7,1,47,8,9]),import.meta.url),meta:{title:"套餐设置",icon:"icon-park-outline:commodity"}},{path:"crami",name:"cramiMenuList",component:()=>__vitePreload(()=>import("./crami-S-fLJ3WY.js"),__vite__mapDeps([48,7,1,47,8,9]),import.meta.url),meta:{title:"卡密管理",icon:"solar:passport-broken"}}]};function Layout$8(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$9={path:"/sales",component:Layout$8,redirect:"/sales/config",name:"SalesMenu",meta:{title:"分销管理",icon:"mdi:cart-sale"},children:[{path:"config",name:"SalesBaseManage",component:()=>__vitePreload(()=>import("./base-B8K1zB5w.js"),__vite__mapDeps([34,1,2]),import.meta.url),meta:{title:"基础分销配置",icon:"mdi:sale-outline"}},{path:"salesUser",name:"SalesUserManage",component:()=>__vitePreload(()=>import("./salesUser-D0a0Dv4C.js"),__vite__mapDeps([30,7,1,31]),import.meta.url),meta:{title:"佣金账户列表",icon:"tdesign:money"}},{path:"records",name:"SalesRecoredManage",component:()=>__vitePreload(()=>import("./records-DczDfo3x.js"),__vite__mapDeps([32,7,1,31]),import.meta.url),meta:{title:"佣金分销明细",icon:"ep:money"}},{path:"order",name:"SalesOrderManage",component:()=>__vitePreload(()=>import("./order-DRnsEKPF.js"),__vite__mapDeps([33,7,1,31,8]),import.meta.url),meta:{title:"提现工单管理",icon:"mdi:order-bool-descending-variant"}}]};function Layout$7(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$8={path:"/user",component:Layout$7,redirect:"/user/dashboard",name:"userMenu",meta:{title:"访问管理",icon:"mdi:user-outline"},children:[{path:"register",name:"systemMenuRegister",component:()=>__vitePreload(()=>import("./register-CnkVQnVg.js"),__vite__mapDeps([3,1,2,4]),import.meta.url),meta:{title:"访问配置",icon:"hugeicons:access"}},{path:"email",name:"systemMenuEmail",component:()=>__vitePreload(()=>import("./email-DZS2Vv6k.js"),__vite__mapDeps([10,1,2]),import.meta.url),meta:{title:"邮件登录配置",icon:"material-symbols:mail-outline"}},{path:"wechat",name:"systemMenuWechat",component:()=>__vitePreload(()=>import("./wechat-CZwjwtAA.js"),__vite__mapDeps([0,1,2]),import.meta.url),meta:{title:"微信登录配置",icon:"la:weixin"}},{path:"ali-phone",name:"AliPhoneMenu",component:()=>__vitePreload(()=>import("./phone-BhpR_O8Z.js"),__vite__mapDeps([5,1,2]),import.meta.url),meta:{title:"短信登录配置",icon:"tabler:message"}}]};function Layout$6(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$7={path:"/app",component:Layout$6,redirect:"/app/classify",name:"AppMenu",meta:{title:"插件应用",icon:"tdesign:app"},children:[{path:"visible",name:"VisibleMenu",component:()=>__vitePreload(()=>import("./visible-Cerzljbr.js"),__vite__mapDeps([69,1,2]),import.meta.url),meta:{title:"基础设置",icon:"tdesign:setting"}},{path:"pluginmenu",name:"PluginMenu",component:()=>__vitePreload(()=>import("./plugin-Cqknmgxh.js"),__vite__mapDeps([70,7,1,8]),import.meta.url),meta:{title:"插件列表",icon:"mingcute:plugin-2-line"}},{path:"classify",name:"AppMenuClassify",component:()=>__vitePreload(()=>import("./classify-D_VHKxxX.js"),__vite__mapDeps([72,7,1,52,9,8]),import.meta.url),meta:{title:"分类列表",icon:"ph:list-fill"}},{path:"application",name:"Application",component:()=>__vitePreload(()=>import("./application-C2I8CIsH.js"),__vite__mapDeps([73,7,1,52,9,8]),import.meta.url),meta:{title:"应用列表",icon:"clarity:vmw-app-line"}}]};function Layout$5(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$6={path:"/system",component:Layout$5,redirect:"/system/base",name:"systemMenu",meta:{title:"系统管理",icon:"tdesign:system-2"},children:[{path:"base-configuration",name:"ClientBaseConfig",component:()=>__vitePreload(()=>import("./baseConfiguration-BP1QaQoF.js"),__vite__mapDeps([17,1,2]),import.meta.url),meta:{title:"基础配置",icon:"uil:setting"}},{path:"menu",name:"ClientMenuConfig",component:()=>__vitePreload(()=>import("./menu-D-Mi8J_Q.js"),__vite__mapDeps([15,1]),import.meta.url),meta:{title:"动态菜单",icon:"gg:menu-grid-r"}},{path:"points",name:"PointsDisplay",component:()=>__vitePreload(()=>import("./points-BojjHWXH.js"),__vite__mapDeps([45,1,2]),import.meta.url),meta:{title:"显示设置",icon:"mdi:show-outline"}},{path:"notice",name:"systemMenuNotice",component:()=>__vitePreload(()=>import("./notice-CvCJnusr.js").then(xe=>xe.w),__vite__mapDeps([13,1,2,14]),import.meta.url),meta:{title:"公告设置",icon:"mdi:notice-board"}},{path:"baidu",name:"systemMenuBase",component:()=>__vitePreload(()=>import("./base-Bp8P0cPO.js"),__vite__mapDeps([18,1,2]),import.meta.url),meta:{title:"统计设置",icon:"wpf:statistics"}}]};function Layout$4(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$5={path:"/ai",component:Layout$4,redirect:"/ai/chat-key-list",name:"AiMenu",meta:{title:"模型管理",icon:"hugeicons:ai-book"},children:[{path:"model",name:"AiMenuInterface",component:()=>__vitePreload(()=>import("./interface-C0zsOKTH.js"),__vite__mapDeps([59,1,2]),import.meta.url),meta:{title:"全局配置",icon:"tabler:box-model"}},{path:"keys",name:"AiMenuKeys",component:()=>__vitePreload(()=>import("./key-DCiaxDgO.js"),__vite__mapDeps([58,7,1,9,8]),import.meta.url),meta:{title:"模型设置",icon:"ph:open-ai-logo-light"}}]};function Layout$3(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$4={path:"/others",component:Layout$3,name:"othersMenu",meta:{title:"其他设置",icon:"material-symbols:history"},children:[{path:"Midjourney",name:"Midjourney",component:()=>__vitePreload(()=>import("./proxy-D3dVBgtt.js"),__vite__mapDeps([53,7,2]),import.meta.url),meta:{title:"MJ绘画设置",icon:"fluent:draw-image-20-regular"},children:[{path:"proxy",name:"mjProxyManage",component:()=>__vitePreload(()=>import("./proxy-D3dVBgtt.js"),__vite__mapDeps([53,7,2]),import.meta.url),meta:{title:"绘画设置",icon:"fluent:draw-image-24-regular"}},{path:"midjourney",name:"MjMenuList",component:()=>__vitePreload(()=>import("./midjourney-Dw_s_JpY.js"),__vite__mapDeps([64,7,62,8,65]),import.meta.url),meta:{title:"绘画管理",icon:"mingcute:pic-line"}},{path:"mjdraw",name:"mjDrawManage",component:()=>__vitePreload(()=>import("./draw-C4wX6IZ0.js"),__vite__mapDeps([61,7,62,55,9,8,26]),import.meta.url),meta:{title:"绘图历史",icon:"material-symbols:history"}}]},{path:"prompts",name:"mjPromptsManage",component:()=>__vitePreload(()=>import("./prompts-_C-RTIKZ.js"),__vite__mapDeps([54,7,55,56]),import.meta.url),meta:{title:"提示词预设",icon:"mdi:tag-text-outline"},children:[]},{path:"mind",name:"systemMenuMind",component:()=>__vitePreload(()=>import("./mind-Cfbn7Ry5.js"),__vite__mapDeps([57,7,2]),import.meta.url),meta:{title:"思维导图",icon:"icon-park-outline:mindmap-map"}},{path:"systemapp-list",name:"systemAppList",component:()=>__vitePreload(()=>import("./systemapp-vjaiCdpw.js"),__vite__mapDeps([51,7,52]),import.meta.url),meta:{title:"系统应用",icon:"grommet-icons:system"}}]};function Layout$2(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$3={path:"/pay",component:Layout$2,redirect:"/pay/hupijiao",name:"PayMenu",meta:{title:"支付管理",icon:"mingcute:card-pay-line"},children:[{path:"wechat",name:"WechatConfig",component:()=>__vitePreload(()=>import("./wechat-DPXVY5uo.js"),__vite__mapDeps([40,1,2]),import.meta.url),meta:{title:"微信支付",icon:"ic:baseline-wechat"}},{path:"epay",name:"EpayConfig",component:()=>__vitePreload(()=>import("./epay-ClQXvGry.js"),__vite__mapDeps([44,1,2]),import.meta.url),meta:{title:"易支付",icon:"uiw:pay"}},{path:"mpay",name:"MpayConfig",component:()=>__vitePreload(()=>import("./mpay-DRwpUtvc.js"),__vite__mapDeps([41,1,2]),import.meta.url),meta:{title:"码支付",icon:"ant-design:pay-circle-outlined"}},{path:"hupi",name:"HupioConfig",component:()=>__vitePreload(()=>import("./hupijiao-BqkX94iC.js"),__vite__mapDeps([43,1,2]),import.meta.url),meta:{title:"虎皮椒支付",icon:"token:pay"}},{path:"ltzf",name:"LtzfConfig",component:()=>__vitePreload(()=>import("./ltzf-COGRrtpR.js"),__vite__mapDeps([42,1,2]),import.meta.url),meta:{title:"蓝兔支付",icon:"ph:rabbit"}}]},routes$2={path:"/github",component:()=>__vitePreload(()=>import("./github-redirect-SzGxw1fr.js"),[],import.meta.url),name:"ProjectAddressMenu",meta:{title:"开源地址",icon:"mdi:github"}};function Layout$1(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes$1={path:"/secure",component:Layout$1,redirect:"/secure/sensitive-baidu",name:"SecureMenu",meta:{title:"风控管理",icon:"ri:secure-payment-line"},children:[{path:"sensitive-violation",name:"SensitiveViolationLog",component:()=>__vitePreload(()=>import("./violation-CpOLyc9r.js"),__vite__mapDeps([23,7,1,24,9,25,8,26]),import.meta.url),meta:{title:"违规检测记录",icon:"tabler:ban"}},{path:"sensitive-baidu",name:"SensitiveBaiduyun",component:()=>__vitePreload(()=>import("./baiduSensitive-w44zgPld.js"),__vite__mapDeps([28,1,2]),import.meta.url),meta:{title:"百度云敏感词",icon:"ri:baidu-line"}},{path:"sensitive-custom",name:"SensitiveCuston",component:()=>__vitePreload(()=>import("./custom-DUs2A6em.js"),__vite__mapDeps([27,7,1,24,8]),import.meta.url),meta:{title:"自定义敏感词",icon:"carbon:word-cloud"}}]};function Layout(){return __vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url)}const routes={path:"/storage",component:Layout,redirect:"/storage/config",name:"StorageMenu",meta:{title:"存储配置",icon:"mingcute:storage-line"},children:[{path:"tencent",name:"StorageTencent",component:()=>__vitePreload(()=>import("./tencent-CqvvHHWH.js"),__vite__mapDeps([19,1,2]),import.meta.url),meta:{title:"腾讯云COS",icon:"teenyicons:cost-estimate-outline"}},{path:"ali",name:"StorageAli",component:()=>__vitePreload(()=>import("./ali-CthEMzCz.js"),__vite__mapDeps([22,1,2]),import.meta.url),meta:{title:"阿里云OSS",icon:"material-symbols:home-storage-outline"}},{path:"chevereto",name:"StorageChevereto",component:()=>__vitePreload(()=>import("./chevereto-MjauSghI.js"),__vite__mapDeps([21,1,2]),import.meta.url),meta:{title:"chevereto图床",icon:"material-symbols:image-outline"}}]},constantRoutes=[{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./login-gvFSAow7.js"),[],import.meta.url),meta:{title:"登录"}},{path:"/:all(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./_...all_-BzKwStpT.js"),[],import.meta.url),meta:{title:"找不到页面"}}],systemRoutes=[{path:"/",component:()=>__vitePreload(()=>import("./index-TB5FFREB.js"),__vite__mapDeps([137,92,93,94,95,96,97,81,79,98,82,99,100,101,38,102,103,108,109,118,111,112,113,80,119,133,120,121,128,129,122,86,87,89,123,130,134,117,105,106,135,7,136,90,91,85,138,83]),import.meta.url),meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1},children:[{path:"",name:"home",component:Home,meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1}},{path:"reload",name:"reload",component:()=>__vitePreload(()=>import("./reload-B81v72ys.js"),[],import.meta.url),meta:{title:"重新加载",breadcrumb:!1}},{path:"setting",name:"personalSetting",component:()=>__vitePreload(()=>import("./setting-CxPu4I7s.js"),__vite__mapDeps([35,7,36]),import.meta.url),meta:{title:"个人设置",cache:"personalEditPassword"}},{path:"edit/password",name:"personalEditPassword",component:()=>__vitePreload(()=>import("./edit.password-DSZwCxCa.js"),__vite__mapDeps([37,7,1,38,39]),import.meta.url),meta:{title:"修改密码"}}]}],asyncRoutes=[{children:[routes$6,routes$8,routes$5,routes$b,routes$7,routes$1,routes,routes$a,routes$3,routes$9,routes$4,routes$2]}],constantRoutesByFilesystem=routes$c.filter(xe=>{var $e,Ie;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)===!0}),asyncRoutesByFilesystem=setupLayouts(routes$c.filter(xe=>{var $e,Ie,Fe;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)!==!0&&((Fe=xe.meta)==null?void 0:Fe.layout)!==!1}));function validateProjectAddressMenu(xe){if(!xe.find(Ue=>{var qe;return(qe=Ue.children)==null?void 0:qe.includes(routes$2)}))return!1;const Ie=routes$2.path,Fe=routes$2.component;return!(!Ie||typeof Ie!="string"||!Fe||typeof Fe!="function")}if(!validateProjectAddressMenu(asyncRoutes))throw document.body.innerHTML="

    ",new Error("");const useRouteStore=defineStore("route",()=>{const xe=useSettingsStore(),$e=ref(!1),Ie=ref([]),Fe=ref([]),Ue=ref([]);function qe(Cn){var Sn,xn,En,Tn;return Cn.children&&(Cn.children=At(Cn.children,[{path:Cn.path,title:(Sn=Cn.meta)==null?void 0:Sn.title,icon:(xn=Cn.meta)==null?void 0:xn.icon,hide:!((En=Cn.meta)!=null&&En.breadcrumb)&&((Tn=Cn.meta)==null?void 0:Tn.breadcrumb)===!1}],Cn.path)),Cn}function At(Cn,Sn=[],xn=""){const En=[];return Cn.forEach(Tn=>{var An,$n,Pn,Nn,Mn,In,On,Rn;if(Tn.children){const Bn=resolveRoutePath(xn,Tn.path),Vn=cloneDeep(Sn);Vn.push({path:Bn,title:(An=Tn.meta)==null?void 0:An.title,icon:($n=Tn.meta)==null?void 0:$n.icon,hide:!((Pn=Tn.meta)!=null&&Pn.breadcrumb)&&((Nn=Tn.meta)==null?void 0:Nn.breadcrumb)===!1});const Ln=cloneDeep(Tn);Ln.path=Bn,Ln.meta||(Ln.meta={}),Ln.meta.breadcrumbNeste=Vn,delete Ln.children,En.push(Ln),At(Tn.children,Vn,Bn).forEach(Hn=>{En.some(Fn=>Fn.path===Hn.path)?En.forEach((Fn,zn)=>{Fn.path===Hn.path&&(En[zn]=Hn)}):En.push(Hn)})}else{const Bn=cloneDeep(Tn);Bn.path=resolveRoutePath(xn,Bn.path);const Vn=cloneDeep(Sn);Vn.push({path:Bn.path,title:(Mn=Bn.meta)==null?void 0:Mn.title,icon:(In=Bn.meta)==null?void 0:In.icon,hide:!((On=Bn.meta)!=null&&On.breadcrumb)&&((Rn=Bn.meta)==null?void 0:Rn.breadcrumb)===!1}),Bn.meta||(Bn.meta={}),Bn.meta.breadcrumbNeste=Vn,En.push(Bn)}}),En}const Dt=computed(()=>{const Cn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Ie.value&&(Ie.value.forEach(Sn=>{const xn=cloneDeep(Sn.children);xn.map(En=>{var Tn,An;return En.meta||(En.meta={}),En.meta.auth=((Tn=Sn.meta)==null?void 0:Tn.auth)??((An=En.meta)==null?void 0:An.auth),En}),Cn.push(...xn)}),Cn.forEach(Sn=>qe(Sn))):Cn.push(...cloneDeep(Fe.value)),Cn}),Lt=computed(()=>{const Cn=[...systemRoutes];return Cn.forEach(Sn=>qe(Sn)),Cn});let jt=!1;function hn(Cn){return Cn.forEach(Sn=>{Sn.children=vn(Sn.children)}),jt&&console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性'),Cn}function vn(Cn){return Cn&&Cn.forEach(Sn=>{var xn;typeof((xn=Sn.meta)==null?void 0:xn.sidebar)=="boolean"&&(jt=!0,Sn.meta.menu=Sn.meta.sidebar,delete Sn.meta.sidebar),Sn.children&&vn(Sn.children)}),Cn}function bn(Cn){Ie.value=hn(cloneDeep(Cn)),$e.value=!0}function _n(Cn){Fe.value=cloneDeep(Cn),$e.value=!0}function wn(Cn){Ue.value=Cn}function kn(){$e.value=!1,Ie.value=[],Fe.value=[],Ue.value.forEach(Cn=>{Cn()}),Ue.value=[]}return{isGenerate:$e,routesRaw:Ie,currentRemoveRoutes:Ue,flatRoutes:Dt,flatSystemRoutes:Lt,generateRoutesAtFront:bn,generateRoutesAtFilesystem:_n,setCurrentRemoveRoutes:wn,removeRoutes:kn}}),useMenuStore=defineStore("menu",()=>{const xe=useSettingsStore(),$e=useUserStore$1(),Ie=useRouteStore(),Fe=ref([]),Ue=ref(0);function qe(Sn){const xn=[];return Sn.forEach(En=>{var Tn,An,$n;if(xe.settings.menu.menuMode==="single")xn.length===0&&xn.push({meta:{},children:[]}),xn[0].children.push(...At(En.children));else{const Pn={meta:{title:(Tn=En==null?void 0:En.meta)==null?void 0:Tn.title,icon:(An=En==null?void 0:En.meta)==null?void 0:An.icon,auth:($n=En==null?void 0:En.meta)==null?void 0:$n.auth},children:[]};Pn.children=At(En.children),xn.push(Pn)}}),xn}function At(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var $n,Pn,Nn,Mn,In,On;const An={path:resolveRoutePath(xn,Tn.path),meta:{title:($n=Tn==null?void 0:Tn.meta)==null?void 0:$n.title,icon:(Pn=Tn==null?void 0:Tn.meta)==null?void 0:Pn.icon,defaultOpened:(Nn=Tn==null?void 0:Tn.meta)==null?void 0:Nn.defaultOpened,auth:(Mn=Tn==null?void 0:Tn.meta)==null?void 0:Mn.auth,menu:(In=Tn==null?void 0:Tn.meta)==null?void 0:In.menu,link:(On=Tn==null?void 0:Tn.meta)==null?void 0:On.link}};Tn.children&&(An.children=At(Tn.children,An.path)),En.push(An)}),En}const Dt=computed(()=>{let Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Sn=qe(Ie.routesRaw):Sn=Fe.value,xe.settings.app.enablePermission&&(Sn=wn(Sn,$e.permissions)),Sn}),Lt=computed(()=>Dt.value.length>0?Dt.value.length>1?Dt.value[Ue.value].children:Dt.value[0].children:[]),jt=computed(()=>Lt.value.length>0?hn(Lt.value[0]):xe.settings.home.fullPath);function hn(Sn,xn=""){let En="";if(Sn.children){const Tn=Sn.children.find(An=>{var $n;return(($n=An.meta)==null?void 0:$n.menu)!==!1});Tn?En=hn(Tn,resolveRoutePath(xn,Sn.path)):En=hn(Sn.children[0],resolveRoutePath(xn,Sn.path))}else En=resolveRoutePath(xn,Sn.path);return En}const vn=computed(()=>{const Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"&&Dt.value.forEach(xn=>{Sn.push(...bn(xn.children))}),Sn});function bn(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var An;if((An=Tn.meta)!=null&&An.defaultOpened&&Tn.children){En.push(resolveRoutePath(xn,Tn.path));const $n=bn(Tn.children,resolveRoutePath(xn,Tn.path));$n.length>0&&En.push(...$n)}}),En}function _n(Sn,xn){var Tn;let En=!1;return(Tn=xn.meta)!=null&&Tn.auth?En=Sn.some(An=>{var $n,Pn;return typeof(($n=xn.meta)==null?void 0:$n.auth)=="string"?xn.meta.auth!==""?xn.meta.auth===An:!0:typeof((Pn=xn.meta)==null?void 0:Pn.auth)=="object"?xn.meta.auth.length>0?xn.meta.auth.includes(An):!0:!1}):En=!0,En}function wn(Sn,xn){const En=[];return Sn.forEach(Tn=>{if(_n(xn,Tn)){const An=cloneDeep(Tn);An.children&&An.children.length>0?(An.children=wn(An.children,xn),An.children.length>0&&En.push(An)):(delete An.children,En.push(An))}}),En}async function kn(){Fe.value=menu.filter(Sn=>Sn.children.length!==0)}function Cn(Sn){if(typeof Sn=="number")Ue.value=Sn;else{const xn=Dt.value.findIndex(En=>En.children.some(Tn=>Sn.indexOf(`${Tn.path}/`)===0||Sn===Tn.path));xn>=0&&(Ue.value=xn)}}return{actived:Ue,allMenus:Dt,sidebarMenus:Lt,sidebarMenusFirstDeepestPath:jt,defaultOpenedPaths:vn,generateMenusAtFront:kn,setActived:Cn}}),{isLoading}=useNProgress(),router=createRouter({history:createWebHashHistory(""),routes:useSettingsStore(pinia).settings.app.routeBaseOn==="filesystem"?constantRoutesByFilesystem:constantRoutes});router.beforeEach(async(xe,$e,Ie)=>{const Fe=useSettingsStore(),Ue=useUserStore$1(),qe=useRouteStore(),At=useMenuStore();if(Fe.settings.app.enableProgress&&(isLoading.value=!0),Ue.isLogin)if(qe.isGenerate)Fe.settings.menu.menuMode!=="single"&&At.setActived(xe.path),xe.name==="login"?Ie({path:Fe.settings.home.fullPath,replace:!0}):!Fe.settings.home.enable&&xe.fullPath===Fe.settings.home.fullPath&&At.sidebarMenus.length>0?Ie({path:At.sidebarMenusFirstDeepestPath,replace:!0}):Ie();else{switch(Fe.settings.app.enablePermission&&await Ue.getPermissions(),Fe.settings.app.routeBaseOn){case"frontend":qe.generateRoutesAtFront(asyncRoutes);break;case"filesystem":switch(qe.generateRoutesAtFilesystem(asyncRoutesByFilesystem),Fe.settings.menu.baseOn){case"frontend":At.generateMenusAtFront();break}break}const Dt=[];qe.flatRoutes.forEach(Lt=>{/^(?:https?:|mailto:|tel:)/.test(Lt.path)||Dt.push(router.addRoute(Lt))}),Fe.settings.app.routeBaseOn!=="filesystem"&&qe.flatSystemRoutes.forEach(Lt=>{Dt.push(router.addRoute(Lt))}),qe.setCurrentRemoveRoutes(Dt),Ie({path:xe.path,query:xe.query,replace:!0})}else xe.name!=="login"?Ie({name:"login",query:{redirect:xe.fullPath!==Fe.settings.home.fullPath?xe.fullPath:void 0}}):Ie()});router.afterEach((xe,$e)=>{var Ue,qe,At,Dt,Lt,jt;const Ie=useSettingsStore(),Fe=useKeepAliveStore();if(Ie.settings.app.enableProgress&&(isLoading.value=!1),Ie.settings.app.routeBaseOn!=="filesystem"?Ie.setTitle(((qe=(Ue=xe.meta.breadcrumbNeste)==null?void 0:Ue.at(-1))==null?void 0:qe.title)??xe.meta.title):Ie.setTitle(xe.meta.title),xe.meta.cache){const hn=(Dt=(At=xe.matched.at(-1))==null?void 0:At.components)==null?void 0:Dt.default.name;hn?Fe.add(hn):console.warn("[Fantastic-admin] 该页面组件未设置组件名,会导致缓存失效,请检查")}if($e.meta.cache){const hn=(jt=(Lt=$e.matched.at(-1))==null?void 0:Lt.components)==null?void 0:jt.default.name;if(hn){switch(typeof $e.meta.cache){case"string":$e.meta.cache!==xe.name&&Fe.remove(hn);break;case"object":$e.meta.cache.includes(xe.name)||Fe.remove(hn);break}if($e.meta.noCache)switch(typeof $e.meta.noCache){case"string":$e.meta.noCache===xe.name&&Fe.remove(hn);break;case"object":$e.meta.noCache.includes(xe.name)&&Fe.remove(hn);break}xe.name==="reload"&&Fe.remove(hn)}}document.documentElement.scrollTop=0});const api=axios.create({baseURL:"/api",timeout:1e3*60,responseType:"json"});api.interceptors.request.use(xe=>{const $e=useUserStore$1();return $e.isLogin&&xe.headers&&(xe.headers.Authorization=$e.token?`Bearer ${$e.token}`:""),xe.method,xe});api.interceptors.response.use(xe=>Promise.resolve(xe.data),xe=>{let $e="";if(xe!=null&&xe.response){const{data:Ie,status:Fe}=xe.response;Fe===401&&($e="权限验证失败,请重新登录",Ie.code===401&&Ie.message.includes("请登录后继续操作")&&useUserStore$1().logout().then(()=>{router.push({name:"login"})}));const{message:Ue,code:qe}=Ie;Ue&&($e=Ue)}else $e="接口请求异常,请稍后再试";return ElMessage({message:$e,type:"error"}),Promise.reject(xe)});const ApiUsre={login:xe=>api.post("auth/login",xe),permission:()=>api.get("auth/getInfo"),getInfo:()=>api.get("auth/getInfo"),queryAllUser:xe=>api.get("user/queryAll",{params:xe}),updateUserStatus:xe=>api.post("user/updateStatus",xe),resetUserPassword:xe=>api.post("user/resetUserPass",xe),sendUserCrami:xe=>api.post("user/recharge",xe),passwordEdit:xe=>api.post("auth/updatePassword",xe)},useUserStore=defineStore("user",()=>{const xe=useRouteStore(),$e=useMenuStore(),Ie=ref(""),Fe=ref(localStorage.username??""),Ue=ref(localStorage.token??""),qe=ref(localStorage.failure_time??""),At=ref([]),Dt=computed(()=>Ue.value);async function Lt(_n){const wn=await ApiUsre.login(_n);localStorage.setItem("token",wn.data),Ue.value=wn.data,await hn()}async function jt(){localStorage.removeItem("username"),localStorage.removeItem("token"),localStorage.removeItem("failure_time"),Fe.value="",Ue.value="",qe.value="",xe.removeRoutes(),$e.setActived(0),router.push({name:"login"})}async function hn(){const _n=await ApiUsre.getInfo(),{userInfo:wn}=_n.data;localStorage.setItem("username",wn.username);const{role:kn}=wn;Fe.value=wn.username,Ie.value=wn.avatar,["admin","super"].includes(kn)||(ElMessage.error("您没有权限访问该系统!!!"),await jt())}async function vn(){const _n=await ApiUsre.permission(),{userInfo:wn}=_n.data,{username:kn}=wn;return localStorage.setItem("username",kn),Fe.value=kn,At.value=["permission.browse","permission.create","permission.edit","permission.remove"],At.value}async function bn(_n){await ApiUsre.passwordEdit(_n)}return{username:Fe,token:Ue,permissions:At,isLogin:Dt,avatar:Ie,login:Lt,logout:jt,getInfo:hn,getPermissions:vn,editPassword:bn}}),useUserStore$1=useUserStore;function useAuth(){function xe(Fe){const Ue=useSettingsStore(),qe=useUserStore$1();return Ue.settings.app.enablePermission?qe.permissions.includes(Fe):!0}function $e(Fe){let Ue;return typeof Fe=="string"?Ue=Fe!==""?xe(Fe):!0:Ue=Fe.length>0?Fe.some(qe=>xe(qe)):!0,Ue}function Ie(Fe){return Fe.length>0?Fe.every(Ue=>xe(Ue)):!0}return{auth:$e,authAll:Ie}}const _sfc_main=defineComponent({__name:"App",setup(xe){const $e=useRoute(),Ie=useSettingsStore(),{auth:Fe}=useAuth(),Ue=computed(()=>$e.matched.every(Dt=>Fe(Dt.meta.auth??""))),qe=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-main-sidebar-width"));return(Ie.settings.menu.menuMode==="single"||Ie.settings.menu.menuMode==="head"&&Ie.mode!=="mobile")&&(Dt=0),`${Dt}px`}),At=computed(()=>{let Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-width"));return Ie.settings.menu.subMenuCollapse&&Ie.mode!=="mobile"&&(Dt=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--g-sub-sidebar-collapse-width"))),`${Dt}px`});return watch([()=>Ie.settings.app.enableDynamicTitle,()=>Ie.title],()=>{if(Ie.settings.app.enableDynamicTitle&&Ie.title){const Dt=typeof Ie.title=="function"?Ie.title():Ie.title;document.title=`${Dt} - AIWeb`}else document.title="AIWeb"},{immediate:!0,deep:!0}),onMounted(()=>{Ie.setMode(document.documentElement.clientWidth),window.addEventListener("resize",()=>{Ie.setMode(document.documentElement.clientWidth)}),hotkeys("alt+i",()=>{eventBus.emit("global-system-info-toggle")})}),(Dt,Lt)=>{const jt=_sfc_main$2u,hn=resolveComponent("RouterView"),vn=_sfc_main$2w;return openBlock(),createBlock(_sfc_main$2t,null,{default:withCtx(()=>[createVNode$1(hn,{style:normalizeStyle$1({"--g-main-sidebar-actual-width":unref(qe),"--g-sub-sidebar-actual-width":unref(At)})},{default:withCtx(({Component:bn})=>[unref(Ue)?(openBlock(),createBlock(resolveDynamicComponent(bn),{key:0})):(openBlock(),createBlock(jt,{key:1}))]),_:1},8,["style"]),createVNode$1(vn)]),_:1})}}});function install(xe){xe.use(installer)}const ui={install};function directive(xe){xe.directive("auth",{mounted:($e,Ie)=>{useAuth().auth(Ie.value)||$e.remove()}}),xe.directive("auth-all",{mounted:($e,Ie)=>{useAuth().authAll(Ie.value)||$e.remove()}})}if(typeof window<"u"){let xe=function(){var $e=document.body,Ie=document.getElementById("__svg__icons__dom__");Ie||(Ie=document.createElementNS("http://www.w3.org/2000/svg","svg"),Ie.style.position="absolute",Ie.style.width="0",Ie.style.height="0",Ie.id="__svg__icons__dom__",Ie.setAttribute("xmlns","http://www.w3.org/2000/svg"),Ie.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),Ie.innerHTML='',$e.insertBefore(Ie,$e.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",xe):xe()}const data=[{prefix:"ant-design",info:{name:"Ant Design Icons",total:789,version:"4.3.1",author:{name:"HeskeyBaozi",url:"https://github.com/ant-design/ant-design-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/ant-design/ant-design-icons/blob/master/LICENSE"},samples:["pushpin-filled","pie-chart-outlined","shopping-twotone"],height:16,category:"General",palette:!1},icons:["account-book-filled","account-book-outlined","account-book-twotone","aim-outlined","alert-filled","alert-outlined","alert-twotone","alibaba-outlined","align-center-outlined","align-left-outlined","align-right-outlined","alipay-circle-filled","alipay-circle-outlined","alipay-outlined","alipay-square-filled","aliwangwang-filled","aliwangwang-outlined","aliyun-outlined","amazon-circle-filled","amazon-outlined","amazon-square-filled","android-filled","android-outlined","ant-cloud-outlined","ant-design-outlined","apartment-outlined","api-filled","api-outlined","api-twotone","apple-filled","apple-outlined","appstore-add-outlined","appstore-filled","appstore-outlined","appstore-twotone","area-chart-outlined","arrow-down-outlined","arrow-left-outlined","arrow-right-outlined","arrow-up-outlined","arrows-alt-outlined","audio-filled","audio-muted-outlined","audio-outlined","audio-twotone","audit-outlined","backward-filled","backward-outlined","bank-filled","bank-outlined","bank-twotone","bar-chart-outlined","barcode-outlined","bars-outlined","behance-circle-filled","behance-outlined","behance-square-filled","behance-square-outlined","bell-filled","bell-outlined","bell-twotone","bg-colors-outlined","block-outlined","bold-outlined","book-filled","book-outlined","book-twotone","border-bottom-outlined","border-horizontal-outlined","border-inner-outlined","border-left-outlined","border-outer-outlined","border-outlined","border-right-outlined","border-top-outlined","border-verticle-outlined","borderless-table-outlined","box-plot-filled","box-plot-outlined","box-plot-twotone","branches-outlined","bug-filled","bug-outlined","bug-twotone","build-filled","build-outlined","build-twotone","bulb-filled","bulb-outlined","bulb-twotone","calculator-filled","calculator-outlined","calculator-twotone","calendar-filled","calendar-outlined","calendar-twotone","camera-filled","camera-outlined","camera-twotone","car-filled","car-outlined","car-twotone","caret-down-filled","caret-down-outlined","caret-left-filled","caret-left-outlined","caret-right-filled","caret-right-outlined","caret-up-filled","caret-up-outlined","carry-out-filled","carry-out-outlined","carry-out-twotone","check-circle-filled","check-circle-outlined","check-circle-twotone","check-outlined","check-square-filled","check-square-outlined","check-square-twotone","chrome-filled","chrome-outlined","ci-circle-filled","ci-circle-outlined","ci-circle-twotone","ci-outlined","ci-twotone","clear-outlined","clock-circle-filled","clock-circle-outlined","clock-circle-twotone","close-circle-filled","close-circle-outlined","close-circle-twotone","close-outlined","close-square-filled","close-square-outlined","close-square-twotone","cloud-download-outlined","cloud-filled","cloud-outlined","cloud-server-outlined","cloud-sync-outlined","cloud-twotone","cloud-upload-outlined","cluster-outlined","code-filled","code-outlined","code-sandbox-circle-filled","code-sandbox-outlined","code-sandbox-square-filled","code-twotone","codepen-circle-filled","codepen-circle-outlined","codepen-outlined","codepen-square-filled","coffee-outlined","column-height-outlined","column-width-outlined","comment-outlined","compass-filled","compass-outlined","compass-twotone","compress-outlined","console-sql-outlined","contacts-filled","contacts-outlined","contacts-twotone","container-filled","container-outlined","container-twotone","control-filled","control-outlined","control-twotone","copy-filled","copy-outlined","copy-twotone","copyright-circle-filled","copyright-circle-outlined","copyright-circle-twotone","copyright-outlined","copyright-twotone","credit-card-filled","credit-card-outlined","credit-card-twotone","crown-filled","crown-outlined","crown-twotone","customer-service-filled","customer-service-outlined","customer-service-twotone","dash-outlined","dashboard-filled","dashboard-outlined","dashboard-twotone","database-filled","database-outlined","database-twotone","delete-column-outlined","delete-filled","delete-outlined","delete-row-outlined","delete-twotone","delivered-procedure-outlined","deployment-unit-outlined","desktop-outlined","diff-filled","diff-outlined","diff-twotone","dingding-outlined","dingtalk-circle-filled","dingtalk-outlined","dingtalk-square-filled","disconnect-outlined","dislike-filled","dislike-outlined","dislike-twotone","dollar-circle-filled","dollar-circle-outlined","dollar-circle-twotone","dollar-outlined","dollar-twotone","dot-chart-outlined","double-left-outlined","double-right-outlined","down-circle-filled","down-circle-outlined","down-circle-twotone","down-outlined","down-square-filled","down-square-outlined","down-square-twotone","download-outlined","drag-outlined","dribbble-circle-filled","dribbble-outlined","dribbble-square-filled","dribbble-square-outlined","dropbox-circle-filled","dropbox-outlined","dropbox-square-filled","edit-filled","edit-outlined","edit-twotone","ellipsis-outlined","enter-outlined","environment-filled","environment-outlined","environment-twotone","euro-circle-filled","euro-circle-outlined","euro-circle-twotone","euro-outlined","euro-twotone","exception-outlined","exclamation-circle-filled","exclamation-circle-outlined","exclamation-circle-twotone","exclamation-outlined","expand-alt-outlined","expand-outlined","experiment-filled","experiment-outlined","experiment-twotone","export-outlined","eye-filled","eye-invisible-filled","eye-invisible-outlined","eye-invisible-twotone","eye-outlined","eye-twotone","facebook-filled","facebook-outlined","fall-outlined","fast-backward-filled","fast-backward-outlined","fast-forward-filled","fast-forward-outlined","field-binary-outlined","field-number-outlined","field-string-outlined","field-time-outlined","file-add-filled","file-add-outlined","file-add-twotone","file-done-outlined","file-excel-filled","file-excel-outlined","file-excel-twotone","file-exclamation-filled","file-exclamation-outlined","file-exclamation-twotone","file-filled","file-gif-outlined","file-image-filled","file-image-outlined","file-image-twotone","file-jpg-outlined","file-markdown-filled","file-markdown-outlined","file-markdown-twotone","file-outlined","file-pdf-filled","file-pdf-outlined","file-pdf-twotone","file-ppt-filled","file-ppt-outlined","file-ppt-twotone","file-protect-outlined","file-search-outlined","file-sync-outlined","file-text-filled","file-text-outlined","file-text-twotone","file-twotone","file-unknown-filled","file-unknown-outlined","file-unknown-twotone","file-word-filled","file-word-outlined","file-word-twotone","file-zip-filled","file-zip-outlined","file-zip-twotone","filter-filled","filter-outlined","filter-twotone","fire-filled","fire-outlined","fire-twotone","flag-filled","flag-outlined","flag-twotone","folder-add-filled","folder-add-outlined","folder-add-twotone","folder-filled","folder-open-filled","folder-open-outlined","folder-open-twotone","folder-outlined","folder-twotone","folder-view-outlined","font-colors-outlined","font-size-outlined","fork-outlined","form-outlined","format-painter-filled","format-painter-outlined","forward-filled","forward-outlined","frown-filled","frown-outlined","frown-twotone","fullscreen-exit-outlined","fullscreen-outlined","function-outlined","fund-filled","fund-outlined","fund-projection-screen-outlined","fund-twotone","fund-view-outlined","funnel-plot-filled","funnel-plot-outlined","funnel-plot-twotone","gateway-outlined","gif-outlined","gift-filled","gift-outlined","gift-twotone","github-filled","github-outlined","gitlab-filled","gitlab-outlined","global-outlined","gold-filled","gold-outlined","gold-twotone","golden-filled","google-circle-filled","google-outlined","google-plus-circle-filled","google-plus-outlined","google-plus-square-filled","google-square-filled","group-outlined","hdd-filled","hdd-outlined","hdd-twotone","heart-filled","heart-outlined","heart-twotone","heat-map-outlined","highlight-filled","highlight-outlined","highlight-twotone","history-outlined","holder-outlined","home-filled","home-outlined","home-twotone","hourglass-filled","hourglass-outlined","hourglass-twotone","html5-filled","html5-outlined","html5-twotone","idcard-filled","idcard-outlined","idcard-twotone","ie-circle-filled","ie-outlined","ie-square-filled","import-outlined","inbox-outlined","info-circle-filled","info-circle-outlined","info-circle-twotone","info-outlined","insert-row-above-outlined","insert-row-below-outlined","insert-row-left-outlined","insert-row-right-outlined","instagram-filled","instagram-outlined","insurance-filled","insurance-outlined","insurance-twotone","interaction-filled","interaction-outlined","interaction-twotone","issues-close-outlined","italic-outlined","key-outlined","laptop-outlined","layout-filled","layout-outlined","layout-twotone","left-circle-filled","left-circle-outlined","left-circle-twotone","left-outlined","left-square-filled","left-square-outlined","left-square-twotone","like-filled","like-outlined","like-twotone","line-chart-outlined","line-height-outlined","line-outlined","link-outlined","linkedin-filled","linkedin-outlined","loading-3-quarters-outlined","loading-outlined","lock-filled","lock-outlined","lock-twotone","login-outlined","logout-outlined","mac-command-filled","mac-command-outlined","mail-filled","mail-outlined","mail-twotone","man-outlined","medicine-box-filled","medicine-box-outlined","medicine-box-twotone","medium-circle-filled","medium-outlined","medium-square-filled","medium-workmark-outlined","meh-filled","meh-outlined","meh-twotone","menu-fold-outlined","menu-outlined","menu-unfold-outlined","merge-cells-outlined","message-filled","message-outlined","message-twotone","minus-circle-filled","minus-circle-outlined","minus-circle-twotone","minus-outlined","minus-square-filled","minus-square-outlined","minus-square-twotone","mobile-filled","mobile-outlined","mobile-twotone","money-collect-filled","money-collect-outlined","money-collect-twotone","monitor-outlined","more-outlined","node-collapse-outlined","node-expand-outlined","node-index-outlined","notification-filled","notification-outlined","notification-twotone","number-outlined","one-to-one-outlined","ordered-list-outlined","paper-clip-outlined","partition-outlined","pause-circle-filled","pause-circle-outlined","pause-circle-twotone","pause-outlined","pay-circle-filled","pay-circle-outlined","percentage-outlined","phone-filled","phone-outlined","phone-twotone","pic-center-outlined","pic-left-outlined","pic-right-outlined","picture-filled","picture-outlined","picture-twotone","pie-chart-filled","pie-chart-outlined","pie-chart-twotone","play-circle-filled","play-circle-outlined","play-circle-twotone","play-square-filled","play-square-outlined","play-square-twotone","plus-circle-filled","plus-circle-outlined","plus-circle-twotone","plus-outlined","plus-square-filled","plus-square-outlined","plus-square-twotone","pound-circle-filled","pound-circle-outlined","pound-circle-twotone","pound-outlined","poweroff-outlined","printer-filled","printer-outlined","printer-twotone","profile-filled","profile-outlined","profile-twotone","project-filled","project-outlined","project-twotone","property-safety-filled","property-safety-outlined","property-safety-twotone","pull-request-outlined","pushpin-filled","pushpin-outlined","pushpin-twotone","qq-circle-filled","qq-outlined","qq-square-filled","qrcode-outlined","question-circle-filled","question-circle-outlined","question-circle-twotone","question-outlined","radar-chart-outlined","radius-bottomleft-outlined","radius-bottomright-outlined","radius-setting-outlined","radius-upleft-outlined","radius-upright-outlined","read-filled","read-outlined","reconciliation-filled","reconciliation-outlined","reconciliation-twotone","red-envelope-filled","red-envelope-outlined","red-envelope-twotone","reddit-circle-filled","reddit-outlined","reddit-square-filled","redo-outlined","reload-outlined","rest-filled","rest-outlined","rest-twotone","retweet-outlined","right-circle-filled","right-circle-outlined","right-circle-twotone","right-outlined","right-square-filled","right-square-outlined","right-square-twotone","rise-outlined","robot-filled","robot-outlined","rocket-filled","rocket-outlined","rocket-twotone","rollback-outlined","rotate-left-outlined","rotate-right-outlined","safety-certificate-filled","safety-certificate-outlined","safety-certificate-twotone","safety-outlined","save-filled","save-outlined","save-twotone","scan-outlined","schedule-filled","schedule-outlined","schedule-twotone","scissor-outlined","search-outlined","security-scan-filled","security-scan-outlined","security-scan-twotone","select-outlined","send-outlined","setting-filled","setting-outlined","setting-twotone","shake-outlined","share-alt-outlined","shop-filled","shop-outlined","shop-twotone","shopping-cart-outlined","shopping-filled","shopping-outlined","shopping-twotone","shrink-outlined","signal-filled","sisternode-outlined","sketch-circle-filled","sketch-outlined","sketch-square-filled","skin-filled","skin-outlined","skin-twotone","skype-filled","skype-outlined","slack-circle-filled","slack-outlined","slack-square-filled","slack-square-outlined","sliders-filled","sliders-outlined","sliders-twotone","small-dash-outlined","smile-filled","smile-outlined","smile-twotone","snippets-filled","snippets-outlined","snippets-twotone","solution-outlined","sort-ascending-outlined","sort-descending-outlined","sound-filled","sound-outlined","sound-twotone","split-cells-outlined","star-filled","star-outlined","star-twotone","step-backward-filled","step-backward-outlined","step-forward-filled","step-forward-outlined","stock-outlined","stop-filled","stop-outlined","stop-twotone","strikethrough-outlined","subnode-outlined","swap-left-outlined","swap-outlined","swap-right-outlined","switcher-filled","switcher-outlined","switcher-twotone","sync-outlined","table-outlined","tablet-filled","tablet-outlined","tablet-twotone","tag-filled","tag-outlined","tag-twotone","tags-filled","tags-outlined","tags-twotone","taobao-circle-filled","taobao-circle-outlined","taobao-outlined","taobao-square-filled","team-outlined","thunderbolt-filled","thunderbolt-outlined","thunderbolt-twotone","to-top-outlined","tool-filled","tool-outlined","tool-twotone","trademark-circle-filled","trademark-circle-outlined","trademark-circle-twotone","trademark-outlined","transaction-outlined","translation-outlined","trophy-filled","trophy-outlined","trophy-twotone","twitter-circle-filled","twitter-outlined","twitter-square-filled","underline-outlined","undo-outlined","ungroup-outlined","unlock-filled","unlock-outlined","unlock-twotone","unordered-list-outlined","up-circle-filled","up-circle-outlined","up-circle-twotone","up-outlined","up-square-filled","up-square-outlined","up-square-twotone","upload-outlined","usb-filled","usb-outlined","usb-twotone","user-add-outlined","user-delete-outlined","user-outlined","user-switch-outlined","usergroup-add-outlined","usergroup-delete-outlined","verified-outlined","vertical-align-bottom-outlined","vertical-align-middle-outlined","vertical-align-top-outlined","vertical-left-outlined","vertical-right-outlined","video-camera-add-outlined","video-camera-filled","video-camera-outlined","video-camera-twotone","wallet-filled","wallet-outlined","wallet-twotone","warning-filled","warning-outlined","warning-twotone","wechat-filled","wechat-outlined","weibo-circle-filled","weibo-circle-outlined","weibo-outlined","weibo-square-filled","weibo-square-outlined","whats-app-outlined","wifi-outlined","windows-filled","windows-outlined","woman-outlined","yahoo-filled","yahoo-outlined","youtube-filled","youtube-outlined","yuque-filled","yuque-outlined","zhihu-circle-filled","zhihu-outlined","zhihu-square-filled","zoom-in-outlined","zoom-out-outlined"]},{prefix:"ep",info:{name:"Element Plus",total:293,version:"2.3.1",author:{name:"Element Plus",url:"https://github.com/element-plus/element-plus-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/element-plus/element-plus-icons/blob/main/packages/svg/package.json"},samples:["home-filled","partly-cloudy","avatar"],height:32,displayHeight:16,category:"General",palette:!1},icons:["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","chrome-filled","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","element-plus","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","gold-medal","goods","goods-filled","grape","grid","guide","handbag","headset","help","help-filled","hide","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","memo","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","quartz-watch","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","shopping-trolley","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","suitcase-line","sunny","sunrise","sunset","switch","switch-button","switch-filled","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","trophy-base","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warn-triangle-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"]},{prefix:"flagpack",info:{name:"Flagpack",total:255,version:"2.0.0",author:{name:"Yummygum",url:"https://github.com/Yummygum/flagpack-core"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/Yummygum/flagpack-core/blob/main/LICENSE"},samples:["ci","gb-ukm","wf"],height:24,category:"Maps / Flags",palette:!0},icons:["ad","ae","af","ag","ai","al","am","ao","aq","ar","as","at","au","aw","ax","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bl","bm","bn","bo","bq-bo","bq-sa","bq-se","br","bs","bt","bv","bw","by","bz","ca","cc","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cu","cv","cw","cx","cy","cz","de","dj","dk","dm","do","dz","ec","ee","eg","eh","er","es","et","fi","fj","fk","fm","fo","fr","ga","gb","gb-eng","gb-nir","gb-sct","gb-ukm","gb-wls","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gw","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","iq","ir","is","it","je","jm","jo","jp","ke","kg","kh","ki","km","kn","kp","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","me","mf","mg","mh","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pm","pn","pr","ps","pt","pw","py","qa","re","ro","rs","ru","rw","sa","sb","sc","sd","se","sg","sh","si","sj","sk","sl","sm","sn","so","sr","ss","st","sv","sx","sy","sz","tc","td","tf","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tw","tz","ua","ug","um","us","uy","uz","va","vc","ve","vg","vi","vn","vu","wf","ws","ye","yt","za","zm","zw"]},{prefix:"icon-park",info:{name:"IconPark",total:2658,version:"1.4.2",author:{name:"ByteDance",url:"https://github.com/bytedance/IconPark"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/bytedance/IconPark/blob/master/LICENSE"},samples:["add-one","english-mustache","basketball-clothes"],height:24,category:"General",palette:!0},icons:["a-cane","abdominal","abnormal","acceleration","accept-email","acoustic","activity-source","ad","ad-product","add","add-computer","add-four","add-item","add-mode","add-music","add-one","add-pic","add-picture","add-print","add-subset","add-subtract","add-text","add-text-two","add-three","add-two","add-user","add-web","address-book","adjacent-item","adjustment","adobe-illustrate","adobe-indesign","adobe-lightroom","adobe-photoshop","afferent","afferent-four","afferent-three","afferent-two","afro-pick","agreement","aiming","air-bike","air-conditioning","airplane","airplane-window","airplane-window-one","airplay","airpods","alarm","alarm-clock","align-bottom","align-bottom-two","align-horizontal-center-two","align-horizontally","align-left","align-left-one","align-left-two","align-right","align-right-one","align-right-two","align-text-both","align-text-both-one","align-text-bottom","align-text-bottom-one","align-text-center","align-text-center-one","align-text-left","align-text-left-one","align-text-middle","align-text-middle-one","align-text-right","align-text-right-one","align-text-top","align-text-top-one","align-top","align-top-two","align-vertical-center-two","align-vertically","alignment-bottom-center","alignment-bottom-left","alignment-bottom-right","alignment-horizontal-bottom","alignment-horizontal-center","alignment-horizontal-top","alignment-left-bottom","alignment-left-center","alignment-left-top","alignment-right-bottom","alignment-right-center","alignment-right-top","alignment-top-center","alignment-top-left","alignment-top-right","alignment-vertical-center","alignment-vertical-left","alignment-vertical-right","alipay","all-application","alphabetical-sorting","alphabetical-sorting-two","ambulance","analysis","anchor","anchor-one","anchor-round","anchor-squre","anchor-two","android","angry-face","anguished-face","announcement","anti-corrosion","aperture-priority","api","api-app","app-store","app-switch","apple","apple-one","applet-closed","application","application-effect","application-menu","application-one","application-two","appointment","aquarius","arc-de-triomphe","archers-bow","archery","area-map","arena","aries","arithmetic","arithmetic-buttons","arithmetic-one","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-keys","arrow-left","arrow-left-down","arrow-left-up","arrow-right","arrow-right-down","arrow-right-up","arrow-up","assembly-line","association","asterisk","asterisk-key","astonished-face","at-sign","attention","audio-file","audit","auto-focus","auto-height-one","auto-line-height","auto-line-width","auto-width","auto-width-one","avatar","average","aviation","avocado","avocado-one","baby","baby-app","baby-bottle","baby-car-seat","baby-feet","baby-meal","baby-mobile","baby-one","baby-pants","baby-sling","baby-taste","bachelor-cap","bachelor-cap-one","bachelor-cap-two","back","back-one","background-color","backpack","bad","bad-one","bad-two","badge","badge-two","badminton","baggage-delay","balance","balance-one","balance-two","banana","bank","bank-card","bank-card-one","bank-card-two","bank-transfer","baokemeng","bar-code","barbecue","barber-brush","barber-clippers","baseball","baseball-bat","baseball-cap","basketball","basketball-clothes","basketball-one","basketball-stand","bat","battery-charge","battery-empty","battery-failure","battery-full","battery-storage","battery-tips","battery-working","battery-working-one","beach-umbrella","bear","beauty","beauty-instrument","bedside","bedside-two","bee","beer","beer-mug","behance","bell-ring","belt","benz","bezier-curve","bib","big-clock","big-x","bike","bill","bird","birthday-cake","bitcoin","black-eight","blackboard","blade","bless","block","block-eight","block-five","block-four","block-nine","block-one","block-seven","block-six","block-ten","block-three","block-two","blockchain","blocks-and-arrows","bloom","blossom","bluetooth","boiler","bolt-one","bone","book","book-one","book-open","bookmark","bookmark-one","bookmark-three","bookshelf","booster-car-seat","booth","boots","bottle","bottle-one","bottle-three","bottle-two","bottom-bar","bottom-bar-one","bow","bowl","bowl-one","bowling","box","boxing","boxing-one","boy","boy-one","boy-stroller","boy-two","brain","brake-pads","branch","branch-one","branch-two","brdige-three","bread","bread-machine","bread-one","breast-pump","bridge-one","bridge-two","briefcase","brightness","bring-forward","bring-to-front","bring-to-front-one","broadcast","broadcast-one","broadcast-radio","browser","browser-chrome","browser-safari","bubble-chart","bug","building-four","building-one","building-three","building-two","bullet-map","bus","bus-one","bus-two","butterfly","buy","bydesign","bye","bytedance","bytedance-applets","bytedance-mini-app","cable-car","cactus","cake","cake-five","cake-four","cake-one","cake-three","cake-two","calculator","calculator-one","calendar","calendar-dot","calendar-thirty","calendar-thirty-two","calendar-three","camera","camera-five","camera-four","camera-one","camera-three","camera-two","camp","cancer","candy","canned-fruit","capricornus","car","car-battery","card-two","cardioelectric","carousel","carousel-video","carrot","cast-screen","castle","cat","category-management","cattle","cattle-zodiac","caution","cc","cd","ce-marking","cell","center-alignment","certificate","chafing-dish","chafing-dish-one","chair","chair-one","change","change-date-sort","charging-treasure","chart-graph","chart-histogram","chart-histogram-one","chart-histogram-two","chart-line","chart-line-area","chart-pie","chart-pie-one","chart-proportion","chart-ring","chart-scatter","chart-stock","check","check-correct","check-in","check-one","check-small","checkbox","checkerboard","checklist","cheese","chef-hat","chef-hat-one","cherry","chess","chess-one","chest","chicken","chicken-leg","chicken-zodiac","child-with-pacifier","children-cap","children-pyramid","chili","chimney","chinese","chinese-one","chinese-pavilion","chip","chopping-board","chopsticks-fork","christmas-tree","christmas-tree-one","church-one","church-two","circle-double-down","circle-double-left","circle-double-right","circle-double-up","circle-five-line","circle-four","circle-four-line","circle-house","circle-left-down","circle-left-up","circle-right-down","circle-right-up","circle-three","circle-two-line","circles-and-triangles","circles-seven","circular-connection","circus","city","city-gate","city-one","clap","classroom","clear","clear-format","click","click-tap","click-tap-two","click-to-fold","clipboard","clock-tower","close","close-one","close-remind","close-small","close-wifi","clothes-briefs","clothes-cardigan","clothes-crew-neck","clothes-diapers","clothes-gloves","clothes-gloves-two","clothes-hoodie","clothes-pants","clothes-pants-short","clothes-pants-sweat","clothes-short-sleeve","clothes-skates","clothes-suit","clothes-sweater","clothes-turtleneck","clothes-windbreaker","cloud-storage","cloudy","cloudy-night","clue","coat-hanger","cocktail","coconut-tree","code","code-brackets","code-computer","code-download","code-laptop","code-one","coffee-machine","cola","collapse-text-input","collect-computer","collect-laptop","collect-picture","collection-files","collection-records","color-card","color-filter","column","comb","come","command","comment","comment-one","comments","commodity","communication","commuter-bag","compass","compass-one","components","composition","compression","computer","computer-one","concept-sharing","concern","conditioner","cone","cones","config","confounded-face","confused-face","connect","connect-address-one","connect-address-two","connection","connection-arrow","connection-box","connection-point","connection-point-two","consignment","consume","contrast","contrast-view","contrast-view-circle","control","converging-gateway","cook","cooking","cooking-pot","cool","cooperative-handshake","coordinate-system","copy","copy-link","copy-one","copyright","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","coronavirus","correct","cosmetic-brush","coupon","court","cpu","crab","creation-date-sort","creative","credit","crib","croissant","cross-ring","cross-ring-two","cross-society","crown","crown-three","crown-two","cruise","crying-baby","cube","cube-five","cube-four","cube-three","cube-two","cup","cup-four","cup-one","curling","currency","curve-adjustment","customer","cutting","cutting-one","cuvette","cycle","cycle-arrow","cycle-movement","cycle-one","cylinder","damage-map","dark-mode","dashboard","dashboard-car","dashboard-one","dashboard-two","data","data-all","data-arrival","data-display","data-file","data-four","data-lock","data-null","data-one","data-screen","data-server","data-sheet","data-switching","data-three","data-two","data-user","database-alert","database-code","database-config","database-download","database-enter","database-fail","database-first","database-forbid","database-lock","database-network","database-network-point","database-point","database-position","database-power","database-proportion","database-search","database-setting","database-success","database-sync","database-time","date-comes-back","deadline-sort","death-star","deeplink","deer","degree-hat","delete","delete-five","delete-four","delete-key","delete-mode","delete-one","delete-themes","delete-three","delete-two","delivery","deposit","descend","desk-lamp","desk-lamp-one","detection","devices","diamond","diamond-necklace","diamond-one","diamond-ring","diamond-three","diamond-two","diamonds","dianziqian","diapers-one","difference-set","digital-watches","direction","direction-adjustment","direction-adjustment-three","direction-adjustment-two","disabaled-web","disabled-computer","disabled-laptop","disabled-picture","disappointed-face","discovery-index","disk","disk-one","disk-two","dislike","dislike-two","display","distortion","distraught-face","distribute-horizontal-spacing","distribute-horizontally","distribute-vertical-spacing","distribute-vertically","dividing-line","dividing-line-one","diving","diving-bottle","diving-suit","division","dizzy-face","doc-add","doc-detail","doc-fail","doc-search","doc-search-two","doc-success","document-folder","dog","dog-zodiac","dollar","dolphin","dome","dome-light","done-all","dongchedi","door-handle","dot","double-bed","double-down","double-left","double-right","double-up","doughnut","down","down-c","down-one","down-picture","down-small","down-square","down-two","download","download-computer","download-four","download-laptop","download-one","download-three","download-two","download-web","drag","dragon-zodiac","dribble","drink","drone","drone-one","drop-down-list","drop-shadow-down","drop-shadow-left","drop-shadow-right","drop-shadow-up","dropbox","drumstick","dubai","duck","dumbbel-line","dumbbell","dvi","eagle","earth","easy","ecg","edit","edit-movie","edit-name","edit-one","edit-two","editing","editor","eeg","effects","efferent-four","efferent-three","egg","egg-one","eggplant","eiffel-tower","eight-key","electric-drill","electric-iron","electric-wave","electrocardiogram","electronic-door-lock","electronic-locks-close","electronic-locks-open","electronic-pen","elephant","elevator","email-block","email-delect","email-down","email-fail","email-lock","email-push","email-search","email-security","email-successfully","emotion-happy","emotion-unhappy","empty","end-time-sort","endless","endocrine","endpoint-displacement","endpoint-flat","endpoint-round","endpoint-square","energy-socket","engineering-brand","engineering-vehicle","english","english-mustache","enquire","enter-key","enter-key-one","enter-the-keyboard","entertainment","envelope","envelope-one","equal-ratio","equalizer","erase","error","error-computer","error-picture","error-prompt","escalators","ethernet-off","ethernet-on","every-user","excel","excel-one","exchange","exchange-four","exchange-one","exchange-three","exchange-two","exclude-selection","exclusive-gateway","expand-down","expand-down-one","expand-left","expand-left-and-right","expand-right","expand-text-input","expand-up","expenses","expenses-one","experiment","experiment-one","export","express-delivery","expressionless-face","extend","external-transmission","eyebrow","eyes","f-eight-key","f-five-key","f-four-key","f-n-key","f-nine-key","f-one-key","f-seven-key","f-six-key","f-three-key","f-two-key","f-zero-key","face-powder","face-recognition","face-with-smiling-open-eyes","face-without-mouth","facebook","facebook-one","facetime","faceu","facial-cleanser","facial-mask","factory-building","fail-picture","family","fan","fanqiexiaoshuo","feelgood","feelgood-one","feiyu","female","fence-one","fence-two","ferris-wheel","figma","figma-component","figma-flatten-selection","figma-mask","figma-reset-instance","file-addition","file-addition-one","file-cabinet","file-code","file-code-one","file-collection","file-collection-one","file-conversion","file-conversion-one","file-date","file-date-one","file-display","file-display-one","file-doc","file-editing","file-editing-one","file-excel","file-failed","file-failed-one","file-focus","file-focus-one","file-gif","file-hash","file-hash-one","file-hiding","file-hiding-one","file-jpg","file-lock","file-lock-one","file-music","file-music-one","file-pdf","file-pdf-one","file-ppt","file-protection","file-protection-one","file-quality","file-quality-one","file-question","file-removal","file-removal-one","file-search","file-search-one","file-search-two","file-settings","file-settings-one","file-staff","file-staff-one","file-success","file-success-one","file-text","file-text-one","file-tips","file-tips-one","file-txt","file-txt-one","file-withdrawal","file-withdrawal-one","file-word","file-zip","fill","film","filter","filter-one","finance","financing","financing-one","financing-two","find","find-one","fingernail","fingerprint","fingerprint-three","fingerprint-two","fire","fire-extinguisher","fire-extinguisher-one","fire-two","fireworks","first","first-aid-kit","fish","fish-one","fishing","fist","fitness","five","five-ellipses","five-five","five-key","five-star-badge","flag","flash-payment","flashlamp","flashlight","flask","flight-airflow","flight-safety","flip-camera","flip-horizontally","flip-vertically","flirt","float","floor-tile","fm","focus","focus-one","fog","fold-up-one","folder","folder-block","folder-block-one","folder-close","folder-code","folder-code-one","folder-conversion","folder-conversion-one","folder-download","folder-failed","folder-failed-one","folder-focus","folder-focus-one","folder-lock","folder-lock-one","folder-minus","folder-music","folder-music-one","folder-one","folder-open","folder-plus","folder-protection","folder-protection-one","folder-quality","folder-quality-one","folder-search","folder-search-one","folder-settings","folder-settings-one","folder-success","folder-success-one","folder-upload","folder-withdrawal","folder-withdrawal-one","follow-up-date-sort","font-search","font-size","font-size-two","foot","football","forbid","fork","fork-spoon","form","form-one","format","format-brush","formula","foundation-makeup","four","four-arrows","four-four","four-key","four-leaves","four-point-connection","four-round-point-connection","foursquare","freeze-column","freeze-line","freezing-line-column","french-fries","friends-circle","frigate","frog","frowning-face-whit-open-mouth","fruiter","full-dress-longuette","full-screen","full-screen-one","full-screen-play","full-screen-two","full-selection","fullwidth","funds","future-build-one","future-build-three","future-build-two","game","game-console","game-console-one","game-emoji","game-handle","game-ps","game-three","game-two","gamepad","garage","garlic","gas","gastrointestinal","gate","gate-machine","gauze","gavel","gemini","general-branch","geometric-flowers","germs","ghost","gift","gift-bag","gift-box","girl","girl-one","girl-two","github","github-one","gitlab","glasses","glasses-one","glasses-three","globe","glove","go-ahead","go-end","go-on","go-start","goblet","goblet-cracking","goblet-full","goblet-one","gold-medal","gold-medal-two","golf-course","gongfu","good","good-one","good-two","google","google-ads","gopro","gps","graphic-design","graphic-design-two","graphic-stitching","graphic-stitching-four","graphic-stitching-three","great-wall","green-house","green-new-energy","grid-four","grid-nine","grid-sixteen","grid-three","grid-two","grimacing-face","grinning-face","grinning-face-with-open-mouth","grinning-face-with-squinting-eyes","grinning-face-with-tightly-closed-eyes","grinning-face-with-tightly-closed-eyes-open-mouth","group","guide-board","gymnastics","gymnastics-one","h","h1","h2","h3","hair-brush","hair-clip","hair-dryer","hair-dryer-one","halo","hamburger","hamburger-button","hamburger-one","hammer-and-anvil","hand-cream","hand-down","hand-drag","hand-left","hand-painted-plate","hand-right","hand-up","handbag","handheld","handle-a","handle-b","handle-c","handle-down","handle-left","handle-right","handle-round","handle-square","handle-triangle","handle-up","handle-x","handle-y","handle-z","hands","handwashing","handwashing-fluid","hanfu-chinese-style","hanger","hanger-one","hanger-two","hard-disk","hard-disk-one","harm","hashtag-key","hat","hdd","hdmi-cable","hdmi-connector","headphone-sound","headset","headset-one","headset-two","headwear","health","health-products","healthy-recognition","heart","heart-ballon","heart-rate","heartbeat","heater-resistor","heavy-metal","heavy-rain","heavy-wind","helmet","helmet-one","help","helpcenter","hexagon-one","hexagon-strip","hexagonal","hi","high-heeled-shoes","high-light","high-speed-rail","hippo","histogram","history","history-query","hockey","hold","hold-interface","hold-seeds","holding-hands","holy-sword","home","home-two","homestay","honey","honey-one","horizontal-spacing-between-items","horizontal-tidy-up","horizontally-centered","horse-zodiac","hospital","hospital-bed","hospital-four","hospital-three","hospital-two","hot-air-balloon","hot-pot","hot-pot-one","hotel","hotel-do-not-clean","hotel-please-clean","hourglass","hourglass-full","hourglass-null","html-five","hunting-gear","huoshanzhibo","i-mac","icecream","icecream-five","icecream-four","icecream-one","icecream-three","icecream-two","id-card","id-card-h","id-card-v","image-files","imbalance","import-and-export","in-flight","inbox","inbox-download-r","inbox-in","inbox-out","inbox-r","inbox-success","inbox-success-r","inbox-upload-r","inclusive-gateway","income","income-one","incoming","increase","increase-the-scale","indent-left","indent-right","index-finger","induction-lock","industrial-scales","info","infusion","injection","inline","inner-shadow-bottom-left","inner-shadow-bottom-right","inner-shadow-down","inner-shadow-left","inner-shadow-right","inner-shadow-top-left","inner-shadow-top-right","inner-shadow-up","insert-card","insert-table","inspection","instagram","instagram-one","install","instruction","intercom","intermediate-mode","internal-data","internal-expansion","internal-reduction","internal-transmission","international","intersect-selection","intersection","invalid-files","invert-camera","invert-left","invert-right","ios-face-recognition","ipad","ipad-one","iphone","ipo","iron","iron-disable","iron-three","iron-two","iwatch","iwatch-one","iwatch-two","jewelry","jinritoutiao","journey","joystick","juice","jump","kagi-map","kettle","kettle-one","key","key-one","key-two","keyboard","keyboard-one","keyhole","keyline","kitchen-knife","knife-fork","koala-bear","kungfu","label","ladder","ladder-one","lamp","land-surveying","landing","landscape","laptop","laptop-computer","laptop-one","lark","lark-one","lattice-pattern","layers","layout-five","layout-four","layout-one","layout-three","layout-two","leaf","leaves","leaves-one","leaves-two","led-diode","left","left-alignment","left-and-right-branch","left-bar","left-branch","left-c","left-expand","left-one","left-small","left-small-down","left-small-up","left-square","left-two","lemon","lens-alignment","leo","level","level-adjustment","level-eight-title","level-five-title","level-four-title","level-nine-title","level-seven-title","level-six-title","libra","lifebuoy","light","light-house","light-member","light-rain","lightning","like","lincoln","link","link-break","link-cloud","link-cloud-faild","link-cloud-sucess","link-four","link-in","link-interrupt","link-left","link-one","link-out","link-right","link-three","link-two","lip-gloss","lip-tattoo","lipstick","lipstick-one","liqueur","list","list-add","list-alphabet","list-bottom","list-checkbox","list-fail","list-middle","list-numbers","list-one","list-success","list-top","list-two","list-view","loading","loading-four","loading-one","loading-three","loading-two","local","local-pin","local-two","lock","lock-one","locking-computer","locking-laptop","locking-picture","locking-web","log","login","logout","lollipop","loop-once","lotion","lotus","loudly-crying-face","loudly-crying-face-whit-open-mouth","love-and-help","lower-branch","luggage","luminous","lung","mac-finder","macadamia-nut","magic","magic-hat","magic-wand","magnet","mail","mail-download","mail-edit","mail-open","mail-package","mail-review","mail-unpacking","maill-one","makeups","male","mall-bag","manual-gear","many-to-many","map-distance","map-draw","map-road","map-road-two","map-two","margin","margin-one","mark","market","market-analysis","mascara","mask","mask-one","mask-two","maslow-pyramids","massage-chair","massage-chair-one","massage-table","master","material","material-three","material-two","maximum","maya","mayura-gesture","me","measuring-cup","medal-one","mediaeditor","medical-box","medical-files","medical-mark","medication-time","medicine-bottle","medicine-bottle-one","medicine-chest","memory","memory-card","memory-card-one","memory-one","men-jacket","menu-fold","menu-fold-one","menu-unfold","menu-unfold-one","merge","merge-cells","message","message-emoji","message-failed","message-one","message-privacy","message-search","message-security","message-sent","message-success","message-unread","messages","messages-one","micro-sd","micro-slr-camera","microphone","microphone-one","microscope","microscope-one","microwave-oven","microwaves","middle-finger","milk","milk-one","min","mind-mapping","mindmap-list","mindmap-map","mini-sd-card","minus","minus-the-bottom","minus-the-top","mirror","mirror-one","mirror-two","misaligned-semicircle","mitsubishi","modify","modify-two","monitor","monitor-camera","monitor-off","monitor-one","monitor-two","monkey","monkey-zodiac","monument-one","monument-two","moon","more","more-app","more-four","more-one","more-three","more-two","mosaic","mountain","mounted","mouse","mouse-one","mouse-zodiac","mouth","move","move-in","move-in-one","move-one","movie","movie-board","moving-picture","multi-circular","multi-function-knife","multi-picture-carousel","multi-rectangle","multi-ring","multi-triangular","multi-triangular-four","multi-triangular-three","multi-triangular-two","multicast","multilayer-sphere","muscle","museum-one","museum-two","music","music-cd","music-list","music-menu","music-one","music-rhythm","mute","nail-polish","nail-polish-one","nasal","natural-mode","navigation","necktie","needle","negative-dynamics","nested-arrows","nests","network-drive","network-tree","neural","neutral-face","new-afferent","new-computer","new-dianziqian","new-efferent","new-lark","new-picture","newlybuild","newspaper-folding","next","nine-key","nine-points-connected","nintendo-switch","nmr","no-shooting","node-flat","node-round","node-square","noodles","notebook","notebook-and-pen","notebook-one","notepad","notes","nuclear-plant","nurse-cap","nut","nutrition","oceanengine","octagon","off-screen","off-screen-one","off-screen-two","oil-industry","okay","one","one-key","one-one","one-third-rotation","one-to-many","one-to-one","onesies","online-meeting","open","open-an-account","open-door","open-one","optimize","optional","orange","orange-one","orange-station","order","ordered-list","orthopedic","oscillator","other","outbound","outdoor","outgoing","oval-love","oval-love-two","oval-one","oven","oven-tray","overall-reduction","owl","pacifier","pad","page","page-template","pagoda","paint","painted-eggshell","painted-screen","palace","palm","panda","pangle","panorama-horizontal","panties","paper-money","paper-money-two","paper-ship","paperclip","parabola","parachute","paragraph-alphabet","paragraph-break","paragraph-break-two","paragraph-cut","paragraph-rectangle","paragraph-round","paragraph-triangle","paragraph-unfold","parallel-gateway","parallelogram","parenting-book","parking","party-balloon","passport","passport-one","pause","pause-one","pay-code","pay-code-one","pay-code-two","payment-method","paypal","peach","pear","pearl-of-the-orient","peas","pencil","pennant","pentagon-one","people","people-bottom","people-bottom-card","people-delete","people-delete-one","people-download","people-left","people-minus","people-minus-one","people-plus","people-plus-one","people-right","people-safe","people-safe-one","people-search","people-search-one","people-speak","people-top","people-top-card","people-unknown","people-upload","peoples","peoples-two","percentage","performance","perfume","perfumer-bottle","period","permissions","personal-collection","personal-privacy","perspective","pesticide","petrol","phone","phone-booth","phone-call","phone-incoming","phone-incoming-one","phone-missed","phone-off","phone-one","phone-outgoing","phone-outgoing-one","phone-telephone","phone-two","phone-video-call","phonograph","photograph","piano","pic","pic-one","picture","picture-album","picture-one","pie","pie-five","pie-four","pie-one","pie-seven","pie-six","pie-three","pie-two","pig","pig-zodiac","pigeon","pill","pills","pin","pineapple","pinwheel","pisces","pivot-table","plan","planet","plastic-surgery","platte","play","play-basketball","play-cycle","play-once","play-one","play-two","play-volleyball","play-wrong","playback-progress","plug","plug-one","plus","plus-cross","point","point-out","pokeball-one","poker","popcorn","popcorn-one","positive-dynamics","pot","potentiometer","pound","pound-sign","pouting-face","powder","power","power-supply","power-supply-one","powerpoint","ppt","pregnant-women","preschool","prescription","press","preview-close","preview-close-one","preview-open","printer","printer-one","printer-two","prison","process-line","projector","projector-one","projector-three","projector-two","proportional-scaling","protect","protection","public-toilet","pull-door","pull-requests","pumpkin","pure-natural","push-door","pushpin","puzzle","pyramid","pyramid-one","qingniao-clue","qiyehao","quadrangular-pyramid","quadrilateral","quote","rabbit","rabbit-zodiac","radar","radar-chart","radar-three","radar-two","radiation","radio","radio-nanny","radio-one","radio-two","radish","radish-one","railway","ranking","ranking-list","rattle","rattle-one","razor","read-book","receive","receiver","recent-views-sort","record","record-disc","record-player","rectangle","rectangle-one","rectangle-small","rectangle-tear","rectangle-x","rectangular-circular-connection","rectangular-circular-separation","rectangular-vertebra","recycle-bin","recycling","recycling-pool","red-cross","red-envelope","red-envelopes","redo","reduce","reduce-decimal-places","reduce-one","reduce-two","reduce-user","reel","refraction","refresh","refresh-one","refrigerator","reject","relational-graph","relieved-face","reload","remind","remind-disable","remote-control","remote-control-one","renal","renault","repair","replay-five","replay-music","report","repositioning","resistor","respect","resting","retro-bag","return","reverse-lens","reverse-lens-one","reverse-operation-in","reverse-operation-out","reverse-rotation","rice","riding","riding-one","right","right-angle","right-bar","right-branch","right-branch-one","right-branch-two","right-c","right-expand","right-one","right-run","right-small","right-small-down","right-small-up","right-square","right-two","right-user","ring","ring-one","rings","ripple","road","road-cone","road-one","road-sign","road-sign-both","robot","robot-one","robot-two","rock","rock-gesture","rocket","rocket-one","rocking-horse","rollerskates","romper","rope-skipping","rope-skipping-one","rotate","rotate-one","rotating-add","rotating-forward","rotation","rotation-horizontal","rotation-one","rotation-vertical","round","round-caliper","round-distortion","round-mask","round-socket","round-trip","router","router-one","row-height","rowing","rs-male","rss","rugby","rugby-one","rule-two","ruler","ruler-one","run-left","s-turn-down","s-turn-left","s-turn-right","s-turn-up","safe-retrieval","sagittarius","sailboat","sailboat-one","sailing","sales-report","sandals","sandstorm","sandwich","sandwich-one","sapling","save","save-one","scale","scale-one","scallion","scan","scan-code","scan-setting","scanning","scanning-two","scatter-alignment","schedule","school","scissors","scoreboard","scorpio","screen-rotation","screenshot","screenshot-one","screenshot-two","screwdriver","sd","sd-card","seal","search","seat","security","security-stall","seedling","selected","selected-focus","selfie","send","send-backward","send-email","send-one","send-to-back","sent-to-back","seo","seo-folder","server","set-off","setting","setting-computer","setting-config","setting-laptop","setting-one","setting-three","setting-two","setting-web","seven-key","shade","shake","share","share-one","share-sys","share-three","share-two","shaver","shaver-one","shaving","sheep-zodiac","shield","shield-add","ship","shop","shopping","shopping-bag","shopping-bag-one","shopping-cart","shopping-cart-add","shopping-cart-del","shopping-cart-one","shopping-cart-two","shopping-mall","short-skirt","shorts","shoulder-bag","shovel","shovel-one","shower-head","shrimp","shuffle","shuffle-one","shutter-priority","sickbed","signal","signal-one","signal-strength","signal-tower","signal-tower-one","sim","sim-card","single-bed","sinusoid","sippy-cup","six","six-circular-connection","six-key","six-points","skate","skates","skating","sketch","skiing-nordic","skull","slave","sleaves","sleep","sleep-one","sleep-two","slide","slide-two","sliding-horizontal","sliding-vertical","slightly-frowning-face-whit-open-mouth","slightly-smiling-face","slippers","slippers-one","sly-face-whit-smile","smart-optimization","smiling-face","smiling-face-with-squinting-eyes","snacks","snake-zodiac","snow","snowflake","snowman","soap-bubble","soccer","soccer-one","socks","sofa","sofa-two","softball","solar-energy","solar-energy-one","solid-state-disk","sorcerer-hat","sort","sort-amount-down","sort-amount-up","sort-four","sort-one","sort-three","sort-two","sound","sound-one","sound-wave","source-code","soybean-milk-maker","spa-candle","space-colony","spanner","speaker","speaker-one","speed","speed-one","sperm","sphere","spider-man","spikedshoes","spinning-top","split","split-branch","split-cells","split-turn-down-left","split-turn-down-right","spoon","sport","sporting","square","square-small","ssd","stack-light","stamp","stand-up","stapler","star","star-one","start-time-sort","steering-wheel","steoller","stereo-nesting","stereo-one","stereo-perspective","stethoscope","stickers","stock-market","stopwatch","stopwatch-start","storage-card-one","storage-card-two","straight-razor","straw-hat","stretching","stretching-one","strikethrough","strongbox","subtract-selection","subtract-selection-one","subway","success","success-picture","sum","sun","sun-hat","sun-one","sunbath","sunny","sunrise","sunset","sunshade","surprised-face-with-open-big-mouth","surprised-face-with-open-mouth","surveillance-cameras","surveillance-cameras-one","surveillance-cameras-two","swallow","sweater","swimming-pool","swimming-ring","swimsuit","swing","swipe","switch","switch-button","switch-contrast","switch-nintendo","switch-one","switch-themes","switch-track","switching-done","symbol","symbol-double-x","symmetry","sync","system","t-shirt","table","table-file","table-lamp","table-report","tabletennis","tag","tag-one","tailoring","tailoring-two","taj-mahal","take-off","take-off-one","taobao","tape","tape-measure","target","target-one","target-two","taurus","taxi","tea","tea-drink","teapot","teeth","telegram","telescope","tencent-qq","tennis","tent","tent-banner","terminal","termination-file","terrace","test-tube","text","text-bold","text-italic","text-message","text-recognition","text-rotation-down","text-rotation-left","text-rotation-none","text-rotation-up","text-style","text-style-one","text-underline","text-wrap-overflow","text-wrap-truncation","textarea","texture","texture-two","the-single-shoulder-bag","theater","theme","thermometer","thermometer-one","thermos-cup","thin","thinking-problem","three","three-d-glasses","three-hexagons","three-key","three-slashes","three-three","three-triangles","thumbs-down","thumbs-up","thunderbolt","thunderstorm","thunderstorm-one","ticket","ticket-one","tickets-checked","tickets-one","tickets-two","tiger-zodiac","tiktok","time","timed-mail","timeline","timer","tips","tips-one","tire-swing","title-level","to-bottom","to-bottom-one","to-left","to-right","to-top","to-top-one","toilet","tomato","tool","toolkit","top-bar","topbuzz","topic","topic-discussion","torch","tour-bus","towel","tower","tower-of-babel","tower-of-pisa","toxins","trace","trademark","traditional-chinese-medicine","train","transaction","transaction-order","transfer","transfer-data","transform","translate","translation","transport","transporter","trapezoid","tray","treadmill","treadmill-one","treadmill-two","treasure-chest","tree","tree-diagram","tree-list","tree-one","tree-two","trend","trend-two","trending-down","trending-up","triangle","triangle-round-rectangle","triangle-ruler","triangular-pyramid","trophy","trousers-bell-bottoms","truck","trumpet","trunk","tub","tuchong","tumblr","turkey","turn-around","turn-off-bluetooth","turn-on","tv","tv-one","twitter","two","two-dimensional-code","two-dimensional-code-one","two-dimensional-code-two","two-ellipses","two-fingers","two-hands","two-key","two-semicircles","two-triangles","two-triangles-two","two-two","type-drive","u-disk","u-turn-down","u-turn-left","u-turn-right","u-turn-up","ulikecam","umbrella","umbrella-one","umbrella-two","undo","ungroup","unicast","union-selection","universal","unlike","unlink","unlock","unlock-one","unordered-list","up","up-and-down","up-c","up-one","up-small","up-square","up-two","update-rotation","upload","upload-computer","upload-laptop","upload-logs","upload-one","upload-picture","upload-three","upload-two","upload-web","upside-down-face","usb","usb-memory-stick","usb-micro-one","usb-micro-two","usb-one","usb-type-c","user","user-business","user-positioning","user-to-user-transmission","uterus","vacation","vacuum-cleaner","vegetable-basket","vegetables","vertical-spacing-between-items","vertical-tidy-up","vertical-timeline","vertically-centered","vest","vial","vicia-faba","video","video-conference","video-file","video-one","video-two","videocamera","videocamera-one","viencharts","view-grid-card","view-grid-detail","view-grid-list","view-list","viewfinder","vigo","vip","vip-one","virgo","virtual-reality-glasses","voice","voice-input","voice-message","voice-off","voice-one","voicemail","volkswagen","volleyball","volume-down","volume-mute","volume-notice","volume-small","volume-up","vr-glasses","waistline","wallet","wallet-one","wallet-three","wallet-two","warehousing","washing-machine","washing-machine-one","watch","watch-one","water","water-level","water-no","water-rate","water-rate-two","waterfalls-h","waterfalls-v","watermelon","watermelon-one","waterpolo","waterpolo-one","waves","waves-left","waves-right","weary-face","web-page","webcam","wechat","weibo","weight","weightlifting","weixin-cards-offers","weixin-favorites","weixin-games","weixin-market","weixin-mini-app","weixin-people-nearby","weixin-scan","weixin-search","weixin-shake","weixin-top-stories","whale","wheelchair","whirlwind","whistling","whole-site-accelerator","wifi","wind","wind-turbine","windmill","windmill-one","windmill-two","windows","wingsuit-flying","winking-face","winking-face-with-open-eyes","woman","women","women-coat","woolen-hat","word","workbench","worker","world","worried-face","write","writing-fluently","wrong-user","xiaodu","xiaodu-home","xigua","xingfuli","xingtu","yep","youtobe","youtube","zero-key","zijinyunying","zip","zoom","zoom-in","zoom-internal","zoom-out"]},{prefix:"mdi",info:{name:"Material Design Icons",total:7447,author:{name:"Pictogrammers",url:"https://github.com/Templarian/MaterialDesign"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Templarian/MaterialDesign/blob/master/LICENSE"},samples:["account-check","bell-alert-outline","calendar-edit"],height:24,category:"General",palette:!1},icons:["ab-testing","abacus","abjad-arabic","abjad-hebrew","abugida-devanagari","abugida-thai","access-point","access-point-check","access-point-minus","access-point-network","access-point-network-off","access-point-off","access-point-plus","access-point-remove","account","account-alert","account-alert-outline","account-arrow-down","account-arrow-down-outline","account-arrow-left","account-arrow-left-outline","account-arrow-right","account-arrow-right-outline","account-arrow-up","account-arrow-up-outline","account-badge","account-badge-outline","account-box","account-box-edit-outline","account-box-minus-outline","account-box-multiple","account-box-multiple-outline","account-box-outline","account-box-plus-outline","account-cancel","account-cancel-outline","account-card","account-card-outline","account-cash","account-cash-outline","account-check","account-check-outline","account-child","account-child-circle","account-child-outline","account-circle","account-circle-outline","account-clock","account-clock-outline","account-cog","account-cog-outline","account-convert","account-convert-outline","account-cowboy-hat","account-cowboy-hat-outline","account-credit-card","account-credit-card-outline","account-details","account-details-outline","account-edit","account-edit-outline","account-eye","account-eye-outline","account-file","account-file-outline","account-file-text","account-file-text-outline","account-filter","account-filter-outline","account-group","account-group-outline","account-hard-hat","account-hard-hat-outline","account-heart","account-heart-outline","account-injury","account-injury-outline","account-key","account-key-outline","account-lock","account-lock-open","account-lock-open-outline","account-lock-outline","account-minus","account-minus-outline","account-multiple","account-multiple-check","account-multiple-check-outline","account-multiple-minus","account-multiple-minus-outline","account-multiple-outline","account-multiple-plus","account-multiple-plus-outline","account-multiple-remove","account-multiple-remove-outline","account-music","account-music-outline","account-network","account-network-off","account-network-off-outline","account-network-outline","account-off","account-off-outline","account-outline","account-plus","account-plus-outline","account-question","account-question-outline","account-reactivate","account-reactivate-outline","account-remove","account-remove-outline","account-school","account-school-outline","account-search","account-search-outline","account-settings","account-settings-outline","account-settings-variant","account-star","account-star-outline","account-supervisor","account-supervisor-circle","account-supervisor-circle-outline","account-supervisor-outline","account-switch","account-switch-outline","account-sync","account-sync-outline","account-tag","account-tag-outline","account-tie","account-tie-hat","account-tie-hat-outline","account-tie-outline","account-tie-voice","account-tie-voice-off","account-tie-voice-off-outline","account-tie-voice-outline","account-tie-woman","account-voice","account-voice-off","account-wrench","account-wrench-outline","accusoft","ad-choices","adchoices","adjust","adobe","advertisements","advertisements-off","air-conditioner","air-filter","air-horn","air-humidifier","air-humidifier-off","air-purifier","air-purifier-off","airbag","airballoon","airballoon-outline","airplane","airplane-alert","airplane-check","airplane-clock","airplane-cog","airplane-edit","airplane-landing","airplane-marker","airplane-minus","airplane-off","airplane-plus","airplane-remove","airplane-search","airplane-settings","airplane-takeoff","airport","alarm","alarm-bell","alarm-check","alarm-light","alarm-light-off","alarm-light-off-outline","alarm-light-outline","alarm-multiple","alarm-note","alarm-note-off","alarm-off","alarm-panel","alarm-panel-outline","alarm-plus","alarm-snooze","album","alert","alert-box","alert-box-outline","alert-circle","alert-circle-check","alert-circle-check-outline","alert-circle-outline","alert-decagram","alert-decagram-outline","alert-minus","alert-minus-outline","alert-octagon","alert-octagon-outline","alert-octagram","alert-octagram-outline","alert-outline","alert-plus","alert-plus-outline","alert-remove","alert-remove-outline","alert-rhombus","alert-rhombus-outline","alien","alien-outline","align-horizontal-center","align-horizontal-distribute","align-horizontal-left","align-horizontal-right","align-vertical-bottom","align-vertical-center","align-vertical-distribute","align-vertical-top","all-inclusive","all-inclusive-box","all-inclusive-box-outline","allergy","allo","alpha","alpha-a","alpha-a-box","alpha-a-box-outline","alpha-a-circle","alpha-a-circle-outline","alpha-b","alpha-b-box","alpha-b-box-outline","alpha-b-circle","alpha-b-circle-outline","alpha-c","alpha-c-box","alpha-c-box-outline","alpha-c-circle","alpha-c-circle-outline","alpha-d","alpha-d-box","alpha-d-box-outline","alpha-d-circle","alpha-d-circle-outline","alpha-e","alpha-e-box","alpha-e-box-outline","alpha-e-circle","alpha-e-circle-outline","alpha-f","alpha-f-box","alpha-f-box-outline","alpha-f-circle","alpha-f-circle-outline","alpha-g","alpha-g-box","alpha-g-box-outline","alpha-g-circle","alpha-g-circle-outline","alpha-h","alpha-h-box","alpha-h-box-outline","alpha-h-circle","alpha-h-circle-outline","alpha-i","alpha-i-box","alpha-i-box-outline","alpha-i-circle","alpha-i-circle-outline","alpha-j","alpha-j-box","alpha-j-box-outline","alpha-j-circle","alpha-j-circle-outline","alpha-k","alpha-k-box","alpha-k-box-outline","alpha-k-circle","alpha-k-circle-outline","alpha-l","alpha-l-box","alpha-l-box-outline","alpha-l-circle","alpha-l-circle-outline","alpha-m","alpha-m-box","alpha-m-box-outline","alpha-m-circle","alpha-m-circle-outline","alpha-n","alpha-n-box","alpha-n-box-outline","alpha-n-circle","alpha-n-circle-outline","alpha-o","alpha-o-box","alpha-o-box-outline","alpha-o-circle","alpha-o-circle-outline","alpha-p","alpha-p-box","alpha-p-box-outline","alpha-p-circle","alpha-p-circle-outline","alpha-q","alpha-q-box","alpha-q-box-outline","alpha-q-circle","alpha-q-circle-outline","alpha-r","alpha-r-box","alpha-r-box-outline","alpha-r-circle","alpha-r-circle-outline","alpha-s","alpha-s-box","alpha-s-box-outline","alpha-s-circle","alpha-s-circle-outline","alpha-t","alpha-t-box","alpha-t-box-outline","alpha-t-circle","alpha-t-circle-outline","alpha-u","alpha-u-box","alpha-u-box-outline","alpha-u-circle","alpha-u-circle-outline","alpha-v","alpha-v-box","alpha-v-box-outline","alpha-v-circle","alpha-v-circle-outline","alpha-w","alpha-w-box","alpha-w-box-outline","alpha-w-circle","alpha-w-circle-outline","alpha-x","alpha-x-box","alpha-x-box-outline","alpha-x-circle","alpha-x-circle-outline","alpha-y","alpha-y-box","alpha-y-box-outline","alpha-y-circle","alpha-y-circle-outline","alpha-z","alpha-z-box","alpha-z-box-outline","alpha-z-circle","alpha-z-circle-outline","alphabet-aurebesh","alphabet-cyrillic","alphabet-greek","alphabet-latin","alphabet-piqad","alphabet-tengwar","alphabetical","alphabetical-off","alphabetical-variant","alphabetical-variant-off","altimeter","amazon","amazon-alexa","amazon-drive","ambulance","ammunition","ampersand","amplifier","amplifier-off","anchor","android","android-auto","android-debug-bridge","android-head","android-messages","android-studio","angle-acute","angle-obtuse","angle-right","angular","angularjs","animation","animation-outline","animation-play","animation-play-outline","ansible","antenna","anvil","apache-kafka","api","api-off","apple","apple-finder","apple-icloud","apple-ios","apple-keyboard-caps","apple-keyboard-command","apple-keyboard-control","apple-keyboard-option","apple-keyboard-shift","apple-safari","application","application-array","application-array-outline","application-braces","application-braces-outline","application-brackets","application-brackets-outline","application-cog","application-cog-outline","application-edit","application-edit-outline","application-export","application-import","application-outline","application-parentheses","application-parentheses-outline","application-settings","application-settings-outline","application-variable","application-variable-outline","appnet","approximately-equal","approximately-equal-box","apps","apps-box","arch","archive","archive-alert","archive-alert-outline","archive-arrow-down","archive-arrow-down-outline","archive-arrow-up","archive-arrow-up-outline","archive-cancel","archive-cancel-outline","archive-check","archive-check-outline","archive-clock","archive-clock-outline","archive-cog","archive-cog-outline","archive-edit","archive-edit-outline","archive-eye","archive-eye-outline","archive-lock","archive-lock-open","archive-lock-open-outline","archive-lock-outline","archive-marker","archive-marker-outline","archive-minus","archive-minus-outline","archive-music","archive-music-outline","archive-off","archive-off-outline","archive-outline","archive-plus","archive-plus-outline","archive-refresh","archive-refresh-outline","archive-remove","archive-remove-outline","archive-search","archive-search-outline","archive-settings","archive-settings-outline","archive-star","archive-star-outline","archive-sync","archive-sync-outline","arm-flex","arm-flex-outline","arrange-bring-forward","arrange-bring-to-front","arrange-send-backward","arrange-send-to-back","arrow-all","arrow-bottom-left","arrow-bottom-left-bold-box","arrow-bottom-left-bold-box-outline","arrow-bottom-left-bold-outline","arrow-bottom-left-thick","arrow-bottom-left-thin","arrow-bottom-left-thin-circle-outline","arrow-bottom-right","arrow-bottom-right-bold-box","arrow-bottom-right-bold-box-outline","arrow-bottom-right-bold-outline","arrow-bottom-right-thick","arrow-bottom-right-thin","arrow-bottom-right-thin-circle-outline","arrow-collapse","arrow-collapse-all","arrow-collapse-down","arrow-collapse-horizontal","arrow-collapse-left","arrow-collapse-right","arrow-collapse-up","arrow-collapse-vertical","arrow-decision","arrow-decision-auto","arrow-decision-auto-outline","arrow-decision-outline","arrow-down","arrow-down-bold","arrow-down-bold-box","arrow-down-bold-box-outline","arrow-down-bold-circle","arrow-down-bold-circle-outline","arrow-down-bold-hexagon-outline","arrow-down-bold-outline","arrow-down-box","arrow-down-circle","arrow-down-circle-outline","arrow-down-drop-circle","arrow-down-drop-circle-outline","arrow-down-left","arrow-down-left-bold","arrow-down-right","arrow-down-right-bold","arrow-down-thick","arrow-down-thin","arrow-down-thin-circle-outline","arrow-expand","arrow-expand-all","arrow-expand-down","arrow-expand-horizontal","arrow-expand-left","arrow-expand-right","arrow-expand-up","arrow-expand-vertical","arrow-horizontal-lock","arrow-left","arrow-left-bold","arrow-left-bold-box","arrow-left-bold-box-outline","arrow-left-bold-circle","arrow-left-bold-circle-outline","arrow-left-bold-hexagon-outline","arrow-left-bold-outline","arrow-left-bottom","arrow-left-bottom-bold","arrow-left-box","arrow-left-circle","arrow-left-circle-outline","arrow-left-drop-circle","arrow-left-drop-circle-outline","arrow-left-right","arrow-left-right-bold","arrow-left-right-bold-outline","arrow-left-thick","arrow-left-thin","arrow-left-thin-circle-outline","arrow-left-top","arrow-left-top-bold","arrow-oscillating","arrow-oscillating-off","arrow-projectile","arrow-projectile-multiple","arrow-right","arrow-right-bold","arrow-right-bold-box","arrow-right-bold-box-outline","arrow-right-bold-circle","arrow-right-bold-circle-outline","arrow-right-bold-hexagon-outline","arrow-right-bold-outline","arrow-right-bottom","arrow-right-bottom-bold","arrow-right-box","arrow-right-circle","arrow-right-circle-outline","arrow-right-drop-circle","arrow-right-drop-circle-outline","arrow-right-thick","arrow-right-thin","arrow-right-thin-circle-outline","arrow-right-top","arrow-right-top-bold","arrow-split-horizontal","arrow-split-vertical","arrow-top-left","arrow-top-left-bold-box","arrow-top-left-bold-box-outline","arrow-top-left-bold-outline","arrow-top-left-bottom-right","arrow-top-left-bottom-right-bold","arrow-top-left-thick","arrow-top-left-thin","arrow-top-left-thin-circle-outline","arrow-top-right","arrow-top-right-bold-box","arrow-top-right-bold-box-outline","arrow-top-right-bold-outline","arrow-top-right-bottom-left","arrow-top-right-bottom-left-bold","arrow-top-right-thick","arrow-top-right-thin","arrow-top-right-thin-circle-outline","arrow-u-down-left","arrow-u-down-left-bold","arrow-u-down-right","arrow-u-down-right-bold","arrow-u-left-bottom","arrow-u-left-bottom-bold","arrow-u-left-top","arrow-u-left-top-bold","arrow-u-right-bottom","arrow-u-right-bottom-bold","arrow-u-right-top","arrow-u-right-top-bold","arrow-u-up-left","arrow-u-up-left-bold","arrow-u-up-right","arrow-u-up-right-bold","arrow-up","arrow-up-bold","arrow-up-bold-box","arrow-up-bold-box-outline","arrow-up-bold-circle","arrow-up-bold-circle-outline","arrow-up-bold-hexagon-outline","arrow-up-bold-outline","arrow-up-box","arrow-up-circle","arrow-up-circle-outline","arrow-up-down","arrow-up-down-bold","arrow-up-down-bold-outline","arrow-up-drop-circle","arrow-up-drop-circle-outline","arrow-up-left","arrow-up-left-bold","arrow-up-right","arrow-up-right-bold","arrow-up-thick","arrow-up-thin","arrow-up-thin-circle-outline","arrow-vertical-lock","artboard","artstation","aspect-ratio","assistant","asterisk","asterisk-circle-outline","at","atlassian","atm","atom","atom-variant","attachment","attachment-check","attachment-lock","attachment-minus","attachment-off","attachment-plus","attachment-remove","atv","audio-input-rca","audio-input-stereo-minijack","audio-input-xlr","audio-video","audio-video-off","augmented-reality","aurora","auto-download","auto-fix","auto-mode","auto-upload","autorenew","autorenew-off","av-timer","awning","awning-outline","aws","axe","axe-battle","axis","axis-arrow","axis-arrow-info","axis-arrow-lock","axis-lock","axis-x-arrow","axis-x-arrow-lock","axis-x-rotate-clockwise","axis-x-rotate-counterclockwise","axis-x-y-arrow-lock","axis-y-arrow","axis-y-arrow-lock","axis-y-rotate-clockwise","axis-y-rotate-counterclockwise","axis-z-arrow","axis-z-arrow-lock","axis-z-rotate-clockwise","axis-z-rotate-counterclockwise","babel","baby","baby-bottle","baby-bottle-outline","baby-buggy","baby-buggy-off","baby-carriage","baby-carriage-off","baby-face","baby-face-outline","backburger","backspace","backspace-outline","backspace-reverse","backspace-reverse-outline","backup-restore","bacteria","bacteria-outline","badge-account","badge-account-alert","badge-account-alert-outline","badge-account-horizontal","badge-account-horizontal-outline","badge-account-outline","badminton","bag-carry-on","bag-carry-on-check","bag-carry-on-off","bag-checked","bag-personal","bag-personal-off","bag-personal-off-outline","bag-personal-outline","bag-personal-plus","bag-personal-plus-outline","bag-personal-tag","bag-personal-tag-outline","bag-suitcase","bag-suitcase-off","bag-suitcase-off-outline","bag-suitcase-outline","baguette","balcony","balloon","ballot","ballot-outline","ballot-recount","ballot-recount-outline","bandage","bandcamp","bank","bank-check","bank-circle","bank-circle-outline","bank-minus","bank-off","bank-off-outline","bank-outline","bank-plus","bank-remove","bank-transfer","bank-transfer-in","bank-transfer-out","barcode","barcode-off","barcode-scan","barley","barley-off","barn","barrel","barrel-outline","baseball","baseball-bat","baseball-diamond","baseball-diamond-outline","baseball-outline","basecamp","bash","basket","basket-check","basket-check-outline","basket-fill","basket-minus","basket-minus-outline","basket-off","basket-off-outline","basket-outline","basket-plus","basket-plus-outline","basket-remove","basket-remove-outline","basket-unfill","basketball","basketball-hoop","basketball-hoop-outline","bat","bathtub","bathtub-outline","battery","battery-10","battery-10-bluetooth","battery-20","battery-20-bluetooth","battery-30","battery-30-bluetooth","battery-40","battery-40-bluetooth","battery-50","battery-50-bluetooth","battery-60","battery-60-bluetooth","battery-70","battery-70-bluetooth","battery-80","battery-80-bluetooth","battery-90","battery-90-bluetooth","battery-alert","battery-alert-bluetooth","battery-alert-variant","battery-alert-variant-outline","battery-arrow-down","battery-arrow-down-outline","battery-arrow-up","battery-arrow-up-outline","battery-bluetooth","battery-bluetooth-variant","battery-charging","battery-charging-10","battery-charging-100","battery-charging-20","battery-charging-30","battery-charging-40","battery-charging-50","battery-charging-60","battery-charging-70","battery-charging-80","battery-charging-90","battery-charging-high","battery-charging-low","battery-charging-medium","battery-charging-outline","battery-charging-wireless","battery-charging-wireless-10","battery-charging-wireless-20","battery-charging-wireless-30","battery-charging-wireless-40","battery-charging-wireless-50","battery-charging-wireless-60","battery-charging-wireless-70","battery-charging-wireless-80","battery-charging-wireless-90","battery-charging-wireless-alert","battery-charging-wireless-outline","battery-check","battery-check-outline","battery-clock","battery-clock-outline","battery-heart","battery-heart-outline","battery-heart-variant","battery-high","battery-lock","battery-lock-open","battery-low","battery-medium","battery-minus","battery-minus-outline","battery-minus-variant","battery-negative","battery-off","battery-off-outline","battery-outline","battery-plus","battery-plus-outline","battery-plus-variant","battery-positive","battery-remove","battery-remove-outline","battery-standard","battery-sync","battery-sync-outline","battery-unknown","battery-unknown-bluetooth","battlenet","beach","beaker","beaker-alert","beaker-alert-outline","beaker-check","beaker-check-outline","beaker-minus","beaker-minus-outline","beaker-outline","beaker-plus","beaker-plus-outline","beaker-question","beaker-question-outline","beaker-remove","beaker-remove-outline","beam","beats","bed","bed-clock","bed-double","bed-double-outline","bed-empty","bed-king","bed-king-outline","bed-outline","bed-queen","bed-queen-outline","bed-single","bed-single-outline","bee","bee-flower","beehive-off-outline","beehive-outline","beekeeper","beer","beer-outline","behance","bell","bell-alert","bell-alert-outline","bell-badge","bell-badge-outline","bell-cancel","bell-cancel-outline","bell-check","bell-check-outline","bell-circle","bell-circle-outline","bell-cog","bell-cog-outline","bell-minus","bell-minus-outline","bell-off","bell-off-outline","bell-outline","bell-plus","bell-plus-outline","bell-remove","bell-remove-outline","bell-ring","bell-ring-outline","bell-sleep","bell-sleep-outline","bench","bench-back","beta","betamax","biathlon","bicycle","bicycle-basket","bicycle-cargo","bicycle-electric","bicycle-penny-farthing","bike","bike-fast","bike-pedal","bike-pedal-clipless","bike-pedal-mountain","billboard","billiards","billiards-rack","binoculars","bio","biohazard","bird","bitbucket","bitcoin","black-mesa","blackberry","blender","blender-outline","blender-software","blinds","blinds-horizontal","blinds-horizontal-closed","blinds-open","blinds-vertical","blinds-vertical-closed","block-helper","blogger","blood-bag","bluetooth","bluetooth-audio","bluetooth-connect","bluetooth-off","bluetooth-settings","bluetooth-transfer","blur","blur-linear","blur-off","blur-radial","bolt","bomb","bomb-off","bone","bone-off","book","book-account","book-account-outline","book-alert","book-alert-outline","book-alphabet","book-arrow-down","book-arrow-down-outline","book-arrow-left","book-arrow-left-outline","book-arrow-right","book-arrow-right-outline","book-arrow-up","book-arrow-up-outline","book-cancel","book-cancel-outline","book-check","book-check-outline","book-clock","book-clock-outline","book-cog","book-cog-outline","book-cross","book-edit","book-edit-outline","book-education","book-education-outline","book-heart","book-heart-outline","book-information-variant","book-lock","book-lock-open","book-lock-open-outline","book-lock-outline","book-marker","book-marker-outline","book-minus","book-minus-multiple","book-minus-multiple-outline","book-minus-outline","book-multiple","book-multiple-minus","book-multiple-outline","book-multiple-plus","book-multiple-remove","book-multiple-variant","book-music","book-music-outline","book-off","book-off-outline","book-open","book-open-blank-variant","book-open-blank-variant-outline","book-open-outline","book-open-page-variant","book-open-page-variant-outline","book-open-variant","book-open-variant-outline","book-outline","book-play","book-play-outline","book-plus","book-plus-multiple","book-plus-multiple-outline","book-plus-outline","book-refresh","book-refresh-outline","book-remove","book-remove-multiple","book-remove-multiple-outline","book-remove-outline","book-search","book-search-outline","book-settings","book-settings-outline","book-sync","book-sync-outline","book-variant","book-variant-multiple","bookmark","bookmark-box","bookmark-box-multiple","bookmark-box-multiple-outline","bookmark-box-outline","bookmark-check","bookmark-check-outline","bookmark-minus","bookmark-minus-outline","bookmark-multiple","bookmark-multiple-outline","bookmark-music","bookmark-music-outline","bookmark-off","bookmark-off-outline","bookmark-outline","bookmark-plus","bookmark-plus-outline","bookmark-remove","bookmark-remove-outline","bookshelf","boom-gate","boom-gate-alert","boom-gate-alert-outline","boom-gate-arrow-down","boom-gate-arrow-down-outline","boom-gate-arrow-up","boom-gate-arrow-up-outline","boom-gate-outline","boom-gate-up","boom-gate-up-outline","boombox","boomerang","bootstrap","border-all","border-all-variant","border-bottom","border-bottom-variant","border-color","border-horizontal","border-inside","border-left","border-left-variant","border-none","border-none-variant","border-outside","border-radius","border-right","border-right-variant","border-style","border-top","border-top-variant","border-vertical","bottle-soda","bottle-soda-classic","bottle-soda-classic-outline","bottle-soda-outline","bottle-tonic","bottle-tonic-outline","bottle-tonic-plus","bottle-tonic-plus-outline","bottle-tonic-skull","bottle-tonic-skull-outline","bottle-wine","bottle-wine-outline","bow-arrow","bow-tie","bowl","bowl-mix","bowl-mix-outline","bowl-outline","bowling","box","box-cutter","box-cutter-off","box-download","box-shadow","box-upload","boxing-glove","boxing-gloves","braille","brain","bread-slice","bread-slice-outline","bridge","briefcase","briefcase-account","briefcase-account-outline","briefcase-arrow-left-right","briefcase-arrow-left-right-outline","briefcase-arrow-up-down","briefcase-arrow-up-down-outline","briefcase-check","briefcase-check-outline","briefcase-clock","briefcase-clock-outline","briefcase-download","briefcase-download-outline","briefcase-edit","briefcase-edit-outline","briefcase-eye","briefcase-eye-outline","briefcase-minus","briefcase-minus-outline","briefcase-off","briefcase-off-outline","briefcase-outline","briefcase-plus","briefcase-plus-outline","briefcase-remove","briefcase-remove-outline","briefcase-search","briefcase-search-outline","briefcase-upload","briefcase-upload-outline","briefcase-variant","briefcase-variant-off","briefcase-variant-off-outline","briefcase-variant-outline","brightness","brightness-1","brightness-2","brightness-3","brightness-4","brightness-5","brightness-6","brightness-7","brightness-auto","brightness-percent","broadcast","broadcast-off","broom","brush","brush-off","brush-outline","brush-variant","bucket","bucket-outline","buffer","buffet","bug","bug-check","bug-check-outline","bug-outline","bug-pause","bug-pause-outline","bug-play","bug-play-outline","bug-stop","bug-stop-outline","bugle","bulkhead-light","bulldozer","bullet","bulletin-board","bullhorn","bullhorn-outline","bullhorn-variant","bullhorn-variant-outline","bullseye","bullseye-arrow","bulma","bunk-bed","bunk-bed-outline","bus","bus-alert","bus-articulated-end","bus-articulated-front","bus-clock","bus-double-decker","bus-electric","bus-marker","bus-multiple","bus-school","bus-side","bus-sign","bus-stop","bus-stop-covered","bus-stop-uncovered","bus-wrench","butterfly","butterfly-outline","button-cursor","button-pointer","cabin-a-frame","cable-data","cached","cactus","cake","cake-layered","cake-variant","cake-variant-outline","calculator","calculator-off","calculator-variant","calculator-variant-outline","calendar","calendar-account","calendar-account-outline","calendar-alert","calendar-alert-outline","calendar-arrow-left","calendar-arrow-right","calendar-badge","calendar-badge-outline","calendar-blank","calendar-blank-multiple","calendar-blank-outline","calendar-check","calendar-check-outline","calendar-clock","calendar-clock-outline","calendar-collapse-horizontal","calendar-collapse-horizontal-outline","calendar-cursor","calendar-cursor-outline","calendar-edit","calendar-edit-outline","calendar-end","calendar-end-outline","calendar-expand-horizontal","calendar-expand-horizontal-outline","calendar-export","calendar-export-outline","calendar-filter","calendar-filter-outline","calendar-heart","calendar-heart-outline","calendar-import","calendar-import-outline","calendar-lock","calendar-lock-open","calendar-lock-open-outline","calendar-lock-outline","calendar-minus","calendar-minus-outline","calendar-month","calendar-month-outline","calendar-multiple","calendar-multiple-check","calendar-multiselect","calendar-multiselect-outline","calendar-outline","calendar-plus","calendar-plus-outline","calendar-question","calendar-question-outline","calendar-range","calendar-range-outline","calendar-refresh","calendar-refresh-outline","calendar-remove","calendar-remove-outline","calendar-search","calendar-search-outline","calendar-select","calendar-star","calendar-star-four-points","calendar-star-outline","calendar-start","calendar-start-outline","calendar-sync","calendar-sync-outline","calendar-text","calendar-text-outline","calendar-today","calendar-today-outline","calendar-week","calendar-week-begin","calendar-week-begin-outline","calendar-week-end","calendar-week-end-outline","calendar-week-outline","calendar-weekend","calendar-weekend-outline","call-made","call-merge","call-missed","call-received","call-split","camcorder","camcorder-off","camera","camera-account","camera-burst","camera-control","camera-document","camera-document-off","camera-enhance","camera-enhance-outline","camera-flip","camera-flip-outline","camera-focus","camera-front","camera-front-variant","camera-gopro","camera-image","camera-iris","camera-lock","camera-lock-open","camera-lock-open-outline","camera-lock-outline","camera-marker","camera-marker-outline","camera-metering-center","camera-metering-matrix","camera-metering-partial","camera-metering-spot","camera-off","camera-off-outline","camera-outline","camera-party-mode","camera-plus","camera-plus-outline","camera-rear","camera-rear-variant","camera-retake","camera-retake-outline","camera-switch","camera-switch-outline","camera-timer","camera-wireless","camera-wireless-outline","campfire","cancel","candelabra","candelabra-fire","candle","candy","candy-off","candy-off-outline","candy-outline","candycane","cannabis","cannabis-off","caps-lock","car","car-2-plus","car-3-plus","car-arrow-left","car-arrow-right","car-back","car-battery","car-brake-abs","car-brake-alert","car-brake-fluid-level","car-brake-hold","car-brake-low-pressure","car-brake-parking","car-brake-retarder","car-brake-temperature","car-brake-worn-linings","car-child-seat","car-clock","car-clutch","car-cog","car-connected","car-convertable","car-convertible","car-coolant-level","car-cruise-control","car-defrost-front","car-defrost-rear","car-door","car-door-lock","car-door-lock-open","car-electric","car-electric-outline","car-emergency","car-esp","car-estate","car-hatchback","car-info","car-key","car-lifted-pickup","car-light-alert","car-light-dimmed","car-light-fog","car-light-high","car-limousine","car-multiple","car-off","car-outline","car-parking-lights","car-pickup","car-search","car-search-outline","car-seat","car-seat-cooler","car-seat-heater","car-select","car-settings","car-shift-pattern","car-side","car-speed-limiter","car-sports","car-tire-alert","car-traction-control","car-turbocharger","car-wash","car-windshield","car-windshield-outline","car-wireless","car-wrench","carabiner","caravan","card","card-account-details","card-account-details-outline","card-account-details-star","card-account-details-star-outline","card-account-mail","card-account-mail-outline","card-account-phone","card-account-phone-outline","card-bulleted","card-bulleted-off","card-bulleted-off-outline","card-bulleted-outline","card-bulleted-settings","card-bulleted-settings-outline","card-minus","card-minus-outline","card-multiple","card-multiple-outline","card-off","card-off-outline","card-outline","card-plus","card-plus-outline","card-remove","card-remove-outline","card-search","card-search-outline","card-text","card-text-outline","cards","cards-club","cards-club-outline","cards-diamond","cards-diamond-outline","cards-heart","cards-heart-outline","cards-outline","cards-playing","cards-playing-club","cards-playing-club-multiple","cards-playing-club-multiple-outline","cards-playing-club-outline","cards-playing-diamond","cards-playing-diamond-multiple","cards-playing-diamond-multiple-outline","cards-playing-diamond-outline","cards-playing-heart","cards-playing-heart-multiple","cards-playing-heart-multiple-outline","cards-playing-heart-outline","cards-playing-outline","cards-playing-spade","cards-playing-spade-multiple","cards-playing-spade-multiple-outline","cards-playing-spade-outline","cards-spade","cards-spade-outline","cards-variant","carrot","cart","cart-arrow-down","cart-arrow-right","cart-arrow-up","cart-check","cart-heart","cart-minus","cart-off","cart-outline","cart-percent","cart-plus","cart-remove","cart-variant","case-sensitive-alt","cash","cash-100","cash-check","cash-clock","cash-edit","cash-fast","cash-lock","cash-lock-open","cash-marker","cash-minus","cash-multiple","cash-off","cash-plus","cash-refund","cash-register","cash-remove","cash-sync","cash-usd","cash-usd-outline","cassette","cast","cast-audio","cast-audio-variant","cast-connected","cast-education","cast-off","cast-variant","castle","cat","cctv","cctv-off","ceiling-fan","ceiling-fan-light","ceiling-light","ceiling-light-multiple","ceiling-light-multiple-outline","ceiling-light-outline","cellphone","cellphone-android","cellphone-arrow-down","cellphone-arrow-down-variant","cellphone-basic","cellphone-charging","cellphone-check","cellphone-cog","cellphone-dock","cellphone-information","cellphone-iphone","cellphone-key","cellphone-link","cellphone-link-off","cellphone-lock","cellphone-marker","cellphone-message","cellphone-message-off","cellphone-nfc","cellphone-nfc-off","cellphone-off","cellphone-play","cellphone-remove","cellphone-screenshot","cellphone-settings","cellphone-sound","cellphone-text","cellphone-wireless","centos","certificate","certificate-outline","chair-rolling","chair-school","chandelier","charity","charity-search","chart-arc","chart-areaspline","chart-areaspline-variant","chart-bar","chart-bar-stacked","chart-bell-curve","chart-bell-curve-cumulative","chart-box","chart-box-multiple","chart-box-multiple-outline","chart-box-outline","chart-box-plus-outline","chart-bubble","chart-donut","chart-donut-variant","chart-gantt","chart-histogram","chart-line","chart-line-stacked","chart-line-variant","chart-multiline","chart-multiple","chart-pie","chart-pie-outline","chart-ppf","chart-sankey","chart-sankey-variant","chart-scatter-plot","chart-scatter-plot-hexbin","chart-timeline","chart-timeline-variant","chart-timeline-variant-shimmer","chart-tree","chart-waterfall","chat","chat-alert","chat-alert-outline","chat-minus","chat-minus-outline","chat-outline","chat-plus","chat-plus-outline","chat-processing","chat-processing-outline","chat-question","chat-question-outline","chat-remove","chat-remove-outline","chat-sleep","chat-sleep-outline","check","check-all","check-bold","check-bookmark","check-circle","check-circle-outline","check-decagram","check-decagram-outline","check-network","check-network-outline","check-outline","check-underline","check-underline-circle","check-underline-circle-outline","checkbook","checkbook-arrow-left","checkbook-arrow-right","checkbox-blank","checkbox-blank-badge","checkbox-blank-badge-outline","checkbox-blank-circle","checkbox-blank-circle-outline","checkbox-blank-off","checkbox-blank-off-outline","checkbox-blank-outline","checkbox-intermediate","checkbox-intermediate-variant","checkbox-marked","checkbox-marked-circle","checkbox-marked-circle-auto-outline","checkbox-marked-circle-minus-outline","checkbox-marked-circle-outline","checkbox-marked-circle-plus-outline","checkbox-marked-outline","checkbox-multiple-blank","checkbox-multiple-blank-circle","checkbox-multiple-blank-circle-outline","checkbox-multiple-blank-outline","checkbox-multiple-marked","checkbox-multiple-marked-circle","checkbox-multiple-marked-circle-outline","checkbox-multiple-marked-outline","checkbox-multiple-outline","checkbox-outline","checkerboard","checkerboard-minus","checkerboard-plus","checkerboard-remove","cheese","cheese-off","chef-hat","chemical-weapon","chess-bishop","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up","chevron-down","chevron-down-box","chevron-down-box-outline","chevron-down-circle","chevron-down-circle-outline","chevron-left","chevron-left-box","chevron-left-box-outline","chevron-left-circle","chevron-left-circle-outline","chevron-right","chevron-right-box","chevron-right-box-outline","chevron-right-circle","chevron-right-circle-outline","chevron-triple-down","chevron-triple-left","chevron-triple-right","chevron-triple-up","chevron-up","chevron-up-box","chevron-up-box-outline","chevron-up-circle","chevron-up-circle-outline","chili-alert","chili-alert-outline","chili-hot","chili-hot-outline","chili-medium","chili-medium-outline","chili-mild","chili-mild-outline","chili-off","chili-off-outline","chip","church","church-outline","cigar","cigar-off","circle","circle-box","circle-box-outline","circle-double","circle-edit-outline","circle-expand","circle-half","circle-half-full","circle-medium","circle-multiple","circle-multiple-outline","circle-off-outline","circle-opacity","circle-outline","circle-slice-1","circle-slice-2","circle-slice-3","circle-slice-4","circle-slice-5","circle-slice-6","circle-slice-7","circle-slice-8","circle-small","circular-saw","cisco-webex","city","city-switch","city-variant","city-variant-outline","clipboard","clipboard-account","clipboard-account-outline","clipboard-alert","clipboard-alert-outline","clipboard-arrow-down","clipboard-arrow-down-outline","clipboard-arrow-left","clipboard-arrow-left-outline","clipboard-arrow-right","clipboard-arrow-right-outline","clipboard-arrow-up","clipboard-arrow-up-outline","clipboard-check","clipboard-check-multiple","clipboard-check-multiple-outline","clipboard-check-outline","clipboard-clock","clipboard-clock-outline","clipboard-edit","clipboard-edit-outline","clipboard-file","clipboard-file-outline","clipboard-flow","clipboard-flow-outline","clipboard-list","clipboard-list-outline","clipboard-minus","clipboard-minus-outline","clipboard-multiple","clipboard-multiple-outline","clipboard-off","clipboard-off-outline","clipboard-outline","clipboard-play","clipboard-play-multiple","clipboard-play-multiple-outline","clipboard-play-outline","clipboard-plus","clipboard-plus-outline","clipboard-pulse","clipboard-pulse-outline","clipboard-remove","clipboard-remove-outline","clipboard-search","clipboard-search-outline","clipboard-text","clipboard-text-clock","clipboard-text-clock-outline","clipboard-text-multiple","clipboard-text-multiple-outline","clipboard-text-off","clipboard-text-off-outline","clipboard-text-outline","clipboard-text-play","clipboard-text-play-outline","clipboard-text-search","clipboard-text-search-outline","clippy","clock","clock-alert","clock-alert-outline","clock-check","clock-check-outline","clock-digital","clock-edit","clock-edit-outline","clock-end","clock-fast","clock-in","clock-minus","clock-minus-outline","clock-out","clock-outline","clock-plus","clock-plus-outline","clock-remove","clock-remove-outline","clock-star-four-points","clock-star-four-points-outline","clock-start","clock-time-eight","clock-time-eight-outline","clock-time-eleven","clock-time-eleven-outline","clock-time-five","clock-time-five-outline","clock-time-four","clock-time-four-outline","clock-time-nine","clock-time-nine-outline","clock-time-one","clock-time-one-outline","clock-time-seven","clock-time-seven-outline","clock-time-six","clock-time-six-outline","clock-time-ten","clock-time-ten-outline","clock-time-three","clock-time-three-outline","clock-time-twelve","clock-time-twelve-outline","clock-time-two","clock-time-two-outline","close","close-box","close-box-multiple","close-box-multiple-outline","close-box-outline","close-circle","close-circle-multiple","close-circle-multiple-outline","close-circle-outline","close-network","close-network-outline","close-octagon","close-octagon-outline","close-outline","close-thick","closed-caption","closed-caption-outline","cloud","cloud-alert","cloud-alert-outline","cloud-arrow-down","cloud-arrow-down-outline","cloud-arrow-left","cloud-arrow-left-outline","cloud-arrow-right","cloud-arrow-right-outline","cloud-arrow-up","cloud-arrow-up-outline","cloud-braces","cloud-cancel","cloud-cancel-outline","cloud-check","cloud-check-outline","cloud-check-variant","cloud-check-variant-outline","cloud-circle","cloud-circle-outline","cloud-clock","cloud-clock-outline","cloud-cog","cloud-cog-outline","cloud-download","cloud-download-outline","cloud-key","cloud-key-outline","cloud-lock","cloud-lock-open","cloud-lock-open-outline","cloud-lock-outline","cloud-minus","cloud-minus-outline","cloud-off","cloud-off-outline","cloud-outline","cloud-percent","cloud-percent-outline","cloud-plus","cloud-plus-outline","cloud-print","cloud-print-outline","cloud-question","cloud-question-outline","cloud-refresh","cloud-refresh-outline","cloud-refresh-variant","cloud-refresh-variant-outline","cloud-remove","cloud-remove-outline","cloud-search","cloud-search-outline","cloud-sync","cloud-sync-outline","cloud-tags","cloud-upload","cloud-upload-outline","clouds","clover","clover-outline","coach-lamp","coach-lamp-variant","coat-rack","code-array","code-block-braces","code-block-brackets","code-block-parentheses","code-block-tags","code-braces","code-braces-box","code-brackets","code-equal","code-greater-than","code-greater-than-or-equal","code-json","code-less-than","code-less-than-or-equal","code-not-equal","code-not-equal-variant","code-parentheses","code-parentheses-box","code-string","code-tags","code-tags-check","codepen","coffee","coffee-maker","coffee-maker-check","coffee-maker-check-outline","coffee-maker-outline","coffee-off","coffee-off-outline","coffee-outline","coffee-to-go","coffee-to-go-outline","coffin","cog","cog-box","cog-clockwise","cog-counterclockwise","cog-off","cog-off-outline","cog-outline","cog-pause","cog-pause-outline","cog-play","cog-play-outline","cog-refresh","cog-refresh-outline","cog-stop","cog-stop-outline","cog-sync","cog-sync-outline","cog-transfer","cog-transfer-outline","cogs","collage","collapse-all","collapse-all-outline","color-helper","comma","comma-box","comma-box-outline","comma-circle","comma-circle-outline","comment","comment-account","comment-account-outline","comment-alert","comment-alert-outline","comment-arrow-left","comment-arrow-left-outline","comment-arrow-right","comment-arrow-right-outline","comment-bookmark","comment-bookmark-outline","comment-check","comment-check-outline","comment-edit","comment-edit-outline","comment-eye","comment-eye-outline","comment-flash","comment-flash-outline","comment-minus","comment-minus-outline","comment-multiple","comment-multiple-outline","comment-off","comment-off-outline","comment-outline","comment-plus","comment-plus-outline","comment-processing","comment-processing-outline","comment-question","comment-question-outline","comment-quote","comment-quote-outline","comment-remove","comment-remove-outline","comment-search","comment-search-outline","comment-text","comment-text-multiple","comment-text-multiple-outline","comment-text-outline","compare","compare-horizontal","compare-remove","compare-vertical","compass","compass-off","compass-off-outline","compass-outline","compass-rose","compost","concourse-ci","cone","cone-off","connection","console","console-line","console-network","console-network-outline","consolidate","contactless-payment","contactless-payment-circle","contactless-payment-circle-outline","contacts","contacts-outline","contain","contain-end","contain-start","content-copy","content-cut","content-duplicate","content-paste","content-save","content-save-alert","content-save-alert-outline","content-save-all","content-save-all-outline","content-save-check","content-save-check-outline","content-save-cog","content-save-cog-outline","content-save-edit","content-save-edit-outline","content-save-minus","content-save-minus-outline","content-save-move","content-save-move-outline","content-save-off","content-save-off-outline","content-save-outline","content-save-plus","content-save-plus-outline","content-save-settings","content-save-settings-outline","contrast","contrast-box","contrast-circle","controller","controller-classic","controller-classic-outline","controller-off","controller-xbox","cookie","cookie-alert","cookie-alert-outline","cookie-check","cookie-check-outline","cookie-clock","cookie-clock-outline","cookie-cog","cookie-cog-outline","cookie-edit","cookie-edit-outline","cookie-lock","cookie-lock-outline","cookie-minus","cookie-minus-outline","cookie-off","cookie-off-outline","cookie-outline","cookie-plus","cookie-plus-outline","cookie-refresh","cookie-refresh-outline","cookie-remove","cookie-remove-outline","cookie-settings","cookie-settings-outline","coolant-temperature","copyleft","copyright","cordova","corn","corn-off","cosine-wave","counter","countertop","countertop-outline","cow","cow-off","cpu-32-bit","cpu-64-bit","cradle","cradle-outline","crane","creation","creation-outline","creative-commons","credit-card","credit-card-check","credit-card-check-outline","credit-card-chip","credit-card-chip-outline","credit-card-clock","credit-card-clock-outline","credit-card-edit","credit-card-edit-outline","credit-card-fast","credit-card-fast-outline","credit-card-lock","credit-card-lock-outline","credit-card-marker","credit-card-marker-outline","credit-card-minus","credit-card-minus-outline","credit-card-multiple","credit-card-multiple-outline","credit-card-off","credit-card-off-outline","credit-card-outline","credit-card-plus","credit-card-plus-outline","credit-card-refresh","credit-card-refresh-outline","credit-card-refund","credit-card-refund-outline","credit-card-remove","credit-card-remove-outline","credit-card-scan","credit-card-scan-outline","credit-card-search","credit-card-search-outline","credit-card-settings","credit-card-settings-outline","credit-card-sync","credit-card-sync-outline","credit-card-wireless","credit-card-wireless-off","credit-card-wireless-off-outline","credit-card-wireless-outline","cricket","crop","crop-free","crop-landscape","crop-portrait","crop-rotate","crop-square","cross","cross-bolnisi","cross-celtic","cross-outline","crosshairs","crosshairs-gps","crosshairs-off","crosshairs-question","crowd","crown","crown-circle","crown-circle-outline","crown-outline","cryengine","crystal-ball","cube","cube-off","cube-off-outline","cube-outline","cube-scan","cube-send","cube-unfolded","cup","cup-off","cup-off-outline","cup-outline","cup-water","cupboard","cupboard-outline","cupcake","curling","currency-bdt","currency-brl","currency-btc","currency-chf","currency-cny","currency-eth","currency-eur","currency-eur-off","currency-fra","currency-gbp","currency-ils","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-mnt","currency-ngn","currency-php","currency-rial","currency-rub","currency-rupee","currency-sign","currency-thb","currency-try","currency-twd","currency-uah","currency-usd","currency-usd-circle","currency-usd-circle-outline","currency-usd-off","current-ac","current-dc","cursor-default","cursor-default-click","cursor-default-click-outline","cursor-default-gesture","cursor-default-gesture-outline","cursor-default-outline","cursor-move","cursor-pointer","cursor-text","curtains","curtains-closed","cylinder","cylinder-off","dance-ballroom","dance-pole","data","data-matrix","data-matrix-edit","data-matrix-minus","data-matrix-plus","data-matrix-remove","data-matrix-scan","database","database-alert","database-alert-outline","database-arrow-down","database-arrow-down-outline","database-arrow-left","database-arrow-left-outline","database-arrow-right","database-arrow-right-outline","database-arrow-up","database-arrow-up-outline","database-check","database-check-outline","database-clock","database-clock-outline","database-cog","database-cog-outline","database-edit","database-edit-outline","database-export","database-export-outline","database-eye","database-eye-off","database-eye-off-outline","database-eye-outline","database-import","database-import-outline","database-lock","database-lock-outline","database-marker","database-marker-outline","database-minus","database-minus-outline","database-off","database-off-outline","database-outline","database-plus","database-plus-outline","database-refresh","database-refresh-outline","database-remove","database-remove-outline","database-search","database-search-outline","database-settings","database-settings-outline","database-sync","database-sync-outline","death-star","death-star-variant","deathly-hallows","debian","debug-step-into","debug-step-out","debug-step-over","decagram","decagram-outline","decimal","decimal-comma","decimal-comma-decrease","decimal-comma-increase","decimal-decrease","decimal-increase","delete","delete-alert","delete-alert-outline","delete-circle","delete-circle-outline","delete-clock","delete-clock-outline","delete-empty","delete-empty-outline","delete-forever","delete-forever-outline","delete-off","delete-off-outline","delete-outline","delete-restore","delete-sweep","delete-sweep-outline","delete-variant","delta","desk","desk-lamp","desk-lamp-off","desk-lamp-on","deskphone","desktop-classic","desktop-mac","desktop-mac-dashboard","desktop-tower","desktop-tower-monitor","details","dev-to","developer-board","deviantart","devices","dharmachakra","diabetes","dialpad","diameter","diameter-outline","diameter-variant","diamond","diamond-outline","diamond-stone","diaper-outline","dice","dice-1","dice-1-outline","dice-2","dice-2-outline","dice-3","dice-3-outline","dice-4","dice-4-outline","dice-5","dice-5-outline","dice-6","dice-6-outline","dice-d10","dice-d10-outline","dice-d12","dice-d12-outline","dice-d20","dice-d20-outline","dice-d4","dice-d4-outline","dice-d6","dice-d6-outline","dice-d8","dice-d8-outline","dice-multiple","dice-multiple-outline","digital-ocean","dip-switch","directions","directions-fork","disc","disc-alert","disc-player","discord","dishwasher","dishwasher-alert","dishwasher-off","disk","disk-alert","disk-player","disqus","disqus-outline","distribute-horizontal-center","distribute-horizontal-left","distribute-horizontal-right","distribute-vertical-bottom","distribute-vertical-center","distribute-vertical-top","diversify","diving","diving-flippers","diving-helmet","diving-scuba","diving-scuba-flag","diving-scuba-mask","diving-scuba-tank","diving-scuba-tank-multiple","diving-snorkel","division","division-box","dlna","dna","dns","dns-outline","do-not-disturb","dock-bottom","dock-left","dock-right","dock-top","dock-window","docker","doctor","document","dog","dog-service","dog-side","dog-side-off","dolby","dolly","dolphin","domain","domain-off","domain-plus","domain-remove","domain-switch","dome-light","domino-mask","donkey","door","door-closed","door-closed-cancel","door-closed-lock","door-open","door-sliding","door-sliding-lock","door-sliding-open","doorbell","doorbell-video","dot-net","dots-circle","dots-grid","dots-hexagon","dots-horizontal","dots-horizontal-circle","dots-horizontal-circle-outline","dots-square","dots-triangle","dots-vertical","dots-vertical-circle","dots-vertical-circle-outline","douban","download","download-box","download-box-outline","download-circle","download-circle-outline","download-lock","download-lock-outline","download-multiple","download-multiple-outline","download-network","download-network-outline","download-off","download-off-outline","download-outline","drag","drag-horizontal","drag-horizontal-variant","drag-variant","drag-vertical","drag-vertical-variant","drama-masks","draw","draw-pen","drawing","drawing-box","dresser","dresser-outline","dribbble","dribbble-box","drone","dropbox","drupal","duck","dumbbell","dump-truck","ear-hearing","ear-hearing-loop","ear-hearing-off","earbuds","earbuds-off","earbuds-off-outline","earbuds-outline","earth","earth-arrow-down","earth-arrow-left","earth-arrow-right","earth-arrow-up","earth-box","earth-box-minus","earth-box-off","earth-box-plus","earth-box-remove","earth-minus","earth-off","earth-plus","earth-remove","ebay","egg","egg-easter","egg-fried","egg-off","egg-off-outline","egg-outline","eiffel-tower","eight-track","eject","eject-circle","eject-circle-outline","eject-outline","electric-switch","electric-switch-closed","electron-framework","elephant","elevation-decline","elevation-rise","elevator","elevator-down","elevator-passenger","elevator-passenger-off","elevator-passenger-off-outline","elevator-passenger-outline","elevator-up","ellipse","ellipse-outline","email","email-alert","email-alert-outline","email-arrow-left","email-arrow-left-outline","email-arrow-right","email-arrow-right-outline","email-box","email-check","email-check-outline","email-edit","email-edit-outline","email-fast","email-fast-outline","email-heart-outline","email-lock","email-lock-outline","email-mark-as-unread","email-minus","email-minus-outline","email-multiple","email-multiple-outline","email-newsletter","email-off","email-off-outline","email-open","email-open-heart-outline","email-open-multiple","email-open-multiple-outline","email-open-outline","email-outline","email-plus","email-plus-outline","email-remove","email-remove-outline","email-seal","email-seal-outline","email-search","email-search-outline","email-sync","email-sync-outline","email-variant","ember","emby","emoticon","emoticon-angry","emoticon-angry-outline","emoticon-confused","emoticon-confused-outline","emoticon-cool","emoticon-cool-outline","emoticon-cry","emoticon-cry-outline","emoticon-dead","emoticon-dead-outline","emoticon-devil","emoticon-devil-outline","emoticon-excited","emoticon-excited-outline","emoticon-frown","emoticon-frown-outline","emoticon-happy","emoticon-happy-outline","emoticon-kiss","emoticon-kiss-outline","emoticon-lol","emoticon-lol-outline","emoticon-minus","emoticon-minus-outline","emoticon-neutral","emoticon-neutral-outline","emoticon-outline","emoticon-plus","emoticon-plus-outline","emoticon-poop","emoticon-poop-outline","emoticon-remove","emoticon-remove-outline","emoticon-sad","emoticon-sad-outline","emoticon-sick","emoticon-sick-outline","emoticon-tongue","emoticon-tongue-outline","emoticon-wink","emoticon-wink-outline","engine","engine-off","engine-off-outline","engine-outline","epsilon","equal","equal-box","equalizer","equalizer-outline","eraser","eraser-variant","escalator","escalator-box","escalator-down","escalator-up","eslint","et","ethereum","ethernet","ethernet-cable","ethernet-cable-off","ethernet-off","etsy","ev-plug-ccs1","ev-plug-ccs2","ev-plug-chademo","ev-plug-tesla","ev-plug-type1","ev-plug-type2","ev-station","eventbrite","evernote","excavator","exclamation","exclamation-thick","exit-run","exit-to-app","expand-all","expand-all-outline","expansion-card","expansion-card-variant","exponent","exponent-box","export","export-variant","eye","eye-arrow-left","eye-arrow-left-outline","eye-arrow-right","eye-arrow-right-outline","eye-check","eye-check-outline","eye-circle","eye-circle-outline","eye-closed","eye-lock","eye-lock-open","eye-lock-open-outline","eye-lock-outline","eye-minus","eye-minus-outline","eye-off","eye-off-outline","eye-outline","eye-plus","eye-plus-outline","eye-refresh","eye-refresh-outline","eye-remove","eye-remove-outline","eye-settings","eye-settings-outline","eyedropper","eyedropper-minus","eyedropper-off","eyedropper-plus","eyedropper-remove","eyedropper-variant","face-agent","face-man","face-man-outline","face-man-profile","face-man-shimmer","face-man-shimmer-outline","face-mask","face-mask-outline","face-recognition","face-woman","face-woman-outline","face-woman-profile","face-woman-shimmer","face-woman-shimmer-outline","facebook","facebook-box","facebook-gaming","facebook-messenger","facebook-workplace","factory","family-tree","fan","fan-alert","fan-auto","fan-chevron-down","fan-chevron-up","fan-clock","fan-minus","fan-off","fan-plus","fan-remove","fan-speed-1","fan-speed-2","fan-speed-3","fast-forward","fast-forward-10","fast-forward-15","fast-forward-30","fast-forward-45","fast-forward-5","fast-forward-60","fast-forward-outline","faucet","faucet-variant","fax","feather","feature-search","feature-search-outline","fedora","fence","fence-electric","fencing","ferris-wheel","ferry","file","file-account","file-account-outline","file-alert","file-alert-outline","file-arrow-left-right","file-arrow-left-right-outline","file-arrow-up-down","file-arrow-up-down-outline","file-cabinet","file-cad","file-cad-box","file-cancel","file-cancel-outline","file-certificate","file-certificate-outline","file-chart","file-chart-check","file-chart-check-outline","file-chart-outline","file-check","file-check-outline","file-clock","file-clock-outline","file-cloud","file-cloud-outline","file-code","file-code-outline","file-cog","file-cog-outline","file-compare","file-delimited","file-delimited-outline","file-document","file-document-alert","file-document-alert-outline","file-document-arrow-right","file-document-arrow-right-outline","file-document-check","file-document-check-outline","file-document-edit","file-document-edit-outline","file-document-minus","file-document-minus-outline","file-document-multiple","file-document-multiple-outline","file-document-outline","file-document-plus","file-document-plus-outline","file-document-refresh","file-document-refresh-outline","file-document-remove","file-document-remove-outline","file-download","file-download-outline","file-edit","file-edit-outline","file-excel","file-excel-box","file-excel-box-outline","file-excel-outline","file-export","file-export-outline","file-eye","file-eye-outline","file-find","file-find-outline","file-gif-box","file-hidden","file-image","file-image-box","file-image-marker","file-image-marker-outline","file-image-minus","file-image-minus-outline","file-image-outline","file-image-plus","file-image-plus-outline","file-image-remove","file-image-remove-outline","file-import","file-import-outline","file-jpg-box","file-key","file-key-outline","file-link","file-link-outline","file-lock","file-lock-open","file-lock-open-outline","file-lock-outline","file-marker","file-marker-outline","file-minus","file-minus-outline","file-move","file-move-outline","file-multiple","file-multiple-outline","file-music","file-music-outline","file-outline","file-pdf","file-pdf-box","file-pdf-box-outline","file-pdf-outline","file-percent","file-percent-outline","file-phone","file-phone-outline","file-plus","file-plus-outline","file-png-box","file-powerpoint","file-powerpoint-box","file-powerpoint-box-outline","file-powerpoint-outline","file-presentation-box","file-question","file-question-outline","file-refresh","file-refresh-outline","file-remove","file-remove-outline","file-replace","file-replace-outline","file-restore","file-restore-outline","file-rotate-left","file-rotate-left-outline","file-rotate-right","file-rotate-right-outline","file-search","file-search-outline","file-send","file-send-outline","file-settings","file-settings-outline","file-sign","file-star","file-star-four-points","file-star-four-points-outline","file-star-outline","file-swap","file-swap-outline","file-sync","file-sync-outline","file-table","file-table-box","file-table-box-multiple","file-table-box-multiple-outline","file-table-box-outline","file-table-outline","file-tree","file-tree-outline","file-undo","file-undo-outline","file-upload","file-upload-outline","file-video","file-video-outline","file-word","file-word-box","file-word-box-outline","file-word-outline","file-xml","file-xml-box","fill","film","filmstrip","filmstrip-box","filmstrip-box-multiple","filmstrip-off","filter","filter-check","filter-check-outline","filter-cog","filter-cog-outline","filter-menu","filter-menu-outline","filter-minus","filter-minus-outline","filter-multiple","filter-multiple-outline","filter-off","filter-off-outline","filter-outline","filter-plus","filter-plus-outline","filter-remove","filter-remove-outline","filter-settings","filter-settings-outline","filter-variant","filter-variant-minus","filter-variant-plus","filter-variant-remove","finance","find-replace","fingerprint","fingerprint-off","fire","fire-alert","fire-circle","fire-extinguisher","fire-hydrant","fire-hydrant-alert","fire-hydrant-off","fire-off","fire-station","fire-truck","firebase","firefox","fireplace","fireplace-off","firewire","firework","firework-off","fish","fish-off","fishbowl","fishbowl-outline","fit-to-page","fit-to-page-outline","fit-to-screen","fit-to-screen-outline","flag","flag-checkered","flag-checkered-variant","flag-minus","flag-minus-outline","flag-off","flag-off-outline","flag-outline","flag-outline-variant","flag-plus","flag-plus-outline","flag-remove","flag-remove-outline","flag-triangle","flag-variant","flag-variant-minus","flag-variant-minus-outline","flag-variant-off","flag-variant-off-outline","flag-variant-outline","flag-variant-plus","flag-variant-plus-outline","flag-variant-remove","flag-variant-remove-outline","flare","flash","flash-alert","flash-alert-outline","flash-auto","flash-off","flash-off-outline","flash-outline","flash-red-eye","flash-triangle","flash-triangle-outline","flashlight","flashlight-off","flask","flask-empty","flask-empty-minus","flask-empty-minus-outline","flask-empty-off","flask-empty-off-outline","flask-empty-outline","flask-empty-plus","flask-empty-plus-outline","flask-empty-remove","flask-empty-remove-outline","flask-minus","flask-minus-outline","flask-off","flask-off-outline","flask-outline","flask-plus","flask-plus-outline","flask-remove","flask-remove-outline","flask-round-bottom","flask-round-bottom-empty","flask-round-bottom-empty-outline","flask-round-bottom-outline","flattr","fleur-de-lis","flickr","flickr-after","flickr-before","flip-horizontal","flip-to-back","flip-to-front","flip-vertical","floor-1","floor-2","floor-3","floor-a","floor-b","floor-g","floor-l","floor-lamp","floor-lamp-dual","floor-lamp-dual-outline","floor-lamp-outline","floor-lamp-torchiere","floor-lamp-torchiere-outline","floor-lamp-torchiere-variant","floor-lamp-torchiere-variant-outline","floor-plan","floppy","floppy-variant","flower","flower-outline","flower-pollen","flower-pollen-outline","flower-poppy","flower-tulip","flower-tulip-outline","focus-auto","focus-field","focus-field-horizontal","focus-field-vertical","folder","folder-account","folder-account-outline","folder-alert","folder-alert-outline","folder-arrow-down","folder-arrow-down-outline","folder-arrow-left","folder-arrow-left-outline","folder-arrow-left-right","folder-arrow-left-right-outline","folder-arrow-right","folder-arrow-right-outline","folder-arrow-up","folder-arrow-up-down","folder-arrow-up-down-outline","folder-arrow-up-outline","folder-cancel","folder-cancel-outline","folder-check","folder-check-outline","folder-clock","folder-clock-outline","folder-cog","folder-cog-outline","folder-download","folder-download-outline","folder-edit","folder-edit-outline","folder-eye","folder-eye-outline","folder-file","folder-file-outline","folder-google-drive","folder-heart","folder-heart-outline","folder-hidden","folder-home","folder-home-outline","folder-image","folder-information","folder-information-outline","folder-key","folder-key-network","folder-key-network-outline","folder-key-outline","folder-lock","folder-lock-open","folder-lock-open-outline","folder-lock-outline","folder-marker","folder-marker-outline","folder-minus","folder-minus-outline","folder-move","folder-move-outline","folder-multiple","folder-multiple-image","folder-multiple-outline","folder-multiple-plus","folder-multiple-plus-outline","folder-music","folder-music-outline","folder-network","folder-network-outline","folder-off","folder-off-outline","folder-open","folder-open-outline","folder-outline","folder-outline-lock","folder-play","folder-play-outline","folder-plus","folder-plus-outline","folder-pound","folder-pound-outline","folder-question","folder-question-outline","folder-refresh","folder-refresh-outline","folder-remove","folder-remove-outline","folder-search","folder-search-outline","folder-settings","folder-settings-outline","folder-star","folder-star-multiple","folder-star-multiple-outline","folder-star-outline","folder-swap","folder-swap-outline","folder-sync","folder-sync-outline","folder-table","folder-table-outline","folder-text","folder-text-outline","folder-upload","folder-upload-outline","folder-wrench","folder-wrench-outline","folder-zip","folder-zip-outline","font-awesome","food","food-apple","food-apple-outline","food-croissant","food-drumstick","food-drumstick-off","food-drumstick-off-outline","food-drumstick-outline","food-fork-drink","food-halal","food-hot-dog","food-kosher","food-off","food-off-outline","food-outline","food-steak","food-steak-off","food-takeout-box","food-takeout-box-outline","food-turkey","food-variant","food-variant-off","foot-print","football","football-australian","football-helmet","footer","forest","forest-outline","forklift","form-dropdown","form-select","form-textarea","form-textbox","form-textbox-lock","form-textbox-password","format-align-bottom","format-align-center","format-align-justify","format-align-left","format-align-middle","format-align-right","format-align-top","format-annotation-minus","format-annotation-plus","format-bold","format-clear","format-color","format-color-fill","format-color-highlight","format-color-marker-cancel","format-color-text","format-columns","format-float-center","format-float-left","format-float-none","format-float-right","format-font","format-font-size-decrease","format-font-size-increase","format-header-1","format-header-2","format-header-3","format-header-4","format-header-5","format-header-6","format-header-decrease","format-header-down","format-header-equal","format-header-increase","format-header-pound","format-header-up","format-horizontal-align-center","format-horizontal-align-left","format-horizontal-align-right","format-indent-decrease","format-indent-increase","format-italic","format-letter-case","format-letter-case-lower","format-letter-case-upper","format-letter-ends-with","format-letter-matches","format-letter-spacing","format-letter-spacing-variant","format-letter-starts-with","format-line-height","format-line-spacing","format-line-style","format-line-weight","format-list-bulleted","format-list-bulleted-square","format-list-bulleted-triangle","format-list-bulleted-type","format-list-checkbox","format-list-checks","format-list-group","format-list-group-plus","format-list-numbered","format-list-numbered-rtl","format-list-text","format-list-triangle","format-overline","format-page-break","format-page-split","format-paint","format-paragraph","format-paragraph-spacing","format-pilcrow","format-pilcrow-arrow-left","format-pilcrow-arrow-right","format-quote-close","format-quote-close-outline","format-quote-open","format-quote-open-outline","format-rotate-90","format-section","format-size","format-strikethrough","format-strikethrough-variant","format-subscript","format-superscript","format-text","format-text-rotation-angle-down","format-text-rotation-angle-up","format-text-rotation-down","format-text-rotation-down-vertical","format-text-rotation-none","format-text-rotation-up","format-text-rotation-vertical","format-text-variant","format-text-variant-outline","format-text-wrapping-clip","format-text-wrapping-overflow","format-text-wrapping-wrap","format-textbox","format-title","format-underline","format-underline-wavy","format-vertical-align-bottom","format-vertical-align-center","format-vertical-align-top","format-wrap-inline","format-wrap-square","format-wrap-tight","format-wrap-top-bottom","forum","forum-minus","forum-minus-outline","forum-outline","forum-plus","forum-plus-outline","forum-remove","forum-remove-outline","forward","forwardburger","fountain","fountain-pen","fountain-pen-tip","foursquare","fraction-one-half","freebsd","french-fries","frequently-asked-questions","fridge","fridge-alert","fridge-alert-outline","fridge-bottom","fridge-industrial","fridge-industrial-alert","fridge-industrial-alert-outline","fridge-industrial-off","fridge-industrial-off-outline","fridge-industrial-outline","fridge-off","fridge-off-outline","fridge-outline","fridge-top","fridge-variant","fridge-variant-alert","fridge-variant-alert-outline","fridge-variant-off","fridge-variant-off-outline","fridge-variant-outline","fruit-cherries","fruit-cherries-off","fruit-citrus","fruit-citrus-off","fruit-grapes","fruit-grapes-outline","fruit-pear","fruit-pineapple","fruit-watermelon","fuel","fuel-cell","fullscreen","fullscreen-exit","function","function-variant","furigana-horizontal","furigana-vertical","fuse","fuse-alert","fuse-blade","fuse-off","gamepad","gamepad-circle","gamepad-circle-down","gamepad-circle-left","gamepad-circle-outline","gamepad-circle-right","gamepad-circle-up","gamepad-down","gamepad-left","gamepad-outline","gamepad-right","gamepad-round","gamepad-round-down","gamepad-round-left","gamepad-round-outline","gamepad-round-right","gamepad-round-up","gamepad-square","gamepad-square-outline","gamepad-up","gamepad-variant","gamepad-variant-outline","gamma","gantry-crane","garage","garage-alert","garage-alert-variant","garage-lock","garage-open","garage-open-variant","garage-variant","garage-variant-lock","gas-burner","gas-cylinder","gas-station","gas-station-in-use","gas-station-in-use-outline","gas-station-off","gas-station-off-outline","gas-station-outline","gate","gate-alert","gate-and","gate-arrow-left","gate-arrow-right","gate-buffer","gate-nand","gate-nor","gate-not","gate-open","gate-or","gate-xnor","gate-xor","gatsby","gauge","gauge-empty","gauge-full","gauge-low","gavel","gender-female","gender-male","gender-male-female","gender-male-female-variant","gender-non-binary","gender-transgender","generator-mobile","generator-portable","generator-stationary","gentoo","gesture","gesture-double-tap","gesture-pinch","gesture-spread","gesture-swipe","gesture-swipe-down","gesture-swipe-horizontal","gesture-swipe-left","gesture-swipe-right","gesture-swipe-up","gesture-swipe-vertical","gesture-tap","gesture-tap-box","gesture-tap-button","gesture-tap-hold","gesture-two-double-tap","gesture-two-tap","ghost","ghost-off","ghost-off-outline","ghost-outline","gif","gift","gift-off","gift-off-outline","gift-open","gift-open-outline","gift-outline","git","github","github-box","github-face","gitlab","glass-cocktail","glass-cocktail-off","glass-flute","glass-fragile","glass-mug","glass-mug-off","glass-mug-variant","glass-mug-variant-off","glass-pint-outline","glass-stange","glass-tulip","glass-wine","glassdoor","glasses","globe-light","globe-light-outline","globe-model","gmail","gnome","go-kart","go-kart-track","gog","gold","golf","golf-cart","golf-tee","gondola","goodreads","google","google-ads","google-allo","google-analytics","google-assistant","google-cardboard","google-chrome","google-circles","google-circles-communities","google-circles-extended","google-circles-group","google-classroom","google-cloud","google-downasaur","google-drive","google-earth","google-fit","google-glass","google-hangouts","google-home","google-keep","google-lens","google-maps","google-my-business","google-nearby","google-pages","google-photos","google-physical-web","google-play","google-plus","google-plus-box","google-podcast","google-spreadsheet","google-street-view","google-translate","google-wallet","gradient-horizontal","gradient-vertical","grain","graph","graph-outline","graphql","grass","grave-stone","grease-pencil","greater-than","greater-than-or-equal","greenhouse","grid","grid-large","grid-off","grill","grill-outline","group","guitar-acoustic","guitar-electric","guitar-pick","guitar-pick-outline","guy-fawkes-mask","gymnastics","hail","hair-dryer","hair-dryer-outline","halloween","hamburger","hamburger-check","hamburger-minus","hamburger-off","hamburger-plus","hamburger-remove","hammer","hammer-screwdriver","hammer-sickle","hammer-wrench","hand-back-left","hand-back-left-off","hand-back-left-off-outline","hand-back-left-outline","hand-back-right","hand-back-right-off","hand-back-right-off-outline","hand-back-right-outline","hand-clap","hand-clap-off","hand-coin","hand-coin-outline","hand-cycle","hand-extended","hand-extended-outline","hand-front-left","hand-front-left-outline","hand-front-right","hand-front-right-outline","hand-heart","hand-heart-outline","hand-left","hand-okay","hand-peace","hand-peace-variant","hand-pointing-down","hand-pointing-left","hand-pointing-right","hand-pointing-up","hand-right","hand-saw","hand-wash","hand-wash-outline","hand-water","hand-wave","hand-wave-outline","handball","handcuffs","hands-pray","handshake","handshake-outline","hanger","hangouts","hard-hat","harddisk","harddisk-plus","harddisk-remove","hat-fedora","hazard-lights","hdmi-port","hdr","hdr-off","head","head-alert","head-alert-outline","head-check","head-check-outline","head-cog","head-cog-outline","head-dots-horizontal","head-dots-horizontal-outline","head-flash","head-flash-outline","head-heart","head-heart-outline","head-lightbulb","head-lightbulb-outline","head-minus","head-minus-outline","head-outline","head-plus","head-plus-outline","head-question","head-question-outline","head-remove","head-remove-outline","head-snowflake","head-snowflake-outline","head-sync","head-sync-outline","headphones","headphones-bluetooth","headphones-box","headphones-off","headphones-settings","headset","headset-dock","headset-off","heart","heart-box","heart-box-outline","heart-broken","heart-broken-outline","heart-circle","heart-circle-outline","heart-cog","heart-cog-outline","heart-flash","heart-half","heart-half-full","heart-half-outline","heart-minus","heart-minus-outline","heart-multiple","heart-multiple-outline","heart-off","heart-off-outline","heart-outline","heart-plus","heart-plus-outline","heart-pulse","heart-remove","heart-remove-outline","heart-search","heart-settings","heart-settings-outline","heat-pump","heat-pump-outline","heat-wave","heating-coil","helicopter","help","help-box","help-box-multiple","help-box-multiple-outline","help-box-outline","help-circle","help-circle-outline","help-network","help-network-outline","help-rhombus","help-rhombus-outline","hexadecimal","hexagon","hexagon-multiple","hexagon-multiple-outline","hexagon-outline","hexagon-slice-1","hexagon-slice-2","hexagon-slice-3","hexagon-slice-4","hexagon-slice-5","hexagon-slice-6","hexagram","hexagram-outline","high-definition","high-definition-box","highway","hiking","history","hockey-puck","hockey-sticks","hololens","home","home-account","home-alert","home-alert-outline","home-analytics","home-assistant","home-automation","home-battery","home-battery-outline","home-circle","home-circle-outline","home-city","home-city-outline","home-clock","home-clock-outline","home-currency-usd","home-edit","home-edit-outline","home-export-outline","home-flood","home-floor-0","home-floor-1","home-floor-2","home-floor-3","home-floor-a","home-floor-b","home-floor-g","home-floor-l","home-floor-negative-1","home-group","home-group-minus","home-group-plus","home-group-remove","home-heart","home-import-outline","home-lightbulb","home-lightbulb-outline","home-lightning-bolt","home-lightning-bolt-outline","home-lock","home-lock-open","home-map-marker","home-minus","home-minus-outline","home-modern","home-off","home-off-outline","home-outline","home-percent","home-percent-outline","home-plus","home-plus-outline","home-remove","home-remove-outline","home-roof","home-search","home-search-outline","home-silo","home-silo-outline","home-sound-in","home-sound-in-outline","home-sound-out","home-sound-out-outline","home-switch","home-switch-outline","home-thermometer","home-thermometer-outline","home-variant","home-variant-outline","hook","hook-off","hoop-house","hops","horizontal-rotate-clockwise","horizontal-rotate-counterclockwise","horse","horse-human","horse-variant","horse-variant-fast","horseshoe","hospital","hospital-box","hospital-box-outline","hospital-building","hospital-marker","hot-tub","hours-12","hours-24","houzz","houzz-box","hub","hub-outline","hubspot","hulu","human","human-baby-changing-table","human-cane","human-capacity-decrease","human-capacity-increase","human-child","human-dolly","human-edit","human-female","human-female-boy","human-female-dance","human-female-female","human-female-female-child","human-female-girl","human-greeting","human-greeting-proximity","human-greeting-variant","human-handsdown","human-handsup","human-male","human-male-board","human-male-board-poll","human-male-boy","human-male-child","human-male-female","human-male-female-child","human-male-girl","human-male-height","human-male-height-variant","human-male-male","human-male-male-child","human-non-binary","human-pregnant","human-queue","human-scooter","human-walker","human-wheelchair","human-white-cane","humble-bundle","hurricane","hvac","hvac-off","hydraulic-oil-level","hydraulic-oil-temperature","hydro-power","hydrogen-station","ice-cream","ice-cream-off","ice-pop","id-card","identifier","ideogram-cjk","ideogram-cjk-variant","image","image-album","image-area","image-area-close","image-auto-adjust","image-broken","image-broken-variant","image-check","image-check-outline","image-edit","image-edit-outline","image-filter-black-white","image-filter-center-focus","image-filter-center-focus-strong","image-filter-center-focus-strong-outline","image-filter-center-focus-weak","image-filter-drama","image-filter-drama-outline","image-filter-frames","image-filter-hdr","image-filter-hdr-outline","image-filter-none","image-filter-tilt-shift","image-filter-vintage","image-frame","image-lock","image-lock-outline","image-marker","image-marker-outline","image-minus","image-minus-outline","image-move","image-multiple","image-multiple-outline","image-off","image-off-outline","image-outline","image-plus","image-plus-outline","image-refresh","image-refresh-outline","image-remove","image-remove-outline","image-search","image-search-outline","image-size-select-actual","image-size-select-large","image-size-select-small","image-sync","image-sync-outline","image-text","import","inbox","inbox-arrow-down","inbox-arrow-down-outline","inbox-arrow-up","inbox-arrow-up-outline","inbox-full","inbox-full-outline","inbox-multiple","inbox-multiple-outline","inbox-outline","inbox-remove","inbox-remove-outline","incognito","incognito-circle","incognito-circle-off","incognito-off","indent","induction","infinity","information","information-box","information-box-outline","information-off","information-off-outline","information-outline","information-slab-box","information-slab-box-outline","information-slab-circle","information-slab-circle-outline","information-slab-symbol","information-symbol","information-variant","information-variant-box","information-variant-box-outline","information-variant-circle","information-variant-circle-outline","instagram","instapaper","instrument-triangle","integrated-circuit-chip","invert-colors","invert-colors-off","invoice","invoice-arrow-left","invoice-arrow-left-outline","invoice-arrow-right","invoice-arrow-right-outline","invoice-check","invoice-check-outline","invoice-clock","invoice-clock-outline","invoice-edit","invoice-edit-outline","invoice-export-outline","invoice-fast","invoice-fast-outline","invoice-import","invoice-import-outline","invoice-list","invoice-list-outline","invoice-minus","invoice-minus-outline","invoice-multiple","invoice-multiple-outline","invoice-outline","invoice-plus","invoice-plus-outline","invoice-remove","invoice-remove-outline","invoice-send","invoice-send-outline","invoice-text","invoice-text-arrow-left","invoice-text-arrow-left-outline","invoice-text-arrow-right","invoice-text-arrow-right-outline","invoice-text-check","invoice-text-check-outline","invoice-text-clock","invoice-text-clock-outline","invoice-text-edit","invoice-text-edit-outline","invoice-text-fast","invoice-text-fast-outline","invoice-text-minus","invoice-text-minus-outline","invoice-text-multiple","invoice-text-multiple-outline","invoice-text-outline","invoice-text-plus","invoice-text-plus-outline","invoice-text-remove","invoice-text-remove-outline","invoice-text-send","invoice-text-send-outline","iobroker","ip","ip-network","ip-network-outline","ip-outline","ipod","iron","iron-board","iron-outline","island","island-variant","itunes","iv-bag","jabber","jeepney","jellyfish","jellyfish-outline","jira","jquery","jsfiddle","jump-rope","kabaddi","kangaroo","karate","kayaking","keg","kettle","kettle-alert","kettle-alert-outline","kettle-off","kettle-off-outline","kettle-outline","kettle-pour-over","kettle-steam","kettle-steam-outline","kettlebell","key","key-alert","key-alert-outline","key-arrow-right","key-chain","key-chain-variant","key-change","key-link","key-minus","key-outline","key-plus","key-remove","key-star","key-variant","key-wireless","keyboard","keyboard-backspace","keyboard-caps","keyboard-close","keyboard-close-outline","keyboard-esc","keyboard-f1","keyboard-f10","keyboard-f11","keyboard-f12","keyboard-f2","keyboard-f3","keyboard-f4","keyboard-f5","keyboard-f6","keyboard-f7","keyboard-f8","keyboard-f9","keyboard-off","keyboard-off-outline","keyboard-outline","keyboard-return","keyboard-settings","keyboard-settings-outline","keyboard-space","keyboard-tab","keyboard-tab-reverse","keyboard-variant","khanda","kickstarter","kite","kite-outline","kitesurfing","klingon","knife","knife-military","knob","koala","kodi","kubernetes","label","label-multiple","label-multiple-outline","label-off","label-off-outline","label-outline","label-percent","label-percent-outline","label-variant","label-variant-outline","ladder","ladybug","lambda","lamp","lamp-outline","lamps","lamps-outline","lan","lan-check","lan-connect","lan-disconnect","lan-pending","land-fields","land-plots","land-plots-circle","land-plots-circle-variant","land-plots-marker","land-rows-horizontal","land-rows-vertical","landslide","landslide-outline","language-c","language-cpp","language-csharp","language-css3","language-fortran","language-go","language-haskell","language-html5","language-java","language-javascript","language-jsx","language-kotlin","language-lua","language-markdown","language-markdown-outline","language-php","language-python","language-python-text","language-r","language-ruby","language-ruby-on-rails","language-rust","language-swift","language-typescript","language-xaml","laptop","laptop-account","laptop-chromebook","laptop-mac","laptop-off","laptop-windows","laravel","laser-pointer","lasso","lastfm","lastpass","latitude","launch","lava-lamp","layers","layers-edit","layers-minus","layers-off","layers-off-outline","layers-outline","layers-plus","layers-remove","layers-search","layers-search-outline","layers-triple","layers-triple-outline","lead-pencil","leaf","leaf-circle","leaf-circle-outline","leaf-maple","leaf-maple-off","leaf-off","leak","leak-off","lectern","led-off","led-on","led-outline","led-strip","led-strip-variant","led-strip-variant-off","led-variant-off","led-variant-on","led-variant-outline","leek","less-than","less-than-or-equal","library","library-books","library-outline","library-shelves","license","lifebuoy","light-flood-down","light-flood-up","light-recessed","light-switch","light-switch-off","lightbulb","lightbulb-alert","lightbulb-alert-outline","lightbulb-auto","lightbulb-auto-outline","lightbulb-cfl","lightbulb-cfl-off","lightbulb-cfl-spiral","lightbulb-cfl-spiral-off","lightbulb-fluorescent-tube","lightbulb-fluorescent-tube-outline","lightbulb-group","lightbulb-group-off","lightbulb-group-off-outline","lightbulb-group-outline","lightbulb-multiple","lightbulb-multiple-off","lightbulb-multiple-off-outline","lightbulb-multiple-outline","lightbulb-night","lightbulb-night-outline","lightbulb-off","lightbulb-off-outline","lightbulb-on","lightbulb-on-10","lightbulb-on-20","lightbulb-on-30","lightbulb-on-40","lightbulb-on-50","lightbulb-on-60","lightbulb-on-70","lightbulb-on-80","lightbulb-on-90","lightbulb-on-outline","lightbulb-outline","lightbulb-question","lightbulb-question-outline","lightbulb-spot","lightbulb-spot-off","lightbulb-variant","lightbulb-variant-outline","lighthouse","lighthouse-on","lightning-bolt","lightning-bolt-circle","lightning-bolt-outline","line-scan","lingerie","link","link-box","link-box-outline","link-box-variant","link-box-variant-outline","link-circle","link-circle-outline","link-edit","link-lock","link-off","link-plus","link-variant","link-variant-minus","link-variant-off","link-variant-plus","link-variant-remove","linkedin","linode","linux","linux-mint","lipstick","liquid-spot","liquor","list-box","list-box-outline","list-status","litecoin","loading","location-enter","location-exit","lock","lock-alert","lock-alert-outline","lock-check","lock-check-outline","lock-clock","lock-minus","lock-minus-outline","lock-off","lock-off-outline","lock-open","lock-open-alert","lock-open-alert-outline","lock-open-check","lock-open-check-outline","lock-open-minus","lock-open-minus-outline","lock-open-outline","lock-open-plus","lock-open-plus-outline","lock-open-remove","lock-open-remove-outline","lock-open-variant","lock-open-variant-outline","lock-outline","lock-pattern","lock-percent","lock-percent-open","lock-percent-open-outline","lock-percent-open-variant","lock-percent-open-variant-outline","lock-percent-outline","lock-plus","lock-plus-outline","lock-question","lock-remove","lock-remove-outline","lock-reset","lock-smart","locker","locker-multiple","login","login-variant","logout","logout-variant","longitude","looks","lotion","lotion-outline","lotion-plus","lotion-plus-outline","loupe","lumx","lungs","lyft","mace","magazine-pistol","magazine-rifle","magic-staff","magnet","magnet-on","magnify","magnify-close","magnify-expand","magnify-minus","magnify-minus-cursor","magnify-minus-outline","magnify-plus","magnify-plus-cursor","magnify-plus-outline","magnify-remove-cursor","magnify-remove-outline","magnify-scan","mail","mail-ru","mailbox","mailbox-open","mailbox-open-outline","mailbox-open-up","mailbox-open-up-outline","mailbox-outline","mailbox-up","mailbox-up-outline","manjaro","map","map-check","map-check-outline","map-clock","map-clock-outline","map-legend","map-marker","map-marker-account","map-marker-account-outline","map-marker-alert","map-marker-alert-outline","map-marker-check","map-marker-check-outline","map-marker-circle","map-marker-distance","map-marker-down","map-marker-left","map-marker-left-outline","map-marker-minus","map-marker-minus-outline","map-marker-multiple","map-marker-multiple-outline","map-marker-off","map-marker-off-outline","map-marker-outline","map-marker-path","map-marker-plus","map-marker-plus-outline","map-marker-question","map-marker-question-outline","map-marker-radius","map-marker-radius-outline","map-marker-remove","map-marker-remove-outline","map-marker-remove-variant","map-marker-right","map-marker-right-outline","map-marker-star","map-marker-star-outline","map-marker-up","map-minus","map-outline","map-plus","map-search","map-search-outline","mapbox","margin","marker","marker-cancel","marker-check","mastodon","mastodon-variant","material-design","material-ui","math-compass","math-cos","math-integral","math-integral-box","math-log","math-norm","math-norm-box","math-sin","math-tan","matrix","maxcdn","medal","medal-outline","medical-bag","medical-cotton-swab","medication","medication-outline","meditation","medium","meetup","memory","memory-arrow-down","menorah","menorah-fire","menu","menu-close","menu-down","menu-down-outline","menu-left","menu-left-outline","menu-open","menu-right","menu-right-outline","menu-swap","menu-swap-outline","menu-up","menu-up-outline","merge","message","message-alert","message-alert-outline","message-arrow-left","message-arrow-left-outline","message-arrow-right","message-arrow-right-outline","message-badge","message-badge-outline","message-bookmark","message-bookmark-outline","message-bulleted","message-bulleted-off","message-check","message-check-outline","message-cog","message-cog-outline","message-draw","message-fast","message-fast-outline","message-flash","message-flash-outline","message-image","message-image-outline","message-lock","message-lock-outline","message-minus","message-minus-outline","message-off","message-off-outline","message-outline","message-plus","message-plus-outline","message-processing","message-processing-outline","message-question","message-question-outline","message-reply","message-reply-outline","message-reply-text","message-reply-text-outline","message-settings","message-settings-outline","message-star","message-star-outline","message-text","message-text-clock","message-text-clock-outline","message-text-fast","message-text-fast-outline","message-text-lock","message-text-lock-outline","message-text-outline","message-video","meteor","meter-electric","meter-electric-outline","meter-gas","meter-gas-outline","metronome","metronome-tick","micro-sd","microphone","microphone-message","microphone-message-off","microphone-minus","microphone-off","microphone-outline","microphone-plus","microphone-question","microphone-question-outline","microphone-settings","microphone-variant","microphone-variant-off","microscope","microsoft","microsoft-access","microsoft-azure","microsoft-azure-devops","microsoft-bing","microsoft-dynamics-365","microsoft-edge","microsoft-edge-legacy","microsoft-excel","microsoft-internet-explorer","microsoft-office","microsoft-onedrive","microsoft-onenote","microsoft-outlook","microsoft-powerpoint","microsoft-sharepoint","microsoft-teams","microsoft-visual-studio","microsoft-visual-studio-code","microsoft-windows","microsoft-windows-classic","microsoft-word","microsoft-xbox","microsoft-xbox-controller","microsoft-xbox-controller-battery-alert","microsoft-xbox-controller-battery-charging","microsoft-xbox-controller-battery-empty","microsoft-xbox-controller-battery-full","microsoft-xbox-controller-battery-low","microsoft-xbox-controller-battery-medium","microsoft-xbox-controller-battery-unknown","microsoft-xbox-controller-menu","microsoft-xbox-controller-off","microsoft-xbox-controller-view","microsoft-yammer","microwave","microwave-off","middleware","middleware-outline","midi","midi-input","midi-port","mine","minecraft","mini-sd","minidisc","minus","minus-box","minus-box-multiple","minus-box-multiple-outline","minus-box-outline","minus-circle","minus-circle-multiple","minus-circle-multiple-outline","minus-circle-off","minus-circle-off-outline","minus-circle-outline","minus-network","minus-network-outline","minus-thick","mirror","mirror-rectangle","mirror-variant","mixcloud","mixed-martial-arts","mixed-reality","mixer","molecule","molecule-co","molecule-co2","monitor","monitor-account","monitor-arrow-down","monitor-arrow-down-variant","monitor-cellphone","monitor-cellphone-star","monitor-dashboard","monitor-edit","monitor-eye","monitor-lock","monitor-multiple","monitor-off","monitor-screenshot","monitor-share","monitor-shimmer","monitor-small","monitor-speaker","monitor-speaker-off","monitor-star","monitor-vertical","moon-first-quarter","moon-full","moon-last-quarter","moon-new","moon-waning-crescent","moon-waning-gibbous","moon-waxing-crescent","moon-waxing-gibbous","moped","moped-electric","moped-electric-outline","moped-outline","more","mortar-pestle","mortar-pestle-plus","mosque","mosque-outline","mother-heart","mother-nurse","motion","motion-outline","motion-pause","motion-pause-outline","motion-play","motion-play-outline","motion-sensor","motion-sensor-off","motorbike","motorbike-electric","motorbike-off","mouse","mouse-bluetooth","mouse-left-click","mouse-left-click-outline","mouse-move-down","mouse-move-up","mouse-move-vertical","mouse-off","mouse-outline","mouse-right-click","mouse-right-click-outline","mouse-scroll-wheel","mouse-variant","mouse-variant-off","move-resize","move-resize-variant","movie","movie-check","movie-check-outline","movie-cog","movie-cog-outline","movie-edit","movie-edit-outline","movie-filter","movie-filter-outline","movie-minus","movie-minus-outline","movie-off","movie-off-outline","movie-open","movie-open-check","movie-open-check-outline","movie-open-cog","movie-open-cog-outline","movie-open-edit","movie-open-edit-outline","movie-open-minus","movie-open-minus-outline","movie-open-off","movie-open-off-outline","movie-open-outline","movie-open-play","movie-open-play-outline","movie-open-plus","movie-open-plus-outline","movie-open-remove","movie-open-remove-outline","movie-open-settings","movie-open-settings-outline","movie-open-star","movie-open-star-outline","movie-outline","movie-play","movie-play-outline","movie-plus","movie-plus-outline","movie-remove","movie-remove-outline","movie-roll","movie-search","movie-search-outline","movie-settings","movie-settings-outline","movie-star","movie-star-outline","mower","mower-bag","mower-bag-on","mower-on","muffin","multicast","multimedia","multiplication","multiplication-box","mushroom","mushroom-off","mushroom-off-outline","mushroom-outline","music","music-accidental-double-flat","music-accidental-double-sharp","music-accidental-flat","music-accidental-natural","music-accidental-sharp","music-box","music-box-multiple","music-box-multiple-outline","music-box-outline","music-circle","music-circle-outline","music-clef-alto","music-clef-bass","music-clef-treble","music-note","music-note-bluetooth","music-note-bluetooth-off","music-note-eighth","music-note-eighth-dotted","music-note-half","music-note-half-dotted","music-note-minus","music-note-off","music-note-off-outline","music-note-outline","music-note-plus","music-note-quarter","music-note-quarter-dotted","music-note-sixteenth","music-note-sixteenth-dotted","music-note-whole","music-note-whole-dotted","music-off","music-rest-eighth","music-rest-half","music-rest-quarter","music-rest-sixteenth","music-rest-whole","mustache","nail","nas","nativescript","nature","nature-outline","nature-people","nature-people-outline","navigation","navigation-outline","navigation-variant","navigation-variant-outline","near-me","necklace","needle","needle-off","nest-thermostat","netflix","network","network-off","network-off-outline","network-outline","network-pos","network-strength-1","network-strength-1-alert","network-strength-2","network-strength-2-alert","network-strength-3","network-strength-3-alert","network-strength-4","network-strength-4-alert","network-strength-4-cog","network-strength-alert","network-strength-alert-outline","network-strength-off","network-strength-off-outline","network-strength-outline","new-box","newspaper","newspaper-check","newspaper-minus","newspaper-plus","newspaper-remove","newspaper-variant","newspaper-variant-multiple","newspaper-variant-multiple-outline","newspaper-variant-outline","nfc","nfc-off","nfc-search-variant","nfc-tap","nfc-variant","nfc-variant-off","ninja","nintendo-game-boy","nintendo-switch","nintendo-wii","nintendo-wiiu","nix","nodejs","noodles","not-equal","not-equal-variant","note","note-alert","note-alert-outline","note-check","note-check-outline","note-edit","note-edit-outline","note-minus","note-minus-outline","note-multiple","note-multiple-outline","note-off","note-off-outline","note-outline","note-plus","note-plus-outline","note-remove","note-remove-outline","note-search","note-search-outline","note-text","note-text-outline","notebook","notebook-check","notebook-check-outline","notebook-edit","notebook-edit-outline","notebook-heart","notebook-heart-outline","notebook-minus","notebook-minus-outline","notebook-multiple","notebook-outline","notebook-plus","notebook-plus-outline","notebook-remove","notebook-remove-outline","notification-clear-all","npm","npm-variant","npm-variant-outline","nuke","null","numeric","numeric-0","numeric-0-box","numeric-0-box-multiple","numeric-0-box-multiple-outline","numeric-0-box-outline","numeric-0-circle","numeric-0-circle-outline","numeric-1","numeric-1-box","numeric-1-box-multiple","numeric-1-box-multiple-outline","numeric-1-box-outline","numeric-1-circle","numeric-1-circle-outline","numeric-10","numeric-10-box","numeric-10-box-multiple","numeric-10-box-multiple-outline","numeric-10-box-outline","numeric-10-circle","numeric-10-circle-outline","numeric-2","numeric-2-box","numeric-2-box-multiple","numeric-2-box-multiple-outline","numeric-2-box-outline","numeric-2-circle","numeric-2-circle-outline","numeric-3","numeric-3-box","numeric-3-box-multiple","numeric-3-box-multiple-outline","numeric-3-box-outline","numeric-3-circle","numeric-3-circle-outline","numeric-4","numeric-4-box","numeric-4-box-multiple","numeric-4-box-multiple-outline","numeric-4-box-outline","numeric-4-circle","numeric-4-circle-outline","numeric-5","numeric-5-box","numeric-5-box-multiple","numeric-5-box-multiple-outline","numeric-5-box-outline","numeric-5-circle","numeric-5-circle-outline","numeric-6","numeric-6-box","numeric-6-box-multiple","numeric-6-box-multiple-outline","numeric-6-box-outline","numeric-6-circle","numeric-6-circle-outline","numeric-7","numeric-7-box","numeric-7-box-multiple","numeric-7-box-multiple-outline","numeric-7-box-outline","numeric-7-circle","numeric-7-circle-outline","numeric-8","numeric-8-box","numeric-8-box-multiple","numeric-8-box-multiple-outline","numeric-8-box-outline","numeric-8-circle","numeric-8-circle-outline","numeric-9","numeric-9-box","numeric-9-box-multiple","numeric-9-box-multiple-outline","numeric-9-box-outline","numeric-9-circle","numeric-9-circle-outline","numeric-9-plus","numeric-9-plus-box","numeric-9-plus-box-multiple","numeric-9-plus-box-multiple-outline","numeric-9-plus-box-outline","numeric-9-plus-circle","numeric-9-plus-circle-outline","numeric-negative-1","numeric-off","numeric-positive-1","nut","nutrition","nuxt","oar","ocarina","oci","ocr","octagon","octagon-outline","octagram","octagram-edit","octagram-edit-outline","octagram-minus","octagram-minus-outline","octagram-outline","octagram-plus","octagram-plus-outline","octahedron","octahedron-off","odnoklassniki","offer","office-building","office-building-cog","office-building-cog-outline","office-building-marker","office-building-marker-outline","office-building-minus","office-building-minus-outline","office-building-outline","office-building-plus","office-building-plus-outline","office-building-remove","office-building-remove-outline","oil","oil-lamp","oil-level","oil-temperature","om","omega","one-up","onedrive","onenote","onepassword","opacity","open-in-app","open-in-new","open-source-initiative","openid","opera","orbit","orbit-variant","order-alphabetical-ascending","order-alphabetical-descending","order-bool-ascending","order-bool-ascending-variant","order-bool-descending","order-bool-descending-variant","order-numeric-ascending","order-numeric-descending","origin","ornament","ornament-variant","outbox","outdent","outdoor-lamp","outlook","overscan","owl","pac-man","package","package-check","package-down","package-up","package-variant","package-variant-closed","package-variant-closed-check","package-variant-closed-minus","package-variant-closed-plus","package-variant-closed-remove","package-variant-minus","package-variant-plus","package-variant-remove","page-first","page-last","page-layout-body","page-layout-footer","page-layout-header","page-layout-header-footer","page-layout-sidebar-left","page-layout-sidebar-right","page-next","page-next-outline","page-previous","page-previous-outline","pail","pail-minus","pail-minus-outline","pail-off","pail-off-outline","pail-outline","pail-plus","pail-plus-outline","pail-remove","pail-remove-outline","palette","palette-advanced","palette-outline","palette-swatch","palette-swatch-outline","palette-swatch-variant","palm-tree","pan","pan-bottom-left","pan-bottom-right","pan-down","pan-horizontal","pan-left","pan-right","pan-top-left","pan-top-right","pan-up","pan-vertical","panda","pandora","panorama","panorama-fisheye","panorama-horizontal","panorama-horizontal-outline","panorama-outline","panorama-sphere","panorama-sphere-outline","panorama-variant","panorama-variant-outline","panorama-vertical","panorama-vertical-outline","panorama-wide-angle","panorama-wide-angle-outline","paper-cut-vertical","paper-roll","paper-roll-outline","paperclip","paperclip-check","paperclip-lock","paperclip-minus","paperclip-off","paperclip-plus","paperclip-remove","parachute","parachute-outline","paragliding","parking","party-popper","passport","passport-alert","passport-biometric","passport-cancel","passport-check","passport-minus","passport-plus","passport-remove","pasta","patio-heater","patreon","pause","pause-box","pause-box-outline","pause-circle","pause-circle-outline","pause-octagon","pause-octagon-outline","paw","paw-off","paw-off-outline","paw-outline","paypal","peace","peanut","peanut-off","peanut-off-outline","peanut-outline","pen","pen-lock","pen-minus","pen-off","pen-plus","pen-remove","pencil","pencil-box","pencil-box-multiple","pencil-box-multiple-outline","pencil-box-outline","pencil-circle","pencil-circle-outline","pencil-lock","pencil-lock-outline","pencil-minus","pencil-minus-outline","pencil-off","pencil-off-outline","pencil-outline","pencil-plus","pencil-plus-outline","pencil-remove","pencil-remove-outline","pencil-ruler","pencil-ruler-outline","penguin","pentagon","pentagon-outline","pentagram","percent","percent-box","percent-box-outline","percent-circle","percent-circle-outline","percent-outline","periodic-table","periscope","perspective-less","perspective-more","ph","phone","phone-alert","phone-alert-outline","phone-bluetooth","phone-bluetooth-outline","phone-cancel","phone-cancel-outline","phone-check","phone-check-outline","phone-classic","phone-classic-off","phone-clock","phone-dial","phone-dial-outline","phone-forward","phone-forward-outline","phone-hangup","phone-hangup-outline","phone-in-talk","phone-in-talk-outline","phone-incoming","phone-incoming-outgoing","phone-incoming-outgoing-outline","phone-incoming-outline","phone-lock","phone-lock-outline","phone-log","phone-log-outline","phone-message","phone-message-outline","phone-minus","phone-minus-outline","phone-missed","phone-missed-outline","phone-off","phone-off-outline","phone-outgoing","phone-outgoing-outline","phone-outline","phone-paused","phone-paused-outline","phone-plus","phone-plus-outline","phone-refresh","phone-refresh-outline","phone-remove","phone-remove-outline","phone-return","phone-return-outline","phone-ring","phone-ring-outline","phone-rotate-landscape","phone-rotate-portrait","phone-settings","phone-settings-outline","phone-sync","phone-sync-outline","phone-voip","pi","pi-box","pi-hole","piano","piano-off","pickaxe","picture-in-picture-bottom-right","picture-in-picture-bottom-right-outline","picture-in-picture-top-right","picture-in-picture-top-right-outline","pier","pier-crane","pig","pig-variant","pig-variant-outline","piggy-bank","piggy-bank-outline","pill","pill-multiple","pill-off","pillar","pin","pin-off","pin-off-outline","pin-outline","pine-tree","pine-tree-box","pine-tree-fire","pine-tree-variant","pine-tree-variant-outline","pinterest","pinterest-box","pinwheel","pinwheel-outline","pipe","pipe-disconnected","pipe-leak","pipe-valve","pipe-wrench","pirate","pistol","piston","pitchfork","pizza","plane-car","plane-train","play","play-box","play-box-edit-outline","play-box-lock","play-box-lock-open","play-box-lock-open-outline","play-box-lock-outline","play-box-multiple","play-box-multiple-outline","play-box-outline","play-circle","play-circle-outline","play-network","play-network-outline","play-outline","play-pause","play-protected-content","play-speed","playlist-check","playlist-edit","playlist-minus","playlist-music","playlist-music-outline","playlist-play","playlist-plus","playlist-remove","playlist-star","plex","pliers","plus","plus-box","plus-box-multiple","plus-box-multiple-outline","plus-box-outline","plus-circle","plus-circle-multiple","plus-circle-multiple-outline","plus-circle-outline","plus-lock","plus-lock-open","plus-minus","plus-minus-box","plus-minus-variant","plus-network","plus-network-outline","plus-outline","plus-thick","pocket","podcast","podium","podium-bronze","podium-gold","podium-silver","point-of-sale","pokeball","pokemon-go","poker-chip","polaroid","police-badge","police-badge-outline","police-station","poll","polo","polymer","pool","pool-thermometer","popcorn","post","post-lamp","post-outline","postage-stamp","pot","pot-mix","pot-mix-outline","pot-outline","pot-steam","pot-steam-outline","pound","pound-box","pound-box-outline","power","power-cycle","power-off","power-on","power-plug","power-plug-battery","power-plug-battery-outline","power-plug-off","power-plug-off-outline","power-plug-outline","power-settings","power-sleep","power-socket","power-socket-au","power-socket-ch","power-socket-de","power-socket-eu","power-socket-fr","power-socket-it","power-socket-jp","power-socket-uk","power-socket-us","power-standby","powershell","prescription","presentation","presentation-play","pretzel","prezi","printer","printer-3d","printer-3d-nozzle","printer-3d-nozzle-alert","printer-3d-nozzle-alert-outline","printer-3d-nozzle-heat","printer-3d-nozzle-heat-outline","printer-3d-nozzle-off","printer-3d-nozzle-off-outline","printer-3d-nozzle-outline","printer-3d-off","printer-alert","printer-check","printer-eye","printer-off","printer-off-outline","printer-outline","printer-pos","printer-pos-alert","printer-pos-alert-outline","printer-pos-cancel","printer-pos-cancel-outline","printer-pos-check","printer-pos-check-outline","printer-pos-cog","printer-pos-cog-outline","printer-pos-edit","printer-pos-edit-outline","printer-pos-minus","printer-pos-minus-outline","printer-pos-network","printer-pos-network-outline","printer-pos-off","printer-pos-off-outline","printer-pos-outline","printer-pos-pause","printer-pos-pause-outline","printer-pos-play","printer-pos-play-outline","printer-pos-plus","printer-pos-plus-outline","printer-pos-refresh","printer-pos-refresh-outline","printer-pos-remove","printer-pos-remove-outline","printer-pos-star","printer-pos-star-outline","printer-pos-stop","printer-pos-stop-outline","printer-pos-sync","printer-pos-sync-outline","printer-pos-wrench","printer-pos-wrench-outline","printer-search","printer-settings","printer-wireless","priority-high","priority-low","professional-hexagon","progress-alert","progress-check","progress-clock","progress-close","progress-download","progress-helper","progress-pencil","progress-question","progress-star","progress-star-four-points","progress-tag","progress-upload","progress-wrench","projector","projector-off","projector-screen","projector-screen-off","projector-screen-off-outline","projector-screen-outline","projector-screen-variant","projector-screen-variant-off","projector-screen-variant-off-outline","projector-screen-variant-outline","propane-tank","propane-tank-outline","protocol","publish","publish-off","pulse","pump","pump-off","pumpkin","purse","purse-outline","puzzle","puzzle-check","puzzle-check-outline","puzzle-edit","puzzle-edit-outline","puzzle-heart","puzzle-heart-outline","puzzle-minus","puzzle-minus-outline","puzzle-outline","puzzle-plus","puzzle-plus-outline","puzzle-remove","puzzle-remove-outline","puzzle-star","puzzle-star-outline","pyramid","pyramid-off","qi","qqchat","qrcode","qrcode-edit","qrcode-minus","qrcode-plus","qrcode-remove","qrcode-scan","quadcopter","quality-high","quality-low","quality-medium","queue-first-in-last-out","quick-reply","quicktime","quora","rabbit","rabbit-variant","rabbit-variant-outline","racing-helmet","racquetball","radar","radiator","radiator-disabled","radiator-off","radio","radio-am","radio-fm","radio-handheld","radio-off","radio-tower","radioactive","radioactive-circle","radioactive-circle-outline","radioactive-off","radiobox-blank","radiobox-indeterminate-variant","radiobox-marked","radiology-box","radiology-box-outline","radius","radius-outline","railroad-light","rake","raspberry-pi","raw","raw-off","ray-end","ray-end-arrow","ray-start","ray-start-arrow","ray-start-end","ray-start-vertex-end","ray-vertex","razor-double-edge","razor-single-edge","rdio","react","read","receipt","receipt-clock","receipt-clock-outline","receipt-outline","receipt-send","receipt-send-outline","receipt-text","receipt-text-arrow-left","receipt-text-arrow-left-outline","receipt-text-arrow-right","receipt-text-arrow-right-outline","receipt-text-check","receipt-text-check-outline","receipt-text-clock","receipt-text-clock-outline","receipt-text-edit","receipt-text-edit-outline","receipt-text-minus","receipt-text-minus-outline","receipt-text-outline","receipt-text-plus","receipt-text-plus-outline","receipt-text-remove","receipt-text-remove-outline","receipt-text-send","receipt-text-send-outline","record","record-circle","record-circle-outline","record-player","record-rec","rectangle","rectangle-outline","recycle","recycle-variant","reddit","redhat","redo","redo-variant","reflect-horizontal","reflect-vertical","refresh","refresh-auto","refresh-circle","regex","registered-trademark","reiterate","relation-many-to-many","relation-many-to-one","relation-many-to-one-or-many","relation-many-to-only-one","relation-many-to-zero-or-many","relation-many-to-zero-or-one","relation-one-or-many-to-many","relation-one-or-many-to-one","relation-one-or-many-to-one-or-many","relation-one-or-many-to-only-one","relation-one-or-many-to-zero-or-many","relation-one-or-many-to-zero-or-one","relation-one-to-many","relation-one-to-one","relation-one-to-one-or-many","relation-one-to-only-one","relation-one-to-zero-or-many","relation-one-to-zero-or-one","relation-only-one-to-many","relation-only-one-to-one","relation-only-one-to-one-or-many","relation-only-one-to-only-one","relation-only-one-to-zero-or-many","relation-only-one-to-zero-or-one","relation-zero-or-many-to-many","relation-zero-or-many-to-one","relation-zero-or-many-to-one-or-many","relation-zero-or-many-to-only-one","relation-zero-or-many-to-zero-or-many","relation-zero-or-many-to-zero-or-one","relation-zero-or-one-to-many","relation-zero-or-one-to-one","relation-zero-or-one-to-one-or-many","relation-zero-or-one-to-only-one","relation-zero-or-one-to-zero-or-many","relation-zero-or-one-to-zero-or-one","relative-scale","reload","reload-alert","reminder","remote","remote-desktop","remote-off","remote-tv","remote-tv-off","rename","rename-box","rename-box-outline","rename-outline","reorder-horizontal","reorder-vertical","repeat","repeat-off","repeat-once","repeat-variant","replay","reply","reply-all","reply-all-outline","reply-circle","reply-outline","reproduction","resistor","resistor-nodes","resize","resize-bottom-right","responsive","restart","restart-alert","restart-off","restore","restore-alert","rewind","rewind-10","rewind-15","rewind-30","rewind-45","rewind-5","rewind-60","rewind-outline","rhombus","rhombus-medium","rhombus-medium-outline","rhombus-outline","rhombus-split","rhombus-split-outline","ribbon","rice","rickshaw","rickshaw-electric","ring","rivet","road","road-variant","robber","robot","robot-angry","robot-angry-outline","robot-confused","robot-confused-outline","robot-dead","robot-dead-outline","robot-excited","robot-excited-outline","robot-happy","robot-happy-outline","robot-industrial","robot-industrial-outline","robot-love","robot-love-outline","robot-mower","robot-mower-outline","robot-off","robot-off-outline","robot-outline","robot-vacuum","robot-vacuum-alert","robot-vacuum-off","robot-vacuum-variant","robot-vacuum-variant-alert","robot-vacuum-variant-off","rocket","rocket-launch","rocket-launch-outline","rocket-outline","rodent","roller-shade","roller-shade-closed","roller-skate","roller-skate-off","rollerblade","rollerblade-off","rollupjs","rolodex","rolodex-outline","roman-numeral-1","roman-numeral-10","roman-numeral-2","roman-numeral-3","roman-numeral-4","roman-numeral-5","roman-numeral-6","roman-numeral-7","roman-numeral-8","roman-numeral-9","room-service","room-service-outline","rotate-360","rotate-3d","rotate-3d-variant","rotate-left","rotate-left-variant","rotate-orbit","rotate-right","rotate-right-variant","rounded-corner","router","router-network","router-network-wireless","router-wireless","router-wireless-off","router-wireless-settings","routes","routes-clock","rowing","rss","rss-box","rss-off","rug","rugby","ruler","ruler-square","ruler-square-compass","run","run-fast","rv-truck","sack","sack-outline","sack-percent","safe","safe-square","safe-square-outline","safety-goggles","safety-googles","sail-boat","sail-boat-sink","sale","sale-outline","salesforce","sass","satellite","satellite-uplink","satellite-variant","sausage","sausage-off","saw-blade","sawtooth-wave","saxophone","scale","scale-balance","scale-bathroom","scale-off","scale-unbalanced","scan-helper","scanner","scanner-off","scatter-plot","scatter-plot-outline","scent","scent-off","school","school-outline","scissors-cutting","scooter","scooter-electric","scoreboard","scoreboard-outline","screen-rotation","screen-rotation-lock","screw-flat-top","screw-lag","screw-machine-flat-top","screw-machine-round-top","screw-round-top","screwdriver","script","script-outline","script-text","script-text-key","script-text-key-outline","script-text-outline","script-text-play","script-text-play-outline","sd","seal","seal-variant","search-web","seat","seat-flat","seat-flat-angled","seat-individual-suite","seat-legroom-extra","seat-legroom-normal","seat-legroom-reduced","seat-outline","seat-passenger","seat-recline-extra","seat-recline-normal","seatbelt","security","security-close","security-network","seed","seed-off","seed-off-outline","seed-outline","seed-plus","seed-plus-outline","seesaw","segment","select","select-all","select-arrow-down","select-arrow-up","select-color","select-compare","select-drag","select-group","select-inverse","select-marker","select-multiple","select-multiple-marker","select-off","select-place","select-remove","select-search","selection","selection-drag","selection-ellipse","selection-ellipse-arrow-inside","selection-ellipse-remove","selection-lasso","selection-marker","selection-multiple","selection-multiple-marker","selection-off","selection-remove","selection-search","semantic-web","send","send-check","send-check-outline","send-circle","send-circle-outline","send-clock","send-clock-outline","send-lock","send-lock-outline","send-outline","send-variant","send-variant-clock","send-variant-clock-outline","send-variant-outline","serial-port","server","server-minus","server-minus-outline","server-network","server-network-off","server-network-outline","server-off","server-outline","server-plus","server-plus-outline","server-remove","server-security","set-all","set-center","set-center-right","set-left","set-left-center","set-left-right","set-merge","set-none","set-right","set-split","set-square","set-top-box","settings-helper","shaker","shaker-outline","shape","shape-circle-plus","shape-outline","shape-oval-plus","shape-plus","shape-plus-outline","shape-polygon-plus","shape-rectangle-plus","shape-square-plus","shape-square-rounded-plus","share","share-all","share-all-outline","share-circle","share-off","share-off-outline","share-outline","share-variant","share-variant-outline","shark","shark-fin","shark-fin-outline","shark-off","sheep","shield","shield-account","shield-account-outline","shield-account-variant","shield-account-variant-outline","shield-airplane","shield-airplane-outline","shield-alert","shield-alert-outline","shield-bug","shield-bug-outline","shield-car","shield-check","shield-check-outline","shield-cross","shield-cross-outline","shield-crown","shield-crown-outline","shield-edit","shield-edit-outline","shield-half","shield-half-full","shield-home","shield-home-outline","shield-key","shield-key-outline","shield-link-variant","shield-link-variant-outline","shield-lock","shield-lock-open","shield-lock-open-outline","shield-lock-outline","shield-moon","shield-moon-outline","shield-off","shield-off-outline","shield-outline","shield-plus","shield-plus-outline","shield-refresh","shield-refresh-outline","shield-remove","shield-remove-outline","shield-search","shield-star","shield-star-outline","shield-sun","shield-sun-outline","shield-sword","shield-sword-outline","shield-sync","shield-sync-outline","shimmer","ship-wheel","shipping-pallet","shoe-ballet","shoe-cleat","shoe-formal","shoe-heel","shoe-print","shoe-sneaker","shopify","shopping","shopping-music","shopping-outline","shopping-search","shopping-search-outline","shore","shovel","shovel-off","shower","shower-head","shredder","shuffle","shuffle-disabled","shuffle-variant","shuriken","sickle","sigma","sigma-lower","sign-caution","sign-direction","sign-direction-minus","sign-direction-plus","sign-direction-remove","sign-language","sign-language-outline","sign-pole","sign-real-estate","sign-text","sign-yield","signal","signal-2g","signal-3g","signal-4g","signal-5g","signal-cellular-1","signal-cellular-2","signal-cellular-3","signal-cellular-outline","signal-distance-variant","signal-hspa","signal-hspa-plus","signal-off","signal-variant","signature","signature-freehand","signature-image","signature-text","silo","silo-outline","silverware","silverware-clean","silverware-fork","silverware-fork-knife","silverware-spoon","silverware-variant","sim","sim-alert","sim-alert-outline","sim-off","sim-off-outline","sim-outline","simple-icons","sina-weibo","sine-wave","sitemap","sitemap-outline","size-l","size-m","size-s","size-xl","size-xs","size-xxl","size-xxs","size-xxxl","skate","skate-off","skateboard","skateboarding","skew-less","skew-more","ski","ski-cross-country","ski-water","skip-backward","skip-backward-outline","skip-forward","skip-forward-outline","skip-next","skip-next-circle","skip-next-circle-outline","skip-next-outline","skip-previous","skip-previous-circle","skip-previous-circle-outline","skip-previous-outline","skull","skull-crossbones","skull-crossbones-outline","skull-outline","skull-scan","skull-scan-outline","skype","skype-business","slack","slackware","slash-forward","slash-forward-box","sledding","sleep","sleep-off","slide","slope-downhill","slope-uphill","slot-machine","slot-machine-outline","smart-card","smart-card-off","smart-card-off-outline","smart-card-outline","smart-card-reader","smart-card-reader-outline","smog","smoke","smoke-detector","smoke-detector-alert","smoke-detector-alert-outline","smoke-detector-off","smoke-detector-off-outline","smoke-detector-outline","smoke-detector-variant","smoke-detector-variant-alert","smoke-detector-variant-off","smoking","smoking-off","smoking-pipe","smoking-pipe-off","snail","snake","snapchat","snowboard","snowflake","snowflake-alert","snowflake-check","snowflake-melt","snowflake-off","snowflake-thermometer","snowflake-variant","snowman","snowmobile","snowshoeing","soccer","soccer-field","social-distance-2-meters","social-distance-6-feet","sofa","sofa-outline","sofa-single","sofa-single-outline","solar-panel","solar-panel-large","solar-power","solar-power-variant","solar-power-variant-outline","soldering-iron","solid","sony-playstation","sort","sort-alphabetical-ascending","sort-alphabetical-ascending-variant","sort-alphabetical-descending","sort-alphabetical-descending-variant","sort-alphabetical-variant","sort-ascending","sort-bool-ascending","sort-bool-ascending-variant","sort-bool-descending","sort-bool-descending-variant","sort-calendar-ascending","sort-calendar-descending","sort-clock-ascending","sort-clock-ascending-outline","sort-clock-descending","sort-clock-descending-outline","sort-descending","sort-numeric-ascending","sort-numeric-ascending-variant","sort-numeric-descending","sort-numeric-descending-variant","sort-numeric-variant","sort-reverse-variant","sort-variant","sort-variant-lock","sort-variant-lock-open","sort-variant-off","sort-variant-remove","soundbar","soundcloud","source-branch","source-branch-check","source-branch-minus","source-branch-plus","source-branch-refresh","source-branch-remove","source-branch-sync","source-commit","source-commit-end","source-commit-end-local","source-commit-local","source-commit-next-local","source-commit-start","source-commit-start-next-local","source-fork","source-merge","source-pull","source-repository","source-repository-multiple","soy-sauce","soy-sauce-off","spa","spa-outline","space-invaders","space-station","spade","speaker","speaker-bluetooth","speaker-message","speaker-multiple","speaker-off","speaker-pause","speaker-play","speaker-stop","speaker-wireless","spear","speedometer","speedometer-medium","speedometer-slow","spellcheck","sphere","sphere-off","spider","spider-outline","spider-thread","spider-web","spirit-level","split-horizontal","split-vertical","spoon-sugar","spotify","spotlight","spotlight-beam","spray","spray-bottle","spreadsheet","sprinkler","sprinkler-fire","sprinkler-variant","sprout","sprout-outline","square","square-circle","square-circle-outline","square-edit-outline","square-inc","square-inc-cash","square-medium","square-medium-outline","square-off","square-off-outline","square-opacity","square-outline","square-root","square-root-box","square-rounded","square-rounded-badge","square-rounded-badge-outline","square-rounded-outline","square-small","square-wave","squeegee","ssh","stack-exchange","stack-overflow","stackpath","stadium","stadium-outline","stadium-variant","stairs","stairs-box","stairs-down","stairs-up","stamper","standard-definition","star","star-box","star-box-multiple","star-box-multiple-outline","star-box-outline","star-check","star-check-outline","star-circle","star-circle-outline","star-cog","star-cog-outline","star-crescent","star-david","star-face","star-four-points","star-four-points-box","star-four-points-box-outline","star-four-points-circle","star-four-points-circle-outline","star-four-points-outline","star-four-points-small","star-half","star-half-full","star-minus","star-minus-outline","star-off","star-off-outline","star-outline","star-plus","star-plus-outline","star-remove","star-remove-outline","star-settings","star-settings-outline","star-shooting","star-shooting-outline","star-three-points","star-three-points-outline","state-machine","steam","steam-box","steering","steering-off","step-backward","step-backward-2","step-forward","step-forward-2","stethoscope","sticker","sticker-alert","sticker-alert-outline","sticker-check","sticker-check-outline","sticker-circle-outline","sticker-emoji","sticker-minus","sticker-minus-outline","sticker-outline","sticker-plus","sticker-plus-outline","sticker-remove","sticker-remove-outline","sticker-text","sticker-text-outline","stocking","stomach","stool","stool-outline","stop","stop-circle","stop-circle-outline","storage-tank","storage-tank-outline","store","store-24-hour","store-alert","store-alert-outline","store-check","store-check-outline","store-clock","store-clock-outline","store-cog","store-cog-outline","store-edit","store-edit-outline","store-marker","store-marker-outline","store-minus","store-minus-outline","store-off","store-off-outline","store-outline","store-plus","store-plus-outline","store-remove","store-remove-outline","store-search","store-search-outline","store-settings","store-settings-outline","storefront","storefront-check","storefront-check-outline","storefront-edit","storefront-edit-outline","storefront-minus","storefront-minus-outline","storefront-outline","storefront-plus","storefront-plus-outline","storefront-remove","storefront-remove-outline","stove","strategy","strava","stretch-to-page","stretch-to-page-outline","string-lights","string-lights-off","subdirectory-arrow-left","subdirectory-arrow-right","submarine","subtitles","subtitles-outline","subway","subway-alert-variant","subway-variant","summit","sun-angle","sun-angle-outline","sun-clock","sun-clock-outline","sun-compass","sun-snowflake","sun-snowflake-variant","sun-thermometer","sun-thermometer-outline","sun-wireless","sun-wireless-outline","sunglasses","surfing","surround-sound","surround-sound-2-0","surround-sound-2-1","surround-sound-3-1","surround-sound-5-1","surround-sound-5-1-2","surround-sound-7-1","svg","swap-horizontal","swap-horizontal-bold","swap-horizontal-circle","swap-horizontal-circle-outline","swap-horizontal-hidden","swap-horizontal-variant","swap-vertical","swap-vertical-bold","swap-vertical-circle","swap-vertical-circle-outline","swap-vertical-variant","swim","switch","sword","sword-cross","syllabary-hangul","syllabary-hiragana","syllabary-katakana","syllabary-katakana-halfwidth","symbol","symfony","synagogue","synagogue-outline","sync","sync-alert","sync-circle","sync-off","tab","tab-minus","tab-plus","tab-remove","tab-search","tab-unselected","table","table-account","table-alert","table-arrow-down","table-arrow-left","table-arrow-right","table-arrow-up","table-border","table-cancel","table-chair","table-check","table-clock","table-cog","table-column","table-column-plus-after","table-column-plus-before","table-column-remove","table-column-width","table-edit","table-eye","table-eye-off","table-filter","table-furniture","table-headers-eye","table-headers-eye-off","table-heart","table-key","table-large","table-large-plus","table-large-remove","table-lock","table-merge-cells","table-minus","table-multiple","table-network","table-of-contents","table-off","table-picnic","table-pivot","table-plus","table-question","table-refresh","table-remove","table-row","table-row-height","table-row-plus-after","table-row-plus-before","table-row-remove","table-search","table-settings","table-split-cell","table-star","table-sync","table-tennis","tablet","tablet-android","tablet-cellphone","tablet-dashboard","tablet-ipad","taco","tag","tag-arrow-down","tag-arrow-down-outline","tag-arrow-left","tag-arrow-left-outline","tag-arrow-right","tag-arrow-right-outline","tag-arrow-up","tag-arrow-up-outline","tag-check","tag-check-outline","tag-edit","tag-edit-outline","tag-faces","tag-heart","tag-heart-outline","tag-hidden","tag-minus","tag-minus-outline","tag-multiple","tag-multiple-outline","tag-off","tag-off-outline","tag-outline","tag-plus","tag-plus-outline","tag-remove","tag-remove-outline","tag-search","tag-search-outline","tag-text","tag-text-outline","tailwind","tally-mark-1","tally-mark-2","tally-mark-3","tally-mark-4","tally-mark-5","tangram","tank","tanker-truck","tape-drive","tape-measure","target","target-account","target-variant","taxi","tea","tea-outline","teamspeak","teamviewer","teddy-bear","telegram","telescope","television","television-ambient-light","television-box","television-classic","television-classic-off","television-guide","television-off","television-pause","television-play","television-shimmer","television-speaker","television-speaker-off","television-stop","temperature-celsius","temperature-fahrenheit","temperature-kelvin","temple-buddhist","temple-buddhist-outline","temple-hindu","temple-hindu-outline","tennis","tennis-ball","tennis-ball-outline","tent","terraform","terrain","test-tube","test-tube-empty","test-tube-off","text","text-account","text-box","text-box-check","text-box-check-outline","text-box-edit","text-box-edit-outline","text-box-minus","text-box-minus-outline","text-box-multiple","text-box-multiple-outline","text-box-outline","text-box-plus","text-box-plus-outline","text-box-remove","text-box-remove-outline","text-box-search","text-box-search-outline","text-long","text-recognition","text-search","text-search-variant","text-shadow","text-short","texture","texture-box","theater","theme-light-dark","thermometer","thermometer-alert","thermometer-auto","thermometer-bluetooth","thermometer-check","thermometer-chevron-down","thermometer-chevron-up","thermometer-high","thermometer-lines","thermometer-low","thermometer-minus","thermometer-off","thermometer-plus","thermometer-probe","thermometer-probe-off","thermometer-water","thermostat","thermostat-auto","thermostat-box","thermostat-box-auto","thermostat-cog","thought-bubble","thought-bubble-outline","thumb-down","thumb-down-outline","thumb-up","thumb-up-outline","thumbs-up-down","thumbs-up-down-outline","ticket","ticket-account","ticket-confirmation","ticket-confirmation-outline","ticket-outline","ticket-percent","ticket-percent-outline","tie","tilde","tilde-off","timelapse","timeline","timeline-alert","timeline-alert-outline","timeline-check","timeline-check-outline","timeline-clock","timeline-clock-outline","timeline-minus","timeline-minus-outline","timeline-outline","timeline-plus","timeline-plus-outline","timeline-question","timeline-question-outline","timeline-remove","timeline-remove-outline","timeline-text","timeline-text-outline","timer","timer-10","timer-3","timer-alert","timer-alert-outline","timer-cancel","timer-cancel-outline","timer-check","timer-check-outline","timer-cog","timer-cog-outline","timer-edit","timer-edit-outline","timer-lock","timer-lock-open","timer-lock-open-outline","timer-lock-outline","timer-marker","timer-marker-outline","timer-minus","timer-minus-outline","timer-music","timer-music-outline","timer-off","timer-off-outline","timer-outline","timer-pause","timer-pause-outline","timer-play","timer-play-outline","timer-plus","timer-plus-outline","timer-refresh","timer-refresh-outline","timer-remove","timer-remove-outline","timer-sand","timer-sand-complete","timer-sand-empty","timer-sand-full","timer-sand-paused","timer-settings","timer-settings-outline","timer-star","timer-star-outline","timer-stop","timer-stop-outline","timer-sync","timer-sync-outline","timetable","tire","toaster","toaster-off","toaster-oven","toggle-switch","toggle-switch-off","toggle-switch-off-outline","toggle-switch-outline","toggle-switch-variant","toggle-switch-variant-off","toilet","toolbox","toolbox-outline","tools","tooltip","tooltip-account","tooltip-cellphone","tooltip-check","tooltip-check-outline","tooltip-edit","tooltip-edit-outline","tooltip-image","tooltip-image-outline","tooltip-minus","tooltip-minus-outline","tooltip-outline","tooltip-plus","tooltip-plus-outline","tooltip-question","tooltip-question-outline","tooltip-remove","tooltip-remove-outline","tooltip-text","tooltip-text-outline","tooth","tooth-outline","toothbrush","toothbrush-electric","toothbrush-paste","tor","torch","tortoise","toslink","touch-text-outline","tournament","tow-truck","tower-beach","tower-fire","town-hall","toy-brick","toy-brick-marker","toy-brick-marker-outline","toy-brick-minus","toy-brick-minus-outline","toy-brick-outline","toy-brick-plus","toy-brick-plus-outline","toy-brick-remove","toy-brick-remove-outline","toy-brick-search","toy-brick-search-outline","track-light","track-light-off","trackpad","trackpad-lock","tractor","tractor-variant","trademark","traffic-cone","traffic-light","traffic-light-outline","train","train-bus","train-car","train-car-autorack","train-car-box","train-car-box-full","train-car-box-open","train-car-caboose","train-car-centerbeam","train-car-centerbeam-full","train-car-container","train-car-flatbed","train-car-flatbed-car","train-car-flatbed-tank","train-car-gondola","train-car-gondola-full","train-car-hopper","train-car-hopper-covered","train-car-hopper-full","train-car-intermodal","train-car-passenger","train-car-passenger-door","train-car-passenger-door-open","train-car-passenger-variant","train-car-tank","train-variant","tram","tram-side","transcribe","transcribe-close","transfer","transfer-down","transfer-left","transfer-right","transfer-up","transit-connection","transit-connection-horizontal","transit-connection-variant","transit-detour","transit-skip","transit-transfer","transition","transition-masked","translate","translate-off","translate-variant","transmission-tower","transmission-tower-export","transmission-tower-import","transmission-tower-off","trash-can","trash-can-outline","tray","tray-alert","tray-arrow-down","tray-arrow-up","tray-full","tray-minus","tray-plus","tray-remove","treasure-chest","treasure-chest-outline","tree","tree-outline","trello","trending-down","trending-neutral","trending-up","triangle","triangle-down","triangle-down-outline","triangle-outline","triangle-small-down","triangle-small-up","triangle-wave","triforce","trophy","trophy-award","trophy-broken","trophy-outline","trophy-variant","trophy-variant-outline","truck","truck-alert","truck-alert-outline","truck-cargo-container","truck-check","truck-check-outline","truck-delivery","truck-delivery-outline","truck-fast","truck-fast-outline","truck-flatbed","truck-minus","truck-minus-outline","truck-off-road","truck-off-road-off","truck-outline","truck-plus","truck-plus-outline","truck-remove","truck-remove-outline","truck-snowflake","truck-trailer","trumpet","tshirt-crew","tshirt-crew-outline","tshirt-v","tshirt-v-outline","tsunami","tumble-dryer","tumble-dryer-alert","tumble-dryer-off","tumblr","tumblr-box","tumblr-reblog","tune","tune-variant","tune-vertical","tune-vertical-variant","tunnel","tunnel-outline","turbine","turkey","turnstile","turnstile-outline","turtle","twitch","twitter","twitter-box","twitter-circle","two-factor-authentication","typewriter","uber","ubisoft","ubuntu","ufo","ufo-outline","ultra-high-definition","umbraco","umbrella","umbrella-beach","umbrella-beach-outline","umbrella-closed","umbrella-closed-outline","umbrella-closed-variant","umbrella-outline","underwear-outline","undo","undo-variant","unfold-less-horizontal","unfold-less-vertical","unfold-more-horizontal","unfold-more-vertical","ungroup","unicode","unicorn","unicorn-variant","unicycle","unity","unreal","untappd","update","upload","upload-box","upload-box-outline","upload-circle","upload-circle-outline","upload-lock","upload-lock-outline","upload-multiple","upload-multiple-outline","upload-network","upload-network-outline","upload-off","upload-off-outline","upload-outline","usb","usb-c-port","usb-flash-drive","usb-flash-drive-outline","usb-port","vacuum","vacuum-outline","valve","valve-closed","valve-open","van-passenger","van-utility","vanish","vanish-quarter","vanity-light","variable","variable-box","vector-arrange-above","vector-arrange-below","vector-bezier","vector-circle","vector-circle-variant","vector-combine","vector-curve","vector-difference","vector-difference-ab","vector-difference-ba","vector-ellipse","vector-intersection","vector-line","vector-link","vector-point","vector-point-edit","vector-point-minus","vector-point-plus","vector-point-select","vector-polygon","vector-polygon-variant","vector-polyline","vector-polyline-edit","vector-polyline-minus","vector-polyline-plus","vector-polyline-remove","vector-radius","vector-rectangle","vector-selection","vector-square","vector-square-close","vector-square-edit","vector-square-minus","vector-square-open","vector-square-plus","vector-square-remove","vector-triangle","vector-union","venmo","vhs","vibrate","vibrate-off","video","video-2d","video-3d","video-3d-off","video-3d-variant","video-4k-box","video-account","video-box","video-box-off","video-check","video-check-outline","video-high-definition","video-image","video-input-antenna","video-input-component","video-input-hdmi","video-input-scart","video-input-svideo","video-marker","video-marker-outline","video-minus","video-minus-outline","video-off","video-off-outline","video-outline","video-plus","video-plus-outline","video-stabilization","video-standard-definition","video-switch","video-switch-outline","video-vintage","video-wireless","video-wireless-outline","view-agenda","view-agenda-outline","view-array","view-array-outline","view-carousel","view-carousel-outline","view-column","view-column-outline","view-comfy","view-comfy-outline","view-compact","view-compact-outline","view-dashboard","view-dashboard-edit","view-dashboard-edit-outline","view-dashboard-outline","view-dashboard-variant","view-dashboard-variant-outline","view-day","view-day-outline","view-gallery","view-gallery-outline","view-grid","view-grid-compact","view-grid-outline","view-grid-plus","view-grid-plus-outline","view-headline","view-list","view-list-outline","view-module","view-module-outline","view-parallel","view-parallel-outline","view-quilt","view-quilt-outline","view-sequential","view-sequential-outline","view-split-horizontal","view-split-vertical","view-stream","view-stream-outline","view-week","view-week-outline","vimeo","vine","violin","virtual-reality","virus","virus-off","virus-off-outline","virus-outline","vk","vk-box","vk-circle","vlc","voicemail","volcano","volcano-outline","volleyball","volume","volume-equal","volume-high","volume-low","volume-medium","volume-minus","volume-mute","volume-off","volume-plus","volume-source","volume-variant-off","volume-vibrate","vote","vote-outline","vpn","vuejs","vuetify","walk","wall","wall-fire","wall-sconce","wall-sconce-flat","wall-sconce-flat-outline","wall-sconce-flat-variant","wall-sconce-flat-variant-outline","wall-sconce-outline","wall-sconce-round","wall-sconce-round-outline","wall-sconce-round-variant","wall-sconce-round-variant-outline","wall-sconce-variant","wallet","wallet-bifold","wallet-bifold-outline","wallet-giftcard","wallet-membership","wallet-outline","wallet-plus","wallet-plus-outline","wallet-travel","wallpaper","wan","wardrobe","wardrobe-outline","warehouse","washing-machine","washing-machine-alert","washing-machine-off","watch","watch-export","watch-export-variant","watch-import","watch-import-variant","watch-variant","watch-vibrate","watch-vibrate-off","water","water-alert","water-alert-outline","water-boiler","water-boiler-alert","water-boiler-auto","water-boiler-off","water-check","water-check-outline","water-circle","water-minus","water-minus-outline","water-off","water-off-outline","water-opacity","water-outline","water-percent","water-percent-alert","water-plus","water-plus-outline","water-polo","water-pump","water-pump-off","water-remove","water-remove-outline","water-sync","water-thermometer","water-thermometer-outline","water-well","water-well-outline","waterfall","watering-can","watering-can-outline","watermark","wave","wave-arrow-down","wave-arrow-up","wave-undercurrent","waveform","waves","waves-arrow-left","waves-arrow-right","waves-arrow-up","waze","weather-cloudy","weather-cloudy-alert","weather-cloudy-arrow-right","weather-cloudy-clock","weather-dust","weather-fog","weather-hail","weather-hazy","weather-hurricane","weather-hurricane-outline","weather-lightning","weather-lightning-rainy","weather-moonset","weather-moonset-down","weather-moonset-up","weather-night","weather-night-partly-cloudy","weather-partly-cloudy","weather-partly-lightning","weather-partly-rainy","weather-partly-snowy","weather-partly-snowy-rainy","weather-pouring","weather-rainy","weather-snowy","weather-snowy-heavy","weather-snowy-rainy","weather-sunny","weather-sunny-alert","weather-sunny-off","weather-sunset","weather-sunset-down","weather-sunset-up","weather-tornado","weather-windy","weather-windy-variant","web","web-box","web-cancel","web-check","web-clock","web-minus","web-off","web-plus","web-refresh","web-remove","web-sync","webcam","webcam-off","webhook","webpack","webrtc","wechat","weight","weight-gram","weight-kilogram","weight-lifter","weight-pound","whatsapp","wheel-barrow","wheelchair","wheelchair-accessibility","whistle","whistle-outline","white-balance-auto","white-balance-incandescent","white-balance-iridescent","white-balance-sunny","widgets","widgets-outline","wifi","wifi-alert","wifi-arrow-down","wifi-arrow-left","wifi-arrow-left-right","wifi-arrow-right","wifi-arrow-up","wifi-arrow-up-down","wifi-cancel","wifi-check","wifi-cog","wifi-lock","wifi-lock-open","wifi-marker","wifi-minus","wifi-off","wifi-plus","wifi-refresh","wifi-remove","wifi-settings","wifi-star","wifi-strength-1","wifi-strength-1-alert","wifi-strength-1-lock","wifi-strength-1-lock-open","wifi-strength-2","wifi-strength-2-alert","wifi-strength-2-lock","wifi-strength-2-lock-open","wifi-strength-3","wifi-strength-3-alert","wifi-strength-3-lock","wifi-strength-3-lock-open","wifi-strength-4","wifi-strength-4-alert","wifi-strength-4-lock","wifi-strength-4-lock-open","wifi-strength-alert-outline","wifi-strength-lock-open-outline","wifi-strength-lock-outline","wifi-strength-off","wifi-strength-off-outline","wifi-strength-outline","wifi-sync","wikipedia","wind-power","wind-power-outline","wind-turbine","wind-turbine-alert","wind-turbine-check","window-close","window-closed","window-closed-variant","window-maximize","window-minimize","window-open","window-open-variant","window-restore","window-shutter","window-shutter-alert","window-shutter-auto","window-shutter-cog","window-shutter-open","window-shutter-settings","windsock","wiper","wiper-wash","wiper-wash-alert","wizard-hat","wordpress","wrap","wrap-disabled","wrench","wrench-check","wrench-check-outline","wrench-clock","wrench-clock-outline","wrench-cog","wrench-cog-outline","wrench-outline","wunderlist","xamarin","xamarin-outline","xda","xing","xing-circle","xml","xmpp","y-combinator","yahoo","yammer","yeast","yelp","yin-yang","yoga","youtube","youtube-gaming","youtube-studio","youtube-subscription","youtube-tv","yurt","z-wave","zend","zigbee","zip-box","zip-box-outline","zip-disk","zodiac-aquarius","zodiac-aries","zodiac-cancer","zodiac-capricorn","zodiac-gemini","zodiac-leo","zodiac-libra","zodiac-pisces","zodiac-sagittarius","zodiac-scorpio","zodiac-taurus","zodiac-virgo"]},{prefix:"ri",info:{name:"Remix Icon",total:2704,version:"4.0.0",author:{name:"Remix Design",url:"https://github.com/Remix-Design/RemixIcon"},license:{title:"Apache 2.0",spdx:"Apache-2.0",url:"https://github.com/Remix-Design/RemixIcon/blob/master/License"},samples:["lock-2-line","mark-pen-fill","moon-line"],height:24,category:"General",palette:!1},icons:["24-hours-fill","24-hours-line","4k-fill","4k-line","a-b","account-box-fill","account-box-line","account-circle-fill","account-circle-line","account-pin-box-fill","account-pin-box-line","account-pin-circle-fill","account-pin-circle-line","add-box-fill","add-box-line","add-circle-fill","add-circle-line","add-fill","add-line","admin-fill","admin-line","advertisement-fill","advertisement-line","ai-generate","airplay-fill","airplay-line","alarm-fill","alarm-line","alarm-warning-fill","alarm-warning-line","album-fill","album-line","alert-fill","alert-line","aliens-fill","aliens-line","align-bottom","align-center","align-justify","align-left","align-right","align-top","align-vertically","alipay-fill","alipay-line","amazon-fill","amazon-line","anchor-fill","anchor-line","ancient-gate-fill","ancient-gate-line","ancient-pavilion-fill","ancient-pavilion-line","android-fill","android-line","angularjs-fill","angularjs-line","anticlockwise-2-fill","anticlockwise-2-line","anticlockwise-fill","anticlockwise-line","app-store-fill","app-store-line","apple-fill","apple-line","apps-2-fill","apps-2-line","apps-fill","apps-line","archive-2-fill","archive-2-line","archive-drawer-fill","archive-drawer-line","archive-fill","archive-line","archive-stack-fill","archive-stack-line","armchair-fill","armchair-line","arrow-down-circle-fill","arrow-down-circle-line","arrow-down-double-fill","arrow-down-double-line","arrow-down-fill","arrow-down-line","arrow-down-s-fill","arrow-down-s-line","arrow-drop-down-fill","arrow-drop-down-line","arrow-drop-left-fill","arrow-drop-left-line","arrow-drop-right-fill","arrow-drop-right-line","arrow-drop-up-fill","arrow-drop-up-line","arrow-go-back-fill","arrow-go-back-line","arrow-go-forward-fill","arrow-go-forward-line","arrow-left-circle-fill","arrow-left-circle-line","arrow-left-double-fill","arrow-left-double-line","arrow-left-down-fill","arrow-left-down-line","arrow-left-fill","arrow-left-line","arrow-left-right-fill","arrow-left-right-line","arrow-left-s-fill","arrow-left-s-line","arrow-left-up-fill","arrow-left-up-line","arrow-right-circle-fill","arrow-right-circle-line","arrow-right-double-fill","arrow-right-double-line","arrow-right-down-fill","arrow-right-down-line","arrow-right-fill","arrow-right-line","arrow-right-s-fill","arrow-right-s-line","arrow-right-up-fill","arrow-right-up-line","arrow-turn-back-fill","arrow-turn-back-line","arrow-turn-forward-fill","arrow-turn-forward-line","arrow-up-circle-fill","arrow-up-circle-line","arrow-up-double-fill","arrow-up-double-line","arrow-up-down-fill","arrow-up-down-line","arrow-up-fill","arrow-up-line","arrow-up-s-fill","arrow-up-s-line","artboard-2-fill","artboard-2-line","artboard-fill","artboard-line","article-fill","article-line","aspect-ratio-fill","aspect-ratio-line","asterisk","at-fill","at-line","attachment-2","attachment-fill","attachment-line","auction-fill","auction-line","award-fill","award-line","baidu-fill","baidu-line","ball-pen-fill","ball-pen-line","bank-card-2-fill","bank-card-2-line","bank-card-fill","bank-card-line","bank-fill","bank-line","bar-chart-2-fill","bar-chart-2-line","bar-chart-box-fill","bar-chart-box-line","bar-chart-fill","bar-chart-grouped-fill","bar-chart-grouped-line","bar-chart-horizontal-fill","bar-chart-horizontal-line","bar-chart-line","barcode-box-fill","barcode-box-line","barcode-fill","barcode-line","bard-fill","bard-line","barricade-fill","barricade-line","base-station-fill","base-station-line","basketball-fill","basketball-line","battery-2-charge-fill","battery-2-charge-line","battery-2-fill","battery-2-line","battery-charge-fill","battery-charge-line","battery-fill","battery-line","battery-low-fill","battery-low-line","battery-saver-fill","battery-saver-line","battery-share-fill","battery-share-line","bear-smile-fill","bear-smile-line","beer-fill","beer-line","behance-fill","behance-line","bell-fill","bell-line","bike-fill","bike-line","bilibili-fill","bilibili-line","bill-fill","bill-line","billiards-fill","billiards-line","bit-coin-fill","bit-coin-line","blaze-fill","blaze-line","blender-fill","blender-line","blogger-fill","blogger-line","bluetooth-connect-fill","bluetooth-connect-line","bluetooth-fill","bluetooth-line","blur-off-fill","blur-off-line","bnb-fill","bnb-line","body-scan-fill","body-scan-line","bold","book-2-fill","book-2-line","book-3-fill","book-3-line","book-fill","book-line","book-marked-fill","book-marked-line","book-open-fill","book-open-line","book-read-fill","book-read-line","booklet-fill","booklet-line","bookmark-2-fill","bookmark-2-line","bookmark-3-fill","bookmark-3-line","bookmark-fill","bookmark-line","bootstrap-fill","bootstrap-line","bowl-fill","bowl-line","box-1-fill","box-1-line","box-2-fill","box-2-line","box-3-fill","box-3-line","boxing-fill","boxing-line","braces-fill","braces-line","brackets-fill","brackets-line","brain-fill","brain-line","bread-fill","bread-line","briefcase-2-fill","briefcase-2-line","briefcase-3-fill","briefcase-3-line","briefcase-4-fill","briefcase-4-line","briefcase-5-fill","briefcase-5-line","briefcase-fill","briefcase-line","bring-forward","bring-to-front","broadcast-fill","broadcast-line","brush-2-fill","brush-2-line","brush-3-fill","brush-3-line","brush-4-fill","brush-4-line","brush-fill","brush-line","btc-fill","btc-line","bubble-chart-fill","bubble-chart-line","bug-2-fill","bug-2-line","bug-fill","bug-line","building-2-fill","building-2-line","building-3-fill","building-3-line","building-4-fill","building-4-line","building-fill","building-line","bus-2-fill","bus-2-line","bus-fill","bus-line","bus-wifi-fill","bus-wifi-line","cactus-fill","cactus-line","cake-2-fill","cake-2-line","cake-3-fill","cake-3-line","cake-fill","cake-line","calculator-fill","calculator-line","calendar-2-fill","calendar-2-line","calendar-check-fill","calendar-check-line","calendar-close-fill","calendar-close-line","calendar-event-fill","calendar-event-line","calendar-fill","calendar-line","calendar-schedule-fill","calendar-schedule-line","calendar-todo-fill","calendar-todo-line","calendar-view","camera-2-fill","camera-2-line","camera-3-fill","camera-3-line","camera-fill","camera-lens-fill","camera-lens-line","camera-line","camera-off-fill","camera-off-line","camera-switch-fill","camera-switch-line","candle-fill","candle-line","capsule-fill","capsule-line","car-fill","car-line","car-washing-fill","car-washing-line","caravan-fill","caravan-line","carousel-view","cash-fill","cash-line","cast-fill","cast-line","cellphone-fill","cellphone-line","celsius-fill","celsius-line","centos-fill","centos-line","character-recognition-fill","character-recognition-line","charging-pile-2-fill","charging-pile-2-line","charging-pile-fill","charging-pile-line","chat-1-fill","chat-1-line","chat-2-fill","chat-2-line","chat-3-fill","chat-3-line","chat-4-fill","chat-4-line","chat-check-fill","chat-check-line","chat-delete-fill","chat-delete-line","chat-download-fill","chat-download-line","chat-follow-up-fill","chat-follow-up-line","chat-forward-fill","chat-forward-line","chat-heart-fill","chat-heart-line","chat-history-fill","chat-history-line","chat-new-fill","chat-new-line","chat-off-fill","chat-off-line","chat-poll-fill","chat-poll-line","chat-private-fill","chat-private-line","chat-quote-fill","chat-quote-line","chat-settings-fill","chat-settings-line","chat-smile-2-fill","chat-smile-2-line","chat-smile-3-fill","chat-smile-3-line","chat-smile-fill","chat-smile-line","chat-thread-fill","chat-thread-line","chat-upload-fill","chat-upload-line","chat-voice-fill","chat-voice-line","check-double-fill","check-double-line","check-fill","check-line","checkbox-blank-circle-fill","checkbox-blank-circle-line","checkbox-blank-fill","checkbox-blank-line","checkbox-circle-fill","checkbox-circle-line","checkbox-fill","checkbox-indeterminate-fill","checkbox-indeterminate-line","checkbox-line","checkbox-multiple-blank-fill","checkbox-multiple-blank-line","checkbox-multiple-fill","checkbox-multiple-line","china-railway-fill","china-railway-line","chrome-fill","chrome-line","circle-fill","circle-line","clapperboard-fill","clapperboard-line","clipboard-fill","clipboard-line","clockwise-2-fill","clockwise-2-line","clockwise-fill","clockwise-line","close-circle-fill","close-circle-line","close-fill","close-line","closed-captioning-fill","closed-captioning-line","cloud-fill","cloud-line","cloud-off-fill","cloud-off-line","cloud-windy-fill","cloud-windy-line","cloudy-2-fill","cloudy-2-line","cloudy-fill","cloudy-line","code-block","code-box-fill","code-box-line","code-fill","code-line","code-s-fill","code-s-line","code-s-slash-fill","code-s-slash-line","code-view","codepen-fill","codepen-line","coin-fill","coin-line","coins-fill","coins-line","collage-fill","collage-line","color-filter-fill","color-filter-line","command-fill","command-line","community-fill","community-line","compass-2-fill","compass-2-line","compass-3-fill","compass-3-line","compass-4-fill","compass-4-line","compass-discover-fill","compass-discover-line","compass-fill","compass-line","compasses-2-fill","compasses-2-line","compasses-fill","compasses-line","computer-fill","computer-line","contacts-book-2-fill","contacts-book-2-line","contacts-book-3-fill","contacts-book-3-line","contacts-book-fill","contacts-book-line","contacts-book-upload-fill","contacts-book-upload-line","contacts-fill","contacts-line","contract-fill","contract-left-fill","contract-left-line","contract-left-right-fill","contract-left-right-line","contract-line","contract-right-fill","contract-right-line","contract-up-down-fill","contract-up-down-line","contrast-2-fill","contrast-2-line","contrast-drop-2-fill","contrast-drop-2-line","contrast-drop-fill","contrast-drop-line","contrast-fill","contrast-line","copilot-fill","copilot-line","copper-coin-fill","copper-coin-line","copper-diamond-fill","copper-diamond-line","copyleft-fill","copyleft-line","copyright-fill","copyright-line","coreos-fill","coreos-line","corner-down-left-fill","corner-down-left-line","corner-down-right-fill","corner-down-right-line","corner-left-down-fill","corner-left-down-line","corner-left-up-fill","corner-left-up-line","corner-right-down-fill","corner-right-down-line","corner-right-up-fill","corner-right-up-line","corner-up-left-double-fill","corner-up-left-double-line","corner-up-left-fill","corner-up-left-line","corner-up-right-double-fill","corner-up-right-double-line","corner-up-right-fill","corner-up-right-line","coupon-2-fill","coupon-2-line","coupon-3-fill","coupon-3-line","coupon-4-fill","coupon-4-line","coupon-5-fill","coupon-5-line","coupon-fill","coupon-line","cpu-fill","cpu-line","creative-commons-by-fill","creative-commons-by-line","creative-commons-fill","creative-commons-line","creative-commons-nc-fill","creative-commons-nc-line","creative-commons-nd-fill","creative-commons-nd-line","creative-commons-sa-fill","creative-commons-sa-line","creative-commons-zero-fill","creative-commons-zero-line","criminal-fill","criminal-line","crop-2-fill","crop-2-line","crop-fill","crop-line","cross-fill","cross-line","crosshair-2-fill","crosshair-2-line","crosshair-fill","crosshair-line","css3-fill","css3-line","cup-fill","cup-line","currency-fill","currency-line","cursor-fill","cursor-line","customer-service-2-fill","customer-service-2-line","customer-service-fill","customer-service-line","dashboard-2-fill","dashboard-2-line","dashboard-3-fill","dashboard-3-line","dashboard-fill","dashboard-line","database-2-fill","database-2-line","database-fill","database-line","delete-back-2-fill","delete-back-2-line","delete-back-fill","delete-back-line","delete-bin-2-fill","delete-bin-2-line","delete-bin-3-fill","delete-bin-3-line","delete-bin-4-fill","delete-bin-4-line","delete-bin-5-fill","delete-bin-5-line","delete-bin-6-fill","delete-bin-6-line","delete-bin-7-fill","delete-bin-7-line","delete-bin-fill","delete-bin-line","delete-column","delete-row","device-fill","device-line","device-recover-fill","device-recover-line","dice-1-fill","dice-1-line","dice-2-fill","dice-2-line","dice-3-fill","dice-3-line","dice-4-fill","dice-4-line","dice-5-fill","dice-5-line","dice-6-fill","dice-6-line","dice-fill","dice-line","dingding-fill","dingding-line","direction-fill","direction-line","disc-fill","disc-line","discord-fill","discord-line","discount-percent-fill","discount-percent-line","discuss-fill","discuss-line","dislike-fill","dislike-line","disqus-fill","disqus-line","divide-fill","divide-line","donut-chart-fill","donut-chart-line","door-closed-fill","door-closed-line","door-fill","door-line","door-lock-box-fill","door-lock-box-line","door-lock-fill","door-lock-line","door-open-fill","door-open-line","dossier-fill","dossier-line","douban-fill","douban-line","double-quotes-l","double-quotes-r","download-2-fill","download-2-line","download-cloud-2-fill","download-cloud-2-line","download-cloud-fill","download-cloud-line","download-fill","download-line","draft-fill","draft-line","drag-drop-fill","drag-drop-line","drag-move-2-fill","drag-move-2-line","drag-move-fill","drag-move-line","draggable","dribbble-fill","dribbble-line","drinks-2-fill","drinks-2-line","drinks-fill","drinks-line","drive-fill","drive-line","drizzle-fill","drizzle-line","drop-fill","drop-line","dropbox-fill","dropbox-line","dropdown-list","dual-sim-1-fill","dual-sim-1-line","dual-sim-2-fill","dual-sim-2-line","dv-fill","dv-line","dvd-fill","dvd-line","e-bike-2-fill","e-bike-2-line","e-bike-fill","e-bike-line","earth-fill","earth-line","earthquake-fill","earthquake-line","edge-fill","edge-line","edge-new-fill","edge-new-line","edit-2-fill","edit-2-line","edit-box-fill","edit-box-line","edit-circle-fill","edit-circle-line","edit-fill","edit-line","eject-fill","eject-line","emoji-sticker-fill","emoji-sticker-line","emotion-2-fill","emotion-2-line","emotion-fill","emotion-happy-fill","emotion-happy-line","emotion-laugh-fill","emotion-laugh-line","emotion-line","emotion-normal-fill","emotion-normal-line","emotion-sad-fill","emotion-sad-line","emotion-unhappy-fill","emotion-unhappy-line","empathize-fill","empathize-line","emphasis","emphasis-cn","english-input","equal-fill","equal-line","equalizer-2-fill","equalizer-2-line","equalizer-3-fill","equalizer-3-line","equalizer-fill","equalizer-line","eraser-fill","eraser-line","error-warning-fill","error-warning-line","eth-fill","eth-line","evernote-fill","evernote-line","exchange-2-fill","exchange-2-line","exchange-box-fill","exchange-box-line","exchange-cny-fill","exchange-cny-line","exchange-dollar-fill","exchange-dollar-line","exchange-fill","exchange-funds-fill","exchange-funds-line","exchange-line","expand-left-fill","expand-left-line","expand-left-right-fill","expand-left-right-line","expand-right-fill","expand-right-line","expand-up-down-fill","expand-up-down-line","export-fill","export-line","external-link-fill","external-link-line","eye-2-fill","eye-2-line","eye-close-fill","eye-close-line","eye-fill","eye-line","eye-off-fill","eye-off-line","facebook-box-fill","facebook-box-line","facebook-circle-fill","facebook-circle-line","facebook-fill","facebook-line","fahrenheit-fill","fahrenheit-line","feedback-fill","feedback-line","file-2-fill","file-2-line","file-3-fill","file-3-line","file-4-fill","file-4-line","file-add-fill","file-add-line","file-chart-2-fill","file-chart-2-line","file-chart-fill","file-chart-line","file-check-fill","file-check-line","file-close-fill","file-close-line","file-cloud-fill","file-cloud-line","file-code-fill","file-code-line","file-copy-2-fill","file-copy-2-line","file-copy-fill","file-copy-line","file-damage-fill","file-damage-line","file-download-fill","file-download-line","file-edit-fill","file-edit-line","file-excel-2-fill","file-excel-2-line","file-excel-fill","file-excel-line","file-fill","file-forbid-fill","file-forbid-line","file-gif-fill","file-gif-line","file-history-fill","file-history-line","file-hwp-fill","file-hwp-line","file-image-fill","file-image-line","file-info-fill","file-info-line","file-line","file-list-2-fill","file-list-2-line","file-list-3-fill","file-list-3-line","file-list-fill","file-list-line","file-lock-fill","file-lock-line","file-marked-fill","file-marked-line","file-music-fill","file-music-line","file-paper-2-fill","file-paper-2-line","file-paper-fill","file-paper-line","file-pdf-2-fill","file-pdf-2-line","file-pdf-fill","file-pdf-line","file-ppt-2-fill","file-ppt-2-line","file-ppt-fill","file-ppt-line","file-reduce-fill","file-reduce-line","file-search-fill","file-search-line","file-settings-fill","file-settings-line","file-shield-2-fill","file-shield-2-line","file-shield-fill","file-shield-line","file-shred-fill","file-shred-line","file-text-fill","file-text-line","file-transfer-fill","file-transfer-line","file-unknow-fill","file-unknow-line","file-upload-fill","file-upload-line","file-user-fill","file-user-line","file-video-fill","file-video-line","file-warning-fill","file-warning-line","file-word-2-fill","file-word-2-line","file-word-fill","file-word-line","file-zip-fill","file-zip-line","film-fill","film-line","filter-2-fill","filter-2-line","filter-3-fill","filter-3-line","filter-fill","filter-line","filter-off-fill","filter-off-line","find-replace-fill","find-replace-line","finder-fill","finder-line","fingerprint-2-fill","fingerprint-2-line","fingerprint-fill","fingerprint-line","fire-fill","fire-line","firefox-fill","firefox-line","first-aid-kit-fill","first-aid-kit-line","flag-2-fill","flag-2-line","flag-fill","flag-line","flashlight-fill","flashlight-line","flask-fill","flask-line","flickr-fill","flickr-line","flight-land-fill","flight-land-line","flight-takeoff-fill","flight-takeoff-line","flood-fill","flood-line","flow-chart","flower-fill","flower-line","flutter-fill","flutter-line","focus-2-fill","focus-2-line","focus-3-fill","focus-3-line","focus-fill","focus-line","focus-mode","foggy-fill","foggy-line","folder-2-fill","folder-2-line","folder-3-fill","folder-3-line","folder-4-fill","folder-4-line","folder-5-fill","folder-5-line","folder-6-fill","folder-6-line","folder-add-fill","folder-add-line","folder-chart-2-fill","folder-chart-2-line","folder-chart-fill","folder-chart-line","folder-check-fill","folder-check-line","folder-close-fill","folder-close-line","folder-cloud-fill","folder-cloud-line","folder-download-fill","folder-download-line","folder-fill","folder-forbid-fill","folder-forbid-line","folder-history-fill","folder-history-line","folder-image-fill","folder-image-line","folder-info-fill","folder-info-line","folder-keyhole-fill","folder-keyhole-line","folder-line","folder-lock-fill","folder-lock-line","folder-music-fill","folder-music-line","folder-open-fill","folder-open-line","folder-received-fill","folder-received-line","folder-reduce-fill","folder-reduce-line","folder-settings-fill","folder-settings-line","folder-shared-fill","folder-shared-line","folder-shield-2-fill","folder-shield-2-line","folder-shield-fill","folder-shield-line","folder-transfer-fill","folder-transfer-line","folder-unknow-fill","folder-unknow-line","folder-upload-fill","folder-upload-line","folder-user-fill","folder-user-line","folder-video-fill","folder-video-line","folder-warning-fill","folder-warning-line","folder-zip-fill","folder-zip-line","folders-fill","folders-line","font-color","font-family","font-mono","font-sans","font-sans-serif","font-size","font-size-2","football-fill","football-line","footprint-fill","footprint-line","forbid-2-fill","forbid-2-line","forbid-fill","forbid-line","format-clear","forward-10-fill","forward-10-line","forward-15-fill","forward-15-line","forward-30-fill","forward-30-line","forward-5-fill","forward-5-line","fridge-fill","fridge-line","fullscreen-exit-fill","fullscreen-exit-line","fullscreen-fill","fullscreen-line","function-fill","function-line","functions","funds-box-fill","funds-box-line","funds-fill","funds-line","gallery-fill","gallery-line","gallery-upload-fill","gallery-upload-line","gallery-view","gallery-view-2","game-fill","game-line","gamepad-fill","gamepad-line","gas-station-fill","gas-station-line","gatsby-fill","gatsby-line","genderless-fill","genderless-line","ghost-2-fill","ghost-2-line","ghost-fill","ghost-line","ghost-smile-fill","ghost-smile-line","gift-2-fill","gift-2-line","gift-fill","gift-line","git-branch-fill","git-branch-line","git-close-pull-request-fill","git-close-pull-request-line","git-commit-fill","git-commit-line","git-fork-fill","git-fork-line","git-merge-fill","git-merge-line","git-pull-request-fill","git-pull-request-line","git-repository-commits-fill","git-repository-commits-line","git-repository-fill","git-repository-line","git-repository-private-fill","git-repository-private-line","github-fill","github-line","gitlab-fill","gitlab-line","glasses-2-fill","glasses-2-line","glasses-fill","glasses-line","global-fill","global-line","globe-fill","globe-line","goblet-fill","goblet-line","goggles-fill","goggles-line","google-fill","google-line","google-play-fill","google-play-line","government-fill","government-line","gps-fill","gps-line","gradienter-fill","gradienter-line","graduation-cap-fill","graduation-cap-line","grid-fill","grid-line","group-2-fill","group-2-line","group-fill","group-line","guide-fill","guide-line","h-1","h-2","h-3","h-4","h-5","h-6","hail-fill","hail-line","hammer-fill","hammer-line","hand","hand-coin-fill","hand-coin-line","hand-heart-fill","hand-heart-line","hand-sanitizer-fill","hand-sanitizer-line","handbag-fill","handbag-line","hard-drive-2-fill","hard-drive-2-line","hard-drive-3-fill","hard-drive-3-line","hard-drive-fill","hard-drive-line","hashtag","haze-2-fill","haze-2-line","haze-fill","haze-line","hd-fill","hd-line","heading","headphone-fill","headphone-line","health-book-fill","health-book-line","heart-2-fill","heart-2-line","heart-3-fill","heart-3-line","heart-add-fill","heart-add-line","heart-fill","heart-line","heart-pulse-fill","heart-pulse-line","hearts-fill","hearts-line","heavy-showers-fill","heavy-showers-line","hexagon-fill","hexagon-line","history-fill","history-line","home-2-fill","home-2-line","home-3-fill","home-3-line","home-4-fill","home-4-line","home-5-fill","home-5-line","home-6-fill","home-6-line","home-7-fill","home-7-line","home-8-fill","home-8-line","home-fill","home-gear-fill","home-gear-line","home-heart-fill","home-heart-line","home-line","home-office-fill","home-office-line","home-smile-2-fill","home-smile-2-line","home-smile-fill","home-smile-line","home-wifi-fill","home-wifi-line","honor-of-kings-fill","honor-of-kings-line","honour-fill","honour-line","hospital-fill","hospital-line","hotel-bed-fill","hotel-bed-line","hotel-fill","hotel-line","hotspot-fill","hotspot-line","hourglass-2-fill","hourglass-2-line","hourglass-fill","hourglass-line","hq-fill","hq-line","html5-fill","html5-line","ie-fill","ie-line","image-2-fill","image-2-line","image-add-fill","image-add-line","image-circle-fill","image-circle-line","image-edit-fill","image-edit-line","image-fill","image-line","import-fill","import-line","inbox-2-fill","inbox-2-line","inbox-archive-fill","inbox-archive-line","inbox-fill","inbox-line","inbox-unarchive-fill","inbox-unarchive-line","increase-decrease-fill","increase-decrease-line","indent-decrease","indent-increase","indeterminate-circle-fill","indeterminate-circle-line","infinity-fill","infinity-line","info-i","information-2-fill","information-2-line","information-fill","information-line","infrared-thermometer-fill","infrared-thermometer-line","ink-bottle-fill","ink-bottle-line","input-cursor-move","input-field","input-method-fill","input-method-line","insert-column-left","insert-column-right","insert-row-bottom","insert-row-top","instagram-fill","instagram-line","install-fill","install-line","instance-fill","instance-line","invision-fill","invision-line","italic","javascript-fill","javascript-line","kakao-talk-fill","kakao-talk-line","kanban-view","kanban-view-2","key-2-fill","key-2-line","key-fill","key-line","keyboard-box-fill","keyboard-box-line","keyboard-fill","keyboard-line","keynote-fill","keynote-line","kick-fill","kick-line","knife-blood-fill","knife-blood-line","knife-fill","knife-line","landscape-fill","landscape-line","layout-2-fill","layout-2-line","layout-3-fill","layout-3-line","layout-4-fill","layout-4-line","layout-5-fill","layout-5-line","layout-6-fill","layout-6-line","layout-bottom-2-fill","layout-bottom-2-line","layout-bottom-fill","layout-bottom-line","layout-column-fill","layout-column-line","layout-fill","layout-grid-fill","layout-grid-line","layout-left-2-fill","layout-left-2-line","layout-left-fill","layout-left-line","layout-line","layout-masonry-fill","layout-masonry-line","layout-right-2-fill","layout-right-2-line","layout-right-fill","layout-right-line","layout-row-fill","layout-row-line","layout-top-2-fill","layout-top-2-line","layout-top-fill","layout-top-line","leaf-fill","leaf-line","lifebuoy-fill","lifebuoy-line","lightbulb-fill","lightbulb-flash-fill","lightbulb-flash-line","lightbulb-line","line-chart-fill","line-chart-line","line-fill","line-height","line-line","link","link-m","link-unlink","link-unlink-m","linkedin-box-fill","linkedin-box-line","linkedin-fill","linkedin-line","links-fill","links-line","list-check","list-check-2","list-check-3","list-indefinite","list-ordered","list-ordered-2","list-radio","list-settings-fill","list-settings-line","list-unordered","list-view","live-fill","live-line","loader-2-fill","loader-2-line","loader-3-fill","loader-3-line","loader-4-fill","loader-4-line","loader-5-fill","loader-5-line","loader-fill","loader-line","lock-2-fill","lock-2-line","lock-fill","lock-line","lock-password-fill","lock-password-line","lock-star-fill","lock-star-line","lock-unlock-fill","lock-unlock-line","login-box-fill","login-box-line","login-circle-fill","login-circle-line","logout-box-fill","logout-box-line","logout-box-r-fill","logout-box-r-line","logout-circle-fill","logout-circle-line","logout-circle-r-fill","logout-circle-r-line","loop-left-fill","loop-left-line","loop-right-fill","loop-right-line","luggage-cart-fill","luggage-cart-line","luggage-deposit-fill","luggage-deposit-line","lungs-fill","lungs-line","mac-fill","mac-line","macbook-fill","macbook-line","magic-fill","magic-line","mail-add-fill","mail-add-line","mail-check-fill","mail-check-line","mail-close-fill","mail-close-line","mail-download-fill","mail-download-line","mail-fill","mail-forbid-fill","mail-forbid-line","mail-line","mail-lock-fill","mail-lock-line","mail-open-fill","mail-open-line","mail-send-fill","mail-send-line","mail-settings-fill","mail-settings-line","mail-star-fill","mail-star-line","mail-unread-fill","mail-unread-line","mail-volume-fill","mail-volume-line","map-2-fill","map-2-line","map-fill","map-line","map-pin-2-fill","map-pin-2-line","map-pin-3-fill","map-pin-3-line","map-pin-4-fill","map-pin-4-line","map-pin-5-fill","map-pin-5-line","map-pin-add-fill","map-pin-add-line","map-pin-fill","map-pin-line","map-pin-range-fill","map-pin-range-line","map-pin-time-fill","map-pin-time-line","map-pin-user-fill","map-pin-user-line","mark-pen-fill","mark-pen-line","markdown-fill","markdown-line","markup-fill","markup-line","mastercard-fill","mastercard-line","mastodon-fill","mastodon-line","medal-2-fill","medal-2-line","medal-fill","medal-line","medicine-bottle-fill","medicine-bottle-line","medium-fill","medium-line","megaphone-fill","megaphone-line","memories-fill","memories-line","men-fill","men-line","mental-health-fill","mental-health-line","menu-2-fill","menu-2-line","menu-3-fill","menu-3-line","menu-4-fill","menu-4-line","menu-5-fill","menu-5-line","menu-add-fill","menu-add-line","menu-fill","menu-fold-fill","menu-fold-line","menu-line","menu-search-fill","menu-search-line","menu-unfold-fill","menu-unfold-line","merge-cells-horizontal","merge-cells-vertical","message-2-fill","message-2-line","message-3-fill","message-3-line","message-fill","message-line","messenger-fill","messenger-line","meta-fill","meta-line","meteor-fill","meteor-line","mic-2-fill","mic-2-line","mic-fill","mic-line","mic-off-fill","mic-off-line","mickey-fill","mickey-line","microscope-fill","microscope-line","microsoft-fill","microsoft-line","microsoft-loop-fill","microsoft-loop-line","mind-map","mini-program-fill","mini-program-line","mist-fill","mist-line","money-cny-box-fill","money-cny-box-line","money-cny-circle-fill","money-cny-circle-line","money-dollar-box-fill","money-dollar-box-line","money-dollar-circle-fill","money-dollar-circle-line","money-euro-box-fill","money-euro-box-line","money-euro-circle-fill","money-euro-circle-line","money-pound-box-fill","money-pound-box-line","money-pound-circle-fill","money-pound-circle-line","money-rupee-circle-fill","money-rupee-circle-line","moon-clear-fill","moon-clear-line","moon-cloudy-fill","moon-cloudy-line","moon-fill","moon-foggy-fill","moon-foggy-line","moon-line","more-2-fill","more-2-line","more-fill","more-line","motorbike-fill","motorbike-line","mouse-fill","mouse-line","movie-2-fill","movie-2-line","movie-fill","movie-line","music-2-fill","music-2-line","music-fill","music-line","mv-fill","mv-line","navigation-fill","navigation-line","netease-cloud-music-fill","netease-cloud-music-line","netflix-fill","netflix-line","news-fill","news-line","newspaper-fill","newspaper-line","nft-fill","nft-line","node-tree","notification-2-fill","notification-2-line","notification-3-fill","notification-3-line","notification-4-fill","notification-4-line","notification-badge-fill","notification-badge-line","notification-fill","notification-line","notification-off-fill","notification-off-line","notion-fill","notion-line","npmjs-fill","npmjs-line","number-0","number-1","number-2","number-3","number-4","number-5","number-6","number-7","number-8","number-9","numbers-fill","numbers-line","nurse-fill","nurse-line","octagon-fill","octagon-line","oil-fill","oil-line","omega","open-arm-fill","open-arm-line","open-source-fill","open-source-line","openai-fill","openai-line","openbase-fill","openbase-line","opera-fill","opera-line","order-play-fill","order-play-line","organization-chart","outlet-2-fill","outlet-2-line","outlet-fill","outlet-line","overline","p2p-fill","p2p-line","page-separator","pages-fill","pages-line","paint-brush-fill","paint-brush-line","paint-fill","paint-line","palette-fill","palette-line","pantone-fill","pantone-line","paragraph","parent-fill","parent-line","parentheses-fill","parentheses-line","parking-box-fill","parking-box-line","parking-fill","parking-line","pass-expired-fill","pass-expired-line","pass-pending-fill","pass-pending-line","pass-valid-fill","pass-valid-line","passport-fill","passport-line","patreon-fill","patreon-line","pause-circle-fill","pause-circle-line","pause-fill","pause-line","pause-mini-fill","pause-mini-line","paypal-fill","paypal-line","pen-nib-fill","pen-nib-line","pencil-fill","pencil-line","pencil-ruler-2-fill","pencil-ruler-2-line","pencil-ruler-fill","pencil-ruler-line","pentagon-fill","pentagon-line","percent-fill","percent-line","phone-camera-fill","phone-camera-line","phone-fill","phone-find-fill","phone-find-line","phone-line","phone-lock-fill","phone-lock-line","picture-in-picture-2-fill","picture-in-picture-2-line","picture-in-picture-exit-fill","picture-in-picture-exit-line","picture-in-picture-fill","picture-in-picture-line","pie-chart-2-fill","pie-chart-2-line","pie-chart-box-fill","pie-chart-box-line","pie-chart-fill","pie-chart-line","pin-distance-fill","pin-distance-line","ping-pong-fill","ping-pong-line","pinterest-fill","pinterest-line","pinyin-input","pixelfed-fill","pixelfed-line","plane-fill","plane-line","planet-fill","planet-line","plant-fill","plant-line","play-circle-fill","play-circle-line","play-fill","play-line","play-list-2-fill","play-list-2-line","play-list-add-fill","play-list-add-line","play-list-fill","play-list-line","play-mini-fill","play-mini-line","playstation-fill","playstation-line","plug-2-fill","plug-2-line","plug-fill","plug-line","polaroid-2-fill","polaroid-2-line","polaroid-fill","polaroid-line","police-car-fill","police-car-line","presentation-fill","presentation-line","price-tag-2-fill","price-tag-2-line","price-tag-3-fill","price-tag-3-line","price-tag-fill","price-tag-line","printer-cloud-fill","printer-cloud-line","printer-fill","printer-line","product-hunt-fill","product-hunt-line","profile-fill","profile-line","progress-1-fill","progress-1-line","progress-2-fill","progress-2-line","progress-3-fill","progress-3-line","progress-4-fill","progress-4-line","progress-5-fill","progress-5-line","progress-6-fill","progress-6-line","progress-7-fill","progress-7-line","progress-8-fill","progress-8-line","prohibited-fill","prohibited-line","projector-2-fill","projector-2-line","projector-fill","projector-line","psychotherapy-fill","psychotherapy-line","pulse-fill","pulse-line","pushpin-2-fill","pushpin-2-line","pushpin-fill","pushpin-line","puzzle-2-fill","puzzle-2-line","puzzle-fill","puzzle-line","qq-fill","qq-line","qr-code-fill","qr-code-line","qr-scan-2-fill","qr-scan-2-line","qr-scan-fill","qr-scan-line","question-answer-fill","question-answer-line","question-fill","question-line","question-mark","questionnaire-fill","questionnaire-line","quill-pen-fill","quill-pen-line","quote-text","radar-fill","radar-line","radio-2-fill","radio-2-line","radio-button-fill","radio-button-line","radio-fill","radio-line","rainbow-fill","rainbow-line","rainy-fill","rainy-line","ram-2-fill","ram-2-line","ram-fill","ram-line","reactjs-fill","reactjs-line","receipt-fill","receipt-line","record-circle-fill","record-circle-line","record-mail-fill","record-mail-line","rectangle-fill","rectangle-line","recycle-fill","recycle-line","red-packet-fill","red-packet-line","reddit-fill","reddit-line","refresh-fill","refresh-line","refund-2-fill","refund-2-line","refund-fill","refund-line","registered-fill","registered-line","remix-run-fill","remix-run-line","remixicon-fill","remixicon-line","remote-control-2-fill","remote-control-2-line","remote-control-fill","remote-control-line","repeat-2-fill","repeat-2-line","repeat-fill","repeat-line","repeat-one-fill","repeat-one-line","replay-10-fill","replay-10-line","replay-15-fill","replay-15-line","replay-30-fill","replay-30-line","replay-5-fill","replay-5-line","reply-all-fill","reply-all-line","reply-fill","reply-line","reserved-fill","reserved-line","rest-time-fill","rest-time-line","restart-fill","restart-line","restaurant-2-fill","restaurant-2-line","restaurant-fill","restaurant-line","rewind-fill","rewind-line","rewind-mini-fill","rewind-mini-line","rfid-fill","rfid-line","rhythm-fill","rhythm-line","riding-fill","riding-line","road-map-fill","road-map-line","roadster-fill","roadster-line","robot-2-fill","robot-2-line","robot-3-fill","robot-3-line","robot-fill","robot-line","rocket-2-fill","rocket-2-line","rocket-fill","rocket-line","rotate-lock-fill","rotate-lock-line","rounded-corner","route-fill","route-line","router-fill","router-line","rss-fill","rss-line","ruler-2-fill","ruler-2-line","ruler-fill","ruler-line","run-fill","run-line","safari-fill","safari-line","safe-2-fill","safe-2-line","safe-fill","safe-line","sailboat-fill","sailboat-line","save-2-fill","save-2-line","save-3-fill","save-3-line","save-fill","save-line","scales-2-fill","scales-2-line","scales-3-fill","scales-3-line","scales-fill","scales-line","scan-2-fill","scan-2-line","scan-fill","scan-line","school-fill","school-line","scissors-2-fill","scissors-2-line","scissors-cut-fill","scissors-cut-line","scissors-fill","scissors-line","screenshot-2-fill","screenshot-2-line","screenshot-fill","screenshot-line","sd-card-fill","sd-card-line","sd-card-mini-fill","sd-card-mini-line","search-2-fill","search-2-line","search-eye-fill","search-eye-line","search-fill","search-line","secure-payment-fill","secure-payment-line","seedling-fill","seedling-line","send-backward","send-plane-2-fill","send-plane-2-line","send-plane-fill","send-plane-line","send-to-back","sensor-fill","sensor-line","seo-fill","seo-line","separator","server-fill","server-line","service-fill","service-line","settings-2-fill","settings-2-line","settings-3-fill","settings-3-line","settings-4-fill","settings-4-line","settings-5-fill","settings-5-line","settings-6-fill","settings-6-line","settings-fill","settings-line","shadow-fill","shadow-line","shake-hands-fill","shake-hands-line","shape-2-fill","shape-2-line","shape-fill","shape-line","shapes-fill","shapes-line","share-2-fill","share-2-line","share-box-fill","share-box-line","share-circle-fill","share-circle-line","share-fill","share-forward-2-fill","share-forward-2-line","share-forward-box-fill","share-forward-box-line","share-forward-fill","share-forward-line","share-line","shield-check-fill","shield-check-line","shield-cross-fill","shield-cross-line","shield-fill","shield-flash-fill","shield-flash-line","shield-keyhole-fill","shield-keyhole-line","shield-line","shield-star-fill","shield-star-line","shield-user-fill","shield-user-line","shining-2-fill","shining-2-line","shining-fill","shining-line","ship-2-fill","ship-2-line","ship-fill","ship-line","shirt-fill","shirt-line","shopping-bag-2-fill","shopping-bag-2-line","shopping-bag-3-fill","shopping-bag-3-line","shopping-bag-fill","shopping-bag-line","shopping-basket-2-fill","shopping-basket-2-line","shopping-basket-fill","shopping-basket-line","shopping-cart-2-fill","shopping-cart-2-line","shopping-cart-fill","shopping-cart-line","showers-fill","showers-line","shuffle-fill","shuffle-line","shut-down-fill","shut-down-line","side-bar-fill","side-bar-line","sidebar-fold-fill","sidebar-fold-line","sidebar-unfold-fill","sidebar-unfold-line","signal-tower-fill","signal-tower-line","signal-wifi-1-fill","signal-wifi-1-line","signal-wifi-2-fill","signal-wifi-2-line","signal-wifi-3-fill","signal-wifi-3-line","signal-wifi-error-fill","signal-wifi-error-line","signal-wifi-fill","signal-wifi-line","signal-wifi-off-fill","signal-wifi-off-line","signpost-fill","signpost-line","sim-card-2-fill","sim-card-2-line","sim-card-fill","sim-card-line","single-quotes-l","single-quotes-r","sip-fill","sip-line","sketching","skip-back-fill","skip-back-line","skip-back-mini-fill","skip-back-mini-line","skip-down-fill","skip-down-line","skip-forward-fill","skip-forward-line","skip-forward-mini-fill","skip-forward-mini-line","skip-left-fill","skip-left-line","skip-right-fill","skip-right-line","skip-up-fill","skip-up-line","skull-2-fill","skull-2-line","skull-fill","skull-line","skype-fill","skype-line","slack-fill","slack-line","slash-commands","slash-commands-2","slice-fill","slice-line","slideshow-2-fill","slideshow-2-line","slideshow-3-fill","slideshow-3-line","slideshow-4-fill","slideshow-4-line","slideshow-fill","slideshow-line","slideshow-view","slow-down-fill","slow-down-line","smartphone-fill","smartphone-line","snapchat-fill","snapchat-line","snowy-fill","snowy-line","sofa-fill","sofa-line","sort-alphabet-asc","sort-alphabet-desc","sort-asc","sort-desc","sort-number-asc","sort-number-desc","sound-module-fill","sound-module-line","soundcloud-fill","soundcloud-line","space","space-ship-fill","space-ship-line","spam-2-fill","spam-2-line","spam-3-fill","spam-3-line","spam-fill","spam-line","sparkling-2-fill","sparkling-2-line","sparkling-fill","sparkling-line","speak-fill","speak-line","speaker-2-fill","speaker-2-line","speaker-3-fill","speaker-3-line","speaker-fill","speaker-line","spectrum-fill","spectrum-line","speed-fill","speed-line","speed-mini-fill","speed-mini-line","speed-up-fill","speed-up-line","split-cells-horizontal","split-cells-vertical","spotify-fill","spotify-line","spy-fill","spy-line","square-fill","square-line","stack-fill","stack-line","stack-overflow-fill","stack-overflow-line","stacked-view","stackshare-fill","stackshare-line","star-fill","star-half-fill","star-half-line","star-half-s-fill","star-half-s-line","star-line","star-s-fill","star-s-line","star-smile-fill","star-smile-line","steam-fill","steam-line","steering-2-fill","steering-2-line","steering-fill","steering-line","stethoscope-fill","stethoscope-line","sticky-note-2-fill","sticky-note-2-line","sticky-note-add-fill","sticky-note-add-line","sticky-note-fill","sticky-note-line","stock-fill","stock-line","stop-circle-fill","stop-circle-line","stop-fill","stop-line","stop-mini-fill","stop-mini-line","store-2-fill","store-2-line","store-3-fill","store-3-line","store-fill","store-line","strikethrough","strikethrough-2","subscript","subscript-2","subtract-fill","subtract-line","subway-fill","subway-line","subway-wifi-fill","subway-wifi-line","suitcase-2-fill","suitcase-2-line","suitcase-3-fill","suitcase-3-line","suitcase-fill","suitcase-line","sun-cloudy-fill","sun-cloudy-line","sun-fill","sun-foggy-fill","sun-foggy-line","sun-line","supabase-fill","supabase-line","superscript","superscript-2","surgical-mask-fill","surgical-mask-line","surround-sound-fill","surround-sound-line","survey-fill","survey-line","svelte-fill","svelte-line","swap-2-fill","swap-2-line","swap-3-fill","swap-3-line","swap-box-fill","swap-box-line","swap-fill","swap-line","switch-fill","switch-line","sword-fill","sword-line","syringe-fill","syringe-line","t-box-fill","t-box-line","t-shirt-2-fill","t-shirt-2-line","t-shirt-air-fill","t-shirt-air-line","t-shirt-fill","t-shirt-line","table-2","table-3","table-alt-fill","table-alt-line","table-fill","table-line","table-view","tablet-fill","tablet-line","takeaway-fill","takeaway-line","taobao-fill","taobao-line","tape-fill","tape-line","task-fill","task-line","taxi-fill","taxi-line","taxi-wifi-fill","taxi-wifi-line","team-fill","team-line","telegram-fill","telegram-line","temp-cold-fill","temp-cold-line","temp-hot-fill","temp-hot-line","tent-fill","tent-line","terminal-box-fill","terminal-box-line","terminal-fill","terminal-line","terminal-window-fill","terminal-window-line","test-tube-fill","test-tube-line","text","text-block","text-direction-l","text-direction-r","text-snippet","text-spacing","text-wrap","thermometer-fill","thermometer-line","threads-fill","threads-line","thumb-down-fill","thumb-down-line","thumb-up-fill","thumb-up-line","thunderstorms-fill","thunderstorms-line","ticket-2-fill","ticket-2-line","ticket-fill","ticket-line","tiktok-fill","tiktok-line","time-fill","time-line","time-zone-fill","time-zone-line","timeline-view","timer-2-fill","timer-2-line","timer-fill","timer-flash-fill","timer-flash-line","timer-line","todo-fill","todo-line","toggle-fill","toggle-line","token-swap-fill","token-swap-line","tools-fill","tools-line","tornado-fill","tornado-line","trademark-fill","trademark-line","traffic-light-fill","traffic-light-line","train-fill","train-line","train-wifi-fill","train-wifi-line","translate","translate-2","travesti-fill","travesti-line","treasure-map-fill","treasure-map-line","tree-fill","tree-line","trello-fill","trello-line","triangle-fill","triangle-line","trophy-fill","trophy-line","truck-fill","truck-line","tumblr-fill","tumblr-line","tv-2-fill","tv-2-line","tv-fill","tv-line","twitch-fill","twitch-line","twitter-fill","twitter-line","twitter-x-fill","twitter-x-line","typhoon-fill","typhoon-line","u-disk-fill","u-disk-line","ubuntu-fill","ubuntu-line","umbrella-fill","umbrella-line","underline","uninstall-fill","uninstall-line","unpin-fill","unpin-line","unsplash-fill","unsplash-line","upload-2-fill","upload-2-line","upload-cloud-2-fill","upload-cloud-2-line","upload-cloud-fill","upload-cloud-line","upload-fill","upload-line","usb-fill","usb-line","user-2-fill","user-2-line","user-3-fill","user-3-line","user-4-fill","user-4-line","user-5-fill","user-5-line","user-6-fill","user-6-line","user-add-fill","user-add-line","user-fill","user-follow-fill","user-follow-line","user-forbid-fill","user-forbid-line","user-heart-fill","user-heart-line","user-line","user-location-fill","user-location-line","user-received-2-fill","user-received-2-line","user-received-fill","user-received-line","user-search-fill","user-search-line","user-settings-fill","user-settings-line","user-shared-2-fill","user-shared-2-line","user-shared-fill","user-shared-line","user-smile-fill","user-smile-line","user-star-fill","user-star-line","user-unfollow-fill","user-unfollow-line","user-voice-fill","user-voice-line","verified-badge-fill","verified-badge-line","video-add-fill","video-add-line","video-chat-fill","video-chat-line","video-download-fill","video-download-line","video-fill","video-line","video-upload-fill","video-upload-line","vidicon-2-fill","vidicon-2-line","vidicon-fill","vidicon-line","vimeo-fill","vimeo-line","vip-crown-2-fill","vip-crown-2-line","vip-crown-fill","vip-crown-line","vip-diamond-fill","vip-diamond-line","vip-fill","vip-line","virus-fill","virus-line","visa-fill","visa-line","vk-fill","vk-line","voice-recognition-fill","voice-recognition-line","voiceprint-fill","voiceprint-line","volume-down-fill","volume-down-line","volume-mute-fill","volume-mute-line","volume-off-vibrate-fill","volume-off-vibrate-line","volume-up-fill","volume-up-line","volume-vibrate-fill","volume-vibrate-line","vuejs-fill","vuejs-line","walk-fill","walk-line","wallet-2-fill","wallet-2-line","wallet-3-fill","wallet-3-line","wallet-fill","wallet-line","water-flash-fill","water-flash-line","water-percent-fill","water-percent-line","webcam-fill","webcam-line","wechat-2-fill","wechat-2-line","wechat-channels-fill","wechat-channels-line","wechat-fill","wechat-line","wechat-pay-fill","wechat-pay-line","weibo-fill","weibo-line","whatsapp-fill","whatsapp-line","wheelchair-fill","wheelchair-line","wifi-fill","wifi-line","wifi-off-fill","wifi-off-line","window-2-fill","window-2-line","window-fill","window-line","windows-fill","windows-line","windy-fill","windy-line","wireless-charging-fill","wireless-charging-line","women-fill","women-line","wordpress-fill","wordpress-line","wubi-input","xbox-fill","xbox-line","xing-fill","xing-line","xrp-fill","xrp-line","xtz-fill","xtz-line","youtube-fill","youtube-line","yuque-fill","yuque-line","zcool-fill","zcool-line","zhihu-fill","zhihu-line","zoom-in-fill","zoom-in-line","zoom-out-fill","zoom-out-line","zzz-fill","zzz-line"]},{prefix:"logos",info:{name:"SVG Logos",total:1812,author:{name:"Gil Barbara",url:"https://github.com/gilbarbara/logos"},license:{title:"CC0",spdx:"CC0-1.0",url:"https://raw.githubusercontent.com/gilbarbara/logos/master/LICENSE.txt"},samples:["angular-icon","firefox","google-drive"],category:"Brands / Social",palette:!0},icons:["100tb","500px","6px","active-campaign","active-campaign-icon","admob","adobe-after-effects","adobe-animate","adobe-dreamweaver","adobe-illustrator","adobe-incopy","adobe-indesign","adobe-lightroom","adobe-photoshop","adobe-premiere","adobe-xd","adonisjs","adonisjs-icon","adroll","adyen","aerogear","aerospike","aerospike-icon","aha","ai","airbnb","airbnb-icon","airbrake","airflow","airflow-icon","airtable","aix","akamai","akka","alfresco","algolia","alpinejs","alpinejs-icon","altair","amazon-chime","amazon-connect","amd","amex","amex-digital","amp","amp-icon","ampersand","amplication","amplication-icon","amplitude","amplitude-icon","analog","android","android-icon","android-vertical","angellist","angular","angular-icon","ansible","ant-design","anthropic","anthropic-icon","apache","apache-camel","apache-cloudstack","apache-flink","apache-flink-icon","apache-spark","apache-superset","apache-superset-icon","api-ai","apiary","apigee","apitools","apollostack","apostrophe","appbase","appbaseio","appbaseio-icon","appcelerator","appcenter","appcenter-icon","appcircle","appcircle-icon","appcode","appdynamics","appdynamics-icon","appfog","apphub","appium","apple","apple-app-store","apple-pay","applitools","applitools-icon","appmaker","apportable","appsignal","appsignal-icon","apptentive","appveyor","appwrite","appwrite-icon","arangodb","arangodb-icon","arc","architect","architect-icon","archlinux","arduino","argo","argo-icon","arm","armory","armory-icon","asana","asana-icon","asciidoctor","assembla","assembla-icon","astro","astro-icon","astronomer","async-api","async-api-icon","atlassian","atom","atom-icon","atomic","atomic-icon","atomicojs","atomicojs-icon","aurelia","aurora","aurous","auth0","auth0-icon","authy","autocode","autoit","autoprefixer","ava","awesome","aws","aws-amplify","aws-api-gateway","aws-app-mesh","aws-appflow","aws-appsync","aws-athena","aws-aurora","aws-backup","aws-batch","aws-certificate-manager","aws-cloudformation","aws-cloudfront","aws-cloudsearch","aws-cloudtrail","aws-cloudwatch","aws-codebuild","aws-codecommit","aws-codedeploy","aws-codepipeline","aws-codestar","aws-cognito","aws-config","aws-documentdb","aws-dynamodb","aws-ec2","aws-ecs","aws-eks","aws-elastic-beanstalk","aws-elastic-cache","aws-elasticache","aws-elb","aws-eventbridge","aws-fargate","aws-glacier","aws-glue","aws-iam","aws-keyspaces","aws-kinesis","aws-kms","aws-lake-formation","aws-lambda","aws-lightsail","aws-mobilehub","aws-mq","aws-msk","aws-neptune","aws-open-search","aws-opsworks","aws-quicksight","aws-rds","aws-redshift","aws-route53","aws-s3","aws-secrets-manager","aws-ses","aws-shield","aws-sns","aws-sqs","aws-step-functions","aws-systems-manager","aws-timestream","aws-vpc","aws-waf","aws-xray","axios","azure","azure-icon","babel","backbone","backbone-icon","backerkit","baker-street","balena","bamboo","base","basecamp","basecamp-icon","basekit","baseline","bash","bash-icon","batch","beats","behance","bem","bem-2","bigpanda","bing","biomejs","bitballoon","bitbar","bitbucket","bitcoin","bitnami","bitrise","bitrise-icon","blender","blitzjs","blitzjs-icon","blocs","blogger","blossom","bluemix","blueprint","bluetooth","booqable","booqable-icon","bootstrap","bosun","botanalytics","bourbon","bower","bowtie","box","brackets","brainjs","branch","branch-icon","brandfolder","brandfolder-icon","brave","braze","braze-icon","broadcom","broadcom-icon","broccoli","brotli","browserify","browserify-icon","browserling","browserslist","browserstack","browsersync","brunch","bubble","bubble-icon","buck","buddy","buffer","bugherd","bugherd-icon","bugsee","bugsnag","bugsnag-icon","builder-io","builder-io-icon","buildkite","buildkite-icon","bulma","bun","bunny-net","bunny-net-icon","c","c-plusplus","c-sharp","cachet","caffe2","cakephp","cakephp-icon","calibre","calibre-icon","campaignmonitor","campaignmonitor-icon","campfire","canjs","capacitorjs","capacitorjs-icon","capistrano","carbide","cardano","cardano-icon","cassandra","celluloid","centos","centos-icon","certbot","ceylon","chai","chalk","changetip","chargebee","chargebee-icon","chartblocks","chef","chevereto","chroma","chromatic","chromatic-icon","chrome","chrome-web-store","cinder","circleci","cirrus","cirrus-ci","clickdeploy","clio-lang","clion","cljs","clojure","close","cloud9","cloudacademy","cloudacademy-icon","cloudant","cloudcraft","cloudera","cloudflare","cloudflare-icon","cloudflare-workers","cloudflare-workers-icon","cloudinary","cloudinary-icon","cloudlinux","clusterhq","cobalt","cockpit","cocoapods","coda","coda-icon","codacy","codebase","codebeat","codecademy","codeception","codeclimate","codeclimate-icon","codecov","codecov-icon","codefactor","codefactor-icon","codefund","codefund-icon","codeigniter","codeigniter-icon","codepen","codepen-icon","codepicnic","codepush","codersrank","codersrank-icon","coderwall","codesandbox","codesandbox-icon","codeschool","codesee","codesee-icon","codeship","codio","codium","codium-icon","codrops","coffeescript","commitizen","compass","component","componentkit","compose","compose-multiplatform","composer","conan-io","concourse","concrete5","concretecms","concretecms-icon","conda","confluence","consul","containership","contentful","convox","convox-icon","copyleft","copyleft-pirate","corda","cordova","coreos","coreos-icon","couchbase","couchdb","couchdb-icon","coursera","coveralls","coverity","cpanel","craft","craftcms","crashlytics","crateio","create-react-app","createjs","crittercism","cross-browser-testing","crossbrowsertesting","crossplane","crossplane-icon","crowdprocess","crucible","crystal","css-3","css-3-official","cssnext","cube","cube-icon","cucumber","curl","customerio","customerio-icon","cyclejs","cypress","cypress-icon","d3","dailydev","dailydev-icon","daisyui","danfo","dapulse","dart","dashlane","dashlane-icon","dat","data-station","database-labs","datadog","datadog-icon","datagrip","datasette","datasette-icon","dataspell","datocms","datocms-icon","dbt","dbt-icon","dcos","dcos-icon","debian","delicious","delicious-burger","delighted","delighted-icon","deno","dependabot","dependencyci","deploy","deployhq","deployhq-icon","deppbot","derby","descript","descript-icon","designernews","desk","dev","dev-icon","deviantart","deviantart-icon","dgraph","dgraph-icon","dialogflow","digital-ocean","digital-ocean-icon","dimer","dinersclub","discord","discord-icon","discourse","discourse-icon","discover","disqus","distelli","divshot","django","django-icon","dockbit","docker","docker-icon","doctrine","docusaurus","dojo","dojo-icon","dojo-toolkit","dolt","dotcloud","dotnet","doubleclick","dovetail","dovetail-icon","dreamfactory","dreamhost","dribbble","dribbble-icon","drift","drip","drizzle","drizzle-icon","drone","drone-icon","drools","drools-icon","dropbox","dropmark","dropzone","drupal","drupal-icon","duckduckgo","dynatrace","dynatrace-icon","dyndns","eager","ebanx","eclipse","eclipse-icon","ecma","edgedb","edgio","edgio-icon","editorconfig","effect","effect-icon","effector","egghead","elasticbox","elasticpath","elasticpath-icon","elasticsearch","electron","element","elemental-ui","elementary","eleventy","ello","elm","elm-classic","elo","emacs","emacs-classic","embedly","ember","ember-tomster","emmet","enact","engine-yard","engine-yard-icon","envato","envoy","envoy-icon","envoyer","envoyproxy","enyo","epsagon","epsagon-icon","eraser","eraser-icon","erlang","es6","esbuild","esdoc","eslint","eslint-old","eta","eta-icon","etcd","ethereum","ethereum-color","ethers","ethnio","eventbrite","eventbrite-icon","eventsentry","evergreen","evergreen-icon","expo","expo-icon","exponent","express","fabric","fabric-io","facebook","falcor","famous","fastapi","fastapi-icon","fastify","fastify-icon","fastlane","fastly","fauna","fauna-icon","feathersjs","fedora","fetch","ffmpeg","ffmpeg-icon","figma","firebase","firefox","flannel","flarum","flask","flat-ui","flattr","flattr-icon","fleep","flexible-gs","flickr","flickr-icon","flight","flocker","floodio","flow","flowxo","floydhub","flutter","flux","fluxxor","fly","fly-icon","flyjs","fogbugz","fogbugz-icon","fomo","fomo-icon","font-awesome","forest","forestadmin","forestadmin-icon","forever","formkeep","fortran","foundation","foundationdb","foundationdb-icon","framed","framer","framework7","framework7-icon","freebsd","freedcamp","freedcamp-icon","freedomdefined","fresh","frontapp","fsharp","fuchsia","galliumos","game-analytics","game-analytics-icon","ganache","ganache-icon","gatsby","gaugeio","geekbot","geetest","geetest-icon","get-satisfaction","getyourguide","ghost","giantswarm","gin","git","git-icon","gitboard","github","github-actions","github-copilot","github-icon","github-octocat","gitkraken","gitlab","gitter","gitup","glamorous","glamorous-icon","gleam","glimmerjs","glint","glitch","glitch-icon","gnome","gnome-icon","gnu","gnu-net","gnupg","gnupg-icon","go","gocd","godot","godot-icon","gohorse","goland","gomix","google","google-2014","google-360suite","google-admob","google-ads","google-adsense","google-adwords","google-analytics","google-bard","google-bard-icon","google-calendar","google-cloud","google-cloud-functions","google-cloud-platform","google-cloud-run","google-currents","google-data-studio","google-developers","google-developers-icon","google-domains","google-domains-icon","google-drive","google-fit","google-gemini","google-gmail","google-gsuite","google-home","google-icon","google-inbox","google-keep","google-maps","google-marketing-platform","google-meet","google-one","google-optimize","google-palm","google-pay","google-pay-icon","google-photos","google-play","google-play-console","google-play-console-icon","google-play-icon","google-plus","google-search-console","google-tag-manager","google-wallet","google-workspace","gopher","gordon","gradio","gradio-icon","gradle","grafana","grails","grammarly","grammarly-icon","grape","graphcool","graphene","graphql","gratipay","grav","gravatar","gravatar-icon","graylog","graylog-icon","greensock","greensock-icon","gridsome","gridsome-icon","grommet","groovehq","grove","growth-book","growth-book-icon","grpc","grunt","gulp","gunicorn","gunjs","gusto","gwt","hack","hacker-one","hadoop","haiku","haiku-icon","haml","hanami","handlebars","hapi","hardhat","hardhat-icon","harness","harness-icon","harrow","hashicorp","hashicorp-icon","hashnode","hashnode-icon","haskell","haskell-icon","hasura","hasura-icon","haxe","haxl","hbase","hcaptcha","hcaptcha-icon","headlessui","headlessui-icon","heap","heap-icon","helm","helpscout","helpscout-icon","hermes","heroku","heroku-icon","heroku-redis","heron","hexo","hhvm","hibernate","highcharts","hipchat","hipercard","hoa","homebrew","hono","hoodie","hookstate","hootsuite","hootsuite-icon","horizon","hosted-graphite","hostgator","hostgator-icon","hotjar","hotjar-icon","houndci","html-5","html5-boilerplate","httpie","httpie-icon","hubspot","hugging-face","hugging-face-icon","huggy","hugo","humongous","hyper","hyperapp","ibm","ieee","ietf","ifttt","imagemin","imba","imba-icon","immer","immer-icon","immutable","impala","importio","incident","incident-icon","infer","inferno","influxdb","influxdb-icon","ink","insomnia","instagram","instagram-icon","intel","intellij-idea","intercom","intercom-icon","internetexplorer","invision","invision-icon","io","ionic","ionic-icon","ios","iron","iron-icon","itsalive","itsalive-icon","jade","jamstack","jamstack-icon","jasmine","java","javascript","jcb","jekyll","jelastic","jelastic-icon","jenkins","jest","jetbrains","jetbrains-icon","jetbrains-space","jetbrains-space-icon","jfrog","jhipster","jhipster-icon","jira","joomla","jotai","jquery","jquery-mobile","jruby","jsbin","jscs","jsdelivr","jsdom","jsfiddle","json","json-ld","jspm","jss","juju","julia","jupyter","jwt","jwt-icon","kafka","kafka-icon","kaios","kallithea","karma","katalon","katalon-icon","kde","keen","kemal","keycdn","keycdn-icon","keydb","keydb-icon","keymetrics","keystonejs","khan-academy","khan-academy-icon","kibana","kickstarter","kickstarter-icon","kinto","kinto-icon","kinvey","kirby","kirby-icon","kissmetrics","kissmetrics-monochromatic","kitematic","kloudless","knex","knockout","koa","kong","kong-icon","kontena","kops","kore","koreio","kotlin","kotlin-icon","kraken","krakenjs","ktor","ktor-icon","kubernetes","kustomer","languagetool","laravel","lastfm","lateral","lateral-icon","launchdarkly","launchdarkly-icon","launchkit","launchrock","leaflet","leankit","leankit-icon","lerna","less","lets-cloud","letsencrypt","leveldb","lexical","lexical-icon","librato","liftweb","lighthouse","lightstep","lightstep-icon","lighttpd","linear","linear-icon","linkedin","linkedin-icon","linkerd","linode","linux-mint","linux-tux","lit","lit-icon","litmus","loader","locent","lodash","logentries","loggly","logmatic","logstash","lookback","looker","looker-icon","loom","loom-icon","loopback","loopback-icon","losant","lotus","lua","lucene","lucene-net","lumen","lynda","macos","macosx","madge","maestro","mageia","magento","magneto","mailchimp","mailchimp-freddie","maildeveloper","mailgun","mailgun-icon","mailjet","mailjet-icon","malinajs","mandrill","mandrill-shield","manifoldjs","manjaro","mantine","mantine-icon","mantl","manuscript","mapbox","mapbox-icon","maps-me","mapzen","mapzen-icon","mariadb","mariadb-icon","marionette","markdown","marko","marvel","mastercard","mastodon","mastodon-icon","material-ui","materializecss","matomo","matomo-icon","matplotlib","matplotlib-icon","matter","matter-icon","mattermost","mattermost-icon","mautic","mautic-icon","maven","maxcdn","mdn","mdx","meanio","medium","medium-icon","medusa","medusa-icon","meilisearch","memcached","memgraph","memsql","memsql-icon","mention","mercurial","mern","mesos","mesosphere","messenger","meta","meta-icon","metabase","metamask","metamask-icon","meteor","meteor-icon","micro","micro-icon","micro-python","microcosm","micron","micron-icon","microsoft","microsoft-azure","microsoft-edge","microsoft-icon","microsoft-onedrive","microsoft-power-bi","microsoft-teams","microsoft-windows","microsoft-windows-icon","mida","mida-icon","middleman","midjourney","milligram","million","million-icon","milvus","milvus-icon","mindsdb","mindsdb-icon","mint-lang","mio","mist","mistral-ai","mistral-ai-icon","mithril","mixmax","mixpanel","mlab","mobx","mocha","mockflow","mockflow-icon","modernizr","modulus","modx","modx-icon","moltin","moltin-icon","momentjs","monday","monday-icon","monero","mongodb","mongodb-icon","mongolab","mono","moon","mootools","morpheus","morpheus-icon","mozilla","mparticle","mparticle-icon","mps","mps-icon","msw","msw-icon","multipass","mysql","mysql-icon","myth","naiveui","namecheap","nanonets","nasm","nativescript","nats","nats-icon","neat","neo4j","neon","neon-icon","neonmetrics","neovim","nestjs","net","netbeans","netflix","netflix-icon","netlify","netlify-icon","netuitive","neverinstall","neverinstall-icon","new-relic","new-relic-icon","nextjs","nextjs-icon","nginx","ngrok","nhost","nhost-icon","nightwatch","nim-lang","nocodb","nodal","node-sass","nodebots","nodejitsu","nodejs","nodejs-icon","nodejs-icon-alt","nodemon","nodeos","nodewebkit","nomad","nomad-icon","notion","notion-icon","now","noysi","npm","npm-2","npm-icon","nuclide","numpy","nuodb","nuxt","nuxt-icon","nvidia","nvm","nx","oauth","observablehq","obsidian","obsidian-icon","ocaml","octodns","octopus-deploy","okta","okta-icon","olapic","olark","onesignal","opbeat","open-graph","open-zeppelin","open-zeppelin-icon","openai","openai-icon","openapi","openapi-icon","opencart","opencollective","opencv","openframeworks","opengl","openjs-foundation","openjs-foundation-icon","openlayers","opensearch","opensearch-icon","openshift","opensource","openstack","openstack-icon","opentelemetry","opentelemetry-icon","opera","opsee","opsgenie","opsmatic","optimizely","optimizely-icon","oracle","oreilly","origami","origin","oshw","osquery","otto","overloop","overloop-icon","p5js","packer","pagekit","pagekite","pagerduty","pagerduty-icon","panda","pandacss","pandacss-icon","pandas","pandas-icon","parcel","parcel-icon","parse","parsehub","partytown","partytown-icon","passbolt","passbolt-icon","passport","patreon","payload","paypal","peer5","pepperoni","percona","percy","percy-icon","perf-rocks","periscope","perl","phalcon","phoenix","phonegap","phonegap-bot","php","php-alt","phpstorm","picasa","pinecone","pinecone-icon","pingdom","pingy","pinia","pinterest","pipedream","pipedrive","pipefy","pivotal-tracker","pixate","pixelapse","pixijs","pkg","planetscale","planless","planless-icon","plasmic","plastic-scm","platformio","play","playwright","pluralsight","pluralsight-icon","pm2","pm2-icon","pnpm","pocket-base","podio","poeditor","polymer","positionly","postcss","postgraphile","postgresql","posthog","posthog-icon","postman","postman-icon","pouchdb","preact","precursor","prerender","prerender-icon","prestashop","presto","presto-icon","prettier","prisma","prismic","prismic-icon","processing","processwire","processwire-icon","productboard","productboard-icon","producteev","producthunt","progress","prometheus","promises","proofy","prospect","protoio","protonet","protractor","prott","pug","pulumi","pulumi-icon","pumpkindb","puppet","puppet-icon","puppeteer","puppy-linux","purescript","purescript-icon","pushbullet","pusher","pusher-icon","pwa","pycharm","pypi","pyscript","python","pytorch","pytorch-icon","pyup","q","qdrant","qdrant-icon","qlik","qordoba","qt","qualcomm","quarkus","quarkus-icon","quay","quobyte","quora","qwik","qwik-icon","r-lang","rabbitmq","rabbitmq-icon","rackspace","rackspace-icon","rails","ramda","raml","rancher","rancher-icon","randomcolor","raphael","raspberry-pi","rax","react","react-query","react-query-icon","react-router","react-spring","react-styleguidist","reactivex","realm","reapp","reasonml","reasonml-icon","recaptcha","recoil","recoil-icon","reddit","reddit-icon","redhat","redhat-icon","redis","redsmin","redspread","redux","redux-observable","redux-saga","redwoodjs","refactor","reindex","relay","release","remergr","remix","remix-icon","renovatebot","replay","replay-icon","replit","replit-icon","require","rescript","rescript-icon","rest","rest-li","rethinkdb","retool","retool-icon","riak","rider","riot","risingwave","risingwave-icon","rkt","rocket-chat","rocket-chat-icon","rocksdb","rocky-linux","rocky-linux-icon","rollbar","rollbar-icon","rollupjs","rome","rome-icon","ros","rsa","rsmq","rubocop","ruby","rubygems","rubymine","rum","run-above","runnable","runscope","rush","rush-icon","rust","rxdb","safari","sagui","sails","salesforce","saltstack","sameroom","samsung","sanity","sap","sass","sass-doc","saucelabs","scala","scaledrone","scaphold","scribd","scribd-icon","seaborn","seaborn-icon","section","section-icon","sectionio","segment","segment-icon","selenium","semantic-release","semantic-ui","semantic-web","semaphore","semaphoreci","sencha","sendgrid","sendgrid-icon","seneca","sensu","sensu-icon","sentry","sentry-icon","sequelize","serveless","serverless","sherlock","sherlock-icon","shields","shipit","shippable","shogun","shopify","shortcut","shortcut-icon","sidekick","sidekiq","sidekiq-icon","signal","sigstore","sigstore-icon","sinatra","singlestore","singlestore-icon","siphon","sitepoint","sk-hynix","skaffolder","sketch","sketchapp","skylight","skype","slack","slack-icon","slides","slim","smartling","smashingmagazine","snap-svg","snaplet","snaplet-icon","snowflake","snowflake-icon","snowpack","snupps","snyk","socket-io","solarwinds","solid","solidity","solidjs","solidjs-icon","solr","sonarcloud","sonarcloud-icon","sonarlint","sonarlint-icon","sonarqube","soundcloud","sourcegraph","sourcetrail","sourcetree","spark","sparkcentral","sparkpost","speakerdeck","speedcurve","spidermonkey","spidermonkey-icon","spinnaker","splunk","spotify","spotify-icon","spree","spring","spring-icon","sqldep","sqlite","square","squarespace","sst","sst-icon","stability-ai","stability-ai-icon","stackbit","stackbit-icon","stackblitz","stackblitz-icon","stackoverflow","stackoverflow-icon","stackshare","stacksmith","stash","stately","stately-icon","statuspage","stdlib","stdlib-icon","steam","steemit","stenciljs","stenciljs-icon","stepsize","stepsize-icon","steroids","stetho","stickermule","stigg","stigg-icon","stimulus","stimulus-icon","stitch","stoplight","stormpath","storyblocks","storyblocks-icon","storyblok","storyblok-icon","storybook","storybook-icon","strapi","strapi-icon","streamlit","strider","stripe","strongloop","struts","styleci","stylefmt","stylelint","stylis","stylus","stytch","sublimetext","sublimetext-icon","subversion","sugarss","supabase","supabase-icon","supergiant","supersonic","supertokens","supertokens-icon","supportkit","surge","surrealdb","surrealdb-icon","survicate","survicate-icon","suse","susy","svelte","svelte-icon","svelte-kit","svg","svgator","swagger","swc","swift","swiftype","swimm","swr","symfony","sysdig","sysdig-icon","t3","tableau","tableau-icon","taiga","tailwindcss","tailwindcss-icon","tapcart","tapcart-icon","targetprocess","taskade","taskade-icon","tastejs","tauri","tealium","teamcity","teamgrid","teamwork","teamwork-icon","tectonic","telegram","tensorflow","terminal","terraform","terraform-icon","terser","terser-icon","testcafe","testing-library","testlodge","testmunk","thimble","threejs","thymeleaf","thymeleaf-icon","tidal","tidal-icon","tiktok","tiktok-icon","titon","tnw","todoist","todoist-icon","todomvc","tomcat","toml","tor","tor-browser","torus","traackr","trac","trace","travis-ci","travis-ci-monochrome","treasuredata","treasuredata-icon","treehouse","treehouse-icon","trello","trpc","truffle","truffle-icon","tsmc","tsnode","tsu","tsuru","tumblr","tumblr-icon","tunein","tuple","turbopack","turbopack-icon","turborepo","turborepo-icon","turret","tutsplus","tutum","twilio","twilio-icon","twitch","twitter","typeform","typeform-icon","typeorm","typescript","typescript-icon","typescript-icon-round","typesense","typesense-icon","typo3","typo3-icon","ubuntu","udacity","udacity-icon","udemy","udemy-icon","uikit","umu","unbounce","unbounce-icon","undertow","unionpay","unitjs","unito","unito-icon","unity","unocss","unrealengine","unrealengine-icon","upcase","upstash","upstash-icon","upwork","user-testing","user-testing-icon","uservoice","uservoice-icon","uwsgi","v8","v8-ignition","v8-turbofan","vaadin","vaddy","vagrant","vagrant-icon","vault","vault-icon","vector","vector-timber","vercel","vercel-icon","verdaccio","verdaccio-icon","vernemq","victorops","vim","vimeo","vimeo-icon","vine","visa","visaelectron","visual-studio","visual-studio-code","visual-website-optimizer","vitejs","vitess","vitest","vivaldi","vivaldi-icon","vlang","void","vue","vuetifyjs","vueuse","vulkan","vultr","vultr-icon","vwo","w3c","waffle","waffle-icon","wagtail","wakatime","walkme","watchman","waypoint","waypoint-icon","wayscript","wayscript-icon","wearos","weave","web-dev","web-dev-icon","web-fundamentals","web3js","webassembly","webcomponents","webdriverio","webflow","webgpu","webhint","webhint-icon","webhooks","webix","webix-icon","webkit","webmin","webpack","webplatform","webrtc","websocket","webstorm","webtask","webtorrent","weebly","wercker","whalar","whalar-icon","whatsapp","whatsapp-icon","whatsapp-monochrome-icon","whatwg","wicket","wicket-icon","wifi","wildfly","windi-css","winglang","winglang-icon","wire","wiredtree","wix","wmr","woocommerce","woocommerce-icon","woopra","wordpress","wordpress-icon","wordpress-icon-alt","workboard","workos","workos-icon","workplace","workplace-icon","wpengine","wufoo","x-ray-goggles","xamarin","xampp","xata","xata-icon","xcart","xcode","xero","xplenty","xray-for-jira","xstate","xtend","xwiki","xwiki-icon","yahoo","yaml","yammer","yandex-ru","yarn","ycombinator","yeoman","yii","youtrack","youtube","youtube-icon","yugabyte","yugabyte-icon","zabbix","zapier","zapier-icon","zeit","zeit-icon","zend-framework","zendesk","zendesk-icon","zenhub","zenhub-icon","zeplin","zeroheight","zeroheight-icon","zest","zig","zigbee","zod","zoho","zoom","zoom-icon","zorin-os","zsh","zube","zulip","zulip-icon","zwave"]},{prefix:"twemoji",info:{name:"Twitter Emoji",total:3668,author:{name:"Twitter",url:"https://github.com/twitter/twemoji"},license:{title:"CC BY 4.0",spdx:"CC-BY-4.0",url:"https://creativecommons.org/licenses/by/4.0/"},samples:["anguished-face","duck","crossed-swords"],height:36,displayHeight:18,category:"Emoji",palette:!0},icons:["1st-place-medal","2nd-place-medal","3rd-place-medal","a-button-blood-type","ab-button-blood-type","abacus","accordion","adhesive-bandage","admission-tickets","adult","adult-dark-skin-tone","adult-light-skin-tone","adult-medium-dark-skin-tone","adult-medium-light-skin-tone","adult-medium-skin-tone","aerial-tramway","airplane","airplane-arrival","airplane-departure","alarm-clock","alembic","alien","alien-monster","ambulance","american-football","amphora","anatomical-heart","anchor","anger-symbol","angry-face","angry-face-with-horns","anguished-face","ant","antenna-bars","anxious-face-with-sweat","aquarius","aries","articulated-lorry","artist","artist-dark-skin-tone","artist-light-skin-tone","artist-medium-dark-skin-tone","artist-medium-light-skin-tone","artist-medium-skin-tone","artist-palette","astonished-face","astronaut","astronaut-dark-skin-tone","astronaut-light-skin-tone","astronaut-medium-dark-skin-tone","astronaut-medium-light-skin-tone","astronaut-medium-skin-tone","atm-sign","atom-symbol","auto-rickshaw","automobile","avocado","axe","b-button-blood-type","baby","baby-angel","baby-angel-dark-skin-tone","baby-angel-light-skin-tone","baby-angel-medium-dark-skin-tone","baby-angel-medium-light-skin-tone","baby-angel-medium-skin-tone","baby-bottle","baby-chick","baby-dark-skin-tone","baby-light-skin-tone","baby-medium-dark-skin-tone","baby-medium-light-skin-tone","baby-medium-skin-tone","baby-symbol","back-arrow","backhand-index-pointing-down","backhand-index-pointing-down-dark-skin-tone","backhand-index-pointing-down-light-skin-tone","backhand-index-pointing-down-medium-dark-skin-tone","backhand-index-pointing-down-medium-light-skin-tone","backhand-index-pointing-down-medium-skin-tone","backhand-index-pointing-left","backhand-index-pointing-left-dark-skin-tone","backhand-index-pointing-left-light-skin-tone","backhand-index-pointing-left-medium-dark-skin-tone","backhand-index-pointing-left-medium-light-skin-tone","backhand-index-pointing-left-medium-skin-tone","backhand-index-pointing-right","backhand-index-pointing-right-dark-skin-tone","backhand-index-pointing-right-light-skin-tone","backhand-index-pointing-right-medium-dark-skin-tone","backhand-index-pointing-right-medium-light-skin-tone","backhand-index-pointing-right-medium-skin-tone","backhand-index-pointing-up","backhand-index-pointing-up-dark-skin-tone","backhand-index-pointing-up-light-skin-tone","backhand-index-pointing-up-medium-dark-skin-tone","backhand-index-pointing-up-medium-light-skin-tone","backhand-index-pointing-up-medium-skin-tone","backpack","bacon","badger","badminton","bagel","baggage-claim","baguette-bread","balance-scale","bald","ballet-shoes","balloon","ballot-box-with-ballot","banana","banjo","bank","bar-chart","barber-pole","baseball","basket","basketball","bat","bathtub","battery","beach-with-umbrella","beaming-face-with-smiling-eyes","beans","bear","bearded-person","bearded-person-dark-skin-tone","bearded-person-light-skin-tone","bearded-person-medium-dark-skin-tone","bearded-person-medium-light-skin-tone","bearded-person-medium-skin-tone","beating-heart","beaver","bed","beer-mug","beetle","bell","bell-pepper","bell-with-slash","bellhop-bell","bento-box","beverage-box","bicycle","bikini","billed-cap","biohazard","bird","birthday-cake","bison","biting-lip","black-cat","black-circle","black-flag","black-heart","black-large-square","black-medium-small-square","black-medium-square","black-nib","black-small-square","black-square-button","blossom","blowfish","blue-book","blue-circle","blue-heart","blue-square","blueberries","boar","bomb","bone","bookmark","bookmark-tabs","books","boomerang","bottle-with-popping-cork","bouquet","bow-and-arrow","bowl-with-spoon","bowling","boxing-glove","boy","boy-dark-skin-tone","boy-light-skin-tone","boy-medium-dark-skin-tone","boy-medium-light-skin-tone","boy-medium-skin-tone","brain","bread","breast-feeding","breast-feeding-dark-skin-tone","breast-feeding-light-skin-tone","breast-feeding-medium-dark-skin-tone","breast-feeding-medium-light-skin-tone","breast-feeding-medium-skin-tone","brick","bridge-at-night","briefcase","briefs","bright-button","broccoli","broken-heart","broom","brown-circle","brown-heart","brown-square","bubble-tea","bubbles","bucket","bug","building-construction","bullet-train","bullseye","burrito","bus","bus-stop","bust-in-silhouette","busts-in-silhouette","butter","butterfly","cactus","calendar","call-me-hand","call-me-hand-dark-skin-tone","call-me-hand-light-skin-tone","call-me-hand-medium-dark-skin-tone","call-me-hand-medium-light-skin-tone","call-me-hand-medium-skin-tone","camel","camera","camera-with-flash","camping","cancer","candle","candy","canned-food","canoe","capricorn","card-file-box","card-index","card-index-dividers","carousel-horse","carp-streamer","carpentry-saw","carrot","castle","cat","cat-face","cat-with-tears-of-joy","cat-with-wry-smile","chains","chair","chart-decreasing","chart-increasing","chart-increasing-with-yen","check-box-with-check","check-mark","check-mark-button","cheese-wedge","chequered-flag","cherries","cherry-blossom","chess-pawn","chestnut","chicken","child","child-dark-skin-tone","child-light-skin-tone","child-medium-dark-skin-tone","child-medium-light-skin-tone","child-medium-skin-tone","children-crossing","chipmunk","chocolate-bar","chopsticks","christmas-tree","church","cigarette","cinema","circled-m","circus-tent","cityscape","cityscape-at-dusk","cl-button","clamp","clapper-board","clapping-hands","clapping-hands-dark-skin-tone","clapping-hands-light-skin-tone","clapping-hands-medium-dark-skin-tone","clapping-hands-medium-light-skin-tone","clapping-hands-medium-skin-tone","classical-building","clinking-beer-mugs","clinking-glasses","clipboard","clockwise-vertical-arrows","closed-book","closed-mailbox-with-lowered-flag","closed-mailbox-with-raised-flag","closed-umbrella","cloud","cloud-with-lightning","cloud-with-lightning-and-rain","cloud-with-rain","cloud-with-snow","clown-face","club-suit","clutch-bag","coat","cockroach","cocktail-glass","coconut","coffin","coin","cold-face","collision","comet","compass","computer-disk","computer-mouse","confetti-ball","confounded-face","confused-face","construction","construction-worker","construction-worker-dark-skin-tone","construction-worker-light-skin-tone","construction-worker-medium-dark-skin-tone","construction-worker-medium-light-skin-tone","construction-worker-medium-skin-tone","control-knobs","convenience-store","cook","cook-dark-skin-tone","cook-light-skin-tone","cook-medium-dark-skin-tone","cook-medium-light-skin-tone","cook-medium-skin-tone","cooked-rice","cookie","cooking","cool-button","copyright","coral","couch-and-lamp","counterclockwise-arrows-button","couple-with-heart","couple-with-heart-dark-skin-tone","couple-with-heart-light-skin-tone","couple-with-heart-man-man","couple-with-heart-man-man-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-light-skin-tone","couple-with-heart-man-man-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-man-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone","couple-with-heart-man-man-medium-skin-tone-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-light-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-man-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-medium-dark-skin-tone","couple-with-heart-medium-light-skin-tone","couple-with-heart-medium-skin-tone","couple-with-heart-person-person-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-person-person-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-light-skin-tone-medium-skin-tone","couple-with-heart-person-person-medium-skin-tone-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-light-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-person-person-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man","couple-with-heart-woman-man-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-man-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone","couple-with-heart-woman-man-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-light-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-man-medium-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman","couple-with-heart-woman-woman-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","couple-with-heart-woman-woman-medium-dark-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-light-skin-tone-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-light-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-dark-skin-tone","couple-with-heart-woman-woman-medium-skin-tone-medium-light-skin-tone","cow","cow-face","cowboy-hat-face","crab","crayon","credit-card","crescent-moon","cricket","cricket-game","crocodile","croissant","cross-mark","cross-mark-button","crossed-fingers","crossed-fingers-dark-skin-tone","crossed-fingers-light-skin-tone","crossed-fingers-medium-dark-skin-tone","crossed-fingers-medium-light-skin-tone","crossed-fingers-medium-skin-tone","crossed-flags","crossed-swords","crown","crutch","crying-cat","crying-face","crystal-ball","cucumber","cup-with-straw","cupcake","curling-stone","curly-haired","curly-loop","currency-exchange","curry-rice","custard","customs","cut-of-meat","cyclone","dagger","dango","dark-skin-tone","dashing-away","deaf-man","deaf-man-dark-skin-tone","deaf-man-light-skin-tone","deaf-man-medium-dark-skin-tone","deaf-man-medium-light-skin-tone","deaf-man-medium-skin-tone","deaf-person","deaf-person-dark-skin-tone","deaf-person-light-skin-tone","deaf-person-medium-dark-skin-tone","deaf-person-medium-light-skin-tone","deaf-person-medium-skin-tone","deaf-woman","deaf-woman-dark-skin-tone","deaf-woman-light-skin-tone","deaf-woman-medium-dark-skin-tone","deaf-woman-medium-light-skin-tone","deaf-woman-medium-skin-tone","deciduous-tree","deer","delivery-truck","department-store","derelict-house","desert","desert-island","desktop-computer","detective","detective-dark-skin-tone","detective-light-skin-tone","detective-medium-dark-skin-tone","detective-medium-light-skin-tone","detective-medium-skin-tone","diamond-suit","diamond-with-a-dot","dim-button","disappointed-face","disguised-face","divide","diving-mask","diya-lamp","dizzy","dna","dodo","dog","dog-face","dollar-banknote","dolphin","door","dotted-line-face","dotted-six-pointed-star","double-curly-loop","double-exclamation-mark","doughnut","dove","down-arrow","down-left-arrow","down-right-arrow","downcast-face-with-sweat","downwards-button","dragon","dragon-face","dress","drooling-face","drop-of-blood","droplet","drum","duck","dumpling","dvd","e-mail","eagle","ear","ear-dark-skin-tone","ear-light-skin-tone","ear-medium-dark-skin-tone","ear-medium-light-skin-tone","ear-medium-skin-tone","ear-of-corn","ear-with-hearing-aid","ear-with-hearing-aid-dark-skin-tone","ear-with-hearing-aid-light-skin-tone","ear-with-hearing-aid-medium-dark-skin-tone","ear-with-hearing-aid-medium-light-skin-tone","ear-with-hearing-aid-medium-skin-tone","egg","eggplant","eight-oclock","eight-pointed-star","eight-spoked-asterisk","eight-thirty","eject-button","electric-plug","elephant","elevator","eleven-oclock","eleven-thirty","elf","elf-dark-skin-tone","elf-light-skin-tone","elf-medium-dark-skin-tone","elf-medium-light-skin-tone","elf-medium-skin-tone","empty-nest","end-arrow","enraged-face","envelope","envelope-with-arrow","euro-banknote","evergreen-tree","ewe","exclamation-question-mark","exploding-head","expressionless-face","eye","eye-in-speech-bubble","eyes","face-blowing-a-kiss","face-exhaling","face-holding-back-tears","face-in-clouds","face-savoring-food","face-screaming-in-fear","face-vomiting","face-with-crossed-out-eyes","face-with-diagonal-mouth","face-with-hand-over-mouth","face-with-head-bandage","face-with-medical-mask","face-with-monocle","face-with-open-eyes-and-hand-over-mouth","face-with-open-mouth","face-with-peeking-eye","face-with-raised-eyebrow","face-with-rolling-eyes","face-with-spiral-eyes","face-with-steam-from-nose","face-with-symbols-on-mouth","face-with-tears-of-joy","face-with-thermometer","face-with-tongue","face-without-mouth","factory","factory-worker","factory-worker-dark-skin-tone","factory-worker-light-skin-tone","factory-worker-medium-dark-skin-tone","factory-worker-medium-light-skin-tone","factory-worker-medium-skin-tone","fairy","fairy-dark-skin-tone","fairy-light-skin-tone","fairy-medium-dark-skin-tone","fairy-medium-light-skin-tone","fairy-medium-skin-tone","falafel","fallen-leaf","family","family-man-boy","family-man-boy-boy","family-man-girl","family-man-girl-boy","family-man-girl-girl","family-man-man-boy","family-man-man-boy-boy","family-man-man-girl","family-man-man-girl-boy","family-man-man-girl-girl","family-man-woman-boy","family-man-woman-boy-boy","family-man-woman-girl","family-man-woman-girl-boy","family-man-woman-girl-girl","family-woman-boy","family-woman-boy-boy","family-woman-girl","family-woman-girl-boy","family-woman-girl-girl","family-woman-woman-boy","family-woman-woman-boy-boy","family-woman-woman-girl","family-woman-woman-girl-boy","family-woman-woman-girl-girl","farmer","farmer-dark-skin-tone","farmer-light-skin-tone","farmer-medium-dark-skin-tone","farmer-medium-light-skin-tone","farmer-medium-skin-tone","fast-down-button","fast-forward-button","fast-reverse-button","fast-up-button","fax-machine","fearful-face","feather","female-sign","ferris-wheel","ferry","field-hockey","file-cabinet","file-folder","film-frames","film-projector","fire","fire-engine","fire-extinguisher","firecracker","firefighter","firefighter-dark-skin-tone","firefighter-light-skin-tone","firefighter-medium-dark-skin-tone","firefighter-medium-light-skin-tone","firefighter-medium-skin-tone","fireworks","first-quarter-moon","first-quarter-moon-face","fish","fish-cake-with-swirl","fishing-pole","five-oclock","five-thirty","flag-afghanistan","flag-aland-islands","flag-albania","flag-algeria","flag-american-samoa","flag-andorra","flag-angola","flag-anguilla","flag-antarctica","flag-antigua-and-barbuda","flag-argentina","flag-armenia","flag-aruba","flag-ascension-island","flag-australia","flag-austria","flag-azerbaijan","flag-bahamas","flag-bahrain","flag-bangladesh","flag-barbados","flag-belarus","flag-belgium","flag-belize","flag-benin","flag-bermuda","flag-bhutan","flag-bolivia","flag-bosnia-and-herzegovina","flag-botswana","flag-bouvet-island","flag-brazil","flag-british-indian-ocean-territory","flag-british-virgin-islands","flag-brunei","flag-bulgaria","flag-burkina-faso","flag-burundi","flag-cambodia","flag-cameroon","flag-canada","flag-canary-islands","flag-cape-verde","flag-caribbean-netherlands","flag-cayman-islands","flag-central-african-republic","flag-ceuta-and-melilla","flag-chad","flag-chile","flag-china","flag-christmas-island","flag-clipperton-island","flag-cocos-keeling-islands","flag-colombia","flag-comoros","flag-congo-brazzaville","flag-congo-kinshasa","flag-cook-islands","flag-costa-rica","flag-cote-divoire","flag-croatia","flag-cuba","flag-curacao","flag-cyprus","flag-czechia","flag-denmark","flag-diego-garcia","flag-djibouti","flag-dominica","flag-dominican-republic","flag-ecuador","flag-egypt","flag-el-salvador","flag-england","flag-equatorial-guinea","flag-eritrea","flag-estonia","flag-eswatini","flag-ethiopia","flag-european-union","flag-falkland-islands","flag-faroe-islands","flag-fiji","flag-finland","flag-for-flag-afghanistan","flag-for-flag-albania","flag-for-flag-algeria","flag-for-flag-american-samoa","flag-for-flag-andorra","flag-for-flag-angola","flag-for-flag-antigua-and-barbuda","flag-for-flag-argentina","flag-for-flag-aruba","flag-for-flag-ascension-island","flag-for-flag-australia","flag-for-flag-azerbaijan","flag-for-flag-bahamas","flag-for-flag-bangladesh","flag-for-flag-barbados","flag-for-flag-belarus","flag-for-flag-belize","flag-for-flag-bermuda","flag-for-flag-bolivia","flag-for-flag-bosnia-and-herzegovina","flag-for-flag-brazil","flag-for-flag-british-indian-ocean-territory","flag-for-flag-burkina-faso","flag-for-flag-burundi","flag-for-flag-canary-islands","flag-for-flag-cape-verde","flag-for-flag-caribbean-netherlands","flag-for-flag-cayman-islands","flag-for-flag-central-african-republic","flag-for-flag-ceuta-and-melilla","flag-for-flag-china","flag-for-flag-christmas-island","flag-for-flag-cocos-keeling-islands","flag-for-flag-comoros","flag-for-flag-cook-islands","flag-for-flag-costa-rica","flag-for-flag-croatia","flag-for-flag-cuba","flag-for-flag-cyprus","flag-for-flag-djibouti","flag-for-flag-dominica","flag-for-flag-dominican-republic","flag-for-flag-ecuador","flag-for-flag-egypt","flag-for-flag-el-salvador","flag-for-flag-equatorial-guinea","flag-for-flag-eswatini","flag-for-flag-ethiopia","flag-for-flag-european-union","flag-for-flag-falkland-islands","flag-for-flag-fiji","flag-for-flag-french-guiana","flag-for-flag-french-polynesia","flag-for-flag-french-southern-territories","flag-for-flag-ghana","flag-for-flag-gibraltar","flag-for-flag-greenland","flag-for-flag-grenada","flag-for-flag-guam","flag-for-flag-guatemala","flag-for-flag-guinea-bissau","flag-for-flag-guyana","flag-for-flag-haiti","flag-for-flag-honduras","flag-for-flag-hong-kong-sar-china","flag-for-flag-india","flag-for-flag-isle-of-man","flag-for-flag-israel","flag-for-flag-japan","flag-for-flag-jersey","flag-for-flag-jordan","flag-for-flag-kazakhstan","flag-for-flag-kenya","flag-for-flag-kiribati","flag-for-flag-kosovo","flag-for-flag-laos","flag-for-flag-lebanon","flag-for-flag-liberia","flag-for-flag-liechtenstein","flag-for-flag-malawi","flag-for-flag-malaysia","flag-for-flag-malta","flag-for-flag-marshall-islands","flag-for-flag-mauritania","flag-for-flag-mayotte","flag-for-flag-mexico","flag-for-flag-micronesia","flag-for-flag-moldova","flag-for-flag-montserrat","flag-for-flag-morocco","flag-for-flag-mozambique","flag-for-flag-namibia","flag-for-flag-nauru","flag-for-flag-nepal","flag-for-flag-new-caledonia","flag-for-flag-new-zealand","flag-for-flag-nicaragua","flag-for-flag-niger","flag-for-flag-niue","flag-for-flag-northern-mariana-islands","flag-for-flag-pakistan","flag-for-flag-palau","flag-for-flag-panama","flag-for-flag-papua-new-guinea","flag-for-flag-paraguay","flag-for-flag-philippines","flag-for-flag-pitcairn-islands","flag-for-flag-puerto-rico","flag-for-flag-qatar","flag-for-flag-reunion","flag-for-flag-rwanda","flag-for-flag-samoa","flag-for-flag-sao-tome-and-principe","flag-for-flag-saudi-arabia","flag-for-flag-seychelles","flag-for-flag-singapore","flag-for-flag-sint-maarten","flag-for-flag-slovenia","flag-for-flag-solomon-islands","flag-for-flag-south-georgia-and-south-sandwich-islands","flag-for-flag-south-korea","flag-for-flag-south-sudan","flag-for-flag-sri-lanka","flag-for-flag-st-barthelemy","flag-for-flag-st-helena","flag-for-flag-st-kitts-and-nevis","flag-for-flag-st-lucia","flag-for-flag-st-pierre-and-miquelon","flag-for-flag-st-vincent-and-grenadines","flag-for-flag-syria","flag-for-flag-taiwan","flag-for-flag-timor-leste","flag-for-flag-tokelau","flag-for-flag-tristan-da-cunha","flag-for-flag-tunisia","flag-for-flag-turkmenistan","flag-for-flag-tuvalu","flag-for-flag-uganda","flag-for-flag-united-kingdom","flag-for-flag-united-nations","flag-for-flag-united-states","flag-for-flag-uruguay","flag-for-flag-us-virgin-islands","flag-for-flag-vanuatu","flag-for-flag-vatican-city","flag-for-flag-venezuela","flag-for-flag-wallis-and-futuna","flag-for-flag-western-sahara","flag-for-flag-zimbabwe","flag-france","flag-french-guiana","flag-french-polynesia","flag-french-southern-territories","flag-gabon","flag-gambia","flag-georgia","flag-germany","flag-ghana","flag-gibraltar","flag-greece","flag-greenland","flag-grenada","flag-guadeloupe","flag-guam","flag-guatemala","flag-guernsey","flag-guinea","flag-guinea-bissau","flag-guyana","flag-haiti","flag-heard-and-mcdonald-islands","flag-honduras","flag-hong-kong-sar-china","flag-hungary","flag-iceland","flag-in-hole","flag-india","flag-indonesia","flag-iran","flag-iraq","flag-ireland","flag-isle-of-man","flag-israel","flag-italy","flag-jamaica","flag-japan","flag-jersey","flag-jordan","flag-kazakhstan","flag-kenya","flag-kiribati","flag-kosovo","flag-kuwait","flag-kyrgyzstan","flag-laos","flag-latvia","flag-lebanon","flag-lesotho","flag-liberia","flag-libya","flag-liechtenstein","flag-lithuania","flag-luxembourg","flag-macao-sar-china","flag-madagascar","flag-malawi","flag-malaysia","flag-maldives","flag-mali","flag-malta","flag-marshall-islands","flag-martinique","flag-mauritania","flag-mauritius","flag-mayotte","flag-mexico","flag-micronesia","flag-moldova","flag-monaco","flag-mongolia","flag-montenegro","flag-montserrat","flag-morocco","flag-mozambique","flag-myanmar-burma","flag-namibia","flag-nauru","flag-nepal","flag-netherlands","flag-new-caledonia","flag-new-zealand","flag-nicaragua","flag-niger","flag-nigeria","flag-niue","flag-norfolk-island","flag-north-korea","flag-north-macedonia","flag-northern-mariana-islands","flag-norway","flag-oman","flag-pakistan","flag-palau","flag-palestinian-territories","flag-panama","flag-papua-new-guinea","flag-paraguay","flag-peru","flag-philippines","flag-pitcairn-islands","flag-poland","flag-portugal","flag-puerto-rico","flag-qatar","flag-reunion","flag-romania","flag-russia","flag-rwanda","flag-samoa","flag-san-marino","flag-sao-tome-and-principe","flag-saudi-arabia","flag-scotland","flag-senegal","flag-serbia","flag-seychelles","flag-sierra-leone","flag-singapore","flag-sint-maarten","flag-slovakia","flag-slovenia","flag-solomon-islands","flag-somalia","flag-south-africa","flag-south-georgia-and-south-sandwich-islands","flag-south-korea","flag-south-sudan","flag-spain","flag-sri-lanka","flag-st-barthelemy","flag-st-helena","flag-st-kitts-and-nevis","flag-st-lucia","flag-st-martin","flag-st-pierre-and-miquelon","flag-st-vincent-and-grenadines","flag-sudan","flag-suriname","flag-svalbard-and-jan-mayen","flag-sweden","flag-switzerland","flag-syria","flag-taiwan","flag-tajikistan","flag-tanzania","flag-thailand","flag-timor-leste","flag-togo","flag-tokelau","flag-tonga","flag-trinidad-and-tobago","flag-tristan-da-cunha","flag-tunisia","flag-turkiye","flag-turkmenistan","flag-turks-and-caicos-islands","flag-tuvalu","flag-uganda","flag-ukraine","flag-united-arab-emirates","flag-united-kingdom","flag-united-nations","flag-united-states","flag-uruguay","flag-us-outlying-islands","flag-us-virgin-islands","flag-uzbekistan","flag-vanuatu","flag-vatican-city","flag-venezuela","flag-vietnam","flag-wales","flag-wallis-and-futuna","flag-western-sahara","flag-yemen","flag-zambia","flag-zimbabwe","flamingo","flashlight","flat-shoe","flatbread","fleur-de-lis","flexed-biceps","flexed-biceps-dark-skin-tone","flexed-biceps-light-skin-tone","flexed-biceps-medium-dark-skin-tone","flexed-biceps-medium-light-skin-tone","flexed-biceps-medium-skin-tone","floppy-disk","flower-playing-cards","flushed-face","fly","flying-disc","flying-saucer","fog","foggy","folded-hands","folded-hands-dark-skin-tone","folded-hands-light-skin-tone","folded-hands-medium-dark-skin-tone","folded-hands-medium-light-skin-tone","folded-hands-medium-skin-tone","fondue","foot","foot-dark-skin-tone","foot-light-skin-tone","foot-medium-dark-skin-tone","foot-medium-light-skin-tone","foot-medium-skin-tone","footprints","fork-and-knife","fork-and-knife-with-plate","fortune-cookie","fountain","fountain-pen","four-leaf-clover","four-oclock","four-thirty","fox","framed-picture","free-button","french-fries","fried-shrimp","frog","front-facing-baby-chick","frowning-face","frowning-face-with-open-mouth","fuel-pump","full-moon","full-moon-face","funeral-urn","game-die","garlic","gear","gem-stone","gemini","genie","ghost","giraffe","girl","girl-dark-skin-tone","girl-light-skin-tone","girl-medium-dark-skin-tone","girl-medium-light-skin-tone","girl-medium-skin-tone","glass-of-milk","glasses","globe-showing-americas","globe-showing-asia-australia","globe-showing-europe-africa","globe-with-meridians","gloves","glowing-star","goal-net","goat","goblin","goggles","gorilla","graduation-cap","grapes","green-apple","green-book","green-circle","green-heart","green-salad","green-square","grimacing-face","grinning-cat","grinning-cat-with-smiling-eyes","grinning-face","grinning-face-with-big-eyes","grinning-face-with-smiling-eyes","grinning-face-with-sweat","grinning-squinting-face","growing-heart","guard","guard-dark-skin-tone","guard-light-skin-tone","guard-medium-dark-skin-tone","guard-medium-light-skin-tone","guard-medium-skin-tone","guide-dog","guitar","hamburger","hammer","hammer-and-pick","hammer-and-wrench","hamsa","hamster","hand-with-fingers-splayed","hand-with-fingers-splayed-dark-skin-tone","hand-with-fingers-splayed-light-skin-tone","hand-with-fingers-splayed-medium-dark-skin-tone","hand-with-fingers-splayed-medium-light-skin-tone","hand-with-fingers-splayed-medium-skin-tone","hand-with-index-finger-and-thumb-crossed","hand-with-index-finger-and-thumb-crossed-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-dark-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-light-skin-tone","hand-with-index-finger-and-thumb-crossed-medium-skin-tone","handbag","handshake","handshake-dark-skin-tone","handshake-dark-skin-tone-light-skin-tone","handshake-dark-skin-tone-medium-dark-skin-tone","handshake-dark-skin-tone-medium-light-skin-tone","handshake-dark-skin-tone-medium-skin-tone","handshake-light-skin-tone","handshake-light-skin-tone-dark-skin-tone","handshake-light-skin-tone-medium-dark-skin-tone","handshake-light-skin-tone-medium-light-skin-tone","handshake-light-skin-tone-medium-skin-tone","handshake-medium-dark-skin-tone","handshake-medium-dark-skin-tone-dark-skin-tone","handshake-medium-dark-skin-tone-light-skin-tone","handshake-medium-dark-skin-tone-medium-light-skin-tone","handshake-medium-dark-skin-tone-medium-skin-tone","handshake-medium-light-skin-tone","handshake-medium-light-skin-tone-dark-skin-tone","handshake-medium-light-skin-tone-light-skin-tone","handshake-medium-light-skin-tone-medium-dark-skin-tone","handshake-medium-light-skin-tone-medium-skin-tone","handshake-medium-skin-tone","handshake-medium-skin-tone-dark-skin-tone","handshake-medium-skin-tone-light-skin-tone","handshake-medium-skin-tone-medium-dark-skin-tone","handshake-medium-skin-tone-medium-light-skin-tone","hatching-chick","headphone","headstone","health-worker","health-worker-dark-skin-tone","health-worker-light-skin-tone","health-worker-medium-dark-skin-tone","health-worker-medium-light-skin-tone","health-worker-medium-skin-tone","hear-no-evil-monkey","heart-decoration","heart-exclamation","heart-hands","heart-hands-dark-skin-tone","heart-hands-light-skin-tone","heart-hands-medium-dark-skin-tone","heart-hands-medium-light-skin-tone","heart-hands-medium-skin-tone","heart-on-fire","heart-suit","heart-with-arrow","heart-with-ribbon","heavy-dollar-sign","heavy-equals-sign","hedgehog","helicopter","herb","hibiscus","high-heeled-shoe","high-speed-train","high-voltage","hiking-boot","hindu-temple","hippopotamus","hole","hollow-red-circle","honey-pot","honeybee","hook","horizontal-traffic-light","horse","horse-face","horse-racing","horse-racing-dark-skin-tone","horse-racing-light-skin-tone","horse-racing-medium-dark-skin-tone","horse-racing-medium-light-skin-tone","horse-racing-medium-skin-tone","hospital","hot-beverage","hot-dog","hot-face","hot-pepper","hot-springs","hotel","hourglass-done","hourglass-not-done","house","house-with-garden","houses","hugging-face","hundred-points","hushed-face","hut","ice","ice-cream","ice-hockey","ice-skate","id-button","identification-card","inbox-tray","incoming-envelope","index-pointing-at-the-viewer","index-pointing-at-the-viewer-dark-skin-tone","index-pointing-at-the-viewer-light-skin-tone","index-pointing-at-the-viewer-medium-dark-skin-tone","index-pointing-at-the-viewer-medium-light-skin-tone","index-pointing-at-the-viewer-medium-skin-tone","index-pointing-up","index-pointing-up-dark-skin-tone","index-pointing-up-light-skin-tone","index-pointing-up-medium-dark-skin-tone","index-pointing-up-medium-light-skin-tone","index-pointing-up-medium-skin-tone","infinity","information","input-latin-letters","input-latin-lowercase","input-latin-uppercase","input-numbers","input-symbols","jack-o-lantern","japanese-acceptable-button","japanese-application-button","japanese-bargain-button","japanese-castle","japanese-congratulations-button","japanese-discount-button","japanese-dolls","japanese-free-of-charge-button","japanese-here-button","japanese-monthly-amount-button","japanese-no-vacancy-button","japanese-not-free-of-charge-button","japanese-open-for-business-button","japanese-passing-grade-button","japanese-post-office","japanese-prohibited-button","japanese-reserved-button","japanese-secret-button","japanese-service-charge-button","japanese-symbol-for-beginner","japanese-vacancy-button","jar","jeans","joker","joystick","judge","judge-dark-skin-tone","judge-light-skin-tone","judge-medium-dark-skin-tone","judge-medium-light-skin-tone","judge-medium-skin-tone","kaaba","kangaroo","key","keyboard","keycap-0","keycap-1","keycap-10","keycap-2","keycap-3","keycap-4","keycap-5","keycap-6","keycap-7","keycap-8","keycap-9","keycap-asterisk","keycap-pound","kick-scooter","kimono","kiss","kiss-dark-skin-tone","kiss-light-skin-tone","kiss-man-man","kiss-man-man-dark-skin-tone","kiss-man-man-dark-skin-tone-light-skin-tone","kiss-man-man-dark-skin-tone-medium-dark-skin-tone","kiss-man-man-dark-skin-tone-medium-light-skin-tone","kiss-man-man-dark-skin-tone-medium-skin-tone","kiss-man-man-light-skin-tone","kiss-man-man-light-skin-tone-dark-skin-tone","kiss-man-man-light-skin-tone-medium-dark-skin-tone","kiss-man-man-light-skin-tone-medium-light-skin-tone","kiss-man-man-light-skin-tone-medium-skin-tone","kiss-man-man-medium-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-dark-skin-tone","kiss-man-man-medium-dark-skin-tone-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-man-man-medium-dark-skin-tone-medium-skin-tone","kiss-man-man-medium-light-skin-tone","kiss-man-man-medium-light-skin-tone-dark-skin-tone","kiss-man-man-medium-light-skin-tone-light-skin-tone","kiss-man-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-light-skin-tone-medium-skin-tone","kiss-man-man-medium-skin-tone","kiss-man-man-medium-skin-tone-dark-skin-tone","kiss-man-man-medium-skin-tone-light-skin-tone","kiss-man-man-medium-skin-tone-medium-dark-skin-tone","kiss-man-man-medium-skin-tone-medium-light-skin-tone","kiss-mark","kiss-medium-dark-skin-tone","kiss-medium-light-skin-tone","kiss-medium-skin-tone","kiss-person-person-dark-skin-tone-light-skin-tone","kiss-person-person-dark-skin-tone-medium-dark-skin-tone","kiss-person-person-dark-skin-tone-medium-light-skin-tone","kiss-person-person-dark-skin-tone-medium-skin-tone","kiss-person-person-light-skin-tone-dark-skin-tone","kiss-person-person-light-skin-tone-medium-dark-skin-tone","kiss-person-person-light-skin-tone-medium-light-skin-tone","kiss-person-person-light-skin-tone-medium-skin-tone","kiss-person-person-medium-dark-skin-tone-dark-skin-tone","kiss-person-person-medium-dark-skin-tone-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-light-skin-tone","kiss-person-person-medium-dark-skin-tone-medium-skin-tone","kiss-person-person-medium-light-skin-tone-dark-skin-tone","kiss-person-person-medium-light-skin-tone-light-skin-tone","kiss-person-person-medium-light-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-light-skin-tone-medium-skin-tone","kiss-person-person-medium-skin-tone-dark-skin-tone","kiss-person-person-medium-skin-tone-light-skin-tone","kiss-person-person-medium-skin-tone-medium-dark-skin-tone","kiss-person-person-medium-skin-tone-medium-light-skin-tone","kiss-woman-man","kiss-woman-man-dark-skin-tone","kiss-woman-man-dark-skin-tone-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-dark-skin-tone","kiss-woman-man-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-dark-skin-tone-medium-skin-tone","kiss-woman-man-light-skin-tone","kiss-woman-man-light-skin-tone-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-light-skin-tone-medium-light-skin-tone","kiss-woman-man-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-dark-skin-tone","kiss-woman-man-medium-dark-skin-tone-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-man-medium-dark-skin-tone-medium-skin-tone","kiss-woman-man-medium-light-skin-tone","kiss-woman-man-medium-light-skin-tone-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-light-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-light-skin-tone-medium-skin-tone","kiss-woman-man-medium-skin-tone","kiss-woman-man-medium-skin-tone-dark-skin-tone","kiss-woman-man-medium-skin-tone-light-skin-tone","kiss-woman-man-medium-skin-tone-medium-dark-skin-tone","kiss-woman-man-medium-skin-tone-medium-light-skin-tone","kiss-woman-woman","kiss-woman-woman-dark-skin-tone","kiss-woman-woman-dark-skin-tone-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-dark-skin-tone","kiss-woman-woman-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-dark-skin-tone-medium-skin-tone","kiss-woman-woman-light-skin-tone","kiss-woman-woman-light-skin-tone-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-light-skin-tone-medium-light-skin-tone","kiss-woman-woman-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-dark-skin-tone","kiss-woman-woman-medium-dark-skin-tone-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-light-skin-tone","kiss-woman-woman-medium-dark-skin-tone-medium-skin-tone","kiss-woman-woman-medium-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-light-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-light-skin-tone-medium-skin-tone","kiss-woman-woman-medium-skin-tone","kiss-woman-woman-medium-skin-tone-dark-skin-tone","kiss-woman-woman-medium-skin-tone-light-skin-tone","kiss-woman-woman-medium-skin-tone-medium-dark-skin-tone","kiss-woman-woman-medium-skin-tone-medium-light-skin-tone","kissing-cat","kissing-face","kissing-face-with-closed-eyes","kissing-face-with-smiling-eyes","kitchen-knife","kite","kiwi-fruit","knocked-out-face","knot","koala","lab-coat","label","lacrosse","ladder","lady-beetle","laptop","large-blue-diamond","large-orange-diamond","last-quarter-moon","last-quarter-moon-face","last-track-button","latin-cross","leaf-fluttering-in-wind","leafy-green","ledger","left-arrow","left-arrow-curving-right","left-facing-fist","left-facing-fist-dark-skin-tone","left-facing-fist-light-skin-tone","left-facing-fist-medium-dark-skin-tone","left-facing-fist-medium-light-skin-tone","left-facing-fist-medium-skin-tone","left-luggage","left-right-arrow","left-speech-bubble","leftwards-hand","leftwards-hand-dark-skin-tone","leftwards-hand-light-skin-tone","leftwards-hand-medium-dark-skin-tone","leftwards-hand-medium-light-skin-tone","leftwards-hand-medium-skin-tone","leg","leg-dark-skin-tone","leg-light-skin-tone","leg-medium-dark-skin-tone","leg-medium-light-skin-tone","leg-medium-skin-tone","lemon","leo","leopard","letter-a","letter-b","letter-c","letter-d","letter-e","letter-f","letter-g","letter-h","letter-i","letter-j","letter-k","letter-l","letter-m","letter-n","letter-o","letter-p","letter-q","letter-r","letter-s","letter-t","letter-u","letter-v","letter-w","letter-x","letter-y","letter-z","level-slider","libra","light-bulb","light-rail","light-skin-tone","link","linked-paperclips","lion","lipstick","litter-in-bin-sign","lizard","llama","lobster","locked","locked-with-key","locked-with-pen","locomotive","lollipop","long-drum","lotion-bottle","lotus","loudly-crying-face","loudspeaker","love-hotel","love-letter","love-you-gesture","love-you-gesture-dark-skin-tone","love-you-gesture-light-skin-tone","love-you-gesture-medium-dark-skin-tone","love-you-gesture-medium-light-skin-tone","love-you-gesture-medium-skin-tone","low-battery","luggage","lungs","lying-face","mage","mage-dark-skin-tone","mage-light-skin-tone","mage-medium-dark-skin-tone","mage-medium-light-skin-tone","mage-medium-skin-tone","magic-wand","magnet","magnifying-glass-tilted-left","magnifying-glass-tilted-right","mahjong-red-dragon","male-sign","mammoth","man","man-and-woman-holding-hands","man-artist","man-artist-dark-skin-tone","man-artist-light-skin-tone","man-artist-medium-dark-skin-tone","man-artist-medium-light-skin-tone","man-artist-medium-skin-tone","man-astronaut","man-astronaut-dark-skin-tone","man-astronaut-light-skin-tone","man-astronaut-medium-dark-skin-tone","man-astronaut-medium-light-skin-tone","man-astronaut-medium-skin-tone","man-bald","man-beard","man-biking","man-biking-dark-skin-tone","man-biking-light-skin-tone","man-biking-medium-dark-skin-tone","man-biking-medium-light-skin-tone","man-biking-medium-skin-tone","man-blond-hair","man-bouncing-ball","man-bouncing-ball-dark-skin-tone","man-bouncing-ball-light-skin-tone","man-bouncing-ball-medium-dark-skin-tone","man-bouncing-ball-medium-light-skin-tone","man-bouncing-ball-medium-skin-tone","man-bowing","man-bowing-dark-skin-tone","man-bowing-light-skin-tone","man-bowing-medium-dark-skin-tone","man-bowing-medium-light-skin-tone","man-bowing-medium-skin-tone","man-cartwheeling","man-cartwheeling-dark-skin-tone","man-cartwheeling-light-skin-tone","man-cartwheeling-medium-dark-skin-tone","man-cartwheeling-medium-light-skin-tone","man-cartwheeling-medium-skin-tone","man-climbing","man-climbing-dark-skin-tone","man-climbing-light-skin-tone","man-climbing-medium-dark-skin-tone","man-climbing-medium-light-skin-tone","man-climbing-medium-skin-tone","man-construction-worker","man-construction-worker-dark-skin-tone","man-construction-worker-light-skin-tone","man-construction-worker-medium-dark-skin-tone","man-construction-worker-medium-light-skin-tone","man-construction-worker-medium-skin-tone","man-cook","man-cook-dark-skin-tone","man-cook-light-skin-tone","man-cook-medium-dark-skin-tone","man-cook-medium-light-skin-tone","man-cook-medium-skin-tone","man-curly-hair","man-dancing","man-dancing-dark-skin-tone","man-dancing-light-skin-tone","man-dancing-medium-dark-skin-tone","man-dancing-medium-light-skin-tone","man-dancing-medium-skin-tone","man-dark-skin-tone","man-dark-skin-tone-bald","man-dark-skin-tone-beard","man-dark-skin-tone-blond-hair","man-dark-skin-tone-curly-hair","man-dark-skin-tone-red-hair","man-dark-skin-tone-white-hair","man-detective","man-detective-dark-skin-tone","man-detective-light-skin-tone","man-detective-medium-dark-skin-tone","man-detective-medium-light-skin-tone","man-detective-medium-skin-tone","man-elf","man-elf-dark-skin-tone","man-elf-light-skin-tone","man-elf-medium-dark-skin-tone","man-elf-medium-light-skin-tone","man-elf-medium-skin-tone","man-facepalming","man-facepalming-dark-skin-tone","man-facepalming-light-skin-tone","man-facepalming-medium-dark-skin-tone","man-facepalming-medium-light-skin-tone","man-facepalming-medium-skin-tone","man-factory-worker","man-factory-worker-dark-skin-tone","man-factory-worker-light-skin-tone","man-factory-worker-medium-dark-skin-tone","man-factory-worker-medium-light-skin-tone","man-factory-worker-medium-skin-tone","man-fairy","man-fairy-dark-skin-tone","man-fairy-light-skin-tone","man-fairy-medium-dark-skin-tone","man-fairy-medium-light-skin-tone","man-fairy-medium-skin-tone","man-farmer","man-farmer-dark-skin-tone","man-farmer-light-skin-tone","man-farmer-medium-dark-skin-tone","man-farmer-medium-light-skin-tone","man-farmer-medium-skin-tone","man-feeding-baby","man-feeding-baby-dark-skin-tone","man-feeding-baby-light-skin-tone","man-feeding-baby-medium-dark-skin-tone","man-feeding-baby-medium-light-skin-tone","man-feeding-baby-medium-skin-tone","man-firefighter","man-firefighter-dark-skin-tone","man-firefighter-light-skin-tone","man-firefighter-medium-dark-skin-tone","man-firefighter-medium-light-skin-tone","man-firefighter-medium-skin-tone","man-frowning","man-frowning-dark-skin-tone","man-frowning-light-skin-tone","man-frowning-medium-dark-skin-tone","man-frowning-medium-light-skin-tone","man-frowning-medium-skin-tone","man-genie","man-gesturing-no","man-gesturing-no-dark-skin-tone","man-gesturing-no-light-skin-tone","man-gesturing-no-medium-dark-skin-tone","man-gesturing-no-medium-light-skin-tone","man-gesturing-no-medium-skin-tone","man-gesturing-ok","man-gesturing-ok-dark-skin-tone","man-gesturing-ok-light-skin-tone","man-gesturing-ok-medium-dark-skin-tone","man-gesturing-ok-medium-light-skin-tone","man-gesturing-ok-medium-skin-tone","man-getting-haircut","man-getting-haircut-dark-skin-tone","man-getting-haircut-light-skin-tone","man-getting-haircut-medium-dark-skin-tone","man-getting-haircut-medium-light-skin-tone","man-getting-haircut-medium-skin-tone","man-getting-massage","man-getting-massage-dark-skin-tone","man-getting-massage-light-skin-tone","man-getting-massage-medium-dark-skin-tone","man-getting-massage-medium-light-skin-tone","man-getting-massage-medium-skin-tone","man-golfing","man-golfing-dark-skin-tone","man-golfing-light-skin-tone","man-golfing-medium-dark-skin-tone","man-golfing-medium-light-skin-tone","man-golfing-medium-skin-tone","man-guard","man-guard-dark-skin-tone","man-guard-light-skin-tone","man-guard-medium-dark-skin-tone","man-guard-medium-light-skin-tone","man-guard-medium-skin-tone","man-health-worker","man-health-worker-dark-skin-tone","man-health-worker-light-skin-tone","man-health-worker-medium-dark-skin-tone","man-health-worker-medium-light-skin-tone","man-health-worker-medium-skin-tone","man-in-lotus-position","man-in-lotus-position-dark-skin-tone","man-in-lotus-position-light-skin-tone","man-in-lotus-position-medium-dark-skin-tone","man-in-lotus-position-medium-light-skin-tone","man-in-lotus-position-medium-skin-tone","man-in-manual-wheelchair","man-in-manual-wheelchair-dark-skin-tone","man-in-manual-wheelchair-light-skin-tone","man-in-manual-wheelchair-medium-dark-skin-tone","man-in-manual-wheelchair-medium-light-skin-tone","man-in-manual-wheelchair-medium-skin-tone","man-in-motorized-wheelchair","man-in-motorized-wheelchair-dark-skin-tone","man-in-motorized-wheelchair-light-skin-tone","man-in-motorized-wheelchair-medium-dark-skin-tone","man-in-motorized-wheelchair-medium-light-skin-tone","man-in-motorized-wheelchair-medium-skin-tone","man-in-steamy-room","man-in-steamy-room-dark-skin-tone","man-in-steamy-room-light-skin-tone","man-in-steamy-room-medium-dark-skin-tone","man-in-steamy-room-medium-light-skin-tone","man-in-steamy-room-medium-skin-tone","man-in-suit-levitating","man-in-suit-levitating-dark-skin-tone","man-in-suit-levitating-light-skin-tone","man-in-suit-levitating-medium-dark-skin-tone","man-in-suit-levitating-medium-light-skin-tone","man-in-suit-levitating-medium-skin-tone","man-in-tuxedo","man-in-tuxedo-dark-skin-tone","man-in-tuxedo-light-skin-tone","man-in-tuxedo-medium-dark-skin-tone","man-in-tuxedo-medium-light-skin-tone","man-in-tuxedo-medium-skin-tone","man-judge","man-judge-dark-skin-tone","man-judge-light-skin-tone","man-judge-medium-dark-skin-tone","man-judge-medium-light-skin-tone","man-judge-medium-skin-tone","man-juggling","man-juggling-dark-skin-tone","man-juggling-light-skin-tone","man-juggling-medium-dark-skin-tone","man-juggling-medium-light-skin-tone","man-juggling-medium-skin-tone","man-kneeling","man-kneeling-dark-skin-tone","man-kneeling-light-skin-tone","man-kneeling-medium-dark-skin-tone","man-kneeling-medium-light-skin-tone","man-kneeling-medium-skin-tone","man-lifting-weights","man-lifting-weights-dark-skin-tone","man-lifting-weights-light-skin-tone","man-lifting-weights-medium-dark-skin-tone","man-lifting-weights-medium-light-skin-tone","man-lifting-weights-medium-skin-tone","man-light-skin-tone","man-light-skin-tone-bald","man-light-skin-tone-beard","man-light-skin-tone-blond-hair","man-light-skin-tone-curly-hair","man-light-skin-tone-red-hair","man-light-skin-tone-white-hair","man-mage","man-mage-dark-skin-tone","man-mage-light-skin-tone","man-mage-medium-dark-skin-tone","man-mage-medium-light-skin-tone","man-mage-medium-skin-tone","man-mechanic","man-mechanic-dark-skin-tone","man-mechanic-light-skin-tone","man-mechanic-medium-dark-skin-tone","man-mechanic-medium-light-skin-tone","man-mechanic-medium-skin-tone","man-medium-dark-skin-tone","man-medium-dark-skin-tone-bald","man-medium-dark-skin-tone-beard","man-medium-dark-skin-tone-blond-hair","man-medium-dark-skin-tone-curly-hair","man-medium-dark-skin-tone-red-hair","man-medium-dark-skin-tone-white-hair","man-medium-light-skin-tone","man-medium-light-skin-tone-bald","man-medium-light-skin-tone-beard","man-medium-light-skin-tone-blond-hair","man-medium-light-skin-tone-curly-hair","man-medium-light-skin-tone-red-hair","man-medium-light-skin-tone-white-hair","man-medium-skin-tone","man-medium-skin-tone-bald","man-medium-skin-tone-beard","man-medium-skin-tone-blond-hair","man-medium-skin-tone-curly-hair","man-medium-skin-tone-red-hair","man-medium-skin-tone-white-hair","man-mountain-biking","man-mountain-biking-dark-skin-tone","man-mountain-biking-light-skin-tone","man-mountain-biking-medium-dark-skin-tone","man-mountain-biking-medium-light-skin-tone","man-mountain-biking-medium-skin-tone","man-office-worker","man-office-worker-dark-skin-tone","man-office-worker-light-skin-tone","man-office-worker-medium-dark-skin-tone","man-office-worker-medium-light-skin-tone","man-office-worker-medium-skin-tone","man-pilot","man-pilot-dark-skin-tone","man-pilot-light-skin-tone","man-pilot-medium-dark-skin-tone","man-pilot-medium-light-skin-tone","man-pilot-medium-skin-tone","man-playing-handball","man-playing-handball-dark-skin-tone","man-playing-handball-light-skin-tone","man-playing-handball-medium-dark-skin-tone","man-playing-handball-medium-light-skin-tone","man-playing-handball-medium-skin-tone","man-playing-water-polo","man-playing-water-polo-dark-skin-tone","man-playing-water-polo-light-skin-tone","man-playing-water-polo-medium-dark-skin-tone","man-playing-water-polo-medium-light-skin-tone","man-playing-water-polo-medium-skin-tone","man-police-officer","man-police-officer-dark-skin-tone","man-police-officer-light-skin-tone","man-police-officer-medium-dark-skin-tone","man-police-officer-medium-light-skin-tone","man-police-officer-medium-skin-tone","man-pouting","man-pouting-dark-skin-tone","man-pouting-light-skin-tone","man-pouting-medium-dark-skin-tone","man-pouting-medium-light-skin-tone","man-pouting-medium-skin-tone","man-raising-hand","man-raising-hand-dark-skin-tone","man-raising-hand-light-skin-tone","man-raising-hand-medium-dark-skin-tone","man-raising-hand-medium-light-skin-tone","man-raising-hand-medium-skin-tone","man-red-hair","man-rowing-boat","man-rowing-boat-dark-skin-tone","man-rowing-boat-light-skin-tone","man-rowing-boat-medium-dark-skin-tone","man-rowing-boat-medium-light-skin-tone","man-rowing-boat-medium-skin-tone","man-running","man-running-dark-skin-tone","man-running-light-skin-tone","man-running-medium-dark-skin-tone","man-running-medium-light-skin-tone","man-running-medium-skin-tone","man-scientist","man-scientist-dark-skin-tone","man-scientist-light-skin-tone","man-scientist-medium-dark-skin-tone","man-scientist-medium-light-skin-tone","man-scientist-medium-skin-tone","man-shrugging","man-shrugging-dark-skin-tone","man-shrugging-light-skin-tone","man-shrugging-medium-dark-skin-tone","man-shrugging-medium-light-skin-tone","man-shrugging-medium-skin-tone","man-singer","man-singer-dark-skin-tone","man-singer-light-skin-tone","man-singer-medium-dark-skin-tone","man-singer-medium-light-skin-tone","man-singer-medium-skin-tone","man-standing","man-standing-dark-skin-tone","man-standing-light-skin-tone","man-standing-medium-dark-skin-tone","man-standing-medium-light-skin-tone","man-standing-medium-skin-tone","man-student","man-student-dark-skin-tone","man-student-light-skin-tone","man-student-medium-dark-skin-tone","man-student-medium-light-skin-tone","man-student-medium-skin-tone","man-superhero","man-superhero-dark-skin-tone","man-superhero-light-skin-tone","man-superhero-medium-dark-skin-tone","man-superhero-medium-light-skin-tone","man-superhero-medium-skin-tone","man-supervillain","man-supervillain-dark-skin-tone","man-supervillain-light-skin-tone","man-supervillain-medium-dark-skin-tone","man-supervillain-medium-light-skin-tone","man-supervillain-medium-skin-tone","man-surfing","man-surfing-dark-skin-tone","man-surfing-light-skin-tone","man-surfing-medium-dark-skin-tone","man-surfing-medium-light-skin-tone","man-surfing-medium-skin-tone","man-swimming","man-swimming-dark-skin-tone","man-swimming-light-skin-tone","man-swimming-medium-dark-skin-tone","man-swimming-medium-light-skin-tone","man-swimming-medium-skin-tone","man-teacher","man-teacher-dark-skin-tone","man-teacher-light-skin-tone","man-teacher-medium-dark-skin-tone","man-teacher-medium-light-skin-tone","man-teacher-medium-skin-tone","man-technologist","man-technologist-dark-skin-tone","man-technologist-light-skin-tone","man-technologist-medium-dark-skin-tone","man-technologist-medium-light-skin-tone","man-technologist-medium-skin-tone","man-tipping-hand","man-tipping-hand-dark-skin-tone","man-tipping-hand-light-skin-tone","man-tipping-hand-medium-dark-skin-tone","man-tipping-hand-medium-light-skin-tone","man-tipping-hand-medium-skin-tone","man-vampire","man-vampire-dark-skin-tone","man-vampire-light-skin-tone","man-vampire-medium-dark-skin-tone","man-vampire-medium-light-skin-tone","man-vampire-medium-skin-tone","man-walking","man-walking-dark-skin-tone","man-walking-light-skin-tone","man-walking-medium-dark-skin-tone","man-walking-medium-light-skin-tone","man-walking-medium-skin-tone","man-wearing-turban","man-wearing-turban-dark-skin-tone","man-wearing-turban-light-skin-tone","man-wearing-turban-medium-dark-skin-tone","man-wearing-turban-medium-light-skin-tone","man-wearing-turban-medium-skin-tone","man-white-hair","man-with-veil","man-with-veil-dark-skin-tone","man-with-veil-light-skin-tone","man-with-veil-medium-dark-skin-tone","man-with-veil-medium-light-skin-tone","man-with-veil-medium-skin-tone","man-with-white-cane","man-with-white-cane-dark-skin-tone","man-with-white-cane-light-skin-tone","man-with-white-cane-medium-dark-skin-tone","man-with-white-cane-medium-light-skin-tone","man-with-white-cane-medium-skin-tone","man-zombie","mango","mans-shoe","mantelpiece-clock","manual-wheelchair","map-of-japan","maple-leaf","martial-arts-uniform","mate","meat-on-bone","mechanic","mechanic-dark-skin-tone","mechanic-light-skin-tone","mechanic-medium-dark-skin-tone","mechanic-medium-light-skin-tone","mechanic-medium-skin-tone","mechanical-arm","mechanical-leg","medical-symbol","medium-dark-skin-tone","medium-light-skin-tone","medium-skin-tone","megaphone","melon","melting-face","memo","men-holding-hands","men-holding-hands-dark-skin-tone","men-holding-hands-dark-skin-tone-light-skin-tone","men-holding-hands-dark-skin-tone-medium-dark-skin-tone","men-holding-hands-dark-skin-tone-medium-light-skin-tone","men-holding-hands-dark-skin-tone-medium-skin-tone","men-holding-hands-light-skin-tone","men-holding-hands-light-skin-tone-dark-skin-tone","men-holding-hands-light-skin-tone-medium-dark-skin-tone","men-holding-hands-light-skin-tone-medium-light-skin-tone","men-holding-hands-light-skin-tone-medium-skin-tone","men-holding-hands-medium-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-dark-skin-tone","men-holding-hands-medium-dark-skin-tone-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","men-holding-hands-medium-dark-skin-tone-medium-skin-tone","men-holding-hands-medium-light-skin-tone","men-holding-hands-medium-light-skin-tone-dark-skin-tone","men-holding-hands-medium-light-skin-tone-light-skin-tone","men-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-light-skin-tone-medium-skin-tone","men-holding-hands-medium-skin-tone","men-holding-hands-medium-skin-tone-dark-skin-tone","men-holding-hands-medium-skin-tone-light-skin-tone","men-holding-hands-medium-skin-tone-medium-dark-skin-tone","men-holding-hands-medium-skin-tone-medium-light-skin-tone","men-with-bunny-ears","men-wrestling","mending-heart","menorah","mens-room","mermaid","mermaid-dark-skin-tone","mermaid-light-skin-tone","mermaid-medium-dark-skin-tone","mermaid-medium-light-skin-tone","mermaid-medium-skin-tone","merman","merman-dark-skin-tone","merman-light-skin-tone","merman-medium-dark-skin-tone","merman-medium-light-skin-tone","merman-medium-skin-tone","merperson","merperson-dark-skin-tone","merperson-light-skin-tone","merperson-medium-dark-skin-tone","merperson-medium-light-skin-tone","merperson-medium-skin-tone","metro","microbe","microphone","microscope","middle-finger","middle-finger-dark-skin-tone","middle-finger-light-skin-tone","middle-finger-medium-dark-skin-tone","middle-finger-medium-light-skin-tone","middle-finger-medium-skin-tone","military-helmet","military-medal","milky-way","minibus","minus","mirror","mirror-ball","moai","mobile-phone","mobile-phone-off","mobile-phone-with-arrow","money-bag","money-mouth-face","money-with-wings","monkey","monkey-face","monorail","moon-cake","moon-viewing-ceremony","mosque","mosquito","motor-boat","motor-scooter","motorcycle","motorized-wheelchair","motorway","mount-fuji","mountain","mountain-cableway","mountain-railway","mouse","mouse-face","mouse-trap","mouth","movie-camera","mrs-claus","mrs-claus-dark-skin-tone","mrs-claus-light-skin-tone","mrs-claus-medium-dark-skin-tone","mrs-claus-medium-light-skin-tone","mrs-claus-medium-skin-tone","multiply","mushroom","musical-keyboard","musical-note","musical-notes","musical-score","muted-speaker","mx-claus","mx-claus-dark-skin-tone","mx-claus-light-skin-tone","mx-claus-medium-dark-skin-tone","mx-claus-medium-light-skin-tone","mx-claus-medium-skin-tone","nail-polish","nail-polish-dark-skin-tone","nail-polish-light-skin-tone","nail-polish-medium-dark-skin-tone","nail-polish-medium-light-skin-tone","nail-polish-medium-skin-tone","name-badge","national-park","nauseated-face","nazar-amulet","necktie","nerd-face","nest-with-eggs","nesting-dolls","neutral-face","new-button","new-moon","new-moon-face","newspaper","next-track-button","ng-button","night-with-stars","nine-oclock","nine-thirty","ninja","ninja-dark-skin-tone","ninja-light-skin-tone","ninja-medium-dark-skin-tone","ninja-medium-light-skin-tone","ninja-medium-skin-tone","no-bicycles","no-entry","no-littering","no-mobile-phones","no-one-under-eighteen","no-pedestrians","no-smoking","non-potable-water","nose","nose-dark-skin-tone","nose-light-skin-tone","nose-medium-dark-skin-tone","nose-medium-light-skin-tone","nose-medium-skin-tone","notebook","notebook-with-decorative-cover","nut-and-bolt","o-button-blood-type","octopus","oden","office-building","office-worker","office-worker-dark-skin-tone","office-worker-light-skin-tone","office-worker-medium-dark-skin-tone","office-worker-medium-light-skin-tone","office-worker-medium-skin-tone","ogre","oil-drum","ok-button","ok-hand","ok-hand-dark-skin-tone","ok-hand-light-skin-tone","ok-hand-medium-dark-skin-tone","ok-hand-medium-light-skin-tone","ok-hand-medium-skin-tone","old-key","old-man","old-man-dark-skin-tone","old-man-light-skin-tone","old-man-medium-dark-skin-tone","old-man-medium-light-skin-tone","old-man-medium-skin-tone","old-woman","old-woman-dark-skin-tone","old-woman-light-skin-tone","old-woman-medium-dark-skin-tone","old-woman-medium-light-skin-tone","old-woman-medium-skin-tone","older-adult","older-adult-dark-skin-tone","older-adult-light-skin-tone","older-adult-medium-dark-skin-tone","older-adult-medium-light-skin-tone","older-adult-medium-skin-tone","older-person","older-person-dark-skin-tone","older-person-light-skin-tone","older-person-medium-dark-skin-tone","older-person-medium-light-skin-tone","older-person-medium-skin-tone","olive","om","on-exclamation-arrow","oncoming-automobile","oncoming-bus","oncoming-fist","oncoming-fist-dark-skin-tone","oncoming-fist-light-skin-tone","oncoming-fist-medium-dark-skin-tone","oncoming-fist-medium-light-skin-tone","oncoming-fist-medium-skin-tone","oncoming-police-car","oncoming-taxi","one-oclock","one-piece-swimsuit","one-thirty","onion","open-book","open-file-folder","open-hands","open-hands-dark-skin-tone","open-hands-light-skin-tone","open-hands-medium-dark-skin-tone","open-hands-medium-light-skin-tone","open-hands-medium-skin-tone","open-mailbox-with-lowered-flag","open-mailbox-with-raised-flag","ophiuchus","optical-disk","orange-book","orange-circle","orange-heart","orange-square","orangutan","orthodox-cross","otter","outbox-tray","owl","ox","oyster","p-button","package","page-facing-up","page-with-curl","pager","paintbrush","palm-down-hand","palm-down-hand-dark-skin-tone","palm-down-hand-light-skin-tone","palm-down-hand-medium-dark-skin-tone","palm-down-hand-medium-light-skin-tone","palm-down-hand-medium-skin-tone","palm-tree","palm-up-hand","palm-up-hand-dark-skin-tone","palm-up-hand-light-skin-tone","palm-up-hand-medium-dark-skin-tone","palm-up-hand-medium-light-skin-tone","palm-up-hand-medium-skin-tone","palms-up-together","palms-up-together-dark-skin-tone","palms-up-together-light-skin-tone","palms-up-together-medium-dark-skin-tone","palms-up-together-medium-light-skin-tone","palms-up-together-medium-skin-tone","pancakes","panda","paperclip","parachute","parrot","part-alternation-mark","party-popper","partying-face","passenger-ship","passport-control","pause-button","paw-prints","peace-symbol","peach","peacock","peanuts","pear","pen","pencil","penguin","pensive-face","people-holding-hands","people-holding-hands-dark-skin-tone","people-holding-hands-dark-skin-tone-light-skin-tone","people-holding-hands-dark-skin-tone-medium-dark-skin-tone","people-holding-hands-dark-skin-tone-medium-light-skin-tone","people-holding-hands-dark-skin-tone-medium-skin-tone","people-holding-hands-light-skin-tone","people-holding-hands-light-skin-tone-dark-skin-tone","people-holding-hands-light-skin-tone-medium-dark-skin-tone","people-holding-hands-light-skin-tone-medium-light-skin-tone","people-holding-hands-light-skin-tone-medium-skin-tone","people-holding-hands-medium-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-dark-skin-tone","people-holding-hands-medium-dark-skin-tone-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","people-holding-hands-medium-dark-skin-tone-medium-skin-tone","people-holding-hands-medium-light-skin-tone","people-holding-hands-medium-light-skin-tone-dark-skin-tone","people-holding-hands-medium-light-skin-tone-light-skin-tone","people-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-light-skin-tone-medium-skin-tone","people-holding-hands-medium-skin-tone","people-holding-hands-medium-skin-tone-dark-skin-tone","people-holding-hands-medium-skin-tone-light-skin-tone","people-holding-hands-medium-skin-tone-medium-dark-skin-tone","people-holding-hands-medium-skin-tone-medium-light-skin-tone","people-hugging","people-with-bunny-ears","people-wrestling","performing-arts","persevering-face","person","person-bald","person-beard","person-biking","person-biking-dark-skin-tone","person-biking-light-skin-tone","person-biking-medium-dark-skin-tone","person-biking-medium-light-skin-tone","person-biking-medium-skin-tone","person-blond-hair","person-bouncing-ball","person-bouncing-ball-dark-skin-tone","person-bouncing-ball-light-skin-tone","person-bouncing-ball-medium-dark-skin-tone","person-bouncing-ball-medium-light-skin-tone","person-bouncing-ball-medium-skin-tone","person-bowing","person-bowing-dark-skin-tone","person-bowing-light-skin-tone","person-bowing-medium-dark-skin-tone","person-bowing-medium-light-skin-tone","person-bowing-medium-skin-tone","person-cartwheeling","person-cartwheeling-dark-skin-tone","person-cartwheeling-light-skin-tone","person-cartwheeling-medium-dark-skin-tone","person-cartwheeling-medium-light-skin-tone","person-cartwheeling-medium-skin-tone","person-climbing","person-climbing-dark-skin-tone","person-climbing-light-skin-tone","person-climbing-medium-dark-skin-tone","person-climbing-medium-light-skin-tone","person-climbing-medium-skin-tone","person-curly-hair","person-dark-skin-tone","person-dark-skin-tone-bald","person-dark-skin-tone-beard","person-dark-skin-tone-blond-hair","person-dark-skin-tone-curly-hair","person-dark-skin-tone-red-hair","person-dark-skin-tone-white-hair","person-facepalming","person-facepalming-dark-skin-tone","person-facepalming-light-skin-tone","person-facepalming-medium-dark-skin-tone","person-facepalming-medium-light-skin-tone","person-facepalming-medium-skin-tone","person-feeding-baby","person-feeding-baby-dark-skin-tone","person-feeding-baby-light-skin-tone","person-feeding-baby-medium-dark-skin-tone","person-feeding-baby-medium-light-skin-tone","person-feeding-baby-medium-skin-tone","person-fencing","person-frowning","person-frowning-dark-skin-tone","person-frowning-light-skin-tone","person-frowning-medium-dark-skin-tone","person-frowning-medium-light-skin-tone","person-frowning-medium-skin-tone","person-gesturing-no","person-gesturing-no-dark-skin-tone","person-gesturing-no-light-skin-tone","person-gesturing-no-medium-dark-skin-tone","person-gesturing-no-medium-light-skin-tone","person-gesturing-no-medium-skin-tone","person-gesturing-ok","person-gesturing-ok-dark-skin-tone","person-gesturing-ok-light-skin-tone","person-gesturing-ok-medium-dark-skin-tone","person-gesturing-ok-medium-light-skin-tone","person-gesturing-ok-medium-skin-tone","person-getting-haircut","person-getting-haircut-dark-skin-tone","person-getting-haircut-light-skin-tone","person-getting-haircut-medium-dark-skin-tone","person-getting-haircut-medium-light-skin-tone","person-getting-haircut-medium-skin-tone","person-getting-massage","person-getting-massage-dark-skin-tone","person-getting-massage-light-skin-tone","person-getting-massage-medium-dark-skin-tone","person-getting-massage-medium-light-skin-tone","person-getting-massage-medium-skin-tone","person-golfing","person-golfing-dark-skin-tone","person-golfing-light-skin-tone","person-golfing-medium-dark-skin-tone","person-golfing-medium-light-skin-tone","person-golfing-medium-skin-tone","person-in-bed","person-in-bed-dark-skin-tone","person-in-bed-light-skin-tone","person-in-bed-medium-dark-skin-tone","person-in-bed-medium-light-skin-tone","person-in-bed-medium-skin-tone","person-in-lotus-position","person-in-lotus-position-dark-skin-tone","person-in-lotus-position-light-skin-tone","person-in-lotus-position-medium-dark-skin-tone","person-in-lotus-position-medium-light-skin-tone","person-in-lotus-position-medium-skin-tone","person-in-manual-wheelchair","person-in-manual-wheelchair-dark-skin-tone","person-in-manual-wheelchair-light-skin-tone","person-in-manual-wheelchair-medium-dark-skin-tone","person-in-manual-wheelchair-medium-light-skin-tone","person-in-manual-wheelchair-medium-skin-tone","person-in-motorized-wheelchair","person-in-motorized-wheelchair-dark-skin-tone","person-in-motorized-wheelchair-light-skin-tone","person-in-motorized-wheelchair-medium-dark-skin-tone","person-in-motorized-wheelchair-medium-light-skin-tone","person-in-motorized-wheelchair-medium-skin-tone","person-in-steamy-room","person-in-steamy-room-dark-skin-tone","person-in-steamy-room-light-skin-tone","person-in-steamy-room-medium-dark-skin-tone","person-in-steamy-room-medium-light-skin-tone","person-in-steamy-room-medium-skin-tone","person-in-suit-levitating","person-in-suit-levitating-dark-skin-tone","person-in-suit-levitating-light-skin-tone","person-in-suit-levitating-medium-dark-skin-tone","person-in-suit-levitating-medium-light-skin-tone","person-in-suit-levitating-medium-skin-tone","person-in-tuxedo","person-in-tuxedo-dark-skin-tone","person-in-tuxedo-light-skin-tone","person-in-tuxedo-medium-dark-skin-tone","person-in-tuxedo-medium-light-skin-tone","person-in-tuxedo-medium-skin-tone","person-juggling","person-juggling-dark-skin-tone","person-juggling-light-skin-tone","person-juggling-medium-dark-skin-tone","person-juggling-medium-light-skin-tone","person-juggling-medium-skin-tone","person-kneeling","person-kneeling-dark-skin-tone","person-kneeling-light-skin-tone","person-kneeling-medium-dark-skin-tone","person-kneeling-medium-light-skin-tone","person-kneeling-medium-skin-tone","person-lifting-weights","person-lifting-weights-dark-skin-tone","person-lifting-weights-light-skin-tone","person-lifting-weights-medium-dark-skin-tone","person-lifting-weights-medium-light-skin-tone","person-lifting-weights-medium-skin-tone","person-light-skin-tone","person-light-skin-tone-bald","person-light-skin-tone-beard","person-light-skin-tone-blond-hair","person-light-skin-tone-curly-hair","person-light-skin-tone-red-hair","person-light-skin-tone-white-hair","person-medium-dark-skin-tone","person-medium-dark-skin-tone-bald","person-medium-dark-skin-tone-beard","person-medium-dark-skin-tone-blond-hair","person-medium-dark-skin-tone-curly-hair","person-medium-dark-skin-tone-red-hair","person-medium-dark-skin-tone-white-hair","person-medium-light-skin-tone","person-medium-light-skin-tone-bald","person-medium-light-skin-tone-beard","person-medium-light-skin-tone-blond-hair","person-medium-light-skin-tone-curly-hair","person-medium-light-skin-tone-red-hair","person-medium-light-skin-tone-white-hair","person-medium-skin-tone","person-medium-skin-tone-bald","person-medium-skin-tone-beard","person-medium-skin-tone-blond-hair","person-medium-skin-tone-curly-hair","person-medium-skin-tone-red-hair","person-medium-skin-tone-white-hair","person-mountain-biking","person-mountain-biking-dark-skin-tone","person-mountain-biking-light-skin-tone","person-mountain-biking-medium-dark-skin-tone","person-mountain-biking-medium-light-skin-tone","person-mountain-biking-medium-skin-tone","person-playing-handball","person-playing-handball-dark-skin-tone","person-playing-handball-light-skin-tone","person-playing-handball-medium-dark-skin-tone","person-playing-handball-medium-light-skin-tone","person-playing-handball-medium-skin-tone","person-playing-water-polo","person-playing-water-polo-dark-skin-tone","person-playing-water-polo-light-skin-tone","person-playing-water-polo-medium-dark-skin-tone","person-playing-water-polo-medium-light-skin-tone","person-playing-water-polo-medium-skin-tone","person-pouting","person-pouting-dark-skin-tone","person-pouting-light-skin-tone","person-pouting-medium-dark-skin-tone","person-pouting-medium-light-skin-tone","person-pouting-medium-skin-tone","person-raising-hand","person-raising-hand-dark-skin-tone","person-raising-hand-light-skin-tone","person-raising-hand-medium-dark-skin-tone","person-raising-hand-medium-light-skin-tone","person-raising-hand-medium-skin-tone","person-red-hair","person-rowing-boat","person-rowing-boat-dark-skin-tone","person-rowing-boat-light-skin-tone","person-rowing-boat-medium-dark-skin-tone","person-rowing-boat-medium-light-skin-tone","person-rowing-boat-medium-skin-tone","person-running","person-running-dark-skin-tone","person-running-light-skin-tone","person-running-medium-dark-skin-tone","person-running-medium-light-skin-tone","person-running-medium-skin-tone","person-shrugging","person-shrugging-dark-skin-tone","person-shrugging-light-skin-tone","person-shrugging-medium-dark-skin-tone","person-shrugging-medium-light-skin-tone","person-shrugging-medium-skin-tone","person-standing","person-standing-dark-skin-tone","person-standing-light-skin-tone","person-standing-medium-dark-skin-tone","person-standing-medium-light-skin-tone","person-standing-medium-skin-tone","person-surfing","person-surfing-dark-skin-tone","person-surfing-light-skin-tone","person-surfing-medium-dark-skin-tone","person-surfing-medium-light-skin-tone","person-surfing-medium-skin-tone","person-swimming","person-swimming-dark-skin-tone","person-swimming-light-skin-tone","person-swimming-medium-dark-skin-tone","person-swimming-medium-light-skin-tone","person-swimming-medium-skin-tone","person-taking-bath","person-taking-bath-dark-skin-tone","person-taking-bath-light-skin-tone","person-taking-bath-medium-dark-skin-tone","person-taking-bath-medium-light-skin-tone","person-taking-bath-medium-skin-tone","person-tipping-hand","person-tipping-hand-dark-skin-tone","person-tipping-hand-light-skin-tone","person-tipping-hand-medium-dark-skin-tone","person-tipping-hand-medium-light-skin-tone","person-tipping-hand-medium-skin-tone","person-walking","person-walking-dark-skin-tone","person-walking-light-skin-tone","person-walking-medium-dark-skin-tone","person-walking-medium-light-skin-tone","person-walking-medium-skin-tone","person-wearing-turban","person-wearing-turban-dark-skin-tone","person-wearing-turban-light-skin-tone","person-wearing-turban-medium-dark-skin-tone","person-wearing-turban-medium-light-skin-tone","person-wearing-turban-medium-skin-tone","person-white-hair","person-with-crown","person-with-crown-dark-skin-tone","person-with-crown-light-skin-tone","person-with-crown-medium-dark-skin-tone","person-with-crown-medium-light-skin-tone","person-with-crown-medium-skin-tone","person-with-skullcap","person-with-skullcap-dark-skin-tone","person-with-skullcap-light-skin-tone","person-with-skullcap-medium-dark-skin-tone","person-with-skullcap-medium-light-skin-tone","person-with-skullcap-medium-skin-tone","person-with-veil","person-with-veil-dark-skin-tone","person-with-veil-light-skin-tone","person-with-veil-medium-dark-skin-tone","person-with-veil-medium-light-skin-tone","person-with-veil-medium-skin-tone","person-with-white-cane","person-with-white-cane-dark-skin-tone","person-with-white-cane-light-skin-tone","person-with-white-cane-medium-dark-skin-tone","person-with-white-cane-medium-light-skin-tone","person-with-white-cane-medium-skin-tone","petri-dish","pick","pickup-truck","pie","pig","pig-face","pig-nose","pile-of-poo","pill","pilot","pilot-dark-skin-tone","pilot-light-skin-tone","pilot-medium-dark-skin-tone","pilot-medium-light-skin-tone","pilot-medium-skin-tone","pinata","pinched-fingers","pinched-fingers-dark-skin-tone","pinched-fingers-light-skin-tone","pinched-fingers-medium-dark-skin-tone","pinched-fingers-medium-light-skin-tone","pinched-fingers-medium-skin-tone","pinching-hand","pinching-hand-dark-skin-tone","pinching-hand-light-skin-tone","pinching-hand-medium-dark-skin-tone","pinching-hand-medium-light-skin-tone","pinching-hand-medium-skin-tone","pine-decoration","pineapple","ping-pong","pirate-flag","pisces","pizza","placard","place-of-worship","play-button","play-or-pause-button","playground-slide","pleading-face","plunger","plus","polar-bear","police-car","police-car-light","police-officer","police-officer-dark-skin-tone","police-officer-light-skin-tone","police-officer-medium-dark-skin-tone","police-officer-medium-light-skin-tone","police-officer-medium-skin-tone","poodle","pool-8-ball","popcorn","post-office","postal-horn","postbox","pot-of-food","potable-water","potato","potted-plant","poultry-leg","pound-banknote","pouring-liquid","pouting-cat","prayer-beads","pregnant-man","pregnant-man-dark-skin-tone","pregnant-man-light-skin-tone","pregnant-man-medium-dark-skin-tone","pregnant-man-medium-light-skin-tone","pregnant-man-medium-skin-tone","pregnant-person","pregnant-person-dark-skin-tone","pregnant-person-light-skin-tone","pregnant-person-medium-dark-skin-tone","pregnant-person-medium-light-skin-tone","pregnant-person-medium-skin-tone","pregnant-woman","pregnant-woman-dark-skin-tone","pregnant-woman-light-skin-tone","pregnant-woman-medium-dark-skin-tone","pregnant-woman-medium-light-skin-tone","pregnant-woman-medium-skin-tone","pretzel","prince","prince-dark-skin-tone","prince-light-skin-tone","prince-medium-dark-skin-tone","prince-medium-light-skin-tone","prince-medium-skin-tone","princess","princess-dark-skin-tone","princess-light-skin-tone","princess-medium-dark-skin-tone","princess-medium-light-skin-tone","princess-medium-skin-tone","printer","prohibited","purple-circle","purple-heart","purple-square","purse","pushpin","puzzle-piece","rabbit","rabbit-face","raccoon","racing-car","radio","radio-button","radioactive","railway-car","railway-track","rainbow","rainbow-flag","raised-back-of-hand","raised-back-of-hand-dark-skin-tone","raised-back-of-hand-light-skin-tone","raised-back-of-hand-medium-dark-skin-tone","raised-back-of-hand-medium-light-skin-tone","raised-back-of-hand-medium-skin-tone","raised-fist","raised-fist-dark-skin-tone","raised-fist-light-skin-tone","raised-fist-medium-dark-skin-tone","raised-fist-medium-light-skin-tone","raised-fist-medium-skin-tone","raised-hand","raised-hand-dark-skin-tone","raised-hand-light-skin-tone","raised-hand-medium-dark-skin-tone","raised-hand-medium-light-skin-tone","raised-hand-medium-skin-tone","raising-hands","raising-hands-dark-skin-tone","raising-hands-light-skin-tone","raising-hands-medium-dark-skin-tone","raising-hands-medium-light-skin-tone","raising-hands-medium-skin-tone","ram","rat","razor","receipt","record-button","recycling-symbol","red-apple","red-circle","red-envelope","red-exclamation-mark","red-haired","red-heart","red-paper-lantern","red-question-mark","red-square","red-triangle-pointed-down","red-triangle-pointed-up","registered","relieved-face","reminder-ribbon","repeat-button","repeat-single-button","rescue-workers-helmet","restroom","reverse-button","revolving-hearts","rhinoceros","ribbon","rice-ball","rice-cracker","right-anger-bubble","right-arrow","right-arrow-curving-down","right-arrow-curving-left","right-arrow-curving-up","right-facing-fist","right-facing-fist-dark-skin-tone","right-facing-fist-light-skin-tone","right-facing-fist-medium-dark-skin-tone","right-facing-fist-medium-light-skin-tone","right-facing-fist-medium-skin-tone","rightwards-hand","rightwards-hand-dark-skin-tone","rightwards-hand-light-skin-tone","rightwards-hand-medium-dark-skin-tone","rightwards-hand-medium-light-skin-tone","rightwards-hand-medium-skin-tone","ring","ring-buoy","ringed-planet","roasted-sweet-potato","robot","rock","rocket","roll-of-paper","rolled-up-newspaper","roller-coaster","roller-skate","rolling-on-the-floor-laughing","rooster","rose","rosette","round-pushpin","rugby-football","running-shirt","running-shoe","sad-but-relieved-face","safety-pin","safety-vest","sagittarius","sailboat","sake","salt","saluting-face","sandwich","santa-claus","santa-claus-dark-skin-tone","santa-claus-light-skin-tone","santa-claus-medium-dark-skin-tone","santa-claus-medium-light-skin-tone","santa-claus-medium-skin-tone","sari","satellite","satellite-antenna","sauropod","saxophone","scarf","school","scientist","scientist-dark-skin-tone","scientist-light-skin-tone","scientist-medium-dark-skin-tone","scientist-medium-light-skin-tone","scientist-medium-skin-tone","scissors","scorpio","scorpion","screwdriver","scroll","seal","seat","see-no-evil-monkey","seedling","selfie","selfie-dark-skin-tone","selfie-light-skin-tone","selfie-medium-dark-skin-tone","selfie-medium-light-skin-tone","selfie-medium-skin-tone","service-dog","seven-oclock","seven-thirty","sewing-needle","shallow-pan-of-food","shamrock","shark","shaved-ice","sheaf-of-rice","shibuya-109-department-store","shield","shinto-shrine","ship","shooting-star","shopping-bags","shopping-cart","shortcake","shorts","shower","shrimp","shuffle-tracks-button","shushing-face","sign-of-the-horns","sign-of-the-horns-dark-skin-tone","sign-of-the-horns-light-skin-tone","sign-of-the-horns-medium-dark-skin-tone","sign-of-the-horns-medium-light-skin-tone","sign-of-the-horns-medium-skin-tone","singer","singer-dark-skin-tone","singer-light-skin-tone","singer-medium-dark-skin-tone","singer-medium-light-skin-tone","singer-medium-skin-tone","six-oclock","six-thirty","skateboard","skier","skier-dark-skin-tone","skier-light-skin-tone","skier-medium-dark-skin-tone","skier-medium-light-skin-tone","skier-medium-skin-tone","skis","skull","skull-and-crossbones","skunk","sled","sleeping-face","sleepy-face","slightly-frowning-face","slightly-smiling-face","slot-machine","sloth","small-airplane","small-blue-diamond","small-orange-diamond","smiling-cat-with-heart-eyes","smiling-face","smiling-face-with-halo","smiling-face-with-heart-eyes","smiling-face-with-hearts","smiling-face-with-horns","smiling-face-with-open-hands","smiling-face-with-smiling-eyes","smiling-face-with-sunglasses","smiling-face-with-tear","smirking-face","snail","snake","sneezing-face","snow-capped-mountain","snowboarder","snowboarder-dark-skin-tone","snowboarder-light-skin-tone","snowboarder-medium-dark-skin-tone","snowboarder-medium-light-skin-tone","snowboarder-medium-skin-tone","snowflake","snowman","snowman-without-snow","soap","soccer-ball","socks","soft-ice-cream","softball","soon-arrow","sos-button","spade-suit","spaghetti","sparkle","sparkler","sparkles","sparkling-heart","speak-no-evil-monkey","speaker-high-volume","speaker-low-volume","speaker-medium-volume","speaking-head","speech-balloon","speedboat","spider","spider-web","spiral-calendar","spiral-notepad","spiral-shell","sponge","spoon","sport-utility-vehicle","sports-medal","spouting-whale","squid","squinting-face-with-tongue","stadium","star","star-and-crescent","star-of-david","star-struck","station","statue-of-liberty","steaming-bowl","stethoscope","stop-button","stop-sign","stopwatch","straight-ruler","strawberry","student","student-dark-skin-tone","student-light-skin-tone","student-medium-dark-skin-tone","student-medium-light-skin-tone","student-medium-skin-tone","studio-microphone","stuffed-flatbread","sun","sun-behind-cloud","sun-behind-large-cloud","sun-behind-rain-cloud","sun-behind-small-cloud","sun-with-face","sunflower","sunglasses","sunrise","sunrise-over-mountains","sunset","superhero","superhero-dark-skin-tone","superhero-light-skin-tone","superhero-medium-dark-skin-tone","superhero-medium-light-skin-tone","superhero-medium-skin-tone","supervillain","supervillain-dark-skin-tone","supervillain-light-skin-tone","supervillain-medium-dark-skin-tone","supervillain-medium-light-skin-tone","supervillain-medium-skin-tone","sushi","suspension-railway","swan","sweat-droplets","synagogue","syringe","t-rex","t-shirt","taco","takeout-box","tamale","tanabata-tree","tangerine","taurus","taxi","teacher","teacher-dark-skin-tone","teacher-light-skin-tone","teacher-medium-dark-skin-tone","teacher-medium-light-skin-tone","teacher-medium-skin-tone","teacup-without-handle","teapot","tear-off-calendar","technologist","technologist-dark-skin-tone","technologist-light-skin-tone","technologist-medium-dark-skin-tone","technologist-medium-light-skin-tone","technologist-medium-skin-tone","teddy-bear","telephone","telephone-receiver","telescope","television","ten-oclock","ten-thirty","tennis","tent","test-tube","thermometer","thinking-face","thong-sandal","thought-balloon","thread","three-oclock","three-thirty","thumbs-down","thumbs-down-dark-skin-tone","thumbs-down-light-skin-tone","thumbs-down-medium-dark-skin-tone","thumbs-down-medium-light-skin-tone","thumbs-down-medium-skin-tone","thumbs-up","thumbs-up-dark-skin-tone","thumbs-up-light-skin-tone","thumbs-up-medium-dark-skin-tone","thumbs-up-medium-light-skin-tone","thumbs-up-medium-skin-tone","ticket","tiger","tiger-face","timer-clock","tired-face","toilet","tokyo-tower","tomato","tongue","toolbox","tooth","toothbrush","top-arrow","top-hat","tornado","trackball","tractor","trade-mark","train","tram","tram-car","transgender-flag","transgender-symbol","triangular-flag","triangular-ruler","trident-emblem","troll","trolleybus","trophy","tropical-drink","tropical-fish","trumpet","tulip","tumbler-glass","turkey","turtle","twelve-oclock","twelve-thirty","two-hearts","two-hump-camel","two-men-holding-hands","two-oclock","two-thirty","two-women-holding-hands","umbrella","umbrella-on-ground","umbrella-with-rain-drops","unamused-face","unicorn","unlocked","up-arrow","up-down-arrow","up-exclamation-button","up-left-arrow","up-right-arrow","upside-down-face","upwards-button","vampire","vampire-dark-skin-tone","vampire-light-skin-tone","vampire-medium-dark-skin-tone","vampire-medium-light-skin-tone","vampire-medium-skin-tone","vertical-traffic-light","vibration-mode","victory-hand","victory-hand-dark-skin-tone","victory-hand-light-skin-tone","victory-hand-medium-dark-skin-tone","victory-hand-medium-light-skin-tone","victory-hand-medium-skin-tone","video-camera","video-game","videocassette","violin","virgo","volcano","volleyball","vs-button","vulcan-salute","vulcan-salute-dark-skin-tone","vulcan-salute-light-skin-tone","vulcan-salute-medium-dark-skin-tone","vulcan-salute-medium-light-skin-tone","vulcan-salute-medium-skin-tone","waffle","waning-crescent-moon","waning-gibbous-moon","warning","wastebasket","watch","water-buffalo","water-closet","water-pistol","water-wave","watermelon","waving-hand","waving-hand-dark-skin-tone","waving-hand-light-skin-tone","waving-hand-medium-dark-skin-tone","waving-hand-medium-light-skin-tone","waving-hand-medium-skin-tone","wavy-dash","waxing-crescent-moon","waxing-gibbous-moon","weary-cat","weary-face","wedding","whale","wheel","wheel-of-dharma","wheelchair-symbol","white-cane","white-circle","white-exclamation-mark","white-flag","white-flower","white-haired","white-heart","white-large-square","white-medium-small-square","white-medium-square","white-question-mark","white-small-square","white-square-button","wilted-flower","wind-chime","wind-face","window","wine-glass","winking-face","winking-face-with-tongue","wolf","woman","woman-and-man-holding-hands","woman-and-man-holding-hands-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","woman-and-man-holding-hands-medium-dark-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-light-skin-tone-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone","woman-and-man-holding-hands-medium-skin-tone-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-light-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-dark-skin-tone","woman-and-man-holding-hands-medium-skin-tone-medium-light-skin-tone","woman-artist","woman-artist-dark-skin-tone","woman-artist-light-skin-tone","woman-artist-medium-dark-skin-tone","woman-artist-medium-light-skin-tone","woman-artist-medium-skin-tone","woman-astronaut","woman-astronaut-dark-skin-tone","woman-astronaut-light-skin-tone","woman-astronaut-medium-dark-skin-tone","woman-astronaut-medium-light-skin-tone","woman-astronaut-medium-skin-tone","woman-bald","woman-beard","woman-biking","woman-biking-dark-skin-tone","woman-biking-light-skin-tone","woman-biking-medium-dark-skin-tone","woman-biking-medium-light-skin-tone","woman-biking-medium-skin-tone","woman-blond-hair","woman-bouncing-ball","woman-bouncing-ball-dark-skin-tone","woman-bouncing-ball-light-skin-tone","woman-bouncing-ball-medium-dark-skin-tone","woman-bouncing-ball-medium-light-skin-tone","woman-bouncing-ball-medium-skin-tone","woman-bowing","woman-bowing-dark-skin-tone","woman-bowing-light-skin-tone","woman-bowing-medium-dark-skin-tone","woman-bowing-medium-light-skin-tone","woman-bowing-medium-skin-tone","woman-cartwheeling","woman-cartwheeling-dark-skin-tone","woman-cartwheeling-light-skin-tone","woman-cartwheeling-medium-dark-skin-tone","woman-cartwheeling-medium-light-skin-tone","woman-cartwheeling-medium-skin-tone","woman-climbing","woman-climbing-dark-skin-tone","woman-climbing-light-skin-tone","woman-climbing-medium-dark-skin-tone","woman-climbing-medium-light-skin-tone","woman-climbing-medium-skin-tone","woman-construction-worker","woman-construction-worker-dark-skin-tone","woman-construction-worker-light-skin-tone","woman-construction-worker-medium-dark-skin-tone","woman-construction-worker-medium-light-skin-tone","woman-construction-worker-medium-skin-tone","woman-cook","woman-cook-dark-skin-tone","woman-cook-light-skin-tone","woman-cook-medium-dark-skin-tone","woman-cook-medium-light-skin-tone","woman-cook-medium-skin-tone","woman-curly-hair","woman-dancing","woman-dancing-dark-skin-tone","woman-dancing-light-skin-tone","woman-dancing-medium-dark-skin-tone","woman-dancing-medium-light-skin-tone","woman-dancing-medium-skin-tone","woman-dark-skin-tone","woman-dark-skin-tone-bald","woman-dark-skin-tone-beard","woman-dark-skin-tone-blond-hair","woman-dark-skin-tone-curly-hair","woman-dark-skin-tone-red-hair","woman-dark-skin-tone-white-hair","woman-detective","woman-detective-dark-skin-tone","woman-detective-light-skin-tone","woman-detective-medium-dark-skin-tone","woman-detective-medium-light-skin-tone","woman-detective-medium-skin-tone","woman-elf","woman-elf-dark-skin-tone","woman-elf-light-skin-tone","woman-elf-medium-dark-skin-tone","woman-elf-medium-light-skin-tone","woman-elf-medium-skin-tone","woman-facepalming","woman-facepalming-dark-skin-tone","woman-facepalming-light-skin-tone","woman-facepalming-medium-dark-skin-tone","woman-facepalming-medium-light-skin-tone","woman-facepalming-medium-skin-tone","woman-factory-worker","woman-factory-worker-dark-skin-tone","woman-factory-worker-light-skin-tone","woman-factory-worker-medium-dark-skin-tone","woman-factory-worker-medium-light-skin-tone","woman-factory-worker-medium-skin-tone","woman-fairy","woman-fairy-dark-skin-tone","woman-fairy-light-skin-tone","woman-fairy-medium-dark-skin-tone","woman-fairy-medium-light-skin-tone","woman-fairy-medium-skin-tone","woman-farmer","woman-farmer-dark-skin-tone","woman-farmer-light-skin-tone","woman-farmer-medium-dark-skin-tone","woman-farmer-medium-light-skin-tone","woman-farmer-medium-skin-tone","woman-feeding-baby","woman-feeding-baby-dark-skin-tone","woman-feeding-baby-light-skin-tone","woman-feeding-baby-medium-dark-skin-tone","woman-feeding-baby-medium-light-skin-tone","woman-feeding-baby-medium-skin-tone","woman-firefighter","woman-firefighter-dark-skin-tone","woman-firefighter-light-skin-tone","woman-firefighter-medium-dark-skin-tone","woman-firefighter-medium-light-skin-tone","woman-firefighter-medium-skin-tone","woman-frowning","woman-frowning-dark-skin-tone","woman-frowning-light-skin-tone","woman-frowning-medium-dark-skin-tone","woman-frowning-medium-light-skin-tone","woman-frowning-medium-skin-tone","woman-genie","woman-gesturing-no","woman-gesturing-no-dark-skin-tone","woman-gesturing-no-light-skin-tone","woman-gesturing-no-medium-dark-skin-tone","woman-gesturing-no-medium-light-skin-tone","woman-gesturing-no-medium-skin-tone","woman-gesturing-ok","woman-gesturing-ok-dark-skin-tone","woman-gesturing-ok-light-skin-tone","woman-gesturing-ok-medium-dark-skin-tone","woman-gesturing-ok-medium-light-skin-tone","woman-gesturing-ok-medium-skin-tone","woman-getting-haircut","woman-getting-haircut-dark-skin-tone","woman-getting-haircut-light-skin-tone","woman-getting-haircut-medium-dark-skin-tone","woman-getting-haircut-medium-light-skin-tone","woman-getting-haircut-medium-skin-tone","woman-getting-massage","woman-getting-massage-dark-skin-tone","woman-getting-massage-light-skin-tone","woman-getting-massage-medium-dark-skin-tone","woman-getting-massage-medium-light-skin-tone","woman-getting-massage-medium-skin-tone","woman-golfing","woman-golfing-dark-skin-tone","woman-golfing-light-skin-tone","woman-golfing-medium-dark-skin-tone","woman-golfing-medium-light-skin-tone","woman-golfing-medium-skin-tone","woman-guard","woman-guard-dark-skin-tone","woman-guard-light-skin-tone","woman-guard-medium-dark-skin-tone","woman-guard-medium-light-skin-tone","woman-guard-medium-skin-tone","woman-health-worker","woman-health-worker-dark-skin-tone","woman-health-worker-light-skin-tone","woman-health-worker-medium-dark-skin-tone","woman-health-worker-medium-light-skin-tone","woman-health-worker-medium-skin-tone","woman-in-lotus-position","woman-in-lotus-position-dark-skin-tone","woman-in-lotus-position-light-skin-tone","woman-in-lotus-position-medium-dark-skin-tone","woman-in-lotus-position-medium-light-skin-tone","woman-in-lotus-position-medium-skin-tone","woman-in-manual-wheelchair","woman-in-manual-wheelchair-dark-skin-tone","woman-in-manual-wheelchair-light-skin-tone","woman-in-manual-wheelchair-medium-dark-skin-tone","woman-in-manual-wheelchair-medium-light-skin-tone","woman-in-manual-wheelchair-medium-skin-tone","woman-in-motorized-wheelchair","woman-in-motorized-wheelchair-dark-skin-tone","woman-in-motorized-wheelchair-light-skin-tone","woman-in-motorized-wheelchair-medium-dark-skin-tone","woman-in-motorized-wheelchair-medium-light-skin-tone","woman-in-motorized-wheelchair-medium-skin-tone","woman-in-steamy-room","woman-in-steamy-room-dark-skin-tone","woman-in-steamy-room-light-skin-tone","woman-in-steamy-room-medium-dark-skin-tone","woman-in-steamy-room-medium-light-skin-tone","woman-in-steamy-room-medium-skin-tone","woman-in-suit-levitating","woman-in-suit-levitating-dark-skin-tone","woman-in-suit-levitating-light-skin-tone","woman-in-suit-levitating-medium-dark-skin-tone","woman-in-suit-levitating-medium-light-skin-tone","woman-in-suit-levitating-medium-skin-tone","woman-in-tuxedo","woman-in-tuxedo-dark-skin-tone","woman-in-tuxedo-light-skin-tone","woman-in-tuxedo-medium-dark-skin-tone","woman-in-tuxedo-medium-light-skin-tone","woman-in-tuxedo-medium-skin-tone","woman-judge","woman-judge-dark-skin-tone","woman-judge-light-skin-tone","woman-judge-medium-dark-skin-tone","woman-judge-medium-light-skin-tone","woman-judge-medium-skin-tone","woman-juggling","woman-juggling-dark-skin-tone","woman-juggling-light-skin-tone","woman-juggling-medium-dark-skin-tone","woman-juggling-medium-light-skin-tone","woman-juggling-medium-skin-tone","woman-kneeling","woman-kneeling-dark-skin-tone","woman-kneeling-light-skin-tone","woman-kneeling-medium-dark-skin-tone","woman-kneeling-medium-light-skin-tone","woman-kneeling-medium-skin-tone","woman-lifting-weights","woman-lifting-weights-dark-skin-tone","woman-lifting-weights-light-skin-tone","woman-lifting-weights-medium-dark-skin-tone","woman-lifting-weights-medium-light-skin-tone","woman-lifting-weights-medium-skin-tone","woman-light-skin-tone","woman-light-skin-tone-bald","woman-light-skin-tone-beard","woman-light-skin-tone-blond-hair","woman-light-skin-tone-curly-hair","woman-light-skin-tone-red-hair","woman-light-skin-tone-white-hair","woman-mage","woman-mage-dark-skin-tone","woman-mage-light-skin-tone","woman-mage-medium-dark-skin-tone","woman-mage-medium-light-skin-tone","woman-mage-medium-skin-tone","woman-mechanic","woman-mechanic-dark-skin-tone","woman-mechanic-light-skin-tone","woman-mechanic-medium-dark-skin-tone","woman-mechanic-medium-light-skin-tone","woman-mechanic-medium-skin-tone","woman-medium-dark-skin-tone","woman-medium-dark-skin-tone-bald","woman-medium-dark-skin-tone-beard","woman-medium-dark-skin-tone-blond-hair","woman-medium-dark-skin-tone-curly-hair","woman-medium-dark-skin-tone-red-hair","woman-medium-dark-skin-tone-white-hair","woman-medium-light-skin-tone","woman-medium-light-skin-tone-bald","woman-medium-light-skin-tone-beard","woman-medium-light-skin-tone-blond-hair","woman-medium-light-skin-tone-curly-hair","woman-medium-light-skin-tone-red-hair","woman-medium-light-skin-tone-white-hair","woman-medium-skin-tone","woman-medium-skin-tone-bald","woman-medium-skin-tone-beard","woman-medium-skin-tone-blond-hair","woman-medium-skin-tone-curly-hair","woman-medium-skin-tone-red-hair","woman-medium-skin-tone-white-hair","woman-mountain-biking","woman-mountain-biking-dark-skin-tone","woman-mountain-biking-light-skin-tone","woman-mountain-biking-medium-dark-skin-tone","woman-mountain-biking-medium-light-skin-tone","woman-mountain-biking-medium-skin-tone","woman-office-worker","woman-office-worker-dark-skin-tone","woman-office-worker-light-skin-tone","woman-office-worker-medium-dark-skin-tone","woman-office-worker-medium-light-skin-tone","woman-office-worker-medium-skin-tone","woman-pilot","woman-pilot-dark-skin-tone","woman-pilot-light-skin-tone","woman-pilot-medium-dark-skin-tone","woman-pilot-medium-light-skin-tone","woman-pilot-medium-skin-tone","woman-playing-handball","woman-playing-handball-dark-skin-tone","woman-playing-handball-light-skin-tone","woman-playing-handball-medium-dark-skin-tone","woman-playing-handball-medium-light-skin-tone","woman-playing-handball-medium-skin-tone","woman-playing-water-polo","woman-playing-water-polo-dark-skin-tone","woman-playing-water-polo-light-skin-tone","woman-playing-water-polo-medium-dark-skin-tone","woman-playing-water-polo-medium-light-skin-tone","woman-playing-water-polo-medium-skin-tone","woman-police-officer","woman-police-officer-dark-skin-tone","woman-police-officer-light-skin-tone","woman-police-officer-medium-dark-skin-tone","woman-police-officer-medium-light-skin-tone","woman-police-officer-medium-skin-tone","woman-pouting","woman-pouting-dark-skin-tone","woman-pouting-light-skin-tone","woman-pouting-medium-dark-skin-tone","woman-pouting-medium-light-skin-tone","woman-pouting-medium-skin-tone","woman-raising-hand","woman-raising-hand-dark-skin-tone","woman-raising-hand-light-skin-tone","woman-raising-hand-medium-dark-skin-tone","woman-raising-hand-medium-light-skin-tone","woman-raising-hand-medium-skin-tone","woman-red-hair","woman-rowing-boat","woman-rowing-boat-dark-skin-tone","woman-rowing-boat-light-skin-tone","woman-rowing-boat-medium-dark-skin-tone","woman-rowing-boat-medium-light-skin-tone","woman-rowing-boat-medium-skin-tone","woman-running","woman-running-dark-skin-tone","woman-running-light-skin-tone","woman-running-medium-dark-skin-tone","woman-running-medium-light-skin-tone","woman-running-medium-skin-tone","woman-scientist","woman-scientist-dark-skin-tone","woman-scientist-light-skin-tone","woman-scientist-medium-dark-skin-tone","woman-scientist-medium-light-skin-tone","woman-scientist-medium-skin-tone","woman-shrugging","woman-shrugging-dark-skin-tone","woman-shrugging-light-skin-tone","woman-shrugging-medium-dark-skin-tone","woman-shrugging-medium-light-skin-tone","woman-shrugging-medium-skin-tone","woman-singer","woman-singer-dark-skin-tone","woman-singer-light-skin-tone","woman-singer-medium-dark-skin-tone","woman-singer-medium-light-skin-tone","woman-singer-medium-skin-tone","woman-standing","woman-standing-dark-skin-tone","woman-standing-light-skin-tone","woman-standing-medium-dark-skin-tone","woman-standing-medium-light-skin-tone","woman-standing-medium-skin-tone","woman-student","woman-student-dark-skin-tone","woman-student-light-skin-tone","woman-student-medium-dark-skin-tone","woman-student-medium-light-skin-tone","woman-student-medium-skin-tone","woman-superhero","woman-superhero-dark-skin-tone","woman-superhero-light-skin-tone","woman-superhero-medium-dark-skin-tone","woman-superhero-medium-light-skin-tone","woman-superhero-medium-skin-tone","woman-supervillain","woman-supervillain-dark-skin-tone","woman-supervillain-light-skin-tone","woman-supervillain-medium-dark-skin-tone","woman-supervillain-medium-light-skin-tone","woman-supervillain-medium-skin-tone","woman-surfing","woman-surfing-dark-skin-tone","woman-surfing-light-skin-tone","woman-surfing-medium-dark-skin-tone","woman-surfing-medium-light-skin-tone","woman-surfing-medium-skin-tone","woman-swimming","woman-swimming-dark-skin-tone","woman-swimming-light-skin-tone","woman-swimming-medium-dark-skin-tone","woman-swimming-medium-light-skin-tone","woman-swimming-medium-skin-tone","woman-teacher","woman-teacher-dark-skin-tone","woman-teacher-light-skin-tone","woman-teacher-medium-dark-skin-tone","woman-teacher-medium-light-skin-tone","woman-teacher-medium-skin-tone","woman-technologist","woman-technologist-dark-skin-tone","woman-technologist-light-skin-tone","woman-technologist-medium-dark-skin-tone","woman-technologist-medium-light-skin-tone","woman-technologist-medium-skin-tone","woman-tipping-hand","woman-tipping-hand-dark-skin-tone","woman-tipping-hand-light-skin-tone","woman-tipping-hand-medium-dark-skin-tone","woman-tipping-hand-medium-light-skin-tone","woman-tipping-hand-medium-skin-tone","woman-vampire","woman-vampire-dark-skin-tone","woman-vampire-light-skin-tone","woman-vampire-medium-dark-skin-tone","woman-vampire-medium-light-skin-tone","woman-vampire-medium-skin-tone","woman-walking","woman-walking-dark-skin-tone","woman-walking-light-skin-tone","woman-walking-medium-dark-skin-tone","woman-walking-medium-light-skin-tone","woman-walking-medium-skin-tone","woman-wearing-turban","woman-wearing-turban-dark-skin-tone","woman-wearing-turban-light-skin-tone","woman-wearing-turban-medium-dark-skin-tone","woman-wearing-turban-medium-light-skin-tone","woman-wearing-turban-medium-skin-tone","woman-white-hair","woman-with-headscarf","woman-with-headscarf-dark-skin-tone","woman-with-headscarf-light-skin-tone","woman-with-headscarf-medium-dark-skin-tone","woman-with-headscarf-medium-light-skin-tone","woman-with-headscarf-medium-skin-tone","woman-with-veil","woman-with-veil-dark-skin-tone","woman-with-veil-light-skin-tone","woman-with-veil-medium-dark-skin-tone","woman-with-veil-medium-light-skin-tone","woman-with-veil-medium-skin-tone","woman-with-white-cane","woman-with-white-cane-dark-skin-tone","woman-with-white-cane-light-skin-tone","woman-with-white-cane-medium-dark-skin-tone","woman-with-white-cane-medium-light-skin-tone","woman-with-white-cane-medium-skin-tone","woman-zombie","womans-boot","womans-clothes","womans-hat","womans-sandal","women-holding-hands","women-holding-hands-dark-skin-tone","women-holding-hands-dark-skin-tone-light-skin-tone","women-holding-hands-dark-skin-tone-medium-dark-skin-tone","women-holding-hands-dark-skin-tone-medium-light-skin-tone","women-holding-hands-dark-skin-tone-medium-skin-tone","women-holding-hands-light-skin-tone","women-holding-hands-light-skin-tone-dark-skin-tone","women-holding-hands-light-skin-tone-medium-dark-skin-tone","women-holding-hands-light-skin-tone-medium-light-skin-tone","women-holding-hands-light-skin-tone-medium-skin-tone","women-holding-hands-medium-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-dark-skin-tone","women-holding-hands-medium-dark-skin-tone-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-light-skin-tone","women-holding-hands-medium-dark-skin-tone-medium-skin-tone","women-holding-hands-medium-light-skin-tone","women-holding-hands-medium-light-skin-tone-dark-skin-tone","women-holding-hands-medium-light-skin-tone-light-skin-tone","women-holding-hands-medium-light-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-light-skin-tone-medium-skin-tone","women-holding-hands-medium-skin-tone","women-holding-hands-medium-skin-tone-dark-skin-tone","women-holding-hands-medium-skin-tone-light-skin-tone","women-holding-hands-medium-skin-tone-medium-dark-skin-tone","women-holding-hands-medium-skin-tone-medium-light-skin-tone","women-with-bunny-ears","women-wrestling","womens-room","wood","woozy-face","world-map","worm","worried-face","wrapped-gift","wrench","writing-hand","writing-hand-dark-skin-tone","writing-hand-light-skin-tone","writing-hand-medium-dark-skin-tone","writing-hand-medium-light-skin-tone","writing-hand-medium-skin-tone","x-ray","yarn","yawning-face","yellow-circle","yellow-heart","yellow-square","yen-banknote","yin-yang","yo-yo","zany-face","zebra","zipper-mouth-face","zombie","zzz"]},{prefix:"vscode-icons",info:{name:"VSCode Icons",total:1240,version:"12.6.0",author:{name:"Roberto Huertas",url:"https://github.com/vscode-icons/vscode-icons"},license:{title:"MIT",spdx:"MIT",url:"https://github.com/vscode-icons/vscode-icons/blob/master/LICENSE"},samples:["file-type-actionscript2","file-type-json","file-type-manifest"],height:32,displayHeight:16,category:"General",palette:!0},icons:["default-file","default-folder","default-folder-opened","default-root-folder","default-root-folder-opened","file-type-access","file-type-access2","file-type-actionscript","file-type-actionscript2","file-type-ada","file-type-advpl","file-type-affinitydesigner","file-type-affinityphoto","file-type-affinitypublisher","file-type-ai","file-type-ai2","file-type-al","file-type-al-dal","file-type-allcontributors","file-type-angular","file-type-ansible","file-type-antlr","file-type-anyscript","file-type-apache","file-type-apex","file-type-api-extractor","file-type-apib","file-type-apib2","file-type-apl","file-type-applescript","file-type-appscript","file-type-appsemble","file-type-appveyor","file-type-arduino","file-type-asciidoc","file-type-asp","file-type-aspx","file-type-assembly","file-type-astro","file-type-astroconfig","file-type-ats","file-type-audio","file-type-aurelia","file-type-autohotkey","file-type-autoit","file-type-avif","file-type-avro","file-type-awk","file-type-aws","file-type-azure","file-type-azurepipelines","file-type-babel","file-type-babel2","file-type-ballerina","file-type-bat","file-type-bats","file-type-bazaar","file-type-bazel","file-type-bazel-ignore","file-type-bazel-version","file-type-befunge","file-type-bicep","file-type-biml","file-type-binary","file-type-biome","file-type-bitbucketpipeline","file-type-bithound","file-type-blade","file-type-blitzbasic","file-type-bolt","file-type-bosque","file-type-bower","file-type-bower2","file-type-browserslist","file-type-buckbuild","file-type-buf","file-type-bun","file-type-bundler","file-type-bunfig","file-type-c","file-type-c-al","file-type-c2","file-type-c3","file-type-cabal","file-type-caddy","file-type-cake","file-type-cakephp","file-type-capacitor","file-type-cargo","file-type-casc","file-type-cddl","file-type-cert","file-type-ceylon","file-type-cf","file-type-cf2","file-type-cfc","file-type-cfc2","file-type-cfm","file-type-cfm2","file-type-cheader","file-type-chef","file-type-chef-cookbook","file-type-circleci","file-type-class","file-type-clojure","file-type-clojurescript","file-type-cloudfoundry","file-type-cmake","file-type-cobol","file-type-codacy","file-type-codeclimate","file-type-codecov","file-type-codekit","file-type-codeowners","file-type-codeql","file-type-coffeelint","file-type-coffeescript","file-type-commitizen","file-type-commitlint","file-type-compass","file-type-composer","file-type-conan","file-type-conda","file-type-config","file-type-confluence","file-type-coveralls","file-type-cpp","file-type-cpp2","file-type-cpp3","file-type-cppheader","file-type-crowdin","file-type-crystal","file-type-csharp","file-type-csharp2","file-type-cspell","file-type-csproj","file-type-css","file-type-csscomb","file-type-csslint","file-type-cssmap","file-type-cucumber","file-type-cuda","file-type-cvs","file-type-cypress","file-type-cypress-spec","file-type-cython","file-type-dal","file-type-darcs","file-type-dartlang","file-type-dartlang-generated","file-type-dartlang-ignore","file-type-datadog","file-type-db","file-type-delphi","file-type-deno","file-type-denoify","file-type-dependabot","file-type-dependencies","file-type-devcontainer","file-type-dhall","file-type-diff","file-type-django","file-type-dlang","file-type-docker","file-type-docker2","file-type-dockertest","file-type-dockertest2","file-type-docpad","file-type-docz","file-type-dojo","file-type-doppler","file-type-dotenv","file-type-dotjs","file-type-doxygen","file-type-drawio","file-type-drone","file-type-drools","file-type-dustjs","file-type-dvc","file-type-dylan","file-type-earthly","file-type-eas-metadata","file-type-edge","file-type-edge2","file-type-editorconfig","file-type-eex","file-type-ejs","file-type-elastic","file-type-elasticbeanstalk","file-type-eleventy","file-type-eleventy2","file-type-elixir","file-type-elm","file-type-elm2","file-type-emacs","file-type-ember","file-type-ensime","file-type-eps","file-type-erb","file-type-erlang","file-type-erlang2","file-type-esbuild","file-type-eslint","file-type-eslint2","file-type-esphome","file-type-excel","file-type-excel2","file-type-expo","file-type-falcon","file-type-fantasticon","file-type-fauna","file-type-favicon","file-type-fbx","file-type-firebase","file-type-firebasehosting","file-type-firestore","file-type-fitbit","file-type-fla","file-type-flareact","file-type-flash","file-type-floobits","file-type-flow","file-type-flutter","file-type-flutter-package","file-type-font","file-type-formkit","file-type-fortran","file-type-fossa","file-type-fossil","file-type-freemarker","file-type-fsharp","file-type-fsharp2","file-type-fsproj","file-type-fthtml","file-type-funding","file-type-fusebox","file-type-galen","file-type-galen2","file-type-gamemaker","file-type-gamemaker2","file-type-gamemaker81","file-type-gatsby","file-type-gcloud","file-type-gcode","file-type-gdscript","file-type-genstat","file-type-git","file-type-git2","file-type-gitlab","file-type-gitpod","file-type-glide","file-type-glitter","file-type-glsl","file-type-glyphs","file-type-gnu","file-type-gnuplot","file-type-go","file-type-go-aqua","file-type-go-black","file-type-go-fuchsia","file-type-go-gopher","file-type-go-lightblue","file-type-go-package","file-type-go-white","file-type-go-work","file-type-go-yellow","file-type-goctl","file-type-godot","file-type-gradle","file-type-gradle2","file-type-grain","file-type-graphql","file-type-graphql-config","file-type-graphviz","file-type-greenkeeper","file-type-gridsome","file-type-groovy","file-type-groovy2","file-type-grunt","file-type-gulp","file-type-haml","file-type-handlebars","file-type-handlebars2","file-type-harbour","file-type-hardhat","file-type-hashicorp","file-type-haskell","file-type-haskell2","file-type-haxe","file-type-haxecheckstyle","file-type-haxedevelop","file-type-helix","file-type-helm","file-type-hjson","file-type-hlsl","file-type-homeassistant","file-type-horusec","file-type-host","file-type-html","file-type-htmlhint","file-type-http","file-type-hunspell","file-type-husky","file-type-hy","file-type-hygen","file-type-hypr","file-type-icl","file-type-idris","file-type-idrisbin","file-type-idrispkg","file-type-image","file-type-imba","file-type-inc","file-type-infopath","file-type-informix","file-type-ini","file-type-ink","file-type-innosetup","file-type-io","file-type-iodine","file-type-ionic","file-type-jake","file-type-janet","file-type-jar","file-type-jasmine","file-type-java","file-type-jbuilder","file-type-jekyll","file-type-jenkins","file-type-jest","file-type-jest-snapshot","file-type-jinja","file-type-jpm","file-type-js","file-type-js-official","file-type-jsbeautify","file-type-jsconfig","file-type-jscpd","file-type-jshint","file-type-jsmap","file-type-json","file-type-json-official","file-type-json-schema","file-type-json2","file-type-json5","file-type-jsonld","file-type-jsonnet","file-type-jsp","file-type-jss","file-type-julia","file-type-julia2","file-type-jupyter","file-type-k","file-type-karma","file-type-key","file-type-kitchenci","file-type-kite","file-type-kivy","file-type-kos","file-type-kotlin","file-type-kusto","file-type-latino","file-type-layout","file-type-lerna","file-type-less","file-type-lex","file-type-license","file-type-licensebat","file-type-light-actionscript2","file-type-light-ada","file-type-light-apl","file-type-light-babel","file-type-light-babel2","file-type-light-cabal","file-type-light-circleci","file-type-light-cloudfoundry","file-type-light-codacy","file-type-light-codeclimate","file-type-light-codeowners","file-type-light-config","file-type-light-crystal","file-type-light-cypress","file-type-light-cypress-spec","file-type-light-db","file-type-light-deno","file-type-light-dhall","file-type-light-docpad","file-type-light-drone","file-type-light-eas-metadata","file-type-light-eleventy","file-type-light-eleventy2","file-type-light-esphome","file-type-light-expo","file-type-light-firebasehosting","file-type-light-fla","file-type-light-font","file-type-light-gamemaker2","file-type-light-gradle","file-type-light-hashicorp","file-type-light-hjson","file-type-light-ini","file-type-light-io","file-type-light-js","file-type-light-jsconfig","file-type-light-jsmap","file-type-light-json","file-type-light-json-schema","file-type-light-json5","file-type-light-jsonld","file-type-light-kite","file-type-light-lerna","file-type-light-mailing","file-type-light-mdx","file-type-light-mlang","file-type-light-mustache","file-type-light-netlify","file-type-light-next","file-type-light-nim","file-type-light-nx","file-type-light-objidconfig","file-type-light-openhab","file-type-light-pcl","file-type-light-pnpm","file-type-light-prettier","file-type-light-prisma","file-type-light-purescript","file-type-light-quasar","file-type-light-razzle","file-type-light-rehype","file-type-light-remark","file-type-light-replit","file-type-light-retext","file-type-light-rome","file-type-light-rubocop","file-type-light-rust","file-type-light-rust-toolchain","file-type-light-shaderlab","file-type-light-solidity","file-type-light-spin","file-type-light-stylelint","file-type-light-stylus","file-type-light-symfony","file-type-light-systemd","file-type-light-systemverilog","file-type-light-testcafe","file-type-light-testjs","file-type-light-tex","file-type-light-todo","file-type-light-toit","file-type-light-toml","file-type-light-tree","file-type-light-turbo","file-type-light-unibeautify","file-type-light-vash","file-type-light-vercel","file-type-light-vsix","file-type-light-vsixmanifest","file-type-light-xfl","file-type-light-yaml","file-type-light-zeit","file-type-lighthouse","file-type-lilypond","file-type-lime","file-type-lintstagedrc","file-type-liquid","file-type-lisp","file-type-livescript","file-type-lnk","file-type-locale","file-type-log","file-type-lolcode","file-type-lsl","file-type-lua","file-type-luau","file-type-lync","file-type-mailing","file-type-manifest","file-type-manifest-bak","file-type-manifest-skip","file-type-map","file-type-mariadb","file-type-markdown","file-type-markdownlint","file-type-markdownlint-ignore","file-type-marko","file-type-markojs","file-type-master-co","file-type-matlab","file-type-maven","file-type-maxscript","file-type-maya","file-type-mdx","file-type-mediawiki","file-type-mercurial","file-type-mermaid","file-type-meson","file-type-meteor","file-type-mjml","file-type-mlang","file-type-mocha","file-type-modernizr","file-type-mojo","file-type-mojolicious","file-type-moleculer","file-type-mondoo","file-type-mongo","file-type-monotone","file-type-motif","file-type-mson","file-type-mustache","file-type-mysql","file-type-ndst","file-type-nearly","file-type-nest-adapter-js","file-type-nest-adapter-ts","file-type-nest-controller-js","file-type-nest-controller-ts","file-type-nest-decorator-js","file-type-nest-decorator-ts","file-type-nest-filter-js","file-type-nest-filter-ts","file-type-nest-gateway-js","file-type-nest-gateway-ts","file-type-nest-guard-js","file-type-nest-guard-ts","file-type-nest-interceptor-js","file-type-nest-interceptor-ts","file-type-nest-middleware-js","file-type-nest-middleware-ts","file-type-nest-module-js","file-type-nest-module-ts","file-type-nest-pipe-js","file-type-nest-pipe-ts","file-type-nest-service-js","file-type-nest-service-ts","file-type-nestjs","file-type-netlify","file-type-next","file-type-ng-component-css","file-type-ng-component-dart","file-type-ng-component-html","file-type-ng-component-js","file-type-ng-component-js2","file-type-ng-component-less","file-type-ng-component-sass","file-type-ng-component-scss","file-type-ng-component-ts","file-type-ng-component-ts2","file-type-ng-controller-js","file-type-ng-controller-ts","file-type-ng-directive-dart","file-type-ng-directive-js","file-type-ng-directive-js2","file-type-ng-directive-ts","file-type-ng-directive-ts2","file-type-ng-guard-dart","file-type-ng-guard-js","file-type-ng-guard-ts","file-type-ng-interceptor-dart","file-type-ng-interceptor-js","file-type-ng-interceptor-ts","file-type-ng-module-dart","file-type-ng-module-js","file-type-ng-module-js2","file-type-ng-module-ts","file-type-ng-module-ts2","file-type-ng-pipe-dart","file-type-ng-pipe-js","file-type-ng-pipe-js2","file-type-ng-pipe-ts","file-type-ng-pipe-ts2","file-type-ng-routing-dart","file-type-ng-routing-js","file-type-ng-routing-js2","file-type-ng-routing-ts","file-type-ng-routing-ts2","file-type-ng-service-dart","file-type-ng-service-js","file-type-ng-service-js2","file-type-ng-service-ts","file-type-ng-service-ts2","file-type-ng-smart-component-dart","file-type-ng-smart-component-js","file-type-ng-smart-component-js2","file-type-ng-smart-component-ts","file-type-ng-smart-component-ts2","file-type-ng-tailwind","file-type-nginx","file-type-nim","file-type-nimble","file-type-ninja","file-type-nix","file-type-njsproj","file-type-noc","file-type-node","file-type-node2","file-type-nodemon","file-type-npm","file-type-nsi","file-type-nsri","file-type-nsri-integrity","file-type-nuget","file-type-numpy","file-type-nunjucks","file-type-nuxt","file-type-nx","file-type-nyc","file-type-objectivec","file-type-objectivecpp","file-type-objidconfig","file-type-ocaml","file-type-ocaml-intf","file-type-ogone","file-type-onenote","file-type-opencl","file-type-openhab","file-type-openscad","file-type-org","file-type-outlook","file-type-ovpn","file-type-package","file-type-paket","file-type-patch","file-type-pcl","file-type-pddl","file-type-pddl-happenings","file-type-pddl-plan","file-type-pdf2","file-type-peeky","file-type-perl","file-type-perl2","file-type-perl6","file-type-pgsql","file-type-photoshop","file-type-photoshop2","file-type-php","file-type-php2","file-type-php3","file-type-phpcsfixer","file-type-phpstan","file-type-phpunit","file-type-phraseapp","file-type-pine","file-type-pip","file-type-pipeline","file-type-plantuml","file-type-platformio","file-type-playwright","file-type-plsql","file-type-plsql-package","file-type-plsql-package-body","file-type-plsql-package-header","file-type-plsql-package-spec","file-type-pm2","file-type-pnpm","file-type-poedit","file-type-poetry","file-type-polymer","file-type-pony","file-type-postcss","file-type-postcssconfig","file-type-postman","file-type-powerpoint","file-type-powerpoint2","file-type-powershell","file-type-powershell-format","file-type-powershell-psd","file-type-powershell-psd2","file-type-powershell-psm","file-type-powershell-psm2","file-type-powershell-types","file-type-powershell2","file-type-preact","file-type-precommit","file-type-prettier","file-type-prisma","file-type-processinglang","file-type-procfile","file-type-progress","file-type-prolog","file-type-prometheus","file-type-protobuf","file-type-protractor","file-type-publiccode","file-type-publisher","file-type-pug","file-type-pulumi","file-type-puppet","file-type-purescript","file-type-pyret","file-type-python","file-type-pythowo","file-type-pytyped","file-type-pyup","file-type-q","file-type-qbs","file-type-qlikview","file-type-qml","file-type-qmldir","file-type-qsharp","file-type-quasar","file-type-r","file-type-racket","file-type-rails","file-type-rake","file-type-raml","file-type-razor","file-type-razzle","file-type-reactjs","file-type-reacttemplate","file-type-reactts","file-type-reason","file-type-red","file-type-registry","file-type-rego","file-type-rehype","file-type-remark","file-type-renovate","file-type-replit","file-type-rescript","file-type-rest","file-type-retext","file-type-rexx","file-type-riot","file-type-rmd","file-type-robotframework","file-type-robots","file-type-rollup","file-type-rome","file-type-ron","file-type-rproj","file-type-rspec","file-type-rubocop","file-type-ruby","file-type-rust","file-type-rust-toolchain","file-type-sails","file-type-saltstack","file-type-san","file-type-sapphire-framework-cli","file-type-sas","file-type-sass","file-type-sbt","file-type-scala","file-type-scilab","file-type-script","file-type-scss","file-type-scss2","file-type-sdlang","file-type-sentry","file-type-sequelize","file-type-serverless","file-type-shaderlab","file-type-shell","file-type-shuttle","file-type-silverstripe","file-type-sino","file-type-siyuan","file-type-sketch","file-type-skipper","file-type-slang","file-type-slashup","file-type-slice","file-type-slim","file-type-sln","file-type-sln2","file-type-smarty","file-type-snapcraft","file-type-snaplet","file-type-snort","file-type-snyk","file-type-solidarity","file-type-solidity","file-type-source","file-type-spacengine","file-type-sparql","file-type-spin","file-type-sqf","file-type-sql","file-type-sqlite","file-type-squirrel","file-type-sss","file-type-stan","file-type-stata","file-type-stencil","file-type-storyboard","file-type-storybook","file-type-stryker","file-type-stylable","file-type-style","file-type-styled","file-type-stylelint","file-type-stylish-haskell","file-type-stylus","file-type-sublime","file-type-subversion","file-type-svelte","file-type-svelteconfig","file-type-svg","file-type-swagger","file-type-swc","file-type-swift","file-type-swig","file-type-symfony","file-type-systemd","file-type-systemverilog","file-type-t4tt","file-type-tailwind","file-type-tamagui","file-type-taskfile","file-type-tauri","file-type-tcl","file-type-teal","file-type-tera","file-type-terraform","file-type-test","file-type-testcafe","file-type-testjs","file-type-testts","file-type-tex","file-type-text","file-type-textile","file-type-tfs","file-type-tiltfile","file-type-todo","file-type-toit","file-type-toml","file-type-tox","file-type-travis","file-type-tree","file-type-tres","file-type-truffle","file-type-trunk","file-type-tsbuildinfo","file-type-tscn","file-type-tsconfig","file-type-tsconfig-official","file-type-tslint","file-type-tt","file-type-ttcn","file-type-tuc","file-type-turbo","file-type-twig","file-type-typedoc","file-type-typescript","file-type-typescript-official","file-type-typescriptdef","file-type-typescriptdef-official","file-type-typo3","file-type-uiua","file-type-unibeautify","file-type-unison","file-type-unlicense","file-type-unocss","file-type-vagrant","file-type-vala","file-type-vanilla-extract","file-type-vapi","file-type-vapor","file-type-vash","file-type-vb","file-type-vba","file-type-vbhtml","file-type-vbproj","file-type-vcxproj","file-type-velocity","file-type-vercel","file-type-verilog","file-type-vhdl","file-type-video","file-type-view","file-type-vim","file-type-vite","file-type-vitest","file-type-vlang","file-type-volt","file-type-vscode","file-type-vscode-insiders","file-type-vscode-test","file-type-vscode2","file-type-vscode3","file-type-vsix","file-type-vsixmanifest","file-type-vue","file-type-vueconfig","file-type-wallaby","file-type-wally","file-type-wasm","file-type-watchmanconfig","file-type-wdio","file-type-webp","file-type-webpack","file-type-wenyan","file-type-wercker","file-type-wgsl","file-type-wikitext","file-type-windi","file-type-wolfram","file-type-word","file-type-word2","file-type-wpml","file-type-wurst","file-type-wxml","file-type-wxss","file-type-xcode","file-type-xfl","file-type-xib","file-type-xliff","file-type-xmake","file-type-xml","file-type-xquery","file-type-xsl","file-type-yacc","file-type-yaml","file-type-yamllint","file-type-yandex","file-type-yang","file-type-yarn","file-type-yeoman","file-type-zeit","file-type-zig","file-type-zip","file-type-zip2","folder-type-android","folder-type-android-opened","folder-type-api","folder-type-api-opened","folder-type-app","folder-type-app-opened","folder-type-arangodb","folder-type-arangodb-opened","folder-type-asset","folder-type-asset-opened","folder-type-audio","folder-type-audio-opened","folder-type-aurelia","folder-type-aurelia-opened","folder-type-aws","folder-type-aws-opened","folder-type-azure","folder-type-azure-opened","folder-type-azurepipelines","folder-type-azurepipelines-opened","folder-type-binary","folder-type-binary-opened","folder-type-bloc","folder-type-bloc-opened","folder-type-blueprint","folder-type-blueprint-opened","folder-type-bot","folder-type-bot-opened","folder-type-bower","folder-type-bower-opened","folder-type-buildkite","folder-type-buildkite-opened","folder-type-cake","folder-type-cake-opened","folder-type-certificate","folder-type-certificate-opened","folder-type-changesets","folder-type-changesets-opened","folder-type-chef","folder-type-chef-opened","folder-type-circleci","folder-type-circleci-opened","folder-type-cli","folder-type-cli-opened","folder-type-client","folder-type-client-opened","folder-type-cmake","folder-type-cmake-opened","folder-type-common","folder-type-common-opened","folder-type-component","folder-type-component-opened","folder-type-composer","folder-type-composer-opened","folder-type-config","folder-type-config-opened","folder-type-controller","folder-type-controller-opened","folder-type-coverage","folder-type-coverage-opened","folder-type-css","folder-type-css-opened","folder-type-cubit","folder-type-cubit-opened","folder-type-cypress","folder-type-cypress-opened","folder-type-dapr","folder-type-dapr-opened","folder-type-datadog","folder-type-datadog-opened","folder-type-db","folder-type-db-opened","folder-type-debian","folder-type-debian-opened","folder-type-dependabot","folder-type-dependabot-opened","folder-type-devcontainer","folder-type-devcontainer-opened","folder-type-dist","folder-type-dist-opened","folder-type-docker","folder-type-docker-opened","folder-type-docs","folder-type-docs-opened","folder-type-e2e","folder-type-e2e-opened","folder-type-elasticbeanstalk","folder-type-elasticbeanstalk-opened","folder-type-electron","folder-type-electron-opened","folder-type-expo","folder-type-expo-opened","folder-type-favicon","folder-type-favicon-opened","folder-type-flow","folder-type-flow-opened","folder-type-fonts","folder-type-fonts-opened","folder-type-gcp","folder-type-gcp-opened","folder-type-git","folder-type-git-opened","folder-type-github","folder-type-github-opened","folder-type-gitlab","folder-type-gitlab-opened","folder-type-gradle","folder-type-gradle-opened","folder-type-graphql","folder-type-graphql-opened","folder-type-grunt","folder-type-grunt-opened","folder-type-gulp","folder-type-gulp-opened","folder-type-haxelib","folder-type-haxelib-opened","folder-type-helper","folder-type-helper-opened","folder-type-hook","folder-type-hook-opened","folder-type-husky","folder-type-husky-opened","folder-type-idea","folder-type-idea-opened","folder-type-images","folder-type-images-opened","folder-type-include","folder-type-include-opened","folder-type-interfaces","folder-type-interfaces-opened","folder-type-ios","folder-type-ios-opened","folder-type-js","folder-type-js-opened","folder-type-json","folder-type-json-official","folder-type-json-official-opened","folder-type-json-opened","folder-type-kubernetes","folder-type-kubernetes-opened","folder-type-less","folder-type-less-opened","folder-type-library","folder-type-library-opened","folder-type-light-cypress","folder-type-light-cypress-opened","folder-type-light-electron","folder-type-light-electron-opened","folder-type-light-expo","folder-type-light-expo-opened","folder-type-light-fonts","folder-type-light-fonts-opened","folder-type-light-gradle","folder-type-light-gradle-opened","folder-type-light-meteor","folder-type-light-meteor-opened","folder-type-light-mysql","folder-type-light-mysql-opened","folder-type-light-node","folder-type-light-node-opened","folder-type-light-redux","folder-type-light-redux-opened","folder-type-light-sass","folder-type-light-sass-opened","folder-type-linux","folder-type-linux-opened","folder-type-locale","folder-type-locale-opened","folder-type-log","folder-type-log-opened","folder-type-macos","folder-type-macos-opened","folder-type-mariadb","folder-type-mariadb-opened","folder-type-maven","folder-type-maven-opened","folder-type-memcached","folder-type-memcached-opened","folder-type-meteor","folder-type-meteor-opened","folder-type-middleware","folder-type-middleware-opened","folder-type-minikube","folder-type-minikube-opened","folder-type-mjml","folder-type-mjml-opened","folder-type-mock","folder-type-mock-opened","folder-type-model","folder-type-model-opened","folder-type-module","folder-type-module-opened","folder-type-mojo","folder-type-mojo-opened","folder-type-mongodb","folder-type-mongodb-opened","folder-type-mysql","folder-type-mysql-opened","folder-type-next","folder-type-next-opened","folder-type-nginx","folder-type-nginx-opened","folder-type-nix","folder-type-nix-opened","folder-type-node","folder-type-node-opened","folder-type-notebooks","folder-type-notebooks-opened","folder-type-notification","folder-type-notification-opened","folder-type-nuget","folder-type-nuget-opened","folder-type-nuxt","folder-type-nuxt-opened","folder-type-package","folder-type-package-opened","folder-type-paket","folder-type-paket-opened","folder-type-php","folder-type-php-opened","folder-type-platformio","folder-type-platformio-opened","folder-type-plugin","folder-type-plugin-opened","folder-type-prisma","folder-type-prisma-opened","folder-type-private","folder-type-private-opened","folder-type-public","folder-type-public-opened","folder-type-python","folder-type-python-opened","folder-type-ravendb","folder-type-ravendb-opened","folder-type-redis","folder-type-redis-opened","folder-type-redux","folder-type-redux-opened","folder-type-route","folder-type-route-opened","folder-type-sass","folder-type-sass-opened","folder-type-script","folder-type-script-opened","folder-type-server","folder-type-server-opened","folder-type-services","folder-type-services-opened","folder-type-shared","folder-type-shared-opened","folder-type-snaplet","folder-type-snaplet-opened","folder-type-spin","folder-type-spin-opened","folder-type-src","folder-type-src-opened","folder-type-sso","folder-type-sso-opened","folder-type-story","folder-type-story-opened","folder-type-style","folder-type-style-opened","folder-type-svelte","folder-type-svelte-opened","folder-type-tauri","folder-type-tauri-opened","folder-type-temp","folder-type-temp-opened","folder-type-template","folder-type-template-opened","folder-type-test","folder-type-test-opened","folder-type-theme","folder-type-theme-opened","folder-type-tools","folder-type-tools-opened","folder-type-travis","folder-type-travis-opened","folder-type-trunk","folder-type-trunk-opened","folder-type-turbo","folder-type-turbo-opened","folder-type-typescript","folder-type-typescript-opened","folder-type-typings","folder-type-typings-opened","folder-type-typings2","folder-type-typings2-opened","folder-type-vagrant","folder-type-vagrant-opened","folder-type-vercel","folder-type-vercel-opened","folder-type-video","folder-type-video-opened","folder-type-view","folder-type-view-opened","folder-type-vs","folder-type-vs-opened","folder-type-vs2","folder-type-vs2-opened","folder-type-vscode","folder-type-vscode-opened","folder-type-vscode-test","folder-type-vscode-test-opened","folder-type-vscode-test2","folder-type-vscode-test2-opened","folder-type-vscode-test3","folder-type-vscode-test3-opened","folder-type-vscode2","folder-type-vscode2-opened","folder-type-vscode3","folder-type-vscode3-opened","folder-type-webpack","folder-type-webpack-opened","folder-type-windows","folder-type-windows-opened","folder-type-www","folder-type-www-opened","folder-type-yarn","folder-type-yarn-opened"]}];data.sort((xe,$e)=>xe.info.name.localeCompare($e.info.name));const app=createApp(_sfc_main);app.use(Gt$1,{distance:12});app.use(index$1);app.use(pinia);app.use(router);app.use(ui);directive(app);app.mount("#app");export{inject as $,createCommentVNode as A,plus_default as B,refresh_default as C,isRef as D,ElMessage as E,Fragment as F,nextTick as G,axios as H,api as I,question_filled_default as J,ApiUsre as K,useUserStore$1 as L,vShow as M,useRoute as N,useSlots as O,renderSlot as P,normalizeClass as Q,normalizeStyle$1 as R,onUnmounted as S,pushScopeId as T,popScopeId as U,ElInput as V,useAttrs$1 as W,mergeProps as X,Icon$1 as Y,watch as Z,_sfc_main$2v as _,onMounted as a,createApp as a$,onBeforeUnmount as a0,cloneVNode as a1,shallowRef as a2,Teleport as a3,h$5 as a4,__vitePreload as a5,getDefaultExportFromCjs as a6,provide as a7,toRef as a8,isVNode as a9,noop$1 as aA,toValue as aB,isClient as aC,isObject$4 as aD,tryOnScopeDispose as aE,createSingletonPromise as aF,getCurrentInstance as aG,BaseTransition as aH,BaseTransitionPropsValidators as aI,Comment$1 as aJ,DeprecationTypes as aK,EffectScope as aL,ErrorCodes as aM,ErrorTypeStrings as aN,ReactiveEffect as aO,Static as aP,Suspense as aQ,Text$2 as aR,TrackOpTypes as aS,TriggerOpTypes as aT,VueElement as aU,assertNumber as aV,callWithAsyncErrorHandling as aW,callWithErrorHandling as aX,camelize as aY,capitalize$1 as aZ,compatUtils as a_,useKeepAliveStore as aa,useMenuStore as ab,hotkeys as ac,Transition as ad,resolveDynamicComponent as ae,KeepAlive as af,TransitionGroup as ag,onBeforeUpdate as ah,eventBus as ai,resolveRoutePath as aj,he as ak,Ge$1 as al,vModelText as am,Je$1 as an,P$2 as ao,Ye$1 as ap,Se$1 as aq,cloneDeep as ar,index$1 as as,normalizeProps as at,guardReactiveProps as au,mergeModels as av,useModel as aw,Ve as ax,useTimeoutFn as ay,tryOnMounted as az,createVNode$1 as b,transformVNodeArgs as b$,createHydrationRenderer as b0,createPropsRestProxy as b1,createRenderer as b2,createSSRApp as b3,createSlots as b4,createStaticVNode as b5,customRef as b6,defineAsyncComponent as b7,defineCustomElement as b8,defineEmits as b9,onDeactivated as bA,onErrorCaptured as bB,onRenderTracked as bC,onRenderTriggered as bD,onScopeDispose as bE,onServerPrefetch as bF,onUpdated as bG,proxyRefs as bH,queuePostFlushCb as bI,readonly as bJ,registerRuntimeCompiler as bK,render$2 as bL,resolveFilter as bM,resolveTransitionHooks as bN,setBlockTracking as bO,setDevtoolsHook as bP,setTransitionHooks as bQ,shallowReactive as bR,shallowReadonly as bS,ssrContextKey as bT,ssrUtils as bU,stop$1 as bV,toHandlerKey as bW,toHandlers as bX,toRaw as bY,toRefs as bZ,toValue$1 as b_,defineExpose as ba,defineModel as bb,defineOptions as bc,defineProps as bd,defineSSRCustomElement as be,defineSlots as bf,devtools as bg,effect as bh,effectScope as bi,getCurrentScope as bj,getTransitionRawChildren as bk,handleError as bl,hasInjectionContext as bm,hydrate as bn,initCustomFormatter as bo,initDirectivesForSSR as bp,isMemoSame as bq,isProxy as br,isReactive as bs,isReadonly as bt,isRuntimeOnly as bu,isShallow as bv,markRaw as bw,mergeDefaults as bx,onActivated as by,onBeforeMount as bz,createElementBlock as c,triggerRef as c0,useCssModule as c1,useCssVars as c2,useSSRContext as c3,useTransitionState as c4,vModelCheckbox as c5,vModelDynamic as c6,vModelRadio as c7,vModelSelect as c8,version$1 as c9,_sfc_main$2x as cA,E$5 as cB,warn$2 as ca,watchEffect as cb,watchPostEffect as cc,watchSyncEffect as cd,withAsyncContext as ce,withDefaults as cf,withMemo as cg,withScopeId as ch,getAugmentedNamespace as ci,commonjsGlobal as cj,defineStore as ck,u$5 as cl,f$3 as cm,O$2 as cn,o$3 as co,A$4 as cp,T$3 as cq,u$7 as cr,I$4 as cs,o$2 as ct,T$4 as cu,t$7 as cv,i$5 as cw,P$4 as cx,N$7 as cy,globalSettingsDefault as cz,defineComponent as d,createBaseVNode as e,useRouter as f,openBlock as g,createTextVNode as h,unref as i,_sfc_main$2y as j,block0 as k,_export_sfc as l,reactive as m,resolveComponent as n,onBeforeRouteLeave as o,computed as p,resolveDirective as q,ref as r,renderList as s,toDisplayString as t,useSettingsStore as u,withKeys as v,withCtx as w,withModifiers as x,withDirectives as y,createBlock as z}; diff --git a/public/admin/assets/index-CDYu2v-j.js b/public/admin/assets/index-CDYu2v-j.js new file mode 100644 index 0000000..1946b37 --- /dev/null +++ b/public/admin/assets/index-CDYu2v-j.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-Cz7MHHaT.js";import"./index-CAe0BuuW.js";import"./useMainPage-PJO-ub0s.js";export{o as default}; diff --git a/public/admin/assets/index-u0X1sFnG.js b/public/admin/assets/index-CFUZZW6X.js similarity index 99% rename from public/admin/assets/index-u0X1sFnG.js rename to public/admin/assets/index-CFUZZW6X.js index 994a36b..1597c36 100644 --- a/public/admin/assets/index-u0X1sFnG.js +++ b/public/admin/assets/index-CFUZZW6X.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{o as W,p as u,L as T,s as b,t,i as y,j as v,f as k,a as _,b as R,g as Y,q as w,r as U,E as d}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const G=1,X=2,S=3,z=180,j=4,h=181,Z=5,E=182;function x(O){return O>=65&&O<=90||O>=97&&O<=122}const V=new d(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(G,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?S:X,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(z)});function f(O,a,e){return new d(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let l=r.peek(n);if(l!=32&&l!=10)break}let Q="";for(;;n++){let l=r.peek(n);if(!x(l))break;Q+=String.fromCharCode(l)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const F=f("endcomment",E,Z),D=f("endraw",h,j),N={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:312,assign:316,capture:322,endcapture:326,increment:330,decrement:334},C={__proto__:null,if:82,endif:86,elsif:90,else:94,unless:100,endunless:104,case:110,endcase:114,when:118,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},I=R.deserialize({version:14,states:"GYQYOPOOOOOP'#F{'#F{OeOXO'#CdOsQWO'#CfO!bQ`O'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQO'#Cg'#CgO&`QpO,59QO&gQpO'#G^OsQWO'#CsOOQO'#G^'#G^OOOP,59l,59lO)PQWO,59lOsQWO,59pOsQWO,59tO)WQWO,59vOsQWO,59yOsQWO,5:OOsQWO,5:SO!]QWO,5:WO!]QWO,5:`O)]QWO,5:dO)bQWO,5:fO)gQWO,5:hO)lQWO,5:kO)qQWO,5:qOsQWO,5:vOsQWO,5:xOsQWO,5;OOsQWO,5;QOsQWO,5;TOsQWO,5;XOsQWO,5;ZO+QQWO,5;]O+XOPO'#CdOOOP,59o,59oO#{OPO,59oO+gQ`O'#DWOOOP,59x,59xO$ZOPO,59xO+lQ`O'#DaOOOP,59},59}O$iOPO,59}O+qQ`O'#DfOOOP,5:V,5:VO$wOPO,5:VO+vQ`O'#DqOOOP,5:_,5:_O%VOPO,5:_O+{Q`O'#DvOOOS'#GQ'#GQO,QOSO'#ERO,YOSO,5:jOOOQ'#GR'#GRO,_OQO'#EXO,gOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,lQ`O'#EkOOOP-E9x-E9xO,qQ!bO,59SOsQWO,59VOsQWO,59VO,vQWO'#C|OOQO'#F|'#F|O,{QWO1G.lOOOP1G.l1G.lOsQWO,59VOsQWO,59ZO-TQpO,59_O-fQpO1G/WOOOP1G/W1G/WO-wQpO1G/[O.YQpO1G/`OOOP1G/b1G/bO.kQpO1G/eO.|QpO1G/jO/pQpO1G/nO/wQWO1G/rO/|QWO1G/zOOOP1G0O1G0OOOOP1G0Q1G0QO0RQWO1G0SOOOS1G0V1G0VOOOQ1G0]1G0]O0^QpO1G0bO0eQpO1G0dO1PQpO1G0jO1bQpO1G0lO1sQpO1G0oO2UQpO1G0sO2gQpO1G0uO2xQWO'#EsO3PQWO'#ExO3WQWO'#FRO3_QWO'#FYO3fQWO'#F^O3mQWO'#FqOOQO'#Ga'#GaOOQO'#GT'#GTO3tQWO1G0wOsQWO'#EtOsQWO'#EyOsQWO'#E}OOQO'#FP'#FPOsQWO'#FSOsQWO'#FWO!]QWO'#FZO!]QWO'#F_OOQO'#Fc'#FcOOQO'#Fe'#FeO3{QWO'#FfOsQWO'#FhOsQWO'#FjOsQWO'#FmOsQWO'#FoOsQWO'#FrOsQWO'#FvOsQWO'#FxOOOP1G0w1G0wOOOP1G/Z1G/ZO4QQWO,59rOOOP1G/d1G/dO4VQWO,59{OOOP1G/i1G/iO4[QWO,5:QOOOP1G/q1G/qO4aQWO,5:]OOOP1G/y1G/yO4fQWO,5:bOOOS-E:O-E:OOOOP1G0U1G0UO4kQ`O'#ESOOOQ-E:P-E:POOOP1G0[1G0[O4pQ`O'#EYOOOP1G0n1G0nO4uQWO,5;VOOQO1G.n1G.nOOQO1G.q1G.qO7ZQpO1G.qOOQO'#DO'#DOO7eQWO,59hOOQO-E9z-E9zOOOP7+$W7+$WO9_QpO1G.qO9iQpO1G.uOsQWO1G.yOOOP7+$r7+$rOOOP7+$v7+$vOOOP7+$z7+$zOOOP7+%P7+%POOOP7+%U7+%UOsQWO'#F}OkQpO,5;eO@UQpO,5;iOBRQpO,5;nOClQpO,5;rOE_QWO,5;uOEdQWO,5;yOEiQWO,5dOOOPAN>dAN>dO!5aQWOAN>lOOOPAN>lAN>lO!5iQWOAN>tOOOPAN>tAN>tOsQWO1G0fO!]QWO1G0fO!5qQpO7+&{O!7QQpO7+'PO!8aQWO7+'WO!:TQWO,5N[O]||-1},{term:37,get:O=>C[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),P=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),q=o("empty forloop tablerowloop in with as contains","keyword"),L=o("first index index0 last length rindex","property"),A=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function B(O){var a;let{state:e,pos:r}=O,$=Y(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function M(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:L;if(i.name=="tablerowloop")return $.length?[]:A;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function H(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(P):P,r=O.variables?O.variables.concat(q):q,{properties:$}=O;return i=>{var n;let Q=B(i);if(!Q)return null;let l=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,s;return Q.type=="filter"?s=a:Q.type=="tag"?s=e:Q.type=="expression"?s=r:s=M(i.state,Q.target,i,$),s.length?{options:s,from:l,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const K=W.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:u.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const J=T.define({name:"liquid",parser:I.configure({props:[b({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),y.add({Tag:v({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),k.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),p=w();function g(O){return J.configure({wrap:U(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const OO=g(p.language);function rO(O={}){let a=O.base||p,e=a.language==p.language?OO:g(a.language);return new _(e,[a.support,e.data.of({autocomplete:H(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),K])}export{K as closePercentBrace,rO as liquid,H as liquidCompletionSource,OO as liquidLanguage}; +import{o as W,p as u,L as T,s as b,t,i as y,j as v,f as k,a as _,b as R,g as Y,q as w,r as U,E as d}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 G=1,X=2,S=3,z=180,j=4,h=181,Z=5,E=182;function x(O){return O>=65&&O<=90||O>=97&&O<=122}const V=new d(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(G,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?S:X,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(z)});function f(O,a,e){return new d(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let l=r.peek(n);if(l!=32&&l!=10)break}let Q="";for(;;n++){let l=r.peek(n);if(!x(l))break;Q+=String.fromCharCode(l)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const F=f("endcomment",E,Z),D=f("endraw",h,j),N={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:312,assign:316,capture:322,endcapture:326,increment:330,decrement:334},C={__proto__:null,if:82,endif:86,elsif:90,else:94,unless:100,endunless:104,case:110,endcase:114,when:118,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},I=R.deserialize({version:14,states:"GYQYOPOOOOOP'#F{'#F{OeOXO'#CdOsQWO'#CfO!bQ`O'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQO'#Cg'#CgO&`QpO,59QO&gQpO'#G^OsQWO'#CsOOQO'#G^'#G^OOOP,59l,59lO)PQWO,59lOsQWO,59pOsQWO,59tO)WQWO,59vOsQWO,59yOsQWO,5:OOsQWO,5:SO!]QWO,5:WO!]QWO,5:`O)]QWO,5:dO)bQWO,5:fO)gQWO,5:hO)lQWO,5:kO)qQWO,5:qOsQWO,5:vOsQWO,5:xOsQWO,5;OOsQWO,5;QOsQWO,5;TOsQWO,5;XOsQWO,5;ZO+QQWO,5;]O+XOPO'#CdOOOP,59o,59oO#{OPO,59oO+gQ`O'#DWOOOP,59x,59xO$ZOPO,59xO+lQ`O'#DaOOOP,59},59}O$iOPO,59}O+qQ`O'#DfOOOP,5:V,5:VO$wOPO,5:VO+vQ`O'#DqOOOP,5:_,5:_O%VOPO,5:_O+{Q`O'#DvOOOS'#GQ'#GQO,QOSO'#ERO,YOSO,5:jOOOQ'#GR'#GRO,_OQO'#EXO,gOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,lQ`O'#EkOOOP-E9x-E9xO,qQ!bO,59SOsQWO,59VOsQWO,59VO,vQWO'#C|OOQO'#F|'#F|O,{QWO1G.lOOOP1G.l1G.lOsQWO,59VOsQWO,59ZO-TQpO,59_O-fQpO1G/WOOOP1G/W1G/WO-wQpO1G/[O.YQpO1G/`OOOP1G/b1G/bO.kQpO1G/eO.|QpO1G/jO/pQpO1G/nO/wQWO1G/rO/|QWO1G/zOOOP1G0O1G0OOOOP1G0Q1G0QO0RQWO1G0SOOOS1G0V1G0VOOOQ1G0]1G0]O0^QpO1G0bO0eQpO1G0dO1PQpO1G0jO1bQpO1G0lO1sQpO1G0oO2UQpO1G0sO2gQpO1G0uO2xQWO'#EsO3PQWO'#ExO3WQWO'#FRO3_QWO'#FYO3fQWO'#F^O3mQWO'#FqOOQO'#Ga'#GaOOQO'#GT'#GTO3tQWO1G0wOsQWO'#EtOsQWO'#EyOsQWO'#E}OOQO'#FP'#FPOsQWO'#FSOsQWO'#FWO!]QWO'#FZO!]QWO'#F_OOQO'#Fc'#FcOOQO'#Fe'#FeO3{QWO'#FfOsQWO'#FhOsQWO'#FjOsQWO'#FmOsQWO'#FoOsQWO'#FrOsQWO'#FvOsQWO'#FxOOOP1G0w1G0wOOOP1G/Z1G/ZO4QQWO,59rOOOP1G/d1G/dO4VQWO,59{OOOP1G/i1G/iO4[QWO,5:QOOOP1G/q1G/qO4aQWO,5:]OOOP1G/y1G/yO4fQWO,5:bOOOS-E:O-E:OOOOP1G0U1G0UO4kQ`O'#ESOOOQ-E:P-E:POOOP1G0[1G0[O4pQ`O'#EYOOOP1G0n1G0nO4uQWO,5;VOOQO1G.n1G.nOOQO1G.q1G.qO7ZQpO1G.qOOQO'#DO'#DOO7eQWO,59hOOQO-E9z-E9zOOOP7+$W7+$WO9_QpO1G.qO9iQpO1G.uOsQWO1G.yOOOP7+$r7+$rOOOP7+$v7+$vOOOP7+$z7+$zOOOP7+%P7+%POOOP7+%U7+%UOsQWO'#F}OkQpO,5;eO@UQpO,5;iOBRQpO,5;nOClQpO,5;rOE_QWO,5;uOEdQWO,5;yOEiQWO,5dOOOPAN>dAN>dO!5aQWOAN>lOOOPAN>lAN>lO!5iQWOAN>tOOOPAN>tAN>tOsQWO1G0fO!]QWO1G0fO!5qQpO7+&{O!7QQpO7+'PO!8aQWO7+'WO!:TQWO,5N[O]||-1},{term:37,get:O=>C[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),P=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),q=o("empty forloop tablerowloop in with as contains","keyword"),L=o("first index index0 last length rindex","property"),A=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function B(O){var a;let{state:e,pos:r}=O,$=Y(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function M(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:L;if(i.name=="tablerowloop")return $.length?[]:A;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function H(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(P):P,r=O.variables?O.variables.concat(q):q,{properties:$}=O;return i=>{var n;let Q=B(i);if(!Q)return null;let l=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,s;return Q.type=="filter"?s=a:Q.type=="tag"?s=e:Q.type=="expression"?s=r:s=M(i.state,Q.target,i,$),s.length?{options:s,from:l,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const K=W.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:u.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const J=T.define({name:"liquid",parser:I.configure({props:[b({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),y.add({Tag:v({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),k.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),p=w();function g(O){return J.configure({wrap:U(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const OO=g(p.language);function rO(O={}){let a=O.base||p,e=a.language==p.language?OO:g(a.language);return new _(e,[a.support,e.data.of({autocomplete:H(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),K])}export{K as closePercentBrace,rO as liquid,H as liquidCompletionSource,OO as liquidLanguage}; diff --git a/public/admin/assets/index-BWYvmMiq.js b/public/admin/assets/index-CTCDuFn2.js similarity index 99% rename from public/admin/assets/index-BWYvmMiq.js rename to public/admin/assets/index-CTCDuFn2.js index 17a7477..a10f5c4 100644 --- a/public/admin/assets/index-BWYvmMiq.js +++ b/public/admin/assets/index-CTCDuFn2.js @@ -5,6 +5,6 @@ * https://fantastic-admin.github.io */ -import{E as P,C as G,s as k,t as i,b as E,g as _,d as U,L as z,i as j,j as $,f as A,k as F,a as I,I as N,e as C,N as D,m 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 L=1,m=206,y=207,H=208,c=209,J=210,B=211,M=212,K=2,OO=213,rO=214,oO=3,aO=215,iO=216,eO=4,QO=217,xO=218,SO=5,sO=219,TO=26,tO=27,nO=51,PO=52,lO=57,pO=58,$O=59,qO=61,XO=62,wO=63,dO=64,YO=65,cO=67,ZO=256,fO=74,bO=275,vO=120,mO=138,yO=159,RO=160,uO=163,T=10,t=13,d=32,l=9,Y=35,WO=40,VO=46,Z=123,R=39,u=34,gO=92,hO=new Set([tO,nO,PO,bO,cO,mO,pO,$O,ZO,dO,YO,fO,XO,wO,yO,RO,uO,vO]);function q(O){return O==T||O==t}const GO=new P((O,r)=>{let o;if(O.next<0)O.acceptToken(B);else if(r.context.depth<0)q(O.next)&&O.acceptToken(J,1);else if(((o=O.peek(-1))<0||q(o))&&r.canShift(c)){let a=0;for(;O.next==d||O.next==l;)O.advance(),a++;(O.next==T||O.next==t||O.next==Y)&&O.acceptToken(c,-a)}else q(O.next)&&O.acceptToken(H,1)},{contextual:!0}),kO=new P((O,r)=>{let o=r.context.depth;if(o<0)return;let a=O.peek(-1);if(a==T||a==t){let e=0,Q=0;for(;;){if(O.next==d)e++;else if(O.next==l)e+=8-e%8;else break;O.advance(),Q++}e!=o&&O.next!=T&&O.next!=t&&O.next!=Y&&(e{for(let r=0;r<5;r++){if(O.next!="print".charCodeAt(r))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let o=O.peek(r);if(!(o==d||o==l)){o!=WO&&o!=VO&&o!=T&&o!=t&&o!=Y&&O.acceptToken(L);return}}});function p(O,r,o,a,e){return new P(Q=>{let x=Q.pos;for(;!(Q.next<0);)if(Q.next==Z)if(Q.peek(1)==Z)Q.advance(2);else{if(Q.pos==x){Q.acceptToken(a,1);return}break}else if(Q.next==gO)Q.advance(),Q.next>=0&&Q.advance();else if(Q.next==O&&(r==1||Q.peek(1)==O&&Q.peek(2)==O)){if(Q.pos==x){Q.acceptToken(e,r);return}break}else Q.advance();Q.pos>x&&Q.acceptToken(o)})}const jO=p(R,1,M,K,OO),AO=p(u,1,rO,oO,aO),FO=p(R,3,iO,eO,QO),IO=p(u,3,xO,SO,sO),NO=k({'async "*" "**" FormatConversion FormatSpec':i.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":i.controlKeyword,"in not and or is del":i.operatorKeyword,"from def class global nonlocal lambda":i.definitionKeyword,import:i.moduleKeyword,"with as print":i.keyword,Boolean:i.bool,None:i.null,VariableName:i.variableName,"CallExpression/VariableName":i.function(i.variableName),"FunctionDefinition/VariableName":i.function(i.definition(i.variableName)),"ClassDefinition/VariableName":i.definition(i.className),PropertyName:i.propertyName,"CallExpression/MemberExpression/PropertyName":i.function(i.propertyName),Comment:i.lineComment,Number:i.number,String:i.string,FormatString:i.special(i.string),UpdateOp:i.updateOperator,"ArithOp!":i.arithmeticOperator,BitOp:i.bitwiseOperator,CompareOp:i.compareOperator,AssignOp:i.definitionOperator,Ellipsis:i.punctuation,At:i.meta,"( )":i.paren,"[ ]":i.squareBracket,"{ }":i.brace,".":i.derefOperator,", ;":i.separator}),CO={__proto__:null,await:48,or:58,and:60,in:64,not:66,is:68,if:74,else:76,lambda:80,yield:98,from:100,async:106,for:108,None:178,True:180,False:180,del:194,pass:198,break:202,continue:206,return:210,raise:218,import:222,as:224,global:228,nonlocal:230,assert:234,type:239,elif:252,while:256,try:262,except:264,finally:266,with:270,def:274,class:284,match:295,case:301},DO=E.deserialize({version:14,states:"#)WO`Q#yOOP$bOSOOO%kQ&nO'#HhOOQS'#Cq'#CqOOQS'#Cr'#CrO'ZQ#xO'#CpO(|Q&nO'#HgOOQS'#Hh'#HhOOQS'#DW'#DWOOQS'#Hg'#HgO)jQ#xO'#DaO)}Q#xO'#DhO*_Q#xO'#DlOOQS'#Dw'#DwO*rO,UO'#DwO*zO7[O'#DwO+SOWO'#DxO+_O`O'#DxO+jOpO'#DxO+uO!bO'#DxO-wQ&nO'#HXOOQS'#HX'#HXO'ZQ#xO'#HWO/ZQ&nO'#HWOOQS'#Ej'#EjO/rQ#xO'#EkOOQS'#HV'#HVO/|Q#xO'#HUOOQV'#HU'#HUO0XQ#xO'#FbOOQS'#Gj'#GjO0^Q#xO'#FaOOQV'#I_'#I_OOQV'#HT'#HTOOQV'#Fy'#FyQ`Q#yOOO'ZQ#xO'#CsO0lQ#xO'#DPO0sQ#xO'#DTO1RQ#xO'#HlO1cQ&nO'#E_O'ZQ#xO'#E`OOQS'#Eb'#EbOOQS'#Ed'#EdOOQS'#Ef'#EfO1wQ#xO'#EhO2_Q#xO'#ElO0XQ#xO'#EnO2rQ&nO'#EnO0XQ#xO'#EqO/rQ#xO'#EtO0XQ#xO'#EvO/rQ#xO'#E|O/rQ#xO'#FPO2}Q#xO'#FRO3UQ#xO'#FWO3aQ#xO'#FSO/rQ#xO'#FWO0XQ#xO'#FYO0XQ#xO'#F_O3fQ#xO'#FdP3mO#xO'#HSPOOO)CBv)CBvOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Ck'#CkOOQS'#Cl'#ClOOQS'#Cn'#CnO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO3xQ#xO'#DqOOQS,5:[,5:[O4]Q#xO'#HvOOQS,5:_,5:_O4jQMlO,5:_O4oQ&nO,59[O0lQ#xO,59dO0lQ#xO,59dO0lQ#xO,59dO7_Q#xO,59dO7dQ#xO,59dO7kQ#xO,59lO7rQ#xO'#HgO8xQ#xO'#HfOOQS'#Hf'#HfOOQS'#D^'#D^O9aQ#xO,59cO'ZQ#xO,59cO9oQ#xO,59cOOQS,59{,59{O9tQ#xO,5:TO'ZQ#xO,5:TOOQS,5:S,5:SO:SQ#xO,5:SO:XQ#xO,5:ZO'ZQ#xO,5:ZO'ZQ#xO,5:XOOQS,5:W,5:WO:jQ#xO,5:WO:oQ#xO,5:YOOOO'#GR'#GRO:tO,UO,5:cOOQS,5:c,5:cOOOO'#GS'#GSO:|O7[O,5:cO;UQ#xO'#DyOOOW'#GT'#GTO;fOWO,5:dOOQS,5:d,5:dO;UQ#xO'#EPOOO`'#GW'#GWO;qO`O,5:dO;UQ#xO'#EROOOp'#GX'#GXO;|OpO,5:dO;UQ#xO'#ETOOO!b'#GY'#GYOWOOQS,5>W,5>WO/rQ#xO'#EZOOQS'#E['#E[OGZQ#xO'#G]OGkQ#xO,59OOGkQ#xO,59OO)pQ#xO,5:wOGyQ&nO'#HoOOQS,5:z,5:zOOQS,5;S,5;SOH^Q#xO,5;WOHoQ#xO,5;YOOQS'#G`'#G`OH}Q&nO,5;YOI]Q#xO,5;YOIbQ#xO'#I]OOQS,5;],5;]OIpQ#xO'#IXOOQS,5;`,5;`OJRQ#xO,5;bO3aQ#xO,5;hO3aQ#xO,5;kOJZQ&nO'#I`O'ZQ#xO'#I`OJeQ#xO,5;mO2}Q#xO,5;mO/rQ#xO,5;rO0XQ#xO,5;tOJjQ#yO'#E}OKvQ#{O,5;nO! [Q#xO'#IaO3aQ#xO,5;rO! gQ#xO,5;tO! oQ#xO,5;yO! zQ&nO,5bOOQS'#Du'#DuOOQS1G/y1G/yOOQS1G/O1G/OO!-uQ&nO1G/OO!-|Q&nO1G/OO0lQ#xO1G/OO!.iQ#xO1G/WOOQS'#D]'#D]O/rQ#xO,59vOOQS1G.}1G.}O!.pQ#xO1G/gO!/QQ#xO1G/gO!/YQ#xO1G/hO'ZQ#xO'#HnO!/_Q#xO'#HnO!/dQ&nO1G.}O!/tQ#xO,59kO!0zQ#xO,5>^O!1[Q#xO,5>^O!1dQ#xO1G/oO!1iQ&nO1G/oOOQS1G/n1G/nO!1yQ#xO,5>XO!2pQ#xO,5>XO/rQ#xO1G/sO!3_Q#xO1G/uO!3dQ&nO1G/uO!3tQ&nO1G/sOOQS1G/r1G/rOOQS1G/t1G/tOOOO-E:P-E:POOQS1G/}1G/}OOOO-E:Q-E:QO!4UQ#xO'#IRO/rQ#xO'#IRO!4gQ#xO,5:eOOOW-E:R-E:ROOQS1G0O1G0OO!4uQ#xO,5:kOOO`-E:U-E:UO!5TQ#xO,5:mOOOp-E:V-E:VO!5cQ#xO,5:oOOO!b-E:W-E:WOOQS-E:X-E:XO!5qQ!LUO1G3^O!6bQ&nO1G3^O'ZQ#xO,5tOOQS1G1h1G1hO!7bQ#xO1G1hOOQS'#DX'#DXO/rQ#xO,5>TOOQS,5>T,5>TO!7gQ#xO'#FzO!7rQ#xO,59qO!7zQ#xO1G/ZO!8UQ&nO,5>XOOQS1G3r1G3rOOQS,5:u,5:uO!8uQ#xO'#HWOOQS,5ZO!9vQ#xO,5>ZO/rQ#xO1G0rO/rQ#xO1G0rO0XQ#xO1G0tOOQS-E:^-E:^O!:XQ#xO1G0tO!:dQ#xO1G0tO!:iQ#xO,5>wO!:wQ#xO,5>wO!;VQ#xO,5>sO!;mQ#xO,5>sO!zO!CZQ#xO,5>zO!CcQ&nO,5>zO/rQ#xO1G1XO!CmQ#xO1G1XO3aQ#xO1G1^O! gQ#xO1G1`OOQV,5;i,5;iO!CrQ#zO,5;iO!CwQ#{O1G1YO!G]Q#xO'#GgO3aQ#xO1G1YO3aQ#xO1G1YO!GmQ#xO,5>{O!GzQ#xO,5>{O0XQ#xO,5>{OOQV1G1^1G1^O!HSQ#xO'#F[O!HeQMlO1G1`O!HmQ#xO1G1`OOQV1G1e1G1eO3aQ#xO1G1eO!HrQ#xO1G1eO!HzQ#xO'#FfOOQV1G1j1G1jO! zQ&nO1G1jPOOO1G3Y1G3YP!IPOSO1G3YOOQS,5>a,5>aOOQS'#Dr'#DrO/rQ#xO,5>aO!IUQ#xO,5>`O!IiQ#xO,5>`OOQS1G/w1G/wO!IqQ#xO,5>cO!JRQ#xO,5>cO!JZQ#xO,5>cO!JnQ#xO,5>cO!KOQ#xO,5>cOOQS1G3|1G3|OOQS7+$j7+$jO!7zQ#xO7+$rO!LqQ#xO1G/OO!LxQ#xO1G/OOOQS1G/b1G/bOOQS,5YO'ZQ#xO,5>YOOQS7+$i7+$iO!MfQ#xO7+%RO!MnQ#xO7+%SO!MsQ#xO1G3xOOQS7+%Z7+%ZO!NTQ#xO1G3xO!N]Q#xO7+%ZOOQS,5mO##cQ#xO,5>mO##cQ#xO,5>mOOQS'#Dz'#DzO##tO$ISO'#D|O#$PO#tO'#ISOOOW1G0P1G0PO#$UQ#xO1G0PO#$^Q#xO1G0POOQS'#EQ'#EQOOO`1G0V1G0VO#$iQ#xO1G0VO#$qQ#xO1G0VOOQS'#ES'#ESOOOp1G0X1G0XO#$|Q#xO1G0XO#%UQ#xO1G0XOOQS'#EU'#EUOOO!b1G0Z1G0ZO#%aQ#xO1G0ZO#%iQ#xO1G0ZO#%tQ!LUO7+(xO#&eQ&nO1G2bP#'OQ#xO'#G[OOQS,5n,5>nOOOW7+%k7+%kO#;yQ#xO7+%kOOO`7+%q7+%qO#vO#=xQ#xO,5>vO0XQ#xO,5>vO#>ZQ#xO,5>uOOQS<`Q#xO,5>xO#>nQ#xO,5>xOOQS1G1O1G1OOOQS<vQ&nO1G2lP#?QQ#xO'#GfO#?XQ#xO7+*QO#?cQ#{O<}O#F{Q#xO,5>}OOQS,5>},5>}O#GWQ#xO,5>|O#GiQ#xO,5>|OOQS1G1b1G1bOOQS,5;x,5;xOOQV<XAN>XO#JxQ#xO<eAN>eO/rQ#xO1G2UO#KYQ&nO1G2UP#KdQ#xO'#GOOOQS1G2[1G2[P#KqQ#xO'#GUO#LOQ#xO7+)sO#LiQ#xO,5:iOOOO-E:T-E:TOOOW<[OOQSANBfANBfOOOO7+%o7+%oO$.WQ#xO7+%oOOQS7+(R7+(RO$.`Q#xO<kPP>n?`?cPP'f'fPP?{PP'f'fPP'f'f'f'f'f@P@y'fP@|PASE^H}IRPIUIlIpIsIwIzJOJRJV'fPPPJYJc'^P'^'^P'^P'^P'^P'^P'^'^'^P'^PP'^PP'^P'^PJiJuJ}PKUK[PKUPKUKUPPPKUPMjPMsM}NTMjPKUN^PKUPNeNkPNo! T! r!!]NoNo!!c!!pNoNoNoNo!#U!#[!#_!#d!#g!#q!#w!$T!$g!$m!$w!$}!%k!%q!%w!%}!&X!&_!&e!&k!&q!&w!'Z!'e!'k!'q!'w!(R!(X!(_!(e!(k!(u!({!)V!)]!)f!)l!){!*T!*_!*fPPPPPPPPPPPPPPPPP!*l!*o!*u!+O!+Y!+ePPPPPPPPPPPP!0[!1p!5s!9WPP!9`!9r!9{!:t!:k!:}!;T!;W!;Z!;^!;f!V!>]!>f!>i!>l!>r!>x!?O!?RP!?Z!?d!@`!@c]jOs#v$w*`,p(TeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o}!hQ#r$P$b$q$}%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!P!iQ#r$P$b$q$}%S%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!R!jQ#r$P$b$q$}%S%T%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!T!kQ#r$P$b$q$}%S%T%U%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!V!lQ#r$P$b$q$}%S%T%U%V%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!X!mQ#r$P$b$q$}%S%T%U%V%W%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!]!mQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d(TTOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o&iVOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1o%sXOYZ[isw}!O!S!U!V!Z!n!p#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$VvQ0X/fR1l1n'zeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oW#ym!P!Q$hW$Rv&q/f1nQ$j!RQ$n!TQ${![Q$|!]W%Z!n(O+O-WS&p$S$TQ'e$vQ)b&jQ)p'QU)q'S)r)sU)t'U)u,ZW){'Y,^-z.vQ*l'nW*m'p-P._/OQ,])zS-O*n*oY-t,U-u.s.t/lQ-w,WQ.U,tQ.Y,wQ.|.Wl/R.c/X/Y/[/w/y0O0g0l0q0v1R1W1ZQ/k.rQ0P/ZQ0^/qQ0i/{U0|0r1P1XX1S0w1T1[1]R&o$R!_!|YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WR%k!{Q#QYQ&W#cQ&Z#gQ&]#jQ&_#mQ&x$^Q&{$aR-l+tT/e.j0p![!oQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dQ&m#zQ't$|R*x'uR'}%ZQ%d!rR0[/o(SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oS#pd#q!P/V.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1](SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oT#pd#qT#d`#eR)Q&Wy(}&W&Z&]&_)P)Q)T)U)X)Y)])^+y+{+},P-l.p.q/jT+u(|+vR.q-lT#ha#iR)U&ZT#kb#lR)Y&]T#nc#oR)^&_Q$`xQ,]){R,}*mX$^x$_$`&zQ'[$nQ'r${Q'u$|R*_'eQ)|'YV-y,^-z.vZlOs$w*`,pXpOs*`,pQ$x!YQ']$oQ'^$pQ'o$zQ's$|Q*]'dQ*d'iQ*g'jQ*h'kQ*u'qS*w't'uQ,d*RQ,f*SQ,g*TQ,k*ZS,m*^*vQ,q*bQ,r*cS,s*e*fQ-T*xQ-|,cQ-},eQ.P,lS.Q,n,oQ.V,uQ.X,vQ.w.OQ.y.RQ.z.TQ.{.UQ/m.xQ/n.|Q0T/_R0o0UWpOs*`,pR#|oQ'q${S*^'e'rR,o*_Q,|*mR.],}Q*v'qQ,n*^R.R,oZnOos*`,pQ'w$}R*z'xT.a-U.bu/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1Zt/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZQ0P/ZX1S0w1T1[1]!P/U.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1]Q/t/TR0c/ug/w/W/x0_0f0k0y0{0}1Y1^1_u/].c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZX/r/R/]0^0|R0`/qV1O0r1P1XR0U/_QsOS$Os,pR,p*`Q&r$UR)g&rS%z#W$WS(p%z(sT(s%}&tQ%n#OQ%u#SW(b%n%u(g(kQ(g%rR(k%wQ&}$bR)m&}Q(v&OQ+g(qT+m(v+gQ(P%]R+P(PS(S%`%aY+T(S+U-^.h/cU+U(T(U(VU-^+V+W+XS.h-_-`R/c.iQ#_^R&R#_Q#b_R&T#bQ#e`R&X#eQ(y&US+r(y+sR+s(zQ+v(|R-m+vQ#iaR&[#iQ#lbR&^#lQ#ocR&`#oQ#qdR&a#qQ#tgQ&c#rW&f#t&c)j,RQ)j&wR,R1dQ$_xS&y$_&zR&z$`Q'X$lR)y'XQ&k#yR)c&kQ$h!QR'R$hQ,V)qS-v,V.uR.u-wQ'V$jR)v'VQ,_)|R-{,_Q#wkR&h#wQ*Q']R,b*QQ'`$qS*X'`*YR*Y'aQ'h$xR*a'hQ'm$yS*k'm,zR,z*lQ-Q*qR.`-QWoOs*`,pR#{oQ.b-UR/P.bd/x/W0_0f0k0y0{0}1Y1^1_R0e/xU/p/R0^0|R0]/pQ0x0kS1U0x1VR1V0yS0s0_0`R1Q0sQ/z/WR0h/zR!`PXrOs*`,pWqOs*`,pR'f$wYkOs$w*`,pR&g#v[xOs#v$w*`,pR&x$^&hQOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1oQ!sTQ#rfQ$PtU$by%p(eS$q!W$tQ$}!^Q%S!hQ%T!iQ%U!jQ%V!kQ%W!lQ%X!mQ%r#PQ%w#TQ%}#XQ&O#YQ&t$XQ'a$rQ'x%OQ)`&dU)k&|)l,SW*U'_*W,i,jQ+Z(_Q+d(nQ,h*VQ-g+lQ0n0SR1d1iQ#OYQ#SZQ$o!UQ$p!VQ%`!pQ(V%a^(^%m%t(a(i+]+`+b^+Q(R+S-[-].g/b0WQ+W(TQ+X(UQ,e*RQ-Z+RQ-_+VQ.e-XQ.f-YQ.i-`Q/`.dR0V/a[gOs#v$w*`,p!^!{YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WQ#W[Q#uiS$Ww}Q$e!OW$l!S$a'b*[S$y!Z$uW%Y!n(O+O-WY&U#c#g#j#m+t`&e#s&b)_)a)i,Q-r1hQ&u$YQ&v$[Q&w$^Q'{%[Q(]%kW(m%y(o+e+iQ(q%{Q(z&VQ)e&oS)h&s1fQ)n'OQ)o'PU)w'W)x,[Q*O'ZQ*e'iY*i'l*j,x,y.ZQ*|'}S+Y(Y1gW+k(u+f-d-hW+o(x+q-j-kQ,a*PQ,u*fQ-S*tQ-i+pQ-s,TQ.[,|Q.m-fR.}.]hUOs#s#v$w&b&s(Y)_)a*`,p%Y!zYZ[iw}!O!S!U!V!Z!n!p#c#g#j#m$Y$[$^$a$u%[%a%k%m%t%y%{&V&o'O'P'W'Z'b'i'l'}(O(R(T(U(a(i(o(u(x)i)x*P*R*[*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$QuW%e!t!x1a1kQ%f!uQ%g!vQ%i!yQ%s1`S(X%h1eQ(Z1bQ([1cQ-a+^Q.l-bS/d.j0pR1m1oU$Uv/f1nR)f&q[hOs#v$w*`,pa!}Y#c#g#j#m$^$a+tQ#][Q$ZwR$d}Q%o#OQ%v#SQ%|#WQ'{%YQ(h%rQ(l%wQ(t%}Q(w&OQ+h(qQ-V*|Q.k-aQ/h.lR0Y/gQ$cyQ(d%pR+_(eQ/g.jR0z0pR#VZR#[[R%_!nQ%]!nV*}(O+O-W!]!qQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dR%b!pQ&W#cQ&Z#gQ&]#jQ&_#mR-l+tQ)O&WQ)S&ZQ)W&]Q)[&_S+x)P)QS+z)T)US+|)X)YS,O)])^Q-n+yQ-o+{Q-p+}Q-q,PQ.o-lS/i.p.qR0Z/jQ$m!SQ&{$aQ*Z'bR,l*[Q#zmQ$f!PQ$i!QR'T$hQ)p'SR,Y)sQ)p'SQ,X)rR,Y)sR$k!RR)}'YXqOs*`,pQ$s!WR'c$tQ$z!ZR'd$uR*s'pQ*q'pV.^-P._/OQ/_.cQ/|/XR/}/YU/W.c/X/YQ0R/[Q0_/qQ0d/wU0f/y0g0vQ0k0OQ0y0lQ0{0qU0}0r1P1XQ1Y1RQ1^1WR1_1ZR0Q/ZR0a/q",nodeNames:"⚠ print { { { { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:288,context:UO,nodeProps:[["isolate",-8,6,73,74,75,79,81,83,85,""],["group",-15,8,93,95,96,98,100,102,104,106,107,108,110,113,116,118,"Statement Statement",-22,10,20,23,27,42,51,52,58,59,62,63,64,65,66,69,72,73,74,87,88,89,90,"Expression",-10,122,124,127,129,130,134,136,141,143,146,"Statement",-9,151,152,155,156,158,159,160,161,162,"Pattern"],["openedBy",25,"(",56,"[",60,"{"],["closedBy",26,")",57,"]",61,"}"]],propSources:[NO],skippedNodes:[0,6],repeatNodeCount:38,tokenData:"%-W#sR!`OX%TXY=|Y[%T[]=|]p%Tpq=|qr@_rsDOst!+|tu%Tuv!Nnvw#!|wx#$Wxy#:Uyz#;Yz{#<^{|#>x|}#@S}!O#AW!O!P#Ci!P!Q#N_!Q!R$!y!R![$&w![!]$1e!]!^$3s!^!_$4w!_!`$7c!`!a$8m!a!b%T!b!c$;U!c!d$W!e!h$W#V#Y$Q<%lO$Xc&w!b&oS&rW%u!TOX%TXY=|Y[%T[]=|]p%Tpq=|qr%Trs&Vsw%Twx/Xx#O%T#O#P?d#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#s?i[&w!bOY%TYZ=|Z]%T]^=|^#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=P;=`<%l8^<%lO%T!q@hd&w!b&oS&rWOr%Trs&Vsw%Twx/Xx!_%T!_!`Av!`#O%T#O#P7o#P#T%T#T#UBz#U#f%T#f#gBz#g#hBz#h#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qBR]oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qCV]!oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cDXa&w!b&oS&msOYE^YZ%TZ]E^]^%T^rE^rs!)|swE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cEia&w!b&oS&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cFw]&w!b&oS&msOr%Trs'Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cGya&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxIOx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cIXa&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxJ^x#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#_Jg_&w!b&rW&msOYJ^YZ1XZ]J^]^1X^rJ^rsKfs#OJ^#O#PL`#P#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`!!o<%lOJ^#_KmZ&w!b&msOr1Xrs2ys#O1X#O#P3q#P#o1X#o#p4`#p#q1X#q#r4`#r;'S1X;'S;=`7i<%lO1X#_LeW&w!bO#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`! r;=`<%lL}<%lOJ^{MUZ&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l<%lOL}{M|V&msOr4`rs5ds#O4`#O#P5y#P;'S4`;'S;=`6t<%lO4`{NfRO;'SL};'S;=`No;=`OL}{Nv[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lL}<%lOL}{! oP;=`<%lL}#_! y[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lJ^<%lOL}#_!!rP;=`<%lJ^#c!!zW&w!bO#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!(q;=`<%l!#d<%lOE^!P!#m]&oS&rW&msOY!#dYZ8^Z]!#d]^8^^r!#drs!$fsw!#dwx!%Yx#O!#d#O#P!'Y#P;'S!#d;'S;=`!(k<%lO!#d!P!$mX&oS&msOr8^rs9rsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`^s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!>e_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!?ds#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!?k_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!3`s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!@q[U!T&w!bOY!=UYZ1XZ]!=U]^1X^#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!Ec;=`<%l4`<%lO!=U!]!AnZU!T&rWOY!AgYZ4`Z]!Ag]^4`^r!Agrs!Bas#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!BfZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!CXs#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!C^ZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!4Ys#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!DUWU!TOY!AgYZ4`Z]!Ag]^4`^;'S!Ag;'S;=`!Dn;=`<%l4`<%lO!Ag!]!DsW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!Ag<%lO4`!]!E`P;=`<%l!Ag#o!EhW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!=U<%lO4`#o!FTP;=`<%l!=U#s!F_[U!T&w!bOY!+|YZ%TZ]!+|]^%T^#o!+|#o#p!GT#p#q!+|#q#r!GT#r;'S!+|;'S;=`!Mq;=`<%l8^<%lO!+|!a!G^]U!T&oS&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!H^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!IVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!I^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!5wsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!J^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!KVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!K^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!Agx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!L[WU!TOY!GTYZ8^Z]!GT]^8^^;'S!GT;'S;=`!Lt;=`<%l8^<%lO!GT!a!L{Y&oS&rWOr8^rs9Qsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`Q<%lO$TP;=`<%l$ei&w!b&oS&rW&l`&XsOr%Trs$@Ssw%Twx$C`x!Q%T!Q![$Q<%lO$Q<%lO$Q<%lO$Q<%lO$Q<%lO$CO[O]||-1}],tokenPrec:7500}),f=new D,W=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function n(O){return(r,o,a)=>{if(a)return!1;let e=r.node.getChild("VariableName");return e&&o(e,O),!0}}const LO={FunctionDefinition:n("function"),ClassDefinition:n("class"),ForStatement(O,r,o){if(o){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")r(a,"variable");else if(a.name=="in")break}},ImportStatement(O,r){var o,a;let{node:e}=O,Q=((o=e.firstChild)===null||o===void 0?void 0:o.name)=="from";for(let x=e.getChild("import");x;x=x.nextSibling)x.name=="VariableName"&&((a=x.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&r(x,Q?"variable":"namespace")},AssignStatement(O,r){for(let o=O.node.firstChild;o;o=o.nextSibling)if(o.name=="VariableName")r(o,"variable");else if(o.name==":"||o.name=="AssignOp")break},ParamList(O,r){for(let o=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!o||!/\*|AssignOp/.test(o.name))&&r(a,"variable"),o=a},CapturePattern:n("variable"),AsPattern:n("variable"),__proto__:null};function V(O,r){let o=f.get(r);if(o)return o;let a=[],e=!0;function Q(x,s){let h=O.sliceString(x.from,x.to);a.push({label:h,type:s})}return r.cursor(N.IncludeAnonymous).iterate(x=>{if(x.name){let s=LO[x.name];if(s&&s(x,Q,e)||!e&&W.has(x.name))return!1;e=!1}else if(x.to-x.from>8192){for(let s of V(O,x.node))a.push(s);return!1}}),f.set(r,a),a}const b=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,g=["String","FormatString","Comment","PropertyName"];function HO(O){let r=_(O.state).resolveInner(O.pos,-1);if(g.indexOf(r.name)>-1)return null;let o=r.name=="VariableName"||r.to-r.from<20&&b.test(O.state.sliceDoc(r.from,r.to));if(!o&&!O.explicit)return null;let a=[];for(let e=r;e;e=e.parent)W.has(e.name)&&(a=a.concat(V(O.state.doc,e)));return{options:a,from:o?r.from:O.pos,validFor:b}}const JO=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),BO=[S("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),S("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),S("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),S("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),S(`if \${}: +import{E as P,C as G,s as k,t as i,b as E,g as _,d as U,L as z,i as j,j as $,f as A,k as F,a as I,I as N,e as C,N as D,m 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 L=1,m=206,y=207,H=208,c=209,J=210,B=211,M=212,K=2,OO=213,rO=214,oO=3,aO=215,iO=216,eO=4,QO=217,xO=218,SO=5,sO=219,TO=26,tO=27,nO=51,PO=52,lO=57,pO=58,$O=59,qO=61,XO=62,wO=63,dO=64,YO=65,cO=67,ZO=256,fO=74,bO=275,vO=120,mO=138,yO=159,RO=160,uO=163,T=10,t=13,d=32,l=9,Y=35,WO=40,VO=46,Z=123,R=39,u=34,gO=92,hO=new Set([tO,nO,PO,bO,cO,mO,pO,$O,ZO,dO,YO,fO,XO,wO,yO,RO,uO,vO]);function q(O){return O==T||O==t}const GO=new P((O,r)=>{let o;if(O.next<0)O.acceptToken(B);else if(r.context.depth<0)q(O.next)&&O.acceptToken(J,1);else if(((o=O.peek(-1))<0||q(o))&&r.canShift(c)){let a=0;for(;O.next==d||O.next==l;)O.advance(),a++;(O.next==T||O.next==t||O.next==Y)&&O.acceptToken(c,-a)}else q(O.next)&&O.acceptToken(H,1)},{contextual:!0}),kO=new P((O,r)=>{let o=r.context.depth;if(o<0)return;let a=O.peek(-1);if(a==T||a==t){let e=0,Q=0;for(;;){if(O.next==d)e++;else if(O.next==l)e+=8-e%8;else break;O.advance(),Q++}e!=o&&O.next!=T&&O.next!=t&&O.next!=Y&&(e{for(let r=0;r<5;r++){if(O.next!="print".charCodeAt(r))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let o=O.peek(r);if(!(o==d||o==l)){o!=WO&&o!=VO&&o!=T&&o!=t&&o!=Y&&O.acceptToken(L);return}}});function p(O,r,o,a,e){return new P(Q=>{let x=Q.pos;for(;!(Q.next<0);)if(Q.next==Z)if(Q.peek(1)==Z)Q.advance(2);else{if(Q.pos==x){Q.acceptToken(a,1);return}break}else if(Q.next==gO)Q.advance(),Q.next>=0&&Q.advance();else if(Q.next==O&&(r==1||Q.peek(1)==O&&Q.peek(2)==O)){if(Q.pos==x){Q.acceptToken(e,r);return}break}else Q.advance();Q.pos>x&&Q.acceptToken(o)})}const jO=p(R,1,M,K,OO),AO=p(u,1,rO,oO,aO),FO=p(R,3,iO,eO,QO),IO=p(u,3,xO,SO,sO),NO=k({'async "*" "**" FormatConversion FormatSpec':i.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":i.controlKeyword,"in not and or is del":i.operatorKeyword,"from def class global nonlocal lambda":i.definitionKeyword,import:i.moduleKeyword,"with as print":i.keyword,Boolean:i.bool,None:i.null,VariableName:i.variableName,"CallExpression/VariableName":i.function(i.variableName),"FunctionDefinition/VariableName":i.function(i.definition(i.variableName)),"ClassDefinition/VariableName":i.definition(i.className),PropertyName:i.propertyName,"CallExpression/MemberExpression/PropertyName":i.function(i.propertyName),Comment:i.lineComment,Number:i.number,String:i.string,FormatString:i.special(i.string),UpdateOp:i.updateOperator,"ArithOp!":i.arithmeticOperator,BitOp:i.bitwiseOperator,CompareOp:i.compareOperator,AssignOp:i.definitionOperator,Ellipsis:i.punctuation,At:i.meta,"( )":i.paren,"[ ]":i.squareBracket,"{ }":i.brace,".":i.derefOperator,", ;":i.separator}),CO={__proto__:null,await:48,or:58,and:60,in:64,not:66,is:68,if:74,else:76,lambda:80,yield:98,from:100,async:106,for:108,None:178,True:180,False:180,del:194,pass:198,break:202,continue:206,return:210,raise:218,import:222,as:224,global:228,nonlocal:230,assert:234,type:239,elif:252,while:256,try:262,except:264,finally:266,with:270,def:274,class:284,match:295,case:301},DO=E.deserialize({version:14,states:"#)WO`Q#yOOP$bOSOOO%kQ&nO'#HhOOQS'#Cq'#CqOOQS'#Cr'#CrO'ZQ#xO'#CpO(|Q&nO'#HgOOQS'#Hh'#HhOOQS'#DW'#DWOOQS'#Hg'#HgO)jQ#xO'#DaO)}Q#xO'#DhO*_Q#xO'#DlOOQS'#Dw'#DwO*rO,UO'#DwO*zO7[O'#DwO+SOWO'#DxO+_O`O'#DxO+jOpO'#DxO+uO!bO'#DxO-wQ&nO'#HXOOQS'#HX'#HXO'ZQ#xO'#HWO/ZQ&nO'#HWOOQS'#Ej'#EjO/rQ#xO'#EkOOQS'#HV'#HVO/|Q#xO'#HUOOQV'#HU'#HUO0XQ#xO'#FbOOQS'#Gj'#GjO0^Q#xO'#FaOOQV'#I_'#I_OOQV'#HT'#HTOOQV'#Fy'#FyQ`Q#yOOO'ZQ#xO'#CsO0lQ#xO'#DPO0sQ#xO'#DTO1RQ#xO'#HlO1cQ&nO'#E_O'ZQ#xO'#E`OOQS'#Eb'#EbOOQS'#Ed'#EdOOQS'#Ef'#EfO1wQ#xO'#EhO2_Q#xO'#ElO0XQ#xO'#EnO2rQ&nO'#EnO0XQ#xO'#EqO/rQ#xO'#EtO0XQ#xO'#EvO/rQ#xO'#E|O/rQ#xO'#FPO2}Q#xO'#FRO3UQ#xO'#FWO3aQ#xO'#FSO/rQ#xO'#FWO0XQ#xO'#FYO0XQ#xO'#F_O3fQ#xO'#FdP3mO#xO'#HSPOOO)CBv)CBvOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Ck'#CkOOQS'#Cl'#ClOOQS'#Cn'#CnO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO3xQ#xO'#DqOOQS,5:[,5:[O4]Q#xO'#HvOOQS,5:_,5:_O4jQMlO,5:_O4oQ&nO,59[O0lQ#xO,59dO0lQ#xO,59dO0lQ#xO,59dO7_Q#xO,59dO7dQ#xO,59dO7kQ#xO,59lO7rQ#xO'#HgO8xQ#xO'#HfOOQS'#Hf'#HfOOQS'#D^'#D^O9aQ#xO,59cO'ZQ#xO,59cO9oQ#xO,59cOOQS,59{,59{O9tQ#xO,5:TO'ZQ#xO,5:TOOQS,5:S,5:SO:SQ#xO,5:SO:XQ#xO,5:ZO'ZQ#xO,5:ZO'ZQ#xO,5:XOOQS,5:W,5:WO:jQ#xO,5:WO:oQ#xO,5:YOOOO'#GR'#GRO:tO,UO,5:cOOQS,5:c,5:cOOOO'#GS'#GSO:|O7[O,5:cO;UQ#xO'#DyOOOW'#GT'#GTO;fOWO,5:dOOQS,5:d,5:dO;UQ#xO'#EPOOO`'#GW'#GWO;qO`O,5:dO;UQ#xO'#EROOOp'#GX'#GXO;|OpO,5:dO;UQ#xO'#ETOOO!b'#GY'#GYOWOOQS,5>W,5>WO/rQ#xO'#EZOOQS'#E['#E[OGZQ#xO'#G]OGkQ#xO,59OOGkQ#xO,59OO)pQ#xO,5:wOGyQ&nO'#HoOOQS,5:z,5:zOOQS,5;S,5;SOH^Q#xO,5;WOHoQ#xO,5;YOOQS'#G`'#G`OH}Q&nO,5;YOI]Q#xO,5;YOIbQ#xO'#I]OOQS,5;],5;]OIpQ#xO'#IXOOQS,5;`,5;`OJRQ#xO,5;bO3aQ#xO,5;hO3aQ#xO,5;kOJZQ&nO'#I`O'ZQ#xO'#I`OJeQ#xO,5;mO2}Q#xO,5;mO/rQ#xO,5;rO0XQ#xO,5;tOJjQ#yO'#E}OKvQ#{O,5;nO! [Q#xO'#IaO3aQ#xO,5;rO! gQ#xO,5;tO! oQ#xO,5;yO! zQ&nO,5bOOQS'#Du'#DuOOQS1G/y1G/yOOQS1G/O1G/OO!-uQ&nO1G/OO!-|Q&nO1G/OO0lQ#xO1G/OO!.iQ#xO1G/WOOQS'#D]'#D]O/rQ#xO,59vOOQS1G.}1G.}O!.pQ#xO1G/gO!/QQ#xO1G/gO!/YQ#xO1G/hO'ZQ#xO'#HnO!/_Q#xO'#HnO!/dQ&nO1G.}O!/tQ#xO,59kO!0zQ#xO,5>^O!1[Q#xO,5>^O!1dQ#xO1G/oO!1iQ&nO1G/oOOQS1G/n1G/nO!1yQ#xO,5>XO!2pQ#xO,5>XO/rQ#xO1G/sO!3_Q#xO1G/uO!3dQ&nO1G/uO!3tQ&nO1G/sOOQS1G/r1G/rOOQS1G/t1G/tOOOO-E:P-E:POOQS1G/}1G/}OOOO-E:Q-E:QO!4UQ#xO'#IRO/rQ#xO'#IRO!4gQ#xO,5:eOOOW-E:R-E:ROOQS1G0O1G0OO!4uQ#xO,5:kOOO`-E:U-E:UO!5TQ#xO,5:mOOOp-E:V-E:VO!5cQ#xO,5:oOOO!b-E:W-E:WOOQS-E:X-E:XO!5qQ!LUO1G3^O!6bQ&nO1G3^O'ZQ#xO,5tOOQS1G1h1G1hO!7bQ#xO1G1hOOQS'#DX'#DXO/rQ#xO,5>TOOQS,5>T,5>TO!7gQ#xO'#FzO!7rQ#xO,59qO!7zQ#xO1G/ZO!8UQ&nO,5>XOOQS1G3r1G3rOOQS,5:u,5:uO!8uQ#xO'#HWOOQS,5ZO!9vQ#xO,5>ZO/rQ#xO1G0rO/rQ#xO1G0rO0XQ#xO1G0tOOQS-E:^-E:^O!:XQ#xO1G0tO!:dQ#xO1G0tO!:iQ#xO,5>wO!:wQ#xO,5>wO!;VQ#xO,5>sO!;mQ#xO,5>sO!zO!CZQ#xO,5>zO!CcQ&nO,5>zO/rQ#xO1G1XO!CmQ#xO1G1XO3aQ#xO1G1^O! gQ#xO1G1`OOQV,5;i,5;iO!CrQ#zO,5;iO!CwQ#{O1G1YO!G]Q#xO'#GgO3aQ#xO1G1YO3aQ#xO1G1YO!GmQ#xO,5>{O!GzQ#xO,5>{O0XQ#xO,5>{OOQV1G1^1G1^O!HSQ#xO'#F[O!HeQMlO1G1`O!HmQ#xO1G1`OOQV1G1e1G1eO3aQ#xO1G1eO!HrQ#xO1G1eO!HzQ#xO'#FfOOQV1G1j1G1jO! zQ&nO1G1jPOOO1G3Y1G3YP!IPOSO1G3YOOQS,5>a,5>aOOQS'#Dr'#DrO/rQ#xO,5>aO!IUQ#xO,5>`O!IiQ#xO,5>`OOQS1G/w1G/wO!IqQ#xO,5>cO!JRQ#xO,5>cO!JZQ#xO,5>cO!JnQ#xO,5>cO!KOQ#xO,5>cOOQS1G3|1G3|OOQS7+$j7+$jO!7zQ#xO7+$rO!LqQ#xO1G/OO!LxQ#xO1G/OOOQS1G/b1G/bOOQS,5YO'ZQ#xO,5>YOOQS7+$i7+$iO!MfQ#xO7+%RO!MnQ#xO7+%SO!MsQ#xO1G3xOOQS7+%Z7+%ZO!NTQ#xO1G3xO!N]Q#xO7+%ZOOQS,5mO##cQ#xO,5>mO##cQ#xO,5>mOOQS'#Dz'#DzO##tO$ISO'#D|O#$PO#tO'#ISOOOW1G0P1G0PO#$UQ#xO1G0PO#$^Q#xO1G0POOQS'#EQ'#EQOOO`1G0V1G0VO#$iQ#xO1G0VO#$qQ#xO1G0VOOQS'#ES'#ESOOOp1G0X1G0XO#$|Q#xO1G0XO#%UQ#xO1G0XOOQS'#EU'#EUOOO!b1G0Z1G0ZO#%aQ#xO1G0ZO#%iQ#xO1G0ZO#%tQ!LUO7+(xO#&eQ&nO1G2bP#'OQ#xO'#G[OOQS,5n,5>nOOOW7+%k7+%kO#;yQ#xO7+%kOOO`7+%q7+%qO#vO#=xQ#xO,5>vO0XQ#xO,5>vO#>ZQ#xO,5>uOOQS<`Q#xO,5>xO#>nQ#xO,5>xOOQS1G1O1G1OOOQS<vQ&nO1G2lP#?QQ#xO'#GfO#?XQ#xO7+*QO#?cQ#{O<}O#F{Q#xO,5>}OOQS,5>},5>}O#GWQ#xO,5>|O#GiQ#xO,5>|OOQS1G1b1G1bOOQS,5;x,5;xOOQV<XAN>XO#JxQ#xO<eAN>eO/rQ#xO1G2UO#KYQ&nO1G2UP#KdQ#xO'#GOOOQS1G2[1G2[P#KqQ#xO'#GUO#LOQ#xO7+)sO#LiQ#xO,5:iOOOO-E:T-E:TOOOW<[OOQSANBfANBfOOOO7+%o7+%oO$.WQ#xO7+%oOOQS7+(R7+(RO$.`Q#xO<kPP>n?`?cPP'f'fPP?{PP'f'fPP'f'f'f'f'f@P@y'fP@|PASE^H}IRPIUIlIpIsIwIzJOJRJV'fPPPJYJc'^P'^'^P'^P'^P'^P'^P'^'^'^P'^PP'^PP'^P'^PJiJuJ}PKUK[PKUPKUKUPPPKUPMjPMsM}NTMjPKUN^PKUPNeNkPNo! T! r!!]NoNo!!c!!pNoNoNoNo!#U!#[!#_!#d!#g!#q!#w!$T!$g!$m!$w!$}!%k!%q!%w!%}!&X!&_!&e!&k!&q!&w!'Z!'e!'k!'q!'w!(R!(X!(_!(e!(k!(u!({!)V!)]!)f!)l!){!*T!*_!*fPPPPPPPPPPPPPPPPP!*l!*o!*u!+O!+Y!+ePPPPPPPPPPPP!0[!1p!5s!9WPP!9`!9r!9{!:t!:k!:}!;T!;W!;Z!;^!;f!V!>]!>f!>i!>l!>r!>x!?O!?RP!?Z!?d!@`!@c]jOs#v$w*`,p(TeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o}!hQ#r$P$b$q$}%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!P!iQ#r$P$b$q$}%S%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!R!jQ#r$P$b$q$}%S%T%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!T!kQ#r$P$b$q$}%S%T%U%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!V!lQ#r$P$b$q$}%S%T%U%V%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!X!mQ#r$P$b$q$}%S%T%U%V%W%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!]!mQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d(TTOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o&iVOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1o%sXOYZ[isw}!O!S!U!V!Z!n!p#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$VvQ0X/fR1l1n'zeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oW#ym!P!Q$hW$Rv&q/f1nQ$j!RQ$n!TQ${![Q$|!]W%Z!n(O+O-WS&p$S$TQ'e$vQ)b&jQ)p'QU)q'S)r)sU)t'U)u,ZW){'Y,^-z.vQ*l'nW*m'p-P._/OQ,])zS-O*n*oY-t,U-u.s.t/lQ-w,WQ.U,tQ.Y,wQ.|.Wl/R.c/X/Y/[/w/y0O0g0l0q0v1R1W1ZQ/k.rQ0P/ZQ0^/qQ0i/{U0|0r1P1XX1S0w1T1[1]R&o$R!_!|YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WR%k!{Q#QYQ&W#cQ&Z#gQ&]#jQ&_#mQ&x$^Q&{$aR-l+tT/e.j0p![!oQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dQ&m#zQ't$|R*x'uR'}%ZQ%d!rR0[/o(SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oS#pd#q!P/V.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1](SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oT#pd#qT#d`#eR)Q&Wy(}&W&Z&]&_)P)Q)T)U)X)Y)])^+y+{+},P-l.p.q/jT+u(|+vR.q-lT#ha#iR)U&ZT#kb#lR)Y&]T#nc#oR)^&_Q$`xQ,]){R,}*mX$^x$_$`&zQ'[$nQ'r${Q'u$|R*_'eQ)|'YV-y,^-z.vZlOs$w*`,pXpOs*`,pQ$x!YQ']$oQ'^$pQ'o$zQ's$|Q*]'dQ*d'iQ*g'jQ*h'kQ*u'qS*w't'uQ,d*RQ,f*SQ,g*TQ,k*ZS,m*^*vQ,q*bQ,r*cS,s*e*fQ-T*xQ-|,cQ-},eQ.P,lS.Q,n,oQ.V,uQ.X,vQ.w.OQ.y.RQ.z.TQ.{.UQ/m.xQ/n.|Q0T/_R0o0UWpOs*`,pR#|oQ'q${S*^'e'rR,o*_Q,|*mR.],}Q*v'qQ,n*^R.R,oZnOos*`,pQ'w$}R*z'xT.a-U.bu/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1Zt/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZQ0P/ZX1S0w1T1[1]!P/U.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1]Q/t/TR0c/ug/w/W/x0_0f0k0y0{0}1Y1^1_u/].c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZX/r/R/]0^0|R0`/qV1O0r1P1XR0U/_QsOS$Os,pR,p*`Q&r$UR)g&rS%z#W$WS(p%z(sT(s%}&tQ%n#OQ%u#SW(b%n%u(g(kQ(g%rR(k%wQ&}$bR)m&}Q(v&OQ+g(qT+m(v+gQ(P%]R+P(PS(S%`%aY+T(S+U-^.h/cU+U(T(U(VU-^+V+W+XS.h-_-`R/c.iQ#_^R&R#_Q#b_R&T#bQ#e`R&X#eQ(y&US+r(y+sR+s(zQ+v(|R-m+vQ#iaR&[#iQ#lbR&^#lQ#ocR&`#oQ#qdR&a#qQ#tgQ&c#rW&f#t&c)j,RQ)j&wR,R1dQ$_xS&y$_&zR&z$`Q'X$lR)y'XQ&k#yR)c&kQ$h!QR'R$hQ,V)qS-v,V.uR.u-wQ'V$jR)v'VQ,_)|R-{,_Q#wkR&h#wQ*Q']R,b*QQ'`$qS*X'`*YR*Y'aQ'h$xR*a'hQ'm$yS*k'm,zR,z*lQ-Q*qR.`-QWoOs*`,pR#{oQ.b-UR/P.bd/x/W0_0f0k0y0{0}1Y1^1_R0e/xU/p/R0^0|R0]/pQ0x0kS1U0x1VR1V0yS0s0_0`R1Q0sQ/z/WR0h/zR!`PXrOs*`,pWqOs*`,pR'f$wYkOs$w*`,pR&g#v[xOs#v$w*`,pR&x$^&hQOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1oQ!sTQ#rfQ$PtU$by%p(eS$q!W$tQ$}!^Q%S!hQ%T!iQ%U!jQ%V!kQ%W!lQ%X!mQ%r#PQ%w#TQ%}#XQ&O#YQ&t$XQ'a$rQ'x%OQ)`&dU)k&|)l,SW*U'_*W,i,jQ+Z(_Q+d(nQ,h*VQ-g+lQ0n0SR1d1iQ#OYQ#SZQ$o!UQ$p!VQ%`!pQ(V%a^(^%m%t(a(i+]+`+b^+Q(R+S-[-].g/b0WQ+W(TQ+X(UQ,e*RQ-Z+RQ-_+VQ.e-XQ.f-YQ.i-`Q/`.dR0V/a[gOs#v$w*`,p!^!{YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WQ#W[Q#uiS$Ww}Q$e!OW$l!S$a'b*[S$y!Z$uW%Y!n(O+O-WY&U#c#g#j#m+t`&e#s&b)_)a)i,Q-r1hQ&u$YQ&v$[Q&w$^Q'{%[Q(]%kW(m%y(o+e+iQ(q%{Q(z&VQ)e&oS)h&s1fQ)n'OQ)o'PU)w'W)x,[Q*O'ZQ*e'iY*i'l*j,x,y.ZQ*|'}S+Y(Y1gW+k(u+f-d-hW+o(x+q-j-kQ,a*PQ,u*fQ-S*tQ-i+pQ-s,TQ.[,|Q.m-fR.}.]hUOs#s#v$w&b&s(Y)_)a*`,p%Y!zYZ[iw}!O!S!U!V!Z!n!p#c#g#j#m$Y$[$^$a$u%[%a%k%m%t%y%{&V&o'O'P'W'Z'b'i'l'}(O(R(T(U(a(i(o(u(x)i)x*P*R*[*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$QuW%e!t!x1a1kQ%f!uQ%g!vQ%i!yQ%s1`S(X%h1eQ(Z1bQ([1cQ-a+^Q.l-bS/d.j0pR1m1oU$Uv/f1nR)f&q[hOs#v$w*`,pa!}Y#c#g#j#m$^$a+tQ#][Q$ZwR$d}Q%o#OQ%v#SQ%|#WQ'{%YQ(h%rQ(l%wQ(t%}Q(w&OQ+h(qQ-V*|Q.k-aQ/h.lR0Y/gQ$cyQ(d%pR+_(eQ/g.jR0z0pR#VZR#[[R%_!nQ%]!nV*}(O+O-W!]!qQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dR%b!pQ&W#cQ&Z#gQ&]#jQ&_#mR-l+tQ)O&WQ)S&ZQ)W&]Q)[&_S+x)P)QS+z)T)US+|)X)YS,O)])^Q-n+yQ-o+{Q-p+}Q-q,PQ.o-lS/i.p.qR0Z/jQ$m!SQ&{$aQ*Z'bR,l*[Q#zmQ$f!PQ$i!QR'T$hQ)p'SR,Y)sQ)p'SQ,X)rR,Y)sR$k!RR)}'YXqOs*`,pQ$s!WR'c$tQ$z!ZR'd$uR*s'pQ*q'pV.^-P._/OQ/_.cQ/|/XR/}/YU/W.c/X/YQ0R/[Q0_/qQ0d/wU0f/y0g0vQ0k0OQ0y0lQ0{0qU0}0r1P1XQ1Y1RQ1^1WR1_1ZR0Q/ZR0a/q",nodeNames:"⚠ print { { { { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:288,context:UO,nodeProps:[["isolate",-8,6,73,74,75,79,81,83,85,""],["group",-15,8,93,95,96,98,100,102,104,106,107,108,110,113,116,118,"Statement Statement",-22,10,20,23,27,42,51,52,58,59,62,63,64,65,66,69,72,73,74,87,88,89,90,"Expression",-10,122,124,127,129,130,134,136,141,143,146,"Statement",-9,151,152,155,156,158,159,160,161,162,"Pattern"],["openedBy",25,"(",56,"[",60,"{"],["closedBy",26,")",57,"]",61,"}"]],propSources:[NO],skippedNodes:[0,6],repeatNodeCount:38,tokenData:"%-W#sR!`OX%TXY=|Y[%T[]=|]p%Tpq=|qr@_rsDOst!+|tu%Tuv!Nnvw#!|wx#$Wxy#:Uyz#;Yz{#<^{|#>x|}#@S}!O#AW!O!P#Ci!P!Q#N_!Q!R$!y!R![$&w![!]$1e!]!^$3s!^!_$4w!_!`$7c!`!a$8m!a!b%T!b!c$;U!c!d$W!e!h$W#V#Y$Q<%lO$Xc&w!b&oS&rW%u!TOX%TXY=|Y[%T[]=|]p%Tpq=|qr%Trs&Vsw%Twx/Xx#O%T#O#P?d#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#s?i[&w!bOY%TYZ=|Z]%T]^=|^#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=P;=`<%l8^<%lO%T!q@hd&w!b&oS&rWOr%Trs&Vsw%Twx/Xx!_%T!_!`Av!`#O%T#O#P7o#P#T%T#T#UBz#U#f%T#f#gBz#g#hBz#h#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qBR]oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qCV]!oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cDXa&w!b&oS&msOYE^YZ%TZ]E^]^%T^rE^rs!)|swE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cEia&w!b&oS&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cFw]&w!b&oS&msOr%Trs'Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cGya&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxIOx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cIXa&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxJ^x#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#_Jg_&w!b&rW&msOYJ^YZ1XZ]J^]^1X^rJ^rsKfs#OJ^#O#PL`#P#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`!!o<%lOJ^#_KmZ&w!b&msOr1Xrs2ys#O1X#O#P3q#P#o1X#o#p4`#p#q1X#q#r4`#r;'S1X;'S;=`7i<%lO1X#_LeW&w!bO#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`! r;=`<%lL}<%lOJ^{MUZ&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l<%lOL}{M|V&msOr4`rs5ds#O4`#O#P5y#P;'S4`;'S;=`6t<%lO4`{NfRO;'SL};'S;=`No;=`OL}{Nv[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lL}<%lOL}{! oP;=`<%lL}#_! y[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lJ^<%lOL}#_!!rP;=`<%lJ^#c!!zW&w!bO#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!(q;=`<%l!#d<%lOE^!P!#m]&oS&rW&msOY!#dYZ8^Z]!#d]^8^^r!#drs!$fsw!#dwx!%Yx#O!#d#O#P!'Y#P;'S!#d;'S;=`!(k<%lO!#d!P!$mX&oS&msOr8^rs9rsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`^s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!>e_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!?ds#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!?k_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!3`s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!@q[U!T&w!bOY!=UYZ1XZ]!=U]^1X^#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!Ec;=`<%l4`<%lO!=U!]!AnZU!T&rWOY!AgYZ4`Z]!Ag]^4`^r!Agrs!Bas#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!BfZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!CXs#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!C^ZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!4Ys#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!DUWU!TOY!AgYZ4`Z]!Ag]^4`^;'S!Ag;'S;=`!Dn;=`<%l4`<%lO!Ag!]!DsW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!Ag<%lO4`!]!E`P;=`<%l!Ag#o!EhW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!=U<%lO4`#o!FTP;=`<%l!=U#s!F_[U!T&w!bOY!+|YZ%TZ]!+|]^%T^#o!+|#o#p!GT#p#q!+|#q#r!GT#r;'S!+|;'S;=`!Mq;=`<%l8^<%lO!+|!a!G^]U!T&oS&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!H^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!IVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!I^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!5wsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!J^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!KVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!K^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!Agx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!L[WU!TOY!GTYZ8^Z]!GT]^8^^;'S!GT;'S;=`!Lt;=`<%l8^<%lO!GT!a!L{Y&oS&rWOr8^rs9Qsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`Q<%lO$TP;=`<%l$ei&w!b&oS&rW&l`&XsOr%Trs$@Ssw%Twx$C`x!Q%T!Q![$Q<%lO$Q<%lO$Q<%lO$Q<%lO$Q<%lO$CO[O]||-1}],tokenPrec:7500}),f=new D,W=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function n(O){return(r,o,a)=>{if(a)return!1;let e=r.node.getChild("VariableName");return e&&o(e,O),!0}}const LO={FunctionDefinition:n("function"),ClassDefinition:n("class"),ForStatement(O,r,o){if(o){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")r(a,"variable");else if(a.name=="in")break}},ImportStatement(O,r){var o,a;let{node:e}=O,Q=((o=e.firstChild)===null||o===void 0?void 0:o.name)=="from";for(let x=e.getChild("import");x;x=x.nextSibling)x.name=="VariableName"&&((a=x.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&r(x,Q?"variable":"namespace")},AssignStatement(O,r){for(let o=O.node.firstChild;o;o=o.nextSibling)if(o.name=="VariableName")r(o,"variable");else if(o.name==":"||o.name=="AssignOp")break},ParamList(O,r){for(let o=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!o||!/\*|AssignOp/.test(o.name))&&r(a,"variable"),o=a},CapturePattern:n("variable"),AsPattern:n("variable"),__proto__:null};function V(O,r){let o=f.get(r);if(o)return o;let a=[],e=!0;function Q(x,s){let h=O.sliceString(x.from,x.to);a.push({label:h,type:s})}return r.cursor(N.IncludeAnonymous).iterate(x=>{if(x.name){let s=LO[x.name];if(s&&s(x,Q,e)||!e&&W.has(x.name))return!1;e=!1}else if(x.to-x.from>8192){for(let s of V(O,x.node))a.push(s);return!1}}),f.set(r,a),a}const b=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,g=["String","FormatString","Comment","PropertyName"];function HO(O){let r=_(O.state).resolveInner(O.pos,-1);if(g.indexOf(r.name)>-1)return null;let o=r.name=="VariableName"||r.to-r.from<20&&b.test(O.state.sliceDoc(r.from,r.to));if(!o&&!O.explicit)return null;let a=[];for(let e=r;e;e=e.parent)W.has(e.name)&&(a=a.concat(V(O.state.doc,e)));return{options:a,from:o?r.from:O.pos,validFor:b}}const JO=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),BO=[S("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),S("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),S("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),S("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),S(`if \${}: `,{label:"if",detail:"block",type:"keyword"}),S("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),S("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),S("import ${module}",{label:"import",detail:"statement",type:"keyword"}),S("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],MO=U(g,C(JO.concat(BO)));function v(O,r){let o=O.baseIndentFor(r),a=O.lineAt(O.pos,-1),e=a.from+a.text.length;return/^\s*($|#)/.test(a.text)&&O.node.too?null:o+O.unit}const X=z.define({name:"python",parser:DO.configure({props:[j.add({Body:O=>{var r;return(r=v(O,O.node))!==null&&r!==void 0?r:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except |finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":$({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":$({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":$({closing:"]"}),"String FormatString":()=>null,Script:O=>{if(O.pos+/\s*/.exec(O.textAfter)[0].length>=O.node.to){let r=null;for(let o=O.node,a=o.to;o=o.lastChild,!(!o||o.to!=a);)o.type.name=="Body"&&(r=o);if(r){let o=v(O,r);if(o!=null)return o}}return O.continue()}}),A.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":F,Body:(O,r)=>({from:O.from+1,to:O.to-(O.to==r.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function ar(){return new I(X,[X.data.of({autocomplete:HO}),X.data.of({autocomplete:MO})])}export{MO as globalCompletion,HO as localCompletionSource,ar as python,X as pythonLanguage}; diff --git a/public/admin/assets/index-CVmyQDYv.js b/public/admin/assets/index-CVmyQDYv.js deleted file mode 100644 index 715478b..0000000 --- a/public/admin/assets/index-CVmyQDYv.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-BiVN2RjL.js";import"./HDropdown-qq12d9mA.js";import"./index-DEc4xym2.js";import"./HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js";import"./use-resolve-button-type-Cmxb6e8K.js";export{o as default}; diff --git a/public/admin/assets/index-D0zovCt3.js b/public/admin/assets/index-C_6lQNnB.js similarity index 99% rename from public/admin/assets/index-D0zovCt3.js rename to public/admin/assets/index-C_6lQNnB.js index 2a96e0b..258c4f1 100644 --- a/public/admin/assets/index-D0zovCt3.js +++ b/public/admin/assets/index-C_6lQNnB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s as X,t as O,b as e,L as r,i as s,c as $,h as S,j as l,f as Z,k as Y,a as t}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const n=X({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),o={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},c=e.deserialize({version:14,states:"#!tQ]QPOOQ$wQPOOO(_QQO'#H]O*cQQO'#CbOOQO'#Cb'#CbO*jQPO'#CaO*rOSO'#CpOOQO'#Hb'#HbOOQO'#Cu'#CuO,_QPO'#D_O,xQQO'#HlOOQO'#Hl'#HlO/^QQO'#HgO/eQQO'#HgOOQO'#Hg'#HgOOQO'#Hf'#HfO1iQPO'#DUO1vQPO'#GmO4nQPO'#D_O4uQPO'#DzO*jQPO'#E[O5hQPO'#E[OOQO'#DV'#DVO6vQQO'#H`O8}QQO'#EeO9UQPO'#EdO9ZQPO'#EfOOQO'#Ha'#HaO7^QQO'#HaO:^QQO'#FgO:eQPO'#EwO:jQPO'#E|O:jQPO'#FOOOQO'#H`'#H`OOQO'#HX'#HXOOQO'#Gg'#GgOOQO'#HW'#HWO;zQPO'#FhOOQO'#HV'#HVOOQO'#Gf'#GfQ]QPOOOOQO'#Hr'#HrOQQPO'#GYO>nQQO'#HhO?ZQQO'#CuO?bQPO'#HwO?pQPO'#D_O@`QPO'#DpO?eQPO'#DqO@jQPO'#HwO@{QPO'#DpOATQPO'#IQOAYQPO'#E`OOQO'#Hq'#HqOOQO'#Gl'#GlQ$wQPOOOAbQPO'#HrOOQO'#H]'#H]OCaQQO,58{OOQO'#HZ'#HZOOOO'#Gh'#GhOESOSO,59[OOQO,59[,59[OOQO'#Hh'#HhOEsQPO,59eOFuQPO,59yOOQO-E:e-E:eO*jQPO,58zOGiQPO,58zO*jQPO,5;|OGnQPO'#DQOGsQPO'#DQOOQO'#Gj'#GjOHsQQO,59jOOQO'#Dm'#DmOJ[QPO'#HtOJfQPO'#DlOJtQPO'#HsOJ|QPO,5<^OKRQPO,59^OKlQPO'#CxOOQO,59c,59cOKsQPO,59bOLOQQO'#H]OM}QQO'#CbO! |QPO'#D_O!#RQQO'#HlO!#cQQO,59pO!#jQPO'#DvO!#xQPO'#H{O!$QQPO,5:`O!$VQPO,5:`O!$mQPO,5;mO!$xQPO'#ISO!%TQPO,5;dO!%YQPO,5=XOOQO-E:k-E:kOOQO,5:f,5:fO!&pQPO,5:fO!&wQPO,5:vO?bQPO,5<^O*jQPO,5:vO^,5>^O!*TQPO,5:gO!*cQPO,5:qO!*kQPO,5:lO!*vQPO,5>ZO!#jQPO,5>ZO!&|QPO,59UO!+RQQO,58zO!+ZQQO,5;|O!+cQQO,5TQPO,5TQPO,5<|O!1}QPO,59jO!2[QPO'#HtO!2cQPO,59xO!2hQPO,5>cO?bQPO,59xO!2sQPO,5:[OAYQPO,5:zO!2{QPO'#DrO?eQPO'#DrO!3WQPO'#HxO!3`QPO,5:]O?bQPO,5>cO!'{QPO,5>cOATQPO,5>lOOQO,5:[,5:[O!$VQPO'#DtOOQO,5>l,5>lO!3eQPO'#EaOOQO,5:z,5:zO!6fQPO,5:zO!'{QPO'#DxOOQO-E:j-E:jOOQO,5:y,5:yO*jQPO,58}O!6kQPO'#ChOOQO1G.k1G.kOOOO-E:f-E:fOOQO1G.v1G.vO!+RQQO1G.fO*jQPO1G.fO!6uQQO1G1hOOQO,59l,59lO!6}QPO,59lOOQO-E:h-E:hO!7SQPO,5>`O!7kQPO,5:WO_OOQO1G1x1G1xOOQO1G.x1G.xO!8]QPO'#CyO!8{QPO'#HlO!9VQPO'#CzO!9eQPO'#HkO!9mQPO,59dOOQO1G.|1G.|OKsQPO1G.|O!:TQPO,59eO!:bQQO'#H]O!:sQQO'#CbOOQO,5:b,5:bOgOOQO1G/z1G/zO!nOOQO1G1O1G1OOOQO1G0Q1G0QO!=PQPO'#E]OOQO1G0b1G0bO!=pQPO1G1xO!&wQPO1G0bO!*TQPO1G0RO!*cQPO1G0]O!*kQPO1G0WOOQO1G/]1G/]O!=uQQO1G.pO9UQPO1G0jO*jQPO1G0jO<^QPO'#HoO!?iQQO1G.pOOQO1G.p1G.pO!?nQQO1G0iOOQO1G0l1G0lO!?uQPO1G0lO!@QQQO1G.oO!@hQQO'#HpO!@uQPO,59sO!BUQQO1G0pO!CmQQO1G0pO!D{QQO1G0pO!EYQQO1G0pO!F_QQO1G0pO!FuQQO1G0pO!GPQQO1G1PO!GWQQO'#HlOOQO1G0{1G0{O!HZQQO1G0}OOQO1G0}1G0}OOQO1G1n1G1nO!HqQPO'#D[O!'{QPO'#D|O!'{QPO'#D}OOQO1G0R1G0RO!HxQPO1G0RO!H}QPO1G0RO!IVQPO1G0RO!IbQPO'#EXOOQO1G0]1G0]O!IuQPO1G0]O!IzQPO'#ETO!'{QPO'#ESOOQO1G0W1G0WO!JtQPO1G0WO!JyQPO1G0WO!KRQPO'#EhO!KYQPO'#EhOOQO'#Gw'#GwO!KbQQO1G0mO!MRQQO1G3uO9UQPO1G3uO# QQPO'#FWOOQO1G.f1G.fOOQO1G1h1G1hO# XQPO1G1jOOQO1G1j1G1jO# dQQO1G1jO# lQPO1G1pOOQO1G1s1G1sO*zQPO'#D_O,xQQO,5TQPO'#G`OOQO1G2`1G2`O#/{QPO1G2hO#3yQPO,5>fOOQO1G/d1G/dOOQO1G3}1G3}O#4[QPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!6fQPO1G0fOOQO,5:^,5:^O!'{QPO'#DsO#4aQPO,5:^O?eQPO'#GqO#4lQPO,5>dOOQO1G/w1G/wOATQPO'#HzO#4tQPO1G3}O?bQPO1G3}OOQO1G4W1G4WO!!mQPO'#DvO! |QPO'#D_OOQO,5:{,5:{O#5PQPO,5:{O#5PQPO,5:{O#5WQQO'#H`O#6fQQO'#HaO#6pQQO'#EbO#6{QPO'#EbO#7TQPO'#H}OOQO,5:d,5:dOOQO1G.i1G.iO#7`QQO'#EeO#7pQQO'#H_O#8QQPO'#FSOOQO'#H_'#H_O#8[QPO'#H_O#8yQPO'#IVO#9RQPO,59SOOQO7+$Q7+$QO!+RQQO7+$QOOQO7+'S7+'SOOQO1G/W1G/WO#9WQPO'#DoO#9bQQO'#HuOOQO'#Hu'#HuOOQO1G/r1G/rOOQO,5=Z,5=ZOOQO-E:m-E:mO#9rQWO,58{O#9yQPO,59fOOQO,59f,59fO!'{QPO'#HnOKWQPO'#GiO#:XQPO,5>VOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#:aQQO1G/{OOQO1G/}1G/}O#:fQPO1G/{OOQO1G/|1G/|OZO#[OOQO1G/_1G/_O:jQPO7+&kO#XQPO'#IOO#>dQPO,5:sO?bQPO'#HwO!'{QPO'#HwO#>lQPO'#DpOOQO'#Gt'#GtO#>sQPO,5:oOOQO,5:o,5:oOOQO,5:n,5:nOOQO,5;S,5;SO#?mQQO,5;SO#?tQPO,5;SOOQO-E:u-E:uOOQO7+&X7+&XOOQO7+)a7+)aO#?{QQO7+)aOOQO'#G{'#G{O#AiQPO,5;rOOQO,5;r,5;rO#ApQPO'#FXO*jQPO'#FXO*jQPO'#FXO*jQPO'#FXO#BOQPO7+'UO#BTQPO7+'UOOQO7+'U7+'UO]QPO7+'[O#B`QPO1G1{O?bQPO1G1{O#BnQQO1G1wO!'tQPO1G1wO#BuQPO1G1wO#B|QQO7+'hOOQO'#HO'#HOO#CTQPO,5TQPO,5iO#JsQPO,59TO#JzQPO'#IUO#KSQPO,5;nO*jQPO'#GzO#KXQPO,5>qOOQO1G.n1G.nOOQO<Y,5>YOOQO,5=T,5=TOOQO-E:g-E:gO#KnQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<jO$!iQPO'#EZOOQO1G0_1G0_O$!pQPO1G0_O?bQPO,5:pOOQO-E:r-E:rOOQO1G0Z1G0ZOOQO1G0n1G0nO$!uQQO1G0nOOQO<pOOQO1G1Y1G1YO$(XQPO'#FTOOQO,5=f,5=fOOQO-E:x-E:xO$(^QPO'#GnO$(kQPO,5>bOOQO1G/u1G/uOOQO<sAN>sO!HxQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9UQPOAN?[OOQO1G0`1G0`O$)SQPO1G0`OOQO,5=a,5=aOOQO-E:s-E:sO$)bQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1_1G1_O$)iQQO1G1_OOQO-E:z-E:zO$)qQQO'#IXO$)lQPO1G1_O$#[QPO1G1_O*jQPO1G1_OOQOAN@[AN@[O$)|QQO<sO$+fQPO7+&yO$+kQQO'#IYOOQOAN@mAN@mO$+vQQOAN@mOOQOAN@iAN@iO$+}QPOAN@iO$,SQQO<tOOQOG26XG26XOOQOG26TG26TOOQO<YOWiXuiX%|iX&OiX&QiX&^iX~OZ!aX~P>uOu#OO%|TO&O#SO&Q#SO~O%|TO~P3^Og^Oh^Ov#pO!u#rO!z#qO&^!hO&s#oO~O&O!cO&Q!dO~P?wOg^Oh^O%|TO&O!cO&Q!dO~O}cO!P%^O~OZ%_O~O}%aO!m%dO~O}cOg&fXh&fXv&fX!S&fX!T&fX!U&fX!V&fX!W&fX!X&fX!Y&fX!Z&fX!]&fX!^&fX!_&fX!u&fX!z&fX%|&fX&O&fX&Q&fX&^&fX&s&fX~OW%gOZ%hOgTahTa%|Ta&OTa&QTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#xTa#yTa$VTa$gTa&sTa&^TauTaYTaqTa|Ta!PTa~PBxO&V%kO&X!tO~Ou#OO%|TOqma&]maYma&mma!Pma~O&uma}ma!rma~PE[O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$g!Ra&O!Ra&Q!Ra&s!Ra&^!Ra~PFQO#y%mO~Os%oO~Ou%pO%|TO~Ou#OO%|ra&Ora&Qra&uraYrawra&mra&pra!Pra&]raqra~OWra#_ra#ara#cra#dra#era#fra#gra#hra#jra#nra#qra&^ra#orasra|ra~PG{Ou#OO%|TOq&hX!P&hX!b&hX~OY&hX#o&hX~PIyO!b%sOq!`X!P!`XY!`X~Oq%tO!P&gX~O!P%vO~Ov%wO~Og^Oh^O%|0iO&O!wO&QWO&a%zO~O&]&_P~PKWO%|TO&O!wO&QWO~OW&PXYiXY!aXY&PXZ&PXq!aXu&PXwiX!b&PX#]&PX#_&PX#a&PX#c&PX#d&PX#e&PX#f&PX#g&PX#h&PX#j&PX#n&PX#q&PX&]&PX&^&PX&miX&m&PX&piX&uiX&u&PX&w!aX~P>uOWUXYUXY!aXY&[XZUXq!aXuUXw&[X!bUX#]UX#_UX#aUX#cUX#dUX#eUX#fUX#gUX#hUX#jUX#nUX#qUX&]UX&^UX&mUX&m&[X&p&[X&uUX&u&[X&w!aX~P>YOg^Oh^O%|TO&O!wO&QWOg!RXh!RX&O!RX&Q!RX~PFQOu#OOw&UO%|TO&O&RO&Q&QO&p&TO~OW#XOY&`X&m&`X&u&`X~P!!mOY&WO~P9`Og^Oh^O&O!wO&QWO~Oq&YOY&oX~OY&[O~Og^Oh^O%|TO&O!wO&QWOY&oP~PFQOY&aO&m&_O&u#vO~Oq&bO&w$WOY&vX~OY&dO~O%|TOg%aah%aav%aa!S%aa!T%aa!U%aa!V%aa!W%aa!X%aa!Y%aa!Z%aa!]%aa!^%aa!_%aa!u%aa!z%aa$g%aa&O%aa&Q%aa&s%aa&^%aa~O|&eO~P]O}&fO~Op&rOw&sO&OSO&Q!qO&^#YO~Oz&qO~P!&|Oz&uO&OSO&Q!qO&^#YO~OY&dP~P:jOg^Oh^O%|TO&O!wO&QWO~O}cO~P:jOW#XOu#OO%|TO&u&`X~O#q$TO!P#ra#_#ra#a#ra#c#ra#d#ra#e#ra#f#ra#g#ra#h#ra#j#ra#n#ra&]#ra&^#ra&m#raY#ra#o#ras#raq#ra|#ra~Oo'XO}'WO!r'YO&^!hO~O}'_O!r'YO~Oo'cO}'bO&^!hO~OZ#xOu'gO%|TO~OW%gO}'mO~OW%gO!P'oO~OW'pO!P'qO~O$g!WO&O0kO&Q0jO!P&dP~P/lO!P'|O#o'}O~P9`O}(OO~O$b(QO~O!P(RO~O!P(SO~O!P(TO~P9`O!P(VO~P9`OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQO%P(bO%T(cOZ$|a_$|a`$|aa$|ab$|ac$|ae$|ag$|ah$|ap$|av$|aw$|az$|a}$|a!P$|a!S$|a!T$|a!U$|a!V$|a!W$|a!X$|a!Y$|a!Z$|a![$|a!]$|a!^$|a!_$|a!u$|a!z$|a#e$|a#q$|a#s$|a#t$|a#x$|a#y$|a$V$|a$X$|a$_$|a$b$|a$d$|a$g$|a$k$|a$m$|a$r$|a$t$|a$v$|a$x$|a${$|a$}$|a%v$|a%|$|a&O$|a&Q$|a&W$|a&s$|a|$|a$`$|a$p$|a~O}ra!rra&}ra~PG{OZ%_O~PIyO!P(gO~O!m%dO}&ka!P&ka~O}cO!P(jO~Oo(nOq!fX&]!fX~Oq(pO&]&lX~O&](rO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)OOv{Ow(}Oz!OO|(yO}cO!PvO![!`O!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&^#YO&sdO~PFQO}%aO~O})VOY&yP~P:jOW%gO!P)^O~Os)_O~Ou#OO%|TOq&ha!P&ha!b&haY&ha#o&ha~O})`O~P:jOq%tO!P&ga~Og^Oh^O%|0iO&O!wO&QWO~O&a)gO~P!7zOu#OO%|TOq&`X&]&`XY&`X&m&`X!P&`X~O}&`X!r&`X~P!8dOo)iOp)iOqnX&]nX~Oq)jO&]&_X~O&])lO~Ou#OOw)nO%|TO&OSO&Q!qO~OYma&mma&uma~P!9rOW&PXY!aXq!aXu!aX%|!aX~OWUXY!aXq!aXu!aX%|!aX~OW)qO~Ou#OO%|TO&O#SO&Q#SO&p)sO~Og^Oh^O%|TO&O!wO&QWO~PFQOq&YOY&oa~Ou#OO%|TO&O#SO&Q#SO&p&TO~OY)vO~OY)yO&m&_O~Oq&bOY&va~Og^Oh^Ov{O|*RO!u}O%|TO&O!wO&QWO&sdO~PFQO!P*SO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#c^i#d^i#e^i#f^i#g^i#h^i#j^i#n^i#q^i&]^i&^^i&m^i&u^iY^i#o^is^iq^i|^i~OW*cO~Os*dO~P9`Oz*eO&OSO&Q!qO~O!P]iY]i#o]is]iq]i|]i~P9`Oq*fOY&dX!P&dX~P9`OY*hO~O#q$TO!P#^i#_#^i#a#^i#c#^i#d#^i#e#^i#f#^i#j#^i#n#^i&]#^i&^#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#g$RO#h$RO~P!@zO#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#a#^i#c#^i#d#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#e$PO~P!B`O#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#c#^i#d#^i#n#^iY#^i#o#^is#^iq#^i|#^i~O#a#}O#e$PO&m#{O~P!CtO#e#^i~P!B`O#q$TO!P#^i#a#^i#c#^i#d#^i#e#^i#f#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#_#|O#g$RO#h$RO#j$VO&]#zO&^#zO~P!EaO#g#^i#h#^i~P!@zO#o*iO~P9`O#_&`X#a&`X#c&`X#d&`X#e&`X#f&`X#g&`X#h&`X#j&`X#n&`X#q&`X&^&`X#o&`Xs&`X|&`X~P!8dO!P#kiY#ki#o#kis#kiq#ki|#ki~P9`O|*lO~P$wO}'WO~O}'WO!r'YO~Oo'XO}'WO!r'YO~O%|TO&O#SO&Q#SO|&rP!P&rP~PFQO}'_O~Og^Oh^Ov{O|*yO!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQO}'bO~Oo'cO}'bO~Os*{O~P:jOu*}O%|TO~Ou'gO})`O%|TOW#Zi!P#Zi#_#Zi#a#Zi#c#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#j#Zi#n#Zi#q#Zi&]#Zi&^#Zi&m#Zi&u#ZiY#Zi#o#Zis#Ziq#Zi|#Zi~O}'WOW&ciu&ci!P&ci#_&ci#a&ci#c&ci#d&ci#e&ci#f&ci#g&ci#h&ci#j&ci#n&ci#q&ci&]&ci&^&ci&m&ci&u&ciY&ci#o&cis&ciq&ci|&ci~O#|+VO$O+WO$Q+WO$R+XO$S+YO~O|+UO~P!NoO$Y+ZO&OSO&Q!qO~OW+[O!P+]O~O$`+^OZ$^i_$^i`$^ia$^ib$^ic$^ie$^ig$^ih$^ip$^iv$^iw$^iz$^i}$^i!P$^i!S$^i!T$^i!U$^i!V$^i!W$^i!X$^i!Y$^i!Z$^i![$^i!]$^i!^$^i!_$^i!u$^i!z$^i#e$^i#q$^i#s$^i#t$^i#x$^i#y$^i$V$^i$X$^i$_$^i$b$^i$d$^i$g$^i$k$^i$m$^i$r$^i$t$^i$v$^i$x$^i${$^i$}$^i%v$^i%|$^i&O$^i&Q$^i&W$^i&s$^i|$^i$p$^i~Og^Oh^O$g#sO&O!wO&QWO~O!P+bO~P:jO!P+cO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+hO![!`O!]yO!^yO!_yO!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$p+iO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&sdO~O|+gO~P#&ROW&PXY&PXZ&PXu&PX!P&PX&uiX&u&PX~P>uOWUXYUXZUXuUX!PUX&uUX&u&[X~P>YOW#tOu#uO&u#vO~OW&TXY%WXu&TX!P%WX&u&TX~OZ#XX~P#+WOY+oO!P+mO~O%P(bO%T(cOZ$|i_$|i`$|ia$|ib$|ic$|ie$|ig$|ih$|ip$|iv$|iw$|iz$|i}$|i!P$|i!S$|i!T$|i!U$|i!V$|i!W$|i!X$|i!Y$|i!Z$|i![$|i!]$|i!^$|i!_$|i!u$|i!z$|i#e$|i#q$|i#s$|i#t$|i#x$|i#y$|i$V$|i$X$|i$_$|i$b$|i$d$|i$g$|i$k$|i$m$|i$r$|i$t$|i$v$|i$x$|i${$|i$}$|i%v$|i%|$|i&O$|i&Q$|i&W$|i&s$|i|$|i$`$|i$p$|i~OZ+rO~O%P(bO%T(cOZ%Ui_%Ui`%Uia%Uib%Uic%Uie%Uig%Uih%Uip%Uiv%Uiw%Uiz%Ui}%Ui!P%Ui!S%Ui!T%Ui!U%Ui!V%Ui!W%Ui!X%Ui!Y%Ui!Z%Ui![%Ui!]%Ui!^%Ui!_%Ui!u%Ui!z%Ui#e%Ui#q%Ui#s%Ui#t%Ui#x%Ui#y%Ui$V%Ui$X%Ui$_%Ui$b%Ui$d%Ui$g%Ui$k%Ui$m%Ui$r%Ui$t%Ui$v%Ui$x%Ui${%Ui$}%Ui%v%Ui%|%Ui&O%Ui&Q%Ui&W%Ui&s%Ui|%Ui$`%Ui$p%Ui~Ou#OO%|TO}&na!P&na!m&na~O!P+xO~Oo(nOq!fa&]!fa~Oq(pO&]&la~O!m%dO}&ki!P&ki~O|,RO~P]OW,TO~P5oOW&TXu&TX#_&TX#a&TX#c&TX#d&TX#e&TX#f&TX#g&TX#h&TX#j&TX#n&TX#q&TX&]&TX&^&TX&m&TX&u&TX~OZ#xO!P&TX~P#5_OW$dOZ#xO&u#vO~Op,VOw,VO~Oq,WO}&qX!P&qX~O!b,YO#]#wOY&TXZ#XX~P#5_OY&RXq&RX|&RX!P&RX~P9`O})VO|&xP~P:jOY&RXg%ZXh%ZX%|%ZX&O%ZX&Q%ZXq&RX|&RX!P&RX~Oq,]OY&yX~OY,_O~O})`O|&jP~P:jOq&iX!P&iX|&iXY&iX~P9`O&aTa~PBxOo)iOp)iOqna&]na~Oq)jO&]&_a~OW,gO~Ow,hO~Ou#OO%|TO&O,lO&Q,kO~Og^Oh^Ov#pO!u#rO&O!wO&QWO&s#oO~Og^Oh^Ov{O|,qO!u}O%|TO&O!wO&QWO&sdO~PFQOw,|O&OSO&Q!qO&^#YO~Oq*fOY&da!P&da~O#_ma#ama#cma#dma#ema#fma#gma#hma#jma#nma#qma&^ma#omasma|ma~PE[O|-QO~P$wOZ#xO}'WOq!|X|!|X!P!|X~Oq-UO|&rX!P&rX~O|-XO!P-WO~O&^!hO~P4|Og^Oh^Ov{O|-]O!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQOs-^O~P9`Os-^O~P:jO}'WOW&cqu&cq!P&cq#_&cq#a&cq#c&cq#d&cq#e&cq#f&cq#g&cq#h&cq#j&cq#n&cq#q&cq&]&cq&^&cq&m&cq&u&cqY&cq#o&cqs&cqq&cq|&cq~O|-bO~P!NoO!W-fO#}-fO&OSO&Q!qO~O!P-iO~O$Y-jO&OSO&Q!qO~O!b%sO#o-lOq!`X!P!`X~O!P-nO~P9`O!P-nO~P:jO!P-qO~P9`O|-sO~P#&RO![$^O#o-tO~O!P-vO~O!b-wO~OY-zOZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOY-zO!P-{O~O%P(bO%T(cOZ%Uq_%Uq`%Uqa%Uqb%Uqc%Uqe%Uqg%Uqh%Uqp%Uqv%Uqw%Uqz%Uq}%Uq!P%Uq!S%Uq!T%Uq!U%Uq!V%Uq!W%Uq!X%Uq!Y%Uq!Z%Uq![%Uq!]%Uq!^%Uq!_%Uq!u%Uq!z%Uq#e%Uq#q%Uq#s%Uq#t%Uq#x%Uq#y%Uq$V%Uq$X%Uq$_%Uq$b%Uq$d%Uq$g%Uq$k%Uq$m%Uq$r%Uq$t%Uq$v%Uq$x%Uq${%Uq$}%Uq%v%Uq%|%Uq&O%Uq&Q%Uq&W%Uq&s%Uq|%Uq$`%Uq$p%Uq~Ou#OO%|TO}&ni!P&ni!m&ni~O&m&_Oq!ga&]!ga~O!m%dO}&kq!P&kq~O|.WO~P]Op.YOw&sOz&qO&OSO&Q!qO&^#YO~O!P.ZO~Oq,WO}&qa!P&qa~O})VO~P:jOq.aO|&xX~O|.cO~Oq,]OY&ya~Oq.gO|&jX~O|.iO~Ow.jO~Oq!aXu!aX!P!aX!b!aX%|!aX~OZ&PX~P#KsOZUX~P#KsO!P.kO~OZ.lO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#c^y#d^y#e^y#f^y#g^y#h^y#j^y#n^y#q^y&]^y&^^y&m^y&u^yY^y#o^ys^yq^y|^y~OY%_aq%_a!P%_a~P9`O!P#myY#my#o#mys#myq#my|#my~P9`O}'WOq!|a|!|a!P!|a~OZ#xO}'WOq!|a|!|a!P!|a~O%|TO&O#SO&Q#SOq%iX|%iX!P%iX~PFQOq-UO|&ra!P&ra~O|!}X~P$wO|.yO~Os.zO~P9`OW%gO!P.{O~OW%gO$P/QO&OSO&Q!qO!P&{P~OW%gO$T/RO~O!P/SO~O!b%sO#o/UOq!`X!P!`X~OY/WO~O!P/XO~P9`O#o/YO~P9`O!b/[O~OY/]OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOW#[Ou&ZX%|&ZX&O&ZX&Q&ZX&}&ZX~O&^#YO~P$%uOu#OO%|TO&}/_O&O%RX&Q%RX~O&m&_Oq!gi&]!gi~Op/cO&OSO&Q!qO~OW*cOZ#xO~O!P/eO~OY&RXq&RX~P9`O})VOq%mX|%mX~P:jOq.aO|&xa~O!b/hO~O})`Oq%bX|%bX~P:jOq.gO|&ja~OY/kO~O!P/lO~OZ/mO~O}'WOq!|i|!|i!P!|i~O|!}a~P$wOW%gO!P/qO~OW%gOq/rO!P&{X~OY/vO~P9`OY/xO~OY%Wq!P%Wq~P9`O&}/_O&O%Ra&Q%Ra~OY/}O~O!P0QO~Ou#OO!P0SO!Z0TO%|TO~OY0UO~Oq/rO!P&{a~O!P0XO~OW%gOq/rO!P&|X~OY0ZO~P9`OY0[O~OY%Wy!P%Wy~P9`Ou#OO%|TO&O%ta&Q%ta&}%ta~OY0]O~O!P0^O~Ou#OO!P0_O!Z0`O%|TO~OW%gOq%qa!P%qa~Oq/rO!P&|a~O!P0dO~Ou#OO!P0dO!Z0eO%|TO~O!P0fO~O!P0hO~O#o&PXY&PXs&PXq&PX|&PX~P&bO#oUXYUXsUXqUX|UX~P(fO`Q_P#f&Wc~",goto:"#)S&}PPPP'O'c*t-wP'cPP.].a/uPPPPP1aP2yPP4c7U9q<^kPPP>qPAXPPPBR2yPCzPPDuPElEtPPPPPPPPPPPPGPGhPJpJxKUKpKvK|MlMpMpMxPNX! a!!U!!`P!!u! aP!!{!#V! |!#fP!$V!$a!$g! a!$j!$pElEl!$t!%O!%R2y!&m2y2y!(fP.aP!(jP!)ZPPPPPP.aP.a!)w.aPP.aP.aPP.a!+]!+gPP!+m!+vPPPPPPPP'OP'OPP!+z!+z!,_!+zPP!+zP!+zP!,x!,{P!+z!-c!+zP!+zP!-f!-iP!+zP!+zP!+zP!+zP!+z!+zP!+zP!-mP!-s!-v!-|P!+z!.Y!.]P!.e!.w!2v!2|!3S!4Y!4`!4n!5t!5z!6Q!6[!6b!6h!6n!6t!6z!7Q!7W!7^!7d!7j!7p!7v!8Q!8W!8b!8hPPP!8n!+z!9cP!g!]!^!?w!^!_!@e!_!`!BO!`!a!Br!a!b!D`!b!c!EO!c!}!Kz!}#O!MW#O#P%Q#P#Q!Mt#Q#R!Nb#R#S4e#S#T%Q#T#o4e#o#p# U#p#q# r#q#r##[#r#s##x#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%QS%VV&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&XSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&XS%xZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&XS%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#sP&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&XSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&XSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&XSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&VSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&WP_4la&OZ&XSOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o;'S%Q;'S;=`&s<%lO%QU5xX#gQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU6lV#]Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7YZ&mR&XSOY%QYZ%lZr%Qrs%qsv%Qvw7{w!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU8SV#aQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8nZ&XSOY9aYZ%lZr9ars:osw9awx%Qx#O9a#O#P;y#P;'S9a;'S;=`@z<%lO9aT9fX&XSOY%QYZ%lZr%Qrs%qsw%Qwx:Rx;'S%Q;'S;=`&s<%lO%QT:YVbP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT:rXOY&ZYZ%lZr&Zrs&ysw&Zwx;_x;'S&Z;'S;=`'`<%lO&ZT;dVbPOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT_YZ%lZr>_rs?Zsw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_T>bZOY_YZ%lZr>_rs@Psw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_P@SVOY@PZw@Pwx@ix#O@P#P;'S@P;'S;=`@n<%lO@PP@nObPP@qP;=`<%l@PT@wP;=`<%l>_T@}P;=`<%l9a_AXVZZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVAuVYR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBeX$YP&XS#fQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVCXZ#eR&XSOY%QYZ%lZr%Qrs%qs{%Q{|Cz|!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVDRV#qR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDoVqR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVE][#eR&XSOY%QYZ%lZr%Qrs%qs}%Q}!OCz!O!_%Q!_!`6e!`!aFR!a;'S%Q;'S;=`&s<%lO%QVFYV&wR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_FvZWY&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGi!P!Q%Q!Q![Hw![;'S%Q;'S;=`&s<%lO%QVGnX&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHZ!P;'S%Q;'S;=`&s<%lO%QVHbV&pR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIOc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#R%Q#R#SNq#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTJbV&XS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTJ|]&XSOY%QYZ%lZr%Qrs%qs{%Q{|Ku|}%Q}!OKu!O!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTKzX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTLnc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![!f%Q!f!gJZ!g!h%Q!h!iJZ!i#R%Q#R#SMy#S#W%Q#W#XJZ#X#Y%Q#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTNOZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![#R%Q#R#SMy#S;'S%Q;'S;=`&s<%lO%QTNvZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![#R%Q#R#SNq#S;'S%Q;'S;=`&s<%lO%Q_! p]&XS#fQOY%QYZ%lZr%Qrs%qsz%Qz{!!i{!P%Q!P!Q!)[!Q!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%Q_!!nX&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!#`T&XSOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!#rTOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!$UVOz!#oz{!$R{!P!#o!P!Q!$k!Q;'S!#o;'S;=`!$p<%lO!#oZ!$pOQZZ!$sP;=`<%l!#o_!$yXOY!%fYZ!#ZZr!%frs!'psz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!%iXOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!&ZZ&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!'TV&XSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'mP;=`<%l!!i_!'sXOY!%fYZ!#ZZr!%frs!#osz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!(cZOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!)XP;=`<%l!%f_!)cV&XSPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!)}VPZOY!*dYZ%lZr!*drs!+Us;'S!*d;'S;=`!,X<%lO!*d_!*iVPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!+RP;=`<%l!)[_!+ZVPZOY!*dYZ%lZr!*drs!+ps;'S!*d;'S;=`!,X<%lO!*dZ!+uSPZOY!+pZ;'S!+p;'S;=`!,R<%lO!+pZ!,UP;=`<%l!+p_!,[P;=`<%l!*dT!,fu&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!d%Q!d!e!3a!e!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o!q%Q!q!r!5_!r!z%Q!z!{!7V!{#R%Q#R#S!2i#S#U%Q#U#V!3a#V#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a#c%Q#c#d!5_#d#l%Q#l#m!7V#m;'S%Q;'S;=`&s<%lO%QT!/Qa&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QT!0^i&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o#R%Q#R#S!2i#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!2SV&XS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2nZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0V![#R%Q#R#S!2i#S;'S%Q;'S;=`&s<%lO%QT!3fY&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S;'S%Q;'S;=`&s<%lO%QT!4]`&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S!n%Q!n!o!1{!o#R%Q#R#S!3a#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!5dX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y;'S%Q;'S;=`&s<%lO%QT!6W_&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y!n%Q!n!o!1{!o#R%Q#R#S!5_#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!7[_&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8Z!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i#T%Q#T#Z!:i#Z;'S%Q;'S;=`&s<%lO%QT!8`]&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i#T%Q#T#Z!9X#Z;'S%Q;'S;=`&s<%lO%QT!9^c&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i!r%Q!r!sJw!s#R%Q#R#S!8Z#S#T%Q#T#Z!9X#Z#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!:pi&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!<_!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i!n%Q!n!o!1{!o!r%Q!r!sJw!s#R%Q#R#S!=i#S#T%Q#T#Z!:i#Z#`%Q#`#a!1{#a#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!nX#oR&XSOY%QYZ%lZr%Qrs%qs![%Q![!]!?Z!];'S%Q;'S;=`&s<%lO%QV!?bV&uR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@OV!PR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@lY&^Z&XSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!A[!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AcX#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV!BVX!bR&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!ByY&]R&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Ci!a;'S%Q;'S;=`&s<%lO%QU!CpY#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`!a!A[!a;'S%Q;'S;=`&s<%lO%Q_!DiV&aX#nQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!EVX%|Z&XSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!Er#^;'S%Q;'S;=`&s<%lO%QV!EwX&XSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fd#c;'S%Q;'S;=`&s<%lO%QV!FiX&XSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!GU#i;'S%Q;'S;=`&s<%lO%QV!GZX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Gv#Y;'S%Q;'S;=`&s<%lO%QV!G{X&XSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hh#g;'S%Q;'S;=`&s<%lO%QV!HmX&XSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!IY#Z;'S%Q;'S;=`&s<%lO%QV!I_X&XSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!Iz#U;'S%Q;'S;=`&s<%lO%QV!JPX&XSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Jl#W;'S%Q;'S;=`&s<%lO%QV!JqX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!K^#Y;'S%Q;'S;=`&s<%lO%QV!KeV&sR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!LRa&QZ&XSOY%QYZ%lZr%Qrs%qst%Qtu!Kzu!Q%Q!Q![!Kz![!c%Q!c!}!Kz!}#R%Q#R#S!Kz#S#T%Q#T#o!Kz#o;'S%Q;'S;=`&s<%lO%Q_!M_VuZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!M{VsR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!NiX#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV# ]V}R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_# {Z&}X#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`#p%Q#p#q#!n#q;'S%Q;'S;=`&s<%lO%QU#!uV#dQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##cV|R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$PV#tP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,193]},dynamicPrecedences:{27:1,231:-1,242:-1},specialized:[{term:230,get:Q=>o[Q]||-1}],tokenPrec:6995}),T=r.define({name:"java",parser:c.configure({props:[s.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:S,SwitchBlock:Q=>{let P=Q.textAfter,a=/^\s*\}/.test(P),i=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(a?0:i?1:2)*Q.unit},Block:l({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),Z.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":Y,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function f(){return new t(T)}export{f as java,T as javaLanguage}; +import{s as X,t as O,b as e,L as r,i as s,c as $,h as S,j as l,f as Z,k as Y,a as t}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 n=X({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),o={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},c=e.deserialize({version:14,states:"#!tQ]QPOOQ$wQPOOO(_QQO'#H]O*cQQO'#CbOOQO'#Cb'#CbO*jQPO'#CaO*rOSO'#CpOOQO'#Hb'#HbOOQO'#Cu'#CuO,_QPO'#D_O,xQQO'#HlOOQO'#Hl'#HlO/^QQO'#HgO/eQQO'#HgOOQO'#Hg'#HgOOQO'#Hf'#HfO1iQPO'#DUO1vQPO'#GmO4nQPO'#D_O4uQPO'#DzO*jQPO'#E[O5hQPO'#E[OOQO'#DV'#DVO6vQQO'#H`O8}QQO'#EeO9UQPO'#EdO9ZQPO'#EfOOQO'#Ha'#HaO7^QQO'#HaO:^QQO'#FgO:eQPO'#EwO:jQPO'#E|O:jQPO'#FOOOQO'#H`'#H`OOQO'#HX'#HXOOQO'#Gg'#GgOOQO'#HW'#HWO;zQPO'#FhOOQO'#HV'#HVOOQO'#Gf'#GfQ]QPOOOOQO'#Hr'#HrOQQPO'#GYO>nQQO'#HhO?ZQQO'#CuO?bQPO'#HwO?pQPO'#D_O@`QPO'#DpO?eQPO'#DqO@jQPO'#HwO@{QPO'#DpOATQPO'#IQOAYQPO'#E`OOQO'#Hq'#HqOOQO'#Gl'#GlQ$wQPOOOAbQPO'#HrOOQO'#H]'#H]OCaQQO,58{OOQO'#HZ'#HZOOOO'#Gh'#GhOESOSO,59[OOQO,59[,59[OOQO'#Hh'#HhOEsQPO,59eOFuQPO,59yOOQO-E:e-E:eO*jQPO,58zOGiQPO,58zO*jQPO,5;|OGnQPO'#DQOGsQPO'#DQOOQO'#Gj'#GjOHsQQO,59jOOQO'#Dm'#DmOJ[QPO'#HtOJfQPO'#DlOJtQPO'#HsOJ|QPO,5<^OKRQPO,59^OKlQPO'#CxOOQO,59c,59cOKsQPO,59bOLOQQO'#H]OM}QQO'#CbO! |QPO'#D_O!#RQQO'#HlO!#cQQO,59pO!#jQPO'#DvO!#xQPO'#H{O!$QQPO,5:`O!$VQPO,5:`O!$mQPO,5;mO!$xQPO'#ISO!%TQPO,5;dO!%YQPO,5=XOOQO-E:k-E:kOOQO,5:f,5:fO!&pQPO,5:fO!&wQPO,5:vO?bQPO,5<^O*jQPO,5:vO^,5>^O!*TQPO,5:gO!*cQPO,5:qO!*kQPO,5:lO!*vQPO,5>ZO!#jQPO,5>ZO!&|QPO,59UO!+RQQO,58zO!+ZQQO,5;|O!+cQQO,5TQPO,5TQPO,5<|O!1}QPO,59jO!2[QPO'#HtO!2cQPO,59xO!2hQPO,5>cO?bQPO,59xO!2sQPO,5:[OAYQPO,5:zO!2{QPO'#DrO?eQPO'#DrO!3WQPO'#HxO!3`QPO,5:]O?bQPO,5>cO!'{QPO,5>cOATQPO,5>lOOQO,5:[,5:[O!$VQPO'#DtOOQO,5>l,5>lO!3eQPO'#EaOOQO,5:z,5:zO!6fQPO,5:zO!'{QPO'#DxOOQO-E:j-E:jOOQO,5:y,5:yO*jQPO,58}O!6kQPO'#ChOOQO1G.k1G.kOOOO-E:f-E:fOOQO1G.v1G.vO!+RQQO1G.fO*jQPO1G.fO!6uQQO1G1hOOQO,59l,59lO!6}QPO,59lOOQO-E:h-E:hO!7SQPO,5>`O!7kQPO,5:WO_OOQO1G1x1G1xOOQO1G.x1G.xO!8]QPO'#CyO!8{QPO'#HlO!9VQPO'#CzO!9eQPO'#HkO!9mQPO,59dOOQO1G.|1G.|OKsQPO1G.|O!:TQPO,59eO!:bQQO'#H]O!:sQQO'#CbOOQO,5:b,5:bOgOOQO1G/z1G/zO!nOOQO1G1O1G1OOOQO1G0Q1G0QO!=PQPO'#E]OOQO1G0b1G0bO!=pQPO1G1xO!&wQPO1G0bO!*TQPO1G0RO!*cQPO1G0]O!*kQPO1G0WOOQO1G/]1G/]O!=uQQO1G.pO9UQPO1G0jO*jQPO1G0jO<^QPO'#HoO!?iQQO1G.pOOQO1G.p1G.pO!?nQQO1G0iOOQO1G0l1G0lO!?uQPO1G0lO!@QQQO1G.oO!@hQQO'#HpO!@uQPO,59sO!BUQQO1G0pO!CmQQO1G0pO!D{QQO1G0pO!EYQQO1G0pO!F_QQO1G0pO!FuQQO1G0pO!GPQQO1G1PO!GWQQO'#HlOOQO1G0{1G0{O!HZQQO1G0}OOQO1G0}1G0}OOQO1G1n1G1nO!HqQPO'#D[O!'{QPO'#D|O!'{QPO'#D}OOQO1G0R1G0RO!HxQPO1G0RO!H}QPO1G0RO!IVQPO1G0RO!IbQPO'#EXOOQO1G0]1G0]O!IuQPO1G0]O!IzQPO'#ETO!'{QPO'#ESOOQO1G0W1G0WO!JtQPO1G0WO!JyQPO1G0WO!KRQPO'#EhO!KYQPO'#EhOOQO'#Gw'#GwO!KbQQO1G0mO!MRQQO1G3uO9UQPO1G3uO# QQPO'#FWOOQO1G.f1G.fOOQO1G1h1G1hO# XQPO1G1jOOQO1G1j1G1jO# dQQO1G1jO# lQPO1G1pOOQO1G1s1G1sO*zQPO'#D_O,xQQO,5TQPO'#G`OOQO1G2`1G2`O#/{QPO1G2hO#3yQPO,5>fOOQO1G/d1G/dOOQO1G3}1G3}O#4[QPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!6fQPO1G0fOOQO,5:^,5:^O!'{QPO'#DsO#4aQPO,5:^O?eQPO'#GqO#4lQPO,5>dOOQO1G/w1G/wOATQPO'#HzO#4tQPO1G3}O?bQPO1G3}OOQO1G4W1G4WO!!mQPO'#DvO! |QPO'#D_OOQO,5:{,5:{O#5PQPO,5:{O#5PQPO,5:{O#5WQQO'#H`O#6fQQO'#HaO#6pQQO'#EbO#6{QPO'#EbO#7TQPO'#H}OOQO,5:d,5:dOOQO1G.i1G.iO#7`QQO'#EeO#7pQQO'#H_O#8QQPO'#FSOOQO'#H_'#H_O#8[QPO'#H_O#8yQPO'#IVO#9RQPO,59SOOQO7+$Q7+$QO!+RQQO7+$QOOQO7+'S7+'SOOQO1G/W1G/WO#9WQPO'#DoO#9bQQO'#HuOOQO'#Hu'#HuOOQO1G/r1G/rOOQO,5=Z,5=ZOOQO-E:m-E:mO#9rQWO,58{O#9yQPO,59fOOQO,59f,59fO!'{QPO'#HnOKWQPO'#GiO#:XQPO,5>VOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#:aQQO1G/{OOQO1G/}1G/}O#:fQPO1G/{OOQO1G/|1G/|OZO#[OOQO1G/_1G/_O:jQPO7+&kO#XQPO'#IOO#>dQPO,5:sO?bQPO'#HwO!'{QPO'#HwO#>lQPO'#DpOOQO'#Gt'#GtO#>sQPO,5:oOOQO,5:o,5:oOOQO,5:n,5:nOOQO,5;S,5;SO#?mQQO,5;SO#?tQPO,5;SOOQO-E:u-E:uOOQO7+&X7+&XOOQO7+)a7+)aO#?{QQO7+)aOOQO'#G{'#G{O#AiQPO,5;rOOQO,5;r,5;rO#ApQPO'#FXO*jQPO'#FXO*jQPO'#FXO*jQPO'#FXO#BOQPO7+'UO#BTQPO7+'UOOQO7+'U7+'UO]QPO7+'[O#B`QPO1G1{O?bQPO1G1{O#BnQQO1G1wO!'tQPO1G1wO#BuQPO1G1wO#B|QQO7+'hOOQO'#HO'#HOO#CTQPO,5TQPO,5iO#JsQPO,59TO#JzQPO'#IUO#KSQPO,5;nO*jQPO'#GzO#KXQPO,5>qOOQO1G.n1G.nOOQO<Y,5>YOOQO,5=T,5=TOOQO-E:g-E:gO#KnQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<jO$!iQPO'#EZOOQO1G0_1G0_O$!pQPO1G0_O?bQPO,5:pOOQO-E:r-E:rOOQO1G0Z1G0ZOOQO1G0n1G0nO$!uQQO1G0nOOQO<pOOQO1G1Y1G1YO$(XQPO'#FTOOQO,5=f,5=fOOQO-E:x-E:xO$(^QPO'#GnO$(kQPO,5>bOOQO1G/u1G/uOOQO<sAN>sO!HxQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9UQPOAN?[OOQO1G0`1G0`O$)SQPO1G0`OOQO,5=a,5=aOOQO-E:s-E:sO$)bQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1_1G1_O$)iQQO1G1_OOQO-E:z-E:zO$)qQQO'#IXO$)lQPO1G1_O$#[QPO1G1_O*jQPO1G1_OOQOAN@[AN@[O$)|QQO<sO$+fQPO7+&yO$+kQQO'#IYOOQOAN@mAN@mO$+vQQOAN@mOOQOAN@iAN@iO$+}QPOAN@iO$,SQQO<tOOQOG26XG26XOOQOG26TG26TOOQO<YOWiXuiX%|iX&OiX&QiX&^iX~OZ!aX~P>uOu#OO%|TO&O#SO&Q#SO~O%|TO~P3^Og^Oh^Ov#pO!u#rO!z#qO&^!hO&s#oO~O&O!cO&Q!dO~P?wOg^Oh^O%|TO&O!cO&Q!dO~O}cO!P%^O~OZ%_O~O}%aO!m%dO~O}cOg&fXh&fXv&fX!S&fX!T&fX!U&fX!V&fX!W&fX!X&fX!Y&fX!Z&fX!]&fX!^&fX!_&fX!u&fX!z&fX%|&fX&O&fX&Q&fX&^&fX&s&fX~OW%gOZ%hOgTahTa%|Ta&OTa&QTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#xTa#yTa$VTa$gTa&sTa&^TauTaYTaqTa|Ta!PTa~PBxO&V%kO&X!tO~Ou#OO%|TOqma&]maYma&mma!Pma~O&uma}ma!rma~PE[O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$g!Ra&O!Ra&Q!Ra&s!Ra&^!Ra~PFQO#y%mO~Os%oO~Ou%pO%|TO~Ou#OO%|ra&Ora&Qra&uraYrawra&mra&pra!Pra&]raqra~OWra#_ra#ara#cra#dra#era#fra#gra#hra#jra#nra#qra&^ra#orasra|ra~PG{Ou#OO%|TOq&hX!P&hX!b&hX~OY&hX#o&hX~PIyO!b%sOq!`X!P!`XY!`X~Oq%tO!P&gX~O!P%vO~Ov%wO~Og^Oh^O%|0iO&O!wO&QWO&a%zO~O&]&_P~PKWO%|TO&O!wO&QWO~OW&PXYiXY!aXY&PXZ&PXq!aXu&PXwiX!b&PX#]&PX#_&PX#a&PX#c&PX#d&PX#e&PX#f&PX#g&PX#h&PX#j&PX#n&PX#q&PX&]&PX&^&PX&miX&m&PX&piX&uiX&u&PX&w!aX~P>uOWUXYUXY!aXY&[XZUXq!aXuUXw&[X!bUX#]UX#_UX#aUX#cUX#dUX#eUX#fUX#gUX#hUX#jUX#nUX#qUX&]UX&^UX&mUX&m&[X&p&[X&uUX&u&[X&w!aX~P>YOg^Oh^O%|TO&O!wO&QWOg!RXh!RX&O!RX&Q!RX~PFQOu#OOw&UO%|TO&O&RO&Q&QO&p&TO~OW#XOY&`X&m&`X&u&`X~P!!mOY&WO~P9`Og^Oh^O&O!wO&QWO~Oq&YOY&oX~OY&[O~Og^Oh^O%|TO&O!wO&QWOY&oP~PFQOY&aO&m&_O&u#vO~Oq&bO&w$WOY&vX~OY&dO~O%|TOg%aah%aav%aa!S%aa!T%aa!U%aa!V%aa!W%aa!X%aa!Y%aa!Z%aa!]%aa!^%aa!_%aa!u%aa!z%aa$g%aa&O%aa&Q%aa&s%aa&^%aa~O|&eO~P]O}&fO~Op&rOw&sO&OSO&Q!qO&^#YO~Oz&qO~P!&|Oz&uO&OSO&Q!qO&^#YO~OY&dP~P:jOg^Oh^O%|TO&O!wO&QWO~O}cO~P:jOW#XOu#OO%|TO&u&`X~O#q$TO!P#ra#_#ra#a#ra#c#ra#d#ra#e#ra#f#ra#g#ra#h#ra#j#ra#n#ra&]#ra&^#ra&m#raY#ra#o#ras#raq#ra|#ra~Oo'XO}'WO!r'YO&^!hO~O}'_O!r'YO~Oo'cO}'bO&^!hO~OZ#xOu'gO%|TO~OW%gO}'mO~OW%gO!P'oO~OW'pO!P'qO~O$g!WO&O0kO&Q0jO!P&dP~P/lO!P'|O#o'}O~P9`O}(OO~O$b(QO~O!P(RO~O!P(SO~O!P(TO~P9`O!P(VO~P9`OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQO%P(bO%T(cOZ$|a_$|a`$|aa$|ab$|ac$|ae$|ag$|ah$|ap$|av$|aw$|az$|a}$|a!P$|a!S$|a!T$|a!U$|a!V$|a!W$|a!X$|a!Y$|a!Z$|a![$|a!]$|a!^$|a!_$|a!u$|a!z$|a#e$|a#q$|a#s$|a#t$|a#x$|a#y$|a$V$|a$X$|a$_$|a$b$|a$d$|a$g$|a$k$|a$m$|a$r$|a$t$|a$v$|a$x$|a${$|a$}$|a%v$|a%|$|a&O$|a&Q$|a&W$|a&s$|a|$|a$`$|a$p$|a~O}ra!rra&}ra~PG{OZ%_O~PIyO!P(gO~O!m%dO}&ka!P&ka~O}cO!P(jO~Oo(nOq!fX&]!fX~Oq(pO&]&lX~O&](rO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)OOv{Ow(}Oz!OO|(yO}cO!PvO![!`O!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&^#YO&sdO~PFQO}%aO~O})VOY&yP~P:jOW%gO!P)^O~Os)_O~Ou#OO%|TOq&ha!P&ha!b&haY&ha#o&ha~O})`O~P:jOq%tO!P&ga~Og^Oh^O%|0iO&O!wO&QWO~O&a)gO~P!7zOu#OO%|TOq&`X&]&`XY&`X&m&`X!P&`X~O}&`X!r&`X~P!8dOo)iOp)iOqnX&]nX~Oq)jO&]&_X~O&])lO~Ou#OOw)nO%|TO&OSO&Q!qO~OYma&mma&uma~P!9rOW&PXY!aXq!aXu!aX%|!aX~OWUXY!aXq!aXu!aX%|!aX~OW)qO~Ou#OO%|TO&O#SO&Q#SO&p)sO~Og^Oh^O%|TO&O!wO&QWO~PFQOq&YOY&oa~Ou#OO%|TO&O#SO&Q#SO&p&TO~OY)vO~OY)yO&m&_O~Oq&bOY&va~Og^Oh^Ov{O|*RO!u}O%|TO&O!wO&QWO&sdO~PFQO!P*SO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#c^i#d^i#e^i#f^i#g^i#h^i#j^i#n^i#q^i&]^i&^^i&m^i&u^iY^i#o^is^iq^i|^i~OW*cO~Os*dO~P9`Oz*eO&OSO&Q!qO~O!P]iY]i#o]is]iq]i|]i~P9`Oq*fOY&dX!P&dX~P9`OY*hO~O#q$TO!P#^i#_#^i#a#^i#c#^i#d#^i#e#^i#f#^i#j#^i#n#^i&]#^i&^#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#g$RO#h$RO~P!@zO#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#a#^i#c#^i#d#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#e$PO~P!B`O#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#c#^i#d#^i#n#^iY#^i#o#^is#^iq#^i|#^i~O#a#}O#e$PO&m#{O~P!CtO#e#^i~P!B`O#q$TO!P#^i#a#^i#c#^i#d#^i#e#^i#f#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#_#|O#g$RO#h$RO#j$VO&]#zO&^#zO~P!EaO#g#^i#h#^i~P!@zO#o*iO~P9`O#_&`X#a&`X#c&`X#d&`X#e&`X#f&`X#g&`X#h&`X#j&`X#n&`X#q&`X&^&`X#o&`Xs&`X|&`X~P!8dO!P#kiY#ki#o#kis#kiq#ki|#ki~P9`O|*lO~P$wO}'WO~O}'WO!r'YO~Oo'XO}'WO!r'YO~O%|TO&O#SO&Q#SO|&rP!P&rP~PFQO}'_O~Og^Oh^Ov{O|*yO!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQO}'bO~Oo'cO}'bO~Os*{O~P:jOu*}O%|TO~Ou'gO})`O%|TOW#Zi!P#Zi#_#Zi#a#Zi#c#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#j#Zi#n#Zi#q#Zi&]#Zi&^#Zi&m#Zi&u#ZiY#Zi#o#Zis#Ziq#Zi|#Zi~O}'WOW&ciu&ci!P&ci#_&ci#a&ci#c&ci#d&ci#e&ci#f&ci#g&ci#h&ci#j&ci#n&ci#q&ci&]&ci&^&ci&m&ci&u&ciY&ci#o&cis&ciq&ci|&ci~O#|+VO$O+WO$Q+WO$R+XO$S+YO~O|+UO~P!NoO$Y+ZO&OSO&Q!qO~OW+[O!P+]O~O$`+^OZ$^i_$^i`$^ia$^ib$^ic$^ie$^ig$^ih$^ip$^iv$^iw$^iz$^i}$^i!P$^i!S$^i!T$^i!U$^i!V$^i!W$^i!X$^i!Y$^i!Z$^i![$^i!]$^i!^$^i!_$^i!u$^i!z$^i#e$^i#q$^i#s$^i#t$^i#x$^i#y$^i$V$^i$X$^i$_$^i$b$^i$d$^i$g$^i$k$^i$m$^i$r$^i$t$^i$v$^i$x$^i${$^i$}$^i%v$^i%|$^i&O$^i&Q$^i&W$^i&s$^i|$^i$p$^i~Og^Oh^O$g#sO&O!wO&QWO~O!P+bO~P:jO!P+cO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+hO![!`O!]yO!^yO!_yO!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$p+iO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&sdO~O|+gO~P#&ROW&PXY&PXZ&PXu&PX!P&PX&uiX&u&PX~P>uOWUXYUXZUXuUX!PUX&uUX&u&[X~P>YOW#tOu#uO&u#vO~OW&TXY%WXu&TX!P%WX&u&TX~OZ#XX~P#+WOY+oO!P+mO~O%P(bO%T(cOZ$|i_$|i`$|ia$|ib$|ic$|ie$|ig$|ih$|ip$|iv$|iw$|iz$|i}$|i!P$|i!S$|i!T$|i!U$|i!V$|i!W$|i!X$|i!Y$|i!Z$|i![$|i!]$|i!^$|i!_$|i!u$|i!z$|i#e$|i#q$|i#s$|i#t$|i#x$|i#y$|i$V$|i$X$|i$_$|i$b$|i$d$|i$g$|i$k$|i$m$|i$r$|i$t$|i$v$|i$x$|i${$|i$}$|i%v$|i%|$|i&O$|i&Q$|i&W$|i&s$|i|$|i$`$|i$p$|i~OZ+rO~O%P(bO%T(cOZ%Ui_%Ui`%Uia%Uib%Uic%Uie%Uig%Uih%Uip%Uiv%Uiw%Uiz%Ui}%Ui!P%Ui!S%Ui!T%Ui!U%Ui!V%Ui!W%Ui!X%Ui!Y%Ui!Z%Ui![%Ui!]%Ui!^%Ui!_%Ui!u%Ui!z%Ui#e%Ui#q%Ui#s%Ui#t%Ui#x%Ui#y%Ui$V%Ui$X%Ui$_%Ui$b%Ui$d%Ui$g%Ui$k%Ui$m%Ui$r%Ui$t%Ui$v%Ui$x%Ui${%Ui$}%Ui%v%Ui%|%Ui&O%Ui&Q%Ui&W%Ui&s%Ui|%Ui$`%Ui$p%Ui~Ou#OO%|TO}&na!P&na!m&na~O!P+xO~Oo(nOq!fa&]!fa~Oq(pO&]&la~O!m%dO}&ki!P&ki~O|,RO~P]OW,TO~P5oOW&TXu&TX#_&TX#a&TX#c&TX#d&TX#e&TX#f&TX#g&TX#h&TX#j&TX#n&TX#q&TX&]&TX&^&TX&m&TX&u&TX~OZ#xO!P&TX~P#5_OW$dOZ#xO&u#vO~Op,VOw,VO~Oq,WO}&qX!P&qX~O!b,YO#]#wOY&TXZ#XX~P#5_OY&RXq&RX|&RX!P&RX~P9`O})VO|&xP~P:jOY&RXg%ZXh%ZX%|%ZX&O%ZX&Q%ZXq&RX|&RX!P&RX~Oq,]OY&yX~OY,_O~O})`O|&jP~P:jOq&iX!P&iX|&iXY&iX~P9`O&aTa~PBxOo)iOp)iOqna&]na~Oq)jO&]&_a~OW,gO~Ow,hO~Ou#OO%|TO&O,lO&Q,kO~Og^Oh^Ov#pO!u#rO&O!wO&QWO&s#oO~Og^Oh^Ov{O|,qO!u}O%|TO&O!wO&QWO&sdO~PFQOw,|O&OSO&Q!qO&^#YO~Oq*fOY&da!P&da~O#_ma#ama#cma#dma#ema#fma#gma#hma#jma#nma#qma&^ma#omasma|ma~PE[O|-QO~P$wOZ#xO}'WOq!|X|!|X!P!|X~Oq-UO|&rX!P&rX~O|-XO!P-WO~O&^!hO~P4|Og^Oh^Ov{O|-]O!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQOs-^O~P9`Os-^O~P:jO}'WOW&cqu&cq!P&cq#_&cq#a&cq#c&cq#d&cq#e&cq#f&cq#g&cq#h&cq#j&cq#n&cq#q&cq&]&cq&^&cq&m&cq&u&cqY&cq#o&cqs&cqq&cq|&cq~O|-bO~P!NoO!W-fO#}-fO&OSO&Q!qO~O!P-iO~O$Y-jO&OSO&Q!qO~O!b%sO#o-lOq!`X!P!`X~O!P-nO~P9`O!P-nO~P:jO!P-qO~P9`O|-sO~P#&RO![$^O#o-tO~O!P-vO~O!b-wO~OY-zOZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOY-zO!P-{O~O%P(bO%T(cOZ%Uq_%Uq`%Uqa%Uqb%Uqc%Uqe%Uqg%Uqh%Uqp%Uqv%Uqw%Uqz%Uq}%Uq!P%Uq!S%Uq!T%Uq!U%Uq!V%Uq!W%Uq!X%Uq!Y%Uq!Z%Uq![%Uq!]%Uq!^%Uq!_%Uq!u%Uq!z%Uq#e%Uq#q%Uq#s%Uq#t%Uq#x%Uq#y%Uq$V%Uq$X%Uq$_%Uq$b%Uq$d%Uq$g%Uq$k%Uq$m%Uq$r%Uq$t%Uq$v%Uq$x%Uq${%Uq$}%Uq%v%Uq%|%Uq&O%Uq&Q%Uq&W%Uq&s%Uq|%Uq$`%Uq$p%Uq~Ou#OO%|TO}&ni!P&ni!m&ni~O&m&_Oq!ga&]!ga~O!m%dO}&kq!P&kq~O|.WO~P]Op.YOw&sOz&qO&OSO&Q!qO&^#YO~O!P.ZO~Oq,WO}&qa!P&qa~O})VO~P:jOq.aO|&xX~O|.cO~Oq,]OY&ya~Oq.gO|&jX~O|.iO~Ow.jO~Oq!aXu!aX!P!aX!b!aX%|!aX~OZ&PX~P#KsOZUX~P#KsO!P.kO~OZ.lO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#c^y#d^y#e^y#f^y#g^y#h^y#j^y#n^y#q^y&]^y&^^y&m^y&u^yY^y#o^ys^yq^y|^y~OY%_aq%_a!P%_a~P9`O!P#myY#my#o#mys#myq#my|#my~P9`O}'WOq!|a|!|a!P!|a~OZ#xO}'WOq!|a|!|a!P!|a~O%|TO&O#SO&Q#SOq%iX|%iX!P%iX~PFQOq-UO|&ra!P&ra~O|!}X~P$wO|.yO~Os.zO~P9`OW%gO!P.{O~OW%gO$P/QO&OSO&Q!qO!P&{P~OW%gO$T/RO~O!P/SO~O!b%sO#o/UOq!`X!P!`X~OY/WO~O!P/XO~P9`O#o/YO~P9`O!b/[O~OY/]OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOW#[Ou&ZX%|&ZX&O&ZX&Q&ZX&}&ZX~O&^#YO~P$%uOu#OO%|TO&}/_O&O%RX&Q%RX~O&m&_Oq!gi&]!gi~Op/cO&OSO&Q!qO~OW*cOZ#xO~O!P/eO~OY&RXq&RX~P9`O})VOq%mX|%mX~P:jOq.aO|&xa~O!b/hO~O})`Oq%bX|%bX~P:jOq.gO|&ja~OY/kO~O!P/lO~OZ/mO~O}'WOq!|i|!|i!P!|i~O|!}a~P$wOW%gO!P/qO~OW%gOq/rO!P&{X~OY/vO~P9`OY/xO~OY%Wq!P%Wq~P9`O&}/_O&O%Ra&Q%Ra~OY/}O~O!P0QO~Ou#OO!P0SO!Z0TO%|TO~OY0UO~Oq/rO!P&{a~O!P0XO~OW%gOq/rO!P&|X~OY0ZO~P9`OY0[O~OY%Wy!P%Wy~P9`Ou#OO%|TO&O%ta&Q%ta&}%ta~OY0]O~O!P0^O~Ou#OO!P0_O!Z0`O%|TO~OW%gOq%qa!P%qa~Oq/rO!P&|a~O!P0dO~Ou#OO!P0dO!Z0eO%|TO~O!P0fO~O!P0hO~O#o&PXY&PXs&PXq&PX|&PX~P&bO#oUXYUXsUXqUX|UX~P(fO`Q_P#f&Wc~",goto:"#)S&}PPPP'O'c*t-wP'cPP.].a/uPPPPP1aP2yPP4c7U9q<^kPPP>qPAXPPPBR2yPCzPPDuPElEtPPPPPPPPPPPPGPGhPJpJxKUKpKvK|MlMpMpMxPNX! a!!U!!`P!!u! aP!!{!#V! |!#fP!$V!$a!$g! a!$j!$pElEl!$t!%O!%R2y!&m2y2y!(fP.aP!(jP!)ZPPPPPP.aP.a!)w.aPP.aP.aPP.a!+]!+gPP!+m!+vPPPPPPPP'OP'OPP!+z!+z!,_!+zPP!+zP!+zP!,x!,{P!+z!-c!+zP!+zP!-f!-iP!+zP!+zP!+zP!+zP!+z!+zP!+zP!-mP!-s!-v!-|P!+z!.Y!.]P!.e!.w!2v!2|!3S!4Y!4`!4n!5t!5z!6Q!6[!6b!6h!6n!6t!6z!7Q!7W!7^!7d!7j!7p!7v!8Q!8W!8b!8hPPP!8n!+z!9cP!g!]!^!?w!^!_!@e!_!`!BO!`!a!Br!a!b!D`!b!c!EO!c!}!Kz!}#O!MW#O#P%Q#P#Q!Mt#Q#R!Nb#R#S4e#S#T%Q#T#o4e#o#p# U#p#q# r#q#r##[#r#s##x#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%QS%VV&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&XSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&XS%xZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&XS%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#sP&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&XSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&XSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&XSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&VSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&WP_4la&OZ&XSOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o;'S%Q;'S;=`&s<%lO%QU5xX#gQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU6lV#]Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7YZ&mR&XSOY%QYZ%lZr%Qrs%qsv%Qvw7{w!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU8SV#aQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8nZ&XSOY9aYZ%lZr9ars:osw9awx%Qx#O9a#O#P;y#P;'S9a;'S;=`@z<%lO9aT9fX&XSOY%QYZ%lZr%Qrs%qsw%Qwx:Rx;'S%Q;'S;=`&s<%lO%QT:YVbP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT:rXOY&ZYZ%lZr&Zrs&ysw&Zwx;_x;'S&Z;'S;=`'`<%lO&ZT;dVbPOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT_YZ%lZr>_rs?Zsw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_T>bZOY_YZ%lZr>_rs@Psw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_P@SVOY@PZw@Pwx@ix#O@P#P;'S@P;'S;=`@n<%lO@PP@nObPP@qP;=`<%l@PT@wP;=`<%l>_T@}P;=`<%l9a_AXVZZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVAuVYR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBeX$YP&XS#fQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVCXZ#eR&XSOY%QYZ%lZr%Qrs%qs{%Q{|Cz|!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVDRV#qR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDoVqR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVE][#eR&XSOY%QYZ%lZr%Qrs%qs}%Q}!OCz!O!_%Q!_!`6e!`!aFR!a;'S%Q;'S;=`&s<%lO%QVFYV&wR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_FvZWY&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGi!P!Q%Q!Q![Hw![;'S%Q;'S;=`&s<%lO%QVGnX&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHZ!P;'S%Q;'S;=`&s<%lO%QVHbV&pR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIOc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#R%Q#R#SNq#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTJbV&XS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTJ|]&XSOY%QYZ%lZr%Qrs%qs{%Q{|Ku|}%Q}!OKu!O!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTKzX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTLnc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![!f%Q!f!gJZ!g!h%Q!h!iJZ!i#R%Q#R#SMy#S#W%Q#W#XJZ#X#Y%Q#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTNOZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![#R%Q#R#SMy#S;'S%Q;'S;=`&s<%lO%QTNvZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![#R%Q#R#SNq#S;'S%Q;'S;=`&s<%lO%Q_! p]&XS#fQOY%QYZ%lZr%Qrs%qsz%Qz{!!i{!P%Q!P!Q!)[!Q!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%Q_!!nX&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!#`T&XSOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!#rTOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!$UVOz!#oz{!$R{!P!#o!P!Q!$k!Q;'S!#o;'S;=`!$p<%lO!#oZ!$pOQZZ!$sP;=`<%l!#o_!$yXOY!%fYZ!#ZZr!%frs!'psz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!%iXOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!&ZZ&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!'TV&XSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'mP;=`<%l!!i_!'sXOY!%fYZ!#ZZr!%frs!#osz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!(cZOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!)XP;=`<%l!%f_!)cV&XSPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!)}VPZOY!*dYZ%lZr!*drs!+Us;'S!*d;'S;=`!,X<%lO!*d_!*iVPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!+RP;=`<%l!)[_!+ZVPZOY!*dYZ%lZr!*drs!+ps;'S!*d;'S;=`!,X<%lO!*dZ!+uSPZOY!+pZ;'S!+p;'S;=`!,R<%lO!+pZ!,UP;=`<%l!+p_!,[P;=`<%l!*dT!,fu&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!d%Q!d!e!3a!e!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o!q%Q!q!r!5_!r!z%Q!z!{!7V!{#R%Q#R#S!2i#S#U%Q#U#V!3a#V#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a#c%Q#c#d!5_#d#l%Q#l#m!7V#m;'S%Q;'S;=`&s<%lO%QT!/Qa&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QT!0^i&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o#R%Q#R#S!2i#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!2SV&XS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2nZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0V![#R%Q#R#S!2i#S;'S%Q;'S;=`&s<%lO%QT!3fY&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S;'S%Q;'S;=`&s<%lO%QT!4]`&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S!n%Q!n!o!1{!o#R%Q#R#S!3a#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!5dX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y;'S%Q;'S;=`&s<%lO%QT!6W_&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y!n%Q!n!o!1{!o#R%Q#R#S!5_#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!7[_&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8Z!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i#T%Q#T#Z!:i#Z;'S%Q;'S;=`&s<%lO%QT!8`]&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i#T%Q#T#Z!9X#Z;'S%Q;'S;=`&s<%lO%QT!9^c&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i!r%Q!r!sJw!s#R%Q#R#S!8Z#S#T%Q#T#Z!9X#Z#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!:pi&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!<_!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i!n%Q!n!o!1{!o!r%Q!r!sJw!s#R%Q#R#S!=i#S#T%Q#T#Z!:i#Z#`%Q#`#a!1{#a#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!nX#oR&XSOY%QYZ%lZr%Qrs%qs![%Q![!]!?Z!];'S%Q;'S;=`&s<%lO%QV!?bV&uR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@OV!PR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@lY&^Z&XSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!A[!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AcX#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV!BVX!bR&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!ByY&]R&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Ci!a;'S%Q;'S;=`&s<%lO%QU!CpY#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`!a!A[!a;'S%Q;'S;=`&s<%lO%Q_!DiV&aX#nQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!EVX%|Z&XSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!Er#^;'S%Q;'S;=`&s<%lO%QV!EwX&XSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fd#c;'S%Q;'S;=`&s<%lO%QV!FiX&XSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!GU#i;'S%Q;'S;=`&s<%lO%QV!GZX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Gv#Y;'S%Q;'S;=`&s<%lO%QV!G{X&XSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hh#g;'S%Q;'S;=`&s<%lO%QV!HmX&XSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!IY#Z;'S%Q;'S;=`&s<%lO%QV!I_X&XSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!Iz#U;'S%Q;'S;=`&s<%lO%QV!JPX&XSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Jl#W;'S%Q;'S;=`&s<%lO%QV!JqX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!K^#Y;'S%Q;'S;=`&s<%lO%QV!KeV&sR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!LRa&QZ&XSOY%QYZ%lZr%Qrs%qst%Qtu!Kzu!Q%Q!Q![!Kz![!c%Q!c!}!Kz!}#R%Q#R#S!Kz#S#T%Q#T#o!Kz#o;'S%Q;'S;=`&s<%lO%Q_!M_VuZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!M{VsR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!NiX#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV# ]V}R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_# {Z&}X#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`#p%Q#p#q#!n#q;'S%Q;'S;=`&s<%lO%QU#!uV#dQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##cV|R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$PV#tP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,193]},dynamicPrecedences:{27:1,231:-1,242:-1},specialized:[{term:230,get:Q=>o[Q]||-1}],tokenPrec:6995}),T=r.define({name:"java",parser:c.configure({props:[s.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:S,SwitchBlock:Q=>{let P=Q.textAfter,a=/^\s*\}/.test(P),i=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(a?0:i?1:2)*Q.unit},Block:l({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),Z.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":Y,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function f(){return new t(T)}export{f as java,T as javaLanguage}; diff --git a/public/admin/assets/index-CdsDfwEH.js b/public/admin/assets/index-CdsDfwEH.js new file mode 100644 index 0000000..5d3c833 --- /dev/null +++ b/public/admin/assets/index-CdsDfwEH.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-jIq18U01.js";import"./HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js";import"./index-CAe0BuuW.js";import"./HKbd-ajmXhnhP.js";export{o as default}; diff --git a/public/admin/assets/index-CS8LAyXh.js b/public/admin/assets/index-CprVCdi5.js similarity index 95% rename from public/admin/assets/index-CS8LAyXh.js rename to public/admin/assets/index-CprVCdi5.js index e81baec..6ea2bc0 100644 --- a/public/admin/assets/index-CS8LAyXh.js +++ b/public/admin/assets/index-CprVCdi5.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as D,N as O,u as M,p as $,i as g,g as b,z as C,w as _,b as F,c as I,s as B,F as H,ag as L,A as V,h as U,t as z,l as G}from"./index-DEc4xym2.js";import q from"./index-D2N8hAxR.js";import{_ as J}from"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js";function K(t){for(var a=[],e=0;e=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){d+=t[r++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(e));a.push({type:"NAME",index:e,value:d}),e=r;continue}if(u==="("){var f=1,o="",r=e+1;if(t[r]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(r));for(;r{const r=[];return e.settings.home.enable&&r.push({path:e.settings.home.fullPath,title:e.settings.home.title}),a.meta.breadcrumbNeste&&a.meta.breadcrumbNeste.forEach(i=>{i.hide===!1&&r.push({path:i.path,title:i.title})}),r});function d(r){return W(r)(a.params)}return(r,i)=>g(e).mode==="pc"&&g(e).settings.app.routeBaseOn!=="filesystem"?(b(),C(q,{key:0,class:"breadcrumb whitespace-nowrap px-2"},{default:_(()=>[F(L,{name:"breadcrumb"},{default:_(()=>[(b(!0),I(H,null,B(g(u),(f,o)=>(b(),C(J,{key:`${o}_${f.path}_${f.title}`,to:o[U(z(f.title),1)]),_:2},1032,["to"]))),128))]),_:1})]),_:1})):V("",!0)}}),re=G(j,[["__scopeId","data-v-3d594f3a"]]);export{re as default}; +import{d as D,N as O,u as M,p as $,i as g,g as b,z as C,w as _,b as F,c as I,s as B,F as H,ag as L,A as V,h as U,t as z,l as G}from"./index-CAe0BuuW.js";import q from"./index-BhXahEts.js";import{_ as J}from"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";function K(t){for(var a=[],e=0;e=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){d+=t[r++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(e));a.push({type:"NAME",index:e,value:d}),e=r;continue}if(u==="("){var f=1,o="",r=e+1;if(t[r]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(r));for(;r{const r=[];return e.settings.home.enable&&r.push({path:e.settings.home.fullPath,title:e.settings.home.title}),a.meta.breadcrumbNeste&&a.meta.breadcrumbNeste.forEach(i=>{i.hide===!1&&r.push({path:i.path,title:i.title})}),r});function d(r){return W(r)(a.params)}return(r,i)=>g(e).mode==="pc"&&g(e).settings.app.routeBaseOn!=="filesystem"?(b(),C(q,{key:0,class:"breadcrumb whitespace-nowrap px-2"},{default:_(()=>[F(L,{name:"breadcrumb"},{default:_(()=>[(b(!0),I(H,null,B(g(u),(f,o)=>(b(),C(J,{key:`${o}_${f.path}_${f.title}`,to:o[U(z(f.title),1)]),_:2},1032,["to"]))),128))]),_:1})]),_:1})):V("",!0)}}),re=G(j,[["__scopeId","data-v-3d594f3a"]]);export{re as default}; diff --git a/public/admin/assets/index-Czbj0ARg.js b/public/admin/assets/index-Czbj0ARg.js deleted file mode 100644 index 5b2edff..0000000 --- a/public/admin/assets/index-Czbj0ARg.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 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-DEc4xym2.js";import{_ as l}from"./leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js";import{_}from"./rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.js";import"./index-CS8LAyXh.js";import"./index-D2N8hAxR.js";import"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.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 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-JHG2D0zu.js b/public/admin/assets/index-D0L5MP4D.js similarity index 96% rename from public/admin/assets/index-JHG2D0zu.js rename to public/admin/assets/index-D0L5MP4D.js index d8a7b01..a456603 100644 --- a/public/admin/assets/index-JHG2D0zu.js +++ b/public/admin/assets/index-D0L5MP4D.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s as q,t as r,v as i,L as P,a as g,b as c,q as R,r as l,E as p}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let t=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>t&&O.acceptToken(b)});function n(O,t,a){return new p(e=>{let u=e.pos;for(;e.next!=O&&e.next>=0&&(a||e.next!=38&&(e.next!=123||e.peek(1)!=123));)e.advance();e.pos>u&&e.acceptToken(t)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=c.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,t)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=R();function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,t){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(t.read(O.from,O.to))?N:null;case"Text":return E}return null}function _(O={}){let t=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof P))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new g(t.language==s.language?k:S(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{_ as angular,k as angularLanguage}; +import{s as q,t as r,v as i,L as P,a as g,b as c,q as R,r as l,E as p}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 b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let t=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>t&&O.acceptToken(b)});function n(O,t,a){return new p(e=>{let u=e.pos;for(;e.next!=O&&e.next>=0&&(a||e.next!=38&&(e.next!=123||e.peek(1)!=123));)e.advance();e.pos>u&&e.acceptToken(t)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=c.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,t)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=R();function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,t){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(t.read(O.from,O.to))?N:null;case"Text":return E}return null}function _(O={}){let t=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof P))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new g(t.language==s.language?k:S(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{_ as angular,k as angularLanguage}; diff --git a/public/admin/assets/index-D74dhXQj.js b/public/admin/assets/index-D74dhXQj.js deleted file mode 100644 index f520278..0000000 --- a/public/admin/assets/index-D74dhXQj.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-DPAufHtz.js";import"./HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js";import"./index-DEc4xym2.js";import"./HKbd-Dkpr3OfM.js";export{o as default}; diff --git a/public/admin/assets/index-4viECmb8.js b/public/admin/assets/index-DCWE6mb8.js similarity index 99% rename from public/admin/assets/index-4viECmb8.js rename to public/admin/assets/index-DCWE6mb8.js index b067a6f..a5d18a4 100644 --- a/public/admin/assets/index-4viECmb8.js +++ b/public/admin/assets/index-DCWE6mb8.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{E as o,C as G,s as u,t as $,b as V,L as x,f as z,k as _,i as Y,c as v,n as b,a as E}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const w=150,P=151,C=152,N=1,I=2,f=3,F=153,D=154,p=4,L=5,K=155,k=156,Z=157,s=158,j=6,W=7,A=8,B=9,S=0,i=[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],J=58,H=40,h=95,M=91,l=45,OO=46,y=35,$O=37,T=123,eO=125,r=47,c=42,R=10,q=61,aO=43,QO=38;function d(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function U(O){return O>=48&&O<=57}function m(O){let e;return O.next==r&&((e=O.peek(1))==r||e==c)}const nO=new o((O,e)=>{if(e.dialectEnabled(S)){let a;if(O.next<0&&e.canShift(Z))O.acceptToken(Z);else if(((a=O.peek(-1))==R||a<0)&&e.canShift(k)){let Q=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),Q++;O.next==R||m(O)?O.acceptToken(k,-Q):Q&&O.acceptToken(s)}else if(O.next==R)O.acceptToken(K,1);else if(i.includes(O.next)){for(O.advance();O.next!=R&&i.includes(O.next);)O.advance();O.acceptToken(s)}}else{let a=0;for(;i.includes(O.next);)O.advance(),a++;a&&O.acceptToken(s)}},{contextual:!0}),tO=new o((O,e)=>{if(m(O)){if(O.advance(),e.dialectEnabled(S)){let a=-1;for(let Q=1;;Q++){let n=O.peek(-Q-1);if(n==R||n<0){a=Q+1;break}else if(!i.includes(n))break}if(a>-1){let Q=O.next==c,n=0;for(O.advance();O.next>=0;)if(O.next==R){O.advance();let t=0;for(;O.next!=R&&i.includes(O.next);)t++,O.advance();if(t=0;)O.advance();O.acceptToken(j)}else{for(O.advance();O.next>=0;){let{next:a}=O;if(O.advance(),a==c&&O.next==r){O.advance();break}}O.acceptToken(W)}}}),RO=new o((O,e)=>{(O.next==aO||O.next==q)&&e.dialectEnabled(S)&&O.acceptToken(O.next==q?A:B,1)}),iO=new o((O,e)=>{if(!e.dialectEnabled(S))return;let a=e.context.depth;if(O.next<0&&a){O.acceptToken(P);return}if(O.peek(-1)==R){let n=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),n++;n!=a&&O.next!=R&&!m(O)&&(n{for(let a=!1,Q=0,n=0;;n++){let{next:t}=O;if(d(t)||t==l||t==h||a&&U(t))!a&&(t!=l||n>0)&&(a=!0),Q===n&&t==l&&Q++,O.advance();else if(t==y&&O.peek(1)==T){O.acceptToken(L,2);break}else{a&&O.acceptToken(t==H?F:Q==2&&e.canShift(p)?p:D);break}}}),lO=new o(O=>{if(O.next==eO){for(O.advance();d(O.next)||O.next==l||O.next==h||U(O.next);)O.advance();O.next==y&&O.peek(1)==T?O.acceptToken(I,2):O.acceptToken(N)}}),rO=new o(O=>{if(i.includes(O.peek(-1))){let{next:e}=O;(d(e)||e==h||e==y||e==OO||e==M||e==J||e==l||e==QO)&&O.acceptToken(C)}}),dO=new o(O=>{if(!i.includes(O.peek(-1))){let{next:e}=O;if(e==$O&&(O.advance(),O.acceptToken(f)),d(e)){do O.advance();while(d(O.next));O.acceptToken(f)}}});function g(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const cO=new g(null,0),SO=new G({start:cO,shift(O,e,a,Q){return e==w?new g(O,a.pos-Q.pos):e==P?O.parent:O},hash(O){return O.hash}}),sO=u({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.definitionKeyword,"Keyword selector":$.keyword,ControlKeyword:$.controlKeyword,NamespaceName:$.namespace,KeyframeName:$.labelName,TagName:$.tagName,"ClassName Suffix":$.className,PseudoClassName:$.constant($.className),IdName:$.labelName,"FeatureName PropertyName":$.propertyName,AttributeName:$.attributeName,NumberLiteral:$.number,KeywordQuery:$.keyword,UnaryQueryOp:$.operatorKeyword,"CallTag ValueName":$.atom,VariableName:$.variableName,SassVariableName:$.special($.variableName),Callee:$.operatorKeyword,Unit:$.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.definitionOperator,MatchOp:$.compareOperator,"ChildOp SiblingOp, LogicOp":$.logicOperator,BinOp:$.arithmeticOperator,"Important Global Default":$.modifier,Comment:$.blockComment,LineComment:$.lineComment,ColorLiteral:$.color,"ParenthesizedContent StringLiteral":$.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.meta,': "..."':$.punctuation,"PseudoOp #":$.derefOperator,"; ,":$.separator,"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace}),PO={__proto__:null,not:62,only:62,using:173,as:183,with:187,without:187,hide:201,show:201,from:224,to:226,if:239,through:245,in:251},XO={__proto__:null,url:80,"url-prefix":80,domain:80,regexp:80,lang:94,"nth-child":94,"nth-last-child":94,"nth-of-type":94,"nth-last-of-type":94,dir:94,"host-context":94,selector:166},hO={__proto__:null,"@import":150,"@include":170,"@mixin":176,"@function":176,"@use":180,"@extend":190,"@at-root":194,"@forward":198,"@media":204,"@charset":208,"@namespace":212,"@keyframes":218,"@supports":230,"@if":234,"@else":236,"@for":242,"@each":248,"@while":254,"@debug":258,"@warn":258,"@error":258,"@return":258},yO=V.deserialize({version:14,states:"KOQ`Q+tOOO#cQ+tOOP#jOpOOOOQ#U'#Ch'#ChO#oQ(pO'#CjOOQ#U'#Ci'#CiO%[Q)QO'#FtO%oQ.jO'#CnO&gQ#dO'#DWO'^Q(pO'#CgO'eQ)OO'#DYO'pQ#dO'#DaO'uQ#dO'#DeOOQ#U'#Ft'#FtO'zQ(pO'#FtO(RQ(nO'#DpO%oQ.jO'#DwO%oQ.jO'#ESO%oQ.jO'#EVO%oQ.jO'#EXO(WQ)OO'#E^O(uQ)OO'#E`O%oQ.jO'#EbO)SQ)OO'#EeO%oQ.jO'#EgO)nQ)OO'#EiO)yQ#dO'#ElO*OQ)OO'#ErO*dQ)OO'#FSOOQ&Z'#Fs'#FsOOQ&Y'#FV'#FVO*nQ(nO'#FVQ`Q+tOOO%oQ.jO'#EtO*yQ(nO'#ExO+OQ)OO'#E{O%oQ.jO'#FOO%oQ.jO'#FQOOQ&Z'#F^'#F^O+WQ+uO'#F|O+eQ(oO'#F|QOQ#SOOP+yO#SO'#FrPOOO)CAg)CAgOOQ#U'#Cm'#CmOOQ#U,59W,59WOOQ#i'#Cp'#CpO%oQ.jO'#CsO,XQ.wO'#CuO.tQ.^O,59YO%oQ.jO'#CzOOQ#S'#DO'#DOO/VQ(nO'#DTOOQ#i'#Fv'#FvO/[Q(nO'#C}OOQ#U'#DX'#DXOOQ#U,59r,59rO&gQ#dO,59rO/aQ)OO,59tO'pQ#dO,59{O'uQ#dO,5:PO(WQ)OO,5:TO(WQ)OO,5:VO(WQ)OO,5:WO(WQ)OO'#F]O/lQ(nO,59RO/wQ+tO'#DnO0OQ#TO'#DnOOQ&Z,59R,59ROOQ#U'#D['#D[OOQ#S'#D_'#D_OOQ#U,59t,59tO0TQ(nO,59tO0YQ(nO,59tOOQ#U'#Dc'#DcOOQ#U,59{,59{OOQ#S'#Dg'#DgO0_Q9`O,5:PO0gQ.jO,5:[O0qQ.jO,5:cO1jQ.jO,5:nO1wQ.YO,5:qO2YQ.jO,5:sOOQ#U'#Cj'#CjO3RQ(pO,5:xO3`Q(pO,5:zOOQ&Z,5:z,5:zO3gQ)OO,5:zO3lQ.jO,5:|OOQ#S'#Dz'#DzO4[Q)OO'#EPO4cQ(nO'#GOO*OQ)OO'#EOO4wQ(nO'#EQOOQ#S'#GP'#GPO/oQ(nO,5;PO2`Q.YO,5;ROOQ#d'#Ek'#EkO*nQ(nO,5;TO4|Q)OO,5;TOOQ#S'#En'#EnO5UQ(nO,5;WO5ZQ(nO,5;^O5fQ(nO,5;nOOQ&Z'#F}'#F}OOQ&Y,5;q,5;qOOQ&Y-E9T-E9TO1wQ.YO,5;`O5tQ)OO,5;dO5yQ)OO'#GRO6RQ)OO,5;gO1wQ.YO,5;jO2`Q.YO,5;lOOQ&Z-E9[-E9[O6WQ(oO,5^Q(pO,5;wOOQ#S-E9Z-E9ZOOQ&Z1G.m1G.mO>kQ(nO,5:YO>pQ+uO,5:YO>wQ)OO'#D`O?OQ.jO'#D^OOQ#U1G/k1G/kO%oQ.jO1G/kO?VQ.kO1G/vOOQ#T1G/v1G/vO*nQ(nO1G/}O@SQ+uO'#F}OOQ&Z1G0Y1G0YO/[Q(nO1G0YOOQ&Z1G0]1G0]OOQ&Z1G0_1G0_O/[Q(nO1G0_OBlQ)OO1G0_OOQ&Z1G0d1G0dOOQ&Z1G0f1G0fOBtQ)OO1G0fOByQ(nO1G0fOCOQ)OO1G0hOOQ&Z1G0h1G0hOC^Q.jO'#FbOCnQ#dO1G0hOCsQ(nO'#DzODOQ(nO,5:gODTQ(nO,5:kO*OQ)OO,5:iOD]Q)OO'#FaODpQ(nO,5]AN>]O!/jQ(pO,5;vOOQ#S-E9Y-E9YO!/tQ.jO,5;uOOQ#S-E9X-E9XO*nQ(nOAN?PO!0OQ(nOAN?WO/oQ(nOAN?WO!0WQ.jO,5;}OOQ#d-E9a-E9aOCOQ)OOAN?YOOQ&ZAN?YAN?YOOQ#S<[z{>a{|>z|}Cm}!ODO!O!PDm!P!Q;h!Q![FW![!]GR!]!^G}!^!_H`!_!`Hw!`!aI`!a!b#r!b!cJa!c!}#r!}#OKy#O#P#r#P#QL[#Q#RLm#R#T#r#T#UMS#U#c#r#c#dNe#d#o#r#o#pNz#p#qLm#q#r! ]#r#s! n#s;'S#r;'S;=`!!V<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSyWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSyWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UyWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUyWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UyWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUyWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UyWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUyWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!hQyWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UyWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUyWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UyWOy$Rz#U$R#U#V*r#V;'S$R;'S;=`$d<%lO$RY*wUyWOy$Rz#T$R#T#U+Z#U;'S$R;'S;=`$d<%lO$RY+`UyWOy$Rz#`$R#`#a+r#a;'S$R;'S;=`$d<%lO$RY+yS!gQyWOy$Rz;'S$R;'S;=`$d<%lO$RY,[UyWOy$Rz#a$R#a#b,n#b;'S$R;'S;=`$d<%lO$RY,sUyWOy$Rz#d$R#d#e-V#e;'S$R;'S;=`$d<%lO$RY-[UyWOy$Rz#c$R#c#d-n#d;'S$R;'S;=`$d<%lO$RY-sUyWOy$Rz#f$R#f#g.V#g;'S$R;'S;=`$d<%lO$RY.[UyWOy$Rz#h$R#h#i.n#i;'S$R;'S;=`$d<%lO$RY.sUyWOy$Rz#T$R#T#U/V#U;'S$R;'S;=`$d<%lO$RY/[UyWOy$Rz#b$R#b#c/n#c;'S$R;'S;=`$d<%lO$RY/sUyWOy$Rz#h$R#h#i0V#i;'S$R;'S;=`$d<%lO$RY0^S!fQyWOy$Rz;'S$R;'S;=`$d<%lO$R~0mWOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W<%lO0j~1[Oj~~1_RO;'S0j;'S;=`1h;=`O0j~1kXOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W;=`<%l0j<%lO0j~2ZP;=`<%l0jZ2cY!UPOy$Rz!Q$R!Q![3R![!c$R!c!i3R!i#T$R#T#Z3R#Z;'S$R;'S;=`$d<%lO$RY3WYyWOy$Rz!Q$R!Q![3v![!c$R!c!i3v!i#T$R#T#Z3v#Z;'S$R;'S;=`$d<%lO$RY3{YyWOy$Rz!Q$R!Q![4k![!c$R!c!i4k!i#T$R#T#Z4k#Z;'S$R;'S;=`$d<%lO$RY4rYhQyWOy$Rz!Q$R!Q![5b![!c$R!c!i5b!i#T$R#T#Z5b#Z;'S$R;'S;=`$d<%lO$RY5iYhQyWOy$Rz!Q$R!Q![6X![!c$R!c!i6X!i#T$R#T#Z6X#Z;'S$R;'S;=`$d<%lO$RY6^YyWOy$Rz!Q$R!Q![6|![!c$R!c!i6|!i#T$R#T#Z6|#Z;'S$R;'S;=`$d<%lO$RY7TYhQyWOy$Rz!Q$R!Q![7s![!c$R!c!i7s!i#T$R#T#Z7s#Z;'S$R;'S;=`$d<%lO$RY7xYyWOy$Rz!Q$R!Q![8h![!c$R!c!i8h!i#T$R#T#Z8h#Z;'S$R;'S;=`$d<%lO$RY8oShQyWOy$Rz;'S$R;'S;=`$d<%lO$R_9O`Oy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!_$R!_!`;T!`!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$RZ:X^yWcROy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$R[;[S![SyWOy$Rz;'S$R;'S;=`$d<%lO$RY;mSlQOy$Rz;'S$R;'S;=`$d<%lO$RZOSfROy$Rz;'S$R;'S;=`$d<%lO$R~>aOe~_>hU$iPlQOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZ?RWlQ!aPOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZ?pUyWOy$Rz!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RZ@ZYyW$kROy$Rz!Q$R!Q![@S![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZAOYyWOy$Rz{$R{|An|}$R}!OAn!O!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZAsUyWOy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZB^UyW$kROy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZBw[yW$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZCrSvROy$Rz;'S$R;'S;=`$d<%lO$RZDTWlQOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZDrW$lROy$Rz!O$R!O!PE[!P!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RYEaUyWOy$Rz!O$R!O!PEs!P;'S$R;'S;=`$d<%lO$RYEzSuQyWOy$Rz;'S$R;'S;=`$d<%lO$RZF][$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZGWUtROy$Rz![$R![!]Gj!];'S$R;'S;=`$d<%lO$RXGqS}PyWOy$Rz;'S$R;'S;=`$d<%lO$RZHSS!iROy$Rz;'S$R;'S;=`$d<%lO$RYHeUlQOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$R^H|U![SOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$RZIgV!^PlQOy$Rz!_$R!_!`%c!`!aI|!a;'S$R;'S;=`$d<%lO$RXJTS!^PyWOy$Rz;'S$R;'S;=`$d<%lO$RXJdWOy$Rz!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXKT[!lPyWOy$Rz}$R}!OJ|!O!Q$R!Q![J|![!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXLOS!YPOy$Rz;'S$R;'S;=`$d<%lO$R^LaS!WUOy$Rz;'S$R;'S;=`$d<%lO$R[LpUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZMVUOy$Rz#b$R#b#cMi#c;'S$R;'S;=`$d<%lO$RZMnUyWOy$Rz#W$R#W#XNQ#X;'S$R;'S;=`$d<%lO$RZNXSmRyWOy$Rz;'S$R;'S;=`$d<%lO$RZNhUOy$Rz#f$R#f#gNQ#g;'S$R;'S;=`$d<%lO$RZ! PS!cROy$Rz;'S$R;'S;=`$d<%lO$RZ! bS!jROy$Rz;'S$R;'S;=`$d<%lO$R]! sU!aPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!!YP;=`<%l#r",tokenizers:[iO,rO,lO,dO,oO,nO,tO,RO,0,1,2,3],topRules:{StyleSheet:[0,10],Styles:[1,131]},dialects:{indented:0},specialized:[{term:154,get:O=>PO[O]||-1},{term:153,get:O=>XO[O]||-1},{term:74,get:O=>hO[O]||-1}],tokenPrec:2863}),X=x.define({name:"sass",parser:yO.configure({props:[z.add({Block:_,Comment(O,e){return{from:O.from+2,to:e.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),Y.add({Declaration:v()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),mO=X.configure({dialect:"indented",props:[Y.add({"Block RuleSet":O=>O.baseIndent+O.unit}),z.add({Block:O=>({from:O.from,to:O.to})})]}),fO=b(O=>O.name=="VariableName"||O.name=="SassVariableName");function WO(O){return new E(O!=null&&O.indented?mO:X,X.data.of({autocomplete:fO}))}export{WO as sass,fO as sassCompletionSource,X as sassLanguage}; +import{E as o,C as G,s as u,t as $,b as V,L as x,f as z,k as _,i as Y,c as v,n as b,a as E}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 w=150,P=151,C=152,N=1,I=2,f=3,F=153,D=154,p=4,L=5,K=155,k=156,Z=157,s=158,j=6,W=7,A=8,B=9,S=0,i=[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],J=58,H=40,h=95,M=91,l=45,OO=46,y=35,$O=37,T=123,eO=125,r=47,c=42,R=10,q=61,aO=43,QO=38;function d(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function U(O){return O>=48&&O<=57}function m(O){let e;return O.next==r&&((e=O.peek(1))==r||e==c)}const nO=new o((O,e)=>{if(e.dialectEnabled(S)){let a;if(O.next<0&&e.canShift(Z))O.acceptToken(Z);else if(((a=O.peek(-1))==R||a<0)&&e.canShift(k)){let Q=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),Q++;O.next==R||m(O)?O.acceptToken(k,-Q):Q&&O.acceptToken(s)}else if(O.next==R)O.acceptToken(K,1);else if(i.includes(O.next)){for(O.advance();O.next!=R&&i.includes(O.next);)O.advance();O.acceptToken(s)}}else{let a=0;for(;i.includes(O.next);)O.advance(),a++;a&&O.acceptToken(s)}},{contextual:!0}),tO=new o((O,e)=>{if(m(O)){if(O.advance(),e.dialectEnabled(S)){let a=-1;for(let Q=1;;Q++){let n=O.peek(-Q-1);if(n==R||n<0){a=Q+1;break}else if(!i.includes(n))break}if(a>-1){let Q=O.next==c,n=0;for(O.advance();O.next>=0;)if(O.next==R){O.advance();let t=0;for(;O.next!=R&&i.includes(O.next);)t++,O.advance();if(t=0;)O.advance();O.acceptToken(j)}else{for(O.advance();O.next>=0;){let{next:a}=O;if(O.advance(),a==c&&O.next==r){O.advance();break}}O.acceptToken(W)}}}),RO=new o((O,e)=>{(O.next==aO||O.next==q)&&e.dialectEnabled(S)&&O.acceptToken(O.next==q?A:B,1)}),iO=new o((O,e)=>{if(!e.dialectEnabled(S))return;let a=e.context.depth;if(O.next<0&&a){O.acceptToken(P);return}if(O.peek(-1)==R){let n=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),n++;n!=a&&O.next!=R&&!m(O)&&(n{for(let a=!1,Q=0,n=0;;n++){let{next:t}=O;if(d(t)||t==l||t==h||a&&U(t))!a&&(t!=l||n>0)&&(a=!0),Q===n&&t==l&&Q++,O.advance();else if(t==y&&O.peek(1)==T){O.acceptToken(L,2);break}else{a&&O.acceptToken(t==H?F:Q==2&&e.canShift(p)?p:D);break}}}),lO=new o(O=>{if(O.next==eO){for(O.advance();d(O.next)||O.next==l||O.next==h||U(O.next);)O.advance();O.next==y&&O.peek(1)==T?O.acceptToken(I,2):O.acceptToken(N)}}),rO=new o(O=>{if(i.includes(O.peek(-1))){let{next:e}=O;(d(e)||e==h||e==y||e==OO||e==M||e==J||e==l||e==QO)&&O.acceptToken(C)}}),dO=new o(O=>{if(!i.includes(O.peek(-1))){let{next:e}=O;if(e==$O&&(O.advance(),O.acceptToken(f)),d(e)){do O.advance();while(d(O.next));O.acceptToken(f)}}});function g(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const cO=new g(null,0),SO=new G({start:cO,shift(O,e,a,Q){return e==w?new g(O,a.pos-Q.pos):e==P?O.parent:O},hash(O){return O.hash}}),sO=u({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.definitionKeyword,"Keyword selector":$.keyword,ControlKeyword:$.controlKeyword,NamespaceName:$.namespace,KeyframeName:$.labelName,TagName:$.tagName,"ClassName Suffix":$.className,PseudoClassName:$.constant($.className),IdName:$.labelName,"FeatureName PropertyName":$.propertyName,AttributeName:$.attributeName,NumberLiteral:$.number,KeywordQuery:$.keyword,UnaryQueryOp:$.operatorKeyword,"CallTag ValueName":$.atom,VariableName:$.variableName,SassVariableName:$.special($.variableName),Callee:$.operatorKeyword,Unit:$.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.definitionOperator,MatchOp:$.compareOperator,"ChildOp SiblingOp, LogicOp":$.logicOperator,BinOp:$.arithmeticOperator,"Important Global Default":$.modifier,Comment:$.blockComment,LineComment:$.lineComment,ColorLiteral:$.color,"ParenthesizedContent StringLiteral":$.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.meta,': "..."':$.punctuation,"PseudoOp #":$.derefOperator,"; ,":$.separator,"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace}),PO={__proto__:null,not:62,only:62,using:173,as:183,with:187,without:187,hide:201,show:201,from:224,to:226,if:239,through:245,in:251},XO={__proto__:null,url:80,"url-prefix":80,domain:80,regexp:80,lang:94,"nth-child":94,"nth-last-child":94,"nth-of-type":94,"nth-last-of-type":94,dir:94,"host-context":94,selector:166},hO={__proto__:null,"@import":150,"@include":170,"@mixin":176,"@function":176,"@use":180,"@extend":190,"@at-root":194,"@forward":198,"@media":204,"@charset":208,"@namespace":212,"@keyframes":218,"@supports":230,"@if":234,"@else":236,"@for":242,"@each":248,"@while":254,"@debug":258,"@warn":258,"@error":258,"@return":258},yO=V.deserialize({version:14,states:"KOQ`Q+tOOO#cQ+tOOP#jOpOOOOQ#U'#Ch'#ChO#oQ(pO'#CjOOQ#U'#Ci'#CiO%[Q)QO'#FtO%oQ.jO'#CnO&gQ#dO'#DWO'^Q(pO'#CgO'eQ)OO'#DYO'pQ#dO'#DaO'uQ#dO'#DeOOQ#U'#Ft'#FtO'zQ(pO'#FtO(RQ(nO'#DpO%oQ.jO'#DwO%oQ.jO'#ESO%oQ.jO'#EVO%oQ.jO'#EXO(WQ)OO'#E^O(uQ)OO'#E`O%oQ.jO'#EbO)SQ)OO'#EeO%oQ.jO'#EgO)nQ)OO'#EiO)yQ#dO'#ElO*OQ)OO'#ErO*dQ)OO'#FSOOQ&Z'#Fs'#FsOOQ&Y'#FV'#FVO*nQ(nO'#FVQ`Q+tOOO%oQ.jO'#EtO*yQ(nO'#ExO+OQ)OO'#E{O%oQ.jO'#FOO%oQ.jO'#FQOOQ&Z'#F^'#F^O+WQ+uO'#F|O+eQ(oO'#F|QOQ#SOOP+yO#SO'#FrPOOO)CAg)CAgOOQ#U'#Cm'#CmOOQ#U,59W,59WOOQ#i'#Cp'#CpO%oQ.jO'#CsO,XQ.wO'#CuO.tQ.^O,59YO%oQ.jO'#CzOOQ#S'#DO'#DOO/VQ(nO'#DTOOQ#i'#Fv'#FvO/[Q(nO'#C}OOQ#U'#DX'#DXOOQ#U,59r,59rO&gQ#dO,59rO/aQ)OO,59tO'pQ#dO,59{O'uQ#dO,5:PO(WQ)OO,5:TO(WQ)OO,5:VO(WQ)OO,5:WO(WQ)OO'#F]O/lQ(nO,59RO/wQ+tO'#DnO0OQ#TO'#DnOOQ&Z,59R,59ROOQ#U'#D['#D[OOQ#S'#D_'#D_OOQ#U,59t,59tO0TQ(nO,59tO0YQ(nO,59tOOQ#U'#Dc'#DcOOQ#U,59{,59{OOQ#S'#Dg'#DgO0_Q9`O,5:PO0gQ.jO,5:[O0qQ.jO,5:cO1jQ.jO,5:nO1wQ.YO,5:qO2YQ.jO,5:sOOQ#U'#Cj'#CjO3RQ(pO,5:xO3`Q(pO,5:zOOQ&Z,5:z,5:zO3gQ)OO,5:zO3lQ.jO,5:|OOQ#S'#Dz'#DzO4[Q)OO'#EPO4cQ(nO'#GOO*OQ)OO'#EOO4wQ(nO'#EQOOQ#S'#GP'#GPO/oQ(nO,5;PO2`Q.YO,5;ROOQ#d'#Ek'#EkO*nQ(nO,5;TO4|Q)OO,5;TOOQ#S'#En'#EnO5UQ(nO,5;WO5ZQ(nO,5;^O5fQ(nO,5;nOOQ&Z'#F}'#F}OOQ&Y,5;q,5;qOOQ&Y-E9T-E9TO1wQ.YO,5;`O5tQ)OO,5;dO5yQ)OO'#GRO6RQ)OO,5;gO1wQ.YO,5;jO2`Q.YO,5;lOOQ&Z-E9[-E9[O6WQ(oO,5^Q(pO,5;wOOQ#S-E9Z-E9ZOOQ&Z1G.m1G.mO>kQ(nO,5:YO>pQ+uO,5:YO>wQ)OO'#D`O?OQ.jO'#D^OOQ#U1G/k1G/kO%oQ.jO1G/kO?VQ.kO1G/vOOQ#T1G/v1G/vO*nQ(nO1G/}O@SQ+uO'#F}OOQ&Z1G0Y1G0YO/[Q(nO1G0YOOQ&Z1G0]1G0]OOQ&Z1G0_1G0_O/[Q(nO1G0_OBlQ)OO1G0_OOQ&Z1G0d1G0dOOQ&Z1G0f1G0fOBtQ)OO1G0fOByQ(nO1G0fOCOQ)OO1G0hOOQ&Z1G0h1G0hOC^Q.jO'#FbOCnQ#dO1G0hOCsQ(nO'#DzODOQ(nO,5:gODTQ(nO,5:kO*OQ)OO,5:iOD]Q)OO'#FaODpQ(nO,5]AN>]O!/jQ(pO,5;vOOQ#S-E9Y-E9YO!/tQ.jO,5;uOOQ#S-E9X-E9XO*nQ(nOAN?PO!0OQ(nOAN?WO/oQ(nOAN?WO!0WQ.jO,5;}OOQ#d-E9a-E9aOCOQ)OOAN?YOOQ&ZAN?YAN?YOOQ#S<[z{>a{|>z|}Cm}!ODO!O!PDm!P!Q;h!Q![FW![!]GR!]!^G}!^!_H`!_!`Hw!`!aI`!a!b#r!b!cJa!c!}#r!}#OKy#O#P#r#P#QL[#Q#RLm#R#T#r#T#UMS#U#c#r#c#dNe#d#o#r#o#pNz#p#qLm#q#r! ]#r#s! n#s;'S#r;'S;=`!!V<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSyWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSyWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UyWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUyWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UyWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUyWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UyWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUyWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!hQyWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UyWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUyWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UyWOy$Rz#U$R#U#V*r#V;'S$R;'S;=`$d<%lO$RY*wUyWOy$Rz#T$R#T#U+Z#U;'S$R;'S;=`$d<%lO$RY+`UyWOy$Rz#`$R#`#a+r#a;'S$R;'S;=`$d<%lO$RY+yS!gQyWOy$Rz;'S$R;'S;=`$d<%lO$RY,[UyWOy$Rz#a$R#a#b,n#b;'S$R;'S;=`$d<%lO$RY,sUyWOy$Rz#d$R#d#e-V#e;'S$R;'S;=`$d<%lO$RY-[UyWOy$Rz#c$R#c#d-n#d;'S$R;'S;=`$d<%lO$RY-sUyWOy$Rz#f$R#f#g.V#g;'S$R;'S;=`$d<%lO$RY.[UyWOy$Rz#h$R#h#i.n#i;'S$R;'S;=`$d<%lO$RY.sUyWOy$Rz#T$R#T#U/V#U;'S$R;'S;=`$d<%lO$RY/[UyWOy$Rz#b$R#b#c/n#c;'S$R;'S;=`$d<%lO$RY/sUyWOy$Rz#h$R#h#i0V#i;'S$R;'S;=`$d<%lO$RY0^S!fQyWOy$Rz;'S$R;'S;=`$d<%lO$R~0mWOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W<%lO0j~1[Oj~~1_RO;'S0j;'S;=`1h;=`O0j~1kXOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W;=`<%l0j<%lO0j~2ZP;=`<%l0jZ2cY!UPOy$Rz!Q$R!Q![3R![!c$R!c!i3R!i#T$R#T#Z3R#Z;'S$R;'S;=`$d<%lO$RY3WYyWOy$Rz!Q$R!Q![3v![!c$R!c!i3v!i#T$R#T#Z3v#Z;'S$R;'S;=`$d<%lO$RY3{YyWOy$Rz!Q$R!Q![4k![!c$R!c!i4k!i#T$R#T#Z4k#Z;'S$R;'S;=`$d<%lO$RY4rYhQyWOy$Rz!Q$R!Q![5b![!c$R!c!i5b!i#T$R#T#Z5b#Z;'S$R;'S;=`$d<%lO$RY5iYhQyWOy$Rz!Q$R!Q![6X![!c$R!c!i6X!i#T$R#T#Z6X#Z;'S$R;'S;=`$d<%lO$RY6^YyWOy$Rz!Q$R!Q![6|![!c$R!c!i6|!i#T$R#T#Z6|#Z;'S$R;'S;=`$d<%lO$RY7TYhQyWOy$Rz!Q$R!Q![7s![!c$R!c!i7s!i#T$R#T#Z7s#Z;'S$R;'S;=`$d<%lO$RY7xYyWOy$Rz!Q$R!Q![8h![!c$R!c!i8h!i#T$R#T#Z8h#Z;'S$R;'S;=`$d<%lO$RY8oShQyWOy$Rz;'S$R;'S;=`$d<%lO$R_9O`Oy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!_$R!_!`;T!`!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$RZ:X^yWcROy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$R[;[S![SyWOy$Rz;'S$R;'S;=`$d<%lO$RY;mSlQOy$Rz;'S$R;'S;=`$d<%lO$RZOSfROy$Rz;'S$R;'S;=`$d<%lO$R~>aOe~_>hU$iPlQOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZ?RWlQ!aPOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZ?pUyWOy$Rz!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RZ@ZYyW$kROy$Rz!Q$R!Q![@S![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZAOYyWOy$Rz{$R{|An|}$R}!OAn!O!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZAsUyWOy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZB^UyW$kROy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZBw[yW$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZCrSvROy$Rz;'S$R;'S;=`$d<%lO$RZDTWlQOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZDrW$lROy$Rz!O$R!O!PE[!P!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RYEaUyWOy$Rz!O$R!O!PEs!P;'S$R;'S;=`$d<%lO$RYEzSuQyWOy$Rz;'S$R;'S;=`$d<%lO$RZF][$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZGWUtROy$Rz![$R![!]Gj!];'S$R;'S;=`$d<%lO$RXGqS}PyWOy$Rz;'S$R;'S;=`$d<%lO$RZHSS!iROy$Rz;'S$R;'S;=`$d<%lO$RYHeUlQOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$R^H|U![SOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$RZIgV!^PlQOy$Rz!_$R!_!`%c!`!aI|!a;'S$R;'S;=`$d<%lO$RXJTS!^PyWOy$Rz;'S$R;'S;=`$d<%lO$RXJdWOy$Rz!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXKT[!lPyWOy$Rz}$R}!OJ|!O!Q$R!Q![J|![!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXLOS!YPOy$Rz;'S$R;'S;=`$d<%lO$R^LaS!WUOy$Rz;'S$R;'S;=`$d<%lO$R[LpUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZMVUOy$Rz#b$R#b#cMi#c;'S$R;'S;=`$d<%lO$RZMnUyWOy$Rz#W$R#W#XNQ#X;'S$R;'S;=`$d<%lO$RZNXSmRyWOy$Rz;'S$R;'S;=`$d<%lO$RZNhUOy$Rz#f$R#f#gNQ#g;'S$R;'S;=`$d<%lO$RZ! PS!cROy$Rz;'S$R;'S;=`$d<%lO$RZ! bS!jROy$Rz;'S$R;'S;=`$d<%lO$R]! sU!aPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!!YP;=`<%l#r",tokenizers:[iO,rO,lO,dO,oO,nO,tO,RO,0,1,2,3],topRules:{StyleSheet:[0,10],Styles:[1,131]},dialects:{indented:0},specialized:[{term:154,get:O=>PO[O]||-1},{term:153,get:O=>XO[O]||-1},{term:74,get:O=>hO[O]||-1}],tokenPrec:2863}),X=x.define({name:"sass",parser:yO.configure({props:[z.add({Block:_,Comment(O,e){return{from:O.from+2,to:e.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),Y.add({Declaration:v()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),mO=X.configure({dialect:"indented",props:[Y.add({"Block RuleSet":O=>O.baseIndent+O.unit}),z.add({Block:O=>({from:O.from,to:O.to})})]}),fO=b(O=>O.name=="VariableName"||O.name=="SassVariableName");function WO(O){return new E(O!=null&&O.indented?mO:X,X.data.of({autocomplete:fO}))}export{WO as sass,fO as sassCompletionSource,X as sassLanguage}; diff --git a/public/admin/assets/index-DGBJFFlM.js b/public/admin/assets/index-DGBJFFlM.js new file mode 100644 index 0000000..e72aced --- /dev/null +++ b/public/admin/assets/index-DGBJFFlM.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js";import"./index-CAe0BuuW.js";export{m as default}; diff --git a/public/admin/assets/index-D5Hhl8wt.js b/public/admin/assets/index-DGXfnCeH.js similarity index 93% rename from public/admin/assets/index-D5Hhl8wt.js rename to public/admin/assets/index-DGXfnCeH.js index 4c9da70..3fc675e 100644 --- a/public/admin/assets/index-D5Hhl8wt.js +++ b/public/admin/assets/index-DGXfnCeH.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{L as O,i as r,j as b,f as s,k as t,s as a,t as e,a as P,b as n}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={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),a({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function c(){return new P(Q)}export{c as wast,Q as wastLanguage}; +import{L as O,i as r,j as b,f as s,k as t,s as a,t as e,a as P,b as n}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={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:t,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),a({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function c(){return new P(Q)}export{c as wast,Q as wastLanguage}; diff --git a/public/admin/assets/index-B64mWH-H.js b/public/admin/assets/index-DH2af8kL.js similarity index 96% rename from public/admin/assets/index-B64mWH-H.js rename to public/admin/assets/index-DH2af8kL.js index ffa32df..10ddb2b 100644 --- a/public/admin/assets/index-B64mWH-H.js +++ b/public/admin/assets/index-DH2af8kL.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as I,N as P,u as B,ab as N,r as T,Z as x,a as D,ai as J,g,z,b4 as O,i as t,w as u,b as i,h as r,e as s,c as v,A as V,Q as U,D as R,cz as j,j as L,_ as E,cA as Q,T as Z,U as F,as as G,l as K}from"./index-DEc4xym2.js";import{_ as W}from"./HInput.vue_vue_type_script_setup_true_lang-CdqOxX3g.js";import{_ as X}from"./HCheckList.vue_vue_type_script_setup_true_lang-CJCRoI9L.js";import{_ as Y}from"./HToggle.vue_vue_type_script_setup_true_lang-BA9baXHJ.js";import{_ as ee}from"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";import{_ as te}from"./HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js";import{a as se}from"./index-DmaX5UJ_.js";/* empty css */import"./use-resolve-button-type-Cmxb6e8K.js";const n=f=>(Z("data-v-55eb7634"),f=f(),F(),f),le=n(()=>s("div",{class:"rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose"},[s("p",{class:"my-1"}," 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),s("p",{class:"my-1"}," 注意:在生产环境中应关闭该模块。 ")],-1)),oe=n(()=>s("div",{class:"divider"}," 颜色主题风格 ",-1)),ie={class:"flex items-center justify-center pb-4"},ne={key:0,class:"divider"},ae={key:1,class:"menu-mode"},de=n(()=>s("div",{class:"mode-container"},null,-1)),ue=[de],me=n(()=>s("div",{class:"mode-container"},null,-1)),ce=[me],re=n(()=>s("div",{class:"mode-container"},null,-1)),ge=[re],_e=n(()=>s("div",{class:"divider"}," 导航栏 ",-1)),be={class:"setting-item"},pe={class:"label"},ve={class:"setting-item"},Ve={class:"label"},fe={class:"setting-item"},he=n(()=>s("div",{class:"label"}," 次导航是否折叠 ",-1)),ye={key:2,class:"setting-item"},Ue=n(()=>s("div",{class:"label"}," 显示次导航折叠按钮 ",-1)),Se={class:"setting-item"},ke=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),xe=n(()=>s("div",{class:"divider"}," 顶栏 ",-1)),Me={class:"setting-item"},Ce=n(()=>s("div",{class:"label"}," 模式 ",-1)),He=n(()=>s("div",{class:"divider"}," 标签栏 ",-1)),qe={class:"setting-item"},$e=n(()=>s("div",{class:"label"}," 是否启用 ",-1)),we={class:"setting-item"},Ae=n(()=>s("div",{class:"label"}," 是否显示图标 ",-1)),Ie={class:"setting-item"},Pe=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Be=n(()=>s("div",{class:"divider"}," 工具栏 ",-1)),Ne={key:3,class:"setting-item"},Te=n(()=>s("div",{class:"label"}," 面包屑导航 ",-1)),De={class:"setting-item"},Je={class:"label"},ze={key:4,class:"setting-item"},Oe=n(()=>s("div",{class:"label"}," 全屏 ",-1)),Re={class:"setting-item"},je={class:"label"},Le={class:"setting-item"},Ee={class:"label"},Qe=n(()=>s("div",{class:"divider"}," 页面 ",-1)),Ze={class:"setting-item"},Fe=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Ge=n(()=>s("div",{class:"divider"}," 导航搜索 ",-1)),Ke={class:"setting-item"},We=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Xe=n(()=>s("div",{class:"divider"}," 底部版权 ",-1)),Ye={class:"setting-item"},et=n(()=>s("div",{class:"label"}," 是否启用 ",-1)),tt={class:"setting-item"},st=n(()=>s("div",{class:"label"}," 日期 ",-1)),lt={class:"setting-item"},ot=n(()=>s("div",{class:"label"}," 公司 ",-1)),it={class:"setting-item"},nt=n(()=>s("div",{class:"label"}," 网址 ",-1)),at={class:"setting-item"},dt=n(()=>s("div",{class:"label"}," 备案 ",-1)),ut=n(()=>s("div",{class:"divider"}," 主页 ",-1)),mt={class:"setting-item"},ct={class:"label"},rt={class:"setting-item"},gt={class:"label"},_t=n(()=>s("div",{class:"divider"}," 其它 ",-1)),bt={class:"setting-item"},pt=n(()=>s("div",{class:"label"}," 是否启用权限 ",-1)),vt={class:"setting-item"},Vt={class:"label"},ft={class:"setting-item"},ht={class:"label"},yt=I({name:"AppSetting",__name:"index",setup(f){const M=P(),e=B(),S=N(),_=T(!1);x(()=>e.settings.menu.menuMode,c=>{c==="single"?S.setActived(0):S.setActived(M.fullPath)}),D(()=>{J.on("global-app-setting-toggle",()=>{_.value=!_.value})});const{copy:C,copied:H,isSupported:q}=se();x(H,c=>{c&&G.success("复制成功,请粘贴到 src/settings.ts 文件中!",{zIndex:2e3})});function h(c){return typeof c=="object"&&!Array.isArray(c)}function k(c,l){if(!h(c)||!h(l))return l;const b={};for(const d in l){const m=c[d],a=l[d];if(JSON.stringify(m)!==JSON.stringify(a))if(h(m)&&h(a)){const y=k(m,a);Object.keys(y).length>0&&(b[d]=y)}else b[d]=a}return b}function $(){C(JSON.stringify(k(j,e.settings),null,2))}return(c,l)=>{const b=te,d=ee,m=L,a=Y,y=X,p=W,w=E,A=Q;return g(),z(A,{modelValue:t(_),"onUpdate:modelValue":l[30]||(l[30]=o=>R(_)?_.value=o:null),title:"应用配置"},O({default:u(()=>[le,oe,s("div",ie,[i(b,{modelValue:t(e).settings.app.colorScheme,"onUpdate:modelValue":l[0]||(l[0]=o=>t(e).settings.app.colorScheme=o),options:[{icon:"i-ri:sun-line",label:"明亮",value:"light"},{icon:"i-ri:moon-line",label:"暗黑",value:"dark"},{icon:"i-codicon:color-mode",label:"系统",value:""}],class:"w-60"},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ne," 导航栏模式 ")):V("",!0),t(e).mode==="pc"?(g(),v("div",ae,[i(d,{text:"侧边栏模式 (含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-side",{active:t(e).settings.menu.menuMode==="side"}]),onClick:l[1]||(l[1]=o=>t(e).settings.menu.menuMode="side")},ue,2)]),_:1}),i(d,{text:"顶部模式",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-head",{active:t(e).settings.menu.menuMode==="head"}]),onClick:l[2]||(l[2]=o=>t(e).settings.menu.menuMode="head")},ce,2)]),_:1}),i(d,{text:"侧边栏模式 (不含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-single",{active:t(e).settings.menu.menuMode==="single"}]),onClick:l[3]||(l[3]=o=>t(e).settings.menu.menuMode="single")},ge,2)]),_:1})])):V("",!0),_e,s("div",be,[s("div",pe,[r(" 主导航切换跳转 "),i(d,{text:"开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.menu.switchMainMenuAndPageJump,"onUpdate:modelValue":l[4]||(l[4]=o=>t(e).settings.menu.switchMainMenuAndPageJump=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),s("div",ve,[s("div",Ve,[r(" 次导航保持展开一个 "),i(d,{text:"开启该功能后,次导航只保持单个菜单的展开"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.menu.subMenuUniqueOpened,"onUpdate:modelValue":l[5]||(l[5]=o=>t(e).settings.menu.subMenuUniqueOpened=o)},null,8,["modelValue"])]),s("div",fe,[he,i(a,{modelValue:t(e).settings.menu.subMenuCollapse,"onUpdate:modelValue":l[6]||(l[6]=o=>t(e).settings.menu.subMenuCollapse=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ye,[Ue,i(a,{modelValue:t(e).settings.menu.enableSubMenuCollapseButton,"onUpdate:modelValue":l[7]||(l[7]=o=>t(e).settings.menu.enableSubMenuCollapseButton=o)},null,8,["modelValue"])])):V("",!0),s("div",Se,[ke,i(a,{modelValue:t(e).settings.menu.enableHotkeys,"onUpdate:modelValue":l[8]||(l[8]=o=>t(e).settings.menu.enableHotkeys=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),xe,s("div",Me,[Ce,i(y,{modelValue:t(e).settings.topbar.mode,"onUpdate:modelValue":l[9]||(l[9]=o=>t(e).settings.topbar.mode=o),options:[{label:"静止",value:"static"},{label:"固定",value:"fixed"},{label:"粘性",value:"sticky"}]},null,8,["modelValue"])]),s("div",null,[He,s("div",qe,[$e,i(a,{modelValue:t(e).settings.tabbar.enable,"onUpdate:modelValue":l[10]||(l[10]=o=>t(e).settings.tabbar.enable=o)},null,8,["modelValue"])]),s("div",we,[Ae,i(a,{modelValue:t(e).settings.tabbar.enableIcon,"onUpdate:modelValue":l[11]||(l[11]=o=>t(e).settings.tabbar.enableIcon=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])]),s("div",Ie,[Pe,i(a,{modelValue:t(e).settings.tabbar.enableHotkeys,"onUpdate:modelValue":l[12]||(l[12]=o=>t(e).settings.tabbar.enableHotkeys=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])])]),Be,t(e).mode==="pc"?(g(),v("div",Ne,[Te,i(a,{modelValue:t(e).settings.toolbar.breadcrumb,"onUpdate:modelValue":l[13]||(l[13]=o=>t(e).settings.toolbar.breadcrumb=o)},null,8,["modelValue"])])):V("",!0),s("div",De,[s("div",Je,[r(" 导航搜索 "),i(d,{text:"对导航进行快捷搜索"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.navSearch,"onUpdate:modelValue":l[14]||(l[14]=o=>t(e).settings.toolbar.navSearch=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ze,[Oe,i(a,{modelValue:t(e).settings.toolbar.fullscreen,"onUpdate:modelValue":l[15]||(l[15]=o=>t(e).settings.toolbar.fullscreen=o)},null,8,["modelValue"])])):V("",!0),s("div",Re,[s("div",je,[r(" 页面刷新 "),i(d,{text:"使用框架内提供的刷新功能进行页面刷新"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.pageReload,"onUpdate:modelValue":l[16]||(l[16]=o=>t(e).settings.toolbar.pageReload=o)},null,8,["modelValue"])]),s("div",Le,[s("div",Ee,[r(" 颜色主题 "),i(d,{text:"开启后可在明亮/暗黑模式中切换"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.colorScheme,"onUpdate:modelValue":l[17]||(l[17]=o=>t(e).settings.toolbar.colorScheme=o)},null,8,["modelValue"])]),Qe,s("div",Ze,[Fe,i(a,{modelValue:t(e).settings.mainPage.enableHotkeys,"onUpdate:modelValue":l[18]||(l[18]=o=>t(e).settings.mainPage.enableHotkeys=o)},null,8,["modelValue"])]),Ge,s("div",Ke,[We,i(a,{modelValue:t(e).settings.navSearch.enableHotkeys,"onUpdate:modelValue":l[19]||(l[19]=o=>t(e).settings.navSearch.enableHotkeys=o),disabled:!t(e).settings.toolbar.navSearch},null,8,["modelValue","disabled"])]),Xe,s("div",Ye,[et,i(a,{modelValue:t(e).settings.copyright.enable,"onUpdate:modelValue":l[20]||(l[20]=o=>t(e).settings.copyright.enable=o)},null,8,["modelValue"])]),s("div",tt,[st,i(p,{modelValue:t(e).settings.copyright.dates,"onUpdate:modelValue":l[21]||(l[21]=o=>t(e).settings.copyright.dates=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",lt,[ot,i(p,{modelValue:t(e).settings.copyright.company,"onUpdate:modelValue":l[22]||(l[22]=o=>t(e).settings.copyright.company=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",it,[nt,i(p,{modelValue:t(e).settings.copyright.website,"onUpdate:modelValue":l[23]||(l[23]=o=>t(e).settings.copyright.website=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",at,[dt,i(p,{modelValue:t(e).settings.copyright.beian,"onUpdate:modelValue":l[24]||(l[24]=o=>t(e).settings.copyright.beian=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),ut,s("div",mt,[s("div",ct,[r(" 是否启用 "),i(d,{text:"该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.home.enable,"onUpdate:modelValue":l[25]||(l[25]=o=>t(e).settings.home.enable=o)},null,8,["modelValue"])]),s("div",rt,[s("div",gt,[r(" 主页名称 "),i(d,{text:"开启国际化时,该设置无效"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(p,{modelValue:t(e).settings.home.title,"onUpdate:modelValue":l[26]||(l[26]=o=>t(e).settings.home.title=o)},null,8,["modelValue"])]),_t,s("div",bt,[pt,i(a,{modelValue:t(e).settings.app.enablePermission,"onUpdate:modelValue":l[27]||(l[27]=o=>t(e).settings.app.enablePermission=o)},null,8,["modelValue"])]),s("div",vt,[s("div",Vt,[r(" 载入进度条 "),i(d,{text:"该功能开启时,跳转路由会看到页面顶部有进度条"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.app.enableProgress,"onUpdate:modelValue":l[28]||(l[28]=o=>t(e).settings.app.enableProgress=o)},null,8,["modelValue"])]),s("div",ft,[s("div",ht,[r(" 动态标题 "),i(d,{text:"该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.app.enableDynamicTitle,"onUpdate:modelValue":l[29]||(l[29]=o=>t(e).settings.app.enableDynamicTitle=o)},null,8,["modelValue"])])]),_:2},[t(q)?{name:"footer",fn:u(()=>[i(w,{block:"",onClick:$},{default:u(()=>[i(m,{name:"i-ep:document-copy"}),r(" 复制配置 ")]),_:1})]),key:"0"}:void 0]),1032,["modelValue"])}}}),wt=K(yt,[["__scopeId","data-v-55eb7634"]]);export{wt as default}; +import{d as I,N as P,u as B,ab as N,r as T,Z as x,a as D,ai as J,g,z,b4 as O,i as t,w as u,b as i,h as r,e as s,c as v,A as V,Q as U,D as R,cz as j,j as L,_ as E,cA as Q,T as Z,U as F,as as G,l as K}from"./index-CAe0BuuW.js";import{_ as W}from"./HInput.vue_vue_type_script_setup_true_lang-DIeRn7Zh.js";import{_ as X}from"./HCheckList.vue_vue_type_script_setup_true_lang-Sefr8RNZ.js";import{_ as Y}from"./HToggle.vue_vue_type_script_setup_true_lang-BMpWofWF.js";import{_ as ee}from"./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js";import{_ as te}from"./HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js";import{a as se}from"./index-Dp-A2VeR.js";/* empty css */import"./use-resolve-button-type-CIWo_h_W.js";const n=f=>(Z("data-v-55eb7634"),f=f(),F(),f),le=n(()=>s("div",{class:"rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose"},[s("p",{class:"my-1"}," 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),s("p",{class:"my-1"}," 注意:在生产环境中应关闭该模块。 ")],-1)),oe=n(()=>s("div",{class:"divider"}," 颜色主题风格 ",-1)),ie={class:"flex items-center justify-center pb-4"},ne={key:0,class:"divider"},ae={key:1,class:"menu-mode"},de=n(()=>s("div",{class:"mode-container"},null,-1)),ue=[de],me=n(()=>s("div",{class:"mode-container"},null,-1)),ce=[me],re=n(()=>s("div",{class:"mode-container"},null,-1)),ge=[re],_e=n(()=>s("div",{class:"divider"}," 导航栏 ",-1)),be={class:"setting-item"},pe={class:"label"},ve={class:"setting-item"},Ve={class:"label"},fe={class:"setting-item"},he=n(()=>s("div",{class:"label"}," 次导航是否折叠 ",-1)),ye={key:2,class:"setting-item"},Ue=n(()=>s("div",{class:"label"}," 显示次导航折叠按钮 ",-1)),Se={class:"setting-item"},ke=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),xe=n(()=>s("div",{class:"divider"}," 顶栏 ",-1)),Me={class:"setting-item"},Ce=n(()=>s("div",{class:"label"}," 模式 ",-1)),He=n(()=>s("div",{class:"divider"}," 标签栏 ",-1)),qe={class:"setting-item"},$e=n(()=>s("div",{class:"label"}," 是否启用 ",-1)),we={class:"setting-item"},Ae=n(()=>s("div",{class:"label"}," 是否显示图标 ",-1)),Ie={class:"setting-item"},Pe=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Be=n(()=>s("div",{class:"divider"}," 工具栏 ",-1)),Ne={key:3,class:"setting-item"},Te=n(()=>s("div",{class:"label"}," 面包屑导航 ",-1)),De={class:"setting-item"},Je={class:"label"},ze={key:4,class:"setting-item"},Oe=n(()=>s("div",{class:"label"}," 全屏 ",-1)),Re={class:"setting-item"},je={class:"label"},Le={class:"setting-item"},Ee={class:"label"},Qe=n(()=>s("div",{class:"divider"}," 页面 ",-1)),Ze={class:"setting-item"},Fe=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Ge=n(()=>s("div",{class:"divider"}," 导航搜索 ",-1)),Ke={class:"setting-item"},We=n(()=>s("div",{class:"label"}," 是否启用快捷键 ",-1)),Xe=n(()=>s("div",{class:"divider"}," 底部版权 ",-1)),Ye={class:"setting-item"},et=n(()=>s("div",{class:"label"}," 是否启用 ",-1)),tt={class:"setting-item"},st=n(()=>s("div",{class:"label"}," 日期 ",-1)),lt={class:"setting-item"},ot=n(()=>s("div",{class:"label"}," 公司 ",-1)),it={class:"setting-item"},nt=n(()=>s("div",{class:"label"}," 网址 ",-1)),at={class:"setting-item"},dt=n(()=>s("div",{class:"label"}," 备案 ",-1)),ut=n(()=>s("div",{class:"divider"}," 主页 ",-1)),mt={class:"setting-item"},ct={class:"label"},rt={class:"setting-item"},gt={class:"label"},_t=n(()=>s("div",{class:"divider"}," 其它 ",-1)),bt={class:"setting-item"},pt=n(()=>s("div",{class:"label"}," 是否启用权限 ",-1)),vt={class:"setting-item"},Vt={class:"label"},ft={class:"setting-item"},ht={class:"label"},yt=I({name:"AppSetting",__name:"index",setup(f){const M=P(),e=B(),S=N(),_=T(!1);x(()=>e.settings.menu.menuMode,c=>{c==="single"?S.setActived(0):S.setActived(M.fullPath)}),D(()=>{J.on("global-app-setting-toggle",()=>{_.value=!_.value})});const{copy:C,copied:H,isSupported:q}=se();x(H,c=>{c&&G.success("复制成功,请粘贴到 src/settings.ts 文件中!",{zIndex:2e3})});function h(c){return typeof c=="object"&&!Array.isArray(c)}function k(c,l){if(!h(c)||!h(l))return l;const b={};for(const d in l){const m=c[d],a=l[d];if(JSON.stringify(m)!==JSON.stringify(a))if(h(m)&&h(a)){const y=k(m,a);Object.keys(y).length>0&&(b[d]=y)}else b[d]=a}return b}function $(){C(JSON.stringify(k(j,e.settings),null,2))}return(c,l)=>{const b=te,d=ee,m=L,a=Y,y=X,p=W,w=E,A=Q;return g(),z(A,{modelValue:t(_),"onUpdate:modelValue":l[30]||(l[30]=o=>R(_)?_.value=o:null),title:"应用配置"},O({default:u(()=>[le,oe,s("div",ie,[i(b,{modelValue:t(e).settings.app.colorScheme,"onUpdate:modelValue":l[0]||(l[0]=o=>t(e).settings.app.colorScheme=o),options:[{icon:"i-ri:sun-line",label:"明亮",value:"light"},{icon:"i-ri:moon-line",label:"暗黑",value:"dark"},{icon:"i-codicon:color-mode",label:"系统",value:""}],class:"w-60"},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ne," 导航栏模式 ")):V("",!0),t(e).mode==="pc"?(g(),v("div",ae,[i(d,{text:"侧边栏模式 (含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-side",{active:t(e).settings.menu.menuMode==="side"}]),onClick:l[1]||(l[1]=o=>t(e).settings.menu.menuMode="side")},ue,2)]),_:1}),i(d,{text:"顶部模式",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-head",{active:t(e).settings.menu.menuMode==="head"}]),onClick:l[2]||(l[2]=o=>t(e).settings.menu.menuMode="head")},ce,2)]),_:1}),i(d,{text:"侧边栏模式 (不含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:U(["mode mode-single",{active:t(e).settings.menu.menuMode==="single"}]),onClick:l[3]||(l[3]=o=>t(e).settings.menu.menuMode="single")},ge,2)]),_:1})])):V("",!0),_e,s("div",be,[s("div",pe,[r(" 主导航切换跳转 "),i(d,{text:"开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.menu.switchMainMenuAndPageJump,"onUpdate:modelValue":l[4]||(l[4]=o=>t(e).settings.menu.switchMainMenuAndPageJump=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),s("div",ve,[s("div",Ve,[r(" 次导航保持展开一个 "),i(d,{text:"开启该功能后,次导航只保持单个菜单的展开"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.menu.subMenuUniqueOpened,"onUpdate:modelValue":l[5]||(l[5]=o=>t(e).settings.menu.subMenuUniqueOpened=o)},null,8,["modelValue"])]),s("div",fe,[he,i(a,{modelValue:t(e).settings.menu.subMenuCollapse,"onUpdate:modelValue":l[6]||(l[6]=o=>t(e).settings.menu.subMenuCollapse=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ye,[Ue,i(a,{modelValue:t(e).settings.menu.enableSubMenuCollapseButton,"onUpdate:modelValue":l[7]||(l[7]=o=>t(e).settings.menu.enableSubMenuCollapseButton=o)},null,8,["modelValue"])])):V("",!0),s("div",Se,[ke,i(a,{modelValue:t(e).settings.menu.enableHotkeys,"onUpdate:modelValue":l[8]||(l[8]=o=>t(e).settings.menu.enableHotkeys=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),xe,s("div",Me,[Ce,i(y,{modelValue:t(e).settings.topbar.mode,"onUpdate:modelValue":l[9]||(l[9]=o=>t(e).settings.topbar.mode=o),options:[{label:"静止",value:"static"},{label:"固定",value:"fixed"},{label:"粘性",value:"sticky"}]},null,8,["modelValue"])]),s("div",null,[He,s("div",qe,[$e,i(a,{modelValue:t(e).settings.tabbar.enable,"onUpdate:modelValue":l[10]||(l[10]=o=>t(e).settings.tabbar.enable=o)},null,8,["modelValue"])]),s("div",we,[Ae,i(a,{modelValue:t(e).settings.tabbar.enableIcon,"onUpdate:modelValue":l[11]||(l[11]=o=>t(e).settings.tabbar.enableIcon=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])]),s("div",Ie,[Pe,i(a,{modelValue:t(e).settings.tabbar.enableHotkeys,"onUpdate:modelValue":l[12]||(l[12]=o=>t(e).settings.tabbar.enableHotkeys=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])])]),Be,t(e).mode==="pc"?(g(),v("div",Ne,[Te,i(a,{modelValue:t(e).settings.toolbar.breadcrumb,"onUpdate:modelValue":l[13]||(l[13]=o=>t(e).settings.toolbar.breadcrumb=o)},null,8,["modelValue"])])):V("",!0),s("div",De,[s("div",Je,[r(" 导航搜索 "),i(d,{text:"对导航进行快捷搜索"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.navSearch,"onUpdate:modelValue":l[14]||(l[14]=o=>t(e).settings.toolbar.navSearch=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",ze,[Oe,i(a,{modelValue:t(e).settings.toolbar.fullscreen,"onUpdate:modelValue":l[15]||(l[15]=o=>t(e).settings.toolbar.fullscreen=o)},null,8,["modelValue"])])):V("",!0),s("div",Re,[s("div",je,[r(" 页面刷新 "),i(d,{text:"使用框架内提供的刷新功能进行页面刷新"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.pageReload,"onUpdate:modelValue":l[16]||(l[16]=o=>t(e).settings.toolbar.pageReload=o)},null,8,["modelValue"])]),s("div",Le,[s("div",Ee,[r(" 颜色主题 "),i(d,{text:"开启后可在明亮/暗黑模式中切换"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.toolbar.colorScheme,"onUpdate:modelValue":l[17]||(l[17]=o=>t(e).settings.toolbar.colorScheme=o)},null,8,["modelValue"])]),Qe,s("div",Ze,[Fe,i(a,{modelValue:t(e).settings.mainPage.enableHotkeys,"onUpdate:modelValue":l[18]||(l[18]=o=>t(e).settings.mainPage.enableHotkeys=o)},null,8,["modelValue"])]),Ge,s("div",Ke,[We,i(a,{modelValue:t(e).settings.navSearch.enableHotkeys,"onUpdate:modelValue":l[19]||(l[19]=o=>t(e).settings.navSearch.enableHotkeys=o),disabled:!t(e).settings.toolbar.navSearch},null,8,["modelValue","disabled"])]),Xe,s("div",Ye,[et,i(a,{modelValue:t(e).settings.copyright.enable,"onUpdate:modelValue":l[20]||(l[20]=o=>t(e).settings.copyright.enable=o)},null,8,["modelValue"])]),s("div",tt,[st,i(p,{modelValue:t(e).settings.copyright.dates,"onUpdate:modelValue":l[21]||(l[21]=o=>t(e).settings.copyright.dates=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",lt,[ot,i(p,{modelValue:t(e).settings.copyright.company,"onUpdate:modelValue":l[22]||(l[22]=o=>t(e).settings.copyright.company=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",it,[nt,i(p,{modelValue:t(e).settings.copyright.website,"onUpdate:modelValue":l[23]||(l[23]=o=>t(e).settings.copyright.website=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",at,[dt,i(p,{modelValue:t(e).settings.copyright.beian,"onUpdate:modelValue":l[24]||(l[24]=o=>t(e).settings.copyright.beian=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),ut,s("div",mt,[s("div",ct,[r(" 是否启用 "),i(d,{text:"该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.home.enable,"onUpdate:modelValue":l[25]||(l[25]=o=>t(e).settings.home.enable=o)},null,8,["modelValue"])]),s("div",rt,[s("div",gt,[r(" 主页名称 "),i(d,{text:"开启国际化时,该设置无效"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(p,{modelValue:t(e).settings.home.title,"onUpdate:modelValue":l[26]||(l[26]=o=>t(e).settings.home.title=o)},null,8,["modelValue"])]),_t,s("div",bt,[pt,i(a,{modelValue:t(e).settings.app.enablePermission,"onUpdate:modelValue":l[27]||(l[27]=o=>t(e).settings.app.enablePermission=o)},null,8,["modelValue"])]),s("div",vt,[s("div",Vt,[r(" 载入进度条 "),i(d,{text:"该功能开启时,跳转路由会看到页面顶部有进度条"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.app.enableProgress,"onUpdate:modelValue":l[28]||(l[28]=o=>t(e).settings.app.enableProgress=o)},null,8,["modelValue"])]),s("div",ft,[s("div",ht,[r(" 动态标题 "),i(d,{text:"该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置"},{default:u(()=>[i(m,{name:"i-ri:question-line"})]),_:1})]),i(a,{modelValue:t(e).settings.app.enableDynamicTitle,"onUpdate:modelValue":l[29]||(l[29]=o=>t(e).settings.app.enableDynamicTitle=o)},null,8,["modelValue"])])]),_:2},[t(q)?{name:"footer",fn:u(()=>[i(w,{block:"",onClick:$},{default:u(()=>[i(m,{name:"i-ep:document-copy"}),r(" 复制配置 ")]),_:1})]),key:"0"}:void 0]),1032,["modelValue"])}}}),wt=K(yt,[["__scopeId","data-v-55eb7634"]]);export{wt as default}; diff --git a/public/admin/assets/index-DKZCJQvq.js b/public/admin/assets/index-DKZCJQvq.js deleted file mode 100644 index af351df..0000000 --- a/public/admin/assets/index-DKZCJQvq.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-zIlAXnyj.js";import"./HKbd-Dkpr3OfM.js";import"./index-DEc4xym2.js";import"./index-D2N8hAxR.js";import"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js";export{o as default}; diff --git a/public/admin/assets/index-DfBvkKrB.js b/public/admin/assets/index-DfBvkKrB.js new file mode 100644 index 0000000..4d472a5 --- /dev/null +++ b/public/admin/assets/index-DfBvkKrB.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +const l=[{value:0,label:"待激活"},{value:1,label:"正常"},{value:2,label:"已封禁"},{value:3,label:"黑名单"}],a={0:"待激活",1:"正常",2:"已封禁",3:"黑名单"},e={0:"info",1:"success",2:"danger",3:"danger"},u={1:"注册赠送",2:"受邀请赠送",3:"邀请人赠送",4:"购买套餐赠送",5:"管理员赠送",6:"扫码支付",7:"绘画失败退款",8:"签到奖励"},t=[{value:1,label:"注册赠送"},{value:2,label:"受邀请赠送"},{value:3,label:"邀请人赠送"},{value:4,label:"购买套餐赠送"},{value:5,label:"管理员赠送"},{value:6,label:"扫码支付"},{value:7,label:"绘画失败退款"},{value:8,label:"签到奖励"}],o={0:"关闭",1:"开启"},s=[{value:0,label:"禁用"},{value:1,label:"启动"}],b=[{value:0,label:"未使用"},{value:1,label:"已使用"}],n=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],v=[{value:0,label:"禁用"},{value:1,label:"启用"},{value:3,label:"待审核"},{value:4,label:"拒绝共享"},{value:5,label:"通过共享"}],T=[{value:"0",label:"未启用"},{value:"1",label:"已启用"}],c=[{value:0,label:"待审核"},{value:1,label:"已通过"},{value:-1,label:"已拒绝"}],S=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],p=[{value:1,label:"支付宝"},{value:2,label:"微信"}],i=[{value:1,label:"正在排队"},{value:2,label:"正在绘制"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],_={"-1":"欠费锁定",0:"未启用",1:"已启用",3:"待审核",4:"拒绝共享",5:"通过共享"},r=["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4o","gpt-4o-2024-05-13","gpt-4o-mini","gpt-4o-mini-2024-07-18","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-all","claude-2","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","claude-3-5-sonnet-20240620","gemini-pro","gemini-pro-vision","gemini-pro-1.5","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","Baichuan2-53B","Baichuan2-Turbo","Baichuan2-Turbo-192k","yi-34b-chat-0205","yi-34b-chat-200k","yi-vl-plus","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5","deepseek-chat","deepseek-coder","moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k","dall-e-3","midjourney","luma-video","tts-1","gpts","stable-diffusion","suno-v3"],g=[{value:"midjourney",label:"Midjourney"},{value:"stable-diffusion",label:"Stable-Diffusion"},{value:"dall-e-3",label:"Dall-e-3"}],E=[{value:0,label:"未支付"},{value:1,label:"已支付"},{value:2,label:"支付失败"},{value:3,label:"支付超时"}],m={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},A=[{value:"epay",label:"易支付"},{value:"hupi",label:"虎皮椒"},{value:"wechat",label:"微信支付"},{value:"mpay",label:"码支付"},{value:"ltzf",label:"蓝兔支付"}],O={epay:"易支付",hupi:"虎皮椒",wechat:"微信支付",mpay:"码支付",ltzf:"蓝兔支付"},P=[{value:1,label:"等待中"},{value:2,label:"绘制中"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],k=[{value:"百度云检测",label:"百度云检测"},{value:"自定义检测",label:"自定义检测"}],I=[{value:1,label:"基础对话"},{value:2,label:"创意模型"},{value:3,label:"特殊模型"}],h={1:"基础对话",2:"创意模型",3:"特殊模型"},d={1:["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4o","gpt-4o-2024-05-13","gpt-4o-mini","gpt-4o-mini-2024-07-18","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-all","claude-2","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","claude-3-5-sonnet-20240620","gemini-pro","gemini-pro-vision","gemini-pro-1.5","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","Baichuan2-53B","Baichuan2-Turbo","Baichuan2-Turbo-192k","yi-34b-chat-0205","yi-34b-chat-200k","yi-vl-plus","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5","deepseek-chat","deepseek-coder","moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k"],2:["dall-e-3","midjourney","stable-diffusion","suno-v3","luma-video"],3:["tts-1","gpts"]},N=[{value:1,label:"普通积分"},{value:2,label:"高级积分"},{value:3,label:"绘画积分"}];export{b as C,g as D,v as E,o as I,r as M,c as O,A as P,_ as Q,n as R,k as T,e as U,i as W,P as a,S as b,I as c,T as d,h as e,N as f,d as g,E as h,O as i,m as j,s as k,p as l,a as m,l as n,t as o,u as p}; diff --git a/public/admin/assets/index-Df_vc7Fn.js b/public/admin/assets/index-Df_vc7Fn.js deleted file mode 100644 index 9606657..0000000 --- a/public/admin/assets/index-Df_vc7Fn.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-BrKsZ_6g.js";import"./index-DEc4xym2.js";export{m as default}; diff --git a/public/admin/assets/index-DW3qqHSP.js b/public/admin/assets/index-DfxBc_UJ.js similarity index 98% rename from public/admin/assets/index-DW3qqHSP.js rename to public/admin/assets/index-DfxBc_UJ.js index 33e901f..ea1c4d0 100644 --- a/public/admin/assets/index-DW3qqHSP.js +++ b/public/admin/assets/index-DfxBc_UJ.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{C as A,E as k,s as Y,t as p,b as I,L as j,i as U,f as z,u as q,a as D,o as M,g as Z,p as B}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const _=1,F=2,J=3,H=4,L=5,K=35,ee=36,te=37,ne=11,Oe=13;function ae(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function re(e){return e==9||e==10||e==13||e==32}let X=null,Q=null,E=0;function b(e,t){let O=e.pos+t;if(Q==e&&E==O)return X;for(;re(e.peek(t));)t++;let n="";for(;;){let a=e.peek(t);if(!ae(a))break;n+=String.fromCharCode(a),t++}return Q=e,E=O,X=n||null}function x(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O{if(e.next==60){if(e.advance(),e.next==47){e.advance();let O=b(e,0);if(!O)return e.acceptToken(L);if(t.context&&O==t.context.name)return e.acceptToken(F);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(J,-2);e.acceptToken(H)}else if(e.next!=33&&e.next!=63)return e.acceptToken(_)}},{contextual:!0});function w(e,t){return new k(O=>{let n=0,a=t.charCodeAt(0);e:for(;!(O.next<0);O.advance(),n++)if(O.next==a){for(let l=1;l"),ie=w(ee,"?>"),ye=w(te,"]]>"),ge=Y({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),me=I.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[oe,se,ie,ye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function h(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function V(e,t){let O=t&&t.firstChild;return!O||O.name!="OpenTag"?"":h(e,O)}function $e(e,t,O){let n=t&&t.getChildren("Attribute").find(l=>l.from<=O&&l.to>=O),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function P(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ce(e,t){var O;let n=Z(e).resolveInner(t,-1),a=null;for(let l=n;!a&&l.parent;l=l.parent)(l.name=="OpenTag"||l.name=="CloseTag"||l.name=="SelfClosingTag"||l.name=="MismatchedCloseTag")&&(a=l);if(a&&(a.to>t||a.lastChild.type.isError)){let l=a.parent;if(n.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:l}:{type:"openTag",from:n.from,context:P(l)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:a};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:a};let s=n==a||n.name=="Attribute"?n.childBefore(t):n;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:P(l)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:l}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:a}:s?{type:"attrName",from:t,context:a}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(!((O=n.lastChild)===null||O===void 0)&&O.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:t,context:n.name=="Element"?n:P(n)}:null}class ue{constructor(t,O,n){this.attrs=O,this.attrValues=n,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const v=/^[:\-\.\w\u00b7-\uffff]*$/;function R(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let O=[],n=[],a=Object.create(null);for(let r of t){let m=R(r);O.push(m),r.global&&n.push(m),r.values&&(a[r.name]=r.values.map(G))}let l=[],s=[],S=Object.create(null);for(let r of e){let m=n,y=a;r.attributes&&(m=m.concat(r.attributes.map(o=>typeof o=="string"?O.find(f=>f.label==o)||{label:o,type:"property"}:(o.values&&(y==a&&(y=Object.create(y)),y[o.name]=o.values.map(G)),R(o)))));let u=new ue(r,m,y);S[u.name]=u,l.push(u),r.top&&s.push(u)}s.length||(s=l);for(let r=0;r{var m;let{doc:y}=r.state,u=ce(r.state,r.pos);if(!u||u.type=="tag"&&!r.explicit)return null;let{type:o,from:f,context:$}=u;if(o=="openTag"){let i=s,g=V(y,$);if(g){let c=S[g];i=(c==null?void 0:c.children)||l}return{from:f,options:i.map(c=>c.completion),validFor:v}}else if(o=="closeTag"){let i=V(y,$);return i?{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)==">"?1:0),options:[((m=S[i])===null||m===void 0?void 0:m.closeNameCompletion)||{label:i+">",type:"type"}],validFor:v}:null}else if(o=="attrName"){let i=S[h(y,$)];return{from:f,options:(i==null?void 0:i.attrs)||n,validFor:v}}else if(o=="attrValue"){let i=$e(y,$,f);if(!i)return null;let g=S[h(y,$)],c=((g==null?void 0:g.attrValues)||a)[i];return!c||!c.length?null:{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(o=="tag"){let i=V(y,$),g=S[i],c=[],d=$&&$.lastChild;i&&(!d||d.name!="CloseTag"||h(y,d)!=i)&&c.push(g?g.closeCompletion:{label:"",type:"type",boost:2});let C=c.concat(((g==null?void 0:g.children)||($?l:s)).map(T=>T.openCompletion));if($&&(g!=null&&g.text.length)){let T=$.firstChild;T.to>r.pos-20&&!/\S/.test(r.state.sliceDoc(T.to,r.pos))&&(C=C.concat(g.text))}return{from:f,options:C,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W=j.define({name:"xml",parser:me.configure({props:[U.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),z.add({Element(e){let t=e.firstChild,O=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:O.name=="CloseTag"?O.from:e.to}}}),q.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Ce(e={}){let t=[W.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(Se),new D(W,t)}function N(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}const Se=M.inputHandler.of((e,t,O,n,a)=>{if(e.composing||e.state.readOnly||t!=O||n!=">"&&n!="/"||!W.isActiveAt(e.state,t,-1))return!1;let l=a(),{state:s}=l,S=s.changeByRange(r=>{var m,y,u;let{head:o}=r,f=s.doc.sliceString(o-1,o)==n,$=Z(s).resolveInner(o,-1),i;if(f&&n==">"&&$.name=="EndTag"){let g=$.parent;if(((y=(m=g.parent)===null||m===void 0?void 0:m.lastChild)===null||y===void 0?void 0:y.name)!="CloseTag"&&(i=N(s.doc,g.parent,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=``;return{range:r,changes:{from:o,to:c,insert:d}}}}else if(f&&n=="/"&&$.name=="StartCloseTag"){let g=$.parent;if($.from==o-2&&((u=g.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=N(s.doc,g,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=`${i}>`;return{range:B.cursor(o+d.length,-1),changes:{from:o,to:c,insert:d}}}}return{range:r}});return S.changes.empty?!1:(e.dispatch([l,s.update(S,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{Se as autoCloseTags,pe as completeFromSchema,Ce as xml,W as xmlLanguage}; +import{C as A,E as k,s as Y,t as p,b as I,L as j,i as U,f as z,u as q,a as D,o as M,g as Z,p as B}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 _=1,F=2,J=3,H=4,L=5,K=35,ee=36,te=37,ne=11,Oe=13;function ae(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function re(e){return e==9||e==10||e==13||e==32}let X=null,Q=null,E=0;function b(e,t){let O=e.pos+t;if(Q==e&&E==O)return X;for(;re(e.peek(t));)t++;let n="";for(;;){let a=e.peek(t);if(!ae(a))break;n+=String.fromCharCode(a),t++}return Q=e,E=O,X=n||null}function x(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O{if(e.next==60){if(e.advance(),e.next==47){e.advance();let O=b(e,0);if(!O)return e.acceptToken(L);if(t.context&&O==t.context.name)return e.acceptToken(F);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(J,-2);e.acceptToken(H)}else if(e.next!=33&&e.next!=63)return e.acceptToken(_)}},{contextual:!0});function w(e,t){return new k(O=>{let n=0,a=t.charCodeAt(0);e:for(;!(O.next<0);O.advance(),n++)if(O.next==a){for(let l=1;l"),ie=w(ee,"?>"),ye=w(te,"]]>"),ge=Y({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),me=I.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[oe,se,ie,ye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function h(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function V(e,t){let O=t&&t.firstChild;return!O||O.name!="OpenTag"?"":h(e,O)}function $e(e,t,O){let n=t&&t.getChildren("Attribute").find(l=>l.from<=O&&l.to>=O),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function P(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ce(e,t){var O;let n=Z(e).resolveInner(t,-1),a=null;for(let l=n;!a&&l.parent;l=l.parent)(l.name=="OpenTag"||l.name=="CloseTag"||l.name=="SelfClosingTag"||l.name=="MismatchedCloseTag")&&(a=l);if(a&&(a.to>t||a.lastChild.type.isError)){let l=a.parent;if(n.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:l}:{type:"openTag",from:n.from,context:P(l)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:a};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:a};let s=n==a||n.name=="Attribute"?n.childBefore(t):n;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:P(l)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:l}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:a}:s?{type:"attrName",from:t,context:a}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(!((O=n.lastChild)===null||O===void 0)&&O.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:t,context:n.name=="Element"?n:P(n)}:null}class ue{constructor(t,O,n){this.attrs=O,this.attrValues=n,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const v=/^[:\-\.\w\u00b7-\uffff]*$/;function R(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let O=[],n=[],a=Object.create(null);for(let r of t){let m=R(r);O.push(m),r.global&&n.push(m),r.values&&(a[r.name]=r.values.map(G))}let l=[],s=[],S=Object.create(null);for(let r of e){let m=n,y=a;r.attributes&&(m=m.concat(r.attributes.map(o=>typeof o=="string"?O.find(f=>f.label==o)||{label:o,type:"property"}:(o.values&&(y==a&&(y=Object.create(y)),y[o.name]=o.values.map(G)),R(o)))));let u=new ue(r,m,y);S[u.name]=u,l.push(u),r.top&&s.push(u)}s.length||(s=l);for(let r=0;r{var m;let{doc:y}=r.state,u=ce(r.state,r.pos);if(!u||u.type=="tag"&&!r.explicit)return null;let{type:o,from:f,context:$}=u;if(o=="openTag"){let i=s,g=V(y,$);if(g){let c=S[g];i=(c==null?void 0:c.children)||l}return{from:f,options:i.map(c=>c.completion),validFor:v}}else if(o=="closeTag"){let i=V(y,$);return i?{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)==">"?1:0),options:[((m=S[i])===null||m===void 0?void 0:m.closeNameCompletion)||{label:i+">",type:"type"}],validFor:v}:null}else if(o=="attrName"){let i=S[h(y,$)];return{from:f,options:(i==null?void 0:i.attrs)||n,validFor:v}}else if(o=="attrValue"){let i=$e(y,$,f);if(!i)return null;let g=S[h(y,$)],c=((g==null?void 0:g.attrValues)||a)[i];return!c||!c.length?null:{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(o=="tag"){let i=V(y,$),g=S[i],c=[],d=$&&$.lastChild;i&&(!d||d.name!="CloseTag"||h(y,d)!=i)&&c.push(g?g.closeCompletion:{label:"",type:"type",boost:2});let C=c.concat(((g==null?void 0:g.children)||($?l:s)).map(T=>T.openCompletion));if($&&(g!=null&&g.text.length)){let T=$.firstChild;T.to>r.pos-20&&!/\S/.test(r.state.sliceDoc(T.to,r.pos))&&(C=C.concat(g.text))}return{from:f,options:C,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W=j.define({name:"xml",parser:me.configure({props:[U.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),z.add({Element(e){let t=e.firstChild,O=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:O.name=="CloseTag"?O.from:e.to}}}),q.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Ce(e={}){let t=[W.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(Se),new D(W,t)}function N(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}const Se=M.inputHandler.of((e,t,O,n,a)=>{if(e.composing||e.state.readOnly||t!=O||n!=">"&&n!="/"||!W.isActiveAt(e.state,t,-1))return!1;let l=a(),{state:s}=l,S=s.changeByRange(r=>{var m,y,u;let{head:o}=r,f=s.doc.sliceString(o-1,o)==n,$=Z(s).resolveInner(o,-1),i;if(f&&n==">"&&$.name=="EndTag"){let g=$.parent;if(((y=(m=g.parent)===null||m===void 0?void 0:m.lastChild)===null||y===void 0?void 0:y.name)!="CloseTag"&&(i=N(s.doc,g.parent,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=``;return{range:r,changes:{from:o,to:c,insert:d}}}}else if(f&&n=="/"&&$.name=="StartCloseTag"){let g=$.parent;if($.from==o-2&&((u=g.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=N(s.doc,g,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=`${i}>`;return{range:B.cursor(o+d.length,-1),changes:{from:o,to:c,insert:d}}}}return{range:r}});return S.changes.empty?!1:(e.dispatch([l,s.update(S,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{Se as autoCloseTags,pe as completeFromSchema,Ce as xml,W as xmlLanguage}; diff --git a/public/admin/assets/index-P-OHSRfL.js b/public/admin/assets/index-DjmjBU_W.js similarity index 98% rename from public/admin/assets/index-P-OHSRfL.js rename to public/admin/assets/index-DjmjBU_W.js index 4e1fcc1..48eab9f 100644 --- a/public/admin/assets/index-P-OHSRfL.js +++ b/public/admin/assets/index-DjmjBU_W.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -var w=Object.defineProperty;var _=(O,e,a)=>e in O?w(O,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):O[e]=a;var q=(O,e,a)=>(_(O,typeof e!="symbol"?e+"":e,a),a);import{C as L,E as k,s as B,t as P,b as M,L as E,i as j,j as D,f as A,k as H,a as N}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const f=63,p=64,u=1,I=2,y=3,F=4,Y=5,K=6,J=7,z=65,OO=66,eO=8,aO=9,rO=10,QO=11,PO=12,G=13,tO=19,oO=20,nO=29,sO=33,lO=34,fO=47,cO=0,T=1,g=2,d=3,x=4,i=class i{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}};q(i,"top",new i(null,-1,cO));let s=i;function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let t=O.peek(r);if(o(t)||t==-1)return a}}function m(O){return O==32||O==9}function o(O){return O==10||O==13}function V(O){return m(O)||o(O)}function l(O){return O<0||V(O)}const XO=new L({start:s.top,reduce(O,e){return O.type==d&&(e==oO||e==lO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Y)return new s(O,X(r,r.pos),g);if(e==f)return O.parent;if(e==tO||e==sO)return new s(O,0,d);if(e==G&&O.type==x)return O.parent;if(e==fO){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new s(O,O.depth+ +t[0],x)}return O},hash(O){return O.hash}});function c(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const dO=new k((O,e)=>{if(O.next==-1&&e.canShift(p))return O.acceptToken(p);let a=O.peek(-1);if((o(a)||a<0)&&e.context.type!=d){if(c(O,45))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(u,3);if(c(O,46))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(I,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(J));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?F:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?K:Y);else{let a=O.pos;for(;;)if(m(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)C(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(h(O,!0))break;return}else if(O.next==91||O.next==123){if(!iO(O))return;break}else{Z(O,!0,!1,0);break}for(;m(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(nO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?OO:z,a)}}},{contextual:!0});function SO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function U(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function W(O,e){return O.next==37?(O.advance(),U(O.next)&&O.advance(),U(O.next)&&O.advance(),!0):SO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function C(O){if(O.advance(),O.next==60){for(O.advance();;)if(!W(O,!0)){O.next==62&&O.advance();break}}else for(;W(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.tag)!="f";)O.advance()}function h(O,e){let a=O.next,r=!1,t=O.pos;for(O.advance();;){let Q=O.next;if(Q<0)break;if(O.advance(),Q==a)if(Q==39)if(O.next==39)O.advance();else break;else break;else if(Q==92&&a==34)O.next>=0&&O.advance();else if(o(Q)){if(e)return!1;r=!0}else if(e&&O.pos>=t+1024)return!1}return!r}function iO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!h(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||o(O.next))return!1;O.advance()}}const kO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":kO[O-33]}function b(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function Z(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&b(O.peek(1),a))O.advance();else return!1;let t=O.pos;for(;;){let Q=O.next,n=0,R=r+1;for(;V(Q);){if(o(Q)){if(e)return!1;R=0}else R++;Q=O.peek(++n)}if(!(Q>=0&&(Q==58?b(O.peek(n+1),a):Q==35?O.peek(n-1)!=32:b(Q,a)))||!a&&R<=r||R==0&&!a&&(c(O,45,n)||c(O,46,n)))break;if(e&&S(Q)=="f")return!1;for(let v=n;v>=0;v--)O.advance();if(e&&O.pos>t+1024)return!1}return!0}const bO=new k((O,e)=>{if(O.next==33)C(O),O.acceptToken(PO);else if(O.next==38||O.next==42){let a=O.next==38?rO:QO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(h(O,!1),O.acceptToken(aO)):Z(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(eO)}),gO=new k((O,e)=>{let a=e.context.type==x?e.context.depth:-1,r=O.pos;O:for(;;){let t=0,Q=O.next;for(;Q==32;)Q=O.peek(++t);if(!t&&(c(O,45,t)||c(O,46,t))||!o(Q)&&(a<0&&(a=Math.max(e.context.depth+1,t)),tYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:XO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[xO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[dO,RO,bO,gO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),$O=E.define({name:"yaml",parser:mO.configure({props:[j.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:D({closing:"}"}),FlowSequence:D({closing:"]"})}),A.add({"FlowMapping FlowSequence":H,"BlockSequence BlockMapping BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function UO(){return new N($O)}export{UO as yaml,$O as yamlLanguage}; +var w=Object.defineProperty;var _=(O,e,a)=>e in O?w(O,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):O[e]=a;var q=(O,e,a)=>(_(O,typeof e!="symbol"?e+"":e,a),a);import{C as L,E as k,s as B,t as P,b as M,L as E,i as j,j as D,f as A,k as H,a as N}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 f=63,p=64,u=1,I=2,y=3,F=4,Y=5,K=6,J=7,z=65,OO=66,eO=8,aO=9,rO=10,QO=11,PO=12,G=13,tO=19,oO=20,nO=29,sO=33,lO=34,fO=47,cO=0,T=1,g=2,d=3,x=4,i=class i{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}};q(i,"top",new i(null,-1,cO));let s=i;function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let t=O.peek(r);if(o(t)||t==-1)return a}}function m(O){return O==32||O==9}function o(O){return O==10||O==13}function V(O){return m(O)||o(O)}function l(O){return O<0||V(O)}const XO=new L({start:s.top,reduce(O,e){return O.type==d&&(e==oO||e==lO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Y)return new s(O,X(r,r.pos),g);if(e==f)return O.parent;if(e==tO||e==sO)return new s(O,0,d);if(e==G&&O.type==x)return O.parent;if(e==fO){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new s(O,O.depth+ +t[0],x)}return O},hash(O){return O.hash}});function c(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const dO=new k((O,e)=>{if(O.next==-1&&e.canShift(p))return O.acceptToken(p);let a=O.peek(-1);if((o(a)||a<0)&&e.context.type!=d){if(c(O,45))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(u,3);if(c(O,46))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(I,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(J));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?F:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?K:Y);else{let a=O.pos;for(;;)if(m(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)C(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(h(O,!0))break;return}else if(O.next==91||O.next==123){if(!iO(O))return;break}else{Z(O,!0,!1,0);break}for(;m(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(nO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?OO:z,a)}}},{contextual:!0});function SO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function U(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function W(O,e){return O.next==37?(O.advance(),U(O.next)&&O.advance(),U(O.next)&&O.advance(),!0):SO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function C(O){if(O.advance(),O.next==60){for(O.advance();;)if(!W(O,!0)){O.next==62&&O.advance();break}}else for(;W(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.tag)!="f";)O.advance()}function h(O,e){let a=O.next,r=!1,t=O.pos;for(O.advance();;){let Q=O.next;if(Q<0)break;if(O.advance(),Q==a)if(Q==39)if(O.next==39)O.advance();else break;else break;else if(Q==92&&a==34)O.next>=0&&O.advance();else if(o(Q)){if(e)return!1;r=!0}else if(e&&O.pos>=t+1024)return!1}return!r}function iO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!h(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||o(O.next))return!1;O.advance()}}const kO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":kO[O-33]}function b(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function Z(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&b(O.peek(1),a))O.advance();else return!1;let t=O.pos;for(;;){let Q=O.next,n=0,R=r+1;for(;V(Q);){if(o(Q)){if(e)return!1;R=0}else R++;Q=O.peek(++n)}if(!(Q>=0&&(Q==58?b(O.peek(n+1),a):Q==35?O.peek(n-1)!=32:b(Q,a)))||!a&&R<=r||R==0&&!a&&(c(O,45,n)||c(O,46,n)))break;if(e&&S(Q)=="f")return!1;for(let v=n;v>=0;v--)O.advance();if(e&&O.pos>t+1024)return!1}return!0}const bO=new k((O,e)=>{if(O.next==33)C(O),O.acceptToken(PO);else if(O.next==38||O.next==42){let a=O.next==38?rO:QO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(h(O,!1),O.acceptToken(aO)):Z(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(eO)}),gO=new k((O,e)=>{let a=e.context.type==x?e.context.depth:-1,r=O.pos;O:for(;;){let t=0,Q=O.next;for(;Q==32;)Q=O.peek(++t);if(!t&&(c(O,45,t)||c(O,46,t))||!o(Q)&&(a<0&&(a=Math.max(e.context.depth+1,t)),tYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:XO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[xO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[dO,RO,bO,gO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),$O=E.define({name:"yaml",parser:mO.configure({props:[j.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:D({closing:"}"}),FlowSequence:D({closing:"]"})}),A.add({"FlowMapping FlowSequence":H,"BlockSequence BlockMapping BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function UO(){return new N($O)}export{UO as yaml,$O as yamlLanguage}; diff --git a/public/admin/assets/index-DmaX5UJ_.js b/public/admin/assets/index-Dp-A2VeR.js similarity index 98% rename from public/admin/assets/index-DmaX5UJ_.js rename to public/admin/assets/index-Dp-A2VeR.js index e60834d..8cf9569 100644 --- a/public/admin/assets/index-DmaX5UJ_.js +++ b/public/admin/assets/index-Dp-A2VeR.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{p as b,r as E,ay as P,az as T,Z as A,aA as W,m as B,aB as R,aC as _,aD as H,aE as z,a as I,aF as K,aG as V}from"./index-DEc4xym2.js";function S(o){var l;const e=R(o);return(l=e==null?void 0:e.$el)!=null?l:e}const k=_?window:void 0,j=_?window.document:void 0,D=_?window.navigator:void 0;function F(...o){let l,e,v,a;if(typeof o[0]=="string"||Array.isArray(o[0])?([e,v,a]=o,l=k):[l,e,v,a]=o,!l)return W;Array.isArray(e)||(e=[e]),Array.isArray(v)||(v=[v]);const s=[],u=()=>{s.forEach(d=>d()),s.length=0},r=(d,t,m,h)=>(d.addEventListener(t,m,h),()=>d.removeEventListener(t,m,h)),f=A(()=>[S(l),R(a)],([d,t])=>{if(u(),!d)return;const m=H(t)?{...t}:t;s.push(...e.flatMap(h=>v.map(y=>r(d,h,y,m))))},{immediate:!0,flush:"post"}),p=()=>{f(),u()};return z(p),p}function G(){const o=E(!1),l=V();return l&&I(()=>{o.value=!0},l),o}function M(o){const l=G();return b(()=>(l.value,!!o()))}function O(o,l={}){const{controls:e=!1,navigator:v=D}=l,a=M(()=>v&&"permissions"in v);let s;const u=typeof o=="string"?{name:o}:o,r=E(),f=()=>{s&&(r.value=s.state)},p=K(async()=>{if(a.value){if(!s)try{s=await v.permissions.query(u),F(s,"change",f),f()}catch{r.value="prompt"}return s}});return p(),e?{state:r,isSupported:a,query:p}:r}function U(o={}){const{navigator:l=D,read:e=!1,source:v,copiedDuring:a=1500,legacy:s=!1}=o,u=M(()=>l&&"clipboard"in l),r=O("clipboard-read"),f=O("clipboard-write"),p=b(()=>u.value||s),d=E(""),t=E(!1),m=P(()=>t.value=!1,a);function h(){u.value&&n(r.value)?l.clipboard.readText().then(w=>{d.value=w}):d.value=c()}p.value&&e&&F(["copy","cut"],h);async function y(w=R(v)){p.value&&w!=null&&(u.value&&n(f.value)?await l.clipboard.writeText(w):i(w),d.value=w,t.value=!0,m.start())}function i(w){const g=document.createElement("textarea");g.value=w??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function c(){var w,g,x;return(x=(g=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:g.toString())!=null?x:""}function n(w){return w==="granted"||w==="prompt"}return{isSupported:p,text:d,copied:t,copy:y}}function N(o,l,e={}){const{window:v=k,...a}=e;let s;const u=M(()=>v&&"ResizeObserver"in v),r=()=>{s&&(s.disconnect(),s=void 0)},f=b(()=>Array.isArray(o)?o.map(t=>S(t)):[S(o)]),p=A(f,t=>{if(r(),u.value&&v){s=new ResizeObserver(l);for(const m of t)m&&s.observe(m,a)}},{immediate:!0,flush:"post"}),d=()=>{r(),p()};return z(d),{isSupported:u,stop:d}}function Z(o,l={width:0,height:0},e={}){const{window:v=k,box:a="content-box"}=e,s=b(()=>{var t,m;return(m=(t=S(o))==null?void 0:t.namespaceURI)==null?void 0:m.includes("svg")}),u=E(l.width),r=E(l.height),{stop:f}=N(o,([t])=>{const m=a==="border-box"?t.borderBoxSize:a==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(v&&s.value){const h=S(o);if(h){const y=h.getBoundingClientRect();u.value=y.width,r.value=y.height}}else if(m){const h=Array.isArray(m)?m:[m];u.value=h.reduce((y,{inlineSize:i})=>y+i,0),r.value=h.reduce((y,{blockSize:i})=>y+i,0)}else u.value=t.contentRect.width,r.value=t.contentRect.height},e);T(()=>{const t=S(o);t&&(u.value="offsetWidth"in t?t.offsetWidth:l.width,r.value="offsetHeight"in t?t.offsetHeight:l.height)});const p=A(()=>S(o),t=>{u.value=t?l.width:0,r.value=t?l.height:0});function d(){f(),p()}return{width:u,height:r,stop:d}}const L=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Q(o,l={}){const{document:e=j,autoExit:v=!1}=l,a=b(()=>{var n;return(n=S(o))!=null?n:e==null?void 0:e.querySelector("html")}),s=E(!1),u=b(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),r=b(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),f=b(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(n=>e&&n in e||a.value&&n in a.value)),p=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(n=>e&&n in e),d=M(()=>a.value&&e&&u.value!==void 0&&r.value!==void 0&&f.value!==void 0),t=()=>p?(e==null?void 0:e[p])===a.value:!1,m=()=>{if(f.value){if(e&&e[f.value]!=null)return e[f.value];{const n=a.value;if((n==null?void 0:n[f.value])!=null)return!!n[f.value]}}return!1};async function h(){if(!(!d.value||!s.value)){if(r.value)if((e==null?void 0:e[r.value])!=null)await e[r.value]();else{const n=a.value;(n==null?void 0:n[r.value])!=null&&await n[r.value]()}s.value=!1}}async function y(){if(!d.value||s.value)return;m()&&await h();const n=a.value;u.value&&(n==null?void 0:n[u.value])!=null&&(await n[u.value](),s.value=!0)}async function i(){await(s.value?h():y())}const c=()=>{const n=m();(!n||n&&t())&&(s.value=n)};return F(e,L,c,!1),F(()=>S(a),L,c,!1),v&&z(h),{isSupported:d,isFullscreen:s,enter:y,exit:h,toggle:i}}const $={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function X(o={}){const{reactive:l=!1,target:e=k,aliasMap:v=$,passive:a=!0,onEventFired:s=W}=o,u=B(new Set),r={toJSON(){return{}},current:u},f=l?B(r):r,p=new Set,d=new Set;function t(i,c){i in f&&(l?f[i]=c:f[i].value=c)}function m(){u.clear();for(const i of d)t(i,!1)}function h(i,c){var n,w;const g=(n=i.key)==null?void 0:n.toLowerCase(),q=[(w=i.code)==null?void 0:w.toLowerCase(),g].filter(Boolean);g&&(c?u.add(g):u.delete(g));for(const C of q)d.add(C),t(C,c);g==="meta"&&!c?(p.forEach(C=>{u.delete(C),t(C,!1)}),p.clear()):typeof i.getModifierState=="function"&&i.getModifierState("Meta")&&c&&[...u,...q].forEach(C=>p.add(C))}F(e,"keydown",i=>(h(i,!0),s(i)),{passive:a}),F(e,"keyup",i=>(h(i,!1),s(i)),{passive:a}),F("blur",m,{passive:!0}),F("focus",m,{passive:!0});const y=new Proxy(f,{get(i,c,n){if(typeof c!="string")return Reflect.get(i,c,n);if(c=c.toLowerCase(),c in v&&(c=v[c]),!(c in f))if(/[+_-]/.test(c)){const g=c.split(/[+_-]/g).map(x=>x.trim());f[c]=b(()=>g.every(x=>R(y[x])))}else f[c]=E(!1);const w=Reflect.get(i,c,n);return l?R(w):w}});return y}export{U as a,X as b,Q as c,Z as u}; +import{p as b,r as E,ay as P,az as T,Z as A,aA as W,m as B,aB as R,aC as _,aD as H,aE as z,a as I,aF as K,aG as V}from"./index-CAe0BuuW.js";function S(o){var l;const e=R(o);return(l=e==null?void 0:e.$el)!=null?l:e}const k=_?window:void 0,j=_?window.document:void 0,D=_?window.navigator:void 0;function F(...o){let l,e,v,a;if(typeof o[0]=="string"||Array.isArray(o[0])?([e,v,a]=o,l=k):[l,e,v,a]=o,!l)return W;Array.isArray(e)||(e=[e]),Array.isArray(v)||(v=[v]);const s=[],u=()=>{s.forEach(d=>d()),s.length=0},r=(d,t,m,h)=>(d.addEventListener(t,m,h),()=>d.removeEventListener(t,m,h)),f=A(()=>[S(l),R(a)],([d,t])=>{if(u(),!d)return;const m=H(t)?{...t}:t;s.push(...e.flatMap(h=>v.map(y=>r(d,h,y,m))))},{immediate:!0,flush:"post"}),p=()=>{f(),u()};return z(p),p}function G(){const o=E(!1),l=V();return l&&I(()=>{o.value=!0},l),o}function M(o){const l=G();return b(()=>(l.value,!!o()))}function O(o,l={}){const{controls:e=!1,navigator:v=D}=l,a=M(()=>v&&"permissions"in v);let s;const u=typeof o=="string"?{name:o}:o,r=E(),f=()=>{s&&(r.value=s.state)},p=K(async()=>{if(a.value){if(!s)try{s=await v.permissions.query(u),F(s,"change",f),f()}catch{r.value="prompt"}return s}});return p(),e?{state:r,isSupported:a,query:p}:r}function U(o={}){const{navigator:l=D,read:e=!1,source:v,copiedDuring:a=1500,legacy:s=!1}=o,u=M(()=>l&&"clipboard"in l),r=O("clipboard-read"),f=O("clipboard-write"),p=b(()=>u.value||s),d=E(""),t=E(!1),m=P(()=>t.value=!1,a);function h(){u.value&&n(r.value)?l.clipboard.readText().then(w=>{d.value=w}):d.value=c()}p.value&&e&&F(["copy","cut"],h);async function y(w=R(v)){p.value&&w!=null&&(u.value&&n(f.value)?await l.clipboard.writeText(w):i(w),d.value=w,t.value=!0,m.start())}function i(w){const g=document.createElement("textarea");g.value=w??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function c(){var w,g,x;return(x=(g=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:g.toString())!=null?x:""}function n(w){return w==="granted"||w==="prompt"}return{isSupported:p,text:d,copied:t,copy:y}}function N(o,l,e={}){const{window:v=k,...a}=e;let s;const u=M(()=>v&&"ResizeObserver"in v),r=()=>{s&&(s.disconnect(),s=void 0)},f=b(()=>Array.isArray(o)?o.map(t=>S(t)):[S(o)]),p=A(f,t=>{if(r(),u.value&&v){s=new ResizeObserver(l);for(const m of t)m&&s.observe(m,a)}},{immediate:!0,flush:"post"}),d=()=>{r(),p()};return z(d),{isSupported:u,stop:d}}function Z(o,l={width:0,height:0},e={}){const{window:v=k,box:a="content-box"}=e,s=b(()=>{var t,m;return(m=(t=S(o))==null?void 0:t.namespaceURI)==null?void 0:m.includes("svg")}),u=E(l.width),r=E(l.height),{stop:f}=N(o,([t])=>{const m=a==="border-box"?t.borderBoxSize:a==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(v&&s.value){const h=S(o);if(h){const y=h.getBoundingClientRect();u.value=y.width,r.value=y.height}}else if(m){const h=Array.isArray(m)?m:[m];u.value=h.reduce((y,{inlineSize:i})=>y+i,0),r.value=h.reduce((y,{blockSize:i})=>y+i,0)}else u.value=t.contentRect.width,r.value=t.contentRect.height},e);T(()=>{const t=S(o);t&&(u.value="offsetWidth"in t?t.offsetWidth:l.width,r.value="offsetHeight"in t?t.offsetHeight:l.height)});const p=A(()=>S(o),t=>{u.value=t?l.width:0,r.value=t?l.height:0});function d(){f(),p()}return{width:u,height:r,stop:d}}const L=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Q(o,l={}){const{document:e=j,autoExit:v=!1}=l,a=b(()=>{var n;return(n=S(o))!=null?n:e==null?void 0:e.querySelector("html")}),s=E(!1),u=b(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),r=b(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),f=b(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(n=>e&&n in e||a.value&&n in a.value)),p=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(n=>e&&n in e),d=M(()=>a.value&&e&&u.value!==void 0&&r.value!==void 0&&f.value!==void 0),t=()=>p?(e==null?void 0:e[p])===a.value:!1,m=()=>{if(f.value){if(e&&e[f.value]!=null)return e[f.value];{const n=a.value;if((n==null?void 0:n[f.value])!=null)return!!n[f.value]}}return!1};async function h(){if(!(!d.value||!s.value)){if(r.value)if((e==null?void 0:e[r.value])!=null)await e[r.value]();else{const n=a.value;(n==null?void 0:n[r.value])!=null&&await n[r.value]()}s.value=!1}}async function y(){if(!d.value||s.value)return;m()&&await h();const n=a.value;u.value&&(n==null?void 0:n[u.value])!=null&&(await n[u.value](),s.value=!0)}async function i(){await(s.value?h():y())}const c=()=>{const n=m();(!n||n&&t())&&(s.value=n)};return F(e,L,c,!1),F(()=>S(a),L,c,!1),v&&z(h),{isSupported:d,isFullscreen:s,enter:y,exit:h,toggle:i}}const $={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function X(o={}){const{reactive:l=!1,target:e=k,aliasMap:v=$,passive:a=!0,onEventFired:s=W}=o,u=B(new Set),r={toJSON(){return{}},current:u},f=l?B(r):r,p=new Set,d=new Set;function t(i,c){i in f&&(l?f[i]=c:f[i].value=c)}function m(){u.clear();for(const i of d)t(i,!1)}function h(i,c){var n,w;const g=(n=i.key)==null?void 0:n.toLowerCase(),q=[(w=i.code)==null?void 0:w.toLowerCase(),g].filter(Boolean);g&&(c?u.add(g):u.delete(g));for(const C of q)d.add(C),t(C,c);g==="meta"&&!c?(p.forEach(C=>{u.delete(C),t(C,!1)}),p.clear()):typeof i.getModifierState=="function"&&i.getModifierState("Meta")&&c&&[...u,...q].forEach(C=>p.add(C))}F(e,"keydown",i=>(h(i,!0),s(i)),{passive:a}),F(e,"keyup",i=>(h(i,!1),s(i)),{passive:a}),F("blur",m,{passive:!0}),F("focus",m,{passive:!0});const y=new Proxy(f,{get(i,c,n){if(typeof c!="string")return Reflect.get(i,c,n);if(c=c.toLowerCase(),c in v&&(c=v[c]),!(c in f))if(/[+_-]/.test(c)){const g=c.split(/[+_-]/g).map(x=>x.trim());f[c]=b(()=>g.every(x=>R(y[x])))}else f[c]=E(!1);const w=Reflect.get(i,c,n);return l?R(w):w}});return y}export{U as a,X as b,Q as c,Z as u}; diff --git a/public/admin/assets/index-DCp_chce.js b/public/admin/assets/index-DqVV3_P8.js similarity index 95% rename from public/admin/assets/index-DCp_chce.js rename to public/admin/assets/index-DqVV3_P8.js index 7f169be..2c1c10e 100644 --- a/public/admin/assets/index-DCp_chce.js +++ b/public/admin/assets/index-DqVV3_P8.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{a as c}from"./config-BQ9gBCXa.js";import{d as q,m as v,r as _,a as w,n as d,g as U,c as k,b as e,w as l,e as g,h as z,E as j,k as I}from"./index-DEc4xym2.js";const S={class:"flex justify-between"},G=g("b",null,"MJ参数设置",-1),R=q({__name:"index",setup(N){const a=v({mjId:"",mjApplicationId:"",mjGuildId:"",mjChannelId:"",mjSessionId:"",mjVersion:"",mjAuthorization:"",mjRateLimit:""}),b=_({mjApplicationId:[{required:!0,trigger:"blur",message:"请填写应用ID"}],mjGuildId:[{required:!0,trigger:"blur",message:"请填写工会ID"}],mjChannelId:[{required:!0,trigger:"blur",message:"请填写通道ID"}],mjSessionId:[{required:!0,trigger:"blur",message:"请填写绘画ID"}],mjVersion:[{required:!0,trigger:"blur",message:"请填写版本ID"}],mjId:[{required:!0,trigger:"blur",message:"请填写基础ID"}],mjAuthorization:[{required:!0,trigger:"blur",message:"请填写授权令牌"}]}),s=_();async function p(){const n=await c.queryConfig({keys:["mjApplicationId","mjGuildId","mjChannelId","mjId","mjSessionId","mjVersion","mjAuthorization","mjRateLimit"]});Object.assign(a,n.data)}function V(){var n;(n=s.value)==null||n.validate(async o=>{if(o){try{await c.setConfig({settings:x(a)}),j.success("变更配置信息成功")}catch{}p()}else j.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return w(()=>{p()}),(n,o)=>{const f=d("el-alert"),h=D,C=d("el-button"),r=d("el-input"),u=d("el-form-item"),m=d("el-col"),i=d("el-row"),A=d("el-form"),y=d("el-card");return U(),k("div",null,[e(h,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"MJ参数说明",description:"详细配置请参考说明文档、当前暂未开放卡池、单个账号并发默认为三、如果您是更高的等级账号请在.env文件下添加 CONCURRENCY=3 此环境变量修改并发数、我们会为您默认开启队列、人数超过限制将需要进行排队!",type:"success"})]),_:1}),e(y,{style:{margin:"20px"}},{header:l(()=>[g("div",S,[G,e(C,{class:"button",text:"",onClick:V},{default:l(()=>[z(" 保存设置 ")]),_:1})])]),default:l(()=>[e(A,{ref_key:"formRef",ref:s,rules:b.value,model:a,"label-width":"130px"},{default:l(()=>[e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"id",prop:"mjId"},{default:l(()=>[e(r,{modelValue:a.mjId,"onUpdate:modelValue":o[0]||(o[0]=t=>a.mjId=t),placeholder:"请填写ID信息",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"guildId",prop:"mjGuildId"},{default:l(()=>[e(r,{modelValue:a.mjGuildId,"onUpdate:modelValue":o[1]||(o[1]=t=>a.mjGuildId=t),placeholder:"请填写工会ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"channelId",prop:"mjChannelId"},{default:l(()=>[e(r,{modelValue:a.mjChannelId,"onUpdate:modelValue":o[2]||(o[2]=t=>a.mjChannelId=t),placeholder:"请填写通道ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"sessionId",prop:"mjSessionId"},{default:l(()=>[e(r,{modelValue:a.mjSessionId,"onUpdate:modelValue":o[3]||(o[3]=t=>a.mjSessionId=t),placeholder:"请填写会话ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"version",prop:"mjVersion"},{default:l(()=>[e(r,{modelValue:a.mjVersion,"onUpdate:modelValue":o[4]||(o[4]=t=>a.mjVersion=t),placeholder:"请填写版本信息",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"authorization",prop:"mjAuthorization"},{default:l(()=>[e(r,{modelValue:a.mjAuthorization,"onUpdate:modelValue":o[5]||(o[5]=t=>a.mjAuthorization=t),placeholder:"请填写授权令牌",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"applicationId",prop:"mjApplicationId"},{default:l(()=>[e(r,{modelValue:a.mjApplicationId,"onUpdate:modelValue":o[6]||(o[6]=t=>a.mjApplicationId=t),placeholder:"请填写应用程序ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof I=="function"&&I(R);export{R as default}; +import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as c}from"./config-CwtVyG0K.js";import{d as q,m as v,r as _,a as w,n as d,g as U,c as k,b as e,w as l,e as g,h as z,E as j,k as I}from"./index-CAe0BuuW.js";const S={class:"flex justify-between"},G=g("b",null,"MJ参数设置",-1),R=q({__name:"index",setup(N){const a=v({mjId:"",mjApplicationId:"",mjGuildId:"",mjChannelId:"",mjSessionId:"",mjVersion:"",mjAuthorization:"",mjRateLimit:""}),b=_({mjApplicationId:[{required:!0,trigger:"blur",message:"请填写应用ID"}],mjGuildId:[{required:!0,trigger:"blur",message:"请填写工会ID"}],mjChannelId:[{required:!0,trigger:"blur",message:"请填写通道ID"}],mjSessionId:[{required:!0,trigger:"blur",message:"请填写绘画ID"}],mjVersion:[{required:!0,trigger:"blur",message:"请填写版本ID"}],mjId:[{required:!0,trigger:"blur",message:"请填写基础ID"}],mjAuthorization:[{required:!0,trigger:"blur",message:"请填写授权令牌"}]}),s=_();async function p(){const n=await c.queryConfig({keys:["mjApplicationId","mjGuildId","mjChannelId","mjId","mjSessionId","mjVersion","mjAuthorization","mjRateLimit"]});Object.assign(a,n.data)}function V(){var n;(n=s.value)==null||n.validate(async o=>{if(o){try{await c.setConfig({settings:x(a)}),j.success("变更配置信息成功")}catch{}p()}else j.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return w(()=>{p()}),(n,o)=>{const f=d("el-alert"),h=D,C=d("el-button"),r=d("el-input"),u=d("el-form-item"),m=d("el-col"),i=d("el-row"),A=d("el-form"),y=d("el-card");return U(),k("div",null,[e(h,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"MJ参数说明",description:"详细配置请参考说明文档、当前暂未开放卡池、单个账号并发默认为三、如果您是更高的等级账号请在.env文件下添加 CONCURRENCY=3 此环境变量修改并发数、我们会为您默认开启队列、人数超过限制将需要进行排队!",type:"success"})]),_:1}),e(y,{style:{margin:"20px"}},{header:l(()=>[g("div",S,[G,e(C,{class:"button",text:"",onClick:V},{default:l(()=>[z(" 保存设置 ")]),_:1})])]),default:l(()=>[e(A,{ref_key:"formRef",ref:s,rules:b.value,model:a,"label-width":"130px"},{default:l(()=>[e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"id",prop:"mjId"},{default:l(()=>[e(r,{modelValue:a.mjId,"onUpdate:modelValue":o[0]||(o[0]=t=>a.mjId=t),placeholder:"请填写ID信息",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"guildId",prop:"mjGuildId"},{default:l(()=>[e(r,{modelValue:a.mjGuildId,"onUpdate:modelValue":o[1]||(o[1]=t=>a.mjGuildId=t),placeholder:"请填写工会ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"channelId",prop:"mjChannelId"},{default:l(()=>[e(r,{modelValue:a.mjChannelId,"onUpdate:modelValue":o[2]||(o[2]=t=>a.mjChannelId=t),placeholder:"请填写通道ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"sessionId",prop:"mjSessionId"},{default:l(()=>[e(r,{modelValue:a.mjSessionId,"onUpdate:modelValue":o[3]||(o[3]=t=>a.mjSessionId=t),placeholder:"请填写会话ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"version",prop:"mjVersion"},{default:l(()=>[e(r,{modelValue:a.mjVersion,"onUpdate:modelValue":o[4]||(o[4]=t=>a.mjVersion=t),placeholder:"请填写版本信息",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"authorization",prop:"mjAuthorization"},{default:l(()=>[e(r,{modelValue:a.mjAuthorization,"onUpdate:modelValue":o[5]||(o[5]=t=>a.mjAuthorization=t),placeholder:"请填写授权令牌",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"applicationId",prop:"mjApplicationId"},{default:l(()=>[e(r,{modelValue:a.mjApplicationId,"onUpdate:modelValue":o[6]||(o[6]=t=>a.mjApplicationId=t),placeholder:"请填写应用程序ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof I=="function"&&I(R);export{R as default}; diff --git a/public/admin/assets/index-DurhRyBU.js b/public/admin/assets/index-DurhRyBU.js deleted file mode 100644 index c7b6d80..0000000 --- a/public/admin/assets/index-DurhRyBU.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-BstFZRfU.js";import"./index-DEc4xym2.js";export{m as default}; diff --git a/public/admin/assets/index-J5zVJPyL.js b/public/admin/assets/index-J5zVJPyL.js deleted file mode 100644 index bced763..0000000 --- a/public/admin/assets/index-J5zVJPyL.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -const l=[{value:0,label:"待激活"},{value:1,label:"正常"},{value:2,label:"已封禁"},{value:3,label:"黑名单"}],a={0:"待激活",1:"正常",2:"已封禁",3:"黑名单"},e={0:"info",1:"success",2:"danger",3:"danger"},u={1:"注册赠送",2:"受邀请赠送",3:"邀请人赠送",4:"购买套餐赠送",5:"管理员赠送",6:"扫码支付",7:"绘画失败退款",8:"签到奖励"},t=[{value:1,label:"注册赠送"},{value:2,label:"受邀请赠送"},{value:3,label:"邀请人赠送"},{value:4,label:"购买套餐赠送"},{value:5,label:"管理员赠送"},{value:6,label:"扫码支付"},{value:7,label:"绘画失败退款"},{value:8,label:"签到奖励"}],o={0:"关闭",1:"开启"},s=[{value:0,label:"禁用"},{value:1,label:"启动"}],b=[{value:0,label:"未使用"},{value:1,label:"已使用"}],n=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],v=[{value:0,label:"禁用"},{value:1,label:"启用"},{value:3,label:"待审核"},{value:4,label:"拒绝共享"},{value:5,label:"通过共享"}],T=[{value:"0",label:"未启用"},{value:"1",label:"已启用"}],c=[{value:0,label:"待审核"},{value:1,label:"已通过"},{value:-1,label:"已拒绝"}],S=[{value:0,label:"未推荐"},{value:1,label:"已推荐"}],p=[{value:1,label:"支付宝"},{value:2,label:"微信"}],_=[{value:1,label:"正在排队"},{value:2,label:"正在绘制"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],r={"-1":"欠费锁定",0:"未启用",1:"已启用",3:"待审核",4:"拒绝共享",5:"通过共享"},i=["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4o","gpt-4o-2024-05-13","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-all","claude-2","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","claude-3-5-sonnet-20240620","gemini-pro","gemini-pro-vision","gemini-pro-1.5","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","Baichuan2-53B","Baichuan2-Turbo","Baichuan2-Turbo-192k","yi-34b-chat-0205","yi-34b-chat-200k","yi-vl-plus","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5","deepseek-chat","deepseek-coder","moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k","dall-e-3","midjourney","luma-video","tts-1","gpts","stable-diffusion","suno-v3"],E=[{value:"midjourney",label:"Midjourney"},{value:"stable-diffusion",label:"Stable-Diffusion"},{value:"dall-e-3",label:"Dall-e-3"}],g=[{value:0,label:"未支付"},{value:1,label:"已支付"},{value:2,label:"支付失败"},{value:3,label:"支付超时"}],m={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},A=[{value:"epay",label:"易支付"},{value:"hupi",label:"虎皮椒"},{value:"wechat",label:"微信支付"},{value:"mpay",label:"码支付"},{value:"ltzf",label:"蓝兔支付"}],O={epay:"易支付",hupi:"虎皮椒",wechat:"微信支付",mpay:"码支付",ltzf:"蓝兔支付"},P=[{value:1,label:"等待中"},{value:2,label:"绘制中"},{value:3,label:"绘制完成"},{value:4,label:"绘制失败"},{value:5,label:"绘制超时"}],k=[{value:"百度云检测",label:"百度云检测"},{value:"自定义检测",label:"自定义检测"}],I=[{value:1,label:"基础对话"},{value:2,label:"创意模型"},{value:3,label:"特殊模型"}],h={1:"基础对话",2:"创意模型",3:"特殊模型"},d={1:["gpt-3.5-turbo","gpt-3.5-turbo-1106","gpt-3.5-turbo-0125","gpt-3.5-turbo-instruct","gpt-4","gpt-4o","gpt-4o-2024-05-13","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-all","claude-2","claude-3-sonnet-20240229","claude-3-opus-20240229","claude-3-haiku-20240307","claude-3-5-sonnet-20240620","gemini-pro","gemini-pro-vision","gemini-pro-1.5","ERNIE-Bot","ERNIE-Bot-4","ERNIE-3.5-8K","ERNIE-Bot-turbo","qwen-turbo","qwen-plus","qwen-max","qwen-max-1201","qwen-max-longcontext","hunyuan","chatglm_turbo","chatglm_pro","chatglm_std","chatglm_lite","glm-3-turbo","glm-4","glm-4v","Baichuan2-53B","Baichuan2-Turbo","Baichuan2-Turbo-192k","yi-34b-chat-0205","yi-34b-chat-200k","yi-vl-plus","360GPT_S2_V9","SparkDesk","SparkDesk-v1.1","SparkDesk-v2.1","SparkDesk-v3.1","SparkDesk-v3.5","deepseek-chat","deepseek-coder","moonshot-v1-8k","moonshot-v1-32k","moonshot-v1-128k"],2:["dall-e-3","midjourney","stable-diffusion","suno-v3","luma-video"],3:["tts-1","gpts"]},N=[{value:1,label:"普通积分"},{value:2,label:"高级积分"},{value:3,label:"绘画积分"}];export{b as C,E as D,v as E,o as I,i as M,c as O,A as P,r as Q,n as R,k as T,e as U,_ as W,P as a,S as b,I as c,T as d,h as e,N as f,d as g,g as h,O as i,m as j,s as k,p as l,a as m,l as n,t as o,u as p}; diff --git a/public/admin/assets/index-KJICoTyc.js b/public/admin/assets/index-KJICoTyc.js new file mode 100644 index 0000000..4c113b5 --- /dev/null +++ b/public/admin/assets/index-KJICoTyc.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-CK7s6_6M.js";import"./index-CAe0BuuW.js";export{m as default}; diff --git a/public/admin/assets/index-DQbuznjs.js b/public/admin/assets/index-P2Vt3Ddu.js similarity index 99% rename from public/admin/assets/index-DQbuznjs.js rename to public/admin/assets/index-P2Vt3Ddu.js index df166d8..a775e2b 100644 --- a/public/admin/assets/index-DQbuznjs.js +++ b/public/admin/assets/index-P2Vt3Ddu.js @@ -5,7 +5,7 @@ * https://fantastic-admin.github.io */ -import{E as s,C as R,s as Y,t as O,b as x,l as w,m as X,g as d,L as k,i as h,c as l,h as f,j as u,f as y,k as g,a as j,d as U,e as G,I as b,N as Z}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new s((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new R({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=Y({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=x.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuOPQSO7+%hOOQP7+%h7+%hO4cQQO7+%hOOQP1G0Q1G0QO!>^QQO1G0QOOQP1G0U1G0UO!>fQQO1G0UOF|QQO1G0UOOQO,5nAN>nO4cQQOAN>nO!IsQSOAN>nOOQP<nQQO'#FrOOQO,5vAN>vO!LtQQOAN>vP.hQQO'#F|OOQPG25XG25XO!LyQQOG25bO!MOQQO'#FPOOQPG25bG25bO!MZQQOG25bOOQPLD)tLD)tOOQPG24bG24bO!JqQQOLD*|O!9OQQO'#GQO!McQQO,5;kOOQP,5;k,5;kO?tQQO'#FQO!MnQQO'#FQO!MsQQOLD*|OOQP!$'Nh!$'NhOOQO,5VO^!hOh!POr-TOw}O!P-_O!Q-`O!W-^O!]-eO%O!eO%Y!fO~OZ!sO~O^#uO~O!P$xO~On!lO#W%]aV%]a^%]ah%]ar%]aw%]a!P%]a!Q%]a!W%]a!]%]a#T%]a$w%]a%O%]a%Y%]au%]a~O]${O^#QO~OZ#RO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O]$|O!|,WO~PBROj!qOn%QO!QnOi%cP~P*aO!V%WO!|#`O~PBRO!V%YO~OV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oi%dX#p%dX#q%dX~PDQOi%]O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-QO!WaO!]!QO!phO!qhO%O+{O%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^%aO%O%_O~O!QnO!a%cO~P*aO!QnOn$mX#T$mX#U$mXV$mX$w$mX!a$mX~P*aOn#TO#T%ea#U%eaV%ea$w%ea!a%ea~O]%fO~PF|OV#ga$w#ga~PDTO[%sO~OZ#rO[#qO]%vO%O#oO~O^!hOh!POn%zOr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO]%[P~O^&OOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%Y!fO^%ZXj%ZX~O%O%}O~PKfOjcO^qa]qanqa!Vqa~O^#uO!W&SO~O^!hOh!POr-TOw}O{&WO!P-_O!Q-`O!W-^O!]-eO%O,xO%Y!fO~Oi&^O~PL{O^!hOh!POr!jOw}O!Q!kO!WaO!]!QO%O!eO%Y!fO~O!P#hO~PMwOi&eO%O,yO%Y!fO~O#T&gOV#ZX$w#ZX~P?tO]&kO%O#oO~O^!hOh!POr-TOw}O!P-_O!Q-`O!]-eO%O!eO%Y!fO~O!W&lO#T&mO~P! _O]&qO%O#oO~O#T&sOV#eX$w#eX~P?tO]&vO%O#oO~OjeX~P$XOjcO!|,XO~P2gOn!lO#W&yO#W%]X~O^#VOn#TO!Q#cO!W#SO!|,XO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX~OZ&zOj$`O$w`X~P!#cOi'OO#p'PO#q'QO~OZ#ROjcO~P!#cO#T'TO#U#iO~O#W'UO~OV'WO!QnO~P*aOV'XO~OjcO~O!|#`OV#za$w#za~PBROi'[O#p']O#q'^O~On#TO!|#`OV%eX$w%eX!a%eX~PBRO!|#`OV$Za$w$Za~PBRO${$rO$|$rO$}'`O~O]${O~O%O!eO]%ZXn%ZX!V%ZX~PKfO!|#`Oi!_Xn!_X!a!`X~PBROi!_Xn!_X!a!`X~O!a'aO~On'bOi%cX~Oi'dO~On'eO!V%bX!a%bX~O!V'gO~O]'jOn'kO!|,YO~PBROn'nO!V'mO!a'oO!|#`O~PBRO!QnO!V'qO!a'rO~P*aO!|#`On$ma#T$ma#U$maV$ma$w$ma!a$ma~PBRO]'sOu'tO~O%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi!|!xi#R!xi#T!xi#U!xi$w!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~O!V!xii!xi!a!xi~P!+YO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi!V!xii!xi!a!xi~O!|!xi~P!-TO!|#`O~P!-TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%q!xi~O!|#`O!V!xii!xi!a!xi~P!/VO!|#`OV#Pi$w#Pi!a#Pi~PBRO]'uOn'wOu'vO~OZ#rO[#qO]'zO%O#oO~Ou'|O~P?tOn'}O]%[X~O](PO~OZeX^mX^!TXj!TX!W!TX~OjcOV$]i$w$]i~O%`(ZOV%^X$w%^Xn%^X!V%^X~Oi(`O~PL{O[(aO!W!tOVlX$wlX~On(bO~P?tO[(aOVlX$wlX~Oi(hO%O,yO%Y!fO~O!V(iO~O#T(kO~O](nO%O#oO~O[oO^YOaoOdoOh!POr!pOu-bOw}O!P!OO!QnO!V-UO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O+zO~P!4vO](sO%O#oO~O#T(tOV#ea$w#ea~O](xO%O#oO~O#k(yOV#ii$w#ii~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O+xO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^(|O%O%_O~O#p%dP#q%dP~P/uOi)PO#p'PO#q'QO~O!a)RO~O!QnO#y)VO~P*aOV)WO!|#`O~PBROj#wa~P;_OV)WO!QnO~P*aOi)]O#p']O#q'^O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O,eO~P!:lO!a)bO~Oj!qO!QnO~P*aOj!qO!QnOi%ca~P*aOn)iOi%ca~O!V%ba!a%ba~P?tOn)lO!V%ba!a%ba~O])nO~O])oO~O!V)pO~O!QnO!V)rO!a)sO~P*aO!V)rO!a)sO!|#`O~PBRO])uOn)vO~O])wOn)xO~O^!hOh!POr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO~O]%[a~P!>nOn)|O]%[a~O]${O]tXntX~OjcOV$^q$w$^q~On*PO{&WO~P?tOn*SO!V%rX~O!V*UO~OjcOV$]q$w$]q~O%`(ZOV|a$w|an|a!V|a~O[*]OVla$wla~O[*]O!W!tOVla$wla~On*PO{&WO!W*`O^%WXj%WX~P! _OjcO#j!UO~OjcO!|,XO~PBROZ*dO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O!|#`O~P!BoO#^*eO~P?tO!a*fO~Oj$`O!|,XO~P!BoO#W*hO~Oj#wi~P;_OV*kO!|#`O~PBROn#TO!Q#cO!|#`O!a$QX#T%eX~PBRO#T*lO~O#W*lO~O!a*mO~O!|#`Oi!_in!_i~PBRO!|#`Oi!bXn!bX!a!cX~PBROi!bXn!bX!a!cX~O!a*nO~Oj!qO!QnOi%ci~P*aO!V%bi!a%bi~P?tO!V*qO!a*rO!|#`O~PBRO!V*qO!|#`O~PBRO]*tO~O]*uO~O]*uOu*vO~O]%[i~P!>nO%O!eO!V%ra~On*|O!V%ra~O[+OOVli$wli~O%O+yO~P!4vO#k+QOV#iy$w#iy~O^+RO%O%_O~O]+SO~O!|,XOj#xq~PBROj#wq~P;_O!V+ZO!|#`O~PBRO]+[On+]O~O%O!eO!V%ri~O^#QOn'eO!V%bX~O#^+`O~P?tOj+aO~O^#VO!W#SO!|#`O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~OZ+cO~P!JvO!|#`O!a$Qi~PBRO!|#`Oi!bin!bi~PBRO!V+dO!|#`O~PBRO]+eO~O]+fO~Oi+iO#p+jO#q+kO~O^+lO%O%_O~Oi+pO#p+jO#q+kO~O!a+rO~O#^+sO~P?tO!a+tO~O]+uO~OZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXVeXneX!QeX#ReX#TeX#UeX$weX~O]eX]!TX!VeXieX!aeX~P!NUOjeX~P!NUOZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXn!TX!VeX~O]eX!V!TX~P#!gOh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~P#!gOZeX^eX^!TXj!TXneX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O]eXueX~P#$xO]$mXn$mXu$mX~PF|Oj$mXn$mX~P!7`On+|O]%eau%ea~On+}Oj%ea~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-OO!WaO!]!QO!phO!qhO%O+yO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~OZeX]!TX^UXhUXnUXn!TXrUXuUXwUX!PUX!QUX!WUX!W!TX!]UX%OUX%YUX~OnUX!QeX!aeX#TeX#WUX~P#$xOn+|O!|,YO]%eXu%eX~PBROn+}O!|,XOj%eX~PBRO^&OOV%ZXj%ZX$w%ZX]%ZXn%ZX!V%ZXu%ZX%`%ZX#T%ZX[%ZX!a%ZX~P?wO!|,YO]$man$mau$ma~PBRO!|,XOj$man$ma~PBRO%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~Oj!xi~P!+YOn!xiu!xi~P#,hO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%p!xi%q!xi~O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xij!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi~O!|!xi~P#/_On!xiu!xi~P#.TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi%p!xi%q!xi~O!|,WO~P#1^O!|,XO~P#/_O!|,YOn!xiu!xi~P#1^O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OZ!xi]!xi^!xi!W!xi%q!xi~O!|,WO~P#3QO!|,XOj!xi~P!/VO!|,YOn!xiu!xi~P#3QO!|,XOj#Pi~PBROV!TXZeX^mX!W!TX$w!TX~O%`!TX~P#5RO[!TXhmXnmXrmXwmX!PmX!QmX!WmX!]mX%OmX%YmX~P#5ROn#TO!Q,aO!|,XO#R#dOj`X#T%eX#U%eX~PBRO[oO^YOaoOdoOh!POr!pOw}O!P#hO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO%O+yO~P#6{O!Q-PO%O+xO~P#6{O!Q-QO%O+{O~P#6{O#T,bO#U,bO~O#W,cO~O^!hOh!POr-TOw}O!P-_O!Q-WO!W-^O!]-eO%O!eO%Y!fO~O^!hOh!POr-TOw}O!Q-`O!W-^O!]-eO%O!eO%Y!fO~O!P-VO~P#9zO%O+wO~P!4vO!P-XO~O!V-YO!|#`O~PBRO!V-ZO~O!V-[O~O!W-dO~OP%ka%Oa~",goto:"!FW%sPP%tP%wP%zP'SP'XPPPP'`'cP'u'uP)w'u-_PPP0j0m0qP1V4b1VP7s8WP1VP8a8d8hP8p8w1VPP1V8{<`?vPPCY-_-_-_PCdCuCxPC{DQ'u'uDV'uES'u'u'u'uGUIW'uPPJR'uJUMjMjMj'u! r! r!#SP!$`!%d!&d'cP'cPP'cP!&yP!'V!'^!&yP!'a!'h!'n!'w!&yP!'z!(R!&y!(U!(fPP!&yP!(x!)UPP!&y!)Y!)c!&yP!)g!)gP!&yP!&yP!)j!)m!&v!&yP!&yPPP!&yP!&yP!)q!)q!)w!)}!*U!*[!*d!*j!*p!*w!*}!+T!+Z!.q!.x!/O!/X!/m!/s!/z!0Q!0W!0^!0d!0jPPPPPPPPP!0p!1f!1k!1{!2kPP!7P!:^P!>u!?Z!?_!@Z!@fP!@p!D_!Df!Di!DuPPPPPPPPPPPP!FSR!aPRyO!WXOScw!R!T!U!W#O#k#n#u$R$X&O&j&u&|'W'Y']'})W)|*k*w+gQ#pzU#r{#s%uQ#x|U$T!S$U&pQ$^!VQ$y!lR)U'RVROS#nQ#t{T%t#s%uR#t{qrOScw!U!V!W#O#k#n&|'W'Y)W*k+g%PoOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%O]OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^#u!iW^!O!h!t!z#e#h#u#v#y#|#}$P$Q$T$W$v$x%W%Y%a%x%y&O&S&W&]&`&b&d&m'e'|'}(S([(c(i(o(|)l)|*P*Q*S*p*w*|+R+^+j+l,h-U-V-W-X-Y-Z-[-]-_-d'cbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR$O!PT&c#}&dW%`#R&z*d+cQ&Q#vS&V#y&]S&`#}&dR*Y(b'cZOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d%fWOSWYacmnw!O!U!V!W!X!Z!_!q!z#O#Q#S#T#V#^#_#`#a#b#c#h#i#j#k#n#v#|$f$v$x%W%Y%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(i(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S&b#}&d!{-]!h!t#e#u#y$P$Q$T$W%a%x%y&O&W&]&`&m'e'|'}(S([(c(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-dQ#v|S$v!j!pU&P#v$v,hZ,h#x&Q&U&V-TS%{#u&OV){'})|*wR#z}T&[#y&]]&X#y&](S([(o*QZ&Z#y&](S(o*QT([&Y(]'s_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d'r_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!w^'bbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&a#}&dR(d&bS!u]fX!x`&_(e(oQ!r[Q%O!qQ)d'aU)f'b)i*oR+X*nR%R!qR%P!qV)h'b)i*oV)g'b)i*odtOScw#O#k#n&|'Y+gQ$h!WQ&R#wQ&w$[S'S$c$iQ(V&TQ*O(RQ*V(WQ*b(yQ*c(zR+_+Q%PfOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%PgOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^!q#Weg!o!y$[$_$c$j$m$q$}%^%b%d%m'V'p(z({)S)Y)^)c)e)q)t*i*s+T+V+W+Y,f,g,i,j,w,z-aR#fh#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z[,V%^,f,i,p,s,v`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q!Y#^e!y$j$m$q$}%b%d%i%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aY,Q!o,k,n,q,tl,R$[$_$c(z)S*i,g,j,l,o,r,u,w,z_,S%^,f,i,m,p,s,v!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z],V%^,f,i,p,s,v!S#ae!y$j$m$q$}%b%d%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aS,Z!o,tf,[$[$_$c(z)S*i,g,j,u,w,zX,]%^,f,i,v!Q#be!y$j$m$q$}%b%d%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aQ,^!od,_$[$_$c(z)S*i,g,j,w,zV,`%^,f,iprOScw!U!V!W#O#k#n&|'W'Y)W*k+gR)a']etOScw#O#k#n&|'Y+gQ$S!RT&i$R&jR$S!RQ$V!ST&o$U&pQ&U#xR&m$TS(T&S&lV*{*S*|+^R$V!SQ$Y!TT&t$X&uR$Y!TdsOScw#O#k#n&|'Y+gT$p![!]dtOScw#O#k#n&|'Y+gQ*b(yR+_+QQ$a!VQ&{$_Q)T'RR*g)ST&|$`&}Q+b+SQ+m+fR+v+uT+g+a+hR$i!WR$l!YT'Y$k'ZXuOSw#nQ$s!`R'_$sSSO#nR!dSQ%u#sR'y%uUwOS#nR#mwQ&d#}R(g&dQ(c&`R*Z(cS!mX$^R$z!mQ(O%{R)}(OQ&]#yR(_&]Q(]&YR*X(]'r^OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!v^S'f%T+PR)m'fQ'c%RR)j'cW#Oc&|'Y+gR%[#O^#Ue$[$_$c$m)^,zU%e#U,O,PQ,O,fR,P,gQ&j$RR(m&jS*Q(S(oR*y*QQ*T(TR*}*TQ&p$UR(r&pQ&u$XR(w&uQ&}$`R)O&}Q+h+aR+o+hQ'Z$kR)['ZQ!cRQ#luQ#nyQ%Z!|Q&x$]Q'R$bQ'x%tQ(^&[Q(f&cQ(l&iQ(q&oR(v&tVxOS#nWuOSw#nY!|c#O&|'Y+gR%r#kdtOScw#O#k#n&|'Y+gQ$]!UQ$b!VQ$g!WQ)X'WQ*j)WR+U*kdeOScw#O#k#n&|'Y+gQ!oYQ!ya`#gmn,{,|,}-O-P-QQ$[!UQ$_!VQ$c!WQ$j!Xd$m!Z#i#j&g&s'P'T'U(k(tQ$q!_Q$}!qQ%^#QQ%b#SQ%d#TW%h#^,Q,R,SQ%i#_Q%j#`Q%k#aQ%l#bQ%m#cQ'V$fQ'p%cQ(z&xQ({&yQ)S'RQ)Y'XQ)^']Q)c'aU)e'b)i*oQ)q'oQ)t'rQ*i)VQ*s)sQ+T*hQ+V*lQ+W*nQ+Y*rS,f#V'wS,g,b,cQ,i+|Q,j+}Q,k,TQ,l,UQ,m,VQ,n,WQ,o,XQ,p,YQ,q,ZQ,r,[Q,s,]Q,t,^Q,u,_Q,v,`Q,w,aU,z'W)W*kV-a&l*`-^#bZW!O!h!t!z#e#h#u#v#y#|$P$Q$T$W$v$x%W%Y%a%x%y&O&W&]&`&m'e'|'}(S([(c(i(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-d%P[OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^$zdOSacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S!gW-]Q!nYS#{!O-_Q$u!hS%T!t+jS%X!z-UQ%n#e[%o#h#|$x-V-W-XW%w#u'})|*wU&P#v$v,h[&X#y&](S([(o*QQ&f$PQ&h$QQ&n$TQ&r$WS'h%W-YS'i%Y-ZW'l%a(|+R+lS'{%x%yQ(Q&OQ(Y&WQ(d&`Q(p&mU)k'e)l*pQ)z'|Q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R#S+lQ+WQ!Q![+^#R#S+lQ+cRaQ!Q![+^#R#S+l#]#^+rQ+oP!Q![+^Q+wOaQQ+zP!Q![*`~,SR%k~z{,]!P!Q,b!_!`&X~,bO$z~~,gSP~OY,bZ;'S,b;'S;=`,s<%lO,b~,vP;=`<%l,bQ-O[aQ!O!P*`!Q![-t!d!e.c!g!h*t!q!r/Z!z!{/x#R#S.]#U#V.c#X#Y*t#]#^+r#c#d/Z#l#m/xQ-yUaQ!O!P*`!Q![-t!g!h*t#R#S.]#X#Y*t#]#^+rQ.`P!Q![-tQ.fR!Q!R.o!R!S.o#R#S/QQ.tSaQ!Q!R.o!R!S.o#R#S/Q#]#^+rQ/TQ!Q!R.o!R!S.oQ/^Q!Q!Y/d#R#S/rQ/iRaQ!Q!Y/d#R#S/r#]#^+rQ/uP!Q!Y/dQ/{T!O!P0[!Q![1c!c!i1c#R#S2Q#T#Z1cQ0_S!Q![0k!c!i0k#R#S1V#T#Z0kQ0pVaQ!Q![0k!c!i0k!r!s*t#R#S1V#T#Z0k#]#^+r#d#e*tQ1YR!Q![0k!c!i0k#T#Z0kQ1hWaQ!O!P0k!Q![1c!c!i1c!r!s*t#R#S2Q#T#Z1c#]#^+r#d#e*tQ2TR!Q![1c!c!i1c#T#Z1c~2cP!a~!_!`2f~2kO#W~~2pOV~~2uR!|S}!O3O!^!_3T!_!`$S~3TO!Q~~3YP%m~!_!`&X~3bP#T~!_!`$S~3jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new w("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { +import{E as s,C as R,s as Y,t as O,b as x,l as w,m as X,g as d,L as k,i as h,c as l,h as f,j as u,f as y,k as g,a as j,d as U,e as G,I as b,N as Z}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 _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new s((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new R({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=Y({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=x.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuOPQSO7+%hOOQP7+%h7+%hO4cQQO7+%hOOQP1G0Q1G0QO!>^QQO1G0QOOQP1G0U1G0UO!>fQQO1G0UOF|QQO1G0UOOQO,5nAN>nO4cQQOAN>nO!IsQSOAN>nOOQP<nQQO'#FrOOQO,5vAN>vO!LtQQOAN>vP.hQQO'#F|OOQPG25XG25XO!LyQQOG25bO!MOQQO'#FPOOQPG25bG25bO!MZQQOG25bOOQPLD)tLD)tOOQPG24bG24bO!JqQQOLD*|O!9OQQO'#GQO!McQQO,5;kOOQP,5;k,5;kO?tQQO'#FQO!MnQQO'#FQO!MsQQOLD*|OOQP!$'Nh!$'NhOOQO,5VO^!hOh!POr-TOw}O!P-_O!Q-`O!W-^O!]-eO%O!eO%Y!fO~OZ!sO~O^#uO~O!P$xO~On!lO#W%]aV%]a^%]ah%]ar%]aw%]a!P%]a!Q%]a!W%]a!]%]a#T%]a$w%]a%O%]a%Y%]au%]a~O]${O^#QO~OZ#RO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O]$|O!|,WO~PBROj!qOn%QO!QnOi%cP~P*aO!V%WO!|#`O~PBRO!V%YO~OV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oi%dX#p%dX#q%dX~PDQOi%]O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-QO!WaO!]!QO!phO!qhO%O+{O%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^%aO%O%_O~O!QnO!a%cO~P*aO!QnOn$mX#T$mX#U$mXV$mX$w$mX!a$mX~P*aOn#TO#T%ea#U%eaV%ea$w%ea!a%ea~O]%fO~PF|OV#ga$w#ga~PDTO[%sO~OZ#rO[#qO]%vO%O#oO~O^!hOh!POn%zOr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO]%[P~O^&OOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%Y!fO^%ZXj%ZX~O%O%}O~PKfOjcO^qa]qanqa!Vqa~O^#uO!W&SO~O^!hOh!POr-TOw}O{&WO!P-_O!Q-`O!W-^O!]-eO%O,xO%Y!fO~Oi&^O~PL{O^!hOh!POr!jOw}O!Q!kO!WaO!]!QO%O!eO%Y!fO~O!P#hO~PMwOi&eO%O,yO%Y!fO~O#T&gOV#ZX$w#ZX~P?tO]&kO%O#oO~O^!hOh!POr-TOw}O!P-_O!Q-`O!]-eO%O!eO%Y!fO~O!W&lO#T&mO~P! _O]&qO%O#oO~O#T&sOV#eX$w#eX~P?tO]&vO%O#oO~OjeX~P$XOjcO!|,XO~P2gOn!lO#W&yO#W%]X~O^#VOn#TO!Q#cO!W#SO!|,XO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX~OZ&zOj$`O$w`X~P!#cOi'OO#p'PO#q'QO~OZ#ROjcO~P!#cO#T'TO#U#iO~O#W'UO~OV'WO!QnO~P*aOV'XO~OjcO~O!|#`OV#za$w#za~PBROi'[O#p']O#q'^O~On#TO!|#`OV%eX$w%eX!a%eX~PBRO!|#`OV$Za$w$Za~PBRO${$rO$|$rO$}'`O~O]${O~O%O!eO]%ZXn%ZX!V%ZX~PKfO!|#`Oi!_Xn!_X!a!`X~PBROi!_Xn!_X!a!`X~O!a'aO~On'bOi%cX~Oi'dO~On'eO!V%bX!a%bX~O!V'gO~O]'jOn'kO!|,YO~PBROn'nO!V'mO!a'oO!|#`O~PBRO!QnO!V'qO!a'rO~P*aO!|#`On$ma#T$ma#U$maV$ma$w$ma!a$ma~PBRO]'sOu'tO~O%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi!|!xi#R!xi#T!xi#U!xi$w!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~O!V!xii!xi!a!xi~P!+YO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi!V!xii!xi!a!xi~O!|!xi~P!-TO!|#`O~P!-TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%q!xi~O!|#`O!V!xii!xi!a!xi~P!/VO!|#`OV#Pi$w#Pi!a#Pi~PBRO]'uOn'wOu'vO~OZ#rO[#qO]'zO%O#oO~Ou'|O~P?tOn'}O]%[X~O](PO~OZeX^mX^!TXj!TX!W!TX~OjcOV$]i$w$]i~O%`(ZOV%^X$w%^Xn%^X!V%^X~Oi(`O~PL{O[(aO!W!tOVlX$wlX~On(bO~P?tO[(aOVlX$wlX~Oi(hO%O,yO%Y!fO~O!V(iO~O#T(kO~O](nO%O#oO~O[oO^YOaoOdoOh!POr!pOu-bOw}O!P!OO!QnO!V-UO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O+zO~P!4vO](sO%O#oO~O#T(tOV#ea$w#ea~O](xO%O#oO~O#k(yOV#ii$w#ii~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O+xO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^(|O%O%_O~O#p%dP#q%dP~P/uOi)PO#p'PO#q'QO~O!a)RO~O!QnO#y)VO~P*aOV)WO!|#`O~PBROj#wa~P;_OV)WO!QnO~P*aOi)]O#p']O#q'^O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O,eO~P!:lO!a)bO~Oj!qO!QnO~P*aOj!qO!QnOi%ca~P*aOn)iOi%ca~O!V%ba!a%ba~P?tOn)lO!V%ba!a%ba~O])nO~O])oO~O!V)pO~O!QnO!V)rO!a)sO~P*aO!V)rO!a)sO!|#`O~PBRO])uOn)vO~O])wOn)xO~O^!hOh!POr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO~O]%[a~P!>nOn)|O]%[a~O]${O]tXntX~OjcOV$^q$w$^q~On*PO{&WO~P?tOn*SO!V%rX~O!V*UO~OjcOV$]q$w$]q~O%`(ZOV|a$w|an|a!V|a~O[*]OVla$wla~O[*]O!W!tOVla$wla~On*PO{&WO!W*`O^%WXj%WX~P! _OjcO#j!UO~OjcO!|,XO~PBROZ*dO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O!|#`O~P!BoO#^*eO~P?tO!a*fO~Oj$`O!|,XO~P!BoO#W*hO~Oj#wi~P;_OV*kO!|#`O~PBROn#TO!Q#cO!|#`O!a$QX#T%eX~PBRO#T*lO~O#W*lO~O!a*mO~O!|#`Oi!_in!_i~PBRO!|#`Oi!bXn!bX!a!cX~PBROi!bXn!bX!a!cX~O!a*nO~Oj!qO!QnOi%ci~P*aO!V%bi!a%bi~P?tO!V*qO!a*rO!|#`O~PBRO!V*qO!|#`O~PBRO]*tO~O]*uO~O]*uOu*vO~O]%[i~P!>nO%O!eO!V%ra~On*|O!V%ra~O[+OOVli$wli~O%O+yO~P!4vO#k+QOV#iy$w#iy~O^+RO%O%_O~O]+SO~O!|,XOj#xq~PBROj#wq~P;_O!V+ZO!|#`O~PBRO]+[On+]O~O%O!eO!V%ri~O^#QOn'eO!V%bX~O#^+`O~P?tOj+aO~O^#VO!W#SO!|#`O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~OZ+cO~P!JvO!|#`O!a$Qi~PBRO!|#`Oi!bin!bi~PBRO!V+dO!|#`O~PBRO]+eO~O]+fO~Oi+iO#p+jO#q+kO~O^+lO%O%_O~Oi+pO#p+jO#q+kO~O!a+rO~O#^+sO~P?tO!a+tO~O]+uO~OZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXVeXneX!QeX#ReX#TeX#UeX$weX~O]eX]!TX!VeXieX!aeX~P!NUOjeX~P!NUOZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXn!TX!VeX~O]eX!V!TX~P#!gOh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~P#!gOZeX^eX^!TXj!TXneX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O]eXueX~P#$xO]$mXn$mXu$mX~PF|Oj$mXn$mX~P!7`On+|O]%eau%ea~On+}Oj%ea~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-OO!WaO!]!QO!phO!qhO%O+yO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~OZeX]!TX^UXhUXnUXn!TXrUXuUXwUX!PUX!QUX!WUX!W!TX!]UX%OUX%YUX~OnUX!QeX!aeX#TeX#WUX~P#$xOn+|O!|,YO]%eXu%eX~PBROn+}O!|,XOj%eX~PBRO^&OOV%ZXj%ZX$w%ZX]%ZXn%ZX!V%ZXu%ZX%`%ZX#T%ZX[%ZX!a%ZX~P?wO!|,YO]$man$mau$ma~PBRO!|,XOj$man$ma~PBRO%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~Oj!xi~P!+YOn!xiu!xi~P#,hO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%p!xi%q!xi~O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xij!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi~O!|!xi~P#/_On!xiu!xi~P#.TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi%p!xi%q!xi~O!|,WO~P#1^O!|,XO~P#/_O!|,YOn!xiu!xi~P#1^O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OZ!xi]!xi^!xi!W!xi%q!xi~O!|,WO~P#3QO!|,XOj!xi~P!/VO!|,YOn!xiu!xi~P#3QO!|,XOj#Pi~PBROV!TXZeX^mX!W!TX$w!TX~O%`!TX~P#5RO[!TXhmXnmXrmXwmX!PmX!QmX!WmX!]mX%OmX%YmX~P#5ROn#TO!Q,aO!|,XO#R#dOj`X#T%eX#U%eX~PBRO[oO^YOaoOdoOh!POr!pOw}O!P#hO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO%O+yO~P#6{O!Q-PO%O+xO~P#6{O!Q-QO%O+{O~P#6{O#T,bO#U,bO~O#W,cO~O^!hOh!POr-TOw}O!P-_O!Q-WO!W-^O!]-eO%O!eO%Y!fO~O^!hOh!POr-TOw}O!Q-`O!W-^O!]-eO%O!eO%Y!fO~O!P-VO~P#9zO%O+wO~P!4vO!P-XO~O!V-YO!|#`O~PBRO!V-ZO~O!V-[O~O!W-dO~OP%ka%Oa~",goto:"!FW%sPP%tP%wP%zP'SP'XPPPP'`'cP'u'uP)w'u-_PPP0j0m0qP1V4b1VP7s8WP1VP8a8d8hP8p8w1VPP1V8{<`?vPPCY-_-_-_PCdCuCxPC{DQ'u'uDV'uES'u'u'u'uGUIW'uPPJR'uJUMjMjMj'u! r! r!#SP!$`!%d!&d'cP'cPP'cP!&yP!'V!'^!&yP!'a!'h!'n!'w!&yP!'z!(R!&y!(U!(fPP!&yP!(x!)UPP!&y!)Y!)c!&yP!)g!)gP!&yP!&yP!)j!)m!&v!&yP!&yPPP!&yP!&yP!)q!)q!)w!)}!*U!*[!*d!*j!*p!*w!*}!+T!+Z!.q!.x!/O!/X!/m!/s!/z!0Q!0W!0^!0d!0jPPPPPPPPP!0p!1f!1k!1{!2kPP!7P!:^P!>u!?Z!?_!@Z!@fP!@p!D_!Df!Di!DuPPPPPPPPPPPP!FSR!aPRyO!WXOScw!R!T!U!W#O#k#n#u$R$X&O&j&u&|'W'Y']'})W)|*k*w+gQ#pzU#r{#s%uQ#x|U$T!S$U&pQ$^!VQ$y!lR)U'RVROS#nQ#t{T%t#s%uR#t{qrOScw!U!V!W#O#k#n&|'W'Y)W*k+g%PoOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%O]OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^#u!iW^!O!h!t!z#e#h#u#v#y#|#}$P$Q$T$W$v$x%W%Y%a%x%y&O&S&W&]&`&b&d&m'e'|'}(S([(c(i(o(|)l)|*P*Q*S*p*w*|+R+^+j+l,h-U-V-W-X-Y-Z-[-]-_-d'cbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR$O!PT&c#}&dW%`#R&z*d+cQ&Q#vS&V#y&]S&`#}&dR*Y(b'cZOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d%fWOSWYacmnw!O!U!V!W!X!Z!_!q!z#O#Q#S#T#V#^#_#`#a#b#c#h#i#j#k#n#v#|$f$v$x%W%Y%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(i(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S&b#}&d!{-]!h!t#e#u#y$P$Q$T$W%a%x%y&O&W&]&`&m'e'|'}(S([(c(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-dQ#v|S$v!j!pU&P#v$v,hZ,h#x&Q&U&V-TS%{#u&OV){'})|*wR#z}T&[#y&]]&X#y&](S([(o*QZ&Z#y&](S(o*QT([&Y(]'s_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d'r_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!w^'bbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&a#}&dR(d&bS!u]fX!x`&_(e(oQ!r[Q%O!qQ)d'aU)f'b)i*oR+X*nR%R!qR%P!qV)h'b)i*oV)g'b)i*odtOScw#O#k#n&|'Y+gQ$h!WQ&R#wQ&w$[S'S$c$iQ(V&TQ*O(RQ*V(WQ*b(yQ*c(zR+_+Q%PfOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%PgOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^!q#Weg!o!y$[$_$c$j$m$q$}%^%b%d%m'V'p(z({)S)Y)^)c)e)q)t*i*s+T+V+W+Y,f,g,i,j,w,z-aR#fh#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z[,V%^,f,i,p,s,v`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q!Y#^e!y$j$m$q$}%b%d%i%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aY,Q!o,k,n,q,tl,R$[$_$c(z)S*i,g,j,l,o,r,u,w,z_,S%^,f,i,m,p,s,v!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z],V%^,f,i,p,s,v!S#ae!y$j$m$q$}%b%d%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aS,Z!o,tf,[$[$_$c(z)S*i,g,j,u,w,zX,]%^,f,i,v!Q#be!y$j$m$q$}%b%d%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aQ,^!od,_$[$_$c(z)S*i,g,j,w,zV,`%^,f,iprOScw!U!V!W#O#k#n&|'W'Y)W*k+gR)a']etOScw#O#k#n&|'Y+gQ$S!RT&i$R&jR$S!RQ$V!ST&o$U&pQ&U#xR&m$TS(T&S&lV*{*S*|+^R$V!SQ$Y!TT&t$X&uR$Y!TdsOScw#O#k#n&|'Y+gT$p![!]dtOScw#O#k#n&|'Y+gQ*b(yR+_+QQ$a!VQ&{$_Q)T'RR*g)ST&|$`&}Q+b+SQ+m+fR+v+uT+g+a+hR$i!WR$l!YT'Y$k'ZXuOSw#nQ$s!`R'_$sSSO#nR!dSQ%u#sR'y%uUwOS#nR#mwQ&d#}R(g&dQ(c&`R*Z(cS!mX$^R$z!mQ(O%{R)}(OQ&]#yR(_&]Q(]&YR*X(]'r^OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!v^S'f%T+PR)m'fQ'c%RR)j'cW#Oc&|'Y+gR%[#O^#Ue$[$_$c$m)^,zU%e#U,O,PQ,O,fR,P,gQ&j$RR(m&jS*Q(S(oR*y*QQ*T(TR*}*TQ&p$UR(r&pQ&u$XR(w&uQ&}$`R)O&}Q+h+aR+o+hQ'Z$kR)['ZQ!cRQ#luQ#nyQ%Z!|Q&x$]Q'R$bQ'x%tQ(^&[Q(f&cQ(l&iQ(q&oR(v&tVxOS#nWuOSw#nY!|c#O&|'Y+gR%r#kdtOScw#O#k#n&|'Y+gQ$]!UQ$b!VQ$g!WQ)X'WQ*j)WR+U*kdeOScw#O#k#n&|'Y+gQ!oYQ!ya`#gmn,{,|,}-O-P-QQ$[!UQ$_!VQ$c!WQ$j!Xd$m!Z#i#j&g&s'P'T'U(k(tQ$q!_Q$}!qQ%^#QQ%b#SQ%d#TW%h#^,Q,R,SQ%i#_Q%j#`Q%k#aQ%l#bQ%m#cQ'V$fQ'p%cQ(z&xQ({&yQ)S'RQ)Y'XQ)^']Q)c'aU)e'b)i*oQ)q'oQ)t'rQ*i)VQ*s)sQ+T*hQ+V*lQ+W*nQ+Y*rS,f#V'wS,g,b,cQ,i+|Q,j+}Q,k,TQ,l,UQ,m,VQ,n,WQ,o,XQ,p,YQ,q,ZQ,r,[Q,s,]Q,t,^Q,u,_Q,v,`Q,w,aU,z'W)W*kV-a&l*`-^#bZW!O!h!t!z#e#h#u#v#y#|$P$Q$T$W$v$x%W%Y%a%x%y&O&W&]&`&m'e'|'}(S([(c(i(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-d%P[OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^$zdOSacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S!gW-]Q!nYS#{!O-_Q$u!hS%T!t+jS%X!z-UQ%n#e[%o#h#|$x-V-W-XW%w#u'})|*wU&P#v$v,h[&X#y&](S([(o*QQ&f$PQ&h$QQ&n$TQ&r$WS'h%W-YS'i%Y-ZW'l%a(|+R+lS'{%x%yQ(Q&OQ(Y&WQ(d&`Q(p&mU)k'e)l*pQ)z'|Q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R#S+lQ+WQ!Q![+^#R#S+lQ+cRaQ!Q![+^#R#S+l#]#^+rQ+oP!Q![+^Q+wOaQQ+zP!Q![*`~,SR%k~z{,]!P!Q,b!_!`&X~,bO$z~~,gSP~OY,bZ;'S,b;'S;=`,s<%lO,b~,vP;=`<%l,bQ-O[aQ!O!P*`!Q![-t!d!e.c!g!h*t!q!r/Z!z!{/x#R#S.]#U#V.c#X#Y*t#]#^+r#c#d/Z#l#m/xQ-yUaQ!O!P*`!Q![-t!g!h*t#R#S.]#X#Y*t#]#^+rQ.`P!Q![-tQ.fR!Q!R.o!R!S.o#R#S/QQ.tSaQ!Q!R.o!R!S.o#R#S/Q#]#^+rQ/TQ!Q!R.o!R!S.oQ/^Q!Q!Y/d#R#S/rQ/iRaQ!Q!Y/d#R#S/r#]#^+rQ/uP!Q!Y/dQ/{T!O!P0[!Q![1c!c!i1c#R#S2Q#T#Z1cQ0_S!Q![0k!c!i0k#R#S1V#T#Z0kQ0pVaQ!Q![0k!c!i0k!r!s*t#R#S1V#T#Z0k#]#^+r#d#e*tQ1YR!Q![0k!c!i0k#T#Z0kQ1hWaQ!O!P0k!Q![1c!c!i1c!r!s*t#R#S2Q#T#Z1c#]#^+r#d#e*tQ2TR!Q![1c!c!i1c#T#Z1c~2cP!a~!_!`2f~2kO#W~~2pOV~~2uR!|S}!O3O!^!_3T!_!`$S~3TO!Q~~3YP%m~!_!`&X~3bP#T~!_!`$S~3jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new w("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { \${} }`,{label:"select",detail:"statement",type:"keyword"}),X("case ${}:\n${}",{label:"case",type:"keyword"}),X("switch ${} {\n ${}\n}",{label:"switch",detail:"statement",type:"keyword"}),X("switch ${}.(${type}) {\n ${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),X("if ${} {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),X(`if \${} { \${} diff --git a/public/admin/assets/index-PllwPqA5.js b/public/admin/assets/index-PllwPqA5.js deleted file mode 100644 index 364cfd5..0000000 --- a/public/admin/assets/index-PllwPqA5.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-D4iJoCyR.js";import"./sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js";import"./index-DEc4xym2.js";import"./item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";export{o as default}; diff --git a/public/admin/assets/index-BpF_L7px.js b/public/admin/assets/index-Rn5VD-Vw.js similarity index 97% rename from public/admin/assets/index-BpF_L7px.js rename to public/admin/assets/index-Rn5VD-Vw.js index 39485ed..87fc9c8 100644 --- a/public/admin/assets/index-BpF_L7px.js +++ b/public/admin/assets/index-Rn5VD-Vw.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as ce,r as f,m as x,a as fe,n as r,q as _e,g as w,c as z,b as l,w as t,F as H,s as K,i as k,h as u,y as be,z as j,t as b,e as I,K as U,E as D,k as G}from"./index-DEc4xym2.js";import{n as J}from"./index-J5zVJPyL.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";const ge=I("div",{class:"flex items-center gap-4"},"用户信息列表",-1),we={class:"input-with-text"},ve={class:"input-with-text"},Ce={class:"input-with-text"},ye=ce({__name:"index",setup(he){const A=f(),R=f(0),y=f(!1),h=f(!1),v=f(!1),M=f(0),S=f(),g=x({status:"0",id:0}),p=x({model3Count:0,model4Count:0,drawMjCount:0}),i=x({username:"",email:"",status:"",phone:"",page:1,size:15}),W={0:"Inactive",1:"Active",2:"Banned",3:"Suspended"},X=x({model3Count:[{required:!0,message:"请填写调整的基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写调整的高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写调整的绘画积分额度",trigger:"blur"}]}),q=f([]);async function _(){try{h.value=!0;const n=await U.queryAllUser(i),{rows:a,count:C}=n.data;h.value=!1,R.value=C,q.value=a}catch{h.value=!1}}function Z(n){y.value=!0,g.status=n.status.toString(),g.id=n.id}function E(n){v.value=!0,M.value=n.id}async function ee(){(await U.updateUserStatus(g)).success&&D({type:"success",message:"变更用户状态成功!"}),y.value=!1,_()}function le(n){n==null||n.resetFields(),_()}async function te(n){const{id:a,email:C}=n;(await U.resetUserPassword({id:a})).success&&D({type:"success",message:`重置用户[${C}密码为初始密码为[123456]完成!`})}function ae(n){M.value=0,n==null||n.resetFields()}async function ne(n){n==null||n.validate(async a=>{a&&(await U.sendUserCrami({...p,userId:M.value}),D.success("调整成功!"),v.value=!1,_())})}return fe(()=>_()),(n,a)=>{const C=me,V=r("el-input"),d=r("el-form-item"),P=r("el-option"),B=r("el-select"),m=r("el-button"),T=r("el-form"),L=pe,oe=r("el-avatar"),o=r("el-table-column"),F=r("el-tag"),se=r("el-popconfirm"),ue=r("el-table"),re=r("el-pagination"),ie=r("el-row"),N=r("el-dialog"),$=r("el-input-number"),de=_e("loading");return w(),z("div",null,[l(C,null,{title:t(()=>[ge]),_:1}),l(L,null,{default:t(()=>[l(T,{ref_key:"formRef",ref:A,inline:!0,model:i},{default:t(()=>[l(d,{label:"用户名称",prop:"username"},{default:t(()=>[l(V,{modelValue:i.username,"onUpdate:modelValue":a[0]||(a[0]=e=>i.username=e),placeholder:"用户姓名[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户邮箱",prop:"email"},{default:t(()=>[l(V,{modelValue:i.email,"onUpdate:modelValue":a[1]||(a[1]=e=>i.email=e),placeholder:"用户邮箱[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"手机号码",prop:"phone"},{default:t(()=>[l(V,{modelValue:i.phone,"onUpdate:modelValue":a[2]||(a[2]=e=>i.phone=e),placeholder:"手机号码[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户状态",prop:"status"},{default:t(()=>[l(B,{modelValue:i.status,"onUpdate:modelValue":a[3]||(a[3]=e=>i.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(H,null,K(k(J),e=>(w(),j(P,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(m,{type:"primary",onClick:_},{default:t(()=>[u(" 查询 ")]),_:1}),l(m,{onClick:a[4]||(a[4]=e=>le(A.value))},{default:t(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(L,{style:{width:"100%"}},{default:t(()=>[be((w(),j(ue,{border:"",data:q.value,style:{width:"100%"},size:"large"},{default:t(()=>[l(o,{prop:"avatar",label:"用户头像",fixed:"",width:"120"},{default:t(e=>[l(oe,{src:e.row.avatar},null,8,["src"])]),_:1}),l(o,{fixed:"",prop:"username",label:"用户名称",width:"150"}),l(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),l(o,{prop:"phone",label:"用户手机号",width:"250",align:"left"},{default:t(e=>{var s;return[u(b(((s=e.row)==null?void 0:s.phone)||"未绑定手机号"),1)]}),_:1}),l(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[l(F,{type:"success"},{default:t(()=>[u(b(W[e.status]),1)]),_:2},1024)]),_:1}),l(o,{prop:"balanceInfo.model3Count",label:"基础模型",width:"120",align:"center"}),l(o,{prop:"balanceInfo.model4Count",label:"高级模型",width:"120",align:"center"}),l(o,{prop:"balanceInfo.drawMjCount",label:"绘画余额",width:"120",align:"center"}),u("expirationTime "),l(o,{prop:"balanceInfo.drawMjCount",label:"会员到期时间",width:"170",align:"center"},{default:t(e=>[l(F,{type:"success"},{default:t(()=>{var s,c,Y,O;return[u(b((c=(s=e.row)==null?void 0:s.balanceInfo)!=null&&c.expirationTime?k(Q)(new Date((O=(Y=e.row)==null?void 0:Y.balanceInfo)==null?void 0:O.expirationTime).toString()):"非会员"),1)]}),_:2},1024)]),_:1}),l(o,{prop:"balanceInfo.memberModel3Count",label:"基础模型[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.memberModel4Count",label:"高级模型[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.memberDrawMjCount",label:"绘画余额[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.useModel3Count",label:"已用基础模型",width:"160",align:"center"},{default:t(e=>{var s,c;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useModel3Count)||0}次 | ${((c=e.row.balanceInfo)==null?void 0:c.useModel3Token)||0} Token`),1)]}),_:1}),l(o,{prop:"balanceInfo.useModel4Count",label:"已用高级模型",width:"160",align:"center"},{default:t(e=>{var s,c;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useModel4Count)||0}次 | ${((c=e.row.balanceInfo)==null?void 0:c.useModel4Token)||0} Token`),1)]}),_:1}),l(o,{prop:"balanceInfo.useDrawMjToken",label:"已用绘画积分",width:"160",align:"center"},{default:t(e=>{var s;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useDrawMjToken)||0} Token`),1)]}),_:1}),l(o,{prop:"createdAt",label:"注册时间",width:"200",align:"center"},{default:t(e=>[u(b(k(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),l(o,{fixed:"right",label:"操作",width:"250",align:"center"},{default:t(e=>[l(m,{link:"",type:"primary",size:"small",onClick:s=>Z(e.row)},{default:t(()=>[u(" 修改状态 ")]),_:2},1032,["onClick"]),l(se,{title:"确认重置此用户密码为【123456】?","confirm-button-text":"确认重置",onConfirm:s=>te(e.row)},{reference:t(()=>[l(m,{link:"",type:"danger"},{default:t(()=>[u(" 重置密码 ")]),_:1})]),_:2},1032,["onConfirm"]),l(m,{link:"",type:"primary",size:"small",onClick:s=>E(e.row)},{default:t(()=>[u(" 调整积分 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[de,h.value]]),l(ie,{class:"mt-5 flex justify-end"},{default:t(()=>[l(re,{"current-page":i.page,"onUpdate:currentPage":a[5]||(a[5]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[6]||(a[6]=e=>i.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:R.value,onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(N,{modelValue:y.value,"onUpdate:modelValue":a[8]||(a[8]=e=>y.value=e),title:"变更用户状态",width:"500px"},{default:t(()=>[l(T,{model:g,inline:!0},{default:t(()=>[l(d,{label:"用户状态","label-width":"90px"},{default:t(()=>[l(B,{modelValue:g.status,"onUpdate:modelValue":a[7]||(a[7]=e=>g.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(H,null,K(k(J),e=>(w(),j(P,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(m,{type:"primary",onClick:ee},{default:t(()=>[u(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),l(N,{modelValue:v.value,"onUpdate:modelValue":a[14]||(a[14]=e=>v.value=e),title:"调整用户积分(赠送/扣除)",width:"450px",onClose:a[15]||(a[15]=e=>ae(S.value))},{footer:t(()=>[l(m,{onClick:a[12]||(a[12]=e=>v.value=!1)},{default:t(()=>[u(" 取消 ")]),_:1}),l(m,{type:"primary",onClick:a[13]||(a[13]=e=>ne(S.value))},{default:t(()=>[u(" 确认调整 ")]),_:1})]),default:t(()=>[l(T,{ref_key:"cramiRef",ref:S,model:p,rules:X,"label-width":"100px"},{default:t(()=>[l(d,{label:"基础积分",prop:"modelLimits"},{default:t(()=>[I("div",we,[l($,{modelValue:p.model3Count,"onUpdate:modelValue":a[9]||(a[9]=e=>p.model3Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"高级积分",prop:"modelLimits"},{default:t(()=>[I("div",ve,[l($,{modelValue:p.model4Count,"onUpdate:modelValue":a[10]||(a[10]=e=>p.model4Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"绘画积分",prop:"modelLimits"},{default:t(()=>[I("div",Ce,[l($,{modelValue:p.drawMjCount,"onUpdate:modelValue":a[11]||(a[11]=e=>p.drawMjCount=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});typeof G=="function"&&G(ye);export{ye as default}; +import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as ce,r as f,m as x,a as fe,n as r,q as _e,g as w,c as z,b as l,w as t,F as H,s as K,i as k,h as u,y as be,z as j,t as b,e as I,K as U,E as D,k as G}from"./index-CAe0BuuW.js";import{n as J}from"./index-DfBvkKrB.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";const ge=I("div",{class:"flex items-center gap-4"},"用户信息列表",-1),we={class:"input-with-text"},ve={class:"input-with-text"},Ce={class:"input-with-text"},ye=ce({__name:"index",setup(he){const A=f(),R=f(0),y=f(!1),h=f(!1),v=f(!1),M=f(0),S=f(),g=x({status:"0",id:0}),p=x({model3Count:0,model4Count:0,drawMjCount:0}),i=x({username:"",email:"",status:"",phone:"",page:1,size:15}),W={0:"Inactive",1:"Active",2:"Banned",3:"Suspended"},X=x({model3Count:[{required:!0,message:"请填写调整的基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写调整的高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写调整的绘画积分额度",trigger:"blur"}]}),q=f([]);async function _(){try{h.value=!0;const n=await U.queryAllUser(i),{rows:a,count:C}=n.data;h.value=!1,R.value=C,q.value=a}catch{h.value=!1}}function Z(n){y.value=!0,g.status=n.status.toString(),g.id=n.id}function E(n){v.value=!0,M.value=n.id}async function ee(){(await U.updateUserStatus(g)).success&&D({type:"success",message:"变更用户状态成功!"}),y.value=!1,_()}function le(n){n==null||n.resetFields(),_()}async function te(n){const{id:a,email:C}=n;(await U.resetUserPassword({id:a})).success&&D({type:"success",message:`重置用户[${C}密码为初始密码为[123456]完成!`})}function ae(n){M.value=0,n==null||n.resetFields()}async function ne(n){n==null||n.validate(async a=>{a&&(await U.sendUserCrami({...p,userId:M.value}),D.success("调整成功!"),v.value=!1,_())})}return fe(()=>_()),(n,a)=>{const C=me,V=r("el-input"),d=r("el-form-item"),P=r("el-option"),B=r("el-select"),m=r("el-button"),T=r("el-form"),L=pe,oe=r("el-avatar"),o=r("el-table-column"),F=r("el-tag"),se=r("el-popconfirm"),ue=r("el-table"),re=r("el-pagination"),ie=r("el-row"),N=r("el-dialog"),$=r("el-input-number"),de=_e("loading");return w(),z("div",null,[l(C,null,{title:t(()=>[ge]),_:1}),l(L,null,{default:t(()=>[l(T,{ref_key:"formRef",ref:A,inline:!0,model:i},{default:t(()=>[l(d,{label:"用户名称",prop:"username"},{default:t(()=>[l(V,{modelValue:i.username,"onUpdate:modelValue":a[0]||(a[0]=e=>i.username=e),placeholder:"用户姓名[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户邮箱",prop:"email"},{default:t(()=>[l(V,{modelValue:i.email,"onUpdate:modelValue":a[1]||(a[1]=e=>i.email=e),placeholder:"用户邮箱[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"手机号码",prop:"phone"},{default:t(()=>[l(V,{modelValue:i.phone,"onUpdate:modelValue":a[2]||(a[2]=e=>i.phone=e),placeholder:"手机号码[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户状态",prop:"status"},{default:t(()=>[l(B,{modelValue:i.status,"onUpdate:modelValue":a[3]||(a[3]=e=>i.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(H,null,K(k(J),e=>(w(),j(P,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(m,{type:"primary",onClick:_},{default:t(()=>[u(" 查询 ")]),_:1}),l(m,{onClick:a[4]||(a[4]=e=>le(A.value))},{default:t(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(L,{style:{width:"100%"}},{default:t(()=>[be((w(),j(ue,{border:"",data:q.value,style:{width:"100%"},size:"large"},{default:t(()=>[l(o,{prop:"avatar",label:"用户头像",fixed:"",width:"120"},{default:t(e=>[l(oe,{src:e.row.avatar},null,8,["src"])]),_:1}),l(o,{fixed:"",prop:"username",label:"用户名称",width:"150"}),l(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),l(o,{prop:"phone",label:"用户手机号",width:"250",align:"left"},{default:t(e=>{var s;return[u(b(((s=e.row)==null?void 0:s.phone)||"未绑定手机号"),1)]}),_:1}),l(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[l(F,{type:"success"},{default:t(()=>[u(b(W[e.status]),1)]),_:2},1024)]),_:1}),l(o,{prop:"balanceInfo.model3Count",label:"基础模型",width:"120",align:"center"}),l(o,{prop:"balanceInfo.model4Count",label:"高级模型",width:"120",align:"center"}),l(o,{prop:"balanceInfo.drawMjCount",label:"绘画余额",width:"120",align:"center"}),u("expirationTime "),l(o,{prop:"balanceInfo.drawMjCount",label:"会员到期时间",width:"170",align:"center"},{default:t(e=>[l(F,{type:"success"},{default:t(()=>{var s,c,Y,O;return[u(b((c=(s=e.row)==null?void 0:s.balanceInfo)!=null&&c.expirationTime?k(Q)(new Date((O=(Y=e.row)==null?void 0:Y.balanceInfo)==null?void 0:O.expirationTime).toString()):"非会员"),1)]}),_:2},1024)]),_:1}),l(o,{prop:"balanceInfo.memberModel3Count",label:"基础模型[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.memberModel4Count",label:"高级模型[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.memberDrawMjCount",label:"绘画余额[会员]",width:"120",align:"center"}),l(o,{prop:"balanceInfo.useModel3Count",label:"已用基础模型",width:"160",align:"center"},{default:t(e=>{var s,c;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useModel3Count)||0}次 | ${((c=e.row.balanceInfo)==null?void 0:c.useModel3Token)||0} Token`),1)]}),_:1}),l(o,{prop:"balanceInfo.useModel4Count",label:"已用高级模型",width:"160",align:"center"},{default:t(e=>{var s,c;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useModel4Count)||0}次 | ${((c=e.row.balanceInfo)==null?void 0:c.useModel4Token)||0} Token`),1)]}),_:1}),l(o,{prop:"balanceInfo.useDrawMjToken",label:"已用绘画积分",width:"160",align:"center"},{default:t(e=>{var s;return[u(b(`${((s=e.row.balanceInfo)==null?void 0:s.useDrawMjToken)||0} Token`),1)]}),_:1}),l(o,{prop:"createdAt",label:"注册时间",width:"200",align:"center"},{default:t(e=>[u(b(k(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),l(o,{fixed:"right",label:"操作",width:"250",align:"center"},{default:t(e=>[l(m,{link:"",type:"primary",size:"small",onClick:s=>Z(e.row)},{default:t(()=>[u(" 修改状态 ")]),_:2},1032,["onClick"]),l(se,{title:"确认重置此用户密码为【123456】?","confirm-button-text":"确认重置",onConfirm:s=>te(e.row)},{reference:t(()=>[l(m,{link:"",type:"danger"},{default:t(()=>[u(" 重置密码 ")]),_:1})]),_:2},1032,["onConfirm"]),l(m,{link:"",type:"primary",size:"small",onClick:s=>E(e.row)},{default:t(()=>[u(" 调整积分 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[de,h.value]]),l(ie,{class:"mt-5 flex justify-end"},{default:t(()=>[l(re,{"current-page":i.page,"onUpdate:currentPage":a[5]||(a[5]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[6]||(a[6]=e=>i.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:R.value,onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(N,{modelValue:y.value,"onUpdate:modelValue":a[8]||(a[8]=e=>y.value=e),title:"变更用户状态",width:"500px"},{default:t(()=>[l(T,{model:g,inline:!0},{default:t(()=>[l(d,{label:"用户状态","label-width":"90px"},{default:t(()=>[l(B,{modelValue:g.status,"onUpdate:modelValue":a[7]||(a[7]=e=>g.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(H,null,K(k(J),e=>(w(),j(P,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(m,{type:"primary",onClick:ee},{default:t(()=>[u(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),l(N,{modelValue:v.value,"onUpdate:modelValue":a[14]||(a[14]=e=>v.value=e),title:"调整用户积分(赠送/扣除)",width:"450px",onClose:a[15]||(a[15]=e=>ae(S.value))},{footer:t(()=>[l(m,{onClick:a[12]||(a[12]=e=>v.value=!1)},{default:t(()=>[u(" 取消 ")]),_:1}),l(m,{type:"primary",onClick:a[13]||(a[13]=e=>ne(S.value))},{default:t(()=>[u(" 确认调整 ")]),_:1})]),default:t(()=>[l(T,{ref_key:"cramiRef",ref:S,model:p,rules:X,"label-width":"100px"},{default:t(()=>[l(d,{label:"基础积分",prop:"modelLimits"},{default:t(()=>[I("div",we,[l($,{modelValue:p.model3Count,"onUpdate:modelValue":a[9]||(a[9]=e=>p.model3Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"高级积分",prop:"modelLimits"},{default:t(()=>[I("div",ve,[l($,{modelValue:p.model4Count,"onUpdate:modelValue":a[10]||(a[10]=e=>p.model4Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"绘画积分",prop:"modelLimits"},{default:t(()=>[I("div",Ce,[l($,{modelValue:p.drawMjCount,"onUpdate:modelValue":a[11]||(a[11]=e=>p.drawMjCount=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});typeof G=="function"&&G(ye);export{ye as default}; diff --git a/public/admin/assets/index-Bu7AiT64.js b/public/admin/assets/index-TB5FFREB.js similarity index 50% rename from public/admin/assets/index-Bu7AiT64.js rename to public/admin/assets/index-TB5FFREB.js index 502aaba..54d8b77 100644 --- a/public/admin/assets/index-Bu7AiT64.js +++ b/public/admin/assets/index-TB5FFREB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as C,N as S,u as y,aa as M,ab as x,p as V,Z as c,a as L,ac as a,S as $,n as A,g as n,c as B,e as i,b as o,Q as f,i as s,w as _,ad as D,z as m,y as N,M as R,ae as P,af as T,A as b,l as z}from"./index-DEc4xym2.js";import H from"./index-CD-WGSon.js";import I from"./index-O7C3nkUu.js";import K from"./index-CBLO6eVA.js";import E from"./index-5KCDGGNS.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-zIlAXnyj.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-DPAufHtz.js";/* empty css */import Z from"./link-DH7aCgYr.js";import j from"./index-DQ4-HBJz.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-BrKsZ_6g.js";import{u as F}from"./useMainPage-qAU7S-kt.js";import{u as G}from"./useMenu-C9VPEhUW.js";import"./index.vue_vue_type_script_setup_true_lang-BstFZRfU.js";import"./rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.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"./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";import"./index-vmxuRT_7.js";import"./index-Czbj0ARg.js";import"./leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js";import"./index-CS8LAyXh.js";import"./index-D2N8hAxR.js";import"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js";import"./HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js";import"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";const J={class:"layout"},O={id:"app-main"},W={class:"wrapper"},X={class:"main-container"},Y={class:"main"},ee=C({name:"Layout",__name:"index",setup(oe){const p=S(),e=y(),v=M(),r=x(),h=F(),g=G(),l=V(()=>!!p.meta.link);return c(()=>e.settings.menu.subMenuCollapse,t=>{e.mode==="mobile"&&(t?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),c(()=>p.path,()=>{e.mode==="mobile"&&e.$patch(t=>{t.settings.menu.subMenuCollapse=!0})}),L(()=>{a("f5",t=>{e.settings.toolbar.pageReload&&(t.preventDefault(),h.reload())}),a("alt+`",t=>{e.settings.menu.enableHotkeys&&(t.preventDefault(),g.switchTo(r.actived+1{a.unbind("f5"),a.unbind("alt+`")}),(t,d)=>{const w=A("RouterView");return n(),B("div",J,[i("div",O,[o(H),i("div",W,[i("div",{class:f(["sidebar-container",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}])},[o(I),o(K)],2),i("div",{class:f(["sidebar-mask",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}]),onClick:d[0]||(d[0]=u=>s(e).toggleSidebarCollapse())},null,2),i("div",X,[o(E),i("div",Y,[o(w,null,{default:_(({Component:u,route:k})=>[o(D,{name:"slide-right",mode:"out-in",appear:""},{default:_(()=>[(n(),m(T,{include:s(v).list},[N((n(),m(P(u),{key:k.fullPath})),[[R,!s(l)]])],1032,["include"]))]),_:2},1024)]),_:1}),s(l)?(n(),m(Z,{key:0})):b("",!0)]),o(j)])])]),o(Q),o(U),b("",!0),o(q)])}}}),Ie=z(ee,[["__scopeId","data-v-8e390700"]]);export{Ie as default}; +import{d as C,N as S,u as y,aa as M,ab as x,p as V,Z as c,a as L,ac as a,S as $,n as A,g as n,c as B,e as i,b as o,Q as f,i as s,w as _,ad as D,z as m,y as N,M as R,ae as P,af as T,A as b,l as z}from"./index-CAe0BuuW.js";import H from"./index-BhbCyWce.js";import I from"./index-BOGDNEcr.js";import K from"./index-C2Ax2Tf1.js";import E from"./index-g_KccFwY.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-C90bQeZy.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-jIq18U01.js";/* empty css */import Z from"./link-Zl4a3VRf.js";import j from"./index-eUqYFFt5.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-CK7s6_6M.js";import{u as F}from"./useMainPage-PJO-ub0s.js";import{u as G}from"./useMenu-BBkTa_-z.js";import"./index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js";import"./rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.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"./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";import"./index-q7-SSFGZ.js";import"./index-BGSS2M6V.js";import"./leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js";import"./index-CprVCdi5.js";import"./index-BhXahEts.js";import"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";import"./HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js";import"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";const J={class:"layout"},O={id:"app-main"},W={class:"wrapper"},X={class:"main-container"},Y={class:"main"},ee=C({name:"Layout",__name:"index",setup(oe){const p=S(),e=y(),v=M(),r=x(),h=F(),g=G(),l=V(()=>!!p.meta.link);return c(()=>e.settings.menu.subMenuCollapse,t=>{e.mode==="mobile"&&(t?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),c(()=>p.path,()=>{e.mode==="mobile"&&e.$patch(t=>{t.settings.menu.subMenuCollapse=!0})}),L(()=>{a("f5",t=>{e.settings.toolbar.pageReload&&(t.preventDefault(),h.reload())}),a("alt+`",t=>{e.settings.menu.enableHotkeys&&(t.preventDefault(),g.switchTo(r.actived+1{a.unbind("f5"),a.unbind("alt+`")}),(t,d)=>{const w=A("RouterView");return n(),B("div",J,[i("div",O,[o(H),i("div",W,[i("div",{class:f(["sidebar-container",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}])},[o(I),o(K)],2),i("div",{class:f(["sidebar-mask",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}]),onClick:d[0]||(d[0]=u=>s(e).toggleSidebarCollapse())},null,2),i("div",X,[o(E),i("div",Y,[o(w,null,{default:_(({Component:u,route:k})=>[o(D,{name:"slide-right",mode:"out-in",appear:""},{default:_(()=>[(n(),m(T,{include:s(v).list},[N((n(),m(P(u),{key:k.fullPath})),[[R,!s(l)]])],1032,["include"]))]),_:2},1024)]),_:1}),s(l)?(n(),m(Z,{key:0})):b("",!0)]),o(j)])])]),o(Q),o(U),b("",!0),o(q)])}}}),Ie=z(ee,[["__scopeId","data-v-8e390700"]]);export{Ie as default}; diff --git a/public/admin/assets/index-W6VHFY0Q.js b/public/admin/assets/index-W6VHFY0Q.js new file mode 100644 index 0000000..a2c71ec --- /dev/null +++ b/public/admin/assets/index-W6VHFY0Q.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-C90bQeZy.js";import"./HKbd-ajmXhnhP.js";import"./index-CAe0BuuW.js";import"./index-BhXahEts.js";import"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";export{o as default}; diff --git a/public/admin/assets/index-DQ4-HBJz.js b/public/admin/assets/index-eUqYFFt5.js similarity index 94% rename from public/admin/assets/index-DQ4-HBJz.js rename to public/admin/assets/index-eUqYFFt5.js index f6c51b7..aa09c54 100644 --- a/public/admin/assets/index-DQ4-HBJz.js +++ b/public/admin/assets/index-eUqYFFt5.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as c,u as p,i as e,g as s,c as o,b as g,t as a,A as i,F as _,j as h,T as y,U as d,e as m,l}from"./index-DEc4xym2.js";const u=n=>(y("data-v-3931a919"),n=n(),d(),n),f={key:0,class:"copyright"},k=u(()=>m("span",null,"Copyright",-1)),b={key:0},S=["href"],C={key:1},I={key:2,href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},v=c({name:"Copyright",__name:"index",setup(n){const t=p();return(x,w)=>{const r=h;return e(t).settings.copyright.enable?(s(),o("footer",f,[k,g(r,{name:"i-ri:copyright-line",size:18}),e(t).settings.copyright.dates?(s(),o("span",b,a(e(t).settings.copyright.dates),1)):i("",!0),e(t).settings.copyright.company?(s(),o(_,{key:1},[e(t).settings.copyright.website?(s(),o("a",{key:0,href:e(t).settings.copyright.website,target:"_blank",rel:"noopener"},a(e(t).settings.copyright.company),9,S)):(s(),o("span",C,a(e(t).settings.copyright.company),1))],64)):i("",!0),e(t).settings.copyright.beian?(s(),o("a",I,a(e(t).settings.copyright.beian),1)):i("",!0)])):i("",!0)}}}),N=l(v,[["__scopeId","data-v-3931a919"]]);export{N as default}; +import{d as c,u as p,i as e,g as s,c as o,b as g,t as a,A as i,F as _,j as h,T as y,U as d,e as m,l}from"./index-CAe0BuuW.js";const u=n=>(y("data-v-3931a919"),n=n(),d(),n),f={key:0,class:"copyright"},k=u(()=>m("span",null,"Copyright",-1)),b={key:0},S=["href"],C={key:1},I={key:2,href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},v=c({name:"Copyright",__name:"index",setup(n){const t=p();return(x,w)=>{const r=h;return e(t).settings.copyright.enable?(s(),o("footer",f,[k,g(r,{name:"i-ri:copyright-line",size:18}),e(t).settings.copyright.dates?(s(),o("span",b,a(e(t).settings.copyright.dates),1)):i("",!0),e(t).settings.copyright.company?(s(),o(_,{key:1},[e(t).settings.copyright.website?(s(),o("a",{key:0,href:e(t).settings.copyright.website,target:"_blank",rel:"noopener"},a(e(t).settings.copyright.company),9,S)):(s(),o("span",C,a(e(t).settings.copyright.company),1))],64)):i("",!0),e(t).settings.copyright.beian?(s(),o("a",I,a(e(t).settings.copyright.beian),1)):i("",!0)])):i("",!0)}}}),N=l(v,[["__scopeId","data-v-3931a919"]]);export{N as default}; diff --git a/public/admin/assets/index-5KCDGGNS.js b/public/admin/assets/index-g_KccFwY.js similarity index 57% rename from public/admin/assets/index-5KCDGGNS.js rename to public/admin/assets/index-g_KccFwY.js index c998f03..d443109 100644 --- a/public/admin/assets/index-5KCDGGNS.js +++ b/public/admin/assets/index-g_KccFwY.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import u from"./index-vmxuRT_7.js";import g from"./index-Czbj0ARg.js";import{d as h,u as f,p as c,r as p,a as _,S as y,Z as v,g as s,c as w,i as e,z as l,A as d,Q as S,l as T}from"./index-DEc4xym2.js";import"./index-DmaX5UJ_.js";import"./useMainPage-qAU7S-kt.js";import"./leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js";import"./index-CS8LAyXh.js";import"./index-D2N8hAxR.js";import"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js";import"./rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.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.vue_vue_type_script_setup_true_lang-BIwcUHb8.js";import"./HKbd-Dkpr3OfM.js";import"./index.vue_vue_type_script_setup_true_lang-TAw7CesO.js";const k=h({name:"Topbar",__name:"index",setup(E){const t=f(),a=c(()=>!(t.settings.menu.menuMode==="head"&&(!t.settings.toolbar.breadcrumb||t.settings.app.routeBaseOn==="filesystem"))),n=p(0),m=p(!1),b=c(()=>{const o=t.settings.tabbar.enable?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-tabbar-height")):0,r=a.value?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-toolbar-height")):0;return o+r});_(()=>{window.addEventListener("scroll",i)}),y(()=>{window.removeEventListener("scroll",i)});function i(){n.value=(document.documentElement||document.body).scrollTop}return v(n,(o,r)=>{m.value=t.settings.topbar.mode==="sticky"&&o>r&&o>b.value}),(o,r)=>(s(),w("div",{class:S(["topbar-container",{"has-tabbar":e(t).settings.tabbar.enable,"has-toolbar":e(a),[`topbar-${e(t).settings.topbar.mode}`]:!0,shadow:e(n),hide:e(m)}]),"data-fixed-calc-width":""},[e(t).settings.tabbar.enable?(s(),l(u,{key:0})):d("",!0),e(a)?(s(),l(g,{key:1})):d("",!0)],2))}}),D=T(k,[["__scopeId","data-v-a6c8b676"]]);export{D as default}; +import u from"./index-q7-SSFGZ.js";import g from"./index-BGSS2M6V.js";import{d as h,u as f,p as c,r as p,a as _,S as y,Z as v,g as s,c as w,i as e,z as l,A as d,Q as S,l as T}from"./index-CAe0BuuW.js";import"./index-Dp-A2VeR.js";import"./useMainPage-PJO-ub0s.js";import"./leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js";import"./index-CprVCdi5.js";import"./index-BhXahEts.js";import"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";import"./rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.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.vue_vue_type_script_setup_true_lang-B135yVzK.js";import"./HKbd-ajmXhnhP.js";import"./index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js";const k=h({name:"Topbar",__name:"index",setup(E){const t=f(),a=c(()=>!(t.settings.menu.menuMode==="head"&&(!t.settings.toolbar.breadcrumb||t.settings.app.routeBaseOn==="filesystem"))),n=p(0),m=p(!1),b=c(()=>{const o=t.settings.tabbar.enable?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-tabbar-height")):0,r=a.value?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-toolbar-height")):0;return o+r});_(()=>{window.addEventListener("scroll",i)}),y(()=>{window.removeEventListener("scroll",i)});function i(){n.value=(document.documentElement||document.body).scrollTop}return v(n,(o,r)=>{m.value=t.settings.topbar.mode==="sticky"&&o>r&&o>b.value}),(o,r)=>(s(),w("div",{class:S(["topbar-container",{"has-tabbar":e(t).settings.tabbar.enable,"has-toolbar":e(a),[`topbar-${e(t).settings.topbar.mode}`]:!0,shadow:e(n),hide:e(m)}]),"data-fixed-calc-width":""},[e(t).settings.tabbar.enable?(s(),l(u,{key:0})):d("",!0),e(a)?(s(),l(g,{key:1})):d("",!0)],2))}}),D=T(k,[["__scopeId","data-v-a6c8b676"]]);export{D as default}; diff --git a/public/admin/assets/index-vmxuRT_7.js b/public/admin/assets/index-q7-SSFGZ.js similarity index 99% rename from public/admin/assets/index-vmxuRT_7.js rename to public/admin/assets/index-q7-SSFGZ.js index 4034191..bb2038d 100644 --- a/public/admin/assets/index-vmxuRT_7.js +++ b/public/admin/assets/index-q7-SSFGZ.js @@ -5,7 +5,7 @@ * https://fantastic-admin.github.io */ -import{aH as At,aI as Ft,aJ as Lt,aK as zt,aL as Dt,aM as $t,aN as Kt,F as je,af as Ut,aO as Yt,aP as Gt,aQ as Xt,a3 as Zt,aR as qt,aS as Qt,ad as Jt,ag as He,aT as en,aU as tn,aV as nn,aW as on,aX as an,aY as ln,aZ as sn,a1 as rn,a_ as un,p as Ae,a$ as cn,z as Fe,A as Me,c as re,e as ue,b0 as dn,b1 as fn,b2 as mn,b3 as pn,b4 as vn,b5 as hn,h as Le,b as Ie,b6 as bn,b7 as Cn,d as ze,b8 as kn,b9 as xn,ba as gn,bb as yn,bc as Sn,bd as Mn,be as In,bf as Bn,bg as wn,bh as Pn,bi as Rn,aG as Wn,bj as En,bk as On,au as Nn,a4 as Tn,bl as _n,bm as Vn,bn as jn,bo as Hn,bp as An,$ as Fn,bq as Ln,br as zn,bs as Dn,bt as $n,D as Kn,bu as Un,bv as Yn,a9 as Gn,bw as Xn,bx as Zn,av as qn,X as Qn,G as Jn,Q as De,at as eo,R as to,by as no,bz as oo,a0 as ao,ah as $e,bA as lo,bB as so,a as Ke,bC as io,bD as ro,bE as uo,bF as co,S as Ue,bG as fo,g as se,U as Ye,a7 as mo,bH as po,T as Ge,bI as vo,m as ho,bJ as bo,r as me,bK as Co,bL as ko,s as Xe,P as xo,n as go,q as yo,ae as So,bM as Mo,bN as Io,bO as Bo,bP as wo,bQ as Po,bR as Ro,bS as Wo,a2 as Ze,bT as Eo,bU as Oo,bV as No,t as Be,bW as To,bX as _o,bY as Vo,a8 as jo,bZ as Ho,b_ as Ao,b$ as Fo,c0 as Lo,i as le,W as zo,c1 as Do,c2 as $o,aw as Ko,c3 as Uo,O as Yo,c4 as Go,c5 as Xo,c6 as Zo,c7 as qo,c8 as Qo,am as Jo,M as qe,c9 as ea,ca as ta,Z as Qe,cb as na,cc as oa,cd as aa,ce as la,w as Je,cf as sa,y as et,v as ia,cg as ra,x as we,ch as ua,ci as ca,cj as da,a6 as fa,ck as ma,aa as pa,N as tt,f as nt,as as Pe,u as va,ac as Ve,j as ha,l as ba}from"./index-DEc4xym2.js";import{b as Ca}from"./index-DmaX5UJ_.js";import{u as ka}from"./useMainPage-qAU7S-kt.js";/** +import{aH as At,aI as Ft,aJ as Lt,aK as zt,aL as Dt,aM as $t,aN as Kt,F as je,af as Ut,aO as Yt,aP as Gt,aQ as Xt,a3 as Zt,aR as qt,aS as Qt,ad as Jt,ag as He,aT as en,aU as tn,aV as nn,aW as on,aX as an,aY as ln,aZ as sn,a1 as rn,a_ as un,p as Ae,a$ as cn,z as Fe,A as Me,c as re,e as ue,b0 as dn,b1 as fn,b2 as mn,b3 as pn,b4 as vn,b5 as hn,h as Le,b as Ie,b6 as bn,b7 as Cn,d as ze,b8 as kn,b9 as xn,ba as gn,bb as yn,bc as Sn,bd as Mn,be as In,bf as Bn,bg as wn,bh as Pn,bi as Rn,aG as Wn,bj as En,bk as On,au as Nn,a4 as Tn,bl as _n,bm as Vn,bn as jn,bo as Hn,bp as An,$ as Fn,bq as Ln,br as zn,bs as Dn,bt as $n,D as Kn,bu as Un,bv as Yn,a9 as Gn,bw as Xn,bx as Zn,av as qn,X as Qn,G as Jn,Q as De,at as eo,R as to,by as no,bz as oo,a0 as ao,ah as $e,bA as lo,bB as so,a as Ke,bC as io,bD as ro,bE as uo,bF as co,S as Ue,bG as fo,g as se,U as Ye,a7 as mo,bH as po,T as Ge,bI as vo,m as ho,bJ as bo,r as me,bK as Co,bL as ko,s as Xe,P as xo,n as go,q as yo,ae as So,bM as Mo,bN as Io,bO as Bo,bP as wo,bQ as Po,bR as Ro,bS as Wo,a2 as Ze,bT as Eo,bU as Oo,bV as No,t as Be,bW as To,bX as _o,bY as Vo,a8 as jo,bZ as Ho,b_ as Ao,b$ as Fo,c0 as Lo,i as le,W as zo,c1 as Do,c2 as $o,aw as Ko,c3 as Uo,O as Yo,c4 as Go,c5 as Xo,c6 as Zo,c7 as qo,c8 as Qo,am as Jo,M as qe,c9 as ea,ca as ta,Z as Qe,cb as na,cc as oa,cd as aa,ce as la,w as Je,cf as sa,y as et,v as ia,cg as ra,x as we,ch as ua,ci as ca,cj as da,a6 as fa,ck as ma,aa as pa,N as tt,f as nt,as as Pe,u as va,ac as Ve,j as ha,l as ba}from"./index-CAe0BuuW.js";import{b as Ca}from"./index-Dp-A2VeR.js";import{u as ka}from"./useMainPage-PJO-ub0s.js";/** * vue v3.4.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT diff --git a/public/admin/assets/index-C7QxIG5u.js b/public/admin/assets/index-q_MmrchX.js similarity index 99% rename from public/admin/assets/index-C7QxIG5u.js rename to public/admin/assets/index-q_MmrchX.js index 68e654d..3c5b317 100644 --- a/public/admin/assets/index-C7QxIG5u.js +++ b/public/admin/assets/index-q_MmrchX.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{E as S,s as o,t as $,b as t,L as l,i as x,c as W,j as R,f as V,k as r,q as U,a as v,r as u}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const m=1,b=2,p=263,k=3,c=264,s=265,Y=266,Z=4,w=5,_=6,h=7,X=8,j=9,f=10,G=11,g=12,E=13,I=14,N=15,F=16,C=17,L=18,A=19,H=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,yO=30,aO=31,zO=32,SO=33,PO=34,WO=35,eO=36,TO=37,sO=38,XO=39,dO=40,nO=41,qO=42,oO=43,tO=44,lO=45,xO=46,RO=47,VO=48,rO=49,UO=50,vO=51,uO=52,mO=53,bO=54,pO=55,kO=56,cO=57,YO=58,ZO=59,wO=60,_O=61,e=62,hO=63,jO=64,fO=65,GO={abstract:Z,and:w,array:_,as:h,true:X,false:X,break:j,case:f,catch:G,clone:g,const:E,continue:I,declare:F,default:N,do:C,echo:L,else:A,elseif:H,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:yO,fn:aO,for:zO,foreach:SO,from:PO,function:WO,global:eO,goto:TO,if:sO,implements:XO,include:dO,include_once:nO,instanceof:qO,insteadof:oO,interface:tO,list:lO,match:xO,namespace:RO,new:VO,null:rO,or:UO,print:vO,require:uO,require_once:mO,return:bO,switch:pO,throw:kO,trait:cO,try:YO,unset:ZO,use:wO,var:_O,public:e,private:e,protected:e,while:hO,xor:jO,yield:fO,__proto__:null};function d(O){let Q=GO[O.toLowerCase()];return Q??-1}function n(O){return O==9||O==10||O==13||O==32}function q(O){return O>=97&&O<=122||O>=65&&O<=90}function a(O){return O==95||O>=128||q(O)}function T(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const gO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},EO=new S(O=>{if(O.next==40){O.advance();let Q=0;for(;n(O.peek(Q));)Q++;let i="",y;for(;q(y=O.peek(Q));)i+=String.fromCharCode(y),Q++;for(;n(O.peek(Q));)Q++;O.peek(Q)==41&&gO[i.toLowerCase()]&&O.acceptToken(m)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let y=0;y<3;y++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!a(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!a(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let y=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(y){for(;O.next==32||O.next==9;)O.advance();let z=!0;for(let P=0;P{O.next<0&&O.acceptToken(Y)}),NO=new S((O,Q)=>{O.next==63&&Q.canShift(s)&&O.peek(1)==62&&O.acceptToken(s)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,y;for(;i<5&&(y=O.peek(i))>=48&&y<=55;)i++;return i}if(Q==120&&T(O.peek(2)))return T(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let y=O.peek(i);if(y==125)return i==2?0:i+1;if(!T(y))break}return 0}const CO=new S((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(a(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let y=FO(O);if(y){if(i)break;return O.acceptToken(k,y)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&a(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&a(O.peek(3)))&&Q.canShift(c))break;O.advance()}i&&O.acceptToken(p)}),LO=o({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,LogicOp:$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},HO=t.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5UQaO,5=hO!-eQ`O'#F}O!-jQdO'#IlO!&WQdO,5=iOOQ#u,5=j,5=jO!-uQ`O,5=lO!-xQ`O,5=mO!-}Q`O,5=nO!.YQdO,5=qOOQ#u,5=q,5=qO!.eQ`O,5=rO!.eQ`O,5=rO!.mQdO'#IwO!.{Q`O'#HXO!&WQdO,5=rO!/ZQ`O,5=rO!/fQdO'#IYO!&WQdO,5=vOOQ#u-E;_-E;_O!1RQ`O,5=kOOO#u,5:^,5:^O!1^O#|O,5:^OOO#u-E;^-E;^OOOO,5>p,5>pOOQ#y1G0S1G0SO!1fQ`O1G0XO*kQaO1G0XO!2xQ`O1G0pOOQS1G0p1G0pO!4[Q`O1G0pOOQS'#I_'#I_O*kQaO'#I_OOQS1G0q1G0qO!4cQ`O'#IaO!7lQ`O'#E}O!7yQaO'#EuOOQO'#Ia'#IaO!8TQ`O'#I`O!8]Q`O,5;_OOQS'#FQ'#FQOOQS1G1U1G1UO!8bQdO1G1]O!:dQdO1G1]O!wO#(fQaO'#HdO#(vQ`O,5>vOOQS1G0d1G0dO#)OQ`O1G0dO#)TQ`O'#I^O#*mQ`O'#I^O#*uQ`O,5;ROIbQaO,5;ROOQS1G0u1G0uPOQO'#E}'#E}O#+fQdO1G1RO0aQ`O'#HgO#-hQtO,5;cO#.YQaO1G0|OOQS,5;e,5;eO#0iQtO,5;gO#0vQdO1G0cO*kQaO1G0cO#2cQdO1G1YO#4OQdO1G1[OOQO,5<^,5<^O#4`Q`O'#HjO#4nQ`O,5?ROOQO1G1w1G1wO#4vQ`O,5?ZO!&WQdO1G3TO<_Q`O1G3TOOQ#u1G3U1G3UO#4{Q`O1G3YO!1RQ`O1G3VO#5WQ`O1G3VO#5]QpO'#FoO#5kQ`O'#FoO#5{Q`O'#FoO#6WQ`O'#FoO#6`Q`O'#FsO#6eQ`O'#FtOOQO'#If'#IfO#6lQ`O'#IeO#6tQ`O,5tOOQ#u1G3b1G3bOOQ#u1G3V1G3VO!-xQ`O1G3VO!1UQ`O1G3VOOO#u1G/x1G/xO*kQaO7+%sO#MuQdO7+%sOOQS7+&[7+&[O$ bQ`O,5>yO>UQaO,5;`O$ iQ`O,5;aO$#OQaO'#HfO$#YQ`O,5>zOOQS1G0y1G0yO$#bQ`O'#EYO$#gQ`O'#IXO$#oQ`O,5:sOOQS1G0e1G0eO$#tQ`O1G0eO$#yQ`O1G0iO9yQaO1G0iOOQO,5>O,5>OOOQO-E;b-E;bOOQS7+&O7+&OO>UQaO,5;SO$%`QaO'#HeO$%jQ`O,5>xOOQS1G0m1G0mO$%rQ`O1G0mOOQS,5>R,5>ROOQS-E;e-E;eO$%wQdO7+&hO$'yQtO1G1RO$(WQdO7+%}OOQS1G0i1G0iOOQO,5>U,5>UOOQO-E;h-E;hOOQ#u7+(o7+(oO!&WQdO7+(oOOQ#u7+(t7+(tO#KmQ`O7+(tO0aQ`O7+(tOOQ#u7+(q7+(qO!-xQ`O7+(qO!1UQ`O7+(qO!1RQ`O7+(qO$)sQ`O,5UQaO,5],5>]OOQS-E;o-E;oO$.iQdO7+'hO$.yQpO7+'hO$/RQdO'#IiOOQO,5dOOQ#u,5>d,5>dOOQ#u-E;v-E;vO$;lQaO7+(lO$cOOQS-E;u-E;uO!&WQdO7+(nO$=mQdO1G2TOOQS,5>[,5>[OOQS-E;n-E;nOOQ#u7+(r7+(rO$?nQ`O'#GQO$?uQ`O'#GQO$@ZQ`O'#HUOOQO'#Hy'#HyO$@`Q`O,5=oOOQ#u,5=o,5=oO$@gQpO7+(tOOQ#u7+(x7+(xO!&WQdO7+(xO$@rQdO,5>fOOQS-E;x-E;xO$AQQdO1G4}O$A]Q`O,5=tO$AbQ`O,5=tO$AmQ`O'#H{O$BRQ`O,5?dOOQS1G3_1G3_O#KrQ`O7+(xO$BZQdO,5=|OOQS-E;`-E;`O$CvQdO<Q,5>QOOQO-E;d-E;dO$8YQaO,5:tO$FxQaO'#HcO$GVQ`O,5>sOOQS1G0_1G0_OOQS7+&P7+&PO$G_Q`O7+&TO$HtQ`O1G0nO$JZQ`O,5>POOQO,5>P,5>POOQO-E;c-E;cOOQS7+&X7+&XOOQS7+&T7+&TOOQ#u<UQaO1G1uO$KsQ`O1G1uO$LOQ`O1G1yOOQO1G1y1G1yO$LTQ`O1G1uO$L]Q`O1G1uO$MrQ`O1G1zO>UQaO1G1zOOQO,5>V,5>VOOQO-E;i-E;iOOQS<`OOQ#u-E;r-E;rOhQaO<aOOQO-E;s-E;sO!&WQdO<g,5>gOOQO-E;y-E;yO!&WQdO<UQaO,5;TOOQ#uANAzANAzO#KmQ`OANAzOOQ#uANAwANAwO!-xQ`OANAwO%)vQ`O7+'aO>UQaO7+'aOOQO7+'e7+'eO%+]Q`O7+'aO%+hQ`O7+'eO>UQaO7+'fO%+mQ`O7+'fO%-SQ`O'#HlO%-bQ`O,5?SO%-bQ`O,5?SOOQO1G1{1G1{O$+qQpOAN@dOOQSAN@dAN@dO0aQ`OAN@dO%-jQtOANCgO%-xQ`OAN@dO*kQaOAN@nO%.QQdOAN@nO%.bQpOAN@nOOQS,5>X,5>XOOQS-E;k-E;kOOQO1G2U1G2UO!&WQdO1G2UO$/dQpO1G2UO<_Q`O1G2SO!.YQdO1G2WO!&WQdO1G2SOOQO1G2W1G2WOOQO1G2S1G2SO%.jQaO'#GSOOQO1G2X1G2XOOQSAN@oAN@oOOOQ<UQaO<W,5>WO%6wQ`O,5>WOOQO-E;j-E;jO%6|Q`O1G4nOOQSG26OG26OO$+qQpOG26OO0aQ`OG26OO%7UQdOG26YO*kQaOG26YOOQO7+'p7+'pO!&WQdO7+'pO!&WQdO7+'nOOQO7+'r7+'rOOQO7+'n7+'nO%7fQ`OLD+tO%8uQ`O'#E}O%9PQ`O'#IZO!&WQdO'#HrO%:|QaO,5^,5>^OOQP-E;p-E;pOOQO1G2Y1G2YOOQ#uLD,bLD,bOOQTG27RG27RO!&WQdOLD,xO!&WQdO<wO&EPQdO1G0cO#.YQaO1G0cO&F{QdO1G1YO&HwQdO1G1[O#.YQaO1G1|O#.YQaO7+%sO&JsQdO7+%sO&LoQdO7+%}O#.YQaO7+'hO&NkQdO7+'hO'!gQdO<lQdO,5>wO(@nQdO1G0cO'.QQaO1G0cO(BpQdO1G1YO(DrQdO1G1[O'.QQaO1G1|O'.QQaO7+%sO(FtQdO7+%sO(HvQdO7+%}O'.QQaO7+'hO(JxQdO7+'hO(LzQdO<wO*1sQaO'#HdO*2TQ`O,5>vO*2]QdO1G0cO9yQaO1G0cO*4XQdO1G1YO*6TQdO1G1[O9yQaO1G1|O>UQaO'#HwO*8PQ`O,5=[O*8XQaO'#HbO*8cQ`O,5>tO9yQaO7+%sO*8kQdO7+%sO*:gQ`O1G0iO>UQaO1G0iO*;|QdO7+%}O9yQaO7+'hO*=xQdO7+'hO*?tQ`O,5>cO*AZQ`O,5=|O*BpQdO<UQaO'#FeO>UQaO'#FfO>UQaO'#FgO>UQaO'#FhO>UQaO'#FhO>UQaO'#FkO+'XQaO'#FwO>UQaO'#GVO>UQaO'#GYO+'`QaO,5:mO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO+'gQ`O'#I]O$8YQaO'#EaO+)PQaOG26YO$8YQaO'#I]O+*{Q`O'#I[O++TQaO,5:wO>UQaO,5;nO>UQaO,5;pO++[Q`O,5UQaO1G0XO+9hQ`O1G1]O+;TQ`O1G1]O+]Q`O1G1]O+?xQ`O1G1]O+AeQ`O1G1]O+CQQ`O1G1]O+DmQ`O1G1]O+FYQ`O1G1]O+GuQ`O1G1]O+IbQ`O1G1]O+J}Q`O1G1]O+LjQ`O1G1]O+NVQ`O1G1]O, rQ`O1G1]O,#_Q`O1G0cO>UQaO1G0cO,$zQ`O1G1YO,&gQ`O1G1[O,(SQ`O1G1|O>UQaO1G1|O>UQaO7+%sO,([Q`O7+%sO,)wQ`O7+%}O>UQaO7+'hO,+dQ`O7+'hO,+lQ`O7+'hO,-XQpO7+'hO,-aQ`O<UQaO<UQaOAN@nO,0qQ`OAN@nO,2^QpOAN@nO,2fQ`OG26YO>UQaOG26YO,4RQ`OLD+tO,5nQaO,5:}O>UQaO1G0iO,5uQ`O'#I]O$8YQaO'#FeO$8YQaO'#FfO$8YQaO'#FgO$8YQaO'#FhO$8YQaO'#FhO+)PQaO'#FhO$8YQaO'#FkO,6SQaO'#FwO,6ZQaO'#FwO$8YQaO'#GVO+)PQaO'#GVO$8YQaO'#GYO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO,8YQ`O'#FlO>UQaO'#EaO>UQaO'#I]O,8bQaO,5:wO,8iQaO,5:wO$8YQaO,5;nO+)PQaO,5;nO$8YQaO,5;pO,:hQ`O,5wO-IcQ`O1G0cO-KOQ`O1G0cO$8YQaO1G0cO+)PQaO1G0cO-L_Q`O1G1YO-MzQ`O1G1YO. ZQ`O1G1[O$8YQaO1G1|O$8YQaO7+%sO+)PQaO7+%sO.!vQ`O7+%sO.$cQ`O7+%sO.%rQ`O7+%}O.'_Q`O7+%}O$8YQaO7+'hO.(nQ`O7+'hO.*ZQ`O<fQ`O,5>wO.@RQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO.@ZQ`O7+'hO.@cQpO7+'hO.@kQpO<UO#X&PO~P>UO!o&SO!s&RO#b&RO~OPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s&VO!y[O#U&WO#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!x'SP~PAOO!s&[O#b&[O~OT#TOz#RO!S#UO!b#VO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO~O!x&nO~PCqO!x'VX!}'VX#O'VX#X'VX!n'VXV'VX!q'VX#u'VX#w'VXw'VX~P&sO!y$hO#S&oO~Oo$mOs$lO~O!o&pO~O!}&sO#S;dO#U;cO!x'OP~P9yOT6iOz6gO!S6jO!b6kO!o!{O!v8sO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'PX#X'PX~O#O&tO~PGSO!}&wO#X'OX~O#X&yO~O!}'OO!x'QP~P9yO!n'PO~PCqO!m#oa!o#oa#S#oa#p#qX&s#oa!x#oa#O#oaw#oa~OT#oaz#oa!S#oa!b#oa!v#oa!y#oa#W#oa#`#oa#a#oa#s#oa#z#oa#{#oa#|#oa#}#oa$O#oa$Q#oa$R#oa$S#oa$T#oa$U#oa$V#oa$W#oa$z#oa!}#oa#X#oa!n#oaV#oa!q#oa#u#oa#w#oa~PIpO!s'RO~O!x'UO#l'SO~O!x'VX#l'VX#p#qX#S'VX#U'VX#b'VX!o'VX#O'VXw'VX!m'VX&s'VX~O#S'YO~P*kO!m$Xa&s$Xa!x$Xa!n$Xa~PCqO!m$Ya&s$Ya!x$Ya!n$Ya~PCqO!m$Za&s$Za!x$Za!n$Za~PCqO!m$[a&s$[a!x$[a!n$[a~PCqO!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO$z#dOT$[a!S$[a!b$[a!m$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a&s$[a!x$[a!n$[a~Oz#RO~PNyO!m$_a&s$_a!x$_a!n$_a~PCqO!y!}O!}$fX#X$fX~O!}'^O#X'ZX~O#X'`O~O!s$kO#S'aO~O]'cO~O!s'eO~O!s'fO~O$l'gO~O!`'mO#S'kO#U'lO#b'jO$drO!x'XP~P0aO!^'sO!oXO!q'rO~O!s'uO!y$hO~O!y$hO#S'wO~O!y$hO#S'yO~O#u'zO!m$sX!}$sX&s$sX~O!}'{O!m'bX&s'bX~O!m#cO&s#cO~O!q(PO#O(OO~O!m$ka&s$ka!x$ka!n$ka~PCqOl(ROw(SO!o(TO!y!}O~O!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO~OT$yaz$ya!S$ya!b$ya!m$ya!v$ya#S$ya#z$ya#{$ya#|$ya#}$ya$O$ya$Q$ya$R$ya$S$ya$T$ya$U$ya$V$ya$W$ya$z$ya&s$ya!x$ya!}$ya#O$ya#X$ya!n$ya!q$yaV$ya#u$ya#w$ya~P!'WO!m$|a&s$|a!x$|a!n$|a~PCqO#W([O#`(YO#a(YO&r(ZOR&gX!o&gX#b&gX#e&gX&q&gX'f&gX~O'f(_O~P8lO!q(`O~PhO!o(cO!q(dO~O!q(`O&s(gO~PhO!a(kO~O!m(lO~P9yOZ(wOn(xO~O!s(zO~OT6iOz6gO!S6jO!b6kO!v8sO!}({O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'jX&s'jX~P!'WO#u)PO~O!})QO!m'`X&s'`X~Ol(RO!o(TO~Ow(SO!o)WO!q)ZO~O!m#cO!oXO&s#cO~O!o%pO!s#yO~OV)aO!})_O!m'kX&s'kX~O])cOs)cO!s#gO#peO~O!o%pO!s#gO#p)hO~OT6iOz6gO!S6jO!b6kO!v8sO!})iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&|X&s&|X#O&|X~P!'WOl(ROw(SO!o(TO~O!i)oO&t)oO~OT8vOz8tO!S8wO!b8xO!q)pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#X)rO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!n)rO~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'TX!}'TX~P!'WOT'VXz'VX!S'VX!b'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX~O!q)tO!x'VX!}'VX~P!5xO!x#iX!}#iX~P>UO!})vO!x'SX~O!x)xO~O$z#dOT#yiz#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi$W#yi&s#yi!x#yi!}#yi#O#yi#X#yi!n#yi!q#yiV#yi#u#yi#w#yi~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi&s#yi!x#yi!n#yi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!b#VO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi~P!'WOz#RO$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi~P!'WO_)yO~P9yO!x)|O~O#S*PO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Ta#X#Ta#O#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'Pa#X'Pa#O'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WO#S#oO#U#nO!}&WX#X&WX~P9yO!}&wO#X'Oa~O#X*SO~OT6iOz6gO!S6jO!b6kO!v8sO!}*UO#O*TO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'QX~P!'WO!}*UO!x'QX~O!x*WO~O!m#oi!o#oi#S#oi#p#qX&s#oi!x#oi#O#oiw#oi~OT#oiz#oi!S#oi!b#oi!v#oi!y#oi#W#oi#`#oi#a#oi#s#oi#z#oi#{#oi#|#oi#}#oi$O#oi$Q#oi$R#oi$S#oi$T#oi$U#oi$V#oi$W#oi$z#oi!}#oi#X#oi!n#oiV#oi!q#oi#u#oi#w#oi~P#*zO#l'SO!x#ka#S#ka#U#ka#b#ka!o#ka#O#kaw#ka!m#ka&s#ka~OPgOQ|OU^OW}O[4OOo5xOs#hOx3zOy3zO}`O!O]O!Q2^O!R}O!T4UO!U3|O!V3|O!Y2`O!c3xO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4SO$]4QO$^4SO$aqO$z2_O${!OO$}}O%O}O%V|O'g{O~O#l#oa#U#oa#b#oa~PIpOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pi!S#Pi!b#Pi!m#Pi&s#Pi!x#Pi!n#Pi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#vi!S#vi!b#vi!m#vi&s#vi!x#vi!n#vi~P!'WO!m#xi&s#xi!x#xi!n#xi~PCqO!s#gO#peO!}&^X#X&^X~O!}'^O#X'Za~O!s'uO~Ow(SO!o)WO!q*fO~O!s*jO~O#S*lO#U*mO#b*kO#l'SO~O#S*lO#U*mO#b*kO$drO~P0aO#u*oO!x$cX!}$cX~O#U*mO#b*kO~O#b*pO~O#b*rO~P0aO!}*sO!x'XX~O!x*uO~O!y*wO~O!^*{O!oXO!q*zO~O!q*}O!o'ci!m'ci&s'ci~O!q+QO#O+PO~O#b$nO!m&eX!}&eX&s&eX~O!}'{O!m'ba&s'ba~OT$kiz$ki!S$ki!b$ki!m$ki!o$ki!v$ki!y$ki#S$ki#W$ki#`$ki#a$ki#s$ki#u#fa#w#fa#z$ki#{$ki#|$ki#}$ki$O$ki$Q$ki$R$ki$S$ki$T$ki$U$ki$V$ki$W$ki$z$ki&s$ki!x$ki!}$ki#O$ki#X$ki!n$ki!q$kiV$ki~OS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n+hO#b$nO$aqO$drO~P0aO!s+lO~O#W+nO#`+mO#a+mO~O!s+pO#b+pO$}+pO%T+oO~O!n+qO~PCqOc%XXd%XXh%XXj%XXf%XXg%XXe%XX~PhOc+uOd+sOP%WiQ%WiS%WiU%WiW%WiX%Wi[%Wi]%Wi^%Wi`%Wia%Wib%Wik%Wim%Wio%Wip%Wiq%Wis%Wit%Wiu%Wiv%Wix%Wiy%Wi|%Wi}%Wi!O%Wi!P%Wi!Q%Wi!R%Wi!T%Wi!U%Wi!V%Wi!W%Wi!X%Wi!Y%Wi!Z%Wi![%Wi!]%Wi!^%Wi!`%Wi!a%Wi!c%Wi!m%Wi!o%Wi!s%Wi!y%Wi#W%Wi#b%Wi#d%Wi#e%Wi#p%Wi$T%Wi$]%Wi$^%Wi$a%Wi$d%Wi$l%Wi$z%Wi${%Wi$}%Wi%O%Wi%V%Wi&p%Wi'g%Wi&t%Wi!n%Wih%Wij%Wif%Wig%WiY%Wi_%Wii%Wie%Wi~Oc+yOd+vOh+xO~OY+zO_+{O!n,OO~OY+zO_+{Oi%^X~Oi,QO~Oj,RO~O!m,TO~P9yO!m,VO~Of,WO~OT6iOV,XOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOg,YO~O!y,ZO~OZ(wOn(xOP%liQ%liS%liU%liW%liX%li[%li]%li^%li`%lia%lib%lik%lim%lio%lip%liq%lis%lit%liu%liv%lix%liy%li|%li}%li!O%li!P%li!Q%li!R%li!T%li!U%li!V%li!W%li!X%li!Y%li!Z%li![%li!]%li!^%li!`%li!a%li!c%li!m%li!o%li!s%li!y%li#W%li#b%li#d%li#e%li#p%li$T%li$]%li$^%li$a%li$d%li$l%li$z%li${%li$}%li%O%li%V%li&p%li'g%li&t%li!n%lic%lid%lih%lij%lif%lig%liY%li_%lii%lie%li~O#u,_O~O!}({O!m%da&s%da~O!x,bO~O!s%dO!m&dX!}&dX&s&dX~O!})QO!m'`a&s'`a~OS+^OY,iOm+^Os$aO!^+dO!_+^O!`+^O$aqO$drO~O!n,lO~P#JwO!o)WO~O!o%pO!s'RO~O!s#gO#peO!m&nX!}&nX&s&nX~O!})_O!m'ka&s'ka~O!s,rO~OV,sO!n%|X!}%|X~O!},uO!n'lX~O!n,wO~O!m&UX!}&UX&s&UX#O&UX~P9yO!})iO!m&|a&s&|a#O&|a~Oz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq&s!uq!x!uq!n!uq~P!'WO!n,|O~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#ia!}#ia~P!'WO!x&YX!}&YX~PAOO!})vO!x'Sa~O#O-QO~O!}-RO!n&{X~O!n-TO~O!x-UO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vi#X#Vi~P!'WO!x&XX!}&XX~P9yO!}*UO!x'Qa~O!x-[O~OT#jqz#jq!S#jq!b#jq!m#jq!v#jq#S#jq#u#jq#w#jq#z#jq#{#jq#|#jq#}#jq$O#jq$Q#jq$R#jq$S#jq$T#jq$U#jq$V#jq$W#jq$z#jq&s#jq!x#jq!}#jq#O#jq#X#jq!n#jq!q#jqV#jq~P!'WO#l#oi#U#oi#b#oi~P#*zOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pq!S#Pq!b#Pq!m#Pq&s#Pq!x#Pq!n#Pq~P!'WO#u-dO!x$ca!}$ca~O#U-fO#b-eO~O#b-gO~O#S-hO#U-fO#b-eO#l'SO~O#b-jO#l'SO~O#u-kO!x$ha!}$ha~O!`'mO#S'kO#U'lO#b'jO$drO!x&_X!}&_X~P0aO!}*sO!x'Xa~O!oXO#l'SO~O#S-pO#b-oO!x'[P~O!oXO!q-rO~O!q-uO!o'cq!m'cq&s'cq~O!^-wO!oXO!q-rO~O!q-{O#O-zO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$si!}$si&s$si~P!'WO!m$jq&s$jq!x$jq!n$jq~PCqO#O-zO#l'SO~O!}-|Ow']X!o']X!m']X&s']X~O#b$nO#l'SO~OS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO$drO~P0aOS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO~P0aOS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n.ZO#b$nO$aqO$drO~P0aO!s.^O~O!s._O#b._O$}._O%T+oO~O$}.`O~O#X.aO~Oc%Xad%Xah%Xaj%Xaf%Xag%Xae%Xa~PhOc.dOd+sOP%WqQ%WqS%WqU%WqW%WqX%Wq[%Wq]%Wq^%Wq`%Wqa%Wqb%Wqk%Wqm%Wqo%Wqp%Wqq%Wqs%Wqt%Wqu%Wqv%Wqx%Wqy%Wq|%Wq}%Wq!O%Wq!P%Wq!Q%Wq!R%Wq!T%Wq!U%Wq!V%Wq!W%Wq!X%Wq!Y%Wq!Z%Wq![%Wq!]%Wq!^%Wq!`%Wq!a%Wq!c%Wq!m%Wq!o%Wq!s%Wq!y%Wq#W%Wq#b%Wq#d%Wq#e%Wq#p%Wq$T%Wq$]%Wq$^%Wq$a%Wq$d%Wq$l%Wq$z%Wq${%Wq$}%Wq%O%Wq%V%Wq&p%Wq'g%Wq&t%Wq!n%Wqh%Wqj%Wqf%Wqg%WqY%Wq_%Wqi%Wqe%Wq~Oc.iOd+vOh.hO~O!q(`O~OP6]OQ|OU^OW}O[:fOo>ROs#hOx:dOy:dO}`O!O]O!Q:kO!R}O!T:jO!U:eO!V:eO!Y:oO!c8gO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:hO$]:gO$^:hO$aqO$z:mO${!OO$}}O%O}O%V|O'g{O~O!m.lO!q.lO~OY+zO_+{O!n.nO~OY+zO_+{Oi%^a~O!x.rO~P>UO!m.tO~O!m.tO~P9yOQ|OW}O!R}O$}}O%O}O%V|O'g{O~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&ka!}&ka&s&ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$qi!}$qi&s$qi~P!'WOS+^Om+^Os$aO!_+^O!`+^O$aqO$drO~OY/PO~P$?VOS+^Om+^Os$aO!_+^O!`+^O$aqO~O!s/QO~O!n/SO~P#JwOw(SO!o)WO#l'SO~OV/VO!m&na!}&na&s&na~O!})_O!m'ki&s'ki~O!s/XO~OV/YO!n%|a!}%|a~O]/[Os/[O!s#gO#peO!n&oX!}&oX~O!},uO!n'la~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&Ua!}&Ua&s&Ua#O&Ua~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy&s!uy!x!uy!n!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#hi!}#hi~P!'WO_)yO!n&VX!}&VX~P9yO!}-RO!n&{a~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vq#X#Vq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#[i!}#[i~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O/cO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x&Xa!}&Xa~P!'WO#u/iO!x$ci!}$ci~O#b/jO~O#U/lO#b/kO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$ci!}$ci~P!'WO#u/mO!x$hi!}$hi~O!}/oO!x'[X~O#b/qO~O!x/rO~O!oXO!q/uO~O#l'SO!o'cy!m'cy&s'cy~O!m$jy&s$jy!x$jy!n$jy~PCqO#O/xO#l'SO~O!s#gO#peOw&aX!o&aX!}&aX!m&aX&s&aX~O!}-|Ow']a!o']a!m']a&s']a~OU$PO]0QO!R$PO!s$OO!v#}O#b$nO#p2XO~P$?uO!m#cO!o0VO&s#cO~O#X0YO~Oh0_O~OT:tOz:pO!S:vO!b:xO!m0`O!q0`O!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO~P!'WOY%]a_%]a!n%]ai%]a~PhO!x0bO~O!x0bO~P>UO!m0dO~OT6iOz6gO!S6jO!b6kO!v8sO!x0fO#O0eO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WO!x0fO~O!x0gO#b0hO#l'SO~O!x0iO~O!s0jO~O!m#cO#u0lO&s#cO~O!s0mO~O!})_O!m'kq&s'kq~O!s0nO~OV0oO!n%}X!}%}X~OT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!n!|i!}!|i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cq!}$cq~P!'WO#u0vO!x$cq!}$cq~O#b0wO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hq!}$hq~P!'WO#S0zO#b0yO!x&`X!}&`X~O!}/oO!x'[a~O#l'SO!o'c!R!m'c!R&s'c!R~O!oXO!q1PO~O!m$j!R&s$j!R!x$j!R!n$j!R~PCqO#O1RO#l'SO~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1^O!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOh1_O~OY%[i_%[i!n%[ii%[i~PhOY%]i_%]i!n%]ii%]i~PhO!x1bO~O!x1bO~P>UO!x1eO~O!m#cO#u1iO&s#cO~O$}1jO%V1jO~O!s1kO~OV1lO!n%}a!}%}a~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#]i!}#]i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cy!}$cy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hy!}$hy~P!'WO#b1nO~O!}/oO!x'[i~O!m$j!Z&s$j!Z!x$j!Z!n$j!Z~PCqOT:uOz:qO!S:wO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO~P!'WOV1uO{1tO~P!5xOV1uO{1tOT&}Xz&}X!S&}X!b&}X!o&}X!v&}X!y&}X#S&}X#W&}X#`&}X#a&}X#s&}X#u&}X#w&}X#z&}X#{&}X#|&}X#}&}X$O&}X$Q&}X$R&}X$S&}X$T&}X$U&}X$V&}X$W&}X$z&}X~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1xO!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOY%[q_%[q!n%[qi%[q~PhO!x1zO~O!x%gi~PCqOe1{O~O$}1|O%V1|O~O!s2OO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$c!R!}$c!R~P!'WO!m$j!c&s$j!c!x$j!c!n$j!c~PCqO!s2QO~O!`2SO!s2RO~O!s2VO!m$xi&s$xi~O!s'WO~O!s*]O~OT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$ka#u$ka#w$ka&s$ka!x$ka!n$ka!q$ka#X$ka!}$ka~P!'WO#S2]O~P*kO$l$tO~P#.YOT6iOz6gO!S6jO!b6kO!v8sO#O2[O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX&s'PX!x'PX!n'PX~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O3uO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'PX#X'PX#u'PX#w'PX!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~P!'WO#S3dO~P#.YOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Xa#u$Xa#w$Xa&s$Xa!x$Xa!n$Xa!q$Xa#X$Xa!}$Xa~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Ya#u$Ya#w$Ya&s$Ya!x$Ya!n$Ya!q$Ya#X$Ya!}$Ya~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Za#u$Za#w$Za&s$Za!x$Za!n$Za!q$Za#X$Za!}$Za~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$[a#u$[a#w$[a&s$[a!x$[a!n$[a!q$[a#X$[a!}$[a~P!'WOz2aO#u$[a#w$[a!q$[a#X$[a!}$[a~PNyOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$_a#u$_a#w$_a&s$_a!x$_a!n$_a!q$_a#X$_a!}$_a~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$|a#u$|a#w$|a&s$|a!x$|a!n$|a!q$|a#X$|a!}$|a~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#Ta#u#Ta#w#Ta&s#Ta!x#Ta!n#Ta!q#Ta#X#Ta!}#Ta~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m'Pa#u'Pa#w'Pa&s'Pa!x'Pa!n'Pa!q'Pa#X'Pa!}'Pa~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pi!S#Pi!b#Pi!m#Pi#u#Pi#w#Pi&s#Pi!x#Pi!n#Pi!q#Pi#X#Pi!}#Pi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#vi!S#vi!b#vi!m#vi#u#vi#w#vi&s#vi!x#vi!n#vi!q#vi#X#vi!}#vi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#xi#u#xi#w#xi&s#xi!x#xi!n#xi!q#xi#X#xi!}#xi~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq#u!uq#w!uq&s!uq!x!uq!n!uq!q!uq#X!uq!}!uq~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pq!S#Pq!b#Pq!m#Pq#u#Pq#w#Pq&s#Pq!x#Pq!n#Pq!q#Pq#X#Pq!}#Pq~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jq#u$jq#w$jq&s$jq!x$jq!n$jq!q$jq#X$jq!}$jq~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy#u!uy#w!uy&s!uy!x!uy!n!uy!q!uy#X!uy!}!uy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jy#u$jy#w$jy&s$jy!x$jy!n$jy!q$jy#X$jy!}$jy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!R#u$j!R#w$j!R&s$j!R!x$j!R!n$j!R!q$j!R#X$j!R!}$j!R~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!Z#u$j!Z#w$j!Z&s$j!Z!x$j!Z!n$j!Z!q$j!Z#X$j!Z!}$j!Z~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!c#u$j!c#w$j!c&s$j!c!x$j!c!n$j!c!q$j!c#X$j!c!}$j!c~P!'WOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S3vO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lO#u2uO#w2vO!q&zX#X&zX!}&zX~P0rOP6]OU^O[4POo8^Or2wOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S2tO#U2sO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX!q#xX#X#xX!}#xX~P$;lOP6]OU^O[4POo8^Or4xOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S4uO#U4tO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!o#xX!v#xX!}#xX#O#xX#X#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!m#xX&s#xX!x#xX!n#xXV#xX!q#xX~P$;lO!q3PO~P>UO!q5}O#O3gO~OT8vOz8tO!S8wO!b8xO!q3hO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q6OO#O3kO~O!q6PO#O3oO~O#O3oO#l'SO~O#O3pO#l'SO~O#O3sO#l'SO~OP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$l$tO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S5eO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Xa#O$Xa#X$Xa#u$Xa#w$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Ya#O$Ya#X$Ya#u$Ya#w$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Za#O$Za#X$Za#u$Za#w$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$[a#O$[a#X$[a#u$[a#w$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz4dO!}$[a#O$[a#X$[a#u$[a#w$[aV$[a!q$[a~PNyOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$_a#O$_a#X$_a#u$_a#w$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$|a#O$|a#X$|a#u$|a#w$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#Ta#O#Ta#X#Ta#u#Ta#w#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'Pa#O'Pa#X'Pa#u'Pa#w'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi#u#Pi#w#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi#u#vi#w#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#xi#O#xi#X#xi#u#xi#w#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq#u!uq#w!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq#u#Pq#w#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jq#O$jq#X$jq#u$jq#w$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy#u!uy#w!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jy#O$jy#X$jy#u$jy#w$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!R#O$j!R#X$j!R#u$j!R#w$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!Z#O$j!Z#X$j!Z#u$j!Z#w$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!c#O$j!c#X$j!c#u$j!c#w$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S5wO~P#.YO!y$hO#S5{O~O!x4ZO#l'SO~O!y$hO#S5|O~OT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$ka#O$ka#X$ka#u$ka#w$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O5vO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!m'PX#u'PX#w'PX&s'PX!x'PX!n'PX!q'PX#X'PX!}'PX~P!'WO#u4vO#w4wO!}&zX#O&zX#X&zXV&zX!q&zX~P0rO!q5QO~P>UO!q8bO#O5hO~OT8vOz8tO!S8wO!b8xO!q5iO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q8cO#O5lO~O!q8dO#O5pO~O#O5pO#l'SO~O#O5qO#l'SO~O#O5tO#l'SO~O$l$tO~P9yOo5zOs$lO~O#S7oO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Xa#O$Xa#X$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Ya#O$Ya#X$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Za#O$Za#X$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$[a#O$[a#X$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz6gO!}$[a#O$[a#X$[aV$[a!q$[a~PNyOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$_a#O$_a#X$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$ka#O$ka#X$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$|a#O$|a#X$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7sO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'jX~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7uO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&|X~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WO#S7zO~P>UO!m#Ta&s#Ta!x#Ta!n#Ta~PCqO!m'Pa&s'Pa!x'Pa!n'Pa~PCqO#S;dO#U;cO!x&WX!}&WX~P9yO!}7lO!x'Oa~Oz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#xi#O#xi#X#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WO!}7sO!x%da~O!x&UX!}&UX~P>UO!}7uO!x&|a~Oz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vi!}#Vi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jq#O$jq#X$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&ka!}&ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&Ua!}&Ua~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vq!}#Vq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jy#O$jy#X$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!R#O$j!R#X$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!Z#O$j!Z#X$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!c#O$j!c#X$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S8[O~P9yO#O8ZO!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~PGSO!y$hO#S8`O~O!y$hO#S8aO~O#u6zO#w6{O!}&zX#O&zX#X&zXV&zX!q&zX~P0rOr6|O#S#oO#U#nO!}#xX#O#xX#X#xXV#xX!q#xX~P2yOr;iO#S9XO#U9VOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!n#xX!}#xX~P9yOr9WO#S9WO#U9WOT#xXz#xX!S#xX!b#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX~P9yOr9]O#S;dO#U;cOT#xXz#xX!S#xX!b#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX#X#xX!x#xX!}#xX~P9yO$l$tO~P>UO!q7XO~P>UOT6iOz6gO!S6jO!b6kO!v8sO#O7iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'PX!}'PX~P!'WOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lO!}7lO!x'OX~O#S9yO~P>UOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Xa#X$Xa!x$Xa!}$Xa~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Ya#X$Ya!x$Ya!}$Ya~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Za#X$Za!x$Za!}$Za~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$[a#X$[a!x$[a!}$[a~P!'WOz8tO$z#dOT$[a!S$[a!b$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a#X$[a!x$[a!}$[a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$_a#X$_a!x$_a!}$_a~P!'WO!q=dO#O7rO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$ka#X$ka!x$ka!}$ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$|a#X$|a!x$|a!}$|a~P!'WOT8vOz8tO!S8wO!b8xO!q7wO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi#X#yi!x#yi!}#yi~P!'WOz8tO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pi!S#Pi!b#Pi!q#Pi#X#Pi!x#Pi!}#Pi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#vi!S#vi!b#vi!q#vi#X#vi!x#vi!}#vi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q#xi#X#xi!x#xi!}#xi~P!'WO!q=eO#O7|O~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uq!S!uq!b!uq!q!uq!v!uq#X!uq!x!uq!}!uq~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pq!S#Pq!b#Pq!q#Pq#X#Pq!x#Pq!}#Pq~P!'WO!q=iO#O8TO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jq#X$jq!x$jq!}$jq~P!'WO#O8TO#l'SO~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uy!S!uy!b!uy!q!uy!v!uy#X!uy!x!uy!}!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jy#X$jy!x$jy!}$jy~P!'WO#O8UO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!R#X$j!R!x$j!R!}$j!R~P!'WO#O8XO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!Z#X$j!Z!x$j!Z!}$j!Z~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!c#X$j!c!x$j!c!}$j!c~P!'WO#S:bO~P>UO#O:aO!q'PX!x'PX~PGSO$l$tO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$l$tO$z:nO${!OO~P$;lOo8_Os$lO~O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S=UO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT6iOz6gO!S6jO!b6kO!v8sO#O=SO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O=RO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX!q'PX!n'PX!}'PX~P!'WOT&zXz&zX!S&zX!b&zX!o&zX!q&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX!}&zX~O#u9ZO#w9[O#X&zX!x&zX~P.8oO!y$hO#S=^O~O!q9hO~P>UO!y$hO#S=cO~O!q>OO#O9}O~OT8vOz8tO!S8wO!b8xO!q:OO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#Ta!q#Ta!n#Ta!}#Ta~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m'Pa!q'Pa!n'Pa!}'Pa~P!'WO!q>PO#O:RO~O!q>QO#O:YO~O#O:YO#l'SO~O#O:ZO#l'SO~O#O:_O#l'SO~O#u;eO#w;gO!m&zX!n&zX~P.8oO#u;fO#w;hOT&zXz&zX!S&zX!b&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX~O!q;tO~P>UO!q;uO~P>UO!q>XO#OYO#O9WO~OT8vOz8tO!S8wO!b8xO!qZO#O[O#O<{O~O#O<{O#l'SO~O#O9WO#l'SO~O#O<|O#l'SO~O#O=PO#l'SO~O!y$hO#S=|O~Oo=[Os$lO~O!y$hO#S=}O~O!y$hO#S>UO~O!y$hO#S>VO~O!y$hO#S>WO~Oo={Os$lO~Oo>TOs$lO~Oo>SOs$lO~O%O$U$}$d!d$V#b%V#e'g!s#d~",goto:"%&y'mPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'nP'uPP'{(OPPP(hP(OP(O*ZP*ZPP2W:j:mPP*Z:sBpPBsPBsPP:sCSCVCZ:s:sPPPC^PP:sK^!$S!$S:s!$WP!$W!$W!%UP!.]!7pP!?oP*ZP*Z*ZPPPPP!?rPPPPPPP*Z*Z*Z*ZPP*Z*ZP!E]!GRP!GV!Gy!GR!GR!HP*Z*ZP!HY!Hl!Ib!J`!Jd!J`!Jo!J}!J}!KV!KY!KY*ZPP*ZPP!K^#%[#%[#%`P#%fP(O#%j(O#&S#&V#&V#&](O#&`(O(O#&f#&i(O#&r#&u(O(O(O(O(O#&x(O(O(O(O(O(O(O(O(O#&{!KR(O(O#'_#'o#'r(O(OP#'u#'|#(S#(o#(y#)P#)Z#)b#)h#*d#4X#5T#5Z#5a#5k#5q#5w#6]#6c#6i#6o#6u#6{#7R#7]#7g#7m#7s#7}PPPPPPPP#8T#8X#8}#NO#NR#N]$(f$(r$)X$)_$)b$)e$)k$,X$5v$>_$>b$>h$>k$>n$>w$>{$?X$?k$Bk$CO$C{$K{PP%%y%%}%&Z%&p%&vQ!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a|!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ%^!ZQ%g!aQ%l!eQ'd$dQ'q$iQ)[%kQ*y'tQ,](xU-n*v*x+OQ.W+cQ.{,[S/t-s-tQ0T.SS0}/s/wQ1V0RQ1o1OR2P1p0u!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3ZfPVX[_bgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#}$R$S$U$h$y$}%P%R%S%T%U%c%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)_)c)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3scPVX[_bdegjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#{#}$R$S$U$h$y$}%P%R%S%T%U%c%m%n%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)^)_)c)g)h)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u,x-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2W2X2Y2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[0phPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0`0a0d0e0i0v1R1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uRS=p>S>VS=s>T>UR=t>WT'n$h*s!csPVXt!S!j!r!s!w$h$}%P%S%U'i(T(`)W*s+]+g+r+u,g,k.b.d.l0`0a0i1aQ$^rR*`'^Q*x'sQ-t*{R/w-wQ(W$tQ)U%hQ)n%vQ*i'fQ+k(XR-c*jQ(V$tQ)Y%jQ)m%vQ*e'eS*h'f)nS+j(W(XS-b*i*jQ.]+kQ/T,mQ/e-`R/g-cQ(U$tQ)T%hQ)V%iQ)l%vU*g'f)m)nU+i(V(W(XQ,f)UU-a*h*i*jS.[+j+kS/f-b-cQ0X.]R0t/gT+e(T+g[%e!_$b'c+a.R0QR,d)Qb$ov(T+[+]+`+g.P.Q0PR+T'{S+e(T+gT,j)W,kR0W.XT1[0V1]0w|PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[R2Y2X|tPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aW$`t'i+],gS'i$h*sS+](T+gT,g)W,kQ'_$^R*a'_Q*t'oR-m*tQ/p-oS0{/p0|R0|/qQ-}+XR/|-}Q+g(TR.Y+gS+`(T+gS,h)W,kQ.Q+]W.T+`,h.Q/OR/O,gQ)R%eR,e)RQ'|$oR+U'|Q1]0VR1w1]Q${{R(^${Q+t(aR.c+tQ+w(bR.g+wQ+}(cQ,P(dT.m+},PQ(|%`S,a(|7tR7t7VQ(y%^R,^(yQ,k)WR/R,kQ)`%oS,q)`/WR/W,rQ,v)dR/^,vT!uV!rj!iPVX!j!r!s!w(`+r.l0`0a1aQ%Q!SQ(a$}W(h%P%S%U0iQ.e+uQ0Z.bR0[.d|ZPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ#f[U#m_#s&wQ#wbQ$VkQ$WlQ$XmQ$YnQ$ZoQ$[pQ$sx^$uy2_4b6e8q:m:nQ$vzQ%W!WQ%Y!XQ%[!YW%`!]%R(l,VU%s!g&p-RQ%|!yQ&O!zQ&Q!{S&U!})v^&^#R2a4d6g8t:p:qQ&_#SQ&`#TQ&a#UQ&b#VQ&c#WQ&d#XQ&e#YQ&f#ZQ&g#[Q&h#]Q&i#^Q&j#_Q&k#`Q&l#aQ&m#bQ&u#nQ&v#oS&{#t'OQ'X$RQ'Z$SQ'[$UQ(]$yQ(p%TQ)q%}Q)s&SQ)u&WQ*O&tS*['U4ZQ*^'Y^*_2[3u5v8Z:a=R=SQ+S'zQ+V(OQ,`({Q,c)PQ,y)iQ,{)pQ,})tQ-V*PQ-W*TQ-X*U^-]2]3v5w8[:b=T=UQ-i*oQ-x+PQ.k+zQ.w,XQ/`-QQ/h-dQ/n-kQ/y-zQ0r/cQ0u/iQ0x/mQ1Q/xU1X0V1]9WQ1d0eQ1m0vQ1q1RQ2Z2^Q2qjQ2r3yQ2x3zQ2y3|Q2z4OQ2{4QQ2|4SQ2}4UQ3O2`Q3Q2bQ3R2cQ3S2dQ3T2eQ3U2fQ3V2gQ3W2hQ3X2iQ3Y2jQ3Z2kQ3[2lQ3]2mQ3^2nQ3_2oQ3`2pQ3a2sQ3b2tQ3c2uQ3e2vQ3f2wQ3i3PQ3j3dQ3l3gQ3m3hQ3n3kQ3q3oQ3r3pQ3t3sQ4Y4WQ4y3{Q4z3}Q4{4PQ4|4RQ4}4TQ5O4VQ5P4cQ5R4eQ5S4fQ5T4gQ5U4hQ5V4iQ5W4jQ5X4kQ5Y4lQ5Z4mQ5[4nQ5]4oQ5^4pQ5_4qQ5`4rQ5a4sQ5b4tQ5c4uQ5d4vQ5f4wQ5g4xQ5j5QQ5k5eQ5m5hQ5n5iQ5o5lQ5r5pQ5s5qQ5u5tQ6Q4aQ6R3xQ6V6TQ6}6^Q7O6_Q7P6`Q7Q6aQ7R6bQ7S6cQ7T6dQ7U6fU7V,T.t0dQ7W%cQ7Y6hQ7Z6iQ7[6jQ7]6kQ7^6lQ7_6mQ7`6nQ7a6oQ7b6pQ7c6qQ7d6rQ7e6sQ7f6tQ7g6uQ7h6vQ7j6xQ7k6yQ7n6zQ7p6{Q7q6|Q7x7XQ7y7iQ7{7oQ7}7rQ8O7sQ8P7uQ8Q7wQ8R7zQ8S7|Q8V8TQ8W8UQ8Y8XQ8]8fU9U#k&s7lQ9^8jQ9_8kQ9`8lQ9a8mQ9b8nQ9c8oQ9e8pQ9f8rQ9g8sQ9i8uQ9j8vQ9k8wQ9l8xQ9m8yQ9n8zQ9o8{Q9p8|Q9q8}Q9r9OQ9s9PQ9t9QQ9u9RQ9v9SQ9w9TQ9x9ZQ9z9[Q9{9]Q:P9hQ:Q9yQ:T9}Q:V:OQ:W:RQ:[:YQ:^:ZQ:`:_Q:c8iQ;j:dQ;k:eQ;l:fQ;m:gQ;n:hQ;o:iQ;p:jQ;q:kQ;r:lQ;s:oQ;v:rQ;w:sQ;x:tQ;y:uQ;z:vQ;{:wQ;|:xQ;}:yQOQ=h>PQ=j>QQ=u>XQ=v>YQ=w>ZR=x>[0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[S$]r'^Q%k!eS%o!f%rQ)b%pU+X(R(S+dQ,p)_Q,t)cQ/Z,uQ/{-|R0p/[|vPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a#U#i[bklmnopxyz!W!X!Y!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y%}&S'Y(O)p+P-z/x0e1R2[2]6x6yd+^(T)W+]+`+g,g,h,k.Q/O!t6w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,66,67,70,191,""],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[LO],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9W!e!}!7z!}#O!;^#O#P!;z#P#Q!V<%lO8VR9WV&wP%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%VQQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV&wP%VQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW&wPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!yQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!xU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY&wP$VQOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$WQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$TQ&wPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V$zQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV!}Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$TQ%TW&wPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#`U&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo[&wP$UQOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX&wPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#UU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_&wP%OQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]&wPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X&wPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ&wP%OQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX&wPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVK[[&wP$VQOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVLVX&wPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQVLwT&wPOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMWUNXO!eUUN[P;=`<%lMWVNdZ&wPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQV! ^V!eU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%fV!!lP;=`<%lLQZ!!vm&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX&wPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY&wPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k[&wP$}YOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX&wPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ&wP$}YOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]&wPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_&wP$}YOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!qQ&wPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#sQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!mU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$RQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$SQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!iP!_!`!0k!r!s!0p#d#e!0pP!0pO!iPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0kV!1ZX#uQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#OU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!3{[!vQ&wPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#aU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!6WV!gU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW#zQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$]Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ra&wP!s^OY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9_e&wP!s^OY$zYZ%fZr$zrs!:psw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:wV&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;eV#WU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!mZ!^!=u!^!_!@u!_#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%lO!=uR!>rV&wPO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?[VO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?tRO;'S!?X;'S;=`!?};=`O!?XQ!@QWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!?X<%lO!?XQ!@oO${QQ!@rP;=`<%l!?XR!@x]OY!=uYZ!>mZ!a!=u!a!b!?X!b#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%l~!=u~O!=u~~%fR!AvW&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_;'S!=u;'S;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[EO,CO,NO,0,1,2,3,IO],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,Q)=>d(O)<<1,external:d},{term:81,get:O=>AO[O]||-1}],tokenPrec:29354}),KO=l.define({name:"php",parser:HO.configure({props:[x.add({IfStatement:W({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:W({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),y=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:y?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":R({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:W({except:/^({|end(for|foreach|switch|while)\b)/})}),V.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":r,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function O$(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let y=U({matchClosingTags:!1});Q.push(y.support),i=y.language}return new v(KO.configure({wrap:i&&u(y=>y.type.isTop?{parser:i.parser,overlay:z=>z.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{O$ as php,KO as phpLanguage}; +import{E as S,s as o,t as $,b as t,L as l,i as x,c as W,j as R,f as V,k as r,q as U,a as v,r as u}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 m=1,b=2,p=263,k=3,c=264,s=265,Y=266,Z=4,w=5,_=6,h=7,X=8,j=9,f=10,G=11,g=12,E=13,I=14,N=15,F=16,C=17,L=18,A=19,H=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,yO=30,aO=31,zO=32,SO=33,PO=34,WO=35,eO=36,TO=37,sO=38,XO=39,dO=40,nO=41,qO=42,oO=43,tO=44,lO=45,xO=46,RO=47,VO=48,rO=49,UO=50,vO=51,uO=52,mO=53,bO=54,pO=55,kO=56,cO=57,YO=58,ZO=59,wO=60,_O=61,e=62,hO=63,jO=64,fO=65,GO={abstract:Z,and:w,array:_,as:h,true:X,false:X,break:j,case:f,catch:G,clone:g,const:E,continue:I,declare:F,default:N,do:C,echo:L,else:A,elseif:H,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:yO,fn:aO,for:zO,foreach:SO,from:PO,function:WO,global:eO,goto:TO,if:sO,implements:XO,include:dO,include_once:nO,instanceof:qO,insteadof:oO,interface:tO,list:lO,match:xO,namespace:RO,new:VO,null:rO,or:UO,print:vO,require:uO,require_once:mO,return:bO,switch:pO,throw:kO,trait:cO,try:YO,unset:ZO,use:wO,var:_O,public:e,private:e,protected:e,while:hO,xor:jO,yield:fO,__proto__:null};function d(O){let Q=GO[O.toLowerCase()];return Q??-1}function n(O){return O==9||O==10||O==13||O==32}function q(O){return O>=97&&O<=122||O>=65&&O<=90}function a(O){return O==95||O>=128||q(O)}function T(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const gO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},EO=new S(O=>{if(O.next==40){O.advance();let Q=0;for(;n(O.peek(Q));)Q++;let i="",y;for(;q(y=O.peek(Q));)i+=String.fromCharCode(y),Q++;for(;n(O.peek(Q));)Q++;O.peek(Q)==41&&gO[i.toLowerCase()]&&O.acceptToken(m)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let y=0;y<3;y++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!a(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!a(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let y=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(y){for(;O.next==32||O.next==9;)O.advance();let z=!0;for(let P=0;P{O.next<0&&O.acceptToken(Y)}),NO=new S((O,Q)=>{O.next==63&&Q.canShift(s)&&O.peek(1)==62&&O.acceptToken(s)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,y;for(;i<5&&(y=O.peek(i))>=48&&y<=55;)i++;return i}if(Q==120&&T(O.peek(2)))return T(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let y=O.peek(i);if(y==125)return i==2?0:i+1;if(!T(y))break}return 0}const CO=new S((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(a(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let y=FO(O);if(y){if(i)break;return O.acceptToken(k,y)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&a(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&a(O.peek(3)))&&Q.canShift(c))break;O.advance()}i&&O.acceptToken(p)}),LO=o({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,LogicOp:$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},HO=t.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5UQaO,5=hO!-eQ`O'#F}O!-jQdO'#IlO!&WQdO,5=iOOQ#u,5=j,5=jO!-uQ`O,5=lO!-xQ`O,5=mO!-}Q`O,5=nO!.YQdO,5=qOOQ#u,5=q,5=qO!.eQ`O,5=rO!.eQ`O,5=rO!.mQdO'#IwO!.{Q`O'#HXO!&WQdO,5=rO!/ZQ`O,5=rO!/fQdO'#IYO!&WQdO,5=vOOQ#u-E;_-E;_O!1RQ`O,5=kOOO#u,5:^,5:^O!1^O#|O,5:^OOO#u-E;^-E;^OOOO,5>p,5>pOOQ#y1G0S1G0SO!1fQ`O1G0XO*kQaO1G0XO!2xQ`O1G0pOOQS1G0p1G0pO!4[Q`O1G0pOOQS'#I_'#I_O*kQaO'#I_OOQS1G0q1G0qO!4cQ`O'#IaO!7lQ`O'#E}O!7yQaO'#EuOOQO'#Ia'#IaO!8TQ`O'#I`O!8]Q`O,5;_OOQS'#FQ'#FQOOQS1G1U1G1UO!8bQdO1G1]O!:dQdO1G1]O!wO#(fQaO'#HdO#(vQ`O,5>vOOQS1G0d1G0dO#)OQ`O1G0dO#)TQ`O'#I^O#*mQ`O'#I^O#*uQ`O,5;ROIbQaO,5;ROOQS1G0u1G0uPOQO'#E}'#E}O#+fQdO1G1RO0aQ`O'#HgO#-hQtO,5;cO#.YQaO1G0|OOQS,5;e,5;eO#0iQtO,5;gO#0vQdO1G0cO*kQaO1G0cO#2cQdO1G1YO#4OQdO1G1[OOQO,5<^,5<^O#4`Q`O'#HjO#4nQ`O,5?ROOQO1G1w1G1wO#4vQ`O,5?ZO!&WQdO1G3TO<_Q`O1G3TOOQ#u1G3U1G3UO#4{Q`O1G3YO!1RQ`O1G3VO#5WQ`O1G3VO#5]QpO'#FoO#5kQ`O'#FoO#5{Q`O'#FoO#6WQ`O'#FoO#6`Q`O'#FsO#6eQ`O'#FtOOQO'#If'#IfO#6lQ`O'#IeO#6tQ`O,5tOOQ#u1G3b1G3bOOQ#u1G3V1G3VO!-xQ`O1G3VO!1UQ`O1G3VOOO#u1G/x1G/xO*kQaO7+%sO#MuQdO7+%sOOQS7+&[7+&[O$ bQ`O,5>yO>UQaO,5;`O$ iQ`O,5;aO$#OQaO'#HfO$#YQ`O,5>zOOQS1G0y1G0yO$#bQ`O'#EYO$#gQ`O'#IXO$#oQ`O,5:sOOQS1G0e1G0eO$#tQ`O1G0eO$#yQ`O1G0iO9yQaO1G0iOOQO,5>O,5>OOOQO-E;b-E;bOOQS7+&O7+&OO>UQaO,5;SO$%`QaO'#HeO$%jQ`O,5>xOOQS1G0m1G0mO$%rQ`O1G0mOOQS,5>R,5>ROOQS-E;e-E;eO$%wQdO7+&hO$'yQtO1G1RO$(WQdO7+%}OOQS1G0i1G0iOOQO,5>U,5>UOOQO-E;h-E;hOOQ#u7+(o7+(oO!&WQdO7+(oOOQ#u7+(t7+(tO#KmQ`O7+(tO0aQ`O7+(tOOQ#u7+(q7+(qO!-xQ`O7+(qO!1UQ`O7+(qO!1RQ`O7+(qO$)sQ`O,5UQaO,5],5>]OOQS-E;o-E;oO$.iQdO7+'hO$.yQpO7+'hO$/RQdO'#IiOOQO,5dOOQ#u,5>d,5>dOOQ#u-E;v-E;vO$;lQaO7+(lO$cOOQS-E;u-E;uO!&WQdO7+(nO$=mQdO1G2TOOQS,5>[,5>[OOQS-E;n-E;nOOQ#u7+(r7+(rO$?nQ`O'#GQO$?uQ`O'#GQO$@ZQ`O'#HUOOQO'#Hy'#HyO$@`Q`O,5=oOOQ#u,5=o,5=oO$@gQpO7+(tOOQ#u7+(x7+(xO!&WQdO7+(xO$@rQdO,5>fOOQS-E;x-E;xO$AQQdO1G4}O$A]Q`O,5=tO$AbQ`O,5=tO$AmQ`O'#H{O$BRQ`O,5?dOOQS1G3_1G3_O#KrQ`O7+(xO$BZQdO,5=|OOQS-E;`-E;`O$CvQdO<Q,5>QOOQO-E;d-E;dO$8YQaO,5:tO$FxQaO'#HcO$GVQ`O,5>sOOQS1G0_1G0_OOQS7+&P7+&PO$G_Q`O7+&TO$HtQ`O1G0nO$JZQ`O,5>POOQO,5>P,5>POOQO-E;c-E;cOOQS7+&X7+&XOOQS7+&T7+&TOOQ#u<UQaO1G1uO$KsQ`O1G1uO$LOQ`O1G1yOOQO1G1y1G1yO$LTQ`O1G1uO$L]Q`O1G1uO$MrQ`O1G1zO>UQaO1G1zOOQO,5>V,5>VOOQO-E;i-E;iOOQS<`OOQ#u-E;r-E;rOhQaO<aOOQO-E;s-E;sO!&WQdO<g,5>gOOQO-E;y-E;yO!&WQdO<UQaO,5;TOOQ#uANAzANAzO#KmQ`OANAzOOQ#uANAwANAwO!-xQ`OANAwO%)vQ`O7+'aO>UQaO7+'aOOQO7+'e7+'eO%+]Q`O7+'aO%+hQ`O7+'eO>UQaO7+'fO%+mQ`O7+'fO%-SQ`O'#HlO%-bQ`O,5?SO%-bQ`O,5?SOOQO1G1{1G1{O$+qQpOAN@dOOQSAN@dAN@dO0aQ`OAN@dO%-jQtOANCgO%-xQ`OAN@dO*kQaOAN@nO%.QQdOAN@nO%.bQpOAN@nOOQS,5>X,5>XOOQS-E;k-E;kOOQO1G2U1G2UO!&WQdO1G2UO$/dQpO1G2UO<_Q`O1G2SO!.YQdO1G2WO!&WQdO1G2SOOQO1G2W1G2WOOQO1G2S1G2SO%.jQaO'#GSOOQO1G2X1G2XOOQSAN@oAN@oOOOQ<UQaO<W,5>WO%6wQ`O,5>WOOQO-E;j-E;jO%6|Q`O1G4nOOQSG26OG26OO$+qQpOG26OO0aQ`OG26OO%7UQdOG26YO*kQaOG26YOOQO7+'p7+'pO!&WQdO7+'pO!&WQdO7+'nOOQO7+'r7+'rOOQO7+'n7+'nO%7fQ`OLD+tO%8uQ`O'#E}O%9PQ`O'#IZO!&WQdO'#HrO%:|QaO,5^,5>^OOQP-E;p-E;pOOQO1G2Y1G2YOOQ#uLD,bLD,bOOQTG27RG27RO!&WQdOLD,xO!&WQdO<wO&EPQdO1G0cO#.YQaO1G0cO&F{QdO1G1YO&HwQdO1G1[O#.YQaO1G1|O#.YQaO7+%sO&JsQdO7+%sO&LoQdO7+%}O#.YQaO7+'hO&NkQdO7+'hO'!gQdO<lQdO,5>wO(@nQdO1G0cO'.QQaO1G0cO(BpQdO1G1YO(DrQdO1G1[O'.QQaO1G1|O'.QQaO7+%sO(FtQdO7+%sO(HvQdO7+%}O'.QQaO7+'hO(JxQdO7+'hO(LzQdO<wO*1sQaO'#HdO*2TQ`O,5>vO*2]QdO1G0cO9yQaO1G0cO*4XQdO1G1YO*6TQdO1G1[O9yQaO1G1|O>UQaO'#HwO*8PQ`O,5=[O*8XQaO'#HbO*8cQ`O,5>tO9yQaO7+%sO*8kQdO7+%sO*:gQ`O1G0iO>UQaO1G0iO*;|QdO7+%}O9yQaO7+'hO*=xQdO7+'hO*?tQ`O,5>cO*AZQ`O,5=|O*BpQdO<UQaO'#FeO>UQaO'#FfO>UQaO'#FgO>UQaO'#FhO>UQaO'#FhO>UQaO'#FkO+'XQaO'#FwO>UQaO'#GVO>UQaO'#GYO+'`QaO,5:mO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO+'gQ`O'#I]O$8YQaO'#EaO+)PQaOG26YO$8YQaO'#I]O+*{Q`O'#I[O++TQaO,5:wO>UQaO,5;nO>UQaO,5;pO++[Q`O,5UQaO1G0XO+9hQ`O1G1]O+;TQ`O1G1]O+]Q`O1G1]O+?xQ`O1G1]O+AeQ`O1G1]O+CQQ`O1G1]O+DmQ`O1G1]O+FYQ`O1G1]O+GuQ`O1G1]O+IbQ`O1G1]O+J}Q`O1G1]O+LjQ`O1G1]O+NVQ`O1G1]O, rQ`O1G1]O,#_Q`O1G0cO>UQaO1G0cO,$zQ`O1G1YO,&gQ`O1G1[O,(SQ`O1G1|O>UQaO1G1|O>UQaO7+%sO,([Q`O7+%sO,)wQ`O7+%}O>UQaO7+'hO,+dQ`O7+'hO,+lQ`O7+'hO,-XQpO7+'hO,-aQ`O<UQaO<UQaOAN@nO,0qQ`OAN@nO,2^QpOAN@nO,2fQ`OG26YO>UQaOG26YO,4RQ`OLD+tO,5nQaO,5:}O>UQaO1G0iO,5uQ`O'#I]O$8YQaO'#FeO$8YQaO'#FfO$8YQaO'#FgO$8YQaO'#FhO$8YQaO'#FhO+)PQaO'#FhO$8YQaO'#FkO,6SQaO'#FwO,6ZQaO'#FwO$8YQaO'#GVO+)PQaO'#GVO$8YQaO'#GYO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO,8YQ`O'#FlO>UQaO'#EaO>UQaO'#I]O,8bQaO,5:wO,8iQaO,5:wO$8YQaO,5;nO+)PQaO,5;nO$8YQaO,5;pO,:hQ`O,5wO-IcQ`O1G0cO-KOQ`O1G0cO$8YQaO1G0cO+)PQaO1G0cO-L_Q`O1G1YO-MzQ`O1G1YO. ZQ`O1G1[O$8YQaO1G1|O$8YQaO7+%sO+)PQaO7+%sO.!vQ`O7+%sO.$cQ`O7+%sO.%rQ`O7+%}O.'_Q`O7+%}O$8YQaO7+'hO.(nQ`O7+'hO.*ZQ`O<fQ`O,5>wO.@RQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO.@ZQ`O7+'hO.@cQpO7+'hO.@kQpO<UO#X&PO~P>UO!o&SO!s&RO#b&RO~OPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s&VO!y[O#U&WO#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!x'SP~PAOO!s&[O#b&[O~OT#TOz#RO!S#UO!b#VO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO~O!x&nO~PCqO!x'VX!}'VX#O'VX#X'VX!n'VXV'VX!q'VX#u'VX#w'VXw'VX~P&sO!y$hO#S&oO~Oo$mOs$lO~O!o&pO~O!}&sO#S;dO#U;cO!x'OP~P9yOT6iOz6gO!S6jO!b6kO!o!{O!v8sO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'PX#X'PX~O#O&tO~PGSO!}&wO#X'OX~O#X&yO~O!}'OO!x'QP~P9yO!n'PO~PCqO!m#oa!o#oa#S#oa#p#qX&s#oa!x#oa#O#oaw#oa~OT#oaz#oa!S#oa!b#oa!v#oa!y#oa#W#oa#`#oa#a#oa#s#oa#z#oa#{#oa#|#oa#}#oa$O#oa$Q#oa$R#oa$S#oa$T#oa$U#oa$V#oa$W#oa$z#oa!}#oa#X#oa!n#oaV#oa!q#oa#u#oa#w#oa~PIpO!s'RO~O!x'UO#l'SO~O!x'VX#l'VX#p#qX#S'VX#U'VX#b'VX!o'VX#O'VXw'VX!m'VX&s'VX~O#S'YO~P*kO!m$Xa&s$Xa!x$Xa!n$Xa~PCqO!m$Ya&s$Ya!x$Ya!n$Ya~PCqO!m$Za&s$Za!x$Za!n$Za~PCqO!m$[a&s$[a!x$[a!n$[a~PCqO!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO$z#dOT$[a!S$[a!b$[a!m$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a&s$[a!x$[a!n$[a~Oz#RO~PNyO!m$_a&s$_a!x$_a!n$_a~PCqO!y!}O!}$fX#X$fX~O!}'^O#X'ZX~O#X'`O~O!s$kO#S'aO~O]'cO~O!s'eO~O!s'fO~O$l'gO~O!`'mO#S'kO#U'lO#b'jO$drO!x'XP~P0aO!^'sO!oXO!q'rO~O!s'uO!y$hO~O!y$hO#S'wO~O!y$hO#S'yO~O#u'zO!m$sX!}$sX&s$sX~O!}'{O!m'bX&s'bX~O!m#cO&s#cO~O!q(PO#O(OO~O!m$ka&s$ka!x$ka!n$ka~PCqOl(ROw(SO!o(TO!y!}O~O!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO~OT$yaz$ya!S$ya!b$ya!m$ya!v$ya#S$ya#z$ya#{$ya#|$ya#}$ya$O$ya$Q$ya$R$ya$S$ya$T$ya$U$ya$V$ya$W$ya$z$ya&s$ya!x$ya!}$ya#O$ya#X$ya!n$ya!q$yaV$ya#u$ya#w$ya~P!'WO!m$|a&s$|a!x$|a!n$|a~PCqO#W([O#`(YO#a(YO&r(ZOR&gX!o&gX#b&gX#e&gX&q&gX'f&gX~O'f(_O~P8lO!q(`O~PhO!o(cO!q(dO~O!q(`O&s(gO~PhO!a(kO~O!m(lO~P9yOZ(wOn(xO~O!s(zO~OT6iOz6gO!S6jO!b6kO!v8sO!}({O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'jX&s'jX~P!'WO#u)PO~O!})QO!m'`X&s'`X~Ol(RO!o(TO~Ow(SO!o)WO!q)ZO~O!m#cO!oXO&s#cO~O!o%pO!s#yO~OV)aO!})_O!m'kX&s'kX~O])cOs)cO!s#gO#peO~O!o%pO!s#gO#p)hO~OT6iOz6gO!S6jO!b6kO!v8sO!})iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&|X&s&|X#O&|X~P!'WOl(ROw(SO!o(TO~O!i)oO&t)oO~OT8vOz8tO!S8wO!b8xO!q)pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#X)rO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!n)rO~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'TX!}'TX~P!'WOT'VXz'VX!S'VX!b'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX~O!q)tO!x'VX!}'VX~P!5xO!x#iX!}#iX~P>UO!})vO!x'SX~O!x)xO~O$z#dOT#yiz#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi$W#yi&s#yi!x#yi!}#yi#O#yi#X#yi!n#yi!q#yiV#yi#u#yi#w#yi~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi&s#yi!x#yi!n#yi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!b#VO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi~P!'WOz#RO$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi~P!'WO_)yO~P9yO!x)|O~O#S*PO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Ta#X#Ta#O#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'Pa#X'Pa#O'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WO#S#oO#U#nO!}&WX#X&WX~P9yO!}&wO#X'Oa~O#X*SO~OT6iOz6gO!S6jO!b6kO!v8sO!}*UO#O*TO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'QX~P!'WO!}*UO!x'QX~O!x*WO~O!m#oi!o#oi#S#oi#p#qX&s#oi!x#oi#O#oiw#oi~OT#oiz#oi!S#oi!b#oi!v#oi!y#oi#W#oi#`#oi#a#oi#s#oi#z#oi#{#oi#|#oi#}#oi$O#oi$Q#oi$R#oi$S#oi$T#oi$U#oi$V#oi$W#oi$z#oi!}#oi#X#oi!n#oiV#oi!q#oi#u#oi#w#oi~P#*zO#l'SO!x#ka#S#ka#U#ka#b#ka!o#ka#O#kaw#ka!m#ka&s#ka~OPgOQ|OU^OW}O[4OOo5xOs#hOx3zOy3zO}`O!O]O!Q2^O!R}O!T4UO!U3|O!V3|O!Y2`O!c3xO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4SO$]4QO$^4SO$aqO$z2_O${!OO$}}O%O}O%V|O'g{O~O#l#oa#U#oa#b#oa~PIpOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pi!S#Pi!b#Pi!m#Pi&s#Pi!x#Pi!n#Pi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#vi!S#vi!b#vi!m#vi&s#vi!x#vi!n#vi~P!'WO!m#xi&s#xi!x#xi!n#xi~PCqO!s#gO#peO!}&^X#X&^X~O!}'^O#X'Za~O!s'uO~Ow(SO!o)WO!q*fO~O!s*jO~O#S*lO#U*mO#b*kO#l'SO~O#S*lO#U*mO#b*kO$drO~P0aO#u*oO!x$cX!}$cX~O#U*mO#b*kO~O#b*pO~O#b*rO~P0aO!}*sO!x'XX~O!x*uO~O!y*wO~O!^*{O!oXO!q*zO~O!q*}O!o'ci!m'ci&s'ci~O!q+QO#O+PO~O#b$nO!m&eX!}&eX&s&eX~O!}'{O!m'ba&s'ba~OT$kiz$ki!S$ki!b$ki!m$ki!o$ki!v$ki!y$ki#S$ki#W$ki#`$ki#a$ki#s$ki#u#fa#w#fa#z$ki#{$ki#|$ki#}$ki$O$ki$Q$ki$R$ki$S$ki$T$ki$U$ki$V$ki$W$ki$z$ki&s$ki!x$ki!}$ki#O$ki#X$ki!n$ki!q$kiV$ki~OS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n+hO#b$nO$aqO$drO~P0aO!s+lO~O#W+nO#`+mO#a+mO~O!s+pO#b+pO$}+pO%T+oO~O!n+qO~PCqOc%XXd%XXh%XXj%XXf%XXg%XXe%XX~PhOc+uOd+sOP%WiQ%WiS%WiU%WiW%WiX%Wi[%Wi]%Wi^%Wi`%Wia%Wib%Wik%Wim%Wio%Wip%Wiq%Wis%Wit%Wiu%Wiv%Wix%Wiy%Wi|%Wi}%Wi!O%Wi!P%Wi!Q%Wi!R%Wi!T%Wi!U%Wi!V%Wi!W%Wi!X%Wi!Y%Wi!Z%Wi![%Wi!]%Wi!^%Wi!`%Wi!a%Wi!c%Wi!m%Wi!o%Wi!s%Wi!y%Wi#W%Wi#b%Wi#d%Wi#e%Wi#p%Wi$T%Wi$]%Wi$^%Wi$a%Wi$d%Wi$l%Wi$z%Wi${%Wi$}%Wi%O%Wi%V%Wi&p%Wi'g%Wi&t%Wi!n%Wih%Wij%Wif%Wig%WiY%Wi_%Wii%Wie%Wi~Oc+yOd+vOh+xO~OY+zO_+{O!n,OO~OY+zO_+{Oi%^X~Oi,QO~Oj,RO~O!m,TO~P9yO!m,VO~Of,WO~OT6iOV,XOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOg,YO~O!y,ZO~OZ(wOn(xOP%liQ%liS%liU%liW%liX%li[%li]%li^%li`%lia%lib%lik%lim%lio%lip%liq%lis%lit%liu%liv%lix%liy%li|%li}%li!O%li!P%li!Q%li!R%li!T%li!U%li!V%li!W%li!X%li!Y%li!Z%li![%li!]%li!^%li!`%li!a%li!c%li!m%li!o%li!s%li!y%li#W%li#b%li#d%li#e%li#p%li$T%li$]%li$^%li$a%li$d%li$l%li$z%li${%li$}%li%O%li%V%li&p%li'g%li&t%li!n%lic%lid%lih%lij%lif%lig%liY%li_%lii%lie%li~O#u,_O~O!}({O!m%da&s%da~O!x,bO~O!s%dO!m&dX!}&dX&s&dX~O!})QO!m'`a&s'`a~OS+^OY,iOm+^Os$aO!^+dO!_+^O!`+^O$aqO$drO~O!n,lO~P#JwO!o)WO~O!o%pO!s'RO~O!s#gO#peO!m&nX!}&nX&s&nX~O!})_O!m'ka&s'ka~O!s,rO~OV,sO!n%|X!}%|X~O!},uO!n'lX~O!n,wO~O!m&UX!}&UX&s&UX#O&UX~P9yO!})iO!m&|a&s&|a#O&|a~Oz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq&s!uq!x!uq!n!uq~P!'WO!n,|O~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#ia!}#ia~P!'WO!x&YX!}&YX~PAOO!})vO!x'Sa~O#O-QO~O!}-RO!n&{X~O!n-TO~O!x-UO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vi#X#Vi~P!'WO!x&XX!}&XX~P9yO!}*UO!x'Qa~O!x-[O~OT#jqz#jq!S#jq!b#jq!m#jq!v#jq#S#jq#u#jq#w#jq#z#jq#{#jq#|#jq#}#jq$O#jq$Q#jq$R#jq$S#jq$T#jq$U#jq$V#jq$W#jq$z#jq&s#jq!x#jq!}#jq#O#jq#X#jq!n#jq!q#jqV#jq~P!'WO#l#oi#U#oi#b#oi~P#*zOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pq!S#Pq!b#Pq!m#Pq&s#Pq!x#Pq!n#Pq~P!'WO#u-dO!x$ca!}$ca~O#U-fO#b-eO~O#b-gO~O#S-hO#U-fO#b-eO#l'SO~O#b-jO#l'SO~O#u-kO!x$ha!}$ha~O!`'mO#S'kO#U'lO#b'jO$drO!x&_X!}&_X~P0aO!}*sO!x'Xa~O!oXO#l'SO~O#S-pO#b-oO!x'[P~O!oXO!q-rO~O!q-uO!o'cq!m'cq&s'cq~O!^-wO!oXO!q-rO~O!q-{O#O-zO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$si!}$si&s$si~P!'WO!m$jq&s$jq!x$jq!n$jq~PCqO#O-zO#l'SO~O!}-|Ow']X!o']X!m']X&s']X~O#b$nO#l'SO~OS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO$drO~P0aOS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO~P0aOS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n.ZO#b$nO$aqO$drO~P0aO!s.^O~O!s._O#b._O$}._O%T+oO~O$}.`O~O#X.aO~Oc%Xad%Xah%Xaj%Xaf%Xag%Xae%Xa~PhOc.dOd+sOP%WqQ%WqS%WqU%WqW%WqX%Wq[%Wq]%Wq^%Wq`%Wqa%Wqb%Wqk%Wqm%Wqo%Wqp%Wqq%Wqs%Wqt%Wqu%Wqv%Wqx%Wqy%Wq|%Wq}%Wq!O%Wq!P%Wq!Q%Wq!R%Wq!T%Wq!U%Wq!V%Wq!W%Wq!X%Wq!Y%Wq!Z%Wq![%Wq!]%Wq!^%Wq!`%Wq!a%Wq!c%Wq!m%Wq!o%Wq!s%Wq!y%Wq#W%Wq#b%Wq#d%Wq#e%Wq#p%Wq$T%Wq$]%Wq$^%Wq$a%Wq$d%Wq$l%Wq$z%Wq${%Wq$}%Wq%O%Wq%V%Wq&p%Wq'g%Wq&t%Wq!n%Wqh%Wqj%Wqf%Wqg%WqY%Wq_%Wqi%Wqe%Wq~Oc.iOd+vOh.hO~O!q(`O~OP6]OQ|OU^OW}O[:fOo>ROs#hOx:dOy:dO}`O!O]O!Q:kO!R}O!T:jO!U:eO!V:eO!Y:oO!c8gO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:hO$]:gO$^:hO$aqO$z:mO${!OO$}}O%O}O%V|O'g{O~O!m.lO!q.lO~OY+zO_+{O!n.nO~OY+zO_+{Oi%^a~O!x.rO~P>UO!m.tO~O!m.tO~P9yOQ|OW}O!R}O$}}O%O}O%V|O'g{O~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&ka!}&ka&s&ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$qi!}$qi&s$qi~P!'WOS+^Om+^Os$aO!_+^O!`+^O$aqO$drO~OY/PO~P$?VOS+^Om+^Os$aO!_+^O!`+^O$aqO~O!s/QO~O!n/SO~P#JwOw(SO!o)WO#l'SO~OV/VO!m&na!}&na&s&na~O!})_O!m'ki&s'ki~O!s/XO~OV/YO!n%|a!}%|a~O]/[Os/[O!s#gO#peO!n&oX!}&oX~O!},uO!n'la~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&Ua!}&Ua&s&Ua#O&Ua~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy&s!uy!x!uy!n!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#hi!}#hi~P!'WO_)yO!n&VX!}&VX~P9yO!}-RO!n&{a~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vq#X#Vq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#[i!}#[i~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O/cO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x&Xa!}&Xa~P!'WO#u/iO!x$ci!}$ci~O#b/jO~O#U/lO#b/kO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$ci!}$ci~P!'WO#u/mO!x$hi!}$hi~O!}/oO!x'[X~O#b/qO~O!x/rO~O!oXO!q/uO~O#l'SO!o'cy!m'cy&s'cy~O!m$jy&s$jy!x$jy!n$jy~PCqO#O/xO#l'SO~O!s#gO#peOw&aX!o&aX!}&aX!m&aX&s&aX~O!}-|Ow']a!o']a!m']a&s']a~OU$PO]0QO!R$PO!s$OO!v#}O#b$nO#p2XO~P$?uO!m#cO!o0VO&s#cO~O#X0YO~Oh0_O~OT:tOz:pO!S:vO!b:xO!m0`O!q0`O!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO~P!'WOY%]a_%]a!n%]ai%]a~PhO!x0bO~O!x0bO~P>UO!m0dO~OT6iOz6gO!S6jO!b6kO!v8sO!x0fO#O0eO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WO!x0fO~O!x0gO#b0hO#l'SO~O!x0iO~O!s0jO~O!m#cO#u0lO&s#cO~O!s0mO~O!})_O!m'kq&s'kq~O!s0nO~OV0oO!n%}X!}%}X~OT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!n!|i!}!|i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cq!}$cq~P!'WO#u0vO!x$cq!}$cq~O#b0wO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hq!}$hq~P!'WO#S0zO#b0yO!x&`X!}&`X~O!}/oO!x'[a~O#l'SO!o'c!R!m'c!R&s'c!R~O!oXO!q1PO~O!m$j!R&s$j!R!x$j!R!n$j!R~PCqO#O1RO#l'SO~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1^O!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOh1_O~OY%[i_%[i!n%[ii%[i~PhOY%]i_%]i!n%]ii%]i~PhO!x1bO~O!x1bO~P>UO!x1eO~O!m#cO#u1iO&s#cO~O$}1jO%V1jO~O!s1kO~OV1lO!n%}a!}%}a~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#]i!}#]i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cy!}$cy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hy!}$hy~P!'WO#b1nO~O!}/oO!x'[i~O!m$j!Z&s$j!Z!x$j!Z!n$j!Z~PCqOT:uOz:qO!S:wO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO~P!'WOV1uO{1tO~P!5xOV1uO{1tOT&}Xz&}X!S&}X!b&}X!o&}X!v&}X!y&}X#S&}X#W&}X#`&}X#a&}X#s&}X#u&}X#w&}X#z&}X#{&}X#|&}X#}&}X$O&}X$Q&}X$R&}X$S&}X$T&}X$U&}X$V&}X$W&}X$z&}X~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1xO!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOY%[q_%[q!n%[qi%[q~PhO!x1zO~O!x%gi~PCqOe1{O~O$}1|O%V1|O~O!s2OO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$c!R!}$c!R~P!'WO!m$j!c&s$j!c!x$j!c!n$j!c~PCqO!s2QO~O!`2SO!s2RO~O!s2VO!m$xi&s$xi~O!s'WO~O!s*]O~OT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$ka#u$ka#w$ka&s$ka!x$ka!n$ka!q$ka#X$ka!}$ka~P!'WO#S2]O~P*kO$l$tO~P#.YOT6iOz6gO!S6jO!b6kO!v8sO#O2[O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX&s'PX!x'PX!n'PX~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O3uO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'PX#X'PX#u'PX#w'PX!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~P!'WO#S3dO~P#.YOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Xa#u$Xa#w$Xa&s$Xa!x$Xa!n$Xa!q$Xa#X$Xa!}$Xa~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Ya#u$Ya#w$Ya&s$Ya!x$Ya!n$Ya!q$Ya#X$Ya!}$Ya~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Za#u$Za#w$Za&s$Za!x$Za!n$Za!q$Za#X$Za!}$Za~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$[a#u$[a#w$[a&s$[a!x$[a!n$[a!q$[a#X$[a!}$[a~P!'WOz2aO#u$[a#w$[a!q$[a#X$[a!}$[a~PNyOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$_a#u$_a#w$_a&s$_a!x$_a!n$_a!q$_a#X$_a!}$_a~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$|a#u$|a#w$|a&s$|a!x$|a!n$|a!q$|a#X$|a!}$|a~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#Ta#u#Ta#w#Ta&s#Ta!x#Ta!n#Ta!q#Ta#X#Ta!}#Ta~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m'Pa#u'Pa#w'Pa&s'Pa!x'Pa!n'Pa!q'Pa#X'Pa!}'Pa~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pi!S#Pi!b#Pi!m#Pi#u#Pi#w#Pi&s#Pi!x#Pi!n#Pi!q#Pi#X#Pi!}#Pi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#vi!S#vi!b#vi!m#vi#u#vi#w#vi&s#vi!x#vi!n#vi!q#vi#X#vi!}#vi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#xi#u#xi#w#xi&s#xi!x#xi!n#xi!q#xi#X#xi!}#xi~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq#u!uq#w!uq&s!uq!x!uq!n!uq!q!uq#X!uq!}!uq~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pq!S#Pq!b#Pq!m#Pq#u#Pq#w#Pq&s#Pq!x#Pq!n#Pq!q#Pq#X#Pq!}#Pq~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jq#u$jq#w$jq&s$jq!x$jq!n$jq!q$jq#X$jq!}$jq~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy#u!uy#w!uy&s!uy!x!uy!n!uy!q!uy#X!uy!}!uy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jy#u$jy#w$jy&s$jy!x$jy!n$jy!q$jy#X$jy!}$jy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!R#u$j!R#w$j!R&s$j!R!x$j!R!n$j!R!q$j!R#X$j!R!}$j!R~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!Z#u$j!Z#w$j!Z&s$j!Z!x$j!Z!n$j!Z!q$j!Z#X$j!Z!}$j!Z~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!c#u$j!c#w$j!c&s$j!c!x$j!c!n$j!c!q$j!c#X$j!c!}$j!c~P!'WOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S3vO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lO#u2uO#w2vO!q&zX#X&zX!}&zX~P0rOP6]OU^O[4POo8^Or2wOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S2tO#U2sO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX!q#xX#X#xX!}#xX~P$;lOP6]OU^O[4POo8^Or4xOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S4uO#U4tO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!o#xX!v#xX!}#xX#O#xX#X#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!m#xX&s#xX!x#xX!n#xXV#xX!q#xX~P$;lO!q3PO~P>UO!q5}O#O3gO~OT8vOz8tO!S8wO!b8xO!q3hO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q6OO#O3kO~O!q6PO#O3oO~O#O3oO#l'SO~O#O3pO#l'SO~O#O3sO#l'SO~OP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$l$tO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S5eO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Xa#O$Xa#X$Xa#u$Xa#w$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Ya#O$Ya#X$Ya#u$Ya#w$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Za#O$Za#X$Za#u$Za#w$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$[a#O$[a#X$[a#u$[a#w$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz4dO!}$[a#O$[a#X$[a#u$[a#w$[aV$[a!q$[a~PNyOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$_a#O$_a#X$_a#u$_a#w$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$|a#O$|a#X$|a#u$|a#w$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#Ta#O#Ta#X#Ta#u#Ta#w#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'Pa#O'Pa#X'Pa#u'Pa#w'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi#u#Pi#w#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi#u#vi#w#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#xi#O#xi#X#xi#u#xi#w#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq#u!uq#w!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq#u#Pq#w#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jq#O$jq#X$jq#u$jq#w$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy#u!uy#w!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jy#O$jy#X$jy#u$jy#w$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!R#O$j!R#X$j!R#u$j!R#w$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!Z#O$j!Z#X$j!Z#u$j!Z#w$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!c#O$j!c#X$j!c#u$j!c#w$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S5wO~P#.YO!y$hO#S5{O~O!x4ZO#l'SO~O!y$hO#S5|O~OT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$ka#O$ka#X$ka#u$ka#w$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O5vO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!m'PX#u'PX#w'PX&s'PX!x'PX!n'PX!q'PX#X'PX!}'PX~P!'WO#u4vO#w4wO!}&zX#O&zX#X&zXV&zX!q&zX~P0rO!q5QO~P>UO!q8bO#O5hO~OT8vOz8tO!S8wO!b8xO!q5iO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q8cO#O5lO~O!q8dO#O5pO~O#O5pO#l'SO~O#O5qO#l'SO~O#O5tO#l'SO~O$l$tO~P9yOo5zOs$lO~O#S7oO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Xa#O$Xa#X$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Ya#O$Ya#X$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Za#O$Za#X$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$[a#O$[a#X$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz6gO!}$[a#O$[a#X$[aV$[a!q$[a~PNyOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$_a#O$_a#X$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$ka#O$ka#X$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$|a#O$|a#X$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7sO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'jX~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7uO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&|X~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WO#S7zO~P>UO!m#Ta&s#Ta!x#Ta!n#Ta~PCqO!m'Pa&s'Pa!x'Pa!n'Pa~PCqO#S;dO#U;cO!x&WX!}&WX~P9yO!}7lO!x'Oa~Oz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#xi#O#xi#X#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WO!}7sO!x%da~O!x&UX!}&UX~P>UO!}7uO!x&|a~Oz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vi!}#Vi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jq#O$jq#X$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&ka!}&ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&Ua!}&Ua~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vq!}#Vq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jy#O$jy#X$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!R#O$j!R#X$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!Z#O$j!Z#X$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!c#O$j!c#X$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S8[O~P9yO#O8ZO!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~PGSO!y$hO#S8`O~O!y$hO#S8aO~O#u6zO#w6{O!}&zX#O&zX#X&zXV&zX!q&zX~P0rOr6|O#S#oO#U#nO!}#xX#O#xX#X#xXV#xX!q#xX~P2yOr;iO#S9XO#U9VOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!n#xX!}#xX~P9yOr9WO#S9WO#U9WOT#xXz#xX!S#xX!b#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX~P9yOr9]O#S;dO#U;cOT#xXz#xX!S#xX!b#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX#X#xX!x#xX!}#xX~P9yO$l$tO~P>UO!q7XO~P>UOT6iOz6gO!S6jO!b6kO!v8sO#O7iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'PX!}'PX~P!'WOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lO!}7lO!x'OX~O#S9yO~P>UOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Xa#X$Xa!x$Xa!}$Xa~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Ya#X$Ya!x$Ya!}$Ya~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Za#X$Za!x$Za!}$Za~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$[a#X$[a!x$[a!}$[a~P!'WOz8tO$z#dOT$[a!S$[a!b$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a#X$[a!x$[a!}$[a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$_a#X$_a!x$_a!}$_a~P!'WO!q=dO#O7rO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$ka#X$ka!x$ka!}$ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$|a#X$|a!x$|a!}$|a~P!'WOT8vOz8tO!S8wO!b8xO!q7wO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi#X#yi!x#yi!}#yi~P!'WOz8tO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pi!S#Pi!b#Pi!q#Pi#X#Pi!x#Pi!}#Pi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#vi!S#vi!b#vi!q#vi#X#vi!x#vi!}#vi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q#xi#X#xi!x#xi!}#xi~P!'WO!q=eO#O7|O~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uq!S!uq!b!uq!q!uq!v!uq#X!uq!x!uq!}!uq~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pq!S#Pq!b#Pq!q#Pq#X#Pq!x#Pq!}#Pq~P!'WO!q=iO#O8TO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jq#X$jq!x$jq!}$jq~P!'WO#O8TO#l'SO~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uy!S!uy!b!uy!q!uy!v!uy#X!uy!x!uy!}!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jy#X$jy!x$jy!}$jy~P!'WO#O8UO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!R#X$j!R!x$j!R!}$j!R~P!'WO#O8XO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!Z#X$j!Z!x$j!Z!}$j!Z~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!c#X$j!c!x$j!c!}$j!c~P!'WO#S:bO~P>UO#O:aO!q'PX!x'PX~PGSO$l$tO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$l$tO$z:nO${!OO~P$;lOo8_Os$lO~O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S=UO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT6iOz6gO!S6jO!b6kO!v8sO#O=SO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O=RO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX!q'PX!n'PX!}'PX~P!'WOT&zXz&zX!S&zX!b&zX!o&zX!q&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX!}&zX~O#u9ZO#w9[O#X&zX!x&zX~P.8oO!y$hO#S=^O~O!q9hO~P>UO!y$hO#S=cO~O!q>OO#O9}O~OT8vOz8tO!S8wO!b8xO!q:OO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#Ta!q#Ta!n#Ta!}#Ta~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m'Pa!q'Pa!n'Pa!}'Pa~P!'WO!q>PO#O:RO~O!q>QO#O:YO~O#O:YO#l'SO~O#O:ZO#l'SO~O#O:_O#l'SO~O#u;eO#w;gO!m&zX!n&zX~P.8oO#u;fO#w;hOT&zXz&zX!S&zX!b&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX~O!q;tO~P>UO!q;uO~P>UO!q>XO#OYO#O9WO~OT8vOz8tO!S8wO!b8xO!qZO#O[O#O<{O~O#O<{O#l'SO~O#O9WO#l'SO~O#O<|O#l'SO~O#O=PO#l'SO~O!y$hO#S=|O~Oo=[Os$lO~O!y$hO#S=}O~O!y$hO#S>UO~O!y$hO#S>VO~O!y$hO#S>WO~Oo={Os$lO~Oo>TOs$lO~Oo>SOs$lO~O%O$U$}$d!d$V#b%V#e'g!s#d~",goto:"%&y'mPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'nP'uPP'{(OPPP(hP(OP(O*ZP*ZPP2W:j:mPP*Z:sBpPBsPBsPP:sCSCVCZ:s:sPPPC^PP:sK^!$S!$S:s!$WP!$W!$W!%UP!.]!7pP!?oP*ZP*Z*ZPPPPP!?rPPPPPPP*Z*Z*Z*ZPP*Z*ZP!E]!GRP!GV!Gy!GR!GR!HP*Z*ZP!HY!Hl!Ib!J`!Jd!J`!Jo!J}!J}!KV!KY!KY*ZPP*ZPP!K^#%[#%[#%`P#%fP(O#%j(O#&S#&V#&V#&](O#&`(O(O#&f#&i(O#&r#&u(O(O(O(O(O#&x(O(O(O(O(O(O(O(O(O#&{!KR(O(O#'_#'o#'r(O(OP#'u#'|#(S#(o#(y#)P#)Z#)b#)h#*d#4X#5T#5Z#5a#5k#5q#5w#6]#6c#6i#6o#6u#6{#7R#7]#7g#7m#7s#7}PPPPPPPP#8T#8X#8}#NO#NR#N]$(f$(r$)X$)_$)b$)e$)k$,X$5v$>_$>b$>h$>k$>n$>w$>{$?X$?k$Bk$CO$C{$K{PP%%y%%}%&Z%&p%&vQ!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a|!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ%^!ZQ%g!aQ%l!eQ'd$dQ'q$iQ)[%kQ*y'tQ,](xU-n*v*x+OQ.W+cQ.{,[S/t-s-tQ0T.SS0}/s/wQ1V0RQ1o1OR2P1p0u!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3ZfPVX[_bgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#}$R$S$U$h$y$}%P%R%S%T%U%c%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)_)c)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3scPVX[_bdegjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#{#}$R$S$U$h$y$}%P%R%S%T%U%c%m%n%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)^)_)c)g)h)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u,x-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2W2X2Y2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[0phPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0`0a0d0e0i0v1R1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uRS=p>S>VS=s>T>UR=t>WT'n$h*s!csPVXt!S!j!r!s!w$h$}%P%S%U'i(T(`)W*s+]+g+r+u,g,k.b.d.l0`0a0i1aQ$^rR*`'^Q*x'sQ-t*{R/w-wQ(W$tQ)U%hQ)n%vQ*i'fQ+k(XR-c*jQ(V$tQ)Y%jQ)m%vQ*e'eS*h'f)nS+j(W(XS-b*i*jQ.]+kQ/T,mQ/e-`R/g-cQ(U$tQ)T%hQ)V%iQ)l%vU*g'f)m)nU+i(V(W(XQ,f)UU-a*h*i*jS.[+j+kS/f-b-cQ0X.]R0t/gT+e(T+g[%e!_$b'c+a.R0QR,d)Qb$ov(T+[+]+`+g.P.Q0PR+T'{S+e(T+gT,j)W,kR0W.XT1[0V1]0w|PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[R2Y2X|tPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aW$`t'i+],gS'i$h*sS+](T+gT,g)W,kQ'_$^R*a'_Q*t'oR-m*tQ/p-oS0{/p0|R0|/qQ-}+XR/|-}Q+g(TR.Y+gS+`(T+gS,h)W,kQ.Q+]W.T+`,h.Q/OR/O,gQ)R%eR,e)RQ'|$oR+U'|Q1]0VR1w1]Q${{R(^${Q+t(aR.c+tQ+w(bR.g+wQ+}(cQ,P(dT.m+},PQ(|%`S,a(|7tR7t7VQ(y%^R,^(yQ,k)WR/R,kQ)`%oS,q)`/WR/W,rQ,v)dR/^,vT!uV!rj!iPVX!j!r!s!w(`+r.l0`0a1aQ%Q!SQ(a$}W(h%P%S%U0iQ.e+uQ0Z.bR0[.d|ZPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ#f[U#m_#s&wQ#wbQ$VkQ$WlQ$XmQ$YnQ$ZoQ$[pQ$sx^$uy2_4b6e8q:m:nQ$vzQ%W!WQ%Y!XQ%[!YW%`!]%R(l,VU%s!g&p-RQ%|!yQ&O!zQ&Q!{S&U!})v^&^#R2a4d6g8t:p:qQ&_#SQ&`#TQ&a#UQ&b#VQ&c#WQ&d#XQ&e#YQ&f#ZQ&g#[Q&h#]Q&i#^Q&j#_Q&k#`Q&l#aQ&m#bQ&u#nQ&v#oS&{#t'OQ'X$RQ'Z$SQ'[$UQ(]$yQ(p%TQ)q%}Q)s&SQ)u&WQ*O&tS*['U4ZQ*^'Y^*_2[3u5v8Z:a=R=SQ+S'zQ+V(OQ,`({Q,c)PQ,y)iQ,{)pQ,})tQ-V*PQ-W*TQ-X*U^-]2]3v5w8[:b=T=UQ-i*oQ-x+PQ.k+zQ.w,XQ/`-QQ/h-dQ/n-kQ/y-zQ0r/cQ0u/iQ0x/mQ1Q/xU1X0V1]9WQ1d0eQ1m0vQ1q1RQ2Z2^Q2qjQ2r3yQ2x3zQ2y3|Q2z4OQ2{4QQ2|4SQ2}4UQ3O2`Q3Q2bQ3R2cQ3S2dQ3T2eQ3U2fQ3V2gQ3W2hQ3X2iQ3Y2jQ3Z2kQ3[2lQ3]2mQ3^2nQ3_2oQ3`2pQ3a2sQ3b2tQ3c2uQ3e2vQ3f2wQ3i3PQ3j3dQ3l3gQ3m3hQ3n3kQ3q3oQ3r3pQ3t3sQ4Y4WQ4y3{Q4z3}Q4{4PQ4|4RQ4}4TQ5O4VQ5P4cQ5R4eQ5S4fQ5T4gQ5U4hQ5V4iQ5W4jQ5X4kQ5Y4lQ5Z4mQ5[4nQ5]4oQ5^4pQ5_4qQ5`4rQ5a4sQ5b4tQ5c4uQ5d4vQ5f4wQ5g4xQ5j5QQ5k5eQ5m5hQ5n5iQ5o5lQ5r5pQ5s5qQ5u5tQ6Q4aQ6R3xQ6V6TQ6}6^Q7O6_Q7P6`Q7Q6aQ7R6bQ7S6cQ7T6dQ7U6fU7V,T.t0dQ7W%cQ7Y6hQ7Z6iQ7[6jQ7]6kQ7^6lQ7_6mQ7`6nQ7a6oQ7b6pQ7c6qQ7d6rQ7e6sQ7f6tQ7g6uQ7h6vQ7j6xQ7k6yQ7n6zQ7p6{Q7q6|Q7x7XQ7y7iQ7{7oQ7}7rQ8O7sQ8P7uQ8Q7wQ8R7zQ8S7|Q8V8TQ8W8UQ8Y8XQ8]8fU9U#k&s7lQ9^8jQ9_8kQ9`8lQ9a8mQ9b8nQ9c8oQ9e8pQ9f8rQ9g8sQ9i8uQ9j8vQ9k8wQ9l8xQ9m8yQ9n8zQ9o8{Q9p8|Q9q8}Q9r9OQ9s9PQ9t9QQ9u9RQ9v9SQ9w9TQ9x9ZQ9z9[Q9{9]Q:P9hQ:Q9yQ:T9}Q:V:OQ:W:RQ:[:YQ:^:ZQ:`:_Q:c8iQ;j:dQ;k:eQ;l:fQ;m:gQ;n:hQ;o:iQ;p:jQ;q:kQ;r:lQ;s:oQ;v:rQ;w:sQ;x:tQ;y:uQ;z:vQ;{:wQ;|:xQ;}:yQOQ=h>PQ=j>QQ=u>XQ=v>YQ=w>ZR=x>[0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[S$]r'^Q%k!eS%o!f%rQ)b%pU+X(R(S+dQ,p)_Q,t)cQ/Z,uQ/{-|R0p/[|vPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a#U#i[bklmnopxyz!W!X!Y!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y%}&S'Y(O)p+P-z/x0e1R2[2]6x6yd+^(T)W+]+`+g,g,h,k.Q/O!t6w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,66,67,70,191,""],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[LO],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9W!e!}!7z!}#O!;^#O#P!;z#P#Q!V<%lO8VR9WV&wP%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%VQQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV&wP%VQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW&wPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!yQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!xU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY&wP$VQOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$WQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$TQ&wPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V$zQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV!}Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$TQ%TW&wPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#`U&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo[&wP$UQOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX&wPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#UU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_&wP%OQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]&wPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X&wPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ&wP%OQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX&wPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVK[[&wP$VQOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVLVX&wPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQVLwT&wPOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMWUNXO!eUUN[P;=`<%lMWVNdZ&wPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQV! ^V!eU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%fV!!lP;=`<%lLQZ!!vm&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX&wPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY&wPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k[&wP$}YOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX&wPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ&wP$}YOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]&wPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_&wP$}YOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!qQ&wPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#sQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!mU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$RQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$SQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!iP!_!`!0k!r!s!0p#d#e!0pP!0pO!iPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0kV!1ZX#uQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#OU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!3{[!vQ&wPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#aU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!6WV!gU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW#zQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$]Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ra&wP!s^OY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9_e&wP!s^OY$zYZ%fZr$zrs!:psw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:wV&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;eV#WU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!mZ!^!=u!^!_!@u!_#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%lO!=uR!>rV&wPO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?[VO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?tRO;'S!?X;'S;=`!?};=`O!?XQ!@QWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!?X<%lO!?XQ!@oO${QQ!@rP;=`<%l!?XR!@x]OY!=uYZ!>mZ!a!=u!a!b!?X!b#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%l~!=u~O!=u~~%fR!AvW&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_;'S!=u;'S;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[EO,CO,NO,0,1,2,3,IO],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,Q)=>d(O)<<1,external:d},{term:81,get:O=>AO[O]||-1}],tokenPrec:29354}),KO=l.define({name:"php",parser:HO.configure({props:[x.add({IfStatement:W({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:W({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),y=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:y?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":R({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:W({except:/^({|end(for|foreach|switch|while)\b)/})}),V.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":r,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function O$(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let y=U({matchClosingTags:!1});Q.push(y.support),i=y.language}return new v(KO.configure({wrap:i&&u(y=>y.type.isTop?{parser:i.parser,overlay:z=>z.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{O$ as php,KO as phpLanguage}; diff --git a/public/admin/assets/index-Dr45hn1a.js b/public/admin/assets/index-wh-fAePm.js similarity index 92% rename from public/admin/assets/index-Dr45hn1a.js rename to public/admin/assets/index-wh-fAePm.js index 252a6b5..c1b031f 100644 --- a/public/admin/assets/index-Dr45hn1a.js +++ b/public/admin/assets/index-wh-fAePm.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s,t as r,b as n,L as o,i as P,c as a,f as i,k as Q,a as c}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const p=s({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,",":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),g=n.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[p],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),T=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=u(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function u(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const l=o.define({name:"json",parser:g.configure({props:[P.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":Q})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function f(){return new c(l)}export{f as json,l as jsonLanguage,T as jsonParseLinter}; +import{s,t as r,b as n,L as o,i as P,c as a,f as i,k as Q,a as c}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 p=s({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,",":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),g=n.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[p],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),T=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=u(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function u(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const l=o.define({name:"json",parser:g.configure({props:[P.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":Q})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function f(){return new c(l)}export{f as json,l as jsonLanguage,T as jsonParseLinter}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BIwcUHb8.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-B135yVzK.js similarity index 88% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-BIwcUHb8.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-B135yVzK.js index 53f21a8..eeb086a 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BIwcUHb8.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-B135yVzK.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import c from"./HKbd-Dkpr3OfM.js";import{d as p,u as l,g as e,c as a,i as t,z as r,b as m,w as _,h as d,t as g,A as u,ai as x,e as h,j as k}from"./index-DEc4xym2.js";const f={key:1,class:"group inline-flex cursor-pointer items-center gap-1 whitespace-nowrap rounded-2 bg-stone-1 px-2 py-1.5 text-dark ring-stone-3 ring-inset transition dark-bg-stone-9 dark-text-white hover-ring-1 dark-ring-stone-7"},b=h("span",{class:"text-sm text-stone-5 transition group-hover-text-dark dark-group-hover-text-white"},"搜索",-1),C=p({name:"ToolbarRightSide",__name:"index",setup(S){const n=l();return(v,s)=>{const o=k,i=c;return e(),a("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=y=>t(x).emit("global-search-toggle"))},[t(n).mode==="mobile"?(e(),r(o,{key:0,name:"i-ri:search-line"})):(e(),a("span",f,[m(o,{name:"i-ri:search-line"}),b,t(n).settings.navSearch.enableHotkeys?(e(),r(i,{key:0,class:"ml-2"},{default:_(()=>[d(g(t(n).os==="mac"?"⌥":"Alt")+" S",1)]),_:1})):u("",!0)]))])}}});export{C as _}; +import c from"./HKbd-ajmXhnhP.js";import{d as p,u as l,g as e,c as a,i as t,z as r,b as m,w as _,h as d,t as g,A as u,ai as x,e as h,j as k}from"./index-CAe0BuuW.js";const f={key:1,class:"group inline-flex cursor-pointer items-center gap-1 whitespace-nowrap rounded-2 bg-stone-1 px-2 py-1.5 text-dark ring-stone-3 ring-inset transition dark-bg-stone-9 dark-text-white hover-ring-1 dark-ring-stone-7"},b=h("span",{class:"text-sm text-stone-5 transition group-hover-text-dark dark-group-hover-text-white"},"搜索",-1),C=p({name:"ToolbarRightSide",__name:"index",setup(S){const n=l();return(v,s)=>{const o=k,i=c;return e(),a("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=y=>t(x).emit("global-search-toggle"))},[t(n).mode==="mobile"?(e(),r(o,{key:0,name:"i-ri:search-line"})):(e(),a("span",f,[m(o,{name:"i-ri:search-line"}),b,t(n).settings.navSearch.enableHotkeys?(e(),r(i,{key:0,class:"ml-2"},{default:_(()=>[d(g(t(n).os==="mac"?"⌥":"Alt")+" S",1)]),_:1})):u("",!0)]))])}}});export{C as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-D4iJoCyR.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-B_goJNHB.js similarity index 91% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-D4iJoCyR.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-B_goJNHB.js index 6c6fb37..3ae0c9a 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-D4iJoCyR.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-B_goJNHB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as S}from"./sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js";import{r as w,_ as z}from"./item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js";import{d as B,r as f,p as E,Z as y,a7 as I,m as b,g as i,c as p,F as k,s as J,Q as q,i as M,z as C,A,G as $}from"./index-DEc4xym2.js";const L=B({name:"MainMenu",__name:"index",props:{menu:{},value:{},accordion:{type:Boolean,default:!0},defaultOpeneds:{default:()=>[]},mode:{default:"vertical"},collapse:{type:Boolean,default:!1},showCollapseName:{type:Boolean,default:!1}},setup(O){const n=O,s=f(n.value),c=f({}),t=f({}),o=f(n.defaultOpeneds.slice(0)),N=f([]),v=E(()=>n.mode==="horizontal"||n.mode==="vertical"&&n.collapse);function _(e,l=[]){e.forEach(a=>{const u=a.path??JSON.stringify(a);if(a.children){const r=[...l,u];t.value[u]={index:u,indexPath:r,active:!1},_(a.children,r)}else c.value[u]={index:u,indexPath:l}})}const h=(e,l)=>{o.value.includes(e)||(n.accordion&&(o.value=o.value.filter(a=>l.includes(a))),o.value.push(e))},d=e=>{if(Array.isArray(e)){$(()=>{d(e.at(-1)),e.length>1&&d(e.slice(0,-1))});return}Object.keys(t.value).forEach(l=>{t.value[l].indexPath.includes(e)&&(o.value=o.value.filter(a=>a!==e))})};function g(e){var l,a;for(const u in t.value)t.value[u].active=!1;(l=t.value[e])==null||l.indexPath.forEach(u=>{t.value[u].active=!0}),(a=c.value[e])==null||a.indexPath.forEach(u=>{t.value[u].active=!0})}const x=e=>{(n.mode==="horizontal"||n.collapse)&&(o.value=[]),g(e)},P=(e,l)=>{o.value.includes(e)?d(e):h(e,l)};function m(){const e=s.value&&c.value[s.value];g(s.value),!(!e||n.collapse)&&e.indexPath.forEach(l=>{const a=t.value[l];a&&h(l,a.indexPath)})}return y(()=>n.menu,e=>{_(e),m()},{deep:!0,immediate:!0}),y(()=>n.value,e=>{c.value[e]||(s.value="");const l=c.value[e]||s.value&&c.value[s.value]||c.value[n.value];l?s.value=l.index:s.value=e,m()}),y(()=>n.collapse,e=>{e&&(o.value=[]),m()}),I(w,b({props:n,items:c,subMenus:t,activeIndex:s,openedMenus:o,mouseInMenu:N,isMenuPopup:v,openMenu:h,closeMenu:d,handleMenuItemClick:x,handleSubMenuClick:P})),(e,l)=>(i(),p("div",{class:q(["flex flex-col of-hidden transition-all",{"w-[200px]":!M(v)&&n.mode==="vertical","w-[64px]":M(v)&&n.mode==="vertical","h-[80px]":n.mode==="horizontal","flex-row! w-auto":M(v)&&n.mode==="horizontal"}])},[(i(!0),p(k,null,J(e.menu,a=>{var u,r;return i(),p(k,{key:a.path??JSON.stringify(a)},[((u=a.meta)==null?void 0:u.menu)!==!1?(i(),p(k,{key:0},[(r=a.children)!=null&&r.length?(i(),C(S,{key:0,menu:a,"unique-key":[a.path??JSON.stringify(a)]},null,8,["menu","unique-key"])):(i(),C(z,{key:1,item:a,"unique-key":[a.path??JSON.stringify(a)],onClick:j=>x(a.path??JSON.stringify(a))},null,8,["item","unique-key","onClick"]))],64)):A("",!0)],64)}),128))],2))}});export{L as _}; +import{_ as S}from"./sub.vue_vue_type_script_setup_true_lang-Dc0jEHO7.js";import{r as w,_ as z}from"./item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js";import{d as B,r as f,p as E,Z as y,a7 as I,m as b,g as i,c as p,F as k,s as J,Q as q,i as M,z as C,A,G as $}from"./index-CAe0BuuW.js";const L=B({name:"MainMenu",__name:"index",props:{menu:{},value:{},accordion:{type:Boolean,default:!0},defaultOpeneds:{default:()=>[]},mode:{default:"vertical"},collapse:{type:Boolean,default:!1},showCollapseName:{type:Boolean,default:!1}},setup(O){const n=O,s=f(n.value),c=f({}),t=f({}),o=f(n.defaultOpeneds.slice(0)),N=f([]),v=E(()=>n.mode==="horizontal"||n.mode==="vertical"&&n.collapse);function _(e,l=[]){e.forEach(a=>{const u=a.path??JSON.stringify(a);if(a.children){const r=[...l,u];t.value[u]={index:u,indexPath:r,active:!1},_(a.children,r)}else c.value[u]={index:u,indexPath:l}})}const h=(e,l)=>{o.value.includes(e)||(n.accordion&&(o.value=o.value.filter(a=>l.includes(a))),o.value.push(e))},d=e=>{if(Array.isArray(e)){$(()=>{d(e.at(-1)),e.length>1&&d(e.slice(0,-1))});return}Object.keys(t.value).forEach(l=>{t.value[l].indexPath.includes(e)&&(o.value=o.value.filter(a=>a!==e))})};function g(e){var l,a;for(const u in t.value)t.value[u].active=!1;(l=t.value[e])==null||l.indexPath.forEach(u=>{t.value[u].active=!0}),(a=c.value[e])==null||a.indexPath.forEach(u=>{t.value[u].active=!0})}const x=e=>{(n.mode==="horizontal"||n.collapse)&&(o.value=[]),g(e)},P=(e,l)=>{o.value.includes(e)?d(e):h(e,l)};function m(){const e=s.value&&c.value[s.value];g(s.value),!(!e||n.collapse)&&e.indexPath.forEach(l=>{const a=t.value[l];a&&h(l,a.indexPath)})}return y(()=>n.menu,e=>{_(e),m()},{deep:!0,immediate:!0}),y(()=>n.value,e=>{c.value[e]||(s.value="");const l=c.value[e]||s.value&&c.value[s.value]||c.value[n.value];l?s.value=l.index:s.value=e,m()}),y(()=>n.collapse,e=>{e&&(o.value=[]),m()}),I(w,b({props:n,items:c,subMenus:t,activeIndex:s,openedMenus:o,mouseInMenu:N,isMenuPopup:v,openMenu:h,closeMenu:d,handleMenuItemClick:x,handleSubMenuClick:P})),(e,l)=>(i(),p("div",{class:q(["flex flex-col of-hidden transition-all",{"w-[200px]":!M(v)&&n.mode==="vertical","w-[64px]":M(v)&&n.mode==="vertical","h-[80px]":n.mode==="horizontal","flex-row! w-auto":M(v)&&n.mode==="horizontal"}])},[(i(!0),p(k,null,J(e.menu,a=>{var u,r;return i(),p(k,{key:a.path??JSON.stringify(a)},[((u=a.meta)==null?void 0:u.menu)!==!1?(i(),p(k,{key:0},[(r=a.children)!=null&&r.length?(i(),C(S,{key:0,menu:a,"unique-key":[a.path??JSON.stringify(a)]},null,8,["menu","unique-key"])):(i(),C(z,{key:1,item:a,"unique-key":[a.path??JSON.stringify(a)],onClick:j=>x(a.path??JSON.stringify(a))},null,8,["item","unique-key","onClick"]))],64)):A("",!0)],64)}),128))],2))}});export{L as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BstFZRfU.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BstFZRfU.js deleted file mode 100644 index b36402c..0000000 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BstFZRfU.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{d as p,u as c,r as v,p as g,n as d,g as o,z as m,w as h,c as y,t as n,i as e,A as f,Q as b}from"./index-DEc4xym2.js";var _={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 k={key:0,class:"block truncate font-bold"},w="QUlXZWI=",S=p({name:"Logo",__name:"index",props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(x){const{pkg:i}=_,s=c(),t=v("AIWeb"),r=atob(w);if(!t.value.includes(r))throw document.body.innerHTML="

    ",new Error("");const l=g(()=>s.settings.home.enable?s.settings.home.fullPath:"");return(u,j)=>{const a=d("RouterLink");return o(),m(a,{to:e(l),class:b(["h-[var(--g-sidebar-logo-height)] w-inherit flex-center gap-2 px-3 text-inherit no-underline",{"cursor-pointer":e(s).settings.home.enable}]),title:e(t)},{default:h(()=>[u.showTitle?(o(),y("span",k,n(e(t))+"-"+n(e(i).version),1)):f("",!0)]),_:1},8,["to","class","title"])}}});export{S as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zIlAXnyj.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-C90bQeZy.js similarity index 96% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-zIlAXnyj.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-C90bQeZy.js index 7469dc7..1d92873 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zIlAXnyj.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-C90bQeZy.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import se from"./HKbd-Dkpr3OfM.js";import{d as ne,r as h,p as K,f as le,u as oe,ab as re,ah as ie,Z as U,a as ue,ai as N,ac as _,aj as J,g as f,z as S,w as u,b as r,i as n,ak as P,X as q,e as i,al as ce,y as de,am as fe,D as pe,v as T,x as F,an as ve,ao as he,c as b,s as A,F as G,h as O,A as R,ap as _e,aq as me,ar as ge,j as xe,Q,t as X}from"./index-DEc4xym2.js";import ye from"./index-D2N8hAxR.js";import{_ as be}from"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js";const ke=i("div",{class:"fixed inset-0 bg-stone-200/75 backdrop-blur-sm transition-opacity dark-bg-stone-8/75"},null,-1),we={class:"fixed inset-0"},Se={class:"h-full flex items-end justify-center p-4 text-center lg-items-center"},Te={class:"flex flex-col overflow-y-auto rounded-xl bg-white shadow-xl dark-bg-stone-8"},Re={class:"flex items-center px-4 py-3","border-b":"~ solid stone-2 dark-stone-7"},Ce=["onKeydown"],He=["data-index","onClick","onMouseover"],Ie={class:"flex flex-1 flex-col gap-1 truncate px-4 py-3","border-l":"~ solid stone-2 dark-stone-7"},ze={class:"truncate text-base font-bold"},De={key:1,flex:"center col","py-6":"","text-stone-5":""},Be=i("p",{"m-2":"","text-base":""}," 没有找到你想要的 ",-1),Me={key:0,class:"flex justify-between px-4 py-3","border-t":"~ solid stone-2 dark-stone-7"},Ne={class:"flex gap-8"},Fe={class:"inline-flex items-center gap-1 text-xs"},Le=i("span",null,"访问",-1),$e={class:"inline-flex items-center gap-1 text-xs"},Ee=i("span",null,"切换",-1),Ve={key:0,class:"inline-flex items-center gap-1 text-xs"},je=i("span",null,"退出",-1),Ae=ne({name:"Search",__name:"index",setup(Ke){const Y=h({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Z=K(()=>({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"})),W=le(),x=oe(),ee=re(),p=h(!1),v=h(""),C=h([]),o=h(-1),L=h(),H=h(),k=h([]);ie(()=>{k.value=[]});const m=K(()=>{let a=[];return a=C.value.filter(t=>{let s=!1;return t.title&&(typeof t.title=="function"?t.title().includes(v.value)&&(s=!0):t.title.includes(v.value)&&(s=!0)),t.path.includes(v.value)&&(s=!0),t.breadcrumb.some(l=>{var e;if(typeof l.title=="function"){if(l.title().includes(v.value))return!0}else if((e=l.title)!=null&&e.includes(v.value))return!0;return!1})&&(s=!0),s}),a});U(()=>p.value,a=>{a?(v.value="",o.value=-1,_("up",z),_("down",D),_("enter",B)):(_.unbind("up",z),_.unbind("down",D),_.unbind("enter",B))}),U(()=>m.value,()=>{o.value=-1,M()}),ue(()=>{N.on("global-search-toggle",()=>{p.value||I(),p.value=!p.value}),_("alt+s",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),I(),p.value=!0)}),_("esc",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),p.value=!1)}),I()});function I(){C.value=[],ee.allMenus.forEach(a=>{$(a.children)})}function te(a){var s;let t=!0;return(s=a.children)!=null&&s.every(l=>{var e;return((e=l.meta)==null?void 0:e.menu)===!1})&&(t=!1),t}function $(a,t,s,l){a.forEach(e=>{var d,c,g,y,E,V,j;if(((d=e.meta)==null?void 0:d.menu)!==!1){const w=ge(l)||[];e.children&&te(e)?(w.push({title:(c=e.meta)==null?void 0:c.title}),$(e.children,J(t,e.path),((g=e.meta)==null?void 0:g.icon)??s,w)):(w.push({title:(y=e.meta)==null?void 0:y.title}),C.value.push({path:J(t,e.path),icon:((E=e.meta)==null?void 0:E.icon)??s,title:(V=e.meta)==null?void 0:V.title,link:(j=e.meta)==null?void 0:j.link,breadcrumb:w}))}})}function z(){m.value.length&&(o.value-=1,o.value<0&&(o.value=m.value.length-1),M())}function D(){m.value.length&&(o.value+=1,o.value>m.value.length-1&&(o.value=0),M())}function B(){var a;o.value!==-1&&((a=k.value.find(t=>Number.parseInt(t.dataset.index)===o.value))==null||a.click())}function M(){var a,t;if(H.value){const s=H.value.osInstance().elements().content;let l=0;if(o.value!==-1){l=s.scrollTop;const e=((a=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:a.offsetTop)??0,d=((t=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:t.clientHeight)??0,c=s.scrollTop,g=s.clientHeight;e+d>c+g?l=e+d-g:e<=c&&(l=e)}s.scrollTo({top:l})}}function ae(a,t){t?window.open(t,"_blank"):W.push(a),p.value=!1}return(a,t)=>{const s=xe,l=se;return f(),S(n(me),{as:"template",show:n(p)},{default:u(()=>[r(n(_e),{"initial-focus":n(L),class:"fixed inset-0 z-2000 flex",onClose:t[2]||(t[2]=e=>n(p)&&n(N).emit("global-search-toggle"))},{default:u(()=>[r(n(P),q({as:"template"},n(Y)),{default:u(()=>[ke]),_:1},16),i("div",we,[i("div",Se,[r(n(P),q({as:"template"},n(Z)),{default:u(()=>[r(n(ce),{class:"relative h-full max-h-4/5 w-full flex flex-col text-left lg-max-w-2xl"},{default:u(()=>[i("div",Te,[i("div",Re,[r(s,{name:"i-ep:search",size:18,class:"text-stone-5"}),de(i("input",{ref_key:"searchInputRef",ref:L,"onUpdate:modelValue":t[0]||(t[0]=e=>pe(v)?v.value=e:null),placeholder:"搜索页面,支持标题、URL模糊查询",class:"w-full border-0 rounded-md bg-transparent px-3 text-base text-dark dark-text-white focus-outline-none placeholder-stone-4 dark-placeholder-stone-5",onKeydown:[t[1]||(t[1]=T(e=>n(N).emit("global-search-toggle"),["esc"])),T(F(z,["prevent"]),["up"]),T(F(D,["prevent"]),["down"]),T(F(B,["prevent"]),["enter"])]},null,40,Ce),[[fe,n(v)]])]),r(n(ve),{class:"relative m-0 of-y-hidden"},{default:u(()=>[r(n(he),{ref_key:"searchResultRef",ref:H,options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full"},{default:u(()=>[n(m).length>0?(f(!0),b(G,{key:0},A(n(m),(e,d)=>(f(),b("a",{ref_for:!0,ref_key:"searchResultItemRef",ref:k,key:e.path,class:Q(["flex cursor-pointer items-center",{"bg-stone-2/40 dark-bg-stone-7/40":d===n(o)}]),"data-index":d,onClick:c=>ae(e.path,e.link),onMouseover:c=>o.value=d},[e.icon?(f(),S(s,{key:0,name:e.icon,size:20,class:Q(["basis-16 transition",{"scale-120 text-ui-primary":d===n(o)}])},null,8,["name","class"])):R("",!0),i("div",Ie,[i("div",ze,X((typeof e.title=="function"?e.title():e.title)??"[ 无标题 ]"),1),e.breadcrumb.length?(f(),S(ye,{key:0,class:"truncate"},{default:u(()=>[(f(!0),b(G,null,A(e.breadcrumb,(c,g)=>(f(),S(be,{key:g,class:"text-xs"},{default:u(()=>[O(X((typeof c.title=="function"?c.title():c.title)??"[ 无标题 ]"),1)]),_:2},1024))),128))]),_:2},1024)):R("",!0)])],42,He))),128)):(f(),b("div",De,[r(s,{name:"i-tabler:mood-empty",size:40}),Be]))]),_:1},512)]),_:1}),n(x).mode==="pc"?(f(),b("div",Me,[i("div",Ne,[i("div",Fe,[r(l,null,{default:u(()=>[r(s,{name:"i-ion:md-return-left",size:14})]),_:1}),Le]),i("div",$e,[r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-up-filled",size:14})]),_:1}),r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-down-filled",size:14})]),_:1}),Ee])]),n(x).settings.navSearch.enableHotkeys?(f(),b("div",Ve,[r(l,null,{default:u(()=>[O(" ESC ")]),_:1}),je])):R("",!0)])):R("",!0)])]),_:1})]),_:1},16)])])]),_:1},8,["initial-focus"])]),_:1},8,["show"])}}});export{Ae as _}; +import se from"./HKbd-ajmXhnhP.js";import{d as ne,r as h,p as K,f as le,u as oe,ab as re,ah as ie,Z as U,a as ue,ai as N,ac as _,aj as J,g as f,z as S,w as u,b as r,i as n,ak as P,X as q,e as i,al as ce,y as de,am as fe,D as pe,v as T,x as F,an as ve,ao as he,c as b,s as A,F as G,h as O,A as R,ap as _e,aq as me,ar as ge,j as xe,Q,t as X}from"./index-CAe0BuuW.js";import ye from"./index-BhXahEts.js";import{_ as be}from"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";const ke=i("div",{class:"fixed inset-0 bg-stone-200/75 backdrop-blur-sm transition-opacity dark-bg-stone-8/75"},null,-1),we={class:"fixed inset-0"},Se={class:"h-full flex items-end justify-center p-4 text-center lg-items-center"},Te={class:"flex flex-col overflow-y-auto rounded-xl bg-white shadow-xl dark-bg-stone-8"},Re={class:"flex items-center px-4 py-3","border-b":"~ solid stone-2 dark-stone-7"},Ce=["onKeydown"],He=["data-index","onClick","onMouseover"],Ie={class:"flex flex-1 flex-col gap-1 truncate px-4 py-3","border-l":"~ solid stone-2 dark-stone-7"},ze={class:"truncate text-base font-bold"},De={key:1,flex:"center col","py-6":"","text-stone-5":""},Be=i("p",{"m-2":"","text-base":""}," 没有找到你想要的 ",-1),Me={key:0,class:"flex justify-between px-4 py-3","border-t":"~ solid stone-2 dark-stone-7"},Ne={class:"flex gap-8"},Fe={class:"inline-flex items-center gap-1 text-xs"},Le=i("span",null,"访问",-1),$e={class:"inline-flex items-center gap-1 text-xs"},Ee=i("span",null,"切换",-1),Ve={key:0,class:"inline-flex items-center gap-1 text-xs"},je=i("span",null,"退出",-1),Ae=ne({name:"Search",__name:"index",setup(Ke){const Y=h({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Z=K(()=>({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"})),W=le(),x=oe(),ee=re(),p=h(!1),v=h(""),C=h([]),o=h(-1),L=h(),H=h(),k=h([]);ie(()=>{k.value=[]});const m=K(()=>{let a=[];return a=C.value.filter(t=>{let s=!1;return t.title&&(typeof t.title=="function"?t.title().includes(v.value)&&(s=!0):t.title.includes(v.value)&&(s=!0)),t.path.includes(v.value)&&(s=!0),t.breadcrumb.some(l=>{var e;if(typeof l.title=="function"){if(l.title().includes(v.value))return!0}else if((e=l.title)!=null&&e.includes(v.value))return!0;return!1})&&(s=!0),s}),a});U(()=>p.value,a=>{a?(v.value="",o.value=-1,_("up",z),_("down",D),_("enter",B)):(_.unbind("up",z),_.unbind("down",D),_.unbind("enter",B))}),U(()=>m.value,()=>{o.value=-1,M()}),ue(()=>{N.on("global-search-toggle",()=>{p.value||I(),p.value=!p.value}),_("alt+s",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),I(),p.value=!0)}),_("esc",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),p.value=!1)}),I()});function I(){C.value=[],ee.allMenus.forEach(a=>{$(a.children)})}function te(a){var s;let t=!0;return(s=a.children)!=null&&s.every(l=>{var e;return((e=l.meta)==null?void 0:e.menu)===!1})&&(t=!1),t}function $(a,t,s,l){a.forEach(e=>{var d,c,g,y,E,V,j;if(((d=e.meta)==null?void 0:d.menu)!==!1){const w=ge(l)||[];e.children&&te(e)?(w.push({title:(c=e.meta)==null?void 0:c.title}),$(e.children,J(t,e.path),((g=e.meta)==null?void 0:g.icon)??s,w)):(w.push({title:(y=e.meta)==null?void 0:y.title}),C.value.push({path:J(t,e.path),icon:((E=e.meta)==null?void 0:E.icon)??s,title:(V=e.meta)==null?void 0:V.title,link:(j=e.meta)==null?void 0:j.link,breadcrumb:w}))}})}function z(){m.value.length&&(o.value-=1,o.value<0&&(o.value=m.value.length-1),M())}function D(){m.value.length&&(o.value+=1,o.value>m.value.length-1&&(o.value=0),M())}function B(){var a;o.value!==-1&&((a=k.value.find(t=>Number.parseInt(t.dataset.index)===o.value))==null||a.click())}function M(){var a,t;if(H.value){const s=H.value.osInstance().elements().content;let l=0;if(o.value!==-1){l=s.scrollTop;const e=((a=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:a.offsetTop)??0,d=((t=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:t.clientHeight)??0,c=s.scrollTop,g=s.clientHeight;e+d>c+g?l=e+d-g:e<=c&&(l=e)}s.scrollTo({top:l})}}function ae(a,t){t?window.open(t,"_blank"):W.push(a),p.value=!1}return(a,t)=>{const s=xe,l=se;return f(),S(n(me),{as:"template",show:n(p)},{default:u(()=>[r(n(_e),{"initial-focus":n(L),class:"fixed inset-0 z-2000 flex",onClose:t[2]||(t[2]=e=>n(p)&&n(N).emit("global-search-toggle"))},{default:u(()=>[r(n(P),q({as:"template"},n(Y)),{default:u(()=>[ke]),_:1},16),i("div",we,[i("div",Se,[r(n(P),q({as:"template"},n(Z)),{default:u(()=>[r(n(ce),{class:"relative h-full max-h-4/5 w-full flex flex-col text-left lg-max-w-2xl"},{default:u(()=>[i("div",Te,[i("div",Re,[r(s,{name:"i-ep:search",size:18,class:"text-stone-5"}),de(i("input",{ref_key:"searchInputRef",ref:L,"onUpdate:modelValue":t[0]||(t[0]=e=>pe(v)?v.value=e:null),placeholder:"搜索页面,支持标题、URL模糊查询",class:"w-full border-0 rounded-md bg-transparent px-3 text-base text-dark dark-text-white focus-outline-none placeholder-stone-4 dark-placeholder-stone-5",onKeydown:[t[1]||(t[1]=T(e=>n(N).emit("global-search-toggle"),["esc"])),T(F(z,["prevent"]),["up"]),T(F(D,["prevent"]),["down"]),T(F(B,["prevent"]),["enter"])]},null,40,Ce),[[fe,n(v)]])]),r(n(ve),{class:"relative m-0 of-y-hidden"},{default:u(()=>[r(n(he),{ref_key:"searchResultRef",ref:H,options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full"},{default:u(()=>[n(m).length>0?(f(!0),b(G,{key:0},A(n(m),(e,d)=>(f(),b("a",{ref_for:!0,ref_key:"searchResultItemRef",ref:k,key:e.path,class:Q(["flex cursor-pointer items-center",{"bg-stone-2/40 dark-bg-stone-7/40":d===n(o)}]),"data-index":d,onClick:c=>ae(e.path,e.link),onMouseover:c=>o.value=d},[e.icon?(f(),S(s,{key:0,name:e.icon,size:20,class:Q(["basis-16 transition",{"scale-120 text-ui-primary":d===n(o)}])},null,8,["name","class"])):R("",!0),i("div",Ie,[i("div",ze,X((typeof e.title=="function"?e.title():e.title)??"[ 无标题 ]"),1),e.breadcrumb.length?(f(),S(ye,{key:0,class:"truncate"},{default:u(()=>[(f(!0),b(G,null,A(e.breadcrumb,(c,g)=>(f(),S(be,{key:g,class:"text-xs"},{default:u(()=>[O(X((typeof c.title=="function"?c.title():c.title)??"[ 无标题 ]"),1)]),_:2},1024))),128))]),_:2},1024)):R("",!0)])],42,He))),128)):(f(),b("div",De,[r(s,{name:"i-tabler:mood-empty",size:40}),Be]))]),_:1},512)]),_:1}),n(x).mode==="pc"?(f(),b("div",Me,[i("div",Ne,[i("div",Fe,[r(l,null,{default:u(()=>[r(s,{name:"i-ion:md-return-left",size:14})]),_:1}),Le]),i("div",$e,[r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-up-filled",size:14})]),_:1}),r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-down-filled",size:14})]),_:1}),Ee])]),n(x).settings.navSearch.enableHotkeys?(f(),b("div",Ve,[r(l,null,{default:u(()=>[O(" ESC ")]),_:1}),je])):R("",!0)])):R("",!0)])]),_:1})]),_:1},16)])])]),_:1},8,["initial-focus"])]),_:1},8,["show"])}}});export{Ae as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BiVN2RjL.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js similarity index 89% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-BiVN2RjL.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js index d1d8f82..bd95060 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BiVN2RjL.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import d from"./HDropdown-qq12d9mA.js";import{_ as h}from"./HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js";import{d as _,u as g,g as f,z as w,w as m,b as p,i as c,j as x}from"./index-DEc4xym2.js";function S(r){function e(){if(!document.startViewTransition||window.matchMedia("(prefers-reduced-motion: reduce)").matches){r();return}return document.startViewTransition(async()=>{await Promise.resolve(r())})}return{startViewTransition:e}}const v=_({name:"ColorScheme",__name:"index",setup(r){const e=g();function u(a){var i;const{startViewTransition:t}=S(()=>{e.currentColorScheme&&e.setColorScheme(e.currentColorScheme==="dark"?"light":"dark")});(i=t())==null||i.ready.then(()=>{const o=a.clientX,n=a.clientY,s=Math.hypot(Math.max(o,innerWidth-o),Math.max(n,innerHeight-n)),l=[`circle(0px at ${o}px ${n}px)`,`circle(${s}px at ${o}px ${n}px)`];document.documentElement.animate({clipPath:e.settings.app.colorScheme!=="dark"?l:l.reverse()},{duration:300,easing:"ease-out",pseudoElement:e.settings.app.colorScheme!=="dark"?"::view-transition-new(root)":"::view-transition-old(root)"})})}return(a,t)=>{const i=x,o=h,n=d;return f(),w(n,{class:"flex-center cursor-pointer px-2 py-1"},{dropdown:m(()=>[p(o,{modelValue:c(e).settings.app.colorScheme,"onUpdate:modelValue":t[0]||(t[0]=s=>c(e).settings.app.colorScheme=s),options:[{icon:"i-ri:sun-line",label:"",value:"light"},{icon:"i-ri:moon-line",label:"",value:"dark"},{icon:"i-codicon:color-mode",label:"",value:""}],class:"m-3"},null,8,["modelValue"])]),default:m(()=>[p(i,{name:{"":"i-codicon:color-mode",light:"i-ri:sun-line",dark:"i-ri:moon-line"}[c(e).settings.app.colorScheme],onClick:u},null,8,["name"])]),_:1})}}});export{v as _}; +import d from"./HDropdown-BtjElhzu.js";import{_ as h}from"./HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js";import{d as _,u as g,g as f,z as w,w as m,b as p,i as c,j as x}from"./index-CAe0BuuW.js";function S(r){function e(){if(!document.startViewTransition||window.matchMedia("(prefers-reduced-motion: reduce)").matches){r();return}return document.startViewTransition(async()=>{await Promise.resolve(r())})}return{startViewTransition:e}}const v=_({name:"ColorScheme",__name:"index",setup(r){const e=g();function u(a){var i;const{startViewTransition:t}=S(()=>{e.currentColorScheme&&e.setColorScheme(e.currentColorScheme==="dark"?"light":"dark")});(i=t())==null||i.ready.then(()=>{const o=a.clientX,n=a.clientY,s=Math.hypot(Math.max(o,innerWidth-o),Math.max(n,innerHeight-n)),l=[`circle(0px at ${o}px ${n}px)`,`circle(${s}px at ${o}px ${n}px)`];document.documentElement.animate({clipPath:e.settings.app.colorScheme!=="dark"?l:l.reverse()},{duration:300,easing:"ease-out",pseudoElement:e.settings.app.colorScheme!=="dark"?"::view-transition-new(root)":"::view-transition-old(root)"})})}return(a,t)=>{const i=x,o=h,n=d;return f(),w(n,{class:"flex-center cursor-pointer px-2 py-1"},{dropdown:m(()=>[p(o,{modelValue:c(e).settings.app.colorScheme,"onUpdate:modelValue":t[0]||(t[0]=s=>c(e).settings.app.colorScheme=s),options:[{icon:"i-ri:sun-line",label:"",value:"light"},{icon:"i-ri:moon-line",label:"",value:"dark"},{icon:"i-codicon:color-mode",label:"",value:""}],class:"m-3"},null,8,["modelValue"])]),default:m(()=>[p(i,{name:{"":"i-codicon:color-mode",light:"i-ri:sun-line",dark:"i-ri:moon-line"}[c(e).settings.app.colorScheme],onClick:u},null,8,["name"])]),_:1})}}});export{v as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CHWp65cL.js similarity index 89% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-CHWp65cL.js index c0ff984..0c11e7f 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CHWp65cL.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as m,O as b,r as f,g as o,c as a,P as n,A as r,e as g,i as s,b as u,Q as h,R as v,j as _,h as y,t as k}from"./index-DEc4xym2.js";const C={key:0,class:"title-container border-b-1 border-b-[var(--g-bg)] border-b-solid px-5 py-4 transition-border-color-300"},S={class:"main-container p-5"},N=m({name:"PageMain",__name:"index",props:{title:{default:""},collaspe:{type:Boolean,default:!1},height:{default:""}},setup(l){const i=l,c=!!b().title,t=f(i.collaspe);function p(){t.value=!1}return(e,x)=>{const d=_;return o(),a("div",{class:h(["page-main relative m-4 flex flex-col bg-[var(--g-container-bg)] transition-background-color-300",{"of-hidden":s(t)}]),style:v({height:s(t)?e.height:""})},[c||e.title?(o(),a("div",C,[n(e.$slots,"title",{},()=>[y(k(e.title),1)])])):r("",!0),g("div",S,[n(e.$slots,"default")]),s(t)?(o(),a("div",{key:1,class:"collaspe absolute bottom-0 w-full cursor-pointer from-transparent to-[var(--g-container-bg)] bg-gradient-to-b pb-2 pt-10 text-center",onClick:p},[u(d,{name:"i-ep:arrow-down",class:"text-xl op-30 transition-opacity hover-op-100"})])):r("",!0)],6)}}});export{N as _}; +import{d as m,O as b,r as f,g as o,c as a,P as n,A as r,e as g,i as s,b as u,Q as h,R as v,j as _,h as y,t as k}from"./index-CAe0BuuW.js";const C={key:0,class:"title-container border-b-1 border-b-[var(--g-bg)] border-b-solid px-5 py-4 transition-border-color-300"},S={class:"main-container p-5"},N=m({name:"PageMain",__name:"index",props:{title:{default:""},collaspe:{type:Boolean,default:!1},height:{default:""}},setup(l){const i=l,c=!!b().title,t=f(i.collaspe);function p(){t.value=!1}return(e,x)=>{const d=_;return o(),a("div",{class:h(["page-main relative m-4 flex flex-col bg-[var(--g-container-bg)] transition-background-color-300",{"of-hidden":s(t)}]),style:v({height:s(t)?e.height:""})},[c||e.title?(o(),a("div",C,[n(e.$slots,"title",{},()=>[y(k(e.title),1)])])):r("",!0),g("div",S,[n(e.$slots,"default")]),s(t)?(o(),a("div",{key:1,class:"collaspe absolute bottom-0 w-full cursor-pointer from-transparent to-[var(--g-container-bg)] bg-gradient-to-b pb-2 pt-10 text-center",onClick:p},[u(d,{name:"i-ep:arrow-down",class:"text-xl op-30 transition-opacity hover-op-100"})])):r("",!0)],6)}}});export{N as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BrKsZ_6g.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CK7s6_6M.js similarity index 95% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-BrKsZ_6g.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-CK7s6_6M.js index 5fe43b4..1c33a0e 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BrKsZ_6g.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CK7s6_6M.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as c,a as i,a0 as d,r as m,g as t,z as u,b as o,w as p,i as n,c as g,A as v,at as f,au as _,ad as k,a3 as y,j as h}from"./index-DEc4xym2.js";const x=c({name:"BackTop",__name:"index",setup(C){const s={enterActiveClass:"ease-out duration-300",enterFromClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterToClass:"opacity-100 translate-y-0 lg-scale-100",leaveActiveClass:"ease-in duration-200",leaveFromClass:"opacity-100 translate-y-0 lg-scale-100",leaveToClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"};i(()=>{window.addEventListener("scroll",a),a()}),d(()=>{window.removeEventListener("scroll",a)});const e=m(null);function a(){e.value=document.documentElement.scrollTop}function r(){document.documentElement.scrollTo({top:0,behavior:"smooth"})}return(w,b)=>{const l=h;return t(),u(y,{to:"body"},[o(k,f(_(s)),{default:p(()=>[n(e)&&n(e)>=200?(t(),g("div",{key:0,class:"fixed bottom-4 right-4 z-1000 h-12 w-12 flex cursor-pointer items-center justify-center rounded-full bg-white shadow-lg ring-1 ring-stone-3 ring-inset dark-bg-dark hover-bg-stone-1 dark-ring-stone-7 dark-hover-bg-dark/50",onClick:r},[o(l,{name:"i-icon-park-outline:to-top-one",size:24})])):v("",!0)]),_:1},16)])}}});export{x as _}; +import{d as c,a as i,a0 as d,r as m,g as t,z as u,b as o,w as p,i as n,c as g,A as v,at as f,au as _,ad as k,a3 as y,j as h}from"./index-CAe0BuuW.js";const x=c({name:"BackTop",__name:"index",setup(C){const s={enterActiveClass:"ease-out duration-300",enterFromClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterToClass:"opacity-100 translate-y-0 lg-scale-100",leaveActiveClass:"ease-in duration-200",leaveFromClass:"opacity-100 translate-y-0 lg-scale-100",leaveToClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"};i(()=>{window.addEventListener("scroll",a),a()}),d(()=>{window.removeEventListener("scroll",a)});const e=m(null);function a(){e.value=document.documentElement.scrollTop}function r(){document.documentElement.scrollTo({top:0,behavior:"smooth"})}return(w,b)=>{const l=h;return t(),u(y,{to:"body"},[o(k,f(_(s)),{default:p(()=>[n(e)&&n(e)>=200?(t(),g("div",{key:0,class:"fixed bottom-4 right-4 z-1000 h-12 w-12 flex cursor-pointer items-center justify-center rounded-full bg-white shadow-lg ring-1 ring-stone-3 ring-inset dark-bg-dark hover-bg-stone-1 dark-ring-stone-7 dark-hover-bg-dark/50",onClick:r},[o(l,{name:"i-icon-park-outline:to-top-one",size:24})])):v("",!0)]),_:1},16)])}}});export{x as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BqDgGq9W.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js similarity index 89% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-BqDgGq9W.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js index 2d4c0c4..f83c870 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BqDgGq9W.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as l,u as a,i as e,g as i,c as m,b as u,A as p,j as _}from"./index-DEc4xym2.js";import{c as f}from"./index-DmaX5UJ_.js";const S=l({name:"Fullscreen",__name:"index",setup(d){const t=a(),{isFullscreen:o,toggle:n}=f();return(g,s)=>{const r=_;return e(t).mode==="pc"?(i(),m("span",{key:0,class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=(...c)=>e(n)&&e(n)(...c))},[u(r,{name:e(o)?"i-ri:fullscreen-exit-line":"i-ri:fullscreen-line"},null,8,["name"])])):p("",!0)}}});export{S as _}; +import{d as l,u as a,i as e,g as i,c as m,b as u,A as p,j as _}from"./index-CAe0BuuW.js";import{c as f}from"./index-Dp-A2VeR.js";const S=l({name:"Fullscreen",__name:"index",setup(d){const t=a(),{isFullscreen:o,toggle:n}=f();return(g,s)=>{const r=_;return e(t).mode==="pc"?(i(),m("span",{key:0,class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=(...c)=>e(n)&&e(n)(...c))},[u(r,{name:e(o)?"i-ri:fullscreen-exit-line":"i-ri:fullscreen-line"},null,8,["name"])])):p("",!0)}}});export{S as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-TAw7CesO.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js similarity index 74% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-TAw7CesO.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js index 9ecab75..5a86d5b 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-TAw7CesO.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as a,g as r,c as s,b as t,i as c,j as i}from"./index-DEc4xym2.js";import{u as m}from"./useMainPage-qAU7S-kt.js";const d=a({name:"PageReload",__name:"index",setup(p){const n=m();return(_,e)=>{const o=i;return r(),s("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:e[0]||(e[0]=l=>c(n).reload())},[t(o,{name:"i-iconoir:refresh-double"})])}}});export{d as _}; +import{d as a,g as r,c as s,b as t,i as c,j as i}from"./index-CAe0BuuW.js";import{u as m}from"./useMainPage-PJO-ub0s.js";const d=a({name:"PageReload",__name:"index",setup(p){const n=m();return(_,e)=>{const o=i;return r(),s("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:e[0]||(e[0]=l=>c(n).reload())},[t(o,{name:"i-iconoir:refresh-double"})])}}});export{d as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js similarity index 92% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js index aa61da4..454d51a 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as r,O as c,g as o,c as a,e as t,P as s,i as d,A as m,h as n,t as i}from"./index-DEc4xym2.js";const p={class:"page-header mb-5 flex flex-wrap items-center justify-between gap-5 bg-[var(--g-container-bg)] px-5 py-4 transition-background-color-300"},_={class:"main flex-[1_1_70%]"},f={class:"text-2xl"},u={class:"mt-2 text-sm text-stone-5 empty-hidden"},g={key:0,class:"ml-a flex-none"},b=r({name:"PageHeader",__name:"index",props:{title:{},content:{}},setup(h){const l=c();return(e,x)=>(o(),a("div",p,[t("div",_,[t("div",f,[s(e.$slots,"title",{},()=>[n(i(e.title),1)])]),t("div",u,[s(e.$slots,"content",{},()=>[n(i(e.content),1)])])]),d(l).default?(o(),a("div",g,[s(e.$slots,"default")])):m("",!0)]))}});export{b as _}; +import{d as r,O as c,g as o,c as a,e as t,P as s,i as d,A as m,h as n,t as i}from"./index-CAe0BuuW.js";const p={class:"page-header mb-5 flex flex-wrap items-center justify-between gap-5 bg-[var(--g-container-bg)] px-5 py-4 transition-background-color-300"},_={class:"main flex-[1_1_70%]"},f={class:"text-2xl"},u={class:"mt-2 text-sm text-stone-5 empty-hidden"},g={key:0,class:"ml-a flex-none"},b=r({name:"PageHeader",__name:"index",props:{title:{},content:{}},setup(h){const l=c();return(e,x)=>(o(),a("div",p,[t("div",_,[t("div",f,[s(e.$slots,"title",{},()=>[n(i(e.title),1)])]),t("div",u,[s(e.$slots,"content",{},()=>[n(i(e.content),1)])])]),d(l).default?(o(),a("div",g,[s(e.$slots,"default")])):m("",!0)]))}});export{b as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js new file mode 100644 index 0000000..9997f31 --- /dev/null +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as p,u as c,r as v,p as g,n as d,g as o,z as m,w as h,c as y,t as n,i as e,A as f,Q as b}from"./index-CAe0BuuW.js";var _={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 k={key:0,class:"block truncate font-bold"},x="QUlXZWI=",S=p({name:"Logo",__name:"index",props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(w){const{pkg:i}=_,s=c(),t=v("AIWeb"),r=atob(x);if(!t.value.includes(r))throw document.body.innerHTML="

    ",new Error("");const l=g(()=>s.settings.home.enable?s.settings.home.fullPath:"");return(u,j)=>{const a=d("RouterLink");return o(),m(a,{to:e(l),class:b(["h-[var(--g-sidebar-logo-height)] w-inherit flex-center gap-2 px-3 text-inherit no-underline",{"cursor-pointer":e(s).settings.home.enable}]),title:e(t)},{default:h(()=>[u.showTitle?(o(),y("span",k,n(e(t))+"-"+n(e(i).version),1)):f("",!0)]),_:1},8,["to","class","title"])}}});export{S as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DPAufHtz.js b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-jIq18U01.js similarity index 95% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-DPAufHtz.js rename to public/admin/assets/index.vue_vue_type_script_setup_true_lang-jIq18U01.js index e0a9246..8255db8 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DPAufHtz.js +++ b/public/admin/assets/index.vue_vue_type_script_setup_true_lang-jIq18U01.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as p}from"./HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js";import h from"./HKbd-Dkpr3OfM.js";import{d as g,r as y,u as b,a as x,ai as k,g as i,z as v,w as s,e as o,b as l,h as t,t as _,i as n,c as d,A as u,D as A}from"./index-DEc4xym2.js";const S={class:"px-4"},V={class:"grid gap-2 sm-grid-cols-2"},H=o("h2",{class:"m-0 text-lg font-bold"}," 全局 ",-1),B={class:"list-none pl-4 text-sm"},N={class:"py-1"},w={key:0,class:"py-1"},C={key:0},D=o("h2",{class:"m-0 text-lg font-bold"}," 主导航 ",-1),I={class:"list-none pl-4 text-sm"},M={class:"py-1"},z={key:1},E=o("h2",{class:"m-0 text-lg font-bold"}," 标签栏 ",-1),K={class:"list-none pl-4 text-sm"},R={class:"py-1"},T={class:"py-1"},U={class:"py-1"},W={class:"py-1"},$={class:"py-1"},L=g({name:"HotkeysIntro",__name:"index",setup(j){const c=y(!1),a=b();return x(()=>{k.on("global-hotkeys-intro-toggle",()=>{c.value=!c.value})}),(q,m)=>{const e=h,r=p;return i(),v(r,{modelValue:n(c),"onUpdate:modelValue":m[0]||(m[0]=f=>A(c)?c.value=f:null),title:"快捷键介绍"},{default:s(()=>[o("div",S,[o("div",V,[o("div",null,[H,o("ul",B,[o("li",N,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("I")]),_:1}),t(" 查看系统信息 ")]),n(a).settings.toolbar.navSearch&&n(a).settings.navSearch.enableHotkeys?(i(),d("li",w,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("S")]),_:1}),t(" 唤起导航搜索 ")])):u("",!0)])]),n(a).settings.menu.enableHotkeys&&["side","head"].includes(n(a).settings.menu.menuMode)?(i(),d("div",C,[D,o("ul",I,[o("li",M,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("`")]),_:1}),t(" 激活下一个主导航 ")])])])):u("",!0),n(a).settings.tabbar.enable&&n(a).settings.tabbar.enableHotkeys?(i(),d("div",z,[E,o("ul",K,[o("li",R,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("←")]),_:1}),t(" 切换到上一个标签页 ")]),o("li",T,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("→")]),_:1}),t(" 切换到下一个标签页 ")]),o("li",U,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("W")]),_:1}),t(" 关闭当前标签页 ")]),o("li",W,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("1~9")]),_:1}),t(" 切换到第 n 个标签页 ")]),o("li",$,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("0")]),_:1}),t(" 切换到最后一个标签页 ")])])])):u("",!0)])])]),_:1},8,["modelValue"])}}});export{L as _}; +import{_ as p}from"./HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js";import h from"./HKbd-ajmXhnhP.js";import{d as g,r as y,u as b,a as x,ai as k,g as i,z as v,w as s,e as o,b as l,h as t,t as _,i as n,c as d,A as u,D as A}from"./index-CAe0BuuW.js";const S={class:"px-4"},V={class:"grid gap-2 sm-grid-cols-2"},H=o("h2",{class:"m-0 text-lg font-bold"}," 全局 ",-1),B={class:"list-none pl-4 text-sm"},N={class:"py-1"},w={key:0,class:"py-1"},C={key:0},D=o("h2",{class:"m-0 text-lg font-bold"}," 主导航 ",-1),I={class:"list-none pl-4 text-sm"},M={class:"py-1"},z={key:1},E=o("h2",{class:"m-0 text-lg font-bold"}," 标签栏 ",-1),K={class:"list-none pl-4 text-sm"},R={class:"py-1"},T={class:"py-1"},U={class:"py-1"},W={class:"py-1"},$={class:"py-1"},L=g({name:"HotkeysIntro",__name:"index",setup(j){const c=y(!1),a=b();return x(()=>{k.on("global-hotkeys-intro-toggle",()=>{c.value=!c.value})}),(q,m)=>{const e=h,r=p;return i(),v(r,{modelValue:n(c),"onUpdate:modelValue":m[0]||(m[0]=f=>A(c)?c.value=f:null),title:"快捷键介绍"},{default:s(()=>[o("div",S,[o("div",V,[o("div",null,[H,o("ul",B,[o("li",N,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("I")]),_:1}),t(" 查看系统信息 ")]),n(a).settings.toolbar.navSearch&&n(a).settings.navSearch.enableHotkeys?(i(),d("li",w,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("S")]),_:1}),t(" 唤起导航搜索 ")])):u("",!0)])]),n(a).settings.menu.enableHotkeys&&["side","head"].includes(n(a).settings.menu.menuMode)?(i(),d("div",C,[D,o("ul",I,[o("li",M,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("`")]),_:1}),t(" 激活下一个主导航 ")])])])):u("",!0),n(a).settings.tabbar.enable&&n(a).settings.tabbar.enableHotkeys?(i(),d("div",z,[E,o("ul",K,[o("li",R,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("←")]),_:1}),t(" 切换到上一个标签页 ")]),o("li",T,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("→")]),_:1}),t(" 切换到下一个标签页 ")]),o("li",U,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("W")]),_:1}),t(" 关闭当前标签页 ")]),o("li",W,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("1~9")]),_:1}),t(" 切换到第 n 个标签页 ")]),o("li",$,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("0")]),_:1}),t(" 切换到最后一个标签页 ")])])])):u("",!0)])])]),_:1},8,["modelValue"])}}});export{L as _}; diff --git a/public/admin/assets/interface-D9t9C8J7.js b/public/admin/assets/interface-C0zsOKTH.js similarity index 96% rename from public/admin/assets/interface-D9t9C8J7.js rename to public/admin/assets/interface-C0zsOKTH.js index c70ce70..cfb4913 100644 --- a/public/admin/assets/interface-D9t9C8J7.js +++ b/public/admin/assets/interface-C0zsOKTH.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as K,m as N,r as j,a as D,n as d,g as S,c as A,b as e,w as l,h as c,i as M,J as V,e as r,E as B,j as E,_ as O,k as U}from"./index-DEc4xym2.js";import{a as w}from"./config-BQ9gBCXa.js";const $=r("div",{class:"flex items-center gap-4"},"全局参数设置",-1),H=r("div",{class:"text-sm/6"},[r("div",null,[c(" 系统默认的请求地址是 "),r("a",{href:"https://api.openai.com",target:"_blank"},"https://api.openai.com"),c(",国内服务器可能无法访问,需使用自己的代理或中转。 ")]),r("div",null," 此处配置为全局配置,一些系统内置的自动服务会使用到该模型。另外,当模型不配置 Key 以及 Url 时,会使用全局配置。 "),r("div",null,[c(" API 中转推荐 "),r("a",{href:"https://api.lightai.io",target:"_blank",style:{"margin-right":"10px"}},"https://api.lightai.io"),c(",支持OpenAI,Midjourney 以及多种国内外模型,无强制绑定关系,可按需选择。 ")])],-1),J=r("div",{style:{width:"250px"}},[r("p",null,"开启后、对话模型将会继承上一次对话的模型、默认开启")],-1),R=r("div",{style:{width:"250px"}}," 开启连续绘画会在使用 Dalle 绘图的时候,调用全局模型,根据上文总结绘画要求 ",-1),z=r("div",{style:{width:"250px"}}," 开启优化后, MJ 提示词默认会使用全局模型进行翻译/联想, 不再单独扣费, 一般中转会自带翻译, 请根据实际情况选择。 ",-1),F=K({__name:"interface",setup(G){const t=N({openaiBaseUrl:"",openaiBaseKey:"",openaiTimeout:"",openaiBaseModel:"gpt-3.5-turbo",openaiTemperature:1,mjNotSaveImg:0,mjProxyImgUrl:"",systemPreMessage:"",mjNotUseProxy:1,isMjTranslate:0,mjTranslatePrompt:"",isDalleChat:1,isModelInherited:1}),P=j({openaiBaseUrl:[{required:!1,trigger:"blur",message:"请填写openai的请求地址"}],isMjTranslate:[{required:!1,trigger:"blur",message:"是否开启翻译/联想"}],isDalleChat:[{required:!1,trigger:"blur",message:"是否开启连续绘画"}],isModelInherited:[{required:!1,trigger:"blur",message:"是否继承模型"}],openaiTimeout:[{required:!1,trigger:"blur",message:"请填写openai的超时时间(单位ms)"}],openaiBaseModel:[{required:!1,trigger:"blur",message:"请填写全局模型,用于后台一些静默性赋能操作"}],openaiTemperature:[{required:!1,trigger:"blur",message:"请填写温度"}],mjTranslatePrompt:[{required:!1,trigger:"blur",message:"用于翻译 / 联想的提示词"}]}),v=j();async function T(){const u=await w.queryConfig({keys:["openaiBaseUrl","openaiBaseKey","openaiTimeout","openaiBaseModel","openaiTemperature","mjNotSaveImg","mjProxyImgUrl","systemPreMessage","mjNotUseProxy","isMjTranslate","mjTranslatePrompt","isDalleChat","isModelInherited"]}),{openaiBaseUrl:a="",openaiBaseKey:g="",openaiTimeout:x=300,openaiBaseModel:b="gpt-3.5-turbo",openaiTemperature:p=1,isMjTranslate:s="",mjNotSaveImg:n,mjProxyImgUrl:i,systemPreMessage:m,mjNotUseProxy:f,mjTranslatePrompt:_,isDalleChat:h,isModelInherited:y}=u.data;Object.assign(t,{openaiBaseUrl:a,openaiBaseKey:g,openaiTimeout:x,isMjTranslate:s,openaiTemperature:p,openaiBaseModel:b,mjNotSaveImg:n,mjProxyImgUrl:i,systemPreMessage:m,mjNotUseProxy:f,mjTranslatePrompt:_,isDalleChat:h,isModelInherited:y})}function I(){var u;(u=v.value)==null||u.validate(async a=>{if(a){try{await w.setConfig({settings:C(t)}),B.success("变更配置信息成功")}catch{}T()}else B.error("请填写完整信息")})}function C(u){return Object.keys(u).map(a=>({configKey:a,configVal:u[a]}))}return D(()=>{T()}),(u,a)=>{const g=E,x=O,b=q,p=d("el-input"),s=d("el-form-item"),n=d("el-col"),i=d("el-row"),m=d("el-switch"),f=d("el-icon"),_=d("el-tooltip"),h=d("el-input-number"),y=d("el-form"),k=d("el-card");return S(),A("div",null,[e(b,null,{title:l(()=>[$]),content:l(()=>[H]),default:l(()=>[e(x,{text:"",outline:"",onClick:I},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:l(()=>[e(y,{ref_key:"formRef",ref:v,rules:P.value,model:t,"label-width":"220px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"请求地址",prop:"openaiBaseUrl","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiBaseUrl,"onUpdate:modelValue":a[0]||(a[0]=o=>t.openaiBaseUrl=o),placeholder:"默认地址: https://api.openai.com 第三方代理推荐:https://api.lightai.io",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(s,{label:"全局key",prop:"openaiBaseKey","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiBaseKey,"onUpdate:modelValue":a[1]||(a[1]=o=>t.openaiBaseKey=o),placeholder:"请填写模型全局 Key 信息,当模型 Key 为空时调用",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(s,{label:"全局模型",prop:"openaiBaseModel","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiBaseModel,"onUpdate:modelValue":a[2]||(a[2]=o=>t.openaiBaseModel=o),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(s,{label:"继承对话模型",prop:"isModelInherited","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isModelInherited,"onUpdate:modelValue":a[3]||(a[3]=o=>t.isModelInherited=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(_,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[J]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(M(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"连续绘画",prop:"isDalleChat","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isDalleChat,"onUpdate:modelValue":a[4]||(a[4]=o=>t.isDalleChat=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(_,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[R]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(M(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"提示词优化",prop:"isMjTranslate","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isMjTranslate,"onUpdate:modelValue":a[5]||(a[5]=o=>t.isMjTranslate=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(_,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[z]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(M(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"Temperature",prop:"openaiTemperature","label-width":"120px"},{default:l(()=>[e(h,{modelValue:t.openaiTemperature,"onUpdate:modelValue":a[6]||(a[6]=o=>t.openaiTemperature=o),"controls-position":"right",min:0,max:2,step:.1,placeholder:"模型 Temperature 设置,默认1",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(s,{label:"超时时间",prop:"openaiTimeout","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiTimeout,"onUpdate:modelValue":a[7]||(a[7]=o=>t.openaiTimeout=o),placeholder:"openai超时时间设置、默认300s 单位:秒(s)",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(s,{label:"全局头部预设",prop:"systemPreMessage","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.systemPreMessage,"onUpdate:modelValue":a[8]||(a[8]=o=>t.systemPreMessage=o),type:"textarea",rows:8,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof U=="function"&&U(F);export{F as default}; +import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as K,m as N,r as j,a as D,n as d,g as S,c as A,b as e,w as l,h as c,i as M,J as V,e as r,E as B,j as E,_ as O,k as U}from"./index-CAe0BuuW.js";import{a as w}from"./config-CwtVyG0K.js";const $=r("div",{class:"flex items-center gap-4"},"全局参数设置",-1),H=r("div",{class:"text-sm/6"},[r("div",null,[c(" 系统默认的请求地址是 "),r("a",{href:"https://api.openai.com",target:"_blank"},"https://api.openai.com"),c(",国内服务器可能无法访问,需使用自己的代理或中转。 ")]),r("div",null," 此处配置为全局配置,一些系统内置的自动服务会使用到该模型。另外,当模型不配置 Key 以及 Url 时,会使用全局配置。 "),r("div",null,[c(" API 中转推荐 "),r("a",{href:"https://api.lightai.io",target:"_blank",style:{"margin-right":"10px"}},"https://api.lightai.io"),c(",支持OpenAI,Midjourney 以及多种国内外模型,无强制绑定关系,可按需选择。 ")])],-1),J=r("div",{style:{width:"250px"}},[r("p",null,"开启后、对话模型将会继承上一次对话的模型、默认开启")],-1),R=r("div",{style:{width:"250px"}}," 开启连续绘画会在使用 Dalle 绘图的时候,调用全局模型,根据上文总结绘画要求 ",-1),z=r("div",{style:{width:"250px"}}," 开启优化后, MJ 提示词默认会使用全局模型进行翻译/联想, 不再单独扣费, 一般中转会自带翻译, 请根据实际情况选择。 ",-1),F=K({__name:"interface",setup(G){const t=N({openaiBaseUrl:"",openaiBaseKey:"",openaiTimeout:"",openaiBaseModel:"gpt-3.5-turbo",openaiTemperature:1,mjNotSaveImg:0,mjProxyImgUrl:"",systemPreMessage:"",mjNotUseProxy:1,isMjTranslate:0,mjTranslatePrompt:"",isDalleChat:1,isModelInherited:1}),P=j({openaiBaseUrl:[{required:!1,trigger:"blur",message:"请填写openai的请求地址"}],isMjTranslate:[{required:!1,trigger:"blur",message:"是否开启翻译/联想"}],isDalleChat:[{required:!1,trigger:"blur",message:"是否开启连续绘画"}],isModelInherited:[{required:!1,trigger:"blur",message:"是否继承模型"}],openaiTimeout:[{required:!1,trigger:"blur",message:"请填写openai的超时时间(单位ms)"}],openaiBaseModel:[{required:!1,trigger:"blur",message:"请填写全局模型,用于后台一些静默性赋能操作"}],openaiTemperature:[{required:!1,trigger:"blur",message:"请填写温度"}],mjTranslatePrompt:[{required:!1,trigger:"blur",message:"用于翻译 / 联想的提示词"}]}),v=j();async function T(){const u=await w.queryConfig({keys:["openaiBaseUrl","openaiBaseKey","openaiTimeout","openaiBaseModel","openaiTemperature","mjNotSaveImg","mjProxyImgUrl","systemPreMessage","mjNotUseProxy","isMjTranslate","mjTranslatePrompt","isDalleChat","isModelInherited"]}),{openaiBaseUrl:a="",openaiBaseKey:g="",openaiTimeout:x=300,openaiBaseModel:b="gpt-3.5-turbo",openaiTemperature:p=1,isMjTranslate:s="",mjNotSaveImg:n,mjProxyImgUrl:i,systemPreMessage:m,mjNotUseProxy:f,mjTranslatePrompt:_,isDalleChat:h,isModelInherited:y}=u.data;Object.assign(t,{openaiBaseUrl:a,openaiBaseKey:g,openaiTimeout:x,isMjTranslate:s,openaiTemperature:p,openaiBaseModel:b,mjNotSaveImg:n,mjProxyImgUrl:i,systemPreMessage:m,mjNotUseProxy:f,mjTranslatePrompt:_,isDalleChat:h,isModelInherited:y})}function I(){var u;(u=v.value)==null||u.validate(async a=>{if(a){try{await w.setConfig({settings:C(t)}),B.success("变更配置信息成功")}catch{}T()}else B.error("请填写完整信息")})}function C(u){return Object.keys(u).map(a=>({configKey:a,configVal:u[a]}))}return D(()=>{T()}),(u,a)=>{const g=E,x=O,b=q,p=d("el-input"),s=d("el-form-item"),n=d("el-col"),i=d("el-row"),m=d("el-switch"),f=d("el-icon"),_=d("el-tooltip"),h=d("el-input-number"),y=d("el-form"),k=d("el-card");return S(),A("div",null,[e(b,null,{title:l(()=>[$]),content:l(()=>[H]),default:l(()=>[e(x,{text:"",outline:"",onClick:I},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:l(()=>[e(y,{ref_key:"formRef",ref:v,rules:P.value,model:t,"label-width":"220px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"请求地址",prop:"openaiBaseUrl","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiBaseUrl,"onUpdate:modelValue":a[0]||(a[0]=o=>t.openaiBaseUrl=o),placeholder:"默认地址: https://api.openai.com 第三方代理推荐:https://api.lightai.io",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(s,{label:"全局key",prop:"openaiBaseKey","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiBaseKey,"onUpdate:modelValue":a[1]||(a[1]=o=>t.openaiBaseKey=o),placeholder:"请填写模型全局 Key 信息,当模型 Key 为空时调用",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(s,{label:"全局模型",prop:"openaiBaseModel","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiBaseModel,"onUpdate:modelValue":a[2]||(a[2]=o=>t.openaiBaseModel=o),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(s,{label:"继承对话模型",prop:"isModelInherited","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isModelInherited,"onUpdate:modelValue":a[3]||(a[3]=o=>t.isModelInherited=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(_,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[J]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(M(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"连续绘画",prop:"isDalleChat","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isDalleChat,"onUpdate:modelValue":a[4]||(a[4]=o=>t.isDalleChat=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(_,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[R]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(M(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"提示词优化",prop:"isMjTranslate","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isMjTranslate,"onUpdate:modelValue":a[5]||(a[5]=o=>t.isMjTranslate=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(_,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[z]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(M(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(s,{label:"Temperature",prop:"openaiTemperature","label-width":"120px"},{default:l(()=>[e(h,{modelValue:t.openaiTemperature,"onUpdate:modelValue":a[6]||(a[6]=o=>t.openaiTemperature=o),"controls-position":"right",min:0,max:2,step:.1,placeholder:"模型 Temperature 设置,默认1",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(s,{label:"超时时间",prop:"openaiTimeout","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.openaiTimeout,"onUpdate:modelValue":a[7]||(a[7]=o=>t.openaiTimeout=o),placeholder:"openai超时时间设置、默认300s 单位:秒(s)",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(s,{label:"全局头部预设",prop:"systemPreMessage","label-width":"120px"},{default:l(()=>[e(p,{modelValue:t.systemPreMessage,"onUpdate:modelValue":a[8]||(a[8]=o=>t.systemPreMessage=o),type:"textarea",rows:8,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof U=="function"&&U(F);export{F as default}; diff --git a/public/admin/assets/item-Bc1_M91q.js b/public/admin/assets/item-Bc1_M91q.js deleted file mode 100644 index 0bfe973..0000000 --- a/public/admin/assets/item-Bc1_M91q.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";import"./index-DEc4xym2.js";export{o as default}; diff --git a/public/admin/assets/item-CYH3jTfY.js b/public/admin/assets/item-CYH3jTfY.js deleted file mode 100644 index 47c4e3a..0000000 --- a/public/admin/assets/item-CYH3jTfY.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as m}from"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js";import"./index-DEc4xym2.js";export{m as default}; diff --git a/public/admin/assets/item-_7iwIlqR.js b/public/admin/assets/item-_7iwIlqR.js new file mode 100644 index 0000000..385701a --- /dev/null +++ b/public/admin/assets/item-_7iwIlqR.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";import"./index-CAe0BuuW.js";export{m as default}; diff --git a/public/admin/assets/item-pwpBMREM.js b/public/admin/assets/item-pwpBMREM.js new file mode 100644 index 0000000..a58de8f --- /dev/null +++ b/public/admin/assets/item-pwpBMREM.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js";import"./index-CAe0BuuW.js";export{o as default}; diff --git a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js b/public/admin/assets/item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js similarity index 91% rename from public/admin/assets/item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js rename to public/admin/assets/item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js index c4e47e8..3e8bafc 100644 --- a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js +++ b/public/admin/assets/item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as n,f as c,g as i,c as p,e as o,t as l,P as m,Q as d}from"./index-DEc4xym2.js";const u={class:"breadcrumb-item flex items-center text-dark dark-text-white"},f={class:"separator mx-2"},k=n({__name:"item",props:{to:{},replace:{type:Boolean},separator:{default:"/"}},setup(a){const e=a,t=c();function r(){e.to&&(e.replace?t.replace(e.to):t.push(e.to))}return(s,_)=>(i(),p("div",u,[o("span",f,l(s.separator),1),o("span",{class:d(["text flex items-center opacity-60",{"is-link cursor-pointer transition-opacity hover-opacity-100":!!e.to}]),onClick:r},[m(s.$slots,"default")],2)]))}});export{k as _}; +import{d as n,f as c,g as i,c as p,e as o,t as l,P as m,Q as d}from"./index-CAe0BuuW.js";const u={class:"breadcrumb-item flex items-center text-dark dark-text-white"},f={class:"separator mx-2"},k=n({__name:"item",props:{to:{},replace:{type:Boolean},separator:{default:"/"}},setup(a){const e=a,t=c();function r(){e.to&&(e.replace?t.replace(e.to):t.push(e.to))}return(s,_)=>(i(),p("div",u,[o("span",f,l(s.separator),1),o("span",{class:d(["text flex items-center opacity-60",{"is-link cursor-pointer transition-opacity hover-opacity-100":!!e.to}]),onClick:r},[m(s.$slots,"default")],2)]))}});export{k as _}; diff --git a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js b/public/admin/assets/item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js similarity index 96% rename from public/admin/assets/item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js rename to public/admin/assets/item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js index f08e2db..5e9ce62 100644 --- a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js +++ b/public/admin/assets/item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as A}from"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";import{d as R,$ as V,r as D,p as r,n as H,g as o,c as l,b as C,w as i,i as a,z as x,e as X,A as u,Q as s,t as E,R as Q,X as T,bX as F,ae as G,j as J}from"./index-DEc4xym2.js";const L="rootMenu",Y=R({__name:"item",props:{uniqueKey:{},item:{},level:{default:0},subMenu:{type:Boolean,default:!1},expand:{type:Boolean,default:!1}},setup(N,{expose:j}){const n=N,t=V(L),p=D(),B=r(()=>n.subMenu?t.subMenus[n.uniqueKey.at(-1)].active:t.activeIndex===n.uniqueKey.at(-1)),m=r(()=>B.value&&(!n.subMenu||t.isMenuPopup)),K=r(()=>t.isMenuPopup?"":`padding-left: ${20*(n.level??0)}px`);return j({ref:p}),(e,O)=>{const I=J,q=A,z=H("router-link");return o(),l("div",{ref_key:"itemRef",ref:p,class:s(["menu-item relative transition-all",{active:a(m)}])},[C(z,{custom:"",to:e.uniqueKey.at(-1)??""},{default:i(({href:S,navigate:$})=>{var f,c,b;return[C(q,{enable:a(t).isMenuPopup&&e.level===0&&!e.subMenu,text:typeof((f=e.item.meta)==null?void 0:f.title)=="function"?(c=e.item.meta)==null?void 0:c.title():(b=e.item.meta)==null?void 0:b.title,placement:"right",class:"h-full w-full"},{default:i(()=>{var v,d,y,M,g;return[(o(),x(G(e.subMenu?"div":"a"),T({...!e.subMenu&&{href:(v=e.item.meta)!=null&&v.link?e.item.meta.link:S,target:(d=e.item.meta)!=null&&d.link?"_blank":"_self",class:"no-underline"}},{class:["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-5 py-4 text-[var(--g-sub-sidebar-menu-color)] transition-all hover-bg-[var(--g-sub-sidebar-menu-hover-bg)] hover-text-[var(--g-sub-sidebar-menu-hover-color)]",{"text-[var(--g-sub-sidebar-menu-active-color)]! bg-[var(--g-sub-sidebar-menu-active-bg)]!":a(m),"px-3!":a(t).isMenuPopup&&e.level===0}],title:typeof((y=e.item.meta)==null?void 0:y.title)=="function"?(M=e.item.meta)==null?void 0:M.title():(g=e.item.meta)==null?void 0:g.title},F({...!e.subMenu&&{click:$}})),{default:i(()=>{var h,w,k,P;return[X("div",{class:s(["inline-flex flex-1 items-center justify-center gap-[12px]",{"flex-col":a(t).isMenuPopup&&e.level===0&&a(t).props.mode==="vertical","gap-1!":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName,"w-full":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName&&a(t).props.mode==="vertical"}]),style:Q(a(K))},[(h=n.item.meta)!=null&&h.icon?(o(),x(I,{key:0,name:n.item.meta.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):u("",!0),a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName?u("",!0):(o(),l("span",{key:1,class:s(["w-0 flex-1 truncate text-sm transition-height transition-opacity transition-width",{"opacity-0 w-0 h-0":a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName,"w-full text-center":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName}])},E(typeof((w=e.item.meta)==null?void 0:w.title)=="function"?(k=e.item.meta)==null?void 0:k.title():(P=e.item.meta)==null?void 0:P.title),3))],6),e.subMenu&&!(a(t).isMenuPopup&&e.level===0)?(o(),l("i",{key:0,class:s(["relative ml-1 w-[10px] after:absolute after:h-[1.5px] after:w-[6px] after:bg-current after:transition-transform-200 after:content-empty after:-translate-y-[1px] before:absolute before:h-[1.5px] before:w-[6px] before:bg-current before:transition-transform-200 before:content-empty before:-translate-y-[1px]",[e.expand?"before:-rotate-45 before:-translate-x-[2px] after:rotate-45 after:translate-x-[2px]":"before:rotate-45 before:-translate-x-[2px] after:-rotate-45 after:translate-x-[2px]",a(t).isMenuPopup&&e.level===0&&"opacity-0",a(t).isMenuPopup&&e.level!==0&&"-rotate-90 -top-[1.5px]"]])},null,2)):u("",!0)]}),_:2},1040,["class","title"]))]}),_:2},1032,["enable","text"])]}),_:1},8,["to"])],2)}}});export{Y as _,L as r}; +import{_ as A}from"./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js";import{d as R,$ as V,r as D,p as r,n as H,g as o,c as l,b as C,w as i,i as a,z as x,e as X,A as u,Q as s,t as E,R as Q,X as T,bX as F,ae as G,j as J}from"./index-CAe0BuuW.js";const L="rootMenu",Y=R({__name:"item",props:{uniqueKey:{},item:{},level:{default:0},subMenu:{type:Boolean,default:!1},expand:{type:Boolean,default:!1}},setup(N,{expose:j}){const n=N,t=V(L),p=D(),B=r(()=>n.subMenu?t.subMenus[n.uniqueKey.at(-1)].active:t.activeIndex===n.uniqueKey.at(-1)),m=r(()=>B.value&&(!n.subMenu||t.isMenuPopup)),K=r(()=>t.isMenuPopup?"":`padding-left: ${20*(n.level??0)}px`);return j({ref:p}),(e,O)=>{const I=J,q=A,z=H("router-link");return o(),l("div",{ref_key:"itemRef",ref:p,class:s(["menu-item relative transition-all",{active:a(m)}])},[C(z,{custom:"",to:e.uniqueKey.at(-1)??""},{default:i(({href:S,navigate:$})=>{var f,c,b;return[C(q,{enable:a(t).isMenuPopup&&e.level===0&&!e.subMenu,text:typeof((f=e.item.meta)==null?void 0:f.title)=="function"?(c=e.item.meta)==null?void 0:c.title():(b=e.item.meta)==null?void 0:b.title,placement:"right",class:"h-full w-full"},{default:i(()=>{var v,d,y,M,g;return[(o(),x(G(e.subMenu?"div":"a"),T({...!e.subMenu&&{href:(v=e.item.meta)!=null&&v.link?e.item.meta.link:S,target:(d=e.item.meta)!=null&&d.link?"_blank":"_self",class:"no-underline"}},{class:["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-5 py-4 text-[var(--g-sub-sidebar-menu-color)] transition-all hover-bg-[var(--g-sub-sidebar-menu-hover-bg)] hover-text-[var(--g-sub-sidebar-menu-hover-color)]",{"text-[var(--g-sub-sidebar-menu-active-color)]! bg-[var(--g-sub-sidebar-menu-active-bg)]!":a(m),"px-3!":a(t).isMenuPopup&&e.level===0}],title:typeof((y=e.item.meta)==null?void 0:y.title)=="function"?(M=e.item.meta)==null?void 0:M.title():(g=e.item.meta)==null?void 0:g.title},F({...!e.subMenu&&{click:$}})),{default:i(()=>{var h,w,k,P;return[X("div",{class:s(["inline-flex flex-1 items-center justify-center gap-[12px]",{"flex-col":a(t).isMenuPopup&&e.level===0&&a(t).props.mode==="vertical","gap-1!":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName,"w-full":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName&&a(t).props.mode==="vertical"}]),style:Q(a(K))},[(h=n.item.meta)!=null&&h.icon?(o(),x(I,{key:0,name:n.item.meta.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):u("",!0),a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName?u("",!0):(o(),l("span",{key:1,class:s(["w-0 flex-1 truncate text-sm transition-height transition-opacity transition-width",{"opacity-0 w-0 h-0":a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName,"w-full text-center":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName}])},E(typeof((w=e.item.meta)==null?void 0:w.title)=="function"?(k=e.item.meta)==null?void 0:k.title():(P=e.item.meta)==null?void 0:P.title),3))],6),e.subMenu&&!(a(t).isMenuPopup&&e.level===0)?(o(),l("i",{key:0,class:s(["relative ml-1 w-[10px] after:absolute after:h-[1.5px] after:w-[6px] after:bg-current after:transition-transform-200 after:content-empty after:-translate-y-[1px] before:absolute before:h-[1.5px] before:w-[6px] before:bg-current before:transition-transform-200 before:content-empty before:-translate-y-[1px]",[e.expand?"before:-rotate-45 before:-translate-x-[2px] after:rotate-45 after:translate-x-[2px]":"before:rotate-45 before:-translate-x-[2px] after:-rotate-45 after:translate-x-[2px]",a(t).isMenuPopup&&e.level===0&&"opacity-0",a(t).isMenuPopup&&e.level!==0&&"-rotate-90 -top-[1.5px]"]])},null,2)):u("",!0)]}),_:2},1040,["class","title"]))]}),_:2},1032,["enable","text"])]}),_:1},8,["to"])],2)}}});export{Y as _,L as r}; diff --git a/public/admin/assets/key-CZ1ImD0H.js b/public/admin/assets/key-DCiaxDgO.js similarity index 51% rename from public/admin/assets/key-CZ1ImD0H.js rename to public/admin/assets/key-DCiaxDgO.js index 06b55dd..342e41c 100644 --- a/public/admin/assets/key-CZ1ImD0H.js +++ b/public/admin/assets/key-DCiaxDgO.js @@ -5,5 +5,5 @@ * https://fantastic-admin.github.io */ -import{_ as Me}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 G,d as Se,r as k,m as E,p as H,a as Ae,n as m,q as Ce,g as n,c as M,b as l,w as t,h as s,F as D,s as L,i as u,y as oe,z as c,t as y,e as f,J as I,A as V,B as De,C as Le,D as qe,E as z,G as Fe,H as de,j as Oe,_ as Re,k as ne}from"./index-DEc4xym2.js";import{u as Pe}from"./utcformatTime-Bq4gDWNx.js";import{c as re,M as Be,d as Ie,e as ze,f as $e,g as je}from"./index-J5zVJPyL.js";const X={queryModels:C=>G.get("models/query",{params:C}),setModels:C=>G.post("models/setModel",C),delModels:C=>G.post("models/delModel",C)},Ye=f("div",{class:"flex items-center gap-4"},"模型配置说明",-1),Ke=f("div",{class:"text-sm/6"},[f("div",null,"模型分为(基础对话|创意模型|特殊模型三类)。"),f("div",null," 基础对话:用户可以在用户端选择的模型,用于对话、问答、聊天等功能,仅支持 OpenAI Chat 格式,其他模型需自行使用分发程序适配。 "),f("div",null," 创意模型:用户端不展示,包含【Midjourney 绘图】【Dalle 绘图】【SDXL 绘图】【Suno音乐】,用于插件调用。 "),f("div",null,[s(" 其中,其中 Midjourney 对接 Midjourney-Proxy-Plus 格式,SDXL、LumaVideo 及 SunoMusic 适配 "),f("a",{href:"https://api.openai.com",target:"_blank"},"LightAi API"),s(" 格式。 ")]),f("div",null,"特殊模型:用户端不展示,包含【TTS朗读】【GPTs】。")],-1),Je={class:"w-full overflow-y-scroll whitespace-nowrap"},Ge=f("div",{style:{width:"250px"}}," 关闭将在用户端隐藏此模型、但不会影响后台的调用 ",-1),Ee=["src"],He={class:"input-with-text"},Xe=f("div",{style:{width:"250px"}},"模型排序,越小越靠前。",-1),Qe={class:"input-with-text"},We=f("span",{class:"unit-text"},"次/小时",-1),Ze=f("div",{style:{width:"250px"}}," 选择是否开启文件上传及其格式,逆向格式【直接附带链接,仅支持逆向渠道】,4o格式【OpenAI Chat 的识图格式,仅支持图片】,文件分析【内置方式的文件分析,支持全模型分析带文字的文件】(仅开发版支持) ",-1),el=f("div",{style:{width:"250px"}}," 基于 token 计费,每次扣除的积分 = 单次扣除金额 *(token 消耗 / token 计费比例)结果向上取整【例如开启 token 计费,单次扣除金额为 3 积分,token 计费比例为 1000,用户调用消耗 1500 token,那么扣除的积分为 3 *(1500 / 1000)向上取整 6 积分】 ",-1),ll={class:"mr-5 flex justify-end"},tl=Se({__name:"key",setup(C){k();const Q=k(),W=k(0),N=k(!1),q=k(!1),se=k(!1);k(!1);const g=E({keyType:"",model:"",status:null,page:1,size:10}),$=k(),S=k(0),o=E({keyType:1,modelName:"",key:"",modelAvatar:"",status:!0,model:"",isTokenBased:!1,tokenFeeRatio:1e3,modelOrder:1,maxModelTokens:8e3,proxyUrl:"",timeout:300,deduct:1,deductType:1,maxRounds:12,isFileUpload:0,modelLimits:50,modelDescription:""}),Z=k(`/api/upload/file?dir=${encodeURIComponent("system/models")}`),ue=E({keyType:[{required:!0,message:"请选择调用模型类型",trigger:"blur"}],modelName:[{required:!0,message:"请填写您的模型名称",trigger:"blur"}],key:[{required:!1,message:"请填写您的调用模型key",trigger:"blur"}],status:[{required:!0,message:"请选择key的启用状态",trigger:"change"}],isFileUpload:[{required:!1,message:"请选择当前模型是否开启文件上传及支持种类",trigger:"change"}],isTokenBased:[{required:!0,message:"请选择当前key是否基于token计费",trigger:"change"}],tokenFeeRatio:[{required:!1,message:"token计费比例",trigger:"change"}],model:[{required:!0,message:"请选择当前key需要绑定的模型",trigger:"change"}],modelOrder:[{required:!0,message:"请填写当前模型排序",trigger:"blur"}],maxModelTokens:[{required:!0,message:"请填写模型最大token数",trigger:"blur"}],proxyUrl:[{required:!1,message:"请填写指定代理地址",trigger:"blur"}],modelAvatar:[{required:!1,message:"请填写AI模型使用的头像, 不填写使用系统默认",trigger:"blur"}],timeout:[{required:!0,message:"请填写超时时间 默认 60 单位(秒)",trigger:"blur"}],deductType:[{required:!0,message:"请选择当前模型扣费类型",trigger:"change"}],deduct:[{required:!0,message:"请填写当前模型扣费金额(需要是正整数)",trigger:"blur"}],maxRounds:[{required:!0,message:"请填写允许用户选择的最大上下文轮次",trigger:"blur"}],modelLimits:[{required:!0,message:"请填写模型调用频率限制",trigger:"blur"}],modelDescription:[{required:!1,message:"请填写模型描述",trigger:"blur"}]});function ie(d){S.value=0,d==null||d.resetFields()}const pe=H(()=>je[o.keyType]),me=H(()=>S.value?"修改模型":"新增模型"),ce=H(()=>S.value?"确认更新":"确认新增"),ee=k([]);async function A(){try{q.value=!0;const d=await X.queryModels(g);q.value=!1;const{rows:a,count:i}=d.data;W.value=i,ee.value=a}catch{q.value=!1}}async function fe(d){const{id:a}=d;await X.delModels({id:a}),z({type:"success",message:"操作完成!"}),A()}function ye(d){S.value=d.id;const{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U}=d;Fe(()=>{Object.assign(o,{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U})}),N.value=!0}function ge(d){d==null||d.resetFields(),A()}async function _e(){if(o.modelAvatar){const d=await be(o.modelAvatar);ke(d,le)}}function ke(d,a){const i=new FormData;i.append("file",d),de.post(Z.value,i,{headers:{"Content-Type":"multipart/form-data"}}).then(_=>{a(_.data)}).catch(_=>{console.error("上传失败",_)})}async function be(d){const a=await de.get(d,{responseType:"blob"});let i="downloaded_file";const _=a.headers["content-disposition"];if(_){const w=/filename="([^"]+)"/.exec(_);w!=null&&w[1]&&(i=w[1])}else i=ve(d);return new File([a.data],i,{type:a.data.type})}function ve(d){const i=new URL(d).pathname;return i.substring(i.lastIndexOf("/")+1)}async function we(d){d==null||d.validate(async a=>{if(a){const i=JSON.parse(JSON.stringify(o));if(delete i.id,S.value&&(i.id=S.value),Number(o.keyType)===1){const w=JSON.parse(JSON.stringify(o.key)).split(` -`);i.key=w}await X.setModels(i),z({type:"success",message:"操作成功!"}),S.value=0,N.value=!1,A()}})}const le=(d,a)=>{console.log("response: ",d.data),o.modelAvatar=d.data},Te=d=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(d.type)){if(d.size/1024>300)return z.error("当前限制文件最大不超过 300KB!"),!1}else return z.error("当前系统仅支持 PNG、JPEG、GIF 和 WebP 格式的图片!"),!1};return Ae(()=>{A()}),(d,a)=>{const i=Oe,_=Re,w=Ne,x=m("el-option"),h=m("el-select"),r=m("el-form-item"),b=m("el-button"),F=m("el-form"),O=Me,T=m("el-tag"),p=m("el-table-column"),j=m("el-popconfirm"),Y=m("el-table"),K=m("el-pagination"),J=m("el-row"),R=m("el-switch"),U=m("el-icon"),P=m("el-tooltip"),v=m("el-input"),Ve=m("el-upload"),te=m("el-input-number"),B=m("el-radio"),xe=m("el-radio-group"),he=m("el-dialog"),ae=Ce("loading");return n(),M("div",null,[l(w,null,{title:t(()=>[Ye]),content:t(()=>[Ke]),default:t(()=>[l(_,{outline:"",type:"success",onClick:a[0]||(a[0]=e=>N.value=!0)},{default:t(()=>[l(i,{name:"i-ri:file-text-line"}),s(" 添加模型 ")]),_:1})]),_:1}),l(O,null,{default:t(()=>[l(F,{ref_key:"formRef",ref:Q,inline:!0,model:g},{default:t(()=>[l(r,{label:"模型类型",prop:"model"},{default:t(()=>[l(h,{modelValue:g.keyType,"onUpdate:modelValue":a[1]||(a[1]=e=>g.keyType=e),filterable:"","allow-create":"",placeholder:"请选择或填写绑定的模型",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,L(u(re),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"使用模型",prop:"model"},{default:t(()=>[l(h,{modelValue:g.model,"onUpdate:modelValue":a[2]||(a[2]=e=>g.model=e),filterable:"","allow-create":"",placeholder:"请选择或填写绑定的模型",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,L(u(Be),e=>(n(),c(x,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"启用状态",prop:"status"},{default:t(()=>[l(h,{modelValue:g.status,"onUpdate:modelValue":a[3]||(a[3]=e=>g.status=e),placeholder:"请选择key启用状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,L(u(Ie),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,null,{default:t(()=>[l(b,{type:"primary",onClick:A},{default:t(()=>[s(" 查询 ")]),_:1}),l(b,{onClick:a[4]||(a[4]=e=>ge(u(Q)))},{default:t(()=>[s(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(O,{style:{width:"100%"}},{default:t(()=>[oe((n(),c(Y,{border:"",data:u(ee),style:{width:"100%"},size:"large"},{default:t(()=>[l(p,{prop:"keyType",label:"模型类型",width:"120"},{default:t(e=>[l(T,{type:"success"},{default:t(()=>[s(y(u(ze)[e.row.keyType]),1)]),_:2},1024)]),_:1}),l(p,{prop:"modelOrder",label:"模型排序",width:"90",align:"center"}),l(p,{prop:"modelLimits",label:"频率限制",width:"90",align:"center"}),l(p,{prop:"modelName",label:"模型名称",width:"180"}),l(p,{prop:"status",align:"center",label:"启用状态",width:"90"},{default:t(e=>[l(T,{type:e.row.status?"success":"danger"},{default:t(()=>[s(y(e.row.status?"使用中":"已暂停"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"key",label:"模型KEY",width:"460"},{default:t(e=>[f("div",Je,y(e.row.key),1)]),_:1}),l(p,{prop:"model",align:"center",label:"绑定模型",width:"180"},{default:t(e=>[l(T,{type:e.row.model.includes("gpt-4")?"success":"info"},{default:t(()=>[s(y(e.row.model),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"isTokenBased",align:"center",label:"Token计费",width:"120"},{default:t(e=>[l(T,{type:e.row.isTokenBased?"success":"danger"},{default:t(()=>[s(y(e.row.isTokenBased?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"deductType",align:"center",label:"扣费类型",width:"90"},{default:t(e=>[l(T,{type:e.row.deductType===1?"success":e.row.deductType===2?"warning":"info"},{default:t(()=>[s(y(e.row.deductType===1?"普通积分":e.row.deductType===2?"高级积分":"绘画积分"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"deduct",align:"center",label:"单次扣除",width:"90"},{default:t(e=>[l(T,{type:e.row.deductType===1?"success":"warning"},{default:t(()=>[s(y(`${e.row.deduct} 积分`),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"useCount",align:"center",label:"调用次数",width:"90"}),l(p,{prop:"useToken",align:"center",label:"已使用Token",width:"120"}),l(p,{prop:"keyStatus",align:"center",label:"key状态",width:"110"},{default:t(e=>[l(T,{type:e.row.keyStatus===1?"success":"danger"},{default:t(()=>[s(y(e.row.keyStatus===1?"正常工作":e.row.keyStatus===-1?"已被封禁":"余额耗尽 "),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"maxModelTokens",align:"center",label:"模型最大上下文",width:"140"},{default:t(e=>[l(b,{type:"info",text:""},{default:t(()=>[s(y(e.row.maxModelTokens||"-"),1)]),_:2},1024)]),_:1}),l(p,{prop:"proxyUrl",align:"center",label:"绑定的代理地址",width:"140"},{default:t(e=>[l(b,{type:"info",text:""},{default:t(()=>[s(y(e.row.proxyUrl||"-"),1)]),_:2},1024)]),_:1}),l(p,{prop:"proxyUrl",align:"center",label:"变更提示信息",width:"180"},{default:t(e=>[s(y(e.row.remark||"-"),1)]),_:1}),l(p,{prop:"createdAt",align:"center",label:"添加时间",width:"120"},{default:t(e=>[s(y(u(Pe)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),l(p,{fixed:"right",label:"操作",width:"200"},{default:t(e=>[l(b,{link:"",type:"primary",size:"small",onClick:Ue=>ye(e.row)},{default:t(()=>[s(" 变更 ")]),_:2},1032,["onClick"]),l(j,{title:"确认删除此秘钥么?",width:"180","icon-color":"red",onConfirm:Ue=>fe(e.row)},{reference:t(()=>[l(b,{link:"",type:"danger",size:"small"},{default:t(()=>[s(" 删除秘钥 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[ae,u(q)]]),l(J,{class:"mt-5 flex justify-end"},{default:t(()=>[l(K,{"current-page":g.page,"onUpdate:currentPage":a[5]||(a[5]=e=>g.page=e),"page-size":g.size,"onUpdate:pageSize":a[6]||(a[6]=e=>g.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u(W),onSizeChange:A,onCurrentChange:A},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(he,{modelValue:u(N),"onUpdate:modelValue":a[27]||(a[27]=e=>qe(N)?N.value=e:null),"close-on-click-modal":!1,title:me.value,width:"770",class:"max-h-[90vh] overflow-y-auto rounded-md p-4",onClose:a[28]||(a[28]=e=>ie(u($)))},{footer:t(()=>[f("span",ll,[l(b,{onClick:a[25]||(a[25]=e=>N.value=!1)},{default:t(()=>[s("取消")]),_:1}),l(b,{type:"primary",onClick:a[26]||(a[26]=e=>we(u($)))},{default:t(()=>[s(y(ce.value),1)]),_:1})])]),default:t(()=>[oe((n(),c(F,{ref_key:"formPackageRef",ref:$,"label-position":"right","label-width":"120px",model:o,rules:ue},{default:t(()=>[l(r,{label:"模型类型选择",prop:"keyType"},{default:t(()=>[l(h,{modelValue:o.keyType,"onUpdate:modelValue":a[7]||(a[7]=e=>o.keyType=e),placeholder:"请选择模型类型",style:{width:"100%"}},{default:t(()=>[(n(!0),M(D,null,L(u(re),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:0,label:"用户端显示",prop:"status"},{default:t(()=>[l(R,{modelValue:o.status,"onUpdate:modelValue":a[8]||(a[8]=e=>o.status=e)},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Ge]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),l(r,{label:"模型显示名称",prop:"modelName"},{default:t(()=>[l(v,{modelValue:o.modelName,"onUpdate:modelValue":a[9]||(a[9]=e=>o.modelName=e),placeholder:"请填写模型显示名称(用户端看到的)"},null,8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:1,label:"模型简介",prop:"key"},{default:t(()=>[l(v,{modelValue:o.modelDescription,"onUpdate:modelValue":a[10]||(a[10]=e=>o.modelDescription=e),type:"text",placeholder:"请填写模型简介"},null,8,["modelValue"])]),_:1})):V("",!0),[1].includes(Number(o.keyType))?(n(),c(r,{key:2,label:"模型图标",prop:"modelAvatar"},{default:t(()=>[l(v,{modelValue:o.modelAvatar,"onUpdate:modelValue":a[11]||(a[11]=e=>o.modelAvatar=e),placeholder:"请填写或上传网站模型图标",clearable:""},{append:t(()=>[l(Ve,{class:"avatar-uploader",action:u(Z),"show-file-list":!1,"on-success":le,"before-upload":Te,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:t(()=>[o.modelAvatar?(n(),M("img",{key:0,src:o.modelAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ee)):(n(),c(U,{key:1,style:{width:"1rem"}},{default:t(()=>[l(u(De))]),_:1}))]),_:1},8,["action"]),o.modelAvatar?(n(),c(U,{key:0,onClick:_e,style:{"margin-left":"35px",width:"1rem"}},{default:t(()=>[l(u(Le))]),_:1})):V("",!0)]),_:1},8,["modelValue"])]),_:1})):V("",!0),l(r,{label:"模型排序",prop:"modelLimits"},{default:t(()=>[f("div",He,[l(te,{modelValue:o.modelOrder,"onUpdate:modelValue":a[12]||(a[12]=e=>o.modelOrder=e),max:999,min:0,step:10,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Xe]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})])]),_:1}),l(r,{label:"模型调用频率",prop:"modelLimits"},{default:t(()=>[f("div",Qe,[l(te,{modelValue:o.modelLimits,"onUpdate:modelValue":a[13]||(a[13]=e=>o.modelLimits=e),max:999,min:0,step:5,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"]),We])]),_:1}),l(r,{label:"指定代理地址",prop:"proxyUrl"},{default:t(()=>[l(v,{modelValue:o.proxyUrl,"onUpdate:modelValue":a[14]||(a[14]=e=>o.proxyUrl=e),modelModifiers:{number:!0},placeholder:"如需使用代理请填写、不填写默认使用全局配置!"},null,8,["modelValue"])]),_:1}),l(r,{label:"模型密钥",prop:"key"},{default:t(()=>[l(v,{modelValue:o.key,"onUpdate:modelValue":a[15]||(a[15]=e=>o.key=e),type:"text",placeholder:"请填写模型Key"},null,8,["modelValue"])]),_:1}),l(r,{label:"账号关联模型",prop:"model"},{default:t(()=>[l(h,{modelValue:o.model,"onUpdate:modelValue":a[16]||(a[16]=e=>o.model=e),filterable:"",clearable:"",placeholder:"请选用或填写绑定的模型","allow-create":""},{default:t(()=>[(n(!0),M(D,null,L(pe.value,e=>(n(),c(x,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"模型扣费类型",prop:"deductType"},{default:t(()=>[l(h,{modelValue:o.deductType,"onUpdate:modelValue":a[17]||(a[17]=e=>o.deductType=e),filterable:"","allow-create":"",clearable:"",placeholder:"请选用模型扣费类型"},{default:t(()=>[(n(!0),M(D,null,L(u($e),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"单次扣除金额",prop:"deduct"},{default:t(()=>[l(v,{modelValue:o.deduct,"onUpdate:modelValue":a[18]||(a[18]=e=>o.deduct=e),modelModifiers:{number:!0},placeholder:"请填写单次调用此key的扣费金额!"},null,8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:3,label:"上下文限制",prop:"maxRounds"},{default:t(()=>[l(v,{modelValue:o.maxRounds,"onUpdate:modelValue":a[19]||(a[19]=e=>o.maxRounds=e),modelModifiers:{number:!0},placeholder:"请填写允许用户选择的最高上下文条数!"},null,8,["modelValue"])]),_:1})):V("",!0),[1].includes(Number(o.keyType))?(n(),c(r,{key:4,label:"模型最大Token",prop:"maxModelTokens"},{default:t(()=>[l(v,{modelValue:o.maxModelTokens,"onUpdate:modelValue":a[20]||(a[20]=e=>o.maxModelTokens=e),modelModifiers:{number:!0},placeholder:"请填写模型最大Token、不填写默认使用默认!"},null,8,["modelValue"])]),_:1})):V("",!0),l(r,{label:"调用超时时间",prop:"timeout"},{default:t(()=>[l(v,{modelValue:o.timeout,"onUpdate:modelValue":a[21]||(a[21]=e=>o.timeout=e),modelModifiers:{number:!0},placeholder:"请填写key的超时时间单位(秒)!"},null,8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:5,label:"文件上传",prop:"isFileUpload"},{default:t(()=>[l(xe,{modelValue:o.isFileUpload,"onUpdate:modelValue":a[22]||(a[22]=e=>o.isFileUpload=e)},{default:t(()=>[l(B,{label:0},{default:t(()=>[s(" 不使用 ")]),_:1}),l(B,{label:1},{default:t(()=>[s(" 逆向格式 ")]),_:1}),l(B,{label:2},{default:t(()=>[s(" 4o格式 ")]),_:1}),l(B,{label:3,disabled:""},{default:t(()=>[s(" 文件分析 ")]),_:1})]),_:1},8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Ze]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:6,label:"设为token计费",prop:"isTokenBased"},{default:t(()=>[l(R,{modelValue:o.isTokenBased,"onUpdate:modelValue":a[23]||(a[23]=e=>o.isTokenBased=e)},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[el]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:7,label:"token计费比例",prop:"tokenFeeRatio"},{default:t(()=>[l(v,{modelValue:o.tokenFeeRatio,"onUpdate:modelValue":a[24]||(a[24]=e=>o.tokenFeeRatio=e),modelModifiers:{number:!0},placeholder:"请填写token计费比例",style:{width:"80%"}},null,8,["modelValue"])]),_:1})):V("",!0)]),_:1},8,["model","rules"])),[[ae,u(se)]])]),_:1},8,["modelValue","title"])])}}});typeof ne=="function"&&ne(tl);export{tl as default}; +import{_ as Me}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as Ne}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{I as G,d as Se,r as k,m as E,p as H,a as Ae,n as m,q as Ce,g as n,c as M,b as l,w as t,h as s,F as D,s as q,i as u,y as oe,z as c,t as y,e as f,J as I,A as V,B as De,C as qe,D as Le,E as z,G as Fe,H as de,j as Oe,_ as Re,k as ne}from"./index-CAe0BuuW.js";import{u as Pe}from"./utcformatTime-Bq4gDWNx.js";import{c as re,M as Be,d as Ie,e as ze,f as $e,g as je}from"./index-DfBvkKrB.js";const X={queryModels:C=>G.get("models/query",{params:C}),setModels:C=>G.post("models/setModel",C),delModels:C=>G.post("models/delModel",C)},Ye=f("div",{class:"flex items-center gap-4"},"模型配置说明",-1),Ke=f("div",{class:"text-sm/6"},[f("div",null,"模型分为(基础对话|创意模型|特殊模型三类)。"),f("div",null," 基础对话:用户可以在用户端选择的模型,用于对话、问答、聊天等功能,仅支持 OpenAI Chat 格式,其他模型需自行使用分发程序适配。 "),f("div",null," 创意模型:用户端不展示,包含【Midjourney 绘图】【Dalle 绘图】【SDXL 绘图】【Suno音乐】,用于插件调用。 "),f("div",null,[s(" 其中,其中 Midjourney 对接 Midjourney-Proxy-Plus 格式,SDXL、LumaVideo 及 SunoMusic 适配 "),f("a",{href:"https://api.openai.com",target:"_blank"},"LightAi API"),s(" 格式。 ")]),f("div",null,"特殊模型:用户端不展示,包含【TTS朗读】【GPTs】。")],-1),Je={class:"w-full overflow-y-scroll whitespace-nowrap"},Ge=f("div",{style:{width:"250px"}}," 关闭将在用户端隐藏此模型、但不会影响后台的调用 ",-1),Ee=["src"],He={class:"input-with-text"},Xe=f("div",{style:{width:"250px"}},"模型排序,越小越靠前。",-1),Qe={class:"input-with-text"},We=f("span",{class:"unit-text"},"次/小时",-1),Ze=f("div",{style:{width:"250px"}}," 选择是否开启文件上传及其格式,逆向格式【直接附带链接,仅支持逆向渠道】,4o格式【OpenAI Chat 的识图格式,仅支持图片】,文件分析【内置方式的文件分析,支持全模型分析带文字的文件】 ",-1),el=f("div",{style:{width:"250px"}}," 关联 token 的梯度计费模型,每次扣除的积分 = 单次扣除金额 *(token 消耗 / token 计费比例)结果向上取整【例如单次扣除金额为 3 积分,token 计费比例为 1000,用户调用消耗 2500 token,那么扣除的积分为 3 *(1500 / 1000)向上取整 9 积分】 ",-1),ll={class:"mr-5 flex justify-end"},tl=Se({__name:"key",setup(C){k();const Q=k(),W=k(0),N=k(!1),L=k(!1),se=k(!1);k(!1);const g=E({keyType:"",model:"",status:null,page:1,size:10}),$=k(),S=k(0),o=E({keyType:1,modelName:"",key:"",modelAvatar:"",status:!0,model:"",isTokenBased:!1,tokenFeeRatio:1e3,modelOrder:0,maxModelTokens:8e3,proxyUrl:"",timeout:300,deduct:1,deductType:1,maxRounds:12,isFileUpload:0,modelLimits:50,modelDescription:""}),Z=k(`/api/upload/file?dir=${encodeURIComponent("system/models")}`),ue=E({keyType:[{required:!0,message:"请选择调用模型类型",trigger:"blur"}],modelName:[{required:!0,message:"请填写您的模型名称",trigger:"blur"}],key:[{required:!1,message:"请填写您的调用模型key",trigger:"blur"}],status:[{required:!0,message:"请选择key的启用状态",trigger:"change"}],isFileUpload:[{required:!1,message:"请选择当前模型是否开启文件上传及支持种类",trigger:"change"}],isTokenBased:[{required:!0,message:"请选择当前key是否基于token计费",trigger:"change"}],tokenFeeRatio:[{required:!1,message:"token计费比例",trigger:"change"}],model:[{required:!0,message:"请选择当前key需要绑定的模型",trigger:"change"}],modelOrder:[{required:!0,message:"请填写当前模型排序",trigger:"blur"}],maxModelTokens:[{required:!0,message:"请填写模型最大token数",trigger:"blur"}],proxyUrl:[{required:!1,message:"请填写指定代理地址",trigger:"blur"}],modelAvatar:[{required:!1,message:"请填写AI模型使用的头像, 不填写使用系统默认",trigger:"blur"}],timeout:[{required:!0,message:"请填写超时时间 默认 60 单位(秒)",trigger:"blur"}],deductType:[{required:!0,message:"请选择当前模型扣费类型",trigger:"change"}],deduct:[{required:!0,message:"请填写当前模型扣费金额(需要是正整数)",trigger:"blur"}],maxRounds:[{required:!0,message:"请填写允许用户选择的最大上下文轮次",trigger:"blur"}],modelLimits:[{required:!0,message:"请填写模型调用频率限制",trigger:"blur"}],modelDescription:[{required:!1,message:"请填写模型描述",trigger:"blur"}]});function ie(d){S.value=0,d==null||d.resetFields()}const pe=H(()=>je[o.keyType]),me=H(()=>S.value?"修改模型":"新增模型"),ce=H(()=>S.value?"确认更新":"确认新增"),ee=k([]);async function A(){try{L.value=!0;const d=await X.queryModels(g);L.value=!1;const{rows:a,count:i}=d.data;W.value=i,ee.value=a}catch{L.value=!1}}async function fe(d){const{id:a}=d;await X.delModels({id:a}),z({type:"success",message:"操作完成!"}),A()}function ye(d){S.value=d.id;const{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U}=d;Fe(()=>{Object.assign(o,{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U})}),N.value=!0}function ge(d){d==null||d.resetFields(),A()}async function _e(){if(o.modelAvatar){const d=await be(o.modelAvatar);ke(d,le)}}function ke(d,a){const i=new FormData;i.append("file",d),de.post(Z.value,i,{headers:{"Content-Type":"multipart/form-data"}}).then(_=>{a(_.data)}).catch(_=>{console.error("上传失败",_)})}async function be(d){const a=await de.get(d,{responseType:"blob"});let i="downloaded_file";const _=a.headers["content-disposition"];if(_){const w=/filename="([^"]+)"/.exec(_);w!=null&&w[1]&&(i=w[1])}else i=ve(d);return new File([a.data],i,{type:a.data.type})}function ve(d){const i=new URL(d).pathname;return i.substring(i.lastIndexOf("/")+1)}async function we(d){d==null||d.validate(async a=>{if(a){const i=JSON.parse(JSON.stringify(o));if(delete i.id,S.value&&(i.id=S.value),Number(o.keyType)===1){const w=JSON.parse(JSON.stringify(o.key)).split(` +`);i.key=w}await X.setModels(i),z({type:"success",message:"操作成功!"}),S.value=0,N.value=!1,A()}})}const le=(d,a)=>{console.log("response: ",d.data),o.modelAvatar=d.data},Te=d=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(d.type)){if(d.size/1024>300)return z.error("当前限制文件最大不超过 300KB!"),!1}else return z.error("当前系统仅支持 PNG、JPEG、GIF 和 WebP 格式的图片!"),!1};return Ae(()=>{A()}),(d,a)=>{const i=Oe,_=Re,w=Ne,x=m("el-option"),h=m("el-select"),r=m("el-form-item"),b=m("el-button"),F=m("el-form"),O=Me,T=m("el-tag"),p=m("el-table-column"),j=m("el-popconfirm"),Y=m("el-table"),K=m("el-pagination"),J=m("el-row"),R=m("el-switch"),U=m("el-icon"),P=m("el-tooltip"),v=m("el-input"),Ve=m("el-upload"),te=m("el-input-number"),B=m("el-radio"),xe=m("el-radio-group"),he=m("el-dialog"),ae=Ce("loading");return n(),M("div",null,[l(w,null,{title:t(()=>[Ye]),content:t(()=>[Ke]),default:t(()=>[l(_,{outline:"",type:"success",onClick:a[0]||(a[0]=e=>N.value=!0)},{default:t(()=>[l(i,{name:"i-ri:file-text-line"}),s(" 添加模型 ")]),_:1})]),_:1}),l(O,null,{default:t(()=>[l(F,{ref_key:"formRef",ref:Q,inline:!0,model:g},{default:t(()=>[l(r,{label:"模型类型",prop:"model"},{default:t(()=>[l(h,{modelValue:g.keyType,"onUpdate:modelValue":a[1]||(a[1]=e=>g.keyType=e),filterable:"","allow-create":"",placeholder:"请选择或填写绑定的模型",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,q(u(re),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"使用模型",prop:"model"},{default:t(()=>[l(h,{modelValue:g.model,"onUpdate:modelValue":a[2]||(a[2]=e=>g.model=e),filterable:"","allow-create":"",placeholder:"请选择或填写绑定的模型",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,q(u(Be),e=>(n(),c(x,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"启用状态",prop:"status"},{default:t(()=>[l(h,{modelValue:g.status,"onUpdate:modelValue":a[3]||(a[3]=e=>g.status=e),placeholder:"请选择key启用状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,q(u(Ie),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,null,{default:t(()=>[l(b,{type:"primary",onClick:A},{default:t(()=>[s(" 查询 ")]),_:1}),l(b,{onClick:a[4]||(a[4]=e=>ge(u(Q)))},{default:t(()=>[s(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(O,{style:{width:"100%"}},{default:t(()=>[oe((n(),c(Y,{border:"",data:u(ee),style:{width:"100%"},size:"large"},{default:t(()=>[l(p,{prop:"keyType",label:"模型类型",width:"120"},{default:t(e=>[l(T,{type:"success"},{default:t(()=>[s(y(u(ze)[e.row.keyType]),1)]),_:2},1024)]),_:1}),l(p,{prop:"modelOrder",label:"模型排序",width:"90",align:"center"}),l(p,{prop:"modelLimits",label:"频率限制",width:"90",align:"center"}),l(p,{prop:"modelName",label:"模型名称",width:"180"}),l(p,{prop:"status",align:"center",label:"启用状态",width:"90"},{default:t(e=>[l(T,{type:e.row.status?"success":"danger"},{default:t(()=>[s(y(e.row.status?"使用中":"已暂停"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"key",label:"模型KEY",width:"460"},{default:t(e=>[f("div",Je,y(e.row.key),1)]),_:1}),l(p,{prop:"model",align:"center",label:"绑定模型",width:"180"},{default:t(e=>[l(T,{type:e.row.model.includes("gpt-4")?"success":"info"},{default:t(()=>[s(y(e.row.model),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"isTokenBased",align:"center",label:"Token计费",width:"120"},{default:t(e=>[l(T,{type:e.row.isTokenBased?"success":"danger"},{default:t(()=>[s(y(e.row.isTokenBased?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"deductType",align:"center",label:"扣费类型",width:"90"},{default:t(e=>[l(T,{type:e.row.deductType===1?"success":e.row.deductType===2?"warning":"info"},{default:t(()=>[s(y(e.row.deductType===1?"普通积分":e.row.deductType===2?"高级积分":"绘画积分"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"deduct",align:"center",label:"单次扣除",width:"90"},{default:t(e=>[l(T,{type:e.row.deductType===1?"success":"warning"},{default:t(()=>[s(y(`${e.row.deduct} 积分`),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"useCount",align:"center",label:"调用次数",width:"90"}),l(p,{prop:"useToken",align:"center",label:"已使用Token",width:"120"}),l(p,{prop:"keyStatus",align:"center",label:"key状态",width:"110"},{default:t(e=>[l(T,{type:e.row.keyStatus===1?"success":"danger"},{default:t(()=>[s(y(e.row.keyStatus===1?"正常工作":e.row.keyStatus===-1?"已被封禁":"余额耗尽 "),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"maxModelTokens",align:"center",label:"模型最大上下文",width:"140"},{default:t(e=>[l(b,{type:"info",text:""},{default:t(()=>[s(y(e.row.maxModelTokens||"-"),1)]),_:2},1024)]),_:1}),l(p,{prop:"proxyUrl",align:"center",label:"绑定的代理地址",width:"140"},{default:t(e=>[l(b,{type:"info",text:""},{default:t(()=>[s(y(e.row.proxyUrl||"-"),1)]),_:2},1024)]),_:1}),l(p,{prop:"proxyUrl",align:"center",label:"变更提示信息",width:"180"},{default:t(e=>[s(y(e.row.remark||"-"),1)]),_:1}),l(p,{prop:"createdAt",align:"center",label:"添加时间",width:"120"},{default:t(e=>[s(y(u(Pe)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),l(p,{fixed:"right",label:"操作",width:"200"},{default:t(e=>[l(b,{link:"",type:"primary",size:"small",onClick:Ue=>ye(e.row)},{default:t(()=>[s(" 变更 ")]),_:2},1032,["onClick"]),l(j,{title:"确认删除此秘钥么?",width:"180","icon-color":"red",onConfirm:Ue=>fe(e.row)},{reference:t(()=>[l(b,{link:"",type:"danger",size:"small"},{default:t(()=>[s(" 删除秘钥 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[ae,u(L)]]),l(J,{class:"mt-5 flex justify-end"},{default:t(()=>[l(K,{"current-page":g.page,"onUpdate:currentPage":a[5]||(a[5]=e=>g.page=e),"page-size":g.size,"onUpdate:pageSize":a[6]||(a[6]=e=>g.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u(W),onSizeChange:A,onCurrentChange:A},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(he,{modelValue:u(N),"onUpdate:modelValue":a[27]||(a[27]=e=>Le(N)?N.value=e:null),"close-on-click-modal":!1,title:me.value,width:"770",class:"max-h-[90vh] overflow-y-auto rounded-md p-4",onClose:a[28]||(a[28]=e=>ie(u($)))},{footer:t(()=>[f("span",ll,[l(b,{onClick:a[25]||(a[25]=e=>N.value=!1)},{default:t(()=>[s("取消")]),_:1}),l(b,{type:"primary",onClick:a[26]||(a[26]=e=>we(u($)))},{default:t(()=>[s(y(ce.value),1)]),_:1})])]),default:t(()=>[oe((n(),c(F,{ref_key:"formPackageRef",ref:$,"label-position":"right","label-width":"120px",model:o,rules:ue},{default:t(()=>[l(r,{label:"模型类型选择",prop:"keyType"},{default:t(()=>[l(h,{modelValue:o.keyType,"onUpdate:modelValue":a[7]||(a[7]=e=>o.keyType=e),placeholder:"请选择模型类型",style:{width:"100%"}},{default:t(()=>[(n(!0),M(D,null,q(u(re),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:0,label:"用户端显示",prop:"status"},{default:t(()=>[l(R,{modelValue:o.status,"onUpdate:modelValue":a[8]||(a[8]=e=>o.status=e)},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Ge]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),l(r,{label:"模型显示名称",prop:"modelName"},{default:t(()=>[l(v,{modelValue:o.modelName,"onUpdate:modelValue":a[9]||(a[9]=e=>o.modelName=e),placeholder:"请填写模型显示名称(用户端看到的)"},null,8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:1,label:"模型简介",prop:"key"},{default:t(()=>[l(v,{modelValue:o.modelDescription,"onUpdate:modelValue":a[10]||(a[10]=e=>o.modelDescription=e),type:"text",placeholder:"请填写模型简介"},null,8,["modelValue"])]),_:1})):V("",!0),[1].includes(Number(o.keyType))?(n(),c(r,{key:2,label:"模型图标",prop:"modelAvatar"},{default:t(()=>[l(v,{modelValue:o.modelAvatar,"onUpdate:modelValue":a[11]||(a[11]=e=>o.modelAvatar=e),placeholder:"请填写或上传网站模型图标",clearable:""},{append:t(()=>[l(Ve,{class:"avatar-uploader",action:u(Z),"show-file-list":!1,"on-success":le,"before-upload":Te,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:t(()=>[o.modelAvatar?(n(),M("img",{key:0,src:o.modelAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ee)):(n(),c(U,{key:1,style:{width:"1rem"}},{default:t(()=>[l(u(De))]),_:1}))]),_:1},8,["action"]),o.modelAvatar?(n(),c(U,{key:0,onClick:_e,style:{"margin-left":"35px",width:"1rem"}},{default:t(()=>[l(u(qe))]),_:1})):V("",!0)]),_:1},8,["modelValue"])]),_:1})):V("",!0),l(r,{label:"模型排序",prop:"modelOrder"},{default:t(()=>[f("div",He,[l(te,{modelValue:o.modelOrder,"onUpdate:modelValue":a[12]||(a[12]=e=>o.modelOrder=e),max:999,min:0,step:10,class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Xe]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})])]),_:1}),l(r,{label:"模型调用频率",prop:"modelLimits"},{default:t(()=>[f("div",Qe,[l(te,{modelValue:o.modelLimits,"onUpdate:modelValue":a[13]||(a[13]=e=>o.modelLimits=e),max:999,min:0,step:5,class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"]),We])]),_:1}),l(r,{label:"指定代理地址",prop:"proxyUrl"},{default:t(()=>[l(v,{modelValue:o.proxyUrl,"onUpdate:modelValue":a[14]||(a[14]=e=>o.proxyUrl=e),modelModifiers:{number:!0},placeholder:"如需使用代理请填写、不填写默认使用全局配置!"},null,8,["modelValue"])]),_:1}),l(r,{label:"模型密钥",prop:"key"},{default:t(()=>[l(v,{modelValue:o.key,"onUpdate:modelValue":a[15]||(a[15]=e=>o.key=e),type:"text",placeholder:"请填写模型Key"},null,8,["modelValue"])]),_:1}),l(r,{label:"账号关联模型",prop:"model"},{default:t(()=>[l(h,{modelValue:o.model,"onUpdate:modelValue":a[16]||(a[16]=e=>o.model=e),filterable:"",clearable:"",placeholder:"请选用或填写绑定的模型","allow-create":""},{default:t(()=>[(n(!0),M(D,null,q(pe.value,e=>(n(),c(x,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"模型扣费类型",prop:"deductType"},{default:t(()=>[l(h,{modelValue:o.deductType,"onUpdate:modelValue":a[17]||(a[17]=e=>o.deductType=e),filterable:"","allow-create":"",clearable:"",placeholder:"请选用模型扣费类型"},{default:t(()=>[(n(!0),M(D,null,q(u($e),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"单次扣除金额",prop:"deduct"},{default:t(()=>[l(v,{modelValue:o.deduct,"onUpdate:modelValue":a[18]||(a[18]=e=>o.deduct=e),modelModifiers:{number:!0},placeholder:"请填写单次调用此key的扣费金额!"},null,8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:3,label:"上下文限制",prop:"maxRounds"},{default:t(()=>[l(v,{modelValue:o.maxRounds,"onUpdate:modelValue":a[19]||(a[19]=e=>o.maxRounds=e),modelModifiers:{number:!0},placeholder:"请填写允许用户选择的最高上下文条数!"},null,8,["modelValue"])]),_:1})):V("",!0),[1].includes(Number(o.keyType))?(n(),c(r,{key:4,label:"模型最大Token",prop:"maxModelTokens"},{default:t(()=>[l(v,{modelValue:o.maxModelTokens,"onUpdate:modelValue":a[20]||(a[20]=e=>o.maxModelTokens=e),modelModifiers:{number:!0},placeholder:"请填写模型最大Token、不填写默认使用默认!"},null,8,["modelValue"])]),_:1})):V("",!0),l(r,{label:"调用超时时间",prop:"timeout"},{default:t(()=>[l(v,{modelValue:o.timeout,"onUpdate:modelValue":a[21]||(a[21]=e=>o.timeout=e),modelModifiers:{number:!0},placeholder:"请填写key的超时时间单位(秒)!"},null,8,["modelValue"])]),_:1}),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:5,label:"文件上传",prop:"isFileUpload"},{default:t(()=>[l(xe,{modelValue:o.isFileUpload,"onUpdate:modelValue":a[22]||(a[22]=e=>o.isFileUpload=e)},{default:t(()=>[l(B,{label:0},{default:t(()=>[s(" 不使用 ")]),_:1}),l(B,{label:1},{default:t(()=>[s(" 逆向格式 ")]),_:1}),l(B,{label:2},{default:t(()=>[s(" 4o格式 ")]),_:1}),l(B,{label:3},{default:t(()=>[s(" 文件分析 ")]),_:1})]),_:1},8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Ze]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:6,label:"token 关联计费",prop:"isTokenBased"},{default:t(()=>[l(R,{modelValue:o.isTokenBased,"onUpdate:modelValue":a[23]||(a[23]=e=>o.isTokenBased=e)},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[el]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:7,label:"token计费比例",prop:"tokenFeeRatio"},{default:t(()=>[l(v,{modelValue:o.tokenFeeRatio,"onUpdate:modelValue":a[24]||(a[24]=e=>o.tokenFeeRatio=e),modelModifiers:{number:!0},placeholder:"请填写token计费比例",style:{width:"80%"}},null,8,["modelValue"])]),_:1})):V("",!0)]),_:1},8,["model","rules"])),[[ae,u(se)]])]),_:1},8,["modelValue","title"])])}}});typeof ne=="function"&&ne(tl);export{tl as default}; diff --git a/public/admin/assets/leftSide-Bw4CimaX.js b/public/admin/assets/leftSide-Bw4CimaX.js deleted file mode 100644 index 3d3323c..0000000 --- a/public/admin/assets/leftSide-Bw4CimaX.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js";import"./index-DEc4xym2.js";import"./index-CS8LAyXh.js";import"./index-D2N8hAxR.js";import"./item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js";export{o as default}; diff --git a/public/admin/assets/leftSide-CkmChX_A.js b/public/admin/assets/leftSide-CkmChX_A.js new file mode 100644 index 0000000..6c2e692 --- /dev/null +++ b/public/admin/assets/leftSide-CkmChX_A.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js";import"./index-CAe0BuuW.js";import"./index-CprVCdi5.js";import"./index-BhXahEts.js";import"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";export{o as default}; diff --git a/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js b/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js similarity index 90% rename from public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js rename to public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js index fdd6bf9..6e21578 100644 --- a/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js +++ b/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as c,u as i,g as t,c as s,i as o,b as l,A as a,z as m,j as p}from"./index-DEc4xym2.js";import d from"./index-CS8LAyXh.js";const _={class:"flex items-center"},k=c({name:"ToolbarLeftSide",__name:"leftSide",setup(u){const e=i();return(f,r)=>{const n=p;return t(),s("div",_,[o(e).mode==="mobile"?(t(),s("div",{key:0,class:"flex-center cursor-pointer px-2 py-1 -rotate-z-180",onClick:r[0]||(r[0]=b=>o(e).toggleSidebarCollapse())},[l(n,{name:"toolbar-collapse"})])):a("",!0),o(e).settings.toolbar.breadcrumb?(t(),m(d,{key:1})):a("",!0)])}}});export{k as _}; +import{d as c,u as i,g as t,c as s,i as o,b as l,A as a,z as m,j as p}from"./index-CAe0BuuW.js";import d from"./index-CprVCdi5.js";const _={class:"flex items-center"},k=c({name:"ToolbarLeftSide",__name:"leftSide",setup(u){const e=i();return(f,r)=>{const n=p;return t(),s("div",_,[o(e).mode==="mobile"?(t(),s("div",{key:0,class:"flex-center cursor-pointer px-2 py-1 -rotate-z-180",onClick:r[0]||(r[0]=b=>o(e).toggleSidebarCollapse())},[l(n,{name:"toolbar-collapse"})])):a("",!0),o(e).settings.toolbar.breadcrumb?(t(),m(d,{key:1})):a("",!0)])}}});export{k as _}; diff --git a/public/admin/assets/link-DH7aCgYr.js b/public/admin/assets/link-Zl4a3VRf.js similarity index 80% rename from public/admin/assets/link-DH7aCgYr.js rename to public/admin/assets/link-Zl4a3VRf.js index 62a3a06..77c107c 100644 --- a/public/admin/assets/link-DH7aCgYr.js +++ b/public/admin/assets/link-Zl4a3VRf.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as u}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{d as k,N as w,Z as h,g as _,c as v,b as t,w as o,z as y,e as n,i as s,t as b,h as I,ad as g,j as B,_ as C,T as S,U as V,as as $,l as N}from"./index-DEc4xym2.js";import{_ as T}from"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";import{a as z}from"./index-DmaX5UJ_.js";const j=a=>(S("data-v-1006bdc8"),a=a(),V(),a),H={class:"absolute h-full w-full flex flex-col"},L={class:"flex flex-col items-center"},D=j(()=>n("div",{class:"my-2 text-xl text-dark dark-text-white"}," 是否访问此链接 ",-1)),E={class:"line-clamp-3"},M=k({name:"LinkView",__name:"link",setup(a){const e=w(),{copy:r,copied:p}=z();h(p,c=>{c&&$.success("复制成功",{zIndex:2e3})});function d(){window.open(e.meta.link,"_blank")}return(c,i)=>{const l=B,m=T,f=C,x=u;return _(),v("div",H,[t(g,{name:"slide-right",mode:"out-in",appear:""},{default:o(()=>[(_(),y(x,{key:s(e).meta.link,class:"flex flex-1 flex-col justify-center"},{default:o(()=>[n("div",L,[t(l,{name:"i-icon-park-twotone:planet",size:120,class:"text-ui-primary/80"}),D,n("div",{class:"my-2 max-w-[300px] cursor-pointer text-center text-[14px] text-stone-5",onClick:i[0]||(i[0]=P=>s(e).meta.link&&s(r)(s(e).meta.link))},[t(m,{text:"复制链接"},{default:o(()=>[n("div",E,b(s(e).meta.link),1)]),_:1})]),t(f,{class:"my-4",onClick:d},{default:o(()=>[t(l,{name:"i-ri:external-link-fill"}),I(" 立即访问 ")]),_:1})])]),_:1}))]),_:1})])}}}),A=N(M,[["__scopeId","data-v-1006bdc8"]]);export{A as default}; +import{_ as u}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{d as k,N as w,Z as h,g as _,c as v,b as t,w as o,z as y,e as n,i as s,t as b,h as I,ad as g,j as B,_ as C,T as S,U as V,as as $,l as N}from"./index-CAe0BuuW.js";import{_ as T}from"./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js";import{a as z}from"./index-Dp-A2VeR.js";const j=a=>(S("data-v-1006bdc8"),a=a(),V(),a),H={class:"absolute h-full w-full flex flex-col"},L={class:"flex flex-col items-center"},D=j(()=>n("div",{class:"my-2 text-xl text-dark dark-text-white"}," 是否访问此链接 ",-1)),E={class:"line-clamp-3"},M=k({name:"LinkView",__name:"link",setup(a){const e=w(),{copy:r,copied:p}=z();h(p,c=>{c&&$.success("复制成功",{zIndex:2e3})});function d(){window.open(e.meta.link,"_blank")}return(c,i)=>{const l=B,m=T,f=C,x=u;return _(),v("div",H,[t(g,{name:"slide-right",mode:"out-in",appear:""},{default:o(()=>[(_(),y(x,{key:s(e).meta.link,class:"flex flex-1 flex-col justify-center"},{default:o(()=>[n("div",L,[t(l,{name:"i-icon-park-twotone:planet",size:120,class:"text-ui-primary/80"}),D,n("div",{class:"my-2 max-w-[300px] cursor-pointer text-center text-[14px] text-stone-5",onClick:i[0]||(i[0]=P=>s(e).meta.link&&s(r)(s(e).meta.link))},[t(m,{text:"复制链接"},{default:o(()=>[n("div",E,b(s(e).meta.link),1)]),_:1})]),t(f,{class:"my-4",onClick:d},{default:o(()=>[t(l,{name:"i-ri:external-link-fill"}),I(" 立即访问 ")]),_:1})])]),_:1}))]),_:1})])}}}),A=N(M,[["__scopeId","data-v-1006bdc8"]]);export{A as default}; diff --git a/public/admin/assets/localStorage-CScPrwoq.js b/public/admin/assets/localStorage-CScPrwoq.js new file mode 100644 index 0000000..2a3f794 --- /dev/null +++ b/public/admin/assets/localStorage-CScPrwoq.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as k}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as B,m as j,r as d,a as q,n,g as E,c as N,b as e,w as t,h as $,e as s,E as p,j as H,_ as I,k as g}from"./index-CAe0BuuW.js";import{a as v}from"./config-CwtVyG0K.js";const M=s("div",{class:"flex items-center gap-4"},"本地存储参数设置",-1),O=s("div",{class:"text-sm/6"},[s("div",null," 开启后将优先使用本地存储方式保存数据,有些场景需开启跨域访问,可能需额外自行解决读写权限问题。 "),s("div",null," 文件存储目录为 /public/file,更新迁移时请做好数据维护及备份。 ")],-1),R=B({__name:"localStorage",setup(A){const a=j({localStorageStatus:"",siteUrl:""}),c=d();async function i(){const o=await v.queryConfig({keys:["localStorageStatus","siteUrl"]});Object.assign(a,o.data)}const x=d({siteUrl:[{required:!0,message:"请输入网站地址",trigger:"blur"}]});function S(){var o;(o=c.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:b(a)}),p.success("变更配置信息成功")}catch{}i()}else p.error("请填写完整信息")})}function b(o){return Object.keys(o).map(l=>({configKey:l,configVal:o[l]}))}return q(()=>{i()}),(o,l)=>{const u=H,y=I,V=k,w=n("el-switch"),_=n("el-form-item"),m=n("el-col"),f=n("el-row"),U=n("el-input"),C=n("el-form"),h=n("el-card");return E(),N("div",null,[e(V,null,{title:t(()=>[M]),content:t(()=>[O]),default:t(()=>[e(y,{outline:"",onClick:S},{default:t(()=>[e(u,{name:"i-ri:file-text-line"}),$(" 保存设置 ")]),_:1})]),_:1}),e(h,{style:{margin:"20px"}},{default:t(()=>[e(C,{ref_key:"formRef",ref:c,model:a,"label-width":"120px",rules:x.value},{default:t(()=>[e(f,null,{default:t(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(_,{label:"启用状态",prop:"localStorageStatus"},{default:t(()=>[e(w,{modelValue:a.localStorageStatus,"onUpdate:modelValue":l[0]||(l[0]=r=>a.localStorageStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(_,{label:"网站地址",prop:"siteUrl"},{default:t(()=>[e(U,{modelValue:a.siteUrl,"onUpdate:modelValue":l[1]||(l[1]=r=>a.siteUrl=r),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}}});typeof g=="function"&&g(R);export{R as default}; diff --git a/public/admin/assets/login-CbhshGNo.js b/public/admin/assets/login-gvFSAow7.js similarity index 97% rename from public/admin/assets/login-CbhshGNo.js rename to public/admin/assets/login-gvFSAow7.js index dc7cc27..f0f7f9e 100644 --- a/public/admin/assets/login-CbhshGNo.js +++ b/public/admin/assets/login-gvFSAow7.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as K,L as N,r as n,c as j,e as i,y as q,M as B,i as e,b as o,w as s,N as F,n as r,f as L,g as M,t as T,v as D,h as v,x as E,j as W,k as w}from"./index-DEc4xym2.js";const A={class:"min-h-screen flex items-center justify-center bg-gray-100"},H={id:"login-box",class:"min-h-[60vh] min-w-[40vw] items-center rounded-lg bg-gray-50 p-6 shadow-lg"},Q={class:"mb-6 text-center"},X={class:"text-xl text-gray-900 font-bold"},Z={class:"mb-4 flex items-center justify-between"},$="QUlXZWI=",G=K({__name:"login",setup(J){var p;const y=F(),x=L(),V=N(),c="AIWeb",k=atob($);if(!c.includes(k))throw document.body.innerHTML="

    ",new Error("");const S=n("login"),u=n(!1),R=n(((p=y.query.redirect)==null?void 0:p.toString())??"/"),m=n(),t=n({username:localStorage.login_username||"",password:"",remember:!!localStorage.login_username}),U=n({username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}]});function d(){m.value&&m.value.validate(_=>{_&&(u.value=!0,V.login(t.value).then(()=>{u.value=!1,t.value.remember?localStorage.setItem("login_username",t.value.username):localStorage.removeItem("login_username"),x.push(R.value)}).catch(()=>{u.value=!1}))})}return(_,l)=>{const g=W,f=r("el-icon"),b=r("el-input"),h=r("el-form-item"),z=r("el-checkbox"),C=r("el-button"),I=r("el-form");return M(),j("div",A,[i("div",H,[q(o(I,{ref_key:"loginFormRef",ref:m,model:e(t),rules:e(U),class:"login-form mx-12 my-10",autocomplete:"on"},{default:s(()=>[i("div",Q,[i("h3",X," 欢迎来到 "+T(e(c)),1)]),i("div",null,[o(h,{prop:"username",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).username,"onUpdate:modelValue":l[0]||(l[0]=a=>e(t).username=a),placeholder:"用户名",text:"",tabindex:"1",autocomplete:"on",size:"large",class:"h-10"},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:user"})]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(h,{prop:"password",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).password,"onUpdate:modelValue":l[1]||(l[1]=a=>e(t).password=a),type:"password",placeholder:"密码",tabindex:"2",autocomplete:"on","show-password":"",size:"large",class:"h-10",onKeyup:D(d,["enter"])},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:lock"})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),i("div",Z,[o(z,{modelValue:e(t).remember,"onUpdate:modelValue":l[2]||(l[2]=a=>e(t).remember=a),size:"large"},{default:s(()=>[v(" 记住我 ")]),_:1},8,["modelValue"])]),o(C,{loading:e(u),type:"primary",size:"large",class:"w-full",onClick:E(d,["prevent"])},{default:s(()=>[v(" 登录 ")]),_:1},8,["loading"])]),_:1},8,["model","rules"]),[[B,e(S)==="login"]])])])}}});typeof w=="function"&&w(G);export{G as default}; +import{d as K,L as N,r as n,c as j,e as i,y as q,M as B,i as e,b as o,w as s,N as F,n as r,f as L,g as M,t as T,v as D,h as v,x as E,j as W,k as w}from"./index-CAe0BuuW.js";const A={class:"min-h-screen flex items-center justify-center bg-gray-100"},H={id:"login-box",class:"min-h-[60vh] min-w-[40vw] items-center rounded-lg bg-gray-50 p-6 shadow-lg"},Q={class:"mb-6 text-center"},X={class:"text-xl text-gray-900 font-bold"},Z={class:"mb-4 flex items-center justify-between"},$="QUlXZWI=",G=K({__name:"login",setup(J){var p;const y=F(),x=L(),V=N(),c="AIWeb",k=atob($);if(!c.includes(k))throw document.body.innerHTML="

    ",new Error("");const S=n("login"),u=n(!1),R=n(((p=y.query.redirect)==null?void 0:p.toString())??"/"),m=n(),t=n({username:localStorage.login_username||"",password:"",remember:!!localStorage.login_username}),U=n({username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}]});function d(){m.value&&m.value.validate(_=>{_&&(u.value=!0,V.login(t.value).then(()=>{u.value=!1,t.value.remember?localStorage.setItem("login_username",t.value.username):localStorage.removeItem("login_username"),x.push(R.value)}).catch(()=>{u.value=!1}))})}return(_,l)=>{const g=W,f=r("el-icon"),b=r("el-input"),h=r("el-form-item"),z=r("el-checkbox"),C=r("el-button"),I=r("el-form");return M(),j("div",A,[i("div",H,[q(o(I,{ref_key:"loginFormRef",ref:m,model:e(t),rules:e(U),class:"login-form mx-12 my-10",autocomplete:"on"},{default:s(()=>[i("div",Q,[i("h3",X," 欢迎来到 "+T(e(c)),1)]),i("div",null,[o(h,{prop:"username",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).username,"onUpdate:modelValue":l[0]||(l[0]=a=>e(t).username=a),placeholder:"用户名",text:"",tabindex:"1",autocomplete:"on",size:"large",class:"h-10"},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:user"})]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(h,{prop:"password",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).password,"onUpdate:modelValue":l[1]||(l[1]=a=>e(t).password=a),type:"password",placeholder:"密码",tabindex:"2",autocomplete:"on","show-password":"",size:"large",class:"h-10",onKeyup:D(d,["enter"])},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:lock"})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),i("div",Z,[o(z,{modelValue:e(t).remember,"onUpdate:modelValue":l[2]||(l[2]=a=>e(t).remember=a),size:"large"},{default:s(()=>[v(" 记住我 ")]),_:1},8,["modelValue"])]),o(C,{loading:e(u),type:"primary",size:"large",class:"w-full",onClick:E(d,["prevent"])},{default:s(()=>[v(" 登录 ")]),_:1},8,["loading"])]),_:1},8,["model","rules"]),[[B,e(S)==="login"]])])])}}});typeof w=="function"&&w(G);export{G as default}; diff --git a/public/admin/assets/logo-BZQMTxuq.js b/public/admin/assets/logo-CSbn4ZlY.js similarity index 95% rename from public/admin/assets/logo-BZQMTxuq.js rename to public/admin/assets/logo-CSbn4ZlY.js index dbaa403..392fd23 100644 --- a/public/admin/assets/logo-BZQMTxuq.js +++ b/public/admin/assets/logo-CSbn4ZlY.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{a as _}from"./config-BQ9gBCXa.js";import{d as H,m as N,r as p,a as E,n as a,g,c as h,b as t,w as l,e as y,h as b,F as G,s as S,E as P,t as U,k as L}from"./index-DEc4xym2.js";const B={class:"flex justify-between"},D=y("b",null,"客户端动态菜单设置参数设置",-1),J=H({__name:"logo",setup(R){const x=[{label:"ChatGpt聊天",path:"/chat"},{label:"Dall-E绘画",path:"/draw"},{label:"Midjourney绘画",path:"/midjourney"},{label:"mj公共预览页",path:"/market"},{label:"mind思维导图",path:"/mind"},{label:"应用广场",path:"/app-store"},{label:"不指定首页",path:""}],n=N({clientMenuList:[],clientHomePath:"",clientLogoPath:"",clientFavoIconPath:""}),v=p({clientHomePath:[{required:!1,trigger:"change",message:"请选择项目默认主页地址"}],clientMenuList:[{required:!1,trigger:"change",message:"请选择客户端开放的菜单"}],clientLogoPath:[{required:!1,trigger:"blur",message:"请填写您的网站LOGO图片链接"}],clientFavoIconPath:[{required:!1,trigger:"blur",message:"请填写您的网站favorit.ico网站logo地址"}]}),u=p();async function d(){const o=await _.queryConfig({keys:["clientHomePath","clientMenuList","clientLogoPath","clientFavoIconPath"]}),e=o.data;e.clientMenuList=e.clientMenuList?JSON.parse(e.clientMenuList):[],Object.assign(n,o.data)}function V(){var o;(o=u.value)==null||o.validate(async e=>{if(e){try{await _.setConfig({settings:w(n)}),P.success("变更配置信息成功")}catch{}d()}else P.error("请填写完整信息")})}function M(o,e){if(["clientMenuList"].includes(o)){if(!e)return[];if(e)return JSON.stringify(e)}else return e}function w(o){return Object.keys(o).map(e=>({configKey:e,configVal:M(e,o[e])}))}return E(()=>{d()}),(o,e)=>{const m=a("el-alert"),C=q,O=a("el-button"),k=a("el-radio"),F=a("el-radio-group"),r=a("el-form-item"),i=a("el-col"),c=a("el-row"),f=a("el-input"),I=a("el-form"),j=a("el-card");return g(),h("div",null,[t(C,null,{default:l(()=>[t(m,{closable:!1,"show-icon":"",title:"动态菜单配置说明",description:"动态菜单继承到下方、用户端logo配置在客户端左上角、ico为网站图标请使用svg格式、可以在线转格式!",type:"success"})]),_:1}),t(j,{style:{margin:"20px"}},{header:l(()=>[y("div",B,[D,t(O,{class:"button",text:"",onClick:V},{default:l(()=>[b(" 保存设置 ")]),_:1})])]),default:l(()=>[t(I,{ref_key:"formRef",ref:u,rules:v.value,model:n,"label-width":"130px"},{default:l(()=>[t(c,null,{default:l(()=>[t(i,{xs:24,md:24,lg:24,xl:24},{default:l(()=>[t(r,{label:"设置指定首页",prop:"clientHomePath"},{default:l(()=>[t(F,{modelValue:n.clientHomePath,"onUpdate:modelValue":e[0]||(e[0]=s=>n.clientHomePath=s)},{default:l(()=>[(g(),h(G,null,S(x,s=>t(k,{key:s.path,size:"small",border:"",label:s.path},{default:l(()=>[b(U(s.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(c,null,{default:l(()=>[t(i,{xs:24,md:24,lg:24,xl:24},{default:l(()=>[t(r,{label:"用户端LOGO",prop:"clientLogoPath"},{default:l(()=>[t(f,{modelValue:n.clientLogoPath,"onUpdate:modelValue":e[1]||(e[1]=s=>n.clientLogoPath=s),placeholder:"请填写您要设置的网站LOGO图片链接",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(c,null,{default:l(()=>[t(i,{xs:24,md:24,lg:24,xl:24},{default:l(()=>[t(r,{label:"用户端ico",prop:"clientFavoIconPath"},{default:l(()=>[t(f,{modelValue:n.clientFavoIconPath,"onUpdate:modelValue":e[2]||(e[2]=s=>n.clientFavoIconPath=s),placeholder:"请填写您要设置的网站ico地址、格式为svg",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof L=="function"&&L(J);export{J as default}; +import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as _}from"./config-CwtVyG0K.js";import{d as H,m as N,r as p,a as E,n as a,g,c as h,b as t,w as l,e as y,h as b,F as G,s as S,E as P,t as U,k as L}from"./index-CAe0BuuW.js";const B={class:"flex justify-between"},D=y("b",null,"客户端动态菜单设置参数设置",-1),J=H({__name:"logo",setup(R){const x=[{label:"ChatGpt聊天",path:"/chat"},{label:"Dall-E绘画",path:"/draw"},{label:"Midjourney绘画",path:"/midjourney"},{label:"mj公共预览页",path:"/market"},{label:"mind思维导图",path:"/mind"},{label:"应用广场",path:"/app-store"},{label:"不指定首页",path:""}],n=N({clientMenuList:[],clientHomePath:"",clientLogoPath:"",clientFavoIconPath:""}),v=p({clientHomePath:[{required:!1,trigger:"change",message:"请选择项目默认主页地址"}],clientMenuList:[{required:!1,trigger:"change",message:"请选择客户端开放的菜单"}],clientLogoPath:[{required:!1,trigger:"blur",message:"请填写您的网站LOGO图片链接"}],clientFavoIconPath:[{required:!1,trigger:"blur",message:"请填写您的网站favorit.ico网站logo地址"}]}),u=p();async function d(){const o=await _.queryConfig({keys:["clientHomePath","clientMenuList","clientLogoPath","clientFavoIconPath"]}),e=o.data;e.clientMenuList=e.clientMenuList?JSON.parse(e.clientMenuList):[],Object.assign(n,o.data)}function V(){var o;(o=u.value)==null||o.validate(async e=>{if(e){try{await _.setConfig({settings:w(n)}),P.success("变更配置信息成功")}catch{}d()}else P.error("请填写完整信息")})}function M(o,e){if(["clientMenuList"].includes(o)){if(!e)return[];if(e)return JSON.stringify(e)}else return e}function w(o){return Object.keys(o).map(e=>({configKey:e,configVal:M(e,o[e])}))}return E(()=>{d()}),(o,e)=>{const m=a("el-alert"),C=q,O=a("el-button"),k=a("el-radio"),F=a("el-radio-group"),r=a("el-form-item"),i=a("el-col"),c=a("el-row"),f=a("el-input"),I=a("el-form"),j=a("el-card");return g(),h("div",null,[t(C,null,{default:l(()=>[t(m,{closable:!1,"show-icon":"",title:"动态菜单配置说明",description:"动态菜单继承到下方、用户端logo配置在客户端左上角、ico为网站图标请使用svg格式、可以在线转格式!",type:"success"})]),_:1}),t(j,{style:{margin:"20px"}},{header:l(()=>[y("div",B,[D,t(O,{class:"button",text:"",onClick:V},{default:l(()=>[b(" 保存设置 ")]),_:1})])]),default:l(()=>[t(I,{ref_key:"formRef",ref:u,rules:v.value,model:n,"label-width":"130px"},{default:l(()=>[t(c,null,{default:l(()=>[t(i,{xs:24,md:24,lg:24,xl:24},{default:l(()=>[t(r,{label:"设置指定首页",prop:"clientHomePath"},{default:l(()=>[t(F,{modelValue:n.clientHomePath,"onUpdate:modelValue":e[0]||(e[0]=s=>n.clientHomePath=s)},{default:l(()=>[(g(),h(G,null,S(x,s=>t(k,{key:s.path,size:"small",border:"",label:s.path},{default:l(()=>[b(U(s.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(c,null,{default:l(()=>[t(i,{xs:24,md:24,lg:24,xl:24},{default:l(()=>[t(r,{label:"用户端LOGO",prop:"clientLogoPath"},{default:l(()=>[t(f,{modelValue:n.clientLogoPath,"onUpdate:modelValue":e[1]||(e[1]=s=>n.clientLogoPath=s),placeholder:"请填写您要设置的网站LOGO图片链接",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(c,null,{default:l(()=>[t(i,{xs:24,md:24,lg:24,xl:24},{default:l(()=>[t(r,{label:"用户端ico",prop:"clientFavoIconPath"},{default:l(()=>[t(f,{modelValue:n.clientFavoIconPath,"onUpdate:modelValue":e[2]||(e[2]=s=>n.clientFavoIconPath=s),placeholder:"请填写您要设置的网站ico地址、格式为svg",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof L=="function"&&L(J);export{J as default}; diff --git a/public/admin/assets/ltzf-DEkCmzhn.js b/public/admin/assets/ltzf-COGRrtpR.js similarity index 94% rename from public/admin/assets/ltzf-DEkCmzhn.js rename to public/admin/assets/ltzf-COGRrtpR.js index 3673846..908f5af 100644 --- a/public/admin/assets/ltzf-DEkCmzhn.js +++ b/public/admin/assets/ltzf-COGRrtpR.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as M,m as k,r as _,a as C,n as r,g as N,c as q,b as e,w as t,h as L,e as d,E as y,j as R,_ as B,k as g}from"./index-DEc4xym2.js";import{a as z}from"./config-BQ9gBCXa.js";const j=d("div",{class:"flex items-center gap-4"},"蓝兔支付设置",-1),E=d("div",{class:"text-sm/6"},[d("div",null,[d("a",{href:"https://www.ltzf.cn/",target:"_blank"},"蓝兔支付"),L(" 为第三方支付,接入请购买微信渠道。 ")]),d("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),$=M({__name:"ltzf",setup(H){const a=k({payLtzfStatus:"",payLtzfMchId:"",payLtzfSecret:"",payLtzfNotifyUrl:"",payLtzfReturnUrl:""}),x=_({payLtzfStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payLtzfSecret:[{required:!0,trigger:"blur",message:"请填写商户秘钥"}],payLtzfMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payLtzfNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),c=_();async function i(){const n=await z.queryConfig({keys:["payLtzfSecret","payLtzfNotifyUrl","payLtzfReturnUrl","payLtzfMchId","payLtzfStatus"]});Object.assign(a,n.data)}function V(){var n;(n=c.value)==null||n.validate(async l=>{if(l){try{await z.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}i()}else y.error("请填写完整信息")})}function b(n){return Object.keys(n).map(l=>({configKey:l,configVal:n[l]}))}return C(()=>{i()}),(n,l)=>{const m=R,h=B,v=I,S=r("el-switch"),f=r("el-form-item"),u=r("el-col"),s=r("el-row"),p=r("el-input"),U=r("el-form"),w=r("el-card");return N(),q("div",null,[e(v,null,{title:t(()=>[j]),content:t(()=>[E]),default:t(()=>[e(h,{outline:"",onClick:V},{default:t(()=>[e(m,{name:"i-ri:file-text-line"}),L(" 保存设置 ")]),_:1})]),_:1}),e(w,{style:{margin:"20px"}},{default:t(()=>[e(U,{ref_key:"formRef",ref:c,rules:x.value,model:a,"label-width":"120px"},{default:t(()=>[e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"启用当前支付",prop:"payLtzfMchId"},{default:t(()=>[e(S,{modelValue:a.payLtzfStatus,"onUpdate:modelValue":l[0]||(l[0]=o=>a.payLtzfStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户号",prop:"payLtzfMchId"},{default:t(()=>[e(p,{modelValue:a.payLtzfMchId,"onUpdate:modelValue":l[1]||(l[1]=o=>a.payLtzfMchId=o),placeholder:"请填写商户号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户密钥",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfSecret,"onUpdate:modelValue":l[2]||(l[2]=o=>a.payLtzfSecret=o),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付通知地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=o=>a.payLtzfNotifyUrl=o),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付回调地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=o=>a.payLtzfReturnUrl=o),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g($);export{$ as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as M,m as k,r as _,a as C,n as r,g as N,c as q,b as e,w as t,h as L,e as d,E as y,j as R,_ as B,k as g}from"./index-CAe0BuuW.js";import{a as z}from"./config-CwtVyG0K.js";const j=d("div",{class:"flex items-center gap-4"},"蓝兔支付设置",-1),E=d("div",{class:"text-sm/6"},[d("div",null,[d("a",{href:"https://www.ltzf.cn/",target:"_blank"},"蓝兔支付"),L(" 为第三方支付,接入请购买微信渠道。 ")]),d("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),$=M({__name:"ltzf",setup(H){const a=k({payLtzfStatus:"",payLtzfMchId:"",payLtzfSecret:"",payLtzfNotifyUrl:"",payLtzfReturnUrl:""}),x=_({payLtzfStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payLtzfSecret:[{required:!0,trigger:"blur",message:"请填写商户秘钥"}],payLtzfMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payLtzfNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),c=_();async function i(){const n=await z.queryConfig({keys:["payLtzfSecret","payLtzfNotifyUrl","payLtzfReturnUrl","payLtzfMchId","payLtzfStatus"]});Object.assign(a,n.data)}function V(){var n;(n=c.value)==null||n.validate(async l=>{if(l){try{await z.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}i()}else y.error("请填写完整信息")})}function b(n){return Object.keys(n).map(l=>({configKey:l,configVal:n[l]}))}return C(()=>{i()}),(n,l)=>{const m=R,h=B,v=I,S=r("el-switch"),f=r("el-form-item"),u=r("el-col"),s=r("el-row"),p=r("el-input"),U=r("el-form"),w=r("el-card");return N(),q("div",null,[e(v,null,{title:t(()=>[j]),content:t(()=>[E]),default:t(()=>[e(h,{outline:"",onClick:V},{default:t(()=>[e(m,{name:"i-ri:file-text-line"}),L(" 保存设置 ")]),_:1})]),_:1}),e(w,{style:{margin:"20px"}},{default:t(()=>[e(U,{ref_key:"formRef",ref:c,rules:x.value,model:a,"label-width":"120px"},{default:t(()=>[e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"启用当前支付",prop:"payLtzfMchId"},{default:t(()=>[e(S,{modelValue:a.payLtzfStatus,"onUpdate:modelValue":l[0]||(l[0]=o=>a.payLtzfStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户号",prop:"payLtzfMchId"},{default:t(()=>[e(p,{modelValue:a.payLtzfMchId,"onUpdate:modelValue":l[1]||(l[1]=o=>a.payLtzfMchId=o),placeholder:"请填写商户号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户密钥",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfSecret,"onUpdate:modelValue":l[2]||(l[2]=o=>a.payLtzfSecret=o),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付通知地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=o=>a.payLtzfNotifyUrl=o),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付回调地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=o=>a.payLtzfReturnUrl=o),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/menu-CuN26WL2.js b/public/admin/assets/menu-D-Mi8J_Q.js similarity index 98% rename from public/admin/assets/menu-CuN26WL2.js rename to public/admin/assets/menu-D-Mi8J_Q.js index 53e3414..4a868cf 100644 --- a/public/admin/assets/menu-CuN26WL2.js +++ b/public/admin/assets/menu-D-Mi8J_Q.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{I as P,d as L,W as se,p as B,g,z as I,X as re,i as D,Y as ie,r as p,Z as de,a as me,n as i,c as pe,b as l,w as n,h as s,e as a,t as y,A as T,E as q,j as ce,_ as fe,k as R}from"./index-DEc4xym2.js";const A={quertMenu:d=>P.get("menu/query",{params:d}),visibleMenu:d=>P.post("menu/visible",d),setMenu:d=>P.post("menu/setMenu",d),delMenu:d=>P.post("menu/delete",d),updateIcon:d=>P.post("menu/updateIcon",d)},_e=L({__name:"index",props:{icon:{}},setup(d){const _=se(),b=B(()=>({class:_.class||"",style:_.style||"width: 2em, height: 2em"}));return(w,c)=>(g(),I(D(ie),re({icon:"icon"},b.value),null,16))}}),ve=a("div",{class:"flex items-center gap-4"},"动态菜单设置",-1),ye=a("div",{class:"text-sm/6"},[a("div",null," 为了确保动态菜单的有效配置,系统要求至少设置一个菜单项。如果未进行配置,系统将默认展示对话页面。 "),a("div",null,"菜单项通过排序 ID 决定显示顺序,数值越小的项排在越前。"),a("div",null," 需要注意,PC端和移动端的菜单配置是独立的,可以分别设置以适应不同设备的需求。 "),a("div",null,[a("span",null,"可在 "),a("a",{href:"https://icon-sets.iconify.design/",target:"_blank"},"iconIfy.design"),a("span",null," 搜索喜欢的图标复制到图标编号中,例如"),a("code",null,"material-symbols:chat-outline。")])],-1),ge={class:"flex justify-between"},be=a("b",null,"客户端动态菜单设置",-1),we={class:"flex items-center"},Ve={class:"flex items-center"},Ie={class:"dialog-footer"},he={style:{display:"flex","align-items":"center"}},xe=a("span",{style:{width:"130px"}},"修改ICON编码:",-1),Te={style:{display:"flex","align-items":"center","margin-top":"12px"}},Ce=a("span",{style:{width:"130px"}},"修改菜单名称:",-1),ke={style:{display:"flex","align-items":"center","margin-top":"12px"}},Ue=a("span",{style:{width:"130px"}},"修改菜单排序:",-1),Se={class:"dialog-footer"},Me=L({__name:"menu",setup(d){const _=p(1),b=p(),w=p(!1),c=p(0),C=p(""),k=p(""),U=p(0),S=p(!1),o=p({menuTipText:"",menuIframeUrl:"",isJump:!1,isShow:!0,menuIcon:"",menuPath:"",order:1e3,isNeedAuth:!1,isSystem:!0}),W={menuTipText:[{required:!0,trigger:"blur",message:"请填写菜单名称"}],menuIframeUrl:[{required:!0,trigger:"blur",message:"请填写三方网页地址"}],isJump:[{required:!0,trigger:"blur",message:"请确认是否跳转"}],isShow:[{required:!0,trigger:"blur",message:"请确认是否打开菜单"}],menuIcon:[{required:!0,trigger:"blur",message:"请填写ICON图标"}],order:[{required:!0,trigger:"blur",message:"请填写排序ID"}],menuPath:[{required:!0,trigger:"blur",message:"请填写菜单路径"}],isSystem:[{required:!0,trigger:"blur",message:"请确认是否是系统内地址"}],isNeedAuth:[{required:!0,trigger:"blur",message:"请确认是否需要权限"}]};de(_,u=>{h()});const X=B(()=>c.value>0?"编辑菜单":"添加菜单"),Y=B(()=>c.value>0?"确认修改":"确认添加"),j=p([]);async function h(){const u=await A.quertMenu({menuPlatform:_.value});j.value=u.data}function F(u){u==null||u.resetFields(),c.value=0}async function Z(u){const{id:t}=u;await A.visibleMenu({id:t}),q.success("操作成功!"),h()}async function G(u){await A.delMenu({id:u.id}),q.success("操作成功!"),h()}async function K(){var u;(u=b.value)==null||u.resetFields(),c.value=0,w.value=!0}async function Q(u){u==null||u.validate(async t=>{if(!t)return;const V=Object.assign(o.value,{id:c},{menuPlatform:_.value});await A.setMenu(V),q.success("操作成功!"),u.resetFields(),w.value=!1,h()})}function E(u){const{id:t,menuTipText:V,menuIframeUrl:M,isJump:N,isShow:$,menuIcon:z,menuPath:r,order:x,isNeedAuth:m}=u;c.value=t,o.value={menuTipText:V,menuIframeUrl:M,isJump:N,isShow:$,menuIcon:z,menuPath:r,order:x,isNeedAuth:m,isSystem:!r},w.value=!0}async function ee(u){console.log("row: ",u);const{id:t,menuIcon:V,menuTipText:M,order:N}=u;C.value=V,k.value=M,U.value=N,c.value=t,S.value=!0}async function le(){if(!C.value||!k.value||!U.value)return q.error("请填写ICON编码");const u={id:c.value,menuIcon:C.value,menuTipText:k.value,order:U.value};await A.updateIcon(u),q.success("操作成功!"),h(),S.value=!1}return me(()=>{h()}),(u,t)=>{const V=ce,M=fe,N=ae,$=i("el-radio-button"),z=i("el-radio-group"),r=i("el-table-column"),x=i("el-tag"),m=i("el-button"),te=i("el-popconfirm"),ne=i("el-table"),ue=i("el-card"),J=i("el-switch"),f=i("el-form-item"),v=i("el-input"),oe=i("el-form"),H=i("el-dialog");return g(),pe("div",null,[l(N,null,{title:n(()=>[ve]),content:n(()=>[ye]),default:n(()=>[l(M,{outline:"",size:"large",class:"ml-5",onClick:K},{default:n(()=>[l(V,{name:"i-ri:file-text-line"}),s(" 添加菜单 ")]),_:1})]),_:1}),l(ue,{style:{margin:"20px"}},{header:n(()=>[a("div",ge,[be,a("div",we,[l(z,{modelValue:_.value,"onUpdate:modelValue":t[0]||(t[0]=e=>_.value=e),size:"large"},{default:n(()=>[l($,{label:1},{default:n(()=>[s(" PC端 ")]),_:1}),l($,{label:0},{default:n(()=>[s(" 移动端 ")]),_:1})]),_:1},8,["modelValue"])])])]),default:n(()=>[l(ne,{data:j.value,style:{width:"100%"}},{default:n(()=>[l(r,{prop:"menuTipText",label:"菜单文本"}),l(r,{prop:"menuType",label:"菜单类型"},{default:n(e=>[l(x,{type:e.row.menuType?"success":"danger"},{default:n(()=>[s(y(e.row.menuType===0?"系统预设":"自定义菜单"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"isJump",label:"是否打开新窗口"},{default:n(e=>[l(x,{type:e.row.isJump?"success":"danger"},{default:n(()=>[s(y(e.row.isJump?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"isShow",label:"是否显示菜单"},{default:n(e=>[l(x,{type:e.row.isShow?"success":"danger"},{default:n(()=>[s(y(e.row.isShow?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"isNeedAuth",label:"是否需要登录访问"},{default:n(e=>[l(x,{type:e.row.isNeedAuth?"success":"danger"},{default:n(()=>[s(y(e.row.isNeedAuth?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"menuIcon",label:"菜单图标"},{default:n(e=>[l(_e,{style:{"font-size":"24px"},icon:e.row.menuIcon},null,8,["icon"])]),_:1}),l(r,{prop:"order",label:"排序"}),l(r,{prop:"menuPath",label:"菜单路径"},{default:n(e=>[s(y(e.row.menuPath||"---"),1)]),_:1}),l(r,{prop:"menuIframeUrl",label:"三方网页链接"},{default:n(e=>[s(y(e.row.menuIframeUrl||"---"),1)]),_:1}),l(r,{label:"操作"},{default:n(e=>[a("div",Ve,[e.row.menuType?(g(),I(m,{key:0,size:"small",onClick:O=>E(e.row)},{default:n(()=>[s(" 编辑菜单 ")]),_:2},1032,["onClick"])):T("",!0),e.row.menuType?T("",!0):(g(),I(m,{key:1,size:"small",onClick:O=>ee(e.row)},{default:n(()=>[s(" 修改默认 ")]),_:2},1032,["onClick"])),e.row.menuType?T("",!0):(g(),I(m,{key:2,type:e.row.isShow?"danger":"success",size:"small",onClick:O=>Z(e.row)},{default:n(()=>[s(y(e.row.isShow?"隐藏菜单":"打开菜单"),1)]),_:2},1032,["type","onClick"])),e.row.menuType?(g(),I(te,{key:3,title:"是否删除当前菜单?",onConfirm:O=>G(e.row)},{reference:n(()=>[l(m,{type:"danger",size:"small"},{default:n(()=>[s(" 删除菜单 ")]),_:1})]),_:2},1032,["onConfirm"])):T("",!0)])]),_:1})]),_:1},8,["data"])]),_:1}),l(H,{modelValue:w.value,"onUpdate:modelValue":t[12]||(t[12]=e=>w.value=e),"close-on-click-modal":!1,title:D(X),width:"570",onClose:t[13]||(t[13]=e=>F(b.value))},{footer:n(()=>[a("span",Ie,[l(m,{onClick:t[10]||(t[10]=e=>w.value=!1)},{default:n(()=>[s("我再想想")]),_:1}),l(m,{type:"primary",onClick:t[11]||(t[11]=e=>Q(b.value))},{default:n(()=>[s(y(D(Y)),1)]),_:1})])]),default:n(()=>[l(oe,{ref_key:"formRef",ref:b,"label-width":"140",rules:W,model:o.value},{default:n(()=>[l(f,{label:"是否打开菜单",prop:"isShow"},{default:n(()=>[l(J,{modelValue:o.value.isShow,"onUpdate:modelValue":t[1]||(t[1]=e=>o.value.isShow=e)},null,8,["modelValue"])]),_:1}),l(f,{label:"是否属于三方网页",prop:"isSystem"},{default:n(()=>[l(J,{modelValue:o.value.isSystem,"onUpdate:modelValue":t[2]||(t[2]=e=>o.value.isSystem=e)},null,8,["modelValue"])]),_:1}),l(f,{label:"菜单文本提示信息",prop:"menuTipText"},{default:n(()=>[l(v,{modelValue:o.value.menuTipText,"onUpdate:modelValue":t[3]||(t[3]=e=>o.value.menuTipText=e),placeholder:"请填写菜单提示文字"},null,8,["modelValue"])]),_:1}),l(f,{label:"菜单图标编号",prop:"menuIcon"},{default:n(()=>[l(v,{modelValue:o.value.menuIcon,"onUpdate:modelValue":t[4]||(t[4]=e=>o.value.menuIcon=e),placeholder:"请填写菜单ICON图标"},null,8,["modelValue"])]),_:1}),o.value.isSystem?(g(),I(f,{key:0,label:"加载三方网页地址",prop:"menuIframeUrl"},{default:n(()=>[l(v,{modelValue:o.value.menuIframeUrl,"onUpdate:modelValue":t[5]||(t[5]=e=>o.value.menuIframeUrl=e),placeholder:"请填写加载的三方网页地址"},null,8,["modelValue"])]),_:1})):T("",!0),l(f,{label:"数字编号排序",prop:"order"},{default:n(()=>[l(v,{modelValue:o.value.order,"onUpdate:modelValue":t[6]||(t[6]=e=>o.value.order=e),type:"number",placeholder:"请填写排序Id、越小越靠前"},null,8,["modelValue"])]),_:1}),o.value.isSystem?T("",!0):(g(),I(f,{key:1,label:"系统内菜单路径",prop:"menuPath"},{default:n(()=>[l(v,{modelValue:o.value.menuPath,"onUpdate:modelValue":t[7]||(t[7]=e=>o.value.menuPath=e),placeholder:"请填写系统内置菜单地址"},null,8,["modelValue"])]),_:1})),l(f,{label:"是否打开新窗口",prop:"isJump"},{default:n(()=>[l(J,{modelValue:o.value.isJump,"onUpdate:modelValue":t[8]||(t[8]=e=>o.value.isJump=e)},null,8,["modelValue"])]),_:1}),l(f,{label:"是否需要登录访问",prop:"isNeedAuth"},{default:n(()=>[l(J,{modelValue:o.value.isNeedAuth,"onUpdate:modelValue":t[9]||(t[9]=e=>o.value.isNeedAuth=e)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"]),l(H,{modelValue:S.value,"onUpdate:modelValue":t[18]||(t[18]=e=>S.value=e),title:"修改默认信息",width:"570",onClose:t[19]||(t[19]=e=>F(b.value))},{footer:n(()=>[a("span",Se,[l(m,{onClick:t[17]||(t[17]=e=>S.value=!1)},{default:n(()=>[s("我再想想")]),_:1}),l(m,{type:"primary",onClick:le},{default:n(()=>[s(" 确认修改 ")]),_:1})])]),default:n(()=>[a("div",he,[xe,l(v,{modelValue:C.value,"onUpdate:modelValue":t[14]||(t[14]=e=>C.value=e),placeholder:"请填写要修改的ICON编码"},null,8,["modelValue"])]),a("div",Te,[Ce,l(v,{modelValue:k.value,"onUpdate:modelValue":t[15]||(t[15]=e=>k.value=e),placeholder:"请填写要修改的菜单名称"},null,8,["modelValue"])]),a("div",ke,[Ue,l(v,{modelValue:U.value,"onUpdate:modelValue":t[16]||(t[16]=e=>U.value=e),placeholder:"请修改菜单排序 越大越靠前"},null,8,["modelValue"])])]),_:1},8,["modelValue"])])}}});typeof R=="function"&&R(Me);export{Me as default}; +import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{I as P,d as L,W as se,p as B,g,z as I,X as re,i as D,Y as ie,r as p,Z as de,a as me,n as i,c as pe,b as l,w as n,h as s,e as a,t as y,A as T,E as q,j as ce,_ as fe,k as R}from"./index-CAe0BuuW.js";const A={quertMenu:d=>P.get("menu/query",{params:d}),visibleMenu:d=>P.post("menu/visible",d),setMenu:d=>P.post("menu/setMenu",d),delMenu:d=>P.post("menu/delete",d),updateIcon:d=>P.post("menu/updateIcon",d)},_e=L({__name:"index",props:{icon:{}},setup(d){const _=se(),b=B(()=>({class:_.class||"",style:_.style||"width: 2em, height: 2em"}));return(w,c)=>(g(),I(D(ie),re({icon:"icon"},b.value),null,16))}}),ve=a("div",{class:"flex items-center gap-4"},"动态菜单设置",-1),ye=a("div",{class:"text-sm/6"},[a("div",null," 为了确保动态菜单的有效配置,系统要求至少设置一个菜单项。如果未进行配置,系统将默认展示对话页面。 "),a("div",null,"菜单项通过排序 ID 决定显示顺序,数值越小的项排在越前。"),a("div",null," 需要注意,PC端和移动端的菜单配置是独立的,可以分别设置以适应不同设备的需求。 "),a("div",null,[a("span",null,"可在 "),a("a",{href:"https://icon-sets.iconify.design/",target:"_blank"},"iconIfy.design"),a("span",null," 搜索喜欢的图标复制到图标编号中,例如"),a("code",null,"material-symbols:chat-outline。")])],-1),ge={class:"flex justify-between"},be=a("b",null,"客户端动态菜单设置",-1),we={class:"flex items-center"},Ve={class:"flex items-center"},Ie={class:"dialog-footer"},he={style:{display:"flex","align-items":"center"}},xe=a("span",{style:{width:"130px"}},"修改ICON编码:",-1),Te={style:{display:"flex","align-items":"center","margin-top":"12px"}},Ce=a("span",{style:{width:"130px"}},"修改菜单名称:",-1),ke={style:{display:"flex","align-items":"center","margin-top":"12px"}},Ue=a("span",{style:{width:"130px"}},"修改菜单排序:",-1),Se={class:"dialog-footer"},Me=L({__name:"menu",setup(d){const _=p(1),b=p(),w=p(!1),c=p(0),C=p(""),k=p(""),U=p(0),S=p(!1),o=p({menuTipText:"",menuIframeUrl:"",isJump:!1,isShow:!0,menuIcon:"",menuPath:"",order:1e3,isNeedAuth:!1,isSystem:!0}),W={menuTipText:[{required:!0,trigger:"blur",message:"请填写菜单名称"}],menuIframeUrl:[{required:!0,trigger:"blur",message:"请填写三方网页地址"}],isJump:[{required:!0,trigger:"blur",message:"请确认是否跳转"}],isShow:[{required:!0,trigger:"blur",message:"请确认是否打开菜单"}],menuIcon:[{required:!0,trigger:"blur",message:"请填写ICON图标"}],order:[{required:!0,trigger:"blur",message:"请填写排序ID"}],menuPath:[{required:!0,trigger:"blur",message:"请填写菜单路径"}],isSystem:[{required:!0,trigger:"blur",message:"请确认是否是系统内地址"}],isNeedAuth:[{required:!0,trigger:"blur",message:"请确认是否需要权限"}]};de(_,u=>{h()});const X=B(()=>c.value>0?"编辑菜单":"添加菜单"),Y=B(()=>c.value>0?"确认修改":"确认添加"),j=p([]);async function h(){const u=await A.quertMenu({menuPlatform:_.value});j.value=u.data}function F(u){u==null||u.resetFields(),c.value=0}async function Z(u){const{id:t}=u;await A.visibleMenu({id:t}),q.success("操作成功!"),h()}async function G(u){await A.delMenu({id:u.id}),q.success("操作成功!"),h()}async function K(){var u;(u=b.value)==null||u.resetFields(),c.value=0,w.value=!0}async function Q(u){u==null||u.validate(async t=>{if(!t)return;const V=Object.assign(o.value,{id:c},{menuPlatform:_.value});await A.setMenu(V),q.success("操作成功!"),u.resetFields(),w.value=!1,h()})}function E(u){const{id:t,menuTipText:V,menuIframeUrl:M,isJump:N,isShow:$,menuIcon:z,menuPath:r,order:x,isNeedAuth:m}=u;c.value=t,o.value={menuTipText:V,menuIframeUrl:M,isJump:N,isShow:$,menuIcon:z,menuPath:r,order:x,isNeedAuth:m,isSystem:!r},w.value=!0}async function ee(u){console.log("row: ",u);const{id:t,menuIcon:V,menuTipText:M,order:N}=u;C.value=V,k.value=M,U.value=N,c.value=t,S.value=!0}async function le(){if(!C.value||!k.value||!U.value)return q.error("请填写ICON编码");const u={id:c.value,menuIcon:C.value,menuTipText:k.value,order:U.value};await A.updateIcon(u),q.success("操作成功!"),h(),S.value=!1}return me(()=>{h()}),(u,t)=>{const V=ce,M=fe,N=ae,$=i("el-radio-button"),z=i("el-radio-group"),r=i("el-table-column"),x=i("el-tag"),m=i("el-button"),te=i("el-popconfirm"),ne=i("el-table"),ue=i("el-card"),J=i("el-switch"),f=i("el-form-item"),v=i("el-input"),oe=i("el-form"),H=i("el-dialog");return g(),pe("div",null,[l(N,null,{title:n(()=>[ve]),content:n(()=>[ye]),default:n(()=>[l(M,{outline:"",size:"large",class:"ml-5",onClick:K},{default:n(()=>[l(V,{name:"i-ri:file-text-line"}),s(" 添加菜单 ")]),_:1})]),_:1}),l(ue,{style:{margin:"20px"}},{header:n(()=>[a("div",ge,[be,a("div",we,[l(z,{modelValue:_.value,"onUpdate:modelValue":t[0]||(t[0]=e=>_.value=e),size:"large"},{default:n(()=>[l($,{label:1},{default:n(()=>[s(" PC端 ")]),_:1}),l($,{label:0},{default:n(()=>[s(" 移动端 ")]),_:1})]),_:1},8,["modelValue"])])])]),default:n(()=>[l(ne,{data:j.value,style:{width:"100%"}},{default:n(()=>[l(r,{prop:"menuTipText",label:"菜单文本"}),l(r,{prop:"menuType",label:"菜单类型"},{default:n(e=>[l(x,{type:e.row.menuType?"success":"danger"},{default:n(()=>[s(y(e.row.menuType===0?"系统预设":"自定义菜单"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"isJump",label:"是否打开新窗口"},{default:n(e=>[l(x,{type:e.row.isJump?"success":"danger"},{default:n(()=>[s(y(e.row.isJump?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"isShow",label:"是否显示菜单"},{default:n(e=>[l(x,{type:e.row.isShow?"success":"danger"},{default:n(()=>[s(y(e.row.isShow?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"isNeedAuth",label:"是否需要登录访问"},{default:n(e=>[l(x,{type:e.row.isNeedAuth?"success":"danger"},{default:n(()=>[s(y(e.row.isNeedAuth?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(r,{prop:"menuIcon",label:"菜单图标"},{default:n(e=>[l(_e,{style:{"font-size":"24px"},icon:e.row.menuIcon},null,8,["icon"])]),_:1}),l(r,{prop:"order",label:"排序"}),l(r,{prop:"menuPath",label:"菜单路径"},{default:n(e=>[s(y(e.row.menuPath||"---"),1)]),_:1}),l(r,{prop:"menuIframeUrl",label:"三方网页链接"},{default:n(e=>[s(y(e.row.menuIframeUrl||"---"),1)]),_:1}),l(r,{label:"操作"},{default:n(e=>[a("div",Ve,[e.row.menuType?(g(),I(m,{key:0,size:"small",onClick:O=>E(e.row)},{default:n(()=>[s(" 编辑菜单 ")]),_:2},1032,["onClick"])):T("",!0),e.row.menuType?T("",!0):(g(),I(m,{key:1,size:"small",onClick:O=>ee(e.row)},{default:n(()=>[s(" 修改默认 ")]),_:2},1032,["onClick"])),e.row.menuType?T("",!0):(g(),I(m,{key:2,type:e.row.isShow?"danger":"success",size:"small",onClick:O=>Z(e.row)},{default:n(()=>[s(y(e.row.isShow?"隐藏菜单":"打开菜单"),1)]),_:2},1032,["type","onClick"])),e.row.menuType?(g(),I(te,{key:3,title:"是否删除当前菜单?",onConfirm:O=>G(e.row)},{reference:n(()=>[l(m,{type:"danger",size:"small"},{default:n(()=>[s(" 删除菜单 ")]),_:1})]),_:2},1032,["onConfirm"])):T("",!0)])]),_:1})]),_:1},8,["data"])]),_:1}),l(H,{modelValue:w.value,"onUpdate:modelValue":t[12]||(t[12]=e=>w.value=e),"close-on-click-modal":!1,title:D(X),width:"570",onClose:t[13]||(t[13]=e=>F(b.value))},{footer:n(()=>[a("span",Ie,[l(m,{onClick:t[10]||(t[10]=e=>w.value=!1)},{default:n(()=>[s("我再想想")]),_:1}),l(m,{type:"primary",onClick:t[11]||(t[11]=e=>Q(b.value))},{default:n(()=>[s(y(D(Y)),1)]),_:1})])]),default:n(()=>[l(oe,{ref_key:"formRef",ref:b,"label-width":"140",rules:W,model:o.value},{default:n(()=>[l(f,{label:"是否打开菜单",prop:"isShow"},{default:n(()=>[l(J,{modelValue:o.value.isShow,"onUpdate:modelValue":t[1]||(t[1]=e=>o.value.isShow=e)},null,8,["modelValue"])]),_:1}),l(f,{label:"是否属于三方网页",prop:"isSystem"},{default:n(()=>[l(J,{modelValue:o.value.isSystem,"onUpdate:modelValue":t[2]||(t[2]=e=>o.value.isSystem=e)},null,8,["modelValue"])]),_:1}),l(f,{label:"菜单文本提示信息",prop:"menuTipText"},{default:n(()=>[l(v,{modelValue:o.value.menuTipText,"onUpdate:modelValue":t[3]||(t[3]=e=>o.value.menuTipText=e),placeholder:"请填写菜单提示文字"},null,8,["modelValue"])]),_:1}),l(f,{label:"菜单图标编号",prop:"menuIcon"},{default:n(()=>[l(v,{modelValue:o.value.menuIcon,"onUpdate:modelValue":t[4]||(t[4]=e=>o.value.menuIcon=e),placeholder:"请填写菜单ICON图标"},null,8,["modelValue"])]),_:1}),o.value.isSystem?(g(),I(f,{key:0,label:"加载三方网页地址",prop:"menuIframeUrl"},{default:n(()=>[l(v,{modelValue:o.value.menuIframeUrl,"onUpdate:modelValue":t[5]||(t[5]=e=>o.value.menuIframeUrl=e),placeholder:"请填写加载的三方网页地址"},null,8,["modelValue"])]),_:1})):T("",!0),l(f,{label:"数字编号排序",prop:"order"},{default:n(()=>[l(v,{modelValue:o.value.order,"onUpdate:modelValue":t[6]||(t[6]=e=>o.value.order=e),type:"number",placeholder:"请填写排序Id、越小越靠前"},null,8,["modelValue"])]),_:1}),o.value.isSystem?T("",!0):(g(),I(f,{key:1,label:"系统内菜单路径",prop:"menuPath"},{default:n(()=>[l(v,{modelValue:o.value.menuPath,"onUpdate:modelValue":t[7]||(t[7]=e=>o.value.menuPath=e),placeholder:"请填写系统内置菜单地址"},null,8,["modelValue"])]),_:1})),l(f,{label:"是否打开新窗口",prop:"isJump"},{default:n(()=>[l(J,{modelValue:o.value.isJump,"onUpdate:modelValue":t[8]||(t[8]=e=>o.value.isJump=e)},null,8,["modelValue"])]),_:1}),l(f,{label:"是否需要登录访问",prop:"isNeedAuth"},{default:n(()=>[l(J,{modelValue:o.value.isNeedAuth,"onUpdate:modelValue":t[9]||(t[9]=e=>o.value.isNeedAuth=e)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"]),l(H,{modelValue:S.value,"onUpdate:modelValue":t[18]||(t[18]=e=>S.value=e),title:"修改默认信息",width:"570",onClose:t[19]||(t[19]=e=>F(b.value))},{footer:n(()=>[a("span",Se,[l(m,{onClick:t[17]||(t[17]=e=>S.value=!1)},{default:n(()=>[s("我再想想")]),_:1}),l(m,{type:"primary",onClick:le},{default:n(()=>[s(" 确认修改 ")]),_:1})])]),default:n(()=>[a("div",he,[xe,l(v,{modelValue:C.value,"onUpdate:modelValue":t[14]||(t[14]=e=>C.value=e),placeholder:"请填写要修改的ICON编码"},null,8,["modelValue"])]),a("div",Te,[Ce,l(v,{modelValue:k.value,"onUpdate:modelValue":t[15]||(t[15]=e=>k.value=e),placeholder:"请填写要修改的菜单名称"},null,8,["modelValue"])]),a("div",ke,[Ue,l(v,{modelValue:U.value,"onUpdate:modelValue":t[16]||(t[16]=e=>U.value=e),placeholder:"请修改菜单排序 越大越靠前"},null,8,["modelValue"])])]),_:1},8,["modelValue"])])}}});typeof R=="function"&&R(Me);export{Me as default}; diff --git a/public/admin/assets/midjourney-C4S1NgSK.js b/public/admin/assets/midjourney-Dw_s_JpY.js similarity index 93% rename from public/admin/assets/midjourney-C4S1NgSK.js rename to public/admin/assets/midjourney-Dw_s_JpY.js index 9814a88..c2fc7e0 100644 --- a/public/admin/assets/midjourney-C4S1NgSK.js +++ b/public/admin/assets/midjourney-Dw_s_JpY.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{A}from"./chat-CNvkcurJ.js";import{d as P,r as _,m as E,a as J,n as r,q as K,g as n,c,b as a,w as t,F as m,s as v,i as b,h as g,y as W,z as i,e as k,K as G,t as D,B as H,A as S,E as Q,k as I}from"./index-DEc4xym2.js";import{R as X,a as Y}from"./index-J5zVJPyL.js";const Z={class:"draw_container flex"},ee={class:"draw_head"},le={class:"draw_footer mt-3 flex items-center justify-between"},ae=P({__name:"midjourney",setup(te){const p=_(!1),h=_(),x=_(0),z=_(),o=E({userId:"",rec:"",status:3,page:1,size:10}),C=_([]);async function u(){p.value=!0;try{const s=await A.queryMjDrawAll(o),{rows:l,count:d}=s.data;p.value=!1,x.value=d,C.value=l}catch{p.value=!1}}async function M(s){const l=await A.recMjDrawImg({id:s});Q.success(l.data),u()}async function T(s){const l=await G.queryAllUser({size:30,username:s});z.value=l.data.rows}function j(s){s==null||s.resetFields(),u()}return J(()=>{u()}),(s,l)=>{const d=r("el-option"),y=r("el-select"),f=r("el-form-item"),w=r("el-button"),N=r("el-form"),V=$,R=r("el-image"),B=r("el-tag"),U=r("el-icon"),q=r("Minus"),L=r("el-pagination"),F=r("el-row"),O=K("loading");return n(),c("div",null,[a(V,null,{default:t(()=>[a(N,{ref_key:"formRef",ref:h,inline:!0,model:o},{default:t(()=>[a(f,{label:"用户名称",prop:"userId"},{default:t(()=>[a(y,{modelValue:o.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>o.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":T,style:{width:"160px"}},{default:t(()=>[(n(!0),c(m,null,v(z.value,e=>(n(),i(d,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"推荐状态",prop:"rec"},{default:t(()=>[a(y,{modelValue:o.rec,"onUpdate:modelValue":l[1]||(l[1]=e=>o.rec=e),placeholder:"请选择推荐状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),c(m,null,v(b(X),e=>(n(),i(d,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"绘制状态",prop:"status"},{default:t(()=>[a(y,{modelValue:o.status,"onUpdate:modelValue":l[2]||(l[2]=e=>o.status=e),placeholder:"请选择图片绘制状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),c(m,null,v(b(Y),e=>(n(),i(d,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(f,null,{default:t(()=>[a(w,{type:"primary",onClick:u},{default:t(()=>[g(" 查询 ")]),_:1}),a(w,{onClick:l[3]||(l[3]=e=>j(h.value))},{default:t(()=>[g(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),W((n(),i(V,{style:{width:"100%"}},{default:t(()=>[k("div",Z,[(n(!0),c(m,null,v(C.value,e=>(n(),c("div",{key:e.id,style:{height:"280px"},class:"draw_img_container flex border"},[k("div",ee,[a(R,{fit:"contain","preview-src-list":[e.drawUrl],src:e.drawUrl,lazy:"",class:"draw_img","hide-on-click-modal":""},null,8,["preview-src-list","src"])]),k("div",le,[a(B,{class:"ml-2",type:e.rec?"success":"info"},{default:t(()=>[g(D(e.rec?"已推荐":"未推荐"),1)]),_:2},1032,["type"]),a(w,{type:"warning",plain:"",size:"small",onClick:oe=>M(e.id)},{default:t(()=>[g(D(e.rec?"取消推荐":"加入推荐")+" ",1),e.rec?S("",!0):(n(),i(U,{key:0},{default:t(()=>[a(b(H))]),_:1})),e.rec?(n(),i(U,{key:1},{default:t(()=>[a(q)]),_:1})):S("",!0)]),_:2},1032,["onClick"])])]))),128))]),a(F,{class:"mt-5 flex justify-end"},{default:t(()=>[a(L,{"current-page":o.page,"onUpdate:currentPage":l[4]||(l[4]=e=>o.page=e),"page-size":o.size,"onUpdate:pageSize":l[5]||(l[5]=e=>o.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:x.value,onSizeChange:u,onCurrentChange:u},null,8,["current-page","page-size","total"])]),_:1})]),_:1})),[[O,p.value]])])}}});typeof I=="function"&&I(ae);export{ae as default}; +import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{A}from"./chat-BAyuGdeQ.js";import{d as P,r as _,m as E,a as J,n as r,q as K,g as n,c,b as a,w as t,F as m,s as v,i as b,h as g,y as W,z as i,e as k,K as G,t as D,B as H,A as S,E as Q,k as I}from"./index-CAe0BuuW.js";import{R as X,a as Y}from"./index-DfBvkKrB.js";const Z={class:"draw_container flex"},ee={class:"draw_head"},le={class:"draw_footer mt-3 flex items-center justify-between"},ae=P({__name:"midjourney",setup(te){const p=_(!1),h=_(),x=_(0),z=_(),o=E({userId:"",rec:"",status:3,page:1,size:10}),C=_([]);async function u(){p.value=!0;try{const s=await A.queryMjDrawAll(o),{rows:l,count:d}=s.data;p.value=!1,x.value=d,C.value=l}catch{p.value=!1}}async function M(s){const l=await A.recMjDrawImg({id:s});Q.success(l.data),u()}async function T(s){const l=await G.queryAllUser({size:30,username:s});z.value=l.data.rows}function j(s){s==null||s.resetFields(),u()}return J(()=>{u()}),(s,l)=>{const d=r("el-option"),y=r("el-select"),f=r("el-form-item"),w=r("el-button"),N=r("el-form"),V=$,R=r("el-image"),B=r("el-tag"),U=r("el-icon"),q=r("Minus"),L=r("el-pagination"),F=r("el-row"),O=K("loading");return n(),c("div",null,[a(V,null,{default:t(()=>[a(N,{ref_key:"formRef",ref:h,inline:!0,model:o},{default:t(()=>[a(f,{label:"用户名称",prop:"userId"},{default:t(()=>[a(y,{modelValue:o.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>o.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":T,style:{width:"160px"}},{default:t(()=>[(n(!0),c(m,null,v(z.value,e=>(n(),i(d,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"推荐状态",prop:"rec"},{default:t(()=>[a(y,{modelValue:o.rec,"onUpdate:modelValue":l[1]||(l[1]=e=>o.rec=e),placeholder:"请选择推荐状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),c(m,null,v(b(X),e=>(n(),i(d,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"绘制状态",prop:"status"},{default:t(()=>[a(y,{modelValue:o.status,"onUpdate:modelValue":l[2]||(l[2]=e=>o.status=e),placeholder:"请选择图片绘制状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),c(m,null,v(b(Y),e=>(n(),i(d,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(f,null,{default:t(()=>[a(w,{type:"primary",onClick:u},{default:t(()=>[g(" 查询 ")]),_:1}),a(w,{onClick:l[3]||(l[3]=e=>j(h.value))},{default:t(()=>[g(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),W((n(),i(V,{style:{width:"100%"}},{default:t(()=>[k("div",Z,[(n(!0),c(m,null,v(C.value,e=>(n(),c("div",{key:e.id,style:{height:"280px"},class:"draw_img_container flex border"},[k("div",ee,[a(R,{fit:"contain","preview-src-list":[e.drawUrl],src:e.drawUrl,lazy:"",class:"draw_img","hide-on-click-modal":""},null,8,["preview-src-list","src"])]),k("div",le,[a(B,{class:"ml-2",type:e.rec?"success":"info"},{default:t(()=>[g(D(e.rec?"已推荐":"未推荐"),1)]),_:2},1032,["type"]),a(w,{type:"warning",plain:"",size:"small",onClick:oe=>M(e.id)},{default:t(()=>[g(D(e.rec?"取消推荐":"加入推荐")+" ",1),e.rec?S("",!0):(n(),i(U,{key:0},{default:t(()=>[a(b(H))]),_:1})),e.rec?(n(),i(U,{key:1},{default:t(()=>[a(q)]),_:1})):S("",!0)]),_:2},1032,["onClick"])])]))),128))]),a(F,{class:"mt-5 flex justify-end"},{default:t(()=>[a(L,{"current-page":o.page,"onUpdate:currentPage":l[4]||(l[4]=e=>o.page=e),"page-size":o.size,"onUpdate:pageSize":l[5]||(l[5]=e=>o.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:x.value,onSizeChange:u,onCurrentChange:u},null,8,["current-page","page-size","total"])]),_:1})]),_:1})),[[O,p.value]])])}}});typeof I=="function"&&I(ae);export{ae as default}; diff --git a/public/admin/assets/mind-COFTHx0M.js b/public/admin/assets/mind-Cfbn7Ry5.js similarity index 91% rename from public/admin/assets/mind-COFTHx0M.js rename to public/admin/assets/mind-Cfbn7Ry5.js index 783476a..6a1c114 100644 --- a/public/admin/assets/mind-COFTHx0M.js +++ b/public/admin/assets/mind-Cfbn7Ry5.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 i}from"./config-BQ9gBCXa.js";import{d as j,m as B,r as m,a as E,n as o,g as M,c as N,b as e,w as n,e as u,h as q,E as f,k as _}from"./index-DEc4xym2.js";const O={class:"flex justify-between"},P=u("b",null,"思维导图设置",-1),R=j({__name:"mind",setup(U){const l=B({mindDefaultData:"",mindCustomPrompt:""}),d=m({}),s=m();async function c(){const t=await i.queryConfig({keys:["mindDefaultData","mindCustomPrompt"]});Object.assign(l,t.data)}function p(){var t;(t=s.value)==null||t.validate(async a=>{if(a){try{await i.setConfig({settings:g(l)}),f.success("变更配置信息成功")}catch{}c()}else f.error("请填写完整信息")})}function g(t){return Object.keys(t).map(a=>({configKey:a,configVal:t[a]}))}return E(()=>{c()}),(t,a)=>{const r=o("el-alert"),b=V,y=o("el-button"),w=o("el-input"),x=o("el-form-item"),C=o("el-col"),D=o("el-row"),h=o("el-form"),k=o("el-card");return M(),N("div",null,[e(b,null,{default:n(()=>[e(r,{closable:!1,"show-icon":"",title:"系统基础设置配置说明",description:"默认配置数据会在页面加载后初次展示给用户、预设信息系统有内置提示词、如果您想覆盖掉他、则在此处设置您的专属提示词!",type:"success"})]),_:1}),e(k,{style:{margin:"20px"}},{header:n(()=>[u("div",O,[P,e(y,{class:"button",text:"",onClick:p},{default:n(()=>[q(" 保存设置 ")]),_:1})])]),default:n(()=>[e(h,{ref_key:"formRef",ref:s,rules:d.value,model:l,"label-width":"150px"},{default:n(()=>[e(D,null,{default:n(()=>[e(C,{xs:24,md:20,lg:15,xl:12},{default:n(()=>[e(x,{label:"思维导图默认数据",prop:"mindDefaultData"},{default:n(()=>[e(w,{modelValue:l.mindDefaultData,"onUpdate:modelValue":a[0]||(a[0]=v=>l.mindDefaultData=v),type:"textarea",rows:10,placeholder:"思维导图的默认展示数据Markdown格式",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof _=="function"&&_(R);export{R as default}; +import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as i}from"./config-CwtVyG0K.js";import{d as j,m as B,r as m,a as E,n as o,g as M,c as N,b as e,w as n,e as u,h as q,E as f,k as _}from"./index-CAe0BuuW.js";const O={class:"flex justify-between"},P=u("b",null,"思维导图设置",-1),R=j({__name:"mind",setup(U){const l=B({mindDefaultData:"",mindCustomPrompt:""}),d=m({}),s=m();async function c(){const t=await i.queryConfig({keys:["mindDefaultData","mindCustomPrompt"]});Object.assign(l,t.data)}function p(){var t;(t=s.value)==null||t.validate(async a=>{if(a){try{await i.setConfig({settings:g(l)}),f.success("变更配置信息成功")}catch{}c()}else f.error("请填写完整信息")})}function g(t){return Object.keys(t).map(a=>({configKey:a,configVal:t[a]}))}return E(()=>{c()}),(t,a)=>{const r=o("el-alert"),b=V,y=o("el-button"),w=o("el-input"),x=o("el-form-item"),C=o("el-col"),D=o("el-row"),h=o("el-form"),k=o("el-card");return M(),N("div",null,[e(b,null,{default:n(()=>[e(r,{closable:!1,"show-icon":"",title:"系统基础设置配置说明",description:"默认配置数据会在页面加载后初次展示给用户、预设信息系统有内置提示词、如果您想覆盖掉他、则在此处设置您的专属提示词!",type:"success"})]),_:1}),e(k,{style:{margin:"20px"}},{header:n(()=>[u("div",O,[P,e(y,{class:"button",text:"",onClick:p},{default:n(()=>[q(" 保存设置 ")]),_:1})])]),default:n(()=>[e(h,{ref_key:"formRef",ref:s,rules:d.value,model:l,"label-width":"150px"},{default:n(()=>[e(D,null,{default:n(()=>[e(C,{xs:24,md:20,lg:15,xl:12},{default:n(()=>[e(x,{label:"思维导图默认数据",prop:"mindDefaultData"},{default:n(()=>[e(w,{modelValue:l.mindDefaultData,"onUpdate:modelValue":a[0]||(a[0]=v=>l.mindDefaultData=v),type:"textarea",rows:10,placeholder:"思维导图的默认展示数据Markdown格式",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof _=="function"&&_(R);export{R as default}; diff --git a/public/admin/assets/mj-CpOHr84c.js b/public/admin/assets/mj-akyFMlB2.js similarity index 89% rename from public/admin/assets/mj-CpOHr84c.js rename to public/admin/assets/mj-akyFMlB2.js index 26249ba..2ef41dd 100644 --- a/public/admin/assets/mj-CpOHr84c.js +++ b/public/admin/assets/mj-akyFMlB2.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as s}from"./index-DEc4xym2.js";const t={queryAdminDrawList:e=>s.get("midjourney/adminDrawList",{params:e}),salesAuditOrder:e=>s.post("sales/auditOrder",e),updateSalesUser:e=>s.post("sales/updateUserSales",e),queryRecords:e=>s.get("sales/inviteRecords",{params:e}),querySalesUserList:e=>s.get("sales/salesUserList",{params:e}),queryPrompts:()=>s.get("midjourney/queryPrompts"),setPrompt:e=>s.post("midjourney/setPrompt",e),delPrompt:e=>s.post("midjourney/delPrompt",e)};export{t as A}; +import{I as s}from"./index-CAe0BuuW.js";const t={queryAdminDrawList:e=>s.get("midjourney/adminDrawList",{params:e}),salesAuditOrder:e=>s.post("sales/auditOrder",e),updateSalesUser:e=>s.post("sales/updateUserSales",e),queryRecords:e=>s.get("sales/inviteRecords",{params:e}),querySalesUserList:e=>s.get("sales/salesUserList",{params:e}),queryPrompts:()=>s.get("midjourney/queryPrompts"),setPrompt:e=>s.post("midjourney/setPrompt",e),delPrompt:e=>s.post("midjourney/delPrompt",e)};export{t as A}; diff --git a/public/admin/assets/mpay-DIbFMYy3.js b/public/admin/assets/mpay-DRwpUtvc.js similarity index 94% rename from public/admin/assets/mpay-DIbFMYy3.js rename to public/admin/assets/mpay-DRwpUtvc.js index f1f5cd8..114d92f 100644 --- a/public/admin/assets/mpay-DIbFMYy3.js +++ b/public/admin/assets/mpay-DRwpUtvc.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 _,a as j,n as o,g as M,c as g,b as e,w as a,h as b,F as E,s as L,e as s,E as x,j as $,_ as F,t as H,k as V}from"./index-DEc4xym2.js";import{a as U}from"./config-BQ9gBCXa.js";const J=s("div",{class:"flex items-center gap-4"},"码支付设置",-1),z=s("div",{class:"text-sm/6"},[s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),K=D({__name:"mpay",setup(T){const t=O({payMpayStatus:"",payMpayPid:"",payMpaySecret:"",payMpayNotifyUrl:"",payMpayReturnUrl:"",payMpayApiPayUrl:"",payMpayRedirect:"",payMpayChannel:[]}),C=_({payMpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payMpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payMpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payMpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payMpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}]}),i=_(),P=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function c(){const n=await U.queryConfig({keys:["payMpaySecret","payMpayNotifyUrl","payMpayReturnUrl","payMpayPid","payMpayStatus","payMpayApiPayUrl","payMpayRedirect","payMpayChannel"]}),l=n.data.payMpayChannel?JSON.parse(n.data.payMpayChannel):[];Object.assign(t,n.data,{payMpayChannel:l})}function S(){var n;(n=i.value)==null||n.validate(async l=>{if(l){try{await U.setConfig({settings:v(t)}),x.success("变更配置信息成功")}catch{}c()}else x.error("请填写完整信息")})}function h(n,l){if(["payMpayChannel"].includes(n)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function v(n){return Object.keys(n).map(l=>({configKey:l,configVal:h(l,n[l])}))}return j(()=>{c()}),(n,l)=>{const m=$,k=F,w=B,N=o("el-switch"),r=o("el-form-item"),u=o("el-col"),y=o("el-row"),d=o("el-input"),f=o("el-divider"),A=o("el-checkbox"),R=o("el-checkbox-group"),q=o("el-form"),I=o("el-card");return M(),g("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(m,{name:"i-ri:file-text-line"}),b(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:a(()=>[e(q,{ref_key:"formRef",ref:i,rules:C.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:"payMpayPid"},{default:a(()=>[e(N,{modelValue:t.payMpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payMpayStatus=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:"payMpayPid"},{default:a(()=>[e(d,{modelValue:t.payMpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payMpayPid=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:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payMpaySecret=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:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payMpayNotifyUrl=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:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payMpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payMpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payMpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payMpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payMpayChannel"},{default:a(()=>[e(R,{modelValue:t.payMpayChannel,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payMpayChannel=p),size:"small"},{default:a(()=>[(M(),g(E,null,L(P,p=>e(A,{key:p.value,border:"",label:p.value},{default:a(()=>[b(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 _,a as j,n as o,g as M,c as g,b as e,w as a,h as b,F as E,s as L,e as s,E as x,j as $,_ as F,t as H,k as V}from"./index-CAe0BuuW.js";import{a as U}from"./config-CwtVyG0K.js";const J=s("div",{class:"flex items-center gap-4"},"码支付设置",-1),z=s("div",{class:"text-sm/6"},[s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),K=D({__name:"mpay",setup(T){const t=O({payMpayStatus:"",payMpayPid:"",payMpaySecret:"",payMpayNotifyUrl:"",payMpayReturnUrl:"",payMpayApiPayUrl:"",payMpayRedirect:"",payMpayChannel:[]}),C=_({payMpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payMpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payMpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payMpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payMpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}]}),i=_(),P=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function c(){const n=await U.queryConfig({keys:["payMpaySecret","payMpayNotifyUrl","payMpayReturnUrl","payMpayPid","payMpayStatus","payMpayApiPayUrl","payMpayRedirect","payMpayChannel"]}),l=n.data.payMpayChannel?JSON.parse(n.data.payMpayChannel):[];Object.assign(t,n.data,{payMpayChannel:l})}function S(){var n;(n=i.value)==null||n.validate(async l=>{if(l){try{await U.setConfig({settings:v(t)}),x.success("变更配置信息成功")}catch{}c()}else x.error("请填写完整信息")})}function h(n,l){if(["payMpayChannel"].includes(n)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function v(n){return Object.keys(n).map(l=>({configKey:l,configVal:h(l,n[l])}))}return j(()=>{c()}),(n,l)=>{const m=$,k=F,w=B,N=o("el-switch"),r=o("el-form-item"),u=o("el-col"),y=o("el-row"),d=o("el-input"),f=o("el-divider"),A=o("el-checkbox"),R=o("el-checkbox-group"),q=o("el-form"),I=o("el-card");return M(),g("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(m,{name:"i-ri:file-text-line"}),b(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:a(()=>[e(q,{ref_key:"formRef",ref:i,rules:C.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:"payMpayPid"},{default:a(()=>[e(N,{modelValue:t.payMpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payMpayStatus=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:"payMpayPid"},{default:a(()=>[e(d,{modelValue:t.payMpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payMpayPid=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:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payMpaySecret=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:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payMpayNotifyUrl=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:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payMpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payMpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payMpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payMpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payMpayChannel"},{default:a(()=>[e(R,{modelValue:t.payMpayChannel,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payMpayChannel=p),size:"small"},{default:a(()=>[(M(),g(E,null,L(P,p=>e(A,{key:p.value,border:"",label:p.value},{default:a(()=>[b(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/notice-DMe6HJCf.js b/public/admin/assets/notice-CvCJnusr.js similarity index 95% rename from public/admin/assets/notice-DMe6HJCf.js rename to public/admin/assets/notice-CvCJnusr.js index 1397602..e647dcd 100644 --- a/public/admin/assets/notice-DMe6HJCf.js +++ b/public/admin/assets/notice-CvCJnusr.js @@ -5,25 +5,25 @@ * https://fantastic-admin.github.io */ -const __vite__fileDeps=["assets/index-CuqVCwzF.js","assets/index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js","assets/index-DEc4xym2.js","assets/index-DoMEixLv.css","assets/config-BQ9gBCXa.js","assets/index-CPCk_-3k.js","assets/index-DQbuznjs.js","assets/index-D0zovCt3.js","assets/index-Dr45hn1a.js","assets/index-dw8lITaw.js","assets/index-u0X1sFnG.js","assets/index-C7QxIG5u.js","assets/index-BWYvmMiq.js","assets/index-BtdinBNB.js","assets/index-4viECmb8.js","assets/index-D5Hhl8wt.js","assets/index-DW3qqHSP.js","assets/index-P-OHSRfL.js","assets/dockerfile-BuNIbK2j.js","assets/simple-mode-C4Nsj8zu.js","assets/factor-D8pE9siL.js","assets/nsis-CEAdamBV.js","assets/pug-BmUsPMDj.js","assets/javascript-iSgyE4tI.js","assets/index-Dpn345X_.js","assets/index-JHG2D0zu.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -var kb=Object.defineProperty;var vb=(t,e,i)=>e in t?kb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Ce=(t,e,i)=>(vb(t,typeof e!="symbol"?e+"":e,i),i),Gl=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var x=(t,e,i)=>(Gl(t,e,"read from private field"),i?i.call(t):e.get(t)),K=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},U=(t,e,i,n)=>(Gl(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var Us=(t,e,i,n)=>({set _(r){U(t,e,r,i)},get _(){return x(t,e,n)}}),Y=(t,e,i)=>(Gl(t,e,"access private method"),i);import{_ as Sb}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as Qe,$ as ne,b as v,m as ct,r as de,Z as J,a as Ee,a0 as Qs,a1 as Wa,a2 as kn,p as dt,G as bi,a3 as wb,a4 as _b,a5 as Q,a6 as up,a7 as vi,F as Al,a8 as Ni,a9 as $b,u as Pb,n as Di,g as Cb,c as Qb,w as ot,h as Ab,i as Tb,e as Fa,E as Pr,H as Eb,j as Zb,_ as Db,k as Vh}from"./index-DEc4xym2.js";import{a as Wh}from"./config-BQ9gBCXa.js";const Rb=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},Ib=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Mr=(t,e=new WeakMap)=>{if(t===null||Rb(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return Ib(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Mr(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Mr(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Mr(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Mr(t[n],e));return i},ic=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},Lb=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},Xb=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},cp=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},Mb=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=d=>{const p=a+c-d.y,m=l+u-d.x,g=n-s,O=r-o,y={};m>=0&&m<=O&&(y.left=m),p>=0&&p<=g&&(y.top=p),t.scroll(y)};document.addEventListener("mousemove",h);const f=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},za=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,Fh=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),hp=(t,e)=>{for(const i in e)Fh(e[i])&&Fh(t[i])?t[i]=hp(t[i],e[i]):t[i]=e[i];return t},S="md-editor",Vb="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",Wb="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",we="https://cdnjs.cloudflare.com/ajax/libs",Fb=`${we}/highlight.js/11.8.0/highlight.min.js`,zh={main:`${we}/prettier/2.8.0/standalone.js`,markdown:`${we}/prettier/2.8.0/parser-markdown.js`},zb={css:`${we}/cropperjs/1.5.13/cropper.min.css`,js:`${we}/cropperjs/1.5.13/cropper.min.js`},jb=`${we}/screenfull.js/5.2.0/screenfull.min.js`,fp=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],dp=["markdownTotal","=","scrollSwitch"],jh={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Bb=`${we}/mermaid/10.6.1/mermaid.esm.min.mjs`,qb={js:`${we}/KaTeX/0.16.9/katex.min.js`,css:`${we}/KaTeX/0.16.9/katex.min.css`},ja={a11y:{light:`${we}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${we}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${we}/highlight.js/11.8.0/styles/github.min.css`,dark:`${we}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${we}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${we}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${we}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${we}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${we}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},ze={editorExtensions:{highlight:{js:Fb,css:ja},prettier:{standaloneJs:zh.main,parserMarkdownJs:zh.markdown},cropper:{...zb},iconfont:Vb,iconfontClass:Wb,screenfull:{js:jb},mermaid:{js:Bb},katex:{...qb}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,iconfontType:"svg",mermaidConfig:t=>t},Gs=170,Dt=({instance:t,ctx:e,props:i={}},n="default")=>{const r=(t==null?void 0:t.$slots[n])||(e==null?void 0:e.slots[n]);return(r?r(t):"")||i[n]},Yb={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"}},Xn=Qe({props:Yb,setup(t,e){const i=`${S}-dropdown-hidden`,n=ct({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=de(),s=de(),o=()=>{var c,h;n.triggerHover=!0;const f=r.value,d=s.value;if(!f||!d)return;const p=f.getBoundingClientRect(),m=f.offsetTop,g=f.offsetLeft,O=p.height,y=p.width,k=((c=document.querySelector(t.relative))==null?void 0:c.scrollLeft)||0,w=((h=document.querySelector(t.relative))==null?void 0:h.clientWidth)||0;let _=g-d.offsetWidth/2+y/2-k;_+d.offsetWidth>k+w&&(_=k+w-d.offsetWidth),_<0&&(_=0),n.overlayStyle={...n.overlayStyle,top:m+O+"px",left:_+"px"},t.onChange(!0)},l=()=>{n.overlayHover=!0};J(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return Ee(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),Qs(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=Dt({ctx:e}),h=Dt({props:t,ctx:e},"overlay"),f=Wa(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),d=v("div",{class:[`${S}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[v("div",{class:`${S}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[f,d]}}}),Nb={title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String},default:{type:[String,Object]}},Qo=Qe({name:"DropdownToolbar",props:Nb,emits:["onChange"],setup(t,e){const i=ne("editorId");return()=>{const n=Dt({props:t,ctx:e},"trigger"),r=Dt({props:t,ctx:e},"overlay"),s=Dt({props:t,ctx:e});return v(Xn,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:o=>{t.onChange instanceof Function?t.onChange(o):e.emit("onChange",o)},overlay:r},{default:()=>[v("div",{class:`${S}-toolbar-item`,title:t.title||""},[n,s])]})}}});Qo.install=t=>(t.component(Qo.name,Qo),t);var Ub=Object.defineProperty,Gb=(t,e,i)=>e in t?Ub(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Hb=(t,e,i)=>(Gb(t,e+"",i),i);class Kb{constructor(){Hb(this,"pools",{})}remove(e,i,n){const s=this.pools[e]&&this.pools[e][i];s&&(this.pools[e][i]=s.filter(o=>o!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const s=this.pools[e][i];s&&s.forEach(o=>{try{o(...n)}catch(l){console.error(`${i} monitor event exception!`,l)}})}}const I=new Kb,Tl="onSave",nc="changeCatalogVisible",pp="changeFullscreen",Bh="pageFullscreenChanged",qh="fullscreenChanged",Yh="previewChanged",Nh="previewOnlyChanged",Uh="htmlPreviewChanged",Gh="catalogVisibleChanged",Ao="buildFinished",Cn="errorCatcher",fe="replace",El="uploadImage",Ba="openModals",mp="ctrlZ",Op="ctrlShiftZ",To="catalogChanged",gp="pushCatalog",rc="rerender",bp="eventListener",Hh=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l}=document.documentElement,{clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=d=>{let p=d.x+document.body.scrollLeft-document.body.clientLeft-u,m=d.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},Ot=(t,e,i="")=>{var n;const r=document.getElementById(e.id);if(r)i!==""&&(Reflect.get(window,i)?(n=e.onload)==null||n.call(r,new Event("load")):e.onload&&r.addEventListener("load",e.onload));else{const s={...e};s.onload=null;const o=ey(t,s);e.onload&&o.addEventListener("load",e.onload),document.head.appendChild(o)}},Jb=(t,e)=>{const i=document.getElementById(e.id);i==null||i.remove(),Ot(t,e)},ey=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},ty=(t,e="image.png")=>{const i=t.split(","),n=i[0].match(/:(.*?);/);if(n){const r=n[1],s=atob(i[1]);let o=s.length;const l=new Uint8Array(o);for(;o--;)l[o]=s.charCodeAt(o);return new File([l],e,{type:r})}return null},iy=t=>{if(!t)return t;const e=t.split(` -`),i=['"),`${t}${i.join("")}`},ny=(t,e)=>{if(!t||!e)return 0;const i=t==null?void 0:t.getBoundingClientRect();if(e===document.documentElement)return i.top-e.clientTop;const n=e==null?void 0:e.getBoundingClientRect();return i.top-n.top},ry=(()=>{let t=0;return e=>e+ ++t})(),Kh=(()=>{let t=0;return()=>++t})(),sy=Qe({props:{name:{type:String,default:""}},setup(t){return()=>v("svg",{class:`${S}-icon`,"aria-hidden":"true"},[v("use",{"xlink:href":`#${S}-icon-${t.name}`},null)])}}),re=Qe({props:{name:{type:String,default:""}},setup(t){const e=ne("customIcon");return()=>{const i=e.value[t.name];return typeof i=="object"?typeof i.component=="object"?_b(i.component,i.props):v("span",{innerHTML:i.component},null):v(sy,{name:t.name},null)}}}),oy={title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String},style:{type:Object,default:()=>({})}},zn=Qe({name:"MdModal",props:oy,emits:["onClose"],setup(t,e){const i=ne("theme"),n=de(t.visible),r=de([`${S}-modal`]),s=de(),o=de(),l=de(),a=kn();let u=()=>{};const c=ct({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),h=dt(()=>t.isFullscreen?{width:"100%",height:"100%"}:{width:t.width,height:t.height});return J(()=>t.isFullscreen,f=>{f?u():bi(()=>{u=Hh(o.value,(d,p)=>{c.initPos.left=d+"px",c.initPos.top=p+"px"})})}),J(()=>t.visible,f=>{f?(c.maskStyle.zIndex=ze.editorConfig.zIndex+Kh(),c.modalStyle.zIndex=ze.editorConfig.zIndex+Kh(),r.value.push("zoom-in"),n.value=f,bi(()=>{const d=s.value.offsetWidth/2,p=s.value.offsetHeight/2,m=document.documentElement.clientWidth/2,g=document.documentElement.clientHeight/2;c.initPos.left=m-d+"px",c.initPos.top=g-p+"px",t.isFullscreen||(u=Hh(o.value,(O,y)=>{c.initPos.left=O+"px",c.initPos.top=y+"px"}))}),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-in")},140)):(r.value.push("zoom-out"),u(),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-out"),n.value=f},130))}),Ee(()=>{l.value=document.body}),()=>{const f=Dt({ctx:e}),d=Dt({props:t,ctx:e},"title");return l.value?v(wb,{to:l.value},{default:()=>[v("div",{ref:a,class:`${S}-modal-container`,"data-theme":i.value},[v("div",{class:t.class,style:{...t.style,display:n.value?"block":"none"}},[v("div",{class:`${S}-modal-mask`,style:c.maskStyle,onClick:()=>{t.onClose?t.onClose():e.emit("onClose")}},null),v("div",{class:r.value,style:{...c.modalStyle,...c.initPos,...h.value},ref:s},[v("div",{class:`${S}-modal-header`,ref:o},[d||""]),v("div",{class:`${S}-modal-body`},[f]),v("div",{class:`${S}-modal-func`},[t.showAdjust&&v("div",{class:`${S}-modal-adjust`,onClick:p=>{p.stopPropagation(),t.isFullscreen?c.initPos=c.historyPos:(c.historyPos=c.initPos,c.initPos={left:"0",top:"0"}),t.onAdjust(!t.isFullscreen)}},[v(re,{name:t.isFullscreen?"suoxiao":"fangda"},null)]),v("div",{class:`${S}-modal-close`,onClick:p=>{p.stopPropagation(),t.onClose?t.onClose():e.emit("onClose")}},[v(re,{name:"close"},null)])])])])])]}):""}}});zn.install=t=>(t.component(zn.name,zn),t);class ue{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,n){[e,i]=nr(this,e,i);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(i,this.length,r,1),ci.from(r,this.length-(i-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=nr(this,e,i);let n=[];return this.decompose(e,i,n,0),ci.from(n,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new Nr(this),s=new Nr(e);for(let o=i,l=i;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(l+=r.value.length,r.done||l>=n)return!0}}iter(e=1){return new Nr(this,e)}iterRange(e,i=this.length){return new yp(this,e,i)}iterLines(e,i){let n;if(e==null)n=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new xp(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ue.empty:e.length<=32?new Re(e):ci.from(Re.split(e,[]))}}class Re extends ue{constructor(e,i=ly(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.text[s],l=r+o.length;if((i?n:l)>=e)return new ay(r,l,n,o);r=l+1,n++}}decompose(e,i,n,r){let s=e<=0&&i>=this.length?this:new Re(Jh(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let o=n.pop(),l=Eo(s.text,o.text.slice(),0,s.length);if(l.length<=32)n.push(new Re(l,o.length+s.length));else{let a=l.length>>1;n.push(new Re(l.slice(0,a)),new Re(l.slice(a)))}}else n.push(s)}replace(e,i,n){if(!(n instanceof Re))return super.replace(e,i,n);[e,i]=nr(this,e,i);let r=Eo(this.text,Eo(n.text,Jh(this.text,0,e)),i),s=this.length+n.length-(i-e);return r.length<=32?new Re(r,s):ci.from(Re.split(r,[]),s)}sliceString(e,i=this.length,n=` +const __vite__fileDeps=["./index-ADqn1Xh3.js","./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js","./index-CAe0BuuW.js","./index-DoMEixLv.css","./config-CwtVyG0K.js","./index-BCqFFscH.js","./index-P2Vt3Ddu.js","./index-C_6lQNnB.js","./index-wh-fAePm.js","./index-BYVK8Yvh.js","./index-CFUZZW6X.js","./index-q_MmrchX.js","./index-CTCDuFn2.js","./index-8is-rwMV.js","./index-DCWE6mb8.js","./index-DGXfnCeH.js","./index-DfxBc_UJ.js","./index-DjmjBU_W.js","./dockerfile-BuNIbK2j.js","./simple-mode-C4Nsj8zu.js","./factor-D8pE9siL.js","./nsis-CEAdamBV.js","./pug-BmUsPMDj.js","./javascript-iSgyE4tI.js","./index-BeaVUBD5.js","./index-D0L5MP4D.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +var kb=Object.defineProperty;var vb=(t,e,i)=>e in t?kb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Ce=(t,e,i)=>(vb(t,typeof e!="symbol"?e+"":e,i),i),Gl=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var x=(t,e,i)=>(Gl(t,e,"read from private field"),i?i.call(t):e.get(t)),K=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},U=(t,e,i,n)=>(Gl(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var Us=(t,e,i,n)=>({set _(r){U(t,e,r,i)},get _(){return x(t,e,n)}}),Y=(t,e,i)=>(Gl(t,e,"access private method"),i);import{_ as Sb}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as Qe,$ as ne,b as v,m as ct,r as de,Z as J,a as Ee,a0 as Qs,a1 as Wa,a2 as kn,p as dt,G as bi,a3 as wb,a4 as _b,a5 as Q,a6 as u0,a7 as vi,F as Al,a8 as Ni,a9 as $b,u as Pb,n as Di,g as Cb,c as Qb,w as ot,h as Ab,i as Tb,e as Fa,E as Pr,H as Eb,j as Zb,_ as Db,k as Vh}from"./index-CAe0BuuW.js";import{a as Wh}from"./config-CwtVyG0K.js";const Rb=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},Ib=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Mr=(t,e=new WeakMap)=>{if(t===null||Rb(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return Ib(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Mr(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Mr(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Mr(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Mr(t[n],e));return i},ic=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},Lb=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},Xb=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},c0=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},Mb=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=d=>{const p=a+c-d.y,m=l+u-d.x,g=n-s,O=r-o,y={};m>=0&&m<=O&&(y.left=m),p>=0&&p<=g&&(y.top=p),t.scroll(y)};document.addEventListener("mousemove",h);const f=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},za=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,Fh=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),h0=(t,e)=>{for(const i in e)Fh(e[i])&&Fh(t[i])?t[i]=h0(t[i],e[i]):t[i]=e[i];return t},S="md-editor",Vb="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",Wb="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",we="https://cdnjs.cloudflare.com/ajax/libs",Fb=`${we}/highlight.js/11.8.0/highlight.min.js`,zh={main:`${we}/prettier/2.8.0/standalone.js`,markdown:`${we}/prettier/2.8.0/parser-markdown.js`},zb={css:`${we}/cropperjs/1.5.13/cropper.min.css`,js:`${we}/cropperjs/1.5.13/cropper.min.js`},jb=`${we}/screenfull.js/5.2.0/screenfull.min.js`,f0=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],d0=["markdownTotal","=","scrollSwitch"],jh={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Bb=`${we}/mermaid/10.6.1/mermaid.esm.min.mjs`,qb={js:`${we}/KaTeX/0.16.9/katex.min.js`,css:`${we}/KaTeX/0.16.9/katex.min.css`},ja={a11y:{light:`${we}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${we}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${we}/highlight.js/11.8.0/styles/github.min.css`,dark:`${we}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${we}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${we}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${we}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${we}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${we}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${we}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},ze={editorExtensions:{highlight:{js:Fb,css:ja},prettier:{standaloneJs:zh.main,parserMarkdownJs:zh.markdown},cropper:{...zb},iconfont:Vb,iconfontClass:Wb,screenfull:{js:jb},mermaid:{js:Bb},katex:{...qb}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,iconfontType:"svg",mermaidConfig:t=>t},Gs=170,Dt=({instance:t,ctx:e,props:i={}},n="default")=>{const r=(t==null?void 0:t.$slots[n])||(e==null?void 0:e.slots[n]);return(r?r(t):"")||i[n]},Yb={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"}},Xn=Qe({props:Yb,setup(t,e){const i=`${S}-dropdown-hidden`,n=ct({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=de(),s=de(),o=()=>{var c,h;n.triggerHover=!0;const f=r.value,d=s.value;if(!f||!d)return;const p=f.getBoundingClientRect(),m=f.offsetTop,g=f.offsetLeft,O=p.height,y=p.width,k=((c=document.querySelector(t.relative))==null?void 0:c.scrollLeft)||0,w=((h=document.querySelector(t.relative))==null?void 0:h.clientWidth)||0;let _=g-d.offsetWidth/2+y/2-k;_+d.offsetWidth>k+w&&(_=k+w-d.offsetWidth),_<0&&(_=0),n.overlayStyle={...n.overlayStyle,top:m+O+"px",left:_+"px"},t.onChange(!0)},l=()=>{n.overlayHover=!0};J(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return Ee(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),Qs(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=Dt({ctx:e}),h=Dt({props:t,ctx:e},"overlay"),f=Wa(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),d=v("div",{class:[`${S}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[v("div",{class:`${S}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[f,d]}}}),Nb={title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String},default:{type:[String,Object]}},Qo=Qe({name:"DropdownToolbar",props:Nb,emits:["onChange"],setup(t,e){const i=ne("editorId");return()=>{const n=Dt({props:t,ctx:e},"trigger"),r=Dt({props:t,ctx:e},"overlay"),s=Dt({props:t,ctx:e});return v(Xn,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:o=>{t.onChange instanceof Function?t.onChange(o):e.emit("onChange",o)},overlay:r},{default:()=>[v("div",{class:`${S}-toolbar-item`,title:t.title||""},[n,s])]})}}});Qo.install=t=>(t.component(Qo.name,Qo),t);var Ub=Object.defineProperty,Gb=(t,e,i)=>e in t?Ub(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Hb=(t,e,i)=>(Gb(t,e+"",i),i);class Kb{constructor(){Hb(this,"pools",{})}remove(e,i,n){const s=this.pools[e]&&this.pools[e][i];s&&(this.pools[e][i]=s.filter(o=>o!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const s=this.pools[e][i];s&&s.forEach(o=>{try{o(...n)}catch(l){console.error(`${i} monitor event exception!`,l)}})}}const I=new Kb,Tl="onSave",nc="changeCatalogVisible",p0="changeFullscreen",Bh="pageFullscreenChanged",qh="fullscreenChanged",Yh="previewChanged",Nh="previewOnlyChanged",Uh="htmlPreviewChanged",Gh="catalogVisibleChanged",Ao="buildFinished",Cn="errorCatcher",fe="replace",El="uploadImage",Ba="openModals",m0="ctrlZ",O0="ctrlShiftZ",To="catalogChanged",g0="pushCatalog",rc="rerender",b0="eventListener",Hh=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l}=document.documentElement,{clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=d=>{let p=d.x+document.body.scrollLeft-document.body.clientLeft-u,m=d.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},Ot=(t,e,i="")=>{var n;const r=document.getElementById(e.id);if(r)i!==""&&(Reflect.get(window,i)?(n=e.onload)==null||n.call(r,new Event("load")):e.onload&&r.addEventListener("load",e.onload));else{const s={...e};s.onload=null;const o=ey(t,s);e.onload&&o.addEventListener("load",e.onload),document.head.appendChild(o)}},Jb=(t,e)=>{const i=document.getElementById(e.id);i==null||i.remove(),Ot(t,e)},ey=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},ty=(t,e="image.png")=>{const i=t.split(","),n=i[0].match(/:(.*?);/);if(n){const r=n[1],s=atob(i[1]);let o=s.length;const l=new Uint8Array(o);for(;o--;)l[o]=s.charCodeAt(o);return new File([l],e,{type:r})}return null},iy=t=>{if(!t)return t;const e=t.split(` +`),i=['"),`${t}${i.join("")}`},ny=(t,e)=>{if(!t||!e)return 0;const i=t==null?void 0:t.getBoundingClientRect();if(e===document.documentElement)return i.top-e.clientTop;const n=e==null?void 0:e.getBoundingClientRect();return i.top-n.top},ry=(()=>{let t=0;return e=>e+ ++t})(),Kh=(()=>{let t=0;return()=>++t})(),sy=Qe({props:{name:{type:String,default:""}},setup(t){return()=>v("svg",{class:`${S}-icon`,"aria-hidden":"true"},[v("use",{"xlink:href":`#${S}-icon-${t.name}`},null)])}}),re=Qe({props:{name:{type:String,default:""}},setup(t){const e=ne("customIcon");return()=>{const i=e.value[t.name];return typeof i=="object"?typeof i.component=="object"?_b(i.component,i.props):v("span",{innerHTML:i.component},null):v(sy,{name:t.name},null)}}}),oy={title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String},style:{type:Object,default:()=>({})}},zn=Qe({name:"MdModal",props:oy,emits:["onClose"],setup(t,e){const i=ne("theme"),n=de(t.visible),r=de([`${S}-modal`]),s=de(),o=de(),l=de(),a=kn();let u=()=>{};const c=ct({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),h=dt(()=>t.isFullscreen?{width:"100%",height:"100%"}:{width:t.width,height:t.height});return J(()=>t.isFullscreen,f=>{f?u():bi(()=>{u=Hh(o.value,(d,p)=>{c.initPos.left=d+"px",c.initPos.top=p+"px"})})}),J(()=>t.visible,f=>{f?(c.maskStyle.zIndex=ze.editorConfig.zIndex+Kh(),c.modalStyle.zIndex=ze.editorConfig.zIndex+Kh(),r.value.push("zoom-in"),n.value=f,bi(()=>{const d=s.value.offsetWidth/2,p=s.value.offsetHeight/2,m=document.documentElement.clientWidth/2,g=document.documentElement.clientHeight/2;c.initPos.left=m-d+"px",c.initPos.top=g-p+"px",t.isFullscreen||(u=Hh(o.value,(O,y)=>{c.initPos.left=O+"px",c.initPos.top=y+"px"}))}),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-in")},140)):(r.value.push("zoom-out"),u(),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-out"),n.value=f},130))}),Ee(()=>{l.value=document.body}),()=>{const f=Dt({ctx:e}),d=Dt({props:t,ctx:e},"title");return l.value?v(wb,{to:l.value},{default:()=>[v("div",{ref:a,class:`${S}-modal-container`,"data-theme":i.value},[v("div",{class:t.class,style:{...t.style,display:n.value?"block":"none"}},[v("div",{class:`${S}-modal-mask`,style:c.maskStyle,onClick:()=>{t.onClose?t.onClose():e.emit("onClose")}},null),v("div",{class:r.value,style:{...c.modalStyle,...c.initPos,...h.value},ref:s},[v("div",{class:`${S}-modal-header`,ref:o},[d||""]),v("div",{class:`${S}-modal-body`},[f]),v("div",{class:`${S}-modal-func`},[t.showAdjust&&v("div",{class:`${S}-modal-adjust`,onClick:p=>{p.stopPropagation(),t.isFullscreen?c.initPos=c.historyPos:(c.historyPos=c.initPos,c.initPos={left:"0",top:"0"}),t.onAdjust(!t.isFullscreen)}},[v(re,{name:t.isFullscreen?"suoxiao":"fangda"},null)]),v("div",{class:`${S}-modal-close`,onClick:p=>{p.stopPropagation(),t.onClose?t.onClose():e.emit("onClose")}},[v(re,{name:"close"},null)])])])])])]}):""}}});zn.install=t=>(t.component(zn.name,zn),t);class ue{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,n){[e,i]=nr(this,e,i);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(i,this.length,r,1),ci.from(r,this.length-(i-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=nr(this,e,i);let n=[];return this.decompose(e,i,n,0),ci.from(n,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new Nr(this),s=new Nr(e);for(let o=i,l=i;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(l+=r.value.length,r.done||l>=n)return!0}}iter(e=1){return new Nr(this,e)}iterRange(e,i=this.length){return new y0(this,e,i)}iterLines(e,i){let n;if(e==null)n=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new x0(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ue.empty:e.length<=32?new Re(e):ci.from(Re.split(e,[]))}}class Re extends ue{constructor(e,i=ly(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.text[s],l=r+o.length;if((i?n:l)>=e)return new ay(r,l,n,o);r=l+1,n++}}decompose(e,i,n,r){let s=e<=0&&i>=this.length?this:new Re(Jh(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let o=n.pop(),l=Eo(s.text,o.text.slice(),0,s.length);if(l.length<=32)n.push(new Re(l,o.length+s.length));else{let a=l.length>>1;n.push(new Re(l.slice(0,a)),new Re(l.slice(a)))}}else n.push(s)}replace(e,i,n){if(!(n instanceof Re))return super.replace(e,i,n);[e,i]=nr(this,e,i);let r=Eo(this.text,Eo(n.text,Jh(this.text,0,e)),i),s=this.length+n.length-(i-e);return r.length<=32?new Re(r,s):ci.from(Re.split(r,[]),s)}sliceString(e,i=this.length,n=` `){[e,i]=nr(this,e,i);let r="";for(let s=0,o=0;s<=i&&oe&&o&&(r+=n),es&&(r+=l.slice(Math.max(0,e-s),i-s)),s=a+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,n.length==32&&(i.push(new Re(n,r)),n=[],r=-1);return r>-1&&i.push(new Re(n,r)),i}}class ci extends ue{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.children[s],l=r+o.length,a=n+o.lines-1;if((i?a:l)>=e)return o.lineInner(e,i,n,r);r=l+1,n=a+1}}decompose(e,i,n,r){for(let s=0,o=0;o<=i&&s=o){let u=r&((o<=e?1:0)|(a>=i?2:0));o>=e&&a<=i&&!u?n.push(l):l.decompose(e-o,i-o,n,u)}o=a+1}}replace(e,i,n){if([e,i]=nr(this,e,i),n.lines=s&&i<=l){let a=o.replace(e-s,i-s,n),u=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>u>>6){let c=this.children.slice();return c[r]=a,new ci(c,this.length-(i-e)+n.length)}return super.replace(s,l,a)}s=l+1}return super.replace(e,i,n)}sliceString(e,i=this.length,n=` `){[e,i]=nr(this,e,i);let r="";for(let s=0,o=0;se&&s&&(r+=n),eo&&(r+=l.sliceString(e-o,i-o,n)),o=a+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof ci))return 0;let n=0,[r,s,o,l]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,s+=i){if(r==o||s==l)return n;let a=this.children[r],u=e.children[s];if(a!=u)return n+a.scanIdentical(u,i);n+=a.length+1}}static from(e,i=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let d=[];for(let p of e)p.flatten(d);return new Re(d,i)}let r=Math.max(32,n>>5),s=r<<1,o=r>>1,l=[],a=0,u=-1,c=[];function h(d){let p;if(d.lines>s&&d instanceof ci)for(let m of d.children)h(m);else d.lines>o&&(a>o||!a)?(f(),l.push(d)):d instanceof Re&&a&&(p=c[c.length-1])instanceof Re&&d.lines+p.lines<=32?(a+=d.lines,u+=d.length+1,c[c.length-1]=new Re(p.text.concat(d.text),p.length+1+d.length)):(a+d.lines>r&&f(),a+=d.lines,u+=d.length+1,c.push(d))}function f(){a!=0&&(l.push(c.length==1?c[0]:ci.from(c,u)),u=-1,a=c.length=0)}for(let d of e)h(d);return f(),l.length==1?l[0]:new ci(l,i)}}ue.empty=new Re([""],0);function ly(t){let e=-1;for(let i of t)e+=i.length+1;return e}function Eo(t,e,i=0,n=1e9){for(let r=0,s=0,o=!0;s=i&&(a>n&&(l=l.slice(0,n-r)),r0?1:(e instanceof Re?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],o=s>>1,l=r instanceof Re?r.text.length:r.children.length;if(o==(i>0?l:0)){if(n==0)return this.done=!0,this.value="",this;i>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(i>0?0:1)){if(this.offsets[n]+=i,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(r instanceof Re){let a=r.text[o+(i<0?-1:0)];if(this.offsets[n]+=i,a.length>Math.max(0,e))return this.value=e==0?a:i>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[o+(i<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=i):(i<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(i>0?1:(a instanceof Re?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class yp{constructor(e,i,n){this.value="",this.done=!1,this.cursor=new Nr(e,i>n?-1:1),this.pos=i>n?e.length:0,this.from=Math.min(i,n),this.to=Math.max(i,n)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let n=i<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=n?r:i<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class xp{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:n,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ue.prototype[Symbol.iterator]=function(){return this.iter()},Nr.prototype[Symbol.iterator]=yp.prototype[Symbol.iterator]=xp.prototype[Symbol.iterator]=function(){return this});let ay=class{constructor(e,i,n,r){this.from=e,this.to=i,this.number=n,this.text=r}get length(){return this.to-this.from}};function nr(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}let jn="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return jn[e-1]<=t;return!1}function ef(t){return t>=127462&&t<=127487}const tf=8205;function He(t,e,i=!0,n=!0){return(i?kp:cy)(t,e,n)}function kp(t,e,i){if(e==t.length)return e;e&&vp(t.charCodeAt(e))&&Sp(t.charCodeAt(e-1))&&e--;let n=Gt(t,e);for(e+=_i(n);e=0&&ef(Gt(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function cy(t,e,i){for(;e>0;){let n=kp(t,e-2,i);if(n=56320&&t<57344}function Sp(t){return t>=55296&&t<56320}function Gt(t,e){let i=t.charCodeAt(e);if(!Sp(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return vp(n)?(i-55296<<10)+(n-56320)+65536:i}function wp(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function _i(t){return t<65536?1:2}const qa=/\r\n?|\n/;var ut=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(ut||(ut={}));class gi{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;ie)return s+(e-r);s+=l}else{if(n!=ut.Simple&&u>=e&&(n==ut.TrackDel&&re||n==ut.TrackBefore&&re))return null;if(u>e||u==e&&i<0&&!l)return e==r||i<0?s:s+a;s+=a}r=u}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,i=e){for(let n=0,r=0;n=0&&r<=i&&l>=e)return ri?"cover":!0;r=l}return!1}toString(){let e="";for(let i=0;i=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new gi(e)}static create(e){return new gi(e)}}class Fe extends gi{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Ya(this,(i,n,r,s,o)=>e=e.replace(r,r+(n-i),o),!1),e}mapDesc(e,i=!1){return Na(this,e,i,!0)}invert(e){let i=this.sections.slice(),n=[];for(let r=0,s=0;r=0){i[r]=l,i[r+1]=o;let a=r>>1;for(;n.length0&&Ui(n,i,s.text),s.forward(c),l+=c}let u=e[o++];for(;l>1].toJSON()))}return e}static of(e,i,n){let r=[],s=[],o=0,l=null;function a(c=!1){if(!c&&!r.length)return;of||h<0||f>i)throw new RangeError(`Invalid change range ${h} to ${f} (in doc of length ${i})`);let p=d?typeof d=="string"?ue.of(d.split(n||qa)):d:ue.empty,m=p.length;if(h==f&&m==0)return;ho&&it(r,h-o,-1),it(r,f-h,m),Ui(s,r,p),o=f}}return u(e),a(!l),l}static empty(e){return new Fe(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],n=[];for(let r=0;rl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)i.push(s[0],0);else{for(;n.length=0&&i<=0&&i==t[r+1]?t[r]+=e:e==0&&t[r]==0?t[r+1]+=i:n?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function Ui(t,e,i){if(i.length==0)return;let n=e.length-2>>1;if(n>1])),!(i||o==t.sections.length||t.sections[o+1]<0);)l=t.sections[o++],a=t.sections[o++];e(r,u,s,c,h),r=u,s=c}}}function Na(t,e,i,n=!1){let r=[],s=n?[]:null,o=new ns(t),l=new ns(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let u=Math.min(o.len,l.len);it(r,u,-1),o.forward(u),l.forward(u)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let u=0,c=o.len;for(;c;)if(l.ins==-1){let h=Math.min(c,l.len);u+=h,c-=h,l.forward(h)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||n.length>u),s.forward2(a),o.forward(a)}}}}class ns{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return i>=e.length?ue.empty:e[i]}textBit(e){let{inserted:i}=this.set,n=this.i-2>>1;return n>=i.length&&!e?ue.empty:i[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class On{constructor(e,i,n){this.from=e,this.to=i,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,i):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new On(n,r,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return T.range(e,i);let n=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return T.range(this.anchor,n)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return T.range(e.anchor,e.head)}static create(e,i,n){return new On(e,i,n)}}class T{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:T.create(this.ranges.map(n=>n.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new T(e.ranges.map(i=>On.fromJSON(i)),e.main)}static single(e,i=e){return new T([T.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;re?8:0)|s)}static normalized(e,i=0){let n=e[i];e.sort((r,s)=>r.from-s.from),i=e.indexOf(n);for(let r=1;rs.head?T.range(a,l):T.range(l,a))}}return new T(e,i)}}function $p(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let sc=0;class N{constructor(e,i,n,r,s){this.combine=e,this.compareInput=i,this.compare=n,this.isStatic=r,this.id=sc++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new N(e.combine||(i=>i),e.compareInput||((i,n)=>i===n),e.compare||(e.combine?(i,n)=>i===n:oc),!!e.static,e.enables)}of(e){return new Zo([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Zo(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Zo(e,this,2,i)}from(e,i){return i||(i=n=>n),this.compute([e],n=>i(n.field(e)))}}function oc(t,e){return t==e||t.length==e.length&&t.every((i,n)=>i===e[n])}class Zo{constructor(e,i,n,r){this.dependencies=e,this.facet=i,this.type=n,this.value=r,this.id=sc++}dynamicSlot(e){var i;let n=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,l=this.type==2,a=!1,u=!1,c=[];for(let h of this.dependencies)h=="doc"?a=!0:h=="selection"?u=!0:((i=e[h.id])!==null&&i!==void 0?i:1)&1||c.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,f){if(a&&f.docChanged||u&&(f.docChanged||f.selection)||Ua(h,c)){let d=n(h);if(l?!nf(d,h.values[o],r):!r(d,h.values[o]))return h.values[o]=d,1}return 0},reconfigure:(h,f)=>{let d,p=f.config.address[s];if(p!=null){let m=Ho(f,p);if(this.dependencies.every(g=>g instanceof N?f.facet(g)===h.facet(g):g instanceof Mt?f.field(g,!1)==h.field(g,!1):!0)||(l?nf(d=n(h),m,r):r(d=n(h),m)))return h.values[o]=m,0}else d=n(h);return h.values[o]=d,1}}}}function nf(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[a.id]),r=i.map(a=>a.type),s=n.filter(a=>!(a&1)),o=t[e.id]>>1;function l(a){let u=[];for(let c=0;cn===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(rf).find(n=>n.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:n=>(n.values[i]=this.create(n),1),update:(n,r)=>{let s=n.values[i],o=this.updateF(s,r);return this.compareF(s,o)?0:(n.values[i]=o,1)},reconfigure:(n,r)=>r.config.address[this.id]!=null?(n.values[i]=r.field(this),0):(n.values[i]=this.create(n),1)}}init(e){return[this,rf.of({field:this,create:e})]}get extension(){return this}}const pn={lowest:4,low:3,default:2,high:1,highest:0};function Cr(t){return e=>new Pp(e,t)}const an={highest:Cr(pn.highest),high:Cr(pn.high),default:Cr(pn.default),low:Cr(pn.low),lowest:Cr(pn.lowest)};class Pp{constructor(e,i){this.inner=e,this.prec=i}}class hi{of(e){return new Ga(this,e)}reconfigure(e){return hi.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Ga{constructor(e,i){this.compartment=e,this.inner=i}}class Go{constructor(e,i,n,r,s,o){for(this.base=e,this.compartments=i,this.dynamicSlots=n,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,i,n){let r=[],s=Object.create(null),o=new Map;for(let f of fy(e,i,o))f instanceof Mt?r.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let l=Object.create(null),a=[],u=[];for(let f of r)l[f.id]=u.length<<1,u.push(d=>f.slot(d));let c=n==null?void 0:n.config.facets;for(let f in s){let d=s[f],p=d[0].facet,m=c&&c[f]||[];if(d.every(g=>g.type==0))if(l[p.id]=a.length<<1|1,oc(m,d))a.push(n.facet(p));else{let g=p.combine(d.map(O=>O.value));a.push(n&&p.compare(g,n.facet(p))?n.facet(p):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=u.length<<1,u.push(O=>g.dynamicSlot(O)));l[p.id]=u.length<<1,u.push(g=>hy(g,p,d))}}let h=u.map(f=>f(l));return new Go(e,o,h,l,a,s)}}function fy(t,e,i){let n=[[],[],[],[],[]],r=new Map;function s(o,l){let a=r.get(o);if(a!=null){if(a<=l)return;let u=n[a].indexOf(o);u>-1&&n[a].splice(u,1),o instanceof Ga&&i.delete(o.compartment)}if(r.set(o,l),Array.isArray(o))for(let u of o)s(u,l);else if(o instanceof Ga){if(i.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(o.compartment)||o.inner;i.set(o.compartment,u),s(u,l)}else if(o instanceof Pp)s(o.inner,o.prec);else if(o instanceof Mt)n[l].push(o),o.provides&&s(o.provides,l);else if(o instanceof Zo)n[l].push(o),o.facet.extensions&&s(o.facet.extensions,pn.default);else{let u=o.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,l)}}return s(t,pn.default),n.reduce((o,l)=>o.concat(l))}function Ur(t,e){if(e&1)return 2;let i=e>>1,n=t.status[i];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function Ho(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const Cp=N.define(),Ha=N.define({combine:t=>t.some(e=>e),static:!0}),Qp=N.define({combine:t=>t.length?t[0]:void 0,static:!0}),Ap=N.define(),Tp=N.define(),Ep=N.define(),Zp=N.define({combine:t=>t.length?t[0]:!1});class Ei{constructor(e,i){this.type=e,this.value=i}static define(){return new dy}}class dy{of(e){return new Ei(this,e)}}class py{constructor(e){this.map=e}of(e){return new ce(this,e)}}class ce{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new ce(this.type,i)}is(e){return this.type==e}static define(e={}){return new py(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let n=[];for(let r of e){let s=r.map(i);s&&n.push(s)}return n}}ce.reconfigure=ce.define();ce.appendConfig=ce.define();class Le{constructor(e,i,n,r,s,o){this.startState=e,this.changes=i,this.selection=n,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,n&&$p(n,i.newLength),s.some(l=>l.type==Le.time)||(this.annotations=s.concat(Le.time.of(Date.now())))}static create(e,i,n,r,s,o){return new Le(e,i,n,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(Le.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}}Le.time=Ei.define();Le.userEvent=Ei.define();Le.addToHistory=Ei.define();Le.remote=Ei.define();function my(t,e){let i=[];for(let n=0,r=0;;){let s,o;if(n=t[n]))s=t[n++],o=t[n++];else if(r=0;r--){let s=n[r](t);s instanceof Le?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Le?t=s[0]:t=Rp(e,Bn(s),!1)}return t}function gy(t){let e=t.startState,i=e.facet(Ep),n=t;for(let r=i.length-1;r>=0;r--){let s=i[r](t);s&&Object.keys(s).length&&(n=Dp(n,Ka(e,s,t.changes.newLength),!0))}return n==t?t:Le.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const by=[];function Bn(t){return t==null?by:Array.isArray(t)?t:[t]}var Ke=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(Ke||(Ke={}));const yy=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Ja;try{Ja=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function xy(t){if(Ja)return Ja.test(t);for(let e=0;e"€"&&(i.toUpperCase()!=i.toLowerCase()||yy.test(i)))return!0}return!1}function ky(t){return e=>{if(!/\S/.test(e))return Ke.Space;if(xy(e))return Ke.Word;for(let i=0;i-1)return Ke.Word;return Ke.Other}}class oe{constructor(e,i,n,r,s,o){this.config=e,this.doc=i,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let l=0;lr.set(u,a)),i=null),r.set(l.value.compartment,l.value.extension)):l.is(ce.reconfigure)?(i=null,n=l.value):l.is(ce.appendConfig)&&(i=null,n=Bn(n).concat(l.value));let s;i?s=e.startState.values.slice():(i=Go.resolve(n,r,this),s=new oe(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(a,u)=>u.reconfigure(a,this),null).values);let o=e.startState.facet(Ha)?e.newSelection:e.newSelection.asSingle();new oe(i,e.newDoc,o,s,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:T.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,n=e(i.ranges[0]),r=this.changes(n.changes),s=[n.range],o=Bn(n.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return oe.create({doc:e.doc,selection:T.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=Go.resolve(e.extensions||[],new Map),n=e.doc instanceof ue?e.doc:ue.of((e.doc||"").split(i.staticFacet(oe.lineSeparator)||qa)),r=e.selection?e.selection instanceof T?e.selection:T.single(e.selection.anchor,e.selection.head):T.single(0);return $p(r,n.length),i.staticFacet(Ha)||(r=r.asSingle()),new oe(i,n,r,i.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(oe.tabSize)}get lineBreak(){return this.facet(oe.lineSeparator)||` -`}get readOnly(){return this.facet(Zp)}phrase(e,...i){for(let n of this.facet(oe.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>i.length?n:i[s-1]})),e}languageDataAt(e,i,n=-1){let r=[];for(let s of this.facet(Cp))for(let o of s(this,i,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return ky(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let a=He(i,o,!1);if(s(i.slice(a,o))!=Ke.Word)break;o=a}for(;lt.length?t[0]:4});oe.lineSeparator=Qp;oe.readOnly=Zp;oe.phrases=N.define({compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.length&&i.every(r=>t[r]==e[r])}});oe.languageData=Cp;oe.changeFilter=Ap;oe.transactionFilter=Tp;oe.transactionExtender=Ep;hi.reconfigure=ce.define();function lc(t,e,i={}){let n={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],l=n[s];if(l===void 0)n[s]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(i,s))n[s]=i[s](l,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}class vn{eq(e){return this==e}range(e,i=e){return eu.create(e,i,this)}}vn.prototype.startSide=vn.prototype.endSide=0;vn.prototype.point=!1;vn.prototype.mapMode=ut.TrackDel;let eu=class Ip{constructor(e,i,n){this.from=e,this.to=i,this.value=n}static create(e,i,n){return new Ip(e,i,n)}};function tu(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class ac{constructor(e,i,n,r){this.from=e,this.to=i,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,n,r=0){let s=n?this.to:this.from;for(let o=r,l=s.length;;){if(o==l)return o;let a=o+l>>1,u=s[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-i;if(a==o)return u>=0?o:l;u>=0?l=a:o=a+1}}between(e,i,n,r){for(let s=this.findIndex(i,-1e9,!0),o=this.findIndex(n,1e9,!1,s);sd||f==d&&u.startSide>0&&u.endSide<=0)continue;(d-f||u.endSide-u.startSide)<0||(o<0&&(o=f),u.point&&(l=Math.max(l,d-f)),n.push(u),r.push(f-o),s.push(d-o))}return{mapped:n.length?new ac(r,s,n,l):null,pos:o}}}class $e{constructor(e,i,n,r){this.chunkPos=e,this.chunk=i,this.nextLayer=n,this.maxPoint=r}static create(e,i,n,r){return new $e(e,i,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(i.length==0&&!o)return this;if(n&&(i=i.slice().sort(tu)),this.isEmpty)return i.length?$e.of(i):this;let l=new Lp(this,null,-1).goto(0),a=0,u=[],c=new rr;for(;l.value||a=0){let h=i[a++];c.addInner(h.from,h.to,h.value)||u.push(h)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||sl.to||s=s&&e<=s+o.length&&o.between(s,e-s,i-s,n)===!1)return}this.nextLayer.between(e,i,n)}}iter(e=0){return rs.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return rs.from(e).goto(i)}static compare(e,i,n,r,s=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),l=i.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),a=sf(o,l,n),u=new Qr(o,a,s),c=new Qr(l,a,s);n.iterGaps((h,f,d)=>of(u,h,c,f,d,r)),n.empty&&n.length==0&&of(u,0,c,0,0,r)}static eq(e,i,n=0,r){r==null&&(r=999999999);let s=e.filter(c=>!c.isEmpty&&i.indexOf(c)<0),o=i.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let l=sf(s,o),a=new Qr(s,l,0).goto(n),u=new Qr(o,l,0).goto(n);for(;;){if(a.to!=u.to||!iu(a.active,u.active)||a.point&&(!u.point||!a.point.eq(u.point)))return!1;if(a.to>r)return!0;a.next(),u.next()}}static spans(e,i,n,r,s=-1){let o=new Qr(e,null,s).goto(i),l=i,a=o.openStart;for(;;){let u=Math.min(o.to,n);if(o.point){let c=o.activeForPoint(o.to),h=o.pointFroml&&(r.span(l,u,o.active,a),a=o.openEnd(u));if(o.to>n)return a+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,i=!1){let n=new rr;for(let r of e instanceof eu?[e]:i?vy(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return $e.empty;let i=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=$e.empty;r=r.nextLayer)i=new $e(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}}$e.empty=new $e([],[],null,-1);function vy(t){if(t.length>1)for(let e=t[0],i=1;i0)return t.slice().sort(tu);e=n}return t}$e.empty.nextLayer=$e.empty;class rr{finishChunk(e){this.chunks.push(new ac(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,n){this.addInner(e,i,n)||(this.nextLayer||(this.nextLayer=new rr)).add(e,i,n)}addInner(e,i,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=i,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let n=i.value.length-1;return this.last=i.value[n],this.lastFrom=i.from[n]+e,this.lastTo=i.to[n]+e,!0}finish(){return this.finishInner($e.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=$e.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}}function sf(t,e,i){let n=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new Lp(o,i,n,s));return r.length==1?r[0]:new rs(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let n of this.heap)n.goto(e,i);for(let n=this.heap.length>>1;n>=0;n--)Hl(this.heap,n);return this.next(),this}forward(e,i){for(let n of this.heap)n.forward(e,i);for(let n=this.heap.length>>1;n>=0;n--)Hl(this.heap,n);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Hl(this.heap,0)}}}function Hl(t,e){for(let i=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let r=t[n];if(n+1=0&&(r=t[n+1],n++),i.compare(r)<0)break;t[n]=i,t[e]=r,e=n}}class Qr{constructor(e,i,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=rs.from(e,i,n)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){Hs(this.active,e),Hs(this.activeTo,e),Hs(this.activeRank,e),this.minActive=lf(this.active,this.activeTo)}addActive(e){let i=0,{value:n,to:r,rank:s}=this.cursor;for(;i0;)i++;Ks(this.active,i,n),Ks(this.activeTo,i,r),Ks(this.activeRank,i,s),e&&Ks(e,i,this.cursor.from),this.minActive=lf(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&Hs(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&n[r]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&i.push(this.active[n]);return i.reverse()}openEnd(e){let i=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)i++;return i}}function of(t,e,i,n,r,s){t.goto(e),i.goto(n);let o=n+r,l=n,a=n-e;for(;;){let u=t.to+a-i.to||t.endSide-i.endSide,c=u<0?t.to+a:i.to,h=Math.min(c,o);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&iu(t.activeForPoint(t.to),i.activeForPoint(i.to))||s.comparePoint(l,h,t.point,i.point):h>l&&!iu(t.active,i.active)&&s.compareRange(l,h,t.active,i.active),c>o)break;l=c,u<=0&&t.next(),u>=0&&i.next()}}function iu(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i}function lf(t,e){let i=-1,n=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?i-s%i:1,r=He(t,r)}return n===!0?-1:t.length}const nu="ͼ",af=typeof Symbol>"u"?"__"+nu:Symbol.for(nu),ru=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),uf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class nn{constructor(e,i){this.rules=[];let{finish:n}=i||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,l,a,u){let c=[],h=/^@(\w+)\b/.exec(o[0]),f=h&&h[1]=="keyframes";if(h&&l==null)return a.push(o[0]+";");for(let d in l){let p=l[d];if(/&/.test(d))s(d.split(/,\s*/).map(m=>o.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,a);else if(p&&typeof p=="object"){if(!h)throw new RangeError("The value of a property ("+d+") should be a primitive value.");s(r(d),p,c,f)}else p!=null&&c.push(d.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(c.length||f)&&a.push((n&&!h&&!u?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` +`,this;e--}else if(r instanceof Re){let a=r.text[o+(i<0?-1:0)];if(this.offsets[n]+=i,a.length>Math.max(0,e))return this.value=e==0?a:i>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[o+(i<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=i):(i<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(i>0?1:(a instanceof Re?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class y0{constructor(e,i,n){this.value="",this.done=!1,this.cursor=new Nr(e,i>n?-1:1),this.pos=i>n?e.length:0,this.from=Math.min(i,n),this.to=Math.max(i,n)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let n=i<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=n?r:i<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class x0{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:n,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ue.prototype[Symbol.iterator]=function(){return this.iter()},Nr.prototype[Symbol.iterator]=y0.prototype[Symbol.iterator]=x0.prototype[Symbol.iterator]=function(){return this});let ay=class{constructor(e,i,n,r){this.from=e,this.to=i,this.number=n,this.text=r}get length(){return this.to-this.from}};function nr(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}let jn="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return jn[e-1]<=t;return!1}function ef(t){return t>=127462&&t<=127487}const tf=8205;function He(t,e,i=!0,n=!0){return(i?k0:cy)(t,e,n)}function k0(t,e,i){if(e==t.length)return e;e&&v0(t.charCodeAt(e))&&S0(t.charCodeAt(e-1))&&e--;let n=Gt(t,e);for(e+=_i(n);e=0&&ef(Gt(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function cy(t,e,i){for(;e>0;){let n=k0(t,e-2,i);if(n=56320&&t<57344}function S0(t){return t>=55296&&t<56320}function Gt(t,e){let i=t.charCodeAt(e);if(!S0(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return v0(n)?(i-55296<<10)+(n-56320)+65536:i}function w0(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function _i(t){return t<65536?1:2}const qa=/\r\n?|\n/;var ut=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(ut||(ut={}));class gi{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;ie)return s+(e-r);s+=l}else{if(n!=ut.Simple&&u>=e&&(n==ut.TrackDel&&re||n==ut.TrackBefore&&re))return null;if(u>e||u==e&&i<0&&!l)return e==r||i<0?s:s+a;s+=a}r=u}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,i=e){for(let n=0,r=0;n=0&&r<=i&&l>=e)return ri?"cover":!0;r=l}return!1}toString(){let e="";for(let i=0;i=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new gi(e)}static create(e){return new gi(e)}}class Fe extends gi{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Ya(this,(i,n,r,s,o)=>e=e.replace(r,r+(n-i),o),!1),e}mapDesc(e,i=!1){return Na(this,e,i,!0)}invert(e){let i=this.sections.slice(),n=[];for(let r=0,s=0;r=0){i[r]=l,i[r+1]=o;let a=r>>1;for(;n.length0&&Ui(n,i,s.text),s.forward(c),l+=c}let u=e[o++];for(;l>1].toJSON()))}return e}static of(e,i,n){let r=[],s=[],o=0,l=null;function a(c=!1){if(!c&&!r.length)return;of||h<0||f>i)throw new RangeError(`Invalid change range ${h} to ${f} (in doc of length ${i})`);let p=d?typeof d=="string"?ue.of(d.split(n||qa)):d:ue.empty,m=p.length;if(h==f&&m==0)return;ho&&it(r,h-o,-1),it(r,f-h,m),Ui(s,r,p),o=f}}return u(e),a(!l),l}static empty(e){return new Fe(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],n=[];for(let r=0;rl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)i.push(s[0],0);else{for(;n.length=0&&i<=0&&i==t[r+1]?t[r]+=e:e==0&&t[r]==0?t[r+1]+=i:n?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function Ui(t,e,i){if(i.length==0)return;let n=e.length-2>>1;if(n>1])),!(i||o==t.sections.length||t.sections[o+1]<0);)l=t.sections[o++],a=t.sections[o++];e(r,u,s,c,h),r=u,s=c}}}function Na(t,e,i,n=!1){let r=[],s=n?[]:null,o=new ns(t),l=new ns(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let u=Math.min(o.len,l.len);it(r,u,-1),o.forward(u),l.forward(u)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let u=0,c=o.len;for(;c;)if(l.ins==-1){let h=Math.min(c,l.len);u+=h,c-=h,l.forward(h)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||n.length>u),s.forward2(a),o.forward(a)}}}}class ns{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return i>=e.length?ue.empty:e[i]}textBit(e){let{inserted:i}=this.set,n=this.i-2>>1;return n>=i.length&&!e?ue.empty:i[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class On{constructor(e,i,n){this.from=e,this.to=i,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,i):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new On(n,r,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return T.range(e,i);let n=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return T.range(this.anchor,n)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return T.range(e.anchor,e.head)}static create(e,i,n){return new On(e,i,n)}}class T{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:T.create(this.ranges.map(n=>n.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new T(e.ranges.map(i=>On.fromJSON(i)),e.main)}static single(e,i=e){return new T([T.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;re?8:0)|s)}static normalized(e,i=0){let n=e[i];e.sort((r,s)=>r.from-s.from),i=e.indexOf(n);for(let r=1;rs.head?T.range(a,l):T.range(l,a))}}return new T(e,i)}}function $0(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let sc=0;class N{constructor(e,i,n,r,s){this.combine=e,this.compareInput=i,this.compare=n,this.isStatic=r,this.id=sc++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new N(e.combine||(i=>i),e.compareInput||((i,n)=>i===n),e.compare||(e.combine?(i,n)=>i===n:oc),!!e.static,e.enables)}of(e){return new Zo([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Zo(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Zo(e,this,2,i)}from(e,i){return i||(i=n=>n),this.compute([e],n=>i(n.field(e)))}}function oc(t,e){return t==e||t.length==e.length&&t.every((i,n)=>i===e[n])}class Zo{constructor(e,i,n,r){this.dependencies=e,this.facet=i,this.type=n,this.value=r,this.id=sc++}dynamicSlot(e){var i;let n=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,l=this.type==2,a=!1,u=!1,c=[];for(let h of this.dependencies)h=="doc"?a=!0:h=="selection"?u=!0:((i=e[h.id])!==null&&i!==void 0?i:1)&1||c.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,f){if(a&&f.docChanged||u&&(f.docChanged||f.selection)||Ua(h,c)){let d=n(h);if(l?!nf(d,h.values[o],r):!r(d,h.values[o]))return h.values[o]=d,1}return 0},reconfigure:(h,f)=>{let d,p=f.config.address[s];if(p!=null){let m=Ho(f,p);if(this.dependencies.every(g=>g instanceof N?f.facet(g)===h.facet(g):g instanceof Mt?f.field(g,!1)==h.field(g,!1):!0)||(l?nf(d=n(h),m,r):r(d=n(h),m)))return h.values[o]=m,0}else d=n(h);return h.values[o]=d,1}}}}function nf(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[a.id]),r=i.map(a=>a.type),s=n.filter(a=>!(a&1)),o=t[e.id]>>1;function l(a){let u=[];for(let c=0;cn===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(rf).find(n=>n.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:n=>(n.values[i]=this.create(n),1),update:(n,r)=>{let s=n.values[i],o=this.updateF(s,r);return this.compareF(s,o)?0:(n.values[i]=o,1)},reconfigure:(n,r)=>r.config.address[this.id]!=null?(n.values[i]=r.field(this),0):(n.values[i]=this.create(n),1)}}init(e){return[this,rf.of({field:this,create:e})]}get extension(){return this}}const pn={lowest:4,low:3,default:2,high:1,highest:0};function Cr(t){return e=>new P0(e,t)}const an={highest:Cr(pn.highest),high:Cr(pn.high),default:Cr(pn.default),low:Cr(pn.low),lowest:Cr(pn.lowest)};class P0{constructor(e,i){this.inner=e,this.prec=i}}class hi{of(e){return new Ga(this,e)}reconfigure(e){return hi.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Ga{constructor(e,i){this.compartment=e,this.inner=i}}class Go{constructor(e,i,n,r,s,o){for(this.base=e,this.compartments=i,this.dynamicSlots=n,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,i,n){let r=[],s=Object.create(null),o=new Map;for(let f of fy(e,i,o))f instanceof Mt?r.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let l=Object.create(null),a=[],u=[];for(let f of r)l[f.id]=u.length<<1,u.push(d=>f.slot(d));let c=n==null?void 0:n.config.facets;for(let f in s){let d=s[f],p=d[0].facet,m=c&&c[f]||[];if(d.every(g=>g.type==0))if(l[p.id]=a.length<<1|1,oc(m,d))a.push(n.facet(p));else{let g=p.combine(d.map(O=>O.value));a.push(n&&p.compare(g,n.facet(p))?n.facet(p):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=u.length<<1,u.push(O=>g.dynamicSlot(O)));l[p.id]=u.length<<1,u.push(g=>hy(g,p,d))}}let h=u.map(f=>f(l));return new Go(e,o,h,l,a,s)}}function fy(t,e,i){let n=[[],[],[],[],[]],r=new Map;function s(o,l){let a=r.get(o);if(a!=null){if(a<=l)return;let u=n[a].indexOf(o);u>-1&&n[a].splice(u,1),o instanceof Ga&&i.delete(o.compartment)}if(r.set(o,l),Array.isArray(o))for(let u of o)s(u,l);else if(o instanceof Ga){if(i.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(o.compartment)||o.inner;i.set(o.compartment,u),s(u,l)}else if(o instanceof P0)s(o.inner,o.prec);else if(o instanceof Mt)n[l].push(o),o.provides&&s(o.provides,l);else if(o instanceof Zo)n[l].push(o),o.facet.extensions&&s(o.facet.extensions,pn.default);else{let u=o.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,l)}}return s(t,pn.default),n.reduce((o,l)=>o.concat(l))}function Ur(t,e){if(e&1)return 2;let i=e>>1,n=t.status[i];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function Ho(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const C0=N.define(),Ha=N.define({combine:t=>t.some(e=>e),static:!0}),Q0=N.define({combine:t=>t.length?t[0]:void 0,static:!0}),A0=N.define(),T0=N.define(),E0=N.define(),Z0=N.define({combine:t=>t.length?t[0]:!1});class Ei{constructor(e,i){this.type=e,this.value=i}static define(){return new dy}}class dy{of(e){return new Ei(this,e)}}class py{constructor(e){this.map=e}of(e){return new ce(this,e)}}class ce{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new ce(this.type,i)}is(e){return this.type==e}static define(e={}){return new py(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let n=[];for(let r of e){let s=r.map(i);s&&n.push(s)}return n}}ce.reconfigure=ce.define();ce.appendConfig=ce.define();class Le{constructor(e,i,n,r,s,o){this.startState=e,this.changes=i,this.selection=n,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,n&&$0(n,i.newLength),s.some(l=>l.type==Le.time)||(this.annotations=s.concat(Le.time.of(Date.now())))}static create(e,i,n,r,s,o){return new Le(e,i,n,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(Le.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}}Le.time=Ei.define();Le.userEvent=Ei.define();Le.addToHistory=Ei.define();Le.remote=Ei.define();function my(t,e){let i=[];for(let n=0,r=0;;){let s,o;if(n=t[n]))s=t[n++],o=t[n++];else if(r=0;r--){let s=n[r](t);s instanceof Le?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Le?t=s[0]:t=R0(e,Bn(s),!1)}return t}function gy(t){let e=t.startState,i=e.facet(E0),n=t;for(let r=i.length-1;r>=0;r--){let s=i[r](t);s&&Object.keys(s).length&&(n=D0(n,Ka(e,s,t.changes.newLength),!0))}return n==t?t:Le.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const by=[];function Bn(t){return t==null?by:Array.isArray(t)?t:[t]}var Ke=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(Ke||(Ke={}));const yy=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Ja;try{Ja=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function xy(t){if(Ja)return Ja.test(t);for(let e=0;e"€"&&(i.toUpperCase()!=i.toLowerCase()||yy.test(i)))return!0}return!1}function ky(t){return e=>{if(!/\S/.test(e))return Ke.Space;if(xy(e))return Ke.Word;for(let i=0;i-1)return Ke.Word;return Ke.Other}}class oe{constructor(e,i,n,r,s,o){this.config=e,this.doc=i,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let l=0;lr.set(u,a)),i=null),r.set(l.value.compartment,l.value.extension)):l.is(ce.reconfigure)?(i=null,n=l.value):l.is(ce.appendConfig)&&(i=null,n=Bn(n).concat(l.value));let s;i?s=e.startState.values.slice():(i=Go.resolve(n,r,this),s=new oe(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(a,u)=>u.reconfigure(a,this),null).values);let o=e.startState.facet(Ha)?e.newSelection:e.newSelection.asSingle();new oe(i,e.newDoc,o,s,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:T.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,n=e(i.ranges[0]),r=this.changes(n.changes),s=[n.range],o=Bn(n.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return oe.create({doc:e.doc,selection:T.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=Go.resolve(e.extensions||[],new Map),n=e.doc instanceof ue?e.doc:ue.of((e.doc||"").split(i.staticFacet(oe.lineSeparator)||qa)),r=e.selection?e.selection instanceof T?e.selection:T.single(e.selection.anchor,e.selection.head):T.single(0);return $0(r,n.length),i.staticFacet(Ha)||(r=r.asSingle()),new oe(i,n,r,i.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(oe.tabSize)}get lineBreak(){return this.facet(oe.lineSeparator)||` +`}get readOnly(){return this.facet(Z0)}phrase(e,...i){for(let n of this.facet(oe.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>i.length?n:i[s-1]})),e}languageDataAt(e,i,n=-1){let r=[];for(let s of this.facet(C0))for(let o of s(this,i,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return ky(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let a=He(i,o,!1);if(s(i.slice(a,o))!=Ke.Word)break;o=a}for(;lt.length?t[0]:4});oe.lineSeparator=Q0;oe.readOnly=Z0;oe.phrases=N.define({compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.length&&i.every(r=>t[r]==e[r])}});oe.languageData=C0;oe.changeFilter=A0;oe.transactionFilter=T0;oe.transactionExtender=E0;hi.reconfigure=ce.define();function lc(t,e,i={}){let n={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],l=n[s];if(l===void 0)n[s]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(i,s))n[s]=i[s](l,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}class vn{eq(e){return this==e}range(e,i=e){return eu.create(e,i,this)}}vn.prototype.startSide=vn.prototype.endSide=0;vn.prototype.point=!1;vn.prototype.mapMode=ut.TrackDel;let eu=class I0{constructor(e,i,n){this.from=e,this.to=i,this.value=n}static create(e,i,n){return new I0(e,i,n)}};function tu(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class ac{constructor(e,i,n,r){this.from=e,this.to=i,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,n,r=0){let s=n?this.to:this.from;for(let o=r,l=s.length;;){if(o==l)return o;let a=o+l>>1,u=s[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-i;if(a==o)return u>=0?o:l;u>=0?l=a:o=a+1}}between(e,i,n,r){for(let s=this.findIndex(i,-1e9,!0),o=this.findIndex(n,1e9,!1,s);sd||f==d&&u.startSide>0&&u.endSide<=0)continue;(d-f||u.endSide-u.startSide)<0||(o<0&&(o=f),u.point&&(l=Math.max(l,d-f)),n.push(u),r.push(f-o),s.push(d-o))}return{mapped:n.length?new ac(r,s,n,l):null,pos:o}}}class $e{constructor(e,i,n,r){this.chunkPos=e,this.chunk=i,this.nextLayer=n,this.maxPoint=r}static create(e,i,n,r){return new $e(e,i,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(i.length==0&&!o)return this;if(n&&(i=i.slice().sort(tu)),this.isEmpty)return i.length?$e.of(i):this;let l=new L0(this,null,-1).goto(0),a=0,u=[],c=new rr;for(;l.value||a=0){let h=i[a++];c.addInner(h.from,h.to,h.value)||u.push(h)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||sl.to||s=s&&e<=s+o.length&&o.between(s,e-s,i-s,n)===!1)return}this.nextLayer.between(e,i,n)}}iter(e=0){return rs.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return rs.from(e).goto(i)}static compare(e,i,n,r,s=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),l=i.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),a=sf(o,l,n),u=new Qr(o,a,s),c=new Qr(l,a,s);n.iterGaps((h,f,d)=>of(u,h,c,f,d,r)),n.empty&&n.length==0&&of(u,0,c,0,0,r)}static eq(e,i,n=0,r){r==null&&(r=999999999);let s=e.filter(c=>!c.isEmpty&&i.indexOf(c)<0),o=i.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let l=sf(s,o),a=new Qr(s,l,0).goto(n),u=new Qr(o,l,0).goto(n);for(;;){if(a.to!=u.to||!iu(a.active,u.active)||a.point&&(!u.point||!a.point.eq(u.point)))return!1;if(a.to>r)return!0;a.next(),u.next()}}static spans(e,i,n,r,s=-1){let o=new Qr(e,null,s).goto(i),l=i,a=o.openStart;for(;;){let u=Math.min(o.to,n);if(o.point){let c=o.activeForPoint(o.to),h=o.pointFroml&&(r.span(l,u,o.active,a),a=o.openEnd(u));if(o.to>n)return a+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,i=!1){let n=new rr;for(let r of e instanceof eu?[e]:i?vy(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return $e.empty;let i=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=$e.empty;r=r.nextLayer)i=new $e(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}}$e.empty=new $e([],[],null,-1);function vy(t){if(t.length>1)for(let e=t[0],i=1;i0)return t.slice().sort(tu);e=n}return t}$e.empty.nextLayer=$e.empty;class rr{finishChunk(e){this.chunks.push(new ac(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,n){this.addInner(e,i,n)||(this.nextLayer||(this.nextLayer=new rr)).add(e,i,n)}addInner(e,i,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=i,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let n=i.value.length-1;return this.last=i.value[n],this.lastFrom=i.from[n]+e,this.lastTo=i.to[n]+e,!0}finish(){return this.finishInner($e.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=$e.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}}function sf(t,e,i){let n=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new L0(o,i,n,s));return r.length==1?r[0]:new rs(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let n of this.heap)n.goto(e,i);for(let n=this.heap.length>>1;n>=0;n--)Hl(this.heap,n);return this.next(),this}forward(e,i){for(let n of this.heap)n.forward(e,i);for(let n=this.heap.length>>1;n>=0;n--)Hl(this.heap,n);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Hl(this.heap,0)}}}function Hl(t,e){for(let i=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let r=t[n];if(n+1=0&&(r=t[n+1],n++),i.compare(r)<0)break;t[n]=i,t[e]=r,e=n}}class Qr{constructor(e,i,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=rs.from(e,i,n)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){Hs(this.active,e),Hs(this.activeTo,e),Hs(this.activeRank,e),this.minActive=lf(this.active,this.activeTo)}addActive(e){let i=0,{value:n,to:r,rank:s}=this.cursor;for(;i0;)i++;Ks(this.active,i,n),Ks(this.activeTo,i,r),Ks(this.activeRank,i,s),e&&Ks(e,i,this.cursor.from),this.minActive=lf(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&Hs(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&n[r]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&i.push(this.active[n]);return i.reverse()}openEnd(e){let i=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)i++;return i}}function of(t,e,i,n,r,s){t.goto(e),i.goto(n);let o=n+r,l=n,a=n-e;for(;;){let u=t.to+a-i.to||t.endSide-i.endSide,c=u<0?t.to+a:i.to,h=Math.min(c,o);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&iu(t.activeForPoint(t.to),i.activeForPoint(i.to))||s.comparePoint(l,h,t.point,i.point):h>l&&!iu(t.active,i.active)&&s.compareRange(l,h,t.active,i.active),c>o)break;l=c,u<=0&&t.next(),u>=0&&i.next()}}function iu(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i}function lf(t,e){let i=-1,n=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?i-s%i:1,r=He(t,r)}return n===!0?-1:t.length}const nu="ͼ",af=typeof Symbol>"u"?"__"+nu:Symbol.for(nu),ru=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),uf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class nn{constructor(e,i){this.rules=[];let{finish:n}=i||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,l,a,u){let c=[],h=/^@(\w+)\b/.exec(o[0]),f=h&&h[1]=="keyframes";if(h&&l==null)return a.push(o[0]+";");for(let d in l){let p=l[d];if(/&/.test(d))s(d.split(/,\s*/).map(m=>o.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,a);else if(p&&typeof p=="object"){if(!h)throw new RangeError("The value of a property ("+d+") should be a primitive value.");s(r(d),p,c,f)}else p!=null&&c.push(d.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(c.length||f)&&a.push((n&&!h&&!u?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` `)}static newName(){let e=uf[af]||1;return uf[af]=e+1,nu+e.toString(36)}static mount(e,i,n){let r=e[ru],s=n&&n.nonce;r?s&&r.setNonce(s):r=new wy(e,s),r.mount(Array.isArray(i)?i:[i],e)}}let cf=new Map;class wy{constructor(e,i){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=cf.get(n);if(s)return e[ru]=s;this.sheet=new r.CSSStyleSheet,cf.set(n,this)}else this.styleTag=n.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);this.modules=[],e[ru]=this}mount(e,i){let n=this.sheet,r=0,s=0;for(let o=0;o-1&&(this.modules.splice(a,1),s--,a=-1),a==-1){if(this.modules.splice(s++,0,l),n)for(let u=0;u",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},_y=typeof navigator<"u"&&/Mac/.test(navigator.platform),$y=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ue=0;Ue<10;Ue++)rn[48+Ue]=rn[96+Ue]=String(Ue);for(var Ue=1;Ue<=24;Ue++)rn[Ue+111]="F"+Ue;for(var Ue=65;Ue<=90;Ue++)rn[Ue]=String.fromCharCode(Ue+32),ss[Ue]=String.fromCharCode(Ue);for(var Kl in rn)ss.hasOwnProperty(Kl)||(ss[Kl]=rn[Kl]);function Py(t){var e=_y&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||$y&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?ss:rn)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function Ko(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function su(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function Cy(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Do(t,e){if(!e.anchorNode)return!1;try{return su(t,e.anchorNode)}catch{return!1}}function sr(t){return t.nodeType==3?Sn(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Gr(t,e,i,n){return i?hf(t,e,i,n,-1)||hf(t,e,i,n,1):!1}function os(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function hf(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:Qi(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=os(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?Qi(t):0}else return!1}}function Qi(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Zl(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function Qy(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function Xp(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:i,scaleY:n}}function Ay(t,e,i,n,r,s,o,l){let a=t.ownerDocument,u=a.defaultView||window;for(let c=t,h=!1;c&&!h;)if(c.nodeType==1){let f,d=c==a.body,p=1,m=1;if(d)f=Qy(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(h=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let y=c.getBoundingClientRect();({scaleX:p,scaleY:m}=Xp(c,y)),f={left:y.left,right:y.left+c.clientWidth*p,top:y.top,bottom:y.top+c.clientHeight*m}}let g=0,O=0;if(r=="nearest")e.top0&&e.bottom>f.bottom+O&&(O=e.bottom-f.bottom+O+o)):e.bottom>f.bottom&&(O=e.bottom-f.bottom+o,i<0&&e.top-O0&&e.right>f.right+g&&(g=e.right-f.right+g+s)):e.right>f.right&&(g=e.right-f.right+s,i<0&&e.lefti.clientHeight||i.scrollWidth>i.clientWidth)return i;i=i.assignedSlot||i.parentNode}else if(i.nodeType==11)i=i.host;else break;return null}class Ey{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:n}=e;this.set(i,Math.min(e.anchorOffset,i?Qi(i):0),n,Math.min(e.focusOffset,n?Qi(n):0))}set(e,i,n,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=n,this.focusOffset=r}}let Zn=null;function Mp(t){if(t.setActive)return t.setActive();if(Zn)return t.focus(Zn);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(Zn==null?{get preventScroll(){return Zn={preventScroll:!0},!0}}:void 0),!Zn){Zn=!1;for(let i=0;iMath.max(1,t.scrollHeight-t.clientHeight-4)}class nt{constructor(e,i,n=!0){this.node=e,this.offset=i,this.precise=n}static before(e,i){return new nt(e.parentNode,os(e),i)}static after(e,i){return new nt(e.parentNode,os(e)+1,i)}}const uc=[];class Pe{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let i=this.posAtStart;for(let n of this.children){if(n==e)return i;i+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let n=this.dom,r=null,s;for(let o of this.children){if(o.flags&7){if(!o.dom&&(s=r?r.nextSibling:n.firstChild)){let l=Pe.get(s);(!l||!l.parent&&l.canReuseDOM(o))&&o.reuseDOM(s)}o.sync(e,i),o.flags&=-8}if(s=r?r.nextSibling:n.firstChild,i&&!i.written&&i.node==n&&s!=o.dom&&(i.written=!0),o.dom.parentNode==n)for(;s&&s!=o.dom;)s=df(s);else n.insertBefore(o.dom,s);r=o.dom}for(s=r?r.nextSibling:n.firstChild,s&&i&&i.node==n&&(i.written=!0);s;)s=df(s)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,i),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let n;if(e==this.dom)n=this.dom.childNodes[i];else{let r=Qi(e)==0?0:i==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Pe.get(n);)n=n.nextSibling;if(!n)return this.length;for(let r=0,s=0;;r++){let o=this.children[r];if(o.dom==n)return s;s+=o.length+o.breakAfter}}domBoundsAround(e,i,n=0){let r=-1,s=-1,o=-1,l=-1;for(let a=0,u=n,c=n;ai)return h.domBoundsAround(e,i,u);if(f>=e&&r==-1&&(r=a,s=u),u>i&&h.dom.parentNode==this.dom){o=a,l=c;break}c=f,u=f+h.breakAfter}return{from:s,to:l<0?n+this.length:l,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,n=uc){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function zp(t,e,i,n,r,s,o,l,a){let{children:u}=t,c=u.length?u[e]:null,h=s.length?s[s.length-1]:null,f=h?h.breakAfter:o;if(!(e==n&&c&&!o&&!f&&s.length<2&&c.merge(i,r,s.length?h:null,i==0,l,a))){if(n0&&(!o&&s.length&&c.merge(i,c.length,s[0],!1,l,0)?c.breakAfter=s.shift().breakAfter:(i2);var F={mac:Of||/Mac/.test(Pt.platform),windows:/Win/.test(Pt.platform),linux:/Linux|X11/.test(Pt.platform),ie:Dl,ie_version:Bp?ou.documentMode||6:au?+au[1]:lu?+lu[1]:0,gecko:pf,gecko_version:pf?+(/Firefox\/(\d+)/.exec(Pt.userAgent)||[0,0])[1]:0,chrome:!!Jl,chrome_version:Jl?+Jl[1]:0,ios:Of,android:/Android\b/.test(Pt.userAgent),webkit:mf,safari:qp,webkit_version:mf?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:ou.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Ry=256;class Ai extends Pe{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,n){return this.flags&8||n&&(!(n instanceof Ai)||this.length-(i-e)+n.length>Ry||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new Ai(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new nt(this.dom,e)}domBoundsAround(e,i,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return Iy(this.dom,e,i)}}class Ti extends Pe{constructor(e,i=[],n=0){super(),this.mark=e,this.children=i,this.length=n;for(let r of i)r.setParent(this)}setAttrs(e){if(Vp(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,n,r,s,o){return n&&(!(n instanceof Ti&&n.mark.eq(this.mark))||e&&s<=0||ie&&i.push(n=e&&(r=s),n=a,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Ti(this.mark,i,o)}domAtPos(e){return Yp(this,e)}coordsAt(e,i){return Up(this,e,i)}}function Iy(t,e,i){let n=t.nodeValue.length;e>n&&(e=n);let r=e,s=e,o=0;e==0&&i<0||e==n&&i>=0?F.chrome||F.gecko||(e?(r--,o=1):s=0)?0:l.length-1];return F.safari&&!o&&a.width==0&&(a=Array.prototype.find.call(l,u=>u.width)||a),o?Zl(a,o<0):a||null}class gn extends Pe{static create(e,i,n){return new gn(e,i,n)}constructor(e,i,n){super(),this.widget=e,this.length=i,this.side=n,this.prevWidget=null}split(e){let i=gn.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,i,n,r,s,o){return n&&(!(n instanceof gn)||!this.widget.compare(n.widget)||e>0&&s<=0||i0)?nt.before(this.dom):nt.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let n=this.widget.coordsAt(this.dom,e,i);if(n)return n;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let l=o?r.length-1:0;s=r[l],!(e>0?l==0:l==r.length-1||s.top0?nt.before(this.dom):nt.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return ue.empty}get isHidden(){return!0}}Ai.prototype.children=gn.prototype.children=or.prototype.children=uc;function Yp(t,e){let i=t.dom,{children:n}=t,r=0;for(let s=0;rs&&e0;s--){let o=n[s-1];if(o.dom.parentNode==i)return o.domAtPos(o.length)}for(let s=r;s0&&e instanceof Ti&&r.length&&(n=r[r.length-1])instanceof Ti&&n.mark.eq(e.mark)?Np(n,e.children[0],i-1):(r.push(e),e.setParent(t)),t.length+=e.length}function Up(t,e,i){let n=null,r=-1,s=null,o=-1;function l(u,c){for(let h=0,f=0;h=c&&(d.children.length?l(d,c-f):(!s||s.isHidden&&i>0)&&(p>c||f==p&&d.getSide()>0)?(s=d,o=c-f):(f-1?1:0)!=r.length-(i&&r.indexOf(i)>-1?1:0))return!1;for(let s of n)if(s!=i&&(r.indexOf(s)==-1||t[s]!==e[s]))return!1;return!0}function cu(t,e,i){let n=!1;if(e)for(let r in e)i&&r in i||(n=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(n=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return n}function Xy(t){let e=Object.create(null);for(let i=0;i0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,i}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){cc(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){Np(this,e,i)}addLineDeco(e){let i=e.spec.attributes,n=e.spec.class;i&&(this.attrs=uu(i,this.attrs||{})),n&&(this.attrs=uu({class:n},this.attrs||{}))}domAtPos(e){return Yp(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var n;this.dom?this.flags&4&&(Vp(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(cu(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let r=this.dom.lastChild;for(;r&&Pe.get(r)instanceof Ti;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((n=Pe.get(r))===null||n===void 0?void 0:n.isEditable)==!1&&(!F.ios||!this.children.some(s=>s instanceof Ai))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,i;for(let n of this.children){if(!(n instanceof Ai)||/[^ -~]/.test(n.text))return null;let r=sr(n.dom);if(r.length!=1)return null;e+=r[0].width,i=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let n=Up(this,e,i);if(!this.children.length&&n&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=i){if(s instanceof We)return s;if(o>i)break}r=o+s.breakAfter}return null}}class Ji extends Pe{constructor(e,i,n){super(),this.widget=e,this.length=i,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,i,n,r,s,o){return n&&(!(n instanceof Ji)||!this.widget.compare(n.widget)||e>0&&s<=0||i0}}class As{eq(e){return!1}updateDOM(e,i){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,i,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var $i=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}($i||($i={}));class he extends vn{constructor(e,i,n,r){super(),this.startSide=e,this.endSide=i,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new Ts(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return i+=n&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new sn(e,i,i,n,e.widget||null,!1)}static replace(e){let i=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:s,end:o}=Gp(e,i);n=(s?i?-3e8:-1:5e8)-1,r=(o?i?2e8:1:-6e8)+1}return new sn(e,n,r,i,e.widget||null,!0)}static line(e){return new Es(e)}static set(e,i=!1){return $e.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}he.none=$e.empty;class Ts extends he{constructor(e){let{start:i,end:n}=Gp(e);super(i?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,n;return this==e||e instanceof Ts&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&cc(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}}Ts.prototype.point=!1;class Es extends he{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Es&&this.spec.class==e.spec.class&&cc(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}}Es.prototype.mapMode=ut.TrackBefore;Es.prototype.point=!0;class sn extends he{constructor(e,i,n,r,s,o){super(i,n,s,e),this.block=r,this.isReplace=o,this.mapMode=r?i<=0?ut.TrackBefore:ut.TrackAfter:ut.TrackDel}get type(){return this.startSide!=this.endSide?$i.WidgetRange:this.startSide<=0?$i.WidgetBefore:$i.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof sn&&My(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}}sn.prototype.point=!0;function Gp(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return i==null&&(i=t.inclusive),n==null&&(n=t.inclusive),{start:i??e,end:n??e}}function My(t,e){return t==e||!!(t&&e&&t.compare(e))}function hu(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[r],e):i.push(t,e)}class Hr{constructor(e,i,n,r){this.doc=e,this.pos=i,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=i}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Ji&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new We),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Js(new or(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof Ji)&&this.getLine()}buildText(e,i,n){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-n)),this.getLine().append(Js(new Ai(this.text.slice(this.textOff,this.textOff+r)),i),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,i,n,r){this.buildText(i-e,n,r),this.pos=i,this.openStart<0&&(this.openStart=r)}point(e,i,n,r,s,o){if(this.disallowBlockEffectsFor[o]&&n instanceof sn){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=i-e;if(n instanceof sn)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Ji(n.widget||wn.block,l,n));else{let a=gn.create(n.widget||wn.inline,l,l?0:n.startSide),u=this.atCursorPos&&!a.isEditable&&s<=r.length&&(e0),c=!a.isEditable&&(er.length||n.startSide<=0),h=this.getLine();this.pendingBuffer==2&&!u&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),u&&(h.append(Js(new or(1),r),s),s=r.length+Math.max(0,s-r.length)),h.append(Js(a,r),s),this.atCursorPos=c,this.pendingBuffer=c?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=i),this.openStart<0&&(this.openStart=s)}static build(e,i,n,r,s){let o=new Hr(e,i,n,s);return o.openEnd=$e.spans(r,i,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Js(t,e){for(let i of e)t=new Ti(i,[t],t.length);return t}class wn extends As{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}wn.inline=new wn("span");wn.block=new wn("div");var Xe=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Xe||(Xe={}));const _n=Xe.LTR,hc=Xe.RTL;function Hp(t){let e=[];for(let i=0;i=i){if(l.level==n)return o;(s<0||(r!=0?r<0?l.fromi:e[s].level>l.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}function Jp(t,e){if(t.length!=e.length)return!1;for(let i=0;i=0;m-=3)if(ri[m+1]==-d){let g=ri[m+2],O=g&2?r:g&4?g&1?s:r:0;O&&(be[h]=be[ri[m]]=O),l=m;break}}else{if(ri.length==189)break;ri[l++]=h,ri[l++]=f,ri[l++]=a}else if((p=be[h])==2||p==1){let m=p==r;a=m?0:1;for(let g=l-3;g>=0;g-=3){let O=ri[g+2];if(O&2)break;if(m)ri[g+2]|=2;else{if(O&4)break;ri[g+2]|=4}}}}}function By(t,e,i,n){for(let r=0,s=n;r<=i.length;r++){let o=r?i[r-1].to:t,l=ra;)p==g&&(p=i[--m].from,g=m?i[m-1].to:t),be[--p]=d;a=c}else s=u,a++}}}function du(t,e,i,n,r,s,o){let l=n%2?2:1;if(n%2==r%2)for(let a=e,u=0;aa&&o.push(new Gi(a,m.from,d));let g=m.direction==_n!=!(d%2);pu(t,g?n+1:n,r,m.inner,m.from,m.to,o),a=m.to}p=m.to}else{if(p==i||(c?be[p]!=l:be[p]==l))break;p++}f?du(t,a,p,n+1,r,f,o):ae;){let c=!0,h=!1;if(!u||a>s[u-1].to){let m=be[a-1];m!=l&&(c=!1,h=m==16)}let f=!c&&l==1?[]:null,d=c?n:n+1,p=a;e:for(;;)if(u&&p==s[u-1].to){if(h)break e;let m=s[--u];if(!c)for(let g=m.from,O=u;;){if(g==e)break e;if(O&&s[O-1].to==g)g=s[--O].from;else{if(be[g-1]==l)break e;break}}if(f)f.push(m);else{m.tobe.length;)be[be.length]=256;let n=[],r=e==_n?0:1;return pu(t,r,r,i,0,t.length,n),n}function em(t){return[new Gi(0,t,0)]}let tm="";function Yy(t,e,i,n,r){var s;let o=n.head-t.from,l=Gi.find(e,o,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),a=e[l],u=a.side(r,i);if(o==u){let f=l+=r?1:-1;if(f<0||f>=e.length)return null;a=e[l=f],o=a.side(!r,i),u=a.side(r,i)}let c=He(t.text,o,a.forward(r,i));(ca.to)&&(c=u),tm=t.text.slice(Math.min(o,c),Math.max(o,c));let h=l==(r?e.length-1:0)?null:e[l+(r?1:-1)];return h&&c==u&&h.level+(r?0:1)t.some(e=>e)}),Uy=N.define({combine:t=>t.some(e=>e)});class Yn{constructor(e,i="nearest",n="nearest",r=5,s=5,o=!1){this.range=e,this.y=i,this.x=n,this.yMargin=r,this.xMargin=s,this.isSnapshot=o}map(e){return e.empty?this:new Yn(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Yn(T.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const eo=ce.define({map:(t,e)=>t.map(e)});function Tt(t,e,i){let n=t.facet(sm);n.length?n[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}const Rl=N.define({combine:t=>t.length?t[0]:!0});let Gy=0;const Vr=N.define();class Lt{constructor(e,i,n,r,s){this.id=e,this.create=i,this.domEventHandlers=n,this.domEventObservers=r,this.extension=s(this)}static define(e,i){const{eventHandlers:n,eventObservers:r,provide:s,decorations:o}=i||{};return new Lt(Gy++,e,n,r,l=>{let a=[Vr.of(l)];return o&&a.push(ls.of(u=>{let c=u.plugin(l);return c?o(c):he.none})),s&&a.push(s(l)),a})}static fromClass(e,i){return Lt.define(n=>new e(n),i)}}class ea{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(n){if(Tt(i.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){Tt(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(n){Tt(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const um=N.define(),fc=N.define(),ls=N.define(),cm=N.define(),dc=N.define(),hm=N.define();function bf(t,e){let i=t.state.facet(hm);if(!i.length)return i;let n=i.map(s=>s instanceof Function?s(t):s),r=[];return $e.spans(n,e.from,e.to,{point(){},span(s,o,l,a){let u=s-e.from,c=o-e.from,h=r;for(let f=l.length-1;f>=0;f--,a--){let d=l[f].spec.bidiIsolate,p;if(d==null&&(d=Ny(e.text,u,c)),a>0&&h.length&&(p=h[h.length-1]).to==u&&p.direction==d)p.to=c,h=p.inner;else{let m={from:u,to:c,direction:d,inner:[]};h.push(m),h=m.inner}}}}),r}const fm=N.define();function dm(t){let e=0,i=0,n=0,r=0;for(let s of t.state.facet(fm)){let o=s(t);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(i=Math.max(i,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:i,top:n,bottom:r}}const Wr=N.define();class Rt{constructor(e,i,n,r){this.fromA=e,this.toA=i,this.fromB=n,this.toB=r}join(e){return new Rt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,n=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>n.toA)){if(r.toAc)break;s+=2}if(!a)return n;new Rt(a.fromA,a.toA,a.fromB,a.toB).addToSet(n),o=a.toA,l=a.toB}}}class Jo{constructor(e,i,n){this.view=e,this.state=i,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Fe.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,o,l,a)=>r.push(new Rt(s,o,l,a))),this.changedRanges=r}static create(e,i,n){return new Jo(e,i,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class yf extends Pe{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.compositionBarrier=he.none,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new We],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Rt(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:u,toA:c})=>cthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let r=-1;this.view.inputState.composing>=0&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!rx(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?Jy(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:u,to:c}=this.hasComposition;n=new Rt(u,c,e.changes.mapPos(u,-1),e.changes.mapPos(c,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(F.ie||F.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,l=this.updateDeco(),a=ix(o,l,e.changes);return n=Rt.extendWithRanges(n,a),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let o=F.chrome||F.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,o),this.flags&=-8,o&&(o.written||r.selectionRange.focusNode!=o.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(o=>o.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?r[o]:null;if(!l)break;let{fromA:a,toA:u,fromB:c,toB:h}=l,f,d,p,m;if(n&&n.range.fromBc){let w=Hr.build(this.view.state.doc,c,n.range.fromB,this.decorations,this.dynamicDecorationMap),_=Hr.build(this.view.state.doc,n.range.toB,h,this.decorations,this.dynamicDecorationMap);d=w.breakAtStart,p=w.openStart,m=_.openEnd;let A=this.compositionView(n);_.breakAtStart?A.breakAfter=1:_.content.length&&A.merge(A.length,A.length,_.content[0],!1,_.openStart,0)&&(A.breakAfter=_.content[0].breakAfter,_.content.shift()),w.content.length&&A.merge(0,0,w.content[w.content.length-1],!0,0,w.openEnd)&&w.content.pop(),f=w.content.concat(A).concat(_.content)}else({content:f,breakAtStart:d,openStart:p,openEnd:m}=Hr.build(this.view.state.doc,c,h,this.decorations,this.dynamicDecorationMap));let{i:g,off:O}=s.findPos(u,1),{i:y,off:k}=s.findPos(a,-1);zp(this,y,k,g,O,f,d,p,m)}n&&this.fixCompositionDOM(n)}compositionView(e){let i=new Ai(e.text.nodeValue);i.flags|=8;for(let{deco:r}of e.marks)i=new Ti(r,[i],i.length);let n=new We;return n.append(i,0),n}fixCompositionDOM(e){let i=(s,o)=>{o.flags|=8|(o.children.some(a=>a.flags&7)?1:0),this.markedForComposition.add(o);let l=Pe.get(s);l&&l!=o&&(l.dom=null),o.setDOM(s)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];i(e.line,r);for(let s=e.marks.length-1;s>=-1;s--)n=r.childPos(n.off,1),r=r.children[n.i],i(s>=0?e.marks[s].node:e.text,r)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,s=!r&&Do(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||i||s))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,a=this.moveToLine(this.domAtPos(l.anchor)),u=l.empty?a:this.moveToLine(this.domAtPos(l.head));if(F.gecko&&l.empty&&!this.hasComposition&&Ky(a)){let h=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(h,a.node.childNodes[a.offset]||null)),a=u=new nt(h,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!Gr(a.node,a.offset,c.anchorNode,c.anchorOffset)||!Gr(u.node,u.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,l))&&(this.view.observer.ignore(()=>{F.android&&F.chrome&&this.dom.contains(c.focusNode)&&nx(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let h=Ko(this.view.root);if(h)if(l.empty){if(F.gecko){let f=ex(a.node,a.offset);if(f&&f!=3){let d=mm(a.node,a.offset,f==1?1:-1);d&&(a=new nt(d.node,d.offset))}}h.collapse(a.node,a.offset),l.bidiLevel!=null&&h.caretBidiLevel!==void 0&&(h.caretBidiLevel=l.bidiLevel)}else if(h.extend){h.collapse(a.node,a.offset);try{h.extend(u.node,u.offset)}catch{}}else{let f=document.createRange();l.anchor>l.head&&([a,u]=[u,a]),f.setEnd(u.node,u.offset),f.setStart(a.node,a.offset),h.removeAllRanges(),h.addRange(f)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(a,u)),this.impreciseAnchor=a.precise?null:new nt(c.anchorNode,c.anchorOffset),this.impreciseHead=u.precise?null:new nt(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&!this.compositionBarrier.size&&Gr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,n=Ko(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!n||!i.empty||!i.assoc||!n.modify)return;let o=We.find(this,i.head);if(!o)return;let l=o.posAtStart;if(i.head==l||i.head==l+o.length)return;let a=this.coordsAt(i.head,-1),u=this.coordsAt(i.head,1);if(!a||!u||a.bottom>u.top)return;let c=this.domAtPos(i.head+i.assoc);n.collapse(c.node,c.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=i.from&&n.collapse(r,s)}moveToLine(e){let i=this.dom,n;if(e.node!=i)return e;for(let r=e.offset;!n&&r=0;r--){let s=Pe.get(i.childNodes[r]);s instanceof We&&(n=s.domAtPos(s.length))}return n?new nt(n.node,n.offset,!0):e}nearest(e){for(let i=e;i;){let n=Pe.get(i);if(n&&n.rootView==this)return n;i=i.parentNode}return null}posFromDOM(e,i){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,i)+n.posAtStart}domAtPos(e){let{i,off:n}=this.childCursor().findPos(e,-1);for(;i=0;o--){let l=this.children[o],a=s-l.breakAfter,u=a-l.length;if(ae||l.covers(1))&&(!n||l instanceof We&&!(n instanceof We&&i>=0))&&(n=l,r=u),s=u}return n?n.coordsAt(e-r,i):null}coordsForChar(e){let{i,off:n}=this.childPos(e,1),r=this.children[i];if(!(r instanceof We))return null;for(;r.children.length;){let{i:l,off:a}=r.childPos(n,1);for(;;l++){if(l==r.children.length)return null;if((r=r.children[l]).length)break}n=a}if(!(r instanceof Ai))return null;let s=He(r.text,n);if(s==n)return null;let o=Sn(r.dom,n,s).getClientRects();for(let l=0;lMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==Xe.LTR;for(let u=0,c=0;cr)break;if(u>=n){let d=h.dom.getBoundingClientRect();if(i.push(d.height),o){let p=h.dom.lastChild,m=p?sr(p):[];if(m.length){let g=m[m.length-1],O=a?g.right-d.left:d.right-g.left;O>l&&(l=O,this.minWidth=s,this.minWidthFrom=u,this.minWidthTo=f)}}}u=f+h.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?Xe.RTL:Xe.LTR}measureTextSize(){for(let s of this.children)if(s instanceof We){let o=s.measureTextSize();if(o)return o}let e=document.createElement("div"),i,n,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=sr(e.firstChild)[0];i=e.getBoundingClientRect().height,n=s?s.width/27:7,r=s?s.height:i,e.remove()}),{lineHeight:i,charWidth:n,textHeight:r}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new Fp(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let n=0,r=0;;r++){let s=r==i.viewports.length?null:i.viewports[r],o=s?s.from-1:this.length;if(o>n){let l=(i.lineBlockAt(o).bottom-i.lineBlockAt(n).top)/this.view.scaleY;e.push(he.replace({widget:new xf(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!s)break;n=s.to+1}return he.set(e)}updateDeco(){let e=1,i=this.view.state.facet(ls).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,r=this.view.state.facet(cm).map((s,o)=>{let l=typeof s=="function";return l&&(n=!0),l?s(this.view):s});for(r.length&&(this.dynamicDecorationMap[e++]=n,i.push($e.join(r))),this.decorations=[this.compositionBarrier,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e{l.point?n=!1:l.endSide<0&&si.anchor?-1:1),r;if(!n)return;!i.empty&&(r=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let s=dm(this.view),o={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:l,offsetHeight:a}=this.view.scrollDOM;Ay(this.view.scrollDOM,o,i.head0)n=n.childNodes[r-1],r=Qi(n);else break}if(i>=0)for(let n=t,r=e;;){if(n.nodeType==3)return{node:n,offset:r};if(n.nodeType==1&&r=0)n=n.childNodes[r],r=0;else break}return null}function ex(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(i=!0)}),i}function sx(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),s=e-r.from;if(r.length==0)return T.cursor(e);s==0?i=1:s==r.length&&(i=-1);let o=s,l=s;i<0?o=He(r.text,s,!1):l=He(r.text,s);let a=n(r.text.slice(o,l));for(;o>0;){let u=He(r.text,o,!1);if(n(r.text.slice(u,o))!=a)break;o=u}for(;lt?e.left-t:Math.max(0,t-e.right)}function lx(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function ta(t,e){return t.tope.top+1}function kf(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function Ou(t,e,i){let n,r,s,o,l=!1,a,u,c,h;for(let p=t.firstChild;p;p=p.nextSibling){let m=sr(p);for(let g=0;gk||o==k&&s>y){n=p,r=O,s=y,o=k;let w=k?i0?g0)}y==0?i>O.bottom&&(!c||c.bottomO.top)&&(u=p,h=O):c&&ta(c,O)?c=vf(c,O.bottom):h&&ta(h,O)&&(h=kf(h,O.top))}}if(c&&c.bottom>=i?(n=a,r=c):h&&h.top<=i&&(n=u,r=h),!n)return{node:t,offset:0};let f=Math.max(r.left,Math.min(r.right,e));if(n.nodeType==3)return Sf(n,f,i);if(l&&n.contentEditable!="false")return Ou(n,f,i);let d=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:d}}function Sf(t,e,i){let n=t.nodeValue.length,r=-1,s=1e9,o=0;for(let l=0;li?c.top-i:i-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&h=(c.left+c.right)/2,d=f;if((F.chrome||F.gecko)&&Sn(t,l).getBoundingClientRect().left==c.right&&(d=!f),h<=0)return{node:t,offset:l+(d?1:0)};r=l+(d?1:0),s=h}}}return{node:t,offset:r>-1?r:o>0?t.nodeValue.length:0}}function Om(t,e,i,n=-1){var r,s;let o=t.contentDOM.getBoundingClientRect(),l=o.top+t.viewState.paddingTop,a,{docHeight:u}=t.viewState,{x:c,y:h}=e,f=h-l;if(f<0)return 0;if(f>u)return t.state.doc.length;for(let w=t.viewState.heightOracle.textHeight/2,_=!1;a=t.elementAtHeight(f),a.type!=$i.Text;)for(;f=n>0?a.bottom+w:a.top-w,!(f>=0&&f<=u);){if(_)return i?null:0;_=!0,n=-n}h=l+f;let d=a.from;if(dt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:wf(t,o,a,c,h);let p=t.dom.ownerDocument,m=t.root.elementFromPoint?t.root:p,g=m.elementFromPoint(c,h);g&&!t.contentDOM.contains(g)&&(g=null),g||(c=Math.max(o.left+1,Math.min(o.right-1,c)),g=m.elementFromPoint(c,h),g&&!t.contentDOM.contains(g)&&(g=null));let O,y=-1;if(g&&((r=t.docView.nearest(g))===null||r===void 0?void 0:r.isEditable)!=!1){if(p.caretPositionFromPoint){let w=p.caretPositionFromPoint(c,h);w&&({offsetNode:O,offset:y}=w)}else if(p.caretRangeFromPoint){let w=p.caretRangeFromPoint(c,h);w&&({startContainer:O,startOffset:y}=w,(!t.contentDOM.contains(O)||F.safari&&ax(O,y,c)||F.chrome&&ux(O,y,c))&&(O=void 0))}}if(!O||!t.docView.dom.contains(O)){let w=We.find(t.docView,d);if(!w)return f>a.top+a.height/2?a.to:a.from;({node:O,offset:y}=Ou(w.dom,c,h))}let k=t.docView.nearest(O);if(!k)return null;if(k.isWidget&&((s=k.dom)===null||s===void 0?void 0:s.nodeType)==1){let w=k.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let l=t.viewState.heightOracle.textHeight,a=Math.floor((r-i.top-(t.defaultLineHeight-l)*.5)/l);s+=a*t.viewState.heightOracle.lineLength}let o=t.state.sliceDoc(i.from,i.to);return i.from+Sy(o,s,t.state.tabSize)}function ax(t,e,i){let n;if(t.nodeType!=3||e!=(n=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Sn(t,n-1,n).getBoundingClientRect().left>i}function ux(t,e,i){if(e!=0)return!1;for(let r=t;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let n=t.nodeType==1?t.getBoundingClientRect():Sn(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-n.left>5}function cx(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let n of i.type)if(n.to>e||n.to==e&&(n.to==i.to||n.type==$i.Text))return n}return i}function hx(t,e,i,n){let r=cx(t,e.head),s=!n||r.type!=$i.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=t.dom.getBoundingClientRect(),l=t.textDirectionAt(r.from),a=t.posAtCoords({x:i==(l==Xe.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(a!=null)return T.cursor(a,i?-1:1)}return T.cursor(i?r.to:r.from,i?-1:1)}function _f(t,e,i,n){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let l=e,a=null;;){let u=Yy(r,s,o,l,i),c=tm;if(!u){if(r.number==(i?t.state.doc.lines:1))return l;c=` -`,r=t.state.doc.line(r.number+(i?1:-1)),s=t.bidiSpans(r),u=t.visualLineSide(r,!i)}if(a){if(!a(c))return l}else{if(!n)return u;a=n(c)}l=u}}function fx(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return s=>{let o=n(s);return r==Ke.Space&&(r=o),r==o}}function dx(t,e,i,n){let r=e.head,s=i?1:-1;if(r==(i?t.state.doc.length:0))return T.cursor(r,e.assoc);let o=e.goalColumn,l,a=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(r,e.assoc||-1),c=t.documentTop;if(u)o==null&&(o=u.left-a.left),l=s<0?u.top:u.bottom;else{let d=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(a.right-a.left,t.defaultCharacterWidth*(r-d.from))),l=(s<0?d.top:d.bottom)+c}let h=a.left+o,f=n??t.viewState.heightOracle.textHeight>>1;for(let d=0;;d+=10){let p=l+(f+d)*s,m=Om(t,{x:h,y:p},!1,s);if(pa.bottom||(s<0?mr)){let g=t.docView.coordsForChar(m),O=!g||p{if(e>s&&er(t)),i.from,e.head>i.from?-1:1);return n==i.from?i:T.cursor(n,nnull),F.gecko&&Ax(e.contentDOM.ownerDocument)}handleEvent(e){!vx(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,i){let n=this.handlers[e];if(n){for(let r of n.observers)r(this.view,i);for(let r of n.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=mx(e),n=this.handlers,r=this.view.contentDOM;for(let s in i)if(s!="scroll"){let o=!i[s].handlers.length,l=n[s];l&&o!=!l.handlers.length&&(r.removeEventListener(s,this.handleEvent),l=null),l||r.addEventListener(s,this.handleEvent,{passive:o})}for(let s in n)s!="scroll"&&!i[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()n.keyCode==e.keyCode))&&!e.ctrlKey||Ox.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,qn(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:F.safari&&!F.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function $f(t,e){return(i,n)=>{try{return e.call(t,n,i)}catch(r){Tt(i.state,r)}}}function mx(t){let e=Object.create(null);function i(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let r=n.spec;if(r&&r.domEventHandlers)for(let s in r.domEventHandlers){let o=r.domEventHandlers[s];o&&i(s).handlers.push($f(n.value,o))}if(r&&r.domEventObservers)for(let s in r.domEventObservers){let o=r.domEventObservers[s];o&&i(s).observers.push($f(n.value,o))}}for(let n in Jt)i(n).handlers.push(Jt[n]);for(let n in ei)i(n).observers.push(ei[n]);return e}const gm=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Ox="dthko",bm=[16,17,18,20,91,92,224,225],to=6;function io(t){return Math.max(0,t)*.7+8}function gx(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class bx{constructor(e,i,n,r){this.view=e,this.startEvent=i,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParent=Ty(e.contentDOM),this.atoms=e.state.facet(dc).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(oe.allowMultipleSelections)&&yx(e,i),this.dragging=kx(e,i)&&vm(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var i;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&gx(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,s=((i=this.scrollParent)===null||i===void 0?void 0:i.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=dm(this.view);e.clientX-o.left<=s.left+to?n=-io(s.left-e.clientX):e.clientX+o.right>=s.right-to&&(n=io(e.clientX-s.right)),e.clientY-o.top<=s.top+to?r=-io(s.top-e.clientY):e.clientY+o.bottom>=s.bottom-to&&(r=io(e.clientY-s.bottom)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let n=0;nthis.select(this.lastEvent),20)}}function yx(t,e){let i=t.state.facet(im);return i.length?i[0](e):F.mac?e.metaKey:e.ctrlKey}function xx(t,e){let i=t.state.facet(nm);return i.length?i[0](e):F.mac?!e.altKey:!e.ctrlKey}function kx(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=Ko(t.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function vx(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,n;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(n=Pe.get(i))&&n.ignoreEvent(e))return!1;return!0}const Jt=Object.create(null),ei=Object.create(null),ym=F.ie&&F.ie_version<15||F.ios&&F.webkit_version<604;function Sx(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),xm(t,i.value)},50)}function xm(t,e){let{state:i}=t,n,r=1,s=i.toText(e),o=s.lines==i.selection.ranges.length;if(gu!=null&&i.selection.ranges.every(a=>a.empty)&&gu==s.toString()){let a=-1;n=i.changeByRange(u=>{let c=i.doc.lineAt(u.from);if(c.from==a)return{range:u};a=c.from;let h=i.toText((o?s.line(r++).text:e)+i.lineBreak);return{changes:{from:c.from,insert:h},range:T.cursor(u.from+h.length)}})}else o?n=i.changeByRange(a=>{let u=s.line(r++);return{changes:{from:a.from,to:a.to,insert:u.text},range:T.cursor(a.from+u.length)}}):n=i.replaceSelection(s);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}ei.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Jt.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&(t.inputState.lastEscPress=Date.now()),!1);ei.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};ei.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Jt.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let n of t.state.facet(rm))if(i=n(t,e),i)break;if(!i&&e.button==0&&(i=$x(t,e)),i){let n=!t.hasFocus;t.inputState.startMouseSelection(new bx(t,e,i,n)),n&&t.observer.ignore(()=>Mp(t.contentDOM));let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function Pf(t,e,i,n){if(n==1)return T.cursor(e,i);if(n==2)return sx(t.state,e,i);{let r=We.find(t.docView,e),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,l=r?r.posAtEnd:s.to;return lt>=e.top&&t<=e.bottom,Cf=(t,e,i)=>km(e,i)&&t>=i.left&&t<=i.right;function wx(t,e,i,n){let r=We.find(t.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&Cf(i,n,o))return-1;let l=r.coordsAt(s,1);return l&&Cf(i,n,l)?1:o&&km(n,o)?-1:1}function Qf(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:wx(t,i,e.clientX,e.clientY)}}const _x=F.ie&&F.ie_version<=11;let Af=null,Tf=0,Ef=0;function vm(t){if(!_x)return t.detail;let e=Af,i=Ef;return Af=t,Ef=Date.now(),Tf=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(Tf+1)%3:1}function $x(t,e){let i=Qf(t,e),n=vm(e),r=t.state.selection;return{update(s){s.docChanged&&(i.pos=s.changes.mapPos(i.pos),r=r.map(s.changes))},get(s,o,l){let a=Qf(t,s),u,c=Pf(t,a.pos,a.bias,n);if(i.pos!=a.pos&&!o){let h=Pf(t,i.pos,i.bias,n),f=Math.min(h.from,c.from),d=Math.max(h.to,c.to);c=f1&&(u=Px(r,a.pos))?u:l?r.addRange(c):T.create([c])}}}function Px(t,e){for(let i=0;i=e)return T.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Jt.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.nearest(e.target);if(r&&r.isWidget){let s=r.posAtStart,o=s+r.length;(s>=i.to||o<=i.from)&&(i=T.range(s,o))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Jt.dragend=t=>(t.inputState.draggedContent=null,!1);function Zf(t,e,i,n){if(!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,o=n&&s&&xx(t,e)?{from:s.from,to:s.to}:null,l={from:r,insert:i},a=t.state.changes(o?[o,l]:l);t.focus(),t.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Jt.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let n=Array(i.length),r=0,s=()=>{++r==i.length&&Zf(t,e,n.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[o]=l.result),s()},l.readAsText(i[o])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Zf(t,e,n,!0),!0}return!1};Jt.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=ym?null:e.clipboardData;return i?(xm(t,i.getData("text/plain")||i.getData("text/uri-text")),!0):(Sx(t),!1)};function Cx(t,e){let i=t.dom.parentNode;if(!i)return;let n=i.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function Qx(t){let e=[],i=[],n=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),i.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}n=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:n}}let gu=null;Jt.copy=Jt.cut=(t,e)=>{let{text:i,ranges:n,linewise:r}=Qx(t.state);if(!i&&!r)return!1;gu=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=ym?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",i),!0):(Cx(t,i),!1)};const Sm=Ei.define();function wm(t,e){let i=[];for(let n of t.facet(lm)){let r=n(t,e);r&&i.push(r)}return i?t.update({effects:i,annotations:Sm.of(!0)}):null}function _m(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=wm(t.state,e);i?t.dispatch(i):t.update([])}},10)}ei.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),_m(t)};ei.blur=t=>{t.observer.clearSelectionRange(),_m(t)};ei.compositionstart=ei.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0,t.docView.maybeCreateCompositionBarrier()&&(t.update([]),t.docView.clearCompositionBarrier()))};ei.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,F.chrome&&F.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};ei.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Jt.beforeinput=(t,e)=>{var i;let n;if(F.chrome&&F.android&&(n=gm.find(r=>r.inputType==e.inputType))&&(t.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let r=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return!1};const Df=new Set;function Ax(t){Df.has(t)||(Df.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const Rf=["pre-wrap","normal","pre-line","break-spaces"];class Tx{constructor(e){this.lineWrapping=e,this.doc=ue.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,i){let n=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((i-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Rf.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let n=0;n-1,a=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=i,this.charWidth=n,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,i){this.height!=i&&(Math.abs(this.height-i)>Io&&(e.heightChanged=!0),this.height=i)}replace(e,i,n){return ht.of(n)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,n,r){let s=this,o=n.doc;for(let l=r.length-1;l>=0;l--){let{fromA:a,toA:u,fromB:c,toB:h}=r[l],f=s.lineAt(a,_e.ByPosNoHeight,n.setDoc(i),0,0),d=f.to>=u?f:s.lineAt(u,_e.ByPosNoHeight,n,0,0);for(h+=d.to-u,u=d.to;l>0&&f.from<=r[l-1].toA;)a=r[l-1].fromA,c=r[l-1].fromB,l--,as*2){let l=e[i-1];l.break?e.splice(--i,1,l.left,null,l.right):e.splice(--i,1,l.left,l.right),n+=1+l.break,r-=l.size}else if(s>r*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(r=s&&o(this.blockAt(0,n,r,s))}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class $t extends $m{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,n,r){return new fi(r,this.length,n,this.height,this.breaks)}replace(e,i,n){let r=n[0];return n.length==1&&(r instanceof $t||r instanceof Ne&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Ne?r=new $t(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):ht.of(n)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Ne extends ht{constructor(e){super(e,0)}heightMetrics(e,i){let n=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,s=r-n+1,o,l=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);o=a/s,this.length>s+1&&(l=(this.height-a)/(this.length-s-1))}else o=this.height/s;return{firstLine:n,lastLine:r,perLine:o,perChar:l}}blockAt(e,i,n,r){let{firstLine:s,lastLine:o,perLine:l,perChar:a}=this.heightMetrics(i,r);if(i.lineWrapping){let u=r+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),c=i.doc.lineAt(u),h=l+c.length*a,f=Math.max(n,e-h/2);return new fi(c.from,c.length,f,h,0)}else{let u=Math.max(0,Math.min(o-s,Math.floor((e-n)/l))),{from:c,length:h}=i.doc.line(s+u);return new fi(c,h,n+l*u,l,0)}}lineAt(e,i,n,r,s){if(i==_e.ByHeight)return this.blockAt(e,n,r,s);if(i==_e.ByPosNoHeight){let{from:d,to:p}=n.doc.lineAt(e);return new fi(d,p-d,0,0,0)}let{firstLine:o,perLine:l,perChar:a}=this.heightMetrics(n,s),u=n.doc.lineAt(e),c=l+u.length*a,h=u.number-o,f=r+l*h+a*(u.from-s-h);return new fi(u.from,u.length,Math.max(r,Math.min(f,r+this.height-c)),c,0)}forEachLine(e,i,n,r,s,o){e=Math.max(e,s),i=Math.min(i,s+this.length);let{firstLine:l,perLine:a,perChar:u}=this.heightMetrics(n,s);for(let c=e,h=r;c<=i;){let f=n.doc.lineAt(c);if(c==e){let p=f.number-l;h+=a*p+u*(e-s-p)}let d=a+u*f.length;o(new fi(f.from,f.length,h,d,0)),h+=d,c=f.to+1}}replace(e,i,n){let r=this.length-i;if(r>0){let s=n[n.length-1];s instanceof Ne?n[n.length-1]=new Ne(s.length+r):n.push(null,new Ne(r-1))}if(e>0){let s=n[0];s instanceof Ne?n[0]=new Ne(e+s.length):n.unshift(new Ne(e-1),null)}return ht.of(n)}decomposeLeft(e,i){i.push(new Ne(e-1),null)}decomposeRight(e,i){i.push(null,new Ne(this.length-e-1))}updateHeight(e,i=0,n=!1,r){let s=i+this.length;if(r&&r.from<=i+this.length&&r.more){let o=[],l=Math.max(i,r.from),a=-1;for(r.from>i&&o.push(new Ne(r.from-i-1).updateHeight(e,i));l<=s&&r.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let h=r.heights[r.index++];a==-1?a=h:Math.abs(h-a)>=Io&&(a=-2);let f=new $t(c,h);f.outdated=!1,o.push(f),l+=c+1}l<=s&&o.push(null,new Ne(s-l).updateHeight(e,l));let u=ht.of(o);return(a<0||Math.abs(u.height-this.height)>=Io||Math.abs(a-this.heightMetrics(e,i).perLine)>=Io)&&(e.heightChanged=!0),u}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Zx extends ht{constructor(e,i,n){super(e.length+i+n.length,e.height+n.height,i|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,i,n,r){let s=n+this.left.height;return el))return u;let c=i==_e.ByPosNoHeight?_e.ByPosNoHeight:_e.ByPos;return a?u.join(this.right.lineAt(l,c,n,o,l)):this.left.lineAt(l,c,n,r,s).join(u)}forEachLine(e,i,n,r,s,o){let l=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,i,n,l,a,o);else{let u=this.lineAt(a,_e.ByPos,n,r,s);e=e&&u.from<=i&&o(u),i>u.to&&this.right.forEachLine(u.to+1,i,n,l,a,o)}}replace(e,i,n){let r=this.left.length+this.break;if(ithis.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,n));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let l of n)s.push(l);if(e>0&&If(s,o-1),i=n&&i.push(null)),e>n&&this.right.decomposeLeft(e-n,i)}decomposeRight(e,i){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e2*i.size||i.size>2*e.size?ht.of(this.break?[e,null,i]:[e,i]):(this.left=e,this.right=i,this.height=e.height+i.height,this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,n=!1,r){let{left:s,right:o}=this,l=i+s.length+this.break,a=null;return r&&r.from<=i+s.length&&r.more?a=s=s.updateHeight(e,i,n,r):s.updateHeight(e,i,n),r&&r.from<=l+o.length&&r.more?a=o=o.updateHeight(e,l,n,r):o.updateHeight(e,l,n),a?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function If(t,e){let i,n;t[e]==null&&(i=t[e-1])instanceof Ne&&(n=t[e+1])instanceof Ne&&t.splice(e-1,3,new Ne(i.length+1+n.length))}const Dx=5;class pc{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let n=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof $t?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new $t(n-this.pos,-1)),this.writtenTo=n,i>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,n){if(e=Dx)&&this.addLineDeco(r,s,o)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenToe&&this.nodes.push(new $t(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let n=new Ne(i-e);return this.oracle.doc.lineAt(e).to==i&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof $t)return e;let i=new $t(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+n}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof $t)&&!this.isCovered?this.nodes.push(new $t(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&h.overflow!="visible"){let f=c.getBoundingClientRect();s=Math.max(s,f.left),o=Math.min(o,f.right),l=Math.max(l,f.top),a=u==t.parentNode?f.bottom:Math.min(a,f.bottom)}u=h.position=="absolute"||h.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-i.left,right:Math.max(s,o)-i.left,top:l-(i.top+e),bottom:Math.max(l,a)-(i.top+e)}}function Xx(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class na{constructor(e,i,n){this.from=e,this.to=i,this.size=n}static same(e,i){if(e.length!=i.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new Tx(i),this.stateDeco=e.facet(ls).filter(n=>typeof n!="function"),this.heightMap=ht.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle.setDoc(e.doc),[new Rt(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=he.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let n=0;n<=1;n++){let r=n?i.head:i.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new no(s,o))}}this.viewports=e.sort((n,r)=>n.from-r.from),this.scaler=this.heightMap.height<=7e6?Xf:new Fx(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Fr(e,this.scaler))})}update(e,i=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(ls).filter(c=>typeof c!="function");let r=e.changedRanges,s=Rt.extendWithRanges(r,Rx(n,this.stateDeco,e?e.changes:Fe.empty(this.state.doc.length))),o=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,i));let u=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Uy)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let i=e.contentDOM,n=window.getComputedStyle(i),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Xe.RTL:Xe.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),l=i.getBoundingClientRect(),a=o||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let u=0,c=0;if(l.width&&l.height){let{scaleX:w,scaleY:_}=Xp(i,l);(this.scaleX!=w||this.scaleY!=_)&&(this.scaleX=w,this.scaleY=_,u|=8,o=a=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=h||this.paddingBottom!=f)&&(this.paddingTop=h,this.paddingBottom=f,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let d=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=d&&(this.scrollAnchorHeight=-1,this.scrollTop=d),this.scrolledToBottom=Wp(e.scrollDOM);let p=(this.printing?Xx:Lx)(i,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let O=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(O!=this.inView&&(this.inView=O,O&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let y=l.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),a){let w=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(w)&&(o=!0),o||r.lineWrapping&&Math.abs(y-this.contentDOMWidth)>r.charWidth){let{lineHeight:_,charWidth:A,textHeight:C}=e.docView.measureTextSize();o=_>0&&r.refresh(s,_,A,C,y/A,w),o&&(e.docView.minWidth=0,u|=8)}m>0&&g>0?c=Math.max(m,g):m<0&&g<0&&(c=Math.min(m,g)),r.heightChanged=!1;for(let _ of this.viewports){let A=_.from==this.viewport.from?w:e.docView.measureVisibleLineHeights(_);this.heightMap=(o?ht.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle,[new Rt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new Ex(_.from,A))}r.heightChanged&&(u|=2)}let k=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return k&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(u&2||k)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:l}=this,a=new no(r.lineAt(o-n*1e3,_e.ByHeight,s,0,0).from,r.lineAt(l+(1-n)*1e3,_e.ByHeight,s,0,0).to);if(i){let{head:u}=i.range;if(ua.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(u,_e.ByPos,s,0,0),f;i.y=="center"?f=(h.top+h.bottom)/2-c/2:i.y=="start"||i.y=="nearest"&&u=l+Math.max(10,Math.min(n,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=Xe.LTR&&!n)return[];let l=[],a=(u,c,h,f)=>{if(c-uu&&gg.from>=h.from&&g.to<=h.to&&Math.abs(g.from-u)g.fromO));if(!m){if(cg.from<=c&&g.to>=c)){let g=i.moveToLineBoundary(T.cursor(c),!1,!0).head;g>u&&(c=g)}m=new na(u,c,this.gapSize(h,u,c,f))}l.push(m)};for(let u of this.viewportLines){if(u.lengthu.from&&a(u.from,f,u,c),di.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];$e.spans(e,this.viewport.from,this.viewport.to,{span(r,s){i.push({from:r,to:s})},point(){}},20);let n=i.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=i[s].from||r.to!=i[s].to);return this.visibleRanges=i,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||Fr(this.heightMap.lineAt(e,_e.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Fr(this.heightMap.lineAt(this.scaler.fromDOM(e),_e.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return Fr(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class no{constructor(e,i){this.from=e,this.to=i}}function Vx(t,e,i){let n=[],r=t,s=0;return $e.spans(i,t,e,{span(){},point(o,l){o>r&&(n.push({from:r,to:o}),s+=o-r),r=l}},20),r=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let r=0;;r++){let{from:s,to:o}=e[r],l=o-s;if(n<=l)return s+n;n-=l}}function so(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function Wx(t,e){for(let i of t)if(e(i))return i}const Xf={toDOM(t){return t},fromDOM(t){return t},scale:1};class Fx{constructor(e,i,n){let r=0,s=0,o=0;this.viewports=n.map(({from:l,to:a})=>{let u=i.lineAt(l,_e.ByPos,e,0,0).top,c=i.lineAt(a,_e.ByPos,e,0,0).bottom;return r+=c-u,{from:l,to:a,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);for(let l of this.viewports)l.domTop=o+(l.top-s)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let i=0,n=0,r=0;;i++){let s=iFr(r,e)):t._content)}const oo=N.define({combine:t=>t.join(" ")}),bu=N.define({combine:t=>t.indexOf(!0)>-1}),yu=nn.newName(),Pm=nn.newName(),Cm=nn.newName(),Qm={"&light":"."+Pm,"&dark":"."+Cm};function xu(t,e,i){return new nn(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+n}})}const zx=xu("."+yu,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Qm),zr="￿";class jx{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(oe.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=zr}readRange(e,i){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let s=this.text.length;this.readNode(r);let o=r.nextSibling;if(o==i)break;let l=Pe.get(r),a=Pe.get(o);(l&&a?l.breakAfter:(l?l.breakAfter:Mf(r))||Mf(o)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>s)&&this.lineBreak(),r=o}return this.findPointBefore(n,i),this}readTextNode(e){let i=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,i.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,l;if(this.lineSeparator?(s=i.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(l=r.exec(i))&&(s=l.index,o=l[0].length),this.append(i.slice(n,s<0?i.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);n=s+o}}readNode(e){if(e.cmIgnore)return;let i=Pe.get(e),n=i&&i.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==i&&(n.pos=this.text.length)}findPointInside(e,i){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Bx(e,n.node,n.offset)?i:0))}}function Bx(t,e,i){for(;;){if(!e||i-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,n,0))){let l=s||o?[]:Ux(e),a=new jx(l,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=Gx(l,this.bounds.from)}else{let l=e.observer.selectionRange,a=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!su(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),u=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!su(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset),c=e.viewport;if((F.ios||F.chrome)&&e.state.selection.main.empty&&a!=u&&(c.from>0||c.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,a=r.from,u=null;(s===8||F.android&&e.text.length=r.from&&i.to<=r.to&&(i.from!=r.from||i.to!=r.to)&&r.to-r.from-(i.to-i.from)<=4?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,r.to))}:(F.mac||F.android)&&i&&i.from==i.to&&i.from==r.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&i.insert.length==2&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}):F.chrome&&i&&i.from==i.to&&i.from==r.head&&i.insert.toString()==` - `&&t.lineWrapping&&(n&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}),i){if(F.ios&&t.inputState.flushIOSKey()||F.android&&(i.to==r.to&&(i.from==r.from||i.from==r.from-1&&t.state.sliceDoc(i.from,r.from)==" ")&&i.insert.length==1&&i.insert.lines==2&&qn(t.contentDOM,"Enter",13)||(i.from==r.from-1&&i.to==r.to&&i.insert.length==0||s==8&&i.insert.lengthr.head)&&qn(t.contentDOM,"Backspace",8)||i.from==r.from&&i.to==r.to+1&&i.insert.length==0&&qn(t.contentDOM,"Delete",46)))return!0;let o=i.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let l,a=()=>l||(l=Yx(t,i,n));return t.state.facet(om).some(u=>u(t,i.from,i.to,o,a))||t.dispatch(a()),!0}else if(n&&!n.main.eq(r)){let o=!1,l="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(o=!0),l=t.inputState.lastSelectionOrigin),t.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function Yx(t,e,i){let n,r=t.state,s=r.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let l=s.frome.to?r.sliceDoc(e.to,s.to):"";n=r.replaceSelection(t.state.toText(l+e.insert.sliceString(0,void 0,t.state.lineBreak)+a))}else{let l=r.changes(e),a=i&&i.main.to<=l.newLength?i.main:void 0;if(r.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let u=t.state.sliceDoc(e.from,e.to),c,h=i&&pm(t,i.main.head);if(h){let p=e.insert.length-(e.to-e.from);c={from:h.from,to:h.to-p}}else c=t.state.doc.lineAt(s.head);let f=s.to-e.to,d=s.to-s.from;n=r.changeByRange(p=>{if(p.from==s.from&&p.to==s.to)return{changes:l,range:a||p.map(l)};let m=p.to-f,g=m-u.length;if(p.to-p.from!=d||t.state.sliceDoc(g,m)!=u||p.to>=c.from&&p.from<=c.to)return{range:p};let O=r.changes({from:g,to:m,insert:e.insert}),y=p.to-s.to;return{changes:O,range:a?T.range(Math.max(0,a.anchor+y),Math.max(0,a.head+y)):p.map(O)}})}else n={changes:l,selection:a&&r.selection.replaceRange(a)}}let o="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,o+=".compose",t.inputState.compositionFirstChange&&(o+=".start",t.inputState.compositionFirstChange=!1)),r.update(n,{userEvent:o,scrollIntoView:!0})}function Nx(t,e,i,n){let r=Math.min(t.length,e.length),s=0;for(;s0&&l>0&&t.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(n=="end"){let a=Math.max(0,s-Math.min(o,l));i-=o+a-s}if(o=o?s-i:0;s-=a,l=s+(l-o),o=s}else if(l=l?s-i:0;s-=a,o=s+(o-l),l=s}return{from:s,toA:o,toB:l}}function Ux(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}=t.observer.selectionRange;return i&&(e.push(new Vf(i,n)),(r!=i||s!=n)&&e.push(new Vf(r,s))),e}function Gx(t,e){if(t.length==0)return null;let i=t[0].pos,n=t.length==2?t[1].pos:i;return i>-1&&n>-1?T.single(i+e,n+e):null}const Hx={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ra=F.ie&&F.ie_version<=11;class Kx{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Ey,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let n of i)this.queue.push(n);(F.ie&&F.ie_version<=11||F.ios&&e.composing)&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),ra&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,n)=>i!=e[n]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(Rl)?n.root.activeElement!=this.dom:!Do(n.dom,r))return;let s=r.anchorNode&&n.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(F.ie&&F.ie_version<=11||F.android&&F.chrome)&&!n.state.selection.main.empty&&r.focusNode&&Gr(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=F.safari&&e.root.nodeType==11&&Cy(this.dom.ownerDocument)==this.dom&&Jx(this.view)||Ko(e.root);if(!i||this.selectionRange.eq(i))return!1;let n=Do(this.dom,i);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&qn(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,n=-1,r=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(r=!0),i==-1?{from:i,to:n}=o:(i=Math.min(o.from,i),n=Math.max(o.to,n)))}return{from:i,to:n,typeOver:r}}readChange(){let{from:e,to:i,typeOver:n}=this.processRecords(),r=this.selectionChanged&&Do(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new qx(this.view,e,i,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let n=this.view.state,r=Am(this.view,i);return this.view.state==n&&this.view.update([]),r}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let n=Wf(i,e.previousSibling||e.target.previousSibling,-1),r=Wf(i,e.nextSibling||e.target.nextSibling,1);return{from:n?i.posAfter(n):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Wf(t,e,i){for(;e;){let n=Pe.get(e);if(n&&n.parent==t)return n;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function Jx(t){let e=null;function i(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let n=e.startContainer,r=e.startOffset,s=e.endContainer,o=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);return Gr(l.node,l.offset,s,o)&&([n,r,s,o]=[s,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:s,focusOffset:o}}class j{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:i}=e;this.dispatchTransactions=e.dispatchTransactions||i&&(n=>n.forEach(r=>i(r,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||Zy(e.parent)||document,this.viewState=new Lf(e.state||oe.create(e)),e.scrollTo&&e.scrollTo.is(eo)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Vr).map(n=>new ea(n));for(let n of this.plugins)n.update(this);this.observer=new Kx(this),this.inputState=new px(this),this.inputState.ensureHandlers(this.plugins),this.docView=new yf(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let i=e.length==1&&e[0]instanceof Le?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,s=this.state;for(let f of e){if(f.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=f.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,l=0,a=null;e.some(f=>f.annotation(Sm))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=wm(s,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(oe.phrases)!=this.state.facet(oe.phrases))return this.setState(s);r=Jo.create(this,s,e),r.flags|=l;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(h&&(h=h.map(f.changes)),f.scrollIntoView){let{main:d}=f.state.selection;h=new Yn(d.empty?d:T.cursor(d.head,d.head>d.anchor?-1:1))}for(let d of f.effects)d.is(eo)&&(h=d.value.clip(this.state))}this.viewState.update(r,h),this.bidiCache=el.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Wr)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(oo)!=r.state.facet(oo)&&(this.viewState.mustMeasureContent=!0),(i||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let f of this.state.facet(mu))try{f(r)}catch(d){Tt(this.state,d,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!Am(this,c)&&u.force&&qn(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Lf(e),this.plugins=e.facet(Vr).map(n=>new ea(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new yf(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(Vr),n=e.state.facet(Vr);if(i!=n){let r=[];for(let s of n){let o=i.indexOf(s);if(o<0)r.push(new ea(s));else{let l=this.plugins[o];l.mustUpdate=e,r.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(Wp(n))s=-1,o=this.viewState.heightMap.height;else{let d=this.viewState.scrollAnchorAt(r);s=d.from,o=d.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(d=>{try{return d.read(this)}catch(p){return Tt(this.state,p),Ff}}),h=Jo.create(this,this.state,[]),f=!1;h.flags|=a,i?i.flags|=a:i=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),f=this.docView.update(h),f&&this.docViewUpdate());for(let d=0;d1||p<-1){r=r+p,n.scrollTop=r/this.scaleY,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let l of this.state.facet(mu))l(i)}get themeClasses(){return yu+" "+(this.state.facet(bu)?Cm:Pm)+" "+this.state.facet(oo)}updateAttrs(){let e=zf(this,um,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Rl)?"true":"false",class:"cm-content",style:`${F.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),zf(this,fc,i);let n=this.observer.ignore(()=>{let r=cu(this.contentDOM,this.contentAttrs,i),s=cu(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(j.announce)){i&&(this.announceDOM.textContent=""),i=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Wr);let e=this.state.facet(j.cspNonce);nn.mount(this.root,this.styleModules.concat(zx).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;in.spec==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,n){return ia(this,e,_f(this,e,i,n))}moveByGroup(e,i){return ia(this,e,_f(this,e,i,n=>fx(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),s=n[i?n.length-1:0];return T.cursor(s.side(i,r)+e.from,s.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return hx(this,e,i,n)}moveVertically(e,i,n){return ia(this,e,dx(this,e,i,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),Om(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.docView.coordsAt(e,i);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[Gi.find(s,e-r.from,-1,i)];return Zl(n,o.dir==Xe.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(am)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>ek)return em(e.length);let i=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==i&&(s.fresh||Jp(s.isolates,n=bf(this,e))))return s.order;n||(n=bf(this,e));let r=qy(e.text,i,n);return this.bidiCache.push(new el(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||F.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Mp(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return eo.of(new Yn(typeof e=="number"?T.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return eo.of(new Yn(T.cursor(n.from),"start","start",n.top-e,i,!0))}static domEventHandlers(e){return Lt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Lt.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=nn.newName(),r=[oo.of(n),Wr.of(xu(`.${n}`,e))];return i&&i.dark&&r.push(bu.of(!0)),r}static baseTheme(e){return an.lowest(Wr.of(xu("."+yu,e,Qm)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&Pe.get(n)||Pe.get(e);return((i=r==null?void 0:r.rootView)===null||i===void 0?void 0:i.view)||null}}j.styleModule=Wr;j.inputHandler=om;j.focusChangeEffect=lm;j.perLineTextDirection=am;j.exceptionSink=sm;j.updateListener=mu;j.editable=Rl;j.mouseSelectionStyle=rm;j.dragMovesSelection=nm;j.clickAddsSelectionRange=im;j.decorations=ls;j.outerDecorations=cm;j.atomicRanges=dc;j.bidiIsolatedRanges=hm;j.scrollMargins=fm;j.darkTheme=bu;j.cspNonce=N.define({combine:t=>t.length?t[0]:""});j.contentAttributes=fc;j.editorAttributes=um;j.lineWrapping=j.contentAttributes.of({class:"cm-lineWrapping"});j.announce=ce.define();const ek=4096,Ff={};class el{constructor(e,i,n,r,s,o){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=s,this.order=o}static update(e,i){if(i.empty&&!e.some(s=>s.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:Xe.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],o=typeof s=="function"?s(t):s;o&&uu(o,i)}return i}const tk=F.mac?"mac":F.windows?"win":F.linux?"linux":"key";function ik(t,e){const i=t.split(/-(?!$)/);let n=i[i.length-1];n=="Space"&&(n=" ");let r,s,o,l;for(let a=0;an.concat(r),[]))),i}function rk(t,e,i){return Em(Tm(t.state),e,t,i)}let Bi=null;const sk=4e3;function ok(t,e=tk){let i=Object.create(null),n=Object.create(null),r=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,l,a,u,c)=>{var h,f;let d=i[o]||(i[o]=Object.create(null)),p=l.split(/ (?!$)/).map(O=>ik(O,e));for(let O=1;O{let w=Bi={view:k,prefix:y,scope:o};return setTimeout(()=>{Bi==w&&(Bi=null)},sk),!0}]})}let m=p.join(" ");r(m,!1);let g=d[m]||(d[m]={preventDefault:!1,stopPropagation:!1,run:((f=(h=d._any)===null||h===void 0?void 0:h.run)===null||f===void 0?void 0:f.slice())||[]});a&&g.run.push(a),u&&(g.preventDefault=!0),c&&(g.stopPropagation=!0)};for(let o of t){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=i[u]||(i[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let h in c)c[h].run.push(o.any)}let a=o[e]||o.key;if(a)for(let u of l)s(u,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(u,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return i}function Em(t,e,i,n){let r=Py(e),s=Gt(r,0),o=_i(s)==r.length&&r!=" ",l="",a=!1,u=!1,c=!1;Bi&&Bi.view==i&&Bi.scope==n&&(l=Bi.prefix+" ",bm.indexOf(e.keyCode)<0&&(u=!0,Bi=null));let h=new Set,f=g=>{if(g){for(let O of g.run)if(!h.has(O)&&(h.add(O),O(i,e)))return g.stopPropagation&&(c=!0),!0;g.preventDefault&&(g.stopPropagation&&(c=!0),u=!0)}return!1},d=t[n],p,m;return d&&(f(d[l+lo(r,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(F.windows&&e.ctrlKey&&e.altKey)&&(p=rn[e.keyCode])&&p!=r?(f(d[l+lo(p,e,!0)])||e.shiftKey&&(m=ss[e.keyCode])!=r&&m!=p&&f(d[l+lo(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&f(d[l+lo(r,e,!0)])&&(a=!0),!a&&f(d._any)&&(a=!0)),u&&(a=!0),a&&c&&e.stopPropagation(),a}const lk=!F.ios,Bf={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};lk&&(Bf[".cm-line"].caretColor="transparent !important",Bf[".cm-content"]={caretColor:"transparent !important"});class ak extends As{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let i=e.firstChild?sr(e.firstChild):[];if(!i.length)return null;let n=window.getComputedStyle(e.parentNode),r=Zl(i[0],n.direction!="rtl"),s=parseInt(n.lineHeight);return r.bottom-r.top>s*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+s}:r}ignoreEvent(){return!1}}function uk(t){return Lt.fromClass(class{constructor(e){this.view=e,this.placeholder=t?he.set([he.widget({widget:new ak(t),side:1}).range(0)]):he.none}get decorations(){return this.view.state.doc.length?he.none:this.placeholder}},{decorations:e=>e.decorations})}const Ar="-10000px";class ck{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(o=>o);let s=null;this.tooltipViews=this.tooltips.map(o=>s=n(o,s))}update(e,i){var n;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=i?[]:null;for(let a=0;ai[u]=a),i.length=l.length),this.input=r,this.tooltips=s,this.tooltipViews=o,!0}}function hk(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const sa=N.define({combine:t=>{var e,i,n;return{position:F.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||hk}}}),qf=new WeakMap,Zm=Lt.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(sa);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new ck(t,Dm,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(sa);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.insertBefore(r,n)}return i.dom.style.position=this.position,i.dom.style.top=Ar,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,i=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(F.gecko)n=r.offsetParent!=this.container.ownerDocument.body;else if(r.style.top==Ar&&r.style.left=="0px"){let s=r.getBoundingClientRect();n=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(n||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,i=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:i}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((r,s)=>{let o=this.manager.tooltipViews[s];return o.getCoords?o.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(sa).tooltipSpace(this.view),scaleX:e,scaleY:i,makeAbsolute:n}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{editor:i,space:n,scaleX:r,scaleY:s}=t,o=[];for(let l=0;l=Math.min(i.bottom,n.bottom)||h.rightMath.min(i.right,n.right)+.1){c.style.top=Ar;continue}let d=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=d?7:0,m=f.right-f.left,g=(e=qf.get(u))!==null&&e!==void 0?e:f.bottom-f.top,O=u.offset||dk,y=this.view.textDirection==Xe.LTR,k=f.width>n.right-n.left?y?n.left:n.right-f.width:y?Math.min(h.left-(d?14:0)+O.x,n.right-m):Math.max(n.left,h.left-m+(d?14:0)-O.x),w=this.above[l];!a.strictSide&&(w?h.top-(f.bottom-f.top)-O.yn.bottom)&&w==n.bottom-h.bottom>h.top-n.top&&(w=this.above[l]=!w);let _=(w?h.top-n.top:n.bottom-h.bottom)-p;if(_k&&$.topA&&(A=w?$.top-g-2-p:$.bottom+p+2);if(this.position=="absolute"?(c.style.top=(A-t.parent.top)/s+"px",c.style.left=(k-t.parent.left)/r+"px"):(c.style.top=A/s+"px",c.style.left=k/r+"px"),d){let $=h.left+(y?O.x:-O.x)-(k+14-7);d.style.left=$/r+"px"}u.overlap!==!0&&o.push({left:k,top:A,right:C,bottom:A+g}),c.classList.toggle("cm-tooltip-above",w),c.classList.toggle("cm-tooltip-below",!w),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Ar}},{eventObservers:{scroll(){this.maybeMeasure()}}}),fk=j.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),dk={x:0,y:0},Dm=N.define({enables:[Zm,fk]});function Rm(t,e){let i=t.plugin(Zm);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const Yf=N.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function tl(t,e){let i=t.plugin(Im),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const Im=Lt.fromClass(class{constructor(t){this.input=t.state.facet(il),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(Yf);this.top=new ao(t,!0,e.topContainer),this.bottom=new ao(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(Yf);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new ao(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new ao(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(il);if(i!=this.input){let n=i.filter(a=>a),r=[],s=[],o=[],l=[];for(let a of n){let u=this.specs.indexOf(a),c;u<0?(c=a(t.view),l.push(c)):(c=this.panels[u],c.update&&c.update(t)),r.push(c),(c.top?s:o).push(c)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>j.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class ao{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=Nf(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=Nf(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Nf(t){let e=t.nextSibling;return t.remove(),e}const il=N.define({enables:Im});class lr extends vn{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}lr.prototype.elementClass="";lr.prototype.toDOM=void 0;lr.prototype.mapMode=ut.TrackBefore;lr.prototype.startSide=lr.prototype.endSide=-1;lr.prototype.point=!0;const Lm=1024;let pk=0;class Et{constructor(e,i){this.from=e,this.to=i}}class G{constructor(e={}){this.id=pk++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Me.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}}G.closedBy=new G({deserialize:t=>t.split(" ")});G.openedBy=new G({deserialize:t=>t.split(" ")});G.group=new G({deserialize:t=>t.split(" ")});G.isolate=new G({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});G.contextHash=new G({perNode:!0});G.lookAhead=new G({perNode:!0});G.mounted=new G({perNode:!0});class as{constructor(e,i,n){this.tree=e,this.overlay=i,this.parser=n}static get(e){return e&&e.props&&e.props[G.mounted.id]}}const mk=Object.create(null);class Me{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):mk,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Me(e.name||"",i,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(G.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(G.group),s=-1;s<(r?r.length:0);s++){let o=i[s<0?n.name:r[s]];if(o)return o}}}}Me.none=new Me("",Object.create(null),0,8);class br{constructor(e){this.types=e;for(let i=0;i0;for(let a=this.cursor(o|xe.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!l&&a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&n&&(l||!a.type.isAnonymous)&&n(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:gc(Me.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new ie(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new ie(Me.none,i,n,r)))}static build(e){return yk(e)}}ie.empty=new ie(Me.none,[],[],0);class mc{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new mc(this.buffer,this.index)}}class on{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return Me.none}toString(){let e=[];for(let i=0;i0));a=o[a+3]);return l}slice(e,i,n){let r=this.buffer,s=new Uint16Array(i-e),o=0;for(let l=e,a=0;l=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function us(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;e!=u;e+=i){let c=l[e],h=a[e]+o.from;if(Xm(r,n,h,h+c.length)){if(c instanceof on){if(s&xe.ExcludeBuffers)continue;let f=c.findChild(0,c.buffer.length,i,n-h,r);if(f>-1)return new di(new Ok(o,c,e,h),null,f)}else if(s&xe.IncludeAnonymous||!c.type.isAnonymous||Oc(c)){let f;if(!(s&xe.IgnoreMounts)&&(f=as.get(c))&&!f.overlay)return new rt(f.tree,h,e,o);let d=new rt(c,h,e,o);return s&xe.IncludeAnonymous||!d.type.isAnonymous?d:d.nextChild(i<0?c.children.length-1:0,i,n,r)}}}if(s&xe.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+i:e=i<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,n=0){let r;if(!(n&xe.IgnoreOverlays)&&(r=as.get(this._tree))&&r.overlay){let s=e-this.from;for(let{from:o,to:l}of r.overlay)if((i>0?o<=s:o=s:l>s))return new rt(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Gf(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(let o=!1;!o;)if(o=r.type.is(i),!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function ku(t,e,i=e.length-1){for(let n=t.parent;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}class Ok{constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}}class di extends Mm{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);return s<0?null:new di(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,n=0){if(n&xe.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return s<0?null:new di(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new di(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new di(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let o=n.buffer[this.index+1];e.push(n.slice(r,s,o)),i.push(0)}return new ie(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Vm(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;si.from||o.to=e){let l=new rt(o.tree,o.overlay[0].from+s.from,-1,s);(r||(r=[n])).push(us(l,e,i,!1))}}return r?Vm(r):n}class nl{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,n=this.mode){return this.buffer?n&xe.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&xe.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&xe.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=i+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let l=n._tree.children[s];if(this.mode&xe.IncludeAnonymous||l instanceof on||!l.type.isAnonymous||Oc(l))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;i=o,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return ku(this.node,e,r);let o=n[i.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function Oc(t){return t.children.some(e=>e instanceof on||!e.type.isAnonymous||Oc(e))}function yk(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=Lm,reused:s=[],minRepeatType:o=n.types.length}=t,l=Array.isArray(i)?new mc(i,i.length):i,a=n.types,u=0,c=0;function h(_,A,C,$,R,M){let{id:X,start:Z,end:L,size:W}=l,z=c;for(;W<0;)if(l.next(),W==-1){let le=s[X];C.push(le),$.push(Z-_);return}else if(W==-3){u=X;return}else if(W==-4){c=X;return}else throw new RangeError(`Unrecognized record size: ${W}`);let q=a[X],ee,te,pe=Z-_;if(L-Z<=r&&(te=g(l.pos-A,R))){let le=new Uint16Array(te.size-te.skip),me=l.pos-te.size,Te=le.length;for(;l.pos>me;)Te=O(te.start,le,Te);ee=new on(le,L-te.start,n),pe=te.start-_}else{let le=l.pos-W;l.next();let me=[],Te=[],De=X>=o?X:-1,ye=0,Oe=L;for(;l.pos>le;)De>=0&&l.id==De&&l.size>=0?(l.end<=Oe-r&&(p(me,Te,Z,ye,l.end,Oe,De,z),ye=me.length,Oe=l.end),l.next()):M>2500?f(Z,le,me,Te):h(Z,le,me,Te,De,M+1);if(De>=0&&ye>0&&ye-1&&ye>0){let Zi=d(q);ee=gc(q,me,Te,0,me.length,0,L-Z,Zi,Zi)}else ee=m(q,me,Te,L-Z,z-L)}C.push(ee),$.push(pe)}function f(_,A,C,$){let R=[],M=0,X=-1;for(;l.pos>A;){let{id:Z,start:L,end:W,size:z}=l;if(z>4)l.next();else{if(X>-1&&L=0;W-=3)Z[z++]=R[W],Z[z++]=R[W+1]-L,Z[z++]=R[W+2]-L,Z[z++]=z;C.push(new on(Z,R[2]-L,n)),$.push(L-_)}}function d(_){return(A,C,$)=>{let R=0,M=A.length-1,X,Z;if(M>=0&&(X=A[M])instanceof ie){if(!M&&X.type==_&&X.length==$)return X;(Z=X.prop(G.lookAhead))&&(R=C[M]+X.length+Z)}return m(_,A,C,$,R)}}function p(_,A,C,$,R,M,X,Z){let L=[],W=[];for(;_.length>$;)L.push(_.pop()),W.push(A.pop()+C-R);_.push(m(n.types[X],L,W,M-R,Z-M)),A.push(R-C)}function m(_,A,C,$,R=0,M){if(u){let X=[G.contextHash,u];M=M?[X].concat(M):[X]}if(R>25){let X=[G.lookAhead,R];M=M?[X].concat(M):[X]}return new ie(_,A,C,$,M)}function g(_,A){let C=l.fork(),$=0,R=0,M=0,X=C.end-r,Z={size:0,start:0,skip:0};e:for(let L=C.pos-_;C.pos>L;){let W=C.size;if(C.id==A&&W>=0){Z.size=$,Z.start=R,Z.skip=M,M+=4,$+=4,C.next();continue}let z=C.pos-W;if(W<0||z=o?4:0,ee=C.start;for(C.next();C.pos>z;){if(C.size<0)if(C.size==-3)q+=4;else break e;else C.id>=o&&(q+=4);C.next()}R=ee,$+=W,M+=q}return(A<0||$==_)&&(Z.size=$,Z.start=R,Z.skip=M),Z.size>4?Z:void 0}function O(_,A,C){let{id:$,start:R,end:M,size:X}=l;if(l.next(),X>=0&&$4){let L=l.pos-(X-4);for(;l.pos>L;)C=O(_,A,C)}A[--C]=Z,A[--C]=M-_,A[--C]=R-_,A[--C]=$}else X==-3?u=$:X==-4&&(c=$);return C}let y=[],k=[];for(;l.pos>0;)h(t.start||0,t.bufferStart||0,y,k,-1,0);let w=(e=t.length)!==null&&e!==void 0?e:y.length?k[0]+y[0].length:0;return new ie(a[t.topID],y.reverse(),k.reverse(),w)}const Hf=new WeakMap;function Lo(t,e){if(!t.isAnonymous||e instanceof on||e.type!=t)return 1;let i=Hf.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof ie)){i=1;break}i+=Lo(t,n)}Hf.set(e,i)}return i}function gc(t,e,i,n,r,s,o,l,a){let u=0;for(let p=n;p=c)break;A+=C}if(k==w+1){if(A>c){let C=p[w];d(C.children,C.positions,0,C.children.length,m[w]+y);continue}h.push(p[w])}else{let C=m[k-1]+p[k-1].length-_;h.push(gc(t,p,m,w,k,_,C,null,a))}f.push(_+y-s)}}return d(e,i,n,r,0),(l||a)(h,f,o)}class Wm{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof di?this.setBuffer(e.context.buffer,e.index,i):e instanceof rt&&this.map.set(e.tree,i)}get(e){return e instanceof di?this.getBuffer(e.context.buffer,e.index):e instanceof rt?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Pi{constructor(e,i,n,r,s=!1,o=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],n=!1){let r=[new Pi(0,e.length,e,0,!1,n)];for(let s of i)s.to>e.length&&r.push(s);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=n)for(;o&&o.from=f.from||h<=f.to||u){let d=Math.max(f.from,a)-u,p=Math.min(f.to,h)-u;f=d>=p?null:new Pi(d,p,f.tree,f.offset+u,l>0,!!c)}if(f&&r.push(f),o.to>h)break;o=snew Et(r.from,r.to)):[new Et(0,0)]:[new Et(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let s=r.advance();if(s)return s}}}class xk{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}}function Fm(t){return(e,i,n,r)=>new vk(e,t,i,n,r)}class Kf{constructor(e,i,n,r,s){this.parser=e,this.parse=i,this.overlay=n,this.target=r,this.from=s}}function Jf(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class kk{constructor(e,i,n,r,s,o,l){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=s,this.target=o,this.prev=l,this.depth=0,this.ranges=[]}}const vu=new G({perNode:!0});class vk{constructor(e,i,n,r,s){this.nest=i,this.input=n,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new ie(n.type,n.children,n.positions,n.length,n.propValues.concat([[vu,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[G.mounted.id]=new as(i,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(i){let u=i.mounts.find(c=>c.frag.from<=r.from&&c.frag.to>=r.to&&c.mount.overlay);if(u)for(let c of u.mount.overlay){let h=c.from+u.pos,f=c.to+u.pos;h>=r.from&&f<=r.to&&!i.ranges.some(d=>d.fromh)&&i.ranges.push({from:h,to:f})}}l=!1}else if(n&&(o=Sk(n.ranges,r.from,r.to)))l=o!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew Et(h.from-r.from,h.to-r.from)):null,r.tree,c.length?c[0].from:r.from)),s.overlay?c.length&&(n={ranges:c,depth:0,prev:n}):l=!1}}else i&&(a=i.predicate(r))&&(a===!0&&(a=new Et(r.from,r.to)),a.fromnew Et(c.from-i.start,c.to-i.start)),i.target,u[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}}function Sk(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function ed(t,e,i,n,r,s){if(e=e&&i.enter(n,1,xe.IgnoreOverlays|xe.ExcludeBuffers)||i.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof ie)i=i.children[0];else break}return!1}}let _k=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(vu))!==null&&i!==void 0?i:n.to,this.inner=new td(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(vu))!==null&&e!==void 0?e:i.to,this.inner=new td(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(n=s.tree)===null||n===void 0?void 0:n.prop(G.mounted);if(o&&o.parser==i)for(let l=this.fragI;l=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:o})}}}return r}};function id(t,e){let i=null,n=e;for(let r=1,s=0;r=l)break;a.to<=o||(i||(n=i=e.slice()),a.froml&&i.splice(s+1,0,new Et(l,a.to))):a.to>l?i[s--]=new Et(l,a.to):i.splice(s--,1))}}return n}function $k(t,e,i,n){let r=0,s=0,o=!1,l=!1,a=-1e9,u=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,h=s==e.length?1e9:l?e[s].to:e[s].from;if(o!=l){let f=Math.max(a,i),d=Math.min(c,h,n);fnew Et(f.from+n,f.to+n)),h=$k(e,c,a,u);for(let f=0,d=a;;f++){let p=f==h.length,m=p?u:h[f].from;if(m>d&&i.push(new Pi(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=h[f].to}}else i.push(new Pi(a,u,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return i}let Pk=0;class Ht{constructor(e,i,n){this.set=e,this.base=i,this.modified=n,this.id=Pk++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new Ht([],null,[]);if(i.set.push(i),e)for(let n of e.set)i.set.push(n);return i}static defineModifier(){let e=new rl;return i=>i.modified.indexOf(e)>-1?i:rl.get(i.base||i,i.modified.concat(e).sort((n,r)=>n.id-r.id))}}let Ck=0;class rl{constructor(){this.instances=[],this.id=Ck++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(l=>l.base==e&&Qk(i,l.modified));if(n)return n;let r=[],s=new Ht(r,e,i);for(let l of i)l.instances.push(s);let o=Ak(i);for(let l of e.set)if(!l.modified.length)for(let a of o)r.push(rl.get(l,a));return s}}function Qk(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function Ak(t){let e=[[]];for(let i=0;in.length-i.length)}function yr(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let s=[],o=2,l=r;for(let h=0;;){if(l=="..."&&h>0&&h+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==r.length)break;let d=r[h++];if(h==r.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+r);l=r.slice(h)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let c=new sl(n,o,a>0?s.slice(0,a):null);e[u]=c.sort(e[u])}}return zm.add(e)}const zm=new G;class sl{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let l of s)for(let a of l.set){let u=i[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:n}}function Tk(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function Ek(t,e,i,n=0,r=t.length){let s=new Zk(n,Array.isArray(e)?e:[e],i);s.highlightRange(t.cursor(),n,r,"",s.highlighters),s.flush(r)}class Zk{constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=i)return;o.isTop&&(s=this.highlighters.filter(d=>!d.scope||d.scope(o)));let u=r,c=Dk(e)||sl.empty,h=Tk(s,c.tags);if(h&&(u&&(u+=" "),u+=h,c.mode==1&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(i,l),u),c.opaque)return;let f=e.tree&&e.tree.prop(G.mounted);if(f&&f.overlay){let d=e.node.enter(f.overlay[0].from+l,1),p=this.highlighters.filter(g=>!g.scope||g.scope(f.tree.type)),m=e.firstChild();for(let g=0,O=l;;g++){let y=g=k||!e.nextSibling())););if(!y||k>n)break;O=y.to+l,O>i&&(this.highlightRange(d.cursor(),Math.max(i,y.from+l),Math.min(n,O),"",p),this.startSpan(Math.min(n,O),u))}m&&e.parent()}else if(e.firstChild()){f&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function Dk(t){let e=t.type.prop(zm);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const V=Ht.define,co=V(),Wi=V(),rd=V(Wi),sd=V(Wi),Fi=V(),ho=V(Fi),oa=V(Fi),li=V(),hn=V(li),si=V(),oi=V(),Su=V(),Tr=V(Su),fo=V(),b={comment:co,lineComment:V(co),blockComment:V(co),docComment:V(co),name:Wi,variableName:V(Wi),typeName:rd,tagName:V(rd),propertyName:sd,attributeName:V(sd),className:V(Wi),labelName:V(Wi),namespace:V(Wi),macroName:V(Wi),literal:Fi,string:ho,docString:V(ho),character:V(ho),attributeValue:V(ho),number:oa,integer:V(oa),float:V(oa),bool:V(Fi),regexp:V(Fi),escape:V(Fi),color:V(Fi),url:V(Fi),keyword:si,self:V(si),null:V(si),atom:V(si),unit:V(si),modifier:V(si),operatorKeyword:V(si),controlKeyword:V(si),definitionKeyword:V(si),moduleKeyword:V(si),operator:oi,derefOperator:V(oi),arithmeticOperator:V(oi),logicOperator:V(oi),bitwiseOperator:V(oi),compareOperator:V(oi),updateOperator:V(oi),definitionOperator:V(oi),typeOperator:V(oi),controlOperator:V(oi),punctuation:Su,separator:V(Su),bracket:Tr,angleBracket:V(Tr),squareBracket:V(Tr),paren:V(Tr),brace:V(Tr),content:li,heading:hn,heading1:V(hn),heading2:V(hn),heading3:V(hn),heading4:V(hn),heading5:V(hn),heading6:V(hn),contentSeparator:V(li),list:V(li),quote:V(li),emphasis:V(li),strong:V(li),link:V(li),monospace:V(li),strikethrough:V(li),inserted:V(),deleted:V(),changed:V(),invalid:V(),meta:fo,documentMeta:V(fo),annotation:V(fo),processingInstruction:V(fo),definition:Ht.defineModifier(),constant:Ht.defineModifier(),function:Ht.defineModifier(),standard:Ht.defineModifier(),local:Ht.defineModifier(),special:Ht.defineModifier()};jm([{tag:b.link,class:"tok-link"},{tag:b.heading,class:"tok-heading"},{tag:b.emphasis,class:"tok-emphasis"},{tag:b.strong,class:"tok-strong"},{tag:b.keyword,class:"tok-keyword"},{tag:b.atom,class:"tok-atom"},{tag:b.bool,class:"tok-bool"},{tag:b.url,class:"tok-url"},{tag:b.labelName,class:"tok-labelName"},{tag:b.inserted,class:"tok-inserted"},{tag:b.deleted,class:"tok-deleted"},{tag:b.literal,class:"tok-literal"},{tag:b.string,class:"tok-string"},{tag:b.number,class:"tok-number"},{tag:[b.regexp,b.escape,b.special(b.string)],class:"tok-string2"},{tag:b.variableName,class:"tok-variableName"},{tag:b.local(b.variableName),class:"tok-variableName tok-local"},{tag:b.definition(b.variableName),class:"tok-variableName tok-definition"},{tag:b.special(b.variableName),class:"tok-variableName2"},{tag:b.definition(b.propertyName),class:"tok-propertyName tok-definition"},{tag:b.typeName,class:"tok-typeName"},{tag:b.namespace,class:"tok-namespace"},{tag:b.className,class:"tok-className"},{tag:b.macroName,class:"tok-macroName"},{tag:b.propertyName,class:"tok-propertyName"},{tag:b.operator,class:"tok-operator"},{tag:b.comment,class:"tok-comment"},{tag:b.meta,class:"tok-meta"},{tag:b.invalid,class:"tok-invalid"},{tag:b.punctuation,class:"tok-punctuation"}]);var la;const Hi=new G;function Ll(t){return N.define({combine:t?e=>e.concat(t):void 0})}const bc=new G;class Ct{constructor(e,i,n=[],r=""){this.data=e,this.name=r,oe.prototype.hasOwnProperty("tree")||Object.defineProperty(oe.prototype,"tree",{get(){return Ze(this)}}),this.parser=i,this.extension=[cr.of(this),oe.languageData.of((s,o,l)=>{let a=od(s,o,l),u=a.type.prop(Hi);if(!u)return[];let c=s.facet(u),h=a.type.prop(bc);if(h){let f=a.resolve(o-a.from,l);for(let d of h)if(d.test(f,s)){let p=s.facet(d.facet);return d.type=="replace"?p:p.concat(c)}}return c})].concat(n)}isActiveAt(e,i,n=-1){return od(e,i,n).type.prop(Hi)==this.data}findRegions(e){let i=e.facet(cr);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(s,o)=>{if(s.prop(Hi)==this.data){n.push({from:o,to:o+s.length});return}let l=s.prop(G.mounted);if(l){if(l.tree.prop(Hi)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+s.length});return}else if(l.overlay){let a=n.length;if(r(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?i:void 0)]}),e.name)}configure(e,i){return new ar(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ze(t){let e=t.field(Ct.state,!1);return e?e.tree:ie.empty}class Rk{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}}let Er=null;class $n{constructor(e,i,n=[],r,s,o,l,a){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new $n(e,i,[],ie.empty,0,n,[],null)}startParse(){return this.parser.startParse(new Rk(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=ie.empty&&this.isDone(i??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(Pi.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Er;Er=this;try{return e()}finally{Er=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=ld(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,h,f)=>a.push({fromA:u,toA:c,fromB:h,toB:f})),n=Pi.applyChanges(n,a),r=ie.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),h=e.mapPos(u.to,-1);ce.from&&(this.fragments=ld(this.fragments,r,s),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends Il{createParse(i,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let a=Er;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new ie(Me.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Er}}function ld(t,e,i){return Pi.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class ur{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new ur(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=$n.create(e.facet(cr).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new ur(n)}}Ct.state=Mt.define({create:ur.init,update(t,e){for(let i of e.effects)if(i.is(Ct.setState))return i.value;return e.startState.facet(cr)!=e.state.facet(cr)?ur.init(e.state):t.apply(e)}});let Bm=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Bm=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const aa=typeof navigator<"u"&&(!((la=navigator.scheduling)===null||la===void 0)&&la.isInputPending)?()=>navigator.scheduling.isInputPending():null,Ik=Lt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(Ct.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(Ct.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=Bm(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>aa&&aa()||Date.now()>o,r+(l?0:1e5));this.chunkBudget-=Date.now()-i,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Ct.setState.of(new ur(s.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>Tt(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),cr=N.define({combine(t){return t.length?t[0]:null},enables:t=>[Ct.state,Ik,j.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class hr{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}}class P{constructor(e,i,n,r,s,o=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(s=>s==i))return r;if(n)for(let r of e)for(let s of r.alias){let o=i.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(i[o-1])&&!/\w/.test(i[o+s.length])))return r}return null}}const qm=N.define(),xr=N.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function Pn(t){let e=t.facet(xr);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function ol(t,e){let i="",n=t.tabSize,r=t.facet(xr)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let s=0;s=e?Lk(t,i,e):null}class Xl{constructor(e,i={}){this.state=e,this.options=i,this.unit=Pn(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(i<0?r-1&&(s+=o-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,i=e.length){return Ci(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ds=new G;function Lk(t,e,i){let n=e.resolveStack(i),r=n.node.enterUnfinishedNodesBefore(i);if(r!=n.node){let s=[];for(let o=r;o!=n.node;o=o.parent)s.push(o);for(let o=s.length-1;o>=0;o--)n={node:s[o],next:n}}return Nm(n,t,i)}function Nm(t,e,i){for(let n=t;n;n=n.next){let r=Mk(n.node);if(r)return r(yc.create(e,i,n))}return 0}function Xk(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function Mk(t){let e=t.type.prop(Ds);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(G.closedBy))){let r=t.lastChild,s=r&&n.indexOf(r.name)>-1;return o=>Um(o,!0,1,void 0,s&&!Xk(o)?r.from:void 0)}return t.parent==null?Vk:null}function Vk(){return 0}class yc extends Xl{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new yc(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Wk(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return Nm(this.context.next,this.base,this.pos)}}function Wk(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function Fk(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(i.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let l=i.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped)return a.fromUm(n,e,i,t)}function Um(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=n&&s.slice(o,o+n.length)==n||r==t.pos+o,a=e?Fk(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*i)}const jk=t=>t.baseIndent;function Xo({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const Bk=N.define(),Rs=new G;function Gm(t){let e=t.firstChild,i=t.lastChild;return e&&e.tol.prop(Hi)==o.data:o?l=>l==o:void 0,this.style=jm(e.map(l=>({tag:l.tag,class:l.class||r(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new nn(n):null,this.themeType=i.themeType}static define(e,i){return new kr(e,i||{})}}const wu=N.define(),qk=N.define({combine(t){return t.length?[t[0]]:null}});function ua(t){let e=t.facet(wu);return e.length?e:t.facet(qk)}function Hm(t,e){let i=[Nk],n;return t instanceof kr&&(t.module&&i.push(j.styleModule.of(t.module)),n=t.themeType),n?i.push(wu.computeN([j.darkTheme],r=>r.facet(j.darkTheme)==(n=="dark")?[t]:[])):i.push(wu.of(t)),i}class Yk{constructor(e){this.markCache=Object.create(null),this.tree=Ze(e.state),this.decorations=this.buildDeco(e,ua(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=Ze(e.state),n=ua(e.state),r=n!=ua(e.startState),{viewport:s}=e.view,o=e.changes.mapPos(this.decoratedTo,1);i.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,i){if(!i||!this.tree.length)return he.none;let n=new rr;for(let{from:r,to:s}of e.visibleRanges)Ek(this.tree,i,(o,l,a)=>{n.add(o,l,this.markCache[a]||(this.markCache[a]=he.mark({class:a})))},r,s);return n.finish()}}const Nk=an.high(Lt.fromClass(Yk,{decorations:t=>t.decorations}));b.meta,b.link,b.heading,b.emphasis,b.strong,b.strikethrough,b.keyword,b.atom,b.bool,b.url,b.contentSeparator,b.labelName,b.literal,b.inserted,b.string,b.deleted,b.regexp,b.escape,b.string,b.variableName,b.variableName,b.typeName,b.namespace,b.className,b.variableName,b.macroName,b.propertyName,b.comment,b.invalid;const Uk=1e4,Gk="()[]{}",Km=new G;function _u(t,e,i){let n=t.prop(e<0?G.openedBy:G.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function $u(t){let e=t.type.prop(Km);return e?e(t.node):t}function Wn(t,e,i,n={}){let r=n.maxScanDistance||Uk,s=n.brackets||Gk,o=Ze(t),l=o.resolveInner(e,i);for(let a=l;a;a=a.parent){let u=_u(a.type,i,s);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return Hk(t,e,i,a,c,u,s)}}return Kk(t,e,i,o,l.type,r,s)}function Hk(t,e,i,n,r,s,o){let l=n.parent,a={from:r.from,to:r.to},u=0,c=l==null?void 0:l.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),h=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;i<0&&(f+=d.length);let p=e+f*i;for(let m=i>0?0:d.length-1,g=i>0?d.length:-1;m!=g;m+=i){let O=o.indexOf(d[m]);if(!(O<0||n.resolveInner(p+m,1).type!=r))if(O%2==0==i>0)h++;else{if(h==1)return{start:u,end:{from:p+m,to:p+m+1},matched:O>>1==a>>1};h--}}i>0&&(f+=d.length)}return c.done?{start:u,matched:!1}:null}function ad(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posi}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function Jk(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||e2,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||vc}}function e2(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}const ud=new WeakMap;class xc extends Ct{constructor(e){let i=Ll(e.languageData),n=Jk(e),r,s=new class extends Il{createParse(o,l,a){return new i2(r,o,l,a)}};super(i,s,[qm.of((o,l)=>this.getIndent(o,l))],e.name),this.topNode=s2(i),r=this,this.streamParser=n,this.stateAfter=new G({perNode:!0}),this.tokenTable=e.tokenTable?new nO(n.tokenTable):r2}static define(e){return new xc(e)}getIndent(e,i){let n=Ze(e.state),r=n.resolve(i);for(;r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;let s,{overrideIndentation:o}=e.options;o&&(s=ud.get(e.state),s!=null&&s1e4)return null;for(;a=n&&i+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:i+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=i+e.positions[o],u=l instanceof ie&&a=e.length)return e;!r&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],l=e.children[s],a;if(oi&&kc(t,r.tree,0-r.offset,i,o),a;if(l&&(a=eO(t,r.tree,i+r.offset,l.pos+r.offset,!1)))return{state:l.state,tree:a}}return{state:t.streamParser.startState(n?Pn(n):4),tree:ie.empty}}let i2=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=$n.get(),o=r[0].from,{state:l,tree:a}=t2(e,n,o,s==null?void 0:s.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let u=0;u=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==` +`;this.styleTag.textContent=o;let l=i.head||i;this.styleTag.parentNode!=l&&l.insertBefore(this.styleTag,l.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}var rn={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},ss={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},_y=typeof navigator<"u"&&/Mac/.test(navigator.platform),$y=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ue=0;Ue<10;Ue++)rn[48+Ue]=rn[96+Ue]=String(Ue);for(var Ue=1;Ue<=24;Ue++)rn[Ue+111]="F"+Ue;for(var Ue=65;Ue<=90;Ue++)rn[Ue]=String.fromCharCode(Ue+32),ss[Ue]=String.fromCharCode(Ue);for(var Kl in rn)ss.hasOwnProperty(Kl)||(ss[Kl]=rn[Kl]);function Py(t){var e=_y&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||$y&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?ss:rn)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function Ko(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function su(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function Cy(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Do(t,e){if(!e.anchorNode)return!1;try{return su(t,e.anchorNode)}catch{return!1}}function sr(t){return t.nodeType==3?Sn(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Gr(t,e,i,n){return i?hf(t,e,i,n,-1)||hf(t,e,i,n,1):!1}function os(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function hf(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:Qi(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=os(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?Qi(t):0}else return!1}}function Qi(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Zl(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function Qy(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function X0(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:i,scaleY:n}}function Ay(t,e,i,n,r,s,o,l){let a=t.ownerDocument,u=a.defaultView||window;for(let c=t,h=!1;c&&!h;)if(c.nodeType==1){let f,d=c==a.body,p=1,m=1;if(d)f=Qy(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(h=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let y=c.getBoundingClientRect();({scaleX:p,scaleY:m}=X0(c,y)),f={left:y.left,right:y.left+c.clientWidth*p,top:y.top,bottom:y.top+c.clientHeight*m}}let g=0,O=0;if(r=="nearest")e.top0&&e.bottom>f.bottom+O&&(O=e.bottom-f.bottom+O+o)):e.bottom>f.bottom&&(O=e.bottom-f.bottom+o,i<0&&e.top-O0&&e.right>f.right+g&&(g=e.right-f.right+g+s)):e.right>f.right&&(g=e.right-f.right+s,i<0&&e.lefti.clientHeight||i.scrollWidth>i.clientWidth)return i;i=i.assignedSlot||i.parentNode}else if(i.nodeType==11)i=i.host;else break;return null}class Ey{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:n}=e;this.set(i,Math.min(e.anchorOffset,i?Qi(i):0),n,Math.min(e.focusOffset,n?Qi(n):0))}set(e,i,n,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=n,this.focusOffset=r}}let Zn=null;function M0(t){if(t.setActive)return t.setActive();if(Zn)return t.focus(Zn);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(Zn==null?{get preventScroll(){return Zn={preventScroll:!0},!0}}:void 0),!Zn){Zn=!1;for(let i=0;iMath.max(1,t.scrollHeight-t.clientHeight-4)}class nt{constructor(e,i,n=!0){this.node=e,this.offset=i,this.precise=n}static before(e,i){return new nt(e.parentNode,os(e),i)}static after(e,i){return new nt(e.parentNode,os(e)+1,i)}}const uc=[];class Pe{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let i=this.posAtStart;for(let n of this.children){if(n==e)return i;i+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let n=this.dom,r=null,s;for(let o of this.children){if(o.flags&7){if(!o.dom&&(s=r?r.nextSibling:n.firstChild)){let l=Pe.get(s);(!l||!l.parent&&l.canReuseDOM(o))&&o.reuseDOM(s)}o.sync(e,i),o.flags&=-8}if(s=r?r.nextSibling:n.firstChild,i&&!i.written&&i.node==n&&s!=o.dom&&(i.written=!0),o.dom.parentNode==n)for(;s&&s!=o.dom;)s=df(s);else n.insertBefore(o.dom,s);r=o.dom}for(s=r?r.nextSibling:n.firstChild,s&&i&&i.node==n&&(i.written=!0);s;)s=df(s)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,i),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let n;if(e==this.dom)n=this.dom.childNodes[i];else{let r=Qi(e)==0?0:i==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Pe.get(n);)n=n.nextSibling;if(!n)return this.length;for(let r=0,s=0;;r++){let o=this.children[r];if(o.dom==n)return s;s+=o.length+o.breakAfter}}domBoundsAround(e,i,n=0){let r=-1,s=-1,o=-1,l=-1;for(let a=0,u=n,c=n;ai)return h.domBoundsAround(e,i,u);if(f>=e&&r==-1&&(r=a,s=u),u>i&&h.dom.parentNode==this.dom){o=a,l=c;break}c=f,u=f+h.breakAfter}return{from:s,to:l<0?n+this.length:l,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,n=uc){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function z0(t,e,i,n,r,s,o,l,a){let{children:u}=t,c=u.length?u[e]:null,h=s.length?s[s.length-1]:null,f=h?h.breakAfter:o;if(!(e==n&&c&&!o&&!f&&s.length<2&&c.merge(i,r,s.length?h:null,i==0,l,a))){if(n0&&(!o&&s.length&&c.merge(i,c.length,s[0],!1,l,0)?c.breakAfter=s.shift().breakAfter:(i2);var F={mac:Of||/Mac/.test(Pt.platform),windows:/Win/.test(Pt.platform),linux:/Linux|X11/.test(Pt.platform),ie:Dl,ie_version:B0?ou.documentMode||6:au?+au[1]:lu?+lu[1]:0,gecko:pf,gecko_version:pf?+(/Firefox\/(\d+)/.exec(Pt.userAgent)||[0,0])[1]:0,chrome:!!Jl,chrome_version:Jl?+Jl[1]:0,ios:Of,android:/Android\b/.test(Pt.userAgent),webkit:mf,safari:q0,webkit_version:mf?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:ou.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Ry=256;class Ai extends Pe{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,n){return this.flags&8||n&&(!(n instanceof Ai)||this.length-(i-e)+n.length>Ry||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new Ai(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new nt(this.dom,e)}domBoundsAround(e,i,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return Iy(this.dom,e,i)}}class Ti extends Pe{constructor(e,i=[],n=0){super(),this.mark=e,this.children=i,this.length=n;for(let r of i)r.setParent(this)}setAttrs(e){if(V0(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,n,r,s,o){return n&&(!(n instanceof Ti&&n.mark.eq(this.mark))||e&&s<=0||ie&&i.push(n=e&&(r=s),n=a,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Ti(this.mark,i,o)}domAtPos(e){return Y0(this,e)}coordsAt(e,i){return U0(this,e,i)}}function Iy(t,e,i){let n=t.nodeValue.length;e>n&&(e=n);let r=e,s=e,o=0;e==0&&i<0||e==n&&i>=0?F.chrome||F.gecko||(e?(r--,o=1):s=0)?0:l.length-1];return F.safari&&!o&&a.width==0&&(a=Array.prototype.find.call(l,u=>u.width)||a),o?Zl(a,o<0):a||null}class gn extends Pe{static create(e,i,n){return new gn(e,i,n)}constructor(e,i,n){super(),this.widget=e,this.length=i,this.side=n,this.prevWidget=null}split(e){let i=gn.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,i,n,r,s,o){return n&&(!(n instanceof gn)||!this.widget.compare(n.widget)||e>0&&s<=0||i0)?nt.before(this.dom):nt.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let n=this.widget.coordsAt(this.dom,e,i);if(n)return n;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let l=o?r.length-1:0;s=r[l],!(e>0?l==0:l==r.length-1||s.top0?nt.before(this.dom):nt.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return ue.empty}get isHidden(){return!0}}Ai.prototype.children=gn.prototype.children=or.prototype.children=uc;function Y0(t,e){let i=t.dom,{children:n}=t,r=0;for(let s=0;rs&&e0;s--){let o=n[s-1];if(o.dom.parentNode==i)return o.domAtPos(o.length)}for(let s=r;s0&&e instanceof Ti&&r.length&&(n=r[r.length-1])instanceof Ti&&n.mark.eq(e.mark)?N0(n,e.children[0],i-1):(r.push(e),e.setParent(t)),t.length+=e.length}function U0(t,e,i){let n=null,r=-1,s=null,o=-1;function l(u,c){for(let h=0,f=0;h=c&&(d.children.length?l(d,c-f):(!s||s.isHidden&&i>0)&&(p>c||f==p&&d.getSide()>0)?(s=d,o=c-f):(f-1?1:0)!=r.length-(i&&r.indexOf(i)>-1?1:0))return!1;for(let s of n)if(s!=i&&(r.indexOf(s)==-1||t[s]!==e[s]))return!1;return!0}function cu(t,e,i){let n=!1;if(e)for(let r in e)i&&r in i||(n=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(n=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return n}function Xy(t){let e=Object.create(null);for(let i=0;i0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,i}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){cc(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){N0(this,e,i)}addLineDeco(e){let i=e.spec.attributes,n=e.spec.class;i&&(this.attrs=uu(i,this.attrs||{})),n&&(this.attrs=uu({class:n},this.attrs||{}))}domAtPos(e){return Y0(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var n;this.dom?this.flags&4&&(V0(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(cu(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let r=this.dom.lastChild;for(;r&&Pe.get(r)instanceof Ti;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((n=Pe.get(r))===null||n===void 0?void 0:n.isEditable)==!1&&(!F.ios||!this.children.some(s=>s instanceof Ai))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,i;for(let n of this.children){if(!(n instanceof Ai)||/[^ -~]/.test(n.text))return null;let r=sr(n.dom);if(r.length!=1)return null;e+=r[0].width,i=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let n=U0(this,e,i);if(!this.children.length&&n&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=i){if(s instanceof We)return s;if(o>i)break}r=o+s.breakAfter}return null}}class Ji extends Pe{constructor(e,i,n){super(),this.widget=e,this.length=i,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,i,n,r,s,o){return n&&(!(n instanceof Ji)||!this.widget.compare(n.widget)||e>0&&s<=0||i0}}class As{eq(e){return!1}updateDOM(e,i){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,i,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var $i=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}($i||($i={}));class he extends vn{constructor(e,i,n,r){super(),this.startSide=e,this.endSide=i,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new Ts(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return i+=n&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new sn(e,i,i,n,e.widget||null,!1)}static replace(e){let i=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:s,end:o}=G0(e,i);n=(s?i?-3e8:-1:5e8)-1,r=(o?i?2e8:1:-6e8)+1}return new sn(e,n,r,i,e.widget||null,!0)}static line(e){return new Es(e)}static set(e,i=!1){return $e.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}he.none=$e.empty;class Ts extends he{constructor(e){let{start:i,end:n}=G0(e);super(i?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,n;return this==e||e instanceof Ts&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&cc(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}}Ts.prototype.point=!1;class Es extends he{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Es&&this.spec.class==e.spec.class&&cc(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}}Es.prototype.mapMode=ut.TrackBefore;Es.prototype.point=!0;class sn extends he{constructor(e,i,n,r,s,o){super(i,n,s,e),this.block=r,this.isReplace=o,this.mapMode=r?i<=0?ut.TrackBefore:ut.TrackAfter:ut.TrackDel}get type(){return this.startSide!=this.endSide?$i.WidgetRange:this.startSide<=0?$i.WidgetBefore:$i.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof sn&&My(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}}sn.prototype.point=!0;function G0(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return i==null&&(i=t.inclusive),n==null&&(n=t.inclusive),{start:i??e,end:n??e}}function My(t,e){return t==e||!!(t&&e&&t.compare(e))}function hu(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[r],e):i.push(t,e)}class Hr{constructor(e,i,n,r){this.doc=e,this.pos=i,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=i}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Ji&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new We),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Js(new or(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof Ji)&&this.getLine()}buildText(e,i,n){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-n)),this.getLine().append(Js(new Ai(this.text.slice(this.textOff,this.textOff+r)),i),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,i,n,r){this.buildText(i-e,n,r),this.pos=i,this.openStart<0&&(this.openStart=r)}point(e,i,n,r,s,o){if(this.disallowBlockEffectsFor[o]&&n instanceof sn){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=i-e;if(n instanceof sn)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Ji(n.widget||wn.block,l,n));else{let a=gn.create(n.widget||wn.inline,l,l?0:n.startSide),u=this.atCursorPos&&!a.isEditable&&s<=r.length&&(e0),c=!a.isEditable&&(er.length||n.startSide<=0),h=this.getLine();this.pendingBuffer==2&&!u&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),u&&(h.append(Js(new or(1),r),s),s=r.length+Math.max(0,s-r.length)),h.append(Js(a,r),s),this.atCursorPos=c,this.pendingBuffer=c?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=i),this.openStart<0&&(this.openStart=s)}static build(e,i,n,r,s){let o=new Hr(e,i,n,s);return o.openEnd=$e.spans(r,i,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Js(t,e){for(let i of e)t=new Ti(i,[t],t.length);return t}class wn extends As{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}wn.inline=new wn("span");wn.block=new wn("div");var Xe=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Xe||(Xe={}));const _n=Xe.LTR,hc=Xe.RTL;function H0(t){let e=[];for(let i=0;i=i){if(l.level==n)return o;(s<0||(r!=0?r<0?l.fromi:e[s].level>l.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}function J0(t,e){if(t.length!=e.length)return!1;for(let i=0;i=0;m-=3)if(ri[m+1]==-d){let g=ri[m+2],O=g&2?r:g&4?g&1?s:r:0;O&&(be[h]=be[ri[m]]=O),l=m;break}}else{if(ri.length==189)break;ri[l++]=h,ri[l++]=f,ri[l++]=a}else if((p=be[h])==2||p==1){let m=p==r;a=m?0:1;for(let g=l-3;g>=0;g-=3){let O=ri[g+2];if(O&2)break;if(m)ri[g+2]|=2;else{if(O&4)break;ri[g+2]|=4}}}}}function By(t,e,i,n){for(let r=0,s=n;r<=i.length;r++){let o=r?i[r-1].to:t,l=ra;)p==g&&(p=i[--m].from,g=m?i[m-1].to:t),be[--p]=d;a=c}else s=u,a++}}}function du(t,e,i,n,r,s,o){let l=n%2?2:1;if(n%2==r%2)for(let a=e,u=0;aa&&o.push(new Gi(a,m.from,d));let g=m.direction==_n!=!(d%2);pu(t,g?n+1:n,r,m.inner,m.from,m.to,o),a=m.to}p=m.to}else{if(p==i||(c?be[p]!=l:be[p]==l))break;p++}f?du(t,a,p,n+1,r,f,o):ae;){let c=!0,h=!1;if(!u||a>s[u-1].to){let m=be[a-1];m!=l&&(c=!1,h=m==16)}let f=!c&&l==1?[]:null,d=c?n:n+1,p=a;e:for(;;)if(u&&p==s[u-1].to){if(h)break e;let m=s[--u];if(!c)for(let g=m.from,O=u;;){if(g==e)break e;if(O&&s[O-1].to==g)g=s[--O].from;else{if(be[g-1]==l)break e;break}}if(f)f.push(m);else{m.tobe.length;)be[be.length]=256;let n=[],r=e==_n?0:1;return pu(t,r,r,i,0,t.length,n),n}function em(t){return[new Gi(0,t,0)]}let tm="";function Yy(t,e,i,n,r){var s;let o=n.head-t.from,l=Gi.find(e,o,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),a=e[l],u=a.side(r,i);if(o==u){let f=l+=r?1:-1;if(f<0||f>=e.length)return null;a=e[l=f],o=a.side(!r,i),u=a.side(r,i)}let c=He(t.text,o,a.forward(r,i));(ca.to)&&(c=u),tm=t.text.slice(Math.min(o,c),Math.max(o,c));let h=l==(r?e.length-1:0)?null:e[l+(r?1:-1)];return h&&c==u&&h.level+(r?0:1)t.some(e=>e)}),Uy=N.define({combine:t=>t.some(e=>e)});class Yn{constructor(e,i="nearest",n="nearest",r=5,s=5,o=!1){this.range=e,this.y=i,this.x=n,this.yMargin=r,this.xMargin=s,this.isSnapshot=o}map(e){return e.empty?this:new Yn(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Yn(T.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const eo=ce.define({map:(t,e)=>t.map(e)});function Tt(t,e,i){let n=t.facet(sm);n.length?n[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}const Rl=N.define({combine:t=>t.length?t[0]:!0});let Gy=0;const Vr=N.define();class Lt{constructor(e,i,n,r,s){this.id=e,this.create=i,this.domEventHandlers=n,this.domEventObservers=r,this.extension=s(this)}static define(e,i){const{eventHandlers:n,eventObservers:r,provide:s,decorations:o}=i||{};return new Lt(Gy++,e,n,r,l=>{let a=[Vr.of(l)];return o&&a.push(ls.of(u=>{let c=u.plugin(l);return c?o(c):he.none})),s&&a.push(s(l)),a})}static fromClass(e,i){return Lt.define(n=>new e(n),i)}}class ea{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(n){if(Tt(i.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){Tt(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(n){Tt(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const um=N.define(),fc=N.define(),ls=N.define(),cm=N.define(),dc=N.define(),hm=N.define();function bf(t,e){let i=t.state.facet(hm);if(!i.length)return i;let n=i.map(s=>s instanceof Function?s(t):s),r=[];return $e.spans(n,e.from,e.to,{point(){},span(s,o,l,a){let u=s-e.from,c=o-e.from,h=r;for(let f=l.length-1;f>=0;f--,a--){let d=l[f].spec.bidiIsolate,p;if(d==null&&(d=Ny(e.text,u,c)),a>0&&h.length&&(p=h[h.length-1]).to==u&&p.direction==d)p.to=c,h=p.inner;else{let m={from:u,to:c,direction:d,inner:[]};h.push(m),h=m.inner}}}}),r}const fm=N.define();function dm(t){let e=0,i=0,n=0,r=0;for(let s of t.state.facet(fm)){let o=s(t);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(i=Math.max(i,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:i,top:n,bottom:r}}const Wr=N.define();class Rt{constructor(e,i,n,r){this.fromA=e,this.toA=i,this.fromB=n,this.toB=r}join(e){return new Rt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,n=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>n.toA)){if(r.toAc)break;s+=2}if(!a)return n;new Rt(a.fromA,a.toA,a.fromB,a.toB).addToSet(n),o=a.toA,l=a.toB}}}class Jo{constructor(e,i,n){this.view=e,this.state=i,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Fe.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,o,l,a)=>r.push(new Rt(s,o,l,a))),this.changedRanges=r}static create(e,i,n){return new Jo(e,i,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class yf extends Pe{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.compositionBarrier=he.none,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new We],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Rt(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:u,toA:c})=>cthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let r=-1;this.view.inputState.composing>=0&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!rx(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?Jy(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:u,to:c}=this.hasComposition;n=new Rt(u,c,e.changes.mapPos(u,-1),e.changes.mapPos(c,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(F.ie||F.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,l=this.updateDeco(),a=ix(o,l,e.changes);return n=Rt.extendWithRanges(n,a),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let o=F.chrome||F.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,o),this.flags&=-8,o&&(o.written||r.selectionRange.focusNode!=o.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(o=>o.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?r[o]:null;if(!l)break;let{fromA:a,toA:u,fromB:c,toB:h}=l,f,d,p,m;if(n&&n.range.fromBc){let w=Hr.build(this.view.state.doc,c,n.range.fromB,this.decorations,this.dynamicDecorationMap),_=Hr.build(this.view.state.doc,n.range.toB,h,this.decorations,this.dynamicDecorationMap);d=w.breakAtStart,p=w.openStart,m=_.openEnd;let A=this.compositionView(n);_.breakAtStart?A.breakAfter=1:_.content.length&&A.merge(A.length,A.length,_.content[0],!1,_.openStart,0)&&(A.breakAfter=_.content[0].breakAfter,_.content.shift()),w.content.length&&A.merge(0,0,w.content[w.content.length-1],!0,0,w.openEnd)&&w.content.pop(),f=w.content.concat(A).concat(_.content)}else({content:f,breakAtStart:d,openStart:p,openEnd:m}=Hr.build(this.view.state.doc,c,h,this.decorations,this.dynamicDecorationMap));let{i:g,off:O}=s.findPos(u,1),{i:y,off:k}=s.findPos(a,-1);z0(this,y,k,g,O,f,d,p,m)}n&&this.fixCompositionDOM(n)}compositionView(e){let i=new Ai(e.text.nodeValue);i.flags|=8;for(let{deco:r}of e.marks)i=new Ti(r,[i],i.length);let n=new We;return n.append(i,0),n}fixCompositionDOM(e){let i=(s,o)=>{o.flags|=8|(o.children.some(a=>a.flags&7)?1:0),this.markedForComposition.add(o);let l=Pe.get(s);l&&l!=o&&(l.dom=null),o.setDOM(s)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];i(e.line,r);for(let s=e.marks.length-1;s>=-1;s--)n=r.childPos(n.off,1),r=r.children[n.i],i(s>=0?e.marks[s].node:e.text,r)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,s=!r&&Do(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||i||s))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,a=this.moveToLine(this.domAtPos(l.anchor)),u=l.empty?a:this.moveToLine(this.domAtPos(l.head));if(F.gecko&&l.empty&&!this.hasComposition&&Ky(a)){let h=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(h,a.node.childNodes[a.offset]||null)),a=u=new nt(h,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!Gr(a.node,a.offset,c.anchorNode,c.anchorOffset)||!Gr(u.node,u.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,l))&&(this.view.observer.ignore(()=>{F.android&&F.chrome&&this.dom.contains(c.focusNode)&&nx(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let h=Ko(this.view.root);if(h)if(l.empty){if(F.gecko){let f=ex(a.node,a.offset);if(f&&f!=3){let d=mm(a.node,a.offset,f==1?1:-1);d&&(a=new nt(d.node,d.offset))}}h.collapse(a.node,a.offset),l.bidiLevel!=null&&h.caretBidiLevel!==void 0&&(h.caretBidiLevel=l.bidiLevel)}else if(h.extend){h.collapse(a.node,a.offset);try{h.extend(u.node,u.offset)}catch{}}else{let f=document.createRange();l.anchor>l.head&&([a,u]=[u,a]),f.setEnd(u.node,u.offset),f.setStart(a.node,a.offset),h.removeAllRanges(),h.addRange(f)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(a,u)),this.impreciseAnchor=a.precise?null:new nt(c.anchorNode,c.anchorOffset),this.impreciseHead=u.precise?null:new nt(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&!this.compositionBarrier.size&&Gr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,n=Ko(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!n||!i.empty||!i.assoc||!n.modify)return;let o=We.find(this,i.head);if(!o)return;let l=o.posAtStart;if(i.head==l||i.head==l+o.length)return;let a=this.coordsAt(i.head,-1),u=this.coordsAt(i.head,1);if(!a||!u||a.bottom>u.top)return;let c=this.domAtPos(i.head+i.assoc);n.collapse(c.node,c.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=i.from&&n.collapse(r,s)}moveToLine(e){let i=this.dom,n;if(e.node!=i)return e;for(let r=e.offset;!n&&r=0;r--){let s=Pe.get(i.childNodes[r]);s instanceof We&&(n=s.domAtPos(s.length))}return n?new nt(n.node,n.offset,!0):e}nearest(e){for(let i=e;i;){let n=Pe.get(i);if(n&&n.rootView==this)return n;i=i.parentNode}return null}posFromDOM(e,i){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,i)+n.posAtStart}domAtPos(e){let{i,off:n}=this.childCursor().findPos(e,-1);for(;i=0;o--){let l=this.children[o],a=s-l.breakAfter,u=a-l.length;if(ae||l.covers(1))&&(!n||l instanceof We&&!(n instanceof We&&i>=0))&&(n=l,r=u),s=u}return n?n.coordsAt(e-r,i):null}coordsForChar(e){let{i,off:n}=this.childPos(e,1),r=this.children[i];if(!(r instanceof We))return null;for(;r.children.length;){let{i:l,off:a}=r.childPos(n,1);for(;;l++){if(l==r.children.length)return null;if((r=r.children[l]).length)break}n=a}if(!(r instanceof Ai))return null;let s=He(r.text,n);if(s==n)return null;let o=Sn(r.dom,n,s).getClientRects();for(let l=0;lMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==Xe.LTR;for(let u=0,c=0;cr)break;if(u>=n){let d=h.dom.getBoundingClientRect();if(i.push(d.height),o){let p=h.dom.lastChild,m=p?sr(p):[];if(m.length){let g=m[m.length-1],O=a?g.right-d.left:d.right-g.left;O>l&&(l=O,this.minWidth=s,this.minWidthFrom=u,this.minWidthTo=f)}}}u=f+h.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?Xe.RTL:Xe.LTR}measureTextSize(){for(let s of this.children)if(s instanceof We){let o=s.measureTextSize();if(o)return o}let e=document.createElement("div"),i,n,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=sr(e.firstChild)[0];i=e.getBoundingClientRect().height,n=s?s.width/27:7,r=s?s.height:i,e.remove()}),{lineHeight:i,charWidth:n,textHeight:r}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new F0(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let n=0,r=0;;r++){let s=r==i.viewports.length?null:i.viewports[r],o=s?s.from-1:this.length;if(o>n){let l=(i.lineBlockAt(o).bottom-i.lineBlockAt(n).top)/this.view.scaleY;e.push(he.replace({widget:new xf(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!s)break;n=s.to+1}return he.set(e)}updateDeco(){let e=1,i=this.view.state.facet(ls).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,r=this.view.state.facet(cm).map((s,o)=>{let l=typeof s=="function";return l&&(n=!0),l?s(this.view):s});for(r.length&&(this.dynamicDecorationMap[e++]=n,i.push($e.join(r))),this.decorations=[this.compositionBarrier,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e{l.point?n=!1:l.endSide<0&&si.anchor?-1:1),r;if(!n)return;!i.empty&&(r=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let s=dm(this.view),o={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:l,offsetHeight:a}=this.view.scrollDOM;Ay(this.view.scrollDOM,o,i.head0)n=n.childNodes[r-1],r=Qi(n);else break}if(i>=0)for(let n=t,r=e;;){if(n.nodeType==3)return{node:n,offset:r};if(n.nodeType==1&&r=0)n=n.childNodes[r],r=0;else break}return null}function ex(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(i=!0)}),i}function sx(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),s=e-r.from;if(r.length==0)return T.cursor(e);s==0?i=1:s==r.length&&(i=-1);let o=s,l=s;i<0?o=He(r.text,s,!1):l=He(r.text,s);let a=n(r.text.slice(o,l));for(;o>0;){let u=He(r.text,o,!1);if(n(r.text.slice(u,o))!=a)break;o=u}for(;lt?e.left-t:Math.max(0,t-e.right)}function lx(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function ta(t,e){return t.tope.top+1}function kf(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function Ou(t,e,i){let n,r,s,o,l=!1,a,u,c,h;for(let p=t.firstChild;p;p=p.nextSibling){let m=sr(p);for(let g=0;gk||o==k&&s>y){n=p,r=O,s=y,o=k;let w=k?i0?g0)}y==0?i>O.bottom&&(!c||c.bottomO.top)&&(u=p,h=O):c&&ta(c,O)?c=vf(c,O.bottom):h&&ta(h,O)&&(h=kf(h,O.top))}}if(c&&c.bottom>=i?(n=a,r=c):h&&h.top<=i&&(n=u,r=h),!n)return{node:t,offset:0};let f=Math.max(r.left,Math.min(r.right,e));if(n.nodeType==3)return Sf(n,f,i);if(l&&n.contentEditable!="false")return Ou(n,f,i);let d=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:d}}function Sf(t,e,i){let n=t.nodeValue.length,r=-1,s=1e9,o=0;for(let l=0;li?c.top-i:i-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&h=(c.left+c.right)/2,d=f;if((F.chrome||F.gecko)&&Sn(t,l).getBoundingClientRect().left==c.right&&(d=!f),h<=0)return{node:t,offset:l+(d?1:0)};r=l+(d?1:0),s=h}}}return{node:t,offset:r>-1?r:o>0?t.nodeValue.length:0}}function Om(t,e,i,n=-1){var r,s;let o=t.contentDOM.getBoundingClientRect(),l=o.top+t.viewState.paddingTop,a,{docHeight:u}=t.viewState,{x:c,y:h}=e,f=h-l;if(f<0)return 0;if(f>u)return t.state.doc.length;for(let w=t.viewState.heightOracle.textHeight/2,_=!1;a=t.elementAtHeight(f),a.type!=$i.Text;)for(;f=n>0?a.bottom+w:a.top-w,!(f>=0&&f<=u);){if(_)return i?null:0;_=!0,n=-n}h=l+f;let d=a.from;if(dt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:wf(t,o,a,c,h);let p=t.dom.ownerDocument,m=t.root.elementFromPoint?t.root:p,g=m.elementFromPoint(c,h);g&&!t.contentDOM.contains(g)&&(g=null),g||(c=Math.max(o.left+1,Math.min(o.right-1,c)),g=m.elementFromPoint(c,h),g&&!t.contentDOM.contains(g)&&(g=null));let O,y=-1;if(g&&((r=t.docView.nearest(g))===null||r===void 0?void 0:r.isEditable)!=!1){if(p.caretPositionFromPoint){let w=p.caretPositionFromPoint(c,h);w&&({offsetNode:O,offset:y}=w)}else if(p.caretRangeFromPoint){let w=p.caretRangeFromPoint(c,h);w&&({startContainer:O,startOffset:y}=w,(!t.contentDOM.contains(O)||F.safari&&ax(O,y,c)||F.chrome&&ux(O,y,c))&&(O=void 0))}}if(!O||!t.docView.dom.contains(O)){let w=We.find(t.docView,d);if(!w)return f>a.top+a.height/2?a.to:a.from;({node:O,offset:y}=Ou(w.dom,c,h))}let k=t.docView.nearest(O);if(!k)return null;if(k.isWidget&&((s=k.dom)===null||s===void 0?void 0:s.nodeType)==1){let w=k.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let l=t.viewState.heightOracle.textHeight,a=Math.floor((r-i.top-(t.defaultLineHeight-l)*.5)/l);s+=a*t.viewState.heightOracle.lineLength}let o=t.state.sliceDoc(i.from,i.to);return i.from+Sy(o,s,t.state.tabSize)}function ax(t,e,i){let n;if(t.nodeType!=3||e!=(n=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return Sn(t,n-1,n).getBoundingClientRect().left>i}function ux(t,e,i){if(e!=0)return!1;for(let r=t;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let n=t.nodeType==1?t.getBoundingClientRect():Sn(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-n.left>5}function cx(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let n of i.type)if(n.to>e||n.to==e&&(n.to==i.to||n.type==$i.Text))return n}return i}function hx(t,e,i,n){let r=cx(t,e.head),s=!n||r.type!=$i.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=t.dom.getBoundingClientRect(),l=t.textDirectionAt(r.from),a=t.posAtCoords({x:i==(l==Xe.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(a!=null)return T.cursor(a,i?-1:1)}return T.cursor(i?r.to:r.from,i?-1:1)}function _f(t,e,i,n){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let l=e,a=null;;){let u=Yy(r,s,o,l,i),c=tm;if(!u){if(r.number==(i?t.state.doc.lines:1))return l;c=` +`,r=t.state.doc.line(r.number+(i?1:-1)),s=t.bidiSpans(r),u=t.visualLineSide(r,!i)}if(a){if(!a(c))return l}else{if(!n)return u;a=n(c)}l=u}}function fx(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return s=>{let o=n(s);return r==Ke.Space&&(r=o),r==o}}function dx(t,e,i,n){let r=e.head,s=i?1:-1;if(r==(i?t.state.doc.length:0))return T.cursor(r,e.assoc);let o=e.goalColumn,l,a=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(r,e.assoc||-1),c=t.documentTop;if(u)o==null&&(o=u.left-a.left),l=s<0?u.top:u.bottom;else{let d=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(a.right-a.left,t.defaultCharacterWidth*(r-d.from))),l=(s<0?d.top:d.bottom)+c}let h=a.left+o,f=n??t.viewState.heightOracle.textHeight>>1;for(let d=0;;d+=10){let p=l+(f+d)*s,m=Om(t,{x:h,y:p},!1,s);if(pa.bottom||(s<0?mr)){let g=t.docView.coordsForChar(m),O=!g||p{if(e>s&&er(t)),i.from,e.head>i.from?-1:1);return n==i.from?i:T.cursor(n,nnull),F.gecko&&Ax(e.contentDOM.ownerDocument)}handleEvent(e){!vx(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,i){let n=this.handlers[e];if(n){for(let r of n.observers)r(this.view,i);for(let r of n.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=mx(e),n=this.handlers,r=this.view.contentDOM;for(let s in i)if(s!="scroll"){let o=!i[s].handlers.length,l=n[s];l&&o!=!l.handlers.length&&(r.removeEventListener(s,this.handleEvent),l=null),l||r.addEventListener(s,this.handleEvent,{passive:o})}for(let s in n)s!="scroll"&&!i[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()n.keyCode==e.keyCode))&&!e.ctrlKey||Ox.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,qn(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:F.safari&&!F.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function $f(t,e){return(i,n)=>{try{return e.call(t,n,i)}catch(r){Tt(i.state,r)}}}function mx(t){let e=Object.create(null);function i(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let r=n.spec;if(r&&r.domEventHandlers)for(let s in r.domEventHandlers){let o=r.domEventHandlers[s];o&&i(s).handlers.push($f(n.value,o))}if(r&&r.domEventObservers)for(let s in r.domEventObservers){let o=r.domEventObservers[s];o&&i(s).observers.push($f(n.value,o))}}for(let n in Jt)i(n).handlers.push(Jt[n]);for(let n in ei)i(n).observers.push(ei[n]);return e}const gm=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Ox="dthko",bm=[16,17,18,20,91,92,224,225],to=6;function io(t){return Math.max(0,t)*.7+8}function gx(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class bx{constructor(e,i,n,r){this.view=e,this.startEvent=i,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParent=Ty(e.contentDOM),this.atoms=e.state.facet(dc).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(oe.allowMultipleSelections)&&yx(e,i),this.dragging=kx(e,i)&&vm(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var i;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&gx(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,s=((i=this.scrollParent)===null||i===void 0?void 0:i.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=dm(this.view);e.clientX-o.left<=s.left+to?n=-io(s.left-e.clientX):e.clientX+o.right>=s.right-to&&(n=io(e.clientX-s.right)),e.clientY-o.top<=s.top+to?r=-io(s.top-e.clientY):e.clientY+o.bottom>=s.bottom-to&&(r=io(e.clientY-s.bottom)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let n=0;nthis.select(this.lastEvent),20)}}function yx(t,e){let i=t.state.facet(im);return i.length?i[0](e):F.mac?e.metaKey:e.ctrlKey}function xx(t,e){let i=t.state.facet(nm);return i.length?i[0](e):F.mac?!e.altKey:!e.ctrlKey}function kx(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=Ko(t.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function vx(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,n;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(n=Pe.get(i))&&n.ignoreEvent(e))return!1;return!0}const Jt=Object.create(null),ei=Object.create(null),ym=F.ie&&F.ie_version<15||F.ios&&F.webkit_version<604;function Sx(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),xm(t,i.value)},50)}function xm(t,e){let{state:i}=t,n,r=1,s=i.toText(e),o=s.lines==i.selection.ranges.length;if(gu!=null&&i.selection.ranges.every(a=>a.empty)&&gu==s.toString()){let a=-1;n=i.changeByRange(u=>{let c=i.doc.lineAt(u.from);if(c.from==a)return{range:u};a=c.from;let h=i.toText((o?s.line(r++).text:e)+i.lineBreak);return{changes:{from:c.from,insert:h},range:T.cursor(u.from+h.length)}})}else o?n=i.changeByRange(a=>{let u=s.line(r++);return{changes:{from:a.from,to:a.to,insert:u.text},range:T.cursor(a.from+u.length)}}):n=i.replaceSelection(s);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}ei.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Jt.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&(t.inputState.lastEscPress=Date.now()),!1);ei.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};ei.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Jt.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let n of t.state.facet(rm))if(i=n(t,e),i)break;if(!i&&e.button==0&&(i=$x(t,e)),i){let n=!t.hasFocus;t.inputState.startMouseSelection(new bx(t,e,i,n)),n&&t.observer.ignore(()=>M0(t.contentDOM));let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function Pf(t,e,i,n){if(n==1)return T.cursor(e,i);if(n==2)return sx(t.state,e,i);{let r=We.find(t.docView,e),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,l=r?r.posAtEnd:s.to;return lt>=e.top&&t<=e.bottom,Cf=(t,e,i)=>km(e,i)&&t>=i.left&&t<=i.right;function wx(t,e,i,n){let r=We.find(t.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&Cf(i,n,o))return-1;let l=r.coordsAt(s,1);return l&&Cf(i,n,l)?1:o&&km(n,o)?-1:1}function Qf(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:wx(t,i,e.clientX,e.clientY)}}const _x=F.ie&&F.ie_version<=11;let Af=null,Tf=0,Ef=0;function vm(t){if(!_x)return t.detail;let e=Af,i=Ef;return Af=t,Ef=Date.now(),Tf=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(Tf+1)%3:1}function $x(t,e){let i=Qf(t,e),n=vm(e),r=t.state.selection;return{update(s){s.docChanged&&(i.pos=s.changes.mapPos(i.pos),r=r.map(s.changes))},get(s,o,l){let a=Qf(t,s),u,c=Pf(t,a.pos,a.bias,n);if(i.pos!=a.pos&&!o){let h=Pf(t,i.pos,i.bias,n),f=Math.min(h.from,c.from),d=Math.max(h.to,c.to);c=f1&&(u=Px(r,a.pos))?u:l?r.addRange(c):T.create([c])}}}function Px(t,e){for(let i=0;i=e)return T.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Jt.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.nearest(e.target);if(r&&r.isWidget){let s=r.posAtStart,o=s+r.length;(s>=i.to||o<=i.from)&&(i=T.range(s,o))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Jt.dragend=t=>(t.inputState.draggedContent=null,!1);function Zf(t,e,i,n){if(!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,o=n&&s&&xx(t,e)?{from:s.from,to:s.to}:null,l={from:r,insert:i},a=t.state.changes(o?[o,l]:l);t.focus(),t.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Jt.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let n=Array(i.length),r=0,s=()=>{++r==i.length&&Zf(t,e,n.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[o]=l.result),s()},l.readAsText(i[o])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Zf(t,e,n,!0),!0}return!1};Jt.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=ym?null:e.clipboardData;return i?(xm(t,i.getData("text/plain")||i.getData("text/uri-text")),!0):(Sx(t),!1)};function Cx(t,e){let i=t.dom.parentNode;if(!i)return;let n=i.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function Qx(t){let e=[],i=[],n=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),i.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}n=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:n}}let gu=null;Jt.copy=Jt.cut=(t,e)=>{let{text:i,ranges:n,linewise:r}=Qx(t.state);if(!i&&!r)return!1;gu=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=ym?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",i),!0):(Cx(t,i),!1)};const Sm=Ei.define();function wm(t,e){let i=[];for(let n of t.facet(lm)){let r=n(t,e);r&&i.push(r)}return i?t.update({effects:i,annotations:Sm.of(!0)}):null}function _m(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=wm(t.state,e);i?t.dispatch(i):t.update([])}},10)}ei.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),_m(t)};ei.blur=t=>{t.observer.clearSelectionRange(),_m(t)};ei.compositionstart=ei.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0,t.docView.maybeCreateCompositionBarrier()&&(t.update([]),t.docView.clearCompositionBarrier()))};ei.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,F.chrome&&F.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};ei.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Jt.beforeinput=(t,e)=>{var i;let n;if(F.chrome&&F.android&&(n=gm.find(r=>r.inputType==e.inputType))&&(t.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let r=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return!1};const Df=new Set;function Ax(t){Df.has(t)||(Df.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const Rf=["pre-wrap","normal","pre-line","break-spaces"];class Tx{constructor(e){this.lineWrapping=e,this.doc=ue.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,i){let n=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((i-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Rf.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let n=0;n-1,a=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=i,this.charWidth=n,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,i){this.height!=i&&(Math.abs(this.height-i)>Io&&(e.heightChanged=!0),this.height=i)}replace(e,i,n){return ht.of(n)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,n,r){let s=this,o=n.doc;for(let l=r.length-1;l>=0;l--){let{fromA:a,toA:u,fromB:c,toB:h}=r[l],f=s.lineAt(a,_e.ByPosNoHeight,n.setDoc(i),0,0),d=f.to>=u?f:s.lineAt(u,_e.ByPosNoHeight,n,0,0);for(h+=d.to-u,u=d.to;l>0&&f.from<=r[l-1].toA;)a=r[l-1].fromA,c=r[l-1].fromB,l--,as*2){let l=e[i-1];l.break?e.splice(--i,1,l.left,null,l.right):e.splice(--i,1,l.left,l.right),n+=1+l.break,r-=l.size}else if(s>r*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(r=s&&o(this.blockAt(0,n,r,s))}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class $t extends $m{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,n,r){return new fi(r,this.length,n,this.height,this.breaks)}replace(e,i,n){let r=n[0];return n.length==1&&(r instanceof $t||r instanceof Ne&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Ne?r=new $t(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):ht.of(n)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Ne extends ht{constructor(e){super(e,0)}heightMetrics(e,i){let n=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,s=r-n+1,o,l=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);o=a/s,this.length>s+1&&(l=(this.height-a)/(this.length-s-1))}else o=this.height/s;return{firstLine:n,lastLine:r,perLine:o,perChar:l}}blockAt(e,i,n,r){let{firstLine:s,lastLine:o,perLine:l,perChar:a}=this.heightMetrics(i,r);if(i.lineWrapping){let u=r+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),c=i.doc.lineAt(u),h=l+c.length*a,f=Math.max(n,e-h/2);return new fi(c.from,c.length,f,h,0)}else{let u=Math.max(0,Math.min(o-s,Math.floor((e-n)/l))),{from:c,length:h}=i.doc.line(s+u);return new fi(c,h,n+l*u,l,0)}}lineAt(e,i,n,r,s){if(i==_e.ByHeight)return this.blockAt(e,n,r,s);if(i==_e.ByPosNoHeight){let{from:d,to:p}=n.doc.lineAt(e);return new fi(d,p-d,0,0,0)}let{firstLine:o,perLine:l,perChar:a}=this.heightMetrics(n,s),u=n.doc.lineAt(e),c=l+u.length*a,h=u.number-o,f=r+l*h+a*(u.from-s-h);return new fi(u.from,u.length,Math.max(r,Math.min(f,r+this.height-c)),c,0)}forEachLine(e,i,n,r,s,o){e=Math.max(e,s),i=Math.min(i,s+this.length);let{firstLine:l,perLine:a,perChar:u}=this.heightMetrics(n,s);for(let c=e,h=r;c<=i;){let f=n.doc.lineAt(c);if(c==e){let p=f.number-l;h+=a*p+u*(e-s-p)}let d=a+u*f.length;o(new fi(f.from,f.length,h,d,0)),h+=d,c=f.to+1}}replace(e,i,n){let r=this.length-i;if(r>0){let s=n[n.length-1];s instanceof Ne?n[n.length-1]=new Ne(s.length+r):n.push(null,new Ne(r-1))}if(e>0){let s=n[0];s instanceof Ne?n[0]=new Ne(e+s.length):n.unshift(new Ne(e-1),null)}return ht.of(n)}decomposeLeft(e,i){i.push(new Ne(e-1),null)}decomposeRight(e,i){i.push(null,new Ne(this.length-e-1))}updateHeight(e,i=0,n=!1,r){let s=i+this.length;if(r&&r.from<=i+this.length&&r.more){let o=[],l=Math.max(i,r.from),a=-1;for(r.from>i&&o.push(new Ne(r.from-i-1).updateHeight(e,i));l<=s&&r.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let h=r.heights[r.index++];a==-1?a=h:Math.abs(h-a)>=Io&&(a=-2);let f=new $t(c,h);f.outdated=!1,o.push(f),l+=c+1}l<=s&&o.push(null,new Ne(s-l).updateHeight(e,l));let u=ht.of(o);return(a<0||Math.abs(u.height-this.height)>=Io||Math.abs(a-this.heightMetrics(e,i).perLine)>=Io)&&(e.heightChanged=!0),u}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Zx extends ht{constructor(e,i,n){super(e.length+i+n.length,e.height+n.height,i|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,i,n,r){let s=n+this.left.height;return el))return u;let c=i==_e.ByPosNoHeight?_e.ByPosNoHeight:_e.ByPos;return a?u.join(this.right.lineAt(l,c,n,o,l)):this.left.lineAt(l,c,n,r,s).join(u)}forEachLine(e,i,n,r,s,o){let l=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,i,n,l,a,o);else{let u=this.lineAt(a,_e.ByPos,n,r,s);e=e&&u.from<=i&&o(u),i>u.to&&this.right.forEachLine(u.to+1,i,n,l,a,o)}}replace(e,i,n){let r=this.left.length+this.break;if(ithis.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,n));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let l of n)s.push(l);if(e>0&&If(s,o-1),i=n&&i.push(null)),e>n&&this.right.decomposeLeft(e-n,i)}decomposeRight(e,i){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e2*i.size||i.size>2*e.size?ht.of(this.break?[e,null,i]:[e,i]):(this.left=e,this.right=i,this.height=e.height+i.height,this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,n=!1,r){let{left:s,right:o}=this,l=i+s.length+this.break,a=null;return r&&r.from<=i+s.length&&r.more?a=s=s.updateHeight(e,i,n,r):s.updateHeight(e,i,n),r&&r.from<=l+o.length&&r.more?a=o=o.updateHeight(e,l,n,r):o.updateHeight(e,l,n),a?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function If(t,e){let i,n;t[e]==null&&(i=t[e-1])instanceof Ne&&(n=t[e+1])instanceof Ne&&t.splice(e-1,3,new Ne(i.length+1+n.length))}const Dx=5;class pc{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let n=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof $t?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new $t(n-this.pos,-1)),this.writtenTo=n,i>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,n){if(e=Dx)&&this.addLineDeco(r,s,o)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenToe&&this.nodes.push(new $t(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let n=new Ne(i-e);return this.oracle.doc.lineAt(e).to==i&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof $t)return e;let i=new $t(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+n}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof $t)&&!this.isCovered?this.nodes.push(new $t(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&h.overflow!="visible"){let f=c.getBoundingClientRect();s=Math.max(s,f.left),o=Math.min(o,f.right),l=Math.max(l,f.top),a=u==t.parentNode?f.bottom:Math.min(a,f.bottom)}u=h.position=="absolute"||h.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-i.left,right:Math.max(s,o)-i.left,top:l-(i.top+e),bottom:Math.max(l,a)-(i.top+e)}}function Xx(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class na{constructor(e,i,n){this.from=e,this.to=i,this.size=n}static same(e,i){if(e.length!=i.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new Tx(i),this.stateDeco=e.facet(ls).filter(n=>typeof n!="function"),this.heightMap=ht.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle.setDoc(e.doc),[new Rt(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=he.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let n=0;n<=1;n++){let r=n?i.head:i.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new no(s,o))}}this.viewports=e.sort((n,r)=>n.from-r.from),this.scaler=this.heightMap.height<=7e6?Xf:new Fx(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Fr(e,this.scaler))})}update(e,i=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(ls).filter(c=>typeof c!="function");let r=e.changedRanges,s=Rt.extendWithRanges(r,Rx(n,this.stateDeco,e?e.changes:Fe.empty(this.state.doc.length))),o=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,i));let u=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Uy)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let i=e.contentDOM,n=window.getComputedStyle(i),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Xe.RTL:Xe.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),l=i.getBoundingClientRect(),a=o||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let u=0,c=0;if(l.width&&l.height){let{scaleX:w,scaleY:_}=X0(i,l);(this.scaleX!=w||this.scaleY!=_)&&(this.scaleX=w,this.scaleY=_,u|=8,o=a=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=h||this.paddingBottom!=f)&&(this.paddingTop=h,this.paddingBottom=f,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let d=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=d&&(this.scrollAnchorHeight=-1,this.scrollTop=d),this.scrolledToBottom=W0(e.scrollDOM);let p=(this.printing?Xx:Lx)(i,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let O=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(O!=this.inView&&(this.inView=O,O&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let y=l.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),a){let w=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(w)&&(o=!0),o||r.lineWrapping&&Math.abs(y-this.contentDOMWidth)>r.charWidth){let{lineHeight:_,charWidth:A,textHeight:C}=e.docView.measureTextSize();o=_>0&&r.refresh(s,_,A,C,y/A,w),o&&(e.docView.minWidth=0,u|=8)}m>0&&g>0?c=Math.max(m,g):m<0&&g<0&&(c=Math.min(m,g)),r.heightChanged=!1;for(let _ of this.viewports){let A=_.from==this.viewport.from?w:e.docView.measureVisibleLineHeights(_);this.heightMap=(o?ht.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle,[new Rt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new Ex(_.from,A))}r.heightChanged&&(u|=2)}let k=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return k&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(u&2||k)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:l}=this,a=new no(r.lineAt(o-n*1e3,_e.ByHeight,s,0,0).from,r.lineAt(l+(1-n)*1e3,_e.ByHeight,s,0,0).to);if(i){let{head:u}=i.range;if(ua.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(u,_e.ByPos,s,0,0),f;i.y=="center"?f=(h.top+h.bottom)/2-c/2:i.y=="start"||i.y=="nearest"&&u=l+Math.max(10,Math.min(n,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=Xe.LTR&&!n)return[];let l=[],a=(u,c,h,f)=>{if(c-uu&&gg.from>=h.from&&g.to<=h.to&&Math.abs(g.from-u)g.fromO));if(!m){if(cg.from<=c&&g.to>=c)){let g=i.moveToLineBoundary(T.cursor(c),!1,!0).head;g>u&&(c=g)}m=new na(u,c,this.gapSize(h,u,c,f))}l.push(m)};for(let u of this.viewportLines){if(u.lengthu.from&&a(u.from,f,u,c),di.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];$e.spans(e,this.viewport.from,this.viewport.to,{span(r,s){i.push({from:r,to:s})},point(){}},20);let n=i.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=i[s].from||r.to!=i[s].to);return this.visibleRanges=i,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||Fr(this.heightMap.lineAt(e,_e.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Fr(this.heightMap.lineAt(this.scaler.fromDOM(e),_e.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return Fr(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class no{constructor(e,i){this.from=e,this.to=i}}function Vx(t,e,i){let n=[],r=t,s=0;return $e.spans(i,t,e,{span(){},point(o,l){o>r&&(n.push({from:r,to:o}),s+=o-r),r=l}},20),r=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let r=0;;r++){let{from:s,to:o}=e[r],l=o-s;if(n<=l)return s+n;n-=l}}function so(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function Wx(t,e){for(let i of t)if(e(i))return i}const Xf={toDOM(t){return t},fromDOM(t){return t},scale:1};class Fx{constructor(e,i,n){let r=0,s=0,o=0;this.viewports=n.map(({from:l,to:a})=>{let u=i.lineAt(l,_e.ByPos,e,0,0).top,c=i.lineAt(a,_e.ByPos,e,0,0).bottom;return r+=c-u,{from:l,to:a,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);for(let l of this.viewports)l.domTop=o+(l.top-s)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let i=0,n=0,r=0;;i++){let s=iFr(r,e)):t._content)}const oo=N.define({combine:t=>t.join(" ")}),bu=N.define({combine:t=>t.indexOf(!0)>-1}),yu=nn.newName(),Pm=nn.newName(),Cm=nn.newName(),Qm={"&light":"."+Pm,"&dark":"."+Cm};function xu(t,e,i){return new nn(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+n}})}const zx=xu("."+yu,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Qm),zr="￿";class jx{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(oe.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=zr}readRange(e,i){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let s=this.text.length;this.readNode(r);let o=r.nextSibling;if(o==i)break;let l=Pe.get(r),a=Pe.get(o);(l&&a?l.breakAfter:(l?l.breakAfter:Mf(r))||Mf(o)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>s)&&this.lineBreak(),r=o}return this.findPointBefore(n,i),this}readTextNode(e){let i=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,i.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,l;if(this.lineSeparator?(s=i.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(l=r.exec(i))&&(s=l.index,o=l[0].length),this.append(i.slice(n,s<0?i.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);n=s+o}}readNode(e){if(e.cmIgnore)return;let i=Pe.get(e),n=i&&i.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==i&&(n.pos=this.text.length)}findPointInside(e,i){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Bx(e,n.node,n.offset)?i:0))}}function Bx(t,e,i){for(;;){if(!e||i-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,n,0))){let l=s||o?[]:Ux(e),a=new jx(l,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=Gx(l,this.bounds.from)}else{let l=e.observer.selectionRange,a=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!su(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),u=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!su(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset),c=e.viewport;if((F.ios||F.chrome)&&e.state.selection.main.empty&&a!=u&&(c.from>0||c.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,a=r.from,u=null;(s===8||F.android&&e.text.length=r.from&&i.to<=r.to&&(i.from!=r.from||i.to!=r.to)&&r.to-r.from-(i.to-i.from)<=4?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,r.to))}:(F.mac||F.android)&&i&&i.from==i.to&&i.from==r.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&i.insert.length==2&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}):F.chrome&&i&&i.from==i.to&&i.from==r.head&&i.insert.toString()==` + `&&t.lineWrapping&&(n&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}),i){if(F.ios&&t.inputState.flushIOSKey()||F.android&&(i.to==r.to&&(i.from==r.from||i.from==r.from-1&&t.state.sliceDoc(i.from,r.from)==" ")&&i.insert.length==1&&i.insert.lines==2&&qn(t.contentDOM,"Enter",13)||(i.from==r.from-1&&i.to==r.to&&i.insert.length==0||s==8&&i.insert.lengthr.head)&&qn(t.contentDOM,"Backspace",8)||i.from==r.from&&i.to==r.to+1&&i.insert.length==0&&qn(t.contentDOM,"Delete",46)))return!0;let o=i.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let l,a=()=>l||(l=Yx(t,i,n));return t.state.facet(om).some(u=>u(t,i.from,i.to,o,a))||t.dispatch(a()),!0}else if(n&&!n.main.eq(r)){let o=!1,l="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(o=!0),l=t.inputState.lastSelectionOrigin),t.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function Yx(t,e,i){let n,r=t.state,s=r.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let l=s.frome.to?r.sliceDoc(e.to,s.to):"";n=r.replaceSelection(t.state.toText(l+e.insert.sliceString(0,void 0,t.state.lineBreak)+a))}else{let l=r.changes(e),a=i&&i.main.to<=l.newLength?i.main:void 0;if(r.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let u=t.state.sliceDoc(e.from,e.to),c,h=i&&pm(t,i.main.head);if(h){let p=e.insert.length-(e.to-e.from);c={from:h.from,to:h.to-p}}else c=t.state.doc.lineAt(s.head);let f=s.to-e.to,d=s.to-s.from;n=r.changeByRange(p=>{if(p.from==s.from&&p.to==s.to)return{changes:l,range:a||p.map(l)};let m=p.to-f,g=m-u.length;if(p.to-p.from!=d||t.state.sliceDoc(g,m)!=u||p.to>=c.from&&p.from<=c.to)return{range:p};let O=r.changes({from:g,to:m,insert:e.insert}),y=p.to-s.to;return{changes:O,range:a?T.range(Math.max(0,a.anchor+y),Math.max(0,a.head+y)):p.map(O)}})}else n={changes:l,selection:a&&r.selection.replaceRange(a)}}let o="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,o+=".compose",t.inputState.compositionFirstChange&&(o+=".start",t.inputState.compositionFirstChange=!1)),r.update(n,{userEvent:o,scrollIntoView:!0})}function Nx(t,e,i,n){let r=Math.min(t.length,e.length),s=0;for(;s0&&l>0&&t.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(n=="end"){let a=Math.max(0,s-Math.min(o,l));i-=o+a-s}if(o=o?s-i:0;s-=a,l=s+(l-o),o=s}else if(l=l?s-i:0;s-=a,o=s+(o-l),l=s}return{from:s,toA:o,toB:l}}function Ux(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}=t.observer.selectionRange;return i&&(e.push(new Vf(i,n)),(r!=i||s!=n)&&e.push(new Vf(r,s))),e}function Gx(t,e){if(t.length==0)return null;let i=t[0].pos,n=t.length==2?t[1].pos:i;return i>-1&&n>-1?T.single(i+e,n+e):null}const Hx={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ra=F.ie&&F.ie_version<=11;class Kx{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Ey,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let n of i)this.queue.push(n);(F.ie&&F.ie_version<=11||F.ios&&e.composing)&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),ra&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,n)=>i!=e[n]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(Rl)?n.root.activeElement!=this.dom:!Do(n.dom,r))return;let s=r.anchorNode&&n.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(F.ie&&F.ie_version<=11||F.android&&F.chrome)&&!n.state.selection.main.empty&&r.focusNode&&Gr(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=F.safari&&e.root.nodeType==11&&Cy(this.dom.ownerDocument)==this.dom&&Jx(this.view)||Ko(e.root);if(!i||this.selectionRange.eq(i))return!1;let n=Do(this.dom,i);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&qn(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,n=-1,r=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(r=!0),i==-1?{from:i,to:n}=o:(i=Math.min(o.from,i),n=Math.max(o.to,n)))}return{from:i,to:n,typeOver:r}}readChange(){let{from:e,to:i,typeOver:n}=this.processRecords(),r=this.selectionChanged&&Do(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new qx(this.view,e,i,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let n=this.view.state,r=Am(this.view,i);return this.view.state==n&&this.view.update([]),r}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let n=Wf(i,e.previousSibling||e.target.previousSibling,-1),r=Wf(i,e.nextSibling||e.target.nextSibling,1);return{from:n?i.posAfter(n):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Wf(t,e,i){for(;e;){let n=Pe.get(e);if(n&&n.parent==t)return n;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function Jx(t){let e=null;function i(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let n=e.startContainer,r=e.startOffset,s=e.endContainer,o=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);return Gr(l.node,l.offset,s,o)&&([n,r,s,o]=[s,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:s,focusOffset:o}}class j{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:i}=e;this.dispatchTransactions=e.dispatchTransactions||i&&(n=>n.forEach(r=>i(r,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||Zy(e.parent)||document,this.viewState=new Lf(e.state||oe.create(e)),e.scrollTo&&e.scrollTo.is(eo)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Vr).map(n=>new ea(n));for(let n of this.plugins)n.update(this);this.observer=new Kx(this),this.inputState=new px(this),this.inputState.ensureHandlers(this.plugins),this.docView=new yf(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let i=e.length==1&&e[0]instanceof Le?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,s=this.state;for(let f of e){if(f.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=f.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,l=0,a=null;e.some(f=>f.annotation(Sm))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=wm(s,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(oe.phrases)!=this.state.facet(oe.phrases))return this.setState(s);r=Jo.create(this,s,e),r.flags|=l;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(h&&(h=h.map(f.changes)),f.scrollIntoView){let{main:d}=f.state.selection;h=new Yn(d.empty?d:T.cursor(d.head,d.head>d.anchor?-1:1))}for(let d of f.effects)d.is(eo)&&(h=d.value.clip(this.state))}this.viewState.update(r,h),this.bidiCache=el.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Wr)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(oo)!=r.state.facet(oo)&&(this.viewState.mustMeasureContent=!0),(i||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let f of this.state.facet(mu))try{f(r)}catch(d){Tt(this.state,d,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!Am(this,c)&&u.force&&qn(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Lf(e),this.plugins=e.facet(Vr).map(n=>new ea(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new yf(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(Vr),n=e.state.facet(Vr);if(i!=n){let r=[];for(let s of n){let o=i.indexOf(s);if(o<0)r.push(new ea(s));else{let l=this.plugins[o];l.mustUpdate=e,r.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(W0(n))s=-1,o=this.viewState.heightMap.height;else{let d=this.viewState.scrollAnchorAt(r);s=d.from,o=d.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(d=>{try{return d.read(this)}catch(p){return Tt(this.state,p),Ff}}),h=Jo.create(this,this.state,[]),f=!1;h.flags|=a,i?i.flags|=a:i=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),f=this.docView.update(h),f&&this.docViewUpdate());for(let d=0;d1||p<-1){r=r+p,n.scrollTop=r/this.scaleY,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let l of this.state.facet(mu))l(i)}get themeClasses(){return yu+" "+(this.state.facet(bu)?Cm:Pm)+" "+this.state.facet(oo)}updateAttrs(){let e=zf(this,um,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Rl)?"true":"false",class:"cm-content",style:`${F.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),zf(this,fc,i);let n=this.observer.ignore(()=>{let r=cu(this.contentDOM,this.contentAttrs,i),s=cu(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(j.announce)){i&&(this.announceDOM.textContent=""),i=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Wr);let e=this.state.facet(j.cspNonce);nn.mount(this.root,this.styleModules.concat(zx).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;in.spec==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,n){return ia(this,e,_f(this,e,i,n))}moveByGroup(e,i){return ia(this,e,_f(this,e,i,n=>fx(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),s=n[i?n.length-1:0];return T.cursor(s.side(i,r)+e.from,s.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return hx(this,e,i,n)}moveVertically(e,i,n){return ia(this,e,dx(this,e,i,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),Om(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.docView.coordsAt(e,i);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[Gi.find(s,e-r.from,-1,i)];return Zl(n,o.dir==Xe.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(am)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>ek)return em(e.length);let i=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==i&&(s.fresh||J0(s.isolates,n=bf(this,e))))return s.order;n||(n=bf(this,e));let r=qy(e.text,i,n);return this.bidiCache.push(new el(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||F.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{M0(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return eo.of(new Yn(typeof e=="number"?T.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return eo.of(new Yn(T.cursor(n.from),"start","start",n.top-e,i,!0))}static domEventHandlers(e){return Lt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Lt.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=nn.newName(),r=[oo.of(n),Wr.of(xu(`.${n}`,e))];return i&&i.dark&&r.push(bu.of(!0)),r}static baseTheme(e){return an.lowest(Wr.of(xu("."+yu,e,Qm)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&Pe.get(n)||Pe.get(e);return((i=r==null?void 0:r.rootView)===null||i===void 0?void 0:i.view)||null}}j.styleModule=Wr;j.inputHandler=om;j.focusChangeEffect=lm;j.perLineTextDirection=am;j.exceptionSink=sm;j.updateListener=mu;j.editable=Rl;j.mouseSelectionStyle=rm;j.dragMovesSelection=nm;j.clickAddsSelectionRange=im;j.decorations=ls;j.outerDecorations=cm;j.atomicRanges=dc;j.bidiIsolatedRanges=hm;j.scrollMargins=fm;j.darkTheme=bu;j.cspNonce=N.define({combine:t=>t.length?t[0]:""});j.contentAttributes=fc;j.editorAttributes=um;j.lineWrapping=j.contentAttributes.of({class:"cm-lineWrapping"});j.announce=ce.define();const ek=4096,Ff={};class el{constructor(e,i,n,r,s,o){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=s,this.order=o}static update(e,i){if(i.empty&&!e.some(s=>s.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:Xe.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],o=typeof s=="function"?s(t):s;o&&uu(o,i)}return i}const tk=F.mac?"mac":F.windows?"win":F.linux?"linux":"key";function ik(t,e){const i=t.split(/-(?!$)/);let n=i[i.length-1];n=="Space"&&(n=" ");let r,s,o,l;for(let a=0;an.concat(r),[]))),i}function rk(t,e,i){return Em(Tm(t.state),e,t,i)}let Bi=null;const sk=4e3;function ok(t,e=tk){let i=Object.create(null),n=Object.create(null),r=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,l,a,u,c)=>{var h,f;let d=i[o]||(i[o]=Object.create(null)),p=l.split(/ (?!$)/).map(O=>ik(O,e));for(let O=1;O{let w=Bi={view:k,prefix:y,scope:o};return setTimeout(()=>{Bi==w&&(Bi=null)},sk),!0}]})}let m=p.join(" ");r(m,!1);let g=d[m]||(d[m]={preventDefault:!1,stopPropagation:!1,run:((f=(h=d._any)===null||h===void 0?void 0:h.run)===null||f===void 0?void 0:f.slice())||[]});a&&g.run.push(a),u&&(g.preventDefault=!0),c&&(g.stopPropagation=!0)};for(let o of t){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=i[u]||(i[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let h in c)c[h].run.push(o.any)}let a=o[e]||o.key;if(a)for(let u of l)s(u,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(u,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return i}function Em(t,e,i,n){let r=Py(e),s=Gt(r,0),o=_i(s)==r.length&&r!=" ",l="",a=!1,u=!1,c=!1;Bi&&Bi.view==i&&Bi.scope==n&&(l=Bi.prefix+" ",bm.indexOf(e.keyCode)<0&&(u=!0,Bi=null));let h=new Set,f=g=>{if(g){for(let O of g.run)if(!h.has(O)&&(h.add(O),O(i,e)))return g.stopPropagation&&(c=!0),!0;g.preventDefault&&(g.stopPropagation&&(c=!0),u=!0)}return!1},d=t[n],p,m;return d&&(f(d[l+lo(r,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(F.windows&&e.ctrlKey&&e.altKey)&&(p=rn[e.keyCode])&&p!=r?(f(d[l+lo(p,e,!0)])||e.shiftKey&&(m=ss[e.keyCode])!=r&&m!=p&&f(d[l+lo(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&f(d[l+lo(r,e,!0)])&&(a=!0),!a&&f(d._any)&&(a=!0)),u&&(a=!0),a&&c&&e.stopPropagation(),a}const lk=!F.ios,Bf={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};lk&&(Bf[".cm-line"].caretColor="transparent !important",Bf[".cm-content"]={caretColor:"transparent !important"});class ak extends As{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let i=e.firstChild?sr(e.firstChild):[];if(!i.length)return null;let n=window.getComputedStyle(e.parentNode),r=Zl(i[0],n.direction!="rtl"),s=parseInt(n.lineHeight);return r.bottom-r.top>s*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+s}:r}ignoreEvent(){return!1}}function uk(t){return Lt.fromClass(class{constructor(e){this.view=e,this.placeholder=t?he.set([he.widget({widget:new ak(t),side:1}).range(0)]):he.none}get decorations(){return this.view.state.doc.length?he.none:this.placeholder}},{decorations:e=>e.decorations})}const Ar="-10000px";class ck{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(o=>o);let s=null;this.tooltipViews=this.tooltips.map(o=>s=n(o,s))}update(e,i){var n;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=i?[]:null;for(let a=0;ai[u]=a),i.length=l.length),this.input=r,this.tooltips=s,this.tooltipViews=o,!0}}function hk(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const sa=N.define({combine:t=>{var e,i,n;return{position:F.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||hk}}}),qf=new WeakMap,Zm=Lt.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(sa);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new ck(t,Dm,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(sa);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.insertBefore(r,n)}return i.dom.style.position=this.position,i.dom.style.top=Ar,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,i=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(F.gecko)n=r.offsetParent!=this.container.ownerDocument.body;else if(r.style.top==Ar&&r.style.left=="0px"){let s=r.getBoundingClientRect();n=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(n||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,i=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:i}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((r,s)=>{let o=this.manager.tooltipViews[s];return o.getCoords?o.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(sa).tooltipSpace(this.view),scaleX:e,scaleY:i,makeAbsolute:n}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{editor:i,space:n,scaleX:r,scaleY:s}=t,o=[];for(let l=0;l=Math.min(i.bottom,n.bottom)||h.rightMath.min(i.right,n.right)+.1){c.style.top=Ar;continue}let d=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=d?7:0,m=f.right-f.left,g=(e=qf.get(u))!==null&&e!==void 0?e:f.bottom-f.top,O=u.offset||dk,y=this.view.textDirection==Xe.LTR,k=f.width>n.right-n.left?y?n.left:n.right-f.width:y?Math.min(h.left-(d?14:0)+O.x,n.right-m):Math.max(n.left,h.left-m+(d?14:0)-O.x),w=this.above[l];!a.strictSide&&(w?h.top-(f.bottom-f.top)-O.yn.bottom)&&w==n.bottom-h.bottom>h.top-n.top&&(w=this.above[l]=!w);let _=(w?h.top-n.top:n.bottom-h.bottom)-p;if(_k&&$.topA&&(A=w?$.top-g-2-p:$.bottom+p+2);if(this.position=="absolute"?(c.style.top=(A-t.parent.top)/s+"px",c.style.left=(k-t.parent.left)/r+"px"):(c.style.top=A/s+"px",c.style.left=k/r+"px"),d){let $=h.left+(y?O.x:-O.x)-(k+14-7);d.style.left=$/r+"px"}u.overlap!==!0&&o.push({left:k,top:A,right:C,bottom:A+g}),c.classList.toggle("cm-tooltip-above",w),c.classList.toggle("cm-tooltip-below",!w),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Ar}},{eventObservers:{scroll(){this.maybeMeasure()}}}),fk=j.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),dk={x:0,y:0},Dm=N.define({enables:[Zm,fk]});function Rm(t,e){let i=t.plugin(Zm);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const Yf=N.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function tl(t,e){let i=t.plugin(Im),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const Im=Lt.fromClass(class{constructor(t){this.input=t.state.facet(il),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(Yf);this.top=new ao(t,!0,e.topContainer),this.bottom=new ao(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(Yf);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new ao(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new ao(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(il);if(i!=this.input){let n=i.filter(a=>a),r=[],s=[],o=[],l=[];for(let a of n){let u=this.specs.indexOf(a),c;u<0?(c=a(t.view),l.push(c)):(c=this.panels[u],c.update&&c.update(t)),r.push(c),(c.top?s:o).push(c)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>j.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class ao{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=Nf(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=Nf(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Nf(t){let e=t.nextSibling;return t.remove(),e}const il=N.define({enables:Im});class lr extends vn{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}lr.prototype.elementClass="";lr.prototype.toDOM=void 0;lr.prototype.mapMode=ut.TrackBefore;lr.prototype.startSide=lr.prototype.endSide=-1;lr.prototype.point=!0;const Lm=1024;let pk=0;class Et{constructor(e,i){this.from=e,this.to=i}}class G{constructor(e={}){this.id=pk++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Me.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}}G.closedBy=new G({deserialize:t=>t.split(" ")});G.openedBy=new G({deserialize:t=>t.split(" ")});G.group=new G({deserialize:t=>t.split(" ")});G.isolate=new G({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});G.contextHash=new G({perNode:!0});G.lookAhead=new G({perNode:!0});G.mounted=new G({perNode:!0});class as{constructor(e,i,n){this.tree=e,this.overlay=i,this.parser=n}static get(e){return e&&e.props&&e.props[G.mounted.id]}}const mk=Object.create(null);class Me{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):mk,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Me(e.name||"",i,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(G.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(G.group),s=-1;s<(r?r.length:0);s++){let o=i[s<0?n.name:r[s]];if(o)return o}}}}Me.none=new Me("",Object.create(null),0,8);class br{constructor(e){this.types=e;for(let i=0;i0;for(let a=this.cursor(o|xe.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!l&&a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&n&&(l||!a.type.isAnonymous)&&n(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:gc(Me.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new ie(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new ie(Me.none,i,n,r)))}static build(e){return yk(e)}}ie.empty=new ie(Me.none,[],[],0);class mc{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new mc(this.buffer,this.index)}}class on{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return Me.none}toString(){let e=[];for(let i=0;i0));a=o[a+3]);return l}slice(e,i,n){let r=this.buffer,s=new Uint16Array(i-e),o=0;for(let l=e,a=0;l=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function us(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;e!=u;e+=i){let c=l[e],h=a[e]+o.from;if(Xm(r,n,h,h+c.length)){if(c instanceof on){if(s&xe.ExcludeBuffers)continue;let f=c.findChild(0,c.buffer.length,i,n-h,r);if(f>-1)return new di(new Ok(o,c,e,h),null,f)}else if(s&xe.IncludeAnonymous||!c.type.isAnonymous||Oc(c)){let f;if(!(s&xe.IgnoreMounts)&&(f=as.get(c))&&!f.overlay)return new rt(f.tree,h,e,o);let d=new rt(c,h,e,o);return s&xe.IncludeAnonymous||!d.type.isAnonymous?d:d.nextChild(i<0?c.children.length-1:0,i,n,r)}}}if(s&xe.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+i:e=i<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,n=0){let r;if(!(n&xe.IgnoreOverlays)&&(r=as.get(this._tree))&&r.overlay){let s=e-this.from;for(let{from:o,to:l}of r.overlay)if((i>0?o<=s:o=s:l>s))return new rt(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Gf(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(let o=!1;!o;)if(o=r.type.is(i),!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function ku(t,e,i=e.length-1){for(let n=t.parent;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}class Ok{constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}}class di extends Mm{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);return s<0?null:new di(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,n=0){if(n&xe.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return s<0?null:new di(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new di(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new di(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let o=n.buffer[this.index+1];e.push(n.slice(r,s,o)),i.push(0)}return new ie(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Vm(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;si.from||o.to=e){let l=new rt(o.tree,o.overlay[0].from+s.from,-1,s);(r||(r=[n])).push(us(l,e,i,!1))}}return r?Vm(r):n}class nl{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,n=this.mode){return this.buffer?n&xe.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&xe.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&xe.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=i+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let l=n._tree.children[s];if(this.mode&xe.IncludeAnonymous||l instanceof on||!l.type.isAnonymous||Oc(l))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;i=o,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return ku(this.node,e,r);let o=n[i.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function Oc(t){return t.children.some(e=>e instanceof on||!e.type.isAnonymous||Oc(e))}function yk(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=Lm,reused:s=[],minRepeatType:o=n.types.length}=t,l=Array.isArray(i)?new mc(i,i.length):i,a=n.types,u=0,c=0;function h(_,A,C,$,R,M){let{id:X,start:Z,end:L,size:W}=l,z=c;for(;W<0;)if(l.next(),W==-1){let le=s[X];C.push(le),$.push(Z-_);return}else if(W==-3){u=X;return}else if(W==-4){c=X;return}else throw new RangeError(`Unrecognized record size: ${W}`);let q=a[X],ee,te,pe=Z-_;if(L-Z<=r&&(te=g(l.pos-A,R))){let le=new Uint16Array(te.size-te.skip),me=l.pos-te.size,Te=le.length;for(;l.pos>me;)Te=O(te.start,le,Te);ee=new on(le,L-te.start,n),pe=te.start-_}else{let le=l.pos-W;l.next();let me=[],Te=[],De=X>=o?X:-1,ye=0,Oe=L;for(;l.pos>le;)De>=0&&l.id==De&&l.size>=0?(l.end<=Oe-r&&(p(me,Te,Z,ye,l.end,Oe,De,z),ye=me.length,Oe=l.end),l.next()):M>2500?f(Z,le,me,Te):h(Z,le,me,Te,De,M+1);if(De>=0&&ye>0&&ye-1&&ye>0){let Zi=d(q);ee=gc(q,me,Te,0,me.length,0,L-Z,Zi,Zi)}else ee=m(q,me,Te,L-Z,z-L)}C.push(ee),$.push(pe)}function f(_,A,C,$){let R=[],M=0,X=-1;for(;l.pos>A;){let{id:Z,start:L,end:W,size:z}=l;if(z>4)l.next();else{if(X>-1&&L=0;W-=3)Z[z++]=R[W],Z[z++]=R[W+1]-L,Z[z++]=R[W+2]-L,Z[z++]=z;C.push(new on(Z,R[2]-L,n)),$.push(L-_)}}function d(_){return(A,C,$)=>{let R=0,M=A.length-1,X,Z;if(M>=0&&(X=A[M])instanceof ie){if(!M&&X.type==_&&X.length==$)return X;(Z=X.prop(G.lookAhead))&&(R=C[M]+X.length+Z)}return m(_,A,C,$,R)}}function p(_,A,C,$,R,M,X,Z){let L=[],W=[];for(;_.length>$;)L.push(_.pop()),W.push(A.pop()+C-R);_.push(m(n.types[X],L,W,M-R,Z-M)),A.push(R-C)}function m(_,A,C,$,R=0,M){if(u){let X=[G.contextHash,u];M=M?[X].concat(M):[X]}if(R>25){let X=[G.lookAhead,R];M=M?[X].concat(M):[X]}return new ie(_,A,C,$,M)}function g(_,A){let C=l.fork(),$=0,R=0,M=0,X=C.end-r,Z={size:0,start:0,skip:0};e:for(let L=C.pos-_;C.pos>L;){let W=C.size;if(C.id==A&&W>=0){Z.size=$,Z.start=R,Z.skip=M,M+=4,$+=4,C.next();continue}let z=C.pos-W;if(W<0||z=o?4:0,ee=C.start;for(C.next();C.pos>z;){if(C.size<0)if(C.size==-3)q+=4;else break e;else C.id>=o&&(q+=4);C.next()}R=ee,$+=W,M+=q}return(A<0||$==_)&&(Z.size=$,Z.start=R,Z.skip=M),Z.size>4?Z:void 0}function O(_,A,C){let{id:$,start:R,end:M,size:X}=l;if(l.next(),X>=0&&$4){let L=l.pos-(X-4);for(;l.pos>L;)C=O(_,A,C)}A[--C]=Z,A[--C]=M-_,A[--C]=R-_,A[--C]=$}else X==-3?u=$:X==-4&&(c=$);return C}let y=[],k=[];for(;l.pos>0;)h(t.start||0,t.bufferStart||0,y,k,-1,0);let w=(e=t.length)!==null&&e!==void 0?e:y.length?k[0]+y[0].length:0;return new ie(a[t.topID],y.reverse(),k.reverse(),w)}const Hf=new WeakMap;function Lo(t,e){if(!t.isAnonymous||e instanceof on||e.type!=t)return 1;let i=Hf.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof ie)){i=1;break}i+=Lo(t,n)}Hf.set(e,i)}return i}function gc(t,e,i,n,r,s,o,l,a){let u=0;for(let p=n;p=c)break;A+=C}if(k==w+1){if(A>c){let C=p[w];d(C.children,C.positions,0,C.children.length,m[w]+y);continue}h.push(p[w])}else{let C=m[k-1]+p[k-1].length-_;h.push(gc(t,p,m,w,k,_,C,null,a))}f.push(_+y-s)}}return d(e,i,n,r,0),(l||a)(h,f,o)}class Wm{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof di?this.setBuffer(e.context.buffer,e.index,i):e instanceof rt&&this.map.set(e.tree,i)}get(e){return e instanceof di?this.getBuffer(e.context.buffer,e.index):e instanceof rt?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Pi{constructor(e,i,n,r,s=!1,o=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],n=!1){let r=[new Pi(0,e.length,e,0,!1,n)];for(let s of i)s.to>e.length&&r.push(s);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=n)for(;o&&o.from=f.from||h<=f.to||u){let d=Math.max(f.from,a)-u,p=Math.min(f.to,h)-u;f=d>=p?null:new Pi(d,p,f.tree,f.offset+u,l>0,!!c)}if(f&&r.push(f),o.to>h)break;o=snew Et(r.from,r.to)):[new Et(0,0)]:[new Et(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let s=r.advance();if(s)return s}}}class xk{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}}function Fm(t){return(e,i,n,r)=>new vk(e,t,i,n,r)}class Kf{constructor(e,i,n,r,s){this.parser=e,this.parse=i,this.overlay=n,this.target=r,this.from=s}}function Jf(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class kk{constructor(e,i,n,r,s,o,l){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=s,this.target=o,this.prev=l,this.depth=0,this.ranges=[]}}const vu=new G({perNode:!0});class vk{constructor(e,i,n,r,s){this.nest=i,this.input=n,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new ie(n.type,n.children,n.positions,n.length,n.propValues.concat([[vu,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[G.mounted.id]=new as(i,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(i){let u=i.mounts.find(c=>c.frag.from<=r.from&&c.frag.to>=r.to&&c.mount.overlay);if(u)for(let c of u.mount.overlay){let h=c.from+u.pos,f=c.to+u.pos;h>=r.from&&f<=r.to&&!i.ranges.some(d=>d.fromh)&&i.ranges.push({from:h,to:f})}}l=!1}else if(n&&(o=Sk(n.ranges,r.from,r.to)))l=o!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew Et(h.from-r.from,h.to-r.from)):null,r.tree,c.length?c[0].from:r.from)),s.overlay?c.length&&(n={ranges:c,depth:0,prev:n}):l=!1}}else i&&(a=i.predicate(r))&&(a===!0&&(a=new Et(r.from,r.to)),a.fromnew Et(c.from-i.start,c.to-i.start)),i.target,u[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}}function Sk(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function ed(t,e,i,n,r,s){if(e=e&&i.enter(n,1,xe.IgnoreOverlays|xe.ExcludeBuffers)||i.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof ie)i=i.children[0];else break}return!1}}let _k=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(vu))!==null&&i!==void 0?i:n.to,this.inner=new td(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(vu))!==null&&e!==void 0?e:i.to,this.inner=new td(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(n=s.tree)===null||n===void 0?void 0:n.prop(G.mounted);if(o&&o.parser==i)for(let l=this.fragI;l=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:o})}}}return r}};function id(t,e){let i=null,n=e;for(let r=1,s=0;r=l)break;a.to<=o||(i||(n=i=e.slice()),a.froml&&i.splice(s+1,0,new Et(l,a.to))):a.to>l?i[s--]=new Et(l,a.to):i.splice(s--,1))}}return n}function $k(t,e,i,n){let r=0,s=0,o=!1,l=!1,a=-1e9,u=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,h=s==e.length?1e9:l?e[s].to:e[s].from;if(o!=l){let f=Math.max(a,i),d=Math.min(c,h,n);fnew Et(f.from+n,f.to+n)),h=$k(e,c,a,u);for(let f=0,d=a;;f++){let p=f==h.length,m=p?u:h[f].from;if(m>d&&i.push(new Pi(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=h[f].to}}else i.push(new Pi(a,u,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return i}let Pk=0;class Ht{constructor(e,i,n){this.set=e,this.base=i,this.modified=n,this.id=Pk++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new Ht([],null,[]);if(i.set.push(i),e)for(let n of e.set)i.set.push(n);return i}static defineModifier(){let e=new rl;return i=>i.modified.indexOf(e)>-1?i:rl.get(i.base||i,i.modified.concat(e).sort((n,r)=>n.id-r.id))}}let Ck=0;class rl{constructor(){this.instances=[],this.id=Ck++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(l=>l.base==e&&Qk(i,l.modified));if(n)return n;let r=[],s=new Ht(r,e,i);for(let l of i)l.instances.push(s);let o=Ak(i);for(let l of e.set)if(!l.modified.length)for(let a of o)r.push(rl.get(l,a));return s}}function Qk(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function Ak(t){let e=[[]];for(let i=0;in.length-i.length)}function yr(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let s=[],o=2,l=r;for(let h=0;;){if(l=="..."&&h>0&&h+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==r.length)break;let d=r[h++];if(h==r.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+r);l=r.slice(h)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let c=new sl(n,o,a>0?s.slice(0,a):null);e[u]=c.sort(e[u])}}return zm.add(e)}const zm=new G;class sl{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let l of s)for(let a of l.set){let u=i[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:n}}function Tk(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function Ek(t,e,i,n=0,r=t.length){let s=new Zk(n,Array.isArray(e)?e:[e],i);s.highlightRange(t.cursor(),n,r,"",s.highlighters),s.flush(r)}class Zk{constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=i)return;o.isTop&&(s=this.highlighters.filter(d=>!d.scope||d.scope(o)));let u=r,c=Dk(e)||sl.empty,h=Tk(s,c.tags);if(h&&(u&&(u+=" "),u+=h,c.mode==1&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(i,l),u),c.opaque)return;let f=e.tree&&e.tree.prop(G.mounted);if(f&&f.overlay){let d=e.node.enter(f.overlay[0].from+l,1),p=this.highlighters.filter(g=>!g.scope||g.scope(f.tree.type)),m=e.firstChild();for(let g=0,O=l;;g++){let y=g=k||!e.nextSibling())););if(!y||k>n)break;O=y.to+l,O>i&&(this.highlightRange(d.cursor(),Math.max(i,y.from+l),Math.min(n,O),"",p),this.startSpan(Math.min(n,O),u))}m&&e.parent()}else if(e.firstChild()){f&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function Dk(t){let e=t.type.prop(zm);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const V=Ht.define,co=V(),Wi=V(),rd=V(Wi),sd=V(Wi),Fi=V(),ho=V(Fi),oa=V(Fi),li=V(),hn=V(li),si=V(),oi=V(),Su=V(),Tr=V(Su),fo=V(),b={comment:co,lineComment:V(co),blockComment:V(co),docComment:V(co),name:Wi,variableName:V(Wi),typeName:rd,tagName:V(rd),propertyName:sd,attributeName:V(sd),className:V(Wi),labelName:V(Wi),namespace:V(Wi),macroName:V(Wi),literal:Fi,string:ho,docString:V(ho),character:V(ho),attributeValue:V(ho),number:oa,integer:V(oa),float:V(oa),bool:V(Fi),regexp:V(Fi),escape:V(Fi),color:V(Fi),url:V(Fi),keyword:si,self:V(si),null:V(si),atom:V(si),unit:V(si),modifier:V(si),operatorKeyword:V(si),controlKeyword:V(si),definitionKeyword:V(si),moduleKeyword:V(si),operator:oi,derefOperator:V(oi),arithmeticOperator:V(oi),logicOperator:V(oi),bitwiseOperator:V(oi),compareOperator:V(oi),updateOperator:V(oi),definitionOperator:V(oi),typeOperator:V(oi),controlOperator:V(oi),punctuation:Su,separator:V(Su),bracket:Tr,angleBracket:V(Tr),squareBracket:V(Tr),paren:V(Tr),brace:V(Tr),content:li,heading:hn,heading1:V(hn),heading2:V(hn),heading3:V(hn),heading4:V(hn),heading5:V(hn),heading6:V(hn),contentSeparator:V(li),list:V(li),quote:V(li),emphasis:V(li),strong:V(li),link:V(li),monospace:V(li),strikethrough:V(li),inserted:V(),deleted:V(),changed:V(),invalid:V(),meta:fo,documentMeta:V(fo),annotation:V(fo),processingInstruction:V(fo),definition:Ht.defineModifier(),constant:Ht.defineModifier(),function:Ht.defineModifier(),standard:Ht.defineModifier(),local:Ht.defineModifier(),special:Ht.defineModifier()};jm([{tag:b.link,class:"tok-link"},{tag:b.heading,class:"tok-heading"},{tag:b.emphasis,class:"tok-emphasis"},{tag:b.strong,class:"tok-strong"},{tag:b.keyword,class:"tok-keyword"},{tag:b.atom,class:"tok-atom"},{tag:b.bool,class:"tok-bool"},{tag:b.url,class:"tok-url"},{tag:b.labelName,class:"tok-labelName"},{tag:b.inserted,class:"tok-inserted"},{tag:b.deleted,class:"tok-deleted"},{tag:b.literal,class:"tok-literal"},{tag:b.string,class:"tok-string"},{tag:b.number,class:"tok-number"},{tag:[b.regexp,b.escape,b.special(b.string)],class:"tok-string2"},{tag:b.variableName,class:"tok-variableName"},{tag:b.local(b.variableName),class:"tok-variableName tok-local"},{tag:b.definition(b.variableName),class:"tok-variableName tok-definition"},{tag:b.special(b.variableName),class:"tok-variableName2"},{tag:b.definition(b.propertyName),class:"tok-propertyName tok-definition"},{tag:b.typeName,class:"tok-typeName"},{tag:b.namespace,class:"tok-namespace"},{tag:b.className,class:"tok-className"},{tag:b.macroName,class:"tok-macroName"},{tag:b.propertyName,class:"tok-propertyName"},{tag:b.operator,class:"tok-operator"},{tag:b.comment,class:"tok-comment"},{tag:b.meta,class:"tok-meta"},{tag:b.invalid,class:"tok-invalid"},{tag:b.punctuation,class:"tok-punctuation"}]);var la;const Hi=new G;function Ll(t){return N.define({combine:t?e=>e.concat(t):void 0})}const bc=new G;class Ct{constructor(e,i,n=[],r=""){this.data=e,this.name=r,oe.prototype.hasOwnProperty("tree")||Object.defineProperty(oe.prototype,"tree",{get(){return Ze(this)}}),this.parser=i,this.extension=[cr.of(this),oe.languageData.of((s,o,l)=>{let a=od(s,o,l),u=a.type.prop(Hi);if(!u)return[];let c=s.facet(u),h=a.type.prop(bc);if(h){let f=a.resolve(o-a.from,l);for(let d of h)if(d.test(f,s)){let p=s.facet(d.facet);return d.type=="replace"?p:p.concat(c)}}return c})].concat(n)}isActiveAt(e,i,n=-1){return od(e,i,n).type.prop(Hi)==this.data}findRegions(e){let i=e.facet(cr);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(s,o)=>{if(s.prop(Hi)==this.data){n.push({from:o,to:o+s.length});return}let l=s.prop(G.mounted);if(l){if(l.tree.prop(Hi)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+s.length});return}else if(l.overlay){let a=n.length;if(r(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?i:void 0)]}),e.name)}configure(e,i){return new ar(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ze(t){let e=t.field(Ct.state,!1);return e?e.tree:ie.empty}class Rk{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}}let Er=null;class $n{constructor(e,i,n=[],r,s,o,l,a){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new $n(e,i,[],ie.empty,0,n,[],null)}startParse(){return this.parser.startParse(new Rk(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=ie.empty&&this.isDone(i??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(Pi.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Er;Er=this;try{return e()}finally{Er=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=ld(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,h,f)=>a.push({fromA:u,toA:c,fromB:h,toB:f})),n=Pi.applyChanges(n,a),r=ie.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),h=e.mapPos(u.to,-1);ce.from&&(this.fragments=ld(this.fragments,r,s),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends Il{createParse(i,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let a=Er;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new ie(Me.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Er}}function ld(t,e,i){return Pi.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class ur{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new ur(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=$n.create(e.facet(cr).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new ur(n)}}Ct.state=Mt.define({create:ur.init,update(t,e){for(let i of e.effects)if(i.is(Ct.setState))return i.value;return e.startState.facet(cr)!=e.state.facet(cr)?ur.init(e.state):t.apply(e)}});let Bm=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Bm=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const aa=typeof navigator<"u"&&(!((la=navigator.scheduling)===null||la===void 0)&&la.isInputPending)?()=>navigator.scheduling.isInputPending():null,Ik=Lt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(Ct.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(Ct.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=Bm(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>aa&&aa()||Date.now()>o,r+(l?0:1e5));this.chunkBudget-=Date.now()-i,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Ct.setState.of(new ur(s.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>Tt(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),cr=N.define({combine(t){return t.length?t[0]:null},enables:t=>[Ct.state,Ik,j.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class hr{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}}class P{constructor(e,i,n,r,s,o=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(s=>s==i))return r;if(n)for(let r of e)for(let s of r.alias){let o=i.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(i[o-1])&&!/\w/.test(i[o+s.length])))return r}return null}}const qm=N.define(),xr=N.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function Pn(t){let e=t.facet(xr);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function ol(t,e){let i="",n=t.tabSize,r=t.facet(xr)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let s=0;s=e?Lk(t,i,e):null}class Xl{constructor(e,i={}){this.state=e,this.options=i,this.unit=Pn(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(i<0?r-1&&(s+=o-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,i=e.length){return Ci(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ds=new G;function Lk(t,e,i){let n=e.resolveStack(i),r=n.node.enterUnfinishedNodesBefore(i);if(r!=n.node){let s=[];for(let o=r;o!=n.node;o=o.parent)s.push(o);for(let o=s.length-1;o>=0;o--)n={node:s[o],next:n}}return Nm(n,t,i)}function Nm(t,e,i){for(let n=t;n;n=n.next){let r=Mk(n.node);if(r)return r(yc.create(e,i,n))}return 0}function Xk(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function Mk(t){let e=t.type.prop(Ds);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(G.closedBy))){let r=t.lastChild,s=r&&n.indexOf(r.name)>-1;return o=>Um(o,!0,1,void 0,s&&!Xk(o)?r.from:void 0)}return t.parent==null?Vk:null}function Vk(){return 0}class yc extends Xl{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new yc(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Wk(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return Nm(this.context.next,this.base,this.pos)}}function Wk(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function Fk(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(i.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let l=i.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped)return a.fromUm(n,e,i,t)}function Um(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=n&&s.slice(o,o+n.length)==n||r==t.pos+o,a=e?Fk(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*i)}const jk=t=>t.baseIndent;function Xo({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const Bk=N.define(),Rs=new G;function Gm(t){let e=t.firstChild,i=t.lastChild;return e&&e.tol.prop(Hi)==o.data:o?l=>l==o:void 0,this.style=jm(e.map(l=>({tag:l.tag,class:l.class||r(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new nn(n):null,this.themeType=i.themeType}static define(e,i){return new kr(e,i||{})}}const wu=N.define(),qk=N.define({combine(t){return t.length?[t[0]]:null}});function ua(t){let e=t.facet(wu);return e.length?e:t.facet(qk)}function Hm(t,e){let i=[Nk],n;return t instanceof kr&&(t.module&&i.push(j.styleModule.of(t.module)),n=t.themeType),n?i.push(wu.computeN([j.darkTheme],r=>r.facet(j.darkTheme)==(n=="dark")?[t]:[])):i.push(wu.of(t)),i}class Yk{constructor(e){this.markCache=Object.create(null),this.tree=Ze(e.state),this.decorations=this.buildDeco(e,ua(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=Ze(e.state),n=ua(e.state),r=n!=ua(e.startState),{viewport:s}=e.view,o=e.changes.mapPos(this.decoratedTo,1);i.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,i){if(!i||!this.tree.length)return he.none;let n=new rr;for(let{from:r,to:s}of e.visibleRanges)Ek(this.tree,i,(o,l,a)=>{n.add(o,l,this.markCache[a]||(this.markCache[a]=he.mark({class:a})))},r,s);return n.finish()}}const Nk=an.high(Lt.fromClass(Yk,{decorations:t=>t.decorations}));b.meta,b.link,b.heading,b.emphasis,b.strong,b.strikethrough,b.keyword,b.atom,b.bool,b.url,b.contentSeparator,b.labelName,b.literal,b.inserted,b.string,b.deleted,b.regexp,b.escape,b.string,b.variableName,b.variableName,b.typeName,b.namespace,b.className,b.variableName,b.macroName,b.propertyName,b.comment,b.invalid;const Uk=1e4,Gk="()[]{}",Km=new G;function _u(t,e,i){let n=t.prop(e<0?G.openedBy:G.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function $u(t){let e=t.type.prop(Km);return e?e(t.node):t}function Wn(t,e,i,n={}){let r=n.maxScanDistance||Uk,s=n.brackets||Gk,o=Ze(t),l=o.resolveInner(e,i);for(let a=l;a;a=a.parent){let u=_u(a.type,i,s);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return Hk(t,e,i,a,c,u,s)}}return Kk(t,e,i,o,l.type,r,s)}function Hk(t,e,i,n,r,s,o){let l=n.parent,a={from:r.from,to:r.to},u=0,c=l==null?void 0:l.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),h=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;i<0&&(f+=d.length);let p=e+f*i;for(let m=i>0?0:d.length-1,g=i>0?d.length:-1;m!=g;m+=i){let O=o.indexOf(d[m]);if(!(O<0||n.resolveInner(p+m,1).type!=r))if(O%2==0==i>0)h++;else{if(h==1)return{start:u,end:{from:p+m,to:p+m+1},matched:O>>1==a>>1};h--}}i>0&&(f+=d.length)}return c.done?{start:u,matched:!1}:null}function ad(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posi}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function Jk(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||e2,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||vc}}function e2(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}const ud=new WeakMap;class xc extends Ct{constructor(e){let i=Ll(e.languageData),n=Jk(e),r,s=new class extends Il{createParse(o,l,a){return new i2(r,o,l,a)}};super(i,s,[qm.of((o,l)=>this.getIndent(o,l))],e.name),this.topNode=s2(i),r=this,this.streamParser=n,this.stateAfter=new G({perNode:!0}),this.tokenTable=e.tokenTable?new nO(n.tokenTable):r2}static define(e){return new xc(e)}getIndent(e,i){let n=Ze(e.state),r=n.resolve(i);for(;r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;let s,{overrideIndentation:o}=e.options;o&&(s=ud.get(e.state),s!=null&&s1e4)return null;for(;a=n&&i+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:i+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=i+e.positions[o],u=l instanceof ie&&a=e.length)return e;!r&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],l=e.children[s],a;if(oi&&kc(t,r.tree,0-r.offset,i,o),a;if(l&&(a=eO(t,r.tree,i+r.offset,l.pos+r.offset,!1)))return{state:l.state,tree:a}}return{state:t.streamParser.startState(n?Pn(n):4),tree:ie.empty}}let i2=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=$n.get(),o=r[0].from,{state:l,tree:a}=t2(e,n,o,s==null?void 0:s.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let u=0;u=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==` `&&(i="");else{let n=i.indexOf(` -`);n>-1&&(i=i.slice(0,n))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),n=e+i.length;for(let r=this.rangeIndex;;){let s=this.ranges[r].to;if(s>=n||(i=i.slice(0,s-(n-i.length)),r++,r==this.ranges.length))break;let o=this.ranges[r].from,l=this.lineAfter(o);i+=l,n=o+l.length}return{line:i,end:n}}skipGapsTo(e,i,n){for(;;){let r=this.ranges[this.rangeIndex].to,s=e+i;if(n>0?r>s:r>=s)break;let o=this.ranges[++this.rangeIndex].from;i+=o-r}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){s=this.skipGapsTo(i,s,1),i+=s;let o=this.chunk.length;s=this.skipGapsTo(n,s,-1),n+=s,r+=this.chunk.length-o}return this.chunk.push(e,i,n,r),s}parseLine(e){let{line:i,end:n}=this.nextLine(),r=0,{streamParser:s}=this.lang,o=new Jm(i,e?e.state.tabSize:4,e?Pn(e.state):2);if(o.eol())s.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let l=tO(s.token,o,this.state);if(l&&(r=this.emitToken(this.lang.tokenTable.resolve(l),this.parsedPos+o.start,this.parsedPos+o.pos,4,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPose.start)return r}throw new Error("Stream parser failed to advance stream.")}const vc=Object.create(null),cs=[Me.none],n2=new br(cs),cd=[],hd=Object.create(null),iO=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])iO[t]=rO(vc,e);class nO{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),iO)}resolve(e){return e?this.table[e]||(this.table[e]=rO(this.extra,e)):0}}const r2=new nO(vc);function ca(t,e){cd.indexOf(t)>-1||(cd.push(t),console.warn(e))}function rO(t,e){let i=[];for(let l of e.split(" ")){let a=[];for(let u of l.split(".")){let c=t[u]||b[u];c?typeof c=="function"?a.length?a=a.map(c):ca(u,`Modifier ${u} used at start of tag`):a.length?ca(u,`Tag ${u} used as modifier`):a=Array.isArray(c)?c:[c]:ca(u,`Unknown highlighting tag ${u}`)}for(let u of a)i.push(u)}if(!i.length)return 0;let n=e.replace(/ /g,"_"),r=n+" "+i.map(l=>l.id),s=hd[r];if(s)return s.id;let o=hd[r]=Me.define({id:cs.length,name:n,props:[yr({[n]:i})]});return cs.push(o),o.id}function s2(t){let e=Me.define({id:cs.length,name:"Document",props:[Hi.add(()=>t)],top:!0});return cs.push(e),e}Xe.RTL,Xe.LTR;const o2=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),n=wc(t.state,i.from);return n.line?l2(t):n.block?u2(t):!1};function Sc(t,e){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;let r=t(e,i);return r?(n(i.update(r)),!0):!1}}const l2=Sc(f2,0),a2=Sc(sO,0),u2=Sc((t,e)=>sO(t,e,h2(e)),0);function wc(t,e){let i=t.languageDataAt("commentTokens",e);return i.length?i[0]:{}}const Zr=50;function c2(t,{open:e,close:i},n,r){let s=t.sliceDoc(n-Zr,n),o=t.sliceDoc(r,r+Zr),l=/\s*$/.exec(s)[0].length,a=/^\s*/.exec(o)[0].length,u=s.length-l;if(s.slice(u-e.length,u)==e&&o.slice(a,a+i.length)==i)return{open:{pos:n-l,margin:l&&1},close:{pos:r+a,margin:a&&1}};let c,h;r-n<=2*Zr?c=h=t.sliceDoc(n,r):(c=t.sliceDoc(n,n+Zr),h=t.sliceDoc(r-Zr,r));let f=/^\s*/.exec(c)[0].length,d=/\s*$/.exec(h)[0].length,p=h.length-d-i.length;return c.slice(f,f+e.length)==e&&h.slice(p,p+i.length)==i?{open:{pos:n+f+e.length,margin:/\s/.test(c.charAt(f+e.length))?1:0},close:{pos:r-d-i.length,margin:/\s/.test(h.charAt(p-1))?1:0}}:null}function h2(t){let e=[];for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),r=i.to<=n.to?n:t.doc.lineAt(i.to),s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=r.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:r.to})}return e}function sO(t,e,i=e.selection.ranges){let n=i.map(s=>wc(e,s.from).block);if(!n.every(s=>s))return null;let r=i.map((s,o)=>c2(e,n[o],s.from,s.to));if(t!=2&&!r.every(s=>s))return{changes:e.changes(i.map((s,o)=>r[o]?[]:[{from:s.from,insert:n[o].open+" "},{from:s.to,insert:" "+n[o].close}]))};if(t!=1&&r.some(s=>s)){let s=[];for(let o=0,l;or&&(s==o||o>h.from)){r=h.from;let f=/^\s*/.exec(h.text)[0].length,d=f==h.length,p=h.text.slice(f,f+u.length)==u?f:-1;fs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:l,token:a,indent:u,empty:c,single:h}of n)(h||!c)&&s.push({from:l.from+u,insert:a+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(t!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:l,token:a}of n)if(l>=0){let u=o.from+l,c=u+a.length;o.text[c-o.from]==" "&&c++,s.push({from:u,to:c})}return{changes:s}}return null}const Pu=Ei.define(),d2=Ei.define(),p2=N.define(),oO=N.define({combine(t){return lc(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(n,r)=>e(n,r)||i(n,r)})}}),lO=Mt.define({create(){return pi.empty},update(t,e){let i=e.state.facet(oO),n=e.annotation(Pu);if(n){let a=gt.fromTransaction(e,n.selection),u=n.side,c=u==0?t.undone:t.done;return a?c=al(c,c.length,i.minDepth,a):c=uO(c,e.startState.selection),new pi(u==0?n.rest:c,u==0?c:n.rest)}let r=e.annotation(d2);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation(Le.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=gt.fromTransaction(e),o=e.annotation(Le.time),l=e.annotation(Le.userEvent);return s?t=t.addChanges(s,o,l,i,e):e.selection&&(t=t.addSelection(e.startState.selection,o,l,i.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new pi(t.done.map(gt.fromJSON),t.undone.map(gt.fromJSON))}});function fd(t={}){return[lO,oO.of(t),j.domEventHandlers({beforeinput(e,i){let n=e.inputType=="historyUndo"?_c:e.inputType=="historyRedo"?ll:null;return n?(e.preventDefault(),n(i)):!1}})]}function Ml(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly)return!1;let r=i.field(lO,!1);if(!r)return!1;let s=r.pop(t,i,e);return s?(n(s),!0):!1}}const _c=Ml(0,!1),ll=Ml(1,!1),m2=Ml(0,!0),O2=Ml(1,!0);class gt{constructor(e,i,n,r,s){this.changes=e,this.effects=i,this.mapped=n,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new gt(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new gt(e.changes&&Fe.fromJSON(e.changes),[],e.mapped&&gi.fromJSON(e.mapped),e.startSelection&&T.fromJSON(e.startSelection),e.selectionsAfter.map(T.fromJSON))}static fromTransaction(e,i){let n=Zt;for(let r of e.startState.facet(p2)){let s=r(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new gt(e.changes.invert(e.startState.doc),n,void 0,i||e.startState.selection,Zt)}static selection(e){return new gt(void 0,Zt,void 0,void 0,e)}}function al(t,e,i,n){let r=e+1>i+20?e-i-1:0,s=t.slice(r,e);return s.push(n),s}function g2(t,e){let i=[],n=!1;return t.iterChangedRanges((r,s)=>i.push(r,s)),e.iterChangedRanges((r,s,o,l)=>{for(let a=0;a=u&&o<=c&&(n=!0)}}),n}function b2(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,n)=>i.empty!=e.ranges[n].empty).length===0}function aO(t,e){return t.length?e.length?t.concat(e):t:e}const Zt=[],y2=200;function uO(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-y2));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),al(t,t.length-1,1e9,i.setSelAfter(n)))}else return[gt.selection([e])]}function x2(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function ha(t,e){if(!t.length)return t;let i=t.length,n=Zt;for(;i;){let r=k2(t[i-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,i);return s[i-1]=r,s}else e=r.mapped,i--,n=r.selectionsAfter}return n.length?[gt.selection(n)]:Zt}function k2(t,e,i){let n=aO(t.selectionsAfter.length?t.selectionsAfter.map(l=>l.map(e)):Zt,i);if(!t.changes)return gt.selection(n);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(s):s;return new gt(r,ce.mapEffects(t.effects,e),o,t.startSelection.map(s),n)}const v2=/^(input\.type|delete)($|\.)/;class pi{constructor(e,i,n=0,r=void 0){this.done=e,this.undone=i,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new pi(this.done,this.undone):this}addChanges(e,i,n,r,s){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||v2.test(n))&&(!l.selectionsAfter.length&&i-this.prevTime0&&i-this.prevTimei.empty?t.moveByChar(i,e):Vl(i,e))}function st(t){return t.textDirectionAt(t.state.selection.main.head)==Xe.LTR}const hO=t=>cO(t,!st(t)),fO=t=>cO(t,st(t));function dO(t,e){return ti(t,i=>i.empty?t.moveByGroup(i,e):Vl(i,e))}const w2=t=>dO(t,!st(t)),_2=t=>dO(t,st(t));function $2(t,e,i){if(e.type.prop(i))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function Wl(t,e,i){let n=Ze(t).resolveInner(e.head),r=i?G.closedBy:G.openedBy;for(let a=e.head;;){let u=i?n.childAfter(a):n.childBefore(a);if(!u)break;$2(t,u,r)?n=u:a=i?u.to:u.from}let s=n.type.prop(r),o,l;return s&&(o=i?Wn(t,n.from,1):Wn(t,n.to,-1))&&o.matched?l=i?o.end.to:o.end.from:l=i?n.to:n.from,T.cursor(l,i?-1:1)}const P2=t=>ti(t,e=>Wl(t.state,e,!st(t))),C2=t=>ti(t,e=>Wl(t.state,e,st(t)));function pO(t,e){return ti(t,i=>{if(!i.empty)return Vl(i,e);let n=t.moveVertically(i,e);return n.head!=i.head?n:t.moveToLineBoundary(i,e)})}const mO=t=>pO(t,!1),OO=t=>pO(t,!0);function gO(t){let e=t.scrollDOM.clientHeighto.empty?t.moveVertically(o,e,i.height):Vl(o,e));if(r.eq(n.selection))return!1;let s;if(i.selfScroll){let o=t.coordsAtPos(n.selection.main.head),l=t.scrollDOM.getBoundingClientRect(),a=l.top+i.marginTop,u=l.bottom-i.marginBottom;o&&o.top>a&&o.bottombO(t,!1),Cu=t=>bO(t,!0);function un(t,e,i){let n=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?n.to:n.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==n.from&&n.length){let s=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(r=T.cursor(n.from+s))}return r}const Q2=t=>ti(t,e=>un(t,e,!0)),A2=t=>ti(t,e=>un(t,e,!1)),T2=t=>ti(t,e=>un(t,e,!st(t))),E2=t=>ti(t,e=>un(t,e,st(t))),Z2=t=>ti(t,e=>T.cursor(t.lineBlockAt(e.head).from,1)),D2=t=>ti(t,e=>T.cursor(t.lineBlockAt(e.head).to,-1));function R2(t,e,i){let n=!1,r=vr(t.selection,s=>{let o=Wn(t,s.head,-1)||Wn(t,s.head,1)||s.head>0&&Wn(t,s.head-1,1)||s.headR2(t,e);function Vt(t,e){let i=vr(t.state.selection,n=>{let r=e(n);return T.range(n.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return i.eq(t.state.selection)?!1:(t.dispatch(yi(t.state,i)),!0)}function yO(t,e){return Vt(t,i=>t.moveByChar(i,e))}const xO=t=>yO(t,!st(t)),kO=t=>yO(t,st(t));function vO(t,e){return Vt(t,i=>t.moveByGroup(i,e))}const L2=t=>vO(t,!st(t)),X2=t=>vO(t,st(t)),M2=t=>Vt(t,e=>Wl(t.state,e,!st(t))),V2=t=>Vt(t,e=>Wl(t.state,e,st(t)));function SO(t,e){return Vt(t,i=>t.moveVertically(i,e))}const wO=t=>SO(t,!1),_O=t=>SO(t,!0);function $O(t,e){return Vt(t,i=>t.moveVertically(i,e,gO(t).height))}const pd=t=>$O(t,!1),md=t=>$O(t,!0),W2=t=>Vt(t,e=>un(t,e,!0)),F2=t=>Vt(t,e=>un(t,e,!1)),z2=t=>Vt(t,e=>un(t,e,!st(t))),j2=t=>Vt(t,e=>un(t,e,st(t))),B2=t=>Vt(t,e=>T.cursor(t.lineBlockAt(e.head).from)),q2=t=>Vt(t,e=>T.cursor(t.lineBlockAt(e.head).to)),Od=({state:t,dispatch:e})=>(e(yi(t,{anchor:0})),!0),gd=({state:t,dispatch:e})=>(e(yi(t,{anchor:t.doc.length})),!0),bd=({state:t,dispatch:e})=>(e(yi(t,{anchor:t.selection.main.anchor,head:0})),!0),yd=({state:t,dispatch:e})=>(e(yi(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),Y2=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),N2=({state:t,dispatch:e})=>{let i=Fl(t).map(({from:n,to:r})=>T.range(n,Math.min(r+1,t.doc.length)));return e(t.update({selection:T.create(i),userEvent:"select"})),!0},U2=({state:t,dispatch:e})=>{let i=vr(t.selection,n=>{var r;let s=Ze(t).resolveStack(n.from,1);for(let o=s;o;o=o.next){let{node:l}=o;if((l.from=n.to||l.to>n.to&&l.from<=n.from)&&(!((r=l.parent)===null||r===void 0)&&r.parent))return T.range(l.to,l.from)}return n});return e(yi(t,i)),!0},G2=({state:t,dispatch:e})=>{let i=t.selection,n=null;return i.ranges.length>1?n=T.create([i.main]):i.main.empty||(n=T.create([T.cursor(i.main.head)])),n?(e(yi(t,n)),!0):!1};function Is(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:n}=t,r=n.changeByRange(s=>{let{from:o,to:l}=s;if(o==l){let a=e(s);ao&&(i="delete.forward",a=po(t,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=po(t,o,!1),l=po(t,l,!0);return o==l?{range:s}:{changes:{from:o,to:l},range:T.cursor(o,or(t)))n.between(e,e,(r,s)=>{re&&(e=i?s:r)});return e}const PO=(t,e)=>Is(t,i=>{let n=i.from,{state:r}=t,s=r.doc.lineAt(n),o,l;if(!e&&n>s.from&&nPO(t,!1),CO=t=>PO(t,!0),QO=(t,e)=>Is(t,i=>{let n=i.head,{state:r}=t,s=r.doc.lineAt(n),o=r.charCategorizer(n);for(let l=null;;){if(n==(e?s.to:s.from)){n==i.head&&s.number!=(e?r.doc.lines:1)&&(n+=e?1:-1);break}let a=He(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,a)-s.from,Math.max(n,a)-s.from),c=o(u);if(l!=null&&c!=l)break;(u!=" "||n!=i.head)&&(l=c),n=a}return n}),AO=t=>QO(t,!1),H2=t=>QO(t,!0),K2=t=>Is(t,e=>{let i=t.lineBlockAt(e.head).to;return e.headIs(t,e=>{let i=t.moveToLineBoundary(e,!1).head;return e.head>i?i:Math.max(0,e.head-1)}),ev=t=>Is(t,e=>{let i=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let i=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:ue.of(["",""])},range:T.cursor(n.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},iv=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let r=n.from,s=t.doc.lineAt(r),o=r==s.from?r-1:He(s.text,r-s.from,!1)+s.from,l=r==s.to?r+1:He(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:l,insert:t.doc.slice(r,l).append(t.doc.slice(o,r))},range:T.cursor(l)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Fl(t){let e=[],i=-1;for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),s=t.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=t.doc.lineAt(n.to-1)),i>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(n)}else e.push({from:r.from,to:s.to,ranges:[n]});i=s.number+1}return e}function TO(t,e,i){if(t.readOnly)return!1;let n=[],r=[];for(let s of Fl(t)){if(i?s.to==t.doc.length:s.from==0)continue;let o=t.doc.lineAt(i?s.to+1:s.from-1),l=o.length+1;if(i){n.push({from:s.to,to:o.to},{from:s.from,insert:o.text+t.lineBreak});for(let a of s.ranges)r.push(T.range(Math.min(t.doc.length,a.anchor+l),Math.min(t.doc.length,a.head+l)))}else{n.push({from:o.from,to:s.from},{from:s.to,insert:t.lineBreak+o.text});for(let a of s.ranges)r.push(T.range(a.anchor-l,a.head-l))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:T.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const nv=({state:t,dispatch:e})=>TO(t,e,!1),rv=({state:t,dispatch:e})=>TO(t,e,!0);function EO(t,e,i){if(t.readOnly)return!1;let n=[];for(let r of Fl(t))i?n.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):n.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const sv=({state:t,dispatch:e})=>EO(t,e,!1),ov=({state:t,dispatch:e})=>EO(t,e,!0),ZO=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(Fl(e).map(({from:r,to:s})=>(r>0?r--:st.moveVertically(r,!0)).map(i);return t.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function lv(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=Ze(t).resolveInner(e),n=i.childBefore(e),r=i.childAfter(e),s;return n&&r&&n.to<=e&&r.from>=e&&(s=n.type.prop(G.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(n.to,r.from))?{from:n.to,to:r.from}:null}const av=DO(!1),uv=DO(!0);function DO(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{let{from:s,to:o}=r,l=e.doc.lineAt(s),a=!t&&s==o&&lv(e,s);t&&(s=o=(o<=l.to?l:e.doc.lineAt(o)).to);let u=new Xl(e,{simulateBreak:s,simulateDoubleBreak:!!a}),c=Ym(u,s);for(c==null&&(c=Ci(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));ol.from&&s{let r=[];for(let o=n.from;o<=n.to;){let l=t.doc.lineAt(o);l.number>i&&(n.empty||n.to>l.from)&&(e(l,r,n),i=l.number),o=l.to+1}let s=t.changes(r);return{changes:r,range:T.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const cv=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),n=new Xl(t,{overrideIndentation:s=>{let o=i[s];return o??-1}}),r=$c(t,(s,o,l)=>{let a=Ym(n,s.from);if(a==null)return;/\S/.test(s.text)||(a=0);let u=/^\s*/.exec(s.text)[0],c=ol(t,a);(u!=c||l.fromt.readOnly?!1:(e(t.update($c(t,(i,n)=>{n.push({from:i.from,insert:t.facet(xr)})}),{userEvent:"input.indent"})),!0),IO=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update($c(t,(i,n)=>{let r=/^\s*/.exec(i.text)[0];if(!r)return;let s=Ci(r,t.tabSize),o=0,l=ol(t,Math.max(0,s-Pn(t)));for(;o({mac:t.key,run:t.run,shift:t.shift}))),dv=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:P2,shift:M2},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:C2,shift:V2},{key:"Alt-ArrowUp",run:nv},{key:"Shift-Alt-ArrowUp",run:sv},{key:"Alt-ArrowDown",run:rv},{key:"Shift-Alt-ArrowDown",run:ov},{key:"Escape",run:G2},{key:"Mod-Enter",run:uv},{key:"Alt-l",mac:"Ctrl-l",run:N2},{key:"Mod-i",run:U2,preventDefault:!0},{key:"Mod-[",run:IO},{key:"Mod-]",run:RO},{key:"Mod-Alt-\\",run:cv},{key:"Shift-Mod-k",run:ZO},{key:"Shift-Mod-\\",run:I2},{key:"Mod-/",run:o2},{key:"Alt-A",run:a2}].concat(fv),pv={key:"Tab",run:RO,shift:IO};function tt(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var r=i[n];typeof r=="string"?t.setAttribute(n,r):r!=null&&(t[n]=r)}e++}for(;et.normalize("NFKD"):t=>t;class hs{constructor(e,i,n=0,r=e.length,s,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=s?l=>s(xd(l)):xd,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Gt(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=wp(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=_i(e);let r=this.normalize(i);for(let s=0,o=n;;s++){let l=r.charCodeAt(s),a=this.match(l,o,this.bufferPos+this.bufferStart);if(s==r.length-1){if(a)return this.value=a,this;break}o==n&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let n=this.curLineStart+i.index,r=n+i[0].length;if(this.matchPos=ul(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||r.to<=i){let l=new Nn(i,e.sliceString(i,n));return fa.set(e,l),l}if(r.from==i&&r.to==n)return r;let{text:s,from:o}=r;return o>i&&(s=e.sliceString(i,o)+s,o=i),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let n=this.flat.from+i.index,r=n+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},this.matchPos=ul(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Nn.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(MO.prototype[Symbol.iterator]=VO.prototype[Symbol.iterator]=function(){return this});function mv(t){try{return new RegExp(t,Pc),!0}catch{return!1}}function ul(t,e){if(e>=t.length)return e;let i=t.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}function Au(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),i=tt("input",{class:"cm-textfield",name:"line",value:e}),n=tt("form",{class:"cm-gotoLine",onkeydown:s=>{s.keyCode==27?(s.preventDefault(),t.dispatch({effects:cl.of(!1)}),t.focus()):s.keyCode==13&&(s.preventDefault(),r())},onsubmit:s=>{s.preventDefault(),r()}},tt("label",t.state.phrase("Go to line"),": ",i)," ",tt("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function r(){let s=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.value);if(!s)return;let{state:o}=t,l=o.doc.lineAt(o.selection.main.head),[,a,u,c,h]=s,f=c?+c.slice(1):0,d=u?+u:l.number;if(u&&h){let g=d/100;a&&(g=g*(a=="-"?-1:1)+l.number/o.doc.lines),d=Math.round(o.doc.lines*g)}else u&&a&&(d=d*(a=="-"?-1:1)+l.number);let p=o.doc.line(Math.max(1,Math.min(o.doc.lines,d))),m=T.cursor(p.from+Math.max(0,Math.min(f,p.length)));t.dispatch({effects:[cl.of(!1),j.scrollIntoView(m.from,{y:"center"})],selection:m}),t.focus()}return{dom:n}}const cl=ce.define(),kd=Mt.define({create(){return!0},update(t,e){for(let i of e.effects)i.is(cl)&&(t=i.value);return t},provide:t=>il.from(t,e=>e?Au:null)}),Ov=t=>{let e=tl(t,Au);if(!e){let i=[cl.of(!0)];t.state.field(kd,!1)==null&&i.push(ce.appendConfig.of([kd,gv])),t.dispatch({effects:i}),e=tl(t,Au)}return e&&e.dom.querySelector("input").select(),!0},gv=j.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),bv=({state:t,dispatch:e})=>{let{selection:i}=t,n=T.create(i.ranges.map(r=>t.wordAt(r.head)||T.cursor(r.head)),i.mainIndex);return n.eq(i)?!1:(e(t.update({selection:n})),!0)};function yv(t,e){let{main:i,ranges:n}=t.selection,r=t.wordAt(i.head),s=r&&r.from==i.from&&r.to==i.to;for(let o=!1,l=new hs(t.doc,e,n[n.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new hs(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),o=!0}else{if(o&&n.some(a=>a.from==l.value.from))continue;if(s){let a=t.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}const xv=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(s=>s.from===s.to))return bv({state:t,dispatch:e});let n=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=n))return!1;let r=yv(t,n);return r?(e(t.update({selection:t.selection.addRange(T.range(r.from,r.to),!1),effects:j.scrollIntoView(r.to)})),!0):!1},Sr=N.define({combine(t){return lc(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Ev(e),scrollToMatch:e=>j.scrollIntoView(e)})}});class WO{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||mv(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,n)=>n=="n"?` -`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new wv(this):new vv(this)}getCursor(e,i=0,n){let r=e.doc?e:oe.create({doc:e});return n==null&&(n=r.doc.length),this.regexp?Vn(this,r,i,n):Mn(this,r,i,n)}}class FO{constructor(e){this.spec=e}}function Mn(t,e,i,n){return new hs(e.doc,t.unquoted,i,n,t.caseSensitive?void 0:r=>r.toLowerCase(),t.wholeWord?kv(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function kv(t,e){return(i,n,r,s)=>((s>i||s+r.length=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Mn(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function Vn(t,e,i,n){return new MO(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?Sv(e.charCategorizer(e.selection.main.head)):void 0},i,n)}function hl(t,e){return t.slice(He(t,e,!1),e)}function fl(t,e){return t.slice(e,He(t,e))}function Sv(t){return(e,i,n)=>!n[0].length||(t(hl(n.input,n.index))!=Ke.Word||t(fl(n.input,n.index))!=Ke.Word)&&(t(fl(n.input,n.index+n[0].length))!=Ke.Word||t(hl(n.input,n.index+n[0].length))!=Ke.Word)}class wv extends FO{nextMatch(e,i,n){let r=Vn(this.spec,e,n,e.doc.length).next();return r.done&&(r=Vn(this.spec,e,0,i).next()),r.done?null:r.value}prevMatchInRange(e,i,n){for(let r=1;;r++){let s=Math.max(i,n-r*1e4),o=Vn(this.spec,e,s,n),l=null;for(;!o.next().done;)l=o.value;if(l&&(s==i||l.from>s+10))return l;if(s==i)return null}}prevMatch(e,i,n){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(i,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Vn(this.spec,e,Math.max(0,i-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const fs=ce.define(),Cc=ce.define(),en=Mt.define({create(t){return new da(Tu(t).create(),null)},update(t,e){for(let i of e.effects)i.is(fs)?t=new da(i.value.create(),t.panel):i.is(Cc)&&(t=new da(t.query,i.value?Qc:null));return t},provide:t=>il.from(t,e=>e.panel)});class da{constructor(e,i){this.query=e,this.panel=i}}const _v=he.mark({class:"cm-searchMatch"}),$v=he.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Pv=Lt.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(en))}update(t){let e=t.state.field(en);(e!=t.startState.field(en)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return he.none;let{view:i}=this,n=new rr;for(let r=0,s=i.visibleRanges,o=s.length;rs[r+1].from-2*250;)a=s[++r].to;t.highlight(i.state,l,a,(u,c)=>{let h=i.state.selection.ranges.some(f=>f.from==u&&f.to==c);n.add(u,c,h?$v:_v)})}return n.finish()}},{decorations:t=>t.decorations});function Ls(t){return e=>{let i=e.state.field(en,!1);return i&&i.query.spec.valid?t(e,i):BO(e)}}const dl=Ls((t,{query:e})=>{let{to:i}=t.state.selection.main,n=e.nextMatch(t.state,i,i);if(!n)return!1;let r=T.single(n.from,n.to),s=t.state.facet(Sr);return t.dispatch({selection:r,effects:[Ac(t,n),s.scrollToMatch(r.main,t)],userEvent:"select.search"}),jO(t),!0}),pl=Ls((t,{query:e})=>{let{state:i}=t,{from:n}=i.selection.main,r=e.prevMatch(i,n,n);if(!r)return!1;let s=T.single(r.from,r.to),o=t.state.facet(Sr);return t.dispatch({selection:s,effects:[Ac(t,r),o.scrollToMatch(s.main,t)],userEvent:"select.search"}),jO(t),!0}),Cv=Ls((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:T.create(i.map(n=>T.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),Qv=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:r}=i.main,s=[],o=0;for(let l=new hs(t.doc,t.sliceDoc(n,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==n&&(o=s.length),s.push(T.range(l.value.from,l.value.to))}return e(t.update({selection:T.create(s,o),userEvent:"select.search.matches"})),!0},vd=Ls((t,{query:e})=>{let{state:i}=t,{from:n,to:r}=i.selection.main;if(i.readOnly)return!1;let s=e.nextMatch(i,n,n);if(!s)return!1;let o=[],l,a,u=[];if(s.from==n&&s.to==r&&(a=i.toText(e.getReplacement(s)),o.push({from:s.from,to:s.to,insert:a}),s=e.nextMatch(i,s.from,s.to),u.push(j.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(n).number)+"."))),s){let c=o.length==0||o[0].from>=s.to?0:s.to-s.from-a.length;l=T.single(s.from-c,s.to-c),u.push(Ac(t,s)),u.push(i.facet(Sr).scrollToMatch(l.main,t))}return t.dispatch({changes:o,selection:l,effects:u,userEvent:"input.replace"}),!0}),Av=Ls((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(r=>{let{from:s,to:o}=r;return{from:s,to:o,insert:e.getReplacement(r)}});if(!i.length)return!1;let n=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:j.announce.of(n),userEvent:"input.replace.all"}),!0});function Qc(t){return t.state.facet(Sr).createPanel(t)}function Tu(t,e){var i,n,r,s,o;let l=t.selection.main,a=l.empty||l.to>l.from+100?"":t.sliceDoc(l.from,l.to);if(e&&!a)return e;let u=t.facet(Sr);return new WO({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:u.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:u.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:u.regexp,wholeWord:(o=e==null?void 0:e.wholeWord)!==null&&o!==void 0?o:u.wholeWord})}function zO(t){let e=tl(t,Qc);return e&&e.dom.querySelector("[main-field]")}function jO(t){let e=zO(t);e&&e==t.root.activeElement&&e.select()}const BO=t=>{let e=t.state.field(en,!1);if(e&&e.panel){let i=zO(t);if(i&&i!=t.root.activeElement){let n=Tu(t.state,e.query.spec);n.valid&&t.dispatch({effects:fs.of(n)}),i.focus(),i.select()}}else t.dispatch({effects:[Cc.of(!0),e?fs.of(Tu(t.state,e.query.spec)):ce.appendConfig.of(Dv)]});return!0},qO=t=>{let e=t.state.field(en,!1);if(!e||!e.panel)return!1;let i=tl(t,Qc);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:Cc.of(!1)}),!0},Tv=[{key:"Mod-f",run:BO,scope:"editor search-panel"},{key:"F3",run:dl,shift:pl,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:dl,shift:pl,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:qO,scope:"editor search-panel"},{key:"Mod-Shift-l",run:Qv},{key:"Mod-Alt-g",run:Ov},{key:"Mod-d",run:xv,preventDefault:!0}];class Ev{constructor(e){this.view=e;let i=this.query=e.state.field(en).query.spec;this.commit=this.commit.bind(this),this.searchField=tt("input",{value:i.search,placeholder:yt(e,"Find"),"aria-label":yt(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=tt("input",{value:i.replace,placeholder:yt(e,"Replace"),"aria-label":yt(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=tt("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=tt("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=tt("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function n(r,s,o){return tt("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=tt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,n("next",()=>dl(e),[yt(e,"next")]),n("prev",()=>pl(e),[yt(e,"previous")]),n("select",()=>Cv(e),[yt(e,"all")]),tt("label",null,[this.caseField,yt(e,"match case")]),tt("label",null,[this.reField,yt(e,"regexp")]),tt("label",null,[this.wordField,yt(e,"by word")]),...e.state.readOnly?[]:[tt("br"),this.replaceField,n("replace",()=>vd(e),[yt(e,"replace")]),n("replaceAll",()=>Av(e),[yt(e,"replace all")])],tt("button",{name:"close",onclick:()=>qO(e),"aria-label":yt(e,"close"),type:"button"},["×"])])}commit(){let e=new WO({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:fs.of(e)}))}keydown(e){rk(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?pl:dl)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),vd(this.view))}update(e){for(let i of e.transactions)for(let n of i.effects)n.is(fs)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Sr).top}}function yt(t,e){return t.state.phrase(e)}const mo=30,Oo=/[\s\.,:;?!]/;function Ac(t,{from:e,to:i}){let n=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,s=Math.max(n.from,e-mo),o=Math.min(r,i+mo),l=t.state.sliceDoc(s,o);if(s!=n.from){for(let a=0;al.length-mo;a--)if(!Oo.test(l[a-1])&&Oo.test(l[a])){l=l.slice(0,a);break}}return j.announce.of(`${t.state.phrase("current match")}. ${l} ${t.state.phrase("on line")} ${n.number}.`)}const Zv=j.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),Dv=[en,an.low(Pv),Zv];class Tc{constructor(e,i,n){this.state=e,this.pos=i,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let i=Ze(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),n=Math.max(i.from,this.pos-250),r=i.text.slice(n-i.from,this.pos-i.from),s=r.search(NO(e,!1));return s<0?null:{from:n+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,i){e=="abort"&&this.abortListeners&&this.abortListeners.push(i)}}function Sd(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function Rv(t){let e=Object.create(null),i=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[i,n]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:Rv(e);return r=>{let s=r.matchBefore(n);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:i}:null}}function Iv(t,e){return i=>{for(let n=Ze(i.state).resolveInner(i.pos,-1);n;n=n.parent){if(t.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(i)}}class wd{constructor(e,i,n,r){this.completion=e,this.source=i,this.match=n,this.score=r}}function tn(t){return t.selection.main.from}function NO(t,e){var i;let{source:n}=t,r=e&&n[0]!="^",s=n[n.length-1]!="$";return!r&&!s?t:new RegExp(`${r?"^":""}(?:${n})${s?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}const UO=Ei.define();function Lv(t,e,i,n){let{main:r}=t.selection,s=i-r.from,o=n-r.from;return Object.assign(Object.assign({},t.changeByRange(l=>l!=r&&i!=n&&t.sliceDoc(l.from+s,l.from+o)!=t.sliceDoc(i,n)?{range:l}:{changes:{from:l.from+s,to:n==r.from?l.to:l.from+o,insert:e},range:T.cursor(l.from+s+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const _d=new WeakMap;function Xv(t){if(!Array.isArray(t))return t;let e=_d.get(t);return e||_d.set(t,e=YO(t)),e}const ml=ce.define(),ds=ce.define();class Mv{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i=48&&_<=57||_>=97&&_<=122?2:_>=65&&_<=90?1:0:(A=wp(_))!=A.toLowerCase()?1:A!=A.toUpperCase()?2:0;(!y||C==1&&g||w==0&&C!=0)&&(i[h]==_||n[h]==_&&(f=!0)?o[h++]=y:o.length&&(O=!1)),w=C,y+=_i(_)}return h==a&&o[0]==0&&O?this.result(-100+(f?-200:0),o,e):d==a&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):d==a?this.ret(-900-e.length,[p,m]):h==a?this.result(-100+(f?-200:0)+-700+(O?0:-1100),o,e):i.length==2?!1:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,i,n){let r=[],s=0;for(let o of i){let l=o+(this.astral?_i(Gt(n,o)):1);s&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return this.ret(e-n.length,r)}}const Ge=N.define({combine(t){return lc(t,{activateOnTyping:!0,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Vv,compareCompletions:(e,i)=>e.label.localeCompare(i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>n=>$d(e(n),i(n)),optionClass:(e,i)=>n=>$d(e(n),i(n)),addToOptions:(e,i)=>e.concat(i)})}});function $d(t,e){return t?e?t+" "+e:t:e}function Vv(t,e,i,n,r,s){let o=t.textDirection==Xe.RTL,l=o,a=!1,u="top",c,h,f=e.left-r.left,d=r.right-e.right,p=n.right-n.left,m=n.bottom-n.top;if(l&&f=m||y>e.top?c=i.bottom-e.top:(u="bottom",c=e.bottom-i.top)}let g=(e.bottom-e.top)/s.offsetHeight,O=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${c/g}px; max-width: ${h/O}px`,class:"cm-completionInfo-"+(a?o?"left-narrow":"right-narrow":l?"left":"right")}}function Wv(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),i.type&&n.classList.add(...i.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(i,n,r,s){let o=document.createElement("span");o.className="cm-completionLabel";let l=i.displayLabel||i.label,a=0;for(let u=0;ua&&o.appendChild(document.createTextNode(l.slice(a,c)));let f=o.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(l.slice(c,h))),f.className="cm-completionMatchedText",a=h}return ai.position-n.position).map(i=>i.render)}function pa(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let r=Math.floor(e/i);return{from:r*i,to:(r+1)*i}}let n=Math.floor((t-e)/i);return{from:t-(n+1)*i,to:t-n*i}}class Fv{constructor(e,i,n){this.view=e,this.stateField=i,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let r=e.state.field(i),{options:s,selected:o}=r.open,l=e.state.facet(Ge);this.optionContent=Wv(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=pa(s.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:u}=e.state.field(i).open;for(let c=a.target,h;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(h=/-(\d+)$/.exec(c.id))&&+h[1]{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Ge).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:ds.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:s,selected:o,disabled:l}=n.open;(!r.open||r.open.options!=s)&&(this.range=pa(s.length,o,e.state.facet(Ge).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),l!=((i=r.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of i.split(" "))n&&this.dom.classList.add(n);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;if((i.selected>-1&&i.selected=this.range.to)&&(this.range=pa(i.options.length,i.selected,this.view.state.facet(Ge).maxRenderedOptions),this.showOptions(i.options,e.id)),this.updateSelectedOption(i.selected)){this.destroyInfo();let{completion:n}=i.options[i.selected],{info:r}=n;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(n);if(!s)return;"then"in s?s.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,n)}).catch(o=>Tt(this.view.state,o,"completion info")):this.addInfoPane(s,n)}}addInfoPane(e,i){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:s}=e;n.appendChild(r),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!="LI"||!n.id?r--:r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),i=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return i&&jv(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}return r.top>Math.min(s.bottom,i.bottom)-10||r.bottomn.from||n.from==0))if(s=f,typeof u!="string"&&u.header)r.appendChild(u.header(u));else{let d=r.appendChild(document.createElement("completion-section"));d.textContent=f}}const c=r.appendChild(document.createElement("li"));c.id=i+"-"+o,c.setAttribute("role","option");let h=this.optionClass(l);h&&(c.className=h);for(let f of this.optionContent){let d=f(l,this.view.state,this.view,a);d&&c.appendChild(d)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.tonew Fv(i,t,e)}function jv(t,e){let i=t.getBoundingClientRect(),n=e.getBoundingClientRect(),r=i.height/t.offsetHeight;n.topi.bottom&&(t.scrollTop+=(n.bottom-i.bottom)/r)}function Pd(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function Bv(t,e){let i=[],n=null,r=a=>{i.push(a);let{section:u}=a.completion;if(u){n||(n=[]);let c=typeof u=="string"?u:u.name;n.some(h=>h.name==c)||n.push(typeof u=="string"?{name:c}:u)}};for(let a of t)if(a.hasResult()){let u=a.result.getMatch;if(a.result.filter===!1)for(let c of a.result.options)r(new wd(c,a.source,u?u(c):[],1e9-i.length));else{let c=new Mv(e.sliceDoc(a.from,a.to));for(let h of a.result.options)if(c.match(h.label)){let f=h.displayLabel?u?u(h,c.matched):[]:c.matched;r(new wd(h,a.source,f,c.score+(h.boost||0)))}}}if(n){let a=Object.create(null),u=0,c=(h,f)=>{var d,p;return((d=h.rank)!==null&&d!==void 0?d:1e9)-((p=f.rank)!==null&&p!==void 0?p:1e9)||(h.namec.score-u.score||l(u.completion,c.completion))){let u=a.completion;!o||o.label!=u.label||o.detail!=u.detail||o.type!=null&&u.type!=null&&o.type!=u.type||o.apply!=u.apply||o.boost!=u.boost?s.push(a):Pd(a.completion)>Pd(o)&&(s[s.length-1]=a),o=a.completion}return s}class Fn{constructor(e,i,n,r,s,o){this.options=e,this.attrs=i,this.tooltip=n,this.timestamp=r,this.selected=s,this.disabled=o}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new Fn(this.options,Cd(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,n,r,s){let o=Bv(e,i);if(!o.length)return r&&e.some(a=>a.state==1)?new Fn(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let l=i.facet(Ge).selectOnOpen?0:-1;if(r&&r.selected!=l&&r.selected!=-1){let a=r.options[r.selected].completion;for(let u=0;uu.hasResult()?Math.min(a,u.from):a,1e8),create:Gv,above:s.aboveCursor},r?r.timestamp:Date.now(),l,!1)}map(e){return new Fn(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class Ol{constructor(e,i,n){this.active=e,this.id=i,this.open=n}static start(){return new Ol(Nv,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,n=i.facet(Ge),s=(n.override||i.languageDataAt("autocomplete",tn(i)).map(Xv)).map(l=>(this.active.find(u=>u.source==l)||new pt(l,this.active.some(u=>u.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((l,a)=>l==this.active[a])&&(s=this.active);let o=this.open;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||s.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!qv(s,this.active)?o=Fn.build(s,i,this.id,o,n):o&&o.disabled&&!s.some(l=>l.state==1)&&(o=null),!o&&s.every(l=>l.state!=1)&&s.some(l=>l.hasResult())&&(s=s.map(l=>l.hasResult()?new pt(l.source,0):l));for(let l of e.effects)l.is(HO)&&(o=o&&o.setSelected(l.value,this.id));return s==this.active&&o==this.open?this:new Ol(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:Yv}}function qv(t,e){if(t==e)return!0;for(let i=0,n=0;;){for(;i-1&&(i["aria-activedescendant"]=t+"-"+e),i}const Nv=[];function Eu(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}class pt{constructor(e,i,n=-1){this.source=e,this.state=i,this.explicitPos=n}hasResult(){return!1}update(e,i){let n=Eu(e),r=this;n?r=r.handleUserEvent(e,n,i):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new pt(r.source,0));for(let s of e.effects)if(s.is(ml))r=new pt(r.source,1,s.value?tn(e.state):-1);else if(s.is(ds))r=new pt(r.source,0);else if(s.is(GO))for(let o of s.value)o.source==r.source&&(r=o);return r}handleUserEvent(e,i,n){return i=="delete"||!n.activateOnTyping?this.map(e.changes):new pt(this.source,1)}handleChange(e){return e.changes.touchesRange(tn(e.startState))?new pt(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new pt(this.source,this.state,e.mapPos(this.explicitPos))}}class Un extends pt{constructor(e,i,n,r,s){super(e,2,i),this.result=n,this.from=r,this.to=s}hasResult(){return!0}handleUserEvent(e,i,n){var r;let s=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=tn(e.state);if((this.explicitPos<0?l<=s:lo||i=="delete"&&tn(e.startState)==this.from)return new pt(this.source,i=="input"&&n.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),u;return Uv(this.result.validFor,e.state,s,o)?new Un(this.source,a,this.result,s,o):this.result.update&&(u=this.result.update(this.result,s,o,new Tc(e.state,l,a>=0)))?new Un(this.source,a,u,u.from,(r=u.to)!==null&&r!==void 0?r:tn(e.state)):new pt(this.source,1,a)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new pt(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Un(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function Uv(t,e,i,n){if(!t)return!1;let r=e.sliceDoc(i,n);return typeof t=="function"?t(r,i,n,e):NO(t,!0).test(r)}const GO=ce.define({map(t,e){return t.map(i=>i.map(e))}}),HO=ce.define(),mt=Mt.define({create(){return Ol.start()},update(t,e){return t.update(e)},provide:t=>[Dm.from(t,e=>e.tooltip),j.contentAttributes.from(t,e=>e.attrs)]});function Ec(t,e){const i=e.completion.apply||e.completion.label;let n=t.state.field(mt).active.find(r=>r.source==e.source);return n instanceof Un?(typeof i=="string"?t.dispatch(Object.assign(Object.assign({},Lv(t.state,i,n.from,n.to)),{annotations:UO.of(e.completion)})):i(t,e.completion,n.from,n.to),!0):!1}const Gv=zv(mt,Ec);function go(t,e="option"){return i=>{let n=i.state.field(mt,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+r*(t?1:-1):t?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),i.dispatch({effects:HO.of(l)}),!0}}const Hv=t=>{let e=t.state.field(mt,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(mt,!1)?(t.dispatch({effects:ml.of(!0)}),!0):!1,Jv=t=>{let e=t.state.field(mt,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:ds.of(null)}),!0)};class eS{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}}const tS=50,iS=1e3,nS=Lt.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(mt).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(mt);if(!t.selectionSet&&!t.docChanged&&t.startState.field(mt)==e)return;let i=t.transactions.some(r=>(r.selection||r.docChanged)&&!Eu(r));for(let r=0;rtS&&Date.now()-s.time>iS){for(let o of s.context.abortListeners)try{o()}catch(l){Tt(this.view.state,l)}s.context.abortListeners=null,this.running.splice(r--,1)}else s.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(r=>r.effects.some(s=>s.is(ml)))&&(this.pendingStart=!0);let n=this.pendingStart?50:t.state.facet(Ge).activateOnTypingDelay;if(this.debounceUpdate=e.active.some(r=>r.state==1&&!this.running.some(s=>s.active.source==r.source))?setTimeout(()=>this.startUpdate(),n):-1,this.composing!=0)for(let r of t.transactions)Eu(r)=="input"?this.composing=2:this.composing==2&&r.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(mt);for(let i of e.active)i.state==1&&!this.running.some(n=>n.active.source==i.source)&&this.startQuery(i)}startQuery(t){let{state:e}=this.view,i=tn(e),n=new Tc(e,i,t.explicitPos==i),r=new eS(t,n);this.running.push(r),Promise.resolve(t.source(n)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:ds.of(null)}),Tt(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ge).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(Ge);for(let n=0;no.source==r.active.source);if(s&&s.state==1)if(r.done==null){let o=new pt(r.active.source,0);for(let l of r.updates)o=o.update(l,i);o.state!=1&&e.push(o)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:GO.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(mt,!1);if(e&&e.tooltip&&this.view.state.facet(Ge).closeOnBlur){let i=e.open&&Rm(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:ds.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:ml.of(!1)}),20),this.composing=0}}}),rS=typeof navigator=="object"&&/Win/.test(navigator.platform),sS=an.highest(j.domEventHandlers({keydown(t,e){let i=e.state.field(mt,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(rS&&t.altKey)||t.metaKey)return!1;let n=i.open.options[i.open.selected],r=i.active.find(o=>o.source==n.source),s=n.completion.commitCharacters||r.result.commitCharacters;return s&&s.indexOf(t.key)>-1&&Ec(e,n),!1}})),KO=j.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class oS{constructor(e,i,n,r){this.field=e,this.line=i,this.from=n,this.to=r}}class Zc{constructor(e,i,n){this.field=e,this.from=i,this.to=n}map(e){let i=e.mapPos(this.from,-1,ut.TrackDel),n=e.mapPos(this.to,1,ut.TrackDel);return i==null||n==null?null:new Zc(this.field,i,n)}}class Dc{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let n=[],r=[i],s=e.doc.lineAt(i),o=/^\s*/.exec(s.text)[0];for(let a of this.lines){if(n.length){let u=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew Zc(a.field,r[a.line]+a.from,r[a.line]+a.to));return{text:n,ranges:l}}static parse(e){let i=[],n=[],r=[],s;for(let o of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let l=s[1]?+s[1]:null,a=s[2]||s[3]||"",u=-1;for(let c=0;c=u&&h.field++}r.push(new oS(u,n.length,s.index,s.index+a.length)),o=o.slice(0,s.index)+a+o.slice(s.index+s[0].length)}for(let l;l=/\\([{}])/.exec(o);){o=o.slice(0,l.index)+l[1]+o.slice(l.index+l[0].length);for(let a of r)a.line==n.length&&a.from>l.index&&(a.from--,a.to--)}n.push(o)}return new Dc(n,r)}}let lS=he.widget({widget:new class extends As{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),aS=he.mark({class:"cm-snippetField"});class wr{constructor(e,i){this.ranges=e,this.active=i,this.deco=he.set(e.map(n=>(n.from==n.to?lS:aS).range(n.from,n.to)))}map(e){let i=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;i.push(r)}return new wr(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(n=>n.field==this.active&&n.from<=i.from&&n.to>=i.to))}}const Xs=ce.define({map(t,e){return t&&t.map(e)}}),uS=ce.define(),ps=Mt.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(Xs))return i.value;if(i.is(uS)&&t)return new wr(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>j.decorations.from(t,e=>e?e.deco:he.none)});function Rc(t,e){return T.create(t.filter(i=>i.field==e).map(i=>T.range(i.from,i.to)))}function cS(t){let e=Dc.parse(t);return(i,n,r,s)=>{let{text:o,ranges:l}=e.instantiate(i.state,r),a={changes:{from:r,to:s,insert:ue.of(o)},scrollIntoView:!0,annotations:n?[UO.of(n),Le.userEvent.of("input.complete")]:void 0};if(l.length&&(a.selection=Rc(l,0)),l.some(u=>u.field>0)){let u=new wr(l,0),c=a.effects=[Xs.of(u)];i.state.field(ps,!1)===void 0&&c.push(ce.appendConfig.of([ps,mS,OS,KO]))}i.dispatch(i.state.update(a))}}function JO(t){return({state:e,dispatch:i})=>{let n=e.field(ps,!1);if(!n||t<0&&n.active==0)return!1;let r=n.active+t,s=t>0&&!n.ranges.some(o=>o.field==r+t);return i(e.update({selection:Rc(n.ranges,r),effects:Xs.of(s?null:new wr(n.ranges,r)),scrollIntoView:!0})),!0}}const hS=({state:t,dispatch:e})=>t.field(ps,!1)?(e(t.update({effects:Xs.of(null)})),!0):!1,fS=JO(1),dS=JO(-1),pS=[{key:"Tab",run:fS,shift:dS},{key:"Escape",run:hS}],Qd=N.define({combine(t){return t.length?t[0]:pS}}),mS=an.highest(Zs.compute([Qd],t=>t.facet(Qd)));function ft(t,e){return Object.assign(Object.assign({},e),{apply:cS(t)})}const OS=j.domEventHandlers({mousedown(t,e){let i=e.state.field(ps,!1),n;if(!i||(n=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=i.ranges.find(s=>s.from<=n&&s.to>=n);return!r||r.field==i.active?!1:(e.dispatch({selection:Rc(i.ranges,r.field),effects:Xs.of(i.ranges.some(s=>s.field>r.field)?new wr(i.ranges,r.field):null),scrollIntoView:!0}),!0)}}),eg=new class extends vn{};eg.startSide=1;eg.endSide=-1;function gS(t={}){return[sS,mt,Ge.of(t),nS,yS,KO]}const bS=[{key:"Ctrl-Space",run:Kv},{key:"Escape",run:Jv},{key:"ArrowDown",run:go(!0)},{key:"ArrowUp",run:go(!1)},{key:"PageDown",run:go(!0,"page")},{key:"PageUp",run:go(!1,"page")},{key:"Enter",run:Hv}],yS=an.highest(Zs.computeN([Ge],t=>t.facet(Ge).defaultKeymap?[bS]:[]));function E(t){return new hr(xc.define(t))}function Ri(t){return Q(()=>import("./index-CuqVCwzF.js"),__vite__mapDeps([0,1,2,3,4])).then(e=>e.sql({dialect:e[t]}))}const xS=[P.of({name:"C",extensions:["c","h","ino"],load(){return Q(()=>import("./index-CPCk_-3k.js"),__vite__mapDeps([5,1,2,3,4])).then(t=>t.cpp())}}),P.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return Q(()=>import("./index-CPCk_-3k.js"),__vite__mapDeps([5,1,2,3,4])).then(t=>t.cpp())}}),P.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return Ri("Cassandra")}}),P.of({name:"CSS",extensions:["css"],load(){return Q(()=>Promise.resolve().then(()=>f3),void 0).then(t=>t.css())}}),P.of({name:"Go",extensions:["go"],load(){return Q(()=>import("./index-DQbuznjs.js"),__vite__mapDeps([6,1,2,3,4])).then(t=>t.go())}}),P.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return Q(()=>Promise.resolve().then(()=>K3),void 0).then(t=>t.html())}}),P.of({name:"Java",extensions:["java"],load(){return Q(()=>import("./index-D0zovCt3.js"),__vite__mapDeps([7,1,2,3,4])).then(t=>t.java())}}),P.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return Q(()=>Promise.resolve().then(()=>xo),void 0).then(t=>t.javascript())}}),P.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return Q(()=>import("./index-Dr45hn1a.js"),__vite__mapDeps([8,1,2,3,4])).then(t=>t.json())}}),P.of({name:"JSX",extensions:["jsx"],load(){return Q(()=>Promise.resolve().then(()=>xo),void 0).then(t=>t.javascript({jsx:!0}))}}),P.of({name:"LESS",extensions:["less"],load(){return Q(()=>import("./index-dw8lITaw.js"),__vite__mapDeps([9,1,2,3,4])).then(t=>t.less())}}),P.of({name:"Liquid",extensions:["liquid"],load(){return Q(()=>import("./index-u0X1sFnG.js"),__vite__mapDeps([10,1,2,3,4])).then(t=>t.liquid())}}),P.of({name:"MariaDB SQL",load(){return Ri("MariaSQL")}}),P.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return Q(()=>Promise.resolve().then(()=>a_),void 0).then(t=>t.markdown())}}),P.of({name:"MS SQL",load(){return Ri("MSSQL")}}),P.of({name:"MySQL",load(){return Ri("MySQL")}}),P.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return Q(()=>import("./index-C7QxIG5u.js"),__vite__mapDeps([11,1,2,3,4])).then(t=>t.php())}}),P.of({name:"PLSQL",extensions:["pls"],load(){return Ri("PLSQL")}}),P.of({name:"PostgreSQL",load(){return Ri("PostgreSQL")}}),P.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return Q(()=>import("./index-BWYvmMiq.js"),__vite__mapDeps([12,1,2,3,4])).then(t=>t.python())}}),P.of({name:"Rust",extensions:["rs"],load(){return Q(()=>import("./index-BtdinBNB.js"),__vite__mapDeps([13,1,2,3,4])).then(t=>t.rust())}}),P.of({name:"Sass",extensions:["sass"],load(){return Q(()=>import("./index-4viECmb8.js"),__vite__mapDeps([14,1,2,3,4])).then(t=>t.sass({indented:!0}))}}),P.of({name:"SCSS",extensions:["scss"],load(){return Q(()=>import("./index-4viECmb8.js"),__vite__mapDeps([14,1,2,3,4])).then(t=>t.sass())}}),P.of({name:"SQL",extensions:["sql"],load(){return Ri("StandardSQL")}}),P.of({name:"SQLite",load(){return Ri("SQLite")}}),P.of({name:"TSX",extensions:["tsx"],load(){return Q(()=>Promise.resolve().then(()=>xo),void 0).then(t=>t.javascript({jsx:!0,typescript:!0}))}}),P.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return Q(()=>Promise.resolve().then(()=>xo),void 0).then(t=>t.javascript({typescript:!0}))}}),P.of({name:"WebAssembly",extensions:["wat","wast"],load(){return Q(()=>import("./index-D5Hhl8wt.js"),__vite__mapDeps([15,1,2,3,4])).then(t=>t.wast())}}),P.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return Q(()=>import("./index-DW3qqHSP.js"),__vite__mapDeps([16,1,2,3,4])).then(t=>t.xml())}}),P.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return Q(()=>import("./index-P-OHSRfL.js"),__vite__mapDeps([17,1,2,3,4])).then(t=>t.yaml())}}),P.of({name:"APL",extensions:["dyalog","apl"],load(){return Q(()=>import("./apl-B4CMkyY2.js"),[]).then(t=>E(t.apl))}}),P.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return Q(()=>import("./asciiarmor-Df11BRmG.js"),[]).then(t=>E(t.asciiArmor))}}),P.of({name:"ASN.1",extensions:["asn","asn1"],load(){return Q(()=>import("./asn1-CGOzndHr.js"),[]).then(t=>E(t.asn1({})))}}),P.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return Q(()=>import("./asterisk-B-8jnY81.js"),[]).then(t=>E(t.asterisk))}}),P.of({name:"Brainfuck",extensions:["b","bf"],load(){return Q(()=>import("./brainfuck-C4LP7Hcl.js"),[]).then(t=>E(t.brainfuck))}}),P.of({name:"Cobol",extensions:["cob","cpy"],load(){return Q(()=>import("./cobol-XrqhtCFE.js"),[]).then(t=>E(t.cobol))}}),P.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[]).then(t=>E(t.csharp))}}),P.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return Q(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>E(t.clojure))}}),P.of({name:"ClojureScript",extensions:["cljs"],load(){return Q(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>E(t.clojure))}}),P.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return Q(()=>import("./css-BnMrqG3P.js"),[]).then(t=>E(t.gss))}}),P.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return Q(()=>import("./cmake-BQqOBYOt.js"),[]).then(t=>E(t.cmake))}}),P.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return Q(()=>import("./coffeescript-S37ZYGWr.js"),[]).then(t=>E(t.coffeeScript))}}),P.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return Q(()=>import("./commonlisp-5jcOZwOE.js"),[]).then(t=>E(t.commonLisp))}}),P.of({name:"Cypher",extensions:["cyp","cypher"],load(){return Q(()=>import("./cypher-C_CwsFkJ.js"),[]).then(t=>E(t.cypher))}}),P.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return Q(()=>import("./python-BuPzkPfP.js"),[]).then(t=>E(t.cython))}}),P.of({name:"Crystal",extensions:["cr"],load(){return Q(()=>import("./crystal-SjHAIU92.js"),[]).then(t=>E(t.crystal))}}),P.of({name:"D",extensions:["d"],load(){return Q(()=>import("./d-pRatUO7H.js"),[]).then(t=>E(t.d))}}),P.of({name:"Dart",extensions:["dart"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[]).then(t=>E(t.dart))}}),P.of({name:"diff",extensions:["diff","patch"],load(){return Q(()=>import("./diff-DbItnlRl.js"),[]).then(t=>E(t.diff))}}),P.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return Q(()=>import("./dockerfile-BuNIbK2j.js"),__vite__mapDeps([18,19])).then(t=>E(t.dockerFile))}}),P.of({name:"DTD",extensions:["dtd"],load(){return Q(()=>import("./dtd-DF_7sFjM.js"),[]).then(t=>E(t.dtd))}}),P.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return Q(()=>import("./dylan-DwRh75JA.js"),[]).then(t=>E(t.dylan))}}),P.of({name:"EBNF",load(){return Q(()=>import("./ebnf-CDyGwa7X.js"),[]).then(t=>E(t.ebnf))}}),P.of({name:"ECL",extensions:["ecl"],load(){return Q(()=>import("./ecl-Cabwm37j.js"),[]).then(t=>E(t.ecl))}}),P.of({name:"edn",extensions:["edn"],load(){return Q(()=>import("./clojure-BMjYHr_A.js"),[]).then(t=>E(t.clojure))}}),P.of({name:"Eiffel",extensions:["e"],load(){return Q(()=>import("./eiffel-CnydiIhH.js"),[]).then(t=>E(t.eiffel))}}),P.of({name:"Elm",extensions:["elm"],load(){return Q(()=>import("./elm-vLlmbW-K.js"),[]).then(t=>E(t.elm))}}),P.of({name:"Erlang",extensions:["erl"],load(){return Q(()=>import("./erlang-BNw1qcRV.js"),[]).then(t=>E(t.erlang))}}),P.of({name:"Esper",load(){return Q(()=>import("./sql-C4g8LzGK.js"),[]).then(t=>E(t.esper))}}),P.of({name:"Factor",extensions:["factor"],load(){return Q(()=>import("./factor-D8pE9siL.js"),__vite__mapDeps([20,19])).then(t=>E(t.factor))}}),P.of({name:"FCL",load(){return Q(()=>import("./fcl-Kvtd6kyn.js"),[]).then(t=>E(t.fcl))}}),P.of({name:"Forth",extensions:["forth","fth","4th"],load(){return Q(()=>import("./forth-Ffai-XNe.js"),[]).then(t=>E(t.forth))}}),P.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return Q(()=>import("./fortran-DYz_wnZ1.js"),[]).then(t=>E(t.fortran))}}),P.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return Q(()=>import("./mllike-C_8OmSiT.js"),[]).then(t=>E(t.fSharp))}}),P.of({name:"Gas",extensions:["s"],load(){return Q(()=>import("./gas-Bneqetm1.js"),[]).then(t=>E(t.gas))}}),P.of({name:"Gherkin",extensions:["feature"],load(){return Q(()=>import("./gherkin-heZmZLOM.js"),[]).then(t=>E(t.gherkin))}}),P.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return Q(()=>import("./groovy-DKLxxR9y.js"),[]).then(t=>E(t.groovy))}}),P.of({name:"Haskell",extensions:["hs"],load(){return Q(()=>import("./haskell-BWDZoCOh.js"),[]).then(t=>E(t.haskell))}}),P.of({name:"Haxe",extensions:["hx"],load(){return Q(()=>import("./haxe-pv4rovob.js"),[]).then(t=>E(t.haxe))}}),P.of({name:"HXML",extensions:["hxml"],load(){return Q(()=>import("./haxe-pv4rovob.js"),[]).then(t=>E(t.hxml))}}),P.of({name:"HTTP",load(){return Q(()=>import("./http-DBlCnlav.js"),[]).then(t=>E(t.http))}}),P.of({name:"IDL",extensions:["pro"],load(){return Q(()=>import("./idl-BEugSyMb.js"),[]).then(t=>E(t.idl))}}),P.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return Q(()=>import("./javascript-iSgyE4tI.js"),[]).then(t=>E(t.jsonld))}}),P.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load(){return Q(()=>import("./jinja2-C4DGRd-O.js"),[]).then(t=>E(t.jinja2))}}),P.of({name:"Julia",extensions:["jl"],load(){return Q(()=>import("./julia-DuME0IfC.js"),[]).then(t=>E(t.julia))}}),P.of({name:"Kotlin",extensions:["kt","kts"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[]).then(t=>E(t.kotlin))}}),P.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return Q(()=>import("./livescript-k3uCVVjK.js"),[]).then(t=>E(t.liveScript))}}),P.of({name:"Lua",extensions:["lua"],load(){return Q(()=>import("./lua-BgMRiT3U.js"),[]).then(t=>E(t.lua))}}),P.of({name:"mIRC",extensions:["mrc"],load(){return Q(()=>import("./mirc-CjQqDB4T.js"),[]).then(t=>E(t.mirc))}}),P.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return Q(()=>import("./mathematica-DTrFuWx2.js"),[]).then(t=>E(t.mathematica))}}),P.of({name:"Modelica",extensions:["mo"],load(){return Q(()=>import("./modelica-Dc1JOy9r.js"),[]).then(t=>E(t.modelica))}}),P.of({name:"MUMPS",extensions:["mps"],load(){return Q(()=>import("./mumps-BT43cFF4.js"),[]).then(t=>E(t.mumps))}}),P.of({name:"Mbox",extensions:["mbox"],load(){return Q(()=>import("./mbox-CNhZ1qSd.js"),[]).then(t=>E(t.mbox))}}),P.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return Q(()=>import("./nginx-DdIZxoE0.js"),[]).then(t=>E(t.nginx))}}),P.of({name:"NSIS",extensions:["nsh","nsi"],load(){return Q(()=>import("./nsis-CEAdamBV.js"),__vite__mapDeps([21,19])).then(t=>E(t.nsis))}}),P.of({name:"NTriples",extensions:["nt","nq"],load(){return Q(()=>import("./ntriples-BfvgReVJ.js"),[]).then(t=>E(t.ntriples))}}),P.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[]).then(t=>E(t.objectiveC))}}),P.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[]).then(t=>E(t.objectiveCpp))}}),P.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return Q(()=>import("./mllike-C_8OmSiT.js"),[]).then(t=>E(t.oCaml))}}),P.of({name:"Octave",extensions:["m"],load(){return Q(()=>import("./octave-Ck1zUtKM.js"),[]).then(t=>E(t.octave))}}),P.of({name:"Oz",extensions:["oz"],load(){return Q(()=>import("./oz-BzwKVEFT.js"),[]).then(t=>E(t.oz))}}),P.of({name:"Pascal",extensions:["p","pas"],load(){return Q(()=>import("./pascal-B1wCu0_E.js"),[]).then(t=>E(t.pascal))}}),P.of({name:"Perl",extensions:["pl","pm"],load(){return Q(()=>import("./perl-CdXCOZ3F.js"),[]).then(t=>E(t.perl))}}),P.of({name:"Pig",extensions:["pig"],load(){return Q(()=>import("./pig-CevX1Tat.js"),[]).then(t=>E(t.pig))}}),P.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return Q(()=>import("./powershell-CFHJl5sT.js"),[]).then(t=>E(t.powerShell))}}),P.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return Q(()=>import("./properties-C78fOPTZ.js"),[]).then(t=>E(t.properties))}}),P.of({name:"ProtoBuf",extensions:["proto"],load(){return Q(()=>import("./protobuf-ChK-085T.js"),[]).then(t=>E(t.protobuf))}}),P.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return Q(()=>import("./pug-BmUsPMDj.js"),__vite__mapDeps([22,23])).then(t=>E(t.pug))}}),P.of({name:"Puppet",extensions:["pp"],load(){return Q(()=>import("./puppet-DMA9R1ak.js"),[]).then(t=>E(t.puppet))}}),P.of({name:"Q",extensions:["q"],load(){return Q(()=>import("./q-ZnEupP5q.js"),[]).then(t=>E(t.q))}}),P.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return Q(()=>import("./r-DUYO_cvP.js"),[]).then(t=>E(t.r))}}),P.of({name:"RPM Changes",load(){return Q(()=>import("./rpm-CTu-6PCP.js"),[]).then(t=>E(t.rpmChanges))}}),P.of({name:"RPM Spec",extensions:["spec"],load(){return Q(()=>import("./rpm-CTu-6PCP.js"),[]).then(t=>E(t.rpmSpec))}}),P.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return Q(()=>import("./ruby-B2Rjki9n.js"),[]).then(t=>E(t.ruby))}}),P.of({name:"SAS",extensions:["sas"],load(){return Q(()=>import("./sas-B4kiWyti.js"),[]).then(t=>E(t.sas))}}),P.of({name:"Scala",extensions:["scala"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[]).then(t=>E(t.scala))}}),P.of({name:"Scheme",extensions:["scm","ss"],load(){return Q(()=>import("./scheme-C41bIUwD.js"),[]).then(t=>E(t.scheme))}}),P.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return Q(()=>import("./shell-CjFT_Tl9.js"),[]).then(t=>E(t.shell))}}),P.of({name:"Sieve",extensions:["siv","sieve"],load(){return Q(()=>import("./sieve-C3Gn_uJK.js"),[]).then(t=>E(t.sieve))}}),P.of({name:"Smalltalk",extensions:["st"],load(){return Q(()=>import("./smalltalk-CnHTOXQT.js"),[]).then(t=>E(t.smalltalk))}}),P.of({name:"Solr",load(){return Q(()=>import("./solr-DehyRSwq.js"),[]).then(t=>E(t.solr))}}),P.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return Q(()=>import("./mllike-C_8OmSiT.js"),[]).then(t=>E(t.sml))}}),P.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return Q(()=>import("./sparql-DkYu6x3z.js"),[]).then(t=>E(t.sparql))}}),P.of({name:"Spreadsheet",alias:["excel","formula"],load(){return Q(()=>import("./spreadsheet-BCZA_wO0.js"),[]).then(t=>E(t.spreadsheet))}}),P.of({name:"Squirrel",extensions:["nut"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[]).then(t=>E(t.squirrel))}}),P.of({name:"Stylus",extensions:["styl"],load(){return Q(()=>import("./stylus-q6zbLY83.js"),[]).then(t=>E(t.stylus))}}),P.of({name:"Swift",extensions:["swift"],load(){return Q(()=>import("./swift-BzpIVaGY.js"),[]).then(t=>E(t.swift))}}),P.of({name:"sTeX",load(){return Q(()=>import("./stex-C3f8Ysf7.js"),[]).then(t=>E(t.stex))}}),P.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return Q(()=>import("./stex-C3f8Ysf7.js"),[]).then(t=>E(t.stex))}}),P.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return Q(()=>import("./verilog-C6RDOZhf.js"),[]).then(t=>E(t.verilog))}}),P.of({name:"Tcl",extensions:["tcl"],load(){return Q(()=>import("./tcl-DVfN8rqt.js"),[]).then(t=>E(t.tcl))}}),P.of({name:"Textile",extensions:["textile"],load(){return Q(()=>import("./textile-CnDTJFAw.js"),[]).then(t=>E(t.textile))}}),P.of({name:"TiddlyWiki",load(){return Q(()=>import("./tiddlywiki-DO-Gjzrf.js"),[]).then(t=>E(t.tiddlyWiki))}}),P.of({name:"Tiki wiki",load(){return Q(()=>import("./tiki-DGYXhP31.js"),[]).then(t=>E(t.tiki))}}),P.of({name:"TOML",extensions:["toml"],load(){return Q(()=>import("./toml-BXUEaScT.js"),[]).then(t=>E(t.toml))}}),P.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return Q(()=>import("./troff-wAsdV37c.js"),[]).then(t=>E(t.troff))}}),P.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return Q(()=>import("./ttcn-CiGrtVSZ.js"),[]).then(t=>E(t.ttcn))}}),P.of({name:"TTCN_CFG",extensions:["cfg"],load(){return Q(()=>import("./ttcn-cfg-BIkV9KBc.js"),[]).then(t=>E(t.ttcnCfg))}}),P.of({name:"Turtle",extensions:["ttl"],load(){return Q(()=>import("./turtle-B1tBg_DP.js"),[]).then(t=>E(t.turtle))}}),P.of({name:"Web IDL",extensions:["webidl"],load(){return Q(()=>import("./webidl-ZXfAyPTL.js"),[]).then(t=>E(t.webIDL))}}),P.of({name:"VB.NET",extensions:["vb"],load(){return Q(()=>import("./vb-CmGdzxic.js"),[]).then(t=>E(t.vb))}}),P.of({name:"VBScript",extensions:["vbs"],load(){return Q(()=>import("./vbscript-BuJXcnF6.js"),[]).then(t=>E(t.vbScript))}}),P.of({name:"Velocity",extensions:["vtl"],load(){return Q(()=>import("./velocity-D8B20fx6.js"),[]).then(t=>E(t.velocity))}}),P.of({name:"Verilog",extensions:["v"],load(){return Q(()=>import("./verilog-C6RDOZhf.js"),[]).then(t=>E(t.verilog))}}),P.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return Q(()=>import("./vhdl-lSbBsy5d.js"),[]).then(t=>E(t.vhdl))}}),P.of({name:"XQuery",extensions:["xy","xquery"],load(){return Q(()=>import("./xquery-WRlm2TX8.js"),[]).then(t=>E(t.xQuery))}}),P.of({name:"Yacas",extensions:["ys"],load(){return Q(()=>import("./yacas-BJ4BC0dw.js"),[]).then(t=>E(t.yacas))}}),P.of({name:"Z80",extensions:["z80"],load(){return Q(()=>import("./z80-Hz9HOZM7.js"),[]).then(t=>E(t.z80))}}),P.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return Q(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>E(t.mscgen))}}),P.of({name:"Xù",extensions:["xu"],load(){return Q(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>E(t.xu))}}),P.of({name:"MsGenny",extensions:["msgenny"],load(){return Q(()=>import("./mscgen-BA5vi2Kp.js"),[]).then(t=>E(t.msgenny))}}),P.of({name:"Vue",extensions:["vue"],load(){return Q(()=>import("./index-Dpn345X_.js"),__vite__mapDeps([24,1,2,3,4])).then(t=>t.vue())}}),P.of({name:"Angular Template",load(){return Q(()=>import("./index-JHG2D0zu.js"),__vite__mapDeps([25,1,2,3,4])).then(t=>t.angular())}})];class gl{static create(e,i,n,r,s){let o=r+(r<<8)+e+(i<<4)|0;return new gl(e,i,n,o,s,[],[])}constructor(e,i,n,r,s,o,l){this.type=e,this.value=i,this.from=n,this.hash=r,this.end=s,this.children=o,this.positions=l,this.hashProp=[[G.contextHash,r]]}addChild(e,i){e.prop(G.contextHash)!=this.hash&&(e=new ie(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let n=this.children.length-1;return n>=0&&(i=Math.max(i,this.positions[n]+this.children[n].length+this.from)),new ie(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(r,s,o)=>new ie(Me.none,r,s,o,this.hashProp)})}}var D;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(D||(D={}));class kS{constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}}class vS{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return Kr(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,i=0,n=0){for(let r=i;r=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let n=(t.type==D.OrderedList?Xc:Lc)(i,e,!1);return n>0&&(t.type!=D.BulletList||Ic(i,e,!1)<0)&&i.text.charCodeAt(i.pos+n-1)==t.value}const tg={[D.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(se(D.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+(Wt(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[D.ListItem](t,e,i){return i.indent-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[D.OrderedList]:Ad,[D.BulletList]:Ad,[D.Document](){return!0}};function Wt(t){return t==32||t==9||t==10||t==13}function Kr(t,e=0){for(;ei&&Wt(t.charCodeAt(e-1));)e--;return e}function ig(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e-1&&t.depth==e.stack.length||n<3?-1:1}function rg(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function Lc(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||Wt(t.text.charCodeAt(t.pos+1)))&&(!i||rg(e,D.BulletList)||t.skipSpace(t.pos+2)=48&&r<=57;){n++;if(n==t.text.length)return-1;r=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||r!=46&&r!=41||nt.pos+1||t.next!=49)?-1:n+1-t.pos}function sg(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e6?-1:i}function og(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,ag=/\?>/,Du=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/,ag=/\?>/,Du=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(s)return t.append(se(D.Comment,i,i+1+s[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return t.append(se(D.ProcessingInstruction,i,i+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return l?t.append(se(D.HTMLTag,i,i+1+l[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let n=i+1;for(;t.char(n)==e;)n++;let r=t.slice(i-1,i),s=t.slice(n,n+1),o=Os.test(r),l=Os.test(s),a=/\s|^$/.test(r),u=/\s|^$/.test(s),c=!u&&(!l||a||o),h=!a&&(!o||u||l),f=c&&(e==42||!h||o),d=h&&(e==42||!c||l);return t.append(new Kt(e==95?pg:mg,i,n,(f?1:0)|(d?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(se(D.HardBreak,i,i+2));if(e==32){let n=i+1;for(;t.char(n)==32;)n++;if(t.char(n)==10&&n>=i+2)return t.append(se(D.HardBreak,i,n+1))}return-1},Link(t,e,i){return e==91?t.append(new Kt(Rr,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new Kt(Zd,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let n=t.parts.length-1;n>=0;n--){let r=t.parts[n];if(r instanceof Kt&&(r.type==Rr||r.type==Zd)){if(!r.side||t.skipSpace(r.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[n]=null,-1;let s=t.takeContent(n),o=t.parts[n]=QS(t,s,r.type==Rr?D.Link:D.Image,r.from,i+1);if(r.type==Rr)for(let l=0;le?se(D.URL,e+i,s+i):s==t.length?null:!1}}function gg(t,e,i){let n=t.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let r=n==40?41:n;for(let s=e+1,o=!1;s=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,n,r,s){return this.append(new Kt(e,i,n,(r?1:0)|(s?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;a--){let m=this.parts[a];if(m instanceof Kt&&m.side&1&&m.type==r.type&&!(s&&(r.side&1||m.side&2)&&(m.to-m.from+o)%3==0&&((m.to-m.from)%3||o%3))){l=m;break}}if(!l)continue;let u=r.type.resolve,c=[],h=l.from,f=r.to;if(s){let m=Math.min(2,l.to-l.from,o);h=l.to-m,f=r.from+m,u=m==1?"Emphasis":"StrongEmphasis"}l.type.mark&&c.push(this.elt(l.type.mark,h,l.to));for(let m=a+1;m=0;i--){let n=this.parts[i];if(n instanceof Kt&&n.type==e)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}skipSpace(e){return Kr(this.text,e-this.offset)+this.offset}elt(e,i,n,r){return typeof e=="string"?se(this.parser.getNodeType(e),i,n,r):new dg(e,i)}}function Iu(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),n=0;for(let r of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` -`;)s--;this.fragmentEnd=s?s-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=i;if(!n.childAfter(r))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(G.contextHash)==e}takeNodes(e){let i=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,l=e.block.children.length,a=o,u=l;for(;;){if(i.to-n>r){if(i.type.isAnonymous&&i.firstChild())continue;break}let c=yg(i.from-n,e.ranges);if(i.to-n<=e.ranges[e.rangeI].to)e.addNode(i.tree,c);else{let h=new ie(e.parser.nodeSet.types[D.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,i.tree),e.addNode(h,c)}if(i.type.is("Block")&&(TS.indexOf(i.type.id)<0?(o=i.to-n,l=e.block.children.length):(o=a,l=u,a=i.to-n,u=e.block.children.length)),!i.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-s}};function yg(t,e){let i=t;for(let n=1;nbo[t]),Object.keys(bo).map(t=>_S[t]),Object.keys(bo),$S,tg,Object.keys(Oa).map(t=>Oa[t]),Object.keys(Oa),[]);function RS(t,e,i){let n=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:i;if(o>s&&n.push({from:s,to:o}),!r)break;s=r.to}return n}function IS(t){let{codeParser:e,htmlParser:i}=t;return{wrap:Fm((r,s)=>{let o=r.type.id;if(e&&(o==D.CodeBlock||o==D.FencedCode)){let l="";if(o==D.FencedCode){let u=r.node.getChild(D.CodeInfo);u&&(l=s.read(u.from,u.to))}let a=e(l);if(a)return{parser:a,overlay:u=>u.type.id==D.CodeText}}else if(i&&(o==D.HTMLBlock||o==D.HTMLTag))return{parser:i,overlay:RS(r.node,r.from,r.to)};return null})}}const LS={resolve:"Strikethrough",mark:"StrikethroughMark"},XS={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":b.strikethrough}},{name:"StrikethroughMark",style:b.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let n=t.slice(i-1,i),r=t.slice(i+2,i+3),s=/\s|^$/.test(n),o=/\s|^$/.test(r),l=Os.test(n),a=Os.test(r);return t.addDelimiter(LS,i,i+2,!o&&(!a||s||l),!s&&(!l||o||a))},after:"Emphasis"}]};function Jr(t,e,i=0,n,r=0){let s=0,o=!0,l=-1,a=-1,u=!1,c=()=>{n.push(t.elt("TableCell",r+l,r+a,t.parser.parseInline(e.slice(l,a),r+l)))};for(let h=i;h-1)&&s++,o=!1,n&&(l>-1&&c(),n.push(t.elt("TableDelimiter",h+r,h+r+1))),l=a=-1):(u||f!=32&&f!=9)&&(l<0&&(l=h),a=h+1),u=!u&&f==92}return l>-1&&(s++,n&&c()),s}function Rd(t,e){for(let i=e;ir instanceof Id)||!Rd(e.text,e.basePos))return!1;let n=t.scanLine(t.absoluteLineEnd+1).text;return xg.test(n)&&Jr(t,e.text,e.basePos)==Jr(t,n,e.basePos)},before:"SetextHeading"}]};class VS{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}}const WS={defineNodes:[{name:"Task",block:!0,style:b.list},{name:"TaskMarker",style:b.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new VS:null},after:"SetextHeading"}]},Ld=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Xd=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,FS=/[\w-]+\.[\w-]+($|\/)/,Md=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Vd=/\/[a-zA-Z\d@.]+/gy;function Wd(t,e,i,n){let r=0;for(let s=e;s-1)return-1;let n=e+i[0].length;for(;;){let r=t[n-1],s;if(/[?!.,:*_~]/.test(r)||r==")"&&Wd(t,e,n,")")>Wd(t,e,n,"("))n--;else if(r==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+s.index;else break}return n}function Fd(t,e){Md.lastIndex=e;let i=Md.exec(t);if(!i)return-1;let n=i[0][i[0].length-1];return n=="_"||n=="-"?-1:e+i[0].length-(n=="."?1:0)}const jS={parseInline:[{name:"Autolink",parse(t,e,i){let n=i-t.offset;Ld.lastIndex=n;let r=Ld.exec(t.text),s=-1;return!r||(r[1]||r[2]?s=zS(t.text,n+r[0].length):r[3]?s=Fd(t.text,n):(s=Fd(t.text,n+r[0].length),s>-1&&r[0]=="xmpp:"&&(Vd.lastIndex=s,r=Vd.exec(t.text),r&&(s=r.index+r[0].length))),s<0)?-1:(t.addElement(t.elt("URL",i,s+t.offset)),s+t.offset)}}]},BS=[MS,WS,XS,jS];function kg(t,e,i){return(n,r,s)=>{if(r!=t||n.char(s+1)==t)return-1;let o=[n.elt(i,s,s+1)];for(let l=s+1;li%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,n=0){let r=e.parser.context;return new Lu(e,[],i,n,n,0,[],0,r?new jd(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let n=e>>19,r=e&65535,{parser:s}=this.p,o=s.dynamicPrecedence(r);if(o&&(this.score+=o),n==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,i,n,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[l-4]==0&&o.buffer[l-1]>-1){if(i==n)return;if(o.buffer[l-2]>=i){o.buffer[l-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,i,n,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=i,this.buffer[o+2]=n,this.buffer[o+3]=r}}shift(e,i,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(i,n),i<=this.p.parser.maxNode&&this.buffer.push(i,n,r,4);else{let s=e,{parser:o}=this.p;(r>this.pos||i<=o.maxNode)&&(this.pos=r,o.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,n),this.shiftContext(i,n),i<=o.maxNode&&this.buffer.push(i,n,r,4)}}apply(e,i,n,r){e&65536?this.reduce(e):this.shift(e,i,n,r)}useNode(e,i){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let n=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new Lu(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,n?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new GS(this);;){let n=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(n==0)return!1;if(!(n&65536))return!0;i.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sa&1&&l==o)||r.push(i[s],o)}i=r}let n=[];for(let r=0;r>19,r=i&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;i=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],n=(r,s)=>{if(!i.includes(r))return i.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let l=(o>>19)-s;if(l>1){let a=o&65535,u=this.stack.length-l*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return l<<19|65536|a}}else{let l=n(o,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;ithis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class jd{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}}class GS{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}}class bl{constructor(e,i,n){this.stack=e,this.pos=i,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new bl(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new bl(this.stack,this.pos,this.index)}}function jr(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let n=0,r=0;n=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}i?i[r++]=s:i=new e(s)}return i}class Mo{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Bd=new Mo;class HS{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Bd,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let n=this.range,r=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-n.to,n=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,n,r;if(i>=0&&i=this.chunk2Pos&&nl.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,i=0){let n=i?this.resolveOffset(i,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=Bd,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let n="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return n}}class Gn{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:n}=i.p;vg(this.data,e,i,this.id,n.data,n.tokenPrecTable)}}Gn.prototype.contextual=Gn.prototype.fallback=Gn.prototype.extend=!1;class yl{constructor(e,i,n){this.precTable=i,this.elseToken=n,this.data=typeof e=="string"?jr(e):e}token(e,i){let n=e.pos,r=0;for(;;){let s=e.next<0,o=e.resolveOffset(1,1);if(vg(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,o==null)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}yl.prototype.contextual=Gn.prototype.fallback=Gn.prototype.extend=!1;class ii{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}}function vg(t,e,i,n,r,s){let o=0,l=1<0){let p=t[d];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||KS(p,e.token.value,r,s))){e.acceptToken(p);break}}let c=e.next,h=0,f=t[o+2];if(e.next<0&&f>h&&t[u+f*3-3]==65535){o=t[u+f*3-1];continue e}for(;h>1,p=u+d+(d<<1),m=t[p],g=t[p+1]||65536;if(c=g)h=d+1;else{o=t[p+2],e.advance();continue e}}break}}function qd(t,e,i){for(let n=e,r;(r=t[n])!=65535;n++)if(r==i)return n-e;return-1}function KS(t,e,i,n){let r=qd(i,n,e);return r<0||qd(i,n,t)e)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}class JS{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Yd(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Yd(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof ie){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[i]++,this.nextStart=o+s.length}}}class ew{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Mo)}getActions(e){let i=0,n=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uh.end+25&&(a=Math.max(h.lookAhead,a)),h.value!=0)){let f=i;if(h.extended>-1&&(i=this.addActions(e,h.extended,h.end,i)),i=this.addActions(e,h.value,h.end,i),!c.extend&&(n=h,i>f))break}}for(;this.actions.length>i;)this.actions.pop();return a&&e.setLookAhead(a),!n&&e.pos==this.stream.end&&(n=new Mo,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,i=this.addActions(e,n.value,n.end,i)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Mo,{pos:n,p:r}=e;return i.start=n,i.end=Math.min(n+1,r.stream.end),i.value=n==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,n){let r=this.stream.clipPos(n.pos);if(i.token(this.stream.reset(r,e),n),e.value>-1){let{parser:s}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,i,n,r){for(let s=0;se.bufferLength*4?new JS(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,n=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;oi)n.push(l);else{if(this.advanceStack(l,n,e))continue;{r||(r=[],s=[]),r.push(l);let a=this.tokens.getMainToken(l);s.push(a.value,a.end)}}break}}if(!n.length){let o=r&&nw(r);if(o)return xt&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw xt&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,n);if(o)return xt&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((l,a)=>a.score-l.score);n.length>o;)n.pop();n.some(l=>l.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&u.buffer.length>500)if((l.score-u.score||l.buffer.length-u.buffer.length)>0)n.splice(a--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,c=u?e.curContext.hash:0;for(let h=this.fragments.nodeAt(r);h;){let f=this.parser.nodeSet.types[h.type.id]==h.type?s.getGoto(e.state,h.type.id):-1;if(f>-1&&h.length&&(!u||(h.prop(G.contextHash)||0)==c))return e.useNode(h,f),xt&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(h.type.id)})`),!0;if(!(h instanceof ie)||h.children.length==0||h.positions[0]>0)break;let d=h.children[0];if(d instanceof ie&&h.positions[0]==0)h=d;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),xt&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let u=0;ur?i.push(p):n.push(p)}return!1}advanceFully(e,i){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Nd(e,i),!0}}runRecovery(e,i,n){let r=null,s=!1;for(let o=0;o ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),xt&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let h=l.split(),f=c;for(let d=0;h.forceReduce()&&d<10&&(xt&&console.log(f+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));d++)xt&&(f=this.stackID(h)+" -> ");for(let d of l.recoverByInsert(a))xt&&console.log(c+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>l.pos?(u==l.pos&&(u++,a=0),l.recoverByDelete(a,u),xt&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(a)})`),Nd(l,n)):(!r||r.scoret;class Sg{constructor(e){this.start=e.start,this.shift=e.shift||ba,this.reduce=e.reduce||ba,this.reuse=e.reuse||ba,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class dr extends Il{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let l=0;le.topRules[l][1]),r=[];for(let l=0;l=0)s(c,a,l[u++]);else{let h=l[u+-c];for(let f=-c;f>0;f--)s(l[u++],a,h);u++}}}this.nodeSet=new br(i.map((l,a)=>Me.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:r[a],top:n.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Lm;let o=jr(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new Gn(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,n){let r=new tw(this,e,i,n);for(let s of this.wrappers)r=s(r,e,i,n);return r}getGoto(e,i,n=!1){let r=this.goto;if(i>=r[0])return-1;for(let s=r[i+1];;){let o=r[s++],l=o&1,a=r[s++];if(l&&n)return a;for(let u=s+(o>>1);s0}validAction(e,i){return!!this.allActions(e,n=>n==i?!0:null)}allActions(e,i){let n=this.stateSlot(e,4),r=n?i(n):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Si(this.data,s+2);else break;r=i(Si(this.data,s+1))}return r}nextStates(e){let i=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Si(this.data,n+2);else break;if(!(this.data[n+2]&1)){let r=this.data[n+1];i.some((s,o)=>o&1&&s==r)||i.push(this.data[n],r)}}return i}configure(e){let i=Object.assign(Object.create(dr.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=n}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(s=>s.from==n);return r?r.to:n})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((n,r)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let o=Object.assign(Object.assign({},n),{external:s.to});return i.specializers[r]=Ud(o),o})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),n=i.map(()=>!1);if(e)for(let s of e.split(" ")){let o=i.indexOf(s);o>=0&&(n[o]=!0)}let r=null;for(let s=0;sn)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.scoret.external(i,n)<<1|e}return t.get}const rw=54,sw=1,ow=55,lw=2,aw=56,uw=3,Gd=4,cw=5,xl=6,wg=7,_g=8,$g=9,Pg=10,hw=11,fw=12,dw=13,ya=57,pw=14,Hd=58,Cg=20,mw=22,Qg=23,Ow=24,Xu=26,Ag=27,gw=28,bw=31,yw=34,xw=36,kw=37,vw=0,Sw=1,ww={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},_w={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Kd={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function $w(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Tg(t){return t==9||t==10||t==13||t==32}let Jd=null,e0=null,t0=0;function Mu(t,e){let i=t.pos+e;if(t0==i&&e0==t)return Jd;let n=t.peek(e);for(;Tg(n);)n=t.peek(++e);let r="";for(;$w(n);)r+=String.fromCharCode(n),n=t.peek(++e);return e0=t,t0=i,Jd=r?r.toLowerCase():n==Pw||n==Cw?void 0:null}const Eg=60,kl=62,Mc=47,Pw=63,Cw=33,Qw=45;function i0(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i-1?new i0(Mu(n,1)||"",t):t},reduce(t,e){return e==Cg&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==xl||r==xw?new i0(Mu(n,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),Ew=new ii((t,e)=>{if(t.next!=Eg){t.next<0&&e.context&&t.acceptToken(ya);return}t.advance();let i=t.next==Mc;i&&t.advance();let n=Mu(t,0);if(n===void 0)return;if(!n)return t.acceptToken(i?pw:xl);let r=e.context?e.context.name:null;if(i){if(n==r)return t.acceptToken(hw);if(r&&_w[r])return t.acceptToken(ya,-2);if(e.dialectEnabled(vw))return t.acceptToken(fw);for(let s=e.context;s;s=s.parent)if(s.name==n)return;t.acceptToken(dw)}else{if(n=="script")return t.acceptToken(wg);if(n=="style")return t.acceptToken(_g);if(n=="textarea")return t.acceptToken($g);if(ww.hasOwnProperty(n))return t.acceptToken(Pg);r&&Kd[r]&&Kd[r][n]?t.acceptToken(ya,-1):t.acceptToken(xl)}},{contextual:!0}),Zw=new ii(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(Hd);break}if(t.next==Qw)e++;else if(t.next==kl&&e>=2){i>=3&&t.acceptToken(Hd,-2);break}else e=0;t.advance()}});function Dw(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}const Rw=new ii((t,e)=>{if(t.next==Mc&&t.peek(1)==kl){let i=e.dialectEnabled(Sw)||Dw(e.context);t.acceptToken(i?cw:Gd,2)}else t.next==kl&&t.acceptToken(Gd,1)});function Vc(t,e,i){let n=2+t.length;return new ii(r=>{for(let s=0,o=0,l=0;;l++){if(r.next<0){l&&r.acceptToken(e);break}if(s==0&&r.next==Eg||s==1&&r.next==Mc||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(i,-(o-2));break}else if((r.next==10||r.next==13)&&l){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const Iw=Vc("script",rw,sw),Lw=Vc("style",ow,lw),Xw=Vc("textarea",aw,uw),Mw=yr({"Text RawText":b.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":b.angleBracket,TagName:b.tagName,"MismatchedCloseTag/TagName":[b.tagName,b.invalid],AttributeName:b.attributeName,"AttributeValue UnquotedAttributeValue":b.attributeValue,Is:b.definitionOperator,"EntityReference CharacterReference":b.character,Comment:b.blockComment,ProcessingInst:b.processingInstruction,DoctypeDecl:b.documentMeta}),Vw=dr.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Tw,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Mw],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let u=l.type.id;if(u==gw)return xa(l,a,i);if(u==bw)return xa(l,a,n);if(u==yw)return xa(l,a,r);if(u==Cg&&s.length){let c=l.node,h=c.firstChild,f=h&&n0(h,a),d;if(f){for(let p of s)if(p.tag==f&&(!p.attrs||p.attrs(d||(d=Zg(c,a))))){let m=c.lastChild,g=m.type.id==kw?m.from:c.to;if(g>h.to)return{parser:p.parser,overlay:[{from:h.to,to:g}]}}}}if(o&&u==Qg){let c=l.node,h;if(h=c.firstChild){let f=o[a.read(h.from,h.to)];if(f)for(let d of f){if(d.tagName&&d.tagName!=n0(c.parent,a))continue;let p=c.lastChild;if(p.type.id==Xu){let m=p.from+1,g=p.lastChild,O=p.to-(g&&g.isError?0:1);if(O>m)return{parser:d.parser,overlay:[{from:m,to:O}]}}else if(p.type.id==Ag)return{parser:d.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}const Ww=99,r0=1,Fw=100,zw=101,s0=2,Rg=[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],jw=58,Bw=40,Ig=95,qw=91,Vo=45,Yw=46,Nw=35,Uw=37,Gw=38,Hw=92,Kw=10;function gs(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Lg(t){return t>=48&&t<=57}const Jw=new ii((t,e)=>{for(let i=!1,n=0,r=0;;r++){let{next:s}=t;if(gs(s)||s==Vo||s==Ig||i&&Lg(s))!i&&(s!=Vo||r>0)&&(i=!0),n===r&&s==Vo&&n++,t.advance();else if(s==Hw&&t.peek(1)!=Kw)t.advance(),t.next>-1&&t.advance(),i=!0;else{i&&t.acceptToken(s==Bw?Fw:n==2&&e.canShift(s0)?s0:zw);break}}}),e3=new ii(t=>{if(Rg.includes(t.peek(-1))){let{next:e}=t;(gs(e)||e==Ig||e==Nw||e==Yw||e==qw||e==jw&&gs(t.peek(1))||e==Vo||e==Gw)&&t.acceptToken(Ww)}}),t3=new ii(t=>{if(!Rg.includes(t.peek(-1))){let{next:e}=t;if(e==Uw&&(t.advance(),t.acceptToken(r0)),gs(e)){do t.advance();while(gs(t.next)||Lg(t.next));t.acceptToken(r0)}}}),i3=yr({"AtKeyword import charset namespace keyframes media supports":b.definitionKeyword,"from to selector":b.keyword,NamespaceName:b.namespace,KeyframeName:b.labelName,KeyframeRangeName:b.operatorKeyword,TagName:b.tagName,ClassName:b.className,PseudoClassName:b.constant(b.className),IdName:b.labelName,"FeatureName PropertyName":b.propertyName,AttributeName:b.attributeName,NumberLiteral:b.number,KeywordQuery:b.keyword,UnaryQueryOp:b.operatorKeyword,"CallTag ValueName":b.atom,VariableName:b.variableName,Callee:b.operatorKeyword,Unit:b.unit,"UniversalSelector NestingSelector":b.definitionOperator,MatchOp:b.compareOperator,"ChildOp SiblingOp, LogicOp":b.logicOperator,BinOp:b.arithmeticOperator,Important:b.modifier,Comment:b.blockComment,ColorLiteral:b.color,"ParenthesizedContent StringLiteral":b.string,":":b.punctuation,"PseudoOp #":b.derefOperator,"; ,":b.separator,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace}),n3={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},r3={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},s3={__proto__:null,not:132,only:132},o3=dr.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[e3,t3,Jw,1,2,3,4,new yl("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>n3[t]||-1},{term:58,get:t=>r3[t]||-1},{term:101,get:t=>s3[t]||-1}],tokenPrec:1200});let ka=null;function va(){if(!ka&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),i.has(n)||(e.push(n),i.add(n)));ka=e.sort().map(n=>({type:"property",label:n}))}return ka||[]}const o0=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),l0=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),l3=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),Ii=/^(\w[\w-]*|-\w[\w-]*|)$/,a3=/^-(-[\w-]*)?$/;function u3(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const a0=new Wm,c3=["Declaration"];function h3(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function Xg(t,e,i){if(e.to-e.from>4096){let n=a0.get(e);if(n)return n;let r=[],s=new Set,o=e.cursor(xe.IncludeAnonymous);if(o.firstChild())do for(let l of Xg(t,o.node,i))s.has(l.label)||(s.add(l.label),r.push(l));while(o.nextSibling());return a0.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(s=>{var o;if(i(s)&&s.matchContext(c3)&&((o=s.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let l=t.sliceString(s.from,s.to);r.has(l)||(r.add(l),n.push({label:l,type:"variable"}))}}),n}}const Mg=t=>e=>{let{state:i,pos:n}=e,r=Ze(i).resolveInner(n,-1),s=r.type.isError&&r.from==r.to-1&&i.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:va(),validFor:Ii};if(r.name=="ValueName")return{from:r.from,options:l0,validFor:Ii};if(r.name=="PseudoClassName")return{from:r.from,options:o0,validFor:Ii};if(t(r)||(e.explicit||s)&&u3(r,i.doc))return{from:t(r)||s?r.from:n,options:Xg(i.doc,h3(r),t),validFor:a3};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:va(),validFor:Ii};return{from:r.from,options:l3,validFor:Ii}}if(!e.explicit)return null;let o=r.resolve(n),l=o.childBefore(n);return l&&l.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:o0,validFor:Ii}:l&&l.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:l0,validFor:Ii}:o.name=="Block"||o.name=="Styles"?{from:n,options:va(),validFor:Ii}:null},Vg=Mg(t=>t.name=="VariableName"),bs=ar.define({name:"css",parser:o3.configure({props:[Ds.add({Declaration:Xo()}),Rs.add({"Block KeyframeList":Gm})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Wg(){return new hr(bs,bs.data.of({autocomplete:Vg}))}const f3=Object.freeze(Object.defineProperty({__proto__:null,css:Wg,cssCompletionSource:Vg,cssLanguage:bs,defineCSSCompletionSource:Mg},Symbol.toStringTag,{value:"Module"})),d3=309,u0=1,p3=2,m3=3,O3=310,g3=312,b3=313,y3=4,x3=5,k3=0,Vu=[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],Fg=125,v3=59,Wu=47,S3=42,w3=43,_3=45,$3=60,P3=44,C3=new Sg({start:!1,shift(t,e){return e==y3||e==x3||e==g3?t:e==b3},strict:!1}),Q3=new ii((t,e)=>{let{next:i}=t;(i==Fg||i==-1||e.context)&&t.acceptToken(O3)},{contextual:!0,fallback:!0}),A3=new ii((t,e)=>{let{next:i}=t,n;Vu.indexOf(i)>-1||i==Wu&&((n=t.peek(1))==Wu||n==S3)||i!=Fg&&i!=v3&&i!=-1&&!e.context&&t.acceptToken(d3)},{contextual:!0}),T3=new ii((t,e)=>{let{next:i}=t;if((i==w3||i==_3)&&(t.advance(),i==t.next)){t.advance();let n=!e.context&&e.canShift(u0);t.acceptToken(n?u0:p3)}},{contextual:!0});function Sa(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}const E3=new ii((t,e)=>{if(t.next!=$3||!e.dialectEnabled(k3)||(t.advance(),t.next==Wu))return;let i=0;for(;Vu.indexOf(t.next)>-1;)t.advance(),i++;if(Sa(t.next,!0)){for(t.advance(),i++;Sa(t.next,!1);)t.advance(),i++;for(;Vu.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==P3)return;for(let n=0;;n++){if(n==7){if(!Sa(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),i++}}t.acceptToken(m3,-i)}),Z3=yr({"get set async static":b.modifier,"for while do if else switch try catch finally return throw break continue default case":b.controlKeyword,"in of await yield void typeof delete instanceof":b.operatorKeyword,"let var const using function class extends":b.definitionKeyword,"import export from":b.moduleKeyword,"with debugger as new":b.keyword,TemplateString:b.special(b.string),super:b.atom,BooleanLiteral:b.bool,this:b.self,null:b.null,Star:b.modifier,VariableName:b.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":b.function(b.variableName),VariableDefinition:b.definition(b.variableName),Label:b.labelName,PropertyName:b.propertyName,PrivatePropertyName:b.special(b.propertyName),"CallExpression/MemberExpression/PropertyName":b.function(b.propertyName),"FunctionDeclaration/VariableDefinition":b.function(b.definition(b.variableName)),"ClassDeclaration/VariableDefinition":b.definition(b.className),PropertyDefinition:b.definition(b.propertyName),PrivatePropertyDefinition:b.definition(b.special(b.propertyName)),UpdateOp:b.updateOperator,"LineComment Hashbang":b.lineComment,BlockComment:b.blockComment,Number:b.number,String:b.string,Escape:b.escape,ArithOp:b.arithmeticOperator,LogicOp:b.logicOperator,BitOp:b.bitwiseOperator,CompareOp:b.compareOperator,RegExp:b.regexp,Equals:b.definitionOperator,Arrow:b.function(b.punctuation),": Spread":b.punctuation,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace,"InterpolationStart InterpolationEnd":b.special(b.brace),".":b.derefOperator,", ;":b.separator,"@":b.meta,TypeName:b.typeName,TypeDefinition:b.definition(b.typeName),"type enum interface implements namespace module declare":b.definitionKeyword,"abstract global Privacy readonly override":b.modifier,"is keyof unique infer":b.operatorKeyword,JSXAttributeValue:b.attributeValue,JSXText:b.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":b.angleBracket,"JSXIdentifier JSXNameSpacedName":b.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":b.attributeName,"JSXBuiltin/JSXIdentifier":b.standard(b.tagName)}),D3={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},R3={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},I3={__proto__:null,"<":143},L3=dr.deserialize({version:14,states:"$RQWO'#CdO>cQWO'#H[O>kQWO'#HbO>kQWO'#HdO`Q^O'#HfO>kQWO'#HhO>kQWO'#HkO>pQWO'#HqO>uQ07iO'#HwO%[Q^O'#HyO?QQ07iO'#H{O?]Q07iO'#H}O9kQ07hO'#IPO?hQ08SO'#ChO@jQ`O'#DiQOQWOOO%[Q^O'#EPOAQQWO'#ESO:RQ7[O'#EjOA]QWO'#EjOAhQpO'#FbOOQU'#Cf'#CfOOQ07`'#Dn'#DnOOQ07`'#Jm'#JmO%[Q^O'#JmOOQO'#Jq'#JqOOQO'#Ib'#IbOBhQ`O'#EcOOQ07`'#Eb'#EbOCdQ07pO'#EcOCnQ`O'#EVOOQO'#Jp'#JpODSQ`O'#JqOEaQ`O'#EVOCnQ`O'#EcPEnO!0LbO'#CaPOOO)CDu)CDuOOOO'#IX'#IXOEyO!bO,59TOOQ07b,59T,59TOOOO'#IY'#IYOFXO#tO,59TO%[Q^O'#D`OOOO'#I['#I[OFgO?MpO,59xOOQ07b,59x,59xOFuQ^O'#I]OGYQWO'#JkOI[QrO'#JkO+}Q^O'#JkOIcQWO,5:OOIyQWO'#ElOJWQWO'#JyOJcQWO'#JxOJcQWO'#JxOJkQWO,5;YOJpQWO'#JwOOQ07f,5:Z,5:ZOJwQ^O,5:ZOLxQ08SO,5:eOMiQWO,5:mONSQ07hO'#JvONZQWO'#JuO9ZQWO'#JuONoQWO'#JuONwQWO,5;XON|QWO'#JuO!#UQrO'#JjOOQ07b'#Ch'#ChO%[Q^O'#ERO!#tQpO,5:rOOQO'#Jr'#JrOOQO-EmOOQU'#J`'#J`OOQU,5>n,5>nOOQU-EpQWO'#HQO9aQWO'#HSO!CgQWO'#HSO:RQ7[O'#HUO!ClQWO'#HUOOQU,5=j,5=jO!CqQWO'#HVO!DSQWO'#CnO!DXQWO,59OO!DcQWO,59OO!FhQ^O,59OOOQU,59O,59OO!FxQ07hO,59OO%[Q^O,59OO!ITQ^O'#H^OOQU'#H_'#H_OOQU'#H`'#H`O`Q^O,5=vO!IkQWO,5=vO`Q^O,5=|O`Q^O,5>OO!IpQWO,5>QO`Q^O,5>SO!IuQWO,5>VO!IzQ^O,5>]OOQU,5>c,5>cO%[Q^O,5>cO9kQ07hO,5>eOOQU,5>g,5>gO!NUQWO,5>gOOQU,5>i,5>iO!NUQWO,5>iOOQU,5>k,5>kO!NZQ`O'#D[O%[Q^O'#JmO!NxQ`O'#JmO# gQ`O'#DjO# xQ`O'#DjO#$ZQ^O'#DjO#$bQWO'#JlO#$jQWO,5:TO#$oQWO'#EpO#$}QWO'#JzO#%VQWO,5;ZO#%[Q`O'#DjO#%iQ`O'#EUOOQ07b,5:n,5:nO%[Q^O,5:nO#%pQWO,5:nO>pQWO,5;UO!@}Q`O,5;UO!AVQ7[O,5;UO:RQ7[O,5;UO#%xQWO,5@XO#%}Q$ISO,5:rOOQO-E<`-E<`O#'TQ07pO,5:}OCnQ`O,5:qO#'_Q`O,5:qOCnQ`O,5:}O!@rQ07hO,5:qOOQ07`'#Ef'#EfOOQO,5:},5:}O%[Q^O,5:}O#'lQ07hO,5:}O#'wQ07hO,5:}O!@}Q`O,5:qOOQO,5;T,5;TO#(VQ07hO,5:}POOO'#IV'#IVP#(kO!0LbO,58{POOO,58{,58{OOOO-EwO+}Q^O,5>wOOQO,5>},5>}O#)VQ^O'#I]OOQO-EjQ08SO1G0{O#>wQ08SO1G0{O#@uQ08SO1G0{O#CuQ(CYO'#ChO#EsQ(CYO1G1^O#EzQ(CYO'#JjO!,lQWO1G1dO#F[Q08SO,5?TOOQ07`-EkQWO1G3lO$2dQ^O1G3nO$6hQ^O'#HmOOQU1G3q1G3qO$6uQWO'#HsO>pQWO'#HuOOQU1G3w1G3wO$6}Q^O1G3wO9kQ07hO1G3}OOQU1G4P1G4POOQ07`'#GY'#GYO9kQ07hO1G4RO9kQ07hO1G4TO$;UQWO,5@XO!*fQ^O,5;[O9ZQWO,5;[O>pQWO,5:UO!*fQ^O,5:UO!@}Q`O,5:UO$;ZQ(CYO,5:UOOQO,5;[,5;[O$;eQ`O'#I^O$;{QWO,5@WOOQ07b1G/o1G/oO$pQWO1G0pO!@}Q`O1G0pO!AVQ7[O1G0pOOQ07`1G5s1G5sO!@rQ07hO1G0]OOQO1G0i1G0iO%[Q^O1G0iO$PQrO1G4cOOQO1G4i1G4iO%[Q^O,5>wO$>ZQWO1G5qO$>cQWO1G6OO$>kQrO1G6PO9ZQWO,5>}O$>uQ08SO1G5|O%[Q^O1G5|O$?VQ07hO1G5|O$?hQWO1G5{O$?hQWO1G5{O9ZQWO1G5{O$?pQWO,5?QO9ZQWO,5?QOOQO,5?Q,5?QO$@UQWO,5?QO$'ZQWO,5?QOOQO-EXOOQU,5>X,5>XO%[Q^O'#HnO%7dQWO'#HpOOQU,5>_,5>_O9ZQWO,5>_OOQU,5>a,5>aOOQU7+)c7+)cOOQU7+)i7+)iOOQU7+)m7+)mOOQU7+)o7+)oO%7iQ`O1G5sO%7}Q(CYO1G0vO%8XQWO1G0vOOQO1G/p1G/pO%8dQ(CYO1G/pO>pQWO1G/pO!*fQ^O'#DjOOQO,5>x,5>xOOQO-E<[-E<[OOQO,5?O,5?OOOQO-EpQWO7+&[O!@}Q`O7+&[OOQO7+%w7+%wO$=mQ08SO7+&TOOQO7+&T7+&TO%[Q^O7+&TO%8nQ07hO7+&TO!@rQ07hO7+%wO!@}Q`O7+%wO%8yQ07hO7+&TO%9XQ08SO7++hO%[Q^O7++hO%9iQWO7++gO%9iQWO7++gOOQO1G4l1G4lO9ZQWO1G4lO%9qQWO1G4lOOQO7+%|7+%|O#%sQWO<zQ08SO1G2ZO%A]Q08SO1G2mO%ChQ08SO1G2oO%EsQ7[O,5>yOOQO-E<]-E<]O%E}QrO,5>zO%[Q^O,5>zOOQO-E<^-E<^O%FXQWO1G5uOOQ07b<YOOQU,5>[,5>[O&5oQWO1G3yO9ZQWO7+&bO!*fQ^O7+&bOOQO7+%[7+%[O&5tQ(CYO1G6PO>pQWO7+%[OOQ07b<pQWO<pQWO7+)eO'&sQWO<}AN>}O%[Q^OAN?ZOOQO<qQ(CYOG26}O!*fQ^O'#DyO1PQWO'#EWO'@gQrO'#JiO!*fQ^O'#DqO'@nQ^O'#D}O'@uQrO'#ChO'C]QrO'#ChO!*fQ^O'#EPO'CmQ^O,5;VO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O'#IiO'EpQWO,5a#@O#@^#@d#Ax#BW#Cr#DQ#DW#D^#Dd#Dn#Dt#Dz#EU#Eh#EnPPPPPPPPPP#EtPPPPPPP#Fi#Ip#KP#KW#K`PPPP$!d$%Z$+r$+u$+x$,q$,t$,w$-O$-WPP$-^$-b$.Y$/X$/]$/qPP$/u$/{$0PP$0S$0W$0Z$1P$1h$2P$2T$2W$2Z$2a$2d$2h$2lR!{RoqOXst!Z#c%j&m&o&p&r,h,m1w1zY!uQ'Z-Y1[5]Q%pvQ%xyQ&P|Q&e!VS'R!e-QQ'a!iS'g!r!xS*c$|*hQ+f%yQ+s&RQ,X&_Q-W'YQ-b'bQ-j'hQ/|*jQ1f,YR;Y:g%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%j%p%}&f&i&m&o&p&r&v'O']'m'}(P(V(^(r(v(z)y+O+S,e,h,m-^-f-t-z.l.s0[0a0q1_1o1p1r1t1w1z1|2m2s3Z5Y5d5t5u5x6]7w7|8]8gS#p]:d!r)[$[$m'S)n,y,|.{2]3p5W6S9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]Q*u%ZQ+k%{Q,Z&bQ,b&jQ.c;QQ0h+^Q0l+`Q0w+lQ1n,`Q2{.[Q4v0rQ5k1gQ6i3PQ6u;RQ7h4wR8m6j&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%j%p%}&f&i&j&m&o&p&r&v'O'S']'m'}(P(V(^(r(v(z)n)y+O+S+^,e,h,m,y,|-^-f-t-z.[.l.s.{0[0a0q1_1o1p1r1t1w1z1|2]2m2s3P3Z3p5W5Y5d5t5u5x6S6]6j7w7|8]8g9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]t!nQ!r!u!x!y'R'Y'Z'g'h'i-Q-W-Y-j1[5]5_$v$si#u#w$c$d$x${%O%Q%[%]%a)u){)}*P*R*Y*`*p*q+]+`+w+z.Z.i/Z/j/k/m0Q0S0^1R1U1^3O3x4S4[4f4n4p5c6g7T7^7y8j8w9[9n:O:W:y:z:|:};O;P;S;T;U;V;W;X;_;`;a;b;c;d;g;h;i;j;k;l;m;n;q;r < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:C3,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[Z3],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(n%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$f&j(OpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(OpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Op(R!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$f&j(Op(R!b't(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST(P#S$f&j'u(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$f&j(Op(R!b'u(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$f&j!o$Ip(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/|3l_'}$(n$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$f&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$a`$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$a``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$a`$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(R!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$a`(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k#%|:hh$f&j(Op(R!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXVS$f&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSVSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWVS(R!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]VS$f&j(OpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWVS(OpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYVS(Op(R!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$f&j!USOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$f&j!USO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!USOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!US#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$f&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$f&j(R!b!USOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ(R!b!USOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb(R!b!USOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX(R!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$f&j(R!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#Zd$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c#D3[t]||-1},{term:334,get:t=>R3[t]||-1},{term:70,get:t=>I3[t]||-1}],tokenPrec:14638}),Wc=[ft("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),ft("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),ft("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),ft("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),ft("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),ft(`try { +`;)s--;this.fragmentEnd=s?s-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=i;if(!n.childAfter(r))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(G.contextHash)==e}takeNodes(e){let i=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,l=e.block.children.length,a=o,u=l;for(;;){if(i.to-n>r){if(i.type.isAnonymous&&i.firstChild())continue;break}let c=yg(i.from-n,e.ranges);if(i.to-n<=e.ranges[e.rangeI].to)e.addNode(i.tree,c);else{let h=new ie(e.parser.nodeSet.types[D.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,i.tree),e.addNode(h,c)}if(i.type.is("Block")&&(TS.indexOf(i.type.id)<0?(o=i.to-n,l=e.block.children.length):(o=a,l=u,a=i.to-n,u=e.block.children.length)),!i.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-s}};function yg(t,e){let i=t;for(let n=1;nbo[t]),Object.keys(bo).map(t=>_S[t]),Object.keys(bo),$S,tg,Object.keys(Oa).map(t=>Oa[t]),Object.keys(Oa),[]);function RS(t,e,i){let n=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:i;if(o>s&&n.push({from:s,to:o}),!r)break;s=r.to}return n}function IS(t){let{codeParser:e,htmlParser:i}=t;return{wrap:Fm((r,s)=>{let o=r.type.id;if(e&&(o==D.CodeBlock||o==D.FencedCode)){let l="";if(o==D.FencedCode){let u=r.node.getChild(D.CodeInfo);u&&(l=s.read(u.from,u.to))}let a=e(l);if(a)return{parser:a,overlay:u=>u.type.id==D.CodeText}}else if(i&&(o==D.HTMLBlock||o==D.HTMLTag))return{parser:i,overlay:RS(r.node,r.from,r.to)};return null})}}const LS={resolve:"Strikethrough",mark:"StrikethroughMark"},XS={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":b.strikethrough}},{name:"StrikethroughMark",style:b.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let n=t.slice(i-1,i),r=t.slice(i+2,i+3),s=/\s|^$/.test(n),o=/\s|^$/.test(r),l=Os.test(n),a=Os.test(r);return t.addDelimiter(LS,i,i+2,!o&&(!a||s||l),!s&&(!l||o||a))},after:"Emphasis"}]};function Jr(t,e,i=0,n,r=0){let s=0,o=!0,l=-1,a=-1,u=!1,c=()=>{n.push(t.elt("TableCell",r+l,r+a,t.parser.parseInline(e.slice(l,a),r+l)))};for(let h=i;h-1)&&s++,o=!1,n&&(l>-1&&c(),n.push(t.elt("TableDelimiter",h+r,h+r+1))),l=a=-1):(u||f!=32&&f!=9)&&(l<0&&(l=h),a=h+1),u=!u&&f==92}return l>-1&&(s++,n&&c()),s}function Rd(t,e){for(let i=e;ir instanceof Id)||!Rd(e.text,e.basePos))return!1;let n=t.scanLine(t.absoluteLineEnd+1).text;return xg.test(n)&&Jr(t,e.text,e.basePos)==Jr(t,n,e.basePos)},before:"SetextHeading"}]};class VS{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}}const WS={defineNodes:[{name:"Task",block:!0,style:b.list},{name:"TaskMarker",style:b.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new VS:null},after:"SetextHeading"}]},Ld=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Xd=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,FS=/[\w-]+\.[\w-]+($|\/)/,Md=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Vd=/\/[a-zA-Z\d@.]+/gy;function Wd(t,e,i,n){let r=0;for(let s=e;s-1)return-1;let n=e+i[0].length;for(;;){let r=t[n-1],s;if(/[?!.,:*_~]/.test(r)||r==")"&&Wd(t,e,n,")")>Wd(t,e,n,"("))n--;else if(r==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+s.index;else break}return n}function Fd(t,e){Md.lastIndex=e;let i=Md.exec(t);if(!i)return-1;let n=i[0][i[0].length-1];return n=="_"||n=="-"?-1:e+i[0].length-(n=="."?1:0)}const jS={parseInline:[{name:"Autolink",parse(t,e,i){let n=i-t.offset;Ld.lastIndex=n;let r=Ld.exec(t.text),s=-1;return!r||(r[1]||r[2]?s=zS(t.text,n+r[0].length):r[3]?s=Fd(t.text,n):(s=Fd(t.text,n+r[0].length),s>-1&&r[0]=="xmpp:"&&(Vd.lastIndex=s,r=Vd.exec(t.text),r&&(s=r.index+r[0].length))),s<0)?-1:(t.addElement(t.elt("URL",i,s+t.offset)),s+t.offset)}}]},BS=[MS,WS,XS,jS];function kg(t,e,i){return(n,r,s)=>{if(r!=t||n.char(s+1)==t)return-1;let o=[n.elt(i,s,s+1)];for(let l=s+1;li%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,n=0){let r=e.parser.context;return new Lu(e,[],i,n,n,0,[],0,r?new jd(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let n=e>>19,r=e&65535,{parser:s}=this.p,o=s.dynamicPrecedence(r);if(o&&(this.score+=o),n==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,i,n,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[l-4]==0&&o.buffer[l-1]>-1){if(i==n)return;if(o.buffer[l-2]>=i){o.buffer[l-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,i,n,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=i,this.buffer[o+2]=n,this.buffer[o+3]=r}}shift(e,i,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(i,n),i<=this.p.parser.maxNode&&this.buffer.push(i,n,r,4);else{let s=e,{parser:o}=this.p;(r>this.pos||i<=o.maxNode)&&(this.pos=r,o.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,n),this.shiftContext(i,n),i<=o.maxNode&&this.buffer.push(i,n,r,4)}}apply(e,i,n,r){e&65536?this.reduce(e):this.shift(e,i,n,r)}useNode(e,i){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let n=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new Lu(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,n?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new GS(this);;){let n=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(n==0)return!1;if(!(n&65536))return!0;i.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sa&1&&l==o)||r.push(i[s],o)}i=r}let n=[];for(let r=0;r>19,r=i&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;i=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],n=(r,s)=>{if(!i.includes(r))return i.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let l=(o>>19)-s;if(l>1){let a=o&65535,u=this.stack.length-l*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return l<<19|65536|a}}else{let l=n(o,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;ithis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class jd{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}}class GS{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}}class bl{constructor(e,i,n){this.stack=e,this.pos=i,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new bl(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new bl(this.stack,this.pos,this.index)}}function jr(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let n=0,r=0;n=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}i?i[r++]=s:i=new e(s)}return i}class Mo{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Bd=new Mo;class HS{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Bd,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let n=this.range,r=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-n.to,n=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,n,r;if(i>=0&&i=this.chunk2Pos&&nl.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,i=0){let n=i?this.resolveOffset(i,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=Bd,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let n="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return n}}class Gn{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:n}=i.p;vg(this.data,e,i,this.id,n.data,n.tokenPrecTable)}}Gn.prototype.contextual=Gn.prototype.fallback=Gn.prototype.extend=!1;class yl{constructor(e,i,n){this.precTable=i,this.elseToken=n,this.data=typeof e=="string"?jr(e):e}token(e,i){let n=e.pos,r=0;for(;;){let s=e.next<0,o=e.resolveOffset(1,1);if(vg(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,o==null)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}yl.prototype.contextual=Gn.prototype.fallback=Gn.prototype.extend=!1;class ii{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}}function vg(t,e,i,n,r,s){let o=0,l=1<0){let p=t[d];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||KS(p,e.token.value,r,s))){e.acceptToken(p);break}}let c=e.next,h=0,f=t[o+2];if(e.next<0&&f>h&&t[u+f*3-3]==65535){o=t[u+f*3-1];continue e}for(;h>1,p=u+d+(d<<1),m=t[p],g=t[p+1]||65536;if(c=g)h=d+1;else{o=t[p+2],e.advance();continue e}}break}}function qd(t,e,i){for(let n=e,r;(r=t[n])!=65535;n++)if(r==i)return n-e;return-1}function KS(t,e,i,n){let r=qd(i,n,e);return r<0||qd(i,n,t)e)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}class JS{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Yd(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Yd(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof ie){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[i]++,this.nextStart=o+s.length}}}class ew{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Mo)}getActions(e){let i=0,n=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uh.end+25&&(a=Math.max(h.lookAhead,a)),h.value!=0)){let f=i;if(h.extended>-1&&(i=this.addActions(e,h.extended,h.end,i)),i=this.addActions(e,h.value,h.end,i),!c.extend&&(n=h,i>f))break}}for(;this.actions.length>i;)this.actions.pop();return a&&e.setLookAhead(a),!n&&e.pos==this.stream.end&&(n=new Mo,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,i=this.addActions(e,n.value,n.end,i)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Mo,{pos:n,p:r}=e;return i.start=n,i.end=Math.min(n+1,r.stream.end),i.value=n==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,n){let r=this.stream.clipPos(n.pos);if(i.token(this.stream.reset(r,e),n),e.value>-1){let{parser:s}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,i,n,r){for(let s=0;se.bufferLength*4?new JS(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,n=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;oi)n.push(l);else{if(this.advanceStack(l,n,e))continue;{r||(r=[],s=[]),r.push(l);let a=this.tokens.getMainToken(l);s.push(a.value,a.end)}}break}}if(!n.length){let o=r&&nw(r);if(o)return xt&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw xt&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,n);if(o)return xt&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((l,a)=>a.score-l.score);n.length>o;)n.pop();n.some(l=>l.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&u.buffer.length>500)if((l.score-u.score||l.buffer.length-u.buffer.length)>0)n.splice(a--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,c=u?e.curContext.hash:0;for(let h=this.fragments.nodeAt(r);h;){let f=this.parser.nodeSet.types[h.type.id]==h.type?s.getGoto(e.state,h.type.id):-1;if(f>-1&&h.length&&(!u||(h.prop(G.contextHash)||0)==c))return e.useNode(h,f),xt&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(h.type.id)})`),!0;if(!(h instanceof ie)||h.children.length==0||h.positions[0]>0)break;let d=h.children[0];if(d instanceof ie&&h.positions[0]==0)h=d;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),xt&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let u=0;ur?i.push(p):n.push(p)}return!1}advanceFully(e,i){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Nd(e,i),!0}}runRecovery(e,i,n){let r=null,s=!1;for(let o=0;o ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),xt&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let h=l.split(),f=c;for(let d=0;h.forceReduce()&&d<10&&(xt&&console.log(f+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));d++)xt&&(f=this.stackID(h)+" -> ");for(let d of l.recoverByInsert(a))xt&&console.log(c+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>l.pos?(u==l.pos&&(u++,a=0),l.recoverByDelete(a,u),xt&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(a)})`),Nd(l,n)):(!r||r.scoret;class Sg{constructor(e){this.start=e.start,this.shift=e.shift||ba,this.reduce=e.reduce||ba,this.reuse=e.reuse||ba,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class dr extends Il{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let l=0;le.topRules[l][1]),r=[];for(let l=0;l=0)s(c,a,l[u++]);else{let h=l[u+-c];for(let f=-c;f>0;f--)s(l[u++],a,h);u++}}}this.nodeSet=new br(i.map((l,a)=>Me.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:r[a],top:n.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Lm;let o=jr(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new Gn(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,n){let r=new tw(this,e,i,n);for(let s of this.wrappers)r=s(r,e,i,n);return r}getGoto(e,i,n=!1){let r=this.goto;if(i>=r[0])return-1;for(let s=r[i+1];;){let o=r[s++],l=o&1,a=r[s++];if(l&&n)return a;for(let u=s+(o>>1);s0}validAction(e,i){return!!this.allActions(e,n=>n==i?!0:null)}allActions(e,i){let n=this.stateSlot(e,4),r=n?i(n):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Si(this.data,s+2);else break;r=i(Si(this.data,s+1))}return r}nextStates(e){let i=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Si(this.data,n+2);else break;if(!(this.data[n+2]&1)){let r=this.data[n+1];i.some((s,o)=>o&1&&s==r)||i.push(this.data[n],r)}}return i}configure(e){let i=Object.assign(Object.create(dr.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=n}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(s=>s.from==n);return r?r.to:n})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((n,r)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let o=Object.assign(Object.assign({},n),{external:s.to});return i.specializers[r]=Ud(o),o})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),n=i.map(()=>!1);if(e)for(let s of e.split(" ")){let o=i.indexOf(s);o>=0&&(n[o]=!0)}let r=null;for(let s=0;sn)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.scoret.external(i,n)<<1|e}return t.get}const rw=54,sw=1,ow=55,lw=2,aw=56,uw=3,Gd=4,cw=5,xl=6,wg=7,_g=8,$g=9,Pg=10,hw=11,fw=12,dw=13,ya=57,pw=14,Hd=58,Cg=20,mw=22,Qg=23,Ow=24,Xu=26,Ag=27,gw=28,bw=31,yw=34,xw=36,kw=37,vw=0,Sw=1,ww={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},_w={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Kd={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function $w(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Tg(t){return t==9||t==10||t==13||t==32}let Jd=null,ep=null,tp=0;function Mu(t,e){let i=t.pos+e;if(tp==i&&ep==t)return Jd;let n=t.peek(e);for(;Tg(n);)n=t.peek(++e);let r="";for(;$w(n);)r+=String.fromCharCode(n),n=t.peek(++e);return ep=t,tp=i,Jd=r?r.toLowerCase():n==Pw||n==Cw?void 0:null}const Eg=60,kl=62,Mc=47,Pw=63,Cw=33,Qw=45;function ip(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i-1?new ip(Mu(n,1)||"",t):t},reduce(t,e){return e==Cg&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==xl||r==xw?new ip(Mu(n,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),Ew=new ii((t,e)=>{if(t.next!=Eg){t.next<0&&e.context&&t.acceptToken(ya);return}t.advance();let i=t.next==Mc;i&&t.advance();let n=Mu(t,0);if(n===void 0)return;if(!n)return t.acceptToken(i?pw:xl);let r=e.context?e.context.name:null;if(i){if(n==r)return t.acceptToken(hw);if(r&&_w[r])return t.acceptToken(ya,-2);if(e.dialectEnabled(vw))return t.acceptToken(fw);for(let s=e.context;s;s=s.parent)if(s.name==n)return;t.acceptToken(dw)}else{if(n=="script")return t.acceptToken(wg);if(n=="style")return t.acceptToken(_g);if(n=="textarea")return t.acceptToken($g);if(ww.hasOwnProperty(n))return t.acceptToken(Pg);r&&Kd[r]&&Kd[r][n]?t.acceptToken(ya,-1):t.acceptToken(xl)}},{contextual:!0}),Zw=new ii(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(Hd);break}if(t.next==Qw)e++;else if(t.next==kl&&e>=2){i>=3&&t.acceptToken(Hd,-2);break}else e=0;t.advance()}});function Dw(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}const Rw=new ii((t,e)=>{if(t.next==Mc&&t.peek(1)==kl){let i=e.dialectEnabled(Sw)||Dw(e.context);t.acceptToken(i?cw:Gd,2)}else t.next==kl&&t.acceptToken(Gd,1)});function Vc(t,e,i){let n=2+t.length;return new ii(r=>{for(let s=0,o=0,l=0;;l++){if(r.next<0){l&&r.acceptToken(e);break}if(s==0&&r.next==Eg||s==1&&r.next==Mc||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(i,-(o-2));break}else if((r.next==10||r.next==13)&&l){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const Iw=Vc("script",rw,sw),Lw=Vc("style",ow,lw),Xw=Vc("textarea",aw,uw),Mw=yr({"Text RawText":b.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":b.angleBracket,TagName:b.tagName,"MismatchedCloseTag/TagName":[b.tagName,b.invalid],AttributeName:b.attributeName,"AttributeValue UnquotedAttributeValue":b.attributeValue,Is:b.definitionOperator,"EntityReference CharacterReference":b.character,Comment:b.blockComment,ProcessingInst:b.processingInstruction,DoctypeDecl:b.documentMeta}),Vw=dr.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Tw,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Mw],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let u=l.type.id;if(u==gw)return xa(l,a,i);if(u==bw)return xa(l,a,n);if(u==yw)return xa(l,a,r);if(u==Cg&&s.length){let c=l.node,h=c.firstChild,f=h&&np(h,a),d;if(f){for(let p of s)if(p.tag==f&&(!p.attrs||p.attrs(d||(d=Zg(c,a))))){let m=c.lastChild,g=m.type.id==kw?m.from:c.to;if(g>h.to)return{parser:p.parser,overlay:[{from:h.to,to:g}]}}}}if(o&&u==Qg){let c=l.node,h;if(h=c.firstChild){let f=o[a.read(h.from,h.to)];if(f)for(let d of f){if(d.tagName&&d.tagName!=np(c.parent,a))continue;let p=c.lastChild;if(p.type.id==Xu){let m=p.from+1,g=p.lastChild,O=p.to-(g&&g.isError?0:1);if(O>m)return{parser:d.parser,overlay:[{from:m,to:O}]}}else if(p.type.id==Ag)return{parser:d.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}const Ww=99,rp=1,Fw=100,zw=101,sp=2,Rg=[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],jw=58,Bw=40,Ig=95,qw=91,Vo=45,Yw=46,Nw=35,Uw=37,Gw=38,Hw=92,Kw=10;function gs(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Lg(t){return t>=48&&t<=57}const Jw=new ii((t,e)=>{for(let i=!1,n=0,r=0;;r++){let{next:s}=t;if(gs(s)||s==Vo||s==Ig||i&&Lg(s))!i&&(s!=Vo||r>0)&&(i=!0),n===r&&s==Vo&&n++,t.advance();else if(s==Hw&&t.peek(1)!=Kw)t.advance(),t.next>-1&&t.advance(),i=!0;else{i&&t.acceptToken(s==Bw?Fw:n==2&&e.canShift(sp)?sp:zw);break}}}),e3=new ii(t=>{if(Rg.includes(t.peek(-1))){let{next:e}=t;(gs(e)||e==Ig||e==Nw||e==Yw||e==qw||e==jw&&gs(t.peek(1))||e==Vo||e==Gw)&&t.acceptToken(Ww)}}),t3=new ii(t=>{if(!Rg.includes(t.peek(-1))){let{next:e}=t;if(e==Uw&&(t.advance(),t.acceptToken(rp)),gs(e)){do t.advance();while(gs(t.next)||Lg(t.next));t.acceptToken(rp)}}}),i3=yr({"AtKeyword import charset namespace keyframes media supports":b.definitionKeyword,"from to selector":b.keyword,NamespaceName:b.namespace,KeyframeName:b.labelName,KeyframeRangeName:b.operatorKeyword,TagName:b.tagName,ClassName:b.className,PseudoClassName:b.constant(b.className),IdName:b.labelName,"FeatureName PropertyName":b.propertyName,AttributeName:b.attributeName,NumberLiteral:b.number,KeywordQuery:b.keyword,UnaryQueryOp:b.operatorKeyword,"CallTag ValueName":b.atom,VariableName:b.variableName,Callee:b.operatorKeyword,Unit:b.unit,"UniversalSelector NestingSelector":b.definitionOperator,MatchOp:b.compareOperator,"ChildOp SiblingOp, LogicOp":b.logicOperator,BinOp:b.arithmeticOperator,Important:b.modifier,Comment:b.blockComment,ColorLiteral:b.color,"ParenthesizedContent StringLiteral":b.string,":":b.punctuation,"PseudoOp #":b.derefOperator,"; ,":b.separator,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace}),n3={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},r3={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},s3={__proto__:null,not:132,only:132},o3=dr.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[e3,t3,Jw,1,2,3,4,new yl("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>n3[t]||-1},{term:58,get:t=>r3[t]||-1},{term:101,get:t=>s3[t]||-1}],tokenPrec:1200});let ka=null;function va(){if(!ka&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),i.has(n)||(e.push(n),i.add(n)));ka=e.sort().map(n=>({type:"property",label:n}))}return ka||[]}const op=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),lp=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),l3=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),Ii=/^(\w[\w-]*|-\w[\w-]*|)$/,a3=/^-(-[\w-]*)?$/;function u3(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const ap=new Wm,c3=["Declaration"];function h3(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function Xg(t,e,i){if(e.to-e.from>4096){let n=ap.get(e);if(n)return n;let r=[],s=new Set,o=e.cursor(xe.IncludeAnonymous);if(o.firstChild())do for(let l of Xg(t,o.node,i))s.has(l.label)||(s.add(l.label),r.push(l));while(o.nextSibling());return ap.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(s=>{var o;if(i(s)&&s.matchContext(c3)&&((o=s.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let l=t.sliceString(s.from,s.to);r.has(l)||(r.add(l),n.push({label:l,type:"variable"}))}}),n}}const Mg=t=>e=>{let{state:i,pos:n}=e,r=Ze(i).resolveInner(n,-1),s=r.type.isError&&r.from==r.to-1&&i.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:va(),validFor:Ii};if(r.name=="ValueName")return{from:r.from,options:lp,validFor:Ii};if(r.name=="PseudoClassName")return{from:r.from,options:op,validFor:Ii};if(t(r)||(e.explicit||s)&&u3(r,i.doc))return{from:t(r)||s?r.from:n,options:Xg(i.doc,h3(r),t),validFor:a3};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:va(),validFor:Ii};return{from:r.from,options:l3,validFor:Ii}}if(!e.explicit)return null;let o=r.resolve(n),l=o.childBefore(n);return l&&l.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:op,validFor:Ii}:l&&l.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:lp,validFor:Ii}:o.name=="Block"||o.name=="Styles"?{from:n,options:va(),validFor:Ii}:null},Vg=Mg(t=>t.name=="VariableName"),bs=ar.define({name:"css",parser:o3.configure({props:[Ds.add({Declaration:Xo()}),Rs.add({"Block KeyframeList":Gm})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Wg(){return new hr(bs,bs.data.of({autocomplete:Vg}))}const f3=Object.freeze(Object.defineProperty({__proto__:null,css:Wg,cssCompletionSource:Vg,cssLanguage:bs,defineCSSCompletionSource:Mg},Symbol.toStringTag,{value:"Module"})),d3=309,up=1,p3=2,m3=3,O3=310,g3=312,b3=313,y3=4,x3=5,k3=0,Vu=[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],Fg=125,v3=59,Wu=47,S3=42,w3=43,_3=45,$3=60,P3=44,C3=new Sg({start:!1,shift(t,e){return e==y3||e==x3||e==g3?t:e==b3},strict:!1}),Q3=new ii((t,e)=>{let{next:i}=t;(i==Fg||i==-1||e.context)&&t.acceptToken(O3)},{contextual:!0,fallback:!0}),A3=new ii((t,e)=>{let{next:i}=t,n;Vu.indexOf(i)>-1||i==Wu&&((n=t.peek(1))==Wu||n==S3)||i!=Fg&&i!=v3&&i!=-1&&!e.context&&t.acceptToken(d3)},{contextual:!0}),T3=new ii((t,e)=>{let{next:i}=t;if((i==w3||i==_3)&&(t.advance(),i==t.next)){t.advance();let n=!e.context&&e.canShift(up);t.acceptToken(n?up:p3)}},{contextual:!0});function Sa(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}const E3=new ii((t,e)=>{if(t.next!=$3||!e.dialectEnabled(k3)||(t.advance(),t.next==Wu))return;let i=0;for(;Vu.indexOf(t.next)>-1;)t.advance(),i++;if(Sa(t.next,!0)){for(t.advance(),i++;Sa(t.next,!1);)t.advance(),i++;for(;Vu.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==P3)return;for(let n=0;;n++){if(n==7){if(!Sa(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),i++}}t.acceptToken(m3,-i)}),Z3=yr({"get set async static":b.modifier,"for while do if else switch try catch finally return throw break continue default case":b.controlKeyword,"in of await yield void typeof delete instanceof":b.operatorKeyword,"let var const using function class extends":b.definitionKeyword,"import export from":b.moduleKeyword,"with debugger as new":b.keyword,TemplateString:b.special(b.string),super:b.atom,BooleanLiteral:b.bool,this:b.self,null:b.null,Star:b.modifier,VariableName:b.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":b.function(b.variableName),VariableDefinition:b.definition(b.variableName),Label:b.labelName,PropertyName:b.propertyName,PrivatePropertyName:b.special(b.propertyName),"CallExpression/MemberExpression/PropertyName":b.function(b.propertyName),"FunctionDeclaration/VariableDefinition":b.function(b.definition(b.variableName)),"ClassDeclaration/VariableDefinition":b.definition(b.className),PropertyDefinition:b.definition(b.propertyName),PrivatePropertyDefinition:b.definition(b.special(b.propertyName)),UpdateOp:b.updateOperator,"LineComment Hashbang":b.lineComment,BlockComment:b.blockComment,Number:b.number,String:b.string,Escape:b.escape,ArithOp:b.arithmeticOperator,LogicOp:b.logicOperator,BitOp:b.bitwiseOperator,CompareOp:b.compareOperator,RegExp:b.regexp,Equals:b.definitionOperator,Arrow:b.function(b.punctuation),": Spread":b.punctuation,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace,"InterpolationStart InterpolationEnd":b.special(b.brace),".":b.derefOperator,", ;":b.separator,"@":b.meta,TypeName:b.typeName,TypeDefinition:b.definition(b.typeName),"type enum interface implements namespace module declare":b.definitionKeyword,"abstract global Privacy readonly override":b.modifier,"is keyof unique infer":b.operatorKeyword,JSXAttributeValue:b.attributeValue,JSXText:b.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":b.angleBracket,"JSXIdentifier JSXNameSpacedName":b.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":b.attributeName,"JSXBuiltin/JSXIdentifier":b.standard(b.tagName)}),D3={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},R3={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},I3={__proto__:null,"<":143},L3=dr.deserialize({version:14,states:"$RQWO'#CdO>cQWO'#H[O>kQWO'#HbO>kQWO'#HdO`Q^O'#HfO>kQWO'#HhO>kQWO'#HkO>pQWO'#HqO>uQ07iO'#HwO%[Q^O'#HyO?QQ07iO'#H{O?]Q07iO'#H}O9kQ07hO'#IPO?hQ08SO'#ChO@jQ`O'#DiQOQWOOO%[Q^O'#EPOAQQWO'#ESO:RQ7[O'#EjOA]QWO'#EjOAhQpO'#FbOOQU'#Cf'#CfOOQ07`'#Dn'#DnOOQ07`'#Jm'#JmO%[Q^O'#JmOOQO'#Jq'#JqOOQO'#Ib'#IbOBhQ`O'#EcOOQ07`'#Eb'#EbOCdQ07pO'#EcOCnQ`O'#EVOOQO'#Jp'#JpODSQ`O'#JqOEaQ`O'#EVOCnQ`O'#EcPEnO!0LbO'#CaPOOO)CDu)CDuOOOO'#IX'#IXOEyO!bO,59TOOQ07b,59T,59TOOOO'#IY'#IYOFXO#tO,59TO%[Q^O'#D`OOOO'#I['#I[OFgO?MpO,59xOOQ07b,59x,59xOFuQ^O'#I]OGYQWO'#JkOI[QrO'#JkO+}Q^O'#JkOIcQWO,5:OOIyQWO'#ElOJWQWO'#JyOJcQWO'#JxOJcQWO'#JxOJkQWO,5;YOJpQWO'#JwOOQ07f,5:Z,5:ZOJwQ^O,5:ZOLxQ08SO,5:eOMiQWO,5:mONSQ07hO'#JvONZQWO'#JuO9ZQWO'#JuONoQWO'#JuONwQWO,5;XON|QWO'#JuO!#UQrO'#JjOOQ07b'#Ch'#ChO%[Q^O'#ERO!#tQpO,5:rOOQO'#Jr'#JrOOQO-EmOOQU'#J`'#J`OOQU,5>n,5>nOOQU-EpQWO'#HQO9aQWO'#HSO!CgQWO'#HSO:RQ7[O'#HUO!ClQWO'#HUOOQU,5=j,5=jO!CqQWO'#HVO!DSQWO'#CnO!DXQWO,59OO!DcQWO,59OO!FhQ^O,59OOOQU,59O,59OO!FxQ07hO,59OO%[Q^O,59OO!ITQ^O'#H^OOQU'#H_'#H_OOQU'#H`'#H`O`Q^O,5=vO!IkQWO,5=vO`Q^O,5=|O`Q^O,5>OO!IpQWO,5>QO`Q^O,5>SO!IuQWO,5>VO!IzQ^O,5>]OOQU,5>c,5>cO%[Q^O,5>cO9kQ07hO,5>eOOQU,5>g,5>gO!NUQWO,5>gOOQU,5>i,5>iO!NUQWO,5>iOOQU,5>k,5>kO!NZQ`O'#D[O%[Q^O'#JmO!NxQ`O'#JmO# gQ`O'#DjO# xQ`O'#DjO#$ZQ^O'#DjO#$bQWO'#JlO#$jQWO,5:TO#$oQWO'#EpO#$}QWO'#JzO#%VQWO,5;ZO#%[Q`O'#DjO#%iQ`O'#EUOOQ07b,5:n,5:nO%[Q^O,5:nO#%pQWO,5:nO>pQWO,5;UO!@}Q`O,5;UO!AVQ7[O,5;UO:RQ7[O,5;UO#%xQWO,5@XO#%}Q$ISO,5:rOOQO-E<`-E<`O#'TQ07pO,5:}OCnQ`O,5:qO#'_Q`O,5:qOCnQ`O,5:}O!@rQ07hO,5:qOOQ07`'#Ef'#EfOOQO,5:},5:}O%[Q^O,5:}O#'lQ07hO,5:}O#'wQ07hO,5:}O!@}Q`O,5:qOOQO,5;T,5;TO#(VQ07hO,5:}POOO'#IV'#IVP#(kO!0LbO,58{POOO,58{,58{OOOO-EwO+}Q^O,5>wOOQO,5>},5>}O#)VQ^O'#I]OOQO-EjQ08SO1G0{O#>wQ08SO1G0{O#@uQ08SO1G0{O#CuQ(CYO'#ChO#EsQ(CYO1G1^O#EzQ(CYO'#JjO!,lQWO1G1dO#F[Q08SO,5?TOOQ07`-EkQWO1G3lO$2dQ^O1G3nO$6hQ^O'#HmOOQU1G3q1G3qO$6uQWO'#HsO>pQWO'#HuOOQU1G3w1G3wO$6}Q^O1G3wO9kQ07hO1G3}OOQU1G4P1G4POOQ07`'#GY'#GYO9kQ07hO1G4RO9kQ07hO1G4TO$;UQWO,5@XO!*fQ^O,5;[O9ZQWO,5;[O>pQWO,5:UO!*fQ^O,5:UO!@}Q`O,5:UO$;ZQ(CYO,5:UOOQO,5;[,5;[O$;eQ`O'#I^O$;{QWO,5@WOOQ07b1G/o1G/oO$pQWO1G0pO!@}Q`O1G0pO!AVQ7[O1G0pOOQ07`1G5s1G5sO!@rQ07hO1G0]OOQO1G0i1G0iO%[Q^O1G0iO$PQrO1G4cOOQO1G4i1G4iO%[Q^O,5>wO$>ZQWO1G5qO$>cQWO1G6OO$>kQrO1G6PO9ZQWO,5>}O$>uQ08SO1G5|O%[Q^O1G5|O$?VQ07hO1G5|O$?hQWO1G5{O$?hQWO1G5{O9ZQWO1G5{O$?pQWO,5?QO9ZQWO,5?QOOQO,5?Q,5?QO$@UQWO,5?QO$'ZQWO,5?QOOQO-EXOOQU,5>X,5>XO%[Q^O'#HnO%7dQWO'#HpOOQU,5>_,5>_O9ZQWO,5>_OOQU,5>a,5>aOOQU7+)c7+)cOOQU7+)i7+)iOOQU7+)m7+)mOOQU7+)o7+)oO%7iQ`O1G5sO%7}Q(CYO1G0vO%8XQWO1G0vOOQO1G/p1G/pO%8dQ(CYO1G/pO>pQWO1G/pO!*fQ^O'#DjOOQO,5>x,5>xOOQO-E<[-E<[OOQO,5?O,5?OOOQO-EpQWO7+&[O!@}Q`O7+&[OOQO7+%w7+%wO$=mQ08SO7+&TOOQO7+&T7+&TO%[Q^O7+&TO%8nQ07hO7+&TO!@rQ07hO7+%wO!@}Q`O7+%wO%8yQ07hO7+&TO%9XQ08SO7++hO%[Q^O7++hO%9iQWO7++gO%9iQWO7++gOOQO1G4l1G4lO9ZQWO1G4lO%9qQWO1G4lOOQO7+%|7+%|O#%sQWO<zQ08SO1G2ZO%A]Q08SO1G2mO%ChQ08SO1G2oO%EsQ7[O,5>yOOQO-E<]-E<]O%E}QrO,5>zO%[Q^O,5>zOOQO-E<^-E<^O%FXQWO1G5uOOQ07b<YOOQU,5>[,5>[O&5oQWO1G3yO9ZQWO7+&bO!*fQ^O7+&bOOQO7+%[7+%[O&5tQ(CYO1G6PO>pQWO7+%[OOQ07b<pQWO<pQWO7+)eO'&sQWO<}AN>}O%[Q^OAN?ZOOQO<qQ(CYOG26}O!*fQ^O'#DyO1PQWO'#EWO'@gQrO'#JiO!*fQ^O'#DqO'@nQ^O'#D}O'@uQrO'#ChO'C]QrO'#ChO!*fQ^O'#EPO'CmQ^O,5;VO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O'#IiO'EpQWO,5a#@O#@^#@d#Ax#BW#Cr#DQ#DW#D^#Dd#Dn#Dt#Dz#EU#Eh#EnPPPPPPPPPP#EtPPPPPPP#Fi#Ip#KP#KW#K`PPPP$!d$%Z$+r$+u$+x$,q$,t$,w$-O$-WPP$-^$-b$.Y$/X$/]$/qPP$/u$/{$0PP$0S$0W$0Z$1P$1h$2P$2T$2W$2Z$2a$2d$2h$2lR!{RoqOXst!Z#c%j&m&o&p&r,h,m1w1zY!uQ'Z-Y1[5]Q%pvQ%xyQ&P|Q&e!VS'R!e-QQ'a!iS'g!r!xS*c$|*hQ+f%yQ+s&RQ,X&_Q-W'YQ-b'bQ-j'hQ/|*jQ1f,YR;Y:g%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%j%p%}&f&i&m&o&p&r&v'O']'m'}(P(V(^(r(v(z)y+O+S,e,h,m-^-f-t-z.l.s0[0a0q1_1o1p1r1t1w1z1|2m2s3Z5Y5d5t5u5x6]7w7|8]8gS#p]:d!r)[$[$m'S)n,y,|.{2]3p5W6S9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]Q*u%ZQ+k%{Q,Z&bQ,b&jQ.c;QQ0h+^Q0l+`Q0w+lQ1n,`Q2{.[Q4v0rQ5k1gQ6i3PQ6u;RQ7h4wR8m6j&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%j%p%}&f&i&j&m&o&p&r&v'O'S']'m'}(P(V(^(r(v(z)n)y+O+S+^,e,h,m,y,|-^-f-t-z.[.l.s.{0[0a0q1_1o1p1r1t1w1z1|2]2m2s3P3Z3p5W5Y5d5t5u5x6S6]6j7w7|8]8g9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]t!nQ!r!u!x!y'R'Y'Z'g'h'i-Q-W-Y-j1[5]5_$v$si#u#w$c$d$x${%O%Q%[%]%a)u){)}*P*R*Y*`*p*q+]+`+w+z.Z.i/Z/j/k/m0Q0S0^1R1U1^3O3x4S4[4f4n4p5c6g7T7^7y8j8w9[9n:O:W:y:z:|:};O;P;S;T;U;V;W;X;_;`;a;b;c;d;g;h;i;j;k;l;m;n;q;r < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:C3,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[Z3],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(n%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$f&j(OpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(OpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Op(R!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$f&j(Op(R!b't(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST(P#S$f&j'u(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$f&j(Op(R!b'u(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$f&j!o$Ip(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/|3l_'}$(n$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$f&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$a`$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$a``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$a`$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(R!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$a`(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k#%|:hh$f&j(Op(R!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXVS$f&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSVSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWVS(R!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]VS$f&j(OpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWVS(OpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYVS(Op(R!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$f&j!USOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$f&j!USO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!USOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!US#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$f&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$f&j(R!b!USOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ(R!b!USOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb(R!b!USOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX(R!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$f&j(R!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#Zd$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c#D3[t]||-1},{term:334,get:t=>R3[t]||-1},{term:70,get:t=>I3[t]||-1}],tokenPrec:14638}),Wc=[ft("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),ft("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),ft("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),ft("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),ft("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),ft(`try { \${} } catch (\${error}) { \${} @@ -35,10 +35,10 @@ var kb=Object.defineProperty;var vb=(t,e,i)=>e in t?kb(t,e,{enumerable:!0,config constructor(\${params}) { \${} } -}`,{label:"class",detail:"definition",type:"keyword"}),ft('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),ft('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],zg=Wc.concat([ft("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),ft("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),ft("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),c0=new Wm,jg=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Ir(t){return(e,i)=>{let n=e.node.getChild("VariableDefinition");return n&&i(n,t),!0}}const X3=["FunctionDeclaration"],M3={FunctionDeclaration:Ir("function"),ClassDeclaration:Ir("class"),ClassExpression:()=>!0,EnumDeclaration:Ir("constant"),TypeAliasDeclaration:Ir("type"),NamespaceDeclaration:Ir("namespace"),VariableDefinition(t,e){t.matchContext(X3)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function Bg(t,e){let i=c0.get(e);if(i)return i;let n=[],r=!0;function s(o,l){let a=t.sliceString(o.from,o.to);n.push({label:a,type:l})}return e.cursor(xe.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let l=M3[o.name];if(l&&l(o,s)||jg.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of Bg(t,o.node))n.push(l);return!1}}),c0.set(e,n),n}const vl=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Fc=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function qg(t){let e=Ze(t.state).resolveInner(t.pos,-1);if(Fc.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&vl.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)jg.has(r.name)&&(n=n.concat(Bg(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:vl}}function wa(t,e,i){var n;let r=[];for(;;){let s=e.firstChild,o;if((s==null?void 0:s.name)=="VariableName")return r.push(t(s)),{path:r.reverse(),name:i};if((s==null?void 0:s.name)=="MemberExpression"&&((n=o=s.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")r.push(t(o)),e=s;else return null}}function Yg(t){let e=n=>t.state.doc.sliceString(n.from,n.to),i=Ze(t.state).resolveInner(t.pos,-1);return i.name=="PropertyName"?wa(e,i.parent,e(i)):(i.name=="."||i.name=="?.")&&i.parent.name=="MemberExpression"?wa(e,i.parent,""):Fc.indexOf(i.name)>-1?null:i.name=="VariableName"||i.to-i.from<20&&vl.test(e(i))?{path:[],name:e(i)}:i.name=="MemberExpression"?wa(e,i,""):t.explicit?{path:[],name:""}:null}function V3(t,e){let i=[],n=new Set;for(let r=0;;r++){for(let o of(Object.getOwnPropertyNames||Object.keys)(t)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(o)||n.has(o))continue;n.add(o);let l;try{l=t[o]}catch{continue}i.push({label:o,type:typeof l=="function"?/^[A-Z]/.test(o)?"class":e?"function":"method":e?"variable":"property",boost:-r})}let s=Object.getPrototypeOf(t);if(!s)return i;t=s}}function W3(t){let e=new Map;return i=>{let n=Yg(i);if(!n)return null;let r=t;for(let o of n.path)if(r=r[o],!r)return null;let s=e.get(r);return s||e.set(r,s=V3(r,!n.path.length)),{from:i.pos-n.name.length,options:s,validFor:vl}}}const It=ar.define({name:"javascript",parser:L3.configure({props:[Ds.add({IfStatement:Xo({except:/^\s*({|else\b)/}),TryStatement:Xo({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:jk,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:n?1:2)*t.unit},Block:zk({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Xo({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Rs.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Gm,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Ng={test:t=>/^JSX/.test(t.name),facet:Ll({commentTokens:{block:{open:"{/*",close:"*/}"}}})},zc=It.configure({dialect:"ts"},"typescript"),jc=It.configure({dialect:"jsx",props:[bc.add(t=>t.isTop?[Ng]:void 0)]}),Bc=It.configure({dialect:"jsx ts",props:[bc.add(t=>t.isTop?[Ng]:void 0)]},"typescript");let Ug=t=>({label:t,type:"keyword"});const Gg="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(Ug),F3=Gg.concat(["declare","implements","private","protected","public"].map(Ug));function Hg(t={}){let e=t.jsx?t.typescript?Bc:jc:t.typescript?zc:It,i=t.typescript?zg.concat(F3):Wc.concat(Gg);return new hr(e,[It.data.of({autocomplete:Iv(Fc,YO(i))}),It.data.of({autocomplete:qg}),t.jsx?Kg:[]])}function z3(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function h0(t,e,i=t.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,i));return""}const j3=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Kg=j.inputHandler.of((t,e,i,n,r)=>{if((j3?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||n!=">"&&n!="/"||!It.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u;let{head:c}=a,h=Ze(o).resolveInner(c-1,-1),f;if(h.name=="JSXStartTag"&&(h=h.parent),!(o.doc.sliceString(c-1,c)!=n||h.name=="JSXAttributeValue"&&h.to>c)){if(n==">"&&h.name=="JSXFragmentTag")return{range:a,changes:{from:c,insert:""}};if(n=="/"&&h.name=="JSXStartCloseTag"){let d=h.parent,p=d.parent;if(p&&d.from==c-2&&((f=h0(o.doc,p.firstChild,c))||((u=p.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:T.cursor(c+m.length,-1),changes:{from:c,insert:m}}}}else if(n==">"){let d=z3(h);if(d&&d.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(c,c+2))&&(f=h0(o.doc,d,c)))return{range:a,changes:{from:c,insert:``}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function B3(t,e){return e||(e={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},t.getRules().forEach((i,n)=>{i.meta.docs.recommended&&(e.rules[n]=2)})),i=>{let{state:n}=i,r=[];for(let{from:s,to:o}of It.findRegions(n)){let l=n.doc.lineAt(s),a={line:l.number-1,col:s-l.from,pos:s};for(let u of t.verify(n.sliceDoc(s,o),e))r.push(q3(u,n.doc,a))}return r}}function f0(t,e,i,n){return i.line(t+n.line).from+e+(t==1?n.col-1:-1)}function q3(t,e,i){let n=f0(t.line,t.column,e,i),r={from:n,to:t.endLine!=null&&t.endColumn!=1?f0(t.endLine,t.endColumn,e,i):n,message:t.message,source:t.ruleId?"eslint:"+t.ruleId:"eslint",severity:t.severity==1?"warning":"error"};if(t.fix){let{range:s,text:o}=t.fix,l=s[0]+i.pos-n,a=s[1]+i.pos-n;r.actions=[{name:"fix",apply(u,c){u.dispatch({changes:{from:c+l,to:c+a,insert:o},scrollIntoView:!0})}}]}return r}const xo=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:Kg,completionPath:Yg,esLint:B3,javascript:Hg,javascriptLanguage:It,jsxLanguage:jc,localCompletionSource:qg,scopeCompletionSource:W3,snippets:Wc,tsxLanguage:Bc,typescriptLanguage:zc,typescriptSnippets:zg},Symbol.toStringTag,{value:"Module"})),Lr=["_blank","_self","_top","_parent"],_a=["ascii","utf-8","utf-16","latin1","latin1"],$a=["get","post","put","delete"],Pa=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],kt=["true","false"],B={},Y3={a:{attrs:{href:null,ping:null,type:null,media:null,target:Lr,hreflang:null}},abbr:B,address:B,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:B,aside:B,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:B,base:{attrs:{href:null,target:Lr}},bdi:B,bdo:B,blockquote:{attrs:{cite:null}},body:B,br:B,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Pa,formmethod:$a,formnovalidate:["novalidate"],formtarget:Lr,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:B,center:B,cite:B,code:B,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:B,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:B,div:B,dl:B,dt:B,em:B,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:B,figure:B,footer:B,form:{attrs:{action:null,name:null,"accept-charset":_a,autocomplete:["on","off"],enctype:Pa,method:$a,novalidate:["novalidate"],target:Lr}},h1:B,h2:B,h3:B,h4:B,h5:B,h6:B,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:B,hgroup:B,hr:B,html:{attrs:{manifest:null}},i:B,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Pa,formmethod:$a,formnovalidate:["novalidate"],formtarget:Lr,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:B,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:B,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:B,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:_a,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:B,noscript:B,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:B,param:{attrs:{name:null,value:null}},pre:B,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:B,rt:B,ruby:B,samp:B,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:_a}},section:B,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:B,source:{attrs:{src:null,type:null,media:null}},span:B,strong:B,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:B,summary:B,sup:B,table:B,tbody:B,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:B,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:B,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:B,time:{attrs:{datetime:null}},title:B,tr:B,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:B,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:B},Jg={accesskey:null,class:null,contenteditable:kt,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:kt,autocorrect:kt,autocapitalize:kt,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":kt,"aria-autocomplete":["inline","list","both","none"],"aria-busy":kt,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":kt,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":kt,"aria-hidden":kt,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":kt,"aria-multiselectable":kt,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":kt,"aria-relevant":null,"aria-required":kt,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},e1="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of e1)Jg[t]=null;class ys{constructor(e,i){this.tags=Object.assign(Object.assign({},Y3),e),this.globalAttrs=Object.assign(Object.assign({},Jg),i),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}ys.default=new ys;function pr(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function mr(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function t1(t,e,i){let n=i.tags[pr(t,mr(e))];return(n==null?void 0:n.children)||i.allTags}function qc(t,e){let i=[];for(let n=mr(e);n&&!n.type.isTop;n=mr(n.parent)){let r=pr(t,n);if(r&&n.lastChild.name=="CloseTag")break;r&&i.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&i.push(r)}return i}const i1=/^[:\-\.\w\u00b7-\uffff]*$/;function d0(t,e,i,n,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=mr(i,!0);return{from:n,to:r,options:t1(t.doc,o,e).map(l=>({label:l,type:"type"})).concat(qc(t.doc,i).map((l,a)=>({label:"/"+l,apply:"/"+l+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function p0(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:qc(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:i1}}function N3(t,e,i,n){let r=[],s=0;for(let o of t1(t.doc,i,e))r.push({label:"<"+o,type:"type"});for(let o of qc(t.doc,i))r.push({label:"",type:"type",boost:99-s++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function U3(t,e,i,n,r){let s=mr(i),o=s?e.tags[pr(t.doc,s)]:null,l=o&&o.attrs?Object.keys(o.attrs):[],a=o&&o.globalAttrs===!1?l:l.length?l.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:r,options:a.map(u=>({label:u,type:"property"})),validFor:i1}}function G3(t,e,i,n,r){var s;let o=(s=i.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),l=[],a;if(o){let u=t.sliceDoc(o.from,o.to),c=e.globalAttrs[u];if(!c){let h=mr(i),f=h?e.tags[pr(t.doc,h)]:null;c=(f==null?void 0:f.attrs)&&f.attrs[u]}if(c){let h=t.sliceDoc(n,r).toLowerCase(),f='"',d='"';/^['"]/.test(h)?(a=h[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",d=t.sliceDoc(r,r+1)==h[0]?"":h[0],h=h.slice(1),n++):a=/^[^\s<>='"]*$/;for(let p of c)l.push({label:p,apply:f+p+d,type:"constant"})}}return{from:n,to:r,options:l,validFor:a}}function n1(t,e){let{state:i,pos:n}=e,r=Ze(i).resolveInner(n,-1),s=r.resolve(n);for(let o=n,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.fromn1(n,r)}const H3=It.parser.configure({top:"SingleExpression"}),o1=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:zc.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:jc.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:Bc.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:H3},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:It.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:bs.parser}],l1=[{name:"style",parser:bs.parser.configure({top:"Styles"})}].concat(e1.map(t=>({name:t,parser:It.parser}))),Yc=ar.define({name:"html",parser:Vw.configure({props:[Ds.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),es=Yc.configure({wrap:Dg(o1,l1)});function a1(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=Dg((t.nestedLanguages||[]).concat(o1),(t.nestedAttributes||[]).concat(l1)));let n=i?Yc.configure({wrap:i,dialect:e}):e?es.configure({dialect:e}):es;return new hr(n,[es.data.of({autocomplete:s1(t)}),t.autoCloseTags!==!1?u1:[],Hg().support,Wg().support])}const m0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),u1=j.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!es.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u,c,h;let f=o.doc.sliceString(a.from-1,a.to)==n,{head:d}=a,p=Ze(o).resolveInner(d-1,-1),m;if((p.name=="TagName"||p.name=="StartTag")&&(p=p.parent),f&&n==">"&&p.name=="OpenTag"){if(((c=(u=p.parent)===null||u===void 0?void 0:u.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=pr(o.doc,p.parent,d))&&!m0.has(m)){let g=d+(o.doc.sliceString(d,d+1)===">"?1:0),O=``;return{range:a,changes:{from:d,to:g,insert:O}}}}else if(f&&n=="/"&&p.name=="IncompleteCloseTag"){let g=p.parent;if(p.from==d-2&&((h=g.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(m=pr(o.doc,g,d))&&!m0.has(m)){let O=d+(o.doc.sliceString(d,d+1)===">"?1:0),y=`${m}>`;return{range:T.cursor(d+y.length,-1),changes:{from:d,to:O,insert:y}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),K3=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:u1,html:a1,htmlCompletionSource:r1,htmlCompletionSourceWith:s1,htmlLanguage:es,htmlPlain:Yc},Symbol.toStringTag,{value:"Module"})),c1=Ll({commentTokens:{block:{open:""}}}),h1=new G,f1=DS.configure({props:[Rs.add(t=>!t.is("Block")||t.is("Document")||Fu(t)!=null||J3(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),h1.add(Fu),Ds.add({Document:()=>null}),Hi.add({Document:c1})]});function Fu(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function J3(t){return t.name=="OrderedList"||t.name=="BulletList"}function e_(t,e){let i=t;for(;;){let n=i.nextSibling,r;if(!n||(r=Fu(n.type))!=null&&r<=e)break;i=n}return i.to}const t_=Bk.of((t,e,i)=>{for(let n=Ze(t).resolveInner(i,-1);n&&!(n.fromi)return{from:i,to:s}}return null});function Nc(t){return new Ct(c1,t,[t_],"markdown")}const d1=Nc(f1),i_=f1.configure([BS,YS,qS,NS,{props:[Rs.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Uc=Nc(i_);function n_(t,e){return i=>{if(i&&t){let n=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?n=t(i):n=P.matchLanguageName(t,i,!0),n instanceof P)return n.support?n.support.language.parser:$n.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class ko{constructor(e,i,n,r,s,o,l){this.node=e,this.from=i,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=l}blank(e,i=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;r--)n+=" ";return n+(i?this.spaceAfter:"")}}marker(e,i){let n=this.node.name=="OrderedList"?String(+m1(this.item,e)[2]+i):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function p1(t,e){let i=[];for(let r=t;r&&r.name!="Document";r=r.parent)(r.name=="ListItem"||r.name=="Blockquote"||r.name=="FencedCode")&&i.push(r);let n=[];for(let r=i.length-1;r>=0;r--){let s=i[r],o,l=e.lineAt(s.from),a=s.from-l.from;if(s.name=="FencedCode")n.push(new ko(s,a,a,"","","",null));else if(s.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))n.push(new ko(s,a,a+o[0].length,"",o[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let u=o[3],c=o[0].length;u.length>=4&&(u=u.slice(0,u.length-4),c-=4),n.push(new ko(s.parent,a,a+c,o[1],u,o[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let u=o[4],c=o[0].length;u.length>4&&(u=u.slice(0,u.length-4),c-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new ko(s.parent,a,a+c,o[1],u,h,s))}}return n}function m1(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function Ca(t,e,i,n=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let l=m1(s,e),a=+l[2];if(r>=0){if(a!=r+1)return;i.push({from:s.from+l[1].length,to:s.from+l[0].length,insert:String(r+2+n)})}r=a}let o=s.nextSibling;if(!o)break;s=o}}function Gc(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(xr)!=" ")return t;let n=Ci(t,4,i),r="";for(let s=n;s>0;)s>=4?(r+=" ",s-=4):(r+=" ",s--);return r+t.slice(i)}const O1=({state:t,dispatch:e})=>{let i=Ze(t),{doc:n}=t,r=null,s=t.changeByRange(o=>{if(!o.empty||!Uc.isActiveAt(t,o.from))return r={range:o};let l=o.from,a=n.lineAt(l),u=p1(i.resolveInner(l,-1),n);for(;u.length&&u[u.length-1].from>l-a.from;)u.pop();if(!u.length)return r={range:o};let c=u[u.length-1];if(c.to-c.spaceAfter.length>l-a.from)return r={range:o};let h=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){let g=c.node.firstChild,O=c.node.getChild("ListItem","ListItem");if(g.to>=l||O&&O.to0&&!/[^\s>]/.test(n.lineAt(a.from-1).text)){let y=u.length>1?u[u.length-2]:null,k,w="";y&&y.item?(k=a.from+y.from,w=y.marker(n,1)):k=a.from+(y?y.to:0);let _=[{from:k,to:l,insert:w}];return c.node.name=="OrderedList"&&Ca(c.item,n,_,-2),y&&y.node.name=="OrderedList"&&Ca(y.item,n,_),{range:T.cursor(k+w.length),changes:_}}else{let y=g0(u,t,a);return{range:T.cursor(l+y.length+1),changes:{from:a.from,insert:y+t.lineBreak}}}}if(c.node.name=="Blockquote"&&h&&a.from){let g=n.lineAt(a.from-1),O=/>\s*$/.exec(g.text);if(O&&O.index==c.from){let y=t.changes([{from:g.from+O.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(y),changes:y}}}let f=[];c.node.name=="OrderedList"&&Ca(c.item,n,f);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,O=u.length-1;g<=O;g++)p+=g==O&&!d?u[g].marker(n,1):u[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return p=Gc(p,t),r_(c.node,t.doc)&&(p=g0(u,t,a)+t.lineBreak+p),f.push({from:m,to:l,insert:t.lineBreak+p}),{range:T.cursor(m+p.length+1),changes:f}});return r?!1:(e(t.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function O0(t){return t.name=="QuoteMark"||t.name=="ListMark"}function r_(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let r=e.lineAt(i.to),s=e.lineAt(n.from),o=/^[\s>]*$/.test(r.text);return r.number+(o?0:1){let i=Ze(t),n=null,r=t.changeByRange(s=>{let o=s.from,{doc:l}=t;if(s.empty&&Uc.isActiveAt(t,s.from)){let a=l.lineAt(o),u=p1(s_(i,o),l);if(u.length){let c=u[u.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>h&&!/\S/.test(a.text.slice(h,o-a.from)))return{range:T.cursor(a.from+h),changes:{from:a.from+h,to:o}};if(o-a.from==h&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let f=a.from+c.from;if(c.item&&c.node.from{let n=e.node.getChild("VariableDefinition");return n&&i(n,t),!0}}const X3=["FunctionDeclaration"],M3={FunctionDeclaration:Ir("function"),ClassDeclaration:Ir("class"),ClassExpression:()=>!0,EnumDeclaration:Ir("constant"),TypeAliasDeclaration:Ir("type"),NamespaceDeclaration:Ir("namespace"),VariableDefinition(t,e){t.matchContext(X3)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function Bg(t,e){let i=cp.get(e);if(i)return i;let n=[],r=!0;function s(o,l){let a=t.sliceString(o.from,o.to);n.push({label:a,type:l})}return e.cursor(xe.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let l=M3[o.name];if(l&&l(o,s)||jg.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of Bg(t,o.node))n.push(l);return!1}}),cp.set(e,n),n}const vl=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Fc=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function qg(t){let e=Ze(t.state).resolveInner(t.pos,-1);if(Fc.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&vl.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)jg.has(r.name)&&(n=n.concat(Bg(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:vl}}function wa(t,e,i){var n;let r=[];for(;;){let s=e.firstChild,o;if((s==null?void 0:s.name)=="VariableName")return r.push(t(s)),{path:r.reverse(),name:i};if((s==null?void 0:s.name)=="MemberExpression"&&((n=o=s.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")r.push(t(o)),e=s;else return null}}function Yg(t){let e=n=>t.state.doc.sliceString(n.from,n.to),i=Ze(t.state).resolveInner(t.pos,-1);return i.name=="PropertyName"?wa(e,i.parent,e(i)):(i.name=="."||i.name=="?.")&&i.parent.name=="MemberExpression"?wa(e,i.parent,""):Fc.indexOf(i.name)>-1?null:i.name=="VariableName"||i.to-i.from<20&&vl.test(e(i))?{path:[],name:e(i)}:i.name=="MemberExpression"?wa(e,i,""):t.explicit?{path:[],name:""}:null}function V3(t,e){let i=[],n=new Set;for(let r=0;;r++){for(let o of(Object.getOwnPropertyNames||Object.keys)(t)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(o)||n.has(o))continue;n.add(o);let l;try{l=t[o]}catch{continue}i.push({label:o,type:typeof l=="function"?/^[A-Z]/.test(o)?"class":e?"function":"method":e?"variable":"property",boost:-r})}let s=Object.getPrototypeOf(t);if(!s)return i;t=s}}function W3(t){let e=new Map;return i=>{let n=Yg(i);if(!n)return null;let r=t;for(let o of n.path)if(r=r[o],!r)return null;let s=e.get(r);return s||e.set(r,s=V3(r,!n.path.length)),{from:i.pos-n.name.length,options:s,validFor:vl}}}const It=ar.define({name:"javascript",parser:L3.configure({props:[Ds.add({IfStatement:Xo({except:/^\s*({|else\b)/}),TryStatement:Xo({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:jk,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:n?1:2)*t.unit},Block:zk({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Xo({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Rs.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Gm,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Ng={test:t=>/^JSX/.test(t.name),facet:Ll({commentTokens:{block:{open:"{/*",close:"*/}"}}})},zc=It.configure({dialect:"ts"},"typescript"),jc=It.configure({dialect:"jsx",props:[bc.add(t=>t.isTop?[Ng]:void 0)]}),Bc=It.configure({dialect:"jsx ts",props:[bc.add(t=>t.isTop?[Ng]:void 0)]},"typescript");let Ug=t=>({label:t,type:"keyword"});const Gg="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(Ug),F3=Gg.concat(["declare","implements","private","protected","public"].map(Ug));function Hg(t={}){let e=t.jsx?t.typescript?Bc:jc:t.typescript?zc:It,i=t.typescript?zg.concat(F3):Wc.concat(Gg);return new hr(e,[It.data.of({autocomplete:Iv(Fc,YO(i))}),It.data.of({autocomplete:qg}),t.jsx?Kg:[]])}function z3(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function hp(t,e,i=t.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,i));return""}const j3=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Kg=j.inputHandler.of((t,e,i,n,r)=>{if((j3?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||n!=">"&&n!="/"||!It.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u;let{head:c}=a,h=Ze(o).resolveInner(c-1,-1),f;if(h.name=="JSXStartTag"&&(h=h.parent),!(o.doc.sliceString(c-1,c)!=n||h.name=="JSXAttributeValue"&&h.to>c)){if(n==">"&&h.name=="JSXFragmentTag")return{range:a,changes:{from:c,insert:""}};if(n=="/"&&h.name=="JSXStartCloseTag"){let d=h.parent,p=d.parent;if(p&&d.from==c-2&&((f=hp(o.doc,p.firstChild,c))||((u=p.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:T.cursor(c+m.length,-1),changes:{from:c,insert:m}}}}else if(n==">"){let d=z3(h);if(d&&d.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(c,c+2))&&(f=hp(o.doc,d,c)))return{range:a,changes:{from:c,insert:``}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function B3(t,e){return e||(e={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},t.getRules().forEach((i,n)=>{i.meta.docs.recommended&&(e.rules[n]=2)})),i=>{let{state:n}=i,r=[];for(let{from:s,to:o}of It.findRegions(n)){let l=n.doc.lineAt(s),a={line:l.number-1,col:s-l.from,pos:s};for(let u of t.verify(n.sliceDoc(s,o),e))r.push(q3(u,n.doc,a))}return r}}function fp(t,e,i,n){return i.line(t+n.line).from+e+(t==1?n.col-1:-1)}function q3(t,e,i){let n=fp(t.line,t.column,e,i),r={from:n,to:t.endLine!=null&&t.endColumn!=1?fp(t.endLine,t.endColumn,e,i):n,message:t.message,source:t.ruleId?"eslint:"+t.ruleId:"eslint",severity:t.severity==1?"warning":"error"};if(t.fix){let{range:s,text:o}=t.fix,l=s[0]+i.pos-n,a=s[1]+i.pos-n;r.actions=[{name:"fix",apply(u,c){u.dispatch({changes:{from:c+l,to:c+a,insert:o},scrollIntoView:!0})}}]}return r}const xo=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:Kg,completionPath:Yg,esLint:B3,javascript:Hg,javascriptLanguage:It,jsxLanguage:jc,localCompletionSource:qg,scopeCompletionSource:W3,snippets:Wc,tsxLanguage:Bc,typescriptLanguage:zc,typescriptSnippets:zg},Symbol.toStringTag,{value:"Module"})),Lr=["_blank","_self","_top","_parent"],_a=["ascii","utf-8","utf-16","latin1","latin1"],$a=["get","post","put","delete"],Pa=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],kt=["true","false"],B={},Y3={a:{attrs:{href:null,ping:null,type:null,media:null,target:Lr,hreflang:null}},abbr:B,address:B,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:B,aside:B,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:B,base:{attrs:{href:null,target:Lr}},bdi:B,bdo:B,blockquote:{attrs:{cite:null}},body:B,br:B,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Pa,formmethod:$a,formnovalidate:["novalidate"],formtarget:Lr,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:B,center:B,cite:B,code:B,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:B,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:B,div:B,dl:B,dt:B,em:B,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:B,figure:B,footer:B,form:{attrs:{action:null,name:null,"accept-charset":_a,autocomplete:["on","off"],enctype:Pa,method:$a,novalidate:["novalidate"],target:Lr}},h1:B,h2:B,h3:B,h4:B,h5:B,h6:B,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:B,hgroup:B,hr:B,html:{attrs:{manifest:null}},i:B,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Pa,formmethod:$a,formnovalidate:["novalidate"],formtarget:Lr,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:B,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:B,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:B,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:_a,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:B,noscript:B,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:B,param:{attrs:{name:null,value:null}},pre:B,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:B,rt:B,ruby:B,samp:B,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:_a}},section:B,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:B,source:{attrs:{src:null,type:null,media:null}},span:B,strong:B,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:B,summary:B,sup:B,table:B,tbody:B,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:B,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:B,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:B,time:{attrs:{datetime:null}},title:B,tr:B,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:B,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:B},Jg={accesskey:null,class:null,contenteditable:kt,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:kt,autocorrect:kt,autocapitalize:kt,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":kt,"aria-autocomplete":["inline","list","both","none"],"aria-busy":kt,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":kt,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":kt,"aria-hidden":kt,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":kt,"aria-multiselectable":kt,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":kt,"aria-relevant":null,"aria-required":kt,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},e1="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of e1)Jg[t]=null;class ys{constructor(e,i){this.tags=Object.assign(Object.assign({},Y3),e),this.globalAttrs=Object.assign(Object.assign({},Jg),i),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}ys.default=new ys;function pr(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function mr(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function t1(t,e,i){let n=i.tags[pr(t,mr(e))];return(n==null?void 0:n.children)||i.allTags}function qc(t,e){let i=[];for(let n=mr(e);n&&!n.type.isTop;n=mr(n.parent)){let r=pr(t,n);if(r&&n.lastChild.name=="CloseTag")break;r&&i.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&i.push(r)}return i}const i1=/^[:\-\.\w\u00b7-\uffff]*$/;function dp(t,e,i,n,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=mr(i,!0);return{from:n,to:r,options:t1(t.doc,o,e).map(l=>({label:l,type:"type"})).concat(qc(t.doc,i).map((l,a)=>({label:"/"+l,apply:"/"+l+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function pp(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:qc(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:i1}}function N3(t,e,i,n){let r=[],s=0;for(let o of t1(t.doc,i,e))r.push({label:"<"+o,type:"type"});for(let o of qc(t.doc,i))r.push({label:"",type:"type",boost:99-s++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function U3(t,e,i,n,r){let s=mr(i),o=s?e.tags[pr(t.doc,s)]:null,l=o&&o.attrs?Object.keys(o.attrs):[],a=o&&o.globalAttrs===!1?l:l.length?l.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:r,options:a.map(u=>({label:u,type:"property"})),validFor:i1}}function G3(t,e,i,n,r){var s;let o=(s=i.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),l=[],a;if(o){let u=t.sliceDoc(o.from,o.to),c=e.globalAttrs[u];if(!c){let h=mr(i),f=h?e.tags[pr(t.doc,h)]:null;c=(f==null?void 0:f.attrs)&&f.attrs[u]}if(c){let h=t.sliceDoc(n,r).toLowerCase(),f='"',d='"';/^['"]/.test(h)?(a=h[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",d=t.sliceDoc(r,r+1)==h[0]?"":h[0],h=h.slice(1),n++):a=/^[^\s<>='"]*$/;for(let p of c)l.push({label:p,apply:f+p+d,type:"constant"})}}return{from:n,to:r,options:l,validFor:a}}function n1(t,e){let{state:i,pos:n}=e,r=Ze(i).resolveInner(n,-1),s=r.resolve(n);for(let o=n,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.fromn1(n,r)}const H3=It.parser.configure({top:"SingleExpression"}),o1=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:zc.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:jc.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:Bc.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:H3},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:It.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:bs.parser}],l1=[{name:"style",parser:bs.parser.configure({top:"Styles"})}].concat(e1.map(t=>({name:t,parser:It.parser}))),Yc=ar.define({name:"html",parser:Vw.configure({props:[Ds.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),es=Yc.configure({wrap:Dg(o1,l1)});function a1(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=Dg((t.nestedLanguages||[]).concat(o1),(t.nestedAttributes||[]).concat(l1)));let n=i?Yc.configure({wrap:i,dialect:e}):e?es.configure({dialect:e}):es;return new hr(n,[es.data.of({autocomplete:s1(t)}),t.autoCloseTags!==!1?u1:[],Hg().support,Wg().support])}const mp=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),u1=j.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!es.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u,c,h;let f=o.doc.sliceString(a.from-1,a.to)==n,{head:d}=a,p=Ze(o).resolveInner(d-1,-1),m;if((p.name=="TagName"||p.name=="StartTag")&&(p=p.parent),f&&n==">"&&p.name=="OpenTag"){if(((c=(u=p.parent)===null||u===void 0?void 0:u.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=pr(o.doc,p.parent,d))&&!mp.has(m)){let g=d+(o.doc.sliceString(d,d+1)===">"?1:0),O=``;return{range:a,changes:{from:d,to:g,insert:O}}}}else if(f&&n=="/"&&p.name=="IncompleteCloseTag"){let g=p.parent;if(p.from==d-2&&((h=g.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(m=pr(o.doc,g,d))&&!mp.has(m)){let O=d+(o.doc.sliceString(d,d+1)===">"?1:0),y=`${m}>`;return{range:T.cursor(d+y.length,-1),changes:{from:d,to:O,insert:y}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),K3=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:u1,html:a1,htmlCompletionSource:r1,htmlCompletionSourceWith:s1,htmlLanguage:es,htmlPlain:Yc},Symbol.toStringTag,{value:"Module"})),c1=Ll({commentTokens:{block:{open:""}}}),h1=new G,f1=DS.configure({props:[Rs.add(t=>!t.is("Block")||t.is("Document")||Fu(t)!=null||J3(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),h1.add(Fu),Ds.add({Document:()=>null}),Hi.add({Document:c1})]});function Fu(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function J3(t){return t.name=="OrderedList"||t.name=="BulletList"}function e_(t,e){let i=t;for(;;){let n=i.nextSibling,r;if(!n||(r=Fu(n.type))!=null&&r<=e)break;i=n}return i.to}const t_=Bk.of((t,e,i)=>{for(let n=Ze(t).resolveInner(i,-1);n&&!(n.fromi)return{from:i,to:s}}return null});function Nc(t){return new Ct(c1,t,[t_],"markdown")}const d1=Nc(f1),i_=f1.configure([BS,YS,qS,NS,{props:[Rs.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Uc=Nc(i_);function n_(t,e){return i=>{if(i&&t){let n=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?n=t(i):n=P.matchLanguageName(t,i,!0),n instanceof P)return n.support?n.support.language.parser:$n.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class ko{constructor(e,i,n,r,s,o,l){this.node=e,this.from=i,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=l}blank(e,i=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;r--)n+=" ";return n+(i?this.spaceAfter:"")}}marker(e,i){let n=this.node.name=="OrderedList"?String(+m1(this.item,e)[2]+i):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function p1(t,e){let i=[];for(let r=t;r&&r.name!="Document";r=r.parent)(r.name=="ListItem"||r.name=="Blockquote"||r.name=="FencedCode")&&i.push(r);let n=[];for(let r=i.length-1;r>=0;r--){let s=i[r],o,l=e.lineAt(s.from),a=s.from-l.from;if(s.name=="FencedCode")n.push(new ko(s,a,a,"","","",null));else if(s.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))n.push(new ko(s,a,a+o[0].length,"",o[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let u=o[3],c=o[0].length;u.length>=4&&(u=u.slice(0,u.length-4),c-=4),n.push(new ko(s.parent,a,a+c,o[1],u,o[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let u=o[4],c=o[0].length;u.length>4&&(u=u.slice(0,u.length-4),c-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new ko(s.parent,a,a+c,o[1],u,h,s))}}return n}function m1(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function Ca(t,e,i,n=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let l=m1(s,e),a=+l[2];if(r>=0){if(a!=r+1)return;i.push({from:s.from+l[1].length,to:s.from+l[0].length,insert:String(r+2+n)})}r=a}let o=s.nextSibling;if(!o)break;s=o}}function Gc(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(xr)!=" ")return t;let n=Ci(t,4,i),r="";for(let s=n;s>0;)s>=4?(r+=" ",s-=4):(r+=" ",s--);return r+t.slice(i)}const O1=({state:t,dispatch:e})=>{let i=Ze(t),{doc:n}=t,r=null,s=t.changeByRange(o=>{if(!o.empty||!Uc.isActiveAt(t,o.from))return r={range:o};let l=o.from,a=n.lineAt(l),u=p1(i.resolveInner(l,-1),n);for(;u.length&&u[u.length-1].from>l-a.from;)u.pop();if(!u.length)return r={range:o};let c=u[u.length-1];if(c.to-c.spaceAfter.length>l-a.from)return r={range:o};let h=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){let g=c.node.firstChild,O=c.node.getChild("ListItem","ListItem");if(g.to>=l||O&&O.to0&&!/[^\s>]/.test(n.lineAt(a.from-1).text)){let y=u.length>1?u[u.length-2]:null,k,w="";y&&y.item?(k=a.from+y.from,w=y.marker(n,1)):k=a.from+(y?y.to:0);let _=[{from:k,to:l,insert:w}];return c.node.name=="OrderedList"&&Ca(c.item,n,_,-2),y&&y.node.name=="OrderedList"&&Ca(y.item,n,_),{range:T.cursor(k+w.length),changes:_}}else{let y=gp(u,t,a);return{range:T.cursor(l+y.length+1),changes:{from:a.from,insert:y+t.lineBreak}}}}if(c.node.name=="Blockquote"&&h&&a.from){let g=n.lineAt(a.from-1),O=/>\s*$/.exec(g.text);if(O&&O.index==c.from){let y=t.changes([{from:g.from+O.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(y),changes:y}}}let f=[];c.node.name=="OrderedList"&&Ca(c.item,n,f);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,O=u.length-1;g<=O;g++)p+=g==O&&!d?u[g].marker(n,1):u[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return p=Gc(p,t),r_(c.node,t.doc)&&(p=gp(u,t,a)+t.lineBreak+p),f.push({from:m,to:l,insert:t.lineBreak+p}),{range:T.cursor(m+p.length+1),changes:f}});return r?!1:(e(t.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function Op(t){return t.name=="QuoteMark"||t.name=="ListMark"}function r_(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let r=e.lineAt(i.to),s=e.lineAt(n.from),o=/^[\s>]*$/.test(r.text);return r.number+(o?0:1){let i=Ze(t),n=null,r=t.changeByRange(s=>{let o=s.from,{doc:l}=t;if(s.empty&&Uc.isActiveAt(t,s.from)){let a=l.lineAt(o),u=p1(s_(i,o),l);if(u.length){let c=u[u.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>h&&!/\S/.test(a.text.slice(h,o-a.from)))return{range:T.cursor(a.from+h),changes:{from:a.from+h,to:o}};if(o-a.from==h&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let f=a.from+c.from;if(c.item&&c.node.from1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(Z){function L(){}Z(L,L)},r=function(Z){var L=Z.target;if(L===R){p();return}k.indexOf(L)!==-1&&m({target:L})},s=function(){if(!(_||!$.original)){var Z=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(A-Z)>C.scrollOffset&&setTimeout(p,150)}},o=function(Z){var L=Z.key||Z.keyCode;(L==="Escape"||L==="Esc"||L===27)&&p()},l=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z;if(Z.background&&(R.style.background=Z.background),Z.container&&Z.container instanceof Object&&(L.container=dn({},C.container,Z.container)),Z.template){var W=Wo(Z.template)?Z.template:document.querySelector(Z.template);L.template=W}return C=dn({},C,L),k.forEach(function(z){z.dispatchEvent(Dn("medium-zoom:update",{detail:{zoom:M}}))}),M},a=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(dn({},C,Z))},u=function(){for(var Z=arguments.length,L=Array(Z),W=0;W0?L.reduce(function(q,ee){return[].concat(q,y0(ee))},[]):k;return z.forEach(function(q){q.classList.remove("medium-zoom-image"),q.dispatchEvent(Dn("medium-zoom:detach",{detail:{zoom:M}}))}),k=k.filter(function(q){return z.indexOf(q)===-1}),M},h=function(Z,L){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return k.forEach(function(z){z.addEventListener("medium-zoom:"+Z,L,W)}),w.push({type:"medium-zoom:"+Z,listener:L,options:W}),M},f=function(Z,L){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return k.forEach(function(z){z.removeEventListener("medium-zoom:"+Z,L,W)}),w=w.filter(function(z){return!(z.type==="medium-zoom:"+Z&&z.listener.toString()===L.toString())}),M},d=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target,W=function(){var q={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ee=void 0,te=void 0;if(C.container)if(C.container instanceof Object)q=dn({},q,C.container),ee=q.width-q.left-q.right-C.margin*2,te=q.height-q.top-q.bottom-C.margin*2;else{var pe=Wo(C.container)?C.container:document.querySelector(C.container),le=pe.getBoundingClientRect(),me=le.width,Te=le.height,De=le.left,ye=le.top;q=dn({},q,{width:me,height:Te,left:De,top:ye})}ee=ee||q.width-C.margin*2,te=te||q.height-C.margin*2;var Oe=$.zoomedHd||$.original,Zi=b0(Oe)?ee:Oe.naturalWidth||ee,Fs=b0(Oe)?te:Oe.naturalHeight||te,cn=Oe.getBoundingClientRect(),zs=cn.top,js=cn.left,An=cn.width,Tn=cn.height,Bs=Math.min(Math.max(An,Zi),ee)/An,qs=Math.min(Math.max(Tn,Fs),te)/Tn,En=Math.min(Bs,qs),Ys=(-js+(ee-An)/2+C.margin+q.left)/En,Ns=(-zs+(te-Tn)/2+C.margin+q.top)/En,$r="scale("+En+") translate3d("+Ys+"px, "+Ns+"px, 0)";$.zoomed.style.transform=$r,$.zoomedHd&&($.zoomedHd.style.transform=$r)};return new n(function(z){if(L&&k.indexOf(L)===-1){z(M);return}var q=function me(){_=!1,$.zoomed.removeEventListener("transitionend",me),$.original.dispatchEvent(Dn("medium-zoom:opened",{detail:{zoom:M}})),z(M)};if($.zoomed){z(M);return}if(L)$.original=L;else if(k.length>0){var ee=k;$.original=ee[0]}else{z(M);return}if($.original.dispatchEvent(Dn("medium-zoom:open",{detail:{zoom:M}})),A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,_=!0,$.zoomed=h_($.original),document.body.appendChild(R),C.template){var te=Wo(C.template)?C.template:document.querySelector(C.template);$.template=document.createElement("div"),$.template.appendChild(te.content.cloneNode(!0)),document.body.appendChild($.template)}if($.original.parentElement&&$.original.parentElement.tagName==="PICTURE"&&$.original.currentSrc&&($.zoomed.src=$.original.currentSrc),document.body.appendChild($.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),$.original.classList.add("medium-zoom-image--hidden"),$.zoomed.classList.add("medium-zoom-image--opened"),$.zoomed.addEventListener("click",p),$.zoomed.addEventListener("transitionend",q),$.original.getAttribute("data-zoom-src")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("srcset"),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading"),$.zoomedHd.src=$.zoomed.getAttribute("data-zoom-src"),$.zoomedHd.onerror=function(){clearInterval(pe),console.warn("Unable to reach the zoom image target "+$.zoomedHd.src),$.zoomedHd=null,W()};var pe=setInterval(function(){$.zoomedHd.complete&&(clearInterval(pe),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),W())},10)}else if($.original.hasAttribute("srcset")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading");var le=$.zoomedHd.addEventListener("load",function(){$.zoomedHd.removeEventListener("load",le),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),W()})}else W()})},p=function(){return new n(function(Z){if(_||!$.original){Z(M);return}var L=function W(){$.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild($.zoomed),$.zoomedHd&&document.body.removeChild($.zoomedHd),document.body.removeChild(R),$.zoomed.classList.remove("medium-zoom-image--opened"),$.template&&document.body.removeChild($.template),_=!1,$.zoomed.removeEventListener("transitionend",W),$.original.dispatchEvent(Dn("medium-zoom:closed",{detail:{zoom:M}})),$.original=null,$.zoomed=null,$.zoomedHd=null,$.template=null,Z(M)};_=!0,document.body.classList.remove("medium-zoom--opened"),$.zoomed.style.transform="",$.zoomedHd&&($.zoomedHd.style.transform=""),$.template&&($.template.style.transition="opacity 150ms",$.template.style.opacity=0),$.original.dispatchEvent(Dn("medium-zoom:close",{detail:{zoom:M}})),$.zoomed.addEventListener("transitionend",L)})},m=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target;return $.original?p():d({target:L})},g=function(){return C},O=function(){return k},y=function(){return $.original},k=[],w=[],_=!1,A=0,C=i,$={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?C=e:(e||typeof e=="string")&&u(e),C=dn({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},C);var R=c_(C.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",s),window.addEventListener("resize",p);var M={open:d,close:p,toggle:m,update:l,clone:a,attach:u,detach:c,on:h,off:f,getOptions:g,getImages:O,getZoomedImage:y};return M};function d_(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",i==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}var p_=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";d_(p_);var m_=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,i=[],n=0;n"u"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=x0[e.format]||x0.default;window.clipboardData.setData(h,t)}else c.clipboardData.clearData(),c.clipboardData.setData(e.format,t);e.onCopy&&(c.preventDefault(),e.onCopy(c.clipboardData))}),document.body.appendChild(l),s.selectNodeContents(l),o.addRange(s);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");a=!0}catch(c){i&&console.error("unable to copy using execCommand: ",c),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),a=!0}catch(h){i&&console.error("unable to copy using clipboardData: ",h),i&&console.error("falling back to prompt"),n=b_("message"in e?e.message:g_),window.prompt(n,t)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(s):o.removeAllRanges()),l&&document.body.removeChild(l),r()}return a}var x_=y_;const k_=up(x_),k0={};function v_(t){let e=k0[t];if(e)return e;e=k0[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);e.push(n)}for(let i=0;i=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),s+=6;continue}}if((l&248)===240&&s+91114111?r+="����":(h-=65536,r+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),s+=9;continue}}r+="�"}return r})}Or.defaultChars=";/?:@&=+$,#";Or.componentChars="";const v0={};function S_(t){let e=v0[t];if(e)return e;e=v0[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(let i=0;i"u"&&(i=!0);const n=S_(e);let r="";for(let s=0,o=t.length;s=55296&&l<=57343){if(l>=55296&&l<=56319&&s+1=56320&&a<=57343){r+=encodeURIComponent(t[s]+t[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(t[s])}return r}Ms.defaultChars=";/?:@&=+$,-_.!~*'()#";Ms.componentChars="-_.!~*'()";function Hc(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function Sl(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const w_=/^([a-z0-9.+-]+:)/i,__=/:[0-9]*$/,$_=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,P_=["<",">",'"',"`"," ","\r",` -`," "],C_=["{","}","|","\\","^","`"].concat(P_),Q_=["'"].concat(C_),S0=["%","/","?",";","#"].concat(Q_),w0=["/","?","#"],A_=255,_0=/^[+a-z0-9A-Z_-]{0,63}$/,T_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,$0={javascript:!0,"javascript:":!0},P0={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Kc(t,e){if(t&&t instanceof Sl)return t;const i=new Sl;return i.parse(t,e),i}Sl.prototype.parse=function(t,e){let i,n,r,s=t;if(s=s.trim(),!e&&t.split("#").length===1){const u=$_.exec(s);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let o=w_.exec(s);if(o&&(o=o[0],i=o.toLowerCase(),this.protocol=o,s=s.substr(o.length)),(e||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(o&&$0[o])&&(s=s.substr(2),this.slashes=!0)),!$0[o]&&(r||o&&!P0[o])){let u=-1;for(let p=0;p127?y+="x":y+=O[k];if(!y.match(_0)){const k=p.slice(0,m),w=p.slice(m+1),_=O.match(T_);_&&(k.push(_[1]),w.unshift(_[2])),w.length&&(s=w.join(".")+s),this.hostname=k.join(".");break}}}}this.hostname.length>A_&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=s.indexOf("#");l!==-1&&(this.hash=s.substr(l),s=s.slice(0,l));const a=s.indexOf("?");return a!==-1&&(this.search=s.substr(a),s=s.slice(0,a)),s&&(this.pathname=s),P0[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Sl.prototype.parseHost=function(t){let e=__.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const E_=Object.freeze(Object.defineProperty({__proto__:null,decode:Or,encode:Ms,format:Hc,parse:Kc},Symbol.toStringTag,{value:"Module"})),x1=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,k1=/[\0-\x1F\x7F-\x9F]/,Z_=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Jc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,v1=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,S1=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,D_=Object.freeze(Object.defineProperty({__proto__:null,Any:x1,Cc:k1,Cf:Z_,P:Jc,S:v1,Z:S1},Symbol.toStringTag,{value:"Module"})),R_=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),I_=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Aa;const L_=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),X_=(Aa=String.fromCodePoint)!==null&&Aa!==void 0?Aa:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function M_(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=L_.get(t))!==null&&e!==void 0?e:t}var Ye;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const V_=32;var Ki;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Ki||(Ki={}));function ju(t){return t>=Ye.ZERO&&t<=Ye.NINE}function W_(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_F||t>=Ye.LOWER_A&&t<=Ye.LOWER_F}function F_(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_Z||t>=Ye.LOWER_A&&t<=Ye.LOWER_Z||ju(t)}function z_(t){return t===Ye.EQUALS||F_(t)}var je;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(je||(je={}));var qi;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(qi||(qi={}));class j_{constructor(e,i,n){this.decodeTree=e,this.emitCodePoint=i,this.errors=n,this.state=je.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qi.Strict}startEntity(e){this.decodeMode=e,this.state=je.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case je.EntityStart:return e.charCodeAt(i)===Ye.NUM?(this.state=je.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=je.NamedEntity,this.stateNamedEntity(e,i));case je.NumericStart:return this.stateNumericStart(e,i);case je.NumericDecimal:return this.stateNumericDecimal(e,i);case je.NumericHex:return this.stateNumericHex(e,i);case je.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|V_)===Ye.LOWER_X?(this.state=je.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=je.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,n,r){if(i!==n){const s=n-i;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(i,s),r),this.consumed+=s}}stateNumericHex(e,i){const n=i;for(;i>14;for(;i>14,s!==0){if(o===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==qi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:i,decodeTree:n}=this,r=(n[i]&Ki.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,n){const{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~Ki.VALUE_LENGTH:r[e+1],n),i===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case je.NamedEntity:return this.result!==0&&(this.decodeMode!==qi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case je.NumericDecimal:return this.emitNumericEntity(0,2);case je.NumericHex:return this.emitNumericEntity(0,3);case je.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case je.EntityStart:return 0}}}function w1(t){let e="";const i=new j_(t,n=>e+=X_(n));return function(r,s){let o=0,l=0;for(;(l=r.indexOf("&",l))>=0;){e+=r.slice(o,l),i.startEntity(s);const u=i.write(r,l+1);if(u<0){o=l+i.end();break}o=l+u,l=u===0?o+1:o}const a=e+r.slice(o);return e="",a}}function B_(t,e,i,n){const r=(e&Ki.BRANCH_LENGTH)>>7,s=e&Ki.JUMP_TABLE;if(r===0)return s!==0&&n===s?i:-1;if(s){const a=n-s;return a<0||a>=r?-1:t[i+a]-1}let o=i,l=o+r-1;for(;o<=l;){const a=o+l>>>1,u=t[a];if(un)l=a-1;else return t[a+r]}return-1}const q_=w1(R_);w1(I_);function _1(t,e=qi.Legacy){return q_(t,e)}function Y_(t){return Object.prototype.toString.call(t)}function eh(t){return Y_(t)==="[object String]"}const N_=Object.prototype.hasOwnProperty;function U_(t,e){return N_.call(t,e)}function jl(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(n){t[n]=i[n]})}}),t}function $1(t,e,i){return[].concat(t.slice(0,e),i,t.slice(e+1))}function th(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function wl(t){if(t>65535){t-=65536;const e=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(e,i)}return String.fromCharCode(t)}const P1=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,G_=/&([a-z#][a-z0-9]{1,31});/gi,H_=new RegExp(P1.source+"|"+G_.source,"gi"),K_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function J_(t,e){if(e.charCodeAt(0)===35&&K_.test(e)){const n=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return th(n)?wl(n):t}const i=_1(t);return i!==t?i:t}function e$(t){return t.indexOf("\\")<0?t:t.replace(P1,"$1")}function gr(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(H_,function(e,i,n){return i||J_(e,n)})}const t$=/[&<>"]/,i$=/[&<>"]/g,n$={"&":"&","<":"<",">":">",'"':"""};function r$(t){return n$[t]}function ln(t){return t$.test(t)?t.replace(i$,r$):t}const s$=/[.?*+^$[\]\\(){}|-]/g;function o$(t){return t.replace(s$,"\\$&")}function ke(t){switch(t){case 9:case 32:return!0}return!1}function xs(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ks(t){return Jc.test(t)||v1.test(t)}function vs(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Bl(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const l$={mdurl:E_,ucmicro:D_},a$=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:$1,assign:jl,escapeHtml:ln,escapeRE:o$,fromCodePoint:wl,has:U_,isMdAsciiPunct:vs,isPunctChar:ks,isSpace:ke,isString:eh,isValidEntityCode:th,isWhiteSpace:xs,lib:l$,normalizeReference:Bl,unescapeAll:gr,unescapeMd:e$},Symbol.toStringTag,{value:"Module"}));function u$(t,e,i){let n,r,s,o;const l=t.posMax,a=t.pos;for(t.pos=e+1,n=1;t.pos32))return s;if(n===41){if(o===0)break;o--}r++}return e===r||o!==0||(s.str=gr(t.slice(e,r)),s.pos=r,s.ok=!0),s}function h$(t,e,i,n){let r,s=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=i)return o;let l=t.charCodeAt(s);if(l!==34&&l!==39&&l!==40)return o;e++,s++,l===40&&(l=41),o.marker=l}for(;s"+ln(s.content)+""};xi.code_block=function(t,e,i,n,r){const s=t[e];return""+ln(t[e].content)+` +See: https://github.com/francoischalifour/medium-zoom`)}},c_=function(e){var i=document.createElement("div");return i.classList.add("medium-zoom-overlay"),i.style.background=e,i},h_=function(e){var i=e.getBoundingClientRect(),n=i.top,r=i.left,s=i.width,o=i.height,l=e.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,u=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return l.removeAttribute("id"),l.style.position="absolute",l.style.top=n+a+"px",l.style.left=r+u+"px",l.style.width=s+"px",l.style.height=o+"px",l.style.transform="",l},Dn=function(e,i){var n=dn({bubbles:!1,cancelable:!1,detail:void 0},i);if(typeof window.CustomEvent=="function")return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r},f_=function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(Z){function L(){}Z(L,L)},r=function(Z){var L=Z.target;if(L===R){p();return}k.indexOf(L)!==-1&&m({target:L})},s=function(){if(!(_||!$.original)){var Z=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(A-Z)>C.scrollOffset&&setTimeout(p,150)}},o=function(Z){var L=Z.key||Z.keyCode;(L==="Escape"||L==="Esc"||L===27)&&p()},l=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z;if(Z.background&&(R.style.background=Z.background),Z.container&&Z.container instanceof Object&&(L.container=dn({},C.container,Z.container)),Z.template){var W=Wo(Z.template)?Z.template:document.querySelector(Z.template);L.template=W}return C=dn({},C,L),k.forEach(function(z){z.dispatchEvent(Dn("medium-zoom:update",{detail:{zoom:M}}))}),M},a=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(dn({},C,Z))},u=function(){for(var Z=arguments.length,L=Array(Z),W=0;W0?L.reduce(function(q,ee){return[].concat(q,yp(ee))},[]):k;return z.forEach(function(q){q.classList.remove("medium-zoom-image"),q.dispatchEvent(Dn("medium-zoom:detach",{detail:{zoom:M}}))}),k=k.filter(function(q){return z.indexOf(q)===-1}),M},h=function(Z,L){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return k.forEach(function(z){z.addEventListener("medium-zoom:"+Z,L,W)}),w.push({type:"medium-zoom:"+Z,listener:L,options:W}),M},f=function(Z,L){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return k.forEach(function(z){z.removeEventListener("medium-zoom:"+Z,L,W)}),w=w.filter(function(z){return!(z.type==="medium-zoom:"+Z&&z.listener.toString()===L.toString())}),M},d=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target,W=function(){var q={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ee=void 0,te=void 0;if(C.container)if(C.container instanceof Object)q=dn({},q,C.container),ee=q.width-q.left-q.right-C.margin*2,te=q.height-q.top-q.bottom-C.margin*2;else{var pe=Wo(C.container)?C.container:document.querySelector(C.container),le=pe.getBoundingClientRect(),me=le.width,Te=le.height,De=le.left,ye=le.top;q=dn({},q,{width:me,height:Te,left:De,top:ye})}ee=ee||q.width-C.margin*2,te=te||q.height-C.margin*2;var Oe=$.zoomedHd||$.original,Zi=bp(Oe)?ee:Oe.naturalWidth||ee,Fs=bp(Oe)?te:Oe.naturalHeight||te,cn=Oe.getBoundingClientRect(),zs=cn.top,js=cn.left,An=cn.width,Tn=cn.height,Bs=Math.min(Math.max(An,Zi),ee)/An,qs=Math.min(Math.max(Tn,Fs),te)/Tn,En=Math.min(Bs,qs),Ys=(-js+(ee-An)/2+C.margin+q.left)/En,Ns=(-zs+(te-Tn)/2+C.margin+q.top)/En,$r="scale("+En+") translate3d("+Ys+"px, "+Ns+"px, 0)";$.zoomed.style.transform=$r,$.zoomedHd&&($.zoomedHd.style.transform=$r)};return new n(function(z){if(L&&k.indexOf(L)===-1){z(M);return}var q=function me(){_=!1,$.zoomed.removeEventListener("transitionend",me),$.original.dispatchEvent(Dn("medium-zoom:opened",{detail:{zoom:M}})),z(M)};if($.zoomed){z(M);return}if(L)$.original=L;else if(k.length>0){var ee=k;$.original=ee[0]}else{z(M);return}if($.original.dispatchEvent(Dn("medium-zoom:open",{detail:{zoom:M}})),A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,_=!0,$.zoomed=h_($.original),document.body.appendChild(R),C.template){var te=Wo(C.template)?C.template:document.querySelector(C.template);$.template=document.createElement("div"),$.template.appendChild(te.content.cloneNode(!0)),document.body.appendChild($.template)}if($.original.parentElement&&$.original.parentElement.tagName==="PICTURE"&&$.original.currentSrc&&($.zoomed.src=$.original.currentSrc),document.body.appendChild($.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),$.original.classList.add("medium-zoom-image--hidden"),$.zoomed.classList.add("medium-zoom-image--opened"),$.zoomed.addEventListener("click",p),$.zoomed.addEventListener("transitionend",q),$.original.getAttribute("data-zoom-src")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("srcset"),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading"),$.zoomedHd.src=$.zoomed.getAttribute("data-zoom-src"),$.zoomedHd.onerror=function(){clearInterval(pe),console.warn("Unable to reach the zoom image target "+$.zoomedHd.src),$.zoomedHd=null,W()};var pe=setInterval(function(){$.zoomedHd.complete&&(clearInterval(pe),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),W())},10)}else if($.original.hasAttribute("srcset")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading");var le=$.zoomedHd.addEventListener("load",function(){$.zoomedHd.removeEventListener("load",le),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),W()})}else W()})},p=function(){return new n(function(Z){if(_||!$.original){Z(M);return}var L=function W(){$.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild($.zoomed),$.zoomedHd&&document.body.removeChild($.zoomedHd),document.body.removeChild(R),$.zoomed.classList.remove("medium-zoom-image--opened"),$.template&&document.body.removeChild($.template),_=!1,$.zoomed.removeEventListener("transitionend",W),$.original.dispatchEvent(Dn("medium-zoom:closed",{detail:{zoom:M}})),$.original=null,$.zoomed=null,$.zoomedHd=null,$.template=null,Z(M)};_=!0,document.body.classList.remove("medium-zoom--opened"),$.zoomed.style.transform="",$.zoomedHd&&($.zoomedHd.style.transform=""),$.template&&($.template.style.transition="opacity 150ms",$.template.style.opacity=0),$.original.dispatchEvent(Dn("medium-zoom:close",{detail:{zoom:M}})),$.zoomed.addEventListener("transitionend",L)})},m=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target;return $.original?p():d({target:L})},g=function(){return C},O=function(){return k},y=function(){return $.original},k=[],w=[],_=!1,A=0,C=i,$={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?C=e:(e||typeof e=="string")&&u(e),C=dn({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},C);var R=c_(C.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",s),window.addEventListener("resize",p);var M={open:d,close:p,toggle:m,update:l,clone:a,attach:u,detach:c,on:h,off:f,getOptions:g,getImages:O,getZoomedImage:y};return M};function d_(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",i==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}var p_=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";d_(p_);var m_=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,i=[],n=0;n"u"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=xp[e.format]||xp.default;window.clipboardData.setData(h,t)}else c.clipboardData.clearData(),c.clipboardData.setData(e.format,t);e.onCopy&&(c.preventDefault(),e.onCopy(c.clipboardData))}),document.body.appendChild(l),s.selectNodeContents(l),o.addRange(s);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");a=!0}catch(c){i&&console.error("unable to copy using execCommand: ",c),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),a=!0}catch(h){i&&console.error("unable to copy using clipboardData: ",h),i&&console.error("falling back to prompt"),n=b_("message"in e?e.message:g_),window.prompt(n,t)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(s):o.removeAllRanges()),l&&document.body.removeChild(l),r()}return a}var x_=y_;const k_=u0(x_),kp={};function v_(t){let e=kp[t];if(e)return e;e=kp[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);e.push(n)}for(let i=0;i=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),s+=6;continue}}if((l&248)===240&&s+91114111?r+="����":(h-=65536,r+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),s+=9;continue}}r+="�"}return r})}Or.defaultChars=";/?:@&=+$,#";Or.componentChars="";const vp={};function S_(t){let e=vp[t];if(e)return e;e=vp[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(let i=0;i"u"&&(i=!0);const n=S_(e);let r="";for(let s=0,o=t.length;s=55296&&l<=57343){if(l>=55296&&l<=56319&&s+1=56320&&a<=57343){r+=encodeURIComponent(t[s]+t[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(t[s])}return r}Ms.defaultChars=";/?:@&=+$,-_.!~*'()#";Ms.componentChars="-_.!~*'()";function Hc(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function Sl(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const w_=/^([a-z0-9.+-]+:)/i,__=/:[0-9]*$/,$_=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,P_=["<",">",'"',"`"," ","\r",` +`," "],C_=["{","}","|","\\","^","`"].concat(P_),Q_=["'"].concat(C_),Sp=["%","/","?",";","#"].concat(Q_),wp=["/","?","#"],A_=255,_p=/^[+a-z0-9A-Z_-]{0,63}$/,T_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,$p={javascript:!0,"javascript:":!0},Pp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Kc(t,e){if(t&&t instanceof Sl)return t;const i=new Sl;return i.parse(t,e),i}Sl.prototype.parse=function(t,e){let i,n,r,s=t;if(s=s.trim(),!e&&t.split("#").length===1){const u=$_.exec(s);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let o=w_.exec(s);if(o&&(o=o[0],i=o.toLowerCase(),this.protocol=o,s=s.substr(o.length)),(e||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(o&&$p[o])&&(s=s.substr(2),this.slashes=!0)),!$p[o]&&(r||o&&!Pp[o])){let u=-1;for(let p=0;p127?y+="x":y+=O[k];if(!y.match(_p)){const k=p.slice(0,m),w=p.slice(m+1),_=O.match(T_);_&&(k.push(_[1]),w.unshift(_[2])),w.length&&(s=w.join(".")+s),this.hostname=k.join(".");break}}}}this.hostname.length>A_&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=s.indexOf("#");l!==-1&&(this.hash=s.substr(l),s=s.slice(0,l));const a=s.indexOf("?");return a!==-1&&(this.search=s.substr(a),s=s.slice(0,a)),s&&(this.pathname=s),Pp[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Sl.prototype.parseHost=function(t){let e=__.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const E_=Object.freeze(Object.defineProperty({__proto__:null,decode:Or,encode:Ms,format:Hc,parse:Kc},Symbol.toStringTag,{value:"Module"})),x1=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,k1=/[\0-\x1F\x7F-\x9F]/,Z_=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Jc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,v1=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,S1=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,D_=Object.freeze(Object.defineProperty({__proto__:null,Any:x1,Cc:k1,Cf:Z_,P:Jc,S:v1,Z:S1},Symbol.toStringTag,{value:"Module"})),R_=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),I_=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Aa;const L_=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),X_=(Aa=String.fromCodePoint)!==null&&Aa!==void 0?Aa:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function M_(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=L_.get(t))!==null&&e!==void 0?e:t}var Ye;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const V_=32;var Ki;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Ki||(Ki={}));function ju(t){return t>=Ye.ZERO&&t<=Ye.NINE}function W_(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_F||t>=Ye.LOWER_A&&t<=Ye.LOWER_F}function F_(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_Z||t>=Ye.LOWER_A&&t<=Ye.LOWER_Z||ju(t)}function z_(t){return t===Ye.EQUALS||F_(t)}var je;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(je||(je={}));var qi;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(qi||(qi={}));class j_{constructor(e,i,n){this.decodeTree=e,this.emitCodePoint=i,this.errors=n,this.state=je.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qi.Strict}startEntity(e){this.decodeMode=e,this.state=je.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case je.EntityStart:return e.charCodeAt(i)===Ye.NUM?(this.state=je.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=je.NamedEntity,this.stateNamedEntity(e,i));case je.NumericStart:return this.stateNumericStart(e,i);case je.NumericDecimal:return this.stateNumericDecimal(e,i);case je.NumericHex:return this.stateNumericHex(e,i);case je.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|V_)===Ye.LOWER_X?(this.state=je.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=je.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,n,r){if(i!==n){const s=n-i;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(i,s),r),this.consumed+=s}}stateNumericHex(e,i){const n=i;for(;i>14;for(;i>14,s!==0){if(o===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==qi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:i,decodeTree:n}=this,r=(n[i]&Ki.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,n){const{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~Ki.VALUE_LENGTH:r[e+1],n),i===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case je.NamedEntity:return this.result!==0&&(this.decodeMode!==qi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case je.NumericDecimal:return this.emitNumericEntity(0,2);case je.NumericHex:return this.emitNumericEntity(0,3);case je.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case je.EntityStart:return 0}}}function w1(t){let e="";const i=new j_(t,n=>e+=X_(n));return function(r,s){let o=0,l=0;for(;(l=r.indexOf("&",l))>=0;){e+=r.slice(o,l),i.startEntity(s);const u=i.write(r,l+1);if(u<0){o=l+i.end();break}o=l+u,l=u===0?o+1:o}const a=e+r.slice(o);return e="",a}}function B_(t,e,i,n){const r=(e&Ki.BRANCH_LENGTH)>>7,s=e&Ki.JUMP_TABLE;if(r===0)return s!==0&&n===s?i:-1;if(s){const a=n-s;return a<0||a>=r?-1:t[i+a]-1}let o=i,l=o+r-1;for(;o<=l;){const a=o+l>>>1,u=t[a];if(un)l=a-1;else return t[a+r]}return-1}const q_=w1(R_);w1(I_);function _1(t,e=qi.Legacy){return q_(t,e)}function Y_(t){return Object.prototype.toString.call(t)}function eh(t){return Y_(t)==="[object String]"}const N_=Object.prototype.hasOwnProperty;function U_(t,e){return N_.call(t,e)}function jl(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(n){t[n]=i[n]})}}),t}function $1(t,e,i){return[].concat(t.slice(0,e),i,t.slice(e+1))}function th(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function wl(t){if(t>65535){t-=65536;const e=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(e,i)}return String.fromCharCode(t)}const P1=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,G_=/&([a-z#][a-z0-9]{1,31});/gi,H_=new RegExp(P1.source+"|"+G_.source,"gi"),K_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function J_(t,e){if(e.charCodeAt(0)===35&&K_.test(e)){const n=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return th(n)?wl(n):t}const i=_1(t);return i!==t?i:t}function e$(t){return t.indexOf("\\")<0?t:t.replace(P1,"$1")}function gr(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(H_,function(e,i,n){return i||J_(e,n)})}const t$=/[&<>"]/,i$=/[&<>"]/g,n$={"&":"&","<":"<",">":">",'"':"""};function r$(t){return n$[t]}function ln(t){return t$.test(t)?t.replace(i$,r$):t}const s$=/[.?*+^$[\]\\(){}|-]/g;function o$(t){return t.replace(s$,"\\$&")}function ke(t){switch(t){case 9:case 32:return!0}return!1}function xs(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ks(t){return Jc.test(t)||v1.test(t)}function vs(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Bl(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const l$={mdurl:E_,ucmicro:D_},a$=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:$1,assign:jl,escapeHtml:ln,escapeRE:o$,fromCodePoint:wl,has:U_,isMdAsciiPunct:vs,isPunctChar:ks,isSpace:ke,isString:eh,isValidEntityCode:th,isWhiteSpace:xs,lib:l$,normalizeReference:Bl,unescapeAll:gr,unescapeMd:e$},Symbol.toStringTag,{value:"Module"}));function u$(t,e,i){let n,r,s,o;const l=t.posMax,a=t.pos;for(t.pos=e+1,n=1;t.pos32))return s;if(n===41){if(o===0)break;o--}r++}return e===r||o!==0||(s.str=gr(t.slice(e,r)),s.pos=r,s.ok=!0),s}function h$(t,e,i,n){let r,s=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=i)return o;let l=t.charCodeAt(s);if(l!==34&&l!==39&&l!==40)return o;e++,s++,l===40&&(l=41),o.marker=l}for(;s"+ln(s.content)+""};xi.code_block=function(t,e,i,n,r){const s=t[e];return""+ln(t[e].content)+` `};xi.fence=function(t,e,i,n,r){const s=t[e],o=s.info?gr(s.info).trim():"";let l="",a="";if(o){const c=o.split(/(\s+)/g);l=c[0],a=c.slice(2).join("")}let u;if(i.highlight?u=i.highlight(s.content,l,a)||ln(s.content):u=ln(s.content),u.indexOf("${u} `}return`
    ${u}
    @@ -51,8 +51,8 @@ See: https://github.com/francoischalifour/medium-zoom`)}},c_=function(e){var i=d `),s+=(r.nesting===-1?" `:">",s};_r.prototype.renderInline=function(t,e,i){let n="";const r=this.rules;for(let s=0,o=t.length;s=0&&(n=this.attrs[i][1]),n};ni.prototype.attrJoin=function(e,i){const n=this.attrIndex(e);n<0?this.attrPush([e,i]):this.attrs[n][1]=this.attrs[n][1]+" "+i};function C1(t,e,i){this.src=t,this.env=i,this.tokens=[],this.inlineMode=!1,this.md=e}C1.prototype.Token=ni;const d$=/\r\n?|\n/g,p$=/\0/g;function m$(t){let e;e=t.src.replace(d$,` -`),e=e.replace(p$,"�"),t.src=e}function O$(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function g$(t){const e=t.tokens;for(let i=0,n=e.length;i\s]/i.test(t)}function y$(t){return/^<\/a\s*>/i.test(t)}function x$(t){const e=t.tokens;if(t.md.options.linkify)for(let i=0,n=e.length;i=0;o--){const l=r[o];if(l.type==="link_close"){for(o--;r[o].level!==l.level&&r[o].type!=="link_open";)o--;continue}if(l.type==="html_inline"&&(b$(l.content)&&s>0&&s--,y$(l.content)&&s++),!(s>0)&&l.type==="text"&&t.md.linkify.test(l.content)){const a=l.content;let u=t.md.linkify.match(a);const c=[];let h=l.level,f=0;u.length>0&&u[0].index===0&&o>0&&r[o-1].type==="text_special"&&(u=u.slice(1));for(let d=0;df){const _=new t.Token("text","",0);_.content=a.slice(f,O),_.level=h,c.push(_)}const y=new t.Token("link_open","a",1);y.attrs=[["href",m]],y.level=h++,y.markup="linkify",y.info="auto",c.push(y);const k=new t.Token("text","",0);k.content=g,k.level=h,c.push(k);const w=new t.Token("link_close","a",-1);w.level=--h,w.markup="linkify",w.info="auto",c.push(w),f=u[d].lastIndex}if(f=0;i--){const n=t[i];n.type==="text"&&!e&&(n.content=n.content.replace(v$,w$)),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function $$(t){let e=0;for(let i=t.length-1;i>=0;i--){const n=t[i];n.type==="text"&&!e&&Q1.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function P$(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(k$.test(t.tokens[e].content)&&_$(t.tokens[e].children),Q1.test(t.tokens[e].content)&&$$(t.tokens[e].children))}const C$=/['"]/,C0=/['"]/g,Q0="’";function So(t,e,i){return t.slice(0,e)+i+t.slice(e+1)}function Q$(t,e){let i;const n=[];for(let r=0;r=0&&!(n[i].level<=o);i--);if(n.length=i+1,s.type!=="text")continue;let l=s.content,a=0,u=l.length;e:for(;a=0)p=l.charCodeAt(c.index-1);else for(i=r-1;i>=0&&!(t[i].type==="softbreak"||t[i].type==="hardbreak");i--)if(t[i].content){p=t[i].content.charCodeAt(t[i].content.length-1);break}let m=32;if(a=48&&p<=57&&(f=h=!1),h&&f&&(h=g,f=O),!h&&!f){d&&(s.content=So(s.content,c.index,Q0));continue}if(f)for(i=n.length-1;i>=0;i--){let w=n[i];if(n[i].level=0;e--)t.tokens[e].type!=="inline"||!C$.test(t.tokens[e].content)||Q$(t.tokens[e].children,t)}function T$(t){let e,i;const n=t.tokens,r=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};ki.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};ki.prototype.skipEmptyLines=function(e){for(let i=this.lineMax;ei;)if(!ke(this.src.charCodeAt(--e)))return e+1;return e};ki.prototype.skipChars=function(e,i){for(let n=this.src.length;en;)if(i!==this.src.charCodeAt(--e))return e+1;return e};ki.prototype.getLines=function(e,i,n,r){if(e>=i)return"";const s=new Array(i-e);for(let o=0,l=e;ln?s[o]=new Array(a-n+1).join(" ")+this.src.slice(c,h):s[o]=this.src.slice(c,h)}return s.join("")};ki.prototype.Token=ni;const E$=65536;function Ea(t,e){const i=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(i,n)}function A0(t){const e=[],i=t.length;let n=0,r=t.charCodeAt(n),s=!1,o=0,l="";for(;ni)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let s=t.bMarks[r]+t.tShift[r];if(s>=t.eMarks[r])return!1;const o=t.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58||s>=t.eMarks[r])return!1;const l=t.src.charCodeAt(s++);if(l!==124&&l!==45&&l!==58&&!ke(l)||o===45&&ke(l))return!1;for(;s=4)return!1;u=A0(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop();const h=u.length;if(h===0||h!==c.length)return!1;if(n)return!0;const f=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),m=[e,0];p.map=m;const g=t.push("thead_open","thead",1);g.map=[e,e+1];const O=t.push("tr_open","tr",1);O.map=[e,e+1];for(let w=0;w=4||(u=A0(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),k+=h-u.length,k>E$))break;if(r===e+2){const A=t.push("tbody_open","tbody",1);A.map=y=[e+2,0]}const _=t.push("tr_open","tr",1);_.map=[r,r+1];for(let A=0;A=4){n++,r=n;continue}break}t.line=r;const s=t.push("code_block","code",0);return s.content=t.getLines(e,r,4+t.blkIndent,!1)+` -`,s.map=[e,t.line],!0}function R$(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||r+3>s)return!1;const o=t.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let l=r;r=t.skipChars(r,o);let a=r-l;if(a<3)return!1;const u=t.src.slice(l,r),c=t.src.slice(r,s);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=e,f=!1;for(;h++,!(h>=i||(r=l=t.bMarks[h]+t.tShift[h],s=t.eMarks[h],r=4)&&(r=t.skipChars(r,o),!(r-l=4||t.src.charCodeAt(r)!==62)return!1;if(n)return!0;const l=[],a=[],u=[],c=[],h=t.md.block.ruler.getRules("blockquote"),f=t.parentType;t.parentType="blockquote";let d=!1,p;for(p=e;p=s)break;if(t.src.charCodeAt(r++)===62&&!k){let _=t.sCount[p]+1,A,C;t.src.charCodeAt(r)===32?(r++,_++,C=!1,A=!0):t.src.charCodeAt(r)===9?(A=!0,(t.bsCount[p]+_)%4===3?(r++,_++,C=!1):C=!0):A=!1;let $=_;for(l.push(t.bMarks[p]),t.bMarks[p]=r;r=s,a.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(A?1:0),u.push(t.sCount[p]),t.sCount[p]=$-_,c.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(d)break;let w=!1;for(let _=0,A=h.length;_";const O=[e,0];g.map=O,t.md.block.tokenize(t,e,p);const y=t.push("blockquote_close","blockquote",-1);y.markup=">",t.lineMax=o,t.parentType=f,O[1]=t.line;for(let k=0;k=4)return!1;let s=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(s++);if(o!==42&&o!==45&&o!==95)return!1;let l=1;for(;s=n)return-1;let s=t.src.charCodeAt(r++);if(s<48||s>57)return-1;for(;;){if(r>=n)return-1;if(s=t.src.charCodeAt(r++),s>=48&&s<=57){if(r-i>=10)return-1;continue}if(s===41||s===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[a]-t.listIndent>=4&&t.sCount[a]=t.blkIndent&&(c=!0);let h,f,d;if((d=E0(t,a))>=0){if(h=!0,o=t.bMarks[a]+t.tShift[a],f=Number(t.src.slice(o,d-1)),c&&f!==1)return!1}else if((d=T0(t,a))>=0)h=!1;else return!1;if(c&&t.skipSpaces(d)>=t.eMarks[a])return!1;if(n)return!0;const p=t.src.charCodeAt(d-1),m=t.tokens.length;h?(l=t.push("ordered_list_open","ol",1),f!==1&&(l.attrs=[["start",f]])):l=t.push("bullet_list_open","ul",1);const g=[a,0];l.map=g,l.markup=String.fromCharCode(p);let O=!1;const y=t.md.block.ruler.getRules("list"),k=t.parentType;for(t.parentType="list";a=r?C=1:C=_-w,C>4&&(C=1);const $=w+C;l=t.push("list_item_open","li",1),l.markup=String.fromCharCode(p);const R=[a,0];l.map=R,h&&(l.info=t.src.slice(o,d-1));const M=t.tight,X=t.tShift[a],Z=t.sCount[a],L=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=$,t.tight=!0,t.tShift[a]=A-t.bMarks[a],t.sCount[a]=_,A>=r&&t.isEmpty(a+1)?t.line=Math.min(t.line+2,i):t.md.block.tokenize(t,a,i,!0),(!t.tight||O)&&(u=!1),O=t.line-a>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=L,t.tShift[a]=X,t.sCount[a]=Z,t.tight=M,l=t.push("list_item_close","li",-1),l.markup=String.fromCharCode(p),a=t.line,R[1]=a,a>=i||t.sCount[a]=4)break;let W=!1;for(let z=0,q=y.length;z=4||t.src.charCodeAt(r)!==91)return!1;function l(y){const k=t.lineMax;if(y>=k||t.isEmpty(y))return null;let w=!1;if(t.sCount[y]-t.blkIndent>3&&(w=!0),t.sCount[y]<0&&(w=!0),!w){const C=t.md.block.ruler.getRules("reference"),$=t.parentType;t.parentType="reference";let R=!1;for(let M=0,X=C.length;M"u"&&(t.env.references={}),typeof t.env.references[O]>"u"&&(t.env.references[O]={title:g,href:h}),t.line=o),!0):!1}const W$=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],F$="[a-zA-Z_:][a-zA-Z0-9:._-]*",z$="[^\"'=<>`\\x00-\\x20]+",j$="'[^']*'",B$='"[^"]*"',q$="(?:"+z$+"|"+j$+"|"+B$+")",Y$="(?:\\s+"+F$+"(?:\\s*=\\s*"+q$+")?)",A1="<[A-Za-z][A-Za-z0-9\\-]*"+Y$+"*\\s*\\/?>",T1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",N$="",U$="<[?][\\s\\S]*?[?]>",G$="]*>",H$="",K$=new RegExp("^(?:"+A1+"|"+T1+"|"+N$+"|"+U$+"|"+G$+"|"+H$+")"),J$=new RegExp("^(?:"+A1+"|"+T1+")"),Rn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(J$.source+"\\s*$"),/^$/,!1]];function eP(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(r)!==60)return!1;let o=t.src.slice(r,s),l=0;for(;l=4)return!1;let o=t.src.charCodeAt(r);if(o!==35||r>=s)return!1;let l=1;for(o=t.src.charCodeAt(++r);o===35&&r6||rr&&ke(t.src.charCodeAt(a-1))&&(s=a),t.line=e+1;const u=t.push("heading_open","h"+String(l),1);u.markup="########".slice(0,l),u.map=[e,t.line];const c=t.push("inline","",0);c.content=t.src.slice(r,s).trim(),c.map=[e,t.line],c.children=[];const h=t.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0}function iP(t,e,i){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let s=0,o,l=e+1;for(;l3)continue;if(t.sCount[l]>=t.blkIndent){let d=t.bMarks[l]+t.tShift[l];const p=t.eMarks[l];if(d=p))){s=o===61?1:2;break}}if(t.sCount[l]<0)continue;let f=!1;for(let d=0,p=n.length;d3||t.sCount[s]<0)continue;let u=!1;for(let c=0,h=n.length;c=i||t.sCount[o]=s){t.line=i;break}const a=t.line;let u=!1;for(let c=0;c=t.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};Vs.prototype.scanDelims=function(t,e){const i=this.posMax,n=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let s=t;for(;s0)return!1;const i=t.pos,n=t.posMax;if(i+3>n||t.src.charCodeAt(i)!==58||t.src.charCodeAt(i+1)!==47||t.src.charCodeAt(i+2)!==47)return!1;const r=t.pending.match(oP);if(!r)return!1;const s=r[1],o=t.md.linkify.matchAtStart(t.src.slice(i-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;l=l.replace(/\*+$/,"");const a=t.md.normalizeLink(l);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const u=t.push("link_open","a",1);u.attrs=[["href",a]],u.markup="linkify",u.info="auto";const c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);const h=t.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return t.pos+=l.length-s.length,!0}function aP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;const n=t.pending.length-1,r=t.posMax;if(!e)if(n>=0&&t.pending.charCodeAt(n)===32)if(n>=1&&t.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){nh[t.charCodeAt(0)]=1});function uP(t,e){let i=t.pos;const n=t.posMax;if(t.src.charCodeAt(i)!==92||(i++,i>=n))return!1;let r=t.src.charCodeAt(i);if(r===10){for(e||t.push("hardbreak","br",0),i++;i=55296&&r<=56319&&i+1=56320&&l<=57343&&(s+=t.src[i+1],i++)}const o="\\"+s;if(!e){const l=t.push("text_special","",0);r<256&&nh[r]!==0?l.content=s:l.content=o,l.markup=o,l.info="escape"}return t.pos=i+1,!0}function cP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==96)return!1;const r=i;i++;const s=t.posMax;for(;i=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const s=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,l=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?l+l:l,a.content="";const u=t.tokens[s.token];u.type=o?"strong_close":"em_close",u.tag=o?"strong":"em",u.nesting=-1,u.markup=o?l+l:l,u.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}function pP(t){const e=t.tokens_meta,i=t.tokens_meta.length;D0(t,t.delimiters);for(let n=0;n=h)return!1;if(a=p,r=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),r.ok){for(o=t.md.normalizeLink(r.str),t.md.validateLink(o)?p=r.pos:o="",a=p;p=h||t.src.charCodeAt(p)!==41)&&(u=!0),p++}if(u){if(typeof t.env.references>"u")return!1;if(p=0?n=t.src.slice(a,p++):p=d+1):p=d+1,n||(n=t.src.slice(f,d)),s=t.env.references[Bl(n)],!s)return t.pos=c,!1;o=s.href,l=s.title}if(!e){t.pos=f,t.posMax=d;const m=t.push("link_open","a",1),g=[["href",o]];m.attrs=g,l&&g.push(["title",l]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}function OP(t,e){let i,n,r,s,o,l,a,u,c="";const h=t.pos,f=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(s=p+1,s=f)return!1;for(u=s,l=t.md.helpers.parseLinkDestination(t.src,s,t.posMax),l.ok&&(c=t.md.normalizeLink(l.str),t.md.validateLink(c)?s=l.pos:c=""),u=s;s=f||t.src.charCodeAt(s)!==41)return t.pos=h,!1;s++}else{if(typeof t.env.references>"u")return!1;if(s=0?r=t.src.slice(u,s++):s=p+1):s=p+1,r||(r=t.src.slice(d,p)),o=t.env.references[Bl(r)],!o)return t.pos=h,!1;c=o.href,a=o.title}if(!e){n=t.src.slice(d,p);const m=[];t.md.inline.parse(n,t.md,t.env,m);const g=t.push("image","img",0),O=[["src",c],["alt",""]];g.attrs=O,g.children=m,g.content=n,a&&O.push(["title",a])}return t.pos=s,t.posMax=f,!0}const gP=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,bP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function yP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==60)return!1;const n=t.pos,r=t.posMax;for(;;){if(++i>=r)return!1;const o=t.src.charCodeAt(i);if(o===60)return!1;if(o===62)break}const s=t.src.slice(n+1,i);if(bP.test(s)){const o=t.md.normalizeLink(s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}if(gP.test(s)){const o=t.md.normalizeLink("mailto:"+s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}return!1}function xP(t){return/^\s]/i.test(t)}function kP(t){return/^<\/a\s*>/i.test(t)}function vP(t){const e=t|32;return e>=97&&e<=122}function SP(t,e){if(!t.md.options.html)return!1;const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==60||n+2>=i)return!1;const r=t.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!vP(r))return!1;const s=t.src.slice(n).match(K$);if(!s)return!1;if(!e){const o=t.push("html_inline","",0);o.content=s[0],xP(o.content)&&t.linkLevel++,kP(o.content)&&t.linkLevel--}return t.pos+=s[0].length,!0}const wP=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_P=/^&([a-z][a-z0-9]{1,31});/i;function $P(t,e){const i=t.pos,n=t.posMax;if(t.src.charCodeAt(i)!==38||i+1>=n)return!1;if(t.src.charCodeAt(i+1)===35){const s=t.src.slice(i).match(wP);if(s){if(!e){const o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),l=t.push("text_special","",0);l.content=th(o)?wl(o):wl(65533),l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}else{const s=t.src.slice(i).match(_P);if(s){const o=_1(s[0]);if(o!==s[0]){if(!e){const l=t.push("text_special","",0);l.content=o,l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}}return!1}function R0(t){const e={},i=t.length;if(!i)return;let n=0,r=-2;const s=[];for(let o=0;oa;u-=s[u]+1){const h=t[u];if(h.marker===l.marker&&h.open&&h.end<0){let f=!1;if((h.close||l.open)&&(h.length+l.length)%3===0&&(h.length%3!==0||l.length%3!==0)&&(f=!0),!f){const d=u>0&&!t[u-1].open?s[u-1]+1:0;s[o]=o-u+d,s[u]=d,l.open=!1,h.end=o,h.close=!1,c=-1,r=-2;break}}}c!==-1&&(e[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}function PP(t){const e=t.tokens_meta,i=t.tokens_meta.length;R0(t.delimiters);for(let n=0;n0&&n++,r[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,s[e]=t.pos};Ws.prototype.tokenize=function(t){const e=this.ruler.getRules(""),i=e.length,n=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Ws.prototype.parse=function(t,e,i,n){const r=new this.State(t,e,i,n);this.tokenize(r);const s=this.ruler2.getRules(""),o=s.length;for(let l=0;l|$))",e.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function Bu(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){i&&Object.keys(i).forEach(function(n){t[n]=i[n]})}),t}function Yl(t){return Object.prototype.toString.call(t)}function AP(t){return Yl(t)==="[object String]"}function TP(t){return Yl(t)==="[object Object]"}function EP(t){return Yl(t)==="[object RegExp]"}function I0(t){return Yl(t)==="[object Function]"}function ZP(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const D1={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function DP(t){return Object.keys(t||{}).reduce(function(e,i){return e||D1.hasOwnProperty(i)},!1)}const RP={"http:":{validate:function(t,e,i){const n=t.slice(e);return i.re.http||(i.re.http=new RegExp("^\\/\\/"+i.re.src_auth+i.re.src_host_port_strict+i.re.src_path,"i")),i.re.http.test(n)?n.match(i.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,i){const n=t.slice(e);return i.re.no_http||(i.re.no_http=new RegExp("^"+i.re.src_auth+"(?:localhost|(?:(?:"+i.re.src_domain+")\\.)+"+i.re.src_domain_root+")"+i.re.src_port+i.re.src_host_terminator+i.re.src_path,"i")),i.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(i.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,i){const n=t.slice(e);return i.re.mailto||(i.re.mailto=new RegExp("^"+i.re.src_email_name+"@"+i.re.src_host_strict,"i")),i.re.mailto.test(n)?n.match(i.re.mailto)[0].length:0}}},IP="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",LP="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function XP(t){t.__index__=-1,t.__text_cache__=""}function MP(t){return function(e,i){const n=e.slice(i);return t.test(n)?n.match(t)[0].length:0}}function L0(){return function(t,e){e.normalize(t)}}function _l(t){const e=t.re=QP(t.__opts__),i=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||i.push(IP),i.push(e.src_xn),e.src_tlds=i.join("|");function n(l){return l.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];t.__compiled__={};function s(l,a){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+a)}Object.keys(t.__schemas__).forEach(function(l){const a=t.__schemas__[l];if(a===null)return;const u={validate:null,link:null};if(t.__compiled__[l]=u,TP(a)){EP(a.validate)?u.validate=MP(a.validate):I0(a.validate)?u.validate=a.validate:s(l,a),I0(a.normalize)?u.normalize=a.normalize:a.normalize?s(l,a):u.normalize=L0();return}if(AP(a)){r.push(l);return}s(l,a)}),r.forEach(function(l){t.__compiled__[t.__schemas__[l]]&&(t.__compiled__[l].validate=t.__compiled__[t.__schemas__[l]].validate,t.__compiled__[l].normalize=t.__compiled__[t.__schemas__[l]].normalize)}),t.__compiled__[""]={validate:null,normalize:L0()};const o=Object.keys(t.__compiled__).filter(function(l){return l.length>0&&t.__compiled__[l]}).map(ZP).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),XP(t)}function VP(t,e){const i=t.__index__,n=t.__last_index__,r=t.__text_cache__.slice(i,n);this.schema=t.__schema__.toLowerCase(),this.index=i+e,this.lastIndex=n+e,this.raw=r,this.text=r,this.url=r}function qu(t,e){const i=new VP(t,e);return t.__compiled__[i.schema].normalize(i,t),i}function Qt(t,e){if(!(this instanceof Qt))return new Qt(t,e);e||DP(t)&&(e=t,t={}),this.__opts__=Bu({},D1,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Bu({},RP,t),this.__compiled__={},this.__tlds__=LP,this.__tlds_replaced__=!1,this.re={},_l(this)}Qt.prototype.add=function(e,i){return this.__schemas__[e]=i,_l(this),this};Qt.prototype.set=function(e){return this.__opts__=Bu(this.__opts__,e),this};Qt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let i,n,r,s,o,l,a,u,c;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(i=a.exec(e))!==null;)if(s=this.testSchemaAt(e,i[2],a.lastIndex),s){this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,l=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=l))),this.__index__>=0};Qt.prototype.pretest=function(e){return this.re.pretest.test(e)};Qt.prototype.testSchemaAt=function(e,i,n){return this.__compiled__[i.toLowerCase()]?this.__compiled__[i.toLowerCase()].validate(e,n,this):0};Qt.prototype.match=function(e){const i=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(i.push(qu(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)i.push(qu(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return i.length?i:null};Qt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const i=this.re.schema_at_start.exec(e);if(!i)return null;const n=this.testSchemaAt(e,i[2],i[0].length);return n?(this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+n,qu(this,0)):null};Qt.prototype.tlds=function(e,i){return e=Array.isArray(e)?e:[e],i?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,s){return n!==s[r-1]}).reverse(),_l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_l(this),this)};Qt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Qt.prototype.onCompile=function(){};const Hn=2147483647,mi=36,rh=1,Ss=26,WP=38,FP=700,R1=72,I1=128,L1="-",zP=/^xn--/,jP=/[^\0-\x7F]/,BP=/[\x2E\u3002\uFF0E\uFF61]/g,qP={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ra=mi-rh,Oi=Math.floor,Ia=String.fromCharCode;function zi(t){throw new RangeError(qP[t])}function YP(t,e){const i=[];let n=t.length;for(;n--;)i[n]=e(t[n]);return i}function X1(t,e){const i=t.split("@");let n="";i.length>1&&(n=i[0]+"@",t=i[1]),t=t.replace(BP,".");const r=t.split("."),s=YP(r,e).join(".");return n+s}function M1(t){const e=[];let i=0;const n=t.length;for(;i=55296&&r<=56319&&iString.fromCodePoint(...t),UP=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:mi},X0=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},V1=function(t,e,i){let n=0;for(t=i?Oi(t/FP):t>>1,t+=Oi(t/e);t>Ra*Ss>>1;n+=mi)t=Oi(t/Ra);return Oi(n+(Ra+1)*t/(t+WP))},W1=function(t){const e=[],i=t.length;let n=0,r=I1,s=R1,o=t.lastIndexOf(L1);o<0&&(o=0);for(let l=0;l=128&&zi("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l=i&&zi("invalid-input");const f=UP(t.charCodeAt(l++));f>=mi&&zi("invalid-input"),f>Oi((Hn-n)/c)&&zi("overflow"),n+=f*c;const d=h<=s?rh:h>=s+Ss?Ss:h-s;if(fOi(Hn/p)&&zi("overflow"),c*=p}const u=e.length+1;s=V1(n-a,u,a==0),Oi(n/u)>Hn-r&&zi("overflow"),r+=Oi(n/u),n%=u,e.splice(n++,0,r)}return String.fromCodePoint(...e)},F1=function(t){const e=[];t=M1(t);const i=t.length;let n=I1,r=0,s=R1;for(const a of t)a<128&&e.push(Ia(a));const o=e.length;let l=o;for(o&&e.push(L1);l=n&&cOi((Hn-r)/u)&&zi("overflow"),r+=(a-n)*u,n=a;for(const c of t)if(cHn&&zi("overflow"),c===n){let h=r;for(let f=mi;;f+=mi){const d=f<=s?rh:f>=s+Ss?Ss:f-s;if(h=0))try{e.hostname=z1.toASCII(e.hostname)}catch{}return Ms(Hc(e))}function oC(t){const e=Kc(t,!0);if(e.hostname&&(!e.protocol||j1.indexOf(e.protocol)>=0))try{e.hostname=z1.toUnicode(e.hostname)}catch{}return Or(Hc(e),Or.defaultChars+"%")}function Xt(t,e){if(!(this instanceof Xt))return new Xt(t,e);e||eh(t)||(e=t||{},t="default"),this.inline=new Ws,this.block=new ql,this.core=new ih,this.renderer=new _r,this.linkify=new Qt,this.validateLink=rC,this.normalizeLink=sC,this.normalizeLinkText=oC,this.utils=a$,this.helpers=jl({},f$),this.options={},this.configure(t),e&&this.set(e)}Xt.prototype.set=function(t){return jl(this.options,t),this};Xt.prototype.configure=function(t){const e=this;if(eh(t)){const i=t;if(t=tC[i],!t)throw new Error('Wrong `markdown-it` preset "'+i+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(i){t.components[i].rules&&e[i].ruler.enableOnly(t.components[i].rules),t.components[i].rules2&&e[i].ruler2.enableOnly(t.components[i].rules2)}),this};Xt.prototype.enable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.enable(t,!0))},this),i=i.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Xt.prototype.disable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.disable(t,!0))},this),i=i.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Xt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Xt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const i=new this.core.State(t,this,e);return this.core.process(i),i.tokens};Xt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Xt.prototype.parseInline=function(t,e){const i=new this.core.State(t,this,e);return i.inlineMode=!0,this.core.process(i),i.tokens};Xt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const M0=new Set([!0,!1,"alt","title"]);function B1(t,e){return(Array.isArray(t)?t:[]).filter(([i])=>i!==e)}function q1(t,e){t&&t.attrs&&(t.attrs=B1(t.attrs,e))}function lC(t,e){if(!M0.has(t))throw new TypeError(`figcaption must be one of: ${[...M0]}.`);if(t==="alt")return e.content;const i=e.attrs.find(([n])=>n==="title");return Array.isArray(i)&&i[1]?(q1(e,"title"),i[1]):void 0}function aC(t,e){e=e||{},t.core.ruler.before("linkify","image_figures",function(i){let n=1;for(let r=1,s=i.tokens.length;rc.match(u)).map(c=>Array.from(c))}if(e.tabindex&&(i.tokens[r-1].attrPush(["tabindex",n]),n++),e.lazy&&(a.attrs.some(([u])=>u==="loading")||a.attrs.push(["loading","lazy"])),e.async&&(a.attrs.some(([u])=>u==="decoding")||a.attrs.push(["decoding","async"])),e.classes&&typeof e.classes=="string"){let u=!1;for(let c=0,h=a.attrs.length;cc==="src");a.attrs.push(["data-src",u[1]]),q1(a,"src")}}})}var Yu=!0,Y1=!1,N1=!1,uC=function(t,e){e&&(Yu=!e.enabled,Y1=!!e.label,N1=!!e.labelAfter),t.core.ruler.after("inline","github-task-lists",function(i){for(var n=i.tokens,r=2;r=0;n--)if(t[n].level===i)return n;return-1}function hC(t,e){return gC(t[e])&&bC(t[e-1])&&yC(t[e-2])&&xC(t[e])}function fC(t,e){if(t.children.unshift(dC(t,e)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),Y1)if(N1){t.children.pop();var i="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+i+'">',t.children.push(OC(t.content,i,e))}else t.children.unshift(pC(e)),t.children.push(mC(e))}function dC(t,e){var i=new e("html_inline","",0),n=Yu?' disabled="" ':"";return t.content.indexOf("[ ] ")===0?i.content='':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(i.content=''),i}function pC(t){var e=new t("html_inline","",0);return e.content="",e}function OC(t,e,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{for:e}],n}function gC(t){return t.type==="inline"}function bC(t){return t.type==="paragraph_open"}function yC(t){return t.type==="list_item_open"}function xC(t){return t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0}const kC=up(uC),In=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,U1=new Set,Nu=typeof process=="object"&&process?process:{},G1=(t,e,i,n)=>{typeof Nu.emitWarning=="function"?Nu.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)};let $l=globalThis.AbortController,W0=globalThis.AbortSignal;var ap;if(typeof $l>"u"){W0=class{constructor(){Ce(this,"onabort");Ce(this,"_onabort",[]);Ce(this,"reason");Ce(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},$l=class{constructor(){Ce(this,"signal",new W0);e()}abort(n){var r,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(s=(r=this.signal).onabort)==null||s.call(r,n)}}};let t=((ap=Nu.env)==null?void 0:ap.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{t&&(t=!1,G1("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const vC=t=>!U1.has(t),Xi=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),H1=t=>Xi(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Fo:null:null;class Fo extends Array{constructor(e){super(e),this.fill(0)}}var Kn;const mn=class mn{constructor(e,i){Ce(this,"heap");Ce(this,"length");if(!x(mn,Kn))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}static create(e){const i=H1(e);if(!i)return[];U(mn,Kn,!0);const n=new mn(e,i);return U(mn,Kn,!1),n}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};Kn=new WeakMap,K(mn,Kn,!1);let Uu=mn;var Ft,vt,zt,jt,Jn,Ve,Bt,Ie,Se,H,lt,St,et,Be,qt,qe,Yt,Nt,wt,Ut,Yi,at,ws,Hu,bn,wi,_s,_t,Ql,K1,yn,er,$s,ai,Mi,ui,Vi,Ps,Ku,l5,tr,zo,ir,jo,ge,ve,Cs,Ju,xn,Br;const lh=class lh{constructor(e){K(this,ws);K(this,Ql);K(this,ai);K(this,ui);K(this,Ps);K(this,tr);K(this,ir);K(this,ge);K(this,Cs);K(this,xn);K(this,Ft,void 0);K(this,vt,void 0);K(this,zt,void 0);K(this,jt,void 0);K(this,Jn,void 0);Ce(this,"ttl");Ce(this,"ttlResolution");Ce(this,"ttlAutopurge");Ce(this,"updateAgeOnGet");Ce(this,"updateAgeOnHas");Ce(this,"allowStale");Ce(this,"noDisposeOnSet");Ce(this,"noUpdateTTL");Ce(this,"maxEntrySize");Ce(this,"sizeCalculation");Ce(this,"noDeleteOnFetchRejection");Ce(this,"noDeleteOnStaleGet");Ce(this,"allowStaleOnFetchAbort");Ce(this,"allowStaleOnFetchRejection");Ce(this,"ignoreFetchAbort");K(this,Ve,void 0);K(this,Bt,void 0);K(this,Ie,void 0);K(this,Se,void 0);K(this,H,void 0);K(this,lt,void 0);K(this,St,void 0);K(this,et,void 0);K(this,Be,void 0);K(this,qt,void 0);K(this,qe,void 0);K(this,Yt,void 0);K(this,Nt,void 0);K(this,wt,void 0);K(this,Ut,void 0);K(this,Yi,void 0);K(this,at,void 0);K(this,bn,()=>{});K(this,wi,()=>{});K(this,_s,()=>{});K(this,_t,()=>!1);K(this,yn,e=>{});K(this,er,(e,i,n)=>{});K(this,$s,(e,i,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});Ce(this,l5,"LRUCache");const{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:l,allowStale:a,dispose:u,disposeAfter:c,noDisposeOnSet:h,noUpdateTTL:f,maxSize:d=0,maxEntrySize:p=0,sizeCalculation:m,fetchMethod:g,noDeleteOnFetchRejection:O,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:k,allowStaleOnFetchAbort:w,ignoreFetchAbort:_}=e;if(i!==0&&!Xi(i))throw new TypeError("max option must be a nonnegative integer");const A=i?H1(i):Array;if(!A)throw new Error("invalid max value: "+i);if(U(this,Ft,i),U(this,vt,d),this.maxEntrySize=p||x(this,vt),this.sizeCalculation=m,this.sizeCalculation){if(!x(this,vt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(U(this,Jn,g),U(this,Yi,!!g),U(this,Ie,new Map),U(this,Se,new Array(i).fill(void 0)),U(this,H,new Array(i).fill(void 0)),U(this,lt,new A(i)),U(this,St,new A(i)),U(this,et,0),U(this,Be,0),U(this,qt,Uu.create(i)),U(this,Ve,0),U(this,Bt,0),typeof u=="function"&&U(this,zt,u),typeof c=="function"?(U(this,jt,c),U(this,qe,[])):(U(this,jt,void 0),U(this,qe,void 0)),U(this,Ut,!!x(this,zt)),U(this,at,!!x(this,jt)),this.noDisposeOnSet=!!h,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!O,this.allowStaleOnFetchRejection=!!k,this.allowStaleOnFetchAbort=!!w,this.ignoreFetchAbort=!!_,this.maxEntrySize!==0){if(x(this,vt)!==0&&!Xi(x(this,vt)))throw new TypeError("maxSize must be a positive integer if specified");if(!Xi(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Y(this,Ql,K1).call(this)}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!l,this.ttlResolution=Xi(r)||r===0?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Xi(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Y(this,ws,Hu).call(this)}if(x(this,Ft)===0&&this.ttl===0&&x(this,vt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!x(this,Ft)&&!x(this,vt)){const C="LRU_CACHE_UNBOUNDED";vC(C)&&(U1.add(C),G1("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",C,lh))}}static unsafeExposeInternals(e){return{starts:x(e,Nt),ttls:x(e,wt),sizes:x(e,Yt),keyMap:x(e,Ie),keyList:x(e,Se),valList:x(e,H),next:x(e,lt),prev:x(e,St),get head(){return x(e,et)},get tail(){return x(e,Be)},free:x(e,qt),isBackgroundFetch:i=>{var n;return Y(n=e,ge,ve).call(n,i)},backgroundFetch:(i,n,r,s)=>{var o;return Y(o=e,ir,jo).call(o,i,n,r,s)},moveToTail:i=>{var n;return Y(n=e,xn,Br).call(n,i)},indexes:i=>{var n;return Y(n=e,ai,Mi).call(n,i)},rindexes:i=>{var n;return Y(n=e,ui,Vi).call(n,i)},isStale:i=>{var n;return x(n=e,_t).call(n,i)}}}get max(){return x(this,Ft)}get maxSize(){return x(this,vt)}get calculatedSize(){return x(this,Bt)}get size(){return x(this,Ve)}get fetchMethod(){return x(this,Jn)}get dispose(){return x(this,zt)}get disposeAfter(){return x(this,jt)}getRemainingTTL(e){return x(this,Ie).has(e)?1/0:0}*entries(){for(const e of Y(this,ai,Mi).call(this))x(this,H)[e]!==void 0&&x(this,Se)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield[x(this,Se)[e],x(this,H)[e]])}*rentries(){for(const e of Y(this,ui,Vi).call(this))x(this,H)[e]!==void 0&&x(this,Se)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield[x(this,Se)[e],x(this,H)[e]])}*keys(){for(const e of Y(this,ai,Mi).call(this)){const i=x(this,Se)[e];i!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield i)}}*rkeys(){for(const e of Y(this,ui,Vi).call(this)){const i=x(this,Se)[e];i!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield i)}}*values(){for(const e of Y(this,ai,Mi).call(this))x(this,H)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield x(this,H)[e])}*rvalues(){for(const e of Y(this,ui,Vi).call(this))x(this,H)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield x(this,H)[e])}[Symbol.iterator](){return this.entries()}find(e,i={}){for(const n of Y(this,ai,Mi).call(this)){const r=x(this,H)[n],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;if(s!==void 0&&e(s,x(this,Se)[n],this))return this.get(x(this,Se)[n],i)}}forEach(e,i=this){for(const n of Y(this,ai,Mi).call(this)){const r=x(this,H)[n],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,Se)[n],this)}}rforEach(e,i=this){for(const n of Y(this,ui,Vi).call(this)){const r=x(this,H)[n],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,Se)[n],this)}}purgeStale(){let e=!1;for(const i of Y(this,ui,Vi).call(this,{allowStale:!0}))x(this,_t).call(this,i)&&(this.delete(x(this,Se)[i]),e=!0);return e}info(e){const i=x(this,Ie).get(e);if(i===void 0)return;const n=x(this,H)[i],r=Y(this,ge,ve).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;const s={value:r};if(x(this,wt)&&x(this,Nt)){const o=x(this,wt)[i],l=x(this,Nt)[i];if(o&&l){const a=o-(In.now()-l);s.ttl=a,s.start=Date.now()}}return x(this,Yt)&&(s.size=x(this,Yt)[i]),s}dump(){const e=[];for(const i of Y(this,ai,Mi).call(this,{allowStale:!0})){const n=x(this,Se)[i],r=x(this,H)[i],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;if(s===void 0||n===void 0)continue;const o={value:s};if(x(this,wt)&&x(this,Nt)){o.ttl=x(this,wt)[i];const l=In.now()-x(this,Nt)[i];o.start=Math.floor(Date.now()-l)}x(this,Yt)&&(o.size=x(this,Yt)[i]),e.unshift([n,o])}return e}load(e){this.clear();for(const[i,n]of e){if(n.start){const r=Date.now()-n.start;n.start=In.now()-r}this.set(i,n.value,n)}}set(e,i,n={}){var f,d,p,m,g;if(i===void 0)return this.delete(e),this;const{ttl:r=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:a}=n;let{noUpdateTTL:u=this.noUpdateTTL}=n;const c=x(this,$s).call(this,e,i,n.size||0,l);if(this.maxEntrySize&&c>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(e),this;let h=x(this,Ve)===0?void 0:x(this,Ie).get(e);if(h===void 0)h=x(this,Ve)===0?x(this,Be):x(this,qt).length!==0?x(this,qt).pop():x(this,Ve)===x(this,Ft)?Y(this,tr,zo).call(this,!1):x(this,Ve),x(this,Se)[h]=e,x(this,H)[h]=i,x(this,Ie).set(e,h),x(this,lt)[x(this,Be)]=h,x(this,St)[h]=x(this,Be),U(this,Be,h),Us(this,Ve)._++,x(this,er).call(this,h,c,a),a&&(a.set="add"),u=!1;else{Y(this,xn,Br).call(this,h);const O=x(this,H)[h];if(i!==O){if(x(this,Yi)&&Y(this,ge,ve).call(this,O)){O.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=O;y!==void 0&&!o&&(x(this,Ut)&&((f=x(this,zt))==null||f.call(this,y,e,"set")),x(this,at)&&((d=x(this,qe))==null||d.push([y,e,"set"])))}else o||(x(this,Ut)&&((p=x(this,zt))==null||p.call(this,O,e,"set")),x(this,at)&&((m=x(this,qe))==null||m.push([O,e,"set"])));if(x(this,yn).call(this,h),x(this,er).call(this,h,c,a),x(this,H)[h]=i,a){a.set="replace";const y=O&&Y(this,ge,ve).call(this,O)?O.__staleWhileFetching:O;y!==void 0&&(a.oldValue=y)}}else a&&(a.set="update")}if(r!==0&&!x(this,wt)&&Y(this,ws,Hu).call(this),x(this,wt)&&(u||x(this,_s).call(this,h,r,s),a&&x(this,wi).call(this,a,h)),!o&&x(this,at)&&x(this,qe)){const O=x(this,qe);let y;for(;y=O==null?void 0:O.shift();)(g=x(this,jt))==null||g.call(this,...y)}return this}pop(){var e;try{for(;x(this,Ve);){const i=x(this,H)[x(this,et)];if(Y(this,tr,zo).call(this,!0),Y(this,ge,ve).call(this,i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(x(this,at)&&x(this,qe)){const i=x(this,qe);let n;for(;n=i==null?void 0:i.shift();)(e=x(this,jt))==null||e.call(this,...n)}}}has(e,i={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=i,s=x(this,Ie).get(e);if(s!==void 0){const o=x(this,H)[s];if(Y(this,ge,ve).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(x(this,_t).call(this,s))r&&(r.has="stale",x(this,wi).call(this,r,s));else return n&&x(this,bn).call(this,s),r&&(r.has="hit",x(this,wi).call(this,r,s)),!0}else r&&(r.has="miss");return!1}peek(e,i={}){const{allowStale:n=this.allowStale}=i,r=x(this,Ie).get(e);if(r===void 0||!n&&x(this,_t).call(this,r))return;const s=x(this,H)[r];return Y(this,ge,ve).call(this,s)?s.__staleWhileFetching:s}async fetch(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:m,forceRefresh:g=!1,status:O,signal:y}=i;if(!x(this,Yi))return O&&(O.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,status:O});const k={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:l,size:a,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:p,ignoreFetchAbort:d,status:O,signal:y};let w=x(this,Ie).get(e);if(w===void 0){O&&(O.fetch="miss");const _=Y(this,ir,jo).call(this,e,w,k,m);return _.__returned=_}else{const _=x(this,H)[w];if(Y(this,ge,ve).call(this,_)){const M=n&&_.__staleWhileFetching!==void 0;return O&&(O.fetch="inflight",M&&(O.returnedStale=!0)),M?_.__staleWhileFetching:_.__returned=_}const A=x(this,_t).call(this,w);if(!g&&!A)return O&&(O.fetch="hit"),Y(this,xn,Br).call(this,w),r&&x(this,bn).call(this,w),O&&x(this,wi).call(this,O,w),_;const C=Y(this,ir,jo).call(this,e,w,k,m),R=C.__staleWhileFetching!==void 0&&n;return O&&(O.fetch=A?"stale":"refresh",R&&A&&(O.returnedStale=!0)),R?C.__staleWhileFetching:C.__returned=C}}get(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=i,l=x(this,Ie).get(e);if(l!==void 0){const a=x(this,H)[l],u=Y(this,ge,ve).call(this,a);return o&&x(this,wi).call(this,o,l),x(this,_t).call(this,l)?(o&&(o.get="stale"),u?(o&&n&&a.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?a.__staleWhileFetching:void 0):(s||this.delete(e),o&&n&&(o.returnedStale=!0),n?a:void 0)):(o&&(o.get="hit"),u?a.__staleWhileFetching:(Y(this,xn,Br).call(this,l),r&&x(this,bn).call(this,l),a))}else o&&(o.get="miss")}delete(e){var n,r,s,o;let i=!1;if(x(this,Ve)!==0){const l=x(this,Ie).get(e);if(l!==void 0)if(i=!0,x(this,Ve)===1)this.clear();else{x(this,yn).call(this,l);const a=x(this,H)[l];if(Y(this,ge,ve).call(this,a)?a.__abortController.abort(new Error("deleted")):(x(this,Ut)||x(this,at))&&(x(this,Ut)&&((n=x(this,zt))==null||n.call(this,a,e,"delete")),x(this,at)&&((r=x(this,qe))==null||r.push([a,e,"delete"]))),x(this,Ie).delete(e),x(this,Se)[l]=void 0,x(this,H)[l]=void 0,l===x(this,Be))U(this,Be,x(this,St)[l]);else if(l===x(this,et))U(this,et,x(this,lt)[l]);else{const u=x(this,St)[l];x(this,lt)[u]=x(this,lt)[l];const c=x(this,lt)[l];x(this,St)[c]=x(this,St)[l]}Us(this,Ve)._--,x(this,qt).push(l)}}if(x(this,at)&&((s=x(this,qe))!=null&&s.length)){const l=x(this,qe);let a;for(;a=l==null?void 0:l.shift();)(o=x(this,jt))==null||o.call(this,...a)}return i}clear(){var e,i,n;for(const r of Y(this,ui,Vi).call(this,{allowStale:!0})){const s=x(this,H)[r];if(Y(this,ge,ve).call(this,s))s.__abortController.abort(new Error("deleted"));else{const o=x(this,Se)[r];x(this,Ut)&&((e=x(this,zt))==null||e.call(this,s,o,"delete")),x(this,at)&&((i=x(this,qe))==null||i.push([s,o,"delete"]))}}if(x(this,Ie).clear(),x(this,H).fill(void 0),x(this,Se).fill(void 0),x(this,wt)&&x(this,Nt)&&(x(this,wt).fill(0),x(this,Nt).fill(0)),x(this,Yt)&&x(this,Yt).fill(0),U(this,et,0),U(this,Be,0),x(this,qt).length=0,U(this,Bt,0),U(this,Ve,0),x(this,at)&&x(this,qe)){const r=x(this,qe);let s;for(;s=r==null?void 0:r.shift();)(n=x(this,jt))==null||n.call(this,...s)}}};l5=Symbol.toStringTag,Ft=new WeakMap,vt=new WeakMap,zt=new WeakMap,jt=new WeakMap,Jn=new WeakMap,Ve=new WeakMap,Bt=new WeakMap,Ie=new WeakMap,Se=new WeakMap,H=new WeakMap,lt=new WeakMap,St=new WeakMap,et=new WeakMap,Be=new WeakMap,qt=new WeakMap,qe=new WeakMap,Yt=new WeakMap,Nt=new WeakMap,wt=new WeakMap,Ut=new WeakMap,Yi=new WeakMap,at=new WeakMap,ws=new WeakSet,Hu=function(){const e=new Fo(x(this,Ft)),i=new Fo(x(this,Ft));U(this,wt,e),U(this,Nt,i),U(this,_s,(s,o,l=In.now())=>{if(i[s]=o!==0?l:0,e[s]=o,o!==0&&this.ttlAutopurge){const a=setTimeout(()=>{x(this,_t).call(this,s)&&this.delete(x(this,Se)[s])},o+1);a.unref&&a.unref()}}),U(this,bn,s=>{i[s]=e[s]!==0?In.now():0}),U(this,wi,(s,o)=>{if(e[o]){const l=e[o],a=i[o];if(!l||!a)return;s.ttl=l,s.start=a,s.now=n||r();const u=s.now-a;s.remainingTTL=l-u}});let n=0;const r=()=>{const s=In.now();if(this.ttlResolution>0){n=s;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{const o=x(this,Ie).get(s);if(o===void 0)return 0;const l=e[o],a=i[o];if(!l||!a)return 1/0;const u=(n||r())-a;return l-u},U(this,_t,s=>{const o=i[s],l=e[s];return!!l&&!!o&&(n||r())-o>l})},bn=new WeakMap,wi=new WeakMap,_s=new WeakMap,_t=new WeakMap,Ql=new WeakSet,K1=function(){const e=new Fo(x(this,Ft));U(this,Bt,0),U(this,Yt,e),U(this,yn,i=>{U(this,Bt,x(this,Bt)-e[i]),e[i]=0}),U(this,$s,(i,n,r,s)=>{if(Y(this,ge,ve).call(this,n))return 0;if(!Xi(r))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(n,i),!Xi(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),U(this,er,(i,n,r)=>{if(e[i]=n,x(this,vt)){const s=x(this,vt)-e[i];for(;x(this,Bt)>s;)Y(this,tr,zo).call(this,!0)}U(this,Bt,x(this,Bt)+e[i]),r&&(r.entrySize=n,r.totalCalculatedSize=x(this,Bt))})},yn=new WeakMap,er=new WeakMap,$s=new WeakMap,ai=new WeakSet,Mi=function*({allowStale:e=this.allowStale}={}){if(x(this,Ve))for(let i=x(this,Be);!(!Y(this,Ps,Ku).call(this,i)||((e||!x(this,_t).call(this,i))&&(yield i),i===x(this,et)));)i=x(this,St)[i]},ui=new WeakSet,Vi=function*({allowStale:e=this.allowStale}={}){if(x(this,Ve))for(let i=x(this,et);!(!Y(this,Ps,Ku).call(this,i)||((e||!x(this,_t).call(this,i))&&(yield i),i===x(this,Be)));)i=x(this,lt)[i]},Ps=new WeakSet,Ku=function(e){return e!==void 0&&x(this,Ie).get(x(this,Se)[e])===e},tr=new WeakSet,zo=function(e){var s,o;const i=x(this,et),n=x(this,Se)[i],r=x(this,H)[i];return x(this,Yi)&&Y(this,ge,ve).call(this,r)?r.__abortController.abort(new Error("evicted")):(x(this,Ut)||x(this,at))&&(x(this,Ut)&&((s=x(this,zt))==null||s.call(this,r,n,"evict")),x(this,at)&&((o=x(this,qe))==null||o.push([r,n,"evict"]))),x(this,yn).call(this,i),e&&(x(this,Se)[i]=void 0,x(this,H)[i]=void 0,x(this,qt).push(i)),x(this,Ve)===1?(U(this,et,U(this,Be,0)),x(this,qt).length=0):U(this,et,x(this,lt)[i]),x(this,Ie).delete(n),Us(this,Ve)._--,i},ir=new WeakSet,jo=function(e,i,n,r){const s=i===void 0?void 0:x(this,H)[i];if(Y(this,ge,ve).call(this,s))return s;const o=new $l,{signal:l}=n;l==null||l.addEventListener("abort",()=>o.abort(l.reason),{signal:o.signal});const a={signal:o.signal,options:n,context:r},u=(m,g=!1)=>{const{aborted:O}=o.signal,y=n.ignoreFetchAbort&&m!==void 0;if(n.status&&(O&&!g?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,y&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),O&&!y&&!g)return h(o.signal.reason);const k=d;return x(this,H)[i]===d&&(m===void 0?k.__staleWhileFetching?x(this,H)[i]=k.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,m,a.options))),m},c=m=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=m),h(m)),h=m=>{const{aborted:g}=o.signal,O=g&&n.allowStaleOnFetchAbort,y=O||n.allowStaleOnFetchRejection,k=y||n.noDeleteOnFetchRejection,w=d;if(x(this,H)[i]===d&&(!k||w.__staleWhileFetching===void 0?this.delete(e):O||(x(this,H)[i]=w.__staleWhileFetching)),y)return n.status&&w.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),w.__staleWhileFetching;if(w.__returned===w)throw m},f=(m,g)=>{var y;const O=(y=x(this,Jn))==null?void 0:y.call(this,e,s,a);O&&O instanceof Promise&&O.then(k=>m(k===void 0?void 0:k),g),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(m(void 0),n.allowStaleOnFetchAbort&&(m=k=>u(k,!0)))})};n.status&&(n.status.fetchDispatched=!0);const d=new Promise(f).then(u,c),p=Object.assign(d,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return i===void 0?(this.set(e,p,{...a.options,status:void 0}),i=x(this,Ie).get(e)):x(this,H)[i]=p,p},ge=new WeakSet,ve=function(e){if(!x(this,Yi))return!1;const i=e;return!!i&&i instanceof Promise&&i.hasOwnProperty("__staleWhileFetching")&&i.__abortController instanceof $l},Cs=new WeakSet,Ju=function(e,i){x(this,St)[i]=e,x(this,lt)[e]=i},xn=new WeakSet,Br=function(e){e!==x(this,Be)&&(e===x(this,et)?U(this,et,x(this,lt)[e]):Y(this,Cs,Ju).call(this,x(this,St)[e],x(this,lt)[e]),Y(this,Cs,Ju).call(this,x(this,Be),e),U(this,Be,e))};let Gu=lh;function SC(t,e){for(var i=0;in[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const wC=(t,e)=>{const i=ne("editorId"),{noImgZoomIn:n}=t,r=ic(()=>{const s=document.querySelectorAll(`#${i}-preview img:not(.not-zoom)`);s.length!==0&&f_(s,{background:"#00000073"})});Ee(()=>{r()}),J([e,Ni(t.setting,"preview")],()=>{!n&&t.setting.preview&&r()})},_C=(t,e,i)=>{const n=ne("editorId"),r=ne("usedLanguageText"),s=()=>{document.querySelectorAll(`#${n} .${S}-preview .${S}-code`).forEach(a=>{let u=-1;const c=a.querySelector(`.${S}-copy-button`);c&&(c.onclick=h=>{h.preventDefault(),clearTimeout(u);const d=(a.querySelector("input:checked + pre code")||a.querySelector("pre code")).textContent,p=k_(t.formatCopiedText(d)),{text:m,successTips:g,failTips:O}=r.value.copyCode,y=p?g:O;c.dataset.isIcon?c.dataset.tips=y:c.innerHTML=y,u=window.setTimeout(()=>{c.dataset.isIcon?c.dataset.tips=m:c.innerHTML=m},1500)})})},o=()=>{bi(s)},l=a=>{a&&bi(s)};J([e,i],o),J(()=>t.setting.preview,l),J(()=>t.setting.htmlPreview,l),J(()=>r.value,s),Ee(s)},$C=t=>{const e=ne("highlight"),i=kn(ze.editorExtensions.highlight.instance);return Ee(()=>{t.noHighlight||i.value||(Ot("link",{...e.value.css,rel:"stylesheet",id:`${S}-hlCss`}),Ot("script",{...e.value.js,id:`${S}-hljs`,onload(){i.value=window.hljs}},"hljs"))}),J(()=>e.value.css,()=>{Jb("link",{...e.value.css,rel:"stylesheet",id:`${S}-hlCss`})}),i},PC=t=>{const e=ne("theme"),{editorExtensions:i,editorExtensionsAttrs:n,mermaidConfig:r}=ze,s=kn(i.mermaid.instance),o=kn(-1),l=new Gu({max:1e3,ttl:6e5}),a=()=>{const c=s.value;!t.noMermaid&&c&&(c.initialize(r({startOnLoad:!1,theme:e.value==="dark"?"dark":"default"})),o.value=o.value+1)};return J(()=>e.value,()=>{l.clear(),a()}),Ee(()=>{var c,h,f;if(t.noMermaid||(c=s.value)!=null&&c.instance)return;const d=i.mermaid.js;/\.mjs/.test(d)?(Ot("link",{...(h=n.mermaid)==null?void 0:h.js,rel:"modulepreload",href:d,id:`${S}-mermaid-m`}),import(d).then(p=>{s.value=p.default,a()})):Ot("script",{...(f=n.mermaid)==null?void 0:f.js,src:d,id:`${S}-mermaid`,onload(){s.value=window.mermaid,a()}},"mermaid")}),{mermaidRef:s,reRenderRef:o,replaceMermaid:()=>{bi(()=>{if(!t.noMermaid&&s.value){const c=document.querySelectorAll(`div.${S}-mermaid`),h=document.createElement("div");h.style.width=document.body.offsetWidth+"px",h.style.height=document.body.offsetHeight+"px",h.style.position="fixed",h.style.zIndex="-10000",h.style.top="-10000";let f=c.length;f>0&&document.body.appendChild(h),c.forEach(async d=>{let p=l.get(d.innerText);if(!p){const g=za(),O=s.value.renderAsync||s.value.render;let y="";try{y=await O(g,d.innerText,h)}catch{}p=await t.sanitizeMermaid(typeof y=="string"?y:y.svg),l.set(d.innerText,p)}const m=document.createElement("p");m.className=`${S}-mermaid`,m.setAttribute("data-processed",""),m.innerHTML=p,d.dataset.line!==void 0&&(m.dataset.line=d.dataset.line),d.replaceWith(m),--f===0&&h.remove()})}})}}},CC=t=>{const e=kn(ze.editorExtensions.katex.instance);return Ee(()=>{if(t.noKatex||e.value)return;const{editorExtensions:i}=ze;Ot("script",{src:i.katex.js,id:`${S}-katex`,onload(){e.value=window.katex}},"katex"),Ot("link",{rel:"stylesheet",href:i.katex.css,id:`${S}-katexCss`})}),e},QC=(t,e)=>{const i=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(n,r,s,o,l)=>{const a=n[r],u=a.content.trim();if(a.info==="mermaid"){let c;return n[r].map&&n[r].level===0&&(c=n[r].map[0],n[r].attrSet("data-line",String(c))),`
    ${u}
    `}return i(n,r,s,o,l)}},AC=QC,Pl=(t,e)=>{const i=t.attrs?t.attrs.slice():[];return e.forEach(n=>{const r=t.attrIndex(n[0]);r<0?i.push(n):(i[r]=i[r].slice(),i[r][1]+=` ${n[1]}`)}),i},F0=(t,e)=>{let i=!0,n=!0;const r=t.posMax,s=e>0?t.src.charCodeAt(e-1):-1,o=e+1<=r?t.src.charCodeAt(e+1):-1;return(s===32||s===9||o>=48&&o<=57)&&(n=!1),(o===32||o===9)&&(i=!1),{can_open:i,can_close:n}},TC=(t,e)=>{let i,n,r,s;if(t.src[t.pos]!=="$")return!1;if(r=F0(t,t.pos),!r.can_open)return e||(t.pending+="$"),t.pos+=1,!0;const o=t.pos+1;for(i=o;(i=t.src.indexOf("$",i))!==-1;){for(s=i-1;t.src[s]==="\\";)s-=1;if((i-s)%2==1)break;i+=1}return i===-1?(e||(t.pending+="$"),t.pos=o,!0):i-o===0?(e||(t.pending+="$$"),t.pos=o+1,!0):(r=F0(t,i),r.can_close?(e||(n=t.push("math_inline","math",0),n.markup="$",n.content=t.src.slice(o,i)),t.pos=i+1,!0):(e||(t.pending+="$"),t.pos=o,!0))},EC=(t,e,i,n)=>{let r,s,o,l,a=!1,u=t.bMarks[e]+t.tShift[e],c=t.eMarks[e];if(u+2>c||t.src.slice(u,u+2)!=="$$")return!1;if(u+=2,r=t.src.slice(u,c),n)return!0;for(r.trim().slice(-2)==="$$"&&(r=r.trim().slice(0,-2),a=!0),o=e;!a&&(o++,!(o>=i||(u=t.bMarks[o]+t.tShift[o],c=t.eMarks[o],u\s]/i.test(t)}function y$(t){return/^<\/a\s*>/i.test(t)}function x$(t){const e=t.tokens;if(t.md.options.linkify)for(let i=0,n=e.length;i=0;o--){const l=r[o];if(l.type==="link_close"){for(o--;r[o].level!==l.level&&r[o].type!=="link_open";)o--;continue}if(l.type==="html_inline"&&(b$(l.content)&&s>0&&s--,y$(l.content)&&s++),!(s>0)&&l.type==="text"&&t.md.linkify.test(l.content)){const a=l.content;let u=t.md.linkify.match(a);const c=[];let h=l.level,f=0;u.length>0&&u[0].index===0&&o>0&&r[o-1].type==="text_special"&&(u=u.slice(1));for(let d=0;df){const _=new t.Token("text","",0);_.content=a.slice(f,O),_.level=h,c.push(_)}const y=new t.Token("link_open","a",1);y.attrs=[["href",m]],y.level=h++,y.markup="linkify",y.info="auto",c.push(y);const k=new t.Token("text","",0);k.content=g,k.level=h,c.push(k);const w=new t.Token("link_close","a",-1);w.level=--h,w.markup="linkify",w.info="auto",c.push(w),f=u[d].lastIndex}if(f=0;i--){const n=t[i];n.type==="text"&&!e&&(n.content=n.content.replace(v$,w$)),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function $$(t){let e=0;for(let i=t.length-1;i>=0;i--){const n=t[i];n.type==="text"&&!e&&Q1.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function P$(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(k$.test(t.tokens[e].content)&&_$(t.tokens[e].children),Q1.test(t.tokens[e].content)&&$$(t.tokens[e].children))}const C$=/['"]/,Cp=/['"]/g,Qp="’";function So(t,e,i){return t.slice(0,e)+i+t.slice(e+1)}function Q$(t,e){let i;const n=[];for(let r=0;r=0&&!(n[i].level<=o);i--);if(n.length=i+1,s.type!=="text")continue;let l=s.content,a=0,u=l.length;e:for(;a=0)p=l.charCodeAt(c.index-1);else for(i=r-1;i>=0&&!(t[i].type==="softbreak"||t[i].type==="hardbreak");i--)if(t[i].content){p=t[i].content.charCodeAt(t[i].content.length-1);break}let m=32;if(a=48&&p<=57&&(f=h=!1),h&&f&&(h=g,f=O),!h&&!f){d&&(s.content=So(s.content,c.index,Qp));continue}if(f)for(i=n.length-1;i>=0;i--){let w=n[i];if(n[i].level=0;e--)t.tokens[e].type!=="inline"||!C$.test(t.tokens[e].content)||Q$(t.tokens[e].children,t)}function T$(t){let e,i;const n=t.tokens,r=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};ki.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};ki.prototype.skipEmptyLines=function(e){for(let i=this.lineMax;ei;)if(!ke(this.src.charCodeAt(--e)))return e+1;return e};ki.prototype.skipChars=function(e,i){for(let n=this.src.length;en;)if(i!==this.src.charCodeAt(--e))return e+1;return e};ki.prototype.getLines=function(e,i,n,r){if(e>=i)return"";const s=new Array(i-e);for(let o=0,l=e;ln?s[o]=new Array(a-n+1).join(" ")+this.src.slice(c,h):s[o]=this.src.slice(c,h)}return s.join("")};ki.prototype.Token=ni;const E$=65536;function Ea(t,e){const i=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(i,n)}function Ap(t){const e=[],i=t.length;let n=0,r=t.charCodeAt(n),s=!1,o=0,l="";for(;ni)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let s=t.bMarks[r]+t.tShift[r];if(s>=t.eMarks[r])return!1;const o=t.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58||s>=t.eMarks[r])return!1;const l=t.src.charCodeAt(s++);if(l!==124&&l!==45&&l!==58&&!ke(l)||o===45&&ke(l))return!1;for(;s=4)return!1;u=Ap(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop();const h=u.length;if(h===0||h!==c.length)return!1;if(n)return!0;const f=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),m=[e,0];p.map=m;const g=t.push("thead_open","thead",1);g.map=[e,e+1];const O=t.push("tr_open","tr",1);O.map=[e,e+1];for(let w=0;w=4||(u=Ap(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),k+=h-u.length,k>E$))break;if(r===e+2){const A=t.push("tbody_open","tbody",1);A.map=y=[e+2,0]}const _=t.push("tr_open","tr",1);_.map=[r,r+1];for(let A=0;A=4){n++,r=n;continue}break}t.line=r;const s=t.push("code_block","code",0);return s.content=t.getLines(e,r,4+t.blkIndent,!1)+` +`,s.map=[e,t.line],!0}function R$(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||r+3>s)return!1;const o=t.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let l=r;r=t.skipChars(r,o);let a=r-l;if(a<3)return!1;const u=t.src.slice(l,r),c=t.src.slice(r,s);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=e,f=!1;for(;h++,!(h>=i||(r=l=t.bMarks[h]+t.tShift[h],s=t.eMarks[h],r=4)&&(r=t.skipChars(r,o),!(r-l=4||t.src.charCodeAt(r)!==62)return!1;if(n)return!0;const l=[],a=[],u=[],c=[],h=t.md.block.ruler.getRules("blockquote"),f=t.parentType;t.parentType="blockquote";let d=!1,p;for(p=e;p=s)break;if(t.src.charCodeAt(r++)===62&&!k){let _=t.sCount[p]+1,A,C;t.src.charCodeAt(r)===32?(r++,_++,C=!1,A=!0):t.src.charCodeAt(r)===9?(A=!0,(t.bsCount[p]+_)%4===3?(r++,_++,C=!1):C=!0):A=!1;let $=_;for(l.push(t.bMarks[p]),t.bMarks[p]=r;r=s,a.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(A?1:0),u.push(t.sCount[p]),t.sCount[p]=$-_,c.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(d)break;let w=!1;for(let _=0,A=h.length;_";const O=[e,0];g.map=O,t.md.block.tokenize(t,e,p);const y=t.push("blockquote_close","blockquote",-1);y.markup=">",t.lineMax=o,t.parentType=f,O[1]=t.line;for(let k=0;k=4)return!1;let s=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(s++);if(o!==42&&o!==45&&o!==95)return!1;let l=1;for(;s=n)return-1;let s=t.src.charCodeAt(r++);if(s<48||s>57)return-1;for(;;){if(r>=n)return-1;if(s=t.src.charCodeAt(r++),s>=48&&s<=57){if(r-i>=10)return-1;continue}if(s===41||s===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[a]-t.listIndent>=4&&t.sCount[a]=t.blkIndent&&(c=!0);let h,f,d;if((d=Ep(t,a))>=0){if(h=!0,o=t.bMarks[a]+t.tShift[a],f=Number(t.src.slice(o,d-1)),c&&f!==1)return!1}else if((d=Tp(t,a))>=0)h=!1;else return!1;if(c&&t.skipSpaces(d)>=t.eMarks[a])return!1;if(n)return!0;const p=t.src.charCodeAt(d-1),m=t.tokens.length;h?(l=t.push("ordered_list_open","ol",1),f!==1&&(l.attrs=[["start",f]])):l=t.push("bullet_list_open","ul",1);const g=[a,0];l.map=g,l.markup=String.fromCharCode(p);let O=!1;const y=t.md.block.ruler.getRules("list"),k=t.parentType;for(t.parentType="list";a=r?C=1:C=_-w,C>4&&(C=1);const $=w+C;l=t.push("list_item_open","li",1),l.markup=String.fromCharCode(p);const R=[a,0];l.map=R,h&&(l.info=t.src.slice(o,d-1));const M=t.tight,X=t.tShift[a],Z=t.sCount[a],L=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=$,t.tight=!0,t.tShift[a]=A-t.bMarks[a],t.sCount[a]=_,A>=r&&t.isEmpty(a+1)?t.line=Math.min(t.line+2,i):t.md.block.tokenize(t,a,i,!0),(!t.tight||O)&&(u=!1),O=t.line-a>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=L,t.tShift[a]=X,t.sCount[a]=Z,t.tight=M,l=t.push("list_item_close","li",-1),l.markup=String.fromCharCode(p),a=t.line,R[1]=a,a>=i||t.sCount[a]=4)break;let W=!1;for(let z=0,q=y.length;z=4||t.src.charCodeAt(r)!==91)return!1;function l(y){const k=t.lineMax;if(y>=k||t.isEmpty(y))return null;let w=!1;if(t.sCount[y]-t.blkIndent>3&&(w=!0),t.sCount[y]<0&&(w=!0),!w){const C=t.md.block.ruler.getRules("reference"),$=t.parentType;t.parentType="reference";let R=!1;for(let M=0,X=C.length;M"u"&&(t.env.references={}),typeof t.env.references[O]>"u"&&(t.env.references[O]={title:g,href:h}),t.line=o),!0):!1}const W$=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],F$="[a-zA-Z_:][a-zA-Z0-9:._-]*",z$="[^\"'=<>`\\x00-\\x20]+",j$="'[^']*'",B$='"[^"]*"',q$="(?:"+z$+"|"+j$+"|"+B$+")",Y$="(?:\\s+"+F$+"(?:\\s*=\\s*"+q$+")?)",A1="<[A-Za-z][A-Za-z0-9\\-]*"+Y$+"*\\s*\\/?>",T1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",N$="",U$="<[?][\\s\\S]*?[?]>",G$="]*>",H$="",K$=new RegExp("^(?:"+A1+"|"+T1+"|"+N$+"|"+U$+"|"+G$+"|"+H$+")"),J$=new RegExp("^(?:"+A1+"|"+T1+")"),Rn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(J$.source+"\\s*$"),/^$/,!1]];function eP(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(r)!==60)return!1;let o=t.src.slice(r,s),l=0;for(;l=4)return!1;let o=t.src.charCodeAt(r);if(o!==35||r>=s)return!1;let l=1;for(o=t.src.charCodeAt(++r);o===35&&r6||rr&&ke(t.src.charCodeAt(a-1))&&(s=a),t.line=e+1;const u=t.push("heading_open","h"+String(l),1);u.markup="########".slice(0,l),u.map=[e,t.line];const c=t.push("inline","",0);c.content=t.src.slice(r,s).trim(),c.map=[e,t.line],c.children=[];const h=t.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0}function iP(t,e,i){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let s=0,o,l=e+1;for(;l3)continue;if(t.sCount[l]>=t.blkIndent){let d=t.bMarks[l]+t.tShift[l];const p=t.eMarks[l];if(d=p))){s=o===61?1:2;break}}if(t.sCount[l]<0)continue;let f=!1;for(let d=0,p=n.length;d3||t.sCount[s]<0)continue;let u=!1;for(let c=0,h=n.length;c=i||t.sCount[o]=s){t.line=i;break}const a=t.line;let u=!1;for(let c=0;c=t.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};Vs.prototype.scanDelims=function(t,e){const i=this.posMax,n=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let s=t;for(;s0)return!1;const i=t.pos,n=t.posMax;if(i+3>n||t.src.charCodeAt(i)!==58||t.src.charCodeAt(i+1)!==47||t.src.charCodeAt(i+2)!==47)return!1;const r=t.pending.match(oP);if(!r)return!1;const s=r[1],o=t.md.linkify.matchAtStart(t.src.slice(i-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;l=l.replace(/\*+$/,"");const a=t.md.normalizeLink(l);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const u=t.push("link_open","a",1);u.attrs=[["href",a]],u.markup="linkify",u.info="auto";const c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);const h=t.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return t.pos+=l.length-s.length,!0}function aP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;const n=t.pending.length-1,r=t.posMax;if(!e)if(n>=0&&t.pending.charCodeAt(n)===32)if(n>=1&&t.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){nh[t.charCodeAt(0)]=1});function uP(t,e){let i=t.pos;const n=t.posMax;if(t.src.charCodeAt(i)!==92||(i++,i>=n))return!1;let r=t.src.charCodeAt(i);if(r===10){for(e||t.push("hardbreak","br",0),i++;i=55296&&r<=56319&&i+1=56320&&l<=57343&&(s+=t.src[i+1],i++)}const o="\\"+s;if(!e){const l=t.push("text_special","",0);r<256&&nh[r]!==0?l.content=s:l.content=o,l.markup=o,l.info="escape"}return t.pos=i+1,!0}function cP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==96)return!1;const r=i;i++;const s=t.posMax;for(;i=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const s=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,l=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?l+l:l,a.content="";const u=t.tokens[s.token];u.type=o?"strong_close":"em_close",u.tag=o?"strong":"em",u.nesting=-1,u.markup=o?l+l:l,u.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}function pP(t){const e=t.tokens_meta,i=t.tokens_meta.length;Dp(t,t.delimiters);for(let n=0;n=h)return!1;if(a=p,r=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),r.ok){for(o=t.md.normalizeLink(r.str),t.md.validateLink(o)?p=r.pos:o="",a=p;p=h||t.src.charCodeAt(p)!==41)&&(u=!0),p++}if(u){if(typeof t.env.references>"u")return!1;if(p=0?n=t.src.slice(a,p++):p=d+1):p=d+1,n||(n=t.src.slice(f,d)),s=t.env.references[Bl(n)],!s)return t.pos=c,!1;o=s.href,l=s.title}if(!e){t.pos=f,t.posMax=d;const m=t.push("link_open","a",1),g=[["href",o]];m.attrs=g,l&&g.push(["title",l]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}function OP(t,e){let i,n,r,s,o,l,a,u,c="";const h=t.pos,f=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(s=p+1,s=f)return!1;for(u=s,l=t.md.helpers.parseLinkDestination(t.src,s,t.posMax),l.ok&&(c=t.md.normalizeLink(l.str),t.md.validateLink(c)?s=l.pos:c=""),u=s;s=f||t.src.charCodeAt(s)!==41)return t.pos=h,!1;s++}else{if(typeof t.env.references>"u")return!1;if(s=0?r=t.src.slice(u,s++):s=p+1):s=p+1,r||(r=t.src.slice(d,p)),o=t.env.references[Bl(r)],!o)return t.pos=h,!1;c=o.href,a=o.title}if(!e){n=t.src.slice(d,p);const m=[];t.md.inline.parse(n,t.md,t.env,m);const g=t.push("image","img",0),O=[["src",c],["alt",""]];g.attrs=O,g.children=m,g.content=n,a&&O.push(["title",a])}return t.pos=s,t.posMax=f,!0}const gP=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,bP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function yP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==60)return!1;const n=t.pos,r=t.posMax;for(;;){if(++i>=r)return!1;const o=t.src.charCodeAt(i);if(o===60)return!1;if(o===62)break}const s=t.src.slice(n+1,i);if(bP.test(s)){const o=t.md.normalizeLink(s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}if(gP.test(s)){const o=t.md.normalizeLink("mailto:"+s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}return!1}function xP(t){return/^\s]/i.test(t)}function kP(t){return/^<\/a\s*>/i.test(t)}function vP(t){const e=t|32;return e>=97&&e<=122}function SP(t,e){if(!t.md.options.html)return!1;const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==60||n+2>=i)return!1;const r=t.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!vP(r))return!1;const s=t.src.slice(n).match(K$);if(!s)return!1;if(!e){const o=t.push("html_inline","",0);o.content=s[0],xP(o.content)&&t.linkLevel++,kP(o.content)&&t.linkLevel--}return t.pos+=s[0].length,!0}const wP=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_P=/^&([a-z][a-z0-9]{1,31});/i;function $P(t,e){const i=t.pos,n=t.posMax;if(t.src.charCodeAt(i)!==38||i+1>=n)return!1;if(t.src.charCodeAt(i+1)===35){const s=t.src.slice(i).match(wP);if(s){if(!e){const o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),l=t.push("text_special","",0);l.content=th(o)?wl(o):wl(65533),l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}else{const s=t.src.slice(i).match(_P);if(s){const o=_1(s[0]);if(o!==s[0]){if(!e){const l=t.push("text_special","",0);l.content=o,l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}}return!1}function Rp(t){const e={},i=t.length;if(!i)return;let n=0,r=-2;const s=[];for(let o=0;oa;u-=s[u]+1){const h=t[u];if(h.marker===l.marker&&h.open&&h.end<0){let f=!1;if((h.close||l.open)&&(h.length+l.length)%3===0&&(h.length%3!==0||l.length%3!==0)&&(f=!0),!f){const d=u>0&&!t[u-1].open?s[u-1]+1:0;s[o]=o-u+d,s[u]=d,l.open=!1,h.end=o,h.close=!1,c=-1,r=-2;break}}}c!==-1&&(e[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}function PP(t){const e=t.tokens_meta,i=t.tokens_meta.length;Rp(t.delimiters);for(let n=0;n0&&n++,r[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,s[e]=t.pos};Ws.prototype.tokenize=function(t){const e=this.ruler.getRules(""),i=e.length,n=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Ws.prototype.parse=function(t,e,i,n){const r=new this.State(t,e,i,n);this.tokenize(r);const s=this.ruler2.getRules(""),o=s.length;for(let l=0;l|$))",e.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function Bu(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){i&&Object.keys(i).forEach(function(n){t[n]=i[n]})}),t}function Yl(t){return Object.prototype.toString.call(t)}function AP(t){return Yl(t)==="[object String]"}function TP(t){return Yl(t)==="[object Object]"}function EP(t){return Yl(t)==="[object RegExp]"}function Ip(t){return Yl(t)==="[object Function]"}function ZP(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const D1={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function DP(t){return Object.keys(t||{}).reduce(function(e,i){return e||D1.hasOwnProperty(i)},!1)}const RP={"http:":{validate:function(t,e,i){const n=t.slice(e);return i.re.http||(i.re.http=new RegExp("^\\/\\/"+i.re.src_auth+i.re.src_host_port_strict+i.re.src_path,"i")),i.re.http.test(n)?n.match(i.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,i){const n=t.slice(e);return i.re.no_http||(i.re.no_http=new RegExp("^"+i.re.src_auth+"(?:localhost|(?:(?:"+i.re.src_domain+")\\.)+"+i.re.src_domain_root+")"+i.re.src_port+i.re.src_host_terminator+i.re.src_path,"i")),i.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(i.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,i){const n=t.slice(e);return i.re.mailto||(i.re.mailto=new RegExp("^"+i.re.src_email_name+"@"+i.re.src_host_strict,"i")),i.re.mailto.test(n)?n.match(i.re.mailto)[0].length:0}}},IP="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",LP="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function XP(t){t.__index__=-1,t.__text_cache__=""}function MP(t){return function(e,i){const n=e.slice(i);return t.test(n)?n.match(t)[0].length:0}}function Lp(){return function(t,e){e.normalize(t)}}function _l(t){const e=t.re=QP(t.__opts__),i=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||i.push(IP),i.push(e.src_xn),e.src_tlds=i.join("|");function n(l){return l.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];t.__compiled__={};function s(l,a){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+a)}Object.keys(t.__schemas__).forEach(function(l){const a=t.__schemas__[l];if(a===null)return;const u={validate:null,link:null};if(t.__compiled__[l]=u,TP(a)){EP(a.validate)?u.validate=MP(a.validate):Ip(a.validate)?u.validate=a.validate:s(l,a),Ip(a.normalize)?u.normalize=a.normalize:a.normalize?s(l,a):u.normalize=Lp();return}if(AP(a)){r.push(l);return}s(l,a)}),r.forEach(function(l){t.__compiled__[t.__schemas__[l]]&&(t.__compiled__[l].validate=t.__compiled__[t.__schemas__[l]].validate,t.__compiled__[l].normalize=t.__compiled__[t.__schemas__[l]].normalize)}),t.__compiled__[""]={validate:null,normalize:Lp()};const o=Object.keys(t.__compiled__).filter(function(l){return l.length>0&&t.__compiled__[l]}).map(ZP).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),XP(t)}function VP(t,e){const i=t.__index__,n=t.__last_index__,r=t.__text_cache__.slice(i,n);this.schema=t.__schema__.toLowerCase(),this.index=i+e,this.lastIndex=n+e,this.raw=r,this.text=r,this.url=r}function qu(t,e){const i=new VP(t,e);return t.__compiled__[i.schema].normalize(i,t),i}function Qt(t,e){if(!(this instanceof Qt))return new Qt(t,e);e||DP(t)&&(e=t,t={}),this.__opts__=Bu({},D1,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Bu({},RP,t),this.__compiled__={},this.__tlds__=LP,this.__tlds_replaced__=!1,this.re={},_l(this)}Qt.prototype.add=function(e,i){return this.__schemas__[e]=i,_l(this),this};Qt.prototype.set=function(e){return this.__opts__=Bu(this.__opts__,e),this};Qt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let i,n,r,s,o,l,a,u,c;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(i=a.exec(e))!==null;)if(s=this.testSchemaAt(e,i[2],a.lastIndex),s){this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,l=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=l))),this.__index__>=0};Qt.prototype.pretest=function(e){return this.re.pretest.test(e)};Qt.prototype.testSchemaAt=function(e,i,n){return this.__compiled__[i.toLowerCase()]?this.__compiled__[i.toLowerCase()].validate(e,n,this):0};Qt.prototype.match=function(e){const i=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(i.push(qu(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)i.push(qu(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return i.length?i:null};Qt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const i=this.re.schema_at_start.exec(e);if(!i)return null;const n=this.testSchemaAt(e,i[2],i[0].length);return n?(this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+n,qu(this,0)):null};Qt.prototype.tlds=function(e,i){return e=Array.isArray(e)?e:[e],i?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,s){return n!==s[r-1]}).reverse(),_l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_l(this),this)};Qt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Qt.prototype.onCompile=function(){};const Hn=2147483647,mi=36,rh=1,Ss=26,WP=38,FP=700,R1=72,I1=128,L1="-",zP=/^xn--/,jP=/[^\0-\x7F]/,BP=/[\x2E\u3002\uFF0E\uFF61]/g,qP={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ra=mi-rh,Oi=Math.floor,Ia=String.fromCharCode;function zi(t){throw new RangeError(qP[t])}function YP(t,e){const i=[];let n=t.length;for(;n--;)i[n]=e(t[n]);return i}function X1(t,e){const i=t.split("@");let n="";i.length>1&&(n=i[0]+"@",t=i[1]),t=t.replace(BP,".");const r=t.split("."),s=YP(r,e).join(".");return n+s}function M1(t){const e=[];let i=0;const n=t.length;for(;i=55296&&r<=56319&&iString.fromCodePoint(...t),UP=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:mi},Xp=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},V1=function(t,e,i){let n=0;for(t=i?Oi(t/FP):t>>1,t+=Oi(t/e);t>Ra*Ss>>1;n+=mi)t=Oi(t/Ra);return Oi(n+(Ra+1)*t/(t+WP))},W1=function(t){const e=[],i=t.length;let n=0,r=I1,s=R1,o=t.lastIndexOf(L1);o<0&&(o=0);for(let l=0;l=128&&zi("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l=i&&zi("invalid-input");const f=UP(t.charCodeAt(l++));f>=mi&&zi("invalid-input"),f>Oi((Hn-n)/c)&&zi("overflow"),n+=f*c;const d=h<=s?rh:h>=s+Ss?Ss:h-s;if(fOi(Hn/p)&&zi("overflow"),c*=p}const u=e.length+1;s=V1(n-a,u,a==0),Oi(n/u)>Hn-r&&zi("overflow"),r+=Oi(n/u),n%=u,e.splice(n++,0,r)}return String.fromCodePoint(...e)},F1=function(t){const e=[];t=M1(t);const i=t.length;let n=I1,r=0,s=R1;for(const a of t)a<128&&e.push(Ia(a));const o=e.length;let l=o;for(o&&e.push(L1);l=n&&cOi((Hn-r)/u)&&zi("overflow"),r+=(a-n)*u,n=a;for(const c of t)if(cHn&&zi("overflow"),c===n){let h=r;for(let f=mi;;f+=mi){const d=f<=s?rh:f>=s+Ss?Ss:f-s;if(h=0))try{e.hostname=z1.toASCII(e.hostname)}catch{}return Ms(Hc(e))}function oC(t){const e=Kc(t,!0);if(e.hostname&&(!e.protocol||j1.indexOf(e.protocol)>=0))try{e.hostname=z1.toUnicode(e.hostname)}catch{}return Or(Hc(e),Or.defaultChars+"%")}function Xt(t,e){if(!(this instanceof Xt))return new Xt(t,e);e||eh(t)||(e=t||{},t="default"),this.inline=new Ws,this.block=new ql,this.core=new ih,this.renderer=new _r,this.linkify=new Qt,this.validateLink=rC,this.normalizeLink=sC,this.normalizeLinkText=oC,this.utils=a$,this.helpers=jl({},f$),this.options={},this.configure(t),e&&this.set(e)}Xt.prototype.set=function(t){return jl(this.options,t),this};Xt.prototype.configure=function(t){const e=this;if(eh(t)){const i=t;if(t=tC[i],!t)throw new Error('Wrong `markdown-it` preset "'+i+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(i){t.components[i].rules&&e[i].ruler.enableOnly(t.components[i].rules),t.components[i].rules2&&e[i].ruler2.enableOnly(t.components[i].rules2)}),this};Xt.prototype.enable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.enable(t,!0))},this),i=i.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Xt.prototype.disable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.disable(t,!0))},this),i=i.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Xt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Xt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const i=new this.core.State(t,this,e);return this.core.process(i),i.tokens};Xt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Xt.prototype.parseInline=function(t,e){const i=new this.core.State(t,this,e);return i.inlineMode=!0,this.core.process(i),i.tokens};Xt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const Mp=new Set([!0,!1,"alt","title"]);function B1(t,e){return(Array.isArray(t)?t:[]).filter(([i])=>i!==e)}function q1(t,e){t&&t.attrs&&(t.attrs=B1(t.attrs,e))}function lC(t,e){if(!Mp.has(t))throw new TypeError(`figcaption must be one of: ${[...Mp]}.`);if(t==="alt")return e.content;const i=e.attrs.find(([n])=>n==="title");return Array.isArray(i)&&i[1]?(q1(e,"title"),i[1]):void 0}function aC(t,e){e=e||{},t.core.ruler.before("linkify","image_figures",function(i){let n=1;for(let r=1,s=i.tokens.length;rc.match(u)).map(c=>Array.from(c))}if(e.tabindex&&(i.tokens[r-1].attrPush(["tabindex",n]),n++),e.lazy&&(a.attrs.some(([u])=>u==="loading")||a.attrs.push(["loading","lazy"])),e.async&&(a.attrs.some(([u])=>u==="decoding")||a.attrs.push(["decoding","async"])),e.classes&&typeof e.classes=="string"){let u=!1;for(let c=0,h=a.attrs.length;cc==="src");a.attrs.push(["data-src",u[1]]),q1(a,"src")}}})}var Yu=!0,Y1=!1,N1=!1,uC=function(t,e){e&&(Yu=!e.enabled,Y1=!!e.label,N1=!!e.labelAfter),t.core.ruler.after("inline","github-task-lists",function(i){for(var n=i.tokens,r=2;r=0;n--)if(t[n].level===i)return n;return-1}function hC(t,e){return gC(t[e])&&bC(t[e-1])&&yC(t[e-2])&&xC(t[e])}function fC(t,e){if(t.children.unshift(dC(t,e)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),Y1)if(N1){t.children.pop();var i="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+i+'">',t.children.push(OC(t.content,i,e))}else t.children.unshift(pC(e)),t.children.push(mC(e))}function dC(t,e){var i=new e("html_inline","",0),n=Yu?' disabled="" ':"";return t.content.indexOf("[ ] ")===0?i.content='':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(i.content=''),i}function pC(t){var e=new t("html_inline","",0);return e.content="",e}function OC(t,e,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{for:e}],n}function gC(t){return t.type==="inline"}function bC(t){return t.type==="paragraph_open"}function yC(t){return t.type==="list_item_open"}function xC(t){return t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0}const kC=u0(uC),In=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,U1=new Set,Nu=typeof process=="object"&&process?process:{},G1=(t,e,i,n)=>{typeof Nu.emitWarning=="function"?Nu.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)};let $l=globalThis.AbortController,Wp=globalThis.AbortSignal;var a0;if(typeof $l>"u"){Wp=class{constructor(){Ce(this,"onabort");Ce(this,"_onabort",[]);Ce(this,"reason");Ce(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},$l=class{constructor(){Ce(this,"signal",new Wp);e()}abort(n){var r,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(s=(r=this.signal).onabort)==null||s.call(r,n)}}};let t=((a0=Nu.env)==null?void 0:a0.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{t&&(t=!1,G1("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const vC=t=>!U1.has(t),Xi=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),H1=t=>Xi(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Fo:null:null;class Fo extends Array{constructor(e){super(e),this.fill(0)}}var Kn;const mn=class mn{constructor(e,i){Ce(this,"heap");Ce(this,"length");if(!x(mn,Kn))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}static create(e){const i=H1(e);if(!i)return[];U(mn,Kn,!0);const n=new mn(e,i);return U(mn,Kn,!1),n}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};Kn=new WeakMap,K(mn,Kn,!1);let Uu=mn;var Ft,vt,zt,jt,Jn,Ve,Bt,Ie,Se,H,lt,St,et,Be,qt,qe,Yt,Nt,wt,Ut,Yi,at,ws,Hu,bn,wi,_s,_t,Ql,K1,yn,er,$s,ai,Mi,ui,Vi,Ps,Ku,l5,tr,zo,ir,jo,ge,ve,Cs,Ju,xn,Br;const lh=class lh{constructor(e){K(this,ws);K(this,Ql);K(this,ai);K(this,ui);K(this,Ps);K(this,tr);K(this,ir);K(this,ge);K(this,Cs);K(this,xn);K(this,Ft,void 0);K(this,vt,void 0);K(this,zt,void 0);K(this,jt,void 0);K(this,Jn,void 0);Ce(this,"ttl");Ce(this,"ttlResolution");Ce(this,"ttlAutopurge");Ce(this,"updateAgeOnGet");Ce(this,"updateAgeOnHas");Ce(this,"allowStale");Ce(this,"noDisposeOnSet");Ce(this,"noUpdateTTL");Ce(this,"maxEntrySize");Ce(this,"sizeCalculation");Ce(this,"noDeleteOnFetchRejection");Ce(this,"noDeleteOnStaleGet");Ce(this,"allowStaleOnFetchAbort");Ce(this,"allowStaleOnFetchRejection");Ce(this,"ignoreFetchAbort");K(this,Ve,void 0);K(this,Bt,void 0);K(this,Ie,void 0);K(this,Se,void 0);K(this,H,void 0);K(this,lt,void 0);K(this,St,void 0);K(this,et,void 0);K(this,Be,void 0);K(this,qt,void 0);K(this,qe,void 0);K(this,Yt,void 0);K(this,Nt,void 0);K(this,wt,void 0);K(this,Ut,void 0);K(this,Yi,void 0);K(this,at,void 0);K(this,bn,()=>{});K(this,wi,()=>{});K(this,_s,()=>{});K(this,_t,()=>!1);K(this,yn,e=>{});K(this,er,(e,i,n)=>{});K(this,$s,(e,i,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});Ce(this,l5,"LRUCache");const{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:l,allowStale:a,dispose:u,disposeAfter:c,noDisposeOnSet:h,noUpdateTTL:f,maxSize:d=0,maxEntrySize:p=0,sizeCalculation:m,fetchMethod:g,noDeleteOnFetchRejection:O,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:k,allowStaleOnFetchAbort:w,ignoreFetchAbort:_}=e;if(i!==0&&!Xi(i))throw new TypeError("max option must be a nonnegative integer");const A=i?H1(i):Array;if(!A)throw new Error("invalid max value: "+i);if(U(this,Ft,i),U(this,vt,d),this.maxEntrySize=p||x(this,vt),this.sizeCalculation=m,this.sizeCalculation){if(!x(this,vt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(U(this,Jn,g),U(this,Yi,!!g),U(this,Ie,new Map),U(this,Se,new Array(i).fill(void 0)),U(this,H,new Array(i).fill(void 0)),U(this,lt,new A(i)),U(this,St,new A(i)),U(this,et,0),U(this,Be,0),U(this,qt,Uu.create(i)),U(this,Ve,0),U(this,Bt,0),typeof u=="function"&&U(this,zt,u),typeof c=="function"?(U(this,jt,c),U(this,qe,[])):(U(this,jt,void 0),U(this,qe,void 0)),U(this,Ut,!!x(this,zt)),U(this,at,!!x(this,jt)),this.noDisposeOnSet=!!h,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!O,this.allowStaleOnFetchRejection=!!k,this.allowStaleOnFetchAbort=!!w,this.ignoreFetchAbort=!!_,this.maxEntrySize!==0){if(x(this,vt)!==0&&!Xi(x(this,vt)))throw new TypeError("maxSize must be a positive integer if specified");if(!Xi(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Y(this,Ql,K1).call(this)}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!l,this.ttlResolution=Xi(r)||r===0?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Xi(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Y(this,ws,Hu).call(this)}if(x(this,Ft)===0&&this.ttl===0&&x(this,vt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!x(this,Ft)&&!x(this,vt)){const C="LRU_CACHE_UNBOUNDED";vC(C)&&(U1.add(C),G1("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",C,lh))}}static unsafeExposeInternals(e){return{starts:x(e,Nt),ttls:x(e,wt),sizes:x(e,Yt),keyMap:x(e,Ie),keyList:x(e,Se),valList:x(e,H),next:x(e,lt),prev:x(e,St),get head(){return x(e,et)},get tail(){return x(e,Be)},free:x(e,qt),isBackgroundFetch:i=>{var n;return Y(n=e,ge,ve).call(n,i)},backgroundFetch:(i,n,r,s)=>{var o;return Y(o=e,ir,jo).call(o,i,n,r,s)},moveToTail:i=>{var n;return Y(n=e,xn,Br).call(n,i)},indexes:i=>{var n;return Y(n=e,ai,Mi).call(n,i)},rindexes:i=>{var n;return Y(n=e,ui,Vi).call(n,i)},isStale:i=>{var n;return x(n=e,_t).call(n,i)}}}get max(){return x(this,Ft)}get maxSize(){return x(this,vt)}get calculatedSize(){return x(this,Bt)}get size(){return x(this,Ve)}get fetchMethod(){return x(this,Jn)}get dispose(){return x(this,zt)}get disposeAfter(){return x(this,jt)}getRemainingTTL(e){return x(this,Ie).has(e)?1/0:0}*entries(){for(const e of Y(this,ai,Mi).call(this))x(this,H)[e]!==void 0&&x(this,Se)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield[x(this,Se)[e],x(this,H)[e]])}*rentries(){for(const e of Y(this,ui,Vi).call(this))x(this,H)[e]!==void 0&&x(this,Se)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield[x(this,Se)[e],x(this,H)[e]])}*keys(){for(const e of Y(this,ai,Mi).call(this)){const i=x(this,Se)[e];i!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield i)}}*rkeys(){for(const e of Y(this,ui,Vi).call(this)){const i=x(this,Se)[e];i!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield i)}}*values(){for(const e of Y(this,ai,Mi).call(this))x(this,H)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield x(this,H)[e])}*rvalues(){for(const e of Y(this,ui,Vi).call(this))x(this,H)[e]!==void 0&&!Y(this,ge,ve).call(this,x(this,H)[e])&&(yield x(this,H)[e])}[Symbol.iterator](){return this.entries()}find(e,i={}){for(const n of Y(this,ai,Mi).call(this)){const r=x(this,H)[n],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;if(s!==void 0&&e(s,x(this,Se)[n],this))return this.get(x(this,Se)[n],i)}}forEach(e,i=this){for(const n of Y(this,ai,Mi).call(this)){const r=x(this,H)[n],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,Se)[n],this)}}rforEach(e,i=this){for(const n of Y(this,ui,Vi).call(this)){const r=x(this,H)[n],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,Se)[n],this)}}purgeStale(){let e=!1;for(const i of Y(this,ui,Vi).call(this,{allowStale:!0}))x(this,_t).call(this,i)&&(this.delete(x(this,Se)[i]),e=!0);return e}info(e){const i=x(this,Ie).get(e);if(i===void 0)return;const n=x(this,H)[i],r=Y(this,ge,ve).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;const s={value:r};if(x(this,wt)&&x(this,Nt)){const o=x(this,wt)[i],l=x(this,Nt)[i];if(o&&l){const a=o-(In.now()-l);s.ttl=a,s.start=Date.now()}}return x(this,Yt)&&(s.size=x(this,Yt)[i]),s}dump(){const e=[];for(const i of Y(this,ai,Mi).call(this,{allowStale:!0})){const n=x(this,Se)[i],r=x(this,H)[i],s=Y(this,ge,ve).call(this,r)?r.__staleWhileFetching:r;if(s===void 0||n===void 0)continue;const o={value:s};if(x(this,wt)&&x(this,Nt)){o.ttl=x(this,wt)[i];const l=In.now()-x(this,Nt)[i];o.start=Math.floor(Date.now()-l)}x(this,Yt)&&(o.size=x(this,Yt)[i]),e.unshift([n,o])}return e}load(e){this.clear();for(const[i,n]of e){if(n.start){const r=Date.now()-n.start;n.start=In.now()-r}this.set(i,n.value,n)}}set(e,i,n={}){var f,d,p,m,g;if(i===void 0)return this.delete(e),this;const{ttl:r=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:a}=n;let{noUpdateTTL:u=this.noUpdateTTL}=n;const c=x(this,$s).call(this,e,i,n.size||0,l);if(this.maxEntrySize&&c>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(e),this;let h=x(this,Ve)===0?void 0:x(this,Ie).get(e);if(h===void 0)h=x(this,Ve)===0?x(this,Be):x(this,qt).length!==0?x(this,qt).pop():x(this,Ve)===x(this,Ft)?Y(this,tr,zo).call(this,!1):x(this,Ve),x(this,Se)[h]=e,x(this,H)[h]=i,x(this,Ie).set(e,h),x(this,lt)[x(this,Be)]=h,x(this,St)[h]=x(this,Be),U(this,Be,h),Us(this,Ve)._++,x(this,er).call(this,h,c,a),a&&(a.set="add"),u=!1;else{Y(this,xn,Br).call(this,h);const O=x(this,H)[h];if(i!==O){if(x(this,Yi)&&Y(this,ge,ve).call(this,O)){O.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=O;y!==void 0&&!o&&(x(this,Ut)&&((f=x(this,zt))==null||f.call(this,y,e,"set")),x(this,at)&&((d=x(this,qe))==null||d.push([y,e,"set"])))}else o||(x(this,Ut)&&((p=x(this,zt))==null||p.call(this,O,e,"set")),x(this,at)&&((m=x(this,qe))==null||m.push([O,e,"set"])));if(x(this,yn).call(this,h),x(this,er).call(this,h,c,a),x(this,H)[h]=i,a){a.set="replace";const y=O&&Y(this,ge,ve).call(this,O)?O.__staleWhileFetching:O;y!==void 0&&(a.oldValue=y)}}else a&&(a.set="update")}if(r!==0&&!x(this,wt)&&Y(this,ws,Hu).call(this),x(this,wt)&&(u||x(this,_s).call(this,h,r,s),a&&x(this,wi).call(this,a,h)),!o&&x(this,at)&&x(this,qe)){const O=x(this,qe);let y;for(;y=O==null?void 0:O.shift();)(g=x(this,jt))==null||g.call(this,...y)}return this}pop(){var e;try{for(;x(this,Ve);){const i=x(this,H)[x(this,et)];if(Y(this,tr,zo).call(this,!0),Y(this,ge,ve).call(this,i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(x(this,at)&&x(this,qe)){const i=x(this,qe);let n;for(;n=i==null?void 0:i.shift();)(e=x(this,jt))==null||e.call(this,...n)}}}has(e,i={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=i,s=x(this,Ie).get(e);if(s!==void 0){const o=x(this,H)[s];if(Y(this,ge,ve).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(x(this,_t).call(this,s))r&&(r.has="stale",x(this,wi).call(this,r,s));else return n&&x(this,bn).call(this,s),r&&(r.has="hit",x(this,wi).call(this,r,s)),!0}else r&&(r.has="miss");return!1}peek(e,i={}){const{allowStale:n=this.allowStale}=i,r=x(this,Ie).get(e);if(r===void 0||!n&&x(this,_t).call(this,r))return;const s=x(this,H)[r];return Y(this,ge,ve).call(this,s)?s.__staleWhileFetching:s}async fetch(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:m,forceRefresh:g=!1,status:O,signal:y}=i;if(!x(this,Yi))return O&&(O.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,status:O});const k={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:l,size:a,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:p,ignoreFetchAbort:d,status:O,signal:y};let w=x(this,Ie).get(e);if(w===void 0){O&&(O.fetch="miss");const _=Y(this,ir,jo).call(this,e,w,k,m);return _.__returned=_}else{const _=x(this,H)[w];if(Y(this,ge,ve).call(this,_)){const M=n&&_.__staleWhileFetching!==void 0;return O&&(O.fetch="inflight",M&&(O.returnedStale=!0)),M?_.__staleWhileFetching:_.__returned=_}const A=x(this,_t).call(this,w);if(!g&&!A)return O&&(O.fetch="hit"),Y(this,xn,Br).call(this,w),r&&x(this,bn).call(this,w),O&&x(this,wi).call(this,O,w),_;const C=Y(this,ir,jo).call(this,e,w,k,m),R=C.__staleWhileFetching!==void 0&&n;return O&&(O.fetch=A?"stale":"refresh",R&&A&&(O.returnedStale=!0)),R?C.__staleWhileFetching:C.__returned=C}}get(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=i,l=x(this,Ie).get(e);if(l!==void 0){const a=x(this,H)[l],u=Y(this,ge,ve).call(this,a);return o&&x(this,wi).call(this,o,l),x(this,_t).call(this,l)?(o&&(o.get="stale"),u?(o&&n&&a.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?a.__staleWhileFetching:void 0):(s||this.delete(e),o&&n&&(o.returnedStale=!0),n?a:void 0)):(o&&(o.get="hit"),u?a.__staleWhileFetching:(Y(this,xn,Br).call(this,l),r&&x(this,bn).call(this,l),a))}else o&&(o.get="miss")}delete(e){var n,r,s,o;let i=!1;if(x(this,Ve)!==0){const l=x(this,Ie).get(e);if(l!==void 0)if(i=!0,x(this,Ve)===1)this.clear();else{x(this,yn).call(this,l);const a=x(this,H)[l];if(Y(this,ge,ve).call(this,a)?a.__abortController.abort(new Error("deleted")):(x(this,Ut)||x(this,at))&&(x(this,Ut)&&((n=x(this,zt))==null||n.call(this,a,e,"delete")),x(this,at)&&((r=x(this,qe))==null||r.push([a,e,"delete"]))),x(this,Ie).delete(e),x(this,Se)[l]=void 0,x(this,H)[l]=void 0,l===x(this,Be))U(this,Be,x(this,St)[l]);else if(l===x(this,et))U(this,et,x(this,lt)[l]);else{const u=x(this,St)[l];x(this,lt)[u]=x(this,lt)[l];const c=x(this,lt)[l];x(this,St)[c]=x(this,St)[l]}Us(this,Ve)._--,x(this,qt).push(l)}}if(x(this,at)&&((s=x(this,qe))!=null&&s.length)){const l=x(this,qe);let a;for(;a=l==null?void 0:l.shift();)(o=x(this,jt))==null||o.call(this,...a)}return i}clear(){var e,i,n;for(const r of Y(this,ui,Vi).call(this,{allowStale:!0})){const s=x(this,H)[r];if(Y(this,ge,ve).call(this,s))s.__abortController.abort(new Error("deleted"));else{const o=x(this,Se)[r];x(this,Ut)&&((e=x(this,zt))==null||e.call(this,s,o,"delete")),x(this,at)&&((i=x(this,qe))==null||i.push([s,o,"delete"]))}}if(x(this,Ie).clear(),x(this,H).fill(void 0),x(this,Se).fill(void 0),x(this,wt)&&x(this,Nt)&&(x(this,wt).fill(0),x(this,Nt).fill(0)),x(this,Yt)&&x(this,Yt).fill(0),U(this,et,0),U(this,Be,0),x(this,qt).length=0,U(this,Bt,0),U(this,Ve,0),x(this,at)&&x(this,qe)){const r=x(this,qe);let s;for(;s=r==null?void 0:r.shift();)(n=x(this,jt))==null||n.call(this,...s)}}};l5=Symbol.toStringTag,Ft=new WeakMap,vt=new WeakMap,zt=new WeakMap,jt=new WeakMap,Jn=new WeakMap,Ve=new WeakMap,Bt=new WeakMap,Ie=new WeakMap,Se=new WeakMap,H=new WeakMap,lt=new WeakMap,St=new WeakMap,et=new WeakMap,Be=new WeakMap,qt=new WeakMap,qe=new WeakMap,Yt=new WeakMap,Nt=new WeakMap,wt=new WeakMap,Ut=new WeakMap,Yi=new WeakMap,at=new WeakMap,ws=new WeakSet,Hu=function(){const e=new Fo(x(this,Ft)),i=new Fo(x(this,Ft));U(this,wt,e),U(this,Nt,i),U(this,_s,(s,o,l=In.now())=>{if(i[s]=o!==0?l:0,e[s]=o,o!==0&&this.ttlAutopurge){const a=setTimeout(()=>{x(this,_t).call(this,s)&&this.delete(x(this,Se)[s])},o+1);a.unref&&a.unref()}}),U(this,bn,s=>{i[s]=e[s]!==0?In.now():0}),U(this,wi,(s,o)=>{if(e[o]){const l=e[o],a=i[o];if(!l||!a)return;s.ttl=l,s.start=a,s.now=n||r();const u=s.now-a;s.remainingTTL=l-u}});let n=0;const r=()=>{const s=In.now();if(this.ttlResolution>0){n=s;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{const o=x(this,Ie).get(s);if(o===void 0)return 0;const l=e[o],a=i[o];if(!l||!a)return 1/0;const u=(n||r())-a;return l-u},U(this,_t,s=>{const o=i[s],l=e[s];return!!l&&!!o&&(n||r())-o>l})},bn=new WeakMap,wi=new WeakMap,_s=new WeakMap,_t=new WeakMap,Ql=new WeakSet,K1=function(){const e=new Fo(x(this,Ft));U(this,Bt,0),U(this,Yt,e),U(this,yn,i=>{U(this,Bt,x(this,Bt)-e[i]),e[i]=0}),U(this,$s,(i,n,r,s)=>{if(Y(this,ge,ve).call(this,n))return 0;if(!Xi(r))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(n,i),!Xi(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),U(this,er,(i,n,r)=>{if(e[i]=n,x(this,vt)){const s=x(this,vt)-e[i];for(;x(this,Bt)>s;)Y(this,tr,zo).call(this,!0)}U(this,Bt,x(this,Bt)+e[i]),r&&(r.entrySize=n,r.totalCalculatedSize=x(this,Bt))})},yn=new WeakMap,er=new WeakMap,$s=new WeakMap,ai=new WeakSet,Mi=function*({allowStale:e=this.allowStale}={}){if(x(this,Ve))for(let i=x(this,Be);!(!Y(this,Ps,Ku).call(this,i)||((e||!x(this,_t).call(this,i))&&(yield i),i===x(this,et)));)i=x(this,St)[i]},ui=new WeakSet,Vi=function*({allowStale:e=this.allowStale}={}){if(x(this,Ve))for(let i=x(this,et);!(!Y(this,Ps,Ku).call(this,i)||((e||!x(this,_t).call(this,i))&&(yield i),i===x(this,Be)));)i=x(this,lt)[i]},Ps=new WeakSet,Ku=function(e){return e!==void 0&&x(this,Ie).get(x(this,Se)[e])===e},tr=new WeakSet,zo=function(e){var s,o;const i=x(this,et),n=x(this,Se)[i],r=x(this,H)[i];return x(this,Yi)&&Y(this,ge,ve).call(this,r)?r.__abortController.abort(new Error("evicted")):(x(this,Ut)||x(this,at))&&(x(this,Ut)&&((s=x(this,zt))==null||s.call(this,r,n,"evict")),x(this,at)&&((o=x(this,qe))==null||o.push([r,n,"evict"]))),x(this,yn).call(this,i),e&&(x(this,Se)[i]=void 0,x(this,H)[i]=void 0,x(this,qt).push(i)),x(this,Ve)===1?(U(this,et,U(this,Be,0)),x(this,qt).length=0):U(this,et,x(this,lt)[i]),x(this,Ie).delete(n),Us(this,Ve)._--,i},ir=new WeakSet,jo=function(e,i,n,r){const s=i===void 0?void 0:x(this,H)[i];if(Y(this,ge,ve).call(this,s))return s;const o=new $l,{signal:l}=n;l==null||l.addEventListener("abort",()=>o.abort(l.reason),{signal:o.signal});const a={signal:o.signal,options:n,context:r},u=(m,g=!1)=>{const{aborted:O}=o.signal,y=n.ignoreFetchAbort&&m!==void 0;if(n.status&&(O&&!g?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,y&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),O&&!y&&!g)return h(o.signal.reason);const k=d;return x(this,H)[i]===d&&(m===void 0?k.__staleWhileFetching?x(this,H)[i]=k.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,m,a.options))),m},c=m=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=m),h(m)),h=m=>{const{aborted:g}=o.signal,O=g&&n.allowStaleOnFetchAbort,y=O||n.allowStaleOnFetchRejection,k=y||n.noDeleteOnFetchRejection,w=d;if(x(this,H)[i]===d&&(!k||w.__staleWhileFetching===void 0?this.delete(e):O||(x(this,H)[i]=w.__staleWhileFetching)),y)return n.status&&w.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),w.__staleWhileFetching;if(w.__returned===w)throw m},f=(m,g)=>{var y;const O=(y=x(this,Jn))==null?void 0:y.call(this,e,s,a);O&&O instanceof Promise&&O.then(k=>m(k===void 0?void 0:k),g),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(m(void 0),n.allowStaleOnFetchAbort&&(m=k=>u(k,!0)))})};n.status&&(n.status.fetchDispatched=!0);const d=new Promise(f).then(u,c),p=Object.assign(d,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return i===void 0?(this.set(e,p,{...a.options,status:void 0}),i=x(this,Ie).get(e)):x(this,H)[i]=p,p},ge=new WeakSet,ve=function(e){if(!x(this,Yi))return!1;const i=e;return!!i&&i instanceof Promise&&i.hasOwnProperty("__staleWhileFetching")&&i.__abortController instanceof $l},Cs=new WeakSet,Ju=function(e,i){x(this,St)[i]=e,x(this,lt)[e]=i},xn=new WeakSet,Br=function(e){e!==x(this,Be)&&(e===x(this,et)?U(this,et,x(this,lt)[e]):Y(this,Cs,Ju).call(this,x(this,St)[e],x(this,lt)[e]),Y(this,Cs,Ju).call(this,x(this,Be),e),U(this,Be,e))};let Gu=lh;function SC(t,e){for(var i=0;in[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const wC=(t,e)=>{const i=ne("editorId"),{noImgZoomIn:n}=t,r=ic(()=>{const s=document.querySelectorAll(`#${i}-preview img:not(.not-zoom)`);s.length!==0&&f_(s,{background:"#00000073"})});Ee(()=>{r()}),J([e,Ni(t.setting,"preview")],()=>{!n&&t.setting.preview&&r()})},_C=(t,e,i)=>{const n=ne("editorId"),r=ne("usedLanguageText"),s=()=>{document.querySelectorAll(`#${n} .${S}-preview .${S}-code`).forEach(a=>{let u=-1;const c=a.querySelector(`.${S}-copy-button`);c&&(c.onclick=h=>{h.preventDefault(),clearTimeout(u);const d=(a.querySelector("input:checked + pre code")||a.querySelector("pre code")).textContent,p=k_(t.formatCopiedText(d)),{text:m,successTips:g,failTips:O}=r.value.copyCode,y=p?g:O;c.dataset.isIcon?c.dataset.tips=y:c.innerHTML=y,u=window.setTimeout(()=>{c.dataset.isIcon?c.dataset.tips=m:c.innerHTML=m},1500)})})},o=()=>{bi(s)},l=a=>{a&&bi(s)};J([e,i],o),J(()=>t.setting.preview,l),J(()=>t.setting.htmlPreview,l),J(()=>r.value,s),Ee(s)},$C=t=>{const e=ne("highlight"),i=kn(ze.editorExtensions.highlight.instance);return Ee(()=>{t.noHighlight||i.value||(Ot("link",{...e.value.css,rel:"stylesheet",id:`${S}-hlCss`}),Ot("script",{...e.value.js,id:`${S}-hljs`,onload(){i.value=window.hljs}},"hljs"))}),J(()=>e.value.css,()=>{Jb("link",{...e.value.css,rel:"stylesheet",id:`${S}-hlCss`})}),i},PC=t=>{const e=ne("theme"),{editorExtensions:i,editorExtensionsAttrs:n,mermaidConfig:r}=ze,s=kn(i.mermaid.instance),o=kn(-1),l=new Gu({max:1e3,ttl:6e5}),a=()=>{const c=s.value;!t.noMermaid&&c&&(c.initialize(r({startOnLoad:!1,theme:e.value==="dark"?"dark":"default"})),o.value=o.value+1)};return J(()=>e.value,()=>{l.clear(),a()}),Ee(()=>{var c,h,f;if(t.noMermaid||(c=s.value)!=null&&c.instance)return;const d=i.mermaid.js;/\.mjs/.test(d)?(Ot("link",{...(h=n.mermaid)==null?void 0:h.js,rel:"modulepreload",href:d,id:`${S}-mermaid-m`}),import(d).then(p=>{s.value=p.default,a()})):Ot("script",{...(f=n.mermaid)==null?void 0:f.js,src:d,id:`${S}-mermaid`,onload(){s.value=window.mermaid,a()}},"mermaid")}),{mermaidRef:s,reRenderRef:o,replaceMermaid:()=>{bi(()=>{if(!t.noMermaid&&s.value){const c=document.querySelectorAll(`div.${S}-mermaid`),h=document.createElement("div");h.style.width=document.body.offsetWidth+"px",h.style.height=document.body.offsetHeight+"px",h.style.position="fixed",h.style.zIndex="-10000",h.style.top="-10000";let f=c.length;f>0&&document.body.appendChild(h),c.forEach(async d=>{let p=l.get(d.innerText);if(!p){const g=za(),O=s.value.renderAsync||s.value.render;let y="";try{y=await O(g,d.innerText,h)}catch{}p=await t.sanitizeMermaid(typeof y=="string"?y:y.svg),l.set(d.innerText,p)}const m=document.createElement("p");m.className=`${S}-mermaid`,m.setAttribute("data-processed",""),m.innerHTML=p,d.dataset.line!==void 0&&(m.dataset.line=d.dataset.line),d.replaceWith(m),--f===0&&h.remove()})}})}}},CC=t=>{const e=kn(ze.editorExtensions.katex.instance);return Ee(()=>{if(t.noKatex||e.value)return;const{editorExtensions:i}=ze;Ot("script",{src:i.katex.js,id:`${S}-katex`,onload(){e.value=window.katex}},"katex"),Ot("link",{rel:"stylesheet",href:i.katex.css,id:`${S}-katexCss`})}),e},QC=(t,e)=>{const i=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(n,r,s,o,l)=>{const a=n[r],u=a.content.trim();if(a.info==="mermaid"){let c;return n[r].map&&n[r].level===0&&(c=n[r].map[0],n[r].attrSet("data-line",String(c))),`
    ${u}
    `}return i(n,r,s,o,l)}},AC=QC,Pl=(t,e)=>{const i=t.attrs?t.attrs.slice():[];return e.forEach(n=>{const r=t.attrIndex(n[0]);r<0?i.push(n):(i[r]=i[r].slice(),i[r][1]+=` ${n[1]}`)}),i},Fp=(t,e)=>{let i=!0,n=!0;const r=t.posMax,s=e>0?t.src.charCodeAt(e-1):-1,o=e+1<=r?t.src.charCodeAt(e+1):-1;return(s===32||s===9||o>=48&&o<=57)&&(n=!1),(o===32||o===9)&&(i=!1),{can_open:i,can_close:n}},TC=(t,e)=>{let i,n,r,s;if(t.src[t.pos]!=="$")return!1;if(r=Fp(t,t.pos),!r.can_open)return e||(t.pending+="$"),t.pos+=1,!0;const o=t.pos+1;for(i=o;(i=t.src.indexOf("$",i))!==-1;){for(s=i-1;t.src[s]==="\\";)s-=1;if((i-s)%2==1)break;i+=1}return i===-1?(e||(t.pending+="$"),t.pos=o,!0):i-o===0?(e||(t.pending+="$$"),t.pos=o+1,!0):(r=Fp(t,i),r.can_close?(e||(n=t.push("math_inline","math",0),n.markup="$",n.content=t.src.slice(o,i)),t.pos=i+1,!0):(e||(t.pending+="$"),t.pos=o,!0))},EC=(t,e,i,n)=>{let r,s,o,l,a=!1,u=t.bMarks[e]+t.tShift[e],c=t.eMarks[e];if(u+2>c||t.src.slice(u,u+2)!=="$$")return!1;if(u+=2,r=t.src.slice(u,c),n)return!0;for(r.trim().slice(-2)==="$$"&&(r=r.trim().slice(0,-2),a=!0),o=e;!a&&(o++,!(o>=i||(u=t.bMarks[o]+t.tShift[o],c=t.eMarks[o],u{const i=(r,s,o,l,a)=>{const u=r[s],c={attrs:Pl(u,[["class",`${S}-katex-inline`]])};if(e.value){const h=e.value.renderToString(u.content,{throwOnError:!1});return`${h}`}else return`${u.content}`},n=(r,s,o,l,a)=>{const u=r[s],c={attrs:Pl(u,[["class",`${S}-katex-block`]])};if(e.value){const h=e.value.renderToString(u.content,{throwOnError:!1,displayMode:!0});return`

    ${h}

    `}else return`

    ${u.content}

    `};t.inline.ruler.after("escape","math_inline",TC),t.block.ruler.after("blockquote","math_block",EC,{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=i,t.renderer.rules.math_block=n},DC=ZC,RC=(t,e)=>{e=e||{};const i=3,n=e.marker||"!",r=n.charCodeAt(0),s=n.length;let o="",l="";const a=(c,h,f,d,p)=>{const m=c[h];return m.type==="admonition_open"?c[h].attrPush(["class",`${S}-admonition ${S}-admonition-${m.info}`]):m.type==="admonition_title_open"&&c[h].attrPush(["class",`${S}-admonition-title`]),p.renderToken(c,h,f)},u=c=>{const h=c.trim().split(" ",2);l="",o=h[0],h.length>1&&(l=c.substring(o.length+2))};t.block.ruler.before("code","admonition",(c,h,f,d)=>{let p,m,g,O=!1,y=c.bMarks[h]+c.tShift[h],k=c.eMarks[h];if(r!==c.src.charCodeAt(y))return!1;for(p=y+1;p<=k&&n[(p-y)%s]===c.src[p];p++);const w=Math.floor((p-y)/s);if(w!==i)return!1;p-=(p-y)%s;const _=c.src.slice(y,p),A=c.src.slice(p,k);if(u(A),d)return!0;for(m=h;m++,!(m>=f||(y=c.bMarks[m]+c.tShift[m],k=c.eMarks[m],y=4)){for(p=y+1;p<=k&&n[(p-y)%s]===c.src[p];p++);if(!(Math.floor((p-y)/s){t.renderer.rules.heading_open=(i,n)=>{var r;const s=i[n],o=((r=i[n+1].children)==null?void 0:r.reduce((a,u)=>a+(["text","code_inline"].includes(u.type)&&u.content||""),""))||"",l=s.markup.length;return e.headsRef.value.push({text:o,level:l}),s.map&&s.level===0&&s.attrSet("id",e.mdHeadingId(o,l,e.headsRef.value.length)),t.renderer.renderToken(i,n,e)},t.renderer.rules.heading_close=(i,n,r,s,o)=>o.renderToken(i,n,r)},XC=LC,MC=(t,e)=>{if(typeof e[t]=="string")return e[t];const i=``;switch(ze.iconfontType){case"svg":return``;default:return i}},VC=MC,WC=(t,e)=>{const i=t.renderer.rules.fence,n=t.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,s=/::close/,o=h=>h.info?n(h.info).trim():"",l=h=>{const f=o(h),[d=null,p=""]=(r.exec(f)||[]).slice(1);return[d,p]},a=h=>{const f=o(h);return f?f.split(/(\s+)/g)[0]:""},u=h=>{const f=s.test(h.info),d=!f&&h.content.trim().split(` `).length{var g;if(h[f].hidden)return"";const O=(g=e.usedLanguageTextRef.value)==null?void 0:g.copyCode.text,y=e.customIconRef.value.copy||O,k=!!e.customIconRef.value.copy,w=`${VC("collapse-tips",e.customIconRef.value)}`,[_]=l(h[f]);if(_===null){const{open:te,tagContainer:pe,tagHeader:le}=u(h[f]),me=[["class",`${S}-code`]];te&&me.push(["open",""]);const Te={attrs:Pl(h[f],me)};h[f].info=h[f].info.replace(s,"");const De=i(h,f,d,p,m);return`<${pe} ${m.renderAttrs(Te)}> <${le} class="${S}-code-head"> @@ -78,7 +78,7 @@ See: https://github.com/francoischalifour/medium-zoom`)}},c_=function(e){var i=d ${W==="details"?w:""} ${X}`};t.renderer.rules.fence=c,t.renderer.rules.code_block=c},FC=WC;function zC(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ec={exports:{}},Ae={},tc={exports:{}},Qn={};function J1(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function jC(t,e,i){}function BC(t,e,i){}var qC=/javascript\s*\:/img;function YC(t,e){return qC.test(e)?"":e}Qn.whiteList=J1();Qn.getDefaultWhiteList=J1;Qn.onAttr=jC;Qn.onIgnoreAttr=BC;Qn.safeAttrValue=YC;var NC={indexOf:function(t,e){var i,n;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,n=t.length;i/g,u6=/"/g,c6=/"/g,h6=/&#([a-zA-Z0-9]*);?/gim,f6=/:?/gim,d6=/&newline;?/gim,$o=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,j0=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,B0=/u\s*r\s*l\s*\(.*/gi;function rb(t){return t.replace(u6,""")}function sb(t){return t.replace(c6,'"')}function ob(t){return t.replace(h6,function(i,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function lb(t){return t.replace(f6,":").replace(d6," ")}function ab(t){for(var e="",i=0,n=t.length;i",n);if(r===-1)break;i=r+3}return e}function g6(t){var e=t.split("");return e=e.filter(function(i){var n=i.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),e.join("")}Ae.whiteList=tb();Ae.getDefaultWhiteList=tb;Ae.onTag=i6;Ae.onIgnoreTag=n6;Ae.onTagAttr=r6;Ae.onIgnoreTagAttr=s6;Ae.safeAttrValue=o6;Ae.escapeHtml=nb;Ae.escapeQuote=rb;Ae.unescapeQuote=sb;Ae.escapeHtmlEntities=ob;Ae.escapeDangerHtml5Entities=lb;Ae.clearNonPrintableCharacter=ab;Ae.friendlyAttrValue=ub;Ae.escapeAttrValue=cb;Ae.onIgnoreTagStripAll=p6;Ae.StripTagBody=m6;Ae.stripCommentTag=O6;Ae.stripBlankChar=g6;Ae.attributeWrapSign='"';Ae.cssFilter=ib;Ae.getDefaultCSSWhiteList=t6;var Nl={},ji=oh;function b6(t){var e=ji.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=ji.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function y6(t){return t.slice(0,2)===""||l===a-1){n+=i(t.slice(r,s)),c=t.slice(s,l+1),u=b6(c),n+=e(s,n.length,u,c,y6(c)),r=l+1,s=!1;continue}if(h==='"'||h==="'")for(var f=1,d=t.charAt(l-f);d.trim()===""||d==="=";){if(d==="="){o=h;continue e}d=t.charAt(l-++f)}}else if(h===o){o=!1;continue}}return r0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function $6(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function q0(t){return $6(t)?t.substr(1,t.length-2):t}Nl.parseTag=x6;Nl.parseAttr=v6;var P6=sh.FilterCSS,At=Ae,hb=Nl,C6=hb.parseTag,Q6=hb.parseAttr,Bo=oh;function Po(t){return t==null}function A6(t){var e=Bo.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Bo.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Bo.trim(t.slice(0,-1))),{html:t,closing:i}}function T6(t){var e={};for(var i in t)e[i]=t[i];return e}function E6(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(n){return n.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function fb(t){t=T6(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=At.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=E6(t.whiteList||t.allowList):t.whiteList=At.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":At.attributeWrapSign,t.onTag=t.onTag||At.onTag,t.onTagAttr=t.onTagAttr||At.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||At.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||At.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||At.safeAttrValue,t.escapeHtml=t.escapeHtml||At.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new P6(t.css))}fb.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,n=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,l=i.onIgnoreTagAttr,a=i.safeAttrValue,u=i.escapeHtml,c=e.attributeWrapSign,h=e.cssFilter;i.stripBlankChar&&(t=At.stripBlankChar(t)),i.allowCommentTag||(t=At.stripCommentTag(t));var f=!1;i.stripIgnoreTagBody&&(f=At.StripTagBody(i.stripIgnoreTagBody,s),s=f.onIgnoreTag);var d=C6(t,function(p,m,g,O,y){var k={sourcePosition:p,position:m,isClosing:y,isWhite:Object.prototype.hasOwnProperty.call(n,g)},w=r(g,O,k);if(!Po(w))return w;if(k.isWhite){if(k.isClosing)return"";var _=A6(O),A=n[g],C=Q6(_.html,function($,R){var M=Bo.indexOf(A,$)!==-1,X=o(g,$,R,M);return Po(X)?M?(R=a(g,$,R,h),R?$+"="+c+R+c:$):(X=l(g,$,R,M),Po(X)?void 0:X):X});return O="<"+g,C&&(O+=" "+C),_.closing&&(O+=" /"),O+=">",O}else return w=s(g,O,k),Po(w)?u(O):w},u);return f&&(d=f.remove(d)),d};var Z6=fb;(function(t,e){var i=Ae,n=Nl,r=Z6;function s(l,a){var u=new r(a);return u.process(l)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,function(){for(var l in i)e[l]=i[l];for(var a in n)e[a]=n[a]}(),typeof window<"u"&&(window.filterXSS=t.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(ec,ec.exports);var ts=ec.exports;const D6=zC(ts),R6=SC({__proto__:null,default:D6},[ts]),Y0={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},I6=(t,e)=>{const{extendedWhiteList:i={},xss:n={}}=e;let r;if(typeof n=="function")r=new ts.FilterXSS(n(R6));else{const s=ts.getDefaultWhiteList();[...Object.keys(i),...Object.keys(Y0)].forEach(l=>{const a=s[l]||[],u=Y0[l]||[],c=i[l]||[];s[l]=[...new Set([...a,...u,...c])]}),r=new ts.FilterXSS({whiteList:s,...n})}t.core.ruler.after("linkify","xss",s=>{for(let o=0;o{u.type==="html_inline"&&(u.content=r.process(u.content))});break}}}})},L6=I6,X6=t=>{t.core.ruler.push("init-line-number",e=>(e.tokens.forEach(i=>{i.map&&(i.attrs||(i.attrs=[]),i.attrs.push(["data-line",i.map[0].toString()]))}),!0))},M6=(t,e)=>{const{editorConfig:i,markdownItConfig:n,markdownItPlugins:r}=ze,s=ne("editorId"),o=ne("language"),l=ne("usedLanguageText"),a=ne("showCodeRowNumber"),u=ne("theme"),c=ne("customIcon"),h=de([]),f=$C(t),d=CC(t),{reRenderRef:p,replaceMermaid:m}=PC(t),g=Xt({html:!0,breaks:!0,linkify:!0});n(g,{editorId:s});const O=[{type:"image",plugin:aC,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:IC,options:{}},{type:"taskList",plugin:kC,options:{}},{type:"heading",plugin:XC,options:{mdHeadingId:t.mdHeadingId,headsRef:h}},{type:"code",plugin:FC,options:{editorId:s,usedLanguageTextRef:l,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,customIconRef:c}},{type:"xss",plugin:L6,options:{}}];t.noKatex||O.push({type:"katex",plugin:DC,options:{katexRef:d}}),t.noMermaid||O.push({type:"mermaid",plugin:AC,options:{themeRef:u}}),r(O,{editorId:s}).forEach($=>{g.use($.plugin,$.options)});const y=g.options.highlight;g.set({highlight:($,R,M)=>{if(y){const L=y($,R,M);if(L)return L}let X;!t.noHighlight&&f.value?f.value.getLanguage(R)?X=f.value.highlight($,{language:R,ignoreIllegals:!0}).value:X=f.value.highlightAuto($).value:X=g.utils.escapeHtml($);const Z=a?iy(X.replace(/^\n+|\n+$/g,"")):`${X.replace(/^\n+|\n+$/g,"")}`;return`
    ${Z}
    `}}),X6(g);const k=de(`_article-key_${za()}`),w=de(t.sanitize(g.render(t.modelValue))),_=()=>{I.emit(s,Ao,w.value),t.onHtmlChanged(w.value),t.onGetCatalog(h.value),I.emit(s,To,h.value),m()};Ee(_);const A=()=>{h.value=[],w.value=t.sanitize(g.render(t.modelValue)),_()},C=dt(()=>(t.noKatex||d.value)&&(t.noHighlight||f.value));return J([Ni(t,"modelValue"),C,p,o],ic(A,e?0:i.renderDelay)),J(()=>t.setting.preview,()=>{t.setting.preview&&bi(()=>{I.emit(s,To,h.value)})}),Ee(()=>{I.on(s,{name:gp,callback(){I.emit(s,To,h.value)}}),I.on(s,{name:rc,callback:()=>{k.value=`_article-key_${za()}`,A()}})}),{html:w,key:k}},V6=M6,db={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:t=>t},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:t=>t},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number}},W6={...db,updateModelValue:{type:Function,default:()=>{}},onChange:{type:Function,default:()=>{}},placeholder:{type:String,default:""},scrollAuto:{type:Boolean},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function,default:()=>{}},onFocus:{type:Function,default:()=>{}},noPrettier:{type:Boolean},completions:{type:Array},catalogVisible:{type:Boolean},theme:{type:String,default:"light"},onInput:{type:Function},onDrop:{type:Function,default:()=>{}},inputBoxWitdh:{type:String},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},pb=Qe({name:"ContentPreview",props:db,setup(t){const e=ne("editorId"),i=ne("previewTheme"),n=ne("showCodeRowNumber"),{html:r,key:s}=V6(t,t.previewOnly);return _C(t,r,s),wC(t,r),()=>v(Al,null,[t.setting.preview&&v("div",{id:`${e}-preview-wrapper`,class:`${S}-preview-wrapper`,key:"content-preview-wrapper"},[v("div",{key:s.value,id:`${e}-preview`,class:[`${S}-preview`,`${i==null?void 0:i.value}-theme`,n&&`${S}-scrn`],innerHTML:r.value},null)]),!t.previewOnly&&t.setting.htmlPreview&&v("div",{id:`${e}-html-wrapper`,class:`${S}-preview-wrapper`,key:"html-preview-wrapper"},[v("div",{class:`${S}-html`},[r.value])])])}}),F6=(t,e)=>{const{editorId:i}=t,n=ct({buildFinished:!1,html:""});J(()=>t.modelValue,()=>{n.buildFinished=!1}),Ee(()=>{I.on(i,{name:Ao,callback(r){n.buildFinished=!0,n.html=r}}),I.on(i,{name:Tl,callback(){const r=new Promise(s=>{if(n.buildFinished)s(n.html);else{const o=l=>{s(l),I.remove(i,Ao,o)};I.on(i,{name:Ao,callback:o})}});t.onSave?t.onSave(t.modelValue,r):e.emit("onSave",t.modelValue,r)}})})},mb=t=>{const{editorId:e}=t,i=ze.editorExtensions.highlight,n=ze.editorExtensionsAttrs.highlight;vi("editorId",e),vi("theme",dt(()=>t.theme)),vi("language",dt(()=>t.language)),vi("highlight",dt(()=>{const{js:s}=i,o={...ja,...i.css},{js:l,css:a={}}=n||{},u=t.codeStyleReverse&&t.codeStyleReverseList.includes(t.previewTheme)?"dark":t.theme,c=o[t.codeTheme]?o[t.codeTheme][u]:ja.atom[u],h=o[t.codeTheme]&&a[t.codeTheme]?a[t.codeTheme][u]:a.atom?a.atom[u]:{};return{js:{src:s,...l},css:{href:c,...h}}})),vi("showCodeRowNumber",t.showCodeRowNumber);const r=dt(()=>{const s={...jh,...ze.editorConfig.languageUserDefined};return hp(Mr(jh["en-US"]),s[t.language]||{})});vi("usedLanguageText",r),vi("previewTheme",dt(()=>t.previewTheme)),vi("customIcon",dt(()=>t.customIcon))},z6=t=>{mb(t),vi("tabWidth",t.tabWidth)},Ob=t=>{Ee(()=>{const{editorExtensions:e,editorExtensionsAttrs:i,iconfontType:n}=ze;t.noIconfont||(n==="svg"?Ot("script",{...i.iconfont,src:e.iconfont,id:`${S}-icon`}):Ot("link",{...i.iconfontClass,rel:"stylesheet",href:e.iconfontClass,id:`${S}-icon-class`}))})},j6=t=>{const{noPrettier:e,noUploadImg:i}=t,{editorExtensions:n,editorExtensionsAttrs:r}=ze,s=e||n.prettier.prettierInstance,o=e||n.prettier.parserMarkdownInstance,l=i||n.cropper.instance;Ee(()=>{if(!l){const{js:a={},css:u={}}=r.cropper||{};Ot("link",{...u,rel:"stylesheet",href:n.cropper.css,id:`${S}-cropperCss`}),Ot("script",{...a,src:n.cropper.js,id:`${S}-cropper`})}if(!s){const{standaloneJs:a={}}=r.prettier||{};Ot("script",{...a,src:n.prettier.standaloneJs,id:`${S}-prettier`})}if(!o){const{parserMarkdownJs:a={}}=r.prettier||{};Ot("script",{...a,src:n.prettier.parserMarkdownJs,id:`${S}-prettierMD`})}}),Ob(t)},B6=(t,e)=>{const{editorId:i}=t;Ee(()=>{I.on(i,{name:Cn,callback:n=>{t.onError instanceof Function?t.onError(n):e.emit("onError",n)}})})},q6=(t,e)=>{const{editorId:i}=t,n=ct({pageFullscreen:t.pageFullscreen,fullscreen:!1,preview:t.preview,htmlPreview:t.preview?!1:t.htmlPreview,previewOnly:!1}),r=(l,a)=>{n[l]=a===void 0?!n[l]:a,l==="preview"?(n.htmlPreview=!1,n.previewOnly=!1):l==="htmlPreview"?(n.preview=!1,n.previewOnly=!1):l==="previewOnly"&&!n.preview&&!n.htmlPreview&&(n.preview=!0)};let s="";const o=()=>{n.pageFullscreen||n.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};return J(()=>[n.pageFullscreen,n.fullscreen],o),Ee(()=>{I.on(i,{name:El,callback(l,a){const u=c=>{I.emit(i,fe,"image",{desc:"",urls:c}),a&&a()};t.onUploadImg?t.onUploadImg(l,u):e.emit("onUploadImg",l,u)}}),s=document.body.style.overflow,o()}),[n,r]},Y6=t=>{const{editorId:e}=t,i=de(!1);return Ee(()=>{I.on(e,{name:nc,callback:r=>{r===void 0?i.value=!i.value:i.value=r}})}),dt(()=>!t.toolbarsExclude.includes("catalog")&&t.toolbars.includes("catalog")&&i.value)},N6=(t,e,i,n,r,s)=>{const{editorId:o}=t;J(()=>n.pageFullscreen,a=>{I.emit(o,Bh,a)}),J(()=>n.fullscreen,a=>{I.emit(o,qh,a)}),J(()=>n.preview,a=>{I.emit(o,Yh,a)}),J(()=>n.previewOnly,a=>{I.emit(o,Nh,a)}),J(()=>n.htmlPreview,a=>{I.emit(o,Uh,a)}),J(i,a=>{I.emit(o,Gh,a)});const l={on(a,u){switch(a){case"pageFullscreen":{I.on(o,{name:Bh,callback(c){u(c)}});break}case"fullscreen":{I.on(o,{name:qh,callback(c){u(c)}});break}case"preview":{I.on(o,{name:Yh,callback(c){u(c)}});break}case"previewOnly":{I.on(o,{name:Nh,callback(c){u(c)}});break}case"htmlPreview":{I.on(o,{name:Uh,callback(c){u(c)}});break}case"catalog":{I.on(o,{name:Gh,callback(c){u(c)}});break}}},togglePageFullscreen(a){r("pageFullscreen",a)},toggleFullscreen(a){I.emit(o,pp,a)},togglePreview(a){r("preview",a)},togglePreviewOnly(a){r("previewOnly",a)},toggleHtmlPreview(a){r("htmlPreview",a)},toggleCatalog(a){I.emit(o,nc,a)},triggerSave(){I.emit(o,Tl)},insert(a){I.emit(o,fe,"universal",{generate:a})},focus(a){var u;(u=s.value)==null||u.focus(a)},rerender(){I.emit(o,rc)},getSelectedText(){var a;return(a=s.value)==null?void 0:a.getSelectedText()},resetHistory(){var a;(a=s.value)==null||a.resetHistory()},domEventHandlers(a){I.emit(o,bp,a)},execCommand(a){I.emit(o,fe,a)}};e.expose(l)},U6=t=>t,gb={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:()=>ry("md-editor-v3_")},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:U6},sanitize:{type:Function,default:t=>t},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:t=>t},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:t=>Promise.resolve(t)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30}},G6={...gb,onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},toolbars:{type:Array,default:fp},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},tabWidth:{type:Number,default:2},tableShape:{type:Array},placeholder:{type:String,default:""},defToolbars:{type:[String,Object]},onError:{type:Function},footers:{type:Array,default:dp},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noUploadImg:{type:Boolean},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function},onFocus:{type:Function},completions:{type:Array},showToolbarName:{type:Boolean,default:!1},onInput:{type:Function},onDrop:{type:Function},inputBoxWitdh:{type:String,default:"50%"},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},bb=["onHtmlChanged","onGetCatalog"],H6=[...bb,"onChange","onSave","onUploadImg","onError","update:modelValue","onBlur","onFocus","onInput","onDrop","onInputBoxWitdhChange"],K6=(t,e)=>{const{editorId:i}=t,n={rerender(){I.emit(i,rc)}};e.expose(n)},qo=Qe({name:"MdPreview",props:gb,emits:bb,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noHighlight:s}=t;return mb(t),Ob(t),K6(t,e),Qs(()=>{I.clear(i)}),()=>v("div",{id:i,class:[S,t.class,t.theme==="dark"&&`${S}-dark`,`${S}-previewOnly`],style:t.style},[v(pb,{modelValue:t.modelValue,onHtmlChanged:o=>{t.onHtmlChanged?t.onHtmlChanged(o):e.emit("onHtmlChanged",o)},onGetCatalog:o=>{t.onGetCatalog?t.onGetCatalog(o):e.emit("onGetCatalog",o)},mdHeadingId:t.mdHeadingId,noMermaid:r,sanitize:t.sanitize,noKatex:n,formatCopiedText:t.formatCopiedText,noHighlight:s,noImgZoomIn:t.noImgZoomIn,previewOnly:!0,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null)])}});qo.install=t=>(t.component(qo.name,qo),t);const J6={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},yb=Qe({props:J6,setup(t){return()=>{const{tocItem:e,mdHeadingId:i,scrollElement:n,onClick:r,scrollElementOffsetTop:s}=t;return v("div",{class:[`${S}-catalog-link`,e.active&&`${S}-catalog-active`],onClick:o=>{r(o,e),o.stopPropagation();const l=i(e.text,e.level,e.index),a=document.getElementById(l),u=n instanceof Element?n:document.querySelector(n);if(a&&u){let c=a.offsetParent,h=a.offsetTop;if(u.contains(c))for(;c&&u!=c;)h+=c==null?void 0:c.offsetTop,c=c==null?void 0:c.offsetParent;u==null||u.scrollTo({top:h-s,behavior:"smooth"})}}},[v("span",{title:e.text},[e.text]),v("div",{class:`${S}-catalog-wrapper`},[e.children&&e.children.map(o=>v(yb,{mdHeadingId:i,key:`${e.text}-link-${o.level}-${o.text}`,tocItem:o,scrollElement:n,onClick:r,scrollElementOffsetTop:s},null))])])}}}),eQ=yb,tQ={editorId:{type:String},class:{type:String,default:""},mdHeadingId:{type:Function,default:t=>t},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function},onActive:{type:Function}},is=Qe({name:"MdCatalog",props:tQ,emits:["onClick","onActive"],setup(t,e){const i=t.editorId,n=ct({list:[],show:!1,scrollElement:t.scrollElement||`#${i}-preview-wrapper`}),r=kn(),s=dt(()=>{const u=[];return n.list.forEach((c,h)=>{const{text:f,level:d}=c,p={level:d,text:f,index:h+1,active:r.value===c};if(u.length===0)u.push(p);else{let m=u[u.length-1];if(p.level>m.level)for(let g=m.level+1;g<=6;g++){const{children:O}=m;if(!O){m.children=[p];break}if(m=O[O.length-1],p.level<=m.level){O.push(p);break}}else u.push(p)}}),u}),o=()=>n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement),l=u=>{if(u.length===0)return n.list=[],!1;const{activeHead:c}=u.reduce((h,f,d)=>{const p=document.getElementById(t.mdHeadingId(f.text,f.level,d+1));if(p instanceof HTMLElement){const m=o(),g=ny(p,m);if(gh.minTop)return{activeHead:f,minTop:g}}return h},{activeHead:u[0],minTop:Number.MIN_SAFE_INTEGER});r.value=c,n.list=u},a=()=>{l(n.list)};return J(()=>r.value,u=>{const c=u?{...u}:void 0;t.onActive?t.onActive(c):e.emit("onActive",c)}),Ee(()=>{let u=window;const c=()=>{const h=o();u=h===document.documentElement?window:h};I.on(i,{name:To,callback:h=>{u==null||u.removeEventListener("scroll",a),l(h),c(),u==null||u.addEventListener("scroll",a)}}),I.emit(i,gp),c(),u==null||u.addEventListener("scroll",a)}),Qs(()=>{var u;const c=o();(u=c===document.documentElement?window:c)==null||u.removeEventListener("scroll",a)}),()=>v("div",{class:`${S}-catalog${t.theme==="dark"?"-dark":""} ${t.class}`},[s.value.map(u=>v(eQ,{mdHeadingId:t.mdHeadingId,tocItem:u,key:`link-${u.level}-${u.text}`,scrollElement:n.scrollElement,onClick:(c,h)=>{t.onClick?t.onClick(c,h):e.emit("onClick",c,h)},scrollElementOffsetTop:t.scrollElementOffsetTop},null))])}});is.install=t=>(t.component(is.name,is),t);const iQ={title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String}},Yo=Qe({name:"NormalToolbar",props:iQ,emits:["onClick"],setup(t,e){return()=>{const i=Dt({props:t,ctx:e},"trigger");return v("div",{class:`${S}-toolbar-item`,title:t.title,onClick:n=>{t.onClick instanceof Function?t.onClick(n):e.emit("onClick",n)}},[i])}}});Yo.install=t=>(t.component(Yo.name,Yo),t);function nQ(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!$b(t)}const rQ={title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String}},No=Qe({name:"ModalToolbar",props:rQ,emits:["onClick","onClose","onAdjust"],setup(t,e){return()=>{const i=Dt({props:t,ctx:e},"trigger"),n=Dt({props:t,ctx:e},"default");return v(Al,null,[v("div",{class:`${S}-toolbar-item`,title:t.title,onClick:()=>{t.onClick instanceof Function?t.onClick():e.emit("onClick")}},[i]),v(zn,{width:t.width,height:t.height,title:t.modalTitle,visible:t.visible,onClose:()=>{t.onClose instanceof Function?t.onClose():e.emit("onClose")},showAdjust:t.showAdjust,isFullscreen:t.isFullscreen,onAdjust:r=>{t.onAdjust instanceof Function?t.onAdjust(r):e.emit("onAdjust",r)}},nQ(n)?n:{default:()=>[n]})])}}});No.install=t=>(t.component(No.name,No),t);var sQ=Object.defineProperty,oQ=(t,e,i)=>e in t?sQ(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Li=(t,e,i)=>(oQ(t,typeof e!="symbol"?e+"":e,i),i);const lQ=Qe({setup(){return()=>v("div",{class:`${S}-divider`},null)}}),aQ={noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean},showToolbarName:{type:Boolean}},uQ=t=>{const e=ne("editorId"),{editorExtensions:i,editorExtensionsAttrs:n}=ze;let r=i.screenfull.instance;const s=de(!1),o=u=>{if(!r){I.emit(e,Cn,{name:"fullscreen",message:"fullscreen is undefined"});return}r.isEnabled?(s.value=!0,(u===void 0?!r.isFullscreen:u)?r.request():r.exit()):console.error("browser does not support screenfull!")},l=()=>{r&&r.isEnabled&&r.on("change",()=>{(s.value||t.setting.fullscreen)&&(s.value=!1,t.updateSetting("fullscreen"))})},a=()=>{r=window.screenfull,l()};return Ee(()=>{var u;l(),r||Ot("script",{...(u=n.screenfull)==null?void 0:u.js,src:i.screenfull.js,id:`${S}-screenfull`,onload:a},"screenfull")}),Ee(()=>{I.on(e,{name:pp,callback:o})}),{fullscreenHandler:o}},cQ={tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},hQ=Qe({name:"TableShape",props:cQ,setup(t){const e=ct({x:-1,y:-1}),i=()=>{const r=[...t.tableShape];return(!r[2]||r[2]t.tableShape,()=>{n.value=i()}),()=>v("div",{class:`${S}-table-shape`,onMouseleave:()=>{n.value=i(),e.x=-1,e.y=-1}},[new Array(n.value[1]).fill("").map((r,s)=>v("div",{class:`${S}-table-shape-row`,key:`table-shape-row-${s}`},[new Array(n.value[0]).fill("").map((o,l)=>v("div",{class:`${S}-table-shape-col`,key:`table-shape-col-${l}`,onMouseenter:()=>{e.x=s,e.y=l,l+1===n.value[0]&&l+1t.tableShape[0]&&n.value[0]--,s+1===n.value[1]&&s+1t.tableShape[1]&&n.value[1]--},onClick:()=>{t.onSelected(e)}},[v("div",{class:[`${S}-table-shape-col-default`,s<=e.x&&l<=e.y&&`${S}-table-shape-col-include`]},null)]))]))])}}),fQ=hQ,dQ={type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},pQ=Qe({props:dQ,setup(t){const e=ne("usedLanguageText"),i=ne("editorId"),n=dt(()=>{var s,o;switch(t.type){case"link":return(s=e.value.linkModalTips)==null?void 0:s.linkTitle;case"image":return(o=e.value.linkModalTips)==null?void 0:o.imageTitle;default:return""}}),r=ct({desc:"",url:""});return J(()=>t.visible,s=>{s||setTimeout(()=>{r.desc="",r.url=""},200)}),()=>v(zn,{title:n.value,visible:t.visible,onClose:t.onCancel},{default:()=>{var s,o,l,a,u;return[v("div",{class:`${S}-form-item`},[v("label",{class:`${S}-label`,for:`link-desc-${i}`},[(s=e.value.linkModalTips)==null?void 0:s.descLabel]),v("input",{placeholder:(o=e.value.linkModalTips)==null?void 0:o.descLabelPlaceHolder,class:`${S}-input`,id:`link-desc-${i}`,type:"text",value:r.desc,onChange:c=>{r.desc=c.target.value},autocomplete:"off"},null)]),v("div",{class:`${S}-form-item`},[v("label",{class:`${S}-label`,for:`link-url-${i}`},[(l=e.value.linkModalTips)==null?void 0:l.urlLabel]),v("input",{placeholder:(a=e.value.linkModalTips)==null?void 0:a.urlLabelPlaceHolder,class:`${S}-input`,id:`link-url-${i}`,type:"text",value:r.url,onChange:c=>{r.url=c.target.value},autocomplete:"off"},null)]),v("div",{class:`${S}-form-item`},[v("button",{class:[`${S}-btn`,`${S}-btn-row`],type:"button",onClick:()=>{t.onOk(r),r.desc="",r.url=""}},[(u=e.value.linkModalTips)==null?void 0:u.buttonOK])])]}})}}),mQ={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},OQ=Qe({props:mQ,setup(t){const e=ne("usedLanguageText"),i=ne("editorId");let n=ze.editorExtensions.cropper.instance;const r=de(),s=de(),o=de(),l=ct({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let a=null;J(()=>t.visible,()=>{t.visible&&!l.cropperInited&&(n=n||window.Cropper,r.value.onchange=()=>{if(!n){I.emit(i,Cn,{name:"Cropper",message:"Cropper is undefined"});return}const c=r.value.files||[];if(l.imgSelected=!0,(c==null?void 0:c.length)>0){const h=new FileReader;h.onload=f=>{l.imgSrc=f.target.result,bi(()=>{a=new n(s.value,{viewMode:2,preview:`.${S}-clip-preview-target`})})},h.readAsDataURL(c[0])}})}),J(()=>[l.imgSelected],()=>{o.value.style=""}),J(()=>l.isFullscreen,()=>{bi(()=>{a==null||a.destroy(),o.value.style="",s.value&&(a=new n(s.value,{viewMode:2,preview:`.${S}-clip-preview-target`}))})});const u=()=>{a.clear(),a.destroy(),a=null,r.value.value="",l.imgSelected=!1};return()=>{var c;return v(zn,{class:`${S}-modal-clip`,title:(c=e.value.clipModalTips)==null?void 0:c.title,visible:t.visible,onClose:t.onCancel,showAdjust:!0,isFullscreen:l.isFullscreen,onAdjust:h=>{l.isFullscreen=h},width:"668px",height:"421px"},{default:()=>{var h,f;return[v("div",{class:`${S}-form-item ${S}-clip`},[v("div",{class:`${S}-clip-main`},[l.imgSelected?v("div",{class:`${S}-clip-cropper`},[v("img",{src:l.imgSrc,ref:s,style:{display:"none"},alt:""},null),v("div",{class:`${S}-clip-delete`,onClick:u},[v(re,{name:"delete"},null)])]):v("div",{class:`${S}-clip-upload`,onClick:()=>{r.value.click()}},[v(re,{name:"upload"},null)])]),v("div",{class:`${S}-clip-preview`},[v("div",{class:`${S}-clip-preview-target`,ref:o},null)])]),v("div",{class:`${S}-form-item`},[v("button",{class:`${S}-btn`,type:"button",onClick:()=>{if(a){const d=a.getCroppedCanvas();I.emit(i,El,[ty(d.toDataURL("image/png"))],t.onOk),u()}}},[((h=e.value.clipModalTips)==null?void 0:h.buttonUpload)||((f=e.value.linkModalTips)==null?void 0:f.buttonOK)])]),v("input",{ref:r,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),gQ={type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},bQ=Qe({props:gQ,setup(t){return()=>v(Al,null,[v(pQ,{type:t.type,visible:t.linkVisible,onOk:t.onOk,onCancel:t.onCancel},null),v(OQ,{visible:t.clipVisible,onOk:t.onOk,onCancel:t.onCancel},null)])}}),yQ=Qe({name:"MDEditorToolbar",props:aQ,setup(t){const e=ne("editorId"),i=ne("usedLanguageText"),n=ne("theme"),r=ne("previewTheme"),s=ne("language"),{fullscreenHandler:o}=uQ(t),l=`${e}-toolbar-wrapper`,a=de(),u=ct({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),c=(O,y)=>{I.emit(e,fe,O,y)},h=ct({type:"link",linkVisible:!1,clipVisible:!1}),f=de();Ee(()=>{I.on(e,{name:Ba,callback(O){h.type=O,h.linkVisible=!0}})});const d=dt(()=>{const O=t.toolbars.filter(_=>!t.toolbarsExclude.includes(_)),y=O.indexOf("="),k=y===-1?O:O.slice(0,y+1),w=y===-1?[]:O.slice(y,Number.MAX_SAFE_INTEGER);return[k,w]}),p=de(),m=()=>{I.emit(e,El,Array.from(p.value.files||[])),p.value.value=""};Ee(()=>{p.value.addEventListener("change",m)});const g=O=>{var y,k,w,_,A,C,$,R,M,X,Z,L,W,z,q,ee,te,pe,le,me,Te,De,ye,Oe,Zi,Fs,cn,zs,js,An,Tn,Bs,qs,En,Ys,Ns,$r,ah,uh,ch,hh,fh,dh,ph,mh,Oh,gh,bh,yh,xh,kh,vh,Sh,wh,_h,$h,Ph,Ch,Qh,Ah,Th,Eh,Zh,Dh,Rh,Ih,Lh,Xh,Mh;if(fp.includes(O))switch(O){case"-":return v(lQ,null,null);case"bold":return v("div",{class:`${S}-toolbar-item`,title:(y=i.value.toolbarTips)==null?void 0:y.bold,onClick:()=>{c("bold")}},[v(re,{name:"bold"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(k=i.value.toolbarTips)==null?void 0:k.bold])]);case"underline":return v("div",{class:`${S}-toolbar-item`,title:(w=i.value.toolbarTips)==null?void 0:w.underline,onClick:()=>{c("underline")}},[v(re,{name:"underline"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(_=i.value.toolbarTips)==null?void 0:_.underline])]);case"italic":return v("div",{class:`${S}-toolbar-item`,title:(A=i.value.toolbarTips)==null?void 0:A.italic,onClick:()=>{c("italic")}},[v(re,{name:"italic"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(C=i.value.toolbarTips)==null?void 0:C.italic])]);case"strikeThrough":return v("div",{class:`${S}-toolbar-item`,title:($=i.value.toolbarTips)==null?void 0:$.strikeThrough,onClick:()=>{c("strikeThrough")}},[v(re,{name:"strike-through"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(R=i.value.toolbarTips)==null?void 0:R.strikeThrough])]);case"title":return v(Xn,{relative:`#${l}`,visible:u.title,onChange:ae=>{u.title=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.title=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h1")}},[(M=i.value.titleItem)==null?void 0:M.h1]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h2")}},[(X=i.value.titleItem)==null?void 0:X.h2]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h3")}},[(Z=i.value.titleItem)==null?void 0:Z.h3]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h4")}},[(L=i.value.titleItem)==null?void 0:L.h4]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h5")}},[(W=i.value.titleItem)==null?void 0:W.h5]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h6")}},[(z=i.value.titleItem)==null?void 0:z.h6])])},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.title},[v(re,{name:"title"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.title])])]}});case"sub":return v("div",{class:`${S}-toolbar-item`,title:(q=i.value.toolbarTips)==null?void 0:q.sub,onClick:()=>{c("sub")}},[v(re,{name:"sub"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(ee=i.value.toolbarTips)==null?void 0:ee.sub])]);case"sup":return v("div",{class:`${S}-toolbar-item`,title:(te=i.value.toolbarTips)==null?void 0:te.sup,onClick:()=>{c("sup")}},[v(re,{name:"sup"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(pe=i.value.toolbarTips)==null?void 0:pe.sup])]);case"quote":return v("div",{class:`${S}-toolbar-item`,title:(le=i.value.toolbarTips)==null?void 0:le.quote,onClick:()=>{c("quote")}},[v(re,{name:"quote"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(me=i.value.toolbarTips)==null?void 0:me.quote])]);case"unorderedList":return v("div",{class:`${S}-toolbar-item`,title:(Te=i.value.toolbarTips)==null?void 0:Te.unorderedList,onClick:()=>{c("unorderedList")}},[v(re,{name:"unordered-list"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(De=i.value.toolbarTips)==null?void 0:De.unorderedList])]);case"orderedList":return v("div",{class:`${S}-toolbar-item`,title:(ye=i.value.toolbarTips)==null?void 0:ye.orderedList,onClick:()=>{c("orderedList")}},[v(re,{name:"ordered-list"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Oe=i.value.toolbarTips)==null?void 0:Oe.orderedList])]);case"task":return v("div",{class:`${S}-toolbar-item`,title:(Zi=i.value.toolbarTips)==null?void 0:Zi.task,onClick:()=>{c("task")}},[v(re,{name:"task"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Fs=i.value.toolbarTips)==null?void 0:Fs.task])]);case"codeRow":return v("div",{class:`${S}-toolbar-item`,title:(cn=i.value.toolbarTips)==null?void 0:cn.codeRow,onClick:()=>{c("codeRow")}},[v(re,{name:"code-row"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(zs=i.value.toolbarTips)==null?void 0:zs.codeRow])]);case"code":return v("div",{class:`${S}-toolbar-item`,title:(js=i.value.toolbarTips)==null?void 0:js.code,onClick:()=>{c("code")}},[v(re,{name:"code"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(An=i.value.toolbarTips)==null?void 0:An.code])]);case"link":return v("div",{class:`${S}-toolbar-item`,title:(Tn=i.value.toolbarTips)==null?void 0:Tn.link,onClick:()=>{h.type="link",h.linkVisible=!0}},[v(re,{name:"link"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Bs=i.value.toolbarTips)==null?void 0:Bs.link])]);case"image":return t.noUploadImg?v("div",{class:`${S}-toolbar-item`,title:(qs=i.value.toolbarTips)==null?void 0:qs.image,onClick:()=>{h.type="image",h.linkVisible=!0}},[v(re,{name:"image"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(En=i.value.toolbarTips)==null?void 0:En.image])]):v(Xn,{relative:`#${l}`,visible:u.image,onChange:ae=>{u.image=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.title=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-image`,onClick:()=>{h.type="image",h.linkVisible=!0}},[(Ys=i.value.imgTitleItem)==null?void 0:Ys.link]),v("li",{class:`${S}-menu-item ${S}-menu-item-image`,onClick:()=>{p.value.click()}},[(Ns=i.value.imgTitleItem)==null?void 0:Ns.upload]),v("li",{class:`${S}-menu-item ${S}-menu-item-image`,onClick:()=>{h.clipVisible=!0}},[($r=i.value.imgTitleItem)==null?void 0:$r.clip2upload])])},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.image},[v(re,{name:"image"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.image])])]}});case"table":return v(Xn,{relative:`#${l}`,visible:u.table,onChange:ae=>{u.table=ae},key:"bar-table",overlay:v(fQ,{tableShape:t.tableShape,onSelected:ae=>{c("table",{selectedShape:ae})}},null)},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.table},[v(re,{name:"table"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.table])])]}});case"revoke":return v("div",{class:`${S}-toolbar-item`,title:(ah=i.value.toolbarTips)==null?void 0:ah.revoke,onClick:()=>{I.emit(e,mp)}},[v(re,{name:"revoke"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(uh=i.value.toolbarTips)==null?void 0:uh.revoke])]);case"next":return v("div",{class:`${S}-toolbar-item`,title:(ch=i.value.toolbarTips)==null?void 0:ch.next,onClick:()=>{I.emit(e,Op)}},[v(re,{name:"next"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(hh=i.value.toolbarTips)==null?void 0:hh.next])]);case"save":return v("div",{class:`${S}-toolbar-item`,title:(fh=i.value.toolbarTips)==null?void 0:fh.save,onClick:()=>{I.emit(e,Tl)}},[v(re,{name:"baocun"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(dh=i.value.toolbarTips)==null?void 0:dh.save])]);case"prettier":return t.noPrettier?"":v("div",{class:`${S}-toolbar-item`,title:(ph=i.value.toolbarTips)==null?void 0:ph.prettier,onClick:()=>{c("prettier")}},[v(re,{name:"prettier"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(mh=i.value.toolbarTips)==null?void 0:mh.prettier])]);case"pageFullscreen":return!t.setting.fullscreen&&v("div",{class:`${S}-toolbar-item`,title:(Oh=i.value.toolbarTips)==null?void 0:Oh.pageFullscreen,onClick:()=>{t.updateSetting("pageFullscreen")}},[v(re,{name:t.setting.pageFullscreen?"suoxiao":"fangda"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(gh=i.value.toolbarTips)==null?void 0:gh.pageFullscreen])]);case"fullscreen":return v("div",{class:`${S}-toolbar-item`,title:(bh=i.value.toolbarTips)==null?void 0:bh.fullscreen,onClick:()=>{o()}},[v(re,{name:t.setting.fullscreen?"fullscreen-exit":"fullscreen"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(yh=i.value.toolbarTips)==null?void 0:yh.fullscreen])]);case"preview":return v("div",{class:`${S}-toolbar-item`,title:(xh=i.value.toolbarTips)==null?void 0:xh.preview,onClick:()=>{t.updateSetting("preview")}},[v(re,{name:"preview"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(kh=i.value.toolbarTips)==null?void 0:kh.preview])]);case"previewOnly":return v("div",{class:`${S}-toolbar-item`,title:(vh=i.value.toolbarTips)==null?void 0:vh.previewOnly,onClick:()=>{t.updateSetting("previewOnly")}},[v(re,{name:"preview-only"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Sh=i.value.toolbarTips)==null?void 0:Sh.previewOnly])]);case"htmlPreview":return v("div",{class:`${S}-toolbar-item`,title:(wh=i.value.toolbarTips)==null?void 0:wh.htmlPreview,onClick:()=>{t.updateSetting("htmlPreview")}},[v(re,{name:"coding"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(_h=i.value.toolbarTips)==null?void 0:_h.htmlPreview])]);case"catalog":return v("div",{class:`${S}-toolbar-item`,title:($h=i.value.toolbarTips)==null?void 0:$h.catalog,onClick:()=>{I.emit(e,nc)},key:"bar-catalog"},[v(re,{name:"catalog"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Ph=i.value.toolbarTips)==null?void 0:Ph.catalog])]);case"github":return v("div",{class:`${S}-toolbar-item`,title:(Ch=i.value.toolbarTips)==null?void 0:Ch.github,onClick:()=>Lb("https://github.com/imzbf/md-editor-v3")},[v(re,{name:"github"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Qh=i.value.toolbarTips)==null?void 0:Qh.github])]);case"mermaid":return v(Xn,{relative:`#${l}`,visible:u.mermaid,onChange:ae=>{u.mermaid=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.mermaid=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("flow")}},[(Ah=i.value.mermaid)==null?void 0:Ah.flow]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("sequence")}},[(Th=i.value.mermaid)==null?void 0:Th.sequence]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("gantt")}},[(Eh=i.value.mermaid)==null?void 0:Eh.gantt]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("class")}},[(Zh=i.value.mermaid)==null?void 0:Zh.class]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("state")}},[(Dh=i.value.mermaid)==null?void 0:Dh.state]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("pie")}},[(Rh=i.value.mermaid)==null?void 0:Rh.pie]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("relationship")}},[(Ih=i.value.mermaid)==null?void 0:Ih.relationship]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("journey")}},[(Lh=i.value.mermaid)==null?void 0:Lh.journey])]),key:"bar-mermaid"},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.mermaid},[v(re,{name:"mermaid"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.mermaid])])]}});case"katex":return v(Xn,{relative:`#${l}`,visible:u.katex,onChange:ae=>{u.katex=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.katex=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-katex`,onClick:()=>{c("katexInline")}},[(Xh=i.value.katex)==null?void 0:Xh.inline]),v("li",{class:`${S}-menu-item ${S}-menu-item-katex`,onClick:()=>{c("katexBlock")}},[(Mh=i.value.katex)==null?void 0:Mh.block])]),key:"bar-katex"},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.katex},[v(re,{name:"formula"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.katex])])]}})}else if(t.defToolbars instanceof Array){const ae=t.defToolbars[O];return ae?Wa(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Ul){I.emit(e,fe,"universal",{generate:Ul})}}):""}else if(t.defToolbars&&t.defToolbars.children instanceof Array){const ae=t.defToolbars.children[O];return ae?Wa(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Ul){I.emit(e,fe,"universal",{generate:Ul})}}):""}else return""};return J(()=>t.toolbars,()=>{bi(()=>{a.value&&Mb(a.value)})},{immediate:!0}),()=>{const O=d.value[0].map(k=>g(k)),y=d.value[1].map(k=>g(k));return v(Al,null,[t.toolbars.length>0&&v("div",{class:`${S}-toolbar-wrapper`,ref:a,id:l},[v("div",{class:[`${S}-toolbar`,t.showToolbarName&&`${S}-stn`]},[v("div",{class:`${S}-toolbar-left`,ref:f},[O]),v("div",{class:`${S}-toolbar-right`},[y])])]),v("input",{ref:p,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),v(bQ,{linkVisible:h.linkVisible,clipVisible:h.clipVisible,type:h.type,onCancel:()=>{h.linkVisible=!1,h.clipVisible=!1},onOk:k=>{k&&c(h.type,{desc:k.desc,url:k.url,transform:h.type==="image"}),h.linkVisible=!1,h.clipVisible=!1}},null)])}}}),xQ=`.${S}-preview > [data-line]`,La=(t,e)=>+getComputedStyle(t).getPropertyValue(e).replace("px",""),kQ=(t,e)=>{const i=ic(()=>{t.removeEventListener("scroll",n),t.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=r=>{const s=t.clientHeight,o=e.clientHeight,l=t.scrollHeight,a=e.scrollHeight,u=(l-s)/(a-o);r.target===t?(e.removeEventListener("scroll",n),e.scrollTo({top:t.scrollTop/u}),i()):(t.removeEventListener("scroll",n),t.scrollTo({top:e.scrollTop*u}),i())};return[()=>{i().finally(()=>{t.dispatchEvent(new Event("scroll"))})},()=>{t.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},vQ=(t,e,i)=>{const{view:n}=i,r=Xb(),s=O=>n.lineBlockAt(n.state.doc.line(O+1).from).top,o=O=>n.lineBlockAt(n.state.doc.line(O+1).from).bottom;let l=[],a=[],u=[];const c=()=>{l=[],a=Array.from(e.querySelectorAll(xQ)),u=a.map(_=>Number(_.dataset.line));const O=[...u],{lines:y}=n.state.doc;let k=O.shift()||0,w=O.shift()||y;for(let _=0;_{let k=0;for(let w=a.length-1;w-1>=0;w--){const _=a[w],A=a[w-1];if(_.offsetTop+_.offsetHeight>y&&A.offsetTop=0;w--){const _=o(l[w].end),A=s(l[w].start);if(_>O&&A<=O){k=k{var O,y,k;if(d!==0)return!1;f++;const{scrollDOM:w,contentHeight:_}=n;let A=La(e,"padding-top");const C=n.lineBlockAtHeight(w.scrollTop),{number:$}=n.state.doc.lineAt(C.from),R=l[$-1];if(!R)return!1;let M=1;const X=e.querySelector(`[data-line="${R.start}"]`)||((O=e.firstElementChild)==null?void 0:O.firstElementChild),Z=e.querySelector(`[data-line="${R.end+1}"]`)||((y=e.lastElementChild)==null?void 0:y.lastElementChild),L=w.scrollHeight-w.clientHeight,W=e.scrollHeight-e.clientHeight;let z=s(R.start),q=o(R.end),ee=X.offsetTop,te=Z.offsetTop-ee;if(z===0&&(ee=0,X===Z?(A=0,q=_-w.offsetHeight,te=W):te=Z.offsetTop),M=(w.scrollTop-z+La(n.contentDOM,"padding-bottom"))/(q-z),z>0&&(q>=L||Z.offsetTop+Z.clientHeight>W)){const le=h(L,W);z=s(le),M=(w.scrollTop-z)/(L-z),ee=(k=document.querySelector(`[data-line="${le}"]`))==null?void 0:k.offsetTop,te=W-ee+La(e,"padding-top")}const pe=ee-A+te*M;r(e,pe,()=>{f--})},m=()=>{var O,y,k,w,_,A,C;if(f!==0)return;d++;const{scrollDOM:$}=n,R=e.scrollTop,M=e.scrollHeight,X=$.scrollHeight-$.clientHeight,Z=e.scrollHeight-e.clientHeight;let L=(O=e.firstElementChild)==null?void 0:O.firstElementChild,W=(y=e.firstElementChild)==null?void 0:y.lastElementChild;if(u.length>0){let De=Math.ceil(u[u.length-1]*(R/M)),ye=u.findLastIndex(Oe=>Oe<=De);ye=ye===-1?0:ye,De=u[ye];for(let Oe=ye;Oe>=0&&OeR){if(Oe-1>=0){Oe--;continue}De=-1,ye=Oe;break}else{if(Oe+1X||W.offsetTop+W.offsetHeight>Z){const De=h(X,Z);z=(A=document.querySelector(`[data-line="${De}"]`))==null?void 0:A.offsetTop,le=s(De),ee=(R-z)/(Z-z),Te=X-le}else L===((C=e.firstElementChild)==null?void 0:C.firstElementChild)?(L===W&&(q=W.offsetTop+W.offsetHeight+ +getComputedStyle(W).marginBottom.replace("px","")),Te=me,ee=Math.max(R/q,0)):(ee=Math.max((R-z)/(q-z),0),Te=me-le);r(t,le+Te*ee,()=>{d--})},g=cp(O=>{var y;const{scrollDOM:k,contentHeight:w}=n,_=k.clientHeight;if(w<=_||e.firstElementChild.clientHeight<=e.clientHeight)return!1;if(n.state.doc.lines<((y=l[l.length-1])==null?void 0:y.end))return c(),!1;O.target===t?p():m()},1);return[()=>{c(),t.addEventListener("scroll",g),e.addEventListener("scroll",g),t.dispatchEvent(new Event("scroll"))},()=>{t.removeEventListener("scroll",g),e.removeEventListener("scroll",g)}]},SQ=(t,e,i)=>{const n=ne("editorId");let r=()=>{},s=()=>{};const o=()=>{r();const l=document.querySelector(`#${n} .cm-scroller`),a=document.querySelector(`[id="${n}-preview-wrapper"]`),u=document.querySelector(`[id="${n}-html-wrapper"]`);(a||u)&&([s,r]=(a?vQ:kQ)(l,a||u,i.value),t.scrollAuto&&s())};J([e,Ni(t.setting,"preview"),Ni(t.setting,"htmlPreview"),Ni(t.setting,"fullscreen"),Ni(t.setting,"pageFullscreen")],()=>{bi(o)}),J(()=>t.scrollAuto,l=>{l?s():r()}),J(()=>t.setting.previewOnly,l=>{l?r():s()}),Ee(o)},Xa=(t,e,i)=>{var n;let r="",s=0,o=0,l=!0,a=!1;const u=e.getSelectedText(),c=ze.editorConfig.mermaidTemplate;if(/^h[1-6]{1}$/.test(t)){const h=t.replace(/^h(\d)/,(f,d)=>new Array(Number(d)).fill("#",0,d).join(""));r=`${h} ${u}`,s=h.length+1}else if(t==="prettier"){const h=window.prettier||ze.editorExtensions.prettier.prettierInstance,f=[((n=window.prettierPlugins)==null?void 0:n.markdown)||ze.editorExtensions.prettier.parserMarkdownInstance];!h||f[0]===void 0?(I.emit(i.editorId,Cn,{name:"prettier",message:"prettier is undefined"}),r=e.getValue()):r=h.format(e.getValue(),{parser:"markdown",plugins:f}),l=!1,a=!0}else switch(t){case"bold":{r=`**${u}**`,s=2,o=-2;break}case"underline":{r=`${u}`,s=3,o=-4;break}case"italic":{r=`*${u}*`,s=1,o=-1;break}case"strikeThrough":{r=`~~${u}~~`,s=2,o=-2;break}case"sub":{r=`${u}`,s=5,o=-6;break}case"sup":{r=`${u}`,s=5,o=-6;break}case"codeRow":{r="`"+u+"`",s=1,o=-1;break}case"quote":{r=`> ${u}`,s=2;break}case"orderedList":{r=`1. ${u}`,s=3;break}case"unorderedList":{r=`- ${u}`,s=2;break}case"task":{r=`- [ ] ${u}`,s=6;break}case"code":{const h=i.text||u||"",f=i.mode||"language";r=`\`\`\`${f} +`&&l()}return Xr.trim(o)}var GC=UC,_o=Qn,HC=GC;function zp(t){return t==null}function KC(t){var e={};for(var i in t)e[i]=t[i];return e}function eb(t){t=KC(t||{}),t.whiteList=t.whiteList||_o.whiteList,t.onAttr=t.onAttr||_o.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||_o.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||_o.safeAttrValue,this.options=t}eb.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,n=i.whiteList,r=i.onAttr,s=i.onIgnoreAttr,o=i.safeAttrValue,l=HC(t,function(a,u,c,h,f){var d=n[c],p=!1;if(d===!0?p=d:typeof d=="function"?p=d(h):d instanceof RegExp&&(p=d.test(h)),p!==!0&&(p=!1),h=o(c,h),!!h){var m={position:u,sourcePosition:a,source:f,isWhite:p};if(p){var g=r(c,h,m);return zp(g)?c+":"+h:g}else{var g=s(c,h,m);if(!zp(g))return g}}});return l};var JC=eb;(function(t,e){var i=Qn,n=JC;function r(o,l){var a=new n(l);return a.process(o)}e=t.exports=r,e.FilterCSS=n;for(var s in i)e[s]=i[s];typeof window<"u"&&(window.filterCSS=t.exports)})(tc,tc.exports);var sh=tc.exports,oh={indexOf:function(t,e){var i,n;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,n=t.length;i/g,u6=/"/g,c6=/"/g,h6=/&#([a-zA-Z0-9]*);?/gim,f6=/:?/gim,d6=/&newline;?/gim,$o=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,jp=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Bp=/u\s*r\s*l\s*\(.*/gi;function rb(t){return t.replace(u6,""")}function sb(t){return t.replace(c6,'"')}function ob(t){return t.replace(h6,function(i,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function lb(t){return t.replace(f6,":").replace(d6," ")}function ab(t){for(var e="",i=0,n=t.length;i",n);if(r===-1)break;i=r+3}return e}function g6(t){var e=t.split("");return e=e.filter(function(i){var n=i.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),e.join("")}Ae.whiteList=tb();Ae.getDefaultWhiteList=tb;Ae.onTag=i6;Ae.onIgnoreTag=n6;Ae.onTagAttr=r6;Ae.onIgnoreTagAttr=s6;Ae.safeAttrValue=o6;Ae.escapeHtml=nb;Ae.escapeQuote=rb;Ae.unescapeQuote=sb;Ae.escapeHtmlEntities=ob;Ae.escapeDangerHtml5Entities=lb;Ae.clearNonPrintableCharacter=ab;Ae.friendlyAttrValue=ub;Ae.escapeAttrValue=cb;Ae.onIgnoreTagStripAll=p6;Ae.StripTagBody=m6;Ae.stripCommentTag=O6;Ae.stripBlankChar=g6;Ae.attributeWrapSign='"';Ae.cssFilter=ib;Ae.getDefaultCSSWhiteList=t6;var Nl={},ji=oh;function b6(t){var e=ji.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=ji.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function y6(t){return t.slice(0,2)===""||l===a-1){n+=i(t.slice(r,s)),c=t.slice(s,l+1),u=b6(c),n+=e(s,n.length,u,c,y6(c)),r=l+1,s=!1;continue}if(h==='"'||h==="'")for(var f=1,d=t.charAt(l-f);d.trim()===""||d==="=";){if(d==="="){o=h;continue e}d=t.charAt(l-++f)}}else if(h===o){o=!1;continue}}return r0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function $6(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function qp(t){return $6(t)?t.substr(1,t.length-2):t}Nl.parseTag=x6;Nl.parseAttr=v6;var P6=sh.FilterCSS,At=Ae,hb=Nl,C6=hb.parseTag,Q6=hb.parseAttr,Bo=oh;function Po(t){return t==null}function A6(t){var e=Bo.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Bo.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Bo.trim(t.slice(0,-1))),{html:t,closing:i}}function T6(t){var e={};for(var i in t)e[i]=t[i];return e}function E6(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(n){return n.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function fb(t){t=T6(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=At.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=E6(t.whiteList||t.allowList):t.whiteList=At.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":At.attributeWrapSign,t.onTag=t.onTag||At.onTag,t.onTagAttr=t.onTagAttr||At.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||At.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||At.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||At.safeAttrValue,t.escapeHtml=t.escapeHtml||At.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new P6(t.css))}fb.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,n=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,l=i.onIgnoreTagAttr,a=i.safeAttrValue,u=i.escapeHtml,c=e.attributeWrapSign,h=e.cssFilter;i.stripBlankChar&&(t=At.stripBlankChar(t)),i.allowCommentTag||(t=At.stripCommentTag(t));var f=!1;i.stripIgnoreTagBody&&(f=At.StripTagBody(i.stripIgnoreTagBody,s),s=f.onIgnoreTag);var d=C6(t,function(p,m,g,O,y){var k={sourcePosition:p,position:m,isClosing:y,isWhite:Object.prototype.hasOwnProperty.call(n,g)},w=r(g,O,k);if(!Po(w))return w;if(k.isWhite){if(k.isClosing)return"";var _=A6(O),A=n[g],C=Q6(_.html,function($,R){var M=Bo.indexOf(A,$)!==-1,X=o(g,$,R,M);return Po(X)?M?(R=a(g,$,R,h),R?$+"="+c+R+c:$):(X=l(g,$,R,M),Po(X)?void 0:X):X});return O="<"+g,C&&(O+=" "+C),_.closing&&(O+=" /"),O+=">",O}else return w=s(g,O,k),Po(w)?u(O):w},u);return f&&(d=f.remove(d)),d};var Z6=fb;(function(t,e){var i=Ae,n=Nl,r=Z6;function s(l,a){var u=new r(a);return u.process(l)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,function(){for(var l in i)e[l]=i[l];for(var a in n)e[a]=n[a]}(),typeof window<"u"&&(window.filterXSS=t.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(ec,ec.exports);var ts=ec.exports;const D6=zC(ts),R6=SC({__proto__:null,default:D6},[ts]),Yp={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},I6=(t,e)=>{const{extendedWhiteList:i={},xss:n={}}=e;let r;if(typeof n=="function")r=new ts.FilterXSS(n(R6));else{const s=ts.getDefaultWhiteList();[...Object.keys(i),...Object.keys(Yp)].forEach(l=>{const a=s[l]||[],u=Yp[l]||[],c=i[l]||[];s[l]=[...new Set([...a,...u,...c])]}),r=new ts.FilterXSS({whiteList:s,...n})}t.core.ruler.after("linkify","xss",s=>{for(let o=0;o{u.type==="html_inline"&&(u.content=r.process(u.content))});break}}}})},L6=I6,X6=t=>{t.core.ruler.push("init-line-number",e=>(e.tokens.forEach(i=>{i.map&&(i.attrs||(i.attrs=[]),i.attrs.push(["data-line",i.map[0].toString()]))}),!0))},M6=(t,e)=>{const{editorConfig:i,markdownItConfig:n,markdownItPlugins:r}=ze,s=ne("editorId"),o=ne("language"),l=ne("usedLanguageText"),a=ne("showCodeRowNumber"),u=ne("theme"),c=ne("customIcon"),h=de([]),f=$C(t),d=CC(t),{reRenderRef:p,replaceMermaid:m}=PC(t),g=Xt({html:!0,breaks:!0,linkify:!0});n(g,{editorId:s});const O=[{type:"image",plugin:aC,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:IC,options:{}},{type:"taskList",plugin:kC,options:{}},{type:"heading",plugin:XC,options:{mdHeadingId:t.mdHeadingId,headsRef:h}},{type:"code",plugin:FC,options:{editorId:s,usedLanguageTextRef:l,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,customIconRef:c}},{type:"xss",plugin:L6,options:{}}];t.noKatex||O.push({type:"katex",plugin:DC,options:{katexRef:d}}),t.noMermaid||O.push({type:"mermaid",plugin:AC,options:{themeRef:u}}),r(O,{editorId:s}).forEach($=>{g.use($.plugin,$.options)});const y=g.options.highlight;g.set({highlight:($,R,M)=>{if(y){const L=y($,R,M);if(L)return L}let X;!t.noHighlight&&f.value?f.value.getLanguage(R)?X=f.value.highlight($,{language:R,ignoreIllegals:!0}).value:X=f.value.highlightAuto($).value:X=g.utils.escapeHtml($);const Z=a?iy(X.replace(/^\n+|\n+$/g,"")):`${X.replace(/^\n+|\n+$/g,"")}`;return`
    ${Z}
    `}}),X6(g);const k=de(`_article-key_${za()}`),w=de(t.sanitize(g.render(t.modelValue))),_=()=>{I.emit(s,Ao,w.value),t.onHtmlChanged(w.value),t.onGetCatalog(h.value),I.emit(s,To,h.value),m()};Ee(_);const A=()=>{h.value=[],w.value=t.sanitize(g.render(t.modelValue)),_()},C=dt(()=>(t.noKatex||d.value)&&(t.noHighlight||f.value));return J([Ni(t,"modelValue"),C,p,o],ic(A,e?0:i.renderDelay)),J(()=>t.setting.preview,()=>{t.setting.preview&&bi(()=>{I.emit(s,To,h.value)})}),Ee(()=>{I.on(s,{name:g0,callback(){I.emit(s,To,h.value)}}),I.on(s,{name:rc,callback:()=>{k.value=`_article-key_${za()}`,A()}})}),{html:w,key:k}},V6=M6,db={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:t=>t},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:t=>t},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number}},W6={...db,updateModelValue:{type:Function,default:()=>{}},onChange:{type:Function,default:()=>{}},placeholder:{type:String,default:""},scrollAuto:{type:Boolean},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function,default:()=>{}},onFocus:{type:Function,default:()=>{}},noPrettier:{type:Boolean},completions:{type:Array},catalogVisible:{type:Boolean},theme:{type:String,default:"light"},onInput:{type:Function},onDrop:{type:Function,default:()=>{}},inputBoxWitdh:{type:String},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},pb=Qe({name:"ContentPreview",props:db,setup(t){const e=ne("editorId"),i=ne("previewTheme"),n=ne("showCodeRowNumber"),{html:r,key:s}=V6(t,t.previewOnly);return _C(t,r,s),wC(t,r),()=>v(Al,null,[t.setting.preview&&v("div",{id:`${e}-preview-wrapper`,class:`${S}-preview-wrapper`,key:"content-preview-wrapper"},[v("div",{key:s.value,id:`${e}-preview`,class:[`${S}-preview`,`${i==null?void 0:i.value}-theme`,n&&`${S}-scrn`],innerHTML:r.value},null)]),!t.previewOnly&&t.setting.htmlPreview&&v("div",{id:`${e}-html-wrapper`,class:`${S}-preview-wrapper`,key:"html-preview-wrapper"},[v("div",{class:`${S}-html`},[r.value])])])}}),F6=(t,e)=>{const{editorId:i}=t,n=ct({buildFinished:!1,html:""});J(()=>t.modelValue,()=>{n.buildFinished=!1}),Ee(()=>{I.on(i,{name:Ao,callback(r){n.buildFinished=!0,n.html=r}}),I.on(i,{name:Tl,callback(){const r=new Promise(s=>{if(n.buildFinished)s(n.html);else{const o=l=>{s(l),I.remove(i,Ao,o)};I.on(i,{name:Ao,callback:o})}});t.onSave?t.onSave(t.modelValue,r):e.emit("onSave",t.modelValue,r)}})})},mb=t=>{const{editorId:e}=t,i=ze.editorExtensions.highlight,n=ze.editorExtensionsAttrs.highlight;vi("editorId",e),vi("theme",dt(()=>t.theme)),vi("language",dt(()=>t.language)),vi("highlight",dt(()=>{const{js:s}=i,o={...ja,...i.css},{js:l,css:a={}}=n||{},u=t.codeStyleReverse&&t.codeStyleReverseList.includes(t.previewTheme)?"dark":t.theme,c=o[t.codeTheme]?o[t.codeTheme][u]:ja.atom[u],h=o[t.codeTheme]&&a[t.codeTheme]?a[t.codeTheme][u]:a.atom?a.atom[u]:{};return{js:{src:s,...l},css:{href:c,...h}}})),vi("showCodeRowNumber",t.showCodeRowNumber);const r=dt(()=>{const s={...jh,...ze.editorConfig.languageUserDefined};return h0(Mr(jh["en-US"]),s[t.language]||{})});vi("usedLanguageText",r),vi("previewTheme",dt(()=>t.previewTheme)),vi("customIcon",dt(()=>t.customIcon))},z6=t=>{mb(t),vi("tabWidth",t.tabWidth)},Ob=t=>{Ee(()=>{const{editorExtensions:e,editorExtensionsAttrs:i,iconfontType:n}=ze;t.noIconfont||(n==="svg"?Ot("script",{...i.iconfont,src:e.iconfont,id:`${S}-icon`}):Ot("link",{...i.iconfontClass,rel:"stylesheet",href:e.iconfontClass,id:`${S}-icon-class`}))})},j6=t=>{const{noPrettier:e,noUploadImg:i}=t,{editorExtensions:n,editorExtensionsAttrs:r}=ze,s=e||n.prettier.prettierInstance,o=e||n.prettier.parserMarkdownInstance,l=i||n.cropper.instance;Ee(()=>{if(!l){const{js:a={},css:u={}}=r.cropper||{};Ot("link",{...u,rel:"stylesheet",href:n.cropper.css,id:`${S}-cropperCss`}),Ot("script",{...a,src:n.cropper.js,id:`${S}-cropper`})}if(!s){const{standaloneJs:a={}}=r.prettier||{};Ot("script",{...a,src:n.prettier.standaloneJs,id:`${S}-prettier`})}if(!o){const{parserMarkdownJs:a={}}=r.prettier||{};Ot("script",{...a,src:n.prettier.parserMarkdownJs,id:`${S}-prettierMD`})}}),Ob(t)},B6=(t,e)=>{const{editorId:i}=t;Ee(()=>{I.on(i,{name:Cn,callback:n=>{t.onError instanceof Function?t.onError(n):e.emit("onError",n)}})})},q6=(t,e)=>{const{editorId:i}=t,n=ct({pageFullscreen:t.pageFullscreen,fullscreen:!1,preview:t.preview,htmlPreview:t.preview?!1:t.htmlPreview,previewOnly:!1}),r=(l,a)=>{n[l]=a===void 0?!n[l]:a,l==="preview"?(n.htmlPreview=!1,n.previewOnly=!1):l==="htmlPreview"?(n.preview=!1,n.previewOnly=!1):l==="previewOnly"&&!n.preview&&!n.htmlPreview&&(n.preview=!0)};let s="";const o=()=>{n.pageFullscreen||n.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};return J(()=>[n.pageFullscreen,n.fullscreen],o),Ee(()=>{I.on(i,{name:El,callback(l,a){const u=c=>{I.emit(i,fe,"image",{desc:"",urls:c}),a&&a()};t.onUploadImg?t.onUploadImg(l,u):e.emit("onUploadImg",l,u)}}),s=document.body.style.overflow,o()}),[n,r]},Y6=t=>{const{editorId:e}=t,i=de(!1);return Ee(()=>{I.on(e,{name:nc,callback:r=>{r===void 0?i.value=!i.value:i.value=r}})}),dt(()=>!t.toolbarsExclude.includes("catalog")&&t.toolbars.includes("catalog")&&i.value)},N6=(t,e,i,n,r,s)=>{const{editorId:o}=t;J(()=>n.pageFullscreen,a=>{I.emit(o,Bh,a)}),J(()=>n.fullscreen,a=>{I.emit(o,qh,a)}),J(()=>n.preview,a=>{I.emit(o,Yh,a)}),J(()=>n.previewOnly,a=>{I.emit(o,Nh,a)}),J(()=>n.htmlPreview,a=>{I.emit(o,Uh,a)}),J(i,a=>{I.emit(o,Gh,a)});const l={on(a,u){switch(a){case"pageFullscreen":{I.on(o,{name:Bh,callback(c){u(c)}});break}case"fullscreen":{I.on(o,{name:qh,callback(c){u(c)}});break}case"preview":{I.on(o,{name:Yh,callback(c){u(c)}});break}case"previewOnly":{I.on(o,{name:Nh,callback(c){u(c)}});break}case"htmlPreview":{I.on(o,{name:Uh,callback(c){u(c)}});break}case"catalog":{I.on(o,{name:Gh,callback(c){u(c)}});break}}},togglePageFullscreen(a){r("pageFullscreen",a)},toggleFullscreen(a){I.emit(o,p0,a)},togglePreview(a){r("preview",a)},togglePreviewOnly(a){r("previewOnly",a)},toggleHtmlPreview(a){r("htmlPreview",a)},toggleCatalog(a){I.emit(o,nc,a)},triggerSave(){I.emit(o,Tl)},insert(a){I.emit(o,fe,"universal",{generate:a})},focus(a){var u;(u=s.value)==null||u.focus(a)},rerender(){I.emit(o,rc)},getSelectedText(){var a;return(a=s.value)==null?void 0:a.getSelectedText()},resetHistory(){var a;(a=s.value)==null||a.resetHistory()},domEventHandlers(a){I.emit(o,b0,a)},execCommand(a){I.emit(o,fe,a)}};e.expose(l)},U6=t=>t,gb={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:()=>ry("md-editor-v3_")},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:U6},sanitize:{type:Function,default:t=>t},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:t=>t},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:t=>Promise.resolve(t)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30}},G6={...gb,onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},toolbars:{type:Array,default:f0},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},tabWidth:{type:Number,default:2},tableShape:{type:Array},placeholder:{type:String,default:""},defToolbars:{type:[String,Object]},onError:{type:Function},footers:{type:Array,default:d0},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noUploadImg:{type:Boolean},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function},onFocus:{type:Function},completions:{type:Array},showToolbarName:{type:Boolean,default:!1},onInput:{type:Function},onDrop:{type:Function},inputBoxWitdh:{type:String,default:"50%"},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},bb=["onHtmlChanged","onGetCatalog"],H6=[...bb,"onChange","onSave","onUploadImg","onError","update:modelValue","onBlur","onFocus","onInput","onDrop","onInputBoxWitdhChange"],K6=(t,e)=>{const{editorId:i}=t,n={rerender(){I.emit(i,rc)}};e.expose(n)},qo=Qe({name:"MdPreview",props:gb,emits:bb,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noHighlight:s}=t;return mb(t),Ob(t),K6(t,e),Qs(()=>{I.clear(i)}),()=>v("div",{id:i,class:[S,t.class,t.theme==="dark"&&`${S}-dark`,`${S}-previewOnly`],style:t.style},[v(pb,{modelValue:t.modelValue,onHtmlChanged:o=>{t.onHtmlChanged?t.onHtmlChanged(o):e.emit("onHtmlChanged",o)},onGetCatalog:o=>{t.onGetCatalog?t.onGetCatalog(o):e.emit("onGetCatalog",o)},mdHeadingId:t.mdHeadingId,noMermaid:r,sanitize:t.sanitize,noKatex:n,formatCopiedText:t.formatCopiedText,noHighlight:s,noImgZoomIn:t.noImgZoomIn,previewOnly:!0,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null)])}});qo.install=t=>(t.component(qo.name,qo),t);const J6={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},yb=Qe({props:J6,setup(t){return()=>{const{tocItem:e,mdHeadingId:i,scrollElement:n,onClick:r,scrollElementOffsetTop:s}=t;return v("div",{class:[`${S}-catalog-link`,e.active&&`${S}-catalog-active`],onClick:o=>{r(o,e),o.stopPropagation();const l=i(e.text,e.level,e.index),a=document.getElementById(l),u=n instanceof Element?n:document.querySelector(n);if(a&&u){let c=a.offsetParent,h=a.offsetTop;if(u.contains(c))for(;c&&u!=c;)h+=c==null?void 0:c.offsetTop,c=c==null?void 0:c.offsetParent;u==null||u.scrollTo({top:h-s,behavior:"smooth"})}}},[v("span",{title:e.text},[e.text]),v("div",{class:`${S}-catalog-wrapper`},[e.children&&e.children.map(o=>v(yb,{mdHeadingId:i,key:`${e.text}-link-${o.level}-${o.text}`,tocItem:o,scrollElement:n,onClick:r,scrollElementOffsetTop:s},null))])])}}}),eQ=yb,tQ={editorId:{type:String},class:{type:String,default:""},mdHeadingId:{type:Function,default:t=>t},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function},onActive:{type:Function}},is=Qe({name:"MdCatalog",props:tQ,emits:["onClick","onActive"],setup(t,e){const i=t.editorId,n=ct({list:[],show:!1,scrollElement:t.scrollElement||`#${i}-preview-wrapper`}),r=kn(),s=dt(()=>{const u=[];return n.list.forEach((c,h)=>{const{text:f,level:d}=c,p={level:d,text:f,index:h+1,active:r.value===c};if(u.length===0)u.push(p);else{let m=u[u.length-1];if(p.level>m.level)for(let g=m.level+1;g<=6;g++){const{children:O}=m;if(!O){m.children=[p];break}if(m=O[O.length-1],p.level<=m.level){O.push(p);break}}else u.push(p)}}),u}),o=()=>n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement),l=u=>{if(u.length===0)return n.list=[],!1;const{activeHead:c}=u.reduce((h,f,d)=>{const p=document.getElementById(t.mdHeadingId(f.text,f.level,d+1));if(p instanceof HTMLElement){const m=o(),g=ny(p,m);if(gh.minTop)return{activeHead:f,minTop:g}}return h},{activeHead:u[0],minTop:Number.MIN_SAFE_INTEGER});r.value=c,n.list=u},a=()=>{l(n.list)};return J(()=>r.value,u=>{const c=u?{...u}:void 0;t.onActive?t.onActive(c):e.emit("onActive",c)}),Ee(()=>{let u=window;const c=()=>{const h=o();u=h===document.documentElement?window:h};I.on(i,{name:To,callback:h=>{u==null||u.removeEventListener("scroll",a),l(h),c(),u==null||u.addEventListener("scroll",a)}}),I.emit(i,g0),c(),u==null||u.addEventListener("scroll",a)}),Qs(()=>{var u;const c=o();(u=c===document.documentElement?window:c)==null||u.removeEventListener("scroll",a)}),()=>v("div",{class:`${S}-catalog${t.theme==="dark"?"-dark":""} ${t.class}`},[s.value.map(u=>v(eQ,{mdHeadingId:t.mdHeadingId,tocItem:u,key:`link-${u.level}-${u.text}`,scrollElement:n.scrollElement,onClick:(c,h)=>{t.onClick?t.onClick(c,h):e.emit("onClick",c,h)},scrollElementOffsetTop:t.scrollElementOffsetTop},null))])}});is.install=t=>(t.component(is.name,is),t);const iQ={title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String}},Yo=Qe({name:"NormalToolbar",props:iQ,emits:["onClick"],setup(t,e){return()=>{const i=Dt({props:t,ctx:e},"trigger");return v("div",{class:`${S}-toolbar-item`,title:t.title,onClick:n=>{t.onClick instanceof Function?t.onClick(n):e.emit("onClick",n)}},[i])}}});Yo.install=t=>(t.component(Yo.name,Yo),t);function nQ(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!$b(t)}const rQ={title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String}},No=Qe({name:"ModalToolbar",props:rQ,emits:["onClick","onClose","onAdjust"],setup(t,e){return()=>{const i=Dt({props:t,ctx:e},"trigger"),n=Dt({props:t,ctx:e},"default");return v(Al,null,[v("div",{class:`${S}-toolbar-item`,title:t.title,onClick:()=>{t.onClick instanceof Function?t.onClick():e.emit("onClick")}},[i]),v(zn,{width:t.width,height:t.height,title:t.modalTitle,visible:t.visible,onClose:()=>{t.onClose instanceof Function?t.onClose():e.emit("onClose")},showAdjust:t.showAdjust,isFullscreen:t.isFullscreen,onAdjust:r=>{t.onAdjust instanceof Function?t.onAdjust(r):e.emit("onAdjust",r)}},nQ(n)?n:{default:()=>[n]})])}}});No.install=t=>(t.component(No.name,No),t);var sQ=Object.defineProperty,oQ=(t,e,i)=>e in t?sQ(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Li=(t,e,i)=>(oQ(t,typeof e!="symbol"?e+"":e,i),i);const lQ=Qe({setup(){return()=>v("div",{class:`${S}-divider`},null)}}),aQ={noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean},showToolbarName:{type:Boolean}},uQ=t=>{const e=ne("editorId"),{editorExtensions:i,editorExtensionsAttrs:n}=ze;let r=i.screenfull.instance;const s=de(!1),o=u=>{if(!r){I.emit(e,Cn,{name:"fullscreen",message:"fullscreen is undefined"});return}r.isEnabled?(s.value=!0,(u===void 0?!r.isFullscreen:u)?r.request():r.exit()):console.error("browser does not support screenfull!")},l=()=>{r&&r.isEnabled&&r.on("change",()=>{(s.value||t.setting.fullscreen)&&(s.value=!1,t.updateSetting("fullscreen"))})},a=()=>{r=window.screenfull,l()};return Ee(()=>{var u;l(),r||Ot("script",{...(u=n.screenfull)==null?void 0:u.js,src:i.screenfull.js,id:`${S}-screenfull`,onload:a},"screenfull")}),Ee(()=>{I.on(e,{name:p0,callback:o})}),{fullscreenHandler:o}},cQ={tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},hQ=Qe({name:"TableShape",props:cQ,setup(t){const e=ct({x:-1,y:-1}),i=()=>{const r=[...t.tableShape];return(!r[2]||r[2]t.tableShape,()=>{n.value=i()}),()=>v("div",{class:`${S}-table-shape`,onMouseleave:()=>{n.value=i(),e.x=-1,e.y=-1}},[new Array(n.value[1]).fill("").map((r,s)=>v("div",{class:`${S}-table-shape-row`,key:`table-shape-row-${s}`},[new Array(n.value[0]).fill("").map((o,l)=>v("div",{class:`${S}-table-shape-col`,key:`table-shape-col-${l}`,onMouseenter:()=>{e.x=s,e.y=l,l+1===n.value[0]&&l+1t.tableShape[0]&&n.value[0]--,s+1===n.value[1]&&s+1t.tableShape[1]&&n.value[1]--},onClick:()=>{t.onSelected(e)}},[v("div",{class:[`${S}-table-shape-col-default`,s<=e.x&&l<=e.y&&`${S}-table-shape-col-include`]},null)]))]))])}}),fQ=hQ,dQ={type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},pQ=Qe({props:dQ,setup(t){const e=ne("usedLanguageText"),i=ne("editorId"),n=dt(()=>{var s,o;switch(t.type){case"link":return(s=e.value.linkModalTips)==null?void 0:s.linkTitle;case"image":return(o=e.value.linkModalTips)==null?void 0:o.imageTitle;default:return""}}),r=ct({desc:"",url:""});return J(()=>t.visible,s=>{s||setTimeout(()=>{r.desc="",r.url=""},200)}),()=>v(zn,{title:n.value,visible:t.visible,onClose:t.onCancel},{default:()=>{var s,o,l,a,u;return[v("div",{class:`${S}-form-item`},[v("label",{class:`${S}-label`,for:`link-desc-${i}`},[(s=e.value.linkModalTips)==null?void 0:s.descLabel]),v("input",{placeholder:(o=e.value.linkModalTips)==null?void 0:o.descLabelPlaceHolder,class:`${S}-input`,id:`link-desc-${i}`,type:"text",value:r.desc,onChange:c=>{r.desc=c.target.value},autocomplete:"off"},null)]),v("div",{class:`${S}-form-item`},[v("label",{class:`${S}-label`,for:`link-url-${i}`},[(l=e.value.linkModalTips)==null?void 0:l.urlLabel]),v("input",{placeholder:(a=e.value.linkModalTips)==null?void 0:a.urlLabelPlaceHolder,class:`${S}-input`,id:`link-url-${i}`,type:"text",value:r.url,onChange:c=>{r.url=c.target.value},autocomplete:"off"},null)]),v("div",{class:`${S}-form-item`},[v("button",{class:[`${S}-btn`,`${S}-btn-row`],type:"button",onClick:()=>{t.onOk(r),r.desc="",r.url=""}},[(u=e.value.linkModalTips)==null?void 0:u.buttonOK])])]}})}}),mQ={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},OQ=Qe({props:mQ,setup(t){const e=ne("usedLanguageText"),i=ne("editorId");let n=ze.editorExtensions.cropper.instance;const r=de(),s=de(),o=de(),l=ct({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let a=null;J(()=>t.visible,()=>{t.visible&&!l.cropperInited&&(n=n||window.Cropper,r.value.onchange=()=>{if(!n){I.emit(i,Cn,{name:"Cropper",message:"Cropper is undefined"});return}const c=r.value.files||[];if(l.imgSelected=!0,(c==null?void 0:c.length)>0){const h=new FileReader;h.onload=f=>{l.imgSrc=f.target.result,bi(()=>{a=new n(s.value,{viewMode:2,preview:`.${S}-clip-preview-target`})})},h.readAsDataURL(c[0])}})}),J(()=>[l.imgSelected],()=>{o.value.style=""}),J(()=>l.isFullscreen,()=>{bi(()=>{a==null||a.destroy(),o.value.style="",s.value&&(a=new n(s.value,{viewMode:2,preview:`.${S}-clip-preview-target`}))})});const u=()=>{a.clear(),a.destroy(),a=null,r.value.value="",l.imgSelected=!1};return()=>{var c;return v(zn,{class:`${S}-modal-clip`,title:(c=e.value.clipModalTips)==null?void 0:c.title,visible:t.visible,onClose:t.onCancel,showAdjust:!0,isFullscreen:l.isFullscreen,onAdjust:h=>{l.isFullscreen=h},width:"668px",height:"421px"},{default:()=>{var h,f;return[v("div",{class:`${S}-form-item ${S}-clip`},[v("div",{class:`${S}-clip-main`},[l.imgSelected?v("div",{class:`${S}-clip-cropper`},[v("img",{src:l.imgSrc,ref:s,style:{display:"none"},alt:""},null),v("div",{class:`${S}-clip-delete`,onClick:u},[v(re,{name:"delete"},null)])]):v("div",{class:`${S}-clip-upload`,onClick:()=>{r.value.click()}},[v(re,{name:"upload"},null)])]),v("div",{class:`${S}-clip-preview`},[v("div",{class:`${S}-clip-preview-target`,ref:o},null)])]),v("div",{class:`${S}-form-item`},[v("button",{class:`${S}-btn`,type:"button",onClick:()=>{if(a){const d=a.getCroppedCanvas();I.emit(i,El,[ty(d.toDataURL("image/png"))],t.onOk),u()}}},[((h=e.value.clipModalTips)==null?void 0:h.buttonUpload)||((f=e.value.linkModalTips)==null?void 0:f.buttonOK)])]),v("input",{ref:r,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),gQ={type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},bQ=Qe({props:gQ,setup(t){return()=>v(Al,null,[v(pQ,{type:t.type,visible:t.linkVisible,onOk:t.onOk,onCancel:t.onCancel},null),v(OQ,{visible:t.clipVisible,onOk:t.onOk,onCancel:t.onCancel},null)])}}),yQ=Qe({name:"MDEditorToolbar",props:aQ,setup(t){const e=ne("editorId"),i=ne("usedLanguageText"),n=ne("theme"),r=ne("previewTheme"),s=ne("language"),{fullscreenHandler:o}=uQ(t),l=`${e}-toolbar-wrapper`,a=de(),u=ct({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),c=(O,y)=>{I.emit(e,fe,O,y)},h=ct({type:"link",linkVisible:!1,clipVisible:!1}),f=de();Ee(()=>{I.on(e,{name:Ba,callback(O){h.type=O,h.linkVisible=!0}})});const d=dt(()=>{const O=t.toolbars.filter(_=>!t.toolbarsExclude.includes(_)),y=O.indexOf("="),k=y===-1?O:O.slice(0,y+1),w=y===-1?[]:O.slice(y,Number.MAX_SAFE_INTEGER);return[k,w]}),p=de(),m=()=>{I.emit(e,El,Array.from(p.value.files||[])),p.value.value=""};Ee(()=>{p.value.addEventListener("change",m)});const g=O=>{var y,k,w,_,A,C,$,R,M,X,Z,L,W,z,q,ee,te,pe,le,me,Te,De,ye,Oe,Zi,Fs,cn,zs,js,An,Tn,Bs,qs,En,Ys,Ns,$r,ah,uh,ch,hh,fh,dh,ph,mh,Oh,gh,bh,yh,xh,kh,vh,Sh,wh,_h,$h,Ph,Ch,Qh,Ah,Th,Eh,Zh,Dh,Rh,Ih,Lh,Xh,Mh;if(f0.includes(O))switch(O){case"-":return v(lQ,null,null);case"bold":return v("div",{class:`${S}-toolbar-item`,title:(y=i.value.toolbarTips)==null?void 0:y.bold,onClick:()=>{c("bold")}},[v(re,{name:"bold"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(k=i.value.toolbarTips)==null?void 0:k.bold])]);case"underline":return v("div",{class:`${S}-toolbar-item`,title:(w=i.value.toolbarTips)==null?void 0:w.underline,onClick:()=>{c("underline")}},[v(re,{name:"underline"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(_=i.value.toolbarTips)==null?void 0:_.underline])]);case"italic":return v("div",{class:`${S}-toolbar-item`,title:(A=i.value.toolbarTips)==null?void 0:A.italic,onClick:()=>{c("italic")}},[v(re,{name:"italic"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(C=i.value.toolbarTips)==null?void 0:C.italic])]);case"strikeThrough":return v("div",{class:`${S}-toolbar-item`,title:($=i.value.toolbarTips)==null?void 0:$.strikeThrough,onClick:()=>{c("strikeThrough")}},[v(re,{name:"strike-through"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(R=i.value.toolbarTips)==null?void 0:R.strikeThrough])]);case"title":return v(Xn,{relative:`#${l}`,visible:u.title,onChange:ae=>{u.title=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.title=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h1")}},[(M=i.value.titleItem)==null?void 0:M.h1]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h2")}},[(X=i.value.titleItem)==null?void 0:X.h2]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h3")}},[(Z=i.value.titleItem)==null?void 0:Z.h3]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h4")}},[(L=i.value.titleItem)==null?void 0:L.h4]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h5")}},[(W=i.value.titleItem)==null?void 0:W.h5]),v("li",{class:`${S}-menu-item ${S}-menu-item-title`,onClick:()=>{c("h6")}},[(z=i.value.titleItem)==null?void 0:z.h6])])},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.title},[v(re,{name:"title"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.title])])]}});case"sub":return v("div",{class:`${S}-toolbar-item`,title:(q=i.value.toolbarTips)==null?void 0:q.sub,onClick:()=>{c("sub")}},[v(re,{name:"sub"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(ee=i.value.toolbarTips)==null?void 0:ee.sub])]);case"sup":return v("div",{class:`${S}-toolbar-item`,title:(te=i.value.toolbarTips)==null?void 0:te.sup,onClick:()=>{c("sup")}},[v(re,{name:"sup"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(pe=i.value.toolbarTips)==null?void 0:pe.sup])]);case"quote":return v("div",{class:`${S}-toolbar-item`,title:(le=i.value.toolbarTips)==null?void 0:le.quote,onClick:()=>{c("quote")}},[v(re,{name:"quote"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(me=i.value.toolbarTips)==null?void 0:me.quote])]);case"unorderedList":return v("div",{class:`${S}-toolbar-item`,title:(Te=i.value.toolbarTips)==null?void 0:Te.unorderedList,onClick:()=>{c("unorderedList")}},[v(re,{name:"unordered-list"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(De=i.value.toolbarTips)==null?void 0:De.unorderedList])]);case"orderedList":return v("div",{class:`${S}-toolbar-item`,title:(ye=i.value.toolbarTips)==null?void 0:ye.orderedList,onClick:()=>{c("orderedList")}},[v(re,{name:"ordered-list"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Oe=i.value.toolbarTips)==null?void 0:Oe.orderedList])]);case"task":return v("div",{class:`${S}-toolbar-item`,title:(Zi=i.value.toolbarTips)==null?void 0:Zi.task,onClick:()=>{c("task")}},[v(re,{name:"task"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Fs=i.value.toolbarTips)==null?void 0:Fs.task])]);case"codeRow":return v("div",{class:`${S}-toolbar-item`,title:(cn=i.value.toolbarTips)==null?void 0:cn.codeRow,onClick:()=>{c("codeRow")}},[v(re,{name:"code-row"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(zs=i.value.toolbarTips)==null?void 0:zs.codeRow])]);case"code":return v("div",{class:`${S}-toolbar-item`,title:(js=i.value.toolbarTips)==null?void 0:js.code,onClick:()=>{c("code")}},[v(re,{name:"code"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(An=i.value.toolbarTips)==null?void 0:An.code])]);case"link":return v("div",{class:`${S}-toolbar-item`,title:(Tn=i.value.toolbarTips)==null?void 0:Tn.link,onClick:()=>{h.type="link",h.linkVisible=!0}},[v(re,{name:"link"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Bs=i.value.toolbarTips)==null?void 0:Bs.link])]);case"image":return t.noUploadImg?v("div",{class:`${S}-toolbar-item`,title:(qs=i.value.toolbarTips)==null?void 0:qs.image,onClick:()=>{h.type="image",h.linkVisible=!0}},[v(re,{name:"image"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(En=i.value.toolbarTips)==null?void 0:En.image])]):v(Xn,{relative:`#${l}`,visible:u.image,onChange:ae=>{u.image=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.title=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-image`,onClick:()=>{h.type="image",h.linkVisible=!0}},[(Ys=i.value.imgTitleItem)==null?void 0:Ys.link]),v("li",{class:`${S}-menu-item ${S}-menu-item-image`,onClick:()=>{p.value.click()}},[(Ns=i.value.imgTitleItem)==null?void 0:Ns.upload]),v("li",{class:`${S}-menu-item ${S}-menu-item-image`,onClick:()=>{h.clipVisible=!0}},[($r=i.value.imgTitleItem)==null?void 0:$r.clip2upload])])},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.image},[v(re,{name:"image"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.image])])]}});case"table":return v(Xn,{relative:`#${l}`,visible:u.table,onChange:ae=>{u.table=ae},key:"bar-table",overlay:v(fQ,{tableShape:t.tableShape,onSelected:ae=>{c("table",{selectedShape:ae})}},null)},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.table},[v(re,{name:"table"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.table])])]}});case"revoke":return v("div",{class:`${S}-toolbar-item`,title:(ah=i.value.toolbarTips)==null?void 0:ah.revoke,onClick:()=>{I.emit(e,m0)}},[v(re,{name:"revoke"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(uh=i.value.toolbarTips)==null?void 0:uh.revoke])]);case"next":return v("div",{class:`${S}-toolbar-item`,title:(ch=i.value.toolbarTips)==null?void 0:ch.next,onClick:()=>{I.emit(e,O0)}},[v(re,{name:"next"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(hh=i.value.toolbarTips)==null?void 0:hh.next])]);case"save":return v("div",{class:`${S}-toolbar-item`,title:(fh=i.value.toolbarTips)==null?void 0:fh.save,onClick:()=>{I.emit(e,Tl)}},[v(re,{name:"baocun"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(dh=i.value.toolbarTips)==null?void 0:dh.save])]);case"prettier":return t.noPrettier?"":v("div",{class:`${S}-toolbar-item`,title:(ph=i.value.toolbarTips)==null?void 0:ph.prettier,onClick:()=>{c("prettier")}},[v(re,{name:"prettier"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(mh=i.value.toolbarTips)==null?void 0:mh.prettier])]);case"pageFullscreen":return!t.setting.fullscreen&&v("div",{class:`${S}-toolbar-item`,title:(Oh=i.value.toolbarTips)==null?void 0:Oh.pageFullscreen,onClick:()=>{t.updateSetting("pageFullscreen")}},[v(re,{name:t.setting.pageFullscreen?"suoxiao":"fangda"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(gh=i.value.toolbarTips)==null?void 0:gh.pageFullscreen])]);case"fullscreen":return v("div",{class:`${S}-toolbar-item`,title:(bh=i.value.toolbarTips)==null?void 0:bh.fullscreen,onClick:()=>{o()}},[v(re,{name:t.setting.fullscreen?"fullscreen-exit":"fullscreen"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(yh=i.value.toolbarTips)==null?void 0:yh.fullscreen])]);case"preview":return v("div",{class:`${S}-toolbar-item`,title:(xh=i.value.toolbarTips)==null?void 0:xh.preview,onClick:()=>{t.updateSetting("preview")}},[v(re,{name:"preview"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(kh=i.value.toolbarTips)==null?void 0:kh.preview])]);case"previewOnly":return v("div",{class:`${S}-toolbar-item`,title:(vh=i.value.toolbarTips)==null?void 0:vh.previewOnly,onClick:()=>{t.updateSetting("previewOnly")}},[v(re,{name:"preview-only"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Sh=i.value.toolbarTips)==null?void 0:Sh.previewOnly])]);case"htmlPreview":return v("div",{class:`${S}-toolbar-item`,title:(wh=i.value.toolbarTips)==null?void 0:wh.htmlPreview,onClick:()=>{t.updateSetting("htmlPreview")}},[v(re,{name:"coding"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(_h=i.value.toolbarTips)==null?void 0:_h.htmlPreview])]);case"catalog":return v("div",{class:`${S}-toolbar-item`,title:($h=i.value.toolbarTips)==null?void 0:$h.catalog,onClick:()=>{I.emit(e,nc)},key:"bar-catalog"},[v(re,{name:"catalog"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Ph=i.value.toolbarTips)==null?void 0:Ph.catalog])]);case"github":return v("div",{class:`${S}-toolbar-item`,title:(Ch=i.value.toolbarTips)==null?void 0:Ch.github,onClick:()=>Lb("https://github.com/imzbf/md-editor-v3")},[v(re,{name:"github"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Qh=i.value.toolbarTips)==null?void 0:Qh.github])]);case"mermaid":return v(Xn,{relative:`#${l}`,visible:u.mermaid,onChange:ae=>{u.mermaid=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.mermaid=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("flow")}},[(Ah=i.value.mermaid)==null?void 0:Ah.flow]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("sequence")}},[(Th=i.value.mermaid)==null?void 0:Th.sequence]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("gantt")}},[(Eh=i.value.mermaid)==null?void 0:Eh.gantt]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("class")}},[(Zh=i.value.mermaid)==null?void 0:Zh.class]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("state")}},[(Dh=i.value.mermaid)==null?void 0:Dh.state]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("pie")}},[(Rh=i.value.mermaid)==null?void 0:Rh.pie]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("relationship")}},[(Ih=i.value.mermaid)==null?void 0:Ih.relationship]),v("li",{class:`${S}-menu-item ${S}-menu-item-mermaid`,onClick:()=>{c("journey")}},[(Lh=i.value.mermaid)==null?void 0:Lh.journey])]),key:"bar-mermaid"},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.mermaid},[v(re,{name:"mermaid"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.mermaid])])]}});case"katex":return v(Xn,{relative:`#${l}`,visible:u.katex,onChange:ae=>{u.katex=ae},overlay:v("ul",{class:`${S}-menu`,onClick:()=>{u.katex=!1}},[v("li",{class:`${S}-menu-item ${S}-menu-item-katex`,onClick:()=>{c("katexInline")}},[(Xh=i.value.katex)==null?void 0:Xh.inline]),v("li",{class:`${S}-menu-item ${S}-menu-item-katex`,onClick:()=>{c("katexBlock")}},[(Mh=i.value.katex)==null?void 0:Mh.block])]),key:"bar-katex"},{default:()=>{var ae,Je;return[v("div",{class:`${S}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.katex},[v(re,{name:"formula"},null),t.showToolbarName&&v("div",{class:`${S}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.katex])])]}})}else if(t.defToolbars instanceof Array){const ae=t.defToolbars[O];return ae?Wa(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Ul){I.emit(e,fe,"universal",{generate:Ul})}}):""}else if(t.defToolbars&&t.defToolbars.children instanceof Array){const ae=t.defToolbars.children[O];return ae?Wa(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Ul){I.emit(e,fe,"universal",{generate:Ul})}}):""}else return""};return J(()=>t.toolbars,()=>{bi(()=>{a.value&&Mb(a.value)})},{immediate:!0}),()=>{const O=d.value[0].map(k=>g(k)),y=d.value[1].map(k=>g(k));return v(Al,null,[t.toolbars.length>0&&v("div",{class:`${S}-toolbar-wrapper`,ref:a,id:l},[v("div",{class:[`${S}-toolbar`,t.showToolbarName&&`${S}-stn`]},[v("div",{class:`${S}-toolbar-left`,ref:f},[O]),v("div",{class:`${S}-toolbar-right`},[y])])]),v("input",{ref:p,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),v(bQ,{linkVisible:h.linkVisible,clipVisible:h.clipVisible,type:h.type,onCancel:()=>{h.linkVisible=!1,h.clipVisible=!1},onOk:k=>{k&&c(h.type,{desc:k.desc,url:k.url,transform:h.type==="image"}),h.linkVisible=!1,h.clipVisible=!1}},null)])}}}),xQ=`.${S}-preview > [data-line]`,La=(t,e)=>+getComputedStyle(t).getPropertyValue(e).replace("px",""),kQ=(t,e)=>{const i=ic(()=>{t.removeEventListener("scroll",n),t.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=r=>{const s=t.clientHeight,o=e.clientHeight,l=t.scrollHeight,a=e.scrollHeight,u=(l-s)/(a-o);r.target===t?(e.removeEventListener("scroll",n),e.scrollTo({top:t.scrollTop/u}),i()):(t.removeEventListener("scroll",n),t.scrollTo({top:e.scrollTop*u}),i())};return[()=>{i().finally(()=>{t.dispatchEvent(new Event("scroll"))})},()=>{t.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},vQ=(t,e,i)=>{const{view:n}=i,r=Xb(),s=O=>n.lineBlockAt(n.state.doc.line(O+1).from).top,o=O=>n.lineBlockAt(n.state.doc.line(O+1).from).bottom;let l=[],a=[],u=[];const c=()=>{l=[],a=Array.from(e.querySelectorAll(xQ)),u=a.map(_=>Number(_.dataset.line));const O=[...u],{lines:y}=n.state.doc;let k=O.shift()||0,w=O.shift()||y;for(let _=0;_{let k=0;for(let w=a.length-1;w-1>=0;w--){const _=a[w],A=a[w-1];if(_.offsetTop+_.offsetHeight>y&&A.offsetTop=0;w--){const _=o(l[w].end),A=s(l[w].start);if(_>O&&A<=O){k=k{var O,y,k;if(d!==0)return!1;f++;const{scrollDOM:w,contentHeight:_}=n;let A=La(e,"padding-top");const C=n.lineBlockAtHeight(w.scrollTop),{number:$}=n.state.doc.lineAt(C.from),R=l[$-1];if(!R)return!1;let M=1;const X=e.querySelector(`[data-line="${R.start}"]`)||((O=e.firstElementChild)==null?void 0:O.firstElementChild),Z=e.querySelector(`[data-line="${R.end+1}"]`)||((y=e.lastElementChild)==null?void 0:y.lastElementChild),L=w.scrollHeight-w.clientHeight,W=e.scrollHeight-e.clientHeight;let z=s(R.start),q=o(R.end),ee=X.offsetTop,te=Z.offsetTop-ee;if(z===0&&(ee=0,X===Z?(A=0,q=_-w.offsetHeight,te=W):te=Z.offsetTop),M=(w.scrollTop-z+La(n.contentDOM,"padding-bottom"))/(q-z),z>0&&(q>=L||Z.offsetTop+Z.clientHeight>W)){const le=h(L,W);z=s(le),M=(w.scrollTop-z)/(L-z),ee=(k=document.querySelector(`[data-line="${le}"]`))==null?void 0:k.offsetTop,te=W-ee+La(e,"padding-top")}const pe=ee-A+te*M;r(e,pe,()=>{f--})},m=()=>{var O,y,k,w,_,A,C;if(f!==0)return;d++;const{scrollDOM:$}=n,R=e.scrollTop,M=e.scrollHeight,X=$.scrollHeight-$.clientHeight,Z=e.scrollHeight-e.clientHeight;let L=(O=e.firstElementChild)==null?void 0:O.firstElementChild,W=(y=e.firstElementChild)==null?void 0:y.lastElementChild;if(u.length>0){let De=Math.ceil(u[u.length-1]*(R/M)),ye=u.findLastIndex(Oe=>Oe<=De);ye=ye===-1?0:ye,De=u[ye];for(let Oe=ye;Oe>=0&&OeR){if(Oe-1>=0){Oe--;continue}De=-1,ye=Oe;break}else{if(Oe+1X||W.offsetTop+W.offsetHeight>Z){const De=h(X,Z);z=(A=document.querySelector(`[data-line="${De}"]`))==null?void 0:A.offsetTop,le=s(De),ee=(R-z)/(Z-z),Te=X-le}else L===((C=e.firstElementChild)==null?void 0:C.firstElementChild)?(L===W&&(q=W.offsetTop+W.offsetHeight+ +getComputedStyle(W).marginBottom.replace("px","")),Te=me,ee=Math.max(R/q,0)):(ee=Math.max((R-z)/(q-z),0),Te=me-le);r(t,le+Te*ee,()=>{d--})},g=c0(O=>{var y;const{scrollDOM:k,contentHeight:w}=n,_=k.clientHeight;if(w<=_||e.firstElementChild.clientHeight<=e.clientHeight)return!1;if(n.state.doc.lines<((y=l[l.length-1])==null?void 0:y.end))return c(),!1;O.target===t?p():m()},1);return[()=>{c(),t.addEventListener("scroll",g),e.addEventListener("scroll",g),t.dispatchEvent(new Event("scroll"))},()=>{t.removeEventListener("scroll",g),e.removeEventListener("scroll",g)}]},SQ=(t,e,i)=>{const n=ne("editorId");let r=()=>{},s=()=>{};const o=()=>{r();const l=document.querySelector(`#${n} .cm-scroller`),a=document.querySelector(`[id="${n}-preview-wrapper"]`),u=document.querySelector(`[id="${n}-html-wrapper"]`);(a||u)&&([s,r]=(a?vQ:kQ)(l,a||u,i.value),t.scrollAuto&&s())};J([e,Ni(t.setting,"preview"),Ni(t.setting,"htmlPreview"),Ni(t.setting,"fullscreen"),Ni(t.setting,"pageFullscreen")],()=>{bi(o)}),J(()=>t.scrollAuto,l=>{l?s():r()}),J(()=>t.setting.previewOnly,l=>{l?r():s()}),Ee(o)},Xa=(t,e,i)=>{var n;let r="",s=0,o=0,l=!0,a=!1;const u=e.getSelectedText(),c=ze.editorConfig.mermaidTemplate;if(/^h[1-6]{1}$/.test(t)){const h=t.replace(/^h(\d)/,(f,d)=>new Array(Number(d)).fill("#",0,d).join(""));r=`${h} ${u}`,s=h.length+1}else if(t==="prettier"){const h=window.prettier||ze.editorExtensions.prettier.prettierInstance,f=[((n=window.prettierPlugins)==null?void 0:n.markdown)||ze.editorExtensions.prettier.parserMarkdownInstance];!h||f[0]===void 0?(I.emit(i.editorId,Cn,{name:"prettier",message:"prettier is undefined"}),r=e.getValue()):r=h.format(e.getValue(),{parser:"markdown",plugins:f}),l=!1,a=!0}else switch(t){case"bold":{r=`**${u}**`,s=2,o=-2;break}case"underline":{r=`${u}`,s=3,o=-4;break}case"italic":{r=`*${u}*`,s=1,o=-1;break}case"strikeThrough":{r=`~~${u}~~`,s=2,o=-2;break}case"sub":{r=`${u}`,s=5,o=-6;break}case"sup":{r=`${u}`,s=5,o=-6;break}case"codeRow":{r="`"+u+"`",s=1,o=-1;break}case"quote":{r=`> ${u}`,s=2;break}case"orderedList":{r=`1. ${u}`,s=3;break}case"unorderedList":{r=`- ${u}`,s=2;break}case"task":{r=`- [ ] ${u}`,s=6;break}case"code":{const h=i.text||u||"",f=i.mode||"language";r=`\`\`\`${f} ${h} \`\`\` `,s=3,o=3+f.length-r.length;break}case"table":{r="|";const{selectedShape:h={x:1,y:1}}=i,{x:f,y:d}=h;for(let p=0;p<=d;p++)r+=" col |";r+=` @@ -137,11 +137,11 @@ ${(c==null?void 0:c.journey)||`journey `,s=3,o=10-r.length;break}case"katexInline":{r="$$",s=1,o=-1;break}case"katexBlock":{r=`$$ $$ -`,s=3,o=-4;break}case"universal":{const{generate:h}=i,f=h(u);r=f.targetValue,l=f.select??!0,s=f.deviationStart||0,o=f.deviationEnd||0}}return{text:r,options:{select:l,deviationStart:s,deviationEnd:o,replaceAll:a}}},wQ="#e5c07b",N0="var(--md-color)",_Q="#56b6c2",$Q="#ffffff",qr="var(--md-color)",U0="#e5c07b",PQ="#e5c07b",CQ="var(--md-color)",G0="#d19a66",QQ="#c678dd",AQ="#21252b",TQ="#2c313a",H0="var(--md-bk-color)",Ma="var(--md-bk-color)",EQ="#ceedfa33",K0="#528bff",ZQ=j.theme({"&":{color:qr,backgroundColor:H0},".cm-content":{caretColor:K0},".cm-cursor, .cm-dropCursor":{borderLeftColor:K0},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:EQ},".cm-panels":{backgroundColor:AQ,color:qr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:H0,color:qr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:TQ},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Ma},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ma,borderBottomColor:Ma},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:qr}}},{dark:!0}),DQ=kr.define([{tag:b.keyword,color:QQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:N0},{tag:[b.function(b.variableName),b.labelName],color:PQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:G0},{tag:[b.definition(b.name),b.separator],color:qr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:wQ},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:_Q},{tag:[b.meta,b.comment],color:U0},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:U0,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:N0},{tag:[b.atom,b.bool,b.special(b.variableName)],color:G0},{tag:[b.processingInstruction,b.string,b.inserted],color:CQ},{tag:b.invalid,color:$Q}]),J0=[ZQ,Hm(DQ)],RQ="#e5c07b",ep="#3f4a54",IQ="#56b6c2",LQ="#fff",Yr="#3f4a54",tp="#2d8cf0",XQ="#2d8cf0",MQ="#3f4a54",ip="#d19a66",VQ="#c678dd",WQ="#f6f6f6",FQ="#ceedfa33",np="var(--md-bk-color)",Va="var(--md-bk-color)",zQ="#bad5fa",rp="#3f4a54",jQ=j.theme({"&":{color:Yr,backgroundColor:np},".cm-content":{caretColor:rp},".cm-cursor, .cm-dropCursor":{borderLeftColor:rp},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:zQ},".cm-panels":{backgroundColor:WQ,color:Yr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:np,color:Yr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:FQ},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Va},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Va,borderBottomColor:Va},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:Yr}}}),BQ=kr.define([{tag:b.keyword,color:VQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:ep},{tag:[b.function(b.variableName),b.labelName],color:XQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:ip},{tag:[b.definition(b.name),b.separator],color:Yr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:RQ},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:IQ},{tag:[b.meta,b.comment],color:tp},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:tp,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:ep},{tag:[b.atom,b.bool,b.special(b.variableName)],color:ip},{tag:[b.processingInstruction,b.string,b.inserted],color:MQ},{tag:b.invalid,color:LQ}]),sp=[jQ,Hm(BQ)],Co=(t,e,i,n,r)=>(s,o,l,a)=>{const u=`${t}${e}`.slice(a-l);s.dispatch(s.state.replaceSelection(`${u}${i}${n}`));const c=l+o.label.length+(r==="title"?i.length:0);s.dispatch({selection:T.create([T.range(l+o.label.length+(r==="title"?1:-e.length),c),T.cursor(c)],1)}),s.focus()},op=t=>(e,i,n,r)=>{const s=t.slice(r-n);e.dispatch(e.state.replaceSelection(`${s} `))},lp=t=>{const e=i=>{const n=i.matchBefore(/^#+|^-\s*\[*\s*\]*|`+|\[|!\[*|^\|\s?\|?|\$\$?|!+\s*\w*/);return n===null||n.from==n.to&&i.explicit?null:{from:n.from,options:[...["h1","h2","h3","h4","h5","h6"].map((r,s)=>{const o=new Array(s+1).fill("#").join("");return{label:o,type:"text",apply:op(o)}}),...["unchecked","checked"].map(r=>{const s=r==="checked"?"- [x]":"- [ ]";return{label:s,type:"text",apply:op(s)}}),...[["`",""],["```","language"],["```mermaid\n",""]].map(r=>({label:`${r[0]}${r[1]}`,type:"text",apply:Co(r[0],r[1],"",r[0]==="`"?"`":"\n```","type")})),{label:"[]()",type:"text"},{label:"![]()",type:"text"},{label:"| |",type:"text",detail:"table",apply:`| col | col | col | +`,s=3,o=-4;break}case"universal":{const{generate:h}=i,f=h(u);r=f.targetValue,l=f.select??!0,s=f.deviationStart||0,o=f.deviationEnd||0}}return{text:r,options:{select:l,deviationStart:s,deviationEnd:o,replaceAll:a}}},wQ="#e5c07b",Np="var(--md-color)",_Q="#56b6c2",$Q="#ffffff",qr="var(--md-color)",Up="#e5c07b",PQ="#e5c07b",CQ="var(--md-color)",Gp="#d19a66",QQ="#c678dd",AQ="#21252b",TQ="#2c313a",Hp="var(--md-bk-color)",Ma="var(--md-bk-color)",EQ="#ceedfa33",Kp="#528bff",ZQ=j.theme({"&":{color:qr,backgroundColor:Hp},".cm-content":{caretColor:Kp},".cm-cursor, .cm-dropCursor":{borderLeftColor:Kp},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:EQ},".cm-panels":{backgroundColor:AQ,color:qr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Hp,color:qr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:TQ},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Ma},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ma,borderBottomColor:Ma},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:qr}}},{dark:!0}),DQ=kr.define([{tag:b.keyword,color:QQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:Np},{tag:[b.function(b.variableName),b.labelName],color:PQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:Gp},{tag:[b.definition(b.name),b.separator],color:qr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:wQ},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:_Q},{tag:[b.meta,b.comment],color:Up},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:Up,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:Np},{tag:[b.atom,b.bool,b.special(b.variableName)],color:Gp},{tag:[b.processingInstruction,b.string,b.inserted],color:CQ},{tag:b.invalid,color:$Q}]),Jp=[ZQ,Hm(DQ)],RQ="#e5c07b",e0="#3f4a54",IQ="#56b6c2",LQ="#fff",Yr="#3f4a54",t0="#2d8cf0",XQ="#2d8cf0",MQ="#3f4a54",i0="#d19a66",VQ="#c678dd",WQ="#f6f6f6",FQ="#ceedfa33",n0="var(--md-bk-color)",Va="var(--md-bk-color)",zQ="#bad5fa",r0="#3f4a54",jQ=j.theme({"&":{color:Yr,backgroundColor:n0},".cm-content":{caretColor:r0},".cm-cursor, .cm-dropCursor":{borderLeftColor:r0},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:zQ},".cm-panels":{backgroundColor:WQ,color:Yr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:n0,color:Yr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:FQ},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Va},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Va,borderBottomColor:Va},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:Yr}}}),BQ=kr.define([{tag:b.keyword,color:VQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:e0},{tag:[b.function(b.variableName),b.labelName],color:XQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:i0},{tag:[b.definition(b.name),b.separator],color:Yr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:RQ},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:IQ},{tag:[b.meta,b.comment],color:t0},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:t0,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:e0},{tag:[b.atom,b.bool,b.special(b.variableName)],color:i0},{tag:[b.processingInstruction,b.string,b.inserted],color:MQ},{tag:b.invalid,color:LQ}]),s0=[jQ,Hm(BQ)],Co=(t,e,i,n,r)=>(s,o,l,a)=>{const u=`${t}${e}`.slice(a-l);s.dispatch(s.state.replaceSelection(`${u}${i}${n}`));const c=l+o.label.length+(r==="title"?i.length:0);s.dispatch({selection:T.create([T.range(l+o.label.length+(r==="title"?1:-e.length),c),T.cursor(c)],1)}),s.focus()},o0=t=>(e,i,n,r)=>{const s=t.slice(r-n);e.dispatch(e.state.replaceSelection(`${s} `))},l0=t=>{const e=i=>{const n=i.matchBefore(/^#+|^-\s*\[*\s*\]*|`+|\[|!\[*|^\|\s?\|?|\$\$?|!+\s*\w*/);return n===null||n.from==n.to&&i.explicit?null:{from:n.from,options:[...["h1","h2","h3","h4","h5","h6"].map((r,s)=>{const o=new Array(s+1).fill("#").join("");return{label:o,type:"text",apply:o0(o)}}),...["unchecked","checked"].map(r=>{const s=r==="checked"?"- [x]":"- [ ]";return{label:s,type:"text",apply:o0(s)}}),...[["`",""],["```","language"],["```mermaid\n",""]].map(r=>({label:`${r[0]}${r[1]}`,type:"text",apply:Co(r[0],r[1],"",r[0]==="`"?"`":"\n```","type")})),{label:"[]()",type:"text"},{label:"![]()",type:"text"},{label:"| |",type:"text",detail:"table",apply:`| col | col | col | | - | - | - | | content | content | content | | content | content | content |`},{label:"$",type:"text",apply:Co("$","","","$","type")},{label:"$$",type:"text",apply:Co("$$","",` `,` $$`,"title")},...["note","abstract","info","tip","success","question","warning","failure","danger","bug","example","quote","hint","caution","error","attention"].map(r=>({label:`!!! ${r}`,type:"text",apply:Co("!!!",` ${r}`," Title",` -!!!`,"title")}))]}};return gS({override:t?[e,...t]:[e]})},Ln=t=>{const e=new hi;return n=>(e.get(t.state)?t.dispatch({effects:e.reconfigure(n)}):t.dispatch({effects:ce.appendConfig.of(e.of(n))}),!0)};class qQ{constructor(e){Li(this,"view"),Li(this,"maxLength",Number.MAX_SAFE_INTEGER),Li(this,"toggleTabSize"),Li(this,"togglePlaceholder"),Li(this,"setExtensions"),Li(this,"toggleDisabled"),Li(this,"toggleReadOnly"),Li(this,"toggleMaxlength"),this.view=e,this.toggleTabSize=Ln(this.view),this.togglePlaceholder=Ln(this.view),this.setExtensions=Ln(this.view),this.toggleDisabled=Ln(this.view),this.toggleReadOnly=Ln(this.view),this.toggleMaxlength=Ln(this.view)}getValue(){return this.view.state.doc.toString()}setValue(e,i=0,n=this.view.state.doc.length){this.view.dispatch({changes:{from:i,to:n,insert:e}})}getSelectedText(){const{from:e,to:i}=this.view.state.selection.main;return this.view.state.sliceDoc(e,i)}replaceSelectedText(e,i={select:!0,deviationStart:0,deviationEnd:0,replaceAll:!1},n){try{if(i.replaceAll){if(this.setValue(e),e.length>this.maxLength)throw new Error("The input text is too long");return}if(this.view.state.doc.length-this.getSelectedText().length+e.length>this.maxLength)throw new Error("The input text is too long");const{from:r}=this.view.state.selection.main;if(this.view.dispatch(this.view.state.replaceSelection(e)),i.select){const s=r+e.length+i.deviationEnd;this.view.dispatch({selection:T.create([T.range(r+i.deviationStart,s),T.cursor(s)],1)})}this.view.focus()}catch(r){if(r.message==="The input text is too long")I.emit(n,Cn,{name:"overlength",message:r.message,data:e});else throw r}}setTabSize(e){this.toggleTabSize([oe.tabSize.of(e),xr.of(" ".repeat(e))])}setPlaceholder(e){this.togglePlaceholder(uk(e))}focus(e){if(this.view.focus(),!e)return;let i=0,n=0,r=0;switch(e){case"start":break;case"end":{i=n=r=this.getValue().length;break}default:i=e.rangeAnchor||e.cursorPos,n=e.rangeHead||e.cursorPos,r=e.cursorPos}this.view.dispatch({scrollIntoView:!0,selection:T.create([T.range(i,n),T.cursor(r)],1)})}setDisabled(e){this.toggleDisabled([j.editable.of(!e)])}setReadOnly(e){this.toggleReadOnly([oe.readOnly.of(e)])}setMaxLength(e){this.maxLength=e,this.toggleMaxlength([oe.changeFilter.of(i=>i.newDoc.length<=e)])}}const YQ=(t,e)=>{const i=ne("editorId"),n=s=>{s instanceof Promise?s.then(o=>{I.emit(i,fe,"universal",{generate(){return{targetValue:o}}})}).catch(o=>{console.error(o)}):I.emit(i,fe,"universal",{generate(){return{targetValue:s}}})};return s=>{var o,l,a;if(!s.clipboardData)return;if(s.clipboardData.files.length>0){const{files:m}=s.clipboardData;I.emit(i,El,Array.from(m).filter(g=>/image\/.*/.test(g.type))),s.preventDefault();return}const u=s.clipboardData.getData("text/plain"),c=((o=e.value)==null?void 0:o.view.state.selection.main.to)||0,h=((l=e.value)==null?void 0:l.view.state.doc.lineAt(c).from)||0,f=((a=e.value)==null?void 0:a.view.state.doc.sliceString(h,c))||"",d=/!\[.*\]\(\s*$/.test(f),p=/!\[.*\]\((.*)\s?.*\)/.test(u);if(d){const m=t.transformImgUrl(u);n(m),s.preventDefault();return}else if(p){const m=u.match(new RegExp(`(?<=!\\[.*\\]\\()([^)\\s]+)(?=\\s?["']?.*["']?\\))`,"g"));m?Promise.all(m.map(g=>t.transformImgUrl(g))).then(g=>{n(g.reduce((O,y,k)=>O.replace(m[k],y),u))}):n(u),s.preventDefault();return}if(t.autoDetectCode&&s.clipboardData.types.includes("vscode-editor-data")){const m=JSON.parse(s.clipboardData.getData("vscode-editor-data"));I.emit(i,fe,"code",{mode:m.mode,text:s.clipboardData.getData("text/plain")}),s.preventDefault();return}t.maxlength&&u.length+t.modelValue.length>t.maxlength&&I.emit(i,Cn,{name:"overlength",message:"The input text is too long",data:u})}},NQ=(t,e)=>[{key:"Ctrl-b",mac:"Cmd-b",run:()=>(I.emit(t,fe,"bold"),!0)},{key:"Ctrl-d",mac:"Cmd-d",run:ZO,preventDefault:!0},{key:"Ctrl-s",mac:"Cmd-s",run:w=>(I.emit(t,Tl,w.state.doc.toString()),!0),shift:()=>(I.emit(t,fe,"strikeThrough"),!0)},{key:"Ctrl-u",mac:"Cmd-u",run:()=>(I.emit(t,fe,"underline"),!0),shift:()=>(I.emit(t,fe,"unorderedList"),!0)},{key:"Ctrl-i",mac:"Cmd-i",run:()=>(I.emit(t,fe,"italic"),!0),shift:()=>(I.emit(t,Ba,"image"),!0)},{key:"Ctrl-1",mac:"Cmd-1",run:()=>(I.emit(t,fe,"h1"),!0)},{key:"Ctrl-2",mac:"Cmd-2",run:()=>(I.emit(t,fe,"h2"),!0)},{key:"Ctrl-3",mac:"Cmd-3",run:()=>(I.emit(t,fe,"h3"),!0)},{key:"Ctrl-4",mac:"Cmd-4",run:()=>(I.emit(t,fe,"h4"),!0)},{key:"Ctrl-5",mac:"Cmd-5",run:()=>(I.emit(t,fe,"h5"),!0)},{key:"Ctrl-6",mac:"Cmd-6",run:()=>(I.emit(t,fe,"h6"),!0)},{key:"Ctrl-ArrowUp",mac:"Cmd-ArrowUp",run:()=>(I.emit(t,fe,"sup"),!0)},{key:"Ctrl-ArrowDown",mac:"Cmd-ArrowDown",run:()=>(I.emit(t,fe,"sub"),!0)},{key:"Ctrl-o",mac:"Cmd-o",run:()=>(I.emit(t,fe,"orderedList"),!0)},{key:"Ctrl-c",mac:"Cmd-c",shift:()=>(I.emit(t,fe,"code"),!0),any(w,_){return(_.ctrlKey||_.metaKey)&&_.altKey&&_.code==="KeyC"?(I.emit(t,fe,"codeRow"),!0):!1}},{key:"Ctrl-l",mac:"Cmd-l",run:()=>(I.emit(t,Ba,"link"),!0)},{key:"Ctrl-f",mac:"Cmd-f",shift:()=>e.noPrettier?!1:(I.emit(t,fe,"prettier"),!0)},{any:(w,_)=>(_.ctrlKey||_.metaKey)&&_.altKey&&_.shiftKey&&_.code==="KeyT"?(I.emit(t,fe,"table"),!0):!1},...Tv],UQ=t=>{const e=ne("tabWidth"),i=ne("editorId"),n=ne("theme"),r=de(),s=kn(),o=new hi,l=new hi,a=new hi,u=new hi,c=new hi,h=NQ(i,t),f=de(!1),p={paste:YQ(t,s),blur:t.onBlur,focus:t.onFocus,drop:t.onDrop,compositionstart:()=>{f.value=!0},compositionend:(O,y)=>{f.value=!1,t.updateModelValue(y.state.doc.toString())},input:O=>{t.onInput&&t.onInput(O);const{data:y}=O;t.maxlength&&t.modelValue.length+y.length>t.maxlength&&I.emit(i,Cn,{name:"overlength",message:"The input text is too long",data:y})}},m=[Zs.of([...dv,...S2,...h,pv]),u.of(fd()),o.of(y1({codeLanguages:xS})),j.lineWrapping,j.updateListener.of(O=>{O.docChanged&&(t.onChange(O.state.doc.toString()),f.value||t.updateModelValue(O.state.doc.toString()))}),c.of(j.domEventHandlers(p))],g=()=>{const O=[...m,l.of(n.value==="light"?sp:J0),a.of(lp(t.completions))];return ze.codeMirrorExtensions(n.value,O,[...h])};return Ee(()=>{const O=new j({doc:t.modelValue,parent:r.value,extensions:[g()]}),y=new qQ(O);s.value=y,setTimeout(()=>{y.setTabSize(e),y.setDisabled(t.disabled),y.setReadOnly(t.readonly),t.placeholder&&y.setPlaceholder(t.placeholder),typeof t.maxlength=="number"&&y.setMaxLength(t.maxlength),t.autofocus&&O.focus()},0),I.on(i,{name:mp,callback(){_c(O)}}),I.on(i,{name:Op,callback(){ll(O)}}),I.on(i,{name:fe,callback(k,w={}){var _,A;if(k==="image"&&w.transform){const C=t.transformImgUrl(w.url);if(C instanceof Promise)C.then($=>{var R;const{text:M,options:X}=Xa(k,s.value,{...w,url:$});(R=s.value)==null||R.replaceSelectedText(M,X,i)}).catch($=>{console.error($)});else{const{text:$,options:R}=Xa(k,s.value,{...w,url:C});(_=s.value)==null||_.replaceSelectedText($,R,i)}}else{const{text:C,options:$}=Xa(k,s.value,w);(A=s.value)==null||A.replaceSelectedText(C,$,i)}}}),I.on(i,{name:bp,callback:cp(k=>{var w;const _={...p},A=Object.keys(p);for(const C in k){const $=C;A.includes($)?_[$]=(R,M)=>{k[$](R,M),R.defaultPrevented||p[$](R,M)}:_[$]=k[$]}(w=s.value)==null||w.view.dispatch({effects:c.reconfigure(j.domEventHandlers(_))})})})}),J(n,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:l.reconfigure(n.value==="light"?sp:J0)})},{deep:!0}),J(()=>t.completions,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:a.reconfigure(lp(t.completions))})},{deep:!0}),J(()=>t.modelValue,()=>{var O,y;((O=s.value)==null?void 0:O.getValue())!==t.modelValue&&((y=s.value)==null||y.setValue(t.modelValue))}),J(()=>t.placeholder,()=>{var O;(O=s.value)==null||O.setPlaceholder(t.placeholder)}),J(()=>t.disabled,()=>{var O;(O=s.value)==null||O.setDisabled(t.disabled)}),J(()=>t.readonly,()=>{var O;(O=s.value)==null||O.setDisabled(t.readonly)}),J(()=>t.maxlength,()=>{var O;t.maxlength&&((O=s.value)==null||O.setMaxLength(t.maxlength))}),{inputWrapperRef:r,codeMirrorUt:s,resetHistory(){var O,y;(O=s.value)==null||O.view.dispatch({effects:u.reconfigure([])}),(y=s.value)==null||y.view.dispatch({effects:u.reconfigure(fd())})}}},GQ=(t,e,i)=>{const n=ct({resizedWidth:t.inputBoxWitdh}),r=ct({width:t.inputBoxWitdh}),s=ct({left:t.inputBoxWitdh,display:"initial"}),o=u=>{var c,h,f;const d=((c=e.value)==null?void 0:c.offsetWidth)||0,p=((h=e.value)==null?void 0:h.getBoundingClientRect().x)||0;let m=u.x-p;md-Gs&&(m=d-Gs);const g=`${m}px`;r.width=g,s.left=g,n.resizedWidth=g,(f=t.onInputBoxWitdhChange)==null||f.call(t,g)},l=()=>{document.addEventListener("mousemove",o)},a=()=>{document.removeEventListener("mousemove",o)};return J([i],()=>{var u,c;(u=i.value)==null||u.addEventListener("mousedown",l),(c=i.value)==null||c.addEventListener("mouseup",a)},{immediate:!0}),Qs(()=>{var u,c;(u=i.value)==null||u.removeEventListener("mousedown",l),(c=i.value)==null||c.removeEventListener("mouseup",a)}),J(()=>t.inputBoxWitdh,u=>{u&&(r.width=u,s.left=u)}),J([Ni(t.setting,"htmlPreview"),Ni(t.setting,"preview")],()=>{!t.setting.htmlPreview&&!t.setting.preview?(r.width="100%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")},{immediate:!0}),J(()=>t.setting.previewOnly,u=>{u?(r.width="0%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")}),{inputWrapperStyle:r,resizeOperateStyle:s}},HQ=Qe({name:"MDEditorContent",props:W6,setup(t,e){const i=ne("editorId"),n=de(""),r=de(),s=de(),{inputWrapperRef:o,codeMirrorUt:l,resetHistory:a}=UQ(t),{inputWrapperStyle:u,resizeOperateStyle:c}=GQ(t,r,s);return SQ(t,n,l),e.expose({getSelectedText(){var h;return(h=l.value)==null?void 0:h.getSelectedText()},focus(h){var f;(f=l.value)==null||f.focus(h)},resetHistory:a}),()=>v("div",{class:`${S}-content${t.setting.htmlPreview||t.setting.preview?" has-preview":""}`,ref:r},[v("div",{class:`${S}-input-wrapper`,style:u,ref:o},null),(t.setting.htmlPreview||t.setting.preview)&&v("div",{class:`${S}-resize-operate`,style:c,ref:s},null),v(pb,{modelValue:t.modelValue,setting:t.setting,onHtmlChanged:h=>{n.value=h,t.onHtmlChanged(h)},onGetCatalog:t.onGetCatalog,mdHeadingId:t.mdHeadingId,noMermaid:t.noMermaid,sanitize:t.sanitize,noKatex:t.noKatex,formatCopiedText:t.formatCopiedText,noHighlight:t.noHighlight,noImgZoomIn:t.noImgZoomIn,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.catalogVisible&&v(is,{theme:t.theme,class:`${S}-catalog-editor`,editorId:i,mdHeadingId:t.mdHeadingId,key:"internal-catalog"},null)])}}),KQ=Qe({props:{modelValue:{type:String,default:""}},setup(t){const e=ne("usedLanguageText");return()=>{var i,n;return v("div",{class:`${S}-footer-item`},[v("label",{class:`${S}-footer-label`},[`${(i=e.value.footer)==null?void 0:i.markdownTotal}:`]),v("span",null,[((n=t.modelValue)==null?void 0:n.length)||0])])}}}),JQ={checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}}},e5=Qe({props:JQ,setup(t){return()=>v("div",{class:[`${S}-checkbox`,t.checked&&`${S}-checkbox-checked`],onClick:()=>{t.onChange(!t.checked)}},null)}}),t5={scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}}},i5=Qe({props:t5,setup(t){const e=ne("usedLanguageText");return()=>{var i;return v("div",{class:`${S}-footer-item`},[v("label",{class:`${S}-footer-label`,onClick:()=>{t.onScrollAutoChange(!t.scrollAuto)}},[(i=e.value.footer)==null?void 0:i.scrollAuto]),v(e5,{checked:t.scrollAuto,onChange:t.onScrollAutoChange},null)])}}}),n5={modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}},defFooters:{type:Object}},r5=Qe({name:"MDEditorFooter",props:n5,setup(t){const e=dt(()=>{const n=t.footers.indexOf("="),r=n===-1?t.footers:t.footers.slice(0,n),s=n===-1?[]:t.footers.slice(n,Number.MAX_SAFE_INTEGER);return[r,s]}),i=n=>{if(dp.includes(n))switch(n){case"markdownTotal":return v(KQ,{modelValue:t.modelValue},null);case"scrollSwitch":return v(i5,{scrollAuto:t.scrollAuto,onScrollAutoChange:t.onScrollAutoChange},null)}else return t.defFooters instanceof Array?t.defFooters[n]||"":t.defFooters&&t.defFooters.children instanceof Array&&t.defFooters.children[n]||""};return()=>{const n=e.value[0].map(s=>i(s)),r=e.value[1].map(s=>i(s));return v("div",{class:`${S}-footer`},[v("div",{class:`${S}-footer-left`},[n]),v("div",{class:`${S}-footer-right`},[r])])}}}),Uo=Qe({name:"MdEditorV3",props:G6,emits:H6,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noPrettier:s,noUploadImg:o,noHighlight:l}=t,a=ct({scrollAuto:t.scrollAuto}),u=de();F6(t,e),z6(t),j6(t),B6(t,e);const[c,h]=q6(t,e),f=Y6(t);return Qs(()=>{I.clear(i)}),N6(t,e,f,c,h,u),()=>{const d=Dt({props:t,ctx:e},"defToolbars"),p=Dt({props:t,ctx:e},"defFooters");return v("div",{id:i,class:[S,t.class,t.theme==="dark"&&`${S}-dark`,c.fullscreen||c.pageFullscreen?`${S}-fullscreen`:""],style:t.style},[t.toolbars.length>0&&v(yQ,{noPrettier:s,toolbars:t.toolbars,toolbarsExclude:t.toolbarsExclude,setting:c,updateSetting:h,tableShape:t.tableShape,defToolbars:d,noUploadImg:o,showToolbarName:t.showToolbarName},null),v(HQ,{ref:u,modelValue:t.modelValue,setting:c,mdHeadingId:t.mdHeadingId,noMermaid:r,noPrettier:s,sanitize:t.sanitize,placeholder:t.placeholder,noKatex:n,scrollAuto:a.scrollAuto,formatCopiedText:t.formatCopiedText,autofocus:t.autoFocus,disabled:t.disabled,readonly:t.readOnly,maxlength:t.maxLength,autoDetectCode:t.autoDetectCode,noHighlight:l,updateModelValue:m=>{e.emit("update:modelValue",m)},onChange:m=>{t.onChange&&t.onChange(m),e.emit("onChange",m)},onHtmlChanged:m=>{t.onHtmlChanged&&t.onHtmlChanged(m),e.emit("onHtmlChanged",m)},onGetCatalog:m=>{t.onGetCatalog&&t.onGetCatalog(m),e.emit("onGetCatalog",m)},onBlur:m=>{t.onBlur&&t.onBlur(m),e.emit("onBlur",m)},onFocus:m=>{t.onFocus&&t.onFocus(m),e.emit("onFocus",m)},onInput:m=>{t.onInput&&t.onInput(m),e.emit("onInput",m)},completions:t.completions,catalogVisible:f.value,theme:t.theme,noImgZoomIn:t.noImgZoomIn,onDrop:m=>{t.onDrop&&t.onDrop(m),e.emit("onDrop",m)},inputBoxWitdh:t.inputBoxWitdh,onInputBoxWitdhChange:m=>{t.onInputBoxWitdhChange&&t.onInputBoxWitdhChange(m),e.emit("onInputBoxWitdhChange",m)},sanitizeMermaid:t.sanitizeMermaid,transformImgUrl:t.transformImgUrl,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.footers.length>0&&v(r5,{modelValue:t.modelValue,footers:t.footers,defFooters:p,scrollAuto:a.scrollAuto,onScrollAutoChange:m=>a.scrollAuto=m},null)])}}});Uo.install=t=>(t.component(Uo.name,Uo),t.use(Yo).use(Qo).use(No).use(is).use(qo),t);const s5=Fa("div",{class:"flex items-center gap-4"},"公告设置说明",-1),o5=Fa("div",{class:"text-sm/6"},[Fa("div",null," 公告设置用于配置用户端显示的公告页面。支持使用Markdown语法或HTML标签来创建内容,为灵活的内容格式提供便利。 ")],-1),xb=Qe({__name:"notice",setup(t){const e=Pb(),i=ct({isAutoOpenNotice:"",noticeInfo:"",noticeTitle:""});dt(()=>e.settings.app.colorScheme);const n=de({noticeTitle:[{required:!0,trigger:"blur",message:"请填写公告标题"}],noticeInfo:[{required:!0,trigger:"blur",message:"请填写公告具体信息"}]}),r=de();async function s(){const h=await Wh.queryConfig({keys:["noticeInfo","noticeTitle","isAutoOpenNotice"]}),{noticeInfo:f,noticeTitle:d,isAutoOpenNotice:p}=h.data;f&&Object.assign(i,{noticeInfo:f,noticeTitle:d,isAutoOpenNotice:p})}function o(){var h;(h=r.value)==null||h.validate(async f=>{if(f){try{await Wh.setConfig({settings:a(i)}),Pr.success("变更配置信息成功")}catch{}s()}else Pr.error("请填写完整信息")})}const l=de(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);function a(h){return Object.keys(h).map(f=>({configKey:f,configVal:h[f]}))}function u(h){}async function c(h,f){const d=await Promise.all(Array.from(h).map(p=>new Promise(async(m,g)=>{var y;const O=new FormData;O.append("file",p);try{const k=await Eb.post(l.value,O,{headers:{"Content-Type":"multipart/form-data"}});(y=k==null?void 0:k.data)!=null&&y.data||Pr.error("图片上传失败、请检查您的配置信息!"),m(k.data.data)}catch(k){Pr.error(k||"图片上传失败、请检查您的配置信息!"),g(k)}})));f(d.map(p=>p)),Pr({message:"图片上传成功!",type:"success"})}return Ee(()=>{s()}),(h,f)=>{const d=Zb,p=Db,m=Sb,g=Di("el-input"),O=Di("el-form-item"),y=Di("el-col"),k=Di("el-switch"),w=Di("el-tooltip"),_=Di("el-row"),A=Di("el-form"),C=Di("el-card");return Cb(),Qb("div",null,[v(m,null,{title:ot(()=>[s5]),content:ot(()=>[o5]),default:ot(()=>[v(p,{outline:"",onClick:o},{default:ot(()=>[v(d,{name:"i-ri:file-text-line"}),Ab(" 保存设置 ")]),_:1})]),_:1}),v(C,{style:{margin:"20px"}},{default:ot(()=>[v(A,{ref_key:"formRef",ref:r,rules:n.value,model:i,"label-width":"120px"},{default:ot(()=>[v(_,null,{default:ot(()=>[v(y,{xs:24,md:20,lg:15,xl:10},{default:ot(()=>[v(O,{label:"公告标题",prop:"noticeTitle"},{default:ot(()=>[v(g,{modelValue:i.noticeTitle,"onUpdate:modelValue":f[0]||(f[0]=$=>i.noticeTitle=$),rows:1,placeholder:"公告标题",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),v(y,{offset:2,xs:24,md:20,lg:15,xl:10},{default:ot(()=>[v(O,{label:"自动打开公告",prop:"isAutoOpenNotice"},{default:ot(()=>[v(w,{content:"设为自动打开则网站初始化会打开、用户仍可以选择24小时不再查看、选择关闭则不会主动打开!",placement:"top","show-after":500},{default:ot(()=>[v(k,{modelValue:i.isAutoOpenNotice,"onUpdate:modelValue":f[1]||(f[1]=$=>i.isAutoOpenNotice=$),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1}),v(y,{xs:24,md:20,lg:15,xl:12})]),_:1})]),_:1}),v(_,null,{default:ot(()=>[v(y,{span:24},{default:ot(()=>[v(O,{label:"公告信息",prop:"noticeInfo"},{default:ot(()=>[v(Tb(Uo),{modelValue:i.noticeInfo,"onUpdate:modelValue":f[2]||(f[2]=$=>i.noticeInfo=$),style:{"min-height":"80vh"},onOnChange:u,onOnUploadImg:c},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof Vh=="function"&&Vh(xb);const k5=Object.freeze(Object.defineProperty({__proto__:null,default:xb},Symbol.toStringTag,{value:"Module"}));export{Sg as C,ii as E,xe as I,ar as L,Wm as N,hr as a,dr as b,Xo as c,Iv as d,YO as e,Rs as f,Ze as g,jk as h,Ds as i,zk as j,Gm as k,yl as l,ft as m,Mg as n,j as o,T as p,a1 as q,Fm as r,yr as s,b as t,Km as u,It as v,k5 as w}; +!!!`,"title")}))]}};return gS({override:t?[e,...t]:[e]})},Ln=t=>{const e=new hi;return n=>(e.get(t.state)?t.dispatch({effects:e.reconfigure(n)}):t.dispatch({effects:ce.appendConfig.of(e.of(n))}),!0)};class qQ{constructor(e){Li(this,"view"),Li(this,"maxLength",Number.MAX_SAFE_INTEGER),Li(this,"toggleTabSize"),Li(this,"togglePlaceholder"),Li(this,"setExtensions"),Li(this,"toggleDisabled"),Li(this,"toggleReadOnly"),Li(this,"toggleMaxlength"),this.view=e,this.toggleTabSize=Ln(this.view),this.togglePlaceholder=Ln(this.view),this.setExtensions=Ln(this.view),this.toggleDisabled=Ln(this.view),this.toggleReadOnly=Ln(this.view),this.toggleMaxlength=Ln(this.view)}getValue(){return this.view.state.doc.toString()}setValue(e,i=0,n=this.view.state.doc.length){this.view.dispatch({changes:{from:i,to:n,insert:e}})}getSelectedText(){const{from:e,to:i}=this.view.state.selection.main;return this.view.state.sliceDoc(e,i)}replaceSelectedText(e,i={select:!0,deviationStart:0,deviationEnd:0,replaceAll:!1},n){try{if(i.replaceAll){if(this.setValue(e),e.length>this.maxLength)throw new Error("The input text is too long");return}if(this.view.state.doc.length-this.getSelectedText().length+e.length>this.maxLength)throw new Error("The input text is too long");const{from:r}=this.view.state.selection.main;if(this.view.dispatch(this.view.state.replaceSelection(e)),i.select){const s=r+e.length+i.deviationEnd;this.view.dispatch({selection:T.create([T.range(r+i.deviationStart,s),T.cursor(s)],1)})}this.view.focus()}catch(r){if(r.message==="The input text is too long")I.emit(n,Cn,{name:"overlength",message:r.message,data:e});else throw r}}setTabSize(e){this.toggleTabSize([oe.tabSize.of(e),xr.of(" ".repeat(e))])}setPlaceholder(e){this.togglePlaceholder(uk(e))}focus(e){if(this.view.focus(),!e)return;let i=0,n=0,r=0;switch(e){case"start":break;case"end":{i=n=r=this.getValue().length;break}default:i=e.rangeAnchor||e.cursorPos,n=e.rangeHead||e.cursorPos,r=e.cursorPos}this.view.dispatch({scrollIntoView:!0,selection:T.create([T.range(i,n),T.cursor(r)],1)})}setDisabled(e){this.toggleDisabled([j.editable.of(!e)])}setReadOnly(e){this.toggleReadOnly([oe.readOnly.of(e)])}setMaxLength(e){this.maxLength=e,this.toggleMaxlength([oe.changeFilter.of(i=>i.newDoc.length<=e)])}}const YQ=(t,e)=>{const i=ne("editorId"),n=s=>{s instanceof Promise?s.then(o=>{I.emit(i,fe,"universal",{generate(){return{targetValue:o}}})}).catch(o=>{console.error(o)}):I.emit(i,fe,"universal",{generate(){return{targetValue:s}}})};return s=>{var o,l,a;if(!s.clipboardData)return;if(s.clipboardData.files.length>0){const{files:m}=s.clipboardData;I.emit(i,El,Array.from(m).filter(g=>/image\/.*/.test(g.type))),s.preventDefault();return}const u=s.clipboardData.getData("text/plain"),c=((o=e.value)==null?void 0:o.view.state.selection.main.to)||0,h=((l=e.value)==null?void 0:l.view.state.doc.lineAt(c).from)||0,f=((a=e.value)==null?void 0:a.view.state.doc.sliceString(h,c))||"",d=/!\[.*\]\(\s*$/.test(f),p=/!\[.*\]\((.*)\s?.*\)/.test(u);if(d){const m=t.transformImgUrl(u);n(m),s.preventDefault();return}else if(p){const m=u.match(new RegExp(`(?<=!\\[.*\\]\\()([^)\\s]+)(?=\\s?["']?.*["']?\\))`,"g"));m?Promise.all(m.map(g=>t.transformImgUrl(g))).then(g=>{n(g.reduce((O,y,k)=>O.replace(m[k],y),u))}):n(u),s.preventDefault();return}if(t.autoDetectCode&&s.clipboardData.types.includes("vscode-editor-data")){const m=JSON.parse(s.clipboardData.getData("vscode-editor-data"));I.emit(i,fe,"code",{mode:m.mode,text:s.clipboardData.getData("text/plain")}),s.preventDefault();return}t.maxlength&&u.length+t.modelValue.length>t.maxlength&&I.emit(i,Cn,{name:"overlength",message:"The input text is too long",data:u})}},NQ=(t,e)=>[{key:"Ctrl-b",mac:"Cmd-b",run:()=>(I.emit(t,fe,"bold"),!0)},{key:"Ctrl-d",mac:"Cmd-d",run:ZO,preventDefault:!0},{key:"Ctrl-s",mac:"Cmd-s",run:w=>(I.emit(t,Tl,w.state.doc.toString()),!0),shift:()=>(I.emit(t,fe,"strikeThrough"),!0)},{key:"Ctrl-u",mac:"Cmd-u",run:()=>(I.emit(t,fe,"underline"),!0),shift:()=>(I.emit(t,fe,"unorderedList"),!0)},{key:"Ctrl-i",mac:"Cmd-i",run:()=>(I.emit(t,fe,"italic"),!0),shift:()=>(I.emit(t,Ba,"image"),!0)},{key:"Ctrl-1",mac:"Cmd-1",run:()=>(I.emit(t,fe,"h1"),!0)},{key:"Ctrl-2",mac:"Cmd-2",run:()=>(I.emit(t,fe,"h2"),!0)},{key:"Ctrl-3",mac:"Cmd-3",run:()=>(I.emit(t,fe,"h3"),!0)},{key:"Ctrl-4",mac:"Cmd-4",run:()=>(I.emit(t,fe,"h4"),!0)},{key:"Ctrl-5",mac:"Cmd-5",run:()=>(I.emit(t,fe,"h5"),!0)},{key:"Ctrl-6",mac:"Cmd-6",run:()=>(I.emit(t,fe,"h6"),!0)},{key:"Ctrl-ArrowUp",mac:"Cmd-ArrowUp",run:()=>(I.emit(t,fe,"sup"),!0)},{key:"Ctrl-ArrowDown",mac:"Cmd-ArrowDown",run:()=>(I.emit(t,fe,"sub"),!0)},{key:"Ctrl-o",mac:"Cmd-o",run:()=>(I.emit(t,fe,"orderedList"),!0)},{key:"Ctrl-c",mac:"Cmd-c",shift:()=>(I.emit(t,fe,"code"),!0),any(w,_){return(_.ctrlKey||_.metaKey)&&_.altKey&&_.code==="KeyC"?(I.emit(t,fe,"codeRow"),!0):!1}},{key:"Ctrl-l",mac:"Cmd-l",run:()=>(I.emit(t,Ba,"link"),!0)},{key:"Ctrl-f",mac:"Cmd-f",shift:()=>e.noPrettier?!1:(I.emit(t,fe,"prettier"),!0)},{any:(w,_)=>(_.ctrlKey||_.metaKey)&&_.altKey&&_.shiftKey&&_.code==="KeyT"?(I.emit(t,fe,"table"),!0):!1},...Tv],UQ=t=>{const e=ne("tabWidth"),i=ne("editorId"),n=ne("theme"),r=de(),s=kn(),o=new hi,l=new hi,a=new hi,u=new hi,c=new hi,h=NQ(i,t),f=de(!1),p={paste:YQ(t,s),blur:t.onBlur,focus:t.onFocus,drop:t.onDrop,compositionstart:()=>{f.value=!0},compositionend:(O,y)=>{f.value=!1,t.updateModelValue(y.state.doc.toString())},input:O=>{t.onInput&&t.onInput(O);const{data:y}=O;t.maxlength&&t.modelValue.length+y.length>t.maxlength&&I.emit(i,Cn,{name:"overlength",message:"The input text is too long",data:y})}},m=[Zs.of([...dv,...S2,...h,pv]),u.of(fd()),o.of(y1({codeLanguages:xS})),j.lineWrapping,j.updateListener.of(O=>{O.docChanged&&(t.onChange(O.state.doc.toString()),f.value||t.updateModelValue(O.state.doc.toString()))}),c.of(j.domEventHandlers(p))],g=()=>{const O=[...m,l.of(n.value==="light"?s0:Jp),a.of(l0(t.completions))];return ze.codeMirrorExtensions(n.value,O,[...h])};return Ee(()=>{const O=new j({doc:t.modelValue,parent:r.value,extensions:[g()]}),y=new qQ(O);s.value=y,setTimeout(()=>{y.setTabSize(e),y.setDisabled(t.disabled),y.setReadOnly(t.readonly),t.placeholder&&y.setPlaceholder(t.placeholder),typeof t.maxlength=="number"&&y.setMaxLength(t.maxlength),t.autofocus&&O.focus()},0),I.on(i,{name:m0,callback(){_c(O)}}),I.on(i,{name:O0,callback(){ll(O)}}),I.on(i,{name:fe,callback(k,w={}){var _,A;if(k==="image"&&w.transform){const C=t.transformImgUrl(w.url);if(C instanceof Promise)C.then($=>{var R;const{text:M,options:X}=Xa(k,s.value,{...w,url:$});(R=s.value)==null||R.replaceSelectedText(M,X,i)}).catch($=>{console.error($)});else{const{text:$,options:R}=Xa(k,s.value,{...w,url:C});(_=s.value)==null||_.replaceSelectedText($,R,i)}}else{const{text:C,options:$}=Xa(k,s.value,w);(A=s.value)==null||A.replaceSelectedText(C,$,i)}}}),I.on(i,{name:b0,callback:c0(k=>{var w;const _={...p},A=Object.keys(p);for(const C in k){const $=C;A.includes($)?_[$]=(R,M)=>{k[$](R,M),R.defaultPrevented||p[$](R,M)}:_[$]=k[$]}(w=s.value)==null||w.view.dispatch({effects:c.reconfigure(j.domEventHandlers(_))})})})}),J(n,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:l.reconfigure(n.value==="light"?s0:Jp)})},{deep:!0}),J(()=>t.completions,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:a.reconfigure(l0(t.completions))})},{deep:!0}),J(()=>t.modelValue,()=>{var O,y;((O=s.value)==null?void 0:O.getValue())!==t.modelValue&&((y=s.value)==null||y.setValue(t.modelValue))}),J(()=>t.placeholder,()=>{var O;(O=s.value)==null||O.setPlaceholder(t.placeholder)}),J(()=>t.disabled,()=>{var O;(O=s.value)==null||O.setDisabled(t.disabled)}),J(()=>t.readonly,()=>{var O;(O=s.value)==null||O.setDisabled(t.readonly)}),J(()=>t.maxlength,()=>{var O;t.maxlength&&((O=s.value)==null||O.setMaxLength(t.maxlength))}),{inputWrapperRef:r,codeMirrorUt:s,resetHistory(){var O,y;(O=s.value)==null||O.view.dispatch({effects:u.reconfigure([])}),(y=s.value)==null||y.view.dispatch({effects:u.reconfigure(fd())})}}},GQ=(t,e,i)=>{const n=ct({resizedWidth:t.inputBoxWitdh}),r=ct({width:t.inputBoxWitdh}),s=ct({left:t.inputBoxWitdh,display:"initial"}),o=u=>{var c,h,f;const d=((c=e.value)==null?void 0:c.offsetWidth)||0,p=((h=e.value)==null?void 0:h.getBoundingClientRect().x)||0;let m=u.x-p;md-Gs&&(m=d-Gs);const g=`${m}px`;r.width=g,s.left=g,n.resizedWidth=g,(f=t.onInputBoxWitdhChange)==null||f.call(t,g)},l=()=>{document.addEventListener("mousemove",o)},a=()=>{document.removeEventListener("mousemove",o)};return J([i],()=>{var u,c;(u=i.value)==null||u.addEventListener("mousedown",l),(c=i.value)==null||c.addEventListener("mouseup",a)},{immediate:!0}),Qs(()=>{var u,c;(u=i.value)==null||u.removeEventListener("mousedown",l),(c=i.value)==null||c.removeEventListener("mouseup",a)}),J(()=>t.inputBoxWitdh,u=>{u&&(r.width=u,s.left=u)}),J([Ni(t.setting,"htmlPreview"),Ni(t.setting,"preview")],()=>{!t.setting.htmlPreview&&!t.setting.preview?(r.width="100%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")},{immediate:!0}),J(()=>t.setting.previewOnly,u=>{u?(r.width="0%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")}),{inputWrapperStyle:r,resizeOperateStyle:s}},HQ=Qe({name:"MDEditorContent",props:W6,setup(t,e){const i=ne("editorId"),n=de(""),r=de(),s=de(),{inputWrapperRef:o,codeMirrorUt:l,resetHistory:a}=UQ(t),{inputWrapperStyle:u,resizeOperateStyle:c}=GQ(t,r,s);return SQ(t,n,l),e.expose({getSelectedText(){var h;return(h=l.value)==null?void 0:h.getSelectedText()},focus(h){var f;(f=l.value)==null||f.focus(h)},resetHistory:a}),()=>v("div",{class:`${S}-content${t.setting.htmlPreview||t.setting.preview?" has-preview":""}`,ref:r},[v("div",{class:`${S}-input-wrapper`,style:u,ref:o},null),(t.setting.htmlPreview||t.setting.preview)&&v("div",{class:`${S}-resize-operate`,style:c,ref:s},null),v(pb,{modelValue:t.modelValue,setting:t.setting,onHtmlChanged:h=>{n.value=h,t.onHtmlChanged(h)},onGetCatalog:t.onGetCatalog,mdHeadingId:t.mdHeadingId,noMermaid:t.noMermaid,sanitize:t.sanitize,noKatex:t.noKatex,formatCopiedText:t.formatCopiedText,noHighlight:t.noHighlight,noImgZoomIn:t.noImgZoomIn,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.catalogVisible&&v(is,{theme:t.theme,class:`${S}-catalog-editor`,editorId:i,mdHeadingId:t.mdHeadingId,key:"internal-catalog"},null)])}}),KQ=Qe({props:{modelValue:{type:String,default:""}},setup(t){const e=ne("usedLanguageText");return()=>{var i,n;return v("div",{class:`${S}-footer-item`},[v("label",{class:`${S}-footer-label`},[`${(i=e.value.footer)==null?void 0:i.markdownTotal}:`]),v("span",null,[((n=t.modelValue)==null?void 0:n.length)||0])])}}}),JQ={checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}}},e5=Qe({props:JQ,setup(t){return()=>v("div",{class:[`${S}-checkbox`,t.checked&&`${S}-checkbox-checked`],onClick:()=>{t.onChange(!t.checked)}},null)}}),t5={scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}}},i5=Qe({props:t5,setup(t){const e=ne("usedLanguageText");return()=>{var i;return v("div",{class:`${S}-footer-item`},[v("label",{class:`${S}-footer-label`,onClick:()=>{t.onScrollAutoChange(!t.scrollAuto)}},[(i=e.value.footer)==null?void 0:i.scrollAuto]),v(e5,{checked:t.scrollAuto,onChange:t.onScrollAutoChange},null)])}}}),n5={modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}},defFooters:{type:Object}},r5=Qe({name:"MDEditorFooter",props:n5,setup(t){const e=dt(()=>{const n=t.footers.indexOf("="),r=n===-1?t.footers:t.footers.slice(0,n),s=n===-1?[]:t.footers.slice(n,Number.MAX_SAFE_INTEGER);return[r,s]}),i=n=>{if(d0.includes(n))switch(n){case"markdownTotal":return v(KQ,{modelValue:t.modelValue},null);case"scrollSwitch":return v(i5,{scrollAuto:t.scrollAuto,onScrollAutoChange:t.onScrollAutoChange},null)}else return t.defFooters instanceof Array?t.defFooters[n]||"":t.defFooters&&t.defFooters.children instanceof Array&&t.defFooters.children[n]||""};return()=>{const n=e.value[0].map(s=>i(s)),r=e.value[1].map(s=>i(s));return v("div",{class:`${S}-footer`},[v("div",{class:`${S}-footer-left`},[n]),v("div",{class:`${S}-footer-right`},[r])])}}}),Uo=Qe({name:"MdEditorV3",props:G6,emits:H6,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noPrettier:s,noUploadImg:o,noHighlight:l}=t,a=ct({scrollAuto:t.scrollAuto}),u=de();F6(t,e),z6(t),j6(t),B6(t,e);const[c,h]=q6(t,e),f=Y6(t);return Qs(()=>{I.clear(i)}),N6(t,e,f,c,h,u),()=>{const d=Dt({props:t,ctx:e},"defToolbars"),p=Dt({props:t,ctx:e},"defFooters");return v("div",{id:i,class:[S,t.class,t.theme==="dark"&&`${S}-dark`,c.fullscreen||c.pageFullscreen?`${S}-fullscreen`:""],style:t.style},[t.toolbars.length>0&&v(yQ,{noPrettier:s,toolbars:t.toolbars,toolbarsExclude:t.toolbarsExclude,setting:c,updateSetting:h,tableShape:t.tableShape,defToolbars:d,noUploadImg:o,showToolbarName:t.showToolbarName},null),v(HQ,{ref:u,modelValue:t.modelValue,setting:c,mdHeadingId:t.mdHeadingId,noMermaid:r,noPrettier:s,sanitize:t.sanitize,placeholder:t.placeholder,noKatex:n,scrollAuto:a.scrollAuto,formatCopiedText:t.formatCopiedText,autofocus:t.autoFocus,disabled:t.disabled,readonly:t.readOnly,maxlength:t.maxLength,autoDetectCode:t.autoDetectCode,noHighlight:l,updateModelValue:m=>{e.emit("update:modelValue",m)},onChange:m=>{t.onChange&&t.onChange(m),e.emit("onChange",m)},onHtmlChanged:m=>{t.onHtmlChanged&&t.onHtmlChanged(m),e.emit("onHtmlChanged",m)},onGetCatalog:m=>{t.onGetCatalog&&t.onGetCatalog(m),e.emit("onGetCatalog",m)},onBlur:m=>{t.onBlur&&t.onBlur(m),e.emit("onBlur",m)},onFocus:m=>{t.onFocus&&t.onFocus(m),e.emit("onFocus",m)},onInput:m=>{t.onInput&&t.onInput(m),e.emit("onInput",m)},completions:t.completions,catalogVisible:f.value,theme:t.theme,noImgZoomIn:t.noImgZoomIn,onDrop:m=>{t.onDrop&&t.onDrop(m),e.emit("onDrop",m)},inputBoxWitdh:t.inputBoxWitdh,onInputBoxWitdhChange:m=>{t.onInputBoxWitdhChange&&t.onInputBoxWitdhChange(m),e.emit("onInputBoxWitdhChange",m)},sanitizeMermaid:t.sanitizeMermaid,transformImgUrl:t.transformImgUrl,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.footers.length>0&&v(r5,{modelValue:t.modelValue,footers:t.footers,defFooters:p,scrollAuto:a.scrollAuto,onScrollAutoChange:m=>a.scrollAuto=m},null)])}}});Uo.install=t=>(t.component(Uo.name,Uo),t.use(Yo).use(Qo).use(No).use(is).use(qo),t);const s5=Fa("div",{class:"flex items-center gap-4"},"公告设置说明",-1),o5=Fa("div",{class:"text-sm/6"},[Fa("div",null," 公告设置用于配置用户端显示的公告页面。支持使用Markdown语法或HTML标签来创建内容,为灵活的内容格式提供便利。 ")],-1),xb=Qe({__name:"notice",setup(t){const e=Pb(),i=ct({isAutoOpenNotice:"",noticeInfo:"",noticeTitle:""});dt(()=>e.settings.app.colorScheme);const n=de({noticeTitle:[{required:!0,trigger:"blur",message:"请填写公告标题"}],noticeInfo:[{required:!0,trigger:"blur",message:"请填写公告具体信息"}]}),r=de();async function s(){const h=await Wh.queryConfig({keys:["noticeInfo","noticeTitle","isAutoOpenNotice"]}),{noticeInfo:f,noticeTitle:d,isAutoOpenNotice:p}=h.data;f&&Object.assign(i,{noticeInfo:f,noticeTitle:d,isAutoOpenNotice:p})}function o(){var h;(h=r.value)==null||h.validate(async f=>{if(f){try{await Wh.setConfig({settings:a(i)}),Pr.success("变更配置信息成功")}catch{}s()}else Pr.error("请填写完整信息")})}const l=de(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);function a(h){return Object.keys(h).map(f=>({configKey:f,configVal:h[f]}))}function u(h){}async function c(h,f){const d=await Promise.all(Array.from(h).map(p=>new Promise(async(m,g)=>{var y;const O=new FormData;O.append("file",p);try{const k=await Eb.post(l.value,O,{headers:{"Content-Type":"multipart/form-data"}});(y=k==null?void 0:k.data)!=null&&y.data||Pr.error("图片上传失败、请检查您的配置信息!"),m(k.data.data)}catch(k){Pr.error(k||"图片上传失败、请检查您的配置信息!"),g(k)}})));f(d.map(p=>p)),Pr({message:"图片上传成功!",type:"success"})}return Ee(()=>{s()}),(h,f)=>{const d=Zb,p=Db,m=Sb,g=Di("el-input"),O=Di("el-form-item"),y=Di("el-col"),k=Di("el-switch"),w=Di("el-tooltip"),_=Di("el-row"),A=Di("el-form"),C=Di("el-card");return Cb(),Qb("div",null,[v(m,null,{title:ot(()=>[s5]),content:ot(()=>[o5]),default:ot(()=>[v(p,{outline:"",onClick:o},{default:ot(()=>[v(d,{name:"i-ri:file-text-line"}),Ab(" 保存设置 ")]),_:1})]),_:1}),v(C,{style:{margin:"20px"}},{default:ot(()=>[v(A,{ref_key:"formRef",ref:r,rules:n.value,model:i,"label-width":"120px"},{default:ot(()=>[v(_,null,{default:ot(()=>[v(y,{xs:24,md:20,lg:15,xl:10},{default:ot(()=>[v(O,{label:"公告标题",prop:"noticeTitle"},{default:ot(()=>[v(g,{modelValue:i.noticeTitle,"onUpdate:modelValue":f[0]||(f[0]=$=>i.noticeTitle=$),rows:1,placeholder:"公告标题",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),v(y,{offset:2,xs:24,md:20,lg:15,xl:10},{default:ot(()=>[v(O,{label:"自动打开公告",prop:"isAutoOpenNotice"},{default:ot(()=>[v(w,{content:"设为自动打开则网站初始化会打开、用户仍可以选择24小时不再查看、选择关闭则不会主动打开!",placement:"top","show-after":500},{default:ot(()=>[v(k,{modelValue:i.isAutoOpenNotice,"onUpdate:modelValue":f[1]||(f[1]=$=>i.isAutoOpenNotice=$),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1}),v(y,{xs:24,md:20,lg:15,xl:12})]),_:1})]),_:1}),v(_,null,{default:ot(()=>[v(y,{span:24},{default:ot(()=>[v(O,{label:"公告信息",prop:"noticeInfo"},{default:ot(()=>[v(Tb(Uo),{modelValue:i.noticeInfo,"onUpdate:modelValue":f[2]||(f[2]=$=>i.noticeInfo=$),style:{"min-height":"80vh"},onOnChange:u,onOnUploadImg:c},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof Vh=="function"&&Vh(xb);const k5=Object.freeze(Object.defineProperty({__proto__:null,default:xb},Symbol.toStringTag,{value:"Module"}));export{Sg as C,ii as E,xe as I,ar as L,Wm as N,hr as a,dr as b,Xo as c,Iv as d,YO as e,Rs as f,Ze as g,jk as h,Ds as i,zk as j,Gm as k,yl as l,ft as m,Mg as n,j as o,T as p,a1 as q,Fm as r,yr as s,b as t,Km as u,It as v,k5 as w}; diff --git a/public/admin/assets/order-BFa8L6DT.js b/public/admin/assets/order-DRnsEKPF.js similarity index 93% rename from public/admin/assets/order-BFa8L6DT.js rename to public/admin/assets/order-DRnsEKPF.js index 4a43124..43ddc26 100644 --- a/public/admin/assets/order-BFa8L6DT.js +++ b/public/admin/assets/order-DRnsEKPF.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{_ as M}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{A as R}from"./sales-CEP9_Um7.js";import{O as G,l as J}from"./index-J5zVJPyL.js";import{d as K,r as h,m as Q,a as X,n,q as Y,g as c,c as y,b as t,w as a,F as T,s as U,i as p,h as _,y as Z,z as S,e as b,t as $,k as B}from"./index-DEc4xym2.js";const E=b("div",{class:"flex items-center gap-4"},"提现工单管理",-1),ee=b("div",{class:"text-sm/6"},[b("div",null," 所有工单只可审核一次,请谨慎操作,打款请人工打款,确定打款后点击审核通过即可。 ")],-1),te=["src"],ae=K({__name:"order",setup(le){const C=h(),k=h(0),m=h(!1),o=Q({orderStatus:0,withdrawalChannels:null,page:1,size:10}),z=h([]);async function u(){try{m.value=!0;const s=await R.querySalesOrder(o);m.value=!1;const{rows:l,count:f}=s.data;k.value=f,z.value=l}catch{m.value=!1}}function P(s){s==null||s.resetFields(),u()}async function x(s,l){const{id:f}=s,w={id:f,status:l};await R.salesAuditOrder(w),u()}return X(()=>{u()}),(s,l)=>{const f=M,w=n("el-option"),O=n("el-select"),v=n("el-form-item"),g=n("el-button"),q=n("el-form"),V=W,i=n("el-table-column"),A=n("el-tag"),I=n("el-popconfirm"),F=n("el-table"),H=n("el-pagination"),j=n("el-row"),L=Y("loading");return c(),y("div",null,[t(f,null,{title:a(()=>[E]),content:a(()=>[ee]),_:1}),t(V,null,{default:a(()=>[t(q,{ref_key:"formRef",ref:C,inline:!0,model:o},{default:a(()=>[t(v,{label:"工单状态",prop:"orderStatus"},{default:a(()=>[t(O,{modelValue:o.orderStatus,"onUpdate:modelValue":l[0]||(l[0]=e=>o.orderStatus=e),placeholder:"请选择工单状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(c(!0),y(T,null,U(p(G),e=>(c(),S(w,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"提现渠道",prop:"withdrawalChannels"},{default:a(()=>[t(O,{modelValue:o.withdrawalChannels,"onUpdate:modelValue":l[1]||(l[1]=e=>o.withdrawalChannels=e),placeholder:"请选择提现渠道",clearable:"",style:{width:"160px"}},{default:a(()=>[(c(!0),y(T,null,U(p(J),e=>(c(),S(w,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,null,{default:a(()=>[t(g,{type:"primary",onClick:u},{default:a(()=>[_(" 查询 ")]),_:1}),t(g,{onClick:l[2]||(l[2]=e=>P(p(C)))},{default:a(()=>[_(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(V,{style:{width:"100%"}},{default:a(()=>[Z((c(),S(F,{border:"",data:p(z),style:{width:"100%"},size:"large"},{default:a(()=>[t(i,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:a(e=>{var r,d;return[b("img",{src:(d=(r=e.row)==null?void 0:r.userInfo)==null?void 0:d.avatar,style:{height:"50px"}},null,8,te)]}),_:1}),t(i,{prop:"withdrawalChannels",align:"center",label:"提现渠道"},{default:a(e=>{var r;return[t(A,{type:((r=e.row)==null?void 0:r.withdrawalChannels)===1?"info":"success"},{default:a(()=>{var d;return[_($(((d=e.row)==null?void 0:d.withdrawalChannels)===1?"支付宝":"微信"),1)]}),_:2},1032,["type"])]}),_:1}),t(i,{prop:"userInfo.email",label:"邮箱",width:"200"}),t(i,{prop:"withdrawalAmount",align:"center",label:"提现金额"}),t(i,{prop:"contactInformation",align:"center",label:"提现备注",width:"340"}),t(i,{prop:"remark",align:"center",label:"提现留言",width:"340"}),t(i,{prop:"orderStatus",align:"center",label:"工单状态",width:"140"},{default:a(e=>{var r,d;return[t(A,{type:((r=e.row)==null?void 0:r.orderStatus)===0?"info":((d=e.row)==null?void 0:d.orderStatus)===1?"success":"danger"},{default:a(()=>{var N,D;return[_($(((N=e.row)==null?void 0:N.orderStatus)===0?"待审核":((D=e.row)==null?void 0:D.orderStatus)===1?"已通过":"已拒绝"),1)]}),_:2},1032,["type"])]}),_:1}),t(i,{fixed:"right",label:"审核",width:"200",align:"center"},{default:a(e=>[t(I,{title:"确认通过审核吗、请您先手动打款后通过!",width:"260","icon-color":"red",onConfirm:r=>x(e.row,1)},{reference:a(()=>[t(g,{link:"",type:"primary",size:"small",disabled:e.row.orderStatus!==0},{default:a(()=>[_(" 通过审核 ")]),_:2},1032,["disabled"])]),_:2},1032,["onConfirm"]),t(I,{title:"确认拒绝审核么、拒绝后此次提交将作废!",width:"260","icon-color":"red",onConfirm:r=>x(e.row,-1)},{reference:a(()=>[t(g,{link:"",type:"danger",size:"small",disabled:e.row.orderStatus!==0},{default:a(()=>[_(" 拒绝审核 ")]),_:2},1032,["disabled"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[L,p(m)]]),t(j,{class:"mt-5 flex justify-end"},{default:a(()=>[t(H,{"current-page":o.page,"onUpdate:currentPage":l[3]||(l[3]=e=>o.page=e),"page-size":o.size,"onUpdate:pageSize":l[4]||(l[4]=e=>o.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:p(k),onSizeChange:u,onCurrentChange:u},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof B=="function"&&B(ae);export{ae as default}; +import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as M}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{A as R}from"./sales-DHN85h7l.js";import{O as G,l as J}from"./index-DfBvkKrB.js";import{d as K,r as h,m as Q,a as X,n,q as Y,g as c,c as y,b as t,w as a,F as T,s as U,i as p,h as _,y as Z,z as S,e as b,t as $,k as B}from"./index-CAe0BuuW.js";const E=b("div",{class:"flex items-center gap-4"},"提现工单管理",-1),ee=b("div",{class:"text-sm/6"},[b("div",null," 所有工单只可审核一次,请谨慎操作,打款请人工打款,确定打款后点击审核通过即可。 ")],-1),te=["src"],ae=K({__name:"order",setup(le){const C=h(),k=h(0),m=h(!1),o=Q({orderStatus:0,withdrawalChannels:null,page:1,size:10}),z=h([]);async function u(){try{m.value=!0;const s=await R.querySalesOrder(o);m.value=!1;const{rows:l,count:f}=s.data;k.value=f,z.value=l}catch{m.value=!1}}function P(s){s==null||s.resetFields(),u()}async function x(s,l){const{id:f}=s,w={id:f,status:l};await R.salesAuditOrder(w),u()}return X(()=>{u()}),(s,l)=>{const f=M,w=n("el-option"),O=n("el-select"),v=n("el-form-item"),g=n("el-button"),q=n("el-form"),V=W,i=n("el-table-column"),A=n("el-tag"),I=n("el-popconfirm"),F=n("el-table"),H=n("el-pagination"),j=n("el-row"),L=Y("loading");return c(),y("div",null,[t(f,null,{title:a(()=>[E]),content:a(()=>[ee]),_:1}),t(V,null,{default:a(()=>[t(q,{ref_key:"formRef",ref:C,inline:!0,model:o},{default:a(()=>[t(v,{label:"工单状态",prop:"orderStatus"},{default:a(()=>[t(O,{modelValue:o.orderStatus,"onUpdate:modelValue":l[0]||(l[0]=e=>o.orderStatus=e),placeholder:"请选择工单状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(c(!0),y(T,null,U(p(G),e=>(c(),S(w,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"提现渠道",prop:"withdrawalChannels"},{default:a(()=>[t(O,{modelValue:o.withdrawalChannels,"onUpdate:modelValue":l[1]||(l[1]=e=>o.withdrawalChannels=e),placeholder:"请选择提现渠道",clearable:"",style:{width:"160px"}},{default:a(()=>[(c(!0),y(T,null,U(p(J),e=>(c(),S(w,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,null,{default:a(()=>[t(g,{type:"primary",onClick:u},{default:a(()=>[_(" 查询 ")]),_:1}),t(g,{onClick:l[2]||(l[2]=e=>P(p(C)))},{default:a(()=>[_(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(V,{style:{width:"100%"}},{default:a(()=>[Z((c(),S(F,{border:"",data:p(z),style:{width:"100%"},size:"large"},{default:a(()=>[t(i,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:a(e=>{var r,d;return[b("img",{src:(d=(r=e.row)==null?void 0:r.userInfo)==null?void 0:d.avatar,style:{height:"50px"}},null,8,te)]}),_:1}),t(i,{prop:"withdrawalChannels",align:"center",label:"提现渠道"},{default:a(e=>{var r;return[t(A,{type:((r=e.row)==null?void 0:r.withdrawalChannels)===1?"info":"success"},{default:a(()=>{var d;return[_($(((d=e.row)==null?void 0:d.withdrawalChannels)===1?"支付宝":"微信"),1)]}),_:2},1032,["type"])]}),_:1}),t(i,{prop:"userInfo.email",label:"邮箱",width:"200"}),t(i,{prop:"withdrawalAmount",align:"center",label:"提现金额"}),t(i,{prop:"contactInformation",align:"center",label:"提现备注",width:"340"}),t(i,{prop:"remark",align:"center",label:"提现留言",width:"340"}),t(i,{prop:"orderStatus",align:"center",label:"工单状态",width:"140"},{default:a(e=>{var r,d;return[t(A,{type:((r=e.row)==null?void 0:r.orderStatus)===0?"info":((d=e.row)==null?void 0:d.orderStatus)===1?"success":"danger"},{default:a(()=>{var N,D;return[_($(((N=e.row)==null?void 0:N.orderStatus)===0?"待审核":((D=e.row)==null?void 0:D.orderStatus)===1?"已通过":"已拒绝"),1)]}),_:2},1032,["type"])]}),_:1}),t(i,{fixed:"right",label:"审核",width:"200",align:"center"},{default:a(e=>[t(I,{title:"确认通过审核吗、请您先手动打款后通过!",width:"260","icon-color":"red",onConfirm:r=>x(e.row,1)},{reference:a(()=>[t(g,{link:"",type:"primary",size:"small",disabled:e.row.orderStatus!==0},{default:a(()=>[_(" 通过审核 ")]),_:2},1032,["disabled"])]),_:2},1032,["onConfirm"]),t(I,{title:"确认拒绝审核么、拒绝后此次提交将作废!",width:"260","icon-color":"red",onConfirm:r=>x(e.row,-1)},{reference:a(()=>[t(g,{link:"",type:"danger",size:"small",disabled:e.row.orderStatus!==0},{default:a(()=>[_(" 拒绝审核 ")]),_:2},1032,["disabled"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[L,p(m)]]),t(j,{class:"mt-5 flex justify-end"},{default:a(()=>[t(H,{"current-page":o.page,"onUpdate:currentPage":l[3]||(l[3]=e=>o.page=e),"page-size":o.size,"onUpdate:pageSize":l[4]||(l[4]=e=>o.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:p(k),onSizeChange:u,onCurrentChange:u},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof B=="function"&&B(ae);export{ae as default}; diff --git a/public/admin/assets/package-ByB7JmhZ.js b/public/admin/assets/package-BrV10YH2.js similarity index 97% rename from public/admin/assets/package-ByB7JmhZ.js rename to public/admin/assets/package-BrV10YH2.js index f39e141..5b80e31 100644 --- a/public/admin/assets/package-ByB7JmhZ.js +++ b/public/admin/assets/package-BrV10YH2.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as ce,r as c,m as x,p as j,a as fe,n as u,q as _e,g as C,c as T,b as e,w as l,h as d,F as ge,s as be,i as h,y as ve,z as S,t as k,e as v,B as ye,E as y,G as we,j as Ve,_ as Ce,k as D}from"./index-DEc4xym2.js";import{A as U}from"./package-BLH3vi7G.js";import{k as he,I as ke}from"./index-J5zVJPyL.js";import{u as Ue}from"./utcformatTime-Bq4gDWNx.js";const Ie=v("div",{class:"flex items-center gap-4"},"套餐设置",-1),xe=v("div",{class:"text-sm/6"},[v("div",null," 套餐分为不限时套餐和限时套餐。不限时充值积分永不过期,限时套餐在规定时间未使用完毕将清空剩余积分。 "),v("div",null," 如果充值的套餐等级高于或等于当前套餐等级,则叠加充值额度并延长会员到期时间。 "),v("div",null," 如果充值的套餐等级低于当前套餐等级,则只叠加充值额度,不延长会员到期时间也不改变会员等级。 "),d(" 请仔细阅读以上内容并合理配置,套餐有效时间设为-1即为不限时套餐。 ")],-1),Me={class:"mr-5 flex justify-end"},qe=ce({__name:"package",setup(ze){const B=c(`/api/upload/file?dir=${encodeURIComponent("system/others")}`),M=c(),q=c(0),b=c(!1),w=c(!1),m=x({name:"",page:1,size:10,status:""}),V=c(),f=c(0),o=x({name:null,des:null,coverImg:null,price:null,order:null,status:null,weight:null,days:null,model3Count:null,model4Count:null,drawMjCount:null}),F=x({name:[{required:!0,message:"请填写套餐名称",trigger:"blur"}],des:[{required:!0,message:"请填写套餐的详细描述",trigger:"blur"}],deductionType:[{required:!0,message:"请选择扣费形式",trigger:"change"}],coverImg:[{required:!0,message:"请填写或上传封面图地址",trigger:"blur"}],price:[{required:!0,message:"请填写套餐价格",trigger:"blur"}],order:[{required:!0,message:"请填写套餐排序",trigger:"blur"}],status:[{required:!0,message:"请选择套餐开启状态",trigger:"change"}],days:[{required:!0,message:"请填写套餐有效期天数",trigger:"blur"}],model3Count:[{required:!0,message:"请填写套餐中基础模型可使用次数",trigger:"blur"}],model4Count:[{required:!0,message:"请填写套餐中高级模型可使用次数",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写套餐中抽奖次数",trigger:"blur"}]}),z=c([]);async function _(){try{w.value=!0;const n=await U.queryAllPackage(m);w.value=!1;const{rows:a,count:I}=n.data;q.value=I,z.value=a}catch{w.value=!1}}function N(n){n==null||n.resetFields(),_()}const R=n=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(n.type)){if(n.size/1024>2e3)return y.error("当前限制文件最大不超过 2000KB!"),!1}else return y.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1;return!0},G=(n,a)=>{o.coverImg=n.data};async function O(n){await U.delPackage({id:n}),y({type:"success",message:"删除套餐成功!"}),_()}function Y(n){f.value=n.id,we(()=>{Object.assign(o,n),o==null||delete o.createdAt,o==null||delete o.updatedAt,o==null||delete o.deletedAt,o==null||delete o.id}),b.value=!0}const H=j(()=>f.value?"更新套餐":"新增套餐"),K=j(()=>f.value?"确认更新":"确认新增");function L(){var n;f.value=0,b.value=!0,(n=V.value)==null||n.resetFields()}function J(n){f.value=0,n==null||n.resetFields()}async function W(n){n==null||n.validate(async a=>{a&&(f.value?(await U.updatePackage({id:f.value,...o}),y({type:"success",message:"更新套餐成功!"})):(await U.createPackage(o),y({type:"success",message:"创建新的套餐成功!"})),b.value=!1,_())})}return fe(()=>{_()}),(n,a)=>{const I=Ve,Q=Ce,X=me,Z=u("el-option"),E=u("el-select"),r=u("el-form-item"),g=u("el-button"),A=u("el-form"),P=pe,s=u("el-table-column"),ee=u("el-image"),le=u("el-tag"),te=u("el-popconfirm"),ae=u("el-table"),oe=u("el-pagination"),$=u("el-row"),i=u("el-input"),p=u("el-col"),ne=u("el-switch"),ue=u("el-icon"),re=u("el-upload"),se=u("el-dialog"),de=_e("loading");return C(),T("div",null,[e(X,null,{title:l(()=>[Ie]),content:l(()=>[xe]),default:l(()=>[e(Q,{outline:"",onClick:L},{default:l(()=>[e(I,{name:"ic:baseline-plus"}),d(" 创建套餐 ")]),_:1})]),_:1}),e(P,null,{default:l(()=>[e(A,{ref_key:"formRef",ref:M,inline:!0,model:m},{default:l(()=>[e(r,{label:"套餐状态",prop:"status"},{default:l(()=>[e(E,{modelValue:m.status,"onUpdate:modelValue":a[0]||(a[0]=t=>m.status=t),placeholder:"请选择套餐状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(C(!0),T(ge,null,be(h(he),t=>(C(),S(Z,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(r,null,{default:l(()=>[e(g,{type:"primary",onClick:_},{default:l(()=>[d(" 查询 ")]),_:1}),e(g,{onClick:a[1]||(a[1]=t=>N(M.value))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(P,{style:{width:"100%"}},{default:l(()=>[ve((C(),S(ae,{border:"",data:z.value,style:{width:"100%"},size:"large"},{default:l(()=>[e(s,{fixed:"",prop:"name",label:"套餐名称",width:"150"}),e(s,{prop:"order",label:"排序ID",align:"center",width:"100"}),e(s,{prop:"coverImg",label:"套餐封面",width:"150",align:"center"},{default:l(t=>[e(ee,{style:{height:"50px"},src:t.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),e(s,{prop:"price",label:"套餐价格",width:"100",align:"center"}),e(s,{prop:"weight",label:"套餐等级",width:"100",align:"center"}),e(s,{prop:"status",label:"套餐状态",width:"100"},{default:l(t=>[e(le,{type:"info"},{default:l(()=>[d(k(h(ke)[t.row.status]),1)]),_:2},1024)]),_:1}),e(s,{prop:"days",label:"套餐有效期",width:"120"},{default:l(t=>[d(k(t.row.days>0?`${t.row.days}天`:"永久"),1)]),_:1}),e(s,{prop:"model3Count",label:"基础模型额度",width:"100"}),e(s,{prop:"model4Count",label:"高级模型额度",width:"100"}),e(s,{prop:"drawMjCount",label:"绘画额度",width:"100"}),e(s,{prop:"des",label:"套餐描述",width:"300"}),e(s,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(t=>[d(k(h(Ue)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(s,{fixed:"right",label:"操作",width:"200"},{default:l(t=>[e(g,{link:"",type:"primary",size:"small",onClick:ie=>Y(t.row)},{default:l(()=>[d(" 修改套餐 ")]),_:2},1032,["onClick"]),e(te,{title:"确认删除此套餐么?",width:"200","icon-color":"red",onConfirm:ie=>O(t.row)},{reference:l(()=>[e(g,{link:"",type:"danger",size:"small"},{default:l(()=>[d(" 删除套餐 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[de,w.value]]),e($,{class:"mt-5 flex justify-end"},{default:l(()=>[e(oe,{"current-page":m.page,"onUpdate:currentPage":a[2]||(a[2]=t=>m.page=t),"page-size":m.size,"onUpdate:pageSize":a[3]||(a[3]=t=>m.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:q.value,onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(se,{modelValue:b.value,"onUpdate:modelValue":a[17]||(a[17]=t=>b.value=t),"close-on-click-modal":!1,title:H.value,width:"970",onClose:a[18]||(a[18]=t=>J(V.value))},{footer:l(()=>[v("span",Me,[e(g,{onClick:a[15]||(a[15]=t=>b.value=!1)},{default:l(()=>[d("取消")]),_:1}),e(g,{type:"primary",onClick:a[16]||(a[16]=t=>W(V.value))},{default:l(()=>[d(k(K.value),1)]),_:1})])]),default:l(()=>[e(A,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"120px",model:o,rules:F},{default:l(()=>[e($,null,{default:l(()=>[e(p,{span:11},{default:l(()=>[e(r,{label:"套餐详细名称",prop:"name"},{default:l(()=>[e(i,{modelValue:o.name,"onUpdate:modelValue":a[4]||(a[4]=t=>o.name=t),placeholder:"请填写套餐名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:3,offset:2},{default:l(()=>[e(r,{label:"套餐开启状态",prop:"status"},{default:l(()=>[e(ne,{modelValue:o.status,"onUpdate:modelValue":a[5]||(a[5]=t=>o.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:7,offset:1},{default:l(()=>[e(r,{label:"套餐等级",prop:"status"},{default:l(()=>[e(i,{modelValue:o.weight,"onUpdate:modelValue":a[6]||(a[6]=t=>o.weight=t),modelModifiers:{number:!0},type:"number",placeholder:"设置套餐等级"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐价格",prop:"price"},{default:l(()=>[e(i,{modelValue:o.price,"onUpdate:modelValue":a[7]||(a[7]=t=>o.price=t),modelModifiers:{number:!0},placeholder:"请填写套餐价格(¥)最多两位小数",type:"number"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"套餐有效时间",prop:"days"},{default:l(()=>[e(i,{modelValue:o.days,"onUpdate:modelValue":a[8]||(a[8]=t=>o.days=t),modelModifiers:{number:!0},type:"number",placeholder:"自卡密生成之日有效天数、-1为永久"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:9},{default:l(()=>[e(r,{label:"设置套餐封面",prop:"coverImg"},{default:l(()=>[e(i,{modelValue:o.coverImg,"onUpdate:modelValue":a[9]||(a[9]=t=>o.coverImg=t),class:"flex-1",placeholder:"填写封面地址或点击上传"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:2},{default:l(()=>[e(re,{class:"avatar-uploader",action:B.value,"show-file-list":!1,"on-success":G,"before-upload":R},{default:l(()=>[e(g,null,{default:l(()=>[e(ue,null,{default:l(()=>[e(h(ye))]),_:1})]),_:1})]),_:1},8,["action"])]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"设置套餐排序",prop:"order"},{default:l(()=>[e(i,{modelValue:o.order,"onUpdate:modelValue":a[10]||(a[10]=t=>o.order=t),modelModifiers:{number:!0},type:"number",placeholder:"排序数字越大越靠前|套餐权重等级则反之"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐描述",prop:"des"},{default:l(()=>[e(i,{modelValue:o.des,"onUpdate:modelValue":a[11]||(a[11]=t=>o.des=t),type:"textarea",placeholder:"请填写套餐详细介绍信息、用于对外展示、建议控制套餐价格字数以便于用户端对齐格式...",rows:6},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"基础模型积分",prop:"model3Count"},{default:l(()=>[e(i,{modelValue:o.model3Count,"onUpdate:modelValue":a[12]||(a[12]=t=>o.model3Count=t),modelModifiers:{number:!0},type:"number",placeholder:"基础模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"高级模型积分",prop:"model4Count"},{default:l(()=>[e(i,{modelValue:o.model4Count,"onUpdate:modelValue":a[13]||(a[13]=t=>o.model4Count=t),modelModifiers:{number:!0},type:"number",placeholder:"高级模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"绘画模型积分",prop:"drawMjCount"},{default:l(()=>[e(i,{modelValue:o.drawMjCount,"onUpdate:modelValue":a[14]||(a[14]=t=>o.drawMjCount=t),modelModifiers:{number:!0},type:"number",placeholder:"绘画模型积分"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof D=="function"&&D(qe);export{qe as default}; +import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as ce,r as c,m as x,p as j,a as fe,n as u,q as _e,g as C,c as T,b as e,w as l,h as d,F as ge,s as be,i as h,y as ve,z as S,t as k,e as v,B as ye,E as y,G as we,j as Ve,_ as Ce,k as D}from"./index-CAe0BuuW.js";import{A as U}from"./package-DnQHQQ_C.js";import{k as he,I as ke}from"./index-DfBvkKrB.js";import{u as Ue}from"./utcformatTime-Bq4gDWNx.js";const Ie=v("div",{class:"flex items-center gap-4"},"套餐设置",-1),xe=v("div",{class:"text-sm/6"},[v("div",null," 套餐分为不限时套餐和限时套餐。不限时充值积分永不过期,限时套餐在规定时间未使用完毕将清空剩余积分。 "),v("div",null," 如果充值的套餐等级高于或等于当前套餐等级,则叠加充值额度并延长会员到期时间。 "),v("div",null," 如果充值的套餐等级低于当前套餐等级,则只叠加充值额度,不延长会员到期时间也不改变会员等级。 "),d(" 请仔细阅读以上内容并合理配置,套餐有效时间设为-1即为不限时套餐。 ")],-1),Me={class:"mr-5 flex justify-end"},qe=ce({__name:"package",setup(ze){const B=c(`/api/upload/file?dir=${encodeURIComponent("system/others")}`),M=c(),q=c(0),b=c(!1),w=c(!1),m=x({name:"",page:1,size:10,status:""}),V=c(),f=c(0),o=x({name:null,des:null,coverImg:null,price:null,order:null,status:null,weight:null,days:null,model3Count:null,model4Count:null,drawMjCount:null}),F=x({name:[{required:!0,message:"请填写套餐名称",trigger:"blur"}],des:[{required:!0,message:"请填写套餐的详细描述",trigger:"blur"}],deductionType:[{required:!0,message:"请选择扣费形式",trigger:"change"}],coverImg:[{required:!0,message:"请填写或上传封面图地址",trigger:"blur"}],price:[{required:!0,message:"请填写套餐价格",trigger:"blur"}],order:[{required:!0,message:"请填写套餐排序",trigger:"blur"}],status:[{required:!0,message:"请选择套餐开启状态",trigger:"change"}],days:[{required:!0,message:"请填写套餐有效期天数",trigger:"blur"}],model3Count:[{required:!0,message:"请填写套餐中基础模型可使用次数",trigger:"blur"}],model4Count:[{required:!0,message:"请填写套餐中高级模型可使用次数",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写套餐中抽奖次数",trigger:"blur"}]}),z=c([]);async function _(){try{w.value=!0;const n=await U.queryAllPackage(m);w.value=!1;const{rows:a,count:I}=n.data;q.value=I,z.value=a}catch{w.value=!1}}function N(n){n==null||n.resetFields(),_()}const R=n=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(n.type)){if(n.size/1024>2e3)return y.error("当前限制文件最大不超过 2000KB!"),!1}else return y.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1;return!0},G=(n,a)=>{o.coverImg=n.data};async function O(n){await U.delPackage({id:n}),y({type:"success",message:"删除套餐成功!"}),_()}function Y(n){f.value=n.id,we(()=>{Object.assign(o,n),o==null||delete o.createdAt,o==null||delete o.updatedAt,o==null||delete o.deletedAt,o==null||delete o.id}),b.value=!0}const H=j(()=>f.value?"更新套餐":"新增套餐"),K=j(()=>f.value?"确认更新":"确认新增");function L(){var n;f.value=0,b.value=!0,(n=V.value)==null||n.resetFields()}function J(n){f.value=0,n==null||n.resetFields()}async function W(n){n==null||n.validate(async a=>{a&&(f.value?(await U.updatePackage({id:f.value,...o}),y({type:"success",message:"更新套餐成功!"})):(await U.createPackage(o),y({type:"success",message:"创建新的套餐成功!"})),b.value=!1,_())})}return fe(()=>{_()}),(n,a)=>{const I=Ve,Q=Ce,X=me,Z=u("el-option"),E=u("el-select"),r=u("el-form-item"),g=u("el-button"),A=u("el-form"),P=pe,s=u("el-table-column"),ee=u("el-image"),le=u("el-tag"),te=u("el-popconfirm"),ae=u("el-table"),oe=u("el-pagination"),$=u("el-row"),i=u("el-input"),p=u("el-col"),ne=u("el-switch"),ue=u("el-icon"),re=u("el-upload"),se=u("el-dialog"),de=_e("loading");return C(),T("div",null,[e(X,null,{title:l(()=>[Ie]),content:l(()=>[xe]),default:l(()=>[e(Q,{outline:"",onClick:L},{default:l(()=>[e(I,{name:"ic:baseline-plus"}),d(" 创建套餐 ")]),_:1})]),_:1}),e(P,null,{default:l(()=>[e(A,{ref_key:"formRef",ref:M,inline:!0,model:m},{default:l(()=>[e(r,{label:"套餐状态",prop:"status"},{default:l(()=>[e(E,{modelValue:m.status,"onUpdate:modelValue":a[0]||(a[0]=t=>m.status=t),placeholder:"请选择套餐状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(C(!0),T(ge,null,be(h(he),t=>(C(),S(Z,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(r,null,{default:l(()=>[e(g,{type:"primary",onClick:_},{default:l(()=>[d(" 查询 ")]),_:1}),e(g,{onClick:a[1]||(a[1]=t=>N(M.value))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(P,{style:{width:"100%"}},{default:l(()=>[ve((C(),S(ae,{border:"",data:z.value,style:{width:"100%"},size:"large"},{default:l(()=>[e(s,{fixed:"",prop:"name",label:"套餐名称",width:"150"}),e(s,{prop:"order",label:"排序ID",align:"center",width:"100"}),e(s,{prop:"coverImg",label:"套餐封面",width:"150",align:"center"},{default:l(t=>[e(ee,{style:{height:"50px"},src:t.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),e(s,{prop:"price",label:"套餐价格",width:"100",align:"center"}),e(s,{prop:"weight",label:"套餐等级",width:"100",align:"center"}),e(s,{prop:"status",label:"套餐状态",width:"100"},{default:l(t=>[e(le,{type:"info"},{default:l(()=>[d(k(h(ke)[t.row.status]),1)]),_:2},1024)]),_:1}),e(s,{prop:"days",label:"套餐有效期",width:"120"},{default:l(t=>[d(k(t.row.days>0?`${t.row.days}天`:"永久"),1)]),_:1}),e(s,{prop:"model3Count",label:"基础模型额度",width:"100"}),e(s,{prop:"model4Count",label:"高级模型额度",width:"100"}),e(s,{prop:"drawMjCount",label:"绘画额度",width:"100"}),e(s,{prop:"des",label:"套餐描述",width:"300"}),e(s,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(t=>[d(k(h(Ue)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(s,{fixed:"right",label:"操作",width:"200"},{default:l(t=>[e(g,{link:"",type:"primary",size:"small",onClick:ie=>Y(t.row)},{default:l(()=>[d(" 修改套餐 ")]),_:2},1032,["onClick"]),e(te,{title:"确认删除此套餐么?",width:"200","icon-color":"red",onConfirm:ie=>O(t.row)},{reference:l(()=>[e(g,{link:"",type:"danger",size:"small"},{default:l(()=>[d(" 删除套餐 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[de,w.value]]),e($,{class:"mt-5 flex justify-end"},{default:l(()=>[e(oe,{"current-page":m.page,"onUpdate:currentPage":a[2]||(a[2]=t=>m.page=t),"page-size":m.size,"onUpdate:pageSize":a[3]||(a[3]=t=>m.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:q.value,onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(se,{modelValue:b.value,"onUpdate:modelValue":a[17]||(a[17]=t=>b.value=t),"close-on-click-modal":!1,title:H.value,width:"970",onClose:a[18]||(a[18]=t=>J(V.value))},{footer:l(()=>[v("span",Me,[e(g,{onClick:a[15]||(a[15]=t=>b.value=!1)},{default:l(()=>[d("取消")]),_:1}),e(g,{type:"primary",onClick:a[16]||(a[16]=t=>W(V.value))},{default:l(()=>[d(k(K.value),1)]),_:1})])]),default:l(()=>[e(A,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"120px",model:o,rules:F},{default:l(()=>[e($,null,{default:l(()=>[e(p,{span:11},{default:l(()=>[e(r,{label:"套餐详细名称",prop:"name"},{default:l(()=>[e(i,{modelValue:o.name,"onUpdate:modelValue":a[4]||(a[4]=t=>o.name=t),placeholder:"请填写套餐名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:3,offset:2},{default:l(()=>[e(r,{label:"套餐开启状态",prop:"status"},{default:l(()=>[e(ne,{modelValue:o.status,"onUpdate:modelValue":a[5]||(a[5]=t=>o.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:7,offset:1},{default:l(()=>[e(r,{label:"套餐等级",prop:"status"},{default:l(()=>[e(i,{modelValue:o.weight,"onUpdate:modelValue":a[6]||(a[6]=t=>o.weight=t),modelModifiers:{number:!0},type:"number",placeholder:"设置套餐等级"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐价格",prop:"price"},{default:l(()=>[e(i,{modelValue:o.price,"onUpdate:modelValue":a[7]||(a[7]=t=>o.price=t),modelModifiers:{number:!0},placeholder:"请填写套餐价格(¥)最多两位小数",type:"number"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"套餐有效时间",prop:"days"},{default:l(()=>[e(i,{modelValue:o.days,"onUpdate:modelValue":a[8]||(a[8]=t=>o.days=t),modelModifiers:{number:!0},type:"number",placeholder:"自卡密生成之日有效天数、-1为永久"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:9},{default:l(()=>[e(r,{label:"设置套餐封面",prop:"coverImg"},{default:l(()=>[e(i,{modelValue:o.coverImg,"onUpdate:modelValue":a[9]||(a[9]=t=>o.coverImg=t),class:"flex-1",placeholder:"填写封面地址或点击上传"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:2},{default:l(()=>[e(re,{class:"avatar-uploader",action:B.value,"show-file-list":!1,"on-success":G,"before-upload":R},{default:l(()=>[e(g,null,{default:l(()=>[e(ue,null,{default:l(()=>[e(h(ye))]),_:1})]),_:1})]),_:1},8,["action"])]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"设置套餐排序",prop:"order"},{default:l(()=>[e(i,{modelValue:o.order,"onUpdate:modelValue":a[10]||(a[10]=t=>o.order=t),modelModifiers:{number:!0},type:"number",placeholder:"排序数字越大越靠前|套餐权重等级则反之"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐描述",prop:"des"},{default:l(()=>[e(i,{modelValue:o.des,"onUpdate:modelValue":a[11]||(a[11]=t=>o.des=t),type:"textarea",placeholder:"请填写套餐详细介绍信息、用于对外展示、建议控制套餐价格字数以便于用户端对齐格式...",rows:6},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"基础模型积分",prop:"model3Count"},{default:l(()=>[e(i,{modelValue:o.model3Count,"onUpdate:modelValue":a[12]||(a[12]=t=>o.model3Count=t),modelModifiers:{number:!0},type:"number",placeholder:"基础模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"高级模型积分",prop:"model4Count"},{default:l(()=>[e(i,{modelValue:o.model4Count,"onUpdate:modelValue":a[13]||(a[13]=t=>o.model4Count=t),modelModifiers:{number:!0},type:"number",placeholder:"高级模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"绘画模型积分",prop:"drawMjCount"},{default:l(()=>[e(i,{modelValue:o.drawMjCount,"onUpdate:modelValue":a[14]||(a[14]=t=>o.drawMjCount=t),modelModifiers:{number:!0},type:"number",placeholder:"绘画模型积分"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof D=="function"&&D(qe);export{qe as default}; diff --git a/public/admin/assets/package-BLH3vi7G.js b/public/admin/assets/package-DnQHQQ_C.js similarity index 88% rename from public/admin/assets/package-BLH3vi7G.js rename to public/admin/assets/package-DnQHQQ_C.js index 52948f2..53d7f2d 100644 --- a/public/admin/assets/package-BLH3vi7G.js +++ b/public/admin/assets/package-DnQHQQ_C.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as e}from"./index-DEc4xym2.js";const c={queryAllPackage:a=>e.get("crami/queryAllPackage",{params:a}),updatePackage:a=>e.post("crami/updatePackage",a),createPackage:a=>e.post("crami/createPackage",a),delPackage:a=>e.post("crami/delPackage",a),queryAllCrami:a=>e.get("crami/queryAllCrami",{params:a}),delCrami:a=>e.post("crami/delCrami",a),createCrami:a=>e.post("crami/createCrami",a),batchDelCrami:a=>e.post("crami/batchDelCrami",a)};export{c as A}; +import{I as e}from"./index-CAe0BuuW.js";const c={queryAllPackage:a=>e.get("crami/queryAllPackage",{params:a}),updatePackage:a=>e.post("crami/updatePackage",a),createPackage:a=>e.post("crami/createPackage",a),delPackage:a=>e.post("crami/delPackage",a),queryAllCrami:a=>e.get("crami/queryAllCrami",{params:a}),delCrami:a=>e.post("crami/delCrami",a),createCrami:a=>e.post("crami/createCrami",a),batchDelCrami:a=>e.post("crami/batchDelCrami",a)};export{c as A}; diff --git a/public/admin/assets/pdf-DpqOMvmu.js b/public/admin/assets/pdf-D0scwBrA.js similarity index 97% rename from public/admin/assets/pdf-DpqOMvmu.js rename to public/admin/assets/pdf-D0scwBrA.js index 6d961c6..c4a8168 100644 --- a/public/admin/assets/pdf-DpqOMvmu.js +++ b/public/admin/assets/pdf-D0scwBrA.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{a as T}from"./config-BQ9gBCXa.js";import{d as k,m as q,r as V,a as K,n as s,g as N,c as D,b as e,w as l,e as m,h as S,E as B,k as U}from"./index-DEc4xym2.js";const E={class:"flex justify-between"},F=m("h2",null,"PDF 分析设置",-1),O=m("div",{style:{width:"250px"}},[m("p",null,"开启后、对话模型将会继承上一次对话的模型、默认开启")],-1),Q=k({__name:"pdf",setup(R){const o=q({openaiBaseUrl:"",openaiBaseKey:"",openaiTimeout:"",openaiBaseModel:"gpt-3.5-turbo",openaiTemperature:1,mjNotSaveImg:0,mjProxyImgUrl:"",systemPreMessage:"",mjNotUseProxy:1,isMjTranslate:0,mjTranslatePrompt:"",isDalleChat:1,isModelInherited:1}),j=V({openaiBaseUrl:[{required:!1,trigger:"blur",message:"请填写openai的请求地址"}],isMjTranslate:[{required:!1,trigger:"blur",message:"是否开启翻译/联想"}],isDalleChat:[{required:!1,trigger:"blur",message:"是否开启连续绘画"}],isModelInherited:[{required:!1,trigger:"blur",message:"是否继承模型"}],openaiTimeout:[{required:!1,trigger:"blur",message:"请填写openai的超时时间(单位ms)"}],openaiBaseModel:[{required:!1,trigger:"blur",message:"请填写全局模型,用于后台一些静默性赋能操作"}],openaiTemperature:[{required:!1,trigger:"blur",message:"请填写温度"}],mjTranslatePrompt:[{required:!1,trigger:"blur",message:"用于翻译 / 联想的提示词"}]}),h=V();async function M(){const p=await T.queryConfig({keys:["openaiBaseUrl","openaiBaseKey","openaiTimeout","openaiBaseModel","openaiTemperature","mjNotSaveImg","mjProxyImgUrl","systemPreMessage","mjNotUseProxy","isMjTranslate","mjTranslatePrompt","isDalleChat","isModelInherited"]}),{openaiBaseUrl:a="",openaiBaseKey:d="",openaiTimeout:c=300,openaiBaseModel:f="gpt-3.5-turbo",openaiTemperature:u=1,isMjTranslate:n="",mjNotSaveImg:r,mjProxyImgUrl:i,systemPreMessage:_,mjNotUseProxy:g,mjTranslatePrompt:b,isDalleChat:x,isModelInherited:y}=p.data;Object.assign(o,{openaiBaseUrl:a,openaiBaseKey:d,openaiTimeout:c,isMjTranslate:n,openaiTemperature:u,openaiBaseModel:f,mjNotSaveImg:r,mjProxyImgUrl:i,systemPreMessage:_,mjNotUseProxy:g,mjTranslatePrompt:b,isDalleChat:x,isModelInherited:y})}function w(){var p;(p=h.value)==null||p.validate(async a=>{if(a){try{await T.setConfig({settings:P(o)}),B.success("变更配置信息成功")}catch{}M()}else B.error("请填写完整信息")})}function P(p){return Object.keys(p).map(a=>({configKey:a,configVal:p[a]}))}return K(()=>{M()}),(p,a)=>{const d=s("el-alert"),c=C,f=s("el-button"),u=s("el-input"),n=s("el-form-item"),r=s("el-col"),i=s("el-row"),_=s("el-switch"),g=s("QuestionFilled"),b=s("el-icon"),x=s("el-tooltip"),y=s("el-input-number"),v=s("el-form"),I=s("el-card");return N(),D("div",null,[e(c,null,{default:l(()=>[e(d,{closable:!1,"show-icon":"",title:"全局配置说明",description:"系统默认的地址是 https://api.openai.com 、如果你是国内的服务器可能无法访问、您可以使用自己的代理地址、此处的配置为全局配置、我们可以对单张key进行单独设置、当我们对key不进行设置的时候将会走此处的设置、如果此处也没有设置、系统将会走系统内置默认配置!",type:"success"})]),_:1}),e(I,{style:{margin:"20px"}},{header:l(()=>[m("div",E,[F,e(f,{class:"button",text:"",onClick:w},{default:l(()=>[S(" 保存设置 ")]),_:1})])]),default:l(()=>[e(v,{ref_key:"formRef",ref:h,rules:j.value,model:o,"label-width":"220px"},{default:l(()=>[e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"请求地址",prop:"openaiBaseUrl","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiBaseUrl,"onUpdate:modelValue":a[0]||(a[0]=t=>o.openaiBaseUrl=t),placeholder:"默认地址: https://api.openai.com 第三方代理推荐:https://api.lightai.io",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局key",prop:"openaiBaseKey","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiBaseKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.openaiBaseKey=t),placeholder:"请填写模型全局 Key 信息,当模型 Key 为空时调用",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局模型",prop:"openaiBaseModel","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiBaseModel,"onUpdate:modelValue":a[2]||(a[2]=t=>o.openaiBaseModel=t),placeholder:"全局模型配置,用于后台一些静默赋能操作",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"继承对话模型",prop:"isModelInherited","label-width":"120"},{default:l(()=>[e(_,{modelValue:o.isModelInherited,"onUpdate:modelValue":a[3]||(a[3]=t=>o.isModelInherited=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(x,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[O]),default:l(()=>[e(b,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"Temperature",prop:"openaiTemperature","label-width":"120px"},{default:l(()=>[e(y,{modelValue:o.openaiTemperature,"onUpdate:modelValue":a[4]||(a[4]=t=>o.openaiTemperature=t),"controls-position":"right",min:0,max:2,step:.1,placeholder:"模型 Temperature 设置,默认1",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"超时时间",prop:"openaiTimeout","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiTimeout,"onUpdate:modelValue":a[5]||(a[5]=t=>o.openaiTimeout=t),placeholder:"openai超时时间设置、默认300s 单位:秒(s)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局头部预设",prop:"systemPreMessage","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.systemPreMessage,"onUpdate:modelValue":a[6]||(a[6]=t=>o.systemPreMessage=t),type:"textarea",rows:8,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof U=="function"&&U(Q);export{Q as default}; +import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as T}from"./config-CwtVyG0K.js";import{d as k,m as q,r as V,a as K,n as s,g as N,c as D,b as e,w as l,e as m,h as S,E as B,k as U}from"./index-CAe0BuuW.js";const E={class:"flex justify-between"},F=m("h2",null,"PDF 分析设置",-1),O=m("div",{style:{width:"250px"}},[m("p",null,"开启后、对话模型将会继承上一次对话的模型、默认开启")],-1),Q=k({__name:"pdf",setup(R){const o=q({openaiBaseUrl:"",openaiBaseKey:"",openaiTimeout:"",openaiBaseModel:"gpt-3.5-turbo",openaiTemperature:1,mjNotSaveImg:0,mjProxyImgUrl:"",systemPreMessage:"",mjNotUseProxy:1,isMjTranslate:0,mjTranslatePrompt:"",isDalleChat:1,isModelInherited:1}),j=V({openaiBaseUrl:[{required:!1,trigger:"blur",message:"请填写openai的请求地址"}],isMjTranslate:[{required:!1,trigger:"blur",message:"是否开启翻译/联想"}],isDalleChat:[{required:!1,trigger:"blur",message:"是否开启连续绘画"}],isModelInherited:[{required:!1,trigger:"blur",message:"是否继承模型"}],openaiTimeout:[{required:!1,trigger:"blur",message:"请填写openai的超时时间(单位ms)"}],openaiBaseModel:[{required:!1,trigger:"blur",message:"请填写全局模型,用于后台一些静默性赋能操作"}],openaiTemperature:[{required:!1,trigger:"blur",message:"请填写温度"}],mjTranslatePrompt:[{required:!1,trigger:"blur",message:"用于翻译 / 联想的提示词"}]}),h=V();async function M(){const p=await T.queryConfig({keys:["openaiBaseUrl","openaiBaseKey","openaiTimeout","openaiBaseModel","openaiTemperature","mjNotSaveImg","mjProxyImgUrl","systemPreMessage","mjNotUseProxy","isMjTranslate","mjTranslatePrompt","isDalleChat","isModelInherited"]}),{openaiBaseUrl:a="",openaiBaseKey:d="",openaiTimeout:c=300,openaiBaseModel:f="gpt-3.5-turbo",openaiTemperature:u=1,isMjTranslate:n="",mjNotSaveImg:r,mjProxyImgUrl:i,systemPreMessage:_,mjNotUseProxy:g,mjTranslatePrompt:b,isDalleChat:x,isModelInherited:y}=p.data;Object.assign(o,{openaiBaseUrl:a,openaiBaseKey:d,openaiTimeout:c,isMjTranslate:n,openaiTemperature:u,openaiBaseModel:f,mjNotSaveImg:r,mjProxyImgUrl:i,systemPreMessage:_,mjNotUseProxy:g,mjTranslatePrompt:b,isDalleChat:x,isModelInherited:y})}function w(){var p;(p=h.value)==null||p.validate(async a=>{if(a){try{await T.setConfig({settings:P(o)}),B.success("变更配置信息成功")}catch{}M()}else B.error("请填写完整信息")})}function P(p){return Object.keys(p).map(a=>({configKey:a,configVal:p[a]}))}return K(()=>{M()}),(p,a)=>{const d=s("el-alert"),c=C,f=s("el-button"),u=s("el-input"),n=s("el-form-item"),r=s("el-col"),i=s("el-row"),_=s("el-switch"),g=s("QuestionFilled"),b=s("el-icon"),x=s("el-tooltip"),y=s("el-input-number"),v=s("el-form"),I=s("el-card");return N(),D("div",null,[e(c,null,{default:l(()=>[e(d,{closable:!1,"show-icon":"",title:"全局配置说明",description:"系统默认的地址是 https://api.openai.com 、如果你是国内的服务器可能无法访问、您可以使用自己的代理地址、此处的配置为全局配置、我们可以对单张key进行单独设置、当我们对key不进行设置的时候将会走此处的设置、如果此处也没有设置、系统将会走系统内置默认配置!",type:"success"})]),_:1}),e(I,{style:{margin:"20px"}},{header:l(()=>[m("div",E,[F,e(f,{class:"button",text:"",onClick:w},{default:l(()=>[S(" 保存设置 ")]),_:1})])]),default:l(()=>[e(v,{ref_key:"formRef",ref:h,rules:j.value,model:o,"label-width":"220px"},{default:l(()=>[e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"请求地址",prop:"openaiBaseUrl","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiBaseUrl,"onUpdate:modelValue":a[0]||(a[0]=t=>o.openaiBaseUrl=t),placeholder:"默认地址: https://api.openai.com 第三方代理推荐:https://api.lightai.io",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局key",prop:"openaiBaseKey","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiBaseKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.openaiBaseKey=t),placeholder:"请填写模型全局 Key 信息,当模型 Key 为空时调用",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局模型",prop:"openaiBaseModel","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiBaseModel,"onUpdate:modelValue":a[2]||(a[2]=t=>o.openaiBaseModel=t),placeholder:"全局模型配置,用于后台一些静默赋能操作",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"继承对话模型",prop:"isModelInherited","label-width":"120"},{default:l(()=>[e(_,{modelValue:o.isModelInherited,"onUpdate:modelValue":a[3]||(a[3]=t=>o.isModelInherited=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(x,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[O]),default:l(()=>[e(b,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"Temperature",prop:"openaiTemperature","label-width":"120px"},{default:l(()=>[e(y,{modelValue:o.openaiTemperature,"onUpdate:modelValue":a[4]||(a[4]=t=>o.openaiTemperature=t),"controls-position":"right",min:0,max:2,step:.1,placeholder:"模型 Temperature 设置,默认1",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"超时时间",prop:"openaiTimeout","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.openaiTimeout,"onUpdate:modelValue":a[5]||(a[5]=t=>o.openaiTimeout=t),placeholder:"openai超时时间设置、默认300s 单位:秒(s)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局头部预设",prop:"systemPreMessage","label-width":"120px"},{default:l(()=>[e(u,{modelValue:o.systemPreMessage,"onUpdate:modelValue":a[6]||(a[6]=t=>o.systemPreMessage=t),type:"textarea",rows:8,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof U=="function"&&U(Q);export{Q as default}; diff --git a/public/admin/assets/phone-CGUMJk5n.js b/public/admin/assets/phone-BhpR_O8Z.js similarity index 95% rename from public/admin/assets/phone-CGUMJk5n.js rename to public/admin/assets/phone-BhpR_O8Z.js index 25d1435..d133133 100644 --- a/public/admin/assets/phone-CGUMJk5n.js +++ b/public/admin/assets/phone-BhpR_O8Z.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as k,m as N,r as g,a as q,n as s,g as T,c as L,b as e,w as l,h as m,e as d,E as h,j as U,_ as B,k as y}from"./index-DEc4xym2.js";import{a as P}from"./config-BQ9gBCXa.js";const j=d("div",{class:"flex items-center gap-4"},"手机验证码登录设置",-1),D=d("div",{class:"text-sm/6"},[d("div",null,[m(" 手机验证使用"),d("a",{href:"https://dysms.console.aliyun.com/overview",target:"_blank"},"阿里云短信服务"),m(",请先申请好签名模板以及获取到您的秘钥信息。 ")]),d("div",null,"当您配置并开启后则表示开启用户端手机号注册的行为!")],-1),E=k({__name:"phone",setup($){const a=N({phoneLoginStatus:"",aliPhoneAccessKeyId:"",aliPhoneAccessKeySecret:"",aliPhoneSignName:"",aliPhoneTemplateCode:""}),S=g({phoneLoginStatus:[{required:!1,trigger:"blur",message:"请选择是否开启手机号登录"}],aliPhoneAccessKeyId:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeyId"}],aliPhoneAccessKeySecret:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeySecret"}],aliPhoneSignName:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板签名"}],aliPhoneTemplateCode:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板ID"}]}),p=g();async function f(){const n=await P.queryConfig({keys:["phoneLoginStatus","aliPhoneAccessKeyId","aliPhoneAccessKeySecret","aliPhoneSignName","aliPhoneTemplateCode"]});Object.assign(a,n.data)}function b(){var n;(n=p.value)==null||n.validate(async o=>{if(o){try{await P.setConfig({settings:x(a)}),h.success("变更配置信息成功")}catch{}f()}else h.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return q(()=>{f()}),(n,o)=>{const _=U,K=B,V=I,v=s("el-switch"),A=s("el-tooltip"),c=s("el-form-item"),r=s("el-col"),i=s("el-row"),u=s("el-input"),w=s("el-form"),C=s("el-card");return T(),L("div",null,[e(V,null,{title:l(()=>[j]),content:l(()=>[D]),default:l(()=>[e(K,{text:"",outline:"",onClick:b},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(C,{style:{margin:"20px"}},{default:l(()=>[e(w,{ref_key:"formRef",ref:p,rules:S.value,model:a,"label-width":"170px"},{default:l(()=>[e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"开启手机号注册/登录",prop:"phoneLoginStatus"},{default:l(()=>[e(A,{class:"box-item",effect:"dark",content:"如您启用短信登录、则用户端则可以通过手机号的方式登录!",placement:"right"},{default:l(()=>[e(v,{modelValue:a.phoneLoginStatus,"onUpdate:modelValue":o[0]||(o[0]=t=>a.phoneLoginStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeyId",prop:"aliPhoneAccessKeyId"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeyId,"onUpdate:modelValue":o[1]||(o[1]=t=>a.aliPhoneAccessKeyId=t),placeholder:"请填写AccessKeyId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeySecret",prop:"aliPhoneAccessKeySecret"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeySecret,"onUpdate:modelValue":o[2]||(o[2]=t=>a.aliPhoneAccessKeySecret=t),placeholder:"请填写AccessKeySecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信签名",prop:"aliPhoneSignName"},{default:l(()=>[e(u,{modelValue:a.aliPhoneSignName,"onUpdate:modelValue":o[3]||(o[3]=t=>a.aliPhoneSignName=t),placeholder:"请填写您申请的短信签名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信模板ID",prop:"aliPhoneTemplateCode"},{default:l(()=>[e(u,{modelValue:a.aliPhoneTemplateCode,"onUpdate:modelValue":o[4]||(o[4]=t=>a.aliPhoneTemplateCode=t),placeholder:"请填写短信模板ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof y=="function"&&y(E);export{E as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as k,m as N,r as g,a as q,n as s,g as T,c as L,b as e,w as l,h as m,e as d,E as h,j as U,_ as B,k as y}from"./index-CAe0BuuW.js";import{a as P}from"./config-CwtVyG0K.js";const j=d("div",{class:"flex items-center gap-4"},"手机验证码登录设置",-1),D=d("div",{class:"text-sm/6"},[d("div",null,[m(" 手机验证使用"),d("a",{href:"https://dysms.console.aliyun.com/overview",target:"_blank"},"阿里云短信服务"),m(",请先申请好签名模板以及获取到您的秘钥信息。 ")]),d("div",null,"当您配置并开启后则表示开启用户端手机号注册的行为!")],-1),E=k({__name:"phone",setup($){const a=N({phoneLoginStatus:"",aliPhoneAccessKeyId:"",aliPhoneAccessKeySecret:"",aliPhoneSignName:"",aliPhoneTemplateCode:""}),S=g({phoneLoginStatus:[{required:!1,trigger:"blur",message:"请选择是否开启手机号登录"}],aliPhoneAccessKeyId:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeyId"}],aliPhoneAccessKeySecret:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeySecret"}],aliPhoneSignName:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板签名"}],aliPhoneTemplateCode:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板ID"}]}),p=g();async function f(){const n=await P.queryConfig({keys:["phoneLoginStatus","aliPhoneAccessKeyId","aliPhoneAccessKeySecret","aliPhoneSignName","aliPhoneTemplateCode"]});Object.assign(a,n.data)}function b(){var n;(n=p.value)==null||n.validate(async o=>{if(o){try{await P.setConfig({settings:x(a)}),h.success("变更配置信息成功")}catch{}f()}else h.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return q(()=>{f()}),(n,o)=>{const _=U,K=B,V=I,v=s("el-switch"),A=s("el-tooltip"),c=s("el-form-item"),r=s("el-col"),i=s("el-row"),u=s("el-input"),w=s("el-form"),C=s("el-card");return T(),L("div",null,[e(V,null,{title:l(()=>[j]),content:l(()=>[D]),default:l(()=>[e(K,{text:"",outline:"",onClick:b},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(C,{style:{margin:"20px"}},{default:l(()=>[e(w,{ref_key:"formRef",ref:p,rules:S.value,model:a,"label-width":"170px"},{default:l(()=>[e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"开启手机号注册/登录",prop:"phoneLoginStatus"},{default:l(()=>[e(A,{class:"box-item",effect:"dark",content:"如您启用短信登录、则用户端则可以通过手机号的方式登录!",placement:"right"},{default:l(()=>[e(v,{modelValue:a.phoneLoginStatus,"onUpdate:modelValue":o[0]||(o[0]=t=>a.phoneLoginStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeyId",prop:"aliPhoneAccessKeyId"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeyId,"onUpdate:modelValue":o[1]||(o[1]=t=>a.aliPhoneAccessKeyId=t),placeholder:"请填写AccessKeyId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeySecret",prop:"aliPhoneAccessKeySecret"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeySecret,"onUpdate:modelValue":o[2]||(o[2]=t=>a.aliPhoneAccessKeySecret=t),placeholder:"请填写AccessKeySecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信签名",prop:"aliPhoneSignName"},{default:l(()=>[e(u,{modelValue:a.aliPhoneSignName,"onUpdate:modelValue":o[3]||(o[3]=t=>a.aliPhoneSignName=t),placeholder:"请填写您申请的短信签名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信模板ID",prop:"aliPhoneTemplateCode"},{default:l(()=>[e(u,{modelValue:a.aliPhoneTemplateCode,"onUpdate:modelValue":o[4]||(o[4]=t=>a.aliPhoneTemplateCode=t),placeholder:"请填写短信模板ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof y=="function"&&y(E);export{E as default}; diff --git a/public/admin/assets/plugin-BFOtki6v.js b/public/admin/assets/plugin-BFOtki6v.js deleted file mode 100644 index b931687..0000000 --- a/public/admin/assets/plugin-BFOtki6v.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as ge}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as fe}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{I as S,d as _e,r as p,m as A,p as N,a as be,n as i,q as ye,g as V,c as E,b as t,w as n,h as c,y as ve,i as u,z as $,e as d,t as x,B as we,C as he,A as Pe,D as Ve,G as xe,E as I,H as L,j as Ie,_ as ke,k as M}from"./index-DEc4xym2.js";import{Q as Ce}from"./index-J5zVJPyL.js";const U={pluginList:f=>S.get("plugin/pluginList",{params:f}),delPlugin:f=>S.post("plugin/delPlugin",f),createPlugin:f=>S.post("plugin/createPlugin",f),updatePlugin:f=>S.post("plugin/updatePlugin",f)},Se=d("div",{class:"flex items-center gap-4"},"插件设置",-1),Ue=d("div",{class:"text-sm/6"},[d("div",null," 可自定义插件名称、描述和头像用于前端显示,同时需要设置对应的插件参数。 "),d("div",null,"插件系统包含,内置插件和普通插件两种。"),d("div",null," 内置插件已支持Suno音乐(参数:suno-v3)、Midjourney绘图(参数:midjourney)、Stable Diffusion绘图(参数:stable-diffusion)、 "),d("div",null," Dalle绘画(参数:dall-e-3)、LumaVideo(参数:luma-video),均需通过创意模型配置对应模型。 "),d("div",null,[c(" 普通插件需外部插件系统支持,具体参数请查看"),d("a",{href:"https://github.com/vastxie/99AIPlugin",target:"_blank"},"插件系统"),c(" 。 ")])],-1),De={style:{maxWidth:"350px"}},ze={style:{maxHeight:"50px",cursor:"pointer"}},Ae=["src"],$e={class:"flex justify-end mr-5"},Oe=_e({__name:"plugin",setup(f){p();const O=p(0),_=p(!1),k=p(!1),w=A({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,isSystemPlugin:0,parameters:"",sortOrder:100,page:1,size:10}),j=p(`/api/upload/file?dir=${encodeURIComponent("system/plugin")}`),D=p(),y=p(0),R=p(!1),G=p(0),o=A({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,isSystemPlugin:0,parameters:"",sortOrder:100}),H=A({name:[{required:!0,message:"请填写App名称",trigger:"blur"}],description:[{required:!0,message:"请填写App介绍信息、用于对外展示",trigger:"blur"}],pluginImg:[{required:!1,message:"请上传插件封面",trigger:"blur"}],demoData:[{required:!1,message:"请填写演示数据",trigger:"blur"}],isEnabled:[{required:!0,type:"number",message:"请选择插件状态",trigger:"change"}],isSystemPlugin:[{required:!0,type:"number",message:"请选择是否为系统插件",trigger:"change"}],parameters:[{required:!0,message:"请填写调用参数",trigger:"blur"}],sortOrder:[{required:!0,type:"number",message:"请填写排序值",trigger:"change"}]}),q=p([]);p([]);const Q=N(()=>y.value?"更新插件":"新增插件"),W=N(()=>y.value?"确认更新":"确认新增");async function h(){try{k.value=!0;const a=await U.pluginList(w),{rows:e,count:s}=a.data;k.value=!1,O.value=s,q.value=e.sort((r,g)=>g.order-r.order)}catch{k.value=!1}}function J(a){y.value=a.id,R.value=a.role==="user",G.value=a.status;const{name:e,pluginImg:s,description:r,demoData:g,isEnabled:z,isSystemPlugin:m,parameters:C,sortOrder:v}=a;xe(()=>{Object.assign(o,{name:e,pluginImg:s,description:r,demoData:g,isEnabled:z,isSystemPlugin:m,parameters:C,sortOrder:v})}),_.value=!0}function K(a){y.value=0,a==null||a.resetFields()}async function X(a){await U.delPlugin({id:a.id}),I.success("删除分类成功"),h()}const T=(a,e)=>{console.log("response: ",a.data),o.pluginImg=a.data};async function Y(){if(o.pluginImg){const a=await ee(o.pluginImg);Z(a,T)}}function Z(a,e){const s=new FormData;s.append("file",a),L.post(j.value,s,{headers:{"Content-Type":"multipart/form-data"}}).then(r=>{e(r.data)}).catch(r=>{console.error("上传失败",r)})}async function ee(a){const e=await L.get(a,{responseType:"blob"});let s="downloaded_file";const r=e.headers["content-disposition"];if(r){const g=/filename="([^"]+)"/.exec(r);g!=null&&g[1]&&(s=g[1])}else s=te(a);return new File([e.data],s,{type:e.data.type})}function te(a){const s=new URL(a).pathname;return s.substring(s.lastIndexOf("/")+1)}const le=a=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(a.type)){if(a.size/1024>300)return I.error("当前限制文件最大不超过 300KB!"),!1}else return I.error("当前系统仅支持 PNG、JPEG、GIF 和 WebP 格式的图片!"),!1};function ae(a){a==null||a.validate(async e=>{if(e){if(y.value){const s={id:y.value,...o};await U.updatePlugin(s),I({type:"success",message:"更新插件成功!"})}else await U.createPlugin(o),I({type:"success",message:"创建新的插件成功!"});_.value=!1,h()}})}return be(()=>{h()}),(a,e)=>{const s=Ie,r=ke,g=fe,z=i("el-image"),m=i("el-table-column"),C=i("el-tag"),v=i("el-button"),ne=i("el-popconfirm"),oe=i("el-table"),se=i("el-pagination"),ie=i("el-row"),re=ge,P=i("el-input"),b=i("el-form-item"),B=i("el-switch"),F=i("el-icon"),ue=i("el-upload"),de=i("el-form"),pe=i("el-dialog"),me=ye("loading");return V(),E("div",null,[t(g,null,{title:n(()=>[Se]),content:n(()=>[Ue]),default:n(()=>[t(r,{outline:"",onClick:e[0]||(e[0]=l=>_.value=!0)},{default:n(()=>[t(s,{name:"ic:baseline-plus"}),c(" 添加插件 ")]),_:1})]),_:1}),t(re,{style:{width:"100%"}},{default:n(()=>[ve((V(),$(oe,{border:"",data:u(q),style:{width:"100%"},size:"large"},{default:n(()=>[t(m,{prop:"pluginImg",label:"封面",width:"100"},{default:n(l=>[t(z,{style:{height:"50px"},src:l.row.pluginImg,fit:"fill"},null,8,["src"])]),_:1}),t(m,{prop:"sortOrder",label:"排序",width:"120"}),c(" /> "),t(m,{prop:"name",label:"名称",width:"120"}),t(m,{prop:"parameters",label:"调用参数",width:"120"}),t(m,{prop:"description",label:"描述信息"},{default:n(l=>[d("template",null,[d("div",De,x(l.row.description),1)]),d("div",ze,x(l.row.description),1)]),_:1}),t(m,{prop:"isSystemPlugin",label:"分类",width:"100"},{default:n(l=>[t(C,{type:l.row.isSystemPlugin===1?"success":"info"},{default:n(()=>[c(x(l.row.isSystemPlugin===1?"内置插件":"普通插件"),1)]),_:2},1032,["type"])]),_:1}),t(m,{prop:"isEnabled",label:"状态",width:"100"},{default:n(l=>[t(C,{type:l.row.isEnabled===1?"success":"danger"},{default:n(()=>[c(x(u(Ce)[l.row.isEnabled]),1)]),_:2},1032,["type"])]),_:1}),t(m,{label:"操作",width:"200"},{default:n(l=>[t(v,{link:"",type:"primary",size:"small",onClick:ce=>J(l.row)},{default:n(()=>[c(" 编辑 ")]),_:2},1032,["onClick"]),t(ne,{title:"确认删除此插件么?",width:"200","icon-color":"red",onConfirm:ce=>X(l.row)},{reference:n(()=>[t(v,{link:"",type:"danger",size:"small"},{default:n(()=>[c(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[me,u(k)]]),t(ie,{class:"flex justify-end mt-5"},{default:n(()=>[t(se,{"current-page":w.page,"onUpdate:currentPage":e[1]||(e[1]=l=>w.page=l),"page-size":w.size,"onUpdate:pageSize":e[2]||(e[2]=l=>w.size=l),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u(O),onSizeChange:h,onCurrentChange:h},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(pe,{modelValue:u(_),"onUpdate:modelValue":e[12]||(e[12]=l=>Ve(_)?_.value=l:null),"close-on-click-modal":!1,title:u(Q),width:"570",onClose:e[13]||(e[13]=l=>K(u(D)))},{footer:n(()=>[d("span",$e,[t(v,{onClick:e[10]||(e[10]=l=>_.value=!1)},{default:n(()=>[c("取消")]),_:1}),t(v,{type:"primary",onClick:e[11]||(e[11]=l=>ae(u(D)))},{default:n(()=>[c(x(u(W)),1)]),_:1})])]),default:n(()=>[t(de,{ref_key:"formPackageRef",ref:D,"label-position":"right","label-width":"100px",model:o,rules:H},{default:n(()=>[t(b,{label:"插件名称",prop:"name"},{default:n(()=>[t(P,{modelValue:o.name,"onUpdate:modelValue":e[3]||(e[3]=l=>o.name=l),placeholder:"请填写插件名称"},null,8,["modelValue"])]),_:1}),t(b,{label:"插件状态",prop:"isEnabled"},{default:n(()=>[t(B,{modelValue:o.isEnabled,"onUpdate:modelValue":e[4]||(e[4]=l=>o.isEnabled=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),t(b,{label:"插件描述",prop:"description"},{default:n(()=>[t(P,{modelValue:o.description,"onUpdate:modelValue":e[5]||(e[5]=l=>o.description=l),type:"textarea",placeholder:"请填写插件描述、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),t(b,{label:"系统插件",prop:"status"},{default:n(()=>[t(B,{modelValue:o.isSystemPlugin,"onUpdate:modelValue":e[6]||(e[6]=l=>o.isSystemPlugin=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),t(b,{label:"插件参数",prop:"parameters"},{default:n(()=>[t(P,{modelValue:o.parameters,"onUpdate:modelValue":e[7]||(e[7]=l=>o.parameters=l),modelModifiers:{number:!0},placeholder:"请填写插件参数,详见插件设置说明"},null,8,["modelValue"])]),_:1}),t(b,{label:"插件图标",prop:"pluginImg"},{default:n(()=>[t(P,{modelValue:o.pluginImg,"onUpdate:modelValue":e[8]||(e[8]=l=>o.pluginImg=l),placeholder:"请填写或上传插件图标",clearable:""},{append:n(()=>[t(ue,{class:"avatar-uploader",action:u(j),"show-file-list":!1,"on-success":T,"before-upload":le,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:n(()=>[o.pluginImg?(V(),E("img",{key:0,src:o.pluginImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ae)):(V(),$(F,{key:1,style:{width:"1rem"}},{default:n(()=>[t(u(we))]),_:1}))]),_:1},8,["action"]),o.pluginImg?(V(),$(F,{key:0,onClick:Y,style:{"margin-left":"35px",width:"1rem"}},{default:n(()=>[t(u(he))]),_:1})):Pe("",!0)]),_:1},8,["modelValue"])]),_:1}),t(b,{label:"排序ID",prop:"sortOrder"},{default:n(()=>[t(P,{modelValue:o.sortOrder,"onUpdate:modelValue":e[9]||(e[9]=l=>o.sortOrder=l),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Oe);export{Oe as default}; diff --git a/public/admin/assets/plugin-Cqknmgxh.js b/public/admin/assets/plugin-Cqknmgxh.js new file mode 100644 index 0000000..41ab6a9 --- /dev/null +++ b/public/admin/assets/plugin-Cqknmgxh.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as ge}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as fe}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{I as S,d as _e,r as p,m as A,p as N,a as be,n as i,q as ve,g as V,c as E,b as t,w as n,h as c,y as ye,i as d,z as $,e as r,t as x,B as we,C as he,A as Pe,D as Ve,G as xe,E as I,H as L,j as Ie,_ as ke,k as M}from"./index-CAe0BuuW.js";import{Q as Ce}from"./index-DfBvkKrB.js";const U={pluginList:f=>S.get("plugin/pluginList",{params:f}),delPlugin:f=>S.post("plugin/delPlugin",f),createPlugin:f=>S.post("plugin/createPlugin",f),updatePlugin:f=>S.post("plugin/updatePlugin",f)},Se=r("div",{class:"flex items-center gap-4"},"插件设置",-1),Ue=r("div",{class:"text-sm/6"},[r("div",null," 可自定义插件名称、描述和头像用于前端显示,同时需要设置对应的插件参数。 "),r("div",null,"插件系统包含,内置插件和普通插件两种。"),r("div",null," 内置插件已支持Suno音乐(参数:suno-v3)、Midjourney绘图(参数:midjourney)、Stable Diffusion绘图(参数:stable-diffusion)、 "),r("div",null," Dalle绘画(参数:dall-e-3)、LumaVideo(参数:luma-video),均需通过创意模型配置对应模型。 "),r("div",null,[c(" 普通插件需外部插件系统支持,具体参数请查看"),r("a",{href:"https://github.com/vastxie/99AIPlugin",target:"_blank"},"插件系统"),c(" 。 ")]),r("div",null," 若内置插件参数不在支持列表内,将以插件参数作为模型,调用对应模型。 ")],-1),De={style:{maxWidth:"350px"}},ze={style:{maxHeight:"50px",cursor:"pointer"}},Ae=["src"],$e={class:"flex justify-end mr-5"},Oe=_e({__name:"plugin",setup(f){p();const O=p(0),_=p(!1),k=p(!1),w=A({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,isSystemPlugin:0,parameters:"",sortOrder:100,page:1,size:10}),j=p(`/api/upload/file?dir=${encodeURIComponent("system/plugin")}`),D=p(),v=p(0),R=p(!1),G=p(0),o=A({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,isSystemPlugin:0,parameters:"",sortOrder:100}),H=A({name:[{required:!0,message:"请填写App名称",trigger:"blur"}],description:[{required:!0,message:"请填写App介绍信息、用于对外展示",trigger:"blur"}],pluginImg:[{required:!1,message:"请上传插件封面",trigger:"blur"}],demoData:[{required:!1,message:"请填写演示数据",trigger:"blur"}],isEnabled:[{required:!0,type:"number",message:"请选择插件状态",trigger:"change"}],isSystemPlugin:[{required:!0,type:"number",message:"请选择是否为系统插件",trigger:"change"}],parameters:[{required:!0,message:"请填写调用参数",trigger:"blur"}],sortOrder:[{required:!0,type:"number",message:"请填写排序值",trigger:"change"}]}),q=p([]);p([]);const Q=N(()=>v.value?"更新插件":"新增插件"),W=N(()=>v.value?"确认更新":"确认新增");async function h(){try{k.value=!0;const a=await U.pluginList(w),{rows:e,count:s}=a.data;k.value=!1,O.value=s,q.value=e.sort((u,g)=>g.order-u.order)}catch{k.value=!1}}function J(a){v.value=a.id,R.value=a.role==="user",G.value=a.status;const{name:e,pluginImg:s,description:u,demoData:g,isEnabled:z,isSystemPlugin:m,parameters:C,sortOrder:y}=a;xe(()=>{Object.assign(o,{name:e,pluginImg:s,description:u,demoData:g,isEnabled:z,isSystemPlugin:m,parameters:C,sortOrder:y})}),_.value=!0}function K(a){v.value=0,a==null||a.resetFields()}async function X(a){await U.delPlugin({id:a.id}),I.success("删除分类成功"),h()}const T=(a,e)=>{console.log("response: ",a.data),o.pluginImg=a.data};async function Y(){if(o.pluginImg){const a=await ee(o.pluginImg);Z(a,T)}}function Z(a,e){const s=new FormData;s.append("file",a),L.post(j.value,s,{headers:{"Content-Type":"multipart/form-data"}}).then(u=>{e(u.data)}).catch(u=>{console.error("上传失败",u)})}async function ee(a){const e=await L.get(a,{responseType:"blob"});let s="downloaded_file";const u=e.headers["content-disposition"];if(u){const g=/filename="([^"]+)"/.exec(u);g!=null&&g[1]&&(s=g[1])}else s=te(a);return new File([e.data],s,{type:e.data.type})}function te(a){const s=new URL(a).pathname;return s.substring(s.lastIndexOf("/")+1)}const le=a=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(a.type)){if(a.size/1024>300)return I.error("当前限制文件最大不超过 300KB!"),!1}else return I.error("当前系统仅支持 PNG、JPEG、GIF 和 WebP 格式的图片!"),!1};function ae(a){a==null||a.validate(async e=>{if(e){if(v.value){const s={id:v.value,...o};await U.updatePlugin(s),I({type:"success",message:"更新插件成功!"})}else await U.createPlugin(o),I({type:"success",message:"创建新的插件成功!"});_.value=!1,h()}})}return be(()=>{h()}),(a,e)=>{const s=Ie,u=ke,g=fe,z=i("el-image"),m=i("el-table-column"),C=i("el-tag"),y=i("el-button"),ne=i("el-popconfirm"),oe=i("el-table"),se=i("el-pagination"),ie=i("el-row"),re=ge,P=i("el-input"),b=i("el-form-item"),B=i("el-switch"),F=i("el-icon"),ue=i("el-upload"),de=i("el-form"),pe=i("el-dialog"),me=ve("loading");return V(),E("div",null,[t(g,null,{title:n(()=>[Se]),content:n(()=>[Ue]),default:n(()=>[t(u,{outline:"",onClick:e[0]||(e[0]=l=>_.value=!0)},{default:n(()=>[t(s,{name:"ic:baseline-plus"}),c(" 添加插件 ")]),_:1})]),_:1}),t(re,{style:{width:"100%"}},{default:n(()=>[ye((V(),$(oe,{border:"",data:d(q),style:{width:"100%"},size:"large"},{default:n(()=>[t(m,{prop:"pluginImg",label:"封面",width:"100"},{default:n(l=>[t(z,{style:{height:"50px"},src:l.row.pluginImg,fit:"fill"},null,8,["src"])]),_:1}),t(m,{prop:"sortOrder",label:"排序",width:"120"}),c(" /> "),t(m,{prop:"name",label:"名称",width:"120"}),t(m,{prop:"parameters",label:"调用参数",width:"120"}),t(m,{prop:"description",label:"描述信息"},{default:n(l=>[r("template",null,[r("div",De,x(l.row.description),1)]),r("div",ze,x(l.row.description),1)]),_:1}),t(m,{prop:"isSystemPlugin",label:"分类",width:"100"},{default:n(l=>[t(C,{type:l.row.isSystemPlugin===1?"success":"info"},{default:n(()=>[c(x(l.row.isSystemPlugin===1?"内置插件":"普通插件"),1)]),_:2},1032,["type"])]),_:1}),t(m,{prop:"isEnabled",label:"状态",width:"100"},{default:n(l=>[t(C,{type:l.row.isEnabled===1?"success":"danger"},{default:n(()=>[c(x(d(Ce)[l.row.isEnabled]),1)]),_:2},1032,["type"])]),_:1}),t(m,{label:"操作",width:"200"},{default:n(l=>[t(y,{link:"",type:"primary",size:"small",onClick:ce=>J(l.row)},{default:n(()=>[c(" 编辑 ")]),_:2},1032,["onClick"]),t(ne,{title:"确认删除此插件么?",width:"200","icon-color":"red",onConfirm:ce=>X(l.row)},{reference:n(()=>[t(y,{link:"",type:"danger",size:"small"},{default:n(()=>[c(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[me,d(k)]]),t(ie,{class:"flex justify-end mt-5"},{default:n(()=>[t(se,{"current-page":w.page,"onUpdate:currentPage":e[1]||(e[1]=l=>w.page=l),"page-size":w.size,"onUpdate:pageSize":e[2]||(e[2]=l=>w.size=l),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:d(O),onSizeChange:h,onCurrentChange:h},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(pe,{modelValue:d(_),"onUpdate:modelValue":e[12]||(e[12]=l=>Ve(_)?_.value=l:null),"close-on-click-modal":!1,title:d(Q),width:"570",onClose:e[13]||(e[13]=l=>K(d(D)))},{footer:n(()=>[r("span",$e,[t(y,{onClick:e[10]||(e[10]=l=>_.value=!1)},{default:n(()=>[c("取消")]),_:1}),t(y,{type:"primary",onClick:e[11]||(e[11]=l=>ae(d(D)))},{default:n(()=>[c(x(d(W)),1)]),_:1})])]),default:n(()=>[t(de,{ref_key:"formPackageRef",ref:D,"label-position":"right","label-width":"100px",model:o,rules:H},{default:n(()=>[t(b,{label:"插件名称",prop:"name"},{default:n(()=>[t(P,{modelValue:o.name,"onUpdate:modelValue":e[3]||(e[3]=l=>o.name=l),placeholder:"请填写插件名称"},null,8,["modelValue"])]),_:1}),t(b,{label:"插件状态",prop:"isEnabled"},{default:n(()=>[t(B,{modelValue:o.isEnabled,"onUpdate:modelValue":e[4]||(e[4]=l=>o.isEnabled=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),t(b,{label:"插件描述",prop:"description"},{default:n(()=>[t(P,{modelValue:o.description,"onUpdate:modelValue":e[5]||(e[5]=l=>o.description=l),type:"textarea",placeholder:"请填写插件描述、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),t(b,{label:"系统插件",prop:"status"},{default:n(()=>[t(B,{modelValue:o.isSystemPlugin,"onUpdate:modelValue":e[6]||(e[6]=l=>o.isSystemPlugin=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),t(b,{label:"插件参数",prop:"parameters"},{default:n(()=>[t(P,{modelValue:o.parameters,"onUpdate:modelValue":e[7]||(e[7]=l=>o.parameters=l),modelModifiers:{number:!0},placeholder:"请填写插件参数/模型,详见插件设置说明"},null,8,["modelValue"])]),_:1}),t(b,{label:"插件图标",prop:"pluginImg"},{default:n(()=>[t(P,{modelValue:o.pluginImg,"onUpdate:modelValue":e[8]||(e[8]=l=>o.pluginImg=l),placeholder:"请填写或上传插件图标",clearable:""},{append:n(()=>[t(ue,{class:"avatar-uploader",action:d(j),"show-file-list":!1,"on-success":T,"before-upload":le,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:n(()=>[o.pluginImg?(V(),E("img",{key:0,src:o.pluginImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ae)):(V(),$(F,{key:1,style:{width:"1rem"}},{default:n(()=>[t(d(we))]),_:1}))]),_:1},8,["action"]),o.pluginImg?(V(),$(F,{key:0,onClick:Y,style:{"margin-left":"35px",width:"1rem"}},{default:n(()=>[t(d(he))]),_:1})):Pe("",!0)]),_:1},8,["modelValue"])]),_:1}),t(b,{label:"排序ID",prop:"sortOrder"},{default:n(()=>[t(P,{modelValue:o.sortOrder,"onUpdate:modelValue":e[9]||(e[9]=l=>o.sortOrder=l),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Oe);export{Oe as default}; diff --git a/public/admin/assets/points-BojjHWXH.js b/public/admin/assets/points-BojjHWXH.js new file mode 100644 index 0000000..f2dc2f7 --- /dev/null +++ b/public/admin/assets/points-BojjHWXH.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as K,r as p,m as F,a as L,n as u,g as _,c as k,b as e,w as l,h as V,e as c,F as O,s as A,z as x,v as G,G as J,E as S,j as Q,_ as X,t as Y,k as j}from"./index-CAe0BuuW.js";import{a as C}from"./config-CwtVyG0K.js";const Z=c("div",{class:"flex items-center gap-4"},"网站显示配置",-1),ee=c("div",{class:"text-sm/6"},[c("div",null,"网站显示配置用于控制,积分、侧边菜单、朗读按钮等显示设置。"),c("div",null,"同时可以按需添加绘图风格标签。")],-1),le={style:{display:"flex","flex-wrap":"wrap",gap:"10px"}},te=K({__name:"points",setup(ae){const f=p(),w=p(!1),v=p(""),b=p(),a=F({isHideModel3Point:"",isHideModel4Point:"",isHideDrawMjPoint:"",isHideDefaultPreset:"",model3Name:"",model4Name:"",drawMjName:"",drawingStyles:"",isHideSidebar:"",showWatermark:"",isHideTts:""}),U=p({model3Name:[{required:!0,message:"请输入普通积分名称",trigger:"blur"}],model4Name:[{required:!0,message:"请输入高级积分名称",trigger:"blur"}],drawMjName:[{required:!0,message:"请输入绘画积分名称",trigger:"blur"}]}),H=p();async function y(){const n=await C.queryConfig({keys:["isHideModel3Point","isHideModel4Point","isHideDrawMjPoint","isHideDefaultPreset","model3Name","model4Name","drawMjName","drawingStyles","isHideSidebar","showWatermark","isHideTts"]});Object.assign(a,n.data),n.data.drawingStyles?f.value=n.data.drawingStyles.split(","):f.value=[]}function h(){w.value=!0,J(()=>{b.value.focus()})}function M(){const n=v.value.trim();n&&f.value.push(n),w.value=!1,v.value=""}function D(n){f.value.splice(n,1)}function T(){var n;a.drawingStyles=f.value.join(","),(n=H.value)==null||n.validate(async t=>{if(t){try{await C.setConfig({settings:B(a)}),S.success("变更配置信息成功")}catch{}y()}else S.error("请填写完整信息")})}function B(n){return Object.keys(n).map(t=>({configKey:t,configVal:n[t]}))}return L(()=>{y()}),(n,t)=>{const N=Q,q=X,R=E,r=u("el-switch"),m=u("el-tooltip"),d=u("el-form-item"),i=u("el-col"),s=u("el-row"),g=u("el-input"),W=u("el-tag"),I=u("el-button"),$=u("el-form"),z=u("el-card");return _(),k("div",null,[e(R,null,{title:l(()=>[Z]),content:l(()=>[ee]),default:l(()=>[e(q,{outline:"",onClick:T},{default:l(()=>[e(N,{name:"i-ri:file-text-line"}),V(" 保存设置 ")]),_:1})]),_:1}),e(z,{style:{margin:"20px"}},{default:l(()=>[e($,{ref_key:"formRef",ref:H,rules:U.value,model:a,"label-width":"150px"},{default:l(()=>[e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏普通积分",prop:"isHideModel3Point"},{default:l(()=>[e(m,{content:"隐藏后用户端将不显示普通积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(r,{modelValue:a.isHideModel3Point,"onUpdate:modelValue":t[0]||(t[0]=o=>a.isHideModel3Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"普通积分名称",prop:"model3Name"},{default:l(()=>[e(g,{modelValue:a.model3Name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.model3Name=o),placeholder:"普通积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏高级积分",prop:"isHideModel4Point"},{default:l(()=>[e(m,{content:"隐藏后用户端将不显示高级积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(r,{modelValue:a.isHideModel4Point,"onUpdate:modelValue":t[2]||(t[2]=o=>a.isHideModel4Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"高级积分名称",prop:"model4Name"},{default:l(()=>[e(g,{modelValue:a.model4Name,"onUpdate:modelValue":t[3]||(t[3]=o=>a.model4Name=o),placeholder:"高级积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏绘画积分",prop:"isHideDrawMjPoint"},{default:l(()=>[e(m,{content:"隐藏后用户端将不显示绘画积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(r,{modelValue:a.isHideDrawMjPoint,"onUpdate:modelValue":t[4]||(t[4]=o=>a.isHideDrawMjPoint=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"绘画积分名称",prop:"drawMjName"},{default:l(()=>[e(g,{modelValue:a.drawMjName,"onUpdate:modelValue":t[5]||(t[5]=o=>a.drawMjName=o),placeholder:"绘画积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏侧边菜单",prop:"isHideSidebar"},{default:l(()=>[e(m,{content:"隐藏后用户端将不显示侧边菜单、用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(r,{modelValue:a.isHideSidebar,"onUpdate:modelValue":t[6]||(t[6]=o=>a.isHideSidebar=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"显示全局水印",prop:"showWatermark"},{default:l(()=>[e(m,{content:"开启后将在对话页显示用户名水印",placement:"top","show-after":500},{default:l(()=>[e(r,{modelValue:a.showWatermark,"onUpdate:modelValue":t[7]||(t[7]=o=>a.showWatermark=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏首页默认预设",prop:"isHideDefaultPreset"},{default:l(()=>[e(m,{content:"隐藏后首页将不显示默认预设",placement:"top","show-after":500},{default:l(()=>[e(r,{modelValue:a.isHideDefaultPreset,"onUpdate:modelValue":t[8]||(t[8]=o=>a.isHideDefaultPreset=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏朗读按钮",prop:"isHideTts"},{default:l(()=>[e(m,{content:"隐藏后用户端将不显示朗读按钮",placement:"top","show-after":500},{default:l(()=>[e(r,{modelValue:a.isHideTts,"onUpdate:modelValue":t[9]||(t[9]=o=>a.isHideTts=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,{class:"mt-2"},{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"绘图风格显示",prop:"drawingStyles"},{default:l(()=>[c("div",le,[(_(!0),k(O,null,A(f.value,(o,P)=>(_(),x(W,{key:P,closable:"",style:{"margin-bottom":"10px"},onClose:oe=>D(P)},{default:l(()=>[V(Y(o),1)]),_:2},1032,["onClose"]))),128)),w.value?(_(),x(g,{key:0,ref_key:"inputRef",ref:b,modelValue:v.value,"onUpdate:modelValue":t[10]||(t[10]=o=>v.value=o),size:"small",style:{"margin-left":"10px",width:"auto","min-width":"80px"},onKeyup:G(M,["enter"]),onBlur:M},null,8,["modelValue"])):(_(),x(I,{key:1,size:"small",style:{"margin-left":"10px"},onClick:h},{default:l(()=>[V(" + 添加风格 ")]),_:1}))])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof j=="function"&&j(te);export{te as default}; diff --git a/public/admin/assets/points-D-WLryND.js b/public/admin/assets/points-D-WLryND.js deleted file mode 100644 index 0662f2f..0000000 --- a/public/admin/assets/points-D-WLryND.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as K}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as F,r as m,m as L,a as O,n as d,g as c,c as S,b as e,w as l,h as x,e as _,F as A,s as G,z as V,v as J,G as Q,E as j,j as W,_ as X,t as Y,k}from"./index-DEc4xym2.js";import{a as C}from"./config-BQ9gBCXa.js";const Z=_("div",{class:"flex items-center gap-4"},"网站显示配置",-1),ee=_("div",{class:"text-sm/6"},[_("div",null,"网站显示配置用于控制,积分、侧边菜单、朗读按钮等显示设置。"),_("div",null,"同时可以按需添加绘图风格标签。")],-1),le={style:{display:"flex","flex-wrap":"wrap",gap:"10px"}},te=F({__name:"points",setup(ae){const r=m(),w=m(!1),v=m(""),b=m(),a=L({isHideModel3Point:"",isHideModel4Point:"",isHideDrawMjPoint:"",model3Name:"",model4Name:"",drawMjName:"",drawingStyles:"",isHideSidebar:"",isHideTts:""}),U=m({model3Name:[{required:!0,message:"请输入普通积分名称",trigger:"blur"}],model4Name:[{required:!0,message:"请输入高级积分名称",trigger:"blur"}],drawMjName:[{required:!0,message:"请输入绘画积分名称",trigger:"blur"}]}),y=m();async function H(){const n=await C.queryConfig({keys:["isHideModel3Point","isHideModel4Point","isHideDrawMjPoint","model3Name","model4Name","drawMjName","drawingStyles","isHideSidebar","isHideTts"]});Object.assign(a,n.data),n.data.drawingStyles?r.value=n.data.drawingStyles.split(","):r.value=[]}function h(){w.value=!0,Q(()=>{b.value.focus()})}function M(){const n=v.value.trim();n&&r.value.push(n),w.value=!1,v.value=""}function T(n){r.value.splice(n,1)}function B(){var n;a.drawingStyles=r.value.join(","),(n=y.value)==null||n.validate(async t=>{if(t){try{await C.setConfig({settings:D(a)}),j.success("变更配置信息成功")}catch{}H()}else j.error("请填写完整信息")})}function D(n){return Object.keys(n).map(t=>({configKey:t,configVal:n[t]}))}return O(()=>{H()}),(n,t)=>{const N=W,q=X,R=K,f=d("el-switch"),p=d("el-tooltip"),i=d("el-form-item"),s=d("el-col"),u=d("el-row"),g=d("el-input"),I=d("el-tag"),$=d("el-button"),z=d("el-form"),E=d("el-card");return c(),S("div",null,[e(R,null,{title:l(()=>[Z]),content:l(()=>[ee]),default:l(()=>[e(q,{outline:"",onClick:B},{default:l(()=>[e(N,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(E,{style:{margin:"20px"}},{default:l(()=>[e(z,{ref_key:"formRef",ref:y,rules:U.value,model:a,"label-width":"150px"},{default:l(()=>[e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"隐藏普通积分",prop:"isHideModel3Point"},{default:l(()=>[e(p,{content:"隐藏后用户端将不显示普通积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(f,{modelValue:a.isHideModel3Point,"onUpdate:modelValue":t[0]||(t[0]=o=>a.isHideModel3Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"普通积分名称",prop:"model3Name"},{default:l(()=>[e(g,{modelValue:a.model3Name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.model3Name=o),placeholder:"普通积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"隐藏高级积分",prop:"isHideModel4Point"},{default:l(()=>[e(p,{content:"隐藏后用户端将不显示高级积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(f,{modelValue:a.isHideModel4Point,"onUpdate:modelValue":t[2]||(t[2]=o=>a.isHideModel4Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"高级积分名称",prop:"model4Name"},{default:l(()=>[e(g,{modelValue:a.model4Name,"onUpdate:modelValue":t[3]||(t[3]=o=>a.model4Name=o),placeholder:"高级积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"隐藏绘画积分",prop:"isHideDrawMjPoint"},{default:l(()=>[e(p,{content:"隐藏后用户端将不显示绘画积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(f,{modelValue:a.isHideDrawMjPoint,"onUpdate:modelValue":t[4]||(t[4]=o=>a.isHideDrawMjPoint=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"绘画积分名称",prop:"drawMjName"},{default:l(()=>[e(g,{modelValue:a.drawMjName,"onUpdate:modelValue":t[5]||(t[5]=o=>a.drawMjName=o),placeholder:"绘画积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"隐藏侧边菜单",prop:"isHideSidebar"},{default:l(()=>[e(p,{content:"隐藏后用户端将不显示侧边菜单、用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(f,{modelValue:a.isHideSidebar,"onUpdate:modelValue":t[6]||(t[6]=o=>a.isHideSidebar=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"隐藏朗读按钮",prop:"isHideTts"},{default:l(()=>[e(p,{content:"隐藏后用户端将不显示朗读按钮",placement:"top","show-after":500},{default:l(()=>[e(f,{modelValue:a.isHideTts,"onUpdate:modelValue":t[7]||(t[7]=o=>a.isHideTts=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(u,{class:"mt-2"},{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"绘图风格显示",prop:"drawingStyles"},{default:l(()=>[_("div",le,[(c(!0),S(A,null,G(r.value,(o,P)=>(c(),V(I,{key:P,closable:"",style:{"margin-bottom":"10px"},onClose:oe=>T(P)},{default:l(()=>[x(Y(o),1)]),_:2},1032,["onClose"]))),128)),w.value?(c(),V(g,{key:0,ref_key:"inputRef",ref:b,modelValue:v.value,"onUpdate:modelValue":t[8]||(t[8]=o=>v.value=o),size:"small",style:{"margin-left":"10px",width:"auto","min-width":"80px"},onKeyup:J(M,["enter"]),onBlur:M},null,8,["modelValue"])):(c(),V($,{key:1,size:"small",style:{"margin-left":"10px"},onClick:h},{default:l(()=>[x(" + 添加风格 ")]),_:1}))])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k(te);export{te as default}; diff --git a/public/admin/assets/prompts-m_Et1l2u.js b/public/admin/assets/prompts-_C-RTIKZ.js similarity index 98% rename from public/admin/assets/prompts-m_Et1l2u.js rename to public/admin/assets/prompts-_C-RTIKZ.js index 67965ba..3f190e7 100644 --- a/public/admin/assets/prompts-m_Et1l2u.js +++ b/public/admin/assets/prompts-_C-RTIKZ.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as te}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{A as P}from"./mj-CpOHr84c.js";import{d as le,r as n,m as z,p as N,a as ae,n as r,q as oe,g as y,c as j,b as e,w as l,h as _,i,B as se,y as O,z as x,e as V,t as b,J as S,F as re,s as ne,D as ie,E as A,G as de,k as F}from"./index-DEc4xym2.js";const ue={class:"w-full overflow-y-scroll whitespace-nowrap"},pe=V("div",{style:{width:"250px"}},"关闭当前提示词、用户端将不再展示!",-1),ce=V("div",{style:{width:"250px"}}," 携带左侧参数将会对提示词的参数复写、不携带则以自定义提示词中的指令参数为准! ",-1),me={class:"mr-5 flex justify-end"},_e=le({__name:"prompts",setup(fe){n(),n(),n(0);const v=n(!1),J=n(!1);n(!1);const h=n(),u=n(0),s=z({isCarryParams:!0,status:!0,title:"",order:100,prompt:"",aspect:"16:9"}),L=n([{aspect:"1:1"},{aspect:"4:3"},{aspect:"3:4"},{aspect:"16:9"},{aspect:"9:16"}]),M=z({isCarryParams:[{required:!0,message:"请选择你是否需要携带参数",trigger:"change"}],status:[{required:!0,message:"请选择提示词开启状态",trigger:"change"}],title:[{required:!0,message:"请填写您的提示词信息",trigger:"blur"}],order:[{required:!0,message:"请填写您的排序id 越大越靠前",trigger:"blur"}],prompt:[{required:!0,message:"请填写提示词详细内容",trigger:"change"}],aspect:[{required:!0,message:"请选择图片比例",trigger:"change"}]});function R(o){u.value=0,o==null||o.resetFields()}const p=n(!1),T=N(()=>u.value?"更新提示词":"新增提示词"),I=N(()=>u.value?"确认更新":"确认新增"),q=n([]);async function k(){try{v.value=!0;const o=await P.queryPrompts();v.value=!1,q.value=o.data}catch{v.value=!1}}async function G(o){const{id:a}=o;await P.delPrompt({id:a}),A({type:"success",message:"操作完成!"}),k()}function H(o){u.value=o.id;const{status:a,title:c,prompt:g,order:m,isCarryParams:w,aspect:d}=o;de(()=>{Object.assign(s,{status:a,title:c,prompt:g,order:m,isCarryParams:w,aspect:d})}),p.value=!0}async function K(o){o==null||o.validate(async a=>{if(a){const c=JSON.parse(JSON.stringify(s));delete c.id,u.value&&(c.id=u.value),await P.setPrompt(c),A({type:"success",message:"操作成功!"}),u.value=0,p.value=!1,k()}})}return ae(()=>{k()}),(o,a)=>{const c=r("el-alert"),g=r("el-icon"),m=r("el-button"),w=te,d=r("el-table-column"),D=r("el-tag"),Q=r("el-popconfirm"),W=r("el-table"),U=r("el-switch"),$=r("el-tooltip"),f=r("el-form-item"),C=r("el-input"),X=r("el-option"),Y=r("el-select"),Z=r("el-form"),E=r("el-dialog"),B=oe("loading");return y(),j("div",null,[e(w,{class:"header"},{default:l(()=>[e(c,{"show-icon":"",title:"提示词说明",description:"此处的提示词将会在用户端的midjoney绘画中展示出来、用户点击你给与的预设将直接将提示词写入输入框中!",type:"success"}),e(m,{type:"success",class:"ml-3",size:"large",onClick:a[0]||(a[0]=t=>p.value=!0)},{default:l(()=>[_(" 添加提示词 "),e(g,{class:"ml-3"},{default:l(()=>[e(i(se))]),_:1})]),_:1})]),_:1}),e(w,{style:{width:"100%"}},{default:l(()=>[O((y(),x(W,{border:"",data:i(q),style:{width:"100%"},size:"large"},{default:l(()=>[e(d,{prop:"title",label:"提示词名称",width:"180"}),e(d,{prop:"aspect",label:"图片比例",width:"180"}),e(d,{prop:"prompt",label:"提示词内容"},{default:l(t=>[V("div",ue,b(t.row.prompt),1)]),_:1}),e(d,{prop:"status",align:"center",label:"提示词状态",width:"110"},{default:l(t=>[e(D,{type:t.row.status?"success":"danger"},{default:l(()=>[_(b(t.row.status?"开启中":"已关闭"),1)]),_:2},1032,["type"])]),_:1}),e(d,{prop:"isCarryParams",align:"center",label:"携带用户的参数",width:"150"},{default:l(t=>[e(D,{type:t.row.isCarryParams?"success":"warning"},{default:l(()=>[_(b(t.row.isCarryParams?"携带":"不携带"),1)]),_:2},1032,["type"])]),_:1}),e(d,{prop:"order",align:"center",label:"排序ID",width:"90"}),e(d,{fixed:"right",label:"操作",align:"center",width:"180"},{default:l(t=>[e(m,{link:"",type:"primary",size:"small",onClick:ee=>H(t.row)},{default:l(()=>[_(" 变更 ")]),_:2},1032,["onClick"]),e(Q,{title:"确认删除此提示词么?",width:"180","icon-color":"red",onConfirm:ee=>G(t.row)},{reference:l(()=>[e(m,{link:"",type:"danger",size:"small"},{default:l(()=>[_(" 删除秘钥 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[B,i(v)]])]),_:1}),e(E,{modelValue:i(p),"onUpdate:modelValue":a[9]||(a[9]=t=>ie(p)?p.value=t:null),"close-on-click-modal":!1,title:T.value,width:"770",onClose:a[10]||(a[10]=t=>R(i(h)))},{footer:l(()=>[V("span",me,[e(m,{onClick:a[7]||(a[7]=t=>p.value=!1)},{default:l(()=>[_("取消")]),_:1}),e(m,{type:"primary",onClick:a[8]||(a[8]=t=>K(i(h)))},{default:l(()=>[_(b(I.value),1)]),_:1})])]),default:l(()=>[O((y(),x(Z,{ref_key:"formPackageRef",ref:h,"label-position":"right","label-width":"120px",model:s,rules:M},{default:l(()=>[e(f,{label:"启用状态",prop:"status"},{default:l(()=>[e(U,{modelValue:s.status,"onUpdate:modelValue":a[1]||(a[1]=t=>s.status=t)},null,8,["modelValue"]),e($,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[pe]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(i(S))]),_:1})]),_:1})]),_:1}),e(f,{label:"携带左侧参数",prop:"isCarryParams"},{default:l(()=>[e(U,{modelValue:s.isCarryParams,"onUpdate:modelValue":a[2]||(a[2]=t=>s.isCarryParams=t)},null,8,["modelValue"]),e($,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[ce]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(i(S))]),_:1})]),_:1})]),_:1}),e(f,{label:"排序Order",prop:"order"},{default:l(()=>[e(C,{modelValue:s.order,"onUpdate:modelValue":a[3]||(a[3]=t=>s.order=t),placeholder:"排序id越大越靠前"},null,8,["modelValue"])]),_:1}),e(f,{label:"提示词名称",prop:"title"},{default:l(()=>[e(C,{modelValue:s.title,"onUpdate:modelValue":a[4]||(a[4]=t=>s.title=t),placeholder:"请填写提示词名称(用户看到的名称)"},null,8,["modelValue"])]),_:1}),e(f,{label:"图片比例",prop:"aspect"},{default:l(()=>[e(Y,{modelValue:s.aspect,"onUpdate:modelValue":a[5]||(a[5]=t=>s.aspect=t),placeholder:"请选择图片比例",style:{width:"100%"}},{default:l(()=>[(y(!0),j(re,null,ne(i(L),t=>(y(),x(X,{key:t.aspect,label:t.aspect,value:t.aspect},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(f,{label:"提示词内容",prop:"proxyUrl"},{default:l(()=>[e(C,{modelValue:s.prompt,"onUpdate:modelValue":a[6]||(a[6]=t=>s.prompt=t),type:"textarea",rows:4,placeholder:"请填写提示词详细内容!"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])),[[B,i(J)]])]),_:1},8,["modelValue","title"])])}}});typeof F=="function"&&F(_e);export{_e as default}; +import{_ as te}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{A as P}from"./mj-akyFMlB2.js";import{d as le,r as n,m as z,p as N,a as ae,n as r,q as oe,g as y,c as j,b as e,w as l,h as _,i,B as se,y as O,z as x,e as V,t as b,J as S,F as re,s as ne,D as ie,E as A,G as de,k as F}from"./index-CAe0BuuW.js";const ue={class:"w-full overflow-y-scroll whitespace-nowrap"},pe=V("div",{style:{width:"250px"}},"关闭当前提示词、用户端将不再展示!",-1),ce=V("div",{style:{width:"250px"}}," 携带左侧参数将会对提示词的参数复写、不携带则以自定义提示词中的指令参数为准! ",-1),me={class:"mr-5 flex justify-end"},_e=le({__name:"prompts",setup(fe){n(),n(),n(0);const v=n(!1),J=n(!1);n(!1);const h=n(),u=n(0),s=z({isCarryParams:!0,status:!0,title:"",order:100,prompt:"",aspect:"16:9"}),L=n([{aspect:"1:1"},{aspect:"4:3"},{aspect:"3:4"},{aspect:"16:9"},{aspect:"9:16"}]),M=z({isCarryParams:[{required:!0,message:"请选择你是否需要携带参数",trigger:"change"}],status:[{required:!0,message:"请选择提示词开启状态",trigger:"change"}],title:[{required:!0,message:"请填写您的提示词信息",trigger:"blur"}],order:[{required:!0,message:"请填写您的排序id 越大越靠前",trigger:"blur"}],prompt:[{required:!0,message:"请填写提示词详细内容",trigger:"change"}],aspect:[{required:!0,message:"请选择图片比例",trigger:"change"}]});function R(o){u.value=0,o==null||o.resetFields()}const p=n(!1),T=N(()=>u.value?"更新提示词":"新增提示词"),I=N(()=>u.value?"确认更新":"确认新增"),q=n([]);async function k(){try{v.value=!0;const o=await P.queryPrompts();v.value=!1,q.value=o.data}catch{v.value=!1}}async function G(o){const{id:a}=o;await P.delPrompt({id:a}),A({type:"success",message:"操作完成!"}),k()}function H(o){u.value=o.id;const{status:a,title:c,prompt:g,order:m,isCarryParams:w,aspect:d}=o;de(()=>{Object.assign(s,{status:a,title:c,prompt:g,order:m,isCarryParams:w,aspect:d})}),p.value=!0}async function K(o){o==null||o.validate(async a=>{if(a){const c=JSON.parse(JSON.stringify(s));delete c.id,u.value&&(c.id=u.value),await P.setPrompt(c),A({type:"success",message:"操作成功!"}),u.value=0,p.value=!1,k()}})}return ae(()=>{k()}),(o,a)=>{const c=r("el-alert"),g=r("el-icon"),m=r("el-button"),w=te,d=r("el-table-column"),D=r("el-tag"),Q=r("el-popconfirm"),W=r("el-table"),U=r("el-switch"),$=r("el-tooltip"),f=r("el-form-item"),C=r("el-input"),X=r("el-option"),Y=r("el-select"),Z=r("el-form"),E=r("el-dialog"),B=oe("loading");return y(),j("div",null,[e(w,{class:"header"},{default:l(()=>[e(c,{"show-icon":"",title:"提示词说明",description:"此处的提示词将会在用户端的midjoney绘画中展示出来、用户点击你给与的预设将直接将提示词写入输入框中!",type:"success"}),e(m,{type:"success",class:"ml-3",size:"large",onClick:a[0]||(a[0]=t=>p.value=!0)},{default:l(()=>[_(" 添加提示词 "),e(g,{class:"ml-3"},{default:l(()=>[e(i(se))]),_:1})]),_:1})]),_:1}),e(w,{style:{width:"100%"}},{default:l(()=>[O((y(),x(W,{border:"",data:i(q),style:{width:"100%"},size:"large"},{default:l(()=>[e(d,{prop:"title",label:"提示词名称",width:"180"}),e(d,{prop:"aspect",label:"图片比例",width:"180"}),e(d,{prop:"prompt",label:"提示词内容"},{default:l(t=>[V("div",ue,b(t.row.prompt),1)]),_:1}),e(d,{prop:"status",align:"center",label:"提示词状态",width:"110"},{default:l(t=>[e(D,{type:t.row.status?"success":"danger"},{default:l(()=>[_(b(t.row.status?"开启中":"已关闭"),1)]),_:2},1032,["type"])]),_:1}),e(d,{prop:"isCarryParams",align:"center",label:"携带用户的参数",width:"150"},{default:l(t=>[e(D,{type:t.row.isCarryParams?"success":"warning"},{default:l(()=>[_(b(t.row.isCarryParams?"携带":"不携带"),1)]),_:2},1032,["type"])]),_:1}),e(d,{prop:"order",align:"center",label:"排序ID",width:"90"}),e(d,{fixed:"right",label:"操作",align:"center",width:"180"},{default:l(t=>[e(m,{link:"",type:"primary",size:"small",onClick:ee=>H(t.row)},{default:l(()=>[_(" 变更 ")]),_:2},1032,["onClick"]),e(Q,{title:"确认删除此提示词么?",width:"180","icon-color":"red",onConfirm:ee=>G(t.row)},{reference:l(()=>[e(m,{link:"",type:"danger",size:"small"},{default:l(()=>[_(" 删除秘钥 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[B,i(v)]])]),_:1}),e(E,{modelValue:i(p),"onUpdate:modelValue":a[9]||(a[9]=t=>ie(p)?p.value=t:null),"close-on-click-modal":!1,title:T.value,width:"770",onClose:a[10]||(a[10]=t=>R(i(h)))},{footer:l(()=>[V("span",me,[e(m,{onClick:a[7]||(a[7]=t=>p.value=!1)},{default:l(()=>[_("取消")]),_:1}),e(m,{type:"primary",onClick:a[8]||(a[8]=t=>K(i(h)))},{default:l(()=>[_(b(I.value),1)]),_:1})])]),default:l(()=>[O((y(),x(Z,{ref_key:"formPackageRef",ref:h,"label-position":"right","label-width":"120px",model:s,rules:M},{default:l(()=>[e(f,{label:"启用状态",prop:"status"},{default:l(()=>[e(U,{modelValue:s.status,"onUpdate:modelValue":a[1]||(a[1]=t=>s.status=t)},null,8,["modelValue"]),e($,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[pe]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(i(S))]),_:1})]),_:1})]),_:1}),e(f,{label:"携带左侧参数",prop:"isCarryParams"},{default:l(()=>[e(U,{modelValue:s.isCarryParams,"onUpdate:modelValue":a[2]||(a[2]=t=>s.isCarryParams=t)},null,8,["modelValue"]),e($,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[ce]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(i(S))]),_:1})]),_:1})]),_:1}),e(f,{label:"排序Order",prop:"order"},{default:l(()=>[e(C,{modelValue:s.order,"onUpdate:modelValue":a[3]||(a[3]=t=>s.order=t),placeholder:"排序id越大越靠前"},null,8,["modelValue"])]),_:1}),e(f,{label:"提示词名称",prop:"title"},{default:l(()=>[e(C,{modelValue:s.title,"onUpdate:modelValue":a[4]||(a[4]=t=>s.title=t),placeholder:"请填写提示词名称(用户看到的名称)"},null,8,["modelValue"])]),_:1}),e(f,{label:"图片比例",prop:"aspect"},{default:l(()=>[e(Y,{modelValue:s.aspect,"onUpdate:modelValue":a[5]||(a[5]=t=>s.aspect=t),placeholder:"请选择图片比例",style:{width:"100%"}},{default:l(()=>[(y(!0),j(re,null,ne(i(L),t=>(y(),x(X,{key:t.aspect,label:t.aspect,value:t.aspect},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(f,{label:"提示词内容",prop:"proxyUrl"},{default:l(()=>[e(C,{modelValue:s.prompt,"onUpdate:modelValue":a[6]||(a[6]=t=>s.prompt=t),type:"textarea",rows:4,placeholder:"请填写提示词详细内容!"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])),[[B,i(J)]])]),_:1},8,["modelValue","title"])])}}});typeof F=="function"&&F(_e);export{_e as default}; diff --git a/public/admin/assets/proxy-D8FeVRV6.js b/public/admin/assets/proxy-D3dVBgtt.js similarity index 95% rename from public/admin/assets/proxy-D8FeVRV6.js rename to public/admin/assets/proxy-D3dVBgtt.js index fe65b5f..560e38b 100644 --- a/public/admin/assets/proxy-D8FeVRV6.js +++ b/public/admin/assets/proxy-D3dVBgtt.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{a as h}from"./config-BQ9gBCXa.js";import{d as q,r as i,a as N,m as D,n as a,g as k,c as E,b as e,w as l,e as r,h as y,i as g,J as j,z as K,A,E as V,k as U}from"./index-DEc4xym2.js";const J={class:"flex justify-between"},O=r("b",null,[y("MJ参数设置:"),r("a",{href:"https://api.lightai.io",target:"_blank",style:{"margin-right":"10px"}},"第三方中转"),y("推荐")],-1),R=r("div",{style:{width:"250px"}}," 默认会存储图片到配置的存储中、如果开启此选择则表示不保存原图到我们配置的存储上、直接反代访问原始图片、这样可以进一步节省空间、但访问速度及稳定性可能有所降低! ",-1),W=r("div",{style:{width:"250px"}}," 开启不使用代理将直接使用重中转获取到的链接、原生discord地址国内无法访问! ",-1),z=r("div",{style:{width:"250px"}}," 隐藏客户端绘图页面的【不需要的元素模块】【优化模块】。隐藏后用户不可选择无法选中模块 ",-1),$=q({__name:"proxy",setup(F){const c=i();i(!1),i(""),i();function C(){t.drawingStyles&&(c.value=t.drawingStyles.split(","))}N(()=>{C()});const t=D({mjTimeoutMs:"500000",mjProxyUrl:"",mjKey:"",mjLimitCount:"2",mjNotSaveImg:"0",mjHideNotBlock:"0",mjHideWorkIn:"0",drawingStyles:"",isMjTranslate:0,mjNotUseProxy:1,mjProxyImgUrl:"",isDalleChat:0,mjTranslatePrompt:""}),P=i({}),x=i();async function v(){const n=await h.queryConfig({keys:["mjTimeoutMs","mjKey","mjProxyUrl","mjLimitCount","mjNotSaveImg","mjHideNotBlock","mjHideWorkIn","drawingStyles","isMjTranslate","mjNotUseProxy","mjProxyImgUrl","isDalleChat","mjTranslatePrompt"]});Object.assign(t,n.data),n.data.drawingStyles?c.value=n.data.drawingStyles.split(","):c.value=[]}function S(){var n;t.drawingStyles=c.value.join(","),(n=x.value)==null||n.validate(async o=>{if(o){try{await h.setConfig({settings:I(t)}),V.success("变更配置信息成功")}catch{}v()}else V.error("请填写完整信息")})}function I(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return N(()=>{v()}),(n,o)=>{const b=a("el-alert"),B=L,M=a("el-button"),w=a("el-input"),m=a("el-form-item"),d=a("el-col"),u=a("el-row"),_=a("el-switch"),f=a("el-icon"),p=a("el-tooltip"),H=a("el-form"),T=a("el-card");return k(),E("div",null,[e(B,null,{default:l(()=>[e(b,{closable:!1,"show-icon":"",title:"绘画参数配置说明",description:"绘画参数配置页面允许管理员自定义绘图功能的关键设置,包括绘图并发限制、是否存储图片、使用代理选项以及提示词的优化。",type:"success"})]),_:1}),e(T,{style:{margin:"20px"}},{header:l(()=>[r("div",J,[O,e(M,{class:"button",text:"",onClick:S},{default:l(()=>[y(" 保存设置 ")]),_:1})])]),default:l(()=>[e(H,{ref_key:"formRef",ref:x,rules:P.value,model:t,"label-width":"150px"},{default:l(()=>[e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"绘图并发限制",prop:"mjLimitCount","label-width":"120"},{default:l(()=>[e(w,{modelValue:t.mjLimitCount,"onUpdate:modelValue":o[0]||(o[0]=s=>t.mjLimitCount=s),placeholder:"单人同时绘制限制数量、同一时间最多可以绘制几张!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"不存储图片",prop:"mjNotSaveImg","label-width":"120"},{default:l(()=>[e(_,{modelValue:t.mjNotSaveImg,"onUpdate:modelValue":o[1]||(o[1]=s=>t.mjNotSaveImg=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(p,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[R]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g(j))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"不使用代理",prop:"mjNotUseProxy","label-width":"120"},{default:l(()=>[e(_,{modelValue:t.mjNotUseProxy,"onUpdate:modelValue":o[2]||(o[2]=s=>t.mjNotUseProxy=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(p,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[W]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g(j))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),[0].includes(Number(t.mjNotUseProxy))?(k(),K(u,{key:0},{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"反代地址",prop:"mjProxyImgUrl","label-width":"120px"},{default:l(()=>[e(w,{modelValue:t.mjProxyImgUrl,"onUpdate:modelValue":o[3]||(o[3]=s=>t.mjProxyImgUrl=s),placeholder:"Midjourney 反代地址,为空将直接使用原链接",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):A("",!0),e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"隐藏高级功能",prop:"mjHideNotBlock","label-width":"120"},{default:l(()=>[e(_,{modelValue:t.mjHideNotBlock,"onUpdate:modelValue":o[4]||(o[4]=s=>t.mjHideNotBlock=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(p,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[z]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g(j))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof U=="function"&&U($);export{$ as default}; +import{_ as L}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as h}from"./config-CwtVyG0K.js";import{d as q,r as i,a as N,m as D,n as a,g as k,c as E,b as e,w as l,e as r,h as y,i as g,J as j,z as K,A,E as V,k as U}from"./index-CAe0BuuW.js";const J={class:"flex justify-between"},O=r("b",null,[y("MJ参数设置:"),r("a",{href:"https://api.lightai.io",target:"_blank",style:{"margin-right":"10px"}},"第三方中转"),y("推荐")],-1),R=r("div",{style:{width:"250px"}}," 默认会存储图片到配置的存储中、如果开启此选择则表示不保存原图到我们配置的存储上、直接反代访问原始图片、这样可以进一步节省空间、但访问速度及稳定性可能有所降低! ",-1),W=r("div",{style:{width:"250px"}}," 开启不使用代理将直接使用重中转获取到的链接、原生discord地址国内无法访问! ",-1),z=r("div",{style:{width:"250px"}}," 隐藏客户端绘图页面的【不需要的元素模块】【优化模块】。隐藏后用户不可选择无法选中模块 ",-1),$=q({__name:"proxy",setup(F){const c=i();i(!1),i(""),i();function C(){t.drawingStyles&&(c.value=t.drawingStyles.split(","))}N(()=>{C()});const t=D({mjTimeoutMs:"500000",mjProxyUrl:"",mjKey:"",mjLimitCount:"2",mjNotSaveImg:"0",mjHideNotBlock:"0",mjHideWorkIn:"0",drawingStyles:"",isMjTranslate:0,mjNotUseProxy:1,mjProxyImgUrl:"",isDalleChat:0,mjTranslatePrompt:""}),P=i({}),x=i();async function v(){const n=await h.queryConfig({keys:["mjTimeoutMs","mjKey","mjProxyUrl","mjLimitCount","mjNotSaveImg","mjHideNotBlock","mjHideWorkIn","drawingStyles","isMjTranslate","mjNotUseProxy","mjProxyImgUrl","isDalleChat","mjTranslatePrompt"]});Object.assign(t,n.data),n.data.drawingStyles?c.value=n.data.drawingStyles.split(","):c.value=[]}function S(){var n;t.drawingStyles=c.value.join(","),(n=x.value)==null||n.validate(async o=>{if(o){try{await h.setConfig({settings:I(t)}),V.success("变更配置信息成功")}catch{}v()}else V.error("请填写完整信息")})}function I(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return N(()=>{v()}),(n,o)=>{const b=a("el-alert"),B=L,M=a("el-button"),w=a("el-input"),m=a("el-form-item"),d=a("el-col"),u=a("el-row"),_=a("el-switch"),f=a("el-icon"),p=a("el-tooltip"),H=a("el-form"),T=a("el-card");return k(),E("div",null,[e(B,null,{default:l(()=>[e(b,{closable:!1,"show-icon":"",title:"绘画参数配置说明",description:"绘画参数配置页面允许管理员自定义绘图功能的关键设置,包括绘图并发限制、是否存储图片、使用代理选项以及提示词的优化。",type:"success"})]),_:1}),e(T,{style:{margin:"20px"}},{header:l(()=>[r("div",J,[O,e(M,{class:"button",text:"",onClick:S},{default:l(()=>[y(" 保存设置 ")]),_:1})])]),default:l(()=>[e(H,{ref_key:"formRef",ref:x,rules:P.value,model:t,"label-width":"150px"},{default:l(()=>[e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"绘图并发限制",prop:"mjLimitCount","label-width":"120"},{default:l(()=>[e(w,{modelValue:t.mjLimitCount,"onUpdate:modelValue":o[0]||(o[0]=s=>t.mjLimitCount=s),placeholder:"单人同时绘制限制数量、同一时间最多可以绘制几张!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"不存储图片",prop:"mjNotSaveImg","label-width":"120"},{default:l(()=>[e(_,{modelValue:t.mjNotSaveImg,"onUpdate:modelValue":o[1]||(o[1]=s=>t.mjNotSaveImg=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(p,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[R]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g(j))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"不使用代理",prop:"mjNotUseProxy","label-width":"120"},{default:l(()=>[e(_,{modelValue:t.mjNotUseProxy,"onUpdate:modelValue":o[2]||(o[2]=s=>t.mjNotUseProxy=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(p,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[W]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g(j))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),[0].includes(Number(t.mjNotUseProxy))?(k(),K(u,{key:0},{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"反代地址",prop:"mjProxyImgUrl","label-width":"120px"},{default:l(()=>[e(w,{modelValue:t.mjProxyImgUrl,"onUpdate:modelValue":o[3]||(o[3]=s=>t.mjProxyImgUrl=s),placeholder:"Midjourney 反代地址,为空将直接使用原链接",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):A("",!0),e(u,null,{default:l(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(m,{label:"隐藏高级功能",prop:"mjHideNotBlock","label-width":"120"},{default:l(()=>[e(_,{modelValue:t.mjHideNotBlock,"onUpdate:modelValue":o[4]||(o[4]=s=>t.mjHideNotBlock=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(p,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[z]),default:l(()=>[e(f,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(g(j))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof U=="function"&&U($);export{$ as default}; diff --git a/public/admin/assets/records-CnW4CjLy.js b/public/admin/assets/records-DczDfo3x.js similarity index 92% rename from public/admin/assets/records-CnW4CjLy.js rename to public/admin/assets/records-DczDfo3x.js index 858c9e7..e1477d1 100644 --- a/public/admin/assets/records-CnW4CjLy.js +++ b/public/admin/assets/records-DczDfo3x.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{A as $}from"./sales-CEP9_Um7.js";import{d as q,r as p,m as N,a as j,n as r,q as F,g as x,c as H,b as e,w as t,h as u,i as m,y as M,z as T,e as _,t as P,k as V}from"./index-DEc4xym2.js";const G=_("div",{class:"flex items-center gap-4"},"佣金分销明细",-1),J=_("div",{class:"text-sm/6"},[_("div",null," 每单的佣金会和此用户当前的返佣比例确定,用户返佣比例可手动变更。 ")],-1),K=["src"],L=q({__name:"records",setup(O){const v=p(),b=p(0),c=p(!1),n=N({orderPrice:null,orderId:null,page:1,size:10}),w=p([]);async function i(){try{c.value=!0;const s=await $.queryRecords(n);c.value=!1;const{rows:l,count:f}=s.data;b.value=f,w.value=l}catch{c.value=!1}}function k(s){s==null||s.resetFields(),i()}return j(()=>{i()}),(s,l)=>{const f=B,y=r("el-input"),g=r("el-form-item"),h=r("el-button"),C=r("el-form"),z=S,a=r("el-table-column"),I=r("el-tag"),D=r("el-table"),A=r("el-pagination"),U=r("el-row"),R=F("loading");return x(),H("div",null,[e(f,null,{title:t(()=>[G]),content:t(()=>[J]),_:1}),e(z,null,{default:t(()=>[e(C,{ref_key:"formRef",ref:v,inline:!0,model:n},{default:t(()=>[e(g,{label:"工单状态",prop:"orderPrice"},{default:t(()=>[e(y,{modelValue:n.orderPrice,"onUpdate:modelValue":l[0]||(l[0]=o=>n.orderPrice=o),placeholder:"订单金额"},null,8,["modelValue"])]),_:1}),e(g,{label:"订单ID",prop:"orderId"},{default:t(()=>[e(y,{modelValue:n.orderId,"onUpdate:modelValue":l[1]||(l[1]=o=>n.orderId=o),placeholder:"订单ID、模糊搜索"},null,8,["modelValue"])]),_:1}),e(g,null,{default:t(()=>[e(h,{type:"primary",onClick:i},{default:t(()=>[u(" 查询 ")]),_:1}),e(h,{onClick:l[2]||(l[2]=o=>k(m(v)))},{default:t(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(z,{style:{width:"100%"}},{default:t(()=>[M((x(),T(D,{border:"",data:m(w),style:{width:"100%"},size:"large"},{default:t(()=>[e(a,{prop:"id",label:"ID",width:"50"}),e(a,{prop:"inviterAvatar",label:"邀请人头像",width:"120"},{default:t(o=>{var d;return[_("img",{src:(d=o.row)==null?void 0:d.inviterAvatar,style:{height:"50px"}},null,8,K)]}),_:1}),e(a,{prop:"inviterEmail",label:"邀请人邮箱",width:"200"}),e(a,{prop:"inviterUsername",label:"邀请人昵称",width:"200"}),e(a,{prop:"inviteeEmail",label:"被邀人邮箱",width:"200"}),e(a,{prop:"inviteeUsername",label:"邀请人昵称",width:"200"}),e(a,{prop:"orderPrice",align:"center",label:"订单金额"}),e(a,{prop:"commissionAmount",align:"center",label:"佣金金额"},{default:t(o=>[e(I,{type:"success"},{default:t(()=>{var d;return[u(" ¥"+P((d=o.row)==null?void 0:d.commissionAmount),1)]}),_:2},1024)]),_:1}),e(a,{prop:"commissionPercentage",align:"center",label:"佣金比例"},{default:t(o=>[u(P(`${o.row.commissionPercentage}%`),1)]),_:1})]),_:1},8,["data"])),[[R,m(c)]]),e(U,{class:"flex justify-end mt-5"},{default:t(()=>[e(A,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=o=>n.page=o),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=o=>n.size=o),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:m(b),onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof V=="function"&&V(L);export{L as default}; +import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{A as $}from"./sales-DHN85h7l.js";import{d as q,r as p,m as N,a as j,n as r,q as F,g as x,c as H,b as e,w as t,h as u,i as m,y as M,z as T,e as _,t as P,k as V}from"./index-CAe0BuuW.js";const G=_("div",{class:"flex items-center gap-4"},"佣金分销明细",-1),J=_("div",{class:"text-sm/6"},[_("div",null," 每单的佣金会和此用户当前的返佣比例确定,用户返佣比例可手动变更。 ")],-1),K=["src"],L=q({__name:"records",setup(O){const v=p(),b=p(0),c=p(!1),n=N({orderPrice:null,orderId:null,page:1,size:10}),w=p([]);async function i(){try{c.value=!0;const s=await $.queryRecords(n);c.value=!1;const{rows:l,count:f}=s.data;b.value=f,w.value=l}catch{c.value=!1}}function k(s){s==null||s.resetFields(),i()}return j(()=>{i()}),(s,l)=>{const f=B,y=r("el-input"),g=r("el-form-item"),h=r("el-button"),C=r("el-form"),z=S,a=r("el-table-column"),I=r("el-tag"),D=r("el-table"),A=r("el-pagination"),U=r("el-row"),R=F("loading");return x(),H("div",null,[e(f,null,{title:t(()=>[G]),content:t(()=>[J]),_:1}),e(z,null,{default:t(()=>[e(C,{ref_key:"formRef",ref:v,inline:!0,model:n},{default:t(()=>[e(g,{label:"工单状态",prop:"orderPrice"},{default:t(()=>[e(y,{modelValue:n.orderPrice,"onUpdate:modelValue":l[0]||(l[0]=o=>n.orderPrice=o),placeholder:"订单金额"},null,8,["modelValue"])]),_:1}),e(g,{label:"订单ID",prop:"orderId"},{default:t(()=>[e(y,{modelValue:n.orderId,"onUpdate:modelValue":l[1]||(l[1]=o=>n.orderId=o),placeholder:"订单ID、模糊搜索"},null,8,["modelValue"])]),_:1}),e(g,null,{default:t(()=>[e(h,{type:"primary",onClick:i},{default:t(()=>[u(" 查询 ")]),_:1}),e(h,{onClick:l[2]||(l[2]=o=>k(m(v)))},{default:t(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(z,{style:{width:"100%"}},{default:t(()=>[M((x(),T(D,{border:"",data:m(w),style:{width:"100%"},size:"large"},{default:t(()=>[e(a,{prop:"id",label:"ID",width:"50"}),e(a,{prop:"inviterAvatar",label:"邀请人头像",width:"120"},{default:t(o=>{var d;return[_("img",{src:(d=o.row)==null?void 0:d.inviterAvatar,style:{height:"50px"}},null,8,K)]}),_:1}),e(a,{prop:"inviterEmail",label:"邀请人邮箱",width:"200"}),e(a,{prop:"inviterUsername",label:"邀请人昵称",width:"200"}),e(a,{prop:"inviteeEmail",label:"被邀人邮箱",width:"200"}),e(a,{prop:"inviteeUsername",label:"邀请人昵称",width:"200"}),e(a,{prop:"orderPrice",align:"center",label:"订单金额"}),e(a,{prop:"commissionAmount",align:"center",label:"佣金金额"},{default:t(o=>[e(I,{type:"success"},{default:t(()=>{var d;return[u(" ¥"+P((d=o.row)==null?void 0:d.commissionAmount),1)]}),_:2},1024)]),_:1}),e(a,{prop:"commissionPercentage",align:"center",label:"佣金比例"},{default:t(o=>[u(P(`${o.row.commissionPercentage}%`),1)]),_:1})]),_:1},8,["data"])),[[R,m(c)]]),e(U,{class:"flex justify-end mt-5"},{default:t(()=>[e(A,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=o=>n.page=o),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=o=>n.size=o),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:m(b),onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof V=="function"&&V(L);export{L as default}; diff --git a/public/admin/assets/register-CYjD1up6.js b/public/admin/assets/register-CnkVQnVg.js similarity index 98% rename from public/admin/assets/register-CYjD1up6.js rename to public/admin/assets/register-CnkVQnVg.js index ea1d8d4..ebcbae9 100644 --- a/public/admin/assets/register-CYjD1up6.js +++ b/public/admin/assets/register-CnkVQnVg.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as k}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as y,m as q,r as V,p as v,a as J,n as m,g as T,c as B,b as e,w as l,h as E,i as f,e as s,E as b,j as $,_ as H,k as x}from"./index-DEc4xym2.js";import{a as c}from"./config-BQ9gBCXa.js";const O=s("div",{class:"flex items-center gap-4"},"基础访问设置",-1),A=s("div",{class:"text-sm/6"},[s("div",null," 注册与访问设置支持为新用户定义默认赠送额度,涵盖对话次数、普通绘画次数和高级绘画次数。 "),s("div",null," 系统还为最初注册的前x名用户提供额外奖励,同时允许通过邀请机制为新用户及邀请者设置特定的奖励额度。 "),s("div",null," 此外,管理员可配置签到奖励和为访客分配可使用的额度,以鼓励日常活跃和吸引更多用户体验平台。 ")],-1),K=s("h5",null,"注册赠送",-1),P=s("h5",null,"限定注册赠送",-1),h=s("h5",null,"邀请注册赠送",-1),z=s("h5",null,"签到奖励",-1),F=s("h5",null,"访客设置",-1),L=y({__name:"register",setup(Q){const t=q({registerSendStatus:"",registerSendModel3Count:"",registerSendModel4Count:"",registerSendDrawMjCount:"",firstRegisterSendStatus:0,firstRegisterSendRank:"",firstRregisterSendModel3Count:"",firstRregisterSendModel4Count:"",firstRregisterSendDrawMjCount:"",inviteSendStatus:1,inviteGiveSendModel3Count:"",inviteGiveSendModel4Count:"",inviteGiveSendDrawMjCount:"",invitedGuestSendModel3Count:"",invitedGuestSendModel4Count:"",invitedGuestSendDrawMjCount:"",signInStatus:"",signInModel3Count:"",signInModel4Count:"",signInMjDrawToken:"",visitorModel3Num:null,visitorModel4Num:null,visitorMJNum:null}),R=V({visitorModel3Num:[{required:!0,trigger:"blur",message:"请填写每日限制的基础模型积分"}],visitorModel4Num:[{required:!0,trigger:"blur",message:"请填写每日限制的高级模型积分"}],visitorMJNum:[{required:!0,trigger:"blur",message:"请填写每日限制的绘画额度积分"}],signInStatus:[{required:!0,trigger:"blur",message:"请选择是否开启签到奖励"}],signInModel3Count:[{required:!0,trigger:"blur",message:"请填写赠送的基础模型额度"}],signInModel4Count:[{required:!0,trigger:"blur",message:"请填写赠送的高级模型额度"}],signInMjDrawToken:[{required:!0,trigger:"blur",message:"请填写赠送的绘画Token数量"}],registerSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启注册赠送"}],firstRegisterSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启优先注册赠送"}],inviteSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启邀请注册赠送"}]}),M=V();async function _(){const i=await c.queryConfig({keys:["visitorModel4Num","visitorModel3Num","visitorMJNum","registerSendStatus","registerSendModel3Count","registerSendModel4Count","registerSendDrawMjCount","firstRegisterSendStatus","firstRegisterSendRank","firstRregisterSendModel3Count","firstRregisterSendModel4Count","firstRregisterSendDrawMjCount","inviteSendStatus","inviteGiveSendModel3Count","inviteGiveSendModel4Count","inviteGiveSendDrawMjCount","invitedGuestSendModel3Count","invitedGuestSendModel4Count","invitedGuestSendDrawMjCount","signInModel3Count","signInModel4Count","signInMjDrawToken","signInStatus"]});i.data.firstRegisterSendStatus&&(i.data.firstRegisterSendStatus=Number(i.data.firstRegisterSendStatus)),i.data.registerSendStatus&&(i.data.registerSendStatus=Number(i.data.registerSendStatus)),Object.assign(t,i.data)}function w(){var i;(i=M.value)==null||i.validate(async n=>{if(n){try{await c.setConfig({settings:G(t)}),b.success("变更配置信息成功")}catch{}_()}else b.error("请填写完整信息")})}function G(i){return Object.keys(i).map(n=>({configKey:n,configVal:i[n]}))}v(()=>[{required:t.firstRegisterSendStatus,message:"开启优先注册赠送选项后需填写此项",trigger:"change"}]);const g=v(()=>[{required:Number(t.inviteSendStatus)===1,message:"开启邀请赠送选项后需填写此项",trigger:"change"}]);return v(()=>[{required:t.registerSendStatus,message:"开启注册赠送选项后需填写此项",trigger:"change"}]),J(()=>{_()}),(i,n)=>{const C=$,j=H,D=k,p=m("el-switch"),u=m("el-form-item"),o=m("el-col"),r=m("el-row"),a=m("el-input"),S=m("el-divider"),I=m("el-tooltip"),N=m("el-form"),U=m("el-card");return T(),B("div",null,[e(D,null,{title:l(()=>[O]),content:l(()=>[A]),default:l(()=>[e(j,{outline:"",text:"",onClick:w},{default:l(()=>[e(C,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(U,{style:{margin:"20px"}},{default:l(()=>[e(N,{ref_key:"formRef",ref:M,rules:R.value,model:t,"label-width":"220px"},{default:l(()=>[K,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"是否开启注册赠送",prop:"registerSendStatus"},{default:l(()=>[e(p,{modelValue:t.registerSendStatus,"onUpdate:modelValue":n[0]||(n[0]=d=>t.registerSendStatus=d),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"注册赠送基础模型对话额度",prop:"registerSendModel3Count"},{default:l(()=>[e(a,{modelValue:t.registerSendModel3Count,"onUpdate:modelValue":n[1]||(n[1]=d=>t.registerSendModel3Count=d),placeholder:"首次注册赠基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"注册赠送高级模型对话额度",prop:"registerSendModel4Count"},{default:l(()=>[e(a,{modelValue:t.registerSendModel4Count,"onUpdate:modelValue":n[2]||(n[2]=d=>t.registerSendModel4Count=d),placeholder:"首次注册赠高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"注册赠送绘画额度",prop:"registerSendDrawMjCount"},{default:l(()=>[e(a,{modelValue:t.registerSendDrawMjCount,"onUpdate:modelValue":n[3]||(n[3]=d=>t.registerSendDrawMjCount=d),placeholder:"首次注册赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(S),P,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启优先注册赠送",prop:"firstRegisterSendStatus"},{default:l(()=>[e(p,{modelValue:t.firstRegisterSendStatus,"onUpdate:modelValue":n[4]||(n[4]=d=>t.firstRegisterSendStatus=d),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"前多少名获得奖励",prop:"firstRegisterSendRank"},{default:l(()=>[e(a,{modelValue:t.firstRegisterSendRank,"onUpdate:modelValue":n[5]||(n[5]=d=>t.firstRegisterSendRank=d),placeholder:"设置优先注册前N名可以获得奖励",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"优先赠基础模型送对话额度",prop:"firstRregisterSendModel3Count"},{default:l(()=>[e(a,{modelValue:t.firstRregisterSendModel3Count,"onUpdate:modelValue":n[6]||(n[6]=d=>t.firstRregisterSendModel3Count=d),placeholder:"优先注册用户额外赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"优先赠高级模型送对话额度",prop:"firstRregisterSendModel4Count"},{default:l(()=>[e(a,{modelValue:t.firstRregisterSendModel4Count,"onUpdate:modelValue":n[7]||(n[7]=d=>t.firstRregisterSendModel4Count=d),placeholder:"优先注册用户额外赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"优先赠送绘画额度",prop:"firstRregisterSendDrawMjCount"},{default:l(()=>[e(a,{modelValue:t.firstRregisterSendDrawMjCount,"onUpdate:modelValue":n[8]||(n[8]=d=>t.firstRregisterSendDrawMjCount=d),placeholder:"优先注册用户额外赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(S),h,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启邀请注册赠送",prop:"inviteSendStatus"},{default:l(()=>[e(p,{modelValue:t.inviteSendStatus,"onUpdate:modelValue":n[9]||(n[9]=d=>t.inviteSendStatus=d),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邀请赠送基础模型对话额度",prop:"inviteGiveSendModel3Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.inviteGiveSendModel3Count,"onUpdate:modelValue":n[10]||(n[10]=d=>t.inviteGiveSendModel3Count=d),placeholder:"邀请注册用户赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邀请赠送高级模型对话额度",prop:"inviteGiveSendModel4Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.inviteGiveSendModel4Count,"onUpdate:modelValue":n[11]||(n[11]=d=>t.inviteGiveSendModel4Count=d),placeholder:"邀请注册用户赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邀请赠送绘画积分额度",prop:"inviteGiveSendDrawMjCount",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.inviteGiveSendDrawMjCount,"onUpdate:modelValue":n[12]||(n[12]=d=>t.inviteGiveSendDrawMjCount=d),placeholder:"邀请注册用户赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"被邀请赠送基础模型对话额度",prop:"invitedGuestSendModel3Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.invitedGuestSendModel3Count,"onUpdate:modelValue":n[13]||(n[13]=d=>t.invitedGuestSendModel3Count=d),placeholder:"被邀请注册用户赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"被邀请赠送高级模型对话额度",prop:"invitedGuestSendModel4Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.invitedGuestSendModel4Count,"onUpdate:modelValue":n[14]||(n[14]=d=>t.invitedGuestSendModel4Count=d),placeholder:"被邀请注册用户赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"被邀请赠送绘画额度",prop:"invitedGuestSendDrawMjCount",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.invitedGuestSendDrawMjCount,"onUpdate:modelValue":n[15]||(n[15]=d=>t.invitedGuestSendDrawMjCount=d),placeholder:"被邀请注册用户赠送额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(S),z,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启签到奖励",prop:"signInStatus"},{default:l(()=>[e(I,{class:"box-item",effect:"dark",content:"如您启用签到奖励、则用户端则可以通过每日签到获取额度!",placement:"right"},{default:l(()=>[e(p,{modelValue:t.signInStatus,"onUpdate:modelValue":n[16]||(n[16]=d=>t.signInStatus=d),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"赠送基础模型额度",prop:"signInModel3Count"},{default:l(()=>[e(a,{modelValue:t.signInModel3Count,"onUpdate:modelValue":n[17]||(n[17]=d=>t.signInModel3Count=d),type:"number",placeholder:"请填写签到赠送的基础模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"赠送高级模型额度",prop:"signInModel4Count"},{default:l(()=>[e(a,{modelValue:t.signInModel4Count,"onUpdate:modelValue":n[18]||(n[18]=d=>t.signInModel4Count=d),type:"number",placeholder:"请填写签到赠送的高级模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"赠送绘画额度",prop:"signInMjDrawToken"},{default:l(()=>[e(a,{modelValue:t.signInMjDrawToken,"onUpdate:modelValue":n[19]||(n[19]=d=>t.signInMjDrawToken=d),type:"number",placeholder:"请填写签到赠送绘画额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(S),F,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"基础模型额度",prop:"visitorModel3Num"},{default:l(()=>[e(a,{modelValue:t.visitorModel3Num,"onUpdate:modelValue":n[20]||(n[20]=d=>t.visitorModel3Num=d),type:"number",placeholder:"请填写每日限制基础模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"高级模型额度",prop:"visitorModel4Num"},{default:l(()=>[e(a,{modelValue:t.visitorModel4Num,"onUpdate:modelValue":n[21]||(n[21]=d=>t.visitorModel4Num=d),type:"number",placeholder:"请填写每日限制的高级模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"绘画积分额度",prop:"visitorMJNum"},{default:l(()=>[e(a,{modelValue:t.visitorMJNum,"onUpdate:modelValue":n[22]||(n[22]=d=>t.visitorMJNum=d),type:"number",placeholder:"请填写每日限制的绘画额度积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(L);export{L as default}; +import{_ as k}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as y,m as q,r as V,p as v,a as J,n as m,g as T,c as B,b as e,w as l,h as E,i as f,e as s,E as b,j as $,_ as H,k as x}from"./index-CAe0BuuW.js";import{a as c}from"./config-CwtVyG0K.js";const O=s("div",{class:"flex items-center gap-4"},"基础访问设置",-1),A=s("div",{class:"text-sm/6"},[s("div",null," 注册与访问设置支持为新用户定义默认赠送额度,涵盖对话次数、普通绘画次数和高级绘画次数。 "),s("div",null," 系统还为最初注册的前x名用户提供额外奖励,同时允许通过邀请机制为新用户及邀请者设置特定的奖励额度。 "),s("div",null," 此外,管理员可配置签到奖励和为访客分配可使用的额度,以鼓励日常活跃和吸引更多用户体验平台。 ")],-1),K=s("h5",null,"注册赠送",-1),P=s("h5",null,"限定注册赠送",-1),h=s("h5",null,"邀请注册赠送",-1),z=s("h5",null,"签到奖励",-1),F=s("h5",null,"访客设置",-1),L=y({__name:"register",setup(Q){const t=q({registerSendStatus:"",registerSendModel3Count:"",registerSendModel4Count:"",registerSendDrawMjCount:"",firstRegisterSendStatus:0,firstRegisterSendRank:"",firstRregisterSendModel3Count:"",firstRregisterSendModel4Count:"",firstRregisterSendDrawMjCount:"",inviteSendStatus:1,inviteGiveSendModel3Count:"",inviteGiveSendModel4Count:"",inviteGiveSendDrawMjCount:"",invitedGuestSendModel3Count:"",invitedGuestSendModel4Count:"",invitedGuestSendDrawMjCount:"",signInStatus:"",signInModel3Count:"",signInModel4Count:"",signInMjDrawToken:"",visitorModel3Num:null,visitorModel4Num:null,visitorMJNum:null}),R=V({visitorModel3Num:[{required:!0,trigger:"blur",message:"请填写每日限制的基础模型积分"}],visitorModel4Num:[{required:!0,trigger:"blur",message:"请填写每日限制的高级模型积分"}],visitorMJNum:[{required:!0,trigger:"blur",message:"请填写每日限制的绘画额度积分"}],signInStatus:[{required:!0,trigger:"blur",message:"请选择是否开启签到奖励"}],signInModel3Count:[{required:!0,trigger:"blur",message:"请填写赠送的基础模型额度"}],signInModel4Count:[{required:!0,trigger:"blur",message:"请填写赠送的高级模型额度"}],signInMjDrawToken:[{required:!0,trigger:"blur",message:"请填写赠送的绘画Token数量"}],registerSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启注册赠送"}],firstRegisterSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启优先注册赠送"}],inviteSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启邀请注册赠送"}]}),M=V();async function _(){const i=await c.queryConfig({keys:["visitorModel4Num","visitorModel3Num","visitorMJNum","registerSendStatus","registerSendModel3Count","registerSendModel4Count","registerSendDrawMjCount","firstRegisterSendStatus","firstRegisterSendRank","firstRregisterSendModel3Count","firstRregisterSendModel4Count","firstRregisterSendDrawMjCount","inviteSendStatus","inviteGiveSendModel3Count","inviteGiveSendModel4Count","inviteGiveSendDrawMjCount","invitedGuestSendModel3Count","invitedGuestSendModel4Count","invitedGuestSendDrawMjCount","signInModel3Count","signInModel4Count","signInMjDrawToken","signInStatus"]});i.data.firstRegisterSendStatus&&(i.data.firstRegisterSendStatus=Number(i.data.firstRegisterSendStatus)),i.data.registerSendStatus&&(i.data.registerSendStatus=Number(i.data.registerSendStatus)),Object.assign(t,i.data)}function w(){var i;(i=M.value)==null||i.validate(async n=>{if(n){try{await c.setConfig({settings:G(t)}),b.success("变更配置信息成功")}catch{}_()}else b.error("请填写完整信息")})}function G(i){return Object.keys(i).map(n=>({configKey:n,configVal:i[n]}))}v(()=>[{required:t.firstRegisterSendStatus,message:"开启优先注册赠送选项后需填写此项",trigger:"change"}]);const g=v(()=>[{required:Number(t.inviteSendStatus)===1,message:"开启邀请赠送选项后需填写此项",trigger:"change"}]);return v(()=>[{required:t.registerSendStatus,message:"开启注册赠送选项后需填写此项",trigger:"change"}]),J(()=>{_()}),(i,n)=>{const C=$,j=H,D=k,p=m("el-switch"),u=m("el-form-item"),o=m("el-col"),r=m("el-row"),a=m("el-input"),S=m("el-divider"),I=m("el-tooltip"),N=m("el-form"),U=m("el-card");return T(),B("div",null,[e(D,null,{title:l(()=>[O]),content:l(()=>[A]),default:l(()=>[e(j,{outline:"",text:"",onClick:w},{default:l(()=>[e(C,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(U,{style:{margin:"20px"}},{default:l(()=>[e(N,{ref_key:"formRef",ref:M,rules:R.value,model:t,"label-width":"220px"},{default:l(()=>[K,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"是否开启注册赠送",prop:"registerSendStatus"},{default:l(()=>[e(p,{modelValue:t.registerSendStatus,"onUpdate:modelValue":n[0]||(n[0]=d=>t.registerSendStatus=d),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"注册赠送基础模型对话额度",prop:"registerSendModel3Count"},{default:l(()=>[e(a,{modelValue:t.registerSendModel3Count,"onUpdate:modelValue":n[1]||(n[1]=d=>t.registerSendModel3Count=d),placeholder:"首次注册赠基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"注册赠送高级模型对话额度",prop:"registerSendModel4Count"},{default:l(()=>[e(a,{modelValue:t.registerSendModel4Count,"onUpdate:modelValue":n[2]||(n[2]=d=>t.registerSendModel4Count=d),placeholder:"首次注册赠高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"注册赠送绘画额度",prop:"registerSendDrawMjCount"},{default:l(()=>[e(a,{modelValue:t.registerSendDrawMjCount,"onUpdate:modelValue":n[3]||(n[3]=d=>t.registerSendDrawMjCount=d),placeholder:"首次注册赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(S),P,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启优先注册赠送",prop:"firstRegisterSendStatus"},{default:l(()=>[e(p,{modelValue:t.firstRegisterSendStatus,"onUpdate:modelValue":n[4]||(n[4]=d=>t.firstRegisterSendStatus=d),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"前多少名获得奖励",prop:"firstRegisterSendRank"},{default:l(()=>[e(a,{modelValue:t.firstRegisterSendRank,"onUpdate:modelValue":n[5]||(n[5]=d=>t.firstRegisterSendRank=d),placeholder:"设置优先注册前N名可以获得奖励",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"优先赠基础模型送对话额度",prop:"firstRregisterSendModel3Count"},{default:l(()=>[e(a,{modelValue:t.firstRregisterSendModel3Count,"onUpdate:modelValue":n[6]||(n[6]=d=>t.firstRregisterSendModel3Count=d),placeholder:"优先注册用户额外赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"优先赠高级模型送对话额度",prop:"firstRregisterSendModel4Count"},{default:l(()=>[e(a,{modelValue:t.firstRregisterSendModel4Count,"onUpdate:modelValue":n[7]||(n[7]=d=>t.firstRregisterSendModel4Count=d),placeholder:"优先注册用户额外赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"优先赠送绘画额度",prop:"firstRregisterSendDrawMjCount"},{default:l(()=>[e(a,{modelValue:t.firstRregisterSendDrawMjCount,"onUpdate:modelValue":n[8]||(n[8]=d=>t.firstRregisterSendDrawMjCount=d),placeholder:"优先注册用户额外赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(S),h,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启邀请注册赠送",prop:"inviteSendStatus"},{default:l(()=>[e(p,{modelValue:t.inviteSendStatus,"onUpdate:modelValue":n[9]||(n[9]=d=>t.inviteSendStatus=d),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邀请赠送基础模型对话额度",prop:"inviteGiveSendModel3Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.inviteGiveSendModel3Count,"onUpdate:modelValue":n[10]||(n[10]=d=>t.inviteGiveSendModel3Count=d),placeholder:"邀请注册用户赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邀请赠送高级模型对话额度",prop:"inviteGiveSendModel4Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.inviteGiveSendModel4Count,"onUpdate:modelValue":n[11]||(n[11]=d=>t.inviteGiveSendModel4Count=d),placeholder:"邀请注册用户赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邀请赠送绘画积分额度",prop:"inviteGiveSendDrawMjCount",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.inviteGiveSendDrawMjCount,"onUpdate:modelValue":n[12]||(n[12]=d=>t.inviteGiveSendDrawMjCount=d),placeholder:"邀请注册用户赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"被邀请赠送基础模型对话额度",prop:"invitedGuestSendModel3Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.invitedGuestSendModel3Count,"onUpdate:modelValue":n[13]||(n[13]=d=>t.invitedGuestSendModel3Count=d),placeholder:"被邀请注册用户赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"被邀请赠送高级模型对话额度",prop:"invitedGuestSendModel4Count",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.invitedGuestSendModel4Count,"onUpdate:modelValue":n[14]||(n[14]=d=>t.invitedGuestSendModel4Count=d),placeholder:"被邀请注册用户赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"被邀请赠送绘画额度",prop:"invitedGuestSendDrawMjCount",rules:f(g)},{default:l(()=>[e(a,{modelValue:t.invitedGuestSendDrawMjCount,"onUpdate:modelValue":n[15]||(n[15]=d=>t.invitedGuestSendDrawMjCount=d),placeholder:"被邀请注册用户赠送额度",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(S),z,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启签到奖励",prop:"signInStatus"},{default:l(()=>[e(I,{class:"box-item",effect:"dark",content:"如您启用签到奖励、则用户端则可以通过每日签到获取额度!",placement:"right"},{default:l(()=>[e(p,{modelValue:t.signInStatus,"onUpdate:modelValue":n[16]||(n[16]=d=>t.signInStatus=d),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"赠送基础模型额度",prop:"signInModel3Count"},{default:l(()=>[e(a,{modelValue:t.signInModel3Count,"onUpdate:modelValue":n[17]||(n[17]=d=>t.signInModel3Count=d),type:"number",placeholder:"请填写签到赠送的基础模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"赠送高级模型额度",prop:"signInModel4Count"},{default:l(()=>[e(a,{modelValue:t.signInModel4Count,"onUpdate:modelValue":n[18]||(n[18]=d=>t.signInModel4Count=d),type:"number",placeholder:"请填写签到赠送的高级模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"赠送绘画额度",prop:"signInMjDrawToken"},{default:l(()=>[e(a,{modelValue:t.signInMjDrawToken,"onUpdate:modelValue":n[19]||(n[19]=d=>t.signInMjDrawToken=d),type:"number",placeholder:"请填写签到赠送绘画额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(S),F,e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"基础模型额度",prop:"visitorModel3Num"},{default:l(()=>[e(a,{modelValue:t.visitorModel3Num,"onUpdate:modelValue":n[20]||(n[20]=d=>t.visitorModel3Num=d),type:"number",placeholder:"请填写每日限制基础模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"高级模型额度",prop:"visitorModel4Num"},{default:l(()=>[e(a,{modelValue:t.visitorModel4Num,"onUpdate:modelValue":n[21]||(n[21]=d=>t.visitorModel4Num=d),type:"number",placeholder:"请填写每日限制的高级模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(o,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"绘画积分额度",prop:"visitorMJNum"},{default:l(()=>[e(a,{modelValue:t.visitorMJNum,"onUpdate:modelValue":n[22]||(n[22]=d=>t.visitorMJNum=d),type:"number",placeholder:"请填写每日限制的绘画额度积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(L);export{L as default}; diff --git a/public/admin/assets/reload-Czf8LhHT.js b/public/admin/assets/reload-B81v72ys.js similarity index 61% rename from public/admin/assets/reload-Czf8LhHT.js rename to public/admin/assets/reload-B81v72ys.js index b596931..19bfc9d 100644 --- a/public/admin/assets/reload-Czf8LhHT.js +++ b/public/admin/assets/reload-B81v72ys.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as t,f as n,a,g as r,c as s,k as e}from"./index-DEc4xym2.js";const c=t({__name:"reload",setup(u){const o=n();return a(()=>{o.go(-1)}),(f,p)=>(r(),s("div"))}});typeof e=="function"&&e(c);export{c as default}; +import{d as t,f as n,a,g as r,c as s,k as e}from"./index-CAe0BuuW.js";const c=t({__name:"reload",setup(u){const o=n();return a(()=>{o.go(-1)}),(f,p)=>(r(),s("div"))}});typeof e=="function"&&e(c);export{c as default}; diff --git a/public/admin/assets/rightSide-CHjddZ3y.js b/public/admin/assets/rightSide-CHjddZ3y.js deleted file mode 100644 index 5c1e56f..0000000 --- a/public/admin/assets/rightSide-CHjddZ3y.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js";import"./index-DEc4xym2.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";export{o as default}; diff --git a/public/admin/assets/rightSide-DNWXJnoI.js b/public/admin/assets/rightSide-DNWXJnoI.js new file mode 100644 index 0000000..598d790 --- /dev/null +++ b/public/admin/assets/rightSide-DNWXJnoI.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js";import"./index-CAe0BuuW.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";export{o as default}; diff --git a/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.js b/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.js similarity index 71% rename from public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.js rename to public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.js index 31b901c..3a5c9e4 100644 --- a/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.js +++ b/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js";import{d as f,f as u,u as p,L as h,r as d,Z as g,g as s,c as S,i as e,z as a,A as o,b as i,w as b,e as v,h as x,t as k,j as $}from"./index-DEc4xym2.js";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-BiVN2RjL.js";import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-BqDgGq9W.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-BIwcUHb8.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-TAw7CesO.js";const V={class:"flex items-center"},C={class:"flex-center gap-1"},L=f({name:"Tools",__name:"rightSide",setup(D){const n=u(),t=p(),r=h(),c=d(!1);return g(()=>r.avatar,()=>{c.value&&(c.value=!1)}),(E,R)=>{const l=$,m=_;return s(),S("div",V,[e(t).settings.toolbar.navSearch?(s(),a(B,{key:0})):o("",!0),e(t).settings.toolbar.fullscreen?(s(),a(w,{key:1})):o("",!0),e(t).settings.toolbar.pageReload?(s(),a(N,{key:2})):o("",!0),e(t).settings.toolbar.colorScheme?(s(),a(y,{key:3})):o("",!0),i(m,{items:[[{label:e(t).settings.home.title,handle:()=>e(n).push({path:e(t).settings.home.fullPath}),hide:!e(t).settings.home.enable},{label:"个人设置",handle:()=>e(n).push({name:"personalSetting"})}],[{label:"退出登录",handle:()=>e(r).logout()}]],class:"flex-center cursor-pointer px-2"},{default:b(()=>[v("div",C,[x(k(e(r).username)+" ",1),i(l,{name:"i-ep:caret-bottom"})])]),_:1},8,["items"])])}}});export{L as _}; +import{_}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js";import{d as f,f as u,u as p,L as h,r as d,Z as g,g as s,c as S,i as e,z as a,A as o,b as i,w as b,e as v,h as x,t as k,j as $}from"./index-CAe0BuuW.js";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js";import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-B135yVzK.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js";const V={class:"flex items-center"},C={class:"flex-center gap-1"},L=f({name:"Tools",__name:"rightSide",setup(D){const n=u(),t=p(),r=h(),c=d(!1);return g(()=>r.avatar,()=>{c.value&&(c.value=!1)}),(E,R)=>{const l=$,m=_;return s(),S("div",V,[e(t).settings.toolbar.navSearch?(s(),a(B,{key:0})):o("",!0),e(t).settings.toolbar.fullscreen?(s(),a(w,{key:1})):o("",!0),e(t).settings.toolbar.pageReload?(s(),a(N,{key:2})):o("",!0),e(t).settings.toolbar.colorScheme?(s(),a(y,{key:3})):o("",!0),i(m,{items:[[{label:e(t).settings.home.title,handle:()=>e(n).push({path:e(t).settings.home.fullPath}),hide:!e(t).settings.home.enable},{label:"个人设置",handle:()=>e(n).push({name:"personalSetting"})}],[{label:"退出登录",handle:()=>e(r).logout()}]],class:"flex-center cursor-pointer px-2"},{default:b(()=>[v("div",C,[x(k(e(r).username)+" ",1),i(l,{name:"i-ep:caret-bottom"})])]),_:1},8,["items"])])}}});export{L as _}; diff --git a/public/admin/assets/sales-CEP9_Um7.js b/public/admin/assets/sales-DHN85h7l.js similarity index 86% rename from public/admin/assets/sales-CEP9_Um7.js rename to public/admin/assets/sales-DHN85h7l.js index 1724316..236b1ff 100644 --- a/public/admin/assets/sales-CEP9_Um7.js +++ b/public/admin/assets/sales-DHN85h7l.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as e}from"./index-DEc4xym2.js";const a={querySalesOrder:s=>e.get("sales/salesOrder",{params:s}),salesAuditOrder:s=>e.post("sales/auditOrder",s),updateSalesUser:s=>e.post("sales/updateUserSales",s),queryRecords:s=>e.get("sales/inviteRecords",{params:s}),querySalesUserList:s=>e.get("sales/salesUserList",{params:s})};export{a as A}; +import{I as e}from"./index-CAe0BuuW.js";const a={querySalesOrder:s=>e.get("sales/salesOrder",{params:s}),salesAuditOrder:s=>e.post("sales/auditOrder",s),updateSalesUser:s=>e.post("sales/updateUserSales",s),queryRecords:s=>e.get("sales/inviteRecords",{params:s}),querySalesUserList:s=>e.get("sales/salesUserList",{params:s})};export{a as A}; diff --git a/public/admin/assets/salesUser-CVpVO-ws.js b/public/admin/assets/salesUser-D0a0Dv4C.js similarity index 95% rename from public/admin/assets/salesUser-CVpVO-ws.js rename to public/admin/assets/salesUser-D0a0Dv4C.js index 1218827..9244730 100644 --- a/public/admin/assets/salesUser-CVpVO-ws.js +++ b/public/admin/assets/salesUser-D0a0Dv4C.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{A as x}from"./sales-CEP9_Um7.js";import{d as G,r as c,m as V,a as J,n as u,q as K,g as I,c as Q,b as e,w as a,h as n,i as _,y as W,z as X,e as S,t as g,D as Y,E as Z,k as A}from"./index-DEc4xym2.js";const E=S("div",{class:"flex items-center gap-4"},"佣金账户列表",-1),ee=["src"],te=G({__name:"salesUser",setup(ae){const C=c(),N=c(0),v=c(!1),d=c(!1),U=c(),i=V({performanceRatio:0,salesOutletName:"",userId:0}),r=V({salesOutletName:"",performanceRatio:null,page:1,size:10}),B=V({performanceRatio:[{required:!0,message:"请填写佣金比例",trigger:"blur"}],salesOutletName:[{required:!0,message:"请填写自定义分销名称",trigger:"blur"}]}),k=c([]);async function p(){try{v.value=!0;const o=await x.querySalesUserList(r);v.value=!1;const{rows:l,count:w}=o.data;N.value=w,k.value=l}catch{v.value=!1}}function M(o){o==null||o.resetFields(),p()}async function $(o){o==null||o.validate(async l=>{l&&(await x.updateSalesUser(i),Z.success("修改信息成功!"),d.value=!1,p())})}async function q(o){const{userId:l,performanceRatio:w,salesOutletName:m}=o;i.performanceRatio=w,i.salesOutletName=m,d.value=!0,i.userId=l}return J(()=>{p()}),(o,l)=>{const w=T,m=u("el-input"),y=u("el-form-item"),b=u("el-button"),h=u("el-form"),z=H,s=u("el-table-column"),f=u("el-tag"),D=u("el-table"),j=u("el-pagination"),L=u("el-row"),P=u("el-dialog"),F=K("loading");return I(),Q("div",null,[e(w,null,{title:a(()=>[E]),_:1}),e(z,null,{default:a(()=>[e(h,{ref_key:"formRef",ref:C,inline:!0,model:r},{default:a(()=>[e(y,{label:"分销人代号",prop:"salesOutletName"},{default:a(()=>[e(m,{modelValue:r.salesOutletName,"onUpdate:modelValue":l[0]||(l[0]=t=>r.salesOutletName=t),placeholder:"填写分销人代号搜索"},null,8,["modelValue"])]),_:1}),e(y,{label:"返佣比例",prop:"performanceRatio"},{default:a(()=>[e(m,{modelValue:r.performanceRatio,"onUpdate:modelValue":l[1]||(l[1]=t=>r.performanceRatio=t),placeholder:"填写分销人返佣比例"},null,8,["modelValue"])]),_:1}),e(y,null,{default:a(()=>[e(b,{type:"primary",onClick:p},{default:a(()=>[n(" 查询 ")]),_:1}),e(b,{onClick:l[2]||(l[2]=t=>M(_(C)))},{default:a(()=>[n(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(z,{style:{width:"100%"}},{default:a(()=>[W((I(),X(D,{border:"",data:_(k),style:{width:"100%"},size:"large"},{default:a(()=>[e(s,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:a(t=>{var R,O;return[S("img",{src:(O=(R=t.row)==null?void 0:R.userInfo)==null?void 0:O.avatar,style:{height:"50px"}},null,8,ee)]}),_:1}),e(s,{prop:"userInfo.email",label:"邮箱",width:"200"}),e(s,{prop:"salesOutletName",label:"分销人代号",width:"120"}),e(s,{prop:"performanceRatio",label:"分销人佣金比例",align:"center"},{default:a(t=>[e(f,null,{default:a(()=>[n(g(t.row.performanceRatio)+"% ",1)]),_:2},1024)]),_:1}),e(s,{prop:"orderCount",label:"累计分销订单量",align:"center"},{default:a(t=>[e(f,{type:"success"},{default:a(()=>[n(g(t.row.orderCount),1)]),_:2},1024)]),_:1}),e(s,{prop:"totalAmount",label:"分销人账户总金额",align:"center",width:"150"},{default:a(t=>[e(f,{type:t.row.totalAmount>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.totalAmount),1)]),_:2},1032,["type"])]),_:1}),e(s,{prop:"withdrawalAmount",label:"分销人已提现金额",align:"center",width:"150"},{default:a(t=>[e(f,{type:t.row.withdrawalAmount>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.withdrawalAmount),1)]),_:2},1032,["type"])]),_:1}),e(s,{prop:"distributionBalance",label:"分销人可提现金额",align:"center",width:"150"},{default:a(t=>[e(f,{type:t.row.distributionBalance>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.distributionBalance),1)]),_:2},1032,["type"])]),_:1}),e(s,{prop:"drawMoneyIn",label:"分销人正在提现金额",align:"center"},{default:a(t=>[e(f,{type:t.row.drawMoneyIn>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.drawMoneyIn),1)]),_:2},1032,["type"])]),_:1}),e(s,{fixed:"right",label:"操作",width:"100",align:"center"},{default:a(t=>[e(b,{link:"",type:"primary",size:"small",onClick:R=>q(t.row)},{default:a(()=>[n(" 变更用户 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[F,_(v)]]),e(L,{class:"flex justify-end mt-5"},{default:a(()=>[e(j,{"current-page":r.page,"onUpdate:currentPage":l[3]||(l[3]=t=>r.page=t),"page-size":r.size,"onUpdate:pageSize":l[4]||(l[4]=t=>r.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:_(N),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(P,{modelValue:_(d),"onUpdate:modelValue":l[9]||(l[9]=t=>Y(d)?d.value=t:null),title:"修改用户权限",width:"450px"},{footer:a(()=>[e(b,{onClick:l[7]||(l[7]=t=>d.value=!1)},{default:a(()=>[n(" 我再想想 ")]),_:1}),e(b,{type:"primary",onClick:l[8]||(l[8]=t=>$(_(U)))},{default:a(()=>[n(" 确认修改 ")]),_:1})]),default:a(()=>[e(h,{ref_key:"cramiRef",ref:U,model:i,rules:B,"label-width":"105px"},{default:a(()=>[e(y,{label:"佣金比例",prop:"performanceRatio"},{default:a(()=>[e(m,{modelValue:i.performanceRatio,"onUpdate:modelValue":l[5]||(l[5]=t=>i.performanceRatio=t),modelModifiers:{number:!0},type:"number",placeholder:"设置佣金比例"},null,8,["modelValue"])]),_:1}),e(y,{label:"自定义名称",prop:"salesOutletName"},{default:a(()=>[e(m,{modelValue:i.salesOutletName,"onUpdate:modelValue":l[6]||(l[6]=t=>i.salesOutletName=t),placeholder:"设置自定义名称"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});typeof A=="function"&&A(te);export{te as default}; +import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{A as x}from"./sales-DHN85h7l.js";import{d as G,r as c,m as V,a as J,n as u,q as K,g as I,c as Q,b as e,w as a,h as n,i as _,y as W,z as X,e as S,t as g,D as Y,E as Z,k as A}from"./index-CAe0BuuW.js";const E=S("div",{class:"flex items-center gap-4"},"佣金账户列表",-1),ee=["src"],te=G({__name:"salesUser",setup(ae){const C=c(),N=c(0),v=c(!1),d=c(!1),U=c(),i=V({performanceRatio:0,salesOutletName:"",userId:0}),r=V({salesOutletName:"",performanceRatio:null,page:1,size:10}),B=V({performanceRatio:[{required:!0,message:"请填写佣金比例",trigger:"blur"}],salesOutletName:[{required:!0,message:"请填写自定义分销名称",trigger:"blur"}]}),k=c([]);async function p(){try{v.value=!0;const o=await x.querySalesUserList(r);v.value=!1;const{rows:l,count:w}=o.data;N.value=w,k.value=l}catch{v.value=!1}}function M(o){o==null||o.resetFields(),p()}async function $(o){o==null||o.validate(async l=>{l&&(await x.updateSalesUser(i),Z.success("修改信息成功!"),d.value=!1,p())})}async function q(o){const{userId:l,performanceRatio:w,salesOutletName:m}=o;i.performanceRatio=w,i.salesOutletName=m,d.value=!0,i.userId=l}return J(()=>{p()}),(o,l)=>{const w=T,m=u("el-input"),y=u("el-form-item"),b=u("el-button"),h=u("el-form"),z=H,s=u("el-table-column"),f=u("el-tag"),D=u("el-table"),j=u("el-pagination"),L=u("el-row"),P=u("el-dialog"),F=K("loading");return I(),Q("div",null,[e(w,null,{title:a(()=>[E]),_:1}),e(z,null,{default:a(()=>[e(h,{ref_key:"formRef",ref:C,inline:!0,model:r},{default:a(()=>[e(y,{label:"分销人代号",prop:"salesOutletName"},{default:a(()=>[e(m,{modelValue:r.salesOutletName,"onUpdate:modelValue":l[0]||(l[0]=t=>r.salesOutletName=t),placeholder:"填写分销人代号搜索"},null,8,["modelValue"])]),_:1}),e(y,{label:"返佣比例",prop:"performanceRatio"},{default:a(()=>[e(m,{modelValue:r.performanceRatio,"onUpdate:modelValue":l[1]||(l[1]=t=>r.performanceRatio=t),placeholder:"填写分销人返佣比例"},null,8,["modelValue"])]),_:1}),e(y,null,{default:a(()=>[e(b,{type:"primary",onClick:p},{default:a(()=>[n(" 查询 ")]),_:1}),e(b,{onClick:l[2]||(l[2]=t=>M(_(C)))},{default:a(()=>[n(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(z,{style:{width:"100%"}},{default:a(()=>[W((I(),X(D,{border:"",data:_(k),style:{width:"100%"},size:"large"},{default:a(()=>[e(s,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:a(t=>{var R,O;return[S("img",{src:(O=(R=t.row)==null?void 0:R.userInfo)==null?void 0:O.avatar,style:{height:"50px"}},null,8,ee)]}),_:1}),e(s,{prop:"userInfo.email",label:"邮箱",width:"200"}),e(s,{prop:"salesOutletName",label:"分销人代号",width:"120"}),e(s,{prop:"performanceRatio",label:"分销人佣金比例",align:"center"},{default:a(t=>[e(f,null,{default:a(()=>[n(g(t.row.performanceRatio)+"% ",1)]),_:2},1024)]),_:1}),e(s,{prop:"orderCount",label:"累计分销订单量",align:"center"},{default:a(t=>[e(f,{type:"success"},{default:a(()=>[n(g(t.row.orderCount),1)]),_:2},1024)]),_:1}),e(s,{prop:"totalAmount",label:"分销人账户总金额",align:"center",width:"150"},{default:a(t=>[e(f,{type:t.row.totalAmount>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.totalAmount),1)]),_:2},1032,["type"])]),_:1}),e(s,{prop:"withdrawalAmount",label:"分销人已提现金额",align:"center",width:"150"},{default:a(t=>[e(f,{type:t.row.withdrawalAmount>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.withdrawalAmount),1)]),_:2},1032,["type"])]),_:1}),e(s,{prop:"distributionBalance",label:"分销人可提现金额",align:"center",width:"150"},{default:a(t=>[e(f,{type:t.row.distributionBalance>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.distributionBalance),1)]),_:2},1032,["type"])]),_:1}),e(s,{prop:"drawMoneyIn",label:"分销人正在提现金额",align:"center"},{default:a(t=>[e(f,{type:t.row.drawMoneyIn>0?"success":"danger"},{default:a(()=>[n(" ¥"+g(t.row.drawMoneyIn),1)]),_:2},1032,["type"])]),_:1}),e(s,{fixed:"right",label:"操作",width:"100",align:"center"},{default:a(t=>[e(b,{link:"",type:"primary",size:"small",onClick:R=>q(t.row)},{default:a(()=>[n(" 变更用户 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[F,_(v)]]),e(L,{class:"flex justify-end mt-5"},{default:a(()=>[e(j,{"current-page":r.page,"onUpdate:currentPage":l[3]||(l[3]=t=>r.page=t),"page-size":r.size,"onUpdate:pageSize":l[4]||(l[4]=t=>r.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:_(N),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(P,{modelValue:_(d),"onUpdate:modelValue":l[9]||(l[9]=t=>Y(d)?d.value=t:null),title:"修改用户权限",width:"450px"},{footer:a(()=>[e(b,{onClick:l[7]||(l[7]=t=>d.value=!1)},{default:a(()=>[n(" 我再想想 ")]),_:1}),e(b,{type:"primary",onClick:l[8]||(l[8]=t=>$(_(U)))},{default:a(()=>[n(" 确认修改 ")]),_:1})]),default:a(()=>[e(h,{ref_key:"cramiRef",ref:U,model:i,rules:B,"label-width":"105px"},{default:a(()=>[e(y,{label:"佣金比例",prop:"performanceRatio"},{default:a(()=>[e(m,{modelValue:i.performanceRatio,"onUpdate:modelValue":l[5]||(l[5]=t=>i.performanceRatio=t),modelModifiers:{number:!0},type:"number",placeholder:"设置佣金比例"},null,8,["modelValue"])]),_:1}),e(y,{label:"自定义名称",prop:"salesOutletName"},{default:a(()=>[e(m,{modelValue:i.salesOutletName,"onUpdate:modelValue":l[6]||(l[6]=t=>i.salesOutletName=t),placeholder:"设置自定义名称"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});typeof A=="function"&&A(te);export{te as default}; diff --git a/public/admin/assets/secret-D2aTJbOx.js b/public/admin/assets/secret-DVpbvVhp.js similarity index 94% rename from public/admin/assets/secret-D2aTJbOx.js rename to public/admin/assets/secret-DVpbvVhp.js index 6b97204..ecd0be5 100644 --- a/public/admin/assets/secret-D2aTJbOx.js +++ b/public/admin/assets/secret-DVpbvVhp.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{a as h}from"./config-BQ9gBCXa.js";import{d as A,r as i,m as E,a as j,n as l,g as u,c as k,b as a,w as e,e as f,h as d,F,s as L,E as v,z as V,A as M,k as b}from"./index-DEc4xym2.js";const R={class:"flex justify-between"},$=f("b",null,"key池管理",-1),z={class:"flex justify-between",style:{width:"100%"}},D=A({__name:"secret",setup(I){const o=i([]),_=E({chatGptKey:[]});i({chatGptKey:[{required:!0,trigger:"blur",message:"请填写您的chatGpt的key"}]});const p=i();async function m(){const t=await h.queryGptKeys();o.value=t.data.map(n=>({configKey:n.configKey,configVal:n.configVal,status:n.status})),t.data.length===0&&y(),_.chatGptKey=o.value}function y(){o.value.push({configKey:"",configVal:"",status:1})}function w(t){o.value.splice(t,1)}function x(){var t;(t=p.value)==null||t.validate(async n=>{if(n){try{await h.setGptKeys({configs:o.value}),v.success("变更配置信息成功")}catch{}m()}else v.error("请填写完整信息")})}return j(()=>{m()}),(t,n)=>{const c=l("el-button"),C=l("el-input"),K=l("el-switch"),G=l("el-form-item"),U=l("el-col"),B=l("el-row"),N=l("el-form"),q=l("el-card");return u(),k("div",null,[a(q,{style:{margin:"20px"}},{header:e(()=>[f("div",R,[$,a(c,{class:"button",text:"",onClick:x},{default:e(()=>[d(" 保存设置 ")]),_:1})])]),default:e(()=>[a(N,{ref_key:"formRef",ref:p,model:_,"label-width":"80px"},{default:e(()=>[a(B,null,{default:e(()=>[a(U,{xs:24,md:21,lg:16,xl:13},{default:e(()=>[(u(!0),k(F,null,L(o.value,(s,g)=>(u(),V(G,{key:s.configKey,label:`key-${g+1}`,prop:"chatGptKey"},{default:e(()=>[f("div",z,[a(C,{modelValue:s.configVal,"onUpdate:modelValue":r=>s.configVal=r,placeholder:"请填写您的ChatGpt-Key",clearable:"",class:"flex-1"},null,8,["modelValue","onUpdate:modelValue"]),o.value.length!==1?(u(),V(c,{key:0,type:"danger",plain:"",class:"ml-1",onClick:r=>w(g)},{default:e(()=>[d(" 删除 ")]),_:2},1032,["onClick"])):M("",!0),a(K,{modelValue:s.status,"onUpdate:modelValue":r=>s.status=r,class:"ml-5","active-value":1,"inactive-value":0},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),a(c,{class:"mt-5",style:{"margin-left":"80px"},onClick:y},{default:e(()=>[d(" 添加key ")]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(D);export{D as default}; +import{a as h}from"./config-CwtVyG0K.js";import{d as A,r as i,m as E,a as j,n as l,g as u,c as k,b as a,w as e,e as f,h as d,F,s as L,E as v,z as V,A as M,k as b}from"./index-CAe0BuuW.js";const R={class:"flex justify-between"},$=f("b",null,"key池管理",-1),z={class:"flex justify-between",style:{width:"100%"}},D=A({__name:"secret",setup(I){const o=i([]),_=E({chatGptKey:[]});i({chatGptKey:[{required:!0,trigger:"blur",message:"请填写您的chatGpt的key"}]});const p=i();async function m(){const t=await h.queryGptKeys();o.value=t.data.map(n=>({configKey:n.configKey,configVal:n.configVal,status:n.status})),t.data.length===0&&y(),_.chatGptKey=o.value}function y(){o.value.push({configKey:"",configVal:"",status:1})}function w(t){o.value.splice(t,1)}function x(){var t;(t=p.value)==null||t.validate(async n=>{if(n){try{await h.setGptKeys({configs:o.value}),v.success("变更配置信息成功")}catch{}m()}else v.error("请填写完整信息")})}return j(()=>{m()}),(t,n)=>{const c=l("el-button"),C=l("el-input"),K=l("el-switch"),G=l("el-form-item"),U=l("el-col"),B=l("el-row"),N=l("el-form"),q=l("el-card");return u(),k("div",null,[a(q,{style:{margin:"20px"}},{header:e(()=>[f("div",R,[$,a(c,{class:"button",text:"",onClick:x},{default:e(()=>[d(" 保存设置 ")]),_:1})])]),default:e(()=>[a(N,{ref_key:"formRef",ref:p,model:_,"label-width":"80px"},{default:e(()=>[a(B,null,{default:e(()=>[a(U,{xs:24,md:21,lg:16,xl:13},{default:e(()=>[(u(!0),k(F,null,L(o.value,(s,g)=>(u(),V(G,{key:s.configKey,label:`key-${g+1}`,prop:"chatGptKey"},{default:e(()=>[f("div",z,[a(C,{modelValue:s.configVal,"onUpdate:modelValue":r=>s.configVal=r,placeholder:"请填写您的ChatGpt-Key",clearable:"",class:"flex-1"},null,8,["modelValue","onUpdate:modelValue"]),o.value.length!==1?(u(),V(c,{key:0,type:"danger",plain:"",class:"ml-1",onClick:r=>w(g)},{default:e(()=>[d(" 删除 ")]),_:2},1032,["onClick"])):M("",!0),a(K,{modelValue:s.status,"onUpdate:modelValue":r=>s.status=r,class:"ml-5","active-value":1,"inactive-value":0},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1032,["label"]))),128))]),_:1})]),_:1}),a(c,{class:"mt-5",style:{"margin-left":"80px"},onClick:y},{default:e(()=>[d(" 添加key ")]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(D);export{D as default}; diff --git a/public/admin/assets/setting-86cZ7V_6.js b/public/admin/assets/setting-CxPu4I7s.js similarity index 84% rename from public/admin/assets/setting-86cZ7V_6.js rename to public/admin/assets/setting-CxPu4I7s.js index d92df26..f3018b5 100644 --- a/public/admin/assets/setting-86cZ7V_6.js +++ b/public/admin/assets/setting-CxPu4I7s.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as u}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{d as f,f as h,r as b,n as a,g as v,c as g,b as s,w as o,e as t,h as x,T as w,U as k,l as y,k as n}from"./index-DEc4xym2.js";const c=e=>(w("data-v-d3d3fd45"),e=e(),k(),e),C=c(()=>t("h2",null,"安全设置",-1)),I={class:"setting-list"},B={class:"item"},N=c(()=>t("div",{class:"content"},[t("div",{class:"title"}," 账户密码 "),t("div",{class:"desc"}," 当前密码强度:强 ")],-1)),S={class:"action"},_=f({__name:"setting",setup(e){const d=h();b({headimg:"",mobile:"",name:"",qq:"",wechat:""});function i(){d.push({name:"personalEditPassword"})}return(V,q)=>{const l=a("el-button"),p=a("el-tab-pane"),r=a("el-tabs"),m=u;return v(),g("div",null,[s(m,null,{default:o(()=>[s(r,{"tab-position":"left",style:{height:"600px"}},{default:o(()=>[s(p,{label:"安全设置",class:"security"},{default:o(()=>[C,t("div",I,[t("div",B,[N,t("div",S,[s(l,{type:"primary",text:"",onClick:i},{default:o(()=>[x(" 修改 ")]),_:1})])])])]),_:1})]),_:1})]),_:1})])}}});typeof n=="function"&&n(_);const T=y(_,[["__scopeId","data-v-d3d3fd45"]]);export{T as default}; +import{_ as u}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{d as f,f as h,r as b,n as a,g as v,c as g,b as s,w as o,e as t,h as x,T as w,U as k,l as y,k as n}from"./index-CAe0BuuW.js";const c=e=>(w("data-v-d3d3fd45"),e=e(),k(),e),C=c(()=>t("h2",null,"安全设置",-1)),I={class:"setting-list"},B={class:"item"},N=c(()=>t("div",{class:"content"},[t("div",{class:"title"}," 账户密码 "),t("div",{class:"desc"}," 当前密码强度:强 ")],-1)),S={class:"action"},_=f({__name:"setting",setup(e){const d=h();b({headimg:"",mobile:"",name:"",qq:"",wechat:""});function i(){d.push({name:"personalEditPassword"})}return(V,q)=>{const l=a("el-button"),p=a("el-tab-pane"),r=a("el-tabs"),m=u;return v(),g("div",null,[s(m,null,{default:o(()=>[s(r,{"tab-position":"left",style:{height:"600px"}},{default:o(()=>[s(p,{label:"安全设置",class:"security"},{default:o(()=>[C,t("div",I,[t("div",B,[N,t("div",S,[s(l,{type:"primary",text:"",onClick:i},{default:o(()=>[x(" 修改 ")]),_:1})])])])]),_:1})]),_:1})]),_:1})])}}});typeof n=="function"&&n(_);const T=y(_,[["__scopeId","data-v-d3d3fd45"]]);export{T as default}; diff --git a/public/admin/assets/sub-BcJl5NGu.js b/public/admin/assets/sub-BcJl5NGu.js new file mode 100644 index 0000000..51f923e --- /dev/null +++ b/public/admin/assets/sub-BcJl5NGu.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./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/sub-BrxcEWON.js b/public/admin/assets/sub-BrxcEWON.js deleted file mode 100644 index 5fc73e0..0000000 --- a/public/admin/assets/sub-BrxcEWON.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js";import"./index-DEc4xym2.js";import"./item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";export{o as default}; diff --git a/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js b/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-Dc0jEHO7.js similarity index 96% rename from public/admin/assets/sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js rename to public/admin/assets/sub.vue_vue_type_script_setup_true_lang-Dc0jEHO7.js index a66638d..db4558c 100644 --- a/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js +++ b/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-Dc0jEHO7.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as E,a2 as C,$ as B,p as d,n as T,g as f,c,b,i,z as m,w as H,ao as _,Q as $,F as g,s as F,A as h,X as S,bX as I,ad as A,a3 as L,ay as w,G as N}from"./index-DEc4xym2.js";import{_ as z,r as J}from"./item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js";const V=E({name:"SubMenu",__name:"sub",props:{uniqueKey:{},menu:{},level:{default:0}},setup(x){const t=x,p=t.menu.path??JSON.stringify(t.menu),y=C(),u=C(),n=B(J),v=d(()=>n.openedMenus.includes(t.uniqueKey.at(-1))),k=d(()=>n.isMenuPopup?{enter(e){e.offsetHeight>window.innerHeight&&(e.style.height=`${window.innerHeight}px`)},afterEnter:()=>{},beforeLeave:e=>{e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave:e=>{e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}:{enter(e){const s=e.offsetHeight;e.style.maxHeight="0",e.style.overflow="hidden",e.offsetHeight,e.style.maxHeight=`${s}px`},afterEnter(e){e.style.overflow="",e.style.maxHeight=""},beforeLeave(e){e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave(e){e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}),q=d(()=>n.isMenuPopup?{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0 translate-x-4",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}:{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}),l=d(()=>{let e=!0;return t.menu.children?t.menu.children.every(s=>{var o;return((o=s.meta)==null?void 0:o.menu)===!1})&&(e=!1):e=!1,e});function P(){n.isMenuPopup&&l.value||(l.value?n.handleSubMenuClick(p,t.uniqueKey):n.handleMenuItemClick(p))}let a;function K(){n.isMenuPopup&&(n.mouseInMenu=t.uniqueKey,a==null||a(),{stop:a}=w(()=>{if(l.value)n.openMenu(p,t.uniqueKey),N(()=>{const e=y.value.ref;let s=0,o=0;n.props.mode==="vertical"||t.level!==0?(s=e.getBoundingClientRect().top+e.scrollTop,o=e.getBoundingClientRect().left+e.getBoundingClientRect().width,s+u.value.getElement().offsetHeight>window.innerHeight&&(s=window.innerHeight-u.value.getElement().offsetHeight)):(s=e.getBoundingClientRect().top+e.getBoundingClientRect().height,o=e.getBoundingClientRect().left,s+u.value.getElement().offsetHeight>window.innerHeight&&(u.value.getElement().style.height=`${window.innerHeight-s}px`)),u.value.getElement().style.top=`${s}px`,u.value.getElement().style.left=`${o}px`});else{const e=t.menu.children?n.subMenus[p].indexPath.at(-1):n.items[p].indexPath.at(-1);n.openMenu(e,n.subMenus[e].indexPath)}},300))}function R(){n.isMenuPopup&&(n.mouseInMenu=[],a==null||a(),{stop:a}=w(()=>{n.mouseInMenu.length===0?n.closeMenu(t.uniqueKey):l.value&&!n.mouseInMenu.includes(t.uniqueKey.at(-1))&&n.closeMenu(t.uniqueKey.at(-1))},300))}return(e,s)=>{const o=T("SubMenu");return f(),c(g,null,[b(z,{ref_key:"itemRef",ref:y,"unique-key":e.uniqueKey,item:e.menu,level:e.level,"sub-menu":i(l),expand:i(v),onClick:P,onMouseenter:K,onMouseleave:R},null,8,["unique-key","item","level","sub-menu","expand"]),i(l)?(f(),m(L,{key:0,to:"body",disabled:!i(n).isMenuPopup},[b(A,S(i(q),I(i(k))),{default:H(()=>[i(v)?(f(),m(i(_),{key:0,ref_key:"subMenuRef",ref:u,options:{scrollbars:{visibility:"hidden"}},defer:"",class:$(["sub-menu",{"bg-[var(--g-sub-sidebar-bg)]":i(n).isMenuPopup,"ring-1 ring-stone-2 dark-ring-stone-8 shadow-xl fixed z-3000 w-[200px]":i(n).isMenuPopup,"mx-2":i(n).isMenuPopup&&(i(n).props.mode==="vertical"||e.level!==0)}])},{default:H(()=>[(f(!0),c(g,null,F(e.menu.children,r=>{var M;return f(),c(g,{key:r.path??JSON.stringify(r)},[((M=r.meta)==null?void 0:M.menu)!==!1?(f(),m(o,{key:0,"unique-key":[...e.uniqueKey,r.path??JSON.stringify(r)],menu:r,level:e.level+1},null,8,["unique-key","menu","level"])):h("",!0)],64)}),128))]),_:1},8,["class"])):h("",!0)]),_:1},16)],8,["disabled"])):h("",!0)],64)}}});export{V as _}; +import{d as E,a2 as C,$ as B,p as d,n as T,g as f,c,b,i,z as m,w as H,ao as _,Q as $,F as g,s as F,A as h,X as S,bX as I,ad as A,a3 as L,ay as w,G as N}from"./index-CAe0BuuW.js";import{_ as z,r as J}from"./item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js";const V=E({name:"SubMenu",__name:"sub",props:{uniqueKey:{},menu:{},level:{default:0}},setup(x){const t=x,p=t.menu.path??JSON.stringify(t.menu),y=C(),u=C(),n=B(J),v=d(()=>n.openedMenus.includes(t.uniqueKey.at(-1))),k=d(()=>n.isMenuPopup?{enter(e){e.offsetHeight>window.innerHeight&&(e.style.height=`${window.innerHeight}px`)},afterEnter:()=>{},beforeLeave:e=>{e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave:e=>{e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}:{enter(e){const s=e.offsetHeight;e.style.maxHeight="0",e.style.overflow="hidden",e.offsetHeight,e.style.maxHeight=`${s}px`},afterEnter(e){e.style.overflow="",e.style.maxHeight=""},beforeLeave(e){e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave(e){e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}),q=d(()=>n.isMenuPopup?{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0 translate-x-4",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}:{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}),l=d(()=>{let e=!0;return t.menu.children?t.menu.children.every(s=>{var o;return((o=s.meta)==null?void 0:o.menu)===!1})&&(e=!1):e=!1,e});function P(){n.isMenuPopup&&l.value||(l.value?n.handleSubMenuClick(p,t.uniqueKey):n.handleMenuItemClick(p))}let a;function K(){n.isMenuPopup&&(n.mouseInMenu=t.uniqueKey,a==null||a(),{stop:a}=w(()=>{if(l.value)n.openMenu(p,t.uniqueKey),N(()=>{const e=y.value.ref;let s=0,o=0;n.props.mode==="vertical"||t.level!==0?(s=e.getBoundingClientRect().top+e.scrollTop,o=e.getBoundingClientRect().left+e.getBoundingClientRect().width,s+u.value.getElement().offsetHeight>window.innerHeight&&(s=window.innerHeight-u.value.getElement().offsetHeight)):(s=e.getBoundingClientRect().top+e.getBoundingClientRect().height,o=e.getBoundingClientRect().left,s+u.value.getElement().offsetHeight>window.innerHeight&&(u.value.getElement().style.height=`${window.innerHeight-s}px`)),u.value.getElement().style.top=`${s}px`,u.value.getElement().style.left=`${o}px`});else{const e=t.menu.children?n.subMenus[p].indexPath.at(-1):n.items[p].indexPath.at(-1);n.openMenu(e,n.subMenus[e].indexPath)}},300))}function R(){n.isMenuPopup&&(n.mouseInMenu=[],a==null||a(),{stop:a}=w(()=>{n.mouseInMenu.length===0?n.closeMenu(t.uniqueKey):l.value&&!n.mouseInMenu.includes(t.uniqueKey.at(-1))&&n.closeMenu(t.uniqueKey.at(-1))},300))}return(e,s)=>{const o=T("SubMenu");return f(),c(g,null,[b(z,{ref_key:"itemRef",ref:y,"unique-key":e.uniqueKey,item:e.menu,level:e.level,"sub-menu":i(l),expand:i(v),onClick:P,onMouseenter:K,onMouseleave:R},null,8,["unique-key","item","level","sub-menu","expand"]),i(l)?(f(),m(L,{key:0,to:"body",disabled:!i(n).isMenuPopup},[b(A,S(i(q),I(i(k))),{default:H(()=>[i(v)?(f(),m(i(_),{key:0,ref_key:"subMenuRef",ref:u,options:{scrollbars:{visibility:"hidden"}},defer:"",class:$(["sub-menu",{"bg-[var(--g-sub-sidebar-bg)]":i(n).isMenuPopup,"ring-1 ring-stone-2 dark-ring-stone-8 shadow-xl fixed z-3000 w-[200px]":i(n).isMenuPopup,"mx-2":i(n).isMenuPopup&&(i(n).props.mode==="vertical"||e.level!==0)}])},{default:H(()=>[(f(!0),c(g,null,F(e.menu.children,r=>{var M;return f(),c(g,{key:r.path??JSON.stringify(r)},[((M=r.meta)==null?void 0:M.menu)!==!1?(f(),m(o,{key:0,"unique-key":[...e.uniqueKey,r.path??JSON.stringify(r)],menu:r,level:e.level+1},null,8,["unique-key","menu","level"])):h("",!0)],64)}),128))]),_:1},8,["class"])):h("",!0)]),_:1},16)],8,["disabled"])):h("",!0)],64)}}});export{V as _}; diff --git a/public/admin/assets/systemapp-C2A6geA0.js b/public/admin/assets/systemapp-vjaiCdpw.js similarity index 93% rename from public/admin/assets/systemapp-C2A6geA0.js rename to public/admin/assets/systemapp-vjaiCdpw.js index 07ca18f..8e649fc 100644 --- a/public/admin/assets/systemapp-C2A6geA0.js +++ b/public/admin/assets/systemapp-vjaiCdpw.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{A as k}from"./app-Dcfk5dQv.js";import{d as z,r,m as N,a as U,n as s,q as J,g as w,c as R,b as e,w as a,y as j,z as F,h as c,e as P,E as m,k as M}from"./index-DEc4xym2.js";const T={class:"flex justify-end mr-5"},E=z({__name:"systemapp",setup(G){const V=r(0),d=r(!1),p=r(!1),_=r([]),l=N({id:"",name:"",preset:"",appModel:""});function h(t){t==null||t.resetFields()}const f=r();async function y(){d.value=!0;try{const{data:t}=await k.querySystemApp({});_.value=t.rows,V.value=t.count}catch(t){console.error("查询系统应用失败:",t),m.error("查询失败")}finally{d.value=!1}}function x(t){l.id=t.id,l.name=t.name,l.preset=t.preset,l.appModel=t.appModel,p.value=!0}async function C(){try{await k.updateSystemApp({id:l.id,name:l.name,preset:l.preset,appModel:l.appModel}),m.success("更新成功"),p.value=!1,y()}catch{m.error("更新失败")}}return U(()=>{y()}),(t,o)=>{const A=s("el-alert"),v=q,i=s("el-table-column"),u=s("el-button"),B=s("el-table"),b=s("el-input"),g=s("el-form-item"),D=s("el-form"),S=s("el-dialog"),$=J("loading");return w(),R("div",null,[e(v,{class:"header"},{default:a(()=>[e(A,{"show-icon":"",title:"系统应用配置说明",description:"此处的主要配置系统应用的模型及预设信息, 思维导图用户思维导图页, 提示词优化用于MJ绘画页及对话页MJ开启提示词优化时候使用",type:"success"})]),_:1}),e(v,{style:{width:"100%"}},{default:a(()=>[j((w(),F(B,{border:"",data:_.value,style:{width:"100%"},size:"large"},{default:a(()=>[e(i,{prop:"name",label:"应用名称",width:"150px"}),e(i,{prop:"appModel",label:"使用模型",width:"150px"}),e(i,{prop:"preset",label:"预设信息"}),e(i,{fixed:"right",label:"操作",align:"center",width:"180"},{default:a(n=>[e(u,{link:"",type:"primary",size:"small",onClick:H=>x(n.row)},{default:a(()=>[c(" 变更 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[$,d.value]])]),_:1}),e(S,{modelValue:p.value,"onUpdate:modelValue":o[3]||(o[3]=n=>p.value=n),"close-on-click-modal":!1,title:`修改应用:${l.name||"..."}`,width:"570",onClose:o[4]||(o[4]=()=>h(f.value))},{footer:a(()=>[P("span",T,[e(u,{onClick:o[2]||(o[2]=n=>p.value=!1)},{default:a(()=>[c("取消")]),_:1}),e(u,{type:"primary",onClick:C},{default:a(()=>[c("确认")]),_:1})])]),default:a(()=>[e(D,{ref_key:"formRef",ref:f,"label-position":"right","label-width":"70px",model:l},{default:a(()=>[e(g,{label:"使用模型",prop:"appModel"},{default:a(()=>[e(b,{modelValue:l.appModel,"onUpdate:modelValue":o[0]||(o[0]=n=>l.appModel=n)},null,8,["modelValue"])]),_:1}),e(g,{label:"预设信息",prop:"preset"},{default:a(()=>[e(b,{modelValue:l.preset,"onUpdate:modelValue":o[1]||(o[1]=n=>l.preset=n),type:"textarea",rows:6},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(E);export{E as default}; +import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{A as k}from"./app-CXnonH8J.js";import{d as z,r,m as N,a as U,n as s,q as J,g as w,c as R,b as e,w as a,y as j,z as F,h as c,e as P,E as m,k as M}from"./index-CAe0BuuW.js";const T={class:"flex justify-end mr-5"},E=z({__name:"systemapp",setup(G){const V=r(0),d=r(!1),p=r(!1),_=r([]),l=N({id:"",name:"",preset:"",appModel:""});function h(t){t==null||t.resetFields()}const f=r();async function y(){d.value=!0;try{const{data:t}=await k.querySystemApp({});_.value=t.rows,V.value=t.count}catch(t){console.error("查询系统应用失败:",t),m.error("查询失败")}finally{d.value=!1}}function x(t){l.id=t.id,l.name=t.name,l.preset=t.preset,l.appModel=t.appModel,p.value=!0}async function C(){try{await k.updateSystemApp({id:l.id,name:l.name,preset:l.preset,appModel:l.appModel}),m.success("更新成功"),p.value=!1,y()}catch{m.error("更新失败")}}return U(()=>{y()}),(t,o)=>{const A=s("el-alert"),v=q,i=s("el-table-column"),u=s("el-button"),B=s("el-table"),b=s("el-input"),g=s("el-form-item"),D=s("el-form"),S=s("el-dialog"),$=J("loading");return w(),R("div",null,[e(v,{class:"header"},{default:a(()=>[e(A,{"show-icon":"",title:"系统应用配置说明",description:"此处的主要配置系统应用的模型及预设信息, 思维导图用户思维导图页, 提示词优化用于MJ绘画页及对话页MJ开启提示词优化时候使用",type:"success"})]),_:1}),e(v,{style:{width:"100%"}},{default:a(()=>[j((w(),F(B,{border:"",data:_.value,style:{width:"100%"},size:"large"},{default:a(()=>[e(i,{prop:"name",label:"应用名称",width:"150px"}),e(i,{prop:"appModel",label:"使用模型",width:"150px"}),e(i,{prop:"preset",label:"预设信息"}),e(i,{fixed:"right",label:"操作",align:"center",width:"180"},{default:a(n=>[e(u,{link:"",type:"primary",size:"small",onClick:H=>x(n.row)},{default:a(()=>[c(" 变更 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[$,d.value]])]),_:1}),e(S,{modelValue:p.value,"onUpdate:modelValue":o[3]||(o[3]=n=>p.value=n),"close-on-click-modal":!1,title:`修改应用:${l.name||"..."}`,width:"570",onClose:o[4]||(o[4]=()=>h(f.value))},{footer:a(()=>[P("span",T,[e(u,{onClick:o[2]||(o[2]=n=>p.value=!1)},{default:a(()=>[c("取消")]),_:1}),e(u,{type:"primary",onClick:C},{default:a(()=>[c("确认")]),_:1})])]),default:a(()=>[e(D,{ref_key:"formRef",ref:f,"label-position":"right","label-width":"70px",model:l},{default:a(()=>[e(g,{label:"使用模型",prop:"appModel"},{default:a(()=>[e(b,{modelValue:l.appModel,"onUpdate:modelValue":o[0]||(o[0]=n=>l.appModel=n)},null,8,["modelValue"])]),_:1}),e(g,{label:"预设信息",prop:"preset"},{default:a(()=>[e(b,{modelValue:l.preset,"onUpdate:modelValue":o[1]||(o[1]=n=>l.preset=n),type:"textarea",rows:6},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(E);export{E as default}; diff --git a/public/admin/assets/tencent-lJ3a0Qqq.js b/public/admin/assets/tencent-CqvvHHWH.js similarity index 95% rename from public/admin/assets/tencent-lJ3a0Qqq.js rename to public/admin/assets/tencent-CqvvHHWH.js index 077de35..0af17d2 100644 --- a/public/admin/assets/tencent-lJ3a0Qqq.js +++ b/public/admin/assets/tencent-CqvvHHWH.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as K,m as R,r as U,p as A,a as D,n as s,g as N,c as O,b as e,w as l,h as p,i,e as f,E as V,j,_ as q,k as x}from"./index-DEc4xym2.js";import{a as C}from"./config-BQ9gBCXa.js";const E=f("div",{class:"flex items-center gap-4"},"腾讯云COS参数设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往腾讯云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://console.cloud.tencent.com/cos",target:"_blank"},"腾讯云COS"),p(" 。 ")])],-1),H=K({__name:"tencent",setup(M){const o=R({tencentCosStatus:"",cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:"",tencentCosAcceleratedDomain:""}),_=U();async function g(){const a=await C.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId","tencentCosStatus","tencentCosAcceleratedDomain"]});Object.assign(o,a.data)}function y(){var a;(a=_.value)==null||a.validate(async t=>{if(t){try{await C.setConfig({settings:b(o)}),V.success("变更配置信息成功")}catch{}g()}else V.error("请填写完整信息")})}function b(a){return Object.keys(a).map(t=>({configKey:t,configVal:a[t]}))}const m=A(()=>[{required:Number(o.tencentCosStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return D(()=>{g()}),(a,t)=>{const S=j,w=q,k=I,v=s("el-switch"),c=s("el-form-item"),r=s("el-col"),u=s("el-row"),d=s("el-input"),h=s("el-form"),B=s("el-card");return N(),O("div",null,[e(k,null,{title:l(()=>[E]),content:l(()=>[$]),default:l(()=>[e(w,{outline:"",onClick:y},{default:l(()=>[e(S,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(B,{style:{margin:"20px"}},{default:l(()=>[e(h,{ref_key:"formRef",ref:_,model:o,"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:"tencentCosStatus"},{default:l(()=>[e(v,{modelValue:o.tencentCosStatus,"onUpdate:modelValue":t[0]||(t[0]=n=>o.tencentCosStatus=n),"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:"SecretId",prop:"cosSecretId",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretId,"onUpdate:modelValue":t[1]||(t[1]=n=>o.cosSecretId=n),placeholder:"请填写SecretId",type:"password","show-password":"",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:"SecretKey",prop:"cosSecretKey",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretKey,"onUpdate:modelValue":t[2]||(t[2]=n=>o.cosSecretKey=n),placeholder:"请填写SecretKey",type:"password","show-password":"",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:"cosBucket",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosBucket,"onUpdate:modelValue":t[3]||(t[3]=n=>o.cosBucket=n),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:"cosRegion",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosRegion,"onUpdate:modelValue":t[4]||(t[4]=n=>o.cosRegion=n),placeholder:"请填写所属地域(ap-guangzhou)",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:"tencentCosAcceleratedDomain"},{default:l(()=>[e(d,{modelValue:o.tencentCosAcceleratedDomain,"onUpdate:modelValue":t[5]||(t[5]=n=>o.tencentCosAcceleratedDomain=n),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof x=="function"&&x(H);export{H as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as K,m as R,r as U,p as A,a as D,n as s,g as N,c as O,b as e,w as l,h as p,i,e as f,E as V,j,_ as q,k as x}from"./index-CAe0BuuW.js";import{a as C}from"./config-CwtVyG0K.js";const E=f("div",{class:"flex items-center gap-4"},"腾讯云COS参数设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往腾讯云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://console.cloud.tencent.com/cos",target:"_blank"},"腾讯云COS"),p(" 。 ")])],-1),H=K({__name:"tencent",setup(M){const o=R({tencentCosStatus:"",cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:"",tencentCosAcceleratedDomain:""}),_=U();async function g(){const a=await C.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId","tencentCosStatus","tencentCosAcceleratedDomain"]});Object.assign(o,a.data)}function y(){var a;(a=_.value)==null||a.validate(async t=>{if(t){try{await C.setConfig({settings:b(o)}),V.success("变更配置信息成功")}catch{}g()}else V.error("请填写完整信息")})}function b(a){return Object.keys(a).map(t=>({configKey:t,configVal:a[t]}))}const m=A(()=>[{required:Number(o.tencentCosStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return D(()=>{g()}),(a,t)=>{const S=j,w=q,k=I,v=s("el-switch"),c=s("el-form-item"),r=s("el-col"),u=s("el-row"),d=s("el-input"),h=s("el-form"),B=s("el-card");return N(),O("div",null,[e(k,null,{title:l(()=>[E]),content:l(()=>[$]),default:l(()=>[e(w,{outline:"",onClick:y},{default:l(()=>[e(S,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(B,{style:{margin:"20px"}},{default:l(()=>[e(h,{ref_key:"formRef",ref:_,model:o,"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:"tencentCosStatus"},{default:l(()=>[e(v,{modelValue:o.tencentCosStatus,"onUpdate:modelValue":t[0]||(t[0]=n=>o.tencentCosStatus=n),"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:"SecretId",prop:"cosSecretId",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretId,"onUpdate:modelValue":t[1]||(t[1]=n=>o.cosSecretId=n),placeholder:"请填写SecretId",type:"password","show-password":"",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:"SecretKey",prop:"cosSecretKey",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretKey,"onUpdate:modelValue":t[2]||(t[2]=n=>o.cosSecretKey=n),placeholder:"请填写SecretKey",type:"password","show-password":"",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:"cosBucket",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosBucket,"onUpdate:modelValue":t[3]||(t[3]=n=>o.cosBucket=n),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:"cosRegion",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosRegion,"onUpdate:modelValue":t[4]||(t[4]=n=>o.cosRegion=n),placeholder:"请填写所属地域(ap-guangzhou)",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:"tencentCosAcceleratedDomain"},{default:l(()=>[e(d,{modelValue:o.tencentCosAcceleratedDomain,"onUpdate:modelValue":t[5]||(t[5]=n=>o.tencentCosAcceleratedDomain=n),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof x=="function"&&x(H);export{H as default}; diff --git a/public/admin/assets/use-resolve-button-type-Cmxb6e8K.js b/public/admin/assets/use-resolve-button-type-CIWo_h_W.js similarity index 88% rename from public/admin/assets/use-resolve-button-type-Cmxb6e8K.js rename to public/admin/assets/use-resolve-button-type-CIWo_h_W.js index 87a1f5e..a65205d 100644 --- a/public/admin/assets/use-resolve-button-type-Cmxb6e8K.js +++ b/public/admin/assets/use-resolve-button-type-CIWo_h_W.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{r,a as l,cb as s,co as u}from"./index-DEc4xym2.js";function o(t,n){if(t)return t;let e=n??"button";if(typeof e=="string"&&e.toLowerCase()==="button")return"button"}function i(t,n){let e=r(o(t.value.type,t.value.as));return l(()=>{e.value=o(t.value.type,t.value.as)}),s(()=>{var a;e.value||u(n)&&u(n)instanceof HTMLButtonElement&&!((a=u(n))!=null&&a.hasAttribute("type"))&&(e.value="button")}),e}export{i as s}; +import{r,a as l,cb as s,co as u}from"./index-CAe0BuuW.js";function o(t,n){if(t)return t;let e=n??"button";if(typeof e=="string"&&e.toLowerCase()==="button")return"button"}function i(t,n){let e=r(o(t.value.type,t.value.as));return l(()=>{e.value=o(t.value.type,t.value.as)}),s(()=>{var a;e.value||u(n)&&u(n)instanceof HTMLButtonElement&&!((a=u(n))!=null&&a.hasAttribute("type"))&&(e.value="button")}),e}export{i as s}; diff --git a/public/admin/assets/useMainPage-qAU7S-kt.js b/public/admin/assets/useMainPage-PJO-ub0s.js similarity index 74% rename from public/admin/assets/useMainPage-qAU7S-kt.js rename to public/admin/assets/useMainPage-PJO-ub0s.js index f3b4efb..4d07d11 100644 --- a/public/admin/assets/useMainPage-qAU7S-kt.js +++ b/public/admin/assets/useMainPage-PJO-ub0s.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{f as r}from"./index-DEc4xym2.js";function n(){const e=r();function o(){e.push({name:"reload"})}return{reload:o}}export{n as u}; +import{f as r}from"./index-CAe0BuuW.js";function n(){const e=r();function o(){e.push({name:"reload"})}return{reload:o}}export{n as u}; diff --git a/public/admin/assets/useMenu-C9VPEhUW.js b/public/admin/assets/useMenu-BBkTa_-z.js similarity index 82% rename from public/admin/assets/useMenu-C9VPEhUW.js rename to public/admin/assets/useMenu-BBkTa_-z.js index c639dac..d26a9be 100644 --- a/public/admin/assets/useMenu-C9VPEhUW.js +++ b/public/admin/assets/useMenu-BBkTa_-z.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{f as o,u as r,ab as i}from"./index-DEc4xym2.js";function c(){const t=o(),s=r(),e=i();function n(u){e.setActived(u),s.settings.menu.switchMainMenuAndPageJump&&t.push(e.sidebarMenusFirstDeepestPath)}return{switchTo:n}}export{c as u}; +import{f as o,u as r,ab as i}from"./index-CAe0BuuW.js";function c(){const t=o(),s=r(),e=i();function n(u){e.setActived(u),s.settings.menu.switchMainMenuAndPageJump&&t.push(e.sidebarMenusFirstDeepestPath)}return{switchTo:n}}export{c as u}; diff --git a/public/admin/assets/violation-DZDD8jUe.js b/public/admin/assets/violation-CpOLyc9r.js similarity index 94% rename from public/admin/assets/violation-DZDD8jUe.js rename to public/admin/assets/violation-CpOLyc9r.js index 9da788b..43ee228 100644 --- a/public/admin/assets/violation-DZDD8jUe.js +++ b/public/admin/assets/violation-CpOLyc9r.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{A as Z}from"./badWords-CQd8mmw9.js";import{d as ee,r as f,m as P,a as te,n as o,q as le,g as c,c as h,b as t,w as l,F as T,s as V,i as s,h as d,y as ae,z as S,e as C,t as m,D as ne,K as L,E as oe,k as Y}from"./index-DEc4xym2.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";import{m as z}from"./marked.esm-8ZxQ78w7.js";import{T as re,U as ie,m as ue,n as de}from"./index-J5zVJPyL.js";const pe=C("div",{class:"flex items-center gap-4"},"违规检测记录",-1),ce=["src"],_e={class:"answer"},fe=["innerHTML"],me=ee({__name:"violation",setup(ge){const B=new z.Renderer;z.setOptions({renderer:B,gfm:!0,pedantic:!1});const v=f(!1),A=f(),O=f(),R=f(0),i=P({userId:"",typeOriginCn:"",page:1,size:10}),M=f([]),g=f(!1),_=P({status:"0",id:0});function j(n){g.value=!0,_.status=n.status.toString(),_.id=n.userId}async function q(){(await L.updateUserStatus(_)).success&&oe({type:"success",message:"变更用户状态成功!"}),g.value=!1}async function w(){v.value=!0;try{const n=await Z.queryViolation(i);v.value=!1;const{rows:a,count:U}=n.data;R.value=U,M.value=a}catch{v.value=!1}}async function E(n){const a=await L.queryAllUser({size:30,username:n});A.value=a.data.rows}function $(n){n==null||n.resetFields(),w()}return te(()=>{w()}),(n,a)=>{const U=X,k=o("el-option"),I=o("el-select"),y=o("el-form-item"),b=o("el-button"),D=o("el-form"),N=Q,r=o("el-table-column"),x=o("el-tag"),F=o("el-popover"),H=o("el-table"),J=o("el-pagination"),G=o("el-row"),K=o("el-dialog"),W=le("loading");return c(),h("div",null,[t(U,null,{title:l(()=>[pe]),_:1}),t(N,null,{default:l(()=>[t(D,{ref_key:"formRef",ref:O,inline:!0,model:i},{default:l(()=>[t(y,{label:"用户名称",prop:"userId"},{default:l(()=>[t(I,{modelValue:i.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>i.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":E,style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(A),e=>(c(),S(k,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,{label:"检测平台",prop:"typeOriginCn"},{default:l(()=>[t(I,{modelValue:i.typeOriginCn,"onUpdate:modelValue":a[1]||(a[1]=e=>i.typeOriginCn=e),placeholder:"请选择检测平台",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(re),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:w},{default:l(()=>[d(" 查询 ")]),_:1}),t(b,{onClick:a[2]||(a[2]=e=>$(s(O)))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{style:{width:"100%"}},{default:l(()=>[ae((c(),S(H,{border:"",data:s(M),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[t(r,{fixed:"",prop:"userInfo.username",label:"用户名称",width:"150"}),t(r,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:l(e=>{var u,p;return[C("img",{src:(p=(u=e.row)==null?void 0:u.userInfo)==null?void 0:p.avatar,style:{height:"50px"}},null,8,ce)]}),_:1}),t(r,{prop:"userInfo.email",label:"邮箱",width:"200"}),t(r,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:l(({row:e})=>[t(x,{type:s(ie)[e.userInfo.status]},{default:l(()=>[d(m(s(ue)[e.userInfo.status]),1)]),_:2},1032,["type"])]),_:1}),t(r,{prop:"userInfo.violationCount",label:"累计次数",width:"90",align:"center"}),t(r,{label:"违规类型"},{default:l(e=>[t(x,{type:"danger"},{default:l(()=>{var u,p;return[d(m((u=e.row)!=null&&u.typeCn?JSON.parse((p=e.row)==null?void 0:p.typeCn).join(" | "):""),1)]}),_:2},1024)]),_:1}),t(r,{label:"违规关键词"},{default:l(e=>{var u,p;return[d(m((u=e.row)!=null&&u.words?JSON.parse((p=e.row)==null?void 0:p.words).join(" | "):""),1)]}),_:1}),t(r,{prop:"typeOriginCn",label:"违规检测来源",width:"120"},{default:l(e=>[t(x,{type:"success"},{default:l(()=>[d(m(e.row.typeOriginCn),1)]),_:2},1024)]),_:1}),t(r,{prop:"answer",label:"违规内容",width:"200"},{default:l(e=>[t(F,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[C("div",_e,m(e.row.content),1)]),default:l(()=>[C("div",{class:"answer_container",innerHTML:s(z)(e.row.content||"")},null,8,fe)]),_:2},1024)]),_:1}),t(r,{prop:"createdAt",label:"违规时间",width:"200"},{default:l(e=>[d(m(s(se)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(r,{fixed:"right",label:"操作",width:"120",align:"center"},{default:l(e=>[t(b,{link:"",type:"primary",size:"small",onClick:u=>j(e.row)},{default:l(()=>[d(" 变更用户状态 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[W,s(v)]]),t(G,{class:"mt-5 flex justify-end"},{default:l(()=>[t(J,{"current-page":i.page,"onUpdate:currentPage":a[3]||(a[3]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[4]||(a[4]=e=>i.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s(R),onSizeChange:w,onCurrentChange:w},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(K,{modelValue:s(g),"onUpdate:modelValue":a[6]||(a[6]=e=>ne(g)?g.value=e:null),title:"变更用户状态",width:"500px"},{default:l(()=>[t(D,{model:_,inline:!0},{default:l(()=>[t(y,{label:"用户状态","label-width":"90px"},{default:l(()=>[t(I,{modelValue:_.status,"onUpdate:modelValue":a[5]||(a[5]=e=>_.status=e),placeholder:"请选择用户状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(de),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:q},{default:l(()=>[d(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}});typeof Y=="function"&&Y(me);export{me as default}; +import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{A as Z}from"./badWords-Jbq96Z0c.js";import{d as ee,r as f,m as P,a as te,n as o,q as le,g as c,c as h,b as t,w as l,F as T,s as V,i as s,h as d,y as ae,z as S,e as C,t as m,D as ne,K as L,E as oe,k as Y}from"./index-CAe0BuuW.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";import{m as z}from"./marked.esm-8ZxQ78w7.js";import{T as re,U as ie,m as ue,n as de}from"./index-DfBvkKrB.js";const pe=C("div",{class:"flex items-center gap-4"},"违规检测记录",-1),ce=["src"],_e={class:"answer"},fe=["innerHTML"],me=ee({__name:"violation",setup(ge){const B=new z.Renderer;z.setOptions({renderer:B,gfm:!0,pedantic:!1});const v=f(!1),A=f(),O=f(),R=f(0),i=P({userId:"",typeOriginCn:"",page:1,size:10}),M=f([]),g=f(!1),_=P({status:"0",id:0});function j(n){g.value=!0,_.status=n.status.toString(),_.id=n.userId}async function q(){(await L.updateUserStatus(_)).success&&oe({type:"success",message:"变更用户状态成功!"}),g.value=!1}async function w(){v.value=!0;try{const n=await Z.queryViolation(i);v.value=!1;const{rows:a,count:U}=n.data;R.value=U,M.value=a}catch{v.value=!1}}async function E(n){const a=await L.queryAllUser({size:30,username:n});A.value=a.data.rows}function $(n){n==null||n.resetFields(),w()}return te(()=>{w()}),(n,a)=>{const U=X,k=o("el-option"),I=o("el-select"),y=o("el-form-item"),b=o("el-button"),D=o("el-form"),N=Q,r=o("el-table-column"),x=o("el-tag"),F=o("el-popover"),H=o("el-table"),J=o("el-pagination"),G=o("el-row"),K=o("el-dialog"),W=le("loading");return c(),h("div",null,[t(U,null,{title:l(()=>[pe]),_:1}),t(N,null,{default:l(()=>[t(D,{ref_key:"formRef",ref:O,inline:!0,model:i},{default:l(()=>[t(y,{label:"用户名称",prop:"userId"},{default:l(()=>[t(I,{modelValue:i.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>i.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":E,style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(A),e=>(c(),S(k,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,{label:"检测平台",prop:"typeOriginCn"},{default:l(()=>[t(I,{modelValue:i.typeOriginCn,"onUpdate:modelValue":a[1]||(a[1]=e=>i.typeOriginCn=e),placeholder:"请选择检测平台",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(re),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:w},{default:l(()=>[d(" 查询 ")]),_:1}),t(b,{onClick:a[2]||(a[2]=e=>$(s(O)))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{style:{width:"100%"}},{default:l(()=>[ae((c(),S(H,{border:"",data:s(M),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[t(r,{fixed:"",prop:"userInfo.username",label:"用户名称",width:"150"}),t(r,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:l(e=>{var u,p;return[C("img",{src:(p=(u=e.row)==null?void 0:u.userInfo)==null?void 0:p.avatar,style:{height:"50px"}},null,8,ce)]}),_:1}),t(r,{prop:"userInfo.email",label:"邮箱",width:"200"}),t(r,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:l(({row:e})=>[t(x,{type:s(ie)[e.userInfo.status]},{default:l(()=>[d(m(s(ue)[e.userInfo.status]),1)]),_:2},1032,["type"])]),_:1}),t(r,{prop:"userInfo.violationCount",label:"累计次数",width:"90",align:"center"}),t(r,{label:"违规类型"},{default:l(e=>[t(x,{type:"danger"},{default:l(()=>{var u,p;return[d(m((u=e.row)!=null&&u.typeCn?JSON.parse((p=e.row)==null?void 0:p.typeCn).join(" | "):""),1)]}),_:2},1024)]),_:1}),t(r,{label:"违规关键词"},{default:l(e=>{var u,p;return[d(m((u=e.row)!=null&&u.words?JSON.parse((p=e.row)==null?void 0:p.words).join(" | "):""),1)]}),_:1}),t(r,{prop:"typeOriginCn",label:"违规检测来源",width:"120"},{default:l(e=>[t(x,{type:"success"},{default:l(()=>[d(m(e.row.typeOriginCn),1)]),_:2},1024)]),_:1}),t(r,{prop:"answer",label:"违规内容",width:"200"},{default:l(e=>[t(F,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[C("div",_e,m(e.row.content),1)]),default:l(()=>[C("div",{class:"answer_container",innerHTML:s(z)(e.row.content||"")},null,8,fe)]),_:2},1024)]),_:1}),t(r,{prop:"createdAt",label:"违规时间",width:"200"},{default:l(e=>[d(m(s(se)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(r,{fixed:"right",label:"操作",width:"120",align:"center"},{default:l(e=>[t(b,{link:"",type:"primary",size:"small",onClick:u=>j(e.row)},{default:l(()=>[d(" 变更用户状态 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[W,s(v)]]),t(G,{class:"mt-5 flex justify-end"},{default:l(()=>[t(J,{"current-page":i.page,"onUpdate:currentPage":a[3]||(a[3]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[4]||(a[4]=e=>i.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s(R),onSizeChange:w,onCurrentChange:w},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(K,{modelValue:s(g),"onUpdate:modelValue":a[6]||(a[6]=e=>ne(g)?g.value=e:null),title:"变更用户状态",width:"500px"},{default:l(()=>[t(D,{model:_,inline:!0},{default:l(()=>[t(y,{label:"用户状态","label-width":"90px"},{default:l(()=>[t(I,{modelValue:_.status,"onUpdate:modelValue":a[5]||(a[5]=e=>_.status=e),placeholder:"请选择用户状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(de),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:q},{default:l(()=>[d(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}});typeof Y=="function"&&Y(me);export{me as default}; diff --git a/public/admin/assets/visible-Cerzljbr.js b/public/admin/assets/visible-Cerzljbr.js new file mode 100644 index 0000000..0b7c6a6 --- /dev/null +++ b/public/admin/assets/visible-Cerzljbr.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as F,m as B,r as V,a as N,n as i,g as R,c as j,b as e,w as l,h as g,i as _,J as f,e as o,E as h,j as E,_ as I,k as w}from"./index-CAe0BuuW.js";import{a as k}from"./config-CwtVyG0K.js";const $=o("div",{class:"flex items-center gap-4"},"插件应用基础配置",-1),A=o("div",{class:"text-sm/6"},[o("div",null," 插件基础配置,包括插件地址、插件 Key、隐藏插件、插件优先显示、应用菜单顶部提示语等。 "),o("div",null,[g(" 插件项目"),o("a",{href:"https://github.com/vastxie/99AIPlugin",target:"_blank"},"开源地址"),g(" ,可自行部署,欢迎共同维护。 ")])],-1),O=o("div",{style:{width:"250px"}},[o("p",null,"开启后,将隐藏插件功能")],-1),S=o("div",{style:{width:"250px"}},[o("p",null,"开启后,对话页默认优先显示插件")],-1),J=o("div",{style:{width:"250px"}}," 用于应用菜单顶部的自定义语句、修改后将生效、不设置则使用默认的! ",-1),z=F({__name:"visible",setup(D){const n=B({pluginUrl:"",pluginKey:"",appMenuHeaderTips:null,siteRobotName:"",pluginFirst:"1",isHidePlugin:"0"}),H=V({pluginUrl:[{required:!0,trigger:"blur",message:"请填写插件地址"}],pluginKey:[{required:!0,trigger:"blur",message:"请填写插件key"}],appMenuHeaderTips:[{required:!0,trigger:"blur",message:"填写应用市场的提示语"}]}),x=V();async function v(){const s=await k.queryConfig({keys:["appMenuHeaderTips","pluginUrl","pluginKey","pluginFirst","isHidePlugin"]});Object.assign(n,s.data)}function U(){var s;(s=x.value)==null||s.validate(async t=>{if(t){try{await k.setConfig({settings:K(n)}),h.success("变更配置信息成功")}catch{}v()}else h.error("请填写完整信息")})}function K(s){return Object.keys(s).map(t=>({configKey:t,configVal:s[t]}))}return N(()=>{v()}),(s,t)=>{const y=E,C=I,M=T,p=i("el-input"),u=i("el-form-item"),r=i("el-col"),d=i("el-row"),b=i("el-switch"),c=i("el-icon"),m=i("el-tooltip"),P=i("el-form"),q=i("el-card");return R(),j("div",null,[e(M,null,{title:l(()=>[$]),content:l(()=>[A]),default:l(()=>[e(C,{outline:"",onClick:U},{default:l(()=>[e(y,{name:"i-ri:file-text-line"}),g(" 保存设置 ")]),_:1})]),_:1}),e(q,{style:{margin:"20px"}},{default:l(()=>[e(P,{ref_key:"formRef",ref:x,rules:H.value,model:n,"label-width":"150px"},{default:l(()=>[e(d,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"插件地址",prop:"pluginUrl"},{default:l(()=>[e(p,{modelValue:n.pluginUrl,"onUpdate:modelValue":t[0]||(t[0]=a=>n.pluginUrl=a),placeholder:"插件地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"插件 Key",prop:"pluginKey"},{default:l(()=>[e(p,{modelValue:n.pluginKey,"onUpdate:modelValue":t[1]||(t[1]=a=>n.pluginKey=a),placeholder:"插件 Key",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"隐藏插件",prop:"isHidePlugin"},{default:l(()=>[e(b,{modelValue:n.isHidePlugin,"onUpdate:modelValue":t[2]||(t[2]=a=>n.isHidePlugin=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(m,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[O]),default:l(()=>[e(c,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(f))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"插件优先显示",prop:"pluginFirst"},{default:l(()=>[e(b,{modelValue:n.pluginFirst,"onUpdate:modelValue":t[3]||(t[3]=a=>n.pluginFirst=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(m,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[S]),default:l(()=>[e(c,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(f))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"应用菜单顶部提示语",prop:"maxRounds"},{default:l(()=>[e(p,{modelValue:n.appMenuHeaderTips,"onUpdate:modelValue":t[4]||(t[4]=a=>n.appMenuHeaderTips=a),placeholder:"请填写应用菜单顶部提示语",clearable:"",style:{width:"80%"}},null,8,["modelValue"]),e(m,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[J]),default:l(()=>[e(c,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(f))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof w=="function"&&w(z);export{z as default}; diff --git a/public/admin/assets/visible-K9fT7Dyr.js b/public/admin/assets/visible-K9fT7Dyr.js deleted file mode 100644 index 34380db..0000000 --- a/public/admin/assets/visible-K9fT7Dyr.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as B,m as N,r as y,a as R,n as o,g as j,c as E,b as e,w as l,h as c,i as b,J as v,e as s,E as V,j as I,_ as $,k as h}from"./index-DEc4xym2.js";import{a as w}from"./config-BQ9gBCXa.js";const A=s("div",{class:"flex items-center gap-4"},"插件应用基础配置",-1),O=s("div",{class:"text-sm/6"},[s("div",null," 插件基础配置,包括插件地址、插件 Key、插件优先显示、应用菜单顶部提示语等。 "),s("div",null,[c(" 插件项目"),s("a",{href:"https://github.com/vastxie/99AIPlugin",target:"_blank"},"开源地址"),c(" ,可自行部署,欢迎共同维护。 ")])],-1),P=s("div",{style:{width:"250px"}},[s("p",null,"开启后,对话页默认优先显示插件")],-1),S=s("div",{style:{width:"250px"}}," 用于应用菜单顶部的自定义语句、修改后将生效、不设置则使用默认的! ",-1),J=B({__name:"visible",setup(z){const n=N({pluginUrl:"",pluginKey:"",appMenuHeaderTips:null,siteRobotName:"",pluginFirst:"1"}),k=y({pluginUrl:[{required:!0,trigger:"blur",message:"请填写插件地址"}],pluginKey:[{required:!0,trigger:"blur",message:"请填写插件key"}],appMenuHeaderTips:[{required:!0,trigger:"blur",message:"填写应用市场的提示语"}]}),_=y();async function m(){const a=await w.queryConfig({keys:["appMenuHeaderTips","pluginUrl","pluginKey","pluginFirst"]});Object.assign(n,a.data)}function U(){var a;(a=_.value)==null||a.validate(async t=>{if(t){try{await w.setConfig({settings:K(n)}),V.success("变更配置信息成功")}catch{}m()}else V.error("请填写完整信息")})}function K(a){return Object.keys(a).map(t=>({configKey:t,configVal:a[t]}))}return R(()=>{m()}),(a,t)=>{const f=I,C=$,H=F,d=o("el-input"),r=o("el-form-item"),u=o("el-col"),p=o("el-row"),M=o("el-switch"),g=o("el-icon"),x=o("el-tooltip"),q=o("el-form"),T=o("el-card");return j(),E("div",null,[e(H,null,{title:l(()=>[A]),content:l(()=>[O]),default:l(()=>[e(C,{outline:"",onClick:U},{default:l(()=>[e(f,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(T,{style:{margin:"20px"}},{default:l(()=>[e(q,{ref_key:"formRef",ref:_,rules:k.value,model:n,"label-width":"150px"},{default:l(()=>[e(p,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"插件地址",prop:"pluginUrl"},{default:l(()=>[e(d,{modelValue:n.pluginUrl,"onUpdate:modelValue":t[0]||(t[0]=i=>n.pluginUrl=i),placeholder:"插件地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(p,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"插件优先显示",prop:"pluginFirst"},{default:l(()=>[e(M,{modelValue:n.pluginFirst,"onUpdate:modelValue":t[1]||(t[1]=i=>n.pluginFirst=i),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(x,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[P]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(b(v))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(p,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"插件 Key",prop:"pluginKey"},{default:l(()=>[e(d,{modelValue:n.pluginKey,"onUpdate:modelValue":t[2]||(t[2]=i=>n.pluginKey=i),placeholder:"插件 Key",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(p,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"应用菜单顶部提示语",prop:"maxRounds"},{default:l(()=>[e(d,{modelValue:n.appMenuHeaderTips,"onUpdate:modelValue":t[3]||(t[3]=i=>n.appMenuHeaderTips=i),placeholder:"请填写应用菜单顶部提示语",clearable:"",style:{width:"80%"}},null,8,["modelValue"]),e(x,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[S]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(b(v))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h(J);export{J as default}; diff --git a/public/admin/assets/wechat-BkbWOIf6.js b/public/admin/assets/wechat-CZwjwtAA.js similarity index 97% rename from public/admin/assets/wechat-BkbWOIf6.js rename to public/admin/assets/wechat-CZwjwtAA.js index be93f3a..8c2833f 100644 --- a/public/admin/assets/wechat-BkbWOIf6.js +++ b/public/admin/assets/wechat-CZwjwtAA.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as U,m as L,r as g,a as B,n as u,g as N,c as q,b as e,w as l,h as s,e as c,E as h,j as C,_ as j,k as b}from"./index-DEc4xym2.js";import{a as S}from"./config-BQ9gBCXa.js";const E=c("div",{class:"flex items-center gap-4"},"微信登录设置[仔细阅读]",-1),$=c("div",{class:"text-sm/6"},[c("div",null," 系统微信登录通过关联公众号实现[请务必注册为服务号、个人公众号没有二维码等此类权限]。 "),c("div",null,[s(" 请前往 "),c("a",{href:"https://mp.weixin.qq.com/",target:"_blank"},"微信公众平台"),s(" ,获取开发者配置信息。 ")]),c("div",null," 如果用户对公众号发送消息,将会从下面设置的自定义回复默认信息。 "),c("div",null,[s(" 同时别忘记在微信公众号平台将自己的 ip/域名 加入白名单,配置位置为公众号后台->基本配置:服务复制参考 "),c("a",{href:"https://域名/api/official/notify",target:"_blank"},"https://域名/api/official/notify"),s(" 将域名修改为您的域名。 ")]),c("div",null,"下方Token对应自己后台设置的Token,加密秘钥随机即可。"),c("div",null,"当设置不指定首页并且配置了微信登录即可默认打开静默登录!")],-1),H=U({__name:"wechat",setup(M){const t=L({wechatRegisterStatus:"",wechatSilentLoginStatus:"",wechatOfficialName:"",wechatOfficialAppId:"",wechatOfficialToken:"",wechatOfficialAppSecret:"",officialSubscribeText:"",officialBindAccountText:"",officialScanLoginText:"",officialAutoReplyText:""}),V=g({wechatOfficialName:[{required:!1,trigger:"blur",message:"请填写微信公众号名称"}],wechatOfficialAppId:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppId"}],wechatOfficialToken:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 Token"}],wechatOfficialAppSecret:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppSecret"}]}),p=g();async function m(){const d=await S.queryConfig({keys:["wechatOfficialName","wechatOfficialAppId","wechatOfficialToken","wechatOfficialAppSecret","officialSubscribeText","officialBindAccountText","officialScanLoginText","officialAutoReplyText","wechatRegisterStatus","wechatSilentLoginStatus"]});Object.assign(t,d.data)}function T(){var d;(d=p.value)==null||d.validate(async a=>{if(a){try{await S.setConfig({settings:A(t)}),h.success("变更配置信息成功")}catch{}m()}else h.error("请填写完整信息")})}function A(d){return Object.keys(d).map(a=>({configKey:a,configVal:d[a]}))}return B(()=>{m()}),(d,a)=>{const _=C,O=j,v=I,w=u("el-switch"),x=u("el-tooltip"),i=u("el-form-item"),n=u("el-col"),f=u("el-row"),r=u("el-input"),y=u("el-divider"),k=u("el-form"),R=u("el-card");return N(),q("div",null,[e(v,null,{title:l(()=>[E]),content:l(()=>[$]),default:l(()=>[e(O,{outline:"",text:"",onClick:T},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),s(" 保存设置 ")]),_:1})]),_:1}),e(R,{style:{margin:"20px"}},{default:l(()=>[e(k,{ref_key:"formRef",ref:p,rules:V.value,model:t,"label-width":"170px"},{default:l(()=>[e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信登录注册",prop:"wechatRegisterStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用微信注册、则用户端则可以通过微信扫码方式注册或登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatRegisterStatus,"onUpdate:modelValue":a[0]||(a[0]=o=>t.wechatRegisterStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信静默",prop:"wechatSilentLoginStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用静默登录、则用户在微信环境打开则直接自动登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatSilentLoginStatus,"onUpdate:modelValue":a[1]||(a[1]=o=>t.wechatSilentLoginStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"公众号名称",prop:"wechatOfficialName"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialName,"onUpdate:modelValue":a[2]||(a[2]=o=>t.wechatOfficialName=o),placeholder:"公众号名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppId",prop:"wechatOfficialAppId"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppId,"onUpdate:modelValue":a[3]||(a[3]=o=>t.wechatOfficialAppId=o),placeholder:"公众号开发信息 AppId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"Token",prop:"wechatOfficialToken"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialToken,"onUpdate:modelValue":a[4]||(a[4]=o=>t.wechatOfficialToken=o),placeholder:"公众号Token配置",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppSecret",prop:"wechatOfficialAppSecret"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppSecret,"onUpdate:modelValue":a[5]||(a[5]=o=>t.wechatOfficialAppSecret=o),placeholder:"公众号开发信息 AppSecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"订阅公众号欢迎消息",prop:"officialSubscribeText"},{default:l(()=>[e(r,{modelValue:t.officialSubscribeText,"onUpdate:modelValue":a[6]||(a[6]=o=>t.officialSubscribeText=o),type:"textarea",rows:3,placeholder:"订阅你的公众号后对他的欢迎语!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"绑定账号回复消息",prop:"officialBindAccountText"},{default:l(()=>[e(r,{modelValue:t.officialBindAccountText,"onUpdate:modelValue":a[7]||(a[7]=o=>t.officialBindAccountText=o),type:"textarea",rows:3,placeholder:"非微信登录用户首次绑定微信的欢迎语",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"扫码登录回复消息",prop:"officialScanLoginText"},{default:l(()=>[e(r,{modelValue:t.officialScanLoginText,"onUpdate:modelValue":a[8]||(a[8]=o=>t.officialScanLoginText=o),type:"textarea",rows:3,placeholder:"用户扫码登录成功时自动回复的内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"自定义回复的默认信息",prop:"officialAutoReplyText"},{default:l(()=>[e(r,{modelValue:t.officialAutoReplyText,"onUpdate:modelValue":a[9]||(a[9]=o=>t.officialAutoReplyText=o),type:"textarea",rows:3,placeholder:"当用户对公众号发了消息不在自动回复列表时回复的兜底内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(H);export{H as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as U,m as L,r as g,a as B,n as u,g as N,c as q,b as e,w as l,h as s,e as c,E as h,j as C,_ as j,k as b}from"./index-CAe0BuuW.js";import{a as S}from"./config-CwtVyG0K.js";const E=c("div",{class:"flex items-center gap-4"},"微信登录设置[仔细阅读]",-1),$=c("div",{class:"text-sm/6"},[c("div",null," 系统微信登录通过关联公众号实现[请务必注册为服务号、个人公众号没有二维码等此类权限]。 "),c("div",null,[s(" 请前往 "),c("a",{href:"https://mp.weixin.qq.com/",target:"_blank"},"微信公众平台"),s(" ,获取开发者配置信息。 ")]),c("div",null," 如果用户对公众号发送消息,将会从下面设置的自定义回复默认信息。 "),c("div",null,[s(" 同时别忘记在微信公众号平台将自己的 ip/域名 加入白名单,配置位置为公众号后台->基本配置:服务复制参考 "),c("a",{href:"https://域名/api/official/notify",target:"_blank"},"https://域名/api/official/notify"),s(" 将域名修改为您的域名。 ")]),c("div",null,"下方Token对应自己后台设置的Token,加密秘钥随机即可。"),c("div",null,"当设置不指定首页并且配置了微信登录即可默认打开静默登录!")],-1),H=U({__name:"wechat",setup(M){const t=L({wechatRegisterStatus:"",wechatSilentLoginStatus:"",wechatOfficialName:"",wechatOfficialAppId:"",wechatOfficialToken:"",wechatOfficialAppSecret:"",officialSubscribeText:"",officialBindAccountText:"",officialScanLoginText:"",officialAutoReplyText:""}),V=g({wechatOfficialName:[{required:!1,trigger:"blur",message:"请填写微信公众号名称"}],wechatOfficialAppId:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppId"}],wechatOfficialToken:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 Token"}],wechatOfficialAppSecret:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppSecret"}]}),p=g();async function m(){const d=await S.queryConfig({keys:["wechatOfficialName","wechatOfficialAppId","wechatOfficialToken","wechatOfficialAppSecret","officialSubscribeText","officialBindAccountText","officialScanLoginText","officialAutoReplyText","wechatRegisterStatus","wechatSilentLoginStatus"]});Object.assign(t,d.data)}function T(){var d;(d=p.value)==null||d.validate(async a=>{if(a){try{await S.setConfig({settings:A(t)}),h.success("变更配置信息成功")}catch{}m()}else h.error("请填写完整信息")})}function A(d){return Object.keys(d).map(a=>({configKey:a,configVal:d[a]}))}return B(()=>{m()}),(d,a)=>{const _=C,O=j,v=I,w=u("el-switch"),x=u("el-tooltip"),i=u("el-form-item"),n=u("el-col"),f=u("el-row"),r=u("el-input"),y=u("el-divider"),k=u("el-form"),R=u("el-card");return N(),q("div",null,[e(v,null,{title:l(()=>[E]),content:l(()=>[$]),default:l(()=>[e(O,{outline:"",text:"",onClick:T},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),s(" 保存设置 ")]),_:1})]),_:1}),e(R,{style:{margin:"20px"}},{default:l(()=>[e(k,{ref_key:"formRef",ref:p,rules:V.value,model:t,"label-width":"170px"},{default:l(()=>[e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信登录注册",prop:"wechatRegisterStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用微信注册、则用户端则可以通过微信扫码方式注册或登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatRegisterStatus,"onUpdate:modelValue":a[0]||(a[0]=o=>t.wechatRegisterStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信静默",prop:"wechatSilentLoginStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用静默登录、则用户在微信环境打开则直接自动登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatSilentLoginStatus,"onUpdate:modelValue":a[1]||(a[1]=o=>t.wechatSilentLoginStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"公众号名称",prop:"wechatOfficialName"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialName,"onUpdate:modelValue":a[2]||(a[2]=o=>t.wechatOfficialName=o),placeholder:"公众号名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppId",prop:"wechatOfficialAppId"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppId,"onUpdate:modelValue":a[3]||(a[3]=o=>t.wechatOfficialAppId=o),placeholder:"公众号开发信息 AppId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"Token",prop:"wechatOfficialToken"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialToken,"onUpdate:modelValue":a[4]||(a[4]=o=>t.wechatOfficialToken=o),placeholder:"公众号Token配置",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppSecret",prop:"wechatOfficialAppSecret"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppSecret,"onUpdate:modelValue":a[5]||(a[5]=o=>t.wechatOfficialAppSecret=o),placeholder:"公众号开发信息 AppSecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"订阅公众号欢迎消息",prop:"officialSubscribeText"},{default:l(()=>[e(r,{modelValue:t.officialSubscribeText,"onUpdate:modelValue":a[6]||(a[6]=o=>t.officialSubscribeText=o),type:"textarea",rows:3,placeholder:"订阅你的公众号后对他的欢迎语!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"绑定账号回复消息",prop:"officialBindAccountText"},{default:l(()=>[e(r,{modelValue:t.officialBindAccountText,"onUpdate:modelValue":a[7]||(a[7]=o=>t.officialBindAccountText=o),type:"textarea",rows:3,placeholder:"非微信登录用户首次绑定微信的欢迎语",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"扫码登录回复消息",prop:"officialScanLoginText"},{default:l(()=>[e(r,{modelValue:t.officialScanLoginText,"onUpdate:modelValue":a[8]||(a[8]=o=>t.officialScanLoginText=o),type:"textarea",rows:3,placeholder:"用户扫码登录成功时自动回复的内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"自定义回复的默认信息",prop:"officialAutoReplyText"},{default:l(()=>[e(r,{modelValue:t.officialAutoReplyText,"onUpdate:modelValue":a[9]||(a[9]=o=>t.officialAutoReplyText=o),type:"textarea",rows:3,placeholder:"当用户对公众号发了消息不在自动回复列表时回复的兜底内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(H);export{H as default}; diff --git a/public/admin/assets/wechat-Ckikji2h.js b/public/admin/assets/wechat-Ckikji2h.js deleted file mode 100644 index f731ded..0000000 --- a/public/admin/assets/wechat-Ckikji2h.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as K,m as P,r as f,a as w,n as s,g as H,c as q,b as e,w as a,h as A,e as i,E as _,j as k,_ as N,k as h}from"./index-DEc4xym2.js";import{a as C}from"./config-BQ9gBCXa.js";const M=i("div",{class:"flex items-center gap-4"},"微信支付设置",-1),B=i("div",{class:"text-sm/6"},[i("div",null," 同时开启多个支付,将以微信支付作为最高优先级,在pc端会调用 native 支付,在微信环境内将调用 Jsapi 支付。 "),i("div",null," 请确认微信支付已经申请了支付权限,支付通知地址为: https://您的域名/api/pay/notify。 ")],-1),j=K({__name:"wechat",setup(E){const t=P({payWechatStatus:"",payWeChatMchId:"",payWeChatAppId:"",payWeChatSecret:"",payWeChatNotifyUrl:"",payWeChatH5Url:"",payWeChatPublicKey:"",payWeChatPrivateKey:""}),g=f({payWechatStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payWeChatSecret:[{required:!0,trigger:"blur",message:"请填写支付Secret秘钥"}],payWeChatMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payWeChatAppId:[{required:!0,trigger:"blur",message:"请填写AppId"}],payWeChatNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payWeChatH5Url:[{required:!0,trigger:"blur",message:"请填写H5支付通知地址"}],payWeChatPublicKey:[{required:!0,trigger:"blur",message:"请填写支付公钥信息(cert.pem文件)"}],payWeChatPrivateKey:[{required:!0,trigger:"blur",message:"请填写支付私钥地址(key.pem文件)"}]}),m=f();async function c(){const o=await C.queryConfig({keys:["payWeChatSecret","payWeChatNotifyUrl","payWeChatH5Url","payWeChatAppId","payWechatStatus","payWeChatMchId","payWeChatPublicKey","payWeChatPrivateKey"]});Object.assign(t,o.data)}function W(){var o;(o=m.value)==null||o.validate(async l=>{if(l){try{await C.setConfig({settings:b(t)}),_.success("变更配置信息成功")}catch{}c()}else _.error("请填写完整信息")})}function b(o){return Object.keys(o).map(l=>({configKey:l,configVal:o[l]}))}return w(()=>{c()}),(o,l)=>{const y=k,V=N,x=S,v=s("el-switch"),p=s("el-form-item"),u=s("el-col"),d=s("el-row"),n=s("el-input"),U=s("el-form"),I=s("el-card");return H(),q("div",null,[e(x,null,{title:a(()=>[M]),content:a(()=>[B]),default:a(()=>[e(V,{outline:"",onClick:W},{default:a(()=>[e(y,{name:"i-ri:file-text-line"}),A(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:a(()=>[e(U,{ref_key:"formRef",ref:m,rules:g.value,model:t,"label-width":"140px"},{default:a(()=>[e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"启用当前支付",prop:"payWechatStatus"},{default:a(()=>[e(v,{modelValue:t.payWechatStatus,"onUpdate:modelValue":l[0]||(l[0]=r=>t.payWechatStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"商户ID",prop:"payWeChatMchId"},{default:a(()=>[e(n,{modelValue:t.payWeChatMchId,"onUpdate:modelValue":l[1]||(l[1]=r=>t.payWeChatMchId=r),placeholder:"请填写商户ID",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(p,{label:"AppId",prop:"payWeChatAppId"},{default:a(()=>[e(n,{modelValue:t.payWeChatAppId,"onUpdate:modelValue":l[2]||(l[2]=r=>t.payWeChatAppId=r),placeholder:"请填写AppId",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(p,{label:"商户秘钥",prop:"payWeChatSecret"},{default:a(()=>[e(n,{modelValue:t.payWeChatSecret,"onUpdate:modelValue":l[3]||(l[3]=r=>t.payWeChatSecret=r),placeholder:"请填写Secret秘钥",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(p,{label:"支付通知地址",prop:"payWeChatNotifyUrl"},{default:a(()=>[e(n,{modelValue:t.payWeChatNotifyUrl,"onUpdate:modelValue":l[4]||(l[4]=r=>t.payWeChatNotifyUrl=r),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(p,{label:"H5支付通知地址",prop:"payWeChatH5Url"},{default:a(()=>[e(n,{modelValue:t.payWeChatH5Url,"onUpdate:modelValue":l[5]||(l[5]=r=>t.payWeChatH5Url=r),placeholder:"请填写H5支付通知地址",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(p,{label:"公钥地址",prop:"payWeChatPublicKey"},{default:a(()=>[e(n,{modelValue:t.payWeChatPublicKey,"onUpdate:modelValue":l[6]||(l[6]=r=>t.payWeChatPublicKey=r),type:"textarea",rows:6,placeholder:"请填写支付公钥信息(cert.pem文件)",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(p,{label:"私钥地址",prop:"payWeChatPrivateKey"},{default:a(()=>[e(n,{modelValue:t.payWeChatPrivateKey,"onUpdate:modelValue":l[7]||(l[7]=r=>t.payWeChatPrivateKey=r),type:"textarea",rows:6,placeholder:"请填写支付私钥地址(key.pem文件)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h(j);export{j as default}; diff --git a/public/admin/assets/wechat-DPXVY5uo.js b/public/admin/assets/wechat-DPXVY5uo.js new file mode 100644 index 0000000..85df8ce --- /dev/null +++ b/public/admin/assets/wechat-DPXVY5uo.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as K,m as P,r as f,a as w,n as d,g as A,c as k,b as e,w as a,h as q,e as i,E as _,j as N,_ as M,k as h}from"./index-CAe0BuuW.js";import{a as g}from"./config-CwtVyG0K.js";const B=i("div",{class:"flex items-center gap-4"},"微信支付设置",-1),j=i("div",{class:"text-sm/6"},[i("div",null," 同时开启多个支付,将以微信支付作为最高优先级,在pc端会调用 native 支付,在微信环境内将调用 Jsapi 支付。 "),i("div",null," 请确认微信支付已经申请了支付权限,支付通知地址为: https://您的域名/api/pay/notify。 ")],-1),E=K({__name:"wechat",setup($){const l=P({payWechatStatus:"",payWeChatMchId:"",payWeChatAppId:"",payWeChatSecret:"",payWeChatNotifyUrl:"",payWeChatPublicKey:"",payWeChatPrivateKey:""}),C=f({payWechatStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payWeChatSecret:[{required:!0,trigger:"blur",message:"请填写支付Secret秘钥"}],payWeChatMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payWeChatAppId:[{required:!0,trigger:"blur",message:"请填写AppId"}],payWeChatNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payWeChatPublicKey:[{required:!0,trigger:"blur",message:"请填写支付公钥信息(cert.pem文件)"}],payWeChatPrivateKey:[{required:!0,trigger:"blur",message:"请填写支付私钥地址(key.pem文件)"}]}),c=f();async function m(){const r=await g.queryConfig({keys:["payWeChatSecret","payWeChatNotifyUrl","payWeChatAppId","payWechatStatus","payWeChatMchId","payWeChatPublicKey","payWeChatPrivateKey"]});Object.assign(l,r.data)}function W(){var r;(r=c.value)==null||r.validate(async t=>{if(t){try{await g.setConfig({settings:b(l)}),_.success("变更配置信息成功")}catch{}m()}else _.error("请填写完整信息")})}function b(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return w(()=>{m()}),(r,t)=>{const y=N,x=M,V=U,v=d("el-switch"),p=d("el-form-item"),u=d("el-col"),n=d("el-row"),s=d("el-input"),I=d("el-form"),S=d("el-card");return A(),k("div",null,[e(V,null,{title:a(()=>[B]),content:a(()=>[j]),default:a(()=>[e(x,{outline:"",onClick:W},{default:a(()=>[e(y,{name:"i-ri:file-text-line"}),q(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:c,rules:C.value,model:l,"label-width":"140px"},{default:a(()=>[e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"启用当前支付",prop:"payWechatStatus"},{default:a(()=>[e(v,{modelValue:l.payWechatStatus,"onUpdate:modelValue":t[0]||(t[0]=o=>l.payWechatStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"商户ID",prop:"payWeChatMchId"},{default:a(()=>[e(s,{modelValue:l.payWeChatMchId,"onUpdate:modelValue":t[1]||(t[1]=o=>l.payWeChatMchId=o),placeholder:"请填写商户ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"AppId",prop:"payWeChatAppId"},{default:a(()=>[e(s,{modelValue:l.payWeChatAppId,"onUpdate:modelValue":t[2]||(t[2]=o=>l.payWeChatAppId=o),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"商户秘钥",prop:"payWeChatSecret"},{default:a(()=>[e(s,{modelValue:l.payWeChatSecret,"onUpdate:modelValue":t[3]||(t[3]=o=>l.payWeChatSecret=o),placeholder:"请填写Secret秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"支付通知地址",prop:"payWeChatNotifyUrl"},{default:a(()=>[e(s,{modelValue:l.payWeChatNotifyUrl,"onUpdate:modelValue":t[4]||(t[4]=o=>l.payWeChatNotifyUrl=o),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"公钥地址",prop:"payWeChatPublicKey"},{default:a(()=>[e(s,{modelValue:l.payWeChatPublicKey,"onUpdate:modelValue":t[5]||(t[5]=o=>l.payWeChatPublicKey=o),type:"textarea",rows:6,placeholder:"请填写支付公钥信息(cert.pem文件)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"私钥地址",prop:"payWeChatPrivateKey"},{default:a(()=>[e(s,{modelValue:l.payWeChatPrivateKey,"onUpdate:modelValue":t[6]||(t[6]=o=>l.payWeChatPrivateKey=o),type:"textarea",rows:6,placeholder:"请填写支付私钥地址(key.pem文件)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h(E);export{E as default}; diff --git a/public/admin/index.html b/public/admin/index.html index 780f876..2c477d4 100644 --- a/public/admin/index.html +++ b/public/admin/index.html @@ -2,20 +2,20 @@ - + - - - + + + AIWeb - - + + @@ -33,11 +33,11 @@
    为了您的体验,推荐使用以下浏览器
    diff --git a/public/assets/Close-d2230b2f.js b/public/assets/Close-d2230b2f.js deleted file mode 100644 index 4079354..0000000 --- a/public/assets/Close-d2230b2f.js +++ /dev/null @@ -1 +0,0 @@ -import{I as o}from"./menu-19bde8fc.js";import{X as t}from"./vue-10b4afc0.js";const r=o("close",!1,function(e){return t("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[t("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});export{r as C}; diff --git a/public/assets/chat-8fd922b8.css b/public/assets/chat-8fd922b8.css deleted file mode 100644 index b73887e..0000000 --- a/public/assets/chat-8fd922b8.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.5);opacity:.5}}.breathing-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background-color:#000;animation:breathe 2s infinite}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}.loading-anchor:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;background-color:#000;border-radius:50%;animation:breathe 2s infinite ease-in-out;vertical-align:middle}.markdown-body{background-color:transparent;font-size:1rem;max-width:80vw}.markdown-body p{white-space:pre-wrap}.markdown-body ol{list-style-type:decimal}.markdown-body ul{list-style-type:disc}.markdown-body pre code,.markdown-body pre tt{line-height:1.65}.markdown-body .highlight pre,.markdown-body pre{background-color:#1f2937}.markdown-body code.hljs{padding:0}.markdown-body .code-block-wrapper{position:relative;padding-top:2rem;max-width:80vw;scrollbar-width:none;-ms-overflow-style:none}.markdown-body .code-block-wrapper::-webkit-scrollbar{display:none}.markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:space-between;align-items:center;color:#b3b3b3}.markdown-body .code-block-header__copy{cursor:pointer;margin-left:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.markdown-body .code-block-header__copy:hover{color:#65a665}.whitespace-pre-wrap{font-size:1rem}.rotate-icon{animation:rotateAnimation 3s linear infinite;transform-origin:center}@keyframes rotateAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::v-deep .rotate-icon{animation:rotateAnimation 1s linear infinite} diff --git a/public/assets/chat-ba97c867.js b/public/assets/chat-ba97c867.js deleted file mode 100644 index b64c7f5..0000000 --- a/public/assets/chat-ba97c867.js +++ /dev/null @@ -1,29 +0,0 @@ -import{w as Ze,a as Dt,t as X,G as $u,H as Cd,u as hd,I as Zu,A as Xu,J as Rd,e as vd,K as Ju,q as Nd,L as jo,M as es,o as ju}from"./index-d64a7cc4.js";import{u as ze}from"./useBasicLayout-a4f17bae.js";import{X as M,S as y,U as w,a3 as b,d as Ue,e as H,P as ep,M as O,F as De,c as rt,a as gt,w as Be,G as Ft,r as W,a5 as ee,a8 as Te,H as Ct,a6 as Qe,V as Ee,a4 as Z,f as Ve,y as Ad,k as qt,a7 as hn,Q as Id,a9 as tp,ab as np,v as rp,W as fe,n as It,z as wt,p as Od}from"./vue-10b4afc0.js";import{i as Rn,g as ap,e as Vt,t as yd,p as ip,d as op,Q as sp}from"./naive-ui-fedd20b1.js";import{r as lp,b as Dd,M as xd,t as cp,F as _p}from"./index-b71062e6.js";import{I as Fe,S as St,M as kt,b as Pt,g as ft}from"./menu-19bde8fc.js";import{C as Do}from"./Close-d2230b2f.js";import{_ as dp}from"./_plugin-vue_export-helper-c27b6911.js";import{c as Ld}from"./index-c94da121.js";import{_ as xo}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{D as up,_ as pp}from"./index.vue_vue_type_script_setup_true_lang-d25a7e27.js";import"./vueuse-motion-d4cdaf7b.js";function un(t){return Object.prototype.toString.call(t)==="[object String]"}const mp=Fe("check-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M16 24L22 30L34 18",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Ht=Fe("copy",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),zt=Fe("delete",!1,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M9 10V44H39V10H9Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M20 20V33",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M28 20V33",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M4 10H44",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),gp=Fe("download-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M11.6777 20.271C7.27476 21.3181 4 25.2766 4 30C4 35.5228 8.47715 40 14 40C14.9474 40 15.864 39.8683 16.7325 39.6221",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M36.0547 20.271C40.4577 21.3181 43.7324 25.2766 43.7324 30C43.7324 35.5228 39.2553 40 33.7324 40C32.785 40 31.8684 39.8683 30.9999 39.6221",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M36 20C36 13.3726 30.6274 8 24 8C17.3726 8 12 13.3726 12 20",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M17.0654 30.119L23.9999 37.0764L31.1318 30",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M24 20V33.5382",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Ep=Fe("edit-two",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),Sp=Fe("left",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M31 36L19 24L31 12",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),fp=Fe("link",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24.7073 9.56521L9.85801 24.4145C6.34329 27.9292 6.34329 33.6277 9.85801 37.1424V37.1424C13.3727 40.6571 19.0712 40.6571 22.5859 37.1424L40.2636 19.4647C42.6067 17.1216 42.6067 13.3226 40.2636 10.9794V10.9794C37.9205 8.63628 34.1215 8.63628 31.7783 10.9794L14.1007 28.6571C12.9291 29.8287 12.9291 31.7282 14.1007 32.8997V32.8997C15.2722 34.0713 17.1717 34.0713 18.3433 32.8997L33.1925 18.0505",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),bp=Fe("loading-four",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Tp=Fe("pause",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M16 12V36",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M32 12V36",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Cp=Fe("pause-one",!1,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M19 18V30",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M29 18V30",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),hp=Fe("play-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),Rp=Fe("refresh",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M42 8V24",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M6 24L6 40",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),vp=Fe("right",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M19 12L31 24L19 36",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Np=Fe("rotation",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,"stroke-dasharray":"2 6"},null)])}),Ap=Fe("shuffle-one",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M40 33L44 37L40 41",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M40 7L44 11L40 15",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M44 11H37C29.8203 11 24 16.8203 24 24C24 31.1797 29.8203 37 37 37H44",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap},null),M("path",{d:"M4 37H11C18.1797 37 24 31.1797 24 24C24 16.8203 18.1797 11 11 11H4",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap},null)])}),Ip=Fe("voice-message",!0,function(t){return M("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[M("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M17 25.8994C18.1046 25.8994 19 25.004 19 23.8994C19 22.7948 18.1046 21.8994 17 21.8994C15.8954 21.8994 15 22.7948 15 23.8994C15 25.004 15.8954 25.8994 17 25.8994Z",fill:t.colors[2]},null),M("path",{d:"M21.9497 28.8492C23.2165 27.5825 24 25.8325 24 23.8995C24 21.9665 23.2165 20.2165 21.9497 18.9497",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),M("path",{d:"M26.8994 33.799C29.4329 31.2655 30.9999 27.7655 30.9999 23.8995C30.9999 20.0335 29.4329 16.5335 26.8994 14",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])});function Op(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})])}function yp(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 12 3.269 3.125A59.769 59.769 0 0 1 21.485 12 59.768 59.768 0 0 1 3.27 20.875L5.999 12Zm0 0h7.5"})])}function Dp(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 7.5A2.25 2.25 0 0 1 7.5 5.25h9a2.25 2.25 0 0 1 2.25 2.25v9a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-9Z"})])}function pn(t,e){return y(),w("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}const xp=""+new URL("360logo-c09b4832.png",import.meta.url).href,Lp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjIzOjMyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz4QZKpRAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAlSSURBVGiB7VlrkFXFEf66e+ac+9hlAUUFUbBAJKJRAROUiKzxAUZUICqIG8QiVAwIVqICCSa4EcoNhRoQoyQVidb6QlF8giVYJWoMUdQEhSRGLYlRVpFll+U+zpnp/LhALqtZ7sol+bNf1al7qk9Pd3/3zPR0zwE60IEOdKAD/wdQOY2NvGBVVSrR/fsCqSAIhA2YA7DE79xb3+fhcvpqDVNOY2GYrgP8KIB7FCRa+PES1Vz56jv3LRuysZz+isHlMnTOFbNTzutlUvH2KRG1bPfewXkH7/Pw6q3P91h++VXryuavNcpi+OwLfs2J5iGr1eyc+fCyKxo8uRoPB+89nEbw3sHFfGwUy9nl8PdlKMvUIjnk5DiWnibV8hAAOPvRGo57biKf+BqRgScAQmLirssnTnx/CREpEYGZYIzCWCIWBjFBjVe1W+++Y/7gD9sVw4GSGD52aYLynTdaztQ8t3LiH/bIR1+yor9ER79NZJhFQAjAbMEUwhgBswEzg4xChAoyYZAQNNy5AeEnpy2qPTlfahwHPLVcxKMAjWPzyfpieRSn7/LOM/kY3sXwqoASVD28+n1sKBSqCu89FB5wdqBGVRe2J44DIvKNkXWdXWTryDSNWPvoTLdHfu7Y+werD8706hGrh6qCNAYQAeQLZHxBDgCquve+IDAgTS6YcdMrqVJjKXmNDBo2+0hxh/cmTSopAaTQPMbnseulV569+oM9et+Z+Lsw15i8w3uHCAoBwFCAFIQYUAuQoJCaFV4Lz4kUe9M1APKp3pTrNxvAjWUjMnRErc02p59X79PETVkAsCYNh9hp2PCtYt3Gxs+HJTTVJYb9m5gYngIIGRDnoGQgVqHMMGyhLBAhQICYBSQCZYCFobCG4a8qK5F81vzcO9Mfkp3nw3fnegA5w2Dj9fVnfuOKdcPK7Ws0pwO8NxBjABGABQqBEwOyIVgEHgwSA7EMZQMyBWJkuDAm33sK4C4tJT6ghKw1cOicQH3iY/VRVyL9FKlNfd5Yu7y5VAdfBdNqnxLJHr9ZKT9h0bz+6/c/Yj+L/eTqyazQu+BzXckrEGk3tBx79ylDp5W1RmsNbRkw30XJNaWSAPYztTR7RN84okkBBN7FgHfwyI7msPIwAFsPOOIvwdWzNiTIhVNItg5qz7g2icRxqsKwA8UMaARVAF4SUT7/4glnTTp+49p79lkfp190fUUyClMIOsMEIRErBASQwAQhiQTwqlBiSGJXdsWdUxpb+3SRUYb1ZDksG5EguWNjnAk3ADwQSihcFhxzP872rAbwfLE+xVXdKdf9LRdVJOOshXAKzAkwB0BWoBwUMpLAMX/yTQCvt/a5dOHXc9NnfXA7tPNPANSUSqTNNfLGi3V5STSPciQZIgaLgCmA+BDGpe889czrKor1X356zt9VaAnDgF0C4g3YCcQzxAtEGawCqLvnkd+e9wUSe9DpiB3ziMNB18x9vbosRADgzXW3/UusrmZmMBeaJSGBVT5WYzuptf4OfPBLx5xhJjAIzABBUZiXCqV8HkHD/Nbjam5YtjeWm689yceamc++R+21858tKbGUVKIkkrkJJPSZUADhACIWxB6MQ+cOOveadLHua8/VfkpB0xQhCxbdnd8VtDsckuYbHrt3xPvFY665eS1LfsDsYplNbnsA0Czl+0woG5GXX5i3ywX2V0xpgEOALUApMBJdQ9/v1tb61gSPg30DIYQyAUYB8VCKdxHrva31d27tPofjnnMm/+itwXtkt984yAnpTYyq+dfN/XS/G3fJRaNNbl1orHtXJACTBcHCkAHF4bgh597evVj3ucfG74RpuBCsMREBaqBQ523T5cvrh28v1v3eD1+qQFR1NcedEhR1W1z87NabjnxJJPsihw3X7S++dm1sQ4YvHEO+8lHxDAYVGiEKoNKywaaaTl371PV76/MLJ9RRvvHE9cmgy2BGAM+5TS7YesITD4zeq3Pl9D9RmOv2ILnKS5VT4CCjSH50hgmbXjVWYAyBtUsPpeA9Ah1T99Ne//xvsbWrjA+S0csiDBEL4QDMIawYBNL1pIC7DSjWfaJ+poadm8YqUQ5sfUyN44tJAID3XY5Qn76YiMGcA0hJ/CGrKd9rM2WP2ay5Xpt93OUFRBWscafuaAPt60fiyikGCQjZ3R3e7guB+Di18pyxC/ZZ+Cvrx30ICe7zEj325CPnv1X8bMr0Ncbm0w+RtwFIQezARCBNpknTfeGTfRFX9uW4qg+kaYvKZ22ewJTcjwwbdVtvyXSdKWxACjARlAggBjNBNX0MRb3GALiveJxL//lnpJVVX/hPdvY+SxCeQeKhRGDaPV1RqAaIPAAFSZRXu23EglmnZtqKr+Q1Muz8e+4P8l3GGxA8FRomEKsSeeFCqe4lavap93qufnB6S1u2aqa+JkGm+zuMin5iYwgLSAgsDDYx2DCIBGCDROd/rJMwd2btjIHals2S34j4w05gU9gXGArxDCV/c2yieoUHOAYbAVMJ3anrNo0o6MfsAQhUCUwAsQLsoeIB9iCOdmZ9w3cXzqhuk0S7iNjEjmUSdVoINSAAkWS32HDHratXTPxC4dcWaqa9UonI/BgovAEigEVA4rbBZCZByBGxV/YgadmycFZ1Qyl2SyYS242LrKu+ijU5wDuGSURTn2wnCQAIM/1vIYRHEeVAAJQdVBQq+TsXLTj8yfba24N27SMXjFk90mj4jHr9WMO/9tKwKmbTDKYkoP9JgAoL2EY8vnTKPlOiZsaqINEycBuRVjAHEJbCrm8zn3PFpiMX11Zn/ydELr683pjM0asMJY8DuQZAAHIgCIgYYIInRswENdmMJj7+9oqlF+UAYMLU33OIges43+30QvpmiDDURkC447IldQd2Wt+uI9PH758QXzJu1Zg4rqgGxYX+BAZEBCLZnTwZJA7MnX4hCEYAWAkACTd0oLqKIYUKunAiRIU6bJOa5q88pfbgoPXeE6a+cBTFPf5owuYBxqcyGnVbb5A4kSUqZChhsGisYcMpi2857oA/Nxy0Y/76JdVb1Ju/aL7TZPj0aGE6kU0ORjxICMQxlPNvIvjw7XL4K+uHntZg3j4upJ5vslpLRBCKAAQo5FxuUvls5B215+x3jygFB/VYBwAm/+D98ywdehqRUxIoC6kylOyONxbXHf30wfbfgQ50oAMdOKj4N8mAoUMloQFmAAAAAElFTkSuQmCC",Mp=""+new URL("baidulogo-bf43b354.png",import.meta.url).href,wp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjUxOjA3KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7/DjIoAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAi9SURBVGiB1VpbTFRLFl1Vpx8C4aUoPgINIeM4PoIQtWFABbwyMGqMMdFMzJj5NCSSCR/qXP24E03kyo+JwRjihziRZL6IhFG8t4nStjx8xEyPMTGKQgMC8hxx7Mc5p/Z8AOdSNo/u9l7xrqTTp/fZp2qvqr137arTDAuAiNjUJQcQAyAWgJWIFMYYALCpe9NgCB0041qfIQsA+AjgvwA0AGCMEebBnJ0KIayMsXUACgGUAtgIYAUA0ycG/JJ4D6ATQAuAWwCeMsZGQn5a1/VkIvonEQ0RkaCvA/8josdE9Aci4guSEELsIKIu+noIfAo/Ef1NCBEz30zkENHgYlsaAvxCiG9ptpnRNG0lCfrPYlsYBgK6rv9xcHCQAVPZhogYY+xPYPhdyIG0+DAzxs4lJiYmAVNEvF5vNGPsrwCURTUtTDDG1nHOs4EpIoqiFDDGUhbXrIgQBWAvETEOAJzzbxbZoIjBGNv54MEDxp1OJwfwG6Ivtcb9vGCMZVgsliU8PT3dyjlPYlP1xq8NjLHoNWvWLDVZrVaFMWb6nMauXbuGN2/eSLK4uDhUVFRg5vi8e/cO1dXVkl5sbCwqKirA+cKL9Rwgi8USa+KMK5CLvrDQ3d2NyspKCCFARJh2UU3TkJmZiV27dhlkEhIS4HK50NPTY+jquo4NGzagpLQELKx68ydwzs2cccYQXsUq4f79+1BVFYFAAKqqQtM0aJoGzjlOnDgBXdcNXZPJhJycHKiqaugCwPnz56GpWqQmgDHG+FRsREykqalJMnYaQggMDw/j0aNHhoxzjpKSEsxMLESEoaEhuN3uSE2YbPtzHu7t7YXT6ZzzvqIoaGpqkgzPzc3FqlWrpJj4+PEjnE4nhBAR2xIxESEEzp49C0WZuxggIty7d0+aMUVRcObMGYkcYww3b940XC0SREykr68PLS0tQW7yKbHOzk60trYavxljKCoqQmpqapBec3NzpOZETsTlckmuwBhDQkICysrKJDIWiwWnTp2C3+83ZFarFdu3b5fcy2w24+LFi5JeqOCcR0aEiNDQ0IBAIGDINE3DyZMnUVJSIrmSEAJ9fX148uSJ1HFxcXGQXm9vb8RBHxGRV69eob29XZIlJyejtLQUa9euxbrfrgsabYfDIenn5OQgJSVFmj2v1wuXy4VwyyUiiozIhQsXgmLBbrcjLi4OZrMZ31/4XpotIQTu3r0r6VssFpw7d07SIyLU19eHnb2EEOET8Xg8aGtrkzIM5xxFRUUGuU2bNmH9+vWSgZ2dnWhqapLa2rJlCzIyMiS9rq6uIL2FwBgLn0hbWxu8Xq/UiBACpaWlkqyosMhwLyKC2WzG6dOnpQGIjo7Gtm3bJDdUFAVVVVVQVTUsu8Im0tjYGBSk5eXliIqKkojs+maX5Ou6rmNsbCwo6Pft2ye1R0QYHh7Gs2fPfjkiPT09Qbk+Pj4eR48eNYrA6U9WVhaSkpKkWCIiOBwOiWBeXh5Wr14tzcr79+/R2toaVtCz0dHRxISEhLuMscz5FIUQKCsrw507d6QOkpKSsGfPHphMP+0Epqvdjo4OuN1uqZS32Wxobm429IkIjY2NOH78uNSfzWaDw+GA2WxeiAONjY1lhbwPefv2rbEIzjRsZGQEN27cCBo9xhh0Xcen+7XOzk7cd95HYVGhoVdQUACbzQaPx2O0M73Sl5SUhGQfJxHa9LW1tUFV1aANEBFB0zToui59NE2b1TUsFgu++/t30goeHR2NnJwcKIpiELdYLLh06VLIK31IMTKd3/1+f9iL1aeYXsGfPn1qyBRFwd69eyXyQgh4PB48f/48pHZNoexEXr16JRV+wGTGSUpKCmmLOjw8LKXd6arYbrcbM2C325Geno7u7m5jQfzw4QNcLheysrIWNnJkZCRRCPF0rnNJIQQdO3aMMjIyyGazkc1mo9TUVDp8+DD5fL6Qzjbr6uooJSXFeN5ms9GOHTtI0zSpH4fDQampqYZOWloa5efnS3qzmTg6OprJscC7jp6enqCV3Gw2Iy8vL5SMAgA4cOAAVq5cKcm6urpw+/Zt4zdjDNnZ2UhLSzNkRITu7m7cunVrwT74QpuZx48fY2JiQpL5/X4cOnQoKCPNBavVip07dkr6JpMJlZWV0goeFxeH7OxsmEwmQ1dRFFRXV0s12axEOOfzzsinRRxjDPv378eKFStCJsIYQ0FhgSTTdR1DQ0NBQX/w4EGoqgoiAmMMRIT+/n68ePFi3j5MNJkmZiXj8Xjw8OFDxMfHG9mEc47y8vKQCMxEQUEBEhISpCMjAGhvb8fWrVuNQcnNzUVGRgbGxsakI6OOjg5s3Lhx1sETuiCT3+8XAGatmxVFwdWrVyWZ1WpFenp6yLMxjZiYGFy/fh3j4+OSfOnSpVJbiqLgypUrGBgYmDznmrqVmJg4Z5+qpvrQ2tq6RFXVB/T1vmpbCMLtdq/i9fX1ASHEYFjD+xVBCDFeV1c3BgCYmJg4K4T4Vc6Iz+drDwQCk+9HBgYGwtuSfUXwer0/+ny+yVrryJEjj30+378X26hwIYR439/f/0NcXNzk693NmzcHXr9+fZGIwj9UWjyQz+d7/OzZMzcwVf3W1NSQ0+n818TExAN8ub9nfBZUVR2pr6//9uXLl++lG0VFRay2tnbj+Ph4G33lqVjTtPEnT578effu3XNuDFlNTU3myMjIPV3XQyttvyx0r9fb7XK5/lJQULBkpuFBR+mDg4NDHo/HwTnvT05OtlkslmUziX6uS4QJw81VVR1/+fLlPxoaGk5XVVX96HK5pHie0zC73W59+/btyqqqqt9v27atMDY2dq3Vak1SJo9F+HzP/gzGExEJVVUnvF6v58WLFw8vX77sePPmTWdMTMxES0tLUBzPa0xxcTHTdV3xeDyWZcuWWfPz85csX77cGhUVpei6PrnfX4gOzdLLtGyWb8WkkBBCHx8fV91ut8/tdvvMZnPAbrdrtbW1c56l/h8gg8dutwWvwQAAAABJRU5ErkJggg==",kp=""+new URL("dalle-4f19ad1c.png",import.meta.url).href,Pp=""+new URL("google-6f260bf3.gif",import.meta.url).href,Up="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjQ1OjA0KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz5FXAnGAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAfvSURBVFiF7ZhLcJPXFcd/59PLkizZBstGlvzA2MEaAwEMAfIitAkNSZmUNpOZpsx0aDrT7ttdp5t2uuy2M11k2kXSNp1mSJMhpC2T8JqA86QBYydWjB+yjS1jy5Jl2dKn73RhFYUOkhGkCQvOUt895/507r3/e+6Rvx+xuPvM+LoBbm73sCqxe1iV2F2KZb9DfzEQGwJqYeW/FCS4fSyhqoaaFqqDuOtE7OTSujBFapzUBFbua8Jq2knro1LTjNNXJLVM0tNMXyJ6TJdTXy2WGES+J+2PYzhQJTHEbFTNJbzrpGETviaq17Fum5z/rS7GwUBva2WlosvHsLNhv2x8BmC6j8/e0MSV4leHm44DrH9c7FXkMggYTswMiWEmP9KZfhbj6K3NVlm26tpp3YvhYPikfvY6S4kbvnobsHtkJT2OKswlcgvY3TRsoqFbkjGG39FYL2bmS8UybAR34K4ncYX+V8mli59cPtqfkNAu3GsQg/hlxs7qwlUsE5uLtZ3Sshd/M5FnxenTz/9BPnvnWILdSaCb1r1S34XAwFG9zmQ4qI/Q/Zz4mlCLxRkGjur4e6DFAHOf6+hZtv1IGrbQ+ZTMj+nUhTvGCkToeFLqI4gNIDNLYhTA5qBuA62PEdwuYrAwydULDL+jizMAIiDFnZRd4P3f6dYjEtpF5BDXBjCX7gArtJPIs+IJkJkjMaTBHlmeLxwufzObnhd/mOwCsXOM92piuMBRVUvrXrFXETun86OFUJZJ9LjWtIq/WZp2MHpWS85aHquunc2Hxenj2qdcfFmragj2oFZhgZx+XH7mhrj4siZjBQk1HDTvZuMhcfoQoeUhGT6p0ePkMgDpKWYG8DURfpDRs7eVLbubDU+Ks5rkWGFiZ/VNhkWPsaIRdhf+Zu47KHUdZK4RO6+BbvEF6XxaGu/n09d1ZoBcmvRVrBz+MGKUE4uSWDUt1K0HIXpck7Fy/8ywU9tGeDdNuyS/TPRNHTlFNo33pIZ2E9op/jDbfyxTn2jsHGJDLQwbho18pVgi+JqoqmNxhsmPyjE5vES+K8Ee7B5EsLtw+QUUJT3N4DGufqTND9LyiDTtlLUbyS9jOFhKYJnlwpbAsuFtQAxmP11FY7YewbKYvsjFlxTY/ANp+wbND8vFl3TifSyTZIy+vzLeq1t+KDWtiB9gbggtt+NLZ8vmEGB5oZwzkIwRfVMnPy7Qf/h7XbeNzqdk6xFp2snw2zobxVwiMcKZ32jrI7TvF28j1UE8ARbjJcPevAxUJbcI4A2sghU9Tqy3mNF8lvFeoscB1nSy7QXZ/LysvQ+xoXlGznDpz5qZxRdkw36xOSvEsvKkp1Xz1EewVxV+XBFAl5+quuLI/PJN3PNZzAwDrzJySpseoOen0nUIw47mifcxfELFINCNL1QhFkpynHQcu5u2x0QMgGSMwWNqOHj0l9L1Hdy1IlIyriqZhA68xulfq5Wj8ynxhwDUYvgk5iLeAP4QlIhQUiBS48T78Daw/pukJpjuwzIZeI2pT7TlEWnZK4Yduwub6ya+X1ydpTmWk3gCxZHmMvF+gj14G8Sw6U2PZMknRj7L0D81NYl7Dd3fl9ZHC/tjdpBLf9ILL+rsIEDHAcK7ixw2J+HddBwoFbVg6bgCDg+l8l3u8knHWZjEH6K6kc2HpXUv//6jJoYxl5i+xMyABnew5bBse0FCD/DJikAcpmGzGAbli2ZXNUA+p6VkohyWCHXtqEXmGjYnNS3s+bmMntGxd0lNYJmMnyd+UTsPSstD7PuVWIq5yNC/WJjQyLMl953NydqNohbp6ZIldTksw47DjZXjytssTGnzHhq3yIb90rCZifc01kt6GgyyKcxlbC7Ge3X8PIlhGreUPgsQ3I4nQOYaqYmSoloOy8pj5bHb0TxTF5gdpL5LNx4UfzOd35ZgD/E+DWwSz1quRfnsDU2NYa7ohWqpM+YP03FAUOaucL3mqQxLLZIx6rvwNmJzkksz+SHxy9rxpKzfhy9EdZNkU/T9RcfOFwsbf5iOpwVuKFABw44/zJbD4m8mm+Lzt7RMUb9KGRh7l/ou6iN4G1ipI8wMA0d18kPCe8Rc0pFThYeGGNS2EdpFeI84q0nGyK7semFF9tr2Udsu7joW4/T/TeeGys27CtbEB9r+hPhCdByQC38oasz8KMmYqhZS4qmnbZ+s24q3EbUYf4+Rk5ocAxAbrlqAYI9onvglom9p/HL5aVfDMpfoP6o7fiKhXTg88vGLmv3v5V0o4oTQA3QdEk89KxV93ysa7y++92tbcddi5ZjpZ/iUzlzGXO3ZszoWMHOZwTd1w7ek8X4e/oWMnGJ2UPPLGHaq19H8sAQiBREZ72XohC4ni75OL12HRGH4lF5+pYLeyepY+SxDJ8imtG2f+MN0P0c+K2YGmxN7FQi5NLFexs5oYuQGx6paNj5DbRuLcSY/qKyfc0vPVzPDyGni/VofIbhdattwVGNlyS3hcCM2zEVNT9/gUtfOfQcJdIuVY+Q0c1dKhC5hlfUgim42sPAE2P0z8axFDHJppvtIX8VepWs6pHY9CFaOoRP0v6q32Hq4U6zr5vLR8bQ0bMLbgPGF1GdTzI8xelrH3/9fAfsqsADDga8JX4jqRhxeUZPMnC5MMj/K0vztMHHnTUrAyjE/wvwIhg0xVEHzt9ow+j9iXTcrD19S+/Qu7TTfw6rE7mFVYncp1n8AuY1j3tEIhhEAAAAASUVORK5CYII=",Fp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDI0LTAzLTAxVDIzOjI4OjA2KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7ZULmeAAABgGlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kbtLA0EQhz8TJeKDCFqIWByiVkaiQtBGMEGiEERiBF9NcnkJeRx3ERFbwTagINr4KvQv0FawFgRFEcQ6taKNhnMuCSSImWVnv/3tzLA7C7ZQSk0bjW5IZ3J60O9VlpZXFEcBOw046cERVg1tan4+QF37epJYsQeXVat+3L/WGo0ZKjQ0C0+qmp4TnhEObOY0i/eFu9RkOCp8KTykywWFHy09UuaCxYky/1ish4I+sHUIK4kajtSwmtTTwvJy+tOpDbVyH+slbbHM4oKsfTJ7MQjix4vCLNP48DDChHgPLkYZlh118t2l/DmykquK19hCZ50ESXIMiboh1WOyxkWPyUixZfX/b1+N+NhouXqbF5reTPNjABx7UMyb5vepaRbPwP4KN5lqfvYExj9Fz1e1/mNw7sDVbVWLHMD1LnS/aGE9XJLsMm3xOLxfQPsydN5Dy2q5Z5Vzzp8htC1fdQeHRzAo8c61X+6PZ6+i2ytSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG40lEQVRYhe2YfUwTaRrAO1Om2FJLpR90+VQ+lNKCrCYnsNHdI2CODwO9k2zMsUpOkkW7uIkXD4/kIurqxXiinrInJqya09NdXTkO77SLfORidFUQIbdL+JAvO9BCO7TSznTaed/3/ujJms0GOvhxuwm/PyaTt5l5fvM87/vMO8UQQoIfH/j/W+CHWdTiw6IWHxa1+PDT16qvr3e73a9P5UUC1UIIXbx4ceXKla2trRDC1+r0v3gB0tXVJZfL5XL57t27IYSBX7gAeBRRq9XK5fLu7m6SJA0Gg9PpfH3J4qEVHBxcWVl57dq1K1euREVFZWZmkiQpEAhqa2vv3r3Lsuyr9OKVW6vVqlarEUIQwnPnziUkJJjNZpPJpFAoDAbD9PT0qyoiPy2fz6dQKHw+H0KIBaC29tN31qU/fTrS2Pj3UHmoTqe7f//+K5l2/LQQQtu3b+/v70cQAQSBe2b/+vXr3tbRjPvCxQs4jkul0nv37r28GW+tO3fuVP1+L4SQI/vH3ssaJsS/1YSU/Pp9r4/dtWvXhg0bEhMTTSbTS5rx1no2M7M2Wev6urN/xfKnwiCrTuSpVrz/tuT06T87nc7Vq1fX1dUlJSX19va+US2GYd7C8f6wiFERZn83xHeUcB3Hpr9SJ8Yv7evru3XrVkZGRmtra3x8vH8KLgze70Qcx3wCxDE2aYFYls8KJL4lmYQsxVVZHfZhRVlW1nsajYaiqNLS0tLS0oW/D/g+h9frDSWE0zuXckfEzs8w0IdxNmHnsFp3JD44NfzCpb92dD5MS0tzu906ne7Ro0cLm2QL2UEggPBYFmp80p8HcQqscUhd+Df8W2YJnrrp8KE/rU5Ji4yMfPz48fXr1wsKChaWLN5aEEKEIaEeC8rGuaXBx/4j/42Jm6Bj0fguH32Y9P7s8y8+37Nnz759+xISEvLy8s6ePbsALQzx/E5kaFq/SjrYLXJiop3/knwxKAZcpMD8OwFVEOah0775iy/qRnP7V3HxcWNjYx6PJywsbGZmRiQS8YrCO1uOZ9Pr31GOA1nx1eBrA6GQWSt8cpKg8lbYR3/R/aXO4R4ZGJm0Tn6003j+/HmxWLxt27arV6/yjcI7W8dqjjHK8xdstqfOEO5ZFiSrCCZCaxte++R2GO3WFyd41kyNW8c/2Fryy82/6unpYRgmNjaWJEmCIHiE4bVAOAjD39KE712F/yEJq6gUFVmF+fDdpDvl4tMfSw8019wFHtD7bW/GukwP41GpVAghAEBycvLY2NjrWolIIKCmpydZyglCRdYPhZYKiU+4buj68vEbQaHj2z41ZH+cjhFoxYrlk1MThIjIycnp6+vDcfzMmTMHDhzgVRY+RUSCw0ePHGn/0htcgD3BcOrfYpaULmEwDPchDkeYVr+qqKgoOzu7rGx7U9M/Ozo66uvri4uLY2JisrKySJKUSCQBhgoK/AmoaeqPn3wCZNJg72d7dxvz8o7K5aolYiIIw1ngo2naYrHc+EdTTs5GiqK6u7tTU1OFQmFLS0tPT8/MzIzFYomLiws4BYEBADAajTExMSdOnPB4PAAAAMBsB4cQ+s8hhC6X69KlS2azGT4HIdTW1uZwOFwul9VqDSRcoNlCCLEsOzAw4O9AszazTrMwDKPVaru6uhoaGiwWy8TExPDwMEmSdrvd4XAEBQWNjIxoNJq5w80/txBCFovFbDZPTk7abDar1Wq32+12O0VRLpeLpmmaphmG4TiOIAiJRCKTyZRKpUqlUiqVarVaqVSGhIRIpVKz2Ww0Gk+ePLl161Ycn2epBaQVHx9PEIRGo5FIJFKpVK1Wq1QqhUKhUCg0Go3/KJfLCYLAMOy7Wz8/hxC2tLTs2LGjurq6pKRk7nDfRZ2Xurq6srIyr9fLcdz3dgTwh+A4zv8rx3EAgIqKimXLlg0MDMyOz8v8fQshFB4efvny5TVr1hw/fnx2fGJiIjc3V6fTlZeXu1wu/6Db7TYajSkpKRs3bhwdHb1582ZGRgbLsuXl5QaDIT09va2t7RVki2XZpqamiIiI1tbWqakpvV5fVVXlcrmGh4ejo6Nramo4jtuyZUt+fr7FYrFarZs2bdq8ebPX6z116pRMJpNKpQ0NDQcPHtRqtTabrb29PTIysrGx0ePxzB13Li0IYWFhoV6v7+/v91fH6XQWFRUlJiYqFIrbt28DAPzqhw4dio6OjoqK2r9/P03T/vK1tbWFhIQkJycXFhY6HA6EEABgaGgoJSUlNzf3pbQ6OjooinpxEADQ3Nw8ODiInjcIP52dnQ8fPvzeHYaGhkwm04sdDiFEUdSDBw/m1uK9g3gz/PT/dnuTLGrxYVGLD4tafPiRav0X47gQyEklwQsAAAAASUVORK5CYII=",Bp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAD7NJREFUeF7tncuuHLcRhtl+CGXjjXYJ4Ky9tKRsrctSWdsvETiAJMABkn2QV4iWunjvo2eIn8cTsGc40zPTzSqSVcVL/wcwLGnYvBTrO38VyWFPDj9qFjh8/+rJXPlX7vh//3M4fLfR4KXMpcDDVdlp+nL199/dw/TLh+syaqPZZ8XTPoctO+orEC4ArDm8bMPXtR1BCRABHhFbA5BEM55hmA5vTo9ag5DY4xmadzM7nz68TX94308AEGL+uwSC8mkAQ1no/DkAWTHVDEVPCsGe7tWCDyEsg8Lc2weAhNx5X1BsIzVN7wDKxTy7B2ShFu3nEmVKkfr0rCx7h2WXgACKRFZ2nLPsChCAkQjGWvGdhWC7AOTw4tXb0wYdwigBRk77LbvIVYYG5ARG2K+Qcg3Us7TA4IoyJCAAowLDg4IyFCAAowIYt00OBsoQgCD5bgCMQUHpHpDD85e/Orc4Ldugr+y2SwOoSbeAIJzqCLuOQekOEIRTHYFx3dUud+a7AgSq0S0ci8NNfZ316gIQqMYAYNyoyfT549MeRtU8ICc4fCKOn9Es0EFu0jQgCKlGI2JlPI1D0iQgCKl2AEYnIVdzgCCk2h0cTSfwTQGCkGrHcIShNxZyNQMI4AAcZws0BEkTgAAOwHFngUYgqQ4I4AAcmxZoAJKqgOCgIeBgWOCh5qZiNUAAB8M1UCRYoBokVQABHPD8DAtUgcQcEMCR4Rp4pJqSmAICOODpAhYwVRIzQLBaJeAaqOJoAcPVLRNAAAc8W9wCRpCoAwI4xF0DFRoeS1EFBHDAl9UtoKwkaoAADnXXQAPBAofpqda7GvUAef7ygBmEBcwsoASJCiBYzjVzCzR0sYDK8q84IAit4LPVLKCQj4gCAjiquQYaVspHZAFB3gFHbcECgvmIGCDIO1rwDPThZAGxfEQEEIRWcMzmLCCUjxQDAjiacw10SDAfKQcErx+AQ7ZrgeJQqwgQqEe7noGenSxQGGqVAYJVK/hhBxaYPn/M9vPsB6EeHXgGuhgskB1qZQECOOB53Vkgc28kDxCEVt35BzrsslQkGRCoB1ytWwtkJOzpgEA9uvUPdNy51IQ9CRCoB1ysewskqkgaIFCP7v0DA0hTETYgUA+41jAWSFARPiBQj2H8Yx7IX19fxvPNN8c///bb5f//O/15rFGfR8PNRViAQD0G8RIPxRIMalgekvfvnRsRFqaK8ACBelCu1PbnqWDcjmZMUFj7IiQgUI+2fT/au1Iwbiv/73vn/H+j/DB212lAoB59uoM0HMEKXk1++nufNrnvNakiUUCgHp36gRYcI0JCqAgA6ZSBzW6nwuEVwa9ehZWsP59WtCi7jBNuRVUkDgjCK8pN2vrcO/c/fqb75J3bQ7G1OuXref3aOQqWQSCJLfluAoLwivaz5kp4OGJOnerQHDVKrbM5oznnImHWNiD4rnmLU7ndJ8qZcx2ZUpPcetuy7maYFQMEl0+3NYnx3nz6sP25hBNr11/b1hsqsgoIwqvas5XYfiz3kFqWjSmUBICJQ1Yovqoi64AgOVewv2KVsdzD71lIHRWJQfLileIATarmAQL1MJkM2Ua2wh8p9Qi9jSnVCCqyEmbdKQgAkfVd9dpiTiupHmEgWzCOAIi7/976PSBYvVL36bsGqP2GWI8eP3buxx/WS2gAshXOSauV/Sz4Fu/CrDVAsHqlPTk+lvc71yVgcPqokRds5SFjAHK3J3IFCMIrjtcVlKH2KgqqvntUy2EByOGN5DyhrpMFLOEIRtdQkLFDrLsw61pBsLyrw3MNOPxIkIPkzOdVHgJAckyY8gz3AGFKndyyGitLY69iHS27WO49A4L8g+t1ieWoA4SJ1SUVlwbEekk5abCChQGIoDGpqmJnmKhnJT6XDLNisGvkOxLjz6vjHGZdFAT5R54pY09xwiuJYyB/eOTco0fbPZFw3lgepbViJj8j3BoBCNdSReUoQCRDIM3TttQ4JFWqyOByD4cvUc0Kcvj+1RM3HX6Vqx41zRagVq8kHYtqKxdGqt7x1OMqUT8C8uLVW3fA/oc41pRzSQLiO08tCKTeb0X137cpPQbxScis8JSoA5BM+7EeoxxM2rmoUCh0OgaKr8Mfg+HcwJirSizjVS50unnxCMgoBxTD5N7aNtw5K5EQp8ybNSCcsO62/0ubpJwNGxmOo43mRL1/QMJvOs5vvOAMVvfN1gAkB5IU6H3ZUfOOaztcAdLfCV7K+ahJT43HqfrWPqf6KB1iLfvADbdSxzW+cpwt4leygoL0A4j0xGtOeE1A/DRTN5IAjrgFfKLe1RIv5XCpEx7Ka0FC9VdTQSTVRMs+ufNl9dwMSC9LvJSzlRpNI66m+mwFSLBNiqKEK0lHus091Uf8SlYXgOSEVSEhr7ky0xogt6ri/x7u5A2fxa4kTXWw3st3AQgXjth9swES6/tmWwakd+e16H8XgPS8OwxALNxYs42HqelNQko9cpNHKhbPrfd2qgCIpvNa1N04IDH1KHViLfiW0wZALJxYs42GARnhvlkAoum8FnU3DIjVfbOa35IDIBZOrNnGDEibu+hW983GnLg0jAMgms5rUXejgFhfDqB1UwcAsXBi1TbaVBBrQP71T+f+9Md7Q0NBVJ2vh8r7A0TiAoLbmfnpb859+639fFkfNbEfYfcttgmI9f2vAKR7R9YaQJsbhbHYXUNB/vNv577+WsvG2/VCQextnthim4BY5yAAJNFtdlO80X0Q61d91br9EArSOmmNAuLNprX0ejsl1JETzSkEIJrWlai7YUCs8hBqx77EzH955tyzZ8hBSmxY99lOAZH69p/2fbPYKKzr3qWtN/99kN7vmwUgpS5a9/nmAaEcLHenm/o+iIVC+alHDlIXAKr15gGJJethcKnOTEEn6bhUWwCEctG6n8+AtH6zO3eVyTub/9m6XpR752yuKq1NJQCp6+ClrXdzLxblaLeGCFfW+H/nXEmaq0bUBFD9hoJQFqz6eV83K1LOVmrK1FCN0x7VZwDCsWK1MktA/MtznlTrCbdhyuG49dyWkwyrlnVT/QUguTNm8Vynt7tzcxKuCbXgCOFdLMSrDcjapXrWr4jgzpN9uQUgvVw/mvLbmTJouFJT82rNFhXE98nfphi7cdL6NRHUXNX4/OoFOq2vZG0ZKOxn+M+5V4xagBH62xIgVF+2bGzxmogaAFBtDgHIcpABEP/bcXnfbHi7lC+rqRZrBqec0iLEovpAOUr4fG+gLN9R6G3Q7O0m3AlssRzlnNqAUNe25thMM2fL6Y/SM1evgT4B0sdKlpJBVKqtBYj0QobVqp/KJORVCkDy7Jb2VA1AtOEIFhhZSU75hx/q/Aq2WUF6TdTTXNa2dA1AOGHV8qTBMi8Lx3GoVa7RIQEgRpxYA8KBg/ubnzrxHEyocYmG0fRsNRPCqysFQR6iMCuWgFChFReMWzNQY8itV8HcUlUCEClLUvVYOldMPUrPmVHjGElFFuHVvYIgD6FcPu1z6re6r22ZD6TVfin96JFz/vvvWz8Sy8kxSEZSEQCS64WZz9W6UkgjkY6NZRAVWYZXdwqCPCQTgthjNQEpDa1S8hEJlVIwf2KV8wHF5TPnZd7wj02/szBxtE0Up+J3zU5qOK3VfWWadtmq+ya8WlcQ5CHyU1MLEgCSNpccQBBmpdmUXZqzR8GujFlQIy/Ygl06nGMOUbLYbf6xqiAARNLkN3VZKomWw44KyIp6bAOCMEuPEu4OtUQPoCBsK66pxyYgUBG2XcsKcr/kFWvl8WPnfvxhvYQGIFuhopZilVmY+/Td6lV48G4VK3yAw4tc21Yu18qrInoGZCO8iirISUXafEV0ZZ9srnmrpVfrFxsZGXorvOIAgi9RGU1SUTOxFTLJMCu2yKCxpFxkFObDEfWgAUGyzrRy5WIW56Ri6jFoeEUCgmS9suOnNK/5qgjfD+pFQ53epxULr3iAQEVS3LReWWqPpSQEitU9sHqwAIGK1PP55Japg5Gpx9Ip6HwHS8BLHqDsA5R68AHp8eZFWVv2URvHobn3W3HrCq+d6MNCl14SyXkouLkPcjte3JvViQdwHDsMJXxZy1+uFy7b417Y0HNo5W8r+fyR5fusQnOYBRXphJDTO1Fil2ZLjKTj0Mox1YMdYgV7QkUkPMuojhQlSe1Sz3AkqEc6IFCRVFeqW14aks7DqnkyEtQjGZDTihaOn9R1+7TWpU4Pp66ApfXSrDQ390hO0s9hFlTEbDJFG8oFZRAwctQjS0FOKoIzWqLea1hZOGL/+vWl0fBvYTfcr2r5/zrdHd+yZqp65AOC3XVDj0ZTIhZIzD2yQ6zFihZURGTmUIm6BTLhyFaQBSRI2NVnFw2UWiAntCpWkDkXQcJeOnd4XtsCBepRrCBI2LVnF/UXWmDzu+bcetlHTbYqxHfXuaZGOXMLFKqHiIIg1DKfdjTIsYAAHGKAINTizBjKGFqgOLQSSdKXA0aoZTj9aCpqgZJVq9uKi3MQQAJvbcoCQqGVuIKECrH025S77KszwnCI5iBXSvL8JXbZ9+WaLYxWLO9YDkY0xDqrCM5qteAwu+qDZN6hDsi8qgVIduWgVQerEFqp5SBXoRaOolT1m100rgiHWg4CSHbhmvUHqQyHCSBzuAUlqe9Mo/XAAA4zQADJaN5ZeTxGcJgCMkOC5d/KnjVE8yrLuVuWUVnmjU0DIBnCSWsNwhQOcwU575NASWo5WM/tmsNRDRCEWz37aZW+V4GjKiCApIqj9dhoNTiqA4LVrR791bDPhqtVzSTpax3BPomh0/XSVANwNKEg58Qdm4m9uK5+PxuBoylAEG7p+10XLTQER3OAAJIuXFivk4fp6fTLhwe9BtJrNt8o5HYRG4pcSw1R7sEdpnetwdGkgiynG8n7EM4fH0RjIdVtZ5tVECTvO4CjwZCqO0DOoOB4ykjENBtSdQsIEvhB+Gg8pOoakAUk3znnngziMnsZRjeqsZyQ5nOQLe9BAt8RV52pxhCAIInvApCqBw0lLNStgmA5WGL61eroMpxas8YQgEBN1Bw9veKOw6nhAQEo6f4s9sRgYAS7DKUgt5ONRF7M/bcrGhSMXQACRVED5MFN05fp04e3ai00UvHQCgJFEfeyYZJvrmV2BciVovi/HA5vuIbaebndgbGrECvm3Kc8BTvz90baLRRLU+xSQbaAQVLvjl9WavS7GTVUHICsWH0G5RiC7UFZAEWEPADC+LW0AGaEnOUMhB96i9/iY0yJWREAkmHqzoABEBlzjCS9wGh3y8f+dXNfnY7fH8My/2N9HP8IwjR9cb8fcwmoQ/kkQ0HKbRitYX5XY4AnlLxAFP5lDab12z08AOEHICjPnnP/B6B0AiOP7uzBAAAAAElFTkSuQmCC",Gp=""+new URL("network-0f22586e.png",import.meta.url).href,Yp=""+new URL("sdxl-7c167940.png",import.meta.url).href,qp=""+new URL("suno-e14fd81c.ico",import.meta.url).href,Vp=""+new URL("tencentlogo-358d1ec1.png",import.meta.url).href,Hp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAxOjEzOjIyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7O8zxmAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAY2SURBVGiB7dl9jFRnFQbw351dGKCwUJuO/WAp/XSLQFtpdYwZU5I2Wok1bNOq2ND6ERONVkO1KjE0pmpqsdpEbTQaq8ZUbQJ+BZtq8CODcRItqdriChZCIwoDkuVjdzs7O3P9471blmXu9s7u8odxn+RmMnfO+97nueec95z3HWYwgxnM4H8J0dl+QDVyDa7EjkLs4Nl6Tu5sTTwGnfgYNlQjF1Wjs/Pypl1IqVKLSpXaeLI53IsNnB0x0yqkVKnlUMC5Kc/aIHjn4ukWM21CEhFL8H7cmGIW4SO4D93TKWZahJQqtQ5cKrzxOzBrAvMIH8InTKOYzqlOkIi4XCB3N46jY4xJs8WwCB9Inv957J8qjyl5JBFxBe7Bu7EAXegak/AnMNxieCSE4aZq5NKp8GAKQkqVWieuEkTcjfnJT/NxIc5Jvv8bVYykTPUefKYauWqyXJikkHEi7nKKNOFNX41uKMQG8EccnWDKO3F/NbJsMnyYhJAxIj7qTBGjuA49yUoGv8AeNFKmjYRFYlM1sqJdTrQpJCHWLXjiTsxNMV2KNwg1BZ7FEziIOGVMJ9ZiYzVyRTu8aN8jC7Ee75IuYpTULbihVKnNKsQa+AG+hyPSxczGW/HhamRRO8QyCylVarOFt/xepxJ7IrwKtwv1RSF2GI/iEeyWHmbnJON6s3KjPY+cJyyX3RntO/AW3Faq1M6HQuyfgpiN+A6e19o752N9NXJZVnKZqmqpUpuFNfi+1sk9Ef6Bz2FLuZg/AUk1X4qVWJFcVybXqLcP48FC7EtZHpJVyEJ8TciN8WjgOQyimDLFXwQx28rF/MDYH6qR+ViMCwRvr8JNwsr4a6wrxBMu3cgeWufi5pTf9uEbeAx7U2xWCOH0tlKldppHC7GTy9f2LV6+tu+FXYte/TgeElr+7wqF9bosBLMKWSbE7Xg08Gf8GD/HFqHXGo9ICKNNWDdeDFbj23es3rJ5+dq+JfvnX7IdX8SPcE0WglmFrNA6DI/iaRxKrsfwM9Ra2EbCSvYprEz6tFE8gzcKK+JX1tz81L23r956EFuFFudlkVXI0pT7R7C7XMw3y8V8U6jeX8Y2rRvF0bl6nV6HdiSfXXgN7vnbomWbPn7Dw1X8MgvBrELSitOgIAaUi/kR/BUP4CcYajEmSsjmx9w7PMY2J+TG259cvOYuE/doLyGrkLTVLTZuv1Eu5utCS7JRqOTHWowbv/FqOr2eRIKY25av7bskC8GsQlolMCE8ztifJ57Zh834U4txz6E+5vsizGvB7WK8LgvBrEIOpNx/Ba0bvCRn+p2Z+AP4YfI5itdq7fW5uCgLwaxb3WdT7hewqlSpLRit2lCq1LpwidBgrhpjP4xPY2e5mB/ba61Lmb/pdM+lIqtHnhYSezw6cC3eNO7+oHCicrWQ1MfxK9yKr48VXejtuxzvSHnugBCiL4usHjmG7UKLPR49eGepUtuJfeViPk5yZFtypaLQ2zdH6ApanbrEQm36QxaCWT0yGtetWu8c3oz7xBYXnzrZ0cLmNBR6+6JCb1+X0NLfmGLWj+3VrT3Tt/yWi/lh/E7Ye7fCPKyPm/EXiFYte+TQggvX7T5DUKG3L1fo7ZsvNITfFA4eWglvCkdEj2fhRxun8aVKLS/E+LeECnwmYkYGGnsG9w89MbB36MmhAy8eqB8fGU3WTmFxuCUR0C39RR7B5urWnoey8mvrlC/ZIN0v9ERz0uwaQw0n9wwOntg9+MLwf4YPjgw04ngkvkBoTybaIos6oxc1bYub8fuqW3v6s3JrV0gkhMXDwp4hP5H9yImGgX2DBvYNqffXNWpNcT0WN2LxaD8QEeUiuVmRXD430jG34/cdc3IffP7B7l3tcGv73DXpWq/FZ1GSYccYN2P1/hHDR+tx/VhdY6AZNevNOI5FuY4o7pib09nVWZ993uxKvjD7kzten8+0Uk1JCC+JWSkcWt+EV052rgT9+C0eKBfzOyczwaQfnoTZEmH7e6tQTxa2Oc0Qdgmt+lfLxfy/Jstnykf6pUptHq4XiuX1uEzwUFr+1IVCt1fYXf4Uv0l6s0lj2v5oSbavPYKYHuEwocup1a0mtCqH8HehK34mqVEzmMEMZvB/hv8CkprPZL58AJQAAAAASUVORK5CYII=",zp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjI4OjA1KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz56A23nAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAV7SURBVGiB7ZldbBRVFMd/d3a37RYGho8aW6VIMUJMCdaga1CBATQKimgkSogkLMRo0AdUDEZM1FR9ABONxoAxo4mKhMT4UNOgESb4EZ0ooMADn5HPoKgwZdrSbmd3fJjdcrvt7sz2423/yc3mnnvvuec/M/fcc85CGWWUUUYZZZSBGOkNNN2pBKYBjcDNQDdwHjgF/GCbatdw7DPsRDTdiQDLgSX4xt8ERApM7wC+Ad61TfX7oew7bEQ03VGAZcCrwPRBqPgceN421b8Hs/+QiWi6I4ClwGvAjCGqOw7cbZvqX6UuHBIRTXemADuAWQWmnAQOAoeyv4eBWuBWoAm4A6jLW3MImGOb6qVSbBk0EU13pgPfAdcNMLwH2Gib6o8BOuLAFmBl3tBm21TXl2LPoIhoutOEf0hr8oZ+Bl4Bdtum6oXUJYC1wDtcdQpdQINtqufD2lQyEU13ZgOtwFhJfBl4AmiZNmV0BTAFuBGYmm0TgdP4Z+BEtp21DJGR9H4GrJB0brRN9Y0RIaLpznygBaiWxP+OGRVdXXtN1X3AA/ifmhJCXTc+sU+ArUf+bJ8DfC2Nt9imuiSsbaGJaLozGjiKf1hz+Ke+Nr4/XhVZSDjjC6Etk/E+PHaqYw0wLis7b5tqviMoiGgJm72ARCISEV2T6+I1sahyb4i1bsBeYxVFrK+sULzuVO/XVl1kfj+EIqLpTh3Qx4vU18arYtF+L+Es8C3+GZDPQxu+m50qtWnAYiCeW9zjevIX4pbAI/QbaUZ6QuPGxKiI9SFxENgEbLcM0VNAx7ls6w1FEkmvBngGWOumvQmZzFVHF4mIkj7VwDOi6c4twL7cXEURNEyqJqIIgD+ADZYhdpayaT4SSa/6Uluq+cLF1LqcLF4VOVBfG58PjLIMcTpIRxjWq5EIT9QqciR+A+YNlQSAZYjOCxdTqiyrjCl78SOGzWF0hCEyT+5oY2IAe4F7LEPYoSwNgKY7M/EfmG+UwFMivAUkgGWJpKcH6ShKRNOd8fihOACxmIIQtDG8JATwNtJbVxTxZs24yrPAU1nRuoHWygh6IxPlTkVUAOy0DFFSQBeARcACqX/STXvNwJNcdfdNQUqCiMTlTtZTtYS3sTg03WkEPsoTb8hmjfLFe30i6U0opiuISLpPx3ePe0PaWRSa7tyGHyVfK4l/wU8LAP7LW9JQTF8QkSNA773Q3pnGTXsLw5laGJruzAV2AeMlsQ08LUXNC/KWFXXBRYnYptqjKBzL9TMZj/YOd1V4k/tD052lwE5AdrcXgLm2qf4OkEh6o+jrLdssQxRNgQPdr+exRe5fupxqaljaNTek3b3QdGe2pju7gK+AKmnoDH56e0CSrQQqpX5rkP4wRLYqCr2uNtXjCdvp2V13f2d+VjcgNN2ZpelOK/ATMD9v+Dhwl22qR3OCRNJ7HHgvb96moH1ChfE197Qv73G9bflyRaE1k2EPfgizH/88NWbbDHy3eWcBtfuAxXKhIZH0HsOvpsjloy8tQzw6LEQA6hZ1NndeSb8cdn4RHMOvuGy3TTUNkEh6DcBz+BegTOIIcLtliMtBSkvKEG94qOt9p91dm86ESsfzcRJ4HfjUNlUXIJH0ZgEvAo/Qv4h3DlhoGeJwGOUl5+wzV7gPtrW7O5wOtyqdDiSUUgQnolFl26Taql+jEWUyffORxgLrLOBhyxAjV3wASCS9es/zXrrSnVl1pStd6aY9XNdDCKisUHrbAIlXEM7gV1M+sAxRUk14SAW6bGL0LH45Z3zA9GI4hO+ZviiSmBXFsNR+sxfYGvwAcCowmeLZZwd+CnwU+NgyROA9EYQR+VshkfSi+GTkutYpsjm8ZYiSa7tllFFGGWWUUUYI/A/6RZ4aHhranwAAAABJRU5ErkJggg==",Wp=["src"],Kp={key:1,class:"select-none inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm bg-[#19C37D] text-white font-medium"},Qp=["src"],$p=["src"],Zp=["src"],Xp=["src"],Jp={key:4,class:"select-none inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm bg-[#AB68FF] text-white font-medium"},jp=Ue({__name:"Avatar",props:{image:{type:Boolean},model:{},modelAvatar:{}},setup(t){const e=t,n=Ze(),r=H(()=>{var l,c,_,d,u,p,E,g,f,S,T,v,I,N,m;if((l=e.model)!=null&&l.includes("gpt"))return Up;if((c=e.model)!=null&&c.includes("dall-e"))return kp;if((_=e.model)!=null&&_.includes("midjourney"))return Fp;if((d=e.model)!=null&&d.includes("gemini"))return Pp;if((u=e.model)!=null&&u.includes("360"))return xp;if((p=e.model)!=null&&p.includes("qwen"))return Lp;if((E=e.model)!=null&&E.includes("ERNIE"))return Mp;if((g=e.model)!=null&&g.includes("claude"))return wp;if((f=e.model)!=null&&f.includes("hunyuan"))return Vp;if((S=e.model)!=null&&S.includes("SparkDesk"))return Hp;if((T=e.model)!=null&&T.includes("glm"))return zp;if((v=e.model)!=null&&v.includes("suno"))return qp;if((I=e.model)!=null&&I.includes("network"))return Gp;if((N=e.model)!=null&&N.includes("mindmap"))return Bp;if((m=e.model)!=null&&m.includes("stable-diffusion"))return Yp}),i=Dt(),a=H(()=>i.userInfo.avatar),s=H(()=>{var c;return((c=o.value)==null?void 0:c.appLogo)||i.globalConfig.robotAvatar}),o=H(()=>n.groupList.find(l=>l.uuid===n.active));return(l,c)=>{const _=ep("CpuChipIcon");return l.image?(y(),w(De,{key:0},[O(un)(a.value)&&a.value.length>0?(y(),w("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:a.value,alt:"User Avatar"},null,8,Wp)):(y(),w("span",Kp," 我 "))],64)):(y(),w(De,{key:1},[O(un)(l.modelAvatar)&&l.modelAvatar.length>0?(y(),w("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:l.modelAvatar,alt:"Robot Avatar"},null,8,Qp)):O(un)(s.value)&&s.value.length>0?(y(),w("img",{key:1,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:s.value,alt:"Robot Avatar"},null,8,$p)):r.value?(y(),w("img",{key:2,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:r.value,alt:"Robot Avatar"},null,8,Zp)):O(un)(s.value)&&s.value.length>0?(y(),w("img",{key:3,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 border-solid shadow-sm",src:s.value,alt:"Robot Avatar"},null,8,Xp)):(y(),w("span",Jp,[rt(" AI "),M(_,{class:"text-xs font-small leading-none text-white p-1"})]))],64))}}});var kn=lp();function ts(t,e){var n,r,i=t.posMax,a=!0,s=!0;return n=e>0?t.src.charCodeAt(e-1):-1,r=e+1<=i?t.src.charCodeAt(e+1):-1,(n===32||n===9||r>=48&&r<=57)&&(s=!1),(r===32||r===9)&&(a=!1),{can_open:a,can_close:s}}function em(t,e){var n,r,i,a,s;if(t.src[t.pos]!=="$")return!1;if(a=ts(t,t.pos),!a.can_open)return e||(t.pending+="$"),t.pos+=1,!0;for(n=t.pos+1,r=n;(r=t.src.indexOf("$",r))!==-1;){for(s=r-1;t.src[s]==="\\";)s-=1;if((r-s)%2==1)break;r+=1}return r===-1?(e||(t.pending+="$"),t.pos=n,!0):r-n===0?(e||(t.pending+="$$"),t.pos=n+1,!0):(a=ts(t,r),a.can_close?(e||(i=t.push("math_inline","math",0),i.markup="$",i.content=t.src.slice(n,r)),t.pos=r+1,!0):(e||(t.pending+="$"),t.pos=n,!0))}function tm(t,e,n,r){var i,a,s,o,l=!1,c,_=t.bMarks[e]+t.tShift[e],d=t.eMarks[e];if(_+2>d||t.src.slice(_,_+2)!=="$$")return!1;if(_+=2,i=t.src.slice(_,d),r)return!0;for(i.trim().slice(-2)==="$$"&&(i=i.trim().slice(0,-2),l=!0),s=e;!l&&(s++,!(s>=n||(_=t.bMarks[s]+t.tShift[s],d=t.eMarks[s],_/g,">").replace(/"/g,""").replace(/'/g,"'")}var nm=function(e,n){n=n||{},n.katex&&(kn=n.katex),n.blockClass||(n.blockClass="");var r=function(o){n.displayMode=!1;try{return kn.renderToString(o,n)}catch(l){return n.throwOnError&&console.log(l),`${mn(o)}`}},i=function(o,l){return r(o[l].content)},a=function(o){n.displayMode=!0;try{return`

    `+kn.renderToString(o,n)+"

    "}catch(l){return n.throwOnError&&console.log(l),`

    ${mn(o)}

    `}},s=function(o,l){return a(o[l].content)+` -`};e.inline.ruler.after("escape","math_inline",em),e.block.ruler.after("blockquote","math_block",tm,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=i,e.renderer.rules.math_block=s};const Wt=Rn(nm);function Md(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Md(n)}),t}class ns{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function wd(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function mt(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const rm="
    ",rs=t=>!!t.scope,am=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};class im{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=wd(e)}openNode(e){if(!rs(e))return;const n=am(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){rs(e)&&(this.buffer+=rm)}value(){return this.buffer}span(e){this.buffer+=``}}const as=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Lo{constructor(){this.rootNode=as(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=as({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Lo._collapse(n)}))}}class om extends Lo{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new im(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Bt(t){return t?typeof t=="string"?t:t.source:null}function kd(t){return Rt("(?=",t,")")}function sm(t){return Rt("(?:",t,")*")}function lm(t){return Rt("(?:",t,")?")}function Rt(...t){return t.map(n=>Bt(n)).join("")}function cm(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Mo(...t){return"("+(cm(t).capture?"":"?:")+t.map(r=>Bt(r)).join("|")+")"}function Pd(t){return new RegExp(t.toString()+"|").exec("").length-1}function _m(t,e){const n=t&&t.exec(e);return n&&n.index===0}const dm=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function wo(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const i=n;let a=Bt(r),s="";for(;a.length>0;){const o=dm.exec(a);if(!o){s+=a;break}s+=a.substring(0,o.index),a=a.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+i):(s+=o[0],o[0]==="("&&n++)}return s}).map(r=>`(${r})`).join(e)}const um=/\b\B/,Ud="[a-zA-Z]\\w*",ko="[a-zA-Z_]\\w*",Fd="\\b\\d+(\\.\\d+)?",Bd="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Gd="\\b(0b[01]+)",pm="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",mm=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Rt(e,/.*\b/,t.binary,/\b.*/)),mt({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},Gt={begin:"\\\\[\\s\\S]",relevance:0},gm={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Gt]},Em={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Gt]},Sm={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},vn=function(t,e,n={}){const r=mt({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=Mo("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Rt(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},fm=vn("//","$"),bm=vn("/\\*","\\*/"),Tm=vn("#","$"),Cm={scope:"number",begin:Fd,relevance:0},hm={scope:"number",begin:Bd,relevance:0},Rm={scope:"number",begin:Gd,relevance:0},vm={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Gt,{begin:/\[/,end:/\]/,relevance:0,contains:[Gt]}]},Nm={scope:"title",begin:Ud,relevance:0},Am={scope:"title",begin:ko,relevance:0},Im={begin:"\\.\\s*"+ko,relevance:0},Om=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var gn=Object.freeze({__proto__:null,APOS_STRING_MODE:gm,BACKSLASH_ESCAPE:Gt,BINARY_NUMBER_MODE:Rm,BINARY_NUMBER_RE:Gd,COMMENT:vn,C_BLOCK_COMMENT_MODE:bm,C_LINE_COMMENT_MODE:fm,C_NUMBER_MODE:hm,C_NUMBER_RE:Bd,END_SAME_AS_BEGIN:Om,HASH_COMMENT_MODE:Tm,IDENT_RE:Ud,MATCH_NOTHING_RE:um,METHOD_GUARD:Im,NUMBER_MODE:Cm,NUMBER_RE:Fd,PHRASAL_WORDS_MODE:Sm,QUOTE_STRING_MODE:Em,REGEXP_MODE:vm,RE_STARTERS_RE:pm,SHEBANG:mm,TITLE_MODE:Nm,UNDERSCORE_IDENT_RE:ko,UNDERSCORE_TITLE_MODE:Am});function ym(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Dm(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function xm(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=ym,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Lm(t,e){Array.isArray(t.illegal)&&(t.illegal=Mo(...t.illegal))}function Mm(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function wm(t,e){t.relevance===void 0&&(t.relevance=1)}const km=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=Rt(n.beforeMatch,kd(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Pm=["of","and","for","in","not","or","if","then","parent","list","value"],Um="keyword";function Yd(t,e,n=Um){const r=Object.create(null);return typeof t=="string"?i(n,t.split(" ")):Array.isArray(t)?i(n,t):Object.keys(t).forEach(function(a){Object.assign(r,Yd(t[a],e,a))}),r;function i(a,s){e&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");r[l[0]]=[a,Fm(l[0],l[1])]})}}function Fm(t,e){return e?Number(e):Bm(t)?0:1}function Bm(t){return Pm.includes(t.toLowerCase())}const is={},Tt=t=>{console.error(t)},os=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Nt=(t,e)=>{is[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),is[`${t}/${e}`]=!0)},bn=new Error;function qd(t,e,{key:n}){let r=0;const i=t[n],a={},s={};for(let o=1;o<=e.length;o++)s[o+r]=i[o],a[o+r]=!0,r+=Pd(e[o-1]);t[n]=s,t[n]._emit=a,t[n]._multi=!0}function Gm(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Tt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),bn;if(typeof t.beginScope!="object"||t.beginScope===null)throw Tt("beginScope must be object"),bn;qd(t,t.begin,{key:"beginScope"}),t.begin=wo(t.begin,{joinWith:""})}}function Ym(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Tt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),bn;if(typeof t.endScope!="object"||t.endScope===null)throw Tt("endScope must be object"),bn;qd(t,t.end,{key:"endScope"}),t.end=wo(t.end,{joinWith:""})}}function qm(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Vm(t){qm(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Gm(t),Ym(t)}function Hm(t){function e(s,o){return new RegExp(Bt(s),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(o?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=Pd(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=e(wo(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const c=l.findIndex((d,u)=>u>0&&d!==void 0),_=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,_)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new n;return this.rules.slice(o).forEach(([c,_])=>l.addRule(c,_)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(o);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const _=this.getMatcher(0);_.lastIndex=this.lastIndex+1,c=_.exec(o)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(s){const o=new r;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function a(s,o){const l=s;if(s.isCompiled)return l;[Dm,Mm,Vm,km].forEach(_=>_(s,o)),t.compilerExtensions.forEach(_=>_(s,o)),s.__beforeBegin=null,[xm,Lm,wm].forEach(_=>_(s,o)),s.isCompiled=!0;let c=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),c=s.keywords.$pattern,delete s.keywords.$pattern),c=c||/\w+/,s.keywords&&(s.keywords=Yd(s.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Bt(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(_){return zm(_==="self"?s:_)})),s.contains.forEach(function(_){a(_,l)}),s.starts&&a(s.starts,o),l.matcher=i(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=mt(t.classNameAliases||{}),a(t)}function Vd(t){return t?t.endsWithParent||Vd(t.starts):!1}function zm(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return mt(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Vd(t)?mt(t,{starts:t.starts?mt(t.starts):null}):Object.isFrozen(t)?mt(t):t}var Wm="11.9.0";class Km extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Pn=wd,ss=mt,ls=Symbol("nomatch"),Qm=7,Hd=function(t){const e=Object.create(null),n=Object.create(null),r=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:om};function l(R){return o.noHighlightRe.test(R)}function c(R){let x=R.className+" ";x+=R.parentNode?R.parentNode.className:"";const Q=o.languageDetectRe.exec(x);if(Q){const ae=L(Q[1]);return ae||(os(a.replace("{}",Q[1])),os("Falling back to no-highlight mode for this block.",R)),ae?Q[1]:"no-highlight"}return x.split(/\s+/).find(ae=>l(ae)||L(ae))}function _(R,x,Q){let ae="",_e="";typeof x=="object"?(ae=R,Q=x.ignoreIllegals,_e=x.language):(Nt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Nt("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),_e=R,ae=x),Q===void 0&&(Q=!0);const G={code:ae,language:_e};V("before:highlight",G);const q=G.result?G.result:d(G.language,G.code,Q);return q.code=G.code,V("after:highlight",q),q}function d(R,x,Q,ae){const _e=Object.create(null);function G(z,B){return z.keywords[B]}function q(){if(!te.keywords){he.addText(me);return}let z=0;te.keywordPatternRe.lastIndex=0;let B=te.keywordPatternRe.exec(me),oe="";for(;B;){oe+=me.substring(z,B.index);const ue=Ae.case_insensitive?B[0].toLowerCase():B[0],ve=G(te,ue);if(ve){const[Oe,lt]=ve;if(he.addText(oe),oe="",_e[ue]=(_e[ue]||0)+1,_e[ue]<=Qm&&(qe+=lt),Oe.startsWith("_"))oe+=B[0];else{const tt=Ae.classNameAliases[Oe]||Oe;ie(B[0],tt)}}else oe+=B[0];z=te.keywordPatternRe.lastIndex,B=te.keywordPatternRe.exec(me)}oe+=me.substring(z),he.addText(oe)}function re(){if(me==="")return;let z=null;if(typeof te.subLanguage=="string"){if(!e[te.subLanguage]){he.addText(me);return}z=d(te.subLanguage,me,!0,We[te.subLanguage]),We[te.subLanguage]=z._top}else z=p(me,te.subLanguage.length?te.subLanguage:null);te.relevance>0&&(qe+=z.relevance),he.__addSublanguage(z._emitter,z.language)}function j(){te.subLanguage!=null?re():q(),me=""}function ie(z,B){z!==""&&(he.startScope(B),he.addText(z),he.endScope())}function Se(z,B){let oe=1;const ue=B.length-1;for(;oe<=ue;){if(!z._emit[oe]){oe++;continue}const ve=Ae.classNameAliases[z[oe]]||z[oe],Oe=B[oe];ve?ie(Oe,ve):(me=Oe,q(),me=""),oe++}}function pe(z,B){return z.scope&&typeof z.scope=="string"&&he.openNode(Ae.classNameAliases[z.scope]||z.scope),z.beginScope&&(z.beginScope._wrap?(ie(me,Ae.classNameAliases[z.beginScope._wrap]||z.beginScope._wrap),me=""):z.beginScope._multi&&(Se(z.beginScope,B),me="")),te=Object.create(z,{parent:{value:te}}),te}function $(z,B,oe){let ue=_m(z.endRe,oe);if(ue){if(z["on:end"]){const ve=new ns(z);z["on:end"](B,ve),ve.isMatchIgnored&&(ue=!1)}if(ue){for(;z.endsParent&&z.parent;)z=z.parent;return z}}if(z.endsWithParent)return $(z.parent,B,oe)}function se(z){return te.matcher.regexIndex===0?(me+=z[0],1):(Ie=!0,0)}function K(z){const B=z[0],oe=z.rule,ue=new ns(oe),ve=[oe.__beforeBegin,oe["on:begin"]];for(const Oe of ve)if(Oe&&(Oe(z,ue),ue.isMatchIgnored))return se(B);return oe.skip?me+=B:(oe.excludeBegin&&(me+=B),j(),!oe.returnBegin&&!oe.excludeBegin&&(me=B)),pe(oe,z),oe.returnBegin?0:B.length}function Re(z){const B=z[0],oe=x.substring(z.index),ue=$(te,z,oe);if(!ue)return ls;const ve=te;te.endScope&&te.endScope._wrap?(j(),ie(B,te.endScope._wrap)):te.endScope&&te.endScope._multi?(j(),Se(te.endScope,z)):ve.skip?me+=B:(ve.returnEnd||ve.excludeEnd||(me+=B),j(),ve.excludeEnd&&(me=B));do te.scope&&he.closeNode(),!te.skip&&!te.subLanguage&&(qe+=te.relevance),te=te.parent;while(te!==ue.parent);return ue.starts&&pe(ue.starts,z),ve.returnEnd?0:B.length}function Le(){const z=[];for(let B=te;B!==Ae;B=B.parent)B.scope&&z.unshift(B.scope);z.forEach(B=>he.openNode(B))}let Pe={};function Ye(z,B){const oe=B&&B[0];if(me+=z,oe==null)return j(),0;if(Pe.type==="begin"&&B.type==="end"&&Pe.index===B.index&&oe===""){if(me+=x.slice(B.index,B.index+1),!i){const ue=new Error(`0 width match regex (${R})`);throw ue.languageName=R,ue.badRule=Pe.rule,ue}return 1}if(Pe=B,B.type==="begin")return K(B);if(B.type==="illegal"&&!Q){const ue=new Error('Illegal lexeme "'+oe+'" for mode "'+(te.scope||"")+'"');throw ue.mode=te,ue}else if(B.type==="end"){const ue=Re(B);if(ue!==ls)return ue}if(B.type==="illegal"&&oe==="")return 1;if(Ne>1e5&&Ne>B.index*3)throw new Error("potential infinite loop, way more iterations than matches");return me+=oe,oe.length}const Ae=L(R);if(!Ae)throw Tt(a.replace("{}",R)),new Error('Unknown language: "'+R+'"');const Xe=Hm(Ae);let Me="",te=ae||Xe;const We={},he=new o.__emitter(o);Le();let me="",qe=0,xe=0,Ne=0,Ie=!1;try{if(Ae.__emitTokens)Ae.__emitTokens(x,he);else{for(te.matcher.considerAll();;){Ne++,Ie?Ie=!1:te.matcher.considerAll(),te.matcher.lastIndex=xe;const z=te.matcher.exec(x);if(!z)break;const B=x.substring(xe,z.index),oe=Ye(B,z);xe=z.index+oe}Ye(x.substring(xe))}return he.finalize(),Me=he.toHTML(),{language:R,value:Me,relevance:qe,illegal:!1,_emitter:he,_top:te}}catch(z){if(z.message&&z.message.includes("Illegal"))return{language:R,value:Pn(x),illegal:!0,relevance:0,_illegalBy:{message:z.message,index:xe,context:x.slice(xe-100,xe+100),mode:z.mode,resultSoFar:Me},_emitter:he};if(i)return{language:R,value:Pn(x),illegal:!1,relevance:0,errorRaised:z,_emitter:he,_top:te};throw z}}function u(R){const x={value:Pn(R),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return x._emitter.addText(R),x}function p(R,x){x=x||o.languages||Object.keys(e);const Q=u(R),ae=x.filter(L).filter(P).map(j=>d(j,R,!1));ae.unshift(Q);const _e=ae.sort((j,ie)=>{if(j.relevance!==ie.relevance)return ie.relevance-j.relevance;if(j.language&&ie.language){if(L(j.language).supersetOf===ie.language)return 1;if(L(ie.language).supersetOf===j.language)return-1}return 0}),[G,q]=_e,re=G;return re.secondBest=q,re}function E(R,x,Q){const ae=x&&n[x]||Q;R.classList.add("hljs"),R.classList.add(`language-${ae}`)}function g(R){let x=null;const Q=c(R);if(l(Q))return;if(V("before:highlightElement",{el:R,language:Q}),R.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",R);return}if(R.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(R)),o.throwUnescapedHTML))throw new Km("One of your code blocks includes unescaped HTML.",R.innerHTML);x=R;const ae=x.textContent,_e=Q?_(ae,{language:Q,ignoreIllegals:!0}):p(ae);R.innerHTML=_e.value,R.dataset.highlighted="yes",E(R,Q,_e.language),R.result={language:_e.language,re:_e.relevance,relevance:_e.relevance},_e.secondBest&&(R.secondBest={language:_e.secondBest.language,relevance:_e.secondBest.relevance}),V("after:highlightElement",{el:R,result:_e,text:ae})}function f(R){o=ss(o,R)}const S=()=>{I(),Nt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function T(){I(),Nt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let v=!1;function I(){if(document.readyState==="loading"){v=!0;return}document.querySelectorAll(o.cssSelector).forEach(g)}function N(){v&&I()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",N,!1);function m(R,x){let Q=null;try{Q=x(t)}catch(ae){if(Tt("Language definition for '{}' could not be registered.".replace("{}",R)),i)Tt(ae);else throw ae;Q=s}Q.name||(Q.name=R),e[R]=Q,Q.rawDefinition=x.bind(null,t),Q.aliases&&Y(Q.aliases,{languageName:R})}function C(R){delete e[R];for(const x of Object.keys(n))n[x]===R&&delete n[x]}function A(){return Object.keys(e)}function L(R){return R=(R||"").toLowerCase(),e[R]||e[n[R]]}function Y(R,{languageName:x}){typeof R=="string"&&(R=[R]),R.forEach(Q=>{n[Q.toLowerCase()]=x})}function P(R){const x=L(R);return x&&!x.disableAutodetect}function J(R){R["before:highlightBlock"]&&!R["before:highlightElement"]&&(R["before:highlightElement"]=x=>{R["before:highlightBlock"](Object.assign({block:x.el},x))}),R["after:highlightBlock"]&&!R["after:highlightElement"]&&(R["after:highlightElement"]=x=>{R["after:highlightBlock"](Object.assign({block:x.el},x))})}function ce(R){J(R),r.push(R)}function D(R){const x=r.indexOf(R);x!==-1&&r.splice(x,1)}function V(R,x){const Q=R;r.forEach(function(ae){ae[Q]&&ae[Q](x)})}function k(R){return Nt("10.7.0","highlightBlock will be removed entirely in v12.0"),Nt("10.7.0","Please use highlightElement now."),g(R)}Object.assign(t,{highlight:_,highlightAuto:p,highlightAll:I,highlightElement:g,highlightBlock:k,configure:f,initHighlighting:S,initHighlightingOnLoad:T,registerLanguage:m,unregisterLanguage:C,listLanguages:A,getLanguage:L,registerAliases:Y,autoDetection:P,inherit:ss,addPlugin:ce,removePlugin:D}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=Wm,t.regex={concat:Rt,lookahead:kd,either:Mo,optional:lm,anyNumberOfTimes:sm};for(const R in gn)typeof gn[R]=="object"&&Md(gn[R]);return Object.assign(t,gn),t},yt=Hd({});yt.newInstance=()=>Hd({});var $m=yt;yt.HighlightJS=yt;yt.default=yt;var Un,cs;function Zm(){if(cs)return Un;cs=1;function t(e){const n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",a="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",c="разделительстраниц разделительстрок символтабуляции ",_="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",d="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",u="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",p=c+_+d+u,E="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",g="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",f="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",S="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",T="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",v="отображениевремениэлементовпланировщика ",I="типфайлаформатированногодокумента ",N="обходрезультатазапроса типзаписизапроса ",m="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",C="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",A="типизмеренияпостроителязапроса ",L="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",Y="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",P="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",J="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",ce="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",D="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",V="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",k="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",R="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",x="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",Q="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",ae=E+g+f+S+T+v+I+N+m+C+A+L+Y+P+J+ce+D+V+k+R+x+Q,q="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",re="null истина ложь неопределено",j=e.inherit(e.NUMBER_MODE),ie={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Se={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},pe=e.inherit(e.C_LINE_COMMENT_MODE),$={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:n,keyword:a+l},contains:[pe]},se={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},K={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:n,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:n,keyword:"знач",literal:re},contains:[j,ie,Se]},pe]},e.inherit(e.TITLE_MODE,{begin:n})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:n,keyword:a,built_in:p,class:ae,type:q,literal:re},contains:[$,K,pe,se,j,ie,Se]}}return Un=t,Un}var Fn,_s;function Xm(){if(_s)return Fn;_s=1;function t(e){const n=e.regex,r=/^[a-zA-Z][a-zA-Z0-9-]*/,i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],a=e.COMMENT(/;/,/$/),s={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},o={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},c={scope:"symbol",match:/%[si](?=".*")/},_={scope:"attribute",match:n.concat(r,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:i,contains:[{scope:"operator",match:/=\/?/},_,a,s,o,l,c,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Fn=t,Fn}var Bn,ds;function Jm(){if(ds)return Bn;ds=1;function t(e){const n=e.regex,r=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:n.concat(/"/,n.either(...r)),end:/"/,keywords:r,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return Bn=t,Bn}var Gn,us;function jm(){if(us)return Gn;us=1;function t(e){const n=e.regex,r=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=n.concat(r,n.concat("(\\.",r,")*")),a=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,s={className:"rest_arg",begin:/[.]{3}/,end:r,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]},{begin:n.concat(/:\s*/,a)}]},e.METHOD_GUARD],illegal:/#/}}return Gn=t,Gn}var Yn,ps;function eg(){if(ps)return Yn;ps=1;function t(e){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,i=n+"(\\."+n+")?("+r+")?",a="\\w+",o="\\b("+(n+"#"+a+"(\\."+a+")?#("+r+")?")+"|"+i+")",l="[A-Za-z](_?[A-Za-z0-9.])*",c=`[]\\{\\}%#'"`,_=e.COMMENT("--","$"),d={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:c,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[_,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:c},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[_,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:c},d,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:c}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:c},d]}}return Yn=t,Yn}var qn,ms;function tg(){if(ms)return qn;ms=1;function t(e){const n={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},r={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword",begin:"<",end:">",contains:[n,r]};return n.contains=[i],r.contains=[i],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},n,r,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return qn=t,qn}var Vn,gs;function ng(){if(gs)return Vn;gs=1;function t(e){const n={className:"number",begin:/[$%]\d+/},r={className:"number",begin:/\b\d+/},i={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},a={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[i,a,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",n]},i,r,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return Vn=t,Vn}var Hn,Es;function rg(){if(Es)return Hn;Es=1;function t(e){const n=e.regex,r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,r]},a=e.COMMENT(/--/,/$/),s=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",a]}),o=[a,s,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],c=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[r,e.C_NUMBER_MODE,{className:"built_in",begin:n.concat(/\b/,n.either(...c),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:n.concat(/\b/,n.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...o],illegal:/\/\/|->|=>|\[\[/}}return Hn=t,Hn}var zn,Ss;function ag(){if(Ss)return zn;Ss=1;function t(e){const n="[A-Za-z_][0-9A-Za-z_]*",r={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},i={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},o={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]};s.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,a,e.REGEXP_MODE];const l=s.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:l}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return zn=t,zn}var Wn,fs;function ig(){if(fs)return Wn;fs=1;function t(n){const r=n.regex,i=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="<[^<>]+>",l="(?!struct)("+a+"|"+r.optional(s)+"[a-zA-Z_]\\w*"+r.optional(o)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},_="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+_+"|.)",end:"'",illegal:"."},n.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},i,n.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:r.optional(s)+n.IDENT_RE,relevance:0},g=r.optional(s)+n.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],S=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],T=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],v=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],m={type:S,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:T},C={className:"function.dispatch",relevance:0,keywords:{_hint:v},begin:r.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,n.IDENT_RE,r.lookahead(/(<[^<>]+>|)\s*\(/))},A=[C,p,c,i,n.C_BLOCK_COMMENT_MODE,u,d],L={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:m,contains:A.concat([{begin:/\(/,end:/\)/,keywords:m,contains:A.concat(["self"]),relevance:0}]),relevance:0},Y={className:"function",begin:"("+l+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:m,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:m,relevance:0},{begin:g,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i,n.C_BLOCK_COMMENT_MODE,d,u,c,{begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:["self",i,n.C_BLOCK_COMMENT_MODE,d,u,c]}]},c,i,n.C_BLOCK_COMMENT_MODE,p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:m,illegal:"",keywords:m,contains:["self",c]},{begin:n.IDENT_RE+"::",keywords:m},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(n){const r={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},i=t(n),a=i.keywords;return a.type=[...a.type,...r.type],a.literal=[...a.literal,...r.literal],a.built_in=[...a.built_in,...r.built_in],a._hints=r._hints,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}return Wn=e,Wn}var Kn,bs;function og(){if(bs)return Kn;bs=1;function t(e){const n={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},n,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return Kn=t,Kn}var Qn,Ts;function sg(){if(Ts)return Qn;Ts=1;function t(e){const n=e.regex,r=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,a={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(s,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),_={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[s,c,l,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[s,o,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[_],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[_],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:_}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return Qn=t,Qn}var $n,Cs;function lg(){if(Cs)return $n;Cs=1;function t(e){const n=e.regex,r={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],a=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:n.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],s=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:n.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],o={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,o,...i,...a,...s,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},r,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return $n=t,$n}var Zn,hs;function cg(){if(hs)return Zn;hs=1;function t(e){const n=e.regex,r=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],i=["get","set","args","call"];return{name:"AspectJ",keywords:r,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:r.concat(i),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:n.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:r,illegal:/["\[\]]/,contains:[{begin:n.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:r.concat(i),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:r,excludeEnd:!0,contains:[{begin:n.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return Zn=t,Zn}var Xn,Rs;function _g(){if(Rs)return Xn;Rs=1;function t(e){const n={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[n,e.inherit(e.QUOTE_STRING_MODE,{contains:[n]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return Xn=t,Xn}var Jn,vs;function dg(){if(vs)return Jn;vs=1;function t(e){const n="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",r=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],i="True False And Null Not Or Default",a="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",s={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},o={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},_={className:"meta",begin:"#",end:"$",keywords:{keyword:r},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,s]},d={className:"symbol",begin:"@[A-z0-9_]+"},u={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[o,l,c]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:n,built_in:a,literal:i},contains:[s,o,l,c,_,d,u]}}return Jn=t,Jn}var jn,Ns;function ug(){if(Ns)return jn;Ns=1;function t(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return jn=t,jn}var er,As;function pg(){if(As)return er;As=1;function t(e){const n={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},r="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:r},contains:[n,i,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return er=t,er}var tr,Is;function mg(){if(Is)return tr;Is=1;function t(e){const n=e.UNDERSCORE_IDENT_RE,s={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},o={variants:[{match:[/(class|interface)\s+/,n,/\s+(extends|implements)\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s};return{name:"X++",aliases:["x++"],keywords:s,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},o]}}return tr=t,tr}var nr,Os;function gg(){if(Os)return nr;Os=1;function t(e){const n=e.regex,r={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,a]};a.contains.push(o);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},_={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,r]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),E={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],f=["true","false"],S={match:/(\/[a-z._-]+)+/},T=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],v=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],I=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],N=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:f,built_in:[...T,...v,"set","shopt",...I,...N]},contains:[p,e.SHEBANG(),E,d,e.HASH_COMMENT_MODE,s,S,o,l,c,_,r]}}return nr=t,nr}var rr,ys;function Eg(){if(ys)return rr;ys=1;function t(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return rr=t,rr}var ar,Ds;function Sg(){if(Ds)return ar;Ds=1;function t(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return ar=t,ar}var ir,xs;function fg(){if(xs)return ir;xs=1;function t(e){const n={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[n]},n]}}return ir=t,ir}var or,Ls;function bg(){if(Ls)return or;Ls=1;function t(e){const n=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",s="<[^<>]+>",o="("+i+"|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional(s)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",_={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(_,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0},E=n.optional(a)+e.IDENT_RE+"\\s*\\(",S={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},T=[u,l,r,e.C_BLOCK_COMMENT_MODE,d,_],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:T.concat([{begin:/\(/,end:/\)/,keywords:S,contains:T.concat(["self"]),relevance:0}]),relevance:0},I={begin:"("+o+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:S,relevance:0},{begin:E,returnBegin:!0,contains:[e.inherit(p,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,_,d,l,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,_,d,l]}]},l,r,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C",aliases:["h"],keywords:S,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:_,keywords:S}}}return or=t,or}var sr,Ms;function Tg(){if(Ms)return sr;Ms=1;function t(e){const n=e.regex,r=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],i="false true",a=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],s={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},c={className:"string",begin:'"',end:'"'},_={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:[s,o,e.NUMBER_MODE]},...a]},d=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],u={match:[/OBJECT/,/\s+/,n.either(...d),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:r,literal:i},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},s,o,l,c,e.NUMBER_MODE,u,_]}}return sr=t,sr}var lr,ws;function Cg(){if(ws)return lr;ws=1;function t(e){const n=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],r=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],i=["true","false"],a={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:n,type:r,literal:i},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},a]}}return lr=t,lr}var cr,ks;function hg(){if(ks)return cr;ks=1;function t(e){const n=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],r=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],i=["doc","by","license","see","throws","tagged"],a={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:n,relevance:10},s=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[a]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return a.contains=s,{name:"Ceylon",keywords:{keyword:n.concat(r),meta:i},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(s)}}return cr=t,cr}var _r,Ps;function Rg(){if(Ps)return _r;Ps=1;function t(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return _r=t,_r}var dr,Us;function vg(){if(Us)return dr;Us=1;function t(e){const n="a-zA-Z_\\-!.?+*=<>&'",r="[#]?["+n+"]["+n+"0-9/;:$#]*",i="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",a={$pattern:r,built_in:i+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},s={begin:r,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},c={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},_=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),d={scope:"punctuation",match:/,/,relevance:0},u=e.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},E={begin:"\\[|(#::?"+r+")?\\{",end:"[\\]\\}]",relevance:0},g={className:"symbol",begin:"[:]{1,2}"+r},f={begin:"\\(",end:"\\)"},S={endsWithParent:!0,relevance:0},T={keywords:a,className:"name",begin:r,relevance:0,starts:S},v=[d,f,l,c,_,u,g,E,o,p,s],I={beginKeywords:i,keywords:{$pattern:r,keyword:i},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:r,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)};return f.contains=[I,T,S],S.contains=v,E.contains=v,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[d,f,l,c,_,u,g,E,o,p]}}return dr=t,dr}var ur,Fs;function Ng(){if(Fs)return ur;Fs=1;function t(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return ur=t,ur}var pr,Bs;function Ag(){if(Bs)return pr;Bs=1;function t(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return pr=t,pr}var mr,Gs;function Ig(){if(Gs)return mr;Gs=1;const t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=[].concat(i,n,r);function s(o){const l=["npm","print"],c=["yes","no","on","off"],_=["then","unless","until","loop","by","when","and","or","is","isnt","not"],d=["var","const","let","function","static"],u=N=>m=>!N.includes(m),p={keyword:t.concat(_).filter(u(d)),literal:e.concat(c),built_in:a.concat(l)},E="[A-Za-z$_][0-9A-Za-z$_]*",g={className:"subst",begin:/#\{/,end:/\}/,keywords:p},f=[o.BINARY_NUMBER_MODE,o.inherit(o.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,g]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,g]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[g,o.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+E},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];g.contains=f;const S=o.inherit(o.TITLE_MODE,{begin:E}),T="(\\(.*\\)\\s*)?\\B[-=]>",v={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:p,contains:["self"].concat(f)}]},I={variants:[{match:[/class\s+/,E,/\s+extends\s+/,E]},{match:[/class\s+/,E]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:p};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:p,illegal:/\/\*/,contains:[...f,o.COMMENT("###","###"),o.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+E+"\\s*=\\s*"+T,end:"[-=]>",returnBegin:!0,contains:[S,v]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:T,end:"[-=]>",returnBegin:!0,contains:[v]}]},I,{begin:E+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return mr=s,mr}var gr,Ys;function Og(){if(Ys)return gr;Ys=1;function t(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return gr=t,gr}var Er,qs;function yg(){if(qs)return Er;qs=1;function t(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return Er=t,Er}var Sr,Vs;function Dg(){if(Vs)return Sr;Vs=1;function t(e){const n=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",s="<[^<>]+>",o="(?!struct)("+i+"|"+n.optional(a)+"[a-zA-Z_]\\w*"+n.optional(s)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",_={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(_,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},p={className:"title",begin:n.optional(a)+e.IDENT_RE,relevance:0},E=n.optional(a)+e.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],f=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],S=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],T=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],N={type:f,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:S},m={className:"function.dispatch",relevance:0,keywords:{_hint:T},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},C=[m,u,l,r,e.C_BLOCK_COMMENT_MODE,d,_],A={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:N,contains:C.concat([{begin:/\(/,end:/\)/,keywords:N,contains:C.concat(["self"]),relevance:0}]),relevance:0},L={className:"function",begin:"("+o+"[\\*&\\s]+)+"+E,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:N,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:N,relevance:0},{begin:E,returnBegin:!0,contains:[p],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[_,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,_,d,l,{begin:/\(/,end:/\)/,keywords:N,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,_,d,l]}]},l,r,e.C_BLOCK_COMMENT_MODE,u]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:N,illegal:"",keywords:N,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:N},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return Sr=t,Sr}var fr,Hs;function xg(){if(Hs)return fr;Hs=1;function t(e){const n="primitive rsc_template",r="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",i="property rsc_defaults op_defaults",a="params meta operations op rule attributes utilization",s="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",o="number string",l="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:a+" "+s+" "+o,literal:l},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:n,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+r.split(" ").join("|")+")\\s+",keywords:r,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:i,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return fr=t,fr}var br,zs;function Lg(){if(zs)return br;zs=1;function t(e){const n="(_?[ui](8|16|32|64|128))?",r="(_?f(32|64))?",i="[a-zA-Z_]\\w*[!?=]?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",s="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",o={$pattern:i,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:o},c={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},_={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:o};function d(T,v){const I=[{begin:T,end:v}];return I[0].contains=I,I}const u={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},p={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},E={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},f={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},S=[_,u,p,g,E,f,c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[u,{begin:a}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+r+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+n}],relevance:0}];return l.contains=S,_.contains=S.slice(1),{name:"Crystal",aliases:["cr"],keywords:o,contains:S}}return br=t,br}var Tr,Ws;function Mg(){if(Ws)return Tr;Ws=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],i=["default","false","null","true"],a=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],s=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:a.concat(s),built_in:n,literal:i},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},_={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(_,{illegal:/\n/}),u={className:"subst",begin:/\{/,end:/\}/,keywords:o},p=e.inherit(u,{illegal:/\n/}),E={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,p]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]},f=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});u.contains=[g,E,_,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],p.contains=[f,E,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const S={variants:[g,E,_,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},T={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},v=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",I={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},S,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,T,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,T,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+v+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,T],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[S,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},I]}}return Tr=t,Tr}var Cr,Ks;function wg(){if(Ks)return Cr;Ks=1;function t(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return Cr=t,Cr}var hr,Qs;function kg(){if(Qs)return hr;Qs=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(o){const l=o.regex,c=t(o),_={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},d="and or not only",u=/@-?\w[\w]*(-\w+)*/,p="[a-zA-Z-][a-zA-Z0-9_-]*",E=[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,_,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+p,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+r.join("|")+")"},{begin:":(:)?("+i.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...E,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...E,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:u},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...E,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return hr=s,hr}var Rr,$s;function Pg(){if($s)return Rr;$s=1;function t(e){const n={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},r="(0|[1-9][\\d_]*)",i="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",a="0[bB][01_]+",s="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",o="0[xX]"+s,l="([eE][+-]?"+i+")",c="("+i+"(\\.\\d*|"+l+")|\\d+\\."+i+"|\\."+r+l+"?)",_="(0[xX]("+s+"\\."+s+"|\\.?"+s+")[pP][+-]?"+i+")",d="("+r+"|"+a+"|"+o+")",u="("+_+"|"+c+")",p=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,E={className:"number",begin:"\\b"+d+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},g={className:"number",begin:"\\b("+u+"([fF]|L|i|[fF]i|Li)?|"+d+"(i|[fF]i|Li))",relevance:0},f={className:"string",begin:"'("+p+"|.)",end:"'",illegal:"."},T={className:"string",begin:'"',contains:[{begin:p,relevance:0}],end:'"[cwd]?'},v={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},I={className:"string",begin:"`",end:"`[cwd]?"},N={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},m={className:"string",begin:'q"\\{',end:'\\}"'},C={className:"meta",begin:"^#!",end:"$",relevance:5},A={className:"meta",begin:"#(line)",end:"$",relevance:5},L={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},Y=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:n,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,Y,N,T,v,I,m,g,E,f,C,A,L]}}return Rr=t,Rr}var vr,Zs;function Ug(){if(Zs)return vr;Zs=1;function t(e){const n=e.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},a={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},_={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(_,{contains:[]}),p=e.inherit(d,{contains:[]});_.contains.push(p),d.contains.push(u);let E=[r,c];return[_,d,u,p].forEach(S=>{S.contains=S.contains.concat(E)}),E=E.concat(_,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:E},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:E}]}]},r,s,_,d,{className:"quote",begin:"^>\\s+",contains:E,end:"$"},a,i,c,o]}}return vr=t,vr}var Nr,Xs;function Fg(){if(Xs)return Nr;Xs=1;function t(e){const n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},r={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n,r]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n,r]}]};r.contains=[e.C_NUMBER_MODE,i];const a=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],s=a.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:a.concat(s).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return Nr=t,Nr}var Ar,Js;function Bg(){if(Js)return Ar;Js=1;function t(e){const n=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],r=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},a={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},s={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},o={className:"string",begin:/(#\d+)+/},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},c={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[a,o,i].concat(r)},i].concat(r)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:n,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[a,o,e.NUMBER_MODE,s,l,c,i].concat(r)}}return Ar=t,Ar}var Ir,js;function Gg(){if(js)return Ir;js=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return Ir=t,Ir}var Or,el;function Yg(){if(el)return Or;el=1;function t(e){const n={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[n]}]}}return Or=t,Or}var yr,tl;function qg(){if(tl)return yr;tl=1;function t(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return yr=t,yr}var Dr,nl;function Vg(){if(nl)return Dr;nl=1;function t(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a={className:"variable",begin:/&[a-z\d_]*\b/},s={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},o={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[r,a]},c={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},_={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},d={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},u={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},p={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[_,a,s,o,c,u,d,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,n,i,p,{begin:e.IDENT_RE+"::",keywords:""}]}}return Mr=t,Mr}var wr,ol;function Kg(){if(ol)return wr;ol=1;function t(e){const n="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:n}]}}return wr=t,wr}var kr,sl;function Qg(){if(sl)return kr;sl=1;function t(e){const n=e.COMMENT(/\(\*/,/\*\)/),r={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},a={begin:/=/,end:/[.;]/,contains:[n,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[n,r,a]}}return kr=t,kr}var Pr,ll;function $g(){if(ll)return Pr;ll=1;function t(e){const n=e.regex,r="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",o={$pattern:r,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:o},c={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},d={match:/\\[\s\S]/,scope:"char.escape",relevance:0},u=`[/|([{<"']`,p=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],E=m=>({scope:"char.escape",begin:n.concat(/\\/,m),relevance:0}),g={className:"string",begin:"~[a-z](?="+u+")",contains:p.map(m=>e.inherit(m,{contains:[E(m.end),d,l]}))},f={className:"string",begin:"~[A-Z](?="+u+")",contains:p.map(m=>e.inherit(m,{contains:[E(m.end)]}))},S={className:"regex",variants:[{begin:"~r(?="+u+")",contains:p.map(m=>e.inherit(m,{end:n.concat(m.end,/[uismxfU]{0,7}/),contains:[E(m.end),d,l]}))},{begin:"~R(?="+u+")",contains:p.map(m=>e.inherit(m,{end:n.concat(m.end,/[uismxfU]{0,7}/),contains:[E(m.end)]}))}]},T={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},v={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:r,endsParent:!0})]},I=e.inherit(v,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),N=[T,S,f,g,e.HASH_COMMENT_MODE,I,v,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[T,{begin:i}],relevance:0},{className:"symbol",begin:r+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=N,{name:"Elixir",aliases:["ex","exs"],keywords:o,contains:N}}return Pr=t,Pr}var Ur,cl;function Zg(){if(cl)return Ur;cl=1;function t(e){const n={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},n]},a={begin:/\{/,end:/\}/,contains:i.contains},s={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[i,n],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[i,n],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[r,i,a,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,n]},{begin:"port",end:"$",keywords:"port",contains:[n]},s,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,r,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}],illegal:/;/}}return Ur=t,Ur}var Fr,_l;function Xg(){if(_l)return Fr;_l=1;function t(e){const n=e.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),a=n.concat(i,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},_=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,d]})]}]},p="[1-9](_?[0-9])*|0",E="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${p})(\\.(${E}))?([eE][+-]?(${E})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},f={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},C=[u,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,a],scope:{2:"title.class"},keywords:o},{relevance:0,match:[a,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[f]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:r}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,_),relevance:0}].concat(c,_);d.contains=C,f.contains=C;const A="[>?]>",L="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",Y="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",P=[{begin:/^\s*=>/,starts:{end:"$",contains:C}},{className:"meta.prompt",begin:"^("+A+"|"+L+"|"+Y+")(?=[ ])",starts:{end:"$",keywords:o,contains:C}}];return _.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(P).concat(_).concat(C)}}return Fr=t,Fr}var Br,dl;function Jg(){if(dl)return Br;dl=1;function t(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Br=t,Br}var Gr,ul;function jg(){if(ul)return Gr;ul=1;function t(e){const n=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:n.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return Gr=t,Gr}var Yr,pl;function eE(){if(pl)return Yr;pl=1;function t(e){const n="[a-z'][a-zA-Z0-9_']*",r="("+n+":"+n+"|"+n+")",i={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},a=e.COMMENT("%","$"),s={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+n+"/\\d+"},l={begin:r+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:r,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={begin:/\{/,end:/\}/,relevance:0},_={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},d={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},u={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},p={beginKeywords:"fun receive if try case",end:"end",keywords:i};p.contains=[a,o,e.inherit(e.APOS_STRING_MODE,{className:""}),p,l,e.QUOTE_STRING_MODE,s,c,_,d,u];const E=[a,o,p,l,e.QUOTE_STRING_MODE,s,c,_,d,u];l.contains[1].contains=E,c.contains=E,u.contains[1].contains=E;const g=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],f={className:"params",begin:"\\(",end:"\\)",contains:E};return{name:"Erlang",aliases:["erl"],keywords:i,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[f,e.inherit(e.TITLE_MODE,{begin:n})],starts:{end:";|\\.",keywords:i,contains:E}},a,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:g.map(S=>`${S}|1.5`).join(" ")},contains:[f]},s,e.QUOTE_STRING_MODE,u,_,d,c,{begin:/\.$/}]}}return Yr=t,Yr}var qr,ml;function tE(){if(ml)return qr;ml=1;function t(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return qr=t,qr}var Vr,gl;function nE(){if(gl)return Vr;gl=1;function t(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return Vr=t,Vr}var Hr,El;function rE(){if(El)return Hr;El=1;function t(e){const n={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},r={className:"string",variants:[{begin:'"',end:'"'}]},a={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r,a,e.C_NUMBER_MODE]}}return Hr=t,Hr}var zr,Sl;function aE(){if(Sl)return zr;Sl=1;function t(e){const n=e.regex,r={className:"params",begin:"\\(",end:"\\)"},i={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},a=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:n.concat(/\b\d+/,/\.(\d*)/,s,a)},{begin:n.concat(/\b\d+/,s,a)},{begin:n.concat(/\.\d+/,s,a)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,r]},c={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[c,l,{begin:/^C\s*=(?!=)/,relevance:0},i,o]}}return zr=t,zr}var Wr,fl;function iE(){if(fl)return Wr;fl=1;function t(o){return new RegExp(o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(o){return o?typeof o=="string"?o:o.source:null}function n(o){return r("(?=",o,")")}function r(...o){return o.map(c=>e(c)).join("")}function i(o){const l=o[o.length-1];return typeof l=="object"&&l.constructor===Object?(o.splice(o.length-1,1),l):{}}function a(...o){return"("+(i(o).capture?"":"?:")+o.map(_=>e(_)).join("|")+")"}function s(o){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],c={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},_=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],d=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],u=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],p=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],g={keyword:l,literal:d,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":u},S={variants:[o.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),o.C_LINE_COMMENT_MODE]},T=/[a-zA-Z_](\w|')*/,v={scope:"variable",begin:/``/,end:/``/},I=/\B('|\^)/,N={scope:"symbol",variants:[{match:r(I,/``.*?``/)},{match:r(I,o.UNDERSCORE_IDENT_RE)}],relevance:0},m=function({includeEqual:j}){let ie;j?ie="!%&*+-/<=>@^|~?":ie="!%&*+-/<>@^|~?";const Se=Array.from(ie),pe=r("[",...Se.map(t),"]"),$=a(pe,/\./),se=r($,n($)),K=a(r(se,$,"*"),r(pe,"+"));return{scope:"operator",match:a(K,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},C=m({includeEqual:!0}),A=m({includeEqual:!1}),L=function(j,ie){return{begin:r(j,n(r(/\s*/,a(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ie,end:n(a(/\n/,/=/)),relevance:0,keywords:o.inherit(g,{type:p}),contains:[S,N,o.inherit(v,{scope:null}),A]}},Y=L(/:/,"operator"),P=L(/\bof\b/,"keyword"),J={begin:[/(^|\s+)/,/type/,/\s+/,T],beginScope:{2:"keyword",4:"title.class"},end:n(/\(|=|$/),keywords:g,contains:[S,o.inherit(v,{scope:null}),N,{scope:"operator",match:/<|>/},Y]},ce={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},D={begin:[/^\s*/,r(/#/,a(..._)),/\b/],beginScope:{2:"meta"},end:n(/\s|$/)},V={variants:[o.BINARY_NUMBER_MODE,o.C_NUMBER_MODE]},k={scope:"string",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE]},R={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},o.BACKSLASH_ESCAPE]},x={scope:"string",begin:/"""/,end:/"""/,relevance:2},Q={scope:"subst",begin:/\{/,end:/\}/,keywords:g},ae={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},o.BACKSLASH_ESCAPE,Q]},_e={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},o.BACKSLASH_ESCAPE,Q]},G={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},Q],relevance:2},q={scope:"string",match:r(/'/,a(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return Q.contains=[_e,ae,R,k,q,c,S,v,Y,ce,D,V,N,C],{name:"F#",aliases:["fs","f#"],keywords:g,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[c,{variants:[G,_e,ae,x,R,k,q]},S,v,J,{scope:"meta",begin:/\[\]/,relevance:2,contains:[v,x,R,k,q,V]},P,Y,ce,D,V,N,C]}}return Wr=s,Wr}var Kr,bl;function oE(){if(bl)return Kr;bl=1;function t(e){const n=e.regex,r={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},i={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},a={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},o={begin:"/",end:"/",keywords:r,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,c={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[s,o,{className:"comment",begin:n.concat(l,n.anyNumberOfTimes(n.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:r,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,c]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[c]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},i,a]},e.C_NUMBER_MODE,a]}}return Kr=t,Kr}var Qr,Tl;function sE(){if(Tl)return Qr;Tl=1;function t(e){const n={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},r=e.COMMENT("@","@"),i={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r]},a={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},s=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,a]}],o={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(p,E,g){const f=e.inherit({className:"function",beginKeywords:p,end:E,excludeEnd:!0,contains:[].concat(s)},g||{});return f.contains.push(o),f.contains.push(e.C_NUMBER_MODE),f.contains.push(e.C_BLOCK_COMMENT_MODE),f.contains.push(r),f},c={className:"built_in",begin:"\\b("+n.built_in.split(" ").join("|")+")\\b"},_={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},d={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:n,relevance:0,contains:[{beginKeywords:n.keyword},c,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},u={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:n.built_in,literal:n.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,c,d,_,"self"]};return d.contains.push(u),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:n,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,_,i,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,r,u]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},d,a]}}return Qr=t,Qr}var $r,Cl;function lE(){if(Cl)return $r;Cl=1;function t(e){const n="[A-Z_][A-Z0-9_.]*",r="%",i={$pattern:n,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},a={className:"meta",begin:"([O])([0-9]+)"},s=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),o=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),s,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[s],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r},a].concat(o)}}return $r=t,$r}var Zr,hl;function cE(){if(hl)return Zr;hl=1;function t(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return Zr=t,Zr}var Xr,Rl;function _E(){if(Rl)return Xr;Rl=1;function t(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return Xr=t,Xr}var Jr,vl;function dE(){if(vl)return Jr;vl=1;function t(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Jr=t,Jr}var jr,Nl;function uE(){if(Nl)return jr;Nl=1;function t(e){const s={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:s,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return aa=t,aa}var ia,xl;function fE(){if(xl)return ia;xl=1;function t(e){const n=e.regex,r={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},i={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},a=/""|"[^"]+"/,s=/''|'[^']+'/,o=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,c=/(\.|\/)/,_=n.either(a,s,o,l),d=n.concat(n.optional(/\.|\.\/|\//),_,n.anyNumberOfTimes(n.concat(c,_))),u=n.concat("(",o,"|",l,")(?==)"),p={begin:d},E=e.inherit(p,{keywords:i}),g={begin:/\(/,end:/\)/},f={className:"attr",begin:u,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,E,g]}}},S={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},T={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,S,f,E,g],returnEnd:!0},v=e.inherit(p,{className:"name",keywords:r,starts:e.inherit(T,{end:/\)/})});g.contains=[v];const I=e.inherit(p,{keywords:r,className:"name",starts:e.inherit(T,{end:/\}\}/})}),N=e.inherit(p,{keywords:r,className:"name"}),m=e.inherit(p,{className:"name",keywords:r,starts:e.inherit(T,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[I],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[N]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[N]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[m]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[m]}]}}return ia=t,ia}var oa,Ll;function bE(){if(Ll)return oa;Ll=1;function t(e){const n="([0-9]_*)+",r="([0-9a-fA-F]_*)+",i="([01]_*)+",a="([0-7]_*)+",c="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",_={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},d={className:"meta",begin:/\{-#/,end:/#-\}/},u={className:"meta",begin:"^#",end:"$"},p={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},E={begin:"\\(",end:"\\)",illegal:'"',contains:[d,u,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),_]},g={begin:/\{/,end:/\}/,contains:E.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${n})(\\.(${n}))?([eE][+-]?(${n}))?\\b`},{match:`\\b0[xX]_*(${r})(\\.(${r}))?([pP][+-]?(${n}))?\\b`},{match:`\\b0[oO](${a})\\b`},{match:`\\b0[bB](${i})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[E,_],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[E,_],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[p,E,_]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[d,p,E,g,_]},{beginKeywords:"default",end:"$",contains:[p,E,_]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,_]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[p,e.QUOTE_STRING_MODE,_]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},d,u,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,f,p,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${c}--+|--+(?!-)${c}`},_,{begin:"->|<-"}]}}return oa=t,oa}var sa,Ml;function TE(){if(Ml)return sa;Ml=1;function t(e){const n="[a-zA-Z_$][a-zA-Z0-9_$]*",r=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:r,relevance:0},{className:"variable",begin:"\\$"+n},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return sa=t,sa}var la,wl;function CE(){if(wl)return la;wl=1;function t(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return la=t,la}var ca,kl;function hE(){if(kl)return ca;kl=1;function t(e){const n=e.regex,r="HTTP/([32]|1\\.[01])",i=/[A-Za-z][A-Za-z0-9-]*/,a={className:"attribute",begin:n.concat("^",i,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},s=[a,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+r+" \\d{3})",end:/$/,contains:[{className:"meta",begin:r},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+r+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:r},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},e.inherit(a,{relevance:0})]}}return ca=t,ca}var _a,Pl;function RE(){if(Pl)return _a;Pl=1;function t(e){const n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",i={$pattern:r,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},a="[-+]?\\d+(\\.\\d+)?",s={begin:r,relevance:0},o={className:"number",begin:a,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),_={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},d={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},u={className:"comment",begin:"\\^"+r},p=e.COMMENT("\\^\\{","\\}"),E={className:"symbol",begin:"[:]{1,2}"+r},g={begin:"\\(",end:"\\)"},f={endsWithParent:!0,relevance:0},S={className:"name",relevance:0,keywords:i,begin:r,starts:f},T=[g,l,u,p,c,E,d,o,_,s];return g.contains=[e.COMMENT("comment",""),S,f],f.contains=T,d.contains=T,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),g,l,u,p,c,E,d,o,_]}}return _a=t,_a}var da,Ul;function vE(){if(Ul)return da;Ul=1;function t(e){const n="\\[",r="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:n,end:r}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:n,end:r,contains:["self"]}]}}return da=t,da}var ua,Fl;function NE(){if(Fl)return ua;Fl=1;function t(e){const n=e.regex,r={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const a={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[i,s,a,o,r,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,_=/"(\\"|[^"])*"/,d=/'[^']*'/,u=n.either(c,_,d),p=n.concat(u,"(\\s*\\.\\s*",u,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:p,className:"attr",starts:{end:/$/,contains:[i,l,s,a,o,r]}}]}}return ua=t,ua}var pa,Bl;function AE(){if(Bl)return pa;Bl=1;function t(e){const n=e.regex,r={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,a=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:n.concat(/\b\d+/,/\.(\d*)/,a,i)},{begin:n.concat(/\b\d+/,a,i)},{begin:n.concat(/\.\d+/,a,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,r]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),s]}}return pa=t,pa}var ma,Gl;function IE(){if(Gl)return ma;Gl=1;function t(e){const n="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",i="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",a="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",s="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",o="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",l="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",c="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",_="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",d="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",u="smHidden smMaximized smMinimized smNormal wmNo wmYes ",p="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",E="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",g="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",f="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",S="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",T="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",v="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",I="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",N="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",m="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",C="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",A="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",L="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",Y="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",P="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",J="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",ce="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",D="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",V="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",k="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",R="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",x="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",Q="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",ae="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",_e="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",G="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",q="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",re="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",j=a+s+o+l+c+_+d+u+p+E+g+f+S+T+v+I+N+m+C+A+L+Y+P+J+ce+D+V+k+R+x+Q+ae+_e+G+q+re,ie="atUser atGroup atRole ",Se="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",pe="apBegin apEnd ",$="alLeft alRight ",se="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",K="cirCommon cirRevoked ",Re="ctSignature ctEncode ctSignatureEncode ",Le="clbUnchecked clbChecked clbGrayed ",Pe="ceISB ceAlways ceNever ",Ye="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Ae="cfInternal cfDisplay ",Xe="ciUnspecified ciWrite ciRead ",Me="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",te="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",We="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",he="cltInternal cltPrimary cltGUI ",me="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",qe="dssEdit dssInsert dssBrowse dssInActive ",xe="dftDate dftShortDate dftDateTime dftTimeStamp ",Ne="dotDays dotHours dotMinutes dotSeconds ",Ie="dtkndLocal dtkndUTC ",z="arNone arView arEdit arFull ",B="ddaView ddaEdit ",oe="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",ue="ecotFile ecotProcess ",ve="eaGet eaCopy eaCreate eaCreateStandardRoute ",Oe="edltAll edltNothing edltQuery ",lt="essmText essmCard ",tt="esvtLast esvtLastActive esvtSpecified ",dt="edsfExecutive edsfArchive ",ct="edstSQLServer edstFile ",ge="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",Ke="vsDefault vsDesign vsActive vsObsolete ",be="etNone etCertificate etPassword etCertificatePassword ",we="ecException ecWarning ecInformation ",nt="estAll estApprovingOnly ",_t="evtLast evtLastActive evtQuery ",vt="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",ut="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",U="grhAuto grhX1 grhX2 grhX3 ",F="hltText hltRTF hltHTML ",le="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",de="im8bGrayscale im24bRGB im1bMonochrome ",ne="itBMP itJPEG itWMF itPNG ",ke="ikhInformation ikhWarning ikhError ikhNoIcon ",Je="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",je="isShow isHide isByUserSettings ",ye="jkJob jkNotice jkControlJob ",Xt="jtInner jtLeft jtRight jtFull jtCross ",Jt="lbpAbove lbpBelow lbpLeft lbpRight ",jt="eltPerConnection eltPerUser ",en="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",tn="sfsItalic sfsStrikeout sfsNormal ",nn="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",rn="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",an="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",on="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",sn="rdWindow rdFile rdPrinter ",ln="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",cn="reOnChange reOnChangeValues ",_n="ttGlobal ttLocal ttUser ttSystem ",pu="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",mu="smSelect smLike smCard ",gu="stNone stAuthenticating stApproving ",Eu="sctString sctStream ",Su="sstAnsiSort sstNaturalSort ",fu="svtEqual svtContain ",bu="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",Tu="tarAbortByUser tarAbortByWorkflowException ",Cu="tvtAllWords tvtExactPhrase tvtAnyWord ",hu="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",Ru="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",vu="btAnd btDetailAnd btOr btNotOr btOnly ",Nu="vmView vmSelect vmNavigation ",Au="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Iu="wfatPrevious wfatNext wfatCancel wfatFinish ",Ou="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",yu="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",Du="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",xu="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Lu="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",Mu="waAll waPerformers waManual ",wu="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",ku="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Pu="wiLow wiNormal wiHigh ",Uu="wrtSoft wrtHard ",Fu="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Bu="wtmFull wtmFromCurrent wtmOnlyCurrent ",Gu=ie+Se+pe+$+se+K+Re+Le+Pe+Ye+Ae+Xe+Me+te+We+he+me+qe+xe+Ne+Ie+z+B+oe+ue+ve+Oe+lt+tt+dt+ct+ge+Ke+be+we+nt+_t+vt+ut+U+F+le+de+ne+ke+Je+je+ye+Xt+Jt+jt+en+tn+nn+rn+an+on+sn+ln+cn+_n+pu+mu+gu+Eu+Su+fu+bu+Tu+Cu+hu+Ru+vu+Nu+Au+Iu+Ou+yu+Du+xu+Lu+Mu+wu+ku+Pu+Uu+Fu+Bu,Yu="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",qu="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Vu="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Hu=j+Gu,zu=qu,Wu="null true false nil ",Wo={className:"number",begin:e.NUMBER_RE,relevance:0},Ko={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Qo={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Ku={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Qo]},Qu={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Qo]},$o={variants:[Ku,Qu]},dn={$pattern:n,keyword:i,built_in:Hu,class:zu,literal:Wu},wn={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:dn,relevance:0},Zo={className:"type",begin:":[ \\t]*("+Vu.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Xo={className:"variable",keywords:dn,begin:n,relevance:0,contains:[Zo,wn]},Jo=r+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:dn,illegal:"\\$|\\?|%|,|;$|~|#|@|i(s,o,l-1))}function a(s){const o=s.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+i("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),E={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},g={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},f={className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[s.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:E,illegal:/<\/|#/,contains:[s.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[s.BACKSLASH_ESCAPE]},s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[o.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[f,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",s.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:E,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[g,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,r,s.C_BLOCK_COMMENT_MODE]},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},r,g]}}return ga=a,ga}var Ea,ql;function yE(){if(ql)return Ea;ql=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],s=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],o=[].concat(a,r,i);function l(c){const _=c.regex,d=(Se,{after:pe})=>{const $="",end:""},E=/<[A-Za-z0-9\\._:-]+\s*\/>/,g={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Se,pe)=>{const $=Se[0].length+Se.index,se=Se.input[$];if(se==="<"||se===","){pe.ignoreMatch();return}se===">"&&(d(Se,{after:$})||pe.ignoreMatch());let K;const Re=Se.input.substring($);if(K=Re.match(/^\s*=/)){pe.ignoreMatch();return}if((K=Re.match(/^\s+extends\s+/))&&K.index===0){pe.ignoreMatch();return}}},f={$pattern:t,keyword:e,literal:n,built_in:o,"variable.language":s},S="[0-9](_?[0-9])*",T=`\\.(${S})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",I={className:"number",variants:[{begin:`(\\b(${v})((${T})|\\.)?|(${T}))[eE][+-]?(${S})\\b`},{begin:`\\b(${v})\\b((${T})\\b|\\.)?|(${T})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},N={className:"subst",begin:"\\$\\{",end:"\\}",keywords:f,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,N],subLanguage:"xml"}},C={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,N],subLanguage:"css"}},A={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,N],subLanguage:"graphql"}},L={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,N]},P={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:u+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},J=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,m,C,A,L,{match:/\$\d+/},I];N.contains=J.concat({begin:/\{/,end:/\}/,keywords:f,contains:["self"].concat(J)});const ce=[].concat(P,N.contains),D=ce.concat([{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(ce)}]),V={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:D},k={variants:[{match:[/class/,/\s+/,u,/\s+/,/extends/,/\s+/,_.concat(u,"(",_.concat(/\./,u),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,u],scope:{1:"keyword",3:"title.class"}}]},R={relevance:0,match:_.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},x={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Q={variants:[{match:[/function/,/\s+/,u,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[V],illegal:/%/},ae={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function _e(Se){return _.concat("(?!",Se.join("|"),")")}const G={match:_.concat(/\b/,_e([...a,"super","import"]),u,_.lookahead(/\(/)),className:"title.function",relevance:0},q={begin:_.concat(/\./,_.lookahead(_.concat(u,/(?![0-9A-Za-z$_(])/))),end:u,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,u,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},V]},j="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",ie={match:[/const|var|let/,/\s+/,u,/\s*/,/=\s*/,/(async\s*)?/,_.lookahead(j)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[V]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:f,exports:{PARAMS_CONTAINS:D,CLASS_REFERENCE:R},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),x,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,m,C,A,L,P,{match:/\$\d+/},I,R,{className:"attr",begin:u+_.lookahead(":"),relevance:0},ie,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[P,c.REGEXP_MODE,{className:"function",begin:j,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:f,contains:D}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:E},{begin:g.begin,"on:begin":g.isTrulyOpeningTag,end:g.end}],subLanguage:"xml",contains:[{begin:g.begin,end:g.end,skip:!0,contains:["self"]}]}]},Q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[V,c.inherit(c.TITLE_MODE,{begin:u,className:"title.function"})]},{match:/\.\.\./,relevance:0},q,{match:"\\$"+u,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[V]},G,ae,k,re,{match:/\$[(.]/}]}}return Ea=l,Ea}var Sa,Vl;function DE(){if(Vl)return Sa;Vl=1;function t(e){const r={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},i={className:"function",begin:/:[\w\-.]+/,relevance:0},a={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},s={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,s,i,a,r]}}return Sa=t,Sa}var fa,Hl;function xE(){if(Hl)return fa;Hl=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],a={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",keywords:{literal:i},contains:[n,r,e.QUOTE_STRING_MODE,a,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return fa=t,fa}var ba,zl;function LE(){if(zl)return ba;zl=1;function t(e){const n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",s={$pattern:n,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},o={keywords:s,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},c={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},_={className:"subst",begin:/\$\(/,end:/\)/,keywords:s},d={className:"variable",begin:"\\$"+n},u={className:"string",contains:[e.BACKSLASH_ESCAPE,_,d],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},p={className:"string",contains:[e.BACKSLASH_ESCAPE,_,d],begin:"`",end:"`"},E={className:"meta",begin:"@"+n},g={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return o.name="Julia",o.contains=[l,c,u,p,E,g,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],_.contains=o.contains,o}return ba=t,ba}var Ta,Wl;function ME(){if(Wl)return Ta;Wl=1;function t(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Ta=t,Ta}var Ca,Kl;function wE(){if(Kl)return Ca;Kl=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(a){const s={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},o={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:a.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[a.C_NUMBER_MODE]},_={className:"variable",begin:"\\$"+a.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[_,c]},{begin:"'",end:"'",illegal:/\n/,contains:[a.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[a.BACKSLASH_ESCAPE,_,c]}]};c.contains.push(d);const u={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+a.UNDERSCORE_IDENT_RE+")?"},p={className:"meta",begin:"@"+a.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[a.inherit(d,{className:"string"}),"self"]}]},E=r,g=a.COMMENT("/\\*","\\*/",{contains:[a.C_BLOCK_COMMENT_MODE]}),f={variants:[{className:"type",begin:a.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},S=f;return S.variants[1].contains=[f],f.variants[1].contains=[S],{name:"Kotlin",aliases:["kt","kts"],keywords:s,contains:[a.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),a.C_LINE_COMMENT_MODE,g,o,l,u,p,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:s,relevance:5,contains:[{begin:a.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[a.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[f,a.C_LINE_COMMENT_MODE,g],relevance:0},a.C_LINE_COMMENT_MODE,g,u,p,d,a.C_NUMBER_MODE]},g]},{begin:[/class|interface|trait/,/\s+/,a.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},a.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},u,p]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},E]}}return Ca=i,Ca}var ha,Ql;function kE(){if(Ql)return ha;Ql=1;function t(e){const n="[a-zA-Z_][\\w.]*",r="<\\?(lasso(script)?|=)",i="\\]|\\?>",a={$pattern:n+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},s=e.COMMENT("",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[s]}},l={className:"meta",begin:"\\[/noprocess|"+r},c={className:"symbol",begin:"'"+n+"'"},_=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+n},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:n,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+n,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:n+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[|"+r,returnEnd:!0,relevance:0,contains:[s]}},o,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:a,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[noprocess\\]|"+r,returnEnd:!0,contains:[s]}},o,l].concat(_)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(_)}}return ha=t,ha}var Ra,$l;function PE(){if($l)return Ra;$l=1;function t(e){const r=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(P=>P+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(P=>P+"(?![a-zA-Z:_])").join("|")),a=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],s=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],o={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:r},{endsParent:!0,begin:i},{endsParent:!0,variants:s},{endsParent:!0,relevance:0,variants:a}]},l={className:"params",relevance:0,begin:/#+\d?/},c={variants:s},_={className:"built_in",relevance:0,begin:/[$&^_]/},d={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},u=e.COMMENT("%","$",{relevance:0}),p=[o,l,c,_,d,u],E={begin:/\{/,end:/\}/,relevance:0,contains:["self",...p]},g=e.inherit(E,{relevance:0,endsParent:!0,contains:[E,...p]}),f={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[E,...p]},S={begin:/\s+/,relevance:0},T=[g],v=[f],I=function(P,J){return{contains:[S],starts:{relevance:0,contains:P,starts:J}}},N=function(P,J){return{begin:"\\\\"+P+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+P},relevance:0,contains:[S],starts:J}},m=function(P,J){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+P+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},I(T,J))},C=(P="string")=>e.END_SAME_AS_BEGIN({className:P,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),A=function(P){return{className:"string",end:"(?=\\\\end\\{"+P+"\\})"}},L=(P="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:P,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),Y=[...["verb","lstinline"].map(P=>N(P,{contains:[C()]})),N("mint",I(T,{contains:[C()]})),N("mintinline",I(T,{contains:[L(),C()]})),N("url",{contains:[L("link"),L("link")]}),N("hyperref",{contains:[L("link")]}),N("href",I(v,{contains:[L("link")]})),...[].concat(...["","\\*"].map(P=>[m("verbatim"+P,A("verbatim"+P)),m("filecontents"+P,I(T,A("filecontents"+P))),...["","B","L"].map(J=>m(J+"Verbatim"+P,I(v,A(J+"Verbatim"+P))))])),m("minted",I(v,I(T,A("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...Y,...p]}}return Ra=t,Ra}var va,Zl;function UE(){if(Zl)return va;Zl=1;function t(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return va=t,va}var Na,Xl;function FE(){if(Xl)return Na;Xl=1;function t(e){const n=/([A-Za-z_][A-Za-z_0-9]*)?/,i={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},a={match:[n,/(?=\()/],scope:{1:"keyword"},contains:[i]};return i.contains.unshift(a),{name:"Leaf",contains:[{match:[/#+/,n,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[i]},{match:[/#+/,n,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return Na=t,Na}var Aa,Jl;function BE(){if(Jl)return Aa;Jl=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),s=r.concat(i);function o(l){const c=t(l),_=s,d="and or not only",u="[\\w-]+",p="("+u+"|@\\{"+u+"\\})",E=[],g=[],f=function(P){return{className:"string",begin:"~?"+P+".*?"+P}},S=function(P,J,ce){return{className:P,begin:J,relevance:ce}},T={$pattern:/[a-z-]+/,keyword:d,attribute:n.join(" ")},v={begin:"\\(",end:"\\)",contains:g,keywords:T,relevance:0};g.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,f("'"),f('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,v,S("variable","@@?"+u,10),S("variable","@\\{"+u+"\\}"),S("built_in","~?`[^`]*?`"),{className:"attribute",begin:u+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const I=g.concat({begin:/\{/,end:/\}/,contains:E}),N={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(g)},m={begin:p+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:g}}]},C={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:T,returnEnd:!0,contains:g,relevance:0}},A={className:"variable",variants:[{begin:"@"+u+"\\s*:",relevance:15},{begin:"@"+u}],starts:{end:"[;}]",returnEnd:!0,contains:I}},L={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:p,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,N,S("keyword","all\\b"),S("variable","@\\{"+u+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,S("selector-tag",p,0),S("selector-id","#"+p),S("selector-class","\\."+p,0),S("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:I},{begin:"!important"},c.FUNCTION_DISPATCH]},Y={begin:u+`:(:)?(${_.join("|")})`,returnBegin:!0,contains:[L]};return E.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,C,A,Y,m,L,N,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:E}}return Aa=o,Aa}var Ia,jl;function GE(){if(jl)return Ia;jl=1;function t(e){const n="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",r="\\|[^]*?\\|",i="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",a={className:"literal",begin:"\\b(t{1}|nil)\\b"},s={className:"number",variants:[{begin:i,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+i+" +"+i,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={begin:"\\*",end:"\\*"},_={className:"symbol",begin:"[:&]"+n},d={begin:n,relevance:0},u={begin:r},E={contains:[s,o,c,_,{begin:"\\(",end:"\\)",contains:["self",a,o,s,d]},d],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+r}]},g={variants:[{begin:"'"+n},{begin:"#'"+n+"(::"+n+")*"}]},f={begin:"\\(\\s*",end:"\\)"},S={endsWithParent:!0,relevance:0};return f.contains=[{className:"name",variants:[{begin:n,relevance:0},{begin:r}]},S],S.contains=[E,g,f,a,s,o,l,c,_,u,d],{name:"Lisp",illegal:/\S/,contains:[s,e.SHEBANG(),a,o,l,E,g,f,d]}}return Ia=t,Ia}var Oa,ec;function YE(){if(ec)return Oa;ec=1;function t(e){const n={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},r=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],i=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),a=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[n,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[n,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[a,i],relevance:0},{beginKeywords:"command on",end:"$",contains:[n,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i].concat(r),illegal:";$|^\\[|^=|&|\\{"}}return Oa=t,Oa}var ya,tc;function qE(){if(tc)return ya;tc=1;const t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],n=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],a=[].concat(i,n,r);function s(o){const l=["npm","print"],c=["yes","no","on","off","it","that","void"],_=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],d={keyword:t.concat(_),literal:e.concat(c),built_in:a.concat(l)},u="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",p=o.inherit(o.TITLE_MODE,{begin:u}),E={className:"subst",begin:/#\{/,end:/\}/,keywords:d},g={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:d},f=[o.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,E,g]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,E,g]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[E,o.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+u},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];E.contains=f;const S={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(f)}]},T={begin:"(#=>|=>|\\|>>|-?->|!->)"},v={variants:[{match:[/class\s+/,u,/\s+extends\s+/,u]},{match:[/class\s+/,u]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d};return{name:"LiveScript",aliases:["ls"],keywords:d,illegal:/\/\*/,contains:f.concat([o.COMMENT("\\/\\*","\\*\\/"),o.HASH_COMMENT_MODE,T,{className:"function",contains:[p,S],returnBegin:!0,variants:[{begin:"("+u+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+u+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+u+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},v,{begin:u+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return ya=s,ya}var Da,nc;function VE(){if(nc)return Da;nc=1;function t(e){const n=e.regex,r=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},a={className:"operator",relevance:0,begin:/=/},s={className:"punctuation",relevance:0,begin:/,/},o={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},l={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},c={className:"variable",variants:[{begin:n.concat(/%/,r)},{begin:/%\d+/},{begin:/#\d+/}]},_={className:"title",variants:[{begin:n.concat(/@/,r)},{begin:/@\d+/},{begin:n.concat(/!/,r)},{begin:n.concat(/!\d+/,r)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},_,s,a,c,l,o]}}return Da=t,Da}var xa,rc;function HE(){if(rc)return xa;rc=1;function t(e){const r={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},i={className:"number",relevance:0,begin:e.C_NUMBER_RE},a={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},s={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[r,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},i,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},s,a,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return xa=t,xa}var La,ac;function zE(){if(ac)return La;ac=1;function t(e){const n="\\[=*\\[",r="\\]=*\\]",i={begin:n,end:r,contains:["self"]},a=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,r,{contains:[i],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:a.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[i],relevance:5}])}}return La=t,La}var Ma,ic;function WE(){if(ic)return Ma;ic=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{g.has(C[0])||A.ignoreMatch()}},{className:"symbol",relevance:0,begin:E}]},S={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},T={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},v={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},I={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},N={className:"brace",relevance:0,begin:/[[\](){}]/},m={className:"message-name",relevance:0,begin:r.concat("::",E)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[n.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),v,I,m,f,S,n.QUOTE_STRING_MODE,p,T,N]}}return wa=e,wa}var ka,sc;function QE(){if(sc)return ka;sc=1;function t(e){const n="('|\\.')+",r={relevance:0,contains:[{begin:n}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:r},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+n,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:r},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:r},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:r},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return ka=t,ka}var Pa,lc;function $E(){if(lc)return Pa;lc=1;function t(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return Pa=t,Pa}var Ua,cc;function ZE(){if(cc)return Ua;cc=1;function t(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},r,e.C_BLOCK_COMMENT_MODE,i,e.NUMBER_MODE,a,s,{begin:/:-/},{begin:/\.$/}]}}return Fa=t,Fa}var Ba,dc;function JE(){if(dc)return Ba;dc=1;function t(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return Ba=t,Ba}var Ga,uc;function jE(){if(uc)return Ga;uc=1;function t(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return Ga=t,Ga}var Ya,pc;function eS(){if(pc)return Ya;pc=1;function t(e){const n=e.regex,r=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,a={$pattern:/[\w.]+/,keyword:r.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:a},o={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,s,l],_=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],d=(E,g,f="\\1")=>{const S=f==="\\1"?f:n.concat(f,g);return n.concat(n.concat("(?:",E,")"),g,/(?:\\.|[^\\\/])*?/,S,/(?:\\.|[^\\\/])*?/,f,i)},u=(E,g,f)=>n.concat(n.concat("(?:",E,")"),g,/(?:\\.|[^\\\/])*?/,f,i),p=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:d("s|tr|y",n.either(..._,{capture:!0}))},{begin:d("s|tr|y","\\(","\\)")},{begin:d("s|tr|y","\\[","\\]")},{begin:d("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:u("(?:m|qr)?",/\//,/\//)},{begin:u("m|qr",n.either(..._,{capture:!0}),/\1/)},{begin:u("m|qr",/\(/,/\)/)},{begin:u("m|qr",/\[/,/\]/)},{begin:u("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=p,o.contains=p,{name:"Perl",aliases:["pl","pm"],keywords:a,contains:p}}return Ya=t,Ya}var qa,mc;function tS(){if(mc)return qa;mc=1;function t(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return qa=t,qa}var Va,gc;function nS(){if(gc)return Va;gc=1;function t(e){const n={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},r={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},i={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),r,i,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,n]}}return Va=t,Va}var Ha,Ec;function rS(){if(Ec)return Ha;Ec=1;function t(e){const n={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},r="[A-Za-z$_][0-9A-Za-z$_]*",i={className:"subst",begin:/#\{/,end:/\}/,keywords:n},a=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];i.contains=a;const s=e.inherit(e.TITLE_MODE,{begin:r}),o="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:n,contains:["self"].concat(a)}]};return{name:"MoonScript",aliases:["moon"],keywords:n,illegal:/\/\*/,contains:a.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+r+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[s,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[s]},s]},{className:"name",begin:r+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Ha=t,Ha}var za,Sc;function aS(){if(Sc)return za;Sc=1;function t(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return za=t,za}var Wa,fc;function iS(){if(fc)return Wa;fc=1;function t(e){const n={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},r={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},i={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},a={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),a,i,n,r]}}return Wa=t,Wa}var Ka,bc;function oS(){if(bc)return Ka;bc=1;function t(e){const n=e.regex,r={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:n.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},a={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[r]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},r]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:a.contains,keywords:{section:"upstream location"}},{className:"section",begin:n.concat(e.UNDERSCORE_IDENT_RE+n.lookahead(/\s+\{/)),relevance:0},{begin:n.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:a}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return Ka=t,Ka}var Qa,Tc;function sS(){if(Tc)return Qa;Tc=1;function t(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return Qa=t,Qa}var $a,Cc;function lS(){if(Cc)return $a;Cc=1;function t(e){const n={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},r={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},i={className:"char.escape",begin:/''\$/},a={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},s={className:"string",contains:[i,r],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},o=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,a];return r.contains=o,{name:"Nix",aliases:["nixos"],keywords:n,contains:o}}return $a=t,$a}var Za,hc;function cS(){if(hc)return Za;hc=1;function t(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Za=t,Za}var Xa,Rc;function _S(){if(Rc)return Xa;Rc=1;function t(e){const n=e.regex,r=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],i=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],a=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],s={className:"variable.constant",begin:n.concat(/\$/,n.either(...r))},o={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},l={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:!-]+\)/},_={className:"params",begin:n.either(...i)},d={className:"keyword",begin:n.concat(/!/,n.either(...a))},u={className:"char.escape",begin:/\$(\\[nrt]|\$)/},p={className:"title.function",begin:/\w+::\w+/},E={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[u,s,o,l,c]},g=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],f=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],S={match:[/Function/,/\s+/,n.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},v={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:g,literal:f},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),v,S,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},E,d,o,l,c,_,p,e.NUMBER_MODE]}}return Xa=t,Xa}var Ja,vc;function dS(){if(vc)return Ja;vc=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:r,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:r,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Ja=t,Ja}var ja,Nc;function uS(){if(Nc)return ja;Nc=1;function t(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ja=t,ja}var ei,Ac;function pS(){if(Ac)return ei;Ac=1;function t(e){const n={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},r={className:"literal",begin:"false|true|PI|undef"},i={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},o={className:"params",begin:"\\(",end:"\\)",contains:["self",i,a,n,r]},l={begin:"[*!#%]",relevance:0},c={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[o,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,s,a,n,l,c]}}return ei=t,ei}var ti,Ic;function mS(){if(Ic)return ti;Ic=1;function t(e){const n={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},r=e.COMMENT(/\{/,/\}/,{relevance:0}),i=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),a={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},s={className:"string",begin:"(#\\d+)+"},o={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:n,contains:[a,s]},r,i]},l={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:n,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[r,i,e.C_LINE_COMMENT_MODE,a,s,e.NUMBER_MODE,o,l]}}return ti=t,ti}var ni,Oc;function gS(){if(Oc)return ni;Oc=1;function t(e){const n=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[n]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return ni=t,ni}var ri,yc;function ES(){if(yc)return ri;yc=1;function t(e){const n={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},r={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,n,r]}}return ri=t,ri}var ai,Dc;function SS(){if(Dc)return ai;Dc=1;function t(e){const n=e.COMMENT("--","$"),r="[a-zA-Z_][a-zA-Z_0-9$]*",i="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",a="<<\\s*"+r+"\\s*>>",s="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",o="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",c="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",_=c.trim().split(" ").map(function(f){return f.split("|")[0]}).join("|"),d="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",u="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",p="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",g="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(f){return f.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:s+l+o,built_in:d+u+p},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+g+")\\s*\\("},{begin:"\\.("+_+")\\b"},{begin:"\\b("+_+")\\s+PATH\\b",keywords:{keyword:"PATH",type:c.replace("PATH ","")}},{className:"type",begin:"\\b("+_+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:i,end:i,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:a,relevance:10}]}}return ai=t,ai}var ii,xc;function fS(){if(xc)return ii;xc=1;function t(e){const n=e.regex,r=/(?![A-Za-z0-9])(?![$])/,i=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),a=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),s={scope:"variable",match:"\\$+"+i},o={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),_=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(D,V)=>{V.data._beginMatch=D[1]||D[2]},"on:end":(D,V)=>{V.data._beginMatch!==D[1]&&V.ignoreMatch()}},u=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[ -]`,E={scope:"string",variants:[_,c,d,u]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},f=["false","null","true"],S=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],T=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],I={keyword:S,literal:(D=>{const V=[];return D.forEach(k=>{V.push(k),k.toLowerCase()===k?V.push(k.toUpperCase()):V.push(k.toLowerCase())}),V})(f),built_in:T},N=D=>D.map(V=>V.replace(/\|\d+$/,"")),m={variants:[{match:[/new/,n.concat(p,"+"),n.concat("(?!",N(T).join("\\b|"),"\\b)"),a],scope:{1:"keyword",4:"title.class"}}]},C=n.concat(i,"\\b(?!\\()"),A={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),C],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[a,n.concat(/::/,n.lookahead(/(?!class\b)/)),C],scope:{1:"title.class",3:"variable.constant"}},{match:[a,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[a,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},L={scope:"attr",match:n.concat(i,n.lookahead(":"),n.lookahead(/(?!::)/))},Y={relevance:0,begin:/\(/,end:/\)/,keywords:I,contains:[L,s,A,e.C_BLOCK_COMMENT_MODE,E,g,m]},P={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",N(S).join("\\b|"),"|",N(T).join("\\b|"),"\\b)"),i,n.concat(p,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Y]};Y.contains.push(P);const J=[L,A,e.C_BLOCK_COMMENT_MODE,E,g,m],ce={begin:n.concat(/#\[\s*/,a),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:f,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:f,keyword:["new","array"]},contains:["self",...J]},...J,{scope:"meta",match:a}]};return{case_insensitive:!1,keywords:I,contains:[ce,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},o,{scope:"variable.language",match:/\$this\b/},s,P,A,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},m,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:I,contains:["self",s,A,e.C_BLOCK_COMMENT_MODE,E,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},E,g]}}return ii=t,ii}var oi,Lc;function bS(){if(Lc)return oi;Lc=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return oi=t,oi}var si,Mc;function TS(){if(Mc)return si;Mc=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return si=t,si}var li,wc;function CS(){if(wc)return li;wc=1;function t(e){const n={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},r={className:"string",begin:'"""',end:'"""',relevance:10},i={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},a={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},s={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},o={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:n,contains:[s,r,i,a,o,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return li=t,li}var ci,kc;function hS(){if(kc)return ci;kc=1;function t(e){const n=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],r="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",i="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",a={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},s=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},c={className:"literal",begin:/\$(null|true|false)\b/},_={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},d={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},u={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},p=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[u]}),E={className:"built_in",variants:[{begin:"(".concat(r,")+(-)[\\w\\d]+")}]},g={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:s,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},S={begin:/using\s/,end:/$/,returnBegin:!0,contains:[_,d,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},T={variants:[{className:"operator",begin:"(".concat(i,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},v={className:"selector-tag",begin:/@\B/,relevance:0},I={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(a.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},N=[I,p,o,e.NUMBER_MODE,_,d,E,l,c,v],m={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",N,{begin:"("+n.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return I.contains.unshift(m),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:a,contains:N.concat(g,f,S,T,m)}}return ci=t,ci}var _i,Pc;function RS(){if(Pc)return _i;Pc=1;function t(e){const n=e.regex,r=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],i=e.IDENT_RE,a={variants:[{match:n.concat(n.either(...r),n.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:n.concat(/\b(?!for|if|while)/,i,n.lookahead(/\s*\(/)),className:"title.function"}]},s={match:[/new\s+/,i],className:{1:"keyword",2:"class.title"}},o={relevance:0,match:[/\./,i],className:{2:"property"}},l={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,i]},{match:[/class/,/\s+/,i]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},c=["boolean","byte","char","color","double","float","int","long","short"],_=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...r,..._],type:c},contains:[l,s,a,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return _i=t,_i}var di,Uc;function vS(){if(Uc)return di;Uc=1;function t(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return di=t,di}var ui,Fc;function NS(){if(Fc)return ui;Fc=1;function t(e){const n={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},r={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},i={begin:/\(/,end:/\)/,relevance:0},a={begin:/\[/,end:/\]/},s={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},o={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},c={className:"string",begin:/0'\\s/},d=[n,r,i,{begin:/:-/},a,s,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,l,c,e.C_NUMBER_MODE];return i.contains=d,a.contains=d,{name:"Prolog",contains:d.concat([{begin:/\.$/}])}}return ui=t,ui}var pi,Bc;function AS(){if(Bc)return pi;Bc=1;function t(e){const n="[ \\t\\f]*",r="[ \\t\\f]+",i=n+"[:=]"+n,a=r,s="("+i+"|"+a+")",o="([^\\\\:= \\t\\f\\n]|\\\\.)+",l={end:s,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:o+i},{begin:o+a}],contains:[{className:"attr",begin:o,endsParent:!0}],starts:l},{className:"attr",begin:o+n+"$"}]}}return pi=t,pi}var mi,Gc;function IS(){if(Gc)return mi;Gc=1;function t(e){const n=["package","import","option","optional","required","repeated","group","oneof"],r=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],i={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:n,type:r,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return mi=t,mi}var gi,Yc;function OS(){if(Yc)return gi;Yc=1;function t(e){const n={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},r=e.COMMENT("#","$"),i="([A-Za-z_]|::)(\\w|::)*",a=e.inherit(e.TITLE_MODE,{begin:i}),s={className:"variable",begin:"\\$"+i},o={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[r,s,o,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[a,r]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:n,relevance:0,contains:[o,r,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},s]}],relevance:0}]}}return gi=t,gi}var Ei,qc;function yS(){if(qc)return Ei;qc=1;function t(e){const n={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},r={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},n,r]}}return Ei=t,Ei}var Si,Vc;function DS(){if(Vc)return Si;Vc=1;function t(e){const n=e.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},_={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},d={begin:/\{\{/,relevance:0},u={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,d,_]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,d,_]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,d,_]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,_]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",E=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,g=`\\b|${i.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${E}))[eE][+-]?(${p})[jJ]?(?=${g})`},{begin:`(${E})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${p})[jJ](?=${g})`}]},S={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},T={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,f,u,e.HASH_COMMENT_MODE]}]};return _.contains=[u,f,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,f,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},u,S,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[T]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,T,u]}]}}return Si=t,Si}var fi,Hc;function xS(){if(Hc)return fi;Hc=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return fi=t,fi}var bi,zc;function LS(){if(zc)return bi;zc=1;function t(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return bi=t,bi}var Ti,Wc;function MS(){if(Wc)return Ti;Wc=1;function t(e){const n=e.regex,r={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",a={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},l={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},c={begin:n.concat(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:r,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},s,a,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},o,l,c],illegal:/#/}}return Ti=t,Ti}var Ci,Kc;function wS(){if(Kc)return Ci;Kc=1;function t(e){const n=e.regex,r=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),a=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:r,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:r},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[a,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[s,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[r,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:a},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Ci=t,Ci}var hi,Qc;function kS(){if(Qc)return hi;Qc=1;function t(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return hi=t,hi}var Ri,$c;function PS(){if($c)return Ri;$c=1;function t(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),l,c,o,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,c,o,{className:"literal",begin:"\\b("+a.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+i.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+s.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return Ni=t,Ni}var Ai,Jc;function BS(){if(Jc)return Ai;Jc=1;function t(e){const n=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],r=["matrix","float","color","point","normal","vector"],i=["while","for","if","do","return","else","break","extern","continue"],a={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:i,built_in:n,type:r},illegal:""},r]}}return Oi=t,Oi}var yi,t_;function qS(){if(t_)return yi;t_=1;function t(e){const n=e.regex,r=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],i=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],a=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:r},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+n.either(...a)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:n.either(...i)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return yi=t,yi}var Di,n_;function VS(){if(n_)return Di;n_=1;function t(e){const n=e.regex,r={className:"meta",begin:"@[A-Za-z]+"},i={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},a={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[i],relevance:10}]},s={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},o={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:"function",beginKeywords:"def",end:n.lookahead(/[:={\[(\n;]/),contains:[o]},_={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},d={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},u=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],p={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,s,c,l,e.C_NUMBER_MODE,_,d,...u,p,r]}}return Di=t,Di}var xi,r_;function HS(){if(r_)return xi;r_=1;function t(e){const n="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",r="(-|\\+)?\\d+([./]\\d+)?",i=r+"[+\\-]"+r+"i",a={$pattern:n,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},s={className:"literal",begin:"(#t|#f|#\\\\"+n+"|#\\\\.)"},o={className:"number",variants:[{begin:r,relevance:0},{begin:i,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],_={begin:n,relevance:0},d={className:"symbol",begin:"'"+n},u={endsWithParent:!0,relevance:0},p={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",s,l,o,_,d]}]},E={className:"name",relevance:0,begin:n,keywords:a},f={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[E,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[_]}]},E,u]};return u.contains=[s,o,l,_,d,p,f].concat(c),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),o,l,d,p,f].concat(c)}}return xi=t,xi}var Li,a_;function zS(){if(a_)return Li;a_=1;function t(e){const n=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:n},e.COMMENT("//","$")].concat(n)}}return Li=t,Li}var Mi,i_;function WS(){if(i_)return Mi;i_=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(o){const l=t(o),c=i,_=r,d="@[a-z-]+",u="and or not only",E={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+_.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},E,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,E,l.HEXCOLOR,l.CSS_NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:d,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:n.join(" ")},contains:[{begin:d,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},E,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Mi=s,Mi}var wi,o_;function KS(){if(o_)return wi;o_=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return wi=t,wi}var ki,s_;function QS(){if(s_)return ki;s_=1;function t(e){const n=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],r=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],i=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+i.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+n.join("|")+")\\s"},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return ki=t,ki}var Pi,l_;function $S(){if(l_)return Pi;l_=1;function t(e){const n="[a-z][a-zA-Z0-9_]*",r={className:"string",begin:"\\$.{1}"},i={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:n+":",relevance:0},e.C_NUMBER_MODE,i,r,{begin:"\\|[ ]*"+n+"([ ]+"+n+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+n}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,r,e.C_NUMBER_MODE,i]}]}}return Pi=t,Pi}var Ui,c_;function ZS(){if(c_)return Ui;c_=1;function t(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return Ui=t,Ui}var Fi,__;function XS(){if(__)return Fi;__=1;function t(e){const n={className:"variable",begin:/\b_+[a-zA-Z]\w*/},r={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},i={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},a=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],s=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],o=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(i,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:a,built_in:o,literal:s},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,n,r,i,l],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return Fi=t,Fi}var Bi,d_;function JS(){if(d_)return Bi;d_=1;function t(e){const n=e.regex,r=e.COMMENT("--","$"),i={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},a={begin:/"/,end:/"/,contains:[{begin:/""/}]},s=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],_=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],d=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],u=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],p=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],E=d,g=[..._,...c].filter(I=>!d.includes(I)),f={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},S={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},T={begin:n.concat(/\b/,n.either(...E),/\s*\(/),relevance:0,keywords:{built_in:E}};function v(I,{exceptions:N,when:m}={}){const C=m;return N=N||[],I.map(A=>A.match(/\|\d+$/)||N.includes(A)?A:C(A)?`${A}|0`:A)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:v(g,{when:I=>I.length<3}),literal:s,type:l,built_in:u},contains:[{begin:n.either(...p),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:g.concat(p),literal:s,type:l}},{className:"type",begin:n.either(...o)},T,f,i,a,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,r,S]}}return Bi=t,Bi}var Gi,u_;function jS(){if(u_)return Gi;u_=1;function t(e){const n=e.regex,r=["functions","model","data","parameters","quantities","transformed","generated"],i=["for","in","if","else","while","break","continue","return"],a=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],s=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],o=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],l=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),c={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},_=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:r,type:a,keyword:i,built_in:s},contains:[e.C_LINE_COMMENT_MODE,c,e.HASH_COMMENT_MODE,l,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:n.concat(/[<,]\s*/,n.either(..._),/\s*=/),keywords:_},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,n.either(...o),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:o,begin:n.concat(/\w*/,n.either(...o),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,n.concat(n.either(...o),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+n.either(...o)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:n.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return Gi=t,Gi}var Yi,p_;function ef(){if(p_)return Yi;p_=1;function t(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r -]*?"'`},{begin:`"[^\r -"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Yi=t,Yi}var qi,m_;function tf(){if(m_)return qi;m_=1;function t(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return qi=t,qi}var Vi,g_;function nf(){if(g_)return Vi;g_=1;const t=o=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:o.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[o.APOS_STRING_MODE,o.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:o.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],i=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],a=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function s(o){const l=t(o),c="and or not only",_={className:"variable",begin:"\\$"+o.IDENT_RE},d=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],u="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+u,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+u,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+u,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+r.join("|")+")"+u},{className:"selector-pseudo",begin:"&?:(:)?("+i.join("|")+")"+u},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:c,attribute:n.join(" ")},contains:[l.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+d.join("|")+"))\\b"},_,l.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,_,o.APOS_STRING_MODE,l.CSS_NUMBER_MODE,o.QUOTE_STRING_MODE]}]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+a.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,_,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,l.CSS_NUMBER_MODE,o.C_BLOCK_COMMENT_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},l.FUNCTION_DISPATCH]}}return Vi=s,Vi}var Hi,E_;function rf(){if(E_)return Hi;E_=1;function t(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ -(multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return Hi=t,Hi}var zi,S_;function af(){if(S_)return zi;S_=1;function t(A){return A?typeof A=="string"?A:A.source:null}function e(A){return n("(?=",A,")")}function n(...A){return A.map(Y=>t(Y)).join("")}function r(A){const L=A[A.length-1];return typeof L=="object"&&L.constructor===Object?(A.splice(A.length-1,1),L):{}}function i(...A){return"("+(r(A).capture?"":"?:")+A.map(P=>t(P)).join("|")+")"}const a=A=>n(/\b/,A,/\w$/.test(A)?/\b/:/\B/),s=["Protocol","Type"].map(a),o=["init","self"].map(a),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],_=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],u=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],p=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],E=i(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=i(E,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),f=n(E,g,"*"),S=i(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),T=i(S,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),v=n(S,T,"*"),I=n(/[A-Z]/,T,"*"),N=["attached","autoclosure",n(/convention\(/,i("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,v,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],m=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function C(A){const L={match:/\s+/,relevance:0},Y=A.COMMENT("/\\*","\\*/",{contains:["self"]}),P=[A.C_LINE_COMMENT_MODE,Y],J={match:[/\./,i(...s,...o)],className:{2:"keyword"}},ce={match:n(/\./,i(...c)),relevance:0},D=c.filter(ge=>typeof ge=="string").concat(["_|0"]),V=c.filter(ge=>typeof ge!="string").concat(l).map(a),k={variants:[{className:"keyword",match:i(...V,...o)}]},R={$pattern:i(/\b\w+/,/#\w+/),keyword:D.concat(u),literal:_},x=[J,ce,k],Q={match:n(/\./,i(...p)),relevance:0},ae={className:"built_in",match:n(/\b/,i(...p),/(?=\()/)},_e=[Q,ae],G={match:/->/,relevance:0},q={className:"operator",relevance:0,variants:[{match:f},{match:`\\.(\\.|${g})+`}]},re=[G,q],j="([0-9]_*)+",ie="([0-9a-fA-F]_*)+",Se={className:"number",relevance:0,variants:[{match:`\\b(${j})(\\.(${j}))?([eE][+-]?(${j}))?\\b`},{match:`\\b0x(${ie})(\\.(${ie}))?([pP][+-]?(${j}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},pe=(ge="")=>({className:"subst",variants:[{match:n(/\\/,ge,/[0\\tnr"']/)},{match:n(/\\/,ge,/u\{[0-9a-fA-F]{1,8}\}/)}]}),$=(ge="")=>({className:"subst",match:n(/\\/,ge,/[\t ]*(?:[\r\n]|\r\n)/)}),se=(ge="")=>({className:"subst",label:"interpol",begin:n(/\\/,ge,/\(/),end:/\)/}),K=(ge="")=>({begin:n(ge,/"""/),end:n(/"""/,ge),contains:[pe(ge),$(ge),se(ge)]}),Re=(ge="")=>({begin:n(ge,/"/),end:n(/"/,ge),contains:[pe(ge),se(ge)]}),Le={className:"string",variants:[K(),K("#"),K("##"),K("###"),Re(),Re("#"),Re("##"),Re("###")]},Pe=[A.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[A.BACKSLASH_ESCAPE]}],Ye={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Pe},Ae=ge=>{const Ke=n(ge,/\//),be=n(/\//,ge);return{begin:Ke,end:be,contains:[...Pe,{scope:"comment",begin:`#(?!.*${be})`,end:/$/}]}},Xe={scope:"regexp",variants:[Ae("###"),Ae("##"),Ae("#"),Ye]},Me={match:n(/`/,v,/`/)},te={className:"variable",match:/\$\d+/},We={className:"variable",match:`\\$${T}+`},he=[Me,te,We],me={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:m,contains:[...re,Se,Le]}]}},qe={scope:"keyword",match:n(/@/,i(...N))},xe={scope:"meta",match:n(/@/,v)},Ne=[me,qe,xe],Ie={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,T,"+")},{className:"type",match:I,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(I)),relevance:0}]},z={begin://,keywords:R,contains:[...P,...x,...Ne,G,Ie]};Ie.contains.push(z);const B={match:n(v,/\s*:/),keywords:"_|0",relevance:0},oe={begin:/\(/,end:/\)/,relevance:0,keywords:R,contains:["self",B,...P,Xe,...x,..._e,...re,Se,Le,...he,...Ne,Ie]},ue={begin://,keywords:"repeat each",contains:[...P,Ie]},ve={begin:i(e(n(v,/\s*:/)),e(n(v,/\s+/,v,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:v}]},Oe={begin:/\(/,end:/\)/,keywords:R,contains:[ve,...P,...x,...re,Se,Le,...Ne,Ie,oe],endsParent:!0,illegal:/["']/},lt={match:[/(func|macro)/,/\s+/,i(Me.match,v,f)],className:{1:"keyword",3:"title.function"},contains:[ue,Oe,L],illegal:[/\[/,/%/]},tt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ue,Oe,L],illegal:/\[|%/},dt={match:[/operator/,/\s+/,f],className:{1:"keyword",3:"title"}},ct={begin:[/precedencegroup/,/\s+/,I],className:{1:"keyword",3:"title"},contains:[Ie],keywords:[...d,..._],end:/}/};for(const ge of Le.variants){const Ke=ge.contains.find(we=>we.label==="interpol");Ke.keywords=R;const be=[...x,..._e,...re,Se,Le,...he];Ke.contains=[...be,{begin:/\(/,end:/\)/,contains:["self",...be]}]}return{name:"Swift",keywords:R,contains:[...P,lt,tt,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:R,contains:[A.inherit(A.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...x]},dt,ct,{beginKeywords:"import",end:/$/,contains:[...P],relevance:0},Xe,...x,..._e,...re,Se,Le,...he,...Ne,Ie,oe]}}return zi=C,zi}var Wi,f_;function of(){if(f_)return Wi;f_=1;function t(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return Wi=t,Wi}var Ki,b_;function sf(){if(b_)return Ki;b_=1;function t(e){const n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},a={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,a]},o=e.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",_="(\\.[0-9]*)?",d="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",u={className:"number",begin:"\\b"+l+c+_+d+"\\b"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},E={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},f=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},u,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},E,g,s],S=[...f];return S.pop(),S.push(o),p.contains=S,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:f}}return Ki=t,Ki}var Qi,T_;function lf(){if(T_)return Qi;T_=1;function t(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return Qi=t,Qi}var $i,C_;function cf(){if(C_)return $i;C_=1;function t(e){const n=e.regex,r=/[a-zA-Z_][a-zA-Z0-9_]*/,i={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:n.concat(/\$/,n.optional(/::/),r,"(::",r,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[i]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i]}}return $i=t,$i}var Zi,h_;function _f(){if(h_)return Zi;h_=1;function t(e){const n=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:n,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...n,"set","list","map"]},end:">",contains:["self"]}]}}return Zi=t,Zi}var Xi,R_;function df(){if(R_)return Xi;R_=1;function t(e){const n={className:"number",begin:"[1-9][0-9]*",relevance:0},r={className:"symbol",begin:":[^\\]]+"},i={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",n,r]},a={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",n,e.QUOTE_STRING_MODE,r]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[i,a,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return Xi=t,Xi}var Ji,v_;function uf(){if(v_)return Ji;v_=1;function t(e){const n=e.regex,r=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],i=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let a=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];a=a.concat(a.map(g=>`end${g}`));const s={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},o={scope:"number",match:/\d+/},l={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[s,o]},c={beginKeywords:r.join(" "),keywords:{name:r},relevance:0,contains:[l]},_={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:i}]},d=(g,{relevance:f})=>({beginScope:{1:"template-tag",3:"name"},relevance:f||2,endScope:"template-tag",begin:[/\{%/,/\s*/,n.either(...g)],end:/%\}/,keywords:"in",contains:[_,c,s,o]}),u=/[a-z_]+/,p=d(a,{relevance:2}),E=d([u],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),p,E,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",_,c,s,o]}]}}return Ji=t,Ji}var ji,N_;function pf(){if(N_)return ji;N_=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],i=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],s=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],o=[].concat(a,r,i);function l(_){const d=_.regex,u=(pe,{after:$})=>{const se="",end:""},g=/<[A-Za-z0-9\\._:-]+\s*\/>/,f={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(pe,$)=>{const se=pe[0].length+pe.index,K=pe.input[se];if(K==="<"||K===","){$.ignoreMatch();return}K===">"&&(u(pe,{after:se})||$.ignoreMatch());let Re;const Le=pe.input.substring(se);if(Re=Le.match(/^\s*=/)){$.ignoreMatch();return}if((Re=Le.match(/^\s+extends\s+/))&&Re.index===0){$.ignoreMatch();return}}},S={$pattern:t,keyword:e,literal:n,built_in:o,"variable.language":s},T="[0-9](_?[0-9])*",v=`\\.(${T})`,I="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",N={className:"number",variants:[{begin:`(\\b(${I})((${v})|\\.)?|(${v}))[eE][+-]?(${T})\\b`},{begin:`\\b(${I})\\b((${v})\\b|\\.)?|(${v})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},m={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},C={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,m],subLanguage:"xml"}},A={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,m],subLanguage:"css"}},L={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,m],subLanguage:"graphql"}},Y={className:"string",begin:"`",end:"`",contains:[_.BACKSLASH_ESCAPE,m]},J={className:"comment",variants:[_.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),_.C_BLOCK_COMMENT_MODE,_.C_LINE_COMMENT_MODE]},ce=[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,C,A,L,Y,{match:/\$\d+/},N];m.contains=ce.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(ce)});const D=[].concat(J,m.contains),V=D.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(D)}]),k={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V},R={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,d.concat(p,"(",d.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...r,...i]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ae={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},_e={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function G(pe){return d.concat("(?!",pe.join("|"),")")}const q={match:d.concat(/\b/,G([...a,"super","import"]),p,d.lookahead(/\(/)),className:"title.function",relevance:0},re={begin:d.concat(/\./,d.lookahead(d.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},j={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},ie="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+_.UNDERSCORE_IDENT_RE+")\\s*=>",Se={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(ie)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[_.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,C,A,L,Y,J,{match:/\$\d+/},N,x,{className:"attr",begin:p+d.lookahead(":"),relevance:0},Se,{begin:"("+_.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[J,_.REGEXP_MODE,{className:"function",begin:ie,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:_.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:E.begin,end:E.end},{match:g},{begin:f.begin,"on:begin":f.isTrulyOpeningTag,end:f.end}],subLanguage:"xml",contains:[{begin:f.begin,end:f.end,skip:!0,contains:["self"]}]}]},ae,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+_.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,_.inherit(_.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},re,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},q,_e,R,j,{match:/\$[(.]/}]}}function c(_){const d=l(_),u=t,p=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],E={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[d.exports.CLASS_REFERENCE]},g={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:p},contains:[d.exports.CLASS_REFERENCE]},f={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},S=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],T={$pattern:t,keyword:e.concat(S),literal:n,built_in:o.concat(p),"variable.language":s},v={className:"meta",begin:"@"+u},I=(m,C,A)=>{const L=m.contains.findIndex(Y=>Y.label===C);if(L===-1)throw new Error("can not find mode to replace");m.contains.splice(L,1,A)};Object.assign(d.keywords,T),d.exports.PARAMS_CONTAINS.push(v),d.contains=d.contains.concat([v,E,g]),I(d,"shebang",_.SHEBANG()),I(d,"use_strict",f);const N=d.contains.find(m=>m.label==="func.def");return N.relevance=0,Object.assign(d,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),d}return ji=c,ji}var eo,A_;function mf(){if(A_)return eo;A_=1;function t(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return eo=t,eo}var to,I_;function gf(){if(I_)return to;I_=1;function t(e){const n=e.regex,r={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},a=/\d{1,2}\/\d{1,2}\/\d{4}/,s=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(s,a),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,o,/ *#/)},{begin:n.concat(/# */,n.either(s,a),/ +/,n.either(o,l),/ *#/)}]},_={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},d={className:"label",begin:/^\w+:/},u=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),p=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[r,i,c,_,d,u,p,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[p]}]}}return to=t,to}var no,O_;function Ef(){if(O_)return no;O_=1;function t(e){const n=e.regex,r=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],i=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],a={begin:n.concat(n.either(...r),"\\s*\\("),relevance:0,keywords:{built_in:r}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:i,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[a,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return no=t,no}var ro,y_;function Sf(){if(y_)return ro;y_=1;function t(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return ro=t,ro}var ao,D_;function ff(){if(D_)return ao;D_=1;function t(e){const n=e.regex,r={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},i=["__FILE__","__LINE__"],a=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:r,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:n.concat(/`/,n.either(...i))},{scope:"meta",begin:n.concat(/`/,n.either(...a)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:a}]}}return ao=t,ao}var io,x_;function bf(){if(x_)return io;x_=1;function t(e){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,i=n+"(\\."+n+")?("+r+")?",a="\\w+",o="\\b("+(n+"#"+a+"(\\."+a+")?#("+r+")?")+"|"+i+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:o,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return io=t,io}var oo,L_;function Tf(){if(L_)return oo;L_=1;function t(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return oo=t,oo}var so,M_;function Cf(){if(M_)return so;M_=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const r=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],a={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},s={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},_={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[r,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},s,o,a,e.QUOTE_STRING_MODE,c,_,l]}}return so=t,so}var lo,w_;function hf(){if(w_)return lo;w_=1;function t(e){const n=e.regex,r=/[a-zA-Z]\w*/,i=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],a=["true","false","null"],s=["this","super"],o=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],l=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],c={relevance:0,match:n.concat(/\b(?!(if|while|for|else|super)\b)/,r,/(?=\s*[({])/),className:"title.function"},_={match:n.concat(n.either(n.concat(/\b(?!(if|while|for|else|super)\b)/,r),n.either(...l)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:r}]}]}},d={variants:[{match:[/class\s+/,r,/\s+is\s+/,r]},{match:[/class\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},u={relevance:0,match:n.either(...l),className:"operator"},p={className:"string",begin:/"""/,end:/"""/},E={className:"property",begin:n.concat(/\./,n.lookahead(r)),end:r,excludeBegin:!0,relevance:0},g={relevance:0,match:n.concat(/\b_/,r),scope:"variable"},f={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:o}},S=e.C_NUMBER_MODE,T={match:[r,/\s*/,/=/,/\s*/,/\(/,r,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},v=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),I={scope:"subst",begin:/%\(/,end:/\)/,contains:[S,f,c,g,u]},N={scope:"string",begin:/"/,end:/"/,contains:[I,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};I.contains.push(N);const m=[...i,...s,...a],C={relevance:0,match:n.concat("\\b(?!",m.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:i,"variable.language":s,literal:a},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:a},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},S,N,p,v,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,d,T,_,c,u,g,E,C]}}return lo=t,lo}var co,k_;function Rf(){if(k_)return co;k_=1;function t(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return co=t,co}var _o,P_;function vf(){if(P_)return _o;P_=1;function t(e){const n=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],r=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],i=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],s={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:n,literal:["true","false","nil"],built_in:r.concat(i)},o={className:"string",begin:'"',end:'"',illegal:"\\n"},l={className:"string",begin:"'",end:"'",illegal:"\\n"},c={className:"string",begin:"<<",end:">>"},_={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},d={beginKeywords:"import",end:"$",keywords:s,contains:[o]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:s}})]};return{name:"XL",aliases:["tao"],keywords:s,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,l,c,u,d,_,e.NUMBER_MODE]}}return _o=t,_o}var uo,U_;function Nf(){if(U_)return uo;U_=1;function t(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return uo=t,uo}var po,F_;function Af(){if(F_)return po;F_=1;function t(e){const n={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r=e.UNDERSCORE_TITLE_MODE,i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},a="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[r,{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:["self",e.C_BLOCK_COMMENT_MODE,n,i]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},r]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[r]},{beginKeywords:"use",end:/;/,contains:[r]},{begin:/=>/},n,i]}}return po=t,po}var h=$m;h.registerLanguage("1c",Zm());h.registerLanguage("abnf",Xm());h.registerLanguage("accesslog",Jm());h.registerLanguage("actionscript",jm());h.registerLanguage("ada",eg());h.registerLanguage("angelscript",tg());h.registerLanguage("apache",ng());h.registerLanguage("applescript",rg());h.registerLanguage("arcade",ag());h.registerLanguage("arduino",ig());h.registerLanguage("armasm",og());h.registerLanguage("xml",sg());h.registerLanguage("asciidoc",lg());h.registerLanguage("aspectj",cg());h.registerLanguage("autohotkey",_g());h.registerLanguage("autoit",dg());h.registerLanguage("avrasm",ug());h.registerLanguage("awk",pg());h.registerLanguage("axapta",mg());h.registerLanguage("bash",gg());h.registerLanguage("basic",Eg());h.registerLanguage("bnf",Sg());h.registerLanguage("brainfuck",fg());h.registerLanguage("c",bg());h.registerLanguage("cal",Tg());h.registerLanguage("capnproto",Cg());h.registerLanguage("ceylon",hg());h.registerLanguage("clean",Rg());h.registerLanguage("clojure",vg());h.registerLanguage("clojure-repl",Ng());h.registerLanguage("cmake",Ag());h.registerLanguage("coffeescript",Ig());h.registerLanguage("coq",Og());h.registerLanguage("cos",yg());h.registerLanguage("cpp",Dg());h.registerLanguage("crmsh",xg());h.registerLanguage("crystal",Lg());h.registerLanguage("csharp",Mg());h.registerLanguage("csp",wg());h.registerLanguage("css",kg());h.registerLanguage("d",Pg());h.registerLanguage("markdown",Ug());h.registerLanguage("dart",Fg());h.registerLanguage("delphi",Bg());h.registerLanguage("diff",Gg());h.registerLanguage("django",Yg());h.registerLanguage("dns",qg());h.registerLanguage("dockerfile",Vg());h.registerLanguage("dos",Hg());h.registerLanguage("dsconfig",zg());h.registerLanguage("dts",Wg());h.registerLanguage("dust",Kg());h.registerLanguage("ebnf",Qg());h.registerLanguage("elixir",$g());h.registerLanguage("elm",Zg());h.registerLanguage("ruby",Xg());h.registerLanguage("erb",Jg());h.registerLanguage("erlang-repl",jg());h.registerLanguage("erlang",eE());h.registerLanguage("excel",tE());h.registerLanguage("fix",nE());h.registerLanguage("flix",rE());h.registerLanguage("fortran",aE());h.registerLanguage("fsharp",iE());h.registerLanguage("gams",oE());h.registerLanguage("gauss",sE());h.registerLanguage("gcode",lE());h.registerLanguage("gherkin",cE());h.registerLanguage("glsl",_E());h.registerLanguage("gml",dE());h.registerLanguage("go",uE());h.registerLanguage("golo",pE());h.registerLanguage("gradle",mE());h.registerLanguage("graphql",gE());h.registerLanguage("groovy",EE());h.registerLanguage("haml",SE());h.registerLanguage("handlebars",fE());h.registerLanguage("haskell",bE());h.registerLanguage("haxe",TE());h.registerLanguage("hsp",CE());h.registerLanguage("http",hE());h.registerLanguage("hy",RE());h.registerLanguage("inform7",vE());h.registerLanguage("ini",NE());h.registerLanguage("irpf90",AE());h.registerLanguage("isbl",IE());h.registerLanguage("java",OE());h.registerLanguage("javascript",yE());h.registerLanguage("jboss-cli",DE());h.registerLanguage("json",xE());h.registerLanguage("julia",LE());h.registerLanguage("julia-repl",ME());h.registerLanguage("kotlin",wE());h.registerLanguage("lasso",kE());h.registerLanguage("latex",PE());h.registerLanguage("ldif",UE());h.registerLanguage("leaf",FE());h.registerLanguage("less",BE());h.registerLanguage("lisp",GE());h.registerLanguage("livecodeserver",YE());h.registerLanguage("livescript",qE());h.registerLanguage("llvm",VE());h.registerLanguage("lsl",HE());h.registerLanguage("lua",zE());h.registerLanguage("makefile",WE());h.registerLanguage("mathematica",KE());h.registerLanguage("matlab",QE());h.registerLanguage("maxima",$E());h.registerLanguage("mel",ZE());h.registerLanguage("mercury",XE());h.registerLanguage("mipsasm",JE());h.registerLanguage("mizar",jE());h.registerLanguage("perl",eS());h.registerLanguage("mojolicious",tS());h.registerLanguage("monkey",nS());h.registerLanguage("moonscript",rS());h.registerLanguage("n1ql",aS());h.registerLanguage("nestedtext",iS());h.registerLanguage("nginx",oS());h.registerLanguage("nim",sS());h.registerLanguage("nix",lS());h.registerLanguage("node-repl",cS());h.registerLanguage("nsis",_S());h.registerLanguage("objectivec",dS());h.registerLanguage("ocaml",uS());h.registerLanguage("openscad",pS());h.registerLanguage("oxygene",mS());h.registerLanguage("parser3",gS());h.registerLanguage("pf",ES());h.registerLanguage("pgsql",SS());h.registerLanguage("php",fS());h.registerLanguage("php-template",bS());h.registerLanguage("plaintext",TS());h.registerLanguage("pony",CS());h.registerLanguage("powershell",hS());h.registerLanguage("processing",RS());h.registerLanguage("profile",vS());h.registerLanguage("prolog",NS());h.registerLanguage("properties",AS());h.registerLanguage("protobuf",IS());h.registerLanguage("puppet",OS());h.registerLanguage("purebasic",yS());h.registerLanguage("python",DS());h.registerLanguage("python-repl",xS());h.registerLanguage("q",LS());h.registerLanguage("qml",MS());h.registerLanguage("r",wS());h.registerLanguage("reasonml",kS());h.registerLanguage("rib",PS());h.registerLanguage("roboconf",US());h.registerLanguage("routeros",FS());h.registerLanguage("rsl",BS());h.registerLanguage("ruleslanguage",GS());h.registerLanguage("rust",YS());h.registerLanguage("sas",qS());h.registerLanguage("scala",VS());h.registerLanguage("scheme",HS());h.registerLanguage("scilab",zS());h.registerLanguage("scss",WS());h.registerLanguage("shell",KS());h.registerLanguage("smali",QS());h.registerLanguage("smalltalk",$S());h.registerLanguage("sml",ZS());h.registerLanguage("sqf",XS());h.registerLanguage("sql",JS());h.registerLanguage("stan",jS());h.registerLanguage("stata",ef());h.registerLanguage("step21",tf());h.registerLanguage("stylus",nf());h.registerLanguage("subunit",rf());h.registerLanguage("swift",af());h.registerLanguage("taggerscript",of());h.registerLanguage("yaml",sf());h.registerLanguage("tap",lf());h.registerLanguage("tcl",cf());h.registerLanguage("thrift",_f());h.registerLanguage("tp",df());h.registerLanguage("twig",uf());h.registerLanguage("typescript",pf());h.registerLanguage("vala",mf());h.registerLanguage("vbnet",gf());h.registerLanguage("vbscript",Ef());h.registerLanguage("vbscript-html",Sf());h.registerLanguage("verilog",ff());h.registerLanguage("vhdl",bf());h.registerLanguage("vim",Tf());h.registerLanguage("wasm",Cf());h.registerLanguage("wren",hf());h.registerLanguage("x86asm",Rf());h.registerLanguage("xl",vf());h.registerLanguage("xquery",Nf());h.registerLanguage("zephir",Af());h.HighlightJS=h;h.default=h;var If=h;const Ge=Rn(If);var Ce={};const Of="Á",yf="á",Df="Ă",xf="ă",Lf="∾",Mf="∿",wf="∾̳",kf="Â",Pf="â",Uf="´",Ff="А",Bf="а",Gf="Æ",Yf="æ",qf="⁡",Vf="𝔄",Hf="𝔞",zf="À",Wf="à",Kf="ℵ",Qf="ℵ",$f="Α",Zf="α",Xf="Ā",Jf="ā",jf="⨿",eb="&",tb="&",nb="⩕",rb="⩓",ab="∧",ib="⩜",ob="⩘",sb="⩚",lb="∠",cb="⦤",_b="∠",db="⦨",ub="⦩",pb="⦪",mb="⦫",gb="⦬",Eb="⦭",Sb="⦮",fb="⦯",bb="∡",Tb="∟",Cb="⊾",hb="⦝",Rb="∢",vb="Å",Nb="⍼",Ab="Ą",Ib="ą",Ob="𝔸",yb="𝕒",Db="⩯",xb="≈",Lb="⩰",Mb="≊",wb="≋",kb="'",Pb="⁡",Ub="≈",Fb="≊",Bb="Å",Gb="å",Yb="𝒜",qb="𝒶",Vb="≔",Hb="*",zb="≈",Wb="≍",Kb="Ã",Qb="ã",$b="Ä",Zb="ä",Xb="∳",Jb="⨑",jb="≌",eT="϶",tT="‵",nT="∽",rT="⋍",aT="∖",iT="⫧",oT="⊽",sT="⌅",lT="⌆",cT="⌅",_T="⎵",dT="⎶",uT="≌",pT="Б",mT="б",gT="„",ET="∵",ST="∵",fT="∵",bT="⦰",TT="϶",CT="ℬ",hT="ℬ",RT="Β",vT="β",NT="ℶ",AT="≬",IT="𝔅",OT="𝔟",yT="⋂",DT="◯",xT="⋃",LT="⨀",MT="⨁",wT="⨂",kT="⨆",PT="★",UT="▽",FT="△",BT="⨄",GT="⋁",YT="⋀",qT="⤍",VT="⧫",HT="▪",zT="▴",WT="▾",KT="◂",QT="▸",$T="␣",ZT="▒",XT="░",JT="▓",jT="█",eC="=⃥",tC="≡⃥",nC="⫭",rC="⌐",aC="𝔹",iC="𝕓",oC="⊥",sC="⊥",lC="⋈",cC="⧉",_C="┐",dC="╕",uC="╖",pC="╗",mC="┌",gC="╒",EC="╓",SC="╔",fC="─",bC="═",TC="┬",CC="╤",hC="╥",RC="╦",vC="┴",NC="╧",AC="╨",IC="╩",OC="⊟",yC="⊞",DC="⊠",xC="┘",LC="╛",MC="╜",wC="╝",kC="└",PC="╘",UC="╙",FC="╚",BC="│",GC="║",YC="┼",qC="╪",VC="╫",HC="╬",zC="┤",WC="╡",KC="╢",QC="╣",$C="├",ZC="╞",XC="╟",JC="╠",jC="‵",eh="˘",th="˘",nh="¦",rh="𝒷",ah="ℬ",ih="⁏",oh="∽",sh="⋍",lh="⧅",ch="\\",_h="⟈",dh="•",uh="•",ph="≎",mh="⪮",gh="≏",Eh="≎",Sh="≏",fh="Ć",bh="ć",Th="⩄",Ch="⩉",hh="⩋",Rh="∩",vh="⋒",Nh="⩇",Ah="⩀",Ih="ⅅ",Oh="∩︀",yh="⁁",Dh="ˇ",xh="ℭ",Lh="⩍",Mh="Č",wh="č",kh="Ç",Ph="ç",Uh="Ĉ",Fh="ĉ",Bh="∰",Gh="⩌",Yh="⩐",qh="Ċ",Vh="ċ",Hh="¸",zh="¸",Wh="⦲",Kh="¢",Qh="·",$h="·",Zh="𝔠",Xh="ℭ",Jh="Ч",jh="ч",eR="✓",tR="✓",nR="Χ",rR="χ",aR="ˆ",iR="≗",oR="↺",sR="↻",lR="⊛",cR="⊚",_R="⊝",dR="⊙",uR="®",pR="Ⓢ",mR="⊖",gR="⊕",ER="⊗",SR="○",fR="⧃",bR="≗",TR="⨐",CR="⫯",hR="⧂",RR="∲",vR="”",NR="’",AR="♣",IR="♣",OR=":",yR="∷",DR="⩴",xR="≔",LR="≔",MR=",",wR="@",kR="∁",PR="∘",UR="∁",FR="ℂ",BR="≅",GR="⩭",YR="≡",qR="∮",VR="∯",HR="∮",zR="𝕔",WR="ℂ",KR="∐",QR="∐",$R="©",ZR="©",XR="℗",JR="∳",jR="↵",ev="✗",tv="⨯",nv="𝒞",rv="𝒸",av="⫏",iv="⫑",ov="⫐",sv="⫒",lv="⋯",cv="⤸",_v="⤵",dv="⋞",uv="⋟",pv="↶",mv="⤽",gv="⩈",Ev="⩆",Sv="≍",fv="∪",bv="⋓",Tv="⩊",Cv="⊍",hv="⩅",Rv="∪︀",vv="↷",Nv="⤼",Av="⋞",Iv="⋟",Ov="⋎",yv="⋏",Dv="¤",xv="↶",Lv="↷",Mv="⋎",wv="⋏",kv="∲",Pv="∱",Uv="⌭",Fv="†",Bv="‡",Gv="ℸ",Yv="↓",qv="↡",Vv="⇓",Hv="‐",zv="⫤",Wv="⊣",Kv="⤏",Qv="˝",$v="Ď",Zv="ď",Xv="Д",Jv="д",jv="‡",eN="⇊",tN="ⅅ",nN="ⅆ",rN="⤑",aN="⩷",iN="°",oN="∇",sN="Δ",lN="δ",cN="⦱",_N="⥿",dN="𝔇",uN="𝔡",pN="⥥",mN="⇃",gN="⇂",EN="´",SN="˙",fN="˝",bN="`",TN="˜",CN="⋄",hN="⋄",RN="⋄",vN="♦",NN="♦",AN="¨",IN="ⅆ",ON="ϝ",yN="⋲",DN="÷",xN="÷",LN="⋇",MN="⋇",wN="Ђ",kN="ђ",PN="⌞",UN="⌍",FN="$",BN="𝔻",GN="𝕕",YN="¨",qN="˙",VN="⃜",HN="≐",zN="≑",WN="≐",KN="∸",QN="∔",$N="⊡",ZN="⌆",XN="∯",JN="¨",jN="⇓",eA="⇐",tA="⇔",nA="⫤",rA="⟸",aA="⟺",iA="⟹",oA="⇒",sA="⊨",lA="⇑",cA="⇕",_A="∥",dA="⤓",uA="↓",pA="↓",mA="⇓",gA="⇵",EA="̑",SA="⇊",fA="⇃",bA="⇂",TA="⥐",CA="⥞",hA="⥖",RA="↽",vA="⥟",NA="⥗",AA="⇁",IA="↧",OA="⊤",yA="⤐",DA="⌟",xA="⌌",LA="𝒟",MA="𝒹",wA="Ѕ",kA="ѕ",PA="⧶",UA="Đ",FA="đ",BA="⋱",GA="▿",YA="▾",qA="⇵",VA="⥯",HA="⦦",zA="Џ",WA="џ",KA="⟿",QA="É",$A="é",ZA="⩮",XA="Ě",JA="ě",jA="Ê",eI="ê",tI="≖",nI="≕",rI="Э",aI="э",iI="⩷",oI="Ė",sI="ė",lI="≑",cI="ⅇ",_I="≒",dI="𝔈",uI="𝔢",pI="⪚",mI="È",gI="è",EI="⪖",SI="⪘",fI="⪙",bI="∈",TI="⏧",CI="ℓ",hI="⪕",RI="⪗",vI="Ē",NI="ē",AI="∅",II="∅",OI="◻",yI="∅",DI="▫",xI=" ",LI=" ",MI=" ",wI="Ŋ",kI="ŋ",PI=" ",UI="Ę",FI="ę",BI="𝔼",GI="𝕖",YI="⋕",qI="⧣",VI="⩱",HI="ε",zI="Ε",WI="ε",KI="ϵ",QI="≖",$I="≕",ZI="≂",XI="⪖",JI="⪕",jI="⩵",eO="=",tO="≂",nO="≟",rO="⇌",aO="≡",iO="⩸",oO="⧥",sO="⥱",lO="≓",cO="ℯ",_O="ℰ",dO="≐",uO="⩳",pO="≂",mO="Η",gO="η",EO="Ð",SO="ð",fO="Ë",bO="ë",TO="€",CO="!",hO="∃",RO="∃",vO="ℰ",NO="ⅇ",AO="ⅇ",IO="≒",OO="Ф",yO="ф",DO="♀",xO="ffi",LO="ff",MO="ffl",wO="𝔉",kO="𝔣",PO="fi",UO="◼",FO="▪",BO="fj",GO="♭",YO="fl",qO="▱",VO="ƒ",HO="𝔽",zO="𝕗",WO="∀",KO="∀",QO="⋔",$O="⫙",ZO="ℱ",XO="⨍",JO="½",jO="⅓",ey="¼",ty="⅕",ny="⅙",ry="⅛",ay="⅔",iy="⅖",oy="¾",sy="⅗",ly="⅜",cy="⅘",_y="⅚",dy="⅝",uy="⅞",py="⁄",my="⌢",gy="𝒻",Ey="ℱ",Sy="ǵ",fy="Γ",by="γ",Ty="Ϝ",Cy="ϝ",hy="⪆",Ry="Ğ",vy="ğ",Ny="Ģ",Ay="Ĝ",Iy="ĝ",Oy="Г",yy="г",Dy="Ġ",xy="ġ",Ly="≥",My="≧",wy="⪌",ky="⋛",Py="≥",Uy="≧",Fy="⩾",By="⪩",Gy="⩾",Yy="⪀",qy="⪂",Vy="⪄",Hy="⋛︀",zy="⪔",Wy="𝔊",Ky="𝔤",Qy="≫",$y="⋙",Zy="⋙",Xy="ℷ",Jy="Ѓ",jy="ѓ",eD="⪥",tD="≷",nD="⪒",rD="⪤",aD="⪊",iD="⪊",oD="⪈",sD="≩",lD="⪈",cD="≩",_D="⋧",dD="𝔾",uD="𝕘",pD="`",mD="≥",gD="⋛",ED="≧",SD="⪢",fD="≷",bD="⩾",TD="≳",CD="𝒢",hD="ℊ",RD="≳",vD="⪎",ND="⪐",AD="⪧",ID="⩺",OD=">",yD=">",DD="≫",xD="⋗",LD="⦕",MD="⩼",wD="⪆",kD="⥸",PD="⋗",UD="⋛",FD="⪌",BD="≷",GD="≳",YD="≩︀",qD="≩︀",VD="ˇ",HD=" ",zD="½",WD="ℋ",KD="Ъ",QD="ъ",$D="⥈",ZD="↔",XD="⇔",JD="↭",jD="^",ex="ℏ",tx="Ĥ",nx="ĥ",rx="♥",ax="♥",ix="…",ox="⊹",sx="𝔥",lx="ℌ",cx="ℋ",_x="⤥",dx="⤦",ux="⇿",px="∻",mx="↩",gx="↪",Ex="𝕙",Sx="ℍ",fx="―",bx="─",Tx="𝒽",Cx="ℋ",hx="ℏ",Rx="Ħ",vx="ħ",Nx="≎",Ax="≏",Ix="⁃",Ox="‐",yx="Í",Dx="í",xx="⁣",Lx="Î",Mx="î",wx="И",kx="и",Px="İ",Ux="Е",Fx="е",Bx="¡",Gx="⇔",Yx="𝔦",qx="ℑ",Vx="Ì",Hx="ì",zx="ⅈ",Wx="⨌",Kx="∭",Qx="⧜",$x="℩",Zx="IJ",Xx="ij",Jx="Ī",jx="ī",eL="ℑ",tL="ⅈ",nL="ℐ",rL="ℑ",aL="ı",iL="ℑ",oL="⊷",sL="Ƶ",lL="⇒",cL="℅",_L="∞",dL="⧝",uL="ı",pL="⊺",mL="∫",gL="∬",EL="ℤ",SL="∫",fL="⊺",bL="⋂",TL="⨗",CL="⨼",hL="⁣",RL="⁢",vL="Ё",NL="ё",AL="Į",IL="į",OL="𝕀",yL="𝕚",DL="Ι",xL="ι",LL="⨼",ML="¿",wL="𝒾",kL="ℐ",PL="∈",UL="⋵",FL="⋹",BL="⋴",GL="⋳",YL="∈",qL="⁢",VL="Ĩ",HL="ĩ",zL="І",WL="і",KL="Ï",QL="ï",$L="Ĵ",ZL="ĵ",XL="Й",JL="й",jL="𝔍",eM="𝔧",tM="ȷ",nM="𝕁",rM="𝕛",aM="𝒥",iM="𝒿",oM="Ј",sM="ј",lM="Є",cM="є",_M="Κ",dM="κ",uM="ϰ",pM="Ķ",mM="ķ",gM="К",EM="к",SM="𝔎",fM="𝔨",bM="ĸ",TM="Х",CM="х",hM="Ќ",RM="ќ",vM="𝕂",NM="𝕜",AM="𝒦",IM="𝓀",OM="⇚",yM="Ĺ",DM="ĺ",xM="⦴",LM="ℒ",MM="Λ",wM="λ",kM="⟨",PM="⟪",UM="⦑",FM="⟨",BM="⪅",GM="ℒ",YM="«",qM="⇤",VM="⤟",HM="←",zM="↞",WM="⇐",KM="⤝",QM="↩",$M="↫",ZM="⤹",XM="⥳",JM="↢",jM="⤙",ew="⤛",tw="⪫",nw="⪭",rw="⪭︀",aw="⤌",iw="⤎",ow="❲",sw="{",lw="[",cw="⦋",_w="⦏",dw="⦍",uw="Ľ",pw="ľ",mw="Ļ",gw="ļ",Ew="⌈",Sw="{",fw="Л",bw="л",Tw="⤶",Cw="“",hw="„",Rw="⥧",vw="⥋",Nw="↲",Aw="≤",Iw="≦",Ow="⟨",yw="⇤",Dw="←",xw="←",Lw="⇐",Mw="⇆",ww="↢",kw="⌈",Pw="⟦",Uw="⥡",Fw="⥙",Bw="⇃",Gw="⌊",Yw="↽",qw="↼",Vw="⇇",Hw="↔",zw="↔",Ww="⇔",Kw="⇆",Qw="⇋",$w="↭",Zw="⥎",Xw="↤",Jw="⊣",jw="⥚",ek="⋋",tk="⧏",nk="⊲",rk="⊴",ak="⥑",ik="⥠",ok="⥘",sk="↿",lk="⥒",ck="↼",_k="⪋",dk="⋚",uk="≤",pk="≦",mk="⩽",gk="⪨",Ek="⩽",Sk="⩿",fk="⪁",bk="⪃",Tk="⋚︀",Ck="⪓",hk="⪅",Rk="⋖",vk="⋚",Nk="⪋",Ak="⋚",Ik="≦",Ok="≶",yk="≶",Dk="⪡",xk="≲",Lk="⩽",Mk="≲",wk="⥼",kk="⌊",Pk="𝔏",Uk="𝔩",Fk="≶",Bk="⪑",Gk="⥢",Yk="↽",qk="↼",Vk="⥪",Hk="▄",zk="Љ",Wk="љ",Kk="⇇",Qk="≪",$k="⋘",Zk="⌞",Xk="⇚",Jk="⥫",jk="◺",eP="Ŀ",tP="ŀ",nP="⎰",rP="⎰",aP="⪉",iP="⪉",oP="⪇",sP="≨",lP="⪇",cP="≨",_P="⋦",dP="⟬",uP="⇽",pP="⟦",mP="⟵",gP="⟵",EP="⟸",SP="⟷",fP="⟷",bP="⟺",TP="⟼",CP="⟶",hP="⟶",RP="⟹",vP="↫",NP="↬",AP="⦅",IP="𝕃",OP="𝕝",yP="⨭",DP="⨴",xP="∗",LP="_",MP="↙",wP="↘",kP="◊",PP="◊",UP="⧫",FP="(",BP="⦓",GP="⇆",YP="⌟",qP="⇋",VP="⥭",HP="‎",zP="⊿",WP="‹",KP="𝓁",QP="ℒ",$P="↰",ZP="↰",XP="≲",JP="⪍",jP="⪏",e0="[",t0="‘",n0="‚",r0="Ł",a0="ł",i0="⪦",o0="⩹",s0="<",l0="<",c0="≪",_0="⋖",d0="⋋",u0="⋉",p0="⥶",m0="⩻",g0="◃",E0="⊴",S0="◂",f0="⦖",b0="⥊",T0="⥦",C0="≨︀",h0="≨︀",R0="¯",v0="♂",N0="✠",A0="✠",I0="↦",O0="↦",y0="↧",D0="↤",x0="↥",L0="▮",M0="⨩",w0="М",k0="м",P0="—",U0="∺",F0="∡",B0=" ",G0="ℳ",Y0="𝔐",q0="𝔪",V0="℧",H0="µ",z0="*",W0="⫰",K0="∣",Q0="·",$0="⊟",Z0="−",X0="∸",J0="⨪",j0="∓",eU="⫛",tU="…",nU="∓",rU="⊧",aU="𝕄",iU="𝕞",oU="∓",sU="𝓂",lU="ℳ",cU="∾",_U="Μ",dU="μ",uU="⊸",pU="⊸",mU="∇",gU="Ń",EU="ń",SU="∠⃒",fU="≉",bU="⩰̸",TU="≋̸",CU="ʼn",hU="≉",RU="♮",vU="ℕ",NU="♮",AU=" ",IU="≎̸",OU="≏̸",yU="⩃",DU="Ň",xU="ň",LU="Ņ",MU="ņ",wU="≇",kU="⩭̸",PU="⩂",UU="Н",FU="н",BU="–",GU="⤤",YU="↗",qU="⇗",VU="↗",HU="≠",zU="≐̸",WU="​",KU="​",QU="​",$U="​",ZU="≢",XU="⤨",JU="≂̸",jU="≫",eF="≪",tF=` -`,nF="∄",rF="∄",aF="𝔑",iF="𝔫",oF="≧̸",sF="≱",lF="≱",cF="≧̸",_F="⩾̸",dF="⩾̸",uF="⋙̸",pF="≵",mF="≫⃒",gF="≯",EF="≯",SF="≫̸",fF="↮",bF="⇎",TF="⫲",CF="∋",hF="⋼",RF="⋺",vF="∋",NF="Њ",AF="њ",IF="↚",OF="⇍",yF="‥",DF="≦̸",xF="≰",LF="↚",MF="⇍",wF="↮",kF="⇎",PF="≰",UF="≦̸",FF="⩽̸",BF="⩽̸",GF="≮",YF="⋘̸",qF="≴",VF="≪⃒",HF="≮",zF="⋪",WF="⋬",KF="≪̸",QF="∤",$F="⁠",ZF=" ",XF="𝕟",JF="ℕ",jF="⫬",eB="¬",tB="≢",nB="≭",rB="∦",aB="∉",iB="≠",oB="≂̸",sB="∄",lB="≯",cB="≱",_B="≧̸",dB="≫̸",uB="≹",pB="⩾̸",mB="≵",gB="≎̸",EB="≏̸",SB="∉",fB="⋵̸",bB="⋹̸",TB="∉",CB="⋷",hB="⋶",RB="⧏̸",vB="⋪",NB="⋬",AB="≮",IB="≰",OB="≸",yB="≪̸",DB="⩽̸",xB="≴",LB="⪢̸",MB="⪡̸",wB="∌",kB="∌",PB="⋾",UB="⋽",FB="⊀",BB="⪯̸",GB="⋠",YB="∌",qB="⧐̸",VB="⋫",HB="⋭",zB="⊏̸",WB="⋢",KB="⊐̸",QB="⋣",$B="⊂⃒",ZB="⊈",XB="⊁",JB="⪰̸",jB="⋡",e1="≿̸",t1="⊃⃒",n1="⊉",r1="≁",a1="≄",i1="≇",o1="≉",s1="∤",l1="∦",c1="∦",_1="⫽⃥",d1="∂̸",u1="⨔",p1="⊀",m1="⋠",g1="⊀",E1="⪯̸",S1="⪯̸",f1="⤳̸",b1="↛",T1="⇏",C1="↝̸",h1="↛",R1="⇏",v1="⋫",N1="⋭",A1="⊁",I1="⋡",O1="⪰̸",y1="𝒩",D1="𝓃",x1="∤",L1="∦",M1="≁",w1="≄",k1="≄",P1="∤",U1="∦",F1="⋢",B1="⋣",G1="⊄",Y1="⫅̸",q1="⊈",V1="⊂⃒",H1="⊈",z1="⫅̸",W1="⊁",K1="⪰̸",Q1="⊅",$1="⫆̸",Z1="⊉",X1="⊃⃒",J1="⊉",j1="⫆̸",eG="≹",tG="Ñ",nG="ñ",rG="≸",aG="⋪",iG="⋬",oG="⋫",sG="⋭",lG="Ν",cG="ν",_G="#",dG="№",uG=" ",pG="≍⃒",mG="⊬",gG="⊭",EG="⊮",SG="⊯",fG="≥⃒",bG=">⃒",TG="⤄",CG="⧞",hG="⤂",RG="≤⃒",vG="<⃒",NG="⊴⃒",AG="⤃",IG="⊵⃒",OG="∼⃒",yG="⤣",DG="↖",xG="⇖",LG="↖",MG="⤧",wG="Ó",kG="ó",PG="⊛",UG="Ô",FG="ô",BG="⊚",GG="О",YG="о",qG="⊝",VG="Ő",HG="ő",zG="⨸",WG="⊙",KG="⦼",QG="Œ",$G="œ",ZG="⦿",XG="𝔒",JG="𝔬",jG="˛",eY="Ò",tY="ò",nY="⧁",rY="⦵",aY="Ω",iY="∮",oY="↺",sY="⦾",lY="⦻",cY="‾",_Y="⧀",dY="Ō",uY="ō",pY="Ω",mY="ω",gY="Ο",EY="ο",SY="⦶",fY="⊖",bY="𝕆",TY="𝕠",CY="⦷",hY="“",RY="‘",vY="⦹",NY="⊕",AY="↻",IY="⩔",OY="∨",yY="⩝",DY="ℴ",xY="ℴ",LY="ª",MY="º",wY="⊶",kY="⩖",PY="⩗",UY="⩛",FY="Ⓢ",BY="𝒪",GY="ℴ",YY="Ø",qY="ø",VY="⊘",HY="Õ",zY="õ",WY="⨶",KY="⨷",QY="⊗",$Y="Ö",ZY="ö",XY="⌽",JY="‾",jY="⏞",eq="⎴",tq="⏜",nq="¶",rq="∥",aq="∥",iq="⫳",oq="⫽",sq="∂",lq="∂",cq="П",_q="п",dq="%",uq=".",pq="‰",mq="⊥",gq="‱",Eq="𝔓",Sq="𝔭",fq="Φ",bq="φ",Tq="ϕ",Cq="ℳ",hq="☎",Rq="Π",vq="π",Nq="⋔",Aq="ϖ",Iq="ℏ",Oq="ℎ",yq="ℏ",Dq="⨣",xq="⊞",Lq="⨢",Mq="+",wq="∔",kq="⨥",Pq="⩲",Uq="±",Fq="±",Bq="⨦",Gq="⨧",Yq="±",qq="ℌ",Vq="⨕",Hq="𝕡",zq="ℙ",Wq="£",Kq="⪷",Qq="⪻",$q="≺",Zq="≼",Xq="⪷",Jq="≺",jq="≼",e2="≺",t2="⪯",n2="≼",r2="≾",a2="⪯",i2="⪹",o2="⪵",s2="⋨",l2="⪯",c2="⪳",_2="≾",d2="′",u2="″",p2="ℙ",m2="⪹",g2="⪵",E2="⋨",S2="∏",f2="∏",b2="⌮",T2="⌒",C2="⌓",h2="∝",R2="∝",v2="∷",N2="∝",A2="≾",I2="⊰",O2="𝒫",y2="𝓅",D2="Ψ",x2="ψ",L2=" ",M2="𝔔",w2="𝔮",k2="⨌",P2="𝕢",U2="ℚ",F2="⁗",B2="𝒬",G2="𝓆",Y2="ℍ",q2="⨖",V2="?",H2="≟",z2='"',W2='"',K2="⇛",Q2="∽̱",$2="Ŕ",Z2="ŕ",X2="√",J2="⦳",j2="⟩",eV="⟫",tV="⦒",nV="⦥",rV="⟩",aV="»",iV="⥵",oV="⇥",sV="⤠",lV="⤳",cV="→",_V="↠",dV="⇒",uV="⤞",pV="↪",mV="↬",gV="⥅",EV="⥴",SV="⤖",fV="↣",bV="↝",TV="⤚",CV="⤜",hV="∶",RV="ℚ",vV="⤍",NV="⤏",AV="⤐",IV="❳",OV="}",yV="]",DV="⦌",xV="⦎",LV="⦐",MV="Ř",wV="ř",kV="Ŗ",PV="ŗ",UV="⌉",FV="}",BV="Р",GV="р",YV="⤷",qV="⥩",VV="”",HV="”",zV="↳",WV="ℜ",KV="ℛ",QV="ℜ",$V="ℝ",ZV="ℜ",XV="▭",JV="®",jV="®",eH="∋",tH="⇋",nH="⥯",rH="⥽",aH="⌋",iH="𝔯",oH="ℜ",sH="⥤",lH="⇁",cH="⇀",_H="⥬",dH="Ρ",uH="ρ",pH="ϱ",mH="⟩",gH="⇥",EH="→",SH="→",fH="⇒",bH="⇄",TH="↣",CH="⌉",hH="⟧",RH="⥝",vH="⥕",NH="⇂",AH="⌋",IH="⇁",OH="⇀",yH="⇄",DH="⇌",xH="⇉",LH="↝",MH="↦",wH="⊢",kH="⥛",PH="⋌",UH="⧐",FH="⊳",BH="⊵",GH="⥏",YH="⥜",qH="⥔",VH="↾",HH="⥓",zH="⇀",WH="˚",KH="≓",QH="⇄",$H="⇌",ZH="‏",XH="⎱",JH="⎱",jH="⫮",ez="⟭",tz="⇾",nz="⟧",rz="⦆",az="𝕣",iz="ℝ",oz="⨮",sz="⨵",lz="⥰",cz=")",_z="⦔",dz="⨒",uz="⇉",pz="⇛",mz="›",gz="𝓇",Ez="ℛ",Sz="↱",fz="↱",bz="]",Tz="’",Cz="’",hz="⋌",Rz="⋊",vz="▹",Nz="⊵",Az="▸",Iz="⧎",Oz="⧴",yz="⥨",Dz="℞",xz="Ś",Lz="ś",Mz="‚",wz="⪸",kz="Š",Pz="š",Uz="⪼",Fz="≻",Bz="≽",Gz="⪰",Yz="⪴",qz="Ş",Vz="ş",Hz="Ŝ",zz="ŝ",Wz="⪺",Kz="⪶",Qz="⋩",$z="⨓",Zz="≿",Xz="С",Jz="с",jz="⊡",eW="⋅",tW="⩦",nW="⤥",rW="↘",aW="⇘",iW="↘",oW="§",sW=";",lW="⤩",cW="∖",_W="∖",dW="✶",uW="𝔖",pW="𝔰",mW="⌢",gW="♯",EW="Щ",SW="щ",fW="Ш",bW="ш",TW="↓",CW="←",hW="∣",RW="∥",vW="→",NW="↑",AW="­",IW="Σ",OW="σ",yW="ς",DW="ς",xW="∼",LW="⩪",MW="≃",wW="≃",kW="⪞",PW="⪠",UW="⪝",FW="⪟",BW="≆",GW="⨤",YW="⥲",qW="←",VW="∘",HW="∖",zW="⨳",WW="⧤",KW="∣",QW="⌣",$W="⪪",ZW="⪬",XW="⪬︀",JW="Ь",jW="ь",e3="⌿",t3="⧄",n3="/",r3="𝕊",a3="𝕤",i3="♠",o3="♠",s3="∥",l3="⊓",c3="⊓︀",_3="⊔",d3="⊔︀",u3="√",p3="⊏",m3="⊑",g3="⊏",E3="⊑",S3="⊐",f3="⊒",b3="⊐",T3="⊒",C3="□",h3="□",R3="⊓",v3="⊏",N3="⊑",A3="⊐",I3="⊒",O3="⊔",y3="▪",D3="□",x3="▪",L3="→",M3="𝒮",w3="𝓈",k3="∖",P3="⌣",U3="⋆",F3="⋆",B3="☆",G3="★",Y3="ϵ",q3="ϕ",V3="¯",H3="⊂",z3="⋐",W3="⪽",K3="⫅",Q3="⊆",$3="⫃",Z3="⫁",X3="⫋",J3="⊊",j3="⪿",eK="⥹",tK="⊂",nK="⋐",rK="⊆",aK="⫅",iK="⊆",oK="⊊",sK="⫋",lK="⫇",cK="⫕",_K="⫓",dK="⪸",uK="≻",pK="≽",mK="≻",gK="⪰",EK="≽",SK="≿",fK="⪰",bK="⪺",TK="⪶",CK="⋩",hK="≿",RK="∋",vK="∑",NK="∑",AK="♪",IK="¹",OK="²",yK="³",DK="⊃",xK="⋑",LK="⪾",MK="⫘",wK="⫆",kK="⊇",PK="⫄",UK="⊃",FK="⊇",BK="⟉",GK="⫗",YK="⥻",qK="⫂",VK="⫌",HK="⊋",zK="⫀",WK="⊃",KK="⋑",QK="⊇",$K="⫆",ZK="⊋",XK="⫌",JK="⫈",jK="⫔",eQ="⫖",tQ="⤦",nQ="↙",rQ="⇙",aQ="↙",iQ="⤪",oQ="ß",sQ=" ",lQ="⌖",cQ="Τ",_Q="τ",dQ="⎴",uQ="Ť",pQ="ť",mQ="Ţ",gQ="ţ",EQ="Т",SQ="т",fQ="⃛",bQ="⌕",TQ="𝔗",CQ="𝔱",hQ="∴",RQ="∴",vQ="∴",NQ="Θ",AQ="θ",IQ="ϑ",OQ="ϑ",yQ="≈",DQ="∼",xQ="  ",LQ=" ",MQ=" ",wQ="≈",kQ="∼",PQ="Þ",UQ="þ",FQ="˜",BQ="∼",GQ="≃",YQ="≅",qQ="≈",VQ="⨱",HQ="⊠",zQ="×",WQ="⨰",KQ="∭",QQ="⤨",$Q="⌶",ZQ="⫱",XQ="⊤",JQ="𝕋",jQ="𝕥",e4="⫚",t4="⤩",n4="‴",r4="™",a4="™",i4="▵",o4="▿",s4="◃",l4="⊴",c4="≜",_4="▹",d4="⊵",u4="◬",p4="≜",m4="⨺",g4="⃛",E4="⨹",S4="⧍",f4="⨻",b4="⏢",T4="𝒯",C4="𝓉",h4="Ц",R4="ц",v4="Ћ",N4="ћ",A4="Ŧ",I4="ŧ",O4="≬",y4="↞",D4="↠",x4="Ú",L4="ú",M4="↑",w4="↟",k4="⇑",P4="⥉",U4="Ў",F4="ў",B4="Ŭ",G4="ŭ",Y4="Û",q4="û",V4="У",H4="у",z4="⇅",W4="Ű",K4="ű",Q4="⥮",$4="⥾",Z4="𝔘",X4="𝔲",J4="Ù",j4="ù",e$="⥣",t$="↿",n$="↾",r$="▀",a$="⌜",i$="⌜",o$="⌏",s$="◸",l$="Ū",c$="ū",_$="¨",d$="_",u$="⏟",p$="⎵",m$="⏝",g$="⋃",E$="⊎",S$="Ų",f$="ų",b$="𝕌",T$="𝕦",C$="⤒",h$="↑",R$="↑",v$="⇑",N$="⇅",A$="↕",I$="↕",O$="⇕",y$="⥮",D$="↿",x$="↾",L$="⊎",M$="↖",w$="↗",k$="υ",P$="ϒ",U$="ϒ",F$="Υ",B$="υ",G$="↥",Y$="⊥",q$="⇈",V$="⌝",H$="⌝",z$="⌎",W$="Ů",K$="ů",Q$="◹",$$="𝒰",Z$="𝓊",X$="⋰",J$="Ũ",j$="ũ",e9="▵",t9="▴",n9="⇈",r9="Ü",a9="ü",i9="⦧",o9="⦜",s9="ϵ",l9="ϰ",c9="∅",_9="ϕ",d9="ϖ",u9="∝",p9="↕",m9="⇕",g9="ϱ",E9="ς",S9="⊊︀",f9="⫋︀",b9="⊋︀",T9="⫌︀",C9="ϑ",h9="⊲",R9="⊳",v9="⫨",N9="⫫",A9="⫩",I9="В",O9="в",y9="⊢",D9="⊨",x9="⊩",L9="⊫",M9="⫦",w9="⊻",k9="∨",P9="⋁",U9="≚",F9="⋮",B9="|",G9="‖",Y9="|",q9="‖",V9="∣",H9="|",z9="❘",W9="≀",K9=" ",Q9="𝔙",$9="𝔳",Z9="⊲",X9="⊂⃒",J9="⊃⃒",j9="𝕍",e5="𝕧",t5="∝",n5="⊳",r5="𝒱",a5="𝓋",i5="⫋︀",o5="⊊︀",s5="⫌︀",l5="⊋︀",c5="⊪",_5="⦚",d5="Ŵ",u5="ŵ",p5="⩟",m5="∧",g5="⋀",E5="≙",S5="℘",f5="𝔚",b5="𝔴",T5="𝕎",C5="𝕨",h5="℘",R5="≀",v5="≀",N5="𝒲",A5="𝓌",I5="⋂",O5="◯",y5="⋃",D5="▽",x5="𝔛",L5="𝔵",M5="⟷",w5="⟺",k5="Ξ",P5="ξ",U5="⟵",F5="⟸",B5="⟼",G5="⋻",Y5="⨀",q5="𝕏",V5="𝕩",H5="⨁",z5="⨂",W5="⟶",K5="⟹",Q5="𝒳",$5="𝓍",Z5="⨆",X5="⨄",J5="△",j5="⋁",e8="⋀",t8="Ý",n8="ý",r8="Я",a8="я",i8="Ŷ",o8="ŷ",s8="Ы",l8="ы",c8="¥",_8="𝔜",d8="𝔶",u8="Ї",p8="ї",m8="𝕐",g8="𝕪",E8="𝒴",S8="𝓎",f8="Ю",b8="ю",T8="ÿ",C8="Ÿ",h8="Ź",R8="ź",v8="Ž",N8="ž",A8="З",I8="з",O8="Ż",y8="ż",D8="ℨ",x8="​",L8="Ζ",M8="ζ",w8="𝔷",k8="ℨ",P8="Ж",U8="ж",F8="⇝",B8="𝕫",G8="ℤ",Y8="𝒵",q8="𝓏",V8="‍",H8="‌",z8={Aacute:Of,aacute:yf,Abreve:Df,abreve:xf,ac:Lf,acd:Mf,acE:wf,Acirc:kf,acirc:Pf,acute:Uf,Acy:Ff,acy:Bf,AElig:Gf,aelig:Yf,af:qf,Afr:Vf,afr:Hf,Agrave:zf,agrave:Wf,alefsym:Kf,aleph:Qf,Alpha:$f,alpha:Zf,Amacr:Xf,amacr:Jf,amalg:jf,amp:eb,AMP:tb,andand:nb,And:rb,and:ab,andd:ib,andslope:ob,andv:sb,ang:lb,ange:cb,angle:_b,angmsdaa:db,angmsdab:ub,angmsdac:pb,angmsdad:mb,angmsdae:gb,angmsdaf:Eb,angmsdag:Sb,angmsdah:fb,angmsd:bb,angrt:Tb,angrtvb:Cb,angrtvbd:hb,angsph:Rb,angst:vb,angzarr:Nb,Aogon:Ab,aogon:Ib,Aopf:Ob,aopf:yb,apacir:Db,ap:xb,apE:Lb,ape:Mb,apid:wb,apos:kb,ApplyFunction:Pb,approx:Ub,approxeq:Fb,Aring:Bb,aring:Gb,Ascr:Yb,ascr:qb,Assign:Vb,ast:Hb,asymp:zb,asympeq:Wb,Atilde:Kb,atilde:Qb,Auml:$b,auml:Zb,awconint:Xb,awint:Jb,backcong:jb,backepsilon:eT,backprime:tT,backsim:nT,backsimeq:rT,Backslash:aT,Barv:iT,barvee:oT,barwed:sT,Barwed:lT,barwedge:cT,bbrk:_T,bbrktbrk:dT,bcong:uT,Bcy:pT,bcy:mT,bdquo:gT,becaus:ET,because:ST,Because:fT,bemptyv:bT,bepsi:TT,bernou:CT,Bernoullis:hT,Beta:RT,beta:vT,beth:NT,between:AT,Bfr:IT,bfr:OT,bigcap:yT,bigcirc:DT,bigcup:xT,bigodot:LT,bigoplus:MT,bigotimes:wT,bigsqcup:kT,bigstar:PT,bigtriangledown:UT,bigtriangleup:FT,biguplus:BT,bigvee:GT,bigwedge:YT,bkarow:qT,blacklozenge:VT,blacksquare:HT,blacktriangle:zT,blacktriangledown:WT,blacktriangleleft:KT,blacktriangleright:QT,blank:$T,blk12:ZT,blk14:XT,blk34:JT,block:jT,bne:eC,bnequiv:tC,bNot:nC,bnot:rC,Bopf:aC,bopf:iC,bot:oC,bottom:sC,bowtie:lC,boxbox:cC,boxdl:_C,boxdL:dC,boxDl:uC,boxDL:pC,boxdr:mC,boxdR:gC,boxDr:EC,boxDR:SC,boxh:fC,boxH:bC,boxhd:TC,boxHd:CC,boxhD:hC,boxHD:RC,boxhu:vC,boxHu:NC,boxhU:AC,boxHU:IC,boxminus:OC,boxplus:yC,boxtimes:DC,boxul:xC,boxuL:LC,boxUl:MC,boxUL:wC,boxur:kC,boxuR:PC,boxUr:UC,boxUR:FC,boxv:BC,boxV:GC,boxvh:YC,boxvH:qC,boxVh:VC,boxVH:HC,boxvl:zC,boxvL:WC,boxVl:KC,boxVL:QC,boxvr:$C,boxvR:ZC,boxVr:XC,boxVR:JC,bprime:jC,breve:eh,Breve:th,brvbar:nh,bscr:rh,Bscr:ah,bsemi:ih,bsim:oh,bsime:sh,bsolb:lh,bsol:ch,bsolhsub:_h,bull:dh,bullet:uh,bump:ph,bumpE:mh,bumpe:gh,Bumpeq:Eh,bumpeq:Sh,Cacute:fh,cacute:bh,capand:Th,capbrcup:Ch,capcap:hh,cap:Rh,Cap:vh,capcup:Nh,capdot:Ah,CapitalDifferentialD:Ih,caps:Oh,caret:yh,caron:Dh,Cayleys:xh,ccaps:Lh,Ccaron:Mh,ccaron:wh,Ccedil:kh,ccedil:Ph,Ccirc:Uh,ccirc:Fh,Cconint:Bh,ccups:Gh,ccupssm:Yh,Cdot:qh,cdot:Vh,cedil:Hh,Cedilla:zh,cemptyv:Wh,cent:Kh,centerdot:Qh,CenterDot:$h,cfr:Zh,Cfr:Xh,CHcy:Jh,chcy:jh,check:eR,checkmark:tR,Chi:nR,chi:rR,circ:aR,circeq:iR,circlearrowleft:oR,circlearrowright:sR,circledast:lR,circledcirc:cR,circleddash:_R,CircleDot:dR,circledR:uR,circledS:pR,CircleMinus:mR,CirclePlus:gR,CircleTimes:ER,cir:SR,cirE:fR,cire:bR,cirfnint:TR,cirmid:CR,cirscir:hR,ClockwiseContourIntegral:RR,CloseCurlyDoubleQuote:vR,CloseCurlyQuote:NR,clubs:AR,clubsuit:IR,colon:OR,Colon:yR,Colone:DR,colone:xR,coloneq:LR,comma:MR,commat:wR,comp:kR,compfn:PR,complement:UR,complexes:FR,cong:BR,congdot:GR,Congruent:YR,conint:qR,Conint:VR,ContourIntegral:HR,copf:zR,Copf:WR,coprod:KR,Coproduct:QR,copy:$R,COPY:ZR,copysr:XR,CounterClockwiseContourIntegral:JR,crarr:jR,cross:ev,Cross:tv,Cscr:nv,cscr:rv,csub:av,csube:iv,csup:ov,csupe:sv,ctdot:lv,cudarrl:cv,cudarrr:_v,cuepr:dv,cuesc:uv,cularr:pv,cularrp:mv,cupbrcap:gv,cupcap:Ev,CupCap:Sv,cup:fv,Cup:bv,cupcup:Tv,cupdot:Cv,cupor:hv,cups:Rv,curarr:vv,curarrm:Nv,curlyeqprec:Av,curlyeqsucc:Iv,curlyvee:Ov,curlywedge:yv,curren:Dv,curvearrowleft:xv,curvearrowright:Lv,cuvee:Mv,cuwed:wv,cwconint:kv,cwint:Pv,cylcty:Uv,dagger:Fv,Dagger:Bv,daleth:Gv,darr:Yv,Darr:qv,dArr:Vv,dash:Hv,Dashv:zv,dashv:Wv,dbkarow:Kv,dblac:Qv,Dcaron:$v,dcaron:Zv,Dcy:Xv,dcy:Jv,ddagger:jv,ddarr:eN,DD:tN,dd:nN,DDotrahd:rN,ddotseq:aN,deg:iN,Del:oN,Delta:sN,delta:lN,demptyv:cN,dfisht:_N,Dfr:dN,dfr:uN,dHar:pN,dharl:mN,dharr:gN,DiacriticalAcute:EN,DiacriticalDot:SN,DiacriticalDoubleAcute:fN,DiacriticalGrave:bN,DiacriticalTilde:TN,diam:CN,diamond:hN,Diamond:RN,diamondsuit:vN,diams:NN,die:AN,DifferentialD:IN,digamma:ON,disin:yN,div:DN,divide:xN,divideontimes:LN,divonx:MN,DJcy:wN,djcy:kN,dlcorn:PN,dlcrop:UN,dollar:FN,Dopf:BN,dopf:GN,Dot:YN,dot:qN,DotDot:VN,doteq:HN,doteqdot:zN,DotEqual:WN,dotminus:KN,dotplus:QN,dotsquare:$N,doublebarwedge:ZN,DoubleContourIntegral:XN,DoubleDot:JN,DoubleDownArrow:jN,DoubleLeftArrow:eA,DoubleLeftRightArrow:tA,DoubleLeftTee:nA,DoubleLongLeftArrow:rA,DoubleLongLeftRightArrow:aA,DoubleLongRightArrow:iA,DoubleRightArrow:oA,DoubleRightTee:sA,DoubleUpArrow:lA,DoubleUpDownArrow:cA,DoubleVerticalBar:_A,DownArrowBar:dA,downarrow:uA,DownArrow:pA,Downarrow:mA,DownArrowUpArrow:gA,DownBreve:EA,downdownarrows:SA,downharpoonleft:fA,downharpoonright:bA,DownLeftRightVector:TA,DownLeftTeeVector:CA,DownLeftVectorBar:hA,DownLeftVector:RA,DownRightTeeVector:vA,DownRightVectorBar:NA,DownRightVector:AA,DownTeeArrow:IA,DownTee:OA,drbkarow:yA,drcorn:DA,drcrop:xA,Dscr:LA,dscr:MA,DScy:wA,dscy:kA,dsol:PA,Dstrok:UA,dstrok:FA,dtdot:BA,dtri:GA,dtrif:YA,duarr:qA,duhar:VA,dwangle:HA,DZcy:zA,dzcy:WA,dzigrarr:KA,Eacute:QA,eacute:$A,easter:ZA,Ecaron:XA,ecaron:JA,Ecirc:jA,ecirc:eI,ecir:tI,ecolon:nI,Ecy:rI,ecy:aI,eDDot:iI,Edot:oI,edot:sI,eDot:lI,ee:cI,efDot:_I,Efr:dI,efr:uI,eg:pI,Egrave:mI,egrave:gI,egs:EI,egsdot:SI,el:fI,Element:bI,elinters:TI,ell:CI,els:hI,elsdot:RI,Emacr:vI,emacr:NI,empty:AI,emptyset:II,EmptySmallSquare:OI,emptyv:yI,EmptyVerySmallSquare:DI,emsp13:xI,emsp14:LI,emsp:MI,ENG:wI,eng:kI,ensp:PI,Eogon:UI,eogon:FI,Eopf:BI,eopf:GI,epar:YI,eparsl:qI,eplus:VI,epsi:HI,Epsilon:zI,epsilon:WI,epsiv:KI,eqcirc:QI,eqcolon:$I,eqsim:ZI,eqslantgtr:XI,eqslantless:JI,Equal:jI,equals:eO,EqualTilde:tO,equest:nO,Equilibrium:rO,equiv:aO,equivDD:iO,eqvparsl:oO,erarr:sO,erDot:lO,escr:cO,Escr:_O,esdot:dO,Esim:uO,esim:pO,Eta:mO,eta:gO,ETH:EO,eth:SO,Euml:fO,euml:bO,euro:TO,excl:CO,exist:hO,Exists:RO,expectation:vO,exponentiale:NO,ExponentialE:AO,fallingdotseq:IO,Fcy:OO,fcy:yO,female:DO,ffilig:xO,fflig:LO,ffllig:MO,Ffr:wO,ffr:kO,filig:PO,FilledSmallSquare:UO,FilledVerySmallSquare:FO,fjlig:BO,flat:GO,fllig:YO,fltns:qO,fnof:VO,Fopf:HO,fopf:zO,forall:WO,ForAll:KO,fork:QO,forkv:$O,Fouriertrf:ZO,fpartint:XO,frac12:JO,frac13:jO,frac14:ey,frac15:ty,frac16:ny,frac18:ry,frac23:ay,frac25:iy,frac34:oy,frac35:sy,frac38:ly,frac45:cy,frac56:_y,frac58:dy,frac78:uy,frasl:py,frown:my,fscr:gy,Fscr:Ey,gacute:Sy,Gamma:fy,gamma:by,Gammad:Ty,gammad:Cy,gap:hy,Gbreve:Ry,gbreve:vy,Gcedil:Ny,Gcirc:Ay,gcirc:Iy,Gcy:Oy,gcy:yy,Gdot:Dy,gdot:xy,ge:Ly,gE:My,gEl:wy,gel:ky,geq:Py,geqq:Uy,geqslant:Fy,gescc:By,ges:Gy,gesdot:Yy,gesdoto:qy,gesdotol:Vy,gesl:Hy,gesles:zy,Gfr:Wy,gfr:Ky,gg:Qy,Gg:$y,ggg:Zy,gimel:Xy,GJcy:Jy,gjcy:jy,gla:eD,gl:tD,glE:nD,glj:rD,gnap:aD,gnapprox:iD,gne:oD,gnE:sD,gneq:lD,gneqq:cD,gnsim:_D,Gopf:dD,gopf:uD,grave:pD,GreaterEqual:mD,GreaterEqualLess:gD,GreaterFullEqual:ED,GreaterGreater:SD,GreaterLess:fD,GreaterSlantEqual:bD,GreaterTilde:TD,Gscr:CD,gscr:hD,gsim:RD,gsime:vD,gsiml:ND,gtcc:AD,gtcir:ID,gt:OD,GT:yD,Gt:DD,gtdot:xD,gtlPar:LD,gtquest:MD,gtrapprox:wD,gtrarr:kD,gtrdot:PD,gtreqless:UD,gtreqqless:FD,gtrless:BD,gtrsim:GD,gvertneqq:YD,gvnE:qD,Hacek:VD,hairsp:HD,half:zD,hamilt:WD,HARDcy:KD,hardcy:QD,harrcir:$D,harr:ZD,hArr:XD,harrw:JD,Hat:jD,hbar:ex,Hcirc:tx,hcirc:nx,hearts:rx,heartsuit:ax,hellip:ix,hercon:ox,hfr:sx,Hfr:lx,HilbertSpace:cx,hksearow:_x,hkswarow:dx,hoarr:ux,homtht:px,hookleftarrow:mx,hookrightarrow:gx,hopf:Ex,Hopf:Sx,horbar:fx,HorizontalLine:bx,hscr:Tx,Hscr:Cx,hslash:hx,Hstrok:Rx,hstrok:vx,HumpDownHump:Nx,HumpEqual:Ax,hybull:Ix,hyphen:Ox,Iacute:yx,iacute:Dx,ic:xx,Icirc:Lx,icirc:Mx,Icy:wx,icy:kx,Idot:Px,IEcy:Ux,iecy:Fx,iexcl:Bx,iff:Gx,ifr:Yx,Ifr:qx,Igrave:Vx,igrave:Hx,ii:zx,iiiint:Wx,iiint:Kx,iinfin:Qx,iiota:$x,IJlig:Zx,ijlig:Xx,Imacr:Jx,imacr:jx,image:eL,ImaginaryI:tL,imagline:nL,imagpart:rL,imath:aL,Im:iL,imof:oL,imped:sL,Implies:lL,incare:cL,in:"∈",infin:_L,infintie:dL,inodot:uL,intcal:pL,int:mL,Int:gL,integers:EL,Integral:SL,intercal:fL,Intersection:bL,intlarhk:TL,intprod:CL,InvisibleComma:hL,InvisibleTimes:RL,IOcy:vL,iocy:NL,Iogon:AL,iogon:IL,Iopf:OL,iopf:yL,Iota:DL,iota:xL,iprod:LL,iquest:ML,iscr:wL,Iscr:kL,isin:PL,isindot:UL,isinE:FL,isins:BL,isinsv:GL,isinv:YL,it:qL,Itilde:VL,itilde:HL,Iukcy:zL,iukcy:WL,Iuml:KL,iuml:QL,Jcirc:$L,jcirc:ZL,Jcy:XL,jcy:JL,Jfr:jL,jfr:eM,jmath:tM,Jopf:nM,jopf:rM,Jscr:aM,jscr:iM,Jsercy:oM,jsercy:sM,Jukcy:lM,jukcy:cM,Kappa:_M,kappa:dM,kappav:uM,Kcedil:pM,kcedil:mM,Kcy:gM,kcy:EM,Kfr:SM,kfr:fM,kgreen:bM,KHcy:TM,khcy:CM,KJcy:hM,kjcy:RM,Kopf:vM,kopf:NM,Kscr:AM,kscr:IM,lAarr:OM,Lacute:yM,lacute:DM,laemptyv:xM,lagran:LM,Lambda:MM,lambda:wM,lang:kM,Lang:PM,langd:UM,langle:FM,lap:BM,Laplacetrf:GM,laquo:YM,larrb:qM,larrbfs:VM,larr:HM,Larr:zM,lArr:WM,larrfs:KM,larrhk:QM,larrlp:$M,larrpl:ZM,larrsim:XM,larrtl:JM,latail:jM,lAtail:ew,lat:tw,late:nw,lates:rw,lbarr:aw,lBarr:iw,lbbrk:ow,lbrace:sw,lbrack:lw,lbrke:cw,lbrksld:_w,lbrkslu:dw,Lcaron:uw,lcaron:pw,Lcedil:mw,lcedil:gw,lceil:Ew,lcub:Sw,Lcy:fw,lcy:bw,ldca:Tw,ldquo:Cw,ldquor:hw,ldrdhar:Rw,ldrushar:vw,ldsh:Nw,le:Aw,lE:Iw,LeftAngleBracket:Ow,LeftArrowBar:yw,leftarrow:Dw,LeftArrow:xw,Leftarrow:Lw,LeftArrowRightArrow:Mw,leftarrowtail:ww,LeftCeiling:kw,LeftDoubleBracket:Pw,LeftDownTeeVector:Uw,LeftDownVectorBar:Fw,LeftDownVector:Bw,LeftFloor:Gw,leftharpoondown:Yw,leftharpoonup:qw,leftleftarrows:Vw,leftrightarrow:Hw,LeftRightArrow:zw,Leftrightarrow:Ww,leftrightarrows:Kw,leftrightharpoons:Qw,leftrightsquigarrow:$w,LeftRightVector:Zw,LeftTeeArrow:Xw,LeftTee:Jw,LeftTeeVector:jw,leftthreetimes:ek,LeftTriangleBar:tk,LeftTriangle:nk,LeftTriangleEqual:rk,LeftUpDownVector:ak,LeftUpTeeVector:ik,LeftUpVectorBar:ok,LeftUpVector:sk,LeftVectorBar:lk,LeftVector:ck,lEg:_k,leg:dk,leq:uk,leqq:pk,leqslant:mk,lescc:gk,les:Ek,lesdot:Sk,lesdoto:fk,lesdotor:bk,lesg:Tk,lesges:Ck,lessapprox:hk,lessdot:Rk,lesseqgtr:vk,lesseqqgtr:Nk,LessEqualGreater:Ak,LessFullEqual:Ik,LessGreater:Ok,lessgtr:yk,LessLess:Dk,lesssim:xk,LessSlantEqual:Lk,LessTilde:Mk,lfisht:wk,lfloor:kk,Lfr:Pk,lfr:Uk,lg:Fk,lgE:Bk,lHar:Gk,lhard:Yk,lharu:qk,lharul:Vk,lhblk:Hk,LJcy:zk,ljcy:Wk,llarr:Kk,ll:Qk,Ll:$k,llcorner:Zk,Lleftarrow:Xk,llhard:Jk,lltri:jk,Lmidot:eP,lmidot:tP,lmoustache:nP,lmoust:rP,lnap:aP,lnapprox:iP,lne:oP,lnE:sP,lneq:lP,lneqq:cP,lnsim:_P,loang:dP,loarr:uP,lobrk:pP,longleftarrow:mP,LongLeftArrow:gP,Longleftarrow:EP,longleftrightarrow:SP,LongLeftRightArrow:fP,Longleftrightarrow:bP,longmapsto:TP,longrightarrow:CP,LongRightArrow:hP,Longrightarrow:RP,looparrowleft:vP,looparrowright:NP,lopar:AP,Lopf:IP,lopf:OP,loplus:yP,lotimes:DP,lowast:xP,lowbar:LP,LowerLeftArrow:MP,LowerRightArrow:wP,loz:kP,lozenge:PP,lozf:UP,lpar:FP,lparlt:BP,lrarr:GP,lrcorner:YP,lrhar:qP,lrhard:VP,lrm:HP,lrtri:zP,lsaquo:WP,lscr:KP,Lscr:QP,lsh:$P,Lsh:ZP,lsim:XP,lsime:JP,lsimg:jP,lsqb:e0,lsquo:t0,lsquor:n0,Lstrok:r0,lstrok:a0,ltcc:i0,ltcir:o0,lt:s0,LT:l0,Lt:c0,ltdot:_0,lthree:d0,ltimes:u0,ltlarr:p0,ltquest:m0,ltri:g0,ltrie:E0,ltrif:S0,ltrPar:f0,lurdshar:b0,luruhar:T0,lvertneqq:C0,lvnE:h0,macr:R0,male:v0,malt:N0,maltese:A0,Map:"⤅",map:I0,mapsto:O0,mapstodown:y0,mapstoleft:D0,mapstoup:x0,marker:L0,mcomma:M0,Mcy:w0,mcy:k0,mdash:P0,mDDot:U0,measuredangle:F0,MediumSpace:B0,Mellintrf:G0,Mfr:Y0,mfr:q0,mho:V0,micro:H0,midast:z0,midcir:W0,mid:K0,middot:Q0,minusb:$0,minus:Z0,minusd:X0,minusdu:J0,MinusPlus:j0,mlcp:eU,mldr:tU,mnplus:nU,models:rU,Mopf:aU,mopf:iU,mp:oU,mscr:sU,Mscr:lU,mstpos:cU,Mu:_U,mu:dU,multimap:uU,mumap:pU,nabla:mU,Nacute:gU,nacute:EU,nang:SU,nap:fU,napE:bU,napid:TU,napos:CU,napprox:hU,natural:RU,naturals:vU,natur:NU,nbsp:AU,nbump:IU,nbumpe:OU,ncap:yU,Ncaron:DU,ncaron:xU,Ncedil:LU,ncedil:MU,ncong:wU,ncongdot:kU,ncup:PU,Ncy:UU,ncy:FU,ndash:BU,nearhk:GU,nearr:YU,neArr:qU,nearrow:VU,ne:HU,nedot:zU,NegativeMediumSpace:WU,NegativeThickSpace:KU,NegativeThinSpace:QU,NegativeVeryThinSpace:$U,nequiv:ZU,nesear:XU,nesim:JU,NestedGreaterGreater:jU,NestedLessLess:eF,NewLine:tF,nexist:nF,nexists:rF,Nfr:aF,nfr:iF,ngE:oF,nge:sF,ngeq:lF,ngeqq:cF,ngeqslant:_F,nges:dF,nGg:uF,ngsim:pF,nGt:mF,ngt:gF,ngtr:EF,nGtv:SF,nharr:fF,nhArr:bF,nhpar:TF,ni:CF,nis:hF,nisd:RF,niv:vF,NJcy:NF,njcy:AF,nlarr:IF,nlArr:OF,nldr:yF,nlE:DF,nle:xF,nleftarrow:LF,nLeftarrow:MF,nleftrightarrow:wF,nLeftrightarrow:kF,nleq:PF,nleqq:UF,nleqslant:FF,nles:BF,nless:GF,nLl:YF,nlsim:qF,nLt:VF,nlt:HF,nltri:zF,nltrie:WF,nLtv:KF,nmid:QF,NoBreak:$F,NonBreakingSpace:ZF,nopf:XF,Nopf:JF,Not:jF,not:eB,NotCongruent:tB,NotCupCap:nB,NotDoubleVerticalBar:rB,NotElement:aB,NotEqual:iB,NotEqualTilde:oB,NotExists:sB,NotGreater:lB,NotGreaterEqual:cB,NotGreaterFullEqual:_B,NotGreaterGreater:dB,NotGreaterLess:uB,NotGreaterSlantEqual:pB,NotGreaterTilde:mB,NotHumpDownHump:gB,NotHumpEqual:EB,notin:SB,notindot:fB,notinE:bB,notinva:TB,notinvb:CB,notinvc:hB,NotLeftTriangleBar:RB,NotLeftTriangle:vB,NotLeftTriangleEqual:NB,NotLess:AB,NotLessEqual:IB,NotLessGreater:OB,NotLessLess:yB,NotLessSlantEqual:DB,NotLessTilde:xB,NotNestedGreaterGreater:LB,NotNestedLessLess:MB,notni:wB,notniva:kB,notnivb:PB,notnivc:UB,NotPrecedes:FB,NotPrecedesEqual:BB,NotPrecedesSlantEqual:GB,NotReverseElement:YB,NotRightTriangleBar:qB,NotRightTriangle:VB,NotRightTriangleEqual:HB,NotSquareSubset:zB,NotSquareSubsetEqual:WB,NotSquareSuperset:KB,NotSquareSupersetEqual:QB,NotSubset:$B,NotSubsetEqual:ZB,NotSucceeds:XB,NotSucceedsEqual:JB,NotSucceedsSlantEqual:jB,NotSucceedsTilde:e1,NotSuperset:t1,NotSupersetEqual:n1,NotTilde:r1,NotTildeEqual:a1,NotTildeFullEqual:i1,NotTildeTilde:o1,NotVerticalBar:s1,nparallel:l1,npar:c1,nparsl:_1,npart:d1,npolint:u1,npr:p1,nprcue:m1,nprec:g1,npreceq:E1,npre:S1,nrarrc:f1,nrarr:b1,nrArr:T1,nrarrw:C1,nrightarrow:h1,nRightarrow:R1,nrtri:v1,nrtrie:N1,nsc:A1,nsccue:I1,nsce:O1,Nscr:y1,nscr:D1,nshortmid:x1,nshortparallel:L1,nsim:M1,nsime:w1,nsimeq:k1,nsmid:P1,nspar:U1,nsqsube:F1,nsqsupe:B1,nsub:G1,nsubE:Y1,nsube:q1,nsubset:V1,nsubseteq:H1,nsubseteqq:z1,nsucc:W1,nsucceq:K1,nsup:Q1,nsupE:$1,nsupe:Z1,nsupset:X1,nsupseteq:J1,nsupseteqq:j1,ntgl:eG,Ntilde:tG,ntilde:nG,ntlg:rG,ntriangleleft:aG,ntrianglelefteq:iG,ntriangleright:oG,ntrianglerighteq:sG,Nu:lG,nu:cG,num:_G,numero:dG,numsp:uG,nvap:pG,nvdash:mG,nvDash:gG,nVdash:EG,nVDash:SG,nvge:fG,nvgt:bG,nvHarr:TG,nvinfin:CG,nvlArr:hG,nvle:RG,nvlt:vG,nvltrie:NG,nvrArr:AG,nvrtrie:IG,nvsim:OG,nwarhk:yG,nwarr:DG,nwArr:xG,nwarrow:LG,nwnear:MG,Oacute:wG,oacute:kG,oast:PG,Ocirc:UG,ocirc:FG,ocir:BG,Ocy:GG,ocy:YG,odash:qG,Odblac:VG,odblac:HG,odiv:zG,odot:WG,odsold:KG,OElig:QG,oelig:$G,ofcir:ZG,Ofr:XG,ofr:JG,ogon:jG,Ograve:eY,ograve:tY,ogt:nY,ohbar:rY,ohm:aY,oint:iY,olarr:oY,olcir:sY,olcross:lY,oline:cY,olt:_Y,Omacr:dY,omacr:uY,Omega:pY,omega:mY,Omicron:gY,omicron:EY,omid:SY,ominus:fY,Oopf:bY,oopf:TY,opar:CY,OpenCurlyDoubleQuote:hY,OpenCurlyQuote:RY,operp:vY,oplus:NY,orarr:AY,Or:IY,or:OY,ord:yY,order:DY,orderof:xY,ordf:LY,ordm:MY,origof:wY,oror:kY,orslope:PY,orv:UY,oS:FY,Oscr:BY,oscr:GY,Oslash:YY,oslash:qY,osol:VY,Otilde:HY,otilde:zY,otimesas:WY,Otimes:KY,otimes:QY,Ouml:$Y,ouml:ZY,ovbar:XY,OverBar:JY,OverBrace:jY,OverBracket:eq,OverParenthesis:tq,para:nq,parallel:rq,par:aq,parsim:iq,parsl:oq,part:sq,PartialD:lq,Pcy:cq,pcy:_q,percnt:dq,period:uq,permil:pq,perp:mq,pertenk:gq,Pfr:Eq,pfr:Sq,Phi:fq,phi:bq,phiv:Tq,phmmat:Cq,phone:hq,Pi:Rq,pi:vq,pitchfork:Nq,piv:Aq,planck:Iq,planckh:Oq,plankv:yq,plusacir:Dq,plusb:xq,pluscir:Lq,plus:Mq,plusdo:wq,plusdu:kq,pluse:Pq,PlusMinus:Uq,plusmn:Fq,plussim:Bq,plustwo:Gq,pm:Yq,Poincareplane:qq,pointint:Vq,popf:Hq,Popf:zq,pound:Wq,prap:Kq,Pr:Qq,pr:$q,prcue:Zq,precapprox:Xq,prec:Jq,preccurlyeq:jq,Precedes:e2,PrecedesEqual:t2,PrecedesSlantEqual:n2,PrecedesTilde:r2,preceq:a2,precnapprox:i2,precneqq:o2,precnsim:s2,pre:l2,prE:c2,precsim:_2,prime:d2,Prime:u2,primes:p2,prnap:m2,prnE:g2,prnsim:E2,prod:S2,Product:f2,profalar:b2,profline:T2,profsurf:C2,prop:h2,Proportional:R2,Proportion:v2,propto:N2,prsim:A2,prurel:I2,Pscr:O2,pscr:y2,Psi:D2,psi:x2,puncsp:L2,Qfr:M2,qfr:w2,qint:k2,qopf:P2,Qopf:U2,qprime:F2,Qscr:B2,qscr:G2,quaternions:Y2,quatint:q2,quest:V2,questeq:H2,quot:z2,QUOT:W2,rAarr:K2,race:Q2,Racute:$2,racute:Z2,radic:X2,raemptyv:J2,rang:j2,Rang:eV,rangd:tV,range:nV,rangle:rV,raquo:aV,rarrap:iV,rarrb:oV,rarrbfs:sV,rarrc:lV,rarr:cV,Rarr:_V,rArr:dV,rarrfs:uV,rarrhk:pV,rarrlp:mV,rarrpl:gV,rarrsim:EV,Rarrtl:SV,rarrtl:fV,rarrw:bV,ratail:TV,rAtail:CV,ratio:hV,rationals:RV,rbarr:vV,rBarr:NV,RBarr:AV,rbbrk:IV,rbrace:OV,rbrack:yV,rbrke:DV,rbrksld:xV,rbrkslu:LV,Rcaron:MV,rcaron:wV,Rcedil:kV,rcedil:PV,rceil:UV,rcub:FV,Rcy:BV,rcy:GV,rdca:YV,rdldhar:qV,rdquo:VV,rdquor:HV,rdsh:zV,real:WV,realine:KV,realpart:QV,reals:$V,Re:ZV,rect:XV,reg:JV,REG:jV,ReverseElement:eH,ReverseEquilibrium:tH,ReverseUpEquilibrium:nH,rfisht:rH,rfloor:aH,rfr:iH,Rfr:oH,rHar:sH,rhard:lH,rharu:cH,rharul:_H,Rho:dH,rho:uH,rhov:pH,RightAngleBracket:mH,RightArrowBar:gH,rightarrow:EH,RightArrow:SH,Rightarrow:fH,RightArrowLeftArrow:bH,rightarrowtail:TH,RightCeiling:CH,RightDoubleBracket:hH,RightDownTeeVector:RH,RightDownVectorBar:vH,RightDownVector:NH,RightFloor:AH,rightharpoondown:IH,rightharpoonup:OH,rightleftarrows:yH,rightleftharpoons:DH,rightrightarrows:xH,rightsquigarrow:LH,RightTeeArrow:MH,RightTee:wH,RightTeeVector:kH,rightthreetimes:PH,RightTriangleBar:UH,RightTriangle:FH,RightTriangleEqual:BH,RightUpDownVector:GH,RightUpTeeVector:YH,RightUpVectorBar:qH,RightUpVector:VH,RightVectorBar:HH,RightVector:zH,ring:WH,risingdotseq:KH,rlarr:QH,rlhar:$H,rlm:ZH,rmoustache:XH,rmoust:JH,rnmid:jH,roang:ez,roarr:tz,robrk:nz,ropar:rz,ropf:az,Ropf:iz,roplus:oz,rotimes:sz,RoundImplies:lz,rpar:cz,rpargt:_z,rppolint:dz,rrarr:uz,Rrightarrow:pz,rsaquo:mz,rscr:gz,Rscr:Ez,rsh:Sz,Rsh:fz,rsqb:bz,rsquo:Tz,rsquor:Cz,rthree:hz,rtimes:Rz,rtri:vz,rtrie:Nz,rtrif:Az,rtriltri:Iz,RuleDelayed:Oz,ruluhar:yz,rx:Dz,Sacute:xz,sacute:Lz,sbquo:Mz,scap:wz,Scaron:kz,scaron:Pz,Sc:Uz,sc:Fz,sccue:Bz,sce:Gz,scE:Yz,Scedil:qz,scedil:Vz,Scirc:Hz,scirc:zz,scnap:Wz,scnE:Kz,scnsim:Qz,scpolint:$z,scsim:Zz,Scy:Xz,scy:Jz,sdotb:jz,sdot:eW,sdote:tW,searhk:nW,searr:rW,seArr:aW,searrow:iW,sect:oW,semi:sW,seswar:lW,setminus:cW,setmn:_W,sext:dW,Sfr:uW,sfr:pW,sfrown:mW,sharp:gW,SHCHcy:EW,shchcy:SW,SHcy:fW,shcy:bW,ShortDownArrow:TW,ShortLeftArrow:CW,shortmid:hW,shortparallel:RW,ShortRightArrow:vW,ShortUpArrow:NW,shy:AW,Sigma:IW,sigma:OW,sigmaf:yW,sigmav:DW,sim:xW,simdot:LW,sime:MW,simeq:wW,simg:kW,simgE:PW,siml:UW,simlE:FW,simne:BW,simplus:GW,simrarr:YW,slarr:qW,SmallCircle:VW,smallsetminus:HW,smashp:zW,smeparsl:WW,smid:KW,smile:QW,smt:$W,smte:ZW,smtes:XW,SOFTcy:JW,softcy:jW,solbar:e3,solb:t3,sol:n3,Sopf:r3,sopf:a3,spades:i3,spadesuit:o3,spar:s3,sqcap:l3,sqcaps:c3,sqcup:_3,sqcups:d3,Sqrt:u3,sqsub:p3,sqsube:m3,sqsubset:g3,sqsubseteq:E3,sqsup:S3,sqsupe:f3,sqsupset:b3,sqsupseteq:T3,square:C3,Square:h3,SquareIntersection:R3,SquareSubset:v3,SquareSubsetEqual:N3,SquareSuperset:A3,SquareSupersetEqual:I3,SquareUnion:O3,squarf:y3,squ:D3,squf:x3,srarr:L3,Sscr:M3,sscr:w3,ssetmn:k3,ssmile:P3,sstarf:U3,Star:F3,star:B3,starf:G3,straightepsilon:Y3,straightphi:q3,strns:V3,sub:H3,Sub:z3,subdot:W3,subE:K3,sube:Q3,subedot:$3,submult:Z3,subnE:X3,subne:J3,subplus:j3,subrarr:eK,subset:tK,Subset:nK,subseteq:rK,subseteqq:aK,SubsetEqual:iK,subsetneq:oK,subsetneqq:sK,subsim:lK,subsub:cK,subsup:_K,succapprox:dK,succ:uK,succcurlyeq:pK,Succeeds:mK,SucceedsEqual:gK,SucceedsSlantEqual:EK,SucceedsTilde:SK,succeq:fK,succnapprox:bK,succneqq:TK,succnsim:CK,succsim:hK,SuchThat:RK,sum:vK,Sum:NK,sung:AK,sup1:IK,sup2:OK,sup3:yK,sup:DK,Sup:xK,supdot:LK,supdsub:MK,supE:wK,supe:kK,supedot:PK,Superset:UK,SupersetEqual:FK,suphsol:BK,suphsub:GK,suplarr:YK,supmult:qK,supnE:VK,supne:HK,supplus:zK,supset:WK,Supset:KK,supseteq:QK,supseteqq:$K,supsetneq:ZK,supsetneqq:XK,supsim:JK,supsub:jK,supsup:eQ,swarhk:tQ,swarr:nQ,swArr:rQ,swarrow:aQ,swnwar:iQ,szlig:oQ,Tab:sQ,target:lQ,Tau:cQ,tau:_Q,tbrk:dQ,Tcaron:uQ,tcaron:pQ,Tcedil:mQ,tcedil:gQ,Tcy:EQ,tcy:SQ,tdot:fQ,telrec:bQ,Tfr:TQ,tfr:CQ,there4:hQ,therefore:RQ,Therefore:vQ,Theta:NQ,theta:AQ,thetasym:IQ,thetav:OQ,thickapprox:yQ,thicksim:DQ,ThickSpace:xQ,ThinSpace:LQ,thinsp:MQ,thkap:wQ,thksim:kQ,THORN:PQ,thorn:UQ,tilde:FQ,Tilde:BQ,TildeEqual:GQ,TildeFullEqual:YQ,TildeTilde:qQ,timesbar:VQ,timesb:HQ,times:zQ,timesd:WQ,tint:KQ,toea:QQ,topbot:$Q,topcir:ZQ,top:XQ,Topf:JQ,topf:jQ,topfork:e4,tosa:t4,tprime:n4,trade:r4,TRADE:a4,triangle:i4,triangledown:o4,triangleleft:s4,trianglelefteq:l4,triangleq:c4,triangleright:_4,trianglerighteq:d4,tridot:u4,trie:p4,triminus:m4,TripleDot:g4,triplus:E4,trisb:S4,tritime:f4,trpezium:b4,Tscr:T4,tscr:C4,TScy:h4,tscy:R4,TSHcy:v4,tshcy:N4,Tstrok:A4,tstrok:I4,twixt:O4,twoheadleftarrow:y4,twoheadrightarrow:D4,Uacute:x4,uacute:L4,uarr:M4,Uarr:w4,uArr:k4,Uarrocir:P4,Ubrcy:U4,ubrcy:F4,Ubreve:B4,ubreve:G4,Ucirc:Y4,ucirc:q4,Ucy:V4,ucy:H4,udarr:z4,Udblac:W4,udblac:K4,udhar:Q4,ufisht:$4,Ufr:Z4,ufr:X4,Ugrave:J4,ugrave:j4,uHar:e$,uharl:t$,uharr:n$,uhblk:r$,ulcorn:a$,ulcorner:i$,ulcrop:o$,ultri:s$,Umacr:l$,umacr:c$,uml:_$,UnderBar:d$,UnderBrace:u$,UnderBracket:p$,UnderParenthesis:m$,Union:g$,UnionPlus:E$,Uogon:S$,uogon:f$,Uopf:b$,uopf:T$,UpArrowBar:C$,uparrow:h$,UpArrow:R$,Uparrow:v$,UpArrowDownArrow:N$,updownarrow:A$,UpDownArrow:I$,Updownarrow:O$,UpEquilibrium:y$,upharpoonleft:D$,upharpoonright:x$,uplus:L$,UpperLeftArrow:M$,UpperRightArrow:w$,upsi:k$,Upsi:P$,upsih:U$,Upsilon:F$,upsilon:B$,UpTeeArrow:G$,UpTee:Y$,upuparrows:q$,urcorn:V$,urcorner:H$,urcrop:z$,Uring:W$,uring:K$,urtri:Q$,Uscr:$$,uscr:Z$,utdot:X$,Utilde:J$,utilde:j$,utri:e9,utrif:t9,uuarr:n9,Uuml:r9,uuml:a9,uwangle:i9,vangrt:o9,varepsilon:s9,varkappa:l9,varnothing:c9,varphi:_9,varpi:d9,varpropto:u9,varr:p9,vArr:m9,varrho:g9,varsigma:E9,varsubsetneq:S9,varsubsetneqq:f9,varsupsetneq:b9,varsupsetneqq:T9,vartheta:C9,vartriangleleft:h9,vartriangleright:R9,vBar:v9,Vbar:N9,vBarv:A9,Vcy:I9,vcy:O9,vdash:y9,vDash:D9,Vdash:x9,VDash:L9,Vdashl:M9,veebar:w9,vee:k9,Vee:P9,veeeq:U9,vellip:F9,verbar:B9,Verbar:G9,vert:Y9,Vert:q9,VerticalBar:V9,VerticalLine:H9,VerticalSeparator:z9,VerticalTilde:W9,VeryThinSpace:K9,Vfr:Q9,vfr:$9,vltri:Z9,vnsub:X9,vnsup:J9,Vopf:j9,vopf:e5,vprop:t5,vrtri:n5,Vscr:r5,vscr:a5,vsubnE:i5,vsubne:o5,vsupnE:s5,vsupne:l5,Vvdash:c5,vzigzag:_5,Wcirc:d5,wcirc:u5,wedbar:p5,wedge:m5,Wedge:g5,wedgeq:E5,weierp:S5,Wfr:f5,wfr:b5,Wopf:T5,wopf:C5,wp:h5,wr:R5,wreath:v5,Wscr:N5,wscr:A5,xcap:I5,xcirc:O5,xcup:y5,xdtri:D5,Xfr:x5,xfr:L5,xharr:M5,xhArr:w5,Xi:k5,xi:P5,xlarr:U5,xlArr:F5,xmap:B5,xnis:G5,xodot:Y5,Xopf:q5,xopf:V5,xoplus:H5,xotime:z5,xrarr:W5,xrArr:K5,Xscr:Q5,xscr:$5,xsqcup:Z5,xuplus:X5,xutri:J5,xvee:j5,xwedge:e8,Yacute:t8,yacute:n8,YAcy:r8,yacy:a8,Ycirc:i8,ycirc:o8,Ycy:s8,ycy:l8,yen:c8,Yfr:_8,yfr:d8,YIcy:u8,yicy:p8,Yopf:m8,yopf:g8,Yscr:E8,yscr:S8,YUcy:f8,yucy:b8,yuml:T8,Yuml:C8,Zacute:h8,zacute:R8,Zcaron:v8,zcaron:N8,Zcy:A8,zcy:I8,Zdot:O8,zdot:y8,zeetrf:D8,ZeroWidthSpace:x8,Zeta:L8,zeta:M8,zfr:w8,Zfr:k8,ZHcy:P8,zhcy:U8,zigrarr:F8,zopf:B8,Zopf:G8,Zscr:Y8,zscr:q8,zwj:V8,zwnj:H8};var zd=z8,Po=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,xt={},B_={};function W8(t){var e,n,r=B_[t];if(r)return r;for(r=B_[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),o=W8(e),r=0,i=t.length;r=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&s<=57343)){l+=encodeURIComponent(t[r]+t[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[r])}return l}Nn.defaultChars=";/?:@&=+$,-_.!~*'()#";Nn.componentChars="-_.!~*'()";var K8=Nn,G_={};function Q8(t){var e,n,r=G_[t];if(r)return r;for(r=G_[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e=55296&&_<=57343?d+="���":d+=String.fromCharCode(_),i+=6;continue}if((s&248)===240&&i+91114111?d+="����":(_-=65536,d+=String.fromCharCode(55296+(_>>10),56320+(_&1023))),i+=9;continue}d+="�"}return d})}An.defaultChars=";/?:@&=+$,#";An.componentChars="";var $8=An,Z8=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function Tn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var X8=/^([a-z0-9.+-]+:)/i,J8=/:[0-9]*$/,j8=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,e6=["<",">",'"',"`"," ","\r",` -`," "],t6=["{","}","|","\\","^","`"].concat(e6),n6=["'"].concat(t6),Y_=["%","/","?",";","#"].concat(n6),q_=["/","?","#"],r6=255,V_=/^[+a-z0-9A-Z_-]{0,63}$/,a6=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,H_={javascript:!0,"javascript:":!0},z_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function i6(t,e){if(t&&t instanceof Tn)return t;var n=new Tn;return n.parse(t,e),n}Tn.prototype.parse=function(t,e){var n,r,i,a,s,o=t;if(o=o.trim(),!e&&t.split("#").length===1){var l=j8.exec(o);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=X8.exec(o);if(c&&(c=c[0],i=c.toLowerCase(),this.protocol=c,o=o.substr(c.length)),(e||c||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s=o.substr(0,2)==="//",s&&!(c&&H_[c])&&(o=o.substr(2),this.slashes=!0)),!H_[c]&&(s||c&&!z_[c])){var _=-1;for(n=0;n127?S+="x":S+=f[T];if(!S.match(V_)){var I=g.slice(0,n),N=g.slice(n+1),m=f.match(a6);m&&(I.push(m[1]),N.unshift(m[2])),N.length&&(o=N.join(".")+o),this.hostname=I.join(".");break}}}}this.hostname.length>r6&&(this.hostname=""),E&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var C=o.indexOf("#");C!==-1&&(this.hash=o.substr(C),o=o.slice(0,C));var A=o.indexOf("?");return A!==-1&&(this.search=o.substr(A),o=o.slice(0,A)),o&&(this.pathname=o),z_[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Tn.prototype.parseHost=function(t){var e=J8.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var o6=i6;xt.encode=K8;xt.decode=$8;xt.format=Z8;xt.parse=o6;var Et={},mo,W_;function Wd(){return W_||(W_=1,mo=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),mo}var go,K_;function Kd(){return K_||(K_=1,go=/[\0-\x1F\x7F-\x9F]/),go}var Eo,Q_;function s6(){return Q_||(Q_=1,Eo=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Eo}var So,$_;function Qd(){return $_||($_=1,So=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),So}var Z_;function l6(){return Z_||(Z_=1,Et.Any=Wd(),Et.Cc=Kd(),Et.Cf=s6(),Et.P=Po,Et.Z=Qd()),Et}(function(t){function e(D){return Object.prototype.toString.call(D)}function n(D){return e(D)==="[object String]"}var r=Object.prototype.hasOwnProperty;function i(D,V){return r.call(D,V)}function a(D){var V=Array.prototype.slice.call(arguments,1);return V.forEach(function(k){if(k){if(typeof k!="object")throw new TypeError(k+"must be object");Object.keys(k).forEach(function(R){D[R]=k[R]})}}),D}function s(D,V,k){return[].concat(D.slice(0,V),k,D.slice(V+1))}function o(D){return!(D>=55296&&D<=57343||D>=64976&&D<=65007||(D&65535)===65535||(D&65535)===65534||D>=0&&D<=8||D===11||D>=14&&D<=31||D>=127&&D<=159||D>1114111)}function l(D){if(D>65535){D-=65536;var V=55296+(D>>10),k=56320+(D&1023);return String.fromCharCode(V,k)}return String.fromCharCode(D)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,_=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+_.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=zd;function E(D,V){var k;return i(p,V)?p[V]:V.charCodeAt(0)===35&&u.test(V)&&(k=V[1].toLowerCase()==="x"?parseInt(V.slice(2),16):parseInt(V.slice(1),10),o(k))?l(k):D}function g(D){return D.indexOf("\\")<0?D:D.replace(c,"$1")}function f(D){return D.indexOf("\\")<0&&D.indexOf("&")<0?D:D.replace(d,function(V,k,R){return k||E(V,R)})}var S=/[&<>"]/,T=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};function I(D){return v[D]}function N(D){return S.test(D)?D.replace(T,I):D}var m=/[.?*+^$[\]\\(){}|-]/g;function C(D){return D.replace(m,"\\$&")}function A(D){switch(D){case 9:case 32:return!0}return!1}function L(D){if(D>=8192&&D<=8202)return!0;switch(D){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var Y=Po;function P(D){return Y.test(D)}function J(D){switch(D){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ce(D){return D=D.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(D=D.replace(/ẞ/g,"ß")),D.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=xt,t.lib.ucmicro=l6(),t.assign=a,t.isString=n,t.has=i,t.unescapeMd=g,t.unescapeAll=f,t.isValidEntityCode=o,t.fromCodePoint=l,t.escapeHtml=N,t.arrayReplaceAt=s,t.isSpace=A,t.isWhiteSpace=L,t.isMdAsciiPunct=J,t.isPunctChar=P,t.escapeRE=C,t.normalizeReference=ce})(Ce);var In={},c6=function(e,n,r){var i,a,s,o,l=-1,c=e.posMax,_=e.pos;for(e.pos=n+1,i=1;e.pos32))return o;if(i===41){if(a===0)break;a--}s++}return n===s||a!==0||(o.str=X_(e.slice(n,s)),o.pos=s,o.ok=!0),o},d6=Ce.unescapeAll,u6=function(e,n,r){var i,a,s=0,o=n,l={ok:!1,pos:0,lines:0,str:""};if(o>=r||(a=e.charCodeAt(o),a!==34&&a!==39&&a!==40))return l;for(o++,a===40&&(a=41);o"+ht(a.content)+""};ot.code_block=function(t,e,n,r,i){var a=t[e];return""+ht(t[e].content)+` -`};ot.fence=function(t,e,n,r,i){var a=t[e],s=a.info?m6(a.info).trim():"",o="",l="",c,_,d,u,p;return s&&(d=s.split(/(\s+)/g),o=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(a.content,o,l)||ht(a.content):c=ht(a.content),c.indexOf(""+c+` -`):"
    "+c+`
    -`};ot.image=function(t,e,n,r,i){var a=t[e];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(t,e,n)};ot.hardbreak=function(t,e,n){return n.xhtmlOut?`
    -`:`
    -`};ot.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
    -`:`
    -`:` -`};ot.text=function(t,e){return ht(t[e].content)};ot.html_block=function(t,e){return t[e].content};ot.html_inline=function(t,e){return t[e].content};function Lt(){this.rules=p6({},ot)}Lt.prototype.renderAttrs=function(e){var n,r,i;if(!e.attrs)return"";for(i="",n=0,r=e.attrs.length;n -`:">",a)};Lt.prototype.renderInline=function(t,e,n){for(var r,i="",a=this.rules,s=0,o=t.length;s\s]/i.test(t)}function R6(t){return/^<\/a\s*>/i.test(t)}var v6=function(e){var n,r,i,a,s,o,l,c,_,d,u,p,E,g,f,S,T=e.tokens,v;if(e.md.options.linkify){for(r=0,i=T.length;r=0;n--){if(o=a[n],o.type==="link_close"){for(n--;a[n].level!==o.level&&a[n].type!=="link_open";)n--;continue}if(o.type==="html_inline"&&(h6(o.content)&&E>0&&E--,R6(o.content)&&E++),!(E>0)&&o.type==="text"&&e.md.linkify.test(o.content)){for(_=o.content,v=e.md.linkify.match(_),l=[],p=o.level,u=0,v.length>0&&v[0].index===0&&n>0&&a[n-1].type==="text_special"&&(v=v.slice(1)),c=0;cu&&(s=new e.Token("text","",0),s.content=_.slice(u,d),s.level=p,l.push(s)),s=new e.Token("link_open","a",1),s.attrs=[["href",f]],s.level=p++,s.markup="linkify",s.info="auto",l.push(s),s=new e.Token("text","",0),s.content=S,s.level=p,l.push(s),s=new e.Token("link_close","a",-1),s.level=--p,s.markup="linkify",s.info="auto",l.push(s),u=v[c].lastIndex);u<_.length&&(s=new e.Token("text","",0),s.content=_.slice(u),s.level=p,l.push(s)),T[r].children=a=C6(a,n,l)}}}},$d=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,N6=/\((c|tm|r)\)/i,A6=/\((c|tm|r)\)/ig,I6={c:"©",r:"®",tm:"™"};function O6(t,e){return I6[e.toLowerCase()]}function y6(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&(n.content=n.content.replace(A6,O6)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function D6(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&$d.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var x6=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(N6.test(e.tokens[n].content)&&y6(e.tokens[n].children),$d.test(e.tokens[n].content)&&D6(e.tokens[n].children))},J_=Ce.isWhiteSpace,j_=Ce.isPunctChar,ed=Ce.isMdAsciiPunct,L6=/['"]/,td=/['"]/g,nd="’";function En(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function M6(t,e){var n,r,i,a,s,o,l,c,_,d,u,p,E,g,f,S,T,v,I,N,m;for(I=[],n=0;n=0&&!(I[T].level<=l);T--);if(I.length=T+1,r.type==="text"){i=r.content,s=0,o=i.length;e:for(;s=0)_=i.charCodeAt(a.index-1);else for(T=n-1;T>=0&&!(t[T].type==="softbreak"||t[T].type==="hardbreak");T--)if(t[T].content){_=t[T].content.charCodeAt(t[T].content.length-1);break}if(d=32,s=48&&_<=57&&(S=f=!1),f&&S&&(f=u,S=p),!f&&!S){v&&(r.content=En(r.content,a.index,nd));continue}if(S){for(T=I.length-1;T>=0&&(c=I[T],!(I[T].level=0;n--)e.tokens[n].type!=="inline"||!L6.test(e.tokens[n].content)||M6(e.tokens[n].children,e)},k6=function(e){var n,r,i,a,s,o,l=e.tokens;for(n=0,r=l.length;n=0&&(r=this.attrs[n][1]),r};Mt.prototype.attrJoin=function(e,n){var r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var Fo=Mt,P6=Fo;function Zd(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Zd.prototype.Token=P6;var U6=Zd,F6=Uo,fo=[["normalize",f6],["block",b6],["inline",T6],["linkify",v6],["replacements",x6],["smartquotes",w6],["text_join",k6]];function Bo(){this.ruler=new F6;for(var t=0;tr||(_=n+1,e.sCount[_]=4||(o=e.bMarks[_]+e.tShift[_],o>=e.eMarks[_])||(N=e.src.charCodeAt(o++),N!==124&&N!==45&&N!==58)||o>=e.eMarks[_]||(m=e.src.charCodeAt(o++),m!==124&&m!==45&&m!==58&&!bo(m))||N===45&&bo(m))return!1;for(;o=4||(d=rd(s),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u=d.length,u===0||u!==E.length))return!1;if(i)return!0;for(T=e.parentType,e.parentType="table",I=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=f=[n,0],p=e.push("thead_open","thead",1),p.map=[n,n+1],p=e.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(d=rd(s),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),_===n+2&&(p=e.push("tbody_open","tbody",1),p.map=S=[n+2,0]),p=e.push("tr_open","tr",1),p.map=[_,_+1],l=0;l=4){i++,a=i;continue}break}return e.line=a,s=e.push("code_block","code",0),s.content=e.getLines(n,a,4+e.blkIndent,!1)+` -`,s.map=[n,e.line],!0},q6=function(e,n,r,i){var a,s,o,l,c,_,d,u=!1,p=e.bMarks[n]+e.tShift[n],E=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>E||(a=e.src.charCodeAt(p),a!==126&&a!==96)||(c=p,p=e.skipChars(p,a),s=p-c,s<3)||(d=e.src.slice(c,p),o=e.src.slice(p,E),a===96&&o.indexOf(String.fromCharCode(a))>=0))return!1;if(i)return!0;for(l=n;l++,!(l>=r||(p=c=e.bMarks[l]+e.tShift[l],E=e.eMarks[l],p=4)&&(p=e.skipChars(p,a),!(p-c=4||e.src.charCodeAt(Y)!==62)return!1;if(i)return!0;for(E=[],g=[],T=[],v=[],m=e.md.block.ruler.getRules("blockquote"),S=e.parentType,e.parentType="blockquote",u=n;u=P));u++){if(e.src.charCodeAt(Y++)===62&&!A){for(l=e.sCount[u]+1,e.src.charCodeAt(Y)===32?(Y++,l++,a=!1,I=!0):e.src.charCodeAt(Y)===9?(I=!0,(e.bsCount[u]+l)%4===3?(Y++,l++,a=!1):a=!0):I=!1,p=l,E.push(e.bMarks[u]),e.bMarks[u]=Y;Y=P,g.push(e.bsCount[u]),e.bsCount[u]=e.sCount[u]+1+(I?1:0),T.push(e.sCount[u]),e.sCount[u]=p-l,v.push(e.tShift[u]),e.tShift[u]=Y-e.bMarks[u];continue}if(_)break;for(N=!1,o=0,c=m.length;o",C.map=d=[n,0],e.md.block.tokenize(e,n,u),C=e.push("blockquote_close","blockquote",-1),C.markup=">",e.lineMax=L,e.parentType=S,d[1]=e.line,o=0;o=4||(a=e.src.charCodeAt(c++),a!==42&&a!==45&&a!==95))return!1;for(s=1;c<_;){if(o=e.src.charCodeAt(c++),o!==a&&!z6(o))return!1;o===a&&s++}return s<3?!1:(i||(e.line=n+1,l=e.push("hr","hr",0),l.map=[n,e.line],l.markup=Array(s+1).join(String.fromCharCode(a))),!0)},Xd=Ce.isSpace;function ad(t,e){var n,r,i,a;return r=t.bMarks[e]+t.tShift[e],i=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r=a||(n=t.src.charCodeAt(i++),n<48||n>57))return-1;for(;;){if(i>=a)return-1;if(n=t.src.charCodeAt(i++),n>=48&&n<=57){if(i-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[k]-e.listIndent>=4&&e.sCount[k]=e.blkIndent&&(R=!0),(Y=id(e,k))>=0){if(d=!0,J=e.bMarks[k]+e.tShift[k],S=Number(e.src.slice(J,Y-1)),R&&S!==1)return!1}else if((Y=ad(e,k))>=0)d=!1;else return!1;if(R&&e.skipSpaces(Y)>=e.eMarks[k])return!1;if(i)return!0;for(f=e.src.charCodeAt(Y-1),g=e.tokens.length,d?(V=e.push("ordered_list_open","ol",1),S!==1&&(V.attrs=[["start",S]])):V=e.push("bullet_list_open","ul",1),V.map=E=[k,0],V.markup=String.fromCharCode(f),P=!1,D=e.md.block.ruler.getRules("list"),N=e.parentType,e.parentType="list";k=T?c=1:c=v-_,c>4&&(c=1),l=_+c,V=e.push("list_item_open","li",1),V.markup=String.fromCharCode(f),V.map=u=[k,0],d&&(V.info=e.src.slice(J,Y-1)),A=e.tight,C=e.tShift[k],m=e.sCount[k],I=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[k]=s-e.bMarks[k],e.sCount[k]=v,s>=T&&e.isEmpty(k+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,k,r,!0),(!e.tight||P)&&(x=!1),P=e.line-k>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=I,e.tShift[k]=C,e.sCount[k]=m,e.tight=A,V=e.push("list_item_close","li",-1),V.markup=String.fromCharCode(f),k=e.line,u[1]=k,k>=r||e.sCount[k]=4)break;for(ce=!1,o=0,p=D.length;o=4||e.src.charCodeAt(m)!==91)return!1;for(;++m3)&&!(e.sCount[A]<0)){for(T=!1,_=0,d=v.length;_"u"&&(e.env.references={}),typeof e.env.references[u]>"u"&&(e.env.references[u]={title:I,href:c}),e.parentType=E,e.line=n+N+1),!0)},X6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],On={},J6="[a-zA-Z_:][a-zA-Z0-9:._-]*",j6="[^\"'=<>`\\x00-\\x20]+",eZ="'[^']*'",tZ='"[^"]*"',nZ="(?:"+j6+"|"+eZ+"|"+tZ+")",rZ="(?:\\s+"+J6+"(?:\\s*=\\s*"+nZ+")?)",Jd="<[A-Za-z][A-Za-z0-9\\-]*"+rZ+"*\\s*\\/?>",jd="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",aZ="|",iZ="<[?][\\s\\S]*?[?]>",oZ="]*>",sZ="",lZ=new RegExp("^(?:"+Jd+"|"+jd+"|"+aZ+"|"+iZ+"|"+oZ+"|"+sZ+")"),cZ=new RegExp("^(?:"+Jd+"|"+jd+")");On.HTML_TAG_RE=lZ;On.HTML_OPEN_CLOSE_TAG_RE=cZ;var _Z=X6,dZ=On.HTML_OPEN_CLOSE_TAG_RE,At=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(dZ.source+"\\s*$"),/^$/,!1]],uZ=function(e,n,r,i){var a,s,o,l,c=e.bMarks[n]+e.tShift[n],_=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,_),a=0;a=4||(a=e.src.charCodeAt(c),a!==35||c>=_))return!1;for(s=1,a=e.src.charCodeAt(++c);a===35&&c<_&&s<=6;)s++,a=e.src.charCodeAt(++c);return s>6||c<_&&!od(a)?!1:(i||(_=e.skipSpacesBack(_,c),o=e.skipCharsBack(_,35,c),o>c&&od(e.src.charCodeAt(o-1))&&(_=o),e.line=n+1,l=e.push("heading_open","h"+String(s),1),l.markup="########".slice(0,s),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,_).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(s),-1),l.markup="########".slice(0,s)),!0)},mZ=function(e,n,r){var i,a,s,o,l,c,_,d,u,p=n+1,E,g=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(E=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(c=e.bMarks[p]+e.tShift[p],_=e.eMarks[p],c<_&&(u=e.src.charCodeAt(c),(u===45||u===61)&&(c=e.skipChars(c,u),c=e.skipSpaces(c),c>=_)))){d=u===61?1:2;break}if(!(e.sCount[p]<0)){for(a=!1,s=0,o=g.length;s3)&&!(e.sCount[_]<0)){for(a=!1,s=0,o=d.length;s0&&this.level++,this.tokens.push(r),r};st.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};st.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!yn(this.src.charCodeAt(--e)))return e+1;return e};st.prototype.skipChars=function(e,n){for(var r=this.src.length;er;)if(n!==this.src.charCodeAt(--e))return e+1;return e};st.prototype.getLines=function(e,n,r,i){var a,s,o,l,c,_,d,u=e;if(e>=n)return"";for(_=new Array(n-e),a=0;ur?_[a]=new Array(s-r+1).join(" ")+this.src.slice(l,c):_[a]=this.src.slice(l,c)}return _.join("")};st.prototype.Token=eu;var EZ=st,SZ=Uo,fn=[["table",G6,["paragraph","reference"]],["code",Y6],["fence",q6,["paragraph","reference","blockquote","list"]],["blockquote",H6,["paragraph","reference","blockquote","list"]],["hr",W6,["paragraph","reference","blockquote","list"]],["list",Q6,["paragraph","reference","blockquote"]],["reference",Z6],["html_block",uZ,["paragraph","reference","blockquote"]],["heading",pZ,["paragraph","reference","blockquote"]],["lheading",mZ],["paragraph",gZ]];function Dn(){this.ruler=new SZ;for(var t=0;t=n||t.sCount[l]=_){t.line=n;break}for(a=t.line,i=0;i=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),l=t.line,l0||(r=e.pos,i=e.posMax,r+3>i)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(a=e.pending.match(CZ),!a)||(s=a[1],o=e.md.linkify.matchAtStart(e.src.slice(r-s.length)),!o)||(l=o.url,l.length<=s.length)||(l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(n||(e.pending=e.pending.slice(0,-s.length),_=e.push("link_open","a",1),_.attrs=[["href",c]],_.markup="linkify",_.info="auto",_=e.push("text","",0),_.content=e.md.normalizeLinkText(l),_=e.push("link_close","a",-1),_.markup="linkify",_.info="auto"),e.pos+=l.length-s.length,!0)},RZ=Ce.isSpace,vZ=function(e,n){var r,i,a,s=e.pos;if(e.src.charCodeAt(s)!==10)return!1;if(r=e.pending.length-1,i=e.posMax,!n)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s?@[]^_`{|}~-".split("").forEach(function(t){Go[t.charCodeAt(0)]=1});var AZ=function(e,n){var r,i,a,s,o,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(r=e.src.charCodeAt(l),r===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&r<=56319&&l+1=56320&&i<=57343&&(s+=e.src[l+1],l++)),a="\\"+s,n||(o=e.push("text_special","",0),r<256&&Go[r]!==0?o.content=s:o.content=a,o.markup=a,o.info="escape"),e.pos=l+1,!0},IZ=function(e,n){var r,i,a,s,o,l,c,_,d=e.pos,u=e.src.charCodeAt(d);if(u!==96)return!1;for(r=d,d++,i=e.posMax;d=0;n--)r=e[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(i=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===i.token+1,s=String.fromCharCode(r.marker),a=t.tokens[r.token],a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="",a=t.tokens[i.token],a.type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?s+s:s,a.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Ln.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(cd(e,e.delimiters),n=0;n=g)return!1;if(f=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(u=e.md.normalizeLink(c.str),e.md.validateLink(u)?l=c.pos:u="",f=l;l=g||e.src.charCodeAt(l)!==41)&&(S=!0),l++}if(S){if(typeof e.env.references>"u")return!1;if(l=0?a=e.src.slice(f,l++):l=s+1):l=s+1,a||(a=e.src.slice(o,s)),_=e.env.references[OZ(a)],!_)return e.pos=E,!1;u=_.href,p=_.title}return n||(e.pos=o,e.posMax=s,d=e.push("link_open","a",1),d.attrs=r=[["href",u]],p&&r.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,d=e.push("link_close","a",-1)),e.pos=l,e.posMax=g,!0},DZ=Ce.normalizeReference,ho=Ce.isSpace,xZ=function(e,n){var r,i,a,s,o,l,c,_,d,u,p,E,g,f="",S=e.pos,T=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,o=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),o<0))return!1;if(c=o+1,c=T)return!1;for(g=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?c=d.pos:f=""),g=c;c=T||e.src.charCodeAt(c)!==41)return e.pos=S,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?s=e.src.slice(g,c++):c=o+1):c=o+1,s||(s=e.src.slice(l,o)),_=e.env.references[DZ(s)],!_)return e.pos=S,!1;f=_.href,u=_.title}return n||(a=e.src.slice(l,o),e.md.inline.parse(a,e.md,e.env,E=[]),p=e.push("image","img",0),p.attrs=r=[["src",f],["alt",""]],p.children=E,p.content=a,u&&r.push(["title",u])),e.pos=c,e.posMax=T,!0},LZ=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,MZ=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,wZ=function(e,n){var r,i,a,s,o,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(o=e.pos,l=e.posMax;;){if(++c>=l||(s=e.src.charCodeAt(c),s===60))return!1;if(s===62)break}return r=e.src.slice(o+1,c),MZ.test(r)?(i=e.md.normalizeLink(r),e.md.validateLink(i)?(n||(a=e.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):LZ.test(r)?(i=e.md.normalizeLink("mailto:"+r),e.md.validateLink(i)?(n||(a=e.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(r),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=r.length+2,!0):!1):!1},kZ=On.HTML_TAG_RE;function PZ(t){return/^\s]/i.test(t)}function UZ(t){return/^<\/a\s*>/i.test(t)}function FZ(t){var e=t|32;return e>=97&&e<=122}var BZ=function(e,n){var r,i,a,s,o=e.pos;return!e.md.options.html||(a=e.posMax,e.src.charCodeAt(o)!==60||o+2>=a)||(r=e.src.charCodeAt(o+1),r!==33&&r!==63&&r!==47&&!FZ(r))||(i=e.src.slice(o).match(kZ),!i)?!1:(n||(s=e.push("html_inline","",0),s.content=i[0],PZ(s.content)&&e.linkLevel++,UZ(s.content)&&e.linkLevel--),e.pos+=i[0].length,!0)},_d=zd,GZ=Ce.has,YZ=Ce.isValidEntityCode,dd=Ce.fromCodePoint,qZ=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,VZ=/^&([a-z][a-z0-9]{1,31});/i,HZ=function(e,n){var r,i,a,s,o=e.pos,l=e.posMax;if(e.src.charCodeAt(o)!==38||o+1>=l)return!1;if(r=e.src.charCodeAt(o+1),r===35){if(a=e.src.slice(o).match(qZ),a)return n||(i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=e.push("text_special","",0),s.content=YZ(i)?dd(i):dd(65533),s.markup=a[0],s.info="entity"),e.pos+=a[0].length,!0}else if(a=e.src.slice(o).match(VZ),a&&GZ(_d,a[1]))return n||(s=e.push("text_special","",0),s.content=_d[a[1]],s.markup=a[0],s.info="entity"),e.pos+=a[0].length,!0;return!1};function ud(t){var e,n,r,i,a,s,o,l,c={},_=t.length;if(_){var d=0,u=-2,p=[];for(e=0;e<_;e++)if(r=t[e],p.push(0),(t[d].marker!==r.marker||u!==r.token-1)&&(d=e),u=r.token,r.length=r.length||0,!!r.close){for(c.hasOwnProperty(r.marker)||(c[r.marker]=[-1,-1,-1,-1,-1,-1]),a=c[r.marker][(r.open?3:0)+r.length%3],n=d-p[d]-1,s=n;n>a;n-=p[n]+1)if(i=t[n],i.marker===r.marker&&i.open&&i.end<0&&(o=!1,(i.close||r.open)&&(i.length+r.length)%3===0&&(i.length%3!==0||r.length%3!==0)&&(o=!0),!o)){l=n>0&&!t[n-1].open?p[n-1]+1:0,p[e]=e-n+l,p[n]=l,r.open=!1,i.end=e,i.close=!1,s=-1,u=-2;break}s!==-1&&(c[r.marker][(r.open?3:0)+(r.length||0)%3]=s)}}}var zZ=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(ud(e.delimiters),n=0;n0&&i++,a[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};Kt.prototype.scanDelims=function(t,e){var n=t,r,i,a,s,o,l,c,_,d,u=!0,p=!0,E=this.posMax,g=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,o[r]=t.pos};Qt.prototype.tokenize=function(t){for(var e,n,r,i=this.ruler.getRules(""),a=i.length,s=t.posMax,o=t.md.options.maxNesting;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=s)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Qt.prototype.parse=function(t,e,n,r){var i,a,s,o=new this.State(t,e,n,r);for(this.tokenize(o),a=this.ruler2.getRules(""),s=a.length,i=0;i|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),No}function Oo(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Mn(t){return Object.prototype.toString.call(t)}function ZZ(t){return Mn(t)==="[object String]"}function XZ(t){return Mn(t)==="[object Object]"}function JZ(t){return Mn(t)==="[object RegExp]"}function fd(t){return Mn(t)==="[object Function]"}function jZ(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var tu={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function eX(t){return Object.keys(t||{}).reduce(function(e,n){return e||tu.hasOwnProperty(n)},!1)}var tX={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},nX="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",rX="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function aX(t){t.__index__=-1,t.__text_cache__=""}function iX(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function bd(){return function(t,e){e.normalize(t)}}function Cn(t){var e=t.re=$Z()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(nX),n.push(e.src_xn),e.src_tlds=n.join("|");function r(o){return o.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var i=[];t.__compiled__={};function a(o,l){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+l)}Object.keys(t.__schemas__).forEach(function(o){var l=t.__schemas__[o];if(l!==null){var c={validate:null,link:null};if(t.__compiled__[o]=c,XZ(l)){JZ(l.validate)?c.validate=iX(l.validate):fd(l.validate)?c.validate=l.validate:a(o,l),fd(l.normalize)?c.normalize=l.normalize:l.normalize?a(o,l):c.normalize=bd();return}if(ZZ(l)){i.push(o);return}a(o,l)}}),i.forEach(function(o){t.__compiled__[t.__schemas__[o]]&&(t.__compiled__[o].validate=t.__compiled__[t.__schemas__[o]].validate,t.__compiled__[o].normalize=t.__compiled__[t.__schemas__[o]].normalize)}),t.__compiled__[""]={validate:null,normalize:bd()};var s=Object.keys(t.__compiled__).filter(function(o){return o.length>0&&t.__compiled__[o]}).map(jZ).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),aX(t)}function oX(t,e){var n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function yo(t,e){var n=new oX(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function He(t,e){if(!(this instanceof He))return new He(t,e);e||eX(t)&&(e=t,t={}),this.__opts__=Oo({},tu,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Oo({},tX,t),this.__compiled__={},this.__tlds__=rX,this.__tlds_replaced__=!1,this.re={},Cn(this)}He.prototype.add=function(e,n){return this.__schemas__[e]=n,Cn(this),this};He.prototype.set=function(e){return this.__opts__=Oo(this.__opts__,e),this};He.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,i,a,s,o,l,c,_;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(a=this.testSchemaAt(e,n[2],l.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=e.match(this.re.email_fuzzy))!==null&&(s=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o))),this.__index__>=0};He.prototype.pretest=function(e){return this.re.pretest.test(e)};He.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0};He.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(yo(this,n)),n=this.__last_index__);for(var i=n?e.slice(n):e;this.test(i);)r.push(yo(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};He.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,yo(this,0)):null};He.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),Cn(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Cn(this),this)};He.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};He.prototype.onCompile=function(){};var sX=He;const Ot=2147483647,at=36,qo=1,Yt=26,lX=38,cX=700,nu=72,ru=128,au="-",_X=/^xn--/,dX=/[^\0-\x7F]/,uX=/[\x2E\u3002\uFF0E\uFF61]/g,pX={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ao=at-qo,it=Math.floor,Io=String.fromCharCode;function pt(t){throw new RangeError(pX[t])}function mX(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function iu(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(uX,".");const i=t.split("."),a=mX(i,e).join(".");return r+a}function Vo(t){const e=[];let n=0;const r=t.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...t),gX=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:at},Td=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},su=function(t,e,n){let r=0;for(t=n?it(t/cX):t>>1,t+=it(t/e);t>Ao*Yt>>1;r+=at)t=it(t/Ao);return it(r+(Ao+1)*t/(t+lX))},Ho=function(t){const e=[],n=t.length;let r=0,i=ru,a=nu,s=t.lastIndexOf(au);s<0&&(s=0);for(let o=0;o=128&&pt("not-basic"),e.push(t.charCodeAt(o));for(let o=s>0?s+1:0;o=n&&pt("invalid-input");const u=gX(t.charCodeAt(o++));u>=at&&pt("invalid-input"),u>it((Ot-r)/_)&&pt("overflow"),r+=u*_;const p=d<=a?qo:d>=a+Yt?Yt:d-a;if(uit(Ot/E)&&pt("overflow"),_*=E}const c=e.length+1;a=su(r-l,c,l==0),it(r/c)>Ot-i&&pt("overflow"),i+=it(r/c),r%=c,e.splice(r++,0,i)}return String.fromCodePoint(...e)},zo=function(t){const e=[];t=Vo(t);const n=t.length;let r=ru,i=0,a=nu;for(const l of t)l<128&&e.push(Io(l));const s=e.length;let o=s;for(s&&e.push(au);o=r&&_it((Ot-i)/c)&&pt("overflow"),i+=(l-r)*c,r=l;for(const _ of t)if(_Ot&&pt("overflow"),_===r){let d=i;for(let u=at;;u+=at){const p=u<=a?qo:u>=a+Yt?Yt:u-a;if(d=0))try{e.hostname=_u.toASCII(e.hostname)}catch{}return bt.encode(bt.format(e))}function MX(t){var e=bt.parse(t,!0);if(e.hostname&&(!e.protocol||du.indexOf(e.protocol)>=0))try{e.hostname=_u.toUnicode(e.hostname)}catch{}return bt.decode(bt.format(e),bt.decode.defaultChars+"%")}function $e(t,e){if(!(this instanceof $e))return new $e(t,e);e||Ut.isString(t)||(e=t||{},t="default"),this.inline=new AX,this.block=new NX,this.core=new vX,this.renderer=new RX,this.linkify=new IX,this.validateLink=xX,this.normalizeLink=LX,this.normalizeLinkText=MX,this.utils=Ut,this.helpers=Ut.assign({},hX),this.options={},this.configure(t),e&&this.set(e)}$e.prototype.set=function(t){return Ut.assign(this.options,t),this};$e.prototype.configure=function(t){var e=this,n;if(Ut.isString(t)&&(n=t,t=OX[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this};$e.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};$e.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(i){return n.indexOf(i)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};$e.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};$e.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};$e.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};$e.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};$e.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var wX=$e,kX=wX;const $t=Rn(kX);function PX(t,e){var n,r,i=t.attrs[t.attrIndex("href")][1];for(n=0;na.fileInfo?a.fileInfo.split(","):[]);H(()=>{try{return JSON.parse(a.customId).buttons||[]}catch{return[]}});const a=t,s=n;Vt();const{isMobile:o}=ze();let l;Be(()=>a.status,m=>{l!==void 0&&(clearInterval(l),l=void 0),m===2&&(l=window.setInterval(async()=>{await _.queryActiveChatLogList()},5e3))},{immediate:!0}),Ft(()=>{l!==void 0&&clearInterval(l)}),Ft(()=>{clearInterval(l)});const c=W(),_=Ze(),d=new $t({linkify:!0,highlight(m,C){if(!!(C&&Ge.getLanguage(C))){const L=C??"";return E(Ge.highlight(m,{language:L}).value,L)}return E(Ge.highlightAuto(m).value,"")}}),u=H(()=>a.fileInfo);d.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),d.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const p=H(()=>{const m=a.text??"";return a.asRawText?m:d.render(m)});function E(m,C){return`
    ${C}${X("chat.copyCode")}
    ${m}
    `}function g(){s("copy")}function f(){s("delete")}H(()=>u.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(u.value):!1);async function S(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`upsample::${m}`));if(A){const L=A.customId;await r({msg:X("chat.enlargeImagePrefix")+m+X("chat.enlargeImageSuffix"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function T(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`variation::${m}`));if(A){const L=A.customId;await r({msg:X("chat.transformImagePrefix")+m+X("chat.transformImageSuffix"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function v(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`Outpaint::${m}`));if(A){const L=A.customId;await r({msg:X("chat.expandDrawing"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function I(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`${m}`));if(A){const L=A.customId;await r({msg:X("chat.advancedTransform"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}async function N(m){try{let C;C=JSON.parse(a.customId);const A=C.find(L=>L.customId.includes(`pan_${m}`));if(A){const L=A.customId;await r({msg:X("chat.translateImage"),action:"UPSCALE",drawId:a.drawId,customId:L,modelType:2,model:"midjourney",modelName:a.modelName})}}catch{}}return e({textRef:c}),(m,C)=>{var A,L,Y,P,J,ce,D,V,k;return y(),w("div",BX,[b("div",{ref_key:"textRef",ref:c,class:"leading-relaxed break-words w-full"},[b("div",GX,[b("div",YX,[m.status===2&&!p.value?(y(),w("span",qX)):ee("",!0),b("div",VX,[b("div",HX,[b("div",{class:Te(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":m.status===1||m.status===2||!p.value}]),innerHTML:p.value},null,10,zX)])])])])],512),b("div",WX,[b("div",null,[b("div",null,[b("div",null,[b("div",{class:"my-1 flex w-auto",style:Ct({maxHeight:O(o)?"60vh":"30vh",objectFit:"contain",width:"100%"})},[(y(!0),w(De,null,Qe(i.value,(R,x)=>(y(),Ee(O(yd),{key:x,src:R,"preview-src":R,alt:"图片",class:"rounded-md flex mb-1 mr-4"},null,8,["src","preview-src"]))),128))],4)]),(A=m.model)!=null&&A.includes("midjourney")&&u.value&&m.status===3?(y(),w("div",KX,[(L=m.customId)!=null&&L.includes("::upsample::1::")?(y(),w("div",QX,[b("div",$X,[b("div",ZX,[b("button",{onClick:C[0]||(C[0]=R=>S(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U1")),1),b("button",{onClick:C[1]||(C[1]=R=>S(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U2")),1),b("button",{onClick:C[2]||(C[2]=R=>S(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U3")),1),b("button",{onClick:C[3]||(C[3]=R=>S(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.U4")),1)])])])):ee("",!0),(Y=m.customId)!=null&&Y.includes("::variation::1::")?(y(),w("div",XX,[b("div",JX,[b("div",jX,[b("button",{onClick:C[4]||(C[4]=R=>T(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V1")),1),b("button",{onClick:C[5]||(C[5]=R=>T(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V2")),1),b("button",{onClick:C[6]||(C[6]=R=>T(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V3")),1),b("button",{onClick:C[7]||(C[7]=R=>T(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.V4")),1)])])])):ee("",!0),(P=m.customId)!=null&&P.includes("::pan_left::1::")?(y(),w("div",e7,[b("div",t7,[b("div",n7,[b("button",{onClick:C[8]||(C[8]=R=>N("left")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panLeft")),1),b("button",{onClick:C[9]||(C[9]=R=>N("right")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panRight")),1),b("button",{onClick:C[10]||(C[10]=R=>N("up")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panUp")),1),b("button",{onClick:C[11]||(C[11]=R=>N("down")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.panDown")),1)])])])):ee("",!0),(J=m.customId)!=null&&J.includes("Outpaint::50")?(y(),w("div",r7,[b("div",a7,[b("div",i7,[(ce=m.customId)!=null&&ce.includes("Outpaint::50")?(y(),w("button",{key:0,onClick:C[12]||(C[12]=R=>v(75)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.zoomIn15x")),1)):ee("",!0),(D=m.customId)!=null&&D.includes("Outpaint::50")?(y(),w("button",{key:1,onClick:C[13]||(C[13]=R=>v(50)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.zoomIn2x")),1)):ee("",!0),(V=m.customId)!=null&&V.includes("low_variation")?(y(),w("button",{key:2,onClick:C[14]||(C[14]=R=>I("low")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.minorTransform")),1)):ee("",!0),(k=m.customId)!=null&&k.includes("low_variation")?(y(),w("button",{key:3,onClick:C[15]||(C[15]=R=>I("high")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},Z(O(X)("chat.strongTransform")),1)):ee("",!0)])])])):ee("",!0)])):ee("",!0)])])]),b("div",o7,[b("div",null,[b("div",s7,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:g},[M(O(Ht),{class:"flex mr-1"}),b("span",l7,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:f},[M(O(zt),{class:"mr-1"}),b("span",c7,Z(O(X)("chat.delete")),1)])])])])])}}}),d7={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},u7={key:0,class:"p-2 w-full h-1/2"},p7={key:1,class:"w-3/4 p-2"},m7=Ue({__name:"FullScreenModal",props:{text:{},close:{type:Function}},setup(t){const e=t,n=W(),r=W(e.text),{isMobile:i}=ze(),a=new Dd.Transformer;let s;Ve(()=>{n.value&&(s=xd.create(n.value),o())}),Be(r,()=>{o()}),Ad(()=>{r.value=e.text});const o=()=>{const{root:_}=a.transform(r.value);s.setData(_),s.fit()},l=()=>{e.close()},c=async()=>{if(n.value){const _=await cp(n.value);_p.saveAs(_,"mindmap.png")}};return(_,d)=>(y(),w("div",d7,[M(O(Do),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:l}),b("div",{class:Te(["bg-white dark:bg-gray-900 w-full h-full p-4",[O(i)?"flex-col":"flex"]])},[O(i)?(y(),w("div",u7,[(y(),w("svg",{ref_key:"svgRef",ref:n,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))])):ee("",!0),b("div",{class:Te(["p-2 flex flex-col",[O(i)?"w-full h-1/2":"w-1/4"]])},[qt(b("textarea",{"onUpdate:modelValue":d[0]||(d[0]=u=>r.value=u),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[hn,r.value]]),b("div",{class:"mt-2 flex justify-end"},[b("button",{onClick:l,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),b("button",{onClick:c,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 保存 ")])],2),O(i)?ee("",!0):(y(),w("div",p7,[(y(),w("svg",{ref_key:"svgRef",ref:n,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))]))],2)]))}}),g7={class:"flex flex-col group max-w-full"},E7={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},S7={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},f7={class:"mt-1 flex"},b7=b("span",{class:"flex text-sm"},"复制",-1),T7=b("span",{class:"flex text-sm"},"删除",-1),C7=Ue({__name:"index",props:{chatId:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["delete","copy"],setup(t,{expose:e,emit:n}){ze();const r=new Dd.Transformer,i=t,a=n,s=W(),o=W(),l=W(!1),c=W(i.text);Ze();let _=null;Ve(()=>{u=xd.create(s.value),d()});const d=()=>{_&&clearTimeout(_),_=setTimeout(()=>{const{root:v}=r.transform(i.text);u.setData(v),u.fit()},200)};let u;const p=new $t({linkify:!0,highlight(v,I){if(!!(I&&Ge.getLanguage(I))){const m=I??"";return E(Ge.highlight(v,{language:m}).value,m)}return E(Ge.highlightAuto(v).value,"")}});p.renderer.rules.image=function(v,I){const N=v[I],m=N.attrGet("src"),C=N.attrGet("title"),A=N.content;return`${A}`},p.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),p.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),Id(d);function E(v,I){return`
    ${I}${X("chat.copyCode")}
    ${v}
    `}function g(){a("copy")}function f(){a("delete")}async function S(){c.value=i.text,l.value=!0}function T(){l.value=!1}return e({textRef:o}),(v,I)=>(y(),w(De,null,[b("div",g7,[b("div",E7,[b("div",{class:"flex w-full relative",onClick:S},[(y(),w("svg",{ref_key:"svgRef",ref:s,class:"box-border w-[600px] h-[400px] border rounded-md border-gray-200 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100",style:{"pointer-events":"none"},draggable:"false"},null,512))])]),b("div",S7,[b("div",null,[b("div",f7,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:g},[M(O(Ht),{class:"flex mr-1"}),b7]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:f},[M(O(zt),{class:"mr-1"}),T7])])])])]),l.value?(y(),Ee(m7,{key:0,text:c.value,close:T},null,8,["text"])):ee("",!0)],64))}});const h7={class:"flex flex-col group max-w-full"},R7={class:"pr-12 w-full flex flex-col items-start"},v7={key:0,class:"relative flex items-center justify-center group hover:opacity-80 transition-opacity duration-300"},N7=["src","onClick"],A7={class:"flex flex-col ml-4 w-full"},I7={class:"flex justify-between items-center"},O7=["onClick"],y7=["onClick"],D7={key:0,class:"flex items-center justify-start mt-8 w-full"},x7={class:"text-white text-sm mr-2 w-8 text-right flex items-center"},L7={class:"flex-grow flex items-center min-w-0"},M7=["onUpdate:modelValue","onInput","onChange"],w7={class:"text-white text-sm ml-4 mr-2 flex items-center"},k7=["src","onTimeupdate"],P7={key:0,class:"w-full"},U7={key:0,class:"loading-anchor"},F7=["innerHTML"],B7={key:0,class:"flex-none mt-2 mb-1"},G7={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},Y7={class:"mt-1 flex"},q7={class:"flex text-sm"},V7={class:"flex text-sm"},H7=["src"],z7=Ue({__name:"Music",props:{inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},videoUrl:{},audioUrl:{},model:{},drawId:{},customId:{},modelName:{},action:{},taskData:{},fileInfo:{},modelAvatar:{}},emits:["delete","copy"],setup(t,{expose:e,emit:n}){const r=W(-1),i=W(!1),a=gt("onConversation"),s=t,o=n,{isMobile:l}=ze();let c;const _=W({title:"",text:""}),d=()=>{_.value=JSON.parse(s.taskData||"{}")};Be(()=>s.taskData,()=>{d()},{immediate:!0}),Ve(()=>{d()}),Be(()=>s.status,G=>{c!==void 0&&(clearInterval(c),c=void 0),G===2&&(c=window.setInterval(async()=>{await Y.queryActiveChatLogList()},5e3))},{immediate:!0}),Ft(()=>{c!==void 0&&clearInterval(c)});const u=H(()=>s.fileInfo?s.fileInfo.split(",").map(G=>({type:"image",url:G})):[]),p=H(()=>s.videoUrl?s.videoUrl.split(",").map(G=>({type:"video",url:G})):[]),E=H(()=>s.audioUrl?s.audioUrl.split(",").map(G=>({type:"audio",url:G})):[]),g=H(()=>(_.value=JSON.parse(s.taskData||"{}"),u.value.map((G,q)=>({image:G,video:p.value[q]||{type:"video",url:""},audio:E.value[q]||{type:"audio",url:""},title:"标题",subtitle:"媒体风格"})))),f=W(new Array(g.value.length).fill(0)),S=G=>{const q=I.value[G];q&&(C.value[G]=q.currentTime,q.duration&&(A.value[G]=q.duration),f.value[G]=q.currentTime/q.duration*100)},T=(G,q)=>{const re=q.target;f.value[G]=Number(re.value)},v=(G,q)=>{const re=I.value[G],j=q.target;if(re){const ie=Number(j.value)/100*re.duration;re.currentTime=ie}},I=W([]),N=G=>{const q=I.value[G];q&&(I.value.forEach((re,j)=>{re&&j!==G&&(re.pause(),re.currentTime=0)}),q.paused?(q.play(),r.value=G):(q.pause(),r.value=-1))},m=G=>{if(!isFinite(G)||isNaN(G))return"";const q=Math.floor(G/60),re=Math.floor(G%60);return`${q}:${re<10?"0":""}${re}`},C=W([]),A=W([]),L=W(),Y=Ze(),P=new $t({linkify:!0,highlight(G,q){if(!!(q&&Ge.getLanguage(q))){const j=q??"";return D(Ge.highlight(G,{language:j}).value,j)}return D(Ge.highlightAuto(G).value,"")}});P.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),P.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const J=H(()=>{const G=s.text??"";return s.asRawText?G:P.render(G)});function ce(G){fetch(G).then(q=>q.blob()).then(q=>{const re=document.createElement("a"),j=URL.createObjectURL(q);re.href=j;const ie=s.text||"音频文件";re.setAttribute("download",`${ie}.mp3`),re.style.display="none",document.body.appendChild(re),re.click(),document.body.removeChild(re),URL.revokeObjectURL(j)}).catch(q=>{})}function D(G,q){return`
    ${q}${X("chat.copyCode")}
    ${G}
    `}function V(){o("copy")}function k(){o("delete")}e({textRef:L});const R=async()=>{try{_.value=JSON.parse(s.taskData||"{}");const G=JSON.stringify({title:_.value.title,prompt:_.value.text,mv:"chirp-v3-5",make_instrumental:i.value});await a({msg:`${_.value.title}`,action:"MUSIC",customId:JSON.stringify(G),modelType:2,model:s.model||"suno-v3",modelName:s.modelName||"AI音乐",modelAvatar:s.modelAvatar})}catch{}},x=W(!1),Q=W(""),ae=G=>{if(!G){Y.queryActiveChatLogList();return}Q.value=G,x.value=!0},_e=()=>{x.value=!1};return(G,q)=>(y(),w(De,null,[b("div",h7,[b("div",{ref_key:"textRef",ref:L,class:"leading-relaxed break-words"},[b("div",R7,[(y(!0),w(De,null,Qe(g.value,(re,j)=>(y(),w("div",{key:j,class:Te(["flex justify-between items-center p-2 bg-gray-800 rounded-md mb-2",O(l)?"w-[80vw]":"min-w-[35vw]"])},[re.audio.url?(y(),w("div",v7,[b("img",{src:re.image.url,onClick:ie=>N(j),class:Te(["rounded-md cursor-pointer transition-opacity duration-300",{"opacity-80":r.value===j}]),style:Ct({maxWidth:O(l)?"80px":"100px",maxHeight:O(l)?"80px":"100px"})},null,14,N7),(y(),Ee(tp(r.value===j?O(Tp):O(hp)),{class:Te(["absolute text-white text-3xl opacity-80 cursor-pointer transition-opacity duration-300",{"opacity-100":r.value===j}]),onClick:ie=>N(j)},null,8,["onClick","class"]))])):ee("",!0),b("div",A7,[b("div",I7,[b("h3",{class:"text-white text-sm hover:underline cursor-pointer",onClick:ie=>ae(re.video.url)},Z(s.text),9,O7),b("button",{onClick:ie=>ce(re.audio.url),class:"w-8 h-8 text-white text-sm rounded-full hover:bg-gray-700 px-2 py-1 mr-2"},[M(O(gp),{size:"16"})],8,y7)]),re.audio.url?(y(),w("div",D7,[b("span",x7,Z(m(C.value[j]||0)),1),b("div",L7,[qt(b("input",{type:"range",min:"0",max:"100",step:"1","onUpdate:modelValue":ie=>f.value[j]=ie,onInput:ie=>T(j,ie),onChange:ie=>v(j,ie),class:"flex-grow flex max-w-full"},null,40,M7),[[hn,f.value[j]]])]),b("span",w7,Z(m(A.value[j]||0)),1)])):ee("",!0)]),b("audio",{ref_for:!0,ref_key:"audioRefs",ref:I,src:re.audio.url,onTimeupdate:ie=>S(j),hidden:""},null,40,k7)],2))),128)),G.fileInfo?ee("",!0):(y(),w("div",P7,[G.status===2&&!J.value?(y(),w("span",U7)):ee("",!0),b("div",{class:Te(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":G.status===2||!J.value}]),innerHTML:J.value},null,10,F7)]))]),G.status===3&&G.action==="LYRICS"?(y(),w("div",B7,[b("div",{class:"flex justify-start"},[b("button",{onClick:R,class:"px-4 py-1 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 创作音乐 ")])])):ee("",!0)],512),b("div",G7,[b("div",null,[b("div",Y7,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:V},[M(O(Ht),{class:"flex mr-1"}),b("span",q7,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:k},[M(O(zt),{class:"mr-1"}),b("span",V7,Z(O(X)("chat.delete")),1)])])])])]),x.value?(y(),w("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:_e},[b("div",{class:"relative p-0 rounded-md shadow-md max-w-full max-h-full",onClick:q[0]||(q[0]=np(()=>{},["stop"]))},[M(O(Do),{onClick:_e,class:"absolute top-2 -right-8 text-gray-500 hover:text-gray-600",size:"26"}),b("video",{src:Q.value,controls:"",class:"w-full h-full rounded-md"},null,8,H7)])])):ee("",!0)],64))}}),W7={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},K7={key:0,class:"p-2 w-full h-1/2"},Q7=["srcDoc"],$7={key:1,class:"w-3/4 p-2"},Z7=["srcDoc"],X7=Ue({__name:"htmlModal",props:{text:{},close:{type:Function}},setup(t){const e=t,n=W(null),r=W(e.text),{isMobile:i}=ze();Be(r,()=>{a()}),Ad(()=>{r.value=e.text});const a=()=>{if(n.value){const l=n.value.contentDocument;l&&(l.body.innerHTML=r.value)}},s=()=>{e.close()},o=async()=>{var l,c;try{await navigator.clipboard.writeText(r.value),(l=window.$message)==null||l.success("内容已复制到剪贴板")}catch{(c=window.$message)==null||c.error("复制失败")}};return(l,c)=>(y(),w("div",W7,[M(O(Do),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:s}),b("div",{class:Te(["bg-white dark:bg-gray-900 w-full h-full p-4",[O(i)?"flex-col":"flex"]])},[O(i)?(y(),w("div",K7,[b("iframe",{srcDoc:r.value,class:"box-border w-full h-full border rounded-md"},null,8,Q7)])):ee("",!0),b("div",{class:Te(["p-2 flex flex-col",[O(i)?"w-full h-1/2":"w-1/4"]])},[qt(b("textarea",{"onUpdate:modelValue":c[0]||(c[0]=_=>r.value=_),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[hn,r.value]]),b("div",{class:"mt-2 flex justify-end"},[b("button",{onClick:s,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),b("button",{onClick:o,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 复制 ")])],2),O(i)?ee("",!0):(y(),w("div",$7,[b("iframe",{srcDoc:r.value,class:"box-border w-full h-full border rounded-md"},null,8,Z7)]))],2)]))}});const J7=dp(X7,[["__scopeId","data-v-e09b87ec"]]),j7={class:"flex flex-col group w-full"},eJ={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400 flex w-full flex-col"},tJ={key:0,class:"flex flex-col items-start"},nJ={class:"w-full text-gray-800 dark:text-gray-400"},rJ={key:0,class:"loading-anchor"},aJ=["innerHTML"],iJ=["textContent"],oJ={class:"flex p-3 items-center justify-center ring-1 ring-inset ring-gray-200 dark:ring-gray-700 rounded-lg hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700"},sJ={class:"mt-2 flex"},lJ={class:"flex text-sm"},cJ={class:"flex text-sm"},_J={class:"flex text-sm"},dJ={class:"flex text-sm"},uJ=Ue({__name:"index",props:{chatId:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["regenerate","delete","copy"],setup(t,{expose:e,emit:n}){const r=Dt(),i=gt("onConversation"),a=t,s=W(!1),o=W(a.text),l=H(()=>{var R;return Number((R=r.globalConfig)==null?void 0:R.isHideTts)===1}),c=n,{isMobile:_}=ze(),d=W(),u=W(a.ttsUrl),p=W(""),E=W(!1),g=W("paused");let f=null;const S=H(()=>g.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");async function T(){if(!(g.value==="loading"||g.value==="playing")){if(u.value){v(u.value);return}g.value="loading";try{const x=(await $u({chatId:a.chatId,prompt:a.text})).ttsUrl;if(x)u.value=x,v(x);else throw new Error("TTS URL is undefined")}catch{g.value="paused"}}}function v(R){f&&f.pause(),f=new Audio(R),f.play().then(()=>{g.value="playing"}).catch(x=>{g.value="paused"}),f.onended=()=>{g.value="paused",f=null}}function I(){f&&(f.pause(),g.value="paused")}function N(){g.value==="playing"?I():T()}const m=new $t({linkify:!0,highlight(R,x){if(!!(x&&Ge.getLanguage(x))){const ae=x??"";return console.log("language",x),x==="html"&&(p.value=R,E.value=!0,console.log("htmlContent",p.value)),P(Ge.highlight(R,{language:ae}).value,ae)}return P(Ge.highlightAuto(R).value,"")}});m.renderer.rules.image=function(R,x,Q,ae,_e){const G=R[x],q=G.attrGet("src"),re=G.attrGet("title"),j=G.content;return`${j}`};const C=H(()=>a.fileInfo),A=H(()=>C.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(C.value):!1),L=H(()=>C.value?/\.(jpg|jpeg|png|gif|webp)$/i.test(C.value):!1);m.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),m.use(Wt,{blockClass:"katexmath-block p-0 flex h-full items-center justify-start",inlineClass:"katexmath-inline",errorColor:" #cc0000"});const Y=H(()=>{const x=(a.text??"").replace(/\\\(\s*/g,"$").replace(/\s*\\\)/g,"$").replace(/\\\[\s*/g,"$$").replace(/\s*\\\]/g,"$$");return a.asRawText?x:m.render(x)});function P(R,x){return`
    ${x}${X("chat.copyCode")}
    ${R}
    `}async function J(){o.value=a.text,s.value=!0}function ce(){s.value=!1}async function D(){await i({msg:a.text})}function V(){c("copy")}function k(){c("delete")}return e({textRef:d}),Ve(()=>{var Q;const R=(Q=document.querySelector(".preview-button"))==null?void 0:Q.id,x=R?document.getElementById(R):null;x&&x.addEventListener("click",J)}),(R,x)=>(y(),w("div",j7,[b("div",eJ,[b("div",{ref_key:"textRef",ref:d,class:"flex w-full"},[R.inversion?(y(),w("div",{key:1,class:Te(["flex justify-end w-full",[O(_)?"pl-20":"pl-28 "]])},[b("div",{class:"bg-gray-100 dark:bg-gray-800 p-3 rounded-lg whitespace-pre-wrap text-base max-w-[80vw] break-words",textContent:Z(Y.value)},null,8,iJ)],2)):(y(),w("div",tJ,[b("div",nJ,[R.loading&&!Y.value?(y(),w("span",rJ)):ee("",!0),b("div",{class:Te([" markdown-body text-gray-800 dark:text-gray-300 ",{"markdown-body-generate":R.loading||!Y.value}]),innerHTML:Y.value},null,10,aJ)])]))],512),C.value&&!L.value&&!A.value?(y(),w("div",{key:0,class:Te(["my-1 flex w-full",[{"justify-end":R.inversion}]])},[b("div",oJ,[b("span",null,Z(O(X)("chat.fileAnalysis")),1)])],2)):ee("",!0),C.value&&L.value?(y(),w("div",{key:1,class:Te(["mt-2 flex w-full",[{" justify-end":R.inversion}]]),style:Ct({maxHeight:O(_)?"20vh":"30vh"})},[M(O(yd),{src:C.value,"preview-src":C.value,alt:"图片",class:Te(["rounded-md flex w-full",[{" justify-end":R.inversion}]])},null,8,["src","preview-src","class"])],6)):ee("",!0)]),b("div",{class:Te(["flex transition-opacity duration-300 text-gray-700 ",S.value,{"justify-end":R.inversion}])},[b("div",sJ,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:V},[M(O(Ht),{class:"flex mr-1"}),b("span",lJ,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:k},[M(O(zt),{class:"mr-1"}),b("span",cJ,Z(O(X)("chat.delete")),1)]),R.inversion?(y(),w("button",{key:0,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:D},[M(O(Rp),{class:"mr-1"}),b("span",_J,Z(O(X)("chat.regenerate")),1)])):ee("",!0),!R.inversion&&!l.value?(y(),w("button",{key:1,class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:N},[g.value==="paused"?(y(),Ee(O(Ip),{key:0,class:"flex mr-1"})):ee("",!0),g.value==="loading"?(y(),Ee(O(Np),{key:1,class:"rotate-icon flex mr-1"})):g.value==="playing"?(y(),Ee(O(Cp),{key:2,class:"flex mr-1"})):ee("",!0),b("span",dJ,Z(g.value==="playing"?O(X)("chat.pause"):g.value==="loading"?O(X)("chat.loading"):O(X)("chat.readAloud")),1)])):ee("",!0)])],2),s.value?(y(),Ee(J7,{key:0,text:p.value,close:ce},null,8,["text"])):ee("",!0)]))}});const pJ={class:"flex flex-col group max-w-full"},mJ={class:"flex flex-col items-start"},gJ={class:"w-full"},EJ={key:0,class:"loading-anchor"},SJ=["innerHTML"],fJ=["src"],bJ={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},TJ={class:"mt-1 flex"},CJ={class:"flex text-sm"},hJ={class:"flex text-sm"},RJ=Ue({__name:"Video",props:{inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(t,{expose:e,emit:n}){const r=t,i=n,{isMobile:a}=ze();let s;Be(()=>r.status,S=>{s!==void 0&&(clearInterval(s),s=void 0),S===2&&(s=window.setInterval(async()=>{await l.queryActiveChatLogList()},5e3))},{immediate:!0}),Ft(()=>{s!==void 0&&clearInterval(s)});const o=W(),l=Ze(),c=new $t({linkify:!0,highlight(S,T){if(!!(T&&Ge.getLanguage(T))){const I=T??"";return u(Ge.highlight(S,{language:I}).value,I)}return u(Ge.highlightAuto(S).value,"")}}),_=H(()=>r.fileInfo);c.use(Zt,{attrs:{target:"_blank",rel:"noopener"}}),c.use(Wt,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const d=H(()=>{const S=r.text??"";return r.asRawText?S:c.render(S)});function u(S,T){return`
    ${T}${X("chat.copyCode")}
    ${S}
    `}function p(){i("copy")}function E(){i("delete")}e({textRef:o});const g=W("paused"),f=H(()=>g.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");return(S,T)=>(y(),w("div",pJ,[b("div",{ref_key:"textRef",ref:o,class:"leading-relaxed break-words"},[b("div",mJ,[b("div",gJ,[S.status===2&&!d.value?(y(),w("span",EJ)):ee("",!0),b("div",{class:Te(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":S.status===2||!d.value}]),innerHTML:d.value},null,10,SJ)]),b("div",null,[qt((y(),w("div",{key:_.value},[b("video",{src:_.value,controls:"",class:"rounded-md flex",style:Ct({maxWidth:O(a)?"90%":"30vw",maxHeight:O(a)?"":"30vh"})}," 您的浏览器不支持视频标签。 ",12,fJ)])),[[rp,_.value]])])])],512),b("div",bJ,[b("div",null,[b("div",null,[b("div",{class:"my-1 flex w-auto",style:Ct({maxWidth:O(a)?"100%":"25rem"})},null,4)])])]),b("div",{class:Te(["flex transition-opacity duration-300 text-gray-700",f.value])},[b("div",null,[b("div",TJ,[b("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:p},[M(O(Ht),{class:"flex mr-1"}),b("span",CJ,Z(O(X)("chat.copy")),1)]),b("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:E},[M(O(zt),{class:"mr-1"}),b("span",hJ,Z(O(X)("chat.delete")),1)])])])],2)]))}});const vJ={class:"flex items-center justify-center flex-shrink-0 mr-2"},NJ={class:"overflow-hidden text-sm items-start w-full"},AJ={class:"flex items-end gap-1 flex-row"},IJ=Ue({__name:"index",props:{chatId:{},dateTime:{},text:{},model:{},modelName:{},modelType:{},status:{},inversion:{type:Boolean},loading:{type:Boolean},fileInfo:{},ttsUrl:{},videoUrl:{},audioUrl:{},drawId:{},extend:{},customId:{},modelAvatar:{},action:{},taskData:{},pluginParam:{}},emits:["regenerate","delete"],setup(t,{emit:e}){const n=t,r=e,i=Vt(),a=W(),s=W(n.inversion),o=W();function l(){r("delete")}function c(){Ld({text:n.text??""}),n.text&&i.success("复制成功!")}function _(){var d;(d=o.value)==null||d.scrollIntoView(),r("regenerate")}return(d,u)=>(y(),w("div",{ref_key:"messageRef",ref:o,class:"flex w-full my-4 overflow-hidden items-start bg-white dark:bg-gray-900 flex-row'"},[M(O(ip),{trigger:"hover",placement:"top-start"},{trigger:fe(()=>[b("div",vJ,[d.inversion?ee("",!0):(y(),Ee(jp,{key:0,image:d.inversion,model:d.model,modelAvatar:d.modelAvatar},null,8,["image","model","modelAvatar"]))])]),default:fe(()=>[rt(" "+Z(d.modelName),1)]),_:1}),b("div",NJ,[b("div",AJ,[d.pluginParam==="mind-map"&&!d.inversion?(y(),Ee(C7,{key:0,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):d.pluginParam==="luma-video"&&!d.inversion?(y(),Ee(RJ,{key:1,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,audioUrl:d.audioUrl,videoUrl:d.videoUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,action:d.action,taskData:d.taskData,modelAvatar:d.modelAvatar,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):d.pluginParam==="suno-v3"&&!d.inversion?(y(),Ee(z7,{key:2,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,audioUrl:d.audioUrl,videoUrl:d.videoUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,action:d.action,taskData:d.taskData,modelAvatar:d.modelAvatar,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):d.modelType===2&&!d.inversion?(y(),Ee(_7,{key:3,ref_key:"textRef",ref:a,inversion:d.inversion,drawId:d.drawId,extend:d.extend,customId:d.customId,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,model:d.model,modelName:d.modelName,loading:d.loading,status:d.status,"as-raw-text":s.value,onRegenerate:_,onCopy:c,onDelete:l},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(y(),Ee(uJ,{key:4,ref_key:"textRef",ref:a,modelName:d.modelName,chatId:d.chatId,inversion:d.inversion,text:d.text,modelType:d.modelType,fileInfo:d.fileInfo,ttsUrl:d.ttsUrl,model:d.model,loading:d.loading,"as-raw-text":s.value,onRegenerate:_,onCopy:c,onDelete:l},null,8,["modelName","chatId","inversion","text","modelType","fileInfo","ttsUrl","model","loading","as-raw-text"]))])])],512))}}),OJ=[{title:"英语翻译官",prompt:"我希望你能担任英语翻译、拼写校对和修辞改进的角色。我会用任何语言和你交流,你会识别语言,将其翻译并用更为优美和精炼的英语回答我。请将我简单的词汇和句子替换成更为优美和高雅的表达方式,确保意思不变,但使其更具文学性。请仅回答更正和改进的部分,不要写解释。我的第一句话是“how are you ?”,请翻译它。",icon:"ri:ai-generate",iconColor:"text-indigo-500"},{title:"心理学家",prompt:"我想让你扮演一个心理学家。我会告诉你我的想法。我希望你能给我科学的建议,让我感觉更好。我的第一个想法,{ 在这里输入你的想法,如果你解释得更详细,我想你会得到更准确的答案。}",icon:"ri:heart-line",iconColor:"text-red-500"},{title:"产品经理",prompt:"请确认我的以下请求。请您作为产品经理回复我。我将会提供一个主题,您将帮助我编写一份包括以下章节标题的PRD文档:主题、简介、问题陈述、目标与目的、用户故事、技术要求、收益、KPI指标、开发风险以及结论。在我要求具体主题、功能或开发的PRD之前,请不要先写任何一份PRD文档。",icon:"ri:projector-line",iconColor:"text-green-500"},{title:"如何学做菜",prompt:"我要你做我的私人厨师。我会告诉你我的饮食偏好和过敏,你会建议我尝试的食谱。你应该只回复你推荐的食谱,别无其他。不要写解释。我的第一个请求是“我是一名素食主义者,我正在寻找健康的晚餐点子。”",icon:"ri:restaurant-line",iconColor:"text-yellow-500"},{title:"规划一个去上海的旅游攻略 参观博物馆",prompt:"我想让你做一个旅游指南。我会把我的位置写给你,你会推荐一个靠近我的位置的地方。在某些情况下,我还会告诉您我将访问的地方类型。您还会向我推荐靠近我的第一个位置的类似类型的地方。我的第一个建议请求是“我在上海,我只想参观博物馆。”",icon:"ri:map-pin-line",iconColor:"text-blue-500"},{title:"穿越时空",prompt:"如果你能穿越时空,你会去哪个时代?",icon:"ri:time-line",iconColor:"text-purple-500"},{title:"量子力学",prompt:"解释一下量子力学是什么?",icon:"ri:flask-line",iconColor:"text-pink-500"},{title:"人工智能",prompt:"介绍一下人工智能的历史",icon:"ri:robot-line",iconColor:"text-gray-500"},{title:"深度学习",prompt:"讲解一下深度学习是如何工作的?",icon:"ri:brain-line",iconColor:"text-teal-500"},{title:"冯诺依曼体系结构",prompt:"请举例说明什么是冯诺依曼体系结构?",icon:"ri:computer-line",iconColor:"text-blue-500"},{title:"红楼梦情感分析",prompt:"请分析《红楼梦》中林黛玉与贾宝玉的情感关系。",icon:"ri:book-2-line",iconColor:"text-red-500"},{title:"100米短跑训练",prompt:"如何训练才能提高100米短跑成绩?",icon:"ri:run-line",iconColor:"text-green-500"},{title:"北京旅游攻略",prompt:"请推荐一份适合初次来中国的外国人的北京旅游攻略。",icon:"ri:road-map-line",iconColor:"text-yellow-500"},{title:"低GI饮食",prompt:"什么是低GI饮食?这种饮食有哪些好处?",icon:"ri:restaurant-2-line",iconColor:"text-orange-500"},{title:"全球环境问题",prompt:"请列出目前全球主要面临的三大环境问题,并简单阐述其影响和应对措施。",icon:"ri:earth-line",iconColor:"text-teal-500"},{title:"提高社交影响力",prompt:"在社交场合,如何提高自己的感染力和影响力?",icon:"ri:team-line",iconColor:"text-purple-500"},{title:"地中海地理特征",prompt:"请描述一下地中海的地理特征,以及这些特征对于古代世界的影响。",icon:"ri:map-pin-line",iconColor:"text-indigo-500"},{title:"《肖申克的救赎》影评",prompt:"请评价电影《肖申克的救赎》的剧情、角色塑造和拍摄手法。",icon:"ri:film-line",iconColor:"text-pink-500"},{title:"苹果公司成功分析",prompt:"为什么苹果公司的产品总是比其他公司的产品更受欢迎?请从市场策略、产品设计、品牌形象等方面进行分析。",icon:"ri:apple-line",iconColor:"text-gray-500"},{title:"健康饮食计划",prompt:"如何制定一份健康的饮食计划?",icon:"ri:heart-line",iconColor:"text-red-500"},{title:"编程学习指南",prompt:"怎样学习编程?",icon:"ri:code-line",iconColor:"text-blue-500"},{title:"巴厘岛旅游景点",prompt:"在巴厘岛旅游有哪些值得参观的景点?",icon:"ri:map-pin-2-line",iconColor:"text-green-500"},{title:"处理亲密关系分歧",prompt:"如何处理亲密关系中的分歧?",icon:"ri:heart-2-line",iconColor:"text-pink-500"},{title:"费马大定理证明",prompt:"如何证明费马大定理?",icon:"ri:function-line",iconColor:"text-blue-500"},{title:"吸烟相关疾病预防",prompt:"长期吸烟引起的疾病有哪些?应该如何预防?",icon:"ri:lungs-line",iconColor:"text-red-500"},{title:"克服拖延症",prompt:"如何克服拖延症?",icon:"ri:time-line",iconColor:"text-yellow-500"},{title:"减少家庭垃圾",prompt:"如何减少家庭垃圾产生?",icon:"ri:recycle-line",iconColor:"text-green-500"},{title:"股票价值评估",prompt:"如何评估股票的价值?",icon:"ri:stock-line",iconColor:"text-teal-500"},{title:"自信的社交表现",prompt:"如何在社交场合自信地表现自己?",icon:"ri:team-line",iconColor:"text-purple-500"},{title:"推荐科幻电影",prompt:"给我一个最近评分不错的科幻电影的名字和简介",icon:"ri:movie-line",iconColor:"text-indigo-500"},{title:"英文翻译校对",prompt:"将下面这句英文翻译成中文并纠正其中的语法错误:'Me and him goes to the store yesterday.'",icon:"ri:translate-2",iconColor:"text-orange-500"},{title:"科技类大市值股票",prompt:"给我一些市值超过1000亿美元的科技类股票",icon:"ri:bar-chart-box-line",iconColor:"text-gray-500"},{title:"商品销售量预测",prompt:"基于历史销售数据,预测下周某商品的销售量。",icon:"ri:line-chart-line",iconColor:"text-cyan-500"},{title:"思念诗歌创作",prompt:"请用七言绝句写一首表达思念之情的诗歌。",icon:"ri:quill-pen-line",iconColor:"text-indigo-500"},{title:"情侣约会餐厅推荐",prompt:"给我一个适合情侣约会的餐厅的名字和地址。",icon:"ri:restaurant-2-line",iconColor:"text-pink-500"},{title:"西班牙旅游行程规划",prompt:"我计划去西班牙旅游,请帮我安排一个10天的行程。",icon:"ri:suitcase-3-line",iconColor:"text-orange-500"},{title:"电影分类归类",prompt:"将电影从爱情片、动作片和恐怖片三种分类中分别归类。",icon:"ri:film-line",iconColor:"text-blue-500"},{title:"豆腐美食推荐",prompt:"推荐一道以豆腐为主要原料的美食,附上制作方法。",icon:"ri:restaurant-line",iconColor:"text-green-500"},{title:"流行华语歌曲推荐",prompt:"推荐最近流行的三首华语歌曲,并简要介绍它们的风格和歌词主题。",icon:"ri:music-line",iconColor:"text-yellow-500"},{title:"减少塑料污染生活指南",prompt:"请提供三条减少塑料污染的生活指南。",icon:"ri:leaf-line",iconColor:"text-green-500"},{title:"团队合作处理矛盾",prompt:"如何在团队合作中处理与同事之间的矛盾?",icon:"ri:team-line",iconColor:"text-blue-500"},{title:"前景股票投资",prompt:"你认为现在买入哪些股票比较有前景?",icon:"ri:stock-line",iconColor:"text-teal-500"},{title:"科幻片推荐",prompt:"你能否给我推荐一部最近上映的好看的科幻片?",icon:"ri:film-line",iconColor:"text-purple-500"},{title:"三亚旅游攻略",prompt:"希望去三亚旅游,你能提供一份详细的旅游攻略吗?",icon:"ri:suitcase-2-line",iconColor:"text-orange-500"},{title:"意大利面烹饪技巧",prompt:"我想学做意大利面,你有什么简单易学的做法推荐吗?",icon:"ri:restaurant-line",iconColor:"text-red-500"},{title:"缓解焦虑的方法",prompt:"我感到很紧张,有什么方法能够缓解焦虑吗?",icon:"ri:heart-pulse-line",iconColor:"text-indigo-500"},{title:"电商平台投诉处理",prompt:"我在某电商平台购买的商品质量不佳,该如何向平台进行投诉处理?",icon:"ri:feedback-line",iconColor:"text-gray-500"},{title:"有效学外语的方法",prompt:"你觉得学外语最有效的方法是什么?",icon:"ri:translate-2",iconColor:"text-pink-500"},{title:"职场发展建议",prompt:"我正在寻找新的工作机会,有哪些职业领域前景较好?",icon:"ri:briefcase-line",iconColor:"text-cyan-500"},{title:"日本旅游攻略",prompt:"提供至少三个去日本旅游必去的景点,并描述其特色和适合的旅游时间。",icon:"ri:map-pin-line",iconColor:"text-purple-500"},{title:"提高保险销售业绩",prompt:"如何提高保险销售员的业绩?",icon:"ri:money-dollar-box-line",iconColor:"text-teal-500"},{title:"公司网站改版建议",prompt:"公司网站需要进行改版,请列举至少五个需要更新的页面元素并说明更新的理由。",icon:"ri:layout-5-line",iconColor:"text-gray-500"},{title:"印度首都查询",prompt:"请问印度的首都是哪里?",icon:"ri:flag-line",iconColor:"text-blue-500"},{title:"红旗渠修建历史",prompt:"请问红旗渠修建的时间和地点分别是什么?",icon:"ri:history-line",iconColor:"text-red-500"},{title:"DNA结构与功能",prompt:"请简要介绍一下DNA的结构及其功能。",icon:"ri:dna-line",iconColor:"text-green-500"},{title:"GDP定义与计算",prompt:"请问什么是GDP?如何计算GDP?",icon:"ri:bar-chart-2-line",iconColor:"text-yellow-500"},{title:"原子核组成",prompt:"请问原子核由哪些粒子组成?它们各自的电荷和质量分别是多少?",icon:"ri:leaf-line",iconColor:"text-purple-500"},{title:"莫扎特代表作",prompt:"请问莫扎特的代表作有哪些?",icon:"ri:music-2-line",iconColor:"text-pink-500"},{title:"汉字词源",prompt:"请问“汉字”这个词最早出现的时间和在哪本书中出现的?",icon:"ri:book-line",iconColor:"text-orange-500"},{title:"全运会历史",prompt:"请问全运会是哪年开始举办的?每隔几年举办一次?",icon:"ri:football-line",iconColor:"text-teal-500"},{title:"石油用途",prompt:"请问石油的主要用途有哪些?",icon:"ri:oil-line",iconColor:"text-gray-500"},{title:"心脏起搏器介绍",prompt:"请简要介绍一下心脏起搏器的原理和使用方法。",icon:"ri:heart-2-line",iconColor:"text-cyan-500"},{title:"观众情感分析",prompt:"这部电影的观众反应如何?",icon:"ri:emotion-laugh-line",iconColor:"text-indigo-500"},{title:"沙滩美景短文",prompt:"请写出一篇描述橙色阳光下沙滩美景的短文。",icon:"ri:sun-line",iconColor:"text-orange-500"},{title:"亚马逊财报数据查询",prompt:"亚马逊公司的年度财报数据是多少?",icon:"ri:money-dollar-box-line",iconColor:"text-green-500"},{title:"苹果新产品新闻",prompt:"请问最近有关于苹果公司新发布产品的新闻吗?",icon:"ri:apple-line",iconColor:"text-red-500"},{title:"一加与华为手机性能对比",prompt:"请比较一加手机和华为手机的性能差异。",icon:"ri:smartphone-line",iconColor:"text-blue-500"},{title:"文章主要观点提取",prompt:"请从这篇文章中提取出主要观点。",icon:"ri:article-line",iconColor:"text-yellow-500"},{title:"用户意图分类",prompt:"用户输入“我想要预定机票”,它的意图是什么?",icon:"ri:question-line",iconColor:"text-purple-500"},{title:"文章可读性修改",prompt:"请编辑这篇文章,使得它更易读。",icon:"ri:edit-line",iconColor:"text-gray-500"},{title:"星期推理",prompt:"如果今天是星期三,那么后天是星期几?",icon:"ri:calendar-line",iconColor:"text-cyan-500"},{title:"微软创始人查询",prompt:"谁创办了微软公司?",icon:"ri:building-4-line",iconColor:"text-teal-500"},{title:"电影类型分类",prompt:"这个电影是哪个类型的?",icon:"ri:film-line",iconColor:"text-pink-500"},{title:"乐器描述",prompt:"描述一下你最喜欢的乐器。",icon:"ri:music-line",iconColor:"text-orange-500"},{title:"句子改写",prompt:"请改写这句话:“天空飘着几朵云彩。”",icon:"ri:edit-2-line",iconColor:"text-blue-500"},{title:"书籍对比",prompt:"这本书和那本书有什么区别?",icon:"ri:book-line",iconColor:"text-yellow-500"},{title:"自然风景描写",prompt:"写一段自然风景的描写。",icon:"ri:landscape-line",iconColor:"text-green-500"},{title:"音乐年代分类",prompt:"这首歌曲属于哪个年代的音乐?",icon:"ri:music-2-line",iconColor:"text-red-500"},{title:"餐厅美食对比",prompt:"这家餐厅和那家餐厅哪家更好吃?",icon:"ri:restaurant-line",iconColor:"text-gray-500"},{title:"电影喜好",prompt:"把这句话翻译成英文:“我喜欢看电影,尤其是科幻电影。”",icon:"ri:movie-line",iconColor:"text-indigo-500"},{title:"理想度假胜地描述",prompt:"描述一下你理想中的度假胜地。",icon:"ri:tree-line",iconColor:"text-orange-500"},{title:"动物分类",prompt:"这个动物属于哪个门类?",icon:"ri:bug-line",iconColor:"text-green-500"},{title:"新闻摘要生成",prompt:"请问如何利用 GPT-3.5 生成一篇 100 字左右的新闻摘要?",icon:"ri:newspaper-line",iconColor:"text-blue-500"},{title:"自动翻译实现",prompt:"请问如何让 GPT-3.5 实现从中文到英文的自动翻译?",icon:"ri:translate",iconColor:"text-red-500"},{title:"全球医疗保健评价",prompt:"你如何评价当前全球范围内的医疗保健体系?",icon:"ri:stethoscope-line",iconColor:"text-green-500"},{title:"文化多样性保护",prompt:"请问有哪些国家在法律层面上保护本国的文化多样性?",icon:"ri:global-line",iconColor:"text-yellow-500"},{title:"新能源普及国家",prompt:"现今世界上使用新能源最为普及的国家是哪些?",icon:"ri:flashlight-line",iconColor:"text-purple-500"},{title:"股市走势预测",prompt:"你认为全球股市未来一个季度会走势如何?",icon:"ri:line-chart-line",iconColor:"text-orange-500"},{title:"前沿科技研究",prompt:"请列举一些目前全球前沿的科技研究领域。",icon:"ri:rocket-line",iconColor:"text-teal-500"},{title:"社交媒体影响",prompt:"社交媒体对年轻人的影响有哪些?",icon:"ri:chat-3-line",iconColor:"text-gray-500"},{title:"电商平台市场份额",prompt:"当前哪些电商平台在全球拥有最大的市场份额?",icon:"ri:shopping-cart-line",iconColor:"text-cyan-500"},{title:"气候变化影响",prompt:"气候变化对世界各地造成了哪些影响?",icon:"ri:sun-cloudy-line",iconColor:"text-indigo-500"},{title:"全球顶尖大学排名",prompt:"请问哪些国家拥有全球最顶尖的大学排名?",icon:"ri:school-line",iconColor:"text-orange-500"},{title:"手机发明者",prompt:"手机是谁发明的?",icon:"ri:smartphone-line",iconColor:"text-blue-500"},{title:"旅行故事创作",prompt:"给我写一个关于旅行的故事。",icon:"ri:suitcase-3-line",iconColor:"text-green-500"},{title:"文章情感分析",prompt:"这篇文章中的情感倾向是积极、消极还是中性?",icon:"ri:emotion-line",iconColor:"text-yellow-500"},{title:"拼写错误纠正",prompt:"句子中的哪个单词拼写有误:“昨天我去了餐馆,品尝了他们的招牌菜。”",icon:"ri:check-line",iconColor:"text-red-500"},{title:"文章摘要生成",prompt:"请为这篇长文章生成一段简要的摘要。",icon:"ri:file-text-line",iconColor:"text-purple-500"},{title:"任务执行指令",prompt:"请告诉我现在怎么做。",icon:"ri:task-line",iconColor:"text-orange-500"}],yJ={class:"mb-10 rounded px-4 py-2 text-center text-3xl font-bold text-primary-500"},DJ={class:"w-full md:max-w-[40rem]"},xJ={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4"},LJ=["onClick"],MJ={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},wJ=Ue({__name:"index",setup(t){var g;const e=gt("onConversation"),n=Dt(),r=Ze(),{isMobile:i}=ze(),a=W(),s=()=>(a.value=OJ.sort(()=>.5-Math.random()).slice(0,4),a.value);Ve(()=>{s()}),Ve(()=>{s()});const o=((g=n.globalConfig)==null?void 0:g.siteName)||"AIWeb",l=H(()=>r.getChatByGroupInfo()),c=H(()=>{var S;const f=(S=l.value)==null?void 0:S.config;if(!f)return{};try{return JSON.parse(f)}catch{return{}}}),_=H(()=>{var f;return String(((f=c==null?void 0:c.value.modelInfo)==null?void 0:f.modelAvatar)||"")}),d=H(()=>String(c==null?void 0:c.value.modelInfo.modelName)),u=H(()=>String(c==null?void 0:c.value.modelInfo.model)),p=H(()=>Number(c==null?void 0:c.value.modelInfo.keyType));async function E(f){const{appId:S,prompt:T}=f;if(S&&S>0)try{await r.addNewChatGroup(S),await r.queryMyGroup()}catch{}else e({msg:T,model:u.value,modelName:d.value,modelType:p.value,modelAvatar:_.value,appId:S})}return(f,S)=>(y(),w("div",{class:Te([[O(i)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[b("h1",yJ,Z(O(o)),1),b("div",DJ,[b("div",xJ,[(y(!0),w(De,null,Qe(a.value,T=>(y(),w("div",{key:T.title,class:"space-y-4"},[b("button",{onClick:v=>E(T),class:"relative flex flex-col gap-2 rounded-xl border border-gray-200 dark:border-gray-800 px-3 pb-4 pt-3 text-start align-top text-sm shadow-sm transition dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[M(O(xo),{icon:T.icon,class:Te(["mb-3 inline-block text-base absolute top-3 left-3",T.iconColor])},null,8,["icon","class"]),b("div",MJ,Z(T.title),1)],8,LJ)]))),128))])])],2))}}),kJ={class:"w-full md:max-w-[40rem] mb-4"},PJ={class:"flex items-center justify-center"},UJ={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},FJ=["src"],BJ={class:"text-white text-sm md:text-lg"},GJ={class:"rounded px-4 py-2 text-3xl font-bold text-primary-500"},YJ={class:"w-full md:max-w-[40rem] mb-5"},qJ={class:"flex items-center justify-center"},VJ={class:"w-full md:max-w-[40rem] mt-2"},HJ={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4 justify-center"},zJ=["onClick"],WJ={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},KJ=Ue({__name:"index",props:{appId:{}},setup(t){const{isMobile:e}=ze(),n=W(null),r=t,i=gt("onConversation"),a=async l=>{try{const c=await Cd({id:l});n.value=c.data}catch{}};function s(l){var c;i({msg:l,model:(c=n==null?void 0:n.value)==null?void 0:c.model,modelAvatar:n.value.modelAvatar})}function o(){const l=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return l[Math.floor(Math.random()*l.length)]}return Ve(()=>{r.appId&&a(r.appId)}),Be(()=>r.appId,l=>{l&&a(l)}),(l,c)=>{var _,d,u;return n.value?(y(),w("div",{key:0,class:Te([[O(e)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[b("div",kJ,[b("div",PJ,[n.value.coverImg?(y(),w("div",UJ,[b("img",{src:n.value.coverImg,class:"rounded-full w-10 h-10 mr-4",alt:"app-image"},null,8,FJ)])):(y(),w("div",{key:1,class:Te([o(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-10 h-10 flex items-center justify-center mr-4"])},[b("span",BJ,Z(n.value.name.slice(0,1)),1)],2)),b("h1",GJ,Z((_=n.value)==null?void 0:_.name),1)])]),b("div",YJ,[b("div",qJ,[b("p",null,Z((d=n.value)==null?void 0:d.des),1)])]),b("div",VJ,[b("div",HJ,[(y(!0),w(De,null,Qe((u=n.value)==null?void 0:u.demoData,(p,E)=>(y(),w("div",{key:E,class:"space-y-4"},[b("button",{onClick:g=>s(p),class:"relative flex flex-col gap-2 rounded-xl border border-gray-200 dark:border-gray-800 px-3 pb-4 pt-3 text-start align-top text-sm shadow-sm transition dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[M(O(xo),{class:"mb-3 inline-block text-base absolute top-3 left-3",icon:"material-symbols:tips-and-updates-outline"}),b("div",WJ,Z(p),1)],8,zJ)]))),128))])])],2)):ee("",!0)}}}),QJ={class:"flex justify-between items-end w-full bg-transparent"},$J={key:0,class:"flex flex-nowrap overflow-x-auto scrollbar-hide ml-2"},ZJ=["onClick"],XJ=b("div",{class:"flex-1 bg-transparent"},null,-1),JJ={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},jJ={class:"py-1"},ej=["onClick"],tj={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},nj={class:"py-1"},rj=["onClick"],aj={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},ij={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},oj={class:"py-1"},sj=["onClick"],lj={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},cj={class:"flex flex-1 justify-center"},_j={class:"w-28"},dj={class:"py-1"},uj=["onClick"],pj={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-gray-100 dark:hover:bg-gray-700"},mj={class:"flex flex-1 justify-center"},gj={class:"w-28"},Ej={key:0,class:"flex items-center py-2 px-2 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},Sj=b("p",{class:"text-sm text-gray-400 dark:text-gray-400 flex-grow truncate"}," 使用 @ 搜索应用程序 ",-1),fj=[Sj],bj=["onClick"],Tj={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},Cj=["src"],hj={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},Rj={class:"text-md font-bold text-gray-600 dark:text-primary-500 mr-3 flex-shrink-0"},vj={class:"text-sm text-gray-400 dark:text-gray-400 flex-grow truncate"},Nj={key:0,class:"self-start w-full bg-gray-50 dark:bg-gray-700 rounded-lg"},Aj={key:0,class:"relative inline-block ml-2 mt-2 group"},Ij=["src"],Oj={key:1,class:"relative group w-full"},yj={class:"px-3 flex items-center justify-start bg-gray-50 rounded-t-lg h-12 text-gray-700 dark:text-gray-400"},Dj={class:"text-gray-500"},xj={class:"px-2 flex items-center justify-start rounded-t-lg h-12 text-gray-700 bg-gray-50 dark:bg-gray-700 dark:text-gray-400 w-full"},Lj={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},Mj=["src"],wj={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},kj={class:"text-md font-bold text-gray-700 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},Pj={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},Uj={class:"px-2 flex items-center justify-start bg-gray-50 rounded-t-lg h-12 text-gray-700 dark:text-gray-400 w-full dark:bg-gray-700"},Fj={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},Bj=["src"],Gj={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},Yj={class:"text-md font-bold text-gray-600 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},qj={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},Vj={class:"flex justify-between flex-grow w-full py-2 px-2"},Hj={class:"flex justify-start items-end"},zj={class:"flex flex-grow items-center justify-center"},Wj=["placeholder"],Kj={class:"flex justify-end items-end"},Qj=["disabled"],$j={key:0,class:"w-full flex justify-center items-center text-sm text-gray-500"},Zj={class:"transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 ml-2",href:"https://beian.miit.gov.cn",target:"_blank"},Xj="1.5rem",Jj=Ue({__name:"index",emits:["pause-request"],setup(t,{emit:e}){const n=gt("onConversation"),r=hd(),i=Dt(),a=Ze(),s=e,o=W([{id:"square",title:X("chat.square1"),values:"1:1",aspectRatio:"1 / 1"},{id:"illustration",title:X("chat.illustration"),values:"4:3",aspectRatio:"4 / 3"},{id:"wallpaper",title:X("chat.wallpaper"),values:"16:9",aspectRatio:"16 / 9"},{id:"media",title:X("chat.media"),values:"3:4",aspectRatio:"3 / 4"},{id:"poster",title:X("chat.poster"),values:"9:16",aspectRatio:"9 / 16"}]),l=W([{title:"6.0",values:"--v 6"},{title:"5.2",values:"--v 5.2"},{title:"卡通",values:"--niji 6"}]),c=W([{title:X("chat.imageToImage"),values:"imageToImage"},{title:X("chat.faceConsistency"),values:"faceConsistency"},{title:X("chat.styleConsistency"),values:"styleConsistency"}]),_=W([{id:"default",title:X("chat.square"),values:"1024x1024",aspectRatio:"1024 / 1024"},{id:"landscape",title:X("chat.landscape"),values:"1792x1024",aspectRatio:"1792 / 1024"},{id:"portrait",title:X("chat.portrait"),values:"1024x1792",aspectRatio:"1024 / 1792"}]),d=W(!0),u=W(!1),p=W(!0),E=W(),g=W(!1),f=W([]),S=W(""),T=W(null),v=W({size:"",style:""}),I=W(),N=W("--v 6"),m=W([]),C=W(_.value[0]),A=W(c.value[0]),L=W(l.value[0]),Y=W(""),P=W(""),J=W(""),ce=W(!1),D=W(),V=W(!1),k=W("");let R=null,x=null;const Q=H(()=>i.globalConfig),ae=H(()=>{var U,F;return((U=Q.value)==null?void 0:U.companyName)&&((F=Q.value)==null?void 0:F.filingNumber)}),_e=H(()=>{var U;return Number((U=i.globalConfig)==null?void 0:U.isHideSidebar)===1}),{isMobile:G}=ze(),q=H(()=>a.currentPlugin),re=H(()=>a.isStreamIn!==void 0?a.isStreamIn:!1),j=H(()=>a.chatList),ie=W("/api/upload/file"),Se=H(()=>String(K==null?void 0:K.value.modelInfo.modelName)),pe=H(()=>Number(K==null?void 0:K.value.modelInfo.keyType)),$=H(()=>a.active),se=H(()=>a.getChatByGroupInfo()),K=H(()=>{var F;const U=(F=se.value)==null?void 0:F.config;if(!U)return{};try{return JSON.parse(U)}catch{return{}}}),Re=H(()=>{var U,F;return String(((F=(U=K==null?void 0:K.value)==null?void 0:U.fileInfo)==null?void 0:F.fileParsing)||"")}),Le=H(()=>{var U,F;return String(((F=(U=K==null?void 0:K.value)==null?void 0:U.fileInfo)==null?void 0:F.fileName)||"")}),Pe=H(()=>{var U,F;return String(((F=(U=K==null?void 0:K.value)==null?void 0:U.modelInfo)==null?void 0:F.model)??"")}),Ye=H(()=>{var U,F;return Number((F=(U=K==null?void 0:K.value)==null?void 0:U.modelInfo)==null?void 0:F.isFileUpload)}),Ae=H(()=>[1,2].includes(Ye.value)),Xe=H(()=>{var U;return Pe.value==="dall-e-3"||((U=q.value)==null?void 0:U.parameters)==="dall-e-3"}),Me=H(()=>{var U;return Pe.value==="midjourney"||((U=q.value)==null?void 0:U.parameters)==="midjourney"}),te=W(!1),We=H(()=>r.clipboardText),he=H(()=>G.value?X("chat.placeholderMobile"):X("chat.placeholder")),me=H(()=>re.value||!S.value||S.value.trim()===""||!d.value),qe=(U,F=16)=>{const[le,de]=U.split(" / ").map(Number),ne=le/de;return de>le?{width:`${F*ne}px`,height:`${F}px`}:{width:`${F}px`,height:`${F/ne}px`}},xe=U=>{if(U.id==="custom"){const F=`${Y.value}:${P.value}`;C.value={...U,values:F,aspectRatio:`${Y.value} / ${P.value}`},v.value.size=F}else C.value=U,v.value.size=U.values},Ne=U=>{L.value=U,N.value=U.values},Ie=U=>{ge(),A.value=U,I.value=U.values};function z(U){const F=U.target||U,le=8;F.style.height="1rem";const ne=F.scrollHeight/F.value.split(` -`).length*le;F.style.height=Math.min(F.scrollHeight,ne)+"px"}const B=async U=>{const le=U.target.value;if(ce.value=le.startsWith("@"),x&&clearTimeout(x),ce.value&&!V.value){const de=le.slice(1);x=setTimeout(async()=>{if(de.length>0)try{const ne=await Zu({keyword:de});f.value=ne.data.rows}catch(ne){console.error("Error fetching search results:",ne),f.value=[]}else f.value=[]},1e3)}else f.value=[]},oe=H(()=>{var U,F;return String(((U=q==null?void 0:q.value)==null?void 0:U.pluginImg)||((F=K==null?void 0:K.value.modelInfo)==null?void 0:F.modelAvatar)||"")}),ue=()=>{var de;const F=((de=Q.value)==null?void 0:de.drawingStyles.split(",")).sort(()=>.5-Math.random()),le=G.value?3:5;m.value=F.slice(0,le)};function ve(U){S.value&&/,\s*$/.test(S.value)?S.value+=` ${U}`:S.value?S.value+=`, ${U}`:S.value=`${U} ,`,T.value.focus(),T.value.scrollTop=T.value.scrollHeight}const Oe=async U=>{var Xt,Jt,jt,en,tn,nn,rn,an,on,sn,ln,cn,_n;if(a.setStreamIn(!0),a.groupList.length===0||!d.value)return;let F="";((Xt=q.value)==null?void 0:Xt.parameters)==="suno-v3"?F="LYRICS":((Jt=q.value)==null?void 0:Jt.parameters)==="midjourney"&&(F="IMAGINE");let le=((jt=D==null?void 0:D.value)==null?void 0:jt.model)||(a==null?void 0:a.activeModel),de=((en=q==null?void 0:q.value)==null?void 0:en.pluginName)||((tn=D==null?void 0:D.value)==null?void 0:tn.name)||Se.value;const ne=pe.value;(nn=q.value)!=null&&nn.parameters&&((rn=q.value)==null?void 0:rn.parameters)!=="net-search"&&((an=q.value)==null?void 0:an.parameters)!=="mind-map"&&(le=(on=q.value)==null?void 0:on.parameters);const ke=((sn=D==null?void 0:D.value)==null?void 0:sn.coverImg)||oe.value;let Je;D!=null&&D.value?Je=(ln=D==null?void 0:D.value)==null?void 0:ln.id:Je=(cn=se==null?void 0:se.value)==null?void 0:cn.appId;let je="";(Ye.value===1||Ye.value===2||Me||te)&&k.value?je=await lt():je="";let ye=S.value;if(le==="midjourney"&&F==="IMAGINE"){if(je)switch(I.value){case"faceConsistency":ye=`${ye} --cref ${je} --cw 100`;break;case"styleConsistency":ye=`${ye} --sref ${je}`;break;default:ye=`${je} ${ye}`}v.value.size&&!ye.includes("--ar")&&(ye=`${ye} --ar ${v.value.size}`),N.value&&!ye.includes("--v")&&!ye.includes("--niji")&&(ye=`${ye} ${N.value}`)}S.value="",k.value="",R=null,T.value.style.height="1rem",await n({msg:ye,action:F,model:le,modelName:de,modelType:ne,modelAvatar:ke,appId:Je,extraParam:v.value,fileUrl:je,pluginParam:(_n=q.value)==null?void 0:_n.parameters}),a.setStreamIn(!1),g.value=!1},lt=async()=>{var U;g.value=!0;try{const F=new FormData,le=new Date,de=le.getFullYear(),ne=String(le.getMonth()+1).padStart(2,"0"),ke=String(le.getDate()).padStart(2,"0"),je=`userFiles/${`${de}${ne}/${ke}`}`;R&&F.append("file",R);const ye=await Xu.post(`${ie.value}?dir=${encodeURIComponent(je)}`,F,{headers:{"Content-Type":"multipart/form-data"}});return(U=ye==null?void 0:ye.data)==null?void 0:U.data}catch{return null}finally{g.value=!1,k.value="",R=null}},tt=async U=>{var de;const F=U.target,le=(de=F==null?void 0:F.files)==null?void 0:de[0];le&&await ct(le)},dt=async U=>{const le=(U.clipboardData||window.clipboardData).items;for(const de of le)if(de.kind==="file"){const ne=de.getAsFile();ne&&await ct(ne)}},ct=async U=>{let F=U.name;const le=25,de=F.split(".").pop()||"";F.length>le&&(F=F.substring(0,le-de.length-1)+"…."+de),U.type.startsWith("image/")?(p.value=!1,Ke(U),await nt({fileName:F})):(p.value=!0,Ke(U),await nt({fileName:F}))},ge=()=>{E.value.click()},Ke=async U=>{console.log("file",U),R=U;const F=new FileReader;F.onload=le=>{var de;k.value=(de=le.target)==null?void 0:de.result},F.readAsDataURL(U)},be=async()=>{k.value="",await nt({fileParsing:"",fileName:""}),R=null},we=async()=>{f.value=[],ce.value=!1,V.value=!1,D.value=null,a.setUsingPlugin(null)},nt=async U=>{const{modelInfo:F,fileInfo:le}=a.activeConfig,de={modelInfo:{...F},fileInfo:{fileParsing:U.fileParsing!==void 0?U.fileParsing:le==null?void 0:le.fileParsing,fileName:U.fileName!==void 0?U.fileName:le==null?void 0:le.fileName}},ne={groupId:$.value,config:JSON.stringify(de)};await Rd(ne),await a.queryMyGroup()},_t=U=>{G.value?U.key==="Enter"&&U.ctrlKey&&(U.preventDefault(),Oe()):U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),Oe())},vt=U=>{var F;D.value=U,V.value=!0,S.value="",(F=T.value)==null||F.focus()},ut=()=>{s("pause-request"),a.setStreamIn(!1),d.value=!0};return Be([Y,P],([U,F],[le,de])=>{U&&F&&(U!==le||F!==de)&&(xe({id:"custom",title:`${U}:${F}`,values:`${U}:${F}`,aspectRatio:`${U} / ${F}`}),J.value=`${Y.value} / ${P.value}`)}),Be(We,U=>{var F;S.value=U,(F=T.value)==null||F.focus(),T.value.scrollTop=T.value.scrollHeight}),Be(j,U=>{U.length},{immediate:!0}),Ve(()=>{ue(),T.value&&(T.value.style.height=Xj,z({target:T.value})),It(()=>{T.value&&!G.value&&T.value.focus()})}),(U,F)=>{var le,de;return y(),w(De,null,[b("footer",{class:Te(["flex flex-col items-center justify-center w-full",[O(G)?"px-2":"px-10",{"mb-3":_e.value&&O(G)}]])},[b("div",{class:Te(["flex pb-2 justify-center w-full flex-col m-auto rounded-lg px-0 text-gray-900 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none",[O(G)?" mx-2":" pt-1 mx-10 "]]),style:{maxWidth:"64rem"}},[b("div",QJ,[(Xe.value||Me.value)&&!O(G)?(y(),w("div",$J,[(y(!0),w(De,null,Qe(m.value,(ne,ke)=>(y(),w("button",{key:ke,onClick:Je=>ve(ne),class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 px-2 py-1 my-1 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-900 dark:hover:text-gray-400 whitespace-nowrap"},Z(ne),9,ZJ))),128)),b("button",{onClick:ue,class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 px-2 py-2 my-1 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-900 dark:hover:text-gray-400"},[M(O(Ap),{theme:"outline",size:"16",class:"my-4"})])])):ee("",!0),XJ,b("div",JJ,[Me.value?(y(),Ee(O(ft),{key:0,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(Z(A.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",jJ,[(y(!0),w(De,null,Qe(c.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>Ie(ne)},[b("a",tj,Z(ne.title),1)],8,ej)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0),Me.value?(y(),Ee(O(ft),{key:1,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(" 版本:"+Z(L.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",nj,[(y(!0),w(De,null,Qe(l.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>Ne(ne)},[b("a",aj,Z(ne.title),1)],8,rj)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0)]),b("div",ij,[Xe.value?(y(),Ee(O(ft),{key:0,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(Z(O(X)("chat.size")+C.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",oj,[(y(!0),w(De,null,Qe(_.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>xe(ne)},[b("a",lj,[b("div",cj,[b("div",{style:Ct(qe(ne.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),b("div",_j,Z(ne.title),1)])],8,sj)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0),te.value?(y(),Ee(O(ft),{key:1,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap",onClick:ge},{default:fe(()=>[rt(" 图生视频 ")]),_:1})]),_:1})):ee("",!0),Me.value||te.value?(y(),Ee(O(ft),{key:2,as:"div",class:"relative inline-block text-left shadow-sm rounded-md ring-1 ring-gray-300 dark:bg-gray-800 dark:ring-gray-800 group mr-3 my-1 py-1 px-2"},{default:fe(()=>[M(O(St),{class:"inline-flex w-full justify-center rounded-md text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 text-gray-400 group-hover:text-gray-900 dark:text-gray-600 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:fe(()=>[rt(Z(O(X)("chat.size")+C.value.title),1)]),_:1}),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900"},{default:fe(()=>[b("div",dj,[(y(!0),w(De,null,Qe(o.value,(ne,ke)=>(y(),Ee(O(Pt),{key:ke},{default:fe(()=>[b("div",{class:"group flex items-center",onClick:Je=>xe(ne)},[b("a",pj,[b("div",mj,[b("div",{style:Ct(qe(ne.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),b("div",gj,Z(ne.title),1)])],8,uj)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):ee("",!0)])])],2),ce.value&&!V.value&&!q.value?(y(),w("div",{key:0,class:Te(["flex mb-2 w-full px-2 py-1 justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-primary-800 dark:ring-primary-800 dark:bg-gray-800",[O(G)?"mx-2":"mx-10"]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[f.value.length===0?(y(),w("div",Ej,fj)):ee("",!0),(y(!0),w(De,null,Qe(f.value,ne=>(y(),w("div",{key:ne.id,onClick:ke=>vt(ne),class:"flex items-center bg-white dark:bg-gray-800 hover:bg-gray-100 py-2 px-2 dark:hover:bg-gray-700 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},[b("div",Tj,[ne.coverImg?(y(),w("img",{key:0,src:ne.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,Cj)):(y(),w("span",hj,Z(ne.name.charAt(0)),1))]),b("h3",Rj,Z(ne.name),1),b("p",vj,Z(ne.des),1)],8,bj))),128))],2)):ee("",!0),b("div",{class:Te(["flex mb-2 w-full justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-primary-800 dark:ring-primary-800 dark:bg-gray-800",[O(G)?" mx-2":" mx-10 "]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[k.value||Re.value||V.value||q.value?(y(),w("div",Nj,[k.value&&!p.value?(y(),w("div",Aj,[b("img",{src:k.value,class:"max-h-16 border border-gray-300 rounded-lg",alt:"预览图片"},null,8,Ij),b("div",{class:"absolute top-2 right-0 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[0]||(F[0]=ne=>be())},[M(O(pn),{class:"rounded-full h-5 w-5"})])])):ee("",!0),p.value&&(k.value||Re.value)&&!V.value&&!q.value?(y(),w("div",Oj,[b("div",yj,[b("span",Dj,Z(Le.value),1)]),b("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[1]||(F[1]=ne=>be())},[M(O(pn),{class:"rounded-full h-5 w-5"})])])):ee("",!0),b("div",{class:"relative group w-full",onMouseover:F[4]||(F[4]=ne=>u.value=!0),onMouseleave:F[5]||(F[5]=ne=>u.value=!1)},[q.value?(y(),w(De,{key:0},[b("div",xj,[b("div",Lj,[q.value.pluginImg?(y(),w("img",{key:0,src:q.value.pluginImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,Mj)):(y(),w("span",wj,Z(q.value.pluginName.charAt(0)),1))]),b("h3",kj,Z(q.value.pluginName),1),b("p",Pj,Z(q.value.description),1)]),b("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[2]||(F[2]=ne=>we())},[M(O(pn),{class:"rounded-full h-5 w-5"})])],64)):ee("",!0),V.value&&!q.value?(y(),w(De,{key:1},[b("div",Uj,[b("div",Fj,[D.value.coverImg?(y(),w("img",{key:0,src:D.value.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,Bj)):(y(),w("span",Gj,Z(D.value.name.charAt(0)),1))]),b("h3",Yj,Z(D.value.name),1),b("p",qj,Z(D.value.des),1)]),b("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:F[3]||(F[3]=ne=>we())},[M(O(pn),{class:"rounded-full h-5 w-5"})])],64)):ee("",!0)],32)])):ee("",!0),b("div",Vj,[b("div",Hj,[(Ae.value&&!g.value||Me.value||te.value)&&!g.value?(y(),Ee(O(fp),{key:0,size:"24",class:"p-1 text-gray-400 dark:text-gray-600 dark:hover:text-gray-500",onClick:ge})):ee("",!0),g.value?(y(),Ee(O(bp),{key:1,size:"24",class:"p-1 rotate-icon text-gray-400 dark:text-gray-600 hover:text-gray-500"})):ee("",!0),b("input",{ref_key:"fileInput",ref:E,type:"file",class:"hidden",onChange:tt,accept:"image/*, application/pdf, text/plain, text/html, text/css, text/csv, application/xml, application/vnd.ms-excel, application/x-sh, application/javascript, application/xslt+xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document"},null,544)]),b("div",zj,[qt(b("textarea",{ref_key:"inputRef",ref:T,"onUpdate:modelValue":F[6]||(F[6]=ne=>S.value=ne),placeholder:he.value,class:"w-full border-0 text-gray-800 placeholder:text-gray-400 dark:placeholder:text-gray-500 bg-transparent text-md leading-6 resize-none dark:text-gray-400 px-2",onInput:z,onKeypress:_t,onKeyup:B,onPaste:dt,style:{maxHeight:"30vh",minHeight:"1.5rem"}},null,40,Wj),[[hn,S.value]])]),b("div",Kj,[re.value?(y(),w("button",{key:1,type:"button",class:"rounded-md bg-primary-600 text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-500 dark:bg-primary-900 hover:dark:border-primary-500 dark:hover:bg-primary-800 dark:text-gray-400",onClick:F[8]||(F[8]=ne=>ut())},[M(O(Dp),{class:"h-4 w-4"})])):(y(),w("button",{key:0,type:"button",class:Te(["rounded-md text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 hover:bg-primary-500 dark:bg-primary-900 hover:dark:border-primary-500 dark:hover:bg-primary-800 dark:text-gray-400",{"bg-primary-600":S.value,"bg-primary-200":!S.value}]),disabled:me.value,onClick:F[7]||(F[7]=ne=>Oe())},[M(O(yp),{class:"h-4 w-4"})],10,Qj))])])],2)],2),ae.value&&!O(G)?(y(),w("div",$j,[rt(Z(O(X)("chat.generatedContentDisclaimer"))+" "+Z((le=Q.value)==null?void 0:le.companyName)+" ",1),b("a",Zj,Z((de=Q.value)==null?void 0:de.filingNumber),1)])):ee("",!0)],64)}}});const jj={class:"sticky top-0 left-0 right-0 z-30 border-b-gray-100 dark:border-neutral-800 bg-white dark:bg-gray-900 h-14 select-none"},eee={class:"relative flex items-center justify-center min-w-0 h-full"},tee={class:"max-w-screen-4xl flex w-full h-full items-center px-4"},nee={class:"flex items-center pr-2"},ree={class:"flex justify-between items-center h-full w-full"},aee={class:"py-1"},iee={class:"py-1"},oee={class:"py-1"},see=["onClick"],lee={class:"w-7 h-7 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden select-none"},cee=["src"],_ee={key:1,class:"text-sm font-medium select-none"},dee={class:"flex flex-col flex-1 select-none"},uee={href:"#",class:"text-sm select-none"},pee={key:0,class:"text-xs text-gray-400 line-clamp-1 max-w-60 mr-2 select-none"},mee={class:"ml-auto"},gee={key:1,class:"w-4 h-4"},Eee={key:0,class:"mr-2"},See=Ue({__name:"index",props:{usingContext:{type:Boolean}},emits:["export","toggleUsingContext","clear","scrollBtn"],setup(t,{emit:e}){const n=vd(),r=Ze(),i=W([]),a=W(null),s=H(()=>n.siderCollapsed),o=H(()=>r.active),{isMobile:l}=ze(),c=W(!1),_=H(()=>r.getChatByGroupInfo()),d=H(()=>{var C;const m=(C=_.value)==null?void 0:C.config;if(!m)return{};try{return JSON.parse(m)}catch{return{}}}),u=H(()=>{var m,C;return String(((C=(m=d==null?void 0:d.value)==null?void 0:m.modelInfo)==null?void 0:C.model)??"")}),p=H(()=>{var m;return((m=_==null?void 0:_.value)==null?void 0:m.appId)||0});let E=W({}),g=W([]);Be(p,m=>{m?f(m):a.value=null},{immediate:!0});async function f(m){const C=await Cd({id:m});a.value=C.data}const S=H(()=>{var m,C,A;return((m=_==null?void 0:_.value)==null?void 0:m.appId)&&(((C=d.value.modelInfo)==null?void 0:C.isFixedModel)===1||((A=d.value.modelInfo)==null?void 0:A.isGPTs)===1)}),T=gt("createNewChatGroup",()=>Promise.resolve());function v(){n.setSiderCollapsed(!s.value)}async function I(m){var D;const{modelInfo:C,fileInfo:A}=r.activeConfig,{isGPTs:L,isFixedModel:Y,modelName:P}=C,J={modelInfo:{keyType:m.keyType,modelName:((D=_==null?void 0:_.value)!=null&&D.appId?P:m.label)||"",model:m.value,deductType:m.deductType,deduct:m.deduct,isFileUpload:m.isFileUpload,modelAvatar:m.modelAvatar||"",isGPTs:L,isFixedModel:Y},fileInfo:A||{}},ce={groupId:o.value,config:JSON.stringify(J)};await Rd(ce),await r.queryMyGroup()}async function N(){try{const m=await Ju();if(!m.success)return;const{modelMaps:C,modelTypeList:A}=m.data;E.value=C,g.value=A;const Y=Object.values(C).flat().filter(P=>P.keyType===1);i.value=Y.map(P=>({label:P.modelName,value:P.model,deductType:P.deductType,keyType:P.keyType,deduct:P.deduct,isFileUpload:P.isFileUpload,modelAvatar:P.modelAvatar,modelDescription:P.modelDescription}))}catch{}}return Ve(()=>{N()}),(m,C)=>(y(),w("header",jj,[b("div",eee,[b("div",tee,[b("div",nee,[b("button",{class:"flex items-center justify-center w-5 h-full dark:text-gray-400 text-gray-500",onClick:v},[s.value?(y(),Ee(O(vp),{key:0,theme:"outline",size:"24"})):(y(),Ee(O(Sp),{key:1,theme:"outline",size:"24"}))])]),b("div",ree,[S.value?(y(),Ee(O(ft),{key:0,as:"div",class:"relative flex-1 flex ele-drag items-center h-full dark:bg-gray-900"},{default:fe(()=>[b("div",null,[b("div",aee,[M(O(St),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:fe(()=>{var A;return[rt(Z(((A=_.value)==null?void 0:A.title)||"新对话"),1)]}),_:1})])])]),_:1})):(y(),Ee(O(ft),{key:1,as:"div",class:"relative flex-1 flex ele-drag items-center h-full dark:bg-gray-900"},{default:fe(()=>[b("div",null,[b("div",iee,[M(O(St),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-500",onMouseover:C[0]||(C[0]=A=>c.value=!0),onMouseleave:C[1]||(C[1]=A=>c.value=!1)},{default:fe(()=>{var A,L;return[rt(Z(((L=(A=d.value)==null?void 0:A.modelInfo)==null?void 0:L.modelName)||"新对话")+" ",1),c.value&&!O(l)?(y(),Ee(O(up),{key:0,size:"18"})):ee("",!0)]}),_:1})])]),M(wt,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:fe(()=>[M(O(kt),{class:"absolute left-0 top-full z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto",style:{maxHeight:"60vh"}},{default:fe(()=>[b("div",oee,[(y(!0),w(De,null,Qe(i.value,(A,L)=>(y(),Ee(O(Pt),{key:L},{default:fe(()=>[b("div",{class:"flex items-center space-x-4 mx-2 hover:bg-gray-100 dark:hover:bg-gray-700 p-2 rounded-md select-none",onClick:Y=>I(A)},[b("div",lee,[A.modelAvatar?(y(),w("img",{key:0,src:A.modelAvatar,alt:"app cover",class:"w-full h-full object-cover"},null,8,cee)):(y(),w("span",_ee,Z(A.label.charAt(0)),1))]),b("div",dee,[b("a",uee,Z(A.label),1),A.modelDescription?(y(),w("div",pee,Z(A.modelDescription),1)):ee("",!0)]),b("div",mee,[u.value===A.value?(y(),Ee(O(mp),{key:0,theme:"filled",size:"16",class:"dark:text-gray-500"})):(y(),w("div",gee))])],8,see)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})),b("button",{type:"button",class:"rounded-md p-2 text-sm focus-visible:outline-none text-gray-500 hover:text-gray-700 dark:hover:text-gray-400 hover:bg-gray-50 flex items-center dark:hover:bg-gray-800 font-semibold",onClick:C[2]||(C[2]=A=>O(T)())},[O(l)?ee("",!0):(y(),w("div",Eee,"新建对话")),M(O(Ep),{size:"20"})])])])])]))}});function fee(){const t=Ze();return{addGroupChat:i=>{t.addGroupChat(i)},updateGroupChat:(i,a)=>{t.updateGroupChat(i,a)},updateGroupChatSome:(i,a)=>{t.updateGroupChatSome(i,a)}}}function bee(){function t(){document.querySelectorAll(".code-block-wrapper").forEach(n=>{const r=n.querySelector(".code-block-header__copy"),i=n.querySelector(".code-block-body");r&&i&&r.addEventListener("click",()=>{var a;(a=navigator.clipboard)!=null&&a.writeText?navigator.clipboard.writeText(i.textContent??""):Ld({text:i.textContent??"",origin:!0})})})}Ve(()=>t()),Id(()=>t())}function Tee(t,e){let n=!1;return function(){n||(t(),n=!0,setTimeout(()=>{n=!1},e))}}function Cee(){const t=W(null);let e=0;const n=async()=>{await It();let s=Date.now();if(s-e>1e3&&(e=s,await It(),t.value)){t.value.scrollTop=t.value.scrollHeight;return}},r=async()=>{await It(),t.value&&(t.value.scrollTop=0)},i=Tee(a,100);async function a(){await It(),t.value&&t.value.scrollHeight-t.value.scrollTop-t.value.clientHeight<=100&&(t.value.scrollTop=t.value.scrollHeight)}return{scrollRef:t,scrollToBottom:n,scrollToTop:r,scrollToBottomIfAtBottom:i}}function hee(){const t=Vt(),e=Ze(),n=H(()=>e.usingContext);function r(){e.setUsingContext(!n.value),n.value?t.success(X("chat.turnOnContext")):t.warning(X("chat.turnOffContext"))}return{usingContext:n,toggleUsingContext:r}}const Ree={class:"h-full flex flex-col pb-2 bg-white dark:bg-gray-900"},vee={class:"flex-1 overflow-hidden"},Nee={key:2},Aee={class:"sticky bottom-0 left-0 flex justify-center mb-1 p-1"},Iee=Ue({__name:"chatBase",setup(t){const e=Nd(),n=op(),r=Vt(),{isMobile:i}=ze(),{scrollRef:a,scrollToBottom:s,scrollToBottomIfAtBottom:o}=Cee(),{usingContext:l,toggleUsingContext:c}=hee();bee();const _=hd(),d=Dt(),u=Ze(),p=W(),E=W(!1),g=W(!0),f=W(!0),S=W(!1),T=W(new AbortController),v=H(()=>e.query.trade_status),I=H(()=>e.query.token),N=H(()=>d.isLogin),m=H(()=>u.currentPlugin),C=H(()=>u.chatList),A=H(()=>u.active),L=H(()=>u.getChatByGroupInfo()),Y=H(()=>C.value.filter($=>!$.inversion&&!$.error)),P=H(()=>{var se;const $=Y.value.filter(K=>{var Re;return(Re=K.conversationOptions)==null?void 0:Re.parentMessageId});return(se=$[$.length-1])==null?void 0:se.conversationOptions}),J=H(()=>{var se;const $=(se=L.value)==null?void 0:se.config;if(!$)return{};try{return JSON.parse($)}catch{return{}}}),ce=H(()=>{var $,se;return String(((se=($=J==null?void 0:J.value)==null?void 0:$.fileInfo)==null?void 0:se.fileParsing)||"")}),D=H(()=>{var $,se;return String(((se=($=J==null?void 0:J.value)==null?void 0:$.modelInfo)==null?void 0:se.model)||"")}),V=H(()=>{var $;return String((($=m==null?void 0:m.value)==null?void 0:$.pluginName)||(J==null?void 0:J.value.modelInfo.modelName)||"AI")}),k=H(()=>Number((J==null?void 0:J.value.modelInfo.keyType)||1)),R=H(()=>{var $,se;return String((($=m==null?void 0:m.value)==null?void 0:$.pluginImg)||((se=J==null?void 0:J.value.modelInfo)==null?void 0:se.modelAvatar)||"")}),x=H(()=>{var $;return(($=L==null?void 0:L.value)==null?void 0:$.appId)||0}),{addGroupChat:Q,updateGroupChat:ae,updateGroupChatSome:_e}=fee(),G=()=>{const $=a.value;if(!$)return;if(!($.scrollHeight>$.clientHeight)){S.value=!0;return}const K=p.value.getBoundingClientRect();S.value=K.top{p.value.scrollIntoView({behavior:"smooth"})},re=async({msg:$,action:se,drawId:K,customId:Re,model:Le,modelName:Pe,modelType:Ye,modelAvatar:Ae,appId:Xe,extraParam:Me,fileUrl:te})=>{var tt,dt,ct,ge,Ke;u.setStreamIn(!0);const We=Pe||V.value,he=Ye||k.value||1,me=Ae||R.value,qe=Xe||x.value;let xe=$||"提问",Ne=Le||D.value;T.value=new AbortController,(tt=m.value)!=null&&tt.parameters&&((dt=m.value)==null?void 0:dt.parameters)!=="net-search"&&((ct=m.value)==null?void 0:ct.parameters)!=="mind-map"&&(Ne=(ge=m.value)==null?void 0:ge.parameters),Q({text:xe,model:Ne,modelName:Pe,modelType:Ye,inversion:!0,fileInfo:te});let Ie={groupId:+A.value,fileParsing:ce.value};P.value&&l.value&&(Ie={...P.value,...Ie}),Q({text:"",model:Ne,modelName:Pe,modelType:Ye,loading:!0,inversion:!1,error:!1,modelAvatar:me,status:2,pluginParam:(Ke=m.value)==null?void 0:Ke.parameters}),await s();const z=null;let B=null;E.value=!0,_.updateIsChatIn(!0);const oe=async()=>{Ne==="dall-e-3"||Ne==="midjourney"||Ne==="suno-v3"||Ne==="stable-diffusion"||Ne==="luma-video"?await ue():await ve()},ue=async()=>{var be;try{const we=await es({prompt:xe,fileInfo:te||"",model:Ne,modelName:We,modelAvatar:me,modelType:2,action:se,drawId:K||"",customId:Re,options:Ie,usingPluginId:((be=m.value)==null?void 0:be.pluginId)||0,extraParam:Me||{},signal:T.value.signal});Oe(we)}catch{}},ve=async()=>{var nt;let be="",we=0;try{await es({model:Ne,modelName:We,modelType:he,prompt:$,usingPluginId:((nt=m.value)==null?void 0:nt.pluginId)||0,fileInfo:te,appId:qe||0,modelAvatar:me,options:Ie,signal:T.value.signal,onDownloadProgress:({event:_t})=>{const ut=_t.target.responseText,U=ut.substring(we);we=ut.length,U.trim().split(` -`).forEach(le=>{try{const de=JSON.parse(le);de.userBalance&&d.updateUserBalance(de.userBalance),de.text&&(be+=de.text)}catch{}}),ae(C.value.length-1,{chatId:B==null?void 0:B.chatId,text:be,modelType:1,modelName:We,error:!1,loading:!0,fileInfo:B==null?void 0:B.fileInfo}),o()}})}catch(_t){lt(_t)}finally{_.updateIsChatIn(!1),g.value=!0,_e(C.value.length-1,{loading:!1})}},Oe=be=>{if(!be)return;const{modelName:we,model:nt,drawId:_t,customId:vt,text:ut,status:U,fileInfo:F,userBalance:le,pluginParam:de}=be,ne=C.value.length-1;ae(ne,{text:ut,model:nt,modelType:2,modelName:we,inversion:!1,drawId:_t,customId:vt,error:!1,loading:!1,fileInfo:F,status:U,pluginParam:de}),s(),Object.keys(le).length&&d.updateUserBalance(le)},lt=be=>{if(console.error("fetchChatAPIProcess error:",be),_.updateIsChatIn(!1),clearInterval(z),E.value=!1,(be.code===402||be!=null&&be.message.includes("余额不足")||be!=null&&be.message.includes("免费额度"))&&(N.value?_.updateGoodsDialog(!0):d.setLoginDialog(!0)),be!=null&&be.message.includes("canceled")){_e(C.value.length-1,{loading:!1}),o(),setTimeout(()=>{d.getUserBalance()},200);return}const we=C.value[C.value.length-1];ae(C.value.length-1,{chatId:B==null?void 0:B.chatId,ttsUrl:B==null?void 0:B.ttsUrl,taskData:B==null?void 0:B.taskData,videoUrl:B==null?void 0:B.videoUrl,audioUrl:B==null?void 0:B.audioUrl,status:B==null?void 0:B.status,action:B==null?void 0:B.action,text:we.text===""?"":we.text,inversion:!1,loading:!1,fileInfo:B==null?void 0:B.fileInfo,conversationOptions:null,pluginParam:B==null?void 0:B.pluginParam}),o()};await oe(),u.setStreamIn(!1),u.queryActiveChatLogList(),u.queryMyGroup(),E.value=!1,g.value=!0,o()},j=()=>{T.value.abort(),s()},ie=async $=>{try{d.setToken($),await jo.replace({name:"Chat",query:{}}),r.success("账户登录成功、开始体验吧!"),await d.getUserInfo()}catch(se){console.error("登录过程中发生错误:",se)}},Se=async()=>{v.value.toLowerCase().includes("success")?(r.success("感谢你的购买、祝您使用愉快~",{duration:5e3}),await d.getUserInfo(),jo.replace({name:"Chat",query:{}})):r.error("您还没有购买成功哦~")},pe=({chatId:$})=>{n.warning({title:X("chat.deleteMessage"),content:X("chat.deleteMessageConfirm"),positiveText:X("common.yes"),negativeText:X("common.no"),onPositiveClick:()=>{u.deleteChatById($),r.success(X("chat.deleteSuccess"))}})};return Be(C,$=>{$.length!==0&&f.value&&(f.value=!1,s())},{immediate:!0}),Be(a,()=>{G()},{flush:"post"}),Ve(async()=>{I.value&&ie(I.value),v.value&&Se(),N.value||d.setLoginDialog(!0),await It(async()=>{await u.queryActiveChatLogList()})}),Ve(()=>{const $=a.value;$&&$.addEventListener("scroll",G)}),Od("onConversation",re),($,se)=>(y(),w("div",Ree,[M(See,{"using-context":O(l),onToggleUsingContext:O(c)},null,8,["using-context","onToggleUsingContext"]),b("main",vee,[b("div",{id:"scrollRef",ref_key:"scrollRef",ref:a,class:"relative h-full overflow-hidden overflow-y-auto scroll-smooth"},[b("div",{id:"image-wrapper",class:Te(["w-full m-auto h-full mx-auto",[O(i)?"p-3":"p-3 w-full"]]),style:{maxWidth:"64rem"}},[!C.value.length&&!x.value?(y(),w("div",{key:0,class:Te(["flex justify-center items-center text-center",[O(i)?"h-full":"h-4/5 "]])},[M(wJ)],2)):ee("",!0),!C.value.length&&x.value?(y(),w("div",{key:1,class:Te(["flex justify-center items-center",[O(i)?"h-full":"h-4/5 "]])},[M(KJ,{appId:x.value},null,8,["appId"])],2)):ee("",!0),C.value.length?(y(),w("div",Nee,[(y(!0),w(De,null,Qe(C.value,K=>(y(),Ee(O(IJ),{chatId:K.chatId,text:K.text,model:K.model,modelType:K.modelType,modelName:K.modelName,modelAvatar:K.modelAvatar,status:K.status,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,taskData:K.taskData,videoUrl:K.videoUrl,audioUrl:K.audioUrl,action:K.action,inversion:K.inversion,loading:K.loading,drawId:K.drawId,customId:K.customId,pluginParam:K.pluginParam,onDelete:Re=>pe(K)},null,8,["chatId","text","model","modelType","modelName","modelAvatar","status","fileInfo","ttsUrl","taskData","videoUrl","audioUrl","action","inversion","loading","drawId","customId","pluginParam","onDelete"]))),256)),b("div",Aee,[S.value?ee("",!0):(y(),w("button",{key:0,class:"bg-white rounded-full p-1 ring-1 text-gray-700 ring-gray-200 dark:ring-gray-600 dark:bg-gray-800 dark:text-gray-500",onClick:q},[M(O(Op),{class:"h-5 w-5 font-bold"})]))])])):ee("",!0),b("div",{ref_key:"bottomContainer",ref:p,class:"bottom"},null,512)],2)],512)]),M(Jj,{onPauseRequest:j})]))}});const Oee={class:"w-full h-full flex justify-center items-center flex-col bg-white dark:bg-gray-900"},yee={class:"mb-4 text-2xl font-bold mt-1"},Dee={class:"mb-6 text-base text-slate-500"},xee=Ue({__name:"index",setup(t){const e=gt("createNewChatGroup",()=>Promise.resolve());return(n,r)=>(y(),w("div",Oee,[M(O(xo),{icon:"tabler:message",class:"mb-4 inline-block text-6xl text-primary-600"}),b("h1",yee,Z(O(X)("chat.chatDialogue")),1),b("p",Dee,Z(O(X)("chat.startNewConversationPrompt")),1),b("button",{onClick:r[0]||(r[0]=i=>O(e)()),class:"bg-primary-500 hover:bg-primary-600 dark:bg-gray-800 dark:hover:bg-gray-700 py-2 px-4 text-white rounded-md"},Z(O(X)("chat.newConversation")),1)]))}}),Lee={class:"h-full transition-all"},Mee={class:"w-full flex-1"},Qee=Ue({__name:"chat",setup(t){const e=Vt(),n=Nd(),r=ju(),i=vd(),a=Ze(),s=Dt(),{isMobile:o}=ze(),l=H(()=>s.isLogin),c=H(()=>i.siderCollapsed),_=H(()=>a.groupList),d=H(()=>n.query.appId),u=W(0),p=W(0),E=H(()=>{var N;return Number((N=s.globalConfig)==null?void 0:N.isModelInherited)===1}),g=H(()=>a.isStreamIn!==void 0?a.isStreamIn:!1);Be(l,async(N,m)=>{N&&!m&&await a.queryMyGroup()});const f=H(()=>o.value?["rounded-none","shadow-none"]:["rounded-none","shadow-md","dark:border-gray-900"]),S=H(()=>["h-full",{"pl-[260px]":!o.value&&!c.value}]);async function T(N){if(g.value){e.info("AI回复中,请稍后再试");return}a.setStreamIn(!1);try{if(N&&N>0)await a.addNewChatGroup(N);else{const{modelInfo:m}=a.activeConfig;if(m&&E.value&&a.activeGroupAppId===0){const C={modelInfo:m};await a.addNewChatGroup(0,C)}else await a.addNewChatGroup()}o.value&&i.setSiderCollapsed(!0)}catch{}}function v(N){u.value=N.touches[0].clientX}function I(N){p.value=N.changedTouches[0].clientX,p.value-u.value>100&&o.value&&i.setSiderCollapsed(!1)}return Ve(()=>{window.addEventListener("touchstart",v),window.addEventListener("touchend",I)}),Ft(()=>{window.removeEventListener("touchstart",v),window.removeEventListener("touchend",I)}),Od("createNewChatGroup",T),Be(d,async(N,m)=>{if(N){const C=+N;await r.replace({path:"/chat",query:{}}),T(C)}},{immediate:!0}),(N,m)=>(y(),w("div",Lee,[b("div",{class:Te(["h-full overflow-hidden",f.value])},[M(O(sp),{class:Te(["z-40 transition",S.value]),"has-sider":""},{default:fe(()=>[M(pp,{class:"h-full"}),b("div",Mee,[_.value.length?ee("",!0):(y(),Ee(xee,{key:0})),_.value.length?(y(),Ee(Iee,{key:1})):ee("",!0)])]),_:1},8,["class"])],2)]))}});export{Qee as default}; diff --git a/public/assets/chatStore-067dd921.js b/public/assets/chatStore-067dd921.js deleted file mode 100644 index f8cd3c4..0000000 --- a/public/assets/chatStore-067dd921.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-d25a7e27.js";import{X as l,d as N,e as f,r as p,a as G,w as Z,f as E,o as O,S as r,U as o,a3 as a,a4 as u,M as i,k as X,a7 as J,F as S,a6 as j,a8 as v,W as L,ab as K,A as Y}from"./vue-10b4afc0.js";import{a as ee,e as z,N as te,t as y,O as se,P as ae,L as ne,Q as le,r as re}from"./index-d64a7cc4.js";import{I as B}from"./menu-19bde8fc.js";import{e as oe,Q as ie,H as ce}from"./naive-ui-fedd20b1.js";import{u as de}from"./useBasicLayout-a4f17bae.js";import"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import"./vueuse-motion-d4cdaf7b.js";const ue=B("search",!0,function(t){return l("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[l("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),l("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),l("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),fe=B("star",!1,function(t){return l("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[l("path",{d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),pe={class:"relative flex justify-center bg-custom-gradient dark:bg-gray-900 min-h-screen"},ge={class:"w-full flex flex-col items-center max-w-screen-4xl p-4 lg:p-6"},he={class:"mb-2 mt-8 text-center text-3xl font-extrabold text-primary-500 dark:text-primary-600 lg:text-4xl"},me={class:"flex justify-center text-base text-small mb-4 mt-4 text-center text-gray-500 dark:text-gray-400 tracking-widest lg:text-lg"},xe={class:"flex w-full rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800"},ye={class:"relative flex flex-1 w-full"},ve={for:"search-field",class:"sr-only"},_e={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},ke=["placeholder"],we={class:"w-full"},be={class:"flex lg:justify-between overflow-x-auto scrollbar-hide my-2 pb-3 pt-4",style:{"max-width":"80%",margin:"auto"}},Ce=["onClick"],Le=["onClick"],Ae={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},Ie=["src"],Me={class:"text-white text-sm md:text-lg"},Se={class:"flex-grow flex flex-col"},je={class:"flex items-center font-medium text-lg text-gray-600 dark:text-gray-400 my-1"},Ne={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},ze={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-3"},Be=N({__name:"index",setup(t){var M;const m=ee(),g=z(),_=((M=m.globalConfig)==null?void 0:M.siteName)||"AIWeb",k=f(()=>m.globalConfig.appMenuHeaderTips),w=oe(),x=te(),c=p(""),P=p([]),Q=f(()=>x.catId),d=p([]),b=p([]),W=f(()=>x.mineApps),A=p([]),h=p(0);G("createNewChatGroup",async e=>{});function I(e){return W.value.some(n=>n.appId===e.id)}async function $(){var n;const e=await se();d.value=(n=e==null?void 0:e.data)==null?void 0:n.rows.map(s=>(s.loading=!1,s)),b.value=d.value}const q=f(()=>c.value?d.value.filter(e=>e.name.includes(c.value)):h.value===0?d.value:d.value.filter(e=>e.catId===h.value));async function F(e){e.loading=!0;try{const n=await ae({appId:e.id});w.success(n.data),await x.queryMineApps(),e.loading=!1}catch{e.loading=!1}}async function T(e){const n=Number(e.id);ne.push({path:"/chat",query:{appId:n}})}async function H(){var s;const e=await le(),n={id:0,name:y("app.allCategories")};A.value=[n,...(s=e==null?void 0:e.data)==null?void 0:s.rows]}async function R(){const e=await re({menuPlatform:1});e.success&&(P.value=e.data)}function U(e){h.value=e}Z(Q,e=>{e?b.value=d.value.filter(n=>n.catId===e):b.value=d.value});function V(){const e=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return e[Math.floor(Math.random()*e.length)]}return E(()=>{H(),$(),R(),g.setSiderCollapsed(!0)}),O(()=>{g.setSiderCollapsed(!1)}),(e,n)=>(r(),o("div",pe,[a("div",ge,[a("div",he,u(i(_)),1),a("div",me,u(k.value||i(y)("app.exploreInfinitePossibilities")),1),a("div",xe,[a("div",ye,[a("label",ve,u(i(y)("app.searchAppNameQuickFind")),1),a("div",_e,[l(i(ue),{theme:"outline",size:"24",class:"text-gray-400"})]),X(a("input",{id:"search-field","onUpdate:modelValue":n[0]||(n[0]=s=>c.value=s),class:"z-1 w-full rounded-xl dark:bg-gray-800 py-2 pr-3 font-normal outline-0 delay-100 md:h-14 h-12 text-base pl-12 dark:text-gray-400",placeholder:i(y)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,ke),[[J,c.value]])])]),a("div",we,[a("div",be,[(r(!0),o(S,null,j(A.value,(s,C)=>(r(),o("div",{key:C,onClick:Qe=>U(s.id),class:v([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400 ":h.value===s.id,"text-gray-500":h.value!==s.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 m-1 lg:m-0 flex-none"])},u(s.name),11,Ce))),128))])]),l(Y,{name:"list",tag:"div",class:"w-full grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-4 gap-4 py-1"},{default:L(()=>[(r(!0),o(S,null,j(q.value,s=>(r(),o("div",{key:s.id,onClick:C=>T(s),class:"custom-card cursor-pointer flex items-center gap-5 overflow-hidden rounded-xl bg-gray-50 px-7 py-8 m-1 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[s.coverImg?(r(),o("div",Ae,[a("img",{src:s.coverImg,class:"rounded-2xl w-20 h-20",alt:"app-image"},null,8,Ie)])):(r(),o("div",{key:1,class:v([V(),"flex-shrink-0 dark:ring-gray-400 rounded-2xl w-20 h-20 flex items-center justify-center"])},[a("span",Me,u(s.name.slice(0,4)),1)],2)),a("div",Se,[a("div",je,[a("span",Ne,u(s.name),1),l(i(fe),{theme:I(s)?"filled":"outline",size:"24",fill:I(s)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:K(C=>F(s),["stop"])},null,8,["theme","fill","onClick"])]),a("span",ze,u(s.des),1)])],8,Le))),128))]),_:1})])]))}});const Pe={class:"h-full dark:bg-gray-900 transition-all"},Ve=N({__name:"chatStore",setup(t){const m=z(),{isMobile:g}=de(),_=f(()=>m.siderCollapsed),k=f(()=>g.value?["rounded-none","shadow-none"]:["rounded-md","shadow-md","dark:border-neutral-800"]),w=f(()=>["h-full",{"pl-[260px]":!g.value&&!_.value}]);return(x,c)=>(r(),o("div",Pe,[a("div",{class:v(["h-full overflow-hidden",k.value])},[l(i(ie),{class:v(["z-40 transition",w.value]),"has-sider":""},{default:L(()=>[l(D),l(i(ce),{class:"h-full"},{default:L(()=>[l(Be,{onRunApp:c[0]||(c[0]=()=>{})})]),_:1})]),_:1},8,["class"])],2)]))}});export{Ve as default}; diff --git a/public/assets/index-696013f1.css b/public/assets/index-696013f1.css deleted file mode 100644 index 19b84c9..0000000 --- a/public/assets/index-696013f1.css +++ /dev/null @@ -1,10 +0,0 @@ -html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}html .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .markdown-body.markdown-body-generate>dd:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dl:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dt:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h1:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h2:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h3:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h4:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h5:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h6:last-child):after,:is(.dark .markdown-body.markdown-body-generate>li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ol:last-child li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>p:last-child):after,:is(.dark .markdown-body.markdown-body-generate>pre:last-child code):after,:is(.dark .markdown-body.markdown-body-generate>td:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ul:last-child li:last-child):after{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{border-radius:50%;animation:breathes 2s infinite ease-in-out;vertical-align:middle}@keyframes breathes{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}@keyframes blink{to{visibility:hidden}}html,body,#app{height:100%}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}* :focus{outline:none}/*! - Theme: GitHub Dark - Description: Dark theme as seen on github.com - Author: github.com - Maintainer: @Hirse - Updated: 2021-05-15 - - Outdated base version: https://github.com/primer/github-syntax-dark - Current colors taken from GitHub's CSS -*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1750px){.container{max-width:1750px}}@media (min-width: 1870px){.container{max-width:1870px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-4{right:-1rem}.-right-8{right:-2rem}.-top-3{top:-.75rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-\[350px\]{bottom:350px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.left-5{left:1.25rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-6{top:1.5rem}.top-full{top:100%}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-1{margin:.25rem}.m-auto{margin:auto}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.-mb-4{margin-bottom:-1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[20px\]{margin-bottom:20px}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-\[8px\]{margin-left:8px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-\[-1px\]{margin-right:-1px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[50px\]{margin-top:50px}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-\[3\/1\]{aspect-ratio:3/1}.h-1\/2{height:50%}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-20{height:5rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[100vh\]{height:100vh}.h-\[10vh\]{height:10vh}.h-\[130px\]{height:130px}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[280px\]{height:280px}.h-\[400px\]{height:400px}.h-\[580px\]{height:580px}.h-\[600px\]{height:600px}.h-full{height:100%}.h-screen{height:100vh}.max-h-16{max-height:4rem}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-28{min-height:28px}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[350px\]{min-height:350px}.min-h-\[4rem\]{min-height:4rem}.min-h-\[500px\]{min-height:500px}.min-h-\[80vh\]{min-height:80vh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[200\]{width:200}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[228px\]{width:228px}.w-\[230px\]{width:230px}.w-\[280px\]{width:280px}.w-\[300px\]{width:300px}.w-\[55px\]{width:55px}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[65px\]{width:65px}.w-\[75px\]{width:75px}.w-\[80vw\]{width:80vw}.w-auto{width:auto}.w-full{width:100%}.w-sider{width:60px}.min-w-0{min-width:0px}.min-w-12{min-width:3rem}.min-w-\[120px\]{min-width:120px}.min-w-\[350px\]{min-width:350px}.min-w-\[35vw\]{min-width:35vw}.min-w-\[8rem\]{min-width:8rem}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-60{max-width:15rem}.max-w-\[500px\]{max-width:500px}.max-w-\[80vw\]{max-width:80vw}.max-w-\[95vw\]{max-width:95vw}.max-w-full{max-width:100%}.max-w-screen-4xl{max-width:1870px}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.origin-bottom-right{transform-origin:bottom right}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.resize-none{resize:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-10{row-gap:2.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[3px\]{border-width:3px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-\[\#00000014\]{border-color:#00000014}.border-\[\#ebebeb\]{--tw-border-opacity: 1;border-color:rgb(235 235 235 / var(--tw-border-opacity))}.border-\[\#ffffff17\]{border-color:#ffffff17}.border-\[ced4da\]{border-color:ced4da}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-b-gray-100{--tw-border-opacity: 1;border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-t-gray-100{--tw-border-opacity: 1;border-top-color:rgb(243 244 246 / var(--tw-border-opacity))}.bg-\[\#19C37D\]{--tw-bg-opacity: 1;background-color:rgb(25 195 125 / var(--tw-bg-opacity))}.bg-\[\#2C9EFF\]{--tw-bg-opacity: 1;background-color:rgb(44 158 255 / var(--tw-bg-opacity))}.bg-\[\#3CD38E\]{--tw-bg-opacity: 1;background-color:rgb(60 211 142 / var(--tw-bg-opacity))}.bg-\[\#AB68FF\]{--tw-bg-opacity: 1;background-color:rgb(171 104 255 / var(--tw-bg-opacity))}.bg-\[\#FF9600\]{--tw-bg-opacity: 1;background-color:rgb(255 150 0 / var(--tw-bg-opacity))}.bg-\[\#f78400\]{--tw-bg-opacity: 1;background-color:rgb(247 132 0 / var(--tw-bg-opacity))}.bg-\[\#fafafa\]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-\[\#fafafc\]{--tw-bg-opacity: 1;background-color:rgb(250 250 252 / var(--tw-bg-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-primary-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-center{background-position:center}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-\[10px\]{padding:10px}.p-\[2px\]{padding:2px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20{padding-left:5rem;padding-right:5rem}.px-24{padding-left:6rem;padding-right:6rem}.px-28{padding-left:7rem;padding-right:7rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-\[15px\]{padding-bottom:15px}.pl-0{padding-left:0}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-20{padding-left:5rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-\[260px\]{padding-left:260px}.pr-0{padding-right:0}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}.pr-16{padding-right:4rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-loose{line-height:2}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-\[\#000\]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-\[\#142D6E\]{--tw-text-opacity: 1;color:rgb(20 45 110 / var(--tw-text-opacity))}.text-\[\#3076fd\]{--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}.text-\[\#374151\]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-\[\#444\]{--tw-text-opacity: 1;color:rgb(68 68 68 / var(--tw-text-opacity))}.text-\[\#555\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity))}.text-\[\#626569\]{--tw-text-opacity: 1;color:rgb(98 101 105 / var(--tw-text-opacity))}.text-\[\#64748b\]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-\[\#707384\]{--tw-text-opacity: 1;color:rgb(112 115 132 / var(--tw-text-opacity))}.text-\[\#95AAC9\],.text-\[\#95aac9\]{--tw-text-opacity: 1;color:rgb(149 170 201 / var(--tw-text-opacity))}.text-\[\#989898\]{--tw-text-opacity: 1;color:rgb(152 152 152 / var(--tw-text-opacity))}.text-\[\#999\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-\[\#cbd5e1\]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-\[\#eee\]{--tw-text-opacity: 1;color:rgb(238 238 238 / var(--tw-text-opacity))}.text-\[\#fff\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-\[000\]{color:000}.text-\[currentColor\]{color:currentColor}.text-\[gray\]{--tw-text-opacity: 1;color:rgb(128 128 128 / var(--tw-text-opacity))}.text-\[red\]{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-primary-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(243 244 246 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar-none{scrollbar-width:none}.scrollbar-none::-webkit-scrollbar{display:none}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.focus-within\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary-400:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(129 140 248 / var(--tw-ring-opacity))}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.hover\:bg-\[\#666161\]:hover{--tw-bg-opacity: 1;background-color:rgb(102 97 97 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-primary-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-primary-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-\[\#5A91FC\]:hover{--tw-text-opacity: 1;color:rgb(90 145 252 / var(--tw-text-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover,.hover\:text-primary-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-primary-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}.focus-visible\:outline-primary-600:focus-visible{outline-color:#4f46e5}:is(.dark .dark\:border-\[\#3a3a40\]){--tw-border-opacity: 1;border-color:rgb(58 58 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-\[\#ffffff17\]){border-color:#ffffff17}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-b-gray-800){--tw-border-opacity: 1;border-bottom-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-gray-800){--tw-border-opacity: 1;border-top-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-neutral-800){--tw-border-opacity: 1;border-top-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:bg-\[\#24272e\]){--tw-bg-opacity: 1;background-color:rgb(36 39 46 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#25272c\]){--tw-bg-opacity: 1;background-color:rgb(37 39 44 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#262629\]){--tw-bg-opacity: 1;background-color:rgb(38 38 41 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#2F2E34\]){--tw-bg-opacity: 1;background-color:rgb(47 46 52 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black\/20){background-color:#0003}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:text-\[\#3076fd\]){--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#3a71ff\]){--tw-text-opacity: 1;color:rgb(58 113 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#fff\]){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#ffffff73\]){color:#ffffff73}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-600){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-primary-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 48 163 / var(--tw-ring-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:border-primary-500):hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-\[\#33373c\]:hover){--tw-bg-opacity: 1;background-color:rgb(51 55 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-\[\#414755\]:hover){--tw-bg-opacity: 1;background-color:rgb(65 71 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary-600:hover){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:ring-gray-600:hover){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-primary-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 48 163 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:block{display:block}.sm\:w-\[20rem\]{width:20rem}.sm\:w-\[300px\]{width:300px}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:pt-4{padding-top:1rem}.sm\:pt-6{padding-top:1.5rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:h-14{height:3.5rem}.md\:max-w-\[40rem\]{max-width:40rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:m-0{margin:0}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:justify-between{justify-content:space-between}.lg\:p-6{padding:1.5rem}.lg\:pt-0{padding-top:0}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1750px){.\33xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1870px){.\34xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(./KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(./KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(./KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(./KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(./KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(./KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(./KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(./KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(./KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(./KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(./KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(./KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(./KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(./KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(./KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(./KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(./KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(./KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(./KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(./KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(./KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(./KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(./KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(./KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(./KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(./KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(./KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(./KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(./KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(./KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/public/assets/index-79113eb4.js b/public/assets/index-79113eb4.js deleted file mode 100644 index 1d8851e..0000000 --- a/public/assets/index-79113eb4.js +++ /dev/null @@ -1,46 +0,0 @@ -var wt=Object.defineProperty;var _t=(u,s,n)=>s in u?wt(u,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[s]=n;var Ee=(u,s,n)=>(_t(u,typeof s!="symbol"?s+"":s,n),n);import{u as xe,a as se,f as $t,b as tt,c as St,t as m,d as Ct,e as Ie,s as ke,g as It,h as zt,i as Tt,j as Lt,k as Rt,l as Pt,m as nt,n as Mt,p as At,o as Pe,q as Me,r as st,R as Dt,v as Nt,w as Bt,_ as jt,x as Ut,y as Et}from"./index-d64a7cc4.js";import{C as Ae,Q as qe}from"./index-03531f8f.js";import{p as at,e as re,q as De,r as ve,s as it,t as lt,v as we,w as ze,d as rt,x as Oe,y as qt,z as Ne,A as He,B as ot,C as Re,D as Ot,E as Ht,F as Wt,G as Qt,H as Gt}from"./naive-ui-fedd20b1.js";import{d as ne,e as f,S as p,U as C,X as S,W as M,a3 as l,m as We,c as V,a4 as _,M as o,r as N,V as W,a5 as D,H as Be,F as ce,a6 as me,f as Te,k as ae,a7 as ie,a8 as J,o as Vt,n as ct,w as Le,h as Zt,x as Qe,z as Ft,a9 as ut,aa as Jt,P as Xt}from"./vue-10b4afc0.js";import{f as Yt}from"./crami-99ee44eb.js";import{f as dt,a as Kt}from"./order-8be5c617.js";import{u as le}from"./useBasicLayout-a4f17bae.js";import{C as en}from"./Close-d2230b2f.js";import{_ as gt}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{S as tn,U as Ge,M as nn,b as fe,D as sn,A as an,C as ln,a as rn,c as on,L as cn,g as un}from"./menu-19bde8fc.js";import"./vueuse-motion-d4cdaf7b.js";import"./_plugin-vue_export-helper-c27b6911.js";const dn={key:0},gn={key:1},pn=ne({__name:"index",props:{tooltip:{default:""},placement:{default:"bottom"}},emits:["click"],setup(u,{emit:s}){const n=u,e=s,a=f(()=>!!n.tooltip);function i(){e("click")}return(r,c)=>a.value?(p(),C("div",dn,[S(o(at),{placement:r.placement,trigger:"hover"},{trigger:M(()=>[l("button",{onClick:i},[We(r.$slots,"default")])]),default:M(()=>[V(" "+_(r.tooltip),1)]),_:3},8,["placement"])])):(p(),C("div",gn,[l("button",{onClick:i},[We(r.$slots,"default")])]))}}),hn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},fn=l("path",{d:"M53.12 199.94l400-151.39a8 8 0 0 1 10.33 10.33l-151.39 400a8 8 0 0 1-15-.34l-67.4-166.09a16 16 0 0 0-10.11-10.11L53.46 215a8 8 0 0 1-.34-15.06z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),mn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M460 52L227 285"},null,-1),xn=[fn,mn],pt=ne({name:"PaperPlaneOutline",render:function(s,n){return p(),C("svg",hn,xn)}}),yn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},vn=l("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),bn=l("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),kn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M88 176v112"},null,-1),wn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),_n=[vn,bn,kn,wn],$n=ne({name:"PersonAddOutline",render:function(s,n){return p(),C("svg",yn,_n)}}),Sn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Cn=l("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),In=l("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),zn=l("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),Tn=[Cn,In,zn],Ln=ne({name:"PersonRemoveOutline",render:function(s,n){return p(),C("svg",Sn,Tn)}}),Rn={class:"p-5 bg-white rounded dark:bg-slate-800"},Pn={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Mn=l("span",{class:"ml-[8px]"},"绑定微信账户",-1),An={style:{"white-space":"nowrap"},class:"w-full text-center font-bold text-sm py-5"},Dn={class:"w-[55px] inline-block text-[red] text-left"},Nn={class:"my-2 flex justify-center relative"},Bn=l("span",{class:"flex items-center justify-center text-base py-5"}," 打开微信扫码绑定账户 ",-1),jn=ne({__name:"BindWx",props:{visible:{type:Boolean}},setup(u){const s=xe();let n;const e=N(),a=se(),i=N(!1),r=N(""),c=N(""),d=re();async function y(){const z=await $t();z.success&&(c.value=z.data,k())}async function k(){const z=await tt({sceneStr:c.value});z.success&&(i.value=!0,r.value=z.data,n=setInterval(()=>{x()},1e3))}async function x(){if(!c.value)return;const z=await St({sceneStr:c.value});if(z.data){clearInterval(n);const{status:$,msg:I}=z.data;$?d.success(I):d.error(I),a.getUserInfo(),s.updateBindwxDialog(!1)}}function h(){var z;clearInterval(n),y(),(z=e.value)==null||z.reset()}function g(){y()}function B(){clearInterval(n),r.value="",c.value="",i.value=!1}return(z,$)=>(p(),W(o(De),{show:z.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":g,"on-after-leave":B},{default:M(()=>[l("div",Rn,[l("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:$[0]||($[0]=I=>o(s).updateBindwxDialog(!1))},[S(o(ve),{size:"20",color:"#0e7a0d"},{default:M(()=>[S(o(Ae))]),_:1})]),l("div",Pn,[S(o(ve),{size:"25",color:"#0e7a0d"},{default:M(()=>[S(o(pt))]),_:1}),Mn]),l("div",null,[l("div",An,[l("p",null,[V(" 请在 "),l("span",Dn,[S(o(it),{ref_key:"countdownRef",ref:e,active:i.value,duration:120*1e3,"on-finish":h},null,8,["active"])]),V(" 时间内完成绑定 ")])]),l("div",Nn,[r.value?(p(),W(o(lt),{key:0,"preview-disabled":"",width:"230",src:r.value},null,8,["src"])):(p(),W(o(we),{key:1,height:"230px",width:"230px"})),r.value?D("",!0):(p(),W(o(ze),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),Bn])])]),_:1},8,["show"]))}}),Un=""+new URL("preferential-0ee5bc79.png",import.meta.url).href,En={class:"p-4 bg-white rounded dark:bg-slate-800 max-h-4/5"},qn={class:"flex cursor-pointer justify-between"},On={class:"text-xl"},Hn={key:0,class:"p-4"},Wn={class:"relative"},Qn=["src"],Gn=["src"],Vn={key:0,class:"flex justify-between items-end min-h-28"},Zn={class:"text-sm font-bold mr-1 w-[120px]"},Fn={class:"font-bold"},Jn={key:1,class:"flex justify-between items-end min-h-28"},Xn={class:"text-sm font-bold mr-1 w-[120px]"},Yn={class:"font-bold"},Kn={key:2,class:"flex justify-between items-end min-h-28"},es={class:"text-sm font-bold mr-1 w-[120px]"},ts={class:"font-bold"},ns={class:"flex justify-between items-end mt-5"},ss={class:"text-xl text-[red] font-bold"},as={key:1,class:"p-4"},is=ne({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(u){const s=se(),n=xe(),e=N(!0),{isSmallMd:a}=le(),i=N([]),r=re(),c=rt(),d=N(!1),y=f(()=>s.globalConfig.model3Name||m("goods.basicModelQuota")),k=f(()=>s.globalConfig.model4Name)||m("goods.advancedModelQuota"),x=f(()=>s.globalConfig.drawMjName)||m("goods.drawingQuota"),h=f(()=>Number(s.globalConfig.isHideModel3Point)===1),g=f(()=>Number(s.globalConfig.isHideModel4Point)===1),B=f(()=>Number(s.globalConfig.isHideDrawMjPoint)===1),z=f(()=>{var O;const v=window.navigator.userAgent.toLowerCase();return v.match(/MicroMessenger/i)&&((O=v==null?void 0:v.match(/MicroMessenger/i))==null?void 0:O[0])==="micromessenger"}),$=f(()=>{const{payHupiStatus:v,payEpayStatus:O,payMpayStatus:w,payWechatStatus:E,payLtzfStatus:G}=s.globalConfig;return Number(E)===1?"wechat":Number(w)===1?"mpay":Number(v)===1?"hupi":Number(O)===1?"epay":Number(G)===1?"ltzf":null}),I=f(()=>{const{payEpayChannel:v,payMpayChannel:O}=s.globalConfig;return $.value==="mpay"?O?JSON.parse(O):[]:$.value==="epay"?v?JSON.parse(v):[]:$.value==="wechat"?["wxpay"]:$.value==="hupi"?["wxpay"]:$.value==="ltzf"?["wxpay"]:[]});function j(){P(),z.value&&R()}function Q(){i.value=[],e.value=!0}async function R(){const v=window.location.href.replace(/#.*$/,""),O=await Ct({url:v}),{appId:w,nonceStr:E,timestamp:G,signature:A}=O.data;w&&(wx.config({debug:!1,appId:w,timestamp:G,nonceStr:E,signature:A,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function q(v){const{appId:O,timeStamp:w,nonceStr:E,package:G,signType:A,paySign:U}=v;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:O,timeStamp:w,nonceStr:E,package:G,signType:A,paySign:U},ee=>{ee.err_msg==="get_brand_wcpay_request:ok"?(r.success(m("goods.purchaseSuccess")),setTimeout(()=>{s.getUserInfo(),n.updateGoodsDialog(!1)},500)):r.success(m("goods.paymentNotSuccessful"))})}async function H(v){if(!d.value){if(z.value&&$.value==="wechat"&&Number(s.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",q,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",q),document.attachEvent("onWeixinJSBridgeReady",q));else{const O=await dt({goodsId:v.id,payType:"jsapi"}),{success:w,data:E}=O;w&&q(E)}return}n.updateOrderInfo({pkgInfo:v}),n.updateGoodsDialog(!1),n.updatePayDialog(!0)}}async function P(){e.value=!0;try{const v=await Yt({status:1,size:30});i.value=v.data.rows,e.value=!1}catch{e.value=!1}}function X(v){const{name:O}=v;c.success({title:m("goods.orderConfirmationTitle"),content:m("goods.orderConfirmationContent")+O,negativeText:m("goods.thinkAgain"),positiveText:m("goods.confirmPurchase"),onPositiveClick:()=>{I.value.length||r.warning(m("goods.paymentNotEnabled")),H(v)}})}return(v,O)=>(p(),W(o(De),{show:v.visible,style:Be({maxWidth:`${i.value.length>4?1200:i.value.length*250}px`,minWidth:o(a)?"100%":"1000px"}),"on-after-enter":j,"on-after-leave":Q},{default:M(()=>[l("div",En,[l("div",qn,[l("span",On,_(o(m)("goods.selectProducts")),1),S(o(ve),{size:"20",color:"#0e7a0d",onClick:O[0]||(O[0]=w=>o(n).updateGoodsDialog(!1))},{default:M(()=>[S(o(Ae))]),_:1})]),e.value?D("",!0):(p(),C("div",Hn,[S(o(He),{"x-gap":15,"y-gap":15,cols:o(a)?1:i.value.length>4?4:i.value.length,class:"mt-3"},{default:M(()=>[(p(!0),C(ce,null,me(i.value,(w,E)=>(p(),W(o(Oe),{key:E},{default:M(()=>[S(o(qt),{size:"small",embedded:""},{header:M(()=>[l("div",Wn,[l("b",null,_(w.name),1),w.extraReward===1?(p(),C("img",{key:0,src:o(Un),class:"w-8 absolute -right-4 -top-3"},null,8,Qn)):D("",!0)])]),cover:M(()=>[l("img",{src:w.coverImg,class:"h-[130px] object-cover"},null,8,Gn)]),default:M(()=>[l("div",null,[l("p",null,_(w.des),1),h.value?D("",!0):(p(),C("div",Vn,[l("span",Zn,_(y.value),1),l("span",Fn,_(w.model3Count),1)])),g.value?D("",!0):(p(),C("div",Jn,[l("span",Xn,_(o(k)),1),l("span",Yn,_(w.model4Count),1)])),B.value?D("",!0):(p(),C("div",Kn,[l("span",es,_(o(x)),1),l("span",ts,_(w.drawMjCount),1)])),l("div",ns,[l("i",ss,_(`¥${w.price}`),1),S(o(Ne),{type:"primary",dashed:"",size:"small",onClick:G=>X(w)},{default:M(()=>[V(_(o(m)("goods.buyPackage")),1)]),_:2},1032,["onClick"])])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])])),e.value?(p(),C("div",as,[S(o(He),{"x-gap":15,"y-gap":15,cols:o(a)?1:4,class:"mt-3"},{default:M(()=>[(p(),C(ce,null,me(4,w=>S(o(Oe),{key:w},{default:M(()=>[S(o(ot),{vertical:""},{default:M(()=>[S(o(we),{height:"130px",width:"100%"}),S(o(we),{height:"210px",width:"100%",sharp:!1})]),_:1})]),_:2},1024)),64))]),_:1},8,["cols"])])):D("",!0)])]),_:1},8,["show","style"]))}}),ls={class:"sm:mx-auto sm:w-full sm:max-w-sm"},rs={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},os={class:"mt-4 flex relative"},cs=["placeholder"],us=["innerHTML"],ds={class:"mt-4 flex"},gs=["placeholder"],ps={key:0,class:"mt-4 relative"},hs=["placeholder"],fs=["disabled","loading"],ms={class:"mt-4"},xs=["placeholder"],ys={class:"mt-4"},vs=["placeholder"],bs={key:1,class:"text-center text-sm text-gray-500 dark:text-gray-400"},ks={class:"mb-8 sm:mx-auto sm:w-full sm:max-w-sm"},ws={class:"text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},_s={class:"mt-4"},$s={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ss={class:"mt-2"},Cs=["placeholder"],Is={class:"mt-4"},zs={class:"mt-2"},Ts={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ls=["placeholder"],Rs={class:"flex items-center justify-between my-3"},Ps={class:"flex items-center"},Ms=l("input",{id:"remember-me",name:"remember-me",type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,-1),As={for:"remember-me",class:"ml-3 block text-sm leading-6 text-gray-500 dark:text-gray-400"},Ds={key:0,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Ns={key:0},Bs=l("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[l("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 验证码登录 ")],-1),js={class:"mt-4 flex relative"},Us=["placeholder"],Es=["innerHTML"],qs={class:"mt-4 relative"},Os=["placeholder"],Hs=["disabled","loading"],Ws={class:"mt-4 flex"},Qs=["placeholder"],Gs={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Vs=ne({__name:"Email",emits:["changeLoginType"],setup(u,{emit:s}){const n=s,e=Ie(),a=N(null),i=re(),r=N(!0),c=N(!1),d=se(),y=N(""),k=f(()=>e.theme),x=N(0),h=d.globalConfig.siteName,{isMobile:g}=le(),B=N(!1),z=f(()=>k.value==="dark"?"#6b7280":"#fff"),$=N({password:"",contact:"",invitedBy:"",captchaCode:"",captchaId:null,code:""}),I=N({username:"",password:"",contact:"",invitedBy:""}),j={username:[{required:!0,message:m("login.enterUsername"),trigger:"blur"},{min:2,max:30,message:m("login.usernameLength"),trigger:"blur"}],password:[{required:!0,message:m("login.enterPassword"),trigger:"blur"},{min:6,max:30,message:m("login.passwordLength"),trigger:"blur"}],email:[{required:!0,message:m("login.enterEmail"),trigger:"blur"},{type:"email",message:m("login.emailValid"),trigger:["blur","change"]}],captchaCode:[{required:!0,message:m("login.enterCaptcha"),trigger:"blur"}]},Q=f(()=>Number(d.globalConfig.wechatRegisterStatus)===1),R=f(()=>Number(d.globalConfig.phoneLoginStatus)===1),q=f(()=>Number(d.globalConfig.noVerifyRegister)===1),H=f(()=>Number(d.globalConfig.emailLoginStatus)===1),P=f(()=>{if(H.value&&R.value)return m("login.emailPhone");if(H.value)return m("login.email");if(R.value)return m("login.phone")}),X=f(()=>{if(H.value&&R.value)return m("login.enterEmailOrPhone");if(H.value)return m("login.enterEmail");if(R.value)return m("login.enterPhone")});function v(){x.value>0&&setTimeout(()=>{x.value--,v()},1e3)}async function O(){var G;(G=a.value)==null||G.validate(async A=>{if(!A)try{const{contact:U,captchaCode:ee,captchaId:oe}=$.value,ge={contact:U,captchaCode:ee,captchaId:oe};let pe;pe=await It(ge),E();const{success:be,message:Y}=pe;be?(i.success(pe.data),x.value=60,v()):i.error(Y)}catch{E()}})}function w(){var G;(G=a.value)==null||G.validate(async A=>{if(!A)try{c.value=!0;const U=r.value?zt:Tt,ee=r.value?{username:I.value.username,password:I.value.password}:$.value,oe=await U(ee);c.value=!1,E();const{success:ge,message:pe}=oe;if(!ge)return i.error(pe);if(r.value)i.success(m("login.loginSuccess")),d.setToken(oe.data),d.getUserInfo(),d.setLoginDialog(!1),ke.remove("invitedBy");else{i.success(m("login.registrationSuccess"));const{contact:be,password:Y}=$.value;I.value.username=be,I.value.password=Y,r.value=!r.value}}catch{E(),c.value=!1}})}async function E(){const G=await Lt({color:z.value});y.value=G.data.svgCode,$.value.captchaId=G.data.code}return Te(()=>{const G=ke.get("invitedBy");G&&($.value.invitedBy=G),E()}),(G,A)=>(p(),C("div",{class:J(["flex w-full flex-col h-full justify-center",o(g)?"px-5 py-5":"px-10 py-5"])},[!r.value&&!B.value?(p(),W(o(Re),{key:0,ref_key:"formRef",ref:a,model:$.value,rules:j,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:M(()=>[l("div",ls,[l("h2",rs,_(o(h))+" "+_(o(m)("login.registerTitle")),1)]),l("div",os,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[0]||(A[0]=U=>$.value.captchaCode=U),placeholder:o(m)("login.enterCaptcha"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-16"},null,8,cs),[[ie,$.value.captchaCode]]),y.value?(p(),C("div",{key:0,class:"absolute right-1 top-1/2 transform -translate-y-1/2 cursor-pointer bg-transparent rounded-md",style:{height:"100%",top:"55%",transform:"translateY(-50%)"},onClick:E,innerHTML:y.value},null,8,us)):D("",!0)]),l("div",ds,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[1]||(A[1]=U=>$.value.contact=U),placeholder:o(m)("login.enterContact")+P.value,class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,gs),[[ie,$.value.contact]])]),q.value?D("",!0):(p(),C("div",ps,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[2]||(A[2]=U=>$.value.code=U),placeholder:o(m)("login.enterCode"),class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,hs),[[ie,$.value.code]]),q.value?D("",!0):(p(),C("button",{key:0,block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:c.value,loading:c.value,onClick:O},_(o(m)("login.sendVerificationCode")),9,fs))])),l("div",ms,[ae(l("input",{id:"username",type:"password","onUpdate:modelValue":A[3]||(A[3]=U=>$.value.password=U),placeholder:o(m)("login.enterPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,xs),[[ie,$.value.password]])]),l("div",ys,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[4]||(A[4]=U=>$.value.invitedBy=U),placeholder:o(m)("login.optionalInvitationCode"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,vs),[[ie,$.value.invitedBy]])]),l("div",null,[l("button",{onClick:w,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},_(o(m)("login.registerAccount")),1)]),H.value||R.value?(p(),C("p",bs,[V(_(o(m)("login.alreadyHaveAccount"))+" ",1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[5]||(A[5]=U=>r.value=!r.value)},_(o(m)("login.goToLogin")),1)])):D("",!0)]),_:1},8,["model"])):D("",!0),r.value&&!B.value?(p(),W(o(Re),{key:1,size:"large",ref_key:"formRef",ref:a,model:I.value,rules:j,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:M(()=>[l("div",ks,[l("h2",ws,_(o(h))+" 登录 ",1)]),l("div",_s,[l("label",$s,_(P.value),1),l("div",Ss,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[6]||(A[6]=U=>I.value.username=U),placeholder:X.value,class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Cs),[[ie,I.value.username]])])]),l("div",Is,[l("div",zs,[l("label",Ts,_(o(m)("login.password")),1),ae(l("input",{id:"password",type:"password","onUpdate:modelValue":A[7]||(A[7]=U=>I.value.password=U),placeholder:o(m)("login.enterYourPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ls),[[ie,I.value.password]])])]),l("div",Rs,[l("div",Ps,[Ms,l("label",As,_(o(m)("login.rememberAccount")),1)])]),l("div",null,[l("button",{onClick:w,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},_(o(m)("login.loginAccount")),1)]),H.value||R.value?(p(),C("p",Ds,[V(_(o(m)("login.noAccount"))+" ",1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[8]||(A[8]=U=>r.value=!r.value)},_(o(m)("login.register")),1),Q.value?(p(),C("div",Ns,[V(_(o(m)("login.orUse")),1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[9]||(A[9]=U=>n("changeLoginType","wechat"))},_(o(m)("login.scanLogin")),1)])):D("",!0)])):D("",!0)]),_:1},8,["model"])):D("",!0),B.value?(p(),W(o(Re),{key:2,ref_key:"formRef",ref:a,model:$.value,rules:j,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:M(()=>[Bs,l("div",js,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[10]||(A[10]=U=>$.value.captchaCode=U),placeholder:o(m)("login.enterCaptcha"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-16"},null,8,Us),[[ie,$.value.captchaCode]]),y.value?(p(),C("div",{key:0,class:"absolute right-1 top-1/2 transform -translate-y-1/2 cursor-pointer bg-transparent rounded-md",style:{height:"90%",top:"55%",transform:"translateY(-50%)"},onClick:E,innerHTML:y.value},null,8,Es)):D("",!0)]),l("div",qs,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[11]||(A[11]=U=>$.value.contact=U),placeholder:o(m)("login.enterContact")+P.value,class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,Os),[[ie,$.value.contact]]),l("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:c.value,loading:c.value,onClick:O},_(o(m)("login.sendVerificationCode")),9,Hs)]),l("div",Ws,[ae(l("input",{id:"username",type:"text","onUpdate:modelValue":A[12]||(A[12]=U=>$.value.code=U),placeholder:o(m)("login.enterCode"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Qs),[[ie,$.value.code]])]),l("div",null,[l("button",{onClick:w,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 验证码登录 ")]),H.value||R.value?(p(),C("p",Gs,[V(" 继续使用密码登录? "),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:A[13]||(A[13]=U=>B.value=!B.value)},"返回")])):D("",!0)]),_:1},8,["model"])):D("",!0)],2))}}),Zs={class:"sm:mx-auto sm:w-full sm:max-w-sm"},Fs={class:"pt-5 pb-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},Js={key:3,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Xs={key:4,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Ys=ne({__name:"Wechat",emits:["changeLoginType"],setup(u,{emit:s}){const n=N(),e=N(),a=s,i=N(""),r=N(""),c=N(!1),d=re(),y=se(),k=N(),{isMobile:x}=le(),h=f(()=>Number(y.globalConfig.phoneLoginStatus)===1),g=f(()=>Number(y.globalConfig.emailLoginStatus)===1),B=f(()=>{if(g.value&&h.value)return m("login.emailPhone");if(g.value)return m("login.email");if(h.value)return m("login.phone")});function z(R){return new Promise((q,H)=>{const P=new Image;P.onload=()=>q(P),P.onerror=H,P.src=R})}async function $(){const R={invitedBy:ke.get("invitedBy")},q=await Rt(R);q.success&&(r.value=q.data,j())}async function I(){if(!r.value)return;const R=await Pt({sceneStr:r.value});R.data&&(clearInterval(n.value),d.success(m("login.loginSuccess")),y.setToken(R.data),y.getUserInfo(),y.setLoginDialog(!1),ke.remove("invitedBy"))}async function j(){const R=await tt({sceneStr:r.value});R.success&&(c.value=!0,await z(R.data),i.value=R.data,n.value=setInterval(()=>{I()},1e3))}function Q(){var R;$(),(R=k.value)==null||R.reset()}return Te(()=>{Q(),e.value!==null&&clearInterval(e.value),e.value=setInterval(Q,6e4)}),Vt(()=>{n.value!==null&&clearInterval(n.value),e.value!==null&&clearInterval(e.value)}),(R,q)=>(p(),C("div",{class:J(["w-full h-full flex flex-col items-center",o(x)?"px-10 py-10":" py-10"])},[l("div",Zs,[l("h2",Fs,_(o(m)("login.wechatLogin")),1)]),i.value?(p(),W(o(lt),{key:0,"preview-disabled":"",class:"w-[220px] h-[220px] select-none",src:i.value},null,8,["src"])):(p(),W(o(we),{key:1,height:"220px",width:"220px",animated:""})),i.value?D("",!0):(p(),W(o(ze),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})),g.value||h.value?(p(),C("p",Js,[V(_(o(m)("login.wechatScanFailed"))+" ",1),l("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:q[0]||(q[0]=H=>a("changeLoginType","email"))},_(B.value),1)])):(p(),C("p",Xs,_(o(m)("login.useWechatScan")),1))],2))}});const Ks={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},ea={key:0,class:"flex items-center justify-center h-[600px]"},ta={key:1,class:"flex-1 flex flex-col items-center"},na=ne({__name:"Login",props:{visible:{type:Boolean}},setup(u){const s=se();N(!1),N(""),N("");const n=N(null),e=N(!0),a=N("email"),{isMobile:i}=le(),r=f(()=>Number(s.globalConfig.emailLoginStatus)===1),c=f(()=>Number(s.globalConfig.wechatRegisterStatus)===1),d=f(()=>Number(s.globalConfig.phoneLoginStatus)===1),y=f(()=>!c.value&&!d.value&&!r.value);function k(x){x==="wechat"?e.value=!0:(e.value=!1,a.value=x,ct(()=>{var h;(h=n.value)==null||h.syncBarPosition()}))}return(x,h)=>x.visible?(p(),C("div",Ks,[l("div",{class:J(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":o(i),"max-w-xl":!o(i)}])},[S(o(en),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:h[0]||(h[0]=g=>o(s).setLoginDialog(!1))}),y.value?(p(),C("div",ea,[S(o(Ot),{size:"small",status:"403",title:"网站已经关闭注册通道",description:"请联系管理员开通吧"},{footer:M(()=>[S(o(Ne),{size:"small",onClick:h[1]||(h[1]=g=>o(s).setLoginDialog(!1))},{default:M(()=>[V(" 知道了 ")]),_:1})]),_:1})])):(p(),C("div",ta,[c.value&&e.value?(p(),W(Ys,{key:0,onChangeLoginType:k})):(p(),W(Vs,{key:1,onChangeLoginType:k}))]))],2)])):D("",!0)}});function sa(){return nt({url:"/config/notice"})}function ht(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let ye=ht();function aa(u){ye=u}const ft=/[&<>"']/,ia=new RegExp(ft.source,"g"),mt=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,la=new RegExp(mt.source,"g"),ra={"&":"&","<":"<",">":">",'"':""","'":"'"},Ve=u=>ra[u];function te(u,s){if(s){if(ft.test(u))return u.replace(ia,Ve)}else if(mt.test(u))return u.replace(la,Ve);return u}const oa=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function xt(u){return u.replace(oa,(s,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const ca=/(^|[^\[])\^/g;function Z(u,s){u=typeof u=="string"?u:u.source,s=s||"";const n={replace:(e,a)=>(a=a.source||a,a=a.replace(ca,"$1"),u=u.replace(e,a),n),getRegex:()=>new RegExp(u,s)};return n}const ua=/[^\w:]/g,da=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Ze(u,s,n){if(u){let e;try{e=decodeURIComponent(xt(n)).replace(ua,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}s&&!da.test(n)&&(n=fa(s,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const _e={},ga=/^[^:]+:\/*[^/]*$/,pa=/^([^:]+:)[\s\S]*$/,ha=/^([^:]+:\/*[^/]*)[\s\S]*$/;function fa(u,s){_e[" "+u]||(ga.test(u)?_e[" "+u]=u+"/":_e[" "+u]=$e(u,"/",!0)),u=_e[" "+u];const n=u.indexOf(":")===-1;return s.substring(0,2)==="//"?n?s:u.replace(pa,"$1")+s:s.charAt(0)==="/"?n?s:u.replace(ha,"$1")+s:u+s}const Se={exec:function(){}};function Fe(u,s){const n=u.replace(/\|/g,(i,r,c)=>{let d=!1,y=r;for(;--y>=0&&c[y]==="\\";)d=!d;return d?"|":" |"}),e=n.split(/ \|/);let a=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>s)e.splice(s);else for(;e.length1;)s&1&&(n+=u),s>>=1,u+=u;return n+u}function Xe(u,s,n,e){const a=s.href,i=s.title?te(s.title):null,r=u[1].replace(/\\([\[\]])/g,"$1");if(u[0].charAt(0)!=="!"){e.state.inLink=!0;const c={type:"link",raw:n,href:a,title:i,text:r,tokens:e.inlineTokens(r)};return e.state.inLink=!1,c}return{type:"image",raw:n,href:a,title:i,text:te(r)}}function ya(u,s){const n=u.match(/^(\s+)(?:```)/);if(n===null)return s;const e=n[1];return s.split(` -`).map(a=>{const i=a.match(/^\s+/);if(i===null)return a;const[r]=i;return r.length>=e.length?a.slice(e.length):a}).join(` -`)}class je{constructor(s){this.options=s||ye}space(s){const n=this.rules.block.newline.exec(s);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(s){const n=this.rules.block.code.exec(s);if(n){const e=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:$e(e,` -`)}}}fences(s){const n=this.rules.block.fences.exec(s);if(n){const e=n[0],a=ya(e,n[3]||"");return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:a}}}heading(s){const n=this.rules.block.heading.exec(s);if(n){let e=n[2].trim();if(/#$/.test(e)){const a=$e(e,"#");(this.options.pedantic||!a||/ $/.test(a))&&(e=a.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(s){const n=this.rules.block.hr.exec(s);if(n)return{type:"hr",raw:n[0]}}blockquote(s){const n=this.rules.block.blockquote.exec(s);if(n){const e=n[0].replace(/^ *>[ \t]?/gm,""),a=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(e);return this.lexer.state.top=a,{type:"blockquote",raw:n[0],tokens:i,text:e}}}list(s){let n=this.rules.block.list.exec(s);if(n){let e,a,i,r,c,d,y,k,x,h,g,B,z=n[1].trim();const $=z.length>1,I={type:"list",raw:"",ordered:$,start:$?+z.slice(0,-1):"",loose:!1,items:[]};z=$?`\\d{1,9}\\${z.slice(-1)}`:`\\${z}`,this.options.pedantic&&(z=$?z:"[*+-]");const j=new RegExp(`^( {0,3}${z})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;s&&(B=!1,!(!(n=j.exec(s))||this.rules.block.hr.test(s)));){if(e=n[0],s=s.substring(e.length),k=n[2].split(` -`,1)[0].replace(/^\t+/,R=>" ".repeat(3*R.length)),x=s.split(` -`,1)[0],this.options.pedantic?(r=2,g=k.trimLeft()):(r=n[2].search(/[^ ]/),r=r>4?1:r,g=k.slice(r),r+=n[1].length),d=!1,!k&&/^ *$/.test(x)&&(e+=x+` -`,s=s.substring(x.length+1),B=!0),!B){const R=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),q=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),H=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),P=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;s&&(h=s.split(` -`,1)[0],x=h,this.options.pedantic&&(x=x.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(H.test(x)||P.test(x)||R.test(x)||q.test(s)));){if(x.search(/[^ ]/)>=r||!x.trim())g+=` -`+x.slice(r);else{if(d||k.search(/[^ ]/)>=4||H.test(k)||P.test(k)||q.test(k))break;g+=` -`+x}!d&&!x.trim()&&(d=!0),e+=h+` -`,s=s.substring(h.length+1),k=x.slice(r)}}I.loose||(y?I.loose=!0:/\n *\n *$/.test(e)&&(y=!0)),this.options.gfm&&(a=/^\[[ xX]\] /.exec(g),a&&(i=a[0]!=="[ ] ",g=g.replace(/^\[[ xX]\] +/,""))),I.items.push({type:"list_item",raw:e,task:!!a,checked:i,loose:!1,text:g}),I.raw+=e}I.items[I.items.length-1].raw=e.trimRight(),I.items[I.items.length-1].text=g.trimRight(),I.raw=I.raw.trimRight();const Q=I.items.length;for(c=0;cH.type==="space"),q=R.length>0&&R.some(H=>/\n.*\n/.test(H.raw));I.loose=q}if(I.loose)for(c=0;c$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:e,raw:n[0],href:a,title:i}}}table(s){const n=this.rules.block.table.exec(s);if(n){const e={type:"table",header:Fe(n[1]).map(a=>({text:a})),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` -`):[]};if(e.header.length===e.align.length){e.raw=n[0];let a=e.align.length,i,r,c,d;for(i=0;i({text:y}));for(a=e.header.length,r=0;r/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):te(n[0]):n[0]}}link(s){const n=this.rules.inline.link.exec(s);if(n){const e=n[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;const r=$e(e.slice(0,-1),"\\");if((e.length-r.length)%2===0)return}else{const r=ma(n[2],"()");if(r>-1){const d=(n[0].indexOf("!")===0?5:4)+n[1].length+r;n[2]=n[2].substring(0,r),n[0]=n[0].substring(0,d).trim(),n[3]=""}}let a=n[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);r&&(a=r[1],i=r[3])}else i=n[3]?n[3].slice(1,-1):"";return a=a.trim(),/^$/.test(e)?a=a.slice(1):a=a.slice(1,-1)),Xe(n,{href:a&&a.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(s,n){let e;if((e=this.rules.inline.reflink.exec(s))||(e=this.rules.inline.nolink.exec(s))){let a=(e[2]||e[1]).replace(/\s+/g," ");if(a=n[a.toLowerCase()],!a){const i=e[0].charAt(0);return{type:"text",raw:i,text:i}}return Xe(e,a,e[0],this.lexer)}}emStrong(s,n,e=""){let a=this.rules.inline.emStrong.lDelim.exec(s);if(!a||a[3]&&e.match(/[\p{L}\p{N}]/u))return;const i=a[1]||a[2]||"";if(!i||i&&(e===""||this.rules.inline.punctuation.exec(e))){const r=a[0].length-1;let c,d,y=r,k=0;const x=a[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(x.lastIndex=0,n=n.slice(-1*s.length+r);(a=x.exec(n))!=null;){if(c=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!c)continue;if(d=c.length,a[3]||a[4]){y+=d;continue}else if((a[5]||a[6])&&r%3&&!((r+d)%3)){k+=d;continue}if(y-=d,y>0)continue;d=Math.min(d,d+y+k);const h=s.slice(0,r+a.index+(a[0].length-c.length)+d);if(Math.min(r,d)%2){const B=h.slice(1,-1);return{type:"em",raw:h,text:B,tokens:this.lexer.inlineTokens(B)}}const g=h.slice(2,-2);return{type:"strong",raw:h,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(s){const n=this.rules.inline.code.exec(s);if(n){let e=n[2].replace(/\n/g," ");const a=/[^ ]/.test(e),i=/^ /.test(e)&&/ $/.test(e);return a&&i&&(e=e.substring(1,e.length-1)),e=te(e,!0),{type:"codespan",raw:n[0],text:e}}}br(s){const n=this.rules.inline.br.exec(s);if(n)return{type:"br",raw:n[0]}}del(s){const n=this.rules.inline.del.exec(s);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(s,n){const e=this.rules.inline.autolink.exec(s);if(e){let a,i;return e[2]==="@"?(a=te(this.options.mangle?n(e[1]):e[1]),i="mailto:"+a):(a=te(e[1]),i=a),{type:"link",raw:e[0],text:a,href:i,tokens:[{type:"text",raw:a,text:a}]}}}url(s,n){let e;if(e=this.rules.inline.url.exec(s)){let a,i;if(e[2]==="@")a=te(this.options.mangle?n(e[0]):e[0]),i="mailto:"+a;else{let r;do r=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])[0];while(r!==e[0]);a=te(e[0]),e[1]==="www."?i="http://"+e[0]:i=e[0]}return{type:"link",raw:e[0],text:a,href:i,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(s,n){const e=this.rules.inline.text.exec(s);if(e){let a;return this.lexer.state.inRawBlock?a=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):te(e[0]):e[0]:a=te(this.options.smartypants?n(e[0]):e[0]),{type:"text",raw:e[0],text:a}}}}const T={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Se,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};T._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;T._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;T.def=Z(T.def).replace("label",T._label).replace("title",T._title).getRegex();T.bullet=/(?:[*+-]|\d{1,9}[.)])/;T.listItemStart=Z(/^( *)(bull) */).replace("bull",T.bullet).getRegex();T.list=Z(T.list).replace(/bull/g,T.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+T.def.source+")").getRegex();T._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";T._comment=/|$)/;T.html=Z(T.html,"i").replace("comment",T._comment).replace("tag",T._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();T.paragraph=Z(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex();T.blockquote=Z(T.blockquote).replace("paragraph",T.paragraph).getRegex();T.normal={...T};T.gfm={...T.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};T.gfm.table=Z(T.gfm.table).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex();T.gfm.paragraph=Z(T._paragraph).replace("hr",T.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",T.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",T._tag).getRegex();T.pedantic={...T.normal,html:Z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",T._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Se,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Z(T.normal._paragraph).replace("hr",T.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",T.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const b={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Se,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Se,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";b.punctuation=Z(b.punctuation).replace(/punctuation/g,b._punctuation).getRegex();b.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;b.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;b._comment=Z(T._comment).replace("(?:-->|$)","-->").getRegex();b.emStrong.lDelim=Z(b.emStrong.lDelim).replace(/punct/g,b._punctuation).getRegex();b.emStrong.rDelimAst=Z(b.emStrong.rDelimAst,"g").replace(/punct/g,b._punctuation).getRegex();b.emStrong.rDelimUnd=Z(b.emStrong.rDelimUnd,"g").replace(/punct/g,b._punctuation).getRegex();b._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;b._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;b._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;b.autolink=Z(b.autolink).replace("scheme",b._scheme).replace("email",b._email).getRegex();b._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;b.tag=Z(b.tag).replace("comment",b._comment).replace("attribute",b._attribute).getRegex();b._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;b._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;b._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;b.link=Z(b.link).replace("label",b._label).replace("href",b._href).replace("title",b._title).getRegex();b.reflink=Z(b.reflink).replace("label",b._label).replace("ref",T._label).getRegex();b.nolink=Z(b.nolink).replace("ref",T._label).getRegex();b.reflinkSearch=Z(b.reflinkSearch,"g").replace("reflink",b.reflink).replace("nolink",b.nolink).getRegex();b.normal={...b};b.pedantic={...b.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Z(/^!?\[(label)\]\((.*?)\)/).replace("label",b._label).getRegex(),reflink:Z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",b._label).getRegex()};b.gfm={...b.normal,escape:Z(b.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(e="x"+e.toString(16)),s+="&#"+e+";";return s}class ue{constructor(s){this.tokens=[],this.tokens.links=Object.create(null),this.options=s||ye,this.options.tokenizer=this.options.tokenizer||new je,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:T.normal,inline:b.normal};this.options.pedantic?(n.block=T.pedantic,n.inline=b.pedantic):this.options.gfm&&(n.block=T.gfm,this.options.breaks?n.inline=b.breaks:n.inline=b.gfm),this.tokenizer.rules=n}static get rules(){return{block:T,inline:b}}static lex(s,n){return new ue(n).lex(s)}static lexInline(s,n){return new ue(n).inlineTokens(s)}lex(s){s=s.replace(/\r\n|\r/g,` -`),this.blockTokens(s,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(s,n=[]){this.options.pedantic?s=s.replace(/\t/g," ").replace(/^ +$/gm,""):s=s.replace(/^( *)(\t+)/gm,(c,d,y)=>d+" ".repeat(y.length));let e,a,i,r;for(;s;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(c=>(e=c.call({lexer:this},s,n))?(s=s.substring(e.raw.length),n.push(e),!0):!1))){if(e=this.tokenizer.space(s)){s=s.substring(e.raw.length),e.raw.length===1&&n.length>0?n[n.length-1].raw+=` -`:n.push(e);continue}if(e=this.tokenizer.code(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=` -`+e.raw,a.text+=` -`+e.text,this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(e);continue}if(e=this.tokenizer.fences(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.heading(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.hr(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.blockquote(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.list(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.html(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.def(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&(a.type==="paragraph"||a.type==="text")?(a.raw+=` -`+e.raw,a.text+=` -`+e.raw,this.inlineQueue[this.inlineQueue.length-1].src=a.text):this.tokens.links[e.tag]||(this.tokens.links[e.tag]={href:e.href,title:e.title});continue}if(e=this.tokenizer.table(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.lheading(s)){s=s.substring(e.raw.length),n.push(e);continue}if(i=s,this.options.extensions&&this.options.extensions.startBlock){let c=1/0;const d=s.slice(1);let y;this.options.extensions.startBlock.forEach(function(k){y=k.call({lexer:this},d),typeof y=="number"&&y>=0&&(c=Math.min(c,y))}),c<1/0&&c>=0&&(i=s.substring(0,c+1))}if(this.state.top&&(e=this.tokenizer.paragraph(i))){a=n[n.length-1],r&&a.type==="paragraph"?(a.raw+=` -`+e.raw,a.text+=` -`+e.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(e),r=i.length!==s.length,s=s.substring(e.raw.length);continue}if(e=this.tokenizer.text(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&a.type==="text"?(a.raw+=` -`+e.raw,a.text+=` -`+e.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=a.text):n.push(e);continue}if(s){const c="Infinite loop on byte: "+s.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,n}inline(s,n=[]){return this.inlineQueue.push({src:s,tokens:n}),n}inlineTokens(s,n=[]){let e,a,i,r=s,c,d,y;if(this.tokens.links){const k=Object.keys(this.tokens.links);if(k.length>0)for(;(c=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)k.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,c.index)+"["+Je("a",c[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(c=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,c.index)+"["+Je("a",c[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(c=this.tokenizer.rules.inline.escapedEmSt.exec(r))!=null;)r=r.slice(0,c.index+c[0].length-2)+"++"+r.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;s;)if(d||(y=""),d=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(k=>(e=k.call({lexer:this},s,n))?(s=s.substring(e.raw.length),n.push(e),!0):!1))){if(e=this.tokenizer.escape(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.tag(s)){s=s.substring(e.raw.length),a=n[n.length-1],a&&e.type==="text"&&a.type==="text"?(a.raw+=e.raw,a.text+=e.text):n.push(e);continue}if(e=this.tokenizer.link(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.reflink(s,this.tokens.links)){s=s.substring(e.raw.length),a=n[n.length-1],a&&e.type==="text"&&a.type==="text"?(a.raw+=e.raw,a.text+=e.text):n.push(e);continue}if(e=this.tokenizer.emStrong(s,r,y)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.codespan(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.br(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.del(s)){s=s.substring(e.raw.length),n.push(e);continue}if(e=this.tokenizer.autolink(s,Ye)){s=s.substring(e.raw.length),n.push(e);continue}if(!this.state.inLink&&(e=this.tokenizer.url(s,Ye))){s=s.substring(e.raw.length),n.push(e);continue}if(i=s,this.options.extensions&&this.options.extensions.startInline){let k=1/0;const x=s.slice(1);let h;this.options.extensions.startInline.forEach(function(g){h=g.call({lexer:this},x),typeof h=="number"&&h>=0&&(k=Math.min(k,h))}),k<1/0&&k>=0&&(i=s.substring(0,k+1))}if(e=this.tokenizer.inlineText(i,va)){s=s.substring(e.raw.length),e.raw.slice(-1)!=="_"&&(y=e.raw.slice(-1)),d=!0,a=n[n.length-1],a&&a.type==="text"?(a.raw+=e.raw,a.text+=e.text):n.push(e);continue}if(s){const k="Infinite loop on byte: "+s.charCodeAt(0);if(this.options.silent){console.error(k);break}else throw new Error(k)}}return n}}class Ue{constructor(s){this.options=s||ye}code(s,n,e){const a=(n||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(s,a);i!=null&&i!==s&&(e=!0,s=i)}return s=s.replace(/\n$/,"")+` -`,a?'
    '+(e?s:te(s,!0))+`
    -`:"
    "+(e?s:te(s,!0))+`
    -`}blockquote(s){return`
    -${s}
    -`}html(s){return s}heading(s,n,e,a){if(this.options.headerIds){const i=this.options.headerPrefix+a.slug(e);return`${s} -`}return`${s} -`}hr(){return this.options.xhtml?`
    -`:`
    -`}list(s,n,e){const a=n?"ol":"ul",i=n&&e!==1?' start="'+e+'"':"";return"<"+a+i+`> -`+s+" -`}listitem(s){return`
  • ${s}
  • -`}checkbox(s){return" "}paragraph(s){return`

    ${s}

    -`}table(s,n){return n&&(n=`${n}`),` - -`+s+` -`+n+`
    -`}tablerow(s){return` -${s} -`}tablecell(s,n){const e=n.header?"th":"td";return(n.align?`<${e} align="${n.align}">`:`<${e}>`)+s+` -`}strong(s){return`${s}`}em(s){return`${s}`}codespan(s){return`${s}`}br(){return this.options.xhtml?"
    ":"
    "}del(s){return`${s}`}link(s,n,e){if(s=Ze(this.options.sanitize,this.options.baseUrl,s),s===null)return e;let a='",a}image(s,n,e){if(s=Ze(this.options.sanitize,this.options.baseUrl,s),s===null)return e;let a=`${e}":">",a}text(s){return s}}class yt{strong(s){return s}em(s){return s}codespan(s){return s}del(s){return s}html(s){return s}text(s){return s}link(s,n,e){return""+e}image(s,n,e){return""+e}br(){return""}}class vt{constructor(){this.seen={}}serialize(s){return s.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(s,n){let e=s,a=0;if(this.seen.hasOwnProperty(e)){a=this.seen[s];do a++,e=s+"-"+a;while(this.seen.hasOwnProperty(e))}return n||(this.seen[s]=a,this.seen[e]=0),e}slug(s,n={}){const e=this.serialize(s);return this.getNextSafeSlug(e,n.dryrun)}}class de{constructor(s){this.options=s||ye,this.options.renderer=this.options.renderer||new Ue,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new yt,this.slugger=new vt}static parse(s,n){return new de(n).parse(s)}static parseInline(s,n){return new de(n).parseInline(s)}parse(s,n=!0){let e="",a,i,r,c,d,y,k,x,h,g,B,z,$,I,j,Q,R,q,H;const P=s.length;for(a=0;a0&&j.tokens[0].type==="paragraph"?(j.tokens[0].text=q+" "+j.tokens[0].text,j.tokens[0].tokens&&j.tokens[0].tokens.length>0&&j.tokens[0].tokens[0].type==="text"&&(j.tokens[0].tokens[0].text=q+" "+j.tokens[0].tokens[0].text)):j.tokens.unshift({type:"text",text:q}):I+=q),I+=this.parse(j.tokens,$),h+=this.renderer.listitem(I,R,Q);e+=this.renderer.list(h,B,z);continue}case"html":{e+=this.renderer.html(g.text);continue}case"paragraph":{e+=this.renderer.paragraph(this.parseInline(g.tokens));continue}case"text":{for(h=g.tokens?this.parseInline(g.tokens):g.text;a+1{if(e.message+=` -Please report this to https://github.com/markedjs/marked.`,u){const a="

    An error occurred:

    "+te(e.message+"",!0)+"
    ";if(s)return Promise.resolve(a);if(n){n(null,a);return}return a}if(s)return Promise.reject(e);if(n){n(e);return}throw e}}function bt(u,s){return(n,e,a)=>{typeof e=="function"&&(a=e,e=null);const i={...e};e={...L.defaults,...i};const r=ba(e.silent,e.async,a);if(typeof n>"u"||n===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(xa(e),e.hooks&&(e.hooks.options=e),a){const c=e.highlight;let d;try{e.hooks&&(n=e.hooks.preprocess(n)),d=u(n,e)}catch(x){return r(x)}const y=function(x){let h;if(!x)try{e.walkTokens&&L.walkTokens(d,e.walkTokens),h=s(d,e),e.hooks&&(h=e.hooks.postprocess(h))}catch(g){x=g}return e.highlight=c,x?r(x):a(null,h)};if(!c||c.length<3||(delete e.highlight,!d.length))return y();let k=0;L.walkTokens(d,function(x){x.type==="code"&&(k++,setTimeout(()=>{c(x.text,x.lang,function(h,g){if(h)return y(h);g!=null&&g!==x.text&&(x.text=g,x.escaped=!0),k--,k===0&&y()})},0))}),k===0&&y();return}if(e.async)return Promise.resolve(e.hooks?e.hooks.preprocess(n):n).then(c=>u(c,e)).then(c=>e.walkTokens?Promise.all(L.walkTokens(c,e.walkTokens)).then(()=>c):c).then(c=>s(c,e)).then(c=>e.hooks?e.hooks.postprocess(c):c).catch(r);try{e.hooks&&(n=e.hooks.preprocess(n));const c=u(n,e);e.walkTokens&&L.walkTokens(c,e.walkTokens);let d=s(c,e);return e.hooks&&(d=e.hooks.postprocess(d)),d}catch(c){return r(c)}}}function L(u,s,n){return bt(ue.lex,de.parse)(u,s,n)}L.options=L.setOptions=function(u){return L.defaults={...L.defaults,...u},aa(L.defaults),L};L.getDefaults=ht;L.defaults=ye;L.use=function(...u){const s=L.defaults.extensions||{renderers:{},childTokens:{}};u.forEach(n=>{const e={...n};if(e.async=L.defaults.async||e.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if(a.renderer){const i=s.renderers[a.name];i?s.renderers[a.name]=function(...r){let c=a.renderer.apply(this,r);return c===!1&&(c=i.apply(this,r)),c}:s.renderers[a.name]=a.renderer}if(a.tokenizer){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");s[a.level]?s[a.level].unshift(a.tokenizer):s[a.level]=[a.tokenizer],a.start&&(a.level==="block"?s.startBlock?s.startBlock.push(a.start):s.startBlock=[a.start]:a.level==="inline"&&(s.startInline?s.startInline.push(a.start):s.startInline=[a.start]))}a.childTokens&&(s.childTokens[a.name]=a.childTokens)}),e.extensions=s),n.renderer){const a=L.defaults.renderer||new Ue;for(const i in n.renderer){const r=a[i];a[i]=(...c)=>{let d=n.renderer[i].apply(a,c);return d===!1&&(d=r.apply(a,c)),d}}e.renderer=a}if(n.tokenizer){const a=L.defaults.tokenizer||new je;for(const i in n.tokenizer){const r=a[i];a[i]=(...c)=>{let d=n.tokenizer[i].apply(a,c);return d===!1&&(d=r.apply(a,c)),d}}e.tokenizer=a}if(n.hooks){const a=L.defaults.hooks||new Ce;for(const i in n.hooks){const r=a[i];Ce.passThroughHooks.has(i)?a[i]=c=>{if(L.defaults.async)return Promise.resolve(n.hooks[i].call(a,c)).then(y=>r.call(a,y));const d=n.hooks[i].call(a,c);return r.call(a,d)}:a[i]=(...c)=>{let d=n.hooks[i].apply(a,c);return d===!1&&(d=r.apply(a,c)),d}}e.hooks=a}if(n.walkTokens){const a=L.defaults.walkTokens;e.walkTokens=function(i){let r=[];return r.push(n.walkTokens.call(this,i)),a&&(r=r.concat(a.call(this,i))),r}}L.setOptions(e)})};L.walkTokens=function(u,s){let n=[];for(const e of u)switch(n=n.concat(s.call(L,e)),e.type){case"table":{for(const a of e.header)n=n.concat(L.walkTokens(a.tokens,s));for(const a of e.rows)for(const i of a)n=n.concat(L.walkTokens(i.tokens,s));break}case"list":{n=n.concat(L.walkTokens(e.items,s));break}default:L.defaults.extensions&&L.defaults.extensions.childTokens&&L.defaults.extensions.childTokens[e.type]?L.defaults.extensions.childTokens[e.type].forEach(function(a){n=n.concat(L.walkTokens(e[a],s))}):e.tokens&&(n=n.concat(L.walkTokens(e.tokens,s)))}return n};L.parseInline=bt(ue.lexInline,de.parseInline);L.Parser=de;L.parser=de.parse;L.Renderer=Ue;L.TextRenderer=yt;L.Lexer=ue;L.lexer=ue.lex;L.Tokenizer=je;L.Slugger=vt;L.Hooks=Ce;L.parse=L;L.options;L.setOptions;L.use;L.walkTokens;L.parseInline;de.parse;ue.lex;const ka={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},wa={class:"bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] overflow-y-auto"},_a={class:"flex justify-between items-center mb-4"},$a={key:0,class:"w-1/3 bg-gray-300 dark:bg-gray-700 h-6 rounded"},Sa={key:1,class:"text-xl"},Ca=l("span",{class:"sr-only"},"Close",-1),Ia=l("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),za=[Ca,Ia],Ta={key:0,class:"space-y-2"},La=["innerHTML"],Ra={class:"flex justify-end mt-4"},Pa=ne({__name:"NoticeDialog",props:{visible:{type:Boolean}},setup(u){const s=u,n=N({noticeInfo:"",noticeTitle:""}),e=Ie(),a=xe(),i=N(!0);f(()=>e.theme==="dark"),le(),f(()=>e.theme);const r=f(()=>n.value.noticeInfo?L(n.value.noticeInfo):"");function c(){a.updateNoticeDialog(!1)}async function d(){const x=await sa(),{success:h,data:g}=x;h&&(n.value=g)}async function y(){i.value=!0,await d(),i.value=!1}function k(){a.updateNoticeDialog(!1),ke.set("showNotice",Date.now()+24*60*60*1e3)}return Le(()=>s.visible,x=>{x&&y()}),(x,h)=>s.visible?(p(),C("div",ka,[l("div",wa,[l("div",_a,[i.value?(p(),C("div",$a)):(p(),C("span",Sa,_(n.value.noticeTitle),1)),l("button",{onClick:c,class:"text-gray-500 hover:text-gray-700"},za)]),i.value?(p(),C("div",Ta,[(p(),C(ce,null,me(10,g=>l("div",{key:g,class:"bg-gray-300 dark:bg-gray-700 h-4 rounded"})),64))])):(p(),C("div",{key:1,class:"text-gray-950 dark:text-gray-400",innerHTML:r.value},null,8,La)),l("div",Ra,[l("button",{onClick:k,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500"},[l("span",null,_(o(m)("notice.doNotRemind24h")),1)])])])])):D("",!0)}}),Ke=""+new URL("alipay-eab94eb8.png",import.meta.url).href,et=""+new URL("wxpay-2d8f84af.png",import.meta.url).href,Ma={class:"p-4 bg-white rounded dark:bg-slate-800"},Aa={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Da={class:"ml-[8px]"},Na={class:"p-4"},Ba={class:"whitespace-nowrap font-bold"},ja={class:"text-xl text-[red] font-bold"},Ua={class:"mt-2 flex"},Ea={class:"whitespace-nowrap font-bold"},qa={class:"ml-2"},Oa={class:"mt-2 flex"},Ha={class:"whitespace-nowrap font-bold"},Wa={class:"ml-2"},Qa={class:"flex items-center justify-center my-3 relative"},Ga=["src"],Va=["src"],Za={class:"mb-10 mt-5 text-base"},Fa=["src"],Ja=["src"],Xa={key:0,class:"flex items-center justify-center text-lg"},Ya={class:"w-[60px] inline-block text-[red] text-left"},Ka={class:"flex items-center"},ei=["src"],ti=1e3,ni=ne({__name:"PayDialog",props:{visible:{type:Boolean}},setup(u){const{isMobile:s}=le(),n=se(),e=Mt(),a=re(),i=N(!0),r=N("wxpay"),c=f(()=>{var E;const w=window.navigator.userAgent.toLowerCase();return w.match(/MicroMessenger/i)&&((E=w==null?void 0:w.match(/MicroMessenger/i))==null?void 0:E[0])==="micromessenger"}),d=f(()=>{const{payHupiStatus:w,payEpayStatus:E,payMpayStatus:G,payWechatStatus:A,payLtzfStatus:U}=n.globalConfig;return Number(A)===1?"wechat":Number(E)===1?"epay":Number(G)===1?"mpay":Number(w)===1?"hupi":Number(U)===1?"ltzf":null}),y=f(()=>{const{payEpayChannel:w,payMpayChannel:E}=n.globalConfig;return d.value==="mpay"?E?JSON.parse(E):[]:d.value==="epay"?w?JSON.parse(w):[]:d.value==="wechat"?["wxpay"]:d.value==="hupi"?["wxpay"]:d.value==="ltzf"?["wxpay"]:[]}),k=f(()=>r.value==="wxpay"?m("pay.wechat"):m("pay.alipay")),x=N(),h=f(()=>{const{payEpayApiPayUrl:w}=n.globalConfig;return d.value==="epay"&&w.includes("submit")||d.value==="mpay"});Le(r,()=>{var w;P(),(w=x.value)==null||w.reset()});const g=N("");let B;const z=f(()=>[{label:m("pay.wechatPay"),value:"wxpay",icon:et,payChannel:"wxpay"},{label:m("pay.alipayPay"),value:"alipay",icon:Ke,payChannel:"alipay"}].filter(w=>y.value.includes(w.payChannel))),$=async()=>{if(!g.value)return;const w=await Kt({orderId:g.value}),{success:E,data:G}=w;if(E){const{status:A}=G;A===1&&(clearInterval(B),a.success(m("pay.paymentSuccess")),i.value=!1,n.getUserInfo(),setTimeout(()=>{e.updatePayDialog(!1)},2e3))}},I=f(()=>e==null?void 0:e.orderInfo),j=N(""),Q=N(!0),R=N(!0),q=N("");function H(){e.updateOrderInfo({}),clearInterval(B)}async function P(){!h.value&&(Q.value=!0),h.value&&(R.value=!0);let w=null;w=r.value,d.value==="wechat"&&(w=c.value?"jsapi":"native");try{const E=await dt({goodsId:I.value.pkgInfo.id,payType:w}),{data:G,success:A,message:U}=E;if(!A)return a.error(U);const{url_qrcode:ee,orderId:oe,redirectUrl:ge}=G;q.value=ge,g.value=oe,j.value=ee,Q.value=!1,R.value=!1}catch{e.updatePayDialog(!1),Q.value=!1,R.value=!1}}function X(){window.open(q.value)}async function v(){await P(),B=setInterval(()=>{$()},ti)}function O(){a.error(m("pay.paymentTimeout")),clearInterval(B),e.updatePayDialog(!1)}return(w,E)=>(p(),W(o(De),{show:w.visible,style:{width:"90%","max-width":"750px"},"on-after-enter":v,"on-after-leave":H},{default:M(()=>{var G,A,U;return[l("div",Ma,[l("div",{class:"flex justify-between",onClick:E[0]||(E[0]=ee=>o(e).updatePayDialog(!1))},[l("div",Aa,[S(o(ve),{size:"25",color:"#0e7a0d"},{default:M(()=>[S(o(pt))]),_:1}),l("span",Da,_(o(m)("pay.productPayment")),1)]),S(o(ve),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:M(()=>[S(o(Ae))]),_:1})]),l("div",Na,[l("div",null,[l("span",Ba,_(o(m)("pay.amountDue")),1),l("i",ja,_(`¥${(G=I.value.pkgInfo)==null?void 0:G.price}`),1)]),l("div",Ua,[l("span",Ea,_(o(m)("pay.packageName")),1),l("span",qa,_((A=I.value.pkgInfo)==null?void 0:A.name),1)]),l("div",Oa,[l("span",Ha,_(o(m)("pay.packageDescription")),1),l("span",Wa,_((U=I.value.pkgInfo)==null?void 0:U.des),1)]),l("div",{class:J(["flex justify-center",[o(s)?"flex-col":"flex-row",h.value?"flex-row-reverse":""]])},[l("div",null,[l("div",Qa,[Q.value&&!h.value?(p(),W(o(ze),{key:0,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})):D("",!0),Q.value?(p(),W(o(we),{key:1,width:240,height:240,sharp:!1,size:"medium"})):D("",!0),d.value==="epay"&&!Q.value&&!R.value&&!h.value?(p(),W(qe,{key:2,value:j.value,size:240},null,8,["value"])):D("",!0),r.value==="wxpay"&&!Q.value&&!h.value?(p(),C("img",{key:3,src:o(et),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,Ga)):D("",!0),r.value==="alipay"&&!Q.value&&!h.value?(p(),C("img",{key:4,src:o(Ke),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,Va)):D("",!0),d.value==="wechat"&&!Q.value?(p(),W(qe,{key:5,value:j.value,size:240},null,8,["value"])):D("",!0),h.value?(p(),C("div",{key:6,class:J(["flex flex-col",[h.value&&o(s)?"ml-0":"ml-20"]])},[l("span",Za,_(o(m)("pay.siteAdminEnabledRedirect")),1),h.value?(p(),W(o(Ne),{key:0,type:"primary",ghost:"",disabled:R.value,loading:R.value,onClick:X},{default:M(()=>[V(_(o(m)("pay.clickToPay")),1)]),_:1},8,["disabled","loading"])):D("",!0)],2)):D("",!0),d.value==="hupi"&&!R.value?(p(),C("iframe",{key:7,class:"w-[280px] h-[280px] scale-90",src:j.value,frameborder:"0"},null,8,Fa)):D("",!0),d.value==="ltzf"&&!R.value?(p(),C("img",{key:8,src:j.value,class:"w-[280px] h-[280px] scale-90",alt:"QRCode"},null,8,Ja)):D("",!0)]),h.value?D("",!0):(p(),C("span",Xa,_(o(m)("pay.open"))+" "+_(k.value)+" "+_(o(m)("pay.scanToPay")),1))]),l("div",{class:J(["flex flex-col",[o(s)?"w-full ":" ml-10 w-[200] "]])},[l("div",{style:{"white-space":"nowrap"},class:J(["mt-6 w-full text-center font-bold text-sm",[o(s)?"mb-2":"mb-10"]])},[V(_(o(m)("pay.completePaymentWithin"))+" ",1),l("span",Ya,[S(o(it),{ref_key:"countdownRef",ref:x,active:i.value,duration:300*1e3,"on-finish":O},null,8,["active"])]),V(" "+_(o(m)("pay.timeToCompletePayment")),1)],2),S(o(Wt),{value:r.value,"onUpdate:value":E[1]||(E[1]=ee=>r.value=ee),name:"radiogroup",class:"flex"},{default:M(()=>[S(o(ot),{vertical:!o(s),justify:"center",size:o(s)?10:35,class:"w-full"},{default:M(()=>[(p(!0),C(ce,null,me(z.value,ee=>(p(),W(o(Ht),{key:ee.value,value:ee.value},{default:M(()=>[l("div",Ka,[l("img",{class:"h-4 object-contain mr-2",src:ee.icon,alt:""},null,8,ei),V(" "+_(ee.label),1)])]),_:2},1032,["value"]))),128))]),_:1},8,["vertical","size"])]),_:1},8,["value"])],2)],2)])])]}),_:1},8,["show"]))}});function si(){return At({url:"/signin/sign"})}function ai(){return nt({url:"/signin/signinLog"})}const ii={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},li={class:"bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg w-full max-w-xl max-h-[80vh] overflow-y-auto"},ri={class:"flex justify-between items-center mb-4"},oi={class:"text-base"},ci={class:"text-[red]"},ui=l("span",{class:"sr-only"},"Close",-1),di=l("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),gi=[ui,di],pi={class:"bg-gray-50 mb-5 p-2 rounded-md border border-gray-200 dark:border-gray-700 dark:bg-gray-700"},hi={key:0},fi={class:"mx-2 text-primary-500"},mi={key:1},xi={class:"mx-2 text-primary-500"},yi={key:2},vi={class:"mx-2 text-primary-500"},bi=l("div",{class:"mt-10 grid grid-cols-7 text-center text-xs leading-6 text-gray-500 dark:text-gray-400"},[l("div",null,"M"),l("div",null,"T"),l("div",null,"W"),l("div",null,"T"),l("div",null,"F"),l("div",null,"S"),l("div",null,"S")],-1),ki={class:"mt-2 grid grid-cols-7 text-sm"},wi=["datetime"],_i={class:"flex mt-3 w-full"},$i=["disabled"],Si=ne({__name:"SignInDialog",props:{visible:{type:Boolean}},setup(u){const s=u,n=se(),e=xe(),a=N(!1);le();const i=N([]),r=re(),c=N(!1),d=new Date().toISOString().split("T")[0],y=f(()=>i.value.map(v=>{var O;return{...v,day:(O=v.signInDate.split("-").pop())==null?void 0:O.replace(/^0/,""),isToday:v.signInDate===d}})),k=f(()=>n.globalConfig.model3Name||t("pay.baseModelQuota")),x=f(()=>n.globalConfig.model4Name)||t("pay.advancedModelQuota"),h=f(()=>n.globalConfig.drawMjName)||t("pay.MJDrawingQuota"),g=f(()=>Number(n.globalConfig.isHideModel3Point)===1),B=f(()=>Number(n.globalConfig.isHideModel4Point)===1),z=f(()=>Number(n.globalConfig.isHideDrawMjPoint)===1);function $(){e.updateSignInDialog(!1)}const I=f(()=>n.userInfo.consecutiveDays),j=f(()=>{var v;return Number((v=n.globalConfig)==null?void 0:v.signInModel3Count)||0}),Q=f(()=>{var v;return Number((v=n.globalConfig)==null?void 0:v.signInModel4Count)||0}),R=f(()=>{var v;return Number((v=n.globalConfig)==null?void 0:v.signInMjDrawToken)||0}),q=f(()=>i.value.some(v=>v.signInDate===d&&v.isSigned));async function H(){try{a.value=!0;const v=await ai();console.log("fetchSignLogAPI response:",v),v.success&&(i.value=v.data||[],console.log("signInData:",i.value)),a.value=!1}catch(v){a.value=!1,console.error("Error fetching sign-in log:",v)}}async function P(){try{c.value=!0;const v=await si();console.log("fetchSignInAPI response:",v),v.success&&(r.success("签到成功!"),await H(),n.getUserInfo()),c.value=!1}catch(v){c.value=!1,console.error("Error during sign-in:",v)}}async function X(){a.value=!0,await H(),a.value=!1}return Le(()=>s.visible,v=>{v&&X()}),(v,O)=>s.visible?(p(),C("div",ii,[l("div",li,[l("div",ri,[l("span",oi,[V("签到奖励 "),l("span",null,[V("(已连续签到"),l("b",ci,_(I.value),1),V("天)")])]),l("button",{onClick:$,class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"},gi)]),l("div",pi,[V(" 每日签到赠送: "),j.value>0&&!g.value?(p(),C("span",hi,[l("b",fi,_(j.value),1),V(_(k.value),1)])):D("",!0),Q.value>0&&!B.value?(p(),C("span",mi,[l("b",xi,_(Q.value),1),V(_(o(x)),1)])):D("",!0),R.value>0&&!z.value?(p(),C("span",yi,[l("b",vi,_(R.value),1),V(_(o(h)),1)])):D("",!0)]),S(o(ze),{show:a.value},{default:M(()=>[bi,l("div",ki,[(p(!0),C(ce,null,me(y.value,w=>(p(),C("div",{key:w.signInDate,class:"py-2"},[l("button",{type:"button",class:J([w.isToday?"bg-primary-600 text-white":w.isSigned?"text-primary-600":"text-gray-900 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700 mx-auto flex h-8 w-8 items-center justify-center rounded-full"])},[l("time",{datetime:w.signInDate},_(w.day),9,wi)],2)]))),128))])]),_:1},8,["show"]),l("div",_i,[l("button",{class:J(["w-full py-2 px-4 rounded text-white",q.value?"bg-gray-400 cursor-not-allowed":"bg-primary-600"]),disabled:q.value,onClick:P}," 签到 ",10,$i)])])])):D("",!0)}}),Ci={class:"bg-white dark:bg-[#25272c]"},Ii=["onClick"],zi={class:"inline-block text-xl"},Ti={class:"text-xs"},Li=ne({__name:"index",setup(u){const s=N([]),n=re();async function e(){const g=await st({menuPlatform:0});g.success&&(s.value=g.data)}const a=xe(),i=Pe(),r=Me(),c=f(()=>r.path),d=se(),y=f(()=>a.iframeUrl),k=f(()=>d.isLogin);function x(g,B){g.stopPropagation();const{menuPath:z,isJump:$,menuIframeUrl:I,isNeedAuth:j}=B;if(j&&!k.value){n.warning("请先登录后访问!"),d.setLoginDialog(!0);return}if(a.updateIframeUrl(""),z)return i.replace({path:z});$?window.open(I):(a.updateIframeUrl(I),i.push({path:"/extend"}))}function h(g){const{menuIframeUrl:B,menuPath:z}=g;if(B)return B===y.value;if(z)return z===c.value}return Zt(()=>{e()}),(g,B)=>(p(),C("footer",Ci,[l("div",{class:"grid border-t py-1 dark:border-t-neutral-800 grid-cols-2",style:Be({gridTemplateColumns:`repeat(${s.value.length}, minmax(0, 1fr))`})},[(p(!0),C(ce,null,me(s.value,z=>(p(),C("a",{key:z.id,class:J([[h(z)?"text-[#3076fd] dark:text-[#3076fd]":""],"cursor-pointer text-center leading-4"]),onClick:$=>x($,z)},[l("span",zi,[S(o(gt),{icon:z.menuIcon,class:"mb-1 inline-block text-lg"},null,8,["icon"])]),l("p",Ti,_(z.menuTipText),1)],10,Ii))),128))],4)]))}}),Ri=""+new URL("../favicon.ico",import.meta.url).href,Pi=["src"],Mi=ne({__name:"Logo",setup(u){const s=se(),n=f(()=>s.globalConfig.clientLogoPath),e=f(()=>s.globalConfig.clientHomePath||"/"),{isMobile:a}=le(),i=f(()=>a.value?["py-2","w-8","ml-3"]:["py-4","px-2","w-full"]);return(r,c)=>(p(),W(o(Dt),{to:e.value},{default:M(()=>[n.value?D("",!0):(p(),C("img",{key:0,src:Ri,class:J([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,2)),n.value?(p(),C("img",{key:1,src:n.value,class:J([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,10,Pi)):D("",!0)]),_:1},8,["to"]))}}),Ai={class:"px-2 w-full"},Di={class:"flex h-full flex-col items-center space-y-3"},Ni=["onClick"],Bi={class:"flex flex-col justify-between items-center"},ji={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},Ui=["src"],Ei={class:"py-1"},qi=ne({__name:"index",setup(u){const s=Jt(()=>jt(()=>import("./index-b1a75368.js"),["./index-b1a75368.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-d64a7cc4.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-696013f1.css","./useBasicLayout-a4f17bae.js"],import.meta.url)),{t:n,locale:e}=Nt(),a=Ie(),i=se(),r=Bt(),c=xe();re();const d=N(null);a.setEnv(),f(()=>i.userBalance);const y=rt(),k=f(()=>i.userInfo.avatar),x=Me(),h=Pe(),g=N(!1),B=f(()=>i.isLogin),z=f(()=>a.theme==="dark");f(()=>a.env);const $=Qe($n);Qe(Ln),f(()=>e.value==="zh-CN"?"mynaui:gift":"another-icon-for-english");async function I(){const Y=await st({menuPlatform:1});Y.success&&(j.value=Y.data,ct(()=>{ee()}))}const j=N([]),Q=N(!1);Te(()=>{I()});const R=f(()=>{var Y;return Number((Y=i.globalConfig)==null?void 0:Y.signInStatus)===1});function q(){B.value?i.logOut():i.setLoginDialog(!0)}function H(){const Y=z.value?"light":"dark";a.setTheme(Y)}const{isMobile:P}=le(),X=f(()=>x.path);async function v(){y.warning({title:n("chat.clearConversation"),content:n("chat.clearAllNonFavoriteConversations"),positiveText:n("common.confirm"),negativeText:n("common.cancel"),onPositiveClick:async()=>{await r.delAllGroup()}})}const O=f(()=>P.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{}),w=f(()=>P.value?["flex-rol","w-full","border-0"]:["flex-col","w-sider","h-full","border-r"]),E=f(()=>P.value?["flex","flex-rol","items-center","pt-0","w-full"]:["flex","flex-col","pt-1","items-center"]),G=f(()=>c.iframeUrl);function A(Y){const{menuPath:K,isJump:F,menuIframeUrl:he,isNeedAuth:kt}=Y;if(kt&&!B.value){i.setLoginDialog(!0);return}if(c.updateIframeUrl(""),K)return h.push({path:K});F?window.open(he):(c.updateIframeUrl(he),h.push({path:"/extend"}))}function U(){if(!B.value){i.setLoginDialog(!0);return}c.updateSignInDialog(!0)}function ee(){if(!d.value)return;const{clientHeight:Y=0,scrollHeight:K=0}=d.value;Q.value=K>Y}async function oe(){await ge(),h.replace({path:"user-center"})}async function ge(){return new Promise(Y=>{setTimeout(()=>{i.isLogin||h.replace({path:"login"}),Y()},100)})}function pe(Y){const{menuIframeUrl:K,menuPath:F}=Y;if(K)return K===G.value;if(F)return F===X.value}function be(){i.logOut(),h.push("/")}return Le(P,Y=>{a.setSiderCollapsed(Y)},{immediate:!0,flush:"post"}),(Y,K)=>(p(),C(ce,null,[l("div",{class:J(["flex min-w-sm bg-gray-50 pb-2 dark:bg-gray-900 border-gray-100 dark:border-gray-800 select-none",w.value]),style:Be(O.value)},[l("div",Ai,[S(Mi)]),l("main",{ref_key:"track",ref:d,class:J(["flex-1 flex-grow-1 mb-5 overflow-auto",E.value])},[S(o(Qt),{size:1},{default:M(()=>[l("div",Di,[(p(!0),C(ce,null,me(j.value,F=>(p(),C("div",{key:F.menuName,class:J(["flex justify-center flex-col items-center",o(P)?"mt-0":"mt-3"]),onClick:he=>A(F)},[S(o(at),{trigger:"hover",placement:"right"},{trigger:M(()=>[l("div",{class:J(["relative flex items-center justify-center h-10 w-10 rounded-md cursor-pointer duration-300",[pe(F)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["bg-gray-50","dark:bg-gray-900","dark:text-gray-400"],"hover:bg-white","hover:text-primary-600","dark:hover:bg-gray-800","dark:hover:text-white"]])},[S(o(gt),{icon:F.menuIcon,class:"text-2xl"},null,8,["icon"])],2)]),default:M(()=>[V(" "+_(F.menuTipText),1)]),_:2},1024)],10,Ni))),128))])]),_:1})],2),l("div",Bi,[B.value?(p(),W(o(un),{key:0,as:"div",class:"relative inline-block text-left"},{default:M(()=>[l("div",null,[S(o(tn),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md text-sm font-semibold dark:text-gray-400 text-gray-700"},{default:M(()=>[l("div",ji,[k.value?(p(),C("img",{key:0,src:k.value,class:"w-full h-full object-cover"},null,8,Ui)):D("",!0),k.value?D("",!0):(p(),W(o(Ge),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),S(Ft,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:M(()=>[S(o(nn),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900 z-50"},{default:M(()=>[l("div",Ei,[S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([[F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:v},[S(o(sn),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.clear")),1)],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[0]||(K[0]=he=>o(c).updateNoticeDialog(!0))},[S(o(an),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.announcement")),1)],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[1]||(K[1]=he=>o(c).updateGoodsDialog(!0))},[S(o(ln),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.pointsMall")),1)],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:H},[S(o(rn),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.toggleTheme")),1)],2)]),_:1}),R.value?(p(),W(o(fe),{key:0},{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:U},[S(o(on),{theme:"outline",size:"16",class:"mr-2"}),V(" "+_(o(n)("chat.signInReward")),1)],2)]),_:1})):D("",!0),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[2]||(K[2]=he=>oe())},[S(o(Ge),{theme:"outline",size:"16",class:"mr-2"}),V(" 个人中心 ")],2)]),_:1}),S(o(fe),null,{default:M(({active:F})=>[l("a",{href:"#",class:J([F?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K[3]||(K[3]=he=>be())},[S(o(cn),{theme:"outline",size:"16",class:"mr-2"}),V(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):D("",!0),B.value?D("",!0):(p(),W(o(pn),{key:1,label:o(n)("siderBar.loginAccount"),placement:o(P)?"bottom":"right",class:J(o(P)?"mb-0":"mb-5"),onClick:q},{default:M(()=>[S(o(ve),{size:"20",color:"#555"},{default:M(()=>[(p(),W(ut($.value)))]),_:1})]),_:1},8,["label","placement","class"]))])],6),g.value?(p(),W(o(s),{key:0,visible:g.value,"onUpdate:visible":K[4]||(K[4]=F=>g.value=F)},null,8,["visible"])):D("",!0)],64))}});const Oi={class:"h-full dark:bg-gray-900 transition-all p-0"},Hi={class:"h-full overflow-hidden"},sl=ne({__name:"index",setup(u){const s=se(),n=Me(),e=Pe(),a=xe(),i=Ie(),r=re(),c=f(()=>a.payDialog),d=f(()=>a.goodsDialog),y=f(()=>a.noticeDialog),k=f(()=>a.bindWxDialog),x=f(()=>a.signInDialog),h=f(()=>{var P;return Number((P=s.globalConfig)==null?void 0:P.isHideSidebar)===1}),{isMobile:g}=le(),B=f(()=>s.loginDialog);f(()=>i.theme);const z=f(()=>s.isLogin),$=f(()=>{var P;return Number((P=s.globalConfig)==null?void 0:P.wechatSilentLoginStatus)===1}),I=f(()=>{var P;return(P=s.globalConfig)==null?void 0:P.clientHomePath});function j(){const{token:P}=n.query;if(P){s.setToken(P);const X=n.name;e.replace({name:X,query:{}}),r.success("账户登录成功、开始体验吧!"),s.getUserInfo()}}async function Q(){if(I.value||!$.value||z.value)return;const X=new URLSearchParams(window.location.search).getAll("code"),v=X.length>0?X[X.length-1]:null;if(v){const O=await Ut({code:v});if(O.success){s.setToken(O.data),s.getUserInfo(),s.setLoginDialog(!1);const w=window.location.href.split("?")[0]+window.location.search.replace(new RegExp("([&?])code=[^&]*","g"),"$1").replace(/^&/,"?");window.history.replaceState(null,"",w)}}else{const O=window.location.href.split("#")[0],w=await Et({url:O});w.success&&(window.location.href=w.data)}}function R(){var X;const P=window.navigator.userAgent.toLowerCase();P.match(/MicroMessenger/i)&&((X=P==null?void 0:P.match(/MicroMessenger/i))==null?void 0:X[0])==="micromessenger"&&Q()}Te(()=>{R(),j()});const q=f(()=>g.value?["rounded-none","shadow-none"]:["dark:border-neutral-800"]),H=f(()=>g.value?["flex-col"]:["dark:border-neutral-800"]);return(P,X)=>{const v=Xt("RouterView");return p(),C("div",Oi,[l("div",Hi,[l("div",{class:J(["z-40 transition flex h-full relative",H.value])},[!o(g)&&!h.value?(p(),W(qi,{key:0})):D("",!0),S(o(Gt),{class:J(["h-full",q.value]),style:{flex:"1"}},{default:M(()=>[S(v,null,{default:M(({Component:O,route:w})=>[(p(),W(ut(O),{key:w.fullPath}))]),_:1})]),_:1},8,["class"]),o(g)&&!h.value?(p(),W(Li,{key:1})):D("",!0)],2),S(na,{visible:B.value},null,8,["visible"]),S(ni,{visible:c.value},null,8,["visible"]),S(is,{visible:d.value},null,8,["visible"]),S(Pa,{visible:y.value},null,8,["visible"]),S(jn,{visible:k.value},null,8,["visible"]),S(Si,{visible:x.value},null,8,["visible"])])])}}});export{sl as default}; diff --git a/public/assets/index-9296b6ea.js b/public/assets/index-9296b6ea.js deleted file mode 100644 index a48cb62..0000000 --- a/public/assets/index-9296b6ea.js +++ /dev/null @@ -1 +0,0 @@ -import{o as k,u as E,e as b,a0 as B,a1 as S}from"./index-d64a7cc4.js";import{d as I,r as C,e as r,w as L,f as D,o as F,U as f,a8 as h,a3 as c,a5 as M,S as g,ah as U}from"./vue-10b4afc0.js";import"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const W={class:"w-full h-full relative"},A={class:"loading"},N=U('',7),T=[N],V=["src"],q=I({__name:"index",setup(G){const _=k(),l=E(),n=C(!1),i=r(()=>l.iframeUrl),o=b(),u=r(()=>o.theme==="dark");function v(){const e=document.getElementById("iframe");e!=null&&e.addEventListener||e==null||e.attachEvent("onload",d),e==null||e.addEventListener("load",d,!0)}const m=r(()=>o.theme);L(m,e=>{s({type:"theme",data:e})}),D(()=>{if(!i.value)return _.push("/");n.value=!0,v(),window.addEventListener("message",p)});async function p(e){const{type:t,data:a}=e.data;t==="theme"&&o.setTheme(a==="dark"?"dark":"light"),t==="chat"&&w(a)}function w(e){B({prompt:e}).then(t=>{const{code:a,data:y}=t;a===200&&s({type:"chat",data:x(y)})})}function x(e){const t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;return e.replace(t,"")}function s(e){document.getElementById("iframe").contentWindow.postMessage(e,"*")}function d(){s({type:"theme",data:m.value});const e=S();e&&s({type:"token",data:e}),n.value=!1}return F(()=>{l.updateIframeUrl("");const e=document.getElementById("iframe");e==null||e.removeEventListener("load",d),window.removeEventListener("message",p)}),(e,t)=>(g(),f("div",W,[n.value?(g(),f("div",{key:0,class:h(["main-container absolute left-0 right-0 bottom-0 top-0 backdrop-blur",[u.value?"dark:bg-black/20":"bg-white/80"]])},[c("div",A,[c("div",{class:h(["loading-text ",u.value?"text-[#fff]":"text-[#000]"]),id:"loading-text"},T,2)])],2)):M("",!0),c("iframe",{id:"iframe",src:i.value,style:{width:"100%",height:"100%",border:"none"},allow:"fullscreen"},null,8,V)]))}});export{q as default}; diff --git a/public/assets/index-96ef26bb.js b/public/assets/index-96ef26bb.js deleted file mode 100644 index b5e16eb..0000000 --- a/public/assets/index-96ef26bb.js +++ /dev/null @@ -1 +0,0 @@ -import{o as s}from"./index-d64a7cc4.js";import{d as a,U as o,a3 as r,X as c,W as n,M as i,ah as l,S as d,c as m}from"./vue-10b4afc0.js";import{z as p}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const x=""+new URL("404-0d6db85f.svg",import.meta.url).href,u={class:"flex h-full bg-white dark:bg-gray-900"},_={class:"px-4 m-auto space-y-4 text-center max-[400px]"},f=l('

    404 - 页面迷路了!

    哎呀!页面好像迷路了,找不到了。

    404
    ',3),b=a({__name:"index",setup(h){const t=s();function e(){t.push("/")}return(v,g)=>(d(),o("div",u,[r("div",_,[f,c(i(p),{type:"primary",onClick:e},{default:n(()=>[m(" Go to Home ")]),_:1})])]))}});export{b as default}; diff --git a/public/assets/index-b1a75368.js b/public/assets/index-b1a75368.js deleted file mode 100644 index 8e7c407..0000000 --- a/public/assets/index-b1a75368.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{e as j,a as L,Y as E,t as C}from"./index-d64a7cc4.js";import{u as G}from"./useBasicLayout-a4f17bae.js";import{e as R,K as B,z as x,a1 as Y,M as H,w as X,Y as q,X as z,q as K}from"./naive-ui-fedd20b1.js";import{d as N,e as I,r as w,S,U as D,a3 as e,a4 as o,X as a,M as s,W as l,c as g,a8 as W,F as Q,a6 as Z,f as ee,V as T}from"./vue-10b4afc0.js";import"./vueuse-motion-d4cdaf7b.js";function se(){const m=new Date,c=m.getDate(),d=m.getMonth()+1;return`${m.getFullYear()}-${d}-${c}`}const te={class:"p-4 space-y-5 min-h-[200px]"},ae={class:"space-y-6"},ne={class:"flex items-center space-x-4"},oe={class:"flex-shrink-0 w-[100px]"},le={class:"flex-1"},ie={class:"flex items-center space-x-4"},ce={class:"flex-shrink-0 w-[100px]"},re={class:"w-[200px]"},de={class:"flex-shrink-0 w-[100px]"},ue={class:"flex flex-wrap items-center gap-4"},pe={class:"flex items-center space-x-4"},fe={class:"flex-shrink-0 w-[100px]"},me={class:"flex flex-wrap items-center gap-4"},_e={class:"flex items-center space-x-4"},he={class:"flex-shrink-0 w-[100px]"},ve={class:"flex flex-wrap items-center gap-4"},xe=N({__name:"General",setup(m){const c=j(),d=L(),{isMobile:u}=G(),r=R(),h=I(()=>c.theme),p=I(()=>d.userInfo),f=w(p.value.avatar??""),_=w(p.value.username??""),$=w(!1),M=I({get(){return c.language},set(t){c.setLanguage(t)}}),O=[{label:"Auto",key:"auto",icon:"ri:contrast-line"},{label:"Light",key:"light",icon:"ri:sun-foggy-line"},{label:"Dark",key:"dark",icon:"ri:moon-foggy-line"}],F=[{label:"简体中文",key:"zh-CN",value:"zh-CN"}];async function U(t){try{$.value=!0;const n=await E(t);if($.value=!1,!n.success)return r.error(n.message);r.success(C("common.updateUserSuccess")),d.getUserInfo()}catch{$.value=!1}}function A(){const t=se(),n=localStorage.getItem("chatStorage")||"{}",i=JSON.stringify(JSON.parse(n),null,2),v=new Blob([i],{type:"application/json"}),b=URL.createObjectURL(v),k=document.createElement("a");k.href=b,k.download=`chat-store_${t}.json`,document.body.appendChild(k),k.click(),document.body.removeChild(k)}function J(t){const n=t.target;if(!n||!n.files)return;const i=n.files[0];if(!i)return;const v=new FileReader;v.onload=()=>{try{const b=JSON.parse(v.result);localStorage.setItem("chatStorage",JSON.stringify(b)),r.success(C("common.success")),location.reload()}catch{r.error(C("common.invalidFileFormat"))}},v.readAsText(i)}function P(){localStorage.removeItem("chatStorage"),location.reload()}function V(){const t=document.getElementById("fileInput");t&&t.click()}return(t,n)=>(S(),D("div",te,[e("div",ae,[e("div",ne,[e("span",oe,o(t.$t("setting.avatarLink")),1),e("div",le,[a(s(B),{value:f.value,"onUpdate:value":n[0]||(n[0]=i=>f.value=i),placeholder:"请填写头像地址"},null,8,["value"])]),a(s(x),{size:"tiny",disabled:$.value,text:"",type:"primary",onClick:n[1]||(n[1]=i=>U({avatar:f.value}))},{default:l(()=>[g(o(t.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",ie,[e("span",ce,o(t.$t("setting.name")),1),e("div",re,[a(s(B),{value:_.value,"onUpdate:value":n[2]||(n[2]=i=>_.value=i),placeholder:"请填写用户名"},null,8,["value"])]),a(s(x),{size:"tiny",disabled:$.value,text:"",type:"primary",onClick:n[3]||(n[3]=i=>U({username:_.value}))},{default:l(()=>[g(o(t.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",{class:W(["flex items-center space-x-4",s(u)&&"items-start"])},[e("span",de,o(t.$t("setting.chatHistory")),1),e("div",ue,[a(s(x),{size:"small",onClick:A},{icon:l(()=>[a(s(y),{icon:"ri:download-2-fill"})]),default:l(()=>[g(" "+o(t.$t("common.export")),1)]),_:1}),e("input",{id:"fileInput",type:"file",style:{display:"none"},onChange:J},null,32),a(s(x),{size:"small",onClick:V},{icon:l(()=>[a(s(y),{icon:"ri:upload-2-fill"})]),default:l(()=>[g(" "+o(t.$t("common.import")),1)]),_:1}),a(s(Y),{placement:"bottom",onPositiveClick:P},{trigger:l(()=>[a(s(x),{size:"small"},{icon:l(()=>[a(s(y),{icon:"ri:close-circle-line"})]),default:l(()=>[g(" "+o(t.$t("common.clear")),1)]),_:1})]),default:l(()=>[g(" "+o(t.$t("chat.clearHistoryConfirm")),1)]),_:1})])],2),e("div",pe,[e("span",fe,o(t.$t("setting.theme")),1),e("div",me,[(S(),D(Q,null,Z(O,i=>a(s(x),{key:i.key,size:"small",type:i.key===h.value?"primary":void 0,onClick:v=>s(c).setTheme(i.key)},{icon:l(()=>[a(s(y),{icon:i.icon},null,8,["icon"])]),_:2},1032,["type","onClick"])),64))])]),e("div",_e,[e("span",he,o(t.$t("setting.language")),1),e("div",ve,[a(s(H),{style:{width:"140px"},value:M.value,options:F,onUpdateValue:n[4]||(n[4]=i=>s(c).setLanguage(i))},null,8,["value"])])])])]))}}),ge={class:"p-4 space-y-5 min-h-[200px]"},ye={class:"flex items-center space-x-4"},$e=e("span",{class:"flex-shrink-0 w-[100px]"},"用户邮箱",-1),ke={class:"w-[200px]"},we={class:"flex items-center space-x-4"},be=e("span",{class:"flex-shrink-0 w-[100px]"},"用户姓名",-1),Ie={class:"w-[200px]"},Se={class:"flex items-center space-x-4"},Ce=e("span",{class:"flex-shrink-0 w-[100px]"},"问答余额",-1),Ne={class:"w-[200px]"},Ue={class:"flex items-center space-x-4"},Be=e("span",{class:"flex-shrink-0 w-[100px]"},"绘画余额",-1),ze={class:"w-[200px]"},De={class:"flex items-center space-x-4"},Le=e("span",{class:"flex-shrink-0 w-[100px]"},"MJToken",-1),Te={class:"w-[200px]"},Me={class:"flex items-center space-x-4"},Oe=e("span",{class:"flex-shrink-0 w-[100px]"},"使用金额",-1),Fe={class:"w-[200px]"},Ae=N({__name:"Personal",setup(m){const c=L(),{userInfo:d,userBalance:u}=c,r=w(!1);ee(async()=>{h()});async function h(){try{r.value=!0,await c.getUserInfo(),r.value=!1}catch{r.value=!1}}return(p,f)=>(S(),T(s(X),{show:r.value},{default:l(()=>[e("div",ge,[e("div",ye,[$e,e("div",ke,o(s(d).email||"--"),1)]),e("div",we,[be,e("div",Ie,o(s(d).username||"--"),1)]),e("div",Se,[Ce,e("div",Ne,o(s(u).usesLeft||"0")+" 积分 ",1)]),e("div",Ue,[Be,e("div",ze,o(s(u).paintCount||"0")+" 积分 ",1)]),e("div",De,[Le,e("div",Te,o(s(u).balance||"0")+" Token ",1)]),e("div",Me,[Oe,e("div",Fe,o(s(u).useTokens||"0")+" Token ",1)])])]),_:1},8,["show"]))}}),Je={class:"ml-2"},Pe={class:"ml-2"},Ve={class:"min-h-[100px]"},Xe=N({__name:"index",props:{visible:{type:Boolean}},emits:["update:visible"],setup(m,{emit:c}){const d=m,u=c,r=w("personalInfo"),h=I({get(){return d.visible},set(p){u("update:visible",p)}});return(p,f)=>(S(),T(s(K),{show:h.value,"onUpdate:show":f[1]||(f[1]=_=>h.value=_),title:"个人中心","auto-focus":!1,preset:"card",style:{width:"95%","max-width":"640px"}},{default:l(()=>[e("div",null,[a(s(q),{value:r.value,"onUpdate:value":f[0]||(f[0]=_=>r.value=_),type:"line",animated:""},{default:l(()=>[a(s(z),{name:"personalInfo",tab:"personalInfo"},{tab:l(()=>[a(s(y),{class:"text-lg",icon:"ri:file-user-line"}),e("span",Je,o(p.$t("setting.personalInfo")),1)]),default:l(()=>[a(Ae)]),_:1}),a(s(z),{name:"General",tab:"General"},{tab:l(()=>[a(s(y),{class:"text-lg",icon:"ri:list-settings-line"}),e("span",Pe,o(p.$t("setting.general")),1)]),default:l(()=>[e("div",Ve,[a(xe)])]),_:1})]),_:1},8,["value"])])]),_:1},8,["show"]))}});export{Xe as default}; diff --git a/public/assets/index-dd7fbdb4.js b/public/assets/index-dd7fbdb4.js deleted file mode 100644 index 8212837..0000000 --- a/public/assets/index-dd7fbdb4.js +++ /dev/null @@ -1 +0,0 @@ -import{m as ee,p as ke,t,a as Ce,o as Ae,S as Se,T as ze}from"./index-d64a7cc4.js";import{_ as Ie}from"./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js";import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{u as Re}from"./useBasicLayout-a4f17bae.js";import{C as fe,Q as Ne}from"./index-03531f8f.js";import{c as $e}from"./index-c94da121.js";import{d as te,S as U,U as L,a3 as a,r as o,V as Me,W as l,M as e,a4 as n,X as r,c as M,e as $,j as X,l as q,f as Ue,a8 as x,a5 as H}from"./vue-10b4afc0.js";import{e as pe,q as me,r as J,U as F,O as Pe,M as je,K as Z,z as Be,C as Te,L as C,S as qe,_ as Fe,I as Le,Y as Oe,X as K,T as Y,$ as De,a0 as he}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";import"./_plugin-vue_export-helper-c27b6911.js";const Ve={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},We=a("path",{d:"M336 192h40a40 40 0 0 1 40 40v192a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V232a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Ee=a("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M336 128l-80-80l-80 80"},null,-1),Ge=a("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 321V48"},null,-1),Qe=[We,Ee,Ge],Xe=te({name:"ShareOutline",render:function(d,g){return U(),L("svg",Ve,Qe)}});function He(){return ee({url:"/sales/mineAccount"})}function Ke(v){return ee({url:"/sales/mineRecords",data:v})}function Ye(v){return ee({url:"/sales/drawMoneyOrder",data:v})}function Je(v){return ke({url:"/sales/appForMoney",data:v})}const Ze=""+new URL("badge-4a5770f0.png",import.meta.url).href,et=""+new URL("qianbao-77758046.png",import.meta.url).href,tt={class:"p-5 bg-white rounded dark:bg-slate-800"},at={class:"text-lg"},st={class:"pt-5"},nt=te({__name:"drawMoneyDialog",props:{visible:{type:Boolean}},emits:["close","submit"],setup(v,{emit:d}){const g=d,A=o(null),O=pe(),D=o([{label:t("share.alipay"),value:1},{label:t("share.wechat"),value:2}]),S=()=>({withdrawalAmount:null,withdrawalChannels:null,contactInformation:"",remark:""}),i=o(S()),f=o(!1),W={withdrawalAmount:[{required:!0,message:t("share.enterWithdrawalAmount")}],withdrawalChannels:[{required:!0,message:t("share.selectWithdrawalChannel")}],contactInformation:[{required:!0,message:t("share.enterContactInfo"),trigger:"blur"}],remark:[{required:!1,message:t("share.optionalRemark"),trigger:"blur"}]};function E(){i.value=S()}function P(){var p;(p=A.value)==null||p.validate(async u=>{if(!u)try{f.value=!0;const{withdrawalAmount:h,withdrawalChannels:V,contactInformation:I,remark:R}=i.value;(await Je({withdrawalAmount:h,withdrawalChannels:V,contactInformation:I,remark:R})).success&&(O.success(t("share.withdrawalSuccess")),E(),g("submit"),g("close")),f.value=!1}catch{f.value=!1}})}function _(){}function G(){}function z(){g("close")}return(p,u)=>(U(),Me(e(me),{show:p.visible,style:{width:"90%","max-width":"500px"},"on-after-enter":_,"on-after-leave":G},{default:l(()=>[a("div",tt,[a("span",at,n(e(t)("share.withdrawalApplicationForm")),1),a("div",{class:"absolute top-3 right-3 cursor-pointer z-30",onClick:z},[r(e(J),{size:"20",color:"#0e7a0d"},{default:l(()=>[r(e(fe))]),_:1})]),a("div",st,[r(e(Te),{ref_key:"formRef",ref:A,model:i.value,rules:W,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging",style:{maxWidth:"640px"}},{default:l(()=>[r(e(F),{path:"withdrawalAmount",label:e(t)("share.withdrawalAmount")},{default:l(()=>[r(e(Pe),{value:i.value.withdrawalAmount,"onUpdate:value":u[0]||(u[0]=h=>i.value.withdrawalAmount=h),class:"w-full",clearable:"",precision:2,placeholder:e(t)("share.enterWithdrawalAmount")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(F),{path:"withdrawalChannels",label:e(t)("share.withdrawalChannel")},{default:l(()=>[r(e(je),{value:i.value.withdrawalChannels,"onUpdate:value":u[1]||(u[1]=h=>i.value.withdrawalChannels=h),placeholder:e(t)("share.selectWithdrawalChannel"),options:D.value},null,8,["value","placeholder","options"])]),_:1},8,["label"]),r(e(F),{path:"contactInformation",label:e(t)("share.contactInformation")},{default:l(()=>[r(e(Z),{value:i.value.contactInformation,"onUpdate:value":u[2]||(u[2]=h=>i.value.contactInformation=h),type:"textarea",rows:3,placeholder:e(t)("share.enterContactInfo")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(F),{path:"remark",label:e(t)("share.withdrawalRemark")},{default:l(()=>[r(e(Z),{value:i.value.remark,"onUpdate:value":u[3]||(u[3]=h=>i.value.remark=h),type:"textarea",rows:3,placeholder:e(t)("share.enterWithdrawalRemark")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(F),{class:"mt-3"},{default:l(()=>[r(e(Be),{block:"",type:"primary",disabled:f.value,loading:f.value,onClick:P},{default:l(()=>[M(n(e(t)("share.applyWithdrawal")),1)]),_:1},8,["disabled","loading"])]),_:1})]),_:1},8,["model"])])])]),_:1},8,["show"]))}}),rt={class:"min-h-screen bg-white dark:bg-gray-900"},lt={class:"w-full bg-[#f78400] p-6 flex flex-col justify-between rounded shadow-xl relative"},ot={class:"absolute right-4 top-6 font-bold text-base opacity-60 text-[#eee] flex"},it=["src"],ct={class:"text-[#fff] font-bold text-xl"},dt={class:"leading-loose flex justify-between items-center py-5"},ut={class:"text-[#fff]"},ht={class:"font-bold text-4xl"},ft={class:"ml-3"},pt=["src"],mt={class:"flex justify-between text-[#fff] items-center"},vt={class:"flex flex-col"},gt={class:"flex items-end"},_t={class:"font-bold text-xl"},wt={class:"ml-2"},xt={class:"flex flex-col"},bt={class:"flex items-end"},yt={class:"font-bold text-xl"},kt={class:"ml-2"},Ct={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},At={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},St={class:"flex item-center"},zt={class:"ml-2"},It={class:"text-base"},Rt={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},Nt={class:"flex item-center"},$t={class:"ml-2"},Mt={class:"text-base"},Ut={class:"flex p-4 justify-between"},Pt={class:"flex item-center"},jt={class:"ml-2"},Bt={class:"text-base"},Tt={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},qt={class:"py-6 px-4 flex justify-between items-center"},Ft={class:"flex flex-col"},Lt={class:"text-base"},Ot={class:"text-[#999] text-xs mt-2"},Dt={class:"py-6 px-4 flex justify-between items-center"},Vt={class:"flex flex-col"},Wt={class:"text-base"},Et={class:"text-[#999] text-xs mt-2"},Gt={class:"py-6 px-4 flex justify-between items-center"},Qt={class:"flex flex-col"},Xt={class:"text-base"},Ht={class:"text-[#999] text-xs mt-2"},Kt={class:"bg-[#fff] dark:bg-[#24272e] p-5 rounded flex"},Yt={class:"w-full flex"},Jt={class:"mt-5 bg-[#fff] p-5 dark:bg-[#24272e]"},Zt={class:"pt-5"},ea={class:"pt-5"},ta={class:"pt-5"},aa={class:"p-4 bg-white rounded dark:bg-slate-800"},sa={class:"flex text-base mb-[20px] bg-currentflex items-center"},na={class:"ml-[8px] mt-2"},ra={class:"w-full flex mb-5 px-6"},la={class:"flex justify-center items-center"},oa={class:"flex flex-col p-5 justify-center"},ia={class:"text-center"},ca={class:"text-center"},ba=te({__name:"index",setup(v){const d=o({distributionBalance:0,drawMoneyIn:0,id:0,inviteCount:0,inviteLinkCount:0,orderCount:0,performanceRatio:0,salesOutletName:"",totalAmount:0,withdrawalAmount:0}),g=o(!1),A=o(!1),O=o([]),D=o([]),S=Ce(),i=$(()=>S.globalConfig),f=$(()=>{var s,c;return(s=i.value)!=null&&s.salesBaseRatio?Number((c=i.value)==null?void 0:c.salesBaseRatio):10}),W=$(()=>{var s,c;return(s=i.value)!=null&&s.salesSeniorRatio?Number((c=i.value)==null?void 0:c.salesSeniorRatio):10}),E=o(null),P=o("rec"),_=$(()=>S.userInfo.inviteCode),G=$(()=>{let s=`${window.location.protocol}//${window.location.hostname}`;return window.location.port&&(s+=`:${window.location.port}`),s}),z=$(()=>_.value?`${G.value}?inVitecode=${_.value}`:"**************"),p=pe(),u=o(null);Ae(),o([]);const h=o(null);o({pageSize:23});const V=o([]),I=o(!1),R=o(!1),j=o(!1),b=X({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{b.page=s,N()},onUpdatePageSize:s=>{b.pageSize=s,b.page=1,N()}}),y=X({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{y.page=s,N()},onUpdatePageSize:s=>{y.pageSize=s,y.page=1,N()}}),k=X({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{k.page=s,Q()},onUpdatePageSize:s=>{k.pageSize=s,k.page=1,Q()}}),ve=o([{title:t("share.orderAmount"),align:"center",orderPrice:"address",render(s){return`¥${s.orderPrice}元`}},{align:"center",title:t("share.productType"),key:"tags",render(s){return t("share.purchasePackage")}},{align:"center",title:t("share.status"),key:"status",render(s){return q(C,{type:"success",size:"small",round:!0},()=>t("share.accounted"))}},{align:"center",title:t("share.commissionRate"),key:"commissionAmount",render(s){return`${s.commissionPercentage}%`}},{align:"center",title:t("share.commission"),key:"commissionAmount",render(s){return`¥${s.commissionAmount}元`}},{align:"center",title:t("share.orderTime"),key:"createdAt"}]);function ge(){P.value="drawMoney",ae(),se()}async function _e(){const s=await ze();if(!s.data)return p.error(s.message);p.success(t("share.generateInviteCodeSuccess")),S.getUserInfo()}function we(){A.value=!0}async function ae(){const s=await He();d.value=s.data}function xe(s){s==="drawMoney"&&se(),s==="rec"&&N(),s==="register"&&Q()}async function N(){try{I.value=!0;const s=await Ke({page:b.page,size:b.pageSize});O.value=s.data.rows,b.itemCount=s.data.count,I.value=!1}catch{I.value=!1}}async function se(){try{R.value=!0;const s=await Ye({page:y.page,size:y.pageSize});y.itemCount=s.data.count,D.value=s.data.rows,R.value=!1}catch{R.value=!1}}const be=o([{title:t("share.withdrawalTime"),key:"createdAt",align:"center"},{title:t("share.withdrawalAmount"),key:"withdrawalAmount",align:"center"},{title:t("share.withdrawalChannel"),key:"withdrawalChannels",align:"center",render(s){return q(C,{type:s.withdrawalChannels===1?"info":"success",size:"small",round:!0},()=>s.withdrawalChannels===1?t("share.alipay"):t("share.wechat"))}},{title:t("share.withdrawalStatus"),key:"paymentStatus",render(s){return q(C,{type:s.paymentStatus===1?"success":s.paymentStatus===-1?"error":"info",size:"small",round:!0},()=>s.paymentStatus===1?t("share.paid"):s.paymentStatus===-1?t("share.rejected"):t("share.inReview"))}},{title:t("share.withdrawalRemarks"),key:"contactInformation",align:"center",render(s){return` ${(s==null?void 0:s.contactInformation)||"---"} `}},{title:t("share.auditor"),key:"auditUserId",align:"center",render(s){return` ${(s==null?void 0:s.auditUserName)||"---"} `}}]),ye=o([{title:t("share.avatar"),align:"center",key:"avatar",render(s){return q(qe,{src:s.avatar,round:!0,size:38,border:!0})}},{align:"center",title:t("share.username"),key:"username"},{align:"center",title:t("share.email"),key:"email"},{title:t("share.inviteeStatus"),align:"center",key:"status",render(s){return q(C,{type:s.status===1?"success":"error",size:"small",round:!0},()=>s.status===1?t("share.registered"):t("share.pendingActivation"))}},{title:t("share.registrationTime"),align:"center",key:"createdAt"},{title:t("share.lastLogin"),align:"center",key:"updatedAt"}]),{isMobile:w}=Re();async function Q(){try{j.value=!0;const s=await Se({page:k.page,size:k.pageSize});V.value=s.data.rows,k.itemCount=s.data.count,j.value=!1}catch{j.value=!1}}function ne(){if(!_.value)return p.error(t("share.requestInviteCodeFirst"));$e({text:z.value}),p.success(t("share.linkCopiedSuccess"));const s=u.value,c=document.createRange(),B=window.getSelection();c.selectNodeContents(s),B.removeAllRanges(),B.addRange(c)}return Ue(()=>{var s;(s=h.value)==null||s.play(),ae(),N()}),(s,c)=>{var B,re,le,oe,ie,ce,de,ue;return U(),L("div",rt,[r(e(Ie),{class:x([e(w)?"px-3":"px-14"]),title:e(t)("share.title"),des:e(t)("share.description")},null,8,["class","title","des"]),a("div",{class:x(["flex-1 flex-wrap py-5 flex justify-between",[e(w)?"px-3":"px-20"]])},[a("div",{class:x(["px-[12px] min-w-[350px]",[e(w)?"w-full":"w-1/3"]])},[a("div",lt,[a("div",ot,[M(n(((B=d.value)==null?void 0:B.salesOutletName)||e(t)("share.defaultSalesOutletName"))+" ",1),a("img",{src:e(Ze),class:"ml-2 w-6 h-6 opacity-50"},null,8,it)]),a("h2",ct,n(e(t)("share.myReferrals")),1),a("div",dt,[a("div",ut,[a("span",ht,[r(e(Fe),{ref_key:"numberAnimationInstRef",ref:h,from:0,to:Number((re=d.value)==null?void 0:re.totalAmount),active:!0,precision:2},null,8,["to"])]),a("span",ft,n(e(t)("share.currencyUnit")),1)]),a("img",{src:e(et),class:"w-20 opacity-10",alt:""},null,8,pt)]),a("div",mt,[a("div",vt,[a("div",gt,[a("span",_t,n(((le=d.value)==null?void 0:le.distributionBalance)||0),1),a("span",wt,n(e(t)("share.currencyUnit")),1)]),a("div",null,n(e(t)("share.remainingAmount")),1)]),a("div",xt,[a("div",bt,[a("span",yt,n(((oe=d.value)==null?void 0:oe.drawMoneyIn)||0),1),a("span",kt,n(e(t)("share.currencyUnit")),1)]),a("div",null,n(e(t)("share.withdrawingAmount")),1)]),a("div",null,[r(e(Le),{placement:"top",trigger:"hover",delay:((ie=d.value)==null?void 0:ie.distributionBalance)>10?800:200},{trigger:l(()=>{var m;return[a("div",{class:x(["btn",[((m=d.value)==null?void 0:m.distributionBalance)g.value=!0)},n(e(t)("share.withdrawNow")),3)]}),default:l(()=>{var m;return[a("span",null,n(e(t)("share.minimumWithdrawalPrefix"))+" "+n(Number((m=i.value)==null?void 0:m.salesAllowDrawMoney)||10)+" "+n(e(t)("share.minimumWithdrawalSuffix")),1)]}),_:1},8,["delay"])])])]),a("div",Ct,[a("div",At,[a("div",St,[r(e(T),{class:"text-lg",icon:"icon-park-outline:order"}),a("span",zt,n(e(t)("share.purchaseOrderCount")),1)]),a("b",It,n(((ce=d.value)==null?void 0:ce.orderCount)||0),1)]),a("div",Rt,[a("div",Nt,[r(e(T),{class:"text-lg",icon:"ep:link"}),a("span",$t,n(e(t)("share.promotionLinkVisits")),1)]),a("b",Mt,n(((de=d.value)==null?void 0:de.inviteLinkCount)||0),1)]),a("div",Ut,[a("div",Pt,[r(e(T),{class:"text-lg",icon:"ph:user"}),a("span",jt,n(e(t)("share.registeredUsers")),1)]),a("b",Bt,n(((ue=d.value)==null?void 0:ue.inviteCount)||0),1)])]),a("div",Tt,[a("div",qt,[a("div",Ft,[a("h3",Lt,n(e(t)("share.referralEarnings")),1),a("div",Ot,n(e(t)("share.referralEarningsDescription")),1)]),r(e(C),{round:"",bordered:!1,type:"success",size:"small"},{default:l(()=>[M(n(e(t)("share.percentage"))+n(f.value)+"% ",1)]),_:1})]),a("div",Dt,[a("div",Vt,[a("h3",Wt,n(e(t)("share.applyForAdvancedAgent")),1),a("div",Et,n(e(t)("share.contactAdminForAdvancedAgent")),1)]),r(e(C),{round:"",bordered:!1,type:"success",size:"small"},{default:l(()=>[M(n(e(t)("share.percentage"))+n(W.value)+"% ",1)]),_:1})]),a("div",Gt,[a("div",Qt,[a("h3",Xt,n(e(t)("share.joinAsPartner")),1),a("div",Ht,n(e(t)("share.partnerDescription")),1)]),r(e(C),{round:"",bordered:!1,type:"error",size:"small"},{default:l(()=>[M(n(e(t)("share.winTogether")),1)]),_:1})])])],2),a("div",{class:x(["px-[12px]",[e(w)?"w-full":"w-2/3"]])},[a("div",Kt,[a("div",Yt,[a("div",{class:x(["border border-[ced4da] dark:border-[#3a3a40] text-sm py-1 rounded-l-md flex items-center",[e(w)?"px-1":"px-3"]])},n(e(t)("share.referralLink")),3),a("div",{ref_key:"selectable",ref:u,class:"bg-[#fafafa] dark:bg-[#2F2E34] flex-1 flex items-center dark:border-[#ffffff17] border-b border-t pl-4 max-w-[500px] select-text overflow-x-hidden whitespace-nowrap"},n(z.value),513),_.value?H("",!0):(U(),L("div",{key:0,class:x([[e(w)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px] select-none"]),onClick:_e},n(e(t)("share.apply")),3)),_.value?(U(),L("div",{key:1,class:x([[e(w)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px]"])},[r(e(T),{class:"text-lg",icon:"fluent:document-copy-48-regular",onClick:ne})],2)):H("",!0),!e(w)&&_.value?(U(),L("div",{key:2,class:"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center px-5 bg-currentrounded-r-md",onClick:we},[r(e(T),{class:"text-lg",icon:"la:qrcode"})])):H("",!0)])]),a("div",Jt,[r(e(Oe),{ref_key:"tabRef",ref:E,value:P.value,"onUpdate:value":[c[1]||(c[1]=m=>P.value=m),xe],"bar-width":338,animated:"","justify-content":"space-evenly",type:"line"},{default:l(()=>[r(e(K),{name:"rec",tab:e(t)("share.referralRecordsTab")},{default:l(()=>[a("div",Zt,[r(e(Y),{"min-width":200,loading:I.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:ve.value,data:O.value,pagination:b,"scroll-x":700},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),r(e(K),{name:"drawMoney",tab:e(t)("share.withdrawalRecordsTab")},{default:l(()=>[a("div",ea,[r(e(Y),{loading:R.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:be.value,data:D.value,pagination:y,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),r(e(K),{name:"register",tab:e(t)("share.registeredUsersTab")},{default:l(()=>[a("div",ta,[r(e(Y),{loading:j.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:ye.value,data:V.value,pagination:k,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"])]),_:1},8,["value"])]),r(nt,{visible:g.value,onClose:c[2]||(c[2]=m=>g.value=!1),onSubmit:ge},null,8,["visible"])],2)],2),r(e(me),{show:A.value,style:{width:"90%","max-width":"420px"}},{default:l(()=>[a("div",aa,[a("div",{class:"flex justify-between",onClick:c[3]||(c[3]=m=>A.value=!1)},[a("div",sa,[r(e(J),{size:"22",color:"#0e7a0d"},{default:l(()=>[r(e(Xe))]),_:1}),a("span",na,n(e(t)("share.inviteFriends")),1)]),r(e(J),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:l(()=>[r(e(fe))]),_:1})]),a("div",ra,[r(e(De),null,{default:l(()=>[r(e(he),{size:"small"},{default:l(()=>[M(n(e(t)("share.inviteLink")),1)]),_:1}),r(e(Z),{size:"small",style:{flex:1},value:z.value},null,8,["value"]),r(e(he),{size:"small",onClick:ne},{default:l(()=>[a("div",null,n(e(t)("share.copy")),1)]),_:1})]),_:1})]),a("div",la,[r(Ne,{value:z.value,size:240},null,8,["value"])]),a("div",oa,[a("span",ia,n(e(t)("share.inviteBenefits1")),1),a("span",ca,n(e(t)("share.inviteBenefits2Prefix"))+" "+n(f.value||10)+" "+n(e(t)("share.inviteBenefits2Suffix")),1)])])]),_:1},8,["show"])])}}});export{ba as default}; diff --git a/public/assets/index-e889edd8.js b/public/assets/index-e889edd8.js deleted file mode 100644 index a549fab..0000000 --- a/public/assets/index-e889edd8.js +++ /dev/null @@ -1 +0,0 @@ -import{a as ce,o as de,t as j,z as ue}from"./index-d64a7cc4.js";import{d as H,S as v,U as x,a3 as s,g as pe,r as a,e as R,w as q,f as G,G as he,H as P,F as ve,a6 as fe,n as me,X as _,W as m,z as _e,a4 as D,V as z,ab as N,M as i,a5 as W}from"./vue-10b4afc0.js";import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{c as ge}from"./index-c94da121.js";import{e as we,I as B,J as xe,K as ye,r as ke}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const be={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},$e=s("path",{d:"M315.27 33L96 304h128l-31.51 173.23a2.36 2.36 0 0 0 2.33 2.77h0a2.36 2.36 0 0 0 1.89-.95L416 208H288l31.66-173.25a2.45 2.45 0 0 0-2.44-2.75h0a2.42 2.42 0 0 0-1.95 1z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Le=[$e],Ce=H({name:"FlashOutline",render:function(l,c){return v(),x("svg",be,Le)}});function Ie(y,l){let c,n;return function(...g){n=g,c||(c=setTimeout(()=>{y.apply(this,n),c=null},l))}}const Me={class:"min-h-full overflow-hidden flex flex-col"},Pe={class:"flex-1 min-h-full p-4 relative"},We=["id"],Re=["id","src","onLoad","onError","onClick"],je={class:"menu p-2 text-[#cbd5e1]"},ze={class:"prompt"},Ne={class:"flex justify-end items-end space-x-2"},Se=["onClick"],Be={class:"text-sm dark:text-slate-400"},De=s("span",null,"画同款",-1),He=["onClick"],Ee={class:"text-sm dark:text-slate-400"},Ue=s("span",null,"使用当前画同款",-1),Ae=["onClick"],Te={class:"text-sm dark:text-slate-400"},Fe=s("span",null,"复制提示词",-1),Oe=s("div",{id:"footer",class:"w-full absolute bottom-[350px]"},null,-1),Ve=H({__name:"index",props:{dataList:{},scaleWidth:{},isDrawLike:{type:Boolean},usePropmpt:{type:Boolean},copyPropmpt:{type:Boolean},gap:{default:5}},emits:["loadMore","usePropmptDraw"],setup(y,{emit:l}){var A;const c=ce(),n=y,f=l,g=(A=pe())==null?void 0:A.appContext.config.globalProperties.$viewerApi,L=we(),k=a({}),C=a(0),d=a(160),u=a(0),b=a([]),p=a(null),h=a(0),$=R(()=>c.isLogin),E=R(()=>n.scaleWidth?Number(n.scaleWidth)*2+n.gap+150:150),J=de();function K(){Q(),Y();const e=u.value,o=d.value,t=[];n.dataList.forEach((w,r)=>{const T=w.drawRatio.split("x"),ae=parseInt(T[0],10),re=parseInt(T[1],10),ie=o/ae,F=re*ie+n.gap+C.value,M=k.value[w.id];if(t.lengthle===O);M.style.top=`${O+0}px`,M.style.left=`${V*(d.value+n.gap)}px`,t[V]+=F}}),h.value=Math.max(...t)+100}function X(e,o){e&&o&&(k.value[o.id]=e)}function Q(){const{showName:e=0,showOther:o=0}={};C.value=[e,o].filter(t=>t).length*15}q(()=>n.scaleWidth,e=>{I()}),q(()=>n.dataList,e=>{e&&me(()=>{I()})},{immediate:!0});function Y(){if(!p.value)return;const e=p.value.clientWidth;u.value=Math.floor(e/E.value);const o=e-u.value*E.value,t=(u.value-1)*n.gap;o-t<0&&(u.value-=1),d.value=Math.floor((e-t)/u.value)}function Z(e,o){b.value.push(o.id)}function ee(e,o){b.value.push(o.id)}function te(e){if(!$.value)return c.setLoginDialog(!0);const{prompt:o}=e;ge({text:o}),L.success("复制prompt成功")}function se(e){J.push(`/midjourney?mjId=${e.id}`)}function oe(e){const{fullPrompt:o}=e;f("usePropmptDraw",o)}function ne(e){const{drawUrl:o}=e;g({options:{},images:[o]})}const U=R(()=>e=>{const o=e.drawRatio.split("x"),t=Number(o[0]);return Number(o[1])/(t/d.value)}),I=Ie(function(){K()},200);return G(async()=>{window.addEventListener("resize",I);const e=document.getElementById("footer");new IntersectionObserver((t,w)=>{t.forEach(r=>{r.isIntersecting&&f("loadMore")})}).observe(e)}),he(()=>{window.removeEventListener("resize",I)}),(e,o)=>(v(),x("div",Me,[s("div",Pe,[s("div",{id:"wapper",ref_key:"wapperRef",ref:p,class:"wapper",style:P({height:`${h.value}px`})},[(v(!0),x(ve,null,fe(e.dataList,(t,w)=>(v(),x("div",{id:t.id.toString(),key:w,ref_for:!0,ref:r=>X(r,t),class:"wapper-item",style:P({width:`${d.value}px`})},[_(_e,{name:"img",css:!0},{default:m(()=>[s("img",{id:t.id.toString(),class:"item-file rounded-sm",style:P({width:`${d.value}px`,height:`${U.value(t)}px`}),src:t.drawUrl,loading:"lazy",onLoad:r=>Z(r,t),onError:r=>ee(r,t),onClick:r=>ne(t)},null,44,Re)]),_:2},1024),s("div",je,[s("div",ze,D(t.fullPrompt),1),s("div",Ne,[e.isDrawLike?(v(),z(i(B),{key:0,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:N(r=>se(t),["stop"])},[s("span",Be,[_(i(S),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,Se)]),default:m(()=>[De]),_:2},1024)):W("",!0),e.usePropmpt?(v(),z(i(B),{key:1,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:N(r=>oe(t),["stop"])},[s("span",Ee,[_(i(S),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,He)]),default:m(()=>[Ue]),_:2},1024)):W("",!0),e.copyPropmpt?(v(),z(i(B),{key:2,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:N(r=>te(t),["stop"])},[s("span",Te,[_(i(S),{icon:"tabler:copy",class:"text-sm"})])],8,Ae)]),default:m(()=>[Fe]),_:2},1024)):W("",!0)])]),b.value.includes(t.id)?W("",!0):(v(),x("div",{key:0,class:"item-loading",style:P({width:`${d.value}px`,height:`${U.value(t)}px`})},null,4))],12,We))),128)),Oe],4)])]))}});const qe={class:"bg-white h-[100vh] overflow-hidden p-4 pr-0 dark:bg-gray-900 flex flex-col"},Ge={class:"p-4 flex pr-6 justify-between items-center"},Je={class:"font-bold text-xl"},Ke={class:"w-[200px] sm:w-[300px] flex justify-between"},Xe={class:"hidden sm:block"},Qe={class:"flex-1 ml-5"},Ye={class:"px-4 mb-1 pr-5"},Ze={class:"market overflow-y-scroll flex-1 min-h-screen p-4 relative"},it=H({__name:"index",setup(y){const l=a([]),c=a(null),n=a(50),f=a(""),g=a(1),L=a(20),k=a(!1),C=a(!0),d=R(()=>f.value?l.value.filter(p=>{const{prompt:h}=p;return h.includes(f.value)}):l.value);async function u(){k.value=!0;const p=await ue({page:g.value,size:L.value,rec:1});k.value=!1,C.value=L.value===p.data.rows.length,l.value=[...l.value,...p.data.rows]}G(async()=>{await u()});function b(){g.value=g.value+1,u()}return(p,h)=>(v(),x("div",qe,[s("div",Ge,[s("div",Je,D(i(j)("draw.aiDrawingSquare")),1),s("div",Ke,[s("span",Xe,D(i(j)("draw.sizeAdjustment")),1),s("div",Qe,[_(i(xe),{value:n.value,"onUpdate:value":h[0]||(h[0]=$=>n.value=$),step:10},null,8,["value"])])])]),s("div",Ye,[_(i(ye),{value:f.value,"onUpdate:value":h[1]||(h[1]=$=>f.value=$),placeholder:i(j)("draw.keywordSearchPlaceholder")},{prefix:m(()=>[_(i(ke),{component:i(Ce)},null,8,["component"])]),_:1},8,["value","placeholder"])]),s("div",Ze,[s("div",{id:"wapper",ref_key:"wapperRef",ref:c,class:"wapper"},[_(Ve,{onLoadMore:b,copyPropmpt:"",isDrawLike:"",dataList:d.value,scaleWidth:n.value},null,8,["dataList","scaleWidth"])],512)])]))}});export{it as default}; diff --git a/public/assets/index-f18c0167.css b/public/assets/index-f18c0167.css deleted file mode 100644 index c6e5b35..0000000 --- a/public/assets/index-f18c0167.css +++ /dev/null @@ -1 +0,0 @@ -.wechat-shadow{box-shadow:0 8px 10px 1px #00000029}.sidebar{overflow:hidden;width:calc(100% - 5px)}.sidebar:hover{width:100%;overflow:overlay}.overlay{overflow:hidden}.overlay:hover{width:100%;overflow:overlay}.active_bar{border-width:1px} diff --git a/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js b/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js deleted file mode 100644 index e2abe94..0000000 --- a/public/assets/index.vue_vue_type_script_setup_true_lang-d25a7e27.js +++ /dev/null @@ -1 +0,0 @@ -import{X as i,r as T,e as n,d as F,a as fe,f as pe,w as K,l as re,F as R,S as o,U as p,a3 as a,ae as Ge,c as W,a4 as v,M as t,a6 as ae,k as me,a7 as Ee,V as P,a5 as $,W as w,z as ye,a8 as A,ab as We,H as ie,v as Oe}from"./vue-10b4afc0.js";import{w as Q,t as h,o as he,q as Ve,e as ve,a as ke,N as Ke,u as He}from"./index-d64a7cc4.js";import{_ as qe}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{u as be}from"./useBasicLayout-a4f17bae.js";import{I as le,d as xe,e as Re,s as Fe,o as Ze,E as Je,T as Xe,f as ue,S as we,M as _e,b as V,g as Ce,U as ce,D as Qe,A as Ye,C as et,a as tt,c as at,L as lt}from"./menu-19bde8fc.js";import{e as st,G as Se,d as ot,R as nt}from"./naive-ui-fedd20b1.js";const rt=le("application-two",!1,function(e){return i("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i("circle",{cx:"34.5",cy:"13.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),i("circle",{cx:"34.5",cy:"34.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),i("circle",{cx:"13.5",cy:"13.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null),i("circle",{cx:"13.5",cy:"34.5",r:"6.5",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),de=le("down",!1,function(e){return i("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ge=le("up",!1,function(e){return i("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});function it(e,d,g){let f=T(g==null?void 0:g.value),r=n(()=>e.value!==void 0);return[n(()=>r.value?e.value:f.value),function(l){return r.value||(f.value=l),d==null?void 0:d(l)}]}var $e=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))($e||{});let ut=F({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:d,attrs:g}){return()=>{var f;let{features:r,...l}=e,E={"aria-hidden":(r&2)===2?!0:(f=l["aria-hidden"])!=null?f:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return xe({ourProps:E,theirProps:l,slot:{},attrs:g,slots:d,name:"Hidden"})}}});function ct(e){var d,g;let f=(d=e==null?void 0:e.form)!=null?d:e.closest("form");if(f){for(let r of f.elements)if(r!==e&&(r.tagName==="INPUT"&&r.type==="submit"||r.tagName==="BUTTON"&&r.type==="submit"||r.nodeName==="INPUT"&&r.type==="image")){r.click();return}(g=f.requestSubmit)==null||g.call(f)}}let dt=Symbol("GroupContext"),gt=F({name:"Switch",emits:{"update:modelValue":e=>!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(e,{emit:d,attrs:g,slots:f,expose:r}){var l;let E=(l=e.id)!=null?l:`headlessui-switch-${Re()}`,z=fe(dt,null),[j,_]=it(n(()=>e.modelValue),s=>d("update:modelValue",s),n(()=>e.defaultChecked));function N(){_(!j.value)}let b=T(null),C=z===null?b:z.switchRef,I=Fe(n(()=>({as:e.as,type:g.type})),C);r({el:C,$el:C});function x(s){s.preventDefault(),N()}function k(s){s.key===ue.Space?(s.preventDefault(),N()):s.key===ue.Enter&&ct(s.currentTarget)}function B(s){s.preventDefault()}let G=n(()=>{var s,m;return(m=(s=Ze(C))==null?void 0:s.closest)==null?void 0:m.call(s,"form")});return pe(()=>{K([G],()=>{if(!G.value||e.defaultChecked===void 0)return;function s(){_(e.defaultChecked)}return G.value.addEventListener("reset",s),()=>{var m;(m=G.value)==null||m.removeEventListener("reset",s)}},{immediate:!0})}),()=>{let{name:s,value:m,form:M,tabIndex:O,...H}=e,Z={checked:j.value},q={id:E,ref:C,role:"switch",type:I.value,tabIndex:O===-1?0:O,"aria-checked":j.value,"aria-labelledby":z==null?void 0:z.labelledby.value,"aria-describedby":z==null?void 0:z.describedby.value,onClick:x,onKeyup:k,onKeypress:B};return re(R,[s!=null&&j.value!=null?re(ut,Je({features:$e.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:j.value,form:M,disabled:H.disabled,name:s,value:m})):null,xe({ourProps:q,theirProps:{...g,...Xe(H,["modelValue","defaultChecked"])},slot:Z,attrs:g,slots:f,name:"Switch"})])}}});function ft(e,d){return o(),p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function pt(e,d){return o(),p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])}function mt(e,d){let g;return(...f)=>{const r=()=>{clearTimeout(g),e(...f)};clearTimeout(g),g=setTimeout(r,d)}}const yt={class:"mt-3 mb-1 text-xs font-bold"},ht={class:"ml-1"},vt=["onClick"],kt={class:"flex items-center"},bt=["onUpdate:modelValue","onKeypress"],xt={key:1,class:"flex-1 truncate max-w-48"},wt={key:0,class:"absolute z-10 right-2"},_t={class:"py-1"},Ct=["onClick"],St=["onClick"],$t=["onClick"],te=F({__name:"ListItem",props:{dataSources:{},title:{}},emits:["update","delete","sticky","select"],setup(e,{emit:d}){const g=e,f=d,r=g.dataSources,l=Q();async function E(x){f("select",x)}function z(x,k,B){B==null||B.stopPropagation(),x.isEdit=k}async function j(x,k){k==null||k.stopPropagation(),await l.updateGroupInfo({isSticky:!x.isSticky,groupId:x.uuid})}async function _(x,k){k==null||k.stopPropagation(),f("delete",x)}const N=mt(_,600);async function b(x){const{uuid:k,title:B}=x;x.isEdit=!1,await l.updateGroupInfo({groupId:k,title:B})}async function C(x,k){k==null||k.stopPropagation(),k.key==="Enter"&&b(x)}function I(x){return l.active===x}return(x,k)=>{var G;const B=Ge("focus");return o(),p(R,null,[a("p",yt,[W(v(g.title)+" ",1),a("span",ht,"("+v((G=t(r))==null?void 0:G.length)+")",1)]),(o(!0),p(R,null,ae(t(r),s=>(o(),p("div",{key:`${s.uuid}`},[a("div",{class:A(["relative flex items-center gap-3 px-3 py-2 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm",I(s.uuid)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["text-gray-700","dark:bg-gray-900","dark:text-gray-400"]]),onClick:m=>E(s)},[a("div",kt,[s.isEdit?me((o(),p("input",{key:0,"onUpdate:modelValue":m=>s.title=m,type:"text",class:"bg-transparent border border-gray-200 dark:border-gray-400 px-1 shadow-none flex-1 truncate",onKeypress:m=>C(s,m)},null,40,bt)),[[Ee,s.title],[B]]):(o(),p("span",xt,v(s.title),1)),s.isEdit?(o(),P(t(ft),{key:2,class:"h-5 w-5 ml-2","aria-hidden":"true",onClick:m=>b(s)},null,8,["onClick"])):$("",!0)]),I(s.uuid)?(o(),p("div",wt,[s.isEdit?$("",!0):(o(),P(t(Ce),{key:0,as:"div",class:"relative inline-block text-left"},{default:w(()=>[i(t(we),{class:"p-1"},{default:w(()=>[i(t(pt),{class:"h-5 w-5","aria-hidden":"true"})]),_:1}),i(ye,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:w(()=>[i(t(_e),{class:"absolute right-0 z-10 mt-2 w-32 text-gray-700 dark:text-gray-400 origin-top-right text-b rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bg-primary-100 dark:bg-gray-800"},{default:w(()=>[a("div",_t,[i(t(V),{as:"template"},{default:w(({active:m})=>[a("button",{class:A([m?"flex items-center bg-gray-100 dark:bg-gray-700 ":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:M=>z(s,!0,M)},v(t(h)("chat.rename")),11,Ct)]),_:2},1024),i(t(V),{as:"template"},{default:w(({active:m})=>[a("button",{class:A([m?"flex items-end mr-3 bg-gray-100 dark:bg-gray-700":"flex items-end ","block w-full px-4 py-2 text-left text-sm"]),onClick:M=>j(s,M)},v(s.isSticky?t(h)("chat.unfavorite"):t(h)("chat.favoriteConversations")),11,St)]),_:2},1024),i(t(V),{as:"template"},{default:w(({active:m})=>[a("button",{class:A([m?"flex items-center bg-gray-100 dark:bg-gray-700":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:M=>t(N)(s,M)},v(t(h)("chat.deleteConversation")),11,$t)]),_:2},1024)])]),_:2},1024)]),_:2},1024)]),_:2},1024))])):$("",!0)],10,vt)]))),128))],64)}}}),jt={class:"flex flex-col gap-3 text-sm"},Tt={key:0,class:"flex flex-col items-center mt-4 text-center text-neutral-300"},Nt={class:"mt-3 mb-1 text-xs font-bold"},It=["onClick"],Mt={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden"},Lt=["src"],Dt={key:1,class:"text-sm font-medium"},At=F({__name:"List",setup(e){const{isMobile:d}=be(),g=he(),f=Ve(),r=ve(),l=Q(),E=ke(),z=st(),j=T(100),_=Ke(),N=T(!1),b=T(!1),C=n(()=>l.groupList),I=n(()=>l.groupKeyWord);K(C,()=>j.value=j.value+1),K(I,()=>j.value=j.value+1);const x=n(()=>l.isStreamIn!==void 0?l.isStreamIn:!1);n(()=>E.isLogin);const k=fe("createNewChatGroup",async u=>{}),B=n(()=>_.mineApps);function G(u){const U=new Date(u).getTime()+8*60*60*1e3;return new Date(U).getTime()}const s=new Date().setHours(0,0,0,0),m=n(()=>C.value.filter(u=>I.value?u.title.includes(I.value)&&u.isSticky:u.isSticky)),M=n(()=>C.value.filter(u=>I.value?u.title.includes(I.value)&&!u.isSticky&&G(u.updatedAt)>=s:!u.isSticky&&G(u.updatedAt)>=s)),O=n(()=>C.value.filter(u=>I.value?u.title.includes(I.value)&&!u.isSticky&&G(u.updatedAt)E.isLogin,(u,S)=>{u===!0&&(_.queryMineApps(),l.queryMyGroup())},{immediate:!0}),(u,S)=>(o(),P(t(Se),{class:"px-4"},{default:w(()=>[a("div",jt,[C.value.length?(o(),p(R,{key:1},[a("p",Nt,v(t(h)("chat.myApps")),1),(o(!0),p(R,null,ae(b.value?B.value:B.value.slice(0,4),U=>(o(),p("div",{key:U.appId,onClick:Y=>Z(U.appId),class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'"},[a("div",Mt,[U.coverImg?(o(),p("img",{key:0,src:U.coverImg,alt:"app cover",class:"w-full h-full object-cover"},null,8,Lt)):(o(),p("span",Dt,v(U.appName.charAt(0)),1))]),a("button",null,v(U.appName),1)],8,It))),128)),B.value.length>4?(o(),p("button",{key:0,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:S[0]||(S[0]=U=>b.value=!b.value)},[W(v(b.value?t(h)("chat.collapse"):t(h)("chat.more"))+" ",1),b.value?(o(),P(t(ge),{key:1,theme:"outline",size:"20"})):(o(),P(t(de),{key:0,theme:"outline",size:"20"}))])):$("",!0),a("div",{class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'",onClick:X},[i(t(rt),{theme:"outline",size:"25",class:"ml-1 mr-1 text-sm my-1 text-gray-600"}),W(" "+v(t(h)("chat.appSquare")),1)]),m.value.length?(o(),P(te,{key:`stickyList-${N.value}-${m.value}`,title:t(h)("chat.favorites"),"data-sources":N.value?m.value:m.value.slice(0,5),onSelect:H,onDelete:q},null,8,["title","data-sources"])):$("",!0),m.value.length>5?(o(),p("button",{key:2,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:S[1]||(S[1]=U=>N.value=!N.value)},[W(v(N.value?t(h)("chat.collapse"):t(h)("chat.more"))+" ",1),N.value?(o(),P(t(ge),{key:1,theme:"outline",size:"20"})):(o(),P(t(de),{key:0,theme:"outline",size:"20"}))])):$("",!0),M.value.length?(o(),P(te,{key:3e3+j.value,title:t(h)("chat.todayConversations"),"data-sources":M.value,onSelect:H,onDelete:q},null,8,["title","data-sources"])):$("",!0),O.value.length?(o(),P(te,{key:4e3+j.value,title:t(h)("chat.historyConversations"),"data-sources":O.value,onSelect:H,onDelete:q},null,8,["title","data-sources"])):$("",!0)],64)):(o(),p("div",Tt,[i(t(qe),{icon:"ri:inbox-line",class:"mb-2 text-3xl"}),a("span",null,v(u.$t("common.noData")),1)]))])]),_:1}))}}),zt={class:"flex flex-col gap-3 text-sm"},Pt={class:"flex items-center justify-between w-full my-1"},Bt={class:"flex items-center space-x-2"},Ut={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},Gt=["src"],Et={key:1,class:"text-sm font-medium"},Wt={class:"line-clamp-1 overflow-hidden text-ellipsis w-32 block whitespace-nowrap font-medium text-base text-gray-600 dark:text-gray-400"},Ot=a("span",{"aria-hidden":"true",class:"pointer-events-none absolute h-full w-full rounded-full bg-white dark:bg-transparent"},null,-1),Vt={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 mb-2"},Kt=F({__name:"Plugin",setup(e){const d=Q(),g=T(100),f=n(()=>d.groupList),r=n(()=>d.groupKeyWord),l=[],E=n(()=>{var _;return(_=d.pluginList)!=null&&_.length?d.pluginList:l});K(f,()=>g.value=g.value+1),K(r,()=>g.value=g.value+1);const z=n(()=>d.currentPlugin);f.value.filter(_=>r.value?_.title.includes(r.value)&&_.isSticky:_.isSticky);function j(_){var N;((N=z.value)==null?void 0:N.parameters)===_.parameters?d.setUsingPlugin(null):d.setUsingPlugin(_)}return pe(()=>{d.queryPlugins(),d.queryMyGroup()}),(_,N)=>(o(),P(t(Se),{class:"px-4 py-2 bg-gray"},{default:w(()=>[a("div",zt,[(o(!0),p(R,null,ae(E.value,b=>(o(),p("div",{key:b.parameters,class:"select-none relative h-26 bg-white shadow flex flex-col items-start gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm text-gray-700 dark:bg-gray-900 dark:text-gray-400"},[a("div",Pt,[a("div",Bt,[a("div",Ut,[b.pluginImg?(o(),p("img",{key:0,src:b.pluginImg,alt:"App cover",class:"w-full h-full object-cover"},null,8,Gt)):(o(),p("span",Et,v(b.pluginName.charAt(0)),1))]),a("span",Wt,v(b.pluginName),1)]),i(t(gt),{class:A(["group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none"]),onClick:We(C=>j(b),["prevent"])},{default:w(()=>{var C,I;return[Ot,a("span",{"aria-hidden":"true",class:A([((C=z.value)==null?void 0:C.parameters)===b.parameters?"bg-indigo-600":"bg-gray-200 dark:bg-gray-700","pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out"])},null,2),a("span",{"aria-hidden":"true",class:A([((I=z.value)==null?void 0:I.parameters)===b.parameters?"translate-x-5":"translate-x-0","pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-500 shadow ring-0 transition-transform duration-200 ease-in-out"])},null,2)]}),_:2},1032,["onClick"])]),a("div",null,[a("span",Vt,v(b.description),1)])]))),128))])]),_:1}))}}),Ht={class:"flex flex-col h-full flex-1"},qt={class:"flex bg-gray-50 w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},Rt={class:"w-full flex justify-center space-x-2 font-medium rounded-full bg-gray-100 dark:bg-gray-800 shadow-sm"},Ft={class:"flex-1 min-h-0 overflow-hidden"},Zt={class:"p-4 pb-1 pt-1 border-t-gray-100 dark:border-t-gray-800 flex items-center justify-between text-left w-full"},Jt={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},Xt=["src"],Qt={class:"py-1"},Yt=a("button",{type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-gray-50 dark:hover:bg-gray-800 w-full"},[a("span",null,"登录 / 注册")],-1),ea=[Yt],ta={type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-gray-50 dark:hover:bg-gray-800 w-full"},aa={key:0,class:"w-full flex justify-center items-center pb-3 text-xs text-gray-500"},la={class:"ml-2 transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",href:"https://beian.miit.gov.cn",target:"_blank"},ca=F({__name:"index",setup(e){const d=He(),g=he(),f=ve(),r=Q(),l=ke(),E=T(null),z=T(null),j=T(null),_=n(()=>{var y;return Number((y=l.globalConfig)==null?void 0:y.signInStatus)===1}),N=n(()=>{var y;return Number((y=l.globalConfig)==null?void 0:y.isHideSidebar)===1}),b=n(()=>f.theme==="dark"),C=n(()=>l.userBalance),I=ot(),x=T(0),k=T(0),B=T(0),G=T(0),s=T(0),m=T(0),{isMobile:M}=be(),O=n(()=>l.isLogin);n(()=>l.globalConfig.clientLogoPath),n(()=>l.globalConfig.clientHomePath||"/");const H=n(()=>l.globalConfig.model3Name||h("chat.ordinaryPoints")),Z=n(()=>l.globalConfig.model4Name)||h("chat.advancedPoints"),q=n(()=>l.globalConfig.drawMjName)||h("chat.drawingPoints"),J=n(()=>Number(l.globalConfig.pluginFirst)===1),X=n(()=>l.userInfo.avatar),u=n(()=>f.siderCollapsed);T("");const S=T(J.value?"plugin":"chat");T(!1);const U=n(()=>l.globalConfig),Y=n(()=>{var y,c;return((y=U.value)==null?void 0:y.companyName)&&((c=U.value)==null?void 0:c.filingNumber)}),je=n(()=>r.groupList.find(c=>c.uuid===r.active)),Te=n(()=>{var y;try{return JSON.parse(((y=je.value)==null?void 0:y.config)||"{}")}catch{return{}}}),Ne=n(()=>r==null?void 0:r.activeModelDeductType),se=n(()=>{const y=Te.value.deductType||Ne.value;let c,L;switch(y){case 1:c=C.value.sumModel3Count||0,L=H.value;break;case 2:c=C.value.sumModel4Count||0,L=Z.value;break;case 3:c=C.value.sumDrawMjCount||0,L=q.value;break;default:c=0,L=h("chat.points")}return{remainingPoints:c,buttonText:L}});async function Ie(){await Me(),g.replace({path:"user-center"})}async function Me(){return new Promise(y=>{setTimeout(()=>{l.isLogin||g.replace({path:"login"}),y()},100)})}function Le(){const y=b.value?"light":"dark";f.setTheme(y)}async function De(){I.warning({title:h("chat.clearConversation"),content:h("chat.clearAllNonFavoriteConversations"),positiveText:h("common.confirm"),negativeText:h("common.cancel"),onPositiveClick:async()=>{await r.delAllGroup()}})}function oe(){f.setSiderCollapsed(!u.value)}function Ae(){O.value?l.logOut():l.setLoginDialog(!0)}function ze(){if(!O.value){l.setLoginDialog(!0);return}d.updateSignInDialog(!0)}function Pe(){l.logOut(),g.push("/")}const Be=n(()=>M.value?{position:"fixed",zIndex:50}:{}),Ue=n(()=>M.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{});return K(M,y=>{f.setSiderCollapsed(y)},{immediate:!0,flush:"post"}),K(()=>l.userBalance.useModel3Token,(y,c)=>{var L;x.value=c||0,k.value=y||0,(L=E.value)==null||L.play()},{immediate:!0,flush:"post"}),K(()=>l.userBalance.useModel4Token,(y,c)=>{var L;B.value=c||0,G.value=y||0,(L=z.value)==null||L.play()},{immediate:!0,flush:"post"}),K(()=>l.userBalance.useDrawMjToken,(y,c)=>{var L;s.value=c||0,m.value=y||0,(L=j.value)==null||L.play()},{immediate:!0,flush:"post"}),(y,c)=>(o(),p("div",null,[i(t(nt),{collapsed:u.value,"collapsed-width":0,width:260,"collapse-mode":"transform",position:"absolute",bordered:"",style:ie(Be.value),onUpdateCollapsed:oe},{default:w(()=>{var L,ne;return[a("div",{class:"flex flex-col h-full bg-gray-50 dark:bg-gray-900 select-none",style:ie(Ue.value)},[a("main",Ht,[a("div",qt,[a("div",Rt,[J.value?(o(),p("button",{key:0,onClick:c[0]||(c[0]=D=>S.value="plugin"),class:A([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":S.value==="plugin","dark:text-gray-400":S.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2)):$("",!0),a("button",{onClick:c[1]||(c[1]=D=>S.value="chat"),class:A([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":S.value==="chat","":S.value!=="chat"},"block w-full rounded-full focus:outline-none py-1 dark:text-gray-600"])}," 对话 ",2),J.value?$("",!0):(o(),p("button",{key:1,onClick:c[2]||(c[2]=D=>S.value="plugin"),class:A([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":S.value==="plugin","dark:text-gray-400":S.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2))])]),a("div",Ft,[S.value==="chat"?(o(),P(At,{key:0})):$("",!0),S.value==="plugin"?(o(),P(Kt,{key:1})):$("",!0)]),a("div",Zt,[O.value&&(t(M)||N.value)?(o(),P(t(Ce),{key:0,as:"div",class:"relative inline-block text-left"},{default:w(()=>[a("div",null,[i(t(we),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md pr-3 py-2 text-sm font-semibold dark:text-gray-400 text-gray-700"},{default:w(()=>[a("div",Jt,[X.value?(o(),p("img",{key:0,src:X.value,class:"w-full h-full object-cover"},null,8,Xt)):$("",!0),X.value?$("",!0):(o(),P(t(ce),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),i(ye,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:w(()=>[i(t(_e),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900 z-50"},{default:w(()=>[a("div",Qt,[i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([[D?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:De},[i(t(Qe),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.clear")),1)],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[3]||(c[3]=ee=>t(d).updateNoticeDialog(!0))},[i(t(Ye),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.announcement")),1)],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[4]||(c[4]=ee=>t(d).updateGoodsDialog(!0))},[i(t(et),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.pointsMall")),1)],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le},[i(t(tt),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.toggleTheme")),1)],2)]),_:1}),_.value?(o(),P(t(V),{key:0},{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ze},[i(t(at),{theme:"outline",size:"16",class:"mr-2"}),W(" "+v(t(h)("chat.signInReward")),1)],2)]),_:1})):$("",!0),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[5]||(c[5]=ee=>Ie())},[i(t(ce),{theme:"outline",size:"16",class:"mr-2"}),W(" 个人中心 ")],2)]),_:1}),i(t(V),null,{default:w(({active:D})=>[a("a",{href:"#",class:A([D?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:c[6]||(c[6]=ee=>Pe())},[i(t(lt),{theme:"outline",size:"16",class:"mr-2"}),W(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):$("",!0),O.value?$("",!0):(o(),p("div",{key:1,onClick:Ae,class:"flex flex-1 items-center justify-center cursor-pointer"},ea)),O.value?(o(),p("div",{key:2,onClick:c[7]||(c[7]=D=>t(d).updateGoodsDialog(!0)),class:"flex flex-1 items-center justify-center cursor-pointer"},[a("button",ta,[a("span",null,v(t(h)("chat.remaining")+`${se.value.remainingPoints} ${se.value.buttonText}`),1)])])):$("",!0)]),Y.value&&t(M)?(o(),p("div",aa,[W(" 版权所有 © "+v((L=U.value)==null?void 0:L.companyName)+" ",1),a("a",la,v((ne=U.value)==null?void 0:ne.filingNumber),1)])):$("",!0)])],4)]}),_:1},8,["collapsed","style"]),t(M)?me((o(),p("div",{key:0,class:"fixed inset-0 z-40 bg-black/40",onClick:oe},null,512)),[[Oe,!u.value]]):$("",!0)]))}});export{de as D,ca as _}; diff --git a/public/assets/index.vue_vue_type_script_setup_true_lang-f425914e.js b/public/assets/index.vue_vue_type_script_setup_true_lang-f425914e.js deleted file mode 100644 index 6a00243..0000000 --- a/public/assets/index.vue_vue_type_script_setup_true_lang-f425914e.js +++ /dev/null @@ -1 +0,0 @@ -import{$ as t}from"./index-d64a7cc4.js";import{d as n,ag as a,e as r,V as c,u as i,M as p,S as m}from"./vue-10b4afc0.js";const f=n({__name:"index",props:{icon:{}},setup(l){const s=a(),e=r(()=>({class:s.class||"",style:s.style||"width: 1em, height: 1em"}));return(o,u)=>(m(),c(p(t),i({icon:o.icon},e.value),null,16,["icon"]))}});export{f as _}; diff --git a/public/assets/menu-19bde8fc.js b/public/assets/menu-19bde8fc.js deleted file mode 100644 index 559058e..0000000 --- a/public/assets/menu-19bde8fc.js +++ /dev/null @@ -1,4 +0,0 @@ -import{a as E,X as d,n as j,y as S,r as y,e as L,f as q,B as le,l as ie,F as ae,p as X,d as P,G as ue}from"./vue-10b4afc0.js";var se={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function ce(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function de(e,t,n){var o=typeof t.fill=="string"?[t.fill]:t.fill||[],i=[],l=t.theme||n.theme;switch(l){case"outline":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push("none"),i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push("none");break;case"filled":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push("#FFF"),i.push("#FFF");break;case"two-tone":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[1]=="string"?o[1]:n.colors.twoTone.twoTone),i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[1]=="string"?o[1]:n.colors.twoTone.twoTone);break;case"multi-color":i.push(typeof o[0]=="string"?o[0]:"currentColor"),i.push(typeof o[1]=="string"?o[1]:n.colors.multiColor.outFillColor),i.push(typeof o[2]=="string"?o[2]:n.colors.multiColor.innerStrokeColor),i.push(typeof o[3]=="string"?o[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:i,id:e}}var fe=Symbol("icon-context");function I(e,t,n){var o={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(l){var r=ce(),u=E(fe,se);return function(){var v=l.size,m=l.strokeWidth,k=l.strokeLinecap,h=l.strokeLinejoin,a=l.theme,c=l.fill,s=l.spin,f=de(r,{size:v,strokeWidth:m,strokeLinecap:k,strokeLinejoin:h,theme:a,fill:c},u),g=[u.prefix+"-icon"];return g.push(u.prefix+"-icon-"+e),t&&u.rtl&&g.push(u.prefix+"-icon-rtl"),s&&g.push(u.prefix+"-icon-spin"),d("span",{class:g.join(" ")},[n(f)])}}};return o}const Ke=I("announcement",!0,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("rect",{x:"4",y:"15",width:"40",height:"26",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M24 7L16 15H32L24 7Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M12 24H30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M12 32H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ge=I("calendar",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M5 19H43V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V19Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M5 9C5 7.89543 5.89543 7 7 7H41C42.1046 7 43 7.89543 43 9V19H5V9Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M16 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M32 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M28 34H34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M14 34H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M28 26H34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M14 26H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qe=I("commodity",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M9.78101 9.75193C9.90612 8.75107 10.7569 8 11.7656 8H36.2344C37.2431 8 38.0939 8.75107 38.219 9.75193L41.719 37.7519C41.8682 38.9456 40.9374 40 39.7344 40H8.26556C7.06257 40 6.1318 38.9456 6.28101 37.7519L9.78101 9.75193Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M15 18C15 18 17 22 24 22C31 22 33 18 33 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xe=I("delete-themes",!0,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 15H40L37 44H11L8 15Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M20.002 25.0024V35.0026",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),d("path",{d:"M28.0024 24.9995V34.9972",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),d("path",{d:"M12 14.9999L28.3242 3L36 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qe=I("logout",!0,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ye=I("sun-one",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("path",{d:"M24 37C31.1797 37 37 31.1797 37 24C37 16.8203 31.1797 11 24 11C16.8203 11 11 16.8203 11 24C11 31.1797 16.8203 37 24 37Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M24 6C25.3807 6 26.5 4.88071 26.5 3.5C26.5 2.11929 25.3807 1 24 1C22.6193 1 21.5 2.11929 21.5 3.5C21.5 4.88071 22.6193 6 24 6Z",fill:e.colors[0]},null),d("path",{d:"M38.5 12C39.8807 12 41 10.8807 41 9.5C41 8.11929 39.8807 7 38.5 7C37.1193 7 36 8.11929 36 9.5C36 10.8807 37.1193 12 38.5 12Z",fill:e.colors[0]},null),d("path",{d:"M44.5 26.5C45.8807 26.5 47 25.3807 47 24C47 22.6193 45.8807 21.5 44.5 21.5C43.1193 21.5 42 22.6193 42 24C42 25.3807 43.1193 26.5 44.5 26.5Z",fill:e.colors[0]},null),d("path",{d:"M38.5 41C39.8807 41 41 39.8807 41 38.5C41 37.1193 39.8807 36 38.5 36C37.1193 36 36 37.1193 36 38.5C36 39.8807 37.1193 41 38.5 41Z",fill:e.colors[0]},null),d("path",{d:"M24 47C25.3807 47 26.5 45.8807 26.5 44.5C26.5 43.1193 25.3807 42 24 42C22.6193 42 21.5 43.1193 21.5 44.5C21.5 45.8807 22.6193 47 24 47Z",fill:e.colors[0]},null),d("path",{d:"M9.5 41C10.8807 41 12 39.8807 12 38.5C12 37.1193 10.8807 36 9.5 36C8.11929 36 7 37.1193 7 38.5C7 39.8807 8.11929 41 9.5 41Z",fill:e.colors[0]},null),d("path",{d:"M3.5 26.5C4.88071 26.5 6 25.3807 6 24C6 22.6193 4.88071 21.5 3.5 21.5C2.11929 21.5 1 22.6193 1 24C1 25.3807 2.11929 26.5 3.5 26.5Z",fill:e.colors[0]},null),d("path",{d:"M9.5 12C10.8807 12 12 10.8807 12 9.5C12 8.11929 10.8807 7 9.5 7C8.11929 7 7 8.11929 7 9.5C7 10.8807 8.11929 12 9.5 12Z",fill:e.colors[0]},null)])}),Je=I("user",!1,function(e){return d("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[d("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),d("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});let ve=Symbol("headlessui.useid"),he=0;function W(){return E(ve,()=>`${++he}`)()}function b(e){var t;if(e==null||e.value==null)return null;let n=(t=e.value.$el)!=null?t:e.value;return n instanceof Node?n:null}function T(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,T),o}var me=Object.defineProperty,ke=(e,t,n)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>(ke(e,typeof t!="symbol"?t+"":t,n),n);let ge=class{constructor(){V(this,"current",this.detect()),V(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},H=new ge;function z(e){if(H.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=b(e);if(t)return t.ownerDocument}return document}let N=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var $=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))($||{}),we=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(we||{}),be=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(be||{});function Q(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(N)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var B=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(B||{});function U(e,t=0){var n;return e===((n=z(e))==null?void 0:n.body)?!1:T(t,{0(){return e.matches(N)},1(){let o=e;for(;o!==null;){if(o.matches(N))return!0;o=o.parentElement}return!1}})}function Y(e){let t=z(e);j(()=>{t&&!U(t.activeElement,0)&&ye(e)})}var pe=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(pe||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function ye(e){e==null||e.focus({preventScroll:!0})}let Ce=["textarea","input"].join(",");function Le(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Ce))!=null?n:!1}function J(e,t=n=>n){return e.slice().sort((n,o)=>{let i=t(n),l=t(o);if(i===null||l===null)return 0;let r=i.compareDocumentPosition(l);return r&Node.DOCUMENT_POSITION_FOLLOWING?-1:r&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function je(e,t){return Ie(Q(),t,{relativeTo:e})}function Ie(e,t,{sorted:n=!0,relativeTo:o=null,skipElements:i=[]}={}){var l;let r=(l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?l:document,u=Array.isArray(e)?n?J(e):e:Q(e);i.length>0&&u.length>1&&(u=u.filter(s=>!i.includes(s))),o=o??r.activeElement;let v=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(o))-1;if(t&4)return Math.max(0,u.indexOf(o))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),k=t&32?{preventScroll:!0}:{},h=0,a=u.length,c;do{if(h>=a||h+a<=0)return 0;let s=m+h;if(t&16)s=(s+a)%a;else{if(s<0)return 3;if(s>=a)return 1}c=u[s],c==null||c.focus(k),h+=v}while(c!==r.activeElement);return t&6&&Le(c)&&c.select(),2}function Me(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Se(){return/Android/gi.test(window.navigator.userAgent)}function xe(){return Me()||Se()}function F(e,t,n){H.isServer||S(o=>{document.addEventListener(e,t,n),o(()=>document.removeEventListener(e,t,n))})}function Fe(e,t,n){H.isServer||S(o=>{window.addEventListener(e,t,n),o(()=>window.removeEventListener(e,t,n))})}function Ee(e,t,n=L(()=>!0)){function o(l,r){if(!n.value||l.defaultPrevented)return;let u=r(l);if(u===null||!u.getRootNode().contains(u))return;let v=function m(k){return typeof k=="function"?m(k()):Array.isArray(k)||k instanceof Set?k:[k]}(e);for(let m of v){if(m===null)continue;let k=m instanceof HTMLElement?m:b(m);if(k!=null&&k.contains(u)||l.composed&&l.composedPath().includes(k))return}return!U(u,B.Loose)&&u.tabIndex!==-1&&l.preventDefault(),t(l,u)}let i=y(null);F("pointerdown",l=>{var r,u;n.value&&(i.value=((u=(r=l.composedPath)==null?void 0:r.call(l))==null?void 0:u[0])||l.target)},!0),F("mousedown",l=>{var r,u;n.value&&(i.value=((u=(r=l.composedPath)==null?void 0:r.call(l))==null?void 0:u[0])||l.target)},!0),F("click",l=>{xe()||i.value&&(o(l,()=>i.value),i.value=null)},!0),F("touchend",l=>o(l,()=>l.target instanceof HTMLElement?l.target:null),!0),Fe("blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function _(e,t){if(e)return e;let n=t??"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Pe(e,t){let n=y(_(e.value.type,e.value.as));return q(()=>{n.value=_(e.value.type,e.value.as)}),S(()=>{var o;n.value||b(t)&&b(t)instanceof HTMLButtonElement&&!((o=b(t))!=null&&o.hasAttribute("type"))&&(n.value="button")}),n}function Z(e){return[e.screenX,e.screenY]}function Te(){let e=y([-1,-1]);return{wasMoved(t){let n=Z(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Z(t)}}}function Oe({container:e,accept:t,walk:n,enabled:o}){S(()=>{let i=e.value;if(!i||o!==void 0&&!o.value)return;let l=z(e);if(!l)return;let r=Object.assign(v=>t(v),{acceptNode:t}),u=l.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,r,!1);for(;u.nextNode();)n(u.currentNode)})}var R=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(R||{}),De=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(De||{});function O({visible:e=!0,features:t=0,ourProps:n,theirProps:o,...i}){var l;let r=te(o,n),u=Object.assign(i,{props:r});if(e||t&2&&r.static)return A(u);if(t&1){let v=(l=r.unmount)==null||l?0:1;return T(v,{0(){return null},1(){return A({...i,props:{...r,hidden:!0,style:{display:"none"}}})}})}return A(u)}function A({props:e,attrs:t,slots:n,slot:o,name:i}){var l,r;let{as:u,...v}=Ae(e,["unmount","static"]),m=(l=n.default)==null?void 0:l.call(n,o),k={};if(o){let h=!1,a=[];for(let[c,s]of Object.entries(o))typeof s=="boolean"&&(h=!0),s===!0&&a.push(c);h&&(k["data-headlessui-state"]=a.join(" "))}if(u==="template"){if(m=ee(m??[]),Object.keys(v).length>0||Object.keys(t).length>0){let[h,...a]=m??[];if(!Ne(h)||a.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(v).concat(Object.keys(t)).map(f=>f.trim()).filter((f,g,w)=>w.indexOf(f)===g).sort((f,g)=>f.localeCompare(g)).map(f=>` - ${f}`).join(` -`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(f=>` - ${f}`).join(` -`)].join(` -`));let c=te((r=h.props)!=null?r:{},v,k),s=le(h,c,!0);for(let f in c)f.startsWith("on")&&(s.props||(s.props={}),s.props[f]=c[f]);return s}return Array.isArray(m)&&m.length===1?m[0]:m}return ie(u,Object.assign({},v,k),{default:()=>m})}function ee(e){return e.flatMap(t=>t.type===ae?ee(t.children):[t])}function te(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let o of e)for(let i in o)i.startsWith("on")&&typeof o[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(o[i])):t[i]=o[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(o=>[o,void 0])));for(let o in n)Object.assign(t,{[o](i,...l){let r=n[o];for(let u of r){if(i instanceof Event&&i.defaultPrevented)return;u(i,...l)}}});return t}function tt(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Ae(e,t=[]){let n=Object.assign({},e);for(let o of t)o in n&&delete n[o];return n}function Ne(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let ne=Symbol("Context");var M=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(M||{});function $e(){return E(ne,null)}function Re(e){X(ne,e)}var p=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(p||{});function We(e){throw new Error("Unexpected object: "+e)}var C=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(C||{});function He(e,t){let n=t.resolveItems();if(n.length<=0)return null;let o=t.resolveActiveIndex(),i=o??-1;switch(e.focus){case 0:{for(let l=0;l=0;--l)if(!t.resolveDisabled(n[l],l,n))return l;return o}case 2:{for(let l=i+1;l=0;--l)if(!t.resolveDisabled(n[l],l,n))return l;return o}case 4:{for(let l=0;l{let l=document.getElementById(i);if(l){let r=l.getAttribute("aria-label");return typeof r=="string"?r.trim():G(l).trim()}return null}).filter(Boolean);if(o.length>0)return o.join(", ")}return G(e).trim()}function Be(e){let t=y(""),n=y("");return()=>{let o=b(e);if(!o)return"";let i=o.innerText;if(t.value===i)return n.value;let l=ze(o).trim().toLowerCase();return t.value=i,n.value=l,l}}var Ue=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ue||{}),Ve=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ve||{});function _e(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let re=Symbol("MenuContext");function D(e){let t=E(re,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,D),n}return t}let nt=P({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:n}){let o=y(1),i=y(null),l=y(null),r=y([]),u=y(""),v=y(null),m=y(1);function k(a=c=>c){let c=v.value!==null?r.value[v.value]:null,s=J(a(r.value.slice()),g=>b(g.dataRef.domRef)),f=c?s.indexOf(c):null;return f===-1&&(f=null),{items:s,activeItemIndex:f}}let h={menuState:o,buttonRef:i,itemsRef:l,items:r,searchQuery:u,activeItemIndex:v,activationTrigger:m,closeMenu:()=>{o.value=1,v.value=null},openMenu:()=>o.value=0,goToItem(a,c,s){let f=k(),g=He(a===C.Specific?{focus:C.Specific,id:c}:{focus:a},{resolveItems:()=>f.items,resolveActiveIndex:()=>f.activeItemIndex,resolveId:w=>w.id,resolveDisabled:w=>w.dataRef.disabled});u.value="",v.value=g,m.value=s??1,r.value=f.items},search(a){let c=u.value!==""?0:1;u.value+=a.toLowerCase();let s=(v.value!==null?r.value.slice(v.value+c).concat(r.value.slice(0,v.value+c)):r.value).find(g=>g.dataRef.textValue.startsWith(u.value)&&!g.dataRef.disabled),f=s?r.value.indexOf(s):-1;f===-1||f===v.value||(v.value=f,m.value=1)},clearSearch(){u.value=""},registerItem(a,c){let s=k(f=>[...f,{id:a,dataRef:c}]);r.value=s.items,v.value=s.activeItemIndex,m.value=1},unregisterItem(a){let c=k(s=>{let f=s.findIndex(g=>g.id===a);return f!==-1&&s.splice(f,1),s});r.value=c.items,v.value=c.activeItemIndex,m.value=1}};return Ee([i,l],(a,c)=>{var s;h.closeMenu(),U(c,B.Loose)||(a.preventDefault(),(s=b(i))==null||s.focus())},L(()=>o.value===0)),X(re,h),Re(L(()=>T(o.value,{0:M.Open,1:M.Closed}))),()=>{let a={open:o.value===0,close:h.closeMenu};return O({ourProps:{},theirProps:e,slot:a,slots:t,attrs:n,name:"Menu"})}}}),rt=P({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:o}){var i;let l=(i=e.id)!=null?i:`headlessui-menu-button-${W()}`,r=D("MenuButton");o({el:r.buttonRef,$el:r.buttonRef});function u(h){switch(h.key){case p.Space:case p.Enter:case p.ArrowDown:h.preventDefault(),h.stopPropagation(),r.openMenu(),j(()=>{var a;(a=b(r.itemsRef))==null||a.focus({preventScroll:!0}),r.goToItem(C.First)});break;case p.ArrowUp:h.preventDefault(),h.stopPropagation(),r.openMenu(),j(()=>{var a;(a=b(r.itemsRef))==null||a.focus({preventScroll:!0}),r.goToItem(C.Last)});break}}function v(h){switch(h.key){case p.Space:h.preventDefault();break}}function m(h){e.disabled||(r.menuState.value===0?(r.closeMenu(),j(()=>{var a;return(a=b(r.buttonRef))==null?void 0:a.focus({preventScroll:!0})})):(h.preventDefault(),r.openMenu(),_e(()=>{var a;return(a=b(r.itemsRef))==null?void 0:a.focus({preventScroll:!0})})))}let k=Pe(L(()=>({as:e.as,type:t.type})),r.buttonRef);return()=>{var h;let a={open:r.menuState.value===0},{...c}=e,s={ref:r.buttonRef,id:l,type:k.value,"aria-haspopup":"menu","aria-controls":(h=b(r.itemsRef))==null?void 0:h.id,"aria-expanded":r.menuState.value===0,onKeydown:u,onKeyup:v,onClick:m};return O({ourProps:s,theirProps:c,slot:a,attrs:t,slots:n,name:"MenuButton"})}}}),ot=P({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:o}){var i;let l=(i=e.id)!=null?i:`headlessui-menu-items-${W()}`,r=D("MenuItems"),u=y(null);o({el:r.itemsRef,$el:r.itemsRef}),Oe({container:L(()=>b(r.itemsRef)),enabled:L(()=>r.menuState.value===0),accept(a){return a.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:a.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(a){a.setAttribute("role","none")}});function v(a){var c;switch(u.value&&clearTimeout(u.value),a.key){case p.Space:if(r.searchQuery.value!=="")return a.preventDefault(),a.stopPropagation(),r.search(a.key);case p.Enter:if(a.preventDefault(),a.stopPropagation(),r.activeItemIndex.value!==null){let s=r.items.value[r.activeItemIndex.value];(c=b(s.dataRef.domRef))==null||c.click()}r.closeMenu(),Y(b(r.buttonRef));break;case p.ArrowDown:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.Next);case p.ArrowUp:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.Previous);case p.Home:case p.PageUp:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.First);case p.End:case p.PageDown:return a.preventDefault(),a.stopPropagation(),r.goToItem(C.Last);case p.Escape:a.preventDefault(),a.stopPropagation(),r.closeMenu(),j(()=>{var s;return(s=b(r.buttonRef))==null?void 0:s.focus({preventScroll:!0})});break;case p.Tab:a.preventDefault(),a.stopPropagation(),r.closeMenu(),j(()=>je(b(r.buttonRef),a.shiftKey?$.Previous:$.Next));break;default:a.key.length===1&&(r.search(a.key),u.value=setTimeout(()=>r.clearSearch(),350));break}}function m(a){switch(a.key){case p.Space:a.preventDefault();break}}let k=$e(),h=L(()=>k!==null?(k.value&M.Open)===M.Open:r.menuState.value===0);return()=>{var a,c;let s={open:r.menuState.value===0},{...f}=e,g={"aria-activedescendant":r.activeItemIndex.value===null||(a=r.items.value[r.activeItemIndex.value])==null?void 0:a.id,"aria-labelledby":(c=b(r.buttonRef))==null?void 0:c.id,id:l,onKeydown:v,onKeyup:m,role:"menu",tabIndex:0,ref:r.itemsRef};return O({ourProps:g,theirProps:f,slot:s,attrs:t,slots:n,features:R.RenderStrategy|R.Static,visible:h.value,name:"MenuItems"})}}}),lt=P({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:o}){var i;let l=(i=e.id)!=null?i:`headlessui-menu-item-${W()}`,r=D("MenuItem"),u=y(null);o({el:u,$el:u});let v=L(()=>r.activeItemIndex.value!==null?r.items.value[r.activeItemIndex.value].id===l:!1),m=Be(u),k=L(()=>({disabled:e.disabled,get textValue(){return m()},domRef:u}));q(()=>r.registerItem(l,k)),ue(()=>r.unregisterItem(l)),S(()=>{r.menuState.value===0&&v.value&&r.activationTrigger.value!==0&&j(()=>{var w,x;return(x=(w=b(u))==null?void 0:w.scrollIntoView)==null?void 0:x.call(w,{block:"nearest"})})});function h(w){if(e.disabled)return w.preventDefault();r.closeMenu(),Y(b(r.buttonRef))}function a(){if(e.disabled)return r.goToItem(C.Nothing);r.goToItem(C.Specific,l)}let c=Te();function s(w){c.update(w)}function f(w){c.wasMoved(w)&&(e.disabled||v.value||r.goToItem(C.Specific,l,0))}function g(w){c.wasMoved(w)&&(e.disabled||v.value&&r.goToItem(C.Nothing))}return()=>{let{disabled:w,...x}=e,oe={active:v.value,disabled:w,close:r.closeMenu};return O({ourProps:{id:l,ref:u,role:"menuitem",tabIndex:w===!0?void 0:-1,"aria-disabled":w===!0?!0:void 0,onClick:h,onFocus:a,onPointerenter:s,onMouseenter:s,onPointermove:f,onMousemove:f,onPointerleave:g,onMouseleave:g},theirProps:{...n,...x},slot:oe,attrs:n,slots:t,name:"MenuItem"})}}});export{Ke as A,qe as C,Xe as D,tt as E,I,Qe as L,ot as M,rt as S,Ae as T,Je as U,Ye as a,lt as b,Ge as c,O as d,W as e,p as f,nt as g,b as o,Pe as s}; diff --git a/public/assets/preferential-0ee5bc79.png b/public/assets/preferential-0ee5bc79.png deleted file mode 100644 index 5866353..0000000 Binary files a/public/assets/preferential-0ee5bc79.png and /dev/null differ diff --git a/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js b/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js deleted file mode 100644 index 3f838b7..0000000 --- a/public/assets/titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js +++ /dev/null @@ -1 +0,0 @@ -import{e as m,o as x}from"./index-d64a7cc4.js";import{d as i,S as p,U as f,a3 as t,e as _,X as d,W as v,M as a,a8 as s,a4 as c}from"./vue-10b4afc0.js";import{r as w}from"./naive-ui-fedd20b1.js";const h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},k=t("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1),b=[k],g=i({name:"PlayBack",render:function(e,o){return p(),f("svg",h,b)}}),B={class:"pt-1 mr-2 cursor-pointer"},M=i({__name:"titleBar",props:{title:{default:""},des:{default:""},padding:{default:4}},setup(r){const e=r,o=m(),n=_(()=>o.theme==="dark"),u=x();return(y,l)=>(p(),f("div",{class:s(["flex border-b border-[#ebebeb] dark:border-[#ffffff17] py-4 w-full",[`px-${e.padding}`]])},[t("div",B,[d(a(w),{size:"16",class:"text-primary",onClick:l[0]||(l[0]=C=>a(u).push("/"))},{default:v(()=>[d(a(g))]),_:1})]),t("div",null,[t("b",{class:s([[n.value?"text-[#fff]":"text-[#555]"],"text-lg"])},c(e.title),3),t("div",{class:s([[n.value?"text-[#fff]":"text-[#626569]"],"text-truncate text-[#626569] mt-1"])},c(e.des),3)])],2))}});export{M as _}; diff --git a/public/assets/360logo-c09b4832.png b/public/chat/assets/360logo-c09b4832.png similarity index 100% rename from public/assets/360logo-c09b4832.png rename to public/chat/assets/360logo-c09b4832.png diff --git a/public/assets/404-0d6db85f.svg b/public/chat/assets/404-0d6db85f.svg similarity index 100% rename from public/assets/404-0d6db85f.svg rename to public/chat/assets/404-0d6db85f.svg diff --git a/public/assets/KaTeX_AMS-Regular-0cdd387c.woff2 b/public/chat/assets/KaTeX_AMS-Regular-0cdd387c.woff2 similarity index 100% rename from public/assets/KaTeX_AMS-Regular-0cdd387c.woff2 rename to public/chat/assets/KaTeX_AMS-Regular-0cdd387c.woff2 diff --git a/public/assets/KaTeX_AMS-Regular-30da91e8.woff b/public/chat/assets/KaTeX_AMS-Regular-30da91e8.woff similarity index 100% rename from public/assets/KaTeX_AMS-Regular-30da91e8.woff rename to public/chat/assets/KaTeX_AMS-Regular-30da91e8.woff diff --git a/public/assets/KaTeX_AMS-Regular-68534840.ttf b/public/chat/assets/KaTeX_AMS-Regular-68534840.ttf similarity index 100% rename from public/assets/KaTeX_AMS-Regular-68534840.ttf rename to public/chat/assets/KaTeX_AMS-Regular-68534840.ttf diff --git a/public/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf b/public/chat/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf similarity index 100% rename from public/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf rename to public/chat/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf diff --git a/public/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff b/public/chat/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff similarity index 100% rename from public/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff rename to public/chat/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff diff --git a/public/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 b/public/chat/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 similarity index 100% rename from public/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 rename to public/chat/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 diff --git a/public/assets/KaTeX_Caligraphic-Regular-3398dd02.woff b/public/chat/assets/KaTeX_Caligraphic-Regular-3398dd02.woff similarity index 100% rename from public/assets/KaTeX_Caligraphic-Regular-3398dd02.woff rename to public/chat/assets/KaTeX_Caligraphic-Regular-3398dd02.woff diff --git a/public/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 b/public/chat/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 similarity index 100% rename from public/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 rename to public/chat/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 diff --git a/public/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf b/public/chat/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf similarity index 100% rename from public/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf rename to public/chat/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf diff --git a/public/assets/KaTeX_Fraktur-Bold-74444efd.woff2 b/public/chat/assets/KaTeX_Fraktur-Bold-74444efd.woff2 similarity index 100% rename from public/assets/KaTeX_Fraktur-Bold-74444efd.woff2 rename to public/chat/assets/KaTeX_Fraktur-Bold-74444efd.woff2 diff --git a/public/assets/KaTeX_Fraktur-Bold-9163df9c.ttf b/public/chat/assets/KaTeX_Fraktur-Bold-9163df9c.ttf similarity index 100% rename from public/assets/KaTeX_Fraktur-Bold-9163df9c.ttf rename to public/chat/assets/KaTeX_Fraktur-Bold-9163df9c.ttf diff --git a/public/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff b/public/chat/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff similarity index 100% rename from public/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff rename to public/chat/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff diff --git a/public/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf b/public/chat/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf similarity index 100% rename from public/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf rename to public/chat/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf diff --git a/public/assets/KaTeX_Fraktur-Regular-51814d27.woff2 b/public/chat/assets/KaTeX_Fraktur-Regular-51814d27.woff2 similarity index 100% rename from public/assets/KaTeX_Fraktur-Regular-51814d27.woff2 rename to public/chat/assets/KaTeX_Fraktur-Regular-51814d27.woff2 diff --git a/public/assets/KaTeX_Fraktur-Regular-5e28753b.woff b/public/chat/assets/KaTeX_Fraktur-Regular-5e28753b.woff similarity index 100% rename from public/assets/KaTeX_Fraktur-Regular-5e28753b.woff rename to public/chat/assets/KaTeX_Fraktur-Regular-5e28753b.woff diff --git a/public/assets/KaTeX_Main-Bold-0f60d1b8.woff2 b/public/chat/assets/KaTeX_Main-Bold-0f60d1b8.woff2 similarity index 100% rename from public/assets/KaTeX_Main-Bold-0f60d1b8.woff2 rename to public/chat/assets/KaTeX_Main-Bold-0f60d1b8.woff2 diff --git a/public/assets/KaTeX_Main-Bold-138ac28d.ttf b/public/chat/assets/KaTeX_Main-Bold-138ac28d.ttf similarity index 100% rename from public/assets/KaTeX_Main-Bold-138ac28d.ttf rename to public/chat/assets/KaTeX_Main-Bold-138ac28d.ttf diff --git a/public/assets/KaTeX_Main-Bold-c76c5d69.woff b/public/chat/assets/KaTeX_Main-Bold-c76c5d69.woff similarity index 100% rename from public/assets/KaTeX_Main-Bold-c76c5d69.woff rename to public/chat/assets/KaTeX_Main-Bold-c76c5d69.woff diff --git a/public/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf b/public/chat/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf similarity index 100% rename from public/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf rename to public/chat/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf diff --git a/public/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 b/public/chat/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 similarity index 100% rename from public/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 rename to public/chat/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 diff --git a/public/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff b/public/chat/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff similarity index 100% rename from public/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff rename to public/chat/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff diff --git a/public/assets/KaTeX_Main-Italic-0d85ae7c.ttf b/public/chat/assets/KaTeX_Main-Italic-0d85ae7c.ttf similarity index 100% rename from public/assets/KaTeX_Main-Italic-0d85ae7c.ttf rename to public/chat/assets/KaTeX_Main-Italic-0d85ae7c.ttf diff --git a/public/assets/KaTeX_Main-Italic-97479ca6.woff2 b/public/chat/assets/KaTeX_Main-Italic-97479ca6.woff2 similarity index 100% rename from public/assets/KaTeX_Main-Italic-97479ca6.woff2 rename to public/chat/assets/KaTeX_Main-Italic-97479ca6.woff2 diff --git a/public/assets/KaTeX_Main-Italic-f1d6ef86.woff b/public/chat/assets/KaTeX_Main-Italic-f1d6ef86.woff similarity index 100% rename from public/assets/KaTeX_Main-Italic-f1d6ef86.woff rename to public/chat/assets/KaTeX_Main-Italic-f1d6ef86.woff diff --git a/public/assets/KaTeX_Main-Regular-c2342cd8.woff2 b/public/chat/assets/KaTeX_Main-Regular-c2342cd8.woff2 similarity index 100% rename from public/assets/KaTeX_Main-Regular-c2342cd8.woff2 rename to public/chat/assets/KaTeX_Main-Regular-c2342cd8.woff2 diff --git a/public/assets/KaTeX_Main-Regular-c6368d87.woff b/public/chat/assets/KaTeX_Main-Regular-c6368d87.woff similarity index 100% rename from public/assets/KaTeX_Main-Regular-c6368d87.woff rename to public/chat/assets/KaTeX_Main-Regular-c6368d87.woff diff --git a/public/assets/KaTeX_Main-Regular-d0332f52.ttf b/public/chat/assets/KaTeX_Main-Regular-d0332f52.ttf similarity index 100% rename from public/assets/KaTeX_Main-Regular-d0332f52.ttf rename to public/chat/assets/KaTeX_Main-Regular-d0332f52.ttf diff --git a/public/assets/KaTeX_Math-BoldItalic-850c0af5.woff b/public/chat/assets/KaTeX_Math-BoldItalic-850c0af5.woff similarity index 100% rename from public/assets/KaTeX_Math-BoldItalic-850c0af5.woff rename to public/chat/assets/KaTeX_Math-BoldItalic-850c0af5.woff diff --git a/public/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 b/public/chat/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 similarity index 100% rename from public/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 rename to public/chat/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 diff --git a/public/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf b/public/chat/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf similarity index 100% rename from public/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf rename to public/chat/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf diff --git a/public/assets/KaTeX_Math-Italic-08ce98e5.ttf b/public/chat/assets/KaTeX_Math-Italic-08ce98e5.ttf similarity index 100% rename from public/assets/KaTeX_Math-Italic-08ce98e5.ttf rename to public/chat/assets/KaTeX_Math-Italic-08ce98e5.ttf diff --git a/public/assets/KaTeX_Math-Italic-7af58c5e.woff2 b/public/chat/assets/KaTeX_Math-Italic-7af58c5e.woff2 similarity index 100% rename from public/assets/KaTeX_Math-Italic-7af58c5e.woff2 rename to public/chat/assets/KaTeX_Math-Italic-7af58c5e.woff2 diff --git a/public/assets/KaTeX_Math-Italic-8a8d2445.woff b/public/chat/assets/KaTeX_Math-Italic-8a8d2445.woff similarity index 100% rename from public/assets/KaTeX_Math-Italic-8a8d2445.woff rename to public/chat/assets/KaTeX_Math-Italic-8a8d2445.woff diff --git a/public/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf b/public/chat/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf similarity index 100% rename from public/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf rename to public/chat/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf diff --git a/public/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 b/public/chat/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 similarity index 100% rename from public/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 rename to public/chat/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 diff --git a/public/assets/KaTeX_SansSerif-Bold-ece03cfd.woff b/public/chat/assets/KaTeX_SansSerif-Bold-ece03cfd.woff similarity index 100% rename from public/assets/KaTeX_SansSerif-Bold-ece03cfd.woff rename to public/chat/assets/KaTeX_SansSerif-Bold-ece03cfd.woff diff --git a/public/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 b/public/chat/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 similarity index 100% rename from public/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 rename to public/chat/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 diff --git a/public/assets/KaTeX_SansSerif-Italic-3931dd81.ttf b/public/chat/assets/KaTeX_SansSerif-Italic-3931dd81.ttf similarity index 100% rename from public/assets/KaTeX_SansSerif-Italic-3931dd81.ttf rename to public/chat/assets/KaTeX_SansSerif-Italic-3931dd81.ttf diff --git a/public/assets/KaTeX_SansSerif-Italic-91ee6750.woff b/public/chat/assets/KaTeX_SansSerif-Italic-91ee6750.woff similarity index 100% rename from public/assets/KaTeX_SansSerif-Italic-91ee6750.woff rename to public/chat/assets/KaTeX_SansSerif-Italic-91ee6750.woff diff --git a/public/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff b/public/chat/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff similarity index 100% rename from public/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff rename to public/chat/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff diff --git a/public/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 b/public/chat/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 similarity index 100% rename from public/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 rename to public/chat/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 diff --git a/public/assets/KaTeX_SansSerif-Regular-f36ea897.ttf b/public/chat/assets/KaTeX_SansSerif-Regular-f36ea897.ttf similarity index 100% rename from public/assets/KaTeX_SansSerif-Regular-f36ea897.ttf rename to public/chat/assets/KaTeX_SansSerif-Regular-f36ea897.ttf diff --git a/public/assets/KaTeX_Script-Regular-036d4e95.woff2 b/public/chat/assets/KaTeX_Script-Regular-036d4e95.woff2 similarity index 100% rename from public/assets/KaTeX_Script-Regular-036d4e95.woff2 rename to public/chat/assets/KaTeX_Script-Regular-036d4e95.woff2 diff --git a/public/assets/KaTeX_Script-Regular-1c67f068.ttf b/public/chat/assets/KaTeX_Script-Regular-1c67f068.ttf similarity index 100% rename from public/assets/KaTeX_Script-Regular-1c67f068.ttf rename to public/chat/assets/KaTeX_Script-Regular-1c67f068.ttf diff --git a/public/assets/KaTeX_Script-Regular-d96cdf2b.woff b/public/chat/assets/KaTeX_Script-Regular-d96cdf2b.woff similarity index 100% rename from public/assets/KaTeX_Script-Regular-d96cdf2b.woff rename to public/chat/assets/KaTeX_Script-Regular-d96cdf2b.woff diff --git a/public/assets/KaTeX_Size1-Regular-6b47c401.woff2 b/public/chat/assets/KaTeX_Size1-Regular-6b47c401.woff2 similarity index 100% rename from public/assets/KaTeX_Size1-Regular-6b47c401.woff2 rename to public/chat/assets/KaTeX_Size1-Regular-6b47c401.woff2 diff --git a/public/assets/KaTeX_Size1-Regular-95b6d2f1.ttf b/public/chat/assets/KaTeX_Size1-Regular-95b6d2f1.ttf similarity index 100% rename from public/assets/KaTeX_Size1-Regular-95b6d2f1.ttf rename to public/chat/assets/KaTeX_Size1-Regular-95b6d2f1.ttf diff --git a/public/assets/KaTeX_Size1-Regular-c943cc98.woff b/public/chat/assets/KaTeX_Size1-Regular-c943cc98.woff similarity index 100% rename from public/assets/KaTeX_Size1-Regular-c943cc98.woff rename to public/chat/assets/KaTeX_Size1-Regular-c943cc98.woff diff --git a/public/assets/KaTeX_Size2-Regular-2014c523.woff b/public/chat/assets/KaTeX_Size2-Regular-2014c523.woff similarity index 100% rename from public/assets/KaTeX_Size2-Regular-2014c523.woff rename to public/chat/assets/KaTeX_Size2-Regular-2014c523.woff diff --git a/public/assets/KaTeX_Size2-Regular-a6b2099f.ttf b/public/chat/assets/KaTeX_Size2-Regular-a6b2099f.ttf similarity index 100% rename from public/assets/KaTeX_Size2-Regular-a6b2099f.ttf rename to public/chat/assets/KaTeX_Size2-Regular-a6b2099f.ttf diff --git a/public/assets/KaTeX_Size2-Regular-d04c5421.woff2 b/public/chat/assets/KaTeX_Size2-Regular-d04c5421.woff2 similarity index 100% rename from public/assets/KaTeX_Size2-Regular-d04c5421.woff2 rename to public/chat/assets/KaTeX_Size2-Regular-d04c5421.woff2 diff --git a/public/assets/KaTeX_Size3-Regular-500e04d5.ttf b/public/chat/assets/KaTeX_Size3-Regular-500e04d5.ttf similarity index 100% rename from public/assets/KaTeX_Size3-Regular-500e04d5.ttf rename to public/chat/assets/KaTeX_Size3-Regular-500e04d5.ttf diff --git a/public/assets/KaTeX_Size3-Regular-6ab6b62e.woff b/public/chat/assets/KaTeX_Size3-Regular-6ab6b62e.woff similarity index 100% rename from public/assets/KaTeX_Size3-Regular-6ab6b62e.woff rename to public/chat/assets/KaTeX_Size3-Regular-6ab6b62e.woff diff --git a/public/assets/KaTeX_Size4-Regular-99f9c675.woff b/public/chat/assets/KaTeX_Size4-Regular-99f9c675.woff similarity index 100% rename from public/assets/KaTeX_Size4-Regular-99f9c675.woff rename to public/chat/assets/KaTeX_Size4-Regular-99f9c675.woff diff --git a/public/assets/KaTeX_Size4-Regular-a4af7d41.woff2 b/public/chat/assets/KaTeX_Size4-Regular-a4af7d41.woff2 similarity index 100% rename from public/assets/KaTeX_Size4-Regular-a4af7d41.woff2 rename to public/chat/assets/KaTeX_Size4-Regular-a4af7d41.woff2 diff --git a/public/assets/KaTeX_Size4-Regular-c647367d.ttf b/public/chat/assets/KaTeX_Size4-Regular-c647367d.ttf similarity index 100% rename from public/assets/KaTeX_Size4-Regular-c647367d.ttf rename to public/chat/assets/KaTeX_Size4-Regular-c647367d.ttf diff --git a/public/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 b/public/chat/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 similarity index 100% rename from public/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 rename to public/chat/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 diff --git a/public/assets/KaTeX_Typewriter-Regular-e14fed02.woff b/public/chat/assets/KaTeX_Typewriter-Regular-e14fed02.woff similarity index 100% rename from public/assets/KaTeX_Typewriter-Regular-e14fed02.woff rename to public/chat/assets/KaTeX_Typewriter-Regular-e14fed02.woff diff --git a/public/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf b/public/chat/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf similarity index 100% rename from public/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf rename to public/chat/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf diff --git a/public/chat/assets/Star-723ae1fb.js b/public/chat/assets/Star-723ae1fb.js new file mode 100644 index 0000000..11f8f4f --- /dev/null +++ b/public/chat/assets/Star-723ae1fb.js @@ -0,0 +1 @@ +import{I as i}from"./index-08cceacb.js";import{X as t}from"./vue-cf46d111.js";const l=i("search",!0,function(e){return t("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[t("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),t("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),t("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),r=i("star",!1,function(e){return t("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[t("path",{d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])});export{l as S,r as a}; diff --git a/public/assets/_plugin-vue_export-helper-c27b6911.js b/public/chat/assets/_plugin-vue_export-helper-c27b6911.js similarity index 100% rename from public/assets/_plugin-vue_export-helper-c27b6911.js rename to public/chat/assets/_plugin-vue_export-helper-c27b6911.js diff --git a/public/assets/alipay-eab94eb8.png b/public/chat/assets/alipay-eab94eb8.png similarity index 100% rename from public/assets/alipay-eab94eb8.png rename to public/chat/assets/alipay-eab94eb8.png diff --git a/public/assets/avatar-e985e5ec.png b/public/chat/assets/avatar-e985e5ec.png similarity index 100% rename from public/assets/avatar-e985e5ec.png rename to public/chat/assets/avatar-e985e5ec.png diff --git a/public/assets/badge-4a5770f0.png b/public/chat/assets/badge-4a5770f0.png similarity index 100% rename from public/assets/badge-4a5770f0.png rename to public/chat/assets/badge-4a5770f0.png diff --git a/public/assets/baidulogo-bf43b354.png b/public/chat/assets/baidulogo-bf43b354.png similarity index 100% rename from public/assets/baidulogo-bf43b354.png rename to public/chat/assets/baidulogo-bf43b354.png diff --git a/public/chat/assets/chat-2c477ae5.js b/public/chat/assets/chat-2c477ae5.js new file mode 100644 index 0000000..477a695 --- /dev/null +++ b/public/chat/assets/chat-2c477ae5.js @@ -0,0 +1,142 @@ +import{u as useBasicLayout}from"./useBasicLayout-8e07f8d7.js";import{A as useChatStore,a as useAuthStore,t,K as fetchTtsAPIProces,L as fetchQueryOneCatAPI,M as commonjsRequire$1,N as require$$7,u as useGlobalStoreWithOut,O as fetchSearchAppsAPI,E as axios,P as fetchUpdateGroupAPI,q as useAppStore,Q as fetchQueryModelsListAPI,y as useRoute,r as router,S as fetchChatAPIProcess,x as useRouter,b as useAppCatStore}from"./index-a70ad6b3.js";import{X as createVNode,r as ref,e as computed,d as defineComponent,a as inject,f as onMounted,w as watch,l as h,F as Fragment,M as unref,S as openBlock,U as createElementBlock,a3 as createBaseVNode,G as onUnmounted,a8 as createCommentVNode,a5 as normalizeClass,H as normalizeStyle,a7 as renderList,V as createBlock,a4 as toDisplayString,y as watchEffect,k as withDirectives,a6 as vModelText,Q as onUpdated,ac as resolveDynamicComponent,a9 as withModifiers,W as withCtx,c as createTextVNode,z as Transition,ae as withKeys,n as nextTick,v as vShow,p as provide,af as resolveDirective}from"./vue-cf46d111.js";import{i as getDefaultExportFromCjs,g as getAugmentedNamespace,e as useMessage,t as NImage,p as NTooltip,h as commonjsGlobal$1,d as useDialog,D as NScrollbar,M as NLayoutSider,O as NWatermark,P as NLayout}from"./naive-ui-074da7ca.js";import{r as requireKatex,b as browserExports,M as Markmap,t as toPng,F as FileSaver_minExports}from"./index-97198a55.js";import{I as IconWrapper}from"./index-08cceacb.js";import{f as A,I,s,o,E,T,h as o$1,C as Close,S as Se,M as Me,b as be,g as ge$1,a as CheckOne,U as User,D as DeleteThemes,A as Announcement,c as Commodity,d as SunOne,e as Calendar,L as Logout}from"./menu-1a8ade33.js";import{_ as _export_sfc}from"./_plugin-vue_export-helper-c27b6911.js";import{c as copyText}from"./index-c94da121.js";import{_ as _sfc_main$j}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import"./vueuse-motion-d8fe070a.js";function isString$1(b){return Object.prototype.toString.call(b)==="[object String]"}const ApplicationTwo=IconWrapper("application-two",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("circle",{cx:"34.5",cy:"13.5",r:"6.5",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth},null),createVNode("circle",{cx:"34.5",cy:"34.5",r:"6.5",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth},null),createVNode("circle",{cx:"13.5",cy:"13.5",r:"6.5",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth},null),createVNode("circle",{cx:"13.5",cy:"34.5",r:"6.5",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth},null)])}),Copy=IconWrapper("copy",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null)])}),Delete=IconWrapper("delete",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M9 10V44H39V10H9Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M20 20V33",stroke:b.colors[2],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M28 20V33",stroke:b.colors[2],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M4 10H44",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null)])}),Down=IconWrapper("down",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M36 18L24 30L12 18",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),DownSmall=IconWrapper("down-small",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24.0083 35.8995V12",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M36 24L24 36L12 24",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),DownloadOne=IconWrapper("download-one",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M11.6777 20.271C7.27476 21.3181 4 25.2766 4 30C4 35.5228 8.47715 40 14 40C14.9474 40 15.864 39.8683 16.7325 39.6221",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M36.0547 20.271C40.4577 21.3181 43.7324 25.2766 43.7324 30C43.7324 35.5228 39.2553 40 33.7324 40C32.785 40 31.8684 39.8683 30.9999 39.6221",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M36 20C36 13.3726 30.6274 8 24 8C17.3726 8 12 13.3726 12 20",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M17.0654 30.119L23.9999 37.0764L31.1318 30",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M24 20V33.5382",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),Edit=IconWrapper("edit",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M7 42H43",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null)])}),EditTwo=IconWrapper("edit-two",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null)])}),HamburgerButton=IconWrapper("hamburger-button",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M7.94971 11.9497H39.9497",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M7.94971 23.9497H39.9497",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M7.94971 35.9497H39.9497",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),Left=IconWrapper("left",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M31 36L19 24L31 12",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),Link=IconWrapper("link",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24.7073 9.56521L9.85801 24.4145C6.34329 27.9292 6.34329 33.6277 9.85801 37.1424V37.1424C13.3727 40.6571 19.0712 40.6571 22.5859 37.1424L40.2636 19.4647C42.6067 17.1216 42.6067 13.3226 40.2636 10.9794V10.9794C37.9205 8.63628 34.1215 8.63628 31.7783 10.9794L14.1007 28.6571C12.9291 29.8287 12.9291 31.7282 14.1007 32.8997V32.8997C15.2722 34.0713 17.1717 34.0713 18.3433 32.8997L33.1925 18.0505",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),LoadingFour=IconWrapper("loading-four",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),Pause=IconWrapper("pause",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M16 12V36",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M32 12V36",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),PauseOne=IconWrapper("pause-one",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M19 18V30",stroke:b.colors[2],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M29 18V30",stroke:b.colors[2],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),PlayOne=IconWrapper("play-one",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null)])}),Refresh=IconWrapper("refresh",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 8V24",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M6 24L6 40",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),Right=IconWrapper("right",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M19 12L31 24L19 36",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),Rotation=IconWrapper("rotation",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin,"stroke-dasharray":"2 6"},null)])}),Send=IconWrapper("send",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M43.0001 5L22.1001 25.9",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),SendOne=IconWrapper("send-one",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 6L4 20.1383L24 24.0083L29.0052 44L42 6Z",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M24.0083 24.0084L29.6651 18.3516",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),ShuffleOne=IconWrapper("shuffle-one",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M40 33L44 37L40 41",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M40 7L44 11L40 15",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M44 11H37C29.8203 11 24 16.8203 24 24C24 31.1797 29.8203 37 37 37H44",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap},null),createVNode("path",{d:"M4 37H11C18.1797 37 24 31.1797 24 24C24 16.8203 18.1797 11 11 11H4",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap},null)])}),Square$1=IconWrapper("square",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth},null)])}),Up=IconWrapper("up",!1,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M13 30L25 18L37 30",stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])}),VoiceMessage=IconWrapper("voice-message",!0,function(b){return createVNode("svg",{width:b.size,height:b.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:b.colors[1],stroke:b.colors[0],"stroke-width":b.strokeWidth,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M17 25.8994C18.1046 25.8994 19 25.004 19 23.8994C19 22.7948 18.1046 21.8994 17 21.8994C15.8954 21.8994 15 22.7948 15 23.8994C15 25.004 15.8954 25.8994 17 25.8994Z",fill:b.colors[2]},null),createVNode("path",{d:"M21.9497 28.8492C23.2165 27.5825 24 25.8325 24 23.8995C24 21.9665 23.2165 20.2165 21.9497 18.9497",stroke:b.colors[2],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null),createVNode("path",{d:"M26.8994 33.799C29.4329 31.2655 30.9999 27.7655 30.9999 23.8995C30.9999 20.0335 29.4329 16.5335 26.8994 14",stroke:b.colors[2],"stroke-width":b.strokeWidth,"stroke-linecap":b.strokeLinecap,"stroke-linejoin":b.strokeLinejoin},null)])});function d(b,r,m){let w=ref(m==null?void 0:m.value),U=computed(()=>b.value!==void 0);return[computed(()=>U.value?b.value:w.value),function(k){return U.value||(w.value=k),r==null?void 0:r(k)}]}var u=(b=>(b[b.None=1]="None",b[b.Focusable=2]="Focusable",b[b.Hidden=4]="Hidden",b))(u||{});let f$5=defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(b,{slots:r,attrs:m}){return()=>{var w;let{features:U,...k}=b,x={"aria-hidden":(U&2)===2?!0:(w=k["aria-hidden"])!=null?w:void 0,hidden:(U&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(U&4)===4&&(U&2)!==2&&{display:"none"}}};return A({ourProps:x,theirProps:k,slot:{},attrs:m,slots:r,name:"Hidden"})}}});function p(b){var r,m;let w=(r=b==null?void 0:b.form)!=null?r:b.closest("form");if(w){for(let U of w.elements)if(U!==b&&(U.tagName==="INPUT"&&U.type==="submit"||U.tagName==="BUTTON"&&U.type==="submit"||U.nodeName==="INPUT"&&U.type==="image")){U.click();return}(m=w.requestSubmit)==null||m.call(w)}}let C=Symbol("GroupContext"),ue=defineComponent({name:"Switch",emits:{"update:modelValue":b=>!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(b,{emit:r,attrs:m,slots:w,expose:U}){var k;let x=(k=b.id)!=null?k:`headlessui-switch-${I()}`,a=inject(C,null),[g,n]=d(computed(()=>b.modelValue),S=>r("update:modelValue",S),computed(()=>b.defaultChecked));function c(){n(!g.value)}let R=ref(null),v=a===null?R:a.switchRef,e=s(computed(()=>({as:b.as,type:m.type})),v);U({el:v,$el:v});function L(S){S.preventDefault(),c()}function O(S){S.key===o$1.Space?(S.preventDefault(),c()):S.key===o$1.Enter&&p(S.currentTarget)}function B(S){S.preventDefault()}let P=computed(()=>{var S,_;return(_=(S=o(v))==null?void 0:S.closest)==null?void 0:_.call(S,"form")});return onMounted(()=>{watch([P],()=>{if(!P.value||b.defaultChecked===void 0)return;function S(){n(b.defaultChecked)}return P.value.addEventListener("reset",S),()=>{var _;(_=P.value)==null||_.removeEventListener("reset",S)}},{immediate:!0})}),()=>{let{name:S,value:_,form:l,tabIndex:y,...D}=b,M={checked:g.value},F={id:x,ref:v,role:"switch",type:e.value,tabIndex:y===-1?0:y,"aria-checked":g.value,"aria-labelledby":a==null?void 0:a.labelledby.value,"aria-describedby":a==null?void 0:a.describedby.value,onClick:L,onKeyup:O,onKeypress:B};return h(Fragment,[S!=null&&g.value!=null?h(f$5,E({features:u.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:g.value,form:l,disabled:D.disabled,name:S,value:_})):null,A({ourProps:F,theirProps:{...m,...T(D,["modelValue","defaultChecked"])},slot:M,attrs:m,slots:w,name:"Switch"})])}}});const logo360=""+new URL("360logo-c09b4832.png",import.meta.url).href,ali="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjIzOjMyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz4QZKpRAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAlSSURBVGiB7VlrkFXFEf66e+ac+9hlAUUFUbBAJKJRAROUiKzxAUZUICqIG8QiVAwIVqICCSa4EcoNhRoQoyQVidb6QlF8giVYJWoMUdQEhSRGLYlRVpFll+U+zpnp/LhALqtZ7sol+bNf1al7qk9Pd3/3zPR0zwE60IEOdKAD/wdQOY2NvGBVVSrR/fsCqSAIhA2YA7DE79xb3+fhcvpqDVNOY2GYrgP8KIB7FCRa+PES1Vz56jv3LRuysZz+isHlMnTOFbNTzutlUvH2KRG1bPfewXkH7/Pw6q3P91h++VXryuavNcpi+OwLfs2J5iGr1eyc+fCyKxo8uRoPB+89nEbw3sHFfGwUy9nl8PdlKMvUIjnk5DiWnibV8hAAOPvRGo57biKf+BqRgScAQmLirssnTnx/CREpEYGZYIzCWCIWBjFBjVe1W+++Y/7gD9sVw4GSGD52aYLynTdaztQ8t3LiH/bIR1+yor9ER79NZJhFQAjAbMEUwhgBswEzg4xChAoyYZAQNNy5AeEnpy2qPTlfahwHPLVcxKMAjWPzyfpieRSn7/LOM/kY3sXwqoASVD28+n1sKBSqCu89FB5wdqBGVRe2J44DIvKNkXWdXWTryDSNWPvoTLdHfu7Y+werD8706hGrh6qCNAYQAeQLZHxBDgCquve+IDAgTS6YcdMrqVJjKXmNDBo2+0hxh/cmTSopAaTQPMbnseulV569+oM9et+Z+Lsw15i8w3uHCAoBwFCAFIQYUAuQoJCaFV4Lz4kUe9M1APKp3pTrNxvAjWUjMnRErc02p59X79PETVkAsCYNh9hp2PCtYt3Gxs+HJTTVJYb9m5gYngIIGRDnoGQgVqHMMGyhLBAhQICYBSQCZYCFobCG4a8qK5F81vzcO9Mfkp3nw3fnegA5w2Dj9fVnfuOKdcPK7Ws0pwO8NxBjABGABQqBEwOyIVgEHgwSA7EMZQMyBWJkuDAm33sK4C4tJT6ghKw1cOicQH3iY/VRVyL9FKlNfd5Yu7y5VAdfBdNqnxLJHr9ZKT9h0bz+6/c/Yj+L/eTqyazQu+BzXckrEGk3tBx79ylDp5W1RmsNbRkw30XJNaWSAPYztTR7RN84okkBBN7FgHfwyI7msPIwAFsPOOIvwdWzNiTIhVNItg5qz7g2icRxqsKwA8UMaARVAF4SUT7/4glnTTp+49p79lkfp190fUUyClMIOsMEIRErBASQwAQhiQTwqlBiSGJXdsWdUxpb+3SRUYb1ZDksG5EguWNjnAk3ADwQSihcFhxzP872rAbwfLE+xVXdKdf9LRdVJOOshXAKzAkwB0BWoBwUMpLAMX/yTQCvt/a5dOHXc9NnfXA7tPNPANSUSqTNNfLGi3V5STSPciQZIgaLgCmA+BDGpe889czrKor1X356zt9VaAnDgF0C4g3YCcQzxAtEGawCqLvnkd+e9wUSe9DpiB3ziMNB18x9vbosRADgzXW3/UusrmZmMBeaJSGBVT5WYzuptf4OfPBLx5xhJjAIzABBUZiXCqV8HkHD/Nbjam5YtjeWm689yceamc++R+21858tKbGUVKIkkrkJJPSZUADhACIWxB6MQ+cOOveadLHua8/VfkpB0xQhCxbdnd8VtDsckuYbHrt3xPvFY665eS1LfsDsYplNbnsA0Czl+0woG5GXX5i3ywX2V0xpgEOALUApMBJdQ9/v1tb61gSPg30DIYQyAUYB8VCKdxHrva31d27tPofjnnMm/+itwXtkt984yAnpTYyq+dfN/XS/G3fJRaNNbl1orHtXJACTBcHCkAHF4bgh597evVj3ucfG74RpuBCsMREBaqBQ523T5cvrh28v1v3eD1+qQFR1NcedEhR1W1z87NabjnxJJPsihw3X7S++dm1sQ4YvHEO+8lHxDAYVGiEKoNKywaaaTl371PV76/MLJ9RRvvHE9cmgy2BGAM+5TS7YesITD4zeq3Pl9D9RmOv2ILnKS5VT4CCjSH50hgmbXjVWYAyBtUsPpeA9Ah1T99Ne//xvsbWrjA+S0csiDBEL4QDMIawYBNL1pIC7DSjWfaJ+poadm8YqUQ5sfUyN44tJAID3XY5Qn76YiMGcA0hJ/CGrKd9rM2WP2ay5Xpt93OUFRBWscafuaAPt60fiyikGCQjZ3R3e7guB+Di18pyxC/ZZ+Cvrx30ICe7zEj325CPnv1X8bMr0Ncbm0w+RtwFIQezARCBNpknTfeGTfRFX9uW4qg+kaYvKZ22ewJTcjwwbdVtvyXSdKWxACjARlAggBjNBNX0MRb3GALiveJxL//lnpJVVX/hPdvY+SxCeQeKhRGDaPV1RqAaIPAAFSZRXu23EglmnZtqKr+Q1Muz8e+4P8l3GGxA8FRomEKsSeeFCqe4lavap93qufnB6S1u2aqa+JkGm+zuMin5iYwgLSAgsDDYx2DCIBGCDROd/rJMwd2btjIHals2S34j4w05gU9gXGArxDCV/c2yieoUHOAYbAVMJ3anrNo0o6MfsAQhUCUwAsQLsoeIB9iCOdmZ9w3cXzqhuk0S7iNjEjmUSdVoINSAAkWS32HDHratXTPxC4dcWaqa9UonI/BgovAEigEVA4rbBZCZByBGxV/YgadmycFZ1Qyl2SyYS242LrKu+ijU5wDuGSURTn2wnCQAIM/1vIYRHEeVAAJQdVBQq+TsXLTj8yfba24N27SMXjFk90mj4jHr9WMO/9tKwKmbTDKYkoP9JgAoL2EY8vnTKPlOiZsaqINEycBuRVjAHEJbCrm8zn3PFpiMX11Zn/ydELr683pjM0asMJY8DuQZAAHIgCIgYYIInRswENdmMJj7+9oqlF+UAYMLU33OIges43+30QvpmiDDURkC447IldQd2Wt+uI9PH758QXzJu1Zg4rqgGxYX+BAZEBCLZnTwZJA7MnX4hCEYAWAkACTd0oLqKIYUKunAiRIU6bJOa5q88pfbgoPXeE6a+cBTFPf5owuYBxqcyGnVbb5A4kSUqZChhsGisYcMpi2857oA/Nxy0Y/76JdVb1Ju/aL7TZPj0aGE6kU0ORjxICMQxlPNvIvjw7XL4K+uHntZg3j4upJ5vslpLRBCKAAQo5FxuUvls5B215+x3jygFB/VYBwAm/+D98ywdehqRUxIoC6kylOyONxbXHf30wfbfgQ50oAMdOKj4N8mAoUMloQFmAAAAAElFTkSuQmCC",baidu=""+new URL("baidulogo-bf43b354.png",import.meta.url).href,claude="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjUxOjA3KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7/DjIoAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAi9SURBVGiB1VpbTFRLFl1Vpx8C4aUoPgINIeM4PoIQtWFABbwyMGqMMdFMzJj5NCSSCR/qXP24E03kyo+JwRjihziRZL6IhFG8t4nStjx8xEyPMTGKQgMC8hxx7Mc5p/Z8AOdSNo/u9l7xrqTTp/fZp2qvqr137arTDAuAiNjUJQcQAyAWgJWIFMYYALCpe9NgCB0041qfIQsA+AjgvwA0AGCMEebBnJ0KIayMsXUACgGUAtgIYAUA0ycG/JJ4D6ATQAuAWwCeMsZGQn5a1/VkIvonEQ0RkaCvA/8josdE9Aci4guSEELsIKIu+noIfAo/Ef1NCBEz30zkENHgYlsaAvxCiG9ptpnRNG0lCfrPYlsYBgK6rv9xcHCQAVPZhogYY+xPYPhdyIG0+DAzxs4lJiYmAVNEvF5vNGPsrwCURTUtTDDG1nHOs4EpIoqiFDDGUhbXrIgQBWAvETEOAJzzbxbZoIjBGNv54MEDxp1OJwfwG6Ivtcb9vGCMZVgsliU8PT3dyjlPYlP1xq8NjLHoNWvWLDVZrVaFMWb6nMauXbuGN2/eSLK4uDhUVFRg5vi8e/cO1dXVkl5sbCwqKirA+cKL9Rwgi8USa+KMK5CLvrDQ3d2NyspKCCFARJh2UU3TkJmZiV27dhlkEhIS4HK50NPTY+jquo4NGzagpLQELKx68ydwzs2cccYQXsUq4f79+1BVFYFAAKqqQtM0aJoGzjlOnDgBXdcNXZPJhJycHKiqaugCwPnz56GpWqQmgDHG+FRsREykqalJMnYaQggMDw/j0aNHhoxzjpKSEsxMLESEoaEhuN3uSE2YbPtzHu7t7YXT6ZzzvqIoaGpqkgzPzc3FqlWrpJj4+PEjnE4nhBAR2xIxESEEzp49C0WZuxggIty7d0+aMUVRcObMGYkcYww3b940XC0SREykr68PLS0tQW7yKbHOzk60trYavxljKCoqQmpqapBec3NzpOZETsTlckmuwBhDQkICysrKJDIWiwWnTp2C3+83ZFarFdu3b5fcy2w24+LFi5JeqOCcR0aEiNDQ0IBAIGDINE3DyZMnUVJSIrmSEAJ9fX148uSJ1HFxcXGQXm9vb8RBHxGRV69eob29XZIlJyejtLQUa9euxbrfrgsabYfDIenn5OQgJSVFmj2v1wuXy4VwyyUiiozIhQsXgmLBbrcjLi4OZrMZ31/4XpotIQTu3r0r6VssFpw7d07SIyLU19eHnb2EEOET8Xg8aGtrkzIM5xxFRUUGuU2bNmH9+vWSgZ2dnWhqapLa2rJlCzIyMiS9rq6uIL2FwBgLn0hbWxu8Xq/UiBACpaWlkqyosMhwLyKC2WzG6dOnpQGIjo7Gtm3bJDdUFAVVVVVQVTUsu8Im0tjYGBSk5eXliIqKkojs+maX5Ou6rmNsbCwo6Pft2ye1R0QYHh7Gs2fPfjkiPT09Qbk+Pj4eR48eNYrA6U9WVhaSkpKkWCIiOBwOiWBeXh5Wr14tzcr79+/R2toaVtCz0dHRxISEhLuMscz5FIUQKCsrw507d6QOkpKSsGfPHphMP+0Epqvdjo4OuN1uqZS32Wxobm429IkIjY2NOH78uNSfzWaDw+GA2WxeiAONjY1lhbwPefv2rbEIzjRsZGQEN27cCBo9xhh0Xcen+7XOzk7cd95HYVGhoVdQUACbzQaPx2O0M73Sl5SUhGQfJxHa9LW1tUFV1aANEBFB0zToui59NE2b1TUsFgu++/t30goeHR2NnJwcKIpiELdYLLh06VLIK31IMTKd3/1+f9iL1aeYXsGfPn1qyBRFwd69eyXyQgh4PB48f/48pHZNoexEXr16JRV+wGTGSUpKCmmLOjw8LKXd6arYbrcbM2C325Geno7u7m5jQfzw4QNcLheysrIWNnJkZCRRCPF0rnNJIQQdO3aMMjIyyGazkc1mo9TUVDp8+DD5fL6Qzjbr6uooJSXFeN5ms9GOHTtI0zSpH4fDQampqYZOWloa5efnS3qzmTg6OprJscC7jp6enqCV3Gw2Iy8vL5SMAgA4cOAAVq5cKcm6urpw+/Zt4zdjDNnZ2UhLSzNkRITu7m7cunVrwT74QpuZx48fY2JiQpL5/X4cOnQoKCPNBavVip07dkr6JpMJlZWV0goeFxeH7OxsmEwmQ1dRFFRXV0s12axEOOfzzsinRRxjDPv378eKFStCJsIYQ0FhgSTTdR1DQ0NBQX/w4EGoqgoiAmMMRIT+/n68ePFi3j5MNJkmZiXj8Xjw8OFDxMfHG9mEc47y8vKQCMxEQUEBEhISpCMjAGhvb8fWrVuNQcnNzUVGRgbGxsakI6OOjg5s3Lhx1sETuiCT3+8XAGatmxVFwdWrVyWZ1WpFenp6yLMxjZiYGFy/fh3j4+OSfOnSpVJbiqLgypUrGBgYmDznmrqVmJg4Z5+qpvrQ2tq6RFXVB/T1vmpbCMLtdq/i9fX1ASHEYFjD+xVBCDFeV1c3BgCYmJg4K4T4Vc6Iz+drDwQCk+9HBgYGwtuSfUXwer0/+ny+yVrryJEjj30+378X26hwIYR439/f/0NcXNzk693NmzcHXr9+fZGIwj9UWjyQz+d7/OzZMzcwVf3W1NSQ0+n818TExAN8ub9nfBZUVR2pr6//9uXLl++lG0VFRay2tnbj+Ph4G33lqVjTtPEnT578effu3XNuDFlNTU3myMjIPV3XQyttvyx0r9fb7XK5/lJQULBkpuFBR+mDg4NDHo/HwTnvT05OtlkslmUziX6uS4QJw81VVR1/+fLlPxoaGk5XVVX96HK5pHie0zC73W59+/btyqqqqt9v27atMDY2dq3Vak1SJo9F+HzP/gzGExEJVVUnvF6v58WLFw8vX77sePPmTWdMTMxES0tLUBzPa0xxcTHTdV3xeDyWZcuWWfPz85csX77cGhUVpei6PrnfX4gOzdLLtGyWb8WkkBBCHx8fV91ut8/tdvvMZnPAbrdrtbW1c56l/h8gg8dutwWvwQAAAABJRU5ErkJggg==",dalle=""+new URL("dalle-4f19ad1c.png",import.meta.url).href,gemini=""+new URL("google-6f260bf3.gif",import.meta.url).href,gpt4logo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjQ1OjA0KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz5FXAnGAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAfvSURBVFiF7ZhLcJPXFcd/59PLkizZBstGlvzA2MEaAwEMAfIitAkNSZmUNpOZpsx0aDrT7ttdp5t2uuy2M11k2kXSNp1mSJMhpC2T8JqA86QBYydWjB+yjS1jy5Jl2dKn73RhFYUOkhGkCQvOUt895/507r3/e+6Rvx+xuPvM+LoBbm73sCqxe1iV2F2KZb9DfzEQGwJqYeW/FCS4fSyhqoaaFqqDuOtE7OTSujBFapzUBFbua8Jq2knro1LTjNNXJLVM0tNMXyJ6TJdTXy2WGES+J+2PYzhQJTHEbFTNJbzrpGETviaq17Fum5z/rS7GwUBva2WlosvHsLNhv2x8BmC6j8/e0MSV4leHm44DrH9c7FXkMggYTswMiWEmP9KZfhbj6K3NVlm26tpp3YvhYPikfvY6S4kbvnobsHtkJT2OKswlcgvY3TRsoqFbkjGG39FYL2bmS8UybAR34K4ncYX+V8mli59cPtqfkNAu3GsQg/hlxs7qwlUsE5uLtZ3Sshd/M5FnxenTz/9BPnvnWILdSaCb1r1S34XAwFG9zmQ4qI/Q/Zz4mlCLxRkGjur4e6DFAHOf6+hZtv1IGrbQ+ZTMj+nUhTvGCkToeFLqI4gNIDNLYhTA5qBuA62PEdwuYrAwydULDL+jizMAIiDFnZRd4P3f6dYjEtpF5BDXBjCX7gArtJPIs+IJkJkjMaTBHlmeLxwufzObnhd/mOwCsXOM92piuMBRVUvrXrFXETun86OFUJZJ9LjWtIq/WZp2MHpWS85aHquunc2Hxenj2qdcfFmragj2oFZhgZx+XH7mhrj4siZjBQk1HDTvZuMhcfoQoeUhGT6p0ePkMgDpKWYG8DURfpDRs7eVLbubDU+Ks5rkWGFiZ/VNhkWPsaIRdhf+Zu47KHUdZK4RO6+BbvEF6XxaGu/n09d1ZoBcmvRVrBz+MGKUE4uSWDUt1K0HIXpck7Fy/8ywU9tGeDdNuyS/TPRNHTlFNo33pIZ2E9op/jDbfyxTn2jsHGJDLQwbho18pVgi+JqoqmNxhsmPyjE5vES+K8Ee7B5EsLtw+QUUJT3N4DGufqTND9LyiDTtlLUbyS9jOFhKYJnlwpbAsuFtQAxmP11FY7YewbKYvsjFlxTY/ANp+wbND8vFl3TifSyTZIy+vzLeq1t+KDWtiB9gbggtt+NLZ8vmEGB5oZwzkIwRfVMnPy7Qf/h7XbeNzqdk6xFp2snw2zobxVwiMcKZ32jrI7TvF28j1UE8ARbjJcPevAxUJbcI4A2sghU9Tqy3mNF8lvFeoscB1nSy7QXZ/LysvQ+xoXlGznDpz5qZxRdkw36xOSvEsvKkp1Xz1EewVxV+XBFAl5+quuLI/PJN3PNZzAwDrzJySpseoOen0nUIw47mifcxfELFINCNL1QhFkpynHQcu5u2x0QMgGSMwWNqOHj0l9L1Hdy1IlIyriqZhA68xulfq5Wj8ynxhwDUYvgk5iLeAP4QlIhQUiBS48T78Daw/pukJpjuwzIZeI2pT7TlEWnZK4Yduwub6ya+X1ydpTmWk3gCxZHmMvF+gj14G8Sw6U2PZMknRj7L0D81NYl7Dd3fl9ZHC/tjdpBLf9ILL+rsIEDHAcK7ixw2J+HddBwoFbVg6bgCDg+l8l3u8knHWZjEH6K6kc2HpXUv//6jJoYxl5i+xMyABnew5bBse0FCD/DJikAcpmGzGAbli2ZXNUA+p6VkohyWCHXtqEXmGjYnNS3s+bmMntGxd0lNYJmMnyd+UTsPSstD7PuVWIq5yNC/WJjQyLMl953NydqNohbp6ZIldTksw47DjZXjytssTGnzHhq3yIb90rCZifc01kt6GgyyKcxlbC7Ge3X8PIlhGreUPgsQ3I4nQOYaqYmSoloOy8pj5bHb0TxTF5gdpL5LNx4UfzOd35ZgD/E+DWwSz1quRfnsDU2NYa7ohWqpM+YP03FAUOaucL3mqQxLLZIx6rvwNmJzkksz+SHxy9rxpKzfhy9EdZNkU/T9RcfOFwsbf5iOpwVuKFABw44/zJbD4m8mm+Lzt7RMUb9KGRh7l/ou6iN4G1ipI8wMA0d18kPCe8Rc0pFThYeGGNS2EdpFeI84q0nGyK7semFF9tr2Udsu7joW4/T/TeeGys27CtbEB9r+hPhCdByQC38oasz8KMmYqhZS4qmnbZ+s24q3EbUYf4+Rk5ocAxAbrlqAYI9onvglom9p/HL5aVfDMpfoP6o7fiKhXTg88vGLmv3v5V0o4oTQA3QdEk89KxV93ysa7y++92tbcddi5ZjpZ/iUzlzGXO3ZszoWMHOZwTd1w7ek8X4e/oWMnGJ2UPPLGHaq19H8sAQiBREZ72XohC4ni75OL12HRGH4lF5+pYLeyepY+SxDJ8imtG2f+MN0P0c+K2YGmxN7FQi5NLFexs5oYuQGx6paNj5DbRuLcSY/qKyfc0vPVzPDyGni/VofIbhdattwVGNlyS3hcCM2zEVNT9/gUtfOfQcJdIuVY+Q0c1dKhC5hlfUgim42sPAE2P0z8axFDHJppvtIX8VepWs6pHY9CFaOoRP0v6q32Hq4U6zr5vLR8bQ0bMLbgPGF1GdTzI8xelrH3/9fAfsqsADDga8JX4jqRhxeUZPMnC5MMj/K0vztMHHnTUrAyjE/wvwIhg0xVEHzt9ow+j9iXTcrD19S+/Qu7TTfw6rE7mFVYncp1n8AuY1j3tEIhhEAAAAASUVORK5CYII=",midjourney="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDI0LTAzLTAxVDIzOjI4OjA2KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7ZULmeAAABgGlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kbtLA0EQhz8TJeKDCFqIWByiVkaiQtBGMEGiEERiBF9NcnkJeRx3ERFbwTagINr4KvQv0FawFgRFEcQ6taKNhnMuCSSImWVnv/3tzLA7C7ZQSk0bjW5IZ3J60O9VlpZXFEcBOw046cERVg1tan4+QF37epJYsQeXVat+3L/WGo0ZKjQ0C0+qmp4TnhEObOY0i/eFu9RkOCp8KTykywWFHy09UuaCxYky/1ish4I+sHUIK4kajtSwmtTTwvJy+tOpDbVyH+slbbHM4oKsfTJ7MQjix4vCLNP48DDChHgPLkYZlh118t2l/DmykquK19hCZ50ESXIMiboh1WOyxkWPyUixZfX/b1+N+NhouXqbF5reTPNjABx7UMyb5vepaRbPwP4KN5lqfvYExj9Fz1e1/mNw7sDVbVWLHMD1LnS/aGE9XJLsMm3xOLxfQPsydN5Dy2q5Z5Vzzp8htC1fdQeHRzAo8c61X+6PZ6+i2ytSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG40lEQVRYhe2YfUwTaRrAO1Om2FJLpR90+VQ+lNKCrCYnsNHdI2CODwO9k2zMsUpOkkW7uIkXD4/kIurqxXiinrInJqya09NdXTkO77SLfORidFUQIbdL+JAvO9BCO7TSznTaed/3/ujJms0GOvhxuwm/PyaTt5l5fvM87/vMO8UQQoIfH/j/W+CHWdTiw6IWHxa1+PDT16qvr3e73a9P5UUC1UIIXbx4ceXKla2trRDC1+r0v3gB0tXVJZfL5XL57t27IYSBX7gAeBRRq9XK5fLu7m6SJA0Gg9PpfH3J4qEVHBxcWVl57dq1K1euREVFZWZmkiQpEAhqa2vv3r3Lsuyr9OKVW6vVqlarEUIQwnPnziUkJJjNZpPJpFAoDAbD9PT0qyoiPy2fz6dQKHw+H0KIBaC29tN31qU/fTrS2Pj3UHmoTqe7f//+K5l2/LQQQtu3b+/v70cQAQSBe2b/+vXr3tbRjPvCxQs4jkul0nv37r28GW+tO3fuVP1+L4SQI/vH3ssaJsS/1YSU/Pp9r4/dtWvXhg0bEhMTTSbTS5rx1no2M7M2Wev6urN/xfKnwiCrTuSpVrz/tuT06T87nc7Vq1fX1dUlJSX19va+US2GYd7C8f6wiFERZn83xHeUcB3Hpr9SJ8Yv7evru3XrVkZGRmtra3x8vH8KLgze70Qcx3wCxDE2aYFYls8KJL4lmYQsxVVZHfZhRVlW1nsajYaiqNLS0tLS0oW/D/g+h9frDSWE0zuXckfEzs8w0IdxNmHnsFp3JD44NfzCpb92dD5MS0tzu906ne7Ro0cLm2QL2UEggPBYFmp80p8HcQqscUhd+Df8W2YJnrrp8KE/rU5Ji4yMfPz48fXr1wsKChaWLN5aEEKEIaEeC8rGuaXBx/4j/42Jm6Bj0fguH32Y9P7s8y8+37Nnz759+xISEvLy8s6ePbsALQzx/E5kaFq/SjrYLXJiop3/knwxKAZcpMD8OwFVEOah0775iy/qRnP7V3HxcWNjYx6PJywsbGZmRiQS8YrCO1uOZ9Pr31GOA1nx1eBrA6GQWSt8cpKg8lbYR3/R/aXO4R4ZGJm0Tn6003j+/HmxWLxt27arV6/yjcI7W8dqjjHK8xdstqfOEO5ZFiSrCCZCaxte++R2GO3WFyd41kyNW8c/2Fryy82/6unpYRgmNjaWJEmCIHiE4bVAOAjD39KE712F/yEJq6gUFVmF+fDdpDvl4tMfSw8019wFHtD7bW/GukwP41GpVAghAEBycvLY2NjrWolIIKCmpydZyglCRdYPhZYKiU+4buj68vEbQaHj2z41ZH+cjhFoxYrlk1MThIjIycnp6+vDcfzMmTMHDhzgVRY+RUSCw0ePHGn/0htcgD3BcOrfYpaULmEwDPchDkeYVr+qqKgoOzu7rGx7U9M/Ozo66uvri4uLY2JisrKySJKUSCQBhgoK/AmoaeqPn3wCZNJg72d7dxvz8o7K5aolYiIIw1ngo2naYrHc+EdTTs5GiqK6u7tTU1OFQmFLS0tPT8/MzIzFYomLiws4BYEBADAajTExMSdOnPB4PAAAAMBsB4cQ+s8hhC6X69KlS2azGT4HIdTW1uZwOFwul9VqDSRcoNlCCLEsOzAw4O9AszazTrMwDKPVaru6uhoaGiwWy8TExPDwMEmSdrvd4XAEBQWNjIxoNJq5w80/txBCFovFbDZPTk7abDar1Wq32+12O0VRLpeLpmmaphmG4TiOIAiJRCKTyZRKpUqlUiqVarVaqVSGhIRIpVKz2Ww0Gk+ePLl161Ycn2epBaQVHx9PEIRGo5FIJFKpVK1Wq1QqhUKhUCg0Go3/KJfLCYLAMOy7Wz8/hxC2tLTs2LGjurq6pKRk7nDfRZ2Xurq6srIyr9fLcdz3dgTwh+A4zv8rx3EAgIqKimXLlg0MDMyOz8v8fQshFB4efvny5TVr1hw/fnx2fGJiIjc3V6fTlZeXu1wu/6Db7TYajSkpKRs3bhwdHb1582ZGRgbLsuXl5QaDIT09va2t7RVki2XZpqamiIiI1tbWqakpvV5fVVXlcrmGh4ejo6Nramo4jtuyZUt+fr7FYrFarZs2bdq8ebPX6z116pRMJpNKpQ0NDQcPHtRqtTabrb29PTIysrGx0ePxzB13Li0IYWFhoV6v7+/v91fH6XQWFRUlJiYqFIrbt28DAPzqhw4dio6OjoqK2r9/P03T/vK1tbWFhIQkJycXFhY6HA6EEABgaGgoJSUlNzf3pbQ6OjooinpxEADQ3Nw8ODiInjcIP52dnQ8fPvzeHYaGhkwm04sdDiFEUdSDBw/m1uK9g3gz/PT/dnuTLGrxYVGLD4tafPiRav0X47gQyEklwQsAAAAASUVORK5CYII=",mindmap="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAD7NJREFUeF7tncuuHLcRhtl+CGXjjXYJ4Ky9tKRsrctSWdsvETiAJMABkn2QV4iWunjvo2eIn8cTsGc40zPTzSqSVcVL/wcwLGnYvBTrO38VyWFPDj9qFjh8/+rJXPlX7vh//3M4fLfR4KXMpcDDVdlp+nL199/dw/TLh+syaqPZZ8XTPoctO+orEC4ArDm8bMPXtR1BCRABHhFbA5BEM55hmA5vTo9ag5DY4xmadzM7nz68TX94308AEGL+uwSC8mkAQ1no/DkAWTHVDEVPCsGe7tWCDyEsg8Lc2weAhNx5X1BsIzVN7wDKxTy7B2ShFu3nEmVKkfr0rCx7h2WXgACKRFZ2nLPsChCAkQjGWvGdhWC7AOTw4tXb0wYdwigBRk77LbvIVYYG5ARG2K+Qcg3Us7TA4IoyJCAAowLDg4IyFCAAowIYt00OBsoQgCD5bgCMQUHpHpDD85e/Orc4Ldugr+y2SwOoSbeAIJzqCLuOQekOEIRTHYFx3dUud+a7AgSq0S0ci8NNfZ316gIQqMYAYNyoyfT549MeRtU8ICc4fCKOn9Es0EFu0jQgCKlGI2JlPI1D0iQgCKl2AEYnIVdzgCCk2h0cTSfwTQGCkGrHcIShNxZyNQMI4AAcZws0BEkTgAAOwHFngUYgqQ4I4AAcmxZoAJKqgOCgIeBgWOCh5qZiNUAAB8M1UCRYoBokVQABHPD8DAtUgcQcEMCR4Rp4pJqSmAICOODpAhYwVRIzQLBaJeAaqOJoAcPVLRNAAAc8W9wCRpCoAwI4xF0DFRoeS1EFBHDAl9UtoKwkaoAADnXXQAPBAofpqda7GvUAef7ygBmEBcwsoASJCiBYzjVzCzR0sYDK8q84IAit4LPVLKCQj4gCAjiquQYaVspHZAFB3gFHbcECgvmIGCDIO1rwDPThZAGxfEQEEIRWcMzmLCCUjxQDAjiacw10SDAfKQcErx+AQ7ZrgeJQqwgQqEe7noGenSxQGGqVAYJVK/hhBxaYPn/M9vPsB6EeHXgGuhgskB1qZQECOOB53Vkgc28kDxCEVt35BzrsslQkGRCoB1ytWwtkJOzpgEA9uvUPdNy51IQ9CRCoB1ysewskqkgaIFCP7v0DA0hTETYgUA+41jAWSFARPiBQj2H8Yx7IX19fxvPNN8c///bb5f//O/15rFGfR8PNRViAQD0G8RIPxRIMalgekvfvnRsRFqaK8ACBelCu1PbnqWDcjmZMUFj7IiQgUI+2fT/au1Iwbiv/73vn/H+j/DB212lAoB59uoM0HMEKXk1++nufNrnvNakiUUCgHp36gRYcI0JCqAgA6ZSBzW6nwuEVwa9ehZWsP59WtCi7jBNuRVUkDgjCK8pN2vrcO/c/fqb75J3bQ7G1OuXref3aOQqWQSCJLfluAoLwivaz5kp4OGJOnerQHDVKrbM5oznnImHWNiD4rnmLU7ndJ8qZcx2ZUpPcetuy7maYFQMEl0+3NYnx3nz6sP25hBNr11/b1hsqsgoIwqvas5XYfiz3kFqWjSmUBICJQ1Yovqoi64AgOVewv2KVsdzD71lIHRWJQfLileIATarmAQL1MJkM2Ua2wh8p9Qi9jSnVCCqyEmbdKQgAkfVd9dpiTiupHmEgWzCOAIi7/976PSBYvVL36bsGqP2GWI8eP3buxx/WS2gAshXOSauV/Sz4Fu/CrDVAsHqlPTk+lvc71yVgcPqokRds5SFjAHK3J3IFCMIrjtcVlKH2KgqqvntUy2EByOGN5DyhrpMFLOEIRtdQkLFDrLsw61pBsLyrw3MNOPxIkIPkzOdVHgJAckyY8gz3AGFKndyyGitLY69iHS27WO49A4L8g+t1ieWoA4SJ1SUVlwbEekk5abCChQGIoDGpqmJnmKhnJT6XDLNisGvkOxLjz6vjHGZdFAT5R54pY09xwiuJYyB/eOTco0fbPZFw3lgepbViJj8j3BoBCNdSReUoQCRDIM3TttQ4JFWqyOByD4cvUc0Kcvj+1RM3HX6Vqx41zRagVq8kHYtqKxdGqt7x1OMqUT8C8uLVW3fA/oc41pRzSQLiO08tCKTeb0X137cpPQbxScis8JSoA5BM+7EeoxxM2rmoUCh0OgaKr8Mfg+HcwJirSizjVS50unnxCMgoBxTD5N7aNtw5K5EQp8ybNSCcsO62/0ubpJwNGxmOo43mRL1/QMJvOs5vvOAMVvfN1gAkB5IU6H3ZUfOOaztcAdLfCV7K+ahJT43HqfrWPqf6KB1iLfvADbdSxzW+cpwt4leygoL0A4j0xGtOeE1A/DRTN5IAjrgFfKLe1RIv5XCpEx7Ka0FC9VdTQSTVRMs+ufNl9dwMSC9LvJSzlRpNI66m+mwFSLBNiqKEK0lHus091Uf8SlYXgOSEVSEhr7ky0xogt6ri/x7u5A2fxa4kTXWw3st3AQgXjth9swES6/tmWwakd+e16H8XgPS8OwxALNxYs42HqelNQko9cpNHKhbPrfd2qgCIpvNa1N04IDH1KHViLfiW0wZALJxYs42GARnhvlkAoum8FnU3DIjVfbOa35IDIBZOrNnGDEibu+hW983GnLg0jAMgms5rUXejgFhfDqB1UwcAsXBi1TbaVBBrQP71T+f+9Md7Q0NBVJ2vh8r7A0TiAoLbmfnpb859+639fFkfNbEfYfcttgmI9f2vAKR7R9YaQJsbhbHYXUNB/vNv577+WsvG2/VCQextnthim4BY5yAAJNFtdlO80X0Q61d91br9EArSOmmNAuLNprX0ejsl1JETzSkEIJrWlai7YUCs8hBqx77EzH955tyzZ8hBSmxY99lOAZH69p/2fbPYKKzr3qWtN/99kN7vmwUgpS5a9/nmAaEcLHenm/o+iIVC+alHDlIXAKr15gGJJethcKnOTEEn6bhUWwCEctG6n8+AtH6zO3eVyTub/9m6XpR752yuKq1NJQCp6+ClrXdzLxblaLeGCFfW+H/nXEmaq0bUBFD9hoJQFqz6eV83K1LOVmrK1FCN0x7VZwDCsWK1MktA/MtznlTrCbdhyuG49dyWkwyrlnVT/QUguTNm8Vynt7tzcxKuCbXgCOFdLMSrDcjapXrWr4jgzpN9uQUgvVw/mvLbmTJouFJT82rNFhXE98nfphi7cdL6NRHUXNX4/OoFOq2vZG0ZKOxn+M+5V4xagBH62xIgVF+2bGzxmogaAFBtDgHIcpABEP/bcXnfbHi7lC+rqRZrBqec0iLEovpAOUr4fG+gLN9R6G3Q7O0m3AlssRzlnNqAUNe25thMM2fL6Y/SM1evgT4B0sdKlpJBVKqtBYj0QobVqp/KJORVCkDy7Jb2VA1AtOEIFhhZSU75hx/q/Aq2WUF6TdTTXNa2dA1AOGHV8qTBMi8Lx3GoVa7RIQEgRpxYA8KBg/ubnzrxHEyocYmG0fRsNRPCqysFQR6iMCuWgFChFReMWzNQY8itV8HcUlUCEClLUvVYOldMPUrPmVHjGElFFuHVvYIgD6FcPu1z6re6r22ZD6TVfin96JFz/vvvWz8Sy8kxSEZSEQCS64WZz9W6UkgjkY6NZRAVWYZXdwqCPCQTgthjNQEpDa1S8hEJlVIwf2KV8wHF5TPnZd7wj02/szBxtE0Up+J3zU5qOK3VfWWadtmq+ya8WlcQ5CHyU1MLEgCSNpccQBBmpdmUXZqzR8GujFlQIy/Ygl06nGMOUbLYbf6xqiAARNLkN3VZKomWw44KyIp6bAOCMEuPEu4OtUQPoCBsK66pxyYgUBG2XcsKcr/kFWvl8WPnfvxhvYQGIFuhopZilVmY+/Td6lV48G4VK3yAw4tc21Yu18qrInoGZCO8iirISUXafEV0ZZ9srnmrpVfrFxsZGXorvOIAgi9RGU1SUTOxFTLJMCu2yKCxpFxkFObDEfWgAUGyzrRy5WIW56Ri6jFoeEUCgmS9suOnNK/5qgjfD+pFQ53epxULr3iAQEVS3LReWWqPpSQEitU9sHqwAIGK1PP55Japg5Gpx9Ip6HwHS8BLHqDsA5R68AHp8eZFWVv2URvHobn3W3HrCq+d6MNCl14SyXkouLkPcjte3JvViQdwHDsMJXxZy1+uFy7b417Y0HNo5W8r+fyR5fusQnOYBRXphJDTO1Fil2ZLjKTj0Mox1YMdYgV7QkUkPMuojhQlSe1Sz3AkqEc6IFCRVFeqW14aks7DqnkyEtQjGZDTihaOn9R1+7TWpU4Pp66ApfXSrDQ390hO0s9hFlTEbDJFG8oFZRAwctQjS0FOKoIzWqLea1hZOGL/+vWl0fBvYTfcr2r5/zrdHd+yZqp65AOC3XVDj0ZTIhZIzD2yQ6zFihZURGTmUIm6BTLhyFaQBSRI2NVnFw2UWiAntCpWkDkXQcJeOnd4XtsCBepRrCBI2LVnF/UXWmDzu+bcetlHTbYqxHfXuaZGOXMLFKqHiIIg1DKfdjTIsYAAHGKAINTizBjKGFqgOLQSSdKXA0aoZTj9aCpqgZJVq9uKi3MQQAJvbcoCQqGVuIKECrH025S77KszwnCI5iBXSvL8JXbZ9+WaLYxWLO9YDkY0xDqrCM5qteAwu+qDZN6hDsi8qgVIduWgVQerEFqp5SBXoRaOolT1m100rgiHWg4CSHbhmvUHqQyHCSBzuAUlqe9Mo/XAAA4zQADJaN5ZeTxGcJgCMkOC5d/KnjVE8yrLuVuWUVnmjU0DIBnCSWsNwhQOcwU575NASWo5WM/tmsNRDRCEWz37aZW+V4GjKiCApIqj9dhoNTiqA4LVrR791bDPhqtVzSTpax3BPomh0/XSVANwNKEg58Qdm4m9uK5+PxuBoylAEG7p+10XLTQER3OAAJIuXFivk4fp6fTLhwe9BtJrNt8o5HYRG4pcSw1R7sEdpnetwdGkgiynG8n7EM4fH0RjIdVtZ5tVECTvO4CjwZCqO0DOoOB4ykjENBtSdQsIEvhB+Gg8pOoakAUk3znnngziMnsZRjeqsZyQ5nOQLe9BAt8RV52pxhCAIInvApCqBw0lLNStgmA5WGL61eroMpxas8YQgEBN1Bw9veKOw6nhAQEo6f4s9sRgYAS7DKUgt5ONRF7M/bcrGhSMXQACRVED5MFN05fp04e3ai00UvHQCgJFEfeyYZJvrmV2BciVovi/HA5vuIbaebndgbGrECvm3Kc8BTvz90baLRRLU+xSQbaAQVLvjl9WavS7GTVUHICsWH0G5RiC7UFZAEWEPADC+LW0AGaEnOUMhB96i9/iY0yJWREAkmHqzoABEBlzjCS9wGh3y8f+dXNfnY7fH8My/2N9HP8IwjR9cb8fcwmoQ/kkQ0HKbRitYX5XY4AnlLxAFP5lDab12z08AOEHICjPnnP/B6B0AiOP7uzBAAAAAElFTkSuQmCC",network=""+new URL("network-0f22586e.png",import.meta.url).href,sdxl=""+new URL("sdxl-7c167940.png",import.meta.url).href,suno=""+new URL("suno-e14fd81c.ico",import.meta.url).href,tencent=""+new URL("tencentlogo-358d1ec1.png",import.meta.url).href,xunfei="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAxOjEzOjIyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7O8zxmAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAY2SURBVGiB7dl9jFRnFQbw351dGKCwUJuO/WAp/XSLQFtpdYwZU5I2Wok1bNOq2ND6ERONVkO1KjE0pmpqsdpEbTQaq8ZUbQJ+BZtq8CODcRItqdriChZCIwoDkuVjdzs7O3P9471blmXu9s7u8odxn+RmMnfO+97nueec95z3HWYwgxnM4H8J0dl+QDVyDa7EjkLs4Nl6Tu5sTTwGnfgYNlQjF1Wjs/Pypl1IqVKLSpXaeLI53IsNnB0x0yqkVKnlUMC5Kc/aIHjn4ukWM21CEhFL8H7cmGIW4SO4D93TKWZahJQqtQ5cKrzxOzBrAvMIH8InTKOYzqlOkIi4XCB3N46jY4xJs8WwCB9Inv957J8qjyl5JBFxBe7Bu7EAXegak/AnMNxieCSE4aZq5NKp8GAKQkqVWieuEkTcjfnJT/NxIc5Jvv8bVYykTPUefKYauWqyXJikkHEi7nKKNOFNX41uKMQG8EccnWDKO3F/NbJsMnyYhJAxIj7qTBGjuA49yUoGv8AeNFKmjYRFYlM1sqJdTrQpJCHWLXjiTsxNMV2KNwg1BZ7FEziIOGVMJ9ZiYzVyRTu8aN8jC7Ee75IuYpTULbihVKnNKsQa+AG+hyPSxczGW/HhamRRO8QyCylVarOFt/xepxJ7IrwKtwv1RSF2GI/iEeyWHmbnJON6s3KjPY+cJyyX3RntO/AW3Faq1M6HQuyfgpiN+A6e19o752N9NXJZVnKZqmqpUpuFNfi+1sk9Ef6Bz2FLuZg/AUk1X4qVWJFcVybXqLcP48FC7EtZHpJVyEJ8TciN8WjgOQyimDLFXwQx28rF/MDYH6qR+ViMCwRvr8JNwsr4a6wrxBMu3cgeWufi5pTf9uEbeAx7U2xWCOH0tlKldppHC7GTy9f2LV6+tu+FXYte/TgeElr+7wqF9bosBLMKWSbE7Xg08Gf8GD/HFqHXGo9ICKNNWDdeDFbj23es3rJ5+dq+JfvnX7IdX8SPcE0WglmFrNA6DI/iaRxKrsfwM9Ra2EbCSvYprEz6tFE8gzcKK+JX1tz81L23r956EFuFFudlkVXI0pT7R7C7XMw3y8V8U6jeX8Y2rRvF0bl6nV6HdiSfXXgN7vnbomWbPn7Dw1X8MgvBrELSitOgIAaUi/kR/BUP4CcYajEmSsjmx9w7PMY2J+TG259cvOYuE/doLyGrkLTVLTZuv1Eu5utCS7JRqOTHWowbv/FqOr2eRIKY25av7bskC8GsQlolMCE8ztifJ57Zh834U4txz6E+5vsizGvB7WK8LgvBrEIOpNx/Ba0bvCRn+p2Z+AP4YfI5itdq7fW5uCgLwaxb3WdT7hewqlSpLRit2lCq1LpwidBgrhpjP4xPY2e5mB/ba61Lmb/pdM+lIqtHnhYSezw6cC3eNO7+oHCicrWQ1MfxK9yKr48VXejtuxzvSHnugBCiL4usHjmG7UKLPR49eGepUtuJfeViPk5yZFtypaLQ2zdH6ApanbrEQm36QxaCWT0yGtetWu8c3oz7xBYXnzrZ0cLmNBR6+6JCb1+X0NLfmGLWj+3VrT3Tt/yWi/lh/E7Ye7fCPKyPm/EXiFYte+TQggvX7T5DUKG3L1fo7ZsvNITfFA4eWglvCkdEj2fhRxun8aVKLS/E+LeECnwmYkYGGnsG9w89MbB36MmhAy8eqB8fGU3WTmFxuCUR0C39RR7B5urWnoey8mvrlC/ZIN0v9ERz0uwaQw0n9wwOntg9+MLwf4YPjgw04ngkvkBoTybaIos6oxc1bYub8fuqW3v6s3JrV0gkhMXDwp4hP5H9yImGgX2DBvYNqffXNWpNcT0WN2LxaD8QEeUiuVmRXD430jG34/cdc3IffP7B7l3tcGv73DXpWq/FZ1GSYccYN2P1/hHDR+tx/VhdY6AZNevNOI5FuY4o7pib09nVWZ993uxKvjD7kzten8+0Uk1JCC+JWSkcWt+EV052rgT9+C0eKBfzOyczwaQfnoTZEmH7e6tQTxa2Oc0Qdgmt+lfLxfy/Jstnykf6pUptHq4XiuX1uEzwUFr+1IVCt1fYXf4Uv0l6s0lj2v5oSbavPYKYHuEwocup1a0mtCqH8HehK34mqVEzmMEMZvB/hv8CkprPZL58AJQAAAAASUVORK5CYII=",zhipu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjI4OjA1KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz56A23nAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAV7SURBVGiB7ZldbBRVFMd/d3a37RYGho8aW6VIMUJMCdaga1CBATQKimgkSogkLMRo0AdUDEZM1FR9ABONxoAxo4mKhMT4UNOgESb4EZ0ooMADn5HPoKgwZdrSbmd3fJjdcrvt7sz2423/yc3mnnvvuec/M/fcc85CGWWUUUYZZZSBGOkNNN2pBKYBjcDNQDdwHjgF/GCbatdw7DPsRDTdiQDLgSX4xt8ERApM7wC+Ad61TfX7oew7bEQ03VGAZcCrwPRBqPgceN421b8Hs/+QiWi6I4ClwGvAjCGqOw7cbZvqX6UuHBIRTXemADuAWQWmnAQOAoeyv4eBWuBWoAm4A6jLW3MImGOb6qVSbBk0EU13pgPfAdcNMLwH2Gib6o8BOuLAFmBl3tBm21TXl2LPoIhoutOEf0hr8oZ+Bl4Bdtum6oXUJYC1wDtcdQpdQINtqufD2lQyEU13ZgOtwFhJfBl4AmiZNmV0BTAFuBGYmm0TgdP4Z+BEtp21DJGR9H4GrJB0brRN9Y0RIaLpznygBaiWxP+OGRVdXXtN1X3AA/ifmhJCXTc+sU+ArUf+bJ8DfC2Nt9imuiSsbaGJaLozGjiKf1hz+Ke+Nr4/XhVZSDjjC6Etk/E+PHaqYw0wLis7b5tqviMoiGgJm72ARCISEV2T6+I1sahyb4i1bsBeYxVFrK+sULzuVO/XVl1kfj+EIqLpTh3Qx4vU18arYtF+L+Es8C3+GZDPQxu+m50qtWnAYiCeW9zjevIX4pbAI/QbaUZ6QuPGxKiI9SFxENgEbLcM0VNAx7ls6w1FEkmvBngGWOumvQmZzFVHF4mIkj7VwDOi6c4twL7cXEURNEyqJqIIgD+ADZYhdpayaT4SSa/6Uluq+cLF1LqcLF4VOVBfG58PjLIMcTpIRxjWq5EIT9QqciR+A+YNlQSAZYjOCxdTqiyrjCl78SOGzWF0hCEyT+5oY2IAe4F7LEPYoSwNgKY7M/EfmG+UwFMivAUkgGWJpKcH6ShKRNOd8fihOACxmIIQtDG8JATwNtJbVxTxZs24yrPAU1nRuoHWygh6IxPlTkVUAOy0DFFSQBeARcACqX/STXvNwJNcdfdNQUqCiMTlTtZTtYS3sTg03WkEPsoTb8hmjfLFe30i6U0opiuISLpPx3ePe0PaWRSa7tyGHyVfK4l/wU8LAP7LW9JQTF8QkSNA773Q3pnGTXsLw5laGJruzAV2AeMlsQ08LUXNC/KWFXXBRYnYptqjKBzL9TMZj/YOd1V4k/tD052lwE5AdrcXgLm2qf4OkEh6o+jrLdssQxRNgQPdr+exRe5fupxqaljaNTek3b3QdGe2pju7gK+AKmnoDH56e0CSrQQqpX5rkP4wRLYqCr2uNtXjCdvp2V13f2d+VjcgNN2ZpelOK/ATMD9v+Dhwl22qR3OCRNJ7HHgvb96moH1ChfE197Qv73G9bflyRaE1k2EPfgizH/88NWbbDHy3eWcBtfuAxXKhIZH0HsOvpsjloy8tQzw6LEQA6hZ1NndeSb8cdn4RHMOvuGy3TTUNkEh6DcBz+BegTOIIcLtliMtBSkvKEG94qOt9p91dm86ESsfzcRJ4HfjUNlUXIJH0ZgEvAo/Qv4h3DlhoGeJwGOUl5+wzV7gPtrW7O5wOtyqdDiSUUgQnolFl26Taql+jEWUyffORxgLrLOBhyxAjV3wASCS9es/zXrrSnVl1pStd6aY9XNdDCKisUHrbAIlXEM7gV1M+sAxRUk14SAW6bGL0LH45Z3zA9GI4hO+ZviiSmBXFsNR+sxfYGvwAcCowmeLZZwd+CnwU+NgyROA9EYQR+VshkfSi+GTkutYpsjm8ZYiSa7tllFFGGWWUUUYI/A/6RZ4aHhranwAAAABJRU5ErkJggg==",_hoisted_1$j=["src"],_hoisted_2$i=["src"],_hoisted_3$h=["src"],_hoisted_4$d=["src"],_hoisted_5$d={key:4,class:"select-none inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-200 dark:border-gray-700 border-solid dark:bg-gray-500 text-gray-600 dark:text-white font-semibold text-base"},_hoisted_6$c=createBaseVNode("span",{class:"flex items-center justify-center w-full h-full"}," AI ",-1),_hoisted_7$b=[_hoisted_6$c],_sfc_main$i=defineComponent({__name:"Avatar",props:{image:{type:Boolean},model:{},modelAvatar:{}},setup(b){const r=b,m=useChatStore(),w=computed(()=>{var a,g,n,c,R,v,e,L,O,B,P,S,_,l,y;if((a=r.model)!=null&&a.includes("gpt"))return gpt4logo;if((g=r.model)!=null&&g.includes("dall-e"))return dalle;if((n=r.model)!=null&&n.includes("midjourney"))return midjourney;if((c=r.model)!=null&&c.includes("gemini"))return gemini;if((R=r.model)!=null&&R.includes("360"))return logo360;if((v=r.model)!=null&&v.includes("qwen"))return ali;if((e=r.model)!=null&&e.includes("ERNIE"))return baidu;if((L=r.model)!=null&&L.includes("claude"))return claude;if((O=r.model)!=null&&O.includes("hunyuan"))return tencent;if((B=r.model)!=null&&B.includes("SparkDesk"))return xunfei;if((P=r.model)!=null&&P.includes("glm"))return zhipu;if((S=r.model)!=null&&S.includes("suno"))return suno;if((_=r.model)!=null&&_.includes("network"))return network;if((l=r.model)!=null&&l.includes("mindmap"))return mindmap;if((y=r.model)!=null&&y.includes("stable-diffusion"))return sdxl}),U=useAuthStore(),k=computed(()=>{var g;return((g=x.value)==null?void 0:g.appLogo)||U.globalConfig.robotAvatar}),x=computed(()=>m.groupList.find(a=>a.uuid===m.active));return(a,g)=>unref(isString$1)(a.modelAvatar)&&a.modelAvatar.length>0?(openBlock(),createElementBlock("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border da r border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:a.modelAvatar,alt:"Robot Avatar"},null,8,_hoisted_1$j)):unref(isString$1)(k.value)&&k.value.length>0?(openBlock(),createElementBlock("img",{key:1,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:k.value,alt:"Robot Avatar"},null,8,_hoisted_2$i)):w.value?(openBlock(),createElementBlock("img",{key:2,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:w.value,alt:"Robot Avatar"},null,8,_hoisted_3$h)):unref(isString$1)(k.value)&&k.value.length>0?(openBlock(),createElementBlock("img",{key:3,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:k.value,alt:"Robot Avatar"},null,8,_hoisted_4$d)):(openBlock(),createElementBlock("span",_hoisted_5$d,_hoisted_7$b))}});var katex=requireKatex();function isValidDelim(b,r){var m,w,U=b.posMax,k=!0,x=!0;return m=r>0?b.src.charCodeAt(r-1):-1,w=r+1<=U?b.src.charCodeAt(r+1):-1,(m===32||m===9||w>=48&&w<=57)&&(x=!1),(w===32||w===9)&&(k=!1),{can_open:k,can_close:x}}function math_inline(b,r){var m,w,U,k,x;if(b.src[b.pos]!=="$")return!1;if(k=isValidDelim(b,b.pos),!k.can_open)return r||(b.pending+="$"),b.pos+=1,!0;for(m=b.pos+1,w=m;(w=b.src.indexOf("$",w))!==-1;){for(x=w-1;b.src[x]==="\\";)x-=1;if((w-x)%2==1)break;w+=1}return w===-1?(r||(b.pending+="$"),b.pos=m,!0):w-m===0?(r||(b.pending+="$$"),b.pos=m+1,!0):(k=isValidDelim(b,w),k.can_close?(r||(U=b.push("math_inline","math",0),U.markup="$",U.content=b.src.slice(m,w)),b.pos=w+1,!0):(r||(b.pending+="$"),b.pos=m,!0))}function math_block(b,r,m,w){var U,k,x,a,g=!1,n,c=b.bMarks[r]+b.tShift[r],R=b.eMarks[r];if(c+2>R||b.src.slice(c,c+2)!=="$$")return!1;if(c+=2,U=b.src.slice(c,R),w)return!0;for(U.trim().slice(-2)==="$$"&&(U=U.trim().slice(0,-2),g=!0),x=r;!g&&(x++,!(x>=m||(c=b.bMarks[x]+b.tShift[x],R=b.eMarks[x],c/g,">").replace(/"/g,""").replace(/'/g,"'")}var markdownItKatex=function(r,m){m=m||{},m.katex&&(katex=m.katex),m.blockClass||(m.blockClass="");var w=function(a){m.displayMode=!1;try{return katex.renderToString(a,m)}catch(g){return m.throwOnError&&console.log(g),`${escapeHtml$1(a)}`}},U=function(a,g){return w(a[g].content)},k=function(a){m.displayMode=!0;try{return`

    `+katex.renderToString(a,m)+"

    "}catch(g){return m.throwOnError&&console.log(g),`

    ${escapeHtml$1(a)}

    `}},x=function(a,g){return k(a[g].content)+` +`};r.inline.ruler.after("escape","math_inline",math_inline),r.block.ruler.after("blockquote","math_block",math_block,{alt:["paragraph","reference","blockquote","list"]}),r.renderer.rules.math_inline=U,r.renderer.rules.math_block=x};const mdKatex=getDefaultExportFromCjs(markdownItKatex);function deepFreeze(b){return b instanceof Map?b.clear=b.delete=b.set=function(){throw new Error("map is read-only")}:b instanceof Set&&(b.add=b.clear=b.delete=function(){throw new Error("set is read-only")}),Object.freeze(b),Object.getOwnPropertyNames(b).forEach(r=>{const m=b[r],w=typeof m;(w==="object"||w==="function")&&!Object.isFrozen(m)&&deepFreeze(m)}),b}class Response{constructor(r){r.data===void 0&&(r.data={}),this.data=r.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function escapeHTML(b){return b.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit$1(b,...r){const m=Object.create(null);for(const w in b)m[w]=b[w];return r.forEach(function(w){for(const U in w)m[U]=w[U]}),m}const SPAN_CLOSE="",emitsWrappingTags=b=>!!b.scope,scopeToCSSClass=(b,{prefix:r})=>{if(b.startsWith("language:"))return b.replace("language:","language-");if(b.includes(".")){const m=b.split(".");return[`${r}${m.shift()}`,...m.map((w,U)=>`${w}${"_".repeat(U+1)}`)].join(" ")}return`${r}${b}`};class HTMLRenderer{constructor(r,m){this.buffer="",this.classPrefix=m.classPrefix,r.walk(this)}addText(r){this.buffer+=escapeHTML(r)}openNode(r){if(!emitsWrappingTags(r))return;const m=scopeToCSSClass(r.scope,{prefix:this.classPrefix});this.span(m)}closeNode(r){emitsWrappingTags(r)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(r){this.buffer+=``}}const newNode=(b={})=>{const r={children:[]};return Object.assign(r,b),r};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(r){this.top.children.push(r)}openNode(r){const m=newNode({scope:r});this.add(m),this.stack.push(m)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(r){return this.constructor._walk(r,this.rootNode)}static _walk(r,m){return typeof m=="string"?r.addText(m):m.children&&(r.openNode(m),m.children.forEach(w=>this._walk(r,w)),r.closeNode(m)),r}static _collapse(r){typeof r!="string"&&r.children&&(r.children.every(m=>typeof m=="string")?r.children=[r.children.join("")]:r.children.forEach(m=>{TokenTree._collapse(m)}))}}class TokenTreeEmitter extends TokenTree{constructor(r){super(),this.options=r}addText(r){r!==""&&this.add(r)}startScope(r){this.openNode(r)}endScope(){this.closeNode()}__addSublanguage(r,m){const w=r.root;m&&(w.scope=`language:${m}`),this.add(w)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(b){return b?typeof b=="string"?b:b.source:null}function lookahead(b){return concat("(?=",b,")")}function anyNumberOfTimes(b){return concat("(?:",b,")*")}function optional(b){return concat("(?:",b,")?")}function concat(...b){return b.map(m=>source(m)).join("")}function stripOptionsFromArgs(b){const r=b[b.length-1];return typeof r=="object"&&r.constructor===Object?(b.splice(b.length-1,1),r):{}}function either(...b){return"("+(stripOptionsFromArgs(b).capture?"":"?:")+b.map(w=>source(w)).join("|")+")"}function countMatchGroups(b){return new RegExp(b.toString()+"|").exec("").length-1}function startsWith(b,r){const m=b&&b.exec(r);return m&&m.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(b,{joinWith:r}){let m=0;return b.map(w=>{m+=1;const U=m;let k=source(w),x="";for(;k.length>0;){const a=BACKREF_RE.exec(k);if(!a){x+=k;break}x+=k.substring(0,a.index),k=k.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?x+="\\"+String(Number(a[1])+U):(x+=a[0],a[0]==="("&&m++)}return x}).map(w=>`(${w})`).join(r)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(b={})=>{const r=/^#![ ]*\//;return b.binary&&(b.begin=concat(r,/.*\b/,b.binary,/\b.*/)),inherit$1({scope:"meta",begin:r,end:/$/,relevance:0,"on:begin":(m,w)=>{m.index!==0&&w.ignoreMatch()}},b)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(b,r,m={}){const w=inherit$1({scope:"comment",begin:b,end:r,contains:[]},m);w.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const U=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return w.contains.push({begin:concat(/[ ]+/,"(",U,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),w},C_LINE_COMMENT_MODE=COMMENT("//","$"),C_BLOCK_COMMENT_MODE=COMMENT("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]},TITLE_MODE={scope:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(b){return Object.assign(b,{"on:begin":(r,m)=>{m.data._beginMatch=r[1]},"on:end":(r,m)=>{m.data._beginMatch!==r[1]&&m.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,APOS_STRING_MODE,BACKSLASH_ESCAPE,BINARY_NUMBER_MODE,BINARY_NUMBER_RE,COMMENT,C_BLOCK_COMMENT_MODE,C_LINE_COMMENT_MODE,C_NUMBER_MODE,C_NUMBER_RE,END_SAME_AS_BEGIN,HASH_COMMENT_MODE,IDENT_RE,MATCH_NOTHING_RE,METHOD_GUARD,NUMBER_MODE,NUMBER_RE,PHRASAL_WORDS_MODE,QUOTE_STRING_MODE,REGEXP_MODE,RE_STARTERS_RE,SHEBANG,TITLE_MODE,UNDERSCORE_IDENT_RE,UNDERSCORE_TITLE_MODE});function skipIfHasPrecedingDot(b,r){b.input[b.index-1]==="."&&r.ignoreMatch()}function scopeClassName(b,r){b.className!==void 0&&(b.scope=b.className,delete b.className)}function beginKeywords(b,r){r&&b.beginKeywords&&(b.begin="\\b("+b.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",b.__beforeBegin=skipIfHasPrecedingDot,b.keywords=b.keywords||b.beginKeywords,delete b.beginKeywords,b.relevance===void 0&&(b.relevance=0))}function compileIllegal(b,r){Array.isArray(b.illegal)&&(b.illegal=either(...b.illegal))}function compileMatch(b,r){if(b.match){if(b.begin||b.end)throw new Error("begin & end are not supported with match");b.begin=b.match,delete b.match}}function compileRelevance(b,r){b.relevance===void 0&&(b.relevance=1)}const beforeMatchExt=(b,r)=>{if(!b.beforeMatch)return;if(b.starts)throw new Error("beforeMatch cannot be used with starts");const m=Object.assign({},b);Object.keys(b).forEach(w=>{delete b[w]}),b.keywords=m.keywords,b.begin=concat(m.beforeMatch,lookahead(m.begin)),b.starts={relevance:0,contains:[Object.assign(m,{endsParent:!0})]},b.relevance=0,delete m.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(b,r,m=DEFAULT_KEYWORD_SCOPE){const w=Object.create(null);return typeof b=="string"?U(m,b.split(" ")):Array.isArray(b)?U(m,b):Object.keys(b).forEach(function(k){Object.assign(w,compileKeywords(b[k],r,k))}),w;function U(k,x){r&&(x=x.map(a=>a.toLowerCase())),x.forEach(function(a){const g=a.split("|");w[g[0]]=[k,scoreForKeyword(g[0],g[1])]})}}function scoreForKeyword(b,r){return r?Number(r):commonKeyword(b)?0:1}function commonKeyword(b){return COMMON_KEYWORDS.includes(b.toLowerCase())}const seenDeprecations={},error$1=b=>{console.error(b)},warn=(b,...r)=>{console.log(`WARN: ${b}`,...r)},deprecated=(b,r)=>{seenDeprecations[`${b}/${r}`]||(console.log(`Deprecated as of ${b}. ${r}`),seenDeprecations[`${b}/${r}`]=!0)},MultiClassError=new Error;function remapScopeNames(b,r,{key:m}){let w=0;const U=b[m],k={},x={};for(let a=1;a<=r.length;a++)x[a+w]=U[a],k[a+w]=!0,w+=countMatchGroups(r[a-1]);b[m]=x,b[m]._emit=k,b[m]._multi=!0}function beginMultiClass(b){if(Array.isArray(b.begin)){if(b.skip||b.excludeBegin||b.returnBegin)throw error$1("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof b.beginScope!="object"||b.beginScope===null)throw error$1("beginScope must be object"),MultiClassError;remapScopeNames(b,b.begin,{key:"beginScope"}),b.begin=_rewriteBackreferences(b.begin,{joinWith:""})}}function endMultiClass(b){if(Array.isArray(b.end)){if(b.skip||b.excludeEnd||b.returnEnd)throw error$1("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof b.endScope!="object"||b.endScope===null)throw error$1("endScope must be object"),MultiClassError;remapScopeNames(b,b.end,{key:"endScope"}),b.end=_rewriteBackreferences(b.end,{joinWith:""})}}function scopeSugar(b){b.scope&&typeof b.scope=="object"&&b.scope!==null&&(b.beginScope=b.scope,delete b.scope)}function MultiClass(b){scopeSugar(b),typeof b.beginScope=="string"&&(b.beginScope={_wrap:b.beginScope}),typeof b.endScope=="string"&&(b.endScope={_wrap:b.endScope}),beginMultiClass(b),endMultiClass(b)}function compileLanguage(b){function r(x,a){return new RegExp(source(x),"m"+(b.case_insensitive?"i":"")+(b.unicodeRegex?"u":"")+(a?"g":""))}class m{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,g){g.position=this.position++,this.matchIndexes[this.matchAt]=g,this.regexes.push([g,a]),this.matchAt+=countMatchGroups(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(g=>g[1]);this.matcherRe=r(_rewriteBackreferences(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const g=this.matcherRe.exec(a);if(!g)return null;const n=g.findIndex((R,v)=>v>0&&R!==void 0),c=this.matchIndexes[n];return g.splice(0,n),Object.assign(g,c)}}class w{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const g=new m;return this.rules.slice(a).forEach(([n,c])=>g.addRule(n,c)),g.compile(),this.multiRegexes[a]=g,g}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,g){this.rules.push([a,g]),g.type==="begin"&&this.count++}exec(a){const g=this.getMatcher(this.regexIndex);g.lastIndex=this.lastIndex;let n=g.exec(a);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,n=c.exec(a)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function U(x){const a=new w;return x.contains.forEach(g=>a.addRule(g.begin,{rule:g,type:"begin"})),x.terminatorEnd&&a.addRule(x.terminatorEnd,{type:"end"}),x.illegal&&a.addRule(x.illegal,{type:"illegal"}),a}function k(x,a){const g=x;if(x.isCompiled)return g;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(c=>c(x,a)),b.compilerExtensions.forEach(c=>c(x,a)),x.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(c=>c(x,a)),x.isCompiled=!0;let n=null;return typeof x.keywords=="object"&&x.keywords.$pattern&&(x.keywords=Object.assign({},x.keywords),n=x.keywords.$pattern,delete x.keywords.$pattern),n=n||/\w+/,x.keywords&&(x.keywords=compileKeywords(x.keywords,b.case_insensitive)),g.keywordPatternRe=r(n,!0),a&&(x.begin||(x.begin=/\B|\b/),g.beginRe=r(g.begin),!x.end&&!x.endsWithParent&&(x.end=/\B|\b/),x.end&&(g.endRe=r(g.end)),g.terminatorEnd=source(g.end)||"",x.endsWithParent&&a.terminatorEnd&&(g.terminatorEnd+=(x.end?"|":"")+a.terminatorEnd)),x.illegal&&(g.illegalRe=r(x.illegal)),x.contains||(x.contains=[]),x.contains=[].concat(...x.contains.map(function(c){return expandOrCloneMode(c==="self"?x:c)})),x.contains.forEach(function(c){k(c,g)}),x.starts&&k(x.starts,a),g.matcher=U(g),g}if(b.compilerExtensions||(b.compilerExtensions=[]),b.contains&&b.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return b.classNameAliases=inherit$1(b.classNameAliases||{}),k(b)}function dependencyOnParent(b){return b?b.endsWithParent||dependencyOnParent(b.starts):!1}function expandOrCloneMode(b){return b.variants&&!b.cachedVariants&&(b.cachedVariants=b.variants.map(function(r){return inherit$1(b,{variants:null},r)})),b.cachedVariants?b.cachedVariants:dependencyOnParent(b)?inherit$1(b,{starts:b.starts?inherit$1(b.starts):null}):Object.isFrozen(b)?inherit$1(b):b}var version$1="11.9.0";class HTMLInjectionError extends Error{constructor(r,m){super(r),this.name="HTMLInjectionError",this.html=m}}const escape$1=escapeHTML,inherit=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(b){const r=Object.create(null),m=Object.create(null),w=[];let U=!0;const k="Could not find the language '{}', did you forget to load/include a language module?",x={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function g(X){return a.noHighlightRe.test(X)}function n(X){let q=X.className+" ";q+=X.parentNode?X.parentNode.className:"";const $=a.languageDetectRe.exec(q);if($){const fe=N($[1]);return fe||(warn(k.replace("{}",$[1])),warn("Falling back to no-highlight mode for this block.",X)),fe?$[1]:"no-highlight"}return q.split(/\s+/).find(fe=>g(fe)||N(fe))}function c(X,q,$){let fe="",Q="";typeof q=="object"?(fe=X,$=q.ignoreIllegals,Q=q.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),Q=X,fe=q),$===void 0&&($=!0);const ie={code:fe,language:Q};H("before:highlight",ie);const Te=ie.result?ie.result:R(ie.language,ie.code,$);return Te.code=ie.code,H("after:highlight",Te),Te}function R(X,q,$,fe){const Q=Object.create(null);function ie(Oe,Ee){return Oe.keywords[Ee]}function Te(){if(!xe.keywords){ke.addText(De);return}let Oe=0;xe.keywordPatternRe.lastIndex=0;let Ee=xe.keywordPatternRe.exec(De),Ae="";for(;Ee;){Ae+=De.substring(Oe,Ee.index);const Ve=Ce.case_insensitive?Ee[0].toLowerCase():Ee[0],$e=ie(xe,Ve);if($e){const[Ue,He]=$e;if(ke.addText(Ae),Ae="",Q[Ve]=(Q[Ve]||0)+1,Q[Ve]<=MAX_KEYWORD_HITS&&(Fe+=He),Ue.startsWith("_"))Ae+=Ee[0];else{const Qe=Ce.classNameAliases[Ue]||Ue;ce(Ee[0],Qe)}}else Ae+=Ee[0];Oe=xe.keywordPatternRe.lastIndex,Ee=xe.keywordPatternRe.exec(De)}Ae+=De.substring(Oe),ke.addText(Ae)}function me(){if(De==="")return;let Oe=null;if(typeof xe.subLanguage=="string"){if(!r[xe.subLanguage]){ke.addText(De);return}Oe=R(xe.subLanguage,De,!0,Ne[xe.subLanguage]),Ne[xe.subLanguage]=Oe._top}else Oe=e(De,xe.subLanguage.length?xe.subLanguage:null);xe.relevance>0&&(Fe+=Oe.relevance),ke.__addSublanguage(Oe._emitter,Oe.language)}function K(){xe.subLanguage!=null?me():Te(),De=""}function ce(Oe,Ee){Oe!==""&&(ke.startScope(Ee),ke.addText(Oe),ke.endScope())}function de(Oe,Ee){let Ae=1;const Ve=Ee.length-1;for(;Ae<=Ve;){if(!Oe._emit[Ae]){Ae++;continue}const $e=Ce.classNameAliases[Oe[Ae]]||Oe[Ae],Ue=Ee[Ae];$e?ce(Ue,$e):(De=Ue,Te(),De=""),Ae++}}function Z(Oe,Ee){return Oe.scope&&typeof Oe.scope=="string"&&ke.openNode(Ce.classNameAliases[Oe.scope]||Oe.scope),Oe.beginScope&&(Oe.beginScope._wrap?(ce(De,Ce.classNameAliases[Oe.beginScope._wrap]||Oe.beginScope._wrap),De=""):Oe.beginScope._multi&&(de(Oe.beginScope,Ee),De="")),xe=Object.create(Oe,{parent:{value:xe}}),xe}function ae(Oe,Ee,Ae){let Ve=startsWith(Oe.endRe,Ae);if(Ve){if(Oe["on:end"]){const $e=new Response(Oe);Oe["on:end"](Ee,$e),$e.isMatchIgnored&&(Ve=!1)}if(Ve){for(;Oe.endsParent&&Oe.parent;)Oe=Oe.parent;return Oe}}if(Oe.endsWithParent)return ae(Oe.parent,Ee,Ae)}function he(Oe){return xe.matcher.regexIndex===0?(De+=Oe[0],1):(Le=!0,0)}function we(Oe){const Ee=Oe[0],Ae=Oe.rule,Ve=new Response(Ae),$e=[Ae.__beforeBegin,Ae["on:begin"]];for(const Ue of $e)if(Ue&&(Ue(Oe,Ve),Ve.isMatchIgnored))return he(Ee);return Ae.skip?De+=Ee:(Ae.excludeBegin&&(De+=Ee),K(),!Ae.returnBegin&&!Ae.excludeBegin&&(De=Ee)),Z(Ae,Oe),Ae.returnBegin?0:Ee.length}function _e(Oe){const Ee=Oe[0],Ae=q.substring(Oe.index),Ve=ae(xe,Oe,Ae);if(!Ve)return NO_MATCH;const $e=xe;xe.endScope&&xe.endScope._wrap?(K(),ce(Ee,xe.endScope._wrap)):xe.endScope&&xe.endScope._multi?(K(),de(xe.endScope,Oe)):$e.skip?De+=Ee:($e.returnEnd||$e.excludeEnd||(De+=Ee),K(),$e.excludeEnd&&(De=Ee));do xe.scope&&ke.closeNode(),!xe.skip&&!xe.subLanguage&&(Fe+=xe.relevance),xe=xe.parent;while(xe!==Ve.parent);return Ve.starts&&Z(Ve.starts,Oe),$e.returnEnd?0:Ee.length}function ye(){const Oe=[];for(let Ee=xe;Ee!==Ce;Ee=Ee.parent)Ee.scope&&Oe.unshift(Ee.scope);Oe.forEach(Ee=>ke.openNode(Ee))}let se={};function Ie(Oe,Ee){const Ae=Ee&&Ee[0];if(De+=Oe,Ae==null)return K(),0;if(se.type==="begin"&&Ee.type==="end"&&se.index===Ee.index&&Ae===""){if(De+=q.slice(Ee.index,Ee.index+1),!U){const Ve=new Error(`0 width match regex (${X})`);throw Ve.languageName=X,Ve.badRule=se.rule,Ve}return 1}if(se=Ee,Ee.type==="begin")return we(Ee);if(Ee.type==="illegal"&&!$){const Ve=new Error('Illegal lexeme "'+Ae+'" for mode "'+(xe.scope||"")+'"');throw Ve.mode=xe,Ve}else if(Ee.type==="end"){const Ve=_e(Ee);if(Ve!==NO_MATCH)return Ve}if(Ee.type==="illegal"&&Ae==="")return 1;if(qe>1e5&&qe>Ee.index*3)throw new Error("potential infinite loop, way more iterations than matches");return De+=Ae,Ae.length}const Ce=N(X);if(!Ce)throw error$1(k.replace("{}",X)),new Error('Unknown language: "'+X+'"');const oe=compileLanguage(Ce);let pe="",xe=fe||oe;const Ne={},ke=new a.__emitter(a);ye();let De="",Fe=0,Pe=0,qe=0,Le=!1;try{if(Ce.__emitTokens)Ce.__emitTokens(q,ke);else{for(xe.matcher.considerAll();;){qe++,Le?Le=!1:xe.matcher.considerAll(),xe.matcher.lastIndex=Pe;const Oe=xe.matcher.exec(q);if(!Oe)break;const Ee=q.substring(Pe,Oe.index),Ae=Ie(Ee,Oe);Pe=Oe.index+Ae}Ie(q.substring(Pe))}return ke.finalize(),pe=ke.toHTML(),{language:X,value:pe,relevance:Fe,illegal:!1,_emitter:ke,_top:xe}}catch(Oe){if(Oe.message&&Oe.message.includes("Illegal"))return{language:X,value:escape$1(q),illegal:!0,relevance:0,_illegalBy:{message:Oe.message,index:Pe,context:q.slice(Pe-100,Pe+100),mode:Oe.mode,resultSoFar:pe},_emitter:ke};if(U)return{language:X,value:escape$1(q),illegal:!1,relevance:0,errorRaised:Oe,_emitter:ke,_top:xe};throw Oe}}function v(X){const q={value:escape$1(X),illegal:!1,relevance:0,_top:x,_emitter:new a.__emitter(a)};return q._emitter.addText(X),q}function e(X,q){q=q||a.languages||Object.keys(r);const $=v(X),fe=q.filter(N).filter(W).map(K=>R(K,X,!1));fe.unshift($);const Q=fe.sort((K,ce)=>{if(K.relevance!==ce.relevance)return ce.relevance-K.relevance;if(K.language&&ce.language){if(N(K.language).supersetOf===ce.language)return 1;if(N(ce.language).supersetOf===K.language)return-1}return 0}),[ie,Te]=Q,me=ie;return me.secondBest=Te,me}function L(X,q,$){const fe=q&&m[q]||$;X.classList.add("hljs"),X.classList.add(`language-${fe}`)}function O(X){let q=null;const $=n(X);if(g($))return;if(H("before:highlightElement",{el:X,language:$}),X.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",X);return}if(X.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(X)),a.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",X.innerHTML);q=X;const fe=q.textContent,Q=$?c(fe,{language:$,ignoreIllegals:!0}):e(fe);X.innerHTML=Q.value,X.dataset.highlighted="yes",L(X,$,Q.language),X.result={language:Q.language,re:Q.relevance,relevance:Q.relevance},Q.secondBest&&(X.secondBest={language:Q.secondBest.language,relevance:Q.secondBest.relevance}),H("after:highlightElement",{el:X,result:Q,text:fe})}function B(X){a=inherit(a,X)}const P=()=>{l(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function S(){l(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function l(){if(document.readyState==="loading"){_=!0;return}document.querySelectorAll(a.cssSelector).forEach(O)}function y(){_&&l()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",y,!1);function D(X,q){let $=null;try{$=q(b)}catch(fe){if(error$1("Language definition for '{}' could not be registered.".replace("{}",X)),U)error$1(fe);else throw fe;$=x}$.name||($.name=X),r[X]=$,$.rawDefinition=q.bind(null,b),$.aliases&&G($.aliases,{languageName:X})}function M(X){delete r[X];for(const q of Object.keys(m))m[q]===X&&delete m[q]}function F(){return Object.keys(r)}function N(X){return X=(X||"").toLowerCase(),r[X]||r[m[X]]}function G(X,{languageName:q}){typeof X=="string"&&(X=[X]),X.forEach($=>{m[$.toLowerCase()]=q})}function W(X){const q=N(X);return q&&!q.disableAutodetect}function J(X){X["before:highlightBlock"]&&!X["before:highlightElement"]&&(X["before:highlightElement"]=q=>{X["before:highlightBlock"](Object.assign({block:q.el},q))}),X["after:highlightBlock"]&&!X["after:highlightElement"]&&(X["after:highlightElement"]=q=>{X["after:highlightBlock"](Object.assign({block:q.el},q))})}function Y(X){J(X),w.push(X)}function V(X){const q=w.indexOf(X);q!==-1&&w.splice(q,1)}function H(X,q){const $=X;w.forEach(function(fe){fe[$]&&fe[$](q)})}function z(X){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),O(X)}Object.assign(b,{highlight:c,highlightAuto:e,highlightAll:l,highlightElement:O,highlightBlock:z,configure:B,initHighlighting:P,initHighlightingOnLoad:S,registerLanguage:D,unregisterLanguage:M,listLanguages:F,getLanguage:N,registerAliases:G,autoDetection:W,inherit,addPlugin:Y,removePlugin:V}),b.debugMode=function(){U=!1},b.safeMode=function(){U=!0},b.versionString=version$1,b.regex={concat,lookahead,either,optional,anyNumberOfTimes};for(const X in MODES)typeof MODES[X]=="object"&&deepFreeze(MODES[X]);return Object.assign(b,MODES),b},highlight=HLJS({});highlight.newInstance=()=>HLJS({});var core=highlight;highlight.HighlightJS=highlight;highlight.default=highlight;var _1c_1,hasRequired_1c;function require_1c(){if(hasRequired_1c)return _1c_1;hasRequired_1c=1;function b(r){const m="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",k="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",g="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",n="разделительстраниц разделительстрок символтабуляции ",c="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",R="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",v="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",e=n+c+R+v,L="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",O="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",B="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",P="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",S="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",_="отображениевремениэлементовпланировщика ",l="типфайлаформатированногодокумента ",y="обходрезультатазапроса типзаписизапроса ",D="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",M="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",F="типизмеренияпостроителязапроса ",N="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",G="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",W="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",J="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",Y="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",V="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",H="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",z="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",X="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",q="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",$="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",fe=L+O+B+P+S+_+l+y+D+M+F+N+G+W+J+Y+V+H+z+X+q+$,Te="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",me="null истина ложь неопределено",K=r.inherit(r.NUMBER_MODE),ce={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},de={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Z=r.inherit(r.C_LINE_COMMENT_MODE),ae={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:m,keyword:k+g},contains:[Z]},he={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},we={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:m,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:m,keyword:"знач",literal:me},contains:[K,ce,de]},Z]},r.inherit(r.TITLE_MODE,{begin:m})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:m,keyword:k,built_in:e,class:fe,type:Te,literal:me},contains:[ae,we,Z,he,K,ce,de]}}return _1c_1=b,_1c_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1;function b(r){const m=r.regex,w=/^[a-zA-Z][a-zA-Z0-9-]*/,U=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],k=r.COMMENT(/;/,/$/),x={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},g={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},n={scope:"symbol",match:/%[si](?=".*")/},c={scope:"attribute",match:m.concat(w,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:U,contains:[{scope:"operator",match:/=\/?/},c,k,x,a,g,n,r.QUOTE_STRING_MODE,r.NUMBER_MODE]}}return abnf_1=b,abnf_1}var accesslog_1,hasRequiredAccesslog;function requireAccesslog(){if(hasRequiredAccesslog)return accesslog_1;hasRequiredAccesslog=1;function b(r){const m=r.regex,w=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:m.concat(/"/,m.either(...w)),end:/"/,keywords:w,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return accesslog_1=b,accesslog_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1;function b(r){const m=r.regex,w=/[a-zA-Z_$][a-zA-Z0-9_$]*/,U=m.concat(w,m.concat("(\\.",w,")*")),k=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,x={className:"rest_arg",begin:/[.]{3}/,end:w,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,U],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,w],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[r.inherit(r.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,x]},{begin:m.concat(/:\s*/,k)}]},r.METHOD_GUARD],illegal:/#/}}return actionscript_1=b,actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1;function b(r){const m="\\d(_|\\d)*",w="[eE][-+]?"+m,U=m+"(\\."+m+")?("+w+")?",k="\\w+",a="\\b("+(m+"#"+k+"(\\."+k+")?#("+w+")?")+"|"+U+")",g="[A-Za-z](_?[A-Za-z0-9.])*",n=`[]\\{\\}%#'"`,c=r.COMMENT("--","$"),R={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:n,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:g,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[c,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+g},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:n},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[c,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:n},R,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:n}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:n},R]}}return ada_1=b,ada_1}var angelscript_1,hasRequiredAngelscript;function requireAngelscript(){if(hasRequiredAngelscript)return angelscript_1;hasRequiredAngelscript=1;function b(r){const m={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},w={className:"symbol",begin:"[a-zA-Z0-9_]+@"},U={className:"keyword",begin:"<",end:">",contains:[m,w]};return m.contains=[U],w.contains=[U],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[r.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE],relevance:0},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},m,w,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return angelscript_1=b,angelscript_1}var apache_1,hasRequiredApache;function requireApache(){if(hasRequiredApache)return apache_1;hasRequiredApache=1;function b(r){const m={className:"number",begin:/[$%]\d+/},w={className:"number",begin:/\b\d+/},U={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},k={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[r.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[U,k,r.inherit(r.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",m]},U,w,r.QUOTE_STRING_MODE]}}],illegal:/\S/}}return apache_1=b,apache_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1;function b(r){const m=r.regex,w=r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),U={className:"params",begin:/\(/,end:/\)/,contains:["self",r.C_NUMBER_MODE,w]},k=r.COMMENT(/--/,/$/),x=r.COMMENT(/\(\*/,/\*\)/,{contains:["self",k]}),a=[k,x,r.HASH_COMMENT_MODE],g=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],n=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[w,r.C_NUMBER_MODE,{className:"built_in",begin:m.concat(/\b/,m.either(...n),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:m.concat(/\b/,m.either(...g),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[r.UNDERSCORE_TITLE_MODE,U]},...a],illegal:/\/\/|->|=>|\[\[/}}return applescript_1=b,applescript_1}var arcade_1,hasRequiredArcade;function requireArcade(){if(hasRequiredArcade)return arcade_1;hasRequiredArcade=1;function b(r){const m="[A-Za-z_][0-9A-Za-z_]*",w={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},U={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},k={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:r.C_NUMBER_RE}],relevance:0},x={className:"subst",begin:"\\$\\{",end:"\\}",keywords:w,contains:[]},a={className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,x]};x.contains=[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,a,k,r.REGEXP_MODE];const g=x.contains.concat([r.C_BLOCK_COMMENT_MODE,r.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:w,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,a,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,U,k,{begin:/[{,]\s*/,relevance:0,contains:[{begin:m+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:m,relevance:0}]}]},{begin:"("+r.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+m+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:w,contains:g}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[r.inherit(r.TITLE_MODE,{className:"title.function",begin:m}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:g}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return arcade_1=b,arcade_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;function b(m){const w=m.regex,U=m.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),k="decltype\\(auto\\)",x="[a-zA-Z_]\\w*::",a="<[^<>]+>",g="(?!struct)("+k+"|"+w.optional(x)+"[a-zA-Z_]\\w*"+w.optional(a)+")",n={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",R={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},m.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},v={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},e={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},m.inherit(R,{className:"string"}),{className:"string",begin:/<.*?>/},U,m.C_BLOCK_COMMENT_MODE]},L={className:"title",begin:w.optional(x)+m.IDENT_RE,relevance:0},O=w.optional(x)+m.IDENT_RE+"\\s*\\(",B=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],P=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],S=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],_=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],D={type:P,keyword:B,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:S},M={className:"function.dispatch",relevance:0,keywords:{_hint:_},begin:w.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,m.IDENT_RE,w.lookahead(/(<[^<>]+>|)\s*\(/))},F=[M,e,n,U,m.C_BLOCK_COMMENT_MODE,v,R],N={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:D,contains:F.concat([{begin:/\(/,end:/\)/,keywords:D,contains:F.concat(["self"]),relevance:0}]),relevance:0},G={className:"function",begin:"("+g+"[\\*&\\s]+)+"+O,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:D,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:k,keywords:D,relevance:0},{begin:O,returnBegin:!0,contains:[L],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[R,v]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:[U,m.C_BLOCK_COMMENT_MODE,R,v,n,{begin:/\(/,end:/\)/,keywords:D,relevance:0,contains:["self",U,m.C_BLOCK_COMMENT_MODE,R,v,n]}]},n,U,m.C_BLOCK_COMMENT_MODE,e]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:D,illegal:"",keywords:D,contains:["self",n]},{begin:m.IDENT_RE+"::",keywords:D},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function r(m){const w={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},U=b(m),k=U.keywords;return k.type=[...k.type,...w.type],k.literal=[...k.literal,...w.literal],k.built_in=[...k.built_in,...w.built_in],k._hints=w._hints,U.name="Arduino",U.aliases=["ino"],U.supersetOf="cpp",U}return arduino_1=r,arduino_1}var armasm_1,hasRequiredArmasm;function requireArmasm(){if(hasRequiredArmasm)return armasm_1;hasRequiredArmasm=1;function b(r){const m={variants:[r.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),r.COMMENT("[;@]","$",{relevance:0}),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+r.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},m,r.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return armasm_1=b,armasm_1}var xml_1,hasRequiredXml;function requireXml(){if(hasRequiredXml)return xml_1;hasRequiredXml=1;function b(r){const m=r.regex,w=m.concat(/[\p{L}_]/u,m.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),U=/[\p{L}0-9._:-]+/u,k={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},x={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=r.inherit(x,{begin:/\(/,end:/\)/}),g=r.inherit(r.APOS_STRING_MODE,{className:"string"}),n=r.inherit(r.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[x,n,g,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[x,a,n,g]}]}]},r.COMMENT(//,{relevance:10}),{begin://,relevance:10},k,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[n]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:m.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:w,relevance:0,starts:c}]},{className:"tag",begin:m.concat(/<\//,m.lookahead(m.concat(w,/>/))),contains:[{className:"name",begin:w,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return xml_1=b,xml_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1;function b(r){const m=r.regex,w={begin:"^'{3,}[ \\t]*$",relevance:10},U=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],k=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:m.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],x=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:m.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},g={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[r.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),r.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},g,a,...U,...k,...x,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},w,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return asciidoc_1=b,asciidoc_1}var aspectj_1,hasRequiredAspectj;function requireAspectj(){if(hasRequiredAspectj)return aspectj_1;hasRequiredAspectj=1;function b(r){const m=r.regex,w=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],U=["get","set","args","call"];return{name:"AspectJ",keywords:w,illegal:/<\/|#/,contains:[r.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},r.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:w.concat(U),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},r.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:m.concat(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[r.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:w,illegal:/["\[\]]/,contains:[{begin:m.concat(r.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:w.concat(U),relevance:0},r.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:w,excludeEnd:!0,contains:[{begin:m.concat(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:w,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return aspectj_1=b,aspectj_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1;function b(r){const m={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[m,r.inherit(r.QUOTE_STRING_MODE,{contains:[m]}),r.COMMENT(";","$",{relevance:0}),r.C_BLOCK_COMMENT_MODE,{className:"number",begin:r.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return autohotkey_1=b,autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1;function b(r){const m="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",w=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],U="True False And Null Not Or Default",k="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",x={variants:[r.COMMENT(";","$",{relevance:0}),r.COMMENT("#cs","#ce"),r.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},g={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},n={variants:[r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE]},c={className:"meta",begin:"#",end:"$",keywords:{keyword:w},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[g,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},g,x]},R={className:"symbol",begin:"@[A-z0-9_]+"},v={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[r.inherit(r.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,g,n]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:m,built_in:k,literal:U},contains:[x,a,g,n,c,R,v]}}return autoit_1=b,autoit_1}var avrasm_1,hasRequiredAvrasm;function requireAvrasm(){if(hasRequiredAvrasm)return avrasm_1;hasRequiredAvrasm=1;function b(r){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+r.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[r.C_BLOCK_COMMENT_MODE,r.COMMENT(";","$",{relevance:0}),r.C_NUMBER_MODE,r.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},r.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return avrasm_1=b,avrasm_1}var awk_1,hasRequiredAwk;function requireAwk(){if(hasRequiredAwk)return awk_1;hasRequiredAwk=1;function b(r){const m={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},w="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",U={className:"string",contains:[r.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:w},contains:[m,U,r.REGEXP_MODE,r.HASH_COMMENT_MODE,r.NUMBER_MODE]}}return awk_1=b,awk_1}var axapta_1,hasRequiredAxapta;function requireAxapta(){if(hasRequiredAxapta)return axapta_1;hasRequiredAxapta=1;function b(r){const m=r.UNDERSCORE_IDENT_RE,x={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},a={variants:[{match:[/(class|interface)\s+/,m,/\s+(extends|implements)\s+/,m]},{match:[/class\s+/,m]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:x};return{name:"X++",aliases:["x++"],keywords:x,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}return axapta_1=b,axapta_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1;function b(r){const m=r.regex,w={},U={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[w]}]};Object.assign(w,{className:"variable",variants:[{begin:m.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},U]});const k={className:"subst",begin:/\$\(/,end:/\)/,contains:[r.BACKSLASH_ESCAPE]},x={begin:/<<-?\s*(?=\w+)/,starts:{contains:[r.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,w,k]};k.contains.push(a);const g={match:/\\"/},n={className:"string",begin:/'/,end:/'/},c={match:/\\'/},R={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},r.NUMBER_MODE,w]},v=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],e=r.SHEBANG({binary:`(${v.join("|")})`,relevance:10}),L={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},O=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],B=["true","false"],P={match:/(\/[a-z._-]+)+/},S=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],_=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],l=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],y=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:O,literal:B,built_in:[...S,..._,"set","shopt",...l,...y]},contains:[e,r.SHEBANG(),L,R,r.HASH_COMMENT_MODE,x,P,a,g,n,c,w]}}return bash_1=b,bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1;function b(r){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[r.QUOTE_STRING_MODE,r.COMMENT("REM","$",{relevance:10}),r.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return basic_1=b,basic_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1;function b(r){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]}]}}return bnf_1=b,bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1;function b(r){const m={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[r.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[m]},m]}}return brainfuck_1=b,brainfuck_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1;function b(r){const m=r.regex,w=r.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),U="decltype\\(auto\\)",k="[a-zA-Z_]\\w*::",x="<[^<>]+>",a="("+U+"|"+m.optional(k)+"[a-zA-Z_]\\w*"+m.optional(x)+")",g={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},n="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+n+"|.)",end:"'",illegal:"."},r.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},R={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},r.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},w,r.C_BLOCK_COMMENT_MODE]},e={className:"title",begin:m.optional(k)+r.IDENT_RE,relevance:0},L=m.optional(k)+r.IDENT_RE+"\\s*\\(",P={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},S=[v,g,w,r.C_BLOCK_COMMENT_MODE,R,c],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:P,contains:S.concat([{begin:/\(/,end:/\)/,keywords:P,contains:S.concat(["self"]),relevance:0}]),relevance:0},l={begin:"("+a+"[\\*&\\s]+)+"+L,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:P,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:U,keywords:P,relevance:0},{begin:L,returnBegin:!0,contains:[r.inherit(e,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:P,relevance:0,contains:[w,r.C_BLOCK_COMMENT_MODE,c,R,g,{begin:/\(/,end:/\)/,keywords:P,relevance:0,contains:["self",w,r.C_BLOCK_COMMENT_MODE,c,R,g]}]},g,w,r.C_BLOCK_COMMENT_MODE,v]};return{name:"C",aliases:["h"],keywords:P,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},r.TITLE_MODE]}]),exports:{preprocessor:v,strings:c,keywords:P}}}return c_1=b,c_1}var cal_1,hasRequiredCal;function requireCal(){if(hasRequiredCal)return cal_1;hasRequiredCal=1;function b(r){const m=r.regex,w=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],U="false true",k=[r.C_LINE_COMMENT_MODE,r.COMMENT(/\{/,/\}/,{relevance:0}),r.COMMENT(/\(\*/,/\*\)/,{relevance:10})],x={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},g={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},n={className:"string",begin:'"',end:'"'},c={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:w,contains:[x,a,r.NUMBER_MODE]},...k]},R=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],v={match:[/OBJECT/,/\s+/,m.either(...R),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:w,literal:U},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},x,a,g,n,r.NUMBER_MODE,v,c]}}return cal_1=b,cal_1}var capnproto_1,hasRequiredCapnproto;function requireCapnproto(){if(hasRequiredCapnproto)return capnproto_1;hasRequiredCapnproto=1;function b(r){const m=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],w=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],U=["true","false"],k={variants:[{match:[/(struct|enum|interface)/,/\s+/,r.IDENT_RE]},{match:[/extends/,/\s*\(/,r.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:m,type:w,literal:U},contains:[r.QUOTE_STRING_MODE,r.NUMBER_MODE,r.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},k]}}return capnproto_1=b,capnproto_1}var ceylon_1,hasRequiredCeylon;function requireCeylon(){if(hasRequiredCeylon)return ceylon_1;hasRequiredCeylon=1;function b(r){const m=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],w=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],U=["doc","by","license","see","throws","tagged"],k={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:m,relevance:10},x=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[k]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return k.contains=x,{name:"Ceylon",keywords:{keyword:m.concat(w),meta:U},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[r.C_LINE_COMMENT_MODE,r.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(x)}}return ceylon_1=b,ceylon_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;function b(r){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return clean_1=b,clean_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1;function b(r){const m="a-zA-Z_\\-!.?+*=<>&'",w="[#]?["+m+"]["+m+"0-9/;:$#]*",U="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",k={$pattern:w,built_in:U+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},x={begin:w,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},g={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},n={scope:"regex",begin:/#"/,end:/"/,contains:[r.BACKSLASH_ESCAPE]},c=r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),R={scope:"punctuation",match:/,/,relevance:0},v=r.COMMENT(";","$",{relevance:0}),e={className:"literal",begin:/\b(true|false|nil)\b/},L={begin:"\\[|(#::?"+w+")?\\{",end:"[\\]\\}]",relevance:0},O={className:"symbol",begin:"[:]{1,2}"+w},B={begin:"\\(",end:"\\)"},P={endsWithParent:!0,relevance:0},S={keywords:k,className:"name",begin:w,relevance:0,starts:P},_=[R,B,g,n,c,v,O,L,a,e,x],l={beginKeywords:U,keywords:{$pattern:w,keyword:U},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:w,relevance:0,excludeEnd:!0,endsParent:!0}].concat(_)};return B.contains=[l,S,P],P.contains=_,L.contains=_,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[R,B,g,n,c,v,O,L,a,e]}}return clojure_1=b,clojure_1}var clojureRepl_1,hasRequiredClojureRepl;function requireClojureRepl(){if(hasRequiredClojureRepl)return clojureRepl_1;hasRequiredClojureRepl=1;function b(r){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return clojureRepl_1=b,clojureRepl_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1;function b(r){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},r.COMMENT(/#\[\[/,/]]/),r.HASH_COMMENT_MODE,r.QUOTE_STRING_MODE,r.NUMBER_MODE]}}return cmake_1=b,cmake_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1;const b=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],m=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],w=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],U=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],k=[].concat(U,m,w);function x(a){const g=["npm","print"],n=["yes","no","on","off"],c=["then","unless","until","loop","by","when","and","or","is","isnt","not"],R=["var","const","let","function","static"],v=y=>D=>!y.includes(D),e={keyword:b.concat(c).filter(v(R)),literal:r.concat(n),built_in:k.concat(g)},L="[A-Za-z$_][0-9A-Za-z$_]*",O={className:"subst",begin:/#\{/,end:/\}/,keywords:e},B=[a.BINARY_NUMBER_MODE,a.inherit(a.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,O]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,O]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[O,a.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+L},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];O.contains=B;const P=a.inherit(a.TITLE_MODE,{begin:L}),S="(\\(.*\\)\\s*)?\\B[-=]>",_={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:e,contains:["self"].concat(B)}]},l={variants:[{match:[/class\s+/,L,/\s+extends\s+/,L]},{match:[/class\s+/,L]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:e};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:e,illegal:/\/\*/,contains:[...B,a.COMMENT("###","###"),a.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+L+"\\s*=\\s*"+S,end:"[-=]>",returnBegin:!0,contains:[P,_]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:S,end:"[-=]>",returnBegin:!0,contains:[_]}]},l,{begin:L+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=x,coffeescript_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1;function b(r){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[r.QUOTE_STRING_MODE,r.COMMENT("\\(\\*","\\*\\)"),r.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return coq_1=b,coq_1}var cos_1,hasRequiredCos;function requireCos(){if(hasRequiredCos)return cos_1;hasRequiredCos=1;function b(r){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return cos_1=b,cos_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;function b(r){const m=r.regex,w=r.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),U="decltype\\(auto\\)",k="[a-zA-Z_]\\w*::",x="<[^<>]+>",a="(?!struct)("+U+"|"+m.optional(k)+"[a-zA-Z_]\\w*"+m.optional(x)+")",g={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},n="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+n+"|.)",end:"'",illegal:"."},r.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},R={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},r.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},w,r.C_BLOCK_COMMENT_MODE]},e={className:"title",begin:m.optional(k)+r.IDENT_RE,relevance:0},L=m.optional(k)+r.IDENT_RE+"\\s*\\(",O=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],B=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],P=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],S=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],y={type:B,keyword:O,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:P},D={className:"function.dispatch",relevance:0,keywords:{_hint:S},begin:m.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,r.IDENT_RE,m.lookahead(/(<[^<>]+>|)\s*\(/))},M=[D,v,g,w,r.C_BLOCK_COMMENT_MODE,R,c],F={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:M.concat([{begin:/\(/,end:/\)/,keywords:y,contains:M.concat(["self"]),relevance:0}]),relevance:0},N={className:"function",begin:"("+a+"[\\*&\\s]+)+"+L,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:U,keywords:y,relevance:0},{begin:L,returnBegin:!0,contains:[e],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,R]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[w,r.C_BLOCK_COMMENT_MODE,c,R,g,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",w,r.C_BLOCK_COMMENT_MODE,c,R,g]}]},g,w,r.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",g]},{begin:r.IDENT_RE+"::",keywords:y},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return cpp_1=b,cpp_1}var crmsh_1,hasRequiredCrmsh;function requireCrmsh(){if(hasRequiredCrmsh)return crmsh_1;hasRequiredCrmsh=1;function b(r){const m="primitive rsc_template",w="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",U="property rsc_defaults op_defaults",k="params meta operations op rule attributes utilization",x="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",a="number string",g="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:k+" "+x+" "+a,literal:g},contains:[r.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:m,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+w.split(" ").join("|")+")\\s+",keywords:w,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:U,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},r.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return crmsh_1=b,crmsh_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;function b(r){const m="(_?[ui](8|16|32|64|128))?",w="(_?f(32|64))?",U="[a-zA-Z_]\\w*[!?=]?",k="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",x="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:U,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},g={className:"subst",begin:/#\{/,end:/\}/,keywords:a},n={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},c={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function R(S,_){const l=[{begin:S,end:_}];return l[0].contains=l,l}const v={className:"string",contains:[r.BACKSLASH_ESCAPE,g],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:R("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:R("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:R(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:R("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},e={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:R("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:R("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:R(/\{/,/\}/)},{begin:"%q<",end:">",contains:R("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},L={begin:"(?!%\\})("+r.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[r.BACKSLASH_ESCAPE,g],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},O={className:"regexp",contains:[r.BACKSLASH_ESCAPE,g],variants:[{begin:"%r\\(",end:"\\)",contains:R("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:R("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:R(/\{/,/\}/)},{begin:"%r<",end:">",contains:R("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},B={className:"meta",begin:"@\\[",end:"\\]",contains:[r.inherit(r.QUOTE_STRING_MODE,{className:"string"})]},P=[c,v,e,O,L,B,n,r.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[r.HASH_COMMENT_MODE,r.inherit(r.TITLE_MODE,{begin:x}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[r.HASH_COMMENT_MODE,r.inherit(r.TITLE_MODE,{begin:x})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[r.HASH_COMMENT_MODE,r.inherit(r.TITLE_MODE,{begin:x})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[r.inherit(r.TITLE_MODE,{begin:k,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[r.inherit(r.TITLE_MODE,{begin:k,endsParent:!0})],relevance:2},{className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[v,{begin:k}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+m},{begin:"\\b0o([0-7_]+)"+m},{begin:"\\b0x([A-Fa-f0-9_]+)"+m},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+w+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+m}],relevance:0}];return g.contains=P,c.contains=P.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:P}}return crystal_1=b,crystal_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1;function b(r){const m=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],w=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],U=["default","false","null","true"],k=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],x=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:k.concat(x),built_in:m,literal:U},g=r.inherit(r.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},R=r.inherit(c,{illegal:/\n/}),v={className:"subst",begin:/\{/,end:/\}/,keywords:a},e=r.inherit(v,{illegal:/\n/}),L={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},r.BACKSLASH_ESCAPE,e]},O={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]},B=r.inherit(O,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},e]});v.contains=[O,L,c,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,n,r.C_BLOCK_COMMENT_MODE],e.contains=[B,L,R,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,n,r.inherit(r.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const P={variants:[O,L,c,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]},S={begin:"<",end:">",contains:[{beginKeywords:"in out"},g]},_=r.IDENT_RE+"(<"+r.IDENT_RE+"(\\s*,\\s*"+r.IDENT_RE+")*>)?(\\[\\])?",l={begin:"@"+r.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[r.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},P,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},g,S,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[g,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[g,S,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+_+"\\s+)+"+r.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:w.join(" "),relevance:0},{begin:r.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[r.TITLE_MODE,S],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[P,n,r.C_BLOCK_COMMENT_MODE]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},l]}}return csharp_1=b,csharp_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1;function b(r){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return csp_1=b,csp_1}var css_1,hasRequiredCss;function requireCss(){if(hasRequiredCss)return css_1;hasRequiredCss=1;const b=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],m=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],w=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],U=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],k=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function x(a){const g=a.regex,n=b(a),c={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},R="and or not only",v=/@-?\w[\w]*(-\w+)*/,e="[a-zA-Z-][a-zA-Z0-9_-]*",L=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,c,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+e,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+w.join("|")+")"},{begin:":(:)?("+U.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+k.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...L,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...L,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:g.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:v},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:R,attribute:m.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...L,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b"}]}}return css_1=x,css_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1;function b(r){const m={$pattern:r.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},w="(0|[1-9][\\d_]*)",U="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",k="0[bB][01_]+",x="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+x,g="([eE][+-]?"+U+")",n="("+U+"(\\.\\d*|"+g+")|\\d+\\."+U+"|\\."+w+g+"?)",c="(0[xX]("+x+"\\."+x+"|\\.?"+x+")[pP][+-]?"+U+")",R="("+w+"|"+k+"|"+a+")",v="("+c+"|"+n+")",e=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,L={className:"number",begin:"\\b"+R+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},O={className:"number",begin:"\\b("+v+"([fF]|L|i|[fF]i|Li)?|"+R+"(i|[fF]i|Li))",relevance:0},B={className:"string",begin:"'("+e+"|.)",end:"'",illegal:"."},S={className:"string",begin:'"',contains:[{begin:e,relevance:0}],end:'"[cwd]?'},_={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},l={className:"string",begin:"`",end:"`[cwd]?"},y={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},D={className:"string",begin:'q"\\{',end:'\\}"'},M={className:"meta",begin:"^#!",end:"$",relevance:5},F={className:"meta",begin:"#(line)",end:"$",relevance:5},N={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},G=r.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:m,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,G,y,S,_,l,D,O,L,B,M,F,N]}}return d_1=b,d_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1;function b(r){const m=r.regex,w={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},U={begin:"^[-\\*]{3,}",end:"$"},k={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},x={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},g=/[A-Za-z][A-Za-z0-9+.-]*/,n={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:m.concat(/\[.+?\]\(/,g,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},R={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},v=r.inherit(c,{contains:[]}),e=r.inherit(R,{contains:[]});c.contains.push(e),R.contains.push(v);let L=[w,n];return[c,R,v,e].forEach(P=>{P.contains=P.contains.concat(L)}),L=L.concat(c,R),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:L},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:L}]}]},w,x,c,R,{className:"quote",begin:"^>\\s+",contains:L,end:"$"},k,U,n,a]}}return markdown_1=b,markdown_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1;function b(r){const m={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},w={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},U={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[r.BACKSLASH_ESCAPE,m,w]},{begin:'"""',end:'"""',contains:[r.BACKSLASH_ESCAPE,m,w]},{begin:"'",end:"'",illegal:"\\n",contains:[r.BACKSLASH_ESCAPE,m,w]},{begin:'"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE,m,w]}]};w.contains=[r.C_NUMBER_MODE,U];const k=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],x=k.map(n=>`${n}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:k.concat(x).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[U,r.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),r.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},r.UNDERSCORE_TITLE_MODE]},r.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return dart_1=b,dart_1}var delphi_1,hasRequiredDelphi;function requireDelphi(){if(hasRequiredDelphi)return delphi_1;hasRequiredDelphi=1;function b(r){const m=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],w=[r.C_LINE_COMMENT_MODE,r.COMMENT(/\{/,/\}/,{relevance:0}),r.COMMENT(/\(\*/,/\*\)/,{relevance:10})],U={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},k={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},x={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},g={begin:r.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[r.TITLE_MODE]},n={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[r.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:m,contains:[k,a,U].concat(w)},U].concat(w)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:m,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[k,a,r.NUMBER_MODE,x,g,n,U].concat(w)}}return delphi_1=b,delphi_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;function b(r){const m=r.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:m.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:m.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return diff_1=b,diff_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;function b(r){const m={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[r.QUOTE_STRING_MODE,r.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[r.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),r.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[m],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[m]}]}}return django_1=b,django_1}var dns_1,hasRequiredDns;function requireDns(){if(hasRequiredDns)return dns_1;hasRequiredDns=1;function b(r){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[r.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},r.inherit(r.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return dns_1=b,dns_1}var dockerfile_1,hasRequiredDockerfile;function requireDockerfile(){if(hasRequiredDockerfile)return dockerfile_1;hasRequiredDockerfile=1;function b(r){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[r.HASH_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},m,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},k={className:"variable",begin:/&[a-z\d_]*\b/},x={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},g={className:"params",relevance:0,begin:"<",end:">",contains:[w,k]},n={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},c={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},R={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},v={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},e={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[c,k,x,a,n,v,R,g,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,w,m,U,e,{begin:r.IDENT_RE+"::",keywords:""}]}}return dts_1=b,dts_1}var dust_1,hasRequiredDust;function requireDust(){if(hasRequiredDust)return dust_1;hasRequiredDust=1;function b(r){const m="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[r.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:m}]}}return dust_1=b,dust_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1;function b(r){const m=r.COMMENT(/\(\*/,/\*\)/),w={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},k={begin:/=/,end:/[.;]/,contains:[m,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[m,w,k]}}return ebnf_1=b,ebnf_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1;function b(r){const m=r.regex,w="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",U="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:w,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},g={className:"subst",begin:/#\{/,end:/\}/,keywords:a},n={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},R={match:/\\[\s\S]/,scope:"char.escape",relevance:0},v=`[/|([{<"']`,e=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],L=D=>({scope:"char.escape",begin:m.concat(/\\/,D),relevance:0}),O={className:"string",begin:"~[a-z](?="+v+")",contains:e.map(D=>r.inherit(D,{contains:[L(D.end),R,g]}))},B={className:"string",begin:"~[A-Z](?="+v+")",contains:e.map(D=>r.inherit(D,{contains:[L(D.end)]}))},P={className:"regex",variants:[{begin:"~r(?="+v+")",contains:e.map(D=>r.inherit(D,{end:m.concat(D.end,/[uismxfU]{0,7}/),contains:[L(D.end),R,g]}))},{begin:"~R(?="+v+")",contains:e.map(D=>r.inherit(D,{end:m.concat(D.end,/[uismxfU]{0,7}/),contains:[L(D.end)]}))}]},S={className:"string",contains:[r.BACKSLASH_ESCAPE,g],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},_={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[r.inherit(r.TITLE_MODE,{begin:w,endsParent:!0})]},l=r.inherit(_,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),y=[S,P,B,O,r.HASH_COMMENT_MODE,l,_,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[S,{begin:U}],relevance:0},{className:"symbol",begin:w+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},n,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return g.contains=y,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:y}}return elixir_1=b,elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1;function b(r){const m={variants:[r.COMMENT("--","$"),r.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},w={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},U={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},m]},k={begin:/\{/,end:/\}/,contains:U.contains},x={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[U,m],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[U,m],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[w,U,k,m]},{beginKeywords:"infix infixl infixr",end:"$",contains:[r.C_NUMBER_MODE,m]},{begin:"port",end:"$",keywords:"port",contains:[m]},x,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,w,r.inherit(r.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),m,{begin:"->|<-"}],illegal:/;/}}return elm_1=b,elm_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1;function b(r){const m=r.regex,w="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",U=m.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),k=m.concat(U,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},g={className:"doctag",begin:"@[A-Za-z]+"},n={begin:"#<",end:">"},c=[r.COMMENT("#","$",{contains:[g]}),r.COMMENT("^=begin","^=end",{contains:[g],relevance:10}),r.COMMENT("^__END__",r.MATCH_NOTHING_RE)],R={className:"subst",begin:/#\{/,end:/\}/,keywords:a},v={className:"string",contains:[r.BACKSLASH_ESCAPE,R],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:m.concat(/<<[-~]?'?/,m.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[r.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[r.BACKSLASH_ESCAPE,R]})]}]},e="[1-9](_?[0-9])*|0",L="[0-9](_?[0-9])*",O={className:"number",relevance:0,variants:[{begin:`\\b(${e})(\\.(${L}))?([eE][+-]?(${L})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},B={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},M=[v,{variants:[{match:[/class\s+/,k,/\s+<\s+/,k]},{match:[/\b(class|module)\s+/,k]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,k],scope:{2:"title.class"},keywords:a},{relevance:0,match:[k,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:U,scope:"title.class"},{match:[/def/,/\s+/,w],scope:{1:"keyword",3:"title.function"},contains:[B]},{begin:r.IDENT_RE+"::"},{className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[v,{begin:w}],relevance:0},O,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+r.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[r.BACKSLASH_ESCAPE,R],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(n,c),relevance:0}].concat(n,c);R.contains=M,B.contains=M;const F="[>?]>",N="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",G="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",W=[{begin:/^\s*=>/,starts:{end:"$",contains:M}},{className:"meta.prompt",begin:"^("+F+"|"+N+"|"+G+")(?=[ ])",starts:{end:"$",keywords:a,contains:M}}];return c.unshift(n),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[r.SHEBANG({binary:"ruby"})].concat(W).concat(c).concat(M)}}return ruby_1=b,ruby_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;function b(r){return{name:"ERB",subLanguage:"xml",contains:[r.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return erb_1=b,erb_1}var erlangRepl_1,hasRequiredErlangRepl;function requireErlangRepl(){if(hasRequiredErlangRepl)return erlangRepl_1;hasRequiredErlangRepl=1;function b(r){const m=r.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},r.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{begin:m.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return erlangRepl_1=b,erlangRepl_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1;function b(r){const m="[a-z'][a-zA-Z0-9_']*",w="("+m+":"+m+"|"+m+")",U={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},k=r.COMMENT("%","$"),x={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+m+"/\\d+"},g={begin:w+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:w,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},n={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},R={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},v={begin:"#"+r.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+r.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},e={beginKeywords:"fun receive if try case",end:"end",keywords:U};e.contains=[k,a,r.inherit(r.APOS_STRING_MODE,{className:""}),e,g,r.QUOTE_STRING_MODE,x,n,c,R,v];const L=[k,a,e,g,r.QUOTE_STRING_MODE,x,n,c,R,v];g.contains[1].contains=L,n.contains=L,v.contains[1].contains=L;const O=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],B={className:"params",begin:"\\(",end:"\\)",contains:L};return{name:"Erlang",aliases:["erl"],keywords:U,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[B,r.inherit(r.TITLE_MODE,{begin:m})],starts:{end:";|\\.",keywords:U,contains:L}},k,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+r.IDENT_RE,keyword:O.map(P=>`${P}|1.5`).join(" ")},contains:[B]},x,r.QUOTE_STRING_MODE,v,c,R,n,{begin:/\.$/}]}}return erlang_1=b,erlang_1}var excel_1,hasRequiredExcel;function requireExcel(){if(hasRequiredExcel)return excel_1;hasRequiredExcel=1;function b(r){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},r.BACKSLASH_ESCAPE,r.QUOTE_STRING_MODE,{className:"number",begin:r.NUMBER_RE+"(%)?",relevance:0},r.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return excel_1=b,excel_1}var fix_1,hasRequiredFix;function requireFix(){if(hasRequiredFix)return fix_1;hasRequiredFix=1;function b(r){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return fix_1=b,fix_1}var flix_1,hasRequiredFlix;function requireFlix(){if(hasRequiredFlix)return flix_1;hasRequiredFlix=1;function b(r){const m={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},w={className:"string",variants:[{begin:'"',end:'"'}]},k={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,m,w,k,r.C_NUMBER_MODE]}}return flix_1=b,flix_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1;function b(r){const m=r.regex,w={className:"params",begin:"\\(",end:"\\)"},U={variants:[r.COMMENT("!","$",{relevance:0}),r.COMMENT("^C[ ]","$",{relevance:0}),r.COMMENT("^C$","$",{relevance:0})]},k=/(_[a-z_\d]+)?/,x=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:m.concat(/\b\d+/,/\.(\d*)/,x,k)},{begin:m.concat(/\b\d+/,x,k)},{begin:m.concat(/\.\d+/,x,k)}],relevance:0},g={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,w]},n={className:"string",relevance:0,variants:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[n,g,{begin:/^C\s*=(?!=)/,relevance:0},U,a]}}return fortran_1=b,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function b(a){return new RegExp(a.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function r(a){return a?typeof a=="string"?a:a.source:null}function m(a){return w("(?=",a,")")}function w(...a){return a.map(n=>r(n)).join("")}function U(a){const g=a[a.length-1];return typeof g=="object"&&g.constructor===Object?(a.splice(a.length-1,1),g):{}}function k(...a){return"("+(U(a).capture?"":"?:")+a.map(c=>r(c)).join("|")+")"}function x(a){const g=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},c=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],R=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],v=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],e=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],O={keyword:g,literal:R,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":v},P={variants:[a.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),a.C_LINE_COMMENT_MODE]},S=/[a-zA-Z_](\w|')*/,_={scope:"variable",begin:/``/,end:/``/},l=/\B('|\^)/,y={scope:"symbol",variants:[{match:w(l,/``.*?``/)},{match:w(l,a.UNDERSCORE_IDENT_RE)}],relevance:0},D=function({includeEqual:K}){let ce;K?ce="!%&*+-/<=>@^|~?":ce="!%&*+-/<>@^|~?";const de=Array.from(ce),Z=w("[",...de.map(b),"]"),ae=k(Z,/\./),he=w(ae,m(ae)),we=k(w(he,ae,"*"),w(Z,"+"));return{scope:"operator",match:k(we,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},M=D({includeEqual:!0}),F=D({includeEqual:!1}),N=function(K,ce){return{begin:w(K,m(w(/\s*/,k(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ce,end:m(k(/\n/,/=/)),relevance:0,keywords:a.inherit(O,{type:e}),contains:[P,y,a.inherit(_,{scope:null}),F]}},G=N(/:/,"operator"),W=N(/\bof\b/,"keyword"),J={begin:[/(^|\s+)/,/type/,/\s+/,S],beginScope:{2:"keyword",4:"title.class"},end:m(/\(|=|$/),keywords:O,contains:[P,a.inherit(_,{scope:null}),y,{scope:"operator",match:/<|>/},G]},Y={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},V={begin:[/^\s*/,w(/#/,k(...c)),/\b/],beginScope:{2:"meta"},end:m(/\s|$/)},H={variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]},z={scope:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE]},X={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},a.BACKSLASH_ESCAPE]},q={scope:"string",begin:/"""/,end:/"""/,relevance:2},$={scope:"subst",begin:/\{/,end:/\}/,keywords:O},fe={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},a.BACKSLASH_ESCAPE,$]},Q={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},a.BACKSLASH_ESCAPE,$]},ie={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},$],relevance:2},Te={scope:"string",match:w(/'/,k(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return $.contains=[Q,fe,X,z,Te,n,P,_,G,Y,V,H,y,M],{name:"F#",aliases:["fs","f#"],keywords:O,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[ie,Q,fe,q,X,z,Te]},P,_,J,{scope:"meta",begin:/\[\]/,relevance:2,contains:[_,q,X,z,Te,H]},W,G,Y,V,H,y,M]}}return fsharp_1=x,fsharp_1}var gams_1,hasRequiredGams;function requireGams(){if(hasRequiredGams)return gams_1;hasRequiredGams=1;function b(r){const m=r.regex,w={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},U={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},k={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},x={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[r.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:w,contains:[x,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,r.C_NUMBER_MODE]},g=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,n={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[x,a,{className:"comment",begin:m.concat(g,m.anyNumberOfTimes(m.concat(/[ ]+/,g))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:w,contains:[r.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},r.COMMENT("^\\*","$"),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[r.COMMENT("^\\*","$"),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,a,n]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[n]},r.COMMENT("^\\*","$"),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,r.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},U,k]},r.C_NUMBER_MODE,k]}}return gams_1=b,gams_1}var gauss_1,hasRequiredGauss;function requireGauss(){if(hasRequiredGauss)return gauss_1;hasRequiredGauss=1;function b(r){const m={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},w=r.COMMENT("@","@"),U={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,w]},k={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:r.UNDERSCORE_IDENT_RE,relevance:0}]},x=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE,w,k]}],a={className:"title",begin:r.UNDERSCORE_IDENT_RE,relevance:0},g=function(e,L,O){const B=r.inherit({className:"function",beginKeywords:e,end:L,excludeEnd:!0,contains:[].concat(x)},O||{});return B.contains.push(a),B.contains.push(r.C_NUMBER_MODE),B.contains.push(r.C_BLOCK_COMMENT_MODE),B.contains.push(w),B},n={className:"built_in",begin:"\\b("+m.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[r.BACKSLASH_ESCAPE],relevance:0},R={begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:m,relevance:0,contains:[{beginKeywords:m.keyword},n,{className:"built_in",begin:r.UNDERSCORE_IDENT_RE,relevance:0}]},v={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:m.built_in,literal:m.literal},contains:[r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE,w,n,R,c,"self"]};return R.contains.push(v),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:m,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[r.C_NUMBER_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,w,c,U,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},g("proc keyword",";"),g("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[r.C_BLOCK_COMMENT_MODE,w,v]},{variants:[{begin:r.UNDERSCORE_IDENT_RE+"\\."+r.UNDERSCORE_IDENT_RE},{begin:r.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},R,k]}}return gauss_1=b,gauss_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1;function b(r){const m="[A-Z_][A-Z0-9_.]*",w="%",U={$pattern:m,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},k={className:"meta",begin:"([O])([0-9]+)"},x=r.inherit(r.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+r.C_NUMBER_RE}),a=[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.COMMENT(/\(/,/\)/),x,r.inherit(r.APOS_STRING_MODE,{illegal:null}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[x],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:U,contains:[{className:"meta",begin:w},k].concat(a)}}return gcode_1=b,gcode_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1;function b(r){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},r.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},r.QUOTE_STRING_MODE]}}return gherkin_1=b,gherkin_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;function b(r){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return glsl_1=b,glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1;function b(r){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE]}}return gml_1=b,gml_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1;function b(r){const x={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:x,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return haml_1=b,haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;function b(r){const m=r.regex,w={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},U={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},k=/""|"[^"]+"/,x=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,g=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,n=/(\.|\/)/,c=m.either(k,x,a,g),R=m.concat(m.optional(/\.|\.\/|\//),c,m.anyNumberOfTimes(m.concat(n,c))),v=m.concat("(",a,"|",g,")(?==)"),e={begin:R},L=r.inherit(e,{keywords:U}),O={begin:/\(/,end:/\)/},B={className:"attr",begin:v,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[r.NUMBER_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,L,O]}}},P={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},S={contains:[r.NUMBER_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,P,B,L,O],returnEnd:!0},_=r.inherit(e,{className:"name",keywords:w,starts:r.inherit(S,{end:/\)/})});O.contains=[_];const l=r.inherit(e,{keywords:w,className:"name",starts:r.inherit(S,{end:/\}\}/})}),y=r.inherit(e,{keywords:w,className:"name"}),D=r.inherit(e,{className:"name",keywords:w,starts:r.inherit(S,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},r.COMMENT(/\{\{!--/,/--\}\}/),r.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[l],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[y]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[l]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[y]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[D]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[D]}]}}return handlebars_1=b,handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1;function b(r){const m="([0-9]_*)+",w="([0-9a-fA-F]_*)+",U="([01]_*)+",k="([0-7]_*)+",n="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",c={variants:[r.COMMENT("--+","$"),r.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},R={className:"meta",begin:/\{-#/,end:/#-\}/},v={className:"meta",begin:"^#",end:"$"},e={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},L={begin:"\\(",end:"\\)",illegal:'"',contains:[R,v,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},r.inherit(r.TITLE_MODE,{begin:"[_a-z][\\w']*"}),c]},O={begin:/\{/,end:/\}/,contains:L.contains},B={className:"number",relevance:0,variants:[{match:`\\b(${m})(\\.(${m}))?([eE][+-]?(${m}))?\\b`},{match:`\\b0[xX]_*(${w})(\\.(${w}))?([pP][+-]?(${m}))?\\b`},{match:`\\b0[oO](${k})\\b`},{match:`\\b0[bB](${U})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[L,c],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[L,c],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[e,L,c]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[R,e,L,O,c]},{beginKeywords:"default",end:"$",contains:[e,L,c]},{beginKeywords:"infix infixl infixr",end:"$",contains:[r.C_NUMBER_MODE,c]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[e,r.QUOTE_STRING_MODE,c]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},R,v,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},r.QUOTE_STRING_MODE,B,e,r.inherit(r.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${n}--+|--+(?!-)${n}`},c,{begin:"->|<-"}]}}return haskell_1=b,haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1;function b(r){const m="[a-zA-Z_$][a-zA-Z0-9_$]*",w=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[r.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"number",begin:w,relevance:0},{className:"variable",begin:"\\$"+m},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[r.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+r.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},r.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:r.IDENT_RE,relevance:0}]},r.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[r.TITLE_MODE]}],illegal:/<\//}}return haxe_1=b,haxe_1}var hsp_1,hasRequiredHsp;function requireHsp(){if(hasRequiredHsp)return hsp_1;hasRequiredHsp=1;function b(r){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[r.BACKSLASH_ESCAPE]},r.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[r.inherit(r.QUOTE_STRING_MODE,{className:"string"}),r.NUMBER_MODE,r.C_NUMBER_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},r.NUMBER_MODE,r.C_NUMBER_MODE]}}return hsp_1=b,hsp_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1;function b(r){const m=r.regex,w="HTTP/([32]|1\\.[01])",U=/[A-Za-z][A-Za-z0-9-]*/,k={className:"attribute",begin:m.concat("^",U,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},x=[k,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+w+" \\d{3})",end:/$/,contains:[{className:"meta",begin:w},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:x}},{begin:"(?=^[A-Z]+ (.*?) "+w+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:w},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:x}},r.inherit(k,{relevance:0})]}}return http_1=b,http_1}var hy_1,hasRequiredHy;function requireHy(){if(hasRequiredHy)return hy_1;hasRequiredHy=1;function b(r){const m="a-zA-Z_\\-!.?+*=<>&#'",w="["+m+"]["+m+"0-9/;:]*",U={$pattern:w,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},k="[-+]?\\d+(\\.\\d+)?",x={begin:w,relevance:0},a={className:"number",begin:k,relevance:0},g=r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),n=r.COMMENT(";","$",{relevance:0}),c={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},R={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},v={className:"comment",begin:"\\^"+w},e=r.COMMENT("\\^\\{","\\}"),L={className:"symbol",begin:"[:]{1,2}"+w},O={begin:"\\(",end:"\\)"},B={endsWithParent:!0,relevance:0},P={className:"name",relevance:0,keywords:U,begin:w,starts:B},S=[O,g,v,e,n,L,R,a,c,x];return O.contains=[r.COMMENT("comment",""),P,B],B.contains=S,R.contains=S,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[r.SHEBANG(),O,g,v,e,n,L,R,a,c]}}return hy_1=b,hy_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1;function b(r){const m="\\[",w="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:m,end:w}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:m,end:w,contains:["self"]}]}}return inform7_1=b,inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1;function b(r){const m=r.regex,w={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:r.NUMBER_RE}]},U=r.COMMENT();U.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const k={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},x={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[r.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},g={begin:/\[/,end:/\]/,contains:[U,x,k,a,w,"self"],relevance:0},n=/[A-Za-z0-9_-]+/,c=/"(\\"|[^"])*"/,R=/'[^']*'/,v=m.either(n,c,R),e=m.concat(v,"(\\s*\\.\\s*",v,")*",m.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[U,{className:"section",begin:/\[+/,end:/\]+/},{begin:e,className:"attr",starts:{end:/$/,contains:[U,g,x,k,a,w]}}]}}return ini_1=b,ini_1}var irpf90_1,hasRequiredIrpf90;function requireIrpf90(){if(hasRequiredIrpf90)return irpf90_1;hasRequiredIrpf90=1;function b(r){const m=r.regex,w={className:"params",begin:"\\(",end:"\\)"},U=/(_[a-z_\d]+)?/,k=/([de][+-]?\d+)?/,x={className:"number",variants:[{begin:m.concat(/\b\d+/,/\.(\d*)/,k,U)},{begin:m.concat(/\b\d+/,k,U)},{begin:m.concat(/\.\d+/,k,U)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[r.inherit(r.APOS_STRING_MODE,{className:"string",relevance:0}),r.inherit(r.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,w]},r.COMMENT("!","$",{relevance:0}),r.COMMENT("begin_doc","end_doc",{relevance:10}),x]}}return irpf90_1=b,irpf90_1}var isbl_1,hasRequiredIsbl;function requireIsbl(){if(hasRequiredIsbl)return isbl_1;hasRequiredIsbl=1;function b(r){const m="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",w="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",U="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",k="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",x="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",a="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",g="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",n="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",c="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",R="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",v="smHidden smMaximized smMinimized smNormal wmNo wmYes ",e="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",L="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",O="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",B="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",P="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",S="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",_="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",l="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",y="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",D="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",M="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",F="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",N="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",G="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",W="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",J="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",Y="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",V="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",H="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",z="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",X="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",q="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",$="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",fe="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",Q="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",ie="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",Te="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",me="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",K=k+x+a+g+n+c+R+v+e+L+O+B+P+S+_+l+y+D+M+F+N+G+W+J+Y+V+H+z+X+q+$+fe+Q+ie+Te+me,ce="atUser atGroup atRole ",de="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",Z="apBegin apEnd ",ae="alLeft alRight ",he="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",we="cirCommon cirRevoked ",_e="ctSignature ctEncode ctSignatureEncode ",ye="clbUnchecked clbChecked clbGrayed ",se="ceISB ceAlways ceNever ",Ie="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Ce="cfInternal cfDisplay ",oe="ciUnspecified ciWrite ciRead ",pe="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",xe="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",Ne="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",ke="cltInternal cltPrimary cltGUI ",De="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",Fe="dssEdit dssInsert dssBrowse dssInActive ",Pe="dftDate dftShortDate dftDateTime dftTimeStamp ",qe="dotDays dotHours dotMinutes dotSeconds ",Le="dtkndLocal dtkndUTC ",Oe="arNone arView arEdit arFull ",Ee="ddaView ddaEdit ",Ae="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Ve="ecotFile ecotProcess ",$e="eaGet eaCopy eaCreate eaCreateStandardRoute ",Ue="edltAll edltNothing edltQuery ",He="essmText essmCard ",Qe="esvtLast esvtLastActive esvtSpecified ",Ze="edsfExecutive edsfArchive ",et="edstSQLServer edstFile ",tt="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",je="vsDefault vsDesign vsActive vsObsolete ",Je="etNone etCertificate etPassword etCertificatePassword ",nt="ecException ecWarning ecInformation ",Ke="estAll estApprovingOnly ",at="evtLast evtLastActive evtQuery ",ot="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Xe="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",ze="grhAuto grhX1 grhX2 grhX3 ",Ye="hltText hltRTF hltHTML ",st="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",_t="im8bGrayscale im24bRGB im1bMonochrome ",ft="itBMP itJPEG itWMF itPNG ",Ct="ikhInformation ikhWarning ikhError ikhNoIcon ",ut="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",rt="isShow isHide isByUserSettings ",mt="jkJob jkNotice jkControlJob ",Ot="jtInner jtLeft jtRight jtFull jtCross ",dt="lbpAbove lbpBelow lbpLeft lbpRight ",Nt="eltPerConnection eltPerUser ",kt="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",Ut="sfsItalic sfsStrikeout sfsNormal ",Ht="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",Kt="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",qt="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",pn="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",vt="rdWindow rdFile rdPrinter ",xt="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",Rt="reOnChange reOnChangeValues ",At="ttGlobal ttLocal ttUser ttSystem ",Pt="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",$t="smSelect smLike smCard ",Wt="stNone stAuthenticating stApproving ",Dt="sctString sctStream ",Yt="sstAnsiSort sstNaturalSort ",Vt="svtEqual svtContain ",rn="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",en="tarAbortByUser tarAbortByWorkflowException ",Xt="tvtAllWords tvtExactPhrase tvtAnyWord ",ht="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",Et="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",It="btAnd btDetailAnd btOr btNotOr btOnly ",wt="vmView vmSelect vmNavigation ",Bt="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Jt="wfatPrevious wfatNext wfatCancel wfatFinish ",_n="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",nn="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",an="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",bn="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Cn="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",Mn="waAll waPerformers waManual ",Gn="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",xr="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Kn="wiLow wiNormal wiHigh ",Hn="wrtSoft wrtHard ",zn="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",kn="wtmFull wtmFromCurrent wtmOnlyCurrent ",vr=ce+de+Z+ae+he+we+_e+ye+se+Ie+Ce+oe+pe+xe+Ne+ke+De+Fe+Pe+qe+Le+Oe+Ee+Ae+Ve+$e+Ue+He+Qe+Ze+et+tt+je+Je+nt+Ke+at+ot+Xe+ze+Ye+st+_t+ft+Ct+ut+rt+mt+Ot+dt+Nt+kt+Ut+Ht+Kt+qt+pn+vt+xt+Rt+At+Pt+$t+Wt+Dt+Yt+Vt+rn+en+Xt+ht+Et+It+wt+Bt+Jt+_n+nn+an+bn+Cn+Mn+Gn+xr+Kn+Hn+zn+kn,lr="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",Tr="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",Qn="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Zn=K+vr,cr=Tr,ur="null true false nil ",Cr={className:"number",begin:r.NUMBER_RE,relevance:0},Jn={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},qn={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},dr={className:"comment",begin:"//",end:"$",relevance:0,contains:[r.PHRASAL_WORDS_MODE,qn]},Ar={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[r.PHRASAL_WORDS_MODE,qn]},fr={variants:[dr,Ar]},Wn={$pattern:m,keyword:U,built_in:Zn,class:cr,literal:ur},er={begin:"\\.\\s*"+r.UNDERSCORE_IDENT_RE,keywords:Wn,relevance:0},Rr={className:"type",begin:":[ \\t]*("+Qn.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},gr={className:"variable",keywords:Wn,begin:m,relevance:0,contains:[Rr,er]},tr=w+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Wn,illegal:"\\$|\\?|%|,|;$|~|#|@|U(x,a,g-1))}function k(x){const a=x.regex,g="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=g+U("(?:<"+g+"~~~(?:\\s*,\\s*"+g+"~~~)*>)?",/~~~/g,2),L={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},O={className:"meta",begin:"@"+g,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},B={className:"params",begin:/\(/,end:/\)/,keywords:L,relevance:0,contains:[x.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:L,illegal:/<\/|#/,contains:[x.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},x.C_LINE_COMMENT_MODE,x.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[x.BACKSLASH_ESCAPE]},x.APOS_STRING_MODE,x.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,g],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,g),/\s+/,g,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,g],className:{1:"keyword",3:"title.class"},contains:[B,x.C_LINE_COMMENT_MODE,x.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",x.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:L,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:L,relevance:0,contains:[O,x.APOS_STRING_MODE,x.QUOTE_STRING_MODE,w,x.C_BLOCK_COMMENT_MODE]},x.C_LINE_COMMENT_MODE,x.C_BLOCK_COMMENT_MODE]},w,O]}}return java_1=k,java_1}var javascript_1,hasRequiredJavascript;function requireJavascript(){if(hasRequiredJavascript)return javascript_1;hasRequiredJavascript=1;const b="[A-Za-z$_][0-9A-Za-z$_]*",r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],w=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],U=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],x=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(k,w,U);function g(n){const c=n.regex,R=(de,{after:Z})=>{const ae="",end:""},L=/<[A-Za-z0-9\\._:-]+\s*\/>/,O={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(de,Z)=>{const ae=de[0].length+de.index,he=de.input[ae];if(he==="<"||he===","){Z.ignoreMatch();return}he===">"&&(R(de,{after:ae})||Z.ignoreMatch());let we;const _e=de.input.substring(ae);if(we=_e.match(/^\s*=/)){Z.ignoreMatch();return}if((we=_e.match(/^\s+extends\s+/))&&we.index===0){Z.ignoreMatch();return}}},B={$pattern:b,keyword:r,literal:m,built_in:a,"variable.language":x},P="[0-9](_?[0-9])*",S=`\\.(${P})`,_="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",l={className:"number",variants:[{begin:`(\\b(${_})((${S})|\\.)?|(${S}))[eE][+-]?(${P})\\b`},{begin:`\\b(${_})\\b((${S})\\b|\\.)?|(${S})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:B,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},M={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"css"}},F={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,y]},W={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:v+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},J=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,D,M,F,N,{match:/\$\d+/},l];y.contains=J.concat({begin:/\{/,end:/\}/,keywords:B,contains:["self"].concat(J)});const Y=[].concat(W,y.contains),V=Y.concat([{begin:/\(/,end:/\)/,keywords:B,contains:["self"].concat(Y)}]),H={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:B,contains:V},z={variants:[{match:[/class/,/\s+/,v,/\s+/,/extends/,/\s+/,c.concat(v,"(",c.concat(/\./,v),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,v],scope:{1:"keyword",3:"title.class"}}]},X={relevance:0,match:c.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...w,...U]}},q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},$={variants:[{match:[/function/,/\s+/,v,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[H],illegal:/%/},fe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Q(de){return c.concat("(?!",de.join("|"),")")}const ie={match:c.concat(/\b/,Q([...k,"super","import"]),v,c.lookahead(/\(/)),className:"title.function",relevance:0},Te={begin:c.concat(/\./,c.lookahead(c.concat(v,/(?![0-9A-Za-z$_(])/))),end:v,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},me={match:[/get|set/,/\s+/,v,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},H]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",ce={match:[/const|var|let/,/\s+/,v,/\s*/,/=\s*/,/(async\s*)?/,c.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[H]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:B,exports:{PARAMS_CONTAINS:V,CLASS_REFERENCE:X},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,D,M,F,N,W,{match:/\$\d+/},l,X,{className:"attr",begin:v+c.lookahead(":"),relevance:0},ce,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[W,n.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:B,contains:V}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:e.begin,end:e.end},{match:L},{begin:O.begin,"on:begin":O.isTrulyOpeningTag,end:O.end}],subLanguage:"xml",contains:[{begin:O.begin,end:O.end,skip:!0,contains:["self"]}]}]},$,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[H,n.inherit(n.TITLE_MODE,{begin:v,className:"title.function"})]},{match:/\.\.\./,relevance:0},Te,{match:"\\$"+v,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[H]},ie,fe,z,me,{match:/\$[(.]/}]}}return javascript_1=g,javascript_1}var jbossCli_1,hasRequiredJbossCli;function requireJbossCli(){if(hasRequiredJbossCli)return jbossCli_1;hasRequiredJbossCli=1;function b(r){const w={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},U={className:"function",begin:/:[\w\-.]+/,relevance:0},k={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},x={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[r.HASH_COMMENT_MODE,r.QUOTE_STRING_MODE,x,U,k,w]}}return jbossCli_1=b,jbossCli_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1;function b(r){const m={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},w={match:/[{}[\],:]/,className:"punctuation",relevance:0},U=["true","false","null"],k={scope:"literal",beginKeywords:U.join(" ")};return{name:"JSON",keywords:{literal:U},contains:[m,w,r.QUOTE_STRING_MODE,k,r.C_NUMBER_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return json_1=b,json_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1;function b(r){const m="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",x={$pattern:m,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},a={keywords:x,illegal:/<\//},g={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},n={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},c={className:"subst",begin:/\$\(/,end:/\)/,keywords:x},R={className:"variable",begin:"\\$"+m},v={className:"string",contains:[r.BACKSLASH_ESCAPE,c,R],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},e={className:"string",contains:[r.BACKSLASH_ESCAPE,c,R],begin:"`",end:"`"},L={className:"meta",begin:"@"+m},O={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return a.name="Julia",a.contains=[g,n,v,e,L,O,r.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],c.contains=a.contains,a}return julia_1=b,julia_1}var juliaRepl_1,hasRequiredJuliaRepl;function requireJuliaRepl(){if(hasRequiredJuliaRepl)return juliaRepl_1;hasRequiredJuliaRepl=1;function b(r){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return juliaRepl_1=b,juliaRepl_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1;var b="[0-9](_*[0-9])*",r=`\\.(${b})`,m="[0-9a-fA-F](_*[0-9a-fA-F])*",w={className:"number",variants:[{begin:`(\\b(${b})((${r})|\\.)?|(${r}))[eE][+-]?(${b})[fFdD]?\\b`},{begin:`\\b(${b})((${r})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${r})[fFdD]?\\b`},{begin:`\\b(${b})[fFdD]\\b`},{begin:`\\b0[xX]((${m})\\.?|(${m})?\\.(${m}))[pP][+-]?(${b})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${m})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function U(k){const x={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},g={className:"symbol",begin:k.UNDERSCORE_IDENT_RE+"@"},n={className:"subst",begin:/\$\{/,end:/\}/,contains:[k.C_NUMBER_MODE]},c={className:"variable",begin:"\\$"+k.UNDERSCORE_IDENT_RE},R={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[c,n]},{begin:"'",end:"'",illegal:/\n/,contains:[k.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[k.BACKSLASH_ESCAPE,c,n]}]};n.contains.push(R);const v={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+k.UNDERSCORE_IDENT_RE+")?"},e={className:"meta",begin:"@"+k.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[k.inherit(R,{className:"string"}),"self"]}]},L=w,O=k.COMMENT("/\\*","\\*/",{contains:[k.C_BLOCK_COMMENT_MODE]}),B={variants:[{className:"type",begin:k.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},P=B;return P.variants[1].contains=[B],B.variants[1].contains=[P],{name:"Kotlin",aliases:["kt","kts"],keywords:x,contains:[k.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),k.C_LINE_COMMENT_MODE,O,a,g,v,e,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:x,relevance:5,contains:[{begin:k.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[k.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:x,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[B,k.C_LINE_COMMENT_MODE,O],relevance:0},k.C_LINE_COMMENT_MODE,O,v,e,R,k.C_NUMBER_MODE]},O]},{begin:[/class|interface|trait/,/\s+/,k.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},k.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},v,e]},R,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},L]}}return kotlin_1=U,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function b(r){const m="[a-zA-Z_][\\w.]*",w="<\\?(lasso(script)?|=)",U="\\]|\\?>",k={$pattern:m+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},x=r.COMMENT("",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[x]}},g={className:"meta",begin:"\\[/noprocess|"+w},n={className:"symbol",begin:"'"+m+"'"},c=[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.inherit(r.C_NUMBER_MODE,{begin:r.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),r.inherit(r.APOS_STRING_MODE,{illegal:null}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+m},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:m,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+m,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[n]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[r.inherit(r.TITLE_MODE,{begin:m+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:k,contains:[{className:"meta",begin:U,relevance:0,starts:{end:"\\[|"+w,returnEnd:!0,relevance:0,contains:[x]}},a,g,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:k,contains:[{className:"meta",begin:U,relevance:0,starts:{end:"\\[noprocess\\]|"+w,returnEnd:!0,contains:[x]}},a,g].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}return lasso_1=b,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function b(r){const w=r.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(W=>W+"(?![a-zA-Z@:_])")),U=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(W=>W+"(?![a-zA-Z:_])").join("|")),k=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],x=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:w},{endsParent:!0,begin:U},{endsParent:!0,variants:x},{endsParent:!0,relevance:0,variants:k}]},g={className:"params",relevance:0,begin:/#+\d?/},n={variants:x},c={className:"built_in",relevance:0,begin:/[$&^_]/},R={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},v=r.COMMENT("%","$",{relevance:0}),e=[a,g,n,c,R,v],L={begin:/\{/,end:/\}/,relevance:0,contains:["self",...e]},O=r.inherit(L,{relevance:0,endsParent:!0,contains:[L,...e]}),B={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[L,...e]},P={begin:/\s+/,relevance:0},S=[O],_=[B],l=function(W,J){return{contains:[P],starts:{relevance:0,contains:W,starts:J}}},y=function(W,J){return{begin:"\\\\"+W+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+W},relevance:0,contains:[P],starts:J}},D=function(W,J){return r.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+W+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},l(S,J))},M=(W="string")=>r.END_SAME_AS_BEGIN({className:W,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),F=function(W){return{className:"string",end:"(?=\\\\end\\{"+W+"\\})"}},N=(W="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:W,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),G=[...["verb","lstinline"].map(W=>y(W,{contains:[M()]})),y("mint",l(S,{contains:[M()]})),y("mintinline",l(S,{contains:[N(),M()]})),y("url",{contains:[N("link"),N("link")]}),y("hyperref",{contains:[N("link")]}),y("href",l(_,{contains:[N("link")]})),...[].concat(...["","\\*"].map(W=>[D("verbatim"+W,F("verbatim"+W)),D("filecontents"+W,l(S,F("filecontents"+W))),...["","B","L"].map(J=>D(J+"Verbatim"+W,l(_,F(J+"Verbatim"+W))))])),D("minted",l(_,l(S,F("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...G,...e]}}return latex_1=b,latex_1}var ldif_1,hasRequiredLdif;function requireLdif(){if(hasRequiredLdif)return ldif_1;hasRequiredLdif=1;function b(r){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},r.HASH_COMMENT_MODE]}}return ldif_1=b,ldif_1}var leaf_1,hasRequiredLeaf;function requireLeaf(){if(hasRequiredLeaf)return leaf_1;hasRequiredLeaf=1;function b(r){const m=/([A-Za-z_][A-Za-z_0-9]*)?/,U={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},k={match:[m,/(?=\()/],scope:{1:"keyword"},contains:[U]};return U.contains.unshift(k),{name:"Leaf",contains:[{match:[/#+/,m,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[U]},{match:[/#+/,m,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return leaf_1=b,leaf_1}var less_1,hasRequiredLess;function requireLess(){if(hasRequiredLess)return less_1;hasRequiredLess=1;const b=g=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:g.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[g.APOS_STRING_MODE,g.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:g.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],m=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],w=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],U=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],k=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),x=w.concat(U);function a(g){const n=b(g),c=x,R="and or not only",v="[\\w-]+",e="("+v+"|@\\{"+v+"\\})",L=[],O=[],B=function(W){return{className:"string",begin:"~?"+W+".*?"+W}},P=function(W,J,Y){return{className:W,begin:J,relevance:Y}},S={$pattern:/[a-z-]+/,keyword:R,attribute:m.join(" ")},_={begin:"\\(",end:"\\)",contains:O,keywords:S,relevance:0};O.push(g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE,B("'"),B('"'),n.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},n.HEXCOLOR,_,P("variable","@@?"+v,10),P("variable","@\\{"+v+"\\}"),P("built_in","~?`[^`]*?`"),{className:"attribute",begin:v+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},n.IMPORTANT,{beginKeywords:"and not"},n.FUNCTION_DISPATCH);const l=O.concat({begin:/\{/,end:/\}/,contains:L}),y={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(O)},D={begin:e+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+k.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:O}}]},M={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:S,returnEnd:!0,contains:O,relevance:0}},F={className:"variable",variants:[{begin:"@"+v+"\\s*:",relevance:15},{begin:"@"+v}],starts:{end:"[;}]",returnEnd:!0,contains:l}},N={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:e,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE,y,P("keyword","all\\b"),P("variable","@\\{"+v+"\\}"),{begin:"\\b("+r.join("|")+")\\b",className:"selector-tag"},n.CSS_NUMBER_MODE,P("selector-tag",e,0),P("selector-id","#"+e),P("selector-class","\\."+e,0),P("selector-tag","&",0),n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+w.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+U.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:l},{begin:"!important"},n.FUNCTION_DISPATCH]},G={begin:v+`:(:)?(${c.join("|")})`,returnBegin:!0,contains:[N]};return L.push(g.C_LINE_COMMENT_MODE,g.C_BLOCK_COMMENT_MODE,M,F,G,D,N,y,n.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:L}}return less_1=a,less_1}var lisp_1,hasRequiredLisp;function requireLisp(){if(hasRequiredLisp)return lisp_1;hasRequiredLisp=1;function b(r){const m="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",w="\\|[^]*?\\|",U="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",k={className:"literal",begin:"\\b(t{1}|nil)\\b"},x={className:"number",variants:[{begin:U,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+U+" +"+U,end:"\\)"}]},a=r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),g=r.COMMENT(";","$",{relevance:0}),n={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+m},R={begin:m,relevance:0},v={begin:w},L={contains:[x,a,n,c,{begin:"\\(",end:"\\)",contains:["self",k,a,x,R]},R],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+w}]},O={variants:[{begin:"'"+m},{begin:"#'"+m+"(::"+m+")*"}]},B={begin:"\\(\\s*",end:"\\)"},P={endsWithParent:!0,relevance:0};return B.contains=[{className:"name",variants:[{begin:m,relevance:0},{begin:w}]},P],P.contains=[L,O,B,k,x,a,g,n,c,v,R],{name:"Lisp",illegal:/\S/,contains:[x,r.SHEBANG(),k,a,g,L,O,B,R]}}return lisp_1=b,lisp_1}var livecodeserver_1,hasRequiredLivecodeserver;function requireLivecodeserver(){if(hasRequiredLivecodeserver)return livecodeserver_1;hasRequiredLivecodeserver=1;function b(r){const m={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},w=[r.C_BLOCK_COMMENT_MODE,r.HASH_COMMENT_MODE,r.COMMENT("--","$"),r.COMMENT("[^:]//","$")],U=r.inherit(r.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),k=r.inherit(r.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[m,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[m,k,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE,U]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[k,U],relevance:0},{beginKeywords:"command on",end:"$",contains:[m,k,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE,U]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE,U].concat(w),illegal:";$|^\\[|^=|&|\\{"}}return livecodeserver_1=b,livecodeserver_1}var livescript_1,hasRequiredLivescript;function requireLivescript(){if(hasRequiredLivescript)return livescript_1;hasRequiredLivescript=1;const b=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],m=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],w=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],U=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],k=[].concat(U,m,w);function x(a){const g=["npm","print"],n=["yes","no","on","off","it","that","void"],c=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],R={keyword:b.concat(c),literal:r.concat(n),built_in:k.concat(g)},v="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",e=a.inherit(a.TITLE_MODE,{begin:v}),L={className:"subst",begin:/#\{/,end:/\}/,keywords:R},O={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:R},B=[a.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,L,O]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,L,O]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[L,a.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+v},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];L.contains=B;const P={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:R,contains:["self"].concat(B)}]},S={begin:"(#=>|=>|\\|>>|-?->|!->)"},_={variants:[{match:[/class\s+/,v,/\s+extends\s+/,v]},{match:[/class\s+/,v]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:R};return{name:"LiveScript",aliases:["ls"],keywords:R,illegal:/\/\*/,contains:B.concat([a.COMMENT("\\/\\*","\\*\\/"),a.HASH_COMMENT_MODE,S,{className:"function",contains:[e,P],returnBegin:!0,variants:[{begin:"("+v+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+v+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+v+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},_,{begin:v+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return livescript_1=x,livescript_1}var llvm_1,hasRequiredLlvm;function requireLlvm(){if(hasRequiredLlvm)return llvm_1;hasRequiredLlvm=1;function b(r){const m=r.regex,w=/([-a-zA-Z$._][\w$.-]*)/,U={className:"type",begin:/\bi\d+(?=\s|\b)/},k={className:"operator",relevance:0,begin:/=/},x={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},g={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},n={className:"variable",variants:[{begin:m.concat(/%/,w)},{begin:/%\d+/},{begin:/#\d+/}]},c={className:"title",variants:[{begin:m.concat(/@/,w)},{begin:/@\d+/},{begin:m.concat(/!/,w)},{begin:m.concat(/!\d+/,w)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[U,r.COMMENT(/;\s*$/,null,{relevance:0}),r.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},c,x,k,n,g,a]}}return llvm_1=b,llvm_1}var lsl_1,hasRequiredLsl;function requireLsl(){if(hasRequiredLsl)return lsl_1;hasRequiredLsl=1;function b(r){const w={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},U={className:"number",relevance:0,begin:r.C_NUMBER_RE},k={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},x={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[w,{className:"comment",variants:[r.COMMENT("//","$"),r.COMMENT("/\\*","\\*/")],relevance:0},U,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},x,k,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return lsl_1=b,lsl_1}var lua_1,hasRequiredLua;function requireLua(){if(hasRequiredLua)return lua_1;hasRequiredLua=1;function b(r){const m="\\[=*\\[",w="\\]=*\\]",U={begin:m,end:w,contains:["self"]},k=[r.COMMENT("--(?!"+m+")","$"),r.COMMENT("--"+m,w,{contains:[U],relevance:10})];return{name:"Lua",keywords:{$pattern:r.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:k.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[r.inherit(r.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:k}].concat(k)},r.C_NUMBER_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"string",begin:m,end:w,contains:[U],relevance:5}])}}return lua_1=b,lua_1}var makefile_1,hasRequiredMakefile;function requireMakefile(){if(hasRequiredMakefile)return makefile_1;hasRequiredMakefile=1;function b(r){const m={className:"variable",variants:[{begin:"\\$\\("+r.UNDERSCORE_IDENT_RE+"\\)",contains:[r.BACKSLASH_ESCAPE]},{begin:/\$[@%{O.has(M[0])||F.ignoreMatch()}},{className:"symbol",relevance:0,begin:L}]},P={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},S={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},_={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},l={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},y={className:"brace",relevance:0,begin:/[[\](){}]/},D={className:"message-name",relevance:0,begin:w.concat("::",L)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[m.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),_,l,D,B,P,m.QUOTE_STRING_MODE,e,S,y]}}return mathematica_1=r,mathematica_1}var matlab_1,hasRequiredMatlab;function requireMatlab(){if(hasRequiredMatlab)return matlab_1;hasRequiredMatlab=1;function b(r){const m="('|\\.')+",w={relevance:0,contains:[{begin:m}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[r.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:w},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+m,relevance:0},{className:"number",begin:r.C_NUMBER_RE,relevance:0,starts:w},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:w},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:w},r.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),r.COMMENT("%","$")]}}return matlab_1=b,matlab_1}var maxima_1,hasRequiredMaxima;function requireMaxima(){if(hasRequiredMaxima)return maxima_1;hasRequiredMaxima=1;function b(r){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},r.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return maxima_1=b,maxima_1}var mel_1,hasRequiredMel;function requireMel(){if(hasRequiredMel)return mel_1;hasRequiredMel=1;function b(r){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},w,r.C_BLOCK_COMMENT_MODE,U,r.NUMBER_MODE,k,x,{begin:/:-/},{begin:/\.$/}]}}return mercury_1=b,mercury_1}var mipsasm_1,hasRequiredMipsasm;function requireMipsasm(){if(hasRequiredMipsasm)return mipsasm_1;hasRequiredMipsasm=1;function b(r){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+r.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},r.COMMENT("[;#](?!\\s*$)","$"),r.C_BLOCK_COMMENT_MODE,r.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return mipsasm_1=b,mipsasm_1}var mizar_1,hasRequiredMizar;function requireMizar(){if(hasRequiredMizar)return mizar_1;hasRequiredMizar=1;function b(r){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[r.COMMENT("::","$")]}}return mizar_1=b,mizar_1}var perl_1,hasRequiredPerl;function requirePerl(){if(hasRequiredPerl)return perl_1;hasRequiredPerl=1;function b(r){const m=r.regex,w=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],U=/[dualxmsipngr]{0,12}/,k={$pattern:/[\w.]+/,keyword:w.join(" ")},x={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:k},a={begin:/->\{/,end:/\}/},g={variants:[{begin:/\$\d/},{begin:m.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},n=[r.BACKSLASH_ESCAPE,x,g],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],R=(L,O,B="\\1")=>{const P=B==="\\1"?B:m.concat(B,O);return m.concat(m.concat("(?:",L,")"),O,/(?:\\.|[^\\\/])*?/,P,/(?:\\.|[^\\\/])*?/,B,U)},v=(L,O,B)=>m.concat(m.concat("(?:",L,")"),O,/(?:\\.|[^\\\/])*?/,B,U),e=[g,r.HASH_COMMENT_MODE,r.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:n,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+r.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[r.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:R("s|tr|y",m.either(...c,{capture:!0}))},{begin:R("s|tr|y","\\(","\\)")},{begin:R("s|tr|y","\\[","\\]")},{begin:R("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:v("(?:m|qr)?",/\//,/\//)},{begin:v("m|qr",m.either(...c,{capture:!0}),/\1/)},{begin:v("m|qr",/\(/,/\)/)},{begin:v("m|qr",/\[/,/\]/)},{begin:v("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[r.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return x.contains=e,a.contains=e,{name:"Perl",aliases:["pl","pm"],keywords:k,contains:e}}return perl_1=b,perl_1}var mojolicious_1,hasRequiredMojolicious;function requireMojolicious(){if(hasRequiredMojolicious)return mojolicious_1;hasRequiredMojolicious=1;function b(r){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return mojolicious_1=b,mojolicious_1}var monkey_1,hasRequiredMonkey;function requireMonkey(){if(hasRequiredMonkey)return monkey_1;hasRequiredMonkey=1;function b(r){const m={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},r.NUMBER_MODE]},w={variants:[{match:[/(function|method)/,/\s+/,r.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},U={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,r.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[r.COMMENT("#rem","#end"),r.COMMENT("'","$",{relevance:0}),w,U,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[r.UNDERSCORE_TITLE_MODE]},r.QUOTE_STRING_MODE,m]}}return monkey_1=b,monkey_1}var moonscript_1,hasRequiredMoonscript;function requireMoonscript(){if(hasRequiredMoonscript)return moonscript_1;hasRequiredMoonscript=1;function b(r){const m={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},w="[A-Za-z$_][0-9A-Za-z$_]*",U={className:"subst",begin:/#\{/,end:/\}/,keywords:m},k=[r.inherit(r.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,U]}]},{className:"built_in",begin:"@__"+r.IDENT_RE},{begin:"@"+r.IDENT_RE},{begin:r.IDENT_RE+"\\\\"+r.IDENT_RE}];U.contains=k;const x=r.inherit(r.TITLE_MODE,{begin:w}),a="(\\(.*\\)\\s*)?\\B[-=]>",g={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:m,contains:["self"].concat(k)}]};return{name:"MoonScript",aliases:["moon"],keywords:m,illegal:/\/\*/,contains:k.concat([r.COMMENT("--","$"),{className:"function",begin:"^\\s*"+w+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[x,g]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[g]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[x]},x]},{className:"name",begin:w+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return moonscript_1=b,moonscript_1}var n1ql_1,hasRequiredN1ql;function requireN1ql(){if(hasRequiredN1ql)return n1ql_1;hasRequiredN1ql=1;function b(r){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[r.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[r.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE]},r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_BLOCK_COMMENT_MODE]}}return n1ql_1=b,n1ql_1}var nestedtext_1,hasRequiredNestedtext;function requireNestedtext(){if(hasRequiredNestedtext)return nestedtext_1;hasRequiredNestedtext=1;function b(r){const m={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},w={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},U={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},k={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[r.inherit(r.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),k,U,m,w]}}return nestedtext_1=b,nestedtext_1}var nginx_1,hasRequiredNginx;function requireNginx(){if(hasRequiredNginx)return nginx_1;hasRequiredNginx=1;function b(r){const m=r.regex,w={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:m.concat(/[$@]/,r.UNDERSCORE_IDENT_RE)}]},k={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[r.HASH_COMMENT_MODE,{className:"string",contains:[r.BACKSLASH_ESCAPE,w],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[w]},{className:"regexp",contains:[r.BACKSLASH_ESCAPE,w],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},w]};return{name:"Nginx config",aliases:["nginxconf"],contains:[r.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:k.contains,keywords:{section:"upstream location"}},{className:"section",begin:m.concat(r.UNDERSCORE_IDENT_RE+m.lookahead(/\s+\{/)),relevance:0},{begin:m.lookahead(r.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:r.UNDERSCORE_IDENT_RE,starts:k}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return nginx_1=b,nginx_1}var nim_1,hasRequiredNim;function requireNim(){if(hasRequiredNim)return nim_1;hasRequiredNim=1;function b(r){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},r.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},r.HASH_COMMENT_MODE]}}return nim_1=b,nim_1}var nix_1,hasRequiredNix;function requireNix(){if(hasRequiredNix)return nix_1;hasRequiredNix=1;function b(r){const m={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},w={className:"subst",begin:/\$\{/,end:/\}/,keywords:m},U={className:"char.escape",begin:/''\$/},k={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},x={className:"string",contains:[U,w],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},a=[r.NUMBER_MODE,r.HASH_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,x,k];return w.contains=a,{name:"Nix",aliases:["nixos"],keywords:m,contains:a}}return nix_1=b,nix_1}var nodeRepl_1,hasRequiredNodeRepl;function requireNodeRepl(){if(hasRequiredNodeRepl)return nodeRepl_1;hasRequiredNodeRepl=1;function b(r){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return nodeRepl_1=b,nodeRepl_1}var nsis_1,hasRequiredNsis;function requireNsis(){if(hasRequiredNsis)return nsis_1;hasRequiredNsis=1;function b(r){const m=r.regex,w=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],U=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],k=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],x={className:"variable.constant",begin:m.concat(/\$/,m.either(...w))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},g={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},n={className:"variable",begin:/\$+\([\w^.:!-]+\)/},c={className:"params",begin:m.either(...U)},R={className:"keyword",begin:m.concat(/!/,m.either(...k))},v={className:"char.escape",begin:/\$(\\[nrt]|\$)/},e={className:"title.function",begin:/\w+::\w+/},L={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[v,x,a,g,n]},O=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],B=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],P={match:[/Function/,/\s+/,m.concat(/(\.)?/,r.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},_={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:O,literal:B},contains:[r.HASH_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.COMMENT(";","$",{relevance:0}),_,P,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},L,R,a,g,n,c,e,r.NUMBER_MODE]}}return nsis_1=b,nsis_1}var objectivec_1,hasRequiredObjectivec;function requireObjectivec(){if(hasRequiredObjectivec)return objectivec_1;hasRequiredObjectivec=1;function b(r){const m={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},w=/[a-zA-Z@][a-zA-Z0-9_]*/,g={"variable.language":["this","super"],$pattern:w,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},n={$pattern:w,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:g,illegal:"/,end:/$/,illegal:"\\n"},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[r.UNDERSCORE_TITLE_MODE]},{begin:"\\."+r.UNDERSCORE_IDENT_RE,relevance:0}]}}return objectivec_1=b,objectivec_1}var ocaml_1,hasRequiredOcaml;function requireOcaml(){if(hasRequiredOcaml)return ocaml_1;hasRequiredOcaml=1;function b(r){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},r.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},r.inherit(r.APOS_STRING_MODE,{className:"string",relevance:0}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ocaml_1=b,ocaml_1}var openscad_1,hasRequiredOpenscad;function requireOpenscad(){if(hasRequiredOpenscad)return openscad_1;hasRequiredOpenscad=1;function b(r){const m={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},w={className:"literal",begin:"false|true|PI|undef"},U={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},k=r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),x={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",U,k,m,w]},g={begin:"[*!#%]",relevance:0},n={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,r.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,U,x,k,m,g,n]}}return openscad_1=b,openscad_1}var oxygene_1,hasRequiredOxygene;function requireOxygene(){if(hasRequiredOxygene)return oxygene_1;hasRequiredOxygene=1;function b(r){const m={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},w=r.COMMENT(/\{/,/\}/,{relevance:0}),U=r.COMMENT("\\(\\*","\\*\\)",{relevance:10}),k={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},x={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[r.inherit(r.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:m,contains:[k,x]},w,U]},g={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:m,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[w,U,r.C_LINE_COMMENT_MODE,k,x,r.NUMBER_MODE,a,g]}}return oxygene_1=b,oxygene_1}var parser3_1,hasRequiredParser3;function requireParser3(){if(hasRequiredParser3)return parser3_1;hasRequiredParser3=1;function b(r){const m=r.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[r.COMMENT("^#","$"),r.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[m]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},r.C_NUMBER_MODE]}}return parser3_1=b,parser3_1}var pf_1,hasRequiredPf;function requirePf(){if(hasRequiredPf)return pf_1;hasRequiredPf=1;function b(r){const m={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},w={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[r.HASH_COMMENT_MODE,r.NUMBER_MODE,r.QUOTE_STRING_MODE,m,w]}}return pf_1=b,pf_1}var pgsql_1,hasRequiredPgsql;function requirePgsql(){if(hasRequiredPgsql)return pgsql_1;hasRequiredPgsql=1;function b(r){const m=r.COMMENT("--","$"),w="[a-zA-Z_][a-zA-Z_0-9$]*",U="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",k="<<\\s*"+w+"\\s*>>",x="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",g="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",n="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",c=n.trim().split(" ").map(function(B){return B.split("|")[0]}).join("|"),R="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",v="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",e="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",O="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(B){return B.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:x+g+a,built_in:R+v+e},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:r.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+O+")\\s*\\("},{begin:"\\.("+c+")\\b"},{begin:"\\b("+c+")\\s+PATH\\b",keywords:{keyword:"PATH",type:n.replace("PATH ","")}},{className:"type",begin:"\\b("+c+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},r.END_SAME_AS_BEGIN({begin:U,end:U,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE,m,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:k,relevance:10}]}}return pgsql_1=b,pgsql_1}var php_1,hasRequiredPhp;function requirePhp(){if(hasRequiredPhp)return php_1;hasRequiredPhp=1;function b(r){const m=r.regex,w=/(?![A-Za-z0-9])(?![$])/,U=m.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,w),k=m.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,w),x={scope:"variable",match:"\\$+"+U},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},g={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},n=r.inherit(r.APOS_STRING_MODE,{illegal:null}),c=r.inherit(r.QUOTE_STRING_MODE,{illegal:null,contains:r.QUOTE_STRING_MODE.contains.concat(g)}),R={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:r.QUOTE_STRING_MODE.contains.concat(g),"on:begin":(V,H)=>{H.data._beginMatch=V[1]||V[2]},"on:end":(V,H)=>{H.data._beginMatch!==V[1]&&H.ignoreMatch()}},v=r.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),e=`[ +]`,L={scope:"string",variants:[c,n,R,v]},O={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},B=["false","null","true"],P=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],S=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],l={keyword:P,literal:(V=>{const H=[];return V.forEach(z=>{H.push(z),z.toLowerCase()===z?H.push(z.toUpperCase()):H.push(z.toLowerCase())}),H})(B),built_in:S},y=V=>V.map(H=>H.replace(/\|\d+$/,"")),D={variants:[{match:[/new/,m.concat(e,"+"),m.concat("(?!",y(S).join("\\b|"),"\\b)"),k],scope:{1:"keyword",4:"title.class"}}]},M=m.concat(U,"\\b(?!\\()"),F={variants:[{match:[m.concat(/::/,m.lookahead(/(?!class\b)/)),M],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[k,m.concat(/::/,m.lookahead(/(?!class\b)/)),M],scope:{1:"title.class",3:"variable.constant"}},{match:[k,m.concat("::",m.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[k,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},N={scope:"attr",match:m.concat(U,m.lookahead(":"),m.lookahead(/(?!::)/))},G={relevance:0,begin:/\(/,end:/\)/,keywords:l,contains:[N,x,F,r.C_BLOCK_COMMENT_MODE,L,O,D]},W={relevance:0,match:[/\b/,m.concat("(?!fn\\b|function\\b|",y(P).join("\\b|"),"|",y(S).join("\\b|"),"\\b)"),U,m.concat(e,"*"),m.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[G]};G.contains.push(W);const J=[N,F,r.C_BLOCK_COMMENT_MODE,L,O,D],Y={begin:m.concat(/#\[\s*/,k),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:B,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:B,keyword:["new","array"]},contains:["self",...J]},...J,{scope:"meta",match:k}]};return{case_insensitive:!1,keywords:l,contains:[Y,r.HASH_COMMENT_MODE,r.COMMENT("//","$"),r.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:r.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},x,W,F,{match:[/const/,/\s/,U],scope:{1:"keyword",3:"variable.constant"}},D,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},r.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",x,F,r.C_BLOCK_COMMENT_MODE,L,O]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},r.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[r.inherit(r.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},r.UNDERSCORE_TITLE_MODE]},L,O]}}return php_1=b,php_1}var phpTemplate_1,hasRequiredPhpTemplate;function requirePhpTemplate(){if(hasRequiredPhpTemplate)return phpTemplate_1;hasRequiredPhpTemplate=1;function b(r){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},r.inherit(r.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return phpTemplate_1=b,phpTemplate_1}var plaintext_1,hasRequiredPlaintext;function requirePlaintext(){if(hasRequiredPlaintext)return plaintext_1;hasRequiredPlaintext=1;function b(r){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return plaintext_1=b,plaintext_1}var pony_1,hasRequiredPony;function requirePony(){if(hasRequiredPony)return pony_1;hasRequiredPony=1;function b(r){const m={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},w={className:"string",begin:'"""',end:'"""',relevance:10},U={className:"string",begin:'"',end:'"',contains:[r.BACKSLASH_ESCAPE]},k={className:"string",begin:"'",end:"'",contains:[r.BACKSLASH_ESCAPE],relevance:0},x={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:r.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:m,contains:[x,w,U,k,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]}}return pony_1=b,pony_1}var powershell_1,hasRequiredPowershell;function requirePowershell(){if(hasRequiredPowershell)return powershell_1;hasRequiredPowershell=1;function b(r){const m=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],w="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",U="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",k={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},x=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},g={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},n={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,g,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},R={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},v={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},e=r.inherit(r.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[v]}),L={className:"built_in",variants:[{begin:"(".concat(w,")+(-)[\\w\\d]+")}]},O={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[r.TITLE_MODE]},B={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:x,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[g]}]},P={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,R,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},S={variants:[{className:"operator",begin:"(".concat(U,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},_={className:"selector-tag",begin:/@\B/,relevance:0},l={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(k.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},r.inherit(r.TITLE_MODE,{endsParent:!0})]},y=[l,e,a,r.NUMBER_MODE,c,R,L,g,n,_],D={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",y,{begin:"("+m.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return l.contains.unshift(D),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:k,contains:y.concat(O,B,P,S,D)}}return powershell_1=b,powershell_1}var processing_1,hasRequiredProcessing;function requireProcessing(){if(hasRequiredProcessing)return processing_1;hasRequiredProcessing=1;function b(r){const m=r.regex,w=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],U=r.IDENT_RE,k={variants:[{match:m.concat(m.either(...w),m.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:m.concat(/\b(?!for|if|while)/,U,m.lookahead(/\s*\(/)),className:"title.function"}]},x={match:[/new\s+/,U],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,U],className:{2:"property"}},g={variants:[{match:[/class/,/\s+/,U,/\s+/,/extends/,/\s+/,U]},{match:[/class/,/\s+/,U]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},n=["boolean","byte","char","color","double","float","int","long","short"],c=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...w,...c],type:n},contains:[g,x,k,a,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE]}}return processing_1=b,processing_1}var profile_1,hasRequiredProfile;function requireProfile(){if(hasRequiredProfile)return profile_1;hasRequiredProfile=1;function b(r){return{name:"Python profiler",contains:[r.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[r.C_NUMBER_MODE],relevance:10},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return profile_1=b,profile_1}var prolog_1,hasRequiredProlog;function requireProlog(){if(hasRequiredProlog)return prolog_1;hasRequiredProlog=1;function b(r){const m={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},w={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},U={begin:/\(/,end:/\)/,relevance:0},k={begin:/\[/,end:/\]/},x={className:"comment",begin:/%/,end:/$/,contains:[r.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[r.BACKSLASH_ESCAPE]},g={className:"string",begin:/0'(\\'|.)/},n={className:"string",begin:/0'\\s/},R=[m,w,U,{begin:/:-/},k,x,r.C_BLOCK_COMMENT_MODE,r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,a,g,n,r.C_NUMBER_MODE];return U.contains=R,k.contains=R,{name:"Prolog",contains:R.concat([{begin:/\.$/}])}}return prolog_1=b,prolog_1}var properties_1,hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties_1;hasRequiredProperties=1;function b(r){const m="[ \\t\\f]*",w="[ \\t\\f]+",U=m+"[:=]"+m,k=w,x="("+U+"|"+k+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",g={end:x,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[r.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+U},{begin:a+k}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:g},{className:"attr",begin:a+m+"$"}]}}return properties_1=b,properties_1}var protobuf_1,hasRequiredProtobuf;function requireProtobuf(){if(hasRequiredProtobuf)return protobuf_1;hasRequiredProtobuf=1;function b(r){const m=["package","import","option","optional","required","repeated","group","oneof"],w=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],U={match:[/(message|enum|service)\s+/,r.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:m,type:w,literal:["true","false"]},contains:[r.QUOTE_STRING_MODE,r.NUMBER_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,U,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return protobuf_1=b,protobuf_1}var puppet_1,hasRequiredPuppet;function requirePuppet(){if(hasRequiredPuppet)return puppet_1;hasRequiredPuppet=1;function b(r){const m={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},w=r.COMMENT("#","$"),U="([A-Za-z_]|::)(\\w|::)*",k=r.inherit(r.TITLE_MODE,{begin:U}),x={className:"variable",begin:"\\$"+U},a={className:"string",contains:[r.BACKSLASH_ESCAPE,x],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[w,x,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[k,w]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:r.IDENT_RE,endsParent:!0}]},{begin:r.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:r.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:m,relevance:0,contains:[a,w,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:r.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},x]}],relevance:0}]}}return puppet_1=b,puppet_1}var purebasic_1,hasRequiredPurebasic;function requirePurebasic(){if(hasRequiredPurebasic)return purebasic_1;hasRequiredPurebasic=1;function b(r){const m={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},w={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[r.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},r.UNDERSCORE_TITLE_MODE]},m,w]}}return purebasic_1=b,purebasic_1}var python_1,hasRequiredPython;function requirePython(){if(hasRequiredPython)return python_1;hasRequiredPython=1;function b(r){const m=r.regex,w=/[\p{XID_Start}_]\p{XID_Continue}*/u,U=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],g={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:U,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},n={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:g,illegal:/#/},R={begin:/\{\{/,relevance:0},v={className:"string",contains:[r.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE,n,R,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,n,R,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[r.BACKSLASH_ESCAPE,R,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,R,c]},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]},e="[0-9](_?[0-9])*",L=`(\\b(${e}))?\\.(${e})|\\b(${e})\\.`,O=`\\b|${U.join("|")}`,B={className:"number",relevance:0,variants:[{begin:`(\\b(${e})|(${L}))[eE][+-]?(${e})[jJ]?(?=${O})`},{begin:`(${L})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${O})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${O})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${O})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${O})`},{begin:`\\b(${e})[jJ](?=${O})`}]},P={className:"comment",begin:m.lookahead(/# type:/),end:/$/,keywords:g,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},S={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:["self",n,B,v,r.HASH_COMMENT_MODE]}]};return c.contains=[v,B,n],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:g,illegal:/(<\/|\?)|=>/,contains:[n,B,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},v,P,r.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,w],scope:{1:"keyword",3:"title.function"},contains:[S]},{variants:[{match:[/\bclass/,/\s+/,w,/\s*/,/\(\s*/,w,/\s*\)/]},{match:[/\bclass/,/\s+/,w]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[B,S,v]}]}}return python_1=b,python_1}var pythonRepl_1,hasRequiredPythonRepl;function requirePythonRepl(){if(hasRequiredPythonRepl)return pythonRepl_1;hasRequiredPythonRepl=1;function b(r){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return pythonRepl_1=b,pythonRepl_1}var q_1,hasRequiredQ;function requireQ(){if(hasRequiredQ)return q_1;hasRequiredQ=1;function b(r){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[r.C_LINE_COMMENT_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE]}}return q_1=b,q_1}var qml_1,hasRequiredQml;function requireQml(){if(hasRequiredQml)return qml_1;hasRequiredQml=1;function b(r){const m=r.regex,w={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},U="[a-zA-Z_][a-zA-Z0-9\\._]*",k={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},x={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:U,returnEnd:!1}},g={begin:U+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:U,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},n={begin:m.concat(U,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[r.inherit(r.TITLE_MODE,{begin:U})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:w,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:r.C_NUMBER_RE}],relevance:0},{begin:"("+r.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},x,k,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+r.IDENT_RE,relevance:0},a,g,n],illegal:/#/}}return qml_1=b,qml_1}var r_1,hasRequiredR;function requireR(){if(hasRequiredR)return r_1;hasRequiredR=1;function b(r){const m=r.regex,w=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,U=m.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),k=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,x=m.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:w,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[r.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:m.lookahead(m.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:w},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),r.HASH_COMMENT_MODE,{scope:"string",contains:[r.BACKSLASH_ESCAPE],variants:[r.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),r.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),r.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),r.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),r.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),r.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[k,U]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,U]},{scope:{1:"punctuation",2:"number"},match:[x,U]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,U]}]},{scope:{3:"operator"},match:[w,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:k},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:x},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return r_1=b,r_1}var reasonml_1,hasRequiredReasonml;function requireReasonml(){if(hasRequiredReasonml)return reasonml_1;hasRequiredReasonml=1;function b(r){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},r.C_LINE_COMMENT_MODE,r.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},r.inherit(r.APOS_STRING_MODE,{scope:"string",relevance:0}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return reasonml_1=b,reasonml_1}var rib_1,hasRequiredRib;function requireRib(){if(hasRequiredRib)return rib_1;hasRequiredRib=1;function b(r){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},r.COMMENT("^#","$"),g,n,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[g,n,a,{className:"literal",begin:"\\b("+k.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+U.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+x.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return routeros_1=b,routeros_1}var rsl_1,hasRequiredRsl;function requireRsl(){if(hasRequiredRsl)return rsl_1;hasRequiredRsl=1;function b(r){const m=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],w=["matrix","float","color","point","normal","vector"],U=["while","for","if","do","return","else","break","extern","continue"],k={match:[/(surface|displacement|light|volume|imager)/,/\s+/,r.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:U,built_in:m,type:w},illegal:""},w]}}return rust_1=b,rust_1}var sas_1,hasRequiredSas;function requireSas(){if(hasRequiredSas)return sas_1;hasRequiredSas=1;function b(r){const m=r.regex,w=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],U=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],k=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:w},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+m.either(...k)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:m.either(...U)+"(?=\\()"},{className:"string",variants:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]},r.COMMENT("\\*",";"),r.C_BLOCK_COMMENT_MODE]}}return sas_1=b,sas_1}var scala_1,hasRequiredScala;function requireScala(){if(hasRequiredScala)return scala_1;hasRequiredScala=1;function b(r){const m=r.regex,w={className:"meta",begin:"@[A-Za-z]+"},U={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},k={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[r.BACKSLASH_ESCAPE,U]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[U],relevance:10}]},x={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},a={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},g={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[x,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[x,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},a]},n={className:"function",beginKeywords:"def",end:m.lookahead(/[:={\[(\n;]/),contains:[a]},c={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},R={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},v=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],e={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,k,x,n,g,r.C_NUMBER_MODE,c,R,...v,e,w]}}return scala_1=b,scala_1}var scheme_1,hasRequiredScheme;function requireScheme(){if(hasRequiredScheme)return scheme_1;hasRequiredScheme=1;function b(r){const m="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",w="(-|\\+)?\\d+([./]\\d+)?",U=w+"[+\\-]"+w+"i",k={$pattern:m,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},x={className:"literal",begin:"(#t|#f|#\\\\"+m+"|#\\\\.)"},a={className:"number",variants:[{begin:w,relevance:0},{begin:U,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},g=r.QUOTE_STRING_MODE,n=[r.COMMENT(";","$",{relevance:0}),r.COMMENT("#\\|","\\|#")],c={begin:m,relevance:0},R={className:"symbol",begin:"'"+m},v={endsWithParent:!0,relevance:0},e={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",x,g,a,c,R]}]},L={className:"name",relevance:0,begin:m,keywords:k},B={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[L,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[c]}]},L,v]};return v.contains=[x,a,g,c,R,e,B].concat(n),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[r.SHEBANG(),a,g,R,e,B].concat(n)}}return scheme_1=b,scheme_1}var scilab_1,hasRequiredScilab;function requireScilab(){if(hasRequiredScilab)return scilab_1;hasRequiredScilab=1;function b(r){const m=[r.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[r.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[r.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:m},r.COMMENT("//","$")].concat(m)}}return scilab_1=b,scilab_1}var scss_1,hasRequiredScss;function requireScss(){if(hasRequiredScss)return scss_1;hasRequiredScss=1;const b=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],m=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],w=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],U=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],k=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function x(a){const g=b(a),n=U,c=w,R="@[a-z-]+",v="and or not only",L={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,g.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},g.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+r.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+c.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},L,{begin:/\(/,end:/\)/,contains:[g.CSS_NUMBER_MODE]},g.CSS_VARIABLE,{className:"attribute",begin:"\\b("+k.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[g.BLOCK_COMMENT,L,g.HEXCOLOR,g.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,g.IMPORTANT,g.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:R,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:v,attribute:m.join(" ")},contains:[{begin:R,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},L,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,g.HEXCOLOR,g.CSS_NUMBER_MODE]},g.FUNCTION_DISPATCH]}}return scss_1=x,scss_1}var shell_1,hasRequiredShell;function requireShell(){if(hasRequiredShell)return shell_1;hasRequiredShell=1;function b(r){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return shell_1=b,shell_1}var smali_1,hasRequiredSmali;function requireSmali(){if(hasRequiredSmali)return smali_1;hasRequiredSmali=1;function b(r){const m=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],w=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],U=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},r.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+U.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+m.join("|")+")\\s"},{begin:"\\s("+m.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+w.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: +]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=b,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function b(r){const m="[a-z][a-zA-Z0-9_]*",w={className:"string",begin:"\\$.{1}"},U={className:"symbol",begin:"#"+r.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[r.COMMENT('"','"'),r.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:m+":",relevance:0},r.C_NUMBER_MODE,U,w,{begin:"\\|[ ]*"+m+"([ ]+"+m+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+m}]},{begin:"#\\(",end:"\\)",contains:[r.APOS_STRING_MODE,w,r.C_NUMBER_MODE,U]}]}}return smalltalk_1=b,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function b(r){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},r.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},r.inherit(r.APOS_STRING_MODE,{className:"string",relevance:0}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return sml_1=b,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function b(r){const m={className:"variable",begin:/\b_+[a-zA-Z]\w*/},w={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},U={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},k=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],x=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},r.inherit(U,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:k,built_in:a,literal:x},contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.NUMBER_MODE,m,w,U,g],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return sqf_1=b,sqf_1}var sql_1,hasRequiredSql;function requireSql(){if(hasRequiredSql)return sql_1;hasRequiredSql=1;function b(r){const m=r.regex,w=r.COMMENT("--","$"),U={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},k={begin:/"/,end:/"/,contains:[{begin:/""/}]},x=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],g=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],n=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],R=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],v=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],e=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],L=R,O=[...c,...n].filter(l=>!R.includes(l)),B={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},P={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},S={begin:m.concat(/\b/,m.either(...L),/\s*\(/),relevance:0,keywords:{built_in:L}};function _(l,{exceptions:y,when:D}={}){const M=D;return y=y||[],l.map(F=>F.match(/\|\d+$/)||y.includes(F)?F:M(F)?`${F}|0`:F)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:_(O,{when:l=>l.length<3}),literal:x,type:g,built_in:v},contains:[{begin:m.either(...e),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:O.concat(e),literal:x,type:g}},{className:"type",begin:m.either(...a)},S,B,U,k,r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE,w,P]}}return sql_1=b,sql_1}var stan_1,hasRequiredStan;function requireStan(){if(hasRequiredStan)return stan_1;hasRequiredStan=1;function b(r){const m=r.regex,w=["functions","model","data","parameters","quantities","transformed","generated"],U=["for","in","if","else","while","break","continue","return"],k=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],x=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],g=r.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),n={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},r.C_LINE_COMMENT_MODE]},c=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:r.IDENT_RE,title:w,type:k,keyword:U,built_in:x},contains:[r.C_LINE_COMMENT_MODE,n,r.HASH_COMMENT_MODE,g,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:m.concat(/[<,]\s*/,m.either(...c),/\s*=/),keywords:c},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,m.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:m.concat(/\w*/,m.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,m.concat(m.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+m.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:m.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return stan_1=b,stan_1}var stata_1,hasRequiredStata;function requireStata(){if(hasRequiredStata)return stata_1;hasRequiredStata=1;function b(r){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r +]*?"'`},{begin:`"[^\r +"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},r.COMMENT("^[ ]*\\*.*$",!1),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]}}return stata_1=b,stata_1}var step21_1,hasRequiredStep21;function requireStep21(){if(hasRequiredStep21)return step21_1;hasRequiredStep21=1;function b(r){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.COMMENT("/\\*\\*!","\\*/"),r.C_NUMBER_MODE,r.inherit(r.APOS_STRING_MODE,{illegal:null}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return step21_1=b,step21_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1;const b=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),r=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],m=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],w=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],U=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],k=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function x(a){const g=b(a),n="and or not only",c={className:"variable",begin:"\\$"+a.IDENT_RE},R=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],v="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,g.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+v,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+v,className:"selector-id"},{begin:"\\b("+r.join("|")+")"+v,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+w.join("|")+")"+v},{className:"selector-pseudo",begin:"&?:(:)?("+U.join("|")+")"+v},g.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:m.join(" ")},contains:[g.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+R.join("|")+"))\\b"},c,g.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[g.HEXCOLOR,c,a.APOS_STRING_MODE,g.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE]}]},g.CSS_VARIABLE,{className:"attribute",begin:"\\b("+k.join("|")+")\\b",starts:{end:/;|$/,contains:[g.HEXCOLOR,c,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,g.CSS_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE,g.IMPORTANT,g.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},g.FUNCTION_DISPATCH]}}return stylus_1=x,stylus_1}var subunit_1,hasRequiredSubunit;function requireSubunit(){if(hasRequiredSubunit)return subunit_1;hasRequiredSubunit=1;function b(r){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ +(multipart)?`,end:`\\] +`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return subunit_1=b,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function b(F){return F?typeof F=="string"?F:F.source:null}function r(F){return m("(?=",F,")")}function m(...F){return F.map(G=>b(G)).join("")}function w(F){const N=F[F.length-1];return typeof N=="object"&&N.constructor===Object?(F.splice(F.length-1,1),N):{}}function U(...F){return"("+(w(F).capture?"":"?:")+F.map(W=>b(W)).join("|")+")"}const k=F=>m(/\b/,F,/\w$/.test(F)?/\b/:/\B/),x=["Protocol","Type"].map(k),a=["init","self"].map(k),g=["Any","Self"],n=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],c=["false","nil","true"],R=["assignment","associativity","higherThan","left","lowerThan","none","right"],v=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],e=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],L=U(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),O=U(L,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),B=m(L,O,"*"),P=U(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),S=U(P,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),_=m(P,S,"*"),l=m(/[A-Z]/,S,"*"),y=["attached","autoclosure",m(/convention\(/,U("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",m(/objc\(/,_,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],D=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function M(F){const N={match:/\s+/,relevance:0},G=F.COMMENT("/\\*","\\*/",{contains:["self"]}),W=[F.C_LINE_COMMENT_MODE,G],J={match:[/\./,U(...x,...a)],className:{2:"keyword"}},Y={match:m(/\./,U(...n)),relevance:0},V=n.filter(tt=>typeof tt=="string").concat(["_|0"]),H=n.filter(tt=>typeof tt!="string").concat(g).map(k),z={variants:[{className:"keyword",match:U(...H,...a)}]},X={$pattern:U(/\b\w+/,/#\w+/),keyword:V.concat(v),literal:c},q=[J,Y,z],$={match:m(/\./,U(...e)),relevance:0},fe={className:"built_in",match:m(/\b/,U(...e),/(?=\()/)},Q=[$,fe],ie={match:/->/,relevance:0},Te={className:"operator",relevance:0,variants:[{match:B},{match:`\\.(\\.|${O})+`}]},me=[ie,Te],K="([0-9]_*)+",ce="([0-9a-fA-F]_*)+",de={className:"number",relevance:0,variants:[{match:`\\b(${K})(\\.(${K}))?([eE][+-]?(${K}))?\\b`},{match:`\\b0x(${ce})(\\.(${ce}))?([pP][+-]?(${K}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Z=(tt="")=>({className:"subst",variants:[{match:m(/\\/,tt,/[0\\tnr"']/)},{match:m(/\\/,tt,/u\{[0-9a-fA-F]{1,8}\}/)}]}),ae=(tt="")=>({className:"subst",match:m(/\\/,tt,/[\t ]*(?:[\r\n]|\r\n)/)}),he=(tt="")=>({className:"subst",label:"interpol",begin:m(/\\/,tt,/\(/),end:/\)/}),we=(tt="")=>({begin:m(tt,/"""/),end:m(/"""/,tt),contains:[Z(tt),ae(tt),he(tt)]}),_e=(tt="")=>({begin:m(tt,/"/),end:m(/"/,tt),contains:[Z(tt),he(tt)]}),ye={className:"string",variants:[we(),we("#"),we("##"),we("###"),_e(),_e("#"),_e("##"),_e("###")]},se=[F.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[F.BACKSLASH_ESCAPE]}],Ie={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:se},Ce=tt=>{const je=m(tt,/\//),Je=m(/\//,tt);return{begin:je,end:Je,contains:[...se,{scope:"comment",begin:`#(?!.*${Je})`,end:/$/}]}},oe={scope:"regexp",variants:[Ce("###"),Ce("##"),Ce("#"),Ie]},pe={match:m(/`/,_,/`/)},xe={className:"variable",match:/\$\d+/},Ne={className:"variable",match:`\\$${S}+`},ke=[pe,xe,Ne],De={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:D,contains:[...me,de,ye]}]}},Fe={scope:"keyword",match:m(/@/,U(...y))},Pe={scope:"meta",match:m(/@/,_)},qe=[De,Fe,Pe],Le={match:r(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:m(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,S,"+")},{className:"type",match:l,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:m(/\s+&\s+/,r(l)),relevance:0}]},Oe={begin://,keywords:X,contains:[...W,...q,...qe,ie,Le]};Le.contains.push(Oe);const Ee={match:m(_,/\s*:/),keywords:"_|0",relevance:0},Ae={begin:/\(/,end:/\)/,relevance:0,keywords:X,contains:["self",Ee,...W,oe,...q,...Q,...me,de,ye,...ke,...qe,Le]},Ve={begin://,keywords:"repeat each",contains:[...W,Le]},$e={begin:U(r(m(_,/\s*:/)),r(m(_,/\s+/,_,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:_}]},Ue={begin:/\(/,end:/\)/,keywords:X,contains:[$e,...W,...q,...me,de,ye,...qe,Le,Ae],endsParent:!0,illegal:/["']/},He={match:[/(func|macro)/,/\s+/,U(pe.match,_,B)],className:{1:"keyword",3:"title.function"},contains:[Ve,Ue,N],illegal:[/\[/,/%/]},Qe={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ve,Ue,N],illegal:/\[|%/},Ze={match:[/operator/,/\s+/,B],className:{1:"keyword",3:"title"}},et={begin:[/precedencegroup/,/\s+/,l],className:{1:"keyword",3:"title"},contains:[Le],keywords:[...R,...c],end:/}/};for(const tt of ye.variants){const je=tt.contains.find(nt=>nt.label==="interpol");je.keywords=X;const Je=[...q,...Q,...me,de,ye,...ke];je.contains=[...Je,{begin:/\(/,end:/\)/,contains:["self",...Je]}]}return{name:"Swift",keywords:X,contains:[...W,He,Qe,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:X,contains:[F.inherit(F.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Ze,et,{beginKeywords:"import",end:/$/,contains:[...W],relevance:0},oe,...q,...Q,...me,de,ye,...ke,...qe,Le,Ae]}}return swift_1=M,swift_1}var taggerscript_1,hasRequiredTaggerscript;function requireTaggerscript(){if(hasRequiredTaggerscript)return taggerscript_1;hasRequiredTaggerscript=1;function b(r){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return taggerscript_1=b,taggerscript_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1;function b(r){const m="true false yes no null",w="[\\w#;/?:@&=+$,.~*'()[\\]]+",U={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},k={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},x={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[r.BACKSLASH_ESCAPE,k]},a=r.inherit(x,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),g="[0-9]{4}(-[0-9][0-9]){0,2}",n="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",R="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",v={className:"number",begin:"\\b"+g+n+c+R+"\\b"},e={end:",",endsWithParent:!0,excludeEnd:!0,keywords:m,relevance:0},L={begin:/\{/,end:/\}/,contains:[e],illegal:"\\n",relevance:0},O={begin:"\\[",end:"\\]",contains:[e],illegal:"\\n",relevance:0},B=[U,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+w},{className:"type",begin:"!<"+w+">"},{className:"type",begin:"!"+w},{className:"type",begin:"!!"+w},{className:"meta",begin:"&"+r.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+r.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},r.HASH_COMMENT_MODE,{beginKeywords:m,keywords:{literal:m}},v,{className:"number",begin:r.C_NUMBER_RE+"\\b",relevance:0},L,O,x],P=[...B];return P.pop(),P.push(a),e.contains=P,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:B}}return yaml_1=b,yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;function b(r){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[r.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return tap_1=b,tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1;function b(r){const m=r.regex,w=/[a-zA-Z_][a-zA-Z0-9_]*/,U={className:"number",variants:[r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[r.COMMENT(";[ \\t]*#","$"),r.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:m.concat(/\$/,m.optional(/::/),w,"(::",w,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[U]}]},{className:"string",contains:[r.BACKSLASH_ESCAPE],variants:[r.inherit(r.QUOTE_STRING_MODE,{illegal:null})]},U]}}return tcl_1=b,tcl_1}var thrift_1,hasRequiredThrift;function requireThrift(){if(hasRequiredThrift)return thrift_1;hasRequiredThrift=1;function b(r){const m=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:m,literal:"true false"},contains:[r.QUOTE_STRING_MODE,r.NUMBER_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[r.inherit(r.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...m,"set","list","map"]},end:">",contains:["self"]}]}}return thrift_1=b,thrift_1}var tp_1,hasRequiredTp;function requireTp(){if(hasRequiredTp)return tp_1;hasRequiredTp=1;function b(r){const m={className:"number",begin:"[1-9][0-9]*",relevance:0},w={className:"symbol",begin:":[^\\]]+"},U={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",m,w]},k={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",m,r.QUOTE_STRING_MODE,w]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[U,k,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},r.COMMENT("//","[;$]"),r.COMMENT("!","[;$]"),r.COMMENT("--eg:","$"),r.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},r.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return tp_1=b,tp_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;function b(r){const m=r.regex,w=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],U=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let k=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];k=k.concat(k.map(O=>`end${O}`));const x={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},g={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[x,a]},n={beginKeywords:w.join(" "),keywords:{name:w},relevance:0,contains:[g]},c={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:U}]},R=(O,{relevance:B})=>({beginScope:{1:"template-tag",3:"name"},relevance:B||2,endScope:"template-tag",begin:[/\{%/,/\s*/,m.either(...O)],end:/%\}/,keywords:"in",contains:[c,n,x,a]}),v=/[a-z_]+/,e=R(k,{relevance:2}),L=R([v],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[r.COMMENT(/\{#/,/#\}/),e,L,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",c,n,x,a]}]}}return twig_1=b,twig_1}var typescript_1,hasRequiredTypescript;function requireTypescript(){if(hasRequiredTypescript)return typescript_1;hasRequiredTypescript=1;const b="[A-Za-z$_][0-9A-Za-z$_]*",r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],w=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],U=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],k=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],x=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(k,w,U);function g(c){const R=c.regex,v=(Z,{after:ae})=>{const he="",end:""},O=/<[A-Za-z0-9\\._:-]+\s*\/>/,B={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,ae)=>{const he=Z[0].length+Z.index,we=Z.input[he];if(we==="<"||we===","){ae.ignoreMatch();return}we===">"&&(v(Z,{after:he})||ae.ignoreMatch());let _e;const ye=Z.input.substring(he);if(_e=ye.match(/^\s*=/)){ae.ignoreMatch();return}if((_e=ye.match(/^\s+extends\s+/))&&_e.index===0){ae.ignoreMatch();return}}},P={$pattern:b,keyword:r,literal:m,built_in:a,"variable.language":x},S="[0-9](_?[0-9])*",_=`\\.(${S})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",y={className:"number",variants:[{begin:`(\\b(${l})((${_})|\\.)?|(${_}))[eE][+-]?(${S})\\b`},{begin:`\\b(${l})\\b((${_})\\b|\\.)?|(${_})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},D={className:"subst",begin:"\\$\\{",end:"\\}",keywords:P,contains:[]},M={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,D],subLanguage:"xml"}},F={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,D],subLanguage:"css"}},N={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,D],subLanguage:"graphql"}},G={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,D]},J={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},Y=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,M,F,N,G,{match:/\$\d+/},y];D.contains=Y.concat({begin:/\{/,end:/\}/,keywords:P,contains:["self"].concat(Y)});const V=[].concat(J,D.contains),H=V.concat([{begin:/\(/,end:/\)/,keywords:P,contains:["self"].concat(V)}]),z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:P,contains:H},X={variants:[{match:[/class/,/\s+/,e,/\s+/,/extends/,/\s+/,R.concat(e,"(",R.concat(/\./,e),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,e],scope:{1:"keyword",3:"title.class"}}]},q={relevance:0,match:R.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...w,...U]}},$={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},fe={variants:[{match:[/function/,/\s+/,e,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[z],illegal:/%/},Q={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ie(Z){return R.concat("(?!",Z.join("|"),")")}const Te={match:R.concat(/\b/,ie([...k,"super","import"]),e,R.lookahead(/\(/)),className:"title.function",relevance:0},me={begin:R.concat(/\./,R.lookahead(R.concat(e,/(?![0-9A-Za-z$_(])/))),end:e,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},K={match:[/get|set/,/\s+/,e,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},z]},ce="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",de={match:[/const|var|let/,/\s+/,e,/\s*/,/=\s*/,/(async\s*)?/,R.lookahead(ce)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:P,exports:{PARAMS_CONTAINS:H,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),$,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,M,F,N,G,J,{match:/\$\d+/},y,q,{className:"attr",begin:e+R.lookahead(":"),relevance:0},de,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[J,c.REGEXP_MODE,{className:"function",begin:ce,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:P,contains:H}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:L.begin,end:L.end},{match:O},{begin:B.begin,"on:begin":B.isTrulyOpeningTag,end:B.end}],subLanguage:"xml",contains:[{begin:B.begin,end:B.end,skip:!0,contains:["self"]}]}]},fe,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[z,c.inherit(c.TITLE_MODE,{begin:e,className:"title.function"})]},{match:/\.\.\./,relevance:0},me,{match:"\\$"+e,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[z]},Te,Q,X,K,{match:/\$[(.]/}]}}function n(c){const R=g(c),v=b,e=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],L={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[R.exports.CLASS_REFERENCE]},O={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:e},contains:[R.exports.CLASS_REFERENCE]},B={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},P=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],S={$pattern:b,keyword:r.concat(P),literal:m,built_in:a.concat(e),"variable.language":x},_={className:"meta",begin:"@"+v},l=(D,M,F)=>{const N=D.contains.findIndex(G=>G.label===M);if(N===-1)throw new Error("can not find mode to replace");D.contains.splice(N,1,F)};Object.assign(R.keywords,S),R.exports.PARAMS_CONTAINS.push(_),R.contains=R.contains.concat([_,L,O]),l(R,"shebang",c.SHEBANG()),l(R,"use_strict",B);const y=R.contains.find(D=>D.label==="func.def");return y.relevance=0,Object.assign(R,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),R}return typescript_1=n,typescript_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1;function b(r){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[r.UNDERSCORE_TITLE_MODE]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return vala_1=b,vala_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;function b(r){const m=r.regex,w={className:"string",begin:/"(""|[^/n])"C\b/},U={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},k=/\d{1,2}\/\d{1,2}\/\d{4}/,x=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,g=/\d{1,2}(:\d{1,2}){1,2}/,n={className:"literal",variants:[{begin:m.concat(/# */,m.either(x,k),/ *#/)},{begin:m.concat(/# */,g,/ *#/)},{begin:m.concat(/# */,a,/ *#/)},{begin:m.concat(/# */,m.either(x,k),/ +/,m.either(a,g),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},R={className:"label",begin:/^\w+:/},v=r.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),e=r.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[w,U,n,c,R,v,e,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[e]}]}}return vbnet_1=b,vbnet_1}var vbscript_1,hasRequiredVbscript;function requireVbscript(){if(hasRequiredVbscript)return vbscript_1;hasRequiredVbscript=1;function b(r){const m=r.regex,w=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],U=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],k={begin:m.concat(m.either(...w),"\\s*\\("),relevance:0,keywords:{built_in:w}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:U,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[k,r.inherit(r.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),r.COMMENT(/'/,/$/,{relevance:0}),r.C_NUMBER_MODE]}}return vbscript_1=b,vbscript_1}var vbscriptHtml_1,hasRequiredVbscriptHtml;function requireVbscriptHtml(){if(hasRequiredVbscriptHtml)return vbscriptHtml_1;hasRequiredVbscriptHtml=1;function b(r){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return vbscriptHtml_1=b,vbscriptHtml_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1;function b(r){const m=r.regex,w={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},U=["__FILE__","__LINE__"],k=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:w,contains:[r.C_BLOCK_COMMENT_MODE,r.C_LINE_COMMENT_MODE,r.QUOTE_STRING_MODE,{scope:"number",contains:[r.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:m.concat(/`/,m.either(...U))},{scope:"meta",begin:m.concat(/`/,m.either(...k)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:k}]}}return verilog_1=b,verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1;function b(r){const m="\\d(_|\\d)*",w="[eE][-+]?"+m,U=m+"(\\."+m+")?("+w+")?",k="\\w+",a="\\b("+(m+"#"+k+"(\\."+k+")?#("+w+")?")+"|"+U+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[r.C_BLOCK_COMMENT_MODE,r.COMMENT("--","$"),r.QUOTE_STRING_MODE,{className:"number",begin:a,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[r.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[r.BACKSLASH_ESCAPE]}]}}return vhdl_1=b,vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1;function b(r){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[r.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},r.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,r.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return vim_1=b,vim_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1;function b(r){r.regex;const m=r.COMMENT(/\(;/,/;\)/);m.contains.push("self");const w=r.COMMENT(/;;/,/$/),U=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],k={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},x={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},g={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},n={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:U},contains:[w,m,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},x,a,k,r.QUOTE_STRING_MODE,n,c,g]}}return wasm_1=b,wasm_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1;function b(r){const m=r.regex,w=/[a-zA-Z]\w*/,U=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],k=["true","false","null"],x=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],g=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],n={relevance:0,match:m.concat(/\b(?!(if|while|for|else|super)\b)/,w,/(?=\s*[({])/),className:"title.function"},c={match:m.concat(m.either(m.concat(/\b(?!(if|while|for|else|super)\b)/,w),m.either(...g)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:w}]}]}},R={variants:[{match:[/class\s+/,w,/\s+is\s+/,w]},{match:[/class\s+/,w]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:U},v={relevance:0,match:m.either(...g),className:"operator"},e={className:"string",begin:/"""/,end:/"""/},L={className:"property",begin:m.concat(/\./,m.lookahead(w)),end:w,excludeBegin:!0,relevance:0},O={relevance:0,match:m.concat(/\b_/,w),scope:"variable"},B={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},P=r.C_NUMBER_MODE,S={match:[w,/\s*/,/=/,/\s*/,/\(/,w,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},_=r.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),l={scope:"subst",begin:/%\(/,end:/\)/,contains:[P,B,n,O,v]},y={scope:"string",begin:/"/,end:/"/,contains:[l,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};l.contains.push(y);const D=[...U,...x,...k],M={relevance:0,match:m.concat("\\b(?!",D.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:U,"variable.language":x,literal:k},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:k},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},P,y,e,_,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,B,R,S,c,n,v,O,L,M]}}return wren_1=b,wren_1}var x86asm_1,hasRequiredX86asm;function requireX86asm(){if(hasRequiredX86asm)return x86asm_1;hasRequiredX86asm=1;function b(r){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+r.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[r.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},r.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return x86asm_1=b,x86asm_1}var xl_1,hasRequiredXl;function requireXl(){if(hasRequiredXl)return xl_1;hasRequiredXl=1;function b(r){const m=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],w=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],U=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],x={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:m,literal:["true","false","nil"],built_in:w.concat(U)},a={className:"string",begin:'"',end:'"',illegal:"\\n"},g={className:"string",begin:"'",end:"'",illegal:"\\n"},n={className:"string",begin:"<<",end:">>"},c={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},R={beginKeywords:"import",end:"$",keywords:x,contains:[a]},v={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[r.inherit(r.TITLE_MODE,{starts:{endsWithParent:!0,keywords:x}})]};return{name:"XL",aliases:["tao"],keywords:x,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,a,g,n,v,R,c,r.NUMBER_MODE]}}return xl_1=b,xl_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1;function b(r){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return xquery_1=b,xquery_1}var zephir_1,hasRequiredZephir;function requireZephir(){if(hasRequiredZephir)return zephir_1;hasRequiredZephir=1;function b(r){const m={className:"string",contains:[r.BACKSLASH_ESCAPE],variants:[r.inherit(r.APOS_STRING_MODE,{illegal:null}),r.inherit(r.QUOTE_STRING_MODE,{illegal:null})]},w=r.UNDERSCORE_TITLE_MODE,U={variants:[r.BINARY_NUMBER_MODE,r.C_NUMBER_MODE]},k="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:k,contains:[r.C_LINE_COMMENT_MODE,r.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[r.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[w,{className:"params",begin:/\(/,end:/\)/,keywords:k,contains:["self",r.C_BLOCK_COMMENT_MODE,m,U]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},w]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[w]},{beginKeywords:"use",end:/;/,contains:[w]},{begin:/=>/},m,U]}}return zephir_1=b,zephir_1}var hljs=core;hljs.registerLanguage("1c",require_1c());hljs.registerLanguage("abnf",requireAbnf());hljs.registerLanguage("accesslog",requireAccesslog());hljs.registerLanguage("actionscript",requireActionscript());hljs.registerLanguage("ada",requireAda());hljs.registerLanguage("angelscript",requireAngelscript());hljs.registerLanguage("apache",requireApache());hljs.registerLanguage("applescript",requireApplescript());hljs.registerLanguage("arcade",requireArcade());hljs.registerLanguage("arduino",requireArduino());hljs.registerLanguage("armasm",requireArmasm());hljs.registerLanguage("xml",requireXml());hljs.registerLanguage("asciidoc",requireAsciidoc());hljs.registerLanguage("aspectj",requireAspectj());hljs.registerLanguage("autohotkey",requireAutohotkey());hljs.registerLanguage("autoit",requireAutoit());hljs.registerLanguage("avrasm",requireAvrasm());hljs.registerLanguage("awk",requireAwk());hljs.registerLanguage("axapta",requireAxapta());hljs.registerLanguage("bash",requireBash());hljs.registerLanguage("basic",requireBasic());hljs.registerLanguage("bnf",requireBnf());hljs.registerLanguage("brainfuck",requireBrainfuck());hljs.registerLanguage("c",requireC());hljs.registerLanguage("cal",requireCal());hljs.registerLanguage("capnproto",requireCapnproto());hljs.registerLanguage("ceylon",requireCeylon());hljs.registerLanguage("clean",requireClean());hljs.registerLanguage("clojure",requireClojure());hljs.registerLanguage("clojure-repl",requireClojureRepl());hljs.registerLanguage("cmake",requireCmake());hljs.registerLanguage("coffeescript",requireCoffeescript());hljs.registerLanguage("coq",requireCoq());hljs.registerLanguage("cos",requireCos());hljs.registerLanguage("cpp",requireCpp());hljs.registerLanguage("crmsh",requireCrmsh());hljs.registerLanguage("crystal",requireCrystal());hljs.registerLanguage("csharp",requireCsharp());hljs.registerLanguage("csp",requireCsp());hljs.registerLanguage("css",requireCss());hljs.registerLanguage("d",requireD());hljs.registerLanguage("markdown",requireMarkdown());hljs.registerLanguage("dart",requireDart());hljs.registerLanguage("delphi",requireDelphi());hljs.registerLanguage("diff",requireDiff());hljs.registerLanguage("django",requireDjango());hljs.registerLanguage("dns",requireDns());hljs.registerLanguage("dockerfile",requireDockerfile());hljs.registerLanguage("dos",requireDos());hljs.registerLanguage("dsconfig",requireDsconfig());hljs.registerLanguage("dts",requireDts());hljs.registerLanguage("dust",requireDust());hljs.registerLanguage("ebnf",requireEbnf());hljs.registerLanguage("elixir",requireElixir());hljs.registerLanguage("elm",requireElm());hljs.registerLanguage("ruby",requireRuby());hljs.registerLanguage("erb",requireErb());hljs.registerLanguage("erlang-repl",requireErlangRepl());hljs.registerLanguage("erlang",requireErlang());hljs.registerLanguage("excel",requireExcel());hljs.registerLanguage("fix",requireFix());hljs.registerLanguage("flix",requireFlix());hljs.registerLanguage("fortran",requireFortran());hljs.registerLanguage("fsharp",requireFsharp());hljs.registerLanguage("gams",requireGams());hljs.registerLanguage("gauss",requireGauss());hljs.registerLanguage("gcode",requireGcode());hljs.registerLanguage("gherkin",requireGherkin());hljs.registerLanguage("glsl",requireGlsl());hljs.registerLanguage("gml",requireGml());hljs.registerLanguage("go",requireGo());hljs.registerLanguage("golo",requireGolo());hljs.registerLanguage("gradle",requireGradle());hljs.registerLanguage("graphql",requireGraphql());hljs.registerLanguage("groovy",requireGroovy());hljs.registerLanguage("haml",requireHaml());hljs.registerLanguage("handlebars",requireHandlebars());hljs.registerLanguage("haskell",requireHaskell());hljs.registerLanguage("haxe",requireHaxe());hljs.registerLanguage("hsp",requireHsp());hljs.registerLanguage("http",requireHttp());hljs.registerLanguage("hy",requireHy());hljs.registerLanguage("inform7",requireInform7());hljs.registerLanguage("ini",requireIni());hljs.registerLanguage("irpf90",requireIrpf90());hljs.registerLanguage("isbl",requireIsbl());hljs.registerLanguage("java",requireJava());hljs.registerLanguage("javascript",requireJavascript());hljs.registerLanguage("jboss-cli",requireJbossCli());hljs.registerLanguage("json",requireJson());hljs.registerLanguage("julia",requireJulia());hljs.registerLanguage("julia-repl",requireJuliaRepl());hljs.registerLanguage("kotlin",requireKotlin());hljs.registerLanguage("lasso",requireLasso());hljs.registerLanguage("latex",requireLatex());hljs.registerLanguage("ldif",requireLdif());hljs.registerLanguage("leaf",requireLeaf());hljs.registerLanguage("less",requireLess());hljs.registerLanguage("lisp",requireLisp());hljs.registerLanguage("livecodeserver",requireLivecodeserver());hljs.registerLanguage("livescript",requireLivescript());hljs.registerLanguage("llvm",requireLlvm());hljs.registerLanguage("lsl",requireLsl());hljs.registerLanguage("lua",requireLua());hljs.registerLanguage("makefile",requireMakefile());hljs.registerLanguage("mathematica",requireMathematica());hljs.registerLanguage("matlab",requireMatlab());hljs.registerLanguage("maxima",requireMaxima());hljs.registerLanguage("mel",requireMel());hljs.registerLanguage("mercury",requireMercury());hljs.registerLanguage("mipsasm",requireMipsasm());hljs.registerLanguage("mizar",requireMizar());hljs.registerLanguage("perl",requirePerl());hljs.registerLanguage("mojolicious",requireMojolicious());hljs.registerLanguage("monkey",requireMonkey());hljs.registerLanguage("moonscript",requireMoonscript());hljs.registerLanguage("n1ql",requireN1ql());hljs.registerLanguage("nestedtext",requireNestedtext());hljs.registerLanguage("nginx",requireNginx());hljs.registerLanguage("nim",requireNim());hljs.registerLanguage("nix",requireNix());hljs.registerLanguage("node-repl",requireNodeRepl());hljs.registerLanguage("nsis",requireNsis());hljs.registerLanguage("objectivec",requireObjectivec());hljs.registerLanguage("ocaml",requireOcaml());hljs.registerLanguage("openscad",requireOpenscad());hljs.registerLanguage("oxygene",requireOxygene());hljs.registerLanguage("parser3",requireParser3());hljs.registerLanguage("pf",requirePf());hljs.registerLanguage("pgsql",requirePgsql());hljs.registerLanguage("php",requirePhp());hljs.registerLanguage("php-template",requirePhpTemplate());hljs.registerLanguage("plaintext",requirePlaintext());hljs.registerLanguage("pony",requirePony());hljs.registerLanguage("powershell",requirePowershell());hljs.registerLanguage("processing",requireProcessing());hljs.registerLanguage("profile",requireProfile());hljs.registerLanguage("prolog",requireProlog());hljs.registerLanguage("properties",requireProperties());hljs.registerLanguage("protobuf",requireProtobuf());hljs.registerLanguage("puppet",requirePuppet());hljs.registerLanguage("purebasic",requirePurebasic());hljs.registerLanguage("python",requirePython());hljs.registerLanguage("python-repl",requirePythonRepl());hljs.registerLanguage("q",requireQ());hljs.registerLanguage("qml",requireQml());hljs.registerLanguage("r",requireR());hljs.registerLanguage("reasonml",requireReasonml());hljs.registerLanguage("rib",requireRib());hljs.registerLanguage("roboconf",requireRoboconf());hljs.registerLanguage("routeros",requireRouteros());hljs.registerLanguage("rsl",requireRsl());hljs.registerLanguage("ruleslanguage",requireRuleslanguage());hljs.registerLanguage("rust",requireRust());hljs.registerLanguage("sas",requireSas());hljs.registerLanguage("scala",requireScala());hljs.registerLanguage("scheme",requireScheme());hljs.registerLanguage("scilab",requireScilab());hljs.registerLanguage("scss",requireScss());hljs.registerLanguage("shell",requireShell());hljs.registerLanguage("smali",requireSmali());hljs.registerLanguage("smalltalk",requireSmalltalk());hljs.registerLanguage("sml",requireSml());hljs.registerLanguage("sqf",requireSqf());hljs.registerLanguage("sql",requireSql());hljs.registerLanguage("stan",requireStan());hljs.registerLanguage("stata",requireStata());hljs.registerLanguage("step21",requireStep21());hljs.registerLanguage("stylus",requireStylus());hljs.registerLanguage("subunit",requireSubunit());hljs.registerLanguage("swift",requireSwift());hljs.registerLanguage("taggerscript",requireTaggerscript());hljs.registerLanguage("yaml",requireYaml());hljs.registerLanguage("tap",requireTap());hljs.registerLanguage("tcl",requireTcl());hljs.registerLanguage("thrift",requireThrift());hljs.registerLanguage("tp",requireTp());hljs.registerLanguage("twig",requireTwig());hljs.registerLanguage("typescript",requireTypescript());hljs.registerLanguage("vala",requireVala());hljs.registerLanguage("vbnet",requireVbnet());hljs.registerLanguage("vbscript",requireVbscript());hljs.registerLanguage("vbscript-html",requireVbscriptHtml());hljs.registerLanguage("verilog",requireVerilog());hljs.registerLanguage("vhdl",requireVhdl());hljs.registerLanguage("vim",requireVim());hljs.registerLanguage("wasm",requireWasm());hljs.registerLanguage("wren",requireWren());hljs.registerLanguage("x86asm",requireX86asm());hljs.registerLanguage("xl",requireXl());hljs.registerLanguage("xquery",requireXquery());hljs.registerLanguage("zephir",requireZephir());hljs.HighlightJS=hljs;hljs.default=hljs;var lib$2=hljs;const HighlightJS=getDefaultExportFromCjs(lib$2);var utils$1={};const Aacute="Á",aacute="á",Abreve="Ă",abreve="ă",ac="∾",acd="∿",acE="∾̳",Acirc="Â",acirc="â",acute="´",Acy="А",acy="а",AElig="Æ",aelig="æ",af="⁡",Afr="𝔄",afr="𝔞",Agrave="À",agrave="à",alefsym="ℵ",aleph="ℵ",Alpha="Α",alpha="α",Amacr="Ā",amacr="ā",amalg="⨿",amp="&",AMP="&",andand="⩕",And="⩓",and="∧",andd="⩜",andslope="⩘",andv="⩚",ang="∠",ange="⦤",angle="∠",angmsdaa="⦨",angmsdab="⦩",angmsdac="⦪",angmsdad="⦫",angmsdae="⦬",angmsdaf="⦭",angmsdag="⦮",angmsdah="⦯",angmsd="∡",angrt="∟",angrtvb="⊾",angrtvbd="⦝",angsph="∢",angst="Å",angzarr="⍼",Aogon="Ą",aogon="ą",Aopf="𝔸",aopf="𝕒",apacir="⩯",ap="≈",apE="⩰",ape="≊",apid="≋",apos="'",ApplyFunction="⁡",approx="≈",approxeq="≊",Aring="Å",aring="å",Ascr="𝒜",ascr="𝒶",Assign="≔",ast="*",asymp="≈",asympeq="≍",Atilde="Ã",atilde="ã",Auml="Ä",auml="ä",awconint="∳",awint="⨑",backcong="≌",backepsilon="϶",backprime="‵",backsim="∽",backsimeq="⋍",Backslash="∖",Barv="⫧",barvee="⊽",barwed="⌅",Barwed="⌆",barwedge="⌅",bbrk="⎵",bbrktbrk="⎶",bcong="≌",Bcy="Б",bcy="б",bdquo="„",becaus="∵",because="∵",Because="∵",bemptyv="⦰",bepsi="϶",bernou="ℬ",Bernoullis="ℬ",Beta="Β",beta="β",beth="ℶ",between="≬",Bfr="𝔅",bfr="𝔟",bigcap="⋂",bigcirc="◯",bigcup="⋃",bigodot="⨀",bigoplus="⨁",bigotimes="⨂",bigsqcup="⨆",bigstar="★",bigtriangledown="▽",bigtriangleup="△",biguplus="⨄",bigvee="⋁",bigwedge="⋀",bkarow="⤍",blacklozenge="⧫",blacksquare="▪",blacktriangle="▴",blacktriangledown="▾",blacktriangleleft="◂",blacktriangleright="▸",blank="␣",blk12="▒",blk14="░",blk34="▓",block$1="█",bne="=⃥",bnequiv="≡⃥",bNot="⫭",bnot="⌐",Bopf="𝔹",bopf="𝕓",bot="⊥",bottom="⊥",bowtie="⋈",boxbox="⧉",boxdl="┐",boxdL="╕",boxDl="╖",boxDL="╗",boxdr="┌",boxdR="╒",boxDr="╓",boxDR="╔",boxh="─",boxH="═",boxhd="┬",boxHd="╤",boxhD="╥",boxHD="╦",boxhu="┴",boxHu="╧",boxhU="╨",boxHU="╩",boxminus="⊟",boxplus="⊞",boxtimes="⊠",boxul="┘",boxuL="╛",boxUl="╜",boxUL="╝",boxur="└",boxuR="╘",boxUr="╙",boxUR="╚",boxv="│",boxV="║",boxvh="┼",boxvH="╪",boxVh="╫",boxVH="╬",boxvl="┤",boxvL="╡",boxVl="╢",boxVL="╣",boxvr="├",boxvR="╞",boxVr="╟",boxVR="╠",bprime="‵",breve="˘",Breve="˘",brvbar="¦",bscr="𝒷",Bscr="ℬ",bsemi="⁏",bsim="∽",bsime="⋍",bsolb="⧅",bsol="\\",bsolhsub="⟈",bull="•",bullet="•",bump="≎",bumpE="⪮",bumpe="≏",Bumpeq="≎",bumpeq="≏",Cacute="Ć",cacute="ć",capand="⩄",capbrcup="⩉",capcap="⩋",cap="∩",Cap="⋒",capcup="⩇",capdot="⩀",CapitalDifferentialD="ⅅ",caps="∩︀",caret="⁁",caron="ˇ",Cayleys="ℭ",ccaps="⩍",Ccaron="Č",ccaron="č",Ccedil="Ç",ccedil="ç",Ccirc="Ĉ",ccirc="ĉ",Cconint="∰",ccups="⩌",ccupssm="⩐",Cdot="Ċ",cdot="ċ",cedil="¸",Cedilla="¸",cemptyv="⦲",cent="¢",centerdot="·",CenterDot="·",cfr="𝔠",Cfr="ℭ",CHcy="Ч",chcy="ч",check$1="✓",checkmark="✓",Chi="Χ",chi="χ",circ="ˆ",circeq="≗",circlearrowleft="↺",circlearrowright="↻",circledast="⊛",circledcirc="⊚",circleddash="⊝",CircleDot="⊙",circledR="®",circledS="Ⓢ",CircleMinus="⊖",CirclePlus="⊕",CircleTimes="⊗",cir="○",cirE="⧃",cire="≗",cirfnint="⨐",cirmid="⫯",cirscir="⧂",ClockwiseContourIntegral="∲",CloseCurlyDoubleQuote="”",CloseCurlyQuote="’",clubs="♣",clubsuit="♣",colon=":",Colon="∷",Colone="⩴",colone="≔",coloneq="≔",comma=",",commat="@",comp="∁",compfn="∘",complement="∁",complexes="ℂ",cong="≅",congdot="⩭",Congruent="≡",conint="∮",Conint="∯",ContourIntegral="∮",copf="𝕔",Copf="ℂ",coprod="∐",Coproduct="∐",copy="©",COPY="©",copysr="℗",CounterClockwiseContourIntegral="∳",crarr="↵",cross="✗",Cross="⨯",Cscr="𝒞",cscr="𝒸",csub="⫏",csube="⫑",csup="⫐",csupe="⫒",ctdot="⋯",cudarrl="⤸",cudarrr="⤵",cuepr="⋞",cuesc="⋟",cularr="↶",cularrp="⤽",cupbrcap="⩈",cupcap="⩆",CupCap="≍",cup="∪",Cup="⋓",cupcup="⩊",cupdot="⊍",cupor="⩅",cups="∪︀",curarr="↷",curarrm="⤼",curlyeqprec="⋞",curlyeqsucc="⋟",curlyvee="⋎",curlywedge="⋏",curren="¤",curvearrowleft="↶",curvearrowright="↷",cuvee="⋎",cuwed="⋏",cwconint="∲",cwint="∱",cylcty="⌭",dagger="†",Dagger="‡",daleth="ℸ",darr="↓",Darr="↡",dArr="⇓",dash="‐",Dashv="⫤",dashv="⊣",dbkarow="⤏",dblac="˝",Dcaron="Ď",dcaron="ď",Dcy="Д",dcy="д",ddagger="‡",ddarr="⇊",DD="ⅅ",dd="ⅆ",DDotrahd="⤑",ddotseq="⩷",deg="°",Del="∇",Delta="Δ",delta="δ",demptyv="⦱",dfisht="⥿",Dfr="𝔇",dfr="𝔡",dHar="⥥",dharl="⇃",dharr="⇂",DiacriticalAcute="´",DiacriticalDot="˙",DiacriticalDoubleAcute="˝",DiacriticalGrave="`",DiacriticalTilde="˜",diam="⋄",diamond="⋄",Diamond="⋄",diamondsuit="♦",diams="♦",die="¨",DifferentialD="ⅆ",digamma="ϝ",disin="⋲",div="÷",divide="÷",divideontimes="⋇",divonx="⋇",DJcy="Ђ",djcy="ђ",dlcorn="⌞",dlcrop="⌍",dollar="$",Dopf="𝔻",dopf="𝕕",Dot="¨",dot="˙",DotDot="⃜",doteq="≐",doteqdot="≑",DotEqual="≐",dotminus="∸",dotplus="∔",dotsquare="⊡",doublebarwedge="⌆",DoubleContourIntegral="∯",DoubleDot="¨",DoubleDownArrow="⇓",DoubleLeftArrow="⇐",DoubleLeftRightArrow="⇔",DoubleLeftTee="⫤",DoubleLongLeftArrow="⟸",DoubleLongLeftRightArrow="⟺",DoubleLongRightArrow="⟹",DoubleRightArrow="⇒",DoubleRightTee="⊨",DoubleUpArrow="⇑",DoubleUpDownArrow="⇕",DoubleVerticalBar="∥",DownArrowBar="⤓",downarrow="↓",DownArrow="↓",Downarrow="⇓",DownArrowUpArrow="⇵",DownBreve="̑",downdownarrows="⇊",downharpoonleft="⇃",downharpoonright="⇂",DownLeftRightVector="⥐",DownLeftTeeVector="⥞",DownLeftVectorBar="⥖",DownLeftVector="↽",DownRightTeeVector="⥟",DownRightVectorBar="⥗",DownRightVector="⇁",DownTeeArrow="↧",DownTee="⊤",drbkarow="⤐",drcorn="⌟",drcrop="⌌",Dscr="𝒟",dscr="𝒹",DScy="Ѕ",dscy="ѕ",dsol="⧶",Dstrok="Đ",dstrok="đ",dtdot="⋱",dtri="▿",dtrif="▾",duarr="⇵",duhar="⥯",dwangle="⦦",DZcy="Џ",dzcy="џ",dzigrarr="⟿",Eacute="É",eacute="é",easter="⩮",Ecaron="Ě",ecaron="ě",Ecirc="Ê",ecirc="ê",ecir="≖",ecolon="≕",Ecy="Э",ecy="э",eDDot="⩷",Edot="Ė",edot="ė",eDot="≑",ee="ⅇ",efDot="≒",Efr="𝔈",efr="𝔢",eg="⪚",Egrave="È",egrave="è",egs="⪖",egsdot="⪘",el="⪙",Element="∈",elinters="⏧",ell="ℓ",els="⪕",elsdot="⪗",Emacr="Ē",emacr="ē",empty="∅",emptyset="∅",EmptySmallSquare="◻",emptyv="∅",EmptyVerySmallSquare="▫",emsp13=" ",emsp14=" ",emsp=" ",ENG="Ŋ",eng="ŋ",ensp=" ",Eogon="Ę",eogon="ę",Eopf="𝔼",eopf="𝕖",epar="⋕",eparsl="⧣",eplus="⩱",epsi="ε",Epsilon="Ε",epsilon="ε",epsiv="ϵ",eqcirc="≖",eqcolon="≕",eqsim="≂",eqslantgtr="⪖",eqslantless="⪕",Equal="⩵",equals="=",EqualTilde="≂",equest="≟",Equilibrium="⇌",equiv="≡",equivDD="⩸",eqvparsl="⧥",erarr="⥱",erDot="≓",escr="ℯ",Escr="ℰ",esdot="≐",Esim="⩳",esim="≂",Eta="Η",eta="η",ETH="Ð",eth="ð",Euml="Ë",euml="ë",euro="€",excl="!",exist="∃",Exists="∃",expectation="ℰ",exponentiale="ⅇ",ExponentialE="ⅇ",fallingdotseq="≒",Fcy="Ф",fcy="ф",female="♀",ffilig="ffi",fflig="ff",ffllig="ffl",Ffr="𝔉",ffr="𝔣",filig="fi",FilledSmallSquare="◼",FilledVerySmallSquare="▪",fjlig="fj",flat="♭",fllig="fl",fltns="▱",fnof="ƒ",Fopf="𝔽",fopf="𝕗",forall="∀",ForAll="∀",fork="⋔",forkv="⫙",Fouriertrf="ℱ",fpartint="⨍",frac12="½",frac13="⅓",frac14="¼",frac15="⅕",frac16="⅙",frac18="⅛",frac23="⅔",frac25="⅖",frac34="¾",frac35="⅗",frac38="⅜",frac45="⅘",frac56="⅚",frac58="⅝",frac78="⅞",frasl="⁄",frown="⌢",fscr="𝒻",Fscr="ℱ",gacute="ǵ",Gamma="Γ",gamma="γ",Gammad="Ϝ",gammad="ϝ",gap="⪆",Gbreve="Ğ",gbreve="ğ",Gcedil="Ģ",Gcirc="Ĝ",gcirc="ĝ",Gcy="Г",gcy="г",Gdot="Ġ",gdot="ġ",ge="≥",gE="≧",gEl="⪌",gel="⋛",geq="≥",geqq="≧",geqslant="⩾",gescc="⪩",ges="⩾",gesdot="⪀",gesdoto="⪂",gesdotol="⪄",gesl="⋛︀",gesles="⪔",Gfr="𝔊",gfr="𝔤",gg="≫",Gg="⋙",ggg="⋙",gimel="ℷ",GJcy="Ѓ",gjcy="ѓ",gla="⪥",gl="≷",glE="⪒",glj="⪤",gnap="⪊",gnapprox="⪊",gne="⪈",gnE="≩",gneq="⪈",gneqq="≩",gnsim="⋧",Gopf="𝔾",gopf="𝕘",grave="`",GreaterEqual="≥",GreaterEqualLess="⋛",GreaterFullEqual="≧",GreaterGreater="⪢",GreaterLess="≷",GreaterSlantEqual="⩾",GreaterTilde="≳",Gscr="𝒢",gscr="ℊ",gsim="≳",gsime="⪎",gsiml="⪐",gtcc="⪧",gtcir="⩺",gt=">",GT$1=">",Gt="≫",gtdot="⋗",gtlPar="⦕",gtquest="⩼",gtrapprox="⪆",gtrarr="⥸",gtrdot="⋗",gtreqless="⋛",gtreqqless="⪌",gtrless="≷",gtrsim="≳",gvertneqq="≩︀",gvnE="≩︀",Hacek="ˇ",hairsp=" ",half="½",hamilt="ℋ",HARDcy="Ъ",hardcy="ъ",harrcir="⥈",harr="↔",hArr="⇔",harrw="↭",Hat="^",hbar="ℏ",Hcirc="Ĥ",hcirc="ĥ",hearts="♥",heartsuit="♥",hellip="…",hercon="⊹",hfr="𝔥",Hfr="ℌ",HilbertSpace="ℋ",hksearow="⤥",hkswarow="⤦",hoarr="⇿",homtht="∻",hookleftarrow="↩",hookrightarrow="↪",hopf="𝕙",Hopf="ℍ",horbar="―",HorizontalLine="─",hscr="𝒽",Hscr="ℋ",hslash="ℏ",Hstrok="Ħ",hstrok="ħ",HumpDownHump="≎",HumpEqual="≏",hybull="⁃",hyphen="‐",Iacute="Í",iacute="í",ic="⁣",Icirc="Î",icirc="î",Icy="И",icy="и",Idot="İ",IEcy="Е",iecy="е",iexcl="¡",iff="⇔",ifr="𝔦",Ifr="ℑ",Igrave="Ì",igrave="ì",ii="ⅈ",iiiint="⨌",iiint="∭",iinfin="⧜",iiota="℩",IJlig="IJ",ijlig="ij",Imacr="Ī",imacr="ī",image$1="ℑ",ImaginaryI="ⅈ",imagline="ℐ",imagpart="ℑ",imath="ı",Im="ℑ",imof="⊷",imped="Ƶ",Implies="⇒",incare="℅",infin="∞",infintie="⧝",inodot="ı",intcal="⊺",int="∫",Int="∬",integers="ℤ",Integral="∫",intercal="⊺",Intersection="⋂",intlarhk="⨗",intprod="⨼",InvisibleComma="⁣",InvisibleTimes="⁢",IOcy="Ё",iocy="ё",Iogon="Į",iogon="į",Iopf="𝕀",iopf="𝕚",Iota="Ι",iota="ι",iprod="⨼",iquest="¿",iscr="𝒾",Iscr="ℐ",isin="∈",isindot="⋵",isinE="⋹",isins="⋴",isinsv="⋳",isinv="∈",it="⁢",Itilde="Ĩ",itilde="ĩ",Iukcy="І",iukcy="і",Iuml="Ï",iuml="ï",Jcirc="Ĵ",jcirc="ĵ",Jcy="Й",jcy="й",Jfr="𝔍",jfr="𝔧",jmath="ȷ",Jopf="𝕁",jopf="𝕛",Jscr="𝒥",jscr="𝒿",Jsercy="Ј",jsercy="ј",Jukcy="Є",jukcy="є",Kappa="Κ",kappa="κ",kappav="ϰ",Kcedil="Ķ",kcedil="ķ",Kcy="К",kcy="к",Kfr="𝔎",kfr="𝔨",kgreen="ĸ",KHcy="Х",khcy="х",KJcy="Ќ",kjcy="ќ",Kopf="𝕂",kopf="𝕜",Kscr="𝒦",kscr="𝓀",lAarr="⇚",Lacute="Ĺ",lacute="ĺ",laemptyv="⦴",lagran="ℒ",Lambda="Λ",lambda="λ",lang="⟨",Lang="⟪",langd="⦑",langle="⟨",lap="⪅",Laplacetrf="ℒ",laquo="«",larrb="⇤",larrbfs="⤟",larr="←",Larr="↞",lArr="⇐",larrfs="⤝",larrhk="↩",larrlp="↫",larrpl="⤹",larrsim="⥳",larrtl="↢",latail="⤙",lAtail="⤛",lat="⪫",late="⪭",lates="⪭︀",lbarr="⤌",lBarr="⤎",lbbrk="❲",lbrace="{",lbrack="[",lbrke="⦋",lbrksld="⦏",lbrkslu="⦍",Lcaron="Ľ",lcaron="ľ",Lcedil="Ļ",lcedil="ļ",lceil="⌈",lcub="{",Lcy="Л",lcy="л",ldca="⤶",ldquo="“",ldquor="„",ldrdhar="⥧",ldrushar="⥋",ldsh="↲",le="≤",lE="≦",LeftAngleBracket="⟨",LeftArrowBar="⇤",leftarrow="←",LeftArrow="←",Leftarrow="⇐",LeftArrowRightArrow="⇆",leftarrowtail="↢",LeftCeiling="⌈",LeftDoubleBracket="⟦",LeftDownTeeVector="⥡",LeftDownVectorBar="⥙",LeftDownVector="⇃",LeftFloor="⌊",leftharpoondown="↽",leftharpoonup="↼",leftleftarrows="⇇",leftrightarrow="↔",LeftRightArrow="↔",Leftrightarrow="⇔",leftrightarrows="⇆",leftrightharpoons="⇋",leftrightsquigarrow="↭",LeftRightVector="⥎",LeftTeeArrow="↤",LeftTee="⊣",LeftTeeVector="⥚",leftthreetimes="⋋",LeftTriangleBar="⧏",LeftTriangle="⊲",LeftTriangleEqual="⊴",LeftUpDownVector="⥑",LeftUpTeeVector="⥠",LeftUpVectorBar="⥘",LeftUpVector="↿",LeftVectorBar="⥒",LeftVector="↼",lEg="⪋",leg="⋚",leq="≤",leqq="≦",leqslant="⩽",lescc="⪨",les="⩽",lesdot="⩿",lesdoto="⪁",lesdotor="⪃",lesg="⋚︀",lesges="⪓",lessapprox="⪅",lessdot="⋖",lesseqgtr="⋚",lesseqqgtr="⪋",LessEqualGreater="⋚",LessFullEqual="≦",LessGreater="≶",lessgtr="≶",LessLess="⪡",lesssim="≲",LessSlantEqual="⩽",LessTilde="≲",lfisht="⥼",lfloor="⌊",Lfr="𝔏",lfr="𝔩",lg="≶",lgE="⪑",lHar="⥢",lhard="↽",lharu="↼",lharul="⥪",lhblk="▄",LJcy="Љ",ljcy="љ",llarr="⇇",ll="≪",Ll="⋘",llcorner="⌞",Lleftarrow="⇚",llhard="⥫",lltri="◺",Lmidot="Ŀ",lmidot="ŀ",lmoustache="⎰",lmoust="⎰",lnap="⪉",lnapprox="⪉",lne="⪇",lnE="≨",lneq="⪇",lneqq="≨",lnsim="⋦",loang="⟬",loarr="⇽",lobrk="⟦",longleftarrow="⟵",LongLeftArrow="⟵",Longleftarrow="⟸",longleftrightarrow="⟷",LongLeftRightArrow="⟷",Longleftrightarrow="⟺",longmapsto="⟼",longrightarrow="⟶",LongRightArrow="⟶",Longrightarrow="⟹",looparrowleft="↫",looparrowright="↬",lopar="⦅",Lopf="𝕃",lopf="𝕝",loplus="⨭",lotimes="⨴",lowast="∗",lowbar="_",LowerLeftArrow="↙",LowerRightArrow="↘",loz="◊",lozenge="◊",lozf="⧫",lpar="(",lparlt="⦓",lrarr="⇆",lrcorner="⌟",lrhar="⇋",lrhard="⥭",lrm="‎",lrtri="⊿",lsaquo="‹",lscr="𝓁",Lscr="ℒ",lsh="↰",Lsh="↰",lsim="≲",lsime="⪍",lsimg="⪏",lsqb="[",lsquo="‘",lsquor="‚",Lstrok="Ł",lstrok="ł",ltcc="⪦",ltcir="⩹",lt="<",LT$1="<",Lt="≪",ltdot="⋖",lthree="⋋",ltimes="⋉",ltlarr="⥶",ltquest="⩻",ltri="◃",ltrie="⊴",ltrif="◂",ltrPar="⦖",lurdshar="⥊",luruhar="⥦",lvertneqq="≨︀",lvnE="≨︀",macr="¯",male="♂",malt="✠",maltese="✠",map$1="↦",mapsto="↦",mapstodown="↧",mapstoleft="↤",mapstoup="↥",marker="▮",mcomma="⨩",Mcy="М",mcy="м",mdash="—",mDDot="∺",measuredangle="∡",MediumSpace=" ",Mellintrf="ℳ",Mfr="𝔐",mfr="𝔪",mho="℧",micro="µ",midast="*",midcir="⫰",mid="∣",middot="·",minusb="⊟",minus="−",minusd="∸",minusdu="⨪",MinusPlus="∓",mlcp="⫛",mldr="…",mnplus="∓",models="⊧",Mopf="𝕄",mopf="𝕞",mp="∓",mscr="𝓂",Mscr="ℳ",mstpos="∾",Mu="Μ",mu="μ",multimap="⊸",mumap="⊸",nabla="∇",Nacute="Ń",nacute="ń",nang="∠⃒",nap="≉",napE="⩰̸",napid="≋̸",napos="ʼn",napprox="≉",natural="♮",naturals="ℕ",natur="♮",nbsp=" ",nbump="≎̸",nbumpe="≏̸",ncap="⩃",Ncaron="Ň",ncaron="ň",Ncedil="Ņ",ncedil="ņ",ncong="≇",ncongdot="⩭̸",ncup="⩂",Ncy="Н",ncy="н",ndash="–",nearhk="⤤",nearr="↗",neArr="⇗",nearrow="↗",ne="≠",nedot="≐̸",NegativeMediumSpace="​",NegativeThickSpace="​",NegativeThinSpace="​",NegativeVeryThinSpace="​",nequiv="≢",nesear="⤨",nesim="≂̸",NestedGreaterGreater="≫",NestedLessLess="≪",NewLine=` +`,nexist="∄",nexists="∄",Nfr="𝔑",nfr="𝔫",ngE="≧̸",nge="≱",ngeq="≱",ngeqq="≧̸",ngeqslant="⩾̸",nges="⩾̸",nGg="⋙̸",ngsim="≵",nGt="≫⃒",ngt="≯",ngtr="≯",nGtv="≫̸",nharr="↮",nhArr="⇎",nhpar="⫲",ni="∋",nis="⋼",nisd="⋺",niv="∋",NJcy="Њ",njcy="њ",nlarr="↚",nlArr="⇍",nldr="‥",nlE="≦̸",nle="≰",nleftarrow="↚",nLeftarrow="⇍",nleftrightarrow="↮",nLeftrightarrow="⇎",nleq="≰",nleqq="≦̸",nleqslant="⩽̸",nles="⩽̸",nless="≮",nLl="⋘̸",nlsim="≴",nLt="≪⃒",nlt="≮",nltri="⋪",nltrie="⋬",nLtv="≪̸",nmid="∤",NoBreak="⁠",NonBreakingSpace=" ",nopf="𝕟",Nopf="ℕ",Not="⫬",not="¬",NotCongruent="≢",NotCupCap="≭",NotDoubleVerticalBar="∦",NotElement="∉",NotEqual="≠",NotEqualTilde="≂̸",NotExists="∄",NotGreater="≯",NotGreaterEqual="≱",NotGreaterFullEqual="≧̸",NotGreaterGreater="≫̸",NotGreaterLess="≹",NotGreaterSlantEqual="⩾̸",NotGreaterTilde="≵",NotHumpDownHump="≎̸",NotHumpEqual="≏̸",notin="∉",notindot="⋵̸",notinE="⋹̸",notinva="∉",notinvb="⋷",notinvc="⋶",NotLeftTriangleBar="⧏̸",NotLeftTriangle="⋪",NotLeftTriangleEqual="⋬",NotLess="≮",NotLessEqual="≰",NotLessGreater="≸",NotLessLess="≪̸",NotLessSlantEqual="⩽̸",NotLessTilde="≴",NotNestedGreaterGreater="⪢̸",NotNestedLessLess="⪡̸",notni="∌",notniva="∌",notnivb="⋾",notnivc="⋽",NotPrecedes="⊀",NotPrecedesEqual="⪯̸",NotPrecedesSlantEqual="⋠",NotReverseElement="∌",NotRightTriangleBar="⧐̸",NotRightTriangle="⋫",NotRightTriangleEqual="⋭",NotSquareSubset="⊏̸",NotSquareSubsetEqual="⋢",NotSquareSuperset="⊐̸",NotSquareSupersetEqual="⋣",NotSubset="⊂⃒",NotSubsetEqual="⊈",NotSucceeds="⊁",NotSucceedsEqual="⪰̸",NotSucceedsSlantEqual="⋡",NotSucceedsTilde="≿̸",NotSuperset="⊃⃒",NotSupersetEqual="⊉",NotTilde="≁",NotTildeEqual="≄",NotTildeFullEqual="≇",NotTildeTilde="≉",NotVerticalBar="∤",nparallel="∦",npar="∦",nparsl="⫽⃥",npart="∂̸",npolint="⨔",npr="⊀",nprcue="⋠",nprec="⊀",npreceq="⪯̸",npre="⪯̸",nrarrc="⤳̸",nrarr="↛",nrArr="⇏",nrarrw="↝̸",nrightarrow="↛",nRightarrow="⇏",nrtri="⋫",nrtrie="⋭",nsc="⊁",nsccue="⋡",nsce="⪰̸",Nscr="𝒩",nscr="𝓃",nshortmid="∤",nshortparallel="∦",nsim="≁",nsime="≄",nsimeq="≄",nsmid="∤",nspar="∦",nsqsube="⋢",nsqsupe="⋣",nsub="⊄",nsubE="⫅̸",nsube="⊈",nsubset="⊂⃒",nsubseteq="⊈",nsubseteqq="⫅̸",nsucc="⊁",nsucceq="⪰̸",nsup="⊅",nsupE="⫆̸",nsupe="⊉",nsupset="⊃⃒",nsupseteq="⊉",nsupseteqq="⫆̸",ntgl="≹",Ntilde="Ñ",ntilde="ñ",ntlg="≸",ntriangleleft="⋪",ntrianglelefteq="⋬",ntriangleright="⋫",ntrianglerighteq="⋭",Nu="Ν",nu="ν",num="#",numero="№",numsp=" ",nvap="≍⃒",nvdash="⊬",nvDash="⊭",nVdash="⊮",nVDash="⊯",nvge="≥⃒",nvgt=">⃒",nvHarr="⤄",nvinfin="⧞",nvlArr="⤂",nvle="≤⃒",nvlt="<⃒",nvltrie="⊴⃒",nvrArr="⤃",nvrtrie="⊵⃒",nvsim="∼⃒",nwarhk="⤣",nwarr="↖",nwArr="⇖",nwarrow="↖",nwnear="⤧",Oacute="Ó",oacute="ó",oast="⊛",Ocirc="Ô",ocirc="ô",ocir="⊚",Ocy="О",ocy="о",odash="⊝",Odblac="Ő",odblac="ő",odiv="⨸",odot="⊙",odsold="⦼",OElig="Œ",oelig="œ",ofcir="⦿",Ofr="𝔒",ofr="𝔬",ogon="˛",Ograve="Ò",ograve="ò",ogt="⧁",ohbar="⦵",ohm="Ω",oint="∮",olarr="↺",olcir="⦾",olcross="⦻",oline="‾",olt="⧀",Omacr="Ō",omacr="ō",Omega="Ω",omega="ω",Omicron="Ο",omicron="ο",omid="⦶",ominus="⊖",Oopf="𝕆",oopf="𝕠",opar="⦷",OpenCurlyDoubleQuote="“",OpenCurlyQuote="‘",operp="⦹",oplus="⊕",orarr="↻",Or="⩔",or="∨",ord="⩝",order="ℴ",orderof="ℴ",ordf="ª",ordm="º",origof="⊶",oror="⩖",orslope="⩗",orv="⩛",oS="Ⓢ",Oscr="𝒪",oscr="ℴ",Oslash="Ø",oslash="ø",osol="⊘",Otilde="Õ",otilde="õ",otimesas="⨶",Otimes="⨷",otimes="⊗",Ouml="Ö",ouml="ö",ovbar="⌽",OverBar="‾",OverBrace="⏞",OverBracket="⎴",OverParenthesis="⏜",para="¶",parallel="∥",par="∥",parsim="⫳",parsl="⫽",part="∂",PartialD="∂",Pcy="П",pcy="п",percnt="%",period=".",permil="‰",perp="⊥",pertenk="‱",Pfr="𝔓",pfr="𝔭",Phi="Φ",phi="φ",phiv="ϕ",phmmat="ℳ",phone="☎",Pi="Π",pi="π",pitchfork="⋔",piv="ϖ",planck="ℏ",planckh="ℎ",plankv="ℏ",plusacir="⨣",plusb="⊞",pluscir="⨢",plus="+",plusdo="∔",plusdu="⨥",pluse="⩲",PlusMinus="±",plusmn="±",plussim="⨦",plustwo="⨧",pm="±",Poincareplane="ℌ",pointint="⨕",popf="𝕡",Popf="ℙ",pound="£",prap="⪷",Pr="⪻",pr="≺",prcue="≼",precapprox="⪷",prec="≺",preccurlyeq="≼",Precedes="≺",PrecedesEqual="⪯",PrecedesSlantEqual="≼",PrecedesTilde="≾",preceq="⪯",precnapprox="⪹",precneqq="⪵",precnsim="⋨",pre="⪯",prE="⪳",precsim="≾",prime="′",Prime="″",primes="ℙ",prnap="⪹",prnE="⪵",prnsim="⋨",prod="∏",Product="∏",profalar="⌮",profline="⌒",profsurf="⌓",prop="∝",Proportional="∝",Proportion="∷",propto="∝",prsim="≾",prurel="⊰",Pscr="𝒫",pscr="𝓅",Psi="Ψ",psi="ψ",puncsp=" ",Qfr="𝔔",qfr="𝔮",qint="⨌",qopf="𝕢",Qopf="ℚ",qprime="⁗",Qscr="𝒬",qscr="𝓆",quaternions="ℍ",quatint="⨖",quest="?",questeq="≟",quot='"',QUOT='"',rAarr="⇛",race="∽̱",Racute="Ŕ",racute="ŕ",radic="√",raemptyv="⦳",rang="⟩",Rang="⟫",rangd="⦒",range="⦥",rangle="⟩",raquo="»",rarrap="⥵",rarrb="⇥",rarrbfs="⤠",rarrc="⤳",rarr="→",Rarr="↠",rArr="⇒",rarrfs="⤞",rarrhk="↪",rarrlp="↬",rarrpl="⥅",rarrsim="⥴",Rarrtl="⤖",rarrtl="↣",rarrw="↝",ratail="⤚",rAtail="⤜",ratio="∶",rationals="ℚ",rbarr="⤍",rBarr="⤏",RBarr="⤐",rbbrk="❳",rbrace="}",rbrack="]",rbrke="⦌",rbrksld="⦎",rbrkslu="⦐",Rcaron="Ř",rcaron="ř",Rcedil="Ŗ",rcedil="ŗ",rceil="⌉",rcub="}",Rcy="Р",rcy="р",rdca="⤷",rdldhar="⥩",rdquo="”",rdquor="”",rdsh="↳",real="ℜ",realine="ℛ",realpart="ℜ",reals="ℝ",Re="ℜ",rect="▭",reg="®",REG="®",ReverseElement="∋",ReverseEquilibrium="⇋",ReverseUpEquilibrium="⥯",rfisht="⥽",rfloor="⌋",rfr="𝔯",Rfr="ℜ",rHar="⥤",rhard="⇁",rharu="⇀",rharul="⥬",Rho="Ρ",rho="ρ",rhov="ϱ",RightAngleBracket="⟩",RightArrowBar="⇥",rightarrow="→",RightArrow="→",Rightarrow="⇒",RightArrowLeftArrow="⇄",rightarrowtail="↣",RightCeiling="⌉",RightDoubleBracket="⟧",RightDownTeeVector="⥝",RightDownVectorBar="⥕",RightDownVector="⇂",RightFloor="⌋",rightharpoondown="⇁",rightharpoonup="⇀",rightleftarrows="⇄",rightleftharpoons="⇌",rightrightarrows="⇉",rightsquigarrow="↝",RightTeeArrow="↦",RightTee="⊢",RightTeeVector="⥛",rightthreetimes="⋌",RightTriangleBar="⧐",RightTriangle="⊳",RightTriangleEqual="⊵",RightUpDownVector="⥏",RightUpTeeVector="⥜",RightUpVectorBar="⥔",RightUpVector="↾",RightVectorBar="⥓",RightVector="⇀",ring="˚",risingdotseq="≓",rlarr="⇄",rlhar="⇌",rlm="‏",rmoustache="⎱",rmoust="⎱",rnmid="⫮",roang="⟭",roarr="⇾",robrk="⟧",ropar="⦆",ropf="𝕣",Ropf="ℝ",roplus="⨮",rotimes="⨵",RoundImplies="⥰",rpar=")",rpargt="⦔",rppolint="⨒",rrarr="⇉",Rrightarrow="⇛",rsaquo="›",rscr="𝓇",Rscr="ℛ",rsh="↱",Rsh="↱",rsqb="]",rsquo="’",rsquor="’",rthree="⋌",rtimes="⋊",rtri="▹",rtrie="⊵",rtrif="▸",rtriltri="⧎",RuleDelayed="⧴",ruluhar="⥨",rx="℞",Sacute="Ś",sacute="ś",sbquo="‚",scap="⪸",Scaron="Š",scaron="š",Sc="⪼",sc="≻",sccue="≽",sce="⪰",scE="⪴",Scedil="Ş",scedil="ş",Scirc="Ŝ",scirc="ŝ",scnap="⪺",scnE="⪶",scnsim="⋩",scpolint="⨓",scsim="≿",Scy="С",scy="с",sdotb="⊡",sdot="⋅",sdote="⩦",searhk="⤥",searr="↘",seArr="⇘",searrow="↘",sect="§",semi=";",seswar="⤩",setminus="∖",setmn="∖",sext="✶",Sfr="𝔖",sfr="𝔰",sfrown="⌢",sharp="♯",SHCHcy="Щ",shchcy="щ",SHcy="Ш",shcy="ш",ShortDownArrow="↓",ShortLeftArrow="←",shortmid="∣",shortparallel="∥",ShortRightArrow="→",ShortUpArrow="↑",shy="­",Sigma="Σ",sigma="σ",sigmaf="ς",sigmav="ς",sim="∼",simdot="⩪",sime="≃",simeq="≃",simg="⪞",simgE="⪠",siml="⪝",simlE="⪟",simne="≆",simplus="⨤",simrarr="⥲",slarr="←",SmallCircle="∘",smallsetminus="∖",smashp="⨳",smeparsl="⧤",smid="∣",smile="⌣",smt="⪪",smte="⪬",smtes="⪬︀",SOFTcy="Ь",softcy="ь",solbar="⌿",solb="⧄",sol="/",Sopf="𝕊",sopf="𝕤",spades="♠",spadesuit="♠",spar="∥",sqcap="⊓",sqcaps="⊓︀",sqcup="⊔",sqcups="⊔︀",Sqrt="√",sqsub="⊏",sqsube="⊑",sqsubset="⊏",sqsubseteq="⊑",sqsup="⊐",sqsupe="⊒",sqsupset="⊐",sqsupseteq="⊒",square="□",Square="□",SquareIntersection="⊓",SquareSubset="⊏",SquareSubsetEqual="⊑",SquareSuperset="⊐",SquareSupersetEqual="⊒",SquareUnion="⊔",squarf="▪",squ="□",squf="▪",srarr="→",Sscr="𝒮",sscr="𝓈",ssetmn="∖",ssmile="⌣",sstarf="⋆",Star="⋆",star="☆",starf="★",straightepsilon="ϵ",straightphi="ϕ",strns="¯",sub="⊂",Sub="⋐",subdot="⪽",subE="⫅",sube="⊆",subedot="⫃",submult="⫁",subnE="⫋",subne="⊊",subplus="⪿",subrarr="⥹",subset="⊂",Subset="⋐",subseteq="⊆",subseteqq="⫅",SubsetEqual="⊆",subsetneq="⊊",subsetneqq="⫋",subsim="⫇",subsub="⫕",subsup="⫓",succapprox="⪸",succ="≻",succcurlyeq="≽",Succeeds="≻",SucceedsEqual="⪰",SucceedsSlantEqual="≽",SucceedsTilde="≿",succeq="⪰",succnapprox="⪺",succneqq="⪶",succnsim="⋩",succsim="≿",SuchThat="∋",sum="∑",Sum="∑",sung="♪",sup1="¹",sup2="²",sup3="³",sup="⊃",Sup="⋑",supdot="⪾",supdsub="⫘",supE="⫆",supe="⊇",supedot="⫄",Superset="⊃",SupersetEqual="⊇",suphsol="⟉",suphsub="⫗",suplarr="⥻",supmult="⫂",supnE="⫌",supne="⊋",supplus="⫀",supset="⊃",Supset="⋑",supseteq="⊇",supseteqq="⫆",supsetneq="⊋",supsetneqq="⫌",supsim="⫈",supsub="⫔",supsup="⫖",swarhk="⤦",swarr="↙",swArr="⇙",swarrow="↙",swnwar="⤪",szlig="ß",Tab=" ",target="⌖",Tau="Τ",tau="τ",tbrk="⎴",Tcaron="Ť",tcaron="ť",Tcedil="Ţ",tcedil="ţ",Tcy="Т",tcy="т",tdot="⃛",telrec="⌕",Tfr="𝔗",tfr="𝔱",there4="∴",therefore="∴",Therefore="∴",Theta="Θ",theta="θ",thetasym="ϑ",thetav="ϑ",thickapprox="≈",thicksim="∼",ThickSpace="  ",ThinSpace=" ",thinsp=" ",thkap="≈",thksim="∼",THORN="Þ",thorn="þ",tilde="˜",Tilde="∼",TildeEqual="≃",TildeFullEqual="≅",TildeTilde="≈",timesbar="⨱",timesb="⊠",times="×",timesd="⨰",tint="∭",toea="⤨",topbot="⌶",topcir="⫱",top="⊤",Topf="𝕋",topf="𝕥",topfork="⫚",tosa="⤩",tprime="‴",trade="™",TRADE="™",triangle="▵",triangledown="▿",triangleleft="◃",trianglelefteq="⊴",triangleq="≜",triangleright="▹",trianglerighteq="⊵",tridot="◬",trie="≜",triminus="⨺",TripleDot="⃛",triplus="⨹",trisb="⧍",tritime="⨻",trpezium="⏢",Tscr="𝒯",tscr="𝓉",TScy="Ц",tscy="ц",TSHcy="Ћ",tshcy="ћ",Tstrok="Ŧ",tstrok="ŧ",twixt="≬",twoheadleftarrow="↞",twoheadrightarrow="↠",Uacute="Ú",uacute="ú",uarr="↑",Uarr="↟",uArr="⇑",Uarrocir="⥉",Ubrcy="Ў",ubrcy="ў",Ubreve="Ŭ",ubreve="ŭ",Ucirc="Û",ucirc="û",Ucy="У",ucy="у",udarr="⇅",Udblac="Ű",udblac="ű",udhar="⥮",ufisht="⥾",Ufr="𝔘",ufr="𝔲",Ugrave="Ù",ugrave="ù",uHar="⥣",uharl="↿",uharr="↾",uhblk="▀",ulcorn="⌜",ulcorner="⌜",ulcrop="⌏",ultri="◸",Umacr="Ū",umacr="ū",uml="¨",UnderBar="_",UnderBrace="⏟",UnderBracket="⎵",UnderParenthesis="⏝",Union="⋃",UnionPlus="⊎",Uogon="Ų",uogon="ų",Uopf="𝕌",uopf="𝕦",UpArrowBar="⤒",uparrow="↑",UpArrow="↑",Uparrow="⇑",UpArrowDownArrow="⇅",updownarrow="↕",UpDownArrow="↕",Updownarrow="⇕",UpEquilibrium="⥮",upharpoonleft="↿",upharpoonright="↾",uplus="⊎",UpperLeftArrow="↖",UpperRightArrow="↗",upsi="υ",Upsi="ϒ",upsih="ϒ",Upsilon="Υ",upsilon="υ",UpTeeArrow="↥",UpTee="⊥",upuparrows="⇈",urcorn="⌝",urcorner="⌝",urcrop="⌎",Uring="Ů",uring="ů",urtri="◹",Uscr="𝒰",uscr="𝓊",utdot="⋰",Utilde="Ũ",utilde="ũ",utri="▵",utrif="▴",uuarr="⇈",Uuml="Ü",uuml="ü",uwangle="⦧",vangrt="⦜",varepsilon="ϵ",varkappa="ϰ",varnothing="∅",varphi="ϕ",varpi="ϖ",varpropto="∝",varr="↕",vArr="⇕",varrho="ϱ",varsigma="ς",varsubsetneq="⊊︀",varsubsetneqq="⫋︀",varsupsetneq="⊋︀",varsupsetneqq="⫌︀",vartheta="ϑ",vartriangleleft="⊲",vartriangleright="⊳",vBar="⫨",Vbar="⫫",vBarv="⫩",Vcy="В",vcy="в",vdash="⊢",vDash="⊨",Vdash="⊩",VDash="⊫",Vdashl="⫦",veebar="⊻",vee="∨",Vee="⋁",veeeq="≚",vellip="⋮",verbar="|",Verbar="‖",vert="|",Vert="‖",VerticalBar="∣",VerticalLine="|",VerticalSeparator="❘",VerticalTilde="≀",VeryThinSpace=" ",Vfr="𝔙",vfr="𝔳",vltri="⊲",vnsub="⊂⃒",vnsup="⊃⃒",Vopf="𝕍",vopf="𝕧",vprop="∝",vrtri="⊳",Vscr="𝒱",vscr="𝓋",vsubnE="⫋︀",vsubne="⊊︀",vsupnE="⫌︀",vsupne="⊋︀",Vvdash="⊪",vzigzag="⦚",Wcirc="Ŵ",wcirc="ŵ",wedbar="⩟",wedge="∧",Wedge="⋀",wedgeq="≙",weierp="℘",Wfr="𝔚",wfr="𝔴",Wopf="𝕎",wopf="𝕨",wp="℘",wr="≀",wreath="≀",Wscr="𝒲",wscr="𝓌",xcap="⋂",xcirc="◯",xcup="⋃",xdtri="▽",Xfr="𝔛",xfr="𝔵",xharr="⟷",xhArr="⟺",Xi="Ξ",xi="ξ",xlarr="⟵",xlArr="⟸",xmap="⟼",xnis="⋻",xodot="⨀",Xopf="𝕏",xopf="𝕩",xoplus="⨁",xotime="⨂",xrarr="⟶",xrArr="⟹",Xscr="𝒳",xscr="𝓍",xsqcup="⨆",xuplus="⨄",xutri="△",xvee="⋁",xwedge="⋀",Yacute="Ý",yacute="ý",YAcy="Я",yacy="я",Ycirc="Ŷ",ycirc="ŷ",Ycy="Ы",ycy="ы",yen="¥",Yfr="𝔜",yfr="𝔶",YIcy="Ї",yicy="ї",Yopf="𝕐",yopf="𝕪",Yscr="𝒴",yscr="𝓎",YUcy="Ю",yucy="ю",yuml="ÿ",Yuml="Ÿ",Zacute="Ź",zacute="ź",Zcaron="Ž",zcaron="ž",Zcy="З",zcy="з",Zdot="Ż",zdot="ż",zeetrf="ℨ",ZeroWidthSpace="​",Zeta="Ζ",zeta="ζ",zfr="𝔷",Zfr="ℨ",ZHcy="Ж",zhcy="ж",zigrarr="⇝",zopf="𝕫",Zopf="ℤ",Zscr="𝒵",zscr="𝓏",zwj="‍",zwnj="‌",require$$0={Aacute,aacute,Abreve,abreve,ac,acd,acE,Acirc,acirc,acute,Acy,acy,AElig,aelig,af,Afr,afr,Agrave,agrave,alefsym,aleph,Alpha,alpha,Amacr,amacr,amalg,amp,AMP,andand,And,and,andd,andslope,andv,ang,ange,angle,angmsdaa,angmsdab,angmsdac,angmsdad,angmsdae,angmsdaf,angmsdag,angmsdah,angmsd,angrt,angrtvb,angrtvbd,angsph,angst,angzarr,Aogon,aogon,Aopf,aopf,apacir,ap,apE,ape,apid,apos,ApplyFunction,approx,approxeq,Aring,aring,Ascr,ascr,Assign,ast,asymp,asympeq,Atilde,atilde,Auml,auml,awconint,awint,backcong,backepsilon,backprime,backsim,backsimeq,Backslash,Barv,barvee,barwed,Barwed,barwedge,bbrk,bbrktbrk,bcong,Bcy,bcy,bdquo,becaus,because,Because,bemptyv,bepsi,bernou,Bernoullis,Beta,beta,beth,between,Bfr,bfr,bigcap,bigcirc,bigcup,bigodot,bigoplus,bigotimes,bigsqcup,bigstar,bigtriangledown,bigtriangleup,biguplus,bigvee,bigwedge,bkarow,blacklozenge,blacksquare,blacktriangle,blacktriangledown,blacktriangleleft,blacktriangleright,blank,blk12,blk14,blk34,block:block$1,bne,bnequiv,bNot,bnot,Bopf,bopf,bot,bottom,bowtie,boxbox,boxdl,boxdL,boxDl,boxDL,boxdr,boxdR,boxDr,boxDR,boxh,boxH,boxhd,boxHd,boxhD,boxHD,boxhu,boxHu,boxhU,boxHU,boxminus,boxplus,boxtimes,boxul,boxuL,boxUl,boxUL,boxur,boxuR,boxUr,boxUR,boxv,boxV,boxvh,boxvH,boxVh,boxVH,boxvl,boxvL,boxVl,boxVL,boxvr,boxvR,boxVr,boxVR,bprime,breve,Breve,brvbar,bscr,Bscr,bsemi,bsim,bsime,bsolb,bsol,bsolhsub,bull,bullet,bump,bumpE,bumpe,Bumpeq,bumpeq,Cacute,cacute,capand,capbrcup,capcap,cap,Cap,capcup,capdot,CapitalDifferentialD,caps,caret,caron,Cayleys,ccaps,Ccaron,ccaron,Ccedil,ccedil,Ccirc,ccirc,Cconint,ccups,ccupssm,Cdot,cdot,cedil,Cedilla,cemptyv,cent,centerdot,CenterDot,cfr,Cfr,CHcy,chcy,check:check$1,checkmark,Chi,chi,circ,circeq,circlearrowleft,circlearrowright,circledast,circledcirc,circleddash,CircleDot,circledR,circledS,CircleMinus,CirclePlus,CircleTimes,cir,cirE,cire,cirfnint,cirmid,cirscir,ClockwiseContourIntegral,CloseCurlyDoubleQuote,CloseCurlyQuote,clubs,clubsuit,colon,Colon,Colone,colone,coloneq,comma,commat,comp,compfn,complement,complexes,cong,congdot,Congruent,conint,Conint,ContourIntegral,copf,Copf,coprod,Coproduct,copy,COPY,copysr,CounterClockwiseContourIntegral,crarr,cross,Cross,Cscr,cscr,csub,csube,csup,csupe,ctdot,cudarrl,cudarrr,cuepr,cuesc,cularr,cularrp,cupbrcap,cupcap,CupCap,cup,Cup,cupcup,cupdot,cupor,cups,curarr,curarrm,curlyeqprec,curlyeqsucc,curlyvee,curlywedge,curren,curvearrowleft,curvearrowright,cuvee,cuwed,cwconint,cwint,cylcty,dagger,Dagger,daleth,darr,Darr,dArr,dash,Dashv,dashv,dbkarow,dblac,Dcaron,dcaron,Dcy,dcy,ddagger,ddarr,DD,dd,DDotrahd,ddotseq,deg,Del,Delta,delta,demptyv,dfisht,Dfr,dfr,dHar,dharl,dharr,DiacriticalAcute,DiacriticalDot,DiacriticalDoubleAcute,DiacriticalGrave,DiacriticalTilde,diam,diamond,Diamond,diamondsuit,diams,die,DifferentialD,digamma,disin,div,divide,divideontimes,divonx,DJcy,djcy,dlcorn,dlcrop,dollar,Dopf,dopf,Dot,dot,DotDot,doteq,doteqdot,DotEqual,dotminus,dotplus,dotsquare,doublebarwedge,DoubleContourIntegral,DoubleDot,DoubleDownArrow,DoubleLeftArrow,DoubleLeftRightArrow,DoubleLeftTee,DoubleLongLeftArrow,DoubleLongLeftRightArrow,DoubleLongRightArrow,DoubleRightArrow,DoubleRightTee,DoubleUpArrow,DoubleUpDownArrow,DoubleVerticalBar,DownArrowBar,downarrow,DownArrow,Downarrow,DownArrowUpArrow,DownBreve,downdownarrows,downharpoonleft,downharpoonright,DownLeftRightVector,DownLeftTeeVector,DownLeftVectorBar,DownLeftVector,DownRightTeeVector,DownRightVectorBar,DownRightVector,DownTeeArrow,DownTee,drbkarow,drcorn,drcrop,Dscr,dscr,DScy,dscy,dsol,Dstrok,dstrok,dtdot,dtri,dtrif,duarr,duhar,dwangle,DZcy,dzcy,dzigrarr,Eacute,eacute,easter,Ecaron,ecaron,Ecirc,ecirc,ecir,ecolon,Ecy,ecy,eDDot,Edot,edot,eDot,ee,efDot,Efr,efr,eg,Egrave,egrave,egs,egsdot,el,Element,elinters,ell,els,elsdot,Emacr,emacr,empty,emptyset,EmptySmallSquare,emptyv,EmptyVerySmallSquare,emsp13,emsp14,emsp,ENG,eng,ensp,Eogon,eogon,Eopf,eopf,epar,eparsl,eplus,epsi,Epsilon,epsilon,epsiv,eqcirc,eqcolon,eqsim,eqslantgtr,eqslantless,Equal,equals,EqualTilde,equest,Equilibrium,equiv,equivDD,eqvparsl,erarr,erDot,escr,Escr,esdot,Esim,esim,Eta,eta,ETH,eth,Euml,euml,euro,excl,exist,Exists,expectation,exponentiale,ExponentialE,fallingdotseq,Fcy,fcy,female,ffilig,fflig,ffllig,Ffr,ffr,filig,FilledSmallSquare,FilledVerySmallSquare,fjlig,flat,fllig,fltns,fnof,Fopf,fopf,forall,ForAll,fork,forkv,Fouriertrf,fpartint,frac12,frac13,frac14,frac15,frac16,frac18,frac23,frac25,frac34,frac35,frac38,frac45,frac56,frac58,frac78,frasl,frown,fscr,Fscr,gacute,Gamma,gamma,Gammad,gammad,gap,Gbreve,gbreve,Gcedil,Gcirc,gcirc,Gcy,gcy,Gdot,gdot,ge,gE,gEl,gel,geq,geqq,geqslant,gescc,ges,gesdot,gesdoto,gesdotol,gesl,gesles,Gfr,gfr,gg,Gg,ggg,gimel,GJcy,gjcy,gla,gl,glE,glj,gnap,gnapprox,gne,gnE,gneq,gneqq,gnsim,Gopf,gopf,grave,GreaterEqual,GreaterEqualLess,GreaterFullEqual,GreaterGreater,GreaterLess,GreaterSlantEqual,GreaterTilde,Gscr,gscr,gsim,gsime,gsiml,gtcc,gtcir,gt,GT:GT$1,Gt,gtdot,gtlPar,gtquest,gtrapprox,gtrarr,gtrdot,gtreqless,gtreqqless,gtrless,gtrsim,gvertneqq,gvnE,Hacek,hairsp,half,hamilt,HARDcy,hardcy,harrcir,harr,hArr,harrw,Hat,hbar,Hcirc,hcirc,hearts,heartsuit,hellip,hercon,hfr,Hfr,HilbertSpace,hksearow,hkswarow,hoarr,homtht,hookleftarrow,hookrightarrow,hopf,Hopf,horbar,HorizontalLine,hscr,Hscr,hslash,Hstrok,hstrok,HumpDownHump,HumpEqual,hybull,hyphen,Iacute,iacute,ic,Icirc,icirc,Icy,icy,Idot,IEcy,iecy,iexcl,iff,ifr,Ifr,Igrave,igrave,ii,iiiint,iiint,iinfin,iiota,IJlig,ijlig,Imacr,imacr,image:image$1,ImaginaryI,imagline,imagpart,imath,Im,imof,imped,Implies,incare,in:"∈",infin,infintie,inodot,intcal,int,Int,integers,Integral,intercal,Intersection,intlarhk,intprod,InvisibleComma,InvisibleTimes,IOcy,iocy,Iogon,iogon,Iopf,iopf,Iota,iota,iprod,iquest,iscr,Iscr,isin,isindot,isinE,isins,isinsv,isinv,it,Itilde,itilde,Iukcy,iukcy,Iuml,iuml,Jcirc,jcirc,Jcy,jcy,Jfr,jfr,jmath,Jopf,jopf,Jscr,jscr,Jsercy,jsercy,Jukcy,jukcy,Kappa,kappa,kappav,Kcedil,kcedil,Kcy,kcy,Kfr,kfr,kgreen,KHcy,khcy,KJcy,kjcy,Kopf,kopf,Kscr,kscr,lAarr,Lacute,lacute,laemptyv,lagran,Lambda,lambda,lang,Lang,langd,langle,lap,Laplacetrf,laquo,larrb,larrbfs,larr,Larr,lArr,larrfs,larrhk,larrlp,larrpl,larrsim,larrtl,latail,lAtail,lat,late,lates,lbarr,lBarr,lbbrk,lbrace,lbrack,lbrke,lbrksld,lbrkslu,Lcaron,lcaron,Lcedil,lcedil,lceil,lcub,Lcy,lcy,ldca,ldquo,ldquor,ldrdhar,ldrushar,ldsh,le,lE,LeftAngleBracket,LeftArrowBar,leftarrow,LeftArrow,Leftarrow,LeftArrowRightArrow,leftarrowtail,LeftCeiling,LeftDoubleBracket,LeftDownTeeVector,LeftDownVectorBar,LeftDownVector,LeftFloor,leftharpoondown,leftharpoonup,leftleftarrows,leftrightarrow,LeftRightArrow,Leftrightarrow,leftrightarrows,leftrightharpoons,leftrightsquigarrow,LeftRightVector,LeftTeeArrow,LeftTee,LeftTeeVector,leftthreetimes,LeftTriangleBar,LeftTriangle,LeftTriangleEqual,LeftUpDownVector,LeftUpTeeVector,LeftUpVectorBar,LeftUpVector,LeftVectorBar,LeftVector,lEg,leg,leq,leqq,leqslant,lescc,les,lesdot,lesdoto,lesdotor,lesg,lesges,lessapprox,lessdot,lesseqgtr,lesseqqgtr,LessEqualGreater,LessFullEqual,LessGreater,lessgtr,LessLess,lesssim,LessSlantEqual,LessTilde,lfisht,lfloor,Lfr,lfr,lg,lgE,lHar,lhard,lharu,lharul,lhblk,LJcy,ljcy,llarr,ll,Ll,llcorner,Lleftarrow,llhard,lltri,Lmidot,lmidot,lmoustache,lmoust,lnap,lnapprox,lne,lnE,lneq,lneqq,lnsim,loang,loarr,lobrk,longleftarrow,LongLeftArrow,Longleftarrow,longleftrightarrow,LongLeftRightArrow,Longleftrightarrow,longmapsto,longrightarrow,LongRightArrow,Longrightarrow,looparrowleft,looparrowright,lopar,Lopf,lopf,loplus,lotimes,lowast,lowbar,LowerLeftArrow,LowerRightArrow,loz,lozenge,lozf,lpar,lparlt,lrarr,lrcorner,lrhar,lrhard,lrm,lrtri,lsaquo,lscr,Lscr,lsh,Lsh,lsim,lsime,lsimg,lsqb,lsquo,lsquor,Lstrok,lstrok,ltcc,ltcir,lt,LT:LT$1,Lt,ltdot,lthree,ltimes,ltlarr,ltquest,ltri,ltrie,ltrif,ltrPar,lurdshar,luruhar,lvertneqq,lvnE,macr,male,malt,maltese,Map:"⤅",map:map$1,mapsto,mapstodown,mapstoleft,mapstoup,marker,mcomma,Mcy,mcy,mdash,mDDot,measuredangle,MediumSpace,Mellintrf,Mfr,mfr,mho,micro,midast,midcir,mid,middot,minusb,minus,minusd,minusdu,MinusPlus,mlcp,mldr,mnplus,models,Mopf,mopf,mp,mscr,Mscr,mstpos,Mu,mu,multimap,mumap,nabla,Nacute,nacute,nang,nap,napE,napid,napos,napprox,natural,naturals,natur,nbsp,nbump,nbumpe,ncap,Ncaron,ncaron,Ncedil,ncedil,ncong,ncongdot,ncup,Ncy,ncy,ndash,nearhk,nearr,neArr,nearrow,ne,nedot,NegativeMediumSpace,NegativeThickSpace,NegativeThinSpace,NegativeVeryThinSpace,nequiv,nesear,nesim,NestedGreaterGreater,NestedLessLess,NewLine,nexist,nexists,Nfr,nfr,ngE,nge,ngeq,ngeqq,ngeqslant,nges,nGg,ngsim,nGt,ngt,ngtr,nGtv,nharr,nhArr,nhpar,ni,nis,nisd,niv,NJcy,njcy,nlarr,nlArr,nldr,nlE,nle,nleftarrow,nLeftarrow,nleftrightarrow,nLeftrightarrow,nleq,nleqq,nleqslant,nles,nless,nLl,nlsim,nLt,nlt,nltri,nltrie,nLtv,nmid,NoBreak,NonBreakingSpace,nopf,Nopf,Not,not,NotCongruent,NotCupCap,NotDoubleVerticalBar,NotElement,NotEqual,NotEqualTilde,NotExists,NotGreater,NotGreaterEqual,NotGreaterFullEqual,NotGreaterGreater,NotGreaterLess,NotGreaterSlantEqual,NotGreaterTilde,NotHumpDownHump,NotHumpEqual,notin,notindot,notinE,notinva,notinvb,notinvc,NotLeftTriangleBar,NotLeftTriangle,NotLeftTriangleEqual,NotLess,NotLessEqual,NotLessGreater,NotLessLess,NotLessSlantEqual,NotLessTilde,NotNestedGreaterGreater,NotNestedLessLess,notni,notniva,notnivb,notnivc,NotPrecedes,NotPrecedesEqual,NotPrecedesSlantEqual,NotReverseElement,NotRightTriangleBar,NotRightTriangle,NotRightTriangleEqual,NotSquareSubset,NotSquareSubsetEqual,NotSquareSuperset,NotSquareSupersetEqual,NotSubset,NotSubsetEqual,NotSucceeds,NotSucceedsEqual,NotSucceedsSlantEqual,NotSucceedsTilde,NotSuperset,NotSupersetEqual,NotTilde,NotTildeEqual,NotTildeFullEqual,NotTildeTilde,NotVerticalBar,nparallel,npar,nparsl,npart,npolint,npr,nprcue,nprec,npreceq,npre,nrarrc,nrarr,nrArr,nrarrw,nrightarrow,nRightarrow,nrtri,nrtrie,nsc,nsccue,nsce,Nscr,nscr,nshortmid,nshortparallel,nsim,nsime,nsimeq,nsmid,nspar,nsqsube,nsqsupe,nsub,nsubE,nsube,nsubset,nsubseteq,nsubseteqq,nsucc,nsucceq,nsup,nsupE,nsupe,nsupset,nsupseteq,nsupseteqq,ntgl,Ntilde,ntilde,ntlg,ntriangleleft,ntrianglelefteq,ntriangleright,ntrianglerighteq,Nu,nu,num,numero,numsp,nvap,nvdash,nvDash,nVdash,nVDash,nvge,nvgt,nvHarr,nvinfin,nvlArr,nvle,nvlt,nvltrie,nvrArr,nvrtrie,nvsim,nwarhk,nwarr,nwArr,nwarrow,nwnear,Oacute,oacute,oast,Ocirc,ocirc,ocir,Ocy,ocy,odash,Odblac,odblac,odiv,odot,odsold,OElig,oelig,ofcir,Ofr,ofr,ogon,Ograve,ograve,ogt,ohbar,ohm,oint,olarr,olcir,olcross,oline,olt,Omacr,omacr,Omega,omega,Omicron,omicron,omid,ominus,Oopf,oopf,opar,OpenCurlyDoubleQuote,OpenCurlyQuote,operp,oplus,orarr,Or,or,ord,order,orderof,ordf,ordm,origof,oror,orslope,orv,oS,Oscr,oscr,Oslash,oslash,osol,Otilde,otilde,otimesas,Otimes,otimes,Ouml,ouml,ovbar,OverBar,OverBrace,OverBracket,OverParenthesis,para,parallel,par,parsim,parsl,part,PartialD,Pcy,pcy,percnt,period,permil,perp,pertenk,Pfr,pfr,Phi,phi,phiv,phmmat,phone,Pi,pi,pitchfork,piv,planck,planckh,plankv,plusacir,plusb,pluscir,plus,plusdo,plusdu,pluse,PlusMinus,plusmn,plussim,plustwo,pm,Poincareplane,pointint,popf,Popf,pound,prap,Pr,pr,prcue,precapprox,prec,preccurlyeq,Precedes,PrecedesEqual,PrecedesSlantEqual,PrecedesTilde,preceq,precnapprox,precneqq,precnsim,pre,prE,precsim,prime,Prime,primes,prnap,prnE,prnsim,prod,Product,profalar,profline,profsurf,prop,Proportional,Proportion,propto,prsim,prurel,Pscr,pscr,Psi,psi,puncsp,Qfr,qfr,qint,qopf,Qopf,qprime,Qscr,qscr,quaternions,quatint,quest,questeq,quot,QUOT,rAarr,race,Racute,racute,radic,raemptyv,rang,Rang,rangd,range,rangle,raquo,rarrap,rarrb,rarrbfs,rarrc,rarr,Rarr,rArr,rarrfs,rarrhk,rarrlp,rarrpl,rarrsim,Rarrtl,rarrtl,rarrw,ratail,rAtail,ratio,rationals,rbarr,rBarr,RBarr,rbbrk,rbrace,rbrack,rbrke,rbrksld,rbrkslu,Rcaron,rcaron,Rcedil,rcedil,rceil,rcub,Rcy,rcy,rdca,rdldhar,rdquo,rdquor,rdsh,real,realine,realpart,reals,Re,rect,reg,REG,ReverseElement,ReverseEquilibrium,ReverseUpEquilibrium,rfisht,rfloor,rfr,Rfr,rHar,rhard,rharu,rharul,Rho,rho,rhov,RightAngleBracket,RightArrowBar,rightarrow,RightArrow,Rightarrow,RightArrowLeftArrow,rightarrowtail,RightCeiling,RightDoubleBracket,RightDownTeeVector,RightDownVectorBar,RightDownVector,RightFloor,rightharpoondown,rightharpoonup,rightleftarrows,rightleftharpoons,rightrightarrows,rightsquigarrow,RightTeeArrow,RightTee,RightTeeVector,rightthreetimes,RightTriangleBar,RightTriangle,RightTriangleEqual,RightUpDownVector,RightUpTeeVector,RightUpVectorBar,RightUpVector,RightVectorBar,RightVector,ring,risingdotseq,rlarr,rlhar,rlm,rmoustache,rmoust,rnmid,roang,roarr,robrk,ropar,ropf,Ropf,roplus,rotimes,RoundImplies,rpar,rpargt,rppolint,rrarr,Rrightarrow,rsaquo,rscr,Rscr,rsh,Rsh,rsqb,rsquo,rsquor,rthree,rtimes,rtri,rtrie,rtrif,rtriltri,RuleDelayed,ruluhar,rx,Sacute,sacute,sbquo,scap,Scaron,scaron,Sc,sc,sccue,sce,scE,Scedil,scedil,Scirc,scirc,scnap,scnE,scnsim,scpolint,scsim,Scy,scy,sdotb,sdot,sdote,searhk,searr,seArr,searrow,sect,semi,seswar,setminus,setmn,sext,Sfr,sfr,sfrown,sharp,SHCHcy,shchcy,SHcy,shcy,ShortDownArrow,ShortLeftArrow,shortmid,shortparallel,ShortRightArrow,ShortUpArrow,shy,Sigma,sigma,sigmaf,sigmav,sim,simdot,sime,simeq,simg,simgE,siml,simlE,simne,simplus,simrarr,slarr,SmallCircle,smallsetminus,smashp,smeparsl,smid,smile,smt,smte,smtes,SOFTcy,softcy,solbar,solb,sol,Sopf,sopf,spades,spadesuit,spar,sqcap,sqcaps,sqcup,sqcups,Sqrt,sqsub,sqsube,sqsubset,sqsubseteq,sqsup,sqsupe,sqsupset,sqsupseteq,square,Square,SquareIntersection,SquareSubset,SquareSubsetEqual,SquareSuperset,SquareSupersetEqual,SquareUnion,squarf,squ,squf,srarr,Sscr,sscr,ssetmn,ssmile,sstarf,Star,star,starf,straightepsilon,straightphi,strns,sub,Sub,subdot,subE,sube,subedot,submult,subnE,subne,subplus,subrarr,subset,Subset,subseteq,subseteqq,SubsetEqual,subsetneq,subsetneqq,subsim,subsub,subsup,succapprox,succ,succcurlyeq,Succeeds,SucceedsEqual,SucceedsSlantEqual,SucceedsTilde,succeq,succnapprox,succneqq,succnsim,succsim,SuchThat,sum,Sum,sung,sup1,sup2,sup3,sup,Sup,supdot,supdsub,supE,supe,supedot,Superset,SupersetEqual,suphsol,suphsub,suplarr,supmult,supnE,supne,supplus,supset,Supset,supseteq,supseteqq,supsetneq,supsetneqq,supsim,supsub,supsup,swarhk,swarr,swArr,swarrow,swnwar,szlig,Tab,target,Tau,tau,tbrk,Tcaron,tcaron,Tcedil,tcedil,Tcy,tcy,tdot,telrec,Tfr,tfr,there4,therefore,Therefore,Theta,theta,thetasym,thetav,thickapprox,thicksim,ThickSpace,ThinSpace,thinsp,thkap,thksim,THORN,thorn,tilde,Tilde,TildeEqual,TildeFullEqual,TildeTilde,timesbar,timesb,times,timesd,tint,toea,topbot,topcir,top,Topf,topf,topfork,tosa,tprime,trade,TRADE,triangle,triangledown,triangleleft,trianglelefteq,triangleq,triangleright,trianglerighteq,tridot,trie,triminus,TripleDot,triplus,trisb,tritime,trpezium,Tscr,tscr,TScy,tscy,TSHcy,tshcy,Tstrok,tstrok,twixt,twoheadleftarrow,twoheadrightarrow,Uacute,uacute,uarr,Uarr,uArr,Uarrocir,Ubrcy,ubrcy,Ubreve,ubreve,Ucirc,ucirc,Ucy,ucy,udarr,Udblac,udblac,udhar,ufisht,Ufr,ufr,Ugrave,ugrave,uHar,uharl,uharr,uhblk,ulcorn,ulcorner,ulcrop,ultri,Umacr,umacr,uml,UnderBar,UnderBrace,UnderBracket,UnderParenthesis,Union,UnionPlus,Uogon,uogon,Uopf,uopf,UpArrowBar,uparrow,UpArrow,Uparrow,UpArrowDownArrow,updownarrow,UpDownArrow,Updownarrow,UpEquilibrium,upharpoonleft,upharpoonright,uplus,UpperLeftArrow,UpperRightArrow,upsi,Upsi,upsih,Upsilon,upsilon,UpTeeArrow,UpTee,upuparrows,urcorn,urcorner,urcrop,Uring,uring,urtri,Uscr,uscr,utdot,Utilde,utilde,utri,utrif,uuarr,Uuml,uuml,uwangle,vangrt,varepsilon,varkappa,varnothing,varphi,varpi,varpropto,varr,vArr,varrho,varsigma,varsubsetneq,varsubsetneqq,varsupsetneq,varsupsetneqq,vartheta,vartriangleleft,vartriangleright,vBar,Vbar,vBarv,Vcy,vcy,vdash,vDash,Vdash,VDash,Vdashl,veebar,vee,Vee,veeeq,vellip,verbar,Verbar,vert,Vert,VerticalBar,VerticalLine,VerticalSeparator,VerticalTilde,VeryThinSpace,Vfr,vfr,vltri,vnsub,vnsup,Vopf,vopf,vprop,vrtri,Vscr,vscr,vsubnE,vsubne,vsupnE,vsupne,Vvdash,vzigzag,Wcirc,wcirc,wedbar,wedge,Wedge,wedgeq,weierp,Wfr,wfr,Wopf,wopf,wp,wr,wreath,Wscr,wscr,xcap,xcirc,xcup,xdtri,Xfr,xfr,xharr,xhArr,Xi,xi,xlarr,xlArr,xmap,xnis,xodot,Xopf,xopf,xoplus,xotime,xrarr,xrArr,Xscr,xscr,xsqcup,xuplus,xutri,xvee,xwedge,Yacute,yacute,YAcy,yacy,Ycirc,ycirc,Ycy,ycy,yen,Yfr,yfr,YIcy,yicy,Yopf,yopf,Yscr,yscr,YUcy,yucy,yuml,Yuml,Zacute,zacute,Zcaron,zcaron,Zcy,zcy,Zdot,zdot,zeetrf,ZeroWidthSpace,Zeta,zeta,zfr,Zfr,ZHcy,zhcy,zigrarr,zopf,Zopf,Zscr,zscr,zwj,zwnj};var entities$1=require$$0,regex$4=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,mdurl$1={},encodeCache={};function getEncodeCache(b){var r,m,w=encodeCache[b];if(w)return w;for(w=encodeCache[b]=[],r=0;r<128;r++)m=String.fromCharCode(r),/^[0-9a-z]$/i.test(m)?w.push(m):w.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r"u"&&(m=!0),a=getEncodeCache(r),w=0,U=b.length;w=55296&&k<=57343){if(k>=55296&&k<=56319&&w+1=56320&&x<=57343)){g+=encodeURIComponent(b[w]+b[w+1]),w++;continue}g+="%EF%BF%BD";continue}g+=encodeURIComponent(b[w])}return g}encode$1.defaultChars=";/?:@&=+$,-_.!~*'()#";encode$1.componentChars="-_.!~*'()";var encode_1=encode$1,decodeCache={};function getDecodeCache(b){var r,m,w=decodeCache[b];if(w)return w;for(w=decodeCache[b]=[],r=0;r<128;r++)m=String.fromCharCode(r),w.push(m);for(r=0;r=55296&&c<=57343?R+="���":R+=String.fromCharCode(c),U+=6;continue}if((x&248)===240&&U+91114111?R+="����":(c-=65536,R+=String.fromCharCode(55296+(c>>10),56320+(c&1023))),U+=9;continue}R+="�"}return R})}decode$1.defaultChars=";/?:@&=+$,#";decode$1.componentChars="";var decode_1=decode$1,format=function(r){var m="";return m+=r.protocol||"",m+=r.slashes?"//":"",m+=r.auth?r.auth+"@":"",r.hostname&&r.hostname.indexOf(":")!==-1?m+="["+r.hostname+"]":m+=r.hostname||"",m+=r.port?":"+r.port:"",m+=r.pathname||"",m+=r.search||"",m+=r.hash||"",m};function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",` +`," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(b,r){if(b&&b instanceof Url)return b;var m=new Url;return m.parse(b,r),m}Url.prototype.parse=function(b,r){var m,w,U,k,x,a=b;if(a=a.trim(),!r&&b.split("#").length===1){var g=simplePathPattern.exec(a);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var n=protocolPattern.exec(a);if(n&&(n=n[0],U=n.toLowerCase(),this.protocol=n,a=a.substr(n.length)),(r||n||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(x=a.substr(0,2)==="//",x&&!(n&&hostlessProtocol[n])&&(a=a.substr(2),this.slashes=!0)),!hostlessProtocol[n]&&(x||n&&!slashedProtocol[n])){var c=-1;for(m=0;m127?P+="x":P+=B[S];if(!P.match(hostnamePartPattern)){var l=O.slice(0,m),y=O.slice(m+1),D=B.match(hostnamePartStart);D&&(l.push(D[1]),y.unshift(D[2])),y.length&&(a=y.join(".")+a),this.hostname=l.join(".");break}}}}this.hostname.length>hostnameMaxLen&&(this.hostname=""),L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var M=a.indexOf("#");M!==-1&&(this.hash=a.substr(M),a=a.slice(0,M));var F=a.indexOf("?");return F!==-1&&(this.search=a.substr(F),a=a.slice(0,F)),a&&(this.pathname=a),slashedProtocol[U]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Url.prototype.parseHost=function(b){var r=portPattern.exec(b);r&&(r=r[0],r!==":"&&(this.port=r.substr(1)),b=b.substr(0,b.length-r.length)),b&&(this.hostname=b)};var parse=urlParse;mdurl$1.encode=encode_1;mdurl$1.decode=decode_1;mdurl$1.format=format;mdurl$1.parse=parse;var uc_micro={},regex$3,hasRequiredRegex$3;function requireRegex$3(){return hasRequiredRegex$3||(hasRequiredRegex$3=1,regex$3=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),regex$3}var regex$2,hasRequiredRegex$2;function requireRegex$2(){return hasRequiredRegex$2||(hasRequiredRegex$2=1,regex$2=/[\0-\x1F\x7F-\x9F]/),regex$2}var regex$1,hasRequiredRegex$1;function requireRegex$1(){return hasRequiredRegex$1||(hasRequiredRegex$1=1,regex$1=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),regex$1}var regex,hasRequiredRegex;function requireRegex(){return hasRequiredRegex||(hasRequiredRegex=1,regex=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),regex}var hasRequiredUc_micro;function requireUc_micro(){return hasRequiredUc_micro||(hasRequiredUc_micro=1,uc_micro.Any=requireRegex$3(),uc_micro.Cc=requireRegex$2(),uc_micro.Cf=requireRegex$1(),uc_micro.P=regex$4,uc_micro.Z=requireRegex()),uc_micro}(function(b){function r(V){return Object.prototype.toString.call(V)}function m(V){return r(V)==="[object String]"}var w=Object.prototype.hasOwnProperty;function U(V,H){return w.call(V,H)}function k(V){var H=Array.prototype.slice.call(arguments,1);return H.forEach(function(z){if(z){if(typeof z!="object")throw new TypeError(z+"must be object");Object.keys(z).forEach(function(X){V[X]=z[X]})}}),V}function x(V,H,z){return[].concat(V.slice(0,H),z,V.slice(H+1))}function a(V){return!(V>=55296&&V<=57343||V>=64976&&V<=65007||(V&65535)===65535||(V&65535)===65534||V>=0&&V<=8||V===11||V>=14&&V<=31||V>=127&&V<=159||V>1114111)}function g(V){if(V>65535){V-=65536;var H=55296+(V>>10),z=56320+(V&1023);return String.fromCharCode(H,z)}return String.fromCharCode(V)}var n=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=/&([a-z#][a-z0-9]{1,31});/gi,R=new RegExp(n.source+"|"+c.source,"gi"),v=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,e=entities$1;function L(V,H){var z;return U(e,H)?e[H]:H.charCodeAt(0)===35&&v.test(H)&&(z=H[1].toLowerCase()==="x"?parseInt(H.slice(2),16):parseInt(H.slice(1),10),a(z))?g(z):V}function O(V){return V.indexOf("\\")<0?V:V.replace(n,"$1")}function B(V){return V.indexOf("\\")<0&&V.indexOf("&")<0?V:V.replace(R,function(H,z,X){return z||L(H,X)})}var P=/[&<>"]/,S=/[&<>"]/g,_={"&":"&","<":"<",">":">",'"':"""};function l(V){return _[V]}function y(V){return P.test(V)?V.replace(S,l):V}var D=/[.?*+^$[\]\\(){}|-]/g;function M(V){return V.replace(D,"\\$&")}function F(V){switch(V){case 9:case 32:return!0}return!1}function N(V){if(V>=8192&&V<=8202)return!0;switch(V){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var G=regex$4;function W(V){return G.test(V)}function J(V){switch(V){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Y(V){return V=V.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(V=V.replace(/ẞ/g,"ß")),V.toLowerCase().toUpperCase()}b.lib={},b.lib.mdurl=mdurl$1,b.lib.ucmicro=requireUc_micro(),b.assign=k,b.isString=m,b.has=U,b.unescapeMd=O,b.unescapeAll=B,b.isValidEntityCode=a,b.fromCodePoint=g,b.escapeHtml=y,b.arrayReplaceAt=x,b.isSpace=F,b.isWhiteSpace=N,b.isMdAsciiPunct=J,b.isPunctChar=W,b.escapeRE=M,b.normalizeReference=Y})(utils$1);var helpers$1={},parse_link_label=function(r,m,w){var U,k,x,a,g=-1,n=r.posMax,c=r.pos;for(r.pos=m+1,U=1;r.pos32))return a;if(U===41){if(k===0)break;k--}x++}return m===x||k!==0||(a.str=unescapeAll$2(r.slice(m,x)),a.pos=x,a.ok=!0),a},unescapeAll$1=utils$1.unescapeAll,parse_link_title=function(r,m,w){var U,k,x=0,a=m,g={ok:!1,pos:0,lines:0,str:""};if(a>=w||(k=r.charCodeAt(a),k!==34&&k!==39&&k!==40))return g;for(a++,k===40&&(k=41);a"+escapeHtml(k.content)+""};default_rules.code_block=function(b,r,m,w,U){var k=b[r];return""+escapeHtml(b[r].content)+` +`};default_rules.fence=function(b,r,m,w,U){var k=b[r],x=k.info?unescapeAll(k.info).trim():"",a="",g="",n,c,R,v,e;return x&&(R=x.split(/(\s+)/g),a=R[0],g=R.slice(2).join("")),m.highlight?n=m.highlight(k.content,a,g)||escapeHtml(k.content):n=escapeHtml(k.content),n.indexOf(""+n+` +`):"
    "+n+`
    +`};default_rules.image=function(b,r,m,w,U){var k=b[r];return k.attrs[k.attrIndex("alt")][1]=U.renderInlineAsText(k.children,m,w),U.renderToken(b,r,m)};default_rules.hardbreak=function(b,r,m){return m.xhtmlOut?`
    +`:`
    +`};default_rules.softbreak=function(b,r,m){return m.breaks?m.xhtmlOut?`
    +`:`
    +`:` +`};default_rules.text=function(b,r){return escapeHtml(b[r].content)};default_rules.html_block=function(b,r){return b[r].content};default_rules.html_inline=function(b,r){return b[r].content};function Renderer$1(){this.rules=assign$1({},default_rules)}Renderer$1.prototype.renderAttrs=function(r){var m,w,U;if(!r.attrs)return"";for(U="",m=0,w=r.attrs.length;m +`:">",k)};Renderer$1.prototype.renderInline=function(b,r,m){for(var w,U="",k=this.rules,x=0,a=b.length;x\s]/i.test(b)}function isLinkClose$1(b){return/^<\/a\s*>/i.test(b)}var linkify$1=function(r){var m,w,U,k,x,a,g,n,c,R,v,e,L,O,B,P,S=r.tokens,_;if(r.md.options.linkify){for(w=0,U=S.length;w=0;m--){if(a=k[m],a.type==="link_close"){for(m--;k[m].level!==a.level&&k[m].type!=="link_open";)m--;continue}if(a.type==="html_inline"&&(isLinkOpen$1(a.content)&&L>0&&L--,isLinkClose$1(a.content)&&L++),!(L>0)&&a.type==="text"&&r.md.linkify.test(a.content)){for(c=a.content,_=r.md.linkify.match(c),g=[],e=a.level,v=0,_.length>0&&_[0].index===0&&m>0&&k[m-1].type==="text_special"&&(_=_.slice(1)),n=0;n<_.length;n++)O=_[n].url,B=r.md.normalizeLink(O),r.md.validateLink(B)&&(P=_[n].text,_[n].schema?_[n].schema==="mailto:"&&!/^mailto:/i.test(P)?P=r.md.normalizeLinkText("mailto:"+P).replace(/^mailto:/,""):P=r.md.normalizeLinkText(P):P=r.md.normalizeLinkText("http://"+P).replace(/^http:\/\//,""),R=_[n].index,R>v&&(x=new r.Token("text","",0),x.content=c.slice(v,R),x.level=e,g.push(x)),x=new r.Token("link_open","a",1),x.attrs=[["href",B]],x.level=e++,x.markup="linkify",x.info="auto",g.push(x),x=new r.Token("text","",0),x.content=P,x.level=e,g.push(x),x=new r.Token("link_close","a",-1),x.level=--e,x.markup="linkify",x.info="auto",g.push(x),v=_[n].lastIndex);v=0;r--)m=b[r],m.type==="text"&&!w&&(m.content=m.content.replace(SCOPED_ABBR_RE,replaceFn)),m.type==="link_open"&&m.info==="auto"&&w--,m.type==="link_close"&&m.info==="auto"&&w++}function replace_rare(b){var r,m,w=0;for(r=b.length-1;r>=0;r--)m=b[r],m.type==="text"&&!w&&RARE_RE.test(m.content)&&(m.content=m.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),m.type==="link_open"&&m.info==="auto"&&w--,m.type==="link_close"&&m.info==="auto"&&w++}var replacements=function(r){var m;if(r.md.options.typographer)for(m=r.tokens.length-1;m>=0;m--)r.tokens[m].type==="inline"&&(SCOPED_ABBR_TEST_RE.test(r.tokens[m].content)&&replace_scoped(r.tokens[m].children),RARE_RE.test(r.tokens[m].content)&&replace_rare(r.tokens[m].children))},isWhiteSpace$1=utils$1.isWhiteSpace,isPunctChar$1=utils$1.isPunctChar,isMdAsciiPunct$1=utils$1.isMdAsciiPunct,QUOTE_TEST_RE=/['"]/,QUOTE_RE=/['"]/g,APOSTROPHE="’";function replaceAt(b,r,m){return b.slice(0,r)+m+b.slice(r+1)}function process_inlines(b,r){var m,w,U,k,x,a,g,n,c,R,v,e,L,O,B,P,S,_,l,y,D;for(l=[],m=0;m=0&&!(l[S].level<=g);S--);if(l.length=S+1,w.type==="text"){U=w.content,x=0,a=U.length;e:for(;x=0)c=U.charCodeAt(k.index-1);else for(S=m-1;S>=0&&!(b[S].type==="softbreak"||b[S].type==="hardbreak");S--)if(b[S].content){c=b[S].content.charCodeAt(b[S].content.length-1);break}if(R=32,x=48&&c<=57&&(P=B=!1),B&&P&&(B=v,P=e),!B&&!P){_&&(w.content=replaceAt(w.content,k.index,APOSTROPHE));continue}if(P){for(S=l.length-1;S>=0&&(n=l[S],!(l[S].level=0;m--)r.tokens[m].type!=="inline"||!QUOTE_TEST_RE.test(r.tokens[m].content)||process_inlines(r.tokens[m].children,r)},text_join=function(r){var m,w,U,k,x,a,g=r.tokens;for(m=0,w=g.length;m=0&&(w=this.attrs[m][1]),w};Token$3.prototype.attrJoin=function(r,m){var w=this.attrIndex(r);w<0?this.attrPush([r,m]):this.attrs[w][1]=this.attrs[w][1]+" "+m};var token=Token$3,Token$2=token;function StateCore(b,r,m){this.src=b,this.env=m,this.tokens=[],this.inlineMode=!1,this.md=r}StateCore.prototype.Token=Token$2;var state_core=StateCore,Ruler$2=ruler,_rules$2=[["normalize",normalize$1],["block",block],["inline",inline],["linkify",linkify$1],["replacements",replacements],["smartquotes",smartquotes],["text_join",text_join]];function Core(){this.ruler=new Ruler$2;for(var b=0;b<_rules$2.length;b++)this.ruler.push(_rules$2[b][0],_rules$2[b][1])}Core.prototype.process=function(b){var r,m,w;for(w=this.ruler.getRules(""),r=0,m=w.length;rw||(c=m+1,r.sCount[c]=4||(a=r.bMarks[c]+r.tShift[c],a>=r.eMarks[c])||(y=r.src.charCodeAt(a++),y!==124&&y!==45&&y!==58)||a>=r.eMarks[c]||(D=r.src.charCodeAt(a++),D!==124&&D!==45&&D!==58&&!isSpace$a(D))||y===45&&isSpace$a(D))return!1;for(;a=4||(R=escapedSplit(x),R.length&&R[0]===""&&R.shift(),R.length&&R[R.length-1]===""&&R.pop(),v=R.length,v===0||v!==L.length))return!1;if(U)return!0;for(S=r.parentType,r.parentType="table",l=r.md.block.ruler.getRules("blockquote"),e=r.push("table_open","table",1),e.map=B=[m,0],e=r.push("thead_open","thead",1),e.map=[m,m+1],e=r.push("tr_open","tr",1),e.map=[m,m+1],g=0;g=4)break;for(R=escapedSplit(x),R.length&&R[0]===""&&R.shift(),R.length&&R[R.length-1]===""&&R.pop(),c===m+2&&(e=r.push("tbody_open","tbody",1),e.map=P=[m+2,0]),e=r.push("tr_open","tr",1),e.map=[c,c+1],g=0;g=4){U++,k=U;continue}break}return r.line=k,x=r.push("code_block","code",0),x.content=r.getLines(m,k,4+r.blkIndent,!1)+` +`,x.map=[m,r.line],!0},fence=function(r,m,w,U){var k,x,a,g,n,c,R,v=!1,e=r.bMarks[m]+r.tShift[m],L=r.eMarks[m];if(r.sCount[m]-r.blkIndent>=4||e+3>L||(k=r.src.charCodeAt(e),k!==126&&k!==96)||(n=e,e=r.skipChars(e,k),x=e-n,x<3)||(R=r.src.slice(n,e),a=r.src.slice(e,L),k===96&&a.indexOf(String.fromCharCode(k))>=0))return!1;if(U)return!0;for(g=m;g++,!(g>=w||(e=n=r.bMarks[g]+r.tShift[g],L=r.eMarks[g],e=4)&&(e=r.skipChars(e,k),!(e-n=4||r.src.charCodeAt(G)!==62)return!1;if(U)return!0;for(L=[],O=[],S=[],_=[],D=r.md.block.ruler.getRules("blockquote"),P=r.parentType,r.parentType="blockquote",v=m;v=W));v++){if(r.src.charCodeAt(G++)===62&&!F){for(g=r.sCount[v]+1,r.src.charCodeAt(G)===32?(G++,g++,k=!1,l=!0):r.src.charCodeAt(G)===9?(l=!0,(r.bsCount[v]+g)%4===3?(G++,g++,k=!1):k=!0):l=!1,e=g,L.push(r.bMarks[v]),r.bMarks[v]=G;G=W,O.push(r.bsCount[v]),r.bsCount[v]=r.sCount[v]+1+(l?1:0),S.push(r.sCount[v]),r.sCount[v]=e-g,_.push(r.tShift[v]),r.tShift[v]=G-r.bMarks[v];continue}if(c)break;for(y=!1,a=0,n=D.length;a",M.map=R=[m,0],r.md.block.tokenize(r,m,v),M=r.push("blockquote_close","blockquote",-1),M.markup=">",r.lineMax=N,r.parentType=P,R[1]=r.line,a=0;a<_.length;a++)r.bMarks[a+m]=L[a],r.tShift[a+m]=_[a],r.sCount[a+m]=S[a],r.bsCount[a+m]=O[a];return r.blkIndent=B,!0},isSpace$8=utils$1.isSpace,hr=function(r,m,w,U){var k,x,a,g,n=r.bMarks[m]+r.tShift[m],c=r.eMarks[m];if(r.sCount[m]-r.blkIndent>=4||(k=r.src.charCodeAt(n++),k!==42&&k!==45&&k!==95))return!1;for(x=1;n=k||(m=b.src.charCodeAt(U++),m<48||m>57))return-1;for(;;){if(U>=k)return-1;if(m=b.src.charCodeAt(U++),m>=48&&m<=57){if(U-w>=10)return-1;continue}if(m===41||m===46)break;return-1}return U=4||r.listIndent>=0&&r.sCount[z]-r.listIndent>=4&&r.sCount[z]=r.blkIndent&&(X=!0),(G=skipOrderedListMarker(r,z))>=0){if(R=!0,J=r.bMarks[z]+r.tShift[z],P=Number(r.src.slice(J,G-1)),X&&P!==1)return!1}else if((G=skipBulletListMarker(r,z))>=0)R=!1;else return!1;if(X&&r.skipSpaces(G)>=r.eMarks[z])return!1;if(U)return!0;for(B=r.src.charCodeAt(G-1),O=r.tokens.length,R?(H=r.push("ordered_list_open","ol",1),P!==1&&(H.attrs=[["start",P]])):H=r.push("bullet_list_open","ul",1),H.map=L=[z,0],H.markup=String.fromCharCode(B),W=!1,V=r.md.block.ruler.getRules("list"),y=r.parentType,r.parentType="list";z=S?n=1:n=_-c,n>4&&(n=1),g=c+n,H=r.push("list_item_open","li",1),H.markup=String.fromCharCode(B),H.map=v=[z,0],R&&(H.info=r.src.slice(J,G-1)),F=r.tight,M=r.tShift[z],D=r.sCount[z],l=r.listIndent,r.listIndent=r.blkIndent,r.blkIndent=g,r.tight=!0,r.tShift[z]=x-r.bMarks[z],r.sCount[z]=_,x>=S&&r.isEmpty(z+1)?r.line=Math.min(r.line+2,w):r.md.block.tokenize(r,z,w,!0),(!r.tight||W)&&(q=!1),W=r.line-z>1&&r.isEmpty(r.line-1),r.blkIndent=r.listIndent,r.listIndent=l,r.tShift[z]=M,r.sCount[z]=D,r.tight=F,H=r.push("list_item_close","li",-1),H.markup=String.fromCharCode(B),z=r.line,v[1]=z,z>=w||r.sCount[z]=4)break;for(Y=!1,a=0,e=V.length;a=4||r.src.charCodeAt(D)!==91)return!1;for(;++D3)&&!(r.sCount[F]<0)){for(S=!1,c=0,R=_.length;c"u"&&(r.env.references={}),typeof r.env.references[v]>"u"&&(r.env.references[v]={title:l,href:n}),r.parentType=L,r.line=m+y+1),!0)},html_blocks=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],html_re={},attr_name="[a-zA-Z_:][a-zA-Z0-9:._-]*",unquoted="[^\"'=<>`\\x00-\\x20]+",single_quoted="'[^']*'",double_quoted='"[^"]*"',attr_value="(?:"+unquoted+"|"+single_quoted+"|"+double_quoted+")",attribute="(?:\\s+"+attr_name+"(?:\\s*=\\s*"+attr_value+")?)",open_tag="<[A-Za-z][A-Za-z0-9\\-]*"+attribute+"*\\s*\\/?>",close_tag="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",comment="|",processing="<[?][\\s\\S]*?[?]>",declaration="]*>",cdata="",HTML_TAG_RE$1=new RegExp("^(?:"+open_tag+"|"+close_tag+"|"+comment+"|"+processing+"|"+declaration+"|"+cdata+")"),HTML_OPEN_CLOSE_TAG_RE$1=new RegExp("^(?:"+open_tag+"|"+close_tag+")");html_re.HTML_TAG_RE=HTML_TAG_RE$1;html_re.HTML_OPEN_CLOSE_TAG_RE=HTML_OPEN_CLOSE_TAG_RE$1;var block_names=html_blocks,HTML_OPEN_CLOSE_TAG_RE=html_re.HTML_OPEN_CLOSE_TAG_RE,HTML_SEQUENCES=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source+"\\s*$"),/^$/,!1]],html_block=function(r,m,w,U){var k,x,a,g,n=r.bMarks[m]+r.tShift[m],c=r.eMarks[m];if(r.sCount[m]-r.blkIndent>=4||!r.md.options.html||r.src.charCodeAt(n)!==60)return!1;for(g=r.src.slice(n,c),k=0;k=4||(k=r.src.charCodeAt(n),k!==35||n>=c))return!1;for(x=1,k=r.src.charCodeAt(++n);k===35&&n6||nn&&isSpace$5(r.src.charCodeAt(a-1))&&(c=a),r.line=m+1,g=r.push("heading_open","h"+String(x),1),g.markup="########".slice(0,x),g.map=[m,r.line],g=r.push("inline","",0),g.content=r.src.slice(n,c).trim(),g.map=[m,r.line],g.children=[],g=r.push("heading_close","h"+String(x),-1),g.markup="########".slice(0,x)),!0)},lheading=function(r,m,w){var U,k,x,a,g,n,c,R,v,e=m+1,L,O=r.md.block.ruler.getRules("paragraph");if(r.sCount[m]-r.blkIndent>=4)return!1;for(L=r.parentType,r.parentType="paragraph";e3)){if(r.sCount[e]>=r.blkIndent&&(n=r.bMarks[e]+r.tShift[e],c=r.eMarks[e],n=c)))){R=v===61?1:2;break}if(!(r.sCount[e]<0)){for(k=!1,x=0,a=O.length;x3)&&!(r.sCount[c]<0)){for(k=!1,x=0,a=R.length;x0&&this.level++,this.tokens.push(w),w};StateBlock.prototype.isEmpty=function(r){return this.bMarks[r]+this.tShift[r]>=this.eMarks[r]};StateBlock.prototype.skipEmptyLines=function(r){for(var m=this.lineMax;rm;)if(!isSpace$4(this.src.charCodeAt(--r)))return r+1;return r};StateBlock.prototype.skipChars=function(r,m){for(var w=this.src.length;rw;)if(m!==this.src.charCodeAt(--r))return r+1;return r};StateBlock.prototype.getLines=function(r,m,w,U){var k,x,a,g,n,c,R,v=r;if(r>=m)return"";for(c=new Array(m-r),k=0;vw?c[k]=new Array(x-w+1).join(" ")+this.src.slice(g,n):c[k]=this.src.slice(g,n)}return c.join("")};StateBlock.prototype.Token=Token$1;var state_block=StateBlock,Ruler$1=ruler,_rules$1=[["table",table,["paragraph","reference"]],["code",code],["fence",fence,["paragraph","reference","blockquote","list"]],["blockquote",blockquote,["paragraph","reference","blockquote","list"]],["hr",hr,["paragraph","reference","blockquote","list"]],["list",list,["paragraph","reference","blockquote"]],["reference",reference],["html_block",html_block,["paragraph","reference","blockquote"]],["heading",heading,["paragraph","reference","blockquote"]],["lheading",lheading],["paragraph",paragraph]];function ParserBlock$1(){this.ruler=new Ruler$1;for(var b=0;b<_rules$1.length;b++)this.ruler.push(_rules$1[b][0],_rules$1[b][1],{alt:(_rules$1[b][2]||[]).slice()})}ParserBlock$1.prototype.tokenize=function(b,r,m){for(var w,U,k,x=this.ruler.getRules(""),a=x.length,g=r,n=!1,c=b.md.options.maxNesting;g=m||b.sCount[g]=c){b.line=m;break}for(k=b.line,U=0;U=b.line)throw new Error("block rule didn't increment state.line");break}if(!w)throw new Error("none of the block rules matched");b.tight=!n,b.isEmpty(b.line-1)&&(n=!0),g=b.line,g0||(w=r.pos,U=r.posMax,w+3>U)||r.src.charCodeAt(w)!==58||r.src.charCodeAt(w+1)!==47||r.src.charCodeAt(w+2)!==47||(k=r.pending.match(SCHEME_RE),!k)||(x=k[1],a=r.md.linkify.matchAtStart(r.src.slice(w-x.length)),!a)||(g=a.url,g.length<=x.length)||(g=g.replace(/\*+$/,""),n=r.md.normalizeLink(g),!r.md.validateLink(n))?!1:(m||(r.pending=r.pending.slice(0,-x.length),c=r.push("link_open","a",1),c.attrs=[["href",n]],c.markup="linkify",c.info="auto",c=r.push("text","",0),c.content=r.md.normalizeLinkText(g),c=r.push("link_close","a",-1),c.markup="linkify",c.info="auto"),r.pos+=g.length-x.length,!0)},isSpace$3=utils$1.isSpace,newline=function(r,m){var w,U,k,x=r.pos;if(r.src.charCodeAt(x)!==10)return!1;if(w=r.pending.length-1,U=r.posMax,!m)if(w>=0&&r.pending.charCodeAt(w)===32)if(w>=1&&r.pending.charCodeAt(w-1)===32){for(k=w-1;k>=1&&r.pending.charCodeAt(k-1)===32;)k--;r.pending=r.pending.slice(0,k),r.push("hardbreak","br",0)}else r.pending=r.pending.slice(0,-1),r.push("softbreak","br",0);else r.push("softbreak","br",0);for(x++;x?@[]^_`{|}~-".split("").forEach(function(b){ESCAPED[b.charCodeAt(0)]=1});var _escape=function(r,m){var w,U,k,x,a,g=r.pos,n=r.posMax;if(r.src.charCodeAt(g)!==92||(g++,g>=n))return!1;if(w=r.src.charCodeAt(g),w===10){for(m||r.push("hardbreak","br",0),g++;g=55296&&w<=56319&&g+1=56320&&U<=57343&&(x+=r.src[g+1],g++)),k="\\"+x,m||(a=r.push("text_special","",0),w<256&&ESCAPED[w]!==0?a.content=x:a.content=k,a.markup=k,a.info="escape"),r.pos=g+1,!0},backticks=function(r,m){var w,U,k,x,a,g,n,c,R=r.pos,v=r.src.charCodeAt(R);if(v!==96)return!1;for(w=R,R++,U=r.posMax;R=0;m--)w=r[m],!(w.marker!==95&&w.marker!==42)&&w.end!==-1&&(U=r[w.end],a=m>0&&r[m-1].end===w.end+1&&r[m-1].marker===w.marker&&r[m-1].token===w.token-1&&r[w.end+1].token===U.token+1,x=String.fromCharCode(w.marker),k=b.tokens[w.token],k.type=a?"strong_open":"em_open",k.tag=a?"strong":"em",k.nesting=1,k.markup=a?x+x:x,k.content="",k=b.tokens[U.token],k.type=a?"strong_close":"em_close",k.tag=a?"strong":"em",k.nesting=-1,k.markup=a?x+x:x,k.content="",a&&(b.tokens[r[m-1].token].content="",b.tokens[r[w.end+1].token].content="",m--))}emphasis.postProcess=function(r){var m,w=r.tokens_meta,U=r.tokens_meta.length;for(postProcess(r,r.delimiters),m=0;m=O)return!1;if(B=g,n=r.md.helpers.parseLinkDestination(r.src,g,r.posMax),n.ok){for(v=r.md.normalizeLink(n.str),r.md.validateLink(v)?g=n.pos:v="",B=g;g=O||r.src.charCodeAt(g)!==41)&&(P=!0),g++}if(P){if(typeof r.env.references>"u")return!1;if(g=0?k=r.src.slice(B,g++):g=x+1):g=x+1,k||(k=r.src.slice(a,x)),c=r.env.references[normalizeReference$1(k)],!c)return r.pos=L,!1;v=c.href,e=c.title}return m||(r.pos=a,r.posMax=x,R=r.push("link_open","a",1),R.attrs=w=[["href",v]],e&&w.push(["title",e]),r.linkLevel++,r.md.inline.tokenize(r),r.linkLevel--,R=r.push("link_close","a",-1)),r.pos=g,r.posMax=O,!0},normalizeReference=utils$1.normalizeReference,isSpace=utils$1.isSpace,image=function(r,m){var w,U,k,x,a,g,n,c,R,v,e,L,O,B="",P=r.pos,S=r.posMax;if(r.src.charCodeAt(r.pos)!==33||r.src.charCodeAt(r.pos+1)!==91||(g=r.pos+2,a=r.md.helpers.parseLinkLabel(r,r.pos+1,!1),a<0))return!1;if(n=a+1,n=S)return!1;for(O=n,R=r.md.helpers.parseLinkDestination(r.src,n,r.posMax),R.ok&&(B=r.md.normalizeLink(R.str),r.md.validateLink(B)?n=R.pos:B=""),O=n;n=S||r.src.charCodeAt(n)!==41)return r.pos=P,!1;n++}else{if(typeof r.env.references>"u")return!1;if(n=0?x=r.src.slice(O,n++):n=a+1):n=a+1,x||(x=r.src.slice(g,a)),c=r.env.references[normalizeReference(x)],!c)return r.pos=P,!1;B=c.href,v=c.title}return m||(k=r.src.slice(g,a),r.md.inline.parse(k,r.md,r.env,L=[]),e=r.push("image","img",0),e.attrs=w=[["src",B],["alt",""]],e.children=L,e.content=k,v&&w.push(["title",v])),r.pos=n,r.posMax=S,!0},EMAIL_RE=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,AUTOLINK_RE=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,autolink=function(r,m){var w,U,k,x,a,g,n=r.pos;if(r.src.charCodeAt(n)!==60)return!1;for(a=r.pos,g=r.posMax;;){if(++n>=g||(x=r.src.charCodeAt(n),x===60))return!1;if(x===62)break}return w=r.src.slice(a+1,n),AUTOLINK_RE.test(w)?(U=r.md.normalizeLink(w),r.md.validateLink(U)?(m||(k=r.push("link_open","a",1),k.attrs=[["href",U]],k.markup="autolink",k.info="auto",k=r.push("text","",0),k.content=r.md.normalizeLinkText(w),k=r.push("link_close","a",-1),k.markup="autolink",k.info="auto"),r.pos+=w.length+2,!0):!1):EMAIL_RE.test(w)?(U=r.md.normalizeLink("mailto:"+w),r.md.validateLink(U)?(m||(k=r.push("link_open","a",1),k.attrs=[["href",U]],k.markup="autolink",k.info="auto",k=r.push("text","",0),k.content=r.md.normalizeLinkText(w),k=r.push("link_close","a",-1),k.markup="autolink",k.info="auto"),r.pos+=w.length+2,!0):!1):!1},HTML_TAG_RE=html_re.HTML_TAG_RE;function isLinkOpen(b){return/^\s]/i.test(b)}function isLinkClose(b){return/^<\/a\s*>/i.test(b)}function isLetter(b){var r=b|32;return r>=97&&r<=122}var html_inline=function(r,m){var w,U,k,x,a=r.pos;return!r.md.options.html||(k=r.posMax,r.src.charCodeAt(a)!==60||a+2>=k)||(w=r.src.charCodeAt(a+1),w!==33&&w!==63&&w!==47&&!isLetter(w))||(U=r.src.slice(a).match(HTML_TAG_RE),!U)?!1:(m||(x=r.push("html_inline","",0),x.content=U[0],isLinkOpen(x.content)&&r.linkLevel++,isLinkClose(x.content)&&r.linkLevel--),r.pos+=U[0].length,!0)},entities=entities$1,has$2=utils$1.has,isValidEntityCode=utils$1.isValidEntityCode,fromCodePoint=utils$1.fromCodePoint,DIGITAL_RE=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,NAMED_RE=/^&([a-z][a-z0-9]{1,31});/i,entity=function(r,m){var w,U,k,x,a=r.pos,g=r.posMax;if(r.src.charCodeAt(a)!==38||a+1>=g)return!1;if(w=r.src.charCodeAt(a+1),w===35){if(k=r.src.slice(a).match(DIGITAL_RE),k)return m||(U=k[1][0].toLowerCase()==="x"?parseInt(k[1].slice(1),16):parseInt(k[1],10),x=r.push("text_special","",0),x.content=isValidEntityCode(U)?fromCodePoint(U):fromCodePoint(65533),x.markup=k[0],x.info="entity"),r.pos+=k[0].length,!0}else if(k=r.src.slice(a).match(NAMED_RE),k&&has$2(entities,k[1]))return m||(x=r.push("text_special","",0),x.content=entities[k[1]],x.markup=k[0],x.info="entity"),r.pos+=k[0].length,!0;return!1};function processDelimiters(b){var r,m,w,U,k,x,a,g,n={},c=b.length;if(c){var R=0,v=-2,e=[];for(r=0;rk;m-=e[m]+1)if(U=b[m],U.marker===w.marker&&U.open&&U.end<0&&(a=!1,(U.close||w.open)&&(U.length+w.length)%3===0&&(U.length%3!==0||w.length%3!==0)&&(a=!0),!a)){g=m>0&&!b[m-1].open?e[m-1]+1:0,e[r]=r-m+g,e[m]=g,w.open=!1,U.end=r,U.close=!1,x=-1,v=-2;break}x!==-1&&(n[w.marker][(w.open?3:0)+(w.length||0)%3]=x)}}}var balance_pairs=function(r){var m,w=r.tokens_meta,U=r.tokens_meta.length;for(processDelimiters(r.delimiters),m=0;m0&&U++,k[m].type==="text"&&m+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],U={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(w),this.tokens_meta.push(U),w};StateInline.prototype.scanDelims=function(b,r){var m=b,w,U,k,x,a,g,n,c,R,v=!0,e=!0,L=this.posMax,O=this.src.charCodeAt(b);for(w=b>0?this.src.charCodeAt(b-1):32;m=b.pos)throw new Error("inline rule didn't increment state.pos");break}}else b.pos=b.posMax;r||b.pos++,a[w]=b.pos};ParserInline$1.prototype.tokenize=function(b){for(var r,m,w,U=this.ruler.getRules(""),k=U.length,x=b.posMax,a=b.md.options.maxNesting;b.pos=b.pos)throw new Error("inline rule didn't increment state.pos");break}}if(r){if(b.pos>=x)break;continue}b.pending+=b.src[b.pos++]}b.pending&&b.pushPending()};ParserInline$1.prototype.parse=function(b,r,m,w){var U,k,x,a=new this.State(b,r,m,w);for(this.tokenize(a),k=this.ruler2.getRules(""),x=k.length,U=0;U|$))",r.tpl_email_fuzzy="(^|"+m+'|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r}),re}function assign(b){var r=Array.prototype.slice.call(arguments,1);return r.forEach(function(m){m&&Object.keys(m).forEach(function(w){b[w]=m[w]})}),b}function _class(b){return Object.prototype.toString.call(b)}function isString(b){return _class(b)==="[object String]"}function isObject$1(b){return _class(b)==="[object Object]"}function isRegExp(b){return _class(b)==="[object RegExp]"}function isFunction(b){return _class(b)==="[object Function]"}function escapeRE(b){return b.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var defaultOptions={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function isOptionsObj(b){return Object.keys(b||{}).reduce(function(r,m){return r||defaultOptions.hasOwnProperty(m)},!1)}var defaultSchemas={"http:":{validate:function(b,r,m){var w=b.slice(r);return m.re.http||(m.re.http=new RegExp("^\\/\\/"+m.re.src_auth+m.re.src_host_port_strict+m.re.src_path,"i")),m.re.http.test(w)?w.match(m.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(b,r,m){var w=b.slice(r);return m.re.no_http||(m.re.no_http=new RegExp("^"+m.re.src_auth+"(?:localhost|(?:(?:"+m.re.src_domain+")\\.)+"+m.re.src_domain_root+")"+m.re.src_port+m.re.src_host_terminator+m.re.src_path,"i")),m.re.no_http.test(w)?r>=3&&b[r-3]===":"||r>=3&&b[r-3]==="/"?0:w.match(m.re.no_http)[0].length:0}},"mailto:":{validate:function(b,r,m){var w=b.slice(r);return m.re.mailto||(m.re.mailto=new RegExp("^"+m.re.src_email_name+"@"+m.re.src_host_strict,"i")),m.re.mailto.test(w)?w.match(m.re.mailto)[0].length:0}}},tlds_2ch_src_re="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",tlds_default="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function resetScanCache(b){b.__index__=-1,b.__text_cache__=""}function createValidator(b){return function(r,m){var w=r.slice(m);return b.test(w)?w.match(b)[0].length:0}}function createNormalizer(){return function(b,r){r.normalize(b)}}function compile(b){var r=b.re=requireRe()(b.__opts__),m=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||m.push(tlds_2ch_src_re),m.push(r.src_xn),r.src_tlds=m.join("|");function w(a){return a.replace("%TLDS%",r.src_tlds)}r.email_fuzzy=RegExp(w(r.tpl_email_fuzzy),"i"),r.link_fuzzy=RegExp(w(r.tpl_link_fuzzy),"i"),r.link_no_ip_fuzzy=RegExp(w(r.tpl_link_no_ip_fuzzy),"i"),r.host_fuzzy_test=RegExp(w(r.tpl_host_fuzzy_test),"i");var U=[];b.__compiled__={};function k(a,g){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+g)}Object.keys(b.__schemas__).forEach(function(a){var g=b.__schemas__[a];if(g!==null){var n={validate:null,link:null};if(b.__compiled__[a]=n,isObject$1(g)){isRegExp(g.validate)?n.validate=createValidator(g.validate):isFunction(g.validate)?n.validate=g.validate:k(a,g),isFunction(g.normalize)?n.normalize=g.normalize:g.normalize?k(a,g):n.normalize=createNormalizer();return}if(isString(g)){U.push(a);return}k(a,g)}}),U.forEach(function(a){b.__compiled__[b.__schemas__[a]]&&(b.__compiled__[a].validate=b.__compiled__[b.__schemas__[a]].validate,b.__compiled__[a].normalize=b.__compiled__[b.__schemas__[a]].normalize)}),b.__compiled__[""]={validate:null,normalize:createNormalizer()};var x=Object.keys(b.__compiled__).filter(function(a){return a.length>0&&b.__compiled__[a]}).map(escapeRE).join("|");b.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+x+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+r.src_ZPCc+"))("+x+")","ig"),b.re.schema_at_start=RegExp("^"+b.re.schema_search.source,"i"),b.re.pretest=RegExp("("+b.re.schema_test.source+")|("+b.re.host_fuzzy_test.source+")|@","i"),resetScanCache(b)}function Match(b,r){var m=b.__index__,w=b.__last_index__,U=b.__text_cache__.slice(m,w);this.schema=b.__schema__.toLowerCase(),this.index=m+r,this.lastIndex=w+r,this.raw=U,this.text=U,this.url=U}function createMatch(b,r){var m=new Match(b,r);return b.__compiled__[m.schema].normalize(m,b),m}function LinkifyIt$1(b,r){if(!(this instanceof LinkifyIt$1))return new LinkifyIt$1(b,r);r||isOptionsObj(b)&&(r=b,b={}),this.__opts__=assign({},defaultOptions,r),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=assign({},defaultSchemas,b),this.__compiled__={},this.__tlds__=tlds_default,this.__tlds_replaced__=!1,this.re={},compile(this)}LinkifyIt$1.prototype.add=function(r,m){return this.__schemas__[r]=m,compile(this),this};LinkifyIt$1.prototype.set=function(r){return this.__opts__=assign(this.__opts__,r),this};LinkifyIt$1.prototype.test=function(r){if(this.__text_cache__=r,this.__index__=-1,!r.length)return!1;var m,w,U,k,x,a,g,n,c;if(this.re.schema_test.test(r)){for(g=this.re.schema_search,g.lastIndex=0;(m=g.exec(r))!==null;)if(k=this.testSchemaAt(r,m[2],g.lastIndex),k){this.__schema__=m[2],this.__index__=m.index+m[1].length,this.__last_index__=m.index+m[0].length+k;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(n=r.search(this.re.host_fuzzy_test),n>=0&&(this.__index__<0||n=0&&(U=r.match(this.re.email_fuzzy))!==null&&(x=U.index+U[1].length,a=U.index+U[0].length,(this.__index__<0||xthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=x,this.__last_index__=a))),this.__index__>=0};LinkifyIt$1.prototype.pretest=function(r){return this.re.pretest.test(r)};LinkifyIt$1.prototype.testSchemaAt=function(r,m,w){return this.__compiled__[m.toLowerCase()]?this.__compiled__[m.toLowerCase()].validate(r,w,this):0};LinkifyIt$1.prototype.match=function(r){var m=0,w=[];this.__index__>=0&&this.__text_cache__===r&&(w.push(createMatch(this,m)),m=this.__last_index__);for(var U=m?r.slice(m):r;this.test(U);)w.push(createMatch(this,m)),U=U.slice(this.__last_index__),m+=this.__last_index__;return w.length?w:null};LinkifyIt$1.prototype.matchAtStart=function(r){if(this.__text_cache__=r,this.__index__=-1,!r.length)return null;var m=this.re.schema_at_start.exec(r);if(!m)return null;var w=this.testSchemaAt(r,m[2],m[0].length);return w?(this.__schema__=m[2],this.__index__=m.index+m[1].length,this.__last_index__=m.index+m[0].length+w,createMatch(this,0)):null};LinkifyIt$1.prototype.tlds=function(r,m){return r=Array.isArray(r)?r:[r],m?(this.__tlds__=this.__tlds__.concat(r).sort().filter(function(w,U,k){return w!==k[U-1]}).reverse(),compile(this),this):(this.__tlds__=r.slice(),this.__tlds_replaced__=!0,compile(this),this)};LinkifyIt$1.prototype.normalize=function(r){r.schema||(r.url="http://"+r.url),r.schema==="mailto:"&&!/^mailto:/i.test(r.url)&&(r.url="mailto:"+r.url)};LinkifyIt$1.prototype.onCompile=function(){};var linkifyIt=LinkifyIt$1;const maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\0-\x7F]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor$1=Math.floor,stringFromCharCode=String.fromCharCode;function error(b){throw new RangeError(errors[b])}function map(b,r){const m=[];let w=b.length;for(;w--;)m[w]=r(b[w]);return m}function mapDomain(b,r){const m=b.split("@");let w="";m.length>1&&(w=m[0]+"@",b=m[1]),b=b.replace(regexSeparators,".");const U=b.split("."),k=map(U,r).join(".");return w+k}function ucs2decode(b){const r=[];let m=0;const w=b.length;for(;m=55296&&U<=56319&&mString.fromCodePoint(...b),basicToDigit=function(b){return b>=48&&b<58?26+(b-48):b>=65&&b<91?b-65:b>=97&&b<123?b-97:base},digitToBasic=function(b,r){return b+22+75*(b<26)-((r!=0)<<5)},adapt=function(b,r,m){let w=0;for(b=m?floor$1(b/damp):b>>1,b+=floor$1(b/r);b>baseMinusTMin*tMax>>1;w+=base)b=floor$1(b/baseMinusTMin);return floor$1(w+(baseMinusTMin+1)*b/(b+skew))},decode=function(b){const r=[],m=b.length;let w=0,U=initialN,k=initialBias,x=b.lastIndexOf(delimiter);x<0&&(x=0);for(let a=0;a=128&&error("not-basic"),r.push(b.charCodeAt(a));for(let a=x>0?x+1:0;a=m&&error("invalid-input");const v=basicToDigit(b.charCodeAt(a++));v>=base&&error("invalid-input"),v>floor$1((maxInt-w)/c)&&error("overflow"),w+=v*c;const e=R<=k?tMin:R>=k+tMax?tMax:R-k;if(vfloor$1(maxInt/L)&&error("overflow"),c*=L}const n=r.length+1;k=adapt(w-g,n,g==0),floor$1(w/n)>maxInt-U&&error("overflow"),U+=floor$1(w/n),w%=n,r.splice(w++,0,U)}return String.fromCodePoint(...r)},encode=function(b){const r=[];b=ucs2decode(b);const m=b.length;let w=initialN,U=0,k=initialBias;for(const g of b)g<128&&r.push(stringFromCharCode(g));const x=r.length;let a=x;for(x&&r.push(delimiter);a=w&&cfloor$1((maxInt-U)/n)&&error("overflow"),U+=(g-w)*n,w=g;for(const c of b)if(cmaxInt&&error("overflow"),c===w){let R=U;for(let v=base;;v+=base){const e=v<=k?tMin:v>=k+tMax?tMax:v-k;if(R=0))try{r.hostname=punycode.toASCII(r.hostname)}catch{}return mdurl.encode(mdurl.format(r))}function normalizeLinkText(b){var r=mdurl.parse(b,!0);if(r.hostname&&(!r.protocol||RECODE_HOSTNAME_FOR.indexOf(r.protocol)>=0))try{r.hostname=punycode.toUnicode(r.hostname)}catch{}return mdurl.decode(mdurl.format(r),mdurl.decode.defaultChars+"%")}function MarkdownIt$1(b,r){if(!(this instanceof MarkdownIt$1))return new MarkdownIt$1(b,r);r||utils.isString(b)||(r=b||{},b="default"),this.inline=new ParserInline,this.block=new ParserBlock,this.core=new ParserCore,this.renderer=new Renderer,this.linkify=new LinkifyIt,this.validateLink=validateLink,this.normalizeLink=normalizeLink,this.normalizeLinkText=normalizeLinkText,this.utils=utils,this.helpers=utils.assign({},helpers),this.options={},this.configure(b),r&&this.set(r)}MarkdownIt$1.prototype.set=function(b){return utils.assign(this.options,b),this};MarkdownIt$1.prototype.configure=function(b){var r=this,m;if(utils.isString(b)&&(m=b,b=config[m],!b))throw new Error('Wrong `markdown-it` preset "'+m+'", check name');if(!b)throw new Error("Wrong `markdown-it` preset, can't be empty");return b.options&&r.set(b.options),b.components&&Object.keys(b.components).forEach(function(w){b.components[w].rules&&r[w].ruler.enableOnly(b.components[w].rules),b.components[w].rules2&&r[w].ruler2.enableOnly(b.components[w].rules2)}),this};MarkdownIt$1.prototype.enable=function(b,r){var m=[];Array.isArray(b)||(b=[b]),["core","block","inline"].forEach(function(U){m=m.concat(this[U].ruler.enable(b,!0))},this),m=m.concat(this.inline.ruler2.enable(b,!0));var w=b.filter(function(U){return m.indexOf(U)<0});if(w.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+w);return this};MarkdownIt$1.prototype.disable=function(b,r){var m=[];Array.isArray(b)||(b=[b]),["core","block","inline"].forEach(function(U){m=m.concat(this[U].ruler.disable(b,!0))},this),m=m.concat(this.inline.ruler2.disable(b,!0));var w=b.filter(function(U){return m.indexOf(U)<0});if(w.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+w);return this};MarkdownIt$1.prototype.use=function(b){var r=[this].concat(Array.prototype.slice.call(arguments,1));return b.apply(b,r),this};MarkdownIt$1.prototype.parse=function(b,r){if(typeof b!="string")throw new Error("Input data should be a String");var m=new this.core.State(b,this,r);return this.core.process(m),m.tokens};MarkdownIt$1.prototype.render=function(b,r){return r=r||{},this.renderer.render(this.parse(b,r),this.options,r)};MarkdownIt$1.prototype.parseInline=function(b,r){var m=new this.core.State(b,this,r);return m.inlineMode=!0,this.core.process(m),m.tokens};MarkdownIt$1.prototype.renderInline=function(b,r){return r=r||{},this.renderer.render(this.parseInline(b,r),this.options,r)};var lib$1=MarkdownIt$1,markdownIt=lib$1;const MarkdownIt=getDefaultExportFromCjs(markdownIt);function findFirstMatchingConfig(b,r){var m,w,U=b.attrs[b.attrIndex("href")][1];for(m=0;mk.fileInfo?k.fileInfo.split(","):[]);computed(()=>{try{return JSON.parse(k.customId).buttons||[]}catch{return[]}});const k=b,x=m;useMessage();const{isMobile:a}=useBasicLayout();let g;watch(()=>k.status,D=>{g!==void 0&&(clearInterval(g),g=void 0),D===2&&(g=window.setInterval(async()=>{await c.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{g!==void 0&&clearInterval(g)}),onUnmounted(()=>{clearInterval(g)});const n=ref(),c=useChatStore(),R=new MarkdownIt({linkify:!0,highlight(D,M){if(!!(M&&HighlightJS.getLanguage(M))){const N=M??"";return L(HighlightJS.highlight(D,{language:N}).value,N)}return L(HighlightJS.highlightAuto(D).value,"")}}),v=computed(()=>k.fileInfo);R.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),R.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const e=computed(()=>{const D=k.text??"";return k.asRawText?D:R.render(D)});function L(D,M){return`
    ${M}${t("chat.copyCode")}
    ${D}
    `}function O(){x("copy")}function B(){x("delete")}async function P(D){try{let M;M=JSON.parse(k.customId);const F=M.find(N=>N.customId.includes(`upsample::${D}`));if(F){const N=F.customId;await w({msg:t("chat.enlargeImagePrefix")+D+t("chat.enlargeImageSuffix"),action:"UPSCALE",drawId:k.drawId,customId:N,modelType:2,model:"midjourney",modelName:k.modelName})}}catch{}}async function S(D){try{let M;M=JSON.parse(k.customId);const F=M.find(N=>N.customId.includes(`variation::${D}`));if(F){const N=F.customId;await w({msg:t("chat.transformImagePrefix")+D+t("chat.transformImageSuffix"),action:"UPSCALE",drawId:k.drawId,customId:N,modelType:2,model:"midjourney",modelName:k.modelName})}}catch{}}async function _(D){try{let M;M=JSON.parse(k.customId);const F=M.find(N=>N.customId.includes(`Outpaint::${D}`));if(F){const N=F.customId;await w({msg:t("chat.expandDrawing"),action:"UPSCALE",drawId:k.drawId,customId:N,modelType:2,model:"midjourney",modelName:k.modelName})}}catch{}}async function l(D){try{let M;M=JSON.parse(k.customId);const F=M.find(N=>N.customId.includes(`${D}`));if(F){const N=F.customId;await w({msg:t("chat.advancedTransform"),action:"UPSCALE",drawId:k.drawId,customId:N,modelType:2,model:"midjourney",modelName:k.modelName})}}catch{}}async function y(D){try{let M;M=JSON.parse(k.customId);const F=M.find(N=>N.customId.includes(`pan_${D}`));if(F){const N=F.customId;await w({msg:t("chat.translateImage"),action:"UPSCALE",drawId:k.drawId,customId:N,modelType:2,model:"midjourney",modelName:k.modelName})}}catch{}}return r({textRef:n}),(D,M)=>{var F,N,G,W,J,Y,V,H,z;return openBlock(),createElementBlock("div",_hoisted_1$i,[createBaseVNode("div",{ref_key:"textRef",ref:n,class:"leading-relaxed break-words w-full"},[createBaseVNode("div",_hoisted_2$h,[createBaseVNode("div",_hoisted_3$g,[D.status===2&&!e.value?(openBlock(),createElementBlock("span",_hoisted_4$c)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$c,[createBaseVNode("div",_hoisted_6$b,[createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":D.status===1||D.status===2||!e.value}]),innerHTML:e.value},null,10,_hoisted_7$a)])])])])],512),createBaseVNode("div",_hoisted_8$9,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",{class:"my-1 flex w-auto",style:normalizeStyle({maxWidth:unref(a)?"100%":"",maxHeight:unref(a)?"":"30vh",objectFit:"contain"})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(U.value,(X,q)=>(openBlock(),createBlock(unref(NImage),{key:q,src:X,"preview-src":X,alt:"图片",class:"rounded-md flex mb-1 mr-4",style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"}},null,8,["src","preview-src"]))),128))],4)]),(F=D.model)!=null&&F.includes("midjourney")&&v.value&&D.status===3?(openBlock(),createElementBlock("div",_hoisted_9$9,[(N=D.customId)!=null&&N.includes("::upsample::1::")?(openBlock(),createElementBlock("div",_hoisted_10$8,[createBaseVNode("div",_hoisted_11$7,[createBaseVNode("div",_hoisted_12$6,[createBaseVNode("button",{onClick:M[0]||(M[0]=X=>P(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.U1")),1),createBaseVNode("button",{onClick:M[1]||(M[1]=X=>P(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.U2")),1),createBaseVNode("button",{onClick:M[2]||(M[2]=X=>P(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.U3")),1),createBaseVNode("button",{onClick:M[3]||(M[3]=X=>P(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.U4")),1)])])])):createCommentVNode("",!0),(G=D.customId)!=null&&G.includes("::variation::1::")?(openBlock(),createElementBlock("div",_hoisted_13$5,[createBaseVNode("div",_hoisted_14$5,[createBaseVNode("div",_hoisted_15$5,[createBaseVNode("button",{onClick:M[4]||(M[4]=X=>S(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.V1")),1),createBaseVNode("button",{onClick:M[5]||(M[5]=X=>S(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.V2")),1),createBaseVNode("button",{onClick:M[6]||(M[6]=X=>S(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.V3")),1),createBaseVNode("button",{onClick:M[7]||(M[7]=X=>S(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.V4")),1)])])])):createCommentVNode("",!0),(W=D.customId)!=null&&W.includes("::pan_left::1::")?(openBlock(),createElementBlock("div",_hoisted_16$5,[createBaseVNode("div",_hoisted_17$5,[createBaseVNode("div",_hoisted_18$5,[createBaseVNode("button",{onClick:M[8]||(M[8]=X=>y("left")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.panLeft")),1),createBaseVNode("button",{onClick:M[9]||(M[9]=X=>y("right")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.panRight")),1),createBaseVNode("button",{onClick:M[10]||(M[10]=X=>y("up")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.panUp")),1),createBaseVNode("button",{onClick:M[11]||(M[11]=X=>y("down")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.panDown")),1)])])])):createCommentVNode("",!0),(J=D.customId)!=null&&J.includes("Outpaint::50")?(openBlock(),createElementBlock("div",_hoisted_19$3,[createBaseVNode("div",_hoisted_20$3,[createBaseVNode("div",_hoisted_21$2,[(Y=D.customId)!=null&&Y.includes("Outpaint::50")?(openBlock(),createElementBlock("button",{key:0,onClick:M[12]||(M[12]=X=>_(75)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.zoomIn15x")),1)):createCommentVNode("",!0),(V=D.customId)!=null&&V.includes("Outpaint::50")?(openBlock(),createElementBlock("button",{key:1,onClick:M[13]||(M[13]=X=>_(50)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.zoomIn2x")),1)):createCommentVNode("",!0),(H=D.customId)!=null&&H.includes("low_variation")?(openBlock(),createElementBlock("button",{key:2,onClick:M[14]||(M[14]=X=>l("low")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.minorTransform")),1)):createCommentVNode("",!0),(z=D.customId)!=null&&z.includes("low_variation")?(openBlock(),createElementBlock("button",{key:3,onClick:M[15]||(M[15]=X=>l("high")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t)("chat.strongTransform")),1)):createCommentVNode("",!0)])])])):createCommentVNode("",!0)])):createCommentVNode("",!0)])])]),createBaseVNode("div",_hoisted_22$2,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_23$2,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:O},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_24$2,toDisplayString(unref(t)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:B},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_25$2,toDisplayString(unref(t)("chat.delete")),1)])])])])])}}}),_hoisted_1$h={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_hoisted_2$g={key:0,class:"p-2 w-full h-1/2"},_hoisted_3$f={key:1,class:"w-3/4 p-2"},_sfc_main$g=defineComponent({__name:"FullScreenModal",props:{text:{},close:{type:Function}},setup(b){const r=b,m=ref(),w=ref(r.text),{isMobile:U}=useBasicLayout(),k=new browserExports.Transformer;let x;onMounted(()=>{m.value&&(x=Markmap.create(m.value),a())}),watch(w,()=>{a()}),watchEffect(()=>{w.value=r.text});const a=()=>{const{root:c}=k.transform(w.value);x.setData(c),x.fit()},g=()=>{r.close()},n=async()=>{if(m.value){const c=await toPng(m.value);FileSaver_minExports.saveAs(c,"mindmap.png")}};return(c,R)=>(openBlock(),createElementBlock("div",_hoisted_1$h,[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:g}),createBaseVNode("div",{class:normalizeClass(["bg-white dark:bg-gray-900 w-full h-full p-4",[unref(U)?"flex-col":"flex"]])},[unref(U)?(openBlock(),createElementBlock("div",_hoisted_2$g,[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:m,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["p-2 flex flex-col",[unref(U)?"w-full h-1/2":"w-1/4"]])},[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":R[0]||(R[0]=v=>w.value=v),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[vModelText,w.value]]),createBaseVNode("div",{class:"mt-2 flex justify-end"},[createBaseVNode("button",{onClick:g,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:n,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 保存 ")])],2),unref(U)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_3$f,[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:m,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))]))],2)]))}}),_hoisted_1$g={class:"flex flex-col group max-w-full"},_hoisted_2$f={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},_hoisted_3$e={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},_hoisted_4$b={class:"mt-1 flex"},_hoisted_5$b=createBaseVNode("span",{class:"flex text-sm"},"复制",-1),_hoisted_6$a=createBaseVNode("span",{class:"flex text-sm"},"删除",-1),_sfc_main$f=defineComponent({__name:"index",props:{chatId:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["delete","copy"],setup(b,{expose:r,emit:m}){useBasicLayout();const w=new browserExports.Transformer,U=b,k=m,x=ref(),a=ref(),g=ref(!1),n=ref(U.text);useChatStore();let c=null;onMounted(()=>{v=Markmap.create(x.value),R()});const R=()=>{c&&clearTimeout(c),c=setTimeout(()=>{const{root:_}=w.transform(U.text);v.setData(_),v.fit()},200)};let v;const e=new MarkdownIt({linkify:!0,highlight(_,l){if(!!(l&&HighlightJS.getLanguage(l))){const D=l??"";return L(HighlightJS.highlight(_,{language:D}).value,D)}return L(HighlightJS.highlightAuto(_).value,"")}});e.renderer.rules.image=function(_,l){const y=_[l],D=y.attrGet("src"),M=y.attrGet("title"),F=y.content;return`${F}`},e.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),e.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),onUpdated(R);function L(_,l){return`
    ${l}${t("chat.copyCode")}
    ${_}
    `}function O(){k("copy")}function B(){k("delete")}async function P(){n.value=U.text,g.value=!0}function S(){g.value=!1}return r({textRef:a}),(_,l)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted_1$g,[createBaseVNode("div",_hoisted_2$f,[createBaseVNode("div",{class:"flex w-full relative",onClick:P},[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:x,class:"box-border w-[600px] h-[400px] border rounded-md border-gray-200 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100",style:{"pointer-events":"none"},draggable:"false"},null,512))])]),createBaseVNode("div",_hoisted_3$e,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_4$b,[createBaseVNode("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:O},[createVNode(unref(Copy),{class:"flex mr-1"}),_hoisted_5$b]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:B},[createVNode(unref(Delete),{class:"mr-1"}),_hoisted_6$a])])])])]),g.value?(openBlock(),createBlock(_sfc_main$g,{key:0,text:n.value,close:S},null,8,["text"])):createCommentVNode("",!0)],64))}}),index_vue_vue_type_style_index_0_lang$2="",_hoisted_1$f={class:"flex flex-col group max-w-full"},_hoisted_2$e={class:"pr-12 w-full flex flex-col items-start"},_hoisted_3$d={key:0,class:"relative flex items-center justify-center group hover:opacity-80 transition-opacity duration-300"},_hoisted_4$a=["src","onClick"],_hoisted_5$a={class:"flex flex-col ml-4 w-full"},_hoisted_6$9={class:"flex justify-between items-center"},_hoisted_7$9=["onClick"],_hoisted_8$8=["onClick"],_hoisted_9$8={key:0,class:"flex items-center justify-start mt-8 w-full"},_hoisted_10$7={class:"text-white text-sm mr-2 w-8 text-right flex items-center"},_hoisted_11$6={class:"flex-grow flex items-center min-w-0"},_hoisted_12$5=["onUpdate:modelValue","onInput","onChange"],_hoisted_13$4={class:"text-white text-sm ml-4 mr-2 flex items-center"},_hoisted_14$4=["src","onTimeupdate"],_hoisted_15$4={key:0,class:"w-full"},_hoisted_16$4={key:0,class:"loading-anchor"},_hoisted_17$4=["innerHTML"],_hoisted_18$4={key:0,class:"flex-none mt-2 mb-1"},_hoisted_19$2={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},_hoisted_20$2={class:"mt-1 flex"},_hoisted_21$1={class:"flex text-sm"},_hoisted_22$1={class:"flex text-sm"},_hoisted_23$1=["src"],_hoisted_24$1={key:1,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50"},_hoisted_25$1=createBaseVNode("div",{class:"flex-none"},[createBaseVNode("h2",{class:"text-2xl mb-4 font-semibold"},"歌词编辑"),createBaseVNode("p",{class:"mb-4"},"您可以点击内容进行编辑修改")],-1),_hoisted_26$1={class:"flex-1 overflow-y-auto p-4 rounded-lg border-2 dark:border-gray-700"},_hoisted_27$1={class:"flex items-center mb-4"},_hoisted_28$1=createBaseVNode("label",{class:"w-12 text-gray-500 font-semibold"},"标题",-1),_hoisted_29$1={class:"mb-4"},_hoisted_30$1={class:"flex flex-col"},_hoisted_31$1={key:0,class:"text-gray-500 font-semibold"},_hoisted_32$1=["onUpdate:modelValue"],_hoisted_33$1={class:"flex mt-4"},_hoisted_34$1={class:"flex-1 justify-start"},_hoisted_35$1={class:"py-1"},_hoisted_36$1=["onClick"],_hoisted_37$1={href:"#",class:"flex w-full items-center pl-3 pr-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"},_hoisted_38$1={class:"w-28"},_hoisted_39$1={class:"py-1"},_hoisted_40$1=["onClick"],_hoisted_41$1={href:"#",class:"flex w-full items-center pl-3 pr-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"},_hoisted_42$1={class:"w-28"},_sfc_main$e=defineComponent({__name:"Music",props:{inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},videoUrl:{},audioUrl:{},model:{},drawId:{},customId:{},modelName:{},action:{},taskData:{},fileInfo:{},modelAvatar:{}},emits:["delete","copy"],setup(b,{expose:r,emit:m}){const w=ref(-1),U=ref(!1),k=ref(""),x=inject("onConversation"),a=b,g=m,{isMobile:n}=useBasicLayout();let c;const R=ref(!1),v=ref({title:"",text:""}),e=()=>{v.value=JSON.parse(a.taskData||"{}")};watch(()=>a.taskData,()=>{e()},{immediate:!0}),onMounted(()=>{e()});const L=()=>{R.value=!1},O=ref([{id:"default",title:"普通歌曲",values:!1},{id:"instrumental",title:"纯音乐",values:!0}]),B=ref([{id:"default",title:"默认",values:""},{id:"pop",title:"流行",values:"pop"},{id:"rock",title:"摇滚",values:"rock"},{id:"hiphop",title:"嘻哈/说唱",values:"hiphop"},{id:"jazz",title:"爵士",values:"jazz"},{id:"blues",title:"蓝调/灵魂",values:"blues"},{id:"country",title:"乡村",values:"country"},{id:"classical",title:"古典",values:"classical"},{id:"folk",title:"民谣",values:"folk"},{id:"latin",title:"拉丁",values:"latin"},{id:"world",title:"世界音乐",values:"world"},{id:"electronic",title:"电子",values:"electronic"},{id:"newage",title:"新世纪",values:"newage"},{id:"metal",title:"重金属",values:"metal"},{id:"punk",title:"朋克",values:"punk"},{id:"rnb",title:"节奏布鲁斯",values:"rnb"}]),P=ref(O.value[0]),S=ref(B.value[0]),_=ye=>{U.value=ye.values,P.value=ye},l=ye=>{k.value=ye.values,S.value=ye},y=computed(()=>v.value.text.split(` +`).filter(ye=>ye.trim()!=="")),D=async()=>{R.value=!1;try{const ye=JSON.stringify({title:v.value.title,prompt:U.value?"":y.value.join(` +`),mv:"chirp-v3-5",make_instrumental:U.value,tags:k.value});await x({msg:`${v.value.title}`,action:"MUSIC",customId:ye,modelType:2,model:a.model||"suno-v3",modelName:a.modelName||"AI音乐",modelAvatar:a.modelAvatar})}catch{}};watch(()=>a.status,ye=>{c!==void 0&&(clearInterval(c),c=void 0),ye===2&&(c=window.setInterval(async()=>{await Q.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{c!==void 0&&clearInterval(c)});const M=computed(()=>a.fileInfo?a.fileInfo.split(",").map(ye=>({type:"image",url:ye})):[]),F=computed(()=>a.videoUrl?a.videoUrl.split(",").map(ye=>({type:"video",url:ye})):[]),N=computed(()=>a.audioUrl?a.audioUrl.split(",").map(ye=>({type:"audio",url:ye})):[]),G=computed(()=>(v.value=JSON.parse(a.taskData||"{}"),M.value.map((ye,se)=>({image:ye,video:F.value[se]||{type:"video",url:""},audio:N.value[se]||{type:"audio",url:""},title:"标题",subtitle:"媒体风格"})))),W=ref(new Array(G.value.length).fill(0)),J=ye=>{const se=H.value[ye];se&&(q.value[ye]=se.currentTime,se.duration&&($.value[ye]=se.duration),W.value[ye]=se.currentTime/se.duration*100)},Y=(ye,se)=>{const Ie=se.target;W.value[ye]=Number(Ie.value)},V=(ye,se)=>{const Ie=H.value[ye],Ce=se.target;if(Ie){const oe=Number(Ce.value)/100*Ie.duration;Ie.currentTime=oe}},H=ref([]),z=ye=>{const se=H.value[ye];se&&(H.value.forEach((Ie,Ce)=>{Ie&&Ce!==ye&&(Ie.pause(),Ie.currentTime=0)}),se.paused?(se.play(),w.value=ye):(se.pause(),w.value=-1))},X=ye=>{if(!isFinite(ye)||isNaN(ye))return"";const se=Math.floor(ye/60),Ie=Math.floor(ye%60);return`${se}:${Ie<10?"0":""}${Ie}`},q=ref([]),$=ref([]),fe=ref(),Q=useChatStore(),ie=new MarkdownIt({linkify:!0,highlight(ye,se){if(!!(se&&HighlightJS.getLanguage(se))){const Ce=se??"";return K(HighlightJS.highlight(ye,{language:Ce}).value,Ce)}return K(HighlightJS.highlightAuto(ye).value,"")}});ie.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),ie.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const Te=computed(()=>{const ye=a.text??"";return a.asRawText?ye:ie.render(ye)});function me(ye){fetch(ye).then(se=>se.blob()).then(se=>{const Ie=document.createElement("a"),Ce=URL.createObjectURL(se);Ie.href=Ce;const oe=a.text||"音频文件";Ie.setAttribute("download",`${oe}.mp3`),Ie.style.display="none",document.body.appendChild(Ie),Ie.click(),document.body.removeChild(Ie),URL.revokeObjectURL(Ce)}).catch(se=>{})}function K(ye,se){return`
    ${se}${t("chat.copyCode")}
    ${ye}
    `}function ce(){g("copy")}function de(){g("delete")}r({textRef:fe});const Z=async()=>{try{v.value=JSON.parse(a.taskData||"{}");const ye=JSON.stringify({title:v.value.title,prompt:v.value.text,mv:"chirp-v3-5",make_instrumental:U.value});await x({msg:`${v.value.title}`,action:"MUSIC",customId:ye,modelType:2,model:a.model||"suno-v3",modelName:a.modelName||"AI音乐",modelAvatar:a.modelAvatar})}catch{}},ae=ref(!1),he=ref(""),we=ye=>{if(!ye){Q.queryActiveChatLogList();return}he.value=ye,ae.value=!0},_e=()=>{ae.value=!1};return(ye,se)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted_1$f,[createBaseVNode("div",{ref_key:"textRef",ref:fe,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_2$e,[(openBlock(!0),createElementBlock(Fragment,null,renderList(G.value,(Ie,Ce)=>(openBlock(),createElementBlock("div",{key:Ce,class:normalizeClass(["flex justify-between items-center p-2 bg-gray-800 rounded-md mb-2",unref(n)?"w-[80vw]":"min-w-[35vw]"])},[Ie.audio.url?(openBlock(),createElementBlock("div",_hoisted_3$d,[createBaseVNode("img",{src:Ie.image.url,onClick:oe=>z(Ce),class:normalizeClass(["rounded-md cursor-pointer transition-opacity duration-300",{"opacity-80":w.value===Ce}]),style:normalizeStyle({maxWidth:unref(n)?"80px":"100px",maxHeight:unref(n)?"80px":"100px"})},null,14,_hoisted_4$a),(openBlock(),createBlock(resolveDynamicComponent(w.value===Ce?unref(Pause):unref(PlayOne)),{class:normalizeClass(["absolute text-white text-3xl opacity-80 cursor-pointer transition-opacity duration-300",{"opacity-100":w.value===Ce}]),onClick:oe=>z(Ce)},null,8,["onClick","class"]))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$a,[createBaseVNode("div",_hoisted_6$9,[createBaseVNode("h3",{class:"text-white text-sm hover:underline cursor-pointer",onClick:oe=>we(Ie.video.url)},toDisplayString(a.text),9,_hoisted_7$9),createBaseVNode("button",{onClick:oe=>me(Ie.audio.url),class:"w-8 h-8 text-white text-sm rounded-full hover:bg-gray-700 px-2 py-1 mr-2"},[createVNode(unref(DownloadOne),{size:"16"})],8,_hoisted_8$8)]),Ie.audio.url?(openBlock(),createElementBlock("div",_hoisted_9$8,[createBaseVNode("span",_hoisted_10$7,toDisplayString(X(q.value[Ce]||0)),1),createBaseVNode("div",_hoisted_11$6,[withDirectives(createBaseVNode("input",{type:"range",min:"0",max:"100",step:"1","onUpdate:modelValue":oe=>W.value[Ce]=oe,onInput:oe=>Y(Ce,oe),onChange:oe=>V(Ce,oe),class:"flex-grow flex max-w-full"},null,40,_hoisted_12$5),[[vModelText,W.value[Ce]]])]),createBaseVNode("span",_hoisted_13$4,toDisplayString(X($.value[Ce]||0)),1)])):createCommentVNode("",!0)]),createBaseVNode("audio",{ref_for:!0,ref_key:"audioRefs",ref:H,src:Ie.audio.url,onTimeupdate:oe=>J(Ce),hidden:""},null,40,_hoisted_14$4)],2))),128)),ye.fileInfo?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_15$4,[ye.status===2&&!Te.value?(openBlock(),createElementBlock("span",_hoisted_16$4)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":ye.status===2||!Te.value}]),innerHTML:Te.value},null,10,_hoisted_17$4)]))]),ye.status===3&&ye.action==="LYRICS"?(openBlock(),createElementBlock("div",_hoisted_18$4,[createBaseVNode("div",{class:"flex justify-start"},[createBaseVNode("button",{onClick:Z,class:"px-4 py-1 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 创作音乐 ")])])):createCommentVNode("",!0)],512),createBaseVNode("div",_hoisted_19$2,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_20$2,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ce},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_21$1,toDisplayString(unref(t)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:de},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_22$1,toDisplayString(unref(t)("chat.delete")),1)])])])])]),ae.value?(openBlock(),createElementBlock("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:_e},[createBaseVNode("div",{class:"relative p-0 rounded-md shadow-md max-w-full max-h-full",onClick:se[0]||(se[0]=withModifiers(()=>{},["stop"]))},[createVNode(unref(Close),{onClick:_e,class:"absolute top-2 -right-8 text-gray-500 hover:text-gray-600",size:"26"}),createBaseVNode("video",{src:he.value,controls:"",class:"w-full h-full rounded-md"},null,8,_hoisted_23$1)])])):createCommentVNode("",!0),R.value?(openBlock(),createElementBlock("div",_hoisted_24$1,[createBaseVNode("div",{class:normalizeClass(["bg-white p-6 w-full flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",[unref(n)?"w-full h-full":"max-h-[80vh] max-w-3xl rounded-lg shadow-lg"]])},[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:L}),_hoisted_25$1,createBaseVNode("div",_hoisted_26$1,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_27$1,[_hoisted_28$1,withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":se[1]||(se[1]=Ie=>v.value.title=Ie),class:"flex-1 p-2 text-lg font-semibold dark:bg-gray-900 dark:text-gray-400"},null,512),[[vModelText,v.value.title]])]),createBaseVNode("div",_hoisted_29$1,[createBaseVNode("div",_hoisted_30$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(y.value,(Ie,Ce)=>(openBlock(),createElementBlock("div",{key:Ce,class:"py-2"},[Ie.startsWith("[")&&Ie.endsWith("]")?(openBlock(),createElementBlock("span",_hoisted_31$1,toDisplayString(Ie),1)):withDirectives((openBlock(),createElementBlock("textarea",{key:1,"onUpdate:modelValue":oe=>y.value[Ce]=oe,class:"ml-3 flex-1 py-1 w-full dark:bg-gray-900 dark:text-gray-400",rows:"1",style:{resize:"none"}},null,8,_hoisted_32$1)),[[vModelText,y.value[Ce]]])]))),128))])])])]),createBaseVNode("div",_hoisted_33$1,[createBaseVNode("div",_hoisted_34$1,[createVNode(unref(ge$1),{as:"div",class:"relative inline-block text-left shadow-sm rounded-md group mr-4"},{default:withCtx(()=>[createVNode(unref(Se),{class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600 inline-flex w-full justify-center text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 group-hover:text-gray-900 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(P.value.title),1)]),_:1}),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full mb-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_35$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(O.value,(Ie,Ce)=>(openBlock(),createBlock(unref(be),{key:Ce},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:oe=>_(Ie)},[createBaseVNode("a",_hoisted_37$1,[createBaseVNode("div",_hoisted_38$1,toDisplayString(Ie.title),1)])],8,_hoisted_36$1)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1}),createVNode(unref(ge$1),{as:"div",class:"relative inline-block text-left shadow-sm rounded-md group"},{default:withCtx(()=>[createVNode(unref(Se),{class:"px-3 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600 inline-flex w-full justify-center text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 group-hover:text-gray-900 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(" 风格:"+toDisplayString(S.value.title),1)]),_:1}),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full mb-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto max-h-[60vh]"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_39$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(B.value,(Ie,Ce)=>(openBlock(),createBlock(unref(be),{key:Ce},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:oe=>l(Ie)},[createBaseVNode("a",_hoisted_41$1,[createBaseVNode("div",_hoisted_42$1,toDisplayString(Ie.title),1)])],8,_hoisted_40$1)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})]),createBaseVNode("div",{class:"flex justify-end"},[createBaseVNode("button",{onClick:L,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:D,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white rounded-md"}," 提交 ")])])],2)])):createCommentVNode("",!0)],64))}}),_hoisted_1$e={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_hoisted_2$d={class:"w-full h-full p-2"},_hoisted_3$c=["srcDoc"],_sfc_main$d=defineComponent({__name:"htmlModal",props:{text:{},close:{type:Function}},setup(b){const r=b,m=ref(null),w=ref(r.text),{isMobile:U}=useBasicLayout();watch(w,()=>{k()}),watchEffect(()=>{w.value=r.text});const k=()=>{if(m.value){const a=m.value.contentDocument;a&&(a.body.innerHTML=w.value)}},x=()=>{r.close()};return(a,g)=>(openBlock(),createElementBlock("div",_hoisted_1$e,[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:x}),createBaseVNode("div",{class:normalizeClass(["bg-white dark:bg-gray-900 w-full h-full p-4",[unref(U)?"flex-col":"flex"]])},[createBaseVNode("div",_hoisted_2$d,[createBaseVNode("iframe",{srcDoc:w.value,class:"box-border w-full h-full border rounded-md"},null,8,_hoisted_3$c)])],2)]))}}),htmlModal_vue_vue_type_style_index_0_scoped_1dd8d391_lang="",HtmlModal=_export_sfc(_sfc_main$d,[["__scopeId","data-v-1dd8d391"]]),_hoisted_1$d={class:"flex flex-col group w-full"},_hoisted_2$c={class:"text-wrap rounded-lg min-w-12 flex w-full flex-col"},_hoisted_3$b={key:0,class:"flex flex-col items-start",style:{"max-width":"100%"}},_hoisted_4$9={class:"w-full"},_hoisted_5$9={key:0,class:"loading-anchor"},_hoisted_6$8=["innerHTML"],_hoisted_7$8={key:0,class:"p-3 rounded-lg w-full bg-opacity dark:bg-gray-750 break-words",style:{"max-width":"100%"}},_hoisted_8$7=["textContent"],_hoisted_9$7={class:"flex p-3 items-center justify-center ring-1 ring-inset ring-gray-200 dark:ring-gray-700 rounded-lg hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700"},_hoisted_10$6={key:0,class:"flex-none mt-2 mb-1"},_hoisted_11$5={class:"mt-2 flex"},_hoisted_12$4={class:"flex text-sm"},_hoisted_13$3={class:"flex text-sm"},_hoisted_14$3=createBaseVNode("span",{class:"flex text-sm"},"取消",-1),_hoisted_15$3=createBaseVNode("span",{class:"flex text-sm"},"提交",-1),_hoisted_16$3=createBaseVNode("span",{class:"flex text-sm"},"编辑",-1),_hoisted_17$3=createBaseVNode("span",{class:"flex text-sm"},"重新生成",-1),_hoisted_18$3={class:"flex text-sm"},_sfc_main$c=defineComponent({__name:"index",props:{chatId:{},index:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["regenerate","delete","copy"],setup(b,{expose:r,emit:m}){const w=useAuthStore(),U=inject("onConversation"),k=inject("handleRegenerate"),x=b,a=ref(!1),g=ref(x.text),n=computed(()=>{var Te;return Number((Te=w.globalConfig)==null?void 0:Te.isHideTts)===1}),c=m,{isMobile:R}=useBasicLayout(),v=ref(),e=ref(x.ttsUrl),L=ref(""),O=ref(!1),B=ref("paused");let P=null;const S=ref(x.text),_=ref(!1),l=ref(null);function y(){l.value&&(l.value.style.height="auto",l.value.style.height=l.value.scrollHeight+"px")}function D(){S.value=x.text,_.value=!1}const M=computed(()=>B.value!=="paused"||_.value?"opacity-100":"opacity-0 group-hover:opacity-100");async function F(){if(!(B.value==="loading"||B.value==="playing")){if(e.value){N(e.value);return}B.value="loading";try{const me=(await fetchTtsAPIProces({chatId:x.chatId,prompt:x.text})).ttsUrl;if(me)e.value=me,N(me);else throw new Error("TTS URL is undefined")}catch{B.value="paused"}}}function N(Te){P&&P.pause(),P=new Audio(Te),P.play().then(()=>{B.value="playing"}).catch(me=>{B.value="paused"}),P.onended=()=>{B.value="paused",P=null}}function G(){P&&(P.pause(),B.value="paused")}function W(){B.value==="playing"?G():F()}const J=new MarkdownIt({linkify:!0,highlight(Te,me){if(!!(me&&HighlightJS.getLanguage(me))){const ce=me??"";return console.log("language",me),me==="html"&&(L.value=Te,O.value=!0,console.log("htmlContent",L.value)),X(HighlightJS.highlight(Te,{language:ce}).value,ce)}return X(HighlightJS.highlightAuto(Te).value,"")}});J.renderer.rules.image=function(Te,me,K,ce,de){const Z=Te[me],ae=Z.attrGet("src"),he=Z.attrGet("title"),we=Z.content;return`${we}`};const Y=computed(()=>x.fileInfo),V=computed(()=>Y.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(Y.value):!1),H=computed(()=>Y.value?/\.(jpg|jpeg|png|gif|webp)$/i.test(Y.value):!1);J.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),J.use(mdKatex,{blockClass:"katexmath-block p-0 flex h-full items-center justify-start",inlineClass:"katexmath-inline",errorColor:" #cc0000"});const z=computed(()=>{const me=(x.text??"").replace(/\\\(\s*/g,"$").replace(/\s*\\\)/g,"$").replace(/\\\[\s*/g,"$$").replace(/\s*\\\]/g,"$$");return x.asRawText?me:J.render(me)});function X(Te,me){return`
    ${me}${t("chat.copyCode")}
    ${Te}
    `}async function q(){g.value=x.text,a.value=!0}function $(){a.value=!1}async function fe(){if(_.value){const Te=S.value;await U({msg:Te,chatId:x.chatId}),_.value=!1}else S.value=x.text,_.value=!0,await nextTick(),y()}function Q(){c("copy")}function ie(){c("delete")}return r({textRef:v}),onMounted(()=>{var K;const Te=(K=document.querySelector(".preview-button"))==null?void 0:K.id,me=Te?document.getElementById(Te):null;me&&me.addEventListener("click",q)}),(Te,me)=>(openBlock(),createElementBlock("div",_hoisted_1$d,[createBaseVNode("div",_hoisted_2$c,[createBaseVNode("div",{ref_key:"textRef",ref:v,class:"flex w-full"},[Te.inversion?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex justify-end w-full",[unref(R)?"pl-20":"pl-28 "]]),style:{"max-width":"100%"}},[_.value?(openBlock(),createElementBlock("div",_hoisted_7$8,[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":me[0]||(me[0]=K=>S.value=K),class:"min-w-full text-base resize-none overflow-hidden bg-transparent whitespace-pre-wrap text-gray-950 dark:text-gray-100",onInput:y,onKeydown:withKeys(fe,["enter"]),ref_key:"textarea",ref:l},null,544),[[vModelText,S.value]])])):(openBlock(),createElementBlock("div",{key:1,class:"p-3 rounded-lg text-base bg-opacity dark:bg-gray-750 break-words whitespace-pre-wrap text-gray-950 dark:text-gray-100",textContent:toDisplayString(z.value),style:{"max-width":"100%"}},null,8,_hoisted_8$7))],2)):(openBlock(),createElementBlock("div",_hoisted_3$b,[createBaseVNode("div",_hoisted_4$9,[Te.loading&&!z.value?(openBlock(),createElementBlock("span",_hoisted_5$9)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["markdown-body text-gray-950 dark:text-gray-100",{"markdown-body-generate":Te.loading||!z.value}]),innerHTML:z.value},null,10,_hoisted_6$8)])]))],512),Y.value&&!H.value&&!V.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["my-1 flex w-full",[{"justify-end":Te.inversion}]])},[createBaseVNode("div",_hoisted_9$7,[createBaseVNode("span",null,toDisplayString(unref(t)("chat.fileAnalysis")),1)])],2)):createCommentVNode("",!0),Y.value&&H.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["mt-2 flex w-full",[{" justify-end":Te.inversion}]]),style:normalizeStyle({maxHeight:unref(R)?"":"30vh",maxWidth:(unref(R),"100%")})},[createVNode(unref(NImage),{src:Y.value,"preview-src":Y.value,alt:"图片",class:normalizeClass(["rounded-md flex w-full",[{" justify-end":Te.inversion}]])},null,8,["src","preview-src","class"])],6)):createCommentVNode("",!0)]),O.value&&!Te.inversion?(openBlock(),createElementBlock("div",_hoisted_10$6,[createBaseVNode("div",{class:"flex justify-start"},[createBaseVNode("button",{onClick:q,class:"px-4 py-1 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 预览代码 ")])])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["flex transition-opacity duration-300 text-gray-700 ",M.value,{"justify-end":Te.inversion}])},[createBaseVNode("div",_hoisted_11$5,[_.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:0,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Q},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_12$4,toDisplayString(unref(t)("chat.copy")),1)])),_.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:1,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ie},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_13$3,toDisplayString(unref(t)("chat.delete")),1)])),_.value?(openBlock(),createElementBlock("button",{key:2,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:D},[createVNode(unref(Close),{class:"mr-1"}),_hoisted_14$3])):createCommentVNode("",!0),_.value?(openBlock(),createElementBlock("button",{key:3,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:fe},[createVNode(unref(Send),{class:"mr-1"}),_hoisted_15$3])):createCommentVNode("",!0),Te.inversion&&!_.value&&Te.modelType===1?(openBlock(),createElementBlock("button",{key:4,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:fe},[createVNode(unref(Edit),{class:"mr-1"}),_hoisted_16$3])):createCommentVNode("",!0),!Te.inversion&&Te.modelType===1?(openBlock(),createElementBlock("button",{key:5,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:me[1]||(me[1]=K=>unref(k)(Te.index,Te.chatId))},[createVNode(unref(Refresh),{class:"mr-1"}),_hoisted_17$3])):createCommentVNode("",!0),!Te.inversion&&!n.value?(openBlock(),createElementBlock("button",{key:6,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:W},[B.value==="paused"?(openBlock(),createBlock(unref(VoiceMessage),{key:0,class:"flex mr-1"})):createCommentVNode("",!0),B.value==="loading"?(openBlock(),createBlock(unref(Rotation),{key:1,class:"rotate-icon flex mr-1"})):B.value==="playing"?(openBlock(),createBlock(unref(PauseOne),{key:2,class:"flex mr-1"})):createCommentVNode("",!0),createBaseVNode("span",_hoisted_18$3,toDisplayString(B.value==="playing"?unref(t)("chat.pause"):B.value==="loading"?unref(t)("chat.loading"):unref(t)("chat.readAloud")),1)])):createCommentVNode("",!0)])],2),a.value?(openBlock(),createBlock(HtmlModal,{key:1,text:L.value,close:$},null,8,["text"])):createCommentVNode("",!0)]))}}),index_vue_vue_type_style_index_0_lang$1="",_hoisted_1$c={class:"flex flex-col group max-w-full"},_hoisted_2$b={class:"flex flex-col items-start"},_hoisted_3$a={class:"w-full"},_hoisted_4$8={key:0,class:"loading-anchor"},_hoisted_5$8=["innerHTML"],_hoisted_6$7=["src"],_hoisted_7$7={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},_hoisted_8$6={class:"mt-1 flex"},_hoisted_9$6={class:"flex text-sm"},_hoisted_10$5={class:"flex text-sm"},_sfc_main$b=defineComponent({__name:"Video",props:{inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(b,{expose:r,emit:m}){const w=b,U=m,{isMobile:k}=useBasicLayout();let x;watch(()=>w.status,P=>{x!==void 0&&(clearInterval(x),x=void 0),P===2&&(x=window.setInterval(async()=>{await g.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{x!==void 0&&clearInterval(x)});const a=ref(),g=useChatStore(),n=new MarkdownIt({linkify:!0,highlight(P,S){if(!!(S&&HighlightJS.getLanguage(S))){const l=S??"";return v(HighlightJS.highlight(P,{language:l}).value,l)}return v(HighlightJS.highlightAuto(P).value,"")}}),c=computed(()=>w.fileInfo);n.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),n.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const R=computed(()=>{const P=w.text??"";return w.asRawText?P:n.render(P)});function v(P,S){return`
    ${S}${t("chat.copyCode")}
    ${P}
    `}function e(){U("copy")}function L(){U("delete")}r({textRef:a});const O=ref("paused"),B=computed(()=>O.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");return(P,S)=>(openBlock(),createElementBlock("div",_hoisted_1$c,[createBaseVNode("div",{ref_key:"textRef",ref:a,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_2$b,[createBaseVNode("div",_hoisted_3$a,[P.status===2&&!R.value?(openBlock(),createElementBlock("span",_hoisted_4$8)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":P.status===2||!R.value}]),innerHTML:R.value},null,10,_hoisted_5$8)]),createBaseVNode("div",null,[withDirectives((openBlock(),createElementBlock("div",{key:c.value},[createBaseVNode("video",{src:c.value,controls:"",class:"rounded-md flex",style:normalizeStyle({maxWidth:unref(k)?"90%":"30vw",maxHeight:unref(k)?"":"30vh"})}," 您的浏览器不支持视频标签。 ",12,_hoisted_6$7)])),[[vShow,c.value]])])])],512),createBaseVNode("div",_hoisted_7$7,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",{class:"my-1 flex w-auto",style:normalizeStyle({maxWidth:unref(k)?"100%":"25rem"})},null,4)])])]),createBaseVNode("div",{class:normalizeClass(["flex transition-opacity duration-300 text-gray-700",B.value])},[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_8$6,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:e},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_9$6,toDisplayString(unref(t)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:L},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_10$5,toDisplayString(unref(t)("chat.delete")),1)])])])],2)]))}}),Video_vue_vue_type_style_index_0_lang="",_hoisted_1$b={class:"flex items-center justify-center flex-shrink-0 mr-2"},_hoisted_2$a={class:"overflow-hidden text-sm items-start w-full"},_hoisted_3$9={class:"flex items-end gap-1 flex-row"},_sfc_main$a=defineComponent({__name:"index",props:{chatId:{},dateTime:{},text:{},model:{},modelName:{},modelType:{},status:{},inversion:{type:Boolean},loading:{type:Boolean},fileInfo:{},ttsUrl:{},videoUrl:{},audioUrl:{},drawId:{},extend:{},customId:{},modelAvatar:{},action:{},taskData:{},pluginParam:{},index:{}},emits:["regenerate","delete"],setup(b,{emit:r}){const m=b,w=r,U=useMessage(),k=ref(),x=ref(m.inversion),a=ref();function g(){w("delete")}function n(){copyText({text:m.text??""}),m.text&&U.success("复制成功!")}function c(){var R;(R=a.value)==null||R.scrollIntoView(),w("regenerate")}return(R,v)=>(openBlock(),createElementBlock("div",{ref_key:"messageRef",ref:a,class:"flex w-full my-2 overflow-hidden items-start flex-row'"},[createVNode(unref(NTooltip),{trigger:"hover",placement:"top-start"},{trigger:withCtx(()=>[createBaseVNode("div",_hoisted_1$b,[R.inversion?createCommentVNode("",!0):(openBlock(),createBlock(_sfc_main$i,{key:0,image:R.inversion,model:R.model,modelAvatar:R.modelAvatar},null,8,["image","model","modelAvatar"]))])]),default:withCtx(()=>[createTextVNode(" "+toDisplayString(R.modelName),1)]),_:1}),createBaseVNode("div",_hoisted_2$a,[createBaseVNode("div",_hoisted_3$9,[R.pluginParam==="mind-map"&&!R.inversion?(openBlock(),createBlock(_sfc_main$f,{key:0,ref_key:"textRef",ref:k,inversion:R.inversion,drawId:R.drawId,extend:R.extend,customId:R.customId,text:R.text,modelType:R.modelType,fileInfo:R.fileInfo,ttsUrl:R.ttsUrl,model:R.model,modelName:R.modelName,loading:R.loading,status:R.status,"as-raw-text":x.value,onRegenerate:c,onCopy:n,onDelete:g},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):R.model==="luma-video"&&!R.inversion?(openBlock(),createBlock(_sfc_main$b,{key:1,ref_key:"textRef",ref:k,inversion:R.inversion,drawId:R.drawId,extend:R.extend,customId:R.customId,text:R.text,modelType:R.modelType,fileInfo:R.fileInfo,ttsUrl:R.ttsUrl,audioUrl:R.audioUrl,videoUrl:R.videoUrl,model:R.model,modelName:R.modelName,loading:R.loading,status:R.status,"as-raw-text":x.value,action:R.action,taskData:R.taskData,modelAvatar:R.modelAvatar,onRegenerate:c,onCopy:n,onDelete:g},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):R.model==="suno-v3"&&!R.inversion?(openBlock(),createBlock(_sfc_main$e,{key:2,ref_key:"textRef",ref:k,inversion:R.inversion,drawId:R.drawId,extend:R.extend,customId:R.customId,text:R.text,modelType:R.modelType,fileInfo:R.fileInfo,ttsUrl:R.ttsUrl,audioUrl:R.audioUrl,videoUrl:R.videoUrl,model:R.model,modelName:R.modelName,loading:R.loading,status:R.status,"as-raw-text":x.value,action:R.action,taskData:R.taskData,modelAvatar:R.modelAvatar,onRegenerate:c,onCopy:n,onDelete:g},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):R.modelType===2&&!R.inversion?(openBlock(),createBlock(_sfc_main$h,{key:3,ref_key:"textRef",ref:k,inversion:R.inversion,drawId:R.drawId,extend:R.extend,customId:R.customId,text:R.text,modelType:R.modelType,fileInfo:R.fileInfo,ttsUrl:R.ttsUrl,model:R.model,modelName:R.modelName,loading:R.loading,status:R.status,"as-raw-text":x.value,onRegenerate:c,onCopy:n,onDelete:g},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(openBlock(),createBlock(_sfc_main$c,{key:4,ref_key:"textRef",ref:k,index:R.index,modelName:R.modelName,chatId:R.chatId,inversion:R.inversion,text:R.text,modelType:R.modelType,fileInfo:R.fileInfo,ttsUrl:R.ttsUrl,model:R.model,loading:R.loading,"as-raw-text":x.value,onRegenerate:c,onCopy:n,onDelete:g},null,8,["index","modelName","chatId","inversion","text","modelType","fileInfo","ttsUrl","model","loading","as-raw-text"]))])])],512))}}),defaultPreset=[{title:"英语翻译官",prompt:"我希望你能担任英语翻译、拼写校对和修辞改进的角色。我会用任何语言和你交流,你会识别语言,将其翻译并用更为优美和精炼的英语回答我。请将我简单的词汇和句子替换成更为优美和高雅的表达方式,确保意思不变,但使其更具文学性。请仅回答更正和改进的部分,不要写解释。我的第一句话是“how are you ?”,请翻译它。",icon:"ri:ai-generate"},{title:"心理学家",prompt:"我想让你扮演一个心理学家。我会告诉你我的想法。我希望你能给我科学的建议,让我感觉更好。我的第一个想法,{ 在这里输入你的想法,如果你解释得更详细,我想你会得到更准确的答案。}",icon:"ri:heart-line"},{title:"产品经理",prompt:"请确认我的以下请求。请您作为产品经理回复我。我将会提供一个主题,您将帮助我编写一份包括以下章节标题的PRD文档:主题、简介、问题陈述、目标与目的、用户故事、技术要求、收益、KPI指标、开发风险以及结论。在我要求具体主题、功能或开发的PRD之前,请不要先写任何一份PRD文档。",icon:"ri:projector-line"},{title:"如何学做菜",prompt:"我要你做我的私人厨师。我会告诉你我的饮食偏好和过敏,你会建议我尝试的食谱。你应该只回复你推荐的食谱,别无其他。不要写解释。我的第一个请求是“我是一名素食主义者,我正在寻找健康的晚餐点子。”",icon:"ri:restaurant-line"},{title:"规划一个去上海的旅游攻略 参观博物馆",prompt:"我想让你做一个旅游指南。我会把我的位置写给你,你会推荐一个靠近我的位置的地方。在某些情况下,我还会告诉您我将访问的地方类型。您还会向我推荐靠近我的第一个位置的类似类型的地方。我的第一个建议请求是“我在上海,我只想参观博物馆。”",icon:"ri:map-pin-line"},{title:"穿越时空",prompt:"如果你能穿越时空,你会去哪个时代?",icon:"ri:time-line"},{title:"量子力学",prompt:"解释一下量子力学是什么?",icon:"ri:flask-line"},{title:"人工智能",prompt:"介绍一下人工智能的历史",icon:"ri:robot-line"},{title:"深度学习",prompt:"讲解一下深度学习是如何工作的?",icon:"ri:brain-line"},{title:"冯诺依曼体系结构",prompt:"请举例说明什么是冯诺依曼体系结构?",icon:"ri:computer-line"},{title:"红楼梦情感分析",prompt:"请分析《红楼梦》中林黛玉与贾宝玉的情感关系。",icon:"ri:book-2-line"},{title:"100米短跑训练",prompt:"如何训练才能提高100米短跑成绩?",icon:"ri:run-line"},{title:"北京旅游攻略",prompt:"请推荐一份适合初次来中国的外国人的北京旅游攻略。",icon:"ri:road-map-line"},{title:"低GI饮食",prompt:"什么是低GI饮食?这种饮食有哪些好处?",icon:"ri:restaurant-2-line",iconColor:"text-orange-500"},{title:"全球环境问题",prompt:"请列出目前全球主要面临的三大环境问题,并简单阐述其影响和应对措施。",icon:"ri:earth-line"},{title:"提高社交影响力",prompt:"在社交场合,如何提高自己的感染力和影响力?",icon:"ri:team-line"},{title:"地中海地理特征",prompt:"请描述一下地中海的地理特征,以及这些特征对于古代世界的影响。",icon:"ri:map-pin-line"},{title:"《肖申克的救赎》影评",prompt:"请评价电影《肖申克的救赎》的剧情、角色塑造和拍摄手法。",icon:"ri:film-line"},{title:"苹果公司成功分析",prompt:"为什么苹果公司的产品总是比其他公司的产品更受欢迎?请从市场策略、产品设计、品牌形象等方面进行分析。",icon:"ri:apple-line"},{title:"健康饮食计划",prompt:"如何制定一份健康的饮食计划?",icon:"ri:heart-line"},{title:"编程学习指南",prompt:"怎样学习编程?",icon:"ri:code-line"},{title:"巴厘岛旅游景点",prompt:"在巴厘岛旅游有哪些值得参观的景点?",icon:"ri:map-pin-2-line"},{title:"处理亲密关系分歧",prompt:"如何处理亲密关系中的分歧?",icon:"ri:heart-2-line"},{title:"费马大定理证明",prompt:"如何证明费马大定理?",icon:"ri:function-line"},{title:"吸烟相关疾病预防",prompt:"长期吸烟引起的疾病有哪些?应该如何预防?",icon:"ri:lungs-line"},{title:"克服拖延症",prompt:"如何克服拖延症?",icon:"ri:time-line"},{title:"减少家庭垃圾",prompt:"如何减少家庭垃圾产生?",icon:"ri:recycle-line"},{title:"股票价值评估",prompt:"如何评估股票的价值?",icon:"ri:stock-line"},{title:"自信的社交表现",prompt:"如何在社交场合自信地表现自己?",icon:"ri:team-line"},{title:"推荐科幻电影",prompt:"给我一个最近评分不错的科幻电影的名字和简介",icon:"ri:movie-line"},{title:"英文翻译校对",prompt:"将下面这句英文翻译成中文并纠正其中的语法错误:'Me and him goes to the store yesterday.'",icon:"ri:translate-2",iconColor:"text-orange-500"},{title:"科技类大市值股票",prompt:"给我一些市值超过1000亿美元的科技类股票",icon:"ri:bar-chart-box-line"},{title:"商品销售量预测",prompt:"基于历史销售数据,预测下周某商品的销售量。",icon:"ri:line-chart-line",iconColor:"text-cyan-500"},{title:"思念诗歌创作",prompt:"请用七言绝句写一首表达思念之情的诗歌。",icon:"ri:quill-pen-line"},{title:"情侣约会餐厅推荐",prompt:"给我一个适合情侣约会的餐厅的名字和地址。",icon:"ri:restaurant-2-line"},{title:"西班牙旅游行程规划",prompt:"我计划去西班牙旅游,请帮我安排一个10天的行程。",icon:"ri:suitcase-3-line",iconColor:"text-orange-500"},{title:"电影分类归类",prompt:"将电影从爱情片、动作片和恐怖片三种分类中分别归类。",icon:"ri:film-line"},{title:"豆腐美食推荐",prompt:"推荐一道以豆腐为主要原料的美食,附上制作方法。",icon:"ri:restaurant-line"},{title:"流行华语歌曲推荐",prompt:"推荐最近流行的三首华语歌曲,并简要介绍它们的风格和歌词主题。",icon:"ri:music-line"},{title:"减少塑料污染生活指南",prompt:"请提供三条减少塑料污染的生活指南。",icon:"ri:leaf-line"},{title:"团队合作处理矛盾",prompt:"如何在团队合作中处理与同事之间的矛盾?",icon:"ri:team-line"},{title:"前景股票投资",prompt:"你认为现在买入哪些股票比较有前景?",icon:"ri:stock-line"},{title:"科幻片推荐",prompt:"你能否给我推荐一部最近上映的好看的科幻片?",icon:"ri:film-line"},{title:"三亚旅游攻略",prompt:"希望去三亚旅游,你能提供一份详细的旅游攻略吗?",icon:"ri:suitcase-2-line",iconColor:"text-orange-500"},{title:"意大利面烹饪技巧",prompt:"我想学做意大利面,你有什么简单易学的做法推荐吗?",icon:"ri:restaurant-line"},{title:"缓解焦虑的方法",prompt:"我感到很紧张,有什么方法能够缓解焦虑吗?",icon:"ri:heart-pulse-line"},{title:"电商平台投诉处理",prompt:"我在某电商平台购买的商品质量不佳,该如何向平台进行投诉处理?",icon:"ri:feedback-line"},{title:"有效学外语的方法",prompt:"你觉得学外语最有效的方法是什么?",icon:"ri:translate-2"},{title:"职场发展建议",prompt:"我正在寻找新的工作机会,有哪些职业领域前景较好?",icon:"ri:briefcase-line",iconColor:"text-cyan-500"},{title:"日本旅游攻略",prompt:"提供至少三个去日本旅游必去的景点,并描述其特色和适合的旅游时间。",icon:"ri:map-pin-line"},{title:"提高保险销售业绩",prompt:"如何提高保险销售员的业绩?",icon:"ri:money-dollar-box-line"},{title:"公司网站改版建议",prompt:"公司网站需要进行改版,请列举至少五个需要更新的页面元素并说明更新的理由。",icon:"ri:layout-5-line"},{title:"印度首都查询",prompt:"请问印度的首都是哪里?",icon:"ri:flag-line"},{title:"红旗渠修建历史",prompt:"请问红旗渠修建的时间和地点分别是什么?",icon:"ri:history-line"},{title:"DNA结构与功能",prompt:"请简要介绍一下DNA的结构及其功能。",icon:"ri:dna-line"},{title:"GDP定义与计算",prompt:"请问什么是GDP?如何计算GDP?",icon:"ri:bar-chart-2-line"},{title:"原子核组成",prompt:"请问原子核由哪些粒子组成?它们各自的电荷和质量分别是多少?",icon:"ri:leaf-line"},{title:"莫扎特代表作",prompt:"请问莫扎特的代表作有哪些?",icon:"ri:music-2-line"},{title:"汉字词源",prompt:"请问“汉字”这个词最早出现的时间和在哪本书中出现的?",icon:"ri:book-line",iconColor:"text-orange-500"},{title:"全运会历史",prompt:"请问全运会是哪年开始举办的?每隔几年举办一次?",icon:"ri:football-line"},{title:"石油用途",prompt:"请问石油的主要用途有哪些?",icon:"ri:oil-line"},{title:"心脏起搏器介绍",prompt:"请简要介绍一下心脏起搏器的原理和使用方法。",icon:"ri:heart-2-line",iconColor:"text-cyan-500"},{title:"观众情感分析",prompt:"这部电影的观众反应如何?",icon:"ri:emotion-laugh-line"},{title:"沙滩美景短文",prompt:"请写出一篇描述橙色阳光下沙滩美景的短文。",icon:"ri:sun-line",iconColor:"text-orange-500"},{title:"亚马逊财报数据查询",prompt:"亚马逊公司的年度财报数据是多少?",icon:"ri:money-dollar-box-line"},{title:"苹果新产品新闻",prompt:"请问最近有关于苹果公司新发布产品的新闻吗?",icon:"ri:apple-line"},{title:"一加与华为手机性能对比",prompt:"请比较一加手机和华为手机的性能差异。",icon:"ri:smartphone-line"},{title:"文章主要观点提取",prompt:"请从这篇文章中提取出主要观点。",icon:"ri:article-line"},{title:"用户意图分类",prompt:"用户输入“我想要预定机票”,它的意图是什么?",icon:"ri:question-line"},{title:"文章可读性修改",prompt:"请编辑这篇文章,使得它更易读。",icon:"ri:edit-line"},{title:"星期推理",prompt:"如果今天是星期三,那么后天是星期几?",icon:"ri:calendar-line",iconColor:"text-cyan-500"},{title:"微软创始人查询",prompt:"谁创办了微软公司?",icon:"ri:building-4-line"},{title:"电影类型分类",prompt:"这个电影是哪个类型的?",icon:"ri:film-line"},{title:"乐器描述",prompt:"描述一下你最喜欢的乐器。",icon:"ri:music-line",iconColor:"text-orange-500"},{title:"句子改写",prompt:"请改写这句话:“天空飘着几朵云彩。”",icon:"ri:edit-2-line"},{title:"书籍对比",prompt:"这本书和那本书有什么区别?",icon:"ri:book-line"},{title:"自然风景描写",prompt:"写一段自然风景的描写。",icon:"ri:landscape-line"},{title:"音乐年代分类",prompt:"这首歌曲属于哪个年代的音乐?",icon:"ri:music-2-line"},{title:"餐厅美食对比",prompt:"这家餐厅和那家餐厅哪家更好吃?",icon:"ri:restaurant-line"},{title:"电影喜好",prompt:"把这句话翻译成英文:“我喜欢看电影,尤其是科幻电影。”",icon:"ri:movie-line"},{title:"理想度假胜地描述",prompt:"描述一下你理想中的度假胜地。",icon:"ri:tree-line",iconColor:"text-orange-500"},{title:"动物分类",prompt:"这个动物属于哪个门类?",icon:"ri:bug-line"},{title:"新闻摘要生成",prompt:"请问如何利用 GPT-3.5 生成一篇 100 字左右的新闻摘要?",icon:"ri:newspaper-line"},{title:"自动翻译实现",prompt:"请问如何让 GPT-3.5 实现从中文到英文的自动翻译?",icon:"ri:translate"},{title:"全球医疗保健评价",prompt:"你如何评价当前全球范围内的医疗保健体系?",icon:"ri:stethoscope-line"},{title:"文化多样性保护",prompt:"请问有哪些国家在法律层面上保护本国的文化多样性?",icon:"ri:global-line"},{title:"新能源普及国家",prompt:"现今世界上使用新能源最为普及的国家是哪些?",icon:"ri:flashlight-line"},{title:"股市走势预测",prompt:"你认为全球股市未来一个季度会走势如何?",icon:"ri:line-chart-line",iconColor:"text-orange-500"},{title:"前沿科技研究",prompt:"请列举一些目前全球前沿的科技研究领域。",icon:"ri:rocket-line"},{title:"社交媒体影响",prompt:"社交媒体对年轻人的影响有哪些?",icon:"ri:chat-3-line"},{title:"电商平台市场份额",prompt:"当前哪些电商平台在全球拥有最大的市场份额?",icon:"ri:shopping-cart-line",iconColor:"text-cyan-500"},{title:"气候变化影响",prompt:"气候变化对世界各地造成了哪些影响?",icon:"ri:sun-cloudy-line"},{title:"全球顶尖大学排名",prompt:"请问哪些国家拥有全球最顶尖的大学排名?",icon:"ri:school-line",iconColor:"text-orange-500"},{title:"手机发明者",prompt:"手机是谁发明的?",icon:"ri:smartphone-line"},{title:"旅行故事创作",prompt:"给我写一个关于旅行的故事。",icon:"ri:suitcase-3-line"},{title:"文章情感分析",prompt:"这篇文章中的情感倾向是积极、消极还是中性?",icon:"ri:emotion-line"},{title:"拼写错误纠正",prompt:"句子中的哪个单词拼写有误:“昨天我去了餐馆,品尝了他们的招牌菜。”",icon:"ri:check-line"},{title:"文章摘要生成",prompt:"请为这篇长文章生成一段简要的摘要。",icon:"ri:file-text-line"},{title:"任务执行指令",prompt:"请告诉我现在怎么做。",icon:"ri:task-line",iconColor:"text-orange-500"},{title:"明朝社会阶层研究",prompt:"针对明朝时期的社会阶层结构,你能列出几种不同的人群并描述他们的特征吗?",icon:"ri:book-line",iconColor:"text-brown-500"},{title:"物种区别解释",prompt:"两个相似物种的区别在哪里?请用一种易于理解的方式解释。",icon:"ri:leaf-line"},{title:"政治参与度分析",prompt:"哪些因素影响政治参与度?你认为如何激发公民参与政治?",icon:"ri:government-line"},{title:"情感分析技术",prompt:"如何利用自然语言处理技术进行情感分析?您可以列举一些常见的情感分析算法和应用场景吗?",icon:"ri:emotion-line"},{title:"经济发展水平衡量",prompt:"如何衡量一个国家的经济发展水平?您如何评估不同国家之间的贸易关系?",icon:"ri:money-dollar-circle-line"},{title:"机器学习简介",prompt:"讲述一下什么是机器学习,以及它在现代计算机科学中扮演的角色。",icon:"ri:robot-line"},{title:"气候变化影响",prompt:"近年来,气候变化对我们的环境造成了哪些影响?未来还可能会引起哪些灾难?",icon:"ri:sun-cloudy-line"},{title:"创新教育方法",prompt:"教师应该如何培养学生的创新思维和实践能力?您认为有效的教育方法是什么?",icon:"ri:lightbulb-line",iconColor:"text-orange-500"},{title:"学习心理素质",prompt:"学习一门新技能需要哪些心理素质?如何在学习过程中保持积极的情绪状态?",icon:"ri:psychotherapy-line"},{title:"未来科技趋势",prompt:"未来科技发展的趋势是什么?您认为会有哪些领域会得到革命性的改变?",icon:"ri:rocket-line"},{title:"电影推荐",prompt:"根据我的口味推荐一部近期上映的电影。",icon:"ri:film-line"},{title:"手机产品比较",prompt:"请分析一下 iPhone 和 Android 手机的优缺点,说明它们适合不同的用户群体。",icon:"ri:smartphone-line"},{title:"新闻头条创作",prompt:"请为明天的头条新闻写一个简短但有吸引力的标题,并提出三个相关问题。",icon:"ri:newspaper-line",iconColor:"text-orange-500"},{title:"市场零食品牌分析",prompt:"请列举五种最受欢迎的零食品牌,并分析其在市场上的竞争优势。",icon:"ri:shopping-bag-line"},{title:"自然之美短文",prompt:"请根据以下关键词写一篇题为“自然之美”的 300 字左右的短文:山水、湖泊、森林、鸟儿、日出日落。",icon:"ri:palette-line"},{title:"英文文本编辑",prompt:"翻译以下这段英文,同时对其进行适当的调整和编辑:He was lay down.",icon:"ri:edit-line"},{title:"近期电影推荐",prompt:"可以给我推荐几部最近比较值得观看的电影吗?",icon:"ri:film-line"},{title:"马克思主义知识问答",prompt:"马克思主义的基本原理是什么?",icon:"ri:questionnaire-line"},{title:"北京旅游攻略",prompt:"如果想去北京旅游,有哪些必去的景点和美食呢?",icon:"ri:road-map-line",iconColor:"text-orange-500"},{title:"经济形势分析",prompt:"分析一下目前国内外经济形势,对未来的发展有何预测?",icon:"ri:line-chart-line"},{title:"文章情感分类",prompt:"这篇文章是正面的还是负面的?",icon:"ri:emotion-line"},{title:"写作效率提升方法",prompt:"有哪些方法可以提高写作效率?",icon:"ri:keyboard-box-line"},{title:"电子书与纸质书对比",prompt:"阅读电子书和纸质书有什么区别?",icon:"ri:book-2-line"},{title:"论文语法修改",prompt:"请帮我修改这篇论文中的语法错误。",icon:"ri:file-edit-line"},{title:"人工智能知识查询",prompt:"什么是人工智能?",icon:"ri:robot-line"},{title:"实体识别",prompt:"在这段文字中,'苹果'指的是手机品牌还是水果?",icon:"ri:barcode-box-line"},{title:"文章主题分类",prompt:"这篇文章的主题是什么?",icon:"ri:layout-line",iconColor:"text-orange-500"},{title:"文章摘要生成",prompt:"请用一句话概括这篇文章的核心内容。",icon:"ri:file-text-line"},{title:"新上映电影推荐",prompt:"有哪些值得一看的新上映电影?",icon:"ri:movie-line"},{title:"欧洲杯赛程",prompt:"请列出近期欧洲杯足球赛程表。",icon:"ri:trophy-line",iconColor:"text-gold-500"},{title:"健康饮食方案",prompt:"有哪些适合控制体重的健康饮食方案?",icon:"ri:restaurant-line",iconColor:"text-orange-500"},{title:"日本旅游攻略",prompt:"如果我想去日本旅游,应该怎样规划我的行程和预算?",icon:"ri:suitcase-line"},{title:"最新科技新闻",prompt:"有哪些最近的科技进展值得关注?",icon:"ri:news-line"},{title:"编程语言选择",prompt:"当你需要开发一个新项目时,该如何选择合适的编程语言?",icon:"ri:code-box-line"},{title:"健康饮食搭配",prompt:"请问在平衡健康饮食方面,应该怎样搭配膳食结构?",icon:"ri:restaurant-2-line"},{title:"科技公司伦理标准",prompt:"微软、谷歌等科技公司是否有明确的伦理标准?如果有,请简要列举这些标准。",icon:"ri:shield-check-line"},{title:"机器人研究方向",prompt:"机器人研究领域都包括哪些方向?",icon:"ri:robot-line"},{title:"气候变化影响",prompt:"你认为气候变化对人类有哪些不利影响?",icon:"ri:cloud-windy-line"}],_hoisted_1$a={class:"mb-10 rounded px-4 py-2 text-center text-3xl font-bold text-primary-500"},_hoisted_2$9={key:0,class:"w-full md:max-w-[40rem]"},_hoisted_3$8={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4"},_hoisted_4$7=["onClick"],_hoisted_5$7={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},_sfc_main$9=defineComponent({__name:"index",setup(b){var e;const r=inject("onConversation"),m=useAuthStore(),w=useChatStore(),U=computed(()=>w.groupList),{isMobile:k}=useBasicLayout(),x=ref(),a=computed(()=>{var L;return Number((L=m.globalConfig)==null?void 0:L.isHideDefaultPreset)===1}),g=()=>{x.value=defaultPreset.sort(()=>.5-Math.random()).slice(0,4)};onMounted(()=>{g()}),onMounted(()=>{g()});const n=((e=m.globalConfig)==null?void 0:e.siteName)||"AIWeb",c=inject("createNewChatGroup",()=>Promise.resolve());async function R(L){U.value.length===0&&await c();const{appId:O,prompt:B}=L;if(O&&O>0)try{await w.addNewChatGroup(O),await w.queryMyGroup()}catch{}else r({msg:B})}const v=()=>{const L=["text-red-500","text-blue-500","text-green-500","text-yellow-500","text-purple-500","text-pink-500","text-indigo-500"];return L[Math.floor(Math.random()*L.length)]};return(L,O)=>(openBlock(),createElementBlock("div",{class:normalizeClass([[unref(k)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[createBaseVNode("h1",_hoisted_1$a,toDisplayString(unref(n)),1),a.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_2$9,[createBaseVNode("div",_hoisted_3$8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(x.value,B=>(openBlock(),createElementBlock("div",{key:B.title,class:"space-y-4"},[createBaseVNode("button",{onClick:P=>R(B),class:"relative shadow-sm flex flex-col gap-2 rounded-xl ring-1 ring-gray-200 dark:ring-gray-700 px-3 pb-4 pt-3 text-start align-top text-sm transition dark:bg-gray-800 dark:hover:bg-gray-750 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[createVNode(unref(_sfc_main$j),{icon:B.icon,class:normalizeClass(["mb-3 inline-block text-base absolute top-3 left-3",v()])},null,8,["icon","class"]),createBaseVNode("div",_hoisted_5$7,toDisplayString(B.title),1)],8,_hoisted_4$7)]))),128))])]))],2))}}),_hoisted_1$9={class:"w-full md:max-w-[40rem] mb-4"},_hoisted_2$8={class:"flex items-center justify-center"},_hoisted_3$7={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},_hoisted_4$6=["src"],_hoisted_5$6={class:"text-white text-sm md:text-lg"},_hoisted_6$6={class:"rounded px-4 py-2 text-3xl font-bold text-primary-500"},_hoisted_7$6={class:"w-full md:max-w-[40rem] mb-5"},_hoisted_8$5={class:"flex items-center justify-center"},_hoisted_9$5={class:"w-full md:max-w-[40rem] mt-2"},_hoisted_10$4={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4 justify-center"},_hoisted_11$4=["onClick"],_hoisted_12$3={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},_sfc_main$8=defineComponent({__name:"index",props:{appId:{}},setup(b){const{isMobile:r}=useBasicLayout(),m=ref(null),w=b,U=inject("onConversation"),k=async g=>{try{const n=await fetchQueryOneCatAPI({id:g});m.value=n.data}catch{}};function x(g){var n;U({msg:g,model:(n=m==null?void 0:m.value)==null?void 0:n.model,modelAvatar:m.value.modelAvatar})}function a(){const g=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return g[Math.floor(Math.random()*g.length)]}return onMounted(()=>{w.appId&&k(w.appId)}),watch(()=>w.appId,g=>{g&&k(g)}),(g,n)=>{var c,R,v;return m.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([[unref(r)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[createBaseVNode("div",_hoisted_1$9,[createBaseVNode("div",_hoisted_2$8,[m.value.coverImg?(openBlock(),createElementBlock("div",_hoisted_3$7,[createBaseVNode("img",{src:m.value.coverImg,class:"rounded-full w-10 h-10 mr-4",alt:"app-image"},null,8,_hoisted_4$6)])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([a(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-10 h-10 flex items-center justify-center mr-4"])},[createBaseVNode("span",_hoisted_5$6,toDisplayString(m.value.name.slice(0,1)),1)],2)),createBaseVNode("h1",_hoisted_6$6,toDisplayString((c=m.value)==null?void 0:c.name),1)])]),createBaseVNode("div",_hoisted_7$6,[createBaseVNode("div",_hoisted_8$5,[createBaseVNode("p",null,toDisplayString((R=m.value)==null?void 0:R.des),1)])]),createBaseVNode("div",_hoisted_9$5,[createBaseVNode("div",_hoisted_10$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList((v=m.value)==null?void 0:v.demoData,(e,L)=>(openBlock(),createElementBlock("div",{key:L,class:"space-y-4"},[createBaseVNode("button",{onClick:O=>x(e),class:"relative flex flex-col gap-2 rounded-xl border border-gray-200 dark:border-gray-800 px-3 pb-4 pt-3 text-start align-top text-sm shadow-sm transition dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[createVNode(unref(_sfc_main$j),{class:"mb-3 inline-block text-base absolute top-3 left-3",icon:"material-symbols:tips-and-updates-outline"}),createBaseVNode("div",_hoisted_12$3,toDisplayString(e),1)],8,_hoisted_11$4)]))),128))])])],2)):createCommentVNode("",!0)}}});var jszip_min={exports:{}};/*! + +JSZip v3.10.1 - A JavaScript class for generating and reading zip files + + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/main/LICENSE +*/(function(b,r){(function(m){b.exports=m()})(function(){return function m(w,U,k){function x(n,c){if(!U[n]){if(!w[n]){var R=typeof commonjsRequire$1=="function"&&commonjsRequire$1;if(!c&&R)return R(n,!0);if(a)return a(n,!0);var v=new Error("Cannot find module '"+n+"'");throw v.code="MODULE_NOT_FOUND",v}var e=U[n]={exports:{}};w[n][0].call(e.exports,function(L){var O=w[n][1][L];return x(O||L)},e,e.exports,m,w,U,k)}return U[n].exports}for(var a=typeof commonjsRequire$1=="function"&&commonjsRequire$1,g=0;g>2,e=(3&n)<<4|c>>4,L=1<_?(15&c)<<2|R>>6:64,O=2<_?63&R:64,B.push(a.charAt(v)+a.charAt(e)+a.charAt(L)+a.charAt(O));return B.join("")},U.decode=function(g){var n,c,R,v,e,L,O=0,B=0,P="data:";if(g.substr(0,P.length)===P)throw new Error("Invalid base64 input, it looks like a data url.");var S,_=3*(g=g.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(g.charAt(g.length-1)===a.charAt(64)&&_--,g.charAt(g.length-2)===a.charAt(64)&&_--,_%1!=0)throw new Error("Invalid base64 input, bad content length.");for(S=x.uint8array?new Uint8Array(0|_):new Array(0|_);O>4,c=(15&v)<<4|(e=a.indexOf(g.charAt(O++)))>>2,R=(3&e)<<6|(L=a.indexOf(g.charAt(O++))),S[B++]=n,e!==64&&(S[B++]=c),L!==64&&(S[B++]=R);return S}},{"./support":30,"./utils":32}],2:[function(m,w,U){var k=m("./external"),x=m("./stream/DataWorker"),a=m("./stream/Crc32Probe"),g=m("./stream/DataLengthProbe");function n(c,R,v,e,L){this.compressedSize=c,this.uncompressedSize=R,this.crc32=v,this.compression=e,this.compressedContent=L}n.prototype={getContentWorker:function(){var c=new x(k.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),R=this;return c.on("end",function(){if(this.streamInfo.data_length!==R.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),c},getCompressedWorker:function(){return new x(k.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(c,R,v){return c.pipe(new a).pipe(new g("uncompressedSize")).pipe(R.compressWorker(v)).pipe(new g("compressedSize")).withStreamInfo("compression",R)},w.exports=n},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(m,w,U){var k=m("./stream/GenericWorker");U.STORE={magic:"\0\0",compressWorker:function(){return new k("STORE compression")},uncompressWorker:function(){return new k("STORE decompression")}},U.DEFLATE=m("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(m,w,U){var k=m("./utils"),x=function(){for(var a,g=[],n=0;n<256;n++){a=n;for(var c=0;c<8;c++)a=1&a?3988292384^a>>>1:a>>>1;g[n]=a}return g}();w.exports=function(a,g){return a!==void 0&&a.length?k.getTypeOf(a)!=="string"?function(n,c,R,v){var e=x,L=v+R;n^=-1;for(var O=v;O>>8^e[255&(n^c[O])];return-1^n}(0|g,a,a.length,0):function(n,c,R,v){var e=x,L=v+R;n^=-1;for(var O=v;O>>8^e[255&(n^c.charCodeAt(O))];return-1^n}(0|g,a,a.length,0):0}},{"./utils":32}],5:[function(m,w,U){U.base64=!1,U.binary=!1,U.dir=!1,U.createFolders=!0,U.date=null,U.compression=null,U.compressionOptions=null,U.comment=null,U.unixPermissions=null,U.dosPermissions=null},{}],6:[function(m,w,U){var k=null;k=typeof Promise<"u"?Promise:m("lie"),w.exports={Promise:k}},{lie:37}],7:[function(m,w,U){var k=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",x=m("pako"),a=m("./utils"),g=m("./stream/GenericWorker"),n=k?"uint8array":"array";function c(R,v){g.call(this,"FlateWorker/"+R),this._pako=null,this._pakoAction=R,this._pakoOptions=v,this.meta={}}U.magic="\b\0",a.inherits(c,g),c.prototype.processChunk=function(R){this.meta=R.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(n,R.data),!1)},c.prototype.flush=function(){g.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new x[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var R=this;this._pako.onData=function(v){R.push({data:v,meta:R.meta})}},U.compressWorker=function(R){return new c("Deflate",R)},U.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(m,w,U){function k(e,L){var O,B="";for(O=0;O>>=8;return B}function x(e,L,O,B,P,S){var _,l,y=e.file,D=e.compression,M=S!==n.utf8encode,F=a.transformTo("string",S(y.name)),N=a.transformTo("string",n.utf8encode(y.name)),G=y.comment,W=a.transformTo("string",S(G)),J=a.transformTo("string",n.utf8encode(G)),Y=N.length!==y.name.length,V=J.length!==G.length,H="",z="",X="",q=y.dir,$=y.date,fe={crc32:0,compressedSize:0,uncompressedSize:0};L&&!O||(fe.crc32=e.crc32,fe.compressedSize=e.compressedSize,fe.uncompressedSize=e.uncompressedSize);var Q=0;L&&(Q|=8),M||!Y&&!V||(Q|=2048);var ie=0,Te=0;q&&(ie|=16),P==="UNIX"?(Te=798,ie|=function(K,ce){var de=K;return K||(de=ce?16893:33204),(65535&de)<<16}(y.unixPermissions,q)):(Te=20,ie|=function(K){return 63&(K||0)}(y.dosPermissions)),_=$.getUTCHours(),_<<=6,_|=$.getUTCMinutes(),_<<=5,_|=$.getUTCSeconds()/2,l=$.getUTCFullYear()-1980,l<<=4,l|=$.getUTCMonth()+1,l<<=5,l|=$.getUTCDate(),Y&&(z=k(1,1)+k(c(F),4)+N,H+="up"+k(z.length,2)+z),V&&(X=k(1,1)+k(c(W),4)+J,H+="uc"+k(X.length,2)+X);var me="";return me+=` +\0`,me+=k(Q,2),me+=D.magic,me+=k(_,2),me+=k(l,2),me+=k(fe.crc32,4),me+=k(fe.compressedSize,4),me+=k(fe.uncompressedSize,4),me+=k(F.length,2),me+=k(H.length,2),{fileRecord:R.LOCAL_FILE_HEADER+me+F+H,dirRecord:R.CENTRAL_FILE_HEADER+k(Te,2)+me+k(W.length,2)+"\0\0\0\0"+k(ie,4)+k(B,4)+F+H+W}}var a=m("../utils"),g=m("../stream/GenericWorker"),n=m("../utf8"),c=m("../crc32"),R=m("../signature");function v(e,L,O,B){g.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=L,this.zipPlatform=O,this.encodeFileName=B,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(v,g),v.prototype.push=function(e){var L=e.meta.percent||0,O=this.entriesCount,B=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,g.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:O?(L+100*(O-B-1))/O:100}}))},v.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var L=this.streamFiles&&!e.file.dir;if(L){var O=x(e,L,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:O.fileRecord,meta:{percent:0}})}else this.accumulate=!0},v.prototype.closedSource=function(e){this.accumulate=!1;var L=this.streamFiles&&!e.file.dir,O=x(e,L,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(O.dirRecord),L)this.push({data:function(B){return R.DATA_DESCRIPTOR+k(B.crc32,4)+k(B.compressedSize,4)+k(B.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:O.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},v.prototype.flush=function(){for(var e=this.bytesWritten,L=0;L=this.index;g--)n=(n<<8)+this.byteAt(g);return this.index+=a,n},readString:function(a){return k.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},w.exports=x},{"../utils":32}],19:[function(m,w,U){var k=m("./Uint8ArrayReader");function x(a){k.call(this,a)}m("../utils").inherits(x,k),x.prototype.readData=function(a){this.checkOffset(a);var g=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,g},w.exports=x},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(m,w,U){var k=m("./DataReader");function x(a){k.call(this,a)}m("../utils").inherits(x,k),x.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},x.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},x.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},x.prototype.readData=function(a){this.checkOffset(a);var g=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,g},w.exports=x},{"../utils":32,"./DataReader":18}],21:[function(m,w,U){var k=m("./ArrayReader");function x(a){k.call(this,a)}m("../utils").inherits(x,k),x.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var g=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,g},w.exports=x},{"../utils":32,"./ArrayReader":17}],22:[function(m,w,U){var k=m("../utils"),x=m("../support"),a=m("./ArrayReader"),g=m("./StringReader"),n=m("./NodeBufferReader"),c=m("./Uint8ArrayReader");w.exports=function(R){var v=k.getTypeOf(R);return k.checkSupport(v),v!=="string"||x.uint8array?v==="nodebuffer"?new n(R):x.uint8array?new c(k.transformTo("uint8array",R)):new a(k.transformTo("array",R)):new g(R)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(m,w,U){U.LOCAL_FILE_HEADER="PK",U.CENTRAL_FILE_HEADER="PK",U.CENTRAL_DIRECTORY_END="PK",U.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",U.ZIP64_CENTRAL_DIRECTORY_END="PK",U.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(m,w,U){var k=m("./GenericWorker"),x=m("../utils");function a(g){k.call(this,"ConvertWorker to "+g),this.destType=g}x.inherits(a,k),a.prototype.processChunk=function(g){this.push({data:x.transformTo(this.destType,g.data),meta:g.meta})},w.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(m,w,U){var k=m("./GenericWorker"),x=m("../crc32");function a(){k.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}m("../utils").inherits(a,k),a.prototype.processChunk=function(g){this.streamInfo.crc32=x(g.data,this.streamInfo.crc32||0),this.push(g)},w.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(m,w,U){var k=m("../utils"),x=m("./GenericWorker");function a(g){x.call(this,"DataLengthProbe for "+g),this.propName=g,this.withStreamInfo(g,0)}k.inherits(a,x),a.prototype.processChunk=function(g){if(g){var n=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=n+g.data.length}x.prototype.processChunk.call(this,g)},w.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(m,w,U){var k=m("../utils"),x=m("./GenericWorker");function a(g){x.call(this,"DataWorker");var n=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,g.then(function(c){n.dataIsReady=!0,n.data=c,n.max=c&&c.length||0,n.type=k.getTypeOf(c),n.isPaused||n._tickAndRepeat()},function(c){n.error(c)})}k.inherits(a,x),a.prototype.cleanUp=function(){x.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!x.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,k.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(k.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var g=null,n=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":g=this.data.substring(this.index,n);break;case"uint8array":g=this.data.subarray(this.index,n);break;case"array":case"nodebuffer":g=this.data.slice(this.index,n)}return this.index=n,this.push({data:g,meta:{percent:this.max?this.index/this.max*100:0}})},w.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(m,w,U){function k(x){this.name=x||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}k.prototype={push:function(x){this.emit("data",x)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(x){this.emit("error",x)}return!0},error:function(x){return!this.isFinished&&(this.isPaused?this.generatedError=x:(this.isFinished=!0,this.emit("error",x),this.previous&&this.previous.error(x),this.cleanUp()),!0)},on:function(x,a){return this._listeners[x].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(x,a){if(this._listeners[x])for(var g=0;g "+x:x}},w.exports=k},{}],29:[function(m,w,U){var k=m("../utils"),x=m("./ConvertWorker"),a=m("./GenericWorker"),g=m("../base64"),n=m("../support"),c=m("../external"),R=null;if(n.nodestream)try{R=m("../nodejs/NodejsStreamOutputAdapter")}catch{}function v(L,O){return new c.Promise(function(B,P){var S=[],_=L._internalType,l=L._outputType,y=L._mimeType;L.on("data",function(D,M){S.push(D),O&&O(M)}).on("error",function(D){S=[],P(D)}).on("end",function(){try{var D=function(M,F,N){switch(M){case"blob":return k.newBlob(k.transformTo("arraybuffer",F),N);case"base64":return g.encode(F);default:return k.transformTo(M,F)}}(l,function(M,F){var N,G=0,W=null,J=0;for(N=0;N"u")U.blob=!1;else{var k=new ArrayBuffer(0);try{U.blob=new Blob([k],{type:"application/zip"}).size===0}catch{try{var x=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);x.append(k),U.blob=x.getBlob("application/zip").size===0}catch{U.blob=!1}}}try{U.nodestream=!!m("readable-stream").Readable}catch{U.nodestream=!1}},{"readable-stream":16}],31:[function(m,w,U){for(var k=m("./utils"),x=m("./support"),a=m("./nodejsUtils"),g=m("./stream/GenericWorker"),n=new Array(256),c=0;c<256;c++)n[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;n[254]=n[254]=1;function R(){g.call(this,"utf-8 decode"),this.leftOver=null}function v(){g.call(this,"utf-8 encode")}U.utf8encode=function(e){return x.nodebuffer?a.newBufferFrom(e,"utf-8"):function(L){var O,B,P,S,_,l=L.length,y=0;for(S=0;S>>6:(B<65536?O[_++]=224|B>>>12:(O[_++]=240|B>>>18,O[_++]=128|B>>>12&63),O[_++]=128|B>>>6&63),O[_++]=128|63&B);return O}(e)},U.utf8decode=function(e){return x.nodebuffer?k.transformTo("nodebuffer",e).toString("utf-8"):function(L){var O,B,P,S,_=L.length,l=new Array(2*_);for(O=B=0;O<_;)if((P=L[O++])<128)l[B++]=P;else if(4<(S=n[P]))l[B++]=65533,O+=S-1;else{for(P&=S===2?31:S===3?15:7;1>10&1023,l[B++]=56320|1023&P)}return l.length!==B&&(l.subarray?l=l.subarray(0,B):l.length=B),k.applyFromCharCode(l)}(e=k.transformTo(x.uint8array?"uint8array":"array",e))},k.inherits(R,g),R.prototype.processChunk=function(e){var L=k.transformTo(x.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(x.uint8array){var O=L;(L=new Uint8Array(O.length+this.leftOver.length)).set(this.leftOver,0),L.set(O,this.leftOver.length)}else L=this.leftOver.concat(L);this.leftOver=null}var B=function(S,_){var l;for((_=_||S.length)>S.length&&(_=S.length),l=_-1;0<=l&&(192&S[l])==128;)l--;return l<0||l===0?_:l+n[S[l]]>_?l:_}(L),P=L;B!==L.length&&(x.uint8array?(P=L.subarray(0,B),this.leftOver=L.subarray(B,L.length)):(P=L.slice(0,B),this.leftOver=L.slice(B,L.length))),this.push({data:U.utf8decode(P),meta:e.meta})},R.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:U.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},U.Utf8DecodeWorker=R,k.inherits(v,g),v.prototype.processChunk=function(e){this.push({data:U.utf8encode(e.data),meta:e.meta})},U.Utf8EncodeWorker=v},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(m,w,U){var k=m("./support"),x=m("./base64"),a=m("./nodejsUtils"),g=m("./external");function n(O){return O}function c(O,B){for(var P=0;P>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=k(this.extraFields[1].value);this.uncompressedSize===x.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===x.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===x.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===x.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var L,O,B,P=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(e<65536?v[B++]=224|e>>>12:(v[B++]=240|e>>>18,v[B++]=128|e>>>12&63),v[B++]=128|e>>>6&63),v[B++]=128|63&e);return v},U.buf2binstring=function(R){return c(R,R.length)},U.binstring2buf=function(R){for(var v=new k.Buf8(R.length),e=0,L=v.length;e>10&1023,S[L++]=56320|1023&O)}return c(S,L)},U.utf8border=function(R,v){var e;for((v=v||R.length)>R.length&&(v=R.length),e=v-1;0<=e&&(192&R[e])==128;)e--;return e<0||e===0?v:e+g[R[e]]>v?e:v}},{"./common":41}],43:[function(m,w,U){w.exports=function(k,x,a,g){for(var n=65535&k|0,c=k>>>16&65535|0,R=0;a!==0;){for(a-=R=2e3>>1:x>>>1;a[g]=x}return a}();w.exports=function(x,a,g,n){var c=k,R=n+g;x^=-1;for(var v=n;v>>8^c[255&(x^a[v])];return-1^x}},{}],46:[function(m,w,U){var k,x=m("../utils/common"),a=m("./trees"),g=m("./adler32"),n=m("./crc32"),c=m("./messages"),R=0,v=4,e=0,L=-2,O=-1,B=4,P=2,S=8,_=9,l=286,y=30,D=19,M=2*l+1,F=15,N=3,G=258,W=G+N+1,J=42,Y=113,V=1,H=2,z=3,X=4;function q(se,Ie){return se.msg=c[Ie],Ie}function $(se){return(se<<1)-(4se.avail_out&&(Ce=se.avail_out),Ce!==0&&(x.arraySet(se.output,Ie.pending_buf,Ie.pending_out,Ce,se.next_out),se.next_out+=Ce,Ie.pending_out+=Ce,se.total_out+=Ce,se.avail_out-=Ce,Ie.pending-=Ce,Ie.pending===0&&(Ie.pending_out=0))}function ie(se,Ie){a._tr_flush_block(se,0<=se.block_start?se.block_start:-1,se.strstart-se.block_start,Ie),se.block_start=se.strstart,Q(se.strm)}function Te(se,Ie){se.pending_buf[se.pending++]=Ie}function me(se,Ie){se.pending_buf[se.pending++]=Ie>>>8&255,se.pending_buf[se.pending++]=255&Ie}function K(se,Ie){var Ce,oe,pe=se.max_chain_length,xe=se.strstart,Ne=se.prev_length,ke=se.nice_match,De=se.strstart>se.w_size-W?se.strstart-(se.w_size-W):0,Fe=se.window,Pe=se.w_mask,qe=se.prev,Le=se.strstart+G,Oe=Fe[xe+Ne-1],Ee=Fe[xe+Ne];se.prev_length>=se.good_match&&(pe>>=2),ke>se.lookahead&&(ke=se.lookahead);do if(Fe[(Ce=Ie)+Ne]===Ee&&Fe[Ce+Ne-1]===Oe&&Fe[Ce]===Fe[xe]&&Fe[++Ce]===Fe[xe+1]){xe+=2,Ce++;do;while(Fe[++xe]===Fe[++Ce]&&Fe[++xe]===Fe[++Ce]&&Fe[++xe]===Fe[++Ce]&&Fe[++xe]===Fe[++Ce]&&Fe[++xe]===Fe[++Ce]&&Fe[++xe]===Fe[++Ce]&&Fe[++xe]===Fe[++Ce]&&Fe[++xe]===Fe[++Ce]&&xeDe&&--pe!=0);return Ne<=se.lookahead?Ne:se.lookahead}function ce(se){var Ie,Ce,oe,pe,xe,Ne,ke,De,Fe,Pe,qe=se.w_size;do{if(pe=se.window_size-se.lookahead-se.strstart,se.strstart>=qe+(qe-W)){for(x.arraySet(se.window,se.window,qe,qe,0),se.match_start-=qe,se.strstart-=qe,se.block_start-=qe,Ie=Ce=se.hash_size;oe=se.head[--Ie],se.head[Ie]=qe<=oe?oe-qe:0,--Ce;);for(Ie=Ce=qe;oe=se.prev[--Ie],se.prev[Ie]=qe<=oe?oe-qe:0,--Ce;);pe+=qe}if(se.strm.avail_in===0)break;if(Ne=se.strm,ke=se.window,De=se.strstart+se.lookahead,Fe=pe,Pe=void 0,Pe=Ne.avail_in,Fe=N)for(xe=se.strstart-se.insert,se.ins_h=se.window[xe],se.ins_h=(se.ins_h<=N&&(se.ins_h=(se.ins_h<=N)if(oe=a._tr_tally(se,se.strstart-se.match_start,se.match_length-N),se.lookahead-=se.match_length,se.match_length<=se.max_lazy_match&&se.lookahead>=N){for(se.match_length--;se.strstart++,se.ins_h=(se.ins_h<=N&&(se.ins_h=(se.ins_h<=N&&se.match_length<=se.prev_length){for(pe=se.strstart+se.lookahead-N,oe=a._tr_tally(se,se.strstart-1-se.prev_match,se.prev_length-N),se.lookahead-=se.prev_length-1,se.prev_length-=2;++se.strstart<=pe&&(se.ins_h=(se.ins_h<se.pending_buf_size-5&&(Ce=se.pending_buf_size-5);;){if(se.lookahead<=1){if(ce(se),se.lookahead===0&&Ie===R)return V;if(se.lookahead===0)break}se.strstart+=se.lookahead,se.lookahead=0;var oe=se.block_start+Ce;if((se.strstart===0||se.strstart>=oe)&&(se.lookahead=se.strstart-oe,se.strstart=oe,ie(se,!1),se.strm.avail_out===0)||se.strstart-se.block_start>=se.w_size-W&&(ie(se,!1),se.strm.avail_out===0))return V}return se.insert=0,Ie===v?(ie(se,!0),se.strm.avail_out===0?z:X):(se.strstart>se.block_start&&(ie(se,!1),se.strm.avail_out),V)}),new ae(4,4,8,4,de),new ae(4,5,16,8,de),new ae(4,6,32,32,de),new ae(4,4,16,16,Z),new ae(8,16,32,32,Z),new ae(8,16,128,128,Z),new ae(8,32,128,256,Z),new ae(32,128,258,1024,Z),new ae(32,258,258,4096,Z)],U.deflateInit=function(se,Ie){return ye(se,Ie,S,15,8,0)},U.deflateInit2=ye,U.deflateReset=_e,U.deflateResetKeep=we,U.deflateSetHeader=function(se,Ie){return se&&se.state?se.state.wrap!==2?L:(se.state.gzhead=Ie,e):L},U.deflate=function(se,Ie){var Ce,oe,pe,xe;if(!se||!se.state||5>8&255),Te(oe,oe.gzhead.time>>16&255),Te(oe,oe.gzhead.time>>24&255),Te(oe,oe.level===9?2:2<=oe.strategy||oe.level<2?4:0),Te(oe,255&oe.gzhead.os),oe.gzhead.extra&&oe.gzhead.extra.length&&(Te(oe,255&oe.gzhead.extra.length),Te(oe,oe.gzhead.extra.length>>8&255)),oe.gzhead.hcrc&&(se.adler=n(se.adler,oe.pending_buf,oe.pending,0)),oe.gzindex=0,oe.status=69):(Te(oe,0),Te(oe,0),Te(oe,0),Te(oe,0),Te(oe,0),Te(oe,oe.level===9?2:2<=oe.strategy||oe.level<2?4:0),Te(oe,3),oe.status=Y);else{var Ne=S+(oe.w_bits-8<<4)<<8;Ne|=(2<=oe.strategy||oe.level<2?0:oe.level<6?1:oe.level===6?2:3)<<6,oe.strstart!==0&&(Ne|=32),Ne+=31-Ne%31,oe.status=Y,me(oe,Ne),oe.strstart!==0&&(me(oe,se.adler>>>16),me(oe,65535&se.adler)),se.adler=1}if(oe.status===69)if(oe.gzhead.extra){for(pe=oe.pending;oe.gzindex<(65535&oe.gzhead.extra.length)&&(oe.pending!==oe.pending_buf_size||(oe.gzhead.hcrc&&oe.pending>pe&&(se.adler=n(se.adler,oe.pending_buf,oe.pending-pe,pe)),Q(se),pe=oe.pending,oe.pending!==oe.pending_buf_size));)Te(oe,255&oe.gzhead.extra[oe.gzindex]),oe.gzindex++;oe.gzhead.hcrc&&oe.pending>pe&&(se.adler=n(se.adler,oe.pending_buf,oe.pending-pe,pe)),oe.gzindex===oe.gzhead.extra.length&&(oe.gzindex=0,oe.status=73)}else oe.status=73;if(oe.status===73)if(oe.gzhead.name){pe=oe.pending;do{if(oe.pending===oe.pending_buf_size&&(oe.gzhead.hcrc&&oe.pending>pe&&(se.adler=n(se.adler,oe.pending_buf,oe.pending-pe,pe)),Q(se),pe=oe.pending,oe.pending===oe.pending_buf_size)){xe=1;break}xe=oe.gzindexpe&&(se.adler=n(se.adler,oe.pending_buf,oe.pending-pe,pe)),xe===0&&(oe.gzindex=0,oe.status=91)}else oe.status=91;if(oe.status===91)if(oe.gzhead.comment){pe=oe.pending;do{if(oe.pending===oe.pending_buf_size&&(oe.gzhead.hcrc&&oe.pending>pe&&(se.adler=n(se.adler,oe.pending_buf,oe.pending-pe,pe)),Q(se),pe=oe.pending,oe.pending===oe.pending_buf_size)){xe=1;break}xe=oe.gzindexpe&&(se.adler=n(se.adler,oe.pending_buf,oe.pending-pe,pe)),xe===0&&(oe.status=103)}else oe.status=103;if(oe.status===103&&(oe.gzhead.hcrc?(oe.pending+2>oe.pending_buf_size&&Q(se),oe.pending+2<=oe.pending_buf_size&&(Te(oe,255&se.adler),Te(oe,se.adler>>8&255),se.adler=0,oe.status=Y)):oe.status=Y),oe.pending!==0){if(Q(se),se.avail_out===0)return oe.last_flush=-1,e}else if(se.avail_in===0&&$(Ie)<=$(Ce)&&Ie!==v)return q(se,-5);if(oe.status===666&&se.avail_in!==0)return q(se,-5);if(se.avail_in!==0||oe.lookahead!==0||Ie!==R&&oe.status!==666){var ke=oe.strategy===2?function(De,Fe){for(var Pe;;){if(De.lookahead===0&&(ce(De),De.lookahead===0)){if(Fe===R)return V;break}if(De.match_length=0,Pe=a._tr_tally(De,0,De.window[De.strstart]),De.lookahead--,De.strstart++,Pe&&(ie(De,!1),De.strm.avail_out===0))return V}return De.insert=0,Fe===v?(ie(De,!0),De.strm.avail_out===0?z:X):De.last_lit&&(ie(De,!1),De.strm.avail_out===0)?V:H}(oe,Ie):oe.strategy===3?function(De,Fe){for(var Pe,qe,Le,Oe,Ee=De.window;;){if(De.lookahead<=G){if(ce(De),De.lookahead<=G&&Fe===R)return V;if(De.lookahead===0)break}if(De.match_length=0,De.lookahead>=N&&0De.lookahead&&(De.match_length=De.lookahead)}if(De.match_length>=N?(Pe=a._tr_tally(De,1,De.match_length-N),De.lookahead-=De.match_length,De.strstart+=De.match_length,De.match_length=0):(Pe=a._tr_tally(De,0,De.window[De.strstart]),De.lookahead--,De.strstart++),Pe&&(ie(De,!1),De.strm.avail_out===0))return V}return De.insert=0,Fe===v?(ie(De,!0),De.strm.avail_out===0?z:X):De.last_lit&&(ie(De,!1),De.strm.avail_out===0)?V:H}(oe,Ie):k[oe.level].func(oe,Ie);if(ke!==z&&ke!==X||(oe.status=666),ke===V||ke===z)return se.avail_out===0&&(oe.last_flush=-1),e;if(ke===H&&(Ie===1?a._tr_align(oe):Ie!==5&&(a._tr_stored_block(oe,0,0,!1),Ie===3&&(fe(oe.head),oe.lookahead===0&&(oe.strstart=0,oe.block_start=0,oe.insert=0))),Q(se),se.avail_out===0))return oe.last_flush=-1,e}return Ie!==v?e:oe.wrap<=0?1:(oe.wrap===2?(Te(oe,255&se.adler),Te(oe,se.adler>>8&255),Te(oe,se.adler>>16&255),Te(oe,se.adler>>24&255),Te(oe,255&se.total_in),Te(oe,se.total_in>>8&255),Te(oe,se.total_in>>16&255),Te(oe,se.total_in>>24&255)):(me(oe,se.adler>>>16),me(oe,65535&se.adler)),Q(se),0=Ce.w_size&&(xe===0&&(fe(Ce.head),Ce.strstart=0,Ce.block_start=0,Ce.insert=0),Fe=new x.Buf8(Ce.w_size),x.arraySet(Fe,Ie,Pe-Ce.w_size,Ce.w_size,0),Ie=Fe,Pe=Ce.w_size),Ne=se.avail_in,ke=se.next_in,De=se.input,se.avail_in=Pe,se.next_in=0,se.input=Ie,ce(Ce);Ce.lookahead>=N;){for(oe=Ce.strstart,pe=Ce.lookahead-(N-1);Ce.ins_h=(Ce.ins_h<>>=N=F>>>24,_-=N,(N=F>>>16&255)===0)H[c++]=65535&F;else{if(!(16&N)){if(!(64&N)){F=l[(65535&F)+(S&(1<>>=N,_-=N),_<15&&(S+=V[g++]<<_,_+=8,S+=V[g++]<<_,_+=8),F=y[S&M];n:for(;;){if(S>>>=N=F>>>24,_-=N,!(16&(N=F>>>16&255))){if(!(64&N)){F=y[(65535&F)+(S&(1<>>=N,_-=N,(N=c-R)>3,S&=(1<<(_-=G<<3))-1,k.next_in=g,k.next_out=c,k.avail_in=g>>24&255)+(J>>>8&65280)+((65280&J)<<8)+((255&J)<<24)}function S(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new k.Buf16(320),this.work=new k.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(J){var Y;return J&&J.state?(Y=J.state,J.total_in=J.total_out=Y.total=0,J.msg="",Y.wrap&&(J.adler=1&Y.wrap),Y.mode=L,Y.last=0,Y.havedict=0,Y.dmax=32768,Y.head=null,Y.hold=0,Y.bits=0,Y.lencode=Y.lendyn=new k.Buf32(O),Y.distcode=Y.distdyn=new k.Buf32(B),Y.sane=1,Y.back=-1,v):e}function l(J){var Y;return J&&J.state?((Y=J.state).wsize=0,Y.whave=0,Y.wnext=0,_(J)):e}function y(J,Y){var V,H;return J&&J.state?(H=J.state,Y<0?(V=0,Y=-Y):(V=1+(Y>>4),Y<48&&(Y&=15)),Y&&(Y<8||15=X.wsize?(k.arraySet(X.window,Y,V-X.wsize,X.wsize,0),X.wnext=0,X.whave=X.wsize):(H<(z=X.wsize-X.wnext)&&(z=H),k.arraySet(X.window,Y,V-H,z,X.wnext),(H-=z)?(k.arraySet(X.window,Y,V-H,H,0),X.wnext=H,X.whave=X.wsize):(X.wnext+=z,X.wnext===X.wsize&&(X.wnext=0),X.whave>>8&255,V.check=a(V.check,xe,2,0),ie=Q=0,V.mode=2;break}if(V.flags=0,V.head&&(V.head.done=!1),!(1&V.wrap)||(((255&Q)<<8)+(Q>>8))%31){J.msg="incorrect header check",V.mode=30;break}if((15&Q)!=8){J.msg="unknown compression method",V.mode=30;break}if(ie-=4,se=8+(15&(Q>>>=4)),V.wbits===0)V.wbits=se;else if(se>V.wbits){J.msg="invalid window size",V.mode=30;break}V.dmax=1<>8&1),512&V.flags&&(xe[0]=255&Q,xe[1]=Q>>>8&255,V.check=a(V.check,xe,2,0)),ie=Q=0,V.mode=3;case 3:for(;ie<32;){if($===0)break e;$--,Q+=H[X++]<>>8&255,xe[2]=Q>>>16&255,xe[3]=Q>>>24&255,V.check=a(V.check,xe,4,0)),ie=Q=0,V.mode=4;case 4:for(;ie<16;){if($===0)break e;$--,Q+=H[X++]<>8),512&V.flags&&(xe[0]=255&Q,xe[1]=Q>>>8&255,V.check=a(V.check,xe,2,0)),ie=Q=0,V.mode=5;case 5:if(1024&V.flags){for(;ie<16;){if($===0)break e;$--,Q+=H[X++]<>>8&255,V.check=a(V.check,xe,2,0)),ie=Q=0}else V.head&&(V.head.extra=null);V.mode=6;case 6:if(1024&V.flags&&($<(K=V.length)&&(K=$),K&&(V.head&&(se=V.head.extra_len-V.length,V.head.extra||(V.head.extra=new Array(V.head.extra_len)),k.arraySet(V.head.extra,H,X,K,se)),512&V.flags&&(V.check=a(V.check,H,K,X)),$-=K,X+=K,V.length-=K),V.length))break e;V.length=0,V.mode=7;case 7:if(2048&V.flags){if($===0)break e;for(K=0;se=H[X+K++],V.head&&se&&V.length<65536&&(V.head.name+=String.fromCharCode(se)),se&&K<$;);if(512&V.flags&&(V.check=a(V.check,H,K,X)),$-=K,X+=K,se)break e}else V.head&&(V.head.name=null);V.length=0,V.mode=8;case 8:if(4096&V.flags){if($===0)break e;for(K=0;se=H[X+K++],V.head&&se&&V.length<65536&&(V.head.comment+=String.fromCharCode(se)),se&&K<$;);if(512&V.flags&&(V.check=a(V.check,H,K,X)),$-=K,X+=K,se)break e}else V.head&&(V.head.comment=null);V.mode=9;case 9:if(512&V.flags){for(;ie<16;){if($===0)break e;$--,Q+=H[X++]<>9&1,V.head.done=!0),J.adler=V.check=0,V.mode=12;break;case 10:for(;ie<32;){if($===0)break e;$--,Q+=H[X++]<>>=7&ie,ie-=7&ie,V.mode=27;break}for(;ie<3;){if($===0)break e;$--,Q+=H[X++]<>>=1)){case 0:V.mode=14;break;case 1:if(G(V),V.mode=20,Y!==6)break;Q>>>=2,ie-=2;break e;case 2:V.mode=17;break;case 3:J.msg="invalid block type",V.mode=30}Q>>>=2,ie-=2;break;case 14:for(Q>>>=7&ie,ie-=7&ie;ie<32;){if($===0)break e;$--,Q+=H[X++]<>>16^65535)){J.msg="invalid stored block lengths",V.mode=30;break}if(V.length=65535&Q,ie=Q=0,V.mode=15,Y===6)break e;case 15:V.mode=16;case 16:if(K=V.length){if($>>=5,ie-=5,V.ndist=1+(31&Q),Q>>>=5,ie-=5,V.ncode=4+(15&Q),Q>>>=4,ie-=4,286>>=3,ie-=3}for(;V.have<19;)V.lens[Ne[V.have++]]=0;if(V.lencode=V.lendyn,V.lenbits=7,Ce={bits:V.lenbits},Ie=n(0,V.lens,0,19,V.lencode,0,V.work,Ce),V.lenbits=Ce.bits,Ie){J.msg="invalid code lengths set",V.mode=30;break}V.have=0,V.mode=19;case 19:for(;V.have>>16&255,he=65535&pe,!((Z=pe>>>24)<=ie);){if($===0)break e;$--,Q+=H[X++]<>>=Z,ie-=Z,V.lens[V.have++]=he;else{if(he===16){for(oe=Z+2;ie>>=Z,ie-=Z,V.have===0){J.msg="invalid bit length repeat",V.mode=30;break}se=V.lens[V.have-1],K=3+(3&Q),Q>>>=2,ie-=2}else if(he===17){for(oe=Z+3;ie>>=Z)),Q>>>=3,ie-=3}else{for(oe=Z+7;ie>>=Z)),Q>>>=7,ie-=7}if(V.have+K>V.nlen+V.ndist){J.msg="invalid bit length repeat",V.mode=30;break}for(;K--;)V.lens[V.have++]=se}}if(V.mode===30)break;if(V.lens[256]===0){J.msg="invalid code -- missing end-of-block",V.mode=30;break}if(V.lenbits=9,Ce={bits:V.lenbits},Ie=n(c,V.lens,0,V.nlen,V.lencode,0,V.work,Ce),V.lenbits=Ce.bits,Ie){J.msg="invalid literal/lengths set",V.mode=30;break}if(V.distbits=6,V.distcode=V.distdyn,Ce={bits:V.distbits},Ie=n(R,V.lens,V.nlen,V.ndist,V.distcode,0,V.work,Ce),V.distbits=Ce.bits,Ie){J.msg="invalid distances set",V.mode=30;break}if(V.mode=20,Y===6)break e;case 20:V.mode=21;case 21:if(6<=$&&258<=fe){J.next_out=q,J.avail_out=fe,J.next_in=X,J.avail_in=$,V.hold=Q,V.bits=ie,g(J,me),q=J.next_out,z=J.output,fe=J.avail_out,X=J.next_in,H=J.input,$=J.avail_in,Q=V.hold,ie=V.bits,V.mode===12&&(V.back=-1);break}for(V.back=0;ae=(pe=V.lencode[Q&(1<>>16&255,he=65535&pe,!((Z=pe>>>24)<=ie);){if($===0)break e;$--,Q+=H[X++]<>we)])>>>16&255,he=65535&pe,!(we+(Z=pe>>>24)<=ie);){if($===0)break e;$--,Q+=H[X++]<>>=we,ie-=we,V.back+=we}if(Q>>>=Z,ie-=Z,V.back+=Z,V.length=he,ae===0){V.mode=26;break}if(32&ae){V.back=-1,V.mode=12;break}if(64&ae){J.msg="invalid literal/length code",V.mode=30;break}V.extra=15&ae,V.mode=22;case 22:if(V.extra){for(oe=V.extra;ie>>=V.extra,ie-=V.extra,V.back+=V.extra}V.was=V.length,V.mode=23;case 23:for(;ae=(pe=V.distcode[Q&(1<>>16&255,he=65535&pe,!((Z=pe>>>24)<=ie);){if($===0)break e;$--,Q+=H[X++]<>we)])>>>16&255,he=65535&pe,!(we+(Z=pe>>>24)<=ie);){if($===0)break e;$--,Q+=H[X++]<>>=we,ie-=we,V.back+=we}if(Q>>>=Z,ie-=Z,V.back+=Z,64&ae){J.msg="invalid distance code",V.mode=30;break}V.offset=he,V.extra=15&ae,V.mode=24;case 24:if(V.extra){for(oe=V.extra;ie>>=V.extra,ie-=V.extra,V.back+=V.extra}if(V.offset>V.dmax){J.msg="invalid distance too far back",V.mode=30;break}V.mode=25;case 25:if(fe===0)break e;if(K=me-fe,V.offset>K){if((K=V.offset-K)>V.whave&&V.sane){J.msg="invalid distance too far back",V.mode=30;break}ce=K>V.wnext?(K-=V.wnext,V.wsize-K):V.wnext-K,K>V.length&&(K=V.length),de=V.window}else de=z,ce=q-V.offset,K=V.length;for(feM?(N=ce[de+B[Y]],ie[Te+B[Y]]):(N=96,0),S=1<>q)+(_-=S)]=F<<24|N<<16|G|0,_!==0;);for(S=1<>=1;if(S!==0?(Q&=S-1,Q+=S):Q=0,Y++,--me[J]==0){if(J===H)break;J=R[v+B[Y]]}if(z>>7)]}function Te(pe,xe){pe.pending_buf[pe.pending++]=255&xe,pe.pending_buf[pe.pending++]=xe>>>8&255}function me(pe,xe,Ne){pe.bi_valid>P-Ne?(pe.bi_buf|=xe<>P-pe.bi_valid,pe.bi_valid+=Ne-P):(pe.bi_buf|=xe<>>=1,Ne<<=1,0<--xe;);return Ne>>>1}function de(pe,xe,Ne){var ke,De,Fe=new Array(B+1),Pe=0;for(ke=1;ke<=B;ke++)Fe[ke]=Pe=Pe+Ne[ke-1]<<1;for(De=0;De<=xe;De++){var qe=pe[2*De+1];qe!==0&&(pe[2*De]=ce(Fe[qe]++,qe))}}function Z(pe){var xe;for(xe=0;xe>1;1<=Ne;Ne--)we(pe,Fe,Ne);for(De=Le;Ne=pe.heap[1],pe.heap[1]=pe.heap[pe.heap_len--],we(pe,Fe,1),ke=pe.heap[1],pe.heap[--pe.heap_max]=Ne,pe.heap[--pe.heap_max]=ke,Fe[2*De]=Fe[2*Ne]+Fe[2*ke],pe.depth[De]=(pe.depth[Ne]>=pe.depth[ke]?pe.depth[Ne]:pe.depth[ke])+1,Fe[2*Ne+1]=Fe[2*ke+1]=De,pe.heap[1]=De++,we(pe,Fe,1),2<=pe.heap_len;);pe.heap[--pe.heap_max]=pe.heap[1],function(Ee,Ae){var Ve,$e,Ue,He,Qe,Ze,et=Ae.dyn_tree,tt=Ae.max_code,je=Ae.stat_desc.static_tree,Je=Ae.stat_desc.has_stree,nt=Ae.stat_desc.extra_bits,Ke=Ae.stat_desc.extra_base,at=Ae.stat_desc.max_length,ot=0;for(He=0;He<=B;He++)Ee.bl_count[He]=0;for(et[2*Ee.heap[Ee.heap_max]+1]=0,Ve=Ee.heap_max+1;Ve>=7;De>>=1)if(1&Oe&&qe.dyn_ltree[2*Le]!==0)return x;if(qe.dyn_ltree[18]!==0||qe.dyn_ltree[20]!==0||qe.dyn_ltree[26]!==0)return a;for(Le=32;Le>>3,(Fe=pe.static_len+3+7>>>3)<=De&&(De=Fe)):De=Fe=Ne+5,Ne+4<=De&&xe!==-1?oe(pe,xe,Ne,ke):pe.strategy===4||Fe===De?(me(pe,2+(ke?1:0),3),_e(pe,W,J)):(me(pe,4+(ke?1:0),3),function(qe,Le,Oe,Ee){var Ae;for(me(qe,Le-257,5),me(qe,Oe-1,5),me(qe,Ee-4,4),Ae=0;Ae>>8&255,pe.pending_buf[pe.d_buf+2*pe.last_lit+1]=255&xe,pe.pending_buf[pe.l_buf+pe.last_lit]=255&Ne,pe.last_lit++,xe===0?pe.dyn_ltree[2*Ne]++:(pe.matches++,xe--,pe.dyn_ltree[2*(V[Ne]+R+1)]++,pe.dyn_dtree[2*ie(xe)]++),pe.last_lit===pe.lit_bufsize-1},U._tr_align=function(pe){me(pe,2,3),K(pe,_,W),function(xe){xe.bi_valid===16?(Te(xe,xe.bi_buf),xe.bi_buf=0,xe.bi_valid=0):8<=xe.bi_valid&&(xe.pending_buf[xe.pending++]=255&xe.bi_buf,xe.bi_buf>>=8,xe.bi_valid-=8)}(pe)}},{"../utils/common":41}],53:[function(m,w,U){w.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(m,w,U){(function(k){(function(x,a){if(!x.setImmediate){var g,n,c,R,v=1,e={},L=!1,O=x.document,B=Object.getPrototypeOf&&Object.getPrototypeOf(x);B=B&&B.setTimeout?B:x,g={}.toString.call(x.process)==="[object process]"?function(l){process.nextTick(function(){S(l)})}:function(){if(x.postMessage&&!x.importScripts){var l=!0,y=x.onmessage;return x.onmessage=function(){l=!1},x.postMessage("","*"),x.onmessage=y,l}}()?(R="setImmediate$"+Math.random()+"$",x.addEventListener?x.addEventListener("message",_,!1):x.attachEvent("onmessage",_),function(l){x.postMessage(R+l,"*")}):x.MessageChannel?((c=new MessageChannel).port1.onmessage=function(l){S(l.data)},function(l){c.port2.postMessage(l)}):O&&"onreadystatechange"in O.createElement("script")?(n=O.documentElement,function(l){var y=O.createElement("script");y.onreadystatechange=function(){S(l),y.onreadystatechange=null,n.removeChild(y),y=null},n.appendChild(y)}):function(l){setTimeout(S,0,l)},B.setImmediate=function(l){typeof l!="function"&&(l=new Function(""+l));for(var y=new Array(arguments.length-1),D=0;D"u"?k===void 0?this:k:self)}).call(this,typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(jszip_min);var jszip_minExports=jszip_min.exports;const JSZip=getDefaultExportFromCjs(jszip_minExports);var defaults={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` +`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal$1)),defaults}var builder={},lib={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var b,r,m,w,U,k,x,a=[].slice,g={}.hasOwnProperty;b=function(){var n,c,R,v,e,L;if(L=arguments[0],e=2<=arguments.length?a.call(arguments,1):[],U(Object.assign))Object.assign.apply(null,arguments);else for(n=0,R=e.length;n":"attribute: {"+m+"}, parent: <"+this.parent.name+">"},r.prototype.isEqualNode=function(m){return!(m.namespaceURI!==this.namespaceURI||m.prefix!==this.prefix||m.localName!==this.localName||m.value!==this.value)},r}()}).call(commonjsGlobal$1)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function b(r){this.nodes=r}return Object.defineProperty(b.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),b.prototype.clone=function(){return this.nodes=null},b.prototype.getNamedItem=function(r){return this.nodes[r]},b.prototype.setNamedItem=function(r){var m;return m=this.nodes[r.nodeName],this.nodes[r.nodeName]=r,m||null},b.prototype.removeNamedItem=function(r){var m;return m=this.nodes[r],delete this.nodes[r],m||null},b.prototype.item=function(r){return this.nodes[Object.keys(this.nodes)[r]]||null},b.prototype.getNamedItemNS=function(r,m){throw new Error("This DOM method is not implemented.")},b.prototype.setNamedItemNS=function(r){throw new Error("This DOM method is not implemented.")},b.prototype.removeNamedItemNS=function(r,m){throw new Error("This DOM method is not implemented.")},b}()}).call(commonjsGlobal$1)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var b,r,m,w,U,k,x,a,g=function(c,R){for(var v in R)n.call(R,v)&&(c[v]=R[v]);function e(){this.constructor=c}return e.prototype=R.prototype,c.prototype=new e,c.__super__=R.prototype,c},n={}.hasOwnProperty;a=requireUtility(),x=a.isObject,k=a.isFunction,U=a.getValue,w=requireXMLNode(),b=requireNodeType(),r=requireXMLAttribute(),m=requireXMLNamedNodeMap(),XMLElement.exports=function(c){g(R,c);function R(v,e,L){var O,B,P,S;if(R.__super__.constructor.call(this,v),e==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(e),this.type=b.Element,this.attribs={},this.schemaTypeInfo=null,L!=null&&this.attribute(L),v.type===b.Document&&(this.isRoot=!0,this.documentObject=v,v.rootObject=this,v.children)){for(S=v.children,B=0,P=S.length;B=O;e=0<=O?++L:--L)if(!this.attribs[e].isEqualNode(v.attribs[e]))return!1;return!0},R}(w)}).call(commonjsGlobal$1)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var b,r=function(w,U){for(var k in U)m.call(U,k)&&(w[k]=U[k]);function x(){this.constructor=w}return x.prototype=U.prototype,w.prototype=new x,w.__super__=U.prototype,w},m={}.hasOwnProperty;b=requireXMLNode(),XMLCharacterData.exports=function(w){r(U,w);function U(k){U.__super__.constructor.call(this,k),this.value=""}return Object.defineProperty(U.prototype,"data",{get:function(){return this.value},set:function(k){return this.value=k||""}}),Object.defineProperty(U.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(U.prototype,"textContent",{get:function(){return this.value},set:function(k){return this.value=k||""}}),U.prototype.clone=function(){return Object.create(this)},U.prototype.substringData=function(k,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},U.prototype.appendData=function(k){throw new Error("This DOM method is not implemented."+this.debugInfo())},U.prototype.insertData=function(k,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},U.prototype.deleteData=function(k,x){throw new Error("This DOM method is not implemented."+this.debugInfo())},U.prototype.replaceData=function(k,x,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},U.prototype.isEqualNode=function(k){return!(!U.__super__.isEqualNode.apply(this,arguments).isEqualNode(k)||k.data!==this.data)},U}(b)}).call(commonjsGlobal$1)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var b,r,m=function(U,k){for(var x in k)w.call(k,x)&&(U[x]=k[x]);function a(){this.constructor=U}return a.prototype=k.prototype,U.prototype=new a,U.__super__=k.prototype,U},w={}.hasOwnProperty;b=requireNodeType(),r=requireXMLCharacterData(),XMLCData.exports=function(U){m(k,U);function k(x,a){if(k.__super__.constructor.call(this,x),a==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=b.CData,this.value=this.stringify.cdata(a)}return k.prototype.clone=function(){return Object.create(this)},k.prototype.toString=function(x){return this.options.writer.cdata(this,this.options.writer.filterOptions(x))},k}(r)}).call(commonjsGlobal$1)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var b,r,m=function(U,k){for(var x in k)w.call(k,x)&&(U[x]=k[x]);function a(){this.constructor=U}return a.prototype=k.prototype,U.prototype=new a,U.__super__=k.prototype,U},w={}.hasOwnProperty;b=requireNodeType(),r=requireXMLCharacterData(),XMLComment.exports=function(U){m(k,U);function k(x,a){if(k.__super__.constructor.call(this,x),a==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=b.Comment,this.value=this.stringify.comment(a)}return k.prototype.clone=function(){return Object.create(this)},k.prototype.toString=function(x){return this.options.writer.comment(this,this.options.writer.filterOptions(x))},k}(r)}).call(commonjsGlobal$1)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var b,r,m,w=function(k,x){for(var a in x)U.call(x,a)&&(k[a]=x[a]);function g(){this.constructor=k}return g.prototype=x.prototype,k.prototype=new g,k.__super__=x.prototype,k},U={}.hasOwnProperty;m=requireUtility().isObject,r=requireXMLNode(),b=requireNodeType(),XMLDeclaration.exports=function(k){w(x,k);function x(a,g,n,c){var R;x.__super__.constructor.call(this,a),m(g)&&(R=g,g=R.version,n=R.encoding,c=R.standalone),g||(g="1.0"),this.type=b.Declaration,this.version=this.stringify.xmlVersion(g),n!=null&&(this.encoding=this.stringify.xmlEncoding(n)),c!=null&&(this.standalone=this.stringify.xmlStandalone(c))}return x.prototype.toString=function(a){return this.options.writer.declaration(this,this.options.writer.filterOptions(a))},x}(r)}).call(commonjsGlobal$1)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var b,r,m=function(U,k){for(var x in k)w.call(k,x)&&(U[x]=k[x]);function a(){this.constructor=U}return a.prototype=k.prototype,U.prototype=new a,U.__super__=k.prototype,U},w={}.hasOwnProperty;r=requireXMLNode(),b=requireNodeType(),XMLDTDAttList.exports=function(U){m(k,U);function k(x,a,g,n,c,R){if(k.__super__.constructor.call(this,x),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(g==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!n)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!c)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(c.indexOf("#")!==0&&(c="#"+c),!c.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(R&&!c.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.name(a),this.type=b.AttributeDeclaration,this.attributeName=this.stringify.name(g),this.attributeType=this.stringify.dtdAttType(n),R&&(this.defaultValue=this.stringify.dtdAttDefault(R)),this.defaultValueType=c}return k.prototype.toString=function(x){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(x))},k}(r)}).call(commonjsGlobal$1)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var b,r,m,w=function(k,x){for(var a in x)U.call(x,a)&&(k[a]=x[a]);function g(){this.constructor=k}return g.prototype=x.prototype,k.prototype=new g,k.__super__=x.prototype,k},U={}.hasOwnProperty;m=requireUtility().isObject,r=requireXMLNode(),b=requireNodeType(),XMLDTDEntity.exports=function(k){w(x,k);function x(a,g,n,c){if(x.__super__.constructor.call(this,a),n==null)throw new Error("Missing DTD entity name. "+this.debugInfo(n));if(c==null)throw new Error("Missing DTD entity value. "+this.debugInfo(n));if(this.pe=!!g,this.name=this.stringify.name(n),this.type=b.EntityDeclaration,!m(c))this.value=this.stringify.dtdEntityValue(c),this.internal=!0;else{if(!c.pubID&&!c.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(n));if(c.pubID&&!c.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(n));if(this.internal=!1,c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID)),c.nData!=null&&(this.nData=this.stringify.dtdNData(c.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(n))}}return Object.defineProperty(x.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(x.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(x.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return null}}),x.prototype.toString=function(a){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(a))},x}(r)}).call(commonjsGlobal$1)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var b,r,m=function(U,k){for(var x in k)w.call(k,x)&&(U[x]=k[x]);function a(){this.constructor=U}return a.prototype=k.prototype,U.prototype=new a,U.__super__=k.prototype,U},w={}.hasOwnProperty;r=requireXMLNode(),b=requireNodeType(),XMLDTDElement.exports=function(U){m(k,U);function k(x,a,g){if(k.__super__.constructor.call(this,x),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());g||(g="(#PCDATA)"),Array.isArray(g)&&(g="("+g.join(",")+")"),this.name=this.stringify.name(a),this.type=b.ElementDeclaration,this.value=this.stringify.dtdElementValue(g)}return k.prototype.toString=function(x){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(x))},k}(r)}).call(commonjsGlobal$1)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var b,r,m=function(U,k){for(var x in k)w.call(k,x)&&(U[x]=k[x]);function a(){this.constructor=U}return a.prototype=k.prototype,U.prototype=new a,U.__super__=k.prototype,U},w={}.hasOwnProperty;r=requireXMLNode(),b=requireNodeType(),XMLDTDNotation.exports=function(U){m(k,U);function k(x,a,g){if(k.__super__.constructor.call(this,x),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!g.pubID&&!g.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.name(a),this.type=b.NotationDeclaration,g.pubID!=null&&(this.pubID=this.stringify.dtdPubID(g.pubID)),g.sysID!=null&&(this.sysID=this.stringify.dtdSysID(g.sysID))}return Object.defineProperty(k.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(k.prototype,"systemId",{get:function(){return this.sysID}}),k.prototype.toString=function(x){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(x))},k}(r)}).call(commonjsGlobal$1)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var b,r,m,w,U,k,x,a,g=function(c,R){for(var v in R)n.call(R,v)&&(c[v]=R[v]);function e(){this.constructor=c}return e.prototype=R.prototype,c.prototype=new e,c.__super__=R.prototype,c},n={}.hasOwnProperty;a=requireUtility().isObject,x=requireXMLNode(),b=requireNodeType(),r=requireXMLDTDAttList(),w=requireXMLDTDEntity(),m=requireXMLDTDElement(),U=requireXMLDTDNotation(),k=requireXMLNamedNodeMap(),XMLDocType.exports=function(c){g(R,c);function R(v,e,L){var O,B,P,S,_,l;if(R.__super__.constructor.call(this,v),this.type=b.DocType,v.children){for(S=v.children,B=0,P=S.length;B":(y=this.parent)!=null&&y.name?"node: <"+_+">, parent: <"+this.parent.name+">":"node: <"+_+">"},S.prototype.ele=function(_,l,y){return this.element(_,l,y)},S.prototype.nod=function(_,l,y){return this.node(_,l,y)},S.prototype.txt=function(_){return this.text(_)},S.prototype.dat=function(_){return this.cdata(_)},S.prototype.com=function(_){return this.comment(_)},S.prototype.ins=function(_,l){return this.instruction(_,l)},S.prototype.doc=function(){return this.document()},S.prototype.dec=function(_,l,y){return this.declaration(_,l,y)},S.prototype.e=function(_,l,y){return this.element(_,l,y)},S.prototype.n=function(_,l,y){return this.node(_,l,y)},S.prototype.t=function(_){return this.text(_)},S.prototype.d=function(_){return this.cdata(_)},S.prototype.c=function(_){return this.comment(_)},S.prototype.r=function(_){return this.raw(_)},S.prototype.i=function(_,l){return this.instruction(_,l)},S.prototype.u=function(){return this.up()},S.prototype.importXMLBuilder=function(_){return this.importDocument(_)},S.prototype.replaceChild=function(_,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.removeChild=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.appendChild=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.hasChildNodes=function(){return this.children.length!==0},S.prototype.cloneNode=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isSupported=function(_,l){return!0},S.prototype.hasAttributes=function(){return this.attribs.length!==0},S.prototype.compareDocumentPosition=function(_){var l,y;return l=this,l===_?0:this.document()!==_.document()?(y=b.Disconnected|b.ImplementationSpecific,Math.random()<.5?y|=b.Preceding:y|=b.Following,y):l.isAncestor(_)?b.Contains|b.Preceding:l.isDescendant(_)?b.Contains|b.Following:l.isPreceding(_)?b.Preceding:b.Following},S.prototype.isSameNode=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupPrefix=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isDefaultNamespace=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.lookupNamespaceURI=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.isEqualNode=function(_){var l,y,D;if(_.nodeType!==this.nodeType||_.children.length!==this.children.length)return!1;for(l=y=0,D=this.children.length-1;0<=D?y<=D:y>=D;l=0<=D?++y:--y)if(!this.children[l].isEqualNode(_.children[l]))return!1;return!0},S.prototype.getFeature=function(_,l){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.setUserData=function(_,l,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.getUserData=function(_){throw new Error("This DOM method is not implemented."+this.debugInfo())},S.prototype.contains=function(_){return _?_===this||this.isDescendant(_):!1},S.prototype.isDescendant=function(_){var l,y,D,M,F;for(F=this.children,D=0,M=F.length;Dy},S.prototype.treePosition=function(_){var l,y;return y=0,l=!1,this.foreachTreeNode(this.document(),function(D){if(y++,!l&&D===_)return l=!0}),l?y:-1},S.prototype.foreachTreeNode=function(_,l){var y,D,M,F,N;for(_||(_=this.document()),F=_.children,D=0,M=F.length;D","]]]]>"),this.assertLegalChar(w))},m.prototype.comment=function(w){if(this.options.noValidation)return w;if(w=""+w||"",w.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+w);return this.assertLegalChar(w)},m.prototype.raw=function(w){return this.options.noValidation?w:""+w||""},m.prototype.attValue=function(w){return this.options.noValidation?w:this.assertLegalChar(this.attEscape(w=""+w||""))},m.prototype.insTarget=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.insValue=function(w){if(this.options.noValidation)return w;if(w=""+w||"",w.match(/\?>/))throw new Error("Invalid processing instruction value: "+w);return this.assertLegalChar(w)},m.prototype.xmlVersion=function(w){if(this.options.noValidation)return w;if(w=""+w||"",!w.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+w);return w},m.prototype.xmlEncoding=function(w){if(this.options.noValidation)return w;if(w=""+w||"",!w.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+w);return this.assertLegalChar(w)},m.prototype.xmlStandalone=function(w){return this.options.noValidation?w:w?"yes":"no"},m.prototype.dtdPubID=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.dtdSysID=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.dtdElementValue=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.dtdAttType=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.dtdAttDefault=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.dtdEntityValue=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.dtdNData=function(w){return this.options.noValidation?w:this.assertLegalChar(""+w||"")},m.prototype.convertAttKey="@",m.prototype.convertPIKey="?",m.prototype.convertTextKey="#text",m.prototype.convertCDataKey="#cdata",m.prototype.convertCommentKey="#comment",m.prototype.convertRawKey="#raw",m.prototype.assertLegalChar=function(w){var U,k;if(this.options.noValidation)return w;if(U="",this.options.version==="1.0"){if(U=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,k=w.match(U))throw new Error("Invalid character in string: "+w+" at index "+k.index)}else if(this.options.version==="1.1"&&(U=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,k=w.match(U)))throw new Error("Invalid character in string: "+w+" at index "+k.index);return w},m.prototype.assertLegalName=function(w){var U;if(this.options.noValidation)return w;if(this.assertLegalChar(w),U=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!w.match(U))throw new Error("Invalid character in name");return w},m.prototype.textEscape=function(w){var U;return this.options.noValidation?w:(U=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,w.replace(U,"&").replace(//g,">").replace(/\r/g," "))},m.prototype.attEscape=function(w){var U;return this.options.noValidation?w:(U=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,w.replace(U,"&").replace(/0)?new Array(g).join(x.indent):""},U.prototype.endline=function(k,x,a){return!x.pretty||x.suppressPrettyCount?"":x.newline},U.prototype.attribute=function(k,x,a){var g;return this.openAttribute(k,x,a),g=" "+k.name+'="'+k.value+'"',this.closeAttribute(k,x,a),g},U.prototype.cdata=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+""+this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.comment=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+""+this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.declaration=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+"",g+=this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.docType=function(k,x,a){var g,n,c,R,v;if(a||(a=0),this.openNode(k,x,a),x.state=r.OpenTag,R=this.indent(k,x,a),R+="0){for(R+=" [",R+=this.endline(k,x,a),x.state=r.InsideTag,v=k.children,n=0,c=v.length;n",R+=this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),R},U.prototype.element=function(k,x,a){var g,n,c,R,v,e,L,O,B,P,S,_,l,y;a||(a=0),P=!1,S="",this.openNode(k,x,a),x.state=r.OpenTag,S+=this.indent(k,x,a)+"<"+k.name,_=k.attribs;for(B in _)w.call(_,B)&&(g=_[B],S+=this.attribute(g,x,a));if(c=k.children.length,R=c===0?null:k.children[0],c===0||k.children.every(function(D){return(D.type===b.Text||D.type===b.Raw)&&D.value===""}))x.allowEmpty?(S+=">",x.state=r.CloseTag,S+=""+this.endline(k,x,a)):(x.state=r.CloseTag,S+=x.spaceBeforeSlash+"/>"+this.endline(k,x,a));else if(x.pretty&&c===1&&(R.type===b.Text||R.type===b.Raw)&&R.value!=null)S+=">",x.state=r.InsideTag,x.suppressPrettyCount++,P=!0,S+=this.writeChildNode(R,x,a+1),x.suppressPrettyCount--,P=!1,x.state=r.CloseTag,S+=""+this.endline(k,x,a);else{if(x.dontPrettyTextNodes){for(l=k.children,v=0,L=l.length;v"+this.endline(k,x,a),x.state=r.InsideTag,y=k.children,e=0,O=y.length;e",P&&x.suppressPrettyCount--,S+=this.endline(k,x,a),x.state=r.None}return this.closeNode(k,x,a),S},U.prototype.writeChildNode=function(k,x,a){switch(k.type){case b.CData:return this.cdata(k,x,a);case b.Comment:return this.comment(k,x,a);case b.Element:return this.element(k,x,a);case b.Raw:return this.raw(k,x,a);case b.Text:return this.text(k,x,a);case b.ProcessingInstruction:return this.processingInstruction(k,x,a);case b.Dummy:return"";case b.Declaration:return this.declaration(k,x,a);case b.DocType:return this.docType(k,x,a);case b.AttributeDeclaration:return this.dtdAttList(k,x,a);case b.ElementDeclaration:return this.dtdElement(k,x,a);case b.EntityDeclaration:return this.dtdEntity(k,x,a);case b.NotationDeclaration:return this.dtdNotation(k,x,a);default:throw new Error("Unknown XML node type: "+k.constructor.name)}},U.prototype.processingInstruction=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+"",g+=this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.raw=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a),x.state=r.InsideTag,g+=k.value,x.state=r.CloseTag,g+=this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.text=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a),x.state=r.InsideTag,g+=k.value,x.state=r.CloseTag,g+=this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.dtdAttList=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+""+this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.dtdElement=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+""+this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.dtdEntity=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+""+this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.dtdNotation=function(k,x,a){var g;return this.openNode(k,x,a),x.state=r.OpenTag,g=this.indent(k,x,a)+""+this.endline(k,x,a),x.state=r.None,this.closeNode(k,x,a),g},U.prototype.openNode=function(k,x,a){},U.prototype.closeNode=function(k,x,a){},U.prototype.openAttribute=function(k,x,a){},U.prototype.closeAttribute=function(k,x,a){},U}()}).call(commonjsGlobal$1)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var b,r=function(w,U){for(var k in U)m.call(U,k)&&(w[k]=U[k]);function x(){this.constructor=w}return x.prototype=U.prototype,w.prototype=new x,w.__super__=U.prototype,w},m={}.hasOwnProperty;b=requireXMLWriterBase(),XMLStringWriter.exports=function(w){r(U,w);function U(k){U.__super__.constructor.call(this,k)}return U.prototype.document=function(k,x){var a,g,n,c,R;for(x=this.filterOptions(x),c="",R=k.children,g=0,n=R.length;g=0;)this.up();return this.onEnd()},F.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},F.prototype.openNode=function(N){var G,W,J,Y;if(!N.isOpen){if(!this.root&&this.currentLevel===0&&N.type===b.Element&&(this.root=N),W="",N.type===b.Element){this.writerOptions.state=r.OpenTag,W=this.writer.indent(N,this.writerOptions,this.currentLevel)+"<"+N.name,Y=N.attribs;for(J in Y)M.call(Y,J)&&(G=Y[J],W+=this.writer.attribute(G,this.writerOptions,this.currentLevel));W+=(N.children?">":"/>")+this.writer.endline(N,this.writerOptions,this.currentLevel),this.writerOptions.state=r.InsideTag}else this.writerOptions.state=r.OpenTag,W=this.writer.indent(N,this.writerOptions,this.currentLevel)+""),W+=this.writer.endline(N,this.writerOptions,this.currentLevel);return this.onData(W,this.currentLevel),N.isOpen=!0}},F.prototype.closeNode=function(N){var G;if(!N.isClosed)return G="",this.writerOptions.state=r.CloseTag,N.type===b.Element?G=this.writer.indent(N,this.writerOptions,this.currentLevel)+""+this.writer.endline(N,this.writerOptions,this.currentLevel):G=this.writer.indent(N,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(N,this.writerOptions,this.currentLevel),this.writerOptions.state=r.None,this.onData(G,this.currentLevel),N.isClosed=!0},F.prototype.onData=function(N,G){return this.documentStarted=!0,this.onDataCallback(N,G+1)},F.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},F.prototype.debugInfo=function(N){return N==null?"":"node: <"+N+">"},F.prototype.ele=function(){return this.element.apply(this,arguments)},F.prototype.nod=function(N,G,W){return this.node(N,G,W)},F.prototype.txt=function(N){return this.text(N)},F.prototype.dat=function(N){return this.cdata(N)},F.prototype.com=function(N){return this.comment(N)},F.prototype.ins=function(N,G){return this.instruction(N,G)},F.prototype.dec=function(N,G,W){return this.declaration(N,G,W)},F.prototype.dtd=function(N,G,W){return this.doctype(N,G,W)},F.prototype.e=function(N,G,W){return this.element(N,G,W)},F.prototype.n=function(N,G,W){return this.node(N,G,W)},F.prototype.t=function(N){return this.text(N)},F.prototype.d=function(N){return this.cdata(N)},F.prototype.c=function(N){return this.comment(N)},F.prototype.r=function(N){return this.raw(N)},F.prototype.i=function(N,G){return this.instruction(N,G)},F.prototype.att=function(){return this.currentNode&&this.currentNode.type===b.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},F.prototype.a=function(){return this.currentNode&&this.currentNode.type===b.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},F.prototype.ent=function(N,G){return this.entity(N,G)},F.prototype.pent=function(N,G){return this.pEntity(N,G)},F.prototype.not=function(N,G){return this.notation(N,G)},F}()}).call(commonjsGlobal$1)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var b,r,m,w=function(k,x){for(var a in x)U.call(x,a)&&(k[a]=x[a]);function g(){this.constructor=k}return g.prototype=x.prototype,k.prototype=new g,k.__super__=x.prototype,k},U={}.hasOwnProperty;b=requireNodeType(),m=requireXMLWriterBase(),r=requireWriterState(),XMLStreamWriter.exports=function(k){w(x,k);function x(a,g){this.stream=a,x.__super__.constructor.call(this,g)}return x.prototype.endline=function(a,g,n){return a.isLastRootNode&&g.state===r.CloseTag?"":x.__super__.endline.call(this,a,g,n)},x.prototype.document=function(a,g){var n,c,R,v,e,L,O,B,P;for(O=a.children,c=R=0,e=O.length;R0){for(this.stream.write(" ["),this.stream.write(this.endline(a,g,n)),g.state=r.InsideTag,e=a.children,R=0,v=e.length;R"),this.stream.write(this.endline(a,g,n)),g.state=r.None,this.closeNode(a,g,n)},x.prototype.element=function(a,g,n){var c,R,v,e,L,O,B,P,S;n||(n=0),this.openNode(a,g,n),g.state=r.OpenTag,this.stream.write(this.indent(a,g,n)+"<"+a.name),P=a.attribs;for(B in P)U.call(P,B)&&(c=P[B],this.attribute(c,g,n));if(v=a.children.length,e=v===0?null:a.children[0],v===0||a.children.every(function(_){return(_.type===b.Text||_.type===b.Raw)&&_.value===""}))g.allowEmpty?(this.stream.write(">"),g.state=r.CloseTag,this.stream.write("")):(g.state=r.CloseTag,this.stream.write(g.spaceBeforeSlash+"/>"));else if(g.pretty&&v===1&&(e.type===b.Text||e.type===b.Raw)&&e.value!=null)this.stream.write(">"),g.state=r.InsideTag,g.suppressPrettyCount++,this.writeChildNode(e,g,n+1),g.suppressPrettyCount--,g.state=r.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(a,g,n)),g.state=r.InsideTag,S=a.children,L=0,O=S.length;L")}return this.stream.write(this.endline(a,g,n)),g.state=r.None,this.closeNode(a,g,n)},x.prototype.processingInstruction=function(a,g,n){return this.stream.write(x.__super__.processingInstruction.call(this,a,g,n))},x.prototype.raw=function(a,g,n){return this.stream.write(x.__super__.raw.call(this,a,g,n))},x.prototype.text=function(a,g,n){return this.stream.write(x.__super__.text.call(this,a,g,n))},x.prototype.dtdAttList=function(a,g,n){return this.stream.write(x.__super__.dtdAttList.call(this,a,g,n))},x.prototype.dtdElement=function(a,g,n){return this.stream.write(x.__super__.dtdElement.call(this,a,g,n))},x.prototype.dtdEntity=function(a,g,n){return this.stream.write(x.__super__.dtdEntity.call(this,a,g,n))},x.prototype.dtdNotation=function(a,g,n){return this.stream.write(x.__super__.dtdNotation.call(this,a,g,n))},x}(m)}).call(commonjsGlobal$1)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var b,r,m,w,U,k,x,a,g,n;n=requireUtility(),a=n.assign,g=n.isFunction,m=requireXMLDOMImplementation(),w=requireXMLDocument(),U=requireXMLDocumentCB(),x=requireXMLStringWriter(),k=requireXMLStreamWriter(),b=requireNodeType(),r=requireWriterState(),lib.create=function(c,R,v,e){var L,O;if(c==null)throw new Error("Root element needs a name.");return e=a({},R,v,e),L=new w(e),O=L.element(c),e.headless||(L.declaration(e),(e.pubID!=null||e.sysID!=null)&&L.dtd(e)),O},lib.begin=function(c,R,v){var e;return g(c)&&(e=[c,R],R=e[0],v=e[1],c={}),R?new U(c,R,v):new w(c)},lib.stringWriter=function(c){return new x(c)},lib.streamWriter=function(c,R){return new k(c,R)},lib.implementation=new m,lib.nodeType=b,lib.writerState=r}).call(commonjsGlobal$1)),lib}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var b,r,m,w,U,k={}.hasOwnProperty;b=requireLib(),r=requireDefaults().defaults,w=function(x){return typeof x=="string"&&(x.indexOf("&")>=0||x.indexOf(">")>=0||x.indexOf("<")>=0)},U=function(x){return""},m=function(x){return x.replace("]]>","]]]]>")},builder.Builder=function(){function x(a){var g,n,c;this.options={},n=r["0.2"];for(g in n)k.call(n,g)&&(c=n[g],this.options[g]=c);for(g in a)k.call(a,g)&&(c=a[g],this.options[g]=c)}return x.prototype.buildObject=function(a){var g,n,c,R,v;return g=this.options.attrkey,n=this.options.charkey,Object.keys(a).length===1&&this.options.rootName===r["0.2"].rootName?(v=Object.keys(a)[0],a=a[v]):v=this.options.rootName,c=function(e){return function(L,O){var B,P,S,_,l,y;if(typeof O!="object")e.options.cdata&&w(O)?L.raw(U(O)):L.txt(O);else if(Array.isArray(O)){for(_ in O)if(k.call(O,_)){P=O[_];for(l in P)S=P[l],L=c(L.ele(l),S).up()}}else for(l in O)if(k.call(O,l))if(P=O[l],l===g){if(typeof P=="object")for(B in P)y=P[B],L=L.att(B,y)}else if(l===n)e.options.cdata&&w(P)?L=L.raw(U(P)):L=L.txt(P);else if(Array.isArray(P))for(_ in P)k.call(P,_)&&(S=P[_],typeof S=="string"?e.options.cdata&&w(S)?L=L.ele(l).raw(U(S)).up():L=L.ele(l,S).up():L=c(L.ele(l),S).up());else typeof P=="object"?L=c(L.ele(l),P).up():typeof P=="string"&&e.options.cdata&&w(P)?L=L.ele(l).raw(U(P)).up():(P==null&&(P=""),L=L.ele(l,P.toString()).up());return L}}(this),R=b.create(v,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),c(R,a).end(this.options.renderOpts)},x}()}).call(commonjsGlobal$1)),builder}var parser={},sax={},string_decoder={},safeBuffer={exports:{}},buffer={},base64Js={},hasRequiredBase64Js;function requireBase64Js(){if(hasRequiredBase64Js)return base64Js;hasRequiredBase64Js=1,base64Js.byteLength=a,base64Js.toByteArray=n,base64Js.fromByteArray=v;for(var b=[],r=[],m=typeof Uint8Array<"u"?Uint8Array:Array,w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U=0,k=w.length;U0)throw new Error("Invalid string. Length must be a multiple of 4");var O=e.indexOf("=");O===-1&&(O=L);var B=O===L?0:4-O%4;return[O,B]}function a(e){var L=x(e),O=L[0],B=L[1];return(O+B)*3/4-B}function g(e,L,O){return(L+O)*3/4-O}function n(e){var L,O=x(e),B=O[0],P=O[1],S=new m(g(e,B,P)),_=0,l=P>0?B-4:B,y;for(y=0;y>16&255,S[_++]=L>>8&255,S[_++]=L&255;return P===2&&(L=r[e.charCodeAt(y)]<<2|r[e.charCodeAt(y+1)]>>4,S[_++]=L&255),P===1&&(L=r[e.charCodeAt(y)]<<10|r[e.charCodeAt(y+1)]<<4|r[e.charCodeAt(y+2)]>>2,S[_++]=L>>8&255,S[_++]=L&255),S}function c(e){return b[e>>18&63]+b[e>>12&63]+b[e>>6&63]+b[e&63]}function R(e,L,O){for(var B,P=[],S=L;Sl?l:_+S));return B===1?(L=e[O-1],P.push(b[L>>2]+b[L<<4&63]+"==")):B===2&&(L=(e[O-2]<<8)+e[O-1],P.push(b[L>>10]+b[L>>4&63]+b[L<<2&63]+"=")),P.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var hasRequiredIeee754;function requireIeee754(){return hasRequiredIeee754||(hasRequiredIeee754=1,ieee754.read=function(b,r,m,w,U){var k,x,a=U*8-w-1,g=(1<>1,c=-7,R=m?U-1:0,v=m?-1:1,e=b[r+R];for(R+=v,k=e&(1<<-c)-1,e>>=-c,c+=a;c>0;k=k*256+b[r+R],R+=v,c-=8);for(x=k&(1<<-c)-1,k>>=-c,c+=w;c>0;x=x*256+b[r+R],R+=v,c-=8);if(k===0)k=1-n;else{if(k===g)return x?NaN:(e?-1:1)*(1/0);x=x+Math.pow(2,w),k=k-n}return(e?-1:1)*x*Math.pow(2,k-w)},ieee754.write=function(b,r,m,w,U,k){var x,a,g,n=k*8-U-1,c=(1<>1,v=U===23?Math.pow(2,-24)-Math.pow(2,-77):0,e=w?0:k-1,L=w?1:-1,O=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(a=isNaN(r)?1:0,x=c):(x=Math.floor(Math.log(r)/Math.LN2),r*(g=Math.pow(2,-x))<1&&(x--,g*=2),x+R>=1?r+=v/g:r+=v*Math.pow(2,1-R),r*g>=2&&(x++,g/=2),x+R>=c?(a=0,x=c):x+R>=1?(a=(r*g-1)*Math.pow(2,U),x=x+R):(a=r*Math.pow(2,R-1)*Math.pow(2,U),x=0));U>=8;b[m+e]=a&255,e+=L,a/=256,U-=8);for(x=x<0;b[m+e]=x&255,e+=L,x/=256,n-=8);b[m+e-L]|=O*128}),ieee754}/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */var hasRequiredBuffer;function requireBuffer(){return hasRequiredBuffer||(hasRequiredBuffer=1,function(b){const r=requireBase64Js(),m=requireIeee754(),w=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a,b.SlowBuffer=S,b.INSPECT_MAX_BYTES=50;const U=2147483647;b.kMaxLength=U,a.TYPED_ARRAY_SUPPORT=k(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function k(){try{const Oe=new Uint8Array(1),Ee={foo:function(){return 42}};return Object.setPrototypeOf(Ee,Uint8Array.prototype),Object.setPrototypeOf(Oe,Ee),Oe.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function x(Oe){if(Oe>U)throw new RangeError('The value "'+Oe+'" is invalid for option "size"');const Ee=new Uint8Array(Oe);return Object.setPrototypeOf(Ee,a.prototype),Ee}function a(Oe,Ee,Ae){if(typeof Oe=="number"){if(typeof Ee=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(Oe)}return g(Oe,Ee,Ae)}a.poolSize=8192;function g(Oe,Ee,Ae){if(typeof Oe=="string")return v(Oe,Ee);if(ArrayBuffer.isView(Oe))return L(Oe);if(Oe==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Oe);if(De(Oe,ArrayBuffer)||Oe&&De(Oe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(De(Oe,SharedArrayBuffer)||Oe&&De(Oe.buffer,SharedArrayBuffer)))return O(Oe,Ee,Ae);if(typeof Oe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Ve=Oe.valueOf&&Oe.valueOf();if(Ve!=null&&Ve!==Oe)return a.from(Ve,Ee,Ae);const $e=B(Oe);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Oe[Symbol.toPrimitive]=="function")return a.from(Oe[Symbol.toPrimitive]("string"),Ee,Ae);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Oe)}a.from=function(Oe,Ee,Ae){return g(Oe,Ee,Ae)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function n(Oe){if(typeof Oe!="number")throw new TypeError('"size" argument must be of type number');if(Oe<0)throw new RangeError('The value "'+Oe+'" is invalid for option "size"')}function c(Oe,Ee,Ae){return n(Oe),Oe<=0?x(Oe):Ee!==void 0?typeof Ae=="string"?x(Oe).fill(Ee,Ae):x(Oe).fill(Ee):x(Oe)}a.alloc=function(Oe,Ee,Ae){return c(Oe,Ee,Ae)};function R(Oe){return n(Oe),x(Oe<0?0:P(Oe)|0)}a.allocUnsafe=function(Oe){return R(Oe)},a.allocUnsafeSlow=function(Oe){return R(Oe)};function v(Oe,Ee){if((typeof Ee!="string"||Ee==="")&&(Ee="utf8"),!a.isEncoding(Ee))throw new TypeError("Unknown encoding: "+Ee);const Ae=_(Oe,Ee)|0;let Ve=x(Ae);const $e=Ve.write(Oe,Ee);return $e!==Ae&&(Ve=Ve.slice(0,$e)),Ve}function e(Oe){const Ee=Oe.length<0?0:P(Oe.length)|0,Ae=x(Ee);for(let Ve=0;Ve=U)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+U.toString(16)+" bytes");return Oe|0}function S(Oe){return+Oe!=Oe&&(Oe=0),a.alloc(+Oe)}a.isBuffer=function(Ee){return Ee!=null&&Ee._isBuffer===!0&&Ee!==a.prototype},a.compare=function(Ee,Ae){if(De(Ee,Uint8Array)&&(Ee=a.from(Ee,Ee.offset,Ee.byteLength)),De(Ae,Uint8Array)&&(Ae=a.from(Ae,Ae.offset,Ae.byteLength)),!a.isBuffer(Ee)||!a.isBuffer(Ae))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ee===Ae)return 0;let Ve=Ee.length,$e=Ae.length;for(let Ue=0,He=Math.min(Ve,$e);Ue$e.length?(a.isBuffer(He)||(He=a.from(He)),He.copy($e,Ue)):Uint8Array.prototype.set.call($e,He,Ue);else if(a.isBuffer(He))He.copy($e,Ue);else throw new TypeError('"list" argument must be an Array of Buffers');Ue+=He.length}return $e};function _(Oe,Ee){if(a.isBuffer(Oe))return Oe.length;if(ArrayBuffer.isView(Oe)||De(Oe,ArrayBuffer))return Oe.byteLength;if(typeof Oe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Oe);const Ae=Oe.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ae===0)return 0;let $e=!1;for(;;)switch(Ee){case"ascii":case"latin1":case"binary":return Ae;case"utf8":case"utf-8":return oe(Oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ae*2;case"hex":return Ae>>>1;case"base64":return Ne(Oe).length;default:if($e)return Ve?-1:oe(Oe).length;Ee=(""+Ee).toLowerCase(),$e=!0}}a.byteLength=_;function l(Oe,Ee,Ae){let Ve=!1;if((Ee===void 0||Ee<0)&&(Ee=0),Ee>this.length||((Ae===void 0||Ae>this.length)&&(Ae=this.length),Ae<=0)||(Ae>>>=0,Ee>>>=0,Ae<=Ee))return"";for(Oe||(Oe="utf8");;)switch(Oe){case"hex":return $(this,Ee,Ae);case"utf8":case"utf-8":return V(this,Ee,Ae);case"ascii":return X(this,Ee,Ae);case"latin1":case"binary":return q(this,Ee,Ae);case"base64":return Y(this,Ee,Ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fe(this,Ee,Ae);default:if(Ve)throw new TypeError("Unknown encoding: "+Oe);Oe=(Oe+"").toLowerCase(),Ve=!0}}a.prototype._isBuffer=!0;function y(Oe,Ee,Ae){const Ve=Oe[Ee];Oe[Ee]=Oe[Ae],Oe[Ae]=Ve}a.prototype.swap16=function(){const Ee=this.length;if(Ee%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Ae=0;AeAe&&(Ee+=" ... "),""},w&&(a.prototype[w]=a.prototype.inspect),a.prototype.compare=function(Ee,Ae,Ve,$e,Ue){if(De(Ee,Uint8Array)&&(Ee=a.from(Ee,Ee.offset,Ee.byteLength)),!a.isBuffer(Ee))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ee);if(Ae===void 0&&(Ae=0),Ve===void 0&&(Ve=Ee?Ee.length:0),$e===void 0&&($e=0),Ue===void 0&&(Ue=this.length),Ae<0||Ve>Ee.length||$e<0||Ue>this.length)throw new RangeError("out of range index");if($e>=Ue&&Ae>=Ve)return 0;if($e>=Ue)return-1;if(Ae>=Ve)return 1;if(Ae>>>=0,Ve>>>=0,$e>>>=0,Ue>>>=0,this===Ee)return 0;let He=Ue-$e,Qe=Ve-Ae;const Ze=Math.min(He,Qe),et=this.slice($e,Ue),tt=Ee.slice(Ae,Ve);for(let je=0;je2147483647?Ae=2147483647:Ae<-2147483648&&(Ae=-2147483648),Ae=+Ae,Fe(Ae)&&(Ae=$e?0:Oe.length-1),Ae<0&&(Ae=Oe.length+Ae),Ae>=Oe.length){if($e)return-1;Ae=Oe.length-1}else if(Ae<0)if($e)Ae=0;else return-1;if(typeof Ee=="string"&&(Ee=a.from(Ee,Ve)),a.isBuffer(Ee))return Ee.length===0?-1:M(Oe,Ee,Ae,Ve,$e);if(typeof Ee=="number")return Ee=Ee&255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(Oe,Ee,Ae):Uint8Array.prototype.lastIndexOf.call(Oe,Ee,Ae):M(Oe,[Ee],Ae,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function M(Oe,Ee,Ae,Ve,$e){let Ue=1,He=Oe.length,Qe=Ee.length;if(Ve!==void 0&&(Ve=String(Ve).toLowerCase(),Ve==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(Oe.length<2||Ee.length<2)return-1;Ue=2,He/=2,Qe/=2,Ae/=2}function Ze(tt,je){return Ue===1?tt[je]:tt.readUInt16BE(je*Ue)}let et;if($e){let tt=-1;for(et=Ae;etHe&&(Ae=He-Qe),et=Ae;et>=0;et--){let tt=!0;for(let je=0;je$e&&(Ve=$e)):Ve=$e;const Ue=Ee.length;Ve>Ue/2&&(Ve=Ue/2);let He;for(He=0;He>>0,isFinite(Ve)?(Ve=Ve>>>0,$e===void 0&&($e="utf8")):($e=Ve,Ve=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Ue=this.length-Ae;if((Ve===void 0||Ve>Ue)&&(Ve=Ue),Ee.length>0&&(Ve<0||Ae<0)||Ae>this.length)throw new RangeError("Attempt to write outside buffer bounds");$e||($e="utf8");let He=!1;for(;;)switch($e){case"hex":return F(this,Ee,Ae,Ve);case"utf8":case"utf-8":return N(this,Ee,Ae,Ve);case"ascii":case"latin1":case"binary":return G(this,Ee,Ae,Ve);case"base64":return W(this,Ee,Ae,Ve);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,Ee,Ae,Ve);default:if(He)throw new TypeError("Unknown encoding: "+$e);$e=(""+$e).toLowerCase(),He=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Y(Oe,Ee,Ae){return Ee===0&&Ae===Oe.length?r.fromByteArray(Oe):r.fromByteArray(Oe.slice(Ee,Ae))}function V(Oe,Ee,Ae){Ae=Math.min(Oe.length,Ae);const Ve=[];let $e=Ee;for(;$e239?4:Ue>223?3:Ue>191?2:1;if($e+Qe<=Ae){let Ze,et,tt,je;switch(Qe){case 1:Ue<128&&(He=Ue);break;case 2:Ze=Oe[$e+1],(Ze&192)===128&&(je=(Ue&31)<<6|Ze&63,je>127&&(He=je));break;case 3:Ze=Oe[$e+1],et=Oe[$e+2],(Ze&192)===128&&(et&192)===128&&(je=(Ue&15)<<12|(Ze&63)<<6|et&63,je>2047&&(je<55296||je>57343)&&(He=je));break;case 4:Ze=Oe[$e+1],et=Oe[$e+2],tt=Oe[$e+3],(Ze&192)===128&&(et&192)===128&&(tt&192)===128&&(je=(Ue&15)<<18|(Ze&63)<<12|(et&63)<<6|tt&63,je>65535&&je<1114112&&(He=je))}}He===null?(He=65533,Qe=1):He>65535&&(He-=65536,Ve.push(He>>>10&1023|55296),He=56320|He&1023),Ve.push(He),$e+=Qe}return z(Ve)}const H=4096;function z(Oe){const Ee=Oe.length;if(Ee<=H)return String.fromCharCode.apply(String,Oe);let Ae="",Ve=0;for(;VeVe)&&(Ae=Ve);let $e="";for(let Ue=Ee;UeVe&&(Ee=Ve),Ae<0?(Ae+=Ve,Ae<0&&(Ae=0)):Ae>Ve&&(Ae=Ve),AeAe)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(Ee,Ae,Ve){Ee=Ee>>>0,Ae=Ae>>>0,Ve||Q(Ee,Ae,this.length);let $e=this[Ee],Ue=1,He=0;for(;++He>>0,Ae=Ae>>>0,Ve||Q(Ee,Ae,this.length);let $e=this[Ee+--Ae],Ue=1;for(;Ae>0&&(Ue*=256);)$e+=this[Ee+--Ae]*Ue;return $e},a.prototype.readUint8=a.prototype.readUInt8=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,1,this.length),this[Ee]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,2,this.length),this[Ee]|this[Ee+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,2,this.length),this[Ee]<<8|this[Ee+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,4,this.length),(this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16)+this[Ee+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,4,this.length),this[Ee]*16777216+(this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3])},a.prototype.readBigUInt64LE=qe(function(Ee){Ee=Ee>>>0,ye(Ee,"offset");const Ae=this[Ee],Ve=this[Ee+7];(Ae===void 0||Ve===void 0)&&se(Ee,this.length-8);const $e=Ae+this[++Ee]*2**8+this[++Ee]*2**16+this[++Ee]*2**24,Ue=this[++Ee]+this[++Ee]*2**8+this[++Ee]*2**16+Ve*2**24;return BigInt($e)+(BigInt(Ue)<>>0,ye(Ee,"offset");const Ae=this[Ee],Ve=this[Ee+7];(Ae===void 0||Ve===void 0)&&se(Ee,this.length-8);const $e=Ae*2**24+this[++Ee]*2**16+this[++Ee]*2**8+this[++Ee],Ue=this[++Ee]*2**24+this[++Ee]*2**16+this[++Ee]*2**8+Ve;return(BigInt($e)<>>0,Ae=Ae>>>0,Ve||Q(Ee,Ae,this.length);let $e=this[Ee],Ue=1,He=0;for(;++He=Ue&&($e-=Math.pow(2,8*Ae)),$e},a.prototype.readIntBE=function(Ee,Ae,Ve){Ee=Ee>>>0,Ae=Ae>>>0,Ve||Q(Ee,Ae,this.length);let $e=Ae,Ue=1,He=this[Ee+--$e];for(;$e>0&&(Ue*=256);)He+=this[Ee+--$e]*Ue;return Ue*=128,He>=Ue&&(He-=Math.pow(2,8*Ae)),He},a.prototype.readInt8=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,1,this.length),this[Ee]&128?(255-this[Ee]+1)*-1:this[Ee]},a.prototype.readInt16LE=function(Ee,Ae){Ee=Ee>>>0,Ae||Q(Ee,2,this.length);const Ve=this[Ee]|this[Ee+1]<<8;return Ve&32768?Ve|4294901760:Ve},a.prototype.readInt16BE=function(Ee,Ae){Ee=Ee>>>0,Ae||Q(Ee,2,this.length);const Ve=this[Ee+1]|this[Ee]<<8;return Ve&32768?Ve|4294901760:Ve},a.prototype.readInt32LE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,4,this.length),this[Ee]|this[Ee+1]<<8|this[Ee+2]<<16|this[Ee+3]<<24},a.prototype.readInt32BE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,4,this.length),this[Ee]<<24|this[Ee+1]<<16|this[Ee+2]<<8|this[Ee+3]},a.prototype.readBigInt64LE=qe(function(Ee){Ee=Ee>>>0,ye(Ee,"offset");const Ae=this[Ee],Ve=this[Ee+7];(Ae===void 0||Ve===void 0)&&se(Ee,this.length-8);const $e=this[Ee+4]+this[Ee+5]*2**8+this[Ee+6]*2**16+(Ve<<24);return(BigInt($e)<>>0,ye(Ee,"offset");const Ae=this[Ee],Ve=this[Ee+7];(Ae===void 0||Ve===void 0)&&se(Ee,this.length-8);const $e=(Ae<<24)+this[++Ee]*2**16+this[++Ee]*2**8+this[++Ee];return(BigInt($e)<>>0,Ae||Q(Ee,4,this.length),m.read(this,Ee,!0,23,4)},a.prototype.readFloatBE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,4,this.length),m.read(this,Ee,!1,23,4)},a.prototype.readDoubleLE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,8,this.length),m.read(this,Ee,!0,52,8)},a.prototype.readDoubleBE=function(Ee,Ae){return Ee=Ee>>>0,Ae||Q(Ee,8,this.length),m.read(this,Ee,!1,52,8)};function ie(Oe,Ee,Ae,Ve,$e,Ue){if(!a.isBuffer(Oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ee>$e||EeOe.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(Ee,Ae,Ve,$e){if(Ee=+Ee,Ae=Ae>>>0,Ve=Ve>>>0,!$e){const Qe=Math.pow(2,8*Ve)-1;ie(this,Ee,Ae,Ve,Qe,0)}let Ue=1,He=0;for(this[Ae]=Ee&255;++He>>0,Ve=Ve>>>0,!$e){const Qe=Math.pow(2,8*Ve)-1;ie(this,Ee,Ae,Ve,Qe,0)}let Ue=Ve-1,He=1;for(this[Ae+Ue]=Ee&255;--Ue>=0&&(He*=256);)this[Ae+Ue]=Ee/He&255;return Ae+Ve},a.prototype.writeUint8=a.prototype.writeUInt8=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,1,255,0),this[Ae]=Ee&255,Ae+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,2,65535,0),this[Ae]=Ee&255,this[Ae+1]=Ee>>>8,Ae+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,2,65535,0),this[Ae]=Ee>>>8,this[Ae+1]=Ee&255,Ae+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,4,4294967295,0),this[Ae+3]=Ee>>>24,this[Ae+2]=Ee>>>16,this[Ae+1]=Ee>>>8,this[Ae]=Ee&255,Ae+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,4,4294967295,0),this[Ae]=Ee>>>24,this[Ae+1]=Ee>>>16,this[Ae+2]=Ee>>>8,this[Ae+3]=Ee&255,Ae+4};function Te(Oe,Ee,Ae,Ve,$e){_e(Ee,Ve,$e,Oe,Ae,7);let Ue=Number(Ee&BigInt(4294967295));Oe[Ae++]=Ue,Ue=Ue>>8,Oe[Ae++]=Ue,Ue=Ue>>8,Oe[Ae++]=Ue,Ue=Ue>>8,Oe[Ae++]=Ue;let He=Number(Ee>>BigInt(32)&BigInt(4294967295));return Oe[Ae++]=He,He=He>>8,Oe[Ae++]=He,He=He>>8,Oe[Ae++]=He,He=He>>8,Oe[Ae++]=He,Ae}function me(Oe,Ee,Ae,Ve,$e){_e(Ee,Ve,$e,Oe,Ae,7);let Ue=Number(Ee&BigInt(4294967295));Oe[Ae+7]=Ue,Ue=Ue>>8,Oe[Ae+6]=Ue,Ue=Ue>>8,Oe[Ae+5]=Ue,Ue=Ue>>8,Oe[Ae+4]=Ue;let He=Number(Ee>>BigInt(32)&BigInt(4294967295));return Oe[Ae+3]=He,He=He>>8,Oe[Ae+2]=He,He=He>>8,Oe[Ae+1]=He,He=He>>8,Oe[Ae]=He,Ae+8}a.prototype.writeBigUInt64LE=qe(function(Ee,Ae=0){return Te(this,Ee,Ae,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=qe(function(Ee,Ae=0){return me(this,Ee,Ae,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(Ee,Ae,Ve,$e){if(Ee=+Ee,Ae=Ae>>>0,!$e){const Ze=Math.pow(2,8*Ve-1);ie(this,Ee,Ae,Ve,Ze-1,-Ze)}let Ue=0,He=1,Qe=0;for(this[Ae]=Ee&255;++Ue>0)-Qe&255;return Ae+Ve},a.prototype.writeIntBE=function(Ee,Ae,Ve,$e){if(Ee=+Ee,Ae=Ae>>>0,!$e){const Ze=Math.pow(2,8*Ve-1);ie(this,Ee,Ae,Ve,Ze-1,-Ze)}let Ue=Ve-1,He=1,Qe=0;for(this[Ae+Ue]=Ee&255;--Ue>=0&&(He*=256);)Ee<0&&Qe===0&&this[Ae+Ue+1]!==0&&(Qe=1),this[Ae+Ue]=(Ee/He>>0)-Qe&255;return Ae+Ve},a.prototype.writeInt8=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,1,127,-128),Ee<0&&(Ee=255+Ee+1),this[Ae]=Ee&255,Ae+1},a.prototype.writeInt16LE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,2,32767,-32768),this[Ae]=Ee&255,this[Ae+1]=Ee>>>8,Ae+2},a.prototype.writeInt16BE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,2,32767,-32768),this[Ae]=Ee>>>8,this[Ae+1]=Ee&255,Ae+2},a.prototype.writeInt32LE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,4,2147483647,-2147483648),this[Ae]=Ee&255,this[Ae+1]=Ee>>>8,this[Ae+2]=Ee>>>16,this[Ae+3]=Ee>>>24,Ae+4},a.prototype.writeInt32BE=function(Ee,Ae,Ve){return Ee=+Ee,Ae=Ae>>>0,Ve||ie(this,Ee,Ae,4,2147483647,-2147483648),Ee<0&&(Ee=4294967295+Ee+1),this[Ae]=Ee>>>24,this[Ae+1]=Ee>>>16,this[Ae+2]=Ee>>>8,this[Ae+3]=Ee&255,Ae+4},a.prototype.writeBigInt64LE=qe(function(Ee,Ae=0){return Te(this,Ee,Ae,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=qe(function(Ee,Ae=0){return me(this,Ee,Ae,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function K(Oe,Ee,Ae,Ve,$e,Ue){if(Ae+Ve>Oe.length)throw new RangeError("Index out of range");if(Ae<0)throw new RangeError("Index out of range")}function ce(Oe,Ee,Ae,Ve,$e){return Ee=+Ee,Ae=Ae>>>0,$e||K(Oe,Ee,Ae,4),m.write(Oe,Ee,Ae,Ve,23,4),Ae+4}a.prototype.writeFloatLE=function(Ee,Ae,Ve){return ce(this,Ee,Ae,!0,Ve)},a.prototype.writeFloatBE=function(Ee,Ae,Ve){return ce(this,Ee,Ae,!1,Ve)};function de(Oe,Ee,Ae,Ve,$e){return Ee=+Ee,Ae=Ae>>>0,$e||K(Oe,Ee,Ae,8),m.write(Oe,Ee,Ae,Ve,52,8),Ae+8}a.prototype.writeDoubleLE=function(Ee,Ae,Ve){return de(this,Ee,Ae,!0,Ve)},a.prototype.writeDoubleBE=function(Ee,Ae,Ve){return de(this,Ee,Ae,!1,Ve)},a.prototype.copy=function(Ee,Ae,Ve,$e){if(!a.isBuffer(Ee))throw new TypeError("argument should be a Buffer");if(Ve||(Ve=0),!$e&&$e!==0&&($e=this.length),Ae>=Ee.length&&(Ae=Ee.length),Ae||(Ae=0),$e>0&&$e=this.length)throw new RangeError("Index out of range");if($e<0)throw new RangeError("sourceEnd out of bounds");$e>this.length&&($e=this.length),Ee.length-Ae<$e-Ve&&($e=Ee.length-Ae+Ve);const Ue=$e-Ve;return this===Ee&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Ae,Ve,$e):Uint8Array.prototype.set.call(Ee,this.subarray(Ve,$e),Ae),Ue},a.prototype.fill=function(Ee,Ae,Ve,$e){if(typeof Ee=="string"){if(typeof Ae=="string"?($e=Ae,Ae=0,Ve=this.length):typeof Ve=="string"&&($e=Ve,Ve=this.length),$e!==void 0&&typeof $e!="string")throw new TypeError("encoding must be a string");if(typeof $e=="string"&&!a.isEncoding($e))throw new TypeError("Unknown encoding: "+$e);if(Ee.length===1){const He=Ee.charCodeAt(0);($e==="utf8"&&He<128||$e==="latin1")&&(Ee=He)}}else typeof Ee=="number"?Ee=Ee&255:typeof Ee=="boolean"&&(Ee=Number(Ee));if(Ae<0||this.length>>0,Ve=Ve===void 0?this.length:Ve>>>0,Ee||(Ee=0);let Ue;if(typeof Ee=="number")for(Ue=Ae;Ue2**32?$e=he(String(Ae)):typeof Ae=="bigint"&&($e=String(Ae),(Ae>BigInt(2)**BigInt(32)||Ae<-(BigInt(2)**BigInt(32)))&&($e=he($e)),$e+="n"),Ve+=` It must be ${Ee}. Received ${$e}`,Ve},RangeError);function he(Oe){let Ee="",Ae=Oe.length;const Ve=Oe[0]==="-"?1:0;for(;Ae>=Ve+4;Ae-=3)Ee=`_${Oe.slice(Ae-3,Ae)}${Ee}`;return`${Oe.slice(0,Ae)}${Ee}`}function we(Oe,Ee,Ae){ye(Ee,"offset"),(Oe[Ee]===void 0||Oe[Ee+Ae]===void 0)&&se(Ee,Oe.length-(Ae+1))}function _e(Oe,Ee,Ae,Ve,$e,Ue){if(Oe>Ae||Oe3?Ee===0||Ee===BigInt(0)?Qe=`>= 0${He} and < 2${He} ** ${(Ue+1)*8}${He}`:Qe=`>= -(2${He} ** ${(Ue+1)*8-1}${He}) and < 2 ** ${(Ue+1)*8-1}${He}`:Qe=`>= ${Ee}${He} and <= ${Ae}${He}`,new Z.ERR_OUT_OF_RANGE("value",Qe,Oe)}we(Ve,$e,Ue)}function ye(Oe,Ee){if(typeof Oe!="number")throw new Z.ERR_INVALID_ARG_TYPE(Ee,"number",Oe)}function se(Oe,Ee,Ae){throw Math.floor(Oe)!==Oe?(ye(Oe,Ae),new Z.ERR_OUT_OF_RANGE(Ae||"offset","an integer",Oe)):Ee<0?new Z.ERR_BUFFER_OUT_OF_BOUNDS:new Z.ERR_OUT_OF_RANGE(Ae||"offset",`>= ${Ae?1:0} and <= ${Ee}`,Oe)}const Ie=/[^+/0-9A-Za-z-_]/g;function Ce(Oe){if(Oe=Oe.split("=")[0],Oe=Oe.trim().replace(Ie,""),Oe.length<2)return"";for(;Oe.length%4!==0;)Oe=Oe+"=";return Oe}function oe(Oe,Ee){Ee=Ee||1/0;let Ae;const Ve=Oe.length;let $e=null;const Ue=[];for(let He=0;He55295&&Ae<57344){if(!$e){if(Ae>56319){(Ee-=3)>-1&&Ue.push(239,191,189);continue}else if(He+1===Ve){(Ee-=3)>-1&&Ue.push(239,191,189);continue}$e=Ae;continue}if(Ae<56320){(Ee-=3)>-1&&Ue.push(239,191,189),$e=Ae;continue}Ae=($e-55296<<10|Ae-56320)+65536}else $e&&(Ee-=3)>-1&&Ue.push(239,191,189);if($e=null,Ae<128){if((Ee-=1)<0)break;Ue.push(Ae)}else if(Ae<2048){if((Ee-=2)<0)break;Ue.push(Ae>>6|192,Ae&63|128)}else if(Ae<65536){if((Ee-=3)<0)break;Ue.push(Ae>>12|224,Ae>>6&63|128,Ae&63|128)}else if(Ae<1114112){if((Ee-=4)<0)break;Ue.push(Ae>>18|240,Ae>>12&63|128,Ae>>6&63|128,Ae&63|128)}else throw new Error("Invalid code point")}return Ue}function pe(Oe){const Ee=[];for(let Ae=0;Ae>8,$e=Ae%256,Ue.push($e),Ue.push(Ve);return Ue}function Ne(Oe){return r.toByteArray(Ce(Oe))}function ke(Oe,Ee,Ae,Ve){let $e;for($e=0;$e=Ee.length||$e>=Oe.length);++$e)Ee[$e+Ae]=Oe[$e];return $e}function De(Oe,Ee){return Oe instanceof Ee||Oe!=null&&Oe.constructor!=null&&Oe.constructor.name!=null&&Oe.constructor.name===Ee.name}function Fe(Oe){return Oe!==Oe}const Pe=function(){const Oe="0123456789abcdef",Ee=new Array(256);for(let Ae=0;Ae<16;++Ae){const Ve=Ae*16;for(let $e=0;$e<16;++$e)Ee[Ve+$e]=Oe[Ae]+Oe[$e]}return Ee}();function qe(Oe){return typeof BigInt>"u"?Le:Oe}function Le(){throw new Error("BigInt not supported")}}(buffer)),buffer}var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(b,r){var m=requireBuffer(),w=m.Buffer;function U(x,a){for(var g in x)a[g]=x[g]}w.from&&w.alloc&&w.allocUnsafe&&w.allocUnsafeSlow?b.exports=m:(U(m,r),r.Buffer=k);function k(x,a,g){return w(x,a,g)}U(w,k),k.from=function(x,a,g){if(typeof x=="number")throw new TypeError("Argument must not be a number");return w(x,a,g)},k.alloc=function(x,a,g){if(typeof x!="number")throw new TypeError("Argument must be a number");var n=w(x);return a!==void 0?typeof g=="string"?n.fill(a,g):n.fill(a):n.fill(0),n},k.allocUnsafe=function(x){if(typeof x!="number")throw new TypeError("Argument must be a number");return w(x)},k.allocUnsafeSlow=function(x){if(typeof x!="number")throw new TypeError("Argument must be a number");return m.SlowBuffer(x)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var b=requireSafeBuffer().Buffer,r=b.isEncoding||function(P){switch(P=""+P,P&&P.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function m(P){if(!P)return"utf8";for(var S;;)switch(P){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return P;default:if(S)return;P=(""+P).toLowerCase(),S=!0}}function w(P){var S=m(P);if(typeof S!="string"&&(b.isEncoding===r||!r(P)))throw new Error("Unknown encoding: "+P);return S||P}string_decoder.StringDecoder=U;function U(P){this.encoding=w(P);var S;switch(this.encoding){case"utf16le":this.text=R,this.end=v,S=4;break;case"utf8":this.fillLast=g,S=4;break;case"base64":this.text=e,this.end=L,S=3;break;default:this.write=O,this.end=B;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=b.allocUnsafe(S)}U.prototype.write=function(P){if(P.length===0)return"";var S,_;if(this.lastNeed){if(S=this.fillLast(P),S===void 0)return"";_=this.lastNeed,this.lastNeed=0}else _=0;return _>5===6?2:P>>4===14?3:P>>3===30?4:P>>6===2?-1:-2}function x(P,S,_){var l=S.length-1;if(l<_)return 0;var y=k(S[l]);return y>=0?(y>0&&(P.lastNeed=y-1),y):--l<_||y===-2?0:(y=k(S[l]),y>=0?(y>0&&(P.lastNeed=y-2),y):--l<_||y===-2?0:(y=k(S[l]),y>=0?(y>0&&(y===2?y=0:P.lastNeed=y-3),y):0))}function a(P,S,_){if((S[0]&192)!==128)return P.lastNeed=0,"�";if(P.lastNeed>1&&S.length>1){if((S[1]&192)!==128)return P.lastNeed=1,"�";if(P.lastNeed>2&&S.length>2&&(S[2]&192)!==128)return P.lastNeed=2,"�"}}function g(P){var S=this.lastTotal-this.lastNeed,_=a(this,P);if(_!==void 0)return _;if(this.lastNeed<=P.length)return P.copy(this.lastChar,S,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);P.copy(this.lastChar,S,0,P.length),this.lastNeed-=P.length}function n(P,S){var _=x(this,P,S);if(!this.lastNeed)return P.toString("utf8",S);this.lastTotal=_;var l=P.length-(_-this.lastNeed);return P.copy(this.lastChar,0,l),P.toString("utf8",S,l)}function c(P){var S=P&&P.length?this.write(P):"";return this.lastNeed?S+"�":S}function R(P,S){if((P.length-S)%2===0){var _=P.toString("utf16le",S);if(_){var l=_.charCodeAt(_.length-1);if(l>=55296&&l<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=P[P.length-2],this.lastChar[1]=P[P.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=P[P.length-1],P.toString("utf16le",S,P.length-1)}function v(P){var S=P&&P.length?this.write(P):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return S+this.lastChar.toString("utf16le",0,_)}return S}function e(P,S){var _=(P.length-S)%3;return _===0?P.toString("base64",S):(this.lastNeed=3-_,this.lastTotal=3,_===1?this.lastChar[0]=P[P.length-1]:(this.lastChar[0]=P[P.length-2],this.lastChar[1]=P[P.length-1]),P.toString("base64",S,P.length-_))}function L(P){var S=P&&P.length?this.write(P):"";return this.lastNeed?S+this.lastChar.toString("base64",0,3-this.lastNeed):S}function O(P){return P.toString(this.encoding)}function B(P){return P&&P.length?this.write(P):""}return string_decoder}var hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(b){(function(r){r.parser=function(de,Z){return new w(de,Z)},r.SAXParser=w,r.SAXStream=c,r.createStream=n,r.MAX_BUFFER_LENGTH=64*1024;var m=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];r.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function w(de,Z){if(!(this instanceof w))return new w(de,Z);var ae=this;k(ae),ae.q=ae.c="",ae.bufferCheckPosition=r.MAX_BUFFER_LENGTH,ae.opt=Z||{},ae.opt.lowercase=ae.opt.lowercase||ae.opt.lowercasetags,ae.looseCase=ae.opt.lowercase?"toLowerCase":"toUpperCase",ae.tags=[],ae.closed=ae.closedRoot=ae.sawRoot=!1,ae.tag=ae.error=null,ae.strict=!!de,ae.noscript=!!(de||ae.opt.noscript),ae.state=N.BEGIN,ae.strictEntities=ae.opt.strictEntities,ae.ENTITIES=ae.strictEntities?Object.create(r.XML_ENTITIES):Object.create(r.ENTITIES),ae.attribList=[],ae.opt.xmlns&&(ae.ns=Object.create(O)),ae.opt.unquotedAttributeValues===void 0&&(ae.opt.unquotedAttributeValues=!de),ae.trackPosition=ae.opt.position!==!1,ae.trackPosition&&(ae.position=ae.line=ae.column=0),W(ae,"onready")}Object.create||(Object.create=function(de){function Z(){}Z.prototype=de;var ae=new Z;return ae}),Object.keys||(Object.keys=function(de){var Z=[];for(var ae in de)de.hasOwnProperty(ae)&&Z.push(ae);return Z});function U(de){for(var Z=Math.max(r.MAX_BUFFER_LENGTH,10),ae=0,he=0,we=m.length;heZ)switch(m[he]){case"textNode":Y(de);break;case"cdata":J(de,"oncdata",de.cdata),de.cdata="";break;case"script":J(de,"onscript",de.script),de.script="";break;default:H(de,"Max buffer length exceeded: "+m[he])}ae=Math.max(ae,_e)}var ye=r.MAX_BUFFER_LENGTH-ae;de.bufferCheckPosition=ye+de.position}function k(de){for(var Z=0,ae=m.length;Z"||l(de)}function M(de,Z){return de.test(Z)}function F(de,Z){return!M(de,Z)}var N=0;r.STATE={BEGIN:N++,BEGIN_WHITESPACE:N++,TEXT:N++,TEXT_ENTITY:N++,OPEN_WAKA:N++,SGML_DECL:N++,SGML_DECL_QUOTED:N++,DOCTYPE:N++,DOCTYPE_QUOTED:N++,DOCTYPE_DTD:N++,DOCTYPE_DTD_QUOTED:N++,COMMENT_STARTING:N++,COMMENT:N++,COMMENT_ENDING:N++,COMMENT_ENDED:N++,CDATA:N++,CDATA_ENDING:N++,CDATA_ENDING_2:N++,PROC_INST:N++,PROC_INST_BODY:N++,PROC_INST_ENDING:N++,OPEN_TAG:N++,OPEN_TAG_SLASH:N++,ATTRIB:N++,ATTRIB_NAME:N++,ATTRIB_NAME_SAW_WHITE:N++,ATTRIB_VALUE:N++,ATTRIB_VALUE_QUOTED:N++,ATTRIB_VALUE_CLOSED:N++,ATTRIB_VALUE_UNQUOTED:N++,ATTRIB_VALUE_ENTITY_Q:N++,ATTRIB_VALUE_ENTITY_U:N++,CLOSE_TAG:N++,CLOSE_TAG_SAW_WHITE:N++,SCRIPT:N++,SCRIPT_ENDING:N++},r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},r.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(r.ENTITIES).forEach(function(de){var Z=r.ENTITIES[de],ae=typeof Z=="number"?String.fromCharCode(Z):Z;r.ENTITIES[de]=ae});for(var G in r.STATE)r.STATE[r.STATE[G]]=G;N=r.STATE;function W(de,Z,ae){de[Z]&&de[Z](ae)}function J(de,Z,ae){de.textNode&&Y(de),W(de,Z,ae)}function Y(de){de.textNode=V(de.opt,de.textNode),de.textNode&&W(de,"ontext",de.textNode),de.textNode=""}function V(de,Z){return de.trim&&(Z=Z.trim()),de.normalize&&(Z=Z.replace(/\s+/g," ")),Z}function H(de,Z){return Y(de),de.trackPosition&&(Z+=` +Line: `+de.line+` +Column: `+de.column+` +Char: `+de.c),Z=new Error(Z),de.error=Z,W(de,"onerror",Z),de}function z(de){return de.sawRoot&&!de.closedRoot&&X(de,"Unclosed root tag"),de.state!==N.BEGIN&&de.state!==N.BEGIN_WHITESPACE&&de.state!==N.TEXT&&H(de,"Unexpected end"),Y(de),de.c="",de.closed=!0,W(de,"onend"),w.call(de,de.strict,de.opt),de}function X(de,Z){if(typeof de!="object"||!(de instanceof w))throw new Error("bad call to strictFail");de.strict&&H(de,Z)}function q(de){de.strict||(de.tagName=de.tagName[de.looseCase]());var Z=de.tags[de.tags.length-1]||de,ae=de.tag={name:de.tagName,attributes:{}};de.opt.xmlns&&(ae.ns=Z.ns),de.attribList.length=0,J(de,"onopentagstart",ae)}function $(de,Z){var ae=de.indexOf(":"),he=ae<0?["",de]:de.split(":"),we=he[0],_e=he[1];return Z&&de==="xmlns"&&(we="xmlns",_e=""),{prefix:we,local:_e}}function fe(de){if(de.strict||(de.attribName=de.attribName[de.looseCase]()),de.attribList.indexOf(de.attribName)!==-1||de.tag.attributes.hasOwnProperty(de.attribName)){de.attribName=de.attribValue="";return}if(de.opt.xmlns){var Z=$(de.attribName,!0),ae=Z.prefix,he=Z.local;if(ae==="xmlns")if(he==="xml"&&de.attribValue!==e)X(de,"xml: prefix must be bound to "+e+` +Actual: `+de.attribValue);else if(he==="xmlns"&&de.attribValue!==L)X(de,"xmlns: prefix must be bound to "+L+` +Actual: `+de.attribValue);else{var we=de.tag,_e=de.tags[de.tags.length-1]||de;we.ns===_e.ns&&(we.ns=Object.create(_e.ns)),we.ns[he]=de.attribValue}de.attribList.push([de.attribName,de.attribValue])}else de.tag.attributes[de.attribName]=de.attribValue,J(de,"onattribute",{name:de.attribName,value:de.attribValue});de.attribName=de.attribValue=""}function Q(de,Z){if(de.opt.xmlns){var ae=de.tag,he=$(de.tagName);ae.prefix=he.prefix,ae.local=he.local,ae.uri=ae.ns[he.prefix]||"",ae.prefix&&!ae.uri&&(X(de,"Unbound namespace prefix: "+JSON.stringify(de.tagName)),ae.uri=he.prefix);var we=de.tags[de.tags.length-1]||de;ae.ns&&we.ns!==ae.ns&&Object.keys(ae.ns).forEach(function(De){J(de,"onopennamespace",{prefix:De,uri:ae.ns[De]})});for(var _e=0,ye=de.attribList.length;_e",de.tagName="",de.state=N.SCRIPT;return}J(de,"onscript",de.script),de.script=""}var Z=de.tags.length,ae=de.tagName;de.strict||(ae=ae[de.looseCase]());for(var he=ae;Z--;){var we=de.tags[Z];if(we.name!==he)X(de,"Unexpected close tag");else break}if(Z<0){X(de,"Unmatched closing tag: "+de.tagName),de.textNode+="",de.state=N.TEXT;return}de.tagName=ae;for(var _e=de.tags.length;_e-- >Z;){var ye=de.tag=de.tags.pop();de.tagName=de.tag.name,J(de,"onclosetag",de.tagName);var se={};for(var Ie in ye.ns)se[Ie]=ye.ns[Ie];var Ce=de.tags[de.tags.length-1]||de;de.opt.xmlns&&ye.ns!==Ce.ns&&Object.keys(ye.ns).forEach(function(oe){var pe=ye.ns[oe];J(de,"onclosenamespace",{prefix:oe,uri:pe})})}Z===0&&(de.closedRoot=!0),de.tagName=de.attribValue=de.attribName="",de.attribList.length=0,de.state=N.TEXT}function Te(de){var Z=de.entity,ae=Z.toLowerCase(),he,we="";return de.ENTITIES[Z]?de.ENTITIES[Z]:de.ENTITIES[ae]?de.ENTITIES[ae]:(Z=ae,Z.charAt(0)==="#"&&(Z.charAt(1)==="x"?(Z=Z.slice(2),he=parseInt(Z,16),we=he.toString(16)):(Z=Z.slice(1),he=parseInt(Z,10),we=he.toString(10))),Z=Z.replace(/^0+/,""),isNaN(he)||we.toLowerCase()!==Z?(X(de,"Invalid character entity"),"&"+de.entity+";"):String.fromCodePoint(he))}function me(de,Z){Z==="<"?(de.state=N.OPEN_WAKA,de.startTagPosition=de.position):l(Z)||(X(de,"Non-whitespace before first tag."),de.textNode=Z,de.state=N.TEXT)}function K(de,Z){var ae="";return Z"?(J(Z,"onsgmldeclaration",Z.sgmlDecl),Z.sgmlDecl="",Z.state=N.TEXT):(y(he)&&(Z.state=N.SGML_DECL_QUOTED),Z.sgmlDecl+=he);continue;case N.SGML_DECL_QUOTED:he===Z.q&&(Z.state=N.SGML_DECL,Z.q=""),Z.sgmlDecl+=he;continue;case N.DOCTYPE:he===">"?(Z.state=N.TEXT,J(Z,"ondoctype",Z.doctype),Z.doctype=!0):(Z.doctype+=he,he==="["?Z.state=N.DOCTYPE_DTD:y(he)&&(Z.state=N.DOCTYPE_QUOTED,Z.q=he));continue;case N.DOCTYPE_QUOTED:Z.doctype+=he,he===Z.q&&(Z.q="",Z.state=N.DOCTYPE);continue;case N.DOCTYPE_DTD:he==="]"?(Z.doctype+=he,Z.state=N.DOCTYPE):he==="<"?(Z.state=N.OPEN_WAKA,Z.startTagPosition=Z.position):y(he)?(Z.doctype+=he,Z.state=N.DOCTYPE_DTD_QUOTED,Z.q=he):Z.doctype+=he;continue;case N.DOCTYPE_DTD_QUOTED:Z.doctype+=he,he===Z.q&&(Z.state=N.DOCTYPE_DTD,Z.q="");continue;case N.COMMENT:he==="-"?Z.state=N.COMMENT_ENDING:Z.comment+=he;continue;case N.COMMENT_ENDING:he==="-"?(Z.state=N.COMMENT_ENDED,Z.comment=V(Z.opt,Z.comment),Z.comment&&J(Z,"oncomment",Z.comment),Z.comment=""):(Z.comment+="-"+he,Z.state=N.COMMENT);continue;case N.COMMENT_ENDED:he!==">"?(X(Z,"Malformed comment"),Z.comment+="--"+he,Z.state=N.COMMENT):Z.doctype&&Z.doctype!==!0?Z.state=N.DOCTYPE_DTD:Z.state=N.TEXT;continue;case N.CDATA:he==="]"?Z.state=N.CDATA_ENDING:Z.cdata+=he;continue;case N.CDATA_ENDING:he==="]"?Z.state=N.CDATA_ENDING_2:(Z.cdata+="]"+he,Z.state=N.CDATA);continue;case N.CDATA_ENDING_2:he===">"?(Z.cdata&&J(Z,"oncdata",Z.cdata),J(Z,"onclosecdata"),Z.cdata="",Z.state=N.TEXT):he==="]"?Z.cdata+="]":(Z.cdata+="]]"+he,Z.state=N.CDATA);continue;case N.PROC_INST:he==="?"?Z.state=N.PROC_INST_ENDING:l(he)?Z.state=N.PROC_INST_BODY:Z.procInstName+=he;continue;case N.PROC_INST_BODY:if(!Z.procInstBody&&l(he))continue;he==="?"?Z.state=N.PROC_INST_ENDING:Z.procInstBody+=he;continue;case N.PROC_INST_ENDING:he===">"?(J(Z,"onprocessinginstruction",{name:Z.procInstName,body:Z.procInstBody}),Z.procInstName=Z.procInstBody="",Z.state=N.TEXT):(Z.procInstBody+="?"+he,Z.state=N.PROC_INST_BODY);continue;case N.OPEN_TAG:M(P,he)?Z.tagName+=he:(q(Z),he===">"?Q(Z):he==="/"?Z.state=N.OPEN_TAG_SLASH:(l(he)||X(Z,"Invalid character in tag name"),Z.state=N.ATTRIB));continue;case N.OPEN_TAG_SLASH:he===">"?(Q(Z,!0),ie(Z)):(X(Z,"Forward-slash in opening tag not followed by >"),Z.state=N.ATTRIB);continue;case N.ATTRIB:if(l(he))continue;he===">"?Q(Z):he==="/"?Z.state=N.OPEN_TAG_SLASH:M(B,he)?(Z.attribName=he,Z.attribValue="",Z.state=N.ATTRIB_NAME):X(Z,"Invalid attribute name");continue;case N.ATTRIB_NAME:he==="="?Z.state=N.ATTRIB_VALUE:he===">"?(X(Z,"Attribute without value"),Z.attribValue=Z.attribName,fe(Z),Q(Z)):l(he)?Z.state=N.ATTRIB_NAME_SAW_WHITE:M(P,he)?Z.attribName+=he:X(Z,"Invalid attribute name");continue;case N.ATTRIB_NAME_SAW_WHITE:if(he==="=")Z.state=N.ATTRIB_VALUE;else{if(l(he))continue;X(Z,"Attribute without value"),Z.tag.attributes[Z.attribName]="",Z.attribValue="",J(Z,"onattribute",{name:Z.attribName,value:""}),Z.attribName="",he===">"?Q(Z):M(B,he)?(Z.attribName=he,Z.state=N.ATTRIB_NAME):(X(Z,"Invalid attribute name"),Z.state=N.ATTRIB)}continue;case N.ATTRIB_VALUE:if(l(he))continue;y(he)?(Z.q=he,Z.state=N.ATTRIB_VALUE_QUOTED):(Z.opt.unquotedAttributeValues||H(Z,"Unquoted attribute value"),Z.state=N.ATTRIB_VALUE_UNQUOTED,Z.attribValue=he);continue;case N.ATTRIB_VALUE_QUOTED:if(he!==Z.q){he==="&"?Z.state=N.ATTRIB_VALUE_ENTITY_Q:Z.attribValue+=he;continue}fe(Z),Z.q="",Z.state=N.ATTRIB_VALUE_CLOSED;continue;case N.ATTRIB_VALUE_CLOSED:l(he)?Z.state=N.ATTRIB:he===">"?Q(Z):he==="/"?Z.state=N.OPEN_TAG_SLASH:M(B,he)?(X(Z,"No whitespace between attributes"),Z.attribName=he,Z.attribValue="",Z.state=N.ATTRIB_NAME):X(Z,"Invalid attribute name");continue;case N.ATTRIB_VALUE_UNQUOTED:if(!D(he)){he==="&"?Z.state=N.ATTRIB_VALUE_ENTITY_U:Z.attribValue+=he;continue}fe(Z),he===">"?Q(Z):Z.state=N.ATTRIB;continue;case N.CLOSE_TAG:if(Z.tagName)he===">"?ie(Z):M(P,he)?Z.tagName+=he:Z.script?(Z.script+=""?ie(Z):X(Z,"Invalid characters in closing tag");continue;case N.TEXT_ENTITY:case N.ATTRIB_VALUE_ENTITY_Q:case N.ATTRIB_VALUE_ENTITY_U:var ye,se;switch(Z.state){case N.TEXT_ENTITY:ye=N.TEXT,se="textNode";break;case N.ATTRIB_VALUE_ENTITY_Q:ye=N.ATTRIB_VALUE_QUOTED,se="attribValue";break;case N.ATTRIB_VALUE_ENTITY_U:ye=N.ATTRIB_VALUE_UNQUOTED,se="attribValue";break}if(he===";"){var Ie=Te(Z);Z.opt.unparsedEntities&&!Object.values(r.XML_ENTITIES).includes(Ie)?(Z.entity="",Z.state=ye,Z.write(Ie)):(Z[se]+=Ie,Z.entity="",Z.state=ye)}else M(Z.entity.length?_:S,he)?Z.entity+=he:(X(Z,"Invalid character in entity name"),Z[se]+="&"+Z.entity+he,Z.entity="",Z.state=ye);continue;default:throw new Error(Z,"Unknown state: "+Z.state)}return Z.position>=Z.bufferCheckPosition&&U(Z),Z}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var de=String.fromCharCode,Z=Math.floor,ae=function(){var he=16384,we=[],_e,ye,se=-1,Ie=arguments.length;if(!Ie)return"";for(var Ce="";++se1114111||Z(oe)!==oe)throw RangeError("Invalid code point: "+oe);oe<=65535?we.push(oe):(oe-=65536,_e=(oe>>10)+55296,ye=oe%1024+56320,we.push(_e,ye)),(se+1===Ie||we.length>he)&&(Ce+=de.apply(null,we),we.length=0)}return Ce};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:ae,configurable:!0,writable:!0}):String.fromCodePoint=ae}()})(b)}(sax)),sax}var events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var b=typeof Reflect=="object"?Reflect:null,r=b&&typeof b.apply=="function"?b.apply:function(y,D,M){return Function.prototype.apply.call(y,D,M)},m;b&&typeof b.ownKeys=="function"?m=b.ownKeys:Object.getOwnPropertySymbols?m=function(y){return Object.getOwnPropertyNames(y).concat(Object.getOwnPropertySymbols(y))}:m=function(y){return Object.getOwnPropertyNames(y)};function w(l){console&&console.warn&&console.warn(l)}var U=Number.isNaN||function(y){return y!==y};function k(){k.init.call(this)}events.exports=k,events.exports.once=P,k.EventEmitter=k,k.prototype._events=void 0,k.prototype._eventsCount=0,k.prototype._maxListeners=void 0;var x=10;function a(l){if(typeof l!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof l)}Object.defineProperty(k,"defaultMaxListeners",{enumerable:!0,get:function(){return x},set:function(l){if(typeof l!="number"||l<0||U(l))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+l+".");x=l}}),k.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},k.prototype.setMaxListeners=function(y){if(typeof y!="number"||y<0||U(y))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+y+".");return this._maxListeners=y,this};function g(l){return l._maxListeners===void 0?k.defaultMaxListeners:l._maxListeners}k.prototype.getMaxListeners=function(){return g(this)},k.prototype.emit=function(y){for(var D=[],M=1;M0&&(G=D[0]),G instanceof Error)throw G;var W=new Error("Unhandled error."+(G?" ("+G.message+")":""));throw W.context=G,W}var J=N[y];if(J===void 0)return!1;if(typeof J=="function")r(J,this,D);else for(var Y=J.length,V=L(J,Y),M=0;M0&&G.length>F&&!G.warned){G.warned=!0;var W=new Error("Possible EventEmitter memory leak detected. "+G.length+" "+String(y)+" listeners added. Use emitter.setMaxListeners() to increase limit");W.name="MaxListenersExceededWarning",W.emitter=l,W.type=y,W.count=G.length,w(W)}return l}k.prototype.addListener=function(y,D){return n(this,y,D,!1)},k.prototype.on=k.prototype.addListener,k.prototype.prependListener=function(y,D){return n(this,y,D,!0)};function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function R(l,y,D){var M={fired:!1,wrapFn:void 0,target:l,type:y,listener:D},F=c.bind(M);return F.listener=D,M.wrapFn=F,F}k.prototype.once=function(y,D){return a(D),this.on(y,R(this,y,D)),this},k.prototype.prependOnceListener=function(y,D){return a(D),this.prependListener(y,R(this,y,D)),this},k.prototype.removeListener=function(y,D){var M,F,N,G,W;if(a(D),F=this._events,F===void 0)return this;if(M=F[y],M===void 0)return this;if(M===D||M.listener===D)--this._eventsCount===0?this._events=Object.create(null):(delete F[y],F.removeListener&&this.emit("removeListener",y,M.listener||D));else if(typeof M!="function"){for(N=-1,G=M.length-1;G>=0;G--)if(M[G]===D||M[G].listener===D){W=M[G].listener,N=G;break}if(N<0)return this;N===0?M.shift():O(M,N),M.length===1&&(F[y]=M[0]),F.removeListener!==void 0&&this.emit("removeListener",y,W||D)}return this},k.prototype.off=k.prototype.removeListener,k.prototype.removeAllListeners=function(y){var D,M,F;if(M=this._events,M===void 0)return this;if(M.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):M[y]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete M[y]),this;if(arguments.length===0){var N=Object.keys(M),G;for(F=0;F=0;F--)this.removeListener(y,D[F]);return this};function v(l,y,D){var M=l._events;if(M===void 0)return[];var F=M[y];return F===void 0?[]:typeof F=="function"?D?[F.listener||F]:[F]:D?B(F):L(F,F.length)}k.prototype.listeners=function(y){return v(this,y,!0)},k.prototype.rawListeners=function(y){return v(this,y,!1)},k.listenerCount=function(l,y){return typeof l.listenerCount=="function"?l.listenerCount(y):e.call(l,y)},k.prototype.listenerCount=e;function e(l){var y=this._events;if(y!==void 0){var D=y[l];if(typeof D=="function")return 1;if(D!==void 0)return D.length}return 0}k.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]};function L(l,y){for(var D=new Array(y),M=0;M0&&(M[_.options.childkey]=N),N=M;else if(J){J[_.options.childkey]=J[_.options.childkey]||[],G={};for(D in N)v.call(N,D)&&w(G,D,N[D]);J[_.options.childkey].push(G),delete N["#name"],Object.keys(N).length===1&&B in N&&!_.EXPLICIT_CHARKEY&&(N=N[B])}}return S.length>0?_.assignOrPush(J,F,N):(_.options.explicitRoot&&(W=N,N={},w(N,F,W)),_.resultObject=N,_.saxParser.ended=!0,_.emit("end",_.resultObject))}}(this),P=function(_){return function(l){var y,D;if(D=S[S.length-1],D)return D[B]+=l,_.options.explicitChildren&&_.options.preserveChildrenOrder&&_.options.charsAsChildren&&(_.options.includeWhiteChars||l.replace(/\\n/g,"").trim()!=="")&&(D[_.options.childkey]=D[_.options.childkey]||[],y={"#name":"__text__"},y[B]=l,_.options.normalize&&(y[B]=y[B].replace(/\s{2,}/g," ").trim()),D[_.options.childkey].push(y)),D}}(this),this.saxParser.ontext=P,this.saxParser.oncdata=function(_){return function(l){var y;if(y=P(l),y)return y.cdata=!0}}()},L.prototype.parseString=function(O,B){var P;B!=null&&typeof B=="function"&&(this.on("end",function(S){return this.reset(),B(null,S)}),this.on("error",function(S){return this.reset(),B(S)}));try{return O=O.toString(),O.trim()===""?(this.emit("end",null),!0):(O=r.stripBOM(O),this.options.async?(this.remaining=O,n(this.processAsync),this.saxParser):this.saxParser.write(O).close())}catch(S){if(P=S,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw P}else return this.emit("error",P),this.saxParser.errThrown=!0}},L.prototype.parseStringPromise=function(O){return new Promise(function(B){return function(P,S){return B.parseString(O,function(_,l){return _?S(_):P(l)})}}(this))},L}(U),b.parseString=function(e,L,O){var B,P,S;return O!=null?(typeof O=="function"&&(B=O),typeof L=="object"&&(P=L)):(typeof L=="function"&&(B=L),P={}),S=new b.Parser(P),S.parseString(e,B)},b.parseStringPromise=function(e,L){var O,B;return typeof L=="object"&&(O=L),B=new b.Parser(O),B.parseStringPromise(e)}}).call(commonjsGlobal$1)}(parser)),parser}var parseStringPromise;(function(){var b,r,m,w=function(k,x){for(var a in x)U.call(x,a)&&(k[a]=x[a]);function g(){this.constructor=k}return g.prototype=x.prototype,k.prototype=new g,k.__super__=x.prototype,k},U={}.hasOwnProperty;r=requireDefaults(),b=requireBuilder(),m=requireParser(),requireProcessors(),r.defaults,function(k){w(x,k);function x(a){this.message=a}return x}(Error),b.Builder,m.Parser,m.parseString,parseStringPromise=m.parseStringPromise}).call(commonjsGlobal$1);var pdf={exports:{}},dommatrix={exports:{}};/*! +* DOMMatrix v1.0.3 (https://thednp.github.io/dommatrix/) +* Copyright 2022 © thednp +* Licensed under MIT (https://github.com/thednp/DOMMatrix/blob/master/LICENSE) +*/var hasRequiredDommatrix;function requireDommatrix(){return hasRequiredDommatrix||(hasRequiredDommatrix=1,function(b,r){(function(m,w){b.exports=w()})(commonjsGlobal$1,function(){function m(S){var _=new L,l=Array.from(S);if(!l.every(function(de){return!Number.isNaN(de)}))throw TypeError('CSSMatrix: "'+S+'" must only have numbers.');if(l.length===16){var y=l[0],D=l[1],M=l[2],F=l[3],N=l[4],G=l[5],W=l[6],J=l[7],Y=l[8],V=l[9],H=l[10],z=l[11],X=l[12],q=l[13],$=l[14],fe=l[15];_.m11=y,_.a=y,_.m21=N,_.c=N,_.m31=Y,_.m41=X,_.e=X,_.m12=D,_.b=D,_.m22=G,_.d=G,_.m32=V,_.m42=q,_.f=q,_.m13=M,_.m23=W,_.m33=H,_.m43=$,_.m14=F,_.m24=J,_.m34=z,_.m44=fe}else if(l.length===6){var Q=l[0],ie=l[1],Te=l[2],me=l[3],K=l[4],ce=l[5];_.m11=Q,_.a=Q,_.m12=ie,_.b=ie,_.m21=Te,_.c=Te,_.m22=me,_.d=me,_.m41=K,_.e=K,_.m42=ce,_.f=ce}else throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");return _}function w(S){var _=Object.keys(new L);if(typeof S=="object"&&_.every(function(l){return l in S}))return m([S.m11,S.m12,S.m13,S.m14,S.m21,S.m22,S.m23,S.m24,S.m31,S.m32,S.m33,S.m34,S.m41,S.m42,S.m43,S.m44]);throw TypeError('CSSMatrix: "'+JSON.stringify(S)+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function U(S){if(typeof S!="string")throw TypeError('CSSMatrix: "'+S+'" is not a string.');var _=String(S).replace(/\s/g,""),l=new L,y='CSSMatrix: invalid transform string "'+S+'"';return _.split(")").filter(function(D){return D}).forEach(function(D){var M=D.split("("),F=M[0],N=M[1];if(!N)throw TypeError(y);var G=N.split(",").map(function(K){return K.includes("rad")?parseFloat(K)*(180/Math.PI):parseFloat(K)}),W=G[0],J=G[1],Y=G[2],V=G[3],H=[W,J,Y],z=[W,J,Y,V];if(F==="perspective"&&W&&[J,Y].every(function(K){return K===void 0}))l.m34=-1/W;else if(F.includes("matrix")&&[6,16].includes(G.length)&&G.every(function(K){return!Number.isNaN(+K)})){var X=G.map(function(K){return Math.abs(K)<1e-6?0:K});l=l.multiply(m(X))}else if(F==="translate3d"&&H.every(function(K){return!Number.isNaN(+K)}))l=l.translate(W,J,Y);else if(F==="translate"&&W&&Y===void 0)l=l.translate(W,J||0,0);else if(F==="rotate3d"&&z.every(function(K){return!Number.isNaN(+K)})&&V)l=l.rotateAxisAngle(W,J,Y,V);else if(F==="rotate"&&W&&[J,Y].every(function(K){return K===void 0}))l=l.rotate(0,0,W);else if(F==="scale3d"&&H.every(function(K){return!Number.isNaN(+K)})&&H.some(function(K){return K!==1}))l=l.scale(W,J,Y);else if(F==="scale"&&!Number.isNaN(W)&&W!==1&&Y===void 0){var q=Number.isNaN(+J),$=q?W:J;l=l.scale(W,$,1)}else if(F==="skew"&&(W||!Number.isNaN(W)&&J)&&Y===void 0)l=l.skew(W,J||0);else if(/[XYZ]/.test(F)&&W&&[J,Y].every(function(K){return K===void 0})&&["translate","rotate","scale","skew"].some(function(K){return F.includes(K)}))if(["skewX","skewY"].includes(F))l=l[F](W);else{var fe=F.replace(/[XYZ]/,""),Q=F.replace(fe,""),ie=["X","Y","Z"].indexOf(Q),Te=fe==="scale"?1:0,me=[ie===0?W:Te,ie===1?W:Te,ie===2?W:Te];l=l[fe].apply(l,me)}else throw TypeError(y)}),l}function k(S,_){return _?[S.a,S.b,S.c,S.d,S.e,S.f]:[S.m11,S.m12,S.m13,S.m14,S.m21,S.m22,S.m23,S.m24,S.m31,S.m32,S.m33,S.m34,S.m41,S.m42,S.m43,S.m44]}function x(S,_,l){var y=new L;return y.m41=S,y.e=S,y.m42=_,y.f=_,y.m43=l,y}function a(S,_,l){var y=new L,D=Math.PI/180,M=S*D,F=_*D,N=l*D,G=Math.cos(M),W=-Math.sin(M),J=Math.cos(F),Y=-Math.sin(F),V=Math.cos(N),H=-Math.sin(N),z=J*V,X=-J*H;y.m11=z,y.a=z,y.m12=X,y.b=X,y.m13=Y;var q=W*Y*V+G*H;y.m21=q,y.c=q;var $=G*V-W*Y*H;return y.m22=$,y.d=$,y.m23=-W*J,y.m31=W*H-G*Y*V,y.m32=W*V+G*Y*H,y.m33=G*J,y}function g(S,_,l,y){var D=new L,M=Math.sqrt(S*S+_*_+l*l);if(M===0)return D;var F=S/M,N=_/M,G=l/M,W=y*(Math.PI/360),J=Math.sin(W),Y=Math.cos(W),V=J*J,H=F*F,z=N*N,X=G*G,q=1-2*(z+X)*V;D.m11=q,D.a=q;var $=2*(F*N*V+G*J*Y);D.m12=$,D.b=$,D.m13=2*(F*G*V-N*J*Y);var fe=2*(N*F*V-G*J*Y);D.m21=fe,D.c=fe;var Q=1-2*(X+H)*V;return D.m22=Q,D.d=Q,D.m23=2*(N*G*V+F*J*Y),D.m31=2*(G*F*V+N*J*Y),D.m32=2*(G*N*V-F*J*Y),D.m33=1-2*(H+z)*V,D}function n(S,_,l){var y=new L;return y.m11=S,y.a=S,y.m22=_,y.d=_,y.m33=l,y}function c(S,_){var l=new L;if(S){var y=S*Math.PI/180,D=Math.tan(y);l.m21=D,l.c=D}if(_){var M=_*Math.PI/180,F=Math.tan(M);l.m12=F,l.b=F}return l}function R(S){return c(S,0)}function v(S){return c(0,S)}function e(S,_){var l=_.m11*S.m11+_.m12*S.m21+_.m13*S.m31+_.m14*S.m41,y=_.m11*S.m12+_.m12*S.m22+_.m13*S.m32+_.m14*S.m42,D=_.m11*S.m13+_.m12*S.m23+_.m13*S.m33+_.m14*S.m43,M=_.m11*S.m14+_.m12*S.m24+_.m13*S.m34+_.m14*S.m44,F=_.m21*S.m11+_.m22*S.m21+_.m23*S.m31+_.m24*S.m41,N=_.m21*S.m12+_.m22*S.m22+_.m23*S.m32+_.m24*S.m42,G=_.m21*S.m13+_.m22*S.m23+_.m23*S.m33+_.m24*S.m43,W=_.m21*S.m14+_.m22*S.m24+_.m23*S.m34+_.m24*S.m44,J=_.m31*S.m11+_.m32*S.m21+_.m33*S.m31+_.m34*S.m41,Y=_.m31*S.m12+_.m32*S.m22+_.m33*S.m32+_.m34*S.m42,V=_.m31*S.m13+_.m32*S.m23+_.m33*S.m33+_.m34*S.m43,H=_.m31*S.m14+_.m32*S.m24+_.m33*S.m34+_.m34*S.m44,z=_.m41*S.m11+_.m42*S.m21+_.m43*S.m31+_.m44*S.m41,X=_.m41*S.m12+_.m42*S.m22+_.m43*S.m32+_.m44*S.m42,q=_.m41*S.m13+_.m42*S.m23+_.m43*S.m33+_.m44*S.m43,$=_.m41*S.m14+_.m42*S.m24+_.m43*S.m34+_.m44*S.m44;return m([l,y,D,M,F,N,G,W,J,Y,V,H,z,X,q,$])}var L=function(){for(var _=[],l=arguments.length;l--;)_[l]=arguments[l];var y=this;if(y.a=1,y.b=0,y.c=0,y.d=1,y.e=0,y.f=0,y.m11=1,y.m12=0,y.m13=0,y.m14=0,y.m21=0,y.m22=1,y.m23=0,y.m24=0,y.m31=0,y.m32=0,y.m33=1,y.m34=0,y.m41=0,y.m42=0,y.m43=0,y.m44=1,_.length){var D=[16,6].some(function(M){return M===_.length})?_:_[0];return y.setMatrixValue(D)}return y},O={isIdentity:{configurable:!0},is2D:{configurable:!0}};O.isIdentity.get=function(){var S=this;return S.m11===1&&S.m12===0&&S.m13===0&&S.m14===0&&S.m21===0&&S.m22===1&&S.m23===0&&S.m24===0&&S.m31===0&&S.m32===0&&S.m33===1&&S.m34===0&&S.m41===0&&S.m42===0&&S.m43===0&&S.m44===1},O.is2D.get=function(){var S=this;return S.m31===0&&S.m32===0&&S.m33===1&&S.m34===0&&S.m43===0&&S.m44===1},L.prototype.setMatrixValue=function(_){var l=this;return typeof _=="string"&&_.length&&_!=="none"?U(_):[Array,Float64Array,Float32Array].some(function(y){return _ instanceof y})?m(_):[L,DOMMatrix,Object].some(function(y){return _ instanceof y})?w(_):l},L.prototype.toFloat32Array=function(_){return Float32Array.from(k(this,_))},L.prototype.toFloat64Array=function(_){return Float64Array.from(k(this,_))},L.prototype.toString=function(){var _=this,l=_.is2D,y=_.toFloat64Array(l).join(", "),D=l?"matrix":"matrix3d";return D+"("+y+")"},L.prototype.toJSON=function(){var _=this,l=_.is2D,y=_.isIdentity;return Object.assign({},_,{is2D:l,isIdentity:y})},L.prototype.multiply=function(_){return e(this,_)},L.prototype.translate=function(_,l,y){var D=_,M=l,F=y;return M===void 0&&(M=0),F===void 0&&(F=0),e(this,x(D,M,F))},L.prototype.scale=function(_,l,y){var D=_,M=l,F=y;return M===void 0&&(M=_),F===void 0&&(F=1),e(this,n(D,M,F))},L.prototype.rotate=function(_,l,y){var D=_,M=l||0,F=y||0;return typeof _=="number"&&l===void 0&&y===void 0&&(F=D,D=0,M=0),e(this,a(D,M,F))},L.prototype.rotateAxisAngle=function(_,l,y,D){if([_,l,y,D].some(function(M){return Number.isNaN(+M)}))throw new TypeError("CSSMatrix: expecting 4 values");return e(this,g(_,l,y,D))},L.prototype.skewX=function(_){return e(this,R(_))},L.prototype.skewY=function(_){return e(this,v(_))},L.prototype.skew=function(_,l){return e(this,c(_,l))},L.prototype.transformPoint=function(_){var l=this,y=l.m11*_.x+l.m21*_.y+l.m31*_.z+l.m41*_.w,D=l.m12*_.x+l.m22*_.y+l.m32*_.z+l.m42*_.w,M=l.m13*_.x+l.m23*_.y+l.m33*_.z+l.m43*_.w,F=l.m14*_.x+l.m24*_.y+l.m34*_.z+l.m44*_.w;return _ instanceof DOMPoint?new DOMPoint(y,D,M,F):{x:y,y:D,z:M,w:F}},Object.defineProperties(L.prototype,O),Object.assign(L,{Translate:x,Rotate:a,RotateAxisAngle:g,Scale:n,SkewX:R,SkewY:v,Skew:c,Multiply:e,fromArray:m,fromMatrix:w,fromString:U,toArray:k});var B="1.0.3",P=B;return Object.assign(L,{Version:P}),L})}(dommatrix)),dommatrix.exports}var ponyfill={exports:{}};/** + * @license + * web-streams-polyfill v3.3.3 + * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors. + * This code is released under the MIT license. + * SPDX-License-Identifier: MIT + */var hasRequiredPonyfill;function requirePonyfill(){return hasRequiredPonyfill||(hasRequiredPonyfill=1,function(b,r){(function(m,w){w(r)})(commonjsGlobal$1,function(m){var w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:function(ve){return"Symbol(".concat(ve,")")};function U(ve,Be){var We={label:0,sent:function(){if(St[0]&1)throw St[1];return St[1]},trys:[],ops:[]},ct,pt,St,Mt;return Mt={next:jt(0),throw:jt(1),return:jt(2)},typeof Symbol=="function"&&(Mt[Symbol.iterator]=function(){return this}),Mt;function jt(zt){return function(un){return sn([zt,un])}}function sn(zt){if(ct)throw new TypeError("Generator is already executing.");for(;Mt&&(Mt=0,zt[0]&&(We=0)),We;)try{if(ct=1,pt&&(St=zt[0]&2?pt.return:zt[0]?pt.throw||((St=pt.return)&&St.call(pt),0):pt.next)&&!(St=St.call(pt,zt[1])).done)return St;switch(pt=0,St&&(zt=[zt[0]&2,St.value]),zt[0]){case 0:case 1:St=zt;break;case 4:return We.label++,{value:zt[1],done:!1};case 5:We.label++,pt=zt[1],zt=[0];continue;case 7:zt=We.ops.pop(),We.trys.pop();continue;default:if(St=We.trys,!(St=St.length>0&&St[St.length-1])&&(zt[0]===6||zt[0]===2)){We=0;continue}if(zt[0]===3&&(!St||zt[1]>St[0]&&zt[1]=ve.length&&(ve=void 0),{value:ve&&ve[ct++],done:!ve}}};throw new TypeError(Be?"Object is not iterable.":"Symbol.iterator is not defined.")}function x(ve){return this instanceof x?(this.v=ve,this):new x(ve)}function a(ve,Be,We){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ct=We.apply(ve,Be||[]),pt,St=[];return pt={},Mt("next"),Mt("throw"),Mt("return"),pt[Symbol.asyncIterator]=function(){return this},pt;function Mt(Sn){ct[Sn]&&(pt[Sn]=function(Nn){return new Promise(function(Bn,Vn){St.push([Sn,Nn,Bn,Vn])>1||jt(Sn,Nn)})})}function jt(Sn,Nn){try{sn(ct[Sn](Nn))}catch(Bn){mn(St[0][3],Bn)}}function sn(Sn){Sn.value instanceof x?Promise.resolve(Sn.value.v).then(zt,un):mn(St[0][2],Sn)}function zt(Sn){jt("next",Sn)}function un(Sn){jt("throw",Sn)}function mn(Sn,Nn){Sn(Nn),St.shift(),St.length&&jt(St[0][0],St[0][1])}}function g(ve){var Be,We;return Be={},ct("next"),ct("throw",function(pt){throw pt}),ct("return"),Be[Symbol.iterator]=function(){return this},Be;function ct(pt,St){Be[pt]=ve[pt]?function(Mt){return(We=!We)?{value:x(ve[pt](Mt)),done:!1}:St?St(Mt):Mt}:St}}function n(ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Be=ve[Symbol.asyncIterator],We;return Be?Be.call(ve):(ve=typeof k=="function"?k(ve):ve[Symbol.iterator](),We={},ct("next"),ct("throw"),ct("return"),We[Symbol.asyncIterator]=function(){return this},We);function ct(St){We[St]=ve[St]&&function(Mt){return new Promise(function(jt,sn){Mt=ve[St](Mt),pt(jt,sn,Mt.done,Mt.value)})}}function pt(St,Mt,jt,sn){Promise.resolve(sn).then(function(zt){St({value:zt,done:jt})},Mt)}}typeof SuppressedError=="function"&&SuppressedError;function c(){}function R(ve){return typeof ve=="object"&&ve!==null||typeof ve=="function"}var v=c;function e(ve,Be){try{Object.defineProperty(ve,"name",{value:Be,configurable:!0})}catch{}}var L=Promise,O=Promise.prototype.then,B=Promise.reject.bind(L);function P(ve){return new L(ve)}function S(ve){return P(function(Be){return Be(ve)})}function _(ve){return B(ve)}function l(ve,Be,We){return O.call(ve,Be,We)}function y(ve,Be,We){l(l(ve,Be,We),void 0,v)}function D(ve,Be){y(ve,Be)}function M(ve,Be){y(ve,void 0,Be)}function F(ve,Be,We){return l(ve,Be,We)}function N(ve){l(ve,void 0,v)}var G=function(ve){if(typeof queueMicrotask=="function")G=queueMicrotask;else{var Be=S(void 0);G=function(We){return l(Be,We)}}return G(ve)};function W(ve,Be,We){if(typeof ve!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(ve,Be,We)}function J(ve,Be,We){try{return S(W(ve,Be,We))}catch(ct){return _(ct)}}var Y=16384,V=function(){function ve(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(ve.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),ve.prototype.push=function(Be){var We=this._back,ct=We;We._elements.length===Y-1&&(ct={_elements:[],_next:void 0}),We._elements.push(Be),ct!==We&&(this._back=ct,We._next=ct),++this._size},ve.prototype.shift=function(){var Be=this._front,We=Be,ct=this._cursor,pt=ct+1,St=Be._elements,Mt=St[ct];return pt===Y&&(We=Be._next,pt=0),--this._size,this._cursor=pt,Be!==We&&(this._front=We),St[ct]=void 0,Mt},ve.prototype.forEach=function(Be){for(var We=this._cursor,ct=this._front,pt=ct._elements;(We!==pt.length||ct._next!==void 0)&&!(We===pt.length&&(ct=ct._next,pt=ct._elements,We=0,pt.length===0));)Be(pt[We]),++We},ve.prototype.peek=function(){var Be=this._front,We=this._cursor;return Be._elements[We]},ve}(),H=w("[[AbortSteps]]"),z=w("[[ErrorSteps]]"),X=w("[[CancelSteps]]"),q=w("[[PullSteps]]"),$=w("[[ReleaseSteps]]");function fe(ve,Be){ve._ownerReadableStream=Be,Be._reader=ve,Be._state==="readable"?me(ve):Be._state==="closed"?ce(ve):K(ve,Be._storedError)}function Q(ve,Be){var We=ve._ownerReadableStream;return Xn(We,Be)}function ie(ve){var Be=ve._ownerReadableStream;Be._state==="readable"?de(ve,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):Z(ve,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),Be._readableStreamController[$](),Be._reader=void 0,ve._ownerReadableStream=void 0}function Te(ve){return new TypeError("Cannot "+ve+" a stream using a released reader")}function me(ve){ve._closedPromise=P(function(Be,We){ve._closedPromise_resolve=Be,ve._closedPromise_reject=We})}function K(ve,Be){me(ve),de(ve,Be)}function ce(ve){me(ve),ae(ve)}function de(ve,Be){ve._closedPromise_reject!==void 0&&(N(ve._closedPromise),ve._closedPromise_reject(Be),ve._closedPromise_resolve=void 0,ve._closedPromise_reject=void 0)}function Z(ve,Be){K(ve,Be)}function ae(ve){ve._closedPromise_resolve!==void 0&&(ve._closedPromise_resolve(void 0),ve._closedPromise_resolve=void 0,ve._closedPromise_reject=void 0)}var he=Number.isFinite||function(ve){return typeof ve=="number"&&isFinite(ve)},we=Math.trunc||function(ve){return ve<0?Math.ceil(ve):Math.floor(ve)};function _e(ve){return typeof ve=="object"||typeof ve=="function"}function ye(ve,Be){if(ve!==void 0&&!_e(ve))throw new TypeError("".concat(Be," is not an object."))}function se(ve,Be){if(typeof ve!="function")throw new TypeError("".concat(Be," is not a function."))}function Ie(ve){return typeof ve=="object"&&ve!==null||typeof ve=="function"}function Ce(ve,Be){if(!Ie(ve))throw new TypeError("".concat(Be," is not an object."))}function oe(ve,Be,We){if(ve===void 0)throw new TypeError("Parameter ".concat(Be," is required in '").concat(We,"'."))}function pe(ve,Be,We){if(ve===void 0)throw new TypeError("".concat(Be," is required in '").concat(We,"'."))}function xe(ve){return Number(ve)}function Ne(ve){return ve===0?0:ve}function ke(ve){return Ne(we(ve))}function De(ve,Be){var We=0,ct=Number.MAX_SAFE_INTEGER,pt=Number(ve);if(pt=Ne(pt),!he(pt))throw new TypeError("".concat(Be," is not a finite number"));if(pt=ke(pt),ptct)throw new TypeError("".concat(Be," is outside the accepted range of ").concat(We," to ").concat(ct,", inclusive"));return!he(pt)||pt===0?0:pt}function Fe(ve,Be){if(!Ir(ve))throw new TypeError("".concat(Be," is not a ReadableStream."))}function Pe(ve){return new Ae(ve)}function qe(ve,Be){ve._reader._readRequests.push(Be)}function Le(ve,Be,We){var ct=ve._reader,pt=ct._readRequests.shift();We?pt._closeSteps():pt._chunkSteps(Be)}function Oe(ve){return ve._reader._readRequests.length}function Ee(ve){var Be=ve._reader;return!(Be===void 0||!Ve(Be))}var Ae=function(){function ve(Be){if(oe(Be,1,"ReadableStreamDefaultReader"),Fe(Be,"First parameter"),Nr(Be))throw new TypeError("This stream has already been locked for exclusive reading by another reader");fe(this,Be),this._readRequests=new V}return Object.defineProperty(ve.prototype,"closed",{get:function(){return Ve(this)?this._closedPromise:_(Qe("closed"))},enumerable:!1,configurable:!0}),ve.prototype.cancel=function(Be){return Be===void 0&&(Be=void 0),Ve(this)?this._ownerReadableStream===void 0?_(Te("cancel")):Q(this,Be):_(Qe("cancel"))},ve.prototype.read=function(){if(!Ve(this))return _(Qe("read"));if(this._ownerReadableStream===void 0)return _(Te("read from"));var Be,We,ct=P(function(St,Mt){Be=St,We=Mt}),pt={_chunkSteps:function(St){return Be({value:St,done:!1})},_closeSteps:function(){return Be({value:void 0,done:!0})},_errorSteps:function(St){return We(St)}};return $e(this,pt),ct},ve.prototype.releaseLock=function(){if(!Ve(this))throw Qe("releaseLock");this._ownerReadableStream!==void 0&&Ue(this)},ve}();Object.defineProperties(Ae.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),e(Ae.prototype.cancel,"cancel"),e(Ae.prototype.read,"read"),e(Ae.prototype.releaseLock,"releaseLock"),typeof w.toStringTag=="symbol"&&Object.defineProperty(Ae.prototype,w.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function Ve(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_readRequests")?!1:ve instanceof Ae}function $e(ve,Be){var We=ve._ownerReadableStream;We._disturbed=!0,We._state==="closed"?Be._closeSteps():We._state==="errored"?Be._errorSteps(We._storedError):We._readableStreamController[q](Be)}function Ue(ve){ie(ve);var Be=new TypeError("Reader was released");He(ve,Be)}function He(ve,Be){var We=ve._readRequests;ve._readRequests=new V,We.forEach(function(ct){ct._errorSteps(Be)})}function Qe(ve){return new TypeError("ReadableStreamDefaultReader.prototype.".concat(ve," can only be used on a ReadableStreamDefaultReader"))}var Ze,et,tt;function je(ve){return ve.slice()}function Je(ve,Be,We,ct,pt){new Uint8Array(ve).set(new Uint8Array(We,ct,pt),Be)}var nt=function(ve){return typeof ve.transfer=="function"?nt=function(Be){return Be.transfer()}:typeof structuredClone=="function"?nt=function(Be){return structuredClone(Be,{transfer:[Be]})}:nt=function(Be){return Be},nt(ve)},Ke=function(ve){return typeof ve.detached=="boolean"?Ke=function(Be){return Be.detached}:Ke=function(Be){return Be.byteLength===0},Ke(ve)};function at(ve,Be,We){if(ve.slice)return ve.slice(Be,We);var ct=We-Be,pt=new ArrayBuffer(ct);return Je(pt,0,ve,Be,ct),pt}function ot(ve,Be){var We=ve[Be];if(We!=null){if(typeof We!="function")throw new TypeError("".concat(String(Be)," is not a function"));return We}}function Xe(ve){var Be,We=(Be={},Be[w.iterator]=function(){return ve.iterator},Be),ct=function(){return a(this,arguments,function(){return U(this,function(St){switch(St.label){case 0:return[5,k(g(n(We)))];case 1:return[4,x.apply(void 0,[St.sent()])];case 2:return[4,x.apply(void 0,[St.sent()])];case 3:return[2,St.sent()]}})})}(),pt=ct.next;return{iterator:ct,nextMethod:pt,done:!1}}var ze=(tt=(Ze=w.asyncIterator)!==null&&Ze!==void 0?Ze:(et=w.for)===null||et===void 0?void 0:et.call(w,"Symbol.asyncIterator"))!==null&&tt!==void 0?tt:"@@asyncIterator";function Ye(ve,Be,We){if(Be===void 0&&(Be="sync"),We===void 0)if(Be==="async"){if(We=ot(ve,ze),We===void 0){var ct=ot(ve,w.iterator),pt=Ye(ve,"sync",ct);return Xe(pt)}}else We=ot(ve,w.iterator);if(We===void 0)throw new TypeError("The object is not iterable");var St=W(We,ve,[]);if(!R(St))throw new TypeError("The iterator method must return an object");var Mt=St.next;return{iterator:St,nextMethod:Mt,done:!1}}function st(ve){var Be=W(ve.nextMethod,ve.iterator,[]);if(!R(Be))throw new TypeError("The iterator.next() method must return an object");return Be}function _t(ve){return!!ve.done}function ft(ve){return ve.value}var Ct,ut=(Ct={},Ct[ze]=function(){return this},Ct);Object.defineProperty(ut,ze,{enumerable:!1});var rt=function(){function ve(Be,We){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=Be,this._preventCancel=We}return ve.prototype.next=function(){var Be=this,We=function(){return Be._nextSteps()};return this._ongoingPromise=this._ongoingPromise?F(this._ongoingPromise,We,We):We(),this._ongoingPromise},ve.prototype.return=function(Be){var We=this,ct=function(){return We._returnSteps(Be)};return this._ongoingPromise?F(this._ongoingPromise,ct,ct):ct()},ve.prototype._nextSteps=function(){var Be=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var We=this._reader,ct,pt,St=P(function(jt,sn){ct=jt,pt=sn}),Mt={_chunkSteps:function(jt){Be._ongoingPromise=void 0,G(function(){return ct({value:jt,done:!1})})},_closeSteps:function(){Be._ongoingPromise=void 0,Be._isFinished=!0,ie(We),ct({value:void 0,done:!0})},_errorSteps:function(jt){Be._ongoingPromise=void 0,Be._isFinished=!0,ie(We),pt(jt)}};return $e(We,Mt),St},ve.prototype._returnSteps=function(Be){if(this._isFinished)return Promise.resolve({value:Be,done:!0});this._isFinished=!0;var We=this._reader;if(!this._preventCancel){var ct=Q(We,Be);return ie(We),F(ct,function(){return{value:Be,done:!0}})}return ie(We),S({value:Be,done:!0})},ve}(),mt={next:function(){return dt(this)?this._asyncIteratorImpl.next():_(Nt("next"))},return:function(ve){return dt(this)?this._asyncIteratorImpl.return(ve):_(Nt("return"))}};Object.setPrototypeOf(mt,ut);function Ot(ve,Be){var We=Pe(ve),ct=new rt(We,Be),pt=Object.create(mt);return pt._asyncIteratorImpl=ct,pt}function dt(ve){if(!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_asyncIteratorImpl"))return!1;try{return ve._asyncIteratorImpl instanceof rt}catch{return!1}}function Nt(ve){return new TypeError("ReadableStreamAsyncIterator.".concat(ve," can only be used on a ReadableSteamAsyncIterator"))}var kt=Number.isNaN||function(ve){return ve!==ve};function Ut(ve){return!(typeof ve!="number"||kt(ve)||ve<0)}function Ht(ve){var Be=at(ve.buffer,ve.byteOffset,ve.byteOffset+ve.byteLength);return new Uint8Array(Be)}function Kt(ve){var Be=ve._queue.shift();return ve._queueTotalSize-=Be.size,ve._queueTotalSize<0&&(ve._queueTotalSize=0),Be.value}function qt(ve,Be,We){if(!Ut(We)||We===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");ve._queue.push({value:Be,size:We}),ve._queueTotalSize+=We}function pn(ve){var Be=ve._queue.peek();return Be.value}function vt(ve){ve._queue=new V,ve._queueTotalSize=0}function xt(ve){return ve===DataView}function Rt(ve){return xt(ve.constructor)}function At(ve){return xt(ve)?1:ve.BYTES_PER_ELEMENT}var Pt=function(){function ve(){throw new TypeError("Illegal constructor")}return Object.defineProperty(ve.prototype,"view",{get:function(){if(!Dt(this))throw Jn("view");return this._view},enumerable:!1,configurable:!0}),ve.prototype.respond=function(Be){if(!Dt(this))throw Jn("respond");if(oe(Be,1,"respond"),Be=De(Be,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Ke(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");Qn(this._associatedReadableByteStreamController,Be)},ve.prototype.respondWithNewView=function(Be){if(!Dt(this))throw Jn("respondWithNewView");if(oe(Be,1,"respondWithNewView"),!ArrayBuffer.isView(Be))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Ke(Be.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");Zn(this._associatedReadableByteStreamController,Be)},ve}();Object.defineProperties(Pt.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),e(Pt.prototype.respond,"respond"),e(Pt.prototype.respondWithNewView,"respondWithNewView"),typeof w.toStringTag=="symbol"&&Object.defineProperty(Pt.prototype,w.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var $t=function(){function ve(){throw new TypeError("Illegal constructor")}return Object.defineProperty(ve.prototype,"byobRequest",{get:function(){if(!Wt(this))throw qn("byobRequest");return lr(this)},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"desiredSize",{get:function(){if(!Wt(this))throw qn("desiredSize");return Tr(this)},enumerable:!1,configurable:!0}),ve.prototype.close=function(){if(!Wt(this))throw qn("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var Be=this._controlledReadableByteStream._state;if(Be!=="readable")throw new TypeError("The stream (in ".concat(Be," state) is not in the readable state and cannot be closed"));Hn(this)},ve.prototype.enqueue=function(Be){if(!Wt(this))throw qn("enqueue");if(oe(Be,1,"enqueue"),!ArrayBuffer.isView(Be))throw new TypeError("chunk must be an array buffer view");if(Be.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(Be.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var We=this._controlledReadableByteStream._state;if(We!=="readable")throw new TypeError("The stream (in ".concat(We," state) is not in the readable state and cannot be enqueued to"));zn(this,Be)},ve.prototype.error=function(Be){if(Be===void 0&&(Be=void 0),!Wt(this))throw qn("error");kn(this,Be)},ve.prototype[X]=function(Be){Vt(this),vt(this);var We=this._cancelAlgorithm(Be);return Kn(this),We},ve.prototype[q]=function(Be){var We=this._controlledReadableByteStream;if(this._queueTotalSize>0){vr(this,Be);return}var ct=this._autoAllocateChunkSize;if(ct!==void 0){var pt=void 0;try{pt=new ArrayBuffer(ct)}catch(Mt){Be._errorSteps(Mt);return}var St={buffer:pt,bufferByteLength:ct,byteOffset:0,byteLength:ct,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(St)}qe(We,Be),Yt(this)},ve.prototype[$]=function(){if(this._pendingPullIntos.length>0){var Be=this._pendingPullIntos.peek();Be.readerType="none",this._pendingPullIntos=new V,this._pendingPullIntos.push(Be)}},ve}();Object.defineProperties($t.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),e($t.prototype.close,"close"),e($t.prototype.enqueue,"enqueue"),e($t.prototype.error,"error"),typeof w.toStringTag=="symbol"&&Object.defineProperty($t.prototype,w.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function Wt(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_controlledReadableByteStream")?!1:ve instanceof $t}function Dt(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_associatedReadableByteStreamController")?!1:ve instanceof Pt}function Yt(ve){var Be=xr(ve);if(Be){if(ve._pulling){ve._pullAgain=!0;return}ve._pulling=!0;var We=ve._pullAlgorithm();y(We,function(){return ve._pulling=!1,ve._pullAgain&&(ve._pullAgain=!1,Yt(ve)),null},function(ct){return kn(ve,ct),null})}}function Vt(ve){Jt(ve),ve._pendingPullIntos=new V}function rn(ve,Be){var We=!1;ve._state==="closed"&&(We=!0);var ct=en(Be);Be.readerType==="default"?Le(ve,ct,We):Rr(ve,ct,We)}function en(ve){var Be=ve.bytesFilled,We=ve.elementSize;return new ve.viewConstructor(ve.buffer,ve.byteOffset,Be/We)}function Xt(ve,Be,We,ct){ve._queue.push({buffer:Be,byteOffset:We,byteLength:ct}),ve._queueTotalSize+=ct}function ht(ve,Be,We,ct){var pt;try{pt=at(Be,We,We+ct)}catch(St){throw kn(ve,St),St}Xt(ve,pt,0,ct)}function Et(ve,Be){Be.bytesFilled>0&&ht(ve,Be.buffer,Be.byteOffset,Be.bytesFilled),Gn(ve)}function It(ve,Be){var We=Math.min(ve._queueTotalSize,Be.byteLength-Be.bytesFilled),ct=Be.bytesFilled+We,pt=We,St=!1,Mt=ct%Be.elementSize,jt=ct-Mt;jt>=Be.minimumFill&&(pt=jt-Be.bytesFilled,St=!0);for(var sn=ve._queue;pt>0;){var zt=sn.peek(),un=Math.min(pt,zt.byteLength),mn=Be.byteOffset+Be.bytesFilled;Je(Be.buffer,mn,zt.buffer,zt.byteOffset,un),zt.byteLength===un?sn.shift():(zt.byteOffset+=un,zt.byteLength-=un),ve._queueTotalSize-=un,wt(ve,un,Be),pt-=un}return St}function wt(ve,Be,We){We.bytesFilled+=Be}function Bt(ve){ve._queueTotalSize===0&&ve._closeRequested?(Kn(ve),Kr(ve._controlledReadableByteStream)):Yt(ve)}function Jt(ve){ve._byobRequest!==null&&(ve._byobRequest._associatedReadableByteStreamController=void 0,ve._byobRequest._view=null,ve._byobRequest=null)}function _n(ve){for(;ve._pendingPullIntos.length>0;){if(ve._queueTotalSize===0)return;var Be=ve._pendingPullIntos.peek();It(ve,Be)&&(Gn(ve),rn(ve._controlledReadableByteStream,Be))}}function nn(ve){for(var Be=ve._controlledReadableByteStream._reader;Be._readRequests.length>0;){if(ve._queueTotalSize===0)return;var We=Be._readRequests.shift();vr(ve,We)}}function an(ve,Be,We,ct){var pt=ve._controlledReadableByteStream,St=Be.constructor,Mt=At(St),jt=Be.byteOffset,sn=Be.byteLength,zt=We*Mt,un;try{un=nt(Be.buffer)}catch(Vn){ct._errorSteps(Vn);return}var mn={buffer:un,bufferByteLength:un.byteLength,byteOffset:jt,byteLength:sn,bytesFilled:0,minimumFill:zt,elementSize:Mt,viewConstructor:St,readerType:"byob"};if(ve._pendingPullIntos.length>0){ve._pendingPullIntos.push(mn),er(pt,ct);return}if(pt._state==="closed"){var Sn=new St(mn.buffer,mn.byteOffset,0);ct._closeSteps(Sn);return}if(ve._queueTotalSize>0){if(It(ve,mn)){var Nn=en(mn);Bt(ve),ct._chunkSteps(Nn);return}if(ve._closeRequested){var Bn=new TypeError("Insufficient bytes to fill elements in the given buffer");kn(ve,Bn),ct._errorSteps(Bn);return}}ve._pendingPullIntos.push(mn),er(pt,ct),Yt(ve)}function bn(ve,Be){Be.readerType==="none"&&Gn(ve);var We=ve._controlledReadableByteStream;if(tr(We))for(;gr(We)>0;){var ct=Gn(ve);rn(We,ct)}}function Cn(ve,Be,We){if(wt(ve,Be,We),We.readerType==="none"){Et(ve,We),_n(ve);return}if(!(We.bytesFilled0){var pt=We.byteOffset+We.bytesFilled;ht(ve,We.buffer,pt-ct,ct)}We.bytesFilled-=ct,rn(ve._controlledReadableByteStream,We),_n(ve)}}function Mn(ve,Be){var We=ve._pendingPullIntos.peek();Jt(ve);var ct=ve._controlledReadableByteStream._state;ct==="closed"?bn(ve,We):Cn(ve,Be,We),Yt(ve)}function Gn(ve){var Be=ve._pendingPullIntos.shift();return Be}function xr(ve){var Be=ve._controlledReadableByteStream;if(Be._state!=="readable"||ve._closeRequested||!ve._started)return!1;if(Ee(Be)&&Oe(Be)>0||tr(Be)&&gr(Be)>0)return!0;var We=Tr(ve);return We>0}function Kn(ve){ve._pullAlgorithm=void 0,ve._cancelAlgorithm=void 0}function Hn(ve){var Be=ve._controlledReadableByteStream;if(!(ve._closeRequested||Be._state!=="readable")){if(ve._queueTotalSize>0){ve._closeRequested=!0;return}if(ve._pendingPullIntos.length>0){var We=ve._pendingPullIntos.peek();if(We.bytesFilled%We.elementSize!==0){var ct=new TypeError("Insufficient bytes to fill elements in the given buffer");throw kn(ve,ct),ct}}Kn(ve),Kr(Be)}}function zn(ve,Be){var We=ve._controlledReadableByteStream;if(!(ve._closeRequested||We._state!=="readable")){var ct=Be.buffer,pt=Be.byteOffset,St=Be.byteLength;if(Ke(ct))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");var Mt=nt(ct);if(ve._pendingPullIntos.length>0){var jt=ve._pendingPullIntos.peek();if(Ke(jt.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");Jt(ve),jt.buffer=nt(jt.buffer),jt.readerType==="none"&&Et(ve,jt)}if(Ee(We))if(nn(ve),Oe(We)===0)Xt(ve,Mt,pt,St);else{ve._pendingPullIntos.length>0&&Gn(ve);var sn=new Uint8Array(Mt,pt,St);Le(We,sn,!1)}else tr(We)?(Xt(ve,Mt,pt,St),_n(ve)):Xt(ve,Mt,pt,St);Yt(ve)}}function kn(ve,Be){var We=ve._controlledReadableByteStream;We._state==="readable"&&(Vt(ve),vt(ve),Kn(ve),Zi(We,Be))}function vr(ve,Be){var We=ve._queue.shift();ve._queueTotalSize-=We.byteLength,Bt(ve);var ct=new Uint8Array(We.buffer,We.byteOffset,We.byteLength);Be._chunkSteps(ct)}function lr(ve){if(ve._byobRequest===null&&ve._pendingPullIntos.length>0){var Be=ve._pendingPullIntos.peek(),We=new Uint8Array(Be.buffer,Be.byteOffset+Be.bytesFilled,Be.byteLength-Be.bytesFilled),ct=Object.create(Pt.prototype);Cr(ct,ve,We),ve._byobRequest=ct}return ve._byobRequest}function Tr(ve){var Be=ve._controlledReadableByteStream._state;return Be==="errored"?null:Be==="closed"?0:ve._strategyHWM-ve._queueTotalSize}function Qn(ve,Be){var We=ve._pendingPullIntos.peek(),ct=ve._controlledReadableByteStream._state;if(ct==="closed"){if(Be!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(Be===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(We.bytesFilled+Be>We.byteLength)throw new RangeError("bytesWritten out of range")}We.buffer=nt(We.buffer),Mn(ve,Be)}function Zn(ve,Be){var We=ve._pendingPullIntos.peek(),ct=ve._controlledReadableByteStream._state;if(ct==="closed"){if(Be.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(Be.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(We.byteOffset+We.bytesFilled!==Be.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(We.bufferByteLength!==Be.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(We.bytesFilled+Be.byteLength>We.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");var pt=Be.byteLength;We.buffer=nt(Be.buffer),Mn(ve,pt)}function cr(ve,Be,We,ct,pt,St,Mt){Be._controlledReadableByteStream=ve,Be._pullAgain=!1,Be._pulling=!1,Be._byobRequest=null,Be._queue=Be._queueTotalSize=void 0,vt(Be),Be._closeRequested=!1,Be._started=!1,Be._strategyHWM=St,Be._pullAlgorithm=ct,Be._cancelAlgorithm=pt,Be._autoAllocateChunkSize=Mt,Be._pendingPullIntos=new V,ve._readableStreamController=Be;var jt=We();y(S(jt),function(){return Be._started=!0,Yt(Be),null},function(sn){return kn(Be,sn),null})}function ur(ve,Be,We){var ct=Object.create($t.prototype),pt,St,Mt;Be.start!==void 0?pt=function(){return Be.start(ct)}:pt=function(){},Be.pull!==void 0?St=function(){return Be.pull(ct)}:St=function(){return S(void 0)},Be.cancel!==void 0?Mt=function(sn){return Be.cancel(sn)}:Mt=function(){return S(void 0)};var jt=Be.autoAllocateChunkSize;if(jt===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");cr(ve,ct,pt,St,Mt,We,jt)}function Cr(ve,Be,We){ve._associatedReadableByteStreamController=Be,ve._view=We}function Jn(ve){return new TypeError("ReadableStreamBYOBRequest.prototype.".concat(ve," can only be used on a ReadableStreamBYOBRequest"))}function qn(ve){return new TypeError("ReadableByteStreamController.prototype.".concat(ve," can only be used on a ReadableByteStreamController"))}function dr(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.mode;return{mode:We===void 0?void 0:Ar(We,"".concat(Be," has member 'mode' that"))}}function Ar(ve,Be){if(ve="".concat(ve),ve!=="byob")throw new TypeError("".concat(Be," '").concat(ve,"' is not a valid enumeration value for ReadableStreamReaderMode"));return ve}function fr(ve,Be){var We;ye(ve,Be);var ct=(We=ve==null?void 0:ve.min)!==null&&We!==void 0?We:1;return{min:De(ct,"".concat(Be," has member 'min' that"))}}function Wn(ve){return new Ln(ve)}function er(ve,Be){ve._reader._readIntoRequests.push(Be)}function Rr(ve,Be,We){var ct=ve._reader,pt=ct._readIntoRequests.shift();We?pt._closeSteps(Be):pt._chunkSteps(Be)}function gr(ve){return ve._reader._readIntoRequests.length}function tr(ve){var Be=ve._reader;return!(Be===void 0||!$n(Be))}var Ln=function(){function ve(Be){if(oe(Be,1,"ReadableStreamBYOBReader"),Fe(Be,"First parameter"),Nr(Be))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Wt(Be._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");fe(this,Be),this._readIntoRequests=new V}return Object.defineProperty(ve.prototype,"closed",{get:function(){return $n(this)?this._closedPromise:_(yt("closed"))},enumerable:!1,configurable:!0}),ve.prototype.cancel=function(Be){return Be===void 0&&(Be=void 0),$n(this)?this._ownerReadableStream===void 0?_(Te("cancel")):Q(this,Be):_(yt("cancel"))},ve.prototype.read=function(Be,We){if(We===void 0&&(We={}),!$n(this))return _(yt("read"));if(!ArrayBuffer.isView(Be))return _(new TypeError("view must be an array buffer view"));if(Be.byteLength===0)return _(new TypeError("view must have non-zero byteLength"));if(Be.buffer.byteLength===0)return _(new TypeError("view's buffer must have non-zero byteLength"));if(Ke(Be.buffer))return _(new TypeError("view's buffer has been detached"));var ct;try{ct=fr(We,"options")}catch(zt){return _(zt)}var pt=ct.min;if(pt===0)return _(new TypeError("options.min must be greater than 0"));if(Rt(Be)){if(pt>Be.byteLength)return _(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(pt>Be.length)return _(new RangeError("options.min must be less than or equal to view's length"));if(this._ownerReadableStream===void 0)return _(Te("read from"));var St,Mt,jt=P(function(zt,un){St=zt,Mt=un}),sn={_chunkSteps:function(zt){return St({value:zt,done:!1})},_closeSteps:function(zt){return St({value:zt,done:!0})},_errorSteps:function(zt){return Mt(zt)}};return mr(this,Be,pt,sn),jt},ve.prototype.releaseLock=function(){if(!$n(this))throw yt("releaseLock");this._ownerReadableStream!==void 0&&zr(this)},ve}();Object.defineProperties(Ln.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),e(Ln.prototype.cancel,"cancel"),e(Ln.prototype.read,"read"),e(Ln.prototype.releaseLock,"releaseLock"),typeof w.toStringTag=="symbol"&&Object.defineProperty(Ln.prototype,w.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function $n(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_readIntoRequests")?!1:ve instanceof Ln}function mr(ve,Be,We,ct){var pt=ve._ownerReadableStream;pt._disturbed=!0,pt._state==="errored"?ct._errorSteps(pt._storedError):an(pt._readableStreamController,Be,We,ct)}function zr(ve){ie(ve);var Be=new TypeError("Reader was released");_r(ve,Be)}function _r(ve,Be){var We=ve._readIntoRequests;ve._readIntoRequests=new V,We.forEach(function(ct){ct._errorSteps(Be)})}function yt(ve){return new TypeError("ReadableStreamBYOBReader.prototype.".concat(ve," can only be used on a ReadableStreamBYOBReader"))}function te(ve,Be){var We=ve.highWaterMark;if(We===void 0)return Be;if(kt(We)||We<0)throw new RangeError("Invalid highWaterMark");return We}function Ge(ve){var Be=ve.size;return Be||function(){return 1}}function bt(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.highWaterMark,ct=ve==null?void 0:ve.size;return{highWaterMark:We===void 0?void 0:xe(We),size:ct===void 0?void 0:Tt(ct,"".concat(Be," has member 'size' that"))}}function Tt(ve,Be){return se(ve,Be),function(We){return xe(ve(We))}}function Ft(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.abort,ct=ve==null?void 0:ve.close,pt=ve==null?void 0:ve.start,St=ve==null?void 0:ve.type,Mt=ve==null?void 0:ve.write;return{abort:We===void 0?void 0:Zt(We,ve,"".concat(Be," has member 'abort' that")),close:ct===void 0?void 0:Qt(ct,ve,"".concat(Be," has member 'close' that")),start:pt===void 0?void 0:tn(pt,ve,"".concat(Be," has member 'start' that")),write:Mt===void 0?void 0:on(Mt,ve,"".concat(Be," has member 'write' that")),type:St}}function Zt(ve,Be,We){return se(ve,We),function(ct){return J(ve,Be,[ct])}}function Qt(ve,Be,We){return se(ve,We),function(){return J(ve,Be,[])}}function tn(ve,Be,We){return se(ve,We),function(ct){return W(ve,Be,[ct])}}function on(ve,Be,We){return se(ve,We),function(ct,pt){return J(ve,Be,[ct,pt])}}function gn(ve,Be){if(!fn(ve))throw new TypeError("".concat(Be," is not a WritableStream."))}function xn(ve){if(typeof ve!="object"||ve===null)return!1;try{return typeof ve.aborted=="boolean"}catch{return!1}}var yn=typeof AbortController=="function";function Tn(){if(yn)return new AbortController}var En=function(){function ve(Be,We){Be===void 0&&(Be={}),We===void 0&&(We={}),Be===void 0?Be=null:Ce(Be,"First parameter");var ct=bt(We,"Second parameter"),pt=Ft(Be,"First parameter");cn(this);var St=pt.type;if(St!==void 0)throw new RangeError("Invalid type is specified");var Mt=Ge(ct),jt=te(ct,1);ya(this,pt,jt,Mt)}return Object.defineProperty(ve.prototype,"locked",{get:function(){if(!fn(this))throw ti("locked");return In(this)},enumerable:!1,configurable:!0}),ve.prototype.abort=function(Be){return Be===void 0&&(Be=void 0),fn(this)?In(this)?_(new TypeError("Cannot abort a stream that already has a writer")):dn(this,Be):_(ti("abort"))},ve.prototype.close=function(){return fn(this)?In(this)?_(new TypeError("Cannot close a stream that already has a writer")):rr(this)?_(new TypeError("Cannot close an already-closing stream")):Yn(this):_(ti("close"))},ve.prototype.getWriter=function(){if(!fn(this))throw ti("getWriter");return ln(this)},ve}();Object.defineProperties(En.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),e(En.prototype.abort,"abort"),e(En.prototype.close,"close"),e(En.prototype.getWriter,"getWriter"),typeof w.toStringTag=="symbol"&&Object.defineProperty(En.prototype,w.toStringTag,{value:"WritableStream",configurable:!0});function ln(ve){return new Sr(ve)}function Rn(ve,Be,We,ct,pt,St){pt===void 0&&(pt=1),St===void 0&&(St=function(){return 1});var Mt=Object.create(En.prototype);cn(Mt);var jt=Object.create(Gr.prototype);return Ui(Mt,jt,ve,Be,We,ct,pt,St),Mt}function cn(ve){ve._state="writable",ve._storedError=void 0,ve._writer=void 0,ve._writableStreamController=void 0,ve._writeRequests=new V,ve._inFlightWriteRequest=void 0,ve._closeRequest=void 0,ve._inFlightCloseRequest=void 0,ve._pendingAbortRequest=void 0,ve._backpressure=!1}function fn(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_writableStreamController")?!1:ve instanceof En}function In(ve){return ve._writer!==void 0}function dn(ve,Be){var We;if(ve._state==="closed"||ve._state==="errored")return S(void 0);ve._writableStreamController._abortReason=Be,(We=ve._writableStreamController._abortController)===null||We===void 0||We.abort(Be);var ct=ve._state;if(ct==="closed"||ct==="errored")return S(void 0);if(ve._pendingAbortRequest!==void 0)return ve._pendingAbortRequest._promise;var pt=!1;ct==="erroring"&&(pt=!0,Be=void 0);var St=P(function(Mt,jt){ve._pendingAbortRequest={_promise:void 0,_resolve:Mt,_reject:jt,_reason:Be,_wasAlreadyErroring:pt}});return ve._pendingAbortRequest._promise=St,pt||br(ve,Be),St}function Yn(ve){var Be=ve._state;if(Be==="closed"||Be==="errored")return _(new TypeError("The stream (in ".concat(Be," state) is not in the writable state and cannot be closed")));var We=P(function(pt,St){var Mt={_resolve:pt,_reject:St};ve._closeRequest=Mt}),ct=ve._writer;return ct!==void 0&&ve._backpressure&&Be==="writable"&&Ci(ct),xa(ve._writableStreamController),We}function Fn(ve){var Be=P(function(We,ct){var pt={_resolve:We,_reject:ct};ve._writeRequests.push(pt)});return Be}function On(ve,Be){var We=ve._state;if(We==="writable"){br(ve,Be);return}nr(ve)}function br(ve,Be){var We=ve._writableStreamController;ve._state="erroring",ve._storedError=Be;var ct=ve._writer;ct!==void 0&&Mi(ct,Be),!pa(ve)&&We._started&&nr(ve)}function nr(ve){ve._state="errored",ve._writableStreamController[z]();var Be=ve._storedError;if(ve._writeRequests.forEach(function(pt){pt._reject(Be)}),ve._writeRequests=new V,ve._pendingAbortRequest===void 0){Zr(ve);return}var We=ve._pendingAbortRequest;if(ve._pendingAbortRequest=void 0,We._wasAlreadyErroring){We._reject(Be),Zr(ve);return}var ct=ve._writableStreamController[H](We._reason);y(ct,function(){return We._resolve(),Zr(ve),null},function(pt){return We._reject(pt),Zr(ve),null})}function _i(ve){ve._inFlightWriteRequest._resolve(void 0),ve._inFlightWriteRequest=void 0}function Ur(ve,Be){ve._inFlightWriteRequest._reject(Be),ve._inFlightWriteRequest=void 0,On(ve,Be)}function ha(ve){ve._inFlightCloseRequest._resolve(void 0),ve._inFlightCloseRequest=void 0;var Be=ve._state;Be==="erroring"&&(ve._storedError=void 0,ve._pendingAbortRequest!==void 0&&(ve._pendingAbortRequest._resolve(),ve._pendingAbortRequest=void 0)),ve._state="closed";var We=ve._writer;We!==void 0&&Vi(We)}function fa(ve,Be){ve._inFlightCloseRequest._reject(Be),ve._inFlightCloseRequest=void 0,ve._pendingAbortRequest!==void 0&&(ve._pendingAbortRequest._reject(Be),ve._pendingAbortRequest=void 0),On(ve,Be)}function rr(ve){return!(ve._closeRequest===void 0&&ve._inFlightCloseRequest===void 0)}function pa(ve){return!(ve._inFlightWriteRequest===void 0&&ve._inFlightCloseRequest===void 0)}function ga(ve){ve._inFlightCloseRequest=ve._closeRequest,ve._closeRequest=void 0}function ma(ve){ve._inFlightWriteRequest=ve._writeRequests.shift()}function Zr(ve){ve._closeRequest!==void 0&&(ve._closeRequest._reject(ve._storedError),ve._closeRequest=void 0);var Be=ve._writer;Be!==void 0&&vi(Be,ve._storedError)}function bi(ve,Be){var We=ve._writer;We!==void 0&&Be!==ve._backpressure&&(Be?Ia(We):Ci(We)),ve._backpressure=Be}var Sr=function(){function ve(Be){if(oe(Be,1,"WritableStreamDefaultWriter"),gn(Be,"First parameter"),In(Be))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=Be,Be._writer=this;var We=Be._state;if(We==="writable")!rr(Be)&&Be._backpressure?ai(this):Hi(this),ri(this);else if(We==="erroring")Ti(this,Be._storedError),ri(this);else if(We==="closed")Hi(this),wa(this);else{var ct=Be._storedError;Ti(this,ct),$i(this,ct)}}return Object.defineProperty(ve.prototype,"closed",{get:function(){return Mr(this)?this._closedPromise:_(Lr("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"desiredSize",{get:function(){if(!Mr(this))throw Lr("desiredSize");if(this._ownerWritableStream===void 0)throw Yr("desiredSize");return Ea(this)},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"ready",{get:function(){return Mr(this)?this._readyPromise:_(Lr("ready"))},enumerable:!1,configurable:!0}),ve.prototype.abort=function(Be){return Be===void 0&&(Be=void 0),Mr(this)?this._ownerWritableStream===void 0?_(Yr("abort")):_a(this,Be):_(Lr("abort"))},ve.prototype.close=function(){if(!Mr(this))return _(Lr("close"));var Be=this._ownerWritableStream;return Be===void 0?_(Yr("close")):rr(Be)?_(new TypeError("Cannot close an already-closing stream")):Di(this)},ve.prototype.releaseLock=function(){if(!Mr(this))throw Lr("releaseLock");var Be=this._ownerWritableStream;Be!==void 0&&Li(this)},ve.prototype.write=function(Be){return Be===void 0&&(Be=void 0),Mr(this)?this._ownerWritableStream===void 0?_(Yr("write to")):Fi(this,Be):_(Lr("write"))},ve}();Object.defineProperties(Sr.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),e(Sr.prototype.abort,"abort"),e(Sr.prototype.close,"close"),e(Sr.prototype.releaseLock,"releaseLock"),e(Sr.prototype.write,"write"),typeof w.toStringTag=="symbol"&&Object.defineProperty(Sr.prototype,w.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function Mr(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_ownerWritableStream")?!1:ve instanceof Sr}function _a(ve,Be){var We=ve._ownerWritableStream;return dn(We,Be)}function Di(ve){var Be=ve._ownerWritableStream;return Yn(Be)}function ba(ve){var Be=ve._ownerWritableStream,We=Be._state;return rr(Be)||We==="closed"?S(void 0):We==="errored"?_(Be._storedError):Di(ve)}function Sa(ve,Be){ve._closedPromiseState==="pending"?vi(ve,Be):Ra(ve,Be)}function Mi(ve,Be){ve._readyPromiseState==="pending"?zi(ve,Be):Oa(ve,Be)}function Ea(ve){var Be=ve._ownerWritableStream,We=Be._state;return We==="errored"||We==="erroring"?null:We==="closed"?0:Gi(Be._writableStreamController)}function Li(ve){var Be=ve._ownerWritableStream,We=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Mi(ve,We),Sa(ve,We),Be._writer=void 0,ve._ownerWritableStream=void 0}function Fi(ve,Be){var We=ve._ownerWritableStream,ct=We._writableStreamController,pt=va(ct,Be);if(We!==ve._ownerWritableStream)return _(Yr("write to"));var St=We._state;if(St==="errored")return _(We._storedError);if(rr(We)||St==="closed")return _(new TypeError("The stream is closing or closed and cannot be written to"));if(St==="erroring")return _(We._storedError);var Mt=Fn(We);return Ta(ct,Be,pt),Mt}var Bi={},Gr=function(){function ve(){throw new TypeError("Illegal constructor")}return Object.defineProperty(ve.prototype,"abortReason",{get:function(){if(!Si(this))throw yi("abortReason");return this._abortReason},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"signal",{get:function(){if(!Si(this))throw yi("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal},enumerable:!1,configurable:!0}),ve.prototype.error=function(Be){if(Be===void 0&&(Be=void 0),!Si(this))throw yi("error");var We=this._controlledWritableStream._state;We==="writable"&&qi(this,Be)},ve.prototype[H]=function(Be){var We=this._abortAlgorithm(Be);return Jr(this),We},ve.prototype[z]=function(){vt(this)},ve}();Object.defineProperties(Gr.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof w.toStringTag=="symbol"&&Object.defineProperty(Gr.prototype,w.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function Si(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_controlledWritableStream")?!1:ve instanceof Gr}function Ui(ve,Be,We,ct,pt,St,Mt,jt){Be._controlledWritableStream=ve,ve._writableStreamController=Be,Be._queue=void 0,Be._queueTotalSize=void 0,vt(Be),Be._abortReason=void 0,Be._abortController=Tn(),Be._started=!1,Be._strategySizeAlgorithm=jt,Be._strategyHWM=Mt,Be._writeAlgorithm=ct,Be._closeAlgorithm=pt,Be._abortAlgorithm=St;var sn=Ei(Be);bi(ve,sn);var zt=We(),un=S(zt);y(un,function(){return Be._started=!0,ei(Be),null},function(mn){return Be._started=!0,On(ve,mn),null})}function ya(ve,Be,We,ct){var pt=Object.create(Gr.prototype),St,Mt,jt,sn;Be.start!==void 0?St=function(){return Be.start(pt)}:St=function(){},Be.write!==void 0?Mt=function(zt){return Be.write(zt,pt)}:Mt=function(){return S(void 0)},Be.close!==void 0?jt=function(){return Be.close()}:jt=function(){return S(void 0)},Be.abort!==void 0?sn=function(zt){return Be.abort(zt)}:sn=function(){return S(void 0)},Ui(ve,pt,St,Mt,jt,sn,We,ct)}function Jr(ve){ve._writeAlgorithm=void 0,ve._closeAlgorithm=void 0,ve._abortAlgorithm=void 0,ve._strategySizeAlgorithm=void 0}function xa(ve){qt(ve,Bi,0),ei(ve)}function va(ve,Be){try{return ve._strategySizeAlgorithm(Be)}catch(We){return Wr(ve,We),1}}function Gi(ve){return ve._strategyHWM-ve._queueTotalSize}function Ta(ve,Be,We){try{qt(ve,Be,We)}catch(St){Wr(ve,St);return}var ct=ve._controlledWritableStream;if(!rr(ct)&&ct._state==="writable"){var pt=Ei(ve);bi(ct,pt)}ei(ve)}function ei(ve){var Be=ve._controlledWritableStream;if(ve._started&&Be._inFlightWriteRequest===void 0){var We=Be._state;if(We==="erroring"){nr(Be);return}if(ve._queue.length!==0){var ct=pn(ve);ct===Bi?Ca(ve):Aa(ve,ct)}}}function Wr(ve,Be){ve._controlledWritableStream._state==="writable"&&qi(ve,Be)}function Ca(ve){var Be=ve._controlledWritableStream;ga(Be),Kt(ve);var We=ve._closeAlgorithm();Jr(ve),y(We,function(){return ha(Be),null},function(ct){return fa(Be,ct),null})}function Aa(ve,Be){var We=ve._controlledWritableStream;ma(We);var ct=ve._writeAlgorithm(Be);y(ct,function(){_i(We);var pt=We._state;if(Kt(ve),!rr(We)&&pt==="writable"){var St=Ei(ve);bi(We,St)}return ei(ve),null},function(pt){return We._state==="writable"&&Jr(ve),Ur(We,pt),null})}function Ei(ve){var Be=Gi(ve);return Be<=0}function qi(ve,Be){var We=ve._controlledWritableStream;Jr(ve),br(We,Be)}function ti(ve){return new TypeError("WritableStream.prototype.".concat(ve," can only be used on a WritableStream"))}function yi(ve){return new TypeError("WritableStreamDefaultController.prototype.".concat(ve," can only be used on a WritableStreamDefaultController"))}function Lr(ve){return new TypeError("WritableStreamDefaultWriter.prototype.".concat(ve," can only be used on a WritableStreamDefaultWriter"))}function Yr(ve){return new TypeError("Cannot "+ve+" a stream using a released writer")}function ri(ve){ve._closedPromise=P(function(Be,We){ve._closedPromise_resolve=Be,ve._closedPromise_reject=We,ve._closedPromiseState="pending"})}function $i(ve,Be){ri(ve),vi(ve,Be)}function wa(ve){ri(ve),Vi(ve)}function vi(ve,Be){ve._closedPromise_reject!==void 0&&(N(ve._closedPromise),ve._closedPromise_reject(Be),ve._closedPromise_resolve=void 0,ve._closedPromise_reject=void 0,ve._closedPromiseState="rejected")}function Ra(ve,Be){$i(ve,Be)}function Vi(ve){ve._closedPromise_resolve!==void 0&&(ve._closedPromise_resolve(void 0),ve._closedPromise_resolve=void 0,ve._closedPromise_reject=void 0,ve._closedPromiseState="resolved")}function ai(ve){ve._readyPromise=P(function(Be,We){ve._readyPromise_resolve=Be,ve._readyPromise_reject=We}),ve._readyPromiseState="pending"}function Ti(ve,Be){ai(ve),zi(ve,Be)}function Hi(ve){ai(ve),Ci(ve)}function zi(ve,Be){ve._readyPromise_reject!==void 0&&(N(ve._readyPromise),ve._readyPromise_reject(Be),ve._readyPromise_resolve=void 0,ve._readyPromise_reject=void 0,ve._readyPromiseState="rejected")}function Ia(ve){ai(ve)}function Oa(ve,Be){Ti(ve,Be)}function Ci(ve){ve._readyPromise_resolve!==void 0&&(ve._readyPromise_resolve(void 0),ve._readyPromise_resolve=void 0,ve._readyPromise_reject=void 0,ve._readyPromiseState="fulfilled")}function Na(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof commonjsGlobal$1<"u")return commonjsGlobal$1}var Ai=Na();function ka(ve){if(!(typeof ve=="function"||typeof ve=="object")||ve.name!=="DOMException")return!1;try{return new ve,!0}catch{return!1}}function Da(){var ve=Ai==null?void 0:Ai.DOMException;return ka(ve)?ve:void 0}function Ma(){var ve=function(We,ct){this.message=We||"",this.name=ct||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e(ve,"DOMException"),ve.prototype=Object.create(Error.prototype),Object.defineProperty(ve.prototype,"constructor",{value:ve,writable:!0,configurable:!0}),ve}var Pa=Da()||Ma();function Wi(ve,Be,We,ct,pt,St){var Mt=Pe(ve),jt=ln(Be);ve._disturbed=!0;var sn=!1,zt=S(void 0);return P(function(un,mn){var Sn;if(St!==void 0){if(Sn=function(){var hn=St.reason!==void 0?St.reason:new Pa("Aborted","AbortError"),vn=[];ct||vn.push(function(){return Be._state==="writable"?dn(Be,hn):S(void 0)}),pt||vn.push(function(){return ve._state==="readable"?Xn(ve,hn):S(void 0)}),Un(function(){return Promise.all(vn.map(function(wn){return wn()}))},!0,hn)},St.aborted){Sn();return}St.addEventListener("abort",Sn)}function Nn(){return P(function(hn,vn){function wn(sr){sr?hn():l(Bn(),wn,vn)}wn(!1)})}function Bn(){return sn?S(!0):l(jt._readyPromise,function(){return P(function(hn,vn){$e(Mt,{_chunkSteps:function(wn){zt=l(Fi(jt,wn),void 0,c),hn(!1)},_closeSteps:function(){return hn(!0)},_errorSteps:vn})})})}if(Dn(ve,Mt._closedPromise,function(hn){return ct?yr(!0,hn):Un(function(){return dn(Be,hn)},!0,hn),null}),Dn(Be,jt._closedPromise,function(hn){return pt?yr(!0,hn):Un(function(){return Xn(ve,hn)},!0,hn),null}),ar(ve,Mt._closedPromise,function(){return We?yr():Un(function(){return ba(jt)}),null}),rr(Be)||Be._state==="closed"){var Vn=new TypeError("the destination writable stream closed before all data could be piped to it");pt?yr(!0,Vn):Un(function(){return Xn(ve,Vn)},!0,Vn)}N(Nn());function ir(){var hn=zt;return l(zt,function(){return hn!==zt?ir():void 0})}function Dn(hn,vn,wn){hn._state==="errored"?wn(hn._storedError):M(vn,wn)}function ar(hn,vn,wn){hn._state==="closed"?wn():D(vn,wn)}function Un(hn,vn,wn){if(sn)return;sn=!0,Be._state==="writable"&&!rr(Be)?D(ir(),sr):sr();function sr(){return y(hn(),function(){return An(vn,wn)},function(Dr){return An(!0,Dr)}),null}}function yr(hn,vn){sn||(sn=!0,Be._state==="writable"&&!rr(Be)?D(ir(),function(){return An(hn,vn)}):An(hn,vn))}function An(hn,vn){return Li(jt),ie(Mt),St!==void 0&&St.removeEventListener("abort",Sn),hn?mn(vn):un(void 0),null}})}var Er=function(){function ve(){throw new TypeError("Illegal constructor")}return Object.defineProperty(ve.prototype,"desiredSize",{get:function(){if(!si(this))throw li("desiredSize");return wi(this)},enumerable:!1,configurable:!0}),ve.prototype.close=function(){if(!si(this))throw li("close");if(!$r(this))throw new TypeError("The stream is not in a state that permits close");Fr(this)},ve.prototype.enqueue=function(Be){if(Be===void 0&&(Be=void 0),!si(this))throw li("enqueue");if(!$r(this))throw new TypeError("The stream is not in a state that permits enqueue");return qr(this,Be)},ve.prototype.error=function(Be){if(Be===void 0&&(Be=void 0),!si(this))throw li("error");jn(this,Be)},ve.prototype[X]=function(Be){vt(this);var We=this._cancelAlgorithm(Be);return oi(this),We},ve.prototype[q]=function(Be){var We=this._controlledReadableStream;if(this._queue.length>0){var ct=Kt(this);this._closeRequested&&this._queue.length===0?(oi(this),Kr(We)):jr(this),Be._chunkSteps(ct)}else qe(We,Be),jr(this)},ve.prototype[$]=function(){},ve}();Object.defineProperties(Er.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),e(Er.prototype.close,"close"),e(Er.prototype.enqueue,"enqueue"),e(Er.prototype.error,"error"),typeof w.toStringTag=="symbol"&&Object.defineProperty(Er.prototype,w.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function si(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_controlledReadableStream")?!1:ve instanceof Er}function jr(ve){var Be=Yi(ve);if(Be){if(ve._pulling){ve._pullAgain=!0;return}ve._pulling=!0;var We=ve._pullAlgorithm();y(We,function(){return ve._pulling=!1,ve._pullAgain&&(ve._pullAgain=!1,jr(ve)),null},function(ct){return jn(ve,ct),null})}}function Yi(ve){var Be=ve._controlledReadableStream;if(!$r(ve)||!ve._started)return!1;if(Nr(Be)&&Oe(Be)>0)return!0;var We=wi(ve);return We>0}function oi(ve){ve._pullAlgorithm=void 0,ve._cancelAlgorithm=void 0,ve._strategySizeAlgorithm=void 0}function Fr(ve){if($r(ve)){var Be=ve._controlledReadableStream;ve._closeRequested=!0,ve._queue.length===0&&(oi(ve),Kr(Be))}}function qr(ve,Be){if($r(ve)){var We=ve._controlledReadableStream;if(Nr(We)&&Oe(We)>0)Le(We,Be,!1);else{var ct=void 0;try{ct=ve._strategySizeAlgorithm(Be)}catch(pt){throw jn(ve,pt),pt}try{qt(ve,Be,ct)}catch(pt){throw jn(ve,pt),pt}}jr(ve)}}function jn(ve,Be){var We=ve._controlledReadableStream;We._state==="readable"&&(vt(ve),oi(ve),Zi(We,Be))}function wi(ve){var Be=ve._controlledReadableStream._state;return Be==="errored"?null:Be==="closed"?0:ve._strategyHWM-ve._queueTotalSize}function La(ve){return!Yi(ve)}function $r(ve){var Be=ve._controlledReadableStream._state;return!ve._closeRequested&&Be==="readable"}function ji(ve,Be,We,ct,pt,St,Mt){Be._controlledReadableStream=ve,Be._queue=void 0,Be._queueTotalSize=void 0,vt(Be),Be._started=!1,Be._closeRequested=!1,Be._pullAgain=!1,Be._pulling=!1,Be._strategySizeAlgorithm=Mt,Be._strategyHWM=St,Be._pullAlgorithm=ct,Be._cancelAlgorithm=pt,ve._readableStreamController=Be;var jt=We();y(S(jt),function(){return Be._started=!0,jr(Be),null},function(sn){return jn(Be,sn),null})}function Fa(ve,Be,We,ct){var pt=Object.create(Er.prototype),St,Mt,jt;Be.start!==void 0?St=function(){return Be.start(pt)}:St=function(){},Be.pull!==void 0?Mt=function(){return Be.pull(pt)}:Mt=function(){return S(void 0)},Be.cancel!==void 0?jt=function(sn){return Be.cancel(sn)}:jt=function(){return S(void 0)},ji(ve,pt,St,Mt,jt,We,ct)}function li(ve){return new TypeError("ReadableStreamDefaultController.prototype.".concat(ve," can only be used on a ReadableStreamDefaultController"))}function Ba(ve,Be){return Wt(ve._readableStreamController)?Ga(ve):Ua(ve)}function Ua(ve,Be){var We=Pe(ve),ct=!1,pt=!1,St=!1,Mt=!1,jt,sn,zt,un,mn,Sn=P(function(Dn){mn=Dn});function Nn(){if(ct)return pt=!0,S(void 0);ct=!0;var Dn={_chunkSteps:function(ar){G(function(){pt=!1;var Un=ar,yr=ar;St||qr(zt._readableStreamController,Un),Mt||qr(un._readableStreamController,yr),ct=!1,pt&&Nn()})},_closeSteps:function(){ct=!1,St||Fr(zt._readableStreamController),Mt||Fr(un._readableStreamController),(!St||!Mt)&&mn(void 0)},_errorSteps:function(){ct=!1}};return $e(We,Dn),S(void 0)}function Bn(Dn){if(St=!0,jt=Dn,Mt){var ar=je([jt,sn]),Un=Xn(ve,ar);mn(Un)}return Sn}function Vn(Dn){if(Mt=!0,sn=Dn,St){var ar=je([jt,sn]),Un=Xn(ve,ar);mn(Un)}return Sn}function ir(){}return zt=Xr(ir,Nn,Bn),un=Xr(ir,Nn,Vn),M(We._closedPromise,function(Dn){return jn(zt._readableStreamController,Dn),jn(un._readableStreamController,Dn),(!St||!Mt)&&mn(void 0),null}),[zt,un]}function Ga(ve){var Be=Pe(ve),We=!1,ct=!1,pt=!1,St=!1,Mt=!1,jt,sn,zt,un,mn,Sn=P(function(An){mn=An});function Nn(An){M(An._closedPromise,function(hn){return An!==Be||(kn(zt._readableStreamController,hn),kn(un._readableStreamController,hn),(!St||!Mt)&&mn(void 0)),null})}function Bn(){$n(Be)&&(ie(Be),Be=Pe(ve),Nn(Be));var An={_chunkSteps:function(hn){G(function(){ct=!1,pt=!1;var vn=hn,wn=hn;if(!St&&!Mt)try{wn=Ht(hn)}catch(sr){kn(zt._readableStreamController,sr),kn(un._readableStreamController,sr),mn(Xn(ve,sr));return}St||zn(zt._readableStreamController,vn),Mt||zn(un._readableStreamController,wn),We=!1,ct?ir():pt&&Dn()})},_closeSteps:function(){We=!1,St||Hn(zt._readableStreamController),Mt||Hn(un._readableStreamController),zt._readableStreamController._pendingPullIntos.length>0&&Qn(zt._readableStreamController,0),un._readableStreamController._pendingPullIntos.length>0&&Qn(un._readableStreamController,0),(!St||!Mt)&&mn(void 0)},_errorSteps:function(){We=!1}};$e(Be,An)}function Vn(An,hn){Ve(Be)&&(ie(Be),Be=Wn(ve),Nn(Be));var vn=hn?un:zt,wn=hn?zt:un,sr={_chunkSteps:function(Dr){G(function(){ct=!1,pt=!1;var Hr=hn?Mt:St,Qr=hn?St:Mt;if(Qr)Hr||Zn(vn._readableStreamController,Dr);else{var da=void 0;try{da=Ht(Dr)}catch(ki){kn(vn._readableStreamController,ki),kn(wn._readableStreamController,ki),mn(Xn(ve,ki));return}Hr||Zn(vn._readableStreamController,Dr),zn(wn._readableStreamController,da)}We=!1,ct?ir():pt&&Dn()})},_closeSteps:function(Dr){We=!1;var Hr=hn?Mt:St,Qr=hn?St:Mt;Hr||Hn(vn._readableStreamController),Qr||Hn(wn._readableStreamController),Dr!==void 0&&(Hr||Zn(vn._readableStreamController,Dr),!Qr&&wn._readableStreamController._pendingPullIntos.length>0&&Qn(wn._readableStreamController,0)),(!Hr||!Qr)&&mn(void 0)},_errorSteps:function(){We=!1}};mr(Be,An,1,sr)}function ir(){if(We)return ct=!0,S(void 0);We=!0;var An=lr(zt._readableStreamController);return An===null?Bn():Vn(An._view,!1),S(void 0)}function Dn(){if(We)return pt=!0,S(void 0);We=!0;var An=lr(un._readableStreamController);return An===null?Bn():Vn(An._view,!0),S(void 0)}function ar(An){if(St=!0,jt=An,Mt){var hn=je([jt,sn]),vn=Xn(ve,hn);mn(vn)}return Sn}function Un(An){if(Mt=!0,sn=An,St){var hn=je([jt,sn]),vn=Xn(ve,hn);mn(vn)}return Sn}function yr(){}return zt=Qi(yr,ir,ar),un=Qi(yr,Dn,Un),Nn(Be),[zt,un]}function qa(ve){return R(ve)&&typeof ve.getReader<"u"}function $a(ve){return qa(ve)?Ha(ve.getReader()):Va(ve)}function Va(ve){var Be,We=Ye(ve,"async"),ct=c;function pt(){var Mt;try{Mt=st(We)}catch(sn){return _(sn)}var jt=S(Mt);return F(jt,function(sn){if(!R(sn))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");var zt=_t(sn);if(zt)Fr(Be._readableStreamController);else{var un=ft(sn);qr(Be._readableStreamController,un)}})}function St(Mt){var jt=We.iterator,sn;try{sn=ot(jt,"return")}catch(mn){return _(mn)}if(sn===void 0)return S(void 0);var zt;try{zt=W(sn,jt,[Mt])}catch(mn){return _(mn)}var un=S(zt);return F(un,function(mn){if(!R(mn))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return Be=Xr(ct,pt,St,0),Be}function Ha(ve){var Be,We=c;function ct(){var St;try{St=ve.read()}catch(Mt){return _(Mt)}return F(St,function(Mt){if(!R(Mt))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(Mt.done)Fr(Be._readableStreamController);else{var jt=Mt.value;qr(Be._readableStreamController,jt)}})}function pt(St){try{return S(ve.cancel(St))}catch(Mt){return _(Mt)}}return Be=Xr(We,ct,pt,0),Be}function za(ve,Be){ye(ve,Be);var We=ve,ct=We==null?void 0:We.autoAllocateChunkSize,pt=We==null?void 0:We.cancel,St=We==null?void 0:We.pull,Mt=We==null?void 0:We.start,jt=We==null?void 0:We.type;return{autoAllocateChunkSize:ct===void 0?void 0:De(ct,"".concat(Be," has member 'autoAllocateChunkSize' that")),cancel:pt===void 0?void 0:Wa(pt,We,"".concat(Be," has member 'cancel' that")),pull:St===void 0?void 0:Ya(St,We,"".concat(Be," has member 'pull' that")),start:Mt===void 0?void 0:ja(Mt,We,"".concat(Be," has member 'start' that")),type:jt===void 0?void 0:Xa(jt,"".concat(Be," has member 'type' that"))}}function Wa(ve,Be,We){return se(ve,We),function(ct){return J(ve,Be,[ct])}}function Ya(ve,Be,We){return se(ve,We),function(ct){return J(ve,Be,[ct])}}function ja(ve,Be,We){return se(ve,We),function(ct){return W(ve,Be,[ct])}}function Xa(ve,Be){if(ve="".concat(ve),ve!=="bytes")throw new TypeError("".concat(Be," '").concat(ve,"' is not a valid enumeration value for ReadableStreamType"));return ve}function Ka(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.preventCancel;return{preventCancel:!!We}}function Ki(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.preventAbort,ct=ve==null?void 0:ve.preventCancel,pt=ve==null?void 0:ve.preventClose,St=ve==null?void 0:ve.signal;return St!==void 0&&Qa(St,"".concat(Be," has member 'signal' that")),{preventAbort:!!We,preventCancel:!!ct,preventClose:!!pt,signal:St}}function Qa(ve,Be){if(!xn(ve))throw new TypeError("".concat(Be," is not an AbortSignal."))}function Za(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.readable;pe(We,"readable","ReadableWritablePair"),Fe(We,"".concat(Be," has member 'readable' that"));var ct=ve==null?void 0:ve.writable;return pe(ct,"writable","ReadableWritablePair"),gn(ct,"".concat(Be," has member 'writable' that")),{readable:We,writable:ct}}var Pn=function(){function ve(Be,We){Be===void 0&&(Be={}),We===void 0&&(We={}),Be===void 0?Be=null:Ce(Be,"First parameter");var ct=bt(We,"Second parameter"),pt=za(Be,"First parameter");if(Ri(this),pt.type==="bytes"){if(ct.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");var St=te(ct,0);ur(this,pt,St)}else{var Mt=Ge(ct),St=te(ct,1);Fa(this,pt,St,Mt)}}return Object.defineProperty(ve.prototype,"locked",{get:function(){if(!Ir(this))throw Br("locked");return Nr(this)},enumerable:!1,configurable:!0}),ve.prototype.cancel=function(Be){return Be===void 0&&(Be=void 0),Ir(this)?Nr(this)?_(new TypeError("Cannot cancel a stream that already has a reader")):Xn(this,Be):_(Br("cancel"))},ve.prototype.getReader=function(Be){if(Be===void 0&&(Be=void 0),!Ir(this))throw Br("getReader");var We=dr(Be,"First parameter");return We.mode===void 0?Pe(this):Wn(this)},ve.prototype.pipeThrough=function(Be,We){if(We===void 0&&(We={}),!Ir(this))throw Br("pipeThrough");oe(Be,1,"pipeThrough");var ct=Za(Be,"First parameter"),pt=Ki(We,"Second parameter");if(Nr(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(In(ct.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");var St=Wi(this,ct.writable,pt.preventClose,pt.preventAbort,pt.preventCancel,pt.signal);return N(St),ct.readable},ve.prototype.pipeTo=function(Be,We){if(We===void 0&&(We={}),!Ir(this))return _(Br("pipeTo"));if(Be===void 0)return _("Parameter 1 is required in 'pipeTo'.");if(!fn(Be))return _(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));var ct;try{ct=Ki(We,"Second parameter")}catch(pt){return _(pt)}return Nr(this)?_(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):In(Be)?_(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Wi(this,Be,ct.preventClose,ct.preventAbort,ct.preventCancel,ct.signal)},ve.prototype.tee=function(){if(!Ir(this))throw Br("tee");var Be=Ba(this);return je(Be)},ve.prototype.values=function(Be){if(Be===void 0&&(Be=void 0),!Ir(this))throw Br("values");var We=Ka(Be,"First parameter");return Ot(this,We.preventCancel)},ve.prototype[ze]=function(Be){return this.values(Be)},ve.from=function(Be){return $a(Be)},ve}();Object.defineProperties(Pn,{from:{enumerable:!0}}),Object.defineProperties(Pn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),e(Pn.from,"from"),e(Pn.prototype.cancel,"cancel"),e(Pn.prototype.getReader,"getReader"),e(Pn.prototype.pipeThrough,"pipeThrough"),e(Pn.prototype.pipeTo,"pipeTo"),e(Pn.prototype.tee,"tee"),e(Pn.prototype.values,"values"),typeof w.toStringTag=="symbol"&&Object.defineProperty(Pn.prototype,w.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(Pn.prototype,ze,{value:Pn.prototype.values,writable:!0,configurable:!0});function Xr(ve,Be,We,ct,pt){ct===void 0&&(ct=1),pt===void 0&&(pt=function(){return 1});var St=Object.create(Pn.prototype);Ri(St);var Mt=Object.create(Er.prototype);return ji(St,Mt,ve,Be,We,ct,pt),St}function Qi(ve,Be,We){var ct=Object.create(Pn.prototype);Ri(ct);var pt=Object.create($t.prototype);return cr(ct,pt,ve,Be,We,0,void 0),ct}function Ri(ve){ve._state="readable",ve._reader=void 0,ve._storedError=void 0,ve._disturbed=!1}function Ir(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_readableStreamController")?!1:ve instanceof Pn}function Nr(ve){return ve._reader!==void 0}function Xn(ve,Be){if(ve._disturbed=!0,ve._state==="closed")return S(void 0);if(ve._state==="errored")return _(ve._storedError);Kr(ve);var We=ve._reader;if(We!==void 0&&$n(We)){var ct=We._readIntoRequests;We._readIntoRequests=new V,ct.forEach(function(St){St._closeSteps(void 0)})}var pt=ve._readableStreamController[X](Be);return F(pt,c)}function Kr(ve){ve._state="closed";var Be=ve._reader;if(Be!==void 0&&(ae(Be),Ve(Be))){var We=Be._readRequests;Be._readRequests=new V,We.forEach(function(ct){ct._closeSteps()})}}function Zi(ve,Be){ve._state="errored",ve._storedError=Be;var We=ve._reader;We!==void 0&&(de(We,Be),Ve(We)?He(We,Be):_r(We,Be))}function Br(ve){return new TypeError("ReadableStream.prototype.".concat(ve," can only be used on a ReadableStream"))}function Ji(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.highWaterMark;return pe(We,"highWaterMark","QueuingStrategyInit"),{highWaterMark:xe(We)}}var ea=function(ve){return ve.byteLength};e(ea,"size");var ci=function(){function ve(Be){oe(Be,1,"ByteLengthQueuingStrategy"),Be=Ji(Be,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=Be.highWaterMark}return Object.defineProperty(ve.prototype,"highWaterMark",{get:function(){if(!na(this))throw ta("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"size",{get:function(){if(!na(this))throw ta("size");return ea},enumerable:!1,configurable:!0}),ve}();Object.defineProperties(ci.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof w.toStringTag=="symbol"&&Object.defineProperty(ci.prototype,w.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function ta(ve){return new TypeError("ByteLengthQueuingStrategy.prototype.".concat(ve," can only be used on a ByteLengthQueuingStrategy"))}function na(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_byteLengthQueuingStrategyHighWaterMark")?!1:ve instanceof ci}var ra=function(){return 1};e(ra,"size");var ui=function(){function ve(Be){oe(Be,1,"CountQueuingStrategy"),Be=Ji(Be,"First parameter"),this._countQueuingStrategyHighWaterMark=Be.highWaterMark}return Object.defineProperty(ve.prototype,"highWaterMark",{get:function(){if(!aa(this))throw ia("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"size",{get:function(){if(!aa(this))throw ia("size");return ra},enumerable:!1,configurable:!0}),ve}();Object.defineProperties(ui.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof w.toStringTag=="symbol"&&Object.defineProperty(ui.prototype,w.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function ia(ve){return new TypeError("CountQueuingStrategy.prototype.".concat(ve," can only be used on a CountQueuingStrategy"))}function aa(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_countQueuingStrategyHighWaterMark")?!1:ve instanceof ui}function Ja(ve,Be){ye(ve,Be);var We=ve==null?void 0:ve.cancel,ct=ve==null?void 0:ve.flush,pt=ve==null?void 0:ve.readableType,St=ve==null?void 0:ve.start,Mt=ve==null?void 0:ve.transform,jt=ve==null?void 0:ve.writableType;return{cancel:We===void 0?void 0:rs(We,ve,"".concat(Be," has member 'cancel' that")),flush:ct===void 0?void 0:es(ct,ve,"".concat(Be," has member 'flush' that")),readableType:pt,start:St===void 0?void 0:ts(St,ve,"".concat(Be," has member 'start' that")),transform:Mt===void 0?void 0:ns(Mt,ve,"".concat(Be," has member 'transform' that")),writableType:jt}}function es(ve,Be,We){return se(ve,We),function(ct){return J(ve,Be,[ct])}}function ts(ve,Be,We){return se(ve,We),function(ct){return W(ve,Be,[ct])}}function ns(ve,Be,We){return se(ve,We),function(ct,pt){return J(ve,Be,[ct,pt])}}function rs(ve,Be,We){return se(ve,We),function(ct){return J(ve,Be,[ct])}}var di=function(){function ve(Be,We,ct){Be===void 0&&(Be={}),We===void 0&&(We={}),ct===void 0&&(ct={}),Be===void 0&&(Be=null);var pt=bt(We,"Second parameter"),St=bt(ct,"Third parameter"),Mt=Ja(Be,"First parameter");if(Mt.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(Mt.writableType!==void 0)throw new RangeError("Invalid writableType specified");var jt=te(St,0),sn=Ge(St),zt=te(pt,1),un=Ge(pt),mn,Sn=P(function(Nn){mn=Nn});is(this,Sn,zt,un,jt,sn),ss(this,Mt),Mt.start!==void 0?mn(Mt.start(this._transformStreamController)):mn(void 0)}return Object.defineProperty(ve.prototype,"readable",{get:function(){if(!sa(this))throw ua("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"writable",{get:function(){if(!sa(this))throw ua("writable");return this._writable},enumerable:!1,configurable:!0}),ve}();Object.defineProperties(di.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof w.toStringTag=="symbol"&&Object.defineProperty(di.prototype,w.toStringTag,{value:"TransformStream",configurable:!0});function is(ve,Be,We,ct,pt,St){function Mt(){return Be}function jt(Sn){return cs(ve,Sn)}function sn(Sn){return us(ve,Sn)}function zt(){return ds(ve)}ve._writable=Rn(Mt,jt,zt,sn,We,ct);function un(){return hs(ve)}function mn(Sn){return fs(ve,Sn)}ve._readable=Xr(Mt,un,mn,pt,St),ve._backpressure=void 0,ve._backpressureChangePromise=void 0,ve._backpressureChangePromise_resolve=void 0,hi(ve,!0),ve._transformStreamController=void 0}function sa(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_transformStreamController")?!1:ve instanceof di}function oa(ve,Be){jn(ve._readable._readableStreamController,Be),Ii(ve,Be)}function Ii(ve,Be){gi(ve._transformStreamController),Wr(ve._writable._writableStreamController,Be),Oi(ve)}function Oi(ve){ve._backpressure&&hi(ve,!1)}function hi(ve,Be){ve._backpressureChangePromise!==void 0&&ve._backpressureChangePromise_resolve(),ve._backpressureChangePromise=P(function(We){ve._backpressureChangePromise_resolve=We}),ve._backpressure=Be}var kr=function(){function ve(){throw new TypeError("Illegal constructor")}return Object.defineProperty(ve.prototype,"desiredSize",{get:function(){if(!fi(this))throw mi("desiredSize");var Be=this._controlledTransformStream._readable._readableStreamController;return wi(Be)},enumerable:!1,configurable:!0}),ve.prototype.enqueue=function(Be){if(Be===void 0&&(Be=void 0),!fi(this))throw mi("enqueue");la(this,Be)},ve.prototype.error=function(Be){if(Be===void 0&&(Be=void 0),!fi(this))throw mi("error");os(this,Be)},ve.prototype.terminate=function(){if(!fi(this))throw mi("terminate");ls(this)},ve}();Object.defineProperties(kr.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),e(kr.prototype.enqueue,"enqueue"),e(kr.prototype.error,"error"),e(kr.prototype.terminate,"terminate"),typeof w.toStringTag=="symbol"&&Object.defineProperty(kr.prototype,w.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function fi(ve){return!R(ve)||!Object.prototype.hasOwnProperty.call(ve,"_controlledTransformStream")?!1:ve instanceof kr}function as(ve,Be,We,ct,pt){Be._controlledTransformStream=ve,ve._transformStreamController=Be,Be._transformAlgorithm=We,Be._flushAlgorithm=ct,Be._cancelAlgorithm=pt,Be._finishPromise=void 0,Be._finishPromise_resolve=void 0,Be._finishPromise_reject=void 0}function ss(ve,Be){var We=Object.create(kr.prototype),ct,pt,St;Be.transform!==void 0?ct=function(Mt){return Be.transform(Mt,We)}:ct=function(Mt){try{return la(We,Mt),S(void 0)}catch(jt){return _(jt)}},Be.flush!==void 0?pt=function(){return Be.flush(We)}:pt=function(){return S(void 0)},Be.cancel!==void 0?St=function(Mt){return Be.cancel(Mt)}:St=function(){return S(void 0)},as(ve,We,ct,pt,St)}function gi(ve){ve._transformAlgorithm=void 0,ve._flushAlgorithm=void 0,ve._cancelAlgorithm=void 0}function la(ve,Be){var We=ve._controlledTransformStream,ct=We._readable._readableStreamController;if(!$r(ct))throw new TypeError("Readable side is not in a state that permits enqueue");try{qr(ct,Be)}catch(St){throw Ii(We,St),We._readable._storedError}var pt=La(ct);pt!==We._backpressure&&hi(We,!0)}function os(ve,Be){oa(ve._controlledTransformStream,Be)}function ca(ve,Be){var We=ve._transformAlgorithm(Be);return F(We,void 0,function(ct){throw oa(ve._controlledTransformStream,ct),ct})}function ls(ve){var Be=ve._controlledTransformStream,We=Be._readable._readableStreamController;Fr(We);var ct=new TypeError("TransformStream terminated");Ii(Be,ct)}function cs(ve,Be){var We=ve._transformStreamController;if(ve._backpressure){var ct=ve._backpressureChangePromise;return F(ct,function(){var pt=ve._writable,St=pt._state;if(St==="erroring")throw pt._storedError;return ca(We,Be)})}return ca(We,Be)}function us(ve,Be){var We=ve._transformStreamController;if(We._finishPromise!==void 0)return We._finishPromise;var ct=ve._readable;We._finishPromise=P(function(St,Mt){We._finishPromise_resolve=St,We._finishPromise_reject=Mt});var pt=We._cancelAlgorithm(Be);return gi(We),y(pt,function(){return ct._state==="errored"?Vr(We,ct._storedError):(jn(ct._readableStreamController,Be),Ni(We)),null},function(St){return jn(ct._readableStreamController,St),Vr(We,St),null}),We._finishPromise}function ds(ve){var Be=ve._transformStreamController;if(Be._finishPromise!==void 0)return Be._finishPromise;var We=ve._readable;Be._finishPromise=P(function(pt,St){Be._finishPromise_resolve=pt,Be._finishPromise_reject=St});var ct=Be._flushAlgorithm();return gi(Be),y(ct,function(){return We._state==="errored"?Vr(Be,We._storedError):(Fr(We._readableStreamController),Ni(Be)),null},function(pt){return jn(We._readableStreamController,pt),Vr(Be,pt),null}),Be._finishPromise}function hs(ve){return hi(ve,!1),ve._backpressureChangePromise}function fs(ve,Be){var We=ve._transformStreamController;if(We._finishPromise!==void 0)return We._finishPromise;var ct=ve._writable;We._finishPromise=P(function(St,Mt){We._finishPromise_resolve=St,We._finishPromise_reject=Mt});var pt=We._cancelAlgorithm(Be);return gi(We),y(pt,function(){return ct._state==="errored"?Vr(We,ct._storedError):(Wr(ct._writableStreamController,Be),Oi(ve),Ni(We)),null},function(St){return Wr(ct._writableStreamController,St),Oi(ve),Vr(We,St),null}),We._finishPromise}function mi(ve){return new TypeError("TransformStreamDefaultController.prototype.".concat(ve," can only be used on a TransformStreamDefaultController"))}function Ni(ve){ve._finishPromise_resolve!==void 0&&(ve._finishPromise_resolve(),ve._finishPromise_resolve=void 0,ve._finishPromise_reject=void 0)}function Vr(ve,Be){ve._finishPromise_reject!==void 0&&(N(ve._finishPromise),ve._finishPromise_reject(Be),ve._finishPromise_resolve=void 0,ve._finishPromise_reject=void 0)}function ua(ve){return new TypeError("TransformStream.prototype.".concat(ve," can only be used on a TransformStream"))}m.ByteLengthQueuingStrategy=ci,m.CountQueuingStrategy=ui,m.ReadableByteStreamController=$t,m.ReadableStream=Pn,m.ReadableStreamBYOBReader=Ln,m.ReadableStreamBYOBRequest=Pt,m.ReadableStreamDefaultController=Er,m.ReadableStreamDefaultReader=Ae,m.TransformStream=di,m.TransformStreamDefaultController=kr,m.WritableStream=En,m.WritableStreamDefaultController=Gr,m.WritableStreamDefaultWriter=Sr})}(ponyfill,ponyfill.exports)),ponyfill.exports}var hasRequiredPdf;function requirePdf(){return hasRequiredPdf||(hasRequiredPdf=1,function(module,exports){(function(r,m){module.exports=m()})(globalThis,()=>(()=>{var __webpack_modules__=[,(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.VerbosityLevel=r.Util=r.UnknownErrorException=r.UnexpectedResponseException=r.UNSUPPORTED_FEATURES=r.TextRenderingMode=r.StreamType=r.RenderingIntentFlag=r.PermissionFlag=r.PasswordResponses=r.PasswordException=r.PageActionEventType=r.OPS=r.MissingPDFException=r.LINE_FACTOR=r.LINE_DESCENT_FACTOR=r.InvalidPDFException=r.ImageKind=r.IDENTITY_MATRIX=r.FormatError=r.FontType=r.FeatureTest=r.FONT_IDENTITY_MATRIX=r.DocumentActionEventType=r.CMapCompressionType=r.BaseException=r.AnnotationType=r.AnnotationStateModelType=r.AnnotationReviewState=r.AnnotationReplyType=r.AnnotationMode=r.AnnotationMarkedState=r.AnnotationFlag=r.AnnotationFieldFlag=r.AnnotationEditorType=r.AnnotationEditorPrefix=r.AnnotationEditorParamsType=r.AnnotationBorderStyleType=r.AnnotationActionEventType=r.AbortException=void 0,r.arrayByteLength=oe,r.arraysToBytes=pe,r.assert=Te,r.bytesToString=Ie,r.createPromiseCapability=tt,r.createValidAbsoluteUrl=K,r.escapeString=Ae,r.getModificationDate=et,r.getVerbosityLevel=$,r.info=fe,r.isArrayBuffer=Qe,r.isArrayEqual=Ze,r.isAscii=Ve,r.objectFromMap=ke,r.objectSize=Ne,r.setVerbosityLevel=q,r.shadow=ce,r.string32=xe,r.stringToBytes=Ce,r.stringToPDFString=Ee,r.stringToUTF16BEString=$e,r.stringToUTF8String=Ue,r.unreachable=ie,r.utf8StringToString=He,r.warn=Q,m(2);const w=[1,0,0,1,0,0];r.IDENTITY_MATRIX=w;const U=[.001,0,0,.001,0,0];r.FONT_IDENTITY_MATRIX=U;const k=1.35;r.LINE_FACTOR=k;const x=.35;r.LINE_DESCENT_FACTOR=x;const a={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};r.RenderingIntentFlag=a;const g={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};r.AnnotationMode=g;const n="pdfjs_internal_editor_";r.AnnotationEditorPrefix=n;const c={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};r.AnnotationEditorType=c;const R={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};r.AnnotationEditorParamsType=R;const v={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};r.PermissionFlag=v;const e={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};r.TextRenderingMode=e;const L={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};r.ImageKind=L;const O={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};r.AnnotationType=O;const B={MARKED:"Marked",REVIEW:"Review"};r.AnnotationStateModelType=B;const P={MARKED:"Marked",UNMARKED:"Unmarked"};r.AnnotationMarkedState=P;const S={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};r.AnnotationReviewState=S;const _={GROUP:"Group",REPLY:"R"};r.AnnotationReplyType=_;const l={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};r.AnnotationFlag=l;const y={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};r.AnnotationFieldFlag=y;const D={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};r.AnnotationBorderStyleType=D;const M={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};r.AnnotationActionEventType=M;const F={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};r.DocumentActionEventType=F;const N={O:"PageOpen",C:"PageClose"};r.PageActionEventType=N;const G={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};r.StreamType=G;const W={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};r.FontType=W;const J={ERRORS:0,WARNINGS:1,INFOS:5};r.VerbosityLevel=J;const Y={NONE:0,BINARY:1,STREAM:2};r.CMapCompressionType=Y;const V={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};r.OPS=V;const H={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};r.UNSUPPORTED_FEATURES=H;const z={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};r.PasswordResponses=z;let X=J.WARNINGS;function q(je){Number.isInteger(je)&&(X=je)}function $(){return X}function fe(je){X>=J.INFOS&&console.log(`Info: ${je}`)}function Q(je){X>=J.WARNINGS&&console.log(`Warning: ${je}`)}function ie(je){throw new Error(je)}function Te(je,Je){je||ie(Je)}function me(je){if(!je)return!1;switch(je.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function K(je){let Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!je)return null;try{if(nt&&typeof je=="string"){if(nt.addDefaultProtocol&&je.startsWith("www.")){const at=je.match(/\./g);at&&at.length>=2&&(je=`http://${je}`)}if(nt.tryConvertEncoding)try{je=Ue(je)}catch{}}const Ke=Je?new URL(je,Je):new URL(je);if(me(Ke))return Ke}catch{}return null}function ce(je,Je,nt){return Object.defineProperty(je,Je,{value:nt,enumerable:!0,configurable:!0,writable:!1}),nt}const de=function(){function Je(nt,Ke){this.constructor===Je&&ie("Cannot initialize BaseException."),this.message=nt,this.name=Ke}return Je.prototype=new Error,Je.constructor=Je,Je}();r.BaseException=de;class Z extends de{constructor(Je,nt){super(Je,"PasswordException"),this.code=nt}}r.PasswordException=Z;class ae extends de{constructor(Je,nt){super(Je,"UnknownErrorException"),this.details=nt}}r.UnknownErrorException=ae;class he extends de{constructor(Je){super(Je,"InvalidPDFException")}}r.InvalidPDFException=he;class we extends de{constructor(Je){super(Je,"MissingPDFException")}}r.MissingPDFException=we;class _e extends de{constructor(Je,nt){super(Je,"UnexpectedResponseException"),this.status=nt}}r.UnexpectedResponseException=_e;class ye extends de{constructor(Je){super(Je,"FormatError")}}r.FormatError=ye;class se extends de{constructor(Je){super(Je,"AbortException")}}r.AbortException=se;function Ie(je){(typeof je!="object"||je===null||je.length===void 0)&&ie("Invalid argument for bytesToString");const Je=je.length,nt=8192;if(Je>24&255,je>>16&255,je>>8&255,je&255)}function Ne(je){return Object.keys(je).length}function ke(je){const Je=Object.create(null);for(const[nt,Ke]of je)Je[nt]=Ke;return Je}function De(){const je=new Uint8Array(4);return je[0]=1,new Uint32Array(je.buffer,0,1)[0]===1}function Fe(){try{return new Function(""),!0}catch{return!1}}class Pe{static get isLittleEndian(){return ce(this,"isLittleEndian",De())}static get isEvalSupported(){return ce(this,"isEvalSupported",Fe())}static get isOffscreenCanvasSupported(){return ce(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}}r.FeatureTest=Pe;const qe=[...Array(256).keys()].map(je=>je.toString(16).padStart(2,"0"));class Le{static makeHexColor(Je,nt,Ke){return`#${qe[Je]}${qe[nt]}${qe[Ke]}`}static scaleMinMax(Je,nt){let Ke;Je[0]?(Je[0]<0&&(Ke=nt[0],nt[0]=nt[1],nt[1]=Ke),nt[0]*=Je[0],nt[1]*=Je[0],Je[3]<0&&(Ke=nt[2],nt[2]=nt[3],nt[3]=Ke),nt[2]*=Je[3],nt[3]*=Je[3]):(Ke=nt[0],nt[0]=nt[2],nt[2]=Ke,Ke=nt[1],nt[1]=nt[3],nt[3]=Ke,Je[1]<0&&(Ke=nt[2],nt[2]=nt[3],nt[3]=Ke),nt[2]*=Je[1],nt[3]*=Je[1],Je[2]<0&&(Ke=nt[0],nt[0]=nt[1],nt[1]=Ke),nt[0]*=Je[2],nt[1]*=Je[2]),nt[0]+=Je[4],nt[1]+=Je[4],nt[2]+=Je[5],nt[3]+=Je[5]}static transform(Je,nt){return[Je[0]*nt[0]+Je[2]*nt[1],Je[1]*nt[0]+Je[3]*nt[1],Je[0]*nt[2]+Je[2]*nt[3],Je[1]*nt[2]+Je[3]*nt[3],Je[0]*nt[4]+Je[2]*nt[5]+Je[4],Je[1]*nt[4]+Je[3]*nt[5]+Je[5]]}static applyTransform(Je,nt){const Ke=Je[0]*nt[0]+Je[1]*nt[2]+nt[4],at=Je[0]*nt[1]+Je[1]*nt[3]+nt[5];return[Ke,at]}static applyInverseTransform(Je,nt){const Ke=nt[0]*nt[3]-nt[1]*nt[2],at=(Je[0]*nt[3]-Je[1]*nt[2]+nt[2]*nt[5]-nt[4]*nt[3])/Ke,ot=(-Je[0]*nt[1]+Je[1]*nt[0]+nt[4]*nt[1]-nt[5]*nt[0])/Ke;return[at,ot]}static getAxialAlignedBoundingBox(Je,nt){const Ke=Le.applyTransform(Je,nt),at=Le.applyTransform(Je.slice(2,4),nt),ot=Le.applyTransform([Je[0],Je[3]],nt),Xe=Le.applyTransform([Je[2],Je[1]],nt);return[Math.min(Ke[0],at[0],ot[0],Xe[0]),Math.min(Ke[1],at[1],ot[1],Xe[1]),Math.max(Ke[0],at[0],ot[0],Xe[0]),Math.max(Ke[1],at[1],ot[1],Xe[1])]}static inverseTransform(Je){const nt=Je[0]*Je[3]-Je[1]*Je[2];return[Je[3]/nt,-Je[1]/nt,-Je[2]/nt,Je[0]/nt,(Je[2]*Je[5]-Je[4]*Je[3])/nt,(Je[4]*Je[1]-Je[5]*Je[0])/nt]}static apply3dTransform(Je,nt){return[Je[0]*nt[0]+Je[1]*nt[1]+Je[2]*nt[2],Je[3]*nt[0]+Je[4]*nt[1]+Je[5]*nt[2],Je[6]*nt[0]+Je[7]*nt[1]+Je[8]*nt[2]]}static singularValueDecompose2dScale(Je){const nt=[Je[0],Je[2],Je[1],Je[3]],Ke=Je[0]*nt[0]+Je[1]*nt[2],at=Je[0]*nt[1]+Je[1]*nt[3],ot=Je[2]*nt[0]+Je[3]*nt[2],Xe=Je[2]*nt[1]+Je[3]*nt[3],ze=(Ke+Xe)/2,Ye=Math.sqrt((Ke+Xe)**2-4*(Ke*Xe-ot*at))/2,st=ze+Ye||1,_t=ze-Ye||1;return[Math.sqrt(st),Math.sqrt(_t)]}static normalizeRect(Je){const nt=Je.slice(0);return Je[0]>Je[2]&&(nt[0]=Je[2],nt[2]=Je[0]),Je[1]>Je[3]&&(nt[1]=Je[3],nt[3]=Je[1]),nt}static intersect(Je,nt){const Ke=Math.max(Math.min(Je[0],Je[2]),Math.min(nt[0],nt[2])),at=Math.min(Math.max(Je[0],Je[2]),Math.max(nt[0],nt[2]));if(Ke>at)return null;const ot=Math.max(Math.min(Je[1],Je[3]),Math.min(nt[1],nt[3])),Xe=Math.min(Math.max(Je[1],Je[3]),Math.max(nt[1],nt[3]));return ot>Xe?null:[Ke,ot,at,Xe]}static bezierBoundingBox(Je,nt,Ke,at,ot,Xe,ze,Ye){const st=[],_t=[[],[]];let ft,Ct,ut,rt,mt,Ot,dt,Nt;for(let Kt=0;Kt<2;++Kt){if(Kt===0?(Ct=6*Je-12*Ke+6*ot,ft=-3*Je+9*Ke-9*ot+3*ze,ut=3*Ke-3*Je):(Ct=6*nt-12*at+6*Xe,ft=-3*nt+9*at-9*Xe+3*Ye,ut=3*at-3*nt),Math.abs(ft)<1e-12){if(Math.abs(Ct)<1e-12)continue;rt=-ut/Ct,0="ï"){let nt;if(je[0]==="þ"&&je[1]==="ÿ"?nt="utf-16be":je[0]==="ÿ"&&je[1]==="þ"?nt="utf-16le":je[0]==="ï"&&je[1]==="»"&&je[2]==="¿"&&(nt="utf-8"),nt)try{const Ke=new TextDecoder(nt,{fatal:!0}),at=Ce(je);return Ke.decode(at)}catch(Ke){Q(`stringToPDFString: "${Ke}".`)}}const Je=[];for(let nt=0,Ke=je.length;ntJe===` +`?"\\n":Je==="\r"?"\\r":`\\${Je}`)}function Ve(je){return/^[\x00-\x7F]*$/.test(je)}function $e(je){const Je=["þÿ"];for(let nt=0,Ke=je.length;nt>8&255),String.fromCharCode(at&255))}return Je.join("")}function Ue(je){return decodeURIComponent(escape(je))}function He(je){return unescape(encodeURIComponent(je))}function Qe(je){return typeof je=="object"&&je!==null&&je.byteLength!==void 0}function Ze(je,Je){if(je.length!==Je.length)return!1;for(let nt=0,Ke=je.length;nt0&&arguments[0]!==void 0?arguments[0]:new Date;return[je.getUTCFullYear().toString(),(je.getUTCMonth()+1).toString().padStart(2,"0"),je.getUTCDate().toString().padStart(2,"0"),je.getUTCHours().toString().padStart(2,"0"),je.getUTCMinutes().toString().padStart(2,"0"),je.getUTCSeconds().toString().padStart(2,"0")].join("")}function tt(){const je=Object.create(null);let Je=!1;return Object.defineProperty(je,"settled",{get(){return Je}}),je.promise=new Promise(function(nt,Ke){je.resolve=function(at){Je=!0,nt(at)},je.reject=function(at){Je=!0,Ke(at)}}),je}},(b,r,m)=>{var w=m(3);globalThis._pdfjsCompatibilityChecked||(globalThis._pdfjsCompatibilityChecked=!0,function(){globalThis.btoa||!w.isNodeJS||(globalThis.btoa=function(k){return Buffer.from(k,"binary").toString("base64")})}(),function(){globalThis.atob||!w.isNodeJS||(globalThis.atob=function(k){return Buffer.from(k,"base64").toString("binary")})}(),function(){globalThis.DOMMatrix||!w.isNodeJS||(globalThis.DOMMatrix=requireDommatrix())}(),function(){globalThis.ReadableStream||!w.isNodeJS||(globalThis.ReadableStream=requirePonyfill().ReadableStream)}(),function(){Array.prototype.at||m(4)}(),function(){Uint8Array.prototype.at||m(76)}(),function(){globalThis.structuredClone||m(86)}())},(b,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isNodeJS=void 0;const m=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");r.isNodeJS=m},(b,r,m)=>{m(5);var w=m(75);b.exports=w("Array","at")},(b,r,m)=>{var w=m(6),U=m(41),k=m(65),x=m(63),a=m(70);w({target:"Array",proto:!0},{at:function(n){var c=U(this),R=k(c),v=x(n),e=v>=0?v:R+v;return e<0||e>=R?void 0:c[e]}}),a("at")},(b,r,m)=>{var w=m(7),U=m(8).f,k=m(45),x=m(49),a=m(39),g=m(57),n=m(69);b.exports=function(c,R){var v=c.target,e=c.global,L=c.stat,O,B,P,S,_,l;if(e?B=w:L?B=w[v]||a(v,{}):B=(w[v]||{}).prototype,B)for(P in R){if(_=R[P],c.dontCallGetSet?(l=U(B,P),S=l&&l.value):S=B[P],O=n(e?P:v+(L?".":"#")+P,c.forced),!O&&S!==void 0){if(typeof _==typeof S)continue;g(_,S)}(c.sham||S&&S.sham)&&k(_,"sham",!0),x(B,P,_,c)}}},b=>{var r=function(m){return m&&m.Math==Math&&m};b.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")()},(b,r,m)=>{var w=m(9),U=m(11),k=m(13),x=m(14),a=m(15),g=m(20),n=m(40),c=m(43),R=Object.getOwnPropertyDescriptor;r.f=w?R:function(e,L){if(e=a(e),L=g(L),c)try{return R(e,L)}catch{}if(n(e,L))return x(!U(k.f,e,L),e[L])}},(b,r,m)=>{var w=m(10);b.exports=!w(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},b=>{b.exports=function(r){try{return!!r()}catch{return!0}}},(b,r,m)=>{var w=m(12),U=Function.prototype.call;b.exports=w?U.bind(U):function(){return U.apply(U,arguments)}},(b,r,m)=>{var w=m(10);b.exports=!w(function(){var U=(function(){}).bind();return typeof U!="function"||U.hasOwnProperty("prototype")})},(b,r)=>{var m={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,U=w&&!m.call({1:2},1);r.f=U?function(x){var a=w(this,x);return!!a&&a.enumerable}:m},b=>{b.exports=function(r,m){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:m}}},(b,r,m)=>{var w=m(16),U=m(19);b.exports=function(k){return w(U(k))}},(b,r,m)=>{var w=m(17),U=m(10),k=m(18),x=Object,a=w("".split);b.exports=U(function(){return!x("z").propertyIsEnumerable(0)})?function(g){return k(g)=="String"?a(g,""):x(g)}:x},(b,r,m)=>{var w=m(12),U=Function.prototype,k=U.bind,x=U.call,a=w&&k.bind(x,x);b.exports=w?function(g){return g&&a(g)}:function(g){return g&&function(){return x.apply(g,arguments)}}},(b,r,m)=>{var w=m(17),U=w({}.toString),k=w("".slice);b.exports=function(x){return k(U(x),8,-1)}},b=>{var r=TypeError;b.exports=function(m){if(m==null)throw r("Can't call method on "+m);return m}},(b,r,m)=>{var w=m(21),U=m(24);b.exports=function(k){var x=w(k,"string");return U(x)?x:x+""}},(b,r,m)=>{var w=m(11),U=m(22),k=m(24),x=m(31),a=m(34),g=m(35),n=TypeError,c=g("toPrimitive");b.exports=function(R,v){if(!U(R)||k(R))return R;var e=x(R,c),L;if(e){if(v===void 0&&(v="default"),L=w(e,R,v),!U(L)||k(L))return L;throw n("Can't convert object to primitive value")}return v===void 0&&(v="number"),a(R,v)}},(b,r,m)=>{var w=m(23);b.exports=function(U){return typeof U=="object"?U!==null:w(U)}},b=>{b.exports=function(r){return typeof r=="function"}},(b,r,m)=>{var w=m(25),U=m(23),k=m(26),x=m(27),a=Object;b.exports=x?function(g){return typeof g=="symbol"}:function(g){var n=w("Symbol");return U(n)&&k(n.prototype,a(g))}},(b,r,m)=>{var w=m(7),U=m(23),k=function(x){return U(x)?x:void 0};b.exports=function(x,a){return arguments.length<2?k(w[x]):w[x]&&w[x][a]}},(b,r,m)=>{var w=m(17);b.exports=w({}.isPrototypeOf)},(b,r,m)=>{var w=m(28);b.exports=w&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(b,r,m)=>{var w=m(29),U=m(10);b.exports=!!Object.getOwnPropertySymbols&&!U(function(){var k=Symbol();return!String(k)||!(Object(k)instanceof Symbol)||!Symbol.sham&&w&&w<41})},(b,r,m)=>{var w=m(7),U=m(30),k=w.process,x=w.Deno,a=k&&k.versions||x&&x.version,g=a&&a.v8,n,c;g&&(n=g.split("."),c=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!c&&U&&(n=U.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=U.match(/Chrome\/(\d+)/),n&&(c=+n[1]))),b.exports=c},(b,r,m)=>{var w=m(25);b.exports=w("navigator","userAgent")||""},(b,r,m)=>{var w=m(32);b.exports=function(U,k){var x=U[k];return x==null?void 0:w(x)}},(b,r,m)=>{var w=m(23),U=m(33),k=TypeError;b.exports=function(x){if(w(x))return x;throw k(U(x)+" is not a function")}},b=>{var r=String;b.exports=function(m){try{return r(m)}catch{return"Object"}}},(b,r,m)=>{var w=m(11),U=m(23),k=m(22),x=TypeError;b.exports=function(a,g){var n,c;if(g==="string"&&U(n=a.toString)&&!k(c=w(n,a))||U(n=a.valueOf)&&!k(c=w(n,a))||g!=="string"&&U(n=a.toString)&&!k(c=w(n,a)))return c;throw x("Can't convert object to primitive value")}},(b,r,m)=>{var w=m(7),U=m(36),k=m(40),x=m(42),a=m(28),g=m(27),n=U("wks"),c=w.Symbol,R=c&&c.for,v=g?c:c&&c.withoutSetter||x;b.exports=function(e){if(!k(n,e)||!(a||typeof n[e]=="string")){var L="Symbol."+e;a&&k(c,e)?n[e]=c[e]:g&&R?n[e]=R(L):n[e]=v(L)}return n[e]}},(b,r,m)=>{var w=m(37),U=m(38);(b.exports=function(k,x){return U[k]||(U[k]=x!==void 0?x:{})})("versions",[]).push({version:"3.24.1",mode:w?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},b=>{b.exports=!1},(b,r,m)=>{var w=m(7),U=m(39),k="__core-js_shared__",x=w[k]||U(k,{});b.exports=x},(b,r,m)=>{var w=m(7),U=Object.defineProperty;b.exports=function(k,x){try{U(w,k,{value:x,configurable:!0,writable:!0})}catch{w[k]=x}return x}},(b,r,m)=>{var w=m(17),U=m(41),k=w({}.hasOwnProperty);b.exports=Object.hasOwn||function(a,g){return k(U(a),g)}},(b,r,m)=>{var w=m(19),U=Object;b.exports=function(k){return U(w(k))}},(b,r,m)=>{var w=m(17),U=0,k=Math.random(),x=w(1 .toString);b.exports=function(a){return"Symbol("+(a===void 0?"":a)+")_"+x(++U+k,36)}},(b,r,m)=>{var w=m(9),U=m(10),k=m(44);b.exports=!w&&!U(function(){return Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a!=7})},(b,r,m)=>{var w=m(7),U=m(22),k=w.document,x=U(k)&&U(k.createElement);b.exports=function(a){return x?k.createElement(a):{}}},(b,r,m)=>{var w=m(9),U=m(46),k=m(14);b.exports=w?function(x,a,g){return U.f(x,a,k(1,g))}:function(x,a,g){return x[a]=g,x}},(b,r,m)=>{var w=m(9),U=m(43),k=m(47),x=m(48),a=m(20),g=TypeError,n=Object.defineProperty,c=Object.getOwnPropertyDescriptor,R="enumerable",v="configurable",e="writable";r.f=w?k?function(O,B,P){if(x(O),B=a(B),x(P),typeof O=="function"&&B==="prototype"&&"value"in P&&e in P&&!P[e]){var S=c(O,B);S&&S[e]&&(O[B]=P.value,P={configurable:v in P?P[v]:S[v],enumerable:R in P?P[R]:S[R],writable:!1})}return n(O,B,P)}:n:function(O,B,P){if(x(O),B=a(B),x(P),U)try{return n(O,B,P)}catch{}if("get"in P||"set"in P)throw g("Accessors not supported");return"value"in P&&(O[B]=P.value),O}},(b,r,m)=>{var w=m(9),U=m(10);b.exports=w&&U(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},(b,r,m)=>{var w=m(22),U=String,k=TypeError;b.exports=function(x){if(w(x))return x;throw k(U(x)+" is not an object")}},(b,r,m)=>{var w=m(23),U=m(46),k=m(50),x=m(39);b.exports=function(a,g,n,c){c||(c={});var R=c.enumerable,v=c.name!==void 0?c.name:g;if(w(n)&&k(n,v,c),c.global)R?a[g]=n:x(g,n);else{try{c.unsafe?a[g]&&(R=!0):delete a[g]}catch{}R?a[g]=n:U.f(a,g,{value:n,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return a}},(b,r,m)=>{var w=m(10),U=m(23),k=m(40),x=m(9),a=m(51).CONFIGURABLE,g=m(52),n=m(53),c=n.enforce,R=n.get,v=Object.defineProperty,e=x&&!w(function(){return v(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),O=b.exports=function(B,P,S){String(P).slice(0,7)==="Symbol("&&(P="["+String(P).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),S&&S.getter&&(P="get "+P),S&&S.setter&&(P="set "+P),(!k(B,"name")||a&&B.name!==P)&&(x?v(B,"name",{value:P,configurable:!0}):B.name=P),e&&S&&k(S,"arity")&&B.length!==S.arity&&v(B,"length",{value:S.arity});try{S&&k(S,"constructor")&&S.constructor?x&&v(B,"prototype",{writable:!1}):B.prototype&&(B.prototype=void 0)}catch{}var _=c(B);return k(_,"source")||(_.source=L.join(typeof P=="string"?P:"")),B};Function.prototype.toString=O(function(){return U(this)&&R(this).source||g(this)},"toString")},(b,r,m)=>{var w=m(9),U=m(40),k=Function.prototype,x=w&&Object.getOwnPropertyDescriptor,a=U(k,"name"),g=a&&(function(){}).name==="something",n=a&&(!w||w&&x(k,"name").configurable);b.exports={EXISTS:a,PROPER:g,CONFIGURABLE:n}},(b,r,m)=>{var w=m(17),U=m(23),k=m(38),x=w(Function.toString);U(k.inspectSource)||(k.inspectSource=function(a){return x(a)}),b.exports=k.inspectSource},(b,r,m)=>{var w=m(54),U=m(7),k=m(17),x=m(22),a=m(45),g=m(40),n=m(38),c=m(55),R=m(56),v="Object already initialized",e=U.TypeError,L=U.WeakMap,O,B,P,S=function(N){return P(N)?B(N):O(N,{})},_=function(N){return function(G){var W;if(!x(G)||(W=B(G)).type!==N)throw e("Incompatible receiver, "+N+" required");return W}};if(w||n.state){var l=n.state||(n.state=new L),y=k(l.get),D=k(l.has),M=k(l.set);O=function(N,G){if(D(l,N))throw new e(v);return G.facade=N,M(l,N,G),G},B=function(N){return y(l,N)||{}},P=function(N){return D(l,N)}}else{var F=c("state");R[F]=!0,O=function(N,G){if(g(N,F))throw new e(v);return G.facade=N,a(N,F,G),G},B=function(N){return g(N,F)?N[F]:{}},P=function(N){return g(N,F)}}b.exports={set:O,get:B,has:P,enforce:S,getterFor:_}},(b,r,m)=>{var w=m(7),U=m(23),k=m(52),x=w.WeakMap;b.exports=U(x)&&/native code/.test(k(x))},(b,r,m)=>{var w=m(36),U=m(42),k=w("keys");b.exports=function(x){return k[x]||(k[x]=U(x))}},b=>{b.exports={}},(b,r,m)=>{var w=m(40),U=m(58),k=m(8),x=m(46);b.exports=function(a,g,n){for(var c=U(g),R=x.f,v=k.f,e=0;e{var w=m(25),U=m(17),k=m(59),x=m(68),a=m(48),g=U([].concat);b.exports=w("Reflect","ownKeys")||function(c){var R=k.f(a(c)),v=x.f;return v?g(R,v(c)):R}},(b,r,m)=>{var w=m(60),U=m(67),k=U.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(a){return w(a,k)}},(b,r,m)=>{var w=m(17),U=m(40),k=m(15),x=m(61).indexOf,a=m(56),g=w([].push);b.exports=function(n,c){var R=k(n),v=0,e=[],L;for(L in R)!U(a,L)&&U(R,L)&&g(e,L);for(;c.length>v;)U(R,L=c[v++])&&(~x(e,L)||g(e,L));return e}},(b,r,m)=>{var w=m(15),U=m(62),k=m(65),x=function(a){return function(g,n,c){var R=w(g),v=k(R),e=U(c,v),L;if(a&&n!=n){for(;v>e;)if(L=R[e++],L!=L)return!0}else for(;v>e;e++)if((a||e in R)&&R[e]===n)return a||e||0;return!a&&-1}};b.exports={includes:x(!0),indexOf:x(!1)}},(b,r,m)=>{var w=m(63),U=Math.max,k=Math.min;b.exports=function(x,a){var g=w(x);return g<0?U(g+a,0):k(g,a)}},(b,r,m)=>{var w=m(64);b.exports=function(U){var k=+U;return k!==k||k===0?0:w(k)}},b=>{var r=Math.ceil,m=Math.floor;b.exports=Math.trunc||function(U){var k=+U;return(k>0?m:r)(k)}},(b,r,m)=>{var w=m(66);b.exports=function(U){return w(U.length)}},(b,r,m)=>{var w=m(63),U=Math.min;b.exports=function(k){return k>0?U(w(k),9007199254740991):0}},b=>{b.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(b,r)=>{r.f=Object.getOwnPropertySymbols},(b,r,m)=>{var w=m(10),U=m(23),k=/#|\.prototype\./,x=function(R,v){var e=g[a(R)];return e==c?!0:e==n?!1:U(v)?w(v):!!v},a=x.normalize=function(R){return String(R).replace(k,".").toLowerCase()},g=x.data={},n=x.NATIVE="N",c=x.POLYFILL="P";b.exports=x},(b,r,m)=>{var w=m(35),U=m(71),k=m(46).f,x=w("unscopables"),a=Array.prototype;a[x]==null&&k(a,x,{configurable:!0,value:U(null)}),b.exports=function(g){a[x][g]=!0}},(b,r,m)=>{var w=m(48),U=m(72),k=m(67),x=m(56),a=m(74),g=m(44),n=m(55),c=">",R="<",v="prototype",e="script",L=n("IE_PROTO"),O=function(){},B=function(y){return R+e+c+y+R+"/"+e+c},P=function(y){y.write(B("")),y.close();var D=y.parentWindow.Object;return y=null,D},S=function(){var y=g("iframe"),D="java"+e+":",M;return y.style.display="none",a.appendChild(y),y.src=String(D),M=y.contentWindow.document,M.open(),M.write(B("document.F=Object")),M.close(),M.F},_,l=function(){try{_=new ActiveXObject("htmlfile")}catch{}l=typeof document<"u"?document.domain&&_?P(_):S():P(_);for(var y=k.length;y--;)delete l[v][k[y]];return l()};x[L]=!0,b.exports=Object.create||function(D,M){var F;return D!==null?(O[v]=w(D),F=new O,O[v]=null,F[L]=D):F=l(),M===void 0?F:U.f(F,M)}},(b,r,m)=>{var w=m(9),U=m(47),k=m(46),x=m(48),a=m(15),g=m(73);r.f=w&&!U?Object.defineProperties:function(c,R){x(c);for(var v=a(R),e=g(R),L=e.length,O=0,B;L>O;)k.f(c,B=e[O++],v[B]);return c}},(b,r,m)=>{var w=m(60),U=m(67);b.exports=Object.keys||function(x){return w(x,U)}},(b,r,m)=>{var w=m(25);b.exports=w("document","documentElement")},(b,r,m)=>{var w=m(7),U=m(17);b.exports=function(k,x){return U(w[k].prototype[x])}},(b,r,m)=>{m(77)},(b,r,m)=>{var w=m(78),U=m(65),k=m(63),x=w.aTypedArray,a=w.exportTypedArrayMethod;a("at",function(n){var c=x(this),R=U(c),v=k(n),e=v>=0?v:R+v;return e<0||e>=R?void 0:c[e]})},(b,r,m)=>{var w=m(79),U=m(9),k=m(7),x=m(23),a=m(22),g=m(40),n=m(80),c=m(33),R=m(45),v=m(49),e=m(46).f,L=m(26),O=m(82),B=m(84),P=m(35),S=m(42),_=m(53),l=_.enforce,y=_.get,D=k.Int8Array,M=D&&D.prototype,F=k.Uint8ClampedArray,N=F&&F.prototype,G=D&&O(D),W=M&&O(M),J=Object.prototype,Y=k.TypeError,V=P("toStringTag"),H=S("TYPED_ARRAY_TAG"),z="TypedArrayConstructor",X=w&&!!B&&n(k.opera)!=="Opera",q=!1,$,fe,Q,ie={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Te={BigInt64Array:8,BigUint64Array:8},me=function(_e){if(!a(_e))return!1;var ye=n(_e);return ye==="DataView"||g(ie,ye)||g(Te,ye)},K=function(we){var _e=O(we);if(a(_e)){var ye=y(_e);return ye&&g(ye,z)?ye[z]:K(_e)}},ce=function(we){if(!a(we))return!1;var _e=n(we);return g(ie,_e)||g(Te,_e)},de=function(we){if(ce(we))return we;throw Y("Target is not a typed array")},Z=function(we){if(x(we)&&(!B||L(G,we)))return we;throw Y(c(we)+" is not a typed array constructor")},ae=function(we,_e,ye,se){if(U){if(ye)for(var Ie in ie){var Ce=k[Ie];if(Ce&&g(Ce.prototype,we))try{delete Ce.prototype[we]}catch{try{Ce.prototype[we]=_e}catch{}}}(!W[we]||ye)&&v(W,we,ye?_e:X&&M[we]||_e,se)}},he=function(we,_e,ye){var se,Ie;if(U){if(B){if(ye){for(se in ie)if(Ie=k[se],Ie&&g(Ie,we))try{delete Ie[we]}catch{}}if(!G[we]||ye)try{return v(G,we,ye?_e:X&&G[we]||_e)}catch{}else return}for(se in ie)Ie=k[se],Ie&&(!Ie[we]||ye)&&v(Ie,we,_e)}};for($ in ie)fe=k[$],Q=fe&&fe.prototype,Q?l(Q)[z]=fe:X=!1;for($ in Te)fe=k[$],Q=fe&&fe.prototype,Q&&(l(Q)[z]=fe);if((!X||!x(G)||G===Function.prototype)&&(G=function(){throw Y("Incorrect invocation")},X))for($ in ie)k[$]&&B(k[$],G);if((!X||!W||W===J)&&(W=G.prototype,X))for($ in ie)k[$]&&B(k[$].prototype,W);if(X&&O(N)!==W&&B(N,W),U&&!g(W,V)){q=!0,e(W,V,{get:function(){return a(this)?this[H]:void 0}});for($ in ie)k[$]&&R(k[$],H,$)}b.exports={NATIVE_ARRAY_BUFFER_VIEWS:X,TYPED_ARRAY_TAG:q&&H,aTypedArray:de,aTypedArrayConstructor:Z,exportTypedArrayMethod:ae,exportTypedArrayStaticMethod:he,getTypedArrayConstructor:K,isView:me,isTypedArray:ce,TypedArray:G,TypedArrayPrototype:W}},b=>{b.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},(b,r,m)=>{var w=m(81),U=m(23),k=m(18),x=m(35),a=x("toStringTag"),g=Object,n=k(function(){return arguments}())=="Arguments",c=function(R,v){try{return R[v]}catch{}};b.exports=w?k:function(R){var v,e,L;return R===void 0?"Undefined":R===null?"Null":typeof(e=c(v=g(R),a))=="string"?e:n?k(v):(L=k(v))=="Object"&&U(v.callee)?"Arguments":L}},(b,r,m)=>{var w=m(35),U=w("toStringTag"),k={};k[U]="z",b.exports=String(k)==="[object z]"},(b,r,m)=>{var w=m(40),U=m(23),k=m(41),x=m(55),a=m(83),g=x("IE_PROTO"),n=Object,c=n.prototype;b.exports=a?n.getPrototypeOf:function(R){var v=k(R);if(w(v,g))return v[g];var e=v.constructor;return U(e)&&v instanceof e?e.prototype:v instanceof n?c:null}},(b,r,m)=>{var w=m(10);b.exports=!w(function(){function U(){}return U.prototype.constructor=null,Object.getPrototypeOf(new U)!==U.prototype})},(b,r,m)=>{var w=m(17),U=m(48),k=m(85);b.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var x=!1,a={},g;try{g=w(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),g(a,[]),x=a instanceof Array}catch{}return function(c,R){return U(c),k(R),x?g(c,R):c.__proto__=R,c}}():void 0)},(b,r,m)=>{var w=m(23),U=String,k=TypeError;b.exports=function(x){if(typeof x=="object"||w(x))return x;throw k("Can't set "+U(x)+" as a prototype")}},(b,r,m)=>{m(87),m(93),m(95),m(117),m(119);var w=m(128);b.exports=w.structuredClone},(b,r,m)=>{var w=m(15),U=m(70),k=m(88),x=m(53),a=m(46).f,g=m(89),n=m(37),c=m(9),R="Array Iterator",v=x.set,e=x.getterFor(R);b.exports=g(Array,"Array",function(O,B){v(this,{type:R,target:w(O),index:0,kind:B})},function(){var O=e(this),B=O.target,P=O.kind,S=O.index++;return!B||S>=B.length?(O.target=void 0,{value:void 0,done:!0}):P=="keys"?{value:S,done:!1}:P=="values"?{value:B[S],done:!1}:{value:[S,B[S]],done:!1}},"values");var L=k.Arguments=k.Array;if(U("keys"),U("values"),U("entries"),!n&&c&&L.name!=="values")try{a(L,"name",{value:"values"})}catch{}},b=>{b.exports={}},(b,r,m)=>{var w=m(6),U=m(11),k=m(37),x=m(51),a=m(23),g=m(90),n=m(82),c=m(84),R=m(92),v=m(45),e=m(49),L=m(35),O=m(88),B=m(91),P=x.PROPER,S=x.CONFIGURABLE,_=B.IteratorPrototype,l=B.BUGGY_SAFARI_ITERATORS,y=L("iterator"),D="keys",M="values",F="entries",N=function(){return this};b.exports=function(G,W,J,Y,V,H,z){g(J,W,Y);var X=function(de){if(de===V&&ie)return ie;if(!l&&de in fe)return fe[de];switch(de){case D:return function(){return new J(this,de)};case M:return function(){return new J(this,de)};case F:return function(){return new J(this,de)}}return function(){return new J(this)}},q=W+" Iterator",$=!1,fe=G.prototype,Q=fe[y]||fe["@@iterator"]||V&&fe[V],ie=!l&&Q||X(V),Te=W=="Array"&&fe.entries||Q,me,K,ce;if(Te&&(me=n(Te.call(new G)),me!==Object.prototype&&me.next&&(!k&&n(me)!==_&&(c?c(me,_):a(me[y])||e(me,y,N)),R(me,q,!0,!0),k&&(O[q]=N))),P&&V==M&&Q&&Q.name!==M&&(!k&&S?v(fe,"name",M):($=!0,ie=function(){return U(Q,this)})),V)if(K={values:X(M),keys:H?ie:X(D),entries:X(F)},z)for(ce in K)(l||$||!(ce in fe))&&e(fe,ce,K[ce]);else w({target:W,proto:!0,forced:l||$},K);return(!k||z)&&fe[y]!==ie&&e(fe,y,ie,{name:V}),O[W]=ie,K}},(b,r,m)=>{var w=m(91).IteratorPrototype,U=m(71),k=m(14),x=m(92),a=m(88),g=function(){return this};b.exports=function(n,c,R,v){var e=c+" Iterator";return n.prototype=U(w,{next:k(+!v,R)}),x(n,e,!1,!0),a[e]=g,n}},(b,r,m)=>{var w=m(10),U=m(23),k=m(71),x=m(82),a=m(49),g=m(35),n=m(37),c=g("iterator"),R=!1,v,e,L;[].keys&&(L=[].keys(),"next"in L?(e=x(x(L)),e!==Object.prototype&&(v=e)):R=!0);var O=v==null||w(function(){var B={};return v[c].call(B)!==B});O?v={}:n&&(v=k(v)),U(v[c])||a(v,c,function(){return this}),b.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:R}},(b,r,m)=>{var w=m(46).f,U=m(40),k=m(35),x=k("toStringTag");b.exports=function(a,g,n){a&&!n&&(a=a.prototype),a&&!U(a,x)&&w(a,x,{configurable:!0,value:g})}},(b,r,m)=>{var w=m(81),U=m(49),k=m(94);w||U(Object.prototype,"toString",k,{unsafe:!0})},(b,r,m)=>{var w=m(81),U=m(80);b.exports=w?{}.toString:function(){return"[object "+U(this)+"]"}},(b,r,m)=>{m(96)},(b,r,m)=>{var w=m(97),U=m(114);w("Map",function(k){return function(){return k(this,arguments.length?arguments[0]:void 0)}},U)},(b,r,m)=>{var w=m(6),U=m(7),k=m(17),x=m(69),a=m(49),g=m(98),n=m(105),c=m(111),R=m(23),v=m(22),e=m(10),L=m(112),O=m(92),B=m(113);b.exports=function(P,S,_){var l=P.indexOf("Map")!==-1,y=P.indexOf("Weak")!==-1,D=l?"set":"add",M=U[P],F=M&&M.prototype,N=M,G={},W=function(q){var $=k(F[q]);a(F,q,q=="add"?function(Q){return $(this,Q===0?0:Q),this}:q=="delete"?function(fe){return y&&!v(fe)?!1:$(this,fe===0?0:fe)}:q=="get"?function(Q){return y&&!v(Q)?void 0:$(this,Q===0?0:Q)}:q=="has"?function(Q){return y&&!v(Q)?!1:$(this,Q===0?0:Q)}:function(Q,ie){return $(this,Q===0?0:Q,ie),this})},J=x(P,!R(M)||!(y||F.forEach&&!e(function(){new M().entries().next()})));if(J)N=_.getConstructor(S,P,l,D),g.enable();else if(x(P,!0)){var Y=new N,V=Y[D](y?{}:-0,1)!=Y,H=e(function(){Y.has(1)}),z=L(function(q){new M(q)}),X=!y&&e(function(){for(var q=new M,$=5;$--;)q[D]($,$);return!q.has(-0)});z||(N=S(function(q,$){c(q,F);var fe=B(new M,q,N);return $!=null&&n($,fe[D],{that:fe,AS_ENTRIES:l}),fe}),N.prototype=F,F.constructor=N),(H||X)&&(W("delete"),W("has"),l&&W("get")),(X||V)&&W(D),y&&F.clear&&delete F.clear}return G[P]=N,w({global:!0,constructor:!0,forced:N!=M},G),O(N,P),y||_.setStrong(N,P,l),N}},(b,r,m)=>{var w=m(6),U=m(17),k=m(56),x=m(22),a=m(40),g=m(46).f,n=m(59),c=m(99),R=m(102),v=m(42),e=m(104),L=!1,O=v("meta"),B=0,P=function(M){g(M,O,{value:{objectID:"O"+B++,weakData:{}}})},S=function(M,F){if(!x(M))return typeof M=="symbol"?M:(typeof M=="string"?"S":"P")+M;if(!a(M,O)){if(!R(M))return"F";if(!F)return"E";P(M)}return M[O].objectID},_=function(M,F){if(!a(M,O)){if(!R(M))return!0;if(!F)return!1;P(M)}return M[O].weakData},l=function(M){return e&&L&&R(M)&&!a(M,O)&&P(M),M},y=function(){D.enable=function(){},L=!0;var M=n.f,F=U([].splice),N={};N[O]=1,M(N).length&&(n.f=function(G){for(var W=M(G),J=0,Y=W.length;J{var w=m(18),U=m(15),k=m(59).f,x=m(100),a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(n){try{return k(n)}catch{return x(a)}};b.exports.f=function(c){return a&&w(c)=="Window"?g(c):k(U(c))}},(b,r,m)=>{var w=m(62),U=m(65),k=m(101),x=Array,a=Math.max;b.exports=function(g,n,c){for(var R=U(g),v=w(n,R),e=w(c===void 0?R:c,R),L=x(a(e-v,0)),O=0;v{var w=m(20),U=m(46),k=m(14);b.exports=function(x,a,g){var n=w(a);n in x?U.f(x,n,k(0,g)):x[n]=g}},(b,r,m)=>{var w=m(10),U=m(22),k=m(18),x=m(103),a=Object.isExtensible,g=w(function(){});b.exports=g||x?function(c){return!U(c)||x&&k(c)=="ArrayBuffer"?!1:a?a(c):!0}:a},(b,r,m)=>{var w=m(10);b.exports=w(function(){if(typeof ArrayBuffer=="function"){var U=new ArrayBuffer(8);Object.isExtensible(U)&&Object.defineProperty(U,"a",{value:8})}})},(b,r,m)=>{var w=m(10);b.exports=!w(function(){return Object.isExtensible(Object.preventExtensions({}))})},(b,r,m)=>{var w=m(106),U=m(11),k=m(48),x=m(33),a=m(107),g=m(65),n=m(26),c=m(108),R=m(109),v=m(110),e=TypeError,L=function(B,P){this.stopped=B,this.result=P},O=L.prototype;b.exports=function(B,P,S){var _=S&&S.that,l=!!(S&&S.AS_ENTRIES),y=!!(S&&S.IS_RECORD),D=!!(S&&S.IS_ITERATOR),M=!!(S&&S.INTERRUPTED),F=w(P,_),N,G,W,J,Y,V,H,z=function(q){return N&&v(N,"normal",q),new L(!0,q)},X=function(q){return l?(k(q),M?F(q[0],q[1],z):F(q[0],q[1])):M?F(q,z):F(q)};if(y)N=B.iterator;else if(D)N=B;else{if(G=R(B),!G)throw e(x(B)+" is not iterable");if(a(G)){for(W=0,J=g(B);J>W;W++)if(Y=X(B[W]),Y&&n(O,Y))return Y;return new L(!1)}N=c(B,G)}for(V=y?B.next:N.next;!(H=U(V,N)).done;){try{Y=X(H.value)}catch(q){v(N,"throw",q)}if(typeof Y=="object"&&Y&&n(O,Y))return Y}return new L(!1)}},(b,r,m)=>{var w=m(17),U=m(32),k=m(12),x=w(w.bind);b.exports=function(a,g){return U(a),g===void 0?a:k?x(a,g):function(){return a.apply(g,arguments)}}},(b,r,m)=>{var w=m(35),U=m(88),k=w("iterator"),x=Array.prototype;b.exports=function(a){return a!==void 0&&(U.Array===a||x[k]===a)}},(b,r,m)=>{var w=m(11),U=m(32),k=m(48),x=m(33),a=m(109),g=TypeError;b.exports=function(n,c){var R=arguments.length<2?a(n):c;if(U(R))return k(w(R,n));throw g(x(n)+" is not iterable")}},(b,r,m)=>{var w=m(80),U=m(31),k=m(88),x=m(35),a=x("iterator");b.exports=function(g){if(g!=null)return U(g,a)||U(g,"@@iterator")||k[w(g)]}},(b,r,m)=>{var w=m(11),U=m(48),k=m(31);b.exports=function(x,a,g){var n,c;U(x);try{if(n=k(x,"return"),!n){if(a==="throw")throw g;return g}n=w(n,x)}catch(R){c=!0,n=R}if(a==="throw")throw g;if(c)throw n;return U(n),g}},(b,r,m)=>{var w=m(26),U=TypeError;b.exports=function(k,x){if(w(x,k))return k;throw U("Incorrect invocation")}},(b,r,m)=>{var w=m(35),U=w("iterator"),k=!1;try{var x=0,a={next:function(){return{done:!!x++}},return:function(){k=!0}};a[U]=function(){return this},Array.from(a,function(){throw 2})}catch{}b.exports=function(g,n){if(!n&&!k)return!1;var c=!1;try{var R={};R[U]=function(){return{next:function(){return{done:c=!0}}}},g(R)}catch{}return c}},(b,r,m)=>{var w=m(23),U=m(22),k=m(84);b.exports=function(x,a,g){var n,c;return k&&w(n=a.constructor)&&n!==g&&U(c=n.prototype)&&c!==g.prototype&&k(x,c),x}},(b,r,m)=>{var w=m(46).f,U=m(71),k=m(115),x=m(106),a=m(111),g=m(105),n=m(89),c=m(116),R=m(9),v=m(98).fastKey,e=m(53),L=e.set,O=e.getterFor;b.exports={getConstructor:function(B,P,S,_){var l=B(function(N,G){a(N,y),L(N,{type:P,index:U(null),first:void 0,last:void 0,size:0}),R||(N.size=0),G!=null&&g(G,N[_],{that:N,AS_ENTRIES:S})}),y=l.prototype,D=O(P),M=function(N,G,W){var J=D(N),Y=F(N,G),V,H;return Y?Y.value=W:(J.last=Y={index:H=v(G,!0),key:G,value:W,previous:V=J.last,next:void 0,removed:!1},J.first||(J.first=Y),V&&(V.next=Y),R?J.size++:N.size++,H!=="F"&&(J.index[H]=Y)),N},F=function(N,G){var W=D(N),J=v(G),Y;if(J!=="F")return W.index[J];for(Y=W.first;Y;Y=Y.next)if(Y.key==G)return Y};return k(y,{clear:function(){for(var G=this,W=D(G),J=W.index,Y=W.first;Y;)Y.removed=!0,Y.previous&&(Y.previous=Y.previous.next=void 0),delete J[Y.index],Y=Y.next;W.first=W.last=void 0,R?W.size=0:G.size=0},delete:function(N){var G=this,W=D(G),J=F(G,N);if(J){var Y=J.next,V=J.previous;delete W.index[J.index],J.removed=!0,V&&(V.next=Y),Y&&(Y.previous=V),W.first==J&&(W.first=Y),W.last==J&&(W.last=V),R?W.size--:G.size--}return!!J},forEach:function(G){for(var W=D(this),J=x(G,arguments.length>1?arguments[1]:void 0),Y;Y=Y?Y.next:W.first;)for(J(Y.value,Y.key,this);Y&&Y.removed;)Y=Y.previous},has:function(G){return!!F(this,G)}}),k(y,S?{get:function(G){var W=F(this,G);return W&&W.value},set:function(G,W){return M(this,G===0?0:G,W)}}:{add:function(G){return M(this,G=G===0?0:G,G)}}),R&&w(y,"size",{get:function(){return D(this).size}}),l},setStrong:function(B,P,S){var _=P+" Iterator",l=O(P),y=O(_);n(B,P,function(D,M){L(this,{type:_,target:D,state:l(D),kind:M,last:void 0})},function(){for(var D=y(this),M=D.kind,F=D.last;F&&F.removed;)F=F.previous;return!D.target||!(D.last=F=F?F.next:D.state.first)?(D.target=void 0,{value:void 0,done:!0}):M=="keys"?{value:F.key,done:!1}:M=="values"?{value:F.value,done:!1}:{value:[F.key,F.value],done:!1}},S?"entries":"values",!S,!0),c(P)}}},(b,r,m)=>{var w=m(49);b.exports=function(U,k,x){for(var a in k)w(U,a,k[a],x);return U}},(b,r,m)=>{var w=m(25),U=m(46),k=m(35),x=m(9),a=k("species");b.exports=function(g){var n=w(g),c=U.f;x&&n&&!n[a]&&c(n,a,{configurable:!0,get:function(){return this}})}},(b,r,m)=>{m(118)},(b,r,m)=>{var w=m(97),U=m(114);w("Set",function(k){return function(){return k(this,arguments.length?arguments[0]:void 0)}},U)},(b,r,m)=>{var w=m(37),U=m(6),k=m(7),x=m(25),a=m(17),g=m(10),n=m(42),c=m(23),R=m(120),v=m(22),e=m(24),L=m(105),O=m(48),B=m(80),P=m(40),S=m(101),_=m(45),l=m(65),y=m(121),D=m(122),M=m(124),F=m(29),N=m(125),G=m(126),W=m(127),J=k.Object,Y=k.Date,V=k.Error,H=k.EvalError,z=k.RangeError,X=k.ReferenceError,q=k.SyntaxError,$=k.TypeError,fe=k.URIError,Q=k.PerformanceMark,ie=k.WebAssembly,Te=ie&&ie.CompileError||V,me=ie&&ie.LinkError||V,K=ie&&ie.RuntimeError||V,ce=x("DOMException"),de=x("Set"),Z=x("Map"),ae=Z.prototype,he=a(ae.has),we=a(ae.get),_e=a(ae.set),ye=a(de.prototype.add),se=x("Object","keys"),Ie=a([].push),Ce=a((!0).valueOf),oe=a(1 .valueOf),pe=a("".valueOf),xe=a(Y.prototype.getTime),Ne=n("structuredClone"),ke="DataCloneError",De="Transferring",Fe=function(Ze){return!g(function(){var et=new k.Set([7]),tt=Ze(et),je=Ze(J(7));return tt==et||!tt.has(7)||typeof je!="object"||je!=7})&&Ze},Pe=function(Ze,et){return!g(function(){var tt=new et,je=Ze({a:tt,b:tt});return!(je&&je.a===je.b&&je.a instanceof et&&je.a.stack===tt.stack)})},qe=function(Ze){return!g(function(){var et=Ze(new k.AggregateError([1],Ne,{cause:3}));return et.name!="AggregateError"||et.errors[0]!=1||et.message!=Ne||et.cause!=3})},Le=k.structuredClone,Oe=w||!Pe(Le,V)||!Pe(Le,ce)||!qe(Le),Ee=!Le&&Fe(function(Ze){return new Q(Ne,{detail:Ze}).detail}),Ae=Fe(Le)||Ee,Ve=function(Ze){throw new ce("Uncloneable type: "+Ze,ke)},$e=function(Ze,et){throw new ce((et||"Cloning")+" of "+Ze+" cannot be properly polyfilled in this engine",ke)},Ue=function(Ze,et){if(e(Ze)&&Ve("Symbol"),!v(Ze))return Ze;if(et){if(he(et,Ze))return we(et,Ze)}else et=new Z;var tt=B(Ze),je=!1,Je,nt,Ke,at,ot,Xe,ze,Ye,st,_t;switch(tt){case"Array":Ke=[],je=!0;break;case"Object":Ke={},je=!0;break;case"Map":Ke=new Z,je=!0;break;case"Set":Ke=new de,je=!0;break;case"RegExp":Ke=new RegExp(Ze.source,D(Ze));break;case"Error":switch(nt=Ze.name,nt){case"AggregateError":Ke=x("AggregateError")([]);break;case"EvalError":Ke=H();break;case"RangeError":Ke=z();break;case"ReferenceError":Ke=X();break;case"SyntaxError":Ke=q();break;case"TypeError":Ke=$();break;case"URIError":Ke=fe();break;case"CompileError":Ke=Te();break;case"LinkError":Ke=me();break;case"RuntimeError":Ke=K();break;default:Ke=V()}je=!0;break;case"DOMException":Ke=new ce(Ze.message,Ze.name),je=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":Je=k[tt],v(Je)||$e(tt),Ke=new Je(Ue(Ze.buffer,et),Ze.byteOffset,tt==="DataView"?Ze.byteLength:Ze.length);break;case"DOMQuad":try{Ke=new DOMQuad(Ue(Ze.p1,et),Ue(Ze.p2,et),Ue(Ze.p3,et),Ue(Ze.p4,et))}catch{Ae?Ke=Ae(Ze):$e(tt)}break;case"FileList":if(Je=k.DataTransfer,R(Je)){for(at=new Je,ot=0,Xe=l(Ze);ot92||W&&F>94||N&&F>97)return!1;var Ze=new ArrayBuffer(8),et=Le(Ze,{transfer:[Ze]});return Ze.byteLength!=0||et.byteLength!=8}),Qe=function(Ze,et){if(!v(Ze))throw $("Transfer option cannot be converted to a sequence");var tt=[];L(Ze,function(st){Ie(tt,O(st))});var je=0,Je=l(tt),nt,Ke,at,ot,Xe,ze,Ye;if(He)for(ot=Le(tt,{transfer:tt});je1&&arguments[1]!=null?O(arguments[1]):void 0,je=tt?tt.transfer:void 0,Je;return je!==void 0&&(Je=new Z,Qe(je,Je)),Ue(et,Je)}})},(b,r,m)=>{var w=m(17),U=m(10),k=m(23),x=m(80),a=m(25),g=m(52),n=function(){},c=[],R=a("Reflect","construct"),v=/^\s*(?:class|function)\b/,e=w(v.exec),L=!v.exec(n),O=function(S){if(!k(S))return!1;try{return R(n,c,S),!0}catch{return!1}},B=function(S){if(!k(S))return!1;switch(x(S)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return L||!!e(v,g(S))}catch{return!0}};B.sham=!0,b.exports=!R||U(function(){var P;return O(O.call)||!O(Object)||!O(function(){P=!0})||P})?B:O},b=>{var r=TypeError;b.exports=function(m,w){if(m{var w=m(11),U=m(40),k=m(26),x=m(123),a=RegExp.prototype;b.exports=function(g){var n=g.flags;return n===void 0&&!("flags"in a)&&!U(g,"flags")&&k(a,g)?w(x,g):n}},(b,r,m)=>{var w=m(48);b.exports=function(){var U=w(this),k="";return U.hasIndices&&(k+="d"),U.global&&(k+="g"),U.ignoreCase&&(k+="i"),U.multiline&&(k+="m"),U.dotAll&&(k+="s"),U.unicode&&(k+="u"),U.unicodeSets&&(k+="v"),U.sticky&&(k+="y"),k}},(b,r,m)=>{var w=m(10),U=m(14);b.exports=!w(function(){var k=Error("a");return"stack"in k?(Object.defineProperty(k,"stack",U(1,7)),k.stack!==7):!0})},(b,r,m)=>{var w=m(126),U=m(127);b.exports=!w&&!U&&typeof window=="object"&&typeof document=="object"},b=>{b.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},(b,r,m)=>{var w=m(18),U=m(7);b.exports=w(U.process)=="process"},(b,r,m)=>{var w=m(7);b.exports=w},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(130),_display_utils=__w_pdfjs_require__(133),_font_loader=__w_pdfjs_require__(136),_canvas=__w_pdfjs_require__(137),_worker_options=__w_pdfjs_require__(140),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(141),_metadata=__w_pdfjs_require__(142),_optional_content_config=__w_pdfjs_require__(143),_transport_stream=__w_pdfjs_require__(144),_xfa_text=__w_pdfjs_require__(145);function _classPrivateMethodInitSpec(b,r){_checkPrivateRedeclaration(b,r),r.add(b)}function _classPrivateMethodGet(b,r,m){if(!r.has(b))throw new TypeError("attempted to get private field on non-instance");return m}function _classPrivateFieldInitSpec(b,r,m){_checkPrivateRedeclaration(b,r),r.set(b,m)}function _checkPrivateRedeclaration(b,r){if(r.has(b))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(b,r,m){var w=_classExtractFieldDescriptor(b,r,"set");return _classApplyDescriptorSet(b,w,m),m}function _classPrivateFieldGet(b,r){var m=_classExtractFieldDescriptor(b,r,"get");return _classApplyDescriptorGet(b,m)}function _classExtractFieldDescriptor(b,r,m){if(!r.has(b))throw new TypeError("attempted to "+m+" private field on non-instance");return r.get(b)}function _classStaticPrivateFieldSpecSet(b,r,m,w){return _classCheckPrivateStaticAccess(b,r),_classCheckPrivateStaticFieldDescriptor(m,"set"),_classApplyDescriptorSet(b,m,w),w}function _classApplyDescriptorSet(b,r,m){if(r.set)r.set.call(b,m);else{if(!r.writable)throw new TypeError("attempted to set read only private field");r.value=m}}function _classStaticPrivateFieldSpecGet(b,r,m){return _classCheckPrivateStaticAccess(b,r),_classCheckPrivateStaticFieldDescriptor(m,"get"),_classApplyDescriptorGet(b,m)}function _classCheckPrivateStaticFieldDescriptor(b,r){if(b===void 0)throw new TypeError("attempted to "+r+" private static field before its declaration")}function _classCheckPrivateStaticAccess(b,r){if(b!==r)throw new TypeError("Private static access of wrong provenance")}function _classApplyDescriptorGet(b,r){return r.get?r.get.call(b):r.value}const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:b,NodeCMapReaderFactory:r,NodeStandardFontDataFactory:m}=__w_pdfjs_require__(146);exports.DefaultCanvasFactory=DefaultCanvasFactory=b,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=r,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=m}let createPDFNetworkStream;function setPDFNetworkStreamFactory(b){createPDFNetworkStream=b}function getDocument(b){const r=new PDFDocumentLoadingTask;let m;if(typeof b=="string"||b instanceof URL)m={url:b};else if((0,_util.isArrayBuffer)(b))m={data:b};else if(b instanceof PDFDataRangeTransport)m={range:b};else{if(typeof b!="object")throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!b.url&&!b.data&&!b.range)throw new Error("Invalid parameter object: need either .data, .range or .url");m=b}const w=Object.create(null);let U=null,k=null;for(const a in m){const g=m[a];switch(a){case"url":if(typeof window<"u")try{w[a]=new URL(g,window.location).href;continue}catch(n){(0,_util.warn)(`Cannot create valid URL: "${n}".`)}else if(typeof g=="string"||g instanceof URL){w[a]=g.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":U=g;continue;case"worker":k=g;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&g instanceof Buffer)w[a]=new Uint8Array(g);else{if(g instanceof Uint8Array)break;if(typeof g=="string")w[a]=(0,_util.stringToBytes)(g);else if(typeof g=="object"&&g!==null&&!isNaN(g.length))w[a]=new Uint8Array(g);else if((0,_util.isArrayBuffer)(g))w[a]=new Uint8Array(g);else throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}continue}w[a]=g}if(w.CMapReaderFactory=w.CMapReaderFactory||DefaultCMapReaderFactory,w.StandardFontDataFactory=w.StandardFontDataFactory||DefaultStandardFontDataFactory,w.ignoreErrors=w.stopAtErrors!==!0,w.fontExtraProperties=w.fontExtraProperties===!0,w.pdfBug=w.pdfBug===!0,w.enableXfa=w.enableXfa===!0,(!Number.isInteger(w.rangeChunkSize)||w.rangeChunkSize<1)&&(w.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),(typeof w.docBaseUrl!="string"||(0,_display_utils.isDataScheme)(w.docBaseUrl))&&(w.docBaseUrl=null),(!Number.isInteger(w.maxImageSize)||w.maxImageSize<-1)&&(w.maxImageSize=-1),typeof w.cMapUrl!="string"&&(w.cMapUrl=null),typeof w.standardFontDataUrl!="string"&&(w.standardFontDataUrl=null),typeof w.useWorkerFetch!="boolean"&&(w.useWorkerFetch=w.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&w.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),typeof w.isEvalSupported!="boolean"&&(w.isEvalSupported=!0),typeof w.disableFontFace!="boolean"&&(w.disableFontFace=_is_node.isNodeJS),typeof w.useSystemFonts!="boolean"&&(w.useSystemFonts=!_is_node.isNodeJS&&!w.disableFontFace),(typeof w.ownerDocument!="object"||w.ownerDocument===null)&&(w.ownerDocument=globalThis.document),typeof w.disableRange!="boolean"&&(w.disableRange=!1),typeof w.disableStream!="boolean"&&(w.disableStream=!1),typeof w.disableAutoFetch!="boolean"&&(w.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(w.verbosity),!k){const a={verbosity:w.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};k=a.port?PDFWorker.fromPort(a):new PDFWorker(a),r._worker=k}const x=r.docId;return k.promise.then(function(){if(r.destroyed)throw new Error("Loading aborted");const a=_fetchDocument(k,w,U,x),g=new Promise(function(n){let c;U?c=new _transport_stream.PDFDataTransportStream({length:w.length,initialData:w.initialData,progressiveDone:w.progressiveDone,contentDispositionFilename:w.contentDispositionFilename,disableRange:w.disableRange,disableStream:w.disableStream},U):w.data||(c=createPDFNetworkStream({url:w.url,length:w.length,httpHeaders:w.httpHeaders,withCredentials:w.withCredentials,rangeChunkSize:w.rangeChunkSize,disableRange:w.disableRange,disableStream:w.disableStream})),n(c)});return Promise.all([a,g]).then(function(n){let[c,R]=n;if(r.destroyed)throw new Error("Loading aborted");const v=new _message_handler.MessageHandler(x,c,k.port),e=new WorkerTransport(v,r,R,w);r._transport=e,v.send("Ready",null)})}).catch(r._capability.reject),r}async function _fetchDocument(b,r,m,w){if(b.destroyed)throw new Error("Worker was destroyed");m&&(r.length=m.length,r.initialData=m.initialData,r.progressiveDone=m.progressiveDone,r.contentDispositionFilename=m.contentDispositionFilename);const U=await b.messageHandler.sendWithPromise("GetDocRequest",{docId:w,apiVersion:"2.16.105",source:{data:r.data,url:r.url,password:r.password,disableAutoFetch:r.disableAutoFetch,rangeChunkSize:r.rangeChunkSize,length:r.length},maxImageSize:r.maxImageSize,disableFontFace:r.disableFontFace,docBaseUrl:r.docBaseUrl,ignoreErrors:r.ignoreErrors,isEvalSupported:r.isEvalSupported,fontExtraProperties:r.fontExtraProperties,enableXfa:r.enableXfa,useSystemFonts:r.useSystemFonts,cMapUrl:r.useWorkerFetch?r.cMapUrl:null,standardFontDataUrl:r.useWorkerFetch?r.standardFontDataUrl:null});if(r.data&&(r.data=null),b.destroyed)throw new Error("Worker was destroyed");return U}class PDFDocumentLoadingTask{constructor(){var r,m;this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId=`d${_classStaticPrivateFieldSpecSet(PDFDocumentLoadingTask,PDFDocumentLoadingTask,_docId,(r=_classStaticPrivateFieldSpecGet(PDFDocumentLoadingTask,PDFDocumentLoadingTask,_docId),m=r++,r)),m}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}async destroy(){var r;this.destroyed=!0,await((r=this._transport)===null||r===void 0?void 0:r.destroy()),this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;var _docId={writable:!0,value:0};class PDFDataRangeTransport{constructor(r,m){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;this.length=r,this.initialData=m,this.progressiveDone=w,this.contentDispositionFilename=U,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(r){this._rangeListeners.push(r)}addProgressListener(r){this._progressListeners.push(r)}addProgressiveReadListener(r){this._progressiveReadListeners.push(r)}addProgressiveDoneListener(r){this._progressiveDoneListeners.push(r)}onDataRange(r,m){for(const w of this._rangeListeners)w(r,m)}onDataProgress(r,m){this._readyCapability.promise.then(()=>{for(const w of this._progressListeners)w(r,m)})}onDataProgressiveRead(r){this._readyCapability.promise.then(()=>{for(const m of this._progressiveReadListeners)m(r)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const r of this._progressiveDoneListeners)r()})}transportReady(){this._readyCapability.resolve()}requestDataRange(r,m){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(r,m){this._pdfInfo=r,this._transport=m,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:async()=>((0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),this.stats||{streamTypes:{},fontTypes:{}})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(r){return this._transport.getPage(r)}getPageIndex(r){return this._transport.getPageIndex(r)}getDestinations(){return this._transport.getDestinations()}getDestination(r){return this._transport.getDestination(r)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this._transport.startCleanup(r||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(r,m,w,U){let k=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;this._pageIndex=r,this._pageInfo=m,this._ownerDocument=U,this._transport=w,this._stats=k?new _display_utils.StatTimer:null,this._pdfBug=k,this.commonObjs=w.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport(){let{scale:r,rotation:m=this.rotate,offsetX:w=0,offsetY:U=0,dontFlip:k=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new _display_utils.PageViewport({viewBox:this.view,scale:r,rotation:m,offsetX:w,offsetY:U,dontFlip:k})}getAnnotations(){let{intent:r="display"}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const m=this._transport.getRenderingIntent(r);let w=this._annotationPromises.get(m.cacheKey);return w||(w=this._transport.getAnnotations(this._pageIndex,m.renderingIntent),this._annotationPromises.set(m.cacheKey,w),w=w.then(U=>{for(const k of U)k.titleObj!==void 0&&Object.defineProperty(k,"title",{get(){return(0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),k.titleObj.str}}),k.contentsObj!==void 0&&Object.defineProperty(k,"contents",{get(){return(0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),k.contentsObj.str}});return U})),w}getJSActions(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}async getXfa(){var r;return((r=this._transport._htmlForXfa)===null||r===void 0?void 0:r.children[this._pageIndex])||null}render(r){var m,w,U;let{canvasContext:k,viewport:x,intent:a="display",annotationMode:g=_util.AnnotationMode.ENABLE,transform:n=null,imageLayer:c=null,canvasFactory:R=null,background:v=null,optionalContentConfigPromise:e=null,annotationCanvasMap:L=null,pageColors:O=null,printAnnotationStorage:B=null}=r;((m=arguments[0])===null||m===void 0?void 0:m.renderInteractiveForms)!==void 0&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),arguments[0].renderInteractiveForms===!0&&g===_util.AnnotationMode.ENABLE&&(g=_util.AnnotationMode.ENABLE_FORMS)),((w=arguments[0])===null||w===void 0?void 0:w.includeAnnotationStorage)!==void 0&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),arguments[0].includeAnnotationStorage===!0&&g===_util.AnnotationMode.ENABLE&&(g=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const P=this._transport.getRenderingIntent(a,g,B);this.pendingCleanup=!1,e||(e=this._transport.getOptionalContentConfig());let S=this._intentStates.get(P.cacheKey);S||(S=Object.create(null),this._intentStates.set(P.cacheKey,S)),S.streamReaderCancelTimeout&&(clearTimeout(S.streamReaderCancelTimeout),S.streamReaderCancelTimeout=null);const _=R||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),l=!!(P.renderingIntent&_util.RenderingIntentFlag.PRINT);S.displayReadyCapability||(S.displayReadyCapability=(0,_util.createPromiseCapability)(),S.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(P));const y=F=>{S.renderTasks.delete(D),(this.cleanupAfterRender||l)&&(this.pendingCleanup=!0),this._tryCleanup(),F?(D.capability.reject(F),this._abortOperatorList({intentState:S,reason:F instanceof Error?F:new Error(F)})):D.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},D=new InternalRenderTask({callback:y,params:{canvasContext:k,viewport:x,transform:n,imageLayer:c,background:v},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:L,operatorList:S.operatorList,pageIndex:this._pageIndex,canvasFactory:_,useRequestAnimationFrame:!l,pdfBug:this._pdfBug,pageColors:O});((U=S).renderTasks||(U.renderTasks=new Set)).add(D);const M=D.task;return Promise.all([S.displayReadyCapability.promise,e]).then(F=>{let[N,G]=F;if(this.pendingCleanup){y();return}this._stats&&this._stats.time("Rendering"),D.initializeGraphics({transparency:N,optionalContentConfig:G}),D.operatorListChanged()}).catch(y),M}getOperatorList(){let{intent:r="display",annotationMode:m=_util.AnnotationMode.ENABLE,printAnnotationStorage:w=null}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};function U(){x.operatorList.lastChunk&&(x.opListReadCapability.resolve(x.operatorList),x.renderTasks.delete(a))}const k=this._transport.getRenderingIntent(r,m,w,!0);let x=this._intentStates.get(k.cacheKey);x||(x=Object.create(null),this._intentStates.set(k.cacheKey,x));let a;if(!x.opListReadCapability){var g;a=Object.create(null),a.operatorListChanged=U,x.opListReadCapability=(0,_util.createPromiseCapability)(),((g=x).renderTasks||(g.renderTasks=new Set)).add(a),x.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(k)}return x.opListReadCapability.promise}streamTextContent(){let{disableCombineTextItems:r=!1,includeMarkedContent:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const w=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:r!==!0,includeMarkedContent:m===!0},{highWaterMark:w,size(U){return U.items.length}})}getTextContent(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then(w=>_xfa_text.XfaText.textContent(w));const m=this.streamTextContent(r);return new Promise(function(w,U){function k(){x.read().then(function(g){let{value:n,done:c}=g;if(c){w(a);return}Object.assign(a.styles,n.styles),a.items.push(...n.items),k()},U)}const x=m.getReader(),a={items:[],styles:Object.create(null)};k()})}getStructTree(){return this._structTreePromise||(this._structTreePromise=this._transport.getStructTree(this._pageIndex))}_destroy(){this.destroyed=!0;const r=[];for(const m of this._intentStates.values())if(this._abortOperatorList({intentState:m,reason:new Error("Page was destroyed."),force:!0}),!m.opListReadCapability)for(const w of m.renderTasks)r.push(w.completed),w.cancel();this.objs.clear();for(const m of this._bitmaps)m.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(r)}cleanup(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pendingCleanup=!0,this._tryCleanup(r)}_tryCleanup(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.pendingCleanup)return!1;for(const{renderTasks:m,operatorList:w}of this._intentStates.values())if(m.size>0||!w.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,r&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const m of this._bitmaps)m.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(r,m){const w=this._intentStates.get(m);w&&(this._stats&&this._stats.timeEnd("Page Request"),w.displayReadyCapability&&w.displayReadyCapability.resolve(r))}_renderPageChunk(r,m){for(let w=0,U=r.length;w{x.read().then(n=>{let{value:c,done:R}=n;if(R){a.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(c,a),g())},n=>{if(a.streamReader=null,!this._transport.destroyed){if(a.operatorList){a.operatorList.lastChunk=!0;for(const c of a.renderTasks)c.operatorListChanged();this._tryCleanup()}if(a.displayReadyCapability)a.displayReadyCapability.reject(n);else if(a.opListReadCapability)a.opListReadCapability.reject(n);else throw n}})};g()}_abortOperatorList(r){let{intentState:m,reason:w,force:U=!1}=r;if(m.streamReader){if(!U){if(m.renderTasks.size>0)return;if(w instanceof _display_utils.RenderingCancelledException){m.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:m,reason:w,force:!0}),m.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT);return}}if(m.streamReader.cancel(new _util.AbortException(w.message)).catch(()=>{}),m.streamReader=null,!this._transport.destroyed){for(const[k,x]of this._intentStates)if(x===m){this._intentStates.delete(k);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(r,m){const w={data:structuredClone(r,m)};this._deferred.then(()=>{for(const U of this._listeners)U.call(this,w)})}addEventListener(r,m){this._listeners.push(m)}removeEventListener(r,m){const w=this._listeners.indexOf(m);this._listeners.splice(w,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};exports.PDFWorkerUtil=PDFWorkerUtil;{if(_is_node.isNodeJS&&typeof commonjsRequire$1=="function")PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if(typeof document=="object"){var _document,_document$currentScri;const b=(_document=document)===null||_document===void 0||(_document$currentScri=_document.currentScript)===null||_document$currentScri===void 0?void 0:_document$currentScri.src;b&&(PDFWorkerUtil.fallbackWorkerSrc=b.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(b,r){let m;try{if(m=new URL(b),!m.origin||m.origin==="null")return!1}catch{return!1}const w=new URL(r,m);return m.origin===w.origin},PDFWorkerUtil.createCDNWrapper=function(b){const r=`importScripts("${b}");`;return URL.createObjectURL(new Blob([r]))}}class PDFWorker{constructor(){let{name:b=null,port:r=null,verbosity:m=(0,_util.getVerbosityLevel)()}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r&&_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).has(r))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=b,this.destroyed=!1,this.verbosity=m,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,r){_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).set(r,this),this._initializeFromPort(r);return}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(b){this._port=b,this._messageHandler=new _message_handler.MessageHandler("main","worker",b),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:b}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,b)||(b=PDFWorkerUtil.createCDNWrapper(new URL(b,window.location).href));const r=new Worker(b),m=new _message_handler.MessageHandler("main","worker",r),w=()=>{r.removeEventListener("error",U),m.destroy(),r.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},U=()=>{this._webWorker||w()};r.addEventListener("error",U),m.on("test",x=>{if(r.removeEventListener("error",U),this.destroyed){w();return}x?(this._messageHandler=m,this._port=r,this._webWorker=r,this._readyCapability.resolve(),m.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),m.destroy(),r.terminate())}),m.on("ready",x=>{if(r.removeEventListener("error",U),this.destroyed){w();return}try{k()}catch{this._setupFakeWorker()}});const k=()=>{const x=new Uint8Array;m.send("test",x,[x.buffer])};k();return}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(b=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}const r=new LoopbackPort;this._port=r;const m=`fake${PDFWorkerUtil.fakeWorkerId++}`,w=new _message_handler.MessageHandler(m+"_worker",m,r);b.setup(w,r);const U=new _message_handler.MessageHandler(m,m+"_worker",r);this._messageHandler=U,this._readyCapability.resolve(),U.send("configure",{verbosity:this.verbosity})}).catch(b=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${b.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(b){if(!(b!=null&&b.port))throw new Error("PDFWorker.fromPort - invalid method signature.");return _classStaticPrivateFieldSpecGet(this,PDFWorker,_workerPorts).has(b.port)?_classStaticPrivateFieldSpecGet(this,PDFWorker,_workerPorts).get(b.port):new PDFWorker(b)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(PDFWorkerUtil.fallbackWorkerSrc!==null)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{var b;return((b=globalThis.pdfjsWorker)===null||b===void 0?void 0:b.WorkerMessageHandler)||null}catch{return null}}static get _setupFakeWorkerGlobal(){const loader=async()=>{const mainWorkerMessageHandler=this._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS&&typeof commonjsRequire$1=="function"){const worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}return await(0,_display_utils.loadScript)(this.workerSrc),window.pdfjsWorker.WorkerMessageHandler};return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker;var _workerPorts={writable:!0,value:new WeakMap};PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};var _docStats=new WeakMap,_pageCache=new WeakMap,_pagePromises=new WeakMap,_metadataPromise=new WeakMap;class WorkerTransport{constructor(r,m,w,U){_classPrivateFieldInitSpec(this,_docStats,{writable:!0,value:null}),_classPrivateFieldInitSpec(this,_pageCache,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_pagePromises,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_metadataPromise,{writable:!0,value:null}),this.messageHandler=r,this.loadingTask=m,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:m.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:U.ownerDocument,styleElement:U.styleElement}),this._params=U,U.useWorkerFetch||(this.CMapReaderFactory=new U.CMapReaderFactory({baseUrl:U.cMapUrl,isCompressed:U.cMapPacked}),this.StandardFontDataFactory=new U.StandardFontDataFactory({baseUrl:U.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=w,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return _classPrivateFieldGet(this,_docStats)}getRenderingIntent(r){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_util.AnnotationMode.ENABLE,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,k=_util.RenderingIntentFlag.DISPLAY,x=null;switch(r){case"any":k=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":k=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${r}`)}switch(m){case _util.AnnotationMode.DISABLE:k+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:k+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:k+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,x=(k&_util.RenderingIntentFlag.PRINT&&w instanceof _annotation_storage.PrintAnnotationStorage?w:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${m}`)}return U&&(k+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:k,cacheKey:`${k}_${_annotation_storage.AnnotationStorage.getHash(x)}`,annotationStorageMap:x}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const r=[];for(const w of _classPrivateFieldGet(this,_pageCache).values())r.push(w._destroy());_classPrivateFieldGet(this,_pageCache).clear(),_classPrivateFieldGet(this,_pagePromises).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const m=this.messageHandler.sendWithPromise("Terminate",null);return r.push(m),Promise.all(r).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:r,loadingTask:m}=this;r.on("GetReader",(w,U)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=k=>{this._lastProgress={loaded:k.loaded,total:k.total}},U.onPull=()=>{this._fullReader.read().then(function(k){let{value:x,done:a}=k;if(a){U.close();return}(0,_util.assert)((0,_util.isArrayBuffer)(x),"GetReader - expected an ArrayBuffer."),U.enqueue(new Uint8Array(x),1,[x])}).catch(k=>{U.error(k)})},U.onCancel=k=>{this._fullReader.cancel(k),U.ready.catch(x=>{if(!this.destroyed)throw x})}}),r.on("ReaderHeadersReady",w=>{const U=(0,_util.createPromiseCapability)(),k=this._fullReader;return k.headersReady.then(()=>{if(!k.isStreamingSupported||!k.isRangeSupported){if(this._lastProgress){var x;(x=m.onProgress)===null||x===void 0||x.call(m,this._lastProgress)}k.onProgress=a=>{var g;(g=m.onProgress)===null||g===void 0||g.call(m,{loaded:a.loaded,total:a.total})}}U.resolve({isStreamingSupported:k.isStreamingSupported,isRangeSupported:k.isRangeSupported,contentLength:k.contentLength})},U.reject),U.promise}),r.on("GetRangeReader",(w,U)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const k=this._networkStream.getRangeReader(w.begin,w.end);if(!k){U.close();return}U.onPull=()=>{k.read().then(function(x){let{value:a,done:g}=x;if(g){U.close();return}(0,_util.assert)((0,_util.isArrayBuffer)(a),"GetRangeReader - expected an ArrayBuffer."),U.enqueue(new Uint8Array(a),1,[a])}).catch(x=>{U.error(x)})},U.onCancel=x=>{k.cancel(x),U.ready.catch(a=>{if(!this.destroyed)throw a})}}),r.on("GetDoc",w=>{let{pdfInfo:U}=w;this._numPages=U.numPages,this._htmlForXfa=U.htmlForXfa,delete U.htmlForXfa,m._capability.resolve(new PDFDocumentProxy(U,this))}),r.on("DocException",function(w){let U;switch(w.name){case"PasswordException":U=new _util.PasswordException(w.message,w.code);break;case"InvalidPDFException":U=new _util.InvalidPDFException(w.message);break;case"MissingPDFException":U=new _util.MissingPDFException(w.message);break;case"UnexpectedResponseException":U=new _util.UnexpectedResponseException(w.message,w.status);break;case"UnknownErrorException":U=new _util.UnknownErrorException(w.message,w.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}m._capability.reject(U)}),r.on("PasswordRequest",w=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),m.onPassword){const U=k=>{k instanceof Error?this._passwordCapability.reject(k):this._passwordCapability.resolve({password:k})};try{m.onPassword(U,w.code)}catch(k){this._passwordCapability.reject(k)}}else this._passwordCapability.reject(new _util.PasswordException(w.message,w.code));return this._passwordCapability.promise}),r.on("DataLoaded",w=>{var U;(U=m.onProgress)===null||U===void 0||U.call(m,{loaded:w.length,total:w.length}),this.downloadInfoCapability.resolve(w)}),r.on("StartRenderPage",w=>{if(this.destroyed)return;_classPrivateFieldGet(this,_pageCache).get(w.pageIndex)._startRenderPage(w.transparency,w.cacheKey)}),r.on("commonobj",w=>{var U;let[k,x,a]=w;if(!this.destroyed&&!this.commonObjs.has(k))switch(x){case"Font":const g=this._params;if("error"in a){const R=a.error;(0,_util.warn)(`Error during font loading: ${R}`),this.commonObjs.resolve(k,R);break}let n=null;g.pdfBug&&(U=globalThis.FontInspector)!==null&&U!==void 0&&U.enabled&&(n={registerFont(R,v){globalThis.FontInspector.fontAdded(R,v)}});const c=new _font_loader.FontFaceObject(a,{isEvalSupported:g.isEvalSupported,disableFontFace:g.disableFontFace,ignoreErrors:g.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:n});this.fontLoader.bind(c).catch(R=>r.sendWithPromise("FontFallback",{id:k})).finally(()=>{!g.fontExtraProperties&&c.data&&(c.data=null),this.commonObjs.resolve(k,c)});break;case"FontPath":case"Image":this.commonObjs.resolve(k,a);break;default:throw new Error(`Got unknown common object type ${x}`)}}),r.on("obj",w=>{let[U,k,x,a]=w;if(this.destroyed)return;const g=_classPrivateFieldGet(this,_pageCache).get(k);if(!g.objs.has(U))switch(x){case"Image":g.objs.resolve(U,a);const c=8e6;if(a){let R;if(a.bitmap){const{bitmap:v,width:e,height:L}=a;R=e*L*4,g._bitmaps.add(v)}else{var n;R=((n=a.data)===null||n===void 0?void 0:n.length)||0}R>c&&(g.cleanupAfterRender=!0)}break;case"Pattern":g.objs.resolve(U,a);break;default:throw new Error(`Got unknown object type ${x}`)}}),r.on("DocProgress",w=>{var U;this.destroyed||(U=m.onProgress)===null||U===void 0||U.call(m,{loaded:w.loaded,total:w.total})}),r.on("DocStats",w=>{this.destroyed||_classPrivateFieldSet(this,_docStats,Object.freeze({streamTypes:Object.freeze(w.streamTypes),fontTypes:Object.freeze(w.fontTypes)}))}),r.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),r.on("FetchBuiltInCMap",w=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(w):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),r.on("FetchStandardFontData",w=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(w):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature(r){var m,w;let{featureId:U}=r;this.destroyed||(m=(w=this.loadingTask).onUnsupportedFeature)===null||m===void 0||m.call(w,U)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(r){if(!Number.isInteger(r)||r<=0||r>this._numPages)return Promise.reject(new Error("Invalid page request."));const m=r-1,w=_classPrivateFieldGet(this,_pagePromises).get(m);if(w)return w;const U=this.messageHandler.sendWithPromise("GetPage",{pageIndex:m}).then(k=>{if(this.destroyed)throw new Error("Transport destroyed");const x=new PDFPageProxy(m,k,this,this._params.ownerDocument,this._params.pdfBug);return _classPrivateFieldGet(this,_pageCache).set(m,x),x});return _classPrivateFieldGet(this,_pagePromises).set(m,U),U}getPageIndex(r){return typeof r!="object"||r===null||!Number.isInteger(r.num)||r.num<0||!Number.isInteger(r.gen)||r.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:r.num,gen:r.gen})}getAnnotations(r,m){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:r,intent:m})}saveDocument(){var r,m;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:(r=(m=this._fullReader)===null||m===void 0?void 0:m.filename)!==null&&r!==void 0?r:null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||(this._getFieldObjectsPromise=this.messageHandler.sendWithPromise("GetFieldObjects",null))}hasJSActions(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(r){return typeof r!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:r})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(r){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:r})}getStructTree(r){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:r})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(r=>new _optional_content_config.OptionalContentConfig(r))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return _classPrivateFieldGet(this,_metadataPromise)||_classPrivateFieldSet(this,_metadataPromise,this.messageHandler.sendWithPromise("GetMetadata",null).then(r=>{var m,w,U,k;return{info:r[0],metadata:r[1]?new _metadata.Metadata(r[1]):null,contentDispositionFilename:(m=(w=this._fullReader)===null||w===void 0?void 0:w.filename)!==null&&m!==void 0?m:null,contentLength:(U=(k=this._fullReader)===null||k===void 0?void 0:k.contentLength)!==null&&U!==void 0?U:null}}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(await this.messageHandler.sendWithPromise("Cleanup",null),!this.destroyed){for(const m of _classPrivateFieldGet(this,_pageCache).values())if(!m.cleanup())throw new Error(`startCleanup: Page ${m.pageNumber} is currently rendering.`);this.commonObjs.clear(),r||this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null}}get loadingParams(){const r=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:r.disableAutoFetch,enableXfa:r.enableXfa})}}var _objs=new WeakMap,_ensureObj=new WeakSet;class PDFObjects{constructor(){_classPrivateMethodInitSpec(this,_ensureObj),_classPrivateFieldInitSpec(this,_objs,{writable:!0,value:Object.create(null)})}get(r){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(m){const U=_classPrivateMethodGet(this,_ensureObj,_ensureObj2).call(this,r);return U.capability.promise.then(()=>m(U.data)),null}const w=_classPrivateFieldGet(this,_objs)[r];if(!(w!=null&&w.capability.settled))throw new Error(`Requesting object that isn't resolved yet ${r}.`);return w.data}has(r){const m=_classPrivateFieldGet(this,_objs)[r];return(m==null?void 0:m.capability.settled)||!1}resolve(r){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const w=_classPrivateMethodGet(this,_ensureObj,_ensureObj2).call(this,r);w.data=m,w.capability.resolve()}clear(){_classPrivateFieldSet(this,_objs,Object.create(null))}}function _ensureObj2(b){const r=_classPrivateFieldGet(this,_objs)[b];return r||(_classPrivateFieldGet(this,_objs)[b]={capability:(0,_util.createPromiseCapability)(),data:null})}var _internalRenderTask=new WeakMap;class RenderTask{constructor(r){_classPrivateFieldInitSpec(this,_internalRenderTask,{writable:!0,value:null}),_classPrivateFieldSet(this,_internalRenderTask,r),this.onContinue=null}get promise(){return _classPrivateFieldGet(this,_internalRenderTask).capability.promise}cancel(){_classPrivateFieldGet(this,_internalRenderTask).cancel()}get separateAnnots(){const{separateAnnots:r}=_classPrivateFieldGet(this,_internalRenderTask).operatorList;if(!r)return!1;const{annotationCanvasMap:m}=_classPrivateFieldGet(this,_internalRenderTask);return r.form||r.canvas&&(m==null?void 0:m.size)>0}}exports.RenderTask=RenderTask;class InternalRenderTask{constructor(r){let{callback:m,params:w,objs:U,commonObjs:k,annotationCanvasMap:x,operatorList:a,pageIndex:g,canvasFactory:n,useRequestAnimationFrame:c=!1,pdfBug:R=!1,pageColors:v=null}=r;this.callback=m,this.params=w,this.objs=U,this.commonObjs=k,this.annotationCanvasMap=x,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=g,this.canvasFactory=n,this._pdfBug=R,this.pageColors=v,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=c===!0&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=w.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics(r){var m;let{transparency:w=!1,optionalContentConfig:U}=r;if(this.cancelled)return;if(this._canvas){if(_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).add(this._canvas)}this._pdfBug&&(m=globalThis.StepperManager)!==null&&m!==void 0&&m.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:k,viewport:x,transform:a,imageLayer:g,background:n}=this.params;this.gfx=new _canvas.CanvasGraphics(k,this.commonObjs,this.objs,this.canvasFactory,g,U,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:a,viewport:x,transparency:w,background:n}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).delete(this._canvas),this.callback(r||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).delete(this._canvas),this.callback())))}}var _canvasInUse={writable:!0,value:new WeakSet};const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.PrintAnnotationStorage=r.AnnotationStorage=void 0;var w=m(1),U=m(131),k=m(135);function x(l,y,D){e(l,y),y.set(l,D)}function a(l,y){var D=c(l,y,"get");return g(l,D)}function g(l,y){return y.get?y.get.call(l):y.value}function n(l,y,D){var M=c(l,y,"set");return R(l,M,D),D}function c(l,y,D){if(!y.has(l))throw new TypeError("attempted to "+D+" private field on non-instance");return y.get(l)}function R(l,y,D){if(y.set)y.set.call(l,D);else{if(!y.writable)throw new TypeError("attempted to set read only private field");y.value=D}}function v(l,y){e(l,y),y.add(l)}function e(l,y){if(y.has(l))throw new TypeError("Cannot initialize the same private elements twice on an object")}function L(l,y,D){if(!y.has(l))throw new TypeError("attempted to get private field on non-instance");return D}var O=new WeakSet;class B{constructor(){v(this,O),this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(y,D){const M=this._storage.get(y);return M===void 0?D:Object.assign(D,M)}getRawValue(y){return this._storage.get(y)}remove(y){if(this._storage.delete(y),this._storage.size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(const D of this._storage.values())if(D instanceof U.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(y,D){const M=this._storage.get(y);let F=!1;if(M!==void 0)for(const[N,G]of Object.entries(D))M[N]!==G&&(F=!0,M[N]=G);else F=!0,this._storage.set(y,D);F&&L(this,O,P).call(this),D instanceof U.AnnotationEditor&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(D.constructor._type)}has(y){return this._storage.has(y)}getAll(){return this._storage.size>0?(0,w.objectFromMap)(this._storage):null}get size(){return this._storage.size}resetModified(){this._modified&&(this._modified=!1,typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new _(this)}get serializable(){if(this._storage.size===0)return null;const y=new Map;for(const[D,M]of this._storage){const F=M instanceof U.AnnotationEditor?M.serialize():M;F&&y.set(D,F)}return y}static getHash(y){if(!y)return"";const D=new k.MurmurHash3_64;for(const[M,F]of y)D.update(`${M}:${JSON.stringify(F)}`);return D.hexdigest()}}r.AnnotationStorage=B;function P(){this._modified||(this._modified=!0,typeof this.onSetModified=="function"&&this.onSetModified())}var S=new WeakMap;class _ extends B{constructor(y){super(),x(this,S,{writable:!0,value:null}),n(this,S,structuredClone(y.serializable))}get print(){(0,w.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return a(this,S)}}r.PrintAnnotationStorage=_},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.AnnotationEditor=void 0;var w=m(132),U=m(1);function k(l,y,D){return y in l?Object.defineProperty(l,y,{value:D,enumerable:!0,configurable:!0,writable:!0}):l[y]=D,l}function x(l,y,D){a(l,y),y.set(l,D)}function a(l,y){if(y.has(l))throw new TypeError("Cannot initialize the same private elements twice on an object")}function g(l,y,D){var M=R(l,y,"set");return n(l,M,D),D}function n(l,y,D){if(y.set)y.set.call(l,D);else{if(!y.writable)throw new TypeError("attempted to set read only private field");y.value=D}}function c(l,y){var D=R(l,y,"get");return v(l,D)}function R(l,y,D){if(!y.has(l))throw new TypeError("attempted to "+D+" private field on non-instance");return y.get(l)}function v(l,y){return y.get?y.get.call(l):y.value}var e=new WeakMap,L=new WeakMap,O=new WeakMap,B=new WeakMap,P=new WeakMap,S=new WeakMap;class _{constructor(y){x(this,e,{writable:!0,value:this.focusin.bind(this)}),x(this,L,{writable:!0,value:this.focusout.bind(this)}),x(this,O,{writable:!0,value:!1}),x(this,B,{writable:!0,value:!1}),x(this,P,{writable:!0,value:!1}),x(this,S,{writable:!0,value:_._zIndex++}),this.constructor===_&&(0,U.unreachable)("Cannot initialize AnnotationEditor."),this.parent=y.parent,this.id=y.id,this.width=this.height=null,this.pageIndex=y.parent.pageIndex,this.name=y.name,this.div=null;const[D,M]=this.parent.viewportBaseDimensions;this.x=y.x/D,this.y=y.y/M,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,U.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=c(this,S)}focusin(y){c(this,O)?g(this,O,!1):this.parent.setSelected(this)}focusout(y){if(!this.isAttachedToDOM)return;const D=y.relatedTarget;D!=null&&D.closest(`#${this.id}`)||(y.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(y){const D=this.parent.div.getBoundingClientRect();this.startX=y.clientX-D.x,this.startY=y.clientY-D.y,y.dataTransfer.setData("text/plain",this.id),y.dataTransfer.effectAllowed="move"}setAt(y,D,M,F){const[N,G]=this.parent.viewportBaseDimensions;[M,F]=this.screenToPageTranslation(M,F),this.x=(y+M)/N,this.y=(D+F)/G,this.div.style.left=`${100*this.x}%`,this.div.style.top=`${100*this.y}%`}translate(y,D){const[M,F]=this.parent.viewportBaseDimensions;[y,D]=this.screenToPageTranslation(y,D),this.x+=y/M,this.y+=D/F,this.div.style.left=`${100*this.x}%`,this.div.style.top=`${100*this.y}%`}screenToPageTranslation(y,D){const{rotation:M}=this.parent.viewport;switch(M){case 90:return[D,-y];case 180:return[-y,-D];case 270:return[-D,y];default:return[y,D]}}setDims(y,D){const[M,F]=this.parent.viewportBaseDimensions;this.div.style.width=`${100*y/M}%`,this.div.style.height=`${100*D/F}%`}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",c(this,e)),this.div.addEventListener("focusout",c(this,L));const[y,D]=this.getInitialTranslation();return this.translate(y,D),(0,w.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(y){const D=w.KeyboardManager.platform.isMac;if(y.button!==0||y.ctrlKey&&D){y.preventDefault();return}y.ctrlKey&&!D||y.shiftKey||y.metaKey&&D?this.parent.toggleSelected(this):this.parent.setSelected(this),g(this,O,!0)}getRect(y,D){const[M,F]=this.parent.viewportBaseDimensions,[N,G]=this.parent.pageDimensions,W=N*y/M,J=G*D/F,Y=this.x*N,V=this.y*G,H=this.width*N,z=this.height*G;switch(this.rotation){case 0:return[Y+W,G-V-J-z,Y+W+H,G-V-J];case 90:return[Y+J,G-V+W,Y+J+z,G-V+W+H];case 180:return[Y-W-H,G-V+J,Y-W,G-V+J+z];case 270:return[Y-J-z,G-V-W-H,Y-J,G-V-W];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(y,D){const[M,F,N,G]=y,W=N-M,J=G-F;switch(this.rotation){case 0:return[M,D-G,W,J];case 90:return[M,D-F,J,W];case 180:return[N,D-F,W,J];case 270:return[N,D-G,J,W];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){g(this,P,!0)}disableEditMode(){g(this,P,!1)}isInEditMode(){return c(this,P)}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){var y;(y=this.div)===null||y===void 0||y.addEventListener("focusin",c(this,e))}serialize(){(0,U.unreachable)("An editor must be serializable")}static deserialize(y,D){const M=new this.prototype.constructor({parent:D,id:D.getNextId()});M.rotation=y.rotation;const[F,N]=D.pageDimensions,[G,W,J,Y]=M.getRectInCurrentCoords(y.rect,N);return M.x=G/F,M.y=W/N,M.width=J/F,M.height=Y/N,M}remove(){this.div.removeEventListener("focusin",c(this,e)),this.div.removeEventListener("focusout",c(this,L)),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){var y;(y=this.div)===null||y===void 0||y.classList.add("selectedEditor")}unselect(){var y;(y=this.div)===null||y===void 0||y.classList.remove("selectedEditor")}updateParams(y,D){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return c(this,B)}set isEditing(y){g(this,B,y),y?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}r.AnnotationEditor=_,k(_,"_colorManager",new w.ColorManager),k(_,"_zIndex",1)},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.KeyboardManager=r.CommandManager=r.ColorManager=r.AnnotationEditorUIManager=void 0,r.bindEvents=O,r.opacityToHex=B;var w=m(1),U=m(133);function k(Ve,$e,Ue){return $e in Ve?Object.defineProperty(Ve,$e,{value:Ue,enumerable:!0,configurable:!0,writable:!0}):Ve[$e]=Ue,Ve}function x(Ve,$e){n(Ve,$e),$e.add(Ve)}function a(Ve,$e,Ue){if(!$e.has(Ve))throw new TypeError("attempted to get private field on non-instance");return Ue}function g(Ve,$e,Ue){n(Ve,$e),$e.set(Ve,Ue)}function n(Ve,$e){if($e.has(Ve))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(Ve,$e,Ue){var He=e(Ve,$e,"set");return R(Ve,He,Ue),Ue}function R(Ve,$e,Ue){if($e.set)$e.set.call(Ve,Ue);else{if(!$e.writable)throw new TypeError("attempted to set read only private field");$e.value=Ue}}function v(Ve,$e){var Ue=e(Ve,$e,"get");return L(Ve,Ue)}function e(Ve,$e,Ue){if(!$e.has(Ve))throw new TypeError("attempted to "+Ue+" private field on non-instance");return $e.get(Ve)}function L(Ve,$e){return $e.get?$e.get.call(Ve):$e.value}function O(Ve,$e,Ue){for(const He of Ue)$e.addEventListener(He,Ve[He].bind(Ve))}function B(Ve){return Math.round(Math.min(255,Math.max(1,255*Ve))).toString(16).padStart(2,"0")}var P=new WeakMap;class S{constructor(){g(this,P,{writable:!0,value:0})}getId(){var $e,Ue;return`${w.AnnotationEditorPrefix}${c(this,P,($e=v(this,P),Ue=$e++,$e)),Ue}`}}var _=new WeakMap,l=new WeakMap,y=new WeakMap,D=new WeakMap;class M{constructor(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:128;g(this,_,{writable:!0,value:[]}),g(this,l,{writable:!0,value:!1}),g(this,y,{writable:!0,value:void 0}),g(this,D,{writable:!0,value:-1}),c(this,y,$e)}add($e){let{cmd:Ue,undo:He,mustExec:Qe,type:Ze=NaN,overwriteIfSameType:et=!1,keepUndo:tt=!1}=$e;if(Qe&&Ue(),v(this,l))return;const je={cmd:Ue,undo:He,type:Ze};if(v(this,D)===-1){v(this,_).length>0&&(v(this,_).length=0),c(this,D,0),v(this,_).push(je);return}if(et&&v(this,_)[v(this,D)].type===Ze){tt&&(je.undo=v(this,_)[v(this,D)].undo),v(this,_)[v(this,D)]=je;return}const Je=v(this,D)+1;Je===v(this,y)?v(this,_).splice(0,1):(c(this,D,Je),JeUe.serialize())):c(this,W,[$e.serialize()]),c(this,W,v(this,W).filter(Ue=>!!Ue)),v(this,W).length===0&&c(this,W,null))}paste(){return v(this,W)}isEmpty(){return v(this,W)===null}destroy(){c(this,W,null)}}class Y{get _colors(){const $e=new Map([["CanvasText",null],["Canvas",null]]);return(0,U.getColorValues)($e),(0,w.shadow)(this,"_colors",$e)}convert($e){const Ue=(0,U.getRGB)($e);if(!window.matchMedia("(forced-colors: active)").matches)return Ue;for(const[He,Qe]of this._colors)if(Qe.every((Ze,et)=>Ze===Ue[et]))return Y._colorsMapping.get(He);return Ue}getHexCode($e){const Ue=this._colors.get($e);return Ue?w.Util.makeHexColor(...Ue):$e}}r.ColorManager=Y,k(Y,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));var V=new WeakMap,H=new WeakMap,z=new WeakMap,X=new WeakMap,q=new WeakMap,$=new WeakMap,fe=new WeakMap,Q=new WeakMap,ie=new WeakMap,Te=new WeakMap,me=new WeakMap,K=new WeakMap,ce=new WeakMap,de=new WeakMap,Z=new WeakMap,ae=new WeakMap,he=new WeakMap,we=new WeakSet,_e=new WeakSet,ye=new WeakSet,se=new WeakSet,Ie=new WeakSet,Ce=new WeakSet,oe=new WeakSet,pe=new WeakSet,xe=new WeakSet;class Ne{constructor($e,Ue){x(this,xe),x(this,pe),x(this,oe),x(this,Ce),x(this,Ie),x(this,se),x(this,ye),x(this,_e),x(this,we),g(this,V,{writable:!0,value:null}),g(this,H,{writable:!0,value:new Map}),g(this,z,{writable:!0,value:new Map}),g(this,X,{writable:!0,value:new J}),g(this,q,{writable:!0,value:new M}),g(this,$,{writable:!0,value:0}),g(this,fe,{writable:!0,value:null}),g(this,Q,{writable:!0,value:null}),g(this,ie,{writable:!0,value:new S}),g(this,Te,{writable:!0,value:!1}),g(this,me,{writable:!0,value:w.AnnotationEditorType.NONE}),g(this,K,{writable:!0,value:new Set}),g(this,ce,{writable:!0,value:this.keydown.bind(this)}),g(this,de,{writable:!0,value:this.onEditingAction.bind(this)}),g(this,Z,{writable:!0,value:this.onPageChanging.bind(this)}),g(this,ae,{writable:!0,value:{isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1}}),g(this,he,{writable:!0,value:null}),c(this,he,$e),c(this,Q,Ue),v(this,Q)._on("editingaction",v(this,de)),v(this,Q)._on("pagechanging",v(this,Z))}destroy(){a(this,_e,De).call(this),v(this,Q)._off("editingaction",v(this,de)),v(this,Q)._off("pagechanging",v(this,Z));for(const $e of v(this,z).values())$e.destroy();v(this,z).clear(),v(this,H).clear(),c(this,V,null),v(this,K).clear(),v(this,X).destroy(),v(this,q).destroy()}onPageChanging($e){let{pageNumber:Ue}=$e;c(this,$,Ue-1)}focusMainContainer(){v(this,he).focus()}keydown($e){var Ue;(Ue=this.getActive())!==null&&Ue!==void 0&&Ue.shouldGetKeyboardEvents()||Ne._keyboardManager.exec(this,$e)}onEditingAction($e){["undo","redo","cut","copy","paste","delete","selectAll"].includes($e.name)&&this[$e.name]()}setEditingState($e){$e?(a(this,we,ke).call(this),a(this,ye,Fe).call(this,{isEditing:v(this,me)!==w.AnnotationEditorType.NONE,isEmpty:a(this,pe,Ee).call(this),hasSomethingToUndo:v(this,q).hasSomethingToUndo(),hasSomethingToRedo:v(this,q).hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:v(this,X).isEmpty()})):(a(this,_e,De).call(this),a(this,ye,Fe).call(this,{isEditing:!1}))}registerEditorTypes($e){c(this,fe,$e);for(const Ue of v(this,fe))a(this,se,Pe).call(this,Ue.defaultPropertiesToUpdate)}getId(){return v(this,ie).getId()}addLayer($e){v(this,z).set($e.pageIndex,$e),v(this,Te)?$e.enable():$e.disable()}removeLayer($e){v(this,z).delete($e.pageIndex)}updateMode($e){if(c(this,me,$e),$e===w.AnnotationEditorType.NONE)this.setEditingState(!1),a(this,Ce,Le).call(this);else{this.setEditingState(!0),a(this,Ie,qe).call(this);for(const Ue of v(this,z).values())Ue.updateMode($e)}}updateToolbar($e){$e!==v(this,me)&&v(this,Q).dispatch("switchannotationeditormode",{source:this,mode:$e})}updateParams($e,Ue){for(const He of v(this,K))He.updateParams($e,Ue);for(const He of v(this,fe))He.updateDefaultParams($e,Ue)}getEditors($e){const Ue=[];for(const He of v(this,H).values())He.pageIndex===$e&&Ue.push(He);return Ue}getEditor($e){return v(this,H).get($e)}addEditor($e){v(this,H).set($e.id,$e)}removeEditor($e){v(this,H).delete($e.id),this.unselect($e)}setActiveEditor($e){v(this,V)!==$e&&(c(this,V,$e),$e&&a(this,se,Pe).call(this,$e.propertiesToUpdate))}toggleSelected($e){if(v(this,K).has($e)){v(this,K).delete($e),$e.unselect(),a(this,ye,Fe).call(this,{hasSelectedEditor:this.hasSelection});return}v(this,K).add($e),$e.select(),a(this,se,Pe).call(this,$e.propertiesToUpdate),a(this,ye,Fe).call(this,{hasSelectedEditor:!0})}setSelected($e){for(const Ue of v(this,K))Ue!==$e&&Ue.unselect();v(this,K).clear(),v(this,K).add($e),$e.select(),a(this,se,Pe).call(this,$e.propertiesToUpdate),a(this,ye,Fe).call(this,{hasSelectedEditor:!0})}isSelected($e){return v(this,K).has($e)}unselect($e){$e.unselect(),v(this,K).delete($e),a(this,ye,Fe).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return v(this,K).size!==0}undo(){v(this,q).undo(),a(this,ye,Fe).call(this,{hasSomethingToUndo:v(this,q).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:a(this,pe,Ee).call(this)})}redo(){v(this,q).redo(),a(this,ye,Fe).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:v(this,q).hasSomethingToRedo(),isEmpty:a(this,pe,Ee).call(this)})}addCommands($e){v(this,q).add($e),a(this,ye,Fe).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:a(this,pe,Ee).call(this)})}delete(){if(v(this,V)&&v(this,V).commitOrRemove(),!this.hasSelection)return;const $e=[...v(this,K)],Ue=()=>{for(const Qe of $e)Qe.remove()},He=()=>{for(const Qe of $e)a(this,oe,Oe).call(this,Qe)};this.addCommands({cmd:Ue,undo:He,mustExec:!0})}copy(){if(v(this,V)&&v(this,V).commitOrRemove(),this.hasSelection){const $e=[];for(const Ue of v(this,K))Ue.isEmpty()||$e.push(Ue);if($e.length===0)return;v(this,X).copy($e),a(this,ye,Fe).call(this,{hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(v(this,X).isEmpty())return;this.unselectAll();const $e=v(this,z).get(v(this,$)),Ue=v(this,X).paste().map(Ze=>$e.deserialize(Ze)),He=()=>{for(const Ze of Ue)a(this,oe,Oe).call(this,Ze);a(this,xe,Ae).call(this,Ue)},Qe=()=>{for(const Ze of Ue)Ze.remove()};this.addCommands({cmd:He,undo:Qe,mustExec:!0})}selectAll(){for(const $e of v(this,K))$e.commit();a(this,xe,Ae).call(this,v(this,H).values())}unselectAll(){if(v(this,V)){v(this,V).commitOrRemove();return}if(a(this,xe,Ae).size!==0){for(const $e of v(this,K))$e.unselect();v(this,K).clear(),a(this,ye,Fe).call(this,{hasSelectedEditor:!1})}}isActive($e){return v(this,V)===$e}getActive(){return v(this,V)}getMode(){return v(this,me)}}r.AnnotationEditorUIManager=Ne;function ke(){v(this,he).addEventListener("keydown",v(this,ce))}function De(){v(this,he).removeEventListener("keydown",v(this,ce))}function Fe(Ve){Object.entries(Ve).some(Ue=>{let[He,Qe]=Ue;return v(this,ae)[He]!==Qe})&&v(this,Q).dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(v(this,ae),Ve)})}function Pe(Ve){v(this,Q).dispatch("annotationeditorparamschanged",{source:this,details:Ve})}function qe(){if(!v(this,Te)){c(this,Te,!0);for(const Ve of v(this,z).values())Ve.enable()}}function Le(){if(this.unselectAll(),v(this,Te)){c(this,Te,!1);for(const Ve of v(this,z).values())Ve.disable()}}function Oe(Ve){const $e=v(this,z).get(Ve.pageIndex);$e?$e.addOrRebuild(Ve):this.addEditor(Ve)}function Ee(){if(v(this,H).size===0)return!0;if(v(this,H).size===1)for(const Ve of v(this,H).values())return Ve.isEmpty();return!1}function Ae(Ve){v(this,K).clear();for(const $e of Ve)$e.isEmpty()||(v(this,K).add($e),$e.select());a(this,ye,Fe).call(this,{hasSelectedEditor:!0})}k(Ne,"_keyboardManager",new N([[["ctrl+a","mac+meta+a"],Ne.prototype.selectAll],[["ctrl+c","mac+meta+c"],Ne.prototype.copy],[["ctrl+v","mac+meta+v"],Ne.prototype.paste],[["ctrl+x","mac+meta+x"],Ne.prototype.cut],[["ctrl+z","mac+meta+z"],Ne.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],Ne.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],Ne.prototype.delete],[["Escape","mac+Escape"],Ne.prototype.unselectAll]]))},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.StatTimer=r.RenderingCancelledException=r.PixelsPerInch=r.PageViewport=r.PDFDateString=r.DOMStandardFontDataFactory=r.DOMSVGFactory=r.DOMCanvasFactory=r.DOMCMapReaderFactory=r.AnnotationPrefix=void 0,r.deprecated=M,r.getColorValues=J,r.getCurrentTransform=Y,r.getCurrentTransformInverse=V,r.getFilenameFromUrl=S,r.getPdfFilenameFromUrl=_,r.getRGB=W,r.getXfaPageViewport=G,r.isDataScheme=B,r.isPdfFile=P,r.isValidFetchUrl=y,r.loadScript=D;var w=m(134),U=m(1);function k(H,z,X){return z in H?Object.defineProperty(H,z,{value:X,enumerable:!0,configurable:!0,writable:!0}):H[z]=X,H}const x="http://www.w3.org/2000/svg",a="pdfjs_internal_id_";r.AnnotationPrefix=a;class g{}r.PixelsPerInch=g,k(g,"CSS",96),k(g,"PDF",72),k(g,"PDF_TO_CSS_UNITS",g.CSS/g.PDF);class n extends w.BaseCanvasFactory{constructor(){let{ownerDocument:z=globalThis.document}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),this._document=z}_createCanvas(z,X){const q=this._document.createElement("canvas");return q.width=z,q.height=X,q}}r.DOMCanvasFactory=n;async function c(H){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(y(H,document.baseURI)){const X=await fetch(H);if(!X.ok)throw new Error(X.statusText);return z?new Uint8Array(await X.arrayBuffer()):(0,U.stringToBytes)(await X.text())}return new Promise((X,q)=>{const $=new XMLHttpRequest;$.open("GET",H,!0),z&&($.responseType="arraybuffer"),$.onreadystatechange=()=>{if($.readyState===XMLHttpRequest.DONE){if($.status===200||$.status===0){let fe;if(z&&$.response?fe=new Uint8Array($.response):!z&&$.responseText&&(fe=(0,U.stringToBytes)($.responseText)),fe){X(fe);return}}q(new Error($.statusText))}},$.send(null)})}class R extends w.BaseCMapReaderFactory{_fetchData(z,X){return c(z,this.isCompressed).then(q=>({cMapData:q,compressionType:X}))}}r.DOMCMapReaderFactory=R;class v extends w.BaseStandardFontDataFactory{_fetchData(z){return c(z,!0)}}r.DOMStandardFontDataFactory=v;class e extends w.BaseSVGFactory{_createSVG(z){return document.createElementNS(x,z)}}r.DOMSVGFactory=e;class L{constructor(z){let{viewBox:X,scale:q,rotation:$,offsetX:fe=0,offsetY:Q=0,dontFlip:ie=!1}=z;this.viewBox=X,this.scale=q,this.rotation=$,this.offsetX=fe,this.offsetY=Q;const Te=(X[2]+X[0])/2,me=(X[3]+X[1])/2;let K,ce,de,Z;switch($%=360,$<0&&($+=360),$){case 180:K=-1,ce=0,de=0,Z=1;break;case 90:K=0,ce=1,de=1,Z=0;break;case 270:K=0,ce=-1,de=-1,Z=0;break;case 0:K=1,ce=0,de=0,Z=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}ie&&(de=-de,Z=-Z);let ae,he,we,_e;K===0?(ae=Math.abs(me-X[1])*q+fe,he=Math.abs(Te-X[0])*q+Q,we=Math.abs(X[3]-X[1])*q,_e=Math.abs(X[2]-X[0])*q):(ae=Math.abs(Te-X[0])*q+fe,he=Math.abs(me-X[1])*q+Q,we=Math.abs(X[2]-X[0])*q,_e=Math.abs(X[3]-X[1])*q),this.transform=[K*q,ce*q,de*q,Z*q,ae-K*q*Te-de*q*me,he-ce*q*Te-Z*q*me],this.width=we,this.height=_e}clone(){let{scale:z=this.scale,rotation:X=this.rotation,offsetX:q=this.offsetX,offsetY:$=this.offsetY,dontFlip:fe=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new L({viewBox:this.viewBox.slice(),scale:z,rotation:X,offsetX:q,offsetY:$,dontFlip:fe})}convertToViewportPoint(z,X){return U.Util.applyTransform([z,X],this.transform)}convertToViewportRectangle(z){const X=U.Util.applyTransform([z[0],z[1]],this.transform),q=U.Util.applyTransform([z[2],z[3]],this.transform);return[X[0],X[1],q[0],q[1]]}convertToPdfPoint(z,X){return U.Util.applyInverseTransform([z,X],this.transform)}}r.PageViewport=L;class O extends U.BaseException{constructor(z,X){super(z,"RenderingCancelledException"),this.type=X}}r.RenderingCancelledException=O;function B(H){const z=H.length;let X=0;for(;X0?z:H.length,X>0?X:H.length);return H.substring(H.lastIndexOf("/",q)+1,q)}function _(H){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"document.pdf";if(typeof H!="string")return z;if(B(H))return(0,U.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),z;const X=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,q=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,$=X.exec(H);let fe=q.exec($[1])||q.exec($[2])||q.exec($[3]);if(fe&&(fe=fe[0],fe.includes("%")))try{fe=q.exec(decodeURIComponent(fe))[0]}catch{}return fe||z}class l{constructor(){this.started=Object.create(null),this.times=[]}time(z){z in this.started&&(0,U.warn)(`Timer is already running for ${z}`),this.started[z]=Date.now()}timeEnd(z){z in this.started||(0,U.warn)(`Timer has not been started for ${z}`),this.times.push({name:z,start:this.started[z],end:Date.now()}),delete this.started[z]}toString(){const z=[];let X=0;for(const q of this.times){const $=q.name;$.length>X&&(X=$.length)}for(const q of this.times){const $=q.end-q.start;z.push(`${q.name.padEnd(X)} ${$}ms +`)}return z.join("")}}r.StatTimer=l;function y(H,z){try{const{protocol:X}=z?new URL(H,z):new URL(H);return X==="http:"||X==="https:"}catch{return!1}}function D(H){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return new Promise((X,q)=>{const $=document.createElement("script");$.src=H,$.onload=function(fe){z&&$.remove(),X(fe)},$.onerror=function(){q(new Error(`Cannot load script at: ${$.src}`))},(document.head||document.documentElement).append($)})}function M(H){console.log("Deprecated API usage: "+H)}let F;class N{static toDateObject(z){if(!z||typeof z!="string")return null;F||(F=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const X=F.exec(z);if(!X)return null;const q=parseInt(X[1],10);let $=parseInt(X[2],10);$=$>=1&&$<=12?$-1:0;let fe=parseInt(X[3],10);fe=fe>=1&&fe<=31?fe:1;let Q=parseInt(X[4],10);Q=Q>=0&&Q<=23?Q:0;let ie=parseInt(X[5],10);ie=ie>=0&&ie<=59?ie:0;let Te=parseInt(X[6],10);Te=Te>=0&&Te<=59?Te:0;const me=X[7]||"Z";let K=parseInt(X[8],10);K=K>=0&&K<=23?K:0;let ce=parseInt(X[9],10)||0;return ce=ce>=0&&ce<=59?ce:0,me==="-"?(Q+=K,ie+=ce):me==="+"&&(Q-=K,ie-=ce),new Date(Date.UTC(q,$,fe,Q,ie,Te))}}r.PDFDateString=N;function G(H,z){let{scale:X=1,rotation:q=0}=z;const{width:$,height:fe}=H.attributes.style,Q=[0,0,parseInt($),parseInt(fe)];return new L({viewBox:Q,scale:X,rotation:q})}function W(H){if(H.startsWith("#")){const z=parseInt(H.slice(1),16);return[(z&16711680)>>16,(z&65280)>>8,z&255]}return H.startsWith("rgb(")?H.slice(4,-1).split(",").map(z=>parseInt(z)):H.startsWith("rgba(")?H.slice(5,-1).split(",").map(z=>parseInt(z)).slice(0,3):((0,U.warn)(`Not a valid color format: "${H}"`),[0,0,0])}function J(H){const z=document.createElement("span");z.style.visibility="hidden",document.body.append(z);for(const X of H.keys()){z.style.color=X;const q=window.getComputedStyle(z).color;H.set(X,W(q))}z.remove()}function Y(H){const{a:z,b:X,c:q,d:$,e:fe,f:Q}=H.getTransform();return[z,X,q,$,fe,Q]}function V(H){const{a:z,b:X,c:q,d:$,e:fe,f:Q}=H.getTransform().invertSelf();return[z,X,q,$,fe,Q]}},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.BaseStandardFontDataFactory=r.BaseSVGFactory=r.BaseCanvasFactory=r.BaseCMapReaderFactory=void 0;var w=m(1);class U{constructor(){this.constructor===U&&(0,w.unreachable)("Cannot initialize BaseCanvasFactory.")}create(n,c){if(n<=0||c<=0)throw new Error("Invalid canvas size");const R=this._createCanvas(n,c);return{canvas:R,context:R.getContext("2d")}}reset(n,c,R){if(!n.canvas)throw new Error("Canvas is not specified");if(c<=0||R<=0)throw new Error("Invalid canvas size");n.canvas.width=c,n.canvas.height=R}destroy(n){if(!n.canvas)throw new Error("Canvas is not specified");n.canvas.width=0,n.canvas.height=0,n.canvas=null,n.context=null}_createCanvas(n,c){(0,w.unreachable)("Abstract method `_createCanvas` called.")}}r.BaseCanvasFactory=U;class k{constructor(n){let{baseUrl:c=null,isCompressed:R=!1}=n;this.constructor===k&&(0,w.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=c,this.isCompressed=R}async fetch(n){let{name:c}=n;if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!c)throw new Error("CMap name must be specified.");const R=this.baseUrl+c+(this.isCompressed?".bcmap":""),v=this.isCompressed?w.CMapCompressionType.BINARY:w.CMapCompressionType.NONE;return this._fetchData(R,v).catch(e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${R}`)})}_fetchData(n,c){(0,w.unreachable)("Abstract method `_fetchData` called.")}}r.BaseCMapReaderFactory=k;class x{constructor(n){let{baseUrl:c=null}=n;this.constructor===x&&(0,w.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=c}async fetch(n){let{filename:c}=n;if(!this.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!c)throw new Error("Font filename must be specified.");const R=`${this.baseUrl}${c}`;return this._fetchData(R).catch(v=>{throw new Error(`Unable to load font data at: ${R}`)})}_fetchData(n){(0,w.unreachable)("Abstract method `_fetchData` called.")}}r.BaseStandardFontDataFactory=x;class a{constructor(){this.constructor===a&&(0,w.unreachable)("Cannot initialize BaseSVGFactory.")}create(n,c){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(n<=0||c<=0)throw new Error("Invalid SVG dimensions");const v=this._createSVG("svg:svg");return v.setAttribute("version","1.1"),R||(v.setAttribute("width",`${n}px`),v.setAttribute("height",`${c}px`)),v.setAttribute("preserveAspectRatio","none"),v.setAttribute("viewBox",`0 0 ${n} ${c}`),v}createElement(n){if(typeof n!="string")throw new Error("Invalid SVG element type");return this._createSVG(n)}_createSVG(n){(0,w.unreachable)("Abstract method `_createSVG` called.")}}r.BaseSVGFactory=a},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.MurmurHash3_64=void 0;var w=m(1);const U=3285377520,k=4294901760,x=65535;class a{constructor(n){this.h1=n?n&4294967295:U,this.h2=n?n&4294967295:U}update(n){let c,R;if(typeof n=="string"){c=new Uint8Array(n.length*2),R=0;for(let M=0,F=n.length;M>>8,c[R++]=N&255)}}else if((0,w.isArrayBuffer)(n))c=n.slice(),R=c.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");const v=R>>2,e=R-v*4,L=new Uint32Array(c.buffer,0,v);let O=0,B=0,P=this.h1,S=this.h2;const _=3432918353,l=461845907,y=_&x,D=l&x;for(let M=0;M>>17,O=O*l&k|O*D&x,P^=O,P=P<<13|P>>>19,P=P*5+3864292196):(B=L[M],B=B*_&k|B*y&x,B=B<<15|B>>>17,B=B*l&k|B*D&x,S^=B,S=S<<13|S>>>19,S=S*5+3864292196);switch(O=0,e){case 3:O^=c[v*4+2]<<16;case 2:O^=c[v*4+1]<<8;case 1:O^=c[v*4],O=O*_&k|O*y&x,O=O<<15|O>>>17,O=O*l&k|O*D&x,v&1?P^=O:S^=O}this.h1=P,this.h2=S}hexdigest(){let n=this.h1,c=this.h2;n^=c>>>1,n=n*3981806797&k|n*36045&x,c=c*4283543511&k|((c<<16|n>>>16)*2950163797&k)>>>16,n^=c>>>1,n=n*444984403&k|n*60499&x,c=c*3301882366&k|((c<<16|n>>>16)*3120437893&k)>>>16,n^=c>>>1;const R=(n>>>0).toString(16),v=(c>>>0).toString(16);return R.padStart(8,"0")+v.padStart(8,"0")}}r.MurmurHash3_64=a},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.FontLoader=r.FontFaceObject=void 0;var w=m(1);class U{constructor(g){let{docId:n,onUnsupportedFeature:c,ownerDocument:R=globalThis.document,styleElement:v=null}=g;this.constructor===U&&(0,w.unreachable)("Cannot initialize BaseFontLoader."),this.docId=n,this._onUnsupportedFeature=c,this._document=R,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(g){this.nativeFontFaces.push(g),this._document.fonts.add(g)}insertRule(g){let n=this.styleElement;n||(n=this.styleElement=this._document.createElement("style"),n.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(n));const c=n.sheet;c.insertRule(g,c.cssRules.length)}clear(){for(const g of this.nativeFontFaces)this._document.fonts.delete(g);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async bind(g){if(g.attached||g.missingFile)return;if(g.attached=!0,this.isFontLoadingAPISupported){const c=g.createNativeFontFace();if(c){this.addNativeFontFace(c);try{await c.loaded}catch(R){throw this._onUnsupportedFeature({featureId:w.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,w.warn)(`Failed to load font '${c.family}': '${R}'.`),g.disableFontFace=!0,R}}return}const n=g.createFontFaceRule();if(n){if(this.insertRule(n),this.isSyncFontLoadingSupported)return;await new Promise(c=>{const R=this._queueLoadingCallback(c);this._prepareFontLoadEvent([n],[g],R)})}}_queueLoadingCallback(g){(0,w.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){var g;const n=!!((g=this._document)!==null&&g!==void 0&&g.fonts);return(0,w.shadow)(this,"isFontLoadingAPISupported",n)}get isSyncFontLoadingSupported(){(0,w.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,w.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(g,n,c){(0,w.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let k;r.FontLoader=k,r.FontLoader=k=class extends U{constructor(g){super(g),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let g=!1;if(typeof navigator>"u")g=!0;else{const n=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);(n==null?void 0:n[1])>=14&&(g=!0)}return(0,w.shadow)(this,"isSyncFontLoadingSupported",g)}_queueLoadingCallback(g){function n(){for((0,w.assert)(!R.done,"completeRequest() cannot be called twice."),R.done=!0;c.requests.length>0&&c.requests[0].done;){const v=c.requests.shift();setTimeout(v.callback,0)}}const c=this.loadingContext,R={id:`pdfjs-font-loading-${c.nextRequestId++}`,done:!1,complete:n,callback:g};return c.requests.push(R),R}get _loadTestFont(){const g=function(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};return(0,w.shadow)(this,"_loadTestFont",g())}_prepareFontLoadEvent(g,n,c){function R(Y,V){return Y.charCodeAt(V)<<24|Y.charCodeAt(V+1)<<16|Y.charCodeAt(V+2)<<8|Y.charCodeAt(V+3)&255}function v(Y,V,H,z){const X=Y.substring(0,V),q=Y.substring(V+H);return X+z+q}let e,L;const O=this._document.createElement("canvas");O.width=1,O.height=1;const B=O.getContext("2d");let P=0;function S(Y,V){if(P++,P>30){(0,w.warn)("Load test font never loaded."),V();return}if(B.font="30px "+Y,B.fillText(".",0,20),B.getImageData(0,0,1,1).data[3]>0){V();return}setTimeout(S.bind(null,Y,V))}const _=`lt${Date.now()}${this.loadTestFontId++}`;let l=this._loadTestFont;l=v(l,976,_.length,_);const D=16,M=1482184792;let F=R(l,D);for(e=0,L=_.length-3;e{J.remove(),c.complete()})}};class x{constructor(g,n){let{isEvalSupported:c=!0,disableFontFace:R=!1,ignoreErrors:v=!1,onUnsupportedFeature:e,fontRegistry:L=null}=n;this.compiledGlyphs=Object.create(null);for(const O in g)this[O]=g[O];this.isEvalSupported=c!==!1,this.disableFontFace=R===!0,this.ignoreErrors=v===!0,this._onUnsupportedFeature=e,this.fontRegistry=L}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let g;if(!this.cssFontInfo)g=new FontFace(this.loadedName,this.data,{});else{const n={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(n.style=`oblique ${this.cssFontInfo.italicAngle}deg`),g=new FontFace(this.cssFontInfo.fontFamily,this.data,n)}return this.fontRegistry&&this.fontRegistry.registerFont(this),g}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const g=(0,w.bytesToString)(this.data),n=`url(data:${this.mimetype};base64,${btoa(g)});`;let c;if(!this.cssFontInfo)c=`@font-face {font-family:"${this.loadedName}";src:${n}}`;else{let R=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(R+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),c=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${R}src:${n}}`}return this.fontRegistry&&this.fontRegistry.registerFont(this,n),c}getPathGenerator(g,n){if(this.compiledGlyphs[n]!==void 0)return this.compiledGlyphs[n];let c;try{c=g.get(this.loadedName+"_path_"+n)}catch(R){if(!this.ignoreErrors)throw R;return this._onUnsupportedFeature({featureId:w.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,w.warn)(`getPathGenerator - ignoring character: "${R}".`),this.compiledGlyphs[n]=function(v,e){}}if(this.isEvalSupported&&w.FeatureTest.isEvalSupported){const R=[];for(const v of c){const e=v.args!==void 0?v.args.join(","):"";R.push("c.",v.cmd,"(",e,`); +`)}return this.compiledGlyphs[n]=new Function("c","size",R.join(""))}return this.compiledGlyphs[n]=function(R,v){for(const e of c)e.cmd==="scale"&&(e.args=[v,-v]),R[e.cmd].apply(R,e.args)}}}r.FontFaceObject=x},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.CanvasGraphics=void 0;var w=m(133),U=m(1),k=m(138),x=m(139),a=m(3);function g(me,K){n(me,K),K.add(me)}function n(me,K){if(K.has(me))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(me,K,ce){if(!K.has(me))throw new TypeError("attempted to get private field on non-instance");return ce}const R=16,v=100,e=4096,L=15,O=10,B=a.isNodeJS&&typeof Path2D>"u"?-1:1e3,P=16;function S(me,K){if(me._removeMirroring)throw new Error("Context is already forwarding operations.");me.__originalSave=me.save,me.__originalRestore=me.restore,me.__originalRotate=me.rotate,me.__originalScale=me.scale,me.__originalTranslate=me.translate,me.__originalTransform=me.transform,me.__originalSetTransform=me.setTransform,me.__originalResetTransform=me.resetTransform,me.__originalClip=me.clip,me.__originalMoveTo=me.moveTo,me.__originalLineTo=me.lineTo,me.__originalBezierCurveTo=me.bezierCurveTo,me.__originalRect=me.rect,me.__originalClosePath=me.closePath,me.__originalBeginPath=me.beginPath,me._removeMirroring=()=>{me.save=me.__originalSave,me.restore=me.__originalRestore,me.rotate=me.__originalRotate,me.scale=me.__originalScale,me.translate=me.__originalTranslate,me.transform=me.__originalTransform,me.setTransform=me.__originalSetTransform,me.resetTransform=me.__originalResetTransform,me.clip=me.__originalClip,me.moveTo=me.__originalMoveTo,me.lineTo=me.__originalLineTo,me.bezierCurveTo=me.__originalBezierCurveTo,me.rect=me.__originalRect,me.closePath=me.__originalClosePath,me.beginPath=me.__originalBeginPath,delete me._removeMirroring},me.save=function(){K.save(),this.__originalSave()},me.restore=function(){K.restore(),this.__originalRestore()},me.translate=function(de,Z){K.translate(de,Z),this.__originalTranslate(de,Z)},me.scale=function(de,Z){K.scale(de,Z),this.__originalScale(de,Z)},me.transform=function(de,Z,ae,he,we,_e){K.transform(de,Z,ae,he,we,_e),this.__originalTransform(de,Z,ae,he,we,_e)},me.setTransform=function(de,Z,ae,he,we,_e){K.setTransform(de,Z,ae,he,we,_e),this.__originalSetTransform(de,Z,ae,he,we,_e)},me.resetTransform=function(){K.resetTransform(),this.__originalResetTransform()},me.rotate=function(de){K.rotate(de),this.__originalRotate(de)},me.clip=function(de){K.clip(de),this.__originalClip(de)},me.moveTo=function(ce,de){K.moveTo(ce,de),this.__originalMoveTo(ce,de)},me.lineTo=function(ce,de){K.lineTo(ce,de),this.__originalLineTo(ce,de)},me.bezierCurveTo=function(ce,de,Z,ae,he,we){K.bezierCurveTo(ce,de,Z,ae,he,we),this.__originalBezierCurveTo(ce,de,Z,ae,he,we)},me.rect=function(ce,de,Z,ae){K.rect(ce,de,Z,ae),this.__originalRect(ce,de,Z,ae)},me.closePath=function(){K.closePath(),this.__originalClosePath()},me.beginPath=function(){K.beginPath(),this.__originalBeginPath()}}class _{constructor(K){this.canvasFactory=K,this.cache=Object.create(null)}getCanvas(K,ce,de){let Z;return this.cache[K]!==void 0?(Z=this.cache[K],this.canvasFactory.reset(Z,ce,de)):(Z=this.canvasFactory.create(ce,de),this.cache[K]=Z),Z}delete(K){delete this.cache[K]}clear(){for(const K in this.cache){const ce=this.cache[K];this.canvasFactory.destroy(ce),delete this.cache[K]}}}function l(me,K,ce,de,Z,ae,he,we,_e,ye){const[se,Ie,Ce,oe,pe,xe]=(0,w.getCurrentTransform)(me);if(Ie===0&&Ce===0){const De=he*se+pe,Fe=Math.round(De),Pe=we*oe+xe,qe=Math.round(Pe),Le=(he+_e)*se+pe,Oe=Math.abs(Math.round(Le)-Fe)||1,Ee=(we+ye)*oe+xe,Ae=Math.abs(Math.round(Ee)-qe)||1;return me.setTransform(Math.sign(se),0,0,Math.sign(oe),Fe,qe),me.drawImage(K,ce,de,Z,ae,0,0,Oe,Ae),me.setTransform(se,Ie,Ce,oe,pe,xe),[Oe,Ae]}if(se===0&&oe===0){const De=we*Ce+pe,Fe=Math.round(De),Pe=he*Ie+xe,qe=Math.round(Pe),Le=(we+ye)*Ce+pe,Oe=Math.abs(Math.round(Le)-Fe)||1,Ee=(he+_e)*Ie+xe,Ae=Math.abs(Math.round(Ee)-qe)||1;return me.setTransform(0,Math.sign(Ie),Math.sign(Ce),0,Fe,qe),me.drawImage(K,ce,de,Z,ae,0,0,Ae,Oe),me.setTransform(se,Ie,Ce,oe,pe,xe),[Ae,Oe]}me.drawImage(K,ce,de,Z,ae,he,we,_e,ye);const Ne=Math.hypot(se,Ie),ke=Math.hypot(Ce,oe);return[Ne*_e,ke*ye]}function y(me){const{width:K,height:ce}=me;if(K>B||ce>B)return null;const de=1e3,Z=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),ae=K+1;let he=new Uint8Array(ae*(ce+1)),we,_e,ye;const se=K+7&-8;let Ie=new Uint8Array(se*ce),Ce=0;for(const ke of me.data){let De=128;for(;De>0;)Ie[Ce++]=ke&De?0:255,De>>=1}let oe=0;for(Ce=0,Ie[Ce]!==0&&(he[0]=1,++oe),_e=1;_e>2)+(Ie[Ce+1]?4:0)+(Ie[Ce-se+1]?8:0),Z[ke]&&(he[ye+_e]=Z[ke],++oe),Ce++;if(Ie[Ce-se]!==Ie[Ce]&&(he[ye+_e]=Ie[Ce]?2:4,++oe),oe>de)return null}for(Ce=se*(ce-1),ye=we*ae,Ie[Ce]!==0&&(he[ye]=8,++oe),_e=1;_ede)return null;const pe=new Int32Array([0,ae,-1,0,-ae,0,0,0,1]),xe=new Path2D;for(we=0;oe&&we<=ce;we++){let ke=we*ae;const De=ke+K;for(;ke>4,he[ke]&=Pe>>2|Pe<<2),xe.lineTo(ke%ae,ke/ae|0),he[ke]||--oe}while(Fe!==ke);--we}return Ie=null,he=null,function(ke){ke.save(),ke.scale(1/K,-1/ce),ke.translate(0,-ce),ke.fill(xe),ke.beginPath(),ke.restore()}}class D{constructor(K,ce){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=U.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=U.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=U.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,K,ce])}clone(){const K=Object.create(this);return K.clipBox=this.clipBox.slice(),K}setCurrentPoint(K,ce){this.x=K,this.y=ce}updatePathMinMax(K,ce,de){[ce,de]=U.Util.applyTransform([ce,de],K),this.minX=Math.min(this.minX,ce),this.minY=Math.min(this.minY,de),this.maxX=Math.max(this.maxX,ce),this.maxY=Math.max(this.maxY,de)}updateRectMinMax(K,ce){const de=U.Util.applyTransform(ce,K),Z=U.Util.applyTransform(ce.slice(2),K);this.minX=Math.min(this.minX,de[0],Z[0]),this.minY=Math.min(this.minY,de[1],Z[1]),this.maxX=Math.max(this.maxX,de[0],Z[0]),this.maxY=Math.max(this.maxY,de[1],Z[1])}updateScalingPathMinMax(K,ce){U.Util.scaleMinMax(K,ce),this.minX=Math.min(this.minX,ce[0]),this.maxX=Math.max(this.maxX,ce[1]),this.minY=Math.min(this.minY,ce[2]),this.maxY=Math.max(this.maxY,ce[3])}updateCurvePathMinMax(K,ce,de,Z,ae,he,we,_e,ye,se){const Ie=U.Util.bezierBoundingBox(ce,de,Z,ae,he,we,_e,ye);if(se){se[0]=Math.min(se[0],Ie[0],Ie[2]),se[1]=Math.max(se[1],Ie[0],Ie[2]),se[2]=Math.min(se[2],Ie[1],Ie[3]),se[3]=Math.max(se[3],Ie[1],Ie[3]);return}this.updateRectMinMax(K,Ie)}getPathBoundingBox(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:k.PathType.FILL,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const de=[this.minX,this.minY,this.maxX,this.maxY];if(K===k.PathType.STROKE){ce||(0,U.unreachable)("Stroke bounding box must include transform.");const Z=U.Util.singularValueDecompose2dScale(ce),ae=Z[0]*this.lineWidth/2,he=Z[1]*this.lineWidth/2;de[0]-=ae,de[1]-=he,de[2]+=ae,de[3]+=he}return de}updateClipFromPath(){const K=U.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(K||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(K){this.clipBox=K,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:k.PathType.FILL,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return U.Util.intersect(this.clipBox,this.getPathBoundingBox(K,ce))}}function M(me,K){let ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(typeof ImageData<"u"&&K instanceof ImageData){me.putImageData(K,0,0);return}const de=K.height,Z=K.width,ae=de%P,he=(de-ae)/P,we=ae===0?he:he+1,_e=me.createImageData(Z,P);let ye=0,se;const Ie=K.data,Ce=_e.data;let oe,pe,xe,Ne,ke,De,Fe,Pe;if(ce)switch(ce.length){case 1:ke=ce[0],De=ce[0],Fe=ce[0],Pe=ce[0];break;case 4:ke=ce[0],De=ce[1],Fe=ce[2],Pe=ce[3];break}if(K.kind===U.ImageKind.GRAYSCALE_1BPP){const qe=Ie.byteLength,Le=new Uint32Array(Ce.buffer,0,Ce.byteLength>>2),Oe=Le.length,Ee=Z+7>>3;let Ae=4294967295,Ve=U.FeatureTest.isLittleEndian?4278190080:255;for(Pe&&Pe[0]===255&&Pe[255]===0&&([Ae,Ve]=[Ve,Ae]),oe=0;oeEe?Z:$e*8-7,Qe=He&-8;let Ze=0,et=0;for(;Ue>=1}for(;se=he&&(xe=ae,Ne=Z*xe),se=0,pe=Ne;pe--;)Ce[se++]=Ie[ye++],Ce[se++]=Ie[ye++],Ce[se++]=Ie[ye++],Ce[se++]=255;if(qe)for(let Le=0;Le>8,me[ae-2]=me[ae-2]*he+ce*we>>8,me[ae-1]=me[ae-1]*he+de*we>>8}}}function J(me,K,ce){const de=me.length,Z=1/255;for(let ae=3;ae>8]>>8:K[Z]*ae>>16}}function V(me,K,ce,de,Z,ae,he,we,_e,ye,se){const Ie=!!ae,Ce=Ie?ae[0]:0,oe=Ie?ae[1]:0,pe=Ie?ae[2]:0;let xe;Z==="Luminosity"?xe=Y:xe=J;const ke=Math.min(de,Math.ceil(1048576/ce));for(let De=0;De1&&arguments[1]!==void 0?arguments[1]:null;return typeof K=="string"?K.startsWith("g_")?this.commonObjs.get(K):this.objs.get(K):ce}beginDrawing(K){let{transform:ce,viewport:de,transparency:Z=!1,background:ae=null}=K;const he=this.ctx.canvas.width,we=this.ctx.canvas.height,_e=ae||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const ye=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const se=this.backgroundColor=this.ctx.fillStyle;let Ie=!0,Ce=_e;if(this.ctx.fillStyle=_e,Ce=this.ctx.fillStyle,Ie=typeof Ce=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Ce),ye==="#000000"&&se==="#ffffff"||ye===se||!Ie)this.foregroundColor=this.backgroundColor=null;else{const[oe,pe,xe]=(0,w.getRGB)(Ce),Ne=De=>(De/=255,De<=.03928?De/12.92:((De+.055)/1.055)**2.4),ke=Math.round(.2126*Ne(oe)+.7152*Ne(pe)+.0722*Ne(xe));this.selectColor=(De,Fe,Pe)=>{const qe=.2126*Ne(De)+.7152*Ne(Fe)+.0722*Ne(Pe);return Math.round(qe)===ke?se:ye}}}if(this.ctx.fillStyle=this.backgroundColor||_e,this.ctx.fillRect(0,0,he,we),this.ctx.restore(),Z){const ye=this.cachedCanvases.getCanvas("transparent",he,we);this.compositeCtx=this.ctx,this.transparentCanvas=ye.canvas,this.ctx=ye.context,this.ctx.save(),this.ctx.transform(...(0,w.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),G(this.ctx,this.foregroundColor),ce&&(this.ctx.transform(...ce),this.outputScaleX=ce[0],this.outputScaleY=ce[0]),this.ctx.transform(...de.transform),this.viewportScale=de.scale,this.baseTransform=(0,w.getCurrentTransform)(this.ctx),this.imageLayer&&((0,w.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(K,ce,de,Z){const ae=K.argsArray,he=K.fnArray;let we=ce||0;const _e=ae.length;if(_e===we)return we;const ye=_e-we>O&&typeof de=="function",se=ye?Date.now()+L:0;let Ie=0;const Ce=this.commonObjs,oe=this.objs;let pe;for(;;){if(Z!==void 0&&we===Z.nextBreakPoint)return Z.breakIt(we,de),we;if(pe=he[we],pe!==U.OPS.dependency)this[pe].apply(this,ae[we]);else for(const xe of ae[we]){const Ne=xe.startsWith("g_")?Ce:oe;if(!Ne.has(xe))return Ne.get(xe,de),we}if(we++,we===_e)return we;if(ye&&++Ie>O){if(Date.now()>se)return de(),we;Ie=0}}}endDrawing(){c(this,Q,Te).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const K of this._cachedBitmapsMap.values()){for(const ce of K.values())typeof HTMLCanvasElement<"u"&&ce instanceof HTMLCanvasElement&&(ce.width=ce.height=0);K.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(K,ce){const de=K.width,Z=K.height;let ae=Math.max(Math.hypot(ce[0],ce[1]),1),he=Math.max(Math.hypot(ce[2],ce[3]),1),we=de,_e=Z,ye="prescale1",se,Ie;for(;ae>2&&we>1||he>2&&_e>1;){let Ce=we,oe=_e;ae>2&&we>1&&(Ce=Math.ceil(we/2),ae/=we/Ce),he>2&&_e>1&&(oe=Math.ceil(_e/2),he/=_e/oe),se=this.cachedCanvases.getCanvas(ye,Ce,oe),Ie=se.context,Ie.clearRect(0,0,Ce,oe),Ie.drawImage(K,0,0,we,_e,0,0,Ce,oe),K=se.canvas,we=Ce,_e=oe,ye=ye==="prescale1"?"prescale2":"prescale1"}return{img:K,paintWidth:we,paintHeight:_e}}_createMaskCanvas(K){const ce=this.ctx,{width:de,height:Z}=K,ae=this.current.fillColor,he=this.current.patternFill,we=(0,w.getCurrentTransform)(ce);let _e,ye,se,Ie;if((K.bitmap||K.data)&&K.count>1){const Oe=K.bitmap||K.data.buffer,Ee=we.slice(0,4);ye=JSON.stringify(he?Ee:[Ee,ae]),_e=this._cachedBitmapsMap.get(Oe),_e||(_e=new Map,this._cachedBitmapsMap.set(Oe,_e));const Ae=_e.get(ye);if(Ae&&!he){const Ve=Math.round(Math.min(we[0],we[2])+we[4]),$e=Math.round(Math.min(we[1],we[3])+we[5]);return{canvas:Ae,offsetX:Ve,offsetY:$e}}se=Ae}se||(Ie=this.cachedCanvases.getCanvas("maskCanvas",de,Z),F(Ie.context,K));let Ce=U.Util.transform(we,[1/de,0,0,-1/Z,0,0]);Ce=U.Util.transform(Ce,[1,0,0,1,0,-Z]);const oe=U.Util.applyTransform([0,0],Ce),pe=U.Util.applyTransform([de,Z],Ce),xe=U.Util.normalizeRect([oe[0],oe[1],pe[0],pe[1]]),Ne=Math.round(xe[2]-xe[0])||1,ke=Math.round(xe[3]-xe[1])||1,De=this.cachedCanvases.getCanvas("fillCanvas",Ne,ke),Fe=De.context,Pe=Math.min(oe[0],pe[0]),qe=Math.min(oe[1],pe[1]);Fe.translate(-Pe,-qe),Fe.transform(...Ce),se||(se=this._scaleImage(Ie.canvas,(0,w.getCurrentTransformInverse)(Fe)),se=se.img,_e&&he&&_e.set(ye,se)),Fe.imageSmoothingEnabled=z((0,w.getCurrentTransform)(Fe),K.interpolate),l(Fe,se,0,0,se.width,se.height,0,0,de,Z),Fe.globalCompositeOperation="source-in";const Le=U.Util.transform((0,w.getCurrentTransformInverse)(Fe),[1,0,0,1,-Pe,-qe]);return Fe.fillStyle=he?ae.getPattern(ce,this,Le,k.PathType.FILL):ae,Fe.fillRect(0,0,de,Z),_e&&!he&&(this.cachedCanvases.delete("fillCanvas"),_e.set(ye,De.canvas)),{canvas:De.canvas,offsetX:Math.round(Pe),offsetY:Math.round(qe)}}setLineWidth(K){K!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=K,this.ctx.lineWidth=K}setLineCap(K){this.ctx.lineCap=X[K]}setLineJoin(K){this.ctx.lineJoin=q[K]}setMiterLimit(K){this.ctx.miterLimit=K}setDash(K,ce){const de=this.ctx;de.setLineDash!==void 0&&(de.setLineDash(K),de.lineDashOffset=ce)}setRenderingIntent(K){}setFlatness(K){}setGState(K){for(let ce=0,de=K.length;cev&&(ye=v),this.current.fontSizeScale=ce/ye,this.ctx.font=`${we} ${he} ${ye}px ${_e}`}setTextRenderingMode(K){this.current.textRenderingMode=K}setTextRise(K){this.current.textRise=K}moveText(K,ce){this.current.x=this.current.lineX+=K,this.current.y=this.current.lineY+=ce}setLeadingMoveText(K,ce){this.setLeading(-ce),this.moveText(K,ce)}setTextMatrix(K,ce,de,Z,ae,he){this.current.textMatrix=[K,ce,de,Z,ae,he],this.current.textMatrixScale=Math.hypot(K,ce),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(K,ce,de,Z){const ae=this.ctx,he=this.current,we=he.font,_e=he.textRenderingMode,ye=he.fontSize/he.fontSizeScale,se=_e&U.TextRenderingMode.FILL_STROKE_MASK,Ie=!!(_e&U.TextRenderingMode.ADD_TO_PATH_FLAG),Ce=he.patternFill&&!we.missingFile;let oe;(we.disableFontFace||Ie||Ce)&&(oe=we.getPathGenerator(this.commonObjs,K)),we.disableFontFace||Ce?(ae.save(),ae.translate(ce,de),ae.beginPath(),oe(ae,ye),Z&&ae.setTransform(...Z),(se===U.TextRenderingMode.FILL||se===U.TextRenderingMode.FILL_STROKE)&&ae.fill(),(se===U.TextRenderingMode.STROKE||se===U.TextRenderingMode.FILL_STROKE)&&ae.stroke(),ae.restore()):((se===U.TextRenderingMode.FILL||se===U.TextRenderingMode.FILL_STROKE)&&ae.fillText(K,ce,de),(se===U.TextRenderingMode.STROKE||se===U.TextRenderingMode.FILL_STROKE)&&ae.strokeText(K,ce,de)),Ie&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,w.getCurrentTransform)(ae),x:ce,y:de,fontSize:ye,addToPath:oe})}get isFontSubpixelAAEnabled(){const{context:K}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);K.scale(1.5,1),K.fillText("I",0,10);const ce=K.getImageData(0,0,10,10).data;let de=!1;for(let Z=3;Z0&&ce[Z]<255){de=!0;break}return(0,U.shadow)(this,"isFontSubpixelAAEnabled",de)}showText(K){const ce=this.current,de=ce.font;if(de.isType3Font)return this.showType3Text(K);const Z=ce.fontSize;if(Z===0)return;const ae=this.ctx,he=ce.fontSizeScale,we=ce.charSpacing,_e=ce.wordSpacing,ye=ce.fontDirection,se=ce.textHScale*ye,Ie=K.length,Ce=de.vertical,oe=Ce?1:-1,pe=de.defaultVMetrics,xe=Z*ce.fontMatrix[0],Ne=ce.textRenderingMode===U.TextRenderingMode.FILL&&!de.disableFontFace&&!ce.patternFill;ae.save(),ae.transform(...ce.textMatrix),ae.translate(ce.x,ce.y+ce.textRise),ye>0?ae.scale(se,-1):ae.scale(se,1);let ke;if(ce.patternFill){ae.save();const Le=ce.fillColor.getPattern(ae,this,(0,w.getCurrentTransformInverse)(ae),k.PathType.FILL);ke=(0,w.getCurrentTransform)(ae),ae.restore(),ae.fillStyle=Le}let De=ce.lineWidth;const Fe=ce.textMatrixScale;if(Fe===0||De===0){const Le=ce.textRenderingMode&U.TextRenderingMode.FILL_STROKE_MASK;(Le===U.TextRenderingMode.STROKE||Le===U.TextRenderingMode.FILL_STROKE)&&(De=this.getSinglePixelWidth())}else De/=Fe;he!==1&&(ae.scale(he,he),De/=he),ae.lineWidth=De;let Pe=0,qe;for(qe=0;qe0){const Ze=ae.measureText(Ae).width*1e3/Z*he;if(Henew ie(he,this.commonObjs,this.objs,this.canvasFactory)};ce=new k.TilingPattern(K,de,this.ctx,ae,Z)}else ce=this._getPattern(K[1],K[2]);return ce}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(K,ce,de){var Z;const ae=((Z=this.selectColor)===null||Z===void 0?void 0:Z.call(this,K,ce,de))||U.Util.makeHexColor(K,ce,de);this.ctx.strokeStyle=ae,this.current.strokeColor=ae}setFillRGBColor(K,ce,de){var Z;const ae=((Z=this.selectColor)===null||Z===void 0?void 0:Z.call(this,K,ce,de))||U.Util.makeHexColor(K,ce,de);this.ctx.fillStyle=ae,this.current.fillColor=ae,this.current.patternFill=!1}_getPattern(K){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,de;return this.cachedPatterns.has(K)?de=this.cachedPatterns.get(K):(de=(0,k.getShadingPattern)(this.objs.get(K)),this.cachedPatterns.set(K,de)),ce&&(de.matrix=ce),de}shadingFill(K){if(!this.contentVisible)return;const ce=this.ctx;this.save();const de=this._getPattern(K);ce.fillStyle=de.getPattern(ce,this,(0,w.getCurrentTransformInverse)(ce),k.PathType.SHADING);const Z=(0,w.getCurrentTransformInverse)(ce);if(Z){const ae=ce.canvas,he=ae.width,we=ae.height,_e=U.Util.applyTransform([0,0],Z),ye=U.Util.applyTransform([0,we],Z),se=U.Util.applyTransform([he,0],Z),Ie=U.Util.applyTransform([he,we],Z),Ce=Math.min(_e[0],ye[0],se[0],Ie[0]),oe=Math.min(_e[1],ye[1],se[1],Ie[1]),pe=Math.max(_e[0],ye[0],se[0],Ie[0]),xe=Math.max(_e[1],ye[1],se[1],Ie[1]);this.ctx.fillRect(Ce,oe,pe-Ce,xe-oe)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,U.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,U.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(K,ce){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(K)&&K.length===6&&this.transform(...K),this.baseTransform=(0,w.getCurrentTransform)(this.ctx),ce)){const de=ce[2]-ce[0],Z=ce[3]-ce[1];this.ctx.rect(ce[0],ce[1],de,Z),this.current.updateRectMinMax((0,w.getCurrentTransform)(this.ctx),ce),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(K){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const ce=this.ctx;K.isolated||(0,U.info)("TODO: Support non-isolated groups."),K.knockout&&(0,U.warn)("Knockout groups not supported.");const de=(0,w.getCurrentTransform)(ce);if(K.matrix&&ce.transform(...K.matrix),!K.bbox)throw new Error("Bounding box is required.");let Z=U.Util.getAxialAlignedBoundingBox(K.bbox,(0,w.getCurrentTransform)(ce));const ae=[0,0,ce.canvas.width,ce.canvas.height];Z=U.Util.intersect(Z,ae)||[0,0,0,0];const he=Math.floor(Z[0]),we=Math.floor(Z[1]);let _e=Math.max(Math.ceil(Z[2])-he,1),ye=Math.max(Math.ceil(Z[3])-we,1),se=1,Ie=1;_e>e&&(se=_e/e,_e=e),ye>e&&(Ie=ye/e,ye=e),this.current.startNewPathAndClipBox([0,0,_e,ye]);let Ce="groupAt"+this.groupLevel;K.smask&&(Ce+="_smask_"+this.smaskCounter++%2);const oe=this.cachedCanvases.getCanvas(Ce,_e,ye),pe=oe.context;pe.scale(1/se,1/Ie),pe.translate(-he,-we),pe.transform(...de),K.smask?this.smaskStack.push({canvas:oe.canvas,context:pe,offsetX:he,offsetY:we,scaleX:se,scaleY:Ie,subtype:K.smask.subtype,backdrop:K.smask.backdrop,transferMap:K.smask.transferMap||null,startTransformInverse:null}):(ce.setTransform(1,0,0,1,0,0),ce.translate(he,we),ce.scale(se,Ie),ce.save()),N(ce,pe),this.ctx=pe,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(ce),this.groupLevel++}endGroup(K){if(!this.contentVisible)return;this.groupLevel--;const ce=this.ctx,de=this.groupStack.pop();if(this.ctx=de,this.ctx.imageSmoothingEnabled=!1,K.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const Z=(0,w.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...Z);const ae=U.Util.getAxialAlignedBoundingBox([0,0,ce.canvas.width,ce.canvas.height],Z);this.ctx.drawImage(ce.canvas,0,0),this.ctx.restore(),this.compose(ae)}}beginAnnotation(K,ce,de,Z,ae){if(c(this,Q,Te).call(this),G(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(ce)&&ce.length===4){const he=ce[2]-ce[0],we=ce[3]-ce[1];if(ae&&this.annotationCanvasMap){de=de.slice(),de[4]-=ce[0],de[5]-=ce[1],ce=ce.slice(),ce[0]=ce[1]=0,ce[2]=he,ce[3]=we;const[_e,ye]=U.Util.singularValueDecompose2dScale((0,w.getCurrentTransform)(this.ctx)),{viewportScale:se}=this,Ie=Math.ceil(he*this.outputScaleX*se),Ce=Math.ceil(we*this.outputScaleY*se);this.annotationCanvas=this.canvasFactory.create(Ie,Ce);const{canvas:oe,context:pe}=this.annotationCanvas;this.annotationCanvasMap.set(K,oe),this.annotationCanvas.savedCtx=this.ctx,this.ctx=pe,this.ctx.setTransform(_e,0,0,-ye,0,we*ye),G(this.ctx,this.foregroundColor)}else G(this.ctx,this.foregroundColor),this.ctx.rect(ce[0],ce[1],he,we),this.ctx.clip(),this.endPath()}this.current=new D(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...de),this.transform(...Z)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(K){if(!this.contentVisible)return;const ce=K.count;K=this.getObject(K.data,K),K.count=ce;const de=this.ctx,Z=this.processingType3;if(Z&&(Z.compiled===void 0&&(Z.compiled=y(K)),Z.compiled)){Z.compiled(de);return}const ae=this._createMaskCanvas(K),he=ae.canvas;de.save(),de.setTransform(1,0,0,1,0,0),de.drawImage(he,ae.offsetX,ae.offsetY),de.restore(),this.compose()}paintImageMaskXObjectRepeat(K,ce){let de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,ae=arguments.length>4?arguments[4]:void 0,he=arguments.length>5?arguments[5]:void 0;if(!this.contentVisible)return;K=this.getObject(K.data,K);const we=this.ctx;we.save();const _e=(0,w.getCurrentTransform)(we);we.transform(ce,de,Z,ae,0,0);const ye=this._createMaskCanvas(K);we.setTransform(1,0,0,1,0,0);for(let se=0,Ie=he.length;se_e?we/_e:1,Z=he>_e?he/_e:1}}this._cachedScaleForStroking=[de,Z]}return this._cachedScaleForStroking}rescaleAndStroke(K){const{ctx:ce}=this,{lineWidth:de}=this.current,[Z,ae]=this.getScaleForStroking();if(ce.lineWidth=de||1,Z===1&&ae===1){ce.stroke();return}let he,we,_e;K&&(he=(0,w.getCurrentTransform)(ce),we=ce.getLineDash().slice(),_e=ce.lineDashOffset),ce.scale(Z,ae);const ye=Math.max(Z,ae);ce.setLineDash(ce.getLineDash().map(se=>se/ye)),ce.lineDashOffset/=ye,ce.stroke(),K&&(ce.setTransform(...he),ce.setLineDash(we),ce.lineDashOffset=_e)}isContentVisible(){for(let K=this.markedContentStack.length-1;K>=0;K--)if(!this.markedContentStack[K].visible)return!1;return!0}}r.CanvasGraphics=ie;function Te(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}for(const me in U.OPS)ie.prototype[me]!==void 0&&(ie.prototype[U.OPS[me]]=ie.prototype[me])},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.TilingPattern=r.PathType=void 0,r.getShadingPattern=L;var w=m(1),U=m(133),k=m(3);const x={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};r.PathType=x;function a(P,S){if(!S||k.isNodeJS)return;const _=S[2]-S[0],l=S[3]-S[1],y=new Path2D;y.rect(S[0],S[1],_,l),P.clip(y)}class g{constructor(){this.constructor===g&&(0,w.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,w.unreachable)("Abstract method `getPattern` called.")}}class n extends g{constructor(S){super(),this._type=S[1],this._bbox=S[2],this._colorStops=S[3],this._p0=S[4],this._p1=S[5],this._r0=S[6],this._r1=S[7],this.matrix=null}_createGradient(S){let _;this._type==="axial"?_=S.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(_=S.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const l of this._colorStops)_.addColorStop(l[0],l[1]);return _}getPattern(S,_,l,y){let D;if(y===x.STROKE||y===x.FILL){const M=_.current.getClippedPathBoundingBox(y,(0,U.getCurrentTransform)(S))||[0,0,0,0],F=Math.ceil(M[2]-M[0])||1,N=Math.ceil(M[3]-M[1])||1,G=_.cachedCanvases.getCanvas("pattern",F,N,!0),W=G.context;W.clearRect(0,0,W.canvas.width,W.canvas.height),W.beginPath(),W.rect(0,0,W.canvas.width,W.canvas.height),W.translate(-M[0],-M[1]),l=w.Util.transform(l,[1,0,0,1,M[0],M[1]]),W.transform(..._.baseTransform),this.matrix&&W.transform(...this.matrix),a(W,this._bbox),W.fillStyle=this._createGradient(W),W.fill(),D=S.createPattern(G.canvas,"no-repeat");const J=new DOMMatrix(l);try{D.setTransform(J)}catch(Y){(0,w.warn)(`RadialAxialShadingPattern.getPattern: "${Y==null?void 0:Y.message}".`)}}else a(S,this._bbox),D=this._createGradient(S);return D}}function c(P,S,_,l,y,D,M,F){const N=S.coords,G=S.colors,W=P.data,J=P.width*4;let Y;N[_+1]>N[l+1]&&(Y=_,_=l,l=Y,Y=D,D=M,M=Y),N[l+1]>N[y+1]&&(Y=l,l=y,y=Y,Y=M,M=F,F=Y),N[_+1]>N[l+1]&&(Y=_,_=l,l=Y,Y=D,D=M,M=Y);const V=(N[_]+S.offsetX)*S.scaleX,H=(N[_+1]+S.offsetY)*S.scaleY,z=(N[l]+S.offsetX)*S.scaleX,X=(N[l+1]+S.offsetY)*S.scaleY,q=(N[y]+S.offsetX)*S.scaleX,$=(N[y+1]+S.offsetY)*S.scaleY;if(H>=$)return;const fe=G[D],Q=G[D+1],ie=G[D+2],Te=G[M],me=G[M+1],K=G[M+2],ce=G[F],de=G[F+1],Z=G[F+2],ae=Math.round(H),he=Math.round($);let we,_e,ye,se,Ie,Ce,oe,pe;for(let xe=ae;xe<=he;xe++){if(xe$?Pe=1:X===$?Pe=0:Pe=(X-xe)/(X-$),we=z-(z-q)*Pe,_e=Te-(Te-ce)*Pe,ye=me-(me-de)*Pe,se=K-(K-Z)*Pe}let Ne;xe$?Ne=1:Ne=(H-xe)/(H-$),Ie=V-(V-q)*Ne,Ce=fe-(fe-ce)*Ne,oe=Q-(Q-de)*Ne,pe=ie-(ie-Z)*Ne;const ke=Math.round(Math.min(we,Ie)),De=Math.round(Math.max(we,Ie));let Fe=J*xe+ke*4;for(let Pe=ke;Pe<=De;Pe++)Ne=(we-Pe)/(we-Ie),Ne<0?Ne=0:Ne>1&&(Ne=1),W[Fe++]=_e-(_e-Ce)*Ne|0,W[Fe++]=ye-(ye-oe)*Ne|0,W[Fe++]=se-(se-pe)*Ne|0,W[Fe++]=255}}function R(P,S,_){const l=S.coords,y=S.colors;let D,M;switch(S.type){case"lattice":const F=S.verticesPerRow,N=Math.floor(l.length/F)-1,G=F-1;for(D=0;D=y?D=y:l=D/S,{scale:l,size:D}}clipBbox(S,_,l,y,D){const M=y-_,F=D-l;S.ctx.rect(_,l,M,F),S.current.updateRectMinMax((0,U.getCurrentTransform)(S.ctx),[_,l,y,D]),S.clip(),S.endPath()}setFillAndStrokeStyleToContext(S,_,l){const y=S.ctx,D=S.current;switch(_){case O.COLORED:const M=this.ctx;y.fillStyle=M.fillStyle,y.strokeStyle=M.strokeStyle,D.fillColor=M.fillStyle,D.strokeColor=M.strokeStyle;break;case O.UNCOLORED:const F=w.Util.makeHexColor(l[0],l[1],l[2]);y.fillStyle=F,y.strokeStyle=F,D.fillColor=F,D.strokeColor=F;break;default:throw new w.FormatError(`Unsupported paint type: ${_}`)}}getPattern(S,_,l,y){let D=l;y!==x.SHADING&&(D=w.Util.transform(D,_.baseTransform),this.matrix&&(D=w.Util.transform(D,this.matrix)));const M=this.createPatternCanvas(_);let F=new DOMMatrix(D);F=F.translate(M.offsetX,M.offsetY),F=F.scale(1/M.scaleX,1/M.scaleY);const N=S.createPattern(M.canvas,"repeat");try{N.setTransform(F)}catch(G){(0,w.warn)(`TilingPattern.getPattern: "${G==null?void 0:G.message}".`)}return N}}r.TilingPattern=B},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.applyMaskImageData=U;var w=m(1);function U(k){let{src:x,srcPos:a=0,dest:g,destPos:n=0,width:c,height:R,inverseDecode:v=!1}=k;const e=w.FeatureTest.isLittleEndian?4278190080:255,[L,O]=v?[0,e]:[e,0],B=c>>3,P=c&7,S=x.length;g=new Uint32Array(g.buffer);for(let _=0;_{Object.defineProperty(r,"__esModule",{value:!0}),r.GlobalWorkerOptions=void 0;const m=Object.create(null);r.GlobalWorkerOptions=m,m.workerPort=m.workerPort===void 0?null:m.workerPort,m.workerSrc=m.workerSrc===void 0?"":m.workerSrc},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.MessageHandler=void 0;var w=m(1);const U={UNKNOWN:0,DATA:1,ERROR:2},k={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function x(g){switch(g instanceof Error||typeof g=="object"&&g!==null||(0,w.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),g.name){case"AbortException":return new w.AbortException(g.message);case"MissingPDFException":return new w.MissingPDFException(g.message);case"PasswordException":return new w.PasswordException(g.message,g.code);case"UnexpectedResponseException":return new w.UnexpectedResponseException(g.message,g.status);case"UnknownErrorException":return new w.UnknownErrorException(g.message,g.details);default:return new w.UnknownErrorException(g.message,g.toString())}}class a{constructor(n,c,R){this.sourceName=n,this.targetName=c,this.comObj=R,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=v=>{const e=v.data;if(e.targetName!==this.sourceName)return;if(e.stream){this._processStreamMessage(e);return}if(e.callback){const O=e.callbackId,B=this.callbackCapabilities[O];if(!B)throw new Error(`Cannot resolve callback ${O}`);if(delete this.callbackCapabilities[O],e.callback===U.DATA)B.resolve(e.data);else if(e.callback===U.ERROR)B.reject(x(e.reason));else throw new Error("Unexpected callback case");return}const L=this.actionHandler[e.action];if(!L)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const O=this.sourceName,B=e.sourceName;new Promise(function(P){P(L(e.data))}).then(function(P){R.postMessage({sourceName:O,targetName:B,callback:U.DATA,callbackId:e.callbackId,data:P})},function(P){R.postMessage({sourceName:O,targetName:B,callback:U.ERROR,callbackId:e.callbackId,reason:x(P)})});return}if(e.streamId){this._createStreamSink(e);return}L(e.data)},R.addEventListener("message",this._onComObjOnMessage)}on(n,c){const R=this.actionHandler;if(R[n])throw new Error(`There is already an actionName called "${n}"`);R[n]=c}send(n,c,R){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:n,data:c},R)}sendWithPromise(n,c,R){const v=this.callbackId++,e=(0,w.createPromiseCapability)();this.callbackCapabilities[v]=e;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:n,callbackId:v,data:c},R)}catch(L){e.reject(L)}return e.promise}sendWithStream(n,c,R,v){const e=this.streamId++,L=this.sourceName,O=this.targetName,B=this.comObj;return new ReadableStream({start:P=>{const S=(0,w.createPromiseCapability)();return this.streamControllers[e]={controller:P,startCall:S,pullCall:null,cancelCall:null,isClosed:!1},B.postMessage({sourceName:L,targetName:O,action:n,streamId:e,data:c,desiredSize:P.desiredSize},v),S.promise},pull:P=>{const S=(0,w.createPromiseCapability)();return this.streamControllers[e].pullCall=S,B.postMessage({sourceName:L,targetName:O,stream:k.PULL,streamId:e,desiredSize:P.desiredSize}),S.promise},cancel:P=>{(0,w.assert)(P instanceof Error,"cancel must have a valid reason");const S=(0,w.createPromiseCapability)();return this.streamControllers[e].cancelCall=S,this.streamControllers[e].isClosed=!0,B.postMessage({sourceName:L,targetName:O,stream:k.CANCEL,streamId:e,reason:x(P)}),S.promise}},R)}_createStreamSink(n){const c=n.streamId,R=this.sourceName,v=n.sourceName,e=this.comObj,L=this,O=this.actionHandler[n.action],B={enqueue(P){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,_=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const l=this.desiredSize;this.desiredSize-=S,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,w.createPromiseCapability)(),this.ready=this.sinkCapability.promise),e.postMessage({sourceName:R,targetName:v,stream:k.ENQUEUE,streamId:c,chunk:P},_)},close(){this.isCancelled||(this.isCancelled=!0,e.postMessage({sourceName:R,targetName:v,stream:k.CLOSE,streamId:c}),delete L.streamSinks[c])},error(P){(0,w.assert)(P instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,e.postMessage({sourceName:R,targetName:v,stream:k.ERROR,streamId:c,reason:x(P)}))},sinkCapability:(0,w.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:n.desiredSize,ready:null};B.sinkCapability.resolve(),B.ready=B.sinkCapability.promise,this.streamSinks[c]=B,new Promise(function(P){P(O(n.data,B))}).then(function(){e.postMessage({sourceName:R,targetName:v,stream:k.START_COMPLETE,streamId:c,success:!0})},function(P){e.postMessage({sourceName:R,targetName:v,stream:k.START_COMPLETE,streamId:c,reason:x(P)})})}_processStreamMessage(n){const c=n.streamId,R=this.sourceName,v=n.sourceName,e=this.comObj,L=this.streamControllers[c],O=this.streamSinks[c];switch(n.stream){case k.START_COMPLETE:n.success?L.startCall.resolve():L.startCall.reject(x(n.reason));break;case k.PULL_COMPLETE:n.success?L.pullCall.resolve():L.pullCall.reject(x(n.reason));break;case k.PULL:if(!O){e.postMessage({sourceName:R,targetName:v,stream:k.PULL_COMPLETE,streamId:c,success:!0});break}O.desiredSize<=0&&n.desiredSize>0&&O.sinkCapability.resolve(),O.desiredSize=n.desiredSize,new Promise(function(B){B(O.onPull&&O.onPull())}).then(function(){e.postMessage({sourceName:R,targetName:v,stream:k.PULL_COMPLETE,streamId:c,success:!0})},function(B){e.postMessage({sourceName:R,targetName:v,stream:k.PULL_COMPLETE,streamId:c,reason:x(B)})});break;case k.ENQUEUE:if((0,w.assert)(L,"enqueue should have stream controller"),L.isClosed)break;L.controller.enqueue(n.chunk);break;case k.CLOSE:if((0,w.assert)(L,"close should have stream controller"),L.isClosed)break;L.isClosed=!0,L.controller.close(),this._deleteStreamController(L,c);break;case k.ERROR:(0,w.assert)(L,"error should have stream controller"),L.controller.error(x(n.reason)),this._deleteStreamController(L,c);break;case k.CANCEL_COMPLETE:n.success?L.cancelCall.resolve():L.cancelCall.reject(x(n.reason)),this._deleteStreamController(L,c);break;case k.CANCEL:if(!O)break;new Promise(function(B){B(O.onCancel&&O.onCancel(x(n.reason)))}).then(function(){e.postMessage({sourceName:R,targetName:v,stream:k.CANCEL_COMPLETE,streamId:c,success:!0})},function(B){e.postMessage({sourceName:R,targetName:v,stream:k.CANCEL_COMPLETE,streamId:c,reason:x(B)})}),O.sinkCapability.reject(x(n.reason)),O.isCancelled=!0,delete this.streamSinks[c];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(n,c){await Promise.allSettled([n.startCall&&n.startCall.promise,n.pullCall&&n.pullCall.promise,n.cancelCall&&n.cancelCall.promise]),delete this.streamControllers[c]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}r.MessageHandler=a},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.Metadata=void 0;var w=m(1);function U(L,O,B){k(L,O),O.set(L,B)}function k(L,O){if(O.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function x(L,O){var B=n(L,O,"get");return a(L,B)}function a(L,O){return O.get?O.get.call(L):O.value}function g(L,O,B){var P=n(L,O,"set");return c(L,P,B),B}function n(L,O,B){if(!O.has(L))throw new TypeError("attempted to "+B+" private field on non-instance");return O.get(L)}function c(L,O,B){if(O.set)O.set.call(L,B);else{if(!O.writable)throw new TypeError("attempted to set read only private field");O.value=B}}var R=new WeakMap,v=new WeakMap;class e{constructor(O){let{parsedData:B,rawData:P}=O;U(this,R,{writable:!0,value:void 0}),U(this,v,{writable:!0,value:void 0}),g(this,R,B),g(this,v,P)}getRaw(){return x(this,v)}get(O){var B;return(B=x(this,R).get(O))!==null&&B!==void 0?B:null}getAll(){return(0,w.objectFromMap)(x(this,R))}has(O){return x(this,R).has(O)}}r.Metadata=e},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.OptionalContentConfig=void 0;var w=m(1);function U(M,F){a(M,F),F.add(M)}function k(M,F,N){if(!F.has(M))throw new TypeError("attempted to get private field on non-instance");return N}function x(M,F,N){a(M,F),F.set(M,N)}function a(M,F){if(F.has(M))throw new TypeError("Cannot initialize the same private elements twice on an object")}function g(M,F,N){var G=R(M,F,"set");return n(M,G,N),N}function n(M,F,N){if(F.set)F.set.call(M,N);else{if(!F.writable)throw new TypeError("attempted to set read only private field");F.value=N}}function c(M,F){var N=R(M,F,"get");return v(M,N)}function R(M,F,N){if(!F.has(M))throw new TypeError("attempted to "+N+" private field on non-instance");return F.get(M)}function v(M,F){return F.get?F.get.call(M):F.value}const e=Symbol("INTERNAL");var L=new WeakMap;class O{constructor(F,N){x(this,L,{writable:!0,value:!0}),this.name=F,this.intent=N}get visible(){return c(this,L)}_setVisible(F,N){F!==e&&(0,w.unreachable)("Internal method `_setVisible` called."),g(this,L,N)}}var B=new WeakMap,P=new WeakMap,S=new WeakMap,_=new WeakMap,l=new WeakSet;class y{constructor(F){if(U(this,l),x(this,B,{writable:!0,value:!0}),x(this,P,{writable:!0,value:new Map}),x(this,S,{writable:!0,value:null}),x(this,_,{writable:!0,value:null}),this.name=null,this.creator=null,F!==null){this.name=F.name,this.creator=F.creator,g(this,_,F.order);for(const N of F.groups)c(this,P).set(N.id,new O(N.name,N.intent));if(F.baseState==="OFF")for(const N of c(this,P).values())N._setVisible(e,!1);for(const N of F.on)c(this,P).get(N)._setVisible(e,!0);for(const N of F.off)c(this,P).get(N)._setVisible(e,!1);g(this,S,new Map);for(const[N,G]of c(this,P))c(this,S).set(N,G.visible)}}isVisible(F){if(c(this,P).size===0)return!0;if(!F)return(0,w.warn)("Optional content group not defined."),!0;if(F.type==="OCG")return c(this,P).has(F.id)?c(this,P).get(F.id).visible:((0,w.warn)(`Optional content group not found: ${F.id}`),!0);if(F.type==="OCMD"){if(F.expression)return k(this,l,D).call(this,F.expression);if(!F.policy||F.policy==="AnyOn"){for(const N of F.ids){if(!c(this,P).has(N))return(0,w.warn)(`Optional content group not found: ${N}`),!0;if(c(this,P).get(N).visible)return!0}return!1}else if(F.policy==="AllOn"){for(const N of F.ids){if(!c(this,P).has(N))return(0,w.warn)(`Optional content group not found: ${N}`),!0;if(!c(this,P).get(N).visible)return!1}return!0}else if(F.policy==="AnyOff"){for(const N of F.ids){if(!c(this,P).has(N))return(0,w.warn)(`Optional content group not found: ${N}`),!0;if(!c(this,P).get(N).visible)return!0}return!1}else if(F.policy==="AllOff"){for(const N of F.ids){if(!c(this,P).has(N))return(0,w.warn)(`Optional content group not found: ${N}`),!0;if(c(this,P).get(N).visible)return!1}return!0}return(0,w.warn)(`Unknown optional content policy ${F.policy}.`),!0}return(0,w.warn)(`Unknown group type ${F.type}.`),!0}setVisibility(F){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!c(this,P).has(F)){(0,w.warn)(`Optional content group not found: ${F}`);return}c(this,P).get(F)._setVisible(e,!!N),g(this,B,null)}get hasInitialVisibility(){if(c(this,B)!==null)return c(this,B);for(const[F,N]of c(this,P)){const G=c(this,S).get(F);if(N.visible!==G)return g(this,B,!1)}return g(this,B,!0)}getOrder(){return c(this,P).size?c(this,_)?c(this,_).slice():[...c(this,P).keys()]:null}getGroups(){return c(this,P).size>0?(0,w.objectFromMap)(c(this,P)):null}getGroup(F){return c(this,P).get(F)||null}}r.OptionalContentConfig=y;function D(M){const F=M.length;if(F<2)return!0;const N=M[0];for(let G=1;G{Object.defineProperty(r,"__esModule",{value:!0}),r.PDFDataTransportStream=void 0;var w=m(1),U=m(133);class k{constructor(n,c){(0,w.assert)(c,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=n.progressiveDone||!1,this._contentDispositionFilename=n.contentDispositionFilename||null;const R=n.initialData;if((R==null?void 0:R.length)>0){const v=new Uint8Array(R).buffer;this._queuedChunks.push(v)}this._pdfDataRangeTransport=c,this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._contentLength=n.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((v,e)=>{this._onReceiveData({begin:v,chunk:e})}),this._pdfDataRangeTransport.addProgressListener((v,e)=>{this._onProgress({loaded:v,total:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(v=>{this._onReceiveData({chunk:v})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(n){const c=new Uint8Array(n.chunk).buffer;if(n.begin===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(c):this._queuedChunks.push(c);else{const R=this._rangeReaders.some(function(v){return v._begin!==n.begin?!1:(v._enqueue(c),!0)});(0,w.assert)(R,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var n,c;return(n=(c=this._fullRequestReader)===null||c===void 0?void 0:c._loaded)!==null&&n!==void 0?n:0}_onProgress(n){if(n.total===void 0){const c=this._rangeReaders[0];c!=null&&c.onProgress&&c.onProgress({loaded:n.loaded})}else{const c=this._fullRequestReader;c!=null&&c.onProgress&&c.onProgress({loaded:n.loaded,total:n.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(n){const c=this._rangeReaders.indexOf(n);c>=0&&this._rangeReaders.splice(c,1)}getFullReader(){(0,w.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const n=this._queuedChunks;return this._queuedChunks=null,new x(this,n,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(n,c){if(c<=this._progressiveDataLength)return null;const R=new a(this,n,c);return this._pdfDataRangeTransport.requestDataRange(n,c),this._rangeReaders.push(R),R}cancelAllRequests(n){this._fullRequestReader&&this._fullRequestReader.cancel(n);for(const c of this._rangeReaders.slice(0))c.cancel(n);this._pdfDataRangeTransport.abort()}}r.PDFDataTransportStream=k;class x{constructor(n,c){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;this._stream=n,this._done=R||!1,this._filename=(0,U.isPdfFile)(v)?v:null,this._queuedChunks=c||[],this._loaded=0;for(const e of this._queuedChunks)this._loaded+=e.byteLength;this._requests=[],this._headersReady=Promise.resolve(),n._fullRequestReader=this,this.onProgress=null}_enqueue(n){this._done||(this._requests.length>0?this._requests.shift().resolve({value:n,done:!1}):this._queuedChunks.push(n),this._loaded+=n.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const n=(0,w.createPromiseCapability)();return this._requests.push(n),n.promise}cancel(n){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class a{constructor(n,c,R){this._stream=n,this._begin=c,this._end=R,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(n){if(!this._done){if(this._requests.length===0)this._queuedChunk=n;else{this._requests.shift().resolve({value:n,done:!1});for(const R of this._requests)R.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const c=this._queuedChunk;return this._queuedChunk=null,{value:c,done:!1}}if(this._done)return{value:void 0,done:!0};const n=(0,w.createPromiseCapability)();return this._requests.push(n),n.promise}cancel(n){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(b,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.XfaText=void 0;class m{static textContent(U){const k=[],x={items:k,styles:Object.create(null)};function a(g){var n;if(!g)return;let c=null;const R=g.name;if(R==="#text")c=g.value;else if(m.shouldBuildText(R))g!=null&&(n=g.attributes)!==null&&n!==void 0&&n.textContent?c=g.attributes.textContent:g.value&&(c=g.value);else return;if(c!==null&&k.push({str:c}),!!g.children)for(const v of g.children)a(v)}return a(U),x}static shouldBuildText(U){return!(U==="textarea"||U==="input"||U==="option"||U==="select")}}r.XfaText=m},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.NodeStandardFontDataFactory=r.NodeCanvasFactory=r.NodeCMapReaderFactory=void 0;var w=m(134);const U=function(g){return new Promise((n,c)=>{require$$7.readFile(g,(v,e)=>{if(v||!e){c(new Error(v));return}n(new Uint8Array(e))})})};class k extends w.BaseCanvasFactory{_createCanvas(n,c){return require$$7.createCanvas(n,c)}}r.NodeCanvasFactory=k;class x extends w.BaseCMapReaderFactory{_fetchData(n,c){return U(n).then(R=>({cMapData:R,compressionType:c}))}}r.NodeCMapReaderFactory=x;class a extends w.BaseStandardFontDataFactory{_fetchData(n){return U(n)}}r.NodeStandardFontDataFactory=a},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.AnnotationEditorLayer=void 0;var w=m(132),U=m(1),k=m(148),x=m(149);function a(q,$){c(q,$),$.add(q)}function g(q,$,fe){return $ in q?Object.defineProperty(q,$,{value:fe,enumerable:!0,configurable:!0,writable:!0}):q[$]=fe,q}function n(q,$,fe){c(q,$),$.set(q,fe)}function c(q,$){if($.has(q))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(q,$,fe){if(!$.has(q))throw new TypeError("attempted to get private field on non-instance");return fe}function v(q,$){var fe=O(q,$,"get");return e(q,fe)}function e(q,$){return $.get?$.get.call(q):$.value}function L(q,$,fe){var Q=O(q,$,"set");return B(q,Q,fe),fe}function O(q,$,fe){if(!$.has(q))throw new TypeError("attempted to "+fe+" private field on non-instance");return $.get(q)}function B(q,$,fe){if($.set)$.set.call(q,fe);else{if(!$.writable)throw new TypeError("attempted to set read only private field");$.value=fe}}var P=new WeakMap,S=new WeakMap,_=new WeakMap,l=new WeakMap,y=new WeakMap,D=new WeakMap,M=new WeakMap,F=new WeakMap,N=new WeakSet,G=new WeakSet,W=new WeakSet,J=new WeakSet;class Y{constructor($){a(this,J),a(this,W),a(this,G),a(this,N),n(this,P,{writable:!0,value:void 0}),n(this,S,{writable:!0,value:!1}),n(this,_,{writable:!0,value:this.pointerup.bind(this)}),n(this,l,{writable:!0,value:this.pointerdown.bind(this)}),n(this,y,{writable:!0,value:new Map}),n(this,D,{writable:!0,value:!1}),n(this,M,{writable:!0,value:!1}),n(this,F,{writable:!0,value:void 0}),Y._initialized||(Y._initialized=!0,k.FreeTextEditor.initialize($.l10n),x.InkEditor.initialize($.l10n),$.uiManager.registerEditorTypes([k.FreeTextEditor,x.InkEditor])),L(this,F,$.uiManager),this.annotationStorage=$.annotationStorage,this.pageIndex=$.pageIndex,this.div=$.div,L(this,P,$.accessibilityManager),v(this,F).addLayer(this)}updateToolbar($){v(this,F).updateToolbar($)}updateMode(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v(this,F).getMode();R(this,J,X).call(this),$===U.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),v(this,F).unselectAll()}addInkEditorIfNeeded($){if(!$&&v(this,F).getMode()!==U.AnnotationEditorType.INK)return;if(!$){for(const Q of v(this,y).values())if(Q.isEmpty()){Q.setInBackground();return}}R(this,W,z).call(this,{offsetX:0,offsetY:0}).setInBackground()}setEditingState($){v(this,F).setEditingState($)}addCommands($){v(this,F).addCommands($)}enable(){this.div.style.pointerEvents="auto";for(const $ of v(this,y).values())$.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const $ of v(this,y).values())$.disableEditing()}setActiveEditor($){v(this,F).getActive()!==$&&v(this,F).setActiveEditor($)}enableClick(){this.div.addEventListener("pointerdown",v(this,l)),this.div.addEventListener("pointerup",v(this,_))}disableClick(){this.div.removeEventListener("pointerdown",v(this,l)),this.div.removeEventListener("pointerup",v(this,_))}attach($){v(this,y).set($.id,$)}detach($){var fe;v(this,y).delete($.id),(fe=v(this,P))===null||fe===void 0||fe.removePointerInTextLayer($.contentDiv)}remove($){v(this,F).removeEditor($),this.detach($),this.annotationStorage.remove($.id),$.div.style.display="none",setTimeout(()=>{$.div.style.display="",$.div.remove(),$.isAttachedToDOM=!1,document.activeElement===document.body&&v(this,F).focusMainContainer()},0),v(this,M)||this.addInkEditorIfNeeded(!1)}add($){if(R(this,N,V).call(this,$),v(this,F).addEditor($),this.attach($),!$.isAttachedToDOM){const fe=$.render();this.div.append(fe),$.isAttachedToDOM=!0}this.moveEditorInDOM($),$.onceAdded(),this.addToAnnotationStorage($)}moveEditorInDOM($){var fe;(fe=v(this,P))===null||fe===void 0||fe.moveElementInDOM(this.div,$.div,$.contentDiv,!0)}addToAnnotationStorage($){!$.isEmpty()&&!this.annotationStorage.has($.id)&&this.annotationStorage.setValue($.id,$)}addOrRebuild($){$.needsToBeRebuilt()?$.rebuild():this.add($)}addANewEditor($){const fe=()=>{this.addOrRebuild($)},Q=()=>{$.remove()};this.addCommands({cmd:fe,undo:Q,mustExec:!0})}addUndoableEditor($){const fe=()=>{this.addOrRebuild($)},Q=()=>{$.remove()};this.addCommands({cmd:fe,undo:Q,mustExec:!1})}getNextId(){return v(this,F).getId()}deserialize($){switch($.annotationType){case U.AnnotationEditorType.FREETEXT:return k.FreeTextEditor.deserialize($,this);case U.AnnotationEditorType.INK:return x.InkEditor.deserialize($,this)}return null}setSelected($){v(this,F).setSelected($)}toggleSelected($){v(this,F).toggleSelected($)}isSelected($){return v(this,F).isSelected($)}unselect($){v(this,F).unselect($)}pointerup($){const fe=w.KeyboardManager.platform.isMac;if(!($.button!==0||$.ctrlKey&&fe)&&$.target===this.div&&v(this,D)){if(L(this,D,!1),!v(this,S)){L(this,S,!0);return}R(this,W,z).call(this,$)}}pointerdown($){const fe=w.KeyboardManager.platform.isMac;if($.button!==0||$.ctrlKey&&fe||$.target!==this.div)return;L(this,D,!0);const Q=v(this,F).getActive();L(this,S,!Q||Q.isEmpty())}drop($){const fe=$.dataTransfer.getData("text/plain"),Q=v(this,F).getEditor(fe);if(!Q)return;$.preventDefault(),$.dataTransfer.dropEffect="move",R(this,N,V).call(this,Q);const ie=this.div.getBoundingClientRect(),Te=$.clientX-ie.x,me=$.clientY-ie.y;Q.translate(Te-Q.startX,me-Q.startY),this.moveEditorInDOM(Q),Q.div.focus()}dragover($){$.preventDefault()}destroy(){var $;(($=v(this,F).getActive())===null||$===void 0?void 0:$.parent)===this&&v(this,F).setActiveEditor(null);for(const Q of v(this,y).values()){var fe;(fe=v(this,P))===null||fe===void 0||fe.removePointerInTextLayer(Q.contentDiv),Q.isAttachedToDOM=!1,Q.div.remove(),Q.parent=null}this.div=null,v(this,y).clear(),v(this,F).removeLayer(this)}render($){this.viewport=$.viewport,(0,w.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const fe of v(this,F).getEditors(this.pageIndex))this.add(fe);this.updateMode()}update($){this.viewport=$.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[$,fe,Q,ie]=this.viewport.viewBox,Te=Q-$,me=ie-fe;return[Te,me]}get viewportBaseDimensions(){const{width:$,height:fe,rotation:Q}=this.viewport;return Q%180===0?[$,fe]:[fe,$]}setDimensions(){const{width:$,height:fe,rotation:Q}=this.viewport,ie=Q%180!==0,Te=Math.floor($)+"px",me=Math.floor(fe)+"px";this.div.style.width=ie?me:Te,this.div.style.height=ie?Te:me,this.div.setAttribute("data-main-rotation",Q)}}r.AnnotationEditorLayer=Y;function V(q){var $;q.parent!==this&&(this.attach(q),q.pageIndex=this.pageIndex,($=q.parent)===null||$===void 0||$.detach(q),q.parent=this,q.div&&q.isAttachedToDOM&&(q.div.remove(),this.div.append(q.div)))}function H(q){switch(v(this,F).getMode()){case U.AnnotationEditorType.FREETEXT:return new k.FreeTextEditor(q);case U.AnnotationEditorType.INK:return new x.InkEditor(q)}return null}function z(q){const $=this.getNextId(),fe=R(this,G,H).call(this,{parent:this,id:$,x:q.offsetX,y:q.offsetY});return fe&&this.add(fe),fe}function X(){L(this,M,!0);for(const q of v(this,y).values())q.isEmpty()&&q.remove();L(this,M,!1)}g(Y,"_initialized",!1)},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.FreeTextEditor=void 0;var w=m(1),U=m(132),k=m(131);function x(z,X){n(z,X),X.add(z)}function a(z,X,q){return X in z?Object.defineProperty(z,X,{value:q,enumerable:!0,configurable:!0,writable:!0}):z[X]=q,z}function g(z,X,q){n(z,X),X.set(z,q)}function n(z,X){if(X.has(z))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(z,X){var q=L(z,X,"get");return R(z,q)}function R(z,X){return X.get?X.get.call(z):X.value}function v(z,X,q){if(!X.has(z))throw new TypeError("attempted to get private field on non-instance");return q}function e(z,X,q){var $=L(z,X,"set");return O(z,$,q),q}function L(z,X,q){if(!X.has(z))throw new TypeError("attempted to "+q+" private field on non-instance");return X.get(z)}function O(z,X,q){if(X.set)X.set.call(z,q);else{if(!X.writable)throw new TypeError("attempted to set read only private field");X.value=q}}var B=new WeakMap,P=new WeakMap,S=new WeakMap,_=new WeakMap,l=new WeakMap,y=new WeakMap,D=new WeakMap,M=new WeakSet,F=new WeakSet,N=new WeakSet,G=new WeakSet;class W extends k.AnnotationEditor{constructor(X){super({...X,name:"freeTextEditor"}),x(this,G),x(this,N),x(this,F),x(this,M),g(this,B,{writable:!0,value:this.editorDivBlur.bind(this)}),g(this,P,{writable:!0,value:this.editorDivFocus.bind(this)}),g(this,S,{writable:!0,value:this.editorDivKeydown.bind(this)}),g(this,_,{writable:!0,value:void 0}),g(this,l,{writable:!0,value:""}),g(this,y,{writable:!0,value:!1}),g(this,D,{writable:!0,value:void 0}),e(this,_,X.color||W._defaultColor||k.AnnotationEditor._defaultLineColor),e(this,D,X.fontSize||W._defaultFontSize)}static initialize(X){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map($=>[$,X.get($)]));const q=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(q.getPropertyValue("--freetext-padding"))}static updateDefaultParams(X,q){switch(X){case w.AnnotationEditorParamsType.FREETEXT_SIZE:W._defaultFontSize=q;break;case w.AnnotationEditorParamsType.FREETEXT_COLOR:W._defaultColor=q;break}}updateParams(X,q){switch(X){case w.AnnotationEditorParamsType.FREETEXT_SIZE:v(this,M,J).call(this,q);break;case w.AnnotationEditorParamsType.FREETEXT_COLOR:v(this,F,Y).call(this,q);break}}static get defaultPropertiesToUpdate(){return[[w.AnnotationEditorParamsType.FREETEXT_SIZE,W._defaultFontSize],[w.AnnotationEditorParamsType.FREETEXT_COLOR,W._defaultColor||k.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[w.AnnotationEditorParamsType.FREETEXT_SIZE,c(this,D)],[w.AnnotationEditorParamsType.FREETEXT_COLOR,c(this,_)]]}getInitialTranslation(){return[-W._internalPadding*this.parent.scaleFactor,-(W._internalPadding+c(this,D))*this.parent.scaleFactor]}rebuild(){super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(w.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",c(this,S)),this.editorDiv.addEventListener("focus",c(this,P)),this.editorDiv.addEventListener("blur",c(this,B)))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",c(this,S)),this.editorDiv.removeEventListener("focus",c(this,P)),this.editorDiv.removeEventListener("blur",c(this,B)),this.div.focus(),this.isEditing=!1)}focusin(X){super.focusin(X),X.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}commit(){super.commit(),c(this,y)||(e(this,y,!0),this.parent.addUndoableEditor(this)),this.disableEditMode(),e(this,l,v(this,N,V).call(this).trimEnd()),v(this,G,H).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}dblclick(X){this.enableEditMode(),this.editorDiv.focus()}keydown(X){X.target===this.div&&X.key==="Enter"&&(this.enableEditMode(),this.editorDiv.focus())}editorDivKeydown(X){W._keyboardManager.exec(this,X)}editorDivFocus(X){this.isEditing=!0}editorDivBlur(X){this.isEditing=!1}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let X,q;this.width&&(X=this.x,q=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",`${this.id}-editor`),this.enableEditing(),W._l10nPromise.get("editor_free_text_aria_label").then(fe=>{var Q;return(Q=this.editorDiv)===null||Q===void 0?void 0:Q.setAttribute("aria-label",fe)}),W._l10nPromise.get("free_text_default_content").then(fe=>{var Q;return(Q=this.editorDiv)===null||Q===void 0?void 0:Q.setAttribute("default-content",fe)}),this.editorDiv.contentEditable=!0;const{style:$}=this.editorDiv;if($.fontSize=`calc(${c(this,D)}px * var(--scale-factor))`,$.color=c(this,_),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,U.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[fe,Q]=this.parent.viewportBaseDimensions;this.setAt(X*fe,q*Q,this.width*fe,this.height*Q);for(const ie of c(this,l).split(` +`)){const Te=document.createElement("div");Te.append(ie?document.createTextNode(ie):document.createElement("br")),this.editorDiv.append(Te)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(X,q){const $=super.deserialize(X,q);return e($,D,X.fontSize),e($,_,w.Util.makeHexColor(...X.color)),e($,l,X.value),$}serialize(){if(this.isEmpty())return null;const X=W._internalPadding*this.parent.scaleFactor,q=this.getRect(X,X),$=k.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:w.AnnotationEditorType.FREETEXT,color:$,fontSize:c(this,D),value:c(this,l),pageIndex:this.parent.pageIndex,rect:q,rotation:this.rotation}}}r.FreeTextEditor=W;function J(z){const X=$=>{this.editorDiv.style.fontSize=`calc(${$}px * var(--scale-factor))`,this.translate(0,-($-c(this,D))*this.parent.scaleFactor),e(this,D,$),v(this,G,H).call(this)},q=c(this,D);this.parent.addCommands({cmd:()=>{X(z)},undo:()=>{X(q)},mustExec:!0,type:w.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}function Y(z){const X=c(this,_);this.parent.addCommands({cmd:()=>{e(this,_,z),this.editorDiv.style.color=z},undo:()=>{e(this,_,X),this.editorDiv.style.color=X},mustExec:!0,type:w.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function V(){const z=this.editorDiv.getElementsByTagName("div");if(z.length===0)return this.editorDiv.innerText;const X=[];for(let q=0,$=z.length;q<$;q++){const Q=z[q].firstChild;(Q==null?void 0:Q.nodeName)==="#text"?X.push(Q.data):X.push("")}return X.join(` +`)}function H(){const[z,X]=this.parent.viewportBaseDimensions,q=this.div.getBoundingClientRect();this.width=q.width/z,this.height=q.height/X}a(W,"_freeTextDefaultContent",""),a(W,"_l10nPromise",void 0),a(W,"_internalPadding",0),a(W,"_defaultColor",null),a(W,"_defaultFontSize",10),a(W,"_keyboardManager",new U.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],W.prototype.commitOrRemove]])),a(W,"_type","freetext")},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.InkEditor=void 0,Object.defineProperty(r,"fitCurve",{enumerable:!0,get:function(){return k.fitCurve}});var w=m(1),U=m(131),k=m(150),x=m(132);function a(Xe,ze){c(Xe,ze),ze.add(Xe)}function g(Xe,ze,Ye){return ze in Xe?Object.defineProperty(Xe,ze,{value:Ye,enumerable:!0,configurable:!0,writable:!0}):Xe[ze]=Ye,Xe}function n(Xe,ze,Ye){c(Xe,ze),ze.set(Xe,Ye)}function c(Xe,ze){if(ze.has(Xe))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(Xe,ze,Ye){return v(Xe,ze),Ye}function v(Xe,ze){if(Xe!==ze)throw new TypeError("Private static access of wrong provenance")}function e(Xe,ze,Ye){var st=B(Xe,ze,"set");return L(Xe,st,Ye),Ye}function L(Xe,ze,Ye){if(ze.set)ze.set.call(Xe,Ye);else{if(!ze.writable)throw new TypeError("attempted to set read only private field");ze.value=Ye}}function O(Xe,ze){var Ye=B(Xe,ze,"get");return P(Xe,Ye)}function B(Xe,ze,Ye){if(!ze.has(Xe))throw new TypeError("attempted to "+Ye+" private field on non-instance");return ze.get(Xe)}function P(Xe,ze){return ze.get?ze.get.call(Xe):ze.value}function S(Xe,ze,Ye){if(!ze.has(Xe))throw new TypeError("attempted to get private field on non-instance");return Ye}const _=16;var l=new WeakMap,y=new WeakMap,D=new WeakMap,M=new WeakMap,F=new WeakMap,N=new WeakMap,G=new WeakMap,W=new WeakMap,J=new WeakMap,Y=new WeakMap,V=new WeakMap,H=new WeakMap,z=new WeakMap,X=new WeakMap,q=new WeakSet,$=new WeakSet,fe=new WeakSet,Q=new WeakSet,ie=new WeakSet,Te=new WeakSet,me=new WeakSet,K=new WeakSet,ce=new WeakSet,de=new WeakSet,Z=new WeakSet,ae=new WeakSet,he=new WeakSet,we=new WeakSet,_e=new WeakSet,ye=new WeakSet,se=new WeakSet,Ie=new WeakSet,Ce=new WeakSet,oe=new WeakSet,pe=new WeakSet,xe=new WeakSet;class Ne extends U.AnnotationEditor{constructor(ze){super({...ze,name:"inkEditor"}),a(this,xe),a(this,pe),a(this,oe),a(this,Ce),a(this,Ie),a(this,se),a(this,ye),a(this,_e),a(this,we),a(this,he),a(this,ae),a(this,Z),a(this,de),a(this,ce),a(this,K),a(this,me),a(this,Te),a(this,ie),a(this,Q),a(this,fe),a(this,$),a(this,q),n(this,l,{writable:!0,value:0}),n(this,y,{writable:!0,value:0}),n(this,D,{writable:!0,value:0}),n(this,M,{writable:!0,value:this.canvasPointermove.bind(this)}),n(this,F,{writable:!0,value:this.canvasPointerleave.bind(this)}),n(this,N,{writable:!0,value:this.canvasPointerup.bind(this)}),n(this,G,{writable:!0,value:this.canvasPointerdown.bind(this)}),n(this,W,{writable:!0,value:!1}),n(this,J,{writable:!0,value:!1}),n(this,Y,{writable:!0,value:null}),n(this,V,{writable:!0,value:null}),n(this,H,{writable:!0,value:0}),n(this,z,{writable:!0,value:0}),n(this,X,{writable:!0,value:null}),this.color=ze.color||null,this.thickness=ze.thickness||null,this.opacity=ze.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(ze){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(Ye=>[Ye,ze.get(Ye)]))}static updateDefaultParams(ze,Ye){switch(ze){case w.AnnotationEditorParamsType.INK_THICKNESS:Ne._defaultThickness=Ye;break;case w.AnnotationEditorParamsType.INK_COLOR:Ne._defaultColor=Ye;break;case w.AnnotationEditorParamsType.INK_OPACITY:Ne._defaultOpacity=Ye/100;break}}updateParams(ze,Ye){switch(ze){case w.AnnotationEditorParamsType.INK_THICKNESS:S(this,q,ke).call(this,Ye);break;case w.AnnotationEditorParamsType.INK_COLOR:S(this,$,De).call(this,Ye);break;case w.AnnotationEditorParamsType.INK_OPACITY:S(this,fe,Fe).call(this,Ye);break}}static get defaultPropertiesToUpdate(){return[[w.AnnotationEditorParamsType.INK_THICKNESS,Ne._defaultThickness],[w.AnnotationEditorParamsType.INK_COLOR,Ne._defaultColor||U.AnnotationEditor._defaultLineColor],[w.AnnotationEditorParamsType.INK_OPACITY,Math.round(Ne._defaultOpacity*100)]]}get propertiesToUpdate(){var ze;return[[w.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||Ne._defaultThickness],[w.AnnotationEditorParamsType.INK_COLOR,this.color||Ne._defaultColor||U.AnnotationEditor._defaultLineColor],[w.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*((ze=this.opacity)!==null&&ze!==void 0?ze:Ne._defaultOpacity))]]}rebuild(){super.rebuild(),this.div!==null&&(this.canvas||(S(this,Z,$e).call(this),S(this,ae,Ue).call(this)),this.isAttachedToDOM||(this.parent.add(this),S(this,he,He).call(this)),S(this,pe,at).call(this))}remove(){this.canvas!==null&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,O(this,V).disconnect(),e(this,V,null),super.remove())}enableEditMode(){O(this,W)||this.canvas===null||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",O(this,G)),this.canvas.addEventListener("pointerup",O(this,N)))}disableEditMode(){!this.isInEditMode()||this.canvas===null||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",O(this,G)),this.canvas.removeEventListener("pointerup",O(this,N)))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return this.paths.length===0||this.paths.length===1&&this.paths[0].length===0}commit(){O(this,W)||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),e(this,W,!0),this.div.classList.add("disabled"),S(this,pe,at).call(this,!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(ze){super.focusin(ze),this.enableEditMode()}canvasPointerdown(ze){ze.button!==0||!this.isInEditMode()||O(this,W)||(this.setInForeground(),ze.type!=="mouse"&&this.div.focus(),ze.stopPropagation(),this.canvas.addEventListener("pointerleave",O(this,F)),this.canvas.addEventListener("pointermove",O(this,M)),S(this,Te,Le).call(this,ze.offsetX,ze.offsetY))}canvasPointermove(ze){ze.stopPropagation(),S(this,me,Oe).call(this,ze.offsetX,ze.offsetY)}canvasPointerup(ze){ze.button===0&&this.isInEditMode()&&this.currentPath.length!==0&&(ze.stopPropagation(),S(this,de,Ve).call(this,ze),this.setInBackground())}canvasPointerleave(ze){S(this,de,Ve).call(this,ze),this.setInBackground()}render(){if(this.div)return this.div;let ze,Ye;this.width&&(ze=this.x,Ye=this.y),super.render(),Ne._l10nPromise.get("editor_ink_aria_label").then(ut=>{var rt;return(rt=this.div)===null||rt===void 0?void 0:rt.setAttribute("aria-label",ut)});const[st,_t,ft,Ct]=S(this,Q,Pe).call(this);if(this.setAt(st,_t,0,0),this.setDims(ft,Ct),S(this,Z,$e).call(this),this.width){const[ut,rt]=this.parent.viewportBaseDimensions;this.setAt(ze*ut,Ye*rt,this.width*ut,this.height*rt),e(this,J,!0),S(this,he,He).call(this),this.setDims(this.width*ut,this.height*rt),S(this,ce,Ae).call(this),S(this,xe,ot).call(this),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return S(this,ae,Ue).call(this),this.div}setDimensions(ze,Ye){const st=Math.round(ze),_t=Math.round(Ye);if(O(this,H)===st&&O(this,z)===_t)return;e(this,H,st),e(this,z,_t),this.canvas.style.visibility="hidden",O(this,l)&&Math.abs(O(this,l)-ze/Ye)>.01&&(Ye=Math.ceil(ze/O(this,l)),this.setDims(ze,Ye));const[ft,Ct]=this.parent.viewportBaseDimensions;this.width=ze/ft,this.height=Ye/Ct,O(this,W)&&S(this,we,Qe).call(this,ze,Ye),S(this,he,He).call(this),S(this,ce,Ae).call(this),this.canvas.style.visibility="visible"}static deserialize(ze,Ye){const st=super.deserialize(ze,Ye);st.thickness=ze.thickness,st.color=w.Util.makeHexColor(...ze.color),st.opacity=ze.opacity;const[_t,ft]=Ye.pageDimensions,Ct=st.width*_t,ut=st.height*ft,rt=Ye.scaleFactor,mt=ze.thickness/2;e(st,l,Ct/ut),e(st,W,!0),e(st,H,Math.round(Ct)),e(st,z,Math.round(ut));for(const{bezier:dt}of ze.paths){const Nt=[];st.paths.push(Nt);let kt=rt*(dt[0]-mt),Ut=rt*(ut-dt[1]-mt);for(let Kt=2,qt=dt.length;Kt{this.thickness=Xe,S(this,pe,at).call(this)},undo:()=>{this.thickness=ze,S(this,pe,at).call(this)},mustExec:!0,type:w.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}function De(Xe){const ze=this.color;this.parent.addCommands({cmd:()=>{this.color=Xe,S(this,ce,Ae).call(this)},undo:()=>{this.color=ze,S(this,ce,Ae).call(this)},mustExec:!0,type:w.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function Fe(Xe){Xe/=100;const ze=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=Xe,S(this,ce,Ae).call(this)},undo:()=>{this.opacity=ze,S(this,ce,Ae).call(this)},mustExec:!0,type:w.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}function Pe(){const{width:Xe,height:ze,rotation:Ye}=this.parent.viewport;switch(Ye){case 90:return[0,Xe,Xe,ze];case 180:return[Xe,ze,Xe,ze];case 270:return[ze,0,Xe,ze];default:return[0,0,Xe,ze]}}function qe(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,x.opacityToHex)(this.opacity)}`}function Le(Xe,ze){if(this.isEditing=!0,!O(this,J)){var Ye;e(this,J,!0),S(this,he,He).call(this),this.thickness||(this.thickness=Ne._defaultThickness),this.color||(this.color=Ne._defaultColor||U.AnnotationEditor._defaultLineColor),(Ye=this.opacity)!==null&&Ye!==void 0||(this.opacity=Ne._defaultOpacity)}this.currentPath.push([Xe,ze]),e(this,Y,null),S(this,ie,qe).call(this),this.ctx.beginPath(),this.ctx.moveTo(Xe,ze),e(this,X,()=>{O(this,X)&&(O(this,Y)&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):S(this,ce,Ae).call(this),this.ctx.lineTo(...O(this,Y)),e(this,Y,null),this.ctx.stroke()),window.requestAnimationFrame(O(this,X)))}),window.requestAnimationFrame(O(this,X))}function Oe(Xe,ze){const[Ye,st]=this.currentPath.at(-1);Xe===Ye&&ze===st||(this.currentPath.push([Xe,ze]),e(this,Y,[Xe,ze]))}function Ee(Xe,ze){this.ctx.closePath(),e(this,X,null),Xe=Math.min(Math.max(Xe,0),this.canvas.width),ze=Math.min(Math.max(ze,0),this.canvas.height);const[Ye,st]=this.currentPath.at(-1);(Xe!==Ye||ze!==st)&&this.currentPath.push([Xe,ze]);let _t;if(this.currentPath.length!==1)_t=(0,k.fitCurve)(this.currentPath,30,null);else{const rt=[Xe,ze];_t=[[rt,rt.slice(),rt.slice(),rt]]}const ft=R(Ne,Ne,et).call(Ne,_t);this.currentPath.length=0;const Ct=()=>{this.paths.push(_t),this.bezierPath2D.push(ft),this.rebuild()},ut=()=>{this.paths.pop(),this.bezierPath2D.pop(),this.paths.length===0?this.remove():(this.canvas||(S(this,Z,$e).call(this),S(this,ae,Ue).call(this)),S(this,pe,at).call(this))};this.parent.addCommands({cmd:Ct,undo:ut,mustExec:!0})}function Ae(){if(this.isEmpty()){S(this,_e,Ze).call(this);return}S(this,ie,qe).call(this);const{canvas:Xe,ctx:ze}=this;ze.setTransform(1,0,0,1,0,0),ze.clearRect(0,0,Xe.width,Xe.height),S(this,_e,Ze).call(this);for(const Ye of this.bezierPath2D)ze.stroke(Ye)}function Ve(Xe){S(this,K,Ee).call(this,Xe.offsetX,Xe.offsetY),this.canvas.removeEventListener("pointerleave",O(this,F)),this.canvas.removeEventListener("pointermove",O(this,M)),this.parent.addToAnnotationStorage(this)}function $e(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",Ne._l10nPromise.get("editor_ink_canvas_aria_label").then(Xe=>{var ze;return(ze=this.canvas)===null||ze===void 0?void 0:ze.setAttribute("aria-label",Xe)}),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}function Ue(){e(this,V,new ResizeObserver(Xe=>{const ze=Xe[0].contentRect;ze.width&&ze.height&&this.setDimensions(ze.width,ze.height)})),O(this,V).observe(this.div)}function He(){if(!O(this,J))return;const[Xe,ze]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*Xe),this.canvas.height=Math.ceil(this.height*ze),S(this,_e,Ze).call(this)}function Qe(Xe,ze){const Ye=S(this,oe,Ke).call(this),st=(Xe-Ye)/O(this,D),_t=(ze-Ye)/O(this,y);this.scaleFactor=Math.min(st,_t)}function Ze(){const Xe=S(this,oe,Ke).call(this)/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+Xe,this.translationY*this.scaleFactor+Xe)}function et(Xe){const ze=new Path2D;for(let Ye=0,st=Xe.length;Ye0&&arguments[0]!==void 0?arguments[0]:!1;if(this.isEmpty())return;if(!O(this,W)){S(this,ce,Ae).call(this);return}const ze=S(this,Ce,nt).call(this),Ye=S(this,oe,Ke).call(this);e(this,D,Math.max(_,ze[2]-ze[0])),e(this,y,Math.max(_,ze[3]-ze[1]));const st=Math.ceil(Ye+O(this,D)*this.scaleFactor),_t=Math.ceil(Ye+O(this,y)*this.scaleFactor),[ft,Ct]=this.parent.viewportBaseDimensions;this.width=st/ft,this.height=_t/Ct,e(this,l,st/_t),S(this,xe,ot).call(this);const ut=this.translationX,rt=this.translationY;this.translationX=-ze[0],this.translationY=-ze[1],S(this,he,He).call(this),S(this,ce,Ae).call(this),e(this,H,st),e(this,z,_t),this.setDims(st,_t);const mt=Xe?Ye/this.scaleFactor/2:0;this.translate(ut-this.translationX-mt,rt-this.translationY-mt)}function ot(){const{style:Xe}=this.div;O(this,l)>=1?(Xe.minHeight=`${_}px`,Xe.minWidth=`${Math.round(O(this,l)*_)}px`):(Xe.minWidth=`${_}px`,Xe.minHeight=`${Math.round(_/O(this,l))}px`)}g(Ne,"_defaultColor",null),g(Ne,"_defaultOpacity",1),g(Ne,"_defaultThickness",1),g(Ne,"_l10nPromise",void 0),g(Ne,"_type","ink")},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.fitCurve=void 0;const w=m(151);r.fitCurve=w},b=>{function r(L,O,B){if(!Array.isArray(L))throw new TypeError("First argument should be an array");if(L.forEach(l=>{if(!Array.isArray(l)||l.some(y=>typeof y!="number")||l.length!==L[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),L=L.filter((l,y)=>y===0||!l.every((D,M)=>D===L[y-1][M])),L.length<2)return[];const P=L.length,S=R(L[1],L[0]),_=R(L[P-2],L[P-1]);return m(L,S,_,O,B)}function m(L,O,B,P,S){var l,y,D,M,F,N,G,W,J,Y,V,H,z;if(L.length===2)return H=v.vectorLen(v.subtract(L[0],L[1]))/3,l=[L[0],v.addArrays(L[0],v.mulItems(O,H)),v.addArrays(L[1],v.mulItems(B,H)),L[1]],[l];if(y=a(L),[l,M,N]=w(L,y,y,O,B,S),M===0||M.9999&&X<1.0001)break}F=M,G=N}return V=[],W=v.subtract(L[N-1],L[N+1]),W.every(X=>X===0)&&(W=v.subtract(L[N-1],L[N]),[W[0],W[1]]=[-W[1],W[0]]),J=v.normalize(W),Y=v.mulItems(J,-1),V=V.concat(m(L.slice(0,N+1),O,J,P,S)),V=V.concat(m(L.slice(N),Y,B,P,S)),V}function w(L,O,B,P,S,_){var l,y,D;return l=U(L,B,P,S),[y,D]=g(L,l,O),_&&_({bez:l,points:L,params:O,maxErr:y,maxPoint:D}),[l,y,D]}function U(L,O,B,P){var S,_,l,y,D,M,F,N,G,W,J,Y,V,H,z,X,q,$=L[0],fe=L[L.length-1];for(S=[$,null,null,fe],_=v.zeros_Xx2x2(O.length),V=0,H=O.length;Vx(L,O[S],P))}function x(L,O,B){var P=v.subtract(e.q(L,B),O),S=e.qprime(L,B),_=v.mulMatrix(P,S),l=v.sum(v.squareItems(S))+2*v.mulMatrix(P,e.qprimeprime(L,B));return l===0?B:B-_/l}function a(L){var O=[],B,P,S;return L.forEach((_,l)=>{B=l?P+v.vectorLen(v.subtract(_,S)):0,O.push(B),P=B,S=_}),O=O.map(_=>_/P),O}function g(L,O,B){var P,S,_,l,y,D,M,F;S=0,_=Math.floor(L.length/2);const N=n(O,10);for(y=0,D=L.length;yS&&(S=P,_=y);return[S,_]}var n=function(L,O){for(var B,P=[0],S=L[0],_=0,l=1;l<=O;l++)B=e.q(L,l/O),_+=v.vectorLen(v.subtract(B,S)),P.push(_),S=B;return P=P.map(y=>y/_),P};function c(L,O,B,P){if(O<0)return 0;if(O>1)return 1;for(var S,_,l,y,D,M=1;M<=P;M++)if(O<=B[M]){y=(M-1)/P,l=M/P,_=B[M-1],S=B[M],D=(O-_)/(S-_)*(l-y)+y;break}return D}function R(L,O){return v.normalize(v.subtract(L,O))}class v{static zeros_Xx2x2(O){for(var B=[];O--;)B.push([0,0]);return B}static mulItems(O,B){return O.map(P=>P*B)}static mulMatrix(O,B){return O.reduce((P,S,_)=>P+S*B[_],0)}static subtract(O,B){return O.map((P,S)=>P-B[S])}static addArrays(O,B){return O.map((P,S)=>P+B[S])}static addItems(O,B){return O.map(P=>P+B)}static sum(O){return O.reduce((B,P)=>B+P)}static dot(O,B){return v.mulMatrix(O,B)}static vectorLen(O){return Math.hypot(...O)}static divItems(O,B){return O.map(P=>P/B)}static squareItems(O){return O.map(B=>B*B)}static normalize(O){return this.divItems(O,this.vectorLen(O))}}class e{static q(O,B){var P=1-B,S=v.mulItems(O[0],P*P*P),_=v.mulItems(O[1],3*P*P*B),l=v.mulItems(O[2],3*P*B*B),y=v.mulItems(O[3],B*B*B);return v.addArrays(v.addArrays(S,_),v.addArrays(l,y))}static qprime(O,B){var P=1-B,S=v.mulItems(v.subtract(O[1],O[0]),3*P*P),_=v.mulItems(v.subtract(O[2],O[1]),6*P*B),l=v.mulItems(v.subtract(O[3],O[2]),3*B*B);return v.addArrays(v.addArrays(S,_),l)}static qprimeprime(O,B){return v.addArrays(v.mulItems(v.addArrays(v.subtract(O[2],v.mulItems(O[1],2)),O[0]),6*(1-B)),v.mulItems(v.addArrays(v.subtract(O[3],v.mulItems(O[2],2)),O[1]),6*B))}}b.exports=r,b.exports.fitCubic=m,b.exports.createTangent=R},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.AnnotationLayer=void 0;var w=m(1),U=m(133),k=m(130),x=m(153),a=m(154);function g(Z,ae,he){return n(Z,ae),he}function n(Z,ae){if(Z!==ae)throw new TypeError("Private static access of wrong provenance")}const c=1e3,R=9,v=new WeakSet;function e(Z){return{width:Z[2]-Z[0],height:Z[3]-Z[1]}}class L{static create(ae){switch(ae.data.annotationType){case w.AnnotationType.LINK:return new B(ae);case w.AnnotationType.TEXT:return new P(ae);case w.AnnotationType.WIDGET:switch(ae.data.fieldType){case"Tx":return new _(ae);case"Btn":return ae.data.radioButton?new y(ae):ae.data.checkBox?new l(ae):new D(ae);case"Ch":return new M(ae)}return new S(ae);case w.AnnotationType.POPUP:return new F(ae);case w.AnnotationType.FREETEXT:return new G(ae);case w.AnnotationType.LINE:return new W(ae);case w.AnnotationType.SQUARE:return new J(ae);case w.AnnotationType.CIRCLE:return new Y(ae);case w.AnnotationType.POLYLINE:return new V(ae);case w.AnnotationType.CARET:return new z(ae);case w.AnnotationType.INK:return new X(ae);case w.AnnotationType.POLYGON:return new H(ae);case w.AnnotationType.HIGHLIGHT:return new q(ae);case w.AnnotationType.UNDERLINE:return new $(ae);case w.AnnotationType.SQUIGGLY:return new fe(ae);case w.AnnotationType.STRIKEOUT:return new Q(ae);case w.AnnotationType.STAMP:return new ie(ae);case w.AnnotationType.FILEATTACHMENT:return new Te(ae);default:return new O(ae)}}}class O{constructor(ae){let{isRenderable:he=!1,ignoreBorder:we=!1,createQuadrilaterals:_e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.isRenderable=he,this.data=ae.data,this.layer=ae.layer,this.page=ae.page,this.viewport=ae.viewport,this.linkService=ae.linkService,this.downloadManager=ae.downloadManager,this.imageResourcesPath=ae.imageResourcesPath,this.renderForms=ae.renderForms,this.svgFactory=ae.svgFactory,this.annotationStorage=ae.annotationStorage,this.enableScripting=ae.enableScripting,this.hasJSActions=ae.hasJSActions,this._fieldObjects=ae.fieldObjects,this._mouseState=ae.mouseState,he&&(this.container=this._createContainer(we)),_e&&(this.quadrilaterals=this._createQuadrilaterals(we))}_createContainer(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const he=this.data,we=this.page,_e=this.viewport,ye=document.createElement("section"),{width:se,height:Ie}=e(he.rect),[Ce,oe,pe,xe]=_e.viewBox,Ne=pe-Ce,ke=xe-oe;ye.setAttribute("data-annotation-id",he.id);const De=w.Util.normalizeRect([he.rect[0],we.view[3]-he.rect[1]+we.view[1],he.rect[2],we.view[3]-he.rect[3]+we.view[1]]);if(!ae&&he.borderStyle.width>0){ye.style.borderWidth=`${he.borderStyle.width}px`;const Pe=he.borderStyle.horizontalCornerRadius,qe=he.borderStyle.verticalCornerRadius;if(Pe>0||qe>0){const Oe=`calc(${Pe}px * var(--scale-factor)) / calc(${qe}px * var(--scale-factor))`;ye.style.borderRadius=Oe}else if(this instanceof y){const Oe=`calc(${se}px * var(--scale-factor)) / calc(${Ie}px * var(--scale-factor))`;ye.style.borderRadius=Oe}switch(he.borderStyle.style){case w.AnnotationBorderStyleType.SOLID:ye.style.borderStyle="solid";break;case w.AnnotationBorderStyleType.DASHED:ye.style.borderStyle="dashed";break;case w.AnnotationBorderStyleType.BEVELED:(0,w.warn)("Unimplemented border style: beveled");break;case w.AnnotationBorderStyleType.INSET:(0,w.warn)("Unimplemented border style: inset");break;case w.AnnotationBorderStyleType.UNDERLINE:ye.style.borderBottomStyle="solid";break}const Le=he.borderColor||null;Le?ye.style.borderColor=w.Util.makeHexColor(Le[0]|0,Le[1]|0,Le[2]|0):ye.style.borderWidth=0}ye.style.left=`${100*(De[0]-Ce)/Ne}%`,ye.style.top=`${100*(De[1]-oe)/ke}%`;const{rotation:Fe}=he;return he.hasOwnCanvas||Fe===0?(ye.style.width=`${100*se/Ne}%`,ye.style.height=`${100*Ie/ke}%`):this.setRotation(Fe,ye),ye}setRotation(ae){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;const[we,_e,ye,se]=this.viewport.viewBox,Ie=ye-we,Ce=se-_e,{width:oe,height:pe}=e(this.data.rect);let xe,Ne;ae%180===0?(xe=100*oe/Ie,Ne=100*pe/Ce):(xe=100*pe/Ie,Ne=100*oe/Ce),he.style.width=`${xe}%`,he.style.height=`${Ne}%`,he.setAttribute("data-main-rotation",(360-ae)%360)}get _commonActions(){const ae=(he,we,_e)=>{const ye=_e.detail[he];_e.target.style[we]=x.ColorConverters[`${ye[0]}_HTML`](ye.slice(1))};return(0,w.shadow)(this,"_commonActions",{display:he=>{const we=he.detail.display%2===1;this.container.style.visibility=we?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:we,print:he.detail.display===0||he.detail.display===3})},print:he=>{this.annotationStorage.setValue(this.data.id,{print:he.detail.print})},hidden:he=>{this.container.style.visibility=he.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:he.detail.hidden})},focus:he=>{setTimeout(()=>he.target.focus({preventScroll:!1}),0)},userName:he=>{he.target.title=he.detail.userName},readonly:he=>{he.detail.readonly?he.target.setAttribute("readonly",""):he.target.removeAttribute("readonly")},required:he=>{this._setRequired(he.target,he.detail.required)},bgColor:he=>{ae("bgColor","backgroundColor",he)},fillColor:he=>{ae("fillColor","backgroundColor",he)},fgColor:he=>{ae("fgColor","color",he)},textColor:he=>{ae("textColor","color",he)},borderColor:he=>{ae("borderColor","borderColor",he)},strokeColor:he=>{ae("strokeColor","borderColor",he)},rotation:he=>{const we=he.detail.rotation;this.setRotation(we),this.annotationStorage.setValue(this.data.id,{rotation:we})}})}_dispatchEventFromSandbox(ae,he){const we=this._commonActions;for(const _e of Object.keys(he.detail)){const ye=ae[_e]||we[_e];ye&&ye(he)}}_setDefaultPropertiesFromJS(ae){if(!this.enableScripting)return;const he=this.annotationStorage.getRawValue(this.data.id);if(!he)return;const we=this._commonActions;for(const[_e,ye]of Object.entries(he)){const se=we[_e];if(se){const Ie={detail:{[_e]:ye},target:ae};se(Ie),delete he[_e]}}}_createQuadrilaterals(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.data.quadPoints)return null;const he=[],we=this.data.rect;for(const _e of this.data.quadPoints)this.data.rect=[_e[2].x,_e[2].y,_e[1].x,_e[1].y],he.push(this._createContainer(ae));return this.data.rect=we,he}_createPopup(ae,he){let we=this.container;this.quadrilaterals&&(ae=ae||this.quadrilaterals,we=this.quadrilaterals[0]),ae||(ae=document.createElement("div"),ae.className="popupTriggerArea",we.append(ae));const ye=new N({container:we,trigger:ae,color:he.color,titleObj:he.titleObj,modificationDate:he.modificationDate,contentsObj:he.contentsObj,richText:he.richText,hideWrapper:!0}).render();ye.style.left="100%",we.append(ye)}_renderQuadrilaterals(ae){for(const he of this.quadrilaterals)he.className=ae;return this.quadrilaterals}render(){(0,w.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(ae){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const we=[];if(this._fieldObjects){const _e=this._fieldObjects[ae];if(_e)for(const{page:ye,id:se,exportValues:Ie}of _e){if(ye===-1||se===he)continue;const Ce=typeof Ie=="string"?Ie:null,oe=document.querySelector(`[data-element-id="${se}"]`);if(oe&&!v.has(oe)){(0,w.warn)(`_getElementsByName - element not allowed: ${se}`);continue}we.push({id:se,exportValue:Ce,domElement:oe})}return we}for(const _e of document.getElementsByName(ae)){const{id:ye,exportValue:se}=_e;ye!==he&&v.has(_e)&&we.push({id:ye,exportValue:se,domElement:_e})}return we}static get platform(){const ae=typeof navigator<"u"?navigator.platform:"";return(0,w.shadow)(this,"platform",{isWin:ae.includes("Win"),isMac:ae.includes("Mac")})}}class B extends O{constructor(ae){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(ae,{isRenderable:!0,ignoreBorder:!!(he!=null&&he.ignoreBorder),createQuadrilaterals:!0}),this.isTooltipOnly=ae.data.isTooltipOnly}render(){const{data:ae,linkService:he}=this,we=document.createElement("a");we.setAttribute("data-element-id",ae.id);let _e=!1;return ae.url?(he.addLinkAttributes(we,ae.url,ae.newWindow),_e=!0):ae.action?(this._bindNamedAction(we,ae.action),_e=!0):ae.dest?(this._bindLink(we,ae.dest),_e=!0):(ae.actions&&(ae.actions.Action||ae.actions["Mouse Up"]||ae.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(we,ae),_e=!0),ae.resetForm?(this._bindResetFormAction(we,ae.resetForm),_e=!0):this.isTooltipOnly&&!_e&&(this._bindLink(we,""),_e=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((ye,se)=>{const Ie=se===0?we:we.cloneNode();return ye.append(Ie),ye}):(this.container.className="linkAnnotation",_e&&this.container.append(we),this.container)}_bindLink(ae,he){ae.href=this.linkService.getDestinationHash(he),ae.onclick=()=>(he&&this.linkService.goToDestination(he),!1),(he||he==="")&&(ae.className="internalLink")}_bindNamedAction(ae,he){ae.href=this.linkService.getAnchorUrl(""),ae.onclick=()=>(this.linkService.executeNamedAction(he),!1),ae.className="internalLink"}_bindJSAction(ae,he){ae.href=this.linkService.getAnchorUrl("");const we=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const _e of Object.keys(he.actions)){const ye=we.get(_e);ye&&(ae[ye]=()=>{var se;return(se=this.linkService.eventBus)===null||se===void 0||se.dispatch("dispatcheventinsandbox",{source:this,detail:{id:he.id,name:_e}}),!1})}ae.onclick||(ae.onclick=()=>!1),ae.className="internalLink"}_bindResetFormAction(ae,he){const we=ae.onclick;if(we||(ae.href=this.linkService.getAnchorUrl("")),ae.className="internalLink",!this._fieldObjects){(0,w.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),we||(ae.onclick=()=>!1);return}ae.onclick=()=>{we&&we();const{fields:_e,refs:ye,include:se}=he,Ie=[];if(_e.length!==0||ye.length!==0){const xe=new Set(ye);for(const Ne of _e){const ke=this._fieldObjects[Ne]||[];for(const{id:De}of ke)xe.add(De)}for(const Ne of Object.values(this._fieldObjects))for(const ke of Ne)xe.has(ke.id)===se&&Ie.push(ke)}else for(const xe of Object.values(this._fieldObjects))Ie.push(...xe);const Ce=this.annotationStorage,oe=[];for(const xe of Ie){const{id:Ne}=xe;switch(oe.push(Ne),xe.type){case"text":{const De=xe.defaultValue||"";Ce.setValue(Ne,{value:De});break}case"checkbox":case"radiobutton":{const De=xe.defaultValue===xe.exportValues;Ce.setValue(Ne,{value:De});break}case"combobox":case"listbox":{const De=xe.defaultValue||"";Ce.setValue(Ne,{value:De});break}default:continue}const ke=document.querySelector(`[data-element-id="${Ne}"]`);if(ke){if(!v.has(ke)){(0,w.warn)(`_bindResetFormAction - element not allowed: ${Ne}`);continue}}else continue;ke.dispatchEvent(new Event("resetform"))}if(this.enableScripting){var pe;(pe=this.linkService.eventBus)===null||pe===void 0||pe.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:oe,name:"ResetForm"}})}return!1}}}class P extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye})}render(){this.container.className="textAnnotation";const ae=document.createElement("img");return ae.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",ae.alt="[{{type}} Annotation]",ae.dataset.l10nId="text_annotation_type",ae.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(ae,this.data),this.container.append(ae),this.container}}class S extends O{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(ae){const{isWin:he,isMac:we}=O.platform;return he&&ae.ctrlKey||we&&ae.metaKey}_setEventListener(ae,he,we,_e){he.includes("mouse")?ae.addEventListener(he,ye=>{var se;(se=this.linkService.eventBus)===null||se===void 0||se.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:we,value:_e(ye),shift:ye.shiftKey,modifier:this._getKeyModifier(ye)}})}):ae.addEventListener(he,ye=>{var se;(se=this.linkService.eventBus)===null||se===void 0||se.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:we,value:_e(ye)}})})}_setEventListeners(ae,he,we){for(const[ye,se]of he){var _e;(se==="Action"||(_e=this.data.actions)!==null&&_e!==void 0&&_e[se])&&this._setEventListener(ae,ye,se,we)}}_setBackgroundColor(ae){const he=this.data.backgroundColor||null;ae.style.backgroundColor=he===null?"transparent":w.Util.makeHexColor(he[0],he[1],he[2])}_setTextStyle(ae){const he=["left","center","right"],{fontColor:we}=this.data.defaultAppearanceData,_e=this.data.defaultAppearanceData.fontSize||R,ye=ae.style;let se;if(this.data.multiLine){const Ie=Math.abs(this.data.rect[3]-this.data.rect[1]),Ce=Math.round(Ie/(w.LINE_FACTOR*_e))||1,oe=Ie/Ce;se=Math.min(_e,Math.round(oe/w.LINE_FACTOR))}else{const Ie=Math.abs(this.data.rect[3]-this.data.rect[1]);se=Math.min(_e,Math.round(Ie/w.LINE_FACTOR))}ye.fontSize=`calc(${se}px * var(--scale-factor))`,ye.color=w.Util.makeHexColor(we[0],we[1],we[2]),this.data.textAlignment!==null&&(ye.textAlign=he[this.data.textAlignment])}_setRequired(ae,he){he?ae.setAttribute("required",!0):ae.removeAttribute("required"),ae.setAttribute("aria-required",he)}}class _ extends S{constructor(ae){const he=ae.renderForms||!ae.data.hasAppearance&&!!ae.data.fieldValue;super(ae,{isRenderable:he})}setPropertyOnSiblings(ae,he,we,_e){const ye=this.annotationStorage;for(const se of this._getElementsByName(ae.name,ae.id))se.domElement&&(se.domElement[he]=we),ye.setValue(se.id,{[_e]:we})}render(){const ae=this.annotationStorage,he=this.data.id;this.container.className="textWidgetAnnotation";let we=null;if(this.renderForms){const ye=ae.getValue(he,{value:this.data.fieldValue});let se=ye.formattedValue||ye.value||"";const Ie=ae.getValue(he,{charLimit:this.data.maxLen}).charLimit;Ie&&se.length>Ie&&(se=se.slice(0,Ie));const Ce={userValue:se,formattedValue:null,valueOnFocus:""};this.data.multiLine?(we=document.createElement("textarea"),we.textContent=se,this.data.doNotScroll&&(we.style.overflowY="hidden")):(we=document.createElement("input"),we.type="text",we.setAttribute("value",se),this.data.doNotScroll&&(we.style.overflowX="hidden")),v.add(we),we.setAttribute("data-element-id",he),we.disabled=this.data.readOnly,we.name=this.data.fieldName,we.tabIndex=c,this._setRequired(we,this.data.required),Ie&&(we.maxLength=Ie),we.addEventListener("input",pe=>{ae.setValue(he,{value:pe.target.value}),this.setPropertyOnSiblings(we,"value",pe.target.value,"value")}),we.addEventListener("resetform",pe=>{var xe;const Ne=(xe=this.data.defaultFieldValue)!==null&&xe!==void 0?xe:"";we.value=Ce.userValue=Ne,Ce.formattedValue=null});let oe=pe=>{const{formattedValue:xe}=Ce;xe!=null&&(pe.target.value=xe),pe.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){var _e;we.addEventListener("focus",xe=>{Ce.userValue&&(xe.target.value=Ce.userValue),Ce.valueOnFocus=xe.target.value}),we.addEventListener("updatefromsandbox",xe=>{const Ne={value(ke){var De;Ce.userValue=(De=ke.detail.value)!==null&&De!==void 0?De:"",ae.setValue(he,{value:Ce.userValue.toString()}),ke.target.value=Ce.userValue},formattedValue(ke){const{formattedValue:De}=ke.detail;Ce.formattedValue=De,De!=null&&ke.target!==document.activeElement&&(ke.target.value=De),ae.setValue(he,{formattedValue:De})},selRange(ke){ke.target.setSelectionRange(...ke.detail.selRange)},charLimit:ke=>{var De;const{charLimit:Fe}=ke.detail,{target:Pe}=ke;if(Fe===0){Pe.removeAttribute("maxLength");return}Pe.setAttribute("maxLength",Fe);let qe=Ce.userValue;!qe||qe.length<=Fe||(qe=qe.slice(0,Fe),Pe.value=Ce.userValue=qe,ae.setValue(he,{value:qe}),(De=this.linkService.eventBus)===null||De===void 0||De.dispatch("dispatcheventinsandbox",{source:this,detail:{id:he,name:"Keystroke",value:qe,willCommit:!0,commitKey:1,selStart:Pe.selectionStart,selEnd:Pe.selectionEnd}}))}};this._dispatchEventFromSandbox(Ne,xe)}),we.addEventListener("keydown",xe=>{var Ne;let ke=-1;if(xe.key==="Escape"?ke=0:xe.key==="Enter"?ke=2:xe.key==="Tab"&&(ke=3),ke===-1)return;const{value:De}=xe.target;Ce.valueOnFocus!==De&&(Ce.userValue=De,(Ne=this.linkService.eventBus)===null||Ne===void 0||Ne.dispatch("dispatcheventinsandbox",{source:this,detail:{id:he,name:"Keystroke",value:De,willCommit:!0,commitKey:ke,selStart:xe.target.selectionStart,selEnd:xe.target.selectionEnd}}))});const pe=oe;oe=null,we.addEventListener("blur",xe=>{const{value:Ne}=xe.target;if(Ce.userValue=Ne,this._mouseState.isDown&&Ce.valueOnFocus!==Ne){var ke;(ke=this.linkService.eventBus)===null||ke===void 0||ke.dispatch("dispatcheventinsandbox",{source:this,detail:{id:he,name:"Keystroke",value:Ne,willCommit:!0,commitKey:1,selStart:xe.target.selectionStart,selEnd:xe.target.selectionEnd}})}pe(xe)}),(_e=this.data.actions)!==null&&_e!==void 0&&_e.Keystroke&&we.addEventListener("beforeinput",xe=>{var Ne;const{data:ke,target:De}=xe,{value:Fe,selectionStart:Pe,selectionEnd:qe}=De;let Le=Pe,Oe=qe;switch(xe.inputType){case"deleteWordBackward":{const Ee=Fe.substring(0,Pe).match(/\w*[^\w]*$/);Ee&&(Le-=Ee[0].length);break}case"deleteWordForward":{const Ee=Fe.substring(Pe).match(/^[^\w]*\w*/);Ee&&(Oe+=Ee[0].length);break}case"deleteContentBackward":Pe===qe&&(Le-=1);break;case"deleteContentForward":Pe===qe&&(Oe+=1);break}xe.preventDefault(),(Ne=this.linkService.eventBus)===null||Ne===void 0||Ne.dispatch("dispatcheventinsandbox",{source:this,detail:{id:he,name:"Keystroke",value:Fe,change:ke||"",willCommit:!1,selStart:Le,selEnd:Oe}})}),this._setEventListeners(we,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],xe=>xe.target.value)}if(oe&&we.addEventListener("blur",oe),this.data.comb){const xe=(this.data.rect[2]-this.data.rect[0])/Ie;we.classList.add("comb"),we.style.letterSpacing=`calc(${xe}px * var(--scale-factor) - 1ch)`}}else we=document.createElement("div"),we.textContent=this.data.fieldValue,we.style.verticalAlign="middle",we.style.display="table-cell";return this._setTextStyle(we),this._setBackgroundColor(we),this._setDefaultPropertiesFromJS(we),this.container.append(we),this.container}}class l extends S{constructor(ae){super(ae,{isRenderable:ae.renderForms})}render(){const ae=this.annotationStorage,he=this.data,we=he.id;let _e=ae.getValue(we,{value:he.exportValue===he.fieldValue}).value;typeof _e=="string"&&(_e=_e!=="Off",ae.setValue(we,{value:_e})),this.container.className="buttonWidgetAnnotation checkBox";const ye=document.createElement("input");return v.add(ye),ye.setAttribute("data-element-id",we),ye.disabled=he.readOnly,this._setRequired(ye,this.data.required),ye.type="checkbox",ye.name=he.fieldName,_e&&ye.setAttribute("checked",!0),ye.setAttribute("exportValue",he.exportValue),ye.tabIndex=c,ye.addEventListener("change",se=>{const{name:Ie,checked:Ce}=se.target;for(const oe of this._getElementsByName(Ie,we)){const pe=Ce&&oe.exportValue===he.exportValue;oe.domElement&&(oe.domElement.checked=pe),ae.setValue(oe.id,{value:pe})}ae.setValue(we,{value:Ce})}),ye.addEventListener("resetform",se=>{const Ie=he.defaultFieldValue||"Off";se.target.checked=Ie===he.exportValue}),this.enableScripting&&this.hasJSActions&&(ye.addEventListener("updatefromsandbox",se=>{const Ie={value(Ce){Ce.target.checked=Ce.detail.value!=="Off",ae.setValue(we,{value:Ce.target.checked})}};this._dispatchEventFromSandbox(Ie,se)}),this._setEventListeners(ye,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],se=>se.target.checked)),this._setBackgroundColor(ye),this._setDefaultPropertiesFromJS(ye),this.container.append(ye),this.container}}class y extends S{constructor(ae){super(ae,{isRenderable:ae.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const ae=this.annotationStorage,he=this.data,we=he.id;let _e=ae.getValue(we,{value:he.fieldValue===he.buttonValue}).value;typeof _e=="string"&&(_e=_e!==he.buttonValue,ae.setValue(we,{value:_e}));const ye=document.createElement("input");if(v.add(ye),ye.setAttribute("data-element-id",we),ye.disabled=he.readOnly,this._setRequired(ye,this.data.required),ye.type="radio",ye.name=he.fieldName,_e&&ye.setAttribute("checked",!0),ye.tabIndex=c,ye.addEventListener("change",se=>{const{name:Ie,checked:Ce}=se.target;for(const oe of this._getElementsByName(Ie,we))ae.setValue(oe.id,{value:!1});ae.setValue(we,{value:Ce})}),ye.addEventListener("resetform",se=>{const Ie=he.defaultFieldValue;se.target.checked=Ie!=null&&Ie===he.buttonValue}),this.enableScripting&&this.hasJSActions){const se=he.buttonValue;ye.addEventListener("updatefromsandbox",Ie=>{const Ce={value:oe=>{const pe=se===oe.detail.value;for(const xe of this._getElementsByName(oe.target.name)){const Ne=pe&&xe.id===we;xe.domElement&&(xe.domElement.checked=Ne),ae.setValue(xe.id,{value:Ne})}}};this._dispatchEventFromSandbox(Ce,Ie)}),this._setEventListeners(ye,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ie=>Ie.target.checked)}return this._setBackgroundColor(ye),this._setDefaultPropertiesFromJS(ye),this.container.append(ye),this.container}}class D extends B{constructor(ae){super(ae,{ignoreBorder:ae.data.hasAppearance})}render(){const ae=super.render();ae.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(ae.title=this.data.alternativeText);const he=ae.lastChild;return this.enableScripting&&this.hasJSActions&&he&&(this._setDefaultPropertiesFromJS(he),he.addEventListener("updatefromsandbox",we=>{this._dispatchEventFromSandbox({},we)})),ae}}class M extends S{constructor(ae){super(ae,{isRenderable:ae.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const ae=this.annotationStorage,he=this.data.id,we=ae.getValue(he,{value:this.data.fieldValue}),_e=document.createElement("select");v.add(_e),_e.setAttribute("data-element-id",he),_e.disabled=this.data.readOnly,this._setRequired(_e,this.data.required),_e.name=this.data.fieldName,_e.tabIndex=c;let ye=this.data.combo&&this.data.options.length>0;this.data.combo||(_e.size=this.data.options.length,this.data.multiSelect&&(_e.multiple=!0)),_e.addEventListener("resetform",oe=>{const pe=this.data.defaultFieldValue;for(const xe of _e.options)xe.selected=xe.value===pe});for(const oe of this.data.options){const pe=document.createElement("option");pe.textContent=oe.displayValue,pe.value=oe.exportValue,we.value.includes(oe.exportValue)&&(pe.setAttribute("selected",!0),ye=!1),_e.append(pe)}let se=null;if(ye){const oe=document.createElement("option");oe.value=" ",oe.setAttribute("hidden",!0),oe.setAttribute("selected",!0),_e.prepend(oe),se=()=>{oe.remove(),_e.removeEventListener("input",se),se=null},_e.addEventListener("input",se)}const Ie=(oe,pe)=>{const xe=pe?"value":"textContent",Ne=oe.target.options;return oe.target.multiple?Array.prototype.filter.call(Ne,ke=>ke.selected).map(ke=>ke[xe]):Ne.selectedIndex===-1?null:Ne[Ne.selectedIndex][xe]},Ce=oe=>{const pe=oe.target.options;return Array.prototype.map.call(pe,xe=>({displayValue:xe.textContent,exportValue:xe.value}))};return this.enableScripting&&this.hasJSActions?(_e.addEventListener("updatefromsandbox",oe=>{const pe={value(xe){var Ne;(Ne=se)===null||Ne===void 0||Ne();const ke=xe.detail.value,De=new Set(Array.isArray(ke)?ke:[ke]);for(const Fe of _e.options)Fe.selected=De.has(Fe.value);ae.setValue(he,{value:Ie(xe,!0)})},multipleSelection(xe){_e.multiple=!0},remove(xe){const Ne=_e.options,ke=xe.detail.remove;Ne[ke].selected=!1,_e.remove(ke),Ne.length>0&&Array.prototype.findIndex.call(Ne,Fe=>Fe.selected)===-1&&(Ne[0].selected=!0),ae.setValue(he,{value:Ie(xe,!0),items:Ce(xe)})},clear(xe){for(;_e.length!==0;)_e.remove(0);ae.setValue(he,{value:null,items:[]})},insert(xe){const{index:Ne,displayValue:ke,exportValue:De}=xe.detail.insert,Fe=_e.children[Ne],Pe=document.createElement("option");Pe.textContent=ke,Pe.value=De,Fe?Fe.before(Pe):_e.append(Pe),ae.setValue(he,{value:Ie(xe,!0),items:Ce(xe)})},items(xe){const{items:Ne}=xe.detail;for(;_e.length!==0;)_e.remove(0);for(const ke of Ne){const{displayValue:De,exportValue:Fe}=ke,Pe=document.createElement("option");Pe.textContent=De,Pe.value=Fe,_e.append(Pe)}_e.options.length>0&&(_e.options[0].selected=!0),ae.setValue(he,{value:Ie(xe,!0),items:Ce(xe)})},indices(xe){const Ne=new Set(xe.detail.indices);for(const ke of xe.target.options)ke.selected=Ne.has(ke.index);ae.setValue(he,{value:Ie(xe,!0)})},editable(xe){xe.target.disabled=!xe.detail.editable}};this._dispatchEventFromSandbox(pe,oe)}),_e.addEventListener("input",oe=>{var pe;const xe=Ie(oe,!0),Ne=Ie(oe,!1);ae.setValue(he,{value:xe}),(pe=this.linkService.eventBus)===null||pe===void 0||pe.dispatch("dispatcheventinsandbox",{source:this,detail:{id:he,name:"Keystroke",value:Ne,changeEx:xe,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(_e,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],oe=>oe.target.checked)):_e.addEventListener("input",function(oe){ae.setValue(he,{value:Ie(oe,!0)})}),this.data.combo&&this._setTextStyle(_e),this._setBackgroundColor(_e),this._setDefaultPropertiesFromJS(_e),this.container.append(_e),this.container}}class F extends O{constructor(ae){var he,we,_e;const ye=!!((he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye})}render(){const ae=["Line","Square","Circle","PolyLine","Polygon","Ink"];if(this.container.className="popupAnnotation",ae.includes(this.data.parentType))return this.container;const he=`[data-annotation-id="${this.data.parentId}"]`,we=this.layer.querySelectorAll(he);if(we.length===0)return this.container;const _e=new N({container:this.container,trigger:Array.from(we),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),ye=this.page,se=w.Util.normalizeRect([this.data.parentRect[0],ye.view[3]-this.data.parentRect[1]+ye.view[1],this.data.parentRect[2],ye.view[3]-this.data.parentRect[3]+ye.view[1]]),Ie=se[0]+this.data.parentRect[2]-this.data.parentRect[0],Ce=se[1],[oe,pe,xe,Ne]=this.viewport.viewBox,ke=xe-oe,De=Ne-pe;return this.container.style.left=`${100*(Ie-oe)/ke}%`,this.container.style.top=`${100*(Ce-pe)/De}%`,this.container.append(_e.render()),this.container}}class N{constructor(ae){this.container=ae.container,this.trigger=ae.trigger,this.color=ae.color,this.titleObj=ae.titleObj,this.modificationDate=ae.modificationDate,this.contentsObj=ae.contentsObj,this.richText=ae.richText,this.hideWrapper=ae.hideWrapper||!1,this.pinned=!1}render(){var ae,he;const _e=document.createElement("div");_e.className="popupWrapper",this.hideElement=this.hideWrapper?_e:this.container,this.hideElement.hidden=!0;const ye=document.createElement("div");ye.className="popup";const se=this.color;if(se){const oe=.7*(255-se[0])+se[0],pe=.7*(255-se[1])+se[1],xe=.7*(255-se[2])+se[2];ye.style.backgroundColor=w.Util.makeHexColor(oe|0,pe|0,xe|0)}const Ie=document.createElement("h1");Ie.dir=this.titleObj.dir,Ie.textContent=this.titleObj.str,ye.append(Ie);const Ce=U.PDFDateString.toDateObject(this.modificationDate);if(Ce){const oe=document.createElement("span");oe.className="popupDate",oe.textContent="{{date}}, {{time}}",oe.dataset.l10nId="annotation_date_string",oe.dataset.l10nArgs=JSON.stringify({date:Ce.toLocaleDateString(),time:Ce.toLocaleTimeString()}),ye.append(oe)}if((ae=this.richText)!==null&&ae!==void 0&&ae.str&&(!((he=this.contentsObj)!==null&&he!==void 0&&he.str)||this.contentsObj.str===this.richText.str))a.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:ye}),ye.lastChild.className="richText popupContent";else{const oe=this._formatContents(this.contentsObj);ye.append(oe)}Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const oe of this.trigger)oe.addEventListener("click",this._toggle.bind(this)),oe.addEventListener("mouseover",this._show.bind(this,!1)),oe.addEventListener("mouseout",this._hide.bind(this,!1));return ye.addEventListener("click",this._hide.bind(this,!0)),_e.append(ye),_e}_formatContents(ae){let{str:he,dir:we}=ae;const _e=document.createElement("p");_e.className="popupContent",_e.dir=we;const ye=he.split(/(?:\r\n?|\n)/);for(let se=0,Ie=ye.length;se0&&arguments[0]!==void 0?arguments[0]:!1)&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex=parseInt(this.container.style.zIndex)+1e3)}_hide(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)&&(this.pinned=!1),!this.hideElement.hidden&&!this.pinned&&(this.hideElement.hidden=!0,this.container.style.zIndex=parseInt(this.container.style.zIndex)-1e3)}}class G extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0}),this.textContent=ae.data.textContent}render(){if(this.container.className="freeTextAnnotation",this.textContent){const ae=document.createElement("div");ae.className="annotationTextContent",ae.setAttribute("role","comment");for(const he of this.textContent){const we=document.createElement("span");we.textContent=he,ae.append(we)}this.container.append(ae)}return this.data.hasPopup||this._createPopup(null,this.data),this.container}}class W extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0})}render(){this.container.className="lineAnnotation";const ae=this.data,{width:he,height:we}=e(ae.rect),_e=this.svgFactory.create(he,we,!0),ye=this.svgFactory.createElement("svg:line");return ye.setAttribute("x1",ae.rect[2]-ae.lineCoordinates[0]),ye.setAttribute("y1",ae.rect[3]-ae.lineCoordinates[1]),ye.setAttribute("x2",ae.rect[2]-ae.lineCoordinates[2]),ye.setAttribute("y2",ae.rect[3]-ae.lineCoordinates[3]),ye.setAttribute("stroke-width",ae.borderStyle.width||1),ye.setAttribute("stroke","transparent"),ye.setAttribute("fill","transparent"),_e.append(ye),this.container.append(_e),this._createPopup(ye,ae),this.container}}class J extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0})}render(){this.container.className="squareAnnotation";const ae=this.data,{width:he,height:we}=e(ae.rect),_e=this.svgFactory.create(he,we,!0),ye=ae.borderStyle.width,se=this.svgFactory.createElement("svg:rect");return se.setAttribute("x",ye/2),se.setAttribute("y",ye/2),se.setAttribute("width",he-ye),se.setAttribute("height",we-ye),se.setAttribute("stroke-width",ye||1),se.setAttribute("stroke","transparent"),se.setAttribute("fill","transparent"),_e.append(se),this.container.append(_e),this._createPopup(se,ae),this.container}}class Y extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0})}render(){this.container.className="circleAnnotation";const ae=this.data,{width:he,height:we}=e(ae.rect),_e=this.svgFactory.create(he,we,!0),ye=ae.borderStyle.width,se=this.svgFactory.createElement("svg:ellipse");return se.setAttribute("cx",he/2),se.setAttribute("cy",we/2),se.setAttribute("rx",he/2-ye/2),se.setAttribute("ry",we/2-ye/2),se.setAttribute("stroke-width",ye||1),se.setAttribute("stroke","transparent"),se.setAttribute("fill","transparent"),_e.append(se),this.container.append(_e),this._createPopup(se,ae),this.container}}class V extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const ae=this.data,{width:he,height:we}=e(ae.rect),_e=this.svgFactory.create(he,we,!0);let ye=[];for(const Ie of ae.vertices){const Ce=Ie.x-ae.rect[0],oe=ae.rect[3]-Ie.y;ye.push(Ce+","+oe)}ye=ye.join(" ");const se=this.svgFactory.createElement(this.svgElementName);return se.setAttribute("points",ye),se.setAttribute("stroke-width",ae.borderStyle.width||1),se.setAttribute("stroke","transparent"),se.setAttribute("fill","transparent"),_e.append(se),this.container.append(_e),this._createPopup(se,ae),this.container}}class H extends V{constructor(ae){super(ae),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class z extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0})}render(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class X extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const ae=this.data,{width:he,height:we}=e(ae.rect),_e=this.svgFactory.create(he,we,!0);for(const ye of ae.inkLists){let se=[];for(const Ce of ye){const oe=Ce.x-ae.rect[0],pe=ae.rect[3]-Ce.y;se.push(`${oe},${pe}`)}se=se.join(" ");const Ie=this.svgFactory.createElement(this.svgElementName);Ie.setAttribute("points",se),Ie.setAttribute("stroke-width",ae.borderStyle.width||1),Ie.setAttribute("stroke","transparent"),Ie.setAttribute("fill","transparent"),this._createPopup(Ie,ae),_e.append(Ie)}return this.container.append(_e),this.container}}class q extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}class $ extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}class fe extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}class Q extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}class ie extends O{constructor(ae){var he,we,_e;const ye=!!(ae.data.hasPopup||(he=ae.data.titleObj)!==null&&he!==void 0&&he.str||(we=ae.data.contentsObj)!==null&&we!==void 0&&we.str||(_e=ae.data.richText)!==null&&_e!==void 0&&_e.str);super(ae,{isRenderable:ye,ignoreBorder:!0})}render(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class Te extends O{constructor(ae){var he;super(ae,{isRenderable:!0});const{filename:we,content:_e}=this.data.file;this.filename=(0,U.getFilenameFromUrl)(we),this.content=_e,(he=this.linkService.eventBus)===null||he===void 0||he.dispatch("fileattachmentannotation",{source:this,filename:we,content:_e})}render(){var ae,he;this.container.className="fileAttachmentAnnotation";const we=document.createElement("div");return we.className="popupTriggerArea",we.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&((ae=this.data.titleObj)!==null&&ae!==void 0&&ae.str||(he=this.data.contentsObj)!==null&&he!==void 0&&he.str||this.data.richText)&&this._createPopup(we,this.data),this.container.append(we),this.container}_download(){var ae;(ae=this.downloadManager)===null||ae===void 0||ae.openOrDownloadData(this.container,this.content,this.filename)}}class me{static render(ae){const{annotations:he,div:we,viewport:_e,accessibilityManager:ye}=ae;g(this,me,ce).call(this,we,_e);let se=0;for(const Ie of he){if(Ie.annotationType!==w.AnnotationType.POPUP){const{width:oe,height:pe}=e(Ie.rect);if(oe<=0||pe<=0)continue}const Ce=L.create({data:Ie,layer:we,page:ae.page,viewport:_e,linkService:ae.linkService,downloadManager:ae.downloadManager,imageResourcesPath:ae.imageResourcesPath||"",renderForms:ae.renderForms!==!1,svgFactory:new U.DOMSVGFactory,annotationStorage:ae.annotationStorage||new k.AnnotationStorage,enableScripting:ae.enableScripting,hasJSActions:ae.hasJSActions,fieldObjects:ae.fieldObjects,mouseState:ae.mouseState||{isDown:!1}});if(Ce.isRenderable){const oe=Ce.render();if(Ie.hidden&&(oe.style.visibility="hidden"),Array.isArray(oe))for(const pe of oe)pe.style.zIndex=se++,g(me,me,K).call(me,pe,Ie.id,we,ye);else oe.style.zIndex=se++,Ce instanceof F?we.prepend(oe):g(me,me,K).call(me,oe,Ie.id,we,ye)}}g(this,me,de).call(this,we,ae.annotationCanvasMap)}static update(ae){const{annotationCanvasMap:he,div:we,viewport:_e}=ae;g(this,me,ce).call(this,we,_e),g(this,me,de).call(this,we,he),we.hidden=!1}}r.AnnotationLayer=me;function K(Z,ae,he,we){const _e=Z.firstChild||Z;_e.id=`${U.AnnotationPrefix}${ae}`,he.append(Z),we==null||we.moveElementInDOM(he,Z,_e,!1)}function ce(Z,ae){let{width:he,height:we,rotation:_e}=ae;const{style:ye}=Z,se=_e%180!==0,Ie=Math.floor(he)+"px",Ce=Math.floor(we)+"px";ye.width=se?Ce:Ie,ye.height=se?Ie:Ce,Z.setAttribute("data-main-rotation",_e)}function de(Z,ae){if(ae){for(const[he,we]of ae){const _e=Z.querySelector(`[data-annotation-id="${he}"]`);if(!_e)continue;const{firstChild:ye}=_e;ye?ye.nodeName==="CANVAS"?ye.replaceWith(we):ye.before(we):_e.append(we)}ae.clear()}}},(b,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.ColorConverters=void 0;function m(U){return Math.floor(Math.max(0,Math.min(1,U))*255).toString(16).padStart(2,"0")}class w{static CMYK_G(k){let[x,a,g,n]=k;return["G",1-Math.min(1,.3*x+.59*g+.11*a+n)]}static G_CMYK(k){let[x]=k;return["CMYK",0,0,0,1-x]}static G_RGB(k){let[x]=k;return["RGB",x,x,x]}static G_HTML(k){let[x]=k;const a=m(x);return`#${a}${a}${a}`}static RGB_G(k){let[x,a,g]=k;return["G",.3*x+.59*a+.11*g]}static RGB_HTML(k){let[x,a,g]=k;const n=m(x),c=m(a),R=m(g);return`#${n}${c}${R}`}static T_HTML(){return"#00000000"}static CMYK_RGB(k){let[x,a,g,n]=k;return["RGB",1-Math.min(1,x+n),1-Math.min(1,g+n),1-Math.min(1,a+n)]}static CMYK_HTML(k){const x=this.CMYK_RGB(k).slice(1);return this.RGB_HTML(x)}static RGB_CMYK(k){let[x,a,g]=k;const n=1-x,c=1-a,R=1-g,v=Math.min(n,c,R);return["CMYK",n,c,R,v]}}r.ColorConverters=w},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.XfaLayer=void 0;var w=m(145);class U{static setupStorage(x,a,g,n,c){const R=n.getValue(a,{value:null});switch(g.name){case"textarea":if(R.value!==null&&(x.textContent=R.value),c==="print")break;x.addEventListener("input",v=>{n.setValue(a,{value:v.target.value})});break;case"input":if(g.attributes.type==="radio"||g.attributes.type==="checkbox"){if(R.value===g.attributes.xfaOn?x.setAttribute("checked",!0):R.value===g.attributes.xfaOff&&x.removeAttribute("checked"),c==="print")break;x.addEventListener("change",v=>{n.setValue(a,{value:v.target.checked?v.target.getAttribute("xfaOn"):v.target.getAttribute("xfaOff")})})}else{if(R.value!==null&&x.setAttribute("value",R.value),c==="print")break;x.addEventListener("input",v=>{n.setValue(a,{value:v.target.value})})}break;case"select":if(R.value!==null)for(const v of g.children)v.attributes.value===R.value&&(v.attributes.selected=!0);x.addEventListener("input",v=>{const e=v.target.options,L=e.selectedIndex===-1?"":e[e.selectedIndex].value;n.setValue(a,{value:L})});break}}static setAttributes(x){let{html:a,element:g,storage:n=null,intent:c,linkService:R}=x;const{attributes:v}=g,e=a instanceof HTMLAnchorElement;v.type==="radio"&&(v.name=`${v.name}-${c}`);for(const[L,O]of Object.entries(v))if(O!=null)switch(L){case"class":O.length&&a.setAttribute(L,O.join(" "));break;case"dataId":break;case"id":a.setAttribute("data-element-id",O);break;case"style":Object.assign(a.style,O);break;case"textContent":a.textContent=O;break;default:(!e||L!=="href"&&L!=="newWindow")&&a.setAttribute(L,O)}e&&R.addLinkAttributes(a,v.href,v.newWindow),n&&v.dataId&&this.setupStorage(a,v.dataId,g,n)}static render(x){const a=x.annotationStorage,g=x.linkService,n=x.xfaHtml,c=x.intent||"display",R=document.createElement(n.name);n.attributes&&this.setAttributes({html:R,element:n,intent:c,linkService:g});const v=[[n,-1,R]],e=x.div;if(e.append(R),x.viewport){const B=`matrix(${x.viewport.transform.join(",")})`;e.style.transform=B}c!=="richText"&&e.setAttribute("class","xfaLayer xfaFont");const L=[];for(;v.length>0;){var O;const[B,P,S]=v.at(-1);if(P+1===B.children.length){v.pop();continue}const _=B.children[++v.at(-1)[1]];if(_===null)continue;const{name:l}=_;if(l==="#text"){const D=document.createTextNode(_.value);L.push(D),S.append(D);continue}let y;if(_!=null&&(O=_.attributes)!==null&&O!==void 0&&O.xmlns?y=document.createElementNS(_.attributes.xmlns,l):y=document.createElement(l),S.append(y),_.attributes&&this.setAttributes({html:y,element:_,storage:a,intent:c,linkService:g}),_.children&&_.children.length>0)v.push([_,-1,y]);else if(_.value){const D=document.createTextNode(_.value);w.XfaText.shouldBuildText(l)&&L.push(D),y.append(D)}}for(const B of e.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))B.setAttribute("readOnly",!0);return{textDivs:L}}static update(x){const a=`matrix(${x.viewport.transform.join(",")})`;x.div.style.transform=a,x.div.hidden=!1}}r.XfaLayer=U},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.TextLayerRenderTask=void 0,r.renderTextLayer=S;var w=m(1),U=m(133);const k=1e5,x=30,a=.8,g=new Map,n=/^\s+$/g;function c(_,l){const y=g.get(_);if(y)return y;l.save(),l.font=`${x}px ${_}`;const D=l.measureText("");let M=D.fontBoundingBoxAscent,F=Math.abs(D.fontBoundingBoxDescent);if(M){l.restore();const G=M/(M+F);return g.set(_,G),G}l.strokeStyle="red",l.clearRect(0,0,x,x),l.strokeText("g",0,0);let N=l.getImageData(0,0,x,x).data;F=0;for(let G=N.length-1-3;G>=0;G-=4)if(N[G]>0){F=Math.ceil(G/4/x);break}l.clearRect(0,0,x,x),l.strokeText("A",0,x),N=l.getImageData(0,0,x,x).data,M=0;for(let G=0,W=N.length;G0){M=x-Math.floor(G/4/x);break}if(l.restore(),M){const G=M/(M+F);return g.set(_,G),G}return g.set(_,a),a}function R(_,l,y,D){const M=document.createElement("span"),F=_._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:l.str!=="",hasEOL:l.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:l.str!=="",hasEOL:l.hasEOL,fontSize:0};_._textDivs.push(M);const N=w.Util.transform(_._viewport.transform,l.transform);let G=Math.atan2(N[1],N[0]);const W=y[l.fontName];W.vertical&&(G+=Math.PI/2);const J=Math.hypot(N[2],N[3]),Y=J*c(W.fontFamily,D);let V,H;G===0?(V=N[4],H=N[5]-Y):(V=N[4]+Y*Math.sin(G),H=N[5]-Y*Math.cos(G)),M.style.left=`${V}px`,M.style.top=`${H}px`,M.style.fontSize=`${J}px`,M.style.fontFamily=W.fontFamily,F.fontSize=J,M.setAttribute("role","presentation"),M.textContent=l.str,M.dir=l.dir,_._fontInspectorEnabled&&(M.dataset.fontName=l.fontName),G!==0&&(F.angle=G*(180/Math.PI));let z=!1;if(l.str.length>1||_._enhanceTextSelection&&n.test(l.str))z=!0;else if(l.str!==" "&&l.transform[0]!==l.transform[3]){const X=Math.abs(l.transform[0]),q=Math.abs(l.transform[3]);X!==q&&Math.max(X,q)/Math.min(X,q)>1.5&&(z=!0)}if(z&&(W.vertical?F.canvasWidth=l.height*_._viewport.scale:F.canvasWidth=l.width*_._viewport.scale),_._textDivProperties.set(M,F),_._textContentStream&&_._layoutText(M),_._enhanceTextSelection&&F.hasText){let X=1,q=0;G!==0&&(X=Math.cos(G),q=Math.sin(G));const $=(W.vertical?l.height:l.width)*_._viewport.scale,fe=J;let Q,ie;G!==0?(Q=[X,q,-q,X,V,H],ie=w.Util.getAxialAlignedBoundingBox([0,0,$,fe],Q)):ie=[V,H,V+$,H+fe],_._bounds.push({left:ie[0],top:ie[1],right:ie[2],bottom:ie[3],div:M,size:[$,fe],m:Q})}}function v(_){if(_._canceled)return;const l=_._textDivs,y=_._capability,D=l.length;if(D>k){_._renderingDone=!0,y.resolve();return}if(!_._textContentStream)for(let M=0;M0&&(D=D?Math.min(F,D):F)}return D}function L(_){const l=_._bounds,y=_._viewport,D=O(y.width,y.height,l);for(let M=0;M=0&&D[N].start>=M.y2;)N--;let G,W,J,Y,V=-1/0;for(J=F;J<=N;J++){G=D[J],W=G.boundary;let X;W.x2>M.x1?X=W.index>M.index?W.x1New:M.x1:W.x2New===void 0?X=(W.x2+M.x1)/2:X=W.x2New,X>V&&(V=X)}for(M.x1New=V,J=F;J<=N;J++)G=D[J],W=G.boundary,W.x2New===void 0?W.x2>M.x1?W.index>M.index&&(W.x2New=W.x2):W.x2New=V:W.x2New>V&&(W.x2New=Math.max(V,W.x2));const H=[];let z=null;for(J=F;J<=N;J++){G=D[J],W=G.boundary;const X=W.x2>M.x2?W:M;z===X?H.at(-1).end=G.end:(H.push({start:G.start,end:G.end,boundary:X}),z=X)}for(D[F].start=0&&D[Y].start>=W.y1;Y--)X=D[Y].boundary===W;for(Y=N+1;!X&&Y{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new w.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),this._renderTimer!==null&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(l,y){for(let D=0,M=l.length;D0){const G=this._devicePixelRatio*y.canvasWidth/N;this._enhanceTextSelection&&(y.scale=G),D=`scaleX(${G})`}}if(y.angle!==0&&(D=`rotate(${y.angle}deg) ${D}`),D.length>0&&(this._enhanceTextSelection&&(y.originalTransform=D),l.style.transform=D),y.hasText&&this._container.append(l),y.hasEOL){const M=document.createElement("br");M.setAttribute("role","presentation"),this._container.append(M)}}_render(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;const y=(0,w.createPromiseCapability)();let D=Object.create(null);const M=this._document.createElement("canvas");if(M.height=M.width=x,this._layoutTextCtx=M.getContext("2d",{alpha:!1}),this._textContent){const F=this._textContent.items,N=this._textContent.styles;this._processItems(F,N),y.resolve()}else if(this._textContentStream){const F=()=>{this._reader.read().then(N=>{let{value:G,done:W}=N;if(W){y.resolve();return}Object.assign(D,G.styles),this._processItems(G.items,D),F()},y.reject)};this._reader=this._textContentStream.getReader(),F()}else throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');y.promise.then(()=>{D=null,l?this._renderTimer=setTimeout(()=>{v(this),this._renderTimer=null},l):v(this)},this._capability.reject)}expandTextDivs(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this._enhanceTextSelection||!this._renderingDone)return;this._bounds!==null&&(L(this),this._bounds=null);const y=[],D=[];for(let M=0,F=this._textDivs.length;M0?(D.push(`${G.paddingTop}px`),y.push(`translateY(${-G.paddingTop}px)`)):D.push(0),G.paddingRight>0?D.push(`${G.paddingRight/G.scale}px`):D.push(0),G.paddingBottom>0?D.push(`${G.paddingBottom}px`):D.push(0),G.paddingLeft>0?(D.push(`${G.paddingLeft/G.scale}px`),y.push(`translateX(${-G.paddingLeft/G.scale}px)`)):D.push(0),N.style.padding=D.join(" "),y.length&&(N.style.transform=y.join(" "))):(N.style.padding=null,N.style.transform=G.originalTransform))}}}r.TextLayerRenderTask=P;function S(_){const l=new P({textContent:_.textContent,textContentStream:_.textContentStream,container:_.container,viewport:_.viewport,textDivs:_.textDivs,textContentItemsStr:_.textContentItemsStr,enhanceTextSelection:_.enhanceTextSelection});return l._render(_.timeout),l}},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SVGGraphics=void 0;var w=m(133),U=m(1),k=m(3);let x=class{constructor(){(0,U.unreachable)("Not implemented: SVGGraphics")}};r.SVGGraphics=x;{let O=function(y){let D=[];const M=[];for(const F of y){if(F.fn==="save"){D.push({fnId:92,fn:"group",items:[]}),M.push(D),D=D.at(-1).items;continue}F.fn==="restore"?D=M.pop():D.push(F)}return D},B=function(y){if(Number.isInteger(y))return y.toString();const D=y.toFixed(10);let M=D.length-1;if(D[M]!=="0")return D;do M--;while(D[M]==="0");return D.substring(0,D[M]==="."?M:M+1)},P=function(y){if(y[4]===0&&y[5]===0){if(y[1]===0&&y[2]===0)return y[0]===1&&y[3]===1?"":`scale(${B(y[0])} ${B(y[3])})`;if(y[0]===y[3]&&y[1]===-y[2]){const D=Math.acos(y[0])*180/Math.PI;return`rotate(${B(D)})`}}else if(y[0]===1&&y[1]===0&&y[2]===0&&y[3]===1)return`translate(${B(y[4])} ${B(y[5])})`;return`matrix(${B(y[0])} ${B(y[1])} ${B(y[2])} ${B(y[3])} ${B(y[4])} ${B(y[5])})`};const a={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},g="http://www.w3.org/XML/1998/namespace",n="http://www.w3.org/1999/xlink",c=["butt","round","square"],R=["miter","round","bevel"],v=function(y){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(URL.createObjectURL&&typeof Blob<"u"&&!M)return URL.createObjectURL(new Blob([y],{type:D}));const F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let N=`data:${D};base64,`;for(let G=0,W=y.length;G>2,z=(J&3)<<4|Y>>4,X=G+1>6:64,q=G+2>1&2147483647:H=H>>1&2147483647;M[V]=H}function F(V,H,z){let X=-1;for(let q=H;q>>8^fe}return X^-1}function N(V,H,z,X){let q=X;const $=H.length;z[q]=$>>24&255,z[q+1]=$>>16&255,z[q+2]=$>>8&255,z[q+3]=$&255,q+=4,z[q]=V.charCodeAt(0)&255,z[q+1]=V.charCodeAt(1)&255,z[q+2]=V.charCodeAt(2)&255,z[q+3]=V.charCodeAt(3)&255,q+=4,z.set(H,q),q+=H.length;const fe=F(z,X+4,q);z[q]=fe>>24&255,z[q+1]=fe>>16&255,z[q+2]=fe>>8&255,z[q+3]=fe&255}function G(V,H,z){let X=1,q=0;for(let $=H;$=8?H=V:H=Buffer.from(V);const z=require$$7.deflateSync(H,{level:9});return z instanceof Uint8Array?z:new Uint8Array(z)}catch(H){(0,U.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+H)}return J(V)}function J(V){let H=V.length;const z=65535,X=Math.ceil(H/z),q=new Uint8Array(2+H+X*5+4);let $=0;q[$++]=120,q[$++]=156;let fe=0;for(;H>z;)q[$++]=0,q[$++]=255,q[$++]=255,q[$++]=0,q[$++]=0,q.set(V.subarray(fe,fe+z),$),$+=z,fe+=z,H-=z;q[$++]=1,q[$++]=H&255,q[$++]=H>>8&255,q[$++]=~H&65535&255,q[$++]=(~H&65535)>>8&255,q.set(V.subarray(fe),$),$+=V.length-fe;const Q=G(V,0,V.length);return q[$++]=Q>>24&255,q[$++]=Q>>16&255,q[$++]=Q>>8&255,q[$++]=Q&255,q}function Y(V,H,z,X){const q=V.width,$=V.height;let fe,Q,ie;const Te=V.data;switch(H){case U.ImageKind.GRAYSCALE_1BPP:Q=0,fe=1,ie=q+7>>3;break;case U.ImageKind.RGB_24BPP:Q=2,fe=8,ie=q*3;break;case U.ImageKind.RGBA_32BPP:Q=6,fe=8,ie=q*4;break;default:throw new Error("invalid format")}const me=new Uint8Array((1+ie)*$);let K=0,ce=0;for(let _e=0;_e<$;++_e)me[K++]=0,me.set(Te.subarray(ce,ce+ie),K),ce+=ie,K+=ie;if(H===U.ImageKind.GRAYSCALE_1BPP&&X){K=0;for(let _e=0;_e<$;_e++){K++;for(let ye=0;ye>24&255,q>>16&255,q>>8&255,q&255,$>>24&255,$>>16&255,$>>8&255,$&255,fe,Q,0,0,0]),Z=W(me),ae=y.length+D*3+de.length+Z.length,he=new Uint8Array(ae);let we=0;return he.set(y,we),we+=y.length,N("IHDR",de,he,we),we+=D+de.length,N("IDATA",Z,he,we),we+=D+Z.length,N("IEND",new Uint8Array(0),he,we),v(he,"image/png",z)}return function(H,z,X){const q=H.kind===void 0?U.ImageKind.GRAYSCALE_1BPP:H.kind;return Y(H,q,z,X)}}();class L{constructor(){this.fontSizeScale=1,this.fontWeight=a.fontWeight,this.fontSize=0,this.textMatrix=U.IDENTITY_MATRIX,this.fontMatrix=U.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=U.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=a.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(D,M){this.x=D,this.y=M}}let S=0,_=0,l=0;r.SVGGraphics=x=class{constructor(y,D){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(0,w.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new w.DOMSVGFactory,this.current=new L,this.transformMatrix=U.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=y,this.objs=D,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!M,this._operatorIdMapping=[];for(const F in U.OPS)this._operatorIdMapping[U.OPS[F]]=F}save(){this.transformStack.push(this.transformMatrix);const y=this.current;this.extraStack.push(y),this.current=y.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(y){this.save(),this.executeOpTree(y),this.restore()}loadDependencies(y){const D=y.fnArray,M=y.argsArray;for(let F=0,N=D.length;F{W.get(G,Y)});this.current.dependencies.push(J)}return Promise.all(this.current.dependencies)}transform(y,D,M,F,N,G){const W=[y,D,M,F,N,G];this.transformMatrix=U.Util.transform(this.transformMatrix,W),this.tgrp=null}getSVG(y,D){this.viewport=D;const M=this._initialize(D);return this.loadDependencies(y).then(()=>(this.transformMatrix=U.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(y)),M))}convertOpList(y){const D=this._operatorIdMapping,M=y.argsArray,F=y.fnArray,N=[];for(let G=0,W=F.length;G0&&(this.current.lineWidth=y)}setLineCap(y){this.current.lineCap=c[y]}setLineJoin(y){this.current.lineJoin=R[y]}setMiterLimit(y){this.current.miterLimit=y}setStrokeAlpha(y){this.current.strokeAlpha=y}setStrokeRGBColor(y,D,M){this.current.strokeColor=U.Util.makeHexColor(y,D,M)}setFillAlpha(y){this.current.fillAlpha=y}setFillRGBColor(y,D,M){this.current.fillColor=U.Util.makeHexColor(y,D,M),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(y){this.current.strokeColor=this._makeColorN_Pattern(y)}setFillColorN(y){this.current.fillColor=this._makeColorN_Pattern(y)}shadingFill(y){const D=this.viewport.width,M=this.viewport.height,F=U.Util.inverseTransform(this.transformMatrix),N=U.Util.applyTransform([0,0],F),G=U.Util.applyTransform([0,M],F),W=U.Util.applyTransform([D,0],F),J=U.Util.applyTransform([D,M],F),Y=Math.min(N[0],G[0],W[0],J[0]),V=Math.min(N[1],G[1],W[1],J[1]),H=Math.max(N[0],G[0],W[0],J[0]),z=Math.max(N[1],G[1],W[1],J[1]),X=this.svgFactory.createElement("svg:rect");X.setAttributeNS(null,"x",Y),X.setAttributeNS(null,"y",V),X.setAttributeNS(null,"width",H-Y),X.setAttributeNS(null,"height",z-V),X.setAttributeNS(null,"fill",this._makeShadingPattern(y)),this.current.fillAlpha<1&&X.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(X)}_makeColorN_Pattern(y){return y[0]==="TilingPattern"?this._makeTilingPattern(y):this._makeShadingPattern(y)}_makeTilingPattern(y){const D=y[1],M=y[2],F=y[3]||U.IDENTITY_MATRIX,[N,G,W,J]=y[4],Y=y[5],V=y[6],H=y[7],z=`shading${l++}`,[X,q,$,fe]=U.Util.normalizeRect([...U.Util.applyTransform([N,G],F),...U.Util.applyTransform([W,J],F)]),[Q,ie]=U.Util.singularValueDecompose2dScale(F),Te=Y*Q,me=V*ie,K=this.svgFactory.createElement("svg:pattern");K.setAttributeNS(null,"id",z),K.setAttributeNS(null,"patternUnits","userSpaceOnUse"),K.setAttributeNS(null,"width",Te),K.setAttributeNS(null,"height",me),K.setAttributeNS(null,"x",`${X}`),K.setAttributeNS(null,"y",`${q}`);const ce=this.svg,de=this.transformMatrix,Z=this.current.fillColor,ae=this.current.strokeColor,he=this.svgFactory.create($-X,fe-q);if(this.svg=he,this.transformMatrix=F,H===2){const we=U.Util.makeHexColor(...D);this.current.fillColor=we,this.current.strokeColor=we}return this.executeOpTree(this.convertOpList(M)),this.svg=ce,this.transformMatrix=de,this.current.fillColor=Z,this.current.strokeColor=ae,K.append(he.childNodes[0]),this.defs.append(K),`url(#${z})`}_makeShadingPattern(y){switch(typeof y=="string"&&(y=this.objs.get(y)),y[0]){case"RadialAxial":const D=`shading${l++}`,M=y[3];let F;switch(y[1]){case"axial":const N=y[4],G=y[5];F=this.svgFactory.createElement("svg:linearGradient"),F.setAttributeNS(null,"id",D),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"x1",N[0]),F.setAttributeNS(null,"y1",N[1]),F.setAttributeNS(null,"x2",G[0]),F.setAttributeNS(null,"y2",G[1]);break;case"radial":const W=y[4],J=y[5],Y=y[6],V=y[7];F=this.svgFactory.createElement("svg:radialGradient"),F.setAttributeNS(null,"id",D),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"cx",J[0]),F.setAttributeNS(null,"cy",J[1]),F.setAttributeNS(null,"r",V),F.setAttributeNS(null,"fx",W[0]),F.setAttributeNS(null,"fy",W[1]),F.setAttributeNS(null,"fr",Y);break;default:throw new Error(`Unknown RadialAxial type: ${y[1]}`)}for(const N of M){const G=this.svgFactory.createElement("svg:stop");G.setAttributeNS(null,"offset",N[0]),G.setAttributeNS(null,"stop-color",N[1]),F.append(G)}return this.defs.append(F),`url(#${D})`;case"Mesh":return(0,U.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${y[0]}`)}}setDash(y,D){this.current.dashArray=y,this.current.dashPhase=D}constructPath(y,D){const M=this.current;let F=M.x,N=M.y,G=[],W=0;for(const J of y)switch(J|0){case U.OPS.rectangle:F=D[W++],N=D[W++];const Y=D[W++],V=D[W++],H=F+Y,z=N+V;G.push("M",B(F),B(N),"L",B(H),B(N),"L",B(H),B(z),"L",B(F),B(z),"Z");break;case U.OPS.moveTo:F=D[W++],N=D[W++],G.push("M",B(F),B(N));break;case U.OPS.lineTo:F=D[W++],N=D[W++],G.push("L",B(F),B(N));break;case U.OPS.curveTo:F=D[W+4],N=D[W+5],G.push("C",B(D[W]),B(D[W+1]),B(D[W+2]),B(D[W+3]),B(F),B(N)),W+=6;break;case U.OPS.curveTo2:G.push("C",B(F),B(N),B(D[W]),B(D[W+1]),B(D[W+2]),B(D[W+3])),F=D[W+2],N=D[W+3],W+=4;break;case U.OPS.curveTo3:F=D[W+2],N=D[W+3],G.push("C",B(D[W]),B(D[W+1]),B(F),B(N),B(F),B(N)),W+=4;break;case U.OPS.closePath:G.push("Z");break}G=G.join(" "),M.path&&y.length>0&&y[0]!==U.OPS.rectangle&&y[0]!==U.OPS.moveTo?G=M.path.getAttributeNS(null,"d")+G:(M.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(M.path)),M.path.setAttributeNS(null,"d",G),M.path.setAttributeNS(null,"fill","none"),M.element=M.path,M.setCurrentPoint(F,N)}endPath(){const y=this.current;if(y.path=null,!this.pendingClip)return;if(!y.element){this.pendingClip=null;return}const D=`clippath${S++}`,M=this.svgFactory.createElement("svg:clipPath");M.setAttributeNS(null,"id",D),M.setAttributeNS(null,"transform",P(this.transformMatrix));const F=y.element.cloneNode(!0);if(this.pendingClip==="evenodd"?F.setAttributeNS(null,"clip-rule","evenodd"):F.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,M.append(F),this.defs.append(M),y.activeClipUrl){y.clipGroup=null;for(const N of this.extraStack)N.clipGroup=null;M.setAttributeNS(null,"clip-path",y.activeClipUrl)}y.activeClipUrl=`url(#${D})`,this.tgrp=null}clip(y){this.pendingClip=y}closePath(){const y=this.current;if(y.path){const D=`${y.path.getAttributeNS(null,"d")}Z`;y.path.setAttributeNS(null,"d",D)}}setLeading(y){this.current.leading=-y}setTextRise(y){this.current.textRise=y}setTextRenderingMode(y){this.current.textRenderingMode=y}setHScale(y){this.current.textHScale=y/100}setRenderingIntent(y){}setFlatness(y){}setGState(y){for(const[D,M]of y)switch(D){case"LW":this.setLineWidth(M);break;case"LC":this.setLineCap(M);break;case"LJ":this.setLineJoin(M);break;case"ML":this.setMiterLimit(M);break;case"D":this.setDash(M[0],M[1]);break;case"RI":this.setRenderingIntent(M);break;case"FL":this.setFlatness(M);break;case"Font":this.setFont(M);break;case"CA":this.setStrokeAlpha(M);break;case"ca":this.setFillAlpha(M);break;default:(0,U.warn)(`Unimplemented graphic state operator ${D}`);break}}fill(){const y=this.current;y.element&&(y.element.setAttributeNS(null,"fill",y.fillColor),y.element.setAttributeNS(null,"fill-opacity",y.fillAlpha),this.endPath())}stroke(){const y=this.current;y.element&&(this._setStrokeAttributes(y.element),y.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(y){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const M=this.current;let F=M.dashArray;D!==1&&F.length>0&&(F=F.map(function(N){return D*N})),y.setAttributeNS(null,"stroke",M.strokeColor),y.setAttributeNS(null,"stroke-opacity",M.strokeAlpha),y.setAttributeNS(null,"stroke-miterlimit",B(M.miterLimit)),y.setAttributeNS(null,"stroke-linecap",M.lineCap),y.setAttributeNS(null,"stroke-linejoin",M.lineJoin),y.setAttributeNS(null,"stroke-width",B(D*M.lineWidth)+"px"),y.setAttributeNS(null,"stroke-dasharray",F.map(B).join(" ")),y.setAttributeNS(null,"stroke-dashoffset",B(D*M.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const y=this.svgFactory.createElement("svg:rect");y.setAttributeNS(null,"x","0"),y.setAttributeNS(null,"y","0"),y.setAttributeNS(null,"width","1px"),y.setAttributeNS(null,"height","1px"),y.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(y)}paintImageXObject(y){const D=y.startsWith("g_")?this.commonObjs.get(y):this.objs.get(y);if(!D){(0,U.warn)(`Dependent image with object ID ${y} is not ready yet`);return}this.paintInlineImageXObject(D)}paintInlineImageXObject(y,D){const M=y.width,F=y.height,N=e(y,this.forceDataSchema,!!D),G=this.svgFactory.createElement("svg:rect");G.setAttributeNS(null,"x","0"),G.setAttributeNS(null,"y","0"),G.setAttributeNS(null,"width",B(M)),G.setAttributeNS(null,"height",B(F)),this.current.element=G,this.clip("nonzero");const W=this.svgFactory.createElement("svg:image");W.setAttributeNS(n,"xlink:href",N),W.setAttributeNS(null,"x","0"),W.setAttributeNS(null,"y",B(-F)),W.setAttributeNS(null,"width",B(M)+"px"),W.setAttributeNS(null,"height",B(F)+"px"),W.setAttributeNS(null,"transform",`scale(${B(1/M)} ${B(-1/F)})`),D?D.append(W):this._ensureTransformGroup().append(W)}paintImageMaskXObject(y){const D=this.current,M=y.width,F=y.height,N=D.fillColor;D.maskId=`mask${_++}`;const G=this.svgFactory.createElement("svg:mask");G.setAttributeNS(null,"id",D.maskId);const W=this.svgFactory.createElement("svg:rect");W.setAttributeNS(null,"x","0"),W.setAttributeNS(null,"y","0"),W.setAttributeNS(null,"width",B(M)),W.setAttributeNS(null,"height",B(F)),W.setAttributeNS(null,"fill",N),W.setAttributeNS(null,"mask",`url(#${D.maskId})`),this.defs.append(G),this._ensureTransformGroup().append(W),this.paintInlineImageXObject(y,G)}paintFormXObjectBegin(y,D){if(Array.isArray(y)&&y.length===6&&this.transform(y[0],y[1],y[2],y[3],y[4],y[5]),D){const M=D[2]-D[0],F=D[3]-D[1],N=this.svgFactory.createElement("svg:rect");N.setAttributeNS(null,"x",D[0]),N.setAttributeNS(null,"y",D[1]),N.setAttributeNS(null,"width",B(M)),N.setAttributeNS(null,"height",B(F)),this.current.element=N,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(y){const D=this.svgFactory.create(y.width,y.height),M=this.svgFactory.createElement("svg:defs");D.append(M),this.defs=M;const F=this.svgFactory.createElement("svg:g");return F.setAttributeNS(null,"transform",P(y.transform)),D.append(F),this.svg=F,D}_ensureClipGroup(){if(!this.current.clipGroup){const y=this.svgFactory.createElement("svg:g");y.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(y),this.current.clipGroup=y}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",P(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.PDFNodeStream=void 0;var w=m(1),U=m(158);const k=require$$7,x=require$$7,a=require$$7,g=require$$7,n=/^file:\/\/\/[a-zA-Z]:\//;function c(_){const l=g.parse(_);return l.protocol==="file:"||l.host?l:/^[a-z]:[/\\]/i.test(_)?g.parse(`file:///${_}`):(l.host||(l.protocol="file:"),l)}class R{constructor(l){this.source=l,this.url=c(l.url),this.isHttp=this.url.protocol==="http:"||this.url.protocol==="https:",this.isFsUrl=this.url.protocol==="file:",this.httpHeaders=this.isHttp&&l.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var l,y;return(l=(y=this._fullRequestReader)===null||y===void 0?void 0:y._loaded)!==null&&l!==void 0?l:0}getFullReader(){return(0,w.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new P(this):new O(this),this._fullRequestReader}getRangeReader(l,y){if(y<=this._progressiveDataLength)return null;const D=this.isFsUrl?new S(this,l,y):new B(this,l,y);return this._rangeRequestReaders.push(D),D}cancelAllRequests(l){this._fullRequestReader&&this._fullRequestReader.cancel(l);for(const y of this._rangeRequestReaders.slice(0))y.cancel(l)}}r.PDFNodeStream=R;class v{constructor(l){this._url=l.url,this._done=!1,this._storedError=null,this.onProgress=null;const y=l.source;this._contentLength=y.length,this._loaded=0,this._filename=null,this._disableRange=y.disableRange||!1,this._rangeChunkSize=y.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!y.disableStream,this._isRangeSupported=!y.disableRange,this._readableStream=null,this._readCapability=(0,w.createPromiseCapability)(),this._headersCapability=(0,w.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const l=this._readableStream.read();return l===null?(this._readCapability=(0,w.createPromiseCapability)(),this.read()):(this._loaded+=l.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(l).buffer,done:!1})}cancel(l){if(!this._readableStream){this._error(l);return}this._readableStream.destroy(l)}_error(l){this._storedError=l,this._readCapability.resolve()}_setReadableStream(l){this._readableStream=l,l.on("readable",()=>{this._readCapability.resolve()}),l.on("end",()=>{l.destroy(),this._done=!0,this._readCapability.resolve()}),l.on("error",y=>{this._error(y)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new w.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class e{constructor(l){this._url=l.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,w.createPromiseCapability)();const y=l.source;this._isStreamingSupported=!y.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const l=this._readableStream.read();return l===null?(this._readCapability=(0,w.createPromiseCapability)(),this.read()):(this._loaded+=l.length,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(l).buffer,done:!1})}cancel(l){if(!this._readableStream){this._error(l);return}this._readableStream.destroy(l)}_error(l){this._storedError=l,this._readCapability.resolve()}_setReadableStream(l){this._readableStream=l,l.on("readable",()=>{this._readCapability.resolve()}),l.on("end",()=>{l.destroy(),this._done=!0,this._readCapability.resolve()}),l.on("error",y=>{this._error(y)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function L(_,l){return{protocol:_.protocol,auth:_.auth,host:_.hostname,port:_.port,path:_.path,method:"GET",headers:l}}class O extends v{constructor(l){super(l);const y=D=>{if(D.statusCode===404){const G=new w.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=G,this._headersCapability.reject(G);return}this._headersCapability.resolve(),this._setReadableStream(D);const M=G=>this._readableStream.headers[G.toLowerCase()],{allowRangeRequests:F,suggestedLength:N}=(0,U.validateRangeRequestCapabilities)({getResponseHeader:M,isHttp:l.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=F,this._contentLength=N||this._contentLength,this._filename=(0,U.extractFilenameFromHeader)(M)};this._request=null,this._url.protocol==="http:"?this._request=x.request(L(this._url,l.httpHeaders),y):this._request=a.request(L(this._url,l.httpHeaders),y),this._request.on("error",D=>{this._storedError=D,this._headersCapability.reject(D)}),this._request.end()}}class B extends e{constructor(l,y,D){super(l),this._httpHeaders={};for(const F in l.httpHeaders){const N=l.httpHeaders[F];typeof N>"u"||(this._httpHeaders[F]=N)}this._httpHeaders.Range=`bytes=${y}-${D-1}`;const M=F=>{if(F.statusCode===404){const N=new w.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=N;return}this._setReadableStream(F)};this._request=null,this._url.protocol==="http:"?this._request=x.request(L(this._url,this._httpHeaders),M):this._request=a.request(L(this._url,this._httpHeaders),M),this._request.on("error",F=>{this._storedError=F}),this._request.end()}}class P extends v{constructor(l){super(l);let y=decodeURIComponent(this._url.path);n.test(this._url.href)&&(y=y.replace(/^\//,"")),k.lstat(y,(D,M)=>{if(D){D.code==="ENOENT"&&(D=new w.MissingPDFException(`Missing PDF "${y}".`)),this._storedError=D,this._headersCapability.reject(D);return}this._contentLength=M.size,this._setReadableStream(k.createReadStream(y)),this._headersCapability.resolve()})}}class S extends e{constructor(l,y,D){super(l);let M=decodeURIComponent(this._url.path);n.test(this._url.href)&&(M=M.replace(/^\//,"")),this._setReadableStream(k.createReadStream(M,{start:y,end:D-1}))}}},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.createResponseStatusError=g,r.extractFilenameFromHeader=a,r.validateRangeRequestCapabilities=x,r.validateResponseStatus=n;var w=m(1),U=m(159),k=m(133);function x(c){let{getResponseHeader:R,isHttp:v,rangeChunkSize:e,disableRange:L}=c;const O={allowRangeRequests:!1,suggestedLength:void 0},B=parseInt(R("Content-Length"),10);return!Number.isInteger(B)||(O.suggestedLength=B,B<=2*e)||L||!v||R("Accept-Ranges")!=="bytes"||(R("Content-Encoding")||"identity")!=="identity"||(O.allowRangeRequests=!0),O}function a(c){const R=c("Content-Disposition");if(R){let v=(0,U.getFilenameFromContentDispositionHeader)(R);if(v.includes("%"))try{v=decodeURIComponent(v)}catch{}if((0,k.isPdfFile)(v))return v}return null}function g(c,R){return c===404||c===0&&R.startsWith("file:")?new w.MissingPDFException('Missing PDF "'+R+'".'):new w.UnexpectedResponseException(`Unexpected server response (${c}) while retrieving PDF "${R}".`,c)}function n(c){return c===200||c===206}},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.getFilenameFromContentDispositionHeader=U;var w=m(1);function U(k){let x=!0,a=g("filename\\*","i").exec(k);if(a){a=a[1];let O=v(a);return O=unescape(O),O=e(O),O=L(O),c(O)}if(a=R(k),a){const O=L(a);return c(O)}if(a=g("filename","i").exec(k),a){a=a[1];let O=v(a);return O=L(O),c(O)}function g(O,B){return new RegExp("(?:^|;)\\s*"+O+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',B)}function n(O,B){if(O){if(!/^[\x00-\xFF]+$/.test(B))return B;try{const P=new TextDecoder(O,{fatal:!0}),S=(0,w.stringToBytes)(B);B=P.decode(S),x=!1}catch{}}return B}function c(O){return x&&/[\x80-\xff]/.test(O)&&(O=n("utf-8",O),x&&(O=n("iso-8859-1",O))),O}function R(O){const B=[];let P;const S=g("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(P=S.exec(O))!==null;){let[,l,y,D]=P;if(l=parseInt(l,10),l in B){if(l===0)break;continue}B[l]=[y,D]}const _=[];for(let l=0;l{Object.defineProperty(r,"__esModule",{value:!0}),r.PDFNetworkStream=void 0;var w=m(1),U=m(158);const k=200,x=206;function a(v){const e=v.response;return typeof e!="string"?e:(0,w.stringToBytes)(e).buffer}class g{constructor(e){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.url=e,this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&L.httpHeaders||Object.create(null),this.withCredentials=L.withCredentials||!1,this.getXhr=L.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(e,L,O){const B={begin:e,end:L};for(const P in O)B[P]=O[P];return this.request(B)}requestFull(e){return this.request(e)}request(e){const L=this.getXhr(),O=this.currXhrId++,B=this.pendingRequests[O]={xhr:L};L.open("GET",this.url),L.withCredentials=this.withCredentials;for(const P in this.httpHeaders){const S=this.httpHeaders[P];typeof S>"u"||L.setRequestHeader(P,S)}return this.isHttp&&"begin"in e&&"end"in e?(L.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),B.expectedStatus=x):B.expectedStatus=k,L.responseType="arraybuffer",e.onError&&(L.onerror=function(P){e.onError(L.status)}),L.onreadystatechange=this.onStateChange.bind(this,O),L.onprogress=this.onProgress.bind(this,O),B.onHeadersReceived=e.onHeadersReceived,B.onDone=e.onDone,B.onError=e.onError,B.onProgress=e.onProgress,L.send(null),O}onProgress(e,L){var O;const B=this.pendingRequests[e];B&&((O=B.onProgress)===null||O===void 0||O.call(B,L))}onStateChange(e,L){const O=this.pendingRequests[e];if(!O)return;const B=O.xhr;if(B.readyState>=2&&O.onHeadersReceived&&(O.onHeadersReceived(),delete O.onHeadersReceived),B.readyState!==4||!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],B.status===0&&this.isHttp){var P;(P=O.onError)===null||P===void 0||P.call(O,B.status);return}const S=B.status||k;if(!(S===k&&O.expectedStatus===x)&&S!==O.expectedStatus){var l;(l=O.onError)===null||l===void 0||l.call(O,B.status);return}const y=a(B);if(S===x){const M=B.getResponseHeader("Content-Range"),F=/bytes (\d+)-(\d+)\/(\d+)/.exec(M);O.onDone({begin:parseInt(F[1],10),chunk:y})}else if(y)O.onDone({begin:0,chunk:y});else{var D;(D=O.onError)===null||D===void 0||D.call(O,B.status)}}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const L=this.pendingRequests[e].xhr;delete this.pendingRequests[e],L.abort()}}class n{constructor(e){this._source=e,this._manager=new g(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const L=this._rangeRequestReaders.indexOf(e);L>=0&&this._rangeRequestReaders.splice(L,1)}getFullReader(){return(0,w.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new c(this._manager,this._source),this._fullRequestReader}getRangeReader(e,L){const O=new R(this._manager,e,L);return O.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(O),O}cancelAllRequests(e){var L;(L=this._fullRequestReader)===null||L===void 0||L.cancel(e);for(const O of this._rangeRequestReaders.slice(0))O.cancel(e)}}r.PDFNetworkStream=n;class c{constructor(e,L){this._manager=e;const O={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=L.url,this._fullRequestId=e.requestFull(O),this._headersReceivedCapability=(0,w.createPromiseCapability)(),this._disableRange=L.disableRange||!1,this._contentLength=L.length,this._rangeChunkSize=L.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,L=this._manager.getRequestXhr(e),O=S=>L.getResponseHeader(S),{allowRangeRequests:B,suggestedLength:P}=(0,U.validateRangeRequestCapabilities)({getResponseHeader:O,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});B&&(this._isRangeSupported=!0),this._contentLength=P||this._contentLength,this._filename=(0,U.extractFilenameFromHeader)(O),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}_onDone(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const L of this._requests)L.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=(0,U.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError);for(const L of this._requests)L.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var L;(L=this.onProgress)===null||L===void 0||L.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,w.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersReceivedCapability.reject(e);for(const L of this._requests)L.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class R{constructor(e,L,O){this._manager=e;const B={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(L,O,B),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){var e;(e=this.onClosed)===null||e===void 0||e.call(this,this)}_onDone(e){const L=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:L,done:!1}):this._queuedChunk=L,this._done=!0;for(const O of this._requests)O.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError=(0,U.createResponseStatusError)(e,this._url);for(const L of this._requests)L.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){if(!this.isStreamingSupported){var L;(L=this.onProgress)===null||L===void 0||L.call(this,{loaded:e.loaded})}}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const L=this._queuedChunk;return this._queuedChunk=null,{value:L,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,w.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const L of this._requests)L.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(b,r,m)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.PDFFetchStream=void 0;var w=m(1),U=m(158);function k(c,R,v){return{method:"GET",headers:c,signal:v.signal,mode:"cors",credentials:R?"include":"same-origin",redirect:"follow"}}function x(c){const R=new Headers;for(const v in c){const e=c[v];typeof e>"u"||R.append(v,e)}return R}class a{constructor(R){this.source=R,this.isHttp=/^https?:/i.test(R.url),this.httpHeaders=this.isHttp&&R.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var R,v;return(R=(v=this._fullRequestReader)===null||v===void 0?void 0:v._loaded)!==null&&R!==void 0?R:0}getFullReader(){return(0,w.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new g(this),this._fullRequestReader}getRangeReader(R,v){if(v<=this._progressiveDataLength)return null;const e=new n(this,R,v);return this._rangeRequestReaders.push(e),e}cancelAllRequests(R){this._fullRequestReader&&this._fullRequestReader.cancel(R);for(const v of this._rangeRequestReaders.slice(0))v.cancel(R)}}r.PDFFetchStream=a;class g{constructor(R){this._stream=R,this._reader=null,this._loaded=0,this._filename=null;const v=R.source;this._withCredentials=v.withCredentials||!1,this._contentLength=v.length,this._headersCapability=(0,w.createPromiseCapability)(),this._disableRange=v.disableRange||!1,this._rangeChunkSize=v.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!v.disableStream,this._isRangeSupported=!v.disableRange,this._headers=x(this._stream.httpHeaders);const e=v.url;fetch(e,k(this._headers,this._withCredentials,this._abortController)).then(L=>{if(!(0,U.validateResponseStatus)(L.status))throw(0,U.createResponseStatusError)(L.status,e);this._reader=L.body.getReader(),this._headersCapability.resolve();const O=S=>L.headers.get(S),{allowRangeRequests:B,suggestedLength:P}=(0,U.validateRangeRequestCapabilities)({getResponseHeader:O,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=B,this._contentLength=P||this._contentLength,this._filename=(0,U.extractFilenameFromHeader)(O),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new w.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:R,done:v}=await this._reader.read();return v?{value:R,done:v}:(this._loaded+=R.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(R).buffer,done:!1})}cancel(R){this._reader&&this._reader.cancel(R),this._abortController.abort()}}class n{constructor(R,v,e){this._stream=R,this._reader=null,this._loaded=0;const L=R.source;this._withCredentials=L.withCredentials||!1,this._readCapability=(0,w.createPromiseCapability)(),this._isStreamingSupported=!L.disableStream,this._abortController=new AbortController,this._headers=x(this._stream.httpHeaders),this._headers.append("Range",`bytes=${v}-${e-1}`);const O=L.url;fetch(O,k(this._headers,this._withCredentials,this._abortController)).then(B=>{if(!(0,U.validateResponseStatus)(B.status))throw(0,U.createResponseStatusError)(B.status,O);this._readCapability.resolve(),this._reader=B.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:R,done:v}=await this._reader.read();return v?{value:R,done:v}:(this._loaded+=R.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(R).buffer,done:!1})}cancel(R){this._reader&&this._reader.cancel(R),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(b){var r=__webpack_module_cache__[b];if(r!==void 0)return r.exports;var m=__webpack_module_cache__[b]={exports:{}};return __webpack_modules__[b](m,m.exports,__w_pdfjs_require__),m.exports}var __webpack_exports__={};return(()=>{var b=__webpack_exports__;Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"AnnotationEditorLayer",{enumerable:!0,get:function(){return U.AnnotationEditorLayer}}),Object.defineProperty(b,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return r.AnnotationEditorParamsType}}),Object.defineProperty(b,"AnnotationEditorType",{enumerable:!0,get:function(){return r.AnnotationEditorType}}),Object.defineProperty(b,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return k.AnnotationEditorUIManager}}),Object.defineProperty(b,"AnnotationLayer",{enumerable:!0,get:function(){return x.AnnotationLayer}}),Object.defineProperty(b,"AnnotationMode",{enumerable:!0,get:function(){return r.AnnotationMode}}),Object.defineProperty(b,"CMapCompressionType",{enumerable:!0,get:function(){return r.CMapCompressionType}}),Object.defineProperty(b,"GlobalWorkerOptions",{enumerable:!0,get:function(){return a.GlobalWorkerOptions}}),Object.defineProperty(b,"InvalidPDFException",{enumerable:!0,get:function(){return r.InvalidPDFException}}),Object.defineProperty(b,"LoopbackPort",{enumerable:!0,get:function(){return m.LoopbackPort}}),Object.defineProperty(b,"MissingPDFException",{enumerable:!0,get:function(){return r.MissingPDFException}}),Object.defineProperty(b,"OPS",{enumerable:!0,get:function(){return r.OPS}}),Object.defineProperty(b,"PDFDataRangeTransport",{enumerable:!0,get:function(){return m.PDFDataRangeTransport}}),Object.defineProperty(b,"PDFDateString",{enumerable:!0,get:function(){return w.PDFDateString}}),Object.defineProperty(b,"PDFWorker",{enumerable:!0,get:function(){return m.PDFWorker}}),Object.defineProperty(b,"PasswordResponses",{enumerable:!0,get:function(){return r.PasswordResponses}}),Object.defineProperty(b,"PermissionFlag",{enumerable:!0,get:function(){return r.PermissionFlag}}),Object.defineProperty(b,"PixelsPerInch",{enumerable:!0,get:function(){return w.PixelsPerInch}}),Object.defineProperty(b,"RenderingCancelledException",{enumerable:!0,get:function(){return w.RenderingCancelledException}}),Object.defineProperty(b,"SVGGraphics",{enumerable:!0,get:function(){return c.SVGGraphics}}),Object.defineProperty(b,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return r.UNSUPPORTED_FEATURES}}),Object.defineProperty(b,"UnexpectedResponseException",{enumerable:!0,get:function(){return r.UnexpectedResponseException}}),Object.defineProperty(b,"Util",{enumerable:!0,get:function(){return r.Util}}),Object.defineProperty(b,"VerbosityLevel",{enumerable:!0,get:function(){return r.VerbosityLevel}}),Object.defineProperty(b,"XfaLayer",{enumerable:!0,get:function(){return R.XfaLayer}}),Object.defineProperty(b,"build",{enumerable:!0,get:function(){return m.build}}),Object.defineProperty(b,"createPromiseCapability",{enumerable:!0,get:function(){return r.createPromiseCapability}}),Object.defineProperty(b,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return r.createValidAbsoluteUrl}}),Object.defineProperty(b,"getDocument",{enumerable:!0,get:function(){return m.getDocument}}),Object.defineProperty(b,"getFilenameFromUrl",{enumerable:!0,get:function(){return w.getFilenameFromUrl}}),Object.defineProperty(b,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return w.getPdfFilenameFromUrl}}),Object.defineProperty(b,"getXfaPageViewport",{enumerable:!0,get:function(){return w.getXfaPageViewport}}),Object.defineProperty(b,"isPdfFile",{enumerable:!0,get:function(){return w.isPdfFile}}),Object.defineProperty(b,"loadScript",{enumerable:!0,get:function(){return w.loadScript}}),Object.defineProperty(b,"renderTextLayer",{enumerable:!0,get:function(){return n.renderTextLayer}}),Object.defineProperty(b,"shadow",{enumerable:!0,get:function(){return r.shadow}}),Object.defineProperty(b,"version",{enumerable:!0,get:function(){return m.version}});var r=__w_pdfjs_require__(1),m=__w_pdfjs_require__(129),w=__w_pdfjs_require__(133),U=__w_pdfjs_require__(147),k=__w_pdfjs_require__(132),x=__w_pdfjs_require__(152),a=__w_pdfjs_require__(140),g=__w_pdfjs_require__(3),n=__w_pdfjs_require__(155),c=__w_pdfjs_require__(156),R=__w_pdfjs_require__(154);if(g.isNodeJS){const{PDFNodeStream:v}=__w_pdfjs_require__(157);(0,m.setPDFNetworkStreamFactory)(e=>new v(e))}else{const{PDFNetworkStream:v}=__w_pdfjs_require__(160),{PDFFetchStream:e}=__w_pdfjs_require__(161);(0,m.setPDFNetworkStreamFactory)(L=>(0,w.isValidFetchUrl)(L.url)?new e(L):new v(L))}})(),__webpack_exports__})())}(pdf)),pdf.exports}var pdfExports=requirePdf(),pdf_worker_entry={},pdf_worker={exports:{}};(function(b,r){(function(w,U){b.exports=U()})(globalThis,()=>(()=>{var m=[,(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.WorkerTask=a.WorkerMessageHandler=void 0;var n=g(2),c=g(130),R=g(131),v=g(133),e=g(196),L=g(190),O=g(4),B=g(227),P=g(228);class S{constructor(D){this.name=D,this.terminated=!1,this._capability=(0,n.createPromiseCapability)()}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}a.WorkerTask=S;class _{static setup(D,M){let F=!1;D.on("test",function(G){F||(F=!0,D.send("test",G instanceof Uint8Array))}),D.on("configure",function(G){(0,n.setVerbosityLevel)(G.verbosity)}),D.on("GetDocRequest",function(G){return _.createDocumentHandler(G,M)})}static createDocumentHandler(D,M){let F,N=!1,G=null;const W=[],J=(0,n.getVerbosityLevel)(),Y=D.apiVersion,V="2.16.105";if(Y!==V)throw new Error(`The API version "${Y}" does not match the Worker version "${V}".`);const H=[];for(const ce in[])H.push(ce);if(H.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+H.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");if(typeof ReadableStream>"u"){const ce="The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g. `ReadableStream`); ";throw O.isNodeJS?new Error(ce+"please use a `legacy`-build instead."):new Error(ce+"please update to a supported browser.")}const z=D.docId,X=D.docBaseUrl,q=D.docId+"_worker";let $=new B.MessageHandler(q,z,M);function fe(){if(N)throw new Error("Worker was terminated")}function Q(ce){W.push(ce)}function ie(ce){ce.finish();const de=W.indexOf(ce);W.splice(de,1)}async function Te(ce){await F.ensureDoc("checkHeader"),await F.ensureDoc("parseStartXRef"),await F.ensureDoc("parse",[ce]),await F.ensureDoc("checkFirstPage",[ce]),await F.ensureDoc("checkLastPage",[ce]);const de=await F.ensureDoc("isPureXfa");if(de){const we=new S("loadXfaFonts");Q(we),await Promise.all([F.loadXfaFonts($,we).catch(_e=>{}).then(()=>ie(we)),F.loadXfaImages()])}const[Z,ae]=await Promise.all([F.ensureDoc("numPages"),F.ensureDoc("fingerprints")]),he=de?await F.ensureDoc("htmlForXfa"):null;return{numPages:Z,fingerprints:ae,htmlForXfa:he}}function me(ce,de,Z){const ae=(0,n.createPromiseCapability)();let he;const we=ce.source;if(we.data){try{he=new v.LocalPdfManager(z,we.data,we.password,$,de,Z,X),ae.resolve(he)}catch(pe){ae.reject(pe)}return ae.promise}let _e,ye=[];try{_e=new P.PDFWorkerStream($)}catch(pe){return ae.reject(pe),ae.promise}const se=_e.getFullReader();se.headersReady.then(function(){if(!se.isRangeSupported)return;const pe=we.disableAutoFetch||se.isStreamingSupported;he=new v.NetworkPdfManager(z,_e,{msgHandler:$,password:we.password,length:se.contentLength,disableAutoFetch:pe,rangeChunkSize:we.rangeChunkSize},de,Z,X);for(const xe of ye)he.sendProgressiveData(xe);ye=[],ae.resolve(he),G=null}).catch(function(pe){ae.reject(pe),G=null});let Ie=0;const Ce=function(){const pe=(0,n.arraysToBytes)(ye);we.length&&pe.length!==we.length&&(0,n.warn)("reported HTTP length is different from actual");try{he=new v.LocalPdfManager(z,pe,we.password,$,de,Z,X),ae.resolve(he)}catch(xe){ae.reject(xe)}ye=[]};return new Promise(function(pe,xe){const Ne=function(ke){let{value:De,done:Fe}=ke;try{if(fe(),Fe){he||Ce(),G=null;return}Ie+=(0,n.arrayByteLength)(De),se.isStreamingSupported||$.send("DocProgress",{loaded:Ie,total:Math.max(Ie,se.contentLength||0)}),he?he.sendProgressiveData(De):ye.push(De),se.read().then(Ne,xe)}catch(Pe){xe(Pe)}};se.read().then(Ne,xe)}).catch(function(pe){ae.reject(pe),G=null}),G=function(pe){_e.cancelAllRequests(pe)},ae.promise}function K(ce){function de(we){fe(),$.send("GetDoc",{pdfInfo:we})}function Z(we){if(fe(),we instanceof n.PasswordException){const _e=new S(`PasswordException: response ${we.code}`);Q(_e),$.sendWithPromise("PasswordRequest",we).then(function(ye){let{password:se}=ye;ie(_e),F.updatePassword(se),ae()}).catch(function(){ie(_e),$.send("DocException",we)})}else we instanceof n.InvalidPDFException||we instanceof n.MissingPDFException||we instanceof n.UnexpectedResponseException||we instanceof n.UnknownErrorException?$.send("DocException",we):$.send("DocException",new n.UnknownErrorException(we.message,we.toString()))}function ae(){fe(),Te(!1).then(de,function(we){if(fe(),!(we instanceof R.XRefParseException)){Z(we);return}F.requestLoadedStream(),F.onLoadedStream().then(function(){fe(),Te(!0).then(de,Z)})})}fe();const he={maxImageSize:ce.maxImageSize,disableFontFace:ce.disableFontFace,ignoreErrors:ce.ignoreErrors,isEvalSupported:ce.isEvalSupported,fontExtraProperties:ce.fontExtraProperties,useSystemFonts:ce.useSystemFonts,cMapUrl:ce.cMapUrl,standardFontDataUrl:ce.standardFontDataUrl};me(ce,he,ce.enableXfa).then(function(we){if(N)throw we.terminate(new n.AbortException("Worker was terminated.")),new Error("Worker was terminated");F=we,F.onLoadedStream().then(function(_e){$.send("DataLoaded",{length:_e.bytes.byteLength})})}).then(ae,Z)}return $.on("GetPage",function(de){return F.getPage(de.pageIndex).then(function(Z){return Promise.all([F.ensure(Z,"rotate"),F.ensure(Z,"ref"),F.ensure(Z,"userUnit"),F.ensure(Z,"view")]).then(function(ae){let[he,we,_e,ye]=ae;return{rotate:he,ref:we,userUnit:_e,view:ye}})})}),$.on("GetPageIndex",function(de){const Z=c.Ref.get(de.num,de.gen);return F.ensureCatalog("getPageIndex",[Z])}),$.on("GetDestinations",function(de){return F.ensureCatalog("destinations")}),$.on("GetDestination",function(de){return F.ensureCatalog("getDestination",[de.id])}),$.on("GetPageLabels",function(de){return F.ensureCatalog("pageLabels")}),$.on("GetPageLayout",function(de){return F.ensureCatalog("pageLayout")}),$.on("GetPageMode",function(de){return F.ensureCatalog("pageMode")}),$.on("GetViewerPreferences",function(ce){return F.ensureCatalog("viewerPreferences")}),$.on("GetOpenAction",function(ce){return F.ensureCatalog("openAction")}),$.on("GetAttachments",function(de){return F.ensureCatalog("attachments")}),$.on("GetJavaScript",function(de){return F.ensureCatalog("javaScript")}),$.on("GetDocJSActions",function(de){return F.ensureCatalog("jsActions")}),$.on("GetPageJSActions",function(ce){let{pageIndex:de}=ce;return F.getPage(de).then(function(Z){return F.ensure(Z,"jsActions")})}),$.on("GetOutline",function(de){return F.ensureCatalog("documentOutline")}),$.on("GetOptionalContentConfig",function(ce){return F.ensureCatalog("optionalContentConfig")}),$.on("GetPermissions",function(ce){return F.ensureCatalog("permissions")}),$.on("GetMetadata",function(de){return Promise.all([F.ensureDoc("documentInfo"),F.ensureCatalog("metadata")])}),$.on("GetMarkInfo",function(de){return F.ensureCatalog("markInfo")}),$.on("GetData",function(de){return F.requestLoadedStream(),F.onLoadedStream().then(function(Z){return Z.bytes})}),$.on("GetAnnotations",function(ce){let{pageIndex:de,intent:Z}=ce;return F.getPage(de).then(function(ae){const he=new S(`GetAnnotations: page ${de}`);return Q(he),ae.getAnnotationsData($,he,Z).then(we=>(ie(he),we),we=>{ie(he)})})}),$.on("GetFieldObjects",function(ce){return F.ensureDoc("fieldObjects")}),$.on("HasJSActions",function(ce){return F.ensureDoc("hasJSActions")}),$.on("GetCalculationOrderIds",function(ce){return F.ensureDoc("calculationOrderIds")}),$.on("SaveDocument",function(ce){let{isPureXfa:de,numPages:Z,annotationStorage:ae,filename:he}=ce;F.requestLoadedStream();const we=de?null:(0,R.getNewAnnotationsMap)(ae),_e=[F.onLoadedStream(),F.ensureCatalog("acroForm"),F.ensureCatalog("acroFormRef"),F.ensureDoc("xref"),F.ensureDoc("startXRef")];if(we)for(const[ye,se]of we)_e.push(F.getPage(ye).then(Ie=>{const Ce=new S(`Save (editor): page ${ye}`);return Ie.saveNewAnnotations($,Ce,se).finally(function(){ie(Ce)})}));if(de)_e.push(F.serializeXfaData(ae));else for(let ye=0;ye{typeof Ae=="string"&&(Le[Ee]=(0,n.stringToPDFString)(Ae))}),qe={rootRef:oe.trailer.getRaw("Root")||null,encryptRef:oe.trailer.getRaw("Encrypt")||null,newRef:oe.getNewRef(),infoRef:oe.trailer.getRaw("Info")||null,info:Le,fileIds:oe.trailer.get("ID")||null,startXRef:pe,filename:he}}return oe.resetNewRef(),(0,L.incrementalUpdate)({originalData:se.bytes,xrefInfo:qe,newRefs:Ne,xref:oe,hasXfa:!!De,xfaDatasetsRef:Fe,hasXfaDatasetsEntry:Pe,acroFormRef:Ce,acroForm:Ie,xfaData:ke})})}),$.on("GetOperatorList",function(de,Z){const ae=de.pageIndex;F.getPage(ae).then(function(he){const we=new S(`GetOperatorList: page ${ae}`);Q(we);const _e=J>=n.VerbosityLevel.INFOS?Date.now():0;he.getOperatorList({handler:$,sink:Z,task:we,intent:de.intent,cacheKey:de.cacheKey,annotationStorage:de.annotationStorage}).then(function(ye){ie(we),_e&&(0,n.info)(`page=${ae+1} - getOperatorList: time=${Date.now()-_e}ms, len=${ye.length}`),Z.close()},function(ye){ie(we),!we.terminated&&($.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorOperatorList}),Z.error(ye))})})}),$.on("GetTextContent",function(de,Z){const ae=de.pageIndex;F.getPage(ae).then(function(he){const we=new S("GetTextContent: page "+ae);Q(we);const _e=J>=n.VerbosityLevel.INFOS?Date.now():0;he.extractTextContent({handler:$,task:we,sink:Z,includeMarkedContent:de.includeMarkedContent,combineTextItems:de.combineTextItems}).then(function(){ie(we),_e&&(0,n.info)(`page=${ae+1} - getTextContent: time=${Date.now()-_e}ms`),Z.close()},function(ye){ie(we),!we.terminated&&Z.error(ye)})})}),$.on("GetStructTree",function(de){return F.getPage(de.pageIndex).then(function(Z){return F.ensure(Z,"getStructTree")})}),$.on("FontFallback",function(ce){return F.fontFallback(ce.id,$)}),$.on("Cleanup",function(de){return F.cleanup(!0)}),$.on("Terminate",function(de){N=!0;const Z=[];if(F){F.terminate(new n.AbortException("Worker was terminated."));const ae=F.cleanup();Z.push(ae),F=null}else(0,e.clearGlobalCaches)();G&&G(new n.AbortException("Worker was terminated."));for(const ae of W)Z.push(ae.finished),ae.terminate();return Promise.all(Z).then(function(){$.destroy(),$=null})}),$.on("Ready",function(de){K(D),D=null}),q}static initializeFromPort(D){const M=new B.MessageHandler("worker","main",D);_.setup(M,D),M.send("ready",null)}}a.WorkerMessageHandler=_;function l(y){return typeof y.postMessage=="function"&&"onmessage"in y}typeof window>"u"&&!O.isNodeJS&&typeof self<"u"&&l(self)&&_.initializeFromPort(self)},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.VerbosityLevel=a.Util=a.UnknownErrorException=a.UnexpectedResponseException=a.UNSUPPORTED_FEATURES=a.TextRenderingMode=a.StreamType=a.RenderingIntentFlag=a.PermissionFlag=a.PasswordResponses=a.PasswordException=a.PageActionEventType=a.OPS=a.MissingPDFException=a.LINE_FACTOR=a.LINE_DESCENT_FACTOR=a.InvalidPDFException=a.ImageKind=a.IDENTITY_MATRIX=a.FormatError=a.FontType=a.FeatureTest=a.FONT_IDENTITY_MATRIX=a.DocumentActionEventType=a.CMapCompressionType=a.BaseException=a.AnnotationType=a.AnnotationStateModelType=a.AnnotationReviewState=a.AnnotationReplyType=a.AnnotationMode=a.AnnotationMarkedState=a.AnnotationFlag=a.AnnotationFieldFlag=a.AnnotationEditorType=a.AnnotationEditorPrefix=a.AnnotationEditorParamsType=a.AnnotationBorderStyleType=a.AnnotationActionEventType=a.AbortException=void 0,a.arrayByteLength=Fe,a.arraysToBytes=Pe,a.assert=ae,a.bytesToString=ke,a.createPromiseCapability=ot,a.createValidAbsoluteUrl=we,a.escapeString=Ze,a.getModificationDate=at,a.getVerbosityLevel=K,a.info=ce,a.isArrayBuffer=nt,a.isArrayEqual=Ke,a.isAscii=et,a.objectFromMap=Oe,a.objectSize=Le,a.setVerbosityLevel=me,a.shadow=_e,a.string32=qe,a.stringToBytes=De,a.stringToPDFString=Qe,a.stringToUTF16BEString=tt,a.stringToUTF8String=je,a.unreachable=Z,a.utf8StringToString=Je,a.warn=de,g(3);const n=[1,0,0,1,0,0];a.IDENTITY_MATRIX=n;const c=[.001,0,0,.001,0,0];a.FONT_IDENTITY_MATRIX=c;const R=1.35;a.LINE_FACTOR=R;const v=.35;a.LINE_DESCENT_FACTOR=v;const e={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};a.RenderingIntentFlag=e;const L={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};a.AnnotationMode=L;const O="pdfjs_internal_editor_";a.AnnotationEditorPrefix=O;const B={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};a.AnnotationEditorType=B;const P={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};a.AnnotationEditorParamsType=P;const S={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};a.PermissionFlag=S;const _={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};a.TextRenderingMode=_;const l={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};a.ImageKind=l;const y={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};a.AnnotationType=y;const D={MARKED:"Marked",REVIEW:"Review"};a.AnnotationStateModelType=D;const M={MARKED:"Marked",UNMARKED:"Unmarked"};a.AnnotationMarkedState=M;const F={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};a.AnnotationReviewState=F;const N={GROUP:"Group",REPLY:"R"};a.AnnotationReplyType=N;const G={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};a.AnnotationFlag=G;const W={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};a.AnnotationFieldFlag=W;const J={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};a.AnnotationBorderStyleType=J;const Y={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};a.AnnotationActionEventType=Y;const V={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};a.DocumentActionEventType=V;const H={O:"PageOpen",C:"PageClose"};a.PageActionEventType=H;const z={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};a.StreamType=z;const X={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};a.FontType=X;const q={ERRORS:0,WARNINGS:1,INFOS:5};a.VerbosityLevel=q;const $={NONE:0,BINARY:1,STREAM:2};a.CMapCompressionType=$;const fe={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};a.OPS=fe;const Q={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};a.UNSUPPORTED_FEATURES=Q;const ie={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};a.PasswordResponses=ie;let Te=q.WARNINGS;function me(Xe){Number.isInteger(Xe)&&(Te=Xe)}function K(){return Te}function ce(Xe){Te>=q.INFOS&&console.log(`Info: ${Xe}`)}function de(Xe){Te>=q.WARNINGS&&console.log(`Warning: ${Xe}`)}function Z(Xe){throw new Error(Xe)}function ae(Xe,ze){Xe||Z(ze)}function he(Xe){if(!Xe)return!1;switch(Xe.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function we(Xe){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Xe)return null;try{if(Ye&&typeof Xe=="string"){if(Ye.addDefaultProtocol&&Xe.startsWith("www.")){const _t=Xe.match(/\./g);_t&&_t.length>=2&&(Xe=`http://${Xe}`)}if(Ye.tryConvertEncoding)try{Xe=je(Xe)}catch{}}const st=ze?new URL(Xe,ze):new URL(Xe);if(he(st))return st}catch{}return null}function _e(Xe,ze,Ye){return Object.defineProperty(Xe,ze,{value:Ye,enumerable:!0,configurable:!0,writable:!1}),Ye}const ye=function(){function ze(Ye,st){this.constructor===ze&&Z("Cannot initialize BaseException."),this.message=Ye,this.name=st}return ze.prototype=new Error,ze.constructor=ze,ze}();a.BaseException=ye;class se extends ye{constructor(ze,Ye){super(ze,"PasswordException"),this.code=Ye}}a.PasswordException=se;class Ie extends ye{constructor(ze,Ye){super(ze,"UnknownErrorException"),this.details=Ye}}a.UnknownErrorException=Ie;class Ce extends ye{constructor(ze){super(ze,"InvalidPDFException")}}a.InvalidPDFException=Ce;class oe extends ye{constructor(ze){super(ze,"MissingPDFException")}}a.MissingPDFException=oe;class pe extends ye{constructor(ze,Ye){super(ze,"UnexpectedResponseException"),this.status=Ye}}a.UnexpectedResponseException=pe;class xe extends ye{constructor(ze){super(ze,"FormatError")}}a.FormatError=xe;class Ne extends ye{constructor(ze){super(ze,"AbortException")}}a.AbortException=Ne;function ke(Xe){(typeof Xe!="object"||Xe===null||Xe.length===void 0)&&Z("Invalid argument for bytesToString");const ze=Xe.length,Ye=8192;if(ze>24&255,Xe>>16&255,Xe>>8&255,Xe&255)}function Le(Xe){return Object.keys(Xe).length}function Oe(Xe){const ze=Object.create(null);for(const[Ye,st]of Xe)ze[Ye]=st;return ze}function Ee(){const Xe=new Uint8Array(4);return Xe[0]=1,new Uint32Array(Xe.buffer,0,1)[0]===1}function Ae(){try{return new Function(""),!0}catch{return!1}}class Ve{static get isLittleEndian(){return _e(this,"isLittleEndian",Ee())}static get isEvalSupported(){return _e(this,"isEvalSupported",Ae())}static get isOffscreenCanvasSupported(){return _e(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}}a.FeatureTest=Ve;const $e=[...Array(256).keys()].map(Xe=>Xe.toString(16).padStart(2,"0"));class Ue{static makeHexColor(ze,Ye,st){return`#${$e[ze]}${$e[Ye]}${$e[st]}`}static scaleMinMax(ze,Ye){let st;ze[0]?(ze[0]<0&&(st=Ye[0],Ye[0]=Ye[1],Ye[1]=st),Ye[0]*=ze[0],Ye[1]*=ze[0],ze[3]<0&&(st=Ye[2],Ye[2]=Ye[3],Ye[3]=st),Ye[2]*=ze[3],Ye[3]*=ze[3]):(st=Ye[0],Ye[0]=Ye[2],Ye[2]=st,st=Ye[1],Ye[1]=Ye[3],Ye[3]=st,ze[1]<0&&(st=Ye[2],Ye[2]=Ye[3],Ye[3]=st),Ye[2]*=ze[1],Ye[3]*=ze[1],ze[2]<0&&(st=Ye[0],Ye[0]=Ye[1],Ye[1]=st),Ye[0]*=ze[2],Ye[1]*=ze[2]),Ye[0]+=ze[4],Ye[1]+=ze[4],Ye[2]+=ze[5],Ye[3]+=ze[5]}static transform(ze,Ye){return[ze[0]*Ye[0]+ze[2]*Ye[1],ze[1]*Ye[0]+ze[3]*Ye[1],ze[0]*Ye[2]+ze[2]*Ye[3],ze[1]*Ye[2]+ze[3]*Ye[3],ze[0]*Ye[4]+ze[2]*Ye[5]+ze[4],ze[1]*Ye[4]+ze[3]*Ye[5]+ze[5]]}static applyTransform(ze,Ye){const st=ze[0]*Ye[0]+ze[1]*Ye[2]+Ye[4],_t=ze[0]*Ye[1]+ze[1]*Ye[3]+Ye[5];return[st,_t]}static applyInverseTransform(ze,Ye){const st=Ye[0]*Ye[3]-Ye[1]*Ye[2],_t=(ze[0]*Ye[3]-ze[1]*Ye[2]+Ye[2]*Ye[5]-Ye[4]*Ye[3])/st,ft=(-ze[0]*Ye[1]+ze[1]*Ye[0]+Ye[4]*Ye[1]-Ye[5]*Ye[0])/st;return[_t,ft]}static getAxialAlignedBoundingBox(ze,Ye){const st=Ue.applyTransform(ze,Ye),_t=Ue.applyTransform(ze.slice(2,4),Ye),ft=Ue.applyTransform([ze[0],ze[3]],Ye),Ct=Ue.applyTransform([ze[2],ze[1]],Ye);return[Math.min(st[0],_t[0],ft[0],Ct[0]),Math.min(st[1],_t[1],ft[1],Ct[1]),Math.max(st[0],_t[0],ft[0],Ct[0]),Math.max(st[1],_t[1],ft[1],Ct[1])]}static inverseTransform(ze){const Ye=ze[0]*ze[3]-ze[1]*ze[2];return[ze[3]/Ye,-ze[1]/Ye,-ze[2]/Ye,ze[0]/Ye,(ze[2]*ze[5]-ze[4]*ze[3])/Ye,(ze[4]*ze[1]-ze[5]*ze[0])/Ye]}static apply3dTransform(ze,Ye){return[ze[0]*Ye[0]+ze[1]*Ye[1]+ze[2]*Ye[2],ze[3]*Ye[0]+ze[4]*Ye[1]+ze[5]*Ye[2],ze[6]*Ye[0]+ze[7]*Ye[1]+ze[8]*Ye[2]]}static singularValueDecompose2dScale(ze){const Ye=[ze[0],ze[2],ze[1],ze[3]],st=ze[0]*Ye[0]+ze[1]*Ye[2],_t=ze[0]*Ye[1]+ze[1]*Ye[3],ft=ze[2]*Ye[0]+ze[3]*Ye[2],Ct=ze[2]*Ye[1]+ze[3]*Ye[3],ut=(st+Ct)/2,rt=Math.sqrt((st+Ct)**2-4*(st*Ct-ft*_t))/2,mt=ut+rt||1,Ot=ut-rt||1;return[Math.sqrt(mt),Math.sqrt(Ot)]}static normalizeRect(ze){const Ye=ze.slice(0);return ze[0]>ze[2]&&(Ye[0]=ze[2],Ye[2]=ze[0]),ze[1]>ze[3]&&(Ye[1]=ze[3],Ye[3]=ze[1]),Ye}static intersect(ze,Ye){const st=Math.max(Math.min(ze[0],ze[2]),Math.min(Ye[0],Ye[2])),_t=Math.min(Math.max(ze[0],ze[2]),Math.max(Ye[0],Ye[2]));if(st>_t)return null;const ft=Math.max(Math.min(ze[1],ze[3]),Math.min(Ye[1],Ye[3])),Ct=Math.min(Math.max(ze[1],ze[3]),Math.max(Ye[1],Ye[3]));return ft>Ct?null:[st,ft,_t,Ct]}static bezierBoundingBox(ze,Ye,st,_t,ft,Ct,ut,rt){const mt=[],Ot=[[],[]];let dt,Nt,kt,Ut,Ht,Kt,qt,pn;for(let At=0;At<2;++At){if(At===0?(Nt=6*ze-12*st+6*ft,dt=-3*ze+9*st-9*ft+3*ut,kt=3*st-3*ze):(Nt=6*Ye-12*_t+6*Ct,dt=-3*Ye+9*_t-9*Ct+3*rt,kt=3*_t-3*Ye),Math.abs(dt)<1e-12){if(Math.abs(Nt)<1e-12)continue;Ut=-kt/Nt,0="ï"){let Ye;if(Xe[0]==="þ"&&Xe[1]==="ÿ"?Ye="utf-16be":Xe[0]==="ÿ"&&Xe[1]==="þ"?Ye="utf-16le":Xe[0]==="ï"&&Xe[1]==="»"&&Xe[2]==="¿"&&(Ye="utf-8"),Ye)try{const st=new TextDecoder(Ye,{fatal:!0}),_t=De(Xe);return st.decode(_t)}catch(st){de(`stringToPDFString: "${st}".`)}}const ze=[];for(let Ye=0,st=Xe.length;Yeze===` +`?"\\n":ze==="\r"?"\\r":`\\${ze}`)}function et(Xe){return/^[\x00-\x7F]*$/.test(Xe)}function tt(Xe){const ze=["þÿ"];for(let Ye=0,st=Xe.length;Ye>8&255),String.fromCharCode(_t&255))}return ze.join("")}function je(Xe){return decodeURIComponent(escape(Xe))}function Je(Xe){return unescape(encodeURIComponent(Xe))}function nt(Xe){return typeof Xe=="object"&&Xe!==null&&Xe.byteLength!==void 0}function Ke(Xe,ze){if(Xe.length!==ze.length)return!1;for(let Ye=0,st=Xe.length;Ye0&&arguments[0]!==void 0?arguments[0]:new Date;return[Xe.getUTCFullYear().toString(),(Xe.getUTCMonth()+1).toString().padStart(2,"0"),Xe.getUTCDate().toString().padStart(2,"0"),Xe.getUTCHours().toString().padStart(2,"0"),Xe.getUTCMinutes().toString().padStart(2,"0"),Xe.getUTCSeconds().toString().padStart(2,"0")].join("")}function ot(){const Xe=Object.create(null);let ze=!1;return Object.defineProperty(Xe,"settled",{get(){return ze}}),Xe.promise=new Promise(function(Ye,st){Xe.resolve=function(_t){ze=!0,Ye(_t)},Xe.reject=function(_t){ze=!0,st(_t)}}),Xe}},(x,a,g)=>{var n=g(4);globalThis._pdfjsCompatibilityChecked||(globalThis._pdfjsCompatibilityChecked=!0,function(){globalThis.btoa||!n.isNodeJS||(globalThis.btoa=function(R){return Buffer.from(R,"binary").toString("base64")})}(),function(){globalThis.atob||!n.isNodeJS||(globalThis.atob=function(R){return Buffer.from(R,"base64").toString("binary")})}(),function(){globalThis.DOMMatrix||!n.isNodeJS||(globalThis.DOMMatrix=requireDommatrix())}(),function(){globalThis.ReadableStream||!n.isNodeJS||(globalThis.ReadableStream=requirePonyfill().ReadableStream)}(),function(){Array.prototype.at||g(5)}(),function(){Uint8Array.prototype.at||g(77)}(),function(){globalThis.structuredClone||g(87)}())},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.isNodeJS=void 0;const g=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");a.isNodeJS=g},(x,a,g)=>{g(6);var n=g(76);x.exports=n("Array","at")},(x,a,g)=>{var n=g(7),c=g(42),R=g(66),v=g(64),e=g(71);n({target:"Array",proto:!0},{at:function(O){var B=c(this),P=R(B),S=v(O),_=S>=0?S:P+S;return _<0||_>=P?void 0:B[_]}}),e("at")},(x,a,g)=>{var n=g(8),c=g(9).f,R=g(46),v=g(50),e=g(40),L=g(58),O=g(70);x.exports=function(B,P){var S=B.target,_=B.global,l=B.stat,y,D,M,F,N,G;if(_?D=n:l?D=n[S]||e(S,{}):D=(n[S]||{}).prototype,D)for(M in P){if(N=P[M],B.dontCallGetSet?(G=c(D,M),F=G&&G.value):F=D[M],y=O(_?M:S+(l?".":"#")+M,B.forced),!y&&F!==void 0){if(typeof N==typeof F)continue;L(N,F)}(B.sham||F&&F.sham)&&R(N,"sham",!0),v(D,M,N,B)}}},x=>{var a=function(g){return g&&g.Math==Math&&g};x.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")()},(x,a,g)=>{var n=g(10),c=g(12),R=g(14),v=g(15),e=g(16),L=g(21),O=g(41),B=g(44),P=Object.getOwnPropertyDescriptor;a.f=n?P:function(_,l){if(_=e(_),l=L(l),B)try{return P(_,l)}catch{}if(O(_,l))return v(!c(R.f,_,l),_[l])}},(x,a,g)=>{var n=g(11);x.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},x=>{x.exports=function(a){try{return!!a()}catch{return!0}}},(x,a,g)=>{var n=g(13),c=Function.prototype.call;x.exports=n?c.bind(c):function(){return c.apply(c,arguments)}},(x,a,g)=>{var n=g(11);x.exports=!n(function(){var c=(function(){}).bind();return typeof c!="function"||c.hasOwnProperty("prototype")})},(x,a)=>{var g={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,c=n&&!g.call({1:2},1);a.f=c?function(v){var e=n(this,v);return!!e&&e.enumerable}:g},x=>{x.exports=function(a,g){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:g}}},(x,a,g)=>{var n=g(17),c=g(20);x.exports=function(R){return n(c(R))}},(x,a,g)=>{var n=g(18),c=g(11),R=g(19),v=Object,e=n("".split);x.exports=c(function(){return!v("z").propertyIsEnumerable(0)})?function(L){return R(L)=="String"?e(L,""):v(L)}:v},(x,a,g)=>{var n=g(13),c=Function.prototype,R=c.bind,v=c.call,e=n&&R.bind(v,v);x.exports=n?function(L){return L&&e(L)}:function(L){return L&&function(){return v.apply(L,arguments)}}},(x,a,g)=>{var n=g(18),c=n({}.toString),R=n("".slice);x.exports=function(v){return R(c(v),8,-1)}},x=>{var a=TypeError;x.exports=function(g){if(g==null)throw a("Can't call method on "+g);return g}},(x,a,g)=>{var n=g(22),c=g(25);x.exports=function(R){var v=n(R,"string");return c(v)?v:v+""}},(x,a,g)=>{var n=g(12),c=g(23),R=g(25),v=g(32),e=g(35),L=g(36),O=TypeError,B=L("toPrimitive");x.exports=function(P,S){if(!c(P)||R(P))return P;var _=v(P,B),l;if(_){if(S===void 0&&(S="default"),l=n(_,P,S),!c(l)||R(l))return l;throw O("Can't convert object to primitive value")}return S===void 0&&(S="number"),e(P,S)}},(x,a,g)=>{var n=g(24);x.exports=function(c){return typeof c=="object"?c!==null:n(c)}},x=>{x.exports=function(a){return typeof a=="function"}},(x,a,g)=>{var n=g(26),c=g(24),R=g(27),v=g(28),e=Object;x.exports=v?function(L){return typeof L=="symbol"}:function(L){var O=n("Symbol");return c(O)&&R(O.prototype,e(L))}},(x,a,g)=>{var n=g(8),c=g(24),R=function(v){return c(v)?v:void 0};x.exports=function(v,e){return arguments.length<2?R(n[v]):n[v]&&n[v][e]}},(x,a,g)=>{var n=g(18);x.exports=n({}.isPrototypeOf)},(x,a,g)=>{var n=g(29);x.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(x,a,g)=>{var n=g(30),c=g(11);x.exports=!!Object.getOwnPropertySymbols&&!c(function(){var R=Symbol();return!String(R)||!(Object(R)instanceof Symbol)||!Symbol.sham&&n&&n<41})},(x,a,g)=>{var n=g(8),c=g(31),R=n.process,v=n.Deno,e=R&&R.versions||v&&v.version,L=e&&e.v8,O,B;L&&(O=L.split("."),B=O[0]>0&&O[0]<4?1:+(O[0]+O[1])),!B&&c&&(O=c.match(/Edge\/(\d+)/),(!O||O[1]>=74)&&(O=c.match(/Chrome\/(\d+)/),O&&(B=+O[1]))),x.exports=B},(x,a,g)=>{var n=g(26);x.exports=n("navigator","userAgent")||""},(x,a,g)=>{var n=g(33);x.exports=function(c,R){var v=c[R];return v==null?void 0:n(v)}},(x,a,g)=>{var n=g(24),c=g(34),R=TypeError;x.exports=function(v){if(n(v))return v;throw R(c(v)+" is not a function")}},x=>{var a=String;x.exports=function(g){try{return a(g)}catch{return"Object"}}},(x,a,g)=>{var n=g(12),c=g(24),R=g(23),v=TypeError;x.exports=function(e,L){var O,B;if(L==="string"&&c(O=e.toString)&&!R(B=n(O,e))||c(O=e.valueOf)&&!R(B=n(O,e))||L!=="string"&&c(O=e.toString)&&!R(B=n(O,e)))return B;throw v("Can't convert object to primitive value")}},(x,a,g)=>{var n=g(8),c=g(37),R=g(41),v=g(43),e=g(29),L=g(28),O=c("wks"),B=n.Symbol,P=B&&B.for,S=L?B:B&&B.withoutSetter||v;x.exports=function(_){if(!R(O,_)||!(e||typeof O[_]=="string")){var l="Symbol."+_;e&&R(B,_)?O[_]=B[_]:L&&P?O[_]=P(l):O[_]=S(l)}return O[_]}},(x,a,g)=>{var n=g(38),c=g(39);(x.exports=function(R,v){return c[R]||(c[R]=v!==void 0?v:{})})("versions",[]).push({version:"3.24.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},x=>{x.exports=!1},(x,a,g)=>{var n=g(8),c=g(40),R="__core-js_shared__",v=n[R]||c(R,{});x.exports=v},(x,a,g)=>{var n=g(8),c=Object.defineProperty;x.exports=function(R,v){try{c(n,R,{value:v,configurable:!0,writable:!0})}catch{n[R]=v}return v}},(x,a,g)=>{var n=g(18),c=g(42),R=n({}.hasOwnProperty);x.exports=Object.hasOwn||function(e,L){return R(c(e),L)}},(x,a,g)=>{var n=g(20),c=Object;x.exports=function(R){return c(n(R))}},(x,a,g)=>{var n=g(18),c=0,R=Math.random(),v=n(1 .toString);x.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+v(++c+R,36)}},(x,a,g)=>{var n=g(10),c=g(11),R=g(45);x.exports=!n&&!c(function(){return Object.defineProperty(R("div"),"a",{get:function(){return 7}}).a!=7})},(x,a,g)=>{var n=g(8),c=g(23),R=n.document,v=c(R)&&c(R.createElement);x.exports=function(e){return v?R.createElement(e):{}}},(x,a,g)=>{var n=g(10),c=g(47),R=g(15);x.exports=n?function(v,e,L){return c.f(v,e,R(1,L))}:function(v,e,L){return v[e]=L,v}},(x,a,g)=>{var n=g(10),c=g(44),R=g(48),v=g(49),e=g(21),L=TypeError,O=Object.defineProperty,B=Object.getOwnPropertyDescriptor,P="enumerable",S="configurable",_="writable";a.f=n?R?function(y,D,M){if(v(y),D=e(D),v(M),typeof y=="function"&&D==="prototype"&&"value"in M&&_ in M&&!M[_]){var F=B(y,D);F&&F[_]&&(y[D]=M.value,M={configurable:S in M?M[S]:F[S],enumerable:P in M?M[P]:F[P],writable:!1})}return O(y,D,M)}:O:function(y,D,M){if(v(y),D=e(D),v(M),c)try{return O(y,D,M)}catch{}if("get"in M||"set"in M)throw L("Accessors not supported");return"value"in M&&(y[D]=M.value),y}},(x,a,g)=>{var n=g(10),c=g(11);x.exports=n&&c(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},(x,a,g)=>{var n=g(23),c=String,R=TypeError;x.exports=function(v){if(n(v))return v;throw R(c(v)+" is not an object")}},(x,a,g)=>{var n=g(24),c=g(47),R=g(51),v=g(40);x.exports=function(e,L,O,B){B||(B={});var P=B.enumerable,S=B.name!==void 0?B.name:L;if(n(O)&&R(O,S,B),B.global)P?e[L]=O:v(L,O);else{try{B.unsafe?e[L]&&(P=!0):delete e[L]}catch{}P?e[L]=O:c.f(e,L,{value:O,enumerable:!1,configurable:!B.nonConfigurable,writable:!B.nonWritable})}return e}},(x,a,g)=>{var n=g(11),c=g(24),R=g(41),v=g(10),e=g(52).CONFIGURABLE,L=g(53),O=g(54),B=O.enforce,P=O.get,S=Object.defineProperty,_=v&&!n(function(){return S(function(){},"length",{value:8}).length!==8}),l=String(String).split("String"),y=x.exports=function(D,M,F){String(M).slice(0,7)==="Symbol("&&(M="["+String(M).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),F&&F.getter&&(M="get "+M),F&&F.setter&&(M="set "+M),(!R(D,"name")||e&&D.name!==M)&&(v?S(D,"name",{value:M,configurable:!0}):D.name=M),_&&F&&R(F,"arity")&&D.length!==F.arity&&S(D,"length",{value:F.arity});try{F&&R(F,"constructor")&&F.constructor?v&&S(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch{}var N=B(D);return R(N,"source")||(N.source=l.join(typeof M=="string"?M:"")),D};Function.prototype.toString=y(function(){return c(this)&&P(this).source||L(this)},"toString")},(x,a,g)=>{var n=g(10),c=g(41),R=Function.prototype,v=n&&Object.getOwnPropertyDescriptor,e=c(R,"name"),L=e&&(function(){}).name==="something",O=e&&(!n||n&&v(R,"name").configurable);x.exports={EXISTS:e,PROPER:L,CONFIGURABLE:O}},(x,a,g)=>{var n=g(18),c=g(24),R=g(39),v=n(Function.toString);c(R.inspectSource)||(R.inspectSource=function(e){return v(e)}),x.exports=R.inspectSource},(x,a,g)=>{var n=g(55),c=g(8),R=g(18),v=g(23),e=g(46),L=g(41),O=g(39),B=g(56),P=g(57),S="Object already initialized",_=c.TypeError,l=c.WeakMap,y,D,M,F=function(H){return M(H)?D(H):y(H,{})},N=function(H){return function(z){var X;if(!v(z)||(X=D(z)).type!==H)throw _("Incompatible receiver, "+H+" required");return X}};if(n||O.state){var G=O.state||(O.state=new l),W=R(G.get),J=R(G.has),Y=R(G.set);y=function(H,z){if(J(G,H))throw new _(S);return z.facade=H,Y(G,H,z),z},D=function(H){return W(G,H)||{}},M=function(H){return J(G,H)}}else{var V=B("state");P[V]=!0,y=function(H,z){if(L(H,V))throw new _(S);return z.facade=H,e(H,V,z),z},D=function(H){return L(H,V)?H[V]:{}},M=function(H){return L(H,V)}}x.exports={set:y,get:D,has:M,enforce:F,getterFor:N}},(x,a,g)=>{var n=g(8),c=g(24),R=g(53),v=n.WeakMap;x.exports=c(v)&&/native code/.test(R(v))},(x,a,g)=>{var n=g(37),c=g(43),R=n("keys");x.exports=function(v){return R[v]||(R[v]=c(v))}},x=>{x.exports={}},(x,a,g)=>{var n=g(41),c=g(59),R=g(9),v=g(47);x.exports=function(e,L,O){for(var B=c(L),P=v.f,S=R.f,_=0;_{var n=g(26),c=g(18),R=g(60),v=g(69),e=g(49),L=c([].concat);x.exports=n("Reflect","ownKeys")||function(B){var P=R.f(e(B)),S=v.f;return S?L(P,S(B)):P}},(x,a,g)=>{var n=g(61),c=g(68),R=c.concat("length","prototype");a.f=Object.getOwnPropertyNames||function(e){return n(e,R)}},(x,a,g)=>{var n=g(18),c=g(41),R=g(16),v=g(62).indexOf,e=g(57),L=n([].push);x.exports=function(O,B){var P=R(O),S=0,_=[],l;for(l in P)!c(e,l)&&c(P,l)&&L(_,l);for(;B.length>S;)c(P,l=B[S++])&&(~v(_,l)||L(_,l));return _}},(x,a,g)=>{var n=g(16),c=g(63),R=g(66),v=function(e){return function(L,O,B){var P=n(L),S=R(P),_=c(B,S),l;if(e&&O!=O){for(;S>_;)if(l=P[_++],l!=l)return!0}else for(;S>_;_++)if((e||_ in P)&&P[_]===O)return e||_||0;return!e&&-1}};x.exports={includes:v(!0),indexOf:v(!1)}},(x,a,g)=>{var n=g(64),c=Math.max,R=Math.min;x.exports=function(v,e){var L=n(v);return L<0?c(L+e,0):R(L,e)}},(x,a,g)=>{var n=g(65);x.exports=function(c){var R=+c;return R!==R||R===0?0:n(R)}},x=>{var a=Math.ceil,g=Math.floor;x.exports=Math.trunc||function(c){var R=+c;return(R>0?g:a)(R)}},(x,a,g)=>{var n=g(67);x.exports=function(c){return n(c.length)}},(x,a,g)=>{var n=g(64),c=Math.min;x.exports=function(R){return R>0?c(n(R),9007199254740991):0}},x=>{x.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(x,a)=>{a.f=Object.getOwnPropertySymbols},(x,a,g)=>{var n=g(11),c=g(24),R=/#|\.prototype\./,v=function(P,S){var _=L[e(P)];return _==B?!0:_==O?!1:c(S)?n(S):!!S},e=v.normalize=function(P){return String(P).replace(R,".").toLowerCase()},L=v.data={},O=v.NATIVE="N",B=v.POLYFILL="P";x.exports=v},(x,a,g)=>{var n=g(36),c=g(72),R=g(47).f,v=n("unscopables"),e=Array.prototype;e[v]==null&&R(e,v,{configurable:!0,value:c(null)}),x.exports=function(L){e[v][L]=!0}},(x,a,g)=>{var n=g(49),c=g(73),R=g(68),v=g(57),e=g(75),L=g(45),O=g(56),B=">",P="<",S="prototype",_="script",l=O("IE_PROTO"),y=function(){},D=function(W){return P+_+B+W+P+"/"+_+B},M=function(W){W.write(D("")),W.close();var J=W.parentWindow.Object;return W=null,J},F=function(){var W=L("iframe"),J="java"+_+":",Y;return W.style.display="none",e.appendChild(W),W.src=String(J),Y=W.contentWindow.document,Y.open(),Y.write(D("document.F=Object")),Y.close(),Y.F},N,G=function(){try{N=new ActiveXObject("htmlfile")}catch{}G=typeof document<"u"?document.domain&&N?M(N):F():M(N);for(var W=R.length;W--;)delete G[S][R[W]];return G()};v[l]=!0,x.exports=Object.create||function(J,Y){var V;return J!==null?(y[S]=n(J),V=new y,y[S]=null,V[l]=J):V=G(),Y===void 0?V:c.f(V,Y)}},(x,a,g)=>{var n=g(10),c=g(48),R=g(47),v=g(49),e=g(16),L=g(74);a.f=n&&!c?Object.defineProperties:function(B,P){v(B);for(var S=e(P),_=L(P),l=_.length,y=0,D;l>y;)R.f(B,D=_[y++],S[D]);return B}},(x,a,g)=>{var n=g(61),c=g(68);x.exports=Object.keys||function(v){return n(v,c)}},(x,a,g)=>{var n=g(26);x.exports=n("document","documentElement")},(x,a,g)=>{var n=g(8),c=g(18);x.exports=function(R,v){return c(n[R].prototype[v])}},(x,a,g)=>{g(78)},(x,a,g)=>{var n=g(79),c=g(66),R=g(64),v=n.aTypedArray,e=n.exportTypedArrayMethod;e("at",function(O){var B=v(this),P=c(B),S=R(O),_=S>=0?S:P+S;return _<0||_>=P?void 0:B[_]})},(x,a,g)=>{var n=g(80),c=g(10),R=g(8),v=g(24),e=g(23),L=g(41),O=g(81),B=g(34),P=g(46),S=g(50),_=g(47).f,l=g(27),y=g(83),D=g(85),M=g(36),F=g(43),N=g(54),G=N.enforce,W=N.get,J=R.Int8Array,Y=J&&J.prototype,V=R.Uint8ClampedArray,H=V&&V.prototype,z=J&&y(J),X=Y&&y(Y),q=Object.prototype,$=R.TypeError,fe=M("toStringTag"),Q=F("TYPED_ARRAY_TAG"),ie="TypedArrayConstructor",Te=n&&!!D&&O(R.opera)!=="Opera",me=!1,K,ce,de,Z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ae={BigInt64Array:8,BigUint64Array:8},he=function(pe){if(!e(pe))return!1;var xe=O(pe);return xe==="DataView"||L(Z,xe)||L(ae,xe)},we=function(oe){var pe=y(oe);if(e(pe)){var xe=W(pe);return xe&&L(xe,ie)?xe[ie]:we(pe)}},_e=function(oe){if(!e(oe))return!1;var pe=O(oe);return L(Z,pe)||L(ae,pe)},ye=function(oe){if(_e(oe))return oe;throw $("Target is not a typed array")},se=function(oe){if(v(oe)&&(!D||l(z,oe)))return oe;throw $(B(oe)+" is not a typed array constructor")},Ie=function(oe,pe,xe,Ne){if(c){if(xe)for(var ke in Z){var De=R[ke];if(De&&L(De.prototype,oe))try{delete De.prototype[oe]}catch{try{De.prototype[oe]=pe}catch{}}}(!X[oe]||xe)&&S(X,oe,xe?pe:Te&&Y[oe]||pe,Ne)}},Ce=function(oe,pe,xe){var Ne,ke;if(c){if(D){if(xe){for(Ne in Z)if(ke=R[Ne],ke&&L(ke,oe))try{delete ke[oe]}catch{}}if(!z[oe]||xe)try{return S(z,oe,xe?pe:Te&&z[oe]||pe)}catch{}else return}for(Ne in Z)ke=R[Ne],ke&&(!ke[oe]||xe)&&S(ke,oe,pe)}};for(K in Z)ce=R[K],de=ce&&ce.prototype,de?G(de)[ie]=ce:Te=!1;for(K in ae)ce=R[K],de=ce&&ce.prototype,de&&(G(de)[ie]=ce);if((!Te||!v(z)||z===Function.prototype)&&(z=function(){throw $("Incorrect invocation")},Te))for(K in Z)R[K]&&D(R[K],z);if((!Te||!X||X===q)&&(X=z.prototype,Te))for(K in Z)R[K]&&D(R[K].prototype,X);if(Te&&y(H)!==X&&D(H,X),c&&!L(X,fe)){me=!0,_(X,fe,{get:function(){return e(this)?this[Q]:void 0}});for(K in Z)R[K]&&P(R[K],Q,K)}x.exports={NATIVE_ARRAY_BUFFER_VIEWS:Te,TYPED_ARRAY_TAG:me&&Q,aTypedArray:ye,aTypedArrayConstructor:se,exportTypedArrayMethod:Ie,exportTypedArrayStaticMethod:Ce,getTypedArrayConstructor:we,isView:he,isTypedArray:_e,TypedArray:z,TypedArrayPrototype:X}},x=>{x.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},(x,a,g)=>{var n=g(82),c=g(24),R=g(19),v=g(36),e=v("toStringTag"),L=Object,O=R(function(){return arguments}())=="Arguments",B=function(P,S){try{return P[S]}catch{}};x.exports=n?R:function(P){var S,_,l;return P===void 0?"Undefined":P===null?"Null":typeof(_=B(S=L(P),e))=="string"?_:O?R(S):(l=R(S))=="Object"&&c(S.callee)?"Arguments":l}},(x,a,g)=>{var n=g(36),c=n("toStringTag"),R={};R[c]="z",x.exports=String(R)==="[object z]"},(x,a,g)=>{var n=g(41),c=g(24),R=g(42),v=g(56),e=g(84),L=v("IE_PROTO"),O=Object,B=O.prototype;x.exports=e?O.getPrototypeOf:function(P){var S=R(P);if(n(S,L))return S[L];var _=S.constructor;return c(_)&&S instanceof _?_.prototype:S instanceof O?B:null}},(x,a,g)=>{var n=g(11);x.exports=!n(function(){function c(){}return c.prototype.constructor=null,Object.getPrototypeOf(new c)!==c.prototype})},(x,a,g)=>{var n=g(18),c=g(49),R=g(86);x.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var v=!1,e={},L;try{L=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),L(e,[]),v=e instanceof Array}catch{}return function(B,P){return c(B),R(P),v?L(B,P):B.__proto__=P,B}}():void 0)},(x,a,g)=>{var n=g(24),c=String,R=TypeError;x.exports=function(v){if(typeof v=="object"||n(v))return v;throw R("Can't set "+c(v)+" as a prototype")}},(x,a,g)=>{g(88),g(94),g(96),g(118),g(120);var n=g(129);x.exports=n.structuredClone},(x,a,g)=>{var n=g(16),c=g(71),R=g(89),v=g(54),e=g(47).f,L=g(90),O=g(38),B=g(10),P="Array Iterator",S=v.set,_=v.getterFor(P);x.exports=L(Array,"Array",function(y,D){S(this,{type:P,target:n(y),index:0,kind:D})},function(){var y=_(this),D=y.target,M=y.kind,F=y.index++;return!D||F>=D.length?(y.target=void 0,{value:void 0,done:!0}):M=="keys"?{value:F,done:!1}:M=="values"?{value:D[F],done:!1}:{value:[F,D[F]],done:!1}},"values");var l=R.Arguments=R.Array;if(c("keys"),c("values"),c("entries"),!O&&B&&l.name!=="values")try{e(l,"name",{value:"values"})}catch{}},x=>{x.exports={}},(x,a,g)=>{var n=g(7),c=g(12),R=g(38),v=g(52),e=g(24),L=g(91),O=g(83),B=g(85),P=g(93),S=g(46),_=g(50),l=g(36),y=g(89),D=g(92),M=v.PROPER,F=v.CONFIGURABLE,N=D.IteratorPrototype,G=D.BUGGY_SAFARI_ITERATORS,W=l("iterator"),J="keys",Y="values",V="entries",H=function(){return this};x.exports=function(z,X,q,$,fe,Q,ie){L(q,X,$);var Te=function(ye){if(ye===fe&&Z)return Z;if(!G&&ye in ce)return ce[ye];switch(ye){case J:return function(){return new q(this,ye)};case Y:return function(){return new q(this,ye)};case V:return function(){return new q(this,ye)}}return function(){return new q(this)}},me=X+" Iterator",K=!1,ce=z.prototype,de=ce[W]||ce["@@iterator"]||fe&&ce[fe],Z=!G&&de||Te(fe),ae=X=="Array"&&ce.entries||de,he,we,_e;if(ae&&(he=O(ae.call(new z)),he!==Object.prototype&&he.next&&(!R&&O(he)!==N&&(B?B(he,N):e(he[W])||_(he,W,H)),P(he,me,!0,!0),R&&(y[me]=H))),M&&fe==Y&&de&&de.name!==Y&&(!R&&F?S(ce,"name",Y):(K=!0,Z=function(){return c(de,this)})),fe)if(we={values:Te(Y),keys:Q?Z:Te(J),entries:Te(V)},ie)for(_e in we)(G||K||!(_e in ce))&&_(ce,_e,we[_e]);else n({target:X,proto:!0,forced:G||K},we);return(!R||ie)&&ce[W]!==Z&&_(ce,W,Z,{name:fe}),y[X]=Z,we}},(x,a,g)=>{var n=g(92).IteratorPrototype,c=g(72),R=g(15),v=g(93),e=g(89),L=function(){return this};x.exports=function(O,B,P,S){var _=B+" Iterator";return O.prototype=c(n,{next:R(+!S,P)}),v(O,_,!1,!0),e[_]=L,O}},(x,a,g)=>{var n=g(11),c=g(24),R=g(72),v=g(83),e=g(50),L=g(36),O=g(38),B=L("iterator"),P=!1,S,_,l;[].keys&&(l=[].keys(),"next"in l?(_=v(v(l)),_!==Object.prototype&&(S=_)):P=!0);var y=S==null||n(function(){var D={};return S[B].call(D)!==D});y?S={}:O&&(S=R(S)),c(S[B])||e(S,B,function(){return this}),x.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:P}},(x,a,g)=>{var n=g(47).f,c=g(41),R=g(36),v=R("toStringTag");x.exports=function(e,L,O){e&&!O&&(e=e.prototype),e&&!c(e,v)&&n(e,v,{configurable:!0,value:L})}},(x,a,g)=>{var n=g(82),c=g(50),R=g(95);n||c(Object.prototype,"toString",R,{unsafe:!0})},(x,a,g)=>{var n=g(82),c=g(81);x.exports=n?{}.toString:function(){return"[object "+c(this)+"]"}},(x,a,g)=>{g(97)},(x,a,g)=>{var n=g(98),c=g(115);n("Map",function(R){return function(){return R(this,arguments.length?arguments[0]:void 0)}},c)},(x,a,g)=>{var n=g(7),c=g(8),R=g(18),v=g(70),e=g(50),L=g(99),O=g(106),B=g(112),P=g(24),S=g(23),_=g(11),l=g(113),y=g(93),D=g(114);x.exports=function(M,F,N){var G=M.indexOf("Map")!==-1,W=M.indexOf("Weak")!==-1,J=G?"set":"add",Y=c[M],V=Y&&Y.prototype,H=Y,z={},X=function(me){var K=R(V[me]);e(V,me,me=="add"?function(de){return K(this,de===0?0:de),this}:me=="delete"?function(ce){return W&&!S(ce)?!1:K(this,ce===0?0:ce)}:me=="get"?function(de){return W&&!S(de)?void 0:K(this,de===0?0:de)}:me=="has"?function(de){return W&&!S(de)?!1:K(this,de===0?0:de)}:function(de,Z){return K(this,de===0?0:de,Z),this})},q=v(M,!P(Y)||!(W||V.forEach&&!_(function(){new Y().entries().next()})));if(q)H=N.getConstructor(F,M,G,J),L.enable();else if(v(M,!0)){var $=new H,fe=$[J](W?{}:-0,1)!=$,Q=_(function(){$.has(1)}),ie=l(function(me){new Y(me)}),Te=!W&&_(function(){for(var me=new Y,K=5;K--;)me[J](K,K);return!me.has(-0)});ie||(H=F(function(me,K){B(me,V);var ce=D(new Y,me,H);return K!=null&&O(K,ce[J],{that:ce,AS_ENTRIES:G}),ce}),H.prototype=V,V.constructor=H),(Q||Te)&&(X("delete"),X("has"),G&&X("get")),(Te||fe)&&X(J),W&&V.clear&&delete V.clear}return z[M]=H,n({global:!0,constructor:!0,forced:H!=Y},z),y(H,M),W||N.setStrong(H,M,G),H}},(x,a,g)=>{var n=g(7),c=g(18),R=g(57),v=g(23),e=g(41),L=g(47).f,O=g(60),B=g(100),P=g(103),S=g(43),_=g(105),l=!1,y=S("meta"),D=0,M=function(Y){L(Y,y,{value:{objectID:"O"+D++,weakData:{}}})},F=function(Y,V){if(!v(Y))return typeof Y=="symbol"?Y:(typeof Y=="string"?"S":"P")+Y;if(!e(Y,y)){if(!P(Y))return"F";if(!V)return"E";M(Y)}return Y[y].objectID},N=function(Y,V){if(!e(Y,y)){if(!P(Y))return!0;if(!V)return!1;M(Y)}return Y[y].weakData},G=function(Y){return _&&l&&P(Y)&&!e(Y,y)&&M(Y),Y},W=function(){J.enable=function(){},l=!0;var Y=O.f,V=c([].splice),H={};H[y]=1,Y(H).length&&(O.f=function(z){for(var X=Y(z),q=0,$=X.length;q<$;q++)if(X[q]===y){V(X,q,1);break}return X},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:B.f}))},J=x.exports={enable:W,fastKey:F,getWeakData:N,onFreeze:G};R[y]=!0},(x,a,g)=>{var n=g(19),c=g(16),R=g(60).f,v=g(101),e=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],L=function(O){try{return R(O)}catch{return v(e)}};x.exports.f=function(B){return e&&n(B)=="Window"?L(B):R(c(B))}},(x,a,g)=>{var n=g(63),c=g(66),R=g(102),v=Array,e=Math.max;x.exports=function(L,O,B){for(var P=c(L),S=n(O,P),_=n(B===void 0?P:B,P),l=v(e(_-S,0)),y=0;S<_;S++,y++)R(l,y,L[S]);return l.length=y,l}},(x,a,g)=>{var n=g(21),c=g(47),R=g(15);x.exports=function(v,e,L){var O=n(e);O in v?c.f(v,O,R(0,L)):v[O]=L}},(x,a,g)=>{var n=g(11),c=g(23),R=g(19),v=g(104),e=Object.isExtensible,L=n(function(){});x.exports=L||v?function(B){return!c(B)||v&&R(B)=="ArrayBuffer"?!1:e?e(B):!0}:e},(x,a,g)=>{var n=g(11);x.exports=n(function(){if(typeof ArrayBuffer=="function"){var c=new ArrayBuffer(8);Object.isExtensible(c)&&Object.defineProperty(c,"a",{value:8})}})},(x,a,g)=>{var n=g(11);x.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},(x,a,g)=>{var n=g(107),c=g(12),R=g(49),v=g(34),e=g(108),L=g(66),O=g(27),B=g(109),P=g(110),S=g(111),_=TypeError,l=function(D,M){this.stopped=D,this.result=M},y=l.prototype;x.exports=function(D,M,F){var N=F&&F.that,G=!!(F&&F.AS_ENTRIES),W=!!(F&&F.IS_RECORD),J=!!(F&&F.IS_ITERATOR),Y=!!(F&&F.INTERRUPTED),V=n(M,N),H,z,X,q,$,fe,Q,ie=function(me){return H&&S(H,"normal",me),new l(!0,me)},Te=function(me){return G?(R(me),Y?V(me[0],me[1],ie):V(me[0],me[1])):Y?V(me,ie):V(me)};if(W)H=D.iterator;else if(J)H=D;else{if(z=P(D),!z)throw _(v(D)+" is not iterable");if(e(z)){for(X=0,q=L(D);q>X;X++)if($=Te(D[X]),$&&O(y,$))return $;return new l(!1)}H=B(D,z)}for(fe=W?D.next:H.next;!(Q=c(fe,H)).done;){try{$=Te(Q.value)}catch(me){S(H,"throw",me)}if(typeof $=="object"&&$&&O(y,$))return $}return new l(!1)}},(x,a,g)=>{var n=g(18),c=g(33),R=g(13),v=n(n.bind);x.exports=function(e,L){return c(e),L===void 0?e:R?v(e,L):function(){return e.apply(L,arguments)}}},(x,a,g)=>{var n=g(36),c=g(89),R=n("iterator"),v=Array.prototype;x.exports=function(e){return e!==void 0&&(c.Array===e||v[R]===e)}},(x,a,g)=>{var n=g(12),c=g(33),R=g(49),v=g(34),e=g(110),L=TypeError;x.exports=function(O,B){var P=arguments.length<2?e(O):B;if(c(P))return R(n(P,O));throw L(v(O)+" is not iterable")}},(x,a,g)=>{var n=g(81),c=g(32),R=g(89),v=g(36),e=v("iterator");x.exports=function(L){if(L!=null)return c(L,e)||c(L,"@@iterator")||R[n(L)]}},(x,a,g)=>{var n=g(12),c=g(49),R=g(32);x.exports=function(v,e,L){var O,B;c(v);try{if(O=R(v,"return"),!O){if(e==="throw")throw L;return L}O=n(O,v)}catch(P){B=!0,O=P}if(e==="throw")throw L;if(B)throw O;return c(O),L}},(x,a,g)=>{var n=g(27),c=TypeError;x.exports=function(R,v){if(n(v,R))return R;throw c("Incorrect invocation")}},(x,a,g)=>{var n=g(36),c=n("iterator"),R=!1;try{var v=0,e={next:function(){return{done:!!v++}},return:function(){R=!0}};e[c]=function(){return this},Array.from(e,function(){throw 2})}catch{}x.exports=function(L,O){if(!O&&!R)return!1;var B=!1;try{var P={};P[c]=function(){return{next:function(){return{done:B=!0}}}},L(P)}catch{}return B}},(x,a,g)=>{var n=g(24),c=g(23),R=g(85);x.exports=function(v,e,L){var O,B;return R&&n(O=e.constructor)&&O!==L&&c(B=O.prototype)&&B!==L.prototype&&R(v,B),v}},(x,a,g)=>{var n=g(47).f,c=g(72),R=g(116),v=g(107),e=g(112),L=g(106),O=g(90),B=g(117),P=g(10),S=g(99).fastKey,_=g(54),l=_.set,y=_.getterFor;x.exports={getConstructor:function(D,M,F,N){var G=D(function(H,z){e(H,W),l(H,{type:M,index:c(null),first:void 0,last:void 0,size:0}),P||(H.size=0),z!=null&&L(z,H[N],{that:H,AS_ENTRIES:F})}),W=G.prototype,J=y(M),Y=function(H,z,X){var q=J(H),$=V(H,z),fe,Q;return $?$.value=X:(q.last=$={index:Q=S(z,!0),key:z,value:X,previous:fe=q.last,next:void 0,removed:!1},q.first||(q.first=$),fe&&(fe.next=$),P?q.size++:H.size++,Q!=="F"&&(q.index[Q]=$)),H},V=function(H,z){var X=J(H),q=S(z),$;if(q!=="F")return X.index[q];for($=X.first;$;$=$.next)if($.key==z)return $};return R(W,{clear:function(){for(var z=this,X=J(z),q=X.index,$=X.first;$;)$.removed=!0,$.previous&&($.previous=$.previous.next=void 0),delete q[$.index],$=$.next;X.first=X.last=void 0,P?X.size=0:z.size=0},delete:function(H){var z=this,X=J(z),q=V(z,H);if(q){var $=q.next,fe=q.previous;delete X.index[q.index],q.removed=!0,fe&&(fe.next=$),$&&($.previous=fe),X.first==q&&(X.first=$),X.last==q&&(X.last=fe),P?X.size--:z.size--}return!!q},forEach:function(z){for(var X=J(this),q=v(z,arguments.length>1?arguments[1]:void 0),$;$=$?$.next:X.first;)for(q($.value,$.key,this);$&&$.removed;)$=$.previous},has:function(z){return!!V(this,z)}}),R(W,F?{get:function(z){var X=V(this,z);return X&&X.value},set:function(z,X){return Y(this,z===0?0:z,X)}}:{add:function(z){return Y(this,z=z===0?0:z,z)}}),P&&n(W,"size",{get:function(){return J(this).size}}),G},setStrong:function(D,M,F){var N=M+" Iterator",G=y(M),W=y(N);O(D,M,function(J,Y){l(this,{type:N,target:J,state:G(J),kind:Y,last:void 0})},function(){for(var J=W(this),Y=J.kind,V=J.last;V&&V.removed;)V=V.previous;return!J.target||!(J.last=V=V?V.next:J.state.first)?(J.target=void 0,{value:void 0,done:!0}):Y=="keys"?{value:V.key,done:!1}:Y=="values"?{value:V.value,done:!1}:{value:[V.key,V.value],done:!1}},F?"entries":"values",!F,!0),B(M)}}},(x,a,g)=>{var n=g(50);x.exports=function(c,R,v){for(var e in R)n(c,e,R[e],v);return c}},(x,a,g)=>{var n=g(26),c=g(47),R=g(36),v=g(10),e=R("species");x.exports=function(L){var O=n(L),B=c.f;v&&O&&!O[e]&&B(O,e,{configurable:!0,get:function(){return this}})}},(x,a,g)=>{g(119)},(x,a,g)=>{var n=g(98),c=g(115);n("Set",function(R){return function(){return R(this,arguments.length?arguments[0]:void 0)}},c)},(x,a,g)=>{var n=g(38),c=g(7),R=g(8),v=g(26),e=g(18),L=g(11),O=g(43),B=g(24),P=g(121),S=g(23),_=g(25),l=g(106),y=g(49),D=g(81),M=g(41),F=g(102),N=g(46),G=g(66),W=g(122),J=g(123),Y=g(125),V=g(30),H=g(126),z=g(127),X=g(128),q=R.Object,$=R.Date,fe=R.Error,Q=R.EvalError,ie=R.RangeError,Te=R.ReferenceError,me=R.SyntaxError,K=R.TypeError,ce=R.URIError,de=R.PerformanceMark,Z=R.WebAssembly,ae=Z&&Z.CompileError||fe,he=Z&&Z.LinkError||fe,we=Z&&Z.RuntimeError||fe,_e=v("DOMException"),ye=v("Set"),se=v("Map"),Ie=se.prototype,Ce=e(Ie.has),oe=e(Ie.get),pe=e(Ie.set),xe=e(ye.prototype.add),Ne=v("Object","keys"),ke=e([].push),De=e((!0).valueOf),Fe=e(1 .valueOf),Pe=e("".valueOf),qe=e($.prototype.getTime),Le=O("structuredClone"),Oe="DataCloneError",Ee="Transferring",Ae=function(Ke){return!L(function(){var at=new R.Set([7]),ot=Ke(at),Xe=Ke(q(7));return ot==at||!ot.has(7)||typeof Xe!="object"||Xe!=7})&&Ke},Ve=function(Ke,at){return!L(function(){var ot=new at,Xe=Ke({a:ot,b:ot});return!(Xe&&Xe.a===Xe.b&&Xe.a instanceof at&&Xe.a.stack===ot.stack)})},$e=function(Ke){return!L(function(){var at=Ke(new R.AggregateError([1],Le,{cause:3}));return at.name!="AggregateError"||at.errors[0]!=1||at.message!=Le||at.cause!=3})},Ue=R.structuredClone,He=n||!Ve(Ue,fe)||!Ve(Ue,_e)||!$e(Ue),Qe=!Ue&&Ae(function(Ke){return new de(Le,{detail:Ke}).detail}),Ze=Ae(Ue)||Qe,et=function(Ke){throw new _e("Uncloneable type: "+Ke,Oe)},tt=function(Ke,at){throw new _e((at||"Cloning")+" of "+Ke+" cannot be properly polyfilled in this engine",Oe)},je=function(Ke,at){if(_(Ke)&&et("Symbol"),!S(Ke))return Ke;if(at){if(Ce(at,Ke))return oe(at,Ke)}else at=new se;var ot=D(Ke),Xe=!1,ze,Ye,st,_t,ft,Ct,ut,rt,mt,Ot;switch(ot){case"Array":st=[],Xe=!0;break;case"Object":st={},Xe=!0;break;case"Map":st=new se,Xe=!0;break;case"Set":st=new ye,Xe=!0;break;case"RegExp":st=new RegExp(Ke.source,J(Ke));break;case"Error":switch(Ye=Ke.name,Ye){case"AggregateError":st=v("AggregateError")([]);break;case"EvalError":st=Q();break;case"RangeError":st=ie();break;case"ReferenceError":st=Te();break;case"SyntaxError":st=me();break;case"TypeError":st=K();break;case"URIError":st=ce();break;case"CompileError":st=ae();break;case"LinkError":st=he();break;case"RuntimeError":st=we();break;default:st=fe()}Xe=!0;break;case"DOMException":st=new _e(Ke.message,Ke.name),Xe=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":ze=R[ot],S(ze)||tt(ot),st=new ze(je(Ke.buffer,at),Ke.byteOffset,ot==="DataView"?Ke.byteLength:Ke.length);break;case"DOMQuad":try{st=new DOMQuad(je(Ke.p1,at),je(Ke.p2,at),je(Ke.p3,at),je(Ke.p4,at))}catch{Ze?st=Ze(Ke):tt(ot)}break;case"FileList":if(ze=R.DataTransfer,P(ze)){for(_t=new ze,ft=0,Ct=G(Ke);ft92||X&&V>94||H&&V>97)return!1;var Ke=new ArrayBuffer(8),at=Ue(Ke,{transfer:[Ke]});return Ke.byteLength!=0||at.byteLength!=8}),nt=function(Ke,at){if(!S(Ke))throw K("Transfer option cannot be converted to a sequence");var ot=[];l(Ke,function(mt){ke(ot,y(mt))});var Xe=0,ze=G(ot),Ye,st,_t,ft,Ct,ut,rt;if(Je)for(ft=Ue(ot,{transfer:ot});Xe1&&arguments[1]!=null?y(arguments[1]):void 0,Xe=ot?ot.transfer:void 0,ze;return Xe!==void 0&&(ze=new se,nt(Xe,ze)),je(at,ze)}})},(x,a,g)=>{var n=g(18),c=g(11),R=g(24),v=g(81),e=g(26),L=g(53),O=function(){},B=[],P=e("Reflect","construct"),S=/^\s*(?:class|function)\b/,_=n(S.exec),l=!S.exec(O),y=function(F){if(!R(F))return!1;try{return P(O,B,F),!0}catch{return!1}},D=function(F){if(!R(F))return!1;switch(v(F)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!_(S,L(F))}catch{return!0}};D.sham=!0,x.exports=!P||c(function(){var M;return y(y.call)||!y(Object)||!y(function(){M=!0})||M})?D:y},x=>{var a=TypeError;x.exports=function(g,n){if(g{var n=g(12),c=g(41),R=g(27),v=g(124),e=RegExp.prototype;x.exports=function(L){var O=L.flags;return O===void 0&&!("flags"in e)&&!c(L,"flags")&&R(e,L)?n(v,L):O}},(x,a,g)=>{var n=g(49);x.exports=function(){var c=n(this),R="";return c.hasIndices&&(R+="d"),c.global&&(R+="g"),c.ignoreCase&&(R+="i"),c.multiline&&(R+="m"),c.dotAll&&(R+="s"),c.unicode&&(R+="u"),c.unicodeSets&&(R+="v"),c.sticky&&(R+="y"),R}},(x,a,g)=>{var n=g(11),c=g(15);x.exports=!n(function(){var R=Error("a");return"stack"in R?(Object.defineProperty(R,"stack",c(1,7)),R.stack!==7):!0})},(x,a,g)=>{var n=g(127),c=g(128);x.exports=!n&&!c&&typeof window=="object"&&typeof document=="object"},x=>{x.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},(x,a,g)=>{var n=g(19),c=g(8);x.exports=n(c.process)=="process"},(x,a,g)=>{var n=g(8);x.exports=n},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.RefSetCache=a.RefSet=a.Ref=a.Name=a.EOF=a.Dict=a.Cmd=a.CIRCULAR_REF=void 0,a.clearPrimitiveCaches=M,a.isCmd=l,a.isDict=y,a.isName=_,a.isRefsEqual=D;var n=g(2);const c=Symbol("CIRCULAR_REF");a.CIRCULAR_REF=c;const R=Symbol("EOF");a.EOF=R;const v=function(){let N=Object.create(null);class G{constructor(J){this.name=J}static get(J){return N[J]||(N[J]=new G(J))}static _clearCache(){N=Object.create(null)}}return G}();a.Name=v;const e=function(){let N=Object.create(null);class G{constructor(J){this.cmd=J}static get(J){return N[J]||(N[J]=new G(J))}static _clearCache(){N=Object.create(null)}}return G}();a.Cmd=e;const L=function(){return L};class O{constructor(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._map=Object.create(null),this.xref=N,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=L}assignXref(N){this.xref=N}get size(){return Object.keys(this._map).length}get(N,G,W){let J=this._map[N];return J===void 0&&G!==void 0&&(J=this._map[G],J===void 0&&W!==void 0&&(J=this._map[W])),J instanceof B&&this.xref?this.xref.fetch(J,this.suppressEncryption):J}async getAsync(N,G,W){let J=this._map[N];return J===void 0&&G!==void 0&&(J=this._map[G],J===void 0&&W!==void 0&&(J=this._map[W])),J instanceof B&&this.xref?this.xref.fetchAsync(J,this.suppressEncryption):J}getArray(N,G,W){let J=this._map[N];if(J===void 0&&G!==void 0&&(J=this._map[G],J===void 0&&W!==void 0&&(J=this._map[W])),J instanceof B&&this.xref&&(J=this.xref.fetch(J,this.suppressEncryption)),Array.isArray(J)){J=J.slice();for(let Y=0,V=J.length;Y{(0,n.unreachable)("Should not call `set` on the empty dictionary.")},(0,n.shadow)(this,"empty",N)}static merge(N){let{xref:G,dictArray:W,mergeSubDicts:J=!1}=N;const Y=new O(G),V=new Map;for(const H of W)if(H instanceof O)for(const[z,X]of Object.entries(H._map)){let q=V.get(z);if(q===void 0)q=[],V.set(z,q);else if(!J||!(X instanceof O))continue;q.push(X)}for(const[H,z]of V){if(z.length===1||!(z[0]instanceof O)){Y._map[H]=z[0];continue}const X=new O(G);for(const q of z)for(const[$,fe]of Object.entries(q._map))X._map[$]===void 0&&(X._map[$]=fe);X.size>0&&(Y._map[H]=X)}return V.clear(),Y.size>0?Y:O.empty}}a.Dict=O;const B=function(){let N=Object.create(null);class G{constructor(J,Y){this.num=J,this.gen=Y}toString(){return this.gen===0?`${this.num}R`:`${this.num}R${this.gen}`}static get(J,Y){const V=Y===0?`${J}R`:`${J}R${Y}`;return N[V]||(N[V]=new G(J,Y))}static _clearCache(){N=Object.create(null)}}return G}();a.Ref=B;class P{constructor(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._set=new Set(N&&N._set)}has(N){return this._set.has(N.toString())}put(N){this._set.add(N.toString())}remove(N){this._set.delete(N.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}a.RefSet=P;class S{constructor(){this._map=new Map}get size(){return this._map.size}get(N){return this._map.get(N.toString())}has(N){return this._map.has(N.toString())}put(N,G){this._map.set(N.toString(),G)}putAlias(N,G){this._map.set(N.toString(),this.get(G))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}}a.RefSetCache=S;function _(F,N){return F instanceof v&&(N===void 0||F.name===N)}function l(F,N){return F instanceof e&&(N===void 0||F.cmd===N)}function y(F,N){return F instanceof O&&(N===void 0||_(F.get("Type"),N))}function D(F,N){return F.num===N.num&&F.gen===N.gen}function M(){e._clearCache(),v._clearCache(),B._clearCache()}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XRefParseException=a.XRefEntryException=a.ParserEOFException=a.MissingDataException=a.DocStats=void 0,a.collectActions=V,a.encodeToXmlString=z,a.escapePDFName=J,a.getArrayLookupTableFactory=e,a.getInheritableProperty=_,a.getLookupTableFactory=v,a.getNewAnnotationsMap=fe,a.isWhiteSpace=G,a.log2=D,a.numberToString=$,a.parseXFAPath=W,a.readInt8=M,a.readUint16=F,a.readUint32=N,a.recoverJsURL=q,a.toRomanNumerals=y,a.validateCSSFont=X;var n=g(2),c=g(130),R=g(132);function v(Q){let ie;return function(){return Q&&(ie=Object.create(null),Q(ie),Q=null),ie}}function e(Q){let ie;return function(){if(Q){let Te=Q();Q=null,ie=Object.create(null);for(let me=0,K=Te.length;me1&&arguments[1]!==void 0?arguments[1]:!1;(0,n.assert)(Number.isInteger(Q)&&Q>0,"The number should be a positive integer.");const Te=[];let me;for(;Q>=1e3;)Q-=1e3,Te.push("M");me=Q/100|0,Q%=100,Te.push(l[me]),me=Q/10|0,Q%=10,Te.push(l[10+me]),Te.push(l[20+Q]);const K=Te.join("");return ie?K.toLowerCase():K}function D(Q){return Q<=0?0:Math.ceil(Math.log2(Q))}function M(Q,ie){return Q[ie]<<24>>24}function F(Q,ie){return Q[ie]<<8|Q[ie+1]}function N(Q,ie){return(Q[ie]<<24|Q[ie+1]<<16|Q[ie+2]<<8|Q[ie+3])>>>0}function G(Q){return Q===32||Q===9||Q===13||Q===10}function W(Q){const ie=/(.+)\[(\d+)\]$/;return Q.split(".").map(Te=>{const me=Te.match(ie);return me?{name:me[1],pos:parseInt(me[2],10)}:{name:Te,pos:0}})}function J(Q){const ie=[];let Te=0;for(let me=0,K=Q.length;me126||ce===35||ce===40||ce===41||ce===60||ce===62||ce===91||ce===93||ce===123||ce===125||ce===47||ce===37)&&(Te=0;ce--){const de=K[ce];if(de instanceof c.Dict)for(const Z of de.getKeys()){const ae=Te[Z];if(!ae)continue;const he=de.getRaw(Z),we=new c.RefSet,_e=[];Y(he,Q,_e,we),_e.length>0&&(me[ae]=_e)}}if(ie.has("A")){const ce=ie.get("A"),de=new c.RefSet,Z=[];Y(ce,Q,Z,de),Z.length>0&&(me.Action=Z)}return(0,n.objectSize)(me)>0?me:null}const H={60:"<",62:">",38:"&",34:""",39:"'"};function z(Q){const ie=[];let Te=0;for(let me=0,K=Q.length;me55295&&(ce<57344||ce>65533)&&me++,Te=me+1}return ie.length===0?Q:(Te: ${K}.`),!1;const Z=ce?ce.toString():"";Q.fontWeight=me.has(Z)?Z:Te;const ae=parseFloat(de);return Q.italicAngle=isNaN(ae)||ae<-90||ae>90?ie:de.toString(),!0}function q(Q){const ie=["app.launchURL","window.open","xfa.host.gotoURL"],me=new RegExp("^\\s*("+ie.join("|").split(".").join("\\.")+`)\\((?:'|")([^'"]*)(?:'|")(?:,\\s*(\\w+)\\)|\\))`,"i").exec(Q);if(me&&me[2]){const K=me[2];let ce=!1;return me[3]==="true"&&me[1]==="app.launchURL"&&(ce=!0),{url:K,newWindow:ce}}return null}function $(Q){if(Number.isInteger(Q))return Q.toString();const ie=Math.round(Q*100);return ie%100===0?(ie/100).toString():ie%10===0?Q.toFixed(1):Q.toFixed(2)}function fe(Q){if(!Q)return null;const ie=new Map;for(const[Te,me]of Q){if(!Te.startsWith(n.AnnotationEditorPrefix))continue;let K=ie.get(me.pageIndex);K||(K=[],ie.set(me.pageIndex,K)),K.push(me)}return ie.size>0?ie:null}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.BaseStream=void 0;var n=g(2);class c{constructor(){this.constructor===c&&(0,n.unreachable)("Cannot initialize BaseStream.")}get length(){(0,n.unreachable)("Abstract getter `length` accessed")}get isEmpty(){(0,n.unreachable)("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return(0,n.shadow)(this,"isDataLoaded",!0)}getByte(){(0,n.unreachable)("Abstract method `getByte` called")}getBytes(v){(0,n.unreachable)("Abstract method `getBytes` called")}peekByte(){const v=this.getByte();return v!==-1&&this.pos--,v}peekBytes(v){const e=this.getBytes(v);return this.pos-=e.length,e}getUint16(){const v=this.getByte(),e=this.getByte();return v===-1||e===-1?-1:(v<<8)+e}getInt32(){const v=this.getByte(),e=this.getByte(),L=this.getByte(),O=this.getByte();return(v<<24)+(e<<16)+(L<<8)+O}getByteRange(v,e){(0,n.unreachable)("Abstract method `getByteRange` called")}getString(v){return(0,n.bytesToString)(this.getBytes(v))}skip(v){this.pos+=v||1}reset(){(0,n.unreachable)("Abstract method `reset` called")}moveStart(){(0,n.unreachable)("Abstract method `moveStart` called")}makeSubStream(v,e){(0,n.unreachable)("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}a.BaseStream=c},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.NetworkPdfManager=a.LocalPdfManager=void 0;var n=g(2),c=g(134),R=g(131),v=g(136),e=g(135);function L(S){if(S){const _=(0,n.createValidAbsoluteUrl)(S);if(_)return _.href;(0,n.warn)(`Invalid absolute docBaseUrl: "${S}".`)}return null}class O{constructor(){this.constructor===O&&(0,n.unreachable)("Cannot initialize BasePdfManager.")}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){const _=this.pdfDocument.catalog;return(0,n.shadow)(this,"docBaseUrl",_.baseUrl||this._docBaseUrl)}onLoadedStream(){(0,n.unreachable)("Abstract method `onLoadedStream` called")}ensureDoc(_,l){return this.ensure(this.pdfDocument,_,l)}ensureXRef(_,l){return this.ensure(this.pdfDocument.xref,_,l)}ensureCatalog(_,l){return this.ensure(this.pdfDocument.catalog,_,l)}getPage(_){return this.pdfDocument.getPage(_)}fontFallback(_,l){return this.pdfDocument.fontFallback(_,l)}loadXfaFonts(_,l){return this.pdfDocument.loadXfaFonts(_,l)}loadXfaImages(){return this.pdfDocument.loadXfaImages()}serializeXfaData(_){return this.pdfDocument.serializeXfaData(_)}cleanup(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pdfDocument.cleanup(_)}async ensure(_,l,y){(0,n.unreachable)("Abstract method `ensure` called")}requestRange(_,l){(0,n.unreachable)("Abstract method `requestRange` called")}requestLoadedStream(){(0,n.unreachable)("Abstract method `requestLoadedStream` called")}sendProgressiveData(_){(0,n.unreachable)("Abstract method `sendProgressiveData` called")}updatePassword(_){this._password=_}terminate(_){(0,n.unreachable)("Abstract method `terminate` called")}}class B extends O{constructor(_,l,y,D,M,F,N){super(),this._docId=_,this._password=y,this._docBaseUrl=L(N),this.msgHandler=D,this.evaluatorOptions=M,this.enableXfa=F;const G=new e.Stream(l);this.pdfDocument=new v.PDFDocument(this,G),this._loadedStreamPromise=Promise.resolve(G)}async ensure(_,l,y){const D=_[l];return typeof D=="function"?D.apply(_,y):D}requestRange(_,l){return Promise.resolve()}requestLoadedStream(){}onLoadedStream(){return this._loadedStreamPromise}terminate(_){}}a.LocalPdfManager=B;class P extends O{constructor(_,l,y,D,M,F){super(),this._docId=_,this._password=y.password,this._docBaseUrl=L(F),this.msgHandler=y.msgHandler,this.evaluatorOptions=D,this.enableXfa=M,this.streamManager=new c.ChunkedStreamManager(l,{msgHandler:y.msgHandler,length:y.length,disableAutoFetch:y.disableAutoFetch,rangeChunkSize:y.rangeChunkSize}),this.pdfDocument=new v.PDFDocument(this,this.streamManager.getStream())}async ensure(_,l,y){try{const D=_[l];return typeof D=="function"?D.apply(_,y):D}catch(D){if(!(D instanceof R.MissingDataException))throw D;return await this.requestRange(D.begin,D.end),this.ensure(_,l,y)}}requestRange(_,l){return this.streamManager.requestRange(_,l)}requestLoadedStream(){this.streamManager.requestAllChunks()}sendProgressiveData(_){this.streamManager.onReceiveData({chunk:_})}onLoadedStream(){return this.streamManager.onLoadedStream()}terminate(_){this.streamManager.abort(_)}}a.NetworkPdfManager=P},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ChunkedStreamManager=a.ChunkedStream=void 0;var n=g(2),c=g(131),R=g(135);class v extends R.Stream{constructor(O,B,P){super(new Uint8Array(O),0,O,null),this.chunkSize=B,this._loadedChunks=new Set,this.numChunks=Math.ceil(O/B),this.manager=P,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){const O=[];for(let B=0,P=this.numChunks;B=this.end?this.numChunks:Math.floor(B/this.chunkSize);for(let _=P;_this.numChunks)&&B!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(B))throw new c.MissingDataException(O,O+1);this.lastSuccessfulEnsureByteChunk=B}}ensureRange(O,B){if(O>=B||B<=this.progressiveDataLength)return;const P=Math.floor(O/this.chunkSize);if(P>this.numChunks)return;const S=Math.min(Math.floor((B-1)/this.chunkSize)+1,this.numChunks);for(let _=P;_=this.end?-1:(O>=this.progressiveDataLength&&this.ensureByte(O),this.bytes[this.pos++])}getBytes(O){const B=this.bytes,P=this.pos,S=this.end;if(!O)return S>this.progressiveDataLength&&this.ensureRange(P,S),B.subarray(P,S);let _=P+O;return _>S&&(_=S),_>this.progressiveDataLength&&this.ensureRange(P,_),this.pos=_,B.subarray(P,_)}getByteRange(O,B){return O<0&&(O=0),B>this.end&&(B=this.end),B>this.progressiveDataLength&&this.ensureRange(O,B),this.bytes.subarray(O,B)}makeSubStream(O,B){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;B?O+B>this.progressiveDataLength&&this.ensureRange(O,O+B):O>=this.progressiveDataLength&&this.ensureByte(O);function S(){}S.prototype=Object.create(this),S.prototype.getMissingChunks=function(){const l=this.chunkSize,y=Math.floor(this.start/l),D=Math.floor((this.end-1)/l)+1,M=[];for(let F=y;F{const D=M=>{try{if(!M.done){const N=M.value;S.push(N),_+=(0,n.arrayByteLength)(N),P.isStreamingSupported&&this.onProgress({loaded:_}),P.read().then(D,y);return}const F=(0,n.arraysToBytes)(S);S=null,l(F)}catch(F){y(F)}};P.read().then(D,y)}).then(l=>{this.aborted||this.onReceiveData({chunk:l,begin:O})})}requestAllChunks(){const O=this.stream.getMissingChunks();return this._requestChunks(O),this._loadedStreamCapability.promise}_requestChunks(O){const B=this.currRequestId++,P=new Set;this._chunksNeededByRequest.set(B,P);for(const l of O)this.stream.hasChunk(l)||P.add(l);if(P.size===0)return Promise.resolve();const S=(0,n.createPromiseCapability)();this._promisesByRequest.set(B,S);const _=[];for(const l of P){let y=this._requestsByChunk.get(l);y||(y=[],this._requestsByChunk.set(l,y),_.push(l)),y.push(B)}if(_.length>0){const l=this.groupChunks(_);for(const y of l){const D=y.beginChunk*this.chunkSize,M=Math.min(y.endChunk*this.chunkSize,this.length);this.sendRequest(D,M).catch(S.reject)}}return S.promise.catch(l=>{if(!this.aborted)throw l})}getStream(){return this.stream}requestRange(O,B){B=Math.min(B,this.length);const P=this.getBeginChunk(O),S=this.getEndChunk(B),_=[];for(let l=P;l0&&arguments[0]!==void 0?arguments[0]:[];const B=[];for(const P of O){const S=this.getBeginChunk(P.begin),_=this.getEndChunk(P.end);for(let l=S;l<_;++l)B.includes(l)||B.push(l)}return B.sort(function(P,S){return P-S}),this._requestChunks(B)}groupChunks(O){const B=[];let P=-1,S=-1;for(let _=0,l=O.length;_=0&&S+1!==y&&(B.push({beginChunk:P,endChunk:S+1}),P=y),_+1===O.length&&B.push({beginChunk:P,endChunk:y+1}),S=y}return B}onProgress(O){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+O.loaded,total:this.length})}onReceiveData(O){const B=O.chunk,P=O.begin===void 0,S=P?this.progressiveDataLength:O.begin,_=S+B.byteLength,l=Math.floor(S/this.chunkSize),y=_0)&&D.push(N)}}}if(!this.disableAutoFetch&&this._requestsByChunk.size===0){let M;if(this.stream.numChunksLoaded===1){const F=this.stream.numChunks-1;this.stream.hasChunk(F)||(M=F)}else M=this.stream.nextEmptyChunk(y);Number.isInteger(M)&&this._requestChunks([M])}for(const M of D){const F=this._promisesByRequest.get(M);this._promisesByRequest.delete(M),F.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(O){this._loadedStreamCapability.reject(O)}getBeginChunk(O){return Math.floor(O/this.chunkSize)}getEndChunk(O){return Math.floor((O-1)/this.chunkSize)+1}abort(O){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(O);for(const B of this._promisesByRequest.values())B.reject(O)}}a.ChunkedStreamManager=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.StringStream=a.Stream=a.NullStream=void 0;var n=g(132),c=g(2);class R extends n.BaseStream{constructor(O,B,P,S){super(),this.bytes=O instanceof Uint8Array?O:new Uint8Array(O),this.start=B||0,this.pos=this.start,this.end=B+P||this.bytes.length,this.dict=S}get length(){return this.end-this.start}get isEmpty(){return this.length===0}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(O){const B=this.bytes,P=this.pos,S=this.end;if(!O)return B.subarray(P,S);let _=P+O;return _>S&&(_=S),this.pos=_,B.subarray(P,_)}getByteRange(O,B){return O<0&&(O=0),B>this.end&&(B=this.end),this.bytes.subarray(O,B)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(O,B){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return new R(this.bytes.buffer,O,B,P)}}a.Stream=R;class v extends R{constructor(O){super((0,c.stringToBytes)(O))}}a.StringStream=v;class e extends R{constructor(){super(new Uint8Array(0))}}a.NullStream=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Page=a.PDFDocument=void 0;var n=g(137),c=g(2),R=g(131),v=g(130),e=g(176),L=g(132),O=g(192),B=g(194),P=g(196),S=g(225),_=g(142),l=g(135),y=g(200),D=g(187),M=g(140),F=g(144),N=g(199),G=g(190),W=g(201),J=g(226);const Y=1,V=[0,0,612,792];class H{constructor(K){let{pdfManager:ce,xref:de,pageIndex:Z,pageDict:ae,ref:he,globalIdFactory:we,fontCache:_e,builtInCMapCache:ye,standardFontDataCache:se,globalImageCache:Ie,nonBlendModesSet:Ce,xfaFactory:oe}=K;this.pdfManager=ce,this.pageIndex=Z,this.pageDict=ae,this.xref=de,this.ref=he,this.fontCache=_e,this.builtInCMapCache=ye,this.standardFontDataCache=se,this.globalImageCache=Ie,this.nonBlendModesSet=Ce,this.evaluatorOptions=ce.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=oe;const pe={obj:0};this._localIdFactory=class extends we{static createObjId(){return`p${Z}_${++pe.obj}`}static getPageObjId(){return`page${he.toString()}`}}}_getInheritableProperty(K){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const de=(0,R.getInheritableProperty)({dict:this.pageDict,key:K,getArray:ce,stopWhenFound:!1});return Array.isArray(de)?de.length===1||!(de[0]instanceof v.Dict)?de[0]:v.Dict.merge({xref:this.xref,dictArray:de}):de}get content(){return this.pageDict.getArray("Contents")}get resources(){const K=this._getInheritableProperty("Resources");return(0,c.shadow)(this,"resources",K instanceof v.Dict?K:v.Dict.empty)}_getBoundingBox(K){if(this.xfaData)return this.xfaData.bbox;const ce=this._getInheritableProperty(K,!0);if(Array.isArray(ce)&&ce.length===4){if(ce[2]-ce[0]!==0&&ce[3]-ce[1]!==0)return ce;(0,c.warn)(`Empty /${K} entry.`)}return null}get mediaBox(){return(0,c.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||V)}get cropBox(){return(0,c.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){let K=this.pageDict.get("UserUnit");return(typeof K!="number"||K<=0)&&(K=Y),(0,c.shadow)(this,"userUnit",K)}get view(){const{cropBox:K,mediaBox:ce}=this;let de;if(K===ce||(0,c.isArrayEqual)(K,ce))de=ce;else{const Z=c.Util.intersect(K,ce);Z&&Z[2]-Z[0]!==0&&Z[3]-Z[1]!==0?de=Z:(0,c.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,c.shadow)(this,"view",de||ce)}get rotate(){let K=this._getInheritableProperty("Rotate")||0;return K%90!==0?K=0:K>=360?K%=360:K<0&&(K=(K%360+360)%360),(0,c.shadow)(this,"rotate",K)}_onSubStreamError(K,ce,de){if(this.evaluatorOptions.ignoreErrors){K.send("UnsupportedFeature",{featureId:c.UNSUPPORTED_FEATURES.errorContentSubStream}),(0,c.warn)(`getContentStream - ignoring sub-stream (${de}): "${ce}".`);return}throw ce}getContentStream(K){return this.pdfManager.ensure(this,"content").then(ce=>ce instanceof L.BaseStream?ce:Array.isArray(ce)?new F.StreamsSequenceStream(ce,this._onSubStreamError.bind(this,K)):new l.NullStream)}get xfaData(){return(0,c.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async saveNewAnnotations(K,ce,de){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const Z=new M.PartialEvaluator({xref:this.xref,handler:K,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),ae=this.pageDict,he=this.annotations.slice(),we=await n.AnnotationFactory.saveNewAnnotations(Z,ce,de);for(const{ref:Ce}of we.annotations)he.push(Ce);const _e=ae.get("Annots");ae.set("Annots",he);const ye=[];let se=null;this.xref.encrypt&&(se=this.xref.encrypt.createCipherTransform(this.ref.num,this.ref.gen)),(0,G.writeObject)(this.ref,ae,ye,se),_e&&ae.set("Annots",_e);const Ie=we.dependencies;return Ie.push({ref:this.ref,data:ye.join("")},...we.annotations),Ie}save(K,ce,de){const Z=new M.PartialEvaluator({xref:this.xref,handler:K,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions});return this._parsedAnnotations.then(function(ae){const he=[];for(const we of ae)we.mustBePrinted(de)&&he.push(we.save(Z,ce,de).catch(function(_e){return(0,c.warn)(`save - ignoring annotation data during "${ce.name}" task: "${_e}".`),null}));return Promise.all(he).then(function(we){return we.filter(_e=>!!_e)})})}loadResources(K){return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(()=>new y.ObjectLoader(this.resources,K,this.xref).load())}getOperatorList(K){let{handler:ce,sink:de,task:Z,intent:ae,cacheKey:he,annotationStorage:we=null}=K;const _e=this.getContentStream(ce),ye=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),se=new M.PartialEvaluator({xref:this.xref,handler:ce,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),Ie=this.xfaFactory?null:(0,R.getNewAnnotationsMap)(we);let Ce=Promise.resolve(null);if(Ie){const xe=Ie.get(this.pageIndex);xe&&(Ce=n.AnnotationFactory.printNewAnnotations(se,Z,xe))}const pe=Promise.all([_e,ye]).then(xe=>{let[Ne]=xe;const ke=new D.OperatorList(ae,de);return ce.send("StartRenderPage",{transparency:se.hasBlendModes(this.resources,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:he}),se.getOperatorList({stream:Ne,task:Z,resources:this.resources,operatorList:ke}).then(function(){return ke})});return Promise.all([pe,this._parsedAnnotations,Ce]).then(function(xe){let[Ne,ke,De]=xe;if(De&&(ke=ke.concat(De)),ke.length===0||ae&c.RenderingIntentFlag.ANNOTATIONS_DISABLE)return Ne.flush(!0),{length:Ne.totalLength};const Fe=!!(ae&c.RenderingIntentFlag.ANNOTATIONS_FORMS),Pe=!!(ae&c.RenderingIntentFlag.ANY),qe=!!(ae&c.RenderingIntentFlag.DISPLAY),Le=!!(ae&c.RenderingIntentFlag.PRINT),Oe=[];for(const Ee of ke)(Pe||qe&&Ee.mustBeViewed(we)||Le&&Ee.mustBePrinted(we))&&Oe.push(Ee.getOperatorList(se,Z,ae,Fe,we).catch(function(Ae){return(0,c.warn)(`getOperatorList - ignoring annotation data during "${Z.name}" task: "${Ae}".`),null}));return Promise.all(Oe).then(function(Ee){let Ae=!1,Ve=!1;for(const{opList:$e,separateForm:Ue,separateCanvas:He}of Ee)Ne.addOpList($e),Ue&&(Ae=Ue),He&&(Ve=He);return Ne.flush(!0,{form:Ae,canvas:Ve}),{length:Ne.totalLength}})})}extractTextContent(K){let{handler:ce,task:de,includeMarkedContent:Z,sink:ae,combineTextItems:he}=K;const we=this.getContentStream(ce),_e=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([we,_e]).then(se=>{let[Ie]=se;return new M.PartialEvaluator({xref:this.xref,handler:ce,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}).getTextContent({stream:Ie,task:de,resources:this.resources,includeMarkedContent:Z,combineTextItems:he,sink:ae,viewBox:this.view})})}async getStructTree(){const K=await this.pdfManager.ensureCatalog("structTreeRoot");return K?(await this.pdfManager.ensure(this,"_parseStructTree",[K])).serializable:null}_parseStructTree(K){const ce=new N.StructTreePage(K,this.pageDict);return ce.parse(),ce}async getAnnotationsData(K,ce,de){const Z=await this._parsedAnnotations;if(Z.length===0)return[];const ae=[],he=[];let we;const _e=!!(de&c.RenderingIntentFlag.ANY),ye=!!(de&c.RenderingIntentFlag.DISPLAY),se=!!(de&c.RenderingIntentFlag.PRINT);for(const Ie of Z){const Ce=_e||ye&&Ie.viewable;(Ce||se&&Ie.printable)&&he.push(Ie.data),Ie.hasTextContent&&Ce&&(we||(we=new M.PartialEvaluator({xref:this.xref,handler:K,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions})),ae.push(Ie.extractTextContent(we,ce,this.view).catch(function(oe){(0,c.warn)(`getAnnotationsData - ignoring textContent during "${ce.name}" task: "${oe}".`)})))}return await Promise.all(ae),he}get annotations(){const K=this._getInheritableProperty("Annots");return(0,c.shadow)(this,"annotations",Array.isArray(K)?K:[])}get _parsedAnnotations(){const K=this.pdfManager.ensure(this,"annotations").then(()=>{const ce=[];for(const de of this.annotations)ce.push(n.AnnotationFactory.create(this.xref,de,this.pdfManager,this._localIdFactory,!1).catch(function(Z){return(0,c.warn)(`_parsedAnnotations: "${Z}".`),null}));return Promise.all(ce).then(function(de){if(de.length===0)return de;const Z=[];let ae;for(const he of de)if(he){if(he instanceof n.PopupAnnotation){ae||(ae=[]),ae.push(he);continue}Z.push(he)}return ae&&Z.push(...ae),Z})});return(0,c.shadow)(this,"_parsedAnnotations",K)}get jsActions(){const K=(0,R.collectActions)(this.xref,this.pageDict,c.PageActionEventType);return(0,c.shadow)(this,"jsActions",K)}}a.Page=H;const z=new Uint8Array([37,80,68,70,45]),X=new Uint8Array([115,116,97,114,116,120,114,101,102]),q=new Uint8Array([101,110,100,111,98,106]),$=1024,fe="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",Q=/^[1-9]\.\d$/;function ie(me,K){let ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1024,de=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const Z=K.length,ae=me.peekBytes(ce),he=ae.length-Z;if(he<=0)return!1;if(de){const we=Z-1;let _e=ae.length-1;for(;_e>=we;){let ye=0;for(;ye=Z)return me.pos+=_e-we,!0;_e--}}else{let we=0;for(;we<=he;){let _e=0;for(;_e=Z)return me.pos+=we,!0;we++}}return!1}class Te{constructor(K,ce){if(ce.length<=0)throw new c.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=K,this.stream=ce,this.xref=new J.XRef(ce,K),this._pagePromises=new Map,this._version=null;const de={font:0};this._globalIdFactory=class{static getDocId(){return`g_${K.docId}`}static createFontId(){return`f${++de.font}`}static createObjId(){(0,c.unreachable)("Abstract method `createObjId` called.")}static getPageObjId(){(0,c.unreachable)("Abstract method `getPageObjId` called.")}}}parse(K){this.xref.parse(K),this.catalog=new B.Catalog(this.pdfManager,this.xref),this.catalog.version&&(this._version=this.catalog.version)}get linearization(){let K=null;try{K=_.Linearization.create(this.stream)}catch(ce){if(ce instanceof R.MissingDataException)throw ce;(0,c.info)(ce)}return(0,c.shadow)(this,"linearization",K)}get startXRef(){const K=this.stream;let ce=0;if(this.linearization)K.reset(),ie(K,q)&&(ce=K.pos+6-K.start);else{const Z=X.length;let ae=!1,he=K.end;for(;!ae&&he>0;)he-=1024-Z,he<0&&(he=0),K.pos=he,ae=ie(K,X,1024,!0);if(ae){K.skip(9);let we;do we=K.getByte();while((0,R.isWhiteSpace)(we));let _e="";for(;we>=32&&we<=57;)_e+=String.fromCharCode(we),we=K.getByte();ce=parseInt(_e,10),isNaN(ce)&&(ce=0)}}return(0,c.shadow)(this,"startXRef",ce)}checkHeader(){const K=this.stream;if(K.reset(),!ie(K,z))return;K.moveStart();const ce=12;let de="",Z;for(;(Z=K.getByte())>32&&!(de.length>=ce);)de+=String.fromCharCode(Z);this._version||(this._version=de.substring(5))}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let K=0;return this.catalog.hasActualNumPages?K=this.catalog.numPages:this.xfaFactory?K=this.xfaFactory.getNumPages():this.linearization?K=this.linearization.numPages:K=this.catalog.numPages,(0,c.shadow)(this,"numPages",K)}_hasOnlyDocumentSignatures(K){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const de=10;return Array.isArray(K)?K.every(Z=>{if(Z=this.xref.fetchIfRef(Z),!(Z instanceof v.Dict))return!1;if(Z.has("Kids"))return++ce>de?((0,c.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):this._hasOnlyDocumentSignatures(Z.get("Kids"),ce);const ae=(0,v.isName)(Z.get("FT"),"Sig"),he=Z.get("Rect"),we=Array.isArray(he)&&he.every(_e=>_e===0);return ae&&we}):!1}get _xfaStreams(){const K=this.catalog.acroForm;if(!K)return null;const ce=K.get("XFA"),de={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(ce instanceof L.BaseStream&&!ce.isEmpty)return de["xdp:xdp"]=ce,de;if(!Array.isArray(ce)||ce.length===0)return null;for(let Z=0,ae=ce.length;Z{Ce.set(Ne,ke)});const oe=[];for(const[Ne,ke]of Ce){const De=ke.get("FontDescriptor");if(!(De instanceof v.Dict))continue;let Fe=De.get("FontFamily");Fe=Fe.replace(/[ ]+(\d)/g,"$1");const Pe=De.get("FontWeight"),qe=-De.get("ItalicAngle"),Le={fontFamily:Fe,fontWeight:Pe,italicAngle:qe};(0,R.validateCSSFont)(Le)&&oe.push(_e.handleSetFont(Z,[v.Name.get(Ne),1],null,ye,ce,Ie,null,Le).catch(function(Oe){return(0,c.warn)(`loadXfaFonts: "${Oe}".`),null}))}await Promise.all(oe);const pe=this.xfaFactory.setFonts(se);if(!pe)return;we.ignoreErrors=!0,oe.length=0,se.length=0;const xe=new Set;for(const Ne of pe)(0,e.getXfaFontName)(`${Ne}-Regular`)||xe.add(Ne);xe.size&&pe.push("PdfJS-Fallback");for(const Ne of pe)if(!xe.has(Ne))for(const ke of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const De=`${Ne}-${ke.name}`,Fe=(0,e.getXfaFontDict)(De);oe.push(_e.handleSetFont(Z,[v.Name.get(De),1],null,ye,ce,Ie,Fe,{fontFamily:Ne,fontWeight:ke.fontWeight,italicAngle:ke.italicAngle}).catch(function(Pe){return(0,c.warn)(`loadXfaFonts: "${Pe}".`),null}))}await Promise.all(oe),this.xfaFactory.appendFonts(se,xe)}async serializeXfaData(K){return this.xfaFactory?this.xfaFactory.serializeData(K):null}get formInfo(){const K={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},ce=this.catalog.acroForm;if(!ce)return(0,c.shadow)(this,"formInfo",K);try{const de=ce.get("Fields"),Z=Array.isArray(de)&&de.length>0;K.hasFields=Z;const ae=ce.get("XFA");K.hasXfa=Array.isArray(ae)&&ae.length>0||ae instanceof L.BaseStream&&!ae.isEmpty;const we=!!(ce.get("SigFlags")&1),_e=we&&this._hasOnlyDocumentSignatures(de);K.hasAcroForm=Z&&!_e,K.hasSignatures=we}catch(de){if(de instanceof R.MissingDataException)throw de;(0,c.warn)(`Cannot fetch form information: "${de}".`)}return(0,c.shadow)(this,"formInfo",K)}get documentInfo(){let K=this._version;(typeof K!="string"||!Q.test(K))&&((0,c.warn)(`Invalid PDF header version number: ${K}`),K=null);const ce={PDFFormatVersion:K,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};let de;try{de=this.xref.trailer.get("Info")}catch(Z){if(Z instanceof R.MissingDataException)throw Z;(0,c.info)("The document information dictionary is invalid.")}if(!(de instanceof v.Dict))return(0,c.shadow)(this,"documentInfo",ce);for(const Z of de.getKeys()){const ae=de.get(Z);switch(Z){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if(typeof ae=="string"){ce[Z]=(0,c.stringToPDFString)(ae);continue}break;case"Trapped":if(ae instanceof v.Name){ce[Z]=ae;continue}break;default:let he;switch(typeof ae){case"string":he=(0,c.stringToPDFString)(ae);break;case"number":case"boolean":he=ae;break;default:ae instanceof v.Name&&(he=ae);break}if(he===void 0){(0,c.warn)(`Bad value, for custom key "${Z}", in Info: ${ae}.`);continue}ce.Custom||(ce.Custom=Object.create(null)),ce.Custom[Z]=he;continue}(0,c.warn)(`Bad value, for key "${Z}", in Info: ${ae}.`)}return(0,c.shadow)(this,"documentInfo",ce)}get fingerprints(){function K(he){return typeof he=="string"&&he.length>0&&he!==fe}function ce(he){const we=[];for(let _e=0,ye=he.length;_e{let[_e,ye]=we;return new H({pdfManager:this.pdfManager,xref:this.xref,pageIndex:K,pageDict:_e,ref:ye,globalIdFactory:this._globalIdFactory,fontCache:de.fontCache,builtInCMapCache:de.builtInCMapCache,standardFontDataCache:de.standardFontDataCache,globalImageCache:de.globalImageCache,nonBlendModesSet:de.nonBlendModesSet,xfaFactory:ae})}),this._pagePromises.set(K,he),he}async checkFirstPage(){if(!(arguments.length>0&&arguments[0]!==void 0&&arguments[0]))try{await this.getPage(0)}catch(ce){if(ce instanceof R.XRefEntryException)throw this._pagePromises.delete(0),await this.cleanup(),new R.XRefParseException}}async checkLastPage(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const{catalog:ce,pdfManager:de}=this;ce.setActualNumPages();let Z;try{if(await Promise.all([de.ensureDoc("xfaFactory"),de.ensureDoc("linearization"),de.ensureCatalog("numPages")]),this.xfaFactory)return;if(this.linearization?Z=this.linearization.numPages:Z=ce.numPages,Number.isInteger(Z)){if(Z<=1)return}else throw new c.FormatError("Page count is not an integer.");await this.getPage(Z-1)}catch(ae){if(this._pagePromises.delete(Z-1),await this.cleanup(),ae instanceof R.XRefEntryException&&!K)throw new R.XRefParseException;(0,c.warn)(`checkLastPage - invalid /Pages tree /Count: ${Z}.`);let he;try{he=await ce.getAllPageDicts(K)}catch(we){if(we instanceof R.XRefEntryException&&!K)throw new R.XRefParseException;ce.setActualNumPages(1);return}for(const[we,[_e,ye]]of he){let se;_e instanceof Error?(se=Promise.reject(_e),se.catch(()=>{})):se=Promise.resolve(new H({pdfManager:de,xref:this.xref,pageIndex:we,pageDict:_e,ref:ye,globalIdFactory:this._globalIdFactory,fontCache:ce.fontCache,builtInCMapCache:ce.builtInCMapCache,standardFontDataCache:ce.standardFontDataCache,globalImageCache:ce.globalImageCache,nonBlendModesSet:ce.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(we,se)}ce.setActualNumPages(he.size)}}fontFallback(K,ce){return this.catalog.fontFallback(K,ce)}async cleanup(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.catalog?this.catalog.cleanup(K):(0,P.clearGlobalCaches)()}_collectFieldObjects(K,ce,de){const Z=this.xref.fetchIfRef(ce);if(Z.has("T")){const ae=(0,c.stringToPDFString)(Z.get("T"));K===""?K=ae:K=`${K}.${ae}`}if(de.has(K)||de.set(K,[]),de.get(K).push(n.AnnotationFactory.create(this.xref,ce,this.pdfManager,this._localIdFactory,!0).then(ae=>ae&&ae.getFieldObject()).catch(function(ae){return(0,c.warn)(`_collectFieldObjects: "${ae}".`),null})),Z.has("Kids")){const ae=Z.get("Kids");for(const he of ae)this._collectFieldObjects(K,he,de)}}get fieldObjects(){if(!this.formInfo.hasFields)return(0,c.shadow)(this,"fieldObjects",Promise.resolve(null));const K=Object.create(null),ce=new Map;for(const Z of this.catalog.acroForm.get("Fields"))this._collectFieldObjects("",Z,ce);const de=[];for(const[Z,ae]of ce)de.push(Promise.all(ae).then(he=>{he=he.filter(we=>!!we),he.length>0&&(K[Z]=he)}));return(0,c.shadow)(this,"fieldObjects",Promise.all(de).then(()=>K))}get hasJSActions(){const K=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,c.shadow)(this,"hasJSActions",K)}async _parseHasJSActions(){const[K,ce]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return K?!0:ce?Object.values(ce).some(de=>de.some(Z=>Z.actions!==null)):!1}get calculationOrderIds(){const K=this.catalog.acroForm;if(!K||!K.has("CO"))return(0,c.shadow)(this,"calculationOrderIds",null);const ce=K.get("CO");if(!Array.isArray(ce)||ce.length===0)return(0,c.shadow)(this,"calculationOrderIds",null);const de=[];for(const Z of ce)Z instanceof v.Ref&&de.push(Z.toString());return de.length===0?(0,c.shadow)(this,"calculationOrderIds",null):(0,c.shadow)(this,"calculationOrderIds",de)}}a.PDFDocument=Te},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PopupAnnotation=a.MarkupAnnotation=a.AnnotationFactory=a.AnnotationBorderStyle=a.Annotation=void 0,a.getQuadPoints=N;var n=g(2),c=g(131),R=g(138),v=g(130),e=g(190),L=g(132),O=g(185),B=g(194),P=g(139),S=g(197),_=g(200),l=g(187),y=g(135),D=g(201);class M{static create(oe,pe,xe,Ne,ke){return Promise.all([xe.ensureCatalog("acroForm"),xe.ensureCatalog("baseUrl"),xe.ensureDoc("xfaDatasets"),ke?this._getPageIndex(oe,pe,xe):-1]).then(De=>{let[Fe,Pe,qe,Le]=De;return xe.ensure(this,"_create",[oe,pe,xe,Ne,Fe,qe,ke,Le])})}static _create(oe,pe,xe,Ne,ke,De,Fe){let Pe=arguments.length>7&&arguments[7]!==void 0?arguments[7]:-1;const qe=oe.fetchIfRef(pe);if(!(qe instanceof v.Dict))return;const Le=pe instanceof v.Ref?pe.toString():`annot_${Ne.createObjId()}`;let Oe=qe.get("Subtype");Oe=Oe instanceof v.Name?Oe.name:null;const Ee={xref:oe,ref:pe,dict:qe,subtype:Oe,id:Le,pdfManager:xe,acroForm:ke instanceof v.Dict?ke:v.Dict.empty,xfaDatasets:De,collectFields:Fe,pageIndex:Pe};switch(Oe){case"Link":return new fe(Ee);case"Text":return new $(Ee);case"Widget":let Ae=(0,c.getInheritableProperty)({dict:qe,key:"FT"});switch(Ae=Ae instanceof v.Name?Ae.name:null,Ae){case"Tx":return new H(Ee);case"Btn":return new z(Ee);case"Ch":return new X(Ee);case"Sig":return new q(Ee)}return(0,n.warn)(`Unimplemented widget field type "${Ae}", falling back to base field type.`),new V(Ee);case"Popup":return new Q(Ee);case"FreeText":return new ie(Ee);case"Line":return new Te(Ee);case"Square":return new me(Ee);case"Circle":return new K(Ee);case"PolyLine":return new ce(Ee);case"Polygon":return new de(Ee);case"Caret":return new Z(Ee);case"Ink":return new ae(Ee);case"Highlight":return new he(Ee);case"Underline":return new we(Ee);case"Squiggly":return new _e(Ee);case"StrikeOut":return new ye(Ee);case"Stamp":return new se(Ee);case"FileAttachment":return new Ie(Ee);default:return Fe||(Oe?(0,n.warn)(`Unimplemented annotation type "${Oe}", falling back to base annotation.`):(0,n.warn)("Annotation is missing the required /Subtype.")),new W(Ee)}}static async _getPageIndex(oe,pe,xe){try{const Ne=await oe.fetchIfRefAsync(pe);if(!(Ne instanceof v.Dict))return-1;const ke=Ne.getRaw("P");return ke instanceof v.Ref?await xe.ensureCatalog("getPageIndex",[ke]):-1}catch(Ne){return(0,n.warn)(`_getPageIndex: "${Ne}".`),-1}}static async saveNewAnnotations(oe,pe,xe){const Ne=oe.xref;let ke;const De=[],Fe=[];for(const Pe of xe)switch(Pe.annotationType){case n.AnnotationEditorType.FREETEXT:if(!ke){const qe=new v.Dict(Ne);qe.set("BaseFont",v.Name.get("Helvetica")),qe.set("Type",v.Name.get("Font")),qe.set("Subtype",v.Name.get("Type1")),qe.set("Encoding",v.Name.get("WinAnsiEncoding"));const Le=[];ke=Ne.getNewRef(),(0,e.writeObject)(ke,qe,Le,null),De.push({ref:ke,data:Le.join("")})}Fe.push(ie.createNewAnnotation(Ne,Pe,De,{evaluator:oe,task:pe,baseFontRef:ke}));break;case n.AnnotationEditorType.INK:Fe.push(ae.createNewAnnotation(Ne,Pe,De))}return{annotations:await Promise.all(Fe),dependencies:De}}static async printNewAnnotations(oe,pe,xe){if(!xe)return null;const Ne=oe.xref,ke=[];for(const De of xe)switch(De.annotationType){case n.AnnotationEditorType.FREETEXT:ke.push(ie.createNewPrintAnnotation(Ne,De,{evaluator:oe,task:pe}));break;case n.AnnotationEditorType.INK:ke.push(ae.createNewPrintAnnotation(Ne,De));break}return Promise.all(ke)}}a.AnnotationFactory=M;function F(Ce){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(Ce))return oe;const pe=oe||new Uint8ClampedArray(3);switch(Ce.length){case 0:return null;case 1:return P.ColorSpace.singletons.gray.getRgbItem(Ce,0,pe,0),pe;case 3:return P.ColorSpace.singletons.rgb.getRgbItem(Ce,0,pe,0),pe;case 4:return P.ColorSpace.singletons.cmyk.getRgbItem(Ce,0,pe,0),pe;default:return oe}}function N(Ce,oe){if(!Ce.has("QuadPoints"))return null;const pe=Ce.getArray("QuadPoints");if(!Array.isArray(pe)||pe.length===0||pe.length%8>0)return null;const xe=[];for(let Ne=0,ke=pe.length/8;Neoe[2]||qeoe[3]))return null;xe[Ne].push({x:Pe,y:qe})}}return xe.map(Ne=>{const[ke,De,Fe,Pe]=Ne.reduce((qe,Le)=>{let[Oe,Ee,Ae,Ve]=qe;return[Math.min(Oe,Le.x),Math.max(Ee,Le.x),Math.min(Ae,Le.y),Math.max(Ve,Le.y)]},[Number.MAX_VALUE,Number.MIN_VALUE,Number.MAX_VALUE,Number.MIN_VALUE]);return[{x:ke,y:Pe},{x:De,y:Pe},{x:ke,y:Fe},{x:De,y:Fe}]})}function G(Ce,oe,pe){const[xe,Ne,ke,De]=n.Util.getAxialAlignedBoundingBox(oe,pe);if(xe===ke||Ne===De)return[1,0,0,1,Ce[0],Ce[1]];const Fe=(Ce[2]-Ce[0])/(ke-xe),Pe=(Ce[3]-Ce[1])/(De-Ne);return[Fe,0,0,Pe,Ce[0]-xe*Fe,Ce[1]-Ne*Pe]}class W{constructor(oe){const pe=oe.dict;this.setTitle(pe.get("T")),this.setContents(pe.get("Contents")),this.setModificationDate(pe.get("M")),this.setFlags(pe.get("F")),this.setRectangle(pe.getArray("Rect")),this.setColor(pe.getArray("C")),this.setBorderStyle(pe),this.setAppearance(pe),this.setOptionalContent(pe);const xe=pe.get("MK");if(this.setBorderAndBackgroundColors(xe),this.setRotation(xe),this._streams=[],this.appearance&&this._streams.push(this.appearance),this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:oe.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:oe.subtype,hasOwnCanvas:!1},oe.collectFields){const Ne=pe.get("Kids");if(Array.isArray(Ne)){const ke=[];for(const De of Ne)De instanceof v.Ref&&ke.push(De.toString());ke.length!==0&&(this.data.kidIds=ke)}this.data.actions=(0,c.collectActions)(oe.xref,pe,n.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(pe),this.data.pageIndex=oe.pageIndex}this._fallbackFontDict=null}_hasFlag(oe,pe){return!!(oe&pe)}_isViewable(oe){return!this._hasFlag(oe,n.AnnotationFlag.INVISIBLE)&&!this._hasFlag(oe,n.AnnotationFlag.NOVIEW)}_isPrintable(oe){return this._hasFlag(oe,n.AnnotationFlag.PRINT)&&!this._hasFlag(oe,n.AnnotationFlag.INVISIBLE)}mustBeViewed(oe){const pe=oe&&oe.get(this.data.id);return pe&&pe.hidden!==void 0?!pe.hidden:this.viewable&&!this._hasFlag(this.flags,n.AnnotationFlag.HIDDEN)}mustBePrinted(oe){const pe=oe&&oe.get(this.data.id);return pe&&pe.print!==void 0?pe.print:this.printable}get viewable(){return this.data.quadPoints===null?!1:this.flags===0?!0:this._isViewable(this.flags)}get printable(){return this.data.quadPoints===null||this.flags===0?!1:this._isPrintable(this.flags)}_parseStringHelper(oe){const pe=typeof oe=="string"?(0,n.stringToPDFString)(oe):"",xe=pe&&(0,O.bidi)(pe).dir==="rtl"?"rtl":"ltr";return{str:pe,dir:xe}}setTitle(oe){this._title=this._parseStringHelper(oe)}setContents(oe){this._contents=this._parseStringHelper(oe)}setModificationDate(oe){this.modificationDate=typeof oe=="string"?oe:null}setFlags(oe){this.flags=Number.isInteger(oe)&&oe>0?oe:0}hasFlag(oe){return this._hasFlag(this.flags,oe)}setRectangle(oe){Array.isArray(oe)&&oe.length===4?this.rectangle=n.Util.normalizeRect(oe):this.rectangle=[0,0,0,0]}setColor(oe){this.color=F(oe)}setLineEndings(oe){if(this.lineEndings=["None","None"],Array.isArray(oe)&&oe.length===2)for(let pe=0;pe<2;pe++){const xe=oe[pe];if(xe instanceof v.Name)switch(xe.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[pe]=xe.name;continue}(0,n.warn)(`Ignoring invalid lineEnding: ${xe}`)}}setRotation(oe){if(this.rotation=0,oe instanceof v.Dict){let pe=oe.get("R")||0;Number.isInteger(pe)&&pe!==0&&(pe%=360,pe<0&&(pe+=360),pe%90===0&&(this.rotation=pe))}}setBorderAndBackgroundColors(oe){oe instanceof v.Dict?(this.borderColor=F(oe.getArray("BC"),null),this.backgroundColor=F(oe.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(oe){if(this.borderStyle=new J,oe instanceof v.Dict)if(oe.has("BS")){const pe=oe.get("BS"),xe=pe.get("Type");(!xe||(0,v.isName)(xe,"Border"))&&(this.borderStyle.setWidth(pe.get("W"),this.rectangle),this.borderStyle.setStyle(pe.get("S")),this.borderStyle.setDashArray(pe.getArray("D")))}else if(oe.has("Border")){const pe=oe.getArray("Border");Array.isArray(pe)&&pe.length>=3&&(this.borderStyle.setHorizontalCornerRadius(pe[0]),this.borderStyle.setVerticalCornerRadius(pe[1]),this.borderStyle.setWidth(pe[2],this.rectangle),pe.length===4&&this.borderStyle.setDashArray(pe[3],!0))}else this.borderStyle.setWidth(0)}setAppearance(oe){this.appearance=null;const pe=oe.get("AP");if(!(pe instanceof v.Dict))return;const xe=pe.get("N");if(xe instanceof L.BaseStream){this.appearance=xe;return}if(!(xe instanceof v.Dict))return;const Ne=oe.get("AS");!(Ne instanceof v.Name)||!xe.has(Ne.name)||(this.appearance=xe.get(Ne.name))}setOptionalContent(oe){this.oc=null;const pe=oe.get("OC");pe instanceof v.Name?(0,n.warn)("setOptionalContent: Support for /Name-entry is not implemented."):pe instanceof v.Dict&&(this.oc=pe)}loadResources(oe,pe){return pe.dict.getAsync("Resources").then(xe=>xe?new _.ObjectLoader(xe,oe,xe.xref).load().then(function(){return xe}):void 0)}async getOperatorList(oe,pe,xe,Ne,ke){const De=this.data;let Fe=this.appearance;const Pe=!!(this.data.hasOwnCanvas&&xe&n.RenderingIntentFlag.DISPLAY);if(!Fe){if(!Pe)return{opList:new l.OperatorList,separateForm:!1,separateCanvas:!1};Fe=new y.StringStream(""),Fe.dict=new v.Dict}const qe=Fe.dict,Le=await this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],Fe),Oe=qe.getArray("BBox")||[0,0,1,1],Ee=qe.getArray("Matrix")||[1,0,0,1,0,0],Ae=G(De.rect,Oe,Ee),Ve=new l.OperatorList;let $e;return this.oc&&($e=await oe.parseMarkedContentProps(this.oc,null)),$e!==void 0&&Ve.addOp(n.OPS.beginMarkedContentProps,["OC",$e]),Ve.addOp(n.OPS.beginAnnotation,[De.id,De.rect,Ae,Ee,Pe]),await oe.getOperatorList({stream:Fe,task:pe,resources:Le,operatorList:Ve,fallbackFontDict:this._fallbackFontDict}),Ve.addOp(n.OPS.endAnnotation,[]),$e!==void 0&&Ve.addOp(n.OPS.endMarkedContent,[]),this.reset(),{opList:Ve,separateForm:!1,separateCanvas:Pe}}async save(oe,pe,xe){return null}get hasTextContent(){return!1}async extractTextContent(oe,pe,xe){if(!this.appearance)return;const Ne=await this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance),ke=[],De=[],Fe={desiredSize:Math.Infinity,ready:!0,enqueue(Pe,qe){for(const Le of Pe.items)De.push(Le.str),Le.hasEOL&&(ke.push(De.join("")),De.length=0)}};await oe.getTextContent({stream:this.appearance,task:pe,resources:Ne,includeMarkedContent:!0,combineTextItems:!0,sink:Fe,viewBox:xe}),this.reset(),De.length&&ke.push(De.join("")),ke.length>0&&(this.data.textContent=ke)}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const oe of this._streams)oe.reset()}_constructFieldName(oe){if(!oe.has("T")&&!oe.has("Parent"))return(0,n.warn)("Unknown field name, falling back to empty field name."),"";if(!oe.has("Parent"))return(0,n.stringToPDFString)(oe.get("T"));const pe=[];oe.has("T")&&pe.unshift((0,n.stringToPDFString)(oe.get("T")));let xe=oe;const Ne=new v.RefSet;for(oe.objId&&Ne.put(oe.objId);xe.has("Parent")&&(xe=xe.get("Parent"),!(!(xe instanceof v.Dict)||xe.objId&&Ne.has(xe.objId)));)xe.objId&&Ne.put(xe.objId),xe.has("T")&&pe.unshift((0,n.stringToPDFString)(xe.get("T")));return pe.join(".")}}a.Annotation=W;class J{constructor(){this.width=1,this.style=n.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}setWidth(oe){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0,0];if(oe instanceof v.Name){this.width=0;return}if(typeof oe=="number"){if(oe>0){const xe=(pe[2]-pe[0])/2,Ne=(pe[3]-pe[1])/2;xe>0&&Ne>0&&(oe>xe||oe>Ne)&&((0,n.warn)(`AnnotationBorderStyle.setWidth - ignoring width: ${oe}`),oe=1)}this.width=oe}}setStyle(oe){if(oe instanceof v.Name)switch(oe.name){case"S":this.style=n.AnnotationBorderStyleType.SOLID;break;case"D":this.style=n.AnnotationBorderStyleType.DASHED;break;case"B":this.style=n.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=n.AnnotationBorderStyleType.INSET;break;case"U":this.style=n.AnnotationBorderStyleType.UNDERLINE;break}}setDashArray(oe){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(oe)&&oe.length>0){let xe=!0,Ne=!0;for(const ke of oe)if(+ke>=0)ke>0&&(Ne=!1);else{xe=!1;break}xe&&!Ne?(this.dashArray=oe,pe&&this.setStyle(v.Name.get("D"))):this.width=0}else oe&&(this.width=0)}setHorizontalCornerRadius(oe){Number.isInteger(oe)&&(this.horizontalCornerRadius=oe)}setVerticalCornerRadius(oe){Number.isInteger(oe)&&(this.verticalCornerRadius=oe)}}a.AnnotationBorderStyle=J;class Y extends W{constructor(oe){super(oe);const pe=oe.dict;if(pe.has("IRT")){const xe=pe.getRaw("IRT");this.data.inReplyTo=xe instanceof v.Ref?xe.toString():null;const Ne=pe.get("RT");this.data.replyType=Ne instanceof v.Name?Ne.name:n.AnnotationReplyType.REPLY}if(this.data.replyType===n.AnnotationReplyType.GROUP){const xe=pe.get("IRT");this.setTitle(xe.get("T")),this.data.titleObj=this._title,this.setContents(xe.get("Contents")),this.data.contentsObj=this._contents,xe.has("CreationDate")?(this.setCreationDate(xe.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,xe.has("M")?(this.setModificationDate(xe.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,this.data.hasPopup=xe.has("Popup"),xe.has("C")?(this.setColor(xe.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate(pe.get("CreationDate")),this.data.creationDate=this.creationDate,this.data.hasPopup=pe.has("Popup"),pe.has("C")||(this.data.color=null);pe.has("RC")&&(this.data.richText=D.XFAFactory.getRichTextAsHtml(pe.get("RC")))}setCreationDate(oe){this.creationDate=typeof oe=="string"?oe:null}_setDefaultAppearance(oe){let{xref:pe,extra:xe,strokeColor:Ne,fillColor:ke,blendMode:De,strokeAlpha:Fe,fillAlpha:Pe,pointsCallback:qe}=oe,Le=Number.MAX_VALUE,Oe=Number.MAX_VALUE,Ee=Number.MIN_VALUE,Ae=Number.MIN_VALUE;const Ve=["q"];xe&&Ve.push(xe),Ne&&Ve.push(`${Ne[0]} ${Ne[1]} ${Ne[2]} RG`),ke&&Ve.push(`${ke[0]} ${ke[1]} ${ke[2]} rg`);let $e=this.data.quadPoints;$e||($e=[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]);for(const nt of $e){const[Ke,at,ot,Xe]=qe(Ve,nt);Le=Math.min(Le,Ke),Ee=Math.max(Ee,at),Oe=Math.min(Oe,ot),Ae=Math.max(Ae,Xe)}Ve.push("Q");const Ue=new v.Dict(pe),He=new v.Dict(pe);He.set("Subtype",v.Name.get("Form"));const Qe=new y.StringStream(Ve.join(" "));Qe.dict=He,Ue.set("Fm0",Qe);const Ze=new v.Dict(pe);De&&Ze.set("BM",v.Name.get(De)),typeof Fe=="number"&&Ze.set("CA",Fe),typeof Pe=="number"&&Ze.set("ca",Pe);const et=new v.Dict(pe);et.set("GS0",Ze);const tt=new v.Dict(pe);tt.set("ExtGState",et),tt.set("XObject",Ue);const je=new v.Dict(pe);je.set("Resources",tt);const Je=this.data.rect=[Le,Oe,Ee,Ae];je.set("BBox",Je),this.appearance=new y.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=je,this._streams.push(this.appearance,Qe)}static async createNewAnnotation(oe,pe,xe,Ne){const ke=oe.getNewRef(),De=oe.getNewRef(),Fe=this.createNewDict(pe,oe,{apRef:De}),Pe=await this.createNewAppearanceStream(pe,oe,Ne),qe=[];let Le=oe.encrypt?oe.encrypt.createCipherTransform(De.num,De.gen):null;return(0,e.writeObject)(De,Pe,qe,Le),xe.push({ref:De,data:qe.join("")}),qe.length=0,Le=oe.encrypt?oe.encrypt.createCipherTransform(ke.num,ke.gen):null,(0,e.writeObject)(ke,Fe,qe,Le),{ref:ke,data:qe.join("")}}static async createNewPrintAnnotation(oe,pe,xe){const Ne=await this.createNewAppearanceStream(pe,oe,xe),ke=this.createNewDict(pe,oe,{ap:Ne});return new this.prototype.constructor({dict:ke,xref:oe})}}a.MarkupAnnotation=Y;class V extends W{constructor(oe){super(oe);const pe=oe.dict,xe=this.data;this.ref=oe.ref,xe.annotationType=n.AnnotationType.WIDGET,xe.fieldName===void 0&&(xe.fieldName=this._constructFieldName(pe)),xe.actions===void 0&&(xe.actions=(0,c.collectActions)(oe.xref,pe,n.AnnotationActionEventType));let Ne=(0,c.getInheritableProperty)({dict:pe,key:"V",getArray:!0});xe.fieldValue=this._decodeFormValue(Ne);const ke=(0,c.getInheritableProperty)({dict:pe,key:"DV",getArray:!0});if(xe.defaultFieldValue=this._decodeFormValue(ke),Ne===void 0&&oe.xfaDatasets){const Oe=this._title.str;Oe&&(this._hasValueFromXFA=!0,xe.fieldValue=Ne=oe.xfaDatasets.getValue(Oe))}Ne===void 0&&xe.defaultFieldValue!==null&&(xe.fieldValue=xe.defaultFieldValue),xe.alternativeText=(0,n.stringToPDFString)(pe.get("TU")||"");const De=(0,c.getInheritableProperty)({dict:pe,key:"DA"})||oe.acroForm.get("DA");this._defaultAppearance=typeof De=="string"?De:"",xe.defaultAppearanceData=(0,R.parseDefaultAppearance)(this._defaultAppearance);const Fe=(0,c.getInheritableProperty)({dict:pe,key:"FT"});xe.fieldType=Fe instanceof v.Name?Fe.name:null;const Pe=(0,c.getInheritableProperty)({dict:pe,key:"DR"}),qe=oe.acroForm.get("DR"),Le=this.appearance&&this.appearance.dict.get("Resources");this._fieldResources={localResources:Pe,acroFormResources:qe,appearanceResources:Le,mergedResources:v.Dict.merge({xref:oe.xref,dictArray:[Pe,Le,qe],mergeSubDicts:!0})},xe.fieldFlags=(0,c.getInheritableProperty)({dict:pe,key:"Ff"}),(!Number.isInteger(xe.fieldFlags)||xe.fieldFlags<0)&&(xe.fieldFlags=0),xe.readOnly=this.hasFieldFlag(n.AnnotationFieldFlag.READONLY),xe.required=this.hasFieldFlag(n.AnnotationFieldFlag.REQUIRED),xe.hidden=this._hasFlag(xe.annotationFlags,n.AnnotationFlag.HIDDEN)}_decodeFormValue(oe){return Array.isArray(oe)?oe.filter(pe=>typeof pe=="string").map(pe=>(0,n.stringToPDFString)(pe)):oe instanceof v.Name?(0,n.stringToPDFString)(oe.name):typeof oe=="string"?(0,n.stringToPDFString)(oe):null}hasFieldFlag(oe){return!!(this.data.fieldFlags&oe)}static _getRotationMatrix(oe,pe,xe){switch(oe){case 90:return[0,1,-1,0,pe,0];case 180:return[-1,0,0,-1,pe,xe];case 270:return[0,-1,1,0,0,xe];default:throw new Error("Invalid rotation")}}getRotationMatrix(oe){const pe=oe?oe.get(this.data.id):void 0;let xe=pe&&pe.rotation;if(xe===void 0&&(xe=this.rotation),xe===0)return n.IDENTITY_MATRIX;const Ne=this.data.rect[2]-this.data.rect[0],ke=this.data.rect[3]-this.data.rect[1];return V._getRotationMatrix(xe,Ne,ke)}getBorderAndBackgroundAppearances(oe){const pe=oe?oe.get(this.data.id):void 0;let xe=pe&&pe.rotation;if(xe===void 0&&(xe=this.rotation),!this.backgroundColor&&!this.borderColor)return"";const Ne=this.data.rect[2]-this.data.rect[0],ke=this.data.rect[3]-this.data.rect[1],De=xe===0||xe===180?`0 0 ${Ne} ${ke} re`:`0 0 ${ke} ${Ne} re`;let Fe="";if(this.backgroundColor&&(Fe=`${(0,R.getPdfColor)(this.backgroundColor,!0)} ${De} f `),this.borderColor){const Pe=this.borderStyle.width||1;Fe+=`${Pe} w ${(0,R.getPdfColor)(this.borderColor,!1)} ${De} S `}return Fe}async getOperatorList(oe,pe,xe,Ne,ke){if(Ne&&!(this instanceof q))return{opList:new l.OperatorList,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(oe,pe,xe,Ne,ke);const De=await this._getAppearance(oe,pe,ke);if(this.appearance&&De===null)return super.getOperatorList(oe,pe,xe,Ne,ke);const Fe=new l.OperatorList;if(!this._defaultAppearance||De===null)return{opList:Fe,separateForm:!1,separateCanvas:!1};const Pe=[1,0,0,1,0,0],qe=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],Le=G(this.data.rect,qe,Pe);let Oe;this.oc&&(Oe=await oe.parseMarkedContentProps(this.oc,null)),Oe!==void 0&&Fe.addOp(n.OPS.beginMarkedContentProps,["OC",Oe]),Fe.addOp(n.OPS.beginAnnotation,[this.data.id,this.data.rect,Le,this.getRotationMatrix(ke),!1]);const Ee=new y.StringStream(De);return await oe.getOperatorList({stream:Ee,task:pe,resources:this._fieldResources.mergedResources,operatorList:Fe}),Fe.addOp(n.OPS.endAnnotation,[]),Oe!==void 0&&Fe.addOp(n.OPS.endMarkedContent,[]),{opList:Fe,separateForm:!1,separateCanvas:!1}}_getMKDict(oe){const pe=new v.Dict(null);return oe&&pe.set("R",oe),this.borderColor&&pe.set("BC",Array.from(this.borderColor).map(xe=>xe/255)),this.backgroundColor&&pe.set("BG",Array.from(this.backgroundColor).map(xe=>xe/255)),pe.size>0?pe:null}async save(oe,pe,xe){const Ne=xe?xe.get(this.data.id):void 0;let ke=Ne&&Ne.value,De=Ne&&Ne.rotation;if(ke===this.data.fieldValue||ke===void 0){if(!this._hasValueFromXFA&&De===void 0)return null;ke=ke||this.data.fieldValue}if(De===void 0&&!this._hasValueFromXFA&&Array.isArray(ke)&&Array.isArray(this.data.fieldValue)&&ke.length===this.data.fieldValue.length&&ke.every((Je,nt)=>Je===this.data.fieldValue[nt]))return null;De===void 0&&(De=this.rotation);let Fe=await this._getAppearance(oe,pe,xe);if(Fe===null)return null;const{xref:Pe}=oe,qe=Pe.fetchIfRef(this.ref);if(!(qe instanceof v.Dict))return null;const Le=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],Oe={path:(0,n.stringToPDFString)(qe.get("T")||""),value:ke},Ee=Pe.getNewRef(),Ae=new v.Dict(Pe);Ae.set("N",Ee);const Ve=Pe.encrypt;let $e=null,Ue=null;Ve&&($e=Ve.createCipherTransform(this.ref.num,this.ref.gen),Ue=Ve.createCipherTransform(Ee.num,Ee.gen),Fe=Ue.encryptString(Fe));const He=Je=>(0,n.isAscii)(Je)?Je:(0,n.stringToUTF16BEString)(Je);qe.set("V",Array.isArray(ke)?ke.map(He):He(ke)),qe.set("AP",Ae),qe.set("M",`D:${(0,n.getModificationDate)()}`);const Qe=this._getMKDict(De);Qe&&qe.set("MK",Qe);const Ze=new v.Dict(Pe);Ze.set("Length",Fe.length),Ze.set("Subtype",v.Name.get("Form")),Ze.set("Resources",this._getSaveFieldResources(Pe)),Ze.set("BBox",Le);const et=this.getRotationMatrix(xe);et!==n.IDENTITY_MATRIX&&Ze.set("Matrix",et);const tt=[`${this.ref.num} ${this.ref.gen} obj +`];(0,e.writeDict)(qe,tt,$e),tt.push(` +endobj +`);const je=[`${Ee.num} ${Ee.gen} obj +`];return(0,e.writeDict)(Ze,je,Ue),je.push(` stream +`,Fe,` +endstream +endobj +`),[{ref:this.ref,data:tt.join(""),xfa:Oe},{ref:Ee,data:je.join(""),xfa:null}]}async _getAppearance(oe,pe,xe){if(this.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD))return null;const ke=xe?xe.get(this.data.id):void 0;let De,Fe;if(ke&&(De=ke.formattedValue||ke.value,Fe=ke.rotation),Fe===void 0&&De===void 0&&(!this._hasValueFromXFA||this.appearance))return null;if(De===void 0&&(De=this.data.fieldValue,!De)||(Array.isArray(De)&&De.length===1&&(De=De[0]),(0,n.assert)(typeof De=="string","Expected `value` to be a string."),De=De.trim(),De===""))return"";Fe===void 0&&(Fe=this.rotation);let Pe=-1;this.data.multiLine&&(Pe=De.split(/\r\n|\r|\n/).length);const qe=2,Le=qe;let Oe=this.data.rect[3]-this.data.rect[1],Ee=this.data.rect[2]-this.data.rect[0];(Fe===90||Fe===270)&&([Ee,Oe]=[Oe,Ee]),this._defaultAppearance||(this.data.defaultAppearanceData=(0,R.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g"));const Ae=await V._getFontData(oe,pe,this.data.defaultAppearanceData,this._fieldResources.mergedResources),[Ve,$e]=this._computeFontSize(Oe-qe,Ee-2*Le,De,Ae,Pe);let Ue=Ae.descent;isNaN(Ue)&&(Ue=0);const Qe=Math.min(Math.floor((Oe-$e)/2),qe)+Math.abs(Ue)*$e,Ze=this.data.textAlignment;if(this.data.multiLine)return this._getMultilineAppearance(Ve,De,Ae,$e,Ee,Oe,Ze,Le,Qe,xe);const et=Ae.encodeString(De).join("");if(this.data.comb)return this._getCombAppearance(Ve,Ae,et,Ee,Le,Qe,xe);const tt=this.getBorderAndBackgroundAppearances(xe);if(Ze===0||Ze>2)return`/Tx BMC q ${tt}BT `+Ve+` 1 0 0 1 ${Le} ${Qe} Tm (${(0,n.escapeString)(et)}) Tj ET Q EMC`;const je=this._renderText(et,Ae,$e,Ee,Ze,Le,Qe);return`/Tx BMC q ${tt}BT `+Ve+` 1 0 0 1 0 0 Tm ${je} ET Q EMC`}static async _getFontData(oe,pe,xe,Ne){const ke=new l.OperatorList,De={font:null,clone(){return this}},{fontName:Fe,fontSize:Pe}=xe;return await oe.handleSetFont(Ne,[Fe&&v.Name.get(Fe),Pe],null,ke,pe,De,null),De.font}_getTextWidth(oe,pe){return pe.charsToGlyphs(oe).reduce((xe,Ne)=>xe+Ne.width,0)/1e3}_computeFontSize(oe,pe,xe,Ne,ke){let{fontSize:De}=this.data.defaultAppearanceData;if(!De){const Fe=Le=>Math.floor(Le*100)/100;if(ke===-1){const Le=this._getTextWidth(xe,Ne);De=Fe(Math.min(oe/n.LINE_FACTOR,pe/Le))}else{const Le=xe.split(/\r\n?|\n/),Oe=[];for(const $e of Le){const Ue=Ne.encodeString($e).join(""),He=Ne.charsToGlyphs(Ue),Qe=Ne.getCharPositions(Ue);Oe.push({line:Ue,glyphs:He,positions:Qe})}const Ee=$e=>{let Ue=0;for(const He of Oe){const Qe=this._splitLine(null,Ne,$e,pe,He);if(Ue+=Qe.length*$e,Ue>oe)return!0}return!1};De=12;let Ae=De*n.LINE_FACTOR,Ve=Math.round(oe/Ae);for(Ve=Math.max(Ve,ke);;){if(Ae=oe/Ve,De=Fe(Ae/n.LINE_FACTOR),Ee(De)){Ve++;continue}break}}const{fontName:Pe,fontColor:qe}=this.data.defaultAppearanceData;this._defaultAppearance=(0,R.createDefaultAppearance)({fontSize:De,fontName:Pe,fontColor:qe})}return[this._defaultAppearance,De]}_renderText(oe,pe,xe,Ne,ke,De,Fe){let Pe;if(ke===1){const qe=this._getTextWidth(oe,pe)*xe;Pe=(Ne-qe)/2}else if(ke===2){const qe=this._getTextWidth(oe,pe)*xe;Pe=Ne-qe-De}else Pe=De;return Pe=(0,c.numberToString)(Pe),Fe=(0,c.numberToString)(Fe),`${Pe} ${Fe} Td (${(0,n.escapeString)(oe)}) Tj`}_getSaveFieldResources(oe){const{localResources:pe,appearanceResources:xe,acroFormResources:Ne}=this._fieldResources,ke=this.data.defaultAppearanceData&&this.data.defaultAppearanceData.fontName;if(!ke)return pe||v.Dict.empty;for(const De of[pe,xe])if(De instanceof v.Dict){const Fe=De.get("Font");if(Fe instanceof v.Dict&&Fe.has(ke))return De}if(Ne instanceof v.Dict){const De=Ne.get("Font");if(De instanceof v.Dict&&De.has(ke)){const Fe=new v.Dict(oe);Fe.set(ke,De.getRaw(ke));const Pe=new v.Dict(oe);return Pe.set("Font",Fe),v.Dict.merge({xref:oe,dictArray:[Pe,pe],mergeSubDicts:!0})}}return pe||v.Dict.empty}getFieldObject(){return null}}class H extends V{constructor(oe){super(oe),this._hasText=!0;const pe=oe.dict;typeof this.data.fieldValue!="string"&&(this.data.fieldValue="");let xe=(0,c.getInheritableProperty)({dict:pe,key:"Q"});(!Number.isInteger(xe)||xe<0||xe>2)&&(xe=null),this.data.textAlignment=xe;let Ne=(0,c.getInheritableProperty)({dict:pe,key:"MaxLen"});(!Number.isInteger(Ne)||Ne<0)&&(Ne=0),this.data.maxLen=Ne,this.data.multiLine=this.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE),this.data.comb=this.hasFieldFlag(n.AnnotationFieldFlag.COMB)&&!this.hasFieldFlag(n.AnnotationFieldFlag.MULTILINE)&&!this.hasFieldFlag(n.AnnotationFieldFlag.PASSWORD)&&!this.hasFieldFlag(n.AnnotationFieldFlag.FILESELECT)&&this.data.maxLen!==0,this.data.doNotScroll=this.hasFieldFlag(n.AnnotationFieldFlag.DONOTSCROLL)}_getCombAppearance(oe,pe,xe,Ne,ke,De,Fe){const Pe=(0,c.numberToString)(Ne/this.data.maxLen),qe=[],Le=pe.getCharPositions(xe);for(const[Ae,Ve]of Le)qe.push(`(${(0,n.escapeString)(xe.substring(Ae,Ve))}) Tj`);const Oe=this.getBorderAndBackgroundAppearances(Fe),Ee=qe.join(` ${Pe} 0 Td `);return`/Tx BMC q ${Oe}BT `+oe+` 1 0 0 1 ${ke} ${De} Tm ${Ee} ET Q EMC`}_getMultilineAppearance(oe,pe,xe,Ne,ke,De,Fe,Pe,qe,Le){const Oe=pe.split(/\r\n?|\n/),Ee=[],Ae=ke-2*Pe;for(const Ue of Oe){const He=this._splitLine(Ue,xe,Ne,Ae);for(const Qe of He){const Ze=Ee.length===0?Pe:0;Ee.push(this._renderText(Qe,xe,Ne,ke,Fe,Ze,-Ne))}}const Ve=Ee.join(` +`);return`/Tx BMC q ${this.getBorderAndBackgroundAppearances(Le)}BT `+oe+` 1 0 0 1 0 ${De} Tm ${Ve} ET Q EMC`}_splitLine(oe,pe,xe,Ne){let ke=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};oe=ke.line||pe.encodeString(oe).join("");const De=ke.glyphs||pe.charsToGlyphs(oe);if(De.length<=1)return[oe];const Fe=ke.positions||pe.getCharPositions(oe),Pe=xe/1e3,qe=[];let Le=-1,Oe=-1,Ee=-1,Ae=0,Ve=0;for(let $e=0,Ue=De.length;$eNe?(qe.push(oe.substring(Ae,He)),Ae=He,Ve=et,Le=-1,Ee=-1):(Ve+=et,Le=He,Oe=Qe,Ee=$e):Ve+et>Ne?Le!==-1?(qe.push(oe.substring(Ae,Oe)),Ae=Oe,$e=Ee+1,Le=-1,Ve=0):(qe.push(oe.substring(Ae,He)),Ae=He,Ve=et):Ve+=et}return AePe!=="Off");De.length=0,De.push("Off",Fe)}De.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=De[1],this.checkedAppearance=xe.get(this.data.exportValue)||null,this.uncheckedAppearance=xe.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(oe,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}_processRadioButton(oe){this.data.fieldValue=this.data.buttonValue=null;const pe=oe.dict.get("Parent");if(pe instanceof v.Dict){this.parent=oe.dict.getRaw("Parent");const ke=pe.get("V");ke instanceof v.Name&&(this.data.fieldValue=this._decodeFormValue(ke))}const xe=oe.dict.get("AP");if(!(xe instanceof v.Dict))return;const Ne=xe.get("N");if(Ne instanceof v.Dict){for(const ke of Ne.getKeys())if(ke!=="Off"){this.data.buttonValue=this._decodeFormValue(ke);break}this.checkedAppearance=Ne.get(this.data.buttonValue)||null,this.uncheckedAppearance=Ne.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(oe,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}_processPushButton(oe){if(!oe.dict.has("A")&&!oe.dict.has("AA")&&!this.data.alternativeText){(0,n.warn)("Push buttons without action dictionaries are not supported");return}this.data.isTooltipOnly=!oe.dict.has("A")&&!oe.dict.has("AA"),B.Catalog.parseDestDictionary({destDict:oe.dict,resultObj:this.data,docBaseUrl:oe.pdfManager.docBaseUrl})}getFieldObject(){let oe="button",pe;return this.data.checkBox?(oe="checkbox",pe=this.data.exportValue):this.data.radioButton&&(oe="radiobutton",pe=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:pe,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:oe}}get fallbackFontDict(){const oe=new v.Dict;return oe.set("BaseFont",v.Name.get("ZapfDingbats")),oe.set("Type",v.Name.get("FallbackType")),oe.set("Subtype",v.Name.get("FallbackType")),oe.set("Encoding",v.Name.get("ZapfDingbatsEncoding")),(0,n.shadow)(this,"fallbackFontDict",oe)}}class X extends V{constructor(oe){super(oe),this.data.options=[];const pe=(0,c.getInheritableProperty)({dict:oe.dict,key:"Opt"});if(Array.isArray(pe)){const xe=oe.xref;for(let Ne=0,ke=pe.length;Ne0?this.data.fieldValue[0]:null;return{id:this.data.id,value:pe,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:oe}}async _getAppearance(oe,pe,xe){if(this.data.combo)return super._getAppearance(oe,pe,xe);if(!xe)return null;const Ne=xe.get(this.data.id);if(!Ne)return null;const ke=Ne.rotation;let De=Ne.value;if(ke===void 0&&De===void 0)return null;De===void 0?De=this.data.fieldValue:Array.isArray(De)||(De=[De]);const Fe=2,Pe=Fe;let qe=this.data.rect[3]-this.data.rect[1],Le=this.data.rect[2]-this.data.rect[0];(ke===90||ke===270)&&([Le,qe]=[qe,Le]);const Oe=this.data.options.length,Ee=[];for(let je=0;jeJe&&(Je=at,nt=Ke)}[Ve,$e]=this._computeFontSize(je,Le-2*Pe,nt,Ae,-1)}const Ue=$e*n.LINE_FACTOR,He=(Ue-$e)/2,Qe=Math.floor(qe/Ue);let Ze;if(Ee.length===1){const je=Ee[0],Je=je%Qe;Ze=je-Je}else Ze=Ee.length?Ee[0]:0;const et=Math.min(Ze+Qe+1,Oe),tt=["/Tx BMC q",`1 1 ${Le} ${qe} re W n`];if(Ee.length){tt.push("0.600006 0.756866 0.854904 rg");for(const je of Ee)Ze<=je&&jeZe&&(Ke=Ze/Je);let at=1;const ot=n.LINE_FACTOR*Pe,Xe=n.LINE_DESCENT_FACTOR*Pe,ze=ot*tt.length;ze>et&&(at=et/ze);const Ye=Math.min(Ke,at),st=Pe*Ye,_t=["q",`0 0 ${(0,c.numberToString)(Ze)} ${(0,c.numberToString)(et)} re W n`,"BT",`1 0 0 1 0 ${(0,c.numberToString)(et+Xe)} Tm 0 Tc ${(0,R.getPdfColor)(Fe,!0)}`,`/Helv ${(0,c.numberToString)(st)} Tf`],ft=(0,c.numberToString)(ot);for(const mt of nt)_t.push(`0 -${ft} Td (${(0,n.escapeString)(mt)}) Tj`);_t.push("ET","Q");const Ct=_t.join(` +`),ut=new v.Dict(pe);if(ut.set("FormType",1),ut.set("Subtype",v.Name.get("Form")),ut.set("Type",v.Name.get("XObject")),ut.set("BBox",[0,0,Ze,et]),ut.set("Length",Ct.length),ut.set("Resources",Ee),Le){const mt=V._getRotationMatrix(Le,Ze,et);ut.set("Matrix",mt)}const rt=new y.StringStream(Ct);return rt.dict=ut,rt}}class Te extends Y{constructor(oe){super(oe);const{dict:pe}=oe;this.data.annotationType=n.AnnotationType.LINE;const xe=pe.getArray("L");if(this.data.lineCoordinates=n.Util.normalizeRect(xe),this.setLineEndings(pe.getArray("LE")),this.data.lineEndings=this.lineEndings,!this.appearance){const Ne=this.color?Array.from(this.color).map(Ee=>Ee/255):[0,0,0],ke=pe.get("CA");let De=null,Fe=pe.getArray("IC");Fe&&(Fe=F(Fe,null),De=Fe?Array.from(Fe).map(Ee=>Ee/255):null);const Pe=De?ke:null,qe=this.borderStyle.width||1,Le=2*qe,Oe=[this.data.lineCoordinates[0]-Le,this.data.lineCoordinates[1]-Le,this.data.lineCoordinates[2]+Le,this.data.lineCoordinates[3]+Le];n.Util.intersect(this.rectangle,Oe)||(this.rectangle=Oe),this._setDefaultAppearance({xref:oe.xref,extra:`${qe} w`,strokeColor:Ne,fillColor:De,strokeAlpha:ke,fillAlpha:Pe,pointsCallback:(Ee,Ae)=>(Ee.push(`${xe[0]} ${xe[1]} m`,`${xe[2]} ${xe[3]} l`,"S"),[Ae[0].x-qe,Ae[1].x+qe,Ae[3].y-qe,Ae[1].y+qe])})}}}class me extends Y{constructor(oe){if(super(oe),this.data.annotationType=n.AnnotationType.SQUARE,!this.appearance){const pe=this.color?Array.from(this.color).map(Fe=>Fe/255):[0,0,0],xe=oe.dict.get("CA");let Ne=null,ke=oe.dict.getArray("IC");ke&&(ke=F(ke,null),Ne=ke?Array.from(ke).map(Fe=>Fe/255):null);const De=Ne?xe:null;if(this.borderStyle.width===0&&!Ne)return;this._setDefaultAppearance({xref:oe.xref,extra:`${this.borderStyle.width} w`,strokeColor:pe,fillColor:Ne,strokeAlpha:xe,fillAlpha:De,pointsCallback:(Fe,Pe)=>{const qe=Pe[2].x+this.borderStyle.width/2,Le=Pe[2].y+this.borderStyle.width/2,Oe=Pe[3].x-Pe[2].x-this.borderStyle.width,Ee=Pe[1].y-Pe[3].y-this.borderStyle.width;return Fe.push(`${qe} ${Le} ${Oe} ${Ee} re`),Ne?Fe.push("B"):Fe.push("S"),[Pe[0].x,Pe[1].x,Pe[3].y,Pe[1].y]}})}}}class K extends Y{constructor(oe){if(super(oe),this.data.annotationType=n.AnnotationType.CIRCLE,!this.appearance){const pe=this.color?Array.from(this.color).map(Pe=>Pe/255):[0,0,0],xe=oe.dict.get("CA");let Ne=null,ke=oe.dict.getArray("IC");ke&&(ke=F(ke,null),Ne=ke?Array.from(ke).map(Pe=>Pe/255):null);const De=Ne?xe:null;if(this.borderStyle.width===0&&!Ne)return;const Fe=4/3*Math.tan(Math.PI/(2*4));this._setDefaultAppearance({xref:oe.xref,extra:`${this.borderStyle.width} w`,strokeColor:pe,fillColor:Ne,strokeAlpha:xe,fillAlpha:De,pointsCallback:(Pe,qe)=>{const Le=qe[0].x+this.borderStyle.width/2,Oe=qe[0].y-this.borderStyle.width/2,Ee=qe[3].x-this.borderStyle.width/2,Ae=qe[3].y+this.borderStyle.width/2,Ve=Le+(Ee-Le)/2,$e=Oe+(Ae-Oe)/2,Ue=(Ee-Le)/2*Fe,He=(Ae-Oe)/2*Fe;return Pe.push(`${Ve} ${Ae} m`,`${Ve+Ue} ${Ae} ${Ee} ${$e+He} ${Ee} ${$e} c`,`${Ee} ${$e-He} ${Ve+Ue} ${Oe} ${Ve} ${Oe} c`,`${Ve-Ue} ${Oe} ${Le} ${$e-He} ${Le} ${$e} c`,`${Le} ${$e+He} ${Ve-Ue} ${Ae} ${Ve} ${Ae} c`,"h"),Ne?Pe.push("B"):Pe.push("S"),[qe[0].x,qe[1].x,qe[3].y,qe[1].y]}})}}}class ce extends Y{constructor(oe){super(oe);const{dict:pe}=oe;this.data.annotationType=n.AnnotationType.POLYLINE,this.data.vertices=[],this instanceof de||(this.setLineEndings(pe.getArray("LE")),this.data.lineEndings=this.lineEndings);const xe=pe.getArray("Vertices");if(Array.isArray(xe)){for(let Ne=0,ke=xe.length;Neqe/255):[0,0,0],ke=pe.get("CA"),De=this.borderStyle.width||1,Fe=2*De,Pe=[1/0,1/0,-1/0,-1/0];for(const qe of this.data.vertices)Pe[0]=Math.min(Pe[0],qe.x-Fe),Pe[1]=Math.min(Pe[1],qe.y-Fe),Pe[2]=Math.max(Pe[2],qe.x+Fe),Pe[3]=Math.max(Pe[3],qe.y+Fe);n.Util.intersect(this.rectangle,Pe)||(this.rectangle=Pe),this._setDefaultAppearance({xref:oe.xref,extra:`${De} w`,strokeColor:Ne,strokeAlpha:ke,pointsCallback:(qe,Le)=>{const Oe=this.data.vertices;for(let Ee=0,Ae=Oe.length;Eeqe/255):[0,0,0],ke=oe.dict.get("CA"),De=this.borderStyle.width||1,Fe=2*De,Pe=[1/0,1/0,-1/0,-1/0];for(const qe of this.data.inkLists)for(const Le of qe)Pe[0]=Math.min(Pe[0],Le.x-Fe),Pe[1]=Math.min(Pe[1],Le.y-Fe),Pe[2]=Math.max(Pe[2],Le.x+Fe),Pe[3]=Math.max(Pe[3],Le.y+Fe);n.Util.intersect(this.rectangle,Pe)||(this.rectangle=Pe),this._setDefaultAppearance({xref:oe.xref,extra:`${De} w`,strokeColor:Ne,strokeAlpha:ke,pointsCallback:(qe,Le)=>{for(const Oe of this.data.inkLists){for(let Ee=0,Ae=Oe.length;EeOe.points)),qe.set("F",4),qe.set("Border",[0,0,0]),qe.set("Rotate",Pe);const Le=new v.Dict(pe);return qe.set("AP",Le),Ne?Le.set("N",Ne):Le.set("N",ke),qe}static async createNewAppearanceStream(oe,pe,xe){const{color:Ne,rect:ke,rotation:De,paths:Fe,thickness:Pe,opacity:qe}=oe,[Le,Oe,Ee,Ae]=ke;let Ve=Ee-Le,$e=Ae-Oe;De%180!==0&&([Ve,$e]=[$e,Ve]);const Ue=[`${Pe} w 1 J 1 j`,`${(0,R.getPdfColor)(Ne,!1)}`];qe!==1&&Ue.push("/R0 gs");const He=[];for(const{bezier:tt}of Fe){He.length=0,He.push(`${(0,c.numberToString)(tt[0])} ${(0,c.numberToString)(tt[1])} m`);for(let je=2,Je=tt.length;jeDe/255):[1,1,0],ke=oe.dict.get("CA");this._setDefaultAppearance({xref:oe.xref,fillColor:Ne,blendMode:"Multiply",fillAlpha:ke,pointsCallback:(De,Fe)=>(De.push(`${Fe[0].x} ${Fe[0].y} m`,`${Fe[1].x} ${Fe[1].y} l`,`${Fe[3].x} ${Fe[3].y} l`,`${Fe[2].x} ${Fe[2].y} l`,"f"),[Fe[0].x,Fe[1].x,Fe[3].y,Fe[1].y])})}}else this.data.hasPopup=!1}}class we extends Y{constructor(oe){if(super(oe),this.data.annotationType=n.AnnotationType.UNDERLINE,this.data.quadPoints=N(oe.dict,null)){if(!this.appearance){const xe=this.color?Array.from(this.color).map(ke=>ke/255):[0,0,0],Ne=oe.dict.get("CA");this._setDefaultAppearance({xref:oe.xref,extra:"[] 0 d 1 w",strokeColor:xe,strokeAlpha:Ne,pointsCallback:(ke,De)=>(ke.push(`${De[2].x} ${De[2].y} m`,`${De[3].x} ${De[3].y} l`,"S"),[De[0].x,De[1].x,De[3].y,De[1].y])})}}else this.data.hasPopup=!1}}class _e extends Y{constructor(oe){if(super(oe),this.data.annotationType=n.AnnotationType.SQUIGGLY,this.data.quadPoints=N(oe.dict,null)){if(!this.appearance){const xe=this.color?Array.from(this.color).map(ke=>ke/255):[0,0,0],Ne=oe.dict.get("CA");this._setDefaultAppearance({xref:oe.xref,extra:"[] 0 d 1 w",strokeColor:xe,strokeAlpha:Ne,pointsCallback:(ke,De)=>{const Fe=(De[0].y-De[2].y)/6;let Pe=Fe,qe=De[2].x;const Le=De[2].y,Oe=De[3].x;ke.push(`${qe} ${Le+Pe} m`);do qe+=2,Pe=Pe===0?Fe:0,ke.push(`${qe} ${Le+Pe} l`);while(qeke/255):[0,0,0],Ne=oe.dict.get("CA");this._setDefaultAppearance({xref:oe.xref,extra:"[] 0 d 1 w",strokeColor:xe,strokeAlpha:Ne,pointsCallback:(ke,De)=>(ke.push(`${(De[0].x+De[2].x)/2} ${(De[0].y+De[2].y)/2} m`,`${(De[1].x+De[3].x)/2} ${(De[1].y+De[3].y)/2} l`,"S"),[De[0].x,De[1].x,De[3].y,De[1].y])})}}else this.data.hasPopup=!1}}class se extends Y{constructor(oe){super(oe),this.data.annotationType=n.AnnotationType.STAMP}}class Ie extends Y{constructor(oe){super(oe);const pe=new S.FileSpec(oe.dict.get("FS"),oe.xref);this.data.annotationType=n.AnnotationType.FILEATTACHMENT,this.data.file=pe.serializable}}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.createDefaultAppearance=S,a.getPdfColor=P,a.parseDefaultAppearance=B;var n=g(131),c=g(2),R=g(139),v=g(140),e=g(130),L=g(135);class O extends v.EvaluatorPreprocessor{constructor(l){super(new L.StringStream(l))}parse(){const l={fn:0,args:[]},y={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;l.args.length=0,!!this.read(l);){if(this.savedStatesDepth!==0)continue;const{fn:D,args:M}=l;switch(D|0){case c.OPS.setFont:const[F,N]=M;F instanceof e.Name&&(y.fontName=F.name),typeof N=="number"&&N>0&&(y.fontSize=N);break;case c.OPS.setFillRGBColor:R.ColorSpace.singletons.rgb.getRgbItem(M,0,y.fontColor,0);break;case c.OPS.setFillGray:R.ColorSpace.singletons.gray.getRgbItem(M,0,y.fontColor,0);break;case c.OPS.setFillColorSpace:R.ColorSpace.singletons.cmyk.getRgbItem(M,0,y.fontColor,0);break}}}catch(D){(0,c.warn)(`parseDefaultAppearance - ignoring errors: "${D}".`)}return y}}function B(_){return new O(_).parse()}function P(_,l){if(_[0]===_[1]&&_[1]===_[2]){const y=_[0]/255;return`${(0,n.numberToString)(y)} ${l?"g":"G"}`}return Array.from(_).map(y=>(0,n.numberToString)(y/255)).join(" ")+` ${l?"rg":"RG"}`}function S(_){let{fontSize:l,fontName:y,fontColor:D}=_;return`/${(0,n.escapePDFName)(y)} ${l} Tf ${P(D,!0)}`}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ColorSpace=void 0;var n=g(2),c=g(130),R=g(132),v=g(131);function e(F,N,G,W,J,Y,V){V=V!==1?0:V;const z=G/J,X=W/Y;let q=0,$;const fe=new Uint16Array(J),Q=G*3;for(let ie=0;iefe&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){const ie=H<=8?new Uint8Array(fe):new Uint16Array(fe);for(let me=0;me2&&arguments[2]!==void 0?arguments[2]:null,J=arguments.length>3?arguments[3]:void 0;if(N=G.fetchIfRef(N),N instanceof c.Name)switch(N.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new B(null);default:if(W instanceof c.Dict){const Y=W.get("ColorSpace");if(Y instanceof c.Dict){const V=Y.get(N.name);if(V){if(V instanceof c.Name)return this._parse(V,G,W,J);N=V;break}}}throw new n.FormatError(`Unrecognized ColorSpace: ${N.name}`)}if(Array.isArray(N)){const Y=G.fetchIfRef(N[0]).name;let V,H,z,X,q,$;switch(Y){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return V=G.fetchIfRef(N[1]),X=V.getArray("WhitePoint"),q=V.getArray("BlackPoint"),$=V.get("Gamma"),new y(X,q,$);case"CalRGB":V=G.fetchIfRef(N[1]),X=V.getArray("WhitePoint"),q=V.getArray("BlackPoint"),$=V.getArray("Gamma");const fe=V.getArray("Matrix");return new D(X,q,$,fe);case"ICCBased":const ie=G.fetchIfRef(N[1]).dict;H=ie.get("N");const Te=ie.get("Alternate");if(Te){const ae=this._parse(Te,G,W,J);if(ae.numComps===H)return ae;(0,n.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(H===1)return this.singletons.gray;if(H===3)return this.singletons.rgb;if(H===4)return this.singletons.cmyk;break;case"Pattern":return z=N[1]||null,z&&(z=this._parse(z,G,W,J)),new B(z);case"I":case"Indexed":z=this._parse(N[1],G,W,J);const me=G.fetchIfRef(N[2])+1,K=G.fetchIfRef(N[3]);return new P(z,me,K);case"Separation":case"DeviceN":const ce=G.fetchIfRef(N[1]);H=Array.isArray(ce)?ce.length:1,z=this._parse(N[2],G,W,J);const de=J.create(N[3]);return new O(H,z,de);case"Lab":V=G.fetchIfRef(N[1]),X=V.getArray("WhitePoint"),q=V.getArray("BlackPoint");const Z=V.getArray("Range");return new M(X,q,Z);default:throw new n.FormatError(`Unimplemented ColorSpace object: ${Y}`)}}throw new n.FormatError(`Unrecognized ColorSpace object: ${N}`)}static isDefaultDecode(N,G){if(!Array.isArray(N))return!0;if(G*2!==N.length)return(0,n.warn)("The decode map is not the correct length"),!0;for(let W=0,J=N.length;W=.99554525?1:Q(0,1,(1+.055)*Z**(1/2.4)-.055)}function Q(Z,ae,he){return Math.max(Z,Math.min(ae,he))}function ie(Z){return Z<0?-ie(-Z):Z>8?((Z+16)/116)**3:Z*z}function Te(Z,ae,he){if(Z[0]===0&&Z[1]===0&&Z[2]===0){he[0]=ae[0],he[1]=ae[1],he[2]=ae[2];return}const we=ie(0),_e=we,ye=ie(Z[0]),se=we,Ie=ie(Z[1]),Ce=we,oe=ie(Z[2]),pe=(1-_e)/(1-ye),xe=1-pe,Ne=(1-se)/(1-Ie),ke=1-Ne,De=(1-Ce)/(1-oe),Fe=1-De;he[0]=ae[0]*pe+xe,he[1]=ae[1]*Ne+ke,he[2]=ae[2]*De+Fe}function me(Z,ae,he){if(Z[0]===1&&Z[2]===1){he[0]=ae[0],he[1]=ae[1],he[2]=ae[2];return}const we=he;X(N,ae,we);const _e=Y;q(Z,we,_e),X(G,_e,he)}function K(Z,ae,he){const we=he;X(N,ae,we);const _e=Y;$(Z,we,_e),X(G,_e,he)}function ce(Z,ae,he,we,_e,ye){const se=Q(0,1,ae[he]*ye),Ie=Q(0,1,ae[he+1]*ye),Ce=Q(0,1,ae[he+2]*ye),oe=se===1?1:se**Z.GR,pe=Ie===1?1:Ie**Z.GG,xe=Ce===1?1:Ce**Z.GB,Ne=Z.MXA*oe+Z.MXB*pe+Z.MXC*xe,ke=Z.MYA*oe+Z.MYB*pe+Z.MYC*xe,De=Z.MZA*oe+Z.MZB*pe+Z.MZC*xe,Fe=V;Fe[0]=Ne,Fe[1]=ke,Fe[2]=De;const Pe=H;me(Z.whitePoint,Fe,Pe);const qe=V;Te(Z.blackPoint,Pe,qe);const Le=H;K(J,qe,Le);const Oe=V;X(W,Le,Oe),we[_e]=fe(Oe[0])*255,we[_e+1]=fe(Oe[1])*255,we[_e+2]=fe(Oe[2])*255}class de extends L{constructor(ae,he,we,_e){if(super("CalRGB",3),!ae)throw new n.FormatError("WhitePoint missing - required for color space CalRGB");he=he||new Float32Array(3),we=we||new Float32Array([1,1,1]),_e=_e||new Float32Array([1,0,0,0,1,0,0,0,1]);const ye=ae[0],se=ae[1],Ie=ae[2];this.whitePoint=ae;const Ce=he[0],oe=he[1],pe=he[2];if(this.blackPoint=he,this.GR=we[0],this.GG=we[1],this.GB=we[2],this.MXA=_e[0],this.MYA=_e[1],this.MZA=_e[2],this.MXB=_e[3],this.MYB=_e[4],this.MZB=_e[5],this.MXC=_e[6],this.MYC=_e[7],this.MZC=_e[8],ye<0||Ie<0||se!==1)throw new n.FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);(Ce<0||oe<0||pe<0)&&((0,n.info)(`Invalid BlackPoint for ${this.name} [${Ce}, ${oe}, ${pe}], falling back to default.`),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&((0,n.info)(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`),this.GR=this.GG=this.GB=1)}getRgbItem(ae,he,we,_e){ce(this,ae,he,we,_e,1)}getRgbBuffer(ae,he,we,_e,ye,se,Ie){const Ce=1/((1<=6/29?V=Y**3:V=108/841*(Y-4/29),V}function G(Y,V,H,z){return H+Y*(z-H)/V}function W(Y,V,H,z,X,q){let $=V[H],fe=V[H+1],Q=V[H+2];z!==!1&&($=G($,z,0,100),fe=G(fe,z,Y.amin,Y.amax),Q=G(Q,z,Y.bmin,Y.bmax)),fe>Y.amax?fe=Y.amax:feY.bmax?Q=Y.bmax:Qthis.amax||this.bmin>this.bmax)&&((0,n.info)("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}getRgbItem(V,H,z,X){W(this,V,H,!1,z,X)}getRgbBuffer(V,H,z,X,q,$,fe){const Q=(1<<$)-1;for(let ie=0;ie{Object.defineProperty(a,"__esModule",{value:!0}),a.PartialEvaluator=a.EvaluatorPreprocessor=void 0;var n=g(2),c=g(141),R=g(130),v=g(159),e=g(163),L=g(162),O=g(166),B=g(165),P=g(175),S=g(176),_=g(167),l=g(182),y=g(142),D=g(184),M=g(135),F=g(132),N=g(185),G=g(139),W=g(144),J=g(164),Y=g(131),V=g(170),H=g(186),z=g(187),X=g(188);const q=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),$={TILING:1,SHADING:2},fe=10,Q=Promise.resolve();function ie(we){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(we)){for(let ye=0,se=we.length;ye0&&we.args[0].count++}class me{static get TIME_SLOT_DURATION_MS(){return(0,n.shadow)(this,"TIME_SLOT_DURATION_MS",20)}static get CHECK_TIME_EVERY(){return(0,n.shadow)(this,"CHECK_TIME_EVERY",100)}constructor(){this.reset()}check(){return++this.checked0&&arguments[0]!==void 0?arguments[0]:null;const ye=Object.create(this);return ye.options=Object.assign(Object.create(null),this.options,_e),ye}hasBlendModes(_e,ye){if(!(_e instanceof R.Dict)||_e.objId&&ye.has(_e.objId))return!1;const se=new R.RefSet(ye);_e.objId&&se.put(_e.objId);const Ie=[_e],Ce=this.xref;for(;Ie.length;){const oe=Ie.shift(),pe=oe.get("ExtGState");if(pe instanceof R.Dict)for(let Ne of pe.getRawValues()){if(Ne instanceof R.Ref){if(se.has(Ne))continue;try{Ne=Ce.fetch(Ne)}catch(De){se.put(Ne),(0,n.info)(`hasBlendModes - ignoring ExtGState: "${De}".`);continue}}if(!(Ne instanceof R.Dict))continue;Ne.objId&&se.put(Ne.objId);const ke=Ne.get("BM");if(ke instanceof R.Name){if(ke.name!=="Normal")return!0;continue}if(ke!==void 0&&Array.isArray(ke)){for(const De of ke)if(De instanceof R.Name&&De.name!=="Normal")return!0}}const xe=oe.get("XObject");if(xe instanceof R.Dict)for(let Ne of xe.getRawValues()){if(Ne instanceof R.Ref){if(se.has(Ne))continue;try{Ne=Ce.fetch(Ne)}catch(De){se.put(Ne),(0,n.info)(`hasBlendModes - ignoring XObject: "${De}".`);continue}}if(!(Ne instanceof F.BaseStream))continue;Ne.dict.objId&&se.put(Ne.dict.objId);const ke=Ne.dict.get("Resources");ke instanceof R.Dict&&(ke.objId&&se.has(ke.objId)||(Ie.push(ke),ke.objId&&se.put(ke.objId)))}}for(const oe of se)ye.put(oe);return!1}async fetchBuiltInCMap(_e){const ye=this.builtInCMapCache.get(_e);if(ye)return ye;let se;if(this.options.cMapUrl!==null){const Ie=`${this.options.cMapUrl}${_e}.bcmap`,Ce=await fetch(Ie);if(!Ce.ok)throw new Error(`fetchBuiltInCMap: failed to fetch file "${Ie}" with "${Ce.statusText}".`);se={cMapData:new Uint8Array(await Ce.arrayBuffer()),compressionType:n.CMapCompressionType.BINARY}}else se=await this.handler.sendWithPromise("FetchBuiltInCMap",{name:_e});return se.compressionType!==n.CMapCompressionType.NONE&&this.builtInCMapCache.set(_e,se),se}async fetchStandardFontData(_e){const ye=this.standardFontDataCache.get(_e);if(ye)return new M.Stream(ye);if(this.options.useSystemFonts&&_e!=="Symbol"&&_e!=="ZapfDingbats")return null;const se=(0,O.getFontNameToFileMap)(),Ie=se[_e];let Ce;if(this.options.standardFontDataUrl!==null){const oe=`${this.options.standardFontDataUrl}${Ie}`,pe=await fetch(oe);pe.ok?Ce=await pe.arrayBuffer():(0,n.warn)(`fetchStandardFontData: failed to fetch file "${oe}" with "${pe.statusText}".`)}else try{Ce=await this.handler.sendWithPromise("FetchStandardFontData",{filename:Ie})}catch(oe){(0,n.warn)(`fetchStandardFontData: failed to fetch file "${Ie}" with "${oe}".`)}return Ce?(this.standardFontDataCache.set(_e,Ce),new M.Stream(Ce)):null}async buildFormXObject(_e,ye,se,Ie,Ce,oe,pe){const xe=ye.dict,Ne=xe.getArray("Matrix");let ke=xe.getArray("BBox");Array.isArray(ke)&&ke.length===4?ke=n.Util.normalizeRect(ke):ke=null;let De,Fe;xe.has("OC")&&(De=await this.parseMarkedContentProps(xe.get("OC"),_e)),De!==void 0&&Ie.addOp(n.OPS.beginMarkedContentProps,["OC",De]);const Pe=xe.get("Group");if(Pe){Fe={matrix:Ne,bbox:ke,smask:se,isolated:!1,knockout:!1};const Le=Pe.get("S");let Oe=null;if((0,R.isName)(Le,"Transparency")&&(Fe.isolated=Pe.get("I")||!1,Fe.knockout=Pe.get("K")||!1,Pe.has("CS"))){const Ee=Pe.getRaw("CS"),Ae=G.ColorSpace.getCached(Ee,this.xref,pe);Ae?Oe=Ae:Oe=await this.parseColorSpace({cs:Ee,resources:_e,localColorSpaceCache:pe})}se&&se.backdrop&&(Oe=Oe||G.ColorSpace.singletons.rgb,se.backdrop=Oe.getRgb(se.backdrop,0)),Ie.addOp(n.OPS.beginGroup,[Fe])}const qe=Pe?[Ne,null]:[Ne,ke];return Ie.addOp(n.OPS.paintFormXObjectBegin,qe),this.getOperatorList({stream:ye,task:Ce,resources:xe.get("Resources")||_e,operatorList:Ie,initialState:oe}).then(function(){Ie.addOp(n.OPS.paintFormXObjectEnd,[]),Pe&&Ie.addOp(n.OPS.endGroup,[Fe]),De!==void 0&&Ie.addOp(n.OPS.endMarkedContent,[])})}_sendImgData(_e,ye){let se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const Ie=ye?[ye.bitmap||ye.data.buffer]:null;return this.parsingType3Font||se?this.handler.send("commonobj",[_e,"Image",ye],Ie):this.handler.send("obj",[_e,this.pageIndex,"Image",ye],Ie)}async buildPaintImageXObject(_e){let{resources:ye,image:se,isInline:Ie=!1,operatorList:Ce,cacheKey:oe,localImageCache:pe,localColorSpaceCache:xe}=_e;const Ne=se.dict,ke=Ne.objId,De=Ne.get("W","Width"),Fe=Ne.get("H","Height");if(!(De&&typeof De=="number")||!(Fe&&typeof Fe=="number")){(0,n.warn)("Image dimensions are missing, or not numbers.");return}const Pe=this.options.maxImageSize;if(Pe!==-1&&De*Fe>Pe){const Qe="Image exceeded maximum allowed size and was removed.";if(this.options.ignoreErrors){(0,n.warn)(Qe);return}throw new Error(Qe)}let qe;Ne.has("OC")&&(qe=await this.parseMarkedContentProps(Ne.get("OC"),ye));const Le=Ne.get("IM","ImageMask")||!1;let Oe,Ee;if(Le){const Qe=Ne.get("I","Interpolate"),Ze=De+7>>3,et=se.getBytes(Ze*Fe),tt=Ne.getArray("D","Decode");if(this.parsingType3Font){Oe=X.PDFImage.createRawMask({imgArray:et,width:De,height:Fe,imageIsFromDecodeStream:se instanceof W.DecodeStream,inverseDecode:!!tt&&tt[0]>0,interpolate:Qe}),Oe.cached=!!oe,Ee=[Oe],Ce.addImageOps(n.OPS.paintImageMaskXObject,Ee,qe),oe&&pe.set(oe,ke,{fn:n.OPS.paintImageMaskXObject,args:Ee,optionalContent:qe});return}if(Oe=X.PDFImage.createMask({imgArray:et,width:De,height:Fe,imageIsFromDecodeStream:se instanceof W.DecodeStream,inverseDecode:!!tt&&tt[0]>0,interpolate:Qe}),Oe.isSingleOpaquePixel){Ce.addImageOps(n.OPS.paintSolidColorImageMask,[],qe),oe&&pe.set(oe,ke,{fn:n.OPS.paintSolidColorImageMask,args:[],optionalContent:qe});return}const je=`mask_${this.idFactory.createObjId()}`;Ce.addDependency(je),this._sendImgData(je,Oe),Ee=[{data:je,width:Oe.width,height:Oe.height,interpolate:Oe.interpolate,count:1}],Ce.addImageOps(n.OPS.paintImageMaskXObject,Ee,qe),oe&&pe.set(oe,ke,{fn:n.OPS.paintImageMaskXObject,args:Ee,optionalContent:qe});return}const Ae=Ne.get("SM","SMask")||!1,Ve=Ne.get("Mask")||!1,$e=200;if(Ie&&!Ae&&!Ve&&De+Fe<$e){Oe=new X.PDFImage({xref:this.xref,res:ye,image:se,isInline:Ie,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:xe}).createImageData(!0),Ce.addImageOps(n.OPS.paintInlineImageXObject,[Oe],qe);return}let Ue=`img_${this.idFactory.createObjId()}`,He=!1;this.parsingType3Font?Ue=`${this.idFactory.getDocId()}_type3_${Ue}`:ke&&(He=this.globalImageCache.shouldCache(ke,this.pageIndex),He&&(Ue=`${this.idFactory.getDocId()}_${Ue}`)),Ce.addDependency(Ue),Ee=[Ue,De,Fe],X.PDFImage.buildImage({xref:this.xref,res:ye,image:se,isInline:Ie,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:xe}).then(Qe=>(Oe=Qe.createImageData(!1),oe&&ke&&He&&this.globalImageCache.addByteSize(ke,Oe.data.length),this._sendImgData(Ue,Oe,He))).catch(Qe=>((0,n.warn)(`Unable to decode image "${Ue}": "${Qe}".`),this._sendImgData(Ue,null,He))),Ce.addImageOps(n.OPS.paintImageXObject,Ee,qe),oe&&(pe.set(oe,ke,{fn:n.OPS.paintImageXObject,args:Ee,optionalContent:qe}),ke&&((0,n.assert)(!Ie,"Cannot cache an inline image globally."),this.globalImageCache.addPageIndex(ke,this.pageIndex),He&&this.globalImageCache.setData(ke,{objId:Ue,fn:n.OPS.paintImageXObject,args:Ee,optionalContent:qe,byteSize:0})))}handleSMask(_e,ye,se,Ie,Ce,oe){const pe=_e.get("G"),xe={subtype:_e.get("S").name,backdrop:_e.get("BC")},Ne=_e.get("TR");if((0,l.isPDFFunction)(Ne)){const ke=this._pdfFunctionFactory.create(Ne),De=new Uint8Array(256),Fe=new Float32Array(1);for(let Pe=0;Pe<256;Pe++)Fe[0]=Pe/255,ke(Fe,0,Fe,0),De[Pe]=Fe[0]*255|0;xe.transferMap=De}return this.buildFormXObject(ye,pe,xe,se,Ie,Ce.state.clone(),oe)}handleTransferFunction(_e){let ye;if(Array.isArray(_e))ye=_e;else if((0,l.isPDFFunction)(_e))ye=[_e];else return null;const se=[];let Ie=0,Ce=0;for(const oe of ye){const pe=this.xref.fetchIfRef(oe);if(Ie++,(0,R.isName)(pe,"Identity")){se.push(null);continue}else if(!(0,l.isPDFFunction)(pe))return null;const xe=this._pdfFunctionFactory.create(pe),Ne=new Uint8Array(256),ke=new Float32Array(1);for(let De=0;De<256;De++)ke[0]=De/255,xe(ke,0,ke,0),Ne[De]=ke[0]*255|0;se.push(Ne),Ce++}return!(Ie===1||Ie===4)||Ce===0?null:se}handleTilingType(_e,ye,se,Ie,Ce,oe,pe,xe){const Ne=new z.OperatorList,ke=R.Dict.merge({xref:this.xref,dictArray:[Ce.get("Resources"),se]});return this.getOperatorList({stream:Ie,task:pe,resources:ke,operatorList:Ne}).then(function(){const De=Ne.getIR(),Fe=(0,P.getTilingPatternIR)(De,Ce,ye);oe.addDependencies(Ne.dependencies),oe.addOp(_e,Fe),Ce.objId&&xe.set(null,Ce.objId,{operatorListIR:De,dict:Ce})}).catch(De=>{if(!(De instanceof n.AbortException)){if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorTilingPattern}),(0,n.warn)(`handleTilingType - ignoring pattern: "${De}".`);return}throw De}})}handleSetFont(_e,ye,se,Ie,Ce,oe){let pe=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,xe=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;const Ne=ye&&ye[0]instanceof R.Name?ye[0].name:null;return this.loadFont(Ne,se,_e,pe,xe).then(ke=>ke.font.isType3Font?ke.loadType3Data(this,_e,Ce).then(function(){return Ie.addDependencies(ke.type3Dependencies),ke}).catch(De=>(this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorFontLoadType3}),new ce({loadedName:"g_font_error",font:new v.ErrorFont(`Type3 font load error: ${De}`),dict:ke.font,evaluatorOptions:this.options}))):ke).then(ke=>(oe.font=ke.font,ke.send(this.handler),ke.loadedName))}handleText(_e,ye){const se=ye.font,Ie=se.charsToGlyphs(_e);return se.data&&(ye.textRenderingMode&n.TextRenderingMode.ADD_TO_PATH_FLAG||ye.fillColorSpace.name==="Pattern"||se.disableFontFace||this.options.disableFontFace)&&K.buildFontPaths(se,Ie,this.handler,this.options),Ie}ensureStateFont(_e){if(_e.font)return;const ye=new n.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorFontState}),(0,n.warn)(`ensureStateFont: "${ye}".`);return}throw ye}async setGState(_e){let{resources:ye,gState:se,operatorList:Ie,cacheKey:Ce,task:oe,stateManager:pe,localGStateCache:xe,localColorSpaceCache:Ne}=_e;const ke=se.objId;let De=!0;const Fe=[],Pe=se.getKeys();let qe=Promise.resolve();for(let Le=0,Oe=Pe.length;Lethis.handleSetFont(ye,null,Ae[0],Ie,oe,pe.state).then(function($e){Ie.addDependency($e),Fe.push([Ee,[$e,Ae[1]]])}));break;case"BM":Fe.push([Ee,ie(Ae)]);break;case"SMask":if((0,R.isName)(Ae,"None")){Fe.push([Ee,!1]);break}Ae instanceof R.Dict?(De=!1,qe=qe.then(()=>this.handleSMask(Ae,ye,Ie,oe,pe,Ne)),Fe.push([Ee,!0])):(0,n.warn)("Unsupported SMask type");break;case"TR":const Ve=this.handleTransferFunction(Ae);Fe.push([Ee,Ve]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,n.info)("graphic state operator "+Ee);break;default:(0,n.info)("Unknown graphic state operator "+Ee);break}}return qe.then(function(){Fe.length>0&&Ie.addOp(n.OPS.setGState,[Fe]),De&&xe.set(Ce,ke,Fe)})}loadFont(_e,ye,se){let Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Ce=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;const oe=async()=>new ce({loadedName:"g_font_error",font:new v.ErrorFont(`Font "${_e}" is not available.`),dict:ye,evaluatorOptions:this.options}),pe=this.xref;let xe;if(ye)ye instanceof R.Ref&&(xe=ye);else{const Le=se.get("Font");Le&&(xe=Le.getRaw(_e))}if(!xe){const Le=`Font "${_e||ye&&ye.toString()}" is not available`;if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,n.warn)(`${Le}.`),oe();this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorFontMissing}),(0,n.warn)(`${Le} -- attempting to fallback to a default font.`),Ie?xe=Ie:xe=K.fallbackFontDict}if(this.parsingType3Font&&this.type3FontRefs.has(xe))return oe();if(this.fontCache.has(xe))return this.fontCache.get(xe);if(ye=pe.fetchIfRef(xe),!(ye instanceof R.Dict))return oe();if(ye.cacheKey&&this.fontCache.has(ye.cacheKey))return this.fontCache.get(ye.cacheKey);const Ne=(0,n.createPromiseCapability)();let ke;try{ke=this.preEvaluateFont(ye),ke.cssFontInfo=Ce}catch(Le){return(0,n.warn)(`loadFont - preEvaluateFont failed: "${Le}".`),oe()}const{descriptor:De,hash:Fe}=ke,Pe=xe instanceof R.Ref;let qe;if(Pe&&(qe=`f${xe.toString()}`),Fe&&De instanceof R.Dict){De.fontAliases||(De.fontAliases=Object.create(null));const Le=De.fontAliases;if(Le[Fe]){const Oe=Le[Fe].aliasRef;if(Pe&&Oe&&this.fontCache.has(Oe))return this.fontCache.putAlias(xe,Oe),this.fontCache.get(xe)}else Le[Fe]={fontID:this.idFactory.createFontId()};Pe&&(Le[Fe].aliasRef=xe),qe=Le[Fe].fontID}return Pe?this.fontCache.put(xe,Ne.promise):(qe||(qe=this.idFactory.createFontId()),ye.cacheKey=`cacheKey_${qe}`,this.fontCache.put(ye.cacheKey,Ne.promise)),(0,n.assert)(qe&&qe.startsWith("f"),'The "fontID" must be (correctly) defined.'),ye.loadedName=`${this.idFactory.getDocId()}_${qe}`,this.translateFont(ke).then(Le=>{Le.fontType!==void 0&&pe.stats.addFontType(Le.fontType),Ne.resolve(new ce({loadedName:ye.loadedName,font:Le,dict:ye,evaluatorOptions:this.options}))}).catch(Le=>{this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorFontTranslate}),(0,n.warn)(`loadFont - translateFont failed: "${Le}".`);try{const Oe=De&&De.get("FontFile3"),Ee=Oe&&Oe.get("Subtype"),Ae=(0,e.getFontType)(ke.type,Ee&&Ee.name);Ae!==void 0&&pe.stats.addFontType(Ae)}catch{}Ne.resolve(new ce({loadedName:ye.loadedName,font:new v.ErrorFont(Le instanceof Error?Le.message:Le),dict:ye,evaluatorOptions:this.options}))}),Ne.promise}buildPath(_e,ye,se){let Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const Ce=_e.length-1;se||(se=[]);let oe;if(Ce<0||_e.fnArray[Ce]!==n.OPS.constructPath)Ie&&((0,n.warn)(`Encountered path operator "${ye}" inside of a text object.`),_e.addOp(n.OPS.save,null)),oe=[1/0,-1/0,1/0,-1/0],_e.addOp(n.OPS.constructPath,[[ye],se,oe]),Ie&&_e.addOp(n.OPS.restore,null);else{const pe=_e.argsArray[Ce];pe[0].push(ye),Array.prototype.push.apply(pe[1],se),oe=pe[2]}switch(ye){case n.OPS.rectangle:oe[0]=Math.min(oe[0],se[0],se[0]+se[2]),oe[1]=Math.max(oe[1],se[0],se[0]+se[2]),oe[2]=Math.min(oe[2],se[1],se[1]+se[3]),oe[3]=Math.max(oe[3],se[1],se[1]+se[3]);break;case n.OPS.moveTo:case n.OPS.lineTo:oe[0]=Math.min(oe[0],se[0]),oe[1]=Math.max(oe[1],se[0]),oe[2]=Math.min(oe[2],se[1]),oe[3]=Math.max(oe[3],se[1]);break}}parseColorSpace(_e){let{cs:ye,resources:se,localColorSpaceCache:Ie}=_e;return G.ColorSpace.parseAsync({cs:ye,xref:this.xref,resources:se,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:Ie}).catch(Ce=>{if(Ce instanceof n.AbortException)return null;if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorColorSpace}),(0,n.warn)(`parseColorSpace - ignoring ColorSpace: "${Ce}".`),null;throw Ce})}parseShading(_e){let{shading:ye,resources:se,localColorSpaceCache:Ie,localShadingPatternCache:Ce}=_e,oe=Ce.get(ye);if(!oe){var pe=P.Pattern.parseShading(ye,this.xref,se,this.handler,this._pdfFunctionFactory,Ie);const xe=pe.getIR();oe=`pattern_${this.idFactory.createObjId()}`,Ce.set(ye,oe),this.handler.send("obj",[oe,this.pageIndex,"Pattern",xe])}return oe}handleColorN(_e,ye,se,Ie,Ce,oe,pe,xe,Ne,ke){const De=se.pop();if(De instanceof R.Name){const Fe=Ce.getRaw(De.name),Pe=Fe instanceof R.Ref&&Ne.getByRef(Fe);if(Pe)try{const Le=Ie.base?Ie.base.getRgb(se,0):null,Oe=(0,P.getTilingPatternIR)(Pe.operatorListIR,Pe.dict,Le);_e.addOp(ye,Oe);return}catch{}const qe=this.xref.fetchIfRef(Fe);if(qe){const Le=qe instanceof F.BaseStream?qe.dict:qe,Oe=Le.get("PatternType");if(Oe===$.TILING){const Ee=Ie.base?Ie.base.getRgb(se,0):null;return this.handleTilingType(ye,Ee,oe,qe,Le,_e,pe,Ne)}else if(Oe===$.SHADING){const Ee=Le.get("Shading"),Ae=Le.getArray("Matrix"),Ve=this.parseShading({shading:Ee,resources:oe,localColorSpaceCache:xe,localShadingPatternCache:ke});_e.addOp(ye,["Shading",Ve,Ae]);return}throw new n.FormatError(`Unknown PatternType: ${Oe}`)}}throw new n.FormatError(`Unknown PatternName: ${De}`)}_parseVisibilityExpression(_e,ye,se){if(++ye>10){(0,n.warn)("Visibility expression is too deeply nested");return}const Ce=_e.length,oe=this.xref.fetchIfRef(_e[0]);if(Ce<2||!(oe instanceof R.Name)){(0,n.warn)("Invalid visibility expression");return}switch(oe.name){case"And":case"Or":case"Not":se.push(oe.name);break;default:(0,n.warn)(`Invalid operator ${oe.name} in visibility expression`);return}for(let pe=1;pe0)return{type:"OCMD",expression:pe}}const oe=se.get("OCGs");if(Array.isArray(oe)||oe instanceof R.Dict){const pe=[];if(Array.isArray(oe))for(const xe of oe)pe.push(xe.toString());else pe.push(oe.objId);return{type:Ie,ids:pe,policy:se.get("P")instanceof R.Name?se.get("P").name:null,expression:null}}else if(oe instanceof R.Ref)return{type:Ie,id:oe.toString()}}return null}getOperatorList(_e){let{stream:ye,task:se,resources:Ie,operatorList:Ce,initialState:oe=null,fallbackFontDict:pe=null}=_e;if(Ie=Ie||R.Dict.empty,oe=oe||new ae,!Ce)throw new Error('getOperatorList: missing "operatorList" parameter');const xe=this,Ne=this.xref;let ke=!1;const De=new D.LocalImageCache,Fe=new D.LocalColorSpaceCache,Pe=new D.LocalGStateCache,qe=new D.LocalTilingPatternCache,Le=new Map,Oe=Ie.get("XObject")||R.Dict.empty,Ee=Ie.get("Pattern")||R.Dict.empty,Ae=new de(oe),Ve=new he(ye,Ne,Ae),$e=new me;function Ue(He){for(let Qe=0,Ze=Ve.savedStatesDepth;Qe0&&Ce.addOp(n.OPS.setGState,[dt]),rt=null;continue}}et(new Promise(function(dt,Nt){if(!ot)throw new n.FormatError("GState must be referred to by name.");const kt=Ie.get("ExtGState");if(!(kt instanceof R.Dict))throw new n.FormatError("ExtGState should be a dictionary.");const Ut=kt.get(at);if(!(Ut instanceof R.Dict))throw new n.FormatError("GState should be a dictionary.");xe.setGState({resources:Ie,gState:Ut,operatorList:Ce,cacheKey:at,task:se,stateManager:Ae,localGStateCache:Pe,localColorSpaceCache:Fe}).then(dt,Nt)}).catch(function(dt){if(!(dt instanceof n.AbortException)){if(xe.options.ignoreErrors){xe.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorExtGState}),(0,n.warn)(`getOperatorList - ignoring ExtGState: "${dt}".`);return}throw dt}}));return;case n.OPS.moveTo:case n.OPS.lineTo:case n.OPS.curveTo:case n.OPS.curveTo2:case n.OPS.curveTo3:case n.OPS.closePath:case n.OPS.rectangle:xe.buildPath(Ce,mt,rt,ke);continue;case n.OPS.markPoint:case n.OPS.markPointProps:case n.OPS.beginCompat:case n.OPS.endCompat:continue;case n.OPS.beginMarkedContentProps:if(!(rt[0]instanceof R.Name)){(0,n.warn)(`Expected name for beginMarkedContentProps arg0=${rt[0]}`);continue}if(rt[0].name==="OC"){et(xe.parseMarkedContentProps(rt[1],Ie).then(dt=>{Ce.addOp(n.OPS.beginMarkedContentProps,["OC",dt])}).catch(dt=>{if(!(dt instanceof n.AbortException)){if(xe.options.ignoreErrors){xe.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorMarkedContent}),(0,n.warn)(`getOperatorList - ignoring beginMarkedContentProps: "${dt}".`);return}throw dt}}));return}rt=[rt[0].name,rt[1]instanceof R.Dict?rt[1].get("MCID"):null];break;case n.OPS.beginMarkedContent:case n.OPS.endMarkedContent:default:if(rt!==null){for(Je=0,nt=rt.length;Je{if(!(He instanceof n.AbortException)){if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorOperatorList}),(0,n.warn)(`getOperatorList - ignoring errors during "${se.name}" task: "${He}".`),Ue();return}throw He}})}getTextContent(_e){let{stream:ye,task:se,resources:Ie,stateManager:Ce=null,combineTextItems:oe=!1,includeMarkedContent:pe=!1,sink:xe,seenStyles:Ne=new Set,viewBox:ke}=_e;Ie=Ie||R.Dict.empty,Ce=Ce||new de(new Z);const De=(0,B.getNormalizedUnicodes)(),Fe={items:[],styles:Object.create(null)},Pe={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},qe=[" "," "];let Le=0;function Oe(dt){const Nt=(Le+1)%2,kt=qe[Le]!==" "&&qe[Nt]===" ";return qe[Le]=dt,Le=Nt,kt}function Ee(){qe[0]=qe[1]=" ",Le=0}const Ae=.1,Ve=.03,$e=-.2,Ue=.1,He=.6,Qe=this,Ze=this.xref,et=[];let tt=null;const je=new D.LocalImageCache,Je=new D.LocalGStateCache,nt=new he(ye,Ze,Ce);let Ke;function at(){const dt=Ke.font,Nt=[Ke.fontSize*Ke.textHScale,0,0,Ke.fontSize,0,Ke.textRise];if(dt.isType3Font&&(Ke.fontSize<=1||dt.isCharBBox)&&!(0,n.isArrayEqual)(Ke.fontMatrix,n.FONT_IDENTITY_MATRIX)){const kt=dt.bbox[3]-dt.bbox[1];kt>0&&(Nt[3]*=kt*Ke.fontMatrix[3])}return n.Util.transform(Ke.ctm,n.Util.transform(Ke.textMatrix,Nt))}function ot(){if(Pe.initialized)return Pe;const dt=Ke.font,Nt=dt.loadedName;Ne.has(Nt)||(Ne.add(Nt),Fe.styles[Nt]={fontFamily:dt.fallbackName,ascent:dt.ascent,descent:dt.descent,vertical:dt.vertical}),Pe.fontName=Nt;const kt=Pe.transform=at();dt.vertical?(Pe.width=Pe.totalWidth=Math.hypot(kt[0],kt[1]),Pe.height=Pe.totalHeight=0,Pe.vertical=!0):(Pe.width=Pe.totalWidth=0,Pe.height=Pe.totalHeight=Math.hypot(kt[2],kt[3]),Pe.vertical=!1);const Ut=Math.hypot(Ke.textLineMatrix[0],Ke.textLineMatrix[1]),Ht=Math.hypot(Ke.ctm[0],Ke.ctm[1]);return Pe.textAdvanceScale=Ht*Ut,Pe.trackingSpaceMin=Ke.fontSize*Ae,Pe.notASpace=Ke.fontSize*Ve,Pe.negativeSpaceMax=Ke.fontSize*$e,Pe.spaceInFlowMin=Ke.fontSize*Ue,Pe.spaceInFlowMax=Ke.fontSize*He,Pe.hasEOL=!1,Pe.initialized=!0,Pe}function Xe(){if(!Pe.initialized)return;const dt=Math.hypot(Ke.textLineMatrix[0],Ke.textLineMatrix[1]),kt=Math.hypot(Ke.ctm[0],Ke.ctm[1])*dt;kt!==Pe.textAdvanceScale&&(Pe.vertical?(Pe.totalHeight+=Pe.height*Pe.textAdvanceScale,Pe.height=0):(Pe.totalWidth+=Pe.width*Pe.textAdvanceScale,Pe.width=0),Pe.textAdvanceScale=kt)}function ze(dt){const Nt=dt.str.join(""),kt=(0,N.bidi)(Nt,-1,dt.vertical);return{str:kt.str,dir:kt.dir,width:Math.abs(dt.totalWidth),height:Math.abs(dt.totalHeight),transform:dt.transform,fontName:dt.fontName,hasEOL:dt.hasEOL}}function Ye(dt,Nt){return Qe.loadFont(dt,Nt,Ie).then(function(kt){return kt.font.isType3Font?kt.loadType3Data(Qe,Ie,se).catch(function(){}).then(function(){return kt}):kt}).then(function(kt){Ke.font=kt.font,Ke.fontMatrix=kt.font.fontMatrix||n.FONT_IDENTITY_MATRIX})}function st(dt,Nt,kt){const Ut=Math.hypot(kt[0],kt[1]);return[(kt[0]*dt+kt[1]*Nt)/Ut,(kt[2]*dt+kt[3]*Nt)/Ut]}function _t(){const dt=at();let Nt=dt[4],kt=dt[5];const Ut=Nt-ke[0],Ht=kt-ke[1];if(Ut<0||Ut>ke[2]||Ht<0||Ht>ke[3])return!1;if(!oe||!Ke.font||!Pe.prevTransform)return!0;let Kt=Pe.prevTransform[4],qt=Pe.prevTransform[5];if(Kt===Nt&&qt===kt)return!0;let pn=-1;switch(dt[0]&&dt[1]===0&&dt[2]===0?pn=dt[0]>0?0:180:dt[1]&&dt[0]===0&&dt[3]===0&&(pn=dt[1]>0?90:270),pn){case 0:break;case 90:[Nt,kt]=[kt,Nt],[Kt,qt]=[qt,Kt];break;case 180:[Nt,kt,Kt,qt]=[-Nt,-kt,-Kt,-qt];break;case 270:[Nt,kt]=[-kt,-Nt],[Kt,qt]=[-qt,-Kt];break;default:[Nt,kt]=st(Nt,kt,dt),[Kt,qt]=st(Kt,qt,Pe.prevTransform)}if(Ke.font.vertical){const At=(qt-kt)/Pe.textAdvanceScale,Pt=Nt-Kt,$t=Math.sign(Pe.height);return At<$t*Pe.negativeSpaceMax?Math.abs(Pt)>.5*Pe.width?(Ct(),!0):(Ee(),rt(),!0):Math.abs(Pt)>Pe.width?(Ct(),!0):(At<=$t*Pe.notASpace&&Ee(),At<=$t*Pe.trackingSpaceMin?Pe.height+=At:ut(At,Pe.prevTransform,$t)||(Pe.str.length===0?(Ee(),Fe.items.push({str:" ",dir:"ltr",width:0,height:Math.abs(At),transform:Pe.prevTransform,fontName:Pe.fontName,hasEOL:!1})):Pe.height+=At),!0)}const vt=(Nt-Kt)/Pe.textAdvanceScale,xt=kt-qt,Rt=Math.sign(Pe.width);return vt.5*Pe.height?(Ct(),!0):(Ee(),rt(),!0):Math.abs(xt)>Pe.height?(Ct(),!0):(vt<=Rt*Pe.notASpace&&Ee(),vt<=Rt*Pe.trackingSpaceMin?Pe.width+=vt:ut(vt,Pe.prevTransform,Rt)||(Pe.str.length===0?(Ee(),Fe.items.push({str:" ",dir:"ltr",width:Math.abs(vt),height:0,transform:Pe.prevTransform,fontName:Pe.fontName,hasEOL:!1})):Pe.width+=vt),!0)}function ft(dt){let{chars:Nt,extraSpacing:kt}=dt;const Ut=Ke.font;if(!Nt){const qt=Ke.charSpacing+kt;qt&&(Ut.vertical?Ke.translateTextMatrix(0,-qt):Ke.translateTextMatrix(qt*Ke.textHScale,0));return}const Ht=Ut.charsToGlyphs(Nt),Kt=Ke.fontMatrix[0]*Ke.fontSize;for(let qt=0,pn=Ht.length;qt0&&arguments[0]!==void 0?arguments[0]:!1;const Nt=Fe.items.length;Nt!==0&&(dt&&Nt0){const Dt=et.join("");et.length=0,ft({chars:Dt,extraSpacing:0})}break;case n.OPS.showText:if(!Ce.state.font){Qe.ensureStateFont(Ce.state);continue}ft({chars:qt[0],extraSpacing:0});break;case n.OPS.nextLineShowText:if(!Ce.state.font){Qe.ensureStateFont(Ce.state);continue}Ke.carriageReturn(),ft({chars:qt[0],extraSpacing:0});break;case n.OPS.nextLineSetSpacingShowText:if(!Ce.state.font){Qe.ensureStateFont(Ce.state);continue}Ke.wordSpacing=qt[0],Ke.charSpacing=qt[1],Ke.carriageReturn(),ft({chars:qt[2],extraSpacing:0});break;case n.OPS.paintXObject:rt(),tt||(tt=Ie.get("XObject")||R.Dict.empty);var xt=qt[0]instanceof R.Name,Rt=qt[0].name;if(xt&&je.getByName(Rt))break;Ut(new Promise(function(Dt,Yt){if(!xt)throw new n.FormatError("XObject must be referred to by name.");let Vt=tt.getRaw(Rt);if(Vt instanceof R.Ref){if(je.getByRef(Vt)){Dt();return}if(Qe.globalImageCache.getData(Vt,Qe.pageIndex)){Dt();return}Vt=Ze.fetch(Vt)}if(!(Vt instanceof F.BaseStream))throw new n.FormatError("XObject should be a stream");const rn=Vt.dict.get("Subtype");if(!(rn instanceof R.Name))throw new n.FormatError("XObject should have a Name subtype");if(rn.name!=="Form"){je.set(Rt,Vt.dict.objId,!0),Dt();return}const en=Ce.state.clone(),Xt=new de(en),ht=Vt.dict.getArray("Matrix");Array.isArray(ht)&&ht.length===6&&Xt.transform(ht),mt();const Et={enqueueInvoked:!1,enqueue(It,wt){this.enqueueInvoked=!0,xe.enqueue(It,wt)},get desiredSize(){return xe.desiredSize},get ready(){return xe.ready}};Qe.getTextContent({stream:Vt,task:se,resources:Vt.dict.get("Resources")||Ie,stateManager:Xt,combineTextItems:oe,includeMarkedContent:pe,sink:Et,seenStyles:Ne,viewBox:ke}).then(function(){Et.enqueueInvoked||je.set(Rt,Vt.dict.objId,!0),Dt()},Yt)}).catch(function(Dt){if(!(Dt instanceof n.AbortException)){if(Qe.options.ignoreErrors){(0,n.warn)(`getTextContent - ignoring XObject: "${Dt}".`);return}throw Dt}}));return;case n.OPS.setGState:if(xt=qt[0]instanceof R.Name,Rt=qt[0].name,xt&&Je.getByName(Rt))break;Ut(new Promise(function(Dt,Yt){if(!xt)throw new n.FormatError("GState must be referred to by name.");const Vt=Ie.get("ExtGState");if(!(Vt instanceof R.Dict))throw new n.FormatError("ExtGState should be a dictionary.");const rn=Vt.get(Rt);if(!(rn instanceof R.Dict))throw new n.FormatError("GState should be a dictionary.");const en=rn.get("Font");if(!en){Je.set(Rt,rn.objId,!0),Dt();return}rt(),Ke.fontName=null,Ke.fontSize=en[1],Ye(null,en[0]).then(Dt,Yt)}).catch(function(Dt){if(!(Dt instanceof n.AbortException)){if(Qe.options.ignoreErrors){(0,n.warn)(`getTextContent - ignoring ExtGState: "${Dt}".`);return}throw Dt}}));return;case n.OPS.beginMarkedContent:rt(),pe&&Fe.items.push({type:"beginMarkedContent",tag:qt[0]instanceof R.Name?qt[0].name:null});break;case n.OPS.beginMarkedContentProps:if(rt(),pe){let Dt=null;qt[1]instanceof R.Dict&&(Dt=qt[1].get("MCID")),Fe.items.push({type:"beginMarkedContentProps",id:Number.isInteger(Dt)?`${Qe.idFactory.getPageObjId()}_mcid${Dt}`:null,tag:qt[0]instanceof R.Name?qt[0].name:null})}break;case n.OPS.endMarkedContent:rt(),pe&&Fe.items.push({type:"endMarkedContent"});break}if(Fe.items.length>=xe.desiredSize){Kt=!0;break}}if(Kt){Ut(Q);return}rt(),mt(),Nt()}).catch(dt=>{if(!(dt instanceof n.AbortException)){if(this.options.ignoreErrors){(0,n.warn)(`getTextContent - ignoring errors during "${se.name}" task: "${dt}".`),rt(),mt();return}throw dt}})}extractDataStructures(_e,ye,se){const Ie=this.xref;let Ce;const oe=this.readToUnicode(se.toUnicode||_e.get("ToUnicode")||ye.get("ToUnicode"));if(se.composite){const ke=_e.get("CIDSystemInfo");ke instanceof R.Dict&&(se.cidSystemInfo={registry:(0,n.stringToPDFString)(ke.get("Registry")),ordering:(0,n.stringToPDFString)(ke.get("Ordering")),supplement:ke.get("Supplement")});try{const De=_e.get("CIDToGIDMap");De instanceof F.BaseStream&&(Ce=De.getBytes())}catch(De){if(!this.options.ignoreErrors)throw De;(0,n.warn)(`extractDataStructures - ignoring CIDToGIDMap data: "${De}".`)}}const pe=[];let xe=null,Ne;if(_e.has("Encoding")){if(Ne=_e.get("Encoding"),Ne instanceof R.Dict){if(xe=Ne.get("BaseEncoding"),xe=xe instanceof R.Name?xe.name:null,Ne.has("Differences")){const ke=Ne.get("Differences");let De=0;for(let Fe=0,Pe=ke.length;Fe0,se.dict=_e,oe.then(ke=>(se.toUnicode=ke,this.buildToUnicode(se))).then(ke=>(se.toUnicode=ke,Ce&&(se.cidToGidMap=this.readCidToGidMap(Ce,ke)),se))}_simpleFontToUnicode(_e){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,n.assert)(!_e.composite,"Must be a simple font.");const se=[],Ie=_e.defaultEncoding.slice(),Ce=_e.baseEncodingName,oe=_e.differences;for(const xe in oe){const Ne=oe[xe];Ne!==".notdef"&&(Ie[xe]=Ne)}const pe=(0,J.getGlyphsUnicode)();for(const xe in Ie){let Ne=Ie[xe];if(Ne!==""){if(pe[Ne]===void 0){let ke=0;switch(Ne[0]){case"G":Ne.length===3&&(ke=parseInt(Ne.substring(1),16));break;case"g":Ne.length===5&&(ke=parseInt(Ne.substring(1),16));break;case"C":case"c":if(Ne.length>=3&&Ne.length<=4){const Fe=Ne.substring(1);if(ye){ke=parseInt(Fe,16);break}if(ke=+Fe,Number.isNaN(ke)&&Number.isInteger(parseInt(Fe,16)))return this._simpleFontToUnicode(_e,!0)}break;default:const De=(0,B.getUnicodeForGlyph)(Ne,pe);De!==-1&&(ke=De)}if(ke>0&&ke<=1114111&&Number.isInteger(ke)){if(Ce&&ke===+xe){const De=(0,L.getEncoding)(Ce);if(De&&(Ne=De[xe])){se[xe]=String.fromCharCode(pe[Ne]);continue}}se[xe]=String.fromCodePoint(ke)}continue}se[xe]=String.fromCharCode(pe[Ne])}}return se}async buildToUnicode(_e){if(_e.hasIncludedToUnicodeMap=!!_e.toUnicode&&_e.toUnicode.length>0,_e.hasIncludedToUnicodeMap)return!_e.composite&&_e.hasEncoding&&(_e.fallbackToUnicode=this._simpleFontToUnicode(_e)),_e.toUnicode;if(!_e.composite)return new _.ToUnicodeMap(this._simpleFontToUnicode(_e));if(_e.composite&&(_e.cMap.builtInCMap&&!(_e.cMap instanceof c.IdentityCMap)||_e.cidSystemInfo.registry==="Adobe"&&(_e.cidSystemInfo.ordering==="GB1"||_e.cidSystemInfo.ordering==="CNS1"||_e.cidSystemInfo.ordering==="Japan1"||_e.cidSystemInfo.ordering==="Korea1"))){const{registry:ye,ordering:se}=_e.cidSystemInfo,Ie=R.Name.get(`${ye}-${se}-UCS2`),Ce=await c.CMapFactory.create({encoding:Ie,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),oe=[];return _e.cMap.forEach(function(pe,xe){if(xe>65535)throw new n.FormatError("Max size of CID is 65,535");const Ne=Ce.lookup(xe);Ne&&(oe[pe]=String.fromCharCode((Ne.charCodeAt(0)<<8)+Ne.charCodeAt(1)))}),new _.ToUnicodeMap(oe)}return new _.IdentityToUnicodeMap(_e.firstChar,_e.lastChar)}readToUnicode(_e){return _e?_e instanceof R.Name?c.CMapFactory.create({encoding:_e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(ye){return ye instanceof c.IdentityCMap?new _.IdentityToUnicodeMap(0,65535):new _.ToUnicodeMap(ye.getMap())}):_e instanceof F.BaseStream?c.CMapFactory.create({encoding:_e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(ye){if(ye instanceof c.IdentityCMap)return new _.IdentityToUnicodeMap(0,65535);const se=new Array(ye.length);return ye.forEach(function(Ie,Ce){if(typeof Ce=="number"){se[Ie]=String.fromCodePoint(Ce);return}const oe=[];for(let pe=0;pe{if(ye instanceof n.AbortException)return null;if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorFontToUnicode}),(0,n.warn)(`readToUnicode - ignoring ToUnicode data: "${ye}".`),null;throw ye}):Promise.resolve(null):Promise.resolve(null)}readCidToGidMap(_e,ye){const se=[];for(let Ie=0,Ce=_e.length;Ie>1;oe===0&&!ye.has(pe)||(se[pe]=oe)}return se}extractWidths(_e,ye,se){const Ie=this.xref;let Ce=[],oe=0;const pe=[];let xe,Ne,ke,De,Fe,Pe,qe,Le;if(se.composite){if(oe=_e.has("DW")?_e.get("DW"):1e3,Le=_e.get("W"),Le)for(Ne=0,ke=Le.length;Ne{if(je){const at=[];let ot=pe;for(let Xe=0,ze=je.length;Xe(this.extractWidths(se,ye,Qe),new v.Font(Pe.name,Le,Qe)))}static buildFontPaths(_e,ye,se,Ie){function Ce(oe){const pe=`${_e.loadedName}_path_${oe}`;try{if(_e.renderer.hasBuiltPath(oe))return;se.send("commonobj",[pe,"FontPath",_e.renderer.getPathJs(oe)])}catch(xe){if(Ie.ignoreErrors){se.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.errorFontBuildPath}),(0,n.warn)(`buildFontPaths - ignoring ${pe} glyph: "${xe}".`);return}throw xe}}for(const oe of ye){Ce(oe.fontChar);const pe=oe.accent;pe&&pe.fontChar&&Ce(pe.fontChar)}}static get fallbackFontDict(){const _e=new R.Dict;return _e.set("BaseFont",R.Name.get("PDFJS-FallbackFont")),_e.set("Type",R.Name.get("FallbackType")),_e.set("Subtype",R.Name.get("FallbackType")),_e.set("Encoding",R.Name.get("WinAnsiEncoding")),(0,n.shadow)(this,"fallbackFontDict",_e)}}a.PartialEvaluator=K;class ce{constructor(_e){let{loadedName:ye,font:se,dict:Ie,evaluatorOptions:Ce}=_e;this.loadedName=ye,this.font=se,this.dict=Ie,this._evaluatorOptions=Ce||q,this.type3Loaded=null,this.type3Dependencies=se.isType3Font?new Set:null,this.sent=!1}send(_e){this.sent||(this.sent=!0,_e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}fallback(_e){this.font.data&&(this.font.disableFontFace=!0,K.buildFontPaths(this.font,this.font.glyphCacheValues,_e,this._evaluatorOptions))}loadType3Data(_e,ye,se){if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");const Ie=_e.clone({ignoreErrors:!1});Ie.parsingType3Font=!0;const Ce=new R.RefSet(_e.type3FontRefs);this.dict.objId&&!Ce.has(this.dict.objId)&&Ce.put(this.dict.objId),Ie.type3FontRefs=Ce;const oe=this.font,pe=this.type3Dependencies;let xe=Promise.resolve();const Ne=this.dict.get("CharProcs"),ke=this.dict.get("Resources")||ye,De=Object.create(null),Fe=n.Util.normalizeRect(oe.bbox||[0,0,0,0]),Pe=Fe[2]-Fe[0],qe=Fe[3]-Fe[1],Le=Math.hypot(Pe,qe);for(const Oe of Ne.getKeys())xe=xe.then(()=>{const Ee=Ne.get(Oe),Ae=new z.OperatorList;return Ie.getOperatorList({stream:Ee,task:se,resources:ke,operatorList:Ae}).then(()=>{Ae.fnArray[0]===n.OPS.setCharWidthAndBounds&&this._removeType3ColorOperators(Ae,Le),De[Oe]=Ae.getIR();for(const Ve of Ae.dependencies)pe.add(Ve)}).catch(function(Ve){(0,n.warn)(`Type3 font resource "${Oe}" is not available.`);const $e=new z.OperatorList;De[Oe]=$e.getIR()})});return this.type3Loaded=xe.then(()=>{oe.charProcOperatorList=De,this._bbox&&(oe.isCharBBox=!0,oe.bbox=this._bbox)}),this.type3Loaded}_removeType3ColorOperators(_e){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN;const se=n.Util.normalizeRect(_e.argsArray[0].slice(2)),Ie=se[2]-se[0],Ce=se[3]-se[1],oe=Math.hypot(Ie,Ce);Ie===0||Ce===0?(_e.fnArray.splice(0,1),_e.argsArray.splice(0,1)):(ye===0||Math.round(oe/ye)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],se[0]),this._bbox[1]=Math.min(this._bbox[1],se[1]),this._bbox[2]=Math.max(this._bbox[2],se[2]),this._bbox[3]=Math.max(this._bbox[3],se[3]));let pe=0,xe=_e.length;for(;pe0&&arguments[0]!==void 0?arguments[0]:new ae;this.state=_e,this.stateStack=[]}save(){const _e=this.state;this.stateStack.push(this.state),this.state=_e.clone()}restore(){const _e=this.stateStack.pop();_e&&(this.state=_e)}transform(_e){this.state.ctm=n.Util.transform(this.state.ctm,_e)}}class Z{constructor(){this.ctm=new Float32Array(n.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.font=null,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.textMatrix=n.IDENTITY_MATRIX.slice(),this.textLineMatrix=n.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}setTextMatrix(_e,ye,se,Ie,Ce,oe){const pe=this.textMatrix;pe[0]=_e,pe[1]=ye,pe[2]=se,pe[3]=Ie,pe[4]=Ce,pe[5]=oe}setTextLineMatrix(_e,ye,se,Ie,Ce,oe){const pe=this.textLineMatrix;pe[0]=_e,pe[1]=ye,pe[2]=se,pe[3]=Ie,pe[4]=Ce,pe[5]=oe}translateTextMatrix(_e,ye){const se=this.textMatrix;se[4]=se[0]*_e+se[2]*ye+se[4],se[5]=se[1]*_e+se[3]*ye+se[5]}translateTextLineMatrix(_e,ye){const se=this.textLineMatrix;se[4]=se[0]*_e+se[2]*ye+se[4],se[5]=se[1]*_e+se[3]*ye+se[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){const _e=Object.create(this);return _e.textMatrix=this.textMatrix.slice(),_e.textLineMatrix=this.textLineMatrix.slice(),_e.fontMatrix=this.fontMatrix.slice(),_e}}class ae{constructor(){this.ctm=new Float32Array(n.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=n.TextRenderingMode.FILL,this.fillColorSpace=G.ColorSpace.singletons.gray,this.strokeColorSpace=G.ColorSpace.singletons.gray}clone(){return Object.create(this)}}class he{static get opMap(){const _e=(0,Y.getLookupTableFactory)(function(ye){ye.w={id:n.OPS.setLineWidth,numArgs:1,variableArgs:!1},ye.J={id:n.OPS.setLineCap,numArgs:1,variableArgs:!1},ye.j={id:n.OPS.setLineJoin,numArgs:1,variableArgs:!1},ye.M={id:n.OPS.setMiterLimit,numArgs:1,variableArgs:!1},ye.d={id:n.OPS.setDash,numArgs:2,variableArgs:!1},ye.ri={id:n.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},ye.i={id:n.OPS.setFlatness,numArgs:1,variableArgs:!1},ye.gs={id:n.OPS.setGState,numArgs:1,variableArgs:!1},ye.q={id:n.OPS.save,numArgs:0,variableArgs:!1},ye.Q={id:n.OPS.restore,numArgs:0,variableArgs:!1},ye.cm={id:n.OPS.transform,numArgs:6,variableArgs:!1},ye.m={id:n.OPS.moveTo,numArgs:2,variableArgs:!1},ye.l={id:n.OPS.lineTo,numArgs:2,variableArgs:!1},ye.c={id:n.OPS.curveTo,numArgs:6,variableArgs:!1},ye.v={id:n.OPS.curveTo2,numArgs:4,variableArgs:!1},ye.y={id:n.OPS.curveTo3,numArgs:4,variableArgs:!1},ye.h={id:n.OPS.closePath,numArgs:0,variableArgs:!1},ye.re={id:n.OPS.rectangle,numArgs:4,variableArgs:!1},ye.S={id:n.OPS.stroke,numArgs:0,variableArgs:!1},ye.s={id:n.OPS.closeStroke,numArgs:0,variableArgs:!1},ye.f={id:n.OPS.fill,numArgs:0,variableArgs:!1},ye.F={id:n.OPS.fill,numArgs:0,variableArgs:!1},ye["f*"]={id:n.OPS.eoFill,numArgs:0,variableArgs:!1},ye.B={id:n.OPS.fillStroke,numArgs:0,variableArgs:!1},ye["B*"]={id:n.OPS.eoFillStroke,numArgs:0,variableArgs:!1},ye.b={id:n.OPS.closeFillStroke,numArgs:0,variableArgs:!1},ye["b*"]={id:n.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},ye.n={id:n.OPS.endPath,numArgs:0,variableArgs:!1},ye.W={id:n.OPS.clip,numArgs:0,variableArgs:!1},ye["W*"]={id:n.OPS.eoClip,numArgs:0,variableArgs:!1},ye.BT={id:n.OPS.beginText,numArgs:0,variableArgs:!1},ye.ET={id:n.OPS.endText,numArgs:0,variableArgs:!1},ye.Tc={id:n.OPS.setCharSpacing,numArgs:1,variableArgs:!1},ye.Tw={id:n.OPS.setWordSpacing,numArgs:1,variableArgs:!1},ye.Tz={id:n.OPS.setHScale,numArgs:1,variableArgs:!1},ye.TL={id:n.OPS.setLeading,numArgs:1,variableArgs:!1},ye.Tf={id:n.OPS.setFont,numArgs:2,variableArgs:!1},ye.Tr={id:n.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},ye.Ts={id:n.OPS.setTextRise,numArgs:1,variableArgs:!1},ye.Td={id:n.OPS.moveText,numArgs:2,variableArgs:!1},ye.TD={id:n.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},ye.Tm={id:n.OPS.setTextMatrix,numArgs:6,variableArgs:!1},ye["T*"]={id:n.OPS.nextLine,numArgs:0,variableArgs:!1},ye.Tj={id:n.OPS.showText,numArgs:1,variableArgs:!1},ye.TJ={id:n.OPS.showSpacedText,numArgs:1,variableArgs:!1},ye["'"]={id:n.OPS.nextLineShowText,numArgs:1,variableArgs:!1},ye['"']={id:n.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},ye.d0={id:n.OPS.setCharWidth,numArgs:2,variableArgs:!1},ye.d1={id:n.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},ye.CS={id:n.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},ye.cs={id:n.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},ye.SC={id:n.OPS.setStrokeColor,numArgs:4,variableArgs:!0},ye.SCN={id:n.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},ye.sc={id:n.OPS.setFillColor,numArgs:4,variableArgs:!0},ye.scn={id:n.OPS.setFillColorN,numArgs:33,variableArgs:!0},ye.G={id:n.OPS.setStrokeGray,numArgs:1,variableArgs:!1},ye.g={id:n.OPS.setFillGray,numArgs:1,variableArgs:!1},ye.RG={id:n.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},ye.rg={id:n.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},ye.K={id:n.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},ye.k={id:n.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},ye.sh={id:n.OPS.shadingFill,numArgs:1,variableArgs:!1},ye.BI={id:n.OPS.beginInlineImage,numArgs:0,variableArgs:!1},ye.ID={id:n.OPS.beginImageData,numArgs:0,variableArgs:!1},ye.EI={id:n.OPS.endInlineImage,numArgs:1,variableArgs:!1},ye.Do={id:n.OPS.paintXObject,numArgs:1,variableArgs:!1},ye.MP={id:n.OPS.markPoint,numArgs:1,variableArgs:!1},ye.DP={id:n.OPS.markPointProps,numArgs:2,variableArgs:!1},ye.BMC={id:n.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},ye.BDC={id:n.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},ye.EMC={id:n.OPS.endMarkedContent,numArgs:0,variableArgs:!1},ye.BX={id:n.OPS.beginCompat,numArgs:0,variableArgs:!1},ye.EX={id:n.OPS.endCompat,numArgs:0,variableArgs:!1},ye.BM=null,ye.BD=null,ye.true=null,ye.fa=null,ye.fal=null,ye.fals=null,ye.false=null,ye.nu=null,ye.nul=null,ye.null=null});return(0,n.shadow)(this,"opMap",_e())}static get MAX_INVALID_PATH_OPS(){return(0,n.shadow)(this,"MAX_INVALID_PATH_OPS",10)}constructor(_e,ye){let se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new de;this.parser=new y.Parser({lexer:new y.Lexer(_e,he.opMap),xref:ye}),this.stateManager=se,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(_e){let ye=_e.args;for(;;){const se=this.parser.getObj();if(se instanceof R.Cmd){const Ie=se.cmd,Ce=he.opMap[Ie];if(!Ce){(0,n.warn)(`Unknown command "${Ie}".`);continue}const oe=Ce.id,pe=Ce.numArgs;let xe=ye!==null?ye.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=oe>=n.OPS.moveTo&&oe<=n.OPS.endPath,Ce.variableArgs)xe>pe&&(0,n.info)(`Command ${Ie}: expected [0, ${pe}] args, but received ${xe} args.`);else{if(xe!==pe){const Ne=this.nonProcessedArgs;for(;xe>pe;)Ne.push(ye.shift()),xe--;for(;xehe.MAX_INVALID_PATH_OPS)throw new n.FormatError(`Invalid ${Ne}`);(0,n.warn)(`Skipping ${Ne}`),ye!==null&&(ye.length=0);continue}}return this.preprocessCommand(oe,ye),_e.fn=oe,_e.args=ye,!0}if(se===R.EOF)return!1;if(se!==null&&(ye===null&&(ye=[]),ye.push(se),ye.length>33))throw new n.FormatError("Too many arguments")}}preprocessCommand(_e,ye){switch(_e|0){case n.OPS.save:this.stateManager.save();break;case n.OPS.restore:this.stateManager.restore();break;case n.OPS.transform:this.stateManager.transform(ye);break}}}a.EvaluatorPreprocessor=he},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.IdentityCMap=a.CMapFactory=a.CMap=void 0;var n=g(2),c=g(130),R=g(132),v=g(142),e=g(131),L=g(135);const O=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],B=2**24-1;class P{constructor(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=D}addCodespaceRange(D,M,F){this.codespaceRanges[D-1].push(M,F),this.numCodespaceRanges++}mapCidRange(D,M,F){if(M-D>B)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;D<=M;)this._map[D++]=F++}mapBfRange(D,M,F){if(M-D>B)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const N=F.length-1;for(;D<=M;){this._map[D++]=F;const G=F.charCodeAt(N)+1;if(G>255){F=F.substring(0,N-1)+String.fromCharCode(F.charCodeAt(N-1)+1)+"\0";continue}F=F.substring(0,N)+String.fromCharCode(G)}}mapBfRangeToArray(D,M,F){if(M-D>B)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const N=F.length;let G=0;for(;D<=M&&G>>0;const Y=G[W];for(let V=0,H=Y.length;V=z&&N<=X){F.charcode=N,F.length=W+1;return}}}F.charcode=0,F.length=1}getCharCodeLength(D){const M=this.codespaceRanges;for(let F=0,N=M.length;F=Y&&D<=V)return F+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if(!(this.name==="Identity-H"||this.name==="Identity-V")||this._map.length!==65536)return!1;for(let D=0;D<65536;D++)if(this._map[D]!==D)return!1;return!0}}a.CMap=P;class S extends P{constructor(D,M){super(),this.vertical=D,this.addCodespaceRange(M,0,65535)}mapCidRange(D,M,F){(0,n.unreachable)("should not call mapCidRange")}mapBfRange(D,M,F){(0,n.unreachable)("should not call mapBfRange")}mapBfRangeToArray(D,M,F){(0,n.unreachable)("should not call mapBfRangeToArray")}mapOne(D,M){(0,n.unreachable)("should not call mapCidOne")}lookup(D){return Number.isInteger(D)&&D<=65535?D:void 0}contains(D){return Number.isInteger(D)&&D<=65535}forEach(D){for(let M=0;M<=65535;M++)D(M,M)}charCodeOf(D){return Number.isInteger(D)&&D<=65535?D:-1}getMap(){const D=new Array(65536);for(let M=0;M<=65535;M++)D[M]=M;return D}get length(){return 65536}get isIdentityCMap(){(0,n.unreachable)("should not access .isIdentityCMap")}}a.IdentityCMap=S;const _=function(){function D(V,H){let z=0;for(let X=0;X<=H;X++)z=z<<8|V[X];return z>>>0}function M(V,H){return H===1?String.fromCharCode(V[0],V[1]):H===3?String.fromCharCode(V[0],V[1],V[2],V[3]):String.fromCharCode.apply(null,V.subarray(0,H+1))}function F(V,H,z){let X=0;for(let q=z;q>=0;q--)X+=V[q]+H[q],V[q]=X&255,X>>=8}function N(V,H){let z=1;for(let X=H;X>=0&&z>0;X--)z+=V[X],V[X]=z&255,z>>=8}const G=16,W=19;class J{constructor(H){this.buffer=H,this.pos=0,this.end=H.length,this.tmpBuf=new Uint8Array(W)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let H=0,z;do{const X=this.readByte();if(X<0)throw new n.FormatError("unexpected EOF in bcmap");z=!(X&128),H=H<<7|X&127}while(!z);return H}readSigned(){const H=this.readNumber();return H&1?~(H>>>1):H>>>1}readHex(H,z){H.set(this.buffer.subarray(this.pos,this.pos+z+1)),this.pos+=z+1}readHexNumber(H,z){let X;const q=this.tmpBuf;let $=0;do{const Te=this.readByte();if(Te<0)throw new n.FormatError("unexpected EOF in bcmap");X=!(Te&128),q[$++]=Te&127}while(!X);let fe=z,Q=0,ie=0;for(;fe>=0;){for(;ie<8&&q.length>0;)Q|=q[--$]<>=8,ie-=8}}readHexSigned(H,z){this.readHexNumber(H,z);const X=H[z]&1?255:0;let q=0;for(let $=0;$<=z;$++)q=(q&1)<<8|H[$],H[$]=q>>1^X}readString(){const H=this.readNumber();let z="";for(let X=0;X=0;){const Z=de>>5;if(Z===7){switch(de&31){case 0:q.readString();break;case 1:fe=q.readString();break}continue}const ae=!!(de&16),he=de&15;if(he+1>G)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const we=1,_e=q.readNumber();switch(Z){case 0:q.readHex(Q,he),q.readHexNumber(ie,he),F(ie,Q,he),z.addCodespaceRange(he+1,D(Q,he),D(ie,he));for(let ye=1;ye<_e;ye++)N(ie,he),q.readHexNumber(Q,he),F(Q,ie,he),q.readHexNumber(ie,he),F(ie,Q,he),z.addCodespaceRange(he+1,D(Q,he),D(ie,he));break;case 1:q.readHex(Q,he),q.readHexNumber(ie,he),F(ie,Q,he),q.readNumber();for(let ye=1;ye<_e;ye++)N(ie,he),q.readHexNumber(Q,he),F(Q,ie,he),q.readHexNumber(ie,he),F(ie,Q,he),q.readNumber();break;case 2:q.readHex(Te,he),ce=q.readNumber(),z.mapOne(D(Te,he),ce);for(let ye=1;ye<_e;ye++)N(Te,he),ae||(q.readHexNumber(K,he),F(Te,K,he)),ce=q.readSigned()+(ce+1),z.mapOne(D(Te,he),ce);break;case 3:q.readHex(Q,he),q.readHexNumber(ie,he),F(ie,Q,he),ce=q.readNumber(),z.mapCidRange(D(Q,he),D(ie,he),ce);for(let ye=1;ye<_e;ye++)N(ie,he),ae?Q.set(ie):(q.readHexNumber(Q,he),F(Q,ie,he)),q.readHexNumber(ie,he),F(ie,Q,he),ce=q.readNumber(),z.mapCidRange(D(Q,he),D(ie,he),ce);break;case 4:q.readHex(Te,we),q.readHex(me,he),z.mapOne(D(Te,we),M(me,he));for(let ye=1;ye<_e;ye++)N(Te,we),ae||(q.readHexNumber(K,we),F(Te,K,we)),N(me,he),q.readHexSigned(K,he),F(me,K,he),z.mapOne(D(Te,we),M(me,he));break;case 5:q.readHex(Q,we),q.readHexNumber(ie,we),F(ie,Q,we),q.readHex(me,he),z.mapBfRange(D(Q,we),D(ie,we),M(me,he));for(let ye=1;ye<_e;ye++)N(ie,we),ae?Q.set(ie):(q.readHexNumber(Q,we),F(Q,ie,we)),q.readHexNumber(ie,we),F(ie,Q,we),q.readHex(me,he),z.mapBfRange(D(Q,we),D(ie,we),M(me,he));break;default:throw new Error(`BinaryCMapReader.process - unknown type: ${Z}`)}}return fe?X(fe):z}}return Y}(),l=function(){function D($){let fe=0;for(let Q=0;Q<$.length;Q++)fe=fe<<8|$.charCodeAt(Q);return fe>>>0}function M($){if(typeof $!="string")throw new n.FormatError("Malformed CMap: expected string.")}function F($){if(!Number.isInteger($))throw new n.FormatError("Malformed CMap: expected int.")}function N($,fe){for(;;){let Q=fe.getObj();if(Q===c.EOF)break;if((0,c.isCmd)(Q,"endbfchar"))return;M(Q);const ie=D(Q);Q=fe.getObj(),M(Q);const Te=Q;$.mapOne(ie,Te)}}function G($,fe){for(;;){let Q=fe.getObj();if(Q===c.EOF)break;if((0,c.isCmd)(Q,"endbfrange"))return;M(Q);const ie=D(Q);Q=fe.getObj(),M(Q);const Te=D(Q);if(Q=fe.getObj(),Number.isInteger(Q)||typeof Q=="string"){const me=Number.isInteger(Q)?String.fromCharCode(Q):Q;$.mapBfRange(ie,Te,me)}else if((0,c.isCmd)(Q,"[")){Q=fe.getObj();const me=[];for(;!(0,c.isCmd)(Q,"]")&&Q!==c.EOF;)me.push(Q),Q=fe.getObj();$.mapBfRangeToArray(ie,Te,me)}else break}throw new n.FormatError("Invalid bf range.")}function W($,fe){for(;;){let Q=fe.getObj();if(Q===c.EOF)break;if((0,c.isCmd)(Q,"endcidchar"))return;M(Q);const ie=D(Q);Q=fe.getObj(),F(Q);const Te=Q;$.mapOne(ie,Te)}}function J($,fe){for(;;){let Q=fe.getObj();if(Q===c.EOF)break;if((0,c.isCmd)(Q,"endcidrange"))return;M(Q);const ie=D(Q);Q=fe.getObj(),M(Q);const Te=D(Q);Q=fe.getObj(),F(Q);const me=Q;$.mapCidRange(ie,Te,me)}}function Y($,fe){for(;;){let Q=fe.getObj();if(Q===c.EOF)break;if((0,c.isCmd)(Q,"endcodespacerange"))return;if(typeof Q!="string")break;const ie=D(Q);if(Q=fe.getObj(),typeof Q!="string")break;const Te=D(Q);$.addCodespaceRange(Q.length,ie,Te)}throw new n.FormatError("Invalid codespace range.")}function V($,fe){const Q=fe.getObj();Number.isInteger(Q)&&($.vertical=!!Q)}function H($,fe){const Q=fe.getObj();Q instanceof c.Name&&($.name=Q.name)}async function z($,fe,Q,ie){let Te,me;e:for(;;)try{const K=fe.getObj();if(K===c.EOF)break;if(K instanceof c.Name)K.name==="WMode"?V($,fe):K.name==="CMapName"&&H($,fe),Te=K;else if(K instanceof c.Cmd)switch(K.cmd){case"endcmap":break e;case"usecmap":Te instanceof c.Name&&(me=Te.name);break;case"begincodespacerange":Y($,fe);break;case"beginbfchar":N($,fe);break;case"begincidchar":W($,fe);break;case"beginbfrange":G($,fe);break;case"begincidrange":J($,fe);break}}catch(K){if(K instanceof e.MissingDataException)throw K;(0,n.warn)("Invalid cMap data: "+K);continue}return!ie&&me&&(ie=me),ie?X($,Q,ie):$}async function X($,fe,Q){if($.useCMap=await q(Q,fe),$.numCodespaceRanges===0){const ie=$.useCMap.codespaceRanges;for(let Te=0;TeX(Te,fe,me));if(ie===n.CMapCompressionType.NONE){const me=new v.Lexer(new L.Stream(Q));return z(Te,me,fe,null)}throw new Error("TODO: Only BINARY/NONE CMap compression is currently supported.")}return{async create($){const fe=$.encoding,Q=$.fetchBuiltInCMap,ie=$.useCMap;if(fe instanceof c.Name)return q(fe.name,Q);if(fe instanceof R.BaseStream){const Te=await z(new P,new v.Lexer(fe),Q,ie);return Te.isIdentityCMap?q(Te.name,Q):Te}throw new Error("Encoding required.")}}}();a.CMapFactory=l},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Parser=a.Linearization=a.Lexer=void 0;var n=g(2),c=g(130),R=g(131),v=g(143),e=g(145),L=g(146),O=g(148),B=g(149),P=g(152),S=g(154),_=g(156),l=g(135),y=g(157),D=g(158);const M=1e3,F=5552;function N(H){const z=H.length;let X=1,q=0;for(let $=0;$0&&arguments[0]!==void 0?arguments[0]:null;const X=this.buf1;if(this.shift(),X instanceof c.Cmd)switch(X.cmd){case"BI":return this.makeInlineImage(z);case"[":const q=[];for(;!(0,c.isCmd)(this.buf1,"]")&&this.buf1!==c.EOF;)q.push(this.getObj(z));if(this.buf1===c.EOF){if(this.recoveryMode)return q;throw new R.ParserEOFException("End of file inside array.")}return this.shift(),q;case"<<":const $=new c.Dict(this.xref);for(;!(0,c.isCmd)(this.buf1,">>")&&this.buf1!==c.EOF;){if(!(this.buf1 instanceof c.Name)){(0,n.info)("Malformed dictionary: key must be a name object"),this.shift();continue}const fe=this.buf1.name;if(this.shift(),this.buf1===c.EOF)break;$.set(fe,this.getObj(z))}if(this.buf1===c.EOF){if(this.recoveryMode)return $;throw new R.ParserEOFException("End of file inside dictionary.")}return(0,c.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream($,z):$:(this.shift(),$);default:return X}if(Number.isInteger(X)){if(Number.isInteger(this.buf1)&&(0,c.isCmd)(this.buf2,"R")){const q=c.Ref.get(X,this.buf1);return this.shift(),this.shift(),q}return X}return typeof X=="string"&&z?z.decryptString(X):X}findDefaultInlineStreamEnd(z){const Te=this.lexer,me=z.pos,K=10;let ce=0,de,Z;for(;(de=z.getByte())!==-1;)if(ce===0)ce=de===69?1:0;else if(ce===1)ce=de===73?2:0;else if((0,n.assert)(ce===2,"findDefaultInlineStreamEnd - invalid state."),de===32||de===10||de===13){Z=z.pos;const he=z.peekBytes(K);for(let we=0,_e=he.length;we<_e;we++)if(de=he[we],!(de===0&&he[we+1]!==0)&&de!==10&&de!==13&&(de<32||de>127)){ce=0;break}if(ce!==2)continue;if(Te.knownCommands){const we=Te.peekObj();we instanceof c.Cmd&&!Te.knownCommands[we.cmd]&&(ce=0)}else(0,n.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");if(ce===2)break}else ce=0;de===-1&&((0,n.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),Z&&((0,n.warn)('... trying to recover by using the last "EI" occurrence.'),z.skip(-(z.pos-Z))));let ae=4;return z.skip(-ae),de=z.peekByte(),z.skip(ae),(0,R.isWhiteSpace)(de)||ae--,z.pos-ae-me}findDCTDecodeInlineStreamEnd(z){const X=z.pos;let q=!1,$,fe;for(;($=z.getByte())!==-1;)if($===255){switch(z.getByte()){case 0:break;case 255:z.skip(-1);break;case 217:q=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:fe=z.getUint16(),fe>2?z.skip(fe-2):z.skip(-2);break}if(q)break}const Q=z.pos-X;return $===-1?((0,n.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),z.skip(-Q),this.findDefaultInlineStreamEnd(z)):(this.inlineStreamSkipEI(z),Q)}findASCII85DecodeInlineStreamEnd(z){const $=z.pos;let fe;for(;(fe=z.getByte())!==-1;)if(fe===126){const ie=z.pos;for(fe=z.peekByte();(0,R.isWhiteSpace)(fe);)z.skip(),fe=z.peekByte();if(fe===62){z.skip();break}if(z.pos>ie){const Te=z.peekBytes(2);if(Te[0]===69&&Te[1]===73)break}}const Q=z.pos-$;return fe===-1?((0,n.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),z.skip(-Q),this.findDefaultInlineStreamEnd(z)):(this.inlineStreamSkipEI(z),Q)}findASCIIHexDecodeInlineStreamEnd(z){const q=z.pos;let $;for(;($=z.getByte())!==-1&&$!==62;);const fe=z.pos-q;return $===-1?((0,n.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),z.skip(-fe),this.findDefaultInlineStreamEnd(z)):(this.inlineStreamSkipEI(z),fe)}inlineStreamSkipEI(z){let $=0,fe;for(;(fe=z.getByte())!==-1;)if($===0)$=fe===69?1:0;else if($===1)$=fe===73?2:0;else if($===2)break}makeInlineImage(z){const X=this.lexer,q=X.stream,$=new c.Dict(this.xref);let fe;for(;!(0,c.isCmd)(this.buf1,"ID")&&this.buf1!==c.EOF;){if(!(this.buf1 instanceof c.Name))throw new n.FormatError("Dictionary key must be a name object");const de=this.buf1.name;if(this.shift(),this.buf1===c.EOF)break;$.set(de,this.getObj(z))}X.beginInlineImagePos!==-1&&(fe=q.pos-X.beginInlineImagePos);const Q=$.get("F","Filter");let ie;if(Q instanceof c.Name)ie=Q.name;else if(Array.isArray(Q)){const de=this.xref.fetchIfRef(Q[0]);de instanceof c.Name&&(ie=de.name)}const Te=q.pos;let me;switch(ie){case"DCT":case"DCTDecode":me=this.findDCTDecodeInlineStreamEnd(q);break;case"A85":case"ASCII85Decode":me=this.findASCII85DecodeInlineStreamEnd(q);break;case"AHx":case"ASCIIHexDecode":me=this.findASCIIHexDecodeInlineStreamEnd(q);break;default:me=this.findDefaultInlineStreamEnd(q)}let K=q.makeSubStream(Te,me,$),ce;if(me=fe)return q.pos+=Te,q.pos-z;Te++}q.pos+=ie}return-1}makeStream(z,X){const q=this.lexer;let $=q.stream;q.skipToNextLine();const fe=$.pos-1;let Q=z.get("Length");if(Number.isInteger(Q)||((0,n.info)(`Bad length "${Q&&Q.toString()}" in stream.`),Q=0),$.pos=fe+Q,q.nextChar(),this.tryShift()&&(0,c.isCmd)(this.buf2,"endstream"))this.shift();else{const ie=new Uint8Array([101,110,100,115,116,114,101,97,109]);let Te=this._findStreamLength(fe,ie);if(Te<0){for(let K=1;K<=1;K++){const ce=ie.length-K,de=ie.slice(0,ce),Z=this._findStreamLength(fe,de);if(Z>=0){const ae=$.peekBytes(ce+1)[ce];if(!(0,R.isWhiteSpace)(ae))break;(0,n.info)(`Found "${(0,n.bytesToString)(de)}" when searching for endstream command.`),Te=Z;break}}if(Te<0)throw new n.FormatError("Missing endstream command.")}Q=Te,q.nextChar(),this.shift(),this.shift()}return this.shift(),$=$.makeSubStream(fe,Q,z),X&&($=X.createStream($,Q)),$=this.filter($,z,Q),$.dict=z,$}filter(z,X,q){let $=X.get("F","Filter"),fe=X.get("DP","DecodeParms");if($ instanceof c.Name)return Array.isArray(fe)&&(0,n.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(z,$.name,q,fe);let Q=q;if(Array.isArray($)){const ie=$,Te=fe;for(let me=0,K=ie.length;me=48&&H<=57?H&15:H>=65&&H<=70||H>=97&&H<=102?(H&15)+9:-1}class Y{constructor(z){let X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.stream=z,this.nextChar(),this.strBuf=[],this.knownCommands=X,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let z=this.currentChar,X=!1,q=0,$=0;if(z===45?($=-1,z=this.nextChar(),z===45&&(z=this.nextChar())):z===43&&($=1,z=this.nextChar()),z===10||z===13)do z=this.nextChar();while(z===10||z===13);if(z===46&&(q=10,z=this.nextChar()),z<48||z>57){if((0,R.isWhiteSpace)(z)||z===-1){if(q===10&&$===0)return(0,n.warn)("Lexer.getNumber - treating a single decimal point as zero."),0;if(q===0&&$===-1)return(0,n.warn)("Lexer.getNumber - treating a single minus sign as zero."),0}throw new n.FormatError(`Invalid number: ${String.fromCharCode(z)} (charCode ${z})`)}$=$||1;let fe=z-48,Q=0,ie=1;for(;(z=this.nextChar())>=0;)if(z>=48&&z<=57){const Te=z-48;X?Q=Q*10+Te:(q!==0&&(q*=10),fe=fe*10+Te)}else if(z===46)if(q===0)q=1;else break;else if(z===45)(0,n.warn)("Badly formatted number: minus sign in the middle");else if(z===69||z===101){if(z=this.peekChar(),z===43||z===45)ie=z===45?-1:1,this.nextChar();else if(z<48||z>57)break;X=!0}else break;return q!==0&&(fe/=q),X&&(fe*=10**(ie*Q)),$*fe}getString(){let z=1,X=!1;const q=this.strBuf;q.length=0;let $=this.nextChar();for(;;){let fe=!1;switch($|0){case-1:(0,n.warn)("Unterminated string"),X=!0;break;case 40:++z,q.push("(");break;case 41:--z===0?(this.nextChar(),X=!0):q.push(")");break;case 92:switch($=this.nextChar(),$){case-1:(0,n.warn)("Unterminated string"),X=!0;break;case 110:q.push(` +`);break;case 114:q.push("\r");break;case 116:q.push(" ");break;case 98:q.push("\b");break;case 102:q.push("\f");break;case 92:case 40:case 41:q.push(String.fromCharCode($));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let Q=$&15;$=this.nextChar(),fe=!0,$>=48&&$<=55&&(Q=(Q<<3)+($&15),$=this.nextChar(),$>=48&&$<=55&&(fe=!1,Q=(Q<<3)+($&15))),q.push(String.fromCharCode(Q));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:q.push(String.fromCharCode($));break}break;default:q.push(String.fromCharCode($));break}if(X)break;fe||($=this.nextChar())}return q.join("")}getName(){let z,X;const q=this.strBuf;for(q.length=0;(z=this.nextChar())>=0&&!W[z];)if(z===35){if(z=this.nextChar(),W[z]){(0,n.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),q.push("#");break}const $=J(z);if($!==-1){X=z,z=this.nextChar();const fe=J(z);if(fe===-1){if((0,n.warn)(`Lexer_getName: Illegal digit (${String.fromCharCode(z)}) in hexadecimal number.`),q.push("#",String.fromCharCode(X)),W[z])break;q.push(String.fromCharCode(z));continue}q.push(String.fromCharCode($<<4|fe))}else q.push("#",String.fromCharCode(z))}else q.push(String.fromCharCode(z));return q.length>127&&(0,n.warn)(`Name token is longer than allowed by the spec: ${q.length}`),c.Name.get(q.join(""))}_hexStringWarn(z){if(this._hexStringNumWarn++===5){(0,n.warn)("getHexString - ignoring additional invalid characters.");return}this._hexStringNumWarn>5||(0,n.warn)(`getHexString - ignoring invalid character: ${z}`)}getHexString(){const z=this.strBuf;z.length=0;let X=this.currentChar,q=!0,$,fe;for(this._hexStringNumWarn=0;;)if(X<0){(0,n.warn)("Unterminated hex string");break}else if(X===62){this.nextChar();break}else if(W[X]===1){X=this.nextChar();continue}else{if(q){if($=J(X),$===-1){this._hexStringWarn(X),X=this.nextChar();continue}}else{if(fe=J(X),fe===-1){this._hexStringWarn(X),X=this.nextChar();continue}z.push(String.fromCharCode($<<4|fe))}q=!q,X=this.nextChar()}return z.join("")}getObj(){let z=!1,X=this.currentChar;for(;;){if(X<0)return c.EOF;if(z)(X===10||X===13)&&(z=!1);else if(X===37)z=!0;else if(W[X]!==1)break;X=this.nextChar()}switch(X|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),c.Cmd.get("[");case 93:return this.nextChar(),c.Cmd.get("]");case 60:return X=this.nextChar(),X===60?(this.nextChar(),c.Cmd.get("<<")):this.getHexString();case 62:return X=this.nextChar(),X===62?(this.nextChar(),c.Cmd.get(">>")):c.Cmd.get(">");case 123:return this.nextChar(),c.Cmd.get("{");case 125:return this.nextChar(),c.Cmd.get("}");case 41:throw this.nextChar(),new n.FormatError(`Illegal character: ${X}`)}let q=String.fromCharCode(X);if(X<32||X>127){const Q=this.peekChar();if(Q>=32&&Q<=127)return this.nextChar(),c.Cmd.get(q)}const $=this.knownCommands;let fe=$&&$[q]!==void 0;for(;(X=this.nextChar())>=0&&!W[X];){const Q=q+String.fromCharCode(X);if(fe&&$[Q]===void 0)break;if(q.length===128)throw new n.FormatError(`Command token too long: ${q.length}`);q=Q,fe=$&&$[q]!==void 0}return q==="true"?!0:q==="false"?!1:q==="null"?null:(q==="BI"&&(this.beginInlineImagePos=this.stream.pos),c.Cmd.get(q))}peekObj(){const z=this.stream.pos,X=this.currentChar,q=this.beginInlineImagePos;let $;try{$=this.getObj()}catch(fe){if(fe instanceof R.MissingDataException)throw fe;(0,n.warn)(`peekObj: ${fe}`)}return this.stream.pos=z,this.currentChar=X,this.beginInlineImagePos=q,$}skipToNextLine(){let z=this.currentChar;for(;z>=0;){if(z===13){z=this.nextChar(),z===10&&this.nextChar();break}else if(z===10){this.nextChar();break}z=this.nextChar()}}}a.Lexer=Y;class V{static create(z){function X(ce,de){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const ae=ce.get(de);if(Number.isInteger(ae)&&(Z?ae>=0:ae>0))return ae;throw new Error(`The "${de}" parameter in the linearization dictionary is invalid.`)}function q(ce){const de=ce.get("H");let Z;if(Array.isArray(de)&&((Z=de.length)===2||Z===4)){for(let ae=0;ae0))throw new Error(`Hint (${ae}) in the linearization dictionary is invalid.`)}return de}throw new Error("Hint array in the linearization dictionary is invalid.")}const $=new G({lexer:new Y(z),xref:null}),fe=$.getObj(),Q=$.getObj(),ie=$.getObj(),Te=$.getObj();let me,K;if(Number.isInteger(fe)&&Number.isInteger(Q)&&(0,c.isCmd)(ie,"obj")&&Te instanceof c.Dict&&typeof(me=Te.get("Linearized"))=="number"&&me>0){if((K=X(Te,"L"))!==z.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:K,hints:q(Te),objectNumberFirst:X(Te,"O"),endFirst:X(Te,"E"),numPages:X(Te,"N"),mainXRefEntriesOffset:X(Te,"T"),pageFirst:Te.has("P")?X(Te,"P",!0):0}}}a.Linearization=V},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Ascii85Stream=void 0;var n=g(144),c=g(131);class R extends n.DecodeStream{constructor(e,L){L&&(L*=.8),super(L),this.str=e,this.dict=e.dict,this.input=new Uint8Array(5)}readBlock(){const B=this.str;let P=B.getByte();for(;(0,c.isWhiteSpace)(P);)P=B.getByte();if(P===-1||P===126){this.eof=!0;return}const S=this.bufferLength;let _,l;if(P===122){for(_=this.ensureBuffer(S+4),l=0;l<4;++l)_[S+l]=0;this.bufferLength+=4}else{const y=this.input;for(y[0]=P,l=1;l<5;++l){for(P=B.getByte();(0,c.isWhiteSpace)(P);)P=B.getByte();if(y[l]=P,P===-1||P===126)break}if(_=this.ensureBuffer(S+l-1),this.bufferLength+=l-1,l<5){for(;l<5;++l)y[l]=117;this.eof=!0}let D=0;for(l=0;l<5;++l)D=D*85+(y[l]-33);for(l=3;l>=0;--l)_[S+l]=D&255,D>>=8}}}a.Ascii85Stream=R},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.StreamsSequenceStream=a.DecodeStream=void 0;var n=g(132),c=g(135);const R=new Uint8Array(0);class v extends n.BaseStream{constructor(O){if(super(),this._rawMinBufferLength=O||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=R,this.minBufferLength=512,O)for(;this.minBufferLengthS&&(P=S)}else{for(;!this.eof;)this.readBlock();P=this.bufferLength}return this.pos=P,this.buffer.subarray(B,P)}reset(){this.pos=0}makeSubStream(O,B){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(B===void 0)for(;!this.eof;)this.readBlock();else{const S=O+B;for(;this.bufferLength<=S&&!this.eof;)this.readBlock()}return new c.Stream(this.buffer,O,B,P)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}a.DecodeStream=v;class e extends v{constructor(O){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,P=0;for(const S of O)P+=S instanceof v?S._rawMinBufferLength:S.length;super(P),this.streams=O,this._onError=B}readBlock(){const O=this.streams;if(O.length===0){this.eof=!0;return}const B=O.shift();let P;try{P=B.getBytes()}catch(y){if(this._onError){this._onError(y,B.dict&&B.dict.objId);return}throw y}const S=this.bufferLength,_=S+P.length;this.ensureBuffer(_).set(P,S),this.bufferLength=_}getBaseStreams(){const O=[];for(const B of this.streams){const P=B.getBaseStreams();P&&O.push(...P)}return O.length>0?O:null}}a.StreamsSequenceStream=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.AsciiHexStream=void 0;var n=g(144);class c extends n.DecodeStream{constructor(v,e){e&&(e*=.5),super(e),this.str=v,this.dict=v.dict,this.firstDigit=-1}readBlock(){const e=this.str.getBytes(8e3);if(!e.length){this.eof=!0;return}const L=e.length+1>>1,O=this.ensureBuffer(this.bufferLength+L);let B=this.bufferLength,P=this.firstDigit;for(const S of e){let _;if(S>=48&&S<=57)_=S&15;else if(S>=65&&S<=70||S>=97&&S<=102)_=(S&15)+9;else if(S===62){this.eof=!0;break}else continue;P<0?P=_:(O[B++]=P<<4|_,P=-1)}P>=0&&this.eof&&(O[B++]=P<<4,P=-1),this.firstDigit=P,this.bufferLength=B}}a.AsciiHexStream=c},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CCITTFaxStream=void 0;var n=g(147),c=g(144),R=g(130);class v extends c.DecodeStream{constructor(L,O,B){super(O),this.str=L,this.dict=L.dict,B instanceof R.Dict||(B=R.Dict.empty);const P={next(){return L.getByte()}};this.ccittFaxDecoder=new n.CCITTFaxDecoder(P,{K:B.get("K"),EndOfLine:B.get("EndOfLine"),EncodedByteAlign:B.get("EncodedByteAlign"),Columns:B.get("Columns"),Rows:B.get("Rows"),EndOfBlock:B.get("EndOfBlock"),BlackIs1:B.get("BlackIs1")})}readBlock(){for(;!this.eof;){const L=this.ccittFaxDecoder.readNextChar();if(L===-1){this.eof=!0;return}this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=L}}}a.CCITTFaxStream=v},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CCITTFaxDecoder=void 0;var n=g(2);const c=-2,R=-1,v=0,e=1,L=2,O=3,B=4,P=5,S=6,_=7,l=8,y=[[-1,-1],[-1,-1],[7,l],[7,_],[6,S],[6,S],[6,P],[6,P],[4,v],[4,v],[4,v],[4,v],[4,v],[4,v],[4,v],[4,v],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,B],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[3,O],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L],[1,L]],D=[[-1,-1],[12,c],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],M=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],F=[[-1,-1],[-1,-1],[12,c],[12,c],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],N=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],G=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];class W{constructor(Y){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Y||typeof Y.next!="function")throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=Y,this.eof=!1,this.encoding=V.K||0,this.eoline=V.EndOfLine||!1,this.byteAlign=V.EncodedByteAlign||!1,this.columns=V.Columns||1728,this.rows=V.Rows||0;let H=V.EndOfBlock;H==null&&(H=!0),this.eoblock=H,this.black=V.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;let z;for(;(z=this._lookBits(12))===0;)this._eatBits(1);z===1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;const Y=this.refLine,V=this.codingLine,H=this.columns;let z,X,q,$;if(this.outputBits===0){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;let Q,ie,Te;if(this.nextLine2D){for($=0;V[$]=64);do ie+=Te=this._getWhiteCode();while(Te>=64)}else{do Q+=Te=this._getWhiteCode();while(Te>=64);do ie+=Te=this._getBlackCode();while(Te>=64)}for(this._addPixels(V[this.codingPos]+Q,X),V[this.codingPos]0?--z:++z;Y[z]<=V[this.codingPos]&&Y[z]0?--z:++z;Y[z]<=V[this.codingPos]&&Y[z]0?--z:++z;Y[z]<=V[this.codingPos]&&Y[z]=64);else do Q+=Te=this._getWhiteCode();while(Te>=64);this._addPixels(V[this.codingPos]+Q,X),X^=1}let me=!1;if(this.byteAlign&&(this.inputBits&=-8),!this.eoblock&&this.row===this.rows-1)this.rowsDone=!0;else{if(Q=this._lookBits(12),this.eoline)for(;Q!==R&&Q!==1;)this._eatBits(1),Q=this._lookBits(12);else for(;Q===0;)this._eatBits(1),Q=this._lookBits(12);Q===1?(this._eatBits(12),me=!0):Q===R&&(this.eof=!0)}if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&me&&this.byteAlign){if(Q=this._lookBits(12),Q===1){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for($=0;$<4;++$)Q=this._lookBits(12),Q!==1&&(0,n.info)("bad rtc code: "+Q),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(Q=this._lookBits(13),Q===R)return this.eof=!0,-1;if(Q>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(Q&1))}V[0]>0?this.outputBits=V[this.codingPos=0]:this.outputBits=V[this.codingPos=1],this.row++}let fe;if(this.outputBits>=8)fe=this.codingPos&1?0:255,this.outputBits-=8,this.outputBits===0&&V[this.codingPos]q?(fe<<=q,this.codingPos&1||(fe|=255>>8-q),this.outputBits-=q,q=0):(fe<<=this.outputBits,this.codingPos&1||(fe|=255>>8-this.outputBits),q-=this.outputBits,this.outputBits=0,V[this.codingPos]0&&(fe<<=q,q=0))}while(q)}return this.black&&(fe^=255),fe}_addPixels(Y,V){const H=this.codingLine;let z=this.codingPos;Y>H[z]&&(Y>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,Y=this.columns),z&1^V&&++z,H[z]=Y),this.codingPos=z}_addPixelsNeg(Y,V){const H=this.codingLine;let z=this.codingPos;if(Y>H[z])Y>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,Y=this.columns),z&1^V&&++z,H[z]=Y;else if(Y0&&Y=X){const fe=H[$-X];if(fe[0]===q)return this._eatBits(q),[!0,fe[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let Y=0,V;if(this.eoblock){if(Y=this._lookBits(7),V=y[Y],V&&V[0]>0)return this._eatBits(V[0]),V[1]}else{const H=this._findTableCode(1,7,y);if(H[0]&&H[2])return H[1]}return(0,n.info)("Bad two dim code"),R}_getWhiteCode(){let Y=0,V;if(this.eoblock){if(Y=this._lookBits(12),Y===R)return 1;if(Y>>5?V=M[Y>>3]:V=D[Y],V[0]>0)return this._eatBits(V[0]),V[1]}else{let H=this._findTableCode(1,9,M);if(H[0]||(H=this._findTableCode(11,12,D),H[0]))return H[1]}return(0,n.info)("bad white code"),this._eatBits(1),1}_getBlackCode(){let Y,V;if(this.eoblock){if(Y=this._lookBits(13),Y===R)return 1;if(Y>>7?!(Y>>9)&&Y>>7?V=N[(Y>>1)-64]:V=G[Y>>7]:V=F[Y],V[0]>0)return this._eatBits(V[0]),V[1]}else{let H=this._findTableCode(2,6,G);if(H[0]||(H=this._findTableCode(7,12,N,64),H[0])||(H=this._findTableCode(10,13,F),H[0]))return H[1]}return(0,n.info)("bad black code"),this._eatBits(1),1}_lookBits(Y){let V;for(;this.inputBits>16-Y;this.inputBuf=this.inputBuf<<8|V,this.inputBits+=8}return this.inputBuf>>this.inputBits-Y&65535>>16-Y}_eatBits(Y){(this.inputBits-=Y)<0&&(this.inputBits=0)}}a.CCITTFaxDecoder=W},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.FlateStream=void 0;var n=g(144),c=g(2);const R=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),v=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),e=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),L=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],O=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class B extends n.DecodeStream{constructor(S,_){super(_),this.str=S,this.dict=S.dict;const l=S.getByte(),y=S.getByte();if(l===-1||y===-1)throw new c.FormatError(`Invalid header in flate stream: ${l}, ${y}`);if((l&15)!==8)throw new c.FormatError(`Unknown compression method in flate stream: ${l}, ${y}`);if(((l<<8)+y)%31!==0)throw new c.FormatError(`Bad FCHECK in flate stream: ${l}, ${y}`);if(y&32)throw new c.FormatError(`FDICT bit set in flate stream: ${l}, ${y}`);this.codeSize=0,this.codeBuf=0}getBits(S){const _=this.str;let l=this.codeSize,y=this.codeBuf,D;for(;l>S,this.codeSize=l-=S,D}getCode(S){const _=this.str,l=S[0],y=S[1];let D=this.codeSize,M=this.codeBuf,F;for(;D>16,W=N&65535;if(G<1||D>G,this.codeSize=D-G,W}generateHuffmanTable(S){const _=S.length;let l=0,y;for(y=0;y<_;++y)S[y]>l&&(l=S[y]);const D=1<>=1;for(y=J;y>=1,y===0){let G;if((G=l.getByte())===-1)throw new c.FormatError("Bad block header in flate stream");let W=G;if((G=l.getByte())===-1)throw new c.FormatError("Bad block header in flate stream");if(W|=G<<8,(G=l.getByte())===-1)throw new c.FormatError("Bad block header in flate stream");let J=G;if((G=l.getByte())===-1)throw new c.FormatError("Bad block header in flate stream");if(J|=G<<8,J!==(~W&65535)&&(W!==0||J!==0))throw new c.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const Y=this.bufferLength,V=Y+W;if(S=this.ensureBuffer(V),this.bufferLength=V,W===0)l.peekByte()===-1&&(this.eof=!0);else{const H=l.getBytes(W);S.set(H,Y),H.length0;)X[V++]=fe}D=this.generateHuffmanTable(X.subarray(0,G)),M=this.generateHuffmanTable(X.subarray(G,z))}else throw new c.FormatError("Unknown block type in flate stream");S=this.buffer;let F=S?S.length:0,N=this.bufferLength;for(;;){let G=this.getCode(D);if(G<256){N+1>=F&&(S=this.ensureBuffer(N+1),F=S.length),S[N++]=G;continue}if(G===256){this.bufferLength=N;return}G-=257,G=v[G];let W=G>>16;W>0&&(W=this.getBits(W)),_=(G&65535)+W,G=this.getCode(M),G=e[G],W=G>>16,W>0&&(W=this.getBits(W));const J=(G&65535)+W;N+_>=F&&(S=this.ensureBuffer(N+_),F=S.length);for(let Y=0;Y<_;++Y,++N)S[N]=S[N-J]}}}a.FlateStream=B},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Jbig2Stream=void 0;var n=g(132),c=g(144),R=g(130),v=g(150),e=g(2);class L extends c.DecodeStream{constructor(B,P,S){super(P),this.stream=B,this.dict=B.dict,this.maybeLength=P,this.params=S}get bytes(){return(0,e.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(B){}readBlock(){if(this.eof)return;const B=new v.Jbig2Image,P=[];if(this.params instanceof R.Dict){const l=this.params.get("JBIG2Globals");if(l instanceof n.BaseStream){const y=l.getBytes();P.push({data:y,start:0,end:y.length})}}P.push({data:this.bytes,start:0,end:this.bytes.length});const S=B.parseChunks(P),_=S.length;for(let l=0;l<_;l++)S[l]^=255;this.buffer=S,this.bufferLength=_,this.eof=!0}}a.Jbig2Stream=L},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Jbig2Image=void 0;var n=g(2),c=g(131),R=g(151),v=g(147);class e extends n.BaseException{constructor(Ce){super(`JBIG2 error: ${Ce}`,"Jbig2Error")}}class L{getContexts(Ce){return Ce in this?this[Ce]:this[Ce]=new Int8Array(65536)}}class O{constructor(Ce,oe,pe){this.data=Ce,this.start=oe,this.end=pe}get decoder(){const Ce=new R.ArithmeticDecoder(this.data,this.start,this.end);return(0,n.shadow)(this,"decoder",Ce)}get contextCache(){const Ce=new L;return(0,n.shadow)(this,"contextCache",Ce)}}function B(Ie,Ce,oe){const pe=Ie.getContexts(Ce);let xe=1;function Ne(Fe){let Pe=0;for(let qe=0;qe>>0}const ke=Ne(1),De=Ne(1)?Ne(1)?Ne(1)?Ne(1)?Ne(1)?Ne(32)+4436:Ne(12)+340:Ne(8)+84:Ne(6)+20:Ne(4)+4:Ne(2);return ke===0?De:De>0?-De:null}function P(Ie,Ce,oe){const pe=Ie.getContexts("IAID");let xe=1;for(let Ne=0;Ne=Je&&_t=nt)for(ut=ut<<1&Ae,Qe=0;Qe=0&&Ct=0&&(rt=Xe[ft][Ct],rt&&(ut|=rt<=Ie?ze<<=1:ze=ze<<1|et[ot][Xe];for(Ee=0;Ee=Qe||Xe<0||Xe>=He?ze<<=1:ze=ze<<1|pe[ot][Xe];const Ye=tt.readBit(je,ze);Ke[at]=Ye}}return et}function G(Ie,Ce,oe,pe,xe,Ne,ke,De,Fe,Pe,qe,Le){if(Ie&&Ce)throw new e("symbol refinement with Huffman is not supported");const Oe=[];let Ee=0,Ae=(0,c.log2)(oe.length+pe);const Ve=qe.decoder,$e=qe.contextCache;let Ue,He;for(Ie&&(Ue=de(1),He=[],Ae=Math.max(Ae,1));Oe.length1)ze=W(Ie,Ce,Ke,Ee,0,Ye,1,oe.concat(Oe),Ae,0,0,1,0,Ne,Fe,Pe,qe,0,Le);else{const st=P($e,Ve,Ae),_t=B($e,"IARDX",Ve),ft=B($e,"IARDY",Ve),Ct=st1&&(Xe=Ie?He.readBits(Ue):B(je,"IAIT",tt));const ze=ke*Je+Xe,Ye=Ie?Ee.symbolIDTable.decode(He):P(je,tt,Fe),st=Ce&&(Ie?He.readBit():B(je,"IARI",tt));let _t=De[Ye],ft=_t[0].length,Ct=_t.length;if(st){const kt=B(je,"IARDW",tt),Ut=B(je,"IARDH",tt),Ht=B(je,"IARDX",tt),Kt=B(je,"IARDY",tt);ft+=kt,Ct+=Ut,_t=N(ft,Ct,Ae,_t,(kt>>1)+Ht,(Ut>>1)+Kt,!1,Ve,$e)}const ut=ze-(Le&1?0:Ct-1),rt=ot-(Le&2?ft-1:0);let mt,Ot,dt;if(Pe){for(mt=0;mt=0;Ue--)Ie?ot=ye(at,Fe,Pe,!0):ot=F(!1,Fe,Pe,oe,!1,null,nt,Ae),Ke[Ue]=ot;let Xe,ze,Ye,st,_t,ft,Ct,ut,rt;for(Xe=0;Xe=0;He--)Ye^=Ke[He][Xe][ze],st|=Ye<>8,Ct=Le+Xe*Oe-ze*Ee>>8,ft>=0&&ft+tt<=pe&&Ct>=0&&Ct+je<=xe)for(Ue=0;Ue=xe))for(rt=$e[Ot],ut=_t[Ue],He=0;He=0&&mt>5&7;const Fe=[ke&31];let Pe=Ce+6;if(ke===7){De=(0,c.readUint32)(Ie,Pe-1)&536870911,Pe+=3;let Ae=De+7>>3;for(Fe[0]=Ie[Pe++];--Ae>0;)Fe.push(Ie[Pe++])}else if(ke===5||ke===6)throw new e("invalid referred-to flags");oe.retainBits=Fe;let qe=4;oe.number<=256?qe=1:oe.number<=65536&&(qe=2);const Le=[];let Oe,Ee;for(Oe=0;Oe>>24&255,He[3]=Ae.height>>16&255,He[4]=Ae.height>>8&255,He[5]=Ae.height&255,Oe=Pe,Ee=Ie.length;Oe>2&3,Le.huffmanDWSelector=Oe>>4&3,Le.bitmapSizeSelector=Oe>>6&1,Le.aggregationInstancesSelector=Oe>>7&1,Le.bitmapCodingContextUsed=!!(Oe&256),Le.bitmapCodingContextRetained=!!(Oe&512),Le.template=Oe>>10&3,Le.refinementTemplate=Oe>>12&1,Ne+=2,!Le.huffman){for(Pe=Le.template===0?4:1,De=[],Fe=0;Fe>2&3,Ee.stripSize=1<>4&3,Ee.transposed=!!(Ae&64),Ee.combinationOperator=Ae>>7&3,Ee.defaultPixelValue=Ae>>9&1,Ee.dsOffset=Ae<<17>>27,Ee.refinementTemplate=Ae>>15&1,Ee.huffman){const je=(0,c.readUint16)(pe,Ne);Ne+=2,Ee.huffmanFS=je&3,Ee.huffmanDS=je>>2&3,Ee.huffmanDT=je>>4&3,Ee.huffmanRefinementDW=je>>6&3,Ee.huffmanRefinementDH=je>>8&3,Ee.huffmanRefinementDX=je>>10&3,Ee.huffmanRefinementDY=je>>12&3,Ee.huffmanRefinementSizeSelector=!!(je&16384)}if(Ee.refinement&&!Ee.refinementTemplate){for(De=[],Fe=0;Fe<2;Fe++)De.push({x:(0,c.readInt8)(pe,Ne),y:(0,c.readInt8)(pe,Ne+1)}),Ne+=2;Ee.refinementAt=De}Ee.numberOfSymbolInstances=(0,c.readUint32)(pe,Ne),Ne+=4,ke=[Ee,oe.referredTo,pe,Ne,xe];break;case 16:const Ve={},$e=pe[Ne++];Ve.mmr=!!($e&1),Ve.template=$e>>1&3,Ve.patternWidth=pe[Ne++],Ve.patternHeight=pe[Ne++],Ve.maxPatternIndex=(0,c.readUint32)(pe,Ne),Ne+=4,ke=[Ve,oe.number,pe,Ne,xe];break;case 22:case 23:const Ue={};Ue.info=z(pe,Ne),Ne+=X;const He=pe[Ne++];Ue.mmr=!!(He&1),Ue.template=He>>1&3,Ue.enableSkip=!!(He&8),Ue.combinationOperator=He>>4&7,Ue.defaultPixelValue=He>>7&1,Ue.gridWidth=(0,c.readUint32)(pe,Ne),Ne+=4,Ue.gridHeight=(0,c.readUint32)(pe,Ne),Ne+=4,Ue.gridOffsetX=(0,c.readUint32)(pe,Ne)&4294967295,Ne+=4,Ue.gridOffsetY=(0,c.readUint32)(pe,Ne)&4294967295,Ne+=4,Ue.gridVectorX=(0,c.readUint16)(pe,Ne),Ne+=2,Ue.gridVectorY=(0,c.readUint16)(pe,Ne),Ne+=2,ke=[Ue,oe.referredTo,pe,Ne,xe];break;case 38:case 39:const Qe={};Qe.info=z(pe,Ne),Ne+=X;const Ze=pe[Ne++];if(Qe.mmr=!!(Ze&1),Qe.template=Ze>>1&3,Qe.prediction=!!(Ze&8),!Qe.mmr){for(Pe=Qe.template===0?4:1,De=[],Fe=0;Fe>2&1,et.combinationOperator=tt>>3&3,et.requiresBuffer=!!(tt&32),et.combinationOperatorOverride=!!(tt&64),ke=[et];break;case 49:break;case 50:break;case 51:break;case 53:ke=[oe.number,pe,Ne,xe];break;case 62:break;default:throw new e(`segment type ${oe.typeName}(${oe.type}) is not implemented`)}const qe="on"+oe.typeName;qe in Ce&&Ce[qe].apply(Ce,ke)}function $(Ie,Ce){for(let oe=0,pe=Ie.length;oe>3,pe=new Uint8ClampedArray(oe*Ce.height);Ce.defaultPixelValue&&pe.fill(255),this.buffer=pe}drawBitmap(Ce,oe){const pe=this.currentPageInfo,xe=Ce.width,Ne=Ce.height,ke=pe.width+7>>3,De=pe.combinationOperatorOverride?Ce.combinationOperator:pe.combinationOperator,Fe=this.buffer,Pe=128>>(Ce.x&7);let qe=Ce.y*ke+(Ce.x>>3),Le,Oe,Ee,Ae;switch(De){case 0:for(Le=0;Le>=1,Ee||(Ee=128,Ae++);qe+=ke}break;case 2:for(Le=0;Le>=1,Ee||(Ee=128,Ae++);qe+=ke}break;default:throw new e(`operator ${De} is not supported`)}}onImmediateGenericRegion(Ce,oe,pe,xe){const Ne=Ce.info,ke=new O(oe,pe,xe),De=F(Ce.mmr,Ne.width,Ne.height,Ce.template,Ce.prediction,null,Ce.at,ke);this.drawBitmap(Ne,De)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(Ce,oe,pe,xe,Ne,ke){let De,Fe;Ce.huffman&&(De=we(Ce,pe,this.customTables),Fe=new Z(xe,Ne,ke));let Pe=this.symbols;Pe||(this.symbols=Pe={});const qe=[];for(const Oe of pe){const Ee=Pe[Oe];Ee&&qe.push(...Ee)}const Le=new O(xe,Ne,ke);Pe[oe]=G(Ce.huffman,Ce.refinement,qe,Ce.numberOfNewSymbols,Ce.numberOfExportedSymbols,De,Ce.template,Ce.at,Ce.refinementTemplate,Ce.refinementAt,Le,Fe)}onImmediateTextRegion(Ce,oe,pe,xe,Ne){const ke=Ce.info;let De,Fe;const Pe=this.symbols,qe=[];for(const Ae of oe){const Ve=Pe[Ae];Ve&&qe.push(...Ve)}const Le=(0,c.log2)(qe.length);Ce.huffman&&(Fe=new Z(pe,xe,Ne),De=he(Ce,oe,this.customTables,qe.length,Fe));const Oe=new O(pe,xe,Ne),Ee=W(Ce.huffman,Ce.refinement,ke.width,ke.height,Ce.defaultPixelValue,Ce.numberOfSymbolInstances,Ce.stripSize,qe,Le,Ce.transposed,Ce.dsOffset,Ce.referenceCorner,Ce.combinationOperator,De,Ce.refinementTemplate,Ce.refinementAt,Oe,Ce.logStripSize,Fe);this.drawBitmap(ke,Ee)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(Ce,oe,pe,xe,Ne){let ke=this.patterns;ke||(this.patterns=ke={});const De=new O(pe,xe,Ne);ke[oe]=J(Ce.mmr,Ce.patternWidth,Ce.patternHeight,Ce.maxPatternIndex,Ce.template,De)}onImmediateHalftoneRegion(Ce,oe,pe,xe,Ne){const ke=this.patterns[oe[0]],De=Ce.info,Fe=new O(pe,xe,Ne),Pe=Y(Ce.mmr,ke,Ce.template,De.width,De.height,Ce.defaultPixelValue,Ce.enableSkip,Ce.combinationOperator,Ce.gridWidth,Ce.gridHeight,Ce.gridOffsetX,Ce.gridOffsetY,Ce.gridVectorX,Ce.gridVectorY,Fe);this.drawBitmap(De,Pe)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(Ce,oe,pe,xe){let Ne=this.customTables;Ne||(this.customTables=Ne={}),Ne[Ce]=K(oe,pe,xe)}}class ie{constructor(Ce){Ce.length===2?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=Ce[0],this.rangeLength=0,this.prefixCode=Ce[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=Ce[0],this.prefixLength=Ce[1],this.rangeLength=Ce[2],this.prefixCode=Ce[3],this.isLowerRange=Ce[4]==="lower")}}class Te{constructor(Ce){this.children=[],Ce?(this.isLeaf=!0,this.rangeLength=Ce.rangeLength,this.rangeLow=Ce.rangeLow,this.isLowerRange=Ce.isLowerRange,this.isOOB=Ce.isOOB):this.isLeaf=!1}buildTree(Ce,oe){const pe=Ce.prefixCode>>oe&1;if(oe<=0)this.children[pe]=new Te(Ce);else{let xe=this.children[pe];xe||(this.children[pe]=xe=new Te(null)),xe.buildTree(Ce,oe-1)}}decodeNode(Ce){if(this.isLeaf){if(this.isOOB)return null;const pe=Ce.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-pe:pe)}const oe=this.children[Ce.readBit()];if(!oe)throw new e("invalid Huffman data");return oe.decodeNode(Ce)}}class me{constructor(Ce,oe){oe||this.assignPrefixCodes(Ce),this.rootNode=new Te(null);for(let pe=0,xe=Ce.length;pe0&&this.rootNode.buildTree(Ne,Ne.prefixLength-1)}}decode(Ce){return this.rootNode.decodeNode(Ce)}assignPrefixCodes(Ce){const oe=Ce.length;let pe=0;for(let qe=0;qe>1&7)+1,Fe=(pe>>4&7)+1,Pe=[];let qe,Le,Oe=xe;do qe=ke.readBits(De),Le=ke.readBits(Fe),Pe.push(new ie([Oe,qe,Le,0])),Oe+=1<=this.end)throw new e("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}const Ce=this.currentByte>>this.shift&1;return this.shift--,Ce}readBits(Ce){let oe=0,pe;for(pe=Ce-1;pe>=0;pe--)oe|=this.readBit()<=this.end?-1:this.data[this.position++]}}function ae(Ie,Ce,oe){let pe=0;for(let xe=0,Ne=Ce.length;xe=32){let Ae,Ve,$e;switch(Ee){case 32:if(Oe===0)throw new e("no previous value in symbol ID table");Ve=xe.readBits(2)+3,Ae=Ne[Oe-1].prefixLength;break;case 33:Ve=xe.readBits(3)+3,Ae=0;break;case 34:Ve=xe.readBits(7)+11,Ae=0;break;default:throw new e("invalid code length in symbol ID table")}for($e=0;$e>Le&1,Le--}if(pe&&!Fe)for(let qe=0;qe<5&&Ne.readNextChar()!==-1;qe++);return ke}class se{parseChunks(Ce){return fe(Ce)}parse(Ce){throw new Error("Not implemented: Jbig2Image.parse")}}a.Jbig2Image=se},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ArithmeticDecoder=void 0;const g=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];class n{constructor(R,v,e){this.data=R,this.bp=v,this.dataEnd=e,this.chigh=R[v],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}byteIn(){const R=this.data;let v=this.bp;R[v]===255?R[v+1]>143?(this.clow+=65280,this.ct=8):(v++,this.clow+=R[v]<<9,this.ct=7,this.bp=v):(v++,this.clow+=v65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(R,v){let e=R[v]>>1,L=R[v]&1;const O=g[e],B=O.qe;let P,S=this.a-B;if(this.chigh>15&1,this.clow=this.clow<<1&65535,this.ct--;while(!(S&32768));return this.a=S,R[v]=e<<1|L,P}}a.ArithmeticDecoder=n},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.JpegStream=void 0;var n=g(144),c=g(130),R=g(153),v=g(2);class e extends n.DecodeStream{constructor(O,B,P){let S;for(;(S=O.getByte())!==-1;)if(S===255){O.skip(-1);break}super(B),this.stream=O,this.dict=O.dict,this.maybeLength=B,this.params=P}get bytes(){return(0,v.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(O){}readBlock(){if(this.eof)return;const O={decodeTransform:void 0,colorTransform:void 0},B=this.dict.getArray("D","Decode");if(this.forceRGB&&Array.isArray(B)){const _=this.dict.get("BPC","BitsPerComponent")||8,l=B.length,y=new Int32Array(l);let D=!1;const M=(1<<_)-1;for(let F=0;F{Object.defineProperty(a,"__esModule",{value:!0}),a.JpegImage=void 0;var n=g(2),c=g(131);class R extends n.BaseException{constructor(H){super(`JPEG error: ${H}`,"JpegError")}}class v extends n.BaseException{constructor(H,z){super(H,"DNLMarkerError"),this.scanLines=z}}class e extends n.BaseException{constructor(H){super(H,"EOIMarkerError")}}const L=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),O=4017,B=799,P=3406,S=2276,_=1567,l=3784,y=5793,D=2896;function M(V,H){let z=0,X,q,$=16;for(;$>0&&!V[$-1];)$--;const fe=[{children:[],index:0}];let Q=fe[0],ie;for(X=0;X<$;X++){for(q=0;q0;)Q=fe.pop();for(Q.index++,fe.push(Q);fe.length<=X;)fe.push(ie={children:[],index:0}),Q.children[Q.index]=ie.children,Q=ie;z++}X+1<$&&(fe.push(ie={children:[],index:0}),Q.children[Q.index]=ie.children,Q=ie)}return fe[0].children}function F(V,H,z){return 64*((V.blocksPerLine+1)*H+z)}function N(V,H,z,X,q,$,fe,Q,ie){let Te=arguments.length>9&&arguments[9]!==void 0?arguments[9]:!1;const me=z.mcusPerLine,K=z.progressive,ce=H;let de=0,Z=0;function ae(){if(Z>0)return Z--,de>>Z&1;if(de=V[H++],de===255){const et=V[H++];if(et){if(et===220&&Te){H+=2;const tt=(0,c.readUint16)(V,H);if(H+=2,tt>0&&tt!==z.scanLines)throw new v("Found DNL marker (0xFFDC) while parsing scan data",tt)}else if(et===217){if(Te){const tt=ke*(z.precision===8?8:0);if(tt>0&&Math.round(z.scanLines/tt)>=10)throw new v("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",tt)}throw new e("Found EOI marker (0xFFD9) while parsing scan data")}throw new R(`unexpected marker ${(de<<8|et).toString(16)}`)}}return Z=7,de>>>7}function he(et){let tt=et;for(;;){switch(tt=tt[ae()],typeof tt){case"number":return tt;case"object":continue}throw new R("invalid huffman sequence")}}function we(et){let tt=0;for(;et>0;)tt=tt<<1|ae(),et--;return tt}function _e(et){if(et===1)return ae()===1?1:-1;const tt=we(et);return tt>=1<>4;if(at===0){if(ot<15)break;nt+=16;continue}nt+=ot;const Xe=L[nt];et.blockData[tt+Xe]=_e(at),nt++}}function se(et,tt){const je=he(et.huffmanTableDC),Je=je===0?0:_e(je)<0){Ce--;return}let je=$;const Je=fe;for(;je<=Je;){const nt=he(et.huffmanTableAC),Ke=nt&15,at=nt>>4;if(Ke===0){if(at<15){Ce=we(at)+(1<>4,Ke===0)nt<15?(Ce=we(nt)+(1<0){for(Le=0;Le0?"unexpected":"excessive";(0,n.warn)(`decodeScan - ${tt} MCU data, current marker is: ${Ue.invalid}`),H=Ue.offset}if(Ue.marker>=65488&&Ue.marker<=65495)H+=2;else break}return H-ce}function G(V,H,z){const X=V.quantizationTable,q=V.blockData;let $,fe,Q,ie,Te,me,K,ce,de,Z,ae,he,we,_e,ye,se,Ie;if(!X)throw new R("missing required Quantization Table.");for(let Ce=0;Ce<64;Ce+=8){if(de=q[H+Ce],Z=q[H+Ce+1],ae=q[H+Ce+2],he=q[H+Ce+3],we=q[H+Ce+4],_e=q[H+Ce+5],ye=q[H+Ce+6],se=q[H+Ce+7],de*=X[Ce],!(Z|ae|he|we|_e|ye|se)){Ie=y*de+512>>10,z[Ce]=Ie,z[Ce+1]=Ie,z[Ce+2]=Ie,z[Ce+3]=Ie,z[Ce+4]=Ie,z[Ce+5]=Ie,z[Ce+6]=Ie,z[Ce+7]=Ie;continue}Z*=X[Ce+1],ae*=X[Ce+2],he*=X[Ce+3],we*=X[Ce+4],_e*=X[Ce+5],ye*=X[Ce+6],se*=X[Ce+7],$=y*de+128>>8,fe=y*we+128>>8,Q=ae,ie=ye,Te=D*(Z-se)+128>>8,ce=D*(Z+se)+128>>8,me=he<<4,K=_e<<4,$=$+fe+1>>1,fe=$-fe,Ie=Q*l+ie*_+128>>8,Q=Q*_-ie*l+128>>8,ie=Ie,Te=Te+K+1>>1,K=Te-K,ce=ce+me+1>>1,me=ce-me,$=$+ie+1>>1,ie=$-ie,fe=fe+Q+1>>1,Q=fe-Q,Ie=Te*S+ce*P+2048>>12,Te=Te*P-ce*S+2048>>12,ce=Ie,Ie=me*B+K*O+2048>>12,me=me*O-K*B+2048>>12,K=Ie,z[Ce]=$+ce,z[Ce+7]=$-ce,z[Ce+1]=fe+K,z[Ce+6]=fe-K,z[Ce+2]=Q+me,z[Ce+5]=Q-me,z[Ce+3]=ie+Te,z[Ce+4]=ie-Te}for(let Ce=0;Ce<8;++Ce){if(de=z[Ce],Z=z[Ce+8],ae=z[Ce+16],he=z[Ce+24],we=z[Ce+32],_e=z[Ce+40],ye=z[Ce+48],se=z[Ce+56],!(Z|ae|he|we|_e|ye|se)){Ie=y*de+8192>>14,Ie<-2040?Ie=0:Ie>=2024?Ie=255:Ie=Ie+2056>>4,q[H+Ce]=Ie,q[H+Ce+8]=Ie,q[H+Ce+16]=Ie,q[H+Ce+24]=Ie,q[H+Ce+32]=Ie,q[H+Ce+40]=Ie,q[H+Ce+48]=Ie,q[H+Ce+56]=Ie;continue}$=y*de+2048>>12,fe=y*we+2048>>12,Q=ae,ie=ye,Te=D*(Z-se)+2048>>12,ce=D*(Z+se)+2048>>12,me=he,K=_e,$=($+fe+1>>1)+4112,fe=$-fe,Ie=Q*l+ie*_+2048>>12,Q=Q*_-ie*l+2048>>12,ie=Ie,Te=Te+K+1>>1,K=Te-K,ce=ce+me+1>>1,me=ce-me,$=$+ie+1>>1,ie=$-ie,fe=fe+Q+1>>1,Q=fe-Q,Ie=Te*S+ce*P+2048>>12,Te=Te*P-ce*S+2048>>12,ce=Ie,Ie=me*B+K*O+2048>>12,me=me*O-K*B+2048>>12,K=Ie,de=$+ce,se=$-ce,Z=fe+K,ye=fe-K,ae=Q+me,_e=Q-me,he=ie+Te,we=ie-Te,de<16?de=0:de>=4080?de=255:de>>=4,Z<16?Z=0:Z>=4080?Z=255:Z>>=4,ae<16?ae=0:ae>=4080?ae=255:ae>>=4,he<16?he=0:he>=4080?he=255:he>>=4,we<16?we=0:we>=4080?we=255:we>>=4,_e<16?_e=0:_e>=4080?_e=255:_e>>=4,ye<16?ye=0:ye>=4080?ye=255:ye>>=4,se<16?se=0:se>=4080?se=255:se>>=4,q[H+Ce]=de,q[H+Ce+8]=Z,q[H+Ce+16]=ae,q[H+Ce+24]=he,q[H+Ce+32]=we,q[H+Ce+40]=_e,q[H+Ce+48]=ye,q[H+Ce+56]=se}}function W(V,H){const z=H.blocksPerLine,X=H.blocksPerColumn,q=new Int16Array(64);for(let $=0;$2&&arguments[2]!==void 0?arguments[2]:H;const X=V.length-1;let q=z=X)return null;const $=(0,c.readUint16)(V,H);if($>=65472&&$<=65534)return{invalid:null,marker:$,offset:H};let fe=(0,c.readUint16)(V,q);for(;!(fe>=65472&&fe<=65534);){if(++q>=X)return null;fe=(0,c.readUint16)(V,q)}return{invalid:$.toString(16),marker:fe,offset:q}}class Y{constructor(){let{decodeTransform:H=null,colorTransform:z=-1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._decodeTransform=H,this._colorTransform=z}parse(H){let{dnlScanLines:z=null}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function X(){const ae=(0,c.readUint16)(H,$);$+=2;let he=$+ae-2;const we=J(H,he,$);we&&we.invalid&&((0,n.warn)("readDataBlock - incorrect length, current marker is: "+we.invalid),he=we.offset);const _e=H.subarray($,he);return $+=_e.length,_e}function q(ae){const he=Math.ceil(ae.samplesPerLine/8/ae.maxH),we=Math.ceil(ae.scanLines/8/ae.maxV);for(let _e=0,ye=ae.components.length;_e>4)if(Ee>>4===1)for(he=0;he<64;he++)Ie=L[he],Ae[Ie]=(0,c.readUint16)(H,$),$+=2;else throw new R("DQT - invalid table spec");else for(he=0;he<64;he++)Ie=L[he],Ae[Ie]=H[$++];K[Ee&15]=Ae}break;case 65472:case 65473:case 65474:if(ie)throw new R("Only single frame JPEGs supported");$+=2,ie={},ie.extended=Z===65473,ie.progressive=Z===65474,ie.precision=H[$++];const Ce=(0,c.readUint16)(H,$);$+=2,ie.scanLines=z||Ce,ie.samplesPerLine=(0,c.readUint16)(H,$),$+=2,ie.components=[],ie.componentIds={};const oe=H[$++];let pe=0,xe=0;for(ae=0;ae>4,Ve=H[$+1]&15;pe>4?ce:de)[Ee&15]=M(Ae,$e)}break;case 65501:$+=2,Te=(0,c.readUint16)(H,$),$+=2;break;case 65498:const ke=++me===1&&!z;$+=2;const De=H[$++],Fe=[];for(ae=0;ae>4],Ve.huffmanTableAC=ce[$e&15],Fe.push(Ve)}const Pe=H[$++],qe=H[$++],Le=H[$++];try{const Ee=N(H,$,ie,Fe,Te,Pe,qe,Le>>4,Le&15,ke);$+=Ee}catch(Ee){if(Ee instanceof v)return(0,n.warn)(`${Ee.message} -- attempting to re-parse the JPEG image.`),this.parse(H,{dnlScanLines:Ee.scanLines});if(Ee instanceof e){(0,n.warn)(`${Ee.message} -- ignoring the rest of the image data.`);break e}throw Ee}break;case 65500:$+=4;break;case 65535:H[$]!==255&&$--;break;default:const Oe=J(H,$-2,$-3);if(Oe&&Oe.invalid){(0,n.warn)("JpegImage.parse - unexpected data, current marker is: "+Oe.invalid),$=Oe.offset;break}if(!Oe||$>=H.length-1){(0,n.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new R("JpegImage.parse - unknown marker: "+Z.toString(16))}Z=(0,c.readUint16)(H,$),$+=2}this.width=ie.samplesPerLine,this.height=ie.scanLines,this.jfif=fe,this.adobe=Q,this.components=[];for(let ae=0,he=ie.components.length;ae2&&arguments[2]!==void 0?arguments[2]:!1;const q=this.width/H,$=this.height/z;let fe,Q,ie,Te,me,K,ce,de,Z,ae,he=0,we;const _e=this.components.length,ye=H*z*_e,se=new Uint8ClampedArray(ye),Ie=new Uint32Array(H),Ce=4294967288;let oe;for(ce=0;ce<_e;ce++){if(fe=this.components[ce],Q=fe.scaleX*q,ie=fe.scaleY*$,he=ce,we=fe.output,Te=fe.blocksPerLine+1<<3,Q!==oe){for(me=0;me>8)+pe[Z+1];return se}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:this.numComponents===3?this._colorTransform===0?!1:!(this.components[0].index===82&&this.components[1].index===71&&this.components[2].index===66):this._colorTransform===1}_convertYccToRgb(H){let z,X,q;for(let $=0,fe=H.length;$4)throw new R("Unsupported color mode");const fe=this._getLinearizedBlockData(z,X,$);if(this.numComponents===1&&q){const Q=fe.length,ie=new Uint8ClampedArray(Q*3);let Te=0;for(let me=0;me{Object.defineProperty(a,"__esModule",{value:!0}),a.JpxStream=void 0;var n=g(144),c=g(155),R=g(2);class v extends n.DecodeStream{constructor(L,O,B){super(O),this.stream=L,this.dict=L.dict,this.maybeLength=O,this.params=B}get bytes(){return(0,R.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(L){}readBlock(){if(this.eof)return;const L=new c.JpxImage;L.parse(this.bytes);const O=L.width,B=L.height,P=L.componentsCount,S=L.tiles.length;if(S===1)this.buffer=L.tiles[0].items;else{const _=new Uint8ClampedArray(O*B*P);for(let l=0;l{Object.defineProperty(a,"__esModule",{value:!0}),a.JpxImage=void 0;var n=g(2),c=g(131),R=g(151);class v extends n.BaseException{constructor(K){super(`JPX error: ${K}`,"JpxError")}}const e={LL:0,LH:1,HL:1,HH:2};class L{constructor(){this.failOnCorruptedImage=!1}parse(K){if((0,c.readUint16)(K,0)===65359){this.parseCodestream(K,0,K.length);return}const de=K.length;let Z=0;for(;Z>24&255,we>>16&255,we>>8&255,we&255);(0,n.warn)(`Unsupported header type ${we} (${Ie}).`);break}ye&&(Z+=_e)}}parseImageProperties(K){let ce=K.getByte();for(;ce>=0;){const de=ce;if(ce=K.getByte(),(de<<8|ce)===65361){K.skip(4);const ae=K.getInt32()>>>0,he=K.getInt32()>>>0,we=K.getInt32()>>>0,_e=K.getInt32()>>>0;K.skip(16);const ye=K.getUint16();this.width=ae-we,this.height=he-_e,this.componentsCount=ye,this.bitsPerComponent=8;return}}throw new v("No size marker found in JPX stream")}parseCodestream(K,ce,de){const Z={};let ae=!1;try{let he=ce;for(;he+1>5,Ie=[];ye<_e+he;){const Ae={};Ce===8?(Ae.epsilon=K[ye++]>>3,Ae.mu=0):(Ae.epsilon=K[ye]>>3,Ae.mu=(K[ye]&7)<<8|K[ye+1],ye+=2),Ie.push(Ae)}De.SPqcds=Ie,Z.mainHeader?Z.QCD=De:(Z.currentTile.QCD=De,Z.currentTile.QCC=[]);break;case 65373:_e=(0,c.readUint16)(K,he);const Fe={};ye=he+2;let Pe;switch(Z.SIZ.Csiz<257?Pe=K[ye++]:(Pe=(0,c.readUint16)(K,ye),ye+=2),se=K[ye++],se&31){case 0:Ce=8,oe=!0;break;case 1:Ce=16,oe=!1;break;case 2:Ce=16,oe=!0;break;default:throw new Error("Invalid SQcd value "+se)}for(Fe.noQuantization=Ce===8,Fe.scalarExpounded=oe,Fe.guardBits=se>>5,Ie=[];ye<_e+he;){const Ae={};Ce===8?(Ae.epsilon=K[ye++]>>3,Ae.mu=0):(Ae.epsilon=K[ye]>>3,Ae.mu=(K[ye]&7)<<8|K[ye+1],ye+=2),Ie.push(Ae)}Fe.SPqcds=Ie,Z.mainHeader?Z.QCC[Pe]=Fe:Z.currentTile.QCC[Pe]=Fe;break;case 65362:_e=(0,c.readUint16)(K,he);const qe={};ye=he+2;const Le=K[ye++];qe.entropyCoderWithCustomPrecincts=!!(Le&1),qe.sopMarkerUsed=!!(Le&2),qe.ephMarkerUsed=!!(Le&4),qe.progressionOrder=K[ye++],qe.layersCount=(0,c.readUint16)(K,ye),ye+=2,qe.multipleComponentTransform=K[ye++],qe.decompositionLevelsCount=K[ye++],qe.xcb=(K[ye++]&15)+2,qe.ycb=(K[ye++]&15)+2;const Oe=K[ye++];if(qe.selectiveArithmeticCodingBypass=!!(Oe&1),qe.resetContextProbabilities=!!(Oe&2),qe.terminationOnEachCodingPass=!!(Oe&4),qe.verticallyStripe=!!(Oe&8),qe.predictableTermination=!!(Oe&16),qe.segmentationSymbolUsed=!!(Oe&32),qe.reversibleTransformation=K[ye++],qe.entropyCoderWithCustomPrecincts){const Ae=[];for(;ye<_e+he;){const Ve=K[ye++];Ae.push({PPx:Ve&15,PPy:Ve>>4})}qe.precinctsSizes=Ae}const Ee=[];qe.selectiveArithmeticCodingBypass&&Ee.push("selectiveArithmeticCodingBypass"),qe.terminationOnEachCodingPass&&Ee.push("terminationOnEachCodingPass"),qe.verticallyStripe&&Ee.push("verticallyStripe"),qe.predictableTermination&&Ee.push("predictableTermination"),Ee.length>0&&(ae=!0,(0,n.warn)(`JPX: Unsupported COD options (${Ee.join(", ")}).`)),Z.mainHeader?Z.COD=qe:(Z.currentTile.COD=qe,Z.currentTile.COC=[]);break;case 65424:_e=(0,c.readUint16)(K,he),pe={},pe.index=(0,c.readUint16)(K,he+2),pe.length=(0,c.readUint32)(K,he+4),pe.dataEnd=pe.length+he-2,pe.partIndex=K[he+8],pe.partsCount=K[he+9],Z.mainHeader=!1,pe.partIndex===0&&(pe.COD=Z.COD,pe.COC=Z.COC.slice(0),pe.QCD=Z.QCD,pe.QCC=Z.QCC.slice(0)),Z.currentTile=pe;break;case 65427:pe=Z.currentTile,pe.partIndex===0&&(X(Z,pe.index),J(Z)),_e=pe.dataEnd-he,Y(Z,K,he,_e);break;case 65363:(0,n.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:_e=(0,c.readUint16)(K,he);break;default:throw new Error("Unknown codestream code: "+we.toString(16))}he+=_e}}catch(he){if(ae||this.failOnCorruptedImage)throw new v(he.message);(0,n.warn)(`JPX: Trying to recover from: "${he.message}".`)}this.tiles=z(Z),this.width=Z.SIZ.Xsiz-Z.SIZ.XOsiz,this.height=Z.SIZ.Ysiz-Z.SIZ.YOsiz,this.componentsCount=Z.SIZ.Csiz}}a.JpxImage=L;function O(me,K){me.x0=Math.ceil(K.XOsiz/me.XRsiz),me.x1=Math.ceil(K.Xsiz/me.XRsiz),me.y0=Math.ceil(K.YOsiz/me.YRsiz),me.y1=Math.ceil(K.Ysiz/me.YRsiz),me.width=me.x1-me.x0,me.height=me.y1-me.y0}function B(me,K){const ce=me.SIZ,de=[];let Z;const ae=Math.ceil((ce.Xsiz-ce.XTOsiz)/ce.XTsiz),he=Math.ceil((ce.Ysiz-ce.YTOsiz)/ce.YTsiz);for(let _e=0;_e0?Math.min(de.xcb,Z.PPx-1):Math.min(de.xcb,Z.PPx),Z.ycb_=ce>0?Math.min(de.ycb,Z.PPy-1):Math.min(de.ycb,Z.PPy),Z}function S(me,K,ce){const de=1<K.trx0?Math.ceil(K.trx1/de)-Math.floor(K.trx0/de):0,ye=K.try1>K.try0?Math.ceil(K.try1/Z)-Math.floor(K.try0/Z):0,se=_e*ye;K.precinctParameters={precinctWidth:de,precinctHeight:Z,numprecinctswide:_e,numprecinctshigh:ye,numprecincts:se,precinctWidthInSubband:he,precinctHeightInSubband:we}}function _(me,K,ce){const de=ce.xcb_,Z=ce.ycb_,ae=1<>de,_e=K.tby0>>Z,ye=K.tbx1+ae-1>>de,se=K.tby1+he-1>>Z,Ie=K.resolution.precinctParameters,Ce=[],oe=[];let pe,xe,Ne,ke;for(xe=_e;xePe.cbxMax&&(Pe.cbxMax=pe),xePe.cbyMax&&(Pe.cbyMax=xe)):oe[ke]=Pe={cbxMin:pe,cbyMin:xe,cbxMax:pe,cbyMax:xe},Ne.precinct=Pe}K.codeblockParameters={codeblockWidth:de,codeblockHeight:Z,numcodeblockwide:ye-we+1,numcodeblockhigh:se-_e+1},K.codeblocks=Ce,K.precincts=oe}function l(me,K,ce){const de=[],Z=me.subbands;for(let ae=0,he=Z.length;aeCe.codingStyleParameters.decompositionLevelsCount)continue;const oe=Ce.resolutions[_e],pe=oe.precinctParameters.numprecincts;for(;seCe.codingStyleParameters.decompositionLevelsCount)continue;const oe=Ce.resolutions[we],pe=oe.precinctParameters.numprecincts;for(;seoe.codingStyleParameters.decompositionLevelsCount)continue;const pe=oe.resolutions[we],xe=pe.precinctParameters.numprecincts;if(!(ye>=xe)){for(;he=0;--Ne){const ke=_e.resolutions[Ne],De=xe*ke.precinctParameters.precinctWidth,Fe=xe*ke.precinctParameters.precinctHeight;Ie=Math.min(Ie,De),Ce=Math.min(Ce,Fe),oe=Math.max(oe,ke.precinctParameters.numprecinctswide),pe=Math.max(pe,ke.precinctParameters.numprecinctshigh),se[Ne]={width:De,height:Fe},xe<<=1}ce=Math.min(ce,Ie),de=Math.min(de,Ce),Z=Math.max(Z,oe),ae=Math.max(ae,pe),he[we]={resolutions:se,minWidth:Ie,minHeight:Ce,maxNumWide:oe,maxNumHigh:pe}}return{components:he,minWidth:ce,minHeight:de,maxNumWide:Z,maxNumHigh:ae}}function J(me){const K=me.SIZ,ce=me.currentTile.index,de=me.tiles[ce],Z=K.Csiz;for(let he=0;he>>he&(1<0;){const Le=Pe.shift();qe=Le.codeblock,qe.data===void 0&&(qe.data=[]),qe.data.push({data:K,start:ce+Z,end:ce+Z+Le.dataLength,codingpasses:Le.codingpasses}),Z+=Le.dataLength}}return Z}function V(me,K,ce,de,Z,ae,he,we,_e){const ye=de.tbx0,se=de.tby0,Ie=de.tbx1-de.tbx0,Ce=de.codeblocks,oe=de.type.charAt(0)==="H"?1:0,pe=de.type.charAt(1)==="H"?K:0;for(let xe=0,Ne=Ce.length;xe=ae?me[Ye]=Ke:me[Ye]=Ke*(1<0?1-De:0));const $e=Fe.subbands[Oe],Ue=e[$e.type],He=oe?1:2**(Ce+Ue-Ve)*(1+Ae/2048),Qe=ye+Ve-1;V(Le,Pe,qe,$e,He,Qe,oe,se,Ie)}xe.push({width:Pe,height:qe,items:Le})}const ke=pe.calculate(xe,de.tcx0,de.tcy0);return{left:de.tcx0,top:de.tcy0,width:ke.width,height:ke.height,items:ke.items}}function z(me){const K=me.SIZ,ce=me.components,de=K.Csiz,Z=[];for(let ae=0,he=me.tiles.length;ae>2);se[pe++]=$e+Fe>>Ce,se[pe++]=$e>>Ce,se[pe++]=$e+De>>Ce}else for(xe=0;xe>Ce,se[pe++]=ke-.34413*De-.71414*Fe>>Ce,se[pe++]=ke+1.772*De>>Ce;if(Pe)for(xe=0,pe=3;xe>Ce}else for(let Pe=0;Pe>Ce,pe+=de}Z.push(Ie)}return Z}function X(me,K){const de=me.SIZ.Csiz,Z=me.tiles[K];for(let ae=0;ae>=1,ce>>=1,de++}de--,ae=this.levels[de],ae.items[ae.index]=Z,this.currentLevel=de,delete this.value}incrementValue(){const K=this.levels[this.currentLevel];K.items[K.index]++}nextLevel(){let K=this.currentLevel,ce=this.levels[K];const de=ce.items[ce.index];return K--,K<0?(this.value=de,!1):(this.currentLevel=K,ce=this.levels[K],ce.items[ce.index]=de,!0)}}class ${constructor(K,ce,de){const Z=(0,c.log2)(Math.max(K,ce))+1;this.levels=[];for(let ae=0;aede)return this.currentLevel=Z,this.propagateValues(),!1;K>>=1,ce>>=1,Z++}return this.currentLevel=Z-1,!0}incrementValue(K){const ce=this.levels[this.currentLevel];ce.items[ce.index]=K+1,this.propagateValues()}propagateValues(){let K=this.currentLevel,ce=this.levels[K];const de=ce.items[ce.index];for(;--K>=0;)ce=this.levels[K],ce.items[ce.index]=de}nextLevel(){let K=this.currentLevel,ce=this.levels[K];const de=ce.items[ce.index];return ce.items[ce.index]=255,K--,K<0?!1:(this.currentLevel=K,ce=this.levels[K],ce.items[ce.index]=de,!0)}}const fe=function(){const de=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),Z=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),ae=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);class he{constructor(_e,ye,se,Ie,Ce){this.width=_e,this.height=ye;let oe;se==="HH"?oe=ae:se==="HL"?oe=Z:oe=de,this.contextLabelTable=oe;const pe=_e*ye;this.neighborsSignificance=new Uint8Array(pe),this.coefficentsSign=new Uint8Array(pe);let xe;Ce>14?xe=new Uint32Array(pe):Ce>6?xe=new Uint16Array(pe):xe=new Uint8Array(pe),this.coefficentsMagnitude=xe,this.processingFlags=new Uint8Array(pe);const Ne=new Uint8Array(pe);if(Ie!==0)for(let ke=0;ke0,xe=ye+10&&(Ne=se-Ce,pe&&(Ie[Ne-1]+=16),xe&&(Ie[Ne+1]+=16),Ie[Ne]+=4),_e+1=se)break;if(pe[Oe]&=De,Ie[Oe]||!oe[Oe])continue;const Ve=Ne[oe[Oe]];if(_e.readBit(xe,Ve)){const Ue=this.decodeSignBit(Ae,Le,Oe);Ce[Oe]=Ue,Ie[Oe]=1,this.setNeighborsSignificance(Ae,Le,Oe),pe[Oe]|=Pe}ke[Oe]++,pe[Oe]|=Fe}}}decodeSignBit(_e,ye,se){const Ie=this.width,Ce=this.height,oe=this.coefficentsMagnitude,pe=this.coefficentsSign;let xe,Ne,ke,De,Fe,Pe;De=ye>0&&oe[se-1]!==0,ye+10&&oe[se-Ie]!==0,_e+1=0?(Fe=9+xe,Pe=this.decoder.readBit(this.contexts,Fe)):(Fe=9-xe,Pe=this.decoder.readBit(this.contexts,Fe)^1),Pe}runMagnitudeRefinementPass(){const _e=this.decoder,ye=this.width,se=this.height,Ie=this.coefficentsMagnitude,Ce=this.neighborsSignificance,oe=this.contexts,pe=this.bitsDecoded,xe=this.processingFlags,Ne=1,ke=2,De=ye*se,Fe=ye*4;for(let Pe=0,qe;Pe>1;ce|=0;let ae,he,we,_e;const ye=-1.586134342059924,se=-.052980118572961,Ie=.882911075530934,Ce=.443506852043971,oe=1.230174104914001,pe=1/oe;for(ae=ce-3,he=Z+4;he--;ae+=2)K[ae]*=pe;for(ae=ce-2,we=Ce*K[ae-1],he=Z+3;he--&&(_e=Ce*K[ae+1],K[ae]=oe*K[ae]-we-_e,he--);ae+=2)ae+=2,we=Ce*K[ae+1],K[ae]=oe*K[ae]-we-_e;for(ae=ce-1,we=Ie*K[ae-1],he=Z+2;he--&&(_e=Ie*K[ae+1],K[ae]-=we+_e,he--);ae+=2)ae+=2,we=Ie*K[ae+1],K[ae]-=we+_e;for(ae=ce,we=se*K[ae-1],he=Z+1;he--&&(_e=se*K[ae+1],K[ae]-=we+_e,he--);ae+=2)ae+=2,we=se*K[ae+1],K[ae]-=we+_e;if(Z!==0)for(ae=ce+1,we=ye*K[ae-1],he=Z;he--&&(_e=ye*K[ae+1],K[ae]-=we+_e,he--);ae+=2)ae+=2,we=ye*K[ae+1],K[ae]-=we+_e}}class Te extends Q{filter(K,ce,de){const Z=de>>1;ce|=0;let ae,he;for(ae=ce,he=Z+1;he--;ae+=2)K[ae]-=K[ae-1]+K[ae+1]+2>>2;for(ae=ce+1,he=Z;he--;ae+=2)K[ae]+=K[ae-1]+K[ae+1]>>1}}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.LZWStream=void 0;var n=g(144);class c extends n.DecodeStream{constructor(v,e,L){super(e),this.str=v,this.dict=v.dict,this.cachedData=0,this.bitsCached=0;const O=4096,B={earlyChange:L,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(O),dictionaryLengths:new Uint16Array(O),dictionaryPrevCodes:new Uint16Array(O),currentSequence:new Uint8Array(O),currentSequenceLength:0};for(let P=0;P<256;++P)B.dictionaryValues[P]=P,B.dictionaryLengths[P]=1;this.lzwState=B}readBits(v){let e=this.bitsCached,L=this.cachedData;for(;e>>e&(1<0;if(H<256)G[0]=H,W=1;else if(H>=258)if(H=0;B--)G[B]=y[P],P=M[P];else G[W++]=G[0];else if(H===256){F=9,l=258,W=0;continue}else{this.eof=!0,delete this.lzwState;break}if(z&&(M[l]=N,D[l]=D[N]+1,y[l]=G[0],l++,F=l+_&l+_-1?F:Math.min(Math.log(l+_)/.6931471805599453+1,12)|0),N=H,J+=W,L{Object.defineProperty(a,"__esModule",{value:!0}),a.PredictorStream=void 0;var n=g(144),c=g(130),R=g(2);class v extends n.DecodeStream{constructor(L,O,B){if(super(O),!(B instanceof c.Dict))return L;const P=this.predictor=B.get("Predictor")||1;if(P<=1)return L;if(P!==2&&(P<10||P>15))throw new R.FormatError(`Unsupported predictor: ${P}`);P===2?this.readBlock=this.readBlockTiff:this.readBlock=this.readBlockPng,this.str=L,this.dict=L.dict;const S=this.colors=B.get("Colors")||1,_=this.bits=B.get("BPC","BitsPerComponent")||8,l=this.columns=B.get("Columns")||1;return this.pixBytes=S*_+7>>3,this.rowBytes=l*S*_+7>>3,this}readBlockTiff(){const L=this.rowBytes,O=this.bufferLength,B=this.ensureBuffer(O+L),P=this.bits,S=this.colors,_=this.str.getBytes(L);if(this.eof=!_.length,this.eof)return;let l=0,y=0,D=0,M=0,F=O,N;if(P===1&&S===1)for(N=0;N>1,G^=G>>2,G^=G>>4,l=(G&1)<<7,B[F++]=G}else if(P===8){for(N=0;N>8&255,B[F++]=W&255}}else{const G=new Uint8Array(S+1),W=(1<>D-P)&W,D-=P,y=y<=8&&(B[Y++]=y>>M-8&255,M-=8);M>0&&(B[Y++]=(y<<8-M)+(l&(1<<8-M)-1))}this.bufferLength+=L}readBlockPng(){const L=this.rowBytes,O=this.pixBytes,B=this.str.getByte(),P=this.str.getBytes(L);if(this.eof=!P.length,this.eof)return;const S=this.bufferLength,_=this.ensureBuffer(S+L);let l=_.subarray(S-L,S);l.length===0&&(l=new Uint8Array(L));let y,D=S,M,F;switch(B){case 0:for(y=0;y>1)+P[y];for(;y>1)+P[y]&255,D++;break;case 4:for(y=0;y{Object.defineProperty(a,"__esModule",{value:!0}),a.RunLengthStream=void 0;var n=g(144);class c extends n.DecodeStream{constructor(v,e){super(e),this.str=v,this.dict=v.dict}readBlock(){const v=this.str.getBytes(2);if(!v||v.length<2||v[0]===128){this.eof=!0;return}let e,L=this.bufferLength,O=v[0];if(O<128){if(e=this.ensureBuffer(L+O+1),e[L++]=v[1],O>0){const B=this.str.getBytes(O);e.set(B,L),L+=O}}else{O=257-O;const B=v[1];e=this.ensureBuffer(L+O+1);for(let P=0;P{Object.defineProperty(a,"__esModule",{value:!0}),a.Font=a.ErrorFont=void 0;var n=g(2),c=g(160),R=g(163),v=g(165),e=g(164),L=g(162),O=g(166),B=g(167),P=g(168),S=g(169),_=g(170),l=g(171),y=g(141),D=g(172),M=g(131),F=g(135),N=g(173);const G=[[57344,63743],[1048576,1114109]],W=1e3,J=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","fontType","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","type","vertical"],Y=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function V(Fe){if(!Fe.fontMatrix||Fe.fontMatrix[0]===n.FONT_IDENTITY_MATRIX[0])return;const Pe=.001/Fe.fontMatrix[0],qe=Fe.widths;for(const Le in qe)qe[Le]*=Pe;Fe.defaultWidth*=Pe}function H(Fe,Pe){if(Fe.isInternalFont||Pe===Fe.defaultEncoding||Fe.toUnicode instanceof B.IdentityToUnicodeMap)return;const qe=[],Le=(0,e.getGlyphsUnicode)();for(const Oe in Pe){if(Fe.hasIncludedToUnicodeMap){if(Fe.toUnicode.has(Oe))continue}else if(Fe.hasEncoding&&(Fe.differences.length===0||Fe.differences[Oe]!==void 0))continue;const Ee=Pe[Oe],Ae=(0,v.getUnicodeForGlyph)(Ee,Le);Ae!==-1&&(qe[Oe]=String.fromCharCode(Ae))}qe.length>0&&Fe.toUnicode.amend(qe)}function z(Fe){if(!Fe.fallbackToUnicode||Fe.toUnicode instanceof B.IdentityToUnicodeMap)return;const Pe=[];for(const qe in Fe.fallbackToUnicode)Fe.toUnicode.has(qe)||(Pe[qe]=Fe.fallbackToUnicode[qe]);Pe.length>0&&Fe.toUnicode.amend(Pe)}class X{constructor(Pe,qe,Le,Oe,Ee,Ae,Ve,$e,Ue){this.originalCharCode=Pe,this.fontChar=qe,this.unicode=Le,this.accent=Oe,this.width=Ee,this.vmetric=Ae,this.operatorListId=Ve,this.isSpace=$e,this.isInFont=Ue;const He=(0,v.getCharUnicodeCategory)(Le);this.isWhitespace=He.isWhitespace,this.isZeroWidthDiacritic=He.isZeroWidthDiacritic,this.isInvisibleFormatMark=He.isInvisibleFormatMark}matchesForCache(Pe,qe,Le,Oe,Ee,Ae,Ve,$e,Ue){return this.originalCharCode===Pe&&this.fontChar===qe&&this.unicode===Le&&this.accent===Oe&&this.width===Ee&&this.vmetric===Ae&&this.operatorListId===Ve&&this.isSpace===$e&&this.isInFont===Ue}}function q(Fe,Pe){return(Fe<<8)+Pe}function $(Fe,Pe,qe){Fe[Pe+1]=qe,Fe[Pe]=qe>>>8}function fe(Fe,Pe){const qe=(Fe<<8)+Pe;return qe&32768?qe-65536:qe}function Q(Fe,Pe,qe,Le){return(Fe<<24)+(Pe<<16)+(qe<<8)+Le}function ie(Fe){return String.fromCharCode(Fe>>8&255,Fe&255)}function Te(Fe){return Fe>32767?Fe=32767:Fe<-32768&&(Fe=-32768),String.fromCharCode(Fe>>8&255,Fe&255)}function me(Fe){const Pe=Fe.peekBytes(4);return(0,M.readUint32)(Pe,0)===65536||(0,n.bytesToString)(Pe)==="true"}function K(Fe){const Pe=Fe.peekBytes(4);return(0,n.bytesToString)(Pe)==="ttcf"}function ce(Fe){const Pe=Fe.peekBytes(4);return(0,n.bytesToString)(Pe)==="OTTO"}function de(Fe){const Pe=Fe.peekBytes(2);return Pe[0]===37&&Pe[1]===33||Pe[0]===128&&Pe[1]===1}function Z(Fe){const Pe=Fe.peekBytes(4);return Pe[0]>=1&&Pe[3]>=1&&Pe[3]<=4}function ae(Fe,Pe){let{type:qe,subtype:Le,composite:Oe}=Pe,Ee,Ae;return me(Fe)||K(Fe)?Oe?Ee="CIDFontType2":Ee="TrueType":ce(Fe)?Oe?Ee="CIDFontType2":Ee="OpenType":de(Fe)?Oe?Ee="CIDFontType0":Ee=qe==="MMType1"?"MMType1":"Type1":Z(Fe)?Oe?(Ee="CIDFontType0",Ae="CIDFontType0C"):(Ee=qe==="MMType1"?"MMType1":"Type1",Ae="Type1C"):((0,n.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),Ee=qe,Ae=Le),[Ee,Ae]}function he(Fe,Pe){for(const qe in Pe)Fe[+qe]=Pe[qe]}function we(Fe,Pe,qe){const Le=[];let Oe;for(let Ee=0,Ae=Fe.length;Ee2&&arguments[2]!==void 0?arguments[2]:!1;switch(Pe.length){case 1:return Pe.charCodeAt(0);case 2:return Pe.charCodeAt(0)<<8|Pe.charCodeAt(1)}const Le=`Unsupported CID string (charCode ${Fe}): "${Pe}".`;if(qe)throw new n.FormatError(Le);return(0,n.warn)(Le),Pe}function ye(Fe,Pe,qe,Le){const Oe=Object.create(null),Ee=new Map,Ae=[],Ve=new Set;let $e=0;const Ue=G[$e][0];let He=Ue,Qe=G[$e][1];for(let Ze in Fe){Ze|=0;let et=Fe[Ze];if(!Pe(et))continue;if(He>Qe){if($e++,$e>=G.length){(0,n.warn)("Ran out of space in font private use area.");break}He=G[$e][0],Qe=G[$e][1]}const tt=He++;et===0&&(et=qe);let je=Le.get(Ze);typeof je=="string"&&(je=je.codePointAt(0)),je&&je=qe||Le.push({fontCharCode:Ae|0,glyphId:Fe[Ae]});if(Pe)for(const[Ae,Ve]of Pe)Ve>=qe||Le.push({fontCharCode:Ae,glyphId:Ve});Le.length===0&&Le.push({fontCharCode:0,glyphId:0}),Le.sort(function(Ve,$e){return Ve.fontCharCode-$e.fontCharCode});const Oe=[],Ee=Le.length;for(let Ae=0;Ae65535?2:1;let Ee="\0\0"+ie(Oe)+"\0\0"+(0,n.string32)(4+Oe*8),Ae,Ve,$e,Ue;for(Ae=Le.length-1;Ae>=0&&!(Le[Ae][0]<=65535);--Ae);const He=Ae+1;Le[Ae][0]<65535&&Le[Ae][1]===65535&&(Le[Ae][1]=65534);const Qe=Le[Ae][1]<65535?1:0,Ze=He+Qe,et=D.OpenTypeFileBuilder.getSearchParams(Ze,2);let tt="",je="",Je="",nt="",Ke="",at=0,ot,Xe,ze,Ye;for(Ae=0,Ve=He;Ae0&&(je+="ÿÿ",tt+="ÿÿ",Je+="\0",nt+="\0\0");const st="\0\0"+ie(2*Ze)+ie(et.range)+ie(et.entry)+ie(et.rangeShift)+je+"\0\0"+tt+Je+nt+Ke;let _t="",ft="";if(Oe>1){for(Ee+=`\0\0 +`+(0,n.string32)(4+Oe*8+4+st.length),_t="",Ae=0,Ve=Le.length;AeEe||(Pe.skip(6),Pe.getUint16()===0)?!1:(Fe.data[8]=Fe.data[9]=0,!0)}function oe(Fe,Pe,qe){qe=qe||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};let Le=0,Oe=0,Ee=0,Ae=0,Ve=null,$e=0;if(Pe){for(let Je in Pe){Je|=0,(Ve>Je||!Ve)&&(Ve=Je),$e 123 are reserved for internal usage")}$e>65535&&($e=65535)}else Ve=0,$e=255;const Ue=Fe.bbox||[0,0,0,0],He=qe.unitsPerEm||1/(Fe.fontMatrix||n.FONT_IDENTITY_MATRIX)[0],Qe=Fe.ascentScaled?1:He/W,Ze=qe.ascent||Math.round(Qe*(Fe.ascent||Ue[3]));let et=qe.descent||Math.round(Qe*(Fe.descent||Ue[1]));et>0&&Fe.descent>0&&Ue[1]<0&&(et=-et);const tt=qe.yMax||Ze,je=-qe.yMin||-et;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(Fe.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,n.string32)(Le)+(0,n.string32)(Oe)+(0,n.string32)(Ee)+(0,n.string32)(Ae)+"*21*"+ie(Fe.italicAngle?1:0)+ie(Ve||Fe.firstChar)+ie($e||Fe.lastChar)+ie(Ze)+ie(et)+"\0d"+ie(tt)+ie(je)+"\0\0\0\0\0\0\0\0"+ie(Fe.xHeight)+ie(Fe.capHeight)+ie(0)+ie(Ve||Fe.firstChar)+"\0"}function pe(Fe){const Pe=Math.floor(Fe.italicAngle*65536);return"\0\0\0"+(0,n.string32)(Pe)+"\0\0\0\0"+(0,n.string32)(Fe.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function xe(Fe){return Fe.replace(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function Ne(Fe,Pe){Pe||(Pe=[[],[]]);const qe=[Pe[0][0]||"Original licence",Pe[0][1]||Fe,Pe[0][2]||"Unknown",Pe[0][3]||"uniqueID",Pe[0][4]||Fe,Pe[0][5]||"Version 0.11",Pe[0][6]||xe(Fe),Pe[0][7]||"Unknown",Pe[0][8]||"Unknown",Pe[0][9]||"Unknown"],Le=[];let Oe,Ee,Ae,Ve,$e;for(Oe=0,Ee=qe.length;Oe0&&arguments[0]!==void 0?arguments[0]:!1)?[...J,...Y]:J,Le=Object.create(null);let Oe,Ee;for(Oe of qe)Ee=this[Oe],Ee!==void 0&&(Le[Oe]=Ee);return Le}fallbackToSystemFont(Pe){this.missingFile=!0;const qe=this.name,Le=this.type,Oe=this.subtype;let Ee=(0,R.normalizeFontName)(qe);const Ae=(0,O.getStdFontMap)(),Ve=(0,O.getNonStdFontMap)(),$e=!!Ae[Ee],Ue=!!(Ve[Ee]&&Ae[Ve[Ee]]);Ee=Ae[Ee]||Ve[Ee]||Ee;const Qe=(0,_.getFontBasicMetrics)()[Ee];Qe&&(isNaN(this.ascent)&&(this.ascent=Qe.ascent/W),isNaN(this.descent)&&(this.descent=Qe.descent/W),isNaN(this.capHeight)&&(this.capHeight=Qe.capHeight/W)),this.bold=Ee.search(/bold/gi)!==-1,this.italic=Ee.search(/oblique/gi)!==-1||Ee.search(/italic/gi)!==-1,this.black=qe.search(/Black/g)!==-1;const Ze=qe.search(/Narrow/g)!==-1;if(this.remeasure=(!$e||Ze)&&Object.keys(this.widths).length>0,($e||Ue)&&Le==="CIDFontType2"&&this.cidEncoding.startsWith("Identity-")){const et=Pe.cidToGidMap,tt=[];if(he(tt,(0,O.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(qe)?he(tt,(0,O.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(qe)&&he(tt,(0,O.getSupplementalGlyphMapForCalibri)()),et){for(const je in tt){const Je=tt[je];et[Je]!==void 0&&(tt[+je]=et[Je])}et.length!==this.toUnicode.length&&Pe.hasIncludedToUnicodeMap&&this.toUnicode instanceof B.IdentityToUnicodeMap&&this.toUnicode.forEach(function(je,Je){const nt=tt[je];et[nt]===void 0&&(tt[+je]=Je)})}this.toUnicode instanceof B.IdentityToUnicodeMap||this.toUnicode.forEach(function(je,Je){tt[+je]=Je}),this.toFontChar=tt,this.toUnicode=new B.ToUnicodeMap(tt)}else if(/Symbol/i.test(Ee))this.toFontChar=we(L.SymbolSetEncoding,(0,e.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(Ee))/Wingdings/i.test(qe)&&(0,n.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),this.toFontChar=we(L.ZapfDingbatsEncoding,(0,e.getDingbatsGlyphsUnicode)(),this.differences);else if($e){const et=we(this.defaultEncoding,(0,e.getGlyphsUnicode)(),this.differences);Le==="CIDFontType2"&&!this.cidEncoding.startsWith("Identity-")&&!(this.toUnicode instanceof B.IdentityToUnicodeMap)&&this.toUnicode.forEach(function(tt,je){et[+tt]=je}),this.toFontChar=et}else{const et=(0,e.getGlyphsUnicode)(),tt=[];this.toUnicode.forEach((je,Je)=>{if(!this.composite){const nt=this.differences[je]||this.defaultEncoding[je],Ke=(0,v.getUnicodeForGlyph)(nt,et);Ke!==-1&&(Je=Ke)}tt[+je]=Je}),this.composite&&this.toUnicode instanceof B.IdentityToUnicodeMap&&/Verdana/i.test(qe)&&he(tt,(0,O.getGlyphMapForStandardFonts)()),this.toFontChar=tt}z(Pe),this.loadedName=Ee.split("-")[0],this.fontType=(0,R.getFontType)(Le,Oe,Pe.isStandardFont)}checkAndRepair(Pe,qe,Le){const Oe=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function Ee(vt,xt){const Rt=Object.create(null);Rt["OS/2"]=null,Rt.cmap=null,Rt.head=null,Rt.hhea=null,Rt.hmtx=null,Rt.maxp=null,Rt.name=null,Rt.post=null;for(let At=0;At>>0,At=vt.getInt32()>>>0,Pt=vt.getInt32()>>>0,$t=vt.pos;vt.pos=vt.start||0,vt.skip(At);const Wt=vt.getBytes(Pt);return vt.pos=$t,xt==="head"&&(Wt[8]=Wt[9]=Wt[10]=Wt[11]=0,Wt[17]|=32),{tag:xt,checksum:Rt,length:Pt,offset:At,data:Wt}}function Ve(vt){return{version:vt.getString(4),numTables:vt.getUint16(),searchRange:vt.getUint16(),entrySelector:vt.getUint16(),rangeShift:vt.getUint16()}}function $e(vt){const xt=vt.getString(4);(0,n.assert)(xt==="ttcf","Must be a TrueType Collection font.");const Rt=vt.getUint16(),At=vt.getUint16(),Pt=vt.getInt32()>>>0,$t=[];for(let Dt=0;Dt>>0);const Wt={ttcTag:xt,majorVersion:Rt,minorVersion:At,numFonts:Pt,offsetTable:$t};switch(Rt){case 1:return Wt;case 2:return Wt.dsigTag=vt.getInt32()>>>0,Wt.dsigLength=vt.getInt32()>>>0,Wt.dsigOffset=vt.getInt32()>>>0,Wt}throw new n.FormatError(`Invalid TrueType Collection majorVersion: ${Rt}.`)}function Ue(vt,xt){const{numFonts:Rt,offsetTable:At}=$e(vt),Pt=xt.split("+");let $t;for(let Wt=0;Wt>>0;let Jt=!1;if(!(Dt&&Dt.platformId===It&&Dt.encodingId===wt)){if(It===0&&(wt===0||wt===1||wt===3))Jt=!0;else if(It===1&&wt===0)Jt=!0;else if(It===3&&wt===1&&(At||!Dt))Jt=!0,Rt||(Yt=!0);else if(Rt&&It===3&&wt===0){Jt=!0;let _n=!0;if(Et>3;Et.push(Jt),It=Math.max(Jt,It)}const wt=[];for(let Bt=0;Bt<=It;Bt++)wt.push({firstCode:xt.getUint16(),entryCount:xt.getUint16(),idDelta:fe(xt.getByte(),xt.getByte()),idRangePos:xt.pos+xt.getUint16()});for(let Bt=0;Bt<256;Bt++)if(Et[Bt]===0)xt.pos=wt[0].idRangePos+2*Bt,ht=xt.getUint16(),en.push({charCode:Bt,glyphId:ht});else{const Jt=wt[Et[Bt]];for(Xt=0;Xt>1;xt.skip(6);const It=[];let wt;for(wt=0;wt>1)-(Et-wt),Pt.offsetIndex=Jt,Bt=Math.max(Bt,Jt+Pt.end-Pt.start+1)}const _n=[];for(Xt=0;Xt>>0;for(Xt=0;Xt>>0,wt=xt.getInt32()>>>0;let Bt=xt.getInt32()>>>0;for(let Jt=It;Jt<=wt;Jt++)en.push({charCode:Jt,glyphId:Bt++})}}else return(0,n.warn)("cmap table has unsupported format: "+Vt),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};en.sort(function(Et,It){return Et.charCode-It.charCode});for(let Et=1;EtPt&&((0,n.info)(`The numOfMetrics (${Dt}) should not be greater than the numGlyphs (${Pt}).`),Dt=Pt,xt.data[34]=(Dt&65280)>>8,xt.data[35]=Dt&255);const Vt=Pt-Dt-(Rt.length-Dt*4>>1);if(Vt>0){const rn=new Uint8Array(Rt.length+Vt*2);rn.set(Rt.data),$t&&(rn[Rt.length]=Rt.data[2],rn[Rt.length+1]=Rt.data[3]),Rt.data=rn}}function Ze(vt,xt,Rt,At,Pt,$t){const Wt={length:0,sizeOfInstructions:0};if(Rt-xt<=12)return Wt;const Dt=vt.subarray(xt,Rt);let Yt=fe(Dt[0],Dt[1]);if(Yt<0)return Yt=-1,$(Dt,0,Yt),At.set(Dt,Pt),Wt.length=Dt.length,Wt;let Vt,rn=10,en=0;for(Vt=0;VtDt.length?Wt:!$t&&ht>0?(At.set(Dt.subarray(0,Xt),Pt),At.set([0,0],Pt+Xt),At.set(Dt.subarray(Et,wt),Pt+Xt+2),wt-=ht,Dt.length-wt>3&&(wt=wt+3&-4),Wt.length=wt,Wt):Dt.length-wt>3?(wt=wt+3&-4,At.set(Dt.subarray(0,wt),Pt),Wt.length=wt,Wt):(At.set(Dt,Pt),Wt.length=Dt.length,Wt)}function et(vt,xt,Rt){const At=vt.data,Pt=Q(At[0],At[1],At[2],At[3]);Pt>>16!==1&&((0,n.info)("Attempting to fix invalid version in head table: "+Pt),At[0]=0,At[1]=1,At[2]=0,At[3]=0);const $t=q(At[50],At[51]);if($t<0||$t>1){(0,n.info)("Attempting to fix invalid indexToLocFormat in head table: "+$t);const Wt=xt+1;if(Rt===Wt<<1)At[50]=0,At[51]=0;else if(Rt===Wt<<2)At[50]=0,At[51]=1;else throw new n.FormatError("Could not fix indexToLocFormat: "+$t)}}function tt(vt,xt,Rt,At,Pt,$t,Wt){let Dt,Yt,Vt;At?(Dt=4,Yt=function(bn,Cn){return bn[Cn]<<24|bn[Cn+1]<<16|bn[Cn+2]<<8|bn[Cn+3]},Vt=function(bn,Cn,Mn){bn[Cn]=Mn>>>24&255,bn[Cn+1]=Mn>>16&255,bn[Cn+2]=Mn>>8&255,bn[Cn+3]=Mn&255}):(Dt=2,Yt=function(bn,Cn){return bn[Cn]<<9|bn[Cn+1]<<1},Vt=function(bn,Cn,Mn){bn[Cn]=Mn>>9&255,bn[Cn+1]=Mn>>1&255});const rn=$t?Rt+1:Rt,en=Dt*(1+rn),Xt=new Uint8Array(en);Xt.set(vt.data.subarray(0,en)),vt.data=Xt;const ht=xt.data,Et=ht.length,It=new Uint8Array(Et);let wt,Bt;const Jt=[];for(wt=0,Bt=0;wtEt&&(an=Et),Jt.push({index:wt,offset:an,endOffset:0})}for(Jt.sort((an,bn)=>an.offset-bn.offset),wt=0;wtan.index-bn.index),wt=0;wtWt&&(Wt=an.sizeOfInstructions),nn+=bn,Vt(Xt,Bt,nn)}if(nn===0){const an=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(wt=0,Bt=Dt;wtan+nn?xt.data=It.subarray(0,an+nn):(xt.data=new Uint8Array(an+nn),xt.data.set(It.subarray(0,nn))),xt.data.set(It.subarray(0,an),nn),Vt(vt.data,Xt.length-Dt,nn+an)}else xt.data=It.subarray(0,nn);return{missingGlyphs:_n,maxSizeOfInstructions:Wt}}function je(vt,xt,Rt){const At=(qe.start||0)+vt.offset;qe.pos=At;const Pt=vt.length,$t=At+Pt,Wt=qe.getInt32();qe.skip(28);let Dt,Yt=!0,Vt;switch(Wt){case 65536:Dt=R.MacStandardGlyphOrdering;break;case 131072:const rn=qe.getUint16();if(rn!==Rt){Yt=!1;break}const en=[];for(Vt=0;Vt=32768){Yt=!1;break}en.push(Et)}if(!Yt)break;const Xt=[],ht=[];for(;qe.pos<$t;){const Et=qe.getByte();for(ht.length=Et,Vt=0;VtPt)continue;qe.pos=Et;const It=ht.name;if(ht.encoding){let wt="";for(let Bt=0,Jt=ht.length;Bt0&&(At+=an-1)}if(!It&&!Bt){let an=0;for(nn<=142?an=nt[nn]:nn>=192&&nn<=223?an=-1:nn>=224&&(an=-2),nn>=113&&nn<=117&&($t=en.pop(),isNaN($t)||(an=-$t*2));an<0&&en.length>0;)en.pop(),an++;for(;an>0;)en.push(NaN),an--}}xt.tooComplexToFollowFunctions=Et;const Jt=[Rt];At>Rt.length&&Jt.push(new Uint8Array(At-Rt.length)),rn>Vt&&((0,n.warn)("TT: complementing a missing function tail"),Jt.push(new Uint8Array([34,45]))),ot(vt,Jt)}function at(vt,xt){if(!vt.tooComplexToFollowFunctions){if(vt.functionsDefined.length>xt){(0,n.warn)("TT: more functions defined than expected"),vt.hintsValid=!1;return}for(let Rt=0,At=vt.functionsUsed.length;Rtxt){(0,n.warn)("TT: invalid function id: "+Rt),vt.hintsValid=!1;return}if(vt.functionsUsed[Rt]&&!vt.functionsDefined[Rt]){(0,n.warn)("TT: undefined function: "+Rt),vt.hintsValid=!1;return}}}}function ot(vt,xt){if(xt.length>1){let Rt=0,At,Pt;for(At=0,Pt=xt.length;At0||!(Le.cMap instanceof y.IdentityCMap));if(ze.version==="OTTO"&&!vt||!Ye.head||!Ye.hhea||!Ye.maxp||!Ye.post)return _t=new F.Stream(Ye["CFF "].data),st=new P.CFFFont(_t,Le),V(Le),this.convert(Pe,st,Le);delete Ye.glyf,delete Ye.loca,delete Ye.fpgm,delete Ye.prep,delete Ye["cvt "],this.isOpenType=!0}if(!Ye.maxp)throw new n.FormatError('Required "maxp" table is not found');qe.pos=(qe.start||0)+Ye.maxp.offset;const Ct=qe.getInt32(),ut=qe.getUint16();if(Le.scaleFactors&&Le.scaleFactors.length===ut&&ft){const{scaleFactors:vt}=Le,xt=q(Ye.head.data[50],Ye.head.data[51]),Rt=new l.GlyfTable({glyfTable:Ye.glyf.data,isGlyphLocationsLong:xt,locaTable:Ye.loca.data,numGlyphs:ut});Rt.scale(vt);const{glyf:At,loca:Pt,isLocationLong:$t}=Rt.write();Ye.glyf.data=At,Ye.loca.data=Pt,$t!==!!xt&&(Ye.head.data[50]=0,Ye.head.data[51]=$t?1:0);const Wt=Ye.hmtx.data;for(let Dt=0;Dt>8&255,Wt[Yt+1]=Vt&255;const rn=Math.round(vt[Dt]*fe(Wt[Yt+2],Wt[Yt+3]));$(Wt,Yt+2,rn)}}let rt=ut+1,mt=!0;rt>65535&&(mt=!1,rt=ut,(0,n.warn)("Not enough space in glyfs to duplicate first glyph."));let Ot=0,dt=0;Ct>=65536&&Ye.maxp.length>=22&&(qe.pos+=8,qe.getUint16()>2&&(Ye.maxp.data[14]=0,Ye.maxp.data[15]=2),qe.pos+=4,Ot=qe.getUint16(),qe.pos+=4,dt=qe.getUint16()),Ye.maxp.data[4]=rt>>8,Ye.maxp.data[5]=rt&255;const Nt=Xe(Ye.fpgm,Ye.prep,Ye["cvt "],Ot);if(Nt||(delete Ye.fpgm,delete Ye.prep,delete Ye["cvt "]),Qe(qe,Ye.hhea,Ye.hmtx,Ye.head,rt,mt),!Ye.head)throw new n.FormatError('Required "head" table is not found');et(Ye.head,ut,ft?Ye.loca.length:0);let kt=Object.create(null);if(ft){const vt=q(Ye.head.data[50],Ye.head.data[51]),xt=tt(Ye.loca,Ye.glyf,ut,vt,Nt,mt,dt);kt=xt.missingGlyphs,Ct>=65536&&Ye.maxp.length>=22&&(Ye.maxp.data[26]=xt.maxSizeOfInstructions>>8,Ye.maxp.data[27]=xt.maxSizeOfInstructions&255)}if(!Ye.hhea)throw new n.FormatError('Required "hhea" table is not found');Ye.hhea.data[10]===0&&Ye.hhea.data[11]===0&&(Ye.hhea.data[10]=255,Ye.hhea.data[11]=255);const Ut={unitsPerEm:q(Ye.head.data[18],Ye.head.data[19]),yMax:q(Ye.head.data[42],Ye.head.data[43]),yMin:fe(Ye.head.data[38],Ye.head.data[39]),ascent:fe(Ye.hhea.data[4],Ye.hhea.data[5]),descent:fe(Ye.hhea.data[6],Ye.hhea.data[7]),lineGap:fe(Ye.hhea.data[8],Ye.hhea.data[9])};this.ascent=Ut.ascent/Ut.unitsPerEm,this.descent=Ut.descent/Ut.unitsPerEm,this.lineGap=Ut.lineGap/Ut.unitsPerEm,this.cssFontInfo&&this.cssFontInfo.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,Ye.post&&je(Ye.post,Le,ut),Ye.post={tag:"post",data:pe(Le)};const Ht=[];function Kt(vt){return!kt[vt]}if(Le.composite){const vt=Le.cidToGidMap||[],xt=vt.length===0;Le.cMap.forEach(function(Rt,At){if(typeof At=="string"&&(At=_e(Rt,At,!0)),At>65535)throw new n.FormatError("Max size of CID is 65,535");let Pt=-1;xt?Pt=At:vt[At]!==void 0&&(Pt=vt[At]),Pt>=0&&Pt=61440&&Yt<=61695&&(Yt&=255),Ht[Yt]=At[Dt].glyphId}if(Le.glyphNames&&($t.length||this.differences.length))for(let Dt=0;Dt<256;++Dt){if(!Wt&&Ht[Dt]!==void 0)continue;const Yt=this.differences[Dt]||$t[Dt];if(!Yt)continue;const Vt=Le.glyphNames.indexOf(Yt);Vt>0&&Kt(Vt)&&(Ht[Dt]=Vt)}}Ht.length===0&&(Ht[0]=0);let qt=rt-1;if(mt||(qt=0),!Le.cssFontInfo){const vt=ye(Ht,Kt,qt,this.toUnicode);this.toFontChar=vt.toFontChar,Ye.cmap={tag:"cmap",data:Ie(vt.charCodeToGlyphId,vt.toUnicodeExtraMap,rt)},(!Ye["OS/2"]||!Ce(Ye["OS/2"],qe))&&(Ye["OS/2"]={tag:"OS/2",data:oe(Le,vt.charCodeToGlyphId,Ut)})}if(!ft)try{_t=new F.Stream(Ye["CFF "].data),st=new c.CFFParser(_t,Le,R.SEAC_ANALYSIS_ENABLED).parse(),st.duplicateFirstGlyph();const xt=new c.CFFCompiler(st);Ye["CFF "].data=xt.compile()}catch{(0,n.warn)("Failed to compile font "+Le.loadedName)}if(!Ye.name)Ye.name={tag:"name",data:Ne(this.name)};else{const vt=Je(Ye.name);Ye.name.data=Ne(Pe,vt),this.psName=vt[0][6]||null}const pn=new D.OpenTypeFileBuilder(ze.version);for(const vt in Ye)pn.addTable(vt,Ye[vt].data);return pn.toArray()}convert(Pe,qe,Le){Le.fixedPitch=!1,Le.builtInEncoding&&H(Le,Le.builtInEncoding);let Oe=1;qe instanceof P.CFFFont&&(Oe=qe.numGlyphs-1);const Ee=qe.getGlyphMapping(Le);let Ae=null,Ve=Ee,$e=null;Le.cssFontInfo||(Ae=ye(Ee,qe.hasGlyphId.bind(qe),Oe,this.toUnicode),this.toFontChar=Ae.toFontChar,Ve=Ae.charCodeToGlyphId,$e=Ae.toUnicodeExtraMap);const Ue=qe.numGlyphs;function He(je,Je){let nt=null;for(const Ke in je)Je===je[Ke]&&(nt||(nt=[]),nt.push(Ke|0));return nt}function Qe(je,Je){for(const nt in je)if(Je===je[nt])return nt|0;return Ae.charCodeToGlyphId[Ae.nextAvailableFontCharCode]=Je,Ae.nextAvailableFontCharCode++}const Ze=qe.seacs;if(Ae&&R.SEAC_ANALYSIS_ENABLED&&Ze&&Ze.length){const je=Le.fontMatrix||n.FONT_IDENTITY_MATRIX,Je=qe.getCharset(),nt=Object.create(null);for(let Ke in Ze){Ke|=0;const at=Ze[Ke],ot=L.StandardEncoding[at[2]],Xe=L.StandardEncoding[at[3]],ze=Je.indexOf(ot),Ye=Je.indexOf(Xe);if(ze<0||Ye<0)continue;const st={x:at[0]*je[0]+at[1]*je[2]+je[4],y:at[0]*je[1]+at[1]*je[3]+je[5]},_t=He(Ee,Ke);if(_t)for(let ft=0,Ct=_t.length;ft1&&arguments[1]!==void 0?arguments[1]:!1,Le,Oe,Ee,Ae=Pe;this.cMap&&this.cMap.contains(Pe)&&(Ae=this.cMap.lookup(Pe),typeof Ae=="string"&&(Ae=_e(Pe,Ae))),Oe=this.widths[Ae],typeof Oe!="number"&&(Oe=this.defaultWidth);const Ve=this.vmetrics&&this.vmetrics[Ae];let $e=this.toUnicode.get(Pe)||Pe;typeof $e=="number"&&($e=String.fromCharCode($e));let Ue=this.toFontChar[Pe]!==void 0;if(Le=this.toFontChar[Pe]||Pe,this.missingFile){const et=this.differences[Pe]||this.defaultEncoding[Pe];(et===".notdef"||et==="")&&this.type==="Type1"&&(Le=32),Le=(0,v.mapSpecialUnicodeValues)(Le)}this.isType3Font&&(Ee=Le);let He=null;if(this.seacMap&&this.seacMap[Pe]){Ue=!0;const et=this.seacMap[Pe];Le=et.baseFontCharCode,He={fontChar:String.fromCodePoint(et.accentFontCharCode),offset:et.accentOffset}}let Qe="";typeof Le=="number"&&(Le<=1114111?Qe=String.fromCodePoint(Le):(0,n.warn)(`charToGlyph - invalid fontCharCode: ${Le}`));let Ze=this._glyphCache[Pe];return(!Ze||!Ze.matchesForCache(Pe,Qe,$e,He,Oe,Ve,Ee,qe,Ue))&&(Ze=new X(Pe,Qe,$e,He,Oe,Ve,Ee,qe,Ue),this._glyphCache[Pe]=Ze),Ze}charsToGlyphs(Pe){let qe=this._charsCache[Pe];if(qe)return qe;if(qe=[],this.cMap){const Le=Object.create(null),Oe=Pe.length;let Ee=0;for(;Eeqe.length%2===1,Ee=this.toUnicode instanceof B.IdentityToUnicodeMap?Ae=>this.toUnicode.charCodeOf(Ae):Ae=>this.toUnicode.charCodeOf(String.fromCodePoint(Ae));for(let Ae=0,Ve=Pe.length;Ae55295&&($e<57344||$e>65533)&&Ae++,this.toUnicode){const Ue=Ee($e);if(Ue!==-1){Oe()&&(qe.push(Le.join("")),Le.length=0);const He=this.cMap?this.cMap.getCharCodeLength(Ue):1;for(let Qe=He-1;Qe>=0;Qe--)Le.push(String.fromCharCode(Ue>>8*Qe&255));continue}}Oe()||(qe.push(Le.join("")),Le.length=0),Le.push(String.fromCodePoint($e))}return qe.push(Le.join("")),qe}}a.Font=ke;class De{constructor(Pe){this.error=Pe,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(Pe){return[Pe]}exportData(){return{error:this.error}}}a.ErrorFont=De},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CFFTopDict=a.CFFStrings=a.CFFStandardStrings=a.CFFPrivateDict=a.CFFParser=a.CFFIndex=a.CFFHeader=a.CFFFDSelect=a.CFFCompiler=a.CFFCharset=a.CFF=void 0;var n=g(2),c=g(161),R=g(162);const v=10,e=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];a.CFFStandardStrings=e;const L=391,O=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],B=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(X,q){X[q-2]=X[q-2]+X[q-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(X,q){X[q-2]=X[q-2]-X[q-1]}},{id:"div",min:2,stackDelta:-1,stackFn(X,q){X[q-2]=X[q-2]/X[q-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(X,q){X[q-1]=-X[q-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(X,q){X[q-2]=X[q-2]*X[q-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];class P{constructor(q,$,fe){this.bytes=q.getBytes(),this.properties=$,this.seacAnalysisEnabled=!!fe}parse(){const q=this.properties,$=new S;this.cff=$;const fe=this.parseHeader(),Q=this.parseIndex(fe.endPos),ie=this.parseIndex(Q.endPos),Te=this.parseIndex(ie.endPos),me=this.parseIndex(Te.endPos),K=this.parseDict(ie.obj.get(0)),ce=this.createDict(F,K,$.strings);$.header=fe.obj,$.names=this.parseNameIndex(Q.obj),$.strings=this.parseStringIndex(Te.obj),$.topDict=ce,$.globalSubrIndex=me.obj,this.parsePrivateDict($.topDict),$.isCIDFont=ce.hasName("ROS");const de=ce.getByName("CharStrings"),Z=this.parseIndex(de).obj,ae=ce.getByName("FontMatrix");ae&&(q.fontMatrix=ae);const he=ce.getByName("FontBBox");he&&(q.ascent=Math.max(he[3],he[1]),q.descent=Math.min(he[1],he[3]),q.ascentScaled=!0);let we,_e;if($.isCIDFont){const se=this.parseIndex(ce.getByName("FDArray")).obj;for(let Ie=0,Ce=se.count;Ie=$)throw new n.FormatError("Invalid CFF header");fe!==0&&((0,n.info)("cff data is shifted"),q=q.subarray(fe),this.bytes=q);const Q=q[0],ie=q[1],Te=q[2],me=q[3];return{obj:new _(Q,ie,Te,me),endPos:Te}}parseDict(q){let $=0;function fe(){let K=q[$++];return K===30?Q():K===28?(K=q[$++],K=(K<<24|q[$++]<<16)>>16,K):K===29?(K=q[$++],K=K<<8|q[$++],K=K<<8|q[$++],K=K<<8|q[$++],K):K>=32&&K<=246?K-139:K>=247&&K<=250?(K-247)*256+q[$++]+108:K>=251&&K<=254?-((K-251)*256)-q[$++]-108:((0,n.warn)('CFFParser_parseDict: "'+K+'" is a reserved command.'),NaN)}function Q(){let K="";const de=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],Z=q.length;for(;$>4,we=ae&15;if(he===15||(K+=de[he],we===15))break;K+=de[we]}return parseFloat(K)}let ie=[];const Te=[];$=0;const me=q.length;for(;$v)return!1;let ie=q.stackSize;const Te=q.stack,me=$.length;for(let K=0;K>16,K+=2,ie++;else if(ce===14){if(ie>=4&&(ie-=4,this.seacAnalysisEnabled))return q.seac=Te.slice(ie,ie+4),!1;de=O[ce]}else if(ce>=32&&ce<=246)Te[ie]=ce-139,ie++;else if(ce>=247&&ce<=254)Te[ie]=ce<251?(ce-247<<8)+$[K]+108:-(ce-251<<8)-$[K]-108,K++,ie++;else if(ce===255)Te[ie]=($[K]<<24|$[K+1]<<16|$[K+2]<<8|$[K+3])/65536,K+=4,ie++;else if(ce===19||ce===20)q.hints+=ie>>1,K+=q.hints+7>>3,ie%=2,de=O[ce];else if(ce===10||ce===29){let Z;if(ce===10?Z=fe:Z=Q,!Z)return de=O[ce],(0,n.warn)("Missing subrsIndex for "+de.id),!1;let ae=32768;Z.count<1240?ae=107:Z.count<33900&&(ae=1131);const he=Te[--ie]+ae;if(he<0||he>=Z.count||isNaN(he))return de=O[ce],(0,n.warn)("Out of bounds subrIndex for "+de.id),!1;if(q.stackSize=ie,q.callDepth++,!this.parseCharString(q,Z.get(he),fe,Q))return!1;q.callDepth--,ie=q.stackSize;continue}else{if(ce===11)return q.stackSize=ie,!0;ce===0&&K===$.length?($[K-1]=14,de=O[14]):de=O[ce]}if(de){if(de.stem&&(q.hints+=ie>>1,ce===3||ce===23?q.hasVStems=!0:q.hasVStems&&(ce===1||ce===18)&&((0,n.warn)("CFF stem hints are in wrong order"),$[K-1]=ce===1?3:23)),"min"in de&&!q.undefStack&&ie=2&&de.stem?ie%=2:ie>1&&(0,n.warn)("Found too many parameters for stack-clearing command"),ie>0&&(q.width=Te[ie-1])),"stackDelta"in de?("stackFn"in de&&de.stackFn(Te,ie),ie+=de.stackDelta):de.stackClearing?ie=0:de.resetStack?(ie=0,q.undefStack=!1):de.undefStack&&(ie=0,q.undefStack=!0,q.firstStackClearing=!1)}}return q.stackSize=ie,!0}parseCharStrings(q){let{charStrings:$,localSubrIndex:fe,globalSubrIndex:Q,fdSelect:ie,fdArray:Te,privateDict:me}=q;const K=[],ce=[],de=$.count;for(let Z=0;Z=Te.length&&((0,n.warn)("Invalid fd index for glyph index."),we=!1),we&&(ye=Te[se].privateDict,_e=ye.subrsIndex)}else fe&&(_e=fe);if(we&&(we=this.parseCharString(he,ae,_e,Q)),he.width!==null){const se=ye.getByName("nominalWidthX");ce[Z]=se+he.width}else{const se=ye.getByName("defaultWidthX");ce[Z]=se}he.seac!==null&&(K[Z]=he.seac),we||$.set(Z,new Uint8Array([14]))}return{charStrings:$,seacs:K,widths:ce}}emptyPrivateDictionary(q){const $=this.createDict(G,[],q.strings);q.setByKey(18,[0,0]),q.privateDict=$}parsePrivateDict(q){if(!q.hasName("Private")){this.emptyPrivateDictionary(q);return}const $=q.getByName("Private");if(!Array.isArray($)||$.length!==2){q.removeByName("Private");return}const fe=$[0],Q=$[1];if(fe===0||Q>=this.bytes.length){this.emptyPrivateDictionary(q);return}const ie=Q+fe,Te=this.bytes.subarray(Q,ie),me=this.parseDict(Te),K=this.createDict(G,me,q.strings);if(q.privateDict=K,!K.getByName("Subrs"))return;const ce=K.getByName("Subrs"),de=Q+ce;if(ce===0||de>=this.bytes.length){this.emptyPrivateDictionary(q);return}const Z=this.parseIndex(de);K.subrsIndex=Z.obj}parseCharsets(q,$,fe,Q){if(q===0)return new J(!0,W.ISO_ADOBE,c.ISOAdobeCharset);if(q===1)return new J(!0,W.EXPERT,c.ExpertCharset);if(q===2)return new J(!0,W.EXPERT_SUBSET,c.ExpertSubsetCharset);const ie=this.bytes,Te=q,me=ie[q++],K=[Q?0:".notdef"];let ce,de,Z;switch($-=1,me){case 0:for(Z=0;Z<$;Z++)ce=ie[q++]<<8|ie[q++],K.push(Q?ce:fe.get(ce));break;case 1:for(;K.length<=$;)for(ce=ie[q++]<<8|ie[q++],de=ie[q++],Z=0;Z<=de;Z++)K.push(Q?ce++:fe.get(ce++));break;case 2:for(;K.length<=$;)for(ce=ie[q++]<<8|ie[q++],de=ie[q++]<<8|ie[q++],Z=0;Z<=de;Z++)K.push(Q?ce++:fe.get(ce++));break;default:throw new n.FormatError("Unknown charset format")}const ae=q,he=ie.subarray(Te,ae);return new J(!1,me,K,he)}parseEncoding(q,$,fe,Q){const ie=Object.create(null),Te=this.bytes;let me=!1,K,ce,de,Z=null;function ae(){const he=Te[q++];for(ce=0;ce=65535){(0,n.warn)("Not enough space in charstrings to duplicate first glyph.");return}const q=this.charStrings.get(0);this.charStrings.add(q),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(q){return q<0||q>=this.charStrings.count?!1:this.charStrings.get(q).length>0}}a.CFF=S;class _{constructor(q,$,fe,Q){this.major=q,this.minor=$,this.hdrSize=fe,this.offSize=Q}}a.CFFHeader=_;class l{constructor(){this.strings=[]}get(q){return q>=0&&q<=L-1?e[q]:q-L<=this.strings.length?this.strings[q-L]:e[0]}getSID(q){let $=e.indexOf(q);return $!==-1?$:($=this.strings.indexOf(q),$!==-1?$+L:-1)}add(q){this.strings.push(q)}get count(){return this.strings.length}}a.CFFStrings=l;class y{constructor(){this.objects=[],this.length=0}add(q){this.length+=q.length,this.objects.push(q)}set(q,$){this.length+=$.length-this.objects[q].length,this.objects[q]=$}get(q){return this.objects[q]}get count(){return this.objects.length}}a.CFFIndex=y;class D{constructor(q,$){this.keyToNameMap=q.keyToNameMap,this.nameToKeyMap=q.nameToKeyMap,this.defaults=q.defaults,this.types=q.types,this.opcodes=q.opcodes,this.order=q.order,this.strings=$,this.values=Object.create(null)}setByKey(q,$){if(!(q in this.keyToNameMap))return!1;const fe=$.length;if(fe===0)return!0;for(let ie=0;ie=this.fdSelect.length?-1:this.fdSelect[q]}}a.CFFFDSelect=V;class H{constructor(){this.offsets=Object.create(null)}isTracking(q){return q in this.offsets}track(q,$){if(q in this.offsets)throw new n.FormatError(`Already tracking location of ${q}`);this.offsets[q]=$}offset(q){for(const $ in this.offsets)this.offsets[$]+=q}setEntryLocation(q,$,fe){if(!(q in this.offsets))throw new n.FormatError(`Not tracking location of ${q}`);const Q=fe.data,ie=this.offsets[q],Te=5;for(let me=0,K=$.length;me>24&255,Q[Z]=we>>16&255,Q[ae]=we>>8&255,Q[he]=we&255}}}class z{constructor(q){this.cff=q}compile(){const q=this.cff,$={data:[],length:0,add(ae){this.data=this.data.concat(ae),this.length=this.data.length}},fe=this.compileHeader(q.header);$.add(fe);const Q=this.compileNameIndex(q.names);if($.add(Q),q.isCIDFont&&q.topDict.hasName("FontMatrix")){const ae=q.topDict.getByName("FontMatrix");q.topDict.removeByName("FontMatrix");for(let he=0,we=q.fdArray.length;he16&&q.topDict.removeByName("XUID"),q.topDict.setByName("charset",0);let Te=this.compileTopDicts([q.topDict],$.length,q.isCIDFont);$.add(Te.output);const me=Te.trackers[0],K=this.compileStringIndex(q.strings.strings);$.add(K);const ce=this.compileIndex(q.globalSubrIndex);if($.add(ce),q.encoding&&q.topDict.hasName("Encoding"))if(q.encoding.predefined)me.setEntryLocation("Encoding",[q.encoding.format],$);else{const ae=this.compileEncoding(q.encoding);me.setEntryLocation("Encoding",[$.length],$),$.add(ae)}const de=this.compileCharset(q.charset,q.charStrings.count,q.strings,q.isCIDFont);me.setEntryLocation("charset",[$.length],$),$.add(de);const Z=this.compileCharStrings(q.charStrings);if(me.setEntryLocation("CharStrings",[$.length],$),$.add(Z),q.isCIDFont){me.setEntryLocation("FDSelect",[$.length],$);const ae=this.compileFDSelect(q.fdSelect);$.add(ae),Te=this.compileTopDicts(q.fdArray,$.length,!0),me.setEntryLocation("FDArray",[$.length],$),$.add(Te.output);const he=Te.trackers;this.compilePrivateDicts(q.fdArray,he,$)}return this.compilePrivateDicts([q.topDict],[me],$),$.add([0]),$.data}encodeNumber(q){return Number.isInteger(q)?this.encodeInteger(q):this.encodeFloat(q)}static get EncodeFloatRegExp(){return(0,n.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(q){let $=q.toString();const fe=z.EncodeFloatRegExp.exec($);if(fe){const K=parseFloat("1e"+((fe[2]?+fe[2]:0)+fe[1].length));$=(Math.round(q*K)/K).toString()}let Q="",ie,Te;for(ie=0,Te=$.length;ie=-107&&q<=107?$=[q+139]:q>=108&&q<=1131?(q-=108,$=[(q>>8)+247,q&255]):q>=-1131&&q<=-108?(q=-q-108,$=[(q>>8)+251,q&255]):q>=-32768&&q<=32767?$=[28,q>>8&255,q&255]:$=[29,q>>24&255,q>>16&255,q>>8&255,q&255],$}compileHeader(q){return[q.major,q.minor,4,q.offSize]}compileNameIndex(q){const $=new y;for(let fe=0,Q=q.length;fe"~"||ce==="["||ce==="]"||ce==="("||ce===")"||ce==="{"||ce==="}"||ce==="<"||ce===">"||ce==="/"||ce==="%")&&(ce="_"),me[K]=ce}me=me.join(""),me===""&&(me="Bad_Font_Name"),$.add((0,n.stringToBytes)(me))}return this.compileIndex($)}compileTopDicts(q,$,fe){const Q=[];let ie=new y;for(let Te=0,me=q.length;Te>8&255,Te&255]);else{const me=1+Te*2;ie=new Uint8Array(me),ie[0]=0;let K=0;const ce=q.charset.length;let de=!1;for(let Z=1;Z>8&255,ie[Z+1]=ae&255}}return this.compileTypedArray(ie)}compileEncoding(q){return this.compileTypedArray(q.raw)}compileFDSelect(q){const $=q.format;let fe,Q;switch($){case 0:for(fe=new Uint8Array(1+q.fdSelect.length),fe[0]=$,Q=0;Q>8&255,ie&255,Te];for(Q=1;Q>8&255,Q&255,ce),Te=ce)}const K=(me.length-3)/3;me[1]=K>>8&255,me[2]=K&255,me.push(Q>>8&255,Q&255),fe=new Uint8Array(me);break}return this.compileTypedArray(fe)}compileTypedArray(q){const $=[];for(let fe=0,Q=q.length;fe1&&arguments[1]!==void 0?arguments[1]:[];const fe=q.objects,Q=fe.length;if(Q===0)return[0,0];const ie=[Q>>8&255,Q&255];let Te=1,me;for(me=0;me>8&255,ce&255):K===3?ie.push(ce>>16&255,ce>>8&255,ce&255):ie.push(ce>>>24&255,ce>>16&255,ce>>8&255,ce&255),fe[me]&&(ce+=fe[me].length);for(me=0;me{Object.defineProperty(a,"__esModule",{value:!0}),a.ISOAdobeCharset=a.ExpertSubsetCharset=a.ExpertCharset=void 0;const g=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"];a.ISOAdobeCharset=g;const n=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];a.ExpertCharset=n;const c=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"];a.ExpertSubsetCharset=c},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ZapfDingbatsEncoding=a.WinAnsiEncoding=a.SymbolSetEncoding=a.StandardEncoding=a.MacRomanEncoding=a.ExpertEncoding=void 0,a.getEncoding=O;const g=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];a.ExpertEncoding=g;const n=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],c=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"];a.MacRomanEncoding=c;const R=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""];a.StandardEncoding=R;const v=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"];a.WinAnsiEncoding=v;const e=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""];a.SymbolSetEncoding=e;const L=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];a.ZapfDingbatsEncoding=L;function O(B){switch(B){case"WinAnsiEncoding":return v;case"StandardEncoding":return R;case"MacRomanEncoding":return c;case"SymbolSetEncoding":return e;case"ZapfDingbatsEncoding":return L;case"ExpertEncoding":return g;case"MacExpertEncoding":return n;default:return null}}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.SEAC_ANALYSIS_ENABLED=a.MacStandardGlyphOrdering=a.FontFlags=void 0,a.getFontType=B,a.normalizeFontName=_,a.recoverGlyphName=P,a.type1FontGlyphMapping=S;var n=g(2),c=g(162),R=g(164),v=g(165);const e=!0;a.SEAC_ANALYSIS_ENABLED=e;const L={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};a.FontFlags=L;const O=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];a.MacStandardGlyphOrdering=O;function B(l,y){let D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;switch(l){case"Type1":return D?n.FontType.TYPE1STANDARD:y==="Type1C"?n.FontType.TYPE1C:n.FontType.TYPE1;case"CIDFontType0":return y==="CIDFontType0C"?n.FontType.CIDFONTTYPE0C:n.FontType.CIDFONTTYPE0;case"OpenType":return n.FontType.OPENTYPE;case"TrueType":return n.FontType.TRUETYPE;case"CIDFontType2":return n.FontType.CIDFONTTYPE2;case"MMType1":return n.FontType.MMTYPE1;case"Type0":return n.FontType.TYPE0;default:return n.FontType.UNKNOWN}}function P(l,y){if(y[l]!==void 0)return l;const D=(0,v.getUnicodeForGlyph)(l,y);if(D!==-1){for(const M in y)if(y[M]===D)return M}return(0,n.info)("Unable to recover a standard glyph name for: "+l),l}function S(l,y,D){const M=Object.create(null);let F,N,G;const W=!!(l.flags&L.Symbolic);if(l.isInternalFont)for(G=y,N=0;N=0?M[N]=F:M[N]=0;else if(l.baseEncodingName)for(G=(0,c.getEncoding)(l.baseEncodingName),N=0;N=0?M[N]=F:M[N]=0;else if(W)for(N in y)M[N]=y[N];else for(G=c.StandardEncoding,N=0;N=0?M[N]=F:M[N]=0;const J=l.differences;let Y;if(J)for(N in J){const V=J[N];if(F=D.indexOf(V),F===-1){Y||(Y=(0,R.getGlyphsUnicode)());const H=P(V,Y);H!==V&&(F=D.indexOf(H))}F>=0?M[N]=F:M[N]=0}return M}function _(l){return l.replace(/[,_]/g,"-").replace(/\s/g,"")}},(x,a,g)=>{g.r(a),g.d(a,{getDingbatsGlyphsUnicode:()=>R,getGlyphsUnicode:()=>c});var n=g(131);const c=(0,n.getArrayLookupTableFactory)(function(){return["A",65,"AE",198,"AEacute",508,"AEmacron",482,"AEsmall",63462,"Aacute",193,"Aacutesmall",63457,"Abreve",258,"Abreveacute",7854,"Abrevecyrillic",1232,"Abrevedotbelow",7862,"Abrevegrave",7856,"Abrevehookabove",7858,"Abrevetilde",7860,"Acaron",461,"Acircle",9398,"Acircumflex",194,"Acircumflexacute",7844,"Acircumflexdotbelow",7852,"Acircumflexgrave",7846,"Acircumflexhookabove",7848,"Acircumflexsmall",63458,"Acircumflextilde",7850,"Acute",63177,"Acutesmall",63412,"Acyrillic",1040,"Adblgrave",512,"Adieresis",196,"Adieresiscyrillic",1234,"Adieresismacron",478,"Adieresissmall",63460,"Adotbelow",7840,"Adotmacron",480,"Agrave",192,"Agravesmall",63456,"Ahookabove",7842,"Aiecyrillic",1236,"Ainvertedbreve",514,"Alpha",913,"Alphatonos",902,"Amacron",256,"Amonospace",65313,"Aogonek",260,"Aring",197,"Aringacute",506,"Aringbelow",7680,"Aringsmall",63461,"Asmall",63329,"Atilde",195,"Atildesmall",63459,"Aybarmenian",1329,"B",66,"Bcircle",9399,"Bdotaccent",7682,"Bdotbelow",7684,"Becyrillic",1041,"Benarmenian",1330,"Beta",914,"Bhook",385,"Blinebelow",7686,"Bmonospace",65314,"Brevesmall",63220,"Bsmall",63330,"Btopbar",386,"C",67,"Caarmenian",1342,"Cacute",262,"Caron",63178,"Caronsmall",63221,"Ccaron",268,"Ccedilla",199,"Ccedillaacute",7688,"Ccedillasmall",63463,"Ccircle",9400,"Ccircumflex",264,"Cdot",266,"Cdotaccent",266,"Cedillasmall",63416,"Chaarmenian",1353,"Cheabkhasiancyrillic",1212,"Checyrillic",1063,"Chedescenderabkhasiancyrillic",1214,"Chedescendercyrillic",1206,"Chedieresiscyrillic",1268,"Cheharmenian",1347,"Chekhakassiancyrillic",1227,"Cheverticalstrokecyrillic",1208,"Chi",935,"Chook",391,"Circumflexsmall",63222,"Cmonospace",65315,"Coarmenian",1361,"Csmall",63331,"D",68,"DZ",497,"DZcaron",452,"Daarmenian",1332,"Dafrican",393,"Dcaron",270,"Dcedilla",7696,"Dcircle",9401,"Dcircumflexbelow",7698,"Dcroat",272,"Ddotaccent",7690,"Ddotbelow",7692,"Decyrillic",1044,"Deicoptic",1006,"Delta",8710,"Deltagreek",916,"Dhook",394,"Dieresis",63179,"DieresisAcute",63180,"DieresisGrave",63181,"Dieresissmall",63400,"Digammagreek",988,"Djecyrillic",1026,"Dlinebelow",7694,"Dmonospace",65316,"Dotaccentsmall",63223,"Dslash",272,"Dsmall",63332,"Dtopbar",395,"Dz",498,"Dzcaron",453,"Dzeabkhasiancyrillic",1248,"Dzecyrillic",1029,"Dzhecyrillic",1039,"E",69,"Eacute",201,"Eacutesmall",63465,"Ebreve",276,"Ecaron",282,"Ecedillabreve",7708,"Echarmenian",1333,"Ecircle",9402,"Ecircumflex",202,"Ecircumflexacute",7870,"Ecircumflexbelow",7704,"Ecircumflexdotbelow",7878,"Ecircumflexgrave",7872,"Ecircumflexhookabove",7874,"Ecircumflexsmall",63466,"Ecircumflextilde",7876,"Ecyrillic",1028,"Edblgrave",516,"Edieresis",203,"Edieresissmall",63467,"Edot",278,"Edotaccent",278,"Edotbelow",7864,"Efcyrillic",1060,"Egrave",200,"Egravesmall",63464,"Eharmenian",1335,"Ehookabove",7866,"Eightroman",8551,"Einvertedbreve",518,"Eiotifiedcyrillic",1124,"Elcyrillic",1051,"Elevenroman",8554,"Emacron",274,"Emacronacute",7702,"Emacrongrave",7700,"Emcyrillic",1052,"Emonospace",65317,"Encyrillic",1053,"Endescendercyrillic",1186,"Eng",330,"Enghecyrillic",1188,"Enhookcyrillic",1223,"Eogonek",280,"Eopen",400,"Epsilon",917,"Epsilontonos",904,"Ercyrillic",1056,"Ereversed",398,"Ereversedcyrillic",1069,"Escyrillic",1057,"Esdescendercyrillic",1194,"Esh",425,"Esmall",63333,"Eta",919,"Etarmenian",1336,"Etatonos",905,"Eth",208,"Ethsmall",63472,"Etilde",7868,"Etildebelow",7706,"Euro",8364,"Ezh",439,"Ezhcaron",494,"Ezhreversed",440,"F",70,"Fcircle",9403,"Fdotaccent",7710,"Feharmenian",1366,"Feicoptic",996,"Fhook",401,"Fitacyrillic",1138,"Fiveroman",8548,"Fmonospace",65318,"Fourroman",8547,"Fsmall",63334,"G",71,"GBsquare",13191,"Gacute",500,"Gamma",915,"Gammaafrican",404,"Gangiacoptic",1002,"Gbreve",286,"Gcaron",486,"Gcedilla",290,"Gcircle",9404,"Gcircumflex",284,"Gcommaaccent",290,"Gdot",288,"Gdotaccent",288,"Gecyrillic",1043,"Ghadarmenian",1346,"Ghemiddlehookcyrillic",1172,"Ghestrokecyrillic",1170,"Gheupturncyrillic",1168,"Ghook",403,"Gimarmenian",1331,"Gjecyrillic",1027,"Gmacron",7712,"Gmonospace",65319,"Grave",63182,"Gravesmall",63328,"Gsmall",63335,"Gsmallhook",667,"Gstroke",484,"H",72,"H18533",9679,"H18543",9642,"H18551",9643,"H22073",9633,"HPsquare",13259,"Haabkhasiancyrillic",1192,"Hadescendercyrillic",1202,"Hardsigncyrillic",1066,"Hbar",294,"Hbrevebelow",7722,"Hcedilla",7720,"Hcircle",9405,"Hcircumflex",292,"Hdieresis",7718,"Hdotaccent",7714,"Hdotbelow",7716,"Hmonospace",65320,"Hoarmenian",1344,"Horicoptic",1e3,"Hsmall",63336,"Hungarumlaut",63183,"Hungarumlautsmall",63224,"Hzsquare",13200,"I",73,"IAcyrillic",1071,"IJ",306,"IUcyrillic",1070,"Iacute",205,"Iacutesmall",63469,"Ibreve",300,"Icaron",463,"Icircle",9406,"Icircumflex",206,"Icircumflexsmall",63470,"Icyrillic",1030,"Idblgrave",520,"Idieresis",207,"Idieresisacute",7726,"Idieresiscyrillic",1252,"Idieresissmall",63471,"Idot",304,"Idotaccent",304,"Idotbelow",7882,"Iebrevecyrillic",1238,"Iecyrillic",1045,"Ifraktur",8465,"Igrave",204,"Igravesmall",63468,"Ihookabove",7880,"Iicyrillic",1048,"Iinvertedbreve",522,"Iishortcyrillic",1049,"Imacron",298,"Imacroncyrillic",1250,"Imonospace",65321,"Iniarmenian",1339,"Iocyrillic",1025,"Iogonek",302,"Iota",921,"Iotaafrican",406,"Iotadieresis",938,"Iotatonos",906,"Ismall",63337,"Istroke",407,"Itilde",296,"Itildebelow",7724,"Izhitsacyrillic",1140,"Izhitsadblgravecyrillic",1142,"J",74,"Jaarmenian",1345,"Jcircle",9407,"Jcircumflex",308,"Jecyrillic",1032,"Jheharmenian",1355,"Jmonospace",65322,"Jsmall",63338,"K",75,"KBsquare",13189,"KKsquare",13261,"Kabashkircyrillic",1184,"Kacute",7728,"Kacyrillic",1050,"Kadescendercyrillic",1178,"Kahookcyrillic",1219,"Kappa",922,"Kastrokecyrillic",1182,"Kaverticalstrokecyrillic",1180,"Kcaron",488,"Kcedilla",310,"Kcircle",9408,"Kcommaaccent",310,"Kdotbelow",7730,"Keharmenian",1364,"Kenarmenian",1343,"Khacyrillic",1061,"Kheicoptic",998,"Khook",408,"Kjecyrillic",1036,"Klinebelow",7732,"Kmonospace",65323,"Koppacyrillic",1152,"Koppagreek",990,"Ksicyrillic",1134,"Ksmall",63339,"L",76,"LJ",455,"LL",63167,"Lacute",313,"Lambda",923,"Lcaron",317,"Lcedilla",315,"Lcircle",9409,"Lcircumflexbelow",7740,"Lcommaaccent",315,"Ldot",319,"Ldotaccent",319,"Ldotbelow",7734,"Ldotbelowmacron",7736,"Liwnarmenian",1340,"Lj",456,"Ljecyrillic",1033,"Llinebelow",7738,"Lmonospace",65324,"Lslash",321,"Lslashsmall",63225,"Lsmall",63340,"M",77,"MBsquare",13190,"Macron",63184,"Macronsmall",63407,"Macute",7742,"Mcircle",9410,"Mdotaccent",7744,"Mdotbelow",7746,"Menarmenian",1348,"Mmonospace",65325,"Msmall",63341,"Mturned",412,"Mu",924,"N",78,"NJ",458,"Nacute",323,"Ncaron",327,"Ncedilla",325,"Ncircle",9411,"Ncircumflexbelow",7754,"Ncommaaccent",325,"Ndotaccent",7748,"Ndotbelow",7750,"Nhookleft",413,"Nineroman",8552,"Nj",459,"Njecyrillic",1034,"Nlinebelow",7752,"Nmonospace",65326,"Nowarmenian",1350,"Nsmall",63342,"Ntilde",209,"Ntildesmall",63473,"Nu",925,"O",79,"OE",338,"OEsmall",63226,"Oacute",211,"Oacutesmall",63475,"Obarredcyrillic",1256,"Obarreddieresiscyrillic",1258,"Obreve",334,"Ocaron",465,"Ocenteredtilde",415,"Ocircle",9412,"Ocircumflex",212,"Ocircumflexacute",7888,"Ocircumflexdotbelow",7896,"Ocircumflexgrave",7890,"Ocircumflexhookabove",7892,"Ocircumflexsmall",63476,"Ocircumflextilde",7894,"Ocyrillic",1054,"Odblacute",336,"Odblgrave",524,"Odieresis",214,"Odieresiscyrillic",1254,"Odieresissmall",63478,"Odotbelow",7884,"Ogoneksmall",63227,"Ograve",210,"Ogravesmall",63474,"Oharmenian",1365,"Ohm",8486,"Ohookabove",7886,"Ohorn",416,"Ohornacute",7898,"Ohorndotbelow",7906,"Ohorngrave",7900,"Ohornhookabove",7902,"Ohorntilde",7904,"Ohungarumlaut",336,"Oi",418,"Oinvertedbreve",526,"Omacron",332,"Omacronacute",7762,"Omacrongrave",7760,"Omega",8486,"Omegacyrillic",1120,"Omegagreek",937,"Omegaroundcyrillic",1146,"Omegatitlocyrillic",1148,"Omegatonos",911,"Omicron",927,"Omicrontonos",908,"Omonospace",65327,"Oneroman",8544,"Oogonek",490,"Oogonekmacron",492,"Oopen",390,"Oslash",216,"Oslashacute",510,"Oslashsmall",63480,"Osmall",63343,"Ostrokeacute",510,"Otcyrillic",1150,"Otilde",213,"Otildeacute",7756,"Otildedieresis",7758,"Otildesmall",63477,"P",80,"Pacute",7764,"Pcircle",9413,"Pdotaccent",7766,"Pecyrillic",1055,"Peharmenian",1354,"Pemiddlehookcyrillic",1190,"Phi",934,"Phook",420,"Pi",928,"Piwrarmenian",1363,"Pmonospace",65328,"Psi",936,"Psicyrillic",1136,"Psmall",63344,"Q",81,"Qcircle",9414,"Qmonospace",65329,"Qsmall",63345,"R",82,"Raarmenian",1356,"Racute",340,"Rcaron",344,"Rcedilla",342,"Rcircle",9415,"Rcommaaccent",342,"Rdblgrave",528,"Rdotaccent",7768,"Rdotbelow",7770,"Rdotbelowmacron",7772,"Reharmenian",1360,"Rfraktur",8476,"Rho",929,"Ringsmall",63228,"Rinvertedbreve",530,"Rlinebelow",7774,"Rmonospace",65330,"Rsmall",63346,"Rsmallinverted",641,"Rsmallinvertedsuperior",694,"S",83,"SF010000",9484,"SF020000",9492,"SF030000",9488,"SF040000",9496,"SF050000",9532,"SF060000",9516,"SF070000",9524,"SF080000",9500,"SF090000",9508,"SF100000",9472,"SF110000",9474,"SF190000",9569,"SF200000",9570,"SF210000",9558,"SF220000",9557,"SF230000",9571,"SF240000",9553,"SF250000",9559,"SF260000",9565,"SF270000",9564,"SF280000",9563,"SF360000",9566,"SF370000",9567,"SF380000",9562,"SF390000",9556,"SF400000",9577,"SF410000",9574,"SF420000",9568,"SF430000",9552,"SF440000",9580,"SF450000",9575,"SF460000",9576,"SF470000",9572,"SF480000",9573,"SF490000",9561,"SF500000",9560,"SF510000",9554,"SF520000",9555,"SF530000",9579,"SF540000",9578,"Sacute",346,"Sacutedotaccent",7780,"Sampigreek",992,"Scaron",352,"Scarondotaccent",7782,"Scaronsmall",63229,"Scedilla",350,"Schwa",399,"Schwacyrillic",1240,"Schwadieresiscyrillic",1242,"Scircle",9416,"Scircumflex",348,"Scommaaccent",536,"Sdotaccent",7776,"Sdotbelow",7778,"Sdotbelowdotaccent",7784,"Seharmenian",1357,"Sevenroman",8550,"Shaarmenian",1351,"Shacyrillic",1064,"Shchacyrillic",1065,"Sheicoptic",994,"Shhacyrillic",1210,"Shimacoptic",1004,"Sigma",931,"Sixroman",8549,"Smonospace",65331,"Softsigncyrillic",1068,"Ssmall",63347,"Stigmagreek",986,"T",84,"Tau",932,"Tbar",358,"Tcaron",356,"Tcedilla",354,"Tcircle",9417,"Tcircumflexbelow",7792,"Tcommaaccent",354,"Tdotaccent",7786,"Tdotbelow",7788,"Tecyrillic",1058,"Tedescendercyrillic",1196,"Tenroman",8553,"Tetsecyrillic",1204,"Theta",920,"Thook",428,"Thorn",222,"Thornsmall",63486,"Threeroman",8546,"Tildesmall",63230,"Tiwnarmenian",1359,"Tlinebelow",7790,"Tmonospace",65332,"Toarmenian",1337,"Tonefive",444,"Tonesix",388,"Tonetwo",423,"Tretroflexhook",430,"Tsecyrillic",1062,"Tshecyrillic",1035,"Tsmall",63348,"Twelveroman",8555,"Tworoman",8545,"U",85,"Uacute",218,"Uacutesmall",63482,"Ubreve",364,"Ucaron",467,"Ucircle",9418,"Ucircumflex",219,"Ucircumflexbelow",7798,"Ucircumflexsmall",63483,"Ucyrillic",1059,"Udblacute",368,"Udblgrave",532,"Udieresis",220,"Udieresisacute",471,"Udieresisbelow",7794,"Udieresiscaron",473,"Udieresiscyrillic",1264,"Udieresisgrave",475,"Udieresismacron",469,"Udieresissmall",63484,"Udotbelow",7908,"Ugrave",217,"Ugravesmall",63481,"Uhookabove",7910,"Uhorn",431,"Uhornacute",7912,"Uhorndotbelow",7920,"Uhorngrave",7914,"Uhornhookabove",7916,"Uhorntilde",7918,"Uhungarumlaut",368,"Uhungarumlautcyrillic",1266,"Uinvertedbreve",534,"Ukcyrillic",1144,"Umacron",362,"Umacroncyrillic",1262,"Umacrondieresis",7802,"Umonospace",65333,"Uogonek",370,"Upsilon",933,"Upsilon1",978,"Upsilonacutehooksymbolgreek",979,"Upsilonafrican",433,"Upsilondieresis",939,"Upsilondieresishooksymbolgreek",980,"Upsilonhooksymbol",978,"Upsilontonos",910,"Uring",366,"Ushortcyrillic",1038,"Usmall",63349,"Ustraightcyrillic",1198,"Ustraightstrokecyrillic",1200,"Utilde",360,"Utildeacute",7800,"Utildebelow",7796,"V",86,"Vcircle",9419,"Vdotbelow",7806,"Vecyrillic",1042,"Vewarmenian",1358,"Vhook",434,"Vmonospace",65334,"Voarmenian",1352,"Vsmall",63350,"Vtilde",7804,"W",87,"Wacute",7810,"Wcircle",9420,"Wcircumflex",372,"Wdieresis",7812,"Wdotaccent",7814,"Wdotbelow",7816,"Wgrave",7808,"Wmonospace",65335,"Wsmall",63351,"X",88,"Xcircle",9421,"Xdieresis",7820,"Xdotaccent",7818,"Xeharmenian",1341,"Xi",926,"Xmonospace",65336,"Xsmall",63352,"Y",89,"Yacute",221,"Yacutesmall",63485,"Yatcyrillic",1122,"Ycircle",9422,"Ycircumflex",374,"Ydieresis",376,"Ydieresissmall",63487,"Ydotaccent",7822,"Ydotbelow",7924,"Yericyrillic",1067,"Yerudieresiscyrillic",1272,"Ygrave",7922,"Yhook",435,"Yhookabove",7926,"Yiarmenian",1349,"Yicyrillic",1031,"Yiwnarmenian",1362,"Ymonospace",65337,"Ysmall",63353,"Ytilde",7928,"Yusbigcyrillic",1130,"Yusbigiotifiedcyrillic",1132,"Yuslittlecyrillic",1126,"Yuslittleiotifiedcyrillic",1128,"Z",90,"Zaarmenian",1334,"Zacute",377,"Zcaron",381,"Zcaronsmall",63231,"Zcircle",9423,"Zcircumflex",7824,"Zdot",379,"Zdotaccent",379,"Zdotbelow",7826,"Zecyrillic",1047,"Zedescendercyrillic",1176,"Zedieresiscyrillic",1246,"Zeta",918,"Zhearmenian",1338,"Zhebrevecyrillic",1217,"Zhecyrillic",1046,"Zhedescendercyrillic",1174,"Zhedieresiscyrillic",1244,"Zlinebelow",7828,"Zmonospace",65338,"Zsmall",63354,"Zstroke",437,"a",97,"aabengali",2438,"aacute",225,"aadeva",2310,"aagujarati",2694,"aagurmukhi",2566,"aamatragurmukhi",2622,"aarusquare",13059,"aavowelsignbengali",2494,"aavowelsigndeva",2366,"aavowelsigngujarati",2750,"abbreviationmarkarmenian",1375,"abbreviationsigndeva",2416,"abengali",2437,"abopomofo",12570,"abreve",259,"abreveacute",7855,"abrevecyrillic",1233,"abrevedotbelow",7863,"abrevegrave",7857,"abrevehookabove",7859,"abrevetilde",7861,"acaron",462,"acircle",9424,"acircumflex",226,"acircumflexacute",7845,"acircumflexdotbelow",7853,"acircumflexgrave",7847,"acircumflexhookabove",7849,"acircumflextilde",7851,"acute",180,"acutebelowcmb",791,"acutecmb",769,"acutecomb",769,"acutedeva",2388,"acutelowmod",719,"acutetonecmb",833,"acyrillic",1072,"adblgrave",513,"addakgurmukhi",2673,"adeva",2309,"adieresis",228,"adieresiscyrillic",1235,"adieresismacron",479,"adotbelow",7841,"adotmacron",481,"ae",230,"aeacute",509,"aekorean",12624,"aemacron",483,"afii00208",8213,"afii08941",8356,"afii10017",1040,"afii10018",1041,"afii10019",1042,"afii10020",1043,"afii10021",1044,"afii10022",1045,"afii10023",1025,"afii10024",1046,"afii10025",1047,"afii10026",1048,"afii10027",1049,"afii10028",1050,"afii10029",1051,"afii10030",1052,"afii10031",1053,"afii10032",1054,"afii10033",1055,"afii10034",1056,"afii10035",1057,"afii10036",1058,"afii10037",1059,"afii10038",1060,"afii10039",1061,"afii10040",1062,"afii10041",1063,"afii10042",1064,"afii10043",1065,"afii10044",1066,"afii10045",1067,"afii10046",1068,"afii10047",1069,"afii10048",1070,"afii10049",1071,"afii10050",1168,"afii10051",1026,"afii10052",1027,"afii10053",1028,"afii10054",1029,"afii10055",1030,"afii10056",1031,"afii10057",1032,"afii10058",1033,"afii10059",1034,"afii10060",1035,"afii10061",1036,"afii10062",1038,"afii10063",63172,"afii10064",63173,"afii10065",1072,"afii10066",1073,"afii10067",1074,"afii10068",1075,"afii10069",1076,"afii10070",1077,"afii10071",1105,"afii10072",1078,"afii10073",1079,"afii10074",1080,"afii10075",1081,"afii10076",1082,"afii10077",1083,"afii10078",1084,"afii10079",1085,"afii10080",1086,"afii10081",1087,"afii10082",1088,"afii10083",1089,"afii10084",1090,"afii10085",1091,"afii10086",1092,"afii10087",1093,"afii10088",1094,"afii10089",1095,"afii10090",1096,"afii10091",1097,"afii10092",1098,"afii10093",1099,"afii10094",1100,"afii10095",1101,"afii10096",1102,"afii10097",1103,"afii10098",1169,"afii10099",1106,"afii10100",1107,"afii10101",1108,"afii10102",1109,"afii10103",1110,"afii10104",1111,"afii10105",1112,"afii10106",1113,"afii10107",1114,"afii10108",1115,"afii10109",1116,"afii10110",1118,"afii10145",1039,"afii10146",1122,"afii10147",1138,"afii10148",1140,"afii10192",63174,"afii10193",1119,"afii10194",1123,"afii10195",1139,"afii10196",1141,"afii10831",63175,"afii10832",63176,"afii10846",1241,"afii299",8206,"afii300",8207,"afii301",8205,"afii57381",1642,"afii57388",1548,"afii57392",1632,"afii57393",1633,"afii57394",1634,"afii57395",1635,"afii57396",1636,"afii57397",1637,"afii57398",1638,"afii57399",1639,"afii57400",1640,"afii57401",1641,"afii57403",1563,"afii57407",1567,"afii57409",1569,"afii57410",1570,"afii57411",1571,"afii57412",1572,"afii57413",1573,"afii57414",1574,"afii57415",1575,"afii57416",1576,"afii57417",1577,"afii57418",1578,"afii57419",1579,"afii57420",1580,"afii57421",1581,"afii57422",1582,"afii57423",1583,"afii57424",1584,"afii57425",1585,"afii57426",1586,"afii57427",1587,"afii57428",1588,"afii57429",1589,"afii57430",1590,"afii57431",1591,"afii57432",1592,"afii57433",1593,"afii57434",1594,"afii57440",1600,"afii57441",1601,"afii57442",1602,"afii57443",1603,"afii57444",1604,"afii57445",1605,"afii57446",1606,"afii57448",1608,"afii57449",1609,"afii57450",1610,"afii57451",1611,"afii57452",1612,"afii57453",1613,"afii57454",1614,"afii57455",1615,"afii57456",1616,"afii57457",1617,"afii57458",1618,"afii57470",1607,"afii57505",1700,"afii57506",1662,"afii57507",1670,"afii57508",1688,"afii57509",1711,"afii57511",1657,"afii57512",1672,"afii57513",1681,"afii57514",1722,"afii57519",1746,"afii57534",1749,"afii57636",8362,"afii57645",1470,"afii57658",1475,"afii57664",1488,"afii57665",1489,"afii57666",1490,"afii57667",1491,"afii57668",1492,"afii57669",1493,"afii57670",1494,"afii57671",1495,"afii57672",1496,"afii57673",1497,"afii57674",1498,"afii57675",1499,"afii57676",1500,"afii57677",1501,"afii57678",1502,"afii57679",1503,"afii57680",1504,"afii57681",1505,"afii57682",1506,"afii57683",1507,"afii57684",1508,"afii57685",1509,"afii57686",1510,"afii57687",1511,"afii57688",1512,"afii57689",1513,"afii57690",1514,"afii57694",64298,"afii57695",64299,"afii57700",64331,"afii57705",64287,"afii57716",1520,"afii57717",1521,"afii57718",1522,"afii57723",64309,"afii57793",1460,"afii57794",1461,"afii57795",1462,"afii57796",1467,"afii57797",1464,"afii57798",1463,"afii57799",1456,"afii57800",1458,"afii57801",1457,"afii57802",1459,"afii57803",1474,"afii57804",1473,"afii57806",1465,"afii57807",1468,"afii57839",1469,"afii57841",1471,"afii57842",1472,"afii57929",700,"afii61248",8453,"afii61289",8467,"afii61352",8470,"afii61573",8236,"afii61574",8237,"afii61575",8238,"afii61664",8204,"afii63167",1645,"afii64937",701,"agrave",224,"agujarati",2693,"agurmukhi",2565,"ahiragana",12354,"ahookabove",7843,"aibengali",2448,"aibopomofo",12574,"aideva",2320,"aiecyrillic",1237,"aigujarati",2704,"aigurmukhi",2576,"aimatragurmukhi",2632,"ainarabic",1593,"ainfinalarabic",65226,"aininitialarabic",65227,"ainmedialarabic",65228,"ainvertedbreve",515,"aivowelsignbengali",2504,"aivowelsigndeva",2376,"aivowelsigngujarati",2760,"akatakana",12450,"akatakanahalfwidth",65393,"akorean",12623,"alef",1488,"alefarabic",1575,"alefdageshhebrew",64304,"aleffinalarabic",65166,"alefhamzaabovearabic",1571,"alefhamzaabovefinalarabic",65156,"alefhamzabelowarabic",1573,"alefhamzabelowfinalarabic",65160,"alefhebrew",1488,"aleflamedhebrew",64335,"alefmaddaabovearabic",1570,"alefmaddaabovefinalarabic",65154,"alefmaksuraarabic",1609,"alefmaksurafinalarabic",65264,"alefmaksurainitialarabic",65267,"alefmaksuramedialarabic",65268,"alefpatahhebrew",64302,"alefqamatshebrew",64303,"aleph",8501,"allequal",8780,"alpha",945,"alphatonos",940,"amacron",257,"amonospace",65345,"ampersand",38,"ampersandmonospace",65286,"ampersandsmall",63270,"amsquare",13250,"anbopomofo",12578,"angbopomofo",12580,"angbracketleft",12296,"angbracketright",12297,"angkhankhuthai",3674,"angle",8736,"anglebracketleft",12296,"anglebracketleftvertical",65087,"anglebracketright",12297,"anglebracketrightvertical",65088,"angleleft",9001,"angleright",9002,"angstrom",8491,"anoteleia",903,"anudattadeva",2386,"anusvarabengali",2434,"anusvaradeva",2306,"anusvaragujarati",2690,"aogonek",261,"apaatosquare",13056,"aparen",9372,"apostrophearmenian",1370,"apostrophemod",700,"apple",63743,"approaches",8784,"approxequal",8776,"approxequalorimage",8786,"approximatelyequal",8773,"araeaekorean",12686,"araeakorean",12685,"arc",8978,"arighthalfring",7834,"aring",229,"aringacute",507,"aringbelow",7681,"arrowboth",8596,"arrowdashdown",8675,"arrowdashleft",8672,"arrowdashright",8674,"arrowdashup",8673,"arrowdblboth",8660,"arrowdbldown",8659,"arrowdblleft",8656,"arrowdblright",8658,"arrowdblup",8657,"arrowdown",8595,"arrowdownleft",8601,"arrowdownright",8600,"arrowdownwhite",8681,"arrowheaddownmod",709,"arrowheadleftmod",706,"arrowheadrightmod",707,"arrowheadupmod",708,"arrowhorizex",63719,"arrowleft",8592,"arrowleftdbl",8656,"arrowleftdblstroke",8653,"arrowleftoverright",8646,"arrowleftwhite",8678,"arrowright",8594,"arrowrightdblstroke",8655,"arrowrightheavy",10142,"arrowrightoverleft",8644,"arrowrightwhite",8680,"arrowtableft",8676,"arrowtabright",8677,"arrowup",8593,"arrowupdn",8597,"arrowupdnbse",8616,"arrowupdownbase",8616,"arrowupleft",8598,"arrowupleftofdown",8645,"arrowupright",8599,"arrowupwhite",8679,"arrowvertex",63718,"asciicircum",94,"asciicircummonospace",65342,"asciitilde",126,"asciitildemonospace",65374,"ascript",593,"ascriptturned",594,"asmallhiragana",12353,"asmallkatakana",12449,"asmallkatakanahalfwidth",65383,"asterisk",42,"asteriskaltonearabic",1645,"asteriskarabic",1645,"asteriskmath",8727,"asteriskmonospace",65290,"asterisksmall",65121,"asterism",8258,"asuperior",63209,"asymptoticallyequal",8771,"at",64,"atilde",227,"atmonospace",65312,"atsmall",65131,"aturned",592,"aubengali",2452,"aubopomofo",12576,"audeva",2324,"augujarati",2708,"augurmukhi",2580,"aulengthmarkbengali",2519,"aumatragurmukhi",2636,"auvowelsignbengali",2508,"auvowelsigndeva",2380,"auvowelsigngujarati",2764,"avagrahadeva",2365,"aybarmenian",1377,"ayin",1506,"ayinaltonehebrew",64288,"ayinhebrew",1506,"b",98,"babengali",2476,"backslash",92,"backslashmonospace",65340,"badeva",2348,"bagujarati",2732,"bagurmukhi",2604,"bahiragana",12400,"bahtthai",3647,"bakatakana",12496,"bar",124,"barmonospace",65372,"bbopomofo",12549,"bcircle",9425,"bdotaccent",7683,"bdotbelow",7685,"beamedsixteenthnotes",9836,"because",8757,"becyrillic",1073,"beharabic",1576,"behfinalarabic",65168,"behinitialarabic",65169,"behiragana",12409,"behmedialarabic",65170,"behmeeminitialarabic",64671,"behmeemisolatedarabic",64520,"behnoonfinalarabic",64621,"bekatakana",12505,"benarmenian",1378,"bet",1489,"beta",946,"betasymbolgreek",976,"betdagesh",64305,"betdageshhebrew",64305,"bethebrew",1489,"betrafehebrew",64332,"bhabengali",2477,"bhadeva",2349,"bhagujarati",2733,"bhagurmukhi",2605,"bhook",595,"bihiragana",12403,"bikatakana",12499,"bilabialclick",664,"bindigurmukhi",2562,"birusquare",13105,"blackcircle",9679,"blackdiamond",9670,"blackdownpointingtriangle",9660,"blackleftpointingpointer",9668,"blackleftpointingtriangle",9664,"blacklenticularbracketleft",12304,"blacklenticularbracketleftvertical",65083,"blacklenticularbracketright",12305,"blacklenticularbracketrightvertical",65084,"blacklowerlefttriangle",9699,"blacklowerrighttriangle",9698,"blackrectangle",9644,"blackrightpointingpointer",9658,"blackrightpointingtriangle",9654,"blacksmallsquare",9642,"blacksmilingface",9787,"blacksquare",9632,"blackstar",9733,"blackupperlefttriangle",9700,"blackupperrighttriangle",9701,"blackuppointingsmalltriangle",9652,"blackuppointingtriangle",9650,"blank",9251,"blinebelow",7687,"block",9608,"bmonospace",65346,"bobaimaithai",3610,"bohiragana",12412,"bokatakana",12508,"bparen",9373,"bqsquare",13251,"braceex",63732,"braceleft",123,"braceleftbt",63731,"braceleftmid",63730,"braceleftmonospace",65371,"braceleftsmall",65115,"bracelefttp",63729,"braceleftvertical",65079,"braceright",125,"bracerightbt",63742,"bracerightmid",63741,"bracerightmonospace",65373,"bracerightsmall",65116,"bracerighttp",63740,"bracerightvertical",65080,"bracketleft",91,"bracketleftbt",63728,"bracketleftex",63727,"bracketleftmonospace",65339,"bracketlefttp",63726,"bracketright",93,"bracketrightbt",63739,"bracketrightex",63738,"bracketrightmonospace",65341,"bracketrighttp",63737,"breve",728,"brevebelowcmb",814,"brevecmb",774,"breveinvertedbelowcmb",815,"breveinvertedcmb",785,"breveinverteddoublecmb",865,"bridgebelowcmb",810,"bridgeinvertedbelowcmb",826,"brokenbar",166,"bstroke",384,"bsuperior",63210,"btopbar",387,"buhiragana",12406,"bukatakana",12502,"bullet",8226,"bulletinverse",9688,"bulletoperator",8729,"bullseye",9678,"c",99,"caarmenian",1390,"cabengali",2458,"cacute",263,"cadeva",2330,"cagujarati",2714,"cagurmukhi",2586,"calsquare",13192,"candrabindubengali",2433,"candrabinducmb",784,"candrabindudeva",2305,"candrabindugujarati",2689,"capslock",8682,"careof",8453,"caron",711,"caronbelowcmb",812,"caroncmb",780,"carriagereturn",8629,"cbopomofo",12568,"ccaron",269,"ccedilla",231,"ccedillaacute",7689,"ccircle",9426,"ccircumflex",265,"ccurl",597,"cdot",267,"cdotaccent",267,"cdsquare",13253,"cedilla",184,"cedillacmb",807,"cent",162,"centigrade",8451,"centinferior",63199,"centmonospace",65504,"centoldstyle",63394,"centsuperior",63200,"chaarmenian",1401,"chabengali",2459,"chadeva",2331,"chagujarati",2715,"chagurmukhi",2587,"chbopomofo",12564,"cheabkhasiancyrillic",1213,"checkmark",10003,"checyrillic",1095,"chedescenderabkhasiancyrillic",1215,"chedescendercyrillic",1207,"chedieresiscyrillic",1269,"cheharmenian",1395,"chekhakassiancyrillic",1228,"cheverticalstrokecyrillic",1209,"chi",967,"chieuchacirclekorean",12919,"chieuchaparenkorean",12823,"chieuchcirclekorean",12905,"chieuchkorean",12618,"chieuchparenkorean",12809,"chochangthai",3594,"chochanthai",3592,"chochingthai",3593,"chochoethai",3596,"chook",392,"cieucacirclekorean",12918,"cieucaparenkorean",12822,"cieuccirclekorean",12904,"cieuckorean",12616,"cieucparenkorean",12808,"cieucuparenkorean",12828,"circle",9675,"circlecopyrt",169,"circlemultiply",8855,"circleot",8857,"circleplus",8853,"circlepostalmark",12342,"circlewithlefthalfblack",9680,"circlewithrighthalfblack",9681,"circumflex",710,"circumflexbelowcmb",813,"circumflexcmb",770,"clear",8999,"clickalveolar",450,"clickdental",448,"clicklateral",449,"clickretroflex",451,"club",9827,"clubsuitblack",9827,"clubsuitwhite",9831,"cmcubedsquare",13220,"cmonospace",65347,"cmsquaredsquare",13216,"coarmenian",1409,"colon",58,"colonmonetary",8353,"colonmonospace",65306,"colonsign",8353,"colonsmall",65109,"colontriangularhalfmod",721,"colontriangularmod",720,"comma",44,"commaabovecmb",787,"commaaboverightcmb",789,"commaaccent",63171,"commaarabic",1548,"commaarmenian",1373,"commainferior",63201,"commamonospace",65292,"commareversedabovecmb",788,"commareversedmod",701,"commasmall",65104,"commasuperior",63202,"commaturnedabovecmb",786,"commaturnedmod",699,"compass",9788,"congruent",8773,"contourintegral",8750,"control",8963,"controlACK",6,"controlBEL",7,"controlBS",8,"controlCAN",24,"controlCR",13,"controlDC1",17,"controlDC2",18,"controlDC3",19,"controlDC4",20,"controlDEL",127,"controlDLE",16,"controlEM",25,"controlENQ",5,"controlEOT",4,"controlESC",27,"controlETB",23,"controlETX",3,"controlFF",12,"controlFS",28,"controlGS",29,"controlHT",9,"controlLF",10,"controlNAK",21,"controlNULL",0,"controlRS",30,"controlSI",15,"controlSO",14,"controlSOT",2,"controlSTX",1,"controlSUB",26,"controlSYN",22,"controlUS",31,"controlVT",11,"copyright",169,"copyrightsans",63721,"copyrightserif",63193,"cornerbracketleft",12300,"cornerbracketlefthalfwidth",65378,"cornerbracketleftvertical",65089,"cornerbracketright",12301,"cornerbracketrighthalfwidth",65379,"cornerbracketrightvertical",65090,"corporationsquare",13183,"cosquare",13255,"coverkgsquare",13254,"cparen",9374,"cruzeiro",8354,"cstretched",663,"curlyand",8911,"curlyor",8910,"currency",164,"cyrBreve",63185,"cyrFlex",63186,"cyrbreve",63188,"cyrflex",63189,"d",100,"daarmenian",1380,"dabengali",2470,"dadarabic",1590,"dadeva",2342,"dadfinalarabic",65214,"dadinitialarabic",65215,"dadmedialarabic",65216,"dagesh",1468,"dageshhebrew",1468,"dagger",8224,"daggerdbl",8225,"dagujarati",2726,"dagurmukhi",2598,"dahiragana",12384,"dakatakana",12480,"dalarabic",1583,"dalet",1491,"daletdagesh",64307,"daletdageshhebrew",64307,"dalethebrew",1491,"dalfinalarabic",65194,"dammaarabic",1615,"dammalowarabic",1615,"dammatanaltonearabic",1612,"dammatanarabic",1612,"danda",2404,"dargahebrew",1447,"dargalefthebrew",1447,"dasiapneumatacyrilliccmb",1157,"dblGrave",63187,"dblanglebracketleft",12298,"dblanglebracketleftvertical",65085,"dblanglebracketright",12299,"dblanglebracketrightvertical",65086,"dblarchinvertedbelowcmb",811,"dblarrowleft",8660,"dblarrowright",8658,"dbldanda",2405,"dblgrave",63190,"dblgravecmb",783,"dblintegral",8748,"dbllowline",8215,"dbllowlinecmb",819,"dbloverlinecmb",831,"dblprimemod",698,"dblverticalbar",8214,"dblverticallineabovecmb",782,"dbopomofo",12553,"dbsquare",13256,"dcaron",271,"dcedilla",7697,"dcircle",9427,"dcircumflexbelow",7699,"dcroat",273,"ddabengali",2465,"ddadeva",2337,"ddagujarati",2721,"ddagurmukhi",2593,"ddalarabic",1672,"ddalfinalarabic",64393,"dddhadeva",2396,"ddhabengali",2466,"ddhadeva",2338,"ddhagujarati",2722,"ddhagurmukhi",2594,"ddotaccent",7691,"ddotbelow",7693,"decimalseparatorarabic",1643,"decimalseparatorpersian",1643,"decyrillic",1076,"degree",176,"dehihebrew",1453,"dehiragana",12391,"deicoptic",1007,"dekatakana",12487,"deleteleft",9003,"deleteright",8998,"delta",948,"deltaturned",397,"denominatorminusonenumeratorbengali",2552,"dezh",676,"dhabengali",2471,"dhadeva",2343,"dhagujarati",2727,"dhagurmukhi",2599,"dhook",599,"dialytikatonos",901,"dialytikatonoscmb",836,"diamond",9830,"diamondsuitwhite",9826,"dieresis",168,"dieresisacute",63191,"dieresisbelowcmb",804,"dieresiscmb",776,"dieresisgrave",63192,"dieresistonos",901,"dihiragana",12386,"dikatakana",12482,"dittomark",12291,"divide",247,"divides",8739,"divisionslash",8725,"djecyrillic",1106,"dkshade",9619,"dlinebelow",7695,"dlsquare",13207,"dmacron",273,"dmonospace",65348,"dnblock",9604,"dochadathai",3598,"dodekthai",3604,"dohiragana",12393,"dokatakana",12489,"dollar",36,"dollarinferior",63203,"dollarmonospace",65284,"dollaroldstyle",63268,"dollarsmall",65129,"dollarsuperior",63204,"dong",8363,"dorusquare",13094,"dotaccent",729,"dotaccentcmb",775,"dotbelowcmb",803,"dotbelowcomb",803,"dotkatakana",12539,"dotlessi",305,"dotlessj",63166,"dotlessjstrokehook",644,"dotmath",8901,"dottedcircle",9676,"doubleyodpatah",64287,"doubleyodpatahhebrew",64287,"downtackbelowcmb",798,"downtackmod",725,"dparen",9375,"dsuperior",63211,"dtail",598,"dtopbar",396,"duhiragana",12389,"dukatakana",12485,"dz",499,"dzaltone",675,"dzcaron",454,"dzcurl",677,"dzeabkhasiancyrillic",1249,"dzecyrillic",1109,"dzhecyrillic",1119,"e",101,"eacute",233,"earth",9793,"ebengali",2447,"ebopomofo",12572,"ebreve",277,"ecandradeva",2317,"ecandragujarati",2701,"ecandravowelsigndeva",2373,"ecandravowelsigngujarati",2757,"ecaron",283,"ecedillabreve",7709,"echarmenian",1381,"echyiwnarmenian",1415,"ecircle",9428,"ecircumflex",234,"ecircumflexacute",7871,"ecircumflexbelow",7705,"ecircumflexdotbelow",7879,"ecircumflexgrave",7873,"ecircumflexhookabove",7875,"ecircumflextilde",7877,"ecyrillic",1108,"edblgrave",517,"edeva",2319,"edieresis",235,"edot",279,"edotaccent",279,"edotbelow",7865,"eegurmukhi",2575,"eematragurmukhi",2631,"efcyrillic",1092,"egrave",232,"egujarati",2703,"eharmenian",1383,"ehbopomofo",12573,"ehiragana",12360,"ehookabove",7867,"eibopomofo",12575,"eight",56,"eightarabic",1640,"eightbengali",2542,"eightcircle",9319,"eightcircleinversesansserif",10129,"eightdeva",2414,"eighteencircle",9329,"eighteenparen",9349,"eighteenperiod",9369,"eightgujarati",2798,"eightgurmukhi",2670,"eighthackarabic",1640,"eighthangzhou",12328,"eighthnotebeamed",9835,"eightideographicparen",12839,"eightinferior",8328,"eightmonospace",65304,"eightoldstyle",63288,"eightparen",9339,"eightperiod",9359,"eightpersian",1784,"eightroman",8567,"eightsuperior",8312,"eightthai",3672,"einvertedbreve",519,"eiotifiedcyrillic",1125,"ekatakana",12456,"ekatakanahalfwidth",65396,"ekonkargurmukhi",2676,"ekorean",12628,"elcyrillic",1083,"element",8712,"elevencircle",9322,"elevenparen",9342,"elevenperiod",9362,"elevenroman",8570,"ellipsis",8230,"ellipsisvertical",8942,"emacron",275,"emacronacute",7703,"emacrongrave",7701,"emcyrillic",1084,"emdash",8212,"emdashvertical",65073,"emonospace",65349,"emphasismarkarmenian",1371,"emptyset",8709,"enbopomofo",12579,"encyrillic",1085,"endash",8211,"endashvertical",65074,"endescendercyrillic",1187,"eng",331,"engbopomofo",12581,"enghecyrillic",1189,"enhookcyrillic",1224,"enspace",8194,"eogonek",281,"eokorean",12627,"eopen",603,"eopenclosed",666,"eopenreversed",604,"eopenreversedclosed",606,"eopenreversedhook",605,"eparen",9376,"epsilon",949,"epsilontonos",941,"equal",61,"equalmonospace",65309,"equalsmall",65126,"equalsuperior",8316,"equivalence",8801,"erbopomofo",12582,"ercyrillic",1088,"ereversed",600,"ereversedcyrillic",1101,"escyrillic",1089,"esdescendercyrillic",1195,"esh",643,"eshcurl",646,"eshortdeva",2318,"eshortvowelsigndeva",2374,"eshreversedloop",426,"eshsquatreversed",645,"esmallhiragana",12359,"esmallkatakana",12455,"esmallkatakanahalfwidth",65386,"estimated",8494,"esuperior",63212,"eta",951,"etarmenian",1384,"etatonos",942,"eth",240,"etilde",7869,"etildebelow",7707,"etnahtafoukhhebrew",1425,"etnahtafoukhlefthebrew",1425,"etnahtahebrew",1425,"etnahtalefthebrew",1425,"eturned",477,"eukorean",12641,"euro",8364,"evowelsignbengali",2503,"evowelsigndeva",2375,"evowelsigngujarati",2759,"exclam",33,"exclamarmenian",1372,"exclamdbl",8252,"exclamdown",161,"exclamdownsmall",63393,"exclammonospace",65281,"exclamsmall",63265,"existential",8707,"ezh",658,"ezhcaron",495,"ezhcurl",659,"ezhreversed",441,"ezhtail",442,"f",102,"fadeva",2398,"fagurmukhi",2654,"fahrenheit",8457,"fathaarabic",1614,"fathalowarabic",1614,"fathatanarabic",1611,"fbopomofo",12552,"fcircle",9429,"fdotaccent",7711,"feharabic",1601,"feharmenian",1414,"fehfinalarabic",65234,"fehinitialarabic",65235,"fehmedialarabic",65236,"feicoptic",997,"female",9792,"ff",64256,"f_f",64256,"ffi",64259,"ffl",64260,"fi",64257,"fifteencircle",9326,"fifteenparen",9346,"fifteenperiod",9366,"figuredash",8210,"filledbox",9632,"filledrect",9644,"finalkaf",1498,"finalkafdagesh",64314,"finalkafdageshhebrew",64314,"finalkafhebrew",1498,"finalmem",1501,"finalmemhebrew",1501,"finalnun",1503,"finalnunhebrew",1503,"finalpe",1507,"finalpehebrew",1507,"finaltsadi",1509,"finaltsadihebrew",1509,"firsttonechinese",713,"fisheye",9673,"fitacyrillic",1139,"five",53,"fivearabic",1637,"fivebengali",2539,"fivecircle",9316,"fivecircleinversesansserif",10126,"fivedeva",2411,"fiveeighths",8541,"fivegujarati",2795,"fivegurmukhi",2667,"fivehackarabic",1637,"fivehangzhou",12325,"fiveideographicparen",12836,"fiveinferior",8325,"fivemonospace",65301,"fiveoldstyle",63285,"fiveparen",9336,"fiveperiod",9356,"fivepersian",1781,"fiveroman",8564,"fivesuperior",8309,"fivethai",3669,"fl",64258,"florin",402,"fmonospace",65350,"fmsquare",13209,"fofanthai",3615,"fofathai",3613,"fongmanthai",3663,"forall",8704,"four",52,"fourarabic",1636,"fourbengali",2538,"fourcircle",9315,"fourcircleinversesansserif",10125,"fourdeva",2410,"fourgujarati",2794,"fourgurmukhi",2666,"fourhackarabic",1636,"fourhangzhou",12324,"fourideographicparen",12835,"fourinferior",8324,"fourmonospace",65300,"fournumeratorbengali",2551,"fouroldstyle",63284,"fourparen",9335,"fourperiod",9355,"fourpersian",1780,"fourroman",8563,"foursuperior",8308,"fourteencircle",9325,"fourteenparen",9345,"fourteenperiod",9365,"fourthai",3668,"fourthtonechinese",715,"fparen",9377,"fraction",8260,"franc",8355,"g",103,"gabengali",2455,"gacute",501,"gadeva",2327,"gafarabic",1711,"gaffinalarabic",64403,"gafinitialarabic",64404,"gafmedialarabic",64405,"gagujarati",2711,"gagurmukhi",2583,"gahiragana",12364,"gakatakana",12460,"gamma",947,"gammalatinsmall",611,"gammasuperior",736,"gangiacoptic",1003,"gbopomofo",12557,"gbreve",287,"gcaron",487,"gcedilla",291,"gcircle",9430,"gcircumflex",285,"gcommaaccent",291,"gdot",289,"gdotaccent",289,"gecyrillic",1075,"gehiragana",12370,"gekatakana",12466,"geometricallyequal",8785,"gereshaccenthebrew",1436,"gereshhebrew",1523,"gereshmuqdamhebrew",1437,"germandbls",223,"gershayimaccenthebrew",1438,"gershayimhebrew",1524,"getamark",12307,"ghabengali",2456,"ghadarmenian",1394,"ghadeva",2328,"ghagujarati",2712,"ghagurmukhi",2584,"ghainarabic",1594,"ghainfinalarabic",65230,"ghaininitialarabic",65231,"ghainmedialarabic",65232,"ghemiddlehookcyrillic",1173,"ghestrokecyrillic",1171,"gheupturncyrillic",1169,"ghhadeva",2394,"ghhagurmukhi",2650,"ghook",608,"ghzsquare",13203,"gihiragana",12366,"gikatakana",12462,"gimarmenian",1379,"gimel",1490,"gimeldagesh",64306,"gimeldageshhebrew",64306,"gimelhebrew",1490,"gjecyrillic",1107,"glottalinvertedstroke",446,"glottalstop",660,"glottalstopinverted",662,"glottalstopmod",704,"glottalstopreversed",661,"glottalstopreversedmod",705,"glottalstopreversedsuperior",740,"glottalstopstroke",673,"glottalstopstrokereversed",674,"gmacron",7713,"gmonospace",65351,"gohiragana",12372,"gokatakana",12468,"gparen",9378,"gpasquare",13228,"gradient",8711,"grave",96,"gravebelowcmb",790,"gravecmb",768,"gravecomb",768,"gravedeva",2387,"gravelowmod",718,"gravemonospace",65344,"gravetonecmb",832,"greater",62,"greaterequal",8805,"greaterequalorless",8923,"greatermonospace",65310,"greaterorequivalent",8819,"greaterorless",8823,"greateroverequal",8807,"greatersmall",65125,"gscript",609,"gstroke",485,"guhiragana",12368,"guillemotleft",171,"guillemotright",187,"guilsinglleft",8249,"guilsinglright",8250,"gukatakana",12464,"guramusquare",13080,"gysquare",13257,"h",104,"haabkhasiancyrillic",1193,"haaltonearabic",1729,"habengali",2489,"hadescendercyrillic",1203,"hadeva",2361,"hagujarati",2745,"hagurmukhi",2617,"haharabic",1581,"hahfinalarabic",65186,"hahinitialarabic",65187,"hahiragana",12399,"hahmedialarabic",65188,"haitusquare",13098,"hakatakana",12495,"hakatakanahalfwidth",65418,"halantgurmukhi",2637,"hamzaarabic",1569,"hamzalowarabic",1569,"hangulfiller",12644,"hardsigncyrillic",1098,"harpoonleftbarbup",8636,"harpoonrightbarbup",8640,"hasquare",13258,"hatafpatah",1458,"hatafpatah16",1458,"hatafpatah23",1458,"hatafpatah2f",1458,"hatafpatahhebrew",1458,"hatafpatahnarrowhebrew",1458,"hatafpatahquarterhebrew",1458,"hatafpatahwidehebrew",1458,"hatafqamats",1459,"hatafqamats1b",1459,"hatafqamats28",1459,"hatafqamats34",1459,"hatafqamatshebrew",1459,"hatafqamatsnarrowhebrew",1459,"hatafqamatsquarterhebrew",1459,"hatafqamatswidehebrew",1459,"hatafsegol",1457,"hatafsegol17",1457,"hatafsegol24",1457,"hatafsegol30",1457,"hatafsegolhebrew",1457,"hatafsegolnarrowhebrew",1457,"hatafsegolquarterhebrew",1457,"hatafsegolwidehebrew",1457,"hbar",295,"hbopomofo",12559,"hbrevebelow",7723,"hcedilla",7721,"hcircle",9431,"hcircumflex",293,"hdieresis",7719,"hdotaccent",7715,"hdotbelow",7717,"he",1492,"heart",9829,"heartsuitblack",9829,"heartsuitwhite",9825,"hedagesh",64308,"hedageshhebrew",64308,"hehaltonearabic",1729,"heharabic",1607,"hehebrew",1492,"hehfinalaltonearabic",64423,"hehfinalalttwoarabic",65258,"hehfinalarabic",65258,"hehhamzaabovefinalarabic",64421,"hehhamzaaboveisolatedarabic",64420,"hehinitialaltonearabic",64424,"hehinitialarabic",65259,"hehiragana",12408,"hehmedialaltonearabic",64425,"hehmedialarabic",65260,"heiseierasquare",13179,"hekatakana",12504,"hekatakanahalfwidth",65421,"hekutaarusquare",13110,"henghook",615,"herutusquare",13113,"het",1495,"hethebrew",1495,"hhook",614,"hhooksuperior",689,"hieuhacirclekorean",12923,"hieuhaparenkorean",12827,"hieuhcirclekorean",12909,"hieuhkorean",12622,"hieuhparenkorean",12813,"hihiragana",12402,"hikatakana",12498,"hikatakanahalfwidth",65419,"hiriq",1460,"hiriq14",1460,"hiriq21",1460,"hiriq2d",1460,"hiriqhebrew",1460,"hiriqnarrowhebrew",1460,"hiriqquarterhebrew",1460,"hiriqwidehebrew",1460,"hlinebelow",7830,"hmonospace",65352,"hoarmenian",1392,"hohipthai",3627,"hohiragana",12411,"hokatakana",12507,"hokatakanahalfwidth",65422,"holam",1465,"holam19",1465,"holam26",1465,"holam32",1465,"holamhebrew",1465,"holamnarrowhebrew",1465,"holamquarterhebrew",1465,"holamwidehebrew",1465,"honokhukthai",3630,"hookabovecomb",777,"hookcmb",777,"hookpalatalizedbelowcmb",801,"hookretroflexbelowcmb",802,"hoonsquare",13122,"horicoptic",1001,"horizontalbar",8213,"horncmb",795,"hotsprings",9832,"house",8962,"hparen",9379,"hsuperior",688,"hturned",613,"huhiragana",12405,"huiitosquare",13107,"hukatakana",12501,"hukatakanahalfwidth",65420,"hungarumlaut",733,"hungarumlautcmb",779,"hv",405,"hyphen",45,"hypheninferior",63205,"hyphenmonospace",65293,"hyphensmall",65123,"hyphensuperior",63206,"hyphentwo",8208,"i",105,"iacute",237,"iacyrillic",1103,"ibengali",2439,"ibopomofo",12583,"ibreve",301,"icaron",464,"icircle",9432,"icircumflex",238,"icyrillic",1110,"idblgrave",521,"ideographearthcircle",12943,"ideographfirecircle",12939,"ideographicallianceparen",12863,"ideographiccallparen",12858,"ideographiccentrecircle",12965,"ideographicclose",12294,"ideographiccomma",12289,"ideographiccommaleft",65380,"ideographiccongratulationparen",12855,"ideographiccorrectcircle",12963,"ideographicearthparen",12847,"ideographicenterpriseparen",12861,"ideographicexcellentcircle",12957,"ideographicfestivalparen",12864,"ideographicfinancialcircle",12950,"ideographicfinancialparen",12854,"ideographicfireparen",12843,"ideographichaveparen",12850,"ideographichighcircle",12964,"ideographiciterationmark",12293,"ideographiclaborcircle",12952,"ideographiclaborparen",12856,"ideographicleftcircle",12967,"ideographiclowcircle",12966,"ideographicmedicinecircle",12969,"ideographicmetalparen",12846,"ideographicmoonparen",12842,"ideographicnameparen",12852,"ideographicperiod",12290,"ideographicprintcircle",12958,"ideographicreachparen",12867,"ideographicrepresentparen",12857,"ideographicresourceparen",12862,"ideographicrightcircle",12968,"ideographicsecretcircle",12953,"ideographicselfparen",12866,"ideographicsocietyparen",12851,"ideographicspace",12288,"ideographicspecialparen",12853,"ideographicstockparen",12849,"ideographicstudyparen",12859,"ideographicsunparen",12848,"ideographicsuperviseparen",12860,"ideographicwaterparen",12844,"ideographicwoodparen",12845,"ideographiczero",12295,"ideographmetalcircle",12942,"ideographmooncircle",12938,"ideographnamecircle",12948,"ideographsuncircle",12944,"ideographwatercircle",12940,"ideographwoodcircle",12941,"ideva",2311,"idieresis",239,"idieresisacute",7727,"idieresiscyrillic",1253,"idotbelow",7883,"iebrevecyrillic",1239,"iecyrillic",1077,"ieungacirclekorean",12917,"ieungaparenkorean",12821,"ieungcirclekorean",12903,"ieungkorean",12615,"ieungparenkorean",12807,"igrave",236,"igujarati",2695,"igurmukhi",2567,"ihiragana",12356,"ihookabove",7881,"iibengali",2440,"iicyrillic",1080,"iideva",2312,"iigujarati",2696,"iigurmukhi",2568,"iimatragurmukhi",2624,"iinvertedbreve",523,"iishortcyrillic",1081,"iivowelsignbengali",2496,"iivowelsigndeva",2368,"iivowelsigngujarati",2752,"ij",307,"ikatakana",12452,"ikatakanahalfwidth",65394,"ikorean",12643,"ilde",732,"iluyhebrew",1452,"imacron",299,"imacroncyrillic",1251,"imageorapproximatelyequal",8787,"imatragurmukhi",2623,"imonospace",65353,"increment",8710,"infinity",8734,"iniarmenian",1387,"integral",8747,"integralbottom",8993,"integralbt",8993,"integralex",63733,"integraltop",8992,"integraltp",8992,"intersection",8745,"intisquare",13061,"invbullet",9688,"invcircle",9689,"invsmileface",9787,"iocyrillic",1105,"iogonek",303,"iota",953,"iotadieresis",970,"iotadieresistonos",912,"iotalatin",617,"iotatonos",943,"iparen",9380,"irigurmukhi",2674,"ismallhiragana",12355,"ismallkatakana",12451,"ismallkatakanahalfwidth",65384,"issharbengali",2554,"istroke",616,"isuperior",63213,"iterationhiragana",12445,"iterationkatakana",12541,"itilde",297,"itildebelow",7725,"iubopomofo",12585,"iucyrillic",1102,"ivowelsignbengali",2495,"ivowelsigndeva",2367,"ivowelsigngujarati",2751,"izhitsacyrillic",1141,"izhitsadblgravecyrillic",1143,"j",106,"jaarmenian",1393,"jabengali",2460,"jadeva",2332,"jagujarati",2716,"jagurmukhi",2588,"jbopomofo",12560,"jcaron",496,"jcircle",9433,"jcircumflex",309,"jcrossedtail",669,"jdotlessstroke",607,"jecyrillic",1112,"jeemarabic",1580,"jeemfinalarabic",65182,"jeeminitialarabic",65183,"jeemmedialarabic",65184,"jeharabic",1688,"jehfinalarabic",64395,"jhabengali",2461,"jhadeva",2333,"jhagujarati",2717,"jhagurmukhi",2589,"jheharmenian",1403,"jis",12292,"jmonospace",65354,"jparen",9381,"jsuperior",690,"k",107,"kabashkircyrillic",1185,"kabengali",2453,"kacute",7729,"kacyrillic",1082,"kadescendercyrillic",1179,"kadeva",2325,"kaf",1499,"kafarabic",1603,"kafdagesh",64315,"kafdageshhebrew",64315,"kaffinalarabic",65242,"kafhebrew",1499,"kafinitialarabic",65243,"kafmedialarabic",65244,"kafrafehebrew",64333,"kagujarati",2709,"kagurmukhi",2581,"kahiragana",12363,"kahookcyrillic",1220,"kakatakana",12459,"kakatakanahalfwidth",65398,"kappa",954,"kappasymbolgreek",1008,"kapyeounmieumkorean",12657,"kapyeounphieuphkorean",12676,"kapyeounpieupkorean",12664,"kapyeounssangpieupkorean",12665,"karoriisquare",13069,"kashidaautoarabic",1600,"kashidaautonosidebearingarabic",1600,"kasmallkatakana",12533,"kasquare",13188,"kasraarabic",1616,"kasratanarabic",1613,"kastrokecyrillic",1183,"katahiraprolongmarkhalfwidth",65392,"kaverticalstrokecyrillic",1181,"kbopomofo",12558,"kcalsquare",13193,"kcaron",489,"kcedilla",311,"kcircle",9434,"kcommaaccent",311,"kdotbelow",7731,"keharmenian",1412,"kehiragana",12369,"kekatakana",12465,"kekatakanahalfwidth",65401,"kenarmenian",1391,"kesmallkatakana",12534,"kgreenlandic",312,"khabengali",2454,"khacyrillic",1093,"khadeva",2326,"khagujarati",2710,"khagurmukhi",2582,"khaharabic",1582,"khahfinalarabic",65190,"khahinitialarabic",65191,"khahmedialarabic",65192,"kheicoptic",999,"khhadeva",2393,"khhagurmukhi",2649,"khieukhacirclekorean",12920,"khieukhaparenkorean",12824,"khieukhcirclekorean",12906,"khieukhkorean",12619,"khieukhparenkorean",12810,"khokhaithai",3586,"khokhonthai",3589,"khokhuatthai",3587,"khokhwaithai",3588,"khomutthai",3675,"khook",409,"khorakhangthai",3590,"khzsquare",13201,"kihiragana",12365,"kikatakana",12461,"kikatakanahalfwidth",65399,"kiroguramusquare",13077,"kiromeetorusquare",13078,"kirosquare",13076,"kiyeokacirclekorean",12910,"kiyeokaparenkorean",12814,"kiyeokcirclekorean",12896,"kiyeokkorean",12593,"kiyeokparenkorean",12800,"kiyeoksioskorean",12595,"kjecyrillic",1116,"klinebelow",7733,"klsquare",13208,"kmcubedsquare",13222,"kmonospace",65355,"kmsquaredsquare",13218,"kohiragana",12371,"kohmsquare",13248,"kokaithai",3585,"kokatakana",12467,"kokatakanahalfwidth",65402,"kooposquare",13086,"koppacyrillic",1153,"koreanstandardsymbol",12927,"koroniscmb",835,"kparen",9382,"kpasquare",13226,"ksicyrillic",1135,"ktsquare",13263,"kturned",670,"kuhiragana",12367,"kukatakana",12463,"kukatakanahalfwidth",65400,"kvsquare",13240,"kwsquare",13246,"l",108,"labengali",2482,"lacute",314,"ladeva",2354,"lagujarati",2738,"lagurmukhi",2610,"lakkhangyaothai",3653,"lamaleffinalarabic",65276,"lamalefhamzaabovefinalarabic",65272,"lamalefhamzaaboveisolatedarabic",65271,"lamalefhamzabelowfinalarabic",65274,"lamalefhamzabelowisolatedarabic",65273,"lamalefisolatedarabic",65275,"lamalefmaddaabovefinalarabic",65270,"lamalefmaddaaboveisolatedarabic",65269,"lamarabic",1604,"lambda",955,"lambdastroke",411,"lamed",1500,"lameddagesh",64316,"lameddageshhebrew",64316,"lamedhebrew",1500,"lamfinalarabic",65246,"lamhahinitialarabic",64714,"laminitialarabic",65247,"lamjeeminitialarabic",64713,"lamkhahinitialarabic",64715,"lamlamhehisolatedarabic",65010,"lammedialarabic",65248,"lammeemhahinitialarabic",64904,"lammeeminitialarabic",64716,"largecircle",9711,"lbar",410,"lbelt",620,"lbopomofo",12556,"lcaron",318,"lcedilla",316,"lcircle",9435,"lcircumflexbelow",7741,"lcommaaccent",316,"ldot",320,"ldotaccent",320,"ldotbelow",7735,"ldotbelowmacron",7737,"leftangleabovecmb",794,"lefttackbelowcmb",792,"less",60,"lessequal",8804,"lessequalorgreater",8922,"lessmonospace",65308,"lessorequivalent",8818,"lessorgreater",8822,"lessoverequal",8806,"lesssmall",65124,"lezh",622,"lfblock",9612,"lhookretroflex",621,"lira",8356,"liwnarmenian",1388,"lj",457,"ljecyrillic",1113,"ll",63168,"lladeva",2355,"llagujarati",2739,"llinebelow",7739,"llladeva",2356,"llvocalicbengali",2529,"llvocalicdeva",2401,"llvocalicvowelsignbengali",2531,"llvocalicvowelsigndeva",2403,"lmiddletilde",619,"lmonospace",65356,"lmsquare",13264,"lochulathai",3628,"logicaland",8743,"logicalnot",172,"logicalnotreversed",8976,"logicalor",8744,"lolingthai",3621,"longs",383,"lowlinecenterline",65102,"lowlinecmb",818,"lowlinedashed",65101,"lozenge",9674,"lparen",9383,"lslash",322,"lsquare",8467,"lsuperior",63214,"ltshade",9617,"luthai",3622,"lvocalicbengali",2444,"lvocalicdeva",2316,"lvocalicvowelsignbengali",2530,"lvocalicvowelsigndeva",2402,"lxsquare",13267,"m",109,"mabengali",2478,"macron",175,"macronbelowcmb",817,"macroncmb",772,"macronlowmod",717,"macronmonospace",65507,"macute",7743,"madeva",2350,"magujarati",2734,"magurmukhi",2606,"mahapakhhebrew",1444,"mahapakhlefthebrew",1444,"mahiragana",12414,"maichattawalowleftthai",63637,"maichattawalowrightthai",63636,"maichattawathai",3659,"maichattawaupperleftthai",63635,"maieklowleftthai",63628,"maieklowrightthai",63627,"maiekthai",3656,"maiekupperleftthai",63626,"maihanakatleftthai",63620,"maihanakatthai",3633,"maitaikhuleftthai",63625,"maitaikhuthai",3655,"maitholowleftthai",63631,"maitholowrightthai",63630,"maithothai",3657,"maithoupperleftthai",63629,"maitrilowleftthai",63634,"maitrilowrightthai",63633,"maitrithai",3658,"maitriupperleftthai",63632,"maiyamokthai",3654,"makatakana",12510,"makatakanahalfwidth",65423,"male",9794,"mansyonsquare",13127,"maqafhebrew",1470,"mars",9794,"masoracirclehebrew",1455,"masquare",13187,"mbopomofo",12551,"mbsquare",13268,"mcircle",9436,"mcubedsquare",13221,"mdotaccent",7745,"mdotbelow",7747,"meemarabic",1605,"meemfinalarabic",65250,"meeminitialarabic",65251,"meemmedialarabic",65252,"meemmeeminitialarabic",64721,"meemmeemisolatedarabic",64584,"meetorusquare",13133,"mehiragana",12417,"meizierasquare",13182,"mekatakana",12513,"mekatakanahalfwidth",65426,"mem",1502,"memdagesh",64318,"memdageshhebrew",64318,"memhebrew",1502,"menarmenian",1396,"merkhahebrew",1445,"merkhakefulahebrew",1446,"merkhakefulalefthebrew",1446,"merkhalefthebrew",1445,"mhook",625,"mhzsquare",13202,"middledotkatakanahalfwidth",65381,"middot",183,"mieumacirclekorean",12914,"mieumaparenkorean",12818,"mieumcirclekorean",12900,"mieumkorean",12609,"mieumpansioskorean",12656,"mieumparenkorean",12804,"mieumpieupkorean",12654,"mieumsioskorean",12655,"mihiragana",12415,"mikatakana",12511,"mikatakanahalfwidth",65424,"minus",8722,"minusbelowcmb",800,"minuscircle",8854,"minusmod",727,"minusplus",8723,"minute",8242,"miribaarusquare",13130,"mirisquare",13129,"mlonglegturned",624,"mlsquare",13206,"mmcubedsquare",13219,"mmonospace",65357,"mmsquaredsquare",13215,"mohiragana",12418,"mohmsquare",13249,"mokatakana",12514,"mokatakanahalfwidth",65427,"molsquare",13270,"momathai",3617,"moverssquare",13223,"moverssquaredsquare",13224,"mparen",9384,"mpasquare",13227,"mssquare",13235,"msuperior",63215,"mturned",623,"mu",181,"mu1",181,"muasquare",13186,"muchgreater",8811,"muchless",8810,"mufsquare",13196,"mugreek",956,"mugsquare",13197,"muhiragana",12416,"mukatakana",12512,"mukatakanahalfwidth",65425,"mulsquare",13205,"multiply",215,"mumsquare",13211,"munahhebrew",1443,"munahlefthebrew",1443,"musicalnote",9834,"musicalnotedbl",9835,"musicflatsign",9837,"musicsharpsign",9839,"mussquare",13234,"muvsquare",13238,"muwsquare",13244,"mvmegasquare",13241,"mvsquare",13239,"mwmegasquare",13247,"mwsquare",13245,"n",110,"nabengali",2472,"nabla",8711,"nacute",324,"nadeva",2344,"nagujarati",2728,"nagurmukhi",2600,"nahiragana",12394,"nakatakana",12490,"nakatakanahalfwidth",65413,"napostrophe",329,"nasquare",13185,"nbopomofo",12555,"nbspace",160,"ncaron",328,"ncedilla",326,"ncircle",9437,"ncircumflexbelow",7755,"ncommaaccent",326,"ndotaccent",7749,"ndotbelow",7751,"nehiragana",12397,"nekatakana",12493,"nekatakanahalfwidth",65416,"newsheqelsign",8362,"nfsquare",13195,"ngabengali",2457,"ngadeva",2329,"ngagujarati",2713,"ngagurmukhi",2585,"ngonguthai",3591,"nhiragana",12435,"nhookleft",626,"nhookretroflex",627,"nieunacirclekorean",12911,"nieunaparenkorean",12815,"nieuncieuckorean",12597,"nieuncirclekorean",12897,"nieunhieuhkorean",12598,"nieunkorean",12596,"nieunpansioskorean",12648,"nieunparenkorean",12801,"nieunsioskorean",12647,"nieuntikeutkorean",12646,"nihiragana",12395,"nikatakana",12491,"nikatakanahalfwidth",65414,"nikhahitleftthai",63641,"nikhahitthai",3661,"nine",57,"ninearabic",1641,"ninebengali",2543,"ninecircle",9320,"ninecircleinversesansserif",10130,"ninedeva",2415,"ninegujarati",2799,"ninegurmukhi",2671,"ninehackarabic",1641,"ninehangzhou",12329,"nineideographicparen",12840,"nineinferior",8329,"ninemonospace",65305,"nineoldstyle",63289,"nineparen",9340,"nineperiod",9360,"ninepersian",1785,"nineroman",8568,"ninesuperior",8313,"nineteencircle",9330,"nineteenparen",9350,"nineteenperiod",9370,"ninethai",3673,"nj",460,"njecyrillic",1114,"nkatakana",12531,"nkatakanahalfwidth",65437,"nlegrightlong",414,"nlinebelow",7753,"nmonospace",65358,"nmsquare",13210,"nnabengali",2467,"nnadeva",2339,"nnagujarati",2723,"nnagurmukhi",2595,"nnnadeva",2345,"nohiragana",12398,"nokatakana",12494,"nokatakanahalfwidth",65417,"nonbreakingspace",160,"nonenthai",3603,"nonuthai",3609,"noonarabic",1606,"noonfinalarabic",65254,"noonghunnaarabic",1722,"noonghunnafinalarabic",64415,"nooninitialarabic",65255,"noonjeeminitialarabic",64722,"noonjeemisolatedarabic",64587,"noonmedialarabic",65256,"noonmeeminitialarabic",64725,"noonmeemisolatedarabic",64590,"noonnoonfinalarabic",64653,"notcontains",8716,"notelement",8713,"notelementof",8713,"notequal",8800,"notgreater",8815,"notgreaternorequal",8817,"notgreaternorless",8825,"notidentical",8802,"notless",8814,"notlessnorequal",8816,"notparallel",8742,"notprecedes",8832,"notsubset",8836,"notsucceeds",8833,"notsuperset",8837,"nowarmenian",1398,"nparen",9385,"nssquare",13233,"nsuperior",8319,"ntilde",241,"nu",957,"nuhiragana",12396,"nukatakana",12492,"nukatakanahalfwidth",65415,"nuktabengali",2492,"nuktadeva",2364,"nuktagujarati",2748,"nuktagurmukhi",2620,"numbersign",35,"numbersignmonospace",65283,"numbersignsmall",65119,"numeralsigngreek",884,"numeralsignlowergreek",885,"numero",8470,"nun",1504,"nundagesh",64320,"nundageshhebrew",64320,"nunhebrew",1504,"nvsquare",13237,"nwsquare",13243,"nyabengali",2462,"nyadeva",2334,"nyagujarati",2718,"nyagurmukhi",2590,"o",111,"oacute",243,"oangthai",3629,"obarred",629,"obarredcyrillic",1257,"obarreddieresiscyrillic",1259,"obengali",2451,"obopomofo",12571,"obreve",335,"ocandradeva",2321,"ocandragujarati",2705,"ocandravowelsigndeva",2377,"ocandravowelsigngujarati",2761,"ocaron",466,"ocircle",9438,"ocircumflex",244,"ocircumflexacute",7889,"ocircumflexdotbelow",7897,"ocircumflexgrave",7891,"ocircumflexhookabove",7893,"ocircumflextilde",7895,"ocyrillic",1086,"odblacute",337,"odblgrave",525,"odeva",2323,"odieresis",246,"odieresiscyrillic",1255,"odotbelow",7885,"oe",339,"oekorean",12634,"ogonek",731,"ogonekcmb",808,"ograve",242,"ogujarati",2707,"oharmenian",1413,"ohiragana",12362,"ohookabove",7887,"ohorn",417,"ohornacute",7899,"ohorndotbelow",7907,"ohorngrave",7901,"ohornhookabove",7903,"ohorntilde",7905,"ohungarumlaut",337,"oi",419,"oinvertedbreve",527,"okatakana",12458,"okatakanahalfwidth",65397,"okorean",12631,"olehebrew",1451,"omacron",333,"omacronacute",7763,"omacrongrave",7761,"omdeva",2384,"omega",969,"omega1",982,"omegacyrillic",1121,"omegalatinclosed",631,"omegaroundcyrillic",1147,"omegatitlocyrillic",1149,"omegatonos",974,"omgujarati",2768,"omicron",959,"omicrontonos",972,"omonospace",65359,"one",49,"onearabic",1633,"onebengali",2535,"onecircle",9312,"onecircleinversesansserif",10122,"onedeva",2407,"onedotenleader",8228,"oneeighth",8539,"onefitted",63196,"onegujarati",2791,"onegurmukhi",2663,"onehackarabic",1633,"onehalf",189,"onehangzhou",12321,"oneideographicparen",12832,"oneinferior",8321,"onemonospace",65297,"onenumeratorbengali",2548,"oneoldstyle",63281,"oneparen",9332,"oneperiod",9352,"onepersian",1777,"onequarter",188,"oneroman",8560,"onesuperior",185,"onethai",3665,"onethird",8531,"oogonek",491,"oogonekmacron",493,"oogurmukhi",2579,"oomatragurmukhi",2635,"oopen",596,"oparen",9386,"openbullet",9702,"option",8997,"ordfeminine",170,"ordmasculine",186,"orthogonal",8735,"oshortdeva",2322,"oshortvowelsigndeva",2378,"oslash",248,"oslashacute",511,"osmallhiragana",12361,"osmallkatakana",12457,"osmallkatakanahalfwidth",65387,"ostrokeacute",511,"osuperior",63216,"otcyrillic",1151,"otilde",245,"otildeacute",7757,"otildedieresis",7759,"oubopomofo",12577,"overline",8254,"overlinecenterline",65098,"overlinecmb",773,"overlinedashed",65097,"overlinedblwavy",65100,"overlinewavy",65099,"overscore",175,"ovowelsignbengali",2507,"ovowelsigndeva",2379,"ovowelsigngujarati",2763,"p",112,"paampssquare",13184,"paasentosquare",13099,"pabengali",2474,"pacute",7765,"padeva",2346,"pagedown",8671,"pageup",8670,"pagujarati",2730,"pagurmukhi",2602,"pahiragana",12401,"paiyannoithai",3631,"pakatakana",12497,"palatalizationcyrilliccmb",1156,"palochkacyrillic",1216,"pansioskorean",12671,"paragraph",182,"parallel",8741,"parenleft",40,"parenleftaltonearabic",64830,"parenleftbt",63725,"parenleftex",63724,"parenleftinferior",8333,"parenleftmonospace",65288,"parenleftsmall",65113,"parenleftsuperior",8317,"parenlefttp",63723,"parenleftvertical",65077,"parenright",41,"parenrightaltonearabic",64831,"parenrightbt",63736,"parenrightex",63735,"parenrightinferior",8334,"parenrightmonospace",65289,"parenrightsmall",65114,"parenrightsuperior",8318,"parenrighttp",63734,"parenrightvertical",65078,"partialdiff",8706,"paseqhebrew",1472,"pashtahebrew",1433,"pasquare",13225,"patah",1463,"patah11",1463,"patah1d",1463,"patah2a",1463,"patahhebrew",1463,"patahnarrowhebrew",1463,"patahquarterhebrew",1463,"patahwidehebrew",1463,"pazerhebrew",1441,"pbopomofo",12550,"pcircle",9439,"pdotaccent",7767,"pe",1508,"pecyrillic",1087,"pedagesh",64324,"pedageshhebrew",64324,"peezisquare",13115,"pefinaldageshhebrew",64323,"peharabic",1662,"peharmenian",1402,"pehebrew",1508,"pehfinalarabic",64343,"pehinitialarabic",64344,"pehiragana",12410,"pehmedialarabic",64345,"pekatakana",12506,"pemiddlehookcyrillic",1191,"perafehebrew",64334,"percent",37,"percentarabic",1642,"percentmonospace",65285,"percentsmall",65130,"period",46,"periodarmenian",1417,"periodcentered",183,"periodhalfwidth",65377,"periodinferior",63207,"periodmonospace",65294,"periodsmall",65106,"periodsuperior",63208,"perispomenigreekcmb",834,"perpendicular",8869,"perthousand",8240,"peseta",8359,"pfsquare",13194,"phabengali",2475,"phadeva",2347,"phagujarati",2731,"phagurmukhi",2603,"phi",966,"phi1",981,"phieuphacirclekorean",12922,"phieuphaparenkorean",12826,"phieuphcirclekorean",12908,"phieuphkorean",12621,"phieuphparenkorean",12812,"philatin",632,"phinthuthai",3642,"phisymbolgreek",981,"phook",421,"phophanthai",3614,"phophungthai",3612,"phosamphaothai",3616,"pi",960,"pieupacirclekorean",12915,"pieupaparenkorean",12819,"pieupcieuckorean",12662,"pieupcirclekorean",12901,"pieupkiyeokkorean",12658,"pieupkorean",12610,"pieupparenkorean",12805,"pieupsioskiyeokkorean",12660,"pieupsioskorean",12612,"pieupsiostikeutkorean",12661,"pieupthieuthkorean",12663,"pieuptikeutkorean",12659,"pihiragana",12404,"pikatakana",12500,"pisymbolgreek",982,"piwrarmenian",1411,"plus",43,"plusbelowcmb",799,"pluscircle",8853,"plusminus",177,"plusmod",726,"plusmonospace",65291,"plussmall",65122,"plussuperior",8314,"pmonospace",65360,"pmsquare",13272,"pohiragana",12413,"pointingindexdownwhite",9759,"pointingindexleftwhite",9756,"pointingindexrightwhite",9758,"pointingindexupwhite",9757,"pokatakana",12509,"poplathai",3611,"postalmark",12306,"postalmarkface",12320,"pparen",9387,"precedes",8826,"prescription",8478,"primemod",697,"primereversed",8245,"product",8719,"projective",8965,"prolongedkana",12540,"propellor",8984,"propersubset",8834,"propersuperset",8835,"proportion",8759,"proportional",8733,"psi",968,"psicyrillic",1137,"psilipneumatacyrilliccmb",1158,"pssquare",13232,"puhiragana",12407,"pukatakana",12503,"pvsquare",13236,"pwsquare",13242,"q",113,"qadeva",2392,"qadmahebrew",1448,"qafarabic",1602,"qaffinalarabic",65238,"qafinitialarabic",65239,"qafmedialarabic",65240,"qamats",1464,"qamats10",1464,"qamats1a",1464,"qamats1c",1464,"qamats27",1464,"qamats29",1464,"qamats33",1464,"qamatsde",1464,"qamatshebrew",1464,"qamatsnarrowhebrew",1464,"qamatsqatanhebrew",1464,"qamatsqatannarrowhebrew",1464,"qamatsqatanquarterhebrew",1464,"qamatsqatanwidehebrew",1464,"qamatsquarterhebrew",1464,"qamatswidehebrew",1464,"qarneyparahebrew",1439,"qbopomofo",12561,"qcircle",9440,"qhook",672,"qmonospace",65361,"qof",1511,"qofdagesh",64327,"qofdageshhebrew",64327,"qofhebrew",1511,"qparen",9388,"quarternote",9833,"qubuts",1467,"qubuts18",1467,"qubuts25",1467,"qubuts31",1467,"qubutshebrew",1467,"qubutsnarrowhebrew",1467,"qubutsquarterhebrew",1467,"qubutswidehebrew",1467,"question",63,"questionarabic",1567,"questionarmenian",1374,"questiondown",191,"questiondownsmall",63423,"questiongreek",894,"questionmonospace",65311,"questionsmall",63295,"quotedbl",34,"quotedblbase",8222,"quotedblleft",8220,"quotedblmonospace",65282,"quotedblprime",12318,"quotedblprimereversed",12317,"quotedblright",8221,"quoteleft",8216,"quoteleftreversed",8219,"quotereversed",8219,"quoteright",8217,"quoterightn",329,"quotesinglbase",8218,"quotesingle",39,"quotesinglemonospace",65287,"r",114,"raarmenian",1404,"rabengali",2480,"racute",341,"radeva",2352,"radical",8730,"radicalex",63717,"radoverssquare",13230,"radoverssquaredsquare",13231,"radsquare",13229,"rafe",1471,"rafehebrew",1471,"ragujarati",2736,"ragurmukhi",2608,"rahiragana",12425,"rakatakana",12521,"rakatakanahalfwidth",65431,"ralowerdiagonalbengali",2545,"ramiddlediagonalbengali",2544,"ramshorn",612,"ratio",8758,"rbopomofo",12566,"rcaron",345,"rcedilla",343,"rcircle",9441,"rcommaaccent",343,"rdblgrave",529,"rdotaccent",7769,"rdotbelow",7771,"rdotbelowmacron",7773,"referencemark",8251,"reflexsubset",8838,"reflexsuperset",8839,"registered",174,"registersans",63720,"registerserif",63194,"reharabic",1585,"reharmenian",1408,"rehfinalarabic",65198,"rehiragana",12428,"rekatakana",12524,"rekatakanahalfwidth",65434,"resh",1512,"reshdageshhebrew",64328,"reshhebrew",1512,"reversedtilde",8765,"reviahebrew",1431,"reviamugrashhebrew",1431,"revlogicalnot",8976,"rfishhook",638,"rfishhookreversed",639,"rhabengali",2525,"rhadeva",2397,"rho",961,"rhook",637,"rhookturned",635,"rhookturnedsuperior",693,"rhosymbolgreek",1009,"rhotichookmod",734,"rieulacirclekorean",12913,"rieulaparenkorean",12817,"rieulcirclekorean",12899,"rieulhieuhkorean",12608,"rieulkiyeokkorean",12602,"rieulkiyeoksioskorean",12649,"rieulkorean",12601,"rieulmieumkorean",12603,"rieulpansioskorean",12652,"rieulparenkorean",12803,"rieulphieuphkorean",12607,"rieulpieupkorean",12604,"rieulpieupsioskorean",12651,"rieulsioskorean",12605,"rieulthieuthkorean",12606,"rieultikeutkorean",12650,"rieulyeorinhieuhkorean",12653,"rightangle",8735,"righttackbelowcmb",793,"righttriangle",8895,"rihiragana",12426,"rikatakana",12522,"rikatakanahalfwidth",65432,"ring",730,"ringbelowcmb",805,"ringcmb",778,"ringhalfleft",703,"ringhalfleftarmenian",1369,"ringhalfleftbelowcmb",796,"ringhalfleftcentered",723,"ringhalfright",702,"ringhalfrightbelowcmb",825,"ringhalfrightcentered",722,"rinvertedbreve",531,"rittorusquare",13137,"rlinebelow",7775,"rlongleg",636,"rlonglegturned",634,"rmonospace",65362,"rohiragana",12429,"rokatakana",12525,"rokatakanahalfwidth",65435,"roruathai",3619,"rparen",9389,"rrabengali",2524,"rradeva",2353,"rragurmukhi",2652,"rreharabic",1681,"rrehfinalarabic",64397,"rrvocalicbengali",2528,"rrvocalicdeva",2400,"rrvocalicgujarati",2784,"rrvocalicvowelsignbengali",2500,"rrvocalicvowelsigndeva",2372,"rrvocalicvowelsigngujarati",2756,"rsuperior",63217,"rtblock",9616,"rturned",633,"rturnedsuperior",692,"ruhiragana",12427,"rukatakana",12523,"rukatakanahalfwidth",65433,"rupeemarkbengali",2546,"rupeesignbengali",2547,"rupiah",63197,"ruthai",3620,"rvocalicbengali",2443,"rvocalicdeva",2315,"rvocalicgujarati",2699,"rvocalicvowelsignbengali",2499,"rvocalicvowelsigndeva",2371,"rvocalicvowelsigngujarati",2755,"s",115,"sabengali",2488,"sacute",347,"sacutedotaccent",7781,"sadarabic",1589,"sadeva",2360,"sadfinalarabic",65210,"sadinitialarabic",65211,"sadmedialarabic",65212,"sagujarati",2744,"sagurmukhi",2616,"sahiragana",12373,"sakatakana",12469,"sakatakanahalfwidth",65403,"sallallahoualayhewasallamarabic",65018,"samekh",1505,"samekhdagesh",64321,"samekhdageshhebrew",64321,"samekhhebrew",1505,"saraaathai",3634,"saraaethai",3649,"saraaimaimalaithai",3652,"saraaimaimuanthai",3651,"saraamthai",3635,"saraathai",3632,"saraethai",3648,"saraiileftthai",63622,"saraiithai",3637,"saraileftthai",63621,"saraithai",3636,"saraothai",3650,"saraueeleftthai",63624,"saraueethai",3639,"saraueleftthai",63623,"sarauethai",3638,"sarauthai",3640,"sarauuthai",3641,"sbopomofo",12569,"scaron",353,"scarondotaccent",7783,"scedilla",351,"schwa",601,"schwacyrillic",1241,"schwadieresiscyrillic",1243,"schwahook",602,"scircle",9442,"scircumflex",349,"scommaaccent",537,"sdotaccent",7777,"sdotbelow",7779,"sdotbelowdotaccent",7785,"seagullbelowcmb",828,"second",8243,"secondtonechinese",714,"section",167,"seenarabic",1587,"seenfinalarabic",65202,"seeninitialarabic",65203,"seenmedialarabic",65204,"segol",1462,"segol13",1462,"segol1f",1462,"segol2c",1462,"segolhebrew",1462,"segolnarrowhebrew",1462,"segolquarterhebrew",1462,"segoltahebrew",1426,"segolwidehebrew",1462,"seharmenian",1405,"sehiragana",12379,"sekatakana",12475,"sekatakanahalfwidth",65406,"semicolon",59,"semicolonarabic",1563,"semicolonmonospace",65307,"semicolonsmall",65108,"semivoicedmarkkana",12444,"semivoicedmarkkanahalfwidth",65439,"sentisquare",13090,"sentosquare",13091,"seven",55,"sevenarabic",1639,"sevenbengali",2541,"sevencircle",9318,"sevencircleinversesansserif",10128,"sevendeva",2413,"seveneighths",8542,"sevengujarati",2797,"sevengurmukhi",2669,"sevenhackarabic",1639,"sevenhangzhou",12327,"sevenideographicparen",12838,"seveninferior",8327,"sevenmonospace",65303,"sevenoldstyle",63287,"sevenparen",9338,"sevenperiod",9358,"sevenpersian",1783,"sevenroman",8566,"sevensuperior",8311,"seventeencircle",9328,"seventeenparen",9348,"seventeenperiod",9368,"seventhai",3671,"sfthyphen",173,"shaarmenian",1399,"shabengali",2486,"shacyrillic",1096,"shaddaarabic",1617,"shaddadammaarabic",64609,"shaddadammatanarabic",64606,"shaddafathaarabic",64608,"shaddakasraarabic",64610,"shaddakasratanarabic",64607,"shade",9618,"shadedark",9619,"shadelight",9617,"shademedium",9618,"shadeva",2358,"shagujarati",2742,"shagurmukhi",2614,"shalshelethebrew",1427,"shbopomofo",12565,"shchacyrillic",1097,"sheenarabic",1588,"sheenfinalarabic",65206,"sheeninitialarabic",65207,"sheenmedialarabic",65208,"sheicoptic",995,"sheqel",8362,"sheqelhebrew",8362,"sheva",1456,"sheva115",1456,"sheva15",1456,"sheva22",1456,"sheva2e",1456,"shevahebrew",1456,"shevanarrowhebrew",1456,"shevaquarterhebrew",1456,"shevawidehebrew",1456,"shhacyrillic",1211,"shimacoptic",1005,"shin",1513,"shindagesh",64329,"shindageshhebrew",64329,"shindageshshindot",64300,"shindageshshindothebrew",64300,"shindageshsindot",64301,"shindageshsindothebrew",64301,"shindothebrew",1473,"shinhebrew",1513,"shinshindot",64298,"shinshindothebrew",64298,"shinsindot",64299,"shinsindothebrew",64299,"shook",642,"sigma",963,"sigma1",962,"sigmafinal",962,"sigmalunatesymbolgreek",1010,"sihiragana",12375,"sikatakana",12471,"sikatakanahalfwidth",65404,"siluqhebrew",1469,"siluqlefthebrew",1469,"similar",8764,"sindothebrew",1474,"siosacirclekorean",12916,"siosaparenkorean",12820,"sioscieuckorean",12670,"sioscirclekorean",12902,"sioskiyeokkorean",12666,"sioskorean",12613,"siosnieunkorean",12667,"siosparenkorean",12806,"siospieupkorean",12669,"siostikeutkorean",12668,"six",54,"sixarabic",1638,"sixbengali",2540,"sixcircle",9317,"sixcircleinversesansserif",10127,"sixdeva",2412,"sixgujarati",2796,"sixgurmukhi",2668,"sixhackarabic",1638,"sixhangzhou",12326,"sixideographicparen",12837,"sixinferior",8326,"sixmonospace",65302,"sixoldstyle",63286,"sixparen",9337,"sixperiod",9357,"sixpersian",1782,"sixroman",8565,"sixsuperior",8310,"sixteencircle",9327,"sixteencurrencydenominatorbengali",2553,"sixteenparen",9347,"sixteenperiod",9367,"sixthai",3670,"slash",47,"slashmonospace",65295,"slong",383,"slongdotaccent",7835,"smileface",9786,"smonospace",65363,"sofpasuqhebrew",1475,"softhyphen",173,"softsigncyrillic",1100,"sohiragana",12381,"sokatakana",12477,"sokatakanahalfwidth",65407,"soliduslongoverlaycmb",824,"solidusshortoverlaycmb",823,"sorusithai",3625,"sosalathai",3624,"sosothai",3595,"sosuathai",3626,"space",32,"spacehackarabic",32,"spade",9824,"spadesuitblack",9824,"spadesuitwhite",9828,"sparen",9390,"squarebelowcmb",827,"squarecc",13252,"squarecm",13213,"squarediagonalcrosshatchfill",9641,"squarehorizontalfill",9636,"squarekg",13199,"squarekm",13214,"squarekmcapital",13262,"squareln",13265,"squarelog",13266,"squaremg",13198,"squaremil",13269,"squaremm",13212,"squaremsquared",13217,"squareorthogonalcrosshatchfill",9638,"squareupperlefttolowerrightfill",9639,"squareupperrighttolowerleftfill",9640,"squareverticalfill",9637,"squarewhitewithsmallblack",9635,"srsquare",13275,"ssabengali",2487,"ssadeva",2359,"ssagujarati",2743,"ssangcieuckorean",12617,"ssanghieuhkorean",12677,"ssangieungkorean",12672,"ssangkiyeokkorean",12594,"ssangnieunkorean",12645,"ssangpieupkorean",12611,"ssangsioskorean",12614,"ssangtikeutkorean",12600,"ssuperior",63218,"sterling",163,"sterlingmonospace",65505,"strokelongoverlaycmb",822,"strokeshortoverlaycmb",821,"subset",8834,"subsetnotequal",8842,"subsetorequal",8838,"succeeds",8827,"suchthat",8715,"suhiragana",12377,"sukatakana",12473,"sukatakanahalfwidth",65405,"sukunarabic",1618,"summation",8721,"sun",9788,"superset",8835,"supersetnotequal",8843,"supersetorequal",8839,"svsquare",13276,"syouwaerasquare",13180,"t",116,"tabengali",2468,"tackdown",8868,"tackleft",8867,"tadeva",2340,"tagujarati",2724,"tagurmukhi",2596,"taharabic",1591,"tahfinalarabic",65218,"tahinitialarabic",65219,"tahiragana",12383,"tahmedialarabic",65220,"taisyouerasquare",13181,"takatakana",12479,"takatakanahalfwidth",65408,"tatweelarabic",1600,"tau",964,"tav",1514,"tavdages",64330,"tavdagesh",64330,"tavdageshhebrew",64330,"tavhebrew",1514,"tbar",359,"tbopomofo",12554,"tcaron",357,"tccurl",680,"tcedilla",355,"tcheharabic",1670,"tchehfinalarabic",64379,"tchehinitialarabic",64380,"tchehmedialarabic",64381,"tcircle",9443,"tcircumflexbelow",7793,"tcommaaccent",355,"tdieresis",7831,"tdotaccent",7787,"tdotbelow",7789,"tecyrillic",1090,"tedescendercyrillic",1197,"teharabic",1578,"tehfinalarabic",65174,"tehhahinitialarabic",64674,"tehhahisolatedarabic",64524,"tehinitialarabic",65175,"tehiragana",12390,"tehjeeminitialarabic",64673,"tehjeemisolatedarabic",64523,"tehmarbutaarabic",1577,"tehmarbutafinalarabic",65172,"tehmedialarabic",65176,"tehmeeminitialarabic",64676,"tehmeemisolatedarabic",64526,"tehnoonfinalarabic",64627,"tekatakana",12486,"tekatakanahalfwidth",65411,"telephone",8481,"telephoneblack",9742,"telishagedolahebrew",1440,"telishaqetanahebrew",1449,"tencircle",9321,"tenideographicparen",12841,"tenparen",9341,"tenperiod",9361,"tenroman",8569,"tesh",679,"tet",1496,"tetdagesh",64312,"tetdageshhebrew",64312,"tethebrew",1496,"tetsecyrillic",1205,"tevirhebrew",1435,"tevirlefthebrew",1435,"thabengali",2469,"thadeva",2341,"thagujarati",2725,"thagurmukhi",2597,"thalarabic",1584,"thalfinalarabic",65196,"thanthakhatlowleftthai",63640,"thanthakhatlowrightthai",63639,"thanthakhatthai",3660,"thanthakhatupperleftthai",63638,"theharabic",1579,"thehfinalarabic",65178,"thehinitialarabic",65179,"thehmedialarabic",65180,"thereexists",8707,"therefore",8756,"theta",952,"theta1",977,"thetasymbolgreek",977,"thieuthacirclekorean",12921,"thieuthaparenkorean",12825,"thieuthcirclekorean",12907,"thieuthkorean",12620,"thieuthparenkorean",12811,"thirteencircle",9324,"thirteenparen",9344,"thirteenperiod",9364,"thonangmonthothai",3601,"thook",429,"thophuthaothai",3602,"thorn",254,"thothahanthai",3607,"thothanthai",3600,"thothongthai",3608,"thothungthai",3606,"thousandcyrillic",1154,"thousandsseparatorarabic",1644,"thousandsseparatorpersian",1644,"three",51,"threearabic",1635,"threebengali",2537,"threecircle",9314,"threecircleinversesansserif",10124,"threedeva",2409,"threeeighths",8540,"threegujarati",2793,"threegurmukhi",2665,"threehackarabic",1635,"threehangzhou",12323,"threeideographicparen",12834,"threeinferior",8323,"threemonospace",65299,"threenumeratorbengali",2550,"threeoldstyle",63283,"threeparen",9334,"threeperiod",9354,"threepersian",1779,"threequarters",190,"threequartersemdash",63198,"threeroman",8562,"threesuperior",179,"threethai",3667,"thzsquare",13204,"tihiragana",12385,"tikatakana",12481,"tikatakanahalfwidth",65409,"tikeutacirclekorean",12912,"tikeutaparenkorean",12816,"tikeutcirclekorean",12898,"tikeutkorean",12599,"tikeutparenkorean",12802,"tilde",732,"tildebelowcmb",816,"tildecmb",771,"tildecomb",771,"tildedoublecmb",864,"tildeoperator",8764,"tildeoverlaycmb",820,"tildeverticalcmb",830,"timescircle",8855,"tipehahebrew",1430,"tipehalefthebrew",1430,"tippigurmukhi",2672,"titlocyrilliccmb",1155,"tiwnarmenian",1407,"tlinebelow",7791,"tmonospace",65364,"toarmenian",1385,"tohiragana",12392,"tokatakana",12488,"tokatakanahalfwidth",65412,"tonebarextrahighmod",741,"tonebarextralowmod",745,"tonebarhighmod",742,"tonebarlowmod",744,"tonebarmidmod",743,"tonefive",445,"tonesix",389,"tonetwo",424,"tonos",900,"tonsquare",13095,"topatakthai",3599,"tortoiseshellbracketleft",12308,"tortoiseshellbracketleftsmall",65117,"tortoiseshellbracketleftvertical",65081,"tortoiseshellbracketright",12309,"tortoiseshellbracketrightsmall",65118,"tortoiseshellbracketrightvertical",65082,"totaothai",3605,"tpalatalhook",427,"tparen",9391,"trademark",8482,"trademarksans",63722,"trademarkserif",63195,"tretroflexhook",648,"triagdn",9660,"triaglf",9668,"triagrt",9658,"triagup",9650,"ts",678,"tsadi",1510,"tsadidagesh",64326,"tsadidageshhebrew",64326,"tsadihebrew",1510,"tsecyrillic",1094,"tsere",1461,"tsere12",1461,"tsere1e",1461,"tsere2b",1461,"tserehebrew",1461,"tserenarrowhebrew",1461,"tserequarterhebrew",1461,"tserewidehebrew",1461,"tshecyrillic",1115,"tsuperior",63219,"ttabengali",2463,"ttadeva",2335,"ttagujarati",2719,"ttagurmukhi",2591,"tteharabic",1657,"ttehfinalarabic",64359,"ttehinitialarabic",64360,"ttehmedialarabic",64361,"tthabengali",2464,"tthadeva",2336,"tthagujarati",2720,"tthagurmukhi",2592,"tturned",647,"tuhiragana",12388,"tukatakana",12484,"tukatakanahalfwidth",65410,"tusmallhiragana",12387,"tusmallkatakana",12483,"tusmallkatakanahalfwidth",65391,"twelvecircle",9323,"twelveparen",9343,"twelveperiod",9363,"twelveroman",8571,"twentycircle",9331,"twentyhangzhou",21316,"twentyparen",9351,"twentyperiod",9371,"two",50,"twoarabic",1634,"twobengali",2536,"twocircle",9313,"twocircleinversesansserif",10123,"twodeva",2408,"twodotenleader",8229,"twodotleader",8229,"twodotleadervertical",65072,"twogujarati",2792,"twogurmukhi",2664,"twohackarabic",1634,"twohangzhou",12322,"twoideographicparen",12833,"twoinferior",8322,"twomonospace",65298,"twonumeratorbengali",2549,"twooldstyle",63282,"twoparen",9333,"twoperiod",9353,"twopersian",1778,"tworoman",8561,"twostroke",443,"twosuperior",178,"twothai",3666,"twothirds",8532,"u",117,"uacute",250,"ubar",649,"ubengali",2441,"ubopomofo",12584,"ubreve",365,"ucaron",468,"ucircle",9444,"ucircumflex",251,"ucircumflexbelow",7799,"ucyrillic",1091,"udattadeva",2385,"udblacute",369,"udblgrave",533,"udeva",2313,"udieresis",252,"udieresisacute",472,"udieresisbelow",7795,"udieresiscaron",474,"udieresiscyrillic",1265,"udieresisgrave",476,"udieresismacron",470,"udotbelow",7909,"ugrave",249,"ugujarati",2697,"ugurmukhi",2569,"uhiragana",12358,"uhookabove",7911,"uhorn",432,"uhornacute",7913,"uhorndotbelow",7921,"uhorngrave",7915,"uhornhookabove",7917,"uhorntilde",7919,"uhungarumlaut",369,"uhungarumlautcyrillic",1267,"uinvertedbreve",535,"ukatakana",12454,"ukatakanahalfwidth",65395,"ukcyrillic",1145,"ukorean",12636,"umacron",363,"umacroncyrillic",1263,"umacrondieresis",7803,"umatragurmukhi",2625,"umonospace",65365,"underscore",95,"underscoredbl",8215,"underscoremonospace",65343,"underscorevertical",65075,"underscorewavy",65103,"union",8746,"universal",8704,"uogonek",371,"uparen",9392,"upblock",9600,"upperdothebrew",1476,"upsilon",965,"upsilondieresis",971,"upsilondieresistonos",944,"upsilonlatin",650,"upsilontonos",973,"uptackbelowcmb",797,"uptackmod",724,"uragurmukhi",2675,"uring",367,"ushortcyrillic",1118,"usmallhiragana",12357,"usmallkatakana",12453,"usmallkatakanahalfwidth",65385,"ustraightcyrillic",1199,"ustraightstrokecyrillic",1201,"utilde",361,"utildeacute",7801,"utildebelow",7797,"uubengali",2442,"uudeva",2314,"uugujarati",2698,"uugurmukhi",2570,"uumatragurmukhi",2626,"uuvowelsignbengali",2498,"uuvowelsigndeva",2370,"uuvowelsigngujarati",2754,"uvowelsignbengali",2497,"uvowelsigndeva",2369,"uvowelsigngujarati",2753,"v",118,"vadeva",2357,"vagujarati",2741,"vagurmukhi",2613,"vakatakana",12535,"vav",1493,"vavdagesh",64309,"vavdagesh65",64309,"vavdageshhebrew",64309,"vavhebrew",1493,"vavholam",64331,"vavholamhebrew",64331,"vavvavhebrew",1520,"vavyodhebrew",1521,"vcircle",9445,"vdotbelow",7807,"vecyrillic",1074,"veharabic",1700,"vehfinalarabic",64363,"vehinitialarabic",64364,"vehmedialarabic",64365,"vekatakana",12537,"venus",9792,"verticalbar",124,"verticallineabovecmb",781,"verticallinebelowcmb",809,"verticallinelowmod",716,"verticallinemod",712,"vewarmenian",1406,"vhook",651,"vikatakana",12536,"viramabengali",2509,"viramadeva",2381,"viramagujarati",2765,"visargabengali",2435,"visargadeva",2307,"visargagujarati",2691,"vmonospace",65366,"voarmenian",1400,"voicediterationhiragana",12446,"voicediterationkatakana",12542,"voicedmarkkana",12443,"voicedmarkkanahalfwidth",65438,"vokatakana",12538,"vparen",9393,"vtilde",7805,"vturned",652,"vuhiragana",12436,"vukatakana",12532,"w",119,"wacute",7811,"waekorean",12633,"wahiragana",12431,"wakatakana",12527,"wakatakanahalfwidth",65436,"wakorean",12632,"wasmallhiragana",12430,"wasmallkatakana",12526,"wattosquare",13143,"wavedash",12316,"wavyunderscorevertical",65076,"wawarabic",1608,"wawfinalarabic",65262,"wawhamzaabovearabic",1572,"wawhamzaabovefinalarabic",65158,"wbsquare",13277,"wcircle",9446,"wcircumflex",373,"wdieresis",7813,"wdotaccent",7815,"wdotbelow",7817,"wehiragana",12433,"weierstrass",8472,"wekatakana",12529,"wekorean",12638,"weokorean",12637,"wgrave",7809,"whitebullet",9702,"whitecircle",9675,"whitecircleinverse",9689,"whitecornerbracketleft",12302,"whitecornerbracketleftvertical",65091,"whitecornerbracketright",12303,"whitecornerbracketrightvertical",65092,"whitediamond",9671,"whitediamondcontainingblacksmalldiamond",9672,"whitedownpointingsmalltriangle",9663,"whitedownpointingtriangle",9661,"whiteleftpointingsmalltriangle",9667,"whiteleftpointingtriangle",9665,"whitelenticularbracketleft",12310,"whitelenticularbracketright",12311,"whiterightpointingsmalltriangle",9657,"whiterightpointingtriangle",9655,"whitesmallsquare",9643,"whitesmilingface",9786,"whitesquare",9633,"whitestar",9734,"whitetelephone",9743,"whitetortoiseshellbracketleft",12312,"whitetortoiseshellbracketright",12313,"whiteuppointingsmalltriangle",9653,"whiteuppointingtriangle",9651,"wihiragana",12432,"wikatakana",12528,"wikorean",12639,"wmonospace",65367,"wohiragana",12434,"wokatakana",12530,"wokatakanahalfwidth",65382,"won",8361,"wonmonospace",65510,"wowaenthai",3623,"wparen",9394,"wring",7832,"wsuperior",695,"wturned",653,"wynn",447,"x",120,"xabovecmb",829,"xbopomofo",12562,"xcircle",9447,"xdieresis",7821,"xdotaccent",7819,"xeharmenian",1389,"xi",958,"xmonospace",65368,"xparen",9395,"xsuperior",739,"y",121,"yaadosquare",13134,"yabengali",2479,"yacute",253,"yadeva",2351,"yaekorean",12626,"yagujarati",2735,"yagurmukhi",2607,"yahiragana",12420,"yakatakana",12516,"yakatakanahalfwidth",65428,"yakorean",12625,"yamakkanthai",3662,"yasmallhiragana",12419,"yasmallkatakana",12515,"yasmallkatakanahalfwidth",65388,"yatcyrillic",1123,"ycircle",9448,"ycircumflex",375,"ydieresis",255,"ydotaccent",7823,"ydotbelow",7925,"yeharabic",1610,"yehbarreearabic",1746,"yehbarreefinalarabic",64431,"yehfinalarabic",65266,"yehhamzaabovearabic",1574,"yehhamzaabovefinalarabic",65162,"yehhamzaaboveinitialarabic",65163,"yehhamzaabovemedialarabic",65164,"yehinitialarabic",65267,"yehmedialarabic",65268,"yehmeeminitialarabic",64733,"yehmeemisolatedarabic",64600,"yehnoonfinalarabic",64660,"yehthreedotsbelowarabic",1745,"yekorean",12630,"yen",165,"yenmonospace",65509,"yeokorean",12629,"yeorinhieuhkorean",12678,"yerahbenyomohebrew",1450,"yerahbenyomolefthebrew",1450,"yericyrillic",1099,"yerudieresiscyrillic",1273,"yesieungkorean",12673,"yesieungpansioskorean",12675,"yesieungsioskorean",12674,"yetivhebrew",1434,"ygrave",7923,"yhook",436,"yhookabove",7927,"yiarmenian",1397,"yicyrillic",1111,"yikorean",12642,"yinyang",9775,"yiwnarmenian",1410,"ymonospace",65369,"yod",1497,"yoddagesh",64313,"yoddageshhebrew",64313,"yodhebrew",1497,"yodyodhebrew",1522,"yodyodpatahhebrew",64287,"yohiragana",12424,"yoikorean",12681,"yokatakana",12520,"yokatakanahalfwidth",65430,"yokorean",12635,"yosmallhiragana",12423,"yosmallkatakana",12519,"yosmallkatakanahalfwidth",65390,"yotgreek",1011,"yoyaekorean",12680,"yoyakorean",12679,"yoyakthai",3618,"yoyingthai",3597,"yparen",9396,"ypogegrammeni",890,"ypogegrammenigreekcmb",837,"yr",422,"yring",7833,"ysuperior",696,"ytilde",7929,"yturned",654,"yuhiragana",12422,"yuikorean",12684,"yukatakana",12518,"yukatakanahalfwidth",65429,"yukorean",12640,"yusbigcyrillic",1131,"yusbigiotifiedcyrillic",1133,"yuslittlecyrillic",1127,"yuslittleiotifiedcyrillic",1129,"yusmallhiragana",12421,"yusmallkatakana",12517,"yusmallkatakanahalfwidth",65389,"yuyekorean",12683,"yuyeokorean",12682,"yyabengali",2527,"yyadeva",2399,"z",122,"zaarmenian",1382,"zacute",378,"zadeva",2395,"zagurmukhi",2651,"zaharabic",1592,"zahfinalarabic",65222,"zahinitialarabic",65223,"zahiragana",12374,"zahmedialarabic",65224,"zainarabic",1586,"zainfinalarabic",65200,"zakatakana",12470,"zaqefgadolhebrew",1429,"zaqefqatanhebrew",1428,"zarqahebrew",1432,"zayin",1494,"zayindagesh",64310,"zayindageshhebrew",64310,"zayinhebrew",1494,"zbopomofo",12567,"zcaron",382,"zcircle",9449,"zcircumflex",7825,"zcurl",657,"zdot",380,"zdotaccent",380,"zdotbelow",7827,"zecyrillic",1079,"zedescendercyrillic",1177,"zedieresiscyrillic",1247,"zehiragana",12380,"zekatakana",12476,"zero",48,"zeroarabic",1632,"zerobengali",2534,"zerodeva",2406,"zerogujarati",2790,"zerogurmukhi",2662,"zerohackarabic",1632,"zeroinferior",8320,"zeromonospace",65296,"zerooldstyle",63280,"zeropersian",1776,"zerosuperior",8304,"zerothai",3664,"zerowidthjoiner",65279,"zerowidthnonjoiner",8204,"zerowidthspace",8203,"zeta",950,"zhbopomofo",12563,"zhearmenian",1386,"zhebrevecyrillic",1218,"zhecyrillic",1078,"zhedescendercyrillic",1175,"zhedieresiscyrillic",1245,"zihiragana",12376,"zikatakana",12472,"zinorhebrew",1454,"zlinebelow",7829,"zmonospace",65370,"zohiragana",12382,"zokatakana",12478,"zparen",9397,"zretroflexhook",656,"zstroke",438,"zuhiragana",12378,"zukatakana",12474,".notdef",0,"angbracketleftbig",9001,"angbracketleftBig",9001,"angbracketleftbigg",9001,"angbracketleftBigg",9001,"angbracketrightBig",9002,"angbracketrightbig",9002,"angbracketrightBigg",9002,"angbracketrightbigg",9002,"arrowhookleft",8618,"arrowhookright",8617,"arrowlefttophalf",8636,"arrowleftbothalf",8637,"arrownortheast",8599,"arrownorthwest",8598,"arrowrighttophalf",8640,"arrowrightbothalf",8641,"arrowsoutheast",8600,"arrowsouthwest",8601,"backslashbig",8726,"backslashBig",8726,"backslashBigg",8726,"backslashbigg",8726,"bardbl",8214,"bracehtipdownleft",65079,"bracehtipdownright",65079,"bracehtipupleft",65080,"bracehtipupright",65080,"braceleftBig",123,"braceleftbig",123,"braceleftbigg",123,"braceleftBigg",123,"bracerightBig",125,"bracerightbig",125,"bracerightbigg",125,"bracerightBigg",125,"bracketleftbig",91,"bracketleftBig",91,"bracketleftbigg",91,"bracketleftBigg",91,"bracketrightBig",93,"bracketrightbig",93,"bracketrightbigg",93,"bracketrightBigg",93,"ceilingleftbig",8968,"ceilingleftBig",8968,"ceilingleftBigg",8968,"ceilingleftbigg",8968,"ceilingrightbig",8969,"ceilingrightBig",8969,"ceilingrightbigg",8969,"ceilingrightBigg",8969,"circledotdisplay",8857,"circledottext",8857,"circlemultiplydisplay",8855,"circlemultiplytext",8855,"circleplusdisplay",8853,"circleplustext",8853,"contintegraldisplay",8750,"contintegraltext",8750,"coproductdisplay",8720,"coproducttext",8720,"floorleftBig",8970,"floorleftbig",8970,"floorleftbigg",8970,"floorleftBigg",8970,"floorrightbig",8971,"floorrightBig",8971,"floorrightBigg",8971,"floorrightbigg",8971,"hatwide",770,"hatwider",770,"hatwidest",770,"intercal",7488,"integraldisplay",8747,"integraltext",8747,"intersectiondisplay",8898,"intersectiontext",8898,"logicalanddisplay",8743,"logicalandtext",8743,"logicalordisplay",8744,"logicalortext",8744,"parenleftBig",40,"parenleftbig",40,"parenleftBigg",40,"parenleftbigg",40,"parenrightBig",41,"parenrightbig",41,"parenrightBigg",41,"parenrightbigg",41,"prime",8242,"productdisplay",8719,"producttext",8719,"radicalbig",8730,"radicalBig",8730,"radicalBigg",8730,"radicalbigg",8730,"radicalbt",8730,"radicaltp",8730,"radicalvertex",8730,"slashbig",47,"slashBig",47,"slashBigg",47,"slashbigg",47,"summationdisplay",8721,"summationtext",8721,"tildewide",732,"tildewider",732,"tildewidest",732,"uniondisplay",8899,"unionmultidisplay",8846,"unionmultitext",8846,"unionsqdisplay",8852,"unionsqtext",8852,"uniontext",8899,"vextenddouble",8741,"vextendsingle",8739]}),R=(0,n.getArrayLookupTableFactory)(function(){return["space",32,"a1",9985,"a2",9986,"a202",9987,"a3",9988,"a4",9742,"a5",9990,"a119",9991,"a118",9992,"a117",9993,"a11",9755,"a12",9758,"a13",9996,"a14",9997,"a15",9998,"a16",9999,"a105",1e4,"a17",10001,"a18",10002,"a19",10003,"a20",10004,"a21",10005,"a22",10006,"a23",10007,"a24",10008,"a25",10009,"a26",10010,"a27",10011,"a28",10012,"a6",10013,"a7",10014,"a8",10015,"a9",10016,"a10",10017,"a29",10018,"a30",10019,"a31",10020,"a32",10021,"a33",10022,"a34",10023,"a35",9733,"a36",10025,"a37",10026,"a38",10027,"a39",10028,"a40",10029,"a41",10030,"a42",10031,"a43",10032,"a44",10033,"a45",10034,"a46",10035,"a47",10036,"a48",10037,"a49",10038,"a50",10039,"a51",10040,"a52",10041,"a53",10042,"a54",10043,"a55",10044,"a56",10045,"a57",10046,"a58",10047,"a59",10048,"a60",10049,"a61",10050,"a62",10051,"a63",10052,"a64",10053,"a65",10054,"a66",10055,"a67",10056,"a68",10057,"a69",10058,"a70",10059,"a71",9679,"a72",10061,"a73",9632,"a74",10063,"a203",10064,"a75",10065,"a204",10066,"a76",9650,"a77",9660,"a78",9670,"a79",10070,"a81",9687,"a82",10072,"a83",10073,"a84",10074,"a97",10075,"a98",10076,"a99",10077,"a100",10078,"a101",10081,"a102",10082,"a103",10083,"a104",10084,"a106",10085,"a107",10086,"a108",10087,"a112",9827,"a111",9830,"a110",9829,"a109",9824,"a120",9312,"a121",9313,"a122",9314,"a123",9315,"a124",9316,"a125",9317,"a126",9318,"a127",9319,"a128",9320,"a129",9321,"a130",10102,"a131",10103,"a132",10104,"a133",10105,"a134",10106,"a135",10107,"a136",10108,"a137",10109,"a138",10110,"a139",10111,"a140",10112,"a141",10113,"a142",10114,"a143",10115,"a144",10116,"a145",10117,"a146",10118,"a147",10119,"a148",10120,"a149",10121,"a150",10122,"a151",10123,"a152",10124,"a153",10125,"a154",10126,"a155",10127,"a156",10128,"a157",10129,"a158",10130,"a159",10131,"a160",10132,"a161",8594,"a163",8596,"a164",8597,"a196",10136,"a165",10137,"a192",10138,"a166",10139,"a167",10140,"a168",10141,"a169",10142,"a170",10143,"a171",10144,"a172",10145,"a173",10146,"a162",10147,"a174",10148,"a175",10149,"a176",10150,"a177",10151,"a178",10152,"a179",10153,"a193",10154,"a180",10155,"a199",10156,"a181",10157,"a200",10158,"a182",10159,"a201",10161,"a183",10162,"a184",10163,"a197",10164,"a185",10165,"a194",10166,"a198",10167,"a186",10168,"a195",10169,"a187",10170,"a188",10171,"a189",10172,"a190",10173,"a191",10174,"a89",10088,"a90",10089,"a93",10090,"a94",10091,"a91",10092,"a92",10093,"a205",10094,"a85",10095,"a206",10096,"a86",10097,"a87",10098,"a88",10099,"a95",10100,"a96",10101,".notdef",0]})},(x,a,g)=>{g.r(a),g.d(a,{clearUnicodeCaches:()=>y,getCharUnicodeCategory:()=>l,getNormalizedUnicodes:()=>B,getUnicodeForGlyph:()=>v,getUnicodeRangeFor:()=>L,mapSpecialUnicodeValues:()=>R,reverseIfRtl:()=>P});var n=g(131);const c=(0,n.getLookupTableFactory)(function(D){D[63721]=169,D[63193]=169,D[63720]=174,D[63194]=174,D[63722]=8482,D[63195]=8482,D[63729]=9127,D[63730]=9128,D[63731]=9129,D[63740]=9131,D[63741]=9132,D[63742]=9133,D[63726]=9121,D[63727]=9122,D[63728]=9123,D[63737]=9124,D[63738]=9125,D[63739]=9126,D[63723]=9115,D[63724]=9116,D[63725]=9117,D[63734]=9118,D[63735]=9119,D[63736]=9120});function R(D){return D>=65520&&D<=65535?0:D>=62976&&D<=63743?c()[D]||D:D===173?45:D}function v(D,M){let F=M[D];if(F!==void 0)return F;if(!D)return-1;if(D[0]==="u"){const N=D.length;let G;if(N===7&&D[1]==="n"&&D[2]==="i")G=D.substring(3);else if(N>=5&&N<=7)G=D.substring(1);else return-1;if(G===G.toUpperCase()&&(F=parseInt(G,16),F>=0))return F}return-1}const e=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function L(D){for(let M=0,F=e.length;M=N.begin&&D=M.begin&&D=M.begin&&D=0;N--)F.push(D[N]);return F.join("")}const S=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),_=new Map;function l(D){const M=_.get(D);if(M)return M;const F=D.match(S),N={isWhitespace:!!(F&&F[1]),isZeroWidthDiacritic:!!(F&&F[2]),isInvisibleFormatMark:!!(F&&F[3])};return _.set(D,N),N}function y(){_.clear()}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.getSerifFonts=a.getNonStdFontMap=a.getGlyphMapForStandardFonts=a.getFontNameToFileMap=void 0,a.getStandardFontName=_,a.getSymbolsFonts=a.getSupplementalGlyphMapForCalibri=a.getSupplementalGlyphMapForArialBlack=a.getStdFontMap=void 0;var n=g(131),c=g(163);const R=(0,n.getLookupTableFactory)(function(l){l["Times-Roman"]="Times-Roman",l.Helvetica="Helvetica",l.Courier="Courier",l.Symbol="Symbol",l["Times-Bold"]="Times-Bold",l["Helvetica-Bold"]="Helvetica-Bold",l["Courier-Bold"]="Courier-Bold",l.ZapfDingbats="ZapfDingbats",l["Times-Italic"]="Times-Italic",l["Helvetica-Oblique"]="Helvetica-Oblique",l["Courier-Oblique"]="Courier-Oblique",l["Times-BoldItalic"]="Times-BoldItalic",l["Helvetica-BoldOblique"]="Helvetica-BoldOblique",l["Courier-BoldOblique"]="Courier-BoldOblique",l.ArialNarrow="Helvetica",l["ArialNarrow-Bold"]="Helvetica-Bold",l["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",l["ArialNarrow-Italic"]="Helvetica-Oblique",l.ArialBlack="Helvetica",l["ArialBlack-Bold"]="Helvetica-Bold",l["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",l["ArialBlack-Italic"]="Helvetica-Oblique",l["Arial-Black"]="Helvetica",l["Arial-Black-Bold"]="Helvetica-Bold",l["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",l["Arial-Black-Italic"]="Helvetica-Oblique",l.Arial="Helvetica",l["Arial-Bold"]="Helvetica-Bold",l["Arial-BoldItalic"]="Helvetica-BoldOblique",l["Arial-Italic"]="Helvetica-Oblique",l.ArialMT="Helvetica",l["Arial-BoldItalicMT"]="Helvetica-BoldOblique",l["Arial-BoldMT"]="Helvetica-Bold",l["Arial-ItalicMT"]="Helvetica-Oblique",l.ArialUnicodeMS="Helvetica",l["ArialUnicodeMS-Bold"]="Helvetica-Bold",l["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",l["ArialUnicodeMS-Italic"]="Helvetica-Oblique",l["Courier-BoldItalic"]="Courier-BoldOblique",l["Courier-Italic"]="Courier-Oblique",l.CourierNew="Courier",l["CourierNew-Bold"]="Courier-Bold",l["CourierNew-BoldItalic"]="Courier-BoldOblique",l["CourierNew-Italic"]="Courier-Oblique",l["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",l["CourierNewPS-BoldMT"]="Courier-Bold",l["CourierNewPS-ItalicMT"]="Courier-Oblique",l.CourierNewPSMT="Courier",l["Helvetica-BoldItalic"]="Helvetica-BoldOblique",l["Helvetica-Italic"]="Helvetica-Oblique",l["Symbol-Bold"]="Symbol",l["Symbol-BoldItalic"]="Symbol",l["Symbol-Italic"]="Symbol",l.TimesNewRoman="Times-Roman",l["TimesNewRoman-Bold"]="Times-Bold",l["TimesNewRoman-BoldItalic"]="Times-BoldItalic",l["TimesNewRoman-Italic"]="Times-Italic",l.TimesNewRomanPS="Times-Roman",l["TimesNewRomanPS-Bold"]="Times-Bold",l["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",l["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",l["TimesNewRomanPS-BoldMT"]="Times-Bold",l["TimesNewRomanPS-Italic"]="Times-Italic",l["TimesNewRomanPS-ItalicMT"]="Times-Italic",l.TimesNewRomanPSMT="Times-Roman",l["TimesNewRomanPSMT-Bold"]="Times-Bold",l["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",l["TimesNewRomanPSMT-Italic"]="Times-Italic"});a.getStdFontMap=R;const v=(0,n.getLookupTableFactory)(function(l){l.Courier="FoxitFixed.pfb",l["Courier-Bold"]="FoxitFixedBold.pfb",l["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",l["Courier-Oblique"]="FoxitFixedItalic.pfb",l.Helvetica="FoxitSans.pfb",l["Helvetica-Bold"]="FoxitSansBold.pfb",l["Helvetica-BoldOblique"]="FoxitSansBoldItalic.pfb",l["Helvetica-Oblique"]="FoxitSansItalic.pfb",l["Times-Roman"]="FoxitSerif.pfb",l["Times-Bold"]="FoxitSerifBold.pfb",l["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",l["Times-Italic"]="FoxitSerifItalic.pfb",l.Symbol="FoxitSymbol.pfb",l.ZapfDingbats="FoxitDingbats.pfb",l["LiberationSans-Regular"]="LiberationSans-Regular.ttf",l["LiberationSans-Bold"]="LiberationSans-Bold.ttf",l["LiberationSans-Italic"]="LiberationSans-Italic.ttf",l["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"});a.getFontNameToFileMap=v;const e=(0,n.getLookupTableFactory)(function(l){l.Calibri="Helvetica",l["Calibri-Bold"]="Helvetica-Bold",l["Calibri-BoldItalic"]="Helvetica-BoldOblique",l["Calibri-Italic"]="Helvetica-Oblique",l.CenturyGothic="Helvetica",l["CenturyGothic-Bold"]="Helvetica-Bold",l["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",l["CenturyGothic-Italic"]="Helvetica-Oblique",l.ComicSansMS="Comic Sans MS",l["ComicSansMS-Bold"]="Comic Sans MS-Bold",l["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",l["ComicSansMS-Italic"]="Comic Sans MS-Italic",l["ItcSymbol-Bold"]="Helvetica-Bold",l["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",l["ItcSymbol-Book"]="Helvetica",l["ItcSymbol-BookItalic"]="Helvetica-Oblique",l["ItcSymbol-Medium"]="Helvetica",l["ItcSymbol-MediumItalic"]="Helvetica-Oblique",l.LucidaConsole="Courier",l["LucidaConsole-Bold"]="Courier-Bold",l["LucidaConsole-BoldItalic"]="Courier-BoldOblique",l["LucidaConsole-Italic"]="Courier-Oblique",l["LucidaSans-Demi"]="Helvetica-Bold",l["MS-Gothic"]="MS Gothic",l["MS-Gothic-Bold"]="MS Gothic-Bold",l["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",l["MS-Gothic-Italic"]="MS Gothic-Italic",l["MS-Mincho"]="MS Mincho",l["MS-Mincho-Bold"]="MS Mincho-Bold",l["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",l["MS-Mincho-Italic"]="MS Mincho-Italic",l["MS-PGothic"]="MS PGothic",l["MS-PGothic-Bold"]="MS PGothic-Bold",l["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",l["MS-PGothic-Italic"]="MS PGothic-Italic",l["MS-PMincho"]="MS PMincho",l["MS-PMincho-Bold"]="MS PMincho-Bold",l["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",l["MS-PMincho-Italic"]="MS PMincho-Italic",l.NuptialScript="Times-Italic",l.SegoeUISymbol="Helvetica",l.Wingdings="ZapfDingbats",l["Wingdings-Regular"]="ZapfDingbats"});a.getNonStdFontMap=e;const L=(0,n.getLookupTableFactory)(function(l){l["Adobe Jenson"]=!0,l["Adobe Text"]=!0,l.Albertus=!0,l.Aldus=!0,l.Alexandria=!0,l.Algerian=!0,l["American Typewriter"]=!0,l.Antiqua=!0,l.Apex=!0,l.Arno=!0,l.Aster=!0,l.Aurora=!0,l.Baskerville=!0,l.Bell=!0,l.Bembo=!0,l["Bembo Schoolbook"]=!0,l.Benguiat=!0,l["Berkeley Old Style"]=!0,l["Bernhard Modern"]=!0,l["Berthold City"]=!0,l.Bodoni=!0,l["Bauer Bodoni"]=!0,l["Book Antiqua"]=!0,l.Bookman=!0,l["Bordeaux Roman"]=!0,l["Californian FB"]=!0,l.Calisto=!0,l.Calvert=!0,l.Capitals=!0,l.Cambria=!0,l.Cartier=!0,l.Caslon=!0,l.Catull=!0,l.Centaur=!0,l["Century Old Style"]=!0,l["Century Schoolbook"]=!0,l.Chaparral=!0,l["Charis SIL"]=!0,l.Cheltenham=!0,l["Cholla Slab"]=!0,l.Clarendon=!0,l.Clearface=!0,l.Cochin=!0,l.Colonna=!0,l["Computer Modern"]=!0,l["Concrete Roman"]=!0,l.Constantia=!0,l["Cooper Black"]=!0,l.Corona=!0,l.Ecotype=!0,l.Egyptienne=!0,l.Elephant=!0,l.Excelsior=!0,l.Fairfield=!0,l["FF Scala"]=!0,l.Folkard=!0,l.Footlight=!0,l.FreeSerif=!0,l["Friz Quadrata"]=!0,l.Garamond=!0,l.Gentium=!0,l.Georgia=!0,l.Gloucester=!0,l["Goudy Old Style"]=!0,l["Goudy Schoolbook"]=!0,l["Goudy Pro Font"]=!0,l.Granjon=!0,l["Guardian Egyptian"]=!0,l.Heather=!0,l.Hercules=!0,l["High Tower Text"]=!0,l.Hiroshige=!0,l["Hoefler Text"]=!0,l["Humana Serif"]=!0,l.Imprint=!0,l["Ionic No. 5"]=!0,l.Janson=!0,l.Joanna=!0,l.Korinna=!0,l.Lexicon=!0,l.LiberationSerif=!0,l["Liberation Serif"]=!0,l["Linux Libertine"]=!0,l.Literaturnaya=!0,l.Lucida=!0,l["Lucida Bright"]=!0,l.Melior=!0,l.Memphis=!0,l.Miller=!0,l.Minion=!0,l.Modern=!0,l["Mona Lisa"]=!0,l["Mrs Eaves"]=!0,l["MS Serif"]=!0,l["Museo Slab"]=!0,l["New York"]=!0,l["Nimbus Roman"]=!0,l["NPS Rawlinson Roadway"]=!0,l.NuptialScript=!0,l.Palatino=!0,l.Perpetua=!0,l.Plantin=!0,l["Plantin Schoolbook"]=!0,l.Playbill=!0,l["Poor Richard"]=!0,l["Rawlinson Roadway"]=!0,l.Renault=!0,l.Requiem=!0,l.Rockwell=!0,l.Roman=!0,l["Rotis Serif"]=!0,l.Sabon=!0,l.Scala=!0,l.Seagull=!0,l.Sistina=!0,l.Souvenir=!0,l.STIX=!0,l["Stone Informal"]=!0,l["Stone Serif"]=!0,l.Sylfaen=!0,l.Times=!0,l.Trajan=!0,l.Trinité=!0,l["Trump Mediaeval"]=!0,l.Utopia=!0,l["Vale Type"]=!0,l["Bitstream Vera"]=!0,l["Vera Serif"]=!0,l.Versailles=!0,l.Wanted=!0,l.Weiss=!0,l["Wide Latin"]=!0,l.Windsor=!0,l.XITS=!0});a.getSerifFonts=L;const O=(0,n.getLookupTableFactory)(function(l){l.Dingbats=!0,l.Symbol=!0,l.ZapfDingbats=!0});a.getSymbolsFonts=O;const B=(0,n.getLookupTableFactory)(function(l){l[2]=10,l[3]=32,l[4]=33,l[5]=34,l[6]=35,l[7]=36,l[8]=37,l[9]=38,l[10]=39,l[11]=40,l[12]=41,l[13]=42,l[14]=43,l[15]=44,l[16]=45,l[17]=46,l[18]=47,l[19]=48,l[20]=49,l[21]=50,l[22]=51,l[23]=52,l[24]=53,l[25]=54,l[26]=55,l[27]=56,l[28]=57,l[29]=58,l[30]=894,l[31]=60,l[32]=61,l[33]=62,l[34]=63,l[35]=64,l[36]=65,l[37]=66,l[38]=67,l[39]=68,l[40]=69,l[41]=70,l[42]=71,l[43]=72,l[44]=73,l[45]=74,l[46]=75,l[47]=76,l[48]=77,l[49]=78,l[50]=79,l[51]=80,l[52]=81,l[53]=82,l[54]=83,l[55]=84,l[56]=85,l[57]=86,l[58]=87,l[59]=88,l[60]=89,l[61]=90,l[62]=91,l[63]=92,l[64]=93,l[65]=94,l[66]=95,l[67]=96,l[68]=97,l[69]=98,l[70]=99,l[71]=100,l[72]=101,l[73]=102,l[74]=103,l[75]=104,l[76]=105,l[77]=106,l[78]=107,l[79]=108,l[80]=109,l[81]=110,l[82]=111,l[83]=112,l[84]=113,l[85]=114,l[86]=115,l[87]=116,l[88]=117,l[89]=118,l[90]=119,l[91]=120,l[92]=121,l[93]=122,l[94]=123,l[95]=124,l[96]=125,l[97]=126,l[98]=196,l[99]=197,l[100]=199,l[101]=201,l[102]=209,l[103]=214,l[104]=220,l[105]=225,l[106]=224,l[107]=226,l[108]=228,l[109]=227,l[110]=229,l[111]=231,l[112]=233,l[113]=232,l[114]=234,l[115]=235,l[116]=237,l[117]=236,l[118]=238,l[119]=239,l[120]=241,l[121]=243,l[122]=242,l[123]=244,l[124]=246,l[125]=245,l[126]=250,l[127]=249,l[128]=251,l[129]=252,l[130]=8224,l[131]=176,l[132]=162,l[133]=163,l[134]=167,l[135]=8226,l[136]=182,l[137]=223,l[138]=174,l[139]=169,l[140]=8482,l[141]=180,l[142]=168,l[143]=8800,l[144]=198,l[145]=216,l[146]=8734,l[147]=177,l[148]=8804,l[149]=8805,l[150]=165,l[151]=181,l[152]=8706,l[153]=8721,l[154]=8719,l[156]=8747,l[157]=170,l[158]=186,l[159]=8486,l[160]=230,l[161]=248,l[162]=191,l[163]=161,l[164]=172,l[165]=8730,l[166]=402,l[167]=8776,l[168]=8710,l[169]=171,l[170]=187,l[171]=8230,l[200]=193,l[203]=205,l[210]=218,l[223]=711,l[224]=321,l[225]=322,l[226]=352,l[227]=353,l[228]=381,l[229]=382,l[233]=221,l[234]=253,l[252]=263,l[253]=268,l[254]=269,l[258]=258,l[260]=260,l[261]=261,l[265]=280,l[266]=281,l[267]=282,l[268]=283,l[269]=313,l[275]=323,l[276]=324,l[278]=328,l[283]=344,l[284]=345,l[285]=346,l[286]=347,l[292]=367,l[295]=377,l[296]=378,l[298]=380,l[305]=963,l[306]=964,l[307]=966,l[308]=8215,l[309]=8252,l[310]=8319,l[311]=8359,l[312]=8592,l[313]=8593,l[337]=9552,l[493]=1039,l[494]=1040,l[672]=1488,l[673]=1489,l[674]=1490,l[675]=1491,l[676]=1492,l[677]=1493,l[678]=1494,l[679]=1495,l[680]=1496,l[681]=1497,l[682]=1498,l[683]=1499,l[684]=1500,l[685]=1501,l[686]=1502,l[687]=1503,l[688]=1504,l[689]=1505,l[690]=1506,l[691]=1507,l[692]=1508,l[693]=1509,l[694]=1510,l[695]=1511,l[696]=1512,l[697]=1513,l[698]=1514,l[705]=1524,l[706]=8362,l[710]=64288,l[711]=64298,l[759]=1617,l[761]=1776,l[763]=1778,l[775]=1652,l[777]=1764,l[778]=1780,l[779]=1781,l[780]=1782,l[782]=771,l[783]=64726,l[786]=8363,l[788]=8532,l[790]=768,l[791]=769,l[792]=768,l[795]=803,l[797]=64336,l[798]=64337,l[799]=64342,l[800]=64343,l[801]=64344,l[802]=64345,l[803]=64362,l[804]=64363,l[805]=64364,l[2424]=7821,l[2425]=7822,l[2426]=7823,l[2427]=7824,l[2428]=7825,l[2429]=7826,l[2430]=7827,l[2433]=7682,l[2678]=8045,l[2679]=8046,l[2830]=1552,l[2838]=686,l[2840]=751,l[2842]=753,l[2843]=754,l[2844]=755,l[2846]=757,l[2856]=767,l[2857]=848,l[2858]=849,l[2862]=853,l[2863]=854,l[2864]=855,l[2865]=861,l[2866]=862,l[2906]=7460,l[2908]=7462,l[2909]=7463,l[2910]=7464,l[2912]=7466,l[2913]=7467,l[2914]=7468,l[2916]=7470,l[2917]=7471,l[2918]=7472,l[2920]=7474,l[2921]=7475,l[2922]=7476,l[2924]=7478,l[2925]=7479,l[2926]=7480,l[2928]=7482,l[2929]=7483,l[2930]=7484,l[2932]=7486,l[2933]=7487,l[2934]=7488,l[2936]=7490,l[2937]=7491,l[2938]=7492,l[2940]=7494,l[2941]=7495,l[2942]=7496,l[2944]=7498,l[2946]=7500,l[2948]=7502,l[2950]=7504,l[2951]=7505,l[2952]=7506,l[2954]=7508,l[2955]=7509,l[2956]=7510,l[2958]=7512,l[2959]=7513,l[2960]=7514,l[2962]=7516,l[2963]=7517,l[2964]=7518,l[2966]=7520,l[2967]=7521,l[2968]=7522,l[2970]=7524,l[2971]=7525,l[2972]=7526,l[2974]=7528,l[2975]=7529,l[2976]=7530,l[2978]=1537,l[2979]=1538,l[2980]=1539,l[2982]=1549,l[2983]=1551,l[2984]=1552,l[2986]=1554,l[2987]=1555,l[2988]=1556,l[2990]=1623,l[2991]=1624,l[2995]=1775,l[2999]=1791,l[3002]=64290,l[3003]=64291,l[3004]=64292,l[3006]=64294,l[3007]=64295,l[3008]=64296,l[3011]=1900,l[3014]=8223,l[3015]=8244,l[3017]=7532,l[3018]=7533,l[3019]=7534,l[3075]=7590,l[3076]=7591,l[3079]=7594,l[3080]=7595,l[3083]=7598,l[3084]=7599,l[3087]=7602,l[3088]=7603,l[3091]=7606,l[3092]=7607,l[3095]=7610,l[3096]=7611,l[3099]=7614,l[3100]=7615,l[3103]=7618,l[3104]=7619,l[3107]=8337,l[3108]=8338,l[3116]=1884,l[3119]=1885,l[3120]=1885,l[3123]=1886,l[3124]=1886,l[3127]=1887,l[3128]=1887,l[3131]=1888,l[3132]=1888,l[3135]=1889,l[3136]=1889,l[3139]=1890,l[3140]=1890,l[3143]=1891,l[3144]=1891,l[3147]=1892,l[3148]=1892,l[3153]=580,l[3154]=581,l[3157]=584,l[3158]=585,l[3161]=588,l[3162]=589,l[3165]=891,l[3166]=892,l[3169]=1274,l[3170]=1275,l[3173]=1278,l[3174]=1279,l[3181]=7622,l[3182]=7623,l[3282]=11799,l[3316]=578,l[3379]=42785,l[3393]=1159,l[3416]=8377});a.getGlyphMapForStandardFonts=B;const P=(0,n.getLookupTableFactory)(function(l){l[227]=322,l[264]=261,l[291]=346});a.getSupplementalGlyphMapForArialBlack=P;const S=(0,n.getLookupTableFactory)(function(l){l[1]=32,l[4]=65,l[6]=193,l[17]=66,l[18]=67,l[21]=268,l[24]=68,l[28]=69,l[30]=201,l[32]=282,l[38]=70,l[39]=71,l[44]=72,l[47]=73,l[49]=205,l[58]=74,l[60]=75,l[62]=76,l[68]=77,l[69]=78,l[75]=79,l[87]=80,l[89]=81,l[90]=82,l[92]=344,l[94]=83,l[97]=352,l[100]=84,l[104]=85,l[115]=86,l[116]=87,l[121]=88,l[122]=89,l[124]=221,l[127]=90,l[129]=381,l[258]=97,l[260]=225,l[268]=261,l[271]=98,l[272]=99,l[273]=263,l[275]=269,l[282]=100,l[286]=101,l[288]=233,l[290]=283,l[295]=281,l[296]=102,l[336]=103,l[346]=104,l[349]=105,l[351]=237,l[361]=106,l[364]=107,l[367]=108,l[371]=322,l[373]=109,l[374]=110,l[381]=111,l[383]=243,l[393]=112,l[395]=113,l[396]=114,l[398]=345,l[400]=115,l[401]=347,l[403]=353,l[410]=116,l[437]=117,l[448]=118,l[449]=119,l[454]=120,l[455]=121,l[457]=253,l[460]=122,l[462]=382,l[463]=380,l[853]=44,l[855]=58,l[856]=46,l[876]=47,l[878]=45,l[882]=45,l[894]=40,l[895]=41,l[896]=91,l[897]=93,l[923]=64,l[1004]=48,l[1005]=49,l[1006]=50,l[1007]=51,l[1008]=52,l[1009]=53,l[1010]=54,l[1011]=55,l[1012]=56,l[1013]=57,l[1081]=37,l[1085]=43,l[1086]=45});a.getSupplementalGlyphMapForCalibri=S;function _(l){const y=(0,c.normalizeFontName)(l);return R()[y]}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ToUnicodeMap=a.IdentityToUnicodeMap=void 0;var n=g(2);class c{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this._map=e}get length(){return this._map.length}forEach(e){for(const L in this._map)e(L,this._map[L].charCodeAt(0))}has(e){return this._map[e]!==void 0}get(e){return this._map[e]}charCodeOf(e){const L=this._map;if(L.length<=65536)return L.indexOf(e);for(const O in L)if(L[O]===e)return O|0;return-1}amend(e){for(const L in e)this._map[L]=e[L]}}a.ToUnicodeMap=c;class R{constructor(e,L){this.firstChar=e,this.lastChar=L}get length(){return this.lastChar+1-this.firstChar}forEach(e){for(let L=this.firstChar,O=this.lastChar;L<=O;L++)e(L,L)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){(0,n.unreachable)("Should not call amend()")}}a.IdentityToUnicodeMap=R},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CFFFont=void 0;var n=g(160),c=g(163),R=g(2);class v{constructor(L,O){this.properties=O;const B=new n.CFFParser(L,O,c.SEAC_ANALYSIS_ENABLED);this.cff=B.parse(),this.cff.duplicateFirstGlyph();const P=new n.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=P.compile()}catch{(0,R.warn)("Failed to compile font "+O.loadedName),this.data=L}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const L=this.cff,O=this.properties,B=L.charset.charset;let P,S;if(O.composite){P=Object.create(null);let l;if(L.isCIDFont)for(S=0;S=0){const y=B[l];y&&(S[_]=y)}}S.length>0&&(this.properties.builtInEncoding=S)}}a.CFFFont=v},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.FontRendererFactory=void 0;var n=g(2),c=g(160),R=g(164),v=g(162),e=g(135);function L(H,z){return(H[z]<<24|H[z+1]<<16|H[z+2]<<8|H[z+3])>>>0}function O(H,z){return H[z]<<8|H[z+1]}function B(H,z){return(H[z]<<24|H[z+1]<<16)>>16}function P(H,z){return H[z]<<24>>24}function S(H,z){return B(H,z)/16384}function _(H){const z=H.length;let X=32768;return z<1240?X=107:z<33900&&(X=1131),X}function l(H,z,X){const q=O(H,z+2)===1?L(H,z+8):L(H,z+16),$=O(H,z+q);let fe,Q,ie;if($===4){O(H,z+q+2);const Te=O(H,z+q+6)>>1;for(Q=z+q+14,fe=[],ie=0;ie2*O(ie,Te));const fe=[];let Q=$(z,0);for(let ie=q;ie>1;X0;)we.push({flags:Te})}for(de=0;de>1,ae=!0;break;case 3:K+=ie.length>>1,ae=!0;break;case 4:me+=ie.pop(),$(Te,me),ae=!0;break;case 5:for(;ie.length>0;)Te+=ie.shift(),me+=ie.shift(),fe(Te,me);break;case 6:for(;ie.length>0&&(Te+=ie.shift(),fe(Te,me),ie.length!==0);)me+=ie.shift(),fe(Te,me);break;case 7:for(;ie.length>0&&(me+=ie.shift(),fe(Te,me),ie.length!==0);)Te+=ie.shift(),fe(Te,me);break;case 8:for(;ie.length>0;)we=Te+ie.shift(),ye=me+ie.shift(),_e=we+ie.shift(),se=ye+ie.shift(),Te=_e+ie.shift(),me=se+ie.shift(),Q(we,ye,_e,se,Te,me);break;case 10:if(pe=ie.pop(),xe=null,X.isCFFCIDFont){const Ne=X.fdSelect.getFDIndex(q);if(Ne>=0&&NeMath.abs(me-ke)?Te+=ie.shift():me+=ie.shift(),Q(we,ye,_e,se,Te,me);break;default:throw new n.FormatError(`unknown operator: 12 ${he}`)}break;case 14:if(ie.length>=4){const Ne=ie.pop(),ke=ie.pop();me=ie.pop(),Te=ie.pop(),z.push({cmd:"save"},{cmd:"translate",args:[Te,me]});let De=M(X.cmap,String.fromCharCode(X.glyphNameMap[v.StandardEncoding[Ne]]));N(X.glyphs[De.glyphId],z,X,De.glyphId),z.push({cmd:"restore"}),De=M(X.cmap,String.fromCharCode(X.glyphNameMap[v.StandardEncoding[ke]])),N(X.glyphs[De.glyphId],z,X,De.glyphId)}return;case 18:K+=ie.length>>1,ae=!0;break;case 19:K+=ie.length>>1,Z+=K+7>>3,ae=!0;break;case 20:K+=ie.length>>1,Z+=K+7>>3,ae=!0;break;case 21:me+=ie.pop(),Te+=ie.pop(),$(Te,me),ae=!0;break;case 22:Te+=ie.pop(),$(Te,me),ae=!0;break;case 23:K+=ie.length>>1,ae=!0;break;case 24:for(;ie.length>2;)we=Te+ie.shift(),ye=me+ie.shift(),_e=we+ie.shift(),se=ye+ie.shift(),Te=_e+ie.shift(),me=se+ie.shift(),Q(we,ye,_e,se,Te,me);Te+=ie.shift(),me+=ie.shift(),fe(Te,me);break;case 25:for(;ie.length>6;)Te+=ie.shift(),me+=ie.shift(),fe(Te,me);we=Te+ie.shift(),ye=me+ie.shift(),_e=we+ie.shift(),se=ye+ie.shift(),Te=_e+ie.shift(),me=se+ie.shift(),Q(we,ye,_e,se,Te,me);break;case 26:for(ie.length%2&&(Te+=ie.shift());ie.length>0;)we=Te,ye=me+ie.shift(),_e=we+ie.shift(),se=ye+ie.shift(),Te=_e,me=se+ie.shift(),Q(we,ye,_e,se,Te,me);break;case 27:for(ie.length%2&&(me+=ie.shift());ie.length>0;)we=Te+ie.shift(),ye=me,_e=we+ie.shift(),se=ye+ie.shift(),Te=_e+ie.shift(),me=se,Q(we,ye,_e,se,Te,me);break;case 28:ie.push((de[Z]<<24|de[Z+1]<<16)>>16),Z+=2;break;case 29:pe=ie.pop()+X.gsubrsBias,xe=X.gsubrs[pe],xe&&ce(xe);break;case 30:for(;ie.length>0&&(we=Te,ye=me+ie.shift(),_e=we+ie.shift(),se=ye+ie.shift(),Te=_e+ie.shift(),me=se+(ie.length===1?ie.shift():0),Q(we,ye,_e,se,Te,me),ie.length!==0);)we=Te+ie.shift(),ye=me,_e=we+ie.shift(),se=ye+ie.shift(),me=se+ie.shift(),Te=_e+(ie.length===1?ie.shift():0),Q(we,ye,_e,se,Te,me);break;case 31:for(;ie.length>0&&(we=Te+ie.shift(),ye=me,_e=we+ie.shift(),se=ye+ie.shift(),me=se+ie.shift(),Te=_e+(ie.length===1?ie.shift():0),Q(we,ye,_e,se,Te,me),ie.length!==0);)we=Te,ye=me+ie.shift(),_e=we+ie.shift(),se=ye+ie.shift(),Te=_e+ie.shift(),me=se+(ie.length===1?ie.shift():0),Q(we,ye,_e,se,Te,me);break;default:if(he<32)throw new n.FormatError(`unknown operator: ${he}`);he<247?ie.push(he-139):he<251?ie.push((he-247)*256+de[Z++]+108):he<255?ie.push(-(he-251)*256-de[Z++]-108):(ie.push((de[Z]<<24|de[Z+1]<<16|de[Z+2]<<8|de[Z+3])/65536),Z+=4);break}ae&&(ie.length=0)}}ce(H)}const G=[];class W{constructor(z){this.constructor===W&&(0,n.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=z,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}getPathJs(z){const{charCode:X,glyphId:q}=M(this.cmap,z);let $=this.compiledGlyphs[q];if(!$)try{$=this.compileGlyph(this.glyphs[q],q),this.compiledGlyphs[q]=$}catch(fe){throw this.compiledGlyphs[q]=G,this.compiledCharCodeToGlyphId[X]===void 0&&(this.compiledCharCodeToGlyphId[X]=q),fe}return this.compiledCharCodeToGlyphId[X]===void 0&&(this.compiledCharCodeToGlyphId[X]=q),$}compileGlyph(z,X){if(!z||z.length===0||z[0]===14)return G;let q=this.fontMatrix;if(this.isCFFCIDFont){const fe=this.fdSelect.getFDIndex(X);fe>=0&&fe{Object.defineProperty(a,"__esModule",{value:!0}),a.getMetrics=a.getFontBasicMetrics=void 0;var n=g(131);const c=(0,n.getLookupTableFactory)(function(v){v.Courier=600,v["Courier-Bold"]=600,v["Courier-BoldOblique"]=600,v["Courier-Oblique"]=600,v.Helvetica=(0,n.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),v["Helvetica-Bold"]=(0,n.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),v["Helvetica-BoldOblique"]=(0,n.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),v["Helvetica-Oblique"]=(0,n.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),v.Symbol=(0,n.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),v["Times-Roman"]=(0,n.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),v["Times-Bold"]=(0,n.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),v["Times-BoldItalic"]=(0,n.getLookupTableFactory)(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),v["Times-Italic"]=(0,n.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),v.ZapfDingbats=(0,n.getLookupTableFactory)(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})});a.getMetrics=c;const R=(0,n.getLookupTableFactory)(function(v){v.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},v["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},v["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},v["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},v.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},v["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},v["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},v["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},v["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},v["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},v["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},v["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},v.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},v.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}});a.getFontBasicMetrics=R},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.GlyfTable=void 0;const g=1,n=2,c=4,R=8,v=16,e=32,L=64,O=1,B=2,P=8,S=32,_=64,l=128,y=256;class D{constructor(Y){let{glyfTable:V,isGlyphLocationsLong:H,locaTable:z,numGlyphs:X}=Y;this.glyphs=[];const q=new DataView(z.buffer,z.byteOffset,z.byteLength),$=new DataView(V.buffer,V.byteOffset,V.byteLength),fe=H?4:2;let Q=H?q.getUint32(0):2*q.getUint16(0),ie=0;for(let Te=0;Te{const H=V.getSize();return Y+(H+3&-4)},0)}write(){const Y=this.getSize(),V=new DataView(new ArrayBuffer(Y)),H=Y>131070,z=H?4:2,X=new DataView(new ArrayBuffer((this.glyphs.length+1)*z));H?X.setUint32(0,0):X.setUint16(0,0);let q=0,$=0;for(const fe of this.glyphs)q+=fe.write(q,V),q=q+3&-4,$+=z,H?X.setUint32($,q):X.setUint16($,q>>1);return{isLocationLong:H,loca:new Uint8Array(X.buffer),glyf:new Uint8Array(V.buffer)}}scale(Y){for(let V=0,H=this.glyphs.length;VV+H.getSize(),0);return this.header.getSize()+Y}write(Y,V){if(!this.header)return 0;const H=Y;if(Y+=this.header.write(Y,V),this.simple)Y+=this.simple.write(Y,V);else for(const z of this.composites)Y+=z.write(Y,V);return Y-H}scale(Y){if(!this.header)return;const V=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(V,Y),this.simple)this.simple.scale(V,Y);else for(const H of this.composites)H.scale(V,Y)}}class F{constructor(Y){let{numberOfContours:V,xMin:H,yMin:z,xMax:X,yMax:q}=Y;this.numberOfContours=V,this.xMin=H,this.yMin=z,this.xMax=X,this.yMax=q}static parse(Y,V){return[10,new F({numberOfContours:V.getInt16(Y),xMin:V.getInt16(Y+2),yMin:V.getInt16(Y+4),xMax:V.getInt16(Y+6),yMax:V.getInt16(Y+8)})]}getSize(){return 10}write(Y,V){return V.setInt16(Y,this.numberOfContours),V.setInt16(Y+2,this.xMin),V.setInt16(Y+4,this.yMin),V.setInt16(Y+6,this.xMax),V.setInt16(Y+8,this.yMax),10}scale(Y,V){this.xMin=Math.round(Y+(this.xMin-Y)*V),this.xMax=Math.round(Y+(this.xMax-Y)*V)}}class N{constructor(Y){let{flags:V,xCoordinates:H,yCoordinates:z}=Y;this.xCoordinates=H,this.yCoordinates=z,this.flags=V}}class G{constructor(Y){let{contours:V,instructions:H}=Y;this.contours=V,this.instructions=H}static parse(Y,V,H){const z=[];for(let Z=0;Z255?Y+=2:Q>0&&(Y+=1),V=$,Q=Math.abs(fe-H),Q>255?Y+=2:Q>0&&(Y+=1),H=fe}}return Y}write(Y,V){const H=Y,z=[],X=[],q=[];let $=0,fe=0;for(const Q of this.contours){for(let ie=0,Te=Q.xCoordinates.length;ie=0?n|v:n,z.push(Z)):z.push(ce)}$=K;const de=Q.yCoordinates[ie];if(ce=de-fe,ce===0)me|=e,X.push(0);else{const Z=Math.abs(ce);Z<=255?(me|=ce>=0?c|e:c,X.push(Z)):X.push(ce)}fe=de,q.push(me)}V.setUint16(Y,z.length-1),Y+=2}V.setUint16(Y,this.instructions.length),Y+=2,this.instructions.length&&(new Uint8Array(V.buffer,0,V.buffer.byteLength).set(this.instructions,Y),Y+=this.instructions.length);for(const Q of q)V.setUint8(Y++,Q);for(let Q=0,ie=z.length;Q=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(Y+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(Y+=2),Y}write(Y,V){const H=Y;return this.flags&B?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=O):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=O),V.setUint16(Y,this.flags),V.setUint16(Y+2,this.glyphIndex),Y+=4,this.flags&O?(this.flags&B?(V.setInt16(Y,this.argument1),V.setInt16(Y+2,this.argument2)):(V.setUint16(Y,this.argument1),V.setUint16(Y+2,this.argument2)),Y+=4):(V.setUint8(Y,this.argument1),V.setUint8(Y+1,this.argument2),Y+=2),this.flags&y&&(V.setUint16(Y,this.instructions.length),Y+=2,this.instructions.length&&(new Uint8Array(V.buffer,0,V.buffer.byteLength).set(this.instructions,Y),Y+=this.instructions.length)),Y-H}scale(Y,V){}}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.OpenTypeFileBuilder=void 0;var n=g(131),c=g(2);function R(P,S,_){P[S]=_>>8&255,P[S+1]=_&255}function v(P,S,_){P[S]=_>>24&255,P[S+1]=_>>16&255,P[S+2]=_>>8&255,P[S+3]=_&255}function e(P,S,_){if(_ instanceof Uint8Array)P.set(_,S);else if(typeof _=="string")for(let l=0,y=_.length;ll;)l<<=1,y++;const D=l*_;return{range:D,entry:y,rangeShift:_*S-D}}toArray(){let S=this.sfnt;const _=this.tables,l=Object.keys(_);l.sort();const y=l.length;let D,M,F,N,G,W=L+y*O;const J=[W];for(D=0;D>>0;W+=H,J.push(W)}const Y=new Uint8Array(W);for(D=0;D>>0}v(Y,W+4,H),v(Y,W+8,J[D]),v(Y,W+12,_[G].length),W+=O}return Y}addTable(S,_){if(S in this.tables)throw new Error("Table "+S+" already exists");this.tables[S]=_}}a.OpenTypeFileBuilder=B},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Type1Font=void 0;var n=g(160),c=g(163),R=g(131),v=g(135),e=g(174),L=g(2);function O(_,l,y){const D=_.length,M=l.length,F=D-M;let N=y,G=!1;for(;N=M){for(N+=W;N=0&&(M[G]=F)}return(0,c.type1FontGlyphMapping)(l,M,D)}hasGlyphId(l){return l<0||l>=this.numGlyphs?!1:l===0?!0:this.charstrings[l-1].charstring.length>0}getSeacs(l){const y=[];for(let D=0,M=l.length;D0;Te--)ie[Te]-=ie[Te-1];X.setByName(Q,ie)}N.topDict.privateDict=X;const $=new n.CFFIndex;for(V=0,H=M.length;V{Object.defineProperty(a,"__esModule",{value:!0}),a.Type1Parser=void 0;var n=g(162),c=g(131),R=g(135),v=g(2);const e=!1,L={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]};class O{constructor(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}convert(F,N,G){const W=F.length;let J=!1,Y,V,H;for(let z=0;zW)return!0;const J=W-F;for(let Y=J;Y>8&255,V&255):(V=65536*V|0,this.output.push(255,V>>24&255,V>>16&255,V>>8&255,V&255))}return this.output.push(...N),G?this.stack.splice(J,F):this.stack.length=0,!1}}const B=55665,P=4330;function S(M){return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102}function _(M,F,N){if(N>=M.length)return new Uint8Array(0);const G=52845,W=22719;let J=F|0,Y,V;for(Y=0;Y>8,J=(X+J)*G+W&65535}return z}function l(M,F,N){let J=F|0;const Y=M.length,V=Y>>>1,H=new Uint8Array(V);let z,X;for(z=0,X=0;z>8,J=(fe+J)*52845+22719&65535}}return H.slice(N,X)}function y(M){return M===47||M===91||M===93||M===123||M===125||M===40||M===41}class D{constructor(F,N,G){if(N){const W=F.getBytes(),J=!((S(W[0])||(0,c.isWhiteSpace)(W[0]))&&S(W[1])&&S(W[2])&&S(W[3])&&S(W[4])&&S(W[5])&&S(W[6])&&S(W[7]));F=new R.Stream(J?_(W,B,4):l(W,B,4))}this.seacAnalysisEnabled=!!G,this.stream=F,this.nextChar()}readNumberArray(){this.getToken();const F=[];for(;;){const N=this.getToken();if(N===null||N==="]"||N==="}")break;F.push(parseFloat(N||0))}return F}readNumber(){const F=this.getToken();return parseFloat(F||0)}readInt(){const F=this.getToken();return parseInt(F||0,10)|0}readBoolean(){return this.getToken()==="true"?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let F=!1,N=this.currentChar;for(;;){if(N===-1)return null;if(F)(N===10||N===13)&&(F=!1);else if(N===37)F=!0;else if(!(0,c.isWhiteSpace)(N))break;N=this.nextChar()}if(y(N))return this.nextChar(),String.fromCharCode(N);let G="";do G+=String.fromCharCode(N),N=this.nextChar();while(N>=0&&!(0,c.isWhiteSpace)(N)&&!y(N));return G}readCharStrings(F,N){return N===-1?F:_(F,P,N)}extractFontProgram(F){const N=this.stream,G=[],W=[],J=Object.create(null);J.lenIV=4;const Y={subrs:[],charstrings:[],properties:{privateData:J}};let V,H,z,X;for(;(V=this.getToken())!==null;)if(V==="/")switch(V=this.getToken(),V){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();V=this.getToken(),!(V===null||V==="end");){if(V!=="/")continue;const $=this.getToken();H=this.readInt(),this.getToken(),z=H>0?N.getBytes(H):new Uint8Array(0),X=Y.properties.privateData.lenIV;const fe=this.readCharStrings(z,X);this.nextChar(),V=this.getToken(),V==="noaccess"?this.getToken():V==="/"&&this.prevChar(),W.push({glyph:$,encoded:fe})}break;case"Subrs":for(this.readInt(),this.getToken();this.getToken()==="dup";){const $=this.readInt();H=this.readInt(),this.getToken(),z=H>0?N.getBytes(H):new Uint8Array(0),X=Y.properties.privateData.lenIV;const fe=this.readCharStrings(z,X);this.nextChar(),V=this.getToken(),V==="noaccess"&&this.getToken(),G[$]=fe}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const q=this.readNumberArray();q.length>0&&q.length%2===0&&e&&(Y.properties.privateData[V]=q);break;case"StemSnapH":case"StemSnapV":Y.properties.privateData[V]=this.readNumberArray();break;case"StdHW":case"StdVW":Y.properties.privateData[V]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":Y.properties.privateData[V]=this.readNumber();break;case"ForceBold":Y.properties.privateData[V]=this.readBoolean();break}for(const{encoded:q,glyph:$}of W){const fe=new O,Q=fe.convert(q,G,this.seacAnalysisEnabled);let ie=fe.output;Q&&(ie=[14]);const Te={glyphName:$,charstring:ie,width:fe.width,lsb:fe.lsb,seac:fe.seac};if($===".notdef"?Y.charstrings.unshift(Te):Y.charstrings.push(Te),F.builtInEncoding){const me=F.builtInEncoding.indexOf($);me>-1&&F.widths[me]===void 0&&me>=F.firstChar&&me<=F.lastChar&&(F.widths[me]=fe.width)}}return Y}extractFontHeader(F){let N;for(;(N=this.getToken())!==null;)if(N==="/")switch(N=this.getToken(),N){case"FontMatrix":const G=this.readNumberArray();F.fontMatrix=G;break;case"Encoding":const W=this.getToken();let J;if(!/^\d+$/.test(W))J=(0,n.getEncoding)(W);else{J=[];const V=parseInt(W,10)|0;this.getToken();for(let H=0;H{Object.defineProperty(a,"__esModule",{value:!0}),a.Pattern=void 0,a.getTilingPatternIR=y;var n=g(2),c=g(132),R=g(139),v=g(131);const e={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7};class L{constructor(){(0,n.unreachable)("Cannot initialize Pattern.")}static parseShading(M,F,N,G,W,J){const Y=M instanceof c.BaseStream?M.dict:M,V=Y.get("ShadingType");try{switch(V){case e.AXIAL:case e.RADIAL:return new B(Y,F,N,W,J);case e.FREE_FORM_MESH:case e.LATTICE_FORM_MESH:case e.COONS_PATCH_MESH:case e.TENSOR_PATCH_MESH:return new _(M,F,N,W,J);default:throw new n.FormatError("Unsupported ShadingType: "+V)}}catch(H){if(H instanceof v.MissingDataException)throw H;return G.send("UnsupportedFeature",{featureId:n.UNSUPPORTED_FEATURES.shadingPattern}),(0,n.warn)(H),new l}}}a.Pattern=L;class O{static get SMALL_NUMBER(){return(0,n.shadow)(this,"SMALL_NUMBER",1e-6)}constructor(){this.constructor===O&&(0,n.unreachable)("Cannot initialize BaseShading.")}getIR(){(0,n.unreachable)("Abstract method `getIR` called.")}}class B extends O{constructor(M,F,N,G,W){super(),this.coordsArr=M.getArray("Coords"),this.shadingType=M.get("ShadingType");const J=R.ColorSpace.parse({cs:M.getRaw("CS")||M.getRaw("ColorSpace"),xref:F,resources:N,pdfFunctionFactory:G,localColorSpaceCache:W}),Y=M.getArray("BBox");Array.isArray(Y)&&Y.length===4?this.bbox=n.Util.normalizeRect(Y):this.bbox=null;let V=0,H=1;if(M.has("Domain")){const de=M.getArray("Domain");V=de[0],H=de[1]}let z=!1,X=!1;if(M.has("Extend")){const de=M.getArray("Extend");z=de[0],X=de[1]}if(this.shadingType===e.RADIAL&&(!z||!X)){const[de,Z,ae,he,we,_e]=this.coordsArr,ye=Math.hypot(de-he,Z-we);ae<=_e+ye&&_e<=ae+ye&&(0,n.warn)("Unsupported radial gradient.")}this.extendStart=z,this.extendEnd=X;const q=M.getRaw("Function"),$=G.createFromArray(q),fe=10,Q=(H-V)/fe,ie=this.colorStops=[];if(V>=H||Q<=0){(0,n.info)("Bad shading domain.");return}const Te=new Float32Array(J.numComps),me=new Float32Array(1);let K;for(let de=0;de<=fe;de++){me[0]=V+de*Q,$(me,0,Te,0),K=J.getRgb(Te,0);const Z=n.Util.makeHexColor(K[0],K[1],K[2]);ie.push([de/fe,Z])}let ce="transparent";M.has("Background")&&(K=J.getRgb(M.get("Background"),0),ce=n.Util.makeHexColor(K[0],K[1],K[2])),z||(ie.unshift([0,ce]),ie[1][0]+=O.SMALL_NUMBER),X||(ie.at(-1)[0]-=O.SMALL_NUMBER,ie.push([1,ce])),this.colorStops=ie}getIR(){const M=this.coordsArr,F=this.shadingType;let N,G,W,J,Y;return F===e.AXIAL?(G=[M[0],M[1]],W=[M[2],M[3]],J=null,Y=null,N="axial"):F===e.RADIAL?(G=[M[0],M[1]],W=[M[3],M[4]],J=M[2],Y=M[5],N="radial"):(0,n.unreachable)(`getPattern type unknown: ${F}`),["RadialAxial",N,this.bbox,this.colorStops,G,W,J,Y]}}class P{constructor(M,F){this.stream=M,this.context=F,this.buffer=0,this.bufferLength=0;const N=F.numComps;this.tmpCompsBuf=new Float32Array(N);const G=F.colorSpace.numComps;this.tmpCsCompsBuf=F.colorFn?new Float32Array(G):this.tmpCompsBuf}get hasData(){if(this.stream.end)return this.stream.pos0)return!0;const M=this.stream.getByte();return M<0?!1:(this.buffer=M,this.bufferLength=8,!0)}readBits(M){let F=this.buffer,N=this.bufferLength;if(M===32){if(N===0)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;F=F<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();const G=this.stream.getByte();return this.buffer=G&(1<>N)>>>0}if(M===8&&N===0)return this.stream.getByte();for(;N>N}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const M=this.context.bitsPerCoordinate,F=this.readBits(M),N=this.readBits(M),G=this.context.decode,W=M<32?1/((1<Y?Y:M,F=F>V?V:F,N=N{Object.defineProperty(a,"__esModule",{value:!0}),a.getXfaFontDict=l,a.getXfaFontName=S;var n=g(177),c=g(130),R=g(178),v=g(179),e=g(180),L=g(181),O=g(131),B=g(163);const P=(0,O.getLookupTableFactory)(function(y){y["MyriadPro-Regular"]=y["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:e.MyriadProRegularFactors,baseWidths:v.LiberationSansRegularWidths,baseMapping:v.LiberationSansRegularMapping,metrics:e.MyriadProRegularMetrics},y["MyriadPro-Bold"]=y["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:e.MyriadProBoldFactors,baseWidths:v.LiberationSansBoldWidths,baseMapping:v.LiberationSansBoldMapping,metrics:e.MyriadProBoldMetrics},y["MyriadPro-It"]=y["MyriadPro-Italic"]=y["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:e.MyriadProItalicFactors,baseWidths:v.LiberationSansItalicWidths,baseMapping:v.LiberationSansItalicMapping,metrics:e.MyriadProItalicMetrics},y["MyriadPro-BoldIt"]=y["MyriadPro-BoldItalic"]=y["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:e.MyriadProBoldItalicFactors,baseWidths:v.LiberationSansBoldItalicWidths,baseMapping:v.LiberationSansBoldItalicMapping,metrics:e.MyriadProBoldItalicMetrics},y.ArialMT=y.Arial=y["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:v.LiberationSansRegularWidths,baseMapping:v.LiberationSansRegularMapping},y["Arial-BoldMT"]=y["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:v.LiberationSansBoldWidths,baseMapping:v.LiberationSansBoldMapping},y["Arial-ItalicMT"]=y["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:v.LiberationSansItalicWidths,baseMapping:v.LiberationSansItalicMapping},y["Arial-BoldItalicMT"]=y["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:v.LiberationSansBoldItalicWidths,baseMapping:v.LiberationSansBoldItalicMapping},y["Calibri-Regular"]={name:"LiberationSans-Regular",factors:n.CalibriRegularFactors,baseWidths:v.LiberationSansRegularWidths,baseMapping:v.LiberationSansRegularMapping,metrics:n.CalibriRegularMetrics},y["Calibri-Bold"]={name:"LiberationSans-Bold",factors:n.CalibriBoldFactors,baseWidths:v.LiberationSansBoldWidths,baseMapping:v.LiberationSansBoldMapping,metrics:n.CalibriBoldMetrics},y["Calibri-Italic"]={name:"LiberationSans-Italic",factors:n.CalibriItalicFactors,baseWidths:v.LiberationSansItalicWidths,baseMapping:v.LiberationSansItalicMapping,metrics:n.CalibriItalicMetrics},y["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:n.CalibriBoldItalicFactors,baseWidths:v.LiberationSansBoldItalicWidths,baseMapping:v.LiberationSansBoldItalicMapping,metrics:n.CalibriBoldItalicMetrics},y["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:L.SegoeuiRegularFactors,baseWidths:v.LiberationSansRegularWidths,baseMapping:v.LiberationSansRegularMapping,metrics:L.SegoeuiRegularMetrics},y["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:L.SegoeuiBoldFactors,baseWidths:v.LiberationSansBoldWidths,baseMapping:v.LiberationSansBoldMapping,metrics:L.SegoeuiBoldMetrics},y["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:L.SegoeuiItalicFactors,baseWidths:v.LiberationSansItalicWidths,baseMapping:v.LiberationSansItalicMapping,metrics:L.SegoeuiItalicMetrics},y["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:L.SegoeuiBoldItalicFactors,baseWidths:v.LiberationSansBoldItalicWidths,baseMapping:v.LiberationSansBoldItalicMapping,metrics:L.SegoeuiBoldItalicMetrics},y["Helvetica-Regular"]=y.Helvetica={name:"LiberationSans-Regular",factors:R.HelveticaRegularFactors,baseWidths:v.LiberationSansRegularWidths,baseMapping:v.LiberationSansRegularMapping,metrics:R.HelveticaRegularMetrics},y["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:R.HelveticaBoldFactors,baseWidths:v.LiberationSansBoldWidths,baseMapping:v.LiberationSansBoldMapping,metrics:R.HelveticaBoldMetrics},y["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:R.HelveticaItalicFactors,baseWidths:v.LiberationSansItalicWidths,baseMapping:v.LiberationSansItalicMapping,metrics:R.HelveticaItalicMetrics},y["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:R.HelveticaBoldItalicFactors,baseWidths:v.LiberationSansBoldItalicWidths,baseMapping:v.LiberationSansBoldItalicMapping,metrics:R.HelveticaBoldItalicMetrics}});function S(y){const D=(0,B.normalizeFontName)(y);return P()[D]}function _(y){const D=S(y);if(!D)return null;const{baseWidths:M,baseMapping:F,factors:N}=D;let G;N?G=M.map((V,H)=>V*N[H]):G=M;let W=-2,J;const Y=[];for(const[V,H]of F.map((z,X)=>[z,X]).sort((z,X)=>{let[q]=z,[$]=X;return q-$}))V!==-1&&(V===W+1?(J.push(G[H]),W+=1):(W=V,J=[G[H]],Y.push(V,J)));return Y}function l(y){const D=_(y),M=new c.Dict(null);M.set("BaseFont",c.Name.get(y)),M.set("Type",c.Name.get("Font")),M.set("Subtype",c.Name.get("CIDFontType2")),M.set("Encoding",c.Name.get("Identity-H")),M.set("CIDToGIDMap",c.Name.get("Identity")),M.set("W",D),M.set("FirstChar",D[0]),M.set("LastChar",D.at(-2)+D.at(-1).length-1);const F=new c.Dict(null);M.set("FontDescriptor",F);const N=new c.Dict(null);return N.set("Ordering","Identity"),N.set("Registry","Adobe"),N.set("Supplement",0),M.set("CIDSystemInfo",N),M}},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CalibriRegularMetrics=a.CalibriRegularFactors=a.CalibriItalicMetrics=a.CalibriItalicFactors=a.CalibriBoldMetrics=a.CalibriBoldItalicMetrics=a.CalibriBoldItalicFactors=a.CalibriBoldFactors=void 0;const g=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.CalibriBoldFactors=g;const n={lineHeight:1.2207,lineGap:.2207};a.CalibriBoldMetrics=n;const c=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.CalibriBoldItalicFactors=c;const R={lineHeight:1.2207,lineGap:.2207};a.CalibriBoldItalicMetrics=R;const v=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.CalibriItalicFactors=v;const e={lineHeight:1.2207,lineGap:.2207};a.CalibriItalicMetrics=e;const L=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1];a.CalibriRegularFactors=L;const O={lineHeight:1.2207,lineGap:.2207};a.CalibriRegularMetrics=O},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.HelveticaRegularMetrics=a.HelveticaRegularFactors=a.HelveticaItalicMetrics=a.HelveticaItalicFactors=a.HelveticaBoldMetrics=a.HelveticaBoldItalicMetrics=a.HelveticaBoldItalicFactors=a.HelveticaBoldFactors=void 0;const g=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];a.HelveticaBoldFactors=g;const n={lineHeight:1.2,lineGap:.2};a.HelveticaBoldMetrics=n;const c=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];a.HelveticaBoldItalicFactors=c;const R={lineHeight:1.35,lineGap:.2};a.HelveticaBoldItalicMetrics=R;const v=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];a.HelveticaItalicFactors=v;const e={lineHeight:1.35,lineGap:.2};a.HelveticaItalicMetrics=e;const L=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.HelveticaRegularFactors=L;const O={lineHeight:1.2,lineGap:.2};a.HelveticaRegularMetrics=O},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.LiberationSansRegularWidths=a.LiberationSansRegularMapping=a.LiberationSansItalicWidths=a.LiberationSansItalicMapping=a.LiberationSansBoldWidths=a.LiberationSansBoldMapping=a.LiberationSansBoldItalicWidths=a.LiberationSansBoldItalicMapping=void 0;const g=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];a.LiberationSansBoldWidths=g;const n=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];a.LiberationSansBoldMapping=n;const c=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];a.LiberationSansBoldItalicWidths=c;const R=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];a.LiberationSansBoldItalicMapping=R;const v=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];a.LiberationSansItalicWidths=v;const e=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];a.LiberationSansItalicMapping=e;const L=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];a.LiberationSansRegularWidths=L;const O=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];a.LiberationSansRegularMapping=O},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.MyriadProRegularMetrics=a.MyriadProRegularFactors=a.MyriadProItalicMetrics=a.MyriadProItalicFactors=a.MyriadProBoldMetrics=a.MyriadProBoldItalicMetrics=a.MyriadProBoldItalicFactors=a.MyriadProBoldFactors=void 0;const g=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.MyriadProBoldFactors=g;const n={lineHeight:1.2,lineGap:.2};a.MyriadProBoldMetrics=n;const c=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.MyriadProBoldItalicFactors=c;const R={lineHeight:1.2,lineGap:.2};a.MyriadProBoldItalicMetrics=R;const v=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.MyriadProItalicFactors=v;const e={lineHeight:1.2,lineGap:.2};a.MyriadProItalicMetrics=e;const L=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.MyriadProRegularFactors=L;const O={lineHeight:1.2,lineGap:.2};a.MyriadProRegularMetrics=O},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.SegoeuiRegularMetrics=a.SegoeuiRegularFactors=a.SegoeuiItalicMetrics=a.SegoeuiItalicFactors=a.SegoeuiBoldMetrics=a.SegoeuiBoldItalicMetrics=a.SegoeuiBoldItalicFactors=a.SegoeuiBoldFactors=void 0;const g=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.SegoeuiBoldFactors=g;const n={lineHeight:1.33008,lineGap:0};a.SegoeuiBoldMetrics=n;const c=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.SegoeuiBoldItalicFactors=c;const R={lineHeight:1.33008,lineGap:0};a.SegoeuiBoldItalicMetrics=R;const v=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];a.SegoeuiItalicFactors=v;const e={lineHeight:1.33008,lineGap:0};a.SegoeuiItalicMetrics=e;const L=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1];a.SegoeuiRegularFactors=L;const O={lineHeight:1.33008,lineGap:0};a.SegoeuiRegularMetrics=O},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PostScriptEvaluator=a.PostScriptCompiler=a.PDFFunctionFactory=void 0,a.isPDFFunction=P;var n=g(130),c=g(2),R=g(183),v=g(132),e=g(184);class L{constructor(q){let{xref:$,isEvalSupported:fe=!0}=q;this.xref=$,this.isEvalSupported=fe!==!1}create(q){const $=this.getCached(q);if($)return $;const fe=B.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:q instanceof n.Ref?this.xref.fetch(q):q});return this._cache(q,fe),fe}createFromArray(q){const $=this.getCached(q);if($)return $;const fe=B.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:q instanceof n.Ref?this.xref.fetch(q):q});return this._cache(q,fe),fe}getCached(q){let $;if(q instanceof n.Ref?$=q:q instanceof n.Dict?$=q.objId:q instanceof v.BaseStream&&($=q.dict&&q.dict.objId),$){const fe=this._localFunctionCache.getByRef($);if(fe)return fe}return null}_cache(q,$){if(!$)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');let fe;q instanceof n.Ref?fe=q:q instanceof n.Dict?fe=q.objId:q instanceof v.BaseStream&&(fe=q.dict&&q.dict.objId),fe&&this._localFunctionCache.set(null,fe,$)}get _localFunctionCache(){return(0,c.shadow)(this,"_localFunctionCache",new e.LocalFunctionCache)}}a.PDFFunctionFactory=L;function O(X){if(!Array.isArray(X))return null;const q=X.length;for(let $=0;$>ce)*Z,de&=(1<qe?Fe=qe:Fe0&&(pe=ce[oe-1]);let xe=ie[1];oe>1,ae=Te.length>>1,he=new _(de),we=Object.create(null);let ye=2048*4;const se=new Float32Array(ae);return function(Ce,oe,pe,xe){let Ne,ke,De="";const Fe=se;for(Ne=0;NeEe&&(ke=Ee)),qe[Ne]=ke}ye>0&&(ye--,we[De]=qe),pe.set(qe,xe)}}}function P(X){let q;if(typeof X!="object")return!1;if(X instanceof n.Dict)q=X;else if(X instanceof v.BaseStream)q=X.dict;else return!1;return q.has("FunctionType")}class S{static get MAX_STACK_SIZE(){return(0,c.shadow)(this,"MAX_STACK_SIZE",100)}constructor(q){this.stack=q?Array.prototype.slice.call(q,0):[]}push(q){if(this.stack.length>=S.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(q)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(q){if(this.stack.length+q>=S.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");const $=this.stack;for(let fe=$.length-q,Q=q-1;Q>=0;Q--,fe++)$.push($[fe])}index(q){this.push(this.stack[this.stack.length-q-1])}roll(q,$){const fe=this.stack,Q=fe.length-q,ie=fe.length-1,Te=Q+($-Math.floor($/q)*q);for(let me=Q,K=ie;me0?$.push(me<>K);break;case"ceiling":me=$.pop(),$.push(Math.ceil(me));break;case"copy":me=$.pop(),$.copy(me);break;case"cos":me=$.pop(),$.push(Math.cos(me));break;case"cvi":me=$.pop()|0,$.push(me);break;case"cvr":break;case"div":K=$.pop(),me=$.pop(),$.push(me/K);break;case"dup":$.copy(1);break;case"eq":K=$.pop(),me=$.pop(),$.push(me===K);break;case"exch":$.roll(2,1);break;case"exp":K=$.pop(),me=$.pop(),$.push(me**K);break;case"false":$.push(!1);break;case"floor":me=$.pop(),$.push(Math.floor(me));break;case"ge":K=$.pop(),me=$.pop(),$.push(me>=K);break;case"gt":K=$.pop(),me=$.pop(),$.push(me>K);break;case"idiv":K=$.pop(),me=$.pop(),$.push(me/K|0);break;case"index":me=$.pop(),$.index(me);break;case"le":K=$.pop(),me=$.pop(),$.push(me<=K);break;case"ln":me=$.pop(),$.push(Math.log(me));break;case"log":me=$.pop(),$.push(Math.log(me)/Math.LN10);break;case"lt":K=$.pop(),me=$.pop(),$.push(me=q?new D(q):X.max<=q?X:new F(X,q)}class z{compile(q,$,fe){const Q=[],ie=[],Te=$.length>>1,me=fe.length>>1;let K=0,ce,de,Z,ae,he,we,_e,ye;for(let Ie=0;Ieoe.min&&(ke.unshift("Math.max(",xe,", "),ke.push(")")),Ne{Object.defineProperty(a,"__esModule",{value:!0}),a.PostScriptParser=a.PostScriptLexer=void 0;var n=g(2),c=g(130),R=g(131);class v{constructor(P){this.lexer=P,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(P){return this.token.type===P?(this.nextToken(),!0):!1}expect(P){if(this.accept(P))return!0;throw new n.FormatError(`Unexpected symbol: found ${this.token.type} expected ${P}.`)}parse(){return this.nextToken(),this.expect(e.LBRACE),this.parseBlock(),this.expect(e.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(e.NUMBER))this.operators.push(this.prev.value);else if(this.accept(e.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(e.LBRACE))this.parseCondition();else return}parseCondition(){const P=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(e.RBRACE),this.accept(e.IF))this.operators[P]=this.operators.length,this.operators[P+1]="jz";else if(this.accept(e.LBRACE)){const S=this.operators.length;this.operators.push(null,null);const _=this.operators.length;this.parseBlock(),this.expect(e.RBRACE),this.expect(e.IFELSE),this.operators[S]=this.operators.length,this.operators[S+1]="j",this.operators[P]=_,this.operators[P+1]="jz"}else throw new n.FormatError("PS Function: error parsing conditional.")}}a.PostScriptParser=v;const e={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class L{static get opCache(){return(0,n.shadow)(this,"opCache",Object.create(null))}constructor(P,S){this.type=P,this.value=S}static getOperator(P){const S=L.opCache[P];return S||(L.opCache[P]=new L(e.OPERATOR,P))}static get LBRACE(){return(0,n.shadow)(this,"LBRACE",new L(e.LBRACE,"{"))}static get RBRACE(){return(0,n.shadow)(this,"RBRACE",new L(e.RBRACE,"}"))}static get IF(){return(0,n.shadow)(this,"IF",new L(e.IF,"IF"))}static get IFELSE(){return(0,n.shadow)(this,"IFELSE",new L(e.IFELSE,"IFELSE"))}}class O{constructor(P){this.stream=P,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let P=!1,S=this.currentChar;for(;;){if(S<0)return c.EOF;if(P)(S===10||S===13)&&(P=!1);else if(S===37)P=!0;else if(!(0,R.isWhiteSpace)(S))break;S=this.nextChar()}switch(S|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new L(e.NUMBER,this.getNumber());case 123:return this.nextChar(),L.LBRACE;case 125:return this.nextChar(),L.RBRACE}const _=this.strBuf;for(_.length=0,_[0]=String.fromCharCode(S);(S=this.nextChar())>=0&&(S>=65&&S<=90||S>=97&&S<=122);)_.push(String.fromCharCode(S));const l=_.join("");switch(l.toLowerCase()){case"if":return L.IF;case"ifelse":return L.IFELSE;default:return L.getOperator(l)}}getNumber(){let P=this.currentChar;const S=this.strBuf;for(S.length=0,S[0]=String.fromCharCode(P);(P=this.nextChar())>=0&&(P>=48&&P<=57||P===45||P===46);)S.push(String.fromCharCode(P));const _=parseFloat(S.join(""));if(isNaN(_))throw new n.FormatError(`Invalid floating point number: ${_}`);return _}}a.PostScriptLexer=O},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.LocalTilingPatternCache=a.LocalImageCache=a.LocalGStateCache=a.LocalFunctionCache=a.LocalColorSpaceCache=a.GlobalImageCache=void 0;var n=g(2),c=g(130);class R{constructor(_){this.constructor===R&&(0,n.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=(_&&_.onlyRefs)===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new c.RefSetCache}getByName(_){this._onlyRefs&&(0,n.unreachable)("Should not call `getByName` method.");const l=this._nameRefMap.get(_);return l?this.getByRef(l):this._imageMap.get(_)||null}getByRef(_){return this._imageCache.get(_)||null}set(_,l,y){(0,n.unreachable)("Abstract method `set` called.")}}class v extends R{set(_){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=arguments.length>2?arguments[2]:void 0;if(typeof _!="string")throw new Error('LocalImageCache.set - expected "name" argument.');if(l){if(this._imageCache.has(l))return;this._nameRefMap.set(_,l),this._imageCache.put(l,y);return}this._imageMap.has(_)||this._imageMap.set(_,y)}}a.LocalImageCache=v;class e extends R{set(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=arguments.length>2?arguments[2]:void 0;if(typeof _!="string"&&!l)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(l){if(this._imageCache.has(l))return;_!==null&&this._nameRefMap.set(_,l),this._imageCache.put(l,y);return}this._imageMap.has(_)||this._imageMap.set(_,y)}}a.LocalColorSpaceCache=e;class L extends R{constructor(_){super({onlyRefs:!0})}set(){let _=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;if(!_)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(_)||this._imageCache.put(_,l)}}a.LocalFunctionCache=L;class O extends R{set(_){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=arguments.length>2?arguments[2]:void 0;if(typeof _!="string")throw new Error('LocalGStateCache.set - expected "name" argument.');if(l){if(this._imageCache.has(l))return;this._nameRefMap.set(_,l),this._imageCache.put(l,y);return}this._imageMap.has(_)||this._imageMap.set(_,y)}}a.LocalGStateCache=O;class B extends R{constructor(_){super({onlyRefs:!0})}set(){let _=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;if(!_)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(_)||this._imageCache.put(_,l)}}a.LocalTilingPatternCache=B;class P{static get NUM_PAGES_THRESHOLD(){return(0,n.shadow)(this,"NUM_PAGES_THRESHOLD",2)}static get MIN_IMAGES_TO_CACHE(){return(0,n.shadow)(this,"MIN_IMAGES_TO_CACHE",10)}static get MAX_BYTE_SIZE(){return(0,n.shadow)(this,"MAX_BYTE_SIZE",4e7)}constructor(){this._refCache=new c.RefSetCache,this._imageCache=new c.RefSetCache}get _byteSize(){let _=0;for(const l of this._imageCache)_+=l.byteSize;return _}get _cacheLimitReached(){return!(this._imageCache.size0&&arguments[0]!==void 0?arguments[0]:!1)||this._refCache.clear(),this._imageCache.clear()}}a.GlobalImageCache=P},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.bidi=l;var n=g(2);const c=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],R=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function v(y){return(y&1)!==0}function e(y){return(y&1)===0}function L(y,D,M){let F,N;for(F=D,N=y.length;F2&&arguments[2]!==void 0?arguments[2]:!1,F="ltr";return M?F="ttb":D||(F="rtl"),{str:y,dir:F}}const S=[],_=[];function l(y){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,F=!0;const N=y.length;if(N===0||M)return P(y,F,M);S.length=N,_.length=N;let G=0,W,J;for(W=0;W4?(F=!0,D=0):(F=!1,D=1));const Y=[];for(W=0;W=0&&_[ie]==="ET";--ie)_[ie]="EN";for(let ie=W+1;ie0&&(Te=_[W-1]);let me=z;ie+1Q&&v(Q)&&(fe=Q);for(Q=$;Q>=fe;--Q){let ie=-1;for(W=0,J=Y.length;W=0&&(B(S,ie,W),ie=-1):ie<0&&(ie=W);ie>=0&&B(S,ie,Y.length)}for(W=0,J=S.length;W")&&(S[W]="")}return P(S.join(""),F)}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.MurmurHash3_64=void 0;var n=g(2);const c=3285377520,R=4294901760,v=65535;class e{constructor(O){this.h1=O?O&4294967295:c,this.h2=O?O&4294967295:c}update(O){let B,P;if(typeof O=="string"){B=new Uint8Array(O.length*2),P=0;for(let Y=0,V=O.length;Y>>8,B[P++]=H&255)}}else if((0,n.isArrayBuffer)(O))B=O.slice(),P=B.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");const S=P>>2,_=P-S*4,l=new Uint32Array(B.buffer,0,S);let y=0,D=0,M=this.h1,F=this.h2;const N=3432918353,G=461845907,W=N&v,J=G&v;for(let Y=0;Y>>17,y=y*G&R|y*J&v,M^=y,M=M<<13|M>>>19,M=M*5+3864292196):(D=l[Y],D=D*N&R|D*W&v,D=D<<15|D>>>17,D=D*G&R|D*J&v,F^=D,F=F<<13|F>>>19,F=F*5+3864292196);switch(y=0,_){case 3:y^=B[S*4+2]<<16;case 2:y^=B[S*4+1]<<8;case 1:y^=B[S*4],y=y*N&R|y*W&v,y=y<<15|y>>>17,y=y*G&R|y*J&v,S&1?M^=y:F^=y}this.h1=M,this.h2=F}hexdigest(){let O=this.h1,B=this.h2;O^=B>>>1,O=O*3981806797&R|O*36045&v,B=B*4283543511&R|((B<<16|O>>>16)*2950163797&R)>>>16,O^=B>>>1,O=O*444984403&R|O*60499&v,B=B*3301882366&R|((B<<16|O>>>16)*3120437893&R)>>>16,O^=B>>>1;const P=(O>>>0).toString(16),S=(B>>>0).toString(16);return P.padStart(8,"0")+S.padStart(8,"0")}}a.MurmurHash3_64=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.OperatorList=void 0;var n=g(2);function c(O,B,P,S,_){let l=O;for(let y=0,D=B.length-1;y1e3&&(Y=Math.max(Y,z),X+=H+2,z=0,H=0),V.push({transform:Te,x:z,y:X,w:me.width,h:me.height}),z+=me.width+2,H=Math.max(H,me.height)}const q=Math.max(Y,z)+1,$=X+H+1,fe=new Uint8Array(q*$*4),Q=q<<2;for(let ie=0;ie=0;)Te[ce-4]=Te[ce],Te[ce-3]=Te[ce+1],Te[ce-2]=Te[ce+2],Te[ce-1]=Te[ce+3],Te[ce+me]=Te[ce+me-4],Te[ce+me+1]=Te[ce+me-3],Te[ce+me+2]=Te[ce+me-2],Te[ce+me+3]=Te[ce+me-1],ce-=Q}return D.splice(N,J*4,n.OPS.paintInlineImageXObjectGroup),M.splice(N,J*4,[{width:q,height:$,kind:n.ImageKind.RGBA_32BPP,data:fe},V]),N+1}),c(R,[n.OPS.save,n.OPS.transform,n.OPS.paintImageMaskXObject,n.OPS.restore],null,function(B,P){const S=B.fnArray,_=B.iCurr-3,l=(P-_)%4;switch(l){case 0:return S[P]===n.OPS.save;case 1:return S[P]===n.OPS.transform;case 2:return S[P]===n.OPS.paintImageMaskXObject;case 3:return S[P]===n.OPS.restore}throw new Error(`iterateImageMaskGroup - invalid pos: ${l}`)},function(B,P){const y=B.fnArray,D=B.argsArray,M=B.iCurr,F=M-3,N=M-2,G=M-1;let W=Math.floor((P-F)/4);if(W<10)return P-(P-F)%4;let J=!1,Y,V;const H=D[G][0],z=D[N][0],X=D[N][1],q=D[N][2],$=D[N][3];if(X===q){J=!0,Y=N+4;let fe=G+4;for(let Q=1;Q=4&&_[D-4]===_[M]&&_[D-3]===_[F]&&_[D-2]===_[N]&&_[D-1]===_[G]&&l[D-4][0]===W&&l[D-4][1]===J&&(Y++,V-=5);let H=V+4;for(let z=1;z=S)break}if(_=(_||R)[B[P]],!_||Array.isArray(_)){P++;continue}if(y.iCurr=P,P++,_.checkFn&&!(0,_.checkFn)(y)){_=null;continue}l=_,_=null}this.state=_,this.match=l,this.lastProcessed=P}flush(){for(;this.match;){const B=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,B),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}}class L{static get CHUNK_SIZE(){return(0,n.shadow)(this,"CHUNK_SIZE",1e3)}static get CHUNK_SIZE_ABOUT(){return(0,n.shadow)(this,"CHUNK_SIZE_ABOUT",this.CHUNK_SIZE-5)}constructor(){let B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,P=arguments.length>1?arguments[1]:void 0;this._streamSink=P,this.fnArray=[],this.argsArray=[],P&&!(B&n.RenderingIntentFlag.OPLIST)?this.optimizer=new e(this):this.optimizer=new v(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=P?null:Promise.resolve()}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(B,P){this.optimizer.push(B,P),this.weight++,this._streamSink&&(this.weight>=L.CHUNK_SIZE?this.flush():this.weight>=L.CHUNK_SIZE_ABOUT&&(B===n.OPS.restore||B===n.OPS.endText)&&this.flush())}addImageOps(B,P,S){S!==void 0&&this.addOp(n.OPS.beginMarkedContentProps,["OC",S]),this.addOp(B,P),S!==void 0&&this.addOp(n.OPS.endMarkedContent,[])}addDependency(B){this.dependencies.has(B)||(this.dependencies.add(B),this.addOp(n.OPS.dependency,[B]))}addDependencies(B){for(const P of B)this.addDependency(P)}addOpList(B){if(!(B instanceof L)){(0,n.warn)('addOpList - ignoring invalid "opList" parameter.');return}for(const P of B.dependencies)this.dependencies.add(P);for(let P=0,S=B.length;P0&&arguments[0]!==void 0?arguments[0]:!1,P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.optimizer.flush();const S=this.length;this._totalLength+=S,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:B,separateAnnots:P,length:S},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}a.OperatorList=L},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFImage=void 0;var n=g(2),c=g(189),R=g(132),v=g(139),e=g(144),L=g(152),O=g(155),B=g(130);function P(l,y,D,M){return l=y+l*D,l<0?l=0:l>M&&(l=M),l}function S(l,y,D,M,F,N){const G=F*N;let W;y<=8?W=new Uint8Array(G):y<=16?W=new Uint16Array(G):W=new Uint32Array(G);const J=D/F,Y=M/N;let V,H,z,X=0,q;const $=new Uint16Array(F),fe=D;for(V=0;V0&&Number.isInteger(F.height)&&F.height>0&&(F.width!==q||F.height!==$)&&((0,n.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),q=F.width,$=F.height),q<1||$<1)throw new n.FormatError(`Invalid image width: ${q} or height: ${$}`);this.width=q,this.height=$,this.interpolate=H.get("I","Interpolate"),this.imageMask=H.get("IM","ImageMask")||!1,this.matte=H.get("Matte")||!1;let fe=F.bitsPerComponent;if(!fe&&(fe=H.get("BPC","BitsPerComponent"),!fe))if(this.imageMask)fe=1;else throw new n.FormatError(`Bits per component missing in image: ${this.imageMask}`);if(this.bpc=fe,!this.imageMask){let Q=H.getRaw("CS")||H.getRaw("ColorSpace");if(!Q)switch((0,n.info)("JPX images (which do not require color spaces)"),F.numComps){case 1:Q=B.Name.get("DeviceGray");break;case 3:Q=B.Name.get("DeviceRGB");break;case 4:Q=B.Name.get("DeviceCMYK");break;default:throw new Error(`JPX images with ${F.numComps} color components not supported.`)}this.colorSpace=v.ColorSpace.parse({cs:Q,xref:D,resources:N?M:null,pdfFunctionFactory:Y,localColorSpaceCache:V}),this.numComps=this.colorSpace.numComps}if(this.decode=H.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,fe)||J&&!v.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const Q=(1<>3)*F,Y=D.byteLength,V=J===Y;let H,z;if(N&&(!G||V)?H=D:G?(H=new Uint8Array(J),H.set(D),H.fill(255,Y)):H=new Uint8Array(D),G)for(z=0;z>7&1,J[H+1]=X>>6&1,J[H+2]=X>>5&1,J[H+3]=X>>4&1,J[H+4]=X>>3&1,J[H+5]=X>>2&1,J[H+6]=X>>1&1,J[H+7]=X&1,H+=8;if(H>=1}}else{let q=0;for(X=0,H=0,z=G;H>$;fe<0?fe=0:fe>V&&(fe=V),J[H]=fe,X&=(1<<$)-1,q=$}}return J}fillOpacity(y,D,M,F,N){const G=this.smask,W=this.mask;let J,Y,V,H,z,X;if(G)Y=G.width,V=G.height,J=new Uint8ClampedArray(Y*V),G.fillGrayBuffer(J),(Y!==D||V!==M)&&(J=S(J,G.bpc,Y,V,D,M));else if(W)if(W instanceof _){for(Y=W.width,V=W.height,J=new Uint8ClampedArray(Y*V),W.numComps=1,W.fillGrayBuffer(J),H=0,z=Y*V;HW[ie+1]){$=255;break}}J[H]=$}}else throw new n.FormatError("Unknown mask format.");if(J)for(H=0,X=3,z=D*F;H0&&arguments[0]!==void 0?arguments[0]:!1;const D=this.drawWidth,M=this.drawHeight,F={width:D,height:M,interpolate:this.interpolate,kind:0,data:null},N=this.numComps,G=this.width,W=this.height,J=this.bpc,Y=G*N*J+7>>3;if(!y){let $;if(this.colorSpace.name==="DeviceGray"&&J===1?$=n.ImageKind.GRAYSCALE_1BPP:this.colorSpace.name==="DeviceRGB"&&J===8&&!this.needsDecode&&($=n.ImageKind.RGB_24BPP),$&&!this.smask&&!this.mask&&D===G&&M===W){if(F.kind=$,F.data=this.getImageBytes(W*Y,{}),this.needsDecode){(0,n.assert)($===n.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const fe=F.data;for(let Q=0,ie=fe.length;Q>3,W=this.getImageBytes(F*G,{internal:!0}),J=this.getComponents(W);let Y,V;if(N===1){if(V=M*F,this.needsDecode)for(Y=0;Y{Object.defineProperty(a,"__esModule",{value:!0}),a.applyMaskImageData=c;var n=g(2);function c(R){let{src:v,srcPos:e=0,dest:L,destPos:O=0,width:B,height:P,inverseDecode:S=!1}=R;const _=n.FeatureTest.isLittleEndian?4278190080:255,[l,y]=S?[0,_]:[_,0],D=B>>3,M=B&7,F=v.length;L=new Uint32Array(L.buffer);for(let N=0;N{Object.defineProperty(a,"__esModule",{value:!0}),a.incrementalUpdate=N,a.writeDict=B,a.writeObject=O;var n=g(2),c=g(130),R=g(131),v=g(191),e=g(132),L=g(192);function O(G,W,J,Y){J.push(`${G.num} ${G.gen} obj +`),W instanceof c.Dict?B(W,J,Y):W instanceof e.BaseStream&&P(W,J,Y),J.push(` +endobj +`)}function B(G,W,J){W.push("<<");for(const Y of G.getKeys())W.push(` /${(0,R.escapePDFName)(Y)} `),_(G.getRaw(Y),W,J);W.push(">>")}function P(G,W,J){B(G.dict,W,J),W.push(` stream +`);let Y=G.getString();J!==null&&(Y=J.encryptString(Y)),W.push(Y,` +endstream +`)}function S(G,W,J){W.push("[");let Y=!0;for(const V of G)Y?Y=!1:W.push(" "),_(V,W,J);W.push("]")}function _(G,W,J){G instanceof c.Name?W.push(`/${(0,R.escapePDFName)(G.name)}`):G instanceof c.Ref?W.push(`${G.num} ${G.gen} R`):Array.isArray(G)?S(G,W,J):typeof G=="string"?(J!==null&&(G=J.encryptString(G)),W.push(`(${(0,n.escapeString)(G)})`)):typeof G=="number"?W.push((0,R.numberToString)(G)):typeof G=="boolean"?W.push(G.toString()):G instanceof c.Dict?B(G,W,J):G instanceof e.BaseStream?P(G,W,J):G===null?W.push("null"):(0,n.warn)(`Unhandled value in writer: ${typeof G}, please file a bug.`)}function l(G,W,J,Y){for(let V=W+J-1;V>J-1;V--)Y[V]=G&255,G>>=8;return J+W}function y(G,W,J){for(let Y=0,V=G.length;Yq+$.length,0);for(const q of Object.values(W.info))V.push(q),H+=q.length;const z=new Uint8Array(H);let X=0;for(const q of V)y(q,X,z),X+=q.length;return(0,n.bytesToString)((0,L.calculateMD5)(z))}function M(G,W){const J=new v.SimpleXMLParser({hasAttributes:!0}).parseFromString(G);for(const{xfa:V}of W){if(!V)continue;const{path:H,value:z}=V;if(!H)continue;const X=J.documentElement.searchNode((0,R.parseXFAPath)(H),0);X?Array.isArray(z)?X.childNodes=z.map(q=>new v.SimpleDOMNode("value",q)):X.childNodes=[new v.SimpleDOMNode("#text",z)]:(0,n.warn)(`Node not found for path: ${H}`)}const Y=[];return J.documentElement.dump(Y),Y.join("")}function F(G){let{xfaData:W,xfaDatasetsRef:J,hasXfaDatasetsEntry:Y,acroFormRef:V,acroForm:H,newRefs:z,xref:X,xrefInfo:q}=G;if(X===null)return;if(!Y){if(!V){(0,n.warn)("XFA - Cannot save it");return}const Q=H.get("XFA"),ie=Q.slice();ie.splice(2,0,"datasets"),ie.splice(3,0,J),H.set("XFA",ie);const Te=X.encrypt;let me=null;Te&&(me=Te.createCipherTransform(V.num,V.gen));const K=[`${V.num} ${V.gen} obj +`];B(H,K,me),K.push(` +`),H.set("XFA",Q),z.push({ref:V,data:K.join("")})}if(W===null){const Q=X.fetchIfRef(J);W=M(Q.getString(),z)}const $=X.encrypt;$&&(W=$.createCipherTransform(J.num,J.gen).encryptString(W));const fe=`${J.num} ${J.gen} obj +<< /Type /EmbeddedFile /Length ${W.length}>> +stream +`+W+` +endstream +endobj +`;z.push({ref:J,data:fe})}function N(G){let{originalData:W,xrefInfo:J,newRefs:Y,xref:V=null,hasXfa:H=!1,xfaDatasetsRef:z=null,hasXfaDatasetsEntry:X=!1,acroFormRef:q=null,acroForm:$=null,xfaData:fe=null}=G;H&&F({xfaData:fe,xfaDatasetsRef:z,hasXfaDatasetsEntry:X,acroFormRef:q,acroForm:$,newRefs:Y,xref:V,xrefInfo:J});const Q=new c.Dict(null),ie=J.newRef;let Te,me;const K=W.at(-1);K===10||K===13?(Te=[],me=W.length):(Te=[` +`],me=W.length+1),Q.set("Size",ie.num+1),Q.set("Prev",J.startXRef),Q.set("Type",c.Name.get("XRef")),J.rootRef!==null&&Q.set("Root",J.rootRef),J.infoRef!==null&&Q.set("Info",J.infoRef),J.encryptRef!==null&&Q.set("Encrypt",J.encryptRef),Y.push({ref:ie,data:""}),Y=Y.sort((oe,pe)=>oe.ref.num-pe.ref.num);const ce=[[0,1,65535]],de=[0,1];let Z=0;for(const{ref:oe,data:pe}of Y)Z=Math.max(Z,me),ce.push([1,me,Math.min(oe.gen,65535)]),me+=pe.length,de.push(oe.num,1),Te.push(pe);if(Q.set("Index",de),Array.isArray(J.fileIds)&&J.fileIds.length>0){const oe=D(me,J);Q.set("ID",[J.fileIds[0],oe])}const he=[1,Math.ceil(Math.log2(Z)/8),2],_e=(he[0]+he[1]+he[2])*ce.length;Q.set("W",he),Q.set("Length",_e),Te.push(`${ie.num} ${ie.gen} obj +`),B(Q,Te,null),Te.push(` stream +`);const ye=Te.reduce((oe,pe)=>oe+pe.length,0),se=` +endstream +endobj +startxref +${me} +%%EOF +`,Ie=new Uint8Array(W.length+ye+_e+se.length);Ie.set(W);let Ce=W.length;for(const oe of Te)y(oe,Ce,Ie),Ce+=oe.length;for(const[oe,pe,xe]of ce)Ce=l(oe,he[0],Ce,Ie),Ce=l(pe,he[1],Ce,Ie),Ce=l(xe,he[2],Ce,Ie);return y(se,Ce,Ie),Ie}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XMLParserErrorCode=a.XMLParserBase=a.SimpleXMLParser=a.SimpleDOMNode=void 0;var n=g(131);const c={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};a.XMLParserErrorCode=c;function R(B,P){const S=B[P];return S===" "||S===` +`||S==="\r"||S===" "}function v(B){for(let P=0,S=B.length;P{if(_.substring(0,2)==="#x")return String.fromCodePoint(parseInt(_.substring(2),16));if(_.substring(0,1)==="#")return String.fromCodePoint(parseInt(_.substring(1),10));switch(_){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(_)})}_parseContent(P,S){const _=[];let l=S;function y(){for(;l"&&P[l]!=="/";)++l;const D=P.substring(S,l);for(y();l"&&P[l]!=="/"&&P[l]!=="?";){y();let M="",F="";for(;l"&&P[_]!=="?"&&P[_]!=="/";)++_;const y=P.substring(S,_);l();const D=_;for(;_");)++_;const M=P.substring(D,_);return{name:y,value:M,parsed:_-S}}parseXml(P){let S=0;for(;S",l),D<0){this.onError(c.UnterminatedElement);return}this.onEndElement(P.substring(l,D)),l=D+1;break;case"?":++l;const M=this._parseProcessingInstruction(P,l);if(P.substring(l+M.parsed,l+M.parsed+2)!=="?>"){this.onError(c.UnterminatedXmlDeclaration);return}this.onPi(M.name,M.value),l+=M.parsed+2;break;case"!":if(P.substring(l+1,l+3)==="--"){if(D=P.indexOf("-->",l+3),D<0){this.onError(c.UnterminatedComment);return}this.onComment(P.substring(l+3,D)),l=D+3}else if(P.substring(l+1,l+8)==="[CDATA["){if(D=P.indexOf("]]>",l+8),D<0){this.onError(c.UnterminatedCdat);return}this.onCdata(P.substring(l+8,D)),l=D+3}else if(P.substring(l+1,l+8)==="DOCTYPE"){const G=P.indexOf("[",l+8);let W=!1;if(D=P.indexOf(">",l+8),D<0){this.onError(c.UnterminatedDoctypeDeclaration);return}if(G>0&&D>G){if(D=P.indexOf("]>",l+8),D<0){this.onError(c.UnterminatedDoctypeDeclaration);return}W=!0}const J=P.substring(l+8,D+(W?1:0));this.onDoctype(J),l=D+(W?2:1)}else{this.onError(c.MalformedElement);return}break;default:const F=this._parseContent(P,l);if(F===null){this.onError(c.MalformedElement);return}let N=!1;if(P.substring(l+F.parsed,l+F.parsed+2)==="/>")N=!0;else if(P.substring(l+F.parsed,l+F.parsed+1)!==">"){this.onError(c.UnterminatedElement);return}this.onBeginElement(F.name,F.attributes,N),l+=F.parsed+(N?2:1);break}}else{for(;l0}searchNode(P,S){if(S>=P.length)return this;const _=P[S],l=[];let y=this;for(;;){if(_.name===y.nodeName)if(_.pos===0){const D=y.searchNode(P,S+1);if(D!==null)return D}else{if(l.length===0)return null;{const[D]=l.pop();let M=0;for(const F of D.childNodes)if(_.name===F.nodeName){if(M===_.pos)return F.searchNode(P,S+1);M++}return y.searchNode(P,S+1)}}if(y.childNodes&&y.childNodes.length!==0)l.push([y,0]),y=y.childNodes[0];else{if(l.length===0)return null;for(;l.length!==0;){const[D,M]=l.pop(),F=M+1;if(F");for(const S of this.childNodes)S.dump(P);P.push(``)}else this.nodeValue?P.push(`>${(0,n.encodeToXmlString)(this.nodeValue)}`):P.push("/>")}}a.SimpleDOMNode=L;class O extends e{constructor(P){let{hasAttributes:S=!1,lowerCaseName:_=!1}=P;super(),this._currentFragment=null,this._stack=null,this._errorCode=c.NoError,this._hasAttributes=S,this._lowerCaseName=_}parseFromString(P){if(this._currentFragment=[],this._stack=[],this._errorCode=c.NoError,this.parseXml(P),this._errorCode!==c.NoError)return;const[S]=this._currentFragment;if(S)return{documentElement:S}}onText(P){if(v(P))return;const S=new L("#text",P);this._currentFragment.push(S)}onCdata(P){const S=new L("#text",P);this._currentFragment.push(S)}onBeginElement(P,S,_){this._lowerCaseName&&(P=P.toLowerCase());const l=new L(P);l.childNodes=[],this._hasAttributes&&(l.attributes=S),this._currentFragment.push(l),!_&&(this._stack.push(this._currentFragment),this._currentFragment=l.childNodes)}onEndElement(P){this._currentFragment=this._stack.pop()||[];const S=this._currentFragment.at(-1);if(!S)return null;for(let _=0,l=S.childNodes.length;_{Object.defineProperty(a,"__esModule",{value:!0}),a.calculateSHA256=a.calculateMD5=a.PDF20=a.PDF17=a.CipherTransformFactory=a.ARCFourCipher=a.AES256Cipher=a.AES128Cipher=void 0,a.calculateSHA384=P,a.calculateSHA512=void 0;var n=g(2),c=g(130),R=g(193);class v{constructor(W){this.a=0,this.b=0;const J=new Uint8Array(256),Y=W.length;for(let V=0;V<256;++V)J[V]=V;for(let V=0,H=0;V<256;++V){const z=J[V];H=H+z+W[V%Y]&255,J[V]=J[H],J[H]=z}this.s=J}encryptBlock(W){let J=this.a,Y=this.b;const V=this.s,H=W.length,z=new Uint8Array(H);for(let X=0;X>5&255,ie[Te++]=z>>13&255,ie[Te++]=z>>21&255,ie[Te++]=z>>>29&255,ie[Te++]=0,ie[Te++]=0,ie[Te++]=0;const ce=new Int32Array(16);for(Te=0;Te>>32-Ie)|0,de=ye}X=X+de|0,q=q+Z|0,$=$+ae|0,fe=fe+he|0}return new Uint8Array([X&255,X>>8&255,X>>16&255,X>>>24&255,q&255,q>>8&255,q>>16&255,q>>>24&255,$&255,$>>8&255,$>>16&255,$>>>24&255,fe&255,fe>>8&255,fe>>16&255,fe>>>24&255])}return Y}();a.calculateMD5=e;class L{constructor(W,J){this.high=W|0,this.low=J|0}and(W){this.high&=W.high,this.low&=W.low}xor(W){this.high^=W.high,this.low^=W.low}or(W){this.high|=W.high,this.low|=W.low}shiftRight(W){W>=32?(this.low=this.high>>>W-32|0,this.high=0):(this.low=this.low>>>W|this.high<<32-W,this.high=this.high>>>W|0)}shiftLeft(W){W>=32?(this.high=this.low<>>32-W,this.low<<=W)}rotateRight(W){let J,Y;W&32?(Y=this.low,J=this.high):(J=this.low,Y=this.high),W&=31,this.low=J>>>W|Y<<32-W,this.high=Y>>>W|J<<32-W}not(){this.high=~this.high,this.low=~this.low}add(W){const J=(this.low>>>0)+(W.low>>>0);let Y=(this.high>>>0)+(W.high>>>0);J>4294967295&&(Y+=1),this.low=J|0,this.high=Y|0}copyTo(W,J){W[J]=this.high>>>24&255,W[J+1]=this.high>>16&255,W[J+2]=this.high>>8&255,W[J+3]=this.high&255,W[J+4]=this.low>>>24&255,W[J+5]=this.low>>16&255,W[J+6]=this.low>>8&255,W[J+7]=this.low&255}assign(W){this.high=W.high,this.low=W.low}}const O=function(){function W(fe,Q){return fe>>>Q|fe<<32-Q}function J(fe,Q,ie){return fe&Q^~fe&ie}function Y(fe,Q,ie){return fe&Q^fe&ie^Q&ie}function V(fe){return W(fe,2)^W(fe,13)^W(fe,22)}function H(fe){return W(fe,6)^W(fe,11)^W(fe,25)}function z(fe){return W(fe,7)^W(fe,18)^fe>>>3}function X(fe){return W(fe,17)^W(fe,19)^fe>>>10}const q=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function $(fe,Q,ie){let Te=1779033703,me=3144134277,K=1013904242,ce=2773480762,de=1359893119,Z=2600822924,ae=528734635,he=1541459225;const we=Math.ceil((ie+9)/64)*64,_e=new Uint8Array(we);let ye,se;for(ye=0;ye>>29&255,_e[ye++]=ie>>21&255,_e[ye++]=ie>>13&255,_e[ye++]=ie>>5&255,_e[ye++]=ie<<3&255;const Ce=new Uint32Array(64);for(ye=0;ye>24&255,Te>>16&255,Te>>8&255,Te&255,me>>24&255,me>>16&255,me>>8&255,me&255,K>>24&255,K>>16&255,K>>8&255,K&255,ce>>24&255,ce>>16&255,ce>>8&255,ce&255,de>>24&255,de>>16&255,de>>8&255,de&255,Z>>24&255,Z>>16&255,Z>>8&255,Z&255,ae>>24&255,ae>>16&255,ae>>8&255,ae&255,he>>24&255,he>>16&255,he>>8&255,he&255])}return $}();a.calculateSHA256=O;const B=function(){function W($,fe,Q,ie,Te){$.assign(fe),$.and(Q),Te.assign(fe),Te.not(),Te.and(ie),$.xor(Te)}function J($,fe,Q,ie,Te){$.assign(fe),$.and(Q),Te.assign(fe),Te.and(ie),$.xor(Te),Te.assign(Q),Te.and(ie),$.xor(Te)}function Y($,fe,Q){$.assign(fe),$.rotateRight(28),Q.assign(fe),Q.rotateRight(34),$.xor(Q),Q.assign(fe),Q.rotateRight(39),$.xor(Q)}function V($,fe,Q){$.assign(fe),$.rotateRight(14),Q.assign(fe),Q.rotateRight(18),$.xor(Q),Q.assign(fe),Q.rotateRight(41),$.xor(Q)}function H($,fe,Q){$.assign(fe),$.rotateRight(1),Q.assign(fe),Q.rotateRight(8),$.xor(Q),Q.assign(fe),Q.shiftRight(7),$.xor(Q)}function z($,fe,Q){$.assign(fe),$.rotateRight(19),Q.assign(fe),Q.rotateRight(61),$.xor(Q),Q.assign(fe),Q.shiftRight(6),$.xor(Q)}const X=[new L(1116352408,3609767458),new L(1899447441,602891725),new L(3049323471,3964484399),new L(3921009573,2173295548),new L(961987163,4081628472),new L(1508970993,3053834265),new L(2453635748,2937671579),new L(2870763221,3664609560),new L(3624381080,2734883394),new L(310598401,1164996542),new L(607225278,1323610764),new L(1426881987,3590304994),new L(1925078388,4068182383),new L(2162078206,991336113),new L(2614888103,633803317),new L(3248222580,3479774868),new L(3835390401,2666613458),new L(4022224774,944711139),new L(264347078,2341262773),new L(604807628,2007800933),new L(770255983,1495990901),new L(1249150122,1856431235),new L(1555081692,3175218132),new L(1996064986,2198950837),new L(2554220882,3999719339),new L(2821834349,766784016),new L(2952996808,2566594879),new L(3210313671,3203337956),new L(3336571891,1034457026),new L(3584528711,2466948901),new L(113926993,3758326383),new L(338241895,168717936),new L(666307205,1188179964),new L(773529912,1546045734),new L(1294757372,1522805485),new L(1396182291,2643833823),new L(1695183700,2343527390),new L(1986661051,1014477480),new L(2177026350,1206759142),new L(2456956037,344077627),new L(2730485921,1290863460),new L(2820302411,3158454273),new L(3259730800,3505952657),new L(3345764771,106217008),new L(3516065817,3606008344),new L(3600352804,1432725776),new L(4094571909,1467031594),new L(275423344,851169720),new L(430227734,3100823752),new L(506948616,1363258195),new L(659060556,3750685593),new L(883997877,3785050280),new L(958139571,3318307427),new L(1322822218,3812723403),new L(1537002063,2003034995),new L(1747873779,3602036899),new L(1955562222,1575990012),new L(2024104815,1125592928),new L(2227730452,2716904306),new L(2361852424,442776044),new L(2428436474,593698344),new L(2756734187,3733110249),new L(3204031479,2999351573),new L(3329325298,3815920427),new L(3391569614,3928383900),new L(3515267271,566280711),new L(3940187606,3454069534),new L(4118630271,4000239992),new L(116418474,1914138554),new L(174292421,2731055270),new L(289380356,3203993006),new L(460393269,320620315),new L(685471733,587496836),new L(852142971,1086792851),new L(1017036298,365543100),new L(1126000580,2618297676),new L(1288033470,3409855158),new L(1501505948,4234509866),new L(1607167915,987167468),new L(1816402316,1246189591)];function q($,fe,Q){let ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Te,me,K,ce,de,Z,ae,he;ie?(Te=new L(3418070365,3238371032),me=new L(1654270250,914150663),K=new L(2438529370,812702999),ce=new L(355462360,4144912697),de=new L(1731405415,4290775857),Z=new L(2394180231,1750603025),ae=new L(3675008525,1694076839),he=new L(1203062813,3204075428)):(Te=new L(1779033703,4089235720),me=new L(3144134277,2227873595),K=new L(1013904242,4271175723),ce=new L(2773480762,1595750129),de=new L(1359893119,2917565137),Z=new L(2600822924,725511199),ae=new L(528734635,4215389547),he=new L(1541459225,327033209));const we=Math.ceil((Q+17)/128)*128,_e=new Uint8Array(we);let ye,se;for(ye=0;ye>>29&255,_e[ye++]=Q>>21&255,_e[ye++]=Q>>13&255,_e[ye++]=Q>>5&255,_e[ye++]=Q<<3&255;const Ce=new Array(80);for(ye=0;ye<80;ye++)Ce[ye]=new L(0,0);let oe=new L(0,0),pe=new L(0,0),xe=new L(0,0),Ne=new L(0,0),ke=new L(0,0),De=new L(0,0),Fe=new L(0,0),Pe=new L(0,0);const qe=new L(0,0),Le=new L(0,0),Oe=new L(0,0),Ee=new L(0,0);let Ae;for(ye=0;ye=1;--X){Y=z[13],z[13]=z[9],z[9]=z[5],z[5]=z[1],z[1]=Y,Y=z[14],V=z[10],z[14]=z[6],z[10]=z[2],z[6]=Y,z[2]=V,Y=z[15],V=z[11],H=z[7],z[15]=z[3],z[11]=Y,z[7]=V,z[3]=H;for(let q=0;q<16;++q)z[q]=this._inv_s[z[q]];for(let q=0,$=X*16;q<16;++q,++$)z[q]^=J[$];for(let q=0;q<16;q+=4){const $=this._mix[z[q]],fe=this._mix[z[q+1]],Q=this._mix[z[q+2]],ie=this._mix[z[q+3]];Y=$^fe>>>8^fe<<24^Q>>>16^Q<<16^ie>>>24^ie<<8,z[q]=Y>>>24&255,z[q+1]=Y>>16&255,z[q+2]=Y>>8&255,z[q+3]=Y&255}}Y=z[13],z[13]=z[9],z[9]=z[5],z[5]=z[1],z[1]=Y,Y=z[14],V=z[10],z[14]=z[6],z[10]=z[2],z[6]=Y,z[2]=V,Y=z[15],V=z[11],H=z[7],z[15]=z[3],z[11]=Y,z[7]=V,z[3]=H;for(let X=0;X<16;++X)z[X]=this._inv_s[z[X]],z[X]^=J[X];return z}_encrypt(W,J){const Y=this._s;let V,H,z;const X=new Uint8Array(16);X.set(W);for(let q=0;q<16;++q)X[q]^=J[q];for(let q=1;q=Te;--ie)if(fe[ie]!==Q){Q=0;break}q-=Q,z[z.length-1]=fe.subarray(0,16-Q)}}const $=new Uint8Array(q);for(let fe=0,Q=0,ie=z.length;fe2&&arguments[2]!==void 0?arguments[2]:null;const V=W.length,H=this.buffer;let z=this.bufferPosition;if(Y)this.iv=Y;else{for(let X=0;z<16&&X=256&&(H=(H^27)&255));for(let ie=0;ie<4;++ie)V[fe]=z^=V[fe-32],fe++,V[fe]=X^=V[fe-32],fe++,V[fe]=q^=V[fe-32],fe++,V[fe]=$^=V[fe-32],fe++}return V}}a.AES256Cipher=y;class D{checkOwnerPassword(W,J,Y,V){const H=new Uint8Array(W.length+56);H.set(W,0),H.set(J,W.length),H.set(Y,W.length+J.length);const z=O(H,0,H.length);return(0,n.isArrayEqual)(z,V)}checkUserPassword(W,J,Y){const V=new Uint8Array(W.length+8);V.set(W,0),V.set(J,W.length);const H=O(V,0,V.length);return(0,n.isArrayEqual)(H,Y)}getOwnerKey(W,J,Y,V){const H=new Uint8Array(W.length+56);H.set(W,0),H.set(J,W.length),H.set(Y,W.length+J.length);const z=O(H,0,H.length);return new y(z).decryptBlock(V,!1,new Uint8Array(16))}getUserKey(W,J,Y){const V=new Uint8Array(W.length+8);V.set(W,0),V.set(J,W.length);const H=O(V,0,V.length);return new y(H).decryptBlock(Y,!1,new Uint8Array(16))}}a.PDF17=D;const M=function(){function W(Y,V,H){let z=O(V,0,V.length).subarray(0,32),X=[0],q=0;for(;q<64||X.at(-1)>q-32;){const $=Y.length+z.length+H.length,fe=new Uint8Array($);let Q=0;fe.set(Y,Q),Q+=Y.length,fe.set(z,Q),Q+=z.length,fe.set(H,Q);const ie=new Uint8Array($*64);for(let K=0,ce=0;K<64;K++,ce+=$)ie.set(fe,ce);X=new l(z.subarray(0,16)).encrypt(ie,z.subarray(16,32));let me=0;for(let K=0;K<16;K++)me*=256%3,me%=3,me+=(X[K]>>>0)%3,me%=3;me===0?z=O(X,0,X.length):me===1?z=P(X,0,X.length):me===2&&(z=B(X,0,X.length)),q++}return z.subarray(0,32)}class J{hash(V,H,z){return W(V,H,z)}checkOwnerPassword(V,H,z,X){const q=new Uint8Array(V.length+56);q.set(V,0),q.set(H,V.length),q.set(z,V.length+H.length);const $=W(V,q,z);return(0,n.isArrayEqual)($,X)}checkUserPassword(V,H,z){const X=new Uint8Array(V.length+8);X.set(V,0),X.set(H,V.length);const q=W(V,X,[]);return(0,n.isArrayEqual)(q,z)}getOwnerKey(V,H,z,X){const q=new Uint8Array(V.length+56);q.set(V,0),q.set(H,V.length),q.set(z,V.length+H.length);const $=W(V,q,z);return new y($).decryptBlock(X,!1,new Uint8Array(16))}getUserKey(V,H,z){const X=new Uint8Array(V.length+8);X.set(V,0),X.set(H,V.length);const q=W(V,X,[]);return new y(q).decryptBlock(z,!1,new Uint8Array(16))}}return J}();a.PDF20=M;class F{constructor(W,J){this.StringCipherConstructor=W,this.StreamCipherConstructor=J}createStream(W,J){const Y=new this.StreamCipherConstructor;return new R.DecryptStream(W,J,function(H,z){return Y.decryptBlock(H,z)})}decryptString(W){const J=new this.StringCipherConstructor;let Y=(0,n.stringToBytes)(W);return Y=J.decryptBlock(Y,!0),(0,n.bytesToString)(Y)}encryptString(W){const J=new this.StringCipherConstructor;if(J instanceof _){const H=16-W.length%16;W+=String.fromCharCode(H).repeat(H);const z=new Uint8Array(16);if(typeof crypto<"u")crypto.getRandomValues(z);else for(let $=0;$<16;$++)z[$]=Math.floor(256*Math.random());let X=(0,n.stringToBytes)(W);X=J.encrypt(X,z);const q=new Uint8Array(16+X.length);return q.set(z),q.set(X,16),(0,n.bytesToString)(q)}let Y=(0,n.stringToBytes)(W);return Y=J.encrypt(Y),(0,n.bytesToString)(Y)}}const N=function(){const W=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]);function J($,fe,Q,ie,Te,me,K,ce,de,Z,ae,he){if(fe){const _e=Math.min(127,fe.length);fe=fe.subarray(0,_e)}else fe=[];let we;return $===6?we=new M:we=new D,we.checkUserPassword(fe,ce,K)?we.getUserKey(fe,de,ae):fe.length&&we.checkOwnerPassword(fe,ie,me,Q)?we.getOwnerKey(fe,Te,me,Z):null}function Y($,fe,Q,ie,Te,me,K,ce){const de=40+Q.length+$.length,Z=new Uint8Array(de);let ae=0,he,we;if(fe)for(we=Math.min(32,fe.length);ae>8&255,Z[ae++]=Te>>16&255,Z[ae++]=Te>>>24&255,he=0,we=$.length;he=4&&!ce&&(Z[ae++]=255,Z[ae++]=255,Z[ae++]=255,Z[ae++]=255);let _e=e(Z,0,ae);const ye=K>>3;if(me>=3)for(he=0;he<50;++he)_e=e(_e,0,ye);const se=_e.subarray(0,ye);let Ie,Ce;if(me>=3){for(ae=0;ae<32;++ae)Z[ae]=W[ae];for(he=0,we=$.length;he>3;if(Q>=3)for(ce=0;ce<50;++ce)de=e(de,0,de.length);let ae,he;if(Q>=3){he=fe;const we=new Uint8Array(Z);for(ce=19;ce>=0;ce--){for(let _e=0;_e3&&arguments[3]!==void 0?arguments[3]:!1;const Te=new Uint8Array(Q.length+9),me=Q.length;let K;for(K=0;K>8&255,Te[K++]=$>>16&255,Te[K++]=fe&255,Te[K++]=fe>>8&255,ie&&(Te[K++]=115,Te[K++]=65,Te[K++]=108,Te[K++]=84),e(Te,0,K).subarray(0,Math.min(Q.length+5,16))}function X($,fe,Q,ie,Te){if(!(fe instanceof c.Name))throw new n.FormatError("Invalid crypt filter name.");const me=$.get(fe.name);let K;if(me!=null&&(K=me.get("CFM")),!K||K.name==="None")return function(){return new S};if(K.name==="V2")return function(){return new v(z(Q,ie,Te,!1))};if(K.name==="AESV2")return function(){return new l(z(Q,ie,Te,!0))};if(K.name==="AESV3")return function(){return new y(Te)};throw new n.FormatError("Unknown crypto method")}class q{constructor(fe,Q,ie){const Te=fe.get("Filter");if(!(0,c.isName)(Te,"Standard"))throw new n.FormatError("unknown encryption method");this.filterName=Te.name,this.dict=fe;const me=fe.get("V");if(!Number.isInteger(me)||me!==1&&me!==2&&me!==4&&me!==5)throw new n.FormatError("unsupported encryption algorithm");this.algorithm=me;let K=fe.get("Length");if(!K)if(me<=3)K=40;else{const se=fe.get("CF"),Ie=fe.get("StmF");if(se instanceof c.Dict&&Ie instanceof c.Name){se.suppressEncryption=!0;const Ce=se.get(Ie.name);K=Ce&&Ce.get("Length")||128,K<40&&(K<<=3)}}if(!Number.isInteger(K)||K<40||K%8!==0)throw new n.FormatError("invalid key length");const ce=(0,n.stringToBytes)(fe.get("O")).subarray(0,32),de=(0,n.stringToBytes)(fe.get("U")).subarray(0,32),Z=fe.get("P"),ae=fe.get("R"),he=(me===4||me===5)&&fe.get("EncryptMetadata")!==!1;this.encryptMetadata=he;const we=(0,n.stringToBytes)(Q);let _e;if(ie){if(ae===6)try{ie=(0,n.utf8StringToString)(ie)}catch{(0,n.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}_e=(0,n.stringToBytes)(ie)}let ye;if(me!==5)ye=Y(we,_e,ce,de,Z,ae,K,he);else{const se=(0,n.stringToBytes)(fe.get("O")).subarray(32,40),Ie=(0,n.stringToBytes)(fe.get("O")).subarray(40,48),Ce=(0,n.stringToBytes)(fe.get("U")).subarray(0,48),oe=(0,n.stringToBytes)(fe.get("U")).subarray(32,40),pe=(0,n.stringToBytes)(fe.get("U")).subarray(40,48),xe=(0,n.stringToBytes)(fe.get("OE")),Ne=(0,n.stringToBytes)(fe.get("UE"));(0,n.stringToBytes)(fe.get("Perms")),ye=J(ae,_e,ce,se,Ie,Ce,de,oe,pe,xe,Ne)}if(!ye&&!ie)throw new n.PasswordException("No password given",n.PasswordResponses.NEED_PASSWORD);if(!ye&&ie){const se=V(_e,ce,ae,K);ye=Y(we,se,ce,de,Z,ae,K,he)}if(!ye)throw new n.PasswordException("Incorrect Password",n.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=ye,me>=4){const se=fe.get("CF");se instanceof c.Dict&&(se.suppressEncryption=!0),this.cf=se,this.stmf=fe.get("StmF")||H,this.strf=fe.get("StrF")||H,this.eff=fe.get("EFF")||this.stmf}}createCipherTransform(fe,Q){if(this.algorithm===4||this.algorithm===5)return new F(X(this.cf,this.strf,fe,Q,this.encryptionKey),X(this.cf,this.stmf,fe,Q,this.encryptionKey));const ie=z(fe,Q,this.encryptionKey,!1),Te=function(){return new v(ie)};return new F(Te,Te)}}return q}();a.CipherTransformFactory=N},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.DecryptStream=void 0;var n=g(144);const c=512;class R extends n.DecodeStream{constructor(e,L,O){super(L),this.str=e,this.dict=e.dict,this.decrypt=O,this.nextChunk=null,this.initialized=!1}readBlock(){let e;if(this.initialized?e=this.nextChunk:(e=this.str.getBytes(c),this.initialized=!0),!e||e.length===0){this.eof=!0;return}this.nextChunk=this.str.getBytes(c);const L=this.nextChunk&&this.nextChunk.length>0,O=this.decrypt;e=O(e,!L);let B=this.bufferLength;const P=e.length,S=this.ensureBuffer(B+P);for(let _=0;_{Object.defineProperty(a,"__esModule",{value:!0}),a.Catalog=void 0;var n=g(131),c=g(2),R=g(130),v=g(195),e=g(132),L=g(196),O=g(139),B=g(197),P=g(184),S=g(198),_=g(199);function l(D){return D instanceof R.Dict&&(D=D.get("D")),Array.isArray(D)?D:null}class y{constructor(M,F){if(this.pdfManager=M,this.xref=F,this._catDict=F.getCatalogObj(),!(this._catDict instanceof R.Dict))throw new c.FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new R.RefSetCache,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new P.GlobalImageCache,this.pageKidsCountCache=new R.RefSetCache,this.pageIndexCache=new R.RefSetCache,this.nonBlendModesSet=new R.RefSet}get version(){const M=this._catDict.get("Version");return(0,c.shadow)(this,"version",M instanceof R.Name?M.name:null)}get lang(){const M=this._catDict.get("Lang");return(0,c.shadow)(this,"lang",typeof M=="string"?(0,c.stringToPDFString)(M):null)}get needsRendering(){const M=this._catDict.get("NeedsRendering");return(0,c.shadow)(this,"needsRendering",typeof M=="boolean"?M:!1)}get collection(){let M=null;try{const F=this._catDict.get("Collection");F instanceof R.Dict&&F.size>0&&(M=F)}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,c.shadow)(this,"collection",M)}get acroForm(){let M=null;try{const F=this._catDict.get("AcroForm");F instanceof R.Dict&&F.size>0&&(M=F)}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,c.shadow)(this,"acroForm",M)}get acroFormRef(){const M=this._catDict.getRaw("AcroForm");return(0,c.shadow)(this,"acroFormRef",M instanceof R.Ref?M:null)}get metadata(){const M=this._catDict.getRaw("Metadata");if(!(M instanceof R.Ref))return(0,c.shadow)(this,"metadata",null);let F=null;try{const N=!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata),G=this.xref.fetch(M,N);if(G instanceof e.BaseStream&&G.dict instanceof R.Dict){const W=G.dict.get("Type"),J=G.dict.get("Subtype");if((0,R.isName)(W,"Metadata")&&(0,R.isName)(J,"XML")){const Y=(0,c.stringToUTF8String)(G.getString());Y&&(F=new S.MetadataParser(Y).serializable)}}}catch(N){if(N instanceof n.MissingDataException)throw N;(0,c.info)(`Skipping invalid Metadata: "${N}".`)}return(0,c.shadow)(this,"metadata",F)}get markInfo(){let M=null;try{M=this._readMarkInfo()}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.warn)("Unable to read mark info.")}return(0,c.shadow)(this,"markInfo",M)}_readMarkInfo(){const M=this._catDict.get("MarkInfo");if(!(M instanceof R.Dict))return null;const F={Marked:!1,UserProperties:!1,Suspects:!1};for(const N in F){const G=M.get(N);typeof G=="boolean"&&(F[N]=G)}return F}get structTreeRoot(){let M=null;try{M=this._readStructTreeRoot()}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.warn)("Unable read to structTreeRoot info.")}return(0,c.shadow)(this,"structTreeRoot",M)}_readStructTreeRoot(){const M=this._catDict.get("StructTreeRoot");if(!(M instanceof R.Dict))return null;const F=new _.StructTreeRoot(M);return F.init(),F}get toplevelPagesDict(){const M=this._catDict.get("Pages");if(!(M instanceof R.Dict))throw new c.FormatError("Invalid top-level pages dictionary.");return(0,c.shadow)(this,"toplevelPagesDict",M)}get documentOutline(){let M=null;try{M=this._readDocumentOutline()}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.warn)("Unable to read document outline.")}return(0,c.shadow)(this,"documentOutline",M)}_readDocumentOutline(){let M=this._catDict.get("Outlines");if(!(M instanceof R.Dict)||(M=M.getRaw("First"),!(M instanceof R.Ref)))return null;const F={items:[]},N=[{obj:M,parent:F}],G=new R.RefSet;G.put(M);const W=this.xref,J=new Uint8ClampedArray(3);for(;N.length>0;){const Y=N.shift(),V=W.fetchIfRef(Y.obj);if(V===null)continue;if(!V.has("Title"))throw new c.FormatError("Invalid outline item encountered.");const H={url:null,dest:null};y.parseDestDictionary({destDict:V,resultObj:H,docBaseUrl:this.pdfManager.docBaseUrl});const z=V.get("Title"),X=V.get("F")||0,q=V.getArray("C"),$=V.get("Count");let fe=J;Array.isArray(q)&&q.length===3&&(q[0]!==0||q[1]!==0||q[2]!==0)&&(fe=O.ColorSpace.singletons.rgb.getRgb(q,0));const Q={dest:H.dest,url:H.url,unsafeUrl:H.unsafeUrl,newWindow:H.newWindow,title:(0,c.stringToPDFString)(z),color:fe,count:Number.isInteger($)?$:void 0,bold:!!(X&2),italic:!!(X&1),items:[]};Y.parent.items.push(Q),M=V.getRaw("First"),M instanceof R.Ref&&!G.has(M)&&(N.push({obj:M,parent:Q}),G.put(M)),M=V.getRaw("Next"),M instanceof R.Ref&&!G.has(M)&&(N.push({obj:M,parent:Y.parent}),G.put(M))}return F.items.length>0?F.items:null}get permissions(){let M=null;try{M=this._readPermissions()}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.warn)("Unable to read permissions.")}return(0,c.shadow)(this,"permissions",M)}_readPermissions(){const M=this.xref.trailer.get("Encrypt");if(!(M instanceof R.Dict))return null;let F=M.get("P");if(typeof F!="number")return null;F+=4294967296;const N=[];for(const G in c.PermissionFlag){const W=c.PermissionFlag[G];F&W&&N.push(W)}return N}get optionalContentConfig(){let M=null;try{const F=this._catDict.get("OCProperties");if(!F)return(0,c.shadow)(this,"optionalContentConfig",null);const N=F.get("D");if(!N)return(0,c.shadow)(this,"optionalContentConfig",null);const G=F.get("OCGs");if(!Array.isArray(G))return(0,c.shadow)(this,"optionalContentConfig",null);const W=[],J=[];for(const Y of G){if(!(Y instanceof R.Ref))continue;J.push(Y);const V=this.xref.fetchIfRef(Y);W.push({id:Y.toString(),name:typeof V.get("Name")=="string"?(0,c.stringToPDFString)(V.get("Name")):null,intent:typeof V.get("Intent")=="string"?(0,c.stringToPDFString)(V.get("Intent")):null})}M=this._readOptionalContentConfig(N,J),M.groups=W}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.warn)(`Unable to read optional content config: ${F}`)}return(0,c.shadow)(this,"optionalContentConfig",M)}_readOptionalContentConfig(M,F){function N(H){const z=[];if(Array.isArray(H))for(const X of H)X instanceof R.Ref&&F.includes(X)&&z.push(X.toString());return z}function G(H){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!Array.isArray(H))return null;const X=[];for(const $ of H){if($ instanceof R.Ref&&F.includes($)){Y.put($),X.push($.toString());continue}const fe=W($,z);fe&&X.push(fe)}if(z>0)return X;const q=[];for(const $ of F)Y.has($)||q.push($.toString());return q.length&&X.push({name:null,order:q}),X}function W(H,z){if(++z>V)return(0,c.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;const X=J.fetchIfRef(H);if(!Array.isArray(X))return null;const q=J.fetchIfRef(X[0]);if(typeof q!="string")return null;const $=G(X.slice(1),z);return!$||!$.length?null:{name:(0,c.stringToPDFString)(q),order:$}}const J=this.xref,Y=new R.RefSet,V=10;return{name:typeof M.get("Name")=="string"?(0,c.stringToPDFString)(M.get("Name")):null,creator:typeof M.get("Creator")=="string"?(0,c.stringToPDFString)(M.get("Creator")):null,baseState:M.get("BaseState")instanceof R.Name?M.get("BaseState").name:null,on:N(M.get("ON")),off:N(M.get("OFF")),order:G(M.get("Order")),groups:null}}setActualNumPages(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._actualNumPages=M}get hasActualNumPages(){return this._actualNumPages!==null}get _pagesCount(){const M=this.toplevelPagesDict.get("Count");if(!Number.isInteger(M))throw new c.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,c.shadow)(this,"_pagesCount",M)}get numPages(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}get destinations(){const M=this._readDests(),F=Object.create(null);if(M instanceof v.NameTree)for(const[N,G]of M.getAll()){const W=l(G);W&&(F[(0,c.stringToPDFString)(N)]=W)}else M instanceof R.Dict&&M.forEach(function(N,G){const W=l(G);W&&(F[N]=W)});return(0,c.shadow)(this,"destinations",F)}getDestination(M){const F=this._readDests();if(F instanceof v.NameTree){const N=l(F.get(M));if(N)return N;const G=this.destinations[M];if(G)return(0,c.warn)(`Found "${M}" at an incorrect position in the NameTree.`),G}else if(F instanceof R.Dict){const N=l(F.get(M));if(N)return N}return null}_readDests(){const M=this._catDict.get("Names");if(M&&M.has("Dests"))return new v.NameTree(M.getRaw("Dests"),this.xref);if(this._catDict.has("Dests"))return this._catDict.get("Dests")}get pageLabels(){let M=null;try{M=this._readPageLabels()}catch(F){if(F instanceof n.MissingDataException)throw F;(0,c.warn)("Unable to read page labels.")}return(0,c.shadow)(this,"pageLabels",M)}_readPageLabels(){const M=this._catDict.getRaw("PageLabels");if(!M)return null;const F=new Array(this.numPages);let N=null,G="";const J=new v.NumberTree(M,this.xref).getAll();let Y="",V=1;for(let H=0,z=this.numPages;H=1))throw new c.FormatError("Invalid start in PageLabel dictionary.");V=q}else V=1}switch(N){case"D":Y=V;break;case"R":case"r":Y=(0,n.toRomanNumerals)(V,N==="r");break;case"A":case"a":const q=26,Q=N==="a"?97:65,ie=V-1;Y=String.fromCharCode(Q+ie%q).repeat(Math.floor(ie/q)+1);break;default:if(N)throw new c.FormatError(`Invalid style "${N}" in PageLabel dictionary.`);Y=""}F[H]=G+Y,V++}return F}get pageLayout(){const M=this._catDict.get("PageLayout");let F="";if(M instanceof R.Name)switch(M.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":F=M.name}return(0,c.shadow)(this,"pageLayout",F)}get pageMode(){const M=this._catDict.get("PageMode");let F="UseNone";if(M instanceof R.Name)switch(M.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":F=M.name}return(0,c.shadow)(this,"pageMode",F)}get viewerPreferences(){const M=this._catDict.get("ViewerPreferences");if(!(M instanceof R.Dict))return(0,c.shadow)(this,"viewerPreferences",null);let F=null;for(const N of M.getKeys()){const G=M.get(N);let W;switch(N){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":typeof G=="boolean"&&(W=G);break;case"NonFullScreenPageMode":if(G instanceof R.Name)switch(G.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":W=G.name;break;default:W="UseNone"}break;case"Direction":if(G instanceof R.Name)switch(G.name){case"L2R":case"R2L":W=G.name;break;default:W="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(G instanceof R.Name)switch(G.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":W=G.name;break;default:W="CropBox"}break;case"PrintScaling":if(G instanceof R.Name)switch(G.name){case"None":case"AppDefault":W=G.name;break;default:W="AppDefault"}break;case"Duplex":if(G instanceof R.Name)switch(G.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":W=G.name;break;default:W="None"}break;case"PrintPageRange":Array.isArray(G)&&G.length%2===0&&G.every((Y,V,H)=>Number.isInteger(Y)&&Y>0&&(V===0||Y>=H[V-1])&&Y<=this.numPages)&&(W=G);break;case"NumCopies":Number.isInteger(G)&&G>0&&(W=G);break;default:(0,c.warn)(`Ignoring non-standard key in ViewerPreferences: ${N}.`);continue}if(W===void 0){(0,c.warn)(`Bad value, for key "${N}", in ViewerPreferences: ${G}.`);continue}F||(F=Object.create(null)),F[N]=W}return(0,c.shadow)(this,"viewerPreferences",F)}get openAction(){const M=this._catDict.get("OpenAction"),F=Object.create(null);if(M instanceof R.Dict){const N=new R.Dict(this.xref);N.set("A",M);const G={url:null,dest:null,action:null};y.parseDestDictionary({destDict:N,resultObj:G}),Array.isArray(G.dest)?F.dest=G.dest:G.action&&(F.action=G.action)}else Array.isArray(M)&&(F.dest=M);return(0,c.shadow)(this,"openAction",(0,c.objectSize)(F)>0?F:null)}get attachments(){const M=this._catDict.get("Names");let F=null;if(M instanceof R.Dict&&M.has("EmbeddedFiles")){const N=new v.NameTree(M.getRaw("EmbeddedFiles"),this.xref);for(const[G,W]of N.getAll()){const J=new B.FileSpec(W,this.xref);F||(F=Object.create(null)),F[(0,c.stringToPDFString)(G)]=J.serializable}}return(0,c.shadow)(this,"attachments",F)}get xfaImages(){const M=this._catDict.get("Names");let F=null;if(M instanceof R.Dict&&M.has("XFAImages")){const N=new v.NameTree(M.getRaw("XFAImages"),this.xref);for(const[G,W]of N.getAll())F||(F=new R.Dict(this.xref)),F.set((0,c.stringToPDFString)(G),W)}return(0,c.shadow)(this,"xfaImages",F)}_collectJavaScript(){const M=this._catDict.get("Names");let F=null;function N(W,J){if(!(J instanceof R.Dict)||!(0,R.isName)(J.get("S"),"JavaScript"))return;let Y=J.get("JS");if(Y instanceof e.BaseStream)Y=Y.getString();else if(typeof Y!="string")return;F===null&&(F=new Map),Y=(0,c.stringToPDFString)(Y).replace(/\u0000/g,""),F.set(W,Y)}if(M instanceof R.Dict&&M.has("JavaScript")){const W=new v.NameTree(M.getRaw("JavaScript"),this.xref);for(const[J,Y]of W.getAll())N((0,c.stringToPDFString)(J),Y)}const G=this._catDict.get("OpenAction");return G&&N("OpenAction",G),F}get javaScript(){const M=this._collectJavaScript();return(0,c.shadow)(this,"javaScript",M?[...M.values()]:null)}get jsActions(){const M=this._collectJavaScript();let F=(0,n.collectActions)(this.xref,this._catDict,c.DocumentActionEventType);if(M){F||(F=Object.create(null));for(const[N,G]of M)N in F?F[N].push(G):F[N]=[G]}return(0,c.shadow)(this,"jsActions",F)}async fontFallback(M,F){const N=await Promise.all(this.fontCache);for(const G of N)if(G.loadedName===M){G.fallback(F);return}}async cleanup(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(0,L.clearGlobalCaches)(),this.globalImageCache.clear(M),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear();const F=await Promise.all(this.fontCache);for(const{dict:N}of F)delete N.cacheKey;this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear()}async getPageDict(M){const F=[this.toplevelPagesDict],N=new R.RefSet,G=this._catDict.getRaw("Pages");G instanceof R.Ref&&N.put(G);const W=this.xref,J=this.pageKidsCountCache,Y=this.pageIndexCache;let V=0;for(;F.length;){const H=F.pop();if(H instanceof R.Ref){const $=J.get(H);if($>=0&&V+$<=M){V+=$;continue}if(N.has(H))throw new c.FormatError("Pages tree contains circular reference.");N.put(H);const fe=await W.fetchAsync(H);if(fe instanceof R.Dict){let Q=fe.getRaw("Type");if(Q instanceof R.Ref&&(Q=await W.fetchAsync(Q)),(0,R.isName)(Q,"Page")||!fe.has("Kids")){if(J.has(H)||J.put(H,1),Y.has(H)||Y.put(H,V),V===M)return[fe,H];V++;continue}}F.push(fe);continue}if(!(H instanceof R.Dict))throw new c.FormatError("Page dictionary kid reference points to wrong type of object.");const{objId:z}=H;let X=H.getRaw("Count");if(X instanceof R.Ref&&(X=await W.fetchAsync(X)),Number.isInteger(X)&&X>=0&&(z&&!J.has(z)&&J.put(z,X),V+X<=M)){V+=X;continue}let q=H.getRaw("Kids");if(q instanceof R.Ref&&(q=await W.fetchAsync(q)),!Array.isArray(q)){let $=H.getRaw("Type");if($ instanceof R.Ref&&($=await W.fetchAsync($)),(0,R.isName)($,"Page")||!H.has("Kids")){if(V===M)return[H,null];V++;continue}throw new c.FormatError("Page dictionary kids object is not an array.")}for(let $=q.length-1;$>=0;$--)F.push(q[$])}throw new Error(`Page index ${M} not found.`)}async getAllPageDicts(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const F=[{currentNode:this.toplevelPagesDict,posInKids:0}],N=new R.RefSet,G=this._catDict.getRaw("Pages");G instanceof R.Ref&&N.put(G);const W=new Map,J=this.xref,Y=this.pageIndexCache;let V=0;function H(X,q){q&&!Y.has(q)&&Y.put(q,V),W.set(V++,[X,q])}function z(X){if(X instanceof n.XRefEntryException&&!M)throw X;W.set(V++,[X,null])}for(;F.length>0;){const X=F.at(-1),{currentNode:q,posInKids:$}=X;let fe=q.getRaw("Kids");if(fe instanceof R.Ref)try{fe=await J.fetchAsync(fe)}catch(me){z(me);break}if(!Array.isArray(fe)){z(new c.FormatError("Page dictionary kids object is not an array."));break}if($>=fe.length){F.pop();continue}const Q=fe[$];let ie;if(Q instanceof R.Ref){if(N.has(Q)){z(new c.FormatError("Pages tree contains circular reference."));break}N.put(Q);try{ie=await J.fetchAsync(Q)}catch(me){z(me);break}}else ie=Q;if(!(ie instanceof R.Dict)){z(new c.FormatError("Page dictionary kid reference points to wrong type of object."));break}let Te=ie.getRaw("Type");if(Te instanceof R.Ref)try{Te=await J.fetchAsync(Te)}catch(me){z(me);break}(0,R.isName)(Te,"Page")||!ie.has("Kids")?H(ie,Q instanceof R.Ref?Q:null):F.push({currentNode:ie,posInKids:0}),X.posInKids++}return W}getPageIndex(M){const F=this.pageIndexCache.get(M);if(F!==void 0)return Promise.resolve(F);const N=this.xref;function G(Y){let V=0,H;return N.fetchAsync(Y).then(function(z){if((0,R.isRefsEqual)(Y,M)&&!(0,R.isDict)(z,"Page")&&!(z instanceof R.Dict&&!z.has("Type")&&z.has("Contents")))throw new c.FormatError("The reference does not point to a /Page dictionary.");if(!z)return null;if(!(z instanceof R.Dict))throw new c.FormatError("Node must be a dictionary.");return H=z.getRaw("Parent"),z.getAsync("Parent")}).then(function(z){if(!z)return null;if(!(z instanceof R.Dict))throw new c.FormatError("Parent must be a dictionary.");return z.getAsync("Kids")}).then(function(z){if(!z)return null;const X=[];let q=!1;for(let $=0,fe=z.length;$G(Y).then(V=>{if(!V)return this.pageIndexCache.put(M,W),W;const[H,z]=V;return W+=H,J(z)});return J(M)}get baseUrl(){const M=this._catDict.get("URI");if(M instanceof R.Dict){const F=M.get("Base");if(typeof F=="string"){const N=(0,c.createValidAbsoluteUrl)(F,null,{tryConvertEncoding:!0});if(N)return(0,c.shadow)(this,"baseUrl",N.href)}}return(0,c.shadow)(this,"baseUrl",null)}static parseDestDictionary(M){const F=M.destDict;if(!(F instanceof R.Dict)){(0,c.warn)("parseDestDictionary: `destDict` must be a dictionary.");return}const N=M.resultObj;if(typeof N!="object"){(0,c.warn)("parseDestDictionary: `resultObj` must be an object.");return}const G=M.docBaseUrl||null;let W=F.get("A"),J,Y;if(W instanceof R.Dict||(F.has("Dest")?W=F.get("Dest"):(W=F.get("AA"),W instanceof R.Dict&&(W.has("D")?W=W.get("D"):W.has("U")&&(W=W.get("U"))))),W instanceof R.Dict){const V=W.get("S");if(!(V instanceof R.Name)){(0,c.warn)("parseDestDictionary: Invalid type in Action dictionary.");return}const H=V.name;switch(H){case"ResetForm":const z=W.get("Flags"),X=((typeof z=="number"?z:0)&1)===0,q=[],$=[];for(const de of W.get("Fields")||[])de instanceof R.Ref?$.push(de.toString()):typeof de=="string"&&q.push((0,c.stringToPDFString)(de));N.resetForm={fields:q,refs:$,include:X};break;case"URI":J=W.get("URI"),J instanceof R.Name&&(J="/"+J.name);break;case"GoTo":Y=W.get("D");break;case"Launch":case"GoToR":const fe=W.get("F");fe instanceof R.Dict?J=fe.get("F")||null:typeof fe=="string"&&(J=fe);let Q=W.get("D");if(Q&&(Q instanceof R.Name&&(Q=Q.name),typeof J=="string")){const de=J.split("#")[0];typeof Q=="string"?J=de+"#"+Q:Array.isArray(Q)&&(J=de+"#"+JSON.stringify(Q))}const ie=W.get("NewWindow");typeof ie=="boolean"&&(N.newWindow=ie);break;case"Named":const Te=W.get("N");Te instanceof R.Name&&(N.action=Te.name);break;case"JavaScript":const me=W.get("JS");let K;me instanceof e.BaseStream?K=me.getString():typeof me=="string"&&(K=me);const ce=K&&(0,n.recoverJsURL)((0,c.stringToPDFString)(K));if(ce){J=ce.url,N.newWindow=ce.newWindow;break}default:if(H==="JavaScript"||H==="SubmitForm")break;(0,c.warn)(`parseDestDictionary - unsupported action: "${H}".`);break}}else F.has("Dest")&&(Y=F.get("Dest"));if(typeof J=="string"){const V=(0,c.createValidAbsoluteUrl)(J,G,{addDefaultProtocol:!0,tryConvertEncoding:!0});V&&(N.url=V.href),N.unsafeUrl=J}Y&&(Y instanceof R.Name&&(Y=Y.name),typeof Y=="string"?N.dest=(0,c.stringToPDFString)(Y):Array.isArray(Y)&&(N.dest=Y))}}a.Catalog=y},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.NumberTree=a.NameTree=void 0;var n=g(130),c=g(2);class R{constructor(O,B,P){this.constructor===R&&(0,c.unreachable)("Cannot initialize NameOrNumberTree."),this.root=O,this.xref=B,this._type=P}getAll(){const O=new Map;if(!this.root)return O;const B=this.xref,P=new n.RefSet;P.put(this.root);const S=[this.root];for(;S.length>0;){const _=B.fetchIfRef(S.shift());if(!(_ instanceof n.Dict))continue;if(_.has("Kids")){const y=_.get("Kids");if(!Array.isArray(y))continue;for(const D of y){if(P.has(D))throw new c.FormatError(`Duplicate entry in "${this._type}" tree.`);S.push(D),P.put(D)}continue}const l=_.get(this._type);if(Array.isArray(l))for(let y=0,D=l.length;y_)return(0,c.warn)(`Search depth limit reached for "${this._type}" tree.`),null;const y=P.get("Kids");if(!Array.isArray(y))return null;let D=0,M=y.length-1;for(;D<=M;){const F=D+M>>1,N=B.fetchIfRef(y[F]),G=N.get("Limits");if(OB.fetchIfRef(G[1]))D=F+1;else{P=N;break}}if(D>M)return null}const l=P.get(this._type);if(Array.isArray(l)){let y=0,D=l.length-2;for(;y<=D;){const M=y+D>>1,F=M+(M&1),N=B.fetchIfRef(l[F]);if(ON)y=F+2;else return B.fetchIfRef(l[F+1])}}return null}}class v extends R{constructor(O,B){super(O,B,"Names")}}a.NameTree=v;class e extends R{constructor(O,B){super(O,B,"Nums")}}a.NumberTree=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.clearGlobalCaches=R;var n=g(130),c=g(165);function R(){(0,n.clearPrimitiveCaches)(),(0,c.clearUnicodeCaches)()}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.FileSpec=void 0;var n=g(2),c=g(132),R=g(130);function v(L){return L.has("UF")?L.get("UF"):L.has("F")?L.get("F"):L.has("Unix")?L.get("Unix"):L.has("Mac")?L.get("Mac"):L.has("DOS")?L.get("DOS"):null}class e{constructor(O,B){O instanceof R.Dict&&(this.xref=B,this.root=O,O.has("FS")&&(this.fs=O.get("FS")),this.description=O.has("Desc")?(0,n.stringToPDFString)(O.get("Desc")):"",O.has("RF")&&(0,n.warn)("Related file specifications are not supported"),this.contentAvailable=!0,O.has("EF")||(this.contentAvailable=!1,(0,n.warn)("Non-embedded file specifications are not supported")))}get filename(){if(!this._filename&&this.root){const O=v(this.root)||"unnamed";this._filename=(0,n.stringToPDFString)(O).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename}get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=v(this.root.get("EF")));let O=null;if(this.contentRef){const B=this.xref.fetchIfRef(this.contentRef);B instanceof c.BaseStream?O=B.getBytes():(0,n.warn)("Embedded file specification points to non-existing/invalid content")}else(0,n.warn)("Embedded file specification does not have a content");return O}get serializable(){return{filename:this.filename,content:this.content}}}a.FileSpec=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.MetadataParser=void 0;var n=g(191);class c{constructor(v){v=this._repair(v);const L=new n.SimpleXMLParser({lowerCaseName:!0}).parseFromString(v);this._metadataMap=new Map,this._data=v,L&&this._parse(L)}_repair(v){return v.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,function(e,L){const O=L.replace(/\\([0-3])([0-7])([0-7])/g,function(P,S,_,l){return String.fromCharCode(S*64+_*8+l*1)}).replace(/&(amp|apos|gt|lt|quot);/g,function(P,S){switch(S){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error(`_repair: ${S} isn't defined.`)}),B=[];for(let P=0,S=O.length;P=32&&_<127&&_!==60&&_!==62&&_!==38?B.push(String.fromCharCode(_)):B.push("&#x"+(65536+_).toString(16).substring(1)+";")}return">"+B.join("")})}_getSequence(v){const e=v.nodeName;return e!=="rdf:bag"&&e!=="rdf:seq"&&e!=="rdf:alt"?null:v.childNodes.filter(L=>L.nodeName==="rdf:li")}_parseArray(v){if(!v.hasChildNodes())return;const[e]=v.childNodes,L=this._getSequence(e)||[];this._metadataMap.set(v.nodeName,L.map(O=>O.textContent.trim()))}_parse(v){let e=v.documentElement;if(e.nodeName!=="rdf:rdf")for(e=e.firstChild;e&&e.nodeName!=="rdf:rdf";)e=e.nextSibling;if(!(!e||e.nodeName!=="rdf:rdf"||!e.hasChildNodes())){for(const L of e.childNodes)if(L.nodeName==="rdf:description")for(const O of L.childNodes){const B=O.nodeName;switch(B){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(O);continue}this._metadataMap.set(B,O.textContent.trim())}}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}}a.MetadataParser=c},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.StructTreeRoot=a.StructTreePage=void 0;var n=g(130),c=g(2),R=g(195);const v=40,e={PAGE_CONTENT:"PAGE_CONTENT",STREAM_CONTENT:"STREAM_CONTENT",OBJECT:"OBJECT",ELEMENT:"ELEMENT"};class L{constructor(_){this.dict=_,this.roleMap=new Map}init(){this.readRoleMap()}readRoleMap(){const _=this.dict.get("RoleMap");_ instanceof n.Dict&&_.forEach((l,y)=>{y instanceof n.Name&&this.roleMap.set(l,y.name)})}}a.StructTreeRoot=L;class O{constructor(_,l){this.tree=_,this.dict=l,this.kids=[],this.parseKids()}get role(){const _=this.dict.get("S"),l=_ instanceof n.Name?_.name:"",{root:y}=this.tree;return y.roleMap.has(l)?y.roleMap.get(l):l}parseKids(){let _=null;const l=this.dict.getRaw("Pg");l instanceof n.Ref&&(_=l.toString());const y=this.dict.get("K");if(Array.isArray(y))for(const D of y){const M=this.parseKid(_,D);M&&this.kids.push(M)}else{const D=this.parseKid(_,y);D&&this.kids.push(D)}}parseKid(_,l){if(Number.isInteger(l))return this.tree.pageDict.objId!==_?null:new B({type:e.PAGE_CONTENT,mcid:l,pageObjId:_});let y=null;if(l instanceof n.Ref?y=this.dict.xref.fetch(l):l instanceof n.Dict&&(y=l),!y)return null;const D=y.getRaw("Pg");D instanceof n.Ref&&(_=D.toString());const M=y.get("Type")instanceof n.Name?y.get("Type").name:null;return M==="MCR"?this.tree.pageDict.objId!==_?null:new B({type:e.STREAM_CONTENT,refObjId:y.getRaw("Stm")instanceof n.Ref?y.getRaw("Stm").toString():null,pageObjId:_,mcid:y.get("MCID")}):M==="OBJR"?this.tree.pageDict.objId!==_?null:new B({type:e.OBJECT,refObjId:y.getRaw("Obj")instanceof n.Ref?y.getRaw("Obj").toString():null,pageObjId:_}):new B({type:e.ELEMENT,dict:y})}}class B{constructor(_){let{type:l,dict:y=null,mcid:D=null,pageObjId:M=null,refObjId:F=null}=_;this.type=l,this.dict=y,this.mcid=D,this.pageObjId=M,this.refObjId=F,this.parentNode=null}}class P{constructor(_,l){this.root=_,this.rootDict=_?_.dict:null,this.pageDict=l,this.nodes=[]}parse(){if(!this.root||!this.rootDict)return;const _=this.rootDict.get("ParentTree");if(!_)return;const l=this.pageDict.get("StructParents");if(!Number.isInteger(l))return;const D=new R.NumberTree(_,this.rootDict.xref).get(l);if(!Array.isArray(D))return;const M=new Map;for(const F of D)F instanceof n.Ref&&this.addNode(this.rootDict.xref.fetch(F),M)}addNode(_,l){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(y>v)return(0,c.warn)("StructTree MAX_DEPTH reached."),null;if(l.has(_))return l.get(_);const D=new O(this,_);l.set(_,D);const M=_.get("P");if(!M||(0,n.isName)(M.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(_,D)||l.delete(_),D;const F=this.addNode(M,l,y+1);if(!F)return D;let N=!1;for(const G of F.kids)G.type===e.ELEMENT&&G.dict===_&&(G.parentNode=D,N=!0);return N||l.delete(_),D}addTopLevelNode(_,l){const y=this.rootDict.get("K");if(!y)return!1;if(y instanceof n.Dict)return y.objId!==_.objId?!1:(this.nodes[0]=l,!0);if(!Array.isArray(y))return!0;let D=!1;for(let M=0;M2&&arguments[2]!==void 0?arguments[2]:0;if(M>v){(0,c.warn)("StructTree too deep to be fully serialized.");return}const F=Object.create(null);F.role=y.role,F.children=[],D.children.push(F);const N=y.dict.get("Alt");typeof N=="string"&&(F.alt=(0,c.stringToPDFString)(N));const G=y.dict.get("Lang");typeof G=="string"&&(F.lang=(0,c.stringToPDFString)(G));for(const W of y.kids){const J=W.type===e.ELEMENT?W.parentNode:null;if(J){_(J,F,M+1);continue}else W.type===e.PAGE_CONTENT||W.type===e.STREAM_CONTENT?F.children.push({type:"content",id:`page${W.pageObjId}_mcid${W.mcid}`}):W.type===e.OBJECT&&F.children.push({type:"object",id:W.refObjId})}}const l=Object.create(null);l.children=[],l.role="Root";for(const y of this.nodes)y&&_(y,l);return l}}a.StructTreePage=P},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ObjectLoader=void 0;var n=g(130),c=g(132),R=g(131),v=g(2);function e(B){return B instanceof n.Ref||B instanceof n.Dict||B instanceof c.BaseStream||Array.isArray(B)}function L(B,P){if(B instanceof n.Dict)B=B.getRawValues();else if(B instanceof c.BaseStream)B=B.dict.getRawValues();else if(!Array.isArray(B))return;for(const S of B)e(S)&&P.push(S)}class O{constructor(P,S,_){this.dict=P,this.keys=S,this.xref=_,this.refSet=null}async load(){if(this.xref.stream.isDataLoaded)return;const{keys:P,dict:S}=this;this.refSet=new n.RefSet;const _=[];for(let l=0,y=P.length;l{Object.defineProperty(a,"__esModule",{value:!0}),a.XFAFactory=void 0;var n=g(202),c=g(206),R=g(212),v=g(210),e=g(203),L=g(2),O=g(213),B=g(223);class P{constructor(_){try{this.root=new O.XFAParser().parse(P._createDocument(_));const l=new c.Binder(this.root);this.form=l.bind(),this.dataHandler=new R.DataHandler(this.root,l.getData()),this.form[n.$globalData].template=this.form}catch(l){(0,L.warn)(`XFA - an error occurred during parsing and binding: ${l}`)}}isValid(){return this.root&&this.form}_createPagesHelper(){const _=this.form[n.$toPages]();return new Promise((l,y)=>{const D=()=>{try{const M=_.next();M.done?l(M.value):setTimeout(D,0)}catch(M){y(M)}};setTimeout(D,0)})}async _createPages(){try{this.pages=await this._createPagesHelper(),this.dims=this.pages.children.map(_=>{const{width:l,height:y}=_.attributes.style;return[0,0,parseInt(l),parseInt(y)]})}catch(_){(0,L.warn)(`XFA - an error occurred during layout: ${_}`)}}getBoundingBox(_){return this.dims[_]}async getNumPages(){return this.pages||await this._createPages(),this.dims.length}setImages(_){this.form[n.$globalData].images=_}setFonts(_){this.form[n.$globalData].fontFinder=new v.FontFinder(_);const l=[];for(let y of this.form[n.$globalData].usedTypefaces)y=(0,e.stripQuotes)(y),this.form[n.$globalData].fontFinder.find(y)||l.push(y);return l.length>0?l:null}appendFonts(_,l){this.form[n.$globalData].fontFinder.add(_,l)}async getPages(){this.pages||await this._createPages();const _=this.pages;return this.pages=null,_}serializeData(_){return this.dataHandler.serialize(_)}static _createDocument(_){return _["/xdp:xdp"]?Object.values(_).join(""):_["xdp:xdp"]}static getRichTextAsHtml(_){if(!_||typeof _!="string")return null;try{let l=new O.XFAParser(B.XhtmlNamespace,!0).parse(_);if(!["body","xhtml"].includes(l[n.$nodeName])){const F=B.XhtmlNamespace.body({});F[n.$appendChild](l),l=F}const y=l[n.$toHTML]();if(!y.success)return null;const{html:D}=y,{attributes:M}=D;return M&&(M.class&&(M.class=M.class.filter(F=>!F.startsWith("xfa"))),M.dir="auto"),{html:D,str:l[n.$text]()}}catch(l){(0,L.warn)(`XFA - an error occurred during parsing of rich text: ${l}`)}return null}}a.XFAFactory=P},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XmlObject=a.XFAObjectArray=a.XFAObject=a.XFAAttribute=a.StringObject=a.OptionObject=a.Option10=a.Option01=a.IntegerObject=a.ContentObject=a.$uid=a.$toStyle=a.$toString=a.$toPages=a.$toHTML=a.$text=a.$tabIndex=a.$setValue=a.$setSetAttributes=a.$setId=a.$searchNode=a.$root=a.$resolvePrototypes=a.$removeChild=a.$pushPara=a.$pushGlyphs=a.$popPara=a.$onText=a.$onChildCheck=a.$onChild=a.$nsAttributes=a.$nodeName=a.$namespaceId=a.$isUsable=a.$isTransparent=a.$isThereMoreWidth=a.$isSplittable=a.$isNsAgnostic=a.$isDescendent=a.$isDataValue=a.$isCDATAXml=a.$isBindable=a.$insertAt=a.$indexOf=a.$ids=a.$hasSettableValue=a.$globalData=a.$getTemplateRoot=a.$getSubformParent=a.$getRealChildrenByNameIt=a.$getParent=a.$getNextPage=a.$getExtra=a.$getDataValue=a.$getContainedChildren=a.$getChildrenByNameIt=a.$getChildrenByName=a.$getChildrenByClass=a.$getChildren=a.$getAvailableSpace=a.$getAttributes=a.$getAttributeIt=a.$flushHTML=a.$finalize=a.$extra=a.$dump=a.$data=a.$content=a.$consumed=a.$clone=a.$cleanup=a.$cleanPage=a.$clean=a.$childrenToHTML=a.$appendChild=a.$addHTML=a.$acceptWhitespace=void 0;var n=g(203),c=g(2),R=g(131),v=g(204),e=g(205);const L=Symbol();a.$acceptWhitespace=L;const O=Symbol();a.$addHTML=O;const B=Symbol();a.$appendChild=B;const P=Symbol();a.$childrenToHTML=P;const S=Symbol();a.$clean=S;const _=Symbol();a.$cleanPage=_;const l=Symbol();a.$cleanup=l;const y=Symbol();a.$clone=y;const D=Symbol();a.$consumed=D;const M=Symbol("content");a.$content=M;const F=Symbol("data");a.$data=F;const N=Symbol();a.$dump=N;const G=Symbol("extra");a.$extra=G;const W=Symbol();a.$finalize=W;const J=Symbol();a.$flushHTML=J;const Y=Symbol();a.$getAttributeIt=Y;const V=Symbol();a.$getAttributes=V;const H=Symbol();a.$getAvailableSpace=H;const z=Symbol();a.$getChildrenByClass=z;const X=Symbol();a.$getChildrenByName=X;const q=Symbol();a.$getChildrenByNameIt=q;const $=Symbol();a.$getDataValue=$;const fe=Symbol();a.$getExtra=fe;const Q=Symbol();a.$getRealChildrenByNameIt=Q;const ie=Symbol();a.$getChildren=ie;const Te=Symbol();a.$getContainedChildren=Te;const me=Symbol();a.$getNextPage=me;const K=Symbol();a.$getSubformParent=K;const ce=Symbol();a.$getParent=ce;const de=Symbol();a.$getTemplateRoot=de;const Z=Symbol();a.$globalData=Z;const ae=Symbol();a.$hasSettableValue=ae;const he=Symbol();a.$ids=he;const we=Symbol();a.$indexOf=we;const _e=Symbol();a.$insertAt=_e;const ye=Symbol();a.$isCDATAXml=ye;const se=Symbol();a.$isBindable=se;const Ie=Symbol();a.$isDataValue=Ie;const Ce=Symbol();a.$isDescendent=Ce;const oe=Symbol();a.$isNsAgnostic=oe;const pe=Symbol();a.$isSplittable=pe;const xe=Symbol();a.$isThereMoreWidth=xe;const Ne=Symbol();a.$isTransparent=Ne;const ke=Symbol();a.$isUsable=ke;const De=Symbol(),Fe=Symbol("namespaceId");a.$namespaceId=Fe;const Pe=Symbol("nodeName");a.$nodeName=Pe;const qe=Symbol();a.$nsAttributes=qe;const Le=Symbol();a.$onChild=Le;const Oe=Symbol();a.$onChildCheck=Oe;const Ee=Symbol();a.$onText=Ee;const Ae=Symbol();a.$pushGlyphs=Ae;const Ve=Symbol();a.$popPara=Ve;const $e=Symbol();a.$pushPara=$e;const Ue=Symbol();a.$removeChild=Ue;const He=Symbol("root");a.$root=He;const Qe=Symbol();a.$resolvePrototypes=Qe;const Ze=Symbol();a.$searchNode=Ze;const et=Symbol();a.$setId=et;const tt=Symbol();a.$setSetAttributes=tt;const je=Symbol();a.$setValue=je;const Je=Symbol();a.$tabIndex=Je;const nt=Symbol();a.$text=nt;const Ke=Symbol();a.$toPages=Ke;const at=Symbol();a.$toHTML=at;const ot=Symbol();a.$toString=ot;const Xe=Symbol();a.$toStyle=Xe;const ze=Symbol("uid");a.$uid=ze;const Ye=Symbol(),st=Symbol(),_t=Symbol(),ft=Symbol("_children"),Ct=Symbol(),ut=Symbol(),rt=Symbol(),mt=Symbol(),Ot=Symbol(),dt=Symbol(),Nt=Symbol(),kt=Symbol(),Ut=Symbol(),Ht=Symbol("parent"),Kt=Symbol(),qt=Symbol(),pn=Symbol();let vt=0;const xt=v.NamespaceIds.datasets.id;class Rt{constructor(ht,Et){let It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this[Fe]=ht,this[Pe]=Et,this[Nt]=It,this[Ht]=null,this[ft]=[],this[ze]=`${Et}${vt++}`,this[Z]=null}[Le](ht){if(!this[Nt]||!this[Oe](ht))return!1;const Et=ht[Pe],It=this[Et];if(It instanceof At){if(It.push(ht))return this[B](ht),!0}else return It!==null&&this[Ue](It),this[Et]=ht,this[B](ht),!0;let wt="";return this.id?wt=` (id: ${this.id})`:this.name&&(wt=` (name: ${this.name} ${this.h.value})`),(0,c.warn)(`XFA - node "${this[Pe]}"${wt} has already enough "${Et}"!`),!1}[Oe](ht){return this.hasOwnProperty(ht[Pe])&&ht[Fe]===this[Fe]}[oe](){return!1}[L](){return!1}[ye](){return!1}[se](){return!1}[Ve](){this.para&&this[de]()[G].paraStack.pop()}[$e](){this[de]()[G].paraStack.push(this.para)}[et](ht){this.id&&this[Fe]===v.NamespaceIds.template.id&&ht.set(this.id,this)}[de](){return this[Z].template}[pe](){return!1}[xe](){return!1}[B](ht){ht[Ht]=this,this[ft].push(ht),!ht[Z]&&this[Z]&&(ht[Z]=this[Z])}[Ue](ht){const Et=this[ft].indexOf(ht);this[ft].splice(Et,1)}[ae](){return this.hasOwnProperty("value")}[je](ht){}[Ee](ht){}[W](){}[S](ht){delete this[Nt],this[l]&&(ht.clean(this[l]),delete this[l])}[we](ht){return this[ft].indexOf(ht)}[_e](ht,Et){Et[Ht]=this,this[ft].splice(ht,0,Et),!Et[Z]&&this[Z]&&(Et[Z]=this[Z])}[Ne](){return!this.name}[De](){return""}[nt](){return this[ft].length===0?this[M]:this[ft].map(ht=>ht[nt]()).join("")}get[_t](){const ht=Object.getPrototypeOf(this);if(!ht._attributes){const Et=ht._attributes=new Set;for(const It of Object.getOwnPropertyNames(this)){if(this[It]===null||this[It]instanceof Rt||this[It]instanceof At)break;Et.add(It)}}return(0,c.shadow)(this,_t,ht._attributes)}[Ce](ht){let Et=this;for(;Et;){if(Et===ht)return!0;Et=Et[ce]()}return!1}[ce](){return this[Ht]}[K](){return this[ce]()}[ie](){let ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ht?this[ht]:this[ft]}[N](){const ht=Object.create(null);this[M]&&(ht.$content=this[M]);for(const Et of Object.getOwnPropertyNames(this)){const It=this[Et];It!==null&&(It instanceof Rt?ht[Et]=It[N]():It instanceof At?It.isEmpty()||(ht[Et]=It.dump()):ht[Et]=It)}return ht}[Xe](){return null}[at](){return n.HTMLResult.EMPTY}*[Te](){for(const ht of this[ie]())yield ht}*[mt](ht,Et){for(const It of this[Te]())if(!ht||Et===ht.has(It[Pe])){const wt=this[H](),Bt=It[at](wt);Bt.success||(this[G].failingNode=It),yield Bt}}[J](){return null}[O](ht,Et){this[G].children.push(ht)}[H](){}[P](ht){let{filter:Et=null,include:It=!0}=ht;if(!this[G].generator)this[G].generator=this[mt](Et,It);else{const wt=this[H](),Bt=this[G].failingNode[at](wt);if(!Bt.success)return Bt;Bt.html&&this[O](Bt.html,Bt.bbox),delete this[G].failingNode}for(;;){const wt=this[G].generator.next();if(wt.done)break;const Bt=wt.value;if(!Bt.success)return Bt;Bt.html&&this[O](Bt.html,Bt.bbox)}return this[G].generator=null,n.HTMLResult.EMPTY}[tt](ht){this[qt]=new Set(Object.keys(ht))}[dt](ht){const Et=this[_t],It=this[qt];return[...ht].filter(wt=>Et.has(wt)&&!It.has(wt))}[Qe](ht){let Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const It of this[ft])It[Kt](ht,Et)}[Kt](ht,Et){const It=this[Ot](ht,Et);It?this[Ye](It,ht,Et):this[Qe](ht,Et)}[Ot](ht,Et){const{use:It,usehref:wt}=this;if(!It&&!wt)return null;let Bt=null,Jt=null,_n=null,nn=It;if(wt?(nn=wt,wt.startsWith("#som(")&&wt.endsWith(")")?Jt=wt.slice(5,wt.length-1):wt.startsWith(".#som(")&&wt.endsWith(")")?Jt=wt.slice(6,wt.length-1):wt.startsWith("#")?_n=wt.slice(1):wt.startsWith(".#")&&(_n=wt.slice(2))):It.startsWith("#")?_n=It.slice(1):Jt=It,this.use=this.usehref="",_n?Bt=ht.get(_n):(Bt=(0,e.searchNode)(ht.get(He),this,Jt,!0,!1),Bt&&(Bt=Bt[0])),!Bt)return(0,c.warn)(`XFA - Invalid prototype reference: ${nn}.`),null;if(Bt[Pe]!==this[Pe])return(0,c.warn)(`XFA - Incompatible prototype: ${Bt[Pe]} !== ${this[Pe]}.`),null;if(Et.has(Bt))return(0,c.warn)("XFA - Cycle detected in prototypes use."),null;Et.add(Bt);const an=Bt[Ot](ht,Et);return an&&Bt[Ye](an,ht,Et),Bt[Qe](ht,Et),Et.delete(Bt),Bt}[Ye](ht,Et,It){if(It.has(ht)){(0,c.warn)("XFA - Cycle detected in prototypes use.");return}!this[M]&&ht[M]&&(this[M]=ht[M]),new Set(It).add(ht);for(const Bt of this[dt](ht[qt]))this[Bt]=ht[Bt],this[qt]&&this[qt].add(Bt);for(const Bt of Object.getOwnPropertyNames(this)){if(this[_t].has(Bt))continue;const Jt=this[Bt],_n=ht[Bt];if(Jt instanceof At){for(const nn of Jt[ft])nn[Kt](Et,It);for(let nn=Jt[ft].length,an=_n[ft].length;nnRt[Ct](Et)):typeof ht=="object"&&ht!==null?Object.assign({},ht):ht}[y](){const ht=Object.create(Object.getPrototypeOf(this));for(const Et of Object.getOwnPropertySymbols(this))try{ht[Et]=this[Et]}catch{(0,c.shadow)(ht,Et,this[Et])}ht[ze]=`${ht[Pe]}${vt++}`,ht[ft]=[];for(const Et of Object.getOwnPropertyNames(this)){if(this[_t].has(Et)){ht[Et]=Rt[Ct](this[Et]);continue}const It=this[Et];It instanceof At?ht[Et]=new At(It[kt]):ht[Et]=null}for(const Et of this[ft]){const It=Et[Pe],wt=Et[y]();ht[ft].push(wt),wt[Ht]=ht,ht[It]===null?ht[It]=wt:ht[It][ft].push(wt)}return ht}[ie](){let ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ht?this[ft].filter(Et=>Et[Pe]===ht):this[ft]}[z](ht){return this[ht]}[X](ht,Et){let It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Array.from(this[q](ht,Et,It))}*[q](ht,Et){let It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(ht==="parent"){yield this[Ht];return}for(const wt of this[ft])wt[Pe]===ht&&(yield wt),wt.name===ht&&(yield wt),(Et||wt[Ne]())&&(yield*wt[q](ht,Et,!1));It&&this[_t].has(ht)&&(yield new Pt(this,ht,this[ht]))}}a.XFAObject=Rt;class At{constructor(){let ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1/0;this[kt]=ht,this[ft]=[]}push(ht){return this[ft].length<=this[kt]?(this[ft].push(ht),!0):((0,c.warn)(`XFA - node "${ht[Pe]}" accepts no more than ${this[kt]} children`),!1)}isEmpty(){return this[ft].length===0}dump(){return this[ft].length===1?this[ft][0][N]():this[ft].map(ht=>ht[N]())}[y](){const ht=new At(this[kt]);return ht[ft]=this[ft].map(Et=>Et[y]()),ht}get children(){return this[ft]}clear(){this[ft].length=0}}a.XFAObjectArray=At;class Pt{constructor(ht,Et,It){this[Ht]=ht,this[Pe]=Et,this[M]=It,this[D]=!1,this[ze]=`attribute${vt++}`}[ce](){return this[Ht]}[Ie](){return!0}[$](){return this[M].trim()}[je](ht){ht=ht.value||"",this[M]=ht.toString()}[nt](){return this[M]}[Ce](ht){return this[Ht]===ht||this[Ht][Ce](ht)}}a.XFAAttribute=Pt;class $t extends Rt{constructor(ht,Et){let It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(super(ht,Et),this[M]="",this[ut]=null,Et!=="#text"){const wt=new Map;this[st]=wt;for(const[Bt,Jt]of Object.entries(It))wt.set(Bt,new Pt(this,Bt,Jt));if(It.hasOwnProperty(qe)){const Bt=It[qe].xfa.dataNode;Bt!==void 0&&(Bt==="dataGroup"?this[ut]=!1:Bt==="dataValue"&&(this[ut]=!0))}}this[D]=!1}[ot](ht){const Et=this[Pe];if(Et==="#text"){ht.push((0,R.encodeToXmlString)(this[M]));return}const It=(0,c.utf8StringToString)(Et),wt=this[Fe]===xt?"xfa:":"";ht.push(`<${wt}${It}`);for(const[Bt,Jt]of this[st].entries()){const _n=(0,c.utf8StringToString)(Bt);ht.push(` ${_n}="${(0,R.encodeToXmlString)(Jt[M])}"`)}if(this[ut]!==null&&(this[ut]?ht.push(' xfa:dataNode="dataValue"'):ht.push(' xfa:dataNode="dataGroup"')),!this[M]&&this[ft].length===0){ht.push("/>");return}if(ht.push(">"),this[M])typeof this[M]=="string"?ht.push((0,R.encodeToXmlString)(this[M])):this[M][ot](ht);else for(const Bt of this[ft])Bt[ot](ht);ht.push(``)}[Le](ht){if(this[M]){const Et=new $t(this[Fe],"#text");this[B](Et),Et[M]=this[M],this[M]=""}return this[B](ht),!0}[Ee](ht){this[M]+=ht}[W](){if(this[M]&&this[ft].length>0){const ht=new $t(this[Fe],"#text");this[B](ht),ht[M]=this[M],delete this[M]}}[at](){return this[Pe]==="#text"?n.HTMLResult.success({name:"#text",value:this[M]}):n.HTMLResult.EMPTY}[ie](){let ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ht?this[ft].filter(Et=>Et[Pe]===ht):this[ft]}[V](){return this[st]}[z](ht){const Et=this[st].get(ht);return Et!==void 0?Et:this[ie](ht)}*[q](ht,Et){const It=this[st].get(ht);It&&(yield It);for(const wt of this[ft])wt[Pe]===ht&&(yield wt),Et&&(yield*wt[q](ht,Et))}*[Y](ht,Et){const It=this[st].get(ht);It&&(!Et||!It[D])&&(yield It);for(const wt of this[ft])yield*wt[Y](ht,Et)}*[Q](ht,Et,It){for(const wt of this[ft])wt[Pe]===ht&&(!It||!wt[D])&&(yield wt),Et&&(yield*wt[Q](ht,Et,It))}[Ie](){return this[ut]===null?this[ft].length===0||this[ft][0][Fe]===v.NamespaceIds.xhtml.id:this[ut]}[$](){return this[ut]===null?this[ft].length===0?this[M].trim():this[ft][0][Fe]===v.NamespaceIds.xhtml.id?this[ft][0][nt]().trim():null:this[M].trim()}[je](ht){ht=ht.value||"",this[M]=ht.toString()}[N](){let ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Et=Object.create(null);ht&&(Et.$ns=this[Fe]),this[M]&&(Et.$content=this[M]),Et.$name=this[Pe],Et.children=[];for(const It of this[ft])Et.children.push(It[N](ht));Et.attributes=Object.create(null);for(const[It,wt]of this[st])Et.attributes[It]=wt[M];return Et}}a.XmlObject=$t;class Wt extends Rt{constructor(ht,Et){super(ht,Et),this[M]=""}[Ee](ht){this[M]+=ht}[W](){}}a.ContentObject=Wt;class Dt extends Wt{constructor(ht,Et,It){super(ht,Et),this[Ut]=It}[W](){this[M]=(0,n.getKeyword)({data:this[M],defaultValue:this[Ut][0],validate:ht=>this[Ut].includes(ht)})}[S](ht){super[S](ht),delete this[Ut]}}a.OptionObject=Dt;class Yt extends Wt{[W](){this[M]=this[M].trim()}}a.StringObject=Yt;class Vt extends Wt{constructor(ht,Et,It,wt){super(ht,Et),this[rt]=It,this[pn]=wt}[W](){this[M]=(0,n.getInteger)({data:this[M],defaultValue:this[rt],validate:this[pn]})}[S](ht){super[S](ht),delete this[rt],delete this[pn]}}a.IntegerObject=Vt;class rn extends Vt{constructor(ht,Et){super(ht,Et,0,It=>It===1)}}a.Option01=rn;class en extends Vt{constructor(ht,Et){super(ht,Et,1,It=>It===0)}}a.Option10=en},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.HTMLResult=void 0,a.getBBox=y,a.getColor=l,a.getFloat=L,a.getInteger=e,a.getKeyword=O,a.getMeasurement=P,a.getRatio=S,a.getRelevant=_,a.getStringOption=B,a.stripQuotes=v;var n=g(2);const c={pt:M=>M,cm:M=>M/2.54*72,mm:M=>M/(10*2.54)*72,in:M=>M*72,px:M=>M},R=/([+-]?\d+\.?\d*)(.*)/;function v(M){return M.startsWith("'")||M.startsWith('"')?M.slice(1,M.length-1):M}function e(M){let{data:F,defaultValue:N,validate:G}=M;if(!F)return N;F=F.trim();const W=parseInt(F,10);return!isNaN(W)&&G(W)?W:N}function L(M){let{data:F,defaultValue:N,validate:G}=M;if(!F)return N;F=F.trim();const W=parseFloat(F);return!isNaN(W)&&G(W)?W:N}function O(M){let{data:F,defaultValue:N,validate:G}=M;return F?(F=F.trim(),G(F)?F:N):N}function B(M,F){return O({data:M,defaultValue:F[0],validate:N=>F.includes(N)})}function P(M){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0";if(F=F||"0",!M)return P(F);const N=M.trim().match(R);if(!N)return P(F);const[,G,W]=N,J=parseFloat(G);if(isNaN(J))return P(F);if(J===0)return 0;const Y=c[W];return Y?Y(J):J}function S(M){if(!M)return{num:1,den:1};const F=M.trim().split(/\s*:\s*/).map(W=>parseFloat(W)).filter(W=>!isNaN(W));if(F.length===1&&F.push(1),F.length===0)return{num:1,den:1};const[N,G]=F;return{num:N,den:G}}function _(M){return M?M.trim().split(/\s+/).map(F=>({excluded:F[0]==="-",viewname:F.substring(1)})):[]}function l(M){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0],[N,G,W]=F;if(!M)return{r:N,g:G,b:W};const J=M.trim().split(/\s*,\s*/).map(Y=>Math.min(Math.max(0,parseInt(Y.trim(),10)),255)).map(Y=>isNaN(Y)?0:Y);return J.length<3?{r:N,g:G,b:W}:([N,G,W]=J,{r:N,g:G,b:W})}function y(M){if(!M)return{x:-1,y:-1,width:-1,height:-1};const N=M.trim().split(/\s*,\s*/).map(V=>P(V,"-1"));if(N.length<4||N[2]<0||N[3]<0)return{x:-1,y:-1,width:-1,height:-1};const[G,W,J,Y]=N;return{x:G,y:W,width:J,height:Y}}class D{static get FAILURE(){return(0,n.shadow)(this,"FAILURE",new D(!1,null,null,null))}static get EMPTY(){return(0,n.shadow)(this,"EMPTY",new D(!0,null,null,null))}constructor(F,N,G,W){this.success=F,this.html=N,this.bbox=G,this.breakNode=W}isBreak(){return!!this.breakNode}static breakNode(F){return new D(!1,null,null,F)}static success(F){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return new D(!0,F,N,null)}}a.HTMLResult=D},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.NamespaceIds=a.$buildXFAObject=void 0;const g=Symbol();a.$buildXFAObject=g;const n={config:{id:0,check:c=>c.startsWith("http://www.xfa.org/schema/xci/")},connectionSet:{id:1,check:c=>c.startsWith("http://www.xfa.org/schema/xfa-connection-set/")},datasets:{id:2,check:c=>c.startsWith("http://www.xfa.org/schema/xfa-data/")},form:{id:3,check:c=>c.startsWith("http://www.xfa.org/schema/xfa-form/")},localeSet:{id:4,check:c=>c.startsWith("http://www.xfa.org/schema/xfa-locale-set/")},pdf:{id:5,check:c=>c==="http://ns.adobe.com/xdp/pdf/"},signature:{id:6,check:c=>c==="http://www.w3.org/2000/09/xmldsig#"},sourceSet:{id:7,check:c=>c.startsWith("http://www.xfa.org/schema/xfa-source-set/")},stylesheet:{id:8,check:c=>c==="http://www.w3.org/1999/XSL/Transform"},template:{id:9,check:c=>c.startsWith("http://www.xfa.org/schema/xfa-template/")},xdc:{id:10,check:c=>c.startsWith("http://www.xfa.org/schema/xdc/")},xdp:{id:11,check:c=>c==="http://ns.adobe.com/xdp/"},xfdf:{id:12,check:c=>c==="http://ns.adobe.com/xfdf/"},xhtml:{id:13,check:c=>c==="http://www.w3.org/1999/xhtml"},xmpmeta:{id:14,check:c=>c==="http://ns.adobe.com/xmpmeta/"}};a.NamespaceIds=n},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.createDataNode=D,a.searchNode=l;var n=g(202),c=g(204),R=g(2);const v=/^[^.[]+/,e=/^[^\]]+/,L={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},O=new Map([["$data",(M,F)=>M.datasets?M.datasets.data:M],["$record",(M,F)=>(M.datasets?M.datasets.data:M)[n.$getChildren]()[0]],["$template",(M,F)=>M.template],["$connectionSet",(M,F)=>M.connectionSet],["$form",(M,F)=>M.form],["$layout",(M,F)=>M.layout],["$host",(M,F)=>M.host],["$dataWindow",(M,F)=>M.dataWindow],["$event",(M,F)=>M.event],["!",(M,F)=>M.datasets],["$xfa",(M,F)=>M],["xfa",(M,F)=>M],["$",(M,F)=>F]]),B=new WeakMap,P=c.NamespaceIds.datasets.id;function S(M){return M=M.trim(),M==="*"?1/0:parseInt(M,10)||0}function _(M,F){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,G=M.match(v);if(!G)return null;let[W]=G;const J=[{name:W,cacheName:"."+W,index:0,js:null,formCalc:null,operator:L.dot}];let Y=W.length;for(;Y3&&arguments[3]!==void 0?arguments[3]:!0,W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;const J=_(N,G);if(!J)return null;const Y=O.get(J[0].name);let V=0,H;Y?(H=!0,M=[Y(M,F)],V=1):(H=F===null,M=[F||M]);for(let z=J.length;V0&&Q.push(Te)}if(Q.length===0&&!H&&V===0){if(F=F[n.$getParent](),!F)return null;V=-1,M=[F];continue}isFinite(fe)?M=Q.filter(ie=>feie[fe]):M=Q.flat()}return M.length===0?null:M}function y(M,F){let N=null;for(const{name:G,index:W}of F){for(let J=0,Y=isFinite(W)?W:0;J<=Y;J++){const V=M[n.$namespaceId]===P?-1:M[n.$namespaceId];N=new n.XmlObject(V,G),M[n.$appendChild](N)}M=N}return N}function D(M,F,N){const G=_(N);if(!G||G.some(Y=>Y.operator===L.dotDot))return null;const W=O.get(G[0].name);let J=0;W?(M=W(M,F),J=1):M=F||M;for(let Y=G.length;J{Object.defineProperty(a,"__esModule",{value:!0}),a.Binder=void 0;var n=g(202),c=g(207),R=g(205),v=g(204),e=g(2);const L=v.NamespaceIds.datasets.id;function O(P){const S=new c.Text({});return S[n.$content]=P,S}class B{constructor(S){this.root=S,this.datasets=S.datasets,S.datasets&&S.datasets.data?this.data=S.datasets.data:this.data=new n.XmlObject(v.NamespaceIds.datasets.id,"data"),this.emptyMerge=this.data[n.$getChildren]().length===0,this.root.form=this.form=S.template[n.$clone]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){return this._bindElement(this.form,this.data),this.form}getData(){return this.data}_bindValue(S,_,l){if(S[n.$data]=_,S[n.$hasSettableValue]())if(_[n.$isDataValue]()){const y=_[n.$getDataValue]();S[n.$setValue](O(y))}else if(S instanceof c.Field&&S.ui&&S.ui.choiceList&&S.ui.choiceList.open==="multiSelect"){const y=_[n.$getChildren]().map(D=>D[n.$content].trim()).join(` +`);S[n.$setValue](O(y))}else this._isConsumeData()&&(0,e.warn)("XFA - Nodes haven't the same type.");else!_[n.$isDataValue]()||this._isMatchTemplate()?this._bindElement(S,_):(0,e.warn)("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(S,_,l,y){if(!S)return null;let D,M;for(let F=0;F<3;F++){for(D=l[n.$getRealChildrenByNameIt](S,!1,!0);M=D.next().value,!!M;)if(_===M[n.$isDataValue]())return M;if(l[n.$namespaceId]===v.NamespaceIds.datasets.id&&l[n.$nodeName]==="data")break;l=l[n.$getParent]()}return y?(D=this.data[n.$getRealChildrenByNameIt](S,!0,!1),M=D.next().value,M||(D=this.data[n.$getAttributeIt](S,!0),M=D.next().value,M&&M[n.$isDataValue]())?M:null):null}_setProperties(S,_){if(S.hasOwnProperty("setProperty"))for(const{ref:l,target:y,connection:D}of S.setProperty.children){if(D||!l)continue;const M=(0,R.searchNode)(this.root,_,l,!1,!1);if(!M){(0,e.warn)(`XFA - Invalid reference: ${l}.`);continue}const[F]=M;if(!F[n.$isDescendent](this.data)){(0,e.warn)("XFA - Invalid node: must be a data node.");continue}const N=(0,R.searchNode)(this.root,S,y,!1,!1);if(!N){(0,e.warn)(`XFA - Invalid target: ${y}.`);continue}const[G]=N;if(!G[n.$isDescendent](S)){(0,e.warn)("XFA - Invalid target: must be a property or subproperty.");continue}const W=G[n.$getParent]();if(G instanceof c.SetProperty||W instanceof c.SetProperty){(0,e.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(G instanceof c.BindItems||W instanceof c.BindItems){(0,e.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const J=F[n.$text](),Y=G[n.$nodeName];if(G instanceof n.XFAAttribute){const V=Object.create(null);V[Y]=J;const H=Reflect.construct(Object.getPrototypeOf(W).constructor,[V]);W[Y]=H[Y];continue}if(!G.hasOwnProperty(n.$content)){(0,e.warn)("XFA - Invalid node to use in setProperty");continue}G[n.$data]=F,G[n.$content]=J,G[n.$finalize]()}}_bindItems(S,_){if(!S.hasOwnProperty("items")||!S.hasOwnProperty("bindItems")||S.bindItems.isEmpty())return;for(const D of S.items.children)S[n.$removeChild](D);S.items.clear();const l=new c.Items({}),y=new c.Items({});S[n.$appendChild](l),S.items.push(l),S[n.$appendChild](y),S.items.push(y);for(const{ref:D,labelRef:M,valueRef:F,connection:N}of S.bindItems.children){if(N||!D)continue;const G=(0,R.searchNode)(this.root,_,D,!1,!1);if(!G){(0,e.warn)(`XFA - Invalid reference: ${D}.`);continue}for(const W of G){if(!W[n.$isDescendent](this.datasets)){(0,e.warn)(`XFA - Invalid ref (${D}): must be a datasets child.`);continue}const J=(0,R.searchNode)(this.root,W,M,!0,!1);if(!J){(0,e.warn)(`XFA - Invalid label: ${M}.`);continue}const[Y]=J;if(!Y[n.$isDescendent](this.datasets)){(0,e.warn)("XFA - Invalid label: must be a datasets child.");continue}const V=(0,R.searchNode)(this.root,W,F,!0,!1);if(!V){(0,e.warn)(`XFA - Invalid value: ${F}.`);continue}const[H]=V;if(!H[n.$isDescendent](this.datasets)){(0,e.warn)("XFA - Invalid value: must be a datasets child.");continue}const z=O(Y[n.$text]()),X=O(H[n.$text]());l[n.$appendChild](z),l.text.push(z),y[n.$appendChild](X),y.text.push(X)}}}_bindOccurrences(S,_,l){let y;if(_.length>1&&(y=S[n.$clone](),y[n.$removeChild](y.occur),y.occur=null),this._bindValue(S,_[0],l),this._setProperties(S,_[0]),this._bindItems(S,_[0]),_.length===1)return;const D=S[n.$getParent](),M=S[n.$nodeName],F=D[n.$indexOf](S);for(let N=1,G=_.length;NN.name===S.name).length:D=l[y].children.length;const M=l[n.$indexOf](S)+1,F=_.initial-D;if(F){const N=S[n.$clone]();N[n.$removeChild](N.occur),N.occur=null,l[y].push(N),l[n.$insertAt](M,N);for(let G=1;G0)this._bindOccurrences(y,[J[0]],null);else if(this.emptyMerge){const Y=_[n.$namespaceId]===L?-1:_[n.$namespaceId],V=y[n.$data]=new n.XmlObject(Y,y.name||"root");_[n.$appendChild](V),this._bindElement(y,V)}continue}if(!y[n.$isBindable]())continue;let D=!1,M=null,F=null,N=null;if(y.bind){switch(y.bind.match){case"none":this._setAndBind(y,_);continue;case"global":D=!0;break;case"dataRef":if(!y.bind.ref){(0,e.warn)(`XFA - ref is empty in node ${y[n.$nodeName]}.`),this._setAndBind(y,_);continue}F=y.bind.ref;break}y.bind.picture&&(M=y.bind.picture[n.$content])}const[G,W]=this._getOccurInfo(y);if(F)if(N=(0,R.searchNode)(this.root,_,F,!0,!1),N===null){if(N=(0,R.createDataNode)(this.data,_,F),!N)continue;this._isConsumeData()&&(N[n.$consumed]=!0),this._setAndBind(y,N);continue}else this._isConsumeData()&&(N=N.filter(J=>!J[n.$consumed])),N.length>W?N=N.slice(0,W):N.length===0&&(N=null),N&&this._isConsumeData()&&N.forEach(J=>{J[n.$consumed]=!0});else{if(!y.name){this._setAndBind(y,_);continue}if(this._isConsumeData()){const J=[];for(;J.length0?J:null}else{if(N=_[n.$getRealChildrenByNameIt](y.name,!1,this.emptyMerge).next().value,!N){if(G===0){l.push(y);continue}const J=_[n.$namespaceId]===L?-1:_[n.$namespaceId];N=y[n.$data]=new n.XmlObject(J,y.name),this.emptyMerge&&(N[n.$consumed]=!0),_[n.$appendChild](N),this._setAndBind(y,N);continue}this.emptyMerge&&(N[n.$consumed]=!0),N=[N]}}N?this._bindOccurrences(y,N,M):G>0?this._setAndBind(y,_):l.push(y)}l.forEach(y=>y[n.$getParent]()[n.$removeChild](y))}}a.Binder=B},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Value=a.Text=a.TemplateNamespace=a.Template=a.SetProperty=a.Items=a.Field=a.BindItems=void 0;var n=g(202),c=g(204),R=g(208),v=g(209),e=g(203),L=g(2),O=g(210),B=g(131),P=g(205);const S=c.NamespaceIds.template.id,_="http://www.w3.org/2000/svg",l=2,y=3,D=5e3,M=/^H(\d+)$/,F=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),N=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function G(yt){if(!yt||!yt.border)return{w:0,h:0};const te=yt.border[n.$getExtra]();return te?{w:te.widths[0]+te.widths[2]+te.insets[0]+te.insets[2],h:te.widths[1]+te.widths[3]+te.insets[1]+te.insets[3]}:{w:0,h:0}}function W(yt){return yt.margin&&(yt.margin.topInset||yt.margin.rightInset||yt.margin.bottomInset||yt.margin.leftInset)}function J(yt,te){if(!yt.value){const Ge=new mr({});yt[n.$appendChild](Ge),yt.value=Ge}yt.value[n.$setValue](te)}function*Y(yt){for(const te of yt[n.$getChildren]()){if(te instanceof ur){yield*te[n.$getContainedChildren]();continue}yield te}}function V(yt){return yt.validate&&yt.validate.nullTest==="error"}function H(yt){for(;yt;){if(!yt.traversal){yt[n.$tabIndex]=yt[n.$getParent]()[n.$tabIndex];return}if(yt[n.$tabIndex])return;let te=null;for(const Tt of yt.traversal[n.$getChildren]())if(Tt.operation==="next"){te=Tt;break}if(!te||!te.ref){yt[n.$tabIndex]=yt[n.$getParent]()[n.$tabIndex];return}const Ge=yt[n.$getTemplateRoot]();yt[n.$tabIndex]=++Ge[n.$tabIndex];const bt=Ge[n.$searchNode](te.ref,yt);if(!bt)return;yt=bt[0]}}function z(yt,te){const Ge=yt.assist;if(Ge){const bt=Ge[n.$toHTML]();bt&&(te.title=bt);const Ft=Ge.role.match(M);if(Ft){const Zt="heading",Qt=Ft[1];te.role=Zt,te["aria-level"]=Qt}}if(yt.layout==="table")te.role="table";else if(yt.layout==="row")te.role="row";else{const bt=yt[n.$getParent]();bt.layout==="row"&&(bt.assist&&bt.assist.role==="TH"?te.role="columnheader":te.role="cell")}}function X(yt){if(!yt.assist)return null;const te=yt.assist;return te.speak&&te.speak[n.$content]!==""?te.speak[n.$content]:te.toolTip?te.toolTip[n.$content]:null}function q(yt){return e.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:yt}]})}function $(yt){const te=yt[n.$getTemplateRoot]();te[n.$extra].firstUnsplittable===null&&(te[n.$extra].firstUnsplittable=yt,te[n.$extra].noLayoutFailure=!0)}function fe(yt){const te=yt[n.$getTemplateRoot]();te[n.$extra].firstUnsplittable===yt&&(te[n.$extra].noLayoutFailure=!1)}function Q(yt){if(yt[n.$extra]||(yt[n.$extra]=Object.create(null),yt.targetType==="auto"))return!1;const te=yt[n.$getTemplateRoot]();let Ge=null;if(yt.target){if(Ge=te[n.$searchNode](yt.target,yt[n.$getParent]()),!Ge)return!1;Ge=Ge[0]}const{currentPageArea:bt,currentContentArea:Tt}=te[n.$extra];if(yt.targetType==="pageArea")return Ge instanceof wt||(Ge=null),yt.startNew?(yt[n.$extra].target=Ge||bt,!0):Ge&&Ge!==bt?(yt[n.$extra].target=Ge,!0):!1;Ge instanceof Le||(Ge=null);const Ft=Ge&&Ge[n.$getParent]();let Zt,Qt=Ft;if(yt.startNew)if(Ge){const tn=Ft.contentArea.children,on=tn.indexOf(Tt),gn=tn.indexOf(Ge);on!==-1&&onyt,bt[n.$extra].noLayoutFailure=!0;const Zt=te[n.$toHTML](Ge);yt[n.$addHTML](Zt.html,Zt.bbox),bt[n.$extra].noLayoutFailure=Tt,te[n.$getSubformParent]=Ft}class Te extends n.StringObject{constructor(te){super(S,"appearanceFilter"),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||""}}class me extends n.XFAObject{constructor(te){super(S,"arc",!0),this.circular=(0,e.getInteger)({data:te.circular,defaultValue:0,validate:Ge=>Ge===1}),this.hand=(0,e.getStringOption)(te.hand,["even","left","right"]),this.id=te.id||"",this.startAngle=(0,e.getFloat)({data:te.startAngle,defaultValue:0,validate:Ge=>!0}),this.sweepAngle=(0,e.getFloat)({data:te.sweepAngle,defaultValue:360,validate:Ge=>!0}),this.use=te.use||"",this.usehref=te.usehref||"",this.edge=null,this.fill=null}[n.$toHTML](){const te=this.edge||new tt({}),Ge=te[n.$toStyle](),bt=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(bt,this.fill[n.$toStyle]()):bt.fill="transparent",bt.strokeWidth=(0,v.measureToString)(te.presence==="visible"?te.thickness:0),bt.stroke=Ge.color;let Tt;const Ft={xmlns:_,style:{width:"100%",height:"100%",overflow:"visible"}};if(this.sweepAngle===360)Tt={name:"ellipse",attributes:{xmlns:_,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:bt}};else{const tn=this.startAngle*Math.PI/180,on=this.sweepAngle*Math.PI/180,gn=this.sweepAngle>180?1:0,[xn,yn,Tn,En]=[50*(1+Math.cos(tn)),50*(1-Math.sin(tn)),50*(1+Math.cos(tn+on)),50*(1-Math.sin(tn+on))];Tt={name:"path",attributes:{xmlns:_,d:`M ${xn} ${yn} A 50 50 0 ${gn} 0 ${Tn} ${En}`,vectorEffect:"non-scaling-stroke",style:bt}},Object.assign(Ft,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const Zt={name:"svg",children:[Tt],attributes:Ft},Qt=this[n.$getParent]()[n.$getParent]();return W(Qt)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Zt]}):(Zt.attributes.style.position="absolute",e.HTMLResult.success(Zt))}}class K extends n.XFAObject{constructor(te){super(S,"area",!0),this.colSpan=(0,e.getInteger)({data:te.colSpan,defaultValue:1,validate:Ge=>Ge>=1||Ge===-1}),this.id=te.id||"",this.name=te.name||"",this.relevant=(0,e.getRelevant)(te.relevant),this.use=te.use||"",this.usehref=te.usehref||"",this.x=(0,e.getMeasurement)(te.x,"0pt"),this.y=(0,e.getMeasurement)(te.y,"0pt"),this.desc=null,this.extras=null,this.area=new n.XFAObjectArray,this.draw=new n.XFAObjectArray,this.exObject=new n.XFAObjectArray,this.exclGroup=new n.XFAObjectArray,this.field=new n.XFAObjectArray,this.subform=new n.XFAObjectArray,this.subformSet=new n.XFAObjectArray}*[n.$getContainedChildren](){yield*Y(this)}[n.$isTransparent](){return!0}[n.$isBindable](){return!0}[n.$addHTML](te,Ge){const[bt,Tt,Ft,Zt]=Ge;this[n.$extra].width=Math.max(this[n.$extra].width,bt+Ft),this[n.$extra].height=Math.max(this[n.$extra].height,Tt+Zt),this[n.$extra].children.push(te)}[n.$getAvailableSpace](){return this[n.$extra].availableSpace}[n.$toHTML](te){const Ge=(0,v.toStyle)(this,"position"),bt={style:Ge,id:this[n.$uid],class:["xfaArea"]};(0,v.isPrintOnly)(this)&&bt.class.push("xfaPrintOnly"),this.name&&(bt.xfaName=this.name);const Tt=[];this[n.$extra]={children:Tt,width:0,height:0,availableSpace:te};const Ft=this[n.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!Ft.success)return Ft.isBreak()?Ft:(delete this[n.$extra],e.HTMLResult.FAILURE);Ge.width=(0,v.measureToString)(this[n.$extra].width),Ge.height=(0,v.measureToString)(this[n.$extra].height);const Zt={name:"div",attributes:bt,children:Tt},Qt=[this.x,this.y,this[n.$extra].width,this[n.$extra].height];return delete this[n.$extra],e.HTMLResult.success(Zt,Qt)}}class ce extends n.XFAObject{constructor(te){super(S,"assist",!0),this.id=te.id||"",this.role=te.role||"",this.use=te.use||"",this.usehref=te.usehref||"",this.speak=null,this.toolTip=null}[n.$toHTML](){return this.toolTip&&this.toolTip[n.$content]?this.toolTip[n.$content]:null}}class de extends n.XFAObject{constructor(te){super(S,"barcode",!0),this.charEncoding=(0,e.getKeyword)({data:te.charEncoding?te.charEncoding.toLowerCase():"",defaultValue:"",validate:Ge=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(Ge)||Ge.match(/iso-8859-\d{2}/)}),this.checksum=(0,e.getStringOption)(te.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),this.dataColumnCount=(0,e.getInteger)({data:te.dataColumnCount,defaultValue:-1,validate:Ge=>Ge>=0}),this.dataLength=(0,e.getInteger)({data:te.dataLength,defaultValue:-1,validate:Ge=>Ge>=0}),this.dataPrep=(0,e.getStringOption)(te.dataPrep,["none","flateCompress"]),this.dataRowCount=(0,e.getInteger)({data:te.dataRowCount,defaultValue:-1,validate:Ge=>Ge>=0}),this.endChar=te.endChar||"",this.errorCorrectionLevel=(0,e.getInteger)({data:te.errorCorrectionLevel,defaultValue:-1,validate:Ge=>Ge>=0&&Ge<=8}),this.id=te.id||"",this.moduleHeight=(0,e.getMeasurement)(te.moduleHeight,"5mm"),this.moduleWidth=(0,e.getMeasurement)(te.moduleWidth,"0.25mm"),this.printCheckDigit=(0,e.getInteger)({data:te.printCheckDigit,defaultValue:0,validate:Ge=>Ge===1}),this.rowColumnRatio=(0,e.getRatio)(te.rowColumnRatio),this.startChar=te.startChar||"",this.textLocation=(0,e.getStringOption)(te.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),this.truncate=(0,e.getInteger)({data:te.truncate,defaultValue:0,validate:Ge=>Ge===1}),this.type=(0,e.getStringOption)(te.type?te.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),this.upsMode=(0,e.getStringOption)(te.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),this.use=te.use||"",this.usehref=te.usehref||"",this.wideNarrowRatio=(0,e.getRatio)(te.wideNarrowRatio),this.encrypt=null,this.extras=null}}class Z extends n.XFAObject{constructor(te){super(S,"bind",!0),this.match=(0,e.getStringOption)(te.match,["once","dataRef","global","none"]),this.ref=te.ref||"",this.picture=null}}class ae extends n.XFAObject{constructor(te){super(S,"bindItems"),this.connection=te.connection||"",this.labelRef=te.labelRef||"",this.ref=te.ref||"",this.valueRef=te.valueRef||""}}a.BindItems=ae;class he extends n.XFAObject{constructor(te){super(S,"bookend"),this.id=te.id||"",this.leader=te.leader||"",this.trailer=te.trailer||"",this.use=te.use||"",this.usehref=te.usehref||""}}class we extends n.Option01{constructor(te){super(S,"boolean"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$toHTML](te){return q(this[n.$content]===1?"1":"0")}}class _e extends n.XFAObject{constructor(te){super(S,"border",!0),this.break=(0,e.getStringOption)(te.break,["close","open"]),this.hand=(0,e.getStringOption)(te.hand,["even","left","right"]),this.id=te.id||"",this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(te.relevant),this.use=te.use||"",this.usehref=te.usehref||"",this.corner=new n.XFAObjectArray(4),this.edge=new n.XFAObjectArray(4),this.extras=null,this.fill=null,this.margin=null}[n.$getExtra](){if(!this[n.$extra]){const te=this.edge.children.slice();if(te.length<4){const Tt=te.at(-1)||new tt({});for(let Ft=te.length;Ft<4;Ft++)te.push(Tt)}const Ge=te.map(Tt=>Tt.thickness),bt=[0,0,0,0];this.margin&&(bt[0]=this.margin.topInset,bt[1]=this.margin.rightInset,bt[2]=this.margin.bottomInset,bt[3]=this.margin.leftInset),this[n.$extra]={widths:Ge,insets:bt,edges:te}}return this[n.$extra]}[n.$toStyle](){const{edges:te}=this[n.$getExtra](),Ge=te.map(Tt=>{const Ft=Tt[n.$toStyle]();return Ft.color=Ft.color||"#000000",Ft}),bt=Object.create(null);if(this.margin&&Object.assign(bt,this.margin[n.$toStyle]()),this.fill&&this.fill.presence==="visible"&&Object.assign(bt,this.fill[n.$toStyle]()),this.corner.children.some(Tt=>Tt.radius!==0)){const Tt=this.corner.children.map(Ft=>Ft[n.$toStyle]());if(Tt.length===2||Tt.length===3){const Ft=Tt.at(-1);for(let Zt=Tt.length;Zt<4;Zt++)Tt.push(Ft)}bt.borderRadius=Tt.map(Ft=>Ft.radius).join(" ")}switch(this.presence){case"invisible":case"hidden":bt.borderStyle="";break;case"inactive":bt.borderStyle="none";break;default:bt.borderStyle=Ge.map(Tt=>Tt.style).join(" ");break}return bt.borderWidth=Ge.map(Tt=>Tt.width).join(" "),bt.borderColor=Ge.map(Tt=>Tt.color).join(" "),bt}}class ye extends n.XFAObject{constructor(te){super(S,"break",!0),this.after=(0,e.getStringOption)(te.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.afterTarget=te.afterTarget||"",this.before=(0,e.getStringOption)(te.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.beforeTarget=te.beforeTarget||"",this.bookendLeader=te.bookendLeader||"",this.bookendTrailer=te.bookendTrailer||"",this.id=te.id||"",this.overflowLeader=te.overflowLeader||"",this.overflowTarget=te.overflowTarget||"",this.overflowTrailer=te.overflowTrailer||"",this.startNew=(0,e.getInteger)({data:te.startNew,defaultValue:0,validate:Ge=>Ge===1}),this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null}}class se extends n.XFAObject{constructor(te){super(S,"breakAfter",!0),this.id=te.id||"",this.leader=te.leader||"",this.startNew=(0,e.getInteger)({data:te.startNew,defaultValue:0,validate:Ge=>Ge===1}),this.target=te.target||"",this.targetType=(0,e.getStringOption)(te.targetType,["auto","contentArea","pageArea"]),this.trailer=te.trailer||"",this.use=te.use||"",this.usehref=te.usehref||"",this.script=null}}class Ie extends n.XFAObject{constructor(te){super(S,"breakBefore",!0),this.id=te.id||"",this.leader=te.leader||"",this.startNew=(0,e.getInteger)({data:te.startNew,defaultValue:0,validate:Ge=>Ge===1}),this.target=te.target||"",this.targetType=(0,e.getStringOption)(te.targetType,["auto","contentArea","pageArea"]),this.trailer=te.trailer||"",this.use=te.use||"",this.usehref=te.usehref||"",this.script=null}[n.$toHTML](te){return this[n.$extra]={},e.HTMLResult.FAILURE}}class Ce extends n.XFAObject{constructor(te){super(S,"button",!0),this.highlight=(0,e.getStringOption)(te.highlight,["inverted","none","outline","push"]),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null}[n.$toHTML](te){const bt=this[n.$getParent]()[n.$getParent](),Tt={name:"button",attributes:{id:this[n.$uid],class:["xfaButton"],style:{}},children:[]};for(const Ft of bt.event.children){if(Ft.activity!=="click"||!Ft.script)continue;const Zt=(0,B.recoverJsURL)(Ft.script[n.$content]);if(!Zt)continue;const Qt=(0,v.fixURL)(Zt.url);Qt&&Tt.children.push({name:"a",attributes:{id:"link"+this[n.$uid],href:Qt,newWindow:Zt.newWindow,class:["xfaLink"],style:{}},children:[]})}return e.HTMLResult.success(Tt)}}class oe extends n.XFAObject{constructor(te){super(S,"calculate",!0),this.id=te.id||"",this.override=(0,e.getStringOption)(te.override,["disabled","error","ignore","warning"]),this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.message=null,this.script=null}}class pe extends n.XFAObject{constructor(te){super(S,"caption",!0),this.id=te.id||"",this.placement=(0,e.getStringOption)(te.placement,["left","bottom","inline","right","top"]),this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.reserve=Math.ceil((0,e.getMeasurement)(te.reserve)),this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.font=null,this.margin=null,this.para=null,this.value=null}[n.$setValue](te){J(this,te)}[n.$getExtra](te){if(!this[n.$extra]){let{width:Ge,height:bt}=te;switch(this.placement){case"left":case"right":case"inline":Ge=this.reserve<=0?Ge:this.reserve;break;case"top":case"bottom":bt=this.reserve<=0?bt:this.reserve;break}this[n.$extra]=(0,v.layoutNode)(this,{width:Ge,height:bt})}return this[n.$extra]}[n.$toHTML](te){if(!this.value)return e.HTMLResult.EMPTY;this[n.$pushPara]();const Ge=this.value[n.$toHTML](te).html;if(!Ge)return this[n.$popPara](),e.HTMLResult.EMPTY;const bt=this.reserve;if(this.reserve<=0){const{w:Zt,h:Qt}=this[n.$getExtra](te);switch(this.placement){case"left":case"right":case"inline":this.reserve=Zt;break;case"top":case"bottom":this.reserve=Qt;break}}const Tt=[];typeof Ge=="string"?Tt.push({name:"#text",value:Ge}):Tt.push(Ge);const Ft=(0,v.toStyle)(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(Ft.width=(0,v.measureToString)(this.reserve));break;case"top":case"bottom":this.reserve>0&&(Ft.height=(0,v.measureToString)(this.reserve));break}return(0,v.setPara)(this,null,Ge),this[n.$popPara](),this.reserve=bt,e.HTMLResult.success({name:"div",attributes:{style:Ft,class:["xfaCaption"]},children:Tt})}}class xe extends n.StringObject{constructor(te){super(S,"certificate"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}}class Ne extends n.XFAObject{constructor(te){super(S,"certificates",!0),this.credentialServerPolicy=(0,e.getStringOption)(te.credentialServerPolicy,["optional","required"]),this.id=te.id||"",this.url=te.url||"",this.urlPolicy=te.urlPolicy||"",this.use=te.use||"",this.usehref=te.usehref||"",this.encryption=null,this.issuers=null,this.keyUsage=null,this.oids=null,this.signing=null,this.subjectDNs=null}}class ke extends n.XFAObject{constructor(te){super(S,"checkButton",!0),this.id=te.id||"",this.mark=(0,e.getStringOption)(te.mark,["default","check","circle","cross","diamond","square","star"]),this.shape=(0,e.getStringOption)(te.shape,["square","round"]),this.size=(0,e.getMeasurement)(te.size,"10pt"),this.use=te.use||"",this.usehref=te.usehref||"",this.border=null,this.extras=null,this.margin=null}[n.$toHTML](te){const Ge=(0,v.toStyle)("margin"),bt=(0,v.measureToString)(this.size);Ge.width=Ge.height=bt;let Tt,Ft,Zt;const Qt=this[n.$getParent]()[n.$getParent](),tn=Qt.items.children.length&&Qt.items.children[0][n.$toHTML]().html||[],on={on:(tn[0]!==void 0?tn[0]:"on").toString(),off:(tn[1]!==void 0?tn[1]:"off").toString()},xn=(Qt.value&&Qt.value[n.$text]()||"off")===on.on||void 0,yn=Qt[n.$getSubformParent](),Tn=Qt[n.$uid];let En;yn instanceof _t?(Zt=yn[n.$uid],Tt="radio",Ft="xfaRadio",En=yn[n.$data]&&yn[n.$data][n.$uid]||yn[n.$uid]):(Tt="checkbox",Ft="xfaCheckbox",En=Qt[n.$data]&&Qt[n.$data][n.$uid]||Qt[n.$uid]);const ln={name:"input",attributes:{class:[Ft],style:Ge,fieldId:Tn,dataId:En,type:Tt,checked:xn,xfaOn:on.on,xfaOff:on.off,"aria-label":X(Qt),"aria-required":!1}};return Zt&&(ln.attributes.name=Zt),V(Qt)&&(ln.attributes["aria-required"]=!0,ln.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[ln]})}}class De extends n.XFAObject{constructor(te){super(S,"choiceList",!0),this.commitOn=(0,e.getStringOption)(te.commitOn,["select","exit"]),this.id=te.id||"",this.open=(0,e.getStringOption)(te.open,["userControl","always","multiSelect","onEntry"]),this.textEntry=(0,e.getInteger)({data:te.textEntry,defaultValue:0,validate:Ge=>Ge===1}),this.use=te.use||"",this.usehref=te.usehref||"",this.border=null,this.extras=null,this.margin=null}[n.$toHTML](te){const Ge=(0,v.toStyle)(this,"border","margin"),Tt=this[n.$getParent]()[n.$getParent](),Zt={fontSize:`calc(${Tt.font&&Tt.font.size||10}px * var(--scale-factor))`},Qt=[];if(Tt.items.children.length>0){const on=Tt.items;let gn=0,xn=0;on.children.length===2&&(gn=on.children[0].save,xn=1-gn);const yn=on.children[gn][n.$toHTML]().html,Tn=on.children[xn][n.$toHTML]().html;let En=!1;const ln=Tt.value&&Tt.value[n.$text]()||"";for(let Rn=0,cn=yn.length;RnGe>=0}),this.use=te.use||"",this.usehref=te.usehref||""}}class qe extends n.XFAObject{constructor(te){super(S,"connect",!0),this.connection=te.connection||"",this.id=te.id||"",this.ref=te.ref||"",this.usage=(0,e.getStringOption)(te.usage,["exportAndImport","exportOnly","importOnly"]),this.use=te.use||"",this.usehref=te.usehref||"",this.picture=null}}class Le extends n.XFAObject{constructor(te){super(S,"contentArea",!0),this.h=(0,e.getMeasurement)(te.h),this.id=te.id||"",this.name=te.name||"",this.relevant=(0,e.getRelevant)(te.relevant),this.use=te.use||"",this.usehref=te.usehref||"",this.w=(0,e.getMeasurement)(te.w),this.x=(0,e.getMeasurement)(te.x,"0pt"),this.y=(0,e.getMeasurement)(te.y,"0pt"),this.desc=null,this.extras=null}[n.$toHTML](te){const Ge=(0,v.measureToString)(this.x),bt=(0,v.measureToString)(this.y),Tt={left:Ge,top:bt,width:(0,v.measureToString)(this.w),height:(0,v.measureToString)(this.h)},Ft=["xfaContentarea"];return(0,v.isPrintOnly)(this)&&Ft.push("xfaPrintOnly"),e.HTMLResult.success({name:"div",children:[],attributes:{style:Tt,class:Ft,id:this[n.$uid]}})}}class Oe extends n.XFAObject{constructor(te){super(S,"corner",!0),this.id=te.id||"",this.inverted=(0,e.getInteger)({data:te.inverted,defaultValue:0,validate:Ge=>Ge===1}),this.join=(0,e.getStringOption)(te.join,["square","round"]),this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.radius=(0,e.getMeasurement)(te.radius),this.stroke=(0,e.getStringOption)(te.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,e.getMeasurement)(te.thickness,"0.5pt"),this.use=te.use||"",this.usehref=te.usehref||"",this.color=null,this.extras=null}[n.$toStyle](){const te=(0,v.toStyle)(this,"visibility");return te.radius=(0,v.measureToString)(this.join==="square"?0:this.radius),te}}class Ee extends n.ContentObject{constructor(te){super(S,"date"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){const te=this[n.$content].trim();this[n.$content]=te?new Date(te):null}[n.$toHTML](te){return q(this[n.$content]?this[n.$content].toString():"")}}class Ae extends n.ContentObject{constructor(te){super(S,"dateTime"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){const te=this[n.$content].trim();this[n.$content]=te?new Date(te):null}[n.$toHTML](te){return q(this[n.$content]?this[n.$content].toString():"")}}class Ve extends n.XFAObject{constructor(te){super(S,"dateTimeEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(te.hScrollPolicy,["auto","off","on"]),this.id=te.id||"",this.picker=(0,e.getStringOption)(te.picker,["host","none"]),this.use=te.use||"",this.usehref=te.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[n.$toHTML](te){const Ge=(0,v.toStyle)(this,"border","font","margin"),bt=this[n.$getParent]()[n.$getParent](),Tt={name:"input",attributes:{type:"text",fieldId:bt[n.$uid],dataId:bt[n.$data]&&bt[n.$data][n.$uid]||bt[n.$uid],class:["xfaTextfield"],style:Ge,"aria-label":X(bt),"aria-required":!1}};return V(bt)&&(Tt.attributes["aria-required"]=!0,Tt.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[Tt]})}}class $e extends n.ContentObject{constructor(te){super(S,"decimal"),this.fracDigits=(0,e.getInteger)({data:te.fracDigits,defaultValue:2,validate:Ge=>!0}),this.id=te.id||"",this.leadDigits=(0,e.getInteger)({data:te.leadDigits,defaultValue:-1,validate:Ge=>!0}),this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){const te=parseFloat(this[n.$content].trim());this[n.$content]=isNaN(te)?null:te}[n.$toHTML](te){return q(this[n.$content]!==null?this[n.$content].toString():"")}}class Ue extends n.XFAObject{constructor(te){super(S,"defaultUi",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null}}class He extends n.XFAObject{constructor(te){super(S,"desc",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.boolean=new n.XFAObjectArray,this.date=new n.XFAObjectArray,this.dateTime=new n.XFAObjectArray,this.decimal=new n.XFAObjectArray,this.exData=new n.XFAObjectArray,this.float=new n.XFAObjectArray,this.image=new n.XFAObjectArray,this.integer=new n.XFAObjectArray,this.text=new n.XFAObjectArray,this.time=new n.XFAObjectArray}}class Qe extends n.OptionObject{constructor(te){super(S,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||""}}class Ze extends n.XFAObject{constructor(te){super(S,"digestMethods",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.digestMethod=new n.XFAObjectArray}}class et extends n.XFAObject{constructor(te){super(S,"draw",!0),this.anchorType=(0,e.getStringOption)(te.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:te.colSpan,defaultValue:1,validate:Ge=>Ge>=1||Ge===-1}),this.h=te.h?(0,e.getMeasurement)(te.h):"",this.hAlign=(0,e.getStringOption)(te.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=te.id||"",this.locale=te.locale||"",this.maxH=(0,e.getMeasurement)(te.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(te.maxW,"0pt"),this.minH=(0,e.getMeasurement)(te.minH,"0pt"),this.minW=(0,e.getMeasurement)(te.minW,"0pt"),this.name=te.name||"",this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(te.relevant),this.rotate=(0,e.getInteger)({data:te.rotate,defaultValue:0,validate:Ge=>Ge%90===0}),this.use=te.use||"",this.usehref=te.usehref||"",this.w=te.w?(0,e.getMeasurement)(te.w):"",this.x=(0,e.getMeasurement)(te.x,"0pt"),this.y=(0,e.getMeasurement)(te.y,"0pt"),this.assist=null,this.border=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.value=null,this.setProperty=new n.XFAObjectArray}[n.$setValue](te){J(this,te)}[n.$toHTML](te){if(H(this),this.presence==="hidden"||this.presence==="inactive")return e.HTMLResult.EMPTY;(0,v.fixDimensions)(this),this[n.$pushPara]();const Ge=this.w,bt=this.h,{w:Tt,h:Ft,isBroken:Zt}=(0,v.layoutNode)(this,te);if(Tt&&this.w===""){if(Zt&&this[n.$getSubformParent]()[n.$isThereMoreWidth]())return this[n.$popPara](),e.HTMLResult.FAILURE;this.w=Tt}if(Ft&&this.h===""&&(this.h=Ft),$(this),!(0,R.checkDimensions)(this,te))return this.w=Ge,this.h=bt,this[n.$popPara](),e.HTMLResult.FAILURE;fe(this);const Qt=(0,v.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");(0,v.setMinMaxDimensions)(this,Qt),Qt.margin&&(Qt.padding=Qt.margin,delete Qt.margin);const tn=["xfaDraw"];this.font&&tn.push("xfaFont"),(0,v.isPrintOnly)(this)&&tn.push("xfaPrintOnly");const on={style:Qt,id:this[n.$uid],class:tn};this.name&&(on.xfaName=this.name);const gn={name:"div",attributes:on,children:[]};z(this,on);const xn=(0,v.computeBbox)(this,gn,te),yn=this.value?this.value[n.$toHTML](te).html:null;return yn===null?(this.w=Ge,this.h=bt,this[n.$popPara](),e.HTMLResult.success((0,v.createWrapper)(this,gn),xn)):(gn.children.push(yn),(0,v.setPara)(this,Qt,yn),this.w=Ge,this.h=bt,this[n.$popPara](),e.HTMLResult.success((0,v.createWrapper)(this,gn),xn))}}class tt extends n.XFAObject{constructor(te){super(S,"edge",!0),this.cap=(0,e.getStringOption)(te.cap,["square","butt","round"]),this.id=te.id||"",this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.stroke=(0,e.getStringOption)(te.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,e.getMeasurement)(te.thickness,"0.5pt"),this.use=te.use||"",this.usehref=te.usehref||"",this.color=null,this.extras=null}[n.$toStyle](){const te=(0,v.toStyle)(this,"visibility");if(Object.assign(te,{linecap:this.cap,width:(0,v.measureToString)(this.thickness),color:this.color?this.color[n.$toStyle]():"#000000",style:""}),this.presence!=="visible")te.style="none";else switch(this.stroke){case"solid":te.style="solid";break;case"dashDot":te.style="dashed";break;case"dashDotDot":te.style="dashed";break;case"dashed":te.style="dashed";break;case"dotted":te.style="dotted";break;case"embossed":te.style="ridge";break;case"etched":te.style="groove";break;case"lowered":te.style="inset";break;case"raised":te.style="outset";break}return te}}class je extends n.OptionObject{constructor(te){super(S,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||""}}class Je extends n.XFAObject{constructor(te){super(S,"encodings",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.encoding=new n.XFAObjectArray}}class nt extends n.XFAObject{constructor(te){super(S,"encrypt",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.certificate=null}}class Ke extends n.XFAObject{constructor(te){super(S,"encryptData",!0),this.id=te.id||"",this.operation=(0,e.getStringOption)(te.operation,["encrypt","decrypt"]),this.target=te.target||"",this.use=te.use||"",this.usehref=te.usehref||"",this.filter=null,this.manifest=null}}class at extends n.XFAObject{constructor(te){super(S,"encryption",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.certificate=new n.XFAObjectArray}}class ot extends n.OptionObject{constructor(te){super(S,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||""}}class Xe extends n.XFAObject{constructor(te){super(S,"encryptionMethods",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.encryptionMethod=new n.XFAObjectArray}}class ze extends n.XFAObject{constructor(te){super(S,"event",!0),this.activity=(0,e.getStringOption)(te.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),this.id=te.id||"",this.listen=(0,e.getStringOption)(te.listen,["refOnly","refAndDescendents"]),this.name=te.name||"",this.ref=te.ref||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.encryptData=null,this.execute=null,this.script=null,this.signData=null,this.submit=null}}class Ye extends n.ContentObject{constructor(te){super(S,"exData"),this.contentType=te.contentType||"",this.href=te.href||"",this.id=te.id||"",this.maxLength=(0,e.getInteger)({data:te.maxLength,defaultValue:-1,validate:Ge=>Ge>=-1}),this.name=te.name||"",this.rid=te.rid||"",this.transferEncoding=(0,e.getStringOption)(te.transferEncoding,["none","base64","package"]),this.use=te.use||"",this.usehref=te.usehref||""}[n.$isCDATAXml](){return this.contentType==="text/html"}[n.$onChild](te){return this.contentType==="text/html"&&te[n.$namespaceId]===c.NamespaceIds.xhtml.id?(this[n.$content]=te,!0):this.contentType==="text/xml"?(this[n.$content]=te,!0):!1}[n.$toHTML](te){return this.contentType!=="text/html"||!this[n.$content]?e.HTMLResult.EMPTY:this[n.$content][n.$toHTML](te)}}class st extends n.XFAObject{constructor(te){super(S,"exObject",!0),this.archive=te.archive||"",this.classId=te.classId||"",this.codeBase=te.codeBase||"",this.codeType=te.codeType||"",this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.boolean=new n.XFAObjectArray,this.date=new n.XFAObjectArray,this.dateTime=new n.XFAObjectArray,this.decimal=new n.XFAObjectArray,this.exData=new n.XFAObjectArray,this.exObject=new n.XFAObjectArray,this.float=new n.XFAObjectArray,this.image=new n.XFAObjectArray,this.integer=new n.XFAObjectArray,this.text=new n.XFAObjectArray,this.time=new n.XFAObjectArray}}class _t extends n.XFAObject{constructor(te){super(S,"exclGroup",!0),this.access=(0,e.getStringOption)(te.access,["open","nonInteractive","protected","readOnly"]),this.accessKey=te.accessKey||"",this.anchorType=(0,e.getStringOption)(te.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:te.colSpan,defaultValue:1,validate:Ge=>Ge>=1||Ge===-1}),this.h=te.h?(0,e.getMeasurement)(te.h):"",this.hAlign=(0,e.getStringOption)(te.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=te.id||"",this.layout=(0,e.getStringOption)(te.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.maxH=(0,e.getMeasurement)(te.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(te.maxW,"0pt"),this.minH=(0,e.getMeasurement)(te.minH,"0pt"),this.minW=(0,e.getMeasurement)(te.minW,"0pt"),this.name=te.name||"",this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(te.relevant),this.use=te.use||"",this.usehref=te.usehref||"",this.w=te.w?(0,e.getMeasurement)(te.w):"",this.x=(0,e.getMeasurement)(te.x,"0pt"),this.y=(0,e.getMeasurement)(te.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.margin=null,this.para=null,this.traversal=null,this.validate=null,this.connect=new n.XFAObjectArray,this.event=new n.XFAObjectArray,this.field=new n.XFAObjectArray,this.setProperty=new n.XFAObjectArray}[n.$isBindable](){return!0}[n.$hasSettableValue](){return!0}[n.$setValue](te){for(const Ge of this.field.children){if(!Ge.value){const bt=new mr({});Ge[n.$appendChild](bt),Ge.value=bt}Ge.value[n.$setValue](te)}}[n.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[n.$extra].attempt===0&&this[n.$extra].numberInLine>0||this[n.$getParent]()[n.$isThereMoreWidth]()}[n.$isSplittable](){const te=this[n.$getSubformParent]();return te[n.$isSplittable]()?this[n.$extra]._isSplittable!==void 0?this[n.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[n.$extra]._isSplittable=!1,!1):te.layout&&te.layout.endsWith("-tb")&&te[n.$extra].numberInLine!==0?!1:(this[n.$extra]._isSplittable=!0,!0):!1}[n.$flushHTML](){return(0,R.flushHTML)(this)}[n.$addHTML](te,Ge){(0,R.addHTML)(this,te,Ge)}[n.$getAvailableSpace](){return(0,R.getAvailableSpace)(this)}[n.$toHTML](te){if(H(this),this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return e.HTMLResult.EMPTY;(0,v.fixDimensions)(this);const Ge=[],bt={id:this[n.$uid],class:[]};(0,v.setAccess)(this,bt.class),this[n.$extra]||(this[n.$extra]=Object.create(null)),Object.assign(this[n.$extra],{children:Ge,attributes:bt,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,te.width),height:Math.min(this.h||1/0,te.height)},width:0,height:0,prevHeight:0,currentWidth:0});const Tt=this[n.$isSplittable]();if(Tt||$(this),!(0,R.checkDimensions)(this,te))return e.HTMLResult.FAILURE;const Ft=new Set(["field"]);if(this.layout.includes("row")){const cn=this[n.$getSubformParent]().columnWidths;Array.isArray(cn)&&cn.length>0&&(this[n.$extra].columnWidths=cn,this[n.$extra].currentColumn=0)}const Zt=(0,v.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),Qt=["xfaExclgroup"],tn=(0,v.layoutClass)(this);tn&&Qt.push(tn),(0,v.isPrintOnly)(this)&&Qt.push("xfaPrintOnly"),bt.style=Zt,bt.class=Qt,this.name&&(bt.xfaName=this.name),this[n.$pushPara]();const on=this.layout==="lr-tb"||this.layout==="rl-tb",gn=on?l:1;for(;this[n.$extra].attemptGe>=1||Ge===-1}),this.h=te.h?(0,e.getMeasurement)(te.h):"",this.hAlign=(0,e.getStringOption)(te.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=te.id||"",this.locale=te.locale||"",this.maxH=(0,e.getMeasurement)(te.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(te.maxW,"0pt"),this.minH=(0,e.getMeasurement)(te.minH,"0pt"),this.minW=(0,e.getMeasurement)(te.minW,"0pt"),this.name=te.name||"",this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(te.relevant),this.rotate=(0,e.getInteger)({data:te.rotate,defaultValue:0,validate:Ge=>Ge%90===0}),this.use=te.use||"",this.usehref=te.usehref||"",this.w=te.w?(0,e.getMeasurement)(te.w):"",this.x=(0,e.getMeasurement)(te.x,"0pt"),this.y=(0,e.getMeasurement)(te.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.format=null,this.items=new n.XFAObjectArray(2),this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.validate=null,this.value=null,this.bindItems=new n.XFAObjectArray,this.connect=new n.XFAObjectArray,this.event=new n.XFAObjectArray,this.setProperty=new n.XFAObjectArray}[n.$isBindable](){return!0}[n.$setValue](te){J(this,te)}[n.$toHTML](te){if(H(this),!this.ui){this.ui=new Ln({}),this.ui[n.$globalData]=this[n.$globalData],this[n.$appendChild](this.ui);let cn;switch(this.items.children.length){case 0:cn=new fr({}),this.ui.textEdit=cn;break;case 1:cn=new ke({}),this.ui.checkButton=cn;break;case 2:cn=new De({}),this.ui.choiceList=cn;break}this.ui[n.$appendChild](cn)}if(!this.ui||this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return e.HTMLResult.EMPTY;this.caption&&delete this.caption[n.$extra],this[n.$pushPara]();const Ge=this.caption?this.caption[n.$toHTML](te).html:null,bt=this.w,Tt=this.h;let Ft=0,Zt=0;this.margin&&(Ft=this.margin.leftInset+this.margin.rightInset,Zt=this.margin.topInset+this.margin.bottomInset);let Qt=null;if(this.w===""||this.h===""){let cn=null,fn=null,In=0,dn=0;if(this.ui.checkButton)In=dn=this.ui.checkButton.size;else{const{w:Yn,h:Fn}=(0,v.layoutNode)(this,te);Yn!==null?(In=Yn,dn=Fn):dn=(0,O.getMetrics)(this.font,!0).lineNoGap}if(Qt=G(this.ui[n.$getExtra]()),In+=Qt.w,dn+=Qt.h,this.caption){const{w:Yn,h:Fn,isBroken:On}=this.caption[n.$getExtra](te);if(On&&this[n.$getSubformParent]()[n.$isThereMoreWidth]())return this[n.$popPara](),e.HTMLResult.FAILURE;switch(cn=Yn,fn=Fn,this.caption.placement){case"left":case"right":case"inline":cn+=In;break;case"top":case"bottom":fn+=dn;break}}else cn=In,fn=dn;cn&&this.w===""&&(cn+=Ft,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1Ge>=1&&Ge<=5}),this.appearanceFilter=null,this.certificates=null,this.digestMethods=null,this.encodings=null,this.encryptionMethods=null,this.handler=null,this.lockDocument=null,this.mdp=null,this.reasons=null,this.timeStamp=null}}class Ot extends n.ContentObject{constructor(te){super(S,"float"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){const te=parseFloat(this[n.$content].trim());this[n.$content]=isNaN(te)?null:te}[n.$toHTML](te){return q(this[n.$content]!==null?this[n.$content].toString():"")}}class dt extends n.XFAObject{constructor(te){super(S,"font",!0),this.baselineShift=(0,e.getMeasurement)(te.baselineShift),this.fontHorizontalScale=(0,e.getFloat)({data:te.fontHorizontalScale,defaultValue:100,validate:Ge=>Ge>=0}),this.fontVerticalScale=(0,e.getFloat)({data:te.fontVerticalScale,defaultValue:100,validate:Ge=>Ge>=0}),this.id=te.id||"",this.kerningMode=(0,e.getStringOption)(te.kerningMode,["none","pair"]),this.letterSpacing=(0,e.getMeasurement)(te.letterSpacing,"0"),this.lineThrough=(0,e.getInteger)({data:te.lineThrough,defaultValue:0,validate:Ge=>Ge===1||Ge===2}),this.lineThroughPeriod=(0,e.getStringOption)(te.lineThroughPeriod,["all","word"]),this.overline=(0,e.getInteger)({data:te.overline,defaultValue:0,validate:Ge=>Ge===1||Ge===2}),this.overlinePeriod=(0,e.getStringOption)(te.overlinePeriod,["all","word"]),this.posture=(0,e.getStringOption)(te.posture,["normal","italic"]),this.size=(0,e.getMeasurement)(te.size,"10pt"),this.typeface=te.typeface||"Courier",this.underline=(0,e.getInteger)({data:te.underline,defaultValue:0,validate:Ge=>Ge===1||Ge===2}),this.underlinePeriod=(0,e.getStringOption)(te.underlinePeriod,["all","word"]),this.use=te.use||"",this.usehref=te.usehref||"",this.weight=(0,e.getStringOption)(te.weight,["normal","bold"]),this.extras=null,this.fill=null}[n.$clean](te){super[n.$clean](te),this[n.$globalData].usedTypefaces.add(this.typeface)}[n.$toStyle](){const te=(0,v.toStyle)(this,"fill"),Ge=te.color;return Ge&&(Ge==="#000000"?delete te.color:Ge.startsWith("#")||(te.background=Ge,te.backgroundClip="text",te.color="transparent")),this.baselineShift&&(te.verticalAlign=(0,v.measureToString)(this.baselineShift)),te.fontKerning=this.kerningMode==="none"?"none":"normal",te.letterSpacing=(0,v.measureToString)(this.letterSpacing),this.lineThrough!==0&&(te.textDecoration="line-through",this.lineThrough===2&&(te.textDecorationStyle="double")),this.overline!==0&&(te.textDecoration="overline",this.overline===2&&(te.textDecorationStyle="double")),te.fontStyle=this.posture,te.fontSize=(0,v.measureToString)(.99*this.size),(0,v.setFontFamily)(this,this,this[n.$globalData].fontFinder,te),this.underline!==0&&(te.textDecoration="underline",this.underline===2&&(te.textDecorationStyle="double")),te.fontWeight=this.weight,te}}class Nt extends n.XFAObject{constructor(te){super(S,"format",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.picture=null}}class kt extends n.StringObject{constructor(te){super(S,"handler"),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||""}}class Ut extends n.XFAObject{constructor(te){super(S,"hyphenation"),this.excludeAllCaps=(0,e.getInteger)({data:te.excludeAllCaps,defaultValue:0,validate:Ge=>Ge===1}),this.excludeInitialCap=(0,e.getInteger)({data:te.excludeInitialCap,defaultValue:0,validate:Ge=>Ge===1}),this.hyphenate=(0,e.getInteger)({data:te.hyphenate,defaultValue:0,validate:Ge=>Ge===1}),this.id=te.id||"",this.pushCharacterCount=(0,e.getInteger)({data:te.pushCharacterCount,defaultValue:3,validate:Ge=>Ge>=0}),this.remainCharacterCount=(0,e.getInteger)({data:te.remainCharacterCount,defaultValue:3,validate:Ge=>Ge>=0}),this.use=te.use||"",this.usehref=te.usehref||"",this.wordCharacterCount=(0,e.getInteger)({data:te.wordCharacterCount,defaultValue:7,validate:Ge=>Ge>=0})}}class Ht extends n.StringObject{constructor(te){super(S,"image"),this.aspect=(0,e.getStringOption)(te.aspect,["fit","actual","height","none","width"]),this.contentType=te.contentType||"",this.href=te.href||"",this.id=te.id||"",this.name=te.name||"",this.transferEncoding=(0,e.getStringOption)(te.transferEncoding,["base64","none","package"]),this.use=te.use||"",this.usehref=te.usehref||""}[n.$toHTML](){if(this.contentType&&!F.has(this.contentType.toLowerCase()))return e.HTMLResult.EMPTY;let te=this[n.$globalData].images&&this[n.$globalData].images.get(this.href);if(!te&&(this.href||!this[n.$content])||(!te&&this.transferEncoding==="base64"&&(te=(0,L.stringToBytes)(atob(this[n.$content]))),!te))return e.HTMLResult.EMPTY;if(!this.contentType){for(const[Ft,Zt]of N)if(te.length>Ft.length&&Ft.every((Qt,tn)=>Qt===te[tn])){this.contentType=Zt;break}if(!this.contentType)return e.HTMLResult.EMPTY}const Ge=new Blob([te],{type:this.contentType});let bt;switch(this.aspect){case"fit":case"actual":break;case"height":bt={height:"100%",objectFit:"fill"};break;case"none":bt={width:"100%",height:"100%",objectFit:"fill"};break;case"width":bt={width:"100%",objectFit:"fill"};break}const Tt=this[n.$getParent]();return e.HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:bt,src:URL.createObjectURL(Ge),alt:Tt?X(Tt[n.$getParent]()):null}})}}class Kt extends n.XFAObject{constructor(te){super(S,"imageEdit",!0),this.data=(0,e.getStringOption)(te.data,["link","embed"]),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.border=null,this.extras=null,this.margin=null}[n.$toHTML](te){return this.data==="embed"?e.HTMLResult.success({name:"div",children:[],attributes:{}}):e.HTMLResult.EMPTY}}class qt extends n.ContentObject{constructor(te){super(S,"integer"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){const te=parseInt(this[n.$content].trim(),10);this[n.$content]=isNaN(te)?null:te}[n.$toHTML](te){return q(this[n.$content]!==null?this[n.$content].toString():"")}}class pn extends n.XFAObject{constructor(te){super(S,"issuers",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.certificate=new n.XFAObjectArray}}class vt extends n.XFAObject{constructor(te){super(S,"items",!0),this.id=te.id||"",this.name=te.name||"",this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.ref=te.ref||"",this.save=(0,e.getInteger)({data:te.save,defaultValue:0,validate:Ge=>Ge===1}),this.use=te.use||"",this.usehref=te.usehref||"",this.boolean=new n.XFAObjectArray,this.date=new n.XFAObjectArray,this.dateTime=new n.XFAObjectArray,this.decimal=new n.XFAObjectArray,this.exData=new n.XFAObjectArray,this.float=new n.XFAObjectArray,this.image=new n.XFAObjectArray,this.integer=new n.XFAObjectArray,this.text=new n.XFAObjectArray,this.time=new n.XFAObjectArray}[n.$toHTML](){const te=[];for(const Ge of this[n.$getChildren]())te.push(Ge[n.$text]());return e.HTMLResult.success(te)}}a.Items=vt;class xt extends n.XFAObject{constructor(te){super(S,"keep",!0),this.id=te.id||"";const Ge=["none","contentArea","pageArea"];this.intact=(0,e.getStringOption)(te.intact,Ge),this.next=(0,e.getStringOption)(te.next,Ge),this.previous=(0,e.getStringOption)(te.previous,Ge),this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null}}class Rt extends n.XFAObject{constructor(te){super(S,"keyUsage");const Ge=["","yes","no"];this.crlSign=(0,e.getStringOption)(te.crlSign,Ge),this.dataEncipherment=(0,e.getStringOption)(te.dataEncipherment,Ge),this.decipherOnly=(0,e.getStringOption)(te.decipherOnly,Ge),this.digitalSignature=(0,e.getStringOption)(te.digitalSignature,Ge),this.encipherOnly=(0,e.getStringOption)(te.encipherOnly,Ge),this.id=te.id||"",this.keyAgreement=(0,e.getStringOption)(te.keyAgreement,Ge),this.keyCertSign=(0,e.getStringOption)(te.keyCertSign,Ge),this.keyEncipherment=(0,e.getStringOption)(te.keyEncipherment,Ge),this.nonRepudiation=(0,e.getStringOption)(te.nonRepudiation,Ge),this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||""}}class At extends n.XFAObject{constructor(te){super(S,"line",!0),this.hand=(0,e.getStringOption)(te.hand,["even","left","right"]),this.id=te.id||"",this.slope=(0,e.getStringOption)(te.slope,["\\","/"]),this.use=te.use||"",this.usehref=te.usehref||"",this.edge=null}[n.$toHTML](){const te=this[n.$getParent]()[n.$getParent](),Ge=this.edge||new tt({}),bt=Ge[n.$toStyle](),Tt=Object.create(null),Ft=Ge.presence==="visible"?Ge.thickness:0;Tt.strokeWidth=(0,v.measureToString)(Ft),Tt.stroke=bt.color;let Zt,Qt,tn,on,gn="100%",xn="100%";te.w<=Ft?([Zt,Qt,tn,on]=["50%",0,"50%","100%"],gn=Tt.strokeWidth):te.h<=Ft?([Zt,Qt,tn,on]=[0,"50%","100%","50%"],xn=Tt.strokeWidth):this.slope==="\\"?[Zt,Qt,tn,on]=[0,0,"100%","100%"]:[Zt,Qt,tn,on]=[0,"100%","100%",0];const Tn={name:"svg",children:[{name:"line",attributes:{xmlns:_,x1:Zt,y1:Qt,x2:tn,y2:on,style:Tt}}],attributes:{xmlns:_,width:gn,height:xn,style:{overflow:"visible"}}};return W(te)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Tn]}):(Tn.attributes.style.position="absolute",e.HTMLResult.success(Tn))}}class Pt extends n.XFAObject{constructor(te){super(S,"linear",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["toRight","toBottom","toLeft","toTop"]),this.use=te.use||"",this.usehref=te.usehref||"",this.color=null,this.extras=null}[n.$toStyle](te){te=te?te[n.$toStyle]():"#FFFFFF";const Ge=this.type.replace(/([RBLT])/," $1").toLowerCase(),bt=this.color?this.color[n.$toStyle]():"#000000";return`linear-gradient(${Ge}, ${te}, ${bt})`}}class $t extends n.ContentObject{constructor(te){super(S,"lockDocument"),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){this[n.$content]=(0,e.getStringOption)(this[n.$content],["auto","0","1"])}}class Wt extends n.XFAObject{constructor(te){super(S,"manifest",!0),this.action=(0,e.getStringOption)(te.action,["include","all","exclude"]),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.ref=new n.XFAObjectArray}}class Dt extends n.XFAObject{constructor(te){super(S,"margin",!0),this.bottomInset=(0,e.getMeasurement)(te.bottomInset,"0"),this.id=te.id||"",this.leftInset=(0,e.getMeasurement)(te.leftInset,"0"),this.rightInset=(0,e.getMeasurement)(te.rightInset,"0"),this.topInset=(0,e.getMeasurement)(te.topInset,"0"),this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null}[n.$toStyle](){return{margin:(0,v.measureToString)(this.topInset)+" "+(0,v.measureToString)(this.rightInset)+" "+(0,v.measureToString)(this.bottomInset)+" "+(0,v.measureToString)(this.leftInset)}}}class Yt extends n.XFAObject{constructor(te){super(S,"mdp"),this.id=te.id||"",this.permissions=(0,e.getInteger)({data:te.permissions,defaultValue:2,validate:Ge=>Ge===1||Ge===3}),this.signatureType=(0,e.getStringOption)(te.signatureType,["filler","author"]),this.use=te.use||"",this.usehref=te.usehref||""}}class Vt extends n.XFAObject{constructor(te){super(S,"medium"),this.id=te.id||"",this.imagingBBox=(0,e.getBBox)(te.imagingBBox),this.long=(0,e.getMeasurement)(te.long),this.orientation=(0,e.getStringOption)(te.orientation,["portrait","landscape"]),this.short=(0,e.getMeasurement)(te.short),this.stock=te.stock||"",this.trayIn=(0,e.getStringOption)(te.trayIn,["auto","delegate","pageFront"]),this.trayOut=(0,e.getStringOption)(te.trayOut,["auto","delegate"]),this.use=te.use||"",this.usehref=te.usehref||""}}class rn extends n.XFAObject{constructor(te){super(S,"message",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.text=new n.XFAObjectArray}}class en extends n.XFAObject{constructor(te){super(S,"numericEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(te.hScrollPolicy,["auto","off","on"]),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[n.$toHTML](te){const Ge=(0,v.toStyle)(this,"border","font","margin"),bt=this[n.$getParent]()[n.$getParent](),Tt={name:"input",attributes:{type:"text",fieldId:bt[n.$uid],dataId:bt[n.$data]&&bt[n.$data][n.$uid]||bt[n.$uid],class:["xfaTextfield"],style:Ge,"aria-label":X(bt),"aria-required":!1}};return V(bt)&&(Tt.attributes["aria-required"]=!0,Tt.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[Tt]})}}class Xt extends n.XFAObject{constructor(te){super(S,"occur",!0),this.id=te.id||"",this.initial=te.initial!==""?(0,e.getInteger)({data:te.initial,defaultValue:"",validate:Ge=>!0}):"",this.max=te.max!==""?(0,e.getInteger)({data:te.max,defaultValue:1,validate:Ge=>!0}):"",this.min=te.min!==""?(0,e.getInteger)({data:te.min,defaultValue:1,validate:Ge=>!0}):"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null}[n.$clean](){const te=this[n.$getParent](),Ge=this.min;this.min===""&&(this.min=te instanceof wt||te instanceof Bt?0:1),this.max===""&&(Ge===""?this.max=te instanceof wt||te instanceof Bt?-1:1:this.max=this.min),this.max!==-1&&this.max!0}),this.name=te.name||"",this.numbered=(0,e.getInteger)({data:te.numbered,defaultValue:1,validate:Ge=>!0}),this.oddOrEven=(0,e.getStringOption)(te.oddOrEven,["any","even","odd"]),this.pagePosition=(0,e.getStringOption)(te.pagePosition,["any","first","last","only","rest"]),this.relevant=(0,e.getRelevant)(te.relevant),this.use=te.use||"",this.usehref=te.usehref||"",this.desc=null,this.extras=null,this.medium=null,this.occur=null,this.area=new n.XFAObjectArray,this.contentArea=new n.XFAObjectArray,this.draw=new n.XFAObjectArray,this.exclGroup=new n.XFAObjectArray,this.field=new n.XFAObjectArray,this.subform=new n.XFAObjectArray}[n.$isUsable](){return this[n.$extra]?!this.occur||this.occur.max===-1||this[n.$extra].numberOfUseFt.oddOrEven===Ge&&Ft.pagePosition===bt);return Tt||(Tt=this.pageArea.children.find(Ft=>Ft.oddOrEven==="any"&&Ft.pagePosition===bt),Tt)||(Tt=this.pageArea.children.find(Ft=>Ft.oddOrEven==="any"&&Ft.pagePosition==="any"),Tt)?Tt:this.pageArea.children[0]}}class Jt extends n.XFAObject{constructor(te){super(S,"para",!0),this.hAlign=(0,e.getStringOption)(te.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=te.id||"",this.lineHeight=te.lineHeight?(0,e.getMeasurement)(te.lineHeight,"0pt"):"",this.marginLeft=te.marginLeft?(0,e.getMeasurement)(te.marginLeft,"0pt"):"",this.marginRight=te.marginRight?(0,e.getMeasurement)(te.marginRight,"0pt"):"",this.orphans=(0,e.getInteger)({data:te.orphans,defaultValue:0,validate:Ge=>Ge>=0}),this.preserve=te.preserve||"",this.radixOffset=te.radixOffset?(0,e.getMeasurement)(te.radixOffset,"0pt"):"",this.spaceAbove=te.spaceAbove?(0,e.getMeasurement)(te.spaceAbove,"0pt"):"",this.spaceBelow=te.spaceBelow?(0,e.getMeasurement)(te.spaceBelow,"0pt"):"",this.tabDefault=te.tabDefault?(0,e.getMeasurement)(this.tabDefault):"",this.tabStops=(te.tabStops||"").trim().split(/\s+/).map((Ge,bt)=>bt%2===1?(0,e.getMeasurement)(Ge):Ge),this.textIndent=te.textIndent?(0,e.getMeasurement)(te.textIndent,"0pt"):"",this.use=te.use||"",this.usehref=te.usehref||"",this.vAlign=(0,e.getStringOption)(te.vAlign,["top","bottom","middle"]),this.widows=(0,e.getInteger)({data:te.widows,defaultValue:0,validate:Ge=>Ge>=0}),this.hyphenation=null}[n.$toStyle](){const te=(0,v.toStyle)(this,"hAlign");return this.marginLeft!==""&&(te.paddingLeft=(0,v.measureToString)(this.marginLeft)),this.marginRight!==""&&(te.paddingight=(0,v.measureToString)(this.marginRight)),this.spaceAbove!==""&&(te.paddingTop=(0,v.measureToString)(this.spaceAbove)),this.spaceBelow!==""&&(te.paddingBottom=(0,v.measureToString)(this.spaceBelow)),this.textIndent!==""&&(te.textIndent=(0,v.measureToString)(this.textIndent),(0,v.fixTextIndent)(te)),this.lineHeight>0&&(te.lineHeight=(0,v.measureToString)(this.lineHeight)),this.tabDefault!==""&&(te.tabSize=(0,v.measureToString)(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(te,this.hyphenatation[n.$toStyle]()),te}}class _n extends n.XFAObject{constructor(te){super(S,"passwordEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(te.hScrollPolicy,["auto","off","on"]),this.id=te.id||"",this.passwordChar=te.passwordChar||"*",this.use=te.use||"",this.usehref=te.usehref||"",this.border=null,this.extras=null,this.margin=null}}class nn extends n.XFAObject{constructor(te){super(S,"pattern",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),this.use=te.use||"",this.usehref=te.usehref||"",this.color=null,this.extras=null}[n.$toStyle](te){te=te?te[n.$toStyle]():"#FFFFFF";const Ge=this.color?this.color[n.$toStyle]():"#000000",bt=5,Tt="repeating-linear-gradient",Ft=`${te},${te} ${bt}px,${Ge} ${bt}px,${Ge} ${2*bt}px`;switch(this.type){case"crossHatch":return`${Tt}(to top,${Ft}) ${Tt}(to right,${Ft})`;case"crossDiagonal":return`${Tt}(45deg,${Ft}) ${Tt}(-45deg,${Ft})`;case"diagonalLeft":return`${Tt}(45deg,${Ft})`;case"diagonalRight":return`${Tt}(-45deg,${Ft})`;case"horizontal":return`${Tt}(to top,${Ft})`;case"vertical":return`${Tt}(to right,${Ft})`}return""}}class an extends n.StringObject{constructor(te){super(S,"picture"),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||""}}class bn extends n.XFAObject{constructor(te){super(S,"proto",!0),this.appearanceFilter=new n.XFAObjectArray,this.arc=new n.XFAObjectArray,this.area=new n.XFAObjectArray,this.assist=new n.XFAObjectArray,this.barcode=new n.XFAObjectArray,this.bindItems=new n.XFAObjectArray,this.bookend=new n.XFAObjectArray,this.boolean=new n.XFAObjectArray,this.border=new n.XFAObjectArray,this.break=new n.XFAObjectArray,this.breakAfter=new n.XFAObjectArray,this.breakBefore=new n.XFAObjectArray,this.button=new n.XFAObjectArray,this.calculate=new n.XFAObjectArray,this.caption=new n.XFAObjectArray,this.certificate=new n.XFAObjectArray,this.certificates=new n.XFAObjectArray,this.checkButton=new n.XFAObjectArray,this.choiceList=new n.XFAObjectArray,this.color=new n.XFAObjectArray,this.comb=new n.XFAObjectArray,this.connect=new n.XFAObjectArray,this.contentArea=new n.XFAObjectArray,this.corner=new n.XFAObjectArray,this.date=new n.XFAObjectArray,this.dateTime=new n.XFAObjectArray,this.dateTimeEdit=new n.XFAObjectArray,this.decimal=new n.XFAObjectArray,this.defaultUi=new n.XFAObjectArray,this.desc=new n.XFAObjectArray,this.digestMethod=new n.XFAObjectArray,this.digestMethods=new n.XFAObjectArray,this.draw=new n.XFAObjectArray,this.edge=new n.XFAObjectArray,this.encoding=new n.XFAObjectArray,this.encodings=new n.XFAObjectArray,this.encrypt=new n.XFAObjectArray,this.encryptData=new n.XFAObjectArray,this.encryption=new n.XFAObjectArray,this.encryptionMethod=new n.XFAObjectArray,this.encryptionMethods=new n.XFAObjectArray,this.event=new n.XFAObjectArray,this.exData=new n.XFAObjectArray,this.exObject=new n.XFAObjectArray,this.exclGroup=new n.XFAObjectArray,this.execute=new n.XFAObjectArray,this.extras=new n.XFAObjectArray,this.field=new n.XFAObjectArray,this.fill=new n.XFAObjectArray,this.filter=new n.XFAObjectArray,this.float=new n.XFAObjectArray,this.font=new n.XFAObjectArray,this.format=new n.XFAObjectArray,this.handler=new n.XFAObjectArray,this.hyphenation=new n.XFAObjectArray,this.image=new n.XFAObjectArray,this.imageEdit=new n.XFAObjectArray,this.integer=new n.XFAObjectArray,this.issuers=new n.XFAObjectArray,this.items=new n.XFAObjectArray,this.keep=new n.XFAObjectArray,this.keyUsage=new n.XFAObjectArray,this.line=new n.XFAObjectArray,this.linear=new n.XFAObjectArray,this.lockDocument=new n.XFAObjectArray,this.manifest=new n.XFAObjectArray,this.margin=new n.XFAObjectArray,this.mdp=new n.XFAObjectArray,this.medium=new n.XFAObjectArray,this.message=new n.XFAObjectArray,this.numericEdit=new n.XFAObjectArray,this.occur=new n.XFAObjectArray,this.oid=new n.XFAObjectArray,this.oids=new n.XFAObjectArray,this.overflow=new n.XFAObjectArray,this.pageArea=new n.XFAObjectArray,this.pageSet=new n.XFAObjectArray,this.para=new n.XFAObjectArray,this.passwordEdit=new n.XFAObjectArray,this.pattern=new n.XFAObjectArray,this.picture=new n.XFAObjectArray,this.radial=new n.XFAObjectArray,this.reason=new n.XFAObjectArray,this.reasons=new n.XFAObjectArray,this.rectangle=new n.XFAObjectArray,this.ref=new n.XFAObjectArray,this.script=new n.XFAObjectArray,this.setProperty=new n.XFAObjectArray,this.signData=new n.XFAObjectArray,this.signature=new n.XFAObjectArray,this.signing=new n.XFAObjectArray,this.solid=new n.XFAObjectArray,this.speak=new n.XFAObjectArray,this.stipple=new n.XFAObjectArray,this.subform=new n.XFAObjectArray,this.subformSet=new n.XFAObjectArray,this.subjectDN=new n.XFAObjectArray,this.subjectDNs=new n.XFAObjectArray,this.submit=new n.XFAObjectArray,this.text=new n.XFAObjectArray,this.textEdit=new n.XFAObjectArray,this.time=new n.XFAObjectArray,this.timeStamp=new n.XFAObjectArray,this.toolTip=new n.XFAObjectArray,this.traversal=new n.XFAObjectArray,this.traverse=new n.XFAObjectArray,this.ui=new n.XFAObjectArray,this.validate=new n.XFAObjectArray,this.value=new n.XFAObjectArray,this.variables=new n.XFAObjectArray}}class Cn extends n.XFAObject{constructor(te){super(S,"radial",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["toEdge","toCenter"]),this.use=te.use||"",this.usehref=te.usehref||"",this.color=null,this.extras=null}[n.$toStyle](te){te=te?te[n.$toStyle]():"#FFFFFF";const Ge=this.color?this.color[n.$toStyle]():"#000000";return`radial-gradient(circle at center, ${this.type==="toEdge"?`${te},${Ge}`:`${Ge},${te}`})`}}class Mn extends n.StringObject{constructor(te){super(S,"reason"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}}class Gn extends n.XFAObject{constructor(te){super(S,"reasons",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.reason=new n.XFAObjectArray}}class xr extends n.XFAObject{constructor(te){super(S,"rectangle",!0),this.hand=(0,e.getStringOption)(te.hand,["even","left","right"]),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.corner=new n.XFAObjectArray(4),this.edge=new n.XFAObjectArray(4),this.fill=null}[n.$toHTML](){const te=this.edge.children.length?this.edge.children[0]:new tt({}),Ge=te[n.$toStyle](),bt=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(bt,this.fill[n.$toStyle]()):bt.fill="transparent",bt.strokeWidth=(0,v.measureToString)(te.presence==="visible"?te.thickness:0),bt.stroke=Ge.color;const Ft=(this.corner.children.length?this.corner.children[0]:new Oe({}))[n.$toStyle](),Qt={name:"svg",children:[{name:"rect",attributes:{xmlns:_,width:"100%",height:"100%",x:0,y:0,rx:Ft.radius,ry:Ft.radius,style:bt}}],attributes:{xmlns:_,style:{overflow:"visible"},width:"100%",height:"100%"}},tn=this[n.$getParent]()[n.$getParent]();return W(tn)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Qt]}):(Qt.attributes.style.position="absolute",e.HTMLResult.success(Qt))}}class Kn extends n.StringObject{constructor(te){super(S,"ref"),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||""}}class Hn extends n.StringObject{constructor(te){super(S,"script"),this.binding=te.binding||"",this.contentType=te.contentType||"",this.id=te.id||"",this.name=te.name||"",this.runAt=(0,e.getStringOption)(te.runAt,["client","both","server"]),this.use=te.use||"",this.usehref=te.usehref||""}}class zn extends n.XFAObject{constructor(te){super(S,"setProperty"),this.connection=te.connection||"",this.ref=te.ref||"",this.target=te.target||""}}a.SetProperty=zn;class kn extends n.XFAObject{constructor(te){super(S,"signData",!0),this.id=te.id||"",this.operation=(0,e.getStringOption)(te.operation,["sign","clear","verify"]),this.ref=te.ref||"",this.target=te.target||"",this.use=te.use||"",this.usehref=te.usehref||"",this.filter=null,this.manifest=null}}class vr extends n.XFAObject{constructor(te){super(S,"signature",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["PDF1.3","PDF1.6"]),this.use=te.use||"",this.usehref=te.usehref||"",this.border=null,this.extras=null,this.filter=null,this.manifest=null,this.margin=null}}class lr extends n.XFAObject{constructor(te){super(S,"signing",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.certificate=new n.XFAObjectArray}}class Tr extends n.XFAObject{constructor(te){super(S,"solid",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null}[n.$toStyle](te){return te?te[n.$toStyle]():"#FFFFFF"}}class Qn extends n.StringObject{constructor(te){super(S,"speak"),this.disable=(0,e.getInteger)({data:te.disable,defaultValue:0,validate:Ge=>Ge===1}),this.id=te.id||"",this.priority=(0,e.getStringOption)(te.priority,["custom","caption","name","toolTip"]),this.rid=te.rid||"",this.use=te.use||"",this.usehref=te.usehref||""}}class Zn extends n.XFAObject{constructor(te){super(S,"stipple",!0),this.id=te.id||"",this.rate=(0,e.getInteger)({data:te.rate,defaultValue:50,validate:Ge=>Ge>=0&&Ge<=100}),this.use=te.use||"",this.usehref=te.usehref||"",this.color=null,this.extras=null}[n.$toStyle](te){const Ge=this.rate/100;return L.Util.makeHexColor(Math.round(te.value.r*(1-Ge)+this.value.r*Ge),Math.round(te.value.g*(1-Ge)+this.value.g*Ge),Math.round(te.value.b*(1-Ge)+this.value.b*Ge))}}class cr extends n.XFAObject{constructor(te){super(S,"subform",!0),this.access=(0,e.getStringOption)(te.access,["open","nonInteractive","protected","readOnly"]),this.allowMacro=(0,e.getInteger)({data:te.allowMacro,defaultValue:0,validate:Ge=>Ge===1}),this.anchorType=(0,e.getStringOption)(te.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:te.colSpan,defaultValue:1,validate:Ge=>Ge>=1||Ge===-1}),this.columnWidths=(te.columnWidths||"").trim().split(/\s+/).map(Ge=>Ge==="-1"?-1:(0,e.getMeasurement)(Ge)),this.h=te.h?(0,e.getMeasurement)(te.h):"",this.hAlign=(0,e.getStringOption)(te.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=te.id||"",this.layout=(0,e.getStringOption)(te.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.locale=te.locale||"",this.maxH=(0,e.getMeasurement)(te.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(te.maxW,"0pt"),this.mergeMode=(0,e.getStringOption)(te.mergeMode,["consumeData","matchTemplate"]),this.minH=(0,e.getMeasurement)(te.minH,"0pt"),this.minW=(0,e.getMeasurement)(te.minW,"0pt"),this.name=te.name||"",this.presence=(0,e.getStringOption)(te.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(te.relevant),this.restoreState=(0,e.getStringOption)(te.restoreState,["manual","auto"]),this.scope=(0,e.getStringOption)(te.scope,["name","none"]),this.use=te.use||"",this.usehref=te.usehref||"",this.w=te.w?(0,e.getMeasurement)(te.w):"",this.x=(0,e.getMeasurement)(te.x,"0pt"),this.y=(0,e.getMeasurement)(te.y,"0pt"),this.assist=null,this.bind=null,this.bookend=null,this.border=null,this.break=null,this.calculate=null,this.desc=null,this.extras=null,this.keep=null,this.margin=null,this.occur=null,this.overflow=null,this.pageSet=null,this.para=null,this.traversal=null,this.validate=null,this.variables=null,this.area=new n.XFAObjectArray,this.breakAfter=new n.XFAObjectArray,this.breakBefore=new n.XFAObjectArray,this.connect=new n.XFAObjectArray,this.draw=new n.XFAObjectArray,this.event=new n.XFAObjectArray,this.exObject=new n.XFAObjectArray,this.exclGroup=new n.XFAObjectArray,this.field=new n.XFAObjectArray,this.proto=new n.XFAObjectArray,this.setProperty=new n.XFAObjectArray,this.subform=new n.XFAObjectArray,this.subformSet=new n.XFAObjectArray}[n.$getSubformParent](){const te=this[n.$getParent]();return te instanceof ur?te[n.$getSubformParent]():te}[n.$isBindable](){return!0}[n.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[n.$extra].attempt===0&&this[n.$extra].numberInLine>0||this[n.$getParent]()[n.$isThereMoreWidth]()}*[n.$getContainedChildren](){yield*Y(this)}[n.$flushHTML](){return(0,R.flushHTML)(this)}[n.$addHTML](te,Ge){(0,R.addHTML)(this,te,Ge)}[n.$getAvailableSpace](){return(0,R.getAvailableSpace)(this)}[n.$isSplittable](){const te=this[n.$getSubformParent]();return te[n.$isSplittable]()?this[n.$extra]._isSplittable!==void 0?this[n.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[n.$extra]._isSplittable=!1,!1):this.keep&&this.keep.intact!=="none"?(this[n.$extra]._isSplittable=!1,!1):te.layout&&te.layout.endsWith("-tb")&&te[n.$extra].numberInLine!==0?!1:(this[n.$extra]._isSplittable=!0,!0):!1}[n.$toHTML](te){if(H(this),this.break){if(this.break.after!=="auto"||this.break.afterTarget!==""){const dn=new se({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});dn[n.$globalData]=this[n.$globalData],this[n.$appendChild](dn),this.breakAfter.push(dn)}if(this.break.before!=="auto"||this.break.beforeTarget!==""){const dn=new Ie({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});dn[n.$globalData]=this[n.$globalData],this[n.$appendChild](dn),this.breakBefore.push(dn)}if(this.break.overflowTarget!==""){const dn=new It({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});dn[n.$globalData]=this[n.$globalData],this[n.$appendChild](dn),this.overflow.push(dn)}this[n.$removeChild](this.break),this.break=null}if(this.presence==="hidden"||this.presence==="inactive")return e.HTMLResult.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,L.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){const dn=this.breakBefore.children[0];if(Q(dn))return e.HTMLResult.breakNode(dn)}if(this[n.$extra]&&this[n.$extra].afterBreakAfter)return e.HTMLResult.EMPTY;(0,v.fixDimensions)(this);const Ge=[],bt={id:this[n.$uid],class:[]};(0,v.setAccess)(this,bt.class),this[n.$extra]||(this[n.$extra]=Object.create(null)),Object.assign(this[n.$extra],{children:Ge,line:null,attributes:bt,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,te.width),height:Math.min(this.h||1/0,te.height)},width:0,height:0,prevHeight:0,currentWidth:0});const Tt=this[n.$getTemplateRoot](),Ft=Tt[n.$extra].noLayoutFailure,Zt=this[n.$isSplittable]();if(Zt||$(this),!(0,R.checkDimensions)(this,te))return e.HTMLResult.FAILURE;const Qt=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const dn=this[n.$getSubformParent]().columnWidths;Array.isArray(dn)&&dn.length>0&&(this[n.$extra].columnWidths=dn,this[n.$extra].currentColumn=0)}const tn=(0,v.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),on=["xfaSubform"],gn=(0,v.layoutClass)(this);if(gn&&on.push(gn),bt.style=tn,bt.class=on,this.name&&(bt.xfaName=this.name),this.overflow){const dn=this.overflow[n.$getExtra]();dn.addLeader&&(dn.addLeader=!1,ie(this,dn.leader,te))}this[n.$pushPara]();const xn=this.layout==="lr-tb"||this.layout==="rl-tb",yn=xn?l:1;for(;this[n.$extra].attempt=1){const dn=this.breakAfter.children[0];if(Q(dn))return this[n.$extra].afterBreakAfter=In,e.HTMLResult.breakNode(dn)}return delete this[n.$extra],In}}class ur extends n.XFAObject{constructor(te){super(S,"subformSet",!0),this.id=te.id||"",this.name=te.name||"",this.relation=(0,e.getStringOption)(te.relation,["ordered","choice","unordered"]),this.relevant=(0,e.getRelevant)(te.relevant),this.use=te.use||"",this.usehref=te.usehref||"",this.bookend=null,this.break=null,this.desc=null,this.extras=null,this.occur=null,this.overflow=null,this.breakAfter=new n.XFAObjectArray,this.breakBefore=new n.XFAObjectArray,this.subform=new n.XFAObjectArray,this.subformSet=new n.XFAObjectArray}*[n.$getContainedChildren](){yield*Y(this)}[n.$getSubformParent](){let te=this[n.$getParent]();for(;!(te instanceof cr);)te=te[n.$getParent]();return te}[n.$isBindable](){return!0}}class Cr extends n.ContentObject{constructor(te){super(S,"subjectDN"),this.delimiter=te.delimiter||",",this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){this[n.$content]=new Map(this[n.$content].split(this.delimiter).map(te=>(te=te.split("=",2),te[0]=te[0].trim(),te)))}}class Jn extends n.XFAObject{constructor(te){super(S,"subjectDNs",!0),this.id=te.id||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||"",this.subjectDN=new n.XFAObjectArray}}class qn extends n.XFAObject{constructor(te){super(S,"submit",!0),this.embedPDF=(0,e.getInteger)({data:te.embedPDF,defaultValue:0,validate:Ge=>Ge===1}),this.format=(0,e.getStringOption)(te.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),this.id=te.id||"",this.target=te.target||"",this.textEncoding=(0,e.getKeyword)({data:te.textEncoding?te.textEncoding.toLowerCase():"",defaultValue:"",validate:Ge=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(Ge)||Ge.match(/iso-8859-\d{2}/)}),this.use=te.use||"",this.usehref=te.usehref||"",this.xdpContent=te.xdpContent||"",this.encrypt=null,this.encryptData=new n.XFAObjectArray,this.signData=new n.XFAObjectArray}}class dr extends n.XFAObject{constructor(te){super(S,"template",!0),this.baseProfile=(0,e.getStringOption)(te.baseProfile,["full","interactiveForms"]),this.extras=null,this.subform=new n.XFAObjectArray}[n.$finalize](){this.subform.children.length===0&&(0,L.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,L.warn)("XFA - Several subforms in template node: please file a bug."),this[n.$tabIndex]=D}[n.$isSplittable](){return!0}[n.$searchNode](te,Ge){return te.startsWith("#")?[this[n.$ids].get(te.slice(1))]:(0,P.searchNode)(this,Ge,te,!0,!0)}*[n.$toPages](){if(!this.subform.children.length)return e.HTMLResult.success({name:"div",children:[]});this[n.$extra]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const te=this.subform.children[0];te.pageSet[n.$cleanPage]();const Ge=te.pageSet.pageArea.children,bt={name:"div",children:[]};let Tt=null,Ft=null,Zt=null;if(te.breakBefore.children.length>=1?(Ft=te.breakBefore.children[0],Zt=Ft.target):te.subform.children.length>=1&&te.subform.children[0].breakBefore.children.length>=1?(Ft=te.subform.children[0].breakBefore.children[0],Zt=Ft.target):te.break&&te.break.beforeTarget?(Ft=te.break,Zt=Ft.beforeTarget):te.subform.children.length>=1&&te.subform.children[0].break&&te.subform.children[0].break.beforeTarget&&(Ft=te.subform.children[0].break,Zt=Ft.beforeTarget),Ft){const En=this[n.$searchNode](Zt,Ft[n.$getParent]());En instanceof wt&&(Tt=En,Ft[n.$extra]={})}Tt||(Tt=Ge[0]),Tt[n.$extra]={numberOfUse:1};const Qt=Tt[n.$getParent]();Qt[n.$extra]={numberOfUse:1,pageIndex:Qt.pageArea.children.indexOf(Tt),pageSetIndex:0};let tn,on=null,gn=null,xn=!0,yn=0,Tn=0;for(;;){if(xn)yn=0;else if(bt.children.pop(),++yn===y)return(0,L.warn)("XFA - Something goes wrong: please file a bug."),bt;tn=null,this[n.$extra].currentPageArea=Tt;const En=Tt[n.$toHTML]().html;bt.children.push(En),on&&(this[n.$extra].noLayoutFailure=!0,En.children.push(on[n.$toHTML](Tt[n.$extra].space).html),on=null),gn&&(this[n.$extra].noLayoutFailure=!0,En.children.push(gn[n.$toHTML](Tt[n.$extra].space).html),gn=null);const ln=Tt.contentArea.children,Rn=En.children.filter(fn=>fn.attributes.class.includes("xfaContentarea"));xn=!1,this[n.$extra].firstUnsplittable=null,this[n.$extra].noLayoutFailure=!1;const cn=fn=>{const In=te[n.$flushHTML]();In&&(xn=xn||In.children&&In.children.length!==0,Rn[fn].children.push(In))};for(let fn=Tn,In=ln.length;fn1&&bt.children.pop(),bt;if(Fn.isBreak()){const On=Fn.breakNode;if(cn(fn),On.targetType==="auto")continue;On.leader&&(on=this[n.$searchNode](On.leader,On[n.$getParent]()),on=on?on[0]:null),On.trailer&&(gn=this[n.$searchNode](On.trailer,On[n.$getParent]()),gn=gn?gn[0]:null),On.targetType==="pageArea"?(tn=On[n.$extra].target,fn=1/0):On[n.$extra].target?(tn=On[n.$extra].target,Tn=On[n.$extra].index+1,fn=1/0):fn=On[n.$extra].index;continue}if(this[n.$extra].overflowNode){const On=this[n.$extra].overflowNode;this[n.$extra].overflowNode=null;const br=On[n.$getExtra](),nr=br.target;br.addLeader=br.leader!==null,br.addTrailer=br.trailer!==null,cn(fn);const _i=fn;if(fn=1/0,nr instanceof wt)tn=nr;else if(nr instanceof Le){const Ur=ln.indexOf(nr);Ur!==-1?Ur>_i?fn=Ur-1:Tn=Ur:(tn=nr[n.$getParent](),Tn=tn.contentArea.children.indexOf(nr))}continue}cn(fn)}this[n.$extra].pageNumber+=1,tn&&(tn[n.$isUsable]()?tn[n.$extra].numberOfUse+=1:tn=null),Tt=tn||Tt[n.$getNextPage](),yield null}}}a.Template=dr;class Ar extends n.ContentObject{constructor(te){super(S,"text"),this.id=te.id||"",this.maxChars=(0,e.getInteger)({data:te.maxChars,defaultValue:0,validate:Ge=>Ge>=0}),this.name=te.name||"",this.rid=te.rid||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$acceptWhitespace](){return!0}[n.$onChild](te){return te[n.$namespaceId]===c.NamespaceIds.xhtml.id?(this[n.$content]=te,!0):((0,L.warn)(`XFA - Invalid content in Text: ${te[n.$nodeName]}.`),!1)}[n.$onText](te){this[n.$content]instanceof n.XFAObject||super[n.$onText](te)}[n.$finalize](){typeof this[n.$content]=="string"&&(this[n.$content]=this[n.$content].replace(/\r\n/g,` +`))}[n.$getExtra](){return typeof this[n.$content]=="string"?this[n.$content].split(/[\u2029\u2028\n]/).reduce((te,Ge)=>(Ge&&te.push(Ge),te),[]).join(` +`):this[n.$content][n.$text]()}[n.$toHTML](te){if(typeof this[n.$content]=="string"){const Ge=q(this[n.$content]).html;return this[n.$content].includes("\u2029")?(Ge.name="div",Ge.children=[],this[n.$content].split("\u2029").map(bt=>bt.split(/[\u2028\n]/).reduce((Tt,Ft)=>(Tt.push({name:"span",value:Ft},{name:"br"}),Tt),[])).forEach(bt=>{Ge.children.push({name:"p",children:bt})})):/[\u2028\n]/.test(this[n.$content])&&(Ge.name="div",Ge.children=[],this[n.$content].split(/[\u2028\n]/).forEach(bt=>{Ge.children.push({name:"span",value:bt},{name:"br"})})),e.HTMLResult.success(Ge)}return this[n.$content][n.$toHTML](te)}}a.Text=Ar;class fr extends n.XFAObject{constructor(te){super(S,"textEdit",!0),this.allowRichText=(0,e.getInteger)({data:te.allowRichText,defaultValue:0,validate:Ge=>Ge===1}),this.hScrollPolicy=(0,e.getStringOption)(te.hScrollPolicy,["auto","off","on"]),this.id=te.id||"",this.multiLine=(0,e.getInteger)({data:te.multiLine,defaultValue:"",validate:Ge=>Ge===0||Ge===1}),this.use=te.use||"",this.usehref=te.usehref||"",this.vScrollPolicy=(0,e.getStringOption)(te.vScrollPolicy,["auto","off","on"]),this.border=null,this.comb=null,this.extras=null,this.margin=null}[n.$toHTML](te){const Ge=(0,v.toStyle)(this,"border","font","margin");let bt;const Tt=this[n.$getParent]()[n.$getParent]();return this.multiLine===""&&(this.multiLine=Tt instanceof et?1:0),this.multiLine===1?bt={name:"textarea",attributes:{dataId:Tt[n.$data]&&Tt[n.$data][n.$uid]||Tt[n.$uid],fieldId:Tt[n.$uid],class:["xfaTextfield"],style:Ge,"aria-label":X(Tt),"aria-required":!1}}:bt={name:"input",attributes:{type:"text",dataId:Tt[n.$data]&&Tt[n.$data][n.$uid]||Tt[n.$uid],fieldId:Tt[n.$uid],class:["xfaTextfield"],style:Ge,"aria-label":X(Tt),"aria-required":!1}},V(Tt)&&(bt.attributes["aria-required"]=!0,bt.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[bt]})}}class Wn extends n.StringObject{constructor(te){super(S,"time"),this.id=te.id||"",this.name=te.name||"",this.use=te.use||"",this.usehref=te.usehref||""}[n.$finalize](){const te=this[n.$content].trim();this[n.$content]=te?new Date(te):null}[n.$toHTML](te){return q(this[n.$content]?this[n.$content].toString():"")}}class er extends n.XFAObject{constructor(te){super(S,"timeStamp"),this.id=te.id||"",this.server=te.server||"",this.type=(0,e.getStringOption)(te.type,["optional","required"]),this.use=te.use||"",this.usehref=te.usehref||""}}class Rr extends n.StringObject{constructor(te){super(S,"toolTip"),this.id=te.id||"",this.rid=te.rid||"",this.use=te.use||"",this.usehref=te.usehref||""}}class gr extends n.XFAObject{constructor(te){super(S,"traversal",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.traverse=new n.XFAObjectArray}}class tr extends n.XFAObject{constructor(te){super(S,"traverse",!0),this.id=te.id||"",this.operation=(0,e.getStringOption)(te.operation,["next","back","down","first","left","right","up"]),this.ref=te.ref||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.script=null}get name(){return this.operation}[n.$isTransparent](){return!1}}class Ln extends n.XFAObject{constructor(te){super(S,"ui",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.picture=null,this.barcode=null,this.button=null,this.checkButton=null,this.choiceList=null,this.dateTimeEdit=null,this.defaultUi=null,this.imageEdit=null,this.numericEdit=null,this.passwordEdit=null,this.signature=null,this.textEdit=null}[n.$getExtra](){if(this[n.$extra]===void 0){for(const te of Object.getOwnPropertyNames(this)){if(te==="extras"||te==="picture")continue;const Ge=this[te];if(Ge instanceof n.XFAObject)return this[n.$extra]=Ge,Ge}this[n.$extra]=null}return this[n.$extra]}[n.$toHTML](te){const Ge=this[n.$getExtra]();return Ge?Ge[n.$toHTML](te):e.HTMLResult.EMPTY}}class $n extends n.XFAObject{constructor(te){super(S,"validate",!0),this.formatTest=(0,e.getStringOption)(te.formatTest,["warning","disabled","error"]),this.id=te.id||"",this.nullTest=(0,e.getStringOption)(te.nullTest,["disabled","error","warning"]),this.scriptTest=(0,e.getStringOption)(te.scriptTest,["error","disabled","warning"]),this.use=te.use||"",this.usehref=te.usehref||"",this.extras=null,this.message=null,this.picture=null,this.script=null}}class mr extends n.XFAObject{constructor(te){super(S,"value",!0),this.id=te.id||"",this.override=(0,e.getInteger)({data:te.override,defaultValue:0,validate:Ge=>Ge===1}),this.relevant=(0,e.getRelevant)(te.relevant),this.use=te.use||"",this.usehref=te.usehref||"",this.arc=null,this.boolean=null,this.date=null,this.dateTime=null,this.decimal=null,this.exData=null,this.float=null,this.image=null,this.integer=null,this.line=null,this.rectangle=null,this.text=null,this.time=null}[n.$setValue](te){const Ge=this[n.$getParent]();if(Ge instanceof ut&&Ge.ui&&Ge.ui.imageEdit){this.image||(this.image=new Ht({}),this[n.$appendChild](this.image)),this.image[n.$content]=te[n.$content];return}const bt=te[n.$nodeName];if(this[bt]!==null){this[bt][n.$content]=te[n.$content];return}for(const Tt of Object.getOwnPropertyNames(this)){const Ft=this[Tt];Ft instanceof n.XFAObject&&(this[Tt]=null,this[n.$removeChild](Ft))}this[te[n.$nodeName]]=te,this[n.$appendChild](te)}[n.$text](){if(this.exData)return typeof this.exData[n.$content]=="string"?this.exData[n.$content].trim():this.exData[n.$content][n.$text]().trim();for(const te of Object.getOwnPropertyNames(this)){if(te==="image")continue;const Ge=this[te];if(Ge instanceof n.XFAObject)return(Ge[n.$content]||"").toString().trim()}return null}[n.$toHTML](te){for(const Ge of Object.getOwnPropertyNames(this)){const bt=this[Ge];if(bt instanceof n.XFAObject)return bt[n.$toHTML](te)}return e.HTMLResult.EMPTY}}a.Value=mr;class zr extends n.XFAObject{constructor(te){super(S,"variables",!0),this.id=te.id||"",this.use=te.use||"",this.usehref=te.usehref||"",this.boolean=new n.XFAObjectArray,this.date=new n.XFAObjectArray,this.dateTime=new n.XFAObjectArray,this.decimal=new n.XFAObjectArray,this.exData=new n.XFAObjectArray,this.float=new n.XFAObjectArray,this.image=new n.XFAObjectArray,this.integer=new n.XFAObjectArray,this.manifest=new n.XFAObjectArray,this.script=new n.XFAObjectArray,this.text=new n.XFAObjectArray,this.time=new n.XFAObjectArray}[n.$isTransparent](){return!0}}class _r{static[c.$buildXFAObject](te,Ge){if(_r.hasOwnProperty(te)){const bt=_r[te](Ge);return bt[n.$setSetAttributes](Ge),bt}}static appearanceFilter(te){return new Te(te)}static arc(te){return new me(te)}static area(te){return new K(te)}static assist(te){return new ce(te)}static barcode(te){return new de(te)}static bind(te){return new Z(te)}static bindItems(te){return new ae(te)}static bookend(te){return new he(te)}static boolean(te){return new we(te)}static border(te){return new _e(te)}static break(te){return new ye(te)}static breakAfter(te){return new se(te)}static breakBefore(te){return new Ie(te)}static button(te){return new Ce(te)}static calculate(te){return new oe(te)}static caption(te){return new pe(te)}static certificate(te){return new xe(te)}static certificates(te){return new Ne(te)}static checkButton(te){return new ke(te)}static choiceList(te){return new De(te)}static color(te){return new Fe(te)}static comb(te){return new Pe(te)}static connect(te){return new qe(te)}static contentArea(te){return new Le(te)}static corner(te){return new Oe(te)}static date(te){return new Ee(te)}static dateTime(te){return new Ae(te)}static dateTimeEdit(te){return new Ve(te)}static decimal(te){return new $e(te)}static defaultUi(te){return new Ue(te)}static desc(te){return new He(te)}static digestMethod(te){return new Qe(te)}static digestMethods(te){return new Ze(te)}static draw(te){return new et(te)}static edge(te){return new tt(te)}static encoding(te){return new je(te)}static encodings(te){return new Je(te)}static encrypt(te){return new nt(te)}static encryptData(te){return new Ke(te)}static encryption(te){return new at(te)}static encryptionMethod(te){return new ot(te)}static encryptionMethods(te){return new Xe(te)}static event(te){return new ze(te)}static exData(te){return new Ye(te)}static exObject(te){return new st(te)}static exclGroup(te){return new _t(te)}static execute(te){return new ft(te)}static extras(te){return new Ct(te)}static field(te){return new ut(te)}static fill(te){return new rt(te)}static filter(te){return new mt(te)}static float(te){return new Ot(te)}static font(te){return new dt(te)}static format(te){return new Nt(te)}static handler(te){return new kt(te)}static hyphenation(te){return new Ut(te)}static image(te){return new Ht(te)}static imageEdit(te){return new Kt(te)}static integer(te){return new qt(te)}static issuers(te){return new pn(te)}static items(te){return new vt(te)}static keep(te){return new xt(te)}static keyUsage(te){return new Rt(te)}static line(te){return new At(te)}static linear(te){return new Pt(te)}static lockDocument(te){return new $t(te)}static manifest(te){return new Wt(te)}static margin(te){return new Dt(te)}static mdp(te){return new Yt(te)}static medium(te){return new Vt(te)}static message(te){return new rn(te)}static numericEdit(te){return new en(te)}static occur(te){return new Xt(te)}static oid(te){return new ht(te)}static oids(te){return new Et(te)}static overflow(te){return new It(te)}static pageArea(te){return new wt(te)}static pageSet(te){return new Bt(te)}static para(te){return new Jt(te)}static passwordEdit(te){return new _n(te)}static pattern(te){return new nn(te)}static picture(te){return new an(te)}static proto(te){return new bn(te)}static radial(te){return new Cn(te)}static reason(te){return new Mn(te)}static reasons(te){return new Gn(te)}static rectangle(te){return new xr(te)}static ref(te){return new Kn(te)}static script(te){return new Hn(te)}static setProperty(te){return new zn(te)}static signData(te){return new kn(te)}static signature(te){return new vr(te)}static signing(te){return new lr(te)}static solid(te){return new Tr(te)}static speak(te){return new Qn(te)}static stipple(te){return new Zn(te)}static subform(te){return new cr(te)}static subformSet(te){return new ur(te)}static subjectDN(te){return new Cr(te)}static subjectDNs(te){return new Jn(te)}static submit(te){return new qn(te)}static template(te){return new dr(te)}static text(te){return new Ar(te)}static textEdit(te){return new fr(te)}static time(te){return new Wn(te)}static timeStamp(te){return new er(te)}static toolTip(te){return new Rr(te)}static traversal(te){return new gr(te)}static traverse(te){return new tr(te)}static ui(te){return new Ln(te)}static validate(te){return new $n(te)}static value(te){return new mr(te)}static variables(te){return new zr(te)}}a.TemplateNamespace=_r},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.addHTML=e,a.checkDimensions=B,a.flushHTML=v,a.getAvailableSpace=L;var n=g(202),c=g(209);function R(P,S){return{name:"div",attributes:{class:[P.layout==="lr-tb"?"xfaLr":"xfaRl"]},children:S}}function v(P){if(!P[n.$extra])return null;const _={name:"div",attributes:P[n.$extra].attributes,children:P[n.$extra].children};if(P[n.$extra].failingNode){const l=P[n.$extra].failingNode[n.$flushHTML]();l&&(P.layout.endsWith("-tb")?_.children.push(R(P,[l])):_.children.push(l))}return _.children.length===0?null:_}function e(P,S,_){const l=P[n.$extra],y=l.availableSpace,[D,M,F,N]=_;switch(P.layout){case"position":{l.width=Math.max(l.width,D+F),l.height=Math.max(l.height,M+N),l.children.push(S);break}case"lr-tb":case"rl-tb":(!l.line||l.attempt===1)&&(l.line=R(P,[]),l.children.push(l.line),l.numberInLine=0),l.numberInLine+=1,l.line.children.push(S),l.attempt===0?(l.currentWidth+=F,l.height=Math.max(l.height,l.prevHeight+N)):(l.currentWidth=F,l.prevHeight=l.height,l.height+=N,l.attempt=0),l.width=Math.max(l.width,l.currentWidth);break;case"rl-row":case"row":{l.children.push(S),l.width+=F,l.height=Math.max(l.height,N);const G=(0,c.measureToString)(l.height);for(const W of l.children)W.attributes.style.height=G;break}case"table":{l.width=Math.min(y.width,Math.max(l.width,F)),l.height+=N,l.children.push(S);break}case"tb":{l.width=Math.min(y.width,Math.max(l.width,F)),l.height+=N,l.children.push(S);break}}}function L(P){const S=P[n.$extra].availableSpace,_=P.margin?P.margin.topInset+P.margin.bottomInset:0,l=P.margin?P.margin.leftInset+P.margin.rightInset:0;switch(P.layout){case"lr-tb":case"rl-tb":return P[n.$extra].attempt===0?{width:S.width-l-P[n.$extra].currentWidth,height:S.height-_-P[n.$extra].prevHeight}:{width:S.width-l,height:S.height-_-P[n.$extra].height};case"rl-row":case"row":return{width:P[n.$extra].columnWidths.slice(P[n.$extra].currentColumn).reduce((D,M)=>D+M),height:S.height-l};case"table":case"tb":return{width:S.width-l,height:S.height-_-P[n.$extra].height};case"position":default:return S}}function O(P){let S=P.w===""?NaN:P.w,_=P.h===""?NaN:P.h,[l,y]=[0,0];switch(P.anchorType||""){case"bottomCenter":[l,y]=[S/2,_];break;case"bottomLeft":[l,y]=[0,_];break;case"bottomRight":[l,y]=[S,_];break;case"middleCenter":[l,y]=[S/2,_/2];break;case"middleLeft":[l,y]=[0,_/2];break;case"middleRight":[l,y]=[S,_/2];break;case"topCenter":[l,y]=[S/2,0];break;case"topRight":[l,y]=[S,0];break}let D,M;switch(P.rotate||0){case 0:[D,M]=[-l,-y];break;case 90:[D,M]=[-y,l],[S,_]=[_,-S];break;case 180:[D,M]=[l,y],[S,_]=[-S,-_];break;case 270:[D,M]=[y,-l],[S,_]=[-_,S];break}return[P.x+D+Math.min(0,S),P.y+M+Math.min(0,_),Math.abs(S),Math.abs(_)]}function B(P,S){if(P[n.$getTemplateRoot]()[n.$extra].firstUnsplittable===null||P.w===0||P.h===0)return!0;const _=2,l=P[n.$getSubformParent](),y=l[n.$extra]&&l[n.$extra].attempt||0,[,D,M,F]=O(P);switch(l.layout){case"lr-tb":case"rl-tb":return y===0?P[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?P.w!==""?Math.round(M-S.width)<=_:S.width>_:P.h!==""&&Math.round(F-S.height)>_?!1:P.w!==""?Math.round(M-S.width)<=_?!0:l[n.$extra].numberInLine===0?S.height>_:!1:S.width>_:P[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?!0:P.h!==""&&Math.round(F-S.height)>_?!1:P.w===""||Math.round(M-S.width)<=_?S.height>_:l[n.$isThereMoreWidth]()?!1:S.height>_;case"table":case"tb":return P[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?!0:P.h!==""&&!P[n.$isSplittable]()?Math.round(F-S.height)<=_:P.w===""||Math.round(M-S.width)<=_?S.height>_:l[n.$isThereMoreWidth]()?!1:S.height>_;case"position":if(P[n.$getTemplateRoot]()[n.$extra].noLayoutFailure||P.h===""||Math.round(F+D-S.height)<=_)return!0;const N=P[n.$getTemplateRoot]()[n.$extra].currentContentArea;return F+D>N.h;case"rl-row":case"row":return P[n.$getTemplateRoot]()[n.$extra].noLayoutFailure?!0:P.h!==""?Math.round(F-S.height)<=_:!0;default:return!0}}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.computeBbox=_,a.createWrapper=M,a.fixDimensions=l,a.fixTextIndent=F,a.fixURL=V,a.isPrintOnly=G,a.layoutClass=y,a.layoutNode=S,a.measureToString=L,a.setAccess=N,a.setFontFamily=Y,a.setMinMaxDimensions=B,a.setPara=J,a.toStyle=D;var n=g(202),c=g(2),R=g(203),v=g(210),e=g(211);function L(H){return typeof H=="string"?"0px":Number.isInteger(H)?`${H}px`:`${H.toFixed(2)}px`}const O={anchorType(H,z){const X=H[n.$getSubformParent]();if(!(!X||X.layout&&X.layout!=="position"))switch("transform"in z||(z.transform=""),H.anchorType){case"bottomCenter":z.transform+="translate(-50%, -100%)";break;case"bottomLeft":z.transform+="translate(0,-100%)";break;case"bottomRight":z.transform+="translate(-100%,-100%)";break;case"middleCenter":z.transform+="translate(-50%,-50%)";break;case"middleLeft":z.transform+="translate(0,-50%)";break;case"middleRight":z.transform+="translate(-100%,-50%)";break;case"topCenter":z.transform+="translate(-50%,0)";break;case"topRight":z.transform+="translate(-100%,0)";break}},dimensions(H,z){const X=H[n.$getSubformParent]();let q=H.w;const $=H.h;if(X.layout&&X.layout.includes("row")){const fe=X[n.$extra],Q=H.colSpan;let ie;Q===-1?(ie=fe.columnWidths.slice(fe.currentColumn).reduce((Te,me)=>Te+me,0),fe.currentColumn=0):(ie=fe.columnWidths.slice(fe.currentColumn,fe.currentColumn+Q).reduce((Te,me)=>Te+me,0),fe.currentColumn=(fe.currentColumn+H.colSpan)%fe.columnWidths.length),isNaN(ie)||(q=H.w=ie)}q!==""?z.width=L(q):z.width="auto",$!==""?z.height=L($):z.height="auto"},position(H,z){const X=H[n.$getSubformParent]();X&&X.layout&&X.layout!=="position"||(z.position="absolute",z.left=L(H.x),z.top=L(H.y))},rotate(H,z){H.rotate&&("transform"in z||(z.transform=""),z.transform+=`rotate(-${H.rotate}deg)`,z.transformOrigin="top left")},presence(H,z){switch(H.presence){case"invisible":z.visibility="hidden";break;case"hidden":case"inactive":z.display="none";break}},hAlign(H,z){if(H[n.$nodeName]==="para")switch(H.hAlign){case"justifyAll":z.textAlign="justify-all";break;case"radix":z.textAlign="left";break;default:z.textAlign=H.hAlign}else switch(H.hAlign){case"left":z.alignSelf="start";break;case"center":z.alignSelf="center";break;case"right":z.alignSelf="end";break}},margin(H,z){H.margin&&(z.margin=H.margin[n.$toStyle]().margin)}};function B(H,z){H[n.$getSubformParent]().layout==="position"&&(H.minW>0&&(z.minWidth=L(H.minW)),H.maxW>0&&(z.maxWidth=L(H.maxW)),H.minH>0&&(z.minHeight=L(H.minH)),H.maxH>0&&(z.maxHeight=L(H.maxH)))}function P(H,z,X,q,$,fe){const Q=new e.TextMeasure(z,X,q,$);return typeof H=="string"?Q.addString(H):H[n.$pushGlyphs](Q),Q.compute(fe)}function S(H,z){let X=null,q=null,$=!1;if((!H.w||!H.h)&&H.value){let fe=0,Q=0;H.margin&&(fe=H.margin.leftInset+H.margin.rightInset,Q=H.margin.topInset+H.margin.bottomInset);let ie=null,Te=null;H.para&&(Te=Object.create(null),ie=H.para.lineHeight===""?null:H.para.lineHeight,Te.top=H.para.spaceAbove===""?0:H.para.spaceAbove,Te.bottom=H.para.spaceBelow===""?0:H.para.spaceBelow,Te.left=H.para.marginLeft===""?0:H.para.marginLeft,Te.right=H.para.marginRight===""?0:H.para.marginRight);let me=H.font;if(!me){const de=H[n.$getTemplateRoot]();let Z=H[n.$getParent]();for(;Z&&Z!==de;){if(Z.font){me=Z.font;break}Z=Z[n.$getParent]()}}const K=(H.w||z.width)-fe,ce=H[n.$globalData].fontFinder;if(H.value.exData&&H.value.exData[n.$content]&&H.value.exData.contentType==="text/html"){const de=P(H.value.exData[n.$content],me,Te,ie,ce,K);q=de.width,X=de.height,$=de.isBroken}else{const de=H.value[n.$text]();if(de){const Z=P(de,me,Te,ie,ce,K);q=Z.width,X=Z.height,$=Z.isBroken}}q!==null&&!H.w&&(q+=fe),X!==null&&!H.h&&(X+=Q)}return{w:q,h:X,isBroken:$}}function _(H,z,X){let q;if(H.w!==""&&H.h!=="")q=[H.x,H.y,H.w,H.h];else{if(!X)return null;let $=H.w;if($===""){if(H.maxW===0){const Q=H[n.$getSubformParent]();Q.layout==="position"&&Q.w!==""?$=0:$=H.minW}else $=Math.min(H.maxW,X.width);z.attributes.style.width=L($)}let fe=H.h;if(fe===""){if(H.maxH===0){const Q=H[n.$getSubformParent]();Q.layout==="position"&&Q.h!==""?fe=0:fe=H.minH}else fe=Math.min(H.maxH,X.height);z.attributes.style.height=L(fe)}q=[H.x,H.y,$,fe]}return q}function l(H){const z=H[n.$getSubformParent]();if(z.layout&&z.layout.includes("row")){const X=z[n.$extra],q=H.colSpan;let $;q===-1?$=X.columnWidths.slice(X.currentColumn).reduce((fe,Q)=>fe+Q,0):$=X.columnWidths.slice(X.currentColumn,X.currentColumn+q).reduce((fe,Q)=>fe+Q,0),isNaN($)||(H.w=$)}z.layout&&z.layout!=="position"&&(H.x=H.y=0),H.layout==="table"&&H.w===""&&Array.isArray(H.columnWidths)&&(H.w=H.columnWidths.reduce((X,q)=>X+q,0))}function y(H){switch(H.layout){case"position":return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb";default:return"xfaPosition"}}function D(H){const z=Object.create(null);for(var X=arguments.length,q=new Array(X>1?X-1:0),$=1;$=0)return;const q="padding"+((H.textAlign==="right"?"right":"left")==="left"?"Left":"Right"),$=(0,R.getMeasurement)(H[q],"0px");H[q]=`${$-z}px`}function N(H,z){switch(H.access){case"nonInteractive":z.push("xfaNonInteractive");break;case"readOnly":z.push("xfaReadOnly");break;case"protected":z.push("xfaDisabled");break}}function G(H){return H.relevant.length>0&&!H.relevant[0].excluded&&H.relevant[0].viewname==="print"}function W(H){const z=H[n.$getTemplateRoot]()[n.$extra].paraStack;return z.length?z.at(-1):null}function J(H,z,X){if(X.attributes.class&&X.attributes.class.includes("xfaRich")){z&&(H.h===""&&(z.height="auto"),H.w===""&&(z.width="auto"));const q=W(H);if(q){const $=X.attributes.style;switch($.display="flex",$.flexDirection="column",q.vAlign){case"top":$.justifyContent="start";break;case"bottom":$.justifyContent="end";break;case"middle":$.justifyContent="center";break}const fe=q[n.$toStyle]();for(const[Q,ie]of Object.entries(fe))Q in $||($[Q]=ie)}}}function Y(H,z,X,q){if(!X){delete q.fontFamily;return}const $=(0,R.stripQuotes)(H.typeface);q.fontFamily=`"${$}"`;const fe=X.find($);if(fe){const{fontFamily:Q}=fe.regular.cssFontInfo;Q!==$&&(q.fontFamily=`"${Q}"`);const ie=W(z);if(ie&&ie.lineHeight!==""||q.lineHeight)return;const Te=(0,v.selectFont)(H,fe);Te&&(q.lineHeight=Math.max(1.2,Te.lineHeight))}}function V(H){const z=(0,c.createValidAbsoluteUrl)(H,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return z?z.href:null}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.FontFinder=void 0,a.getMetrics=L,a.selectFont=e;var n=g(202),c=g(203),R=g(2);class v{constructor(B){this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(B)}add(B){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;for(const _ of B)this.addPdfFont(_);for(const _ of this.fonts.values())_.regular||(_.regular=_.italic||_.bold||_.bolditalic);if(!P||P.size===0)return;const S=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const _ of P)this.fonts.set(_,S)}addPdfFont(B){const P=B.cssFontInfo,S=P.fontFamily;let _=this.fonts.get(S);_||(_=Object.create(null),this.fonts.set(S,_),this.defaultFont||(this.defaultFont=_));let l="";const y=parseFloat(P.fontWeight);parseFloat(P.italicAngle)!==0?l=y>=700?"bolditalic":"italic":y>=700&&(l="bold"),l||((B.name.includes("Bold")||B.psName&&B.psName.includes("Bold"))&&(l="bold"),(B.name.includes("Italic")||B.name.endsWith("It")||B.psName&&(B.psName.includes("Italic")||B.psName.endsWith("It")))&&(l+="italic")),l||(l="regular"),_[l]=B}getDefault(){return this.defaultFont}find(B){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,S=this.fonts.get(B)||this.cache.get(B);if(S)return S;const _=/,|-|_| |bolditalic|bold|italic|regular|it/gi;let l=B.replace(_,"");if(S=this.fonts.get(l),S)return this.cache.set(B,S),S;l=l.toLowerCase();const y=[];for(const[D,M]of this.fonts.entries())D.replace(_,"").toLowerCase().startsWith(l)&&y.push(M);if(y.length===0)for(const[,D]of this.fonts.entries())D.regular.name&&D.regular.name.replace(_,"").toLowerCase().startsWith(l)&&y.push(D);if(y.length===0){l=l.replace(/psmt|mt/gi,"");for(const[D,M]of this.fonts.entries())D.replace(_,"").toLowerCase().startsWith(l)&&y.push(M)}if(y.length===0)for(const D of this.fonts.values())D.regular.name&&D.regular.name.replace(_,"").toLowerCase().startsWith(l)&&y.push(D);return y.length>=1?(y.length!==1&&P&&(0,R.warn)(`XFA - Too many choices to guess the correct font: ${B}`),this.cache.set(B,y[0]),y[0]):(P&&!this.warned.has(B)&&(this.warned.add(B),(0,R.warn)(`XFA - Cannot find the font: ${B}`)),null)}}a.FontFinder=v;function e(O,B){return O.posture==="italic"?O.weight==="bold"?B.bolditalic:B.italic:O.weight==="bold"?B.bold:B.regular}function L(O){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=null;if(O){const y=(0,c.stripQuotes)(O.typeface),D=O[n.$globalData].fontFinder.find(y);P=e(O,D)}if(!P)return{lineHeight:12,lineGap:2,lineNoGap:10};const S=O.size||10,_=P.lineHeight?Math.max(B?0:1.2,P.lineHeight):1.2,l=P.lineGap===void 0?.2:P.lineGap;return{lineHeight:_*S,lineGap:l*S,lineNoGap:Math.max(1,_-l)*S}}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.TextMeasure=void 0;var n=g(210);const c=1.02;class R{constructor(O,B,P,S){if(this.lineHeight=P,this.paraMargin=B||{top:0,bottom:0,left:0,right:0},!O){[this.pdfFont,this.xfaFont]=this.defaultFont(S);return}this.xfaFont={typeface:O.typeface,posture:O.posture,weight:O.weight,size:O.size,letterSpacing:O.letterSpacing};const _=S.find(O.typeface);if(!_){[this.pdfFont,this.xfaFont]=this.defaultFont(S);return}this.pdfFont=(0,n.selectFont)(O,_),this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(S))}defaultFont(O){const B=O.find("Helvetica",!1)||O.find("Myriad Pro",!1)||O.find("Arial",!1)||O.getDefault();if(B&&B.regular){const S=B.regular,l={typeface:S.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0};return[S,l]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}class v{constructor(O,B,P,S){this.fontFinder=S,this.stack=[new R(O,B,P,S)]}pushData(O,B,P){const S=this.stack.at(-1);for(const l of["typeface","posture","weight","size","letterSpacing"])O[l]||(O[l]=S.xfaFont[l]);for(const l of["top","bottom","left","right"])isNaN(B[l])&&(B[l]=S.paraMargin[l]);const _=new R(O,B,P||S.lineHeight,this.fontFinder);_.pdfFont||(_.pdfFont=S.pdfFont),this.stack.push(_)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}}class e{constructor(O,B,P,S){this.glyphs=[],this.fontSelector=new v(O,B,P,S),this.extraHeight=0}pushData(O,B,P){this.fontSelector.pushData(O,B,P)}popFont(O){return this.fontSelector.popFont()}addPara(){const O=this.fontSelector.topFont();this.extraHeight+=O.paraMargin.top+O.paraMargin.bottom}addString(O){if(!O)return;const B=this.fontSelector.topFont(),P=B.xfaFont.size;if(B.pdfFont){const S=B.xfaFont.letterSpacing,_=B.pdfFont,l=_.lineHeight||1.2,y=B.lineHeight||Math.max(1.2,l)*P,D=_.lineGap===void 0?.2:_.lineGap,M=l-D,F=Math.max(1,M)*P,N=P/1e3,G=_.defaultWidth||_.charsToGlyphs(" ")[0].width;for(const W of O.split(/[\u2029\n]/)){const J=_.encodeString(W).join(""),Y=_.charsToGlyphs(J);for(const V of Y){const H=V.width||G;this.glyphs.push([H*N+S,y,F,V.unicode,!1])}this.glyphs.push([0,0,0,` +`,!0])}this.glyphs.pop();return}for(const S of O.split(/[\u2029\n]/)){for(const _ of S.split(""))this.glyphs.push([P,1.2*P,P,_,!1]);this.glyphs.push([0,0,0,` +`,!0])}this.glyphs.pop()}compute(O){let B=-1,P=0,S=0,_=0,l=0,y=0,D=!1,M=!0;for(let F=0,N=this.glyphs.length;FO?(S=Math.max(S,l),l=0,_+=y,y=z,B=-1,P=0,D=!0,M=!1):(y=Math.max(z,y),P=l,l+=G,B=F);continue}if(l+G>O){_+=y,y=z,B!==-1?(F=B,S=Math.max(S,P),l=0,B=-1,P=0):(S=Math.max(S,l),l=G),D=!0,M=!1;continue}l+=G,y=Math.max(z,y)}return S=Math.max(S,l),_+=y+this.extraHeight,{width:c*S,height:_,isBroken:D}}}a.TextMeasure=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.DataHandler=void 0;var n=g(202);class c{constructor(v,e){this.data=e,this.dataset=v.datasets||null}serialize(v){const e=[[-1,this.data[n.$getChildren]()]];for(;e.length>0;){const O=e.at(-1),[B,P]=O;if(B+1===P.length){e.pop();continue}const S=P[++O[0]],_=v.get(S[n.$uid]);if(_)S[n.$setValue](_);else{const y=S[n.$getAttributes]();for(const D of y.values()){const M=v.get(D[n.$uid]);if(M){D[n.$setValue](M);break}}}const l=S[n.$getChildren]();l.length>0&&e.push([-1,l])}const L=[''];if(this.dataset)for(const O of this.dataset[n.$getChildren]())O[n.$nodeName]!=="data"&&O[n.$toString](L);return this.data[n.$toString](L),L.push(""),L.join("")}}a.DataHandler=c},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XFAParser=void 0;var n=g(202),c=g(191),R=g(214),v=g(2);class e extends c.XMLParserBase{constructor(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super(),this._builder=new R.Builder(O),this._stack=[],this._globalData={usedTypefaces:new Set},this._ids=new Map,this._current=this._builder.buildRoot(this._ids),this._errorCode=c.XMLParserErrorCode.NoError,this._whiteRegex=/^\s+$/,this._nbsps=/\xa0+/g,this._richText=B}parse(O){if(this.parseXml(O),this._errorCode===c.XMLParserErrorCode.NoError)return this._current[n.$finalize](),this._current.element}onText(O){if(O=O.replace(this._nbsps,B=>B.slice(1)+" "),this._richText||this._current[n.$acceptWhitespace]()){this._current[n.$onText](O,this._richText);return}this._whiteRegex.test(O)||this._current[n.$onText](O.trim())}onCdata(O){this._current[n.$onText](O)}_mkAttributes(O,B){let P=null,S=null;const _=Object.create({});for(const{name:l,value:y}of O)if(l==="xmlns")P?(0,v.warn)(`XFA - multiple namespace definition in <${B}>`):P=y;else if(l.startsWith("xmlns:")){const D=l.substring(6);S||(S=[]),S.push({prefix:D,value:y})}else{const D=l.indexOf(":");if(D===-1)_[l]=y;else{let M=_[n.$nsAttributes];M||(M=_[n.$nsAttributes]=Object.create(null));const[F,N]=[l.slice(0,D),l.slice(D+1)];let G=M[F];G||(G=M[F]=Object.create(null)),G[N]=y}}return[P,S,_]}_getNameAndPrefix(O,B){const P=O.indexOf(":");return P===-1?[O,null]:[O.substring(P+1),B?"":O.substring(0,P)]}onBeginElement(O,B,P){const[S,_,l]=this._mkAttributes(B,O),[y,D]=this._getNameAndPrefix(O,this._builder.isNsAgnostic()),M=this._builder.build({nsPrefix:D,name:y,attributes:l,namespace:S,prefixes:_});if(M[n.$globalData]=this._globalData,P){M[n.$finalize](),this._current[n.$onChild](M)&&M[n.$setId](this._ids),M[n.$clean](this._builder);return}this._stack.push(this._current),this._current=M}onEndElement(O){const B=this._current;if(B[n.$isCDATAXml]()&&typeof B[n.$content]=="string"){const P=new e;P._globalData=this._globalData;const S=P.parse(B[n.$content]);B[n.$content]=null,B[n.$onChild](S)}B[n.$finalize](),this._current=this._stack.pop(),this._current[n.$onChild](B)&&B[n.$setId](this._ids),B[n.$clean](this._builder)}onError(O){this._errorCode=O}}a.XFAParser=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.Builder=void 0;var n=g(204),c=g(202),R=g(215),v=g(207),e=g(224),L=g(2);class O extends c.XFAObject{constructor(_){super(-1,"root",Object.create(null)),this.element=null,this[c.$ids]=_}[c.$onChild](_){return this.element=_,!0}[c.$finalize](){super[c.$finalize](),this.element.template instanceof v.Template&&(this[c.$ids].set(c.$root,this.element),this.element.template[c.$resolvePrototypes](this[c.$ids]),this.element.template[c.$ids]=this[c.$ids])}}class B extends c.XFAObject{constructor(){super(-1,"",Object.create(null))}[c.$onChild](_){return!1}}class P{constructor(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max(...Object.values(n.NamespaceIds).map(l=>{let{id:y}=l;return y})),this._currentNamespace=_||new e.UnknownNamespace(++this._nextNsId)}buildRoot(_){return new O(_)}build(_){let{nsPrefix:l,name:y,attributes:D,namespace:M,prefixes:F}=_;const N=M!==null;if(N&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(M)),F&&this._addNamespacePrefix(F),D.hasOwnProperty(c.$nsAttributes)){const J=R.NamespaceSetUp.datasets,Y=D[c.$nsAttributes];let V=null;for(const[H,z]of Object.entries(Y))if(this._getNamespaceToUse(H)===J){V={xfa:z};break}V?D[c.$nsAttributes]=V:delete D[c.$nsAttributes]}const G=this._getNamespaceToUse(l),W=G&&G[n.$buildXFAObject](y,D)||new B;return W[c.$isNsAgnostic]()&&this._nsAgnosticLevel++,(N||F||W[c.$isNsAgnostic]())&&(W[c.$cleanup]={hasNamespace:N,prefixes:F,nsAgnostic:W[c.$isNsAgnostic]()}),W}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(_){let l=this._namespaces.get(_);if(l)return l;for(const[y,{check:D}]of Object.entries(n.NamespaceIds))if(D(_)){if(l=R.NamespaceSetUp[y],l)return this._namespaces.set(_,l),l;break}return l=new e.UnknownNamespace(++this._nextNsId),this._namespaces.set(_,l),l}_addNamespacePrefix(_){for(const{prefix:l,value:y}of _){const D=this._searchNamespace(y);let M=this._namespacePrefixes.get(l);M||(M=[],this._namespacePrefixes.set(l,M)),M.push(D)}}_getNamespaceToUse(_){if(!_)return this._currentNamespace;const l=this._namespacePrefixes.get(_);return l&&l.length>0?l.at(-1):((0,L.warn)(`Unknown namespace prefix: ${_}.`),null)}clean(_){const{hasNamespace:l,prefixes:y,nsAgnostic:D}=_;l&&(this._currentNamespace=this._namespaceStack.pop()),y&&y.forEach(M=>{let{prefix:F}=M;this._namespacePrefixes.get(F).pop()}),D&&this._nsAgnosticLevel--}}a.Builder=P},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.NamespaceSetUp=void 0;var n=g(216),c=g(217),R=g(218),v=g(219),e=g(220),L=g(221),O=g(207),B=g(222),P=g(223);const S={config:n.ConfigNamespace,connection:c.ConnectionSetNamespace,datasets:R.DatasetsNamespace,localeSet:v.LocaleSetNamespace,signature:e.SignatureNamespace,stylesheet:L.StylesheetNamespace,template:O.TemplateNamespace,xdp:B.XdpNamespace,xhtml:P.XhtmlNamespace};a.NamespaceSetUp=S},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ConfigNamespace=void 0;var n=g(204),c=g(202),R=g(203),v=g(2);const e=n.NamespaceIds.config.id;class L extends c.XFAObject{constructor(Ge){super(e,"acrobat",!0),this.acrobat7=null,this.autoSave=null,this.common=null,this.validate=null,this.validateApprovalSignatures=null,this.submitUrl=new c.XFAObjectArray}}class O extends c.XFAObject{constructor(Ge){super(e,"acrobat7",!0),this.dynamicRender=null}}class B extends c.OptionObject{constructor(Ge){super(e,"ADBE_JSConsole",["delegate","Enable","Disable"])}}class P extends c.OptionObject{constructor(Ge){super(e,"ADBE_JSDebugger",["delegate","Enable","Disable"])}}class S extends c.Option01{constructor(Ge){super(e,"addSilentPrint")}}class _ extends c.Option01{constructor(Ge){super(e,"addViewerPreferences")}}class l extends c.Option10{constructor(Ge){super(e,"adjustData")}}class y extends c.IntegerObject{constructor(Ge){super(e,"adobeExtensionLevel",0,bt=>bt>=1&&bt<=8)}}class D extends c.XFAObject{constructor(Ge){super(e,"agent",!0),this.name=Ge.name?Ge.name.trim():"",this.common=new c.XFAObjectArray}}class M extends c.ContentObject{constructor(Ge){super(e,"alwaysEmbed")}}class F extends c.StringObject{constructor(Ge){super(e,"amd")}}class N extends c.XFAObject{constructor(Ge){super(e,"area"),this.level=(0,R.getInteger)({data:Ge.level,defaultValue:0,validate:bt=>bt>=1&&bt<=3}),this.name=(0,R.getStringOption)(Ge.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}}class G extends c.OptionObject{constructor(Ge){super(e,"attributes",["preserve","delegate","ignore"])}}class W extends c.OptionObject{constructor(Ge){super(e,"autoSave",["disabled","enabled"])}}class J extends c.StringObject{constructor(Ge){super(e,"base")}}class Y extends c.XFAObject{constructor(Ge){super(e,"batchOutput"),this.format=(0,R.getStringOption)(Ge.format,["none","concat","zip","zipCompress"])}}class V extends c.ContentObject{constructor(Ge){super(e,"behaviorOverride")}[c.$finalize](){this[c.$content]=new Map(this[c.$content].trim().split(/\s+/).filter(Ge=>Ge.includes(":")).map(Ge=>Ge.split(":",2)))}}class H extends c.XFAObject{constructor(Ge){super(e,"cache",!0),this.templateCache=null}}class z extends c.Option01{constructor(Ge){super(e,"change")}}class X extends c.XFAObject{constructor(Ge){super(e,"common",!0),this.data=null,this.locale=null,this.localeSet=null,this.messaging=null,this.suppressBanner=null,this.template=null,this.validationMessaging=null,this.versionControl=null,this.log=new c.XFAObjectArray}}class q extends c.XFAObject{constructor(Ge){super(e,"compress"),this.scope=(0,R.getStringOption)(Ge.scope,["imageOnly","document"])}}class $ extends c.Option01{constructor(Ge){super(e,"compressLogicalStructure")}}class fe extends c.Option10{constructor(Ge){super(e,"compressObjectStream")}}class Q extends c.XFAObject{constructor(Ge){super(e,"compression",!0),this.compressLogicalStructure=null,this.compressObjectStream=null,this.level=null,this.type=null}}class ie extends c.XFAObject{constructor(Ge){super(e,"config",!0),this.acrobat=null,this.present=null,this.trace=null,this.agent=new c.XFAObjectArray}}class Te extends c.OptionObject{constructor(Ge){super(e,"conformance",["A","B"])}}class me extends c.Option01{constructor(Ge){super(e,"contentCopy")}}class K extends c.IntegerObject{constructor(Ge){super(e,"copies",1,bt=>bt>=1)}}class ce extends c.StringObject{constructor(Ge){super(e,"creator")}}class de extends c.IntegerObject{constructor(Ge){super(e,"currentPage",0,bt=>bt>=0)}}class Z extends c.XFAObject{constructor(Ge){super(e,"data",!0),this.adjustData=null,this.attributes=null,this.incrementalLoad=null,this.outputXSL=null,this.range=null,this.record=null,this.startNode=null,this.uri=null,this.window=null,this.xsl=null,this.excludeNS=new c.XFAObjectArray,this.transform=new c.XFAObjectArray}}class ae extends c.XFAObject{constructor(Ge){super(e,"debug",!0),this.uri=null}}class he extends c.ContentObject{constructor(Ge){super(e,"defaultTypeface"),this.writingScript=(0,R.getStringOption)(Ge.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}}class we extends c.OptionObject{constructor(Ge){super(e,"destination",["pdf","pcl","ps","webClient","zpl"])}}class _e extends c.Option01{constructor(Ge){super(e,"documentAssembly")}}class ye extends c.XFAObject{constructor(Ge){super(e,"driver",!0),this.name=Ge.name?Ge.name.trim():"",this.fontInfo=null,this.xdc=null}}class se extends c.OptionObject{constructor(Ge){super(e,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}}class Ie extends c.OptionObject{constructor(Ge){super(e,"dynamicRender",["forbidden","required"])}}class Ce extends c.Option01{constructor(Ge){super(e,"embed")}}class oe extends c.Option01{constructor(Ge){super(e,"encrypt")}}class pe extends c.XFAObject{constructor(Ge){super(e,"encryption",!0),this.encrypt=null,this.encryptionLevel=null,this.permissions=null}}class xe extends c.OptionObject{constructor(Ge){super(e,"encryptionLevel",["40bit","128bit"])}}class Ne extends c.StringObject{constructor(Ge){super(e,"enforce")}}class ke extends c.XFAObject{constructor(Ge){super(e,"equate"),this.force=(0,R.getInteger)({data:Ge.force,defaultValue:1,validate:bt=>bt===0}),this.from=Ge.from||"",this.to=Ge.to||""}}class De extends c.XFAObject{constructor(Ge){super(e,"equateRange"),this.from=Ge.from||"",this.to=Ge.to||"",this._unicodeRange=Ge.unicodeRange||""}get unicodeRange(){const Ge=[],bt=/U\+([0-9a-fA-F]+)/,Tt=this._unicodeRange;for(let Ft of Tt.split(",").map(Zt=>Zt.trim()).filter(Zt=>!!Zt))Ft=Ft.split("-",2).map(Zt=>{const Qt=Zt.match(bt);return Qt?parseInt(Qt[1],16):0}),Ft.length===1&&Ft.push(Ft[0]),Ge.push(Ft);return(0,v.shadow)(this,"unicodeRange",Ge)}}class Fe extends c.ContentObject{constructor(Ge){super(e,"exclude")}[c.$finalize](){this[c.$content]=this[c.$content].trim().split(/\s+/).filter(Ge=>Ge&&["calculate","close","enter","exit","initialize","ready","validate"].includes(Ge))}}class Pe extends c.StringObject{constructor(Ge){super(e,"excludeNS")}}class qe extends c.OptionObject{constructor(Ge){super(e,"flipLabel",["usePrinterSetting","on","off"])}}class Le extends c.XFAObject{constructor(Ge){super(e,"fontInfo",!0),this.embed=null,this.map=null,this.subsetBelow=null,this.alwaysEmbed=new c.XFAObjectArray,this.defaultTypeface=new c.XFAObjectArray,this.neverEmbed=new c.XFAObjectArray}}class Oe extends c.Option01{constructor(Ge){super(e,"formFieldFilling")}}class Ee extends c.StringObject{constructor(Ge){super(e,"groupParent")}}class Ae extends c.OptionObject{constructor(Ge){super(e,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}}class Ve extends c.StringObject{constructor(Ge){super(e,"includeXDPContent")}}class $e extends c.OptionObject{constructor(Ge){super(e,"incrementalLoad",["none","forwardOnly"])}}class Ue extends c.Option01{constructor(Ge){super(e,"incrementalMerge")}}class He extends c.Option01{constructor(Ge){super(e,"interactive")}}class Qe extends c.OptionObject{constructor(Ge){super(e,"jog",["usePrinterSetting","none","pageSet"])}}class Ze extends c.XFAObject{constructor(Ge){super(e,"labelPrinter",!0),this.name=(0,R.getStringOption)(Ge.name,["zpl","dpl","ipl","tcpl"]),this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class et extends c.OptionObject{constructor(Ge){super(e,"layout",["paginate","panel"])}}class tt extends c.IntegerObject{constructor(Ge){super(e,"level",0,bt=>bt>0)}}class je extends c.Option01{constructor(Ge){super(e,"linearized")}}class Je extends c.StringObject{constructor(Ge){super(e,"locale")}}class nt extends c.StringObject{constructor(Ge){super(e,"localeSet")}}class Ke extends c.XFAObject{constructor(Ge){super(e,"log",!0),this.mode=null,this.threshold=null,this.to=null,this.uri=null}}class at extends c.XFAObject{constructor(Ge){super(e,"map",!0),this.equate=new c.XFAObjectArray,this.equateRange=new c.XFAObjectArray}}class ot extends c.XFAObject{constructor(Ge){super(e,"mediumInfo",!0),this.map=null}}class Xe extends c.XFAObject{constructor(Ge){super(e,"message",!0),this.msgId=null,this.severity=null}}class ze extends c.XFAObject{constructor(Ge){super(e,"messaging",!0),this.message=new c.XFAObjectArray}}class Ye extends c.OptionObject{constructor(Ge){super(e,"mode",["append","overwrite"])}}class st extends c.Option01{constructor(Ge){super(e,"modifyAnnots")}}class _t extends c.IntegerObject{constructor(Ge){super(e,"msgId",1,bt=>bt>=1)}}class ft extends c.StringObject{constructor(Ge){super(e,"nameAttr")}}class Ct extends c.ContentObject{constructor(Ge){super(e,"neverEmbed")}}class ut extends c.IntegerObject{constructor(Ge){super(e,"numberOfCopies",null,bt=>bt>=2&&bt<=5)}}class rt extends c.XFAObject{constructor(Ge){super(e,"openAction",!0),this.destination=null}}class mt extends c.XFAObject{constructor(Ge){super(e,"output",!0),this.to=null,this.type=null,this.uri=null}}class Ot extends c.StringObject{constructor(Ge){super(e,"outputBin")}}class dt extends c.XFAObject{constructor(Ge){super(e,"outputXSL",!0),this.uri=null}}class Nt extends c.OptionObject{constructor(Ge){super(e,"overprint",["none","both","draw","field"])}}class kt extends c.StringObject{constructor(Ge){super(e,"packets")}[c.$finalize](){this[c.$content]!=="*"&&(this[c.$content]=this[c.$content].trim().split(/\s+/).filter(Ge=>["config","datasets","template","xfdf","xslt"].includes(Ge)))}}class Ut extends c.XFAObject{constructor(Ge){super(e,"pageOffset"),this.x=(0,R.getInteger)({data:Ge.x,defaultValue:"useXDCSetting",validate:bt=>!0}),this.y=(0,R.getInteger)({data:Ge.y,defaultValue:"useXDCSetting",validate:bt=>!0})}}class Ht extends c.StringObject{constructor(Ge){super(e,"pageRange")}[c.$finalize](){const Ge=this[c.$content].trim().split(/\s+/).map(Tt=>parseInt(Tt,10)),bt=[];for(let Tt=0,Ft=Ge.length;Tt!1)}}class vt extends c.XFAObject{constructor(Ge){super(e,"pcl",!0),this.name=Ge.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.pageOffset=null,this.staple=null,this.xdc=null}}class xt extends c.XFAObject{constructor(Ge){super(e,"pdf",!0),this.name=Ge.name||"",this.adobeExtensionLevel=null,this.batchOutput=null,this.compression=null,this.creator=null,this.encryption=null,this.fontInfo=null,this.interactive=null,this.linearized=null,this.openAction=null,this.pdfa=null,this.producer=null,this.renderPolicy=null,this.scriptModel=null,this.silentPrint=null,this.submitFormat=null,this.tagged=null,this.version=null,this.viewerPreferences=null,this.xdc=null}}class Rt extends c.XFAObject{constructor(Ge){super(e,"pdfa",!0),this.amd=null,this.conformance=null,this.includeXDPContent=null,this.part=null}}class At extends c.XFAObject{constructor(Ge){super(e,"permissions",!0),this.accessibleContent=null,this.change=null,this.contentCopy=null,this.documentAssembly=null,this.formFieldFilling=null,this.modifyAnnots=null,this.plaintextMetadata=null,this.print=null,this.printHighQuality=null}}class Pt extends c.Option01{constructor(Ge){super(e,"pickTrayByPDFSize")}}class $t extends c.StringObject{constructor(Ge){super(e,"picture")}}class Wt extends c.Option01{constructor(Ge){super(e,"plaintextMetadata")}}class Dt extends c.OptionObject{constructor(Ge){super(e,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}}class Yt extends c.XFAObject{constructor(Ge){super(e,"present",!0),this.behaviorOverride=null,this.cache=null,this.common=null,this.copies=null,this.destination=null,this.incrementalMerge=null,this.layout=null,this.output=null,this.overprint=null,this.pagination=null,this.paginationOverride=null,this.script=null,this.validate=null,this.xdp=null,this.driver=new c.XFAObjectArray,this.labelPrinter=new c.XFAObjectArray,this.pcl=new c.XFAObjectArray,this.pdf=new c.XFAObjectArray,this.ps=new c.XFAObjectArray,this.submitUrl=new c.XFAObjectArray,this.webClient=new c.XFAObjectArray,this.zpl=new c.XFAObjectArray}}class Vt extends c.Option01{constructor(Ge){super(e,"print")}}class rn extends c.Option01{constructor(Ge){super(e,"printHighQuality")}}class en extends c.OptionObject{constructor(Ge){super(e,"printScaling",["appdefault","noScaling"])}}class Xt extends c.StringObject{constructor(Ge){super(e,"printerName")}}class ht extends c.StringObject{constructor(Ge){super(e,"producer")}}class Et extends c.XFAObject{constructor(Ge){super(e,"ps",!0),this.name=Ge.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.staple=null,this.xdc=null}}class It extends c.ContentObject{constructor(Ge){super(e,"range")}[c.$finalize](){this[c.$content]=this[c.$content].trim().split(/\s*,\s*/,2).map(Ge=>Ge.split("-").map(bt=>parseInt(bt.trim(),10))).filter(Ge=>Ge.every(bt=>!isNaN(bt))).map(Ge=>(Ge.length===1&&Ge.push(Ge[0]),Ge))}}class wt extends c.ContentObject{constructor(Ge){super(e,"record")}[c.$finalize](){this[c.$content]=this[c.$content].trim();const Ge=parseInt(this[c.$content],10);!isNaN(Ge)&&Ge>=0&&(this[c.$content]=Ge)}}class Bt extends c.ContentObject{constructor(Ge){super(e,"relevant")}[c.$finalize](){this[c.$content]=this[c.$content].trim().split(/\s+/)}}class Jt extends c.ContentObject{constructor(Ge){super(e,"rename")}[c.$finalize](){this[c.$content]=this[c.$content].trim(),(this[c.$content].toLowerCase().startsWith("xml")||this[c.$content].match(new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u")))&&(0,v.warn)("XFA - Rename: invalid XFA name")}}class _n extends c.OptionObject{constructor(Ge){super(e,"renderPolicy",["server","client"])}}class nn extends c.OptionObject{constructor(Ge){super(e,"runScripts",["both","client","none","server"])}}class an extends c.XFAObject{constructor(Ge){super(e,"script",!0),this.currentPage=null,this.exclude=null,this.runScripts=null}}class bn extends c.OptionObject{constructor(Ge){super(e,"scriptModel",["XFA","none"])}}class Cn extends c.OptionObject{constructor(Ge){super(e,"severity",["ignore","error","information","trace","warning"])}}class Mn extends c.XFAObject{constructor(Ge){super(e,"silentPrint",!0),this.addSilentPrint=null,this.printerName=null}}class Gn extends c.XFAObject{constructor(Ge){super(e,"staple"),this.mode=(0,R.getStringOption)(Ge.mode,["usePrinterSetting","on","off"])}}class xr extends c.StringObject{constructor(Ge){super(e,"startNode")}}class Kn extends c.IntegerObject{constructor(Ge){super(e,"startPage",0,bt=>!0)}}class Hn extends c.OptionObject{constructor(Ge){super(e,"submitFormat",["html","delegate","fdf","xml","pdf"])}}class zn extends c.StringObject{constructor(Ge){super(e,"submitUrl")}}class kn extends c.IntegerObject{constructor(Ge){super(e,"subsetBelow",100,bt=>bt>=0&&bt<=100)}}class vr extends c.Option01{constructor(Ge){super(e,"suppressBanner")}}class lr extends c.Option01{constructor(Ge){super(e,"tagged")}}class Tr extends c.XFAObject{constructor(Ge){super(e,"template",!0),this.base=null,this.relevant=null,this.startPage=null,this.uri=null,this.xsl=null}}class Qn extends c.OptionObject{constructor(Ge){super(e,"threshold",["trace","error","information","warning"])}}class Zn extends c.OptionObject{constructor(Ge){super(e,"to",["null","memory","stderr","stdout","system","uri"])}}class cr extends c.XFAObject{constructor(Ge){super(e,"templateCache"),this.maxEntries=(0,R.getInteger)({data:Ge.maxEntries,defaultValue:5,validate:bt=>bt>=0})}}class ur extends c.XFAObject{constructor(Ge){super(e,"trace",!0),this.area=new c.XFAObjectArray}}class Cr extends c.XFAObject{constructor(Ge){super(e,"transform",!0),this.groupParent=null,this.ifEmpty=null,this.nameAttr=null,this.picture=null,this.presence=null,this.rename=null,this.whitespace=null}}class Jn extends c.OptionObject{constructor(Ge){super(e,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}}class qn extends c.StringObject{constructor(Ge){super(e,"uri")}}class dr extends c.OptionObject{constructor(Ge){super(e,"validate",["preSubmit","prePrint","preExecute","preSave"])}}class Ar extends c.ContentObject{constructor(Ge){super(e,"validateApprovalSignatures")}[c.$finalize](){this[c.$content]=this[c.$content].trim().split(/\s+/).filter(Ge=>["docReady","postSign"].includes(Ge))}}class fr extends c.OptionObject{constructor(Ge){super(e,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}}class Wn extends c.OptionObject{constructor(Ge){super(e,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}}class er extends c.XFAObject{constructor(Ge){super(e,"VersionControl"),this.outputBelow=(0,R.getStringOption)(Ge.outputBelow,["warn","error","update"]),this.sourceAbove=(0,R.getStringOption)(Ge.sourceAbove,["warn","error"]),this.sourceBelow=(0,R.getStringOption)(Ge.sourceBelow,["update","maintain"])}}class Rr extends c.XFAObject{constructor(Ge){super(e,"viewerPreferences",!0),this.ADBE_JSConsole=null,this.ADBE_JSDebugger=null,this.addViewerPreferences=null,this.duplexOption=null,this.enforce=null,this.numberOfCopies=null,this.pageRange=null,this.pickTrayByPDFSize=null,this.printScaling=null}}class gr extends c.XFAObject{constructor(Ge){super(e,"webClient",!0),this.name=Ge.name?Ge.name.trim():"",this.fontInfo=null,this.xdc=null}}class tr extends c.OptionObject{constructor(Ge){super(e,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}}class Ln extends c.ContentObject{constructor(Ge){super(e,"window")}[c.$finalize](){const Ge=this[c.$content].trim().split(/\s*,\s*/,2).map(bt=>parseInt(bt,10));if(Ge.some(bt=>isNaN(bt))){this[c.$content]=[0,0];return}Ge.length===1&&Ge.push(Ge[0]),this[c.$content]=Ge}}class $n extends c.XFAObject{constructor(Ge){super(e,"xdc",!0),this.uri=new c.XFAObjectArray,this.xsl=new c.XFAObjectArray}}class mr extends c.XFAObject{constructor(Ge){super(e,"xdp",!0),this.packets=null}}class zr extends c.XFAObject{constructor(Ge){super(e,"xsl",!0),this.debug=null,this.uri=null}}class _r extends c.XFAObject{constructor(Ge){super(e,"zpl",!0),this.name=Ge.name?Ge.name.trim():"",this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class yt{static[n.$buildXFAObject](Ge,bt){if(yt.hasOwnProperty(Ge))return yt[Ge](bt)}static acrobat(Ge){return new L(Ge)}static acrobat7(Ge){return new O(Ge)}static ADBE_JSConsole(Ge){return new B(Ge)}static ADBE_JSDebugger(Ge){return new P(Ge)}static addSilentPrint(Ge){return new S(Ge)}static addViewerPreferences(Ge){return new _(Ge)}static adjustData(Ge){return new l(Ge)}static adobeExtensionLevel(Ge){return new y(Ge)}static agent(Ge){return new D(Ge)}static alwaysEmbed(Ge){return new M(Ge)}static amd(Ge){return new F(Ge)}static area(Ge){return new N(Ge)}static attributes(Ge){return new G(Ge)}static autoSave(Ge){return new W(Ge)}static base(Ge){return new J(Ge)}static batchOutput(Ge){return new Y(Ge)}static behaviorOverride(Ge){return new V(Ge)}static cache(Ge){return new H(Ge)}static change(Ge){return new z(Ge)}static common(Ge){return new X(Ge)}static compress(Ge){return new q(Ge)}static compressLogicalStructure(Ge){return new $(Ge)}static compressObjectStream(Ge){return new fe(Ge)}static compression(Ge){return new Q(Ge)}static config(Ge){return new ie(Ge)}static conformance(Ge){return new Te(Ge)}static contentCopy(Ge){return new me(Ge)}static copies(Ge){return new K(Ge)}static creator(Ge){return new ce(Ge)}static currentPage(Ge){return new de(Ge)}static data(Ge){return new Z(Ge)}static debug(Ge){return new ae(Ge)}static defaultTypeface(Ge){return new he(Ge)}static destination(Ge){return new we(Ge)}static documentAssembly(Ge){return new _e(Ge)}static driver(Ge){return new ye(Ge)}static duplexOption(Ge){return new se(Ge)}static dynamicRender(Ge){return new Ie(Ge)}static embed(Ge){return new Ce(Ge)}static encrypt(Ge){return new oe(Ge)}static encryption(Ge){return new pe(Ge)}static encryptionLevel(Ge){return new xe(Ge)}static enforce(Ge){return new Ne(Ge)}static equate(Ge){return new ke(Ge)}static equateRange(Ge){return new De(Ge)}static exclude(Ge){return new Fe(Ge)}static excludeNS(Ge){return new Pe(Ge)}static flipLabel(Ge){return new qe(Ge)}static fontInfo(Ge){return new Le(Ge)}static formFieldFilling(Ge){return new Oe(Ge)}static groupParent(Ge){return new Ee(Ge)}static ifEmpty(Ge){return new Ae(Ge)}static includeXDPContent(Ge){return new Ve(Ge)}static incrementalLoad(Ge){return new $e(Ge)}static incrementalMerge(Ge){return new Ue(Ge)}static interactive(Ge){return new He(Ge)}static jog(Ge){return new Qe(Ge)}static labelPrinter(Ge){return new Ze(Ge)}static layout(Ge){return new et(Ge)}static level(Ge){return new tt(Ge)}static linearized(Ge){return new je(Ge)}static locale(Ge){return new Je(Ge)}static localeSet(Ge){return new nt(Ge)}static log(Ge){return new Ke(Ge)}static map(Ge){return new at(Ge)}static mediumInfo(Ge){return new ot(Ge)}static message(Ge){return new Xe(Ge)}static messaging(Ge){return new ze(Ge)}static mode(Ge){return new Ye(Ge)}static modifyAnnots(Ge){return new st(Ge)}static msgId(Ge){return new _t(Ge)}static nameAttr(Ge){return new ft(Ge)}static neverEmbed(Ge){return new Ct(Ge)}static numberOfCopies(Ge){return new ut(Ge)}static openAction(Ge){return new rt(Ge)}static output(Ge){return new mt(Ge)}static outputBin(Ge){return new Ot(Ge)}static outputXSL(Ge){return new dt(Ge)}static overprint(Ge){return new Nt(Ge)}static packets(Ge){return new kt(Ge)}static pageOffset(Ge){return new Ut(Ge)}static pageRange(Ge){return new Ht(Ge)}static pagination(Ge){return new Kt(Ge)}static paginationOverride(Ge){return new qt(Ge)}static part(Ge){return new pn(Ge)}static pcl(Ge){return new vt(Ge)}static pdf(Ge){return new xt(Ge)}static pdfa(Ge){return new Rt(Ge)}static permissions(Ge){return new At(Ge)}static pickTrayByPDFSize(Ge){return new Pt(Ge)}static picture(Ge){return new $t(Ge)}static plaintextMetadata(Ge){return new Wt(Ge)}static presence(Ge){return new Dt(Ge)}static present(Ge){return new Yt(Ge)}static print(Ge){return new Vt(Ge)}static printHighQuality(Ge){return new rn(Ge)}static printScaling(Ge){return new en(Ge)}static printerName(Ge){return new Xt(Ge)}static producer(Ge){return new ht(Ge)}static ps(Ge){return new Et(Ge)}static range(Ge){return new It(Ge)}static record(Ge){return new wt(Ge)}static relevant(Ge){return new Bt(Ge)}static rename(Ge){return new Jt(Ge)}static renderPolicy(Ge){return new _n(Ge)}static runScripts(Ge){return new nn(Ge)}static script(Ge){return new an(Ge)}static scriptModel(Ge){return new bn(Ge)}static severity(Ge){return new Cn(Ge)}static silentPrint(Ge){return new Mn(Ge)}static staple(Ge){return new Gn(Ge)}static startNode(Ge){return new xr(Ge)}static startPage(Ge){return new Kn(Ge)}static submitFormat(Ge){return new Hn(Ge)}static submitUrl(Ge){return new zn(Ge)}static subsetBelow(Ge){return new kn(Ge)}static suppressBanner(Ge){return new vr(Ge)}static tagged(Ge){return new lr(Ge)}static template(Ge){return new Tr(Ge)}static templateCache(Ge){return new cr(Ge)}static threshold(Ge){return new Qn(Ge)}static to(Ge){return new Zn(Ge)}static trace(Ge){return new ur(Ge)}static transform(Ge){return new Cr(Ge)}static type(Ge){return new Jn(Ge)}static uri(Ge){return new qn(Ge)}static validate(Ge){return new dr(Ge)}static validateApprovalSignatures(Ge){return new Ar(Ge)}static validationMessaging(Ge){return new fr(Ge)}static version(Ge){return new Wn(Ge)}static versionControl(Ge){return new er(Ge)}static viewerPreferences(Ge){return new Rr(Ge)}static webClient(Ge){return new gr(Ge)}static whitespace(Ge){return new tr(Ge)}static window(Ge){return new Ln(Ge)}static xdc(Ge){return new $n(Ge)}static xdp(Ge){return new mr(Ge)}static xsl(Ge){return new zr(Ge)}static zpl(Ge){return new _r(Ge)}}a.ConfigNamespace=yt},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.ConnectionSetNamespace=void 0;var n=g(204),c=g(202);const R=n.NamespaceIds.connectionSet.id;class v extends c.XFAObject{constructor(G){super(R,"connectionSet",!0),this.wsdlConnection=new c.XFAObjectArray,this.xmlConnection=new c.XFAObjectArray,this.xsdConnection=new c.XFAObjectArray}}class e extends c.XFAObject{constructor(G){super(R,"effectiveInputPolicy"),this.id=G.id||"",this.name=G.name||"",this.use=G.use||"",this.usehref=G.usehref||""}}class L extends c.XFAObject{constructor(G){super(R,"effectiveOutputPolicy"),this.id=G.id||"",this.name=G.name||"",this.use=G.use||"",this.usehref=G.usehref||""}}class O extends c.StringObject{constructor(G){super(R,"operation"),this.id=G.id||"",this.input=G.input||"",this.name=G.name||"",this.output=G.output||"",this.use=G.use||"",this.usehref=G.usehref||""}}class B extends c.StringObject{constructor(G){super(R,"rootElement"),this.id=G.id||"",this.name=G.name||"",this.use=G.use||"",this.usehref=G.usehref||""}}class P extends c.StringObject{constructor(G){super(R,"soapAction"),this.id=G.id||"",this.name=G.name||"",this.use=G.use||"",this.usehref=G.usehref||""}}class S extends c.StringObject{constructor(G){super(R,"soapAddress"),this.id=G.id||"",this.name=G.name||"",this.use=G.use||"",this.usehref=G.usehref||""}}class _ extends c.StringObject{constructor(G){super(R,"uri"),this.id=G.id||"",this.name=G.name||"",this.use=G.use||"",this.usehref=G.usehref||""}}class l extends c.StringObject{constructor(G){super(R,"wsdlAddress"),this.id=G.id||"",this.name=G.name||"",this.use=G.use||"",this.usehref=G.usehref||""}}class y extends c.XFAObject{constructor(G){super(R,"wsdlConnection",!0),this.dataDescription=G.dataDescription||"",this.name=G.name||"",this.effectiveInputPolicy=null,this.effectiveOutputPolicy=null,this.operation=null,this.soapAction=null,this.soapAddress=null,this.wsdlAddress=null}}class D extends c.XFAObject{constructor(G){super(R,"xmlConnection",!0),this.dataDescription=G.dataDescription||"",this.name=G.name||"",this.uri=null}}class M extends c.XFAObject{constructor(G){super(R,"xsdConnection",!0),this.dataDescription=G.dataDescription||"",this.name=G.name||"",this.rootElement=null,this.uri=null}}class F{static[n.$buildXFAObject](G,W){if(F.hasOwnProperty(G))return F[G](W)}static connectionSet(G){return new v(G)}static effectiveInputPolicy(G){return new e(G)}static effectiveOutputPolicy(G){return new L(G)}static operation(G){return new O(G)}static rootElement(G){return new B(G)}static soapAction(G){return new P(G)}static soapAddress(G){return new S(G)}static uri(G){return new _(G)}static wsdlAddress(G){return new l(G)}static wsdlConnection(G){return new y(G)}static xmlConnection(G){return new D(G)}static xsdConnection(G){return new M(G)}}a.ConnectionSetNamespace=F},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.DatasetsNamespace=void 0;var n=g(202),c=g(204);const R=c.NamespaceIds.datasets.id;class v extends n.XmlObject{constructor(B){super(R,"data",B)}[n.$isNsAgnostic](){return!0}}class e extends n.XFAObject{constructor(B){super(R,"datasets",!0),this.data=null,this.Signature=null}[n.$onChild](B){const P=B[n.$nodeName];(P==="data"&&B[n.$namespaceId]===R||P==="Signature"&&B[n.$namespaceId]===c.NamespaceIds.signature.id)&&(this[P]=B),this[n.$appendChild](B)}}class L{static[c.$buildXFAObject](B,P){if(L.hasOwnProperty(B))return L[B](P)}static datasets(B){return new e(B)}static data(B){return new v(B)}}a.DatasetsNamespace=L},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.LocaleSetNamespace=void 0;var n=g(204),c=g(202),R=g(203);const v=n.NamespaceIds.localeSet.id;class e extends c.XFAObject{constructor(Te){super(v,"calendarSymbols",!0),this.name="gregorian",this.dayNames=new c.XFAObjectArray(2),this.eraNames=null,this.meridiemNames=null,this.monthNames=new c.XFAObjectArray(2)}}class L extends c.StringObject{constructor(Te){super(v,"currencySymbol"),this.name=(0,R.getStringOption)(Te.name,["symbol","isoname","decimal"])}}class O extends c.XFAObject{constructor(Te){super(v,"currencySymbols",!0),this.currencySymbol=new c.XFAObjectArray(3)}}class B extends c.StringObject{constructor(Te){super(v,"datePattern"),this.name=(0,R.getStringOption)(Te.name,["full","long","med","short"])}}class P extends c.XFAObject{constructor(Te){super(v,"datePatterns",!0),this.datePattern=new c.XFAObjectArray(4)}}class S extends c.ContentObject{constructor(Te){super(v,"dateTimeSymbols")}}class _ extends c.StringObject{constructor(Te){super(v,"day")}}class l extends c.XFAObject{constructor(Te){super(v,"dayNames",!0),this.abbr=(0,R.getInteger)({data:Te.abbr,defaultValue:0,validate:me=>me===1}),this.day=new c.XFAObjectArray(7)}}class y extends c.StringObject{constructor(Te){super(v,"era")}}class D extends c.XFAObject{constructor(Te){super(v,"eraNames",!0),this.era=new c.XFAObjectArray(2)}}class M extends c.XFAObject{constructor(Te){super(v,"locale",!0),this.desc=Te.desc||"",this.name="isoname",this.calendarSymbols=null,this.currencySymbols=null,this.datePatterns=null,this.dateTimeSymbols=null,this.numberPatterns=null,this.numberSymbols=null,this.timePatterns=null,this.typeFaces=null}}class F extends c.XFAObject{constructor(Te){super(v,"localeSet",!0),this.locale=new c.XFAObjectArray}}class N extends c.StringObject{constructor(Te){super(v,"meridiem")}}class G extends c.XFAObject{constructor(Te){super(v,"meridiemNames",!0),this.meridiem=new c.XFAObjectArray(2)}}class W extends c.StringObject{constructor(Te){super(v,"month")}}class J extends c.XFAObject{constructor(Te){super(v,"monthNames",!0),this.abbr=(0,R.getInteger)({data:Te.abbr,defaultValue:0,validate:me=>me===1}),this.month=new c.XFAObjectArray(12)}}class Y extends c.StringObject{constructor(Te){super(v,"numberPattern"),this.name=(0,R.getStringOption)(Te.name,["full","long","med","short"])}}class V extends c.XFAObject{constructor(Te){super(v,"numberPatterns",!0),this.numberPattern=new c.XFAObjectArray(4)}}class H extends c.StringObject{constructor(Te){super(v,"numberSymbol"),this.name=(0,R.getStringOption)(Te.name,["decimal","grouping","percent","minus","zero"])}}class z extends c.XFAObject{constructor(Te){super(v,"numberSymbols",!0),this.numberSymbol=new c.XFAObjectArray(5)}}class X extends c.StringObject{constructor(Te){super(v,"timePattern"),this.name=(0,R.getStringOption)(Te.name,["full","long","med","short"])}}class q extends c.XFAObject{constructor(Te){super(v,"timePatterns",!0),this.timePattern=new c.XFAObjectArray(4)}}class $ extends c.XFAObject{constructor(Te){super(v,"typeFace",!0),this.name=Te.name|""}}class fe extends c.XFAObject{constructor(Te){super(v,"typeFaces",!0),this.typeFace=new c.XFAObjectArray}}class Q{static[n.$buildXFAObject](Te,me){if(Q.hasOwnProperty(Te))return Q[Te](me)}static calendarSymbols(Te){return new e(Te)}static currencySymbol(Te){return new L(Te)}static currencySymbols(Te){return new O(Te)}static datePattern(Te){return new B(Te)}static datePatterns(Te){return new P(Te)}static dateTimeSymbols(Te){return new S(Te)}static day(Te){return new _(Te)}static dayNames(Te){return new l(Te)}static era(Te){return new y(Te)}static eraNames(Te){return new D(Te)}static locale(Te){return new M(Te)}static localeSet(Te){return new F(Te)}static meridiem(Te){return new N(Te)}static meridiemNames(Te){return new G(Te)}static month(Te){return new W(Te)}static monthNames(Te){return new J(Te)}static numberPattern(Te){return new Y(Te)}static numberPatterns(Te){return new V(Te)}static numberSymbol(Te){return new H(Te)}static numberSymbols(Te){return new z(Te)}static timePattern(Te){return new X(Te)}static timePatterns(Te){return new q(Te)}static typeFace(Te){return new $(Te)}static typeFaces(Te){return new fe(Te)}}a.LocaleSetNamespace=Q},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.SignatureNamespace=void 0;var n=g(204),c=g(202);const R=n.NamespaceIds.signature.id;class v extends c.XFAObject{constructor(O){super(R,"signature",!0)}}class e{static[n.$buildXFAObject](O,B){if(e.hasOwnProperty(O))return e[O](B)}static signature(O){return new v(O)}}a.SignatureNamespace=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.StylesheetNamespace=void 0;var n=g(204),c=g(202);const R=n.NamespaceIds.stylesheet.id;class v extends c.XFAObject{constructor(O){super(R,"stylesheet",!0)}}class e{static[n.$buildXFAObject](O,B){if(e.hasOwnProperty(O))return e[O](B)}static stylesheet(O){return new v(O)}}a.StylesheetNamespace=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XdpNamespace=void 0;var n=g(204),c=g(202);const R=n.NamespaceIds.xdp.id;class v extends c.XFAObject{constructor(O){super(R,"xdp",!0),this.uuid=O.uuid||"",this.timeStamp=O.timeStamp||"",this.config=null,this.connectionSet=null,this.datasets=null,this.localeSet=null,this.stylesheet=new c.XFAObjectArray,this.template=null}[c.$onChildCheck](O){const B=n.NamespaceIds[O[c.$nodeName]];return B&&O[c.$namespaceId]===B.id}}class e{static[n.$buildXFAObject](O,B){if(e.hasOwnProperty(O))return e[O](B)}static xdp(O){return new v(O)}}a.XdpNamespace=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XhtmlNamespace=void 0;var n=g(202),c=g(204),R=g(209),v=g(203);const e=c.NamespaceIds.xhtml.id,L=Symbol(),O=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),B=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",ie=>ie==="none"?"none":"normal"],["xfa-font-horizontal-scale",ie=>`scaleX(${Math.max(0,Math.min(parseInt(ie)/100)).toFixed(2)})`],["xfa-font-vertical-scale",ie=>`scaleY(${Math.max(0,Math.min(parseInt(ie)/100)).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(ie,Te)=>(ie=Te.fontSize=(0,v.getMeasurement)(ie),(0,R.measureToString)(.99*ie))],["letter-spacing",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["line-height",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["margin",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["margin-bottom",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["margin-left",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["margin-right",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["margin-top",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["text-indent",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))],["font-family",ie=>ie],["vertical-align",ie=>(0,R.measureToString)((0,v.getMeasurement)(ie))]]),P=/\s+/g,S=/[\r\n]+/g,_=/\r\n?/g;function l(ie,Te,me){const K=Object.create(null);if(!ie)return K;const ce=Object.create(null);for(const[de,Z]of ie.split(";").map(ae=>ae.split(":",2))){const ae=B.get(de);if(ae==="")continue;let he=Z;ae&&(typeof ae=="string"?he=ae:he=ae(Z,ce)),de.endsWith("scale")?K.transform?K.transform=`${K[de]} ${he}`:K.transform=he:K[de.replaceAll(/-([a-zA-Z])/g,(we,_e)=>_e.toUpperCase())]=he}if(K.fontFamily&&(0,R.setFontFamily)({typeface:K.fontFamily,weight:K.fontWeight||"normal",posture:K.fontStyle||"normal",size:ce.fontSize||0},Te,Te[n.$globalData].fontFinder,K),me&&K.verticalAlign&&K.verticalAlign!=="0px"&&K.fontSize){const ae=(0,v.getMeasurement)(K.fontSize);K.fontSize=(0,R.measureToString)(ae*.583),K.verticalAlign=(0,R.measureToString)(Math.sign((0,v.getMeasurement)(K.verticalAlign))*ae*.333)}return me&&K.fontSize&&(K.fontSize=`calc(${K.fontSize} * var(--scale-factor))`),(0,R.fixTextIndent)(K),K}function y(ie){return ie.style?ie.style.trim().split(/\s*;\s*/).filter(Te=>!!Te).map(Te=>Te.split(/\s*:\s*/,2)).filter(Te=>{let[me,K]=Te;return me==="font-family"&&ie[n.$globalData].usedTypefaces.add(K),O.has(me)}).map(Te=>Te.join(":")).join(";"):""}const D=new Set(["body","html"]);class M extends n.XmlObject{constructor(Te,me){super(e,me),this[L]=!1,this.style=Te.style||""}[n.$clean](Te){super[n.$clean](Te),this.style=y(this)}[n.$acceptWhitespace](){return!D.has(this[n.$nodeName])}[n.$onText](Te){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?this[L]=!0:(Te=Te.replace(S,""),this.style.includes("xfa-spacerun:yes")||(Te=Te.replace(P," "))),Te&&(this[n.$content]+=Te)}[n.$pushGlyphs](Te){let me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const K=Object.create(null),ce={top:NaN,bottom:NaN,left:NaN,right:NaN};let de=null;for(const[Z,ae]of this.style.split(";").map(he=>he.split(":",2)))switch(Z){case"font-family":K.typeface=(0,v.stripQuotes)(ae);break;case"font-size":K.size=(0,v.getMeasurement)(ae);break;case"font-weight":K.weight=ae;break;case"font-style":K.posture=ae;break;case"letter-spacing":K.letterSpacing=(0,v.getMeasurement)(ae);break;case"margin":const he=ae.split(/ \t/).map(we=>(0,v.getMeasurement)(we));switch(he.length){case 1:ce.top=ce.bottom=ce.left=ce.right=he[0];break;case 2:ce.top=ce.bottom=he[0],ce.left=ce.right=he[1];break;case 3:ce.top=he[0],ce.bottom=he[2],ce.left=ce.right=he[1];break;case 4:ce.top=he[0],ce.left=he[1],ce.bottom=he[2],ce.right=he[3];break}break;case"margin-top":ce.top=(0,v.getMeasurement)(ae);break;case"margin-bottom":ce.bottom=(0,v.getMeasurement)(ae);break;case"margin-left":ce.left=(0,v.getMeasurement)(ae);break;case"margin-right":ce.right=(0,v.getMeasurement)(ae);break;case"line-height":de=(0,v.getMeasurement)(ae);break}if(Te.pushData(K,ce,de),this[n.$content])Te.addString(this[n.$content]);else for(const Z of this[n.$getChildren]()){if(Z[n.$nodeName]==="#text"){Te.addString(Z[n.$content]);continue}Z[n.$pushGlyphs](Te)}me&&Te.popFont()}[n.$toHTML](Te){const me=[];if(this[n.$extra]={children:me},this[n.$childrenToHTML]({}),me.length===0&&!this[n.$content])return v.HTMLResult.EMPTY;let K;return this[L]?K=this[n.$content]?this[n.$content].replace(_,` +`):void 0:K=this[n.$content]||void 0,v.HTMLResult.success({name:this[n.$nodeName],attributes:{href:this.href,style:l(this.style,this,this[L])},children:me,value:K})}}class F extends M{constructor(Te){super(Te,"a"),this.href=(0,R.fixURL)(Te.href)||""}}class N extends M{constructor(Te){super(Te,"b")}[n.$pushGlyphs](Te){Te.pushFont({weight:"bold"}),super[n.$pushGlyphs](Te),Te.popFont()}}class G extends M{constructor(Te){super(Te,"body")}[n.$toHTML](Te){const me=super[n.$toHTML](Te),{html:K}=me;return K?(K.name="div",K.attributes.class=["xfaRich"],me):v.HTMLResult.EMPTY}}class W extends M{constructor(Te){super(Te,"br")}[n.$text](){return` +`}[n.$pushGlyphs](Te){Te.addString(` +`)}[n.$toHTML](Te){return v.HTMLResult.success({name:"br"})}}class J extends M{constructor(Te){super(Te,"html")}[n.$toHTML](Te){const me=[];if(this[n.$extra]={children:me},this[n.$childrenToHTML]({}),me.length===0)return v.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[n.$content]||""});if(me.length===1){const K=me[0];if(K.attributes&&K.attributes.class.includes("xfaRich"))return v.HTMLResult.success(K)}return v.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:me})}}class Y extends M{constructor(Te){super(Te,"i")}[n.$pushGlyphs](Te){Te.pushFont({posture:"italic"}),super[n.$pushGlyphs](Te),Te.popFont()}}class V extends M{constructor(Te){super(Te,"li")}}class H extends M{constructor(Te){super(Te,"ol")}}class z extends M{constructor(Te){super(Te,"p")}[n.$pushGlyphs](Te){super[n.$pushGlyphs](Te,!1),Te.addString(` +`),Te.addPara(),Te.popFont()}[n.$text](){return this[n.$getParent]()[n.$getChildren]().at(-1)===this?super[n.$text]():super[n.$text]()+` +`}}class X extends M{constructor(Te){super(Te,"span")}}class q extends M{constructor(Te){super(Te,"sub")}}class $ extends M{constructor(Te){super(Te,"sup")}}class fe extends M{constructor(Te){super(Te,"ul")}}class Q{static[c.$buildXFAObject](Te,me){if(Q.hasOwnProperty(Te))return Q[Te](me)}static a(Te){return new F(Te)}static b(Te){return new N(Te)}static body(Te){return new G(Te)}static br(Te){return new W(Te)}static html(Te){return new J(Te)}static i(Te){return new Y(Te)}static li(Te){return new V(Te)}static ol(Te){return new H(Te)}static p(Te){return new z(Te)}static span(Te){return new X(Te)}static sub(Te){return new q(Te)}static sup(Te){return new $(Te)}static ul(Te){return new fe(Te)}}a.XhtmlNamespace=Q},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.UnknownNamespace=void 0;var n=g(204),c=g(202);class R{constructor(e){this.namespaceId=e}[n.$buildXFAObject](e,L){return new c.XmlObject(this.namespaceId,e,L)}}a.UnknownNamespace=R},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.DatasetReader=void 0;var n=g(2),c=g(131),R=g(191);function v(O){try{return(0,n.stringToUTF8String)(O)}catch(B){return(0,n.warn)(`UTF-8 decoding failed: "${B}".`),O}}class e extends R.SimpleXMLParser{constructor(B){super(B),this.node=null}onEndElement(B){const P=super.onEndElement(B);if(P&&B==="xfa:datasets")throw this.node=P,new Error("Aborting DatasetXMLParser.")}}class L{constructor(B){if(B.datasets)this.node=new R.SimpleXMLParser({hasAttributes:!0}).parseFromString(B.datasets).documentElement;else{const P=new e({hasAttributes:!0});try{P.parseFromString(B["xdp:xdp"])}catch{}this.node=P.node}}getValue(B){if(!this.node||!B)return"";const P=this.node.searchNode((0,c.parseXFAPath)(B),0);if(!P)return"";const S=P.firstChild;return S&&S.nodeName==="value"?P.children.map(_=>v(_.textContent)):v(P.textContent)}}a.DatasetReader=L},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XRef=void 0;var n=g(2),c=g(130),R=g(131),v=g(142),e=g(132),L=g(192);class O{constructor(P,S){this.stream=P,this.pdfManager=S,this.entries=[],this.xrefstms=Object.create(null),this._cacheMap=new Map,this._pendingRefs=new c.RefSet,this.stats=new R.DocStats(S.msgHandler),this._newRefNum=null}getNewRef(){return this._newRefNum===null&&(this._newRefNum=this.entries.length||1),c.Ref.get(this._newRefNum++,0)}resetNewRef(){this._newRefNum=null}setStartXRef(P){this.startXRefQueue=[P]}parse(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,S;P?((0,n.warn)("Indexing all PDF objects"),S=this.indexObjects()):S=this.readXRef(),S.assignXref(this),this.trailer=S;let _;try{_=S.get("Encrypt")}catch(y){if(y instanceof R.MissingDataException)throw y;(0,n.warn)(`XRef.parse - Invalid "Encrypt" reference: "${y}".`)}if(_ instanceof c.Dict){const y=S.get("ID"),D=y&&y.length?y[0]:"";_.suppressEncryption=!0,this.encrypt=new L.CipherTransformFactory(_,D,this.pdfManager.password)}let l;try{l=S.get("Root")}catch(y){if(y instanceof R.MissingDataException)throw y;(0,n.warn)(`XRef.parse - Invalid "Root" reference: "${y}".`)}if(l instanceof c.Dict)try{if(l.get("Pages")instanceof c.Dict){this.root=l;return}}catch(y){if(y instanceof R.MissingDataException)throw y;(0,n.warn)(`XRef.parse - Invalid "Pages" reference: "${y}".`)}throw P?new n.InvalidPDFException("Invalid Root reference."):new R.XRefParseException}processXRefTable(P){"tableState"in this||(this.tableState={entryNum:0,streamPos:P.lexer.stream.pos,parserBuf1:P.buf1,parserBuf2:P.buf2});const S=this.readXRefTable(P);if(!(0,c.isCmd)(S,"trailer"))throw new n.FormatError("Invalid XRef table: could not find trailer dictionary");let _=P.getObj();if(!(_ instanceof c.Dict)&&_.dict&&(_=_.dict),!(_ instanceof c.Dict))throw new n.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,_}readXRefTable(P){const S=P.lexer.stream,_=this.tableState;S.pos=_.streamPos,P.buf1=_.parserBuf1,P.buf2=_.parserBuf2;let l;for(;;){if(!("firstEntryNum"in _)||!("entryCount"in _)){if((0,c.isCmd)(l=P.getObj(),"trailer"))break;_.firstEntryNum=l,_.entryCount=P.getObj()}let y=_.firstEntryNum;const D=_.entryCount;if(!Number.isInteger(y)||!Number.isInteger(D))throw new n.FormatError("Invalid XRef table: wrong types in subsection header");for(let M=_.entryNum;M0;){const[M,F]=D;if(!Number.isInteger(M)||!Number.isInteger(F))throw new n.FormatError(`Invalid XRef range fields: ${M}, ${F}`);if(!Number.isInteger(_)||!Number.isInteger(l)||!Number.isInteger(y))throw new n.FormatError(`Invalid XRef entry fields length: ${M}, ${F}`);for(let N=S.entryNum;N=me.length);)ce+=String.fromCharCode(de),de=me[K];return ce}function F(me,K,ce){const de=ce.length,Z=me.length;let ae=0;for(;K=de)break;K++,ae++}return ae}const N=/^(\d+)\s+(\d+)\s+obj\b/,G=/\bendobj[\b\s]$/,W=/\s+(\d+\s+\d+\s+obj[\b\s<])$/,J=25,Y=new Uint8Array([116,114,97,105,108,101,114]),V=new Uint8Array([115,116,97,114,116,120,114,101,102]),H=new Uint8Array([111,98,106]),z=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();const X=this.stream;X.pos=0;const q=X.getBytes(),$=q.length;let fe=X.start;const Q=[],ie=[];for(;fe<$;){let me=q[fe];if(me===9||me===10||me===13||me===32){++fe;continue}if(me===37){do{if(++fe,fe>=$)break;me=q[fe]}while(me!==10&&me!==13);continue}const K=M(q,fe);let ce;if(K.startsWith("xref")&&(K.length===4||/\s/.test(K[4])))fe+=F(q,fe,Y),Q.push(fe),fe+=F(q,fe,V);else if(ce=N.exec(K)){const de=ce[1]|0,Z=ce[2]|0;let ae,he=fe+K.length,we=!1;if(!this.entries[de])we=!0;else if(this.entries[de].gen===Z)try{new v.Parser({lexer:new v.Lexer(X.makeSubStream(he))}).getObj(),we=!0}catch(se){se instanceof R.ParserEOFException?(0,n.warn)(`indexObjects -- checking object (${K}): "${se}".`):we=!0}for(we&&(this.entries[de]={offset:fe-X.start,gen:Z,uncompressed:!0});he0&&arguments[0]!==void 0?arguments[0]:!1;const S=this.stream,_=new Set;try{for(;this.startXRefQueue.length;){const l=this.startXRefQueue[0];if(_.has(l)){(0,n.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}_.add(l),S.pos=l+S.start;const y=new v.Parser({lexer:new v.Lexer(S),xref:this,allowStreams:!0});let D=y.getObj(),M;if((0,c.isCmd)(D,"xref")){if(M=this.processXRefTable(y),this.topDict||(this.topDict=M),D=M.get("XRefStm"),Number.isInteger(D)){const F=D;F in this.xrefstms||(this.xrefstms[F]=1,this.startXRefQueue.push(F))}}else if(Number.isInteger(D)){if(!Number.isInteger(y.getObj())||!(0,c.isCmd)(y.getObj(),"obj")||!((D=y.getObj())instanceof e.BaseStream))throw new n.FormatError("Invalid XRef stream");if(M=this.processXRefStream(D),this.topDict||(this.topDict=M),!M)throw new n.FormatError("Failed to read XRef stream")}else throw new n.FormatError("Invalid XRef stream header");D=M.get("Prev"),Number.isInteger(D)?this.startXRefQueue.push(D):D instanceof c.Ref&&this.startXRefQueue.push(D.num),this.startXRefQueue.shift()}return this.topDict}catch(l){if(l instanceof R.MissingDataException)throw l;(0,n.info)("(while reading XRef): "+l),this.startXRefQueue.shift()}if(!P)throw new R.XRefParseException}getEntry(P){const S=this.entries[P];return S&&!S.free&&S.offset?S:null}fetchIfRef(P){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return P instanceof c.Ref?this.fetch(P,S):P}fetch(P){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(P instanceof c.Ref))throw new Error("ref object is not a reference");const _=P.num,l=this._cacheMap.get(_);if(l!==void 0)return l instanceof c.Dict&&!l.objId&&(l.objId=P.toString()),l;let y=this.getEntry(_);if(y===null)return this._cacheMap.set(_,y),y;if(this._pendingRefs.has(P))return this._pendingRefs.remove(P),(0,n.warn)(`Ignoring circular reference: ${P}.`),c.CIRCULAR_REF;this._pendingRefs.put(P);try{y.uncompressed?y=this.fetchUncompressed(P,y,S):y=this.fetchCompressed(P,y,S),this._pendingRefs.remove(P)}catch(D){throw this._pendingRefs.remove(P),D}return y instanceof c.Dict?y.objId=P.toString():y instanceof e.BaseStream&&(y.dict.objId=P.toString()),y}fetchUncompressed(P,S){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const l=P.gen;let y=P.num;if(S.gen!==l)throw new R.XRefEntryException(`Inconsistent generation in XRef: ${P}`);const D=this.stream.makeSubStream(S.offset+this.stream.start),M=new v.Parser({lexer:new v.Lexer(D),xref:this,allowStreams:!0}),F=M.getObj(),N=M.getObj(),G=M.getObj();if(F!==y||N!==l||!(G instanceof c.Cmd))throw new R.XRefEntryException(`Bad (uncompressed) XRef entry: ${P}`);if(G.cmd!=="obj"){if(G.cmd.startsWith("obj")&&(y=parseInt(G.cmd.substring(3),10),!Number.isNaN(y)))return y;throw new R.XRefEntryException(`Bad (uncompressed) XRef entry: ${P}`)}return this.encrypt&&!_?S=M.getObj(this.encrypt.createCipherTransform(y,l)):S=M.getObj(),S instanceof e.BaseStream||this._cacheMap.set(y,S),S}fetchCompressed(P,S){const _=S.offset,l=this.fetch(c.Ref.get(_,0));if(!(l instanceof e.BaseStream))throw new n.FormatError("bad ObjStm stream");const y=l.dict.get("First"),D=l.dict.get("N");if(!Number.isInteger(y)||!Number.isInteger(D))throw new n.FormatError("invalid first and n parameters for ObjStm stream");let M=new v.Parser({lexer:new v.Lexer(l),xref:this,allowStreams:!0});const F=new Array(D),N=new Array(D);for(let J=0;J{Object.defineProperty(a,"__esModule",{value:!0}),a.MessageHandler=void 0;var n=g(2);const c={UNKNOWN:0,DATA:1,ERROR:2},R={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function v(L){switch(L instanceof Error||typeof L=="object"&&L!==null||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),L.name){case"AbortException":return new n.AbortException(L.message);case"MissingPDFException":return new n.MissingPDFException(L.message);case"PasswordException":return new n.PasswordException(L.message,L.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(L.message,L.status);case"UnknownErrorException":return new n.UnknownErrorException(L.message,L.details);default:return new n.UnknownErrorException(L.message,L.toString())}}class e{constructor(O,B,P){this.sourceName=O,this.targetName=B,this.comObj=P,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=S=>{const _=S.data;if(_.targetName!==this.sourceName)return;if(_.stream){this._processStreamMessage(_);return}if(_.callback){const y=_.callbackId,D=this.callbackCapabilities[y];if(!D)throw new Error(`Cannot resolve callback ${y}`);if(delete this.callbackCapabilities[y],_.callback===c.DATA)D.resolve(_.data);else if(_.callback===c.ERROR)D.reject(v(_.reason));else throw new Error("Unexpected callback case");return}const l=this.actionHandler[_.action];if(!l)throw new Error(`Unknown action from worker: ${_.action}`);if(_.callbackId){const y=this.sourceName,D=_.sourceName;new Promise(function(M){M(l(_.data))}).then(function(M){P.postMessage({sourceName:y,targetName:D,callback:c.DATA,callbackId:_.callbackId,data:M})},function(M){P.postMessage({sourceName:y,targetName:D,callback:c.ERROR,callbackId:_.callbackId,reason:v(M)})});return}if(_.streamId){this._createStreamSink(_);return}l(_.data)},P.addEventListener("message",this._onComObjOnMessage)}on(O,B){const P=this.actionHandler;if(P[O])throw new Error(`There is already an actionName called "${O}"`);P[O]=B}send(O,B,P){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:O,data:B},P)}sendWithPromise(O,B,P){const S=this.callbackId++,_=(0,n.createPromiseCapability)();this.callbackCapabilities[S]=_;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:O,callbackId:S,data:B},P)}catch(l){_.reject(l)}return _.promise}sendWithStream(O,B,P,S){const _=this.streamId++,l=this.sourceName,y=this.targetName,D=this.comObj;return new ReadableStream({start:M=>{const F=(0,n.createPromiseCapability)();return this.streamControllers[_]={controller:M,startCall:F,pullCall:null,cancelCall:null,isClosed:!1},D.postMessage({sourceName:l,targetName:y,action:O,streamId:_,data:B,desiredSize:M.desiredSize},S),F.promise},pull:M=>{const F=(0,n.createPromiseCapability)();return this.streamControllers[_].pullCall=F,D.postMessage({sourceName:l,targetName:y,stream:R.PULL,streamId:_,desiredSize:M.desiredSize}),F.promise},cancel:M=>{(0,n.assert)(M instanceof Error,"cancel must have a valid reason");const F=(0,n.createPromiseCapability)();return this.streamControllers[_].cancelCall=F,this.streamControllers[_].isClosed=!0,D.postMessage({sourceName:l,targetName:y,stream:R.CANCEL,streamId:_,reason:v(M)}),F.promise}},P)}_createStreamSink(O){const B=O.streamId,P=this.sourceName,S=O.sourceName,_=this.comObj,l=this,y=this.actionHandler[O.action],D={enqueue(M){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,N=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const G=this.desiredSize;this.desiredSize-=F,G>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),_.postMessage({sourceName:P,targetName:S,stream:R.ENQUEUE,streamId:B,chunk:M},N)},close(){this.isCancelled||(this.isCancelled=!0,_.postMessage({sourceName:P,targetName:S,stream:R.CLOSE,streamId:B}),delete l.streamSinks[B])},error(M){(0,n.assert)(M instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,_.postMessage({sourceName:P,targetName:S,stream:R.ERROR,streamId:B,reason:v(M)}))},sinkCapability:(0,n.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:O.desiredSize,ready:null};D.sinkCapability.resolve(),D.ready=D.sinkCapability.promise,this.streamSinks[B]=D,new Promise(function(M){M(y(O.data,D))}).then(function(){_.postMessage({sourceName:P,targetName:S,stream:R.START_COMPLETE,streamId:B,success:!0})},function(M){_.postMessage({sourceName:P,targetName:S,stream:R.START_COMPLETE,streamId:B,reason:v(M)})})}_processStreamMessage(O){const B=O.streamId,P=this.sourceName,S=O.sourceName,_=this.comObj,l=this.streamControllers[B],y=this.streamSinks[B];switch(O.stream){case R.START_COMPLETE:O.success?l.startCall.resolve():l.startCall.reject(v(O.reason));break;case R.PULL_COMPLETE:O.success?l.pullCall.resolve():l.pullCall.reject(v(O.reason));break;case R.PULL:if(!y){_.postMessage({sourceName:P,targetName:S,stream:R.PULL_COMPLETE,streamId:B,success:!0});break}y.desiredSize<=0&&O.desiredSize>0&&y.sinkCapability.resolve(),y.desiredSize=O.desiredSize,new Promise(function(D){D(y.onPull&&y.onPull())}).then(function(){_.postMessage({sourceName:P,targetName:S,stream:R.PULL_COMPLETE,streamId:B,success:!0})},function(D){_.postMessage({sourceName:P,targetName:S,stream:R.PULL_COMPLETE,streamId:B,reason:v(D)})});break;case R.ENQUEUE:if((0,n.assert)(l,"enqueue should have stream controller"),l.isClosed)break;l.controller.enqueue(O.chunk);break;case R.CLOSE:if((0,n.assert)(l,"close should have stream controller"),l.isClosed)break;l.isClosed=!0,l.controller.close(),this._deleteStreamController(l,B);break;case R.ERROR:(0,n.assert)(l,"error should have stream controller"),l.controller.error(v(O.reason)),this._deleteStreamController(l,B);break;case R.CANCEL_COMPLETE:O.success?l.cancelCall.resolve():l.cancelCall.reject(v(O.reason)),this._deleteStreamController(l,B);break;case R.CANCEL:if(!y)break;new Promise(function(D){D(y.onCancel&&y.onCancel(v(O.reason)))}).then(function(){_.postMessage({sourceName:P,targetName:S,stream:R.CANCEL_COMPLETE,streamId:B,success:!0})},function(D){_.postMessage({sourceName:P,targetName:S,stream:R.CANCEL_COMPLETE,streamId:B,reason:v(D)})}),y.sinkCapability.reject(v(O.reason)),y.isCancelled=!0,delete this.streamSinks[B];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(O,B){await Promise.allSettled([O.startCall&&O.startCall.promise,O.pullCall&&O.pullCall.promise,O.cancelCall&&O.cancelCall.promise]),delete this.streamControllers[B]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}a.MessageHandler=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFWorkerStream=void 0;var n=g(2);class c{constructor(L){this._msgHandler=L,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new R(this._msgHandler),this._fullRequestReader}getRangeReader(L,O){const B=new v(L,O,this._msgHandler);return this._rangeRequestReaders.push(B),B}cancelAllRequests(L){this._fullRequestReader&&this._fullRequestReader.cancel(L);for(const O of this._rangeRequestReaders.slice(0))O.cancel(L)}}a.PDFWorkerStream=c;class R{constructor(L){this._msgHandler=L,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;const O=this._msgHandler.sendWithStream("GetReader");this._reader=O.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(B=>{this._isStreamingSupported=B.isStreamingSupported,this._isRangeSupported=B.isRangeSupported,this._contentLength=B.contentLength})}get headersReady(){return this._headersReady}get contentLength(){return this._contentLength}get isStreamingSupported(){return this._isStreamingSupported}get isRangeSupported(){return this._isRangeSupported}async read(){const{value:L,done:O}=await this._reader.read();return O?{value:void 0,done:!0}:{value:L.buffer,done:!1}}cancel(L){this._reader.cancel(L)}}class v{constructor(L,O,B){this._msgHandler=B,this.onProgress=null;const P=this._msgHandler.sendWithStream("GetRangeReader",{begin:L,end:O});this._reader=P.getReader()}get isStreamingSupported(){return!1}async read(){const{value:L,done:O}=await this._reader.read();return O?{value:void 0,done:!0}:{value:L.buffer,done:!1}}cancel(L){this._reader.cancel(L)}}}],w={};function U(x){var a=w[x];if(a!==void 0)return a.exports;var g=w[x]={exports:{}};return m[x](g,g.exports,U),g.exports}U.d=(x,a)=>{for(var g in a)U.o(a,g)&&!U.o(x,g)&&Object.defineProperty(x,g,{enumerable:!0,get:a[g]})},U.o=(x,a)=>Object.prototype.hasOwnProperty.call(x,a),U.r=x=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})};var k={};return(()=>{var x=k;Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"WorkerMessageHandler",{enumerable:!0,get:function(){return a.WorkerMessageHandler}});var a=U(1)})(),k})())})(pdf_worker);var pdf_workerExports=pdf_worker.exports;(typeof window<"u"?window:{}).pdfjsWorker=pdf_workerExports;var pdf_viewer$1={exports:{}};(function(b,r){(function(w,U){b.exports=U()})(globalThis,()=>(()=>{var m=[,(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.DefaultXfaLayerFactory=a.DefaultTextLayerFactory=a.DefaultStructTreeLayerFactory=a.DefaultAnnotationLayerFactory=a.DefaultAnnotationEditorLayerFactory=void 0;var n=g(2),c=g(5),R=g(4),v=g(6),e=g(8),L=g(9),O=g(10);class B{createAnnotationLayerBuilder(D){let{pageDiv:M,pdfPage:F,annotationStorage:N=null,imageResourcesPath:G="",renderForms:W=!0,l10n:J=R.NullL10n,enableScripting:Y=!1,hasJSActionsPromise:V=null,mouseState:H=null,fieldObjectsPromise:z=null,annotationCanvasMap:X=null,accessibilityManager:q=null}=D;return new c.AnnotationLayerBuilder({pageDiv:M,pdfPage:F,imageResourcesPath:G,renderForms:W,linkService:new v.SimpleLinkService,l10n:J,annotationStorage:N,enableScripting:Y,hasJSActionsPromise:V,fieldObjectsPromise:z,mouseState:H,annotationCanvasMap:X,accessibilityManager:q})}}a.DefaultAnnotationLayerFactory=B;class P{createAnnotationEditorLayerBuilder(D){let{uiManager:M=null,pageDiv:F,pdfPage:N,accessibilityManager:G=null,l10n:W,annotationStorage:J=null}=D;return new n.AnnotationEditorLayerBuilder({uiManager:M,pageDiv:F,pdfPage:N,accessibilityManager:G,l10n:W,annotationStorage:J})}}a.DefaultAnnotationEditorLayerFactory=P;class S{createStructTreeLayerBuilder(D){let{pdfPage:M}=D;return new e.StructTreeLayerBuilder({pdfPage:M})}}a.DefaultStructTreeLayerFactory=S;class _{createTextLayerBuilder(D){let{textLayerDiv:M,pageIndex:F,viewport:N,enhanceTextSelection:G=!1,eventBus:W,highlighter:J,accessibilityManager:Y=null}=D;return new L.TextLayerBuilder({textLayerDiv:M,pageIndex:F,viewport:N,enhanceTextSelection:G,eventBus:W,highlighter:J,accessibilityManager:Y})}}a.DefaultTextLayerFactory=_;class l{createXfaLayerBuilder(D){let{pageDiv:M,pdfPage:F,annotationStorage:N=null}=D;return new O.XfaLayerBuilder({pageDiv:M,pdfPage:F,annotationStorage:N,linkService:new v.SimpleLinkService})}}a.DefaultXfaLayerFactory=l},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.AnnotationEditorLayerBuilder=void 0;var n=g(3),c=g(4);function R(l,y,D){v(l,y),y.set(l,D)}function v(l,y){if(y.has(l))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(l,y){var D=B(l,y,"get");return L(l,D)}function L(l,y){return y.get?y.get.call(l):y.value}function O(l,y,D){var M=B(l,y,"set");return P(l,M,D),D}function B(l,y,D){if(!y.has(l))throw new TypeError("attempted to "+D+" private field on non-instance");return y.get(l)}function P(l,y,D){if(y.set)y.set.call(l,D);else{if(!y.writable)throw new TypeError("attempted to set read only private field");y.value=D}}var S=new WeakMap;class _{constructor(y){R(this,S,{writable:!0,value:void 0}),this.pageDiv=y.pageDiv,this.pdfPage=y.pdfPage,this.annotationStorage=y.annotationStorage||null,this.accessibilityManager=y.accessibilityManager,this.l10n=y.l10n||c.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,O(this,S,y.uiManager)}async render(y){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";if(D!=="display"||this._cancelled)return;const M=y.clone({dontFlip:!0});if(this.div){this.annotationEditorLayer.update({viewport:M}),this.show();return}this.div=document.createElement("div"),this.div.className="annotationEditorLayer",this.div.tabIndex=0,this.pageDiv.append(this.div),this.annotationEditorLayer=new n.AnnotationEditorLayer({uiManager:e(this,S),div:this.div,annotationStorage:this.annotationStorage,accessibilityManager:this.accessibilityManager,pageIndex:this.pdfPage._pageIndex,l10n:this.l10n,viewport:M});const F={viewport:M,div:this.div,annotations:null,intent:D};this.annotationEditorLayer.render(F)}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}a.AnnotationEditorLayerBuilder=_},x=>{let a;typeof window<"u"&&window["pdfjs-dist/build/pdf"]?a=window["pdfjs-dist/build/pdf"]:a=requirePdf(),x.exports=a},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.NullL10n=void 0,a.fixupLangCode=R,a.getL10nFallback=n;const g={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} × {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading…",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text…",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function n(L,O){switch(L){case"find_match_count":L=`find_match_count[${O.total===1?"one":"other"}]`;break;case"find_match_count_limit":L=`find_match_count_limit[${O.limit===1?"one":"other"}]`;break}return g[L]||""}const c={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};function R(L){return c[L==null?void 0:L.toLowerCase()]||L}function v(L,O){return O?L.replace(/\{\{\s*(\w+)\s*\}\}/g,(B,P)=>P in O?O[P]:"{{"+P+"}}"):L}const e={async getLanguage(){return"en-us"},async getDirection(){return"ltr"},async get(L){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n(L,O);return v(B,O)},async translate(L){}};a.NullL10n=e},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.AnnotationLayerBuilder=void 0;var n=g(3),c=g(4);class R{constructor(e){let{pageDiv:L,pdfPage:O,linkService:B,downloadManager:P,annotationStorage:S=null,imageResourcesPath:_="",renderForms:l=!0,l10n:y=c.NullL10n,enableScripting:D=!1,hasJSActionsPromise:M=null,fieldObjectsPromise:F=null,mouseState:N=null,annotationCanvasMap:G=null,accessibilityManager:W=null}=e;this.pageDiv=L,this.pdfPage=O,this.linkService=B,this.downloadManager=P,this.imageResourcesPath=_,this.renderForms=l,this.l10n=y,this.annotationStorage=S,this.enableScripting=D,this._hasJSActionsPromise=M,this._fieldObjectsPromise=F,this._mouseState=N,this._annotationCanvasMap=G,this._accessibilityManager=W,this.div=null,this._cancelled=!1}async render(e){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";const[O,B=!1,P=null]=await Promise.all([this.pdfPage.getAnnotations({intent:L}),this._hasJSActionsPromise,this._fieldObjectsPromise]);if(this._cancelled||O.length===0)return;const S={viewport:e.clone({dontFlip:!0}),div:this.div,annotations:O,page:this.pdfPage,imageResourcesPath:this.imageResourcesPath,renderForms:this.renderForms,linkService:this.linkService,downloadManager:this.downloadManager,annotationStorage:this.annotationStorage,enableScripting:this.enableScripting,hasJSActions:B,fieldObjects:P,mouseState:this._mouseState,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager};this.div?n.AnnotationLayer.update(S):(this.div=document.createElement("div"),this.div.className="annotationLayer",this.pageDiv.append(this.div),S.div=this.div,n.AnnotationLayer.render(S),this.l10n.translate(this.div))}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}a.AnnotationLayerBuilder=R},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.SimpleLinkService=a.PDFLinkService=a.LinkTarget=void 0;var n=g(7);function c(J,Y){v(J,Y),Y.add(J)}function R(J,Y,V){v(J,Y),Y.set(J,V)}function v(J,Y){if(Y.has(J))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(J,Y,V){return L(J,Y),V}function L(J,Y){if(J!==Y)throw new TypeError("Private static access of wrong provenance")}function O(J,Y,V){if(!Y.has(J))throw new TypeError("attempted to get private field on non-instance");return V}function B(J,Y){var V=P(J,Y,"get");return S(J,V)}function P(J,Y,V){if(!Y.has(J))throw new TypeError("attempted to "+V+" private field on non-instance");return Y.get(J)}function S(J,Y){return Y.get?Y.get.call(J):Y.value}const _="noopener noreferrer nofollow",l={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};a.LinkTarget=l;function y(J){let{url:Y,target:V,rel:H,enabled:z=!0}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Y||typeof Y!="string")throw new Error('A valid "url" parameter must provided.');const X=(0,n.removeNullCharacters)(Y);z?J.href=J.title=X:(J.href="",J.title=`Disabled: ${X}`,J.onclick=()=>!1);let q="";switch(V){case l.NONE:break;case l.SELF:q="_self";break;case l.BLANK:q="_blank";break;case l.PARENT:q="_parent";break;case l.TOP:q="_top";break}J.target=q,J.rel=typeof H=="string"?H:_}var D=new WeakMap,M=new WeakSet;class F{constructor(){let{eventBus:Y,externalLinkTarget:V=null,externalLinkRel:H=null,ignoreDestinationZoom:z=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};c(this,M),R(this,D,{writable:!0,value:new Map}),this.eventBus=Y,this.externalLinkTarget=V,this.externalLinkRel=H,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=z,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(Y){let V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.baseUrl=V,this.pdfDocument=Y,B(this,D).clear()}setViewer(Y){this.pdfViewer=Y}setHistory(Y){this.pdfHistory=Y}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(Y){this.pdfViewer.currentPageNumber=Y}get rotation(){return this.pdfViewer.pagesRotation}set rotation(Y){this.pdfViewer.pagesRotation=Y}async goToDestination(Y){if(!this.pdfDocument)return;let V,H;if(typeof Y=="string"?(V=Y,H=await this.pdfDocument.getDestination(Y)):(V=null,H=await Y),!Array.isArray(H)){console.error(`PDFLinkService.goToDestination: "${H}" is not a valid destination array, for dest="${Y}".`);return}O(this,M,N).call(this,Y,V,H)}goToPage(Y){if(!this.pdfDocument)return;const V=typeof Y=="string"&&this.pdfViewer.pageLabelToPageNumber(Y)||Y|0;if(!(Number.isInteger(V)&&V>0&&V<=this.pagesCount)){console.error(`PDFLinkService.goToPage: "${Y}" is not a valid page.`);return}this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(V)),this.pdfViewer.scrollPageIntoView({pageNumber:V})}addLinkAttributes(Y,V){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;y(Y,{url:V,target:H?l.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(Y){if(typeof Y=="string"){if(Y.length>0)return this.getAnchorUrl("#"+escape(Y))}else if(Array.isArray(Y)){const V=JSON.stringify(Y);if(V.length>0)return this.getAnchorUrl("#"+escape(V))}return this.getAnchorUrl("")}getAnchorUrl(Y){return(this.baseUrl||"")+Y}setHash(Y){if(!this.pdfDocument)return;let V,H;if(Y.includes("=")){const z=(0,n.parseQueryString)(Y);if(z.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:z.get("search").replace(/"/g,""),phraseSearch:z.get("phrase")==="true"}),z.has("page")&&(V=z.get("page")|0||1),z.has("zoom")){const X=z.get("zoom").split(","),q=X[0],$=parseFloat(q);q.includes("Fit")?q==="Fit"||q==="FitB"?H=[null,{name:q}]:q==="FitH"||q==="FitBH"||q==="FitV"||q==="FitBV"?H=[null,{name:q},X.length>1?X[1]|0:null]:q==="FitR"?X.length!==5?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):H=[null,{name:q},X[1]|0,X[2]|0,X[3]|0,X[4]|0]:console.error(`PDFLinkService.setHash: "${q}" is not a valid zoom value.`):H=[null,{name:"XYZ"},X.length>1?X[1]|0:null,X.length>2?X[2]|0:null,$?$/100:q]}H?this.pdfViewer.scrollPageIntoView({pageNumber:V||this.page,destArray:H,allowNegativeOffset:!0}):V&&(this.page=V),z.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:z.get("pagemode")}),z.has("nameddest")&&this.goToDestination(z.get("nameddest"))}else{H=unescape(Y);try{H=JSON.parse(H),Array.isArray(H)||(H=H.toString())}catch{}if(typeof H=="string"||e(F,F,G).call(F,H)){this.goToDestination(H);return}console.error(`PDFLinkService.setHash: "${unescape(Y)}" is not a valid destination.`)}}executeNamedAction(Y){var V,H;switch(Y){case"GoBack":(V=this.pdfHistory)===null||V===void 0||V.back();break;case"GoForward":(H=this.pdfHistory)===null||H===void 0||H.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1;break}this.eventBus.dispatch("namedaction",{source:this,action:Y})}cachePageRef(Y,V){if(!V)return;const H=V.gen===0?`${V.num}R`:`${V.num}R${V.gen}`;B(this,D).set(H,Y)}_cachedPageNumber(Y){if(!Y)return null;const V=Y.gen===0?`${Y.num}R`:`${Y.num}R${Y.gen}`;return B(this,D).get(V)||null}isPageVisible(Y){return this.pdfViewer.isPageVisible(Y)}isPageCached(Y){return this.pdfViewer.isPageCached(Y)}}a.PDFLinkService=F;function N(J){let Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,V=arguments.length>2?arguments[2]:void 0;const H=V[0];let z;if(typeof H=="object"&&H!==null){if(z=this._cachedPageNumber(H),!z){this.pdfDocument.getPageIndex(H).then(X=>{this.cachePageRef(X+1,H),O(this,M,N).call(this,J,Y,V)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${H}" is not a valid page reference, for dest="${J}".`)});return}}else if(Number.isInteger(H))z=H+1;else{console.error(`PDFLinkService.#goToDestinationHelper: "${H}" is not a valid destination reference, for dest="${J}".`);return}if(!z||z<1||z>this.pagesCount){console.error(`PDFLinkService.#goToDestinationHelper: "${z}" is not a valid page number, for dest="${J}".`);return}this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:Y,explicitDest:V,pageNumber:z})),this.pdfViewer.scrollPageIntoView({pageNumber:z,destArray:V,ignoreDestinationZoom:this._ignoreDestinationZoom})}function G(J){if(!Array.isArray(J))return!1;const Y=J.length;if(Y<2)return!1;const V=J[0];if(!(typeof V=="object"&&Number.isInteger(V.num)&&Number.isInteger(V.gen))&&!(Number.isInteger(V)&&V>=0))return!1;const H=J[1];if(!(typeof H=="object"&&typeof H.name=="string"))return!1;let z=!0;switch(H.name){case"XYZ":if(Y!==5)return!1;break;case"Fit":case"FitB":return Y===2;case"FitH":case"FitBH":case"FitV":case"FitBV":if(Y!==3)return!1;break;case"FitR":if(Y!==6)return!1;z=!1;break;default:return!1}for(let X=2;X{Object.defineProperty(a,"__esModule",{value:!0}),a.animationStarted=a.VERTICAL_PADDING=a.UNKNOWN_SCALE=a.TextLayerMode=a.SpreadMode=a.SidebarView=a.ScrollMode=a.SCROLLBAR_PADDING=a.RenderingStates=a.RendererType=a.ProgressBar=a.PresentationModeState=a.OutputScale=a.MIN_SCALE=a.MAX_SCALE=a.MAX_AUTO_SCALE=a.DEFAULT_SCALE_VALUE=a.DEFAULT_SCALE_DELTA=a.DEFAULT_SCALE=a.AutoPrintRegExp=void 0,a.apiPageLayoutToViewerModes=Pe,a.apiPageModeToSidebarView=qe,a.approximateFraction=me,a.backtrackBeforeAllVisibleElements=de,a.binarySearchFirstItem=Te,a.docStyle=void 0,a.getActiveOrFocusedElement=Fe,a.getPageSizeInches=ce,a.getVisibleElements=Z,a.isPortraitOrientation=Ie,a.isValidRotation=_e,a.isValidScrollMode=ye,a.isValidSpreadMode=se,a.noContextMenuHandler=ae,a.normalizeWheelEventDelta=we,a.normalizeWheelEventDirection=he,a.parseQueryString=$,a.removeNullCharacters=ie,a.roundToDivide=K,a.scrollIntoView=X,a.watchScroll=q;function g(Le,Oe,Ee){n(Le,Oe),Oe.set(Le,Ee)}function n(Le,Oe){if(Oe.has(Le))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(Le,Oe){var Ee=e(Le,Oe,"get");return R(Le,Ee)}function R(Le,Oe){return Oe.get?Oe.get.call(Le):Oe.value}function v(Le,Oe,Ee){var Ae=e(Le,Oe,"set");return L(Le,Ae,Ee),Ee}function e(Le,Oe,Ee){if(!Oe.has(Le))throw new TypeError("attempted to "+Ee+" private field on non-instance");return Oe.get(Le)}function L(Le,Oe,Ee){if(Oe.set)Oe.set.call(Le,Ee);else{if(!Oe.writable)throw new TypeError("attempted to set read only private field");Oe.value=Ee}}const O="auto";a.DEFAULT_SCALE_VALUE=O;const B=1;a.DEFAULT_SCALE=B;const P=1.1;a.DEFAULT_SCALE_DELTA=P;const S=.1;a.MIN_SCALE=S;const _=10;a.MAX_SCALE=_;const l=0;a.UNKNOWN_SCALE=l;const y=1.25;a.MAX_AUTO_SCALE=y;const D=40;a.SCROLLBAR_PADDING=D;const M=5;a.VERTICAL_PADDING=M;const F={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};a.RenderingStates=F;const N={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};a.PresentationModeState=N;const G={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};a.SidebarView=G;const W={CANVAS:"canvas",SVG:"svg"};a.RendererType=W;const J={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};a.TextLayerMode=J;const Y={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};a.ScrollMode=Y;const V={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};a.SpreadMode=V;const H=/\bprint\s*\(/;a.AutoPrintRegExp=H;class z{constructor(){const Oe=window.devicePixelRatio||1;this.sx=Oe,this.sy=Oe}get scaled(){return this.sx!==1||this.sy!==1}}a.OutputScale=z;function X(Le,Oe){let Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ae=Le.offsetParent;if(!Ae){console.error("offsetParent is not set -- cannot scroll");return}let Ve=Le.offsetTop+Le.clientTop,$e=Le.offsetLeft+Le.clientLeft;for(;Ae.clientHeight===Ae.scrollHeight&&Ae.clientWidth===Ae.scrollWidth||Ee&&(Ae.classList.contains("markedContent")||getComputedStyle(Ae).overflow==="hidden");)if(Ve+=Ae.offsetTop,$e+=Ae.offsetLeft,Ae=Ae.offsetParent,!Ae)return;Oe&&(Oe.top!==void 0&&(Ve+=Oe.top),Oe.left!==void 0&&($e+=Oe.left,Ae.scrollLeft=$e)),Ae.scrollTop=Ve}function q(Le,Oe){const Ee=function($e){Ve||(Ve=window.requestAnimationFrame(function(){Ve=null;const He=Le.scrollLeft,Qe=Ae.lastX;He!==Qe&&(Ae.right=He>Qe),Ae.lastX=He;const Ze=Le.scrollTop,et=Ae.lastY;Ze!==et&&(Ae.down=Ze>et),Ae.lastY=Ze,Oe(Ae)}))},Ae={right:!0,down:!0,lastX:Le.scrollLeft,lastY:Le.scrollTop,_eventHandler:Ee};let Ve=null;return Le.addEventListener("scroll",Ee,!0),Ae}function $(Le){const Oe=new Map;for(const[Ee,Ae]of new URLSearchParams(Le))Oe.set(Ee.toLowerCase(),Ae);return Oe}const fe=/\x00/g,Q=/[\x01-\x1F]/g;function ie(Le){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return typeof Le!="string"?(console.error("The argument must be a string."),Le):(Oe&&(Le=Le.replace(Q," ")),Le.replace(fe,""))}function Te(Le,Oe){let Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Ve=Le.length-1;if(Ve<0||!Oe(Le[Ve]))return Le.length;if(Oe(Le[Ae]))return Ae;for(;Ae>1,Ue=Le[$e];Oe(Ue)?Ve=$e:Ae=$e+1}return Ae}function me(Le){if(Math.floor(Le)===Le)return[Le,1];const Oe=1/Le,Ee=8;if(Oe>Ee)return[1,Ee];if(Math.floor(Oe)===Oe)return[1,Oe];const Ae=Le>1?Oe:Le;let Ve=0,$e=1,Ue=1,He=1;for(;;){const Ze=Ve+Ue,et=$e+He;if(et>Ee)break;Ae<=Ze/et?(Ue=Ze,He=et):(Ve=Ze,$e=et)}let Qe;return Ae-Ve/$e=Ee&&(Ae=Oe[Le-1].div,Ve=Ae.offsetTop+Ae.clientTop);for(let $e=Le-2;$e>=0&&(Ae=Oe[$e].div,!(Ae.offsetTop+Ae.clientTop+Ae.clientHeight<=Ve));--$e)Le=$e;return Le}function Z(Le){let{scrollEl:Oe,views:Ee,sortByVisibility:Ae=!1,horizontal:Ve=!1,rtl:$e=!1}=Le;const Ue=Oe.scrollTop,He=Ue+Oe.clientHeight,Qe=Oe.scrollLeft,Ze=Qe+Oe.clientWidth;function et(ze){const Ye=ze.div;return Ye.offsetTop+Ye.clientTop+Ye.clientHeight>Ue}function tt(ze){const Ye=ze.div,st=Ye.offsetLeft+Ye.clientLeft,_t=st+Ye.clientWidth;return $e?stQe}const je=[],Je=new Set,nt=Ee.length;let Ke=Te(Ee,Ve?tt:et);Ke>0&&Ke=He&&(at=mt);else if((Ve?_t:ft)>at)break;if(mt<=Ue||ft>=He||rt<=Qe||_t>=Ze)continue;const Ot=Math.max(0,Ue-ft)+Math.max(0,mt-He),dt=Math.max(0,Qe-_t)+Math.max(0,rt-Ze),Nt=(ut-Ot)/ut,kt=(Ct-dt)/Ct,Ut=Nt*kt*100|0;je.push({id:Ye.id,x:_t,y:ft,view:Ye,percent:Ut,widthPercent:kt*100|0}),Je.add(Ye.id)}const ot=je[0],Xe=je.at(-1);return Ae&&je.sort(function(ze,Ye){const st=ze.percent-Ye.percent;return Math.abs(st)>.001?-st:ze.id-Ye.id}),{first:ot,last:Xe,views:je,ids:Je}}function ae(Le){Le.preventDefault()}function he(Le){let Oe=Math.hypot(Le.deltaX,Le.deltaY);const Ee=Math.atan2(Le.deltaY,Le.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const Ee=document.getElementById(Oe);v(this,xe,Ee.classList)}get percent(){return c(this,Ne)}set percent(Oe){if(v(this,Ne,pe(Oe,0,100)),isNaN(Oe)){c(this,xe).add("indeterminate");return}c(this,xe).remove("indeterminate"),oe.setProperty("--progressBar-percent",`${c(this,Ne)}%`)}setWidth(Oe){if(!Oe)return;const Ae=Oe.parentNode.offsetWidth-Oe.offsetWidth;Ae>0&&oe.setProperty("--progressBar-end-offset",`${Ae}px`)}hide(){c(this,ke)&&(v(this,ke,!1),c(this,xe).add("hidden"))}show(){c(this,ke)||(v(this,ke,!0),c(this,xe).remove("hidden"))}}a.ProgressBar=De;function Fe(){let Le=document,Oe=Le.activeElement||Le.querySelector(":focus");for(;(Ee=Oe)!==null&&Ee!==void 0&&Ee.shadowRoot;){var Ee;Le=Oe.shadowRoot,Oe=Le.activeElement||Le.querySelector(":focus")}return Oe}function Pe(Le){let Oe=Y.VERTICAL,Ee=V.NONE;switch(Le){case"SinglePage":Oe=Y.PAGE;break;case"OneColumn":break;case"TwoPageLeft":Oe=Y.PAGE;case"TwoColumnLeft":Ee=V.ODD;break;case"TwoPageRight":Oe=Y.PAGE;case"TwoColumnRight":Ee=V.EVEN;break}return{scrollMode:Oe,spreadMode:Ee}}function qe(Le){switch(Le){case"UseNone":return G.NONE;case"UseThumbs":return G.THUMBS;case"UseOutlines":return G.OUTLINE;case"UseAttachments":return G.ATTACHMENTS;case"UseOC":return G.LAYERS}return G.NONE}},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.StructTreeLayerBuilder=void 0;const g={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},n=/^H(\d+)$/;class c{constructor(v){let{pdfPage:e}=v;this.pdfPage=e}render(v){return this._walk(v)}_setAttributes(v,e){v.alt!==void 0&&e.setAttribute("aria-label",v.alt),v.id!==void 0&&e.setAttribute("aria-owns",v.id),v.lang!==void 0&&e.setAttribute("lang",v.lang)}_walk(v){if(!v)return null;const e=document.createElement("span");if("role"in v){const{role:L}=v,O=L.match(n);O?(e.setAttribute("role","heading"),e.setAttribute("aria-level",O[1])):g[L]&&e.setAttribute("role",g[L])}if(this._setAttributes(v,e),v.children)if(v.children.length===1&&"id"in v.children[0])this._setAttributes(v.children[0],e);else for(const L of v.children)e.append(this._walk(L));return e}}a.StructTreeLayerBuilder=c},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.TextLayerBuilder=void 0;var n=g(3);const c=300;class R{constructor(e){let{textLayerDiv:L,eventBus:O,pageIndex:B,viewport:P,highlighter:S=null,enhanceTextSelection:_=!1,accessibilityManager:l=null}=e;this.textLayerDiv=L,this.eventBus=O,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=B+1,this.viewport=P,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=S,this.enhanceTextSelection=_,this.accessibilityManager=l,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.append(e)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(){var e,L;let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;if(!(this.textContent||this.textContentStream)||this.renderingDone)return;this.cancel(),this.textDivs.length=0,(e=this.highlighter)===null||e===void 0||e.setTextMapping(this.textDivs,this.textContentItemsStr),(L=this.accessibilityManager)===null||L===void 0||L.setTextMapping(this.textDivs);const B=document.createDocumentFragment();this.textLayerRenderTask=(0,n.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:B,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:O,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{var P,S;this.textLayerDiv.append(B),this._finishRendering(),(P=this.highlighter)===null||P===void 0||P.enable(),(S=this.accessibilityManager)===null||S===void 0||S.enable()},function(P){})}cancel(){var e,L;this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),(e=this.highlighter)===null||e===void 0||e.disable(),(L=this.accessibilityManager)===null||L===void 0||L.disable()}setTextContentStream(e){this.cancel(),this.textContentStream=e}setTextContent(e){this.cancel(),this.textContent=e}_bindMouse(){const e=this.textLayerDiv;let L=null;e.addEventListener("mousedown",O=>{if(this.enhanceTextSelection&&this.textLayerRenderTask){this.textLayerRenderTask.expandTextDivs(!0),L&&(clearTimeout(L),L=null);return}const B=e.querySelector(".endOfContent");if(!B)return;let P=O.target!==e;if(P=P&&window.getComputedStyle(B).getPropertyValue("-moz-user-select")!=="none",P){const S=e.getBoundingClientRect(),_=Math.max(0,(O.pageY-S.top)/S.height);B.style.top=(_*100).toFixed(2)+"%"}B.classList.add("active")}),e.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask){L=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),L=null},c);return}const O=e.querySelector(".endOfContent");O&&(O.style.top="",O.classList.remove("active"))})}}a.TextLayerBuilder=R},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.XfaLayerBuilder=void 0;var n=g(3);class c{constructor(v){let{pageDiv:e,pdfPage:L,annotationStorage:O=null,linkService:B,xfaHtml:P=null}=v;this.pageDiv=e,this.pdfPage=L,this.annotationStorage=O,this.linkService=B,this.xfaHtml=P,this.div=null,this._cancelled=!1}render(v){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";if(e==="print"){const L={viewport:v.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:e},O=document.createElement("div");this.pageDiv.append(O),L.div=O;const B=n.XfaLayer.render(L);return Promise.resolve(B)}return this.pdfPage.getXfa().then(L=>{if(this._cancelled||!L)return{textDivs:[]};const O={viewport:v.clone({dontFlip:!0}),div:this.div,xfaHtml:L,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:e};return this.div?n.XfaLayer.update(O):(this.div=document.createElement("div"),this.pageDiv.append(this.div),O.div=this.div,n.XfaLayer.render(O))}).catch(L=>{console.error(L)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}a.XfaLayerBuilder=c},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFViewer=a.PDFSinglePageViewer=void 0;var n=g(7),c=g(12);class R extends c.BaseViewer{}a.PDFViewer=R;class v extends c.BaseViewer{_resetView(){super._resetView(),this._scrollMode=n.ScrollMode.PAGE,this._spreadMode=n.SpreadMode.NONE}set scrollMode(L){}_updateScrollMode(){}set spreadMode(L){}_updateSpreadMode(){}}a.PDFSinglePageViewer=v},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PagesCountLimit=a.PDFPageViewBuffer=a.BaseViewer=void 0;var n=g(3),c=g(7),R=g(2),v=g(5),e=g(4),L=g(13),O=g(16),B=g(6),P=g(8),S=g(17),_=g(9),l=g(10);let y;function D($e,Ue){F($e,Ue),Ue.add($e)}function M($e,Ue,He){F($e,Ue),Ue.set($e,He)}function F($e,Ue){if(Ue.has($e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function N($e,Ue,He){if(!Ue.has($e))throw new TypeError("attempted to get private field on non-instance");return He}function G($e,Ue){var He=Y($e,Ue,"get");return W($e,He)}function W($e,Ue){return Ue.get?Ue.get.call($e):Ue.value}function J($e,Ue,He){var Qe=Y($e,Ue,"set");return V($e,Qe,He),He}function Y($e,Ue,He){if(!Ue.has($e))throw new TypeError("attempted to "+He+" private field on non-instance");return Ue.get($e)}function V($e,Ue,He){if(Ue.set)Ue.set.call($e,He);else{if(!Ue.writable)throw new TypeError("attempted to set read only private field");Ue.value=He}}const H=10,z="enablePermissions",X={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};a.PagesCountLimit=X;function q($e){return Object.values(n.AnnotationEditorType).includes($e)&&$e!==n.AnnotationEditorType.DISABLE}var $=new WeakMap,fe=new WeakMap,Q=new WeakSet;y=Symbol.iterator;class ie{constructor(Ue){D(this,Q),M(this,$,{writable:!0,value:new Set}),M(this,fe,{writable:!0,value:0}),J(this,fe,Ue)}push(Ue){const He=G(this,$);He.has(Ue)&&He.delete(Ue),He.add(Ue),He.size>G(this,fe)&&N(this,Q,Te).call(this)}resize(Ue){let He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;J(this,fe,Ue);const Qe=G(this,$);if(He){const Ze=Qe.size;let et=1;for(const tt of Qe)if(He.has(tt.id)&&(Qe.delete(tt),Qe.add(tt)),++et>Ze)break}for(;Qe.size>G(this,fe);)N(this,Q,Te).call(this)}has(Ue){return G(this,$).has(Ue)}[y](){return G(this,$).keys()}}a.PDFPageViewBuffer=ie;function Te(){const $e=G(this,$).keys().next().value;$e==null||$e.destroy(),G(this,$).delete($e)}var me=new WeakMap,K=new WeakMap,ce=new WeakMap,de=new WeakMap,Z=new WeakMap,ae=new WeakMap,he=new WeakMap,we=new WeakMap,_e=new WeakSet,ye=new WeakSet,se=new WeakSet,Ie=new WeakSet,Ce=new WeakSet,oe=new WeakSet,pe=new WeakSet,xe=new WeakSet,Ne=new WeakSet;class ke{constructor(Ue){var He,Qe,Ze,et,tt;if(D(this,Ne),D(this,xe),D(this,pe),D(this,oe),D(this,Ce),D(this,Ie),D(this,se),D(this,ye),D(this,_e),M(this,me,{writable:!0,value:null}),M(this,K,{writable:!0,value:n.AnnotationEditorType.DISABLE}),M(this,ce,{writable:!0,value:null}),M(this,de,{writable:!0,value:n.AnnotationMode.ENABLE_FORMS}),M(this,Z,{writable:!0,value:!1}),M(this,ae,{writable:!0,value:0}),M(this,he,{writable:!0,value:null}),M(this,we,{writable:!0,value:null}),this.constructor===ke)throw new Error("Cannot initialize BaseViewer.");const je="2.16.105";if(n.version!==je)throw new Error(`The API version "${n.version}" does not match the Viewer version "${je}".`);if(this.container=Ue.container,this.viewer=Ue.viewer||Ue.container.firstElementChild,!(((He=this.container)===null||He===void 0?void 0:He.tagName.toUpperCase())==="DIV"&&((Qe=this.viewer)===null||Qe===void 0?void 0:Qe.tagName.toUpperCase())==="DIV"))throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&getComputedStyle(this.container).position!=="absolute")throw new Error("The `container` must be absolutely positioned.");this.eventBus=Ue.eventBus,this.linkService=Ue.linkService||new B.SimpleLinkService,this.downloadManager=Ue.downloadManager||null,this.findController=Ue.findController||null,this._scriptingManager=Ue.scriptingManager||null,this.removePageBorders=Ue.removePageBorders||!1,this.textLayerMode=(Ze=Ue.textLayerMode)!==null&&Ze!==void 0?Ze:c.TextLayerMode.ENABLE,J(this,de,(et=Ue.annotationMode)!==null&&et!==void 0?et:n.AnnotationMode.ENABLE_FORMS),J(this,K,(tt=Ue.annotationEditorMode)!==null&&tt!==void 0?tt:n.AnnotationEditorType.DISABLE),this.imageResourcesPath=Ue.imageResourcesPath||"",this.enablePrintAutoRotate=Ue.enablePrintAutoRotate||!1,this.renderer=Ue.renderer||c.RendererType.CANVAS,this.useOnlyCssZoom=Ue.useOnlyCssZoom||!1,this.maxCanvasPixels=Ue.maxCanvasPixels,this.l10n=Ue.l10n||e.NullL10n,J(this,Z,Ue.enablePermissions||!1),this.pageColors=Ue.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!Ue.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new O.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=Ue.renderingQueue,this.scroll=(0,c.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=c.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(Ue){return this._pages[Ue]}get pageViewsReady(){return this._pagesCapability.settled?this._pages.every(function(Ue){return Ue==null?void 0:Ue.pdfPage}):!1}get renderForms(){return G(this,de)===n.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(Ue){if(!Number.isInteger(Ue))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(Ue,!0)||console.error(`currentPageNumber: "${Ue}" is not a valid page.`))}_setCurrentPageNumber(Ue){var He,Qe;let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this._currentPageNumber===Ue)return Ze&&N(this,oe,Oe).call(this),!0;if(!(0=0&&(He=Qe+1)}this._setCurrentPageNumber(He,!0)||console.error(`currentPageLabel: "${Ue}" is not a valid page.`)}get currentScale(){return this._currentScale!==c.UNKNOWN_SCALE?this._currentScale:c.DEFAULT_SCALE}set currentScale(Ue){if(isNaN(Ue))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(Ue,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(Ue){this.pdfDocument&&this._setScale(Ue,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(Ue){if(!(0,c.isValidRotation)(Ue))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||(Ue%=360,Ue<0&&(Ue+=360),this._pagesRotation===Ue))return;this._pagesRotation=Ue;const He=this._currentPageNumber,Qe={rotation:Ue};for(const Ze of this._pages)Ze.update(Qe);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:Ue,pageNumber:He}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}setDocument(Ue){if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),G(this,ce)&&(G(this,ce).destroy(),J(this,ce,null))),this.pdfDocument=Ue,!Ue)return;const He=Ue.isPureXfa,Qe=Ue.numPages,Ze=Ue.getPage(1),et=Ue.getOptionalContentConfig(),tt=G(this,Z)?Ue.getPermissions():Promise.resolve();if(Qe>X.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const je=this._scrollMode=c.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:je})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:Qe})},()=>{}),this._onBeforeDraw=je=>{const Je=this._pages[je.pageNumber-1];Je&&G(this,me).push(Je)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=je=>{je.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:je.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,G(this,we)&&(document.removeEventListener("visibilitychange",G(this,we)),J(this,we,null)))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([Ze,tt]).then(je=>{let[Je,nt]=je;if(Ue!==this.pdfDocument)return;this._firstPageCapability.resolve(Je),this._optionalContentConfigPromise=et;const{annotationEditorMode:Ke,annotationMode:at,textLayerMode:ot}=N(this,_e,De).call(this,nt);if(Ke!==n.AnnotationEditorType.DISABLE){const rt=Ke;He?console.warn("Warning: XFA-editing is not implemented."):q(rt)?(J(this,ce,new n.AnnotationEditorUIManager(this.container,this.eventBus)),rt!==n.AnnotationEditorType.NONE&&G(this,ce).updateMode(rt)):console.error(`Invalid AnnotationEditor mode: ${rt}`)}const Xe=this._scrollMode===c.ScrollMode.PAGE?null:this.viewer,ze=this.currentScale,Ye=Je.getViewport({scale:ze*n.PixelsPerInch.PDF_TO_CSS_UNITS}),st=ot!==c.TextLayerMode.DISABLE&&!He?this:null,_t=at!==n.AnnotationMode.DISABLE?this:null,ft=He?this:null,Ct=G(this,ce)?this:null;for(let rt=1;rt<=Qe;++rt){const mt=new L.PDFPageView({container:Xe,eventBus:this.eventBus,id:rt,scale:ze,defaultViewport:Ye.clone(),optionalContentConfigPromise:et,renderingQueue:this.renderingQueue,textLayerFactory:st,textLayerMode:ot,annotationLayerFactory:_t,annotationMode:at,xfaLayerFactory:ft,annotationEditorLayerFactory:Ct,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(mt)}const ut=this._pages[0];ut&&(ut.setPdfPage(Je),this.linkService.cachePageRef(1,Je.ref)),this._scrollMode===c.ScrollMode.PAGE?N(this,se,Pe).call(this):this._spreadMode!==c.SpreadMode.NONE&&this._updateSpreadMode(),N(this,ye,Fe).call(this).then(async()=>{if(this.findController&&this.findController.setDocument(Ue),this._scriptingManager&&this._scriptingManager.setDocument(Ue),G(this,ce)&&this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:G(this,K)}),Ue.loadingParams.disableAutoFetch||Qe>X.FORCE_LAZY_PAGE_INIT){this._pagesCapability.resolve();return}let rt=Qe-1;if(rt<=0){this._pagesCapability.resolve();return}for(let mt=2;mt<=Qe;++mt){const Ot=Ue.getPage(mt).then(dt=>{const Nt=this._pages[mt-1];Nt.pdfPage||Nt.setPdfPage(dt),this.linkService.cachePageRef(mt,dt.ref),--rt===0&&this._pagesCapability.resolve()},dt=>{console.error(`Unable to get page ${mt} to initialize viewer`,dt),--rt===0&&this._pagesCapability.resolve()});mt%X.PAUSE_EAGER_PAGE_INIT===0&&await Ot}}),this.eventBus.dispatch("pagesinit",{source:this}),Ue.getMetadata().then(rt=>{let{info:mt}=rt;Ue===this.pdfDocument&&mt.Language&&(this.viewer.lang=mt.Language)}),this.defaultRenderingQueue&&this.update()}).catch(je=>{console.error("Unable to initialize viewer",je),this._pagesCapability.reject(je)})}setPageLabels(Ue){if(this.pdfDocument){Ue?Array.isArray(Ue)&&this.pdfDocument.numPages===Ue.length?this._pageLabels=Ue:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let Ze=0,et=this._pages.length;Ze2&&arguments[2]!==void 0?arguments[2]:!1,Ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(this._currentScaleValue=He.toString(),N(this,Ce,Le).call(this,Ue)){Ze&&this.eventBus.dispatch("scalechanging",{source:this,scale:Ue,presetValue:He});return}c.docStyle.setProperty("--scale-factor",Ue*n.PixelsPerInch.PDF_TO_CSS_UNITS);const et={scale:Ue};for(const tt of this._pages)tt.update(et);if(this._currentScale=Ue,!Qe){let tt=this._currentPageNumber,je;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(tt=this._location.pageNumber,je=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:tt,destArray:je,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:Ue,presetValue:Ze?He:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==c.SpreadMode.NONE&&this._scrollMode!==c.ScrollMode.HORIZONTAL?2:1}_setScale(Ue){let He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=parseFloat(Ue);if(Qe>0)this._setScaleUpdatePages(Qe,Ue,He,!1);else{const Ze=this._pages[this._currentPageNumber-1];if(!Ze)return;let et=c.SCROLLBAR_PADDING,tt=c.VERTICAL_PADDING;this.isInPresentationMode?et=tt=4:this.removePageBorders?et=tt=0:this._scrollMode===c.ScrollMode.HORIZONTAL&&([et,tt]=[tt,et]);const je=(this.container.clientWidth-et)/Ze.width*Ze.scale/this._pageWidthScaleFactor,Je=(this.container.clientHeight-tt)/Ze.height*Ze.scale;switch(Ue){case"page-actual":Qe=1;break;case"page-width":Qe=je;break;case"page-height":Qe=Je;break;case"page-fit":Qe=Math.min(je,Je);break;case"auto":const nt=(0,c.isPortraitOrientation)(Ze)?je:Math.min(Je,je);Qe=Math.min(c.MAX_AUTO_SCALE,nt);break;default:console.error(`_setScale: "${Ue}" is an unknown zoom value.`);return}this._setScaleUpdatePages(Qe,Ue,He,!0)}}pageLabelToPageNumber(Ue){if(!this._pageLabels)return null;const He=this._pageLabels.indexOf(Ue);return He<0?null:He+1}scrollPageIntoView(Ue){let{pageNumber:He,destArray:Qe=null,allowNegativeOffset:Ze=!1,ignoreDestinationZoom:et=!1}=Ue;if(!this.pdfDocument)return;const tt=Number.isInteger(He)&&this._pages[He-1];if(!tt){console.error(`scrollPageIntoView: "${He}" is not a valid pageNumber parameter.`);return}if(this.isInPresentationMode||!Qe){this._setCurrentPageNumber(He,!0);return}let je=0,Je=0,nt=0,Ke=0,at,ot;const Xe=tt.rotation%180!==0,ze=(Xe?tt.height:tt.width)/tt.scale/n.PixelsPerInch.PDF_TO_CSS_UNITS,Ye=(Xe?tt.width:tt.height)/tt.scale/n.PixelsPerInch.PDF_TO_CSS_UNITS;let st=0;switch(Qe[1].name){case"XYZ":je=Qe[2],Je=Qe[3],st=Qe[4],je=je!==null?je:0,Je=Je!==null?Je:Ye;break;case"Fit":case"FitB":st="page-fit";break;case"FitH":case"FitBH":Je=Qe[2],st="page-width",Je===null&&this._location?(je=this._location.left,Je=this._location.top):(typeof Je!="number"||Je<0)&&(Je=Ye);break;case"FitV":case"FitBV":je=Qe[2],nt=ze,Ke=Ye,st="page-height";break;case"FitR":je=Qe[2],Je=Qe[3],nt=Qe[4]-je,Ke=Qe[5]-Je;const ut=this.removePageBorders?0:c.SCROLLBAR_PADDING,rt=this.removePageBorders?0:c.VERTICAL_PADDING;at=(this.container.clientWidth-ut)/nt/n.PixelsPerInch.PDF_TO_CSS_UNITS,ot=(this.container.clientHeight-rt)/Ke/n.PixelsPerInch.PDF_TO_CSS_UNITS,st=Math.min(Math.abs(at),Math.abs(ot));break;default:console.error(`scrollPageIntoView: "${Qe[1].name}" is not a valid destination type.`);return}if(et||(st&&st!==this._currentScale?this.currentScaleValue=st:this._currentScale===c.UNKNOWN_SCALE&&(this.currentScaleValue=c.DEFAULT_SCALE_VALUE)),st==="page-fit"&&!Qe[4]){N(this,Ie,qe).call(this,tt);return}const _t=[tt.viewport.convertToViewportPoint(je,Je),tt.viewport.convertToViewportPoint(je+nt,Je+Ke)];let ft=Math.min(_t[0][0],_t[1][0]),Ct=Math.min(_t[0][1],_t[1][1]);Ze||(ft=Math.max(ft,0),Ct=Math.max(Ct,0)),N(this,Ie,qe).call(this,tt,{left:ft,top:Ct})}_updateLocation(Ue){const He=this._currentScale,Qe=this._currentScaleValue,Ze=parseFloat(Qe)===He?Math.round(He*1e4)/100:Qe,et=Ue.id,tt=this._pages[et-1],je=this.container,Je=tt.getPagePoint(je.scrollLeft-Ue.x,je.scrollTop-Ue.y),nt=Math.round(Je[0]),Ke=Math.round(Je[1]);let at=`#page=${et}`;this.isInPresentationMode||(at+=`&zoom=${Ze},${nt},${Ke}`),this._location={pageNumber:et,scale:Ze,top:Ke,left:nt,rotation:this._pagesRotation,pdfOpenParams:at}}update(){const Ue=this._getVisiblePages(),He=Ue.views,Qe=He.length;if(Qe===0)return;const Ze=Math.max(H,2*Qe+1);G(this,me).resize(Ze,Ue.ids),this.renderingQueue.renderHighestPriority(Ue);const et=this._spreadMode===c.SpreadMode.NONE&&(this._scrollMode===c.ScrollMode.PAGE||this._scrollMode===c.ScrollMode.VERTICAL),tt=this._currentPageNumber;let je=!1;for(const Je of He){if(Je.percent<100)break;if(Je.id===tt&&et){je=!0;break}}this._setCurrentPageNumber(je?tt:He[0].id),this._updateLocation(Ue.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(Ue){return this.container.contains(Ue)}focus(){this.container.focus()}get _isContainerRtl(){return getComputedStyle(this.container).direction==="rtl"}get isInPresentationMode(){return this.presentationModeState===c.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===c.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return this.isInPresentationMode?!1:this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return this.isInPresentationMode?!1:this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const Ue=this._scrollMode===c.ScrollMode.PAGE?G(this,he).pages:this._pages,He=this._scrollMode===c.ScrollMode.HORIZONTAL,Qe=He&&this._isContainerRtl;return(0,c.getVisibleElements)({scrollEl:this.container,views:Ue,sortByVisibility:!0,horizontal:He,rtl:Qe})}isPageVisible(Ue){return this.pdfDocument?Number.isInteger(Ue)&&Ue>0&&Ue<=this.pagesCount?this._getVisiblePages().ids.has(Ue):(console.error(`isPageVisible: "${Ue}" is not a valid page.`),!1):!1}isPageCached(Ue){if(!this.pdfDocument)return!1;if(!(Number.isInteger(Ue)&&Ue>0&&Ue<=this.pagesCount))return console.error(`isPageCached: "${Ue}" is not a valid page.`),!1;const He=this._pages[Ue-1];return G(this,me).has(He)}cleanup(){for(const Ue of this._pages)Ue.renderingState!==c.RenderingStates.FINISHED&&Ue.reset()}_cancelRendering(){for(const Ue of this._pages)Ue.cancelRendering()}forceRendering(Ue){const He=Ue||this._getVisiblePages(),Qe=N(this,xe,Ae).call(this,He),Ze=this._spreadMode!==c.SpreadMode.NONE&&this._scrollMode!==c.ScrollMode.HORIZONTAL,et=this.renderingQueue.getHighestPriority(He,this._pages,Qe,Ze);return N(this,Ne,Ve).call(this,He.ids),et?(N(this,pe,Ee).call(this,et).then(()=>{this.renderingQueue.renderView(et)}),!0):!1}createTextLayerBuilder(Ue){let{textLayerDiv:He,pageIndex:Qe,viewport:Ze,enhanceTextSelection:et=!1,eventBus:tt,highlighter:je,accessibilityManager:Je=null}=Ue;return new _.TextLayerBuilder({textLayerDiv:He,eventBus:tt,pageIndex:Qe,viewport:Ze,enhanceTextSelection:this.isInPresentationMode?!1:et,highlighter:je,accessibilityManager:Je})}createTextHighlighter(Ue){let{pageIndex:He,eventBus:Qe}=Ue;return new S.TextHighlighter({eventBus:Qe,pageIndex:He,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder(Ue){var He,Qe,Ze,et;let{pageDiv:tt,pdfPage:je,annotationStorage:Je=(He=this.pdfDocument)===null||He===void 0?void 0:He.annotationStorage,imageResourcesPath:nt="",renderForms:Ke=!0,l10n:at=e.NullL10n,enableScripting:ot=this.enableScripting,hasJSActionsPromise:Xe=(Qe=this.pdfDocument)===null||Qe===void 0?void 0:Qe.hasJSActions(),mouseState:ze=(Ze=this._scriptingManager)===null||Ze===void 0?void 0:Ze.mouseState,fieldObjectsPromise:Ye=(et=this.pdfDocument)===null||et===void 0?void 0:et.getFieldObjects(),annotationCanvasMap:st=null,accessibilityManager:_t=null}=Ue;return new v.AnnotationLayerBuilder({pageDiv:tt,pdfPage:je,annotationStorage:Je,imageResourcesPath:nt,renderForms:Ke,linkService:this.linkService,downloadManager:this.downloadManager,l10n:at,enableScripting:ot,hasJSActionsPromise:Xe,mouseState:ze,fieldObjectsPromise:Ye,annotationCanvasMap:st,accessibilityManager:_t})}createAnnotationEditorLayerBuilder(Ue){var He;let{uiManager:Qe=G(this,ce),pageDiv:Ze,pdfPage:et,accessibilityManager:tt=null,l10n:je,annotationStorage:Je=(He=this.pdfDocument)===null||He===void 0?void 0:He.annotationStorage}=Ue;return new R.AnnotationEditorLayerBuilder({uiManager:Qe,pageDiv:Ze,pdfPage:et,annotationStorage:Je,accessibilityManager:tt,l10n:je})}createXfaLayerBuilder(Ue){var He;let{pageDiv:Qe,pdfPage:Ze,annotationStorage:et=(He=this.pdfDocument)===null||He===void 0?void 0:He.annotationStorage}=Ue;return new l.XfaLayerBuilder({pageDiv:Qe,pdfPage:Ze,annotationStorage:et,linkService:this.linkService})}createStructTreeLayerBuilder(Ue){let{pdfPage:He}=Ue;return new P.StructTreeLayerBuilder({pdfPage:He})}get hasEqualPageSizes(){const Ue=this._pages[0];for(let He=1,Qe=this._pages.length;He{const He=Ue.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,c.isPortraitOrientation)(He)?{width:He.width,height:He.height,rotation:He.rotation}:{width:He.height,height:He.width,rotation:(He.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(Ue){if(!(Ue instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${Ue}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=Ue;const He={optionalContentConfigPromise:Ue};for(const Qe of this._pages)Qe.update(He);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:Ue})}get scrollMode(){return this._scrollMode}set scrollMode(Ue){if(this._scrollMode!==Ue){if(!(0,c.isValidScrollMode)(Ue))throw new Error(`Invalid scroll mode: ${Ue}`);this.pagesCount>X.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=Ue,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:Ue}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;const He=this._scrollMode,Qe=this.viewer;Qe.classList.toggle("scrollHorizontal",He===c.ScrollMode.HORIZONTAL),Qe.classList.toggle("scrollWrapped",He===c.ScrollMode.WRAPPED),!(!this.pdfDocument||!Ue)&&(He===c.ScrollMode.PAGE?N(this,se,Pe).call(this):this._previousScrollMode===c.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(Ue,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(Ue){if(this._spreadMode!==Ue){if(!(0,c.isValidSpreadMode)(Ue))throw new Error(`Invalid spread mode: ${Ue}`);this._spreadMode=Ue,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:Ue}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(!this.pdfDocument)return;const He=this.viewer,Qe=this._pages;if(this._scrollMode===c.ScrollMode.PAGE)N(this,se,Pe).call(this);else if(He.textContent="",this._spreadMode===c.SpreadMode.NONE)for(const Ze of this._pages)He.append(Ze.div);else{const Ze=this._spreadMode-1;let et=null;for(let tt=0,je=Qe.length;tt1&&arguments[1]!==void 0?arguments[1]:!1;switch(this._scrollMode){case c.ScrollMode.WRAPPED:{const{views:Qe}=this._getVisiblePages(),Ze=new Map;for(const{id:et,y:tt,percent:je,widthPercent:Je}of Qe){if(je===0||Je<100)continue;let nt=Ze.get(tt);nt||Ze.set(tt,nt||(nt=[])),nt.push(et)}for(const et of Ze.values()){const tt=et.indexOf(Ue);if(tt===-1)continue;const je=et.length;if(je===1)break;if(He)for(let Je=tt-1,nt=0;Je>=nt;Je--){const Ke=et[Je],at=et[Je+1]-1;if(Keat)return at-Ue}if(He){const Je=et[0];if(JeUe)return Je-Ue+1}break}break}case c.ScrollMode.HORIZONTAL:break;case c.ScrollMode.PAGE:case c.ScrollMode.VERTICAL:{if(this._spreadMode===c.SpreadMode.NONE)break;const Qe=this._spreadMode-1;if(He&&Ue%2!==Qe)break;if(!He&&Ue%2===Qe)break;const{views:Ze}=this._getVisiblePages(),et=He?Ue-1:Ue+1;for(const{id:tt,percent:je,widthPercent:Je}of Ze)if(tt===et){if(je>0&&Je===100)return 2;break}break}}return 1}nextPage(){const Ue=this._currentPageNumber,He=this.pagesCount;if(Ue>=He)return!1;const Qe=this._getPageAdvance(Ue,!1)||1;return this.currentPageNumber=Math.min(Ue+Qe,He),!0}previousPage(){const Ue=this._currentPageNumber;if(Ue<=1)return!1;const He=this._getPageAdvance(Ue,!0)||1;return this.currentPageNumber=Math.max(Ue-He,1),!0}increaseScale(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,He=this._currentScale;do He=(He*c.DEFAULT_SCALE_DELTA).toFixed(2),He=Math.ceil(He*10)/10,He=Math.min(c.MAX_SCALE,He);while(--Ue>0&&He0&&arguments[0]!==void 0?arguments[0]:1,He=this._currentScale;do He=(He/c.DEFAULT_SCALE_DELTA).toFixed(2),He=Math.floor(He*10)/10,He=Math.max(c.MIN_SCALE,He);while(--Ue>0&&He>c.MIN_SCALE);this.currentScaleValue=He}updateContainerHeightCss(){const Ue=this.container.clientHeight;Ue!==G(this,ae)&&(J(this,ae,Ue),c.docStyle.setProperty("--viewer-container-height",`${Ue}px`))}get annotationEditorMode(){return G(this,ce)?G(this,K):n.AnnotationEditorType.DISABLE}set annotationEditorMode(Ue){if(!G(this,ce))throw new Error("The AnnotationEditor is not enabled.");if(G(this,K)!==Ue){if(!q(Ue))throw new Error(`Invalid AnnotationEditor mode: ${Ue}`);this.pdfDocument&&(J(this,K,Ue),this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:Ue}),G(this,ce).updateMode(Ue))}}set annotationEditorParams(Ue){let{type:He,value:Qe}=Ue;if(!G(this,ce))throw new Error("The AnnotationEditor is not enabled.");G(this,ce).updateParams(He,Qe)}refresh(){if(!this.pdfDocument)return;const Ue={};for(const He of this._pages)He.update(Ue);this.update()}}a.BaseViewer=ke;function De($e){const Ue={annotationEditorMode:G(this,K),annotationMode:G(this,de),textLayerMode:this.textLayerMode};return $e&&($e.includes(n.PermissionFlag.COPY)||this.viewer.classList.add(z),$e.includes(n.PermissionFlag.MODIFY_CONTENTS)||(Ue.annotationEditorMode=n.AnnotationEditorType.DISABLE),!$e.includes(n.PermissionFlag.MODIFY_ANNOTATIONS)&&!$e.includes(n.PermissionFlag.FILL_INTERACTIVE_FORMS)&&G(this,de)===n.AnnotationMode.ENABLE_FORMS&&(Ue.annotationMode=n.AnnotationMode.ENABLE)),Ue}function Fe(){if(document.visibilityState==="hidden"||!this.container.offsetParent||this._getVisiblePages().views.length===0)return Promise.resolve();const $e=new Promise(Ue=>{J(this,we,()=>{document.visibilityState==="hidden"&&(Ue(),document.removeEventListener("visibilitychange",G(this,we)),J(this,we,null))}),document.addEventListener("visibilitychange",G(this,we))});return Promise.race([this._onePageRenderedCapability.promise,$e])}function Pe(){if(this._scrollMode!==c.ScrollMode.PAGE)throw new Error("#ensurePageViewVisible: Invalid scrollMode value.");const $e=this._currentPageNumber,Ue=G(this,he),He=this.viewer;if(He.textContent="",Ue.pages.length=0,this._spreadMode===c.SpreadMode.NONE&&!this.isInPresentationMode){const Qe=this._pages[$e-1];He.append(Qe.div),Ue.pages.push(Qe)}else{const Qe=new Set,Ze=this._spreadMode-1;Ze===-1?Qe.add($e-1):$e%2!==Ze?(Qe.add($e-1),Qe.add($e)):(Qe.add($e-2),Qe.add($e-1));const et=document.createElement("div");if(et.className="spread",this.isInPresentationMode){const tt=document.createElement("div");tt.className="dummyPage",et.append(tt)}for(const tt of Qe){const je=this._pages[tt];je&&(et.append(je.div),Ue.pages.push(je))}He.append(et)}Ue.scrollDown=$e>=Ue.previousPageNumber,Ue.previousPageNumber=$e}function qe($e){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const{div:He,id:Qe}=$e;if(this._scrollMode===c.ScrollMode.PAGE&&(this._setCurrentPageNumber(Qe),N(this,se,Pe).call(this),this.update()),!Ue&&!this.isInPresentationMode){const Ze=He.offsetLeft+He.clientLeft,et=Ze+He.clientWidth,{scrollLeft:tt,clientWidth:je}=this.container;(this._scrollMode===c.ScrollMode.HORIZONTAL||Zett+je)&&(Ue={left:0,top:0})}(0,c.scrollIntoView)(He,Ue)}function Le($e){return $e===this._currentScale||Math.abs($e-this._currentScale)<1e-15}function Oe(){const $e=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),N(this,Ie,qe).call(this,$e)}async function Ee($e){if($e.pdfPage)return $e.pdfPage;try{var Ue,He;const Qe=await this.pdfDocument.getPage($e.id);return $e.pdfPage||$e.setPdfPage(Qe),(Ue=(He=this.linkService)._cachedPageNumber)!==null&&Ue!==void 0&&Ue.call(He,Qe.ref)||this.linkService.cachePageRef($e.id,Qe.ref),Qe}catch(Qe){return console.error("Unable to get page for page view",Qe),null}}function Ae($e){var Ue,He;if(((Ue=$e.first)===null||Ue===void 0?void 0:Ue.id)===1)return!0;if(((He=$e.last)===null||He===void 0?void 0:He.id)===this.pagesCount)return!1;switch(this._scrollMode){case c.ScrollMode.PAGE:return G(this,he).scrollDown;case c.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}function Ve($e){for(const Ue of $e){const He=this._pages[Ue-1];He==null||He.toggleLoadingIconSpinner(!0)}for(const Ue of G(this,me))$e.has(Ue.id)||Ue.toggleLoadingIconSpinner(!1)}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFPageView=void 0;var n=g(3),c=g(7),R=g(14),v=g(4),e=g(15);function L(N,G,W){O(N,G),G.set(N,W)}function O(N,G){if(G.has(N))throw new TypeError("Cannot initialize the same private elements twice on an object")}function B(N,G){var W=_(N,G,"get");return P(N,W)}function P(N,G){return G.get?G.get.call(N):G.value}function S(N,G,W){var J=_(N,G,"set");return l(N,J,W),W}function _(N,G,W){if(!G.has(N))throw new TypeError("attempted to "+W+" private field on non-instance");return G.get(N)}function l(N,G,W){if(G.set)G.set.call(N,W);else{if(!G.writable)throw new TypeError("attempted to set read only private field");G.value=W}}const y=R.compatibilityParams.maxCanvasPixels||16777216;var D=new WeakMap,M=new WeakMap;class F{constructor(G){var W,J,Y,V;L(this,D,{writable:!0,value:n.AnnotationMode.ENABLE_FORMS}),L(this,M,{writable:!0,value:{initialOptionalContent:!0,regularAnnotations:!0}});const H=G.container,z=G.defaultViewport;this.id=G.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=G.scale||c.DEFAULT_SCALE,this.viewport=z,this.pdfPageRotate=z.rotation,this._optionalContentConfigPromise=G.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=(W=G.textLayerMode)!==null&&W!==void 0?W:c.TextLayerMode.ENABLE,S(this,D,(J=G.annotationMode)!==null&&J!==void 0?J:n.AnnotationMode.ENABLE_FORMS),this.imageResourcesPath=G.imageResourcesPath||"",this.useOnlyCssZoom=G.useOnlyCssZoom||!1,this.maxCanvasPixels=G.maxCanvasPixels||y,this.pageColors=G.pageColors||null,this.eventBus=G.eventBus,this.renderingQueue=G.renderingQueue,this.textLayerFactory=G.textLayerFactory,this.annotationLayerFactory=G.annotationLayerFactory,this.annotationEditorLayerFactory=G.annotationEditorLayerFactory,this.xfaLayerFactory=G.xfaLayerFactory,this.textHighlighter=(Y=G.textHighlighterFactory)===null||Y===void 0?void 0:Y.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=G.structTreeLayerFactory,this.renderer=G.renderer||c.RendererType.CANVAS,this.l10n=G.l10n||v.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=c.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!((V=this.renderingQueue)!==null&&V!==void 0&&V.hasViewer()),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const X=document.createElement("div");if(X.className="page",X.style.width=Math.floor(this.viewport.width)+"px",X.style.height=Math.floor(this.viewport.height)+"px",X.setAttribute("data-page-number",this.id),X.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(q=>{X.setAttribute("aria-label",q)}),this.div=X,H==null||H.append(X),this._isStandalone){const{optionalContentConfigPromise:q}=G;q&&q.then($=>{q===this._optionalContentConfigPromise&&(B(this,M).initialOptionalContent=$.hasInitialVisibility)})}}setPdfPage(G){this.pdfPage=G,this.pdfPageRotate=G.rotate;const W=(this.rotation+this.pdfPageRotate)%360;this.viewport=G.getViewport({scale:this.scale*n.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:W}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}async _renderAnnotationLayer(){let G=null;try{await this.annotationLayer.render(this.viewport,"display")}catch(W){console.error(`_renderAnnotationLayer: "${W}".`),G=W}finally{this.eventBus.dispatch("annotationlayerrendered",{source:this,pageNumber:this.id,error:G})}}async _renderAnnotationEditorLayer(){let G=null;try{await this.annotationEditorLayer.render(this.viewport,"display")}catch(W){console.error(`_renderAnnotationEditorLayer: "${W}".`),G=W}finally{this.eventBus.dispatch("annotationeditorlayerrendered",{source:this,pageNumber:this.id,error:G})}}async _renderXfaLayer(){let G=null;try{const W=await this.xfaLayer.render(this.viewport,"display");this.textHighlighter&&this._buildXfaTextContentItems(W.textDivs)}catch(W){console.error(`_renderXfaLayer: "${W}".`),G=W}finally{this.eventBus.dispatch("xfalayerrendered",{source:this,pageNumber:this.id,error:G})}}async _buildXfaTextContentItems(G){const W=await this.pdfPage.getTextContent(),J=[];for(const Y of W.items)J.push(Y.str);this.textHighlighter.setTextMapping(G,J),this.textHighlighter.enable()}_resetZoomLayer(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.zoomLayer)return;const W=this.zoomLayer.firstChild;this.paintedViewportMap.delete(W),W.width=0,W.height=0,G&&this.zoomLayer.remove(),this.zoomLayer=null}reset(){var G,W,J;let{keepZoomLayer:Y=!1,keepAnnotationLayer:V=!1,keepAnnotationEditorLayer:H=!1,keepXfaLayer:z=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.cancelRendering({keepAnnotationLayer:V,keepAnnotationEditorLayer:H,keepXfaLayer:z}),this.renderingState=c.RenderingStates.INITIAL;const X=this.div;X.style.width=Math.floor(this.viewport.width)+"px",X.style.height=Math.floor(this.viewport.height)+"px";const q=X.childNodes,$=Y&&this.zoomLayer||null,fe=V&&((G=this.annotationLayer)===null||G===void 0?void 0:G.div)||null,Q=H&&((W=this.annotationEditorLayer)===null||W===void 0?void 0:W.div)||null,ie=z&&((J=this.xfaLayer)===null||J===void 0?void 0:J.div)||null;for(let me=q.length-1;me>=0;me--){const K=q[me];switch(K){case $:case fe:case Q:case ie:continue}K.remove()}if(X.removeAttribute("data-loaded"),fe&&this.annotationLayer.hide(),Q)this.annotationEditorLayer.hide();else{var Te;(Te=this.annotationEditorLayer)===null||Te===void 0||Te.destroy()}ie&&this.xfaLayer.hide(),$||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(me=>{var K;(K=this.loadingIconDiv)===null||K===void 0||K.setAttribute("aria-label",me)}),X.append(this.loadingIconDiv)}update(G){let{scale:W=0,rotation:J=null,optionalContentConfigPromise:Y=null}=G;this.scale=W||this.scale,typeof J=="number"&&(this.rotation=J),Y instanceof Promise&&(this._optionalContentConfigPromise=Y,Y.then(z=>{Y===this._optionalContentConfigPromise&&(B(this,M).initialOptionalContent=z.hasInitialVisibility)}));const V=(this.rotation+this.pdfPageRotate)%360;if(this.viewport=this.viewport.clone({scale:this.scale*n.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:V}),this._isStandalone&&c.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg){this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});return}let H=!1;if(this.canvas&&this.maxCanvasPixels>0){const z=this.outputScale;(Math.floor(this.viewport.width)*z.sx|0)*(Math.floor(this.viewport.height)*z.sy|0)>this.maxCanvasPixels&&(H=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&H){this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});return}!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering(){let{keepAnnotationLayer:G=!1,keepAnnotationEditorLayer:W=!1,keepXfaLayer:J=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!G||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!W||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!J||!this.xfaLayer.div)){var Y;this.xfaLayer.cancel(),this.xfaLayer=null,(Y=this.textHighlighter)===null||Y===void 0||Y.disable()}this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform(G){let{target:W,redrawAnnotationLayer:J=!1,redrawAnnotationEditorLayer:Y=!1,redrawXfaLayer:V=!1}=G;const H=this.viewport.width,z=this.viewport.height,X=this.div;W.style.width=W.parentNode.style.width=X.style.width=Math.floor(H)+"px",W.style.height=W.parentNode.style.height=X.style.height=Math.floor(z)+"px";const q=this.viewport.rotation-this.paintedViewportMap.get(W).rotation,$=Math.abs(q);let fe=1,Q=1;if(($===90||$===270)&&(fe=z/H,Q=H/z),W.style.transform=`rotate(${q}deg) scale(${fe}, ${Q})`,this.textLayer){const ie=this.textLayer.viewport,Te=this.viewport.rotation-ie.rotation,me=Math.abs(Te);let K=H/ie.width;(me===90||me===270)&&(K=H/ie.height);const ce=this.textLayer.textLayerDiv;let de,Z;switch(me){case 0:de=Z=0;break;case 90:de=0,Z="-"+ce.style.height;break;case 180:de="-"+ce.style.width,Z="-"+ce.style.height;break;case 270:de="-"+ce.style.width,Z=0;break;default:console.error("Bad rotation value.");break}ce.style.transform=`rotate(${me}deg) scale(${K}) translate(${de}, ${Z})`,ce.style.transformOrigin="0% 0%"}J&&this.annotationLayer&&this._renderAnnotationLayer(),Y&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),V&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(G,W){return this.viewport.convertToPdfPoint(G,W)}toggleLoadingIconSpinner(){var G;let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(G=this.loadingIconDiv)===null||G===void 0||G.classList.toggle("notVisible",!W)}draw(){var G,W,J,Y=this;this.renderingState!==c.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:V,pdfPage:H}=this;if(!H)return this.renderingState=c.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=c.RenderingStates.RUNNING;const z=document.createElement("div");z.style.width=V.style.width,z.style.height=V.style.height,z.classList.add("canvasWrapper");const X=((G=this.annotationLayer)===null||G===void 0?void 0:G.div)||((W=this.annotationEditorLayer)===null||W===void 0?void 0:W.div);X?X.before(z):V.append(z);let q=null;if(this.textLayerMode!==c.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||(this._accessibilityManager=new e.TextAccessibilityManager);const Te=document.createElement("div");Te.className="textLayer",Te.style.width=z.style.width,Te.style.height=z.style.height,X?X.before(Te):V.append(Te),q=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:Te,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===c.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=q,B(this,D)!==n.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||(this._annotationCanvasMap=new Map),this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:V,pdfPage:H,imageResourcesPath:this.imageResourcesPath,renderForms:B(this,D)===n.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager}))),(J=this.xfaLayer)!==null&&J!==void 0&&J.div&&V.append(this.xfaLayer.div);let $=null;this.renderingQueue&&($=Te=>{if(!this.renderingQueue.isHighestPriority(this)){this.renderingState=c.RenderingStates.PAUSED,this.resume=()=>{this.renderingState=c.RenderingStates.RUNNING,Te()};return}Te()});const fe=async function(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(Q===Y.paintTask&&(Y.paintTask=null),Te instanceof n.RenderingCancelledException){Y._renderError=null;return}if(Y._renderError=Te,Y.renderingState=c.RenderingStates.FINISHED,Y.loadingIconDiv&&(Y.loadingIconDiv.remove(),delete Y.loadingIconDiv),Y._resetZoomLayer(!0),B(Y,M).regularAnnotations=!Q.separateAnnots,Y.eventBus.dispatch("pagerendered",{source:Y,pageNumber:Y.id,cssTransform:!1,timestamp:performance.now(),error:Y._renderError}),Te)throw Te},Q=this.renderer===c.RendererType.SVG?this.paintOnSvg(z):this.paintOnCanvas(z);Q.onRenderContinue=$,this.paintTask=Q;const ie=Q.promise.then(()=>fe(null).then(()=>{if(q){const Te=H.streamTextContent({includeMarkedContent:!0});q.setTextContentStream(Te),q.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||(this.annotationEditorLayer=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:V,pdfPage:H,l10n:this.l10n,accessibilityManager:this._accessibilityManager})),this._renderAnnotationEditorLayer())})}),function(Te){return fe(Te)});return this.xfaLayerFactory&&(this.xfaLayer||(this.xfaLayer=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:V,pdfPage:H})),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=Te=>{Te.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(me=>{if(!me||!this.canvas)return;const K=this.structTreeLayer.render(me);K.classList.add("structTree"),this.canvas.append(K)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:H})),V.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),ie}paintOnCanvas(G){const W=(0,n.createPromiseCapability)(),J={promise:W.promise,onRenderContinue(me){me()},cancel(){Te.cancel()},get separateAnnots(){return Te.separateAnnots}},Y=this.viewport,V=document.createElement("canvas");V.setAttribute("role","presentation"),V.hidden=!0;let H=!0;const z=function(){H&&(V.hidden=!1,H=!1)};G.append(V),this.canvas=V;const X=V.getContext("2d",{alpha:!1}),q=this.outputScale=new c.OutputScale;if(this.useOnlyCssZoom){const me=Y.clone({scale:n.PixelsPerInch.PDF_TO_CSS_UNITS});q.sx*=me.width/Y.width,q.sy*=me.height/Y.height}if(this.maxCanvasPixels>0){const me=Y.width*Y.height,K=Math.sqrt(this.maxCanvasPixels/me);q.sx>K||q.sy>K?(q.sx=K,q.sy=K,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const $=(0,c.approximateFraction)(q.sx),fe=(0,c.approximateFraction)(q.sy);V.width=(0,c.roundToDivide)(Y.width*q.sx,$[0]),V.height=(0,c.roundToDivide)(Y.height*q.sy,fe[0]),V.style.width=(0,c.roundToDivide)(Y.width,$[1])+"px",V.style.height=(0,c.roundToDivide)(Y.height,fe[1])+"px",this.paintedViewportMap.set(V,Y);const Q=q.scaled?[q.sx,0,0,q.sy,0,0]:null,ie={canvasContext:X,transform:Q,viewport:this.viewport,annotationMode:B(this,D),optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},Te=this.pdfPage.render(ie);return Te.onContinue=function(me){z(),J.onRenderContinue?J.onRenderContinue(me):me()},Te.promise.then(function(){z(),W.resolve()},function(me){z(),W.reject(me)}),J}paintOnSvg(G){let W=!1;const J=()=>{if(W)throw new n.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},Y=this.pdfPage,V=this.viewport.clone({scale:n.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:Y.getOperatorList({annotationMode:B(this,D)}).then(z=>(J(),new n.SVGGraphics(Y.commonObjs,Y.objs).getSVG(z,V).then(q=>{J(),this.svg=q,this.paintedViewportMap.set(q,V),q.style.width=G.style.width,q.style.height=G.style.height,this.renderingState=c.RenderingStates.FINISHED,G.append(q)}))),onRenderContinue(z){z()},cancel(){W=!0},get separateAnnots(){return!1}}}setPageLabel(G){this.pageLabel=typeof G=="string"?G:null,this.pageLabel!==null?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:G,regularAnnotations:W}=B(this,M);return G&&W?this.canvas:null}}a.PDFPageView=F},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.compatibilityParams=a.OptionKind=a.AppOptions=void 0;const g=Object.create(null);a.compatibilityParams=g;{const e=navigator.userAgent||"",L=navigator.platform||"",O=navigator.maxTouchPoints||1,B=/Android/.test(e),P=/\b(iPad|iPhone|iPod)(?=;)/.test(e)||L==="MacIntel"&&O>1;(function(){(P||B)&&(g.maxCanvasPixels=5242880)})()}const n={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};a.OptionKind=n;const c={annotationEditorMode:{value:-1,kind:n.VIEWER+n.PREFERENCE},annotationMode:{value:2,kind:n.VIEWER+n.PREFERENCE},cursorToolOnLoad:{value:0,kind:n.VIEWER+n.PREFERENCE},defaultZoomValue:{value:"",kind:n.VIEWER+n.PREFERENCE},disableHistory:{value:!1,kind:n.VIEWER},disablePageLabels:{value:!1,kind:n.VIEWER+n.PREFERENCE},enablePermissions:{value:!1,kind:n.VIEWER+n.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:n.VIEWER+n.PREFERENCE},enableScripting:{value:!0,kind:n.VIEWER+n.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:n.VIEWER},externalLinkTarget:{value:0,kind:n.VIEWER+n.PREFERENCE},historyUpdateUrl:{value:!1,kind:n.VIEWER+n.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:n.VIEWER+n.PREFERENCE},imageResourcesPath:{value:"./images/",kind:n.VIEWER},maxCanvasPixels:{value:16777216,kind:n.VIEWER},forcePageColors:{value:!1,kind:n.VIEWER+n.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:n.VIEWER+n.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:n.VIEWER+n.PREFERENCE},pdfBugEnabled:{value:!1,kind:n.VIEWER+n.PREFERENCE},printResolution:{value:150,kind:n.VIEWER},sidebarViewOnLoad:{value:-1,kind:n.VIEWER+n.PREFERENCE},scrollModeOnLoad:{value:-1,kind:n.VIEWER+n.PREFERENCE},spreadModeOnLoad:{value:-1,kind:n.VIEWER+n.PREFERENCE},textLayerMode:{value:1,kind:n.VIEWER+n.PREFERENCE},useOnlyCssZoom:{value:!1,kind:n.VIEWER+n.PREFERENCE},viewerCssTheme:{value:0,kind:n.VIEWER+n.PREFERENCE},viewOnLoad:{value:0,kind:n.VIEWER+n.PREFERENCE},cMapPacked:{value:!0,kind:n.API},cMapUrl:{value:"../web/cmaps/",kind:n.API},disableAutoFetch:{value:!1,kind:n.API+n.PREFERENCE},disableFontFace:{value:!1,kind:n.API+n.PREFERENCE},disableRange:{value:!1,kind:n.API+n.PREFERENCE},disableStream:{value:!1,kind:n.API+n.PREFERENCE},docBaseUrl:{value:"",kind:n.API},enableXfa:{value:!0,kind:n.API+n.PREFERENCE},fontExtraProperties:{value:!1,kind:n.API},isEvalSupported:{value:!0,kind:n.API},maxImageSize:{value:-1,kind:n.API},pdfBug:{value:!1,kind:n.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:n.API},verbosity:{value:1,kind:n.API},workerPort:{value:null,kind:n.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:n.WORKER}};c.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:n.VIEWER},c.disablePreferences={value:!1,kind:n.VIEWER},c.locale={value:navigator.language||"en-US",kind:n.VIEWER},c.renderer={value:"canvas",kind:n.VIEWER+n.PREFERENCE},c.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:n.VIEWER};const R=Object.create(null);class v{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(L){const O=R[L];if(O!==void 0)return O;const B=c[L];if(B!==void 0){var P;return(P=g[L])!==null&&P!==void 0?P:B.value}}static getAll(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;const O=Object.create(null);for(const P in c){var B;const S=c[P];if(L){if(!(L&S.kind))continue;if(L===n.PREFERENCE){const l=S.value,y=typeof l;if(y==="boolean"||y==="string"||y==="number"&&Number.isInteger(l)){O[P]=l;continue}throw new Error(`Invalid type for preference: ${P}`)}}const _=R[P];O[P]=_!==void 0?_:(B=g[P])!==null&&B!==void 0?B:S.value}return O}static set(L,O){R[L]=O}static setAll(L){for(const O in L)R[O]=L[O]}static remove(L){delete R[L]}static _hasUserOptions(){return Object.keys(R).length>0}}a.AppOptions=v},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.TextAccessibilityManager=void 0;var n=g(7);function c(Y,V){v(Y,V),V.add(Y)}function R(Y,V,H){v(Y,V),V.set(Y,H)}function v(Y,V){if(V.has(Y))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(Y,V,H){if(!V.has(Y))throw new TypeError("attempted to get private field on non-instance");return H}function L(Y,V,H){return O(Y,V),H}function O(Y,V){if(Y!==V)throw new TypeError("Private static access of wrong provenance")}function B(Y,V){var H=_(Y,V,"get");return P(Y,H)}function P(Y,V){return V.get?V.get.call(Y):V.value}function S(Y,V,H){var z=_(Y,V,"set");return l(Y,z,H),H}function _(Y,V,H){if(!V.has(Y))throw new TypeError("attempted to "+H+" private field on non-instance");return V.get(Y)}function l(Y,V,H){if(V.set)V.set.call(Y,H);else{if(!V.writable)throw new TypeError("attempted to set read only private field");V.value=H}}var y=new WeakMap,D=new WeakMap,M=new WeakMap,F=new WeakMap,N=new WeakSet;class G{constructor(){c(this,N),R(this,y,{writable:!0,value:!1}),R(this,D,{writable:!0,value:null}),R(this,M,{writable:!0,value:new Map}),R(this,F,{writable:!0,value:new Map})}setTextMapping(V){S(this,D,V)}enable(){if(B(this,y))throw new Error("TextAccessibilityManager is already enabled.");if(!B(this,D))throw new Error("Text divs and strings have not been set.");if(S(this,y,!0),S(this,D,B(this,D).slice()),B(this,D).sort(L(G,G,W)),B(this,M).size>0){const V=B(this,D);for(const[H,z]of B(this,M)){if(!document.getElementById(H)){B(this,M).delete(H);continue}e(this,N,J).call(this,H,V[z])}}for(const[V,H]of B(this,F))this.addPointerInTextLayer(V,H);B(this,F).clear()}disable(){B(this,y)&&(B(this,F).clear(),S(this,D,null),S(this,y,!1))}removePointerInTextLayer(V){var H;if(!B(this,y)){B(this,F).delete(V);return}const z=B(this,D);if(!z||z.length===0)return;const{id:X}=V,q=B(this,M).get(X);if(q===void 0)return;const $=z[q];B(this,M).delete(X);let fe=$.getAttribute("aria-owns");(H=fe)!==null&&H!==void 0&&H.includes(X)&&(fe=fe.split(" ").filter(Q=>Q!==X).join(" "),fe?$.setAttribute("aria-owns",fe):($.removeAttribute("aria-owns"),$.setAttribute("role","presentation")))}addPointerInTextLayer(V,H){const{id:z}=V;if(!z)return;if(!B(this,y)){B(this,F).set(V,H);return}H&&this.removePointerInTextLayer(V);const X=B(this,D);if(!X||X.length===0)return;const q=(0,n.binarySearchFirstItem)(X,fe=>L(G,G,W).call(G,V,fe)<0),$=Math.max(0,q-1);e(this,N,J).call(this,z,X[$]),B(this,M).set(z,$)}moveElementInDOM(V,H,z,X){if(this.addPointerInTextLayer(z,X),!V.hasChildNodes()){V.append(H);return}const q=Array.from(V.childNodes).filter(Q=>Q!==H);if(q.length===0)return;const $=z||H,fe=(0,n.binarySearchFirstItem)(q,Q=>L(G,G,W).call(G,$,Q)<0);fe===0?q[0].before(H):q[fe-1].after(H)}}a.TextAccessibilityManager=G;function W(Y,V){const H=Y.getBoundingClientRect(),z=V.getBoundingClientRect();if(H.width===0&&H.height===0)return 1;if(z.width===0&&z.height===0)return-1;const X=H.y,q=H.y+H.height,$=H.y+H.height/2,fe=z.y,Q=z.y+z.height,ie=z.y+z.height/2;if($<=fe&&ie>=q)return-1;if(ie<=X&&$>=Q)return 1;const Te=H.x+H.width/2,me=z.x+z.width/2;return Te-me}function J(Y,V){const H=V.getAttribute("aria-owns");H!=null&&H.includes(Y)||V.setAttribute("aria-owns",H?`${H} ${Y}`:Y),V.removeAttribute("role")}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFRenderingQueue=void 0;var n=g(3),c=g(7);const R=3e4;class v{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(L){this.pdfViewer=L}setThumbnailViewer(L){this.pdfThumbnailViewer=L}isHighestPriority(L){return this.highestPriorityPage===L.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(L){var O;this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(L)&&(this.isThumbnailViewEnabled&&(O=this.pdfThumbnailViewer)!==null&&O!==void 0&&O.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),R)))}getHighestPriority(L,O,B){let P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const S=L.views,_=S.length;if(_===0)return null;for(let F=0;F<_;F++){const N=S[F].view;if(!this.isViewFinished(N))return N}const l=L.first.id,y=L.last.id;if(y-l+1>_){const F=L.ids;for(let N=1,G=y-l;N{this.renderHighestPriority()}).catch(O=>{O instanceof n.RenderingCancelledException||console.error(`renderView: "${O}"`)});break}return!0}}a.PDFRenderingQueue=v},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.TextHighlighter=void 0;class g{constructor(c){let{findController:R,eventBus:v,pageIndex:e}=c;this.findController=R,this.matches=[],this.eventBus=v,this.pageIdx=e,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(c,R){this.textDivs=c,this.textContentItemsStr=R}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=c=>{(c.pageIndex===this.pageIdx||c.pageIndex===-1)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(c,R){if(!c)return[];const{textContentItemsStr:v}=this;let e=0,L=0;const O=v.length-1,B=[];for(let P=0,S=c.length;P=L+v[e].length;)L+=v[e].length,e++;e===v.length&&console.error("Could not find a matching mapping");const l={begin:{divIdx:e,offset:_-L}};for(_+=R[P];e!==O&&_>L+v[e].length;)L+=v[e].length,e++;l.end={divIdx:e,offset:_-L},B.push(l)}return B}_renderMatches(c){if(c.length===0)return;const{findController:R,pageIdx:v}=this,{textContentItemsStr:e,textDivs:L}=this,O=v===R.selected.pageIdx,B=R.selected.matchIdx,P=R.state.highlightAll;let S=null;const _={divIdx:-1,offset:void 0};function l(F,N){const G=F.divIdx;return L[G].textContent="",y(G,0,F.offset,N)}function y(F,N,G,W){let J=L[F];if(J.nodeType===Node.TEXT_NODE){const H=document.createElement("span");J.before(H),H.append(J),L[F]=H,J=H}const Y=e[F].substring(N,G),V=document.createTextNode(Y);if(W){const H=document.createElement("span");return H.className=`${W} appended`,H.append(V),J.append(H),W.includes("selected")?H.offsetLeft:0}return J.append(V),0}let D=B,M=D+1;if(P)D=0,M=c.length;else if(!O)return;for(let F=D;F{Object.defineProperty(a,"__esModule",{value:!0}),a.DownloadManager=void 0;var n=g(3);function c(v,e){const L=document.createElement("a");if(!L.click)throw new Error('DownloadManager: "a.click()" is not supported.');L.href=v,L.target="_parent","download"in L&&(L.download=e),(document.body||document.documentElement).append(L),L.click(),L.remove()}class R{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(e,L){if(!(0,n.createValidAbsoluteUrl)(e,"http://example.com")){console.error(`downloadUrl - not a valid URL: ${e}`);return}c(e+"#pdfjs.action=download",L)}downloadData(e,L,O){const B=URL.createObjectURL(new Blob([e],{type:O}));c(B,L)}openOrDownloadData(e,L,O){const B=(0,n.isPdfFile)(O),P=B?"application/pdf":"";if(B){let S=this._openBlobUrls.get(e);S||(S=URL.createObjectURL(new Blob([L],{type:P})),this._openBlobUrls.set(e,S));let _;_="?file="+encodeURIComponent(S+"#"+O);try{return window.open(_),!0}catch(l){console.error(`openOrDownloadData: ${l}`),URL.revokeObjectURL(S),this._openBlobUrls.delete(e)}}return this.downloadData(L,O,P),!1}download(e,L,O){const B=URL.createObjectURL(e);c(B,O)}}a.DownloadManager=R},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.WaitOnType=a.EventBus=a.AutomationEventBus=void 0,a.waitOnEventOrTimeout=n;const g={EVENT:"event",TIMEOUT:"timeout"};a.WaitOnType=g;function n(v){let{target:e,name:L,delay:O=0}=v;return new Promise(function(B,P){if(typeof e!="object"||!(L&&typeof L=="string")||!(Number.isInteger(O)&&O>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function S(D){e instanceof c?e._off(L,_):e.removeEventListener(L,_),y&&clearTimeout(y),B(D)}const _=S.bind(null,g.EVENT);e instanceof c?e._on(L,_):e.addEventListener(L,_);const l=S.bind(null,g.TIMEOUT),y=setTimeout(l,O)})}class c{constructor(){this._listeners=Object.create(null)}on(e,L){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._on(e,L,{external:!0,once:O==null?void 0:O.once})}off(e,L){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._off(e,L,{external:!0,once:O==null?void 0:O.once})}dispatch(e,L){const O=this._listeners[e];if(!O||O.length===0)return;let B;for(const{listener:P,external:S,once:_}of O.slice(0)){if(_&&this._off(e,P),S){(B||(B=[])).push(P);continue}P(L)}if(B){for(const P of B)P(L);B=null}}_on(e,L){var O;let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;((O=this._listeners)[e]||(O[e]=[])).push({listener:L,external:(B==null?void 0:B.external)===!0,once:(B==null?void 0:B.once)===!0})}_off(e,L){const O=this._listeners[e];if(O){for(let B=0,P=O.length;B{Object.defineProperty(a,"__esModule",{value:!0}),a.GenericL10n=void 0,g(21);var n=g(4);const c=document.webL10n;class R{constructor(e){this._lang=e,this._ready=new Promise((L,O)=>{c.setLanguage((0,n.fixupLangCode)(e),()=>{L(c)})})}async getLanguage(){return(await this._ready).getLanguage()}async getDirection(){return(await this._ready).getDirection()}async get(e){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,n.getL10nFallback)(e,L);return(await this._ready).get(e,L,O)}async translate(e){return(await this._ready).translate(e)}}a.GenericL10n=R},()=>{document.webL10n=function(x,a,g){var n={},c="",R="textContent",v="",e={},L="loading",O=!0;function B(){return a.querySelectorAll('link[type="application/l10n"]')}function P(){var H=a.querySelector('script[type="application/l10n"]');return H?JSON.parse(H.innerHTML):null}function S(H){return H?H.querySelectorAll("*[data-l10n-id]"):[]}function _(H){if(!H)return{};var z=H.getAttribute("data-l10n-id"),X=H.getAttribute("data-l10n-args"),q={};if(X)try{q=JSON.parse(X)}catch{console.warn("could not parse arguments for #"+z)}return{id:z,args:q}}function l(H,z,X){z=z||function(fe){},X=X||function(){};var q=new XMLHttpRequest;q.open("GET",H,O),q.overrideMimeType&&q.overrideMimeType("text/plain; charset=utf-8"),q.onreadystatechange=function(){q.readyState==4&&(q.status==200||q.status===0?z(q.responseText):X())},q.onerror=X,q.ontimeout=X;try{q.send(null)}catch{X()}}function y(H,z,X,q){var $=H.replace(/[^\/]*$/,"")||"./";function fe(ie){return ie.lastIndexOf("\\")<0?ie:ie.replace(/\\\\/g,"\\").replace(/\\n/g,` +`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}function Q(ie,Te){var me={},K=/^\s*|\s*$/,ce=/^\s*#|^\s*$/,de=/^\s*\[(.*)\]\s*$/,Z=/^\s*@import\s+url\((.*)\)\s*$/i,ae=/^([^=\s]*)\s*=\s*(.+)$/;function he(_e,ye,se){var Ie=_e.replace(K,"").split(/[\r\n]+/),Ce="*",oe=z.split("-",1)[0],pe=!1,xe="";function Ne(){for(;;){if(!Ie.length){se();return}var ke=Ie.shift();if(!ce.test(ke)){if(ye){if(xe=de.exec(ke),xe){Ce=xe[1].toLowerCase(),pe=Ce!=="*"&&Ce!==z&&Ce!==oe;continue}else if(pe)continue;if(xe=Z.exec(ke),xe){we($+xe[1],Ne);return}}var De=ke.match(ae);De&&De.length==3&&(me[De[1]]=fe(De[2]))}}}Ne()}function we(_e,ye){l(_e,function(se){he(se,!1,ye)},function(){console.warn(_e+" not found."),ye()})}he(ie,!0,function(){Te(me)})}l(H,function(ie){c+=ie,Q(ie,function(Te){for(var me in Te){var K,ce,de=me.lastIndexOf(".");de>0?(K=me.substring(0,de),ce=me.substring(de+1)):(K=me,ce=R),n[K]||(n[K]={}),n[K][ce]=Te[me]}X&&X()})},q)}function D(H,z){H&&(H=H.toLowerCase()),z=z||function(){},M(),v=H;var X=B(),q=X.length;if(q===0){var $=P();if($&&$.locales&&$.default_locale){if(console.log("using the embedded JSON directory, early way out"),n=$.locales[H],!n){var fe=$.default_locale.toLowerCase();for(var Q in $.locales)if(Q=Q.toLowerCase(),Q===H){n=$.locales[H];break}else Q===fe&&(n=$.locales[fe])}z()}else console.log("no resource to load, early way out");L="complete";return}var ie=null,Te=0;ie=function(){Te++,Te>=q&&(z(),L="complete")};function me(de){var Z=de.href;this.load=function(ae,he){y(Z,ae,he,function(){console.warn(Z+" not found."),console.warn('"'+ae+'" resource not found'),v="",he()})}}for(var K=0;K0&&($=H.substring(q+1),H=H.substring(0,q));var fe;X&&(fe={},fe[$]=X);var Q=N(H,z,fe);return Q&&$ in Q?Q[$]:"{{"+H+"}}"},getData:function(){return n},getText:function(){return c},getLanguage:function(){return v},setLanguage:function(H,z){D(H,function(){z&&z()})},getDirection:function(){var H=["ar","he","fa","ps","ur"],z=v.split("-",1)[0];return H.indexOf(z)>=0?"rtl":"ltr"},translate:V,getReadyState:function(){return L},ready:function(H){if(H)L=="complete"||L=="interactive"?x.setTimeout(function(){H()}):a.addEventListener&&a.addEventListener("localized",function z(){a.removeEventListener("localized",z),H()});else return}}}(window,document)},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFFindController=a.FindState=void 0;var n=g(7),c=g(3),R=g(23);function v(at,ot,Xe){L(at,ot),ot.set(at,Xe)}function e(at,ot){L(at,ot),ot.add(at)}function L(at,ot){if(ot.has(at))throw new TypeError("Cannot initialize the same private elements twice on an object")}function O(at,ot){var Xe=B(at,ot,"get");return P(at,Xe)}function B(at,ot,Xe){if(!ot.has(at))throw new TypeError("attempted to "+Xe+" private field on non-instance");return ot.get(at)}function P(at,ot){return ot.get?ot.get.call(at):ot.value}function S(at,ot,Xe){if(!ot.has(at))throw new TypeError("attempted to get private field on non-instance");return Xe}const _={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};a.FindState=_;const l=250,y=-50,D=-400,M={"‐":"-","‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},F=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),N=[...F.values()].map(at=>String.fromCharCode(at)).join(""),G=/\p{M}+/gu,W=/([.*+?^${}()|[\]\\])|(\p{P})|(\s+)|(\p{M})|(\p{L})/gu,J=/([^\p{M}])\p{M}*$/u,Y=/^\p{M}*([^\p{M}])/u,V=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,H=new Map,z="[\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f]";let X=null,q=null;function $(at){const ot=[];let Xe;for(;(Xe=V.exec(at))!==null;){let{index:dt}=Xe;for(const Nt of Xe[0]){let kt=H.get(Nt);kt||(kt=Nt.normalize("NFD").length,H.set(Nt,kt)),ot.push([kt,dt++])}}let ze;if(ot.length===0&&X)ze=X;else if(ot.length>0&&q)ze=q;else{const Nt=`([${Object.keys(M).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;ot.length===0?ze=X=new RegExp(Nt+"|(\\u0000)","gum"):ze=q=new RegExp(Nt+`|(${z})`,"gum")}const Ye=[];for(;(Xe=G.exec(at))!==null;)Ye.push([Xe[0].length,Xe.index]);let st=at.normalize("NFD");const _t=[[0,0]];let ft=0,Ct=0,ut=0,rt=0,mt=0,Ot=!1;return st=st.replace(ze,(dt,Nt,kt,Ut,Ht,Kt,qt)=>{var pn;if(qt-=rt,Nt){const xt=M[dt],Rt=xt.length;for(let At=1;Atft[0]>=ze);at[st][0]>ze&&--st;let _t=(0,n.binarySearchFirstItem)(at,ft=>ft[0]>=Ye,st);return at[_t][0]>Ye&&--_t,[ze+at[st][1],Xe+at[_t][1]-at[st][1]]}var Q=new WeakSet,ie=new WeakSet,Te=new WeakMap,me=new WeakSet,K=new WeakSet,ce=new WeakSet,de=new WeakSet,Z=new WeakSet,ae=new WeakSet,he=new WeakSet,we=new WeakSet,_e=new WeakSet,ye=new WeakSet,se=new WeakSet,Ie=new WeakSet,Ce=new WeakSet,oe=new WeakSet,pe=new WeakSet,xe=new WeakSet,Ne=new WeakSet;class ke{constructor(ot){let{linkService:Xe,eventBus:ze}=ot;e(this,Ne),e(this,xe),e(this,pe),e(this,oe),e(this,Ce),e(this,Ie),e(this,se),e(this,ye),e(this,_e),e(this,we),e(this,he),e(this,ae),e(this,Z),e(this,de),e(this,ce),e(this,K),e(this,me),v(this,Te,{get:Pe,set:void 0}),e(this,ie),e(this,Q),this._linkService=Xe,this._eventBus=ze,S(this,ie,Fe).call(this),ze._on("find",S(this,Q,De).bind(this)),ze._on("findbarclose",S(this,oe,je).bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(ot){this._pdfDocument&&S(this,ie,Fe).call(this),ot&&(this._pdfDocument=ot,this._firstPageCapability.resolve())}scrollMatchIntoView(ot){let{element:Xe=null,selectedLeft:ze=0,pageIndex:Ye=-1,matchIndex:st=-1}=ot;if(!this._scrollMatches||!Xe)return;if(st===-1||st!==this._selected.matchIdx)return;if(Ye===-1||Ye!==this._selected.pageIdx)return;this._scrollMatches=!1;const _t={top:y,left:ze+D};(0,n.scrollIntoView)(Xe,_t,!0)}}a.PDFFindController=ke;function De(at){if(!at)return;const ot=this._pdfDocument,{type:Xe}=at;(this._state===null||S(this,me,qe).call(this,at))&&(this._dirtyMatch=!0),this._state=at,Xe!=="highlightallchange"&&S(this,Ne,Ke).call(this,_.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||ot&&this._pdfDocument!==ot)return;S(this,ae,Ve).call(this);const ze=!this._highlightMatches,Ye=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),Xe?this._dirtyMatch?S(this,_e,He).call(this):Xe==="again"?(S(this,_e,He).call(this),ze&&this._state.highlightAll&&S(this,we,Ue).call(this)):Xe==="highlightallchange"?(Ye?S(this,_e,He).call(this):this._highlightMatches=!0,S(this,we,Ue).call(this)):S(this,_e,He).call(this):this._findTimeout=setTimeout(()=>{S(this,_e,He).call(this),this._findTimeout=null},l)})}function Fe(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,c.createPromiseCapability)()}function Pe(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=$(this._state.query)),this._normalizedQuery}function qe(at){if(at.query!==this._state.query)return!0;switch(at.type){case"again":const ot=this._selected.pageIdx+1,Xe=this._linkService;return ot>=1&&ot<=Xe.pagesCount&&ot!==Xe.page&&!Xe.isPageVisible(ot);case"highlightallchange":return!1}return!0}function Le(at,ot,Xe){let ze=at.slice(0,ot).match(J);if(ze){const Ye=at.charCodeAt(ot),st=ze[1].charCodeAt(0);if((0,R.getCharacterType)(Ye)===(0,R.getCharacterType)(st))return!1}if(ze=at.slice(ot+Xe).match(Y),ze){const Ye=at.charCodeAt(ot+Xe-1),st=ze[1].charCodeAt(0);if((0,R.getCharacterType)(Ye)===(0,R.getCharacterType)(st))return!1}return!0}function Oe(at,ot,Xe,ze){const Ye=[],st=[],_t=this._pageDiffs[Xe];let ft;for(;(ft=at.exec(ze))!==null;){if(ot&&!S(this,K,Le).call(this,ze,ft.index,ft[0].length))continue;const[Ct,ut]=fe(_t,ft.index,ft[0].length);ut&&(Ye.push(Ct),st.push(ut))}this._pageMatches[Xe]=Ye,this._pageMatchesLength[Xe]=st}function Ee(at,ot){const{matchDiacritics:Xe}=this._state;let ze=!1;at=at.replace(W,(st,_t,ft,Ct,ut,rt)=>_t?`[ ]*\\${_t}[ ]*`:ft?`[ ]*${ft}[ ]*`:Ct?"[ ]+":Xe?ut||rt:ut?F.has(ut.charCodeAt(0))?ut:"":ot?(ze=!0,`${rt}\\p{M}*`):rt);const Ye="[ ]*";return at.endsWith(Ye)&&(at=at.slice(0,at.length-Ye.length)),Xe&&ot&&(ze=!0,at=`${at}(?=[${N}]|[^\\p{M}]|$)`),[ze,at]}function Ae(at){let ot=O(this,Te);if(ot.length===0)return;const{caseSensitive:Xe,entireWord:ze,phraseSearch:Ye}=this._state,st=this._pageContents[at],_t=this._hasDiacritics[at];let ft=!1;if(Ye)[ft,ot]=S(this,de,Ee).call(this,ot,_t);else{const rt=ot.match(/\S+/g);rt&&(ot=rt.sort().reverse().map(mt=>{const[Ot,dt]=S(this,de,Ee).call(this,mt,_t);return ft||(ft=Ot),`(${dt})`}).join("|"))}const Ct=`g${ft?"u":""}${Xe?"":"i"}`;ot=new RegExp(ot,Ct),S(this,ce,Oe).call(this,ot,ze,at,st),this._state.highlightAll&&S(this,he,$e).call(this,at),this._resumePageIdx===at&&(this._resumePageIdx=null,S(this,se,Ze).call(this));const ut=this._pageMatches[at].length;ut>0&&(this._matchesCountTotal+=ut,S(this,xe,nt).call(this))}function Ve(){if(this._extractTextPromises.length>0)return;let at=Promise.resolve();for(let ot=0,Xe=this._linkService.pagesCount;otthis._pdfDocument.getPage(ot+1).then(Ye=>Ye.getTextContent()).then(Ye=>{const st=[];for(const _t of Ye.items)st.push(_t.str),_t.hasEOL&&st.push(` +`);[this._pageContents[ot],this._pageDiffs[ot],this._hasDiacritics[ot]]=$(st.join("")),ze.resolve()},Ye=>{console.error(`Unable to get text content for page ${ot+1}`,Ye),this._pageContents[ot]="",this._pageDiffs[ot]=null,this._hasDiacritics[ot]=!1,ze.resolve()}))}}function $e(at){this._scrollMatches&&this._selected.pageIdx===at&&(this._linkService.page=at+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:at})}function Ue(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}function He(){const at=this._state.findPrevious,ot=this._linkService.page-1,Xe=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=ot,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,S(this,we,Ue).call(this);for(let Ye=0;Ye{this._pendingFindMatches.delete(Ye),S(this,Z,Ae).call(this,Ye)}))}if(O(this,Te)===""){S(this,Ne,Ke).call(this,_.FOUND);return}if(this._resumePageIdx)return;const ze=this._offset;if(this._pagesToSearch=Xe,ze.matchIdx!==null){const Ye=this._pageMatches[ze.pageIdx].length;if(!at&&ze.matchIdx+10){ze.matchIdx=at?ze.matchIdx-1:ze.matchIdx+1,S(this,Ce,tt).call(this,!0);return}S(this,Ie,et).call(this,at)}S(this,se,Ze).call(this)}function Qe(at){const ot=this._offset,Xe=at.length,ze=this._state.findPrevious;return Xe?(ot.matchIdx=ze?Xe-1:0,S(this,Ce,tt).call(this,!0),!0):(S(this,Ie,et).call(this,ze),ot.wrapped&&(ot.matchIdx=null,this._pagesToSearch<0)?(S(this,Ce,tt).call(this,!1),!0):!1)}function Ze(){this._resumePageIdx!==null&&console.error("There can only be one pending page.");let at=null;do{const ot=this._offset.pageIdx;if(at=this._pageMatches[ot],!at){this._resumePageIdx=ot;break}}while(!S(this,ye,Qe).call(this,at))}function et(at){const ot=this._offset,Xe=this._linkService.pagesCount;ot.pageIdx=at?ot.pageIdx-1:ot.pageIdx+1,ot.matchIdx=null,this._pagesToSearch--,(ot.pageIdx>=Xe||ot.pageIdx<0)&&(ot.pageIdx=at?Xe-1:0,ot.wrapped=!0)}function tt(){let at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ot=_.NOT_FOUND;const Xe=this._offset.wrapped;if(this._offset.wrapped=!1,at){const ze=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,ot=Xe?_.WRAPPED:_.FOUND,ze!==-1&&ze!==this._selected.pageIdx&&S(this,he,$e).call(this,ze)}S(this,Ne,Ke).call(this,ot,this._state.findPrevious),this._selected.pageIdx!==-1&&(this._scrollMatches=!0,S(this,he,$e).call(this,this._selected.pageIdx))}function je(at){const ot=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||ot&&this._pdfDocument!==ot||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),S(this,Ne,Ke).call(this,_.FOUND),this._highlightMatches=!1,S(this,we,Ue).call(this))})}function Je(){const{pageIdx:at,matchIdx:ot}=this._selected;let Xe=0,ze=this._matchesCountTotal;if(ot!==-1){for(let st=0;stze)&&(Xe=ze=0),{current:Xe,total:ze}}function nt(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:S(this,pe,Je).call(this)})}function Ke(at){var ot,Xe;let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:at,previous:ze,matchesCount:S(this,pe,Je).call(this),rawQuery:(ot=(Xe=this._state)===null||Xe===void 0?void 0:Xe.query)!==null&&ot!==void 0?ot:null})}},(x,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.CharacterType=void 0,a.getCharacterType=_;const g={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};a.CharacterType=g;function n(l){return l<11904}function c(l){return(l&65408)===0}function R(l){return l>=97&&l<=122||l>=65&&l<=90}function v(l){return l>=48&&l<=57}function e(l){return l===32||l===9||l===13||l===10}function L(l){return l>=13312&&l<=40959||l>=63744&&l<=64255}function O(l){return l>=12448&&l<=12543}function B(l){return l>=12352&&l<=12447}function P(l){return l>=65376&&l<=65439}function S(l){return(l&65408)===3584}function _(l){return n(l)?c(l)?e(l)?g.SPACE:R(l)||v(l)||l===95?g.ALPHA_LETTER:g.PUNCT:S(l)?g.THAI_LETTER:l===160?g.SPACE:g.ALPHA_LETTER:L(l)?g.HAN_LETTER:O(l)?g.KATAKANA_LETTER:B(l)?g.HIRAGANA_LETTER:P(l)?g.HALFWIDTH_KATAKANA_LETTER:g.ALPHA_LETTER}},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFHistory=void 0,a.isDestArraysEqual=P,a.isDestHashesEqual=B;var n=g(7),c=g(19);const R=1e3,v=50,e=1e3;function L(){return document.location.hash}class O{constructor(_){let{linkService:l,eventBus:y}=_;this.linkService=l,this.eventBus=y,this._initialized=!1,this._fingerprint="",this.reset(),this._boundEvents=null,this.eventBus._on("pagesinit",()=>{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",D=>{this._isPagesLoaded=!!D.pagesCount},{once:!0})})}initialize(_){let{fingerprint:l,resetHistory:y=!1,updateUrl:D=!1}=_;if(!l||typeof l!="string"){console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');return}this._initialized&&this.reset();const M=this._fingerprint!==""&&this._fingerprint!==l;this._fingerprint=l,this._updateUrl=D===!0,this._initialized=!0,this._bindEvents();const F=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=L(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(F,!0)||y){const{hash:G,page:W,rotation:J}=this._parseCurrentHash(!0);if(!G||M||y){this._pushOrReplaceState(null,!0);return}this._pushOrReplaceState({hash:G,page:W,rotation:J},!0);return}const N=F.destination;this._updateInternalState(N,F.uid,!0),N.rotation!==void 0&&(this._initialRotation=N.rotation),N.dest?(this._initialBookmark=JSON.stringify(N.dest),this._destination.page=null):N.hash?this._initialBookmark=N.hash:N.page&&(this._initialBookmark=`page=${N.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push(_){let{namedDest:l=null,explicitDest:y,pageNumber:D}=_;if(!this._initialized)return;if(l&&typeof l!="string"){console.error(`PDFHistory.push: "${l}" is not a valid namedDest parameter.`);return}else if(Array.isArray(y)){if(!this._isValidPage(D)&&(D!==null||this._destination)){console.error(`PDFHistory.push: "${D}" is not a valid pageNumber parameter.`);return}}else{console.error(`PDFHistory.push: "${y}" is not a valid explicitDest parameter.`);return}const M=l||JSON.stringify(y);if(!M)return;let F=!1;if(this._destination&&(B(this._destination.hash,M)||P(this._destination.dest,y))){if(this._destination.page)return;F=!0}this._popStateInProgress&&!F||(this._pushOrReplaceState({dest:y,hash:M,page:D,rotation:this.linkService.rotation},F),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(_){var l;if(this._initialized){if(!this._isValidPage(_)){console.error(`PDFHistory.pushPage: "${_}" is not a valid page number.`);return}((l=this._destination)===null||l===void 0?void 0:l.page)!==_&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${_}`,page:_,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const _=window.history.state;this._isValidState(_)&&_.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const _=window.history.state;this._isValidState(_)&&_.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(_){const y=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)||!this._destination,D={fingerprint:this._fingerprint,uid:y?this._uid:this._uid+1,destination:_};this._updateInternalState(_,D.uid);let M;if(this._updateUrl&&_!==null&&_!==void 0&&_.hash){const F=document.location.href.split("#")[0];F.startsWith("file://")||(M=`${F}#${_.hash}`)}y?window.history.replaceState(D,"",M):window.history.pushState(D,"",M)}_tryPushCurrentPosition(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this._position)return;let l=this._position;if(_&&(l=Object.assign(Object.create(null),this._position),l.temporary=!0),!this._destination){this._pushOrReplaceState(l);return}if(this._destination.temporary){this._pushOrReplaceState(l,!0);return}if(this._destination.hash===l.hash||!this._destination.page&&this._numPositionUpdates<=v)return;let y=!1;if(this._destination.page>=l.first&&this._destination.page<=l.page){if(this._destination.dest!==void 0||!this._destination.first)return;y=!0}this._pushOrReplaceState(l,y)}_isValidPage(_){return Number.isInteger(_)&&_>0&&_<=this.linkService.pagesCount}_isValidState(_){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!_)return!1;if(_.fingerprint!==this._fingerprint)if(l){if(typeof _.fingerprint!="string"||_.fingerprint.length!==this._fingerprint.length)return!1;const[y]=performance.getEntriesByType("navigation");if((y==null?void 0:y.type)!=="reload")return!1}else return!1;return!(!Number.isInteger(_.uid)||_.uid<0||_.destination===null||typeof _.destination!="object")}_updateInternalState(_,l){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),y&&_!==null&&_!==void 0&&_.temporary&&delete _.temporary,this._destination=_,this._uid=l,this._maxUid=Math.max(this._maxUid,l),this._numPositionUpdates=0}_parseCurrentHash(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const l=unescape(L()).substring(1),y=(0,n.parseQueryString)(l),D=y.get("nameddest")||"";let M=y.get("page")|0;return(!this._isValidPage(M)||_&&D.length>0)&&(M=null),{hash:l,page:M,rotation:this.linkService.rotation}}_updateViewarea(_){let{location:l}=_;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:l.pdfOpenParams.substring(1),page:this.linkService.page,first:l.pageNumber,rotation:l.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},e))}_popState(_){let{state:l}=_;const y=L(),D=this._currentHash!==y;if(this._currentHash=y,!l){this._uid++;const{hash:F,page:N,rotation:G}=this._parseCurrentHash();this._pushOrReplaceState({hash:F,page:N,rotation:G},!0);return}if(!this._isValidState(l))return;this._popStateInProgress=!0,D&&(this._blockHashChange++,(0,c.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:R}).then(()=>{this._blockHashChange--}));const M=l.destination;this._updateInternalState(M,l.uid,!0),(0,n.isValidRotation)(M.rotation)&&(this.linkService.rotation=M.rotation),M.dest?this.linkService.goToDestination(M.dest):M.hash?this.linkService.setHash(M.hash):M.page&&(this.linkService.page=M.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}a.PDFHistory=O;function B(S,_){return typeof S!="string"||typeof _!="string"?!1:S===_||(0,n.parseQueryString)(S).get("nameddest")===_}function P(S,_){function l(y,D){if(typeof y!=typeof D||Array.isArray(y)||Array.isArray(D))return!1;if(y!==null&&typeof y=="object"&&D!==null){if(Object.keys(y).length!==Object.keys(D).length)return!1;for(const M in y)if(!l(y[M],D[M]))return!1;return!0}return y===D||Number.isNaN(y)&&Number.isNaN(D)}if(!(Array.isArray(S)&&Array.isArray(_))||S.length!==_.length)return!1;for(let y=0,D=S.length;y{Object.defineProperty(a,"__esModule",{value:!0}),a.PDFScriptingManager=void 0;var n=g(7),c=g(3);class R{constructor(e){let{eventBus:L,sandboxBundleSrc:O=null,scriptingFactory:B=null,docPropertiesLookup:P=null}=e;this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=L,this._sandboxBundleSrc=O,this._scriptingFactory=B,this._docPropertiesLookup=P,this._scriptingFactory||window.addEventListener("updatefromsandbox",S=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:S.detail})})}setViewer(e){this._pdfViewer=e}async setDocument(e){var L;if(this._pdfDocument&&await this._destroyScripting(),this._pdfDocument=e,!e)return;const[O,B,P]=await Promise.all([e.getFieldObjects(),e.getCalculationOrderIds(),e.getJSActions()]);if(!O&&!P){await this._destroyScripting();return}if(e===this._pdfDocument){try{this._scripting=this._createScripting()}catch(S){console.error(`PDFScriptingManager.setDocument: "${S==null?void 0:S.message}".`),await this._destroyScripting();return}this._internalEvents.set("updatefromsandbox",S=>{(S==null?void 0:S.source)===window&&this._updateFromSandbox(S.detail)}),this._internalEvents.set("dispatcheventinsandbox",S=>{var _;(_=this._scripting)===null||_===void 0||_.dispatchEventInSandbox(S.detail)}),this._internalEvents.set("pagechanging",S=>{let{pageNumber:_,previous:l}=S;_!==l&&(this._dispatchPageClose(l),this._dispatchPageOpen(_))}),this._internalEvents.set("pagerendered",S=>{let{pageNumber:_}=S;this._pageOpenPending.has(_)&&_===this._pdfViewer.currentPageNumber&&this._dispatchPageOpen(_)}),this._internalEvents.set("pagesdestroy",async S=>{var _,l;await this._dispatchPageClose(this._pdfViewer.currentPageNumber),await((_=this._scripting)===null||_===void 0?void 0:_.dispatchEventInSandbox({id:"doc",name:"WillClose"})),(l=this._closeCapability)===null||l===void 0||l.resolve()}),this._domEvents.set("mousedown",S=>{this._mouseState.isDown=!0}),this._domEvents.set("mouseup",S=>{this._mouseState.isDown=!1});for(const[S,_]of this._internalEvents)this._eventBus._on(S,_);for(const[S,_]of this._domEvents)window.addEventListener(S,_,!0);try{const S=await this._getDocProperties();if(e!==this._pdfDocument)return;await this._scripting.createSandbox({objects:O,calculationOrder:B,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...S,actions:P}}),this._eventBus.dispatch("sandboxcreated",{source:this})}catch(S){console.error(`PDFScriptingManager.setDocument: "${S==null?void 0:S.message}".`),await this._destroyScripting();return}await((L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"doc",name:"Open"})),await this._dispatchPageOpen(this._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{e===this._pdfDocument&&(this._ready=!0)})}}async dispatchWillSave(e){var L;return(L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"doc",name:"WillSave"})}async dispatchDidSave(e){var L;return(L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"doc",name:"DidSave"})}async dispatchWillPrint(e){var L;return(L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"doc",name:"WillPrint"})}async dispatchDidPrint(e){var L;return(L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"doc",name:"DidPrint"})}get mouseState(){return this._mouseState}get destroyPromise(){var e;return((e=this._destroyCapability)===null||e===void 0?void 0:e.promise)||null}get ready(){return this._ready}get _internalEvents(){return(0,c.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,c.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,c.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,c.shadow)(this,"_visitedPages",new Map)}async _updateFromSandbox(e){const L=this._pdfViewer.isInPresentationMode||this._pdfViewer.isChangingPresentationMode,{id:O,siblings:B,command:P,value:S}=e;if(!O){switch(P){case"clear":console.clear();break;case"error":console.error(S);break;case"layout":if(L)return;const y=(0,n.apiPageLayoutToViewerModes)(S);this._pdfViewer.spreadMode=y.spreadMode;break;case"page-num":this._pdfViewer.currentPageNumber=S+1;break;case"print":await this._pdfViewer.pagesPromise,this._eventBus.dispatch("print",{source:this});break;case"println":console.log(S);break;case"zoom":if(L)return;this._pdfViewer.currentScaleValue=S;break;case"SaveAs":this._eventBus.dispatch("download",{source:this});break;case"FirstPage":this._pdfViewer.currentPageNumber=1;break;case"LastPage":this._pdfViewer.currentPageNumber=this._pdfViewer.pagesCount;break;case"NextPage":this._pdfViewer.nextPage();break;case"PrevPage":this._pdfViewer.previousPage();break;case"ZoomViewIn":if(L)return;this._pdfViewer.increaseScale();break;case"ZoomViewOut":if(L)return;this._pdfViewer.decreaseScale();break}return}if(L&&e.focus)return;delete e.id,delete e.siblings;const _=B?[O,...B]:[O];for(const y of _){const D=document.querySelector(`[data-element-id="${y}"]`);if(D)D.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:e}));else{var l;(l=this._pdfDocument)===null||l===void 0||l.annotationStorage.setValue(y,e)}}}async _dispatchPageOpen(e){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const O=this._pdfDocument,B=this._visitedPages;if(L&&(this._closeCapability=(0,c.createPromiseCapability)()),!this._closeCapability)return;const P=this._pdfViewer.getPageView(e-1);if((P==null?void 0:P.renderingState)!==n.RenderingStates.FINISHED){this._pageOpenPending.add(e);return}this._pageOpenPending.delete(e);const S=(async()=>{var _,l;const y=await(B.has(e)?null:(_=P.pdfPage)===null||_===void 0?void 0:_.getJSActions());O===this._pdfDocument&&await((l=this._scripting)===null||l===void 0?void 0:l.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:e,actions:y}))})();B.set(e,S)}async _dispatchPageClose(e){var L;const O=this._pdfDocument,B=this._visitedPages;if(!this._closeCapability||this._pageOpenPending.has(e))return;const P=B.get(e);P&&(B.set(e,null),await P,O===this._pdfDocument&&await((L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:e})))}async _getDocProperties(){if(this._docPropertiesLookup)return this._docPropertiesLookup(this._pdfDocument);const{docPropertiesLookup:e}=g(26);return e(this._pdfDocument)}_createScripting(){if(this._destroyCapability=(0,c.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:e}=g(26);return new e(this._sandboxBundleSrc)}async _destroyScripting(){var e;if(!this._scripting){var L;this._pdfDocument=null,(L=this._destroyCapability)===null||L===void 0||L.resolve();return}this._closeCapability&&(await Promise.race([this._closeCapability.promise,new Promise(O=>{setTimeout(O,1e3)})]).catch(O=>{}),this._closeCapability=null),this._pdfDocument=null;try{await this._scripting.destroySandbox()}catch{}for(const[O,B]of this._internalEvents)this._eventBus._off(O,B);this._internalEvents.clear();for(const[O,B]of this._domEvents)window.removeEventListener(O,B,!0);this._domEvents.clear(),this._pageOpenPending.clear(),this._visitedPages.clear(),this._scripting=null,delete this._mouseState.isDown,this._ready=!1,(e=this._destroyCapability)===null||e===void 0||e.resolve()}}a.PDFScriptingManager=R},(x,a,g)=>{Object.defineProperty(a,"__esModule",{value:!0}),a.GenericScripting=void 0,a.docPropertiesLookup=c;var n=g(3);async function c(v){const e="",L=e.split("#")[0];let{info:O,metadata:B,contentDispositionFilename:P,contentLength:S}=await v.getMetadata();if(!S){const{length:_}=await v.getDownloadInfo();S=_}return{...O,baseURL:L,filesize:S,filename:P||(0,n.getPdfFilenameFromUrl)(e),metadata:B==null?void 0:B.getRaw(),authors:B==null?void 0:B.get("dc:creator"),numPages:v.numPages,URL:e}}class R{constructor(e){this._ready=(0,n.loadScript)(e,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}async createSandbox(e){(await this._ready).create(e)}async dispatchEventInSandbox(e){const L=await this._ready;setTimeout(()=>L.dispatchEvent(e),0)}async destroySandbox(){(await this._ready).nukeSandbox()}}a.GenericScripting=R}],w={};function U(x){var a=w[x];if(a!==void 0)return a.exports;var g=w[x]={exports:{}};return m[x](g,g.exports,U),g.exports}var k={};return(()=>{var x=k;Object.defineProperty(x,"__esModule",{value:!0}),Object.defineProperty(x,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return R.AnnotationLayerBuilder}}),Object.defineProperty(x,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return a.DefaultAnnotationLayerFactory}}),Object.defineProperty(x,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return a.DefaultStructTreeLayerFactory}}),Object.defineProperty(x,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return a.DefaultTextLayerFactory}}),Object.defineProperty(x,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return a.DefaultXfaLayerFactory}}),Object.defineProperty(x,"DownloadManager",{enumerable:!0,get:function(){return v.DownloadManager}}),Object.defineProperty(x,"EventBus",{enumerable:!0,get:function(){return e.EventBus}}),Object.defineProperty(x,"GenericL10n",{enumerable:!0,get:function(){return L.GenericL10n}}),Object.defineProperty(x,"LinkTarget",{enumerable:!0,get:function(){return g.LinkTarget}}),Object.defineProperty(x,"NullL10n",{enumerable:!0,get:function(){return O.NullL10n}}),Object.defineProperty(x,"PDFFindController",{enumerable:!0,get:function(){return B.PDFFindController}}),Object.defineProperty(x,"PDFHistory",{enumerable:!0,get:function(){return P.PDFHistory}}),Object.defineProperty(x,"PDFLinkService",{enumerable:!0,get:function(){return g.PDFLinkService}}),Object.defineProperty(x,"PDFPageView",{enumerable:!0,get:function(){return S.PDFPageView}}),Object.defineProperty(x,"PDFScriptingManager",{enumerable:!0,get:function(){return _.PDFScriptingManager}}),Object.defineProperty(x,"PDFSinglePageViewer",{enumerable:!0,get:function(){return c.PDFSinglePageViewer}}),Object.defineProperty(x,"PDFViewer",{enumerable:!0,get:function(){return c.PDFViewer}}),Object.defineProperty(x,"ProgressBar",{enumerable:!0,get:function(){return n.ProgressBar}}),Object.defineProperty(x,"RenderingStates",{enumerable:!0,get:function(){return n.RenderingStates}}),Object.defineProperty(x,"ScrollMode",{enumerable:!0,get:function(){return n.ScrollMode}}),Object.defineProperty(x,"SimpleLinkService",{enumerable:!0,get:function(){return g.SimpleLinkService}}),Object.defineProperty(x,"SpreadMode",{enumerable:!0,get:function(){return n.SpreadMode}}),Object.defineProperty(x,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return l.StructTreeLayerBuilder}}),Object.defineProperty(x,"TextLayerBuilder",{enumerable:!0,get:function(){return y.TextLayerBuilder}}),Object.defineProperty(x,"XfaLayerBuilder",{enumerable:!0,get:function(){return D.XfaLayerBuilder}}),Object.defineProperty(x,"parseQueryString",{enumerable:!0,get:function(){return n.parseQueryString}});var a=U(1),g=U(6),n=U(7),c=U(11),R=U(5),v=U(18),e=U(19),L=U(20),O=U(4),B=U(22),P=U(24),S=U(13),_=U(25),l=U(8),y=U(9),D=U(10)})(),k})())})(pdf_viewer$1);var pdf_viewerExports=pdf_viewer$1.exports;const pdf_viewer="";var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function createCommonjsModule(b,r,m){return m={path:r,exports:{},require:function(w,U){return commonjsRequire(w,U??m.path)}},b(m,m.exports),m.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var check=function(b){return b&&b.Math==Math&&b},global_1=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")(),fails=function(b){try{return!!b()}catch{return!0}},descriptors=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),f$4=NASHORN_BUG?function b(r){var m=getOwnPropertyDescriptor$2(this,r);return!!m&&m.enumerable}:$propertyIsEnumerable,objectPropertyIsEnumerable={f:f$4},createPropertyDescriptor=function(b,r){return{enumerable:!(b&1),configurable:!(b&2),writable:!(b&4),value:r}},toString={}.toString,classofRaw=function(b){return toString.call(b).slice(8,-1)},split="".split,indexedObject=fails(function(){return!Object("z").propertyIsEnumerable(0)})?function(b){return classofRaw(b)=="String"?split.call(b,""):Object(b)}:Object,requireObjectCoercible=function(b){if(b==null)throw TypeError("Can't call method on "+b);return b},toIndexedObject=function(b){return indexedObject(requireObjectCoercible(b))},isObject=function(b){return typeof b=="object"?b!==null:typeof b=="function"},aFunction$1=function(b){return typeof b=="function"?b:void 0},getBuiltIn=function(b,r){return arguments.length<2?aFunction$1(global_1[b]):global_1[b]&&global_1[b][r]},engineUserAgent=getBuiltIn("navigator","userAgent")||"",process$1=global_1.process,Deno$1=global_1.Deno,versions=process$1&&process$1.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,match,version;v8?(match=v8.split("."),version=match[0]<4?1:match[0]+match[1]):engineUserAgent&&(match=engineUserAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=engineUserAgent.match(/Chrome\/(\d+)/),match&&(version=match[1])));var engineV8Version=version&&+version,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails(function(){var b=Symbol();return!String(b)||!(Object(b)instanceof Symbol)||!Symbol.sham&&engineV8Version&&engineV8Version<41}),useSymbolAsUid=nativeSymbol&&!Symbol.sham&&typeof Symbol.iterator=="symbol",isSymbol=useSymbolAsUid?function(b){return typeof b=="symbol"}:function(b){var r=getBuiltIn("Symbol");return typeof r=="function"&&Object(b)instanceof r},ordinaryToPrimitive=function(b,r){var m,w;if(r==="string"&&typeof(m=b.toString)=="function"&&!isObject(w=m.call(b))||typeof(m=b.valueOf)=="function"&&!isObject(w=m.call(b))||r!=="string"&&typeof(m=b.toString)=="function"&&!isObject(w=m.call(b)))return w;throw TypeError("Can't convert object to primitive value")},setGlobal=function(b,r){try{Object.defineProperty(global_1,b,{value:r,configurable:!0,writable:!0})}catch{global_1[b]=r}return r},SHARED="__core-js_shared__",store$1=global_1[SHARED]||setGlobal(SHARED,{}),sharedStore=store$1,shared=createCommonjsModule(function(b){(b.exports=function(r,m){return sharedStore[r]||(sharedStore[r]=m!==void 0?m:{})})("versions",[]).push({version:"3.17.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),toObject=function(b){return Object(requireObjectCoercible(b))},hasOwnProperty={}.hasOwnProperty,has$1=Object.hasOwn||function b(r,m){return hasOwnProperty.call(toObject(r),m)},id=0,postfix=Math.random(),uid=function(b){return"Symbol("+String(b===void 0?"":b)+")_"+(++id+postfix).toString(36)},WellKnownSymbolsStore=shared("wks"),Symbol$1=global_1.Symbol,createWellKnownSymbol=useSymbolAsUid?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid,wellKnownSymbol=function(b){return(!has$1(WellKnownSymbolsStore,b)||!(nativeSymbol||typeof WellKnownSymbolsStore[b]=="string"))&&(nativeSymbol&&has$1(Symbol$1,b)?WellKnownSymbolsStore[b]=Symbol$1[b]:WellKnownSymbolsStore[b]=createWellKnownSymbol("Symbol."+b)),WellKnownSymbolsStore[b]},TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),toPrimitive=function(b,r){if(!isObject(b)||isSymbol(b))return b;var m=b[TO_PRIMITIVE],w;if(m!==void 0){if(r===void 0&&(r="default"),w=m.call(b,r),!isObject(w)||isSymbol(w))return w;throw TypeError("Can't convert object to primitive value")}return r===void 0&&(r="number"),ordinaryToPrimitive(b,r)},toPropertyKey=function(b){var r=toPrimitive(b,"string");return isSymbol(r)?r:String(r)},document$1=global_1.document,EXISTS=isObject(document$1)&&isObject(document$1.createElement),documentCreateElement=function(b){return EXISTS?document$1.createElement(b):{}},ie8DomDefine=!descriptors&&!fails(function(){return Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a!=7}),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,f$3=descriptors?$getOwnPropertyDescriptor:function b(r,m){if(r=toIndexedObject(r),m=toPropertyKey(m),ie8DomDefine)try{return $getOwnPropertyDescriptor(r,m)}catch{}if(has$1(r,m))return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(r,m),r[m])},objectGetOwnPropertyDescriptor={f:f$3},anObject=function(b){if(!isObject(b))throw TypeError(String(b)+" is not an object");return b},$defineProperty=Object.defineProperty,f$2=descriptors?$defineProperty:function b(r,m,w){if(anObject(r),m=toPropertyKey(m),anObject(w),ie8DomDefine)try{return $defineProperty(r,m,w)}catch{}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(r[m]=w.value),r},objectDefineProperty={f:f$2},createNonEnumerableProperty=descriptors?function(b,r,m){return objectDefineProperty.f(b,r,createPropertyDescriptor(1,m))}:function(b,r,m){return b[r]=m,b},functionToString=Function.toString;typeof sharedStore.inspectSource!="function"&&(sharedStore.inspectSource=function(b){return functionToString.call(b)});var inspectSource=sharedStore.inspectSource,WeakMap$1=global_1.WeakMap,nativeWeakMap=typeof WeakMap$1=="function"&&/native code/.test(inspectSource(WeakMap$1)),keys$1=shared("keys"),sharedKey=function(b){return keys$1[b]||(keys$1[b]=uid(b))},hiddenKeys$1={},OBJECT_ALREADY_INITIALIZED="Object already initialized",WeakMap$2=global_1.WeakMap,set,get,has,enforce=function(b){return has(b)?get(b):set(b,{})},getterFor=function(b){return function(r){var m;if(!isObject(r)||(m=get(r)).type!==b)throw TypeError("Incompatible receiver, "+b+" required");return m}};if(nativeWeakMap||sharedStore.state){var store=sharedStore.state||(sharedStore.state=new WeakMap$2),wmget=store.get,wmhas=store.has,wmset=store.set;set=function(b,r){if(wmhas.call(store,b))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return r.facade=b,wmset.call(store,b,r),r},get=function(b){return wmget.call(store,b)||{}},has=function(b){return wmhas.call(store,b)}}else{var STATE=sharedKey("state");hiddenKeys$1[STATE]=!0,set=function(b,r){if(has$1(b,STATE))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return r.facade=b,createNonEnumerableProperty(b,STATE,r),r},get=function(b){return has$1(b,STATE)?b[STATE]:{}},has=function(b){return has$1(b,STATE)}}var internalState={set,get,has,enforce,getterFor},redefine=createCommonjsModule(function(b){var r=internalState.get,m=internalState.enforce,w=String(String).split("String");(b.exports=function(U,k,x,a){var g=a?!!a.unsafe:!1,n=a?!!a.enumerable:!1,c=a?!!a.noTargetGet:!1,R;if(typeof x=="function"&&(typeof k=="string"&&!has$1(x,"name")&&createNonEnumerableProperty(x,"name",k),R=m(x),R.source||(R.source=w.join(typeof k=="string"?k:""))),U===global_1){n?U[k]=x:setGlobal(k,x);return}else g?!c&&U[k]&&(n=!0):delete U[k];n?U[k]=x:createNonEnumerableProperty(U,k,x)})(Function.prototype,"toString",function(){return typeof this=="function"&&r(this).source||inspectSource(this)})}),ceil=Math.ceil,floor=Math.floor,toInteger=function(b){return isNaN(b=+b)?0:(b>0?floor:ceil)(b)},min$1=Math.min,toLength=function(b){return b>0?min$1(toInteger(b),9007199254740991):0},max=Math.max,min=Math.min,toAbsoluteIndex=function(b,r){var m=toInteger(b);return m<0?max(m+r,0):min(m,r)},createMethod$3=function(b){return function(r,m,w){var U=toIndexedObject(r),k=toLength(U.length),x=toAbsoluteIndex(w,k),a;if(b&&m!=m){for(;k>x;)if(a=U[x++],a!=a)return!0}else for(;k>x;x++)if((b||x in U)&&U[x]===m)return b||x||0;return!b&&-1}},arrayIncludes={includes:createMethod$3(!0),indexOf:createMethod$3(!1)},indexOf=arrayIncludes.indexOf,objectKeysInternal=function(b,r){var m=toIndexedObject(b),w=0,U=[],k;for(k in m)!has$1(hiddenKeys$1,k)&&has$1(m,k)&&U.push(k);for(;r.length>w;)has$1(m,k=r[w++])&&(~indexOf(U,k)||U.push(k));return U},enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hiddenKeys=enumBugKeys.concat("length","prototype"),f$1=Object.getOwnPropertyNames||function b(r){return objectKeysInternal(r,hiddenKeys)},objectGetOwnPropertyNames={f:f$1},f=Object.getOwnPropertySymbols,objectGetOwnPropertySymbols={f},ownKeys=getBuiltIn("Reflect","ownKeys")||function b(r){var m=objectGetOwnPropertyNames.f(anObject(r)),w=objectGetOwnPropertySymbols.f;return w?m.concat(w(r)):m},copyConstructorProperties=function(b,r){for(var m=ownKeys(r),w=objectDefineProperty.f,U=objectGetOwnPropertyDescriptor.f,k=0;kB;B++)if((a||B in e)&&(_=e[B],l=L(_,B,v),b))if(r)S[B]=l;else if(l)switch(b){case 3:return!0;case 5:return _;case 6:return B;case 2:push.call(S,_)}else switch(b){case 4:return!1;case 7:push.call(S,_)}return k?-1:w||U?U:S}},arrayIteration={forEach:createMethod$2(0),map:createMethod$2(1),filter:createMethod$2(2),some:createMethod$2(3),every:createMethod$2(4),find:createMethod$2(5),findIndex:createMethod$2(6),filterReject:createMethod$2(7)},arrayMethodIsStrict=function(b,r){var m=[][b];return!!m&&fails(function(){m.call(null,r||function(){throw 1},1)})},$forEach=arrayIteration.forEach,STRICT_METHOD=arrayMethodIsStrict("forEach"),arrayForEach=STRICT_METHOD?[].forEach:function b(r){return $forEach(this,r,arguments.length>1?arguments[1]:void 0)};_export({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype,handlePrototype=function(b){if(b&&b.forEach!==arrayForEach)try{createNonEnumerableProperty(b,"forEach",arrayForEach)}catch{b.forEach=arrayForEach}};for(var COLLECTION_NAME in domIterables)handlePrototype(global_1[COLLECTION_NAME]&&global_1[COLLECTION_NAME].prototype);handlePrototype(domTokenListPrototype);var objectKeys=Object.keys||function b(r){return objectKeysInternal(r,enumBugKeys)},propertyIsEnumerable=objectPropertyIsEnumerable.f,createMethod$1=function(b){return function(r){for(var m=toIndexedObject(r),w=objectKeys(m),U=w.length,k=0,x=[],a;U>k;)a=w[k++],(!descriptors||propertyIsEnumerable.call(m,a))&&x.push(b?[a,m[a]]:m[a]);return x}},objectToArray={entries:createMethod$1(!0),values:createMethod$1(!1)},$entries=objectToArray.entries;_export({target:"Object",stat:!0},{entries:function b(r){return $entries(r)}});var aPossiblePrototype=function(b){if(!isObject(b)&&b!==null)throw TypeError("Can't set "+String(b)+" as a prototype");return b},objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var b=!1,r={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(r,[]),b=r instanceof Array}catch{}return function(U,k){return anObject(U),aPossiblePrototype(k),b?m.call(U,k):U.__proto__=k,U}}():void 0),inheritIfRequired=function(b,r,m){var w,U;return objectSetPrototypeOf&&typeof(w=r.constructor)=="function"&&w!==m&&isObject(U=w.prototype)&&U!==m.prototype&&objectSetPrototypeOf(b,U),b},objectDefineProperties=descriptors?Object.defineProperties:function b(r,m){anObject(r);for(var w=objectKeys(m),U=w.length,k=0,x;U>k;)objectDefineProperty.f(r,x=w[k++],m[x]);return r},html=getBuiltIn("document","documentElement"),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(b){return LT+SCRIPT+GT+b+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(b){b.write(scriptTag("")),b.close();var r=b.parentWindow.Object;return b=null,r},NullProtoObjectViaIFrame=function(){var b=documentCreateElement("iframe"),r="java"+SCRIPT+":",m;return b.style.display="none",html.appendChild(b),b.src=String(r),m=b.contentWindow.document,m.open(),m.write(scriptTag("document.F=Object")),m.close(),m.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var b=enumBugKeys.length;b--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[b]];return NullProtoObject()};hiddenKeys$1[IE_PROTO]=!0;var objectCreate=Object.create||function b(r,m){var w;return r!==null?(EmptyConstructor[PROTOTYPE]=anObject(r),w=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,w[IE_PROTO]=r):w=NullProtoObject(),m===void 0?w:objectDefineProperties(w,m)},toString_1=function(b){if(isSymbol(b))throw TypeError("Cannot convert a Symbol value to a string");return String(b)},whitespaces=` +\v\f\r                 \u2028\u2029\uFEFF`,whitespace="["+whitespaces+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(b){return function(r){var m=toString_1(requireObjectCoercible(r));return b&1&&(m=m.replace(ltrim,"")),b&2&&(m=m.replace(rtrim,"")),m}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},getOwnPropertyNames=objectGetOwnPropertyNames.f,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,defineProperty=objectDefineProperty.f,trim$1=stringTrim.trim,NUMBER="Number",NativeNumber=global_1[NUMBER],NumberPrototype=NativeNumber.prototype,BROKEN_CLASSOF=classofRaw(objectCreate(NumberPrototype))==NUMBER,toNumber=function(b){if(isSymbol(b))throw TypeError("Cannot convert a Symbol value to a number");var r=toPrimitive(b,"number"),m,w,U,k,x,a,g,n;if(typeof r=="string"&&r.length>2){if(r=trim$1(r),m=r.charCodeAt(0),m===43||m===45){if(w=r.charCodeAt(2),w===88||w===120)return NaN}else if(m===48){switch(r.charCodeAt(1)){case 66:case 98:U=2,k=49;break;case 79:case 111:U=8,k=55;break;default:return+r}for(x=r.slice(2),a=x.length,g=0;gk)return NaN;return parseInt(x,U)}}return+r};if(isForced_1(NUMBER,!NativeNumber(" 0o1")||!NativeNumber("0b1")||NativeNumber("+0x1"))){for(var NumberWrapper=function(r){var m=arguments.length<1?0:r,w=this;return w instanceof NumberWrapper&&(BROKEN_CLASSOF?fails(function(){NumberPrototype.valueOf.call(w)}):classofRaw(w)!=NUMBER)?inheritIfRequired(new NativeNumber(toNumber(m)),w,NumberWrapper):toNumber(m)},keys=descriptors?getOwnPropertyNames(NativeNumber):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),j=0,key;keys.length>j;j++)has$1(NativeNumber,key=keys[j])&&!has$1(NumberWrapper,key)&&defineProperty(NumberWrapper,key,getOwnPropertyDescriptor(NativeNumber,key));NumberWrapper.prototype=NumberPrototype,NumberPrototype.constructor=NumberWrapper,redefine(global_1,NUMBER,NumberWrapper)}var trim=stringTrim.trim,$parseFloat=global_1.parseFloat,FORCED=1/$parseFloat(whitespaces+"-0")!==-1/0,numberParseFloat=FORCED?function b(r){var m=trim(toString_1(r)),w=$parseFloat(m);return w===0&&m.charAt(0)=="-"?-0:w}:$parseFloat;_export({global:!0,forced:parseFloat!=numberParseFloat},{parseFloat:numberParseFloat});var slice=[].slice,MSIE=/MSIE .\./.test(engineUserAgent),wrap=function(b){return function(r,m){var w=arguments.length>2,U=w?slice.call(arguments,2):void 0;return b(w?function(){(typeof r=="function"?r:Function(r)).apply(this,U)}:r,m)}};_export({global:!0,bind:!0,forced:MSIE},{setTimeout:wrap(global_1.setTimeout),setInterval:wrap(global_1.setInterval)});function __awaiter(b,r,m,w){function U(k){return k instanceof m?k:new m(function(x){x(k)})}return new(m||(m=Promise))(function(k,x){function a(c){try{n(w.next(c))}catch(R){x(R)}}function g(c){try{n(w.throw(c))}catch(R){x(R)}}function n(c){c.done?k(c.value):U(c.value).then(a,g)}n((w=w.apply(b,r||[])).next())})}function __generator(b,r){var m={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},w,U,k,x;return x={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(x[Symbol.iterator]=function(){return this}),x;function a(n){return function(c){return g([n,c])}}function g(n){if(w)throw new TypeError("Generator is already executing.");for(;m;)try{if(w=1,U&&(k=n[0]&2?U.return:n[0]?U.throw||((k=U.return)&&k.call(U),0):U.next)&&!(k=k.call(U,n[1])).done)return k;switch(U=0,k&&(n=[n[0]&2,k.value]),n[0]){case 0:case 1:k=n;break;case 4:return m.label++,{value:n[1],done:!1};case 5:m.label++,U=n[1],n=[0];continue;case 7:n=m.ops.pop(),m.trys.pop();continue;default:if(k=m.trys,!(k=k.length>0&&k[k.length-1])&&(n[0]===6||n[0]===2)){m=0;continue}if(n[0]===3&&(!k||n[1]>k[0]&&n[1]"u")){var w=document.head||document.getElementsByTagName("head")[0],U=document.createElement("style");U.type="text/css",m==="top"&&w.firstChild?w.insertBefore(U,w.firstChild):w.appendChild(U),U.styleSheet?U.styleSheet.cssText=b:U.appendChild(document.createTextNode(b))}}var css_248z=".vue-pdf__wrapper{position:relative}.vue-pdf__wrapper-text-layer br{display:none}.vue-pdf__wrapper-annotation-layer{position:absolute}.vue-pdf__wrapper-annotation-layer .linkAnnotation{position:absolute;z-index:1}.vue-pdf__wrapper-annotation-layer .linkAnnotation a{width:100%;height:100%;display:inline-block}";styleInject(css_248z);script.render=render$2;const _hoisted_1$7={class:"flex justify-between items-end w-full bg-transparent"},_hoisted_2$6={key:0,class:"flex flex-nowrap overflow-x-auto scrollbar-hide ml-2"},_hoisted_3$6=["onClick"],_hoisted_4$5=createBaseVNode("div",{class:"flex-1 bg-transparent"},null,-1),_hoisted_5$5={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},_hoisted_6$5={class:"py-1"},_hoisted_7$5=["onClick"],_hoisted_8$4={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_9$4={class:"py-1"},_hoisted_10$3=["onClick"],_hoisted_11$3={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_12$2={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},_hoisted_13$2={class:"py-1"},_hoisted_14$2=["onClick"],_hoisted_15$2={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_16$2={class:"flex flex-1 justify-center"},_hoisted_17$2={class:"w-28"},_hoisted_18$2={class:"py-1"},_hoisted_19$1=["onClick"],_hoisted_20$1={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_21={class:"flex flex-1 justify-center"},_hoisted_22={class:"w-28"},_hoisted_23={key:0,class:"flex items-center py-2 px-2 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},_hoisted_24=createBaseVNode("p",{class:"text-sm text-gray-500 dark:text-gray-400 flex-grow truncate"}," 使用 @ 搜索应用程序 ",-1),_hoisted_25=[_hoisted_24],_hoisted_26=["onClick"],_hoisted_27={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_28=["src"],_hoisted_29={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_30={class:"text-md font-bold text-gray-600 dark:text-primary-500 mr-3 flex-shrink-0"},_hoisted_31={class:"text-sm text-gray-400 dark:text-gray-400 flex-grow truncate"},_hoisted_32={key:0,class:"self-start w-full bg-opacity dark:bg-gray-700 rounded-lg"},_hoisted_33={key:0,class:"relative inline-block ml-2 mt-2 group"},_hoisted_34=["src"],_hoisted_35={key:1,class:"relative group w-full"},_hoisted_36={class:"px-3 flex items-center justify-start b gopacity rounded-t-lg h-12 text-gray-700 dark:text-gray-400"},_hoisted_37={class:"text-gray-500"},_hoisted_38={class:"px-2 flex items-center justify-start rounded-t-lg h-12 text-gray-700 bg-opacity dark:bg-gray-700 dark:text-gray-400 w-full"},_hoisted_39={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_40=["src"],_hoisted_41={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_42={class:"text-md font-bold text-gray-700 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},_hoisted_43={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},_hoisted_44={class:"px-2 flex items-center justify-start bg-opacity rounded-t-lg h-12 text-gray-700 dark:text-gray-400 w-full dark:bg-gray-700"},_hoisted_45={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_46=["src"],_hoisted_47={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_48={class:"text-md font-bold text-gray-600 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},_hoisted_49={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},_hoisted_50={class:"flex justify-between flex-grow w-full py-2 px-2"},_hoisted_51={class:"flex justify-start items-end"},_hoisted_52={class:"flex flex-grow items-center justify-center"},_hoisted_53=["placeholder"],_hoisted_54={class:"flex justify-end items-end"},_hoisted_55=["disabled"],_hoisted_56={key:0,class:"w-full flex justify-center items-center text-sm text-gray-500"},_hoisted_57={class:"transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 ml-2",href:"https://beian.miit.gov.cn",target:"_blank"},initialHeight="1.5rem",_sfc_main$7=defineComponent({__name:"index",emits:["pause-request"],setup(b,{emit:r}){const m=inject("onConversation"),w=useGlobalStoreWithOut(),U=useAuthStore(),k=useChatStore(),x=r,a=ref([{id:"square",title:t("chat.square1"),values:"1:1",aspectRatio:"1 / 1"},{id:"illustration",title:t("chat.illustration"),values:"4:3",aspectRatio:"4 / 3"},{id:"wallpaper",title:t("chat.wallpaper"),values:"16:9",aspectRatio:"16 / 9"},{id:"media",title:t("chat.media"),values:"3:4",aspectRatio:"3 / 4"},{id:"poster",title:t("chat.poster"),values:"9:16",aspectRatio:"9 / 16"}]),g=ref([{title:"6.0",values:"--v 6"},{title:"5.2",values:"--v 5.2"},{title:"卡通",values:"--niji 6"}]),n=ref([{title:t("chat.imageToImage"),values:"imageToImage"},{title:t("chat.faceConsistency"),values:"faceConsistency"},{title:t("chat.styleConsistency"),values:"styleConsistency"}]),c=ref([{id:"default",title:t("chat.square"),values:"1024x1024",aspectRatio:"1024 / 1024"},{id:"landscape",title:t("chat.landscape"),values:"1792x1024",aspectRatio:"1792 / 1024"},{id:"portrait",title:t("chat.portrait"),values:"1024x1792",aspectRatio:"1024 / 1792"}]),R=ref(!1),v=ref(!0),e=ref(),L=ref(!1),O=ref([]),B=ref(""),P=ref(null),S=ref({size:"",style:""}),_=ref(),l=ref("--v 6"),y=ref([]),D=ref(c.value[0]),M=ref(n.value[0]),F=ref(g.value[0]),N=ref(""),G=ref(""),W=ref(""),J=ref(!1),Y=ref(),V=ref(!1),H=ref("");let z=null,X=null;const q=computed(()=>U.globalConfig),$=computed(()=>{var ut,rt;return((ut=q.value)==null?void 0:ut.companyName)&&((rt=q.value)==null?void 0:rt.filingNumber)}),fe=computed(()=>{var ut;return Number((ut=U.globalConfig)==null?void 0:ut.isHideSidebar)===1}),{isMobile:Q}=useBasicLayout(),ie=computed(()=>k.currentPlugin),Te=computed(()=>k.isStreamIn!==void 0?k.isStreamIn:!1),me=computed(()=>k.chatList),K=ref("/api/upload/file"),ce=computed(()=>String(he==null?void 0:he.value.modelInfo.modelName)),de=computed(()=>Number(he==null?void 0:he.value.modelInfo.keyType)),Z=computed(()=>k.active),ae=computed(()=>k.getChatByGroupInfo()),he=computed(()=>{var rt;const ut=(rt=ae.value)==null?void 0:rt.config;if(!ut)return{};try{return JSON.parse(ut)}catch{return{}}}),we=computed(()=>{var ut,rt;return String(((rt=(ut=he==null?void 0:he.value)==null?void 0:ut.fileInfo)==null?void 0:rt.fileParsing)||"")}),_e=computed(()=>{var ut,rt;return String(((rt=(ut=he==null?void 0:he.value)==null?void 0:ut.fileInfo)==null?void 0:rt.fileName)||"")}),ye=computed(()=>{var ut,rt;return String(((rt=(ut=he==null?void 0:he.value)==null?void 0:ut.modelInfo)==null?void 0:rt.model)??"")}),se=computed(()=>{var ut,rt;return Number((rt=(ut=he==null?void 0:he.value)==null?void 0:ut.modelInfo)==null?void 0:rt.isFileUpload)}),Ie=computed(()=>[1,2,3].includes(se.value)),Ce=computed(()=>{var ut;return ye.value==="dall-e-3"||((ut=ie.value)==null?void 0:ut.parameters)==="dall-e-3"}),oe=computed(()=>{var ut;return ye.value==="midjourney"||((ut=ie.value)==null?void 0:ut.parameters)==="midjourney"}),pe=computed(()=>{var ut;return ye.value==="luma-video"||((ut=ie.value)==null?void 0:ut.parameters)==="luma-video"}),xe=computed(()=>w.clipboardText),Ne=computed(()=>Q.value?t("chat.placeholderMobile"):t("chat.placeholder")),ke=computed(()=>Te.value||(!B.value||B.value.trim()==="")&&!H.value),De=(ut,rt=16)=>{const[mt,Ot]=ut.split(" / ").map(Number),dt=mt/Ot;return Ot>mt?{width:`${rt*dt}px`,height:`${rt}px`}:{width:`${rt}px`,height:`${rt/dt}px`}},Fe=ut=>{if(ut.id==="custom"){const rt=`${N.value}:${G.value}`;D.value={...ut,values:rt,aspectRatio:`${N.value} / ${G.value}`},S.value.size=rt}else D.value=ut,S.value.size=ut.values},Pe=ut=>{F.value=ut,l.value=ut.values},qe=ut=>{H||tt(),M.value=ut,_.value=ut.values};function Le(ut){const rt=ut.target||ut,mt=8;rt.style.height="1.5rem";const dt=rt.scrollHeight/rt.value.split(` +`).length*mt;rt.style.height=Math.min(rt.scrollHeight,dt)+"px"}const Oe=async ut=>{const mt=ut.target.value;if(J.value=mt.startsWith("@"),X&&clearTimeout(X),J.value&&!V.value){const Ot=mt.slice(1);X=setTimeout(async()=>{if(Ot.length>0)try{const dt=await fetchSearchAppsAPI({keyword:Ot});O.value=dt.data.rows}catch(dt){console.error("Error fetching search results:",dt),O.value=[]}else O.value=[]},1e3)}else O.value=[]},Ee=computed(()=>{var ut,rt;return String(((ut=ie==null?void 0:ie.value)==null?void 0:ut.pluginImg)||((rt=he==null?void 0:he.value.modelInfo)==null?void 0:rt.modelAvatar)||"")}),Ae=()=>{var Ot;const rt=((Ot=q.value)==null?void 0:Ot.drawingStyles.split(",")).sort(()=>.5-Math.random()),mt=Q.value?3:5;y.value=rt.slice(0,mt)};function Ve(ut){B.value&&/,\s*$/.test(B.value)?B.value+=` ${ut}`:B.value?B.value+=`, ${ut}`:B.value=`${ut} ,`,P.value.focus(),P.value.scrollTop=P.value.scrollHeight}const $e=inject("createNewChatGroup",()=>Promise.resolve()),Ue=async ut=>{var Kt,qt,pn,vt,xt,Rt,At,Pt,$t,Wt,Dt,Yt;if(Te.value)return;k.groupList.length===0&&await $e(),k.setStreamIn(!0);let rt="";((Kt=ie.value)==null?void 0:Kt.parameters)==="suno-v3"?rt="LYRICS":((qt=ie.value)==null?void 0:qt.parameters)==="midjourney"&&(_.value==="imageToText"?rt="DESCRIBE":rt="IMAGINE");let mt=((pn=Y==null?void 0:Y.value)==null?void 0:pn.model)||(k==null?void 0:k.activeModel),Ot=((vt=ie==null?void 0:ie.value)==null?void 0:vt.pluginName)||((xt=Y==null?void 0:Y.value)==null?void 0:xt.name)||ce.value;const dt=de.value;(Rt=ie.value)!=null&&Rt.deductType&&((At=ie.value)==null?void 0:At.deductType)!==0&&(mt=(Pt=ie.value)==null?void 0:Pt.parameters);let Nt=(($t=Y==null?void 0:Y.value)==null?void 0:$t.coverImg)||Ee.value,kt;Y!=null&&Y.value?kt=(Wt=Y==null?void 0:Y.value)==null?void 0:Wt.id:kt=(Dt=ae==null?void 0:ae.value)==null?void 0:Dt.appId;let Ut="";(se.value===1||se.value===2||se.value===3&&(z!=null&&z.type.startsWith("image/"))||oe||pe)&&H.value&&(Ut=await He());let Ht=B.value;if(mt==="midjourney"&&rt==="IMAGINE"){if(Ut)switch(_.value){case"faceConsistency":Ht=`${Ht} --cref ${Ut} --cw 100`;break;case"styleConsistency":Ht=`${Ht} --sref ${Ut}`;break;default:Ht=`${Ut} ${Ht}`}if(S.value.size&&!Ht.includes("--ar")){let Vt=S.value.size;switch(Vt){case"1024x1024":Vt="1:1";break;case"1792x1024":Vt="16:9";break;case"1024x1792":Vt="9:16";break}Ht=`${Ht} --ar ${Vt}`}l.value&&!Ht.includes("--v")&&!Ht.includes("--niji")&&(Ht=`${Ht} ${l.value}`)}if(rt==="DESCRIBE"&&Ut&&(Ht="以图生文"),kt)try{Nt=(await fetchQueryOneCatAPI({id:kt})).data.modelAvatar}catch{}B.value="",H.value="",z=null,P.value.style.height="1.5rem",await m({msg:Ht,action:rt,model:mt,modelName:Ot,modelType:dt,modelAvatar:Nt,appId:kt,extraParam:S.value,fileUrl:Ut,pluginParam:(Yt=ie.value)==null?void 0:Yt.parameters}),k.setStreamIn(!1),L.value=!1},He=async()=>{var ut;L.value=!0;try{const rt=new FormData,mt=new Date,Ot=mt.getFullYear(),dt=String(mt.getMonth()+1).padStart(2,"0"),Nt=String(mt.getDate()).padStart(2,"0"),Ut=`userFiles/${`${Ot}${dt}/${Nt}`}`;z&&rt.append("file",z);const Ht=await axios.post(`${K.value}?dir=${encodeURIComponent(Ut)}`,rt,{headers:{"Content-Type":"multipart/form-data"}});return(ut=Ht==null?void 0:Ht.data)==null?void 0:ut.data}catch{return null}finally{L.value=!1,H.value="",z=null}},Qe=async ut=>{var Ot;console.log("文件选择事件触发");const rt=ut.target,mt=(Ot=rt==null?void 0:rt.files)==null?void 0:Ot[0];mt&&await et(mt)},Ze=async ut=>{const mt=(ut.clipboardData||window.clipboardData).items;for(const Ot of mt)if(Ot.kind==="file"){const dt=Ot.getAsFile();dt&&await et(dt)}},et=async ut=>{let rt=ut.name;const mt=25,Ot=rt.split(".").pop()||"";if(rt.length>mt&&(rt=rt.substring(0,mt-Ot.length-1)+"…."+Ot),ut.type.startsWith("image/"))v.value=!1,je(ut);else if(v.value=!0,je(ut),se.value===3){const dt=await Ke();dt&&await st({fileName:rt,fileParsing:dt})}else await st({fileName:rt})},tt=()=>{var ut;(ut=e==null?void 0:e.value)==null||ut.click()},je=async ut=>{z=ut;const rt=new FileReader;rt.onload=mt=>{var Ot;H.value=(Ot=mt.target)==null?void 0:Ot.result},rt.readAsDataURL(ut),e.value=null},Je=async()=>{H.value="",await st({fileParsing:"",fileName:""}),z=null},nt=async()=>{O.value=[],J.value=!1,V.value=!1,Y.value=null,k.setUsingPlugin(null)},Ke=async()=>{L.value=!0;try{if(!z)throw new Error("No file selected");const ut=z,rt=ut.type;let mt="";if(rt.startsWith("text/"))mt=await Ye(ut);else switch(rt){case"application/pdf":mt=await at(ut);break;case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":mt=await ot(ut,"word/document.xml","word");break;case"application/vnd.openxmlformats-officedocument.presentationml.presentation":mt=await ot(ut,"ppt/slides/slide1.xml","ppt");break;case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":mt=await ot(ut,"xl/worksheets/sheet1.xml","excel");break;case"application/xml":case"application/javascript":case"application/xslt+xml":case"application/json":case"application/sql":mt=await Ye(ut);break;default:console.warn("Unsupported file type:",rt),alert("Unsupported file type")}return mt.length>5e4&&(console.warn("Text exceeds 50000 characters, truncating..."),mt=mt.slice(0,5e4)),mt}catch(ut){return console.error(ut),null}finally{L.value=!1,H.value="",z=null}},at=async ut=>{try{const rt=await ut.arrayBuffer(),mt=new Uint8Array(rt),dt=await createLoadingTask(mt).promise;let Nt="";for(let kt=1;kt<=dt.numPages;kt++){const Kt=(await(await dt.getPage(kt)).getTextContent()).items.map(qt=>"str"in qt?qt.str:"").join(" ");Nt+=`{${Kt}} +`}return Nt}catch(rt){return console.error("Error reading PDF file:",rt),""}},ot=async(ut,rt,mt)=>{try{const Ot=await ut.arrayBuffer(),Nt=(await JSZip.loadAsync(Ot)).file(rt);if(!Nt)throw new Error(`File path ${rt} not found in the ZIP archive`);const kt=await Nt.async("text"),Ut=await parseStringPromise(kt);return Xe(Ut,mt)}catch(Ot){return console.error(`Error reading ${rt} file:`,Ot),""}},Xe=(ut,rt)=>{let mt="";if(rt==="word"){const Ot=ut["w:document"]["w:body"][0]["w:p"];mt=ze(Ot)}else if(rt==="ppt"){const Ot=ut["p:sld"]["p:cSld"][0]["p:spTree"][0]["p:sp"];Ot&&Ot.forEach(dt=>{if(dt["p:txBody"]){const Nt=dt["p:txBody"][0]["a:p"].map(kt=>kt["a:r"]?kt["a:r"].map(Ut=>Ut["a:t"]).filter(Boolean).join(" "):"");mt+=Nt.join(" ")+` +`}})}else if(rt==="excel"){const Ot=ut.worksheet.sheetData[0].row;Ot&&Ot.forEach(dt=>{const Nt=dt.c?dt.c.map(kt=>kt.v).join(" "):"";mt+=Nt+` +`})}return mt},ze=ut=>{let rt="";return ut&&ut.forEach(mt=>{const Ot=mt["w:r"]?mt["w:r"].map(dt=>dt["w:t"]).filter(Boolean).join(" "):"";rt+=Ot+` +`}),rt},Ye=async ut=>await ut.text(),st=async ut=>{const{modelInfo:rt,fileInfo:mt}=k.activeConfig,Ot={modelInfo:{...rt},fileInfo:{fileParsing:ut.fileParsing!==void 0?ut.fileParsing:mt==null?void 0:mt.fileParsing,fileName:ut.fileName!==void 0?ut.fileName:mt==null?void 0:mt.fileName}},dt={groupId:Z.value,config:JSON.stringify(Ot)};await fetchUpdateGroupAPI(dt),await k.queryMyGroup()},_t=ut=>{Q.value?ut.key==="Enter"&&ut.ctrlKey&&(ut.preventDefault(),Ue()):ut.key==="Enter"&&!ut.shiftKey&&(ut.preventDefault(),Ue())},ft=ut=>{var rt;Y.value=ut,V.value=!0,B.value="",(rt=P.value)==null||rt.focus()},Ct=()=>{x("pause-request"),k.setStreamIn(!1)};return watch([N,G],([ut,rt],[mt,Ot])=>{ut&&rt&&(ut!==mt||rt!==Ot)&&(Fe({id:"custom",title:`${ut}:${rt}`,values:`${ut}:${rt}`,aspectRatio:`${ut} / ${rt}`}),W.value=`${N.value} / ${G.value}`)}),watch(xe,ut=>{var rt;B.value=ut,(rt=P.value)==null||rt.focus(),P.value.scrollTop=P.value.scrollHeight}),watch(me,ut=>{ut.length},{immediate:!0}),onMounted(()=>{Ae(),P.value&&(P.value.style.height=initialHeight,Le({target:P.value})),nextTick(()=>{P.value&&!Q.value&&P.value.focus()})}),(ut,rt)=>{var mt,Ot;return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("footer",{class:normalizeClass(["flex flex-col items-center justify-center w-full",[unref(Q)?"px-2":"px-10",{"mb-3":fe.value&&unref(Q)}]])},[createBaseVNode("div",{class:normalizeClass(["flex pb-2 justify-center w-full flex-col m-auto rounded-lg px-0 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none",[unref(Q)?" mx-2":" pt-1 mx-10 "]]),style:{maxWidth:"64rem"}},[createBaseVNode("div",_hoisted_1$7,[(Ce.value||oe.value)&&!unref(Q)?(openBlock(),createElementBlock("div",_hoisted_2$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(y.value,(dt,Nt)=>(openBlock(),createElementBlock("button",{key:Nt,onClick:kt=>Ve(dt),class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 px-2 py-1 my-1 hover:bg-opacity dark:hover:bg-gray-750 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 whitespace-nowrap"},toDisplayString(dt),9,_hoisted_3$6))),128)),createBaseVNode("button",{onClick:Ae,class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 px-2 py-1 my-1 hover:bg-opacity dark:hover:bg-gray-750 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 whitespace-nowrap"},[createVNode(unref(ShuffleOne),{theme:"outline",size:"16",class:"my-4"})])])):createCommentVNode("",!0),_hoisted_4$5,createBaseVNode("div",_hoisted_5$5,[oe.value?(openBlock(),createBlock(unref(ge$1),{key:0,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(M.value.title),1)]),_:1}),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_6$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.value,(dt,Nt)=>(openBlock(),createBlock(unref(be),{key:Nt},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:kt=>qe(dt)},[createBaseVNode("a",_hoisted_8$4,toDisplayString(dt.title),1)],8,_hoisted_7$5)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),oe.value?(openBlock(),createBlock(unref(ge$1),{key:1,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(" 版本:"+toDisplayString(F.value.title),1)]),_:1}),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(g.value,(dt,Nt)=>(openBlock(),createBlock(unref(be),{key:Nt},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:kt=>Pe(dt)},[createBaseVNode("a",_hoisted_11$3,toDisplayString(dt.title),1)],8,_hoisted_10$3)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_12$2,[Ce.value?(openBlock(),createBlock(unref(ge$1),{key:0,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(t)("chat.size")+D.value.title),1)]),_:1}),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_13$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(c.value,(dt,Nt)=>(openBlock(),createBlock(unref(be),{key:Nt},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:kt=>Fe(dt)},[createBaseVNode("a",_hoisted_15$2,[createBaseVNode("div",_hoisted_16$2,[createBaseVNode("div",{style:normalizeStyle(De(dt.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),createBaseVNode("div",_hoisted_17$2,toDisplayString(dt.title),1)])],8,_hoisted_14$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),pe.value?(openBlock(),createBlock(unref(ge$1),{key:1,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap",onClick:tt},{default:withCtx(()=>[createTextVNode(" 图生视频 ")]),_:1})]),_:1})):createCommentVNode("",!0),oe.value||pe.value?(openBlock(),createBlock(unref(ge$1),{key:2,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(t)("chat.size")+D.value.title),1)]),_:1}),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_18$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.value,(dt,Nt)=>(openBlock(),createBlock(unref(be),{key:Nt},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:kt=>Fe(dt)},[createBaseVNode("a",_hoisted_20$1,[createBaseVNode("div",_hoisted_21,[createBaseVNode("div",{style:normalizeStyle(De(dt.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),createBaseVNode("div",_hoisted_22,toDisplayString(dt.title),1)])],8,_hoisted_19$1)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)])])],2),J.value&&!V.value&&!ie.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["flex mb-2 w-full px-2 py-1 justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 resize-none dark:ring-gray-750 dark:bg-gray-800",[unref(Q)?"mx-2":"mx-10"]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[O.value.length===0?(openBlock(),createElementBlock("div",_hoisted_23,_hoisted_25)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(O.value,dt=>(openBlock(),createElementBlock("div",{key:dt.id,onClick:Nt=>ft(dt),class:"flex items-center bg-white dark:bg-gray-800 hover:bg-gray-100 py-2 px-2 dark:hover:bg-gray-700 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},[createBaseVNode("div",_hoisted_27,[dt.coverImg?(openBlock(),createElementBlock("img",{key:0,src:dt.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_28)):(openBlock(),createElementBlock("span",_hoisted_29,toDisplayString(dt.name.charAt(0)),1))]),createBaseVNode("h3",_hoisted_30,toDisplayString(dt.name),1),createBaseVNode("p",_hoisted_31,toDisplayString(dt.des),1)],8,_hoisted_26))),128))],2)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["flex mb-2 w-full justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-gray-750 dark:ring-gray-750 dark:bg-gray-750",[unref(Q)?" mx-2":" mx-10 "]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[H.value||we.value||V.value||ie.value?(openBlock(),createElementBlock("div",_hoisted_32,[H.value&&!v.value?(openBlock(),createElementBlock("div",_hoisted_33,[createBaseVNode("img",{src:H.value,class:"max-h-16 border border-gray-300 rounded-lg",alt:"预览图片"},null,8,_hoisted_34),createBaseVNode("div",{class:"absolute top-2 right-0 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:rt[0]||(rt[0]=dt=>Je())},[createVNode(unref(Close),{class:"rounded-full"})])])):createCommentVNode("",!0),v.value&&(H.value||we.value)&&!V.value&&!ie.value?(openBlock(),createElementBlock("div",_hoisted_35,[createBaseVNode("div",_hoisted_36,[createBaseVNode("span",_hoisted_37,toDisplayString(_e.value),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:rt[1]||(rt[1]=dt=>Je())},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])])):createCommentVNode("",!0),createBaseVNode("div",{class:"relative group w-full",onMouseover:rt[4]||(rt[4]=dt=>R.value=!0),onMouseleave:rt[5]||(rt[5]=dt=>R.value=!1)},[ie.value?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",_hoisted_38,[createBaseVNode("div",_hoisted_39,[ie.value.pluginImg?(openBlock(),createElementBlock("img",{key:0,src:ie.value.pluginImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_40)):(openBlock(),createElementBlock("span",_hoisted_41,toDisplayString(ie.value.pluginName.charAt(0)),1))]),createBaseVNode("h3",_hoisted_42,toDisplayString(ie.value.pluginName),1),createBaseVNode("p",_hoisted_43,toDisplayString(ie.value.description),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:rt[2]||(rt[2]=dt=>nt())},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])],64)):createCommentVNode("",!0),V.value&&!ie.value?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("div",_hoisted_44,[createBaseVNode("div",_hoisted_45,[Y.value.coverImg?(openBlock(),createElementBlock("img",{key:0,src:Y.value.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_46)):(openBlock(),createElementBlock("span",_hoisted_47,toDisplayString(Y.value.name.charAt(0)),1))]),createBaseVNode("h3",_hoisted_48,toDisplayString(Y.value.name),1),createBaseVNode("p",_hoisted_49,toDisplayString(Y.value.des),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:rt[3]||(rt[3]=dt=>nt())},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])],64)):createCommentVNode("",!0)],32)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_50,[createBaseVNode("div",_hoisted_51,[(Ie.value&&!ie.value||oe.value||pe.value)&&!L.value?(openBlock(),createBlock(unref(Link),{key:0,size:"24",class:"p-1 text-gray-400 dark:text-gray-600 dark:hover:text-gray-500",onClick:tt})):createCommentVNode("",!0),L.value?(openBlock(),createBlock(unref(LoadingFour),{key:1,size:"24",class:"p-1 rotate-icon text-gray-400 dark:text-gray-600 hover:text-gray-500"})):createCommentVNode("",!0),createBaseVNode("input",{ref_key:"fileInput",ref:e,type:"file",class:"hidden",onChange:Qe,accept:"image/*, .pdf, .txt, .docx, .pptx, .xlsx, .xml, .js, .xslt, .json, .sql"},null,544)]),createBaseVNode("div",_hoisted_52,[withDirectives(createBaseVNode("textarea",{ref_key:"inputRef",ref:P,"onUpdate:modelValue":rt[6]||(rt[6]=dt=>B.value=dt),placeholder:Ne.value,class:"w-full border-0 text-gray-800 placeholder:text-gray-400 dark:placeholder:text-gray-500 bg-transparent text-md leading-6 resize-none dark:text-gray-400 px-2 my-1",onInput:Le,onKeypress:_t,onKeyup:Oe,onPaste:Ze,style:{maxHeight:"30vh",minHeight:"1.5rem"}},null,40,_hoisted_53),[[vModelText,B.value]])]),createBaseVNode("div",_hoisted_54,[Te.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(["rounded-md text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm dark:text-gray-400",{"bg-primary-600 dark:bg-primary-700":!ke.value,"bg-primary-300 dark:bg-gray-700":ke.value}]),disabled:ke.value,onClick:rt[7]||(rt[7]=dt=>Ue())},[createVNode(unref(SendOne),{size:"16"})],10,_hoisted_55)),Te.value?(openBlock(),createElementBlock("button",{key:1,type:"button",class:"rounded-md bg-primary-600 text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 dark:bg-primary-900 dark:text-gray-400",onClick:rt[8]||(rt[8]=dt=>Ct())},[createVNode(unref(Square$1),{size:"16"})])):createCommentVNode("",!0)])])],2)],2),$.value&&!unref(Q)?(openBlock(),createElementBlock("div",_hoisted_56,[createTextVNode(toDisplayString(unref(t)("chat.generatedContentDisclaimer"))+" "+toDisplayString((mt=q.value)==null?void 0:mt.companyName)+" ",1),createBaseVNode("a",_hoisted_57,toDisplayString((Ot=q.value)==null?void 0:Ot.filingNumber),1)])):createCommentVNode("",!0)],64)}}}),index_vue_vue_type_style_index_0_lang="",_hoisted_1$6={class:"sticky top-0 left-0 right-0 z-30 dark:border-neutral-800 h-14 select-none"},_hoisted_2$5={class:"relative flex items-center justify-center min-w-0 h-full"},_hoisted_3$5={class:"flex w-full h-full items-center px-4"},_hoisted_4$4={class:"flex items-center pr-2"},_hoisted_5$4={key:0},_hoisted_6$4={class:"flex justify-between items-center h-full w-full"},_hoisted_7$4={class:"py-1"},_hoisted_8$3={class:"py-1"},_hoisted_9$3={class:"py-1"},_hoisted_10$2=["onClick"],_hoisted_11$2={class:"w-7 h-7 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden select-none"},_hoisted_12$1=["src"],_hoisted_13$1={key:1,class:"text-sm font-medium select-none"},_hoisted_14$1={class:"flex flex-col flex-1 select-none"},_hoisted_15$1={href:"#",class:"text-sm select-none"},_hoisted_16$1={key:0,class:"text-xs text-gray-400 line-clamp-1 max-w-60 mr-2 select-none"},_hoisted_17$1={class:"ml-auto"},_hoisted_18$1={key:1,class:"w-4 h-4"},_hoisted_19=["disabled"],_hoisted_20=createBaseVNode("div",{class:"mr-2"},"新对话",-1),_sfc_main$6=defineComponent({__name:"index",emits:["export","toggleUsingContext","clear","scrollBtn"],setup(b,{emit:r}){const m=useAppStore(),w=useChatStore(),U=ref([]),k=ref(null),x=computed(()=>w.groupList),a=computed(()=>m.siderCollapsed),g=computed(()=>w.active),n=computed(()=>w.currentPlugin),{isMobile:c}=useBasicLayout(),R=ref(!1),v=computed(()=>w.getChatByGroupInfo()),e=computed(()=>w.chatList),L=computed(()=>{var G;const N=(G=v.value)==null?void 0:G.config;if(!N)return{};try{return JSON.parse(N)}catch{return{}}}),O=computed(()=>{var N,G;return String(((G=(N=L==null?void 0:L.value)==null?void 0:N.modelInfo)==null?void 0:G.model)??"")}),B=computed(()=>{var N;return((N=v==null?void 0:v.value)==null?void 0:N.appId)||0});let P=ref({}),S=ref([]);watch(B,N=>{N?_(N):k.value=null},{immediate:!0});async function _(N){const G=await fetchQueryOneCatAPI({id:N});k.value=G.data}const l=computed(()=>{var N,G,W,J;return((N=v==null?void 0:v.value)==null?void 0:N.appId)&&(((G=L.value.modelInfo)==null?void 0:G.isFixedModel)===1||((W=L.value.modelInfo)==null?void 0:W.isGPTs)===1)||n.value&&((J=n==null?void 0:n.value)==null?void 0:J.deductType)!==0}),y=inject("createNewChatGroup",()=>Promise.resolve());function D(){m.setSiderCollapsed(!a.value)}async function M(N){var X;const{modelInfo:G,fileInfo:W}=w.activeConfig,{isGPTs:J,isFixedModel:Y,modelName:V}=G,H={modelInfo:{keyType:N.keyType,modelName:((X=v==null?void 0:v.value)!=null&&X.appId?V:N.label)||"",model:N.value,deductType:N.deductType,deduct:N.deduct,isFileUpload:N.isFileUpload,modelAvatar:N.modelAvatar||"",isGPTs:J,isFixedModel:Y},fileInfo:W||{}},z={groupId:g.value,config:JSON.stringify(H)};await fetchUpdateGroupAPI(z),await w.queryMyGroup()}async function F(){try{const N=await fetchQueryModelsListAPI();if(!N.success)return;const{modelMaps:G,modelTypeList:W}=N.data;P.value=G,S.value=W;const Y=Object.values(G).flat().filter(V=>V.keyType===1);U.value=Y.map(V=>({label:V.modelName,value:V.model,deductType:V.deductType,keyType:V.keyType,deduct:V.deduct,isFileUpload:V.isFileUpload,modelAvatar:V.modelAvatar,modelDescription:V.modelDescription}))}catch{}}return onMounted(()=>{F()}),(N,G)=>(openBlock(),createElementBlock("header",_hoisted_1$6,[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$5,[createBaseVNode("div",_hoisted_4$4,[createBaseVNode("button",{class:"flex items-center justify-center w-5 h-full dark:text-gray-400 text-gray-500",onClick:D},[unref(c)?(openBlock(),createBlock(unref(HamburgerButton),{key:1,size:"24"})):(openBlock(),createElementBlock("div",_hoisted_5$4,[a.value?(openBlock(),createBlock(unref(Right),{key:0,theme:"outline",size:"24"})):(openBlock(),createBlock(unref(Left),{key:1,theme:"outline",size:"24"}))]))])]),createBaseVNode("div",_hoisted_6$4,[l.value?(openBlock(),createBlock(unref(ge$1),{key:0,as:"div",class:"relative flex-1 flex ele-drag items-center justify-between h-full"},{default:withCtx(()=>[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_7$4,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:withCtx(()=>{var W,J;return[createTextVNode(toDisplayString(((W=n.value)==null?void 0:W.pluginName)||((J=v.value)==null?void 0:J.title)||"新对话"),1)]}),_:1})])])]),_:1})):(openBlock(),createBlock(unref(ge$1),{key:1,as:"div",class:"relative flex-1 flex ele-drag items-center h-full justify-between"},{default:withCtx(()=>[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_8$3,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-750 dark:text-gray-400 text-gray-500",onMouseover:G[0]||(G[0]=W=>R.value=!0),onMouseleave:G[1]||(G[1]=W=>R.value=!1)},{default:withCtx(()=>{var W,J;return[createTextVNode(toDisplayString(((J=(W=L.value)==null?void 0:W.modelInfo)==null?void 0:J.modelName)||"新对话")+" ",1),R.value||unref(c)?(openBlock(),createBlock(unref(Right),{key:0,size:"20",class:normalizeClass(["justify-center items-center",{"text-base font-bold":unref(c),"text-sm":!unref(c)}])},null,8,["class"])):createCommentVNode("",!0)]}),_:1})])]),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute top-full z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900 overflow-y-auto",style:{maxHeight:"60vh"}},{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(U.value,(W,J)=>(openBlock(),createBlock(unref(be),{key:J},{default:withCtx(()=>[createBaseVNode("div",{class:"flex items-center space-x-4 mx-2 hover:bg-gray-100 dark:hover:bg-gray-700 p-2 rounded-md select-none",onClick:Y=>M(W)},[createBaseVNode("div",_hoisted_11$2,[W.modelAvatar?(openBlock(),createElementBlock("img",{key:0,src:W.modelAvatar,alt:"app cover",class:"w-full h-full object-cover"},null,8,_hoisted_12$1)):(openBlock(),createElementBlock("span",_hoisted_13$1,toDisplayString(W.label.charAt(0)),1))]),createBaseVNode("div",_hoisted_14$1,[createBaseVNode("a",_hoisted_15$1,toDisplayString(W.label),1),W.modelDescription?(openBlock(),createElementBlock("div",_hoisted_16$1,toDisplayString(W.modelDescription),1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_17$1,[O.value===W.value?(openBlock(),createBlock(unref(CheckOne),{key:0,theme:"filled",size:"16",class:"dark:text-gray-500"})):(openBlock(),createElementBlock("div",_hoisted_18$1))])],8,_hoisted_10$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})),createBaseVNode("button",{type:"button",class:"rounded-md py-2 px-3 text-sm focus-visible:outline-none text-gray-500 hover:text-gray-700 dark:hover:text-gray-400 hover:bg-gray-50 flex items-center dark:hover:bg-gray-750 font-semibold",onClick:G[2]||(G[2]=W=>unref(y)()),disabled:e.value.length===0&&!B.value&&x.value.length!==0},[_hoisted_20,createVNode(unref(EditTwo),{size:"20"})],8,_hoisted_19)])])])]))}});function useChat(){const b=useChatStore();return{addGroupChat:U=>{b.addGroupChat(U)},updateGroupChat:(U,k)=>{b.updateGroupChat(U,k)},updateGroupChatSome:(U,k)=>{b.updateGroupChatSome(U,k)}}}function useCopyCode(){function b(){document.querySelectorAll(".code-block-wrapper").forEach(m=>{const w=m.querySelector(".code-block-header__copy"),U=m.querySelector(".code-block-body");w&&U&&w.addEventListener("click",()=>{var k;(k=navigator.clipboard)!=null&&k.writeText?navigator.clipboard.writeText(U.textContent??""):copyText({text:U.textContent??"",origin:!0})})})}onMounted(()=>b()),onUpdated(()=>b())}let isInteracting=!1,interactionTimeoutId;function useScroll(){const b=ref(null);let r=0;const m=async()=>{await nextTick(),b.value&&(b.value.scrollTop=b.value.scrollHeight)},w=async()=>{await nextTick(),b.value&&(b.value.scrollTop=0)};async function U(){if(await nextTick(),b.value){const g=b.value.scrollHeight-b.value.scrollTop-b.value.clientHeight;!isInteracting&&g<=200&&(b.value.scrollTop=b.value.scrollHeight)}}const k=()=>{interactionTimeoutId!==void 0&&clearTimeout(interactionTimeoutId),isInteracting=!0,interactionTimeoutId=window.setTimeout(()=>{isInteracting=!1},2e3)},x=()=>{if(b.value){const a=b.value.scrollTop;a{b.value&&b.value.addEventListener("scroll",x,!0)}),onUnmounted(()=>{b.value&&b.value.removeEventListener("scroll",x,!0)}),{scrollRef:b,scrollToBottom:m,scrollToTop:w,scrollToBottomIfAtBottom:U}}const _hoisted_1$5={class:"h-full flex flex-col pb-2 bg-white dark:bg-gray-800"},_hoisted_2$4={class:"flex-1 overflow-hidden"},_hoisted_3$4={class:"sticky bottom-0 left-0 flex justify-center mb-1 p-1"},_sfc_main$5=defineComponent({__name:"chatBase",setup(b){const r=useRoute(),m=useDialog(),w=useMessage(),{isMobile:U}=useBasicLayout(),{scrollRef:k,scrollToBottom:x,scrollToBottomIfAtBottom:a}=useScroll();useCopyCode();const g=useGlobalStoreWithOut(),n=useAuthStore(),c=useChatStore(),R=ref(),v=ref(!0),e=ref(!1),L=ref(new AbortController),O=computed(()=>c.groupList),B=computed(()=>r.query.trade_status),P=computed(()=>r.query.token),S=computed(()=>n.isLogin),_=computed(()=>c.currentPlugin),l=computed(()=>c.chatList),y=computed(()=>c.active),D=computed(()=>c.getChatByGroupInfo()),M=computed(()=>{var Z;const de=(Z=D.value)==null?void 0:Z.config;if(!de)return{};try{return JSON.parse(de)}catch{return{}}}),F=computed(()=>{var de,Z;return String(((Z=(de=M==null?void 0:M.value)==null?void 0:de.fileInfo)==null?void 0:Z.fileParsing)||"")}),N=computed(()=>{var de,Z;return String(((Z=(de=M==null?void 0:M.value)==null?void 0:de.modelInfo)==null?void 0:Z.model)||"")}),G=computed(()=>{var de;return String(((de=_==null?void 0:_.value)==null?void 0:de.pluginName)||(M==null?void 0:M.value.modelInfo.modelName)||"AI")}),W=computed(()=>Number((M==null?void 0:M.value.modelInfo.keyType)||1)),J=computed(()=>{var de,Z;return String(((de=_==null?void 0:_.value)==null?void 0:de.pluginImg)||((Z=M==null?void 0:M.value.modelInfo)==null?void 0:Z.modelAvatar)||"")}),Y=computed(()=>{var de;return((de=D==null?void 0:D.value)==null?void 0:de.appId)||0}),{addGroupChat:V,updateGroupChat:H,updateGroupChatSome:z}=useChat(),X=()=>{const de=k.value;if(!de)return;if(!(de.scrollHeight>de.clientHeight)){e.value=!0;return}const ae=R.value.getBoundingClientRect();e.value=ae.top{R.value.scrollIntoView({behavior:"smooth"})},$=inject("createNewChatGroup",()=>Promise.resolve()),fe=async({msg:de,action:Z,drawId:ae,customId:he,model:we,modelName:_e,modelType:ye,modelAvatar:se,appId:Ie,extraParam:Ce,fileUrl:oe,chatId:pe})=>{var He,Qe,Ze,et;O.value.length===0&&await $(),pe&&(await c.deleteChatsAfterId(pe),me.value+=1),c.setStreamIn(!0);const xe=_e||G.value,Ne=ye||W.value||1,ke=se||J.value,De=Ie||Y.value;let Fe=de||"提问",Pe=we||N.value;L.value=new AbortController,(He=_.value)!=null&&He.deductType&&((Qe=_.value)==null?void 0:Qe.deductType)!==0&&(Pe=(Ze=_.value)==null?void 0:Ze.parameters),V({text:Fe,model:Pe,modelName:_e,modelType:ye,inversion:!0,fileInfo:oe});let qe={groupId:+y.value,fileParsing:F.value};V({text:"",model:Pe,modelName:_e,modelType:ye,loading:!0,inversion:!1,error:!1,modelAvatar:ke,status:2,pluginParam:(et=_.value)==null?void 0:et.parameters}),await x();const Le=null;let Oe=null;c.setStreamIn(!0),g.updateIsChatIn(!0);const Ee=async()=>{Pe==="dall-e-3"||Pe==="midjourney"||Pe==="suno-v3"||Pe==="stable-diffusion"||Pe==="luma-video"?await Ae():await Ve()},Ae=async()=>{var tt;try{const je=await fetchChatAPIProcess({prompt:Fe,fileInfo:oe||"",model:Pe,modelName:xe,modelAvatar:ke,modelType:2,action:Z,drawId:ae||"",customId:he,options:qe,usingPluginId:((tt=_.value)==null?void 0:tt.pluginId)||0,extraParam:Ce||{},signal:L.value.signal});$e(je)}catch{}},Ve=async()=>{var Je;let tt="",je=0;try{await fetchChatAPIProcess({model:Pe,modelName:xe,modelType:Ne,prompt:de,usingPluginId:((Je=_.value)==null?void 0:Je.pluginId)||0,fileInfo:oe,appId:De||0,modelAvatar:ke,options:qe,signal:L.value.signal,onDownloadProgress:({event:nt})=>{const at=nt.target.responseText,ot=at.substring(je);je=at.length,ot.trim().split(` +`).forEach(ze=>{try{const Ye=JSON.parse(ze);Ye.userBalance&&n.updateUserBalance(Ye.userBalance),Ye.text&&(tt+=Ye.text)}catch{}}),H(l.value.length-1,{chatId:Oe==null?void 0:Oe.chatId,text:tt,modelType:1,modelName:xe,error:!1,loading:!0,fileInfo:Oe==null?void 0:Oe.fileInfo}),a()}})}catch(nt){Ue(nt)}finally{g.updateIsChatIn(!1),z(l.value.length-1,{loading:!1})}},$e=tt=>{if(!tt)return;const{modelName:je,model:Je,drawId:nt,customId:Ke,text:at,status:ot,fileInfo:Xe,userBalance:ze,pluginParam:Ye}=tt,st=l.value.length-1;H(st,{text:at,model:Je,modelType:2,modelName:je,inversion:!1,drawId:nt,customId:Ke,error:!1,loading:!1,fileInfo:Xe,status:ot,pluginParam:Ye}),x(),Object.keys(ze).length&&n.updateUserBalance(ze)},Ue=tt=>{if(console.error("fetchChatAPIProcess error:",tt),g.updateIsChatIn(!1),clearInterval(Le),c.setStreamIn(!1),(tt.code===402||tt!=null&&tt.message.includes("余额不足")||tt!=null&&tt.message.includes("体验额度使用完毕"))&&(S.value?g.updateGoodsDialog(!0):n.setLoginDialog(!0)),tt!=null&&tt.message.includes("canceled")){z(l.value.length-1,{loading:!1}),a(),setTimeout(()=>{n.getUserBalance()},200);return}const je=l.value[l.value.length-1];H(l.value.length-1,{chatId:Oe==null?void 0:Oe.chatId,ttsUrl:Oe==null?void 0:Oe.ttsUrl,taskData:Oe==null?void 0:Oe.taskData,videoUrl:Oe==null?void 0:Oe.videoUrl,audioUrl:Oe==null?void 0:Oe.audioUrl,status:Oe==null?void 0:Oe.status,action:Oe==null?void 0:Oe.action,text:je.text===""?"":je.text,inversion:!1,loading:!1,fileInfo:Oe==null?void 0:Oe.fileInfo,conversationOptions:null,pluginParam:Oe==null?void 0:Oe.pluginParam}),a()};await Ee(),c.setStreamIn(!1),await new Promise(tt=>setTimeout(tt,3e3)),await c.queryActiveChatLogList()},Q=()=>{L.value.abort(),c.setStreamIn(!1),setTimeout(x,1e3)},ie=async de=>{try{n.setToken(de),await router.replace({name:"Chat",query:{}}),w.success("账户登录成功、开始体验吧!"),await n.getUserInfo()}catch(Z){console.error("登录过程中发生错误:",Z)}},Te=async()=>{B.value.toLowerCase().includes("success")?(w.success("感谢你的购买、祝您使用愉快~",{duration:5e3}),await n.getUserInfo(),router.replace({name:"Chat",query:{}})):w.error("您还没有购买成功哦~")},me=ref(0),K=async({chatId:de})=>{m.warning({title:t("chat.deleteMessage"),content:t("chat.deleteMessageConfirm"),positiveText:t("common.yes"),negativeText:t("common.no"),onPositiveClick:async()=>{await c.deleteChatById(de),me.value+=1,w.success(t("chat.deleteSuccess"))}})},ce=async(de,Z)=>{if(console.log("index",de),c.groupList.length===0||de===0)return;let ae="";if(de&&typeof de=="number"){const{text:he,inversion:we}=l.value[de-1];if(he&&(ae=he),!we)return}fe({msg:ae,chatId:Z-1}),x()};return watch(l,de=>{de.length!==0&&v.value&&(v.value=!1,x())},{immediate:!0}),watch(k,()=>{X()},{flush:"post"}),onMounted(async()=>{P.value&&ie(P.value),B.value&&Te(),await nextTick(async()=>{await c.queryActiveChatLogList()})}),onMounted(()=>{const de=k.value;de&&de.addEventListener("scroll",X)}),provide("onConversation",fe),provide("handleRegenerate",ce),(de,Z)=>(openBlock(),createElementBlock("div",_hoisted_1$5,[createVNode(_sfc_main$6),createBaseVNode("main",_hoisted_2$4,[createBaseVNode("div",{id:"scrollRef",ref_key:"scrollRef",ref:k,class:"relative h-full overflow-hidden overflow-y-auto scroll-smooth"},[createBaseVNode("div",{id:"image-wrapper",class:normalizeClass(["w-full m-auto h-full mx-auto",[unref(U)?"p-3":"p-3 w-full"]]),style:{maxWidth:"64rem"}},[!l.value.length&&!Y.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["flex justify-center items-center text-center",[unref(U)?"h-full":"h-4/5 "]])},[createVNode(_sfc_main$9)],2)):createCommentVNode("",!0),!l.value.length&&Y.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex justify-center items-center",[unref(U)?"h-full":"h-4/5 "]])},[createVNode(_sfc_main$8,{appId:Y.value},null,8,["appId"])],2)):createCommentVNode("",!0),l.value.length?(openBlock(),createElementBlock("div",{key:me.value},[(openBlock(!0),createElementBlock(Fragment,null,renderList(l.value,(ae,he)=>(openBlock(),createBlock(unref(_sfc_main$a),{index:he,chatId:ae.chatId,text:ae.text,model:ae.model,modelType:ae.modelType,modelName:ae.modelName,modelAvatar:ae.modelAvatar,status:ae.status,fileInfo:ae.fileInfo,ttsUrl:ae.ttsUrl,taskData:ae.taskData,videoUrl:ae.videoUrl,audioUrl:ae.audioUrl,action:ae.action,inversion:ae.inversion,loading:ae.loading,drawId:ae.drawId,customId:ae.customId,pluginParam:ae.pluginParam,onDelete:we=>K(ae)},null,8,["index","chatId","text","model","modelType","modelName","modelAvatar","status","fileInfo","ttsUrl","taskData","videoUrl","audioUrl","action","inversion","loading","drawId","customId","pluginParam","onDelete"]))),256)),createBaseVNode("div",_hoisted_3$4,[e.value?createCommentVNode("",!0):(openBlock(),createBlock(unref(DownSmall),{key:0,size:"24",class:"bg-white p-1 shadow-sm rounded-full border text-gray-700 border-gray-400 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-500",onClick:q,theme:"outline",strokeWidth:2}))])])):createCommentVNode("",!0),createBaseVNode("div",{ref_key:"bottomContainer",ref:R,class:"bottom"},null,512)],2)],512)]),createVNode(_sfc_main$7,{onPauseRequest:Q})]))}}),chatBase_vue_vue_type_style_index_0_lang="",logo=""+new URL("logo-89dd0dfe.png",import.meta.url).href;function debounce(b,r){let m;return(...w)=>{const U=()=>{clearTimeout(m),b(...w)};clearTimeout(m),m=setTimeout(U,r)}}function render$1(b,r){return openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[createBaseVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function render(b,r){return openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[createBaseVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])}const _hoisted_1$4={class:"mt-3 mb-1 text-xs font-bold"},_hoisted_2$3={class:"ml-1"},_hoisted_3$3=["onClick"],_hoisted_4$3={class:"flex items-center"},_hoisted_5$3=["onUpdate:modelValue","onKeypress"],_hoisted_6$3={key:1,class:"flex-1 truncate max-w-48"},_hoisted_7$3={key:0,class:"absolute z-10 right-2"},_hoisted_8$2={class:"py-1"},_hoisted_9$2=["onClick"],_hoisted_10$1=["onClick"],_hoisted_11$1=["onClick"],_sfc_main$4=defineComponent({__name:"ListItem",props:{dataSources:{},title:{}},emits:["update","delete","sticky","select"],setup(b,{emit:r}){const m=b,w=r,U=m.dataSources,k=useChatStore();async function x(L){w("select",L)}function a(L,O,B){B==null||B.stopPropagation(),L.isEdit=O}async function g(L,O){O==null||O.stopPropagation(),await k.updateGroupInfo({isSticky:!L.isSticky,groupId:L.uuid})}async function n(L,O){O==null||O.stopPropagation(),w("delete",L)}const c=debounce(n,600);async function R(L){const{uuid:O,title:B}=L;L.isEdit=!1,await k.updateGroupInfo({groupId:O,title:B})}async function v(L,O){O==null||O.stopPropagation(),O.key==="Enter"&&R(L)}function e(L){return k.active===L}return(L,O)=>{var P;const B=resolveDirective("focus");return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("p",_hoisted_1$4,[createTextVNode(toDisplayString(m.title)+" ",1),createBaseVNode("span",_hoisted_2$3,"("+toDisplayString((P=unref(U))==null?void 0:P.length)+")",1)]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(U),S=>(openBlock(),createElementBlock("div",{key:`${S.uuid}`},[createBaseVNode("div",{class:normalizeClass(["relative flex items-center gap-3 px-3 py-2 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm",e(S.uuid)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["text-gray-700","dark:bg-gray-900","dark:text-gray-400"]]),onClick:_=>x(S)},[createBaseVNode("div",_hoisted_4$3,[S.isEdit?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":_=>S.title=_,type:"text",class:"bg-transparent border border-gray-200 dark:border-gray-400 px-1 shadow-none flex-1 truncate",onKeypress:_=>v(S,_)},null,40,_hoisted_5$3)),[[vModelText,S.title],[B]]):(openBlock(),createElementBlock("span",_hoisted_6$3,toDisplayString(S.title),1)),S.isEdit?(openBlock(),createBlock(unref(render$1),{key:2,class:"h-5 w-5 ml-2","aria-hidden":"true",onClick:_=>R(S)},null,8,["onClick"])):createCommentVNode("",!0)]),e(S.uuid)?(openBlock(),createElementBlock("div",_hoisted_7$3,[S.isEdit?createCommentVNode("",!0):(openBlock(),createBlock(unref(ge$1),{key:0,as:"div",class:"relative inline-block text-left"},{default:withCtx(()=>[createVNode(unref(Se),{class:"p-1"},{default:withCtx(()=>[createVNode(unref(render),{class:"h-5 w-5","aria-hidden":"true"})]),_:1}),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 z-10 mt-2 w-32 text-gray-700 dark:text-gray-400 origin-top-right text-b rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bg-primary-100 dark:bg-gray-800"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$2,[createVNode(unref(be),{as:"template"},{default:withCtx(({active:_})=>[createBaseVNode("button",{class:normalizeClass([_?"flex items-center bg-gray-100 dark:bg-gray-700 ":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:l=>a(S,!0,l)},toDisplayString(unref(t)("chat.rename")),11,_hoisted_9$2)]),_:2},1024),createVNode(unref(be),{as:"template"},{default:withCtx(({active:_})=>[createBaseVNode("button",{class:normalizeClass([_?"flex items-end mr-3 bg-gray-100 dark:bg-gray-700":"flex items-end ","block w-full px-4 py-2 text-left text-sm"]),onClick:l=>g(S,l)},toDisplayString(S.isSticky?unref(t)("chat.unfavorite"):unref(t)("chat.favoriteConversations")),11,_hoisted_10$1)]),_:2},1024),createVNode(unref(be),{as:"template"},{default:withCtx(({active:_})=>[createBaseVNode("button",{class:normalizeClass([_?"flex items-center bg-gray-100 dark:bg-gray-700":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:l=>unref(c)(S,l)},toDisplayString(unref(t)("chat.deleteConversation")),11,_hoisted_11$1)]),_:2},1024)])]),_:2},1024)]),_:2},1024)]),_:2},1024))])):createCommentVNode("",!0)],10,_hoisted_3$3)]))),128))],64)}}}),_hoisted_1$3={class:"flex flex-col gap-3 text-sm"},_hoisted_2$2={key:0,class:"flex flex-col items-center mt-4 text-center text-neutral-300"},_hoisted_3$2={class:"mt-3 mb-1 text-xs font-bold"},_hoisted_4$2=["onClick"],_hoisted_5$2={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden"},_hoisted_6$2=["src"],_hoisted_7$2={key:1,class:"text-sm font-medium"},_sfc_main$3=defineComponent({__name:"List",setup(b){const{isMobile:r}=useBasicLayout(),m=useRouter(),w=useRoute(),U=useAppStore(),k=useChatStore(),x=useAuthStore(),a=useMessage(),g=ref(100),n=useAppCatStore(),c=ref(!1),R=ref(!1),v=computed(()=>k.groupList),e=computed(()=>k.groupKeyWord);watch(v,()=>g.value=g.value+1),watch(e,()=>g.value=g.value+1);const L=computed(()=>k.isStreamIn!==void 0?k.isStreamIn:!1);computed(()=>x.isLogin);const O=inject("createNewChatGroup",async J=>{}),B=computed(()=>n.mineApps);function P(J){const V=new Date(J).getTime()+8*60*60*1e3;return new Date(V).getTime()}const S=new Date().setHours(0,0,0,0),_=computed(()=>v.value.filter(J=>e.value?J.title.includes(e.value)&&J.isSticky:J.isSticky)),l=computed(()=>v.value.filter(J=>e.value?J.title.includes(e.value)&&!J.isSticky&&P(J.updatedAt)>=S:!J.isSticky&&P(J.updatedAt)>=S)),y=computed(()=>v.value.filter(J=>e.value?J.title.includes(e.value)&&!J.isSticky&&P(J.updatedAt)x.isLogin,(J,Y)=>{J===!0&&(n.queryMineApps(),k.queryMyGroup())},{immediate:!0}),(J,Y)=>(openBlock(),createBlock(unref(NScrollbar),{class:"px-4"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$3,[v.value.length?(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("p",_hoisted_3$2,toDisplayString(unref(t)("chat.myApps")),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(R.value?B.value:B.value.slice(0,4),V=>(openBlock(),createElementBlock("div",{key:V.appId,onClick:H=>M(V.appId),class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'"},[createBaseVNode("div",_hoisted_5$2,[V.coverImg?(openBlock(),createElementBlock("img",{key:0,src:V.coverImg,alt:"app cover",class:"w-full h-full object-cover"},null,8,_hoisted_6$2)):(openBlock(),createElementBlock("span",_hoisted_7$2,toDisplayString(V.appName.charAt(0)),1))]),createBaseVNode("button",null,toDisplayString(V.appName),1)],8,_hoisted_4$2))),128)),B.value.length>4?(openBlock(),createElementBlock("button",{key:0,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:Y[0]||(Y[0]=V=>R.value=!R.value)},[createTextVNode(toDisplayString(R.value?unref(t)("chat.collapse"):unref(t)("chat.more"))+" ",1),R.value?(openBlock(),createBlock(unref(Up),{key:1,theme:"outline",size:"20"})):(openBlock(),createBlock(unref(Down),{key:0,theme:"outline",size:"20"}))])):createCommentVNode("",!0),createBaseVNode("div",{class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'",onClick:W},[createVNode(unref(ApplicationTwo),{theme:"outline",size:"25",class:"ml-1 mr-1 text-sm my-1 text-gray-600"}),createTextVNode(" "+toDisplayString(unref(t)("chat.appSquare")),1)]),_.value.length?(openBlock(),createBlock(_sfc_main$4,{key:`stickyList-${c.value}-${_.value}`,title:unref(t)("chat.favorites"),"data-sources":c.value?_.value:_.value.slice(0,5),onSelect:D,onDelete:F},null,8,["title","data-sources"])):createCommentVNode("",!0),_.value.length>5?(openBlock(),createElementBlock("button",{key:2,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:Y[1]||(Y[1]=V=>c.value=!c.value)},[createTextVNode(toDisplayString(c.value?unref(t)("chat.collapse"):unref(t)("chat.more"))+" ",1),c.value?(openBlock(),createBlock(unref(Up),{key:1,theme:"outline",size:"20"})):(openBlock(),createBlock(unref(Down),{key:0,theme:"outline",size:"20"}))])):createCommentVNode("",!0),l.value.length?(openBlock(),createBlock(_sfc_main$4,{key:3e3+g.value,title:unref(t)("chat.todayConversations"),"data-sources":l.value,onSelect:D,onDelete:F},null,8,["title","data-sources"])):createCommentVNode("",!0),y.value.length?(openBlock(),createBlock(_sfc_main$4,{key:4e3+g.value,title:unref(t)("chat.historyConversations"),"data-sources":y.value,onSelect:D,onDelete:F},null,8,["title","data-sources"])):createCommentVNode("",!0)],64)):(openBlock(),createElementBlock("div",_hoisted_2$2,[createVNode(unref(_sfc_main$j),{icon:"ri:inbox-line",class:"mb-2 text-3xl"}),createBaseVNode("span",null,toDisplayString(J.$t("common.noData")),1)]))])]),_:1}))}}),_hoisted_1$2={class:"flex flex-col gap-3 px-4 py-1 overflow-y-auto max-h-full noScrollbar",style:{"-ms-overflow-style":"none","scrollbar-width":"none"}},_hoisted_2$1={class:"flex items-center justify-between w-full my-1"},_hoisted_3$1={class:"flex items-center space-x-2"},_hoisted_4$1={class:"w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-500 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},_hoisted_5$1=["src"],_hoisted_6$1={key:1,class:"text-sm font-medium"},_hoisted_7$1={class:"line-clamp-1 overflow-hidden text-ellipsis w-32 block whitespace-nowrap font-medium text-base text-gray-700 dark:text-gray-100"},_hoisted_8$1=createBaseVNode("span",{"aria-hidden":"true",class:"pointer-events-none absolute h-full w-full rounded-full bg-white dark:bg-transparent"},null,-1),_hoisted_9$1={class:"min-h-[2rem] text-xs line-clamp-2 text-gray-600 dark:text-gray-400 mb-2"},_sfc_main$2=defineComponent({__name:"Plugin",setup(b){const r=useChatStore(),m=ref(100),w=computed(()=>r.groupList),U=computed(()=>r.groupKeyWord),k=[],x=computed(()=>{var n;return(n=r.pluginList)!=null&&n.length?r.pluginList:k});watch(w,()=>m.value=m.value+1),watch(U,()=>m.value=m.value+1);const a=computed(()=>r.currentPlugin);w.value.filter(n=>U.value?n.title.includes(U.value)&&n.isSticky:n.isSticky);function g(n){var c;((c=a.value)==null?void 0:c.parameters)===n.parameters?r.setUsingPlugin(null):r.setUsingPlugin(n)}return onMounted(()=>{r.queryPlugins(),r.queryMyGroup()}),(n,c)=>(openBlock(),createElementBlock("div",_hoisted_1$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(x.value,R=>(openBlock(),createElementBlock("div",{key:R.parameters,class:"select-none relative h-26 bg-white shadow flex flex-col items-start gap-3 px-3 py-1 break-all rounded-lg cursor-pointer group font-medium dark:bg-gray-800"},[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[createBaseVNode("div",_hoisted_4$1,[R.pluginImg?(openBlock(),createElementBlock("img",{key:0,src:R.pluginImg,alt:"App cover",class:"w-full h-full object-cover"},null,8,_hoisted_5$1)):(openBlock(),createElementBlock("span",_hoisted_6$1,toDisplayString(R.pluginName.charAt(0)),1))]),createBaseVNode("span",_hoisted_7$1,toDisplayString(R.pluginName),1)]),createVNode(unref(ue),{class:normalizeClass(["group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none"]),onClick:withModifiers(v=>g(R),["prevent"])},{default:withCtx(()=>{var v,e;return[_hoisted_8$1,createBaseVNode("span",{"aria-hidden":"true",class:normalizeClass([((v=a.value)==null?void 0:v.parameters)===R.parameters?"bg-indigo-600":"bg-gray-200 dark:bg-gray-700","pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out"])},null,2),createBaseVNode("span",{"aria-hidden":"true",class:normalizeClass([((e=a.value)==null?void 0:e.parameters)===R.parameters?"translate-x-5":"translate-x-0","pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-500 shadow ring-0 transition-transform duration-200 ease-in-out"])},null,2)]}),_:2},1032,["onClick"])]),createBaseVNode("div",null,[createBaseVNode("span",_hoisted_9$1,toDisplayString(R.description),1)])]))),128))]))}}),_hoisted_1$1={class:"flex flex-col h-full flex-1"},_hoisted_2={key:0,class:"flex bg-opacity w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},_hoisted_3={class:"w-full flex justify-center space-x-2 font-medium rounded-full bg-gray-100 dark:bg-gray-800 shadow-sm"},_hoisted_4={key:1,class:"flex bg-opacity w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},_hoisted_5={class:"w-full py-1 text-primary-600 dark:text-gray-100 text-lg font-bold flex justify-between"},_hoisted_6=["src"],_hoisted_7={class:"mx-auto"},_hoisted_8={key:1,class:"h-7 w-7"},_hoisted_9={class:"flex-1 min-h-0 overflow-hidden"},_hoisted_10={class:"p-4 pb-1 pt-1 border-t-gray-100 dark:border-t-gray-800 flex items-center justify-between text-left w-full"},_hoisted_11={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},_hoisted_12=["src"],_hoisted_13={class:"py-1"},_hoisted_14=createBaseVNode("button",{type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-opacity dark:hover:bg-gray-800 w-full"},[createBaseVNode("span",null,"登录 / 注册")],-1),_hoisted_15=[_hoisted_14],_hoisted_16={type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-opacity dark:hover:bg-gray-800 w-full"},_hoisted_17={key:2,class:"w-full flex justify-center items-center pb-3 text-xs text-gray-500"},_hoisted_18={class:"ml-2 transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",href:"https://beian.miit.gov.cn",target:"_blank"},_sfc_main$1=defineComponent({__name:"index",setup(b){var ye;const r=useGlobalStoreWithOut(),m=useRouter(),w=useAppStore(),U=useChatStore(),k=useAuthStore(),x=ref(null),a=ref(null),g=ref(null),n=computed(()=>{var se;return Number((se=k.globalConfig)==null?void 0:se.signInStatus)===1}),c=computed(()=>{var se;return Number((se=k.globalConfig)==null?void 0:se.isHideSidebar)===1}),R=computed(()=>w.theme==="dark"),v=computed(()=>k.userBalance),e=computed(()=>U.currentPlugin),L=useDialog(),O=ref(0),B=ref(0),P=ref(0),S=ref(0),_=ref(0),l=ref(0),{isMobile:y}=useBasicLayout(),D=computed(()=>k.isLogin),M=computed(()=>k.globalConfig.clientLogoPath||logo);computed(()=>k.globalConfig.clientHomePath||"/");const F=((ye=k.globalConfig)==null?void 0:ye.siteName)||"AIWeb",N=computed(()=>k.globalConfig.model3Name||t("chat.ordinaryPoints")),G=computed(()=>k.globalConfig.model4Name)||t("chat.advancedPoints"),W=computed(()=>k.globalConfig.drawMjName)||t("chat.drawingPoints"),J=computed(()=>Number(k.globalConfig.pluginFirst)===1),Y=computed(()=>Number(k.globalConfig.isHidePlugin)===1),V=computed(()=>k.userInfo.avatar),H=computed(()=>w.siderCollapsed);ref("");const z=ref(!J.value||Y.value?"chat":"plugin");ref(!1);const X=computed(()=>k.globalConfig),q=computed(()=>{var se,Ie;return((se=X.value)==null?void 0:se.companyName)&&((Ie=X.value)==null?void 0:Ie.filingNumber)}),$=computed(()=>U.groupList.find(Ie=>Ie.uuid===U.active)),fe=computed(()=>{var se;try{return JSON.parse(((se=$.value)==null?void 0:se.config)||"{}")}catch{return{}}}),Q=computed(()=>U==null?void 0:U.activeModelDeductType),ie=computed(()=>{var oe;const se=((oe=e==null?void 0:e.value)==null?void 0:oe.deductType)||fe.value.deductType||Q.value;let Ie,Ce;switch(se){case 1:Ie=v.value.sumModel3Count||0,Ce=N.value;break;case 2:Ie=v.value.sumModel4Count||0,Ce=G.value;break;case 3:Ie=v.value.sumDrawMjCount||0,Ce=W.value;break;default:Ie=0,Ce=t("chat.points")}return{remainingPoints:Ie,buttonText:Ce}});async function Te(){await me(),m.replace({path:"user-center"})}async function me(){return new Promise(se=>{setTimeout(()=>{k.isLogin||m.replace({path:"login"}),se()},100)})}function K(){const se=R.value?"light":"dark";w.setTheme(se)}async function ce(){L.warning({title:t("chat.clearConversation"),content:t("chat.clearAllNonFavoriteConversations"),positiveText:t("common.confirm"),negativeText:t("common.cancel"),onPositiveClick:async()=>{await U.delAllGroup(),await U.addNewChatGroup()}})}function de(){w.setSiderCollapsed(!H.value)}function Z(){D.value?k.logOut():k.setLoginDialog(!0)}function ae(){if(!D.value){k.setLoginDialog(!0);return}r.updateSignInDialog(!0)}function he(){k.logOut(),m.replace("/")}const we=computed(()=>y.value?{position:"fixed",zIndex:50}:{}),_e=computed(()=>y.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{});return watch(y,se=>{w.setSiderCollapsed(se)},{immediate:!0,flush:"post"}),watch(()=>k.userBalance.useModel3Token,(se,Ie)=>{var Ce;O.value=Ie||0,B.value=se||0,(Ce=x.value)==null||Ce.play()},{immediate:!0,flush:"post"}),watch(()=>k.userBalance.useModel4Token,(se,Ie)=>{var Ce;P.value=Ie||0,S.value=se||0,(Ce=a.value)==null||Ce.play()},{immediate:!0,flush:"post"}),watch(()=>k.userBalance.useDrawMjToken,(se,Ie)=>{var Ce;_.value=Ie||0,l.value=se||0,(Ce=g.value)==null||Ce.play()},{immediate:!0,flush:"post"}),(se,Ie)=>(openBlock(),createElementBlock("div",null,[createVNode(unref(NLayoutSider),{collapsed:H.value,"collapsed-width":0,width:260,"collapse-mode":"transform",position:"absolute",bordered:"",style:normalizeStyle(we.value),onUpdateCollapsed:de},{default:withCtx(()=>{var Ce,oe;return[createBaseVNode("div",{class:"flex flex-col h-full bg-opacity dark:bg-gray-900 select-none",style:normalizeStyle(_e.value)},[createBaseVNode("main",_hoisted_1$1,[Y.value?(openBlock(),createElementBlock("div",_hoisted_4,[createBaseVNode("button",_hoisted_5,[c.value?(openBlock(),createElementBlock("img",{key:0,src:M.value,alt:"Logo",class:"h-7 w-7"},null,8,_hoisted_6)):createCommentVNode("",!0),createBaseVNode("span",_hoisted_7,toDisplayString(unref(F)),1),c.value?(openBlock(),createElementBlock("span",_hoisted_8)):createCommentVNode("",!0)])])):(openBlock(),createElementBlock("div",_hoisted_2,[createBaseVNode("div",_hoisted_3,[J.value?(openBlock(),createElementBlock("button",{key:0,onClick:Ie[0]||(Ie[0]=pe=>z.value="plugin"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":z.value==="plugin","dark:text-gray-400":z.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2)):createCommentVNode("",!0),createBaseVNode("button",{onClick:Ie[1]||(Ie[1]=pe=>z.value="chat"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":z.value==="chat","dark:text-gray-400":z.value!=="chat"},"block w-full rounded-full focus:outline-none py-1"])}," 对话 ",2),J.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:1,onClick:Ie[2]||(Ie[2]=pe=>z.value="plugin"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":z.value==="plugin","dark:text-gray-400":z.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2))])])),createBaseVNode("div",_hoisted_9,[z.value==="chat"?(openBlock(),createBlock(_sfc_main$3,{key:0})):createCommentVNode("",!0),z.value==="plugin"?(openBlock(),createBlock(_sfc_main$2,{key:1})):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_10,[D.value&&(unref(y)||c.value)?(openBlock(),createBlock(unref(ge$1),{key:0,as:"div",class:"relative inline-block text-left"},{default:withCtx(()=>[createBaseVNode("div",null,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md pr-3 py-2 text-sm font-semibold dark:text-gray-400 text-gray-700"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_11,[V.value?(openBlock(),createElementBlock("img",{key:0,src:V.value,class:"w-full h-full object-cover"},null,8,_hoisted_12)):createCommentVNode("",!0),V.value?createCommentVNode("",!0):(openBlock(),createBlock(unref(User),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),createVNode(Transition,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900 z-50"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_13,[createVNode(unref(be),null,{default:withCtx(({active:pe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([[pe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:ce},[createVNode(unref(DeleteThemes),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t)("chat.clear")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:pe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([pe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Ie[3]||(Ie[3]=xe=>unref(r).updateNoticeDialog(!0))},[createVNode(unref(Announcement),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t)("chat.announcement")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:pe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([pe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Ie[4]||(Ie[4]=xe=>unref(r).updateGoodsDialog(!0))},[createVNode(unref(Commodity),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t)("chat.pointsMall")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:pe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([pe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:K},[createVNode(unref(SunOne),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t)("chat.toggleTheme")),1)],2)]),_:1}),n.value?(openBlock(),createBlock(unref(be),{key:0},{default:withCtx(({active:pe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([pe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ae},[createVNode(unref(Calendar),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t)("chat.signInReward")),1)],2)]),_:1})):createCommentVNode("",!0),createVNode(unref(be),null,{default:withCtx(({active:pe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([pe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Ie[5]||(Ie[5]=xe=>Te())},[createVNode(unref(User),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" 个人中心 ")],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:pe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([pe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Ie[6]||(Ie[6]=xe=>he())},[createVNode(unref(Logout),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),D.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:1,onClick:Z,class:"flex flex-1 items-center justify-center cursor-pointer"},_hoisted_15)),D.value?(openBlock(),createElementBlock("div",{key:2,onClick:Ie[7]||(Ie[7]=pe=>unref(r).updateGoodsDialog(!0)),class:"flex flex-1 items-center justify-center cursor-pointer"},[createBaseVNode("button",_hoisted_16,[createBaseVNode("span",null,toDisplayString(unref(t)("chat.remaining")+`${ie.value.remainingPoints} ${ie.value.buttonText}`),1)])])):createCommentVNode("",!0)]),q.value&&unref(y)?(openBlock(),createElementBlock("div",_hoisted_17,[createTextVNode(" 版权所有 © "+toDisplayString((Ce=X.value)==null?void 0:Ce.companyName)+" ",1),createBaseVNode("a",_hoisted_18,toDisplayString((oe=X.value)==null?void 0:oe.filingNumber),1)])):createCommentVNode("",!0)])],4)]}),_:1},8,["collapsed","style"]),unref(y)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:"fixed inset-0 z-40 bg-black/40",onClick:de},null,512)),[[vShow,!H.value]]):createCommentVNode("",!0)]))}}),_hoisted_1={class:"h-full transition-all"},_sfc_main=defineComponent({__name:"chat",setup(b){const r=useMessage(),m=useRoute(),w=useRouter(),U=useAppStore(),k=useChatStore(),x=useAuthStore(),{isMobile:a}=useBasicLayout(),g=computed(()=>x.isLogin),n=computed(()=>U.siderCollapsed),c=computed(()=>k.groupList),R=computed(()=>m.query.appId),v=ref(0),e=ref(0),L=computed(()=>{var M;return Number((M=x.globalConfig)==null?void 0:M.showWatermark)===1});ref(x.userInfo.username??"");const O=ref(x.userInfo.id??""),B=computed(()=>{var M;return Number((M=x.globalConfig)==null?void 0:M.isModelInherited)===1}),P=computed(()=>k.isStreamIn!==void 0?k.isStreamIn:!1);watch(g,async(M,F)=>{M&&!F&&(await k.queryMyGroup(),window.location.href="/chat")});const S=computed(()=>a.value?["rounded-none","shadow-none"]:["rounded-none","shadow-md","dark:border-gray-900"]),_=computed(()=>["h-full",{"pl-[260px]":!a.value&&!n.value}]);async function l(M){if(P.value){r.info("AI回复中,请稍后再试");return}k.setStreamIn(!1);try{if(M&&M>0)await k.addNewChatGroup(M);else{const{modelInfo:F}=k.activeConfig;if(F&&B.value&&k.activeGroupAppId===0){const N={modelInfo:F};await k.addNewChatGroup(0,N)}else await k.addNewChatGroup()}k.setUsingPlugin(null),a.value&&U.setSiderCollapsed(!0)}catch{}}function y(M){v.value=M.touches[0].clientX}function D(M){e.value=M.changedTouches[0].clientX,e.value-v.value>100&&a.value&&U.setSiderCollapsed(!1)}return onMounted(()=>{window.addEventListener("touchstart",y),window.addEventListener("touchend",D)}),onUnmounted(()=>{window.removeEventListener("touchstart",y),window.removeEventListener("touchend",D)}),onMounted(async()=>{c.value.length===0&&(await nextTick(),l())}),provide("createNewChatGroup",l),watch(R,async(M,F)=>{if(M){const N=+M;w.replace("/chat"),await nextTick(),l(N)}},{immediate:!0}),(M,F)=>(openBlock(),createElementBlock(Fragment,null,[L.value&&g.value?(openBlock(),createBlock(unref(NWatermark),{key:0,content:"#"+O.value,cross:"",fullscreen:"","font-size":16,"line-height":16,width:384,height:384,"x-offset":12,"y-offset":60,rotate:-15},null,8,["content"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_1,[createBaseVNode("div",{class:normalizeClass(["h-full overflow-hidden",S.value])},[createVNode(unref(NLayout),{class:normalizeClass(["z-40 transition",_.value]),"has-sider":""},{default:withCtx(()=>[createVNode(_sfc_main$1,{class:"h-full"}),createVNode(_sfc_main$5,{class:"w-full flex-1"})]),_:1},8,["class"])],2)])],64))}});export{_sfc_main as default}; diff --git a/public/chat/assets/chat-61246561.css b/public/chat/assets/chat-61246561.css new file mode 100644 index 0000000..8f1b816 --- /dev/null +++ b/public/chat/assets/chat-61246561.css @@ -0,0 +1 @@ +@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.5);opacity:.5}}.breathing-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background-color:#000;animation:breathe 2s infinite}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}.loading-anchor:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;background-color:#000;border-radius:50%;animation:breathe 2s infinite ease-in-out;vertical-align:middle}.markdown-body{background-color:transparent;font-size:1rem;max-width:min(80vw,58rem)}.markdown-body p{white-space:pre-wrap}.markdown-body ol{list-style-type:decimal}.markdown-body ul{list-style-type:disc}.markdown-body pre code,.markdown-body pre tt{line-height:1.65}.markdown-body .highlight pre,.markdown-body pre{background-color:#1f2937}.markdown-body code.hljs{padding:0}.markdown-body .code-block-wrapper{position:relative;padding-top:2rem;max-width:min(80vw,58rem);scrollbar-width:none;-ms-overflow-style:none}.markdown-body .code-block-wrapper::-webkit-scrollbar{display:none}.markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:space-between;align-items:center;color:#b3b3b3}.markdown-body .code-block-header__copy{cursor:pointer;margin-left:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.markdown-body .code-block-header__copy:hover{color:#65a665}.whitespace-pre-wrap{font-size:1rem}.rotate-icon{animation:rotateAnimation 3s linear infinite;transform-origin:center}.textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:#006400}.textLayer ::-moz-selection{background:rgba(0,0,255,1)}.textLayer ::selection{background:rgba(0,0,255,1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,")}@media (forced-colors: active){.annotationLayer .textWidgetAnnotation input:required,.annotationLayer .textWidgetAnnotation textarea:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation.checkBox input:required,.annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255,255,0,1);box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation input:required,.annotationLayer .textWidgetAnnotation textarea:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation.checkBox input:required,.annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0,0,0,1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,")}@media (forced-colors: active){.xfaLayer *:required{outline:1.5px solid selectedItem}}.xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}.xfaLayer .highlight.appended{position:initial}.xfaLayer .highlight.begin{border-radius:4px 0 0 4px}.xfaLayer .highlight.end{border-radius:0 4px 4px 0}.xfaLayer .highlight.middle{border-radius:0}.xfaLayer .highlight.selected{background-color:#cbdfcb}.xfaLayer ::-moz-selection{background:rgba(0,0,255,1)}.xfaLayer ::selection{background:rgba(0,0,255,1)}.xfaPage{overflow:hidden;position:relative}.xfaContentarea{position:absolute}.xfaPrintOnly{display:none}.xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}.xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}.xfaLayer *:required{outline:1.5px solid red}.xfaLayer div{pointer-events:none}.xfaLayer svg{pointer-events:none}.xfaLayer svg *{pointer-events:none}.xfaLayer a{color:#00f}.xfaRich li{margin-left:3em}.xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}.xfaCaption{overflow:hidden;flex:0 0 auto}.xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}.xfaLabel{height:100%;width:100%}.xfaLeft{display:flex;flex-direction:row;align-items:center}.xfaRight{display:flex;flex-direction:row-reverse;align-items:center}.xfaLeft>.xfaCaption,.xfaLeft>.xfaCaptionForCheckButton,.xfaRight>.xfaCaption,.xfaRight>.xfaCaptionForCheckButton{max-height:100%}.xfaTop{display:flex;flex-direction:column;align-items:flex-start}.xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}.xfaTop>.xfaCaption,.xfaTop>.xfaCaptionForCheckButton,.xfaBottom>.xfaCaption,.xfaBottom>.xfaCaptionForCheckButton{width:100%}.xfaBorder{background-color:transparent;position:absolute;pointer-events:none}.xfaWrapped{width:100%;height:100%}.xfaTextfield:focus,.xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}.xfaCheckbox:focus,.xfaRadio:focus{outline:auto}.xfaTextfield,.xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}.xfaTop>.xfaTextfield,.xfaTop>.xfaSelect,.xfaBottom>.xfaTextfield,.xfaBottom>.xfaSelect{flex:0 1 auto}.xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}.xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}.xfaCheckbox,.xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}.xfaRich{white-space:pre-wrap;width:100%;height:100%}.xfaImage{-o-object-position:left top;object-position:left top;-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.xfaLrTb,.xfaRlTb,.xfaTb{display:flex;flex-direction:column;align-items:stretch}.xfaLr{display:flex;flex-direction:row;align-items:stretch}.xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}.xfaTb>div{justify-content:left}.xfaPosition,.xfaArea{position:relative}.xfaValignMiddle{display:flex;align-items:center}.xfaTable{display:flex;flex-direction:column;align-items:stretch}.xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}.xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}.xfaTable .xfaRlRow>div{flex:1}.xfaNonInteractive input,.xfaNonInteractive textarea,.xfaDisabled input,.xfaDisabled textarea,.xfaReadOnly input,.xfaReadOnly textarea{background:initial}@media print{.xfaTextfield,.xfaSelect{background:transparent}.xfaSelect{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}:root{--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media (forced-colors: active){:root{--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[data-editor-rotation="90"]{transform:rotate(90deg)}[data-editor-rotation="180"]{transform:rotate(180deg)}[data-editor-rotation="270"]{transform:rotate(270deg)}.annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}.annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}.annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}.annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}.annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}.annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}.annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}.annotationEditorLayer .freeTextEditor .internal:focus{outline:none}.annotationEditorLayer .inkEditor.disabled{resize:none}.annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),.annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}.annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}.annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}.annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}:root{--viewer-container-height: 0;--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--spreadHorizontalWrapped-margin-LR: -3.5px;--scale-factor: 1}@media screen and (forced-colors: active){:root{--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}.pdfViewer .canvasWrapper{overflow:hidden}.pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);-o-border-image:var(--page-border-image);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}.pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}.pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}.pdfViewer.singlePageView{display:inline-block}.pdfViewer.singlePageView .page{margin:0;border:none}.pdfViewer.scrollHorizontal,.pdfViewer.scrollWrapped,.spread{margin-left:3.5px;margin-right:3.5px;text-align:center}.pdfViewer.scrollHorizontal,.spread{white-space:nowrap}.pdfViewer.removePageBorders,.pdfViewer.scrollHorizontal .spread,.pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}.spread .page,.spread .dummyPage,.pdfViewer.scrollHorizontal .page,.pdfViewer.scrollWrapped .page,.pdfViewer.scrollHorizontal .spread,.pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}.spread .page,.pdfViewer.scrollHorizontal .page,.pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}.pdfViewer.removePageBorders .spread .page,.pdfViewer.removePageBorders.scrollHorizontal .page,.pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}.pdfViewer .page canvas{margin:0;display:block}.pdfViewer .page canvas[hidden]{display:none}.pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}.pdfViewer .page .loadingIcon.notVisible{background:none}.pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;cursor:not-allowed}.pdfPresentationMode .pdfViewer{padding-bottom:0}.pdfPresentationMode .spread{margin:0}.pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}@keyframes rotateAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::v-deep .rotate-icon{animation:rotateAnimation 1s linear infinite} diff --git a/public/assets/crami-99ee44eb.js b/public/chat/assets/crami-4d5edf1c.js similarity index 65% rename from public/assets/crami-99ee44eb.js rename to public/chat/assets/crami-4d5edf1c.js index 9860d6a..a6898d7 100644 --- a/public/assets/crami-99ee44eb.js +++ b/public/chat/assets/crami-4d5edf1c.js @@ -1 +1 @@ -import{m as a,p as e}from"./index-d64a7cc4.js";function c(r){return e({url:"/crami/useCrami",data:r})}function u(r){return a({url:"/crami/queryAllPackage",data:r})}export{c as a,u as f}; +import{p as a,w as e}from"./index-a70ad6b3.js";function c(r){return e({url:"/crami/useCrami",data:r})}function u(r){return a({url:"/crami/queryAllPackage",data:r})}export{c as a,u as f}; diff --git a/public/assets/dalle-4f19ad1c.png b/public/chat/assets/dalle-4f19ad1c.png similarity index 100% rename from public/assets/dalle-4f19ad1c.png rename to public/chat/assets/dalle-4f19ad1c.png diff --git a/public/assets/draw-bccd19c4.svg b/public/chat/assets/draw-bccd19c4.svg similarity index 100% rename from public/assets/draw-bccd19c4.svg rename to public/chat/assets/draw-bccd19c4.svg diff --git a/public/assets/fail-7089de31.png b/public/chat/assets/fail-7089de31.png similarity index 100% rename from public/assets/fail-7089de31.png rename to public/chat/assets/fail-7089de31.png diff --git a/public/assets/favicon-25a41591.ico b/public/chat/assets/favicon-25a41591.ico similarity index 100% rename from public/assets/favicon-25a41591.ico rename to public/chat/assets/favicon-25a41591.ico diff --git a/public/assets/google-6f260bf3.gif b/public/chat/assets/google-6f260bf3.gif similarity index 100% rename from public/assets/google-6f260bf3.gif rename to public/chat/assets/google-6f260bf3.gif diff --git a/public/assets/img-bg-6cde14f5.png b/public/chat/assets/img-bg-6cde14f5.png similarity index 100% rename from public/assets/img-bg-6cde14f5.png rename to public/chat/assets/img-bg-6cde14f5.png diff --git a/public/chat/assets/index-08cceacb.js b/public/chat/assets/index-08cceacb.js new file mode 100644 index 0000000..80b6846 --- /dev/null +++ b/public/chat/assets/index-08cceacb.js @@ -0,0 +1 @@ +import{a as d,X as m}from"./vue-cf46d111.js";var L={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function y(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function v(s,t,r){var e=typeof t.fill=="string"?[t.fill]:t.fill||[],o=[],i=t.theme||r.theme;switch(i){case"outline":o.push(typeof e[0]=="string"?e[0]:"currentColor"),o.push("none"),o.push(typeof e[0]=="string"?e[0]:"currentColor"),o.push("none");break;case"filled":o.push(typeof e[0]=="string"?e[0]:"currentColor"),o.push(typeof e[0]=="string"?e[0]:"currentColor"),o.push("#FFF"),o.push("#FFF");break;case"two-tone":o.push(typeof e[0]=="string"?e[0]:"currentColor"),o.push(typeof e[1]=="string"?e[1]:r.colors.twoTone.twoTone),o.push(typeof e[0]=="string"?e[0]:"currentColor"),o.push(typeof e[1]=="string"?e[1]:r.colors.twoTone.twoTone);break;case"multi-color":o.push(typeof e[0]=="string"?e[0]:"currentColor"),o.push(typeof e[1]=="string"?e[1]:r.colors.multiColor.outFillColor),o.push(typeof e[2]=="string"?e[2]:r.colors.multiColor.innerStrokeColor),o.push(typeof e[3]=="string"?e[3]:r.colors.multiColor.innerFillColor);break}return{size:t.size||r.size,strokeWidth:t.strokeWidth||r.strokeWidth,strokeLinecap:t.strokeLinecap||r.strokeLinecap,strokeLinejoin:t.strokeLinejoin||r.strokeLinejoin,colors:o,id:s}}var g=Symbol("icon-context");function x(s,t,r){var e={name:"icon-"+s,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(i){var u=y(),n=d(g,L);return function(){var p=i.size,a=i.strokeWidth,h=i.strokeLinecap,c=i.strokeLinejoin,k=i.theme,f=i.fill,C=i.spin,F=v(u,{size:p,strokeWidth:a,strokeLinecap:h,strokeLinejoin:c,theme:k,fill:f},n),l=[n.prefix+"-icon"];return l.push(n.prefix+"-icon-"+s),t&&n.rtl&&l.push(n.prefix+"-icon-rtl"),C&&l.push(n.prefix+"-icon-spin"),m("span",{class:l.join(" ")},[r(F)])}}};return e}export{x as I}; diff --git a/public/assets/index-15e7de77.css b/public/chat/assets/index-15e7de77.css similarity index 100% rename from public/assets/index-15e7de77.css rename to public/chat/assets/index-15e7de77.css diff --git a/public/chat/assets/index-278c8e2c.js b/public/chat/assets/index-278c8e2c.js new file mode 100644 index 0000000..5f46475 --- /dev/null +++ b/public/chat/assets/index-278c8e2c.js @@ -0,0 +1 @@ +import{x as a}from"./index-a70ad6b3.js";import{d as s,U as o,a3 as r,X as c,W as n,M as i,ah as l,S as d,c as m}from"./vue-cf46d111.js";import{z as p}from"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";const x=""+new URL("404-0d6db85f.svg",import.meta.url).href,u={class:"flex h-full bg-white dark:bg-gray-900"},_={class:"px-4 m-auto space-y-4 text-center max-[400px]"},f=l('

    404 - 页面迷路了!

    哎呀!页面好像迷路了,找不到了。

    404
    ',3),b=s({__name:"index",setup(h){const e=a();function t(){e.replace("/")}return(v,g)=>(d(),o("div",u,[r("div",_,[f,c(i(p),{type:"primary",onClick:t},{default:n(()=>[m(" Go to Home ")]),_:1})])]))}});export{b as default}; diff --git a/public/assets/index-2d428f7b.css b/public/chat/assets/index-2d428f7b.css similarity index 100% rename from public/assets/index-2d428f7b.css rename to public/chat/assets/index-2d428f7b.css diff --git a/public/chat/assets/index-2e737858.js b/public/chat/assets/index-2e737858.js new file mode 100644 index 0000000..71f8f71 --- /dev/null +++ b/public/chat/assets/index-2e737858.js @@ -0,0 +1 @@ +import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import{q as j,a as L,Z as E,t as C}from"./index-a70ad6b3.js";import{u as G}from"./useBasicLayout-8e07f8d7.js";import{e as H,H as B,z as x,a2 as R,J as q,w as Y,Z,Y as z,q as W}from"./naive-ui-074da7ca.js";import{d as N,e as I,r as w,S,U as D,a3 as e,a4 as o,X as a,M as s,W as l,c as g,a5 as X,F as K,a7 as Q,f as ee,V as T}from"./vue-cf46d111.js";import"./vueuse-motion-d8fe070a.js";function se(){const m=new Date,c=m.getDate(),d=m.getMonth()+1;return`${m.getFullYear()}-${d}-${c}`}const te={class:"p-4 space-y-5 min-h-[200px]"},ae={class:"space-y-6"},ne={class:"flex items-center space-x-4"},oe={class:"flex-shrink-0 w-[100px]"},le={class:"flex-1"},ie={class:"flex items-center space-x-4"},ce={class:"flex-shrink-0 w-[100px]"},re={class:"w-[200px]"},de={class:"flex-shrink-0 w-[100px]"},ue={class:"flex flex-wrap items-center gap-4"},pe={class:"flex items-center space-x-4"},fe={class:"flex-shrink-0 w-[100px]"},me={class:"flex flex-wrap items-center gap-4"},_e={class:"flex items-center space-x-4"},he={class:"flex-shrink-0 w-[100px]"},ve={class:"flex flex-wrap items-center gap-4"},xe=N({__name:"General",setup(m){const c=j(),d=L(),{isMobile:u}=G(),r=H(),h=I(()=>c.theme),p=I(()=>d.userInfo),f=w(p.value.avatar??""),_=w(p.value.username??""),$=w(!1),M=I({get(){return c.language},set(t){c.setLanguage(t)}}),O=[{label:"Auto",key:"auto",icon:"ri:contrast-line"},{label:"Light",key:"light",icon:"ri:sun-foggy-line"},{label:"Dark",key:"dark",icon:"ri:moon-foggy-line"}],F=[{label:"简体中文",key:"zh-CN",value:"zh-CN"}];async function U(t){try{$.value=!0;const n=await E(t);if($.value=!1,!n.success)return r.error(n.message);r.success(C("common.updateUserSuccess")),d.getUserInfo()}catch{$.value=!1}}function J(){const t=se(),n=localStorage.getItem("chatStorage")||"{}",i=JSON.stringify(JSON.parse(n),null,2),v=new Blob([i],{type:"application/json"}),b=URL.createObjectURL(v),k=document.createElement("a");k.href=b,k.download=`chat-store_${t}.json`,document.body.appendChild(k),k.click(),document.body.removeChild(k)}function A(t){const n=t.target;if(!n||!n.files)return;const i=n.files[0];if(!i)return;const v=new FileReader;v.onload=()=>{try{const b=JSON.parse(v.result);localStorage.setItem("chatStorage",JSON.stringify(b)),r.success(C("common.success")),location.reload()}catch{r.error(C("common.invalidFileFormat"))}},v.readAsText(i)}function P(){localStorage.removeItem("chatStorage"),location.reload()}function V(){const t=document.getElementById("fileInput");t&&t.click()}return(t,n)=>(S(),D("div",te,[e("div",ae,[e("div",ne,[e("span",oe,o(t.$t("setting.avatarLink")),1),e("div",le,[a(s(B),{value:f.value,"onUpdate:value":n[0]||(n[0]=i=>f.value=i),placeholder:"请填写头像地址"},null,8,["value"])]),a(s(x),{size:"tiny",disabled:$.value,text:"",type:"primary",onClick:n[1]||(n[1]=i=>U({avatar:f.value}))},{default:l(()=>[g(o(t.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",ie,[e("span",ce,o(t.$t("setting.name")),1),e("div",re,[a(s(B),{value:_.value,"onUpdate:value":n[2]||(n[2]=i=>_.value=i),placeholder:"请填写用户名"},null,8,["value"])]),a(s(x),{size:"tiny",disabled:$.value,text:"",type:"primary",onClick:n[3]||(n[3]=i=>U({username:_.value}))},{default:l(()=>[g(o(t.$t("common.update")),1)]),_:1},8,["disabled"])]),e("div",{class:X(["flex items-center space-x-4",s(u)&&"items-start"])},[e("span",de,o(t.$t("setting.chatHistory")),1),e("div",ue,[a(s(x),{size:"small",onClick:J},{icon:l(()=>[a(s(y),{icon:"ri:download-2-fill"})]),default:l(()=>[g(" "+o(t.$t("common.export")),1)]),_:1}),e("input",{id:"fileInput",type:"file",style:{display:"none"},onChange:A},null,32),a(s(x),{size:"small",onClick:V},{icon:l(()=>[a(s(y),{icon:"ri:upload-2-fill"})]),default:l(()=>[g(" "+o(t.$t("common.import")),1)]),_:1}),a(s(R),{placement:"bottom",onPositiveClick:P},{trigger:l(()=>[a(s(x),{size:"small"},{icon:l(()=>[a(s(y),{icon:"ri:close-circle-line"})]),default:l(()=>[g(" "+o(t.$t("common.clear")),1)]),_:1})]),default:l(()=>[g(" "+o(t.$t("chat.clearHistoryConfirm")),1)]),_:1})])],2),e("div",pe,[e("span",fe,o(t.$t("setting.theme")),1),e("div",me,[(S(),D(K,null,Q(O,i=>a(s(x),{key:i.key,size:"small",type:i.key===h.value?"primary":void 0,onClick:v=>s(c).setTheme(i.key)},{icon:l(()=>[a(s(y),{icon:i.icon},null,8,["icon"])]),_:2},1032,["type","onClick"])),64))])]),e("div",_e,[e("span",he,o(t.$t("setting.language")),1),e("div",ve,[a(s(q),{style:{width:"140px"},value:M.value,options:F,onUpdateValue:n[4]||(n[4]=i=>s(c).setLanguage(i))},null,8,["value"])])])])]))}}),ge={class:"p-4 space-y-5 min-h-[200px]"},ye={class:"flex items-center space-x-4"},$e=e("span",{class:"flex-shrink-0 w-[100px]"},"用户邮箱",-1),ke={class:"w-[200px]"},we={class:"flex items-center space-x-4"},be=e("span",{class:"flex-shrink-0 w-[100px]"},"用户姓名",-1),Ie={class:"w-[200px]"},Se={class:"flex items-center space-x-4"},Ce=e("span",{class:"flex-shrink-0 w-[100px]"},"问答余额",-1),Ne={class:"w-[200px]"},Ue={class:"flex items-center space-x-4"},Be=e("span",{class:"flex-shrink-0 w-[100px]"},"绘画余额",-1),ze={class:"w-[200px]"},De={class:"flex items-center space-x-4"},Le=e("span",{class:"flex-shrink-0 w-[100px]"},"MJToken",-1),Te={class:"w-[200px]"},Me={class:"flex items-center space-x-4"},Oe=e("span",{class:"flex-shrink-0 w-[100px]"},"使用金额",-1),Fe={class:"w-[200px]"},Je=N({__name:"Personal",setup(m){const c=L(),{userInfo:d,userBalance:u}=c,r=w(!1);ee(async()=>{h()});async function h(){try{r.value=!0,await c.getUserInfo(),r.value=!1}catch{r.value=!1}}return(p,f)=>(S(),T(s(Y),{show:r.value},{default:l(()=>[e("div",ge,[e("div",ye,[$e,e("div",ke,o(s(d).email||"--"),1)]),e("div",we,[be,e("div",Ie,o(s(d).username||"--"),1)]),e("div",Se,[Ce,e("div",Ne,o(s(u).usesLeft||"0")+" 积分 ",1)]),e("div",Ue,[Be,e("div",ze,o(s(u).paintCount||"0")+" 积分 ",1)]),e("div",De,[Le,e("div",Te,o(s(u).balance||"0")+" Token ",1)]),e("div",Me,[Oe,e("div",Fe,o(s(u).useTokens||"0")+" Token ",1)])])]),_:1},8,["show"]))}}),Ae={class:"ml-2"},Pe={class:"ml-2"},Ve={class:"min-h-[100px]"},Ye=N({__name:"index",props:{visible:{type:Boolean}},emits:["update:visible"],setup(m,{emit:c}){const d=m,u=c,r=w("personalInfo"),h=I({get(){return d.visible},set(p){u("update:visible",p)}});return(p,f)=>(S(),T(s(W),{show:h.value,"onUpdate:show":f[1]||(f[1]=_=>h.value=_),title:"个人中心","auto-focus":!1,preset:"card",style:{width:"95%","max-width":"640px"}},{default:l(()=>[e("div",null,[a(s(Z),{value:r.value,"onUpdate:value":f[0]||(f[0]=_=>r.value=_),type:"line",animated:""},{default:l(()=>[a(s(z),{name:"personalInfo",tab:"personalInfo"},{tab:l(()=>[a(s(y),{class:"text-lg",icon:"ri:file-user-line"}),e("span",Ae,o(p.$t("setting.personalInfo")),1)]),default:l(()=>[a(Je)]),_:1}),a(s(z),{name:"General",tab:"General"},{tab:l(()=>[a(s(y),{class:"text-lg",icon:"ri:list-settings-line"}),e("span",Pe,o(p.$t("setting.general")),1)]),default:l(()=>[e("div",Ve,[a(xe)])]),_:1})]),_:1},8,["value"])])]),_:1},8,["show"]))}});export{Ye as default}; diff --git a/public/chat/assets/index-3e9eedbe.js b/public/chat/assets/index-3e9eedbe.js new file mode 100644 index 0000000..c5b101b --- /dev/null +++ b/public/chat/assets/index-3e9eedbe.js @@ -0,0 +1 @@ +import{d as V,e as p,r as i,a as $,w as D,f as G,o as H,U as l,a3 as s,a4 as n,M as c,X as h,k as R,a6 as W,F as k,a7 as C,W as E,A as X,S as o,a5 as A,a9 as J}from"./vue-cf46d111.js";import{a as K,q as O,b as Y,t as g,f as Z,c as ee,d as te,e as ae,r as se}from"./index-a70ad6b3.js";import{e as re}from"./naive-ui-074da7ca.js";import{S as le,a as ne}from"./Star-723ae1fb.js";import"./vueuse-motion-d8fe070a.js";import"./index-08cceacb.js";const oe={class:"relative flex justify-center bg-custom-gradient dark:bg-gray-900 min-h-screen"},ie={class:"w-full flex flex-col items-center max-w-screen-4xl p-4 lg:p-6"},ce={class:"mb-2 mt-8 text-center text-3xl font-extrabold text-primary-500 dark:text-primary-600 lg:text-4xl"},de={class:"flex justify-center text-base text-small mb-4 mt-4 text-center text-gray-500 dark:text-gray-400 tracking-widest lg:text-lg"},ue={class:"flex w-full rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-400 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800"},pe={class:"relative flex flex-1 w-full"},ge={for:"search-field",class:"sr-only"},fe={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},me=["placeholder"],xe={class:"w-full"},he={class:"flex lg:justify-between overflow-x-auto scrollbar-hide my-2 pb-3 pt-4",style:{"max-width":"80%",margin:"auto"}},ye=["onClick"],ve=["onClick"],_e={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},we=["src"],be={class:"text-white text-sm md:text-lg"},ke={class:"flex-grow flex flex-col"},Ce={class:"flex items-center font-medium text-lg text-gray-600 dark:text-gray-400 my-1"},Ae={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},Ie={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-3"},Qe=V({__name:"index",setup(Me){var b;const y=K(),v=O(),I=((b=y.globalConfig)==null?void 0:b.siteName)||"AIWeb",M=p(()=>y.globalConfig.appMenuHeaderTips),S=re(),f=Y(),u=i(""),N=i([]),q=p(()=>f.catId),r=i([]),m=i([]),P=p(()=>f.mineApps),_=i([]),d=i(0);$("createNewChatGroup",async e=>{});function w(e){return P.value.some(a=>a.appId===e.id)}async function j(){var a;const e=await Z();r.value=(a=e==null?void 0:e.data)==null?void 0:a.rows.map(t=>(t.loading=!1,t)),m.value=r.value}const z=p(()=>u.value?r.value.filter(e=>e.name.includes(u.value)):d.value===0?r.value:r.value.filter(e=>e.catId===d.value));async function L(e){e.loading=!0;try{const a=await ae({appId:e.id});S.success(a.data),await f.queryMineApps(),e.loading=!1}catch{e.loading=!1}}async function Q(e){const a=Number(e.id);se.replace({path:"/chat",query:{appId:a}})}async function B(){var t;const e=await ee(),a={id:0,name:g("app.allCategories")};_.value=[a,...(t=e==null?void 0:e.data)==null?void 0:t.rows]}async function F(){const e=await te({menuPlatform:1});e.success&&(N.value=e.data)}function T(e){d.value=e}D(q,e=>{e?m.value=r.value.filter(a=>a.catId===e):m.value=r.value});function U(){const e=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return e[Math.floor(Math.random()*e.length)]}return G(()=>{B(),j(),F(),v.setSiderCollapsed(!0)}),H(()=>{v.setSiderCollapsed(!1)}),(e,a)=>(o(),l("div",oe,[s("div",ie,[s("div",ce,n(c(I)),1),s("div",de,n(M.value||c(g)("app.exploreInfinitePossibilities")),1),s("div",ue,[s("div",pe,[s("label",ge,n(c(g)("app.searchAppNameQuickFind")),1),s("div",fe,[h(c(le),{theme:"outline",size:"24",class:"text-gray-400"})]),R(s("input",{id:"search-field","onUpdate:modelValue":a[0]||(a[0]=t=>u.value=t),class:"z-1 w-full rounded-xl dark:bg-gray-800 py-2 pr-3 font-normal outline-0 delay-100 md:h-14 h-12 text-base pl-12 dark:text-gray-400",placeholder:c(g)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,me),[[W,u.value]])])]),s("div",xe,[s("div",he,[(o(!0),l(k,null,C(_.value,(t,x)=>(o(),l("div",{key:x,onClick:Se=>T(t.id),class:A([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400 ":d.value===t.id,"text-gray-500":d.value!==t.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 m-1 lg:m-0 flex-none"])},n(t.name),11,ye))),128))])]),h(X,{name:"list",tag:"div",class:"w-full grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 2xl:grid-cols-4 3xl:grid-cols-4 gap-4 py-1"},{default:E(()=>[(o(!0),l(k,null,C(z.value,t=>(o(),l("div",{key:t.id,onClick:x=>Q(t),class:"custom-card cursor-pointer flex items-center gap-5 overflow-hidden rounded-xl bg-gray-50 px-7 py-8 m-1 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[t.coverImg?(o(),l("div",_e,[s("img",{src:t.coverImg,class:"rounded-2xl w-20 h-20",alt:"app-image"},null,8,we)])):(o(),l("div",{key:1,class:A([U(),"flex-shrink-0 dark:ring-gray-400 rounded-2xl w-20 h-20 flex items-center justify-center"])},[s("span",be,n(t.name.slice(0,4)),1)],2)),s("div",ke,[s("div",Ce,[s("span",Ae,n(t.name),1),h(c(ne),{theme:w(t)?"filled":"outline",size:"24",fill:w(t)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:J(x=>L(t),["stop"])},null,8,["theme","fill","onClick"])]),s("span",Ie,n(t.des),1)])],8,ve))),128))]),_:1})])]))}});export{Qe as default}; diff --git a/public/assets/index-404bb920.css b/public/chat/assets/index-404bb920.css similarity index 100% rename from public/assets/index-404bb920.css rename to public/chat/assets/index-404bb920.css diff --git a/public/chat/assets/index-429097f0.css b/public/chat/assets/index-429097f0.css new file mode 100644 index 0000000..8514aa9 --- /dev/null +++ b/public/chat/assets/index-429097f0.css @@ -0,0 +1,10 @@ +html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}html .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .markdown-body.markdown-body-generate>dd:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dl:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dt:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h1:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h2:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h3:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h4:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h5:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h6:last-child):after,:is(.dark .markdown-body.markdown-body-generate>li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ol:last-child li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>p:last-child):after,:is(.dark .markdown-body.markdown-body-generate>pre:last-child code):after,:is(.dark .markdown-body.markdown-body-generate>td:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ul:last-child li:last-child):after{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{border-radius:50%;animation:breathes 2s infinite ease-in-out;vertical-align:middle}@keyframes breathes{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}@keyframes blink{to{visibility:hidden}}html,body,#app{height:100%;overflow:hidden}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);--tw-text-opacity: 1 !important;color:rgb(13 13 13 / var(--tw-text-opacity))!important}:is(.dark body){--tw-text-opacity: 1 !important;color:rgb(236 236 236 / var(--tw-text-opacity))!important}* :focus{outline:none}/*! + Theme: GitHub Dark + Description: Dark theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-dark + Current colors taken from GitHub's CSS +*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e3e3e3}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#b4b4b4}input::placeholder,textarea::placeholder{opacity:1;color:#b4b4b4}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1750px){.container{max-width:1750px}}@media (min-width: 1870px){.container{max-width:1870px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-8{right:-2rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-\[350px\]{bottom:350px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.left-5{left:1.25rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-6{top:1.5rem}.top-full{top:100%}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-auto{margin:auto}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.-mb-4{margin-bottom:-1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.mb-\[20px\]{margin-bottom:20px}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-\[8px\]{margin-left:8px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-8{margin-right:2rem}.mr-\[-1px\]{margin-right:-1px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[50px\]{margin-top:50px}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-\[3\/1\]{aspect-ratio:3/1}.h-1\/2{height:50%}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[100vh\]{height:100vh}.h-\[10vh\]{height:10vh}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[280px\]{height:280px}.h-\[400px\]{height:400px}.h-\[55vh\]{height:55vh}.h-\[580px\]{height:580px}.h-\[600px\]{height:600px}.h-\[60vh\]{height:60vh}.h-\[7rem\]{height:7rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-16{max-height:4rem}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-28{min-height:28px}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[2rem\]{min-height:2rem}.min-h-\[350px\]{min-height:350px}.min-h-\[4rem\]{min-height:4rem}.min-h-\[500px\]{min-height:500px}.min-h-\[50vh\]{min-height:50vh}.min-h-\[70vh\]{min-height:70vh}.min-h-\[80vh\]{min-height:80vh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[200\]{width:200}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[228px\]{width:228px}.w-\[230px\]{width:230px}.w-\[280px\]{width:280px}.w-\[300px\]{width:300px}.w-\[40\%\]{width:40%}.w-\[55px\]{width:55px}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[60vw\]{width:60vw}.w-\[65px\]{width:65px}.w-\[75px\]{width:75px}.w-\[80vw\]{width:80vw}.w-auto{width:auto}.w-full{width:100%}.w-sider{width:60px}.min-w-0{min-width:0px}.min-w-12{min-width:3rem}.min-w-\[120px\]{min-width:120px}.min-w-\[350px\]{min-width:350px}.min-w-\[35vw\]{min-width:35vw}.min-w-\[8rem\]{min-width:8rem}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-5xl{max-width:64rem}.max-w-60{max-width:15rem}.max-w-7xl{max-width:80rem}.max-w-\[500px\]{max-width:500px}.max-w-\[95vw\]{max-width:95vw}.max-w-full{max-width:100%}.max-w-screen-4xl{max-width:1870px}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.origin-bottom-right{transform-origin:bottom right}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.resize-none{resize:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-10{row-gap:2.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(236 236 236 / var(--tw-divide-opacity))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[3px\]{border-width:3px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-\[\#00000014\]{border-color:#00000014}.border-\[\#ebebeb\]{--tw-border-opacity: 1;border-color:rgb(235 235 235 / var(--tw-border-opacity))}.border-\[\#ffffff17\]{border-color:#ffffff17}.border-\[ced4da\]{border-color:ced4da}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(236 236 236 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(227 227 227 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(205 205 205 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(180 180 180 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(155 155 155 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-b-gray-100{--tw-border-opacity: 1;border-bottom-color:rgb(236 236 236 / var(--tw-border-opacity))}.border-t-gray-100{--tw-border-opacity: 1;border-top-color:rgb(236 236 236 / var(--tw-border-opacity))}.bg-\[\#2C9EFF\]{--tw-bg-opacity: 1;background-color:rgb(44 158 255 / var(--tw-bg-opacity))}.bg-\[\#3CD38E\]{--tw-bg-opacity: 1;background-color:rgb(60 211 142 / var(--tw-bg-opacity))}.bg-\[\#FF9600\]{--tw-bg-opacity: 1;background-color:rgb(255 150 0 / var(--tw-bg-opacity))}.bg-\[\#f78400\]{--tw-bg-opacity: 1;background-color:rgb(247 132 0 / var(--tw-bg-opacity))}.bg-\[\#fafafa\]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-\[\#fafafc\]{--tw-bg-opacity: 1;background-color:rgb(250 250 252 / var(--tw-bg-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(227 227 227 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(205 205 205 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(180 180 180 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-opacity{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-primary-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-primary-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-center{background-position:center}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[10px\]{padding:10px}.p-\[2px\]{padding:2px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-20{padding-left:5rem;padding-right:5rem}.px-24{padding-left:6rem;padding-right:6rem}.px-28{padding-left:7rem;padding-right:7rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-\[15px\]{padding-bottom:15px}.pl-0{padding-left:0}.pl-12{padding-left:3rem}.pl-2{padding-left:.5rem}.pl-20{padding-left:5rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-\[260px\]{padding-left:260px}.pr-0{padding-right:0}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-loose{line-height:2}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-\[\#000\]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-\[\#142D6E\]{--tw-text-opacity: 1;color:rgb(20 45 110 / var(--tw-text-opacity))}.text-\[\#3076fd\]{--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}.text-\[\#374151\]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-\[\#444\]{--tw-text-opacity: 1;color:rgb(68 68 68 / var(--tw-text-opacity))}.text-\[\#555\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity))}.text-\[\#626569\]{--tw-text-opacity: 1;color:rgb(98 101 105 / var(--tw-text-opacity))}.text-\[\#64748b\]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-\[\#707384\]{--tw-text-opacity: 1;color:rgb(112 115 132 / var(--tw-text-opacity))}.text-\[\#95AAC9\],.text-\[\#95aac9\]{--tw-text-opacity: 1;color:rgb(149 170 201 / var(--tw-text-opacity))}.text-\[\#989898\]{--tw-text-opacity: 1;color:rgb(152 152 152 / var(--tw-text-opacity))}.text-\[\#999\]{--tw-text-opacity: 1;color:rgb(153 153 153 / var(--tw-text-opacity))}.text-\[\#cbd5e1\]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-\[\#eee\]{--tw-text-opacity: 1;color:rgb(238 238 238 / var(--tw-text-opacity))}.text-\[\#fff\]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-\[000\]{color:000}.text-\[currentColor\]{color:currentColor}.text-\[gray\]{--tw-text-opacity: 1;color:rgb(128 128 128 / var(--tw-text-opacity))}.text-\[red\]{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-gray-300{--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(33 33 33 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(13 13 13 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-primary-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(236 236 236 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 227 227 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(205 205 205 / var(--tw-ring-opacity))}.ring-indigo-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.ring-primary-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar-none{scrollbar-width:none}.scrollbar-none::-webkit-scrollbar{display:none}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.focus-within\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary-400:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(129 140 248 / var(--tw-ring-opacity))}.focus-within\:ring-primary-500:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-gray-500{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-700{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.hover\:bg-\[\#666161\]:hover{--tw-bg-opacity: 1;background-color:rgb(102 97 97 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(227 227 227 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-opacity:hover{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.hover\:bg-primary-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-\[\#5A91FC\]:hover{--tw-text-opacity: 1;color:rgb(90 145 252 / var(--tw-text-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover,.hover\:text-primary-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-primary-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow:hover{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:ring-primary-300:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 180 252 / var(--tw-ring-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(205 205 205 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}.focus-visible\:outline-primary-600:focus-visible{outline-color:#4f46e5}:is(.dark .dark\:border-\[\#3a3a40\]){--tw-border-opacity: 1;border-color:rgb(58 58 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-\[\#ffffff17\]){border-color:#ffffff17}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(205 205 205 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(180 180 180 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(103 103 103 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(66 66 66 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-750){--tw-border-opacity: 1;border-color:rgb(47 47 47 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-b-gray-800){--tw-border-opacity: 1;border-bottom-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-gray-800){--tw-border-opacity: 1;border-top-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-neutral-800){--tw-border-opacity: 1;border-top-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:bg-\[\#24272e\]){--tw-bg-opacity: 1;background-color:rgb(36 39 46 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#25272c\]){--tw-bg-opacity: 1;background-color:rgb(37 39 44 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#262629\]){--tw-bg-opacity: 1;background-color:rgb(38 38 41 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-\[\#2F2E34\]){--tw-bg-opacity: 1;background-color:rgb(47 46 52 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-black\/20){background-color:#0003}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(155 155 155 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-750){--tw-bg-opacity: 1;background-color:rgb(47 47 47 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-700){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:text-\[\#3076fd\]){--tw-text-opacity: 1;color:rgb(48 118 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#3a71ff\]){--tw-text-opacity: 1;color:rgb(58 113 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#fff\]){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-\[\#ffffff73\]){color:#ffffff73}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(236 236 236 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-600){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(180 180 180 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(66 66 66 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-750){--tw-ring-opacity: 1;--tw-ring-color: rgb(47 47 47 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(33 33 33 / var(--tw-ring-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-300){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:bg-\[\#33373c\]:hover){--tw-bg-opacity: 1;background-color:rgb(51 55 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-\[\#414755\]:hover){--tw-bg-opacity: 1;background-color:rgb(65 71 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-750:hover){--tw-bg-opacity: 1;background-color:rgb(47 47 47 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(227 227 227 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary-600:hover){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:ring-gray-600:hover){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(180 180 180 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-750:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(47 47 47 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:block{display:block}.sm\:w-\[20rem\]{width:20rem}.sm\:w-\[300px\]{width:300px}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:pt-4{padding-top:1rem}.sm\:pt-6{padding-top:1.5rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:h-14{height:3.5rem}.md\:max-w-\[40rem\]{max-width:40rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:m-0{margin:0}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:justify-between{justify-content:space-between}.lg\:p-6{padding:1.5rem}.lg\:pt-0{padding-top:0}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1536px){.\32xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1750px){.\33xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1870px){.\34xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(./KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(./KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(./KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(./KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(./KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(./KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(./KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(./KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(./KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(./KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(./KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(./KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(./KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(./KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(./KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(./KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(./KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(./KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(./KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(./KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(./KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(./KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(./KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(./KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(./KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(./KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(./KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(./KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(./KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(./KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/public/chat/assets/index-4a6b1d74.js b/public/chat/assets/index-4a6b1d74.js new file mode 100644 index 0000000..77ed120 --- /dev/null +++ b/public/chat/assets/index-4a6b1d74.js @@ -0,0 +1 @@ +import{p as ee,w as ke,t,a as Ce,x as Ae,T as Se,U as ze}from"./index-a70ad6b3.js";import{_ as Ie}from"./titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import{u as Re}from"./useBasicLayout-8e07f8d7.js";import{C as fe,Q as Ne}from"./index-5ab11154.js";import{c as $e}from"./index-c94da121.js";import{d as te,S as M,U as D,a3 as a,r as o,V as Ue,W as l,M as e,a4 as n,X as r,c as U,e as $,j as H,l as T,f as Me,a5 as x,a8 as J}from"./vue-cf46d111.js";import{e as pe,q as me,r as Y,V as q,K as Pe,J as je,H as Z,z as Be,x as Fe,I as C,Q as Te,$ as qe,F as De,Z as Le,Y as K,U as X,a0 as Oe,a1 as he}from"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";import"./_plugin-vue_export-helper-c27b6911.js";const Ve={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},We=a("path",{d:"M336 192h40a40 40 0 0 1 40 40v192a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V232a40 40 0 0 1 40-40h40",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Ee=a("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M336 128l-80-80l-80 80"},null,-1),Ge=a("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 321V48"},null,-1),Qe=[We,Ee,Ge],He=te({name:"ShareOutline",render:function(d,g){return M(),D("svg",Ve,Qe)}});function Je(){return ee({url:"/sales/mineAccount"})}function Ke(v){return ee({url:"/sales/mineRecords",data:v})}function Xe(v){return ee({url:"/sales/drawMoneyOrder",data:v})}function Ye(v){return ke({url:"/sales/appForMoney",data:v})}const Ze=""+new URL("badge-4a5770f0.png",import.meta.url).href,et=""+new URL("qianbao-77758046.png",import.meta.url).href,tt={class:"p-5 bg-white rounded dark:bg-slate-800"},at={class:"text-lg"},st={class:"pt-5"},nt=te({__name:"drawMoneyDialog",props:{visible:{type:Boolean}},emits:["close","submit"],setup(v,{emit:d}){const g=d,A=o(null),L=pe(),O=o([{label:t("share.alipay"),value:1},{label:t("share.wechat"),value:2}]),S=()=>({withdrawalAmount:null,withdrawalChannels:null,contactInformation:"",remark:""}),i=o(S()),f=o(!1),W={withdrawalAmount:[{required:!0,message:t("share.enterWithdrawalAmount")}],withdrawalChannels:[{required:!0,message:t("share.selectWithdrawalChannel")}],contactInformation:[{required:!0,message:t("share.enterContactInfo"),trigger:"blur"}],remark:[{required:!1,message:t("share.optionalRemark"),trigger:"blur"}]};function E(){i.value=S()}function P(){var p;(p=A.value)==null||p.validate(async u=>{if(!u)try{f.value=!0;const{withdrawalAmount:h,withdrawalChannels:V,contactInformation:I,remark:R}=i.value;(await Ye({withdrawalAmount:h,withdrawalChannels:V,contactInformation:I,remark:R})).success&&(L.success(t("share.withdrawalSuccess")),E(),g("submit"),g("close")),f.value=!1}catch{f.value=!1}})}function _(){}function G(){}function z(){g("close")}return(p,u)=>(M(),Ue(e(me),{show:p.visible,style:{width:"90%","max-width":"500px"},"on-after-enter":_,"on-after-leave":G},{default:l(()=>[a("div",tt,[a("span",at,n(e(t)("share.withdrawalApplicationForm")),1),a("div",{class:"absolute top-3 right-3 cursor-pointer z-30",onClick:z},[r(e(Y),{size:"20",color:"#0e7a0d"},{default:l(()=>[r(e(fe))]),_:1})]),a("div",st,[r(e(Fe),{ref_key:"formRef",ref:A,model:i.value,rules:W,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging",style:{maxWidth:"640px"}},{default:l(()=>[r(e(q),{path:"withdrawalAmount",label:e(t)("share.withdrawalAmount")},{default:l(()=>[r(e(Pe),{value:i.value.withdrawalAmount,"onUpdate:value":u[0]||(u[0]=h=>i.value.withdrawalAmount=h),class:"w-full",clearable:"",precision:2,placeholder:e(t)("share.enterWithdrawalAmount")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(q),{path:"withdrawalChannels",label:e(t)("share.withdrawalChannel")},{default:l(()=>[r(e(je),{value:i.value.withdrawalChannels,"onUpdate:value":u[1]||(u[1]=h=>i.value.withdrawalChannels=h),placeholder:e(t)("share.selectWithdrawalChannel"),options:O.value},null,8,["value","placeholder","options"])]),_:1},8,["label"]),r(e(q),{path:"contactInformation",label:e(t)("share.contactInformation")},{default:l(()=>[r(e(Z),{value:i.value.contactInformation,"onUpdate:value":u[2]||(u[2]=h=>i.value.contactInformation=h),type:"textarea",rows:3,placeholder:e(t)("share.enterContactInfo")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(q),{path:"remark",label:e(t)("share.withdrawalRemark")},{default:l(()=>[r(e(Z),{value:i.value.remark,"onUpdate:value":u[3]||(u[3]=h=>i.value.remark=h),type:"textarea",rows:3,placeholder:e(t)("share.enterWithdrawalRemark")},null,8,["value","placeholder"])]),_:1},8,["label"]),r(e(q),{class:"mt-3"},{default:l(()=>[r(e(Be),{block:"",type:"primary",disabled:f.value,loading:f.value,onClick:P},{default:l(()=>[U(n(e(t)("share.applyWithdrawal")),1)]),_:1},8,["disabled","loading"])]),_:1})]),_:1},8,["model"])])])]),_:1},8,["show"]))}}),rt={class:"min-h-screen bg-white dark:bg-gray-900"},lt={class:"w-full bg-[#f78400] p-6 flex flex-col justify-between rounded shadow-xl relative"},ot={class:"absolute right-4 top-6 font-bold text-base opacity-60 text-[#eee] flex"},it=["src"],ct={class:"text-[#fff] font-bold text-xl"},dt={class:"leading-loose flex justify-between items-center py-5"},ut={class:"text-[#fff]"},ht={class:"font-bold text-4xl"},ft={class:"ml-3"},pt=["src"],mt={class:"flex justify-between text-[#fff] items-center"},vt={class:"flex flex-col"},gt={class:"flex items-end"},_t={class:"font-bold text-xl"},wt={class:"ml-2"},xt={class:"flex flex-col"},bt={class:"flex items-end"},yt={class:"font-bold text-xl"},kt={class:"ml-2"},Ct={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},At={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},St={class:"flex item-center"},zt={class:"ml-2"},It={class:"text-base"},Rt={class:"flex p-4 justify-between border-b dark:border-[#3a3a40]"},Nt={class:"flex item-center"},$t={class:"ml-2"},Ut={class:"text-base"},Mt={class:"flex p-4 justify-between"},Pt={class:"flex item-center"},jt={class:"ml-2"},Bt={class:"text-base"},Ft={class:"flex flex-col bg-[#fff] mt-5 rounded dark:bg-[#24272e] px-2"},Tt={class:"py-6 px-4 flex justify-between items-center"},qt={class:"flex flex-col"},Dt={class:"text-base"},Lt={class:"text-[#999] text-xs mt-2"},Ot={class:"py-6 px-4 flex justify-between items-center"},Vt={class:"flex flex-col"},Wt={class:"text-base"},Et={class:"text-[#999] text-xs mt-2"},Gt={class:"py-6 px-4 flex justify-between items-center"},Qt={class:"flex flex-col"},Ht={class:"text-base"},Jt={class:"text-[#999] text-xs mt-2"},Kt={class:"bg-[#fff] dark:bg-[#24272e] p-5 rounded flex"},Xt={class:"w-full flex"},Yt={class:"mt-5 bg-[#fff] p-5 dark:bg-[#24272e]"},Zt={class:"pt-5"},ea={class:"pt-5"},ta={class:"pt-5"},aa={class:"p-4 bg-white rounded dark:bg-slate-800"},sa={class:"flex text-base mb-[20px] bg-currentflex items-center"},na={class:"ml-[8px] mt-2"},ra={class:"w-full flex mb-5 px-6"},la={class:"flex justify-center items-center"},oa={class:"flex flex-col p-5 justify-center"},ia={class:"text-center"},ca={class:"text-center"},ba=te({__name:"index",setup(v){const d=o({distributionBalance:0,drawMoneyIn:0,id:0,inviteCount:0,inviteLinkCount:0,orderCount:0,performanceRatio:0,salesOutletName:"",totalAmount:0,withdrawalAmount:0}),g=o(!1),A=o(!1),L=o([]),O=o([]),S=Ce(),i=$(()=>S.globalConfig),f=$(()=>{var s,c;return(s=i.value)!=null&&s.salesBaseRatio?Number((c=i.value)==null?void 0:c.salesBaseRatio):10}),W=$(()=>{var s,c;return(s=i.value)!=null&&s.salesSeniorRatio?Number((c=i.value)==null?void 0:c.salesSeniorRatio):10}),E=o(null),P=o("rec"),_=$(()=>S.userInfo.inviteCode),G=$(()=>{let s=`${window.location.protocol}//${window.location.hostname}`;return window.location.port&&(s+=`:${window.location.port}`),s}),z=$(()=>_.value?`${G.value}?inVitecode=${_.value}`:"**************"),p=pe(),u=o(null);Ae(),o([]);const h=o(null);o({pageSize:23});const V=o([]),I=o(!1),R=o(!1),j=o(!1),b=H({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{b.page=s,N()},onUpdatePageSize:s=>{b.pageSize=s,b.page=1,N()}}),y=H({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{y.page=s,N()},onUpdatePageSize:s=>{y.pageSize=s,y.page=1,N()}}),k=H({page:1,pageSize:10,itemCount:0,showSizePicker:!0,pageSizes:[10,20,50],onChange:s=>{k.page=s,Q()},onUpdatePageSize:s=>{k.pageSize=s,k.page=1,Q()}}),ve=o([{title:t("share.orderAmount"),align:"center",orderPrice:"address",render(s){return`¥${s.orderPrice}元`}},{align:"center",title:t("share.productType"),key:"tags",render(s){return t("share.purchasePackage")}},{align:"center",title:t("share.status"),key:"status",render(s){return T(C,{type:"success",size:"small",round:!0},()=>t("share.accounted"))}},{align:"center",title:t("share.commissionRate"),key:"commissionAmount",render(s){return`${s.commissionPercentage}%`}},{align:"center",title:t("share.commission"),key:"commissionAmount",render(s){return`¥${s.commissionAmount}元`}},{align:"center",title:t("share.orderTime"),key:"createdAt"}]);function ge(){P.value="drawMoney",ae(),se()}async function _e(){const s=await ze();if(!s.data)return p.error(s.message);p.success(t("share.generateInviteCodeSuccess")),S.getUserInfo()}function we(){A.value=!0}async function ae(){const s=await Je();d.value=s.data}function xe(s){s==="drawMoney"&&se(),s==="rec"&&N(),s==="register"&&Q()}async function N(){try{I.value=!0;const s=await Ke({page:b.page,size:b.pageSize});L.value=s.data.rows,b.itemCount=s.data.count,I.value=!1}catch{I.value=!1}}async function se(){try{R.value=!0;const s=await Xe({page:y.page,size:y.pageSize});y.itemCount=s.data.count,O.value=s.data.rows,R.value=!1}catch{R.value=!1}}const be=o([{title:t("share.withdrawalTime"),key:"createdAt",align:"center"},{title:t("share.withdrawalAmount"),key:"withdrawalAmount",align:"center"},{title:t("share.withdrawalChannel"),key:"withdrawalChannels",align:"center",render(s){return T(C,{type:s.withdrawalChannels===1?"info":"success",size:"small",round:!0},()=>s.withdrawalChannels===1?t("share.alipay"):t("share.wechat"))}},{title:t("share.withdrawalStatus"),key:"paymentStatus",render(s){return T(C,{type:s.paymentStatus===1?"success":s.paymentStatus===-1?"error":"info",size:"small",round:!0},()=>s.paymentStatus===1?t("share.paid"):s.paymentStatus===-1?t("share.rejected"):t("share.inReview"))}},{title:t("share.withdrawalRemarks"),key:"contactInformation",align:"center",render(s){return` ${(s==null?void 0:s.contactInformation)||"---"} `}},{title:t("share.auditor"),key:"auditUserId",align:"center",render(s){return` ${(s==null?void 0:s.auditUserName)||"---"} `}}]),ye=o([{title:t("share.avatar"),align:"center",key:"avatar",render(s){return T(Te,{src:s.avatar,round:!0,size:38,border:!0})}},{align:"center",title:t("share.username"),key:"username"},{align:"center",title:t("share.email"),key:"email"},{title:t("share.inviteeStatus"),align:"center",key:"status",render(s){return T(C,{type:s.status===1?"success":"error",size:"small",round:!0},()=>s.status===1?t("share.registered"):t("share.pendingActivation"))}},{title:t("share.registrationTime"),align:"center",key:"createdAt"},{title:t("share.lastLogin"),align:"center",key:"updatedAt"}]),{isMobile:w}=Re();async function Q(){try{j.value=!0;const s=await Se({page:k.page,size:k.pageSize});V.value=s.data.rows,k.itemCount=s.data.count,j.value=!1}catch{j.value=!1}}function ne(){if(!_.value)return p.error(t("share.requestInviteCodeFirst"));$e({text:z.value}),p.success(t("share.linkCopiedSuccess"));const s=u.value,c=document.createRange(),B=window.getSelection();c.selectNodeContents(s),B.removeAllRanges(),B.addRange(c)}return Me(()=>{var s;(s=h.value)==null||s.play(),ae(),N()}),(s,c)=>{var B,re,le,oe,ie,ce,de,ue;return M(),D("div",rt,[r(e(Ie),{class:x([e(w)?"px-3":"px-14"]),title:e(t)("share.title"),des:e(t)("share.description")},null,8,["class","title","des"]),a("div",{class:x(["flex-1 flex-wrap py-5 flex justify-between",[e(w)?"px-3":"px-20"]])},[a("div",{class:x(["px-[12px] min-w-[350px]",[e(w)?"w-full":"w-1/3"]])},[a("div",lt,[a("div",ot,[U(n(((B=d.value)==null?void 0:B.salesOutletName)||e(t)("share.defaultSalesOutletName"))+" ",1),a("img",{src:e(Ze),class:"ml-2 w-6 h-6 opacity-50"},null,8,it)]),a("h2",ct,n(e(t)("share.myReferrals")),1),a("div",dt,[a("div",ut,[a("span",ht,[r(e(qe),{ref_key:"numberAnimationInstRef",ref:h,from:0,to:Number((re=d.value)==null?void 0:re.totalAmount),active:!0,precision:2},null,8,["to"])]),a("span",ft,n(e(t)("share.currencyUnit")),1)]),a("img",{src:e(et),class:"w-20 opacity-10",alt:""},null,8,pt)]),a("div",mt,[a("div",vt,[a("div",gt,[a("span",_t,n(((le=d.value)==null?void 0:le.distributionBalance)||0),1),a("span",wt,n(e(t)("share.currencyUnit")),1)]),a("div",null,n(e(t)("share.remainingAmount")),1)]),a("div",xt,[a("div",bt,[a("span",yt,n(((oe=d.value)==null?void 0:oe.drawMoneyIn)||0),1),a("span",kt,n(e(t)("share.currencyUnit")),1)]),a("div",null,n(e(t)("share.withdrawingAmount")),1)]),a("div",null,[r(e(De),{placement:"top",trigger:"hover",delay:((ie=d.value)==null?void 0:ie.distributionBalance)>10?800:200},{trigger:l(()=>{var m;return[a("div",{class:x(["btn",[((m=d.value)==null?void 0:m.distributionBalance)g.value=!0)},n(e(t)("share.withdrawNow")),3)]}),default:l(()=>{var m;return[a("span",null,n(e(t)("share.minimumWithdrawalPrefix"))+" "+n(Number((m=i.value)==null?void 0:m.salesAllowDrawMoney)||10)+" "+n(e(t)("share.minimumWithdrawalSuffix")),1)]}),_:1},8,["delay"])])])]),a("div",Ct,[a("div",At,[a("div",St,[r(e(F),{class:"text-lg",icon:"icon-park-outline:order"}),a("span",zt,n(e(t)("share.purchaseOrderCount")),1)]),a("b",It,n(((ce=d.value)==null?void 0:ce.orderCount)||0),1)]),a("div",Rt,[a("div",Nt,[r(e(F),{class:"text-lg",icon:"ep:link"}),a("span",$t,n(e(t)("share.promotionLinkVisits")),1)]),a("b",Ut,n(((de=d.value)==null?void 0:de.inviteLinkCount)||0),1)]),a("div",Mt,[a("div",Pt,[r(e(F),{class:"text-lg",icon:"ph:user"}),a("span",jt,n(e(t)("share.registeredUsers")),1)]),a("b",Bt,n(((ue=d.value)==null?void 0:ue.inviteCount)||0),1)])]),a("div",Ft,[a("div",Tt,[a("div",qt,[a("h3",Dt,n(e(t)("share.referralEarnings")),1),a("div",Lt,n(e(t)("share.referralEarningsDescription")),1)]),r(e(C),{round:"",bordered:!1,type:"success",size:"small"},{default:l(()=>[U(n(e(t)("share.percentage"))+n(f.value)+"% ",1)]),_:1})]),a("div",Ot,[a("div",Vt,[a("h3",Wt,n(e(t)("share.applyForAdvancedAgent")),1),a("div",Et,n(e(t)("share.contactAdminForAdvancedAgent")),1)]),r(e(C),{round:"",bordered:!1,type:"success",size:"small"},{default:l(()=>[U(n(e(t)("share.percentage"))+n(W.value)+"% ",1)]),_:1})]),a("div",Gt,[a("div",Qt,[a("h3",Ht,n(e(t)("share.joinAsPartner")),1),a("div",Jt,n(e(t)("share.partnerDescription")),1)]),r(e(C),{round:"",bordered:!1,type:"error",size:"small"},{default:l(()=>[U(n(e(t)("share.winTogether")),1)]),_:1})])])],2),a("div",{class:x(["px-[12px]",[e(w)?"w-full":"w-2/3"]])},[a("div",Kt,[a("div",Xt,[a("div",{class:x(["border border-[ced4da] dark:border-[#3a3a40] text-sm py-1 rounded-l-md flex items-center",[e(w)?"px-1":"px-3"]])},n(e(t)("share.referralLink")),3),a("div",{ref_key:"selectable",ref:u,class:"bg-[#fafafa] dark:bg-[#2F2E34] flex-1 flex items-center dark:border-[#ffffff17] border-b border-t pl-4 max-w-[500px] select-text overflow-x-hidden whitespace-nowrap"},n(z.value),513),_.value?J("",!0):(M(),D("div",{key:0,class:x([[e(w)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px] select-none"]),onClick:_e},n(e(t)("share.apply")),3)),_.value?(M(),D("div",{key:1,class:x([[e(w)?"px-2":"px-5"],"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center mr-[-1px]"])},[r(e(F),{class:"text-lg",icon:"fluent:document-copy-48-regular",onClick:ne})],2)):J("",!0),!e(w)&&_.value?(M(),D("div",{key:2,class:"cursor-pointer hover:text-[#5A91FC] transition-all border dark:border-[#ffffff17] flex items-center px-5 bg-currentrounded-r-md",onClick:we},[r(e(F),{class:"text-lg",icon:"la:qrcode"})])):J("",!0)])]),a("div",Yt,[r(e(Le),{ref_key:"tabRef",ref:E,value:P.value,"onUpdate:value":[c[1]||(c[1]=m=>P.value=m),xe],"bar-width":338,animated:"","justify-content":"space-evenly",type:"line"},{default:l(()=>[r(e(K),{name:"rec",tab:e(t)("share.referralRecordsTab")},{default:l(()=>[a("div",Zt,[r(e(X),{"min-width":200,loading:I.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:ve.value,data:L.value,pagination:b,"scroll-x":700},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),r(e(K),{name:"drawMoney",tab:e(t)("share.withdrawalRecordsTab")},{default:l(()=>[a("div",ea,[r(e(X),{loading:R.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:be.value,data:O.value,pagination:y,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"]),r(e(K),{name:"register",tab:e(t)("share.registeredUsersTab")},{default:l(()=>[a("div",ta,[r(e(X),{loading:j.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:ye.value,data:V.value,pagination:k,"scroll-x":500},null,8,["loading","columns","data","pagination"])])]),_:1},8,["tab"])]),_:1},8,["value"])]),r(nt,{visible:g.value,onClose:c[2]||(c[2]=m=>g.value=!1),onSubmit:ge},null,8,["visible"])],2)],2),r(e(me),{show:A.value,style:{width:"90%","max-width":"420px"}},{default:l(()=>[a("div",aa,[a("div",{class:"flex justify-between",onClick:c[3]||(c[3]=m=>A.value=!1)},[a("div",sa,[r(e(Y),{size:"22",color:"#0e7a0d"},{default:l(()=>[r(e(He))]),_:1}),a("span",na,n(e(t)("share.inviteFriends")),1)]),r(e(Y),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:l(()=>[r(e(fe))]),_:1})]),a("div",ra,[r(e(Oe),null,{default:l(()=>[r(e(he),{size:"small"},{default:l(()=>[U(n(e(t)("share.inviteLink")),1)]),_:1}),r(e(Z),{size:"small",style:{flex:1},value:z.value},null,8,["value"]),r(e(he),{size:"small",onClick:ne},{default:l(()=>[a("div",null,n(e(t)("share.copy")),1)]),_:1})]),_:1})]),a("div",la,[r(Ne,{value:z.value,size:240},null,8,["value"])]),a("div",oa,[a("span",ia,n(e(t)("share.inviteBenefits1")),1),a("span",ca,n(e(t)("share.inviteBenefits2Prefix"))+" "+n(f.value||10)+" "+n(e(t)("share.inviteBenefits2Suffix")),1)])])]),_:1},8,["show"])])}}});export{ba as default}; diff --git a/public/chat/assets/index-54c5e012.js b/public/chat/assets/index-54c5e012.js new file mode 100644 index 0000000..fd15407 --- /dev/null +++ b/public/chat/assets/index-54c5e012.js @@ -0,0 +1,3 @@ +import{x as m,y as _,a as h,_ as g,B as w,C as p}from"./index-a70ad6b3.js";import{d as v,e as r,r as y,f as L,w as C,U as P,a3 as x,S as b}from"./vue-cf46d111.js";import{_ as A}from"./_plugin-vue_export-helper-c27b6911.js";import"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";const S={class:"iframe-container"},B=v({__name:"index",setup(R){const n=m();_();const o=h(),i=r(()=>o.isLogin);r(()=>{var t;return Number((t=o.globalConfig)==null?void 0:t.wechatSilentLoginStatus)===1});const s=y(null);async function u(){const a=new URLSearchParams(window.location.search).getAll("code");if(!(a.length>0?a[a.length-1]:null)){const c=window.location.href.split("#")[0],l=await p({url:c});l.success&&(window.location.href=l.data)}}async function d(){const a=new URLSearchParams(window.location.search).getAll("code"),e=a.length>0?a[a.length-1]:null;if(e){const c=await w({code:e});c.success&&(o.setToken(c.data),await o.getUserInfo(),o.setLoginDialog(!1),n.replace("/chat"))}}async function f(){window.navigator.userAgent.toLowerCase().includes("micromessenger")&&await u()}return L(async()=>{var a;if(i.value){n.replace("/chat");return}let t=r(()=>{var e;return((e=o.globalConfig)==null?void 0:e.homeHtml)||""});if(t=r(()=>{var e;return` + ${((e=o.globalConfig)==null?void 0:e.homeHtml)||""} + `}),s.value){const e=s.value.contentDocument||((a=s.value.contentWindow)==null?void 0:a.document);e&&(e.open(),e.write(t.value),e.close())}g(()=>import("./chat-2c477ae5.js"),["./chat-2c477ae5.js","./useBasicLayout-8e07f8d7.js","./vue-cf46d111.js","./index-a70ad6b3.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-429097f0.css","./index-97198a55.js","./index-08cceacb.js","./menu-1a8ade33.js","./_plugin-vue_export-helper-c27b6911.js","./index-c94da121.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./chat-61246561.css"],import.meta.url),window.addEventListener("message",async e=>{e.data==="goToChat"&&(await d(),n.replace("/chat"))}),await f()}),C(i,t=>{t&&n.replace("/chat")}),(t,a)=>(b(),P("div",S,[x("iframe",{ref_key:"iframe",ref:s,class:"iframe",frameborder:"0"},null,512)]))}});const T=A(B,[["__scopeId","data-v-9b565240"]]);export{T as default}; diff --git a/public/assets/index-03531f8f.js b/public/chat/assets/index-5ab11154.js similarity index 99% rename from public/assets/index-03531f8f.js rename to public/chat/assets/index-5ab11154.js index e0e9359..eb06fce 100644 --- a/public/assets/index-03531f8f.js +++ b/public/chat/assets/index-5ab11154.js @@ -1,4 +1,4 @@ -import{d as ht,S as wt,U as mt,a3 as it,r as Dt,w as Ut,M as Ft,a8 as kt,H as vt}from"./vue-10b4afc0.js";import{t as zt,a as Ht}from"./vueuse-motion-d4cdaf7b.js";import{_ as Vt}from"./_plugin-vue_export-helper-c27b6911.js";const Kt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Jt=it("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),$t=it("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),Ot=[Jt,$t],Ve=ht({name:"CloseOutline",render:function(t,i){return wt(),mt("svg",Kt,Ot)}});var H={},Yt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Ct={},N={};let st;const jt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return jt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');st=t};N.isKanjiModeEnabled=function(){return typeof st<"u"};N.toSJIS=function(t){return st(t)};var Y={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch{return r}}})(Y);function yt(){this.buffer=[],this.length=0}yt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Qt=yt;function V(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}V.prototype.set=function(e,t,i,o){const r=e*this.size+t;this.data[r]=i,o&&(this.reservedBit[r]=!0)};V.prototype.get=function(e,t){return this.data[e*this.size+t]};V.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};V.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var qt=V,Et={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,n=t(o),s=n===145?26:Math.ceil((n-13)/(2*r-2))*2,a=[n-7];for(let u=1;u=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const n=r.size;let s=0,a=0,u=0,c=null,l=null;for(let p=0;p=5&&(s+=t.N1+(a-5)),c=f,a=1),f=r.get(w,p),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(r){const n=r.size;let s=0;for(let a=0;a=10&&(a===1488||a===93)&&s++,u=u<<1&2047|r.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(r){let n=0;const s=r.data.length;for(let u=0;u=0;){const s=n[0];for(let u=0;u0){const n=new Uint8Array(this.degree);return n.set(o,r),n}return o};var Wt=ut,Nt={},_={},at={};at.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var b={};const Tt="[0-9]+",Zt="[A-Z $%*+\\-./:]+";let z="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";z=z.replace(/u/g,"\\u");const Xt="(?:(?![A-Z0-9 $%*+\\-./:]|"+z+`)(?:.|[\r +import{d as ht,S as wt,U as mt,a3 as it,r as Dt,w as Ut,M as Ft,a5 as kt,H as vt}from"./vue-cf46d111.js";import{t as zt,a as Ht}from"./vueuse-motion-d8fe070a.js";import{_ as Vt}from"./_plugin-vue_export-helper-c27b6911.js";const Kt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},Jt=it("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),$t=it("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),Ot=[Jt,$t],Ve=ht({name:"CloseOutline",render:function(t,i){return wt(),mt("svg",Kt,Ot)}});var H={},Yt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Ct={},N={};let st;const jt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return jt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');st=t};N.isKanjiModeEnabled=function(){return typeof st<"u"};N.toSJIS=function(t){return st(t)};var Y={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch{return r}}})(Y);function yt(){this.buffer=[],this.length=0}yt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Qt=yt;function V(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}V.prototype.set=function(e,t,i,o){const r=e*this.size+t;this.data[r]=i,o&&(this.reservedBit[r]=!0)};V.prototype.get=function(e,t){return this.data[e*this.size+t]};V.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};V.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var qt=V,Et={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,n=t(o),s=n===145?26:Math.ceil((n-13)/(2*r-2))*2,a=[n-7];for(let u=1;u=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const n=r.size;let s=0,a=0,u=0,c=null,l=null;for(let p=0;p=5&&(s+=t.N1+(a-5)),c=f,a=1),f=r.get(w,p),f===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=f,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(r){const n=r.size;let s=0;for(let a=0;a=10&&(a===1488||a===93)&&s++,u=u<<1&2047|r.get(l,c),l>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(r){let n=0;const s=r.data.length;for(let u=0;u=0;){const s=n[0];for(let u=0;u0){const n=new Uint8Array(this.degree);return n.set(o,r),n}return o};var Wt=ut,Nt={},_={},at={};at.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var b={};const Tt="[0-9]+",Zt="[A-Z $%*+\\-./:]+";let z="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";z=z.replace(/u/g,"\\u");const Xt="(?:(?![A-Z0-9 $%*+\\-./:]|"+z+`)(?:.|[\r ]))+`;b.KANJI=new RegExp(z,"g");b.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");b.BYTE=new RegExp(Xt,"g");b.NUMERIC=new RegExp(Tt,"g");b.ALPHANUMERIC=new RegExp(Zt,"g");const xt=new RegExp("^"+z+"$"),te=new RegExp("^"+Tt+"$"),ee=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");b.testKanji=function(t){return xt.test(t)};b.testNumeric=function(t){return te.test(t)};b.testAlphanumeric=function(t){return ee.test(t)};(function(e){const t=at,i=b;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},e.getBestModeForData=function(n){return i.testNumeric(n)?e.NUMERIC:i.testAlphanumeric(n)?e.ALPHANUMERIC:i.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},e.isValid=function(n){return n&&n.bit&&n.ccBits};function o(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(n,s){if(e.isValid(n))return n;try{return o(n)}catch{return s}}})(_);(function(e){const t=N,i=j,o=Y,r=_,n=at,s=7973,a=t.getBCHDigit(s);function u(w,f,m){for(let C=1;C<=40;C++)if(f<=e.getCapacity(C,m,w))return C}function c(w,f){return r.getCharCountIndicator(w,f)+4}function l(w,f){let m=0;return w.forEach(function(C){const I=c(C.mode,f);m+=I+C.getBitsLength()}),m}function p(w,f){for(let m=1;m<=40;m++)if(l(w,m)<=e.getCapacity(m,f,r.MIXED))return m}e.from=function(f,m){return n.isValid(f)?parseInt(f,10):m},e.getCapacity=function(f,m,C){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=r.BYTE);const I=t.getSymbolTotalCodewords(f),h=i.getTotalCodewordsCount(f,m),y=(I-h)*8;if(C===r.MIXED)return y;const g=y-c(C,f);switch(C){case r.NUMERIC:return Math.floor(g/10*3);case r.ALPHANUMERIC:return Math.floor(g/11*2);case r.KANJI:return Math.floor(g/13);case r.BYTE:default:return Math.floor(g/8)}},e.getBestVersionForData=function(f,m){let C;const I=o.from(m,o.M);if(Array.isArray(f)){if(f.length>1)return p(f,I);if(f.length===0)return 1;C=f[0]}else C=f;return u(C.mode,C.getLength(),I)},e.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let m=f<<12;for(;t.getBCHDigit(m)-a>=0;)m^=s<=0;)r^=bt<0&&(o=this.data.substr(i),r=parseInt(o,10),t.put(r,n*3+1))};var oe=L;const ie=_,W=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function D(e){this.mode=ie.ALPHANUMERIC,this.data=e}D.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let o=W.indexOf(this.data[i])*45;o+=W.indexOf(this.data[i+1]),t.put(o,11)}this.data.length%2&&t.put(W.indexOf(this.data[i]),6)};var se=D,ue=function(t){for(var i=[],o=t.length,r=0;r=55296&&n<=56319&&o>r+1){var s=t.charCodeAt(r+1);s>=56320&&s<=57343&&(n=(n-55296)*1024+s-56320+65536,r+=1)}if(n<128){i.push(n);continue}if(n<2048){i.push(n>>6|192),i.push(n&63|128);continue}if(n<55296||n>=57344&&n<65536){i.push(n>>12|224),i.push(n>>6&63|128),i.push(n&63|128);continue}if(n>=65536&&n<=1114111){i.push(n>>18|240),i.push(n>>12&63|128),i.push(n>>6&63|128),i.push(n&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const ae=ue,ce=_;function U(e){this.mode=ce.BYTE,typeof e=="string"&&(e=ae(e)),this.data=new Uint8Array(e)}U.getBitsLength=function(t){return t*8};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var ge=F,Pt={exports:{}};(function(e){var t={single_source_shortest_paths:function(i,o,r){var n={},s={};s[o]=0;var a=t.PriorityQueue.make();a.push(o,0);for(var u,c,l,p,w,f,m,C,I;!a.empty();){u=a.pop(),c=u.value,p=u.cost,w=i[c]||{};for(l in w)w.hasOwnProperty(l)&&(f=w[l],m=p+f,C=s[l],I=typeof s[l]>"u",(I||C>m)&&(s[l]=m,a.push(l,m),n[l]=c))}if(typeof r<"u"&&typeof s[r]>"u"){var h=["Could not find a path from ",o," to ",r,"."].join("");throw new Error(h)}return n},extract_shortest_path_from_predecessor_list:function(i,o){for(var r=[],n=o;n;)r.push(n),i[n],n=i[n];return r.reverse(),r},find_path:function(i,o,r){var n=t.single_source_shortest_paths(i,o,r);return t.extract_shortest_path_from_predecessor_list(n,r)},PriorityQueue:{make:function(i){var o=t.PriorityQueue,r={},n;i=i||{};for(n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);return r.queue=[],r.sorter=i.sorter||o.default_sorter,r},default_sorter:function(i,o){return i.cost-o.cost},push:function(i,o){var r={value:i,cost:o};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Pt);var he=Pt.exports;(function(e){const t=_,i=oe,o=se,r=le,n=ge,s=b,a=N,u=he;function c(h){return unescape(encodeURIComponent(h)).length}function l(h,y,g){const d=[];let E;for(;(E=h.exec(g))!==null;)d.push({data:E[0],index:E.index,mode:y,length:E[0].length});return d}function p(h){const y=l(s.NUMERIC,t.NUMERIC,h),g=l(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let d,E;return a.isKanjiModeEnabled()?(d=l(s.BYTE,t.BYTE,h),E=l(s.KANJI,t.KANJI,h)):(d=l(s.BYTE_KANJI,t.BYTE,h),E=[]),y.concat(g,d,E).sort(function(A,T){return A.index-T.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function w(h,y){switch(y){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return o.getBitsLength(h);case t.KANJI:return n.getBitsLength(h);case t.BYTE:return r.getBitsLength(h)}}function f(h){return h.reduce(function(y,g){const d=y.length-1>=0?y[y.length-1]:null;return d&&d.mode===g.mode?(y[y.length-1].data+=g.data,y):(y.push(g),y)},[])}function m(h){const y=[];for(let g=0;g=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(n+a,s+u,!0,!0):e.set(n+a,s+u,!1,!0))}}function Ie(e){const t=e.size;for(let i=8;i>a&1)===1,e.set(r,n,s,!0),e.set(n,r,s,!0)}function x(e,t,i){const o=e.size,r=pe.getEncodedBits(t,i);let n,s;for(n=0;n<15;n++)s=(r>>n&1)===1,n<6?e.set(n,8,s,!0):n<8?e.set(n+1,8,s,!0):e.set(o-15+n,8,s,!0),n<8?e.set(8,o-n-1,s,!0):n<9?e.set(8,15-n-1+1,s,!0):e.set(8,15-n-1,s,!0);e.set(o-8,8,1,!0)}function Me(e,t){const i=e.size;let o=-1,r=i-1,n=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(r,a-u)){let c=!1;s>>n&1)===1),e.set(r,a-u,c),n--,n===-1&&(s++,n=7)}if(r+=o,r<0||i<=r){r-=o,o=-o;break}}}function be(e,t,i){const o=new we;i.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),Be.getCharCountIndicator(u.mode,e)),u.write(o)});const r=q.getSymbolTotalCodewords(e),n=rt.getTotalCodewordsCount(e,t),s=(r-n)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const a=(s-o.getLengthInBits())/8;for(let u=0;udiv{width:0;height:40%;transition:all .2s;border:solid 1px #6aa0ff}.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn>div:nth-child(2){margin:0 4px}.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover>div:first-child,.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown>div:first-child{border:solid 4px transparent;height:0;border-right-color:#6aa0ff}.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover>div:nth-child(2),.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown>div:nth-child(2){border-width:3px;height:0;border-radius:3px;margin:0 6px;border-right-color:#6aa0ff}.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover>div:nth-child(3),.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown>div:nth-child(3){border:solid 4px transparent;height:0;border-left-color:#6aa0ff}.vue-puzzle-overflow{overflow:hidden!important}.wechat-shadow{box-shadow:0 8px 10px 1px #00000029}.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #eee;--md-theme-color-hover: #eee;--md-theme-color-hover-inset: #ddd;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #e6e6e6;--md-theme-border-color-reverse: #bebebe;--md-theme-border-color-inset: #d6d6d6;--md-theme-bg-color: #fff;--md-theme-bg-color-inset: #ececec;--md-theme-bg-color-scrollbar-track: #e2e2e2;--md-theme-bg-color-scrollbar-thumb: rgba(0, 0, 0, .3019607843);--md-theme-bg-color-scrollbar-thumb-hover: rgba(0, 0, 0, .3490196078);--md-theme-bg-color-scrollbar-thumb-active: rgba(0, 0, 0, .3803921569);--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #222;--md-theme-color-hover: #191919;--md-theme-color-hover-inset: #444;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #2d2d2d;--md-theme-border-color-reverse: #e6e6e6;--md-theme-border-color-inset: #5a5a5a;--md-theme-bg-color: #000;--md-theme-bg-color-inset: #111;--md-theme-bg-color-scrollbar-track: #0f0f0f;--md-theme-bg-color-scrollbar-thumb: #2d2d2d;--md-theme-bg-color-scrollbar-thumb-hover: #3a3a3a;--md-theme-bg-color-scrollbar-thumb-active: #3a3a3a;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b}.md-editor .md-editor-admonition-note{--md-admonition-color: #448aff;--md-admonition-bg-color: #d5e2f9}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #02b1ff;--md-admonition-bg-color: #d1eefb}.md-editor .md-editor-admonition-info{--md-admonition-color: #333;--md-admonition-bg-color: #e3e3e3}.md-editor .md-editor-admonition-tip{--md-admonition-color: #666;--md-admonition-bg-color: #e6e6e6}.md-editor .md-editor-admonition-success{--md-admonition-color: #00c852;--md-admonition-bg-color: #c1f1d5}.md-editor .md-editor-admonition-question{--md-admonition-color: #f0b400;--md-admonition-bg-color: #fff1dd}.md-editor .md-editor-admonition-warning{--md-admonition-color: #ff9104;--md-admonition-bg-color: #ffe9cc}.md-editor .md-editor-admonition-failure{--md-admonition-color: #c2185b;--md-admonition-bg-color: #ffd9d9}.md-editor .md-editor-admonition-danger{--md-admonition-color: #ff5252;--md-admonition-bg-color: #ffe4e4}.md-editor .md-editor-admonition-bug{--md-admonition-color: #f60357;--md-admonition-bg-color: #ffd3e2}.md-editor .md-editor-admonition-example{--md-admonition-color: #7c4dff;--md-admonition-bg-color: #e3d8ff}.md-editor .md-editor-admonition-quote{--md-admonition-color: #9e9e9e;--md-admonition-bg-color: #f0f0f0}.md-editor .md-editor-admonition-hint{--md-admonition-color: #009688;--md-admonition-bg-color: #cdf4f0}.md-editor .md-editor-admonition-caution{--md-admonition-color: #ffa726;--md-admonition-bg-color: #ffe7c4}.md-editor .md-editor-admonition-error{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #ffd8d8}.md-editor .md-editor-admonition-attention{--md-admonition-color: #455a64;--md-admonition-bg-color: #cbefff}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #1262e7;--md-admonition-bg-color: #021d4c}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #058dc9;--md-admonition-bg-color: #002433}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #999;--md-admonition-bg-color: #212121}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #888;--md-admonition-bg-color: #191818}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #00c551;--md-admonition-bg-color: #003014}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #cd9a00;--md-admonition-bg-color: #311d00}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ed8500;--md-admonition-bg-color: #3c2200}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #d5125f;--md-admonition-bg-color: #3f0000}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #d80505;--md-admonition-bg-color: #390000}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #da0d54;--md-admonition-bg-color: #390013}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #7443ff;--md-admonition-bg-color: #140045}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #9e9e9e;--md-admonition-bg-color: #2b2b2b}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #00ae9e;--md-admonition-bg-color: #00423b}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #db8609;--md-admonition-bg-color: #573300}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #df1a1a;--md-admonition-bg-color: #440000}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #0f8bc7;--md-admonition-bg-color: #00354d}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-color);border-radius:.5rem;color:var(--md-admonition-color);display:flow-root;font-size:14px;font-weight:400;margin:1rem 0;padding:1em 1em .5em;page-break-inside:avoid}.md-editor-preview .md-editor-admonition-title{border-top-left-radius:.5rem;border-top-right-radius:.5rem;margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-top:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow-x:auto;display:none;text-align:center;line-height:normal}.md-editor-preview [class=md-editor-mermaid][data-processed]{display:block}.prefix-katex-block{text-align:center;margin:20px}.prefix-katex-inline,.prefix-katex-block{display:none}.prefix-katex-inline[data-processed]{display:initial}.prefix-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: 2px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 5px}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: 2px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 5px}.md-editor-preview code{color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:0 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:initial}.md-editor-preview .md-editor-code input:checked+label{border-bottom:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1rf 1rf";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-bottom:0;border-top-left-radius:var(--md-theme-code-block-radius);border-top-right-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-top:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-left:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-top:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-left:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-right:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:-moz-max-content;width:max-content;text-align:center;padding:4px;border-radius:2px;box-shadow:0 0 2px #0003;left:-10px;top:50%;transform:translate(-100%,-50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-right-width:0;border-left-color:currentColor;left:-10px;top:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-right:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub;transform:rotate(0);transition:transform .1s}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-bottom-left-radius:var(--md-theme-code-block-radius);border-bottom-right-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-bottom-left-radius:0;border-bottom-right-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon{transform:rotate(-90deg)}.md-editor-scrn span[rn-wrapper]{position:absolute;pointer-events:none;top:1em;font-size:100%;left:0;width:3em;letter-spacing:-1px;-webkit-user-select:none;-moz-user-select:none;user-select:none;counter-reset:linenumber}.md-editor-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-editor-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-right:.5em;text-align:right;content:counter(linenumber)}.md-editor-scrn pre code{padding-left:3.5em!important}.md-editor-preview figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-top:5px}.md-editor .md-editor-preview,.md-editor-dark .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em;font-weight:700}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a,.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-bottom:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-bottom:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-bottom:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-bottom:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-bottom:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-bottom:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-top:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .3s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty:before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-left:2.35em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-left:-1.5em;margin-right:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-left:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track{background-color:var(--md-theme-bg-color-scrollbar-track);border-radius:2px}.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-theme-bg-color-scrollbar-thumb)}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-theme-bg-color-scrollbar-thumb-hover)}.md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-theme-bg-color-scrollbar-thumb-active)}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme .md-editor-code pre code{box-shadow:#0005 0 2px 2px}div.default-theme img{margin:0 auto;box-sizing:border-box;padding:5px;border:1px solid var(--md-theme-border-color);border-radius:3px}div.default-theme blockquote img{border-color:var(--md-theme-border-color-inset)}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:block;overflow:auto}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-bottom:1em;margin-top:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-top:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-bottom:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}.vuepress-theme ul,.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}.vuepress-theme ul li,.vuepress-theme ol li{margin:1.2em 0}.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-left:20px}div.vuepress-theme blockquote p{margin-left:0;margin-top:1.2em;margin-bottom:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor .vuepress-theme{--md-theme-color: #304455}.md-editor-dark .vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-bottom:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-bottom:.3em;font-size:2em}div.github-theme h2{padding-bottom:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}.github-theme ol li+li,.github-theme ul li+li{margin-top:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: .25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: .25em solid #444c56}div.github-theme blockquote{padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-top:0;margin-bottom:16px}.md-editor div.cyanosis-theme,.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto}div.cyanosis-theme code::-moz-selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code::-moz-selection{background-color:var(--md-theme-slct-prebg-color)}div.cyanosis-theme .md-editor-code pre code::selection{background-color:var(--md-theme-slct-prebg-color)}div.cyanosis-theme .md-editor-code pre code::-webkit-scrollbar{width:4px;height:4px}div.cyanosis-theme .md-editor-code pre code::-webkit-scrollbar-track{background-color:var(--md-theme-border-color)}div.cyanosis-theme .md-editor-code pre code::-webkit-scrollbar-thumb{background-color:var(--md-theme-strong-color);border-radius:10px}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-bottom:4px;margin-top:36px;margin-bottom:10px;font-size:30px;line-height:1.5;transition:color .35s}div.cyanosis-theme h2{position:relative;padding-left:10px;padding-right:10px;padding-bottom:10px;margin-top:36px;margin-bottom:10px;font-size:24px;line-height:1.5;border-bottom:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2:before{content:"「";position:absolute;top:-6px;left:-14px}div.cyanosis-theme h2:after{content:"」";position:relative;top:6px;right:auto}div.cyanosis-theme h3{position:relative;padding-bottom:0;margin-top:30px;margin-bottom:10px;font-size:20px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h3:before{content:"»";padding-right:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-bottom:0;margin-top:24px;margin-bottom:10px;font-size:16px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h5{padding-bottom:0;margin-top:18px;margin-bottom:10px;font-size:14px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h6{padding-bottom:0;margin-top:12px;margin-bottom:10px;font-size:12px;line-height:1.5;padding-left:6px;transition:color .35s}div.cyanosis-theme h1::-moz-selection,div.cyanosis-theme h2::-moz-selection,div.cyanosis-theme h3::-moz-selection,div.cyanosis-theme h4::-moz-selection,div.cyanosis-theme h5::-moz-selection,div.cyanosis-theme h6::-moz-selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media (max-width: 720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-bottom:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-bottom-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a:after{position:absolute;content:"";top:100%;left:0;width:100%;opacity:0;border-bottom:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}div.cyanosis-theme a:hover:after{top:0;opacity:1;border-bottom-color:var(--md-theme-linkh-color)}.cyanosis-theme ol,.cyanosis-theme ul{margin:0}.cyanosis-theme ol li,.cyanosis-theme ul li{margin-bottom:0;list-style:inherit}.cyanosis-theme ol li .task-list-item,.cyanosis-theme ul li .task-list-item{list-style:none}.cyanosis-theme ol li .task-list-item ul,.cyanosis-theme ol li .task-list-item ol,.cyanosis-theme ul li .task-list-item ul,.cyanosis-theme ul li .task-list-item ol{margin-top:0}.cyanosis-theme ol ul,.cyanosis-theme ol ol,.cyanosis-theme ul ul,.cyanosis-theme ul ol{margin-top:4px}.cyanosis-theme ol li{padding-left:6px}.cyanosis-theme ol li::-moz-selection,.cyanosis-theme ul li::-moz-selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.cyanosis-theme ol li::selection,.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.cyanosis-theme .task-list-item-checkbox{position:relative}.cyanosis-theme .contains-task-list input[type=checkbox]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;width:inherit;height:inherit;background:#f0f8ff;border:1px solid #add6ff;border-radius:2px;box-sizing:border-box;z-index:1}.cyanosis-theme .contains-task-list input[type=checkbox]:after{content:"✓";position:absolute;top:-12px;left:0;right:0;bottom:0;width:0;height:0;color:#f55;font-size:20px;font-weight:700;z-index:2}.cyanosis-theme p{line-height:inherit;margin-top:16px;margin-bottom:16px}.cyanosis-theme p::-moz-selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote:after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}.cyanosis-theme table th,.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}.cyanosis-theme table td{min-width:120px}.cyanosis-theme table thead th::-moz-selection{background-color:#0000}.cyanosis-theme table thead th::selection{background-color:#0000}.cyanosis-theme table tbody td::-moz-selection{background-color:var(--md-theme-slct-bg-color)}.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(90deg,var(--md-theme-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-bottom:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::-moz-selection,div.cyanosis-theme b::-moz-selection,div.cyanosis-theme strong::-moz-selection,div.cyanosis-theme i::-moz-selection,div.cyanosis-theme em::-moz-selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::-moz-selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme,.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: $theme-color}div.mk-cute-theme h1:before,div.mk-cute-theme h2:before,div.mk-cute-theme h3:before,div.mk-cute-theme h4:before,div.mk-cute-theme h5:before,div.mk-cute-theme h6:before{content:"";display:block;position:absolute;left:0;top:0;bottom:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}@media (max-width: 720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: $link-color;--md-theme-link-hover-color: $link-active-color}div.mk-cute-theme a{display:inline-block;border-bottom:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-bottom:1px solid #007bff}.mk-cute-theme ol li,.mk-cute-theme ul li{margin-bottom:0;list-style:inherit}.mk-cute-theme ol li .task-list-item,.mk-cute-theme ul li .task-list-item{list-style:none}.mk-cute-theme ol li .task-list-item ul,.mk-cute-theme ol li .task-list-item ol,.mk-cute-theme ul li .task-list-item ul,.mk-cute-theme ul li .task-list-item ol{margin-top:0}.mk-cute-theme ol ul,.mk-cute-theme ol ol,.mk-cute-theme ul ul,.mk-cute-theme ul ol{margin-top:3px}.mk-cute-theme ol li{padding-left:6px}.mk-cute-theme p{line-height:inherit;margin-top:22px;margin-bottom:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, .75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, .75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:5px}div.mk-cute-theme blockquote:before{content:"❝";top:10px;left:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote:after{content:"❞";font-size:20px;position:absolute;right:8px;bottom:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, .631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, .631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(50,58,66,.25) 3%,rgba(0,0,0,0) 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(217,234,251,.25) 3%,rgba(0,0,0,0) 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-top:32px;margin-bottom:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-left:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}.smart-blue-theme ul,.smart-blue-theme ol{margin-top:1em}.smart-blue-theme li{line-height:2;margin-bottom:0;list-style:inherit}.smart-blue-theme p{line-height:2;font-weight:400}.smart-blue-theme *+p{margin-top:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-left:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor .smart-blue-theme{--md-theme-color: #595959;background-image:linear-gradient(90deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%),linear-gradient(360deg,rgba(60,10,30,.04) 3%,rgba(0,0,0,0) 3%)}.md-editor-dark .smart-blue-theme{--md-theme-color: #999;background-image:linear-gradient(90deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%),linear-gradient(360deg,rgba(207,207,207,.04) 3%,rgba(255,255,255,0) 3%)}div.smart-blue-theme{color:var(--md-theme-color);font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-size:20px 20px;background-position:center center}div.smart-blue-theme strong,div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-top:1px solid #135ce0}.md-editor-catalog-editor{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000019;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-active-color: #00000061;position:absolute;overflow:auto;top:0;right:0;height:100%;background-color:var(--md-bk-color-outstand);border-left:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin:0;padding:5px 10px;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";z-index:2}.md-editor-catalog>.md-editor-catalog-link{padding:5px 8px}.md-editor-catalog-link{padding:5px 0 5px 1em;line-height:1.2}.md-editor-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer}.md-editor-catalog-link span:hover{color:#73d13d}.md-editor-catalog-wrapper>.md-editor-catalog-link{padding-top:5px;padding-bottom:5px}.md-editor-catalog-wrapper>.md-editor-catalog-link:first-of-type{padding-top:10px}.md-editor-catalog-wrapper>.md-editor-catalog-link:last-of-type{padding-bottom:0}.md-editor-catalog-active>span{color:#73d13d}.md-editor-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000066;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.md-editor{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000019;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-active-color: #00000061;color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";width:100%;height:500px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;background-color:var(--md-bk-color)}.md-editor ::-webkit-scrollbar{width:6px;height:6px}.md-editor ::-webkit-scrollbar-corner,.md-editor ::-webkit-scrollbar-track{background-color:var(--md-scrollbar-bg-color)}.md-editor ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-scrollbar-thumb-color)}.md-editor ::-webkit-scrollbar-button:vertical{display:none}.md-editor ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-scrollbar-thumb-hover-color)}.md-editor ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-scrollbar-thumb-active-color)}.md-editor .md-editor-fullscreen{position:fixed!important;top:0;right:0;bottom:0;left:0;width:auto!important;height:auto!important;z-index:10000}.md-editor-icon{width:24px;height:24px;fill:currentColor;overflow:hidden;display:block}.md-editor .md-editor-iconfont{font-size:24px;width:24px;height:24px;display:block}.md-editor-preview-wrapper{position:relative;flex:1;box-sizing:border-box;overflow:auto;padding:10px 20px}.md-editor-preview{font-size:16px;word-break:break-all;overflow:hidden}.md-editor-modal-container{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f6f6f6;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000019;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-active-color: #00000061;color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md-editor-modal-container ::-webkit-scrollbar{width:6px;height:6px}.md-editor-modal-container ::-webkit-scrollbar-corner,.md-editor-modal-container ::-webkit-scrollbar-track{background-color:var(--md-scrollbar-bg-color)}.md-editor-modal-container ::-webkit-scrollbar-thumb{border-radius:2px;background-color:var(--md-scrollbar-thumb-color)}.md-editor-modal-container ::-webkit-scrollbar-button:vertical{display:none}.md-editor-modal-container ::-webkit-scrollbar-thumb:vertical:hover{background-color:var(--md-scrollbar-thumb-hover-color)}.md-editor-modal-container ::-webkit-scrollbar-thumb:vertical:active{background-color:var(--md-scrollbar-thumb-active-color)}.md-editor-previewOnly{border:none;height:auto}.md-editor-previewOnly .md-editor-content{height:100%}.md-editor-previewOnly .md-editor-preview{padding:0}.md-editor-dark,.md-editor-modal-container[data-theme=dark]{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #111;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000066;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.modal-fade-enter-active[data-v-8f584477],.modal-fade-leave-active[data-v-8f584477]{transition:opacity .5s}.modal-fade-enter-from[data-v-8f584477],.modal-fade-leave-to[data-v-8f584477]{opacity:0}.sidebar{overflow:hidden;width:calc(100% - 5px)}.sidebar:hover{width:100%;overflow:overlay}.overlay{overflow:hidden}.overlay:hover{width:100%;overflow:overlay}.active_bar{border-width:1px} diff --git a/public/chat/assets/index-835d25b6.js b/public/chat/assets/index-835d25b6.js new file mode 100644 index 0000000..5d14ba1 --- /dev/null +++ b/public/chat/assets/index-835d25b6.js @@ -0,0 +1,46 @@ +var Hi=Object.defineProperty;var qi=(e,t,u)=>t in e?Hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u;var se=(e,t,u)=>(qi(e,typeof t!="symbol"?t+"":t,u),u),Hu=(e,t,u)=>{if(!t.has(e))throw TypeError("Cannot "+u)};var f=(e,t,u)=>(Hu(e,t,"read from private field"),u?u.call(e):t.get(e)),V=(e,t,u)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,u)},W=(e,t,u,n)=>(Hu(e,t,"write to private field"),n?n.call(e,u):t.set(e,u),u);var cu=(e,t,u,n)=>({set _(r){W(e,t,r,u)},get _(){return f(e,t,n)}}),B=(e,t,u)=>(Hu(e,t,"access private method"),u);import{u as _t,a as Me,b as Ui,f as Wi,c as Gi,t as L,d as gn,e as Vi,r as Xi,g as Zi,h as yr,i as Yi,j as Qi,s as Xt,k as Ji,l as Ki,m as eo,n as to,o as uo,p as _r,_ as vr,q as mn,v as no,w as ro,x as bn,y as xn,R as io,z as oo,A as ao,B as so,C as lo}from"./index-a70ad6b3.js";import{d as he,e as z,S as F,U as R,X as O,W as Z,a3 as m,m as Ln,c as K,a4 as M,M as y,r as H,w as we,f as Ce,V as Q,z as Tu,a5 as Y,k as rt,a6 as it,F as Ie,a7 as Ue,a8 as G,a9 as Ju,A as co,o as yn,H as Ge,n as Ot,a as ke,p as st,t as kr,x as Nt,aa as fo,ab as ho,h as po,ac as wr,ad as go,P as mo}from"./vue-cf46d111.js";import{u as Ke}from"./useBasicLayout-8e07f8d7.js";import{S as bo,a as xo}from"./Star-723ae1fb.js";import{C as Iu,a as yo,S as _o,U as Mn,M as vo,b as kt,D as ko,A as wo,c as Co,d as Ao,e as Eo,L as Do,g as So}from"./menu-1a8ade33.js";import{p as Cr,e as et,q as Ar,r as Zt,s as Er,t as Dr,v as _n,w as zu,d as Sr,x as qu,y as Fo,z as Fr,i as Tr,A as To,B as Io,C as zo,D as $o,E as Lo}from"./naive-ui-074da7ca.js";import{_ as $u}from"./_plugin-vue_export-helper-c27b6911.js";import{C as Ir,Q as Rn}from"./index-5ab11154.js";import{f as Mo}from"./crami-4d5edf1c.js";import{f as zr,a as Ro}from"./order-54d4bdde.js";import{_ as $r}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import"./vueuse-motion-d8fe070a.js";import"./index-08cceacb.js";const Bo={key:0},Po={key:1},Oo=he({__name:"index",props:{tooltip:{default:""},placement:{default:"bottom"}},emits:["click"],setup(e,{emit:t}){const u=e,n=t,r=z(()=>!!u.tooltip);function i(){n("click")}return(o,a)=>r.value?(F(),R("div",Bo,[O(y(Cr),{placement:o.placement,trigger:"hover"},{trigger:Z(()=>[m("button",{onClick:i},[Ln(o.$slots,"default")])]),default:Z(()=>[K(" "+M(o.tooltip),1)]),_:3},8,["placement"])])):(F(),R("div",Po,[m("button",{onClick:i},[Ln(o.$slots,"default")])]))}}),No={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},jo={class:"flex justify-between items-start mb-2"},Ho={class:"relative flex flex-1 w-full"},qo={for:"search-field",class:"sr-only"},Uo={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},Wo=["placeholder"],Go={key:0,class:"relative",style:{"max-width":"60%",margin:"auto"}},Vo=["onClick"],Xo={key:0,class:"flex justify-between items-start my-1 h-14",style:{"max-width":"100%"}},Zo=["onClick"],Yo={class:"w-full flex flex-grow my-2 items-start"},Qo=["onClick"],Jo={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-full"},Ko=["src"],ea={class:"text-white text-sm"},ta={class:"flex-grow flex flex-col"},ua={class:"flex items-center font-medium text-base text-gray-600 dark:text-gray-400 my-1"},na={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},ra={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-1"},ia=he({__name:"AppDialog",props:{visible:{type:Boolean}},setup(e){var _;const t=e,{isMobile:u}=Ke(),n=_t();function r(){n.updateAppDialog(!1)}const i=Me();(_=i.globalConfig)!=null&&_.siteName,z(()=>i.globalConfig.appMenuHeaderTips);const o=et(),a=Ui(),s=H(""),l=H([]),c=z(()=>a.catId),d=H([]),p=H([]),g=z(()=>a.mineApps),h=H([]),b=H(0);function k(x){return g.value.some(D=>D.appId===x.id)}async function w(){var D;const x=await Wi();d.value=(D=x==null?void 0:x.data)==null?void 0:D.rows.map(T=>(T.loading=!1,T)),p.value=d.value}const A=z(()=>s.value?d.value.filter(x=>x.name.includes(s.value)):b.value===0?d.value:d.value.filter(x=>x.catId===b.value));async function C(x){x.loading=!0;try{const D=await Vi({appId:x.id});o.success(D.data),await a.queryMineApps(),x.loading=!1}catch{x.loading=!1}}async function E(x){const D=Number(x.id);r(),Xi.replace({path:"/chat",query:{appId:D}})}async function I(){var T;const x=await Gi(),D={id:0,name:L("app.allCategories")};h.value=[D,...(T=x==null?void 0:x.data)==null?void 0:T.rows]}async function $(){const x=await gn({menuPlatform:1});x.success&&(l.value=x.data)}function S(x){b.value=x}we(c,x=>{x?p.value=d.value.filter(D=>D.catId===x):p.value=d.value});function v(){const x=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return x[Math.floor(Math.random()*x.length)]}const N=H(null);return Ce(()=>{I(),w(),$()}),(x,D)=>(F(),Q(Tu,{name:"modal-fade"},{default:Z(()=>[t.visible?(F(),R("div",No,[m("div",{class:Y(["bg-white dark:bg-gray-900 shadow-lg flex flex-col",[y(u)?"w-full h-screen px-2 py-5":"w-[60vw] min-h-[50vh] max-h-[80vh] p-6 rounded-lg"]])},[m("div",jo,[m("div",{class:Y(["mx-1 flex rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800",[y(u)?"w-full mr-8":"w-[40%]"]])},[m("div",Ho,[m("label",qo,M(y(L)("app.searchAppNameQuickFind")),1),m("div",Uo,[O(y(bo),{theme:"outline",size:"24",class:"text-gray-400"})]),rt(m("input",{id:"search-field","onUpdate:modelValue":D[0]||(D[0]=T=>s.value=T),class:"z-1 w-full rounded-xl dark:bg-gray-800 pr-3 py-2 font-normal outline-0 delay-100 text-base pl-12 dark:text-gray-400",placeholder:y(L)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,Wo),[[it,s.value]])])],2),y(u)?G("",!0):(F(),R("div",Go,[m("div",{ref_key:"scrollContainer",ref:N,class:"flex justify-between items-center scrollbar-hide overflow-x-auto",style:{"max-width":"95%",margin:"auto"}},[(F(!0),R(Ie,null,Ue(h.value,(T,P)=>(F(),R("div",{key:P,onClick:U=>S(T.id),class:Y([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":b.value===T.id,"text-gray-500":b.value!==T.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},M(T.name),11,Vo))),128))],512)])),O(y(Iu),{size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:r})]),y(u)?(F(),R("div",Xo,[m("div",{ref_key:"scrollContainer",ref:N,class:"flex justify-between items-center overflow-x-auto scrollbar-hide"},[(F(!0),R(Ie,null,Ue(h.value,(T,P)=>(F(),R("div",{key:P,onClick:U=>S(T.id),class:Y([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":b.value===T.id,"text-gray-500":b.value!==T.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},M(T.name),11,Zo))),128))],512)])):G("",!0),m("div",Yo,[O(co,{name:"list",tag:"div",class:Y(["w-full grid overflow-y-auto",[y(u)?"grid-cols-1 max-h-[85vh]":"h-[60vh] grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-3 gap-3"]]),style:{"align-content":"start"}},{default:Z(()=>[(F(!0),R(Ie,null,Ue(A.value,T=>(F(),R("div",{key:T.id,onClick:P=>E(T),class:"custom-card cursor-pointer h-[7rem] flex items-center gap-5 rounded-xl bg-gray-50 px-3 py-3 mx-2 mb-3 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[T.coverImg?(F(),R("div",Jo,[m("img",{src:T.coverImg,class:"rounded-full w-16 h-16",alt:"app-image"},null,8,Ko)])):(F(),R("div",{key:1,class:Y([v(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-16 h-16 flex items-center justify-center"])},[m("span",ea,M(T.name.slice(0,3)),1)],2)),m("div",ta,[m("div",ua,[m("span",na,M(T.name),1),O(y(xo),{theme:k(T)?"filled":"outline",size:"20",fill:k(T)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:Ju(P=>C(T),["stop"])},null,8,["theme","fill","onClick"])]),m("span",ra,M(T.des),1)])],8,Qo))),128))]),_:1},8,["class"])])],2)])):G("",!0)]),_:1}))}});const oa=$u(ia,[["__scopeId","data-v-79922a01"]]),aa={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},sa=m("path",{d:"M53.12 199.94l400-151.39a8 8 0 0 1 10.33 10.33l-151.39 400a8 8 0 0 1-15-.34l-67.4-166.09a16 16 0 0 0-10.11-10.11L53.46 215a8 8 0 0 1-.34-15.06z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),la=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M460 52L227 285"},null,-1),ca=[sa,la],Lr=he({name:"PaperPlaneOutline",render:function(t,u){return F(),R("svg",aa,ca)}}),da={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},fa=m("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),ha=m("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),pa=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M88 176v112"},null,-1),ga=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),ma=[fa,ha,pa,ga],ba=he({name:"PersonAddOutline",render:function(t,u){return F(),R("svg",da,ma)}}),xa={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},ya=m("path",{d:"M376 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),_a=m("path",{d:"M288 304c-87 0-175.3 48-191.64 138.6c-2 10.92 4.21 21.4 15.65 21.4H464c11.44 0 17.62-10.48 15.65-21.4C463.3 352 375 304 288 304z",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"},null,-1),va=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M144 232H32"},null,-1),ka=[ya,_a,va],wa=he({name:"PersonRemoveOutline",render:function(t,u){return F(),R("svg",xa,ka)}}),Ca={class:"p-5 bg-white rounded dark:bg-slate-800"},Aa={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},Ea=m("span",{class:"ml-[8px]"},"绑定微信账户",-1),Da={style:{"white-space":"nowrap"},class:"w-full text-center font-bold text-sm py-5"},Sa={class:"w-[55px] inline-block text-[red] text-left"},Fa={class:"my-2 flex justify-center relative"},Ta=m("span",{class:"flex items-center justify-center text-base py-5"}," 打开微信扫码绑定账户 ",-1),Ia=he({__name:"BindWx",props:{visible:{type:Boolean}},setup(e){const t=_t();let u;const n=H(),r=Me(),i=H(!1),o=H(""),a=H(""),s=et();async function l(){const b=await Zi();b.success&&(a.value=b.data,c())}async function c(){const b=await yr({sceneStr:a.value});b.success&&(i.value=!0,o.value=b.data,u=setInterval(()=>{d()},1e3))}async function d(){if(!a.value)return;const b=await Yi({sceneStr:a.value});if(b.data){clearInterval(u);const{status:k,msg:w}=b.data;k?s.success(w):s.error(w),r.getUserInfo(),t.updateBindwxDialog(!1)}}function p(){var b;clearInterval(u),l(),(b=n.value)==null||b.reset()}function g(){l()}function h(){clearInterval(u),o.value="",a.value="",i.value=!1}return(b,k)=>(F(),Q(y(Ar),{show:b.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":g,"on-after-leave":h},{default:Z(()=>[m("div",Ca,[m("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:k[0]||(k[0]=w=>y(t).updateBindwxDialog(!1))},[O(y(Zt),{size:"20",color:"#0e7a0d"},{default:Z(()=>[O(y(Ir))]),_:1})]),m("div",Aa,[O(y(Zt),{size:"25",color:"#0e7a0d"},{default:Z(()=>[O(y(Lr))]),_:1}),Ea]),m("div",null,[m("div",Da,[m("p",null,[K(" 请在 "),m("span",Sa,[O(y(Er),{ref_key:"countdownRef",ref:n,active:i.value,duration:120*1e3,"on-finish":p},null,8,["active"])]),K(" 时间内完成绑定 ")])]),m("div",Fa,[o.value?(F(),Q(y(Dr),{key:0,"preview-disabled":"",width:"230",src:o.value},null,8,["src"])):(F(),Q(y(_n),{key:1,height:"230px",width:"230px"})),o.value?G("",!0):(F(),Q(y(zu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),Ta])])]),_:1},8,["show"]))}}),za={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},$a={class:"flex justify-between items-center p-3"},La={class:"text-xl font-bold"},Ma={class:"w-full overflow-y-auto p-4 mx-auto m-2 grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"},Ra=["onClick"],Ba={class:"relative"},Pa={class:"text-lg font-semibold leading-8"},Oa={key:0,class:"flex justify-between items-end min-h-28"},Na={class:"text-sm font-bold mr-1 w-[120px]"},ja={class:"font-bold"},Ha={key:1,class:"flex justify-between items-end min-h-28"},qa={class:"text-sm font-bold mr-1 w-[120px]"},Ua={class:"font-bold"},Wa={key:2,class:"flex justify-between items-end min-h-28"},Ga={class:"text-sm font-bold mr-1 w-[120px]"},Va={class:"font-bold"},Xa={class:"mt-6 flex items-baseline gap-x-1"},Za={class:"text-4xl font-bold tracking-tight"},Ya={class:"mt-6 flex flex-col gap-4"},Qa=["onClick"],Ja={role:"list",class:"mt-8 space-y-3 text-sm leading-6 text-gray-600 dark:text-gray-400"},Ka=he({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(e){const t=Me(),u=_t(),n=H(!0),r=H([]),i=et(),o=Sr(),a=H(!1),s=z(()=>t.globalConfig.model3Name||L("goods.basicModelQuota")),{isMobile:l}=Ke(),c=z(()=>t.globalConfig.model4Name)||L("goods.advancedModelQuota"),d=z(()=>t.globalConfig.drawMjName)||L("goods.drawingQuota"),p=z(()=>Number(t.globalConfig.isHideModel3Point)===1),g=z(()=>Number(t.globalConfig.isHideModel4Point)===1),h=z(()=>Number(t.globalConfig.isHideDrawMjPoint)===1),b=z(()=>{var x;const _=window.navigator.userAgent.toLowerCase();return _.match(/MicroMessenger/i)&&((x=_==null?void 0:_.match(/MicroMessenger/i))==null?void 0:x[0])==="micromessenger"}),k=z(()=>{const{payHupiStatus:_,payEpayStatus:x,payMpayStatus:D,payWechatStatus:T,payLtzfStatus:P}=t.globalConfig;return Number(T)===1?"wechat":Number(D)===1?"mpay":Number(_)===1?"hupi":Number(x)===1?"epay":Number(P)===1?"ltzf":null}),w=z(()=>{const{payEpayChannel:_,payMpayChannel:x}=t.globalConfig;return k.value==="mpay"?x?JSON.parse(x):[]:k.value==="epay"?_?JSON.parse(_):[]:k.value==="wechat"?["wxpay"]:k.value==="hupi"?["wxpay"]:k.value==="ltzf"?["wxpay"]:[]});Ce(()=>{I(),b.value&&A()}),yn(()=>{r.value=[],n.value=!0});async function A(){const _=window.location.href.replace(/#.*$/,""),x=await Qi({url:_}),{appId:D,nonceStr:T,timestamp:P,signature:U}=x.data;D&&(wx.config({debug:!1,appId:D,timestamp:P,nonceStr:T,signature:U,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function C(_){const{appId:x,timeStamp:D,nonceStr:T,package:P,signType:U,paySign:j}=_;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:x,timeStamp:D,nonceStr:T,package:P,signType:U,paySign:j},ue=>{ue.err_msg==="get_brand_wcpay_request:ok"?(i.success(L("goods.purchaseSuccess")),setTimeout(()=>{t.getUserInfo(),u.updateGoodsDialog(!1)},500)):i.success(L("goods.paymentNotSuccessful"))})}async function E(_){if(!a.value){if(b.value&&k.value==="wechat"&&Number(t.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",C,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",C),document.attachEvent("onWeixinJSBridgeReady",C));else{const x=await zr({goodsId:_.id,payType:"jsapi"}),{success:D,data:T}=x;D&&C(T)}return}u.updateOrderInfo({pkgInfo:_}),u.updateGoodsDialog(!1),u.updatePayDialog(!0)}}async function I(){n.value=!0;try{const _=await Mo({status:1,size:30});r.value=_.data.rows,n.value=!1}catch{n.value=!1}}const $=H(""),S=_=>{$.value=_.name};function v(_){const{name:x}=_;o.success({title:L("goods.orderConfirmationTitle"),content:L("goods.orderConfirmationContent")+x,negativeText:L("goods.thinkAgain"),positiveText:L("goods.confirmPurchase"),onPositiveClick:()=>{w.value.length||i.warning(L("goods.paymentNotEnabled")),E(_)}})}function N(_){return _.split(` +`)}return(_,x)=>(F(),Q(Tu,{name:"modal-fade"},{default:Z(()=>[_.visible?(F(),R("div",za,[m("div",{class:Y(["bg-white dark:bg-gray-900 flex flex-col relative",y(l)?" w-full h-full":"max-h-[80vh] rounded-lg shadow-lg w-full max-w-7xl p-4 mx-2 "])},[m("div",$a,[m("span",La,M(y(L)("goods.selectProducts")),1),O(y(Iu),{size:"18",class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:x[0]||(x[0]=D=>y(u).updateGoodsDialog(!1))})]),m("div",Ma,[(F(!0),R(Ie,null,Ue(r.value,(D,T)=>(F(),R("div",{key:T,class:Y([D.name==$.value?"ring-2 ring-indigo-500 shadow-md":"ring-2 ring-gray-200 dark:ring-gray-800 ","rounded-lg p-8 hover:shadow-md"]),onClick:P=>S(D)},[m("div",Ba,[m("b",Pa,M(D.name),1)]),p.value?G("",!0):(F(),R("div",Oa,[m("span",Na,M(s.value),1),m("span",ja,M(D.model3Count),1)])),g.value?G("",!0):(F(),R("div",Ha,[m("span",qa,M(y(c)),1),m("span",Ua,M(D.model4Count),1)])),h.value?G("",!0):(F(),R("div",Wa,[m("span",Ga,M(y(d)),1),m("span",Va,M(D.drawMjCount),1)])),m("div",Xa,[m("span",Za,M(`¥${D.price}`),1)]),m("div",Ya,[m("button",{onClick:P=>v(D),class:Y(["block w-full rounded-md shadow-sm px-3 py-2 text-center text-sm font-semibold leading-6",[D.name==$.value?"text-white bg-indigo-600 hover:bg-indigo-500 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 focus-visible:outline focus-visible:outline-2":"ring-1 ring-primary-200 dark:ring-gray-800 dark:bg-gray-800 text-primary-500 hover:ring-primary-300 dark:hover:bg-gray-700"]])},M(y(L)("goods.buyPackage")),11,Qa)]),m("ul",Ja,[(F(!0),R(Ie,null,Ue(N(D.des),(P,U)=>(F(),R("li",{key:U,class:"flex gap-x-3"},[O(y(yo),{theme:"filled",size:"24",class:"text-gray-500"}),K(" "+M(P),1)]))),128))])],10,Ra))),128))])],2)])):G("",!0)]),_:1}))}});const es=$u(Ka,[["__scopeId","data-v-19167cb2"]]),ts="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfjAEro8E3Ce50EtxsKxPTwCPH3U2jTmJkBJgWTnAMxDeGMEoa0xQ+LJQnCD4HYFkCyAC3RdwN3U7gMkpxRTTYrMD91sCJIgCxV5R6O1Jcfy7VwonqLoj9/CqB2kF341qncGkBvRe+ureAWpRgoalCBecMFzcdK24YymZRJz5zprgq1tsJwXYL3CVZGvdGHmwZc7JQtra2gE+f712ep2QUYP714DJhaJrXLqXZQszlZwtYdSHoB9ljVk/ePVrSZFL0ZkAlxzQBVseCT8WhZhRThtFB8plk9Zi/qCi8cv0fNxvKFrDy4oF11NXXIFy2EII4iBcG3Y03VLZT8OqRd5aFPduvOEpxRayvXolxAKB2g6NgEhobBlc1HHYKY7WvHf5wtVAPgegIlbbZ9seUZ7AyFnwewi9pGoUyDmhrB931kfnC1ZwOeKlLP8GZJi6QLSFP2yep4toXSbT3ZQAfX3O6omt8Nhd9r/aHQAUMOQywYBZo5uZD2ThQ2rbPCjlnH6yI9rUryE5DU75ctJaake46Be4DuDjF8dFBNA94/AdtiySVxIlpMlTS8td801o70vMigM9huTda2lhcKHVHPO2HZv/P6LIwX7hk/+qzPSvUJGMkrg8AQYTkroRdXMlE+HH/twsG6BsOdJHYZlaO/lBZ6weOiiSXqs3Gqj0TeAxx+T75DIpgwjC0onD51pQD4JaluPrkR/cpFT9DcoVp84LOgTL/DjtBbglgou+puHwB8lEznPxJw1XSX77VtgizBvQNBw4RMqB7xt4Lc3c8lQKJaQHoO4R8ydz0/7MWoCXk8c85MrMC9J3qaafw/WtQlwXST+F3BnAeYB4obgJ1BJIuG+YtiKAjVOZ/Pd1ZdwzoG+4uBtSPpjaRbhXLcwF3hzytb2TilgVgT5BkYybBrTYC+Rvg5nRpdTRJrIs8+VPXPQXj2i4ItxC4O2NQQUQnN4U9rRcz9nH64p4ceM2lziX5Y4s3KHCdUHwE77ecMkMEp6BwhIa2Z6DslZRvfulgHafYLuCas58WLp2aLCFUga70qxOFU6dPFL2W1feYeaU43Y5z/TxnCuYabMEuC043ckdBp4pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII=";const us={props:{canvasWidth:{type:Number,default:310},canvasHeight:{type:Number,default:160},show:{type:Boolean,default:!1},puzzleScale:{type:Number,default:1},sliderSize:{type:Number,default:40},range:{type:Number,default:10},imgs:{type:Array},successText:{type:String,default:"验证通过!"},failText:{type:String,default:"验证失败,请重试"},sliderText:{type:String,default:"拖动滑块完成拼图"}},data(){return{mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:null,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1,resetSvg:ts}},mounted(){document.body.appendChild(this.$el),document.addEventListener("mousemove",this.onRangeMouseMove,!1),document.addEventListener("mouseup",this.onRangeMouseUp,!1),document.addEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.addEventListener("touchend",this.onRangeMouseUp,!1),this.show&&(document.body.classList.add("vue-puzzle-overflow"),this.reset())},beforeDestroy(){clearTimeout(this.timer1),document.body.removeChild(this.$el),document.removeEventListener("mousemove",this.onRangeMouseMove,!1),document.removeEventListener("mouseup",this.onRangeMouseUp,!1),document.removeEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onRangeMouseUp,!1)},watch:{show(e){e?(document.body.classList.add("vue-puzzle-overflow"),this.reset()):(this.isSubmting=!1,this.isSuccess=!1,this.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))}},computed:{styleWidth(){const e=this.startWidth+this.newX-this.startX;return ethis.canvasWidth?this.canvasWidth:e},puzzleBaseSize(){return Math.round(Math.max(Math.min(this.puzzleScale,2),.2)*52.5+6)},sliderBaseSize(){return Math.max(Math.min(Math.round(this.sliderSize),Math.round(this.canvasWidth*.5)),10)}},methods:{onClose(){!this.mouseDown&&!this.isSubmting&&(clearTimeout(this.timer1),this.$emit("close"))},onCloseMouseDown(){this.closeDown=!0},onCloseMouseUp(){this.closeDown&&this.onClose(),this.closeDown=!1},onRangeMouseDown(e){this.isCanSlide&&(this.mouseDown=!0,this.startWidth=this.$refs["range-slider"].clientWidth,this.newX=e.clientX||e.changedTouches[0].clientX,this.startX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseMove(e){this.mouseDown&&(e.preventDefault(),this.newX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseUp(){this.mouseDown&&(this.mouseDown=!1,this.submit())},init(e){if(this.loading&&!e)return;this.loading=!0,this.isCanSlide=!1;const t=this.$refs.canvas1,u=this.$refs.canvas2,n=this.$refs.canvas3,r=t.getContext("2d"),i=u.getContext("2d"),o=n.getContext("2d"),a=navigator.userAgent.indexOf("Firefox")>=0&&navigator.userAgent.indexOf("Windows")>=0,s=document.createElement("img");if(r.fillStyle="rgba(255,255,255,1)",o.fillStyle="rgba(255,255,255,1)",r.clearRect(0,0,this.canvasWidth,this.canvasHeight),i.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.pinX=this.getRandom(this.puzzleBaseSize,this.canvasWidth-this.puzzleBaseSize-20),this.pinY=this.getRandom(20,this.canvasHeight-this.puzzleBaseSize-20),s.crossOrigin="anonymous",s.onload=()=>{const[l,c,d,p]=this.makeImgSize(s);r.save(),this.paintBrick(r),r.closePath(),a?(r.clip(),r.save(),r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.restore()):(r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.clip()),r.drawImage(s,l,c,d,p),o.fillRect(0,0,this.canvasWidth,this.canvasHeight),o.drawImage(s,l,c,d,p),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.closePath(),r.shadowColor="rgba(255, 255, 255, .8)",r.shadowOffsetX=-1,r.shadowOffsetY=-1,r.shadowBlur=Math.min(Math.ceil(8*this.puzzleScale),12),r.fillStyle="#ffffaa",r.fill();const g=r.getImageData(this.pinX-3,this.pinY-20,this.pinX+this.puzzleBaseSize+5,this.pinY+this.puzzleBaseSize+5);i.putImageData(g,0,this.pinY-20),r.restore(),r.clearRect(0,0,this.canvasWidth,this.canvasHeight),r.save(),this.paintBrick(r),r.globalAlpha=.8,r.fillStyle="#ffffff",r.fill(),r.restore(),r.save(),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.shadowColor="#000",r.shadowOffsetX=2,r.shadowOffsetY=2,r.shadowBlur=16,r.fill(),r.restore(),r.save(),r.globalCompositeOperation="destination-over",r.drawImage(s,l,c,d,p),r.restore(),this.loading=!1,this.isCanSlide=!0},s.onerror=()=>{this.init(!0)},!e&&this.imgs&&this.imgs.length){let l=this.getRandom(0,this.imgs.length-1);l===this.imgIndex&&(l===this.imgs.length-1?l=0:l++),this.imgIndex=l,s.src=this.imgs[l]}else s.src=this.makeImgWithCanvas()},getRandom(e,t){return Math.ceil(Math.random()*(t-e)+e)},makeImgSize(e){const t=e.width/e.height,u=this.canvasWidth/this.canvasHeight;let n=0,r=0,i=0,o=0;return t>u?(o=this.canvasHeight,i=t*o,r=0,n=(this.canvasWidth-i)/2):(i=this.canvasWidth,o=i/t,n=0,r=(this.canvasHeight-o)/2),[n,r,i,o]},paintBrick(e){const t=Math.ceil(15*this.puzzleScale);e.beginPath(),e.moveTo(this.pinX,this.pinY),e.lineTo(this.pinX+t,this.pinY),e.arcTo(this.pinX+t,this.pinY-t/2,this.pinX+t+t/2,this.pinY-t/2,t/2),e.arcTo(this.pinX+t+t,this.pinY-t/2,this.pinX+t+t,this.pinY,t/2),e.lineTo(this.pinX+t+t+t,this.pinY),e.lineTo(this.pinX+t+t+t,this.pinY+t),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t,this.pinX+t+t+t+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t+t,this.pinX+t+t+t,this.pinY+t+t,t/2),e.lineTo(this.pinX+t+t+t,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t),e.arcTo(this.pinX+t/2,this.pinY+t+t,this.pinX+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t/2,this.pinY+t,this.pinX,this.pinY+t,t/2),e.lineTo(this.pinX,this.pinY)},makeImgWithCanvas(){const e=document.createElement("canvas"),t=e.getContext("2d");e.width=this.canvasWidth,e.height=this.canvasHeight,t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.fillRect(0,0,this.canvasWidth,this.canvasHeight);for(let u=0;u<12;u++)if(t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.strokeStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,this.getRandom(0,2)>1)t.save(),t.rotate(this.getRandom(-90,90)*Math.PI/180),t.fillRect(this.getRandom(-20,e.width-20),this.getRandom(-20,e.height-20),this.getRandom(10,e.width/2+10),this.getRandom(10,e.height/2+10)),t.restore();else{t.beginPath();const n=this.getRandom(-Math.PI,Math.PI);t.arc(this.getRandom(0,e.width),this.getRandom(0,e.height),this.getRandom(10,e.height/2+10),n,n+Math.PI*1.5),t.closePath(),t.fill()}return e.toDataURL("image/png")},submit(){this.isSubmting=!0;const e=Math.abs(this.pinX-(this.styleWidth-this.sliderBaseSize)+(this.puzzleBaseSize-this.sliderBaseSize)*((this.styleWidth-this.sliderBaseSize)/(this.canvasWidth-this.sliderBaseSize))-3);e{this.isSubmting=!1,this.$emit("success",e)},800)):(this.infoText=this.failText,this.infoBoxFail=!0,this.infoBoxShow=!0,this.isCanSlide=!1,this.$emit("fail",e),clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.reset()},800))},resetState(){this.infoBoxFail=!1,this.infoBoxShow=!1,this.isCanSlide=!1,this.isSuccess=!1,this.startWidth=this.sliderBaseSize,this.startX=0,this.newX=0},reset(){this.isSubmting||(this.resetState(),this.init())}}},ns=["width","height"],rs=["width","height"],is=["width","height"],os=m("div",{class:"loading-gif_"},[m("span"),m("span"),m("span"),m("span"),m("span")],-1),as=[os],ss=["src"],ls={class:"auth-control_"},cs={class:"range-text"},ds=m("div",null,null,-1),fs=m("div",null,null,-1),hs=m("div",null,null,-1),ps=[ds,fs,hs];function gs(e,t,u,n,r,i){return F(),R("div",{class:Y(["vue-puzzle-vcode",{show_:u.show}]),onMousedown:t[5]||(t[5]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onMouseup:t[6]||(t[6]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o)),onTouchstart:t[7]||(t[7]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onTouchend:t[8]||(t[8]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o))},[m("div",{class:"vue-auth-box_ rounded-lg bg-white dark:bg-gray-800",onMousedown:t[3]||(t[3]=Ju(()=>{},["stop"])),onTouchstart:t[4]||(t[4]=Ju(()=>{},["stop"]))},[m("div",{class:"auth-body_",style:Ge(`height: ${u.canvasHeight}px`)},[m("canvas",{ref:"canvas1",width:u.canvasWidth,height:u.canvasHeight,style:Ge(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,12,ns),m("canvas",{ref:"canvas3",class:Y(["auth-canvas3_",{show:r.isSuccess}]),width:u.canvasWidth,height:u.canvasHeight,style:Ge(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,14,rs),m("canvas",{width:i.puzzleBaseSize,class:"auth-canvas2_",height:u.canvasHeight,ref:"canvas2",style:Ge(`width:${i.puzzleBaseSize}px;height:${u.canvasHeight}px;transform:translateX(${i.styleWidth-i.sliderBaseSize-(i.puzzleBaseSize-i.sliderBaseSize)*((i.styleWidth-i.sliderBaseSize)/(u.canvasWidth-i.sliderBaseSize))}px)`)},null,12,is),m("div",{class:Y(["loading-box_",{hide_:!r.loading}])},as,2),m("div",{class:Y(["info-box_",{show:r.infoBoxShow},{fail:r.infoBoxFail}])},M(r.infoText),3),m("div",{class:Y(["flash_",{show:r.isSuccess}]),style:Ge(`transform: translateX(${r.isSuccess?`${u.canvasWidth+u.canvasHeight*.578}px`:`-${u.canvasHeight*.578}px`}) skew(-30deg, 0);`)},null,6),m("img",{class:"reset_",onClick:t[0]||(t[0]=(...o)=>i.reset&&i.reset(...o)),src:r.resetSvg},null,8,ss)],4),m("div",ls,[m("div",{class:"range-box bg-gray-100 dark:bg-gray-700",style:Ge(`height:${i.sliderBaseSize}px`)},[m("div",cs,M(u.sliderText),1),m("div",{class:"range-slider",ref:"range-slider",style:Ge(`width:${i.styleWidth}px`)},[m("div",{class:Y(["range-btn",{isDown:r.mouseDown}]),style:Ge(`width:${i.sliderBaseSize}px`),onMousedown:t[1]||(t[1]=o=>i.onRangeMouseDown(o)),onTouchstart:t[2]||(t[2]=o=>i.onRangeMouseDown(o))},ps,38)],4)],4)])],32)],34)}const ms=$u(us,[["render",gs]]),bs={class:"sm:mx-auto sm:w-full sm:max-w-sm"},xs={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},ys={class:"mt-4 flex"},_s=["placeholder"],vs={key:0,class:"mt-4 relative"},ks=["placeholder"],ws=["disabled","loading"],Cs={class:"rounded-lg"},As={class:"mt-4"},Es=["placeholder"],Ds={class:"mt-4"},Ss=["placeholder"],Fs={key:1,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Ts={class:"mb-8 sm:mx-auto sm:w-full sm:max-w-sm"},Is={class:"text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},zs={class:"mt-4"},$s={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ls={class:"mt-2"},Ms=["placeholder"],Rs={class:"mt-4"},Bs={class:"mt-2"},Ps={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Os=["placeholder"],Ns={class:"flex items-center justify-between my-3"},js={class:"flex items-center"},Hs=m("input",{id:"remember-me",name:"remember-me",type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,-1),qs={for:"remember-me",class:"ml-3 block text-sm leading-6 text-gray-500 dark:text-gray-400"},Us={key:0,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Ws={key:0},Gs=m("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[m("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 验证码登录 ")],-1),Vs={class:"mt-4 relative"},Xs=["placeholder"],Zs=["disabled","loading"],Ys={class:"mt-4 flex"},Qs=["placeholder"],Js={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},Ks=he({__name:"Email",emits:["changeLoginType"],setup(e,{emit:t}){const u=t,n=H(null),r=et(),i=H(!0),o=H(!1),a=Me(),s=H(0),l=a.globalConfig.siteName,{isMobile:c}=Ke(),d=H(!1),p=H(!1),g=H({password:"",contact:"",invitedBy:"",captchaId:null,code:""}),h=H({username:"",password:"",contact:"",invitedBy:""}),b={username:[{required:!0,message:L("login.enterUsername"),trigger:"blur"},{min:2,max:30,message:L("login.usernameLength"),trigger:"blur"}],password:[{required:!0,message:L("login.enterPassword"),trigger:"blur"},{min:6,max:30,message:L("login.passwordLength"),trigger:"blur"}],email:[{required:!0,message:L("login.enterEmail"),trigger:"blur"},{type:"email",message:L("login.emailValid"),trigger:["blur","change"]}]},k=z(()=>Number(a.globalConfig.wechatRegisterStatus)===1),w=z(()=>Number(a.globalConfig.phoneLoginStatus)===1),A=z(()=>Number(a.globalConfig.noVerifyRegister)===1),C=z(()=>Number(a.globalConfig.emailLoginStatus)===1),E=z(()=>{if(C.value&&w.value)return L("login.emailPhone");if(C.value)return L("login.email");if(w.value)return L("login.phone")}),I=z(()=>{if(C.value&&w.value)return L("login.enterEmailOrPhone");if(C.value)return L("login.enterEmail");if(w.value)return L("login.enterPhone")});function $(){s.value>0&&setTimeout(()=>{s.value--,$()},1e3)}async function S(){var N;p.value=!1,(N=n.value)==null||N.validate(async _=>{if(!_)try{const{contact:x,captchaId:D}=g.value,T={contact:x,captchaId:D};let P;P=await Ji(T);const{success:U,message:j}=P;U?(r.success(P.data),s.value=60,$()):r.error(j)}catch{}})}function v(){var N;(N=n.value)==null||N.validate(async _=>{if(!_)try{o.value=!0;const x=i.value?Ki:eo,D=i.value?{username:h.value.username,password:h.value.password}:g.value,T=await x(D);o.value=!1;const{success:P,message:U}=T;if(!P)return r.error(U);if(i.value)r.success(L("login.loginSuccess")),a.setToken(T.data),a.getUserInfo(),a.setLoginDialog(!1),Xt.remove("invitedBy");else{r.success(L("login.registrationSuccess"));const{contact:j,password:ue}=g.value;h.value.username=j,h.value.password=ue,i.value=!i.value}}catch{o.value=!1}})}return Ce(()=>{const N=Xt.get("invitedBy");N&&(g.value.invitedBy=N)}),(N,_)=>(F(),R("div",{class:Y(["flex w-full flex-col h-full justify-center",y(c)?"px-5 py-5":"px-10 py-5"])},[!i.value&&!d.value?(F(),Q(y(qu),{key:0,ref_key:"formRef",ref:n,model:g.value,rules:b,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:Z(()=>[m("div",bs,[m("h2",xs,M(y(l))+" "+M(y(L)("login.registerTitle")),1)]),m("div",ys,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[0]||(_[0]=x=>g.value.contact=x),placeholder:y(L)("login.enterContact")+E.value,class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,_s),[[it,g.value.contact]])]),A.value?G("",!0):(F(),R("div",vs,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[1]||(_[1]=x=>g.value.code=x),placeholder:y(L)("login.enterCode"),class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,ks),[[it,g.value.code]]),A.value?G("",!0):(F(),R("button",{key:0,block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:_[2]||(_[2]=x=>p.value=!0)},M(y(L)("login.sendVerificationCode")),9,ws))])),m("div",Cs,[O(ms,{show:p.value,onSuccess:_[3]||(_[3]=x=>S()),onClose:_[4]||(_[4]=x=>p.value=!1),class:"bg-red-500"},null,8,["show"])]),m("div",As,[rt(m("input",{id:"username",type:"password","onUpdate:modelValue":_[5]||(_[5]=x=>g.value.password=x),placeholder:y(L)("login.enterPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Es),[[it,g.value.password]])]),m("div",Ds,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[6]||(_[6]=x=>g.value.invitedBy=x),placeholder:y(L)("login.optionalInvitationCode"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ss),[[it,g.value.invitedBy]])]),m("div",null,[m("button",{onClick:v,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},M(y(L)("login.registerAccount")),1)]),C.value||w.value?(F(),R("p",Fs,[K(M(y(L)("login.alreadyHaveAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[7]||(_[7]=x=>i.value=!i.value)},M(y(L)("login.goToLogin")),1)])):G("",!0)]),_:1},8,["model"])):G("",!0),i.value&&!d.value?(F(),Q(y(qu),{key:1,size:"large",ref_key:"formRef",ref:n,model:h.value,rules:b,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:Z(()=>[m("div",Ts,[m("h2",Is,M(y(l))+" 登录 ",1)]),m("div",zs,[m("label",$s,M(E.value),1),m("div",Ls,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[8]||(_[8]=x=>h.value.username=x),placeholder:I.value,class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ms),[[it,h.value.username]])])]),m("div",Rs,[m("div",Bs,[m("label",Ps,M(y(L)("login.password")),1),rt(m("input",{id:"password",type:"password","onUpdate:modelValue":_[9]||(_[9]=x=>h.value.password=x),placeholder:y(L)("login.enterYourPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Os),[[it,h.value.password]])])]),m("div",Ns,[m("div",js,[Hs,m("label",qs,M(y(L)("login.rememberAccount")),1)])]),m("div",null,[m("button",{onClick:v,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},M(y(L)("login.loginAccount")),1)]),C.value||w.value?(F(),R("p",Us,[K(M(y(L)("login.noAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[10]||(_[10]=x=>i.value=!i.value)},M(y(L)("login.register")),1),k.value?(F(),R("div",Ws,[K(M(y(L)("login.orUse")),1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[11]||(_[11]=x=>u("changeLoginType","wechat"))},M(y(L)("login.scanLogin")),1)])):G("",!0)])):G("",!0)]),_:1},8,["model"])):G("",!0),d.value?(F(),Q(y(qu),{key:2,ref_key:"formRef",ref:n,model:g.value,rules:b,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:Z(()=>[Gs,m("div",Vs,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[12]||(_[12]=x=>g.value.contact=x),placeholder:y(L)("login.enterContact")+E.value,class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,Xs),[[it,g.value.contact]]),m("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:S},M(y(L)("login.sendVerificationCode")),9,Zs)]),m("div",Ys,[rt(m("input",{id:"username",type:"text","onUpdate:modelValue":_[13]||(_[13]=x=>g.value.code=x),placeholder:y(L)("login.enterCode"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Qs),[[it,g.value.code]])]),m("div",null,[m("button",{onClick:v,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 验证码登录 ")]),C.value||w.value?(F(),R("p",Js,[K(" 继续使用密码登录? "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:_[14]||(_[14]=x=>d.value=!d.value)},"返回")])):G("",!0)]),_:1},8,["model"])):G("",!0)],2))}}),el={class:"sm:mx-auto sm:w-full sm:max-w-sm"},tl={class:"pt-5 pb-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},ul={key:3,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},nl={key:4,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},rl=he({__name:"Wechat",emits:["changeLoginType"],setup(e,{emit:t}){const u=H(),n=H(),r=t,i=H(""),o=H(""),a=H(!1),s=et(),l=Me(),c=H(),{isMobile:d}=Ke(),p=z(()=>Number(l.globalConfig.phoneLoginStatus)===1),g=z(()=>Number(l.globalConfig.emailLoginStatus)===1),h=z(()=>{if(g.value&&p.value)return L("login.emailPhone");if(g.value)return L("login.email");if(p.value)return L("login.phone")});function b(E){return new Promise((I,$)=>{const S=new Image;S.onload=()=>I(S),S.onerror=$,S.src=E})}async function k(){const E={invitedBy:Xt.get("invitedBy")},I=await to(E);I.success&&(o.value=I.data,A())}async function w(){if(!o.value)return;const E=await uo({sceneStr:o.value});E.data&&(clearInterval(u.value),s.success(L("login.loginSuccess")),l.setToken(E.data),l.getUserInfo(),l.setLoginDialog(!1),Xt.remove("invitedBy"))}async function A(){const E=await yr({sceneStr:o.value});E.success&&(a.value=!0,await b(E.data),i.value=E.data,u.value=setInterval(()=>{w()},1e3))}function C(){var E;k(),(E=c.value)==null||E.reset()}return Ce(()=>{C(),n.value!==null&&clearInterval(n.value),n.value=setInterval(C,6e4)}),yn(()=>{u.value!==null&&clearInterval(u.value),n.value!==null&&clearInterval(n.value)}),(E,I)=>(F(),R("div",{class:Y(["w-full h-full flex flex-col items-center",y(d)?"px-10 py-10":" py-10"])},[m("div",el,[m("h2",tl,M(y(L)("login.wechatLogin")),1)]),i.value?(F(),Q(y(Dr),{key:0,"preview-disabled":"",class:"w-[220px] h-[220px] select-none",src:i.value},null,8,["src"])):(F(),Q(y(_n),{key:1,height:"220px",width:"220px",animated:""})),i.value?G("",!0):(F(),Q(y(zu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})),g.value||p.value?(F(),R("p",ul,[K(M(y(L)("login.wechatScanFailed"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I[0]||(I[0]=$=>r("changeLoginType","email"))},M(h.value),1)])):(F(),R("p",nl,M(y(L)("login.useWechatScan")),1))],2))}});const il={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},ol={key:0,class:"flex items-center justify-center h-[600px]"},al={key:1,class:"flex-1 flex flex-col items-center"},sl=he({__name:"Login",props:{visible:{type:Boolean}},setup(e){const t=Me();H(!1),H(""),H("");const u=H(null),n=H(!0),r=H("email"),{isMobile:i}=Ke(),o=z(()=>Number(t.globalConfig.emailLoginStatus)===1),a=z(()=>Number(t.globalConfig.wechatRegisterStatus)===1),s=z(()=>Number(t.globalConfig.phoneLoginStatus)===1),l=z(()=>!a.value&&!s.value&&!o.value);function c(d){d==="wechat"?n.value=!0:(n.value=!1,r.value=d,Ot(()=>{var p;(p=u.value)==null||p.syncBarPosition()}))}return(d,p)=>d.visible?(F(),R("div",il,[m("div",{class:Y(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":y(i),"max-w-xl":!y(i)}])},[O(y(Iu),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:p[0]||(p[0]=g=>y(t).setLoginDialog(!1))}),l.value?(F(),R("div",ol,[O(y(Fo),{size:"small",status:"403",title:"网站已经关闭注册通道",description:"请联系管理员开通吧"},{footer:Z(()=>[O(y(Fr),{size:"small",onClick:p[1]||(p[1]=g=>y(t).setLoginDialog(!1))},{default:Z(()=>[K(" 知道了 ")]),_:1})]),_:1})])):(F(),R("div",al,[a.value&&n.value?(F(),Q(rl,{key:0,onChangeLoginType:c})):(F(),Q(Ks,{key:1,onChangeLoginType:c}))]))],2)])):G("",!0)}});function ll(){return _r({url:"/config/notice"})}const cl=e=>{const t=typeof e;return t!=="function"&&t!=="object"||e===null},dl=e=>{const t=e.flags===""?void 0:e.flags;return new RegExp(e.source,t)},Wt=(e,t=new WeakMap)=>{if(e===null||cl(e))return e;if(t.has(e))return t.get(e);if(e instanceof RegExp)return dl(e);if(e instanceof Date)return new Date(e.getTime());if(e instanceof Function)return e;if(e instanceof Map){const n=new Map;return t.set(e,n),e.forEach((r,i)=>{n.set(i,Wt(r,t))}),n}if(e instanceof Set){const n=new Set;t.set(e,n);for(const r of e)n.add(Wt(r,t));return n}if(Array.isArray(e)){const n=[];return t.set(e,n),e.forEach(r=>{n.push(Wt(r,t))}),n}const u={};t.set(e,u);for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(u[n]=Wt(e[n],t));return u},Mr=(e,t=200)=>{let u=0;return(...n)=>new Promise(r=>{u&&(clearTimeout(u),r("cancel")),u=window.setTimeout(()=>{e.apply(void 0,n),u=0,r("done")},t)})},Ku=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,Bn=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Rr=(e,t)=>{for(const u in t)Bn(t[u])&&Bn(e[u])?e[u]=Rr(e[u],t[u]):e[u]=t[u];return e},q="md-editor",fl="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",hl="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",oe="https://cdnjs.cloudflare.com/ajax/libs",pl=`${oe}/highlight.js/11.8.0/highlight.min.js`,Pn={main:`${oe}/prettier/2.8.0/standalone.js`,markdown:`${oe}/prettier/2.8.0/parser-markdown.js`},gl={css:`${oe}/cropperjs/1.5.13/cropper.min.css`,js:`${oe}/cropperjs/1.5.13/cropper.min.js`},ml=`${oe}/screenfull.js/5.2.0/screenfull.min.js`,bl=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],xl=["markdownTotal","=","scrollSwitch"],On={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},yl=`${oe}/mermaid/10.6.1/mermaid.esm.min.mjs`,_l={js:`${oe}/KaTeX/0.16.9/katex.min.js`,css:`${oe}/KaTeX/0.16.9/katex.min.css`},en={a11y:{light:`${oe}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${oe}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${oe}/highlight.js/11.8.0/styles/github.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${oe}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${oe}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${oe}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${oe}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${oe}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${oe}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},Je={editorExtensions:{highlight:{js:pl,css:en},prettier:{standaloneJs:Pn.main,parserMarkdownJs:Pn.markdown},cropper:{...gl},iconfont:fl,iconfontClass:hl,screenfull:{js:ml},mermaid:{js:yl},katex:{..._l}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(e,t)=>t,markdownItConfig:()=>{},markdownItPlugins:e=>e,iconfontType:"svg",mermaidConfig:e=>e};var vl=Object.defineProperty,kl=(e,t,u)=>t in e?vl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u,wl=(e,t,u)=>(kl(e,typeof t!="symbol"?t+"":t,u),u);class Cl{constructor(){wl(this,"pools",{})}remove(t,u,n){const i=this.pools[t]&&this.pools[t][u];i&&(this.pools[t][u]=i.filter(o=>o!==n))}clear(t){this.pools[t]={}}on(t,u){return this.pools[t]||(this.pools[t]={}),this.pools[t][u.name]||(this.pools[t][u.name]=[]),this.pools[t][u.name].push(u.callback),this.pools[t][u.name].includes(u.callback)}emit(t,u,...n){this.pools[t]||(this.pools[t]={});const i=this.pools[t][u];i&&i.forEach(o=>{try{o(...n)}catch(a){console.error(`${u} monitor event exception!`,a)}})}}const ht=new Cl,Al="buildFinished",Uu="catalogChanged",El="pushCatalog",Br="rerender",at=(e,t,u="")=>{var n;const r=document.getElementById(t.id);if(r)u!==""&&(Reflect.get(window,u)?(n=t.onload)==null||n.call(r,new Event("load")):t.onload&&r.addEventListener("load",t.onload));else{const i={...t};i.onload=null;const o=Sl(e,i);t.onload&&o.addEventListener("load",t.onload),document.head.appendChild(o)}},Dl=(e,t)=>{const u=document.getElementById(t.id);u==null||u.remove(),at(e,t)},Sl=(e,t)=>{const u=document.createElement(e);return Object.keys(t).forEach(n=>{t[n]!==void 0&&(u[n]=t[n])}),u},Fl=e=>{if(!e)return e;const t=e.split(` +`),u=['"),`${e}${u.join("")}`},Tl=(()=>{let e=0;return t=>t+ ++e})();/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var wt=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(D){function T(){}D(T,T)},r=function(D){var T=D.target;if(T===N){h();return}C.indexOf(T)!==-1&&b({target:T})},i=function(){if(!(I||!v.original)){var D=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs($-D)>S.scrollOffset&&setTimeout(h,150)}},o=function(D){var T=D.key||D.keyCode;(T==="Escape"||T==="Esc"||T===27)&&h()},a=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=D;if(D.background&&(N.style.background=D.background),D.container&&D.container instanceof Object&&(T.container=wt({},S.container,D.container)),D.template){var P=bu(D.template)?D.template:document.querySelector(D.template);T.template=P}return S=wt({},S,T),C.forEach(function(U){U.dispatchEvent(Ft("medium-zoom:update",{detail:{zoom:_}}))}),_},s=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(wt({},S,D))},l=function(){for(var D=arguments.length,T=Array(D),P=0;P0?T.reduce(function(j,ue){return[].concat(j,jn(ue))},[]):C;return U.forEach(function(j){j.classList.remove("medium-zoom-image"),j.dispatchEvent(Ft("medium-zoom:detach",{detail:{zoom:_}}))}),C=C.filter(function(j){return U.indexOf(j)===-1}),_},d=function(D,T){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C.forEach(function(U){U.addEventListener("medium-zoom:"+D,T,P)}),E.push({type:"medium-zoom:"+D,listener:T,options:P}),_},p=function(D,T){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C.forEach(function(U){U.removeEventListener("medium-zoom:"+D,T,P)}),E=E.filter(function(U){return!(U.type==="medium-zoom:"+D&&U.listener.toString()===T.toString())}),_},g=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=D.target,P=function(){var j={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ue=void 0,ae=void 0;if(S.container)if(S.container instanceof Object)j=wt({},j,S.container),ue=j.width-j.left-j.right-S.margin*2,ae=j.height-j.top-j.bottom-S.margin*2;else{var xe=bu(S.container)?S.container:document.querySelector(S.container),Ee=xe.getBoundingClientRect(),ne=Ee.width,ce=Ee.height,J=Ee.left,nt=Ee.top;j=wt({},j,{width:ne,height:ce,left:J,top:nt})}ue=ue||j.width-S.margin*2,ae=ae||j.height-S.margin*2;var vt=v.zoomedHd||v.original,Li=Nn(vt)?ue:vt.naturalWidth||ue,Mi=Nn(vt)?ae:vt.naturalHeight||ae,lu=vt.getBoundingClientRect(),Ri=lu.top,Bi=lu.left,Ou=lu.width,Nu=lu.height,Pi=Math.min(Math.max(Ou,Li),ue)/Ou,Oi=Math.min(Math.max(Nu,Mi),ae)/Nu,ju=Math.min(Pi,Oi),Ni=(-Bi+(ue-Ou)/2+S.margin+j.left)/ju,ji=(-Ri+(ae-Nu)/2+S.margin+j.top)/ju,$n="scale("+ju+") translate3d("+Ni+"px, "+ji+"px, 0)";v.zoomed.style.transform=$n,v.zoomedHd&&(v.zoomedHd.style.transform=$n)};return new n(function(U){if(T&&C.indexOf(T)===-1){U(_);return}var j=function ne(){I=!1,v.zoomed.removeEventListener("transitionend",ne),v.original.dispatchEvent(Ft("medium-zoom:opened",{detail:{zoom:_}})),U(_)};if(v.zoomed){U(_);return}if(T)v.original=T;else if(C.length>0){var ue=C;v.original=ue[0]}else{U(_);return}if(v.original.dispatchEvent(Ft("medium-zoom:open",{detail:{zoom:_}})),$=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,I=!0,v.zoomed=$l(v.original),document.body.appendChild(N),S.template){var ae=bu(S.template)?S.template:document.querySelector(S.template);v.template=document.createElement("div"),v.template.appendChild(ae.content.cloneNode(!0)),document.body.appendChild(v.template)}if(v.original.parentElement&&v.original.parentElement.tagName==="PICTURE"&&v.original.currentSrc&&(v.zoomed.src=v.original.currentSrc),document.body.appendChild(v.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),v.original.classList.add("medium-zoom-image--hidden"),v.zoomed.classList.add("medium-zoom-image--opened"),v.zoomed.addEventListener("click",h),v.zoomed.addEventListener("transitionend",j),v.original.getAttribute("data-zoom-src")){v.zoomedHd=v.zoomed.cloneNode(),v.zoomedHd.removeAttribute("srcset"),v.zoomedHd.removeAttribute("sizes"),v.zoomedHd.removeAttribute("loading"),v.zoomedHd.src=v.zoomed.getAttribute("data-zoom-src"),v.zoomedHd.onerror=function(){clearInterval(xe),console.warn("Unable to reach the zoom image target "+v.zoomedHd.src),v.zoomedHd=null,P()};var xe=setInterval(function(){v.zoomedHd.complete&&(clearInterval(xe),v.zoomedHd.classList.add("medium-zoom-image--opened"),v.zoomedHd.addEventListener("click",h),document.body.appendChild(v.zoomedHd),P())},10)}else if(v.original.hasAttribute("srcset")){v.zoomedHd=v.zoomed.cloneNode(),v.zoomedHd.removeAttribute("sizes"),v.zoomedHd.removeAttribute("loading");var Ee=v.zoomedHd.addEventListener("load",function(){v.zoomedHd.removeEventListener("load",Ee),v.zoomedHd.classList.add("medium-zoom-image--opened"),v.zoomedHd.addEventListener("click",h),document.body.appendChild(v.zoomedHd),P()})}else P()})},h=function(){return new n(function(D){if(I||!v.original){D(_);return}var T=function P(){v.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(v.zoomed),v.zoomedHd&&document.body.removeChild(v.zoomedHd),document.body.removeChild(N),v.zoomed.classList.remove("medium-zoom-image--opened"),v.template&&document.body.removeChild(v.template),I=!1,v.zoomed.removeEventListener("transitionend",P),v.original.dispatchEvent(Ft("medium-zoom:closed",{detail:{zoom:_}})),v.original=null,v.zoomed=null,v.zoomedHd=null,v.template=null,D(_)};I=!0,document.body.classList.remove("medium-zoom--opened"),v.zoomed.style.transform="",v.zoomedHd&&(v.zoomedHd.style.transform=""),v.template&&(v.template.style.transition="opacity 150ms",v.template.style.opacity=0),v.original.dispatchEvent(Ft("medium-zoom:close",{detail:{zoom:_}})),v.zoomed.addEventListener("transitionend",T)})},b=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=D.target;return v.original?h():g({target:T})},k=function(){return S},w=function(){return C},A=function(){return v.original},C=[],E=[],I=!1,$=0,S=u,v={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?S=t:(t||typeof t=="string")&&l(t),S=wt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},S);var N=zl(S.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",i),window.addEventListener("resize",h);var _={open:g,close:h,toggle:b,update:a,clone:s,attach:l,detach:c,on:d,off:p,getOptions:k,getImages:w,getZoomedImage:A};return _};function Ml(e,t){t===void 0&&(t={});var u=t.insertAt;if(!(!e||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",u==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var Rl=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";Ml(Rl);const Bl=Ll;var Pl=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,u=[],n=0;n"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var d=Hn[t.format]||Hn.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(a),i.selectNodeContents(a),o.addRange(i);var l=document.execCommand("copy");if(!l)throw new Error("copy command was unsuccessful");s=!0}catch(c){u&&console.error("unable to copy using execCommand: ",c),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(d){u&&console.error("unable to copy using clipboardData: ",d),u&&console.error("falling back to prompt"),n=jl("message"in t?t.message:Nl),window.prompt(n,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),a&&document.body.removeChild(a),r()}return s}var ql=Hl;const Ul=Tr(ql),qn={};function Wl(e){let t=qn[e];if(t)return t;t=qn[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);t.push(n)}for(let u=0;u=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),i+=6;continue}}if((a&248)===240&&i+91114111?r+="����":(d-=65536,r+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),i+=9;continue}}r+="�"}return r})}jt.defaultChars=";/?:@&=+$,#";jt.componentChars="";const Un={};function Gl(e){let t=Un[e];if(t)return t;t=Un[e]=[];for(let u=0;u<128;u++){const n=String.fromCharCode(u);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+u.toString(16).toUpperCase()).slice(-2))}for(let u=0;u"u"&&(u=!0);const n=Gl(t);let r="";for(let i=0,o=e.length;i=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&s<=57343){r+=encodeURIComponent(e[i]+e[i+1]),i++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[i])}return r}ou.defaultChars=";/?:@&=+$,-_.!~*'()#";ou.componentChars="-_.!~*'()";function vn(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function wu(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Vl=/^([a-z0-9.+-]+:)/i,Xl=/:[0-9]*$/,Zl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Yl=["<",">",'"',"`"," ","\r",` +`," "],Ql=["{","}","|","\\","^","`"].concat(Yl),Jl=["'"].concat(Ql),Wn=["%","/","?",";","#"].concat(Jl),Gn=["/","?","#"],Kl=255,Vn=/^[+a-z0-9A-Z_-]{0,63}$/,e0=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xn={javascript:!0,"javascript:":!0},Zn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function kn(e,t){if(e&&e instanceof wu)return e;const u=new wu;return u.parse(e,t),u}wu.prototype.parse=function(e,t){let u,n,r,i=e;if(i=i.trim(),!t&&e.split("#").length===1){const l=Zl.exec(i);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let o=Vl.exec(i);if(o&&(o=o[0],u=o.toLowerCase(),this.protocol=o,i=i.substr(o.length)),(t||o||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=i.substr(0,2)==="//",r&&!(o&&Xn[o])&&(i=i.substr(2),this.slashes=!0)),!Xn[o]&&(r||o&&!Zn[o])){let l=-1;for(let h=0;h127?A+="x":A+=w[C];if(!A.match(Vn)){const C=h.slice(0,b),E=h.slice(b+1),I=w.match(e0);I&&(C.push(I[1]),E.unshift(I[2])),E.length&&(i=E.join(".")+i),this.hostname=C.join(".");break}}}}this.hostname.length>Kl&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=i.indexOf("#");a!==-1&&(this.hash=i.substr(a),i=i.slice(0,a));const s=i.indexOf("?");return s!==-1&&(this.search=i.substr(s),i=i.slice(0,s)),i&&(this.pathname=i),Zn[u]&&this.hostname&&!this.pathname&&(this.pathname=""),this};wu.prototype.parseHost=function(e){let t=Xl.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const t0=Object.freeze(Object.defineProperty({__proto__:null,decode:jt,encode:ou,format:vn,parse:kn},Symbol.toStringTag,{value:"Module"})),Pr=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Or=/[\0-\x1F\x7F-\x9F]/,u0=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,wn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Nr=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,jr=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,n0=Object.freeze(Object.defineProperty({__proto__:null,Any:Pr,Cc:Or,Cf:u0,P:wn,S:Nr,Z:jr},Symbol.toStringTag,{value:"Module"})),r0=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),i0=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Wu;const o0=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),a0=(Wu=String.fromCodePoint)!==null&&Wu!==void 0?Wu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function s0(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=o0.get(e))!==null&&t!==void 0?t:e}var be;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(be||(be={}));const l0=32;var xt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(xt||(xt={}));function tn(e){return e>=be.ZERO&&e<=be.NINE}function c0(e){return e>=be.UPPER_A&&e<=be.UPPER_F||e>=be.LOWER_A&&e<=be.LOWER_F}function d0(e){return e>=be.UPPER_A&&e<=be.UPPER_Z||e>=be.LOWER_A&&e<=be.LOWER_Z||tn(e)}function f0(e){return e===be.EQUALS||d0(e)}var pe;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(pe||(pe={}));var mt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(mt||(mt={}));class h0{constructor(t,u,n){this.decodeTree=t,this.emitCodePoint=u,this.errors=n,this.state=pe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=mt.Strict}startEntity(t){this.decodeMode=t,this.state=pe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,u){switch(this.state){case pe.EntityStart:return t.charCodeAt(u)===be.NUM?(this.state=pe.NumericStart,this.consumed+=1,this.stateNumericStart(t,u+1)):(this.state=pe.NamedEntity,this.stateNamedEntity(t,u));case pe.NumericStart:return this.stateNumericStart(t,u);case pe.NumericDecimal:return this.stateNumericDecimal(t,u);case pe.NumericHex:return this.stateNumericHex(t,u);case pe.NamedEntity:return this.stateNamedEntity(t,u)}}stateNumericStart(t,u){return u>=t.length?-1:(t.charCodeAt(u)|l0)===be.LOWER_X?(this.state=pe.NumericHex,this.consumed+=1,this.stateNumericHex(t,u+1)):(this.state=pe.NumericDecimal,this.stateNumericDecimal(t,u))}addToNumericResult(t,u,n,r){if(u!==n){const i=n-u;this.result=this.result*Math.pow(r,i)+parseInt(t.substr(u,i),r),this.consumed+=i}}stateNumericHex(t,u){const n=u;for(;u>14;for(;u>14,i!==0){if(o===be.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==mt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:u,decodeTree:n}=this,r=(n[u]&xt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(u,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,u,n){const{decodeTree:r}=this;return this.emitCodePoint(u===1?r[t]&~xt.VALUE_LENGTH:r[t+1],n),u===3&&this.emitCodePoint(r[t+2],n),n}end(){var t;switch(this.state){case pe.NamedEntity:return this.result!==0&&(this.decodeMode!==mt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pe.NumericDecimal:return this.emitNumericEntity(0,2);case pe.NumericHex:return this.emitNumericEntity(0,3);case pe.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pe.EntityStart:return 0}}}function Hr(e){let t="";const u=new h0(e,n=>t+=a0(n));return function(r,i){let o=0,a=0;for(;(a=r.indexOf("&",a))>=0;){t+=r.slice(o,a),u.startEntity(i);const l=u.write(r,a+1);if(l<0){o=a+u.end();break}o=a+l,a=l===0?o+1:o}const s=t+r.slice(o);return t="",s}}function p0(e,t,u,n){const r=(t&xt.BRANCH_LENGTH)>>7,i=t&xt.JUMP_TABLE;if(r===0)return i!==0&&n===i?u:-1;if(i){const s=n-i;return s<0||s>=r?-1:e[u+s]-1}let o=u,a=o+r-1;for(;o<=a;){const s=o+a>>>1,l=e[s];if(ln)a=s-1;else return e[s+r]}return-1}const g0=Hr(r0);Hr(i0);function qr(e,t=mt.Legacy){return g0(e,t)}function m0(e){return Object.prototype.toString.call(e)}function Cn(e){return m0(e)==="[object String]"}const b0=Object.prototype.hasOwnProperty;function x0(e,t){return b0.call(e,t)}function Lu(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){if(u){if(typeof u!="object")throw new TypeError(u+"must be object");Object.keys(u).forEach(function(n){e[n]=u[n]})}}),e}function Ur(e,t,u){return[].concat(e.slice(0,t),u,e.slice(t+1))}function An(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Cu(e){if(e>65535){e-=65536;const t=55296+(e>>10),u=56320+(e&1023);return String.fromCharCode(t,u)}return String.fromCharCode(e)}const Wr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,y0=/&([a-z#][a-z0-9]{1,31});/gi,_0=new RegExp(Wr.source+"|"+y0.source,"gi"),v0=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function k0(e,t){if(t.charCodeAt(0)===35&&v0.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return An(n)?Cu(n):e}const u=qr(e);return u!==e?u:e}function w0(e){return e.indexOf("\\")<0?e:e.replace(Wr,"$1")}function Ht(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(_0,function(t,u,n){return u||k0(t,n)})}const C0=/[&<>"]/,A0=/[&<>"]/g,E0={"&":"&","<":"<",">":">",'"':"""};function D0(e){return E0[e]}function yt(e){return C0.test(e)?e.replace(A0,D0):e}const S0=/[.?*+^$[\]\\(){}|-]/g;function F0(e){return e.replace(S0,"\\$&")}function te(e){switch(e){case 9:case 32:return!0}return!1}function Yt(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Qt(e){return wn.test(e)||Nr.test(e)}function Jt(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Mu(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const T0={mdurl:t0,ucmicro:n0},I0=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Ur,assign:Lu,escapeHtml:yt,escapeRE:F0,fromCodePoint:Cu,has:x0,isMdAsciiPunct:Jt,isPunctChar:Qt,isSpace:te,isString:Cn,isValidEntityCode:An,isWhiteSpace:Yt,lib:T0,normalizeReference:Mu,unescapeAll:Ht,unescapeMd:w0},Symbol.toStringTag,{value:"Module"}));function z0(e,t,u){let n,r,i,o;const a=e.posMax,s=e.pos;for(e.pos=t+1,n=1;e.pos32))return i;if(n===41){if(o===0)break;o--}r++}return t===r||o!==0||(i.str=Ht(e.slice(t,r)),i.pos=r,i.ok=!0),i}function L0(e,t,u,n){let r,i=t;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(i>=u)return o;let a=e.charCodeAt(i);if(a!==34&&a!==39&&a!==40)return o;t++,i++,a===40&&(a=41),o.marker=a}for(;i"+yt(i.content)+""};tt.code_block=function(e,t,u,n,r){const i=e[t];return""+yt(e[t].content)+` +`};tt.fence=function(e,t,u,n,r){const i=e[t],o=i.info?Ht(i.info).trim():"";let a="",s="";if(o){const c=o.split(/(\s+)/g);a=c[0],s=c.slice(2).join("")}let l;if(u.highlight?l=u.highlight(i.content,a,s)||yt(i.content):l=yt(i.content),l.indexOf("${l} +`}return`
    ${l}
    +`};tt.image=function(e,t,u,n,r){const i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,u,n),r.renderToken(e,t,u)};tt.hardbreak=function(e,t,u){return u.xhtmlOut?`
    +`:`
    +`};tt.softbreak=function(e,t,u){return u.breaks?u.xhtmlOut?`
    +`:`
    +`:` +`};tt.text=function(e,t){return yt(e[t].content)};tt.html_block=function(e,t){return e[t].content};tt.html_inline=function(e,t){return e[t].content};function qt(){this.rules=Lu({},tt)}qt.prototype.renderAttrs=function(t){let u,n,r;if(!t.attrs)return"";for(r="",u=0,n=t.attrs.length;u +`:">",i};qt.prototype.renderInline=function(e,t,u){let n="";const r=this.rules;for(let i=0,o=e.length;i=0&&(n=this.attrs[u][1]),n};We.prototype.attrJoin=function(t,u){const n=this.attrIndex(t);n<0?this.attrPush([t,u]):this.attrs[n][1]=this.attrs[n][1]+" "+u};function Gr(e,t,u){this.src=e,this.env=u,this.tokens=[],this.inlineMode=!1,this.md=t}Gr.prototype.Token=We;const R0=/\r\n?|\n/g,B0=/\0/g;function P0(e){let t;t=e.src.replace(R0,` +`),t=t.replace(B0,"�"),e.src=t}function O0(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function N0(e){const t=e.tokens;for(let u=0,n=t.length;u\s]/i.test(e)}function H0(e){return/^<\/a\s*>/i.test(e)}function q0(e){const t=e.tokens;if(e.md.options.linkify)for(let u=0,n=t.length;u=0;o--){const a=r[o];if(a.type==="link_close"){for(o--;r[o].level!==a.level&&r[o].type!=="link_open";)o--;continue}if(a.type==="html_inline"&&(j0(a.content)&&i>0&&i--,H0(a.content)&&i++),!(i>0)&&a.type==="text"&&e.md.linkify.test(a.content)){const s=a.content;let l=e.md.linkify.match(s);const c=[];let d=a.level,p=0;l.length>0&&l[0].index===0&&o>0&&r[o-1].type==="text_special"&&(l=l.slice(1));for(let g=0;gp){const I=new e.Token("text","",0);I.content=s.slice(p,w),I.level=d,c.push(I)}const A=new e.Token("link_open","a",1);A.attrs=[["href",b]],A.level=d++,A.markup="linkify",A.info="auto",c.push(A);const C=new e.Token("text","",0);C.content=k,C.level=d,c.push(C);const E=new e.Token("link_close","a",-1);E.level=--d,E.markup="linkify",E.info="auto",c.push(E),p=l[g].lastIndex}if(p=0;u--){const n=e[u];n.type==="text"&&!t&&(n.content=n.content.replace(W0,V0)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Z0(e){let t=0;for(let u=e.length-1;u>=0;u--){const n=e[u];n.type==="text"&&!t&&Vr.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function Y0(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(U0.test(e.tokens[t].content)&&X0(e.tokens[t].children),Vr.test(e.tokens[t].content)&&Z0(e.tokens[t].children))}const Q0=/['"]/,Yn=/['"]/g,Qn="’";function fu(e,t,u){return e.slice(0,t)+u+e.slice(t+1)}function J0(e,t){let u;const n=[];for(let r=0;r=0&&!(n[u].level<=o);u--);if(n.length=u+1,i.type!=="text")continue;let a=i.content,s=0,l=a.length;e:for(;s=0)h=a.charCodeAt(c.index-1);else for(u=r-1;u>=0&&!(e[u].type==="softbreak"||e[u].type==="hardbreak");u--)if(e[u].content){h=e[u].content.charCodeAt(e[u].content.length-1);break}let b=32;if(s=48&&h<=57&&(p=d=!1),d&&p&&(d=k,p=w),!d&&!p){g&&(i.content=fu(i.content,c.index,Qn));continue}if(p)for(u=n.length-1;u>=0;u--){let E=n[u];if(n[u].level=0;t--)e.tokens[t].type!=="inline"||!Q0.test(e.tokens[t].content)||J0(e.tokens[t].children,e)}function ec(e){let t,u;const n=e.tokens,r=n.length;for(let i=0;i0&&this.level++,this.tokens.push(n),n};ut.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};ut.prototype.skipEmptyLines=function(t){for(let u=this.lineMax;tu;)if(!te(this.src.charCodeAt(--t)))return t+1;return t};ut.prototype.skipChars=function(t,u){for(let n=this.src.length;tn;)if(u!==this.src.charCodeAt(--t))return t+1;return t};ut.prototype.getLines=function(t,u,n,r){if(t>=u)return"";const i=new Array(u-t);for(let o=0,a=t;an?i[o]=new Array(s-n+1).join(" ")+this.src.slice(c,d):i[o]=this.src.slice(c,d)}return i.join("")};ut.prototype.Token=We;const tc=65536;function Vu(e,t){const u=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(u,n)}function Jn(e){const t=[],u=e.length;let n=0,r=e.charCodeAt(n),i=!1,o=0,a="";for(;nu)return!1;let r=t+1;if(e.sCount[r]=4)return!1;let i=e.bMarks[r]+e.tShift[r];if(i>=e.eMarks[r])return!1;const o=e.src.charCodeAt(i++);if(o!==124&&o!==45&&o!==58||i>=e.eMarks[r])return!1;const a=e.src.charCodeAt(i++);if(a!==124&&a!==45&&a!==58&&!te(a)||o===45&&te(a))return!1;for(;i=4)return!1;l=Jn(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const d=l.length;if(d===0||d!==c.length)return!1;if(n)return!0;const p=e.parentType;e.parentType="table";const g=e.md.block.ruler.getRules("blockquote"),h=e.push("table_open","table",1),b=[t,0];h.map=b;const k=e.push("thead_open","thead",1);k.map=[t,t+1];const w=e.push("tr_open","tr",1);w.map=[t,t+1];for(let E=0;E=4||(l=Jn(s),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),C+=d-l.length,C>tc))break;if(r===t+2){const $=e.push("tbody_open","tbody",1);$.map=A=[t+2,0]}const I=e.push("tr_open","tr",1);I.map=[r,r+1];for(let $=0;$=4){n++,r=n;continue}break}e.line=r;const i=e.push("code_block","code",0);return i.content=e.getLines(t,r,4+e.blkIndent,!1)+` +`,i.map=[t,e.line],!0}function rc(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>i)return!1;const o=e.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let a=r;r=e.skipChars(r,o);let s=r-a;if(s<3)return!1;const l=e.src.slice(a,r),c=e.src.slice(r,i);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let d=t,p=!1;for(;d++,!(d>=u||(r=a=e.bMarks[d]+e.tShift[d],i=e.eMarks[d],r=4)&&(r=e.skipChars(r,o),!(r-a=4||e.src.charCodeAt(r)!==62)return!1;if(n)return!0;const a=[],s=[],l=[],c=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let g=!1,h;for(h=t;h=i)break;if(e.src.charCodeAt(r++)===62&&!C){let I=e.sCount[h]+1,$,S;e.src.charCodeAt(r)===32?(r++,I++,S=!1,$=!0):e.src.charCodeAt(r)===9?($=!0,(e.bsCount[h]+I)%4===3?(r++,I++,S=!1):S=!0):$=!1;let v=I;for(a.push(e.bMarks[h]),e.bMarks[h]=r;r=i,s.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+($?1:0),l.push(e.sCount[h]),e.sCount[h]=v-I,c.push(e.tShift[h]),e.tShift[h]=r-e.bMarks[h];continue}if(g)break;let E=!1;for(let I=0,$=d.length;I<$;I++)if(d[I](e,h,u,!0)){E=!0;break}if(E){e.lineMax=h,e.blkIndent!==0&&(a.push(e.bMarks[h]),s.push(e.bsCount[h]),c.push(e.tShift[h]),l.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}a.push(e.bMarks[h]),s.push(e.bsCount[h]),c.push(e.tShift[h]),l.push(e.sCount[h]),e.sCount[h]=-1}const b=e.blkIndent;e.blkIndent=0;const k=e.push("blockquote_open","blockquote",1);k.markup=">";const w=[t,0];k.map=w,e.md.block.tokenize(e,t,h);const A=e.push("blockquote_close","blockquote",-1);A.markup=">",e.lineMax=o,e.parentType=p,w[1]=e.line;for(let C=0;C=4)return!1;let i=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(i++);if(o!==42&&o!==45&&o!==95)return!1;let a=1;for(;i=n)return-1;let i=e.src.charCodeAt(r++);if(i<48||i>57)return-1;for(;;){if(r>=n)return-1;if(i=e.src.charCodeAt(r++),i>=48&&i<=57){if(r-u>=10)return-1;continue}if(i===41||i===46)break;return-1}return r=4||e.listIndent>=0&&e.sCount[s]-e.listIndent>=4&&e.sCount[s]=e.blkIndent&&(c=!0);let d,p,g;if((g=er(e,s))>=0){if(d=!0,o=e.bMarks[s]+e.tShift[s],p=Number(e.src.slice(o,g-1)),c&&p!==1)return!1}else if((g=Kn(e,s))>=0)d=!1;else return!1;if(c&&e.skipSpaces(g)>=e.eMarks[s])return!1;if(n)return!0;const h=e.src.charCodeAt(g-1),b=e.tokens.length;d?(a=e.push("ordered_list_open","ol",1),p!==1&&(a.attrs=[["start",p]])):a=e.push("bullet_list_open","ul",1);const k=[s,0];a.map=k,a.markup=String.fromCharCode(h);let w=!1;const A=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";s=r?S=1:S=I-E,S>4&&(S=1);const v=E+S;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(h);const N=[s,0];a.map=N,d&&(a.info=e.src.slice(o,g-1));const _=e.tight,x=e.tShift[s],D=e.sCount[s],T=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=v,e.tight=!0,e.tShift[s]=$-e.bMarks[s],e.sCount[s]=I,$>=r&&e.isEmpty(s+1)?e.line=Math.min(e.line+2,u):e.md.block.tokenize(e,s,u,!0),(!e.tight||w)&&(l=!1),w=e.line-s>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=T,e.tShift[s]=x,e.sCount[s]=D,e.tight=_,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(h),s=e.line,N[1]=s,s>=u||e.sCount[s]=4)break;let P=!1;for(let U=0,j=A.length;U=4||e.src.charCodeAt(r)!==91)return!1;function a(A){const C=e.lineMax;if(A>=C||e.isEmpty(A))return null;let E=!1;if(e.sCount[A]-e.blkIndent>3&&(E=!0),e.sCount[A]<0&&(E=!0),!E){const S=e.md.block.ruler.getRules("reference"),v=e.parentType;e.parentType="reference";let N=!1;for(let _=0,x=S.length;_"u"&&(e.env.references={}),typeof e.env.references[w]>"u"&&(e.env.references[w]={title:k,href:d}),e.line=o),!0):!1}const cc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],dc="[a-zA-Z_:][a-zA-Z0-9:._-]*",fc="[^\"'=<>`\\x00-\\x20]+",hc="'[^']*'",pc='"[^"]*"',gc="(?:"+fc+"|"+hc+"|"+pc+")",mc="(?:\\s+"+dc+"(?:\\s*=\\s*"+gc+")?)",Xr="<[A-Za-z][A-Za-z0-9\\-]*"+mc+"*\\s*\\/?>",Zr="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",bc="",xc="<[?][\\s\\S]*?[?]>",yc="]*>",_c="",vc=new RegExp("^(?:"+Xr+"|"+Zr+"|"+bc+"|"+xc+"|"+yc+"|"+_c+")"),kc=new RegExp("^(?:"+Xr+"|"+Zr+")"),Tt=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(kc.source+"\\s*$"),/^$/,!1]];function wc(e,t,u,n){let r=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let o=e.src.slice(r,i),a=0;for(;a=4)return!1;let o=e.src.charCodeAt(r);if(o!==35||r>=i)return!1;let a=1;for(o=e.src.charCodeAt(++r);o===35&&r6||rr&&te(e.src.charCodeAt(s-1))&&(i=s),e.line=t+1;const l=e.push("heading_open","h"+String(a),1);l.markup="########".slice(0,a),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(r,i).trim(),c.map=[t,e.line],c.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup="########".slice(0,a),!0}function Ac(e,t,u){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let i=0,o,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let g=e.bMarks[a]+e.tShift[a];const h=e.eMarks[a];if(g=h))){i=o===61?1:2;break}}if(e.sCount[a]<0)continue;let p=!1;for(let g=0,h=n.length;g3||e.sCount[i]<0)continue;let l=!1;for(let c=0,d=n.length;c=u||e.sCount[o]=i){e.line=u;break}const s=e.line;let l=!1;for(let c=0;c=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),o=e.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};au.prototype.scanDelims=function(e,t){const u=this.posMax,n=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let i=e;for(;i0)return!1;const u=e.pos,n=e.posMax;if(u+3>n||e.src.charCodeAt(u)!==58||e.src.charCodeAt(u+1)!==47||e.src.charCodeAt(u+2)!==47)return!1;const r=e.pending.match(Fc);if(!r)return!1;const i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(u-i.length));if(!o)return!1;let a=o.url;if(a.length<=i.length)return!1;a=a.replace(/\*+$/,"");const s=e.md.normalizeLink(a);if(!e.md.validateLink(s))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);const l=e.push("link_open","a",1);l.attrs=[["href",s]],l.markup="linkify",l.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(a);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=a.length-i.length,!0}function Ic(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==10)return!1;const n=e.pending.length-1,r=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let i=n-1;for(;i>=1&&e.pending.charCodeAt(i-1)===32;)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(u++;u?@[]^_`{|}~-".split("").forEach(function(e){Dn[e.charCodeAt(0)]=1});function zc(e,t){let u=e.pos;const n=e.posMax;if(e.src.charCodeAt(u)!==92||(u++,u>=n))return!1;let r=e.src.charCodeAt(u);if(r===10){for(t||e.push("hardbreak","br",0),u++;u=55296&&r<=56319&&u+1=56320&&a<=57343&&(i+=e.src[u+1],u++)}const o="\\"+i;if(!t){const a=e.push("text_special","",0);r<256&&Dn[r]!==0?a.content=i:a.content=o,a.markup=o,a.info="escape"}return e.pos=u+1,!0}function $c(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==96)return!1;const r=u;u++;const i=e.posMax;for(;u=0;n--){const r=t[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const i=t[r.end],o=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),s=e.tokens[r.token];s.type=o?"strong_open":"em_open",s.tag=o?"strong":"em",s.nesting=1,s.markup=o?a+a:a,s.content="";const l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?a+a:a,l.content="",o&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--)}}function Bc(e){const t=e.tokens_meta,u=e.tokens_meta.length;ur(e,e.delimiters);for(let n=0;n=d)return!1;if(s=h,r=e.md.helpers.parseLinkDestination(e.src,h,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?h=r.pos:o="",s=h;h=d||e.src.charCodeAt(h)!==41)&&(l=!0),h++}if(l){if(typeof e.env.references>"u")return!1;if(h=0?n=e.src.slice(s,h++):h=g+1):h=g+1,n||(n=e.src.slice(p,g)),i=e.env.references[Mu(n)],!i)return e.pos=c,!1;o=i.href,a=i.title}if(!t){e.pos=p,e.posMax=g;const b=e.push("link_open","a",1),k=[["href",o]];b.attrs=k,a&&k.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=h,e.posMax=d,!0}function Oc(e,t){let u,n,r,i,o,a,s,l,c="";const d=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const g=e.pos+2,h=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(h<0)return!1;if(i=h+1,i=p)return!1;for(l=i,a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax),a.ok&&(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?i=a.pos:c=""),l=i;i=p||e.src.charCodeAt(i)!==41)return e.pos=d,!1;i++}else{if(typeof e.env.references>"u")return!1;if(i=0?r=e.src.slice(l,i++):i=h+1):i=h+1,r||(r=e.src.slice(g,h)),o=e.env.references[Mu(r)],!o)return e.pos=d,!1;c=o.href,s=o.title}if(!t){n=e.src.slice(g,h);const b=[];e.md.inline.parse(n,e.md,e.env,b);const k=e.push("image","img",0),w=[["src",c],["alt",""]];k.attrs=w,k.children=b,k.content=n,s&&w.push(["title",s])}return e.pos=i,e.posMax=p,!0}const Nc=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,jc=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Hc(e,t){let u=e.pos;if(e.src.charCodeAt(u)!==60)return!1;const n=e.pos,r=e.posMax;for(;;){if(++u>=r)return!1;const o=e.src.charCodeAt(u);if(o===60)return!1;if(o===62)break}const i=e.src.slice(n+1,u);if(jc.test(i)){const o=e.md.normalizeLink(i);if(!e.md.validateLink(o))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",o]],a.markup="autolink",a.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}if(Nc.test(i)){const o=e.md.normalizeLink("mailto:"+i);if(!e.md.validateLink(o))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",o]],a.markup="autolink",a.info="auto";const s=e.push("text","",0);s.content=e.md.normalizeLinkText(i);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=i.length+2,!0}return!1}function qc(e){return/^\s]/i.test(e)}function Uc(e){return/^<\/a\s*>/i.test(e)}function Wc(e){const t=e|32;return t>=97&&t<=122}function Gc(e,t){if(!e.md.options.html)return!1;const u=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=u)return!1;const r=e.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!Wc(r))return!1;const i=e.src.slice(n).match(vc);if(!i)return!1;if(!t){const o=e.push("html_inline","",0);o.content=i[0],qc(o.content)&&e.linkLevel++,Uc(o.content)&&e.linkLevel--}return e.pos+=i[0].length,!0}const Vc=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Xc=/^&([a-z][a-z0-9]{1,31});/i;function Zc(e,t){const u=e.pos,n=e.posMax;if(e.src.charCodeAt(u)!==38||u+1>=n)return!1;if(e.src.charCodeAt(u+1)===35){const i=e.src.slice(u).match(Vc);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=An(o)?Cu(o):Cu(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(u).match(Xc);if(i){const o=qr(i[0]);if(o!==i[0]){if(!t){const a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function nr(e){const t={},u=e.length;if(!u)return;let n=0,r=-2;const i=[];for(let o=0;os;l-=i[l]+1){const d=e[l];if(d.marker===a.marker&&d.open&&d.end<0){let p=!1;if((d.close||a.open)&&(d.length+a.length)%3===0&&(d.length%3!==0||a.length%3!==0)&&(p=!0),!p){const g=l>0&&!e[l-1].open?i[l-1]+1:0;i[o]=o-l+g,i[l]=g,a.open=!1,d.end=o,d.close=!1,c=-1,r=-2;break}}}c!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=c)}}function Yc(e){const t=e.tokens_meta,u=e.tokens_meta.length;nr(e.delimiters);for(let n=0;n0&&n++,r[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,i[t]=e.pos};su.prototype.tokenize=function(e){const t=this.ruler.getRules(""),u=t.length,n=e.posMax,r=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};su.prototype.parse=function(e,t,u,n){const r=new this.State(e,t,u,n);this.tokenize(r);const i=this.ruler2.getRules(""),o=i.length;for(let a=0;a|$))",t.tpl_email_fuzzy="(^|"+u+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function un(e){return Array.prototype.slice.call(arguments,1).forEach(function(u){u&&Object.keys(u).forEach(function(n){e[n]=u[n]})}),e}function Bu(e){return Object.prototype.toString.call(e)}function Kc(e){return Bu(e)==="[object String]"}function ed(e){return Bu(e)==="[object Object]"}function td(e){return Bu(e)==="[object RegExp]"}function rr(e){return Bu(e)==="[object Function]"}function ud(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Jr={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function nd(e){return Object.keys(e||{}).reduce(function(t,u){return t||Jr.hasOwnProperty(u)},!1)}const rd={"http:":{validate:function(e,t,u){const n=e.slice(t);return u.re.http||(u.re.http=new RegExp("^\\/\\/"+u.re.src_auth+u.re.src_host_port_strict+u.re.src_path,"i")),u.re.http.test(n)?n.match(u.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,u){const n=e.slice(t);return u.re.no_http||(u.re.no_http=new RegExp("^"+u.re.src_auth+"(?:localhost|(?:(?:"+u.re.src_domain+")\\.)+"+u.re.src_domain_root+")"+u.re.src_port+u.re.src_host_terminator+u.re.src_path,"i")),u.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(u.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,u){const n=e.slice(t);return u.re.mailto||(u.re.mailto=new RegExp("^"+u.re.src_email_name+"@"+u.re.src_host_strict,"i")),u.re.mailto.test(n)?n.match(u.re.mailto)[0].length:0}}},id="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",od="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ad(e){e.__index__=-1,e.__text_cache__=""}function sd(e){return function(t,u){const n=t.slice(u);return e.test(n)?n.match(e)[0].length:0}}function ir(){return function(e,t){t.normalize(e)}}function Au(e){const t=e.re=Jc(e.__opts__),u=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||u.push(id),u.push(t.src_xn),t.src_tlds=u.join("|");function n(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function i(a,s){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+s)}Object.keys(e.__schemas__).forEach(function(a){const s=e.__schemas__[a];if(s===null)return;const l={validate:null,link:null};if(e.__compiled__[a]=l,ed(s)){td(s.validate)?l.validate=sd(s.validate):rr(s.validate)?l.validate=s.validate:i(a,s),rr(s.normalize)?l.normalize=s.normalize:s.normalize?i(a,s):l.normalize=ir();return}if(Kc(s)){r.push(a);return}i(a,s)}),r.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:ir()};const o=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(ud).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),ad(e)}function ld(e,t){const u=e.__index__,n=e.__last_index__,r=e.__text_cache__.slice(u,n);this.schema=e.__schema__.toLowerCase(),this.index=u+t,this.lastIndex=n+t,this.raw=r,this.text=r,this.url=r}function nn(e,t){const u=new ld(e,t);return e.__compiled__[u.schema].normalize(u,e),u}function ze(e,t){if(!(this instanceof ze))return new ze(e,t);t||nd(e)&&(t=e,e={}),this.__opts__=un({},Jr,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=un({},rd,e),this.__compiled__={},this.__tlds__=od,this.__tlds_replaced__=!1,this.re={},Au(this)}ze.prototype.add=function(t,u){return this.__schemas__[t]=u,Au(this),this};ze.prototype.set=function(t){return this.__opts__=un(this.__opts__,t),this};ze.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let u,n,r,i,o,a,s,l,c;if(this.re.schema_test.test(t)){for(s=this.re.schema_search,s.lastIndex=0;(u=s.exec(t))!==null;)if(i=this.testSchemaAt(t,u[2],s.lastIndex),i){this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&(r=t.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};ze.prototype.pretest=function(t){return this.re.pretest.test(t)};ze.prototype.testSchemaAt=function(t,u,n){return this.__compiled__[u.toLowerCase()]?this.__compiled__[u.toLowerCase()].validate(t,n,this):0};ze.prototype.match=function(t){const u=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(u.push(nn(this,n)),n=this.__last_index__);let r=n?t.slice(n):t;for(;this.test(r);)u.push(nn(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return u.length?u:null};ze.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const u=this.re.schema_at_start.exec(t);if(!u)return null;const n=this.testSchemaAt(t,u[2],u[0].length);return n?(this.__schema__=u[2],this.__index__=u.index+u[1].length,this.__last_index__=u.index+u[0].length+n,nn(this,0)):null};ze.prototype.tlds=function(t,u){return t=Array.isArray(t)?t:[t],u?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),Au(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Au(this),this)};ze.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};ze.prototype.onCompile=function(){};const zt=2147483647,Ye=36,Sn=1,Kt=26,cd=38,dd=700,Kr=72,ei=128,ti="-",fd=/^xn--/,hd=/[^\0-\x7F]/,pd=/[\x2E\u3002\uFF0E\uFF61]/g,gd={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Yu=Ye-Sn,Qe=Math.floor,Qu=String.fromCharCode;function pt(e){throw new RangeError(gd[e])}function md(e,t){const u=[];let n=e.length;for(;n--;)u[n]=t(e[n]);return u}function ui(e,t){const u=e.split("@");let n="";u.length>1&&(n=u[0]+"@",e=u[1]),e=e.replace(pd,".");const r=e.split("."),i=md(r,t).join(".");return n+i}function ni(e){const t=[];let u=0;const n=e.length;for(;u=55296&&r<=56319&&uString.fromCodePoint(...e),xd=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ye},or=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},ri=function(e,t,u){let n=0;for(e=u?Qe(e/dd):e>>1,e+=Qe(e/t);e>Yu*Kt>>1;n+=Ye)e=Qe(e/Yu);return Qe(n+(Yu+1)*e/(e+cd))},ii=function(e){const t=[],u=e.length;let n=0,r=ei,i=Kr,o=e.lastIndexOf(ti);o<0&&(o=0);for(let a=0;a=128&&pt("not-basic"),t.push(e.charCodeAt(a));for(let a=o>0?o+1:0;a=u&&pt("invalid-input");const p=xd(e.charCodeAt(a++));p>=Ye&&pt("invalid-input"),p>Qe((zt-n)/c)&&pt("overflow"),n+=p*c;const g=d<=i?Sn:d>=i+Kt?Kt:d-i;if(pQe(zt/h)&&pt("overflow"),c*=h}const l=t.length+1;i=ri(n-s,l,s==0),Qe(n/l)>zt-r&&pt("overflow"),r+=Qe(n/l),n%=l,t.splice(n++,0,r)}return String.fromCodePoint(...t)},oi=function(e){const t=[];e=ni(e);const u=e.length;let n=ei,r=0,i=Kr;for(const s of e)s<128&&t.push(Qu(s));const o=t.length;let a=o;for(o&&t.push(ti);a=n&&cQe((zt-r)/l)&&pt("overflow"),r+=(s-n)*l,n=s;for(const c of e)if(czt&&pt("overflow"),c===n){let d=r;for(let p=Ye;;p+=Ye){const g=p<=i?Sn:p>=i+Kt?Kt:p-i;if(d=0))try{t.hostname=ai.toASCII(t.hostname)}catch{}return ou(vn(t))}function Fd(e){const t=kn(e,!0);if(t.hostname&&(!t.protocol||si.indexOf(t.protocol)>=0))try{t.hostname=ai.toUnicode(t.hostname)}catch{}return jt(vn(t),jt.defaultChars+"%")}function Le(e,t){if(!(this instanceof Le))return new Le(e,t);t||Cn(e)||(t=e||{},e="default"),this.inline=new su,this.block=new Ru,this.core=new En,this.renderer=new qt,this.linkify=new ze,this.validateLink=Dd,this.normalizeLink=Sd,this.normalizeLinkText=Fd,this.utils=I0,this.helpers=Lu({},M0),this.options={},this.configure(e),t&&this.set(t)}Le.prototype.set=function(e){return Lu(this.options,e),this};Le.prototype.configure=function(e){const t=this;if(Cn(e)){const u=e;if(e=Cd[u],!e)throw new Error('Wrong `markdown-it` preset "'+u+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(u){e.components[u].rules&&t[u].ruler.enableOnly(e.components[u].rules),e.components[u].rules2&&t[u].ruler2.enableOnly(e.components[u].rules2)}),this};Le.prototype.enable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.enable(e,!0))},this),u=u.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Le.prototype.disable=function(e,t){let u=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){u=u.concat(this[r].ruler.disable(e,!0))},this),u=u.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(r){return u.indexOf(r)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Le.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Le.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const u=new this.core.State(e,this,t);return this.core.process(u),u.tokens};Le.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Le.prototype.parseInline=function(e,t){const u=new this.core.State(e,this,t);return u.inlineMode=!0,this.core.process(u),u.tokens};Le.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const ar=new Set([!0,!1,"alt","title"]);function li(e,t){return(Array.isArray(e)?e:[]).filter(([u])=>u!==t)}function ci(e,t){e&&e.attrs&&(e.attrs=li(e.attrs,t))}function Td(e,t){if(!ar.has(e))throw new TypeError(`figcaption must be one of: ${[...ar]}.`);if(e==="alt")return t.content;const u=t.attrs.find(([n])=>n==="title");return Array.isArray(u)&&u[1]?(ci(t,"title"),u[1]):void 0}function Id(e,t){t=t||{},e.core.ruler.before("linkify","image_figures",function(u){let n=1;for(let r=1,i=u.tokens.length;rc.match(l)).map(c=>Array.from(c))}if(t.tabindex&&(u.tokens[r-1].attrPush(["tabindex",n]),n++),t.lazy&&(s.attrs.some(([l])=>l==="loading")||s.attrs.push(["loading","lazy"])),t.async&&(s.attrs.some(([l])=>l==="decoding")||s.attrs.push(["decoding","async"])),t.classes&&typeof t.classes=="string"){let l=!1;for(let c=0,d=s.attrs.length;cc==="src");s.attrs.push(["data-src",l[1]]),ci(s,"src")}}})}var rn=!0,di=!1,fi=!1,zd=function(e,t){t&&(rn=!t.enabled,di=!!t.label,fi=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(u){for(var n=u.tokens,r=2;r=0;n--)if(e[n].level===u)return n;return-1}function Ld(e,t){return Nd(e[t])&&jd(e[t-1])&&Hd(e[t-2])&&qd(e[t])}function Md(e,t){if(e.children.unshift(Rd(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),di)if(fi){e.children.pop();var u="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+u+'">',e.children.push(Od(e.content,u,t))}else e.children.unshift(Bd(t)),e.children.push(Pd(t))}function Rd(e,t){var u=new t("html_inline","",0),n=rn?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?u.content='':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(u.content=''),u}function Bd(e){var t=new e("html_inline","",0);return t.content="",t}function Od(e,t,u){var n=new u("html_inline","",0);return n.content='",n.attrs=[{for:t}],n}function Nd(e){return e.type==="inline"}function jd(e){return e.type==="paragraph_open"}function Hd(e){return e.type==="list_item_open"}function qd(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const Ud=Tr(zd),It=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,hi=new Set,on=typeof process=="object"&&process?process:{},pi=(e,t,u,n)=>{typeof on.emitWarning=="function"?on.emitWarning(e,t,u,n):console.error(`[${u}] ${t}: ${e}`)};let Eu=globalThis.AbortController,lr=globalThis.AbortSignal;var xr;if(typeof Eu>"u"){lr=class{constructor(){se(this,"onabort");se(this,"_onabort",[]);se(this,"reason");se(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},Eu=class{constructor(){se(this,"signal",new lr);t()}abort(n){var r,i;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(i=(r=this.signal).onabort)==null||i.call(r,n)}}};let e=((xr=on.env)==null?void 0:xr.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const t=()=>{e&&(e=!1,pi("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}const Wd=e=>!hi.has(e),lt=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),gi=e=>lt(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?xu:null:null;class xu extends Array{constructor(t){super(t),this.fill(0)}}var $t;const Ct=class Ct{constructor(t,u){se(this,"heap");se(this,"length");if(!f(Ct,$t))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new u(t),this.length=0}static create(t){const u=gi(t);if(!u)return[];W(Ct,$t,!0);const n=new Ct(t,u);return W(Ct,$t,!1),n}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}};$t=new WeakMap,V(Ct,$t,!1);let an=Ct;var Re,De,Be,Pe,Lt,Mt,fe,Oe,de,ie,X,_e,Se,ye,ge,Ne,me,je,He,Fe,qe,bt,ve,eu,ln,At,ot,tu,Te,Fu,mi,Et,Rt,uu,Ve,ct,Xe,dt,nu,cn,Ph,Bt,yu,Pt,_u,ee,re,ru,dn,Dt,Gt,Ze,ft,iu,fn;const zn=class zn{constructor(t){V(this,eu);V(this,Fu);V(this,Ve);V(this,Xe);V(this,nu);V(this,Bt);V(this,Pt);V(this,ee);V(this,ru);V(this,Dt);V(this,Ze);V(this,iu);V(this,Re,void 0);V(this,De,void 0);V(this,Be,void 0);V(this,Pe,void 0);V(this,Lt,void 0);V(this,Mt,void 0);se(this,"ttl");se(this,"ttlResolution");se(this,"ttlAutopurge");se(this,"updateAgeOnGet");se(this,"updateAgeOnHas");se(this,"allowStale");se(this,"noDisposeOnSet");se(this,"noUpdateTTL");se(this,"maxEntrySize");se(this,"sizeCalculation");se(this,"noDeleteOnFetchRejection");se(this,"noDeleteOnStaleGet");se(this,"allowStaleOnFetchAbort");se(this,"allowStaleOnFetchRejection");se(this,"ignoreFetchAbort");V(this,fe,void 0);V(this,Oe,void 0);V(this,de,void 0);V(this,ie,void 0);V(this,X,void 0);V(this,_e,void 0);V(this,Se,void 0);V(this,ye,void 0);V(this,ge,void 0);V(this,Ne,void 0);V(this,me,void 0);V(this,je,void 0);V(this,He,void 0);V(this,Fe,void 0);V(this,qe,void 0);V(this,bt,void 0);V(this,ve,void 0);V(this,At,()=>{});V(this,ot,()=>{});V(this,tu,()=>{});V(this,Te,()=>!1);V(this,Et,t=>{});V(this,Rt,(t,u,n)=>{});V(this,uu,(t,u,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});se(this,Ph,"LRUCache");const{max:u=0,ttl:n,ttlResolution:r=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:s,dispose:l,disposeAfter:c,noDisposeOnSet:d,noUpdateTTL:p,maxSize:g=0,maxEntrySize:h=0,sizeCalculation:b,fetchMethod:k,memoMethod:w,noDeleteOnFetchRejection:A,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:E,allowStaleOnFetchAbort:I,ignoreFetchAbort:$}=t;if(u!==0&&!lt(u))throw new TypeError("max option must be a nonnegative integer");const S=u?gi(u):Array;if(!S)throw new Error("invalid max value: "+u);if(W(this,Re,u),W(this,De,g),this.maxEntrySize=h||f(this,De),this.sizeCalculation=b,this.sizeCalculation){if(!f(this,De)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!="function")throw new TypeError("memoMethod must be a function if defined");if(W(this,Mt,w),k!==void 0&&typeof k!="function")throw new TypeError("fetchMethod must be a function if specified");if(W(this,Lt,k),W(this,bt,!!k),W(this,de,new Map),W(this,ie,new Array(u).fill(void 0)),W(this,X,new Array(u).fill(void 0)),W(this,_e,new S(u)),W(this,Se,new S(u)),W(this,ye,0),W(this,ge,0),W(this,Ne,an.create(u)),W(this,fe,0),W(this,Oe,0),typeof l=="function"&&W(this,Be,l),typeof c=="function"?(W(this,Pe,c),W(this,me,[])):(W(this,Pe,void 0),W(this,me,void 0)),W(this,qe,!!f(this,Be)),W(this,ve,!!f(this,Pe)),this.noDisposeOnSet=!!d,this.noUpdateTTL=!!p,this.noDeleteOnFetchRejection=!!A,this.allowStaleOnFetchRejection=!!E,this.allowStaleOnFetchAbort=!!I,this.ignoreFetchAbort=!!$,this.maxEntrySize!==0){if(f(this,De)!==0&&!lt(f(this,De)))throw new TypeError("maxSize must be a positive integer if specified");if(!lt(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");B(this,Fu,mi).call(this)}if(this.allowStale=!!s,this.noDeleteOnStaleGet=!!C,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=lt(r)||r===0?r:1,this.ttlAutopurge=!!i,this.ttl=n||0,this.ttl){if(!lt(this.ttl))throw new TypeError("ttl must be a positive integer if specified");B(this,eu,ln).call(this)}if(f(this,Re)===0&&this.ttl===0&&f(this,De)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!f(this,Re)&&!f(this,De)){const v="LRU_CACHE_UNBOUNDED";Wd(v)&&(hi.add(v),pi("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",v,zn))}}static unsafeExposeInternals(t){return{starts:f(t,He),ttls:f(t,Fe),sizes:f(t,je),keyMap:f(t,de),keyList:f(t,ie),valList:f(t,X),next:f(t,_e),prev:f(t,Se),get head(){return f(t,ye)},get tail(){return f(t,ge)},free:f(t,Ne),isBackgroundFetch:u=>{var n;return B(n=t,ee,re).call(n,u)},backgroundFetch:(u,n,r,i)=>{var o;return B(o=t,Pt,_u).call(o,u,n,r,i)},moveToTail:u=>{var n;return B(n=t,Dt,Gt).call(n,u)},indexes:u=>{var n;return B(n=t,Ve,ct).call(n,u)},rindexes:u=>{var n;return B(n=t,Xe,dt).call(n,u)},isStale:u=>{var n;return f(n=t,Te).call(n,u)}}}get max(){return f(this,Re)}get maxSize(){return f(this,De)}get calculatedSize(){return f(this,Oe)}get size(){return f(this,fe)}get fetchMethod(){return f(this,Lt)}get memoMethod(){return f(this,Mt)}get dispose(){return f(this,Be)}get disposeAfter(){return f(this,Pe)}getRemainingTTL(t){return f(this,de).has(t)?1/0:0}*entries(){for(const t of B(this,Ve,ct).call(this))f(this,X)[t]!==void 0&&f(this,ie)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield[f(this,ie)[t],f(this,X)[t]])}*rentries(){for(const t of B(this,Xe,dt).call(this))f(this,X)[t]!==void 0&&f(this,ie)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield[f(this,ie)[t],f(this,X)[t]])}*keys(){for(const t of B(this,Ve,ct).call(this)){const u=f(this,ie)[t];u!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield u)}}*rkeys(){for(const t of B(this,Xe,dt).call(this)){const u=f(this,ie)[t];u!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield u)}}*values(){for(const t of B(this,Ve,ct).call(this))f(this,X)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield f(this,X)[t])}*rvalues(){for(const t of B(this,Xe,dt).call(this))f(this,X)[t]!==void 0&&!B(this,ee,re).call(this,f(this,X)[t])&&(yield f(this,X)[t])}[Symbol.iterator](){return this.entries()}find(t,u={}){for(const n of B(this,Ve,ct).call(this)){const r=f(this,X)[n],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;if(i!==void 0&&t(i,f(this,ie)[n],this))return this.get(f(this,ie)[n],u)}}forEach(t,u=this){for(const n of B(this,Ve,ct).call(this)){const r=f(this,X)[n],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;i!==void 0&&t.call(u,i,f(this,ie)[n],this)}}rforEach(t,u=this){for(const n of B(this,Xe,dt).call(this)){const r=f(this,X)[n],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;i!==void 0&&t.call(u,i,f(this,ie)[n],this)}}purgeStale(){let t=!1;for(const u of B(this,Xe,dt).call(this,{allowStale:!0}))f(this,Te).call(this,u)&&(B(this,Ze,ft).call(this,f(this,ie)[u],"expire"),t=!0);return t}info(t){const u=f(this,de).get(t);if(u===void 0)return;const n=f(this,X)[u],r=B(this,ee,re).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;const i={value:r};if(f(this,Fe)&&f(this,He)){const o=f(this,Fe)[u],a=f(this,He)[u];if(o&&a){const s=o-(It.now()-a);i.ttl=s,i.start=Date.now()}}return f(this,je)&&(i.size=f(this,je)[u]),i}dump(){const t=[];for(const u of B(this,Ve,ct).call(this,{allowStale:!0})){const n=f(this,ie)[u],r=f(this,X)[u],i=B(this,ee,re).call(this,r)?r.__staleWhileFetching:r;if(i===void 0||n===void 0)continue;const o={value:i};if(f(this,Fe)&&f(this,He)){o.ttl=f(this,Fe)[u];const a=It.now()-f(this,He)[u];o.start=Math.floor(Date.now()-a)}f(this,je)&&(o.size=f(this,je)[u]),t.unshift([n,o])}return t}load(t){this.clear();for(const[u,n]of t){if(n.start){const r=Date.now()-n.start;n.start=It.now()-r}this.set(u,n.value,n)}}set(t,u,n={}){var p,g,h,b,k;if(u===void 0)return this.delete(t),this;const{ttl:r=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:s}=n;let{noUpdateTTL:l=this.noUpdateTTL}=n;const c=f(this,uu).call(this,t,u,n.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return s&&(s.set="miss",s.maxEntrySizeExceeded=!0),B(this,Ze,ft).call(this,t,"set"),this;let d=f(this,fe)===0?void 0:f(this,de).get(t);if(d===void 0)d=f(this,fe)===0?f(this,ge):f(this,Ne).length!==0?f(this,Ne).pop():f(this,fe)===f(this,Re)?B(this,Bt,yu).call(this,!1):f(this,fe),f(this,ie)[d]=t,f(this,X)[d]=u,f(this,de).set(t,d),f(this,_e)[f(this,ge)]=d,f(this,Se)[d]=f(this,ge),W(this,ge,d),cu(this,fe)._++,f(this,Rt).call(this,d,c,s),s&&(s.set="add"),l=!1;else{B(this,Dt,Gt).call(this,d);const w=f(this,X)[d];if(u!==w){if(f(this,bt)&&B(this,ee,re).call(this,w)){w.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:A}=w;A!==void 0&&!o&&(f(this,qe)&&((p=f(this,Be))==null||p.call(this,A,t,"set")),f(this,ve)&&((g=f(this,me))==null||g.push([A,t,"set"])))}else o||(f(this,qe)&&((h=f(this,Be))==null||h.call(this,w,t,"set")),f(this,ve)&&((b=f(this,me))==null||b.push([w,t,"set"])));if(f(this,Et).call(this,d),f(this,Rt).call(this,d,c,s),f(this,X)[d]=u,s){s.set="replace";const A=w&&B(this,ee,re).call(this,w)?w.__staleWhileFetching:w;A!==void 0&&(s.oldValue=A)}}else s&&(s.set="update")}if(r!==0&&!f(this,Fe)&&B(this,eu,ln).call(this),f(this,Fe)&&(l||f(this,tu).call(this,d,r,i),s&&f(this,ot).call(this,s,d)),!o&&f(this,ve)&&f(this,me)){const w=f(this,me);let A;for(;A=w==null?void 0:w.shift();)(k=f(this,Pe))==null||k.call(this,...A)}return this}pop(){var t;try{for(;f(this,fe);){const u=f(this,X)[f(this,ye)];if(B(this,Bt,yu).call(this,!0),B(this,ee,re).call(this,u)){if(u.__staleWhileFetching)return u.__staleWhileFetching}else if(u!==void 0)return u}}finally{if(f(this,ve)&&f(this,me)){const u=f(this,me);let n;for(;n=u==null?void 0:u.shift();)(t=f(this,Pe))==null||t.call(this,...n)}}}has(t,u={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=u,i=f(this,de).get(t);if(i!==void 0){const o=f(this,X)[i];if(B(this,ee,re).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(f(this,Te).call(this,i))r&&(r.has="stale",f(this,ot).call(this,r,i));else return n&&f(this,At).call(this,i),r&&(r.has="hit",f(this,ot).call(this,r,i)),!0}else r&&(r.has="miss");return!1}peek(t,u={}){const{allowStale:n=this.allowStale}=u,r=f(this,de).get(t);if(r===void 0||!n&&f(this,Te).call(this,r))return;const i=f(this,X)[r];return B(this,ee,re).call(this,i)?i.__staleWhileFetching:i}async fetch(t,u={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:s=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:g=this.ignoreFetchAbort,allowStaleOnFetchAbort:h=this.allowStaleOnFetchAbort,context:b,forceRefresh:k=!1,status:w,signal:A}=u;if(!f(this,bt))return w&&(w.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,status:w});const C={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:a,size:s,sizeCalculation:l,noUpdateTTL:c,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:h,ignoreFetchAbort:g,status:w,signal:A};let E=f(this,de).get(t);if(E===void 0){w&&(w.fetch="miss");const I=B(this,Pt,_u).call(this,t,E,C,b);return I.__returned=I}else{const I=f(this,X)[E];if(B(this,ee,re).call(this,I)){const _=n&&I.__staleWhileFetching!==void 0;return w&&(w.fetch="inflight",_&&(w.returnedStale=!0)),_?I.__staleWhileFetching:I.__returned=I}const $=f(this,Te).call(this,E);if(!k&&!$)return w&&(w.fetch="hit"),B(this,Dt,Gt).call(this,E),r&&f(this,At).call(this,E),w&&f(this,ot).call(this,w,E),I;const S=B(this,Pt,_u).call(this,t,E,C,b),N=S.__staleWhileFetching!==void 0&&n;return w&&(w.fetch=$?"stale":"refresh",N&&$&&(w.returnedStale=!0)),N?S.__staleWhileFetching:S.__returned=S}}async forceFetch(t,u={}){const n=await this.fetch(t,u);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(t,u={}){const n=f(this,Mt);if(!n)throw new Error("no memoMethod provided to constructor");const{context:r,forceRefresh:i,...o}=u,a=this.get(t,o);if(!i&&a!==void 0)return a;const s=n(t,a,{options:o,context:r});return this.set(t,s,o),s}get(t,u={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=u,a=f(this,de).get(t);if(a!==void 0){const s=f(this,X)[a],l=B(this,ee,re).call(this,s);return o&&f(this,ot).call(this,o,a),f(this,Te).call(this,a)?(o&&(o.get="stale"),l?(o&&n&&s.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?s.__staleWhileFetching:void 0):(i||B(this,Ze,ft).call(this,t,"expire"),o&&n&&(o.returnedStale=!0),n?s:void 0)):(o&&(o.get="hit"),l?s.__staleWhileFetching:(B(this,Dt,Gt).call(this,a),r&&f(this,At).call(this,a),s))}else o&&(o.get="miss")}delete(t){return B(this,Ze,ft).call(this,t,"delete")}clear(){return B(this,iu,fn).call(this,"delete")}};Ph=Symbol.toStringTag,Re=new WeakMap,De=new WeakMap,Be=new WeakMap,Pe=new WeakMap,Lt=new WeakMap,Mt=new WeakMap,fe=new WeakMap,Oe=new WeakMap,de=new WeakMap,ie=new WeakMap,X=new WeakMap,_e=new WeakMap,Se=new WeakMap,ye=new WeakMap,ge=new WeakMap,Ne=new WeakMap,me=new WeakMap,je=new WeakMap,He=new WeakMap,Fe=new WeakMap,qe=new WeakMap,bt=new WeakMap,ve=new WeakMap,eu=new WeakSet,ln=function(){const t=new xu(f(this,Re)),u=new xu(f(this,Re));W(this,Fe,t),W(this,He,u),W(this,tu,(i,o,a=It.now())=>{if(u[i]=o!==0?a:0,t[i]=o,o!==0&&this.ttlAutopurge){const s=setTimeout(()=>{f(this,Te).call(this,i)&&B(this,Ze,ft).call(this,f(this,ie)[i],"expire")},o+1);s.unref&&s.unref()}}),W(this,At,i=>{u[i]=t[i]!==0?It.now():0}),W(this,ot,(i,o)=>{if(t[o]){const a=t[o],s=u[o];if(!a||!s)return;i.ttl=a,i.start=s,i.now=n||r();const l=i.now-s;i.remainingTTL=a-l}});let n=0;const r=()=>{const i=It.now();if(this.ttlResolution>0){n=i;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return i};this.getRemainingTTL=i=>{const o=f(this,de).get(i);if(o===void 0)return 0;const a=t[o],s=u[o];if(!a||!s)return 1/0;const l=(n||r())-s;return a-l},W(this,Te,i=>{const o=u[i],a=t[i];return!!a&&!!o&&(n||r())-o>a})},At=new WeakMap,ot=new WeakMap,tu=new WeakMap,Te=new WeakMap,Fu=new WeakSet,mi=function(){const t=new xu(f(this,Re));W(this,Oe,0),W(this,je,t),W(this,Et,u=>{W(this,Oe,f(this,Oe)-t[u]),t[u]=0}),W(this,uu,(u,n,r,i)=>{if(B(this,ee,re).call(this,n))return 0;if(!lt(r))if(i){if(typeof i!="function")throw new TypeError("sizeCalculation must be a function");if(r=i(n,u),!lt(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),W(this,Rt,(u,n,r)=>{if(t[u]=n,f(this,De)){const i=f(this,De)-t[u];for(;f(this,Oe)>i;)B(this,Bt,yu).call(this,!0)}W(this,Oe,f(this,Oe)+t[u]),r&&(r.entrySize=n,r.totalCalculatedSize=f(this,Oe))})},Et=new WeakMap,Rt=new WeakMap,uu=new WeakMap,Ve=new WeakSet,ct=function*({allowStale:t=this.allowStale}={}){if(f(this,fe))for(let u=f(this,ge);!(!B(this,nu,cn).call(this,u)||((t||!f(this,Te).call(this,u))&&(yield u),u===f(this,ye)));)u=f(this,Se)[u]},Xe=new WeakSet,dt=function*({allowStale:t=this.allowStale}={}){if(f(this,fe))for(let u=f(this,ye);!(!B(this,nu,cn).call(this,u)||((t||!f(this,Te).call(this,u))&&(yield u),u===f(this,ge)));)u=f(this,_e)[u]},nu=new WeakSet,cn=function(t){return t!==void 0&&f(this,de).get(f(this,ie)[t])===t},Bt=new WeakSet,yu=function(t){var i,o;const u=f(this,ye),n=f(this,ie)[u],r=f(this,X)[u];return f(this,bt)&&B(this,ee,re).call(this,r)?r.__abortController.abort(new Error("evicted")):(f(this,qe)||f(this,ve))&&(f(this,qe)&&((i=f(this,Be))==null||i.call(this,r,n,"evict")),f(this,ve)&&((o=f(this,me))==null||o.push([r,n,"evict"]))),f(this,Et).call(this,u),t&&(f(this,ie)[u]=void 0,f(this,X)[u]=void 0,f(this,Ne).push(u)),f(this,fe)===1?(W(this,ye,W(this,ge,0)),f(this,Ne).length=0):W(this,ye,f(this,_e)[u]),f(this,de).delete(n),cu(this,fe)._--,u},Pt=new WeakSet,_u=function(t,u,n,r){const i=u===void 0?void 0:f(this,X)[u];if(B(this,ee,re).call(this,i))return i;const o=new Eu,{signal:a}=n;a==null||a.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});const s={signal:o.signal,options:n,context:r},l=(b,k=!1)=>{const{aborted:w}=o.signal,A=n.ignoreFetchAbort&&b!==void 0;if(n.status&&(w&&!k?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,A&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),w&&!A&&!k)return d(o.signal.reason);const C=g;return f(this,X)[u]===g&&(b===void 0?C.__staleWhileFetching?f(this,X)[u]=C.__staleWhileFetching:B(this,Ze,ft).call(this,t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(t,b,s.options))),b},c=b=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=b),d(b)),d=b=>{const{aborted:k}=o.signal,w=k&&n.allowStaleOnFetchAbort,A=w||n.allowStaleOnFetchRejection,C=A||n.noDeleteOnFetchRejection,E=g;if(f(this,X)[u]===g&&(!C||E.__staleWhileFetching===void 0?B(this,Ze,ft).call(this,t,"fetch"):w||(f(this,X)[u]=E.__staleWhileFetching)),A)return n.status&&E.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),E.__staleWhileFetching;if(E.__returned===E)throw b},p=(b,k)=>{var A;const w=(A=f(this,Lt))==null?void 0:A.call(this,t,i,s);w&&w instanceof Promise&&w.then(C=>b(C===void 0?void 0:C),k),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(b(void 0),n.allowStaleOnFetchAbort&&(b=C=>l(C,!0)))})};n.status&&(n.status.fetchDispatched=!0);const g=new Promise(p).then(l,c),h=Object.assign(g,{__abortController:o,__staleWhileFetching:i,__returned:void 0});return u===void 0?(this.set(t,h,{...s.options,status:void 0}),u=f(this,de).get(t)):f(this,X)[u]=h,h},ee=new WeakSet,re=function(t){if(!f(this,bt))return!1;const u=t;return!!u&&u instanceof Promise&&u.hasOwnProperty("__staleWhileFetching")&&u.__abortController instanceof Eu},ru=new WeakSet,dn=function(t,u){f(this,Se)[u]=t,f(this,_e)[t]=u},Dt=new WeakSet,Gt=function(t){t!==f(this,ge)&&(t===f(this,ye)?W(this,ye,f(this,_e)[t]):B(this,ru,dn).call(this,f(this,Se)[t],f(this,_e)[t]),B(this,ru,dn).call(this,f(this,ge),t),W(this,ge,t))},Ze=new WeakSet,ft=function(t,u){var r,i,o,a;let n=!1;if(f(this,fe)!==0){const s=f(this,de).get(t);if(s!==void 0)if(n=!0,f(this,fe)===1)B(this,iu,fn).call(this,u);else{f(this,Et).call(this,s);const l=f(this,X)[s];if(B(this,ee,re).call(this,l)?l.__abortController.abort(new Error("deleted")):(f(this,qe)||f(this,ve))&&(f(this,qe)&&((r=f(this,Be))==null||r.call(this,l,t,u)),f(this,ve)&&((i=f(this,me))==null||i.push([l,t,u]))),f(this,de).delete(t),f(this,ie)[s]=void 0,f(this,X)[s]=void 0,s===f(this,ge))W(this,ge,f(this,Se)[s]);else if(s===f(this,ye))W(this,ye,f(this,_e)[s]);else{const c=f(this,Se)[s];f(this,_e)[c]=f(this,_e)[s];const d=f(this,_e)[s];f(this,Se)[d]=f(this,Se)[s]}cu(this,fe)._--,f(this,Ne).push(s)}}if(f(this,ve)&&((o=f(this,me))!=null&&o.length)){const s=f(this,me);let l;for(;l=s==null?void 0:s.shift();)(a=f(this,Pe))==null||a.call(this,...l)}return n},iu=new WeakSet,fn=function(t){var u,n,r;for(const i of B(this,Xe,dt).call(this,{allowStale:!0})){const o=f(this,X)[i];if(B(this,ee,re).call(this,o))o.__abortController.abort(new Error("deleted"));else{const a=f(this,ie)[i];f(this,qe)&&((u=f(this,Be))==null||u.call(this,o,a,t)),f(this,ve)&&((n=f(this,me))==null||n.push([o,a,t]))}}if(f(this,de).clear(),f(this,X).fill(void 0),f(this,ie).fill(void 0),f(this,Fe)&&f(this,He)&&(f(this,Fe).fill(0),f(this,He).fill(0)),f(this,je)&&f(this,je).fill(0),W(this,ye,0),W(this,ge,0),f(this,Ne).length=0,W(this,Oe,0),W(this,fe,0),f(this,ve)&&f(this,me)){const i=f(this,me);let o;for(;o=i==null?void 0:i.shift();)(r=f(this,Pe))==null||r.call(this,...o)}};let sn=zn;function Gd(e,t){for(var u=0;un[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Vd=(e,t)=>{const u=ke("editorId"),{noImgZoomIn:n}=e,r=Mr(()=>{const i=document.querySelectorAll(`#${u}-preview img:not(.not-zoom):not(.medium-zoom-image)`);i.length!==0&&Bl(i,{background:"#00000073"})});Ce(()=>{!n&&e.setting.preview&&r()}),we([t,kr(e.setting,"preview")],()=>{!n&&e.setting.preview&&r()})},Xd=(e,t,u)=>{const n=ke("editorId"),r=ke("usedLanguageText"),i=()=>{document.querySelectorAll(`#${n} .${q}-preview .${q}-code`).forEach(s=>{let l=-1;const c=s.querySelector(`.${q}-copy-button`);c&&(c.onclick=d=>{d.preventDefault(),clearTimeout(l);const g=(s.querySelector("input:checked + pre code")||s.querySelector("pre code")).textContent,h=Ul(e.formatCopiedText(g)),{text:b,successTips:k,failTips:w}=r.value.copyCode,A=h?k:w;c.dataset.isIcon?c.dataset.tips=A:c.innerHTML=A,l=window.setTimeout(()=>{c.dataset.isIcon?c.dataset.tips=b:c.innerHTML=b},1500)})})},o=()=>{Ot(i)},a=s=>{s&&Ot(i)};we([t,u],o),we(()=>e.setting.preview,a),we(()=>e.setting.htmlPreview,a),we(()=>r.value,i),Ce(i)},Zd=e=>{const t=ke("highlight"),u=Nt(Je.editorExtensions.highlight.instance);return Ce(()=>{e.noHighlight||u.value||(at("link",{...t.value.css,rel:"stylesheet",id:`${q}-hlCss`}),at("script",{...t.value.js,id:`${q}-hljs`,onload(){u.value=window.hljs}},"hljs"))}),we(()=>t.value.css,()=>{e.noHighlight||Dl("link",{...t.value.css,rel:"stylesheet",id:`${q}-hlCss`})}),u},Yd=e=>{const t=ke("theme"),{editorExtensions:u,editorExtensionsAttrs:n,mermaidConfig:r}=Je,i=Nt(u.mermaid.instance),o=Nt(-1),a=new sn({max:1e3,ttl:6e5}),s=()=>{const c=i.value;!e.noMermaid&&c&&(c.initialize(r({startOnLoad:!1,theme:t.value==="dark"?"dark":"default"})),o.value=o.value+1)};return we(()=>t.value,()=>{a.clear(),s()}),Ce(()=>{var c,d;if(e.noMermaid||i.value)return;const p=u.mermaid.js;/\.mjs/.test(p)?(at("link",{...(c=n.mermaid)==null?void 0:c.js,rel:"modulepreload",href:p,id:`${q}-mermaid-m`}),vr(()=>import(p),[],import.meta.url).then(g=>{i.value=g.default,s()})):at("script",{...(d=n.mermaid)==null?void 0:d.js,src:p,id:`${q}-mermaid`,onload(){i.value=window.mermaid,s()}},"mermaid")}),{mermaidRef:i,reRenderRef:o,replaceMermaid:()=>{Ot(()=>{if(!e.noMermaid&&i.value){const c=document.querySelectorAll(`div.${q}-mermaid`),d=document.createElement("div");d.style.width=document.body.offsetWidth+"px",d.style.height=document.body.offsetHeight+"px",d.style.position="fixed",d.style.zIndex="-10000",d.style.top="-10000";let p=c.length;p>0&&document.body.appendChild(d),c.forEach(async g=>{let h=a.get(g.innerText);if(!h){const k=Ku(),w=i.value.renderAsync||i.value.render;let A="";try{A=await w(k,g.innerText,d)}catch{}h=await e.sanitizeMermaid(typeof A=="string"?A:A.svg),a.set(g.innerText,h)}const b=document.createElement("p");b.className=`${q}-mermaid`,b.setAttribute("data-processed",""),b.innerHTML=h,g.dataset.line!==void 0&&(b.dataset.line=g.dataset.line),g.replaceWith(b),--p===0&&d.remove()})}})}}},Qd=e=>{const t=Nt(Je.editorExtensions.katex.instance);return Ce(()=>{if(e.noKatex||t.value)return;const{editorExtensions:u}=Je;at("script",{src:u.katex.js,id:`${q}-katex`,onload(){t.value=window.katex}},"katex"),at("link",{rel:"stylesheet",href:u.katex.css,id:`${q}-katexCss`})}),t},Jd=(e,t)=>{const u=e.renderer.rules.fence.bind(e.renderer.rules);e.renderer.rules.fence=(n,r,i,o,a)=>{const s=n[r],l=s.content.trim();if(s.info==="mermaid"){let c;return n[r].map&&n[r].level===0&&(c=n[r].map[0],n[r].attrSet("data-line",String(c))),`
    ${l}
    `}return u(n,r,i,o,a)}},Kd=Jd,Du=(e,t)=>{const u=e.attrs?e.attrs.slice():[];return t.forEach(n=>{const r=e.attrIndex(n[0]);r<0?u.push(n):(u[r]=u[r].slice(),u[r][1]+=` ${n[1]}`)}),u},cr=(e,t)=>{let u=!0,n=!0;const r=e.posMax,i=t>0?e.src.charCodeAt(t-1):-1,o=t+1<=r?e.src.charCodeAt(t+1):-1;return(i===32||i===9||o>=48&&o<=57)&&(n=!1),(o===32||o===9)&&(u=!1),{can_open:u,can_close:n}},ef=(e,t)=>{let u,n,r,i;if(e.src[e.pos]!=="$")return!1;if(r=cr(e,e.pos),!r.can_open)return t||(e.pending+="$"),e.pos+=1,!0;const o=e.pos+1;for(u=o;(u=e.src.indexOf("$",u))!==-1;){for(i=u-1;e.src[i]==="\\";)i-=1;if((u-i)%2==1)break;u+=1}return u===-1?(t||(e.pending+="$"),e.pos=o,!0):u-o===0?(t||(e.pending+="$$"),e.pos=o+1,!0):(r=cr(e,u),r.can_close?(t||(n=e.push("math_inline","math",0),n.markup="$",n.content=e.src.slice(o,u)),e.pos=u+1,!0):(t||(e.pending+="$"),e.pos=o,!0))},tf=(e,t,u,n)=>{let r,i,o,a,s=!1,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(l+2>c||e.src.slice(l,l+2)!=="$$")return!1;if(l+=2,r=e.src.slice(l,c),n)return!0;for(r.trim().slice(-2)==="$$"&&(r=r.trim().slice(0,-2),s=!0),o=t;!s&&(o++,!(o>=u||(l=e.bMarks[o]+e.tShift[o],c=e.eMarks[o],l{const u=(r,i,o,a,s)=>{const l=r[i],c={attrs:Du(l,[["class",`${q}-katex-inline`]])};if(t.value){const d=t.value.renderToString(l.content,{throwOnError:!1});return`${d}`}else return`${l.content}`},n=(r,i,o,a,s)=>{const l=r[i],c={attrs:Du(l,[["class",`${q}-katex-block`]])};if(t.value){const d=t.value.renderToString(l.content,{throwOnError:!1,displayMode:!0});return`

    ${d}

    `}else return`

    ${l.content}

    `};e.inline.ruler.after("escape","math_inline",ef),e.block.ruler.after("blockquote","math_block",tf,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=u,e.renderer.rules.math_block=n},nf=uf,rf=(e,t)=>{t=t||{};const u=3,n=t.marker||"!",r=n.charCodeAt(0),i=n.length;let o="",a="";const s=(c,d,p,g,h)=>{const b=c[d];return b.type==="admonition_open"?c[d].attrPush(["class",`${q}-admonition ${q}-admonition-${b.info}`]):b.type==="admonition_title_open"&&c[d].attrPush(["class",`${q}-admonition-title`]),h.renderToken(c,d,p)},l=c=>{const d=c.trim().split(" ",2);a="",o=d[0],d.length>1&&(a=c.substring(o.length+2))};e.block.ruler.before("code","admonition",(c,d,p,g)=>{let h,b,k,w=!1,A=c.bMarks[d]+c.tShift[d],C=c.eMarks[d];if(r!==c.src.charCodeAt(A))return!1;for(h=A+1;h<=C&&n[(h-A)%i]===c.src[h];h++);const E=Math.floor((h-A)/i);if(E!==u)return!1;h-=(h-A)%i;const I=c.src.slice(A,h),$=c.src.slice(h,C);if(l($),g)return!0;for(b=d;b++,!(b>=p||(A=c.bMarks[b]+c.tShift[b],C=c.eMarks[b],A=4)){for(h=A+1;h<=C&&n[(h-A)%i]===c.src[h];h++);if(!(Math.floor((h-A)/i){e.renderer.rules.heading_open=(u,n)=>{var r;const i=u[n],o=((r=u[n+1].children)==null?void 0:r.reduce((s,l)=>s+(["text","code_inline"].includes(l.type)&&l.content||""),""))||"",a=i.markup.length;return t.headsRef.value.push({text:o,level:a}),i.map&&i.level===0&&i.attrSet("id",t.mdHeadingId(o,a,t.headsRef.value.length)),e.renderer.renderToken(u,n,t)},e.renderer.rules.heading_close=(u,n,r,i,o)=>o.renderToken(u,n,r)},sf=af,lf=(e,t)=>{if(typeof t[e]=="string")return t[e];const u=``;switch(Je.iconfontType){case"svg":return``;default:return u}},cf=lf,df=(e,t)=>{const u=e.renderer.rules.fence,n=e.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,i=/::(open|close)/,o=d=>d.info?n(d.info).trim():"",a=d=>{const p=o(d),[g=null,h=""]=(r.exec(p)||[]).slice(1);return[g,h]},s=d=>{const p=o(d);return p?p.split(/(\s+)/g)[0]:""},l=d=>{const p=d.info.match(i)||[],g=p[1]==="open"||p[1]!=="close"&&t.codeFoldable&&d.content.trim().split(` +`).length{var k;if(d[p].hidden)return"";const w=(k=t.usedLanguageTextRef.value)==null?void 0:k.copyCode.text,A=t.customIconRef.value.copy||w,C=!!t.customIconRef.value.copy,E=`${cf("collapse-tips",t.customIconRef.value)}`,[I]=a(d[p]);if(I===null){const{open:ae,tagContainer:xe,tagHeader:Ee}=l(d[p]),ne=[["class",`${q}-code`]];ae&&ne.push(["open",""]);const ce={attrs:Du(d[p],ne)};d[p].info=d[p].info.replace(i,"");const J=u(d,p,g,h,b);return`<${xe} ${b.renderAttrs(ce)}> + <${Ee} class="${q}-code-head"> +
    +
    + ${d[p].info.trim()} + ${A} + ${xe==="details"?E:""} +
    + ${J}`}let $,S,v,N,_="",x="",D="";const{open:T,tagContainer:P,tagHeader:U}=l(d[p]),j=[["class",`${q}-code`]];T&&j.push(["open",""]);const ue={attrs:Du(d[p],j)};for(let ae=p;ae0?"":"checked",_+=`
  • + + +
  • `,x+=` + ${u(d,ae,g,h,b)}`,D+=` + ${s($)}`}return`<${P} ${b.renderAttrs(ue)}> + <${U} class="${q}-code-head"> +
    +
      ${_}
    +
    +
    + ${D} + ${A} + ${P==="details"?E:""} +
    + ${x}`};e.renderer.rules.fence=c,e.renderer.rules.code_block=c},ff=df;function hf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hn={exports:{}},le={},pn={exports:{}},St={};function bi(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function pf(e,t,u){}function gf(e,t,u){}var mf=/javascript\s*\:/img;function bf(e,t){return mf.test(t)?"":t}St.whiteList=bi();St.getDefaultWhiteList=bi;St.onAttr=pf;St.onIgnoreAttr=gf;St.safeAttrValue=bf;var xf={indexOf:function(e,t){var u,n;if(Array.prototype.indexOf)return e.indexOf(t);for(u=0,n=e.length;u/g,$f=/"/g,Lf=/"/g,Mf=/&#([a-zA-Z0-9]*);?/gim,Rf=/:?/gim,Bf=/&newline;?/gim,gu=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,fr=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,hr=/u\s*r\s*l\s*\(.*/gi;function ki(e){return e.replace($f,""")}function wi(e){return e.replace(Lf,'"')}function Ci(e){return e.replace(Mf,function(u,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function Ai(e){return e.replace(Rf,":").replace(Bf," ")}function Ei(e){for(var t="",u=0,n=e.length;u",n);if(r===-1)break;u=r+3}return t}function jf(e){var t=e.split("");return t=t.filter(function(u){var n=u.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),t.join("")}le.whiteList=yi();le.getDefaultWhiteList=yi;le.onTag=Ef;le.onIgnoreTag=Df;le.onTagAttr=Sf;le.onIgnoreTagAttr=Ff;le.safeAttrValue=Tf;le.escapeHtml=vi;le.escapeQuote=ki;le.unescapeQuote=wi;le.escapeHtmlEntities=Ci;le.escapeDangerHtml5Entities=Ai;le.clearNonPrintableCharacter=Ei;le.friendlyAttrValue=Di;le.escapeAttrValue=Si;le.onIgnoreTagStripAll=Pf;le.StripTagBody=Of;le.stripCommentTag=Nf;le.stripBlankChar=jf;le.attributeWrapSign='"';le.cssFilter=_i;le.getDefaultCSSWhiteList=Af;var Pu={},gt=Tn;function Hf(e){var t=gt.spaceIndex(e),u;return t===-1?u=e.slice(1,-1):u=e.slice(1,t+1),u=gt.trim(u).toLowerCase(),u.slice(0,1)==="/"&&(u=u.slice(1)),u.slice(-1)==="/"&&(u=u.slice(0,-1)),u}function qf(e){return e.slice(0,2)===""||a===s-1){n+=u(e.slice(r,i)),c=e.slice(i,a+1),l=Hf(c),n+=t(i,n.length,l,c,qf(c)),r=a+1,i=!1;continue}if(d==='"'||d==="'")for(var p=1,g=e.charAt(a-p);g.trim()===""||g==="=";){if(g==="="){o=d;continue e}g=e.charAt(a-++p)}}else if(d===o){o=!1;continue}}return r0;t--){var u=e[t];if(u!==" ")return u==="="?t:-1}}function Yf(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function pr(e){return Yf(e)?e.substr(1,e.length-2):e}Pu.parseTag=Uf;Pu.parseAttr=Gf;var Qf=Fn.FilterCSS,$e=le,Fi=Pu,Jf=Fi.parseTag,Kf=Fi.parseAttr,vu=Tn;function mu(e){return e==null}function e1(e){var t=vu.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=vu.trim(e.slice(t+1,-1));var u=e[e.length-1]==="/";return u&&(e=vu.trim(e.slice(0,-1))),{html:e,closing:u}}function t1(e){var t={};for(var u in e)t[u]=e[u];return t}function u1(e){var t={};for(var u in e)Array.isArray(e[u])?t[u.toLowerCase()]=e[u].map(function(n){return n.toLowerCase()}):t[u.toLowerCase()]=e[u];return t}function Ti(e){e=t1(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=$e.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=u1(e.whiteList||e.allowList):e.whiteList=$e.whiteList,this.attributeWrapSign=e.singleQuotedAttributeValue===!0?"'":$e.attributeWrapSign,e.onTag=e.onTag||$e.onTag,e.onTagAttr=e.onTagAttr||$e.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||$e.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||$e.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||$e.safeAttrValue,e.escapeHtml=e.escapeHtml||$e.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new Qf(e.css))}Ti.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,u=t.options,n=u.whiteList,r=u.onTag,i=u.onIgnoreTag,o=u.onTagAttr,a=u.onIgnoreTagAttr,s=u.safeAttrValue,l=u.escapeHtml,c=t.attributeWrapSign,d=t.cssFilter;u.stripBlankChar&&(e=$e.stripBlankChar(e)),u.allowCommentTag||(e=$e.stripCommentTag(e));var p=!1;u.stripIgnoreTagBody&&(p=$e.StripTagBody(u.stripIgnoreTagBody,i),i=p.onIgnoreTag);var g=Jf(e,function(h,b,k,w,A){var C={sourcePosition:h,position:b,isClosing:A,isWhite:Object.prototype.hasOwnProperty.call(n,k)},E=r(k,w,C);if(!mu(E))return E;if(C.isWhite){if(C.isClosing)return"";var I=e1(w),$=n[k],S=Kf(I.html,function(v,N){var _=vu.indexOf($,v)!==-1,x=o(k,v,N,_);return mu(x)?_?(N=s(k,v,N,d),N?v+"="+c+N+c:v):(x=a(k,v,N,_),mu(x)?void 0:x):x});return w="<"+k,S&&(w+=" "+S),I.closing&&(w+=" /"),w+=">",w}else return E=i(k,w,C),mu(E)?l(w):E},l);return p&&(g=p.remove(g)),g};var n1=Ti;(function(e,t){var u=le,n=Pu,r=n1;function i(a,s){var l=new r(s);return l.process(a)}t=e.exports=i,t.filterXSS=i,t.FilterXSS=r,function(){for(var a in u)t[a]=u[a];for(var s in n)t[s]=n[s]}(),typeof window<"u"&&(window.filterXSS=e.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=e.exports)})(hn,hn.exports);var Vt=hn.exports;const r1=hf(Vt),i1=Gd({__proto__:null,default:r1},[Vt]),gr={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},o1=(e,t)=>{const{extendedWhiteList:u={},xss:n={}}=t;let r;if(typeof n=="function")r=new Vt.FilterXSS(n(i1));else{const i=Vt.getDefaultWhiteList();[...Object.keys(u),...Object.keys(gr)].forEach(a=>{const s=i[a]||[],l=gr[a]||[],c=u[a]||[];i[a]=[...new Set([...s,...l,...c])]}),r=new Vt.FilterXSS({whiteList:i,...n})}e.core.ruler.after("linkify","xss",i=>{for(let o=0;o{l.type==="html_inline"&&(l.content=r.process(l.content))});break}}}})},a1=o1,s1=e=>{e.core.ruler.push("init-line-number",t=>(t.tokens.forEach(u=>{u.map&&(u.attrs||(u.attrs=[]),u.attrs.push(["data-line",u.map[0].toString()]))}),!0))},l1=(e,t)=>{const{editorConfig:u,markdownItConfig:n,markdownItPlugins:r}=Je,i=ke("editorId"),o=ke("language"),a=ke("usedLanguageText"),s=ke("showCodeRowNumber"),l=ke("theme"),c=ke("customIcon"),d=H([]),p=Zd(e),g=Qd(e),{reRenderRef:h,replaceMermaid:b}=Yd(e),k=Le({html:!0,breaks:!0,linkify:!0});n(k,{editorId:i});const w=[{type:"image",plugin:Id,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:of,options:{}},{type:"taskList",plugin:Ud,options:{}},{type:"heading",plugin:sf,options:{mdHeadingId:e.mdHeadingId,headsRef:d}},{type:"code",plugin:ff,options:{editorId:i,usedLanguageTextRef:a,codeFoldable:e.codeFoldable,autoFoldThreshold:e.autoFoldThreshold,customIconRef:c}},{type:"xss",plugin:a1,options:{}}];e.noKatex||w.push({type:"katex",plugin:nf,options:{katexRef:g}}),e.noMermaid||w.push({type:"mermaid",plugin:Kd,options:{themeRef:l}}),r(w,{editorId:i}).forEach(v=>{k.use(v.plugin,v.options)});const A=k.options.highlight;k.set({highlight:(v,N,_)=>{if(A){const T=A(v,N,_);if(T)return T}let x;!e.noHighlight&&p.value?p.value.getLanguage(N)?x=p.value.highlight(v,{language:N,ignoreIllegals:!0}).value:x=p.value.highlightAuto(v).value:x=k.utils.escapeHtml(v);const D=s?Fl(x.replace(/^\n+|\n+$/g,"")):`${x.replace(/^\n+|\n+$/g,"")}`;return`
    ${D}
    `}}),s1(k);const C=H(`_article-key_${Ku()}`),E=H(e.sanitize(k.render(e.modelValue))),I=()=>{ht.emit(i,Al,E.value),e.onHtmlChanged(E.value),e.onGetCatalog(d.value),ht.emit(i,Uu,d.value),b()};Ce(I);const $=()=>{d.value=[],E.value=e.sanitize(k.render(e.modelValue)),I()},S=z(()=>(e.noKatex||g.value)&&(e.noHighlight||p.value));return we([kr(e,"modelValue"),S,h,o],Mr($,t?0:u.renderDelay)),we(()=>e.setting.preview,()=>{e.setting.preview&&Ot(()=>{ht.emit(i,Uu,d.value)})}),Ce(()=>{ht.on(i,{name:El,callback(){ht.emit(i,Uu,d.value)}}),ht.on(i,{name:Br,callback:()=>{C.value=`_article-key_${Ku()}`,$()}})}),{html:E,key:C}},c1=l1,Ii={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:e=>e},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:e=>e},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number}};({...Ii});const d1=he({name:"ContentPreview",props:Ii,setup(e){const t=ke("editorId"),u=ke("previewTheme"),n=ke("showCodeRowNumber"),{html:r,key:i}=c1(e,e.previewOnly);return Xd(e,r,i),Vd(e,r),()=>O(Ie,null,[e.setting.preview&&O("div",{id:`${t}-preview-wrapper`,class:`${q}-preview-wrapper`,key:"content-preview-wrapper"},[O("div",{key:i.value,id:`${t}-preview`,class:[`${q}-preview`,`${u==null?void 0:u.value}-theme`,n&&`${q}-scrn`],innerHTML:r.value},null)]),!e.previewOnly&&e.setting.htmlPreview&&O("div",{id:`${t}-html-wrapper`,class:`${q}-preview-wrapper`,key:"html-preview-wrapper"},[O("div",{class:`${q}-html`},[r.value])])])}}),f1=e=>{const{editorId:t}=e,u=Je.editorExtensions.highlight,n=Je.editorExtensionsAttrs.highlight;st("editorId",t),st("theme",z(()=>e.theme)),st("language",z(()=>e.language)),st("highlight",z(()=>{const{js:i}=u,o={...en,...u.css},{js:a,css:s={}}=n||{},l=e.codeStyleReverse&&e.codeStyleReverseList.includes(e.previewTheme)?"dark":e.theme,c=o[e.codeTheme]?o[e.codeTheme][l]:en.atom[l],d=o[e.codeTheme]&&s[e.codeTheme]?s[e.codeTheme][l]:s.atom?s.atom[l]:{};return{js:{src:i,...a},css:{href:c,...d}}})),st("showCodeRowNumber",e.showCodeRowNumber);const r=z(()=>{const i={...On,...Je.editorConfig.languageUserDefined};return Rr(Wt(On["en-US"]),i[e.language]||{})});st("usedLanguageText",r),st("previewTheme",z(()=>e.previewTheme)),st("customIcon",z(()=>e.customIcon))},h1=e=>{Ce(()=>{const{editorExtensions:t,editorExtensionsAttrs:u,iconfontType:n}=Je;e.noIconfont||(n==="svg"?at("script",{...u.iconfont,src:t.iconfont,id:`${q}-icon`}):at("link",{...u.iconfontClass,rel:"stylesheet",href:t.iconfontClass,id:`${q}-icon-class`}))})},p1=e=>e,zi={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:()=>Tl("md-editor-v3_")},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:p1},sanitize:{type:Function,default:e=>e},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:e=>e},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:e=>Promise.resolve(e)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30}};({...zi});const $i=["onHtmlChanged","onGetCatalog"];[...$i];const g1=(e,t)=>{const{editorId:u}=e,n={rerender(){ht.emit(u,Br)}};t.expose(n)},ku=he({name:"MdPreview",props:zi,emits:$i,setup(e,t){const{editorId:u,noKatex:n,noMermaid:r,noHighlight:i}=e;return f1(e),h1(e),g1(e,t),yn(()=>{ht.clear(u)}),()=>O("div",{id:u,class:[q,e.class,e.theme==="dark"&&`${q}-dark`,`${q}-previewOnly`],style:e.style},[O(d1,{modelValue:e.modelValue,onHtmlChanged:o=>{e.onHtmlChanged?e.onHtmlChanged(o):t.emit("onHtmlChanged",o)},onGetCatalog:o=>{e.onGetCatalog?e.onGetCatalog(o):t.emit("onGetCatalog",o)},mdHeadingId:e.mdHeadingId,noMermaid:r,sanitize:e.sanitize,noKatex:n,formatCopiedText:e.formatCopiedText,noHighlight:i,noImgZoomIn:e.noImgZoomIn,previewOnly:!0,sanitizeMermaid:e.sanitizeMermaid,codeFoldable:e.codeFoldable,autoFoldThreshold:e.autoFoldThreshold},null)])}});ku.install=e=>(e.component(ku.name,ku),e);const m1={key:0,class:"fixed inset-0 z-50 px-2 flex items-center justify-center bg-black bg-opacity-50"},b1={class:"bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] flex flex-col relative"},x1={class:"flex justify-between items-center mb-3"},y1={key:0,class:"w-1/3 bg-gray-300 dark:bg-gray-700 h-6 rounded"},_1={key:1,class:"text-xl"},v1={class:"flex-1 overflow-y-auto"},k1={key:0,class:"space-y-2"},w1={class:"flex justify-end mt-3"},C1="preview-only",A1=he({__name:"NoticeDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=H({noticeInfo:"",noticeTitle:""}),n=mn(),r=_t(),i=H(!0),o=z(()=>n.theme==="dark"),a=z(()=>u.value.noticeInfo?u.value.noticeInfo:"");function s(){r.updateNoticeDialog(!1)}async function l(){const p=await ll(),{success:g,data:h}=p;g&&(u.value=h)}async function c(){i.value=!0,await l(),i.value=!1}function d(){r.updateNoticeDialog(!1),Xt.set("showNotice",Date.now()+24*60*60*1e3)}return we(()=>t.visible,p=>{p&&c()}),(p,g)=>t.visible?(F(),R("div",m1,[m("div",b1,[O(y(Iu),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:s}),m("div",x1,[i.value?(F(),R("div",y1)):(F(),R("span",_1,M(u.value.noticeTitle),1))]),m("div",v1,[i.value?(F(),R("div",k1,[(F(),R(Ie,null,Ue(10,h=>m("div",{key:h,class:"bg-gray-300 dark:bg-gray-900 h-4 rounded"})),64))])):(F(),Q(y(ku),{key:1,editorId:C1,modelValue:a.value,theme:o.value?"dark":"light",class:"dark:bg-gray-900"},null,8,["modelValue","theme"]))]),m("div",w1,[m("button",{onClick:d,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500"},[m("span",null,M(y(L)("notice.doNotRemind24h")),1)])])])])):G("",!0)}}),mr=""+new URL("alipay-eab94eb8.png",import.meta.url).href,br=""+new URL("wxpay-2d8f84af.png",import.meta.url).href,E1={class:"p-4 bg-white rounded dark:bg-slate-800"},D1={class:"flex text-xl font-bold mb-[20px] bg-currentflex items-center"},S1={class:"ml-[8px]"},F1={class:"p-4"},T1={class:"whitespace-nowrap font-bold"},I1={class:"text-xl text-[red] font-bold"},z1={class:"mt-2 flex"},$1={class:"whitespace-nowrap font-bold"},L1={class:"ml-2"},M1={class:"mt-2 flex"},R1={class:"whitespace-nowrap font-bold"},B1={class:"ml-2"},P1={class:"flex items-center justify-center my-3 relative"},O1=["src"],N1=["src"],j1={class:"mb-10 mt-5 text-base"},H1=["src"],q1=["src"],U1={key:0,class:"flex items-center justify-center text-lg"},W1={class:"w-[60px] inline-block text-[red] text-left"},G1={class:"flex items-center"},V1=["src"],X1=1e3,Z1=he({__name:"PayDialog",props:{visible:{type:Boolean}},setup(e){const{isMobile:t}=Ke(),u=Me(),n=no(),r=et(),i=H(!0),o=H("wxpay"),a=z(()=>{var D;const x=window.navigator.userAgent.toLowerCase();return x.match(/MicroMessenger/i)&&((D=x==null?void 0:x.match(/MicroMessenger/i))==null?void 0:D[0])==="micromessenger"}),s=z(()=>{const{payHupiStatus:x,payEpayStatus:D,payMpayStatus:T,payWechatStatus:P,payLtzfStatus:U}=u.globalConfig;return Number(P)===1?"wechat":Number(D)===1?"epay":Number(T)===1?"mpay":Number(x)===1?"hupi":Number(U)===1?"ltzf":null}),l=z(()=>{const{payEpayChannel:x,payMpayChannel:D}=u.globalConfig;return s.value==="mpay"?D?JSON.parse(D):[]:s.value==="epay"?x?JSON.parse(x):[]:s.value==="wechat"?["wxpay"]:s.value==="hupi"?["wxpay"]:s.value==="ltzf"?["wxpay"]:[]}),c=z(()=>o.value==="wxpay"?L("pay.wechat"):L("pay.alipay")),d=H(),p=z(()=>{const{payEpayApiPayUrl:x}=u.globalConfig;return s.value==="epay"&&x.includes("submit")||s.value==="mpay"});we(o,()=>{var x;S(),(x=d.value)==null||x.reset()});const g=H("");let h;const b=z(()=>[{label:L("pay.wechatPay"),value:"wxpay",icon:br,payChannel:"wxpay"},{label:L("pay.alipayPay"),value:"alipay",icon:mr,payChannel:"alipay"}].filter(x=>l.value.includes(x.payChannel))),k=async()=>{if(!g.value)return;const x=await Ro({orderId:g.value}),{success:D,data:T}=x;if(D){const{status:P}=T;P===1&&(clearInterval(h),r.success(L("pay.paymentSuccess")),i.value=!1,u.getUserInfo(),setTimeout(()=>{n.updatePayDialog(!1)},2e3))}},w=z(()=>n==null?void 0:n.orderInfo),A=H(""),C=H(!0),E=H(!0),I=H("");function $(){n.updateOrderInfo({}),clearInterval(h)}async function S(){!p.value&&(C.value=!0),p.value&&(E.value=!0);let x=null;x=o.value,s.value==="wechat"&&(x=a.value?"jsapi":"native");try{const D=await zr({goodsId:w.value.pkgInfo.id,payType:x}),{data:T,success:P,message:U}=D;if(!P)return r.error(U);const{url_qrcode:j,orderId:ue,redirectUrl:ae}=T;I.value=ae,g.value=ue,A.value=j,C.value=!1,E.value=!1}catch{n.updatePayDialog(!1),C.value=!1,E.value=!1}}function v(){window.open(I.value)}async function N(){await S(),h=setInterval(()=>{k()},X1)}function _(){r.error(L("pay.paymentTimeout")),clearInterval(h),n.updatePayDialog(!1)}return(x,D)=>(F(),Q(y(Ar),{show:x.visible,style:{width:"100%","max-width":"750px"},"on-after-enter":N,"on-after-leave":$},{default:Z(()=>{var T,P,U;return[m("div",E1,[m("div",{class:"flex justify-between",onClick:D[0]||(D[0]=j=>y(n).updatePayDialog(!1))},[m("div",D1,[O(y(Zt),{size:"25",color:"#0e7a0d"},{default:Z(()=>[O(y(Lr))]),_:1}),m("span",S1,M(y(L)("pay.productPayment")),1)]),O(y(Zt),{size:"20",color:"#0e7a0d",class:"cursor-pointer"},{default:Z(()=>[O(y(Ir))]),_:1})]),m("div",F1,[m("div",null,[m("span",T1,M(y(L)("pay.amountDue")),1),m("i",I1,M(`¥${(T=w.value.pkgInfo)==null?void 0:T.price}`),1)]),m("div",z1,[m("span",$1,M(y(L)("pay.packageName")),1),m("span",L1,M((P=w.value.pkgInfo)==null?void 0:P.name),1)]),m("div",M1,[m("span",R1,M(y(L)("pay.packageDescription")),1),m("span",B1,M((U=w.value.pkgInfo)==null?void 0:U.des),1)]),m("div",{class:Y(["flex justify-center",[y(t)?"flex-col":"flex-row",p.value?"flex-row-reverse":""]])},[m("div",null,[m("div",P1,[C.value&&!p.value?(F(),Q(y(zu),{key:0,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})):G("",!0),C.value?(F(),Q(y(_n),{key:1,width:240,height:240,sharp:!1,size:"medium"})):G("",!0),s.value==="epay"&&!C.value&&!E.value&&!p.value?(F(),Q(Rn,{key:2,value:A.value,size:240},null,8,["value"])):G("",!0),o.value==="wxpay"&&!C.value&&!p.value?(F(),R("img",{key:3,src:y(br),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,O1)):G("",!0),o.value==="alipay"&&!C.value&&!p.value?(F(),R("img",{key:4,src:y(mr),class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-10 bg-[#fff]"},null,8,N1)):G("",!0),s.value==="wechat"&&!C.value?(F(),Q(Rn,{key:5,value:A.value,size:240},null,8,["value"])):G("",!0),p.value?(F(),R("div",{key:6,class:Y(["flex flex-col",[p.value&&y(t)?"ml-0":"ml-20"]])},[m("span",j1,M(y(L)("pay.siteAdminEnabledRedirect")),1),p.value?(F(),Q(y(Fr),{key:0,type:"primary",ghost:"",disabled:E.value,loading:E.value,onClick:v},{default:Z(()=>[K(M(y(L)("pay.clickToPay")),1)]),_:1},8,["disabled","loading"])):G("",!0)],2)):G("",!0),s.value==="hupi"&&!E.value?(F(),R("iframe",{key:7,class:"w-[280px] h-[280px] scale-90",src:A.value,frameborder:"0"},null,8,H1)):G("",!0),s.value==="ltzf"&&!E.value?(F(),R("img",{key:8,src:A.value,class:"w-[280px] h-[280px] scale-90",alt:"QRCode"},null,8,q1)):G("",!0)]),p.value?G("",!0):(F(),R("span",U1,M(y(L)("pay.open"))+" "+M(c.value)+" "+M(y(L)("pay.scanToPay")),1))]),m("div",{class:Y(["flex flex-col",[y(t)?"w-full ":" ml-10 w-[200] "]])},[m("div",{style:{"white-space":"nowrap"},class:Y(["mt-6 w-full text-center font-bold text-sm",[y(t)?"mb-2":"mb-10"]])},[K(M(y(L)("pay.completePaymentWithin"))+" ",1),m("span",W1,[O(y(Er),{ref_key:"countdownRef",ref:d,active:i.value,duration:300*1e3,"on-finish":_},null,8,["active"])]),K(" "+M(y(L)("pay.timeToCompletePayment")),1)],2),O(y(zo),{value:o.value,"onUpdate:value":D[1]||(D[1]=j=>o.value=j),name:"radiogroup",class:"flex"},{default:Z(()=>[O(y(To),{vertical:!y(t),justify:"center",size:y(t)?10:35,class:"w-full"},{default:Z(()=>[(F(!0),R(Ie,null,Ue(b.value,j=>(F(),Q(y(Io),{key:j.value,value:j.value},{default:Z(()=>[m("div",G1,[m("img",{class:"h-4 object-contain mr-2",src:j.icon,alt:""},null,8,V1),K(" "+M(j.label),1)])]),_:2},1032,["value"]))),128))]),_:1},8,["vertical","size"])]),_:1},8,["value"])],2)],2)])])]}),_:1},8,["show"]))}});function Y1(){return ro({url:"/signin/sign"})}function Q1(){return _r({url:"/signin/signinLog"})}const In=e=>(fo("data-v-8f584477"),e=e(),ho(),e),J1={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},K1={class:"bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg w-full max-w-xl max-h-[80vh] overflow-y-auto"},eh={class:"flex justify-between items-center mb-4"},th={class:"text-base"},uh={class:"text-[red]"},nh=In(()=>m("span",{class:"sr-only"},"Close",-1)),rh=In(()=>m("svg",{class:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[m("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)),ih=[nh,rh],oh={class:"bg-gray-50 mb-5 p-2 rounded-md border border-gray-200 dark:border-gray-700 dark:bg-gray-700"},ah={key:0},sh={class:"mx-2 text-primary-500"},lh={key:1},ch={class:"mx-2 text-primary-500"},dh={key:2},fh={class:"mx-2 text-primary-500"},hh=In(()=>m("div",{class:"mt-10 grid grid-cols-7 text-center text-xs leading-6 text-gray-500 dark:text-gray-400"},[m("div",null,"日"),m("div",null,"一"),m("div",null,"二"),m("div",null,"三"),m("div",null,"四"),m("div",null,"五"),m("div",null,"六")],-1)),ph={class:"mt-2 grid grid-cols-7 text-sm"},gh=["datetime"],mh={class:"flex mt-3 w-full"},bh=["disabled"],xh=he({__name:"SignInDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=Me(),n=_t(),r=H(!1);Ke();const i=H([]),o=et(),a=H(!1),s=new Date().toISOString().split("T")[0],l=z(()=>i.value.map(_=>{var x;return{..._,day:(x=_.signInDate.split("-").pop())==null?void 0:x.replace(/^0/,""),isToday:_.signInDate===s}})),c=z(()=>u.globalConfig.model3Name||L("pay.baseModelQuota")),d=z(()=>u.globalConfig.model4Name)||L("pay.advancedModelQuota"),p=z(()=>u.globalConfig.drawMjName)||L("pay.MJDrawingQuota"),g=z(()=>Number(u.globalConfig.isHideModel3Point)===1),h=z(()=>Number(u.globalConfig.isHideModel4Point)===1),b=z(()=>Number(u.globalConfig.isHideDrawMjPoint)===1);function k(){n.updateSignInDialog(!1)}const w=z(()=>u.userInfo.consecutiveDays),A=z(()=>{var _;return Number((_=u.globalConfig)==null?void 0:_.signInModel3Count)||0}),C=z(()=>{var _;return Number((_=u.globalConfig)==null?void 0:_.signInModel4Count)||0}),E=z(()=>{var _;return Number((_=u.globalConfig)==null?void 0:_.signInMjDrawToken)||0}),I=z(()=>i.value.some(_=>_.signInDate===s&&_.isSigned));async function $(){try{r.value=!0;const _=await Q1();console.log("fetchSignLogAPI response:",_),_.success&&(i.value=_.data||[],console.log("signInData:",i.value)),r.value=!1}catch(_){r.value=!1,console.error("Error fetching sign-in log:",_)}}async function S(){try{a.value=!0;const _=await Y1();console.log("fetchSignInAPI response:",_),_.success&&(o.success("签到成功!"),await $(),u.getUserInfo()),a.value=!1}catch(_){a.value=!1,console.error("Error during sign-in:",_)}}async function v(){r.value=!0,await $(),r.value=!1}we(()=>t.visible,_=>{_&&v()});function N(_,x){return new Date(_,x,1).getDay()}return(_,x)=>(F(),Q(Tu,{name:"modal-fade"},{default:Z(()=>[t.visible?(F(),R("div",J1,[m("div",K1,[m("div",eh,[m("span",th,[K(" 签到奖励 "),m("span",null,[K("(已连续签到"),m("b",uh,M(w.value),1),K("天)")])]),m("button",{onClick:k,class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"},ih)]),m("div",oh,[K(" 每日签到赠送: "),A.value>0&&!g.value?(F(),R("span",ah,[m("b",sh,M(A.value),1),K(M(c.value),1)])):G("",!0),C.value>0&&!h.value?(F(),R("span",lh,[m("b",ch,M(C.value),1),K(M(y(d)),1)])):G("",!0),E.value>0&&!b.value?(F(),R("span",dh,[m("b",fh,M(E.value),1),K(M(y(p)),1)])):G("",!0)]),O(y(zu),{show:r.value},{default:Z(()=>[hh,m("div",ph,[(F(!0),R(Ie,null,Ue(N(new Date().getFullYear(),new Date().getMonth()),D=>(F(),R("div",{key:"empty-"+D,class:"py-2"}))),128)),(F(!0),R(Ie,null,Ue(l.value,D=>(F(),R("div",{key:D.signInDate,class:"py-2"},[m("button",{type:"button",class:Y([D.isToday?"bg-primary-600 text-white":D.isSigned?"text-primary-600":"text-gray-900 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700 mx-auto flex h-8 w-8 items-center justify-center rounded-full"])},[m("time",{datetime:D.signInDate},M(D.day),9,gh)],2)]))),128))])]),_:1},8,["show"]),m("div",mh,[m("button",{class:Y(["w-full py-2 px-4 rounded text-white",I.value?"bg-gray-400 cursor-not-allowed":"bg-primary-600"]),disabled:I.value,onClick:S}," 签到 ",10,bh)])])])):G("",!0)]),_:1}))}});const yh=$u(xh,[["__scopeId","data-v-8f584477"]]),_h={class:"bg-white dark:bg-[#25272c]"},vh=["onClick"],kh={class:"inline-block text-xl"},wh={class:"text-xs"},Ch=he({__name:"index",setup(e){const t=H([]),u=et();async function n(){const g=await gn({menuPlatform:0});g.success&&(t.value=g.data)}const r=_t(),i=bn(),o=xn(),a=z(()=>o.path),s=Me(),l=z(()=>r.iframeUrl),c=z(()=>s.isLogin);function d(g,h){g.stopPropagation();const{menuPath:b,isJump:k,menuIframeUrl:w,isNeedAuth:A}=h;if(A&&!c.value){u.warning("请先登录后访问!"),s.setLoginDialog(!0);return}if(r.updateIframeUrl(""),b)return i.replace({path:b});k?window.open(w):(r.updateIframeUrl(w),i.replace({path:"/extend"}))}function p(g){const{menuIframeUrl:h,menuPath:b}=g;if(h)return h===l.value;if(b)return b===a.value}return po(()=>{n()}),(g,h)=>(F(),R("footer",_h,[m("div",{class:"grid border-t py-1 dark:border-t-neutral-800 grid-cols-2",style:Ge({gridTemplateColumns:`repeat(${t.value.length}, minmax(0, 1fr))`})},[(F(!0),R(Ie,null,Ue(t.value,b=>(F(),R("a",{key:b.id,class:Y([[p(b)?"text-[#3076fd] dark:text-[#3076fd]":""],"cursor-pointer text-center leading-4"]),onClick:k=>d(k,b)},[m("span",kh,[O(y($r),{icon:b.menuIcon,class:"mb-1 inline-block text-lg"},null,8,["icon"])]),m("p",wh,M(b.menuTipText),1)],10,vh))),128))],4)]))}}),Ah=""+new URL("../favicon.ico",import.meta.url).href,Eh=["src"],Dh=he({__name:"Logo",setup(e){const t=Me(),u=z(()=>t.globalConfig.clientLogoPath),n=z(()=>t.globalConfig.clientHomePath||"/"),{isMobile:r}=Ke(),i=z(()=>r.value?["py-2","w-8","ml-3"]:["py-4","px-2","w-full"]);return(o,a)=>(F(),Q(y(io),{to:n.value},{default:Z(()=>[u.value?G("",!0):(F(),R("img",{key:0,src:Ah,class:Y([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,2)),u.value?(F(),R("img",{key:1,src:u.value,class:Y([i.value,"cursor-pointer px-0 dark:border-[#ffffff17] border-#ebebeb-400"]),alt:""},null,10,Eh)):G("",!0)]),_:1},8,["to"]))}}),Sh={class:"px-2 w-full"},Fh={class:"flex h-full flex-col items-center space-y-3"},Th=["onClick"],Ih={class:"flex flex-col justify-between items-center"},zh={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},$h=["src"],Lh={class:"py-1"},Mh=he({__name:"index",setup(e){const t=go(()=>vr(()=>import("./index-2e737858.js"),["./index-2e737858.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./index-a70ad6b3.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-429097f0.css","./useBasicLayout-8e07f8d7.js"],import.meta.url)),{t:u,locale:n}=oo(),r=mn(),i=Me(),o=ao(),a=_t();et();const s=H(null);r.setEnv(),z(()=>i.userBalance);const l=Sr(),c=z(()=>i.userInfo.avatar),d=xn(),p=bn(),g=H(!1),h=z(()=>i.isLogin),b=z(()=>r.theme==="dark");z(()=>r.env);const k=Nt(ba);Nt(wa),z(()=>n.value==="zh-CN"?"mynaui:gift":"another-icon-for-english");async function w(){const ne=await gn({menuPlatform:1});ne.success&&(A.value=ne.data,Ot(()=>{j()}))}const A=H([]),C=H(!1);Ce(()=>{w()});const E=z(()=>{var ne;return Number((ne=i.globalConfig)==null?void 0:ne.signInStatus)===1});function I(){h.value?i.logOut():i.setLoginDialog(!0)}function $(){const ne=b.value?"light":"dark";r.setTheme(ne)}const{isMobile:S}=Ke(),v=z(()=>d.path);async function N(){l.warning({title:u("chat.clearConversation"),content:u("chat.clearAllNonFavoriteConversations"),positiveText:u("common.confirm"),negativeText:u("common.cancel"),onPositiveClick:async()=>{await o.delAllGroup()}})}const _=z(()=>S.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{}),x=z(()=>S.value?["flex-rol","w-full","border-0"]:["flex-col","w-sider","h-full","border-r"]),D=z(()=>S.value?["flex","flex-rol","items-center","pt-0","w-full"]:["flex","flex-col","pt-1","items-center"]),T=z(()=>a.iframeUrl);function P(ne){const{menuPath:ce,isJump:J,menuIframeUrl:nt,isNeedAuth:vt}=ne;if(vt&&!h.value){i.setLoginDialog(!0);return}if(a.updateIframeUrl(""),ce)return p.replace({path:ce});J?window.open(nt):(a.updateIframeUrl(nt),p.replace({path:"/extend"}))}function U(){if(!h.value){i.setLoginDialog(!0);return}a.updateSignInDialog(!0)}function j(){if(!s.value)return;const{clientHeight:ne=0,scrollHeight:ce=0}=s.value;C.value=ce>ne}async function ue(){await ae(),p.replace({path:"user-center"})}async function ae(){return new Promise(ne=>{setTimeout(()=>{i.isLogin||p.replace({path:"login"}),ne()},100)})}function xe(ne){const{menuIframeUrl:ce,menuPath:J}=ne;if(ce)return ce===T.value;if(J)return J===v.value}function Ee(){i.logOut(),p.replace("/")}return we(S,ne=>{r.setSiderCollapsed(ne)},{immediate:!0,flush:"post"}),(ne,ce)=>(F(),R(Ie,null,[m("div",{class:Y(["flex min-w-sm bg-opacity pb-2 dark:bg-gray-900 border-gray-100 dark:border-gray-800 select-none",x.value]),style:Ge(_.value)},[m("div",Sh,[O(Dh)]),m("main",{ref_key:"track",ref:s,class:Y(["flex-1 flex-grow-1 mb-5 overflow-auto",D.value])},[O(y($o),{size:1},{default:Z(()=>[m("div",Fh,[(F(!0),R(Ie,null,Ue(A.value,J=>(F(),R("div",{key:J.menuName,class:Y(["flex justify-center flex-col items-center",y(S)?"mt-0":"mt-3"]),onClick:nt=>P(J)},[O(y(Cr),{trigger:"hover",placement:"right"},{trigger:Z(()=>[m("div",{class:Y(["relative flex items-center justify-center h-10 w-10 rounded-md cursor-pointer duration-300",[xe(J)?["bg-white","text-primary-600","dark:bg-gray-750","dark:text-gray-100"]:["bg-opacity","dark:bg-gray-900","dark:text-gray-400"],"hover:bg-white","hover:text-primary-600","dark:hover:bg-gray-750","dark:hover:text-white"]])},[O(y($r),{icon:J.menuIcon,class:"text-2xl"},null,8,["icon"])],2)]),default:Z(()=>[K(" "+M(J.menuTipText),1)]),_:2},1024)],10,Th))),128))])]),_:1})],2),m("div",Ih,[h.value?(F(),Q(y(So),{key:0,as:"div",class:"relative inline-block text-left"},{default:Z(()=>[m("div",null,[O(y(_o),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md text-sm font-semibold"},{default:Z(()=>[m("div",zh,[c.value?(F(),R("img",{key:0,src:c.value,class:"w-full h-full object-cover"},null,8,$h)):G("",!0),c.value?G("",!0):(F(),Q(y(Mn),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),O(Tu,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:Z(()=>[O(y(vo),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 z-50"},{default:Z(()=>[m("div",Lh,[O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([[J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:N},[O(y(ko),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.clear")),1)],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[0]||(ce[0]=nt=>y(a).updateNoticeDialog(!0))},[O(y(wo),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.announcement")),1)],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[1]||(ce[1]=nt=>y(a).updateGoodsDialog(!0))},[O(y(Co),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.pointsMall")),1)],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:$},[O(y(Ao),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.toggleTheme")),1)],2)]),_:1}),E.value?(F(),Q(y(kt),{key:0},{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:U},[O(y(Eo),{theme:"outline",size:"16",class:"mr-2"}),K(" "+M(y(u)("chat.signInReward")),1)],2)]),_:1})):G("",!0),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[2]||(ce[2]=nt=>ue())},[O(y(Mn),{theme:"outline",size:"16",class:"mr-2"}),K(" 个人中心 ")],2)]),_:1}),O(y(kt),null,{default:Z(({active:J})=>[m("a",{href:"#",class:Y([J?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ce[3]||(ce[3]=nt=>Ee())},[O(y(Do),{theme:"outline",size:"16",class:"mr-2"}),K(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):G("",!0),h.value?G("",!0):(F(),Q(y(Oo),{key:1,label:y(u)("siderBar.loginAccount"),placement:y(S)?"bottom":"right",class:Y(y(S)?"mb-0":"mb-5"),onClick:I},{default:Z(()=>[O(y(Zt),{size:"20",color:"#555"},{default:Z(()=>[(F(),Q(wr(k.value)))]),_:1})]),_:1},8,["label","placement","class"]))])],6),g.value?(F(),Q(y(t),{key:0,visible:g.value,"onUpdate:visible":ce[4]||(ce[4]=J=>g.value=J)},null,8,["visible"])):G("",!0)],64))}});const Rh={class:"h-full dark:bg-gray-900 transition-all p-0"},Bh={class:"h-full overflow-hidden"},tp=he({__name:"index",setup(e){const t=Me(),u=xn(),n=bn(),r=_t(),i=mn(),o=et(),a=z(()=>r.payDialog),s=z(()=>r.goodsDialog),l=z(()=>r.noticeDialog),c=z(()=>r.bindWxDialog),d=z(()=>r.signInDialog),p=z(()=>r.appDialog),g=z(()=>{var S;return Number((S=t.globalConfig)==null?void 0:S.isHideSidebar)===1}),{isMobile:h}=Ke(),b=z(()=>t.loginDialog);z(()=>i.theme);const k=z(()=>t.isLogin),w=z(()=>{var S;return Number((S=t.globalConfig)==null?void 0:S.wechatSilentLoginStatus)===1});function A(){const{token:S}=u.query;if(S){t.setToken(S);const v=u.name;n.replace({name:v,query:{}}),o.success("账户登录成功、开始体验吧!"),t.getUserInfo()}}async function C(){if(u.path==="/home"||!w.value||k.value)return;const v=new URLSearchParams(window.location.search).getAll("code"),N=v.length>0?v[v.length-1]:null;if(N){const _=await so({code:N});_.success&&(t.setToken(_.data),t.getUserInfo(),t.setLoginDialog(!1),n.replace("/chat"))}else{const _=window.location.href.split("#")[0],x=await lo({url:_});x.success&&(window.location.href=x.data)}}function E(){var v;const S=window.navigator.userAgent.toLowerCase();S.match(/MicroMessenger/i)&&((v=S==null?void 0:S.match(/MicroMessenger/i))==null?void 0:v[0])==="micromessenger"&&C()}Ce(()=>{E(),A()});const I=z(()=>h.value?["rounded-none","shadow-none"]:["dark:border-neutral-800"]),$=z(()=>h.value?["flex-col"]:["dark:border-neutral-800"]);return(S,v)=>{const N=mo("RouterView");return F(),R("div",Rh,[m("div",Bh,[m("div",{class:Y(["z-40 transition flex h-full relative",$.value])},[!y(h)&&!g.value&&y(u).path!=="/home"?(F(),Q(Mh,{key:0})):G("",!0),O(y(Lo),{class:Y(["h-full",I.value]),style:{flex:"1"}},{default:Z(()=>[O(N,null,{default:Z(({Component:_,route:x})=>[(F(),Q(wr(_),{key:x.fullPath}))]),_:1})]),_:1},8,["class"]),y(h)&&!g.value?(F(),Q(Ch,{key:1})):G("",!0)],2),O(sl,{visible:b.value},null,8,["visible"]),O(Z1,{visible:a.value},null,8,["visible"]),O(es,{visible:s.value},null,8,["visible"]),O(A1,{visible:l.value},null,8,["visible"]),O(Ia,{visible:c.value},null,8,["visible"]),O(yh,{visible:d.value},null,8,["visible"]),O(oa,{visible:p.value},null,8,["visible"])])])}}});export{tp as default}; diff --git a/public/assets/index-b71062e6.js b/public/chat/assets/index-97198a55.js similarity index 99% rename from public/assets/index-b71062e6.js rename to public/chat/assets/index-97198a55.js index 335c517..07cee94 100644 --- a/public/assets/index-b71062e6.js +++ b/public/chat/assets/index-97198a55.js @@ -1,4 +1,4 @@ -import{h as m0}from"./naive-ui-fedd20b1.js";var Qu={exports:{}},Ll;function ks(){return Ll||(Ll=1,function(n,a){(function(d,x){n.exports=x()})(typeof self<"u"?self:m0,function(){return function(){var s={};(function(){s.d=function(m,r){for(var t in r)s.o(r,t)&&!s.o(m,t)&&Object.defineProperty(m,t,{enumerable:!0,get:r[t]})}})(),function(){s.o=function(m,r){return Object.prototype.hasOwnProperty.call(m,r)}}();var d={};s.d(d,{default:function(){return Yu}});var x=function m(r,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var i="KaTeX parse error: "+r,l,c,v=t&&t.loc;if(v&&v.start<=v.end){var A=v.lexer.input;l=v.start,c=v.end,l===A.length?i+=" at end of input: ":i+=" at position "+(l+1)+": ";var D=A.slice(l,c).replace(/[^]/g,"$&̲"),M;l>15?M="…"+A.slice(l-15,l):M=A.slice(0,l);var N;c+15":">","<":"<",'"':""","'":"'"},V=/[&><"']/g;function W(m){return String(m).replace(V,function(r){return q[r]})}var j=function m(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?m(r.body[0]):r:r.type==="font"?m(r.body):r},ke=function(r){var t=j(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},ve=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},De=function(r){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return t!=null?t[1]:"_relative"},Z={contains:C,deflt:B,escape:W,hyphenate:I,getBaseElem:j,isCharacterBox:ke,protocolFromUrl:De},be={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(r){return"#"+r}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(r,t){return t.push(r),t}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(r){return Math.max(0,r)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(r){return Math.max(0,r)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(r){return Math.max(0,r)},cli:"-e, --max-expand ",cliProcessor:function(r){return r==="Infinity"?1/0:parseInt(r)}},globalGroup:{type:"boolean",cli:!1}};function qe(m){if(m.default)return m.default;var r=m.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Ve=function(){function m(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var i in be)if(be.hasOwnProperty(i)){var l=be[i];this[i]=t[i]!==void 0?l.processor?l.processor(t[i]):t[i]:qe(l)}}var r=m.prototype;return r.reportNonstrict=function(i,l,c){var v=this.strict;if(typeof v=="function"&&(v=v(i,l,c)),!(!v||v==="ignore")){if(v===!0||v==="error")throw new b("LaTeX-incompatible input and strict mode is set to 'error': "+(l+" ["+i+"]"),c);v==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]"))}},r.useStrictBehavior=function(i,l,c){var v=this.strict;if(typeof v=="function")try{v=v(i,l,c)}catch{v="error"}return!v||v==="ignore"?!1:v===!0||v==="error"?!0:v==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]")),!1)},r.isTrusted=function(i){i.url&&!i.protocol&&(i.protocol=Z.protocolFromUrl(i.url));var l=typeof this.trust=="function"?this.trust(i):this.trust;return!!l},m}(),Oe=function(){function m(t,i,l){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=i,this.cramped=l}var r=m.prototype;return r.sup=function(){return P[ce[this.id]]},r.sub=function(){return P[re[this.id]]},r.fracNum=function(){return P[we[this.id]]},r.fracDen=function(){return P[Se[this.id]]},r.cramp=function(){return P[_e[this.id]]},r.text=function(){return P[Ee[this.id]]},r.isTight=function(){return this.size>=2},m}(),ir=0,ar=1,ur=2,or=3,Br=4,sr=5,Rr=6,G=7,P=[new Oe(ir,0,!1),new Oe(ar,0,!0),new Oe(ur,1,!1),new Oe(or,1,!0),new Oe(Br,2,!1),new Oe(sr,2,!0),new Oe(Rr,3,!1),new Oe(G,3,!0)],ce=[Br,sr,Br,sr,Rr,G,Rr,G],re=[sr,sr,sr,sr,G,G,G,G],we=[ur,or,Br,sr,Rr,G,Rr,G],Se=[or,or,sr,sr,G,G,G,G],_e=[ar,ar,or,or,sr,sr,G,G],Ee=[ir,ar,ur,or,ur,or,ur,or],ue={DISPLAY:P[ir],TEXT:P[ur],SCRIPT:P[Br],SCRIPTSCRIPT:P[Rr]},Le=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Mr(m){for(var r=0;r=l[0]&&m<=l[1])return t.name}return null}var Ge=[];Le.forEach(function(m){return m.blocks.forEach(function(r){return Ge.push.apply(Ge,r)})});function mr(m){for(var r=0;r=Ge[r]&&m<=Ge[r+1])return!0;return!1}var We=80,wr=function(r,t){return"M95,"+(622+r+t)+` +import{h as m0}from"./naive-ui-074da7ca.js";var Qu={exports:{}},Ll;function ks(){return Ll||(Ll=1,function(n,a){(function(d,x){n.exports=x()})(typeof self<"u"?self:m0,function(){return function(){var s={};(function(){s.d=function(m,r){for(var t in r)s.o(r,t)&&!s.o(m,t)&&Object.defineProperty(m,t,{enumerable:!0,get:r[t]})}})(),function(){s.o=function(m,r){return Object.prototype.hasOwnProperty.call(m,r)}}();var d={};s.d(d,{default:function(){return Yu}});var x=function m(r,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var i="KaTeX parse error: "+r,l,c,v=t&&t.loc;if(v&&v.start<=v.end){var A=v.lexer.input;l=v.start,c=v.end,l===A.length?i+=" at end of input: ":i+=" at position "+(l+1)+": ";var D=A.slice(l,c).replace(/[^]/g,"$&̲"),M;l>15?M="…"+A.slice(l-15,l):M=A.slice(0,l);var N;c+15":">","<":"<",'"':""","'":"'"},V=/[&><"']/g;function W(m){return String(m).replace(V,function(r){return q[r]})}var j=function m(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?m(r.body[0]):r:r.type==="font"?m(r.body):r},ke=function(r){var t=j(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},ve=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},De=function(r){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return t!=null?t[1]:"_relative"},Z={contains:C,deflt:B,escape:W,hyphenate:I,getBaseElem:j,isCharacterBox:ke,protocolFromUrl:De},be={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(r){return"#"+r}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(r,t){return t.push(r),t}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(r){return Math.max(0,r)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(r){return Math.max(0,r)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(r){return Math.max(0,r)},cli:"-e, --max-expand ",cliProcessor:function(r){return r==="Infinity"?1/0:parseInt(r)}},globalGroup:{type:"boolean",cli:!1}};function qe(m){if(m.default)return m.default;var r=m.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Ve=function(){function m(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var i in be)if(be.hasOwnProperty(i)){var l=be[i];this[i]=t[i]!==void 0?l.processor?l.processor(t[i]):t[i]:qe(l)}}var r=m.prototype;return r.reportNonstrict=function(i,l,c){var v=this.strict;if(typeof v=="function"&&(v=v(i,l,c)),!(!v||v==="ignore")){if(v===!0||v==="error")throw new b("LaTeX-incompatible input and strict mode is set to 'error': "+(l+" ["+i+"]"),c);v==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]"))}},r.useStrictBehavior=function(i,l,c){var v=this.strict;if(typeof v=="function")try{v=v(i,l,c)}catch{v="error"}return!v||v==="ignore"?!1:v===!0||v==="error"?!0:v==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]")),!1)},r.isTrusted=function(i){i.url&&!i.protocol&&(i.protocol=Z.protocolFromUrl(i.url));var l=typeof this.trust=="function"?this.trust(i):this.trust;return!!l},m}(),Oe=function(){function m(t,i,l){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=i,this.cramped=l}var r=m.prototype;return r.sup=function(){return P[ce[this.id]]},r.sub=function(){return P[re[this.id]]},r.fracNum=function(){return P[we[this.id]]},r.fracDen=function(){return P[Se[this.id]]},r.cramp=function(){return P[_e[this.id]]},r.text=function(){return P[Ee[this.id]]},r.isTight=function(){return this.size>=2},m}(),ir=0,ar=1,ur=2,or=3,Br=4,sr=5,Rr=6,G=7,P=[new Oe(ir,0,!1),new Oe(ar,0,!0),new Oe(ur,1,!1),new Oe(or,1,!0),new Oe(Br,2,!1),new Oe(sr,2,!0),new Oe(Rr,3,!1),new Oe(G,3,!0)],ce=[Br,sr,Br,sr,Rr,G,Rr,G],re=[sr,sr,sr,sr,G,G,G,G],we=[ur,or,Br,sr,Rr,G,Rr,G],Se=[or,or,sr,sr,G,G,G,G],_e=[ar,ar,or,or,sr,sr,G,G],Ee=[ir,ar,ur,or,ur,or,ur,or],ue={DISPLAY:P[ir],TEXT:P[ur],SCRIPT:P[Br],SCRIPTSCRIPT:P[Rr]},Le=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Mr(m){for(var r=0;r=l[0]&&m<=l[1])return t.name}return null}var Ge=[];Le.forEach(function(m){return m.blocks.forEach(function(r){return Ge.push.apply(Ge,r)})});function mr(m){for(var r=0;r=Ge[r]&&m<=Ge[r+1])return!0;return!1}var We=80,wr=function(r,t){return"M95,"+(622+r+t)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 diff --git a/public/assets/index-8add68fd.js b/public/chat/assets/index-a1604546.js similarity index 83% rename from public/assets/index-8add68fd.js rename to public/chat/assets/index-a1604546.js index 860f766..b08b154 100644 --- a/public/assets/index-8add68fd.js +++ b/public/chat/assets/index-a1604546.js @@ -1,5 +1,5 @@ -import{u as he}from"./useBasicLayout-a4f17bae.js";import{a as pe,u as ge,t as _,Z as ve}from"./index-d64a7cc4.js";import{i as ye,e as we,K as ce,z,Z as xe}from"./naive-ui-fedd20b1.js";import{b as be,M as Pe,F as le,t as Ae}from"./index-b71062e6.js";import{d as Ee,r as X,f as fe,Q as Te,U as Y,a3 as b,M as h,a4 as I,a5 as de,X as M,W as O,S as ee,c as W}from"./vue-10b4afc0.js";import"./vueuse-motion-d4cdaf7b.js";var me={exports:{}};(function(ue){(function(te){var c=Z(),B=Q(),$=g(),q=v(),J={imagePlaceholder:void 0,cacheBust:!1},p={toSvg:j,toPng:N,toJpeg:C,toBlob:ne,toPixelData:F,impl:{fontFaces:$,images:q,util:c,inliner:B,options:{}}};ue.exports=p;function j(t,e){return e=e||{},G(e),Promise.resolve(t).then(function(o){return K(o,e.filter,!0)}).then(re).then(ae).then(a).then(function(o){return oe(o,e.width||c.width(t),e.height||c.height(t))});function a(o){return e.bgcolor&&(o.style.backgroundColor=e.bgcolor),e.width&&(o.style.width=e.width+"px"),e.height&&(o.style.height=e.height+"px"),e.style&&Object.keys(e.style).forEach(function(u){o.style[u]=e.style[u]}),o}}function F(t,e){return V(t,e||{}).then(function(a){return a.getContext("2d").getImageData(0,0,c.width(t),c.height(t)).data})}function N(t,e){return V(t,e||{}).then(function(a){return a.toDataURL()})}function C(t,e){return e=e||{},V(t,e).then(function(a){return a.toDataURL("image/jpeg",e.quality||1)})}function ne(t,e){return V(t,e||{}).then(c.canvasToBlob)}function G(t){typeof t.imagePlaceholder>"u"?p.impl.options.imagePlaceholder=J.imagePlaceholder:p.impl.options.imagePlaceholder=t.imagePlaceholder,typeof t.cacheBust>"u"?p.impl.options.cacheBust=J.cacheBust:p.impl.options.cacheBust=t.cacheBust}function V(t,e){return j(t,e).then(c.makeImage).then(c.delay(100)).then(function(o){var u=a(t);return u.getContext("2d").drawImage(o,0,0),u});function a(o){var u=document.createElement("canvas");if(u.width=e.width||c.width(o),u.height=e.height||c.height(o),e.bgcolor){var s=u.getContext("2d");s.fillStyle=e.bgcolor,s.fillRect(0,0,u.width,u.height)}return u}}function K(t,e,a){if(!a&&e&&!e(t))return Promise.resolve();return Promise.resolve(t).then(o).then(function(r){return u(t,r,e)}).then(function(r){return s(t,r)});function o(r){return r instanceof HTMLCanvasElement?c.makeImage(r.toDataURL()):r.cloneNode(!1)}function u(r,i,w){var P=r.childNodes;if(P.length===0)return Promise.resolve(i);return m(i,c.asArray(P),w).then(function(){return i});function m(L,A,y){var E=Promise.resolve();return A.forEach(function(R){E=E.then(function(){return K(R,y)}).then(function(T){T&&L.appendChild(T)})}),E}}function s(r,i){if(!(i instanceof Element))return i;return Promise.resolve().then(w).then(P).then(m).then(L).then(function(){return i});function w(){A(window.getComputedStyle(r),i.style);function A(y,E){y.cssText?E.cssText=y.cssText:R(y,E);function R(T,U){c.asArray(T).forEach(function(n){U.setProperty(n,T.getPropertyValue(n),T.getPropertyPriority(n))})}}}function P(){[":before",":after"].forEach(function(y){A(y)});function A(y){var E=window.getComputedStyle(r,y),R=E.getPropertyValue("content");if(R===""||R==="none")return;var T=c.uid();i.className=i.className+" "+T;var U=document.createElement("style");U.appendChild(n(T,y,E)),i.appendChild(U);function n(l,d,f){var x="."+l+":"+d,S=f.cssText?ie(f):se(f);return document.createTextNode(x+"{"+S+"}");function ie(k){var D=k.getPropertyValue("content");return k.cssText+" content: "+D+";"}function se(k){return c.asArray(k).map(D).join("; ")+";";function D(H){return H+": "+k.getPropertyValue(H)+(k.getPropertyPriority(H)?" !important":"")}}}}}function m(){r instanceof HTMLTextAreaElement&&(i.innerHTML=r.value),r instanceof HTMLInputElement&&i.setAttribute("value",r.value)}function L(){i instanceof SVGElement&&(i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i instanceof SVGRectElement&&["width","height"].forEach(function(A){var y=i.getAttribute(A);y&&i.style.setProperty(A,y)}))}}}function re(t){return $.resolveAll().then(function(e){var a=document.createElement("style");return t.appendChild(a),a.appendChild(document.createTextNode(e)),t})}function ae(t){return q.inlineAll(t).then(function(){return t})}function oe(t,e,a){return Promise.resolve(t).then(function(o){return o.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(o)}).then(c.escapeXhtml).then(function(o){return''+o+""}).then(function(o){return''+o+""}).then(function(o){return"data:image/svg+xml;charset=utf-8,"+o})}function Z(){return{escape:L,parseExtension:e,mimeType:a,dataAsUrl:m,isDataUrl:o,canvasToBlob:s,resolveUrl:r,getAndEncode:P,uid:i(),delay:A,asArray:y,escapeXhtml:E,makeImage:w,width:R,height:T};function t(){var n="application/font-woff",l="image/jpeg";return{woff:n,woff2:n,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:l,jpeg:l,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function e(n){var l=/\.([^\.\/]*?)$/g.exec(n);return l?l[1]:""}function a(n){var l=e(n).toLowerCase();return t()[l]||""}function o(n){return n.search(/^(data:)/)!==-1}function u(n){return new Promise(function(l){for(var d=window.atob(n.toDataURL().split(",")[1]),f=d.length,x=new Uint8Array(f),S=0;S"u"?p.impl.options.imagePlaceholder=J.imagePlaceholder:p.impl.options.imagePlaceholder=t.imagePlaceholder,typeof t.cacheBust>"u"?p.impl.options.cacheBust=J.cacheBust:p.impl.options.cacheBust=t.cacheBust}function V(t,e){return j(t,e).then(c.makeImage).then(c.delay(100)).then(function(o){var u=a(t);return u.getContext("2d").drawImage(o,0,0),u});function a(o){var u=document.createElement("canvas");if(u.width=e.width||c.width(o),u.height=e.height||c.height(o),e.bgcolor){var s=u.getContext("2d");s.fillStyle=e.bgcolor,s.fillRect(0,0,u.width,u.height)}return u}}function K(t,e,a){if(!a&&e&&!e(t))return Promise.resolve();return Promise.resolve(t).then(o).then(function(r){return u(t,r,e)}).then(function(r){return s(t,r)});function o(r){return r instanceof HTMLCanvasElement?c.makeImage(r.toDataURL()):r.cloneNode(!1)}function u(r,i,w){var P=r.childNodes;if(P.length===0)return Promise.resolve(i);return m(i,c.asArray(P),w).then(function(){return i});function m(L,A,y){var E=Promise.resolve();return A.forEach(function(R){E=E.then(function(){return K(R,y)}).then(function(_){_&&L.appendChild(_)})}),E}}function s(r,i){if(!(i instanceof Element))return i;return Promise.resolve().then(w).then(P).then(m).then(L).then(function(){return i});function w(){A(window.getComputedStyle(r),i.style);function A(y,E){y.cssText?E.cssText=y.cssText:R(y,E);function R(_,U){c.asArray(_).forEach(function(n){U.setProperty(n,_.getPropertyValue(n),_.getPropertyPriority(n))})}}}function P(){[":before",":after"].forEach(function(y){A(y)});function A(y){var E=window.getComputedStyle(r,y),R=E.getPropertyValue("content");if(R===""||R==="none")return;var _=c.uid();i.className=i.className+" "+_;var U=document.createElement("style");U.appendChild(n(_,y,E)),i.appendChild(U);function n(l,d,f){var x="."+l+":"+d,S=f.cssText?ie(f):se(f);return document.createTextNode(x+"{"+S+"}");function ie(k){var D=k.getPropertyValue("content");return k.cssText+" content: "+D+";"}function se(k){return c.asArray(k).map(D).join("; ")+";";function D(H){return H+": "+k.getPropertyValue(H)+(k.getPropertyPriority(H)?" !important":"")}}}}}function m(){r instanceof HTMLTextAreaElement&&(i.innerHTML=r.value),r instanceof HTMLInputElement&&i.setAttribute("value",r.value)}function L(){i instanceof SVGElement&&(i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i instanceof SVGRectElement&&["width","height"].forEach(function(A){var y=i.getAttribute(A);y&&i.style.setProperty(A,y)}))}}}function re(t){return W.resolveAll().then(function(e){var a=document.createElement("style");return t.appendChild(a),a.appendChild(document.createTextNode(e)),t})}function ae(t){return q.inlineAll(t).then(function(){return t})}function oe(t,e,a){return Promise.resolve(t).then(function(o){return o.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(o)}).then(c.escapeXhtml).then(function(o){return''+o+""}).then(function(o){return''+o+""}).then(function(o){return"data:image/svg+xml;charset=utf-8,"+o})}function Q(){return{escape:L,parseExtension:e,mimeType:a,dataAsUrl:m,isDataUrl:o,canvasToBlob:s,resolveUrl:r,getAndEncode:P,uid:i(),delay:A,asArray:y,escapeXhtml:E,makeImage:w,width:R,height:_};function t(){var n="application/font-woff",l="image/jpeg";return{woff:n,woff2:n,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:l,jpeg:l,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function e(n){var l=/\.([^\.\/]*?)$/g.exec(n);return l?l[1]:""}function a(n){var l=e(n).toLowerCase();return t()[l]||""}function o(n){return n.search(/^(data:)/)!==-1}function u(n){return new Promise(function(l){for(var d=window.atob(n.toDataURL().split(",")[1]),f=d.length,x=new Uint8Array(f),S=0;S{setTimeout(()=>{ne()},1e3)});let G;function V(){const g=new XMLSerializer().serializeToString(N.value),v=new Blob([g],{type:"image/svg+xml;charset=utf-8"});le.saveAs(v,"nineai-mind.svg")}async function K(){const v=` +`,Qe=Ee({__name:"index",setup(ue){var Y;const te=pe(),c=ge(),B=we(),W=(Y=te.globalConfig)==null?void 0:Y.mindDefaultData,q=X(null),J=new be.Transformer,p=X(!1),{isMobile:j}=he(),F=X(""),N=X(),C=X("");function ne(){C.value=W||ze}fe(()=>{setTimeout(()=>{ne()},1e3)});let G;function V(){const g=new XMLSerializer().serializeToString(N.value),v=new Blob([g],{type:"image/svg+xml;charset=utf-8"});le.saveAs(v,"nineai-mind.svg")}async function K(){const v=` @@ -71,4 +71,4 @@ import{u as he}from"./useBasicLayout-a4f17bae.js";import{a as pe,u as ge,t as _, ${await Ce.toSvg(N.value)} `,t=new Blob([v],{type:"text/html;charset=utf-8"});le.saveAs(t,"nineai-mind.html")}async function re(){p.value=!0,C.value="";try{const g="";let v="";const t=()=>(C.value=v,p.value?!0:(C.value=v,!1)),e=setInterval(()=>{t()||clearInterval(e)},1e3);await(async()=>{let o=0;await ve({prompt:F.value,onDownloadProgress:({event:u})=>{const r=u.target.responseText,i=r.substring(o);o=r.length,i.trim().split(` -`).forEach(P=>{try{const m=JSON.parse(P);m.userBalance&&te.updateUserBalance(m.userBalance),m.text&&(v+=m.text)}catch{}})}}),p.value=!1})()}catch(g){p.value=!1;const{code:v=500,message:t="好像出错了,请稍后再试!"}=g;if(v===429&&t.includes("balance has been exhausted"))return B.error("当前系统Key余额耗尽、请联系管理员补充!");if(v===500){let e=(g==null?void 0:g.message)??"好像出错了,请稍后再试!";e==="Request failed with status code 401"&&(e="非法操作、请先登录后再进行问答使用!"),B.error(e);return}if(g.code===402){B.error(g.message,{duration:5e3}),c.updateGoodsDialog(!0);return}B.error("出了点小错误、请稍后试试吧!")}finally{p.value=!1}}async function ae(){const g=await Ae(N.value);le.saveAs(g,"markmap.png")}function oe(){C.value=He}const Z=()=>{const{root:g}=J.transform(C.value);G.setData(g),G.fit()};return fe(()=>{G=Pe.create(N.value),Z()}),Te(Z),(g,v)=>(ee(),Y("div",Se,[b("div",Ie,[b("div",Be,[h(j)?(ee(),Y("header",Ue,[b("h2",ke,I(h(_)("mindmap.title")),1)])):de("",!0),b("h4",De,I(h(_)("mindmap.yourNeeds")),1),M(h(ce),{ref_key:"inputRef",ref:q,value:F.value,"onUpdate:value":v[0]||(v[0]=t=>F.value=t),type:"textarea",disabled:p.value,autosize:{minRows:3},placeholder:h(_)("mindmap.inputPlaceholder")},null,8,["value","disabled","placeholder"]),b("div",Re,[M(h(z),{type:"primary",size:"small",style:{width:"100%"},loading:p.value,onClick:re},{default:O(()=>[W(I(h(_)("mindmap.generateMindMapButton")),1)]),_:1},8,["loading"])]),b("div",Me,[b("h4",Ne,I(h(_)("mindmap.contentRequirements")),1),M(h(z),{text:"",onClick:oe},{default:O(()=>[W(I(h(_)("mindmap.tryDemoButton")),1)]),_:1})]),M(h(ce),{value:C.value,"onUpdate:value":v[1]||(v[1]=t=>C.value=t),type:"textarea",disabled:p.value,autosize:{minRows:8,maxRows:24},placeholder:"请用markdown语法输入您想要生成思维导图的内容或在上方使用描述让AI帮您完善!"},null,8,["value","disabled"])]),b("div",Le,[b("div",Ve,I(h(_)("mindmap.usageCredits")),1),b("div",null,[M(h(xe),{size:"small"},{default:O(()=>[M(h(z),{type:"primary",onClick:K},{default:O(()=>[W(I(h(_)("mindmap.exportHTML")),1)]),_:1}),M(h(z),{type:"primary",onClick:ae},{default:O(()=>[W(I(h(_)("mindmap.exportPNG")),1)]),_:1}),M(h(z),{type:"warning",onClick:V},{default:O(()=>[W(I(h(_)("mindmap.exportSVG")),1)]),_:1})]),_:1})])])]),b("div",Oe,[h(j)?de("",!0):(ee(),Y("header",je,[b("h2",Fe,I(h(_)("mindmap.title")),1)])),b("div",Ge,[(ee(),Y("svg",{ref_key:"svgRef",ref:N,class:"box-border w-full h-full border rounded-md"},null,512))])])]))}});export{Ze as default}; +`).forEach(P=>{try{const m=JSON.parse(P);m.userBalance&&te.updateUserBalance(m.userBalance),m.text&&(v+=m.text)}catch{}})}}),p.value=!1})()}catch(g){p.value=!1;const{code:v=500,message:t="好像出错了,请稍后再试!"}=g;if(v===429&&t.includes("balance has been exhausted"))return B.error("当前系统Key余额耗尽、请联系管理员补充!");if(v===500){let e=(g==null?void 0:g.message)??"好像出错了,请稍后再试!";e==="Request failed with status code 401"&&(e="非法操作、请先登录后再进行问答使用!"),B.error(e);return}if(g.code===402){B.error(g.message,{duration:5e3}),c.updateGoodsDialog(!0);return}B.error("出了点小错误、请稍后试试吧!")}finally{p.value=!1}}async function ae(){const g=await Ae(N.value);le.saveAs(g,"markmap.png")}function oe(){C.value=He}const Q=()=>{const{root:g}=J.transform(C.value);G.setData(g),G.fit()};return fe(()=>{G=Pe.create(N.value),Q()}),_e(Q),(g,v)=>(ee(),Z("div",Se,[b("div",Ie,[b("div",Be,[h(j)?(ee(),Z("header",Ue,[b("h2",ke,I(h(T)("mindmap.title")),1)])):de("",!0),b("h4",De,I(h(T)("mindmap.yourNeeds")),1),M(h(ce),{ref_key:"inputRef",ref:q,value:F.value,"onUpdate:value":v[0]||(v[0]=t=>F.value=t),type:"textarea",disabled:p.value,autosize:{minRows:3},placeholder:h(T)("mindmap.inputPlaceholder")},null,8,["value","disabled","placeholder"]),b("div",Re,[M(h(z),{type:"primary",size:"small",style:{width:"100%"},loading:p.value,onClick:re},{default:O(()=>[$(I(h(T)("mindmap.generateMindMapButton")),1)]),_:1},8,["loading"])]),b("div",Me,[b("h4",Ne,I(h(T)("mindmap.contentRequirements")),1),M(h(z),{text:"",onClick:oe},{default:O(()=>[$(I(h(T)("mindmap.tryDemoButton")),1)]),_:1})]),M(h(ce),{value:C.value,"onUpdate:value":v[1]||(v[1]=t=>C.value=t),type:"textarea",disabled:p.value,autosize:{minRows:8,maxRows:24},placeholder:"请用markdown语法输入您想要生成思维导图的内容或在上方使用描述让AI帮您完善!"},null,8,["value","disabled"])]),b("div",Le,[b("div",Ve,I(h(T)("mindmap.usageCredits")),1),b("div",null,[M(h(xe),{size:"small"},{default:O(()=>[M(h(z),{type:"primary",onClick:K},{default:O(()=>[$(I(h(T)("mindmap.exportHTML")),1)]),_:1}),M(h(z),{type:"primary",onClick:ae},{default:O(()=>[$(I(h(T)("mindmap.exportPNG")),1)]),_:1}),M(h(z),{type:"warning",onClick:V},{default:O(()=>[$(I(h(T)("mindmap.exportSVG")),1)]),_:1})]),_:1})])])]),b("div",Oe,[h(j)?de("",!0):(ee(),Z("header",je,[b("h2",Fe,I(h(T)("mindmap.title")),1)])),b("div",Ge,[(ee(),Z("svg",{ref_key:"svgRef",ref:N,class:"box-border w-full h-full border rounded-md"},null,512))])])]))}});export{Qe as default}; diff --git a/public/assets/index-648ab71e.js b/public/chat/assets/index-a515f844.js similarity index 50% rename from public/assets/index-648ab71e.js rename to public/chat/assets/index-a515f844.js index d7c867a..723643b 100644 --- a/public/assets/index-648ab71e.js +++ b/public/chat/assets/index-a515f844.js @@ -1,6 +1,6 @@ -import{a as ne,o as ge,u as _e,t,S as Me,T as Ne,U as Ee,V as Ie,W as Le,X as Re,Y as De}from"./index-d64a7cc4.js";import{_ as je}from"./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js";import{u as ue}from"./useBasicLayout-a4f17bae.js";import{d as se,e as M,r as I,f as ce,S as A,U as B,a3 as s,V as R,W as o,c as j,a4 as n,M as e,a5 as z,X as u,j as be,l as oe,a8 as pe,F as xe,af as ye,ab as ze,a6 as Oe,H as Ue}from"./vue-10b4afc0.js";import{z as D,S as me,h as Be,i as We,e as de,A as ee,x as V,B as ve,y as Y,T as we,C as Ge,U as he,K as te,d as Fe,V as He,W as Ve,Q as qe,R as Qe,X as Z,v as ie,Y as Ye}from"./naive-ui-fedd20b1.js";import{a as Xe,f as Ke}from"./crami-99ee44eb.js";import"./vueuse-motion-d4cdaf7b.js";const le=""+new URL("avatar-e985e5ec.png",import.meta.url).href,Je={class:"flex flex-col justify-center items-center"},Ze={class:"text-2xl text-primary self-start mb-3 flex justify-between w-full"},et=s("span",null,null,-1),tt={class:"mt-3 text-lg text-[#555]"},nt={class:"text-[#95aac9] mt-2"},st={class:"self-start"},rt={class:"flex pl-3 pt-3 text-base font-bold text-primary"},at={key:0,class:"flex pl-3 pt-3 text-base font-bold text-primary"},ot={class:"flex items-center space-x-4 pl-3 mt-3"},it={class:"flex-shrink-0 w-24 text-primary"},lt={class:"w-[200px]"},ut={class:"flex items-center space-x-4 pl-3 mt-3"},ct={class:"flex-shrink-0 w-24 text-primary"},dt={class:"w-[200px]"},ft={class:"flex items-center space-x-4 pl-3 mt-3"},pt={class:"flex-shrink-0 w-24 text-primary"},mt={class:"w-[200px]"},vt={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},yt={class:"flex-shrink-0 w-24 text-primary"},ht={class:"w-[200px]"},gt={key:1},_t=se({__name:"detail",setup(W){const S=ne(),b=ge(),{userBalance:w}=S,$=_e(),m=M(()=>S.userInfo.email||""),f=M(()=>S.userInfo.isBindWx),r=I(S.userInfo.avatar??le),c=I(S.userInfo.username??t("usercenter.notLoggedIn"));I(S.userInfo.sign??t("usercenter.defaultSignature"));const p=M(()=>Number(S.globalConfig.wechatRegisterStatus)===1);function h(){S.logOut(),b.push("/")}const x=M(()=>S.isLogin);return ce(()=>{x.value||S.setLoginDialog(!0)}),(C,T)=>(A(),B("div",Je,[s("div",Ze,[et,x.value?(A(),R(e(D),{key:0,tertiary:"",type:"error",onClick:h},{default:o(()=>[j(n(e(t)("usercenter.logOut")),1)]),_:1})):z("",!0),x.value?z("",!0):(A(),R(e(D),{key:1,tertiary:"",type:"success",onClick:T[0]||(T[0]=y=>e(S).setLoginDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToLogin")),1)]),_:1}))]),u(e(me),{size:148,src:r.value,"fallback-src":e(le)},null,8,["src","fallback-src"]),s("b",tt,n(c.value),1),s("span",nt,n(m.value),1),s("div",st,[s("div",rt,[s("span",null,n(e(t)("usercenter.myUsageRecord")),1)]),e(w).expirationTime?(A(),B("div",at,[s("span",null,n(e(t)("usercenter.membershipExpiration")),1),s("span",null,n(e(w).expirationTime),1)])):z("",!0),s("div",ot,[s("span",it,n(e(t)("usercenter.basicModelCredits")),1),s("div",lt,n(e(w).sumModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",ut,[s("span",ct,n(e(t)("usercenter.advancedModelCredits")),1),s("div",dt,n(e(w).sumModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",ft,[s("span",pt,n(e(t)("usercenter.drawingUsageCredits")),1),s("div",mt,n(e(w).sumDrawMjCount||"0")+" "+n(e(t)("usercenter.points")),1)]),p.value?(A(),B("div",vt,[s("span",yt,n(e(t)("usercenter.bindWeChat")),1),s("div",ht,[f.value?(A(),B("span",gt,n(e(t)("usercenter.weChatBound")),1)):(A(),R(e(D),{key:0,text:"",onClick:T[1]||(T[1]=y=>e($).updateBindwxDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):z("",!0)])]))}});var Ce={exports:{}};/*! +import{a as ne,x as he,u as _e,t,T as Ae,U as Ne,V as Ee,W as Ie,X as Le,Y as Re,Z as De}from"./index-a70ad6b3.js";import{_ as je}from"./titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js";import{u as ue}from"./useBasicLayout-8e07f8d7.js";import{d as se,e as A,r as I,f as ce,S as M,U as B,a3 as s,V as R,W as o,c as j,a4 as n,M as e,a8 as z,X as u,j as xe,l as oe,a5 as pe,F as be,ae as ye,a9 as ze,a7 as Oe,H as Ue}from"./vue-cf46d111.js";import{z as D,Q as me,h as Be,i as We,e as de,R as ee,S as V,A as ve,T as Y,U as we,x as Ge,V as ge,H as te,d as He,W as Fe,X as Ve,P as qe,M as Qe,Y as J,v as ie,Z as Ye}from"./naive-ui-074da7ca.js";import{a as Xe,f as Ke}from"./crami-4d5edf1c.js";import"./vueuse-motion-d8fe070a.js";const le=""+new URL("avatar-e985e5ec.png",import.meta.url).href,Ze={class:"flex flex-col justify-center items-center"},Je={class:"text-2xl text-primary self-start mb-3 flex justify-between w-full"},et=s("span",null,null,-1),tt={class:"mt-3 text-lg text-[#555]"},nt={class:"text-[#95aac9] mt-2"},st={class:"self-start"},rt={class:"flex pl-3 pt-3 text-base font-bold text-primary"},at={key:0,class:"flex pl-3 pt-3 text-base font-bold text-primary"},ot={class:"flex items-center space-x-4 pl-3 mt-3"},it={class:"flex-shrink-0 w-24 text-primary"},lt={class:"w-[200px]"},ut={class:"flex items-center space-x-4 pl-3 mt-3"},ct={class:"flex-shrink-0 w-24 text-primary"},dt={class:"w-[200px]"},ft={class:"flex items-center space-x-4 pl-3 mt-3"},pt={class:"flex-shrink-0 w-24 text-primary"},mt={class:"w-[200px]"},vt={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},yt={class:"flex-shrink-0 w-24 text-primary"},gt={class:"w-[200px]"},ht={key:1},_t=se({__name:"detail",setup(W){const S=ne(),x=he(),{userBalance:w}=S,$=_e(),m=A(()=>S.userInfo.email||""),f=A(()=>S.userInfo.isBindWx),r=I(S.userInfo.avatar??le),c=I(S.userInfo.username??t("usercenter.notLoggedIn"));I(S.userInfo.sign??t("usercenter.defaultSignature"));const p=A(()=>Number(S.globalConfig.wechatRegisterStatus)===1);function g(){S.logOut(),x.replace("/")}const b=A(()=>S.isLogin);return ce(()=>{b.value||S.setLoginDialog(!0)}),(C,T)=>(M(),B("div",Ze,[s("div",Je,[et,b.value?(M(),R(e(D),{key:0,tertiary:"",type:"error",onClick:g},{default:o(()=>[j(n(e(t)("usercenter.logOut")),1)]),_:1})):z("",!0),b.value?z("",!0):(M(),R(e(D),{key:1,tertiary:"",type:"success",onClick:T[0]||(T[0]=y=>e(S).setLoginDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToLogin")),1)]),_:1}))]),u(e(me),{size:148,src:r.value,"fallback-src":e(le)},null,8,["src","fallback-src"]),s("b",tt,n(c.value),1),s("span",nt,n(m.value),1),s("div",st,[s("div",rt,[s("span",null,n(e(t)("usercenter.myUsageRecord")),1)]),e(w).expirationTime?(M(),B("div",at,[s("span",null,n(e(t)("usercenter.membershipExpiration")),1),s("span",null,n(e(w).expirationTime),1)])):z("",!0),s("div",ot,[s("span",it,n(e(t)("usercenter.basicModelCredits")),1),s("div",lt,n(e(w).sumModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",ut,[s("span",ct,n(e(t)("usercenter.advancedModelCredits")),1),s("div",dt,n(e(w).sumModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",ft,[s("span",pt,n(e(t)("usercenter.drawingUsageCredits")),1),s("div",mt,n(e(w).sumDrawMjCount||"0")+" "+n(e(t)("usercenter.points")),1)]),p.value?(M(),B("div",vt,[s("span",yt,n(e(t)("usercenter.bindWeChat")),1),s("div",gt,[f.value?(M(),B("span",ht,n(e(t)("usercenter.weChatBound")),1)):(M(),R(e(D),{key:0,text:"",onClick:T[1]||(T[1]=y=>e($).updateBindwxDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):z("",!0)])]))}});var Ce={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha - */(function(W,S){(function(w,$){W.exports=$()})(Be,function(){return function(){var b={686:function(m,f,r){r.d(f,{default:function(){return Ae}});var c=r(279),p=r.n(c),h=r(370),x=r.n(h),C=r(817),T=r.n(C);function y(_){try{return document.execCommand(_)}catch{return!1}}var a=function(l){var i=T()(l);return y("cut"),i},d=a;function P(_){var l=document.documentElement.getAttribute("dir")==="rtl",i=document.createElement("textarea");i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[l?"right":"left"]="-9999px";var v=window.pageYOffset||document.documentElement.scrollTop;return i.style.top="".concat(v,"px"),i.setAttribute("readonly",""),i.value=_,i}var F=function(l,i){var v=P(l);i.container.appendChild(v);var g=T()(v);return y("copy"),v.remove(),g},Q=function(l){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},v="";return typeof l=="string"?v=F(l,i):l instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(l==null?void 0:l.type)?v=F(l.value,i):(v=T()(l),y("copy")),v},H=Q;function q(_){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q=function(i){return typeof i}:q=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},q(_)}var X=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=l.action,v=i===void 0?"copy":i,g=l.container,k=l.target,G=l.text;if(v!=="copy"&&v!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(k!==void 0)if(k&&q(k)==="object"&&k.nodeType===1){if(v==="copy"&&k.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(v==="cut"&&(k.hasAttribute("readonly")||k.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(G)return H(G,{container:g});if(k)return v==="cut"?d(k):H(k,{container:g})},K=X;function E(_){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(i){return typeof i}:E=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},E(_)}function L(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")}function N(_,l){for(var i=0;i"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function re(_){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},re(_)}function fe(_,l){var i="data-clipboard-".concat(_);if(l.hasAttribute(i))return l.getAttribute(i)}var Pe=function(_){O(i,_);var l=ke(i);function i(v,g){var k;return L(this,i),k=l.call(this),k.resolveOptions(g),k.listenClick(v),k}return U(i,[{key:"resolveOptions",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof g.action=="function"?g.action:this.defaultAction,this.target=typeof g.target=="function"?g.target:this.defaultTarget,this.text=typeof g.text=="function"?g.text:this.defaultText,this.container=E(g.container)==="object"?g.container:document.body}},{key:"listenClick",value:function(g){var k=this;this.listener=x()(g,"click",function(G){return k.onClick(G)})}},{key:"onClick",value:function(g){var k=g.delegateTarget||g.currentTarget,G=this.action(k)||"copy",ae=K({action:G,container:this.container,target:this.target(k),text:this.text(k)});this.emit(ae?"success":"error",{action:G,text:ae,trigger:k,clearSelection:function(){k&&k.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(g){return fe("action",g)}},{key:"defaultTarget",value:function(g){var k=fe("target",g);if(k)return document.querySelector(k)}},{key:"defaultText",value:function(g){return fe("text",g)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(g){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return H(g,k)}},{key:"cut",value:function(g){return d(g)}},{key:"isSupported",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],k=typeof g=="string"?[g]:g,G=!!document.queryCommandSupported;return k.forEach(function(ae){G=G&&!!document.queryCommandSupported(ae)}),G}}]),i}(p()),Ae=Pe},828:function(m){var f=9;if(typeof Element<"u"&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function c(p,h){for(;p&&p.nodeType!==f;){if(typeof p.matches=="function"&&p.matches(h))return p;p=p.parentNode}}m.exports=c},438:function(m,f,r){var c=r(828);function p(C,T,y,a,d){var P=x.apply(this,arguments);return C.addEventListener(y,P,d),{destroy:function(){C.removeEventListener(y,P,d)}}}function h(C,T,y,a,d){return typeof C.addEventListener=="function"?p.apply(null,arguments):typeof y=="function"?p.bind(null,document).apply(null,arguments):(typeof C=="string"&&(C=document.querySelectorAll(C)),Array.prototype.map.call(C,function(P){return p(P,T,y,a,d)}))}function x(C,T,y,a){return function(d){d.delegateTarget=c(d.target,T),d.delegateTarget&&a.call(C,d)}}m.exports=h},879:function(m,f){f.node=function(r){return r!==void 0&&r instanceof HTMLElement&&r.nodeType===1},f.nodeList=function(r){var c=Object.prototype.toString.call(r);return r!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in r&&(r.length===0||f.node(r[0]))},f.string=function(r){return typeof r=="string"||r instanceof String},f.fn=function(r){var c=Object.prototype.toString.call(r);return c==="[object Function]"}},370:function(m,f,r){var c=r(879),p=r(438);function h(y,a,d){if(!y&&!a&&!d)throw new Error("Missing required arguments");if(!c.string(a))throw new TypeError("Second argument must be a String");if(!c.fn(d))throw new TypeError("Third argument must be a Function");if(c.node(y))return x(y,a,d);if(c.nodeList(y))return C(y,a,d);if(c.string(y))return T(y,a,d);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function x(y,a,d){return y.addEventListener(a,d),{destroy:function(){y.removeEventListener(a,d)}}}function C(y,a,d){return Array.prototype.forEach.call(y,function(P){P.addEventListener(a,d)}),{destroy:function(){Array.prototype.forEach.call(y,function(P){P.removeEventListener(a,d)})}}}function T(y,a,d){return p(document.body,y,a,d)}m.exports=h},817:function(m){function f(r){var c;if(r.nodeName==="SELECT")r.focus(),c=r.value;else if(r.nodeName==="INPUT"||r.nodeName==="TEXTAREA"){var p=r.hasAttribute("readonly");p||r.setAttribute("readonly",""),r.select(),r.setSelectionRange(0,r.value.length),p||r.removeAttribute("readonly"),c=r.value}else{r.hasAttribute("contenteditable")&&r.focus();var h=window.getSelection(),x=document.createRange();x.selectNodeContents(r),h.removeAllRanges(),h.addRange(x),c=h.toString()}return c}m.exports=f},279:function(m){function f(){}f.prototype={on:function(r,c,p){var h=this.e||(this.e={});return(h[r]||(h[r]=[])).push({fn:c,ctx:p}),this},once:function(r,c,p){var h=this;function x(){h.off(r,x),c.apply(p,arguments)}return x._=c,this.on(r,x,p)},emit:function(r){var c=[].slice.call(arguments,1),p=((this.e||(this.e={}))[r]||[]).slice(),h=0,x=p.length;for(h;h{const S=(W==null?void 0:W.appendToBody)===void 0?!0:W.appendToBody;return{toClipboard(b,w){return new Promise(($,m)=>{const f=document.createElement("button"),r=new xt(f,{text:()=>b,action:()=>"copy",container:w!==void 0?w:document.body});r.on("success",c=>{r.destroy(),$(c)}),r.on("error",c=>{r.destroy(),m(c)}),S&&document.body.appendChild(f),f.click(),S&&document.body.removeChild(f)})}}},Ct={class:"text-[#95aac9] mb-2 text-base"},kt={class:"text-2xl text-[#555] dark:text-[#fff] whitespace-nowrap"},St=s("b",{class:"text-[000]"},"Tips",-1),$t={class:"flex flex-col text-[#707384]"},Tt=se({__name:"invite",setup(W){const{toClipboard:S}=wt(),b=ne(),w=M(()=>b.userInfo.inviteCode),$=M(()=>b.globalConfig),{isSmallXl:m,isMobile:f}=ue(),r=de(),c=I(!1),p=be({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:a=>{p.page=a,T()},onUpdatePageSize:a=>{p.pageSize=a,p.page=1,T()}}),h=M(()=>[{title:t("usercenter.avatar"),key:"avatar",render(a){return oe(me,{src:a.avatar,size:"small",round:!0})}},{title:t("usercenter.username"),key:"username"},{title:t("usercenter.email"),key:"email"},{title:t("usercenter.inviteeStatus"),key:"status",render(a){return oe(D,{type:a.status===1?"primary":"error",size:"small",round:!0,quaternary:!0},{default:()=>a.status===1?t("usercenter.certified"):t("usercenter.notActivated")})}},{title:t("usercenter.inviteTime"),key:"createdAt",render(a){return oe("div",{style:{fontSize:"12px",color:"#999"}},()=>a.createdAt)}},{title:t("usercenter.rewardStatus"),key:"status",render(a){return oe(D,{type:a.status===1?"success":"warning",size:"small",round:!0,quaternary:!0},{default:()=>a.status===1?t("usercenter.rewardReceived"):t("usercenter.waitingConfirmation")})}}]),x=I([]);async function C(){const a=await Ne();if(!a.data)return r.error(a.message);r.error(t("usercenter.linkGeneratedSuccess")),b.getUserInfo()}async function T(){try{c.value=!0;const a=await Me({page:p.page,size:p.pageSize});x.value=a.data.rows,c.value=!1}catch{c.value=!1}}async function y(){if(!w.value)return r.error(t("usercenter.generateLinkFirst"));const a=`${window.location.href}?inVitecode=${w.value}`;try{await S(a),r.success(t("usercenter.linkCopiedSuccess"))}catch{r.error(t("usercenter.copyNotSupported"))}}return ce(()=>{T()}),(a,d)=>(A(),B(xe,null,[u(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.inviteForBenefits")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(m)?1:3,class:"mt-3"},{default:o(()=>{var P;return[u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:2},{default:o(()=>[s("div",Ct,n(e(t)("usercenter.myInviteCode")),1),s("div",{class:pe(["flex justify-between",[e(m)?"flex-col mt-3":""]])},[s("b",kt,n(w.value||"********"),1),u(e(ve),{class:pe([e(m)?" mt-3":""])},{default:o(()=>[u(e(D),{type:"success",onClick:C},{default:o(()=>[j(n(e(t)("usercenter.generateInviteCode")),1)]),_:1}),u(e(D),{type:"primary",onClick:y},{default:o(()=>[j(n(e(t)("usercenter.copyInviteLink")),1)]),_:1})]),_:1},8,["class"])],2)]),_:1}),Number((P=$.value)==null?void 0:P.inviteSendStatus)===1?(A(),R(e(V),{key:0,class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:1},{default:o(()=>[St,s("div",$t,[s("span",null,n(e(t)("usercenter.inviteOneUser")),1),s("span",null,n($.value.inviteGiveSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n($.value.inviteGiveSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n($.value.inviteGiveSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1),s("span",null,n(e(t)("usercenter.receiveInvitation")),1),s("span",null,n($.value.invitedGuestSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n($.value.invitedGuestSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n($.value.invitedGuestSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1)])]),_:1})):z("",!0)]}),_:1},8,["cols"])]),_:1}),u(e(Y),{class:"mt-5"},{header:o(()=>[s("div",null,n(e(t)("usercenter.invitationRecord")),1)]),default:o(()=>[u(e(we),{loading:c.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:h.value,data:x.value,pagination:p,"scroll-x":500},null,8,["loading","columns","data","pagination"])]),_:1})],64))}}),Pt={class:"flex justify-between"},At={class:"text-[#95AAC9]"},Mt={class:"text-base"},Nt={class:"text-[#95AAC9] mt-3"},Et={class:"ml-3 text-[#95AAC9] mt-2"},It={class:"ml-3 text-[#95AAC9] mt-2"},Lt={class:"ml-3 text-[#95AAC9] mt-2"},Rt=se({__name:"password",setup(W){const S=I({password:"",reenteredPassword:""}),b=S,w=I(null),$=I(null),m={password:[{required:!0,message:t("usercenter.enterPassword")}],reenteredPassword:[{required:!0,message:t("usercenter.reenterPassword"),trigger:["input","blur"]},{validator:f,message:t("usercenter.passwordsNotMatch"),trigger:"input"},{validator:r,message:t("usercenter.passwordsNotMatch"),trigger:["blur","password-input"]}]};function f(a,d){return!!S.value.password&&S.value.password.startsWith(d)&&S.value.password.length>=d.length}function r(a,d){return d===S.value.password}function c(){var a;S.value.reenteredPassword&&((a=$.value)==null||a.validate({trigger:"password-input"}))}const{isSmallXl:p}=ue(),h=ne(),x=de();async function C(a){await Ee(a),x.success(t("usercenter.passwordUpdateSuccess")),T(),h.updatePasswordSuccess()}function T(){S.value={password:"",reenteredPassword:""}}function y(a){var d;a.preventDefault(),(d=w.value)==null||d.validate(async P=>{if(!P){const{password:F}=S.value;C({password:F})}})}return(a,d)=>(A(),R(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.changeYourPassword")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(p)?1:3,class:"mt-3"},{default:o(()=>[u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:"2"},{default:o(()=>[u(e(Ge),{ref_key:"formRef",ref:w,model:e(b),rules:m},{default:o(()=>[u(e(he),{path:"password",label:e(t)("usercenter.newPassword")},{default:o(()=>[u(e(te),{value:e(b).password,"onUpdate:value":d[0]||(d[0]=P=>e(b).password=P),type:"password",onInput:c,onKeydown:d[1]||(d[1]=ye(ze(()=>{},["prevent"]),["enter"]))},null,8,["value"])]),_:1},8,["label"]),u(e(he),{ref_key:"rPasswordFormItemRef",ref:$,first:"",path:"reenteredPassword",label:e(t)("usercenter.confirmPassword")},{default:o(()=>[u(e(te),{value:e(b).reenteredPassword,"onUpdate:value":d[2]||(d[2]=P=>e(b).reenteredPassword=P),disabled:!e(b).password,type:"password",tabindex:"0",onKeyup:ye(y,["enter"])},null,8,["value","disabled"])]),_:1},8,["label"]),s("div",Pt,[s("span",At,n(e(t)("usercenter.reloginAfterPasswordChange")),1),u(e(D),{disabled:e(b).password===null,type:"primary",onClick:y},{default:o(()=>[j(n(e(t)("usercenter.updateYourPassword")),1)]),_:1},8,["disabled"])])]),_:1},8,["model"])]),_:1}),u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]"},{default:o(()=>[s("b",Mt,n(e(t)("usercenter.passwordRequirements")),1),s("p",Nt,n(e(t)("usercenter.newPasswordInstructions")),1),s("div",Et,n(e(t)("usercenter.minimumCharacters")),1),s("div",It,n(e(t)("usercenter.maximumCharacters")),1),s("div",Lt,n(e(t)("usercenter.requireNumber")),1)]),_:1})]),_:1},8,["cols"])]),_:1}))}}),Dt={1:t("rechargeTypes.1"),2:t("rechargeTypes.2"),3:t("rechargeTypes.3"),4:t("rechargeTypes.4"),5:t("rechargeTypes.5"),6:t("rechargeTypes.6"),7:t("rechargeTypes.7"),8:t("rechargeTypes.8")};t("orderStatus.0"),t("orderStatus.1"),t("orderStatus.2"),t("orderStatus.3");const jt={class:"flex h-full flex-col"},zt={class:"text-[#95aac9] mb-2 text-base"},Ot={class:"text-3xl text-[#555]"},Ut={class:"ml-4 text-[#989898]"},Bt={class:"text-[#95aac9] mb-2 text-base"},Wt={class:"text-3xl text-[#555]"},Gt={class:"ml-4 text-[#989898]"},Ft={class:"text-[#95aac9] mb-2 text-base"},Ht={class:"text-3xl text-[#555]"},Vt={class:"ml-4 text-[#989898]"},qt={class:"text-[#95aac9] mb-2 text-base"},Qt={class:"relative"},Yt=["src"],Xt={class:"flex justify-between items-end min-h-28"},Kt={class:"text-sm font-bold mr-1"},Jt={class:"font-bold"},Zt={class:"flex justify-between items-end min-h-28"},en={class:"text-sm font-bold mr-1"},tn={class:"font-bold"},nn={class:"flex justify-between items-end min-h-28"},sn={class:"text-sm font-bold mr-1"},rn={class:"font-bold"},an={class:"flex justify-between items-end mt-5"},on={class:"text-xl text-[red] font-bold"},ln=se({__name:"wallet",setup(W){const{isSmallMd:S,isMobile:b}=ue(),w=ne(),$=de();Fe();const m=M(()=>w.userBalance),f=I(!1),r=I(""),c=I(!1),p=I([]),h=I(!1),x=M(()=>w.globalConfig.model3Name||t("usercenter.basicModelQuota")),C=M(()=>w.globalConfig.model4Name)||t("usercenter.advancedModelQuota"),T=M(()=>w.globalConfig.drawMjName)||t("usercenter.mjDrawingQuota"),y=M(()=>Number(w.globalConfig.isHideModel3Point)===1),a=M(()=>Number(w.globalConfig.isHideModel4Point)===1),d=M(()=>Number(w.globalConfig.isHideDrawMjPoint)===1),P=be({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:N=>{P.page=N,H()},onUpdatePageSize:N=>{P.pageSize=N,P.page=1,H()}}),F=M(()=>{const N=[{title:t("usercenter.orderNumber"),key:"uid"},{title:t("usercenter.rechargeType"),key:"rechargeType",render(U){return Dt[U.rechargeType]}},{title:t("usercenter.validity"),key:"expireDateCn"},{title:t("usercenter.rechargeTime"),key:"createdAt",render(U){return U.createdAt}}];return y.value||N.splice(2,0,{title:x.value,key:"model3Count"}),a.value||N.splice(3,0,{title:C.value,key:"model4Count"}),d.value||N.splice(4,0,{title:T.value,key:"drawMjCount"}),N}),Q=I([]);async function H(){const N=await Ie({page:P.page,size:P.pageSize}),{rows:U}=N.data;Q.value=U}async function q(){$.warning(t("usercenter.enterCardSecret"));try{f.value=!0,await Xe({code:r.value}),$.success(t("usercenter.cardRedeemSuccess")),H(),w.getUserInfo(),f.value=!1}catch{$.error(t("usercenter.unknownError")),f.value=!1}}function X(){c.value=!0}async function K(){const N=await Ke({status:1,size:30});p.value=N.data.rows}const E=M(()=>{var N;return(N=w.globalConfig)==null?void 0:N.buyCramiAddress});function L(){window.open(E.value)}return ce(()=>{H()}),(N,U)=>(A(),B("div",jt,[u(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.userWalletBalance")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(S)?1:2,class:"mt-3"},{default:o(()=>[y.value?z("",!0):(A(),R(e(V),{key:0,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",zt,n(x.value),1),s("b",Ot,n(m.value.sumModel3Count??0),1),s("span",Ut,n(e(t)("usercenter.creditUsageNote")),1)]),_:1})),a.value?z("",!0):(A(),R(e(V),{key:1,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",Bt,n(e(C)),1),s("b",Wt,n(m.value.sumModel4Count??0),1),s("span",Gt,n(e(t)("usercenter.modelConsumptionNote")),1)]),_:1})),d.value?z("",!0):(A(),R(e(V),{key:2,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",Ft,n(e(T)),1),s("b",Ht,n(m.value.sumDrawMjCount??0),1),s("span",Vt,n(e(t)("usercenter.drawingConsumptionNote")),1)]),_:1})),u(e(V),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",qt,n(e(t)("usercenter.cardRecharge")),1),u(e(ve),{wrap:!1},{default:o(()=>[u(e(te),{value:r.value,"onUpdate:value":U[0]||(U[0]=O=>r.value=O),placeholder:e(t)("usercenter.enterCardDetails"),class:"mr-3",maxlength:"128","show-count":"",clearable:""},null,8,["value","placeholder"]),u(e(D),{type:"primary",loading:f.value,onClick:q},{default:o(()=>[j(n(e(t)("usercenter.exchange")),1)]),_:1},8,["loading"]),E.value?(A(),R(e(D),{key:0,type:"success",onClick:X},{default:o(()=>[j(n(e(t)("usercenter.buyCardSecret")),1)]),_:1})):z("",!0)]),_:1})]),_:1})]),_:1},8,["cols"])]),_:1}),u(e(Y),{class:"mt-5 flex-1"},{header:o(()=>[s("div",null,n(e(t)("usercenter.rechargeRecords")),1)]),default:o(()=>[u(e(we),{columns:F.value,loading:h.value,"scroll-x":800,data:Q.value,"max-height":"280",pagination:P},null,8,["columns","loading","data","pagination"])]),_:1}),u(e(Ve),{show:c.value,"onUpdate:show":U[1]||(U[1]=O=>c.value=O),width:e(S)?"100%":502,"on-after-enter":K},{default:o(()=>[u(e(He),{title:"{{ t('usercenter.packagePurchase') }}",closable:""},{default:o(()=>[u(e(ee),{"x-gap":15,"y-gap":15,cols:e(S)?1:2,class:"mt-3"},{default:o(()=>[(A(!0),B(xe,null,Oe(p.value,(O,J)=>(A(),R(e(V),{key:J},{default:o(()=>[u(e(Y),{size:"small",embedded:""},{header:o(()=>[s("div",Qt,[s("b",null,n(O.name),1)])]),cover:o(()=>[s("img",{src:O.coverImg},null,8,Yt)]),default:o(()=>[s("div",null,[s("p",null,n(O.des),1),s("div",Xt,[s("span",Kt,n(x.value),1),s("span",Jt,n(O.model3Count),1)]),s("div",Zt,[s("span",en,n(e(C)),1),s("span",tn,n(O.model4Count),1)]),s("div",nn,[s("span",sn,n(e(T)),1),s("span",rn,n(O.drawMjCount),1)]),s("div",an,[s("i",on,n(`¥${O.price}`),1),u(e(D),{type:"primary",dashed:"",size:"small",onClick:L},{default:o(()=>[j(n(e(t)("usercenter.buyPackage")),1)]),_:1})])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])]),_:1})]),_:1},8,["show","width"])]))}}),un={class:"flex flex-col justify-center items-center"},cn={class:"text-2xl text-primary self-start mb-14 flex justify-between w-full"},dn={class:"mt-3 text-lg text-[#555]"},fn={class:"self-start mt-16"},pn={class:"text-xl text-primary"},mn={class:"flex items-center space-x-4 pl-3 mt-3"},vn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},yn={class:"w-[230px]"},hn={class:"flex items-center space-x-4 pl-3 mt-3"},gn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},_n={class:"w-[230px]"},bn={key:0,class:"flex items-center space-x-4 pl-3 mt-3"},xn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},wn={class:"w-[230px]"},Cn={key:1},kn={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Sn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},$n={class:"w-[230px]"},Tn={key:0,class:"flex text-[red] pt-8 text-base font-bold"},Pn={key:1},An={class:"flex items-center space-x-4"},Mn={class:"flex-shrink-0 w-[60px]"},Nn={class:"flex-1"},En={class:"flex items-center space-x-4 mt-5"},In={class:"flex-shrink-0 w-[60px]"},Ln={class:"flex-1"},Gn=se({__name:"index",setup(W){const S=_e(),b=ne(),w=ge(),$=I(0),m=M(()=>b.userBalance),f=M(()=>{var E;return(E=b.globalConfig)==null?void 0:E.isUseWxLogin}),r=M(()=>Number(b.globalConfig.wechatRegisterStatus)===1),c=M(()=>b.globalConfig.model3Name||t("goods.basicModelQuota")),p=M(()=>b.globalConfig.model4Name)||t("goods.advancedModelQuota");M(()=>b.globalConfig.drawMjName)||t("goods.drawingQuota"),M(()=>Number(b.globalConfig.isHideModel3Point)===1),M(()=>Number(b.globalConfig.isHideModel4Point)===1),M(()=>Number(b.globalConfig.isHideDrawMjPoint)===1);const h=I(!0),x=M(()=>b.isLogin),C=de();M(()=>b.userInfo.email||"");const T=M(()=>b.userInfo.isBindWx),y=I(b.userInfo.avatar??le),a=I(b.userInfo.username??"未登录");I(b.userInfo.sign??t("usercenter.defaultSignature"));const d=I(!1),{isSmallLg:P,isMobile:F}=ue();async function Q(){const E=await Le();$.value=E.data||0}async function H(){(await Re()).success&&C.success(t("usercenter.syncComplete")),Q()}async function q(E){try{d.value=!0;const L=await De(E);if(d.value=!1,!L.success)return C.error(L.message);C.success(t("common.updateUserSuccess")),b.getUserInfo()}catch{d.value=!1}}function X(){x.value||(w.push("/"),b.setLoginDialog(!0))}ce(()=>{X(),Q()});function K(){b.logOut(),w.push("/")}return setTimeout(()=>{h.value=!1},500),(E,L)=>(A(),R(e(qe),{"has-sider":"",class:"flex h-full"},{default:o(()=>[e(P)?z("",!0):(A(),R(e(Qe),{key:0,"content-style":"padding: 24px;",bordered:"",width:"380"},{default:o(()=>[s("div",un,[s("div",cn,[s("span",null,n(e(t)("usercenter.personalCenter")),1),u(e(D),{tertiary:"",type:"error",onClick:K},{default:o(()=>[j(n(e(t)("usercenter.logOut")),1)]),_:1})]),u(e(me),{size:148,src:y.value,"fallback-src":e(le)},null,8,["src","fallback-src"]),s("b",dn,n(a.value),1),s("div",fn,[s("div",pn,n(e(t)("usercenter.myUsageRecord")),1),s("div",mn,[s("span",vn,n(c.value),1),s("div",yn,n(m.value.useModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",hn,[s("span",gn,n(e(p)),1),s("div",_n,n(m.value.useModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),f.value&&r.value?(A(),B("div",bn,[s("span",xn,n(e(t)("usercenter.bindWeChat")),1),s("div",wn,[T.value?(A(),B("span",Cn,n(e(t)("usercenter.weChatBound")),1)):(A(),R(e(D),{key:0,text:"",onClick:L[0]||(L[0]=N=>e(S).updateBindwxDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):z("",!0),$.value>0?(A(),B("div",kn,[s("span",Sn,n(e(t)("usercenter.clickToBindWeChat")),1),s("div",$n,[u(e(D),{text:"",onClick:H},{default:o(()=>[j(n(e(t)("usercenter.syncVisitorData")),1)]),_:1})])])):z("",!0)])]),m.value.expirationTime?(A(),B("div",Tn,[s("span",null,n(e(t)("usercenter.membershipExpiration")),1),s("span",null,n(m.value.expirationTime),1)])):z("",!0)]),_:1})),s("div",{class:pe(["flex flex-col",[e(F)?"w-full":"flex-1"]]),style:Ue({padding:e(F)?"10px":"0 28px 0 28px"})},[u(e(je),{title:e(t)("usercenter.personalCenter"),des:e(t)("usercenter.editInfoDescription"),padding:(e(F),1)},null,8,["title","des","padding"]),u(e(Ye),{type:"line",animated:"",class:"mt-5 flex-1"},{default:o(()=>[e(P)?(A(),R(e(Z),{key:0,name:"detail",tab:e(t)("usercenter.myDetails")},{default:o(()=>[u(_t)]),_:1},8,["tab"])):z("",!0),u(e(Z),{name:"account",tab:e(t)("usercenter.myWallet")},{default:o(()=>[u(ln)]),_:1},8,["tab"]),u(e(Z),{name:"baseInfo",tab:e(t)("usercenter.basicInfo")},{default:o(()=>[u(e(Y),null,{header:o(()=>[h.value||!x.value?(A(),R(e(ie),{key:0,size:"medium",width:"20%"})):(A(),B("div",Pn,n(e(t)("usercenter.userBasicSettings")),1))]),default:o(()=>[h.value||!x.value?(A(),R(e(ve),{key:0,vertical:""},{default:o(()=>[u(e(ie),{height:"40px",size:"medium"}),u(e(ie),{height:"40px",size:"medium"}),u(e(ie),{height:"80px",size:"medium"})]),_:1})):(A(),R(e(ee),{key:1,"x-gap":"12",cols:1},{default:o(()=>[u(e(V),null,{default:o(()=>[s("div",An,[s("span",Mn,n(E.$t("setting.avatarLink")),1),s("div",Nn,[u(e(te),{value:y.value,"onUpdate:value":L[1]||(L[1]=N=>y.value=N),placeholder:e(t)("usercenter.avatarPlaceholder")},null,8,["value","placeholder"])]),u(e(D),{size:"tiny",text:"",type:"primary",onClick:L[2]||(L[2]=N=>q({avatar:y.value}))},{default:o(()=>[j(n(E.$t("common.update")),1)]),_:1})]),s("div",En,[s("span",In,n(E.$t("setting.name")),1),s("div",Ln,[u(e(te),{value:a.value,"onUpdate:value":L[3]||(L[3]=N=>a.value=N),placeholder:e(t)("usercenter.usernamePlaceholder"),maxlength:"12","show-count":"",clearable:""},null,8,["value","placeholder"])]),u(e(D),{size:"tiny",text:"",type:"primary",onClick:L[4]||(L[4]=N=>q({username:a.value}))},{default:o(()=>[j(n(E.$t("common.update")),1)]),_:1})])]),_:1})]),_:1}))]),_:1})]),_:1},8,["tab"]),u(e(Z),{name:"password",tab:e(t)("usercenter.passwordManagement")},{default:o(()=>[u(Rt)]),_:1},8,["tab"]),u(e(Z),{name:"invite",tab:e(t)("usercenter.inviteBenefits")},{default:o(()=>[u(Tt)]),_:1},8,["tab"])]),_:1})],6)]),_:1}))}});export{Gn as default}; + */(function(W,S){(function(w,$){W.exports=$()})(Be,function(){return function(){var x={686:function(m,f,r){r.d(f,{default:function(){return Me}});var c=r(279),p=r.n(c),g=r(370),b=r.n(g),C=r(817),T=r.n(C);function y(_){try{return document.execCommand(_)}catch{return!1}}var a=function(l){var i=T()(l);return y("cut"),i},d=a;function P(_){var l=document.documentElement.getAttribute("dir")==="rtl",i=document.createElement("textarea");i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[l?"right":"left"]="-9999px";var v=window.pageYOffset||document.documentElement.scrollTop;return i.style.top="".concat(v,"px"),i.setAttribute("readonly",""),i.value=_,i}var H=function(l,i){var v=P(l);i.container.appendChild(v);var h=T()(v);return y("copy"),v.remove(),h},Q=function(l){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},v="";return typeof l=="string"?v=H(l,i):l instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(l==null?void 0:l.type)?v=H(l.value,i):(v=T()(l),y("copy")),v},F=Q;function q(_){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q=function(i){return typeof i}:q=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},q(_)}var X=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=l.action,v=i===void 0?"copy":i,h=l.container,k=l.target,G=l.text;if(v!=="copy"&&v!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(k!==void 0)if(k&&q(k)==="object"&&k.nodeType===1){if(v==="copy"&&k.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(v==="cut"&&(k.hasAttribute("readonly")||k.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(G)return F(G,{container:h});if(k)return v==="cut"?d(k):F(k,{container:h})},K=X;function E(_){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(i){return typeof i}:E=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},E(_)}function L(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")}function N(_,l){for(var i=0;i"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function re(_){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},re(_)}function fe(_,l){var i="data-clipboard-".concat(_);if(l.hasAttribute(i))return l.getAttribute(i)}var Pe=function(_){O(i,_);var l=ke(i);function i(v,h){var k;return L(this,i),k=l.call(this),k.resolveOptions(h),k.listenClick(v),k}return U(i,[{key:"resolveOptions",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof h.action=="function"?h.action:this.defaultAction,this.target=typeof h.target=="function"?h.target:this.defaultTarget,this.text=typeof h.text=="function"?h.text:this.defaultText,this.container=E(h.container)==="object"?h.container:document.body}},{key:"listenClick",value:function(h){var k=this;this.listener=b()(h,"click",function(G){return k.onClick(G)})}},{key:"onClick",value:function(h){var k=h.delegateTarget||h.currentTarget,G=this.action(k)||"copy",ae=K({action:G,container:this.container,target:this.target(k),text:this.text(k)});this.emit(ae?"success":"error",{action:G,text:ae,trigger:k,clearSelection:function(){k&&k.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(h){return fe("action",h)}},{key:"defaultTarget",value:function(h){var k=fe("target",h);if(k)return document.querySelector(k)}},{key:"defaultText",value:function(h){return fe("text",h)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(h){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return F(h,k)}},{key:"cut",value:function(h){return d(h)}},{key:"isSupported",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],k=typeof h=="string"?[h]:h,G=!!document.queryCommandSupported;return k.forEach(function(ae){G=G&&!!document.queryCommandSupported(ae)}),G}}]),i}(p()),Me=Pe},828:function(m){var f=9;if(typeof Element<"u"&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function c(p,g){for(;p&&p.nodeType!==f;){if(typeof p.matches=="function"&&p.matches(g))return p;p=p.parentNode}}m.exports=c},438:function(m,f,r){var c=r(828);function p(C,T,y,a,d){var P=b.apply(this,arguments);return C.addEventListener(y,P,d),{destroy:function(){C.removeEventListener(y,P,d)}}}function g(C,T,y,a,d){return typeof C.addEventListener=="function"?p.apply(null,arguments):typeof y=="function"?p.bind(null,document).apply(null,arguments):(typeof C=="string"&&(C=document.querySelectorAll(C)),Array.prototype.map.call(C,function(P){return p(P,T,y,a,d)}))}function b(C,T,y,a){return function(d){d.delegateTarget=c(d.target,T),d.delegateTarget&&a.call(C,d)}}m.exports=g},879:function(m,f){f.node=function(r){return r!==void 0&&r instanceof HTMLElement&&r.nodeType===1},f.nodeList=function(r){var c=Object.prototype.toString.call(r);return r!==void 0&&(c==="[object NodeList]"||c==="[object HTMLCollection]")&&"length"in r&&(r.length===0||f.node(r[0]))},f.string=function(r){return typeof r=="string"||r instanceof String},f.fn=function(r){var c=Object.prototype.toString.call(r);return c==="[object Function]"}},370:function(m,f,r){var c=r(879),p=r(438);function g(y,a,d){if(!y&&!a&&!d)throw new Error("Missing required arguments");if(!c.string(a))throw new TypeError("Second argument must be a String");if(!c.fn(d))throw new TypeError("Third argument must be a Function");if(c.node(y))return b(y,a,d);if(c.nodeList(y))return C(y,a,d);if(c.string(y))return T(y,a,d);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function b(y,a,d){return y.addEventListener(a,d),{destroy:function(){y.removeEventListener(a,d)}}}function C(y,a,d){return Array.prototype.forEach.call(y,function(P){P.addEventListener(a,d)}),{destroy:function(){Array.prototype.forEach.call(y,function(P){P.removeEventListener(a,d)})}}}function T(y,a,d){return p(document.body,y,a,d)}m.exports=g},817:function(m){function f(r){var c;if(r.nodeName==="SELECT")r.focus(),c=r.value;else if(r.nodeName==="INPUT"||r.nodeName==="TEXTAREA"){var p=r.hasAttribute("readonly");p||r.setAttribute("readonly",""),r.select(),r.setSelectionRange(0,r.value.length),p||r.removeAttribute("readonly"),c=r.value}else{r.hasAttribute("contenteditable")&&r.focus();var g=window.getSelection(),b=document.createRange();b.selectNodeContents(r),g.removeAllRanges(),g.addRange(b),c=g.toString()}return c}m.exports=f},279:function(m){function f(){}f.prototype={on:function(r,c,p){var g=this.e||(this.e={});return(g[r]||(g[r]=[])).push({fn:c,ctx:p}),this},once:function(r,c,p){var g=this;function b(){g.off(r,b),c.apply(p,arguments)}return b._=c,this.on(r,b,p)},emit:function(r){var c=[].slice.call(arguments,1),p=((this.e||(this.e={}))[r]||[]).slice(),g=0,b=p.length;for(g;g{const S=(W==null?void 0:W.appendToBody)===void 0?!0:W.appendToBody;return{toClipboard(x,w){return new Promise(($,m)=>{const f=document.createElement("button"),r=new bt(f,{text:()=>x,action:()=>"copy",container:w!==void 0?w:document.body});r.on("success",c=>{r.destroy(),$(c)}),r.on("error",c=>{r.destroy(),m(c)}),S&&document.body.appendChild(f),f.click(),S&&document.body.removeChild(f)})}}},Ct={class:"text-[#95aac9] mb-2 text-base"},kt={class:"text-2xl text-[#555] dark:text-[#fff] whitespace-nowrap"},St=s("b",{class:"text-[000]"},"Tips",-1),$t={class:"flex flex-col text-[#707384]"},Tt=se({__name:"invite",setup(W){const{toClipboard:S}=wt(),x=ne(),w=A(()=>x.userInfo.inviteCode),$=A(()=>x.globalConfig),{isSmallXl:m,isMobile:f}=ue(),r=de(),c=I(!1),p=xe({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:a=>{p.page=a,T()},onUpdatePageSize:a=>{p.pageSize=a,p.page=1,T()}}),g=A(()=>[{title:t("usercenter.avatar"),key:"avatar",render(a){return oe(me,{src:a.avatar,size:"small",round:!0})}},{title:t("usercenter.username"),key:"username"},{title:t("usercenter.email"),key:"email"},{title:t("usercenter.inviteeStatus"),key:"status",render(a){return oe(D,{type:a.status===1?"primary":"error",size:"small",round:!0,quaternary:!0},{default:()=>a.status===1?t("usercenter.certified"):t("usercenter.notActivated")})}},{title:t("usercenter.inviteTime"),key:"createdAt",render(a){return oe("div",{style:{fontSize:"12px",color:"#999"}},()=>a.createdAt)}},{title:t("usercenter.rewardStatus"),key:"status",render(a){return oe(D,{type:a.status===1?"success":"warning",size:"small",round:!0,quaternary:!0},{default:()=>a.status===1?t("usercenter.rewardReceived"):t("usercenter.waitingConfirmation")})}}]),b=I([]);async function C(){const a=await Ne();if(!a.data)return r.error(a.message);r.error(t("usercenter.linkGeneratedSuccess")),x.getUserInfo()}async function T(){try{c.value=!0;const a=await Ae({page:p.page,size:p.pageSize});b.value=a.data.rows,c.value=!1}catch{c.value=!1}}async function y(){if(!w.value)return r.error(t("usercenter.generateLinkFirst"));const a=`${window.location.href}?inVitecode=${w.value}`;try{await S(a),r.success(t("usercenter.linkCopiedSuccess"))}catch{r.error(t("usercenter.copyNotSupported"))}}return ce(()=>{T()}),(a,d)=>(M(),B(be,null,[u(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.inviteForBenefits")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(m)?1:3,class:"mt-3"},{default:o(()=>{var P;return[u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:2},{default:o(()=>[s("div",Ct,n(e(t)("usercenter.myInviteCode")),1),s("div",{class:pe(["flex justify-between",[e(m)?"flex-col mt-3":""]])},[s("b",kt,n(w.value||"********"),1),u(e(ve),{class:pe([e(m)?" mt-3":""])},{default:o(()=>[u(e(D),{type:"success",onClick:C},{default:o(()=>[j(n(e(t)("usercenter.generateInviteCode")),1)]),_:1}),u(e(D),{type:"primary",onClick:y},{default:o(()=>[j(n(e(t)("usercenter.copyInviteLink")),1)]),_:1})]),_:1},8,["class"])],2)]),_:1}),Number((P=$.value)==null?void 0:P.inviteSendStatus)===1?(M(),R(e(V),{key:0,class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:1},{default:o(()=>[St,s("div",$t,[s("span",null,n(e(t)("usercenter.inviteOneUser")),1),s("span",null,n($.value.inviteGiveSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n($.value.inviteGiveSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n($.value.inviteGiveSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1),s("span",null,n(e(t)("usercenter.receiveInvitation")),1),s("span",null,n($.value.invitedGuestSendModel3Count)+" "+n(e(t)("usercenter.basicModelCredits"))+" "+n($.value.invitedGuestSendModel4Count)+" "+n(e(t)("usercenter.advancedModelCredits"))+" "+n($.value.invitedGuestSendDrawMjCount)+" "+n(e(t)("usercenter.mjDrawingCredits")),1)])]),_:1})):z("",!0)]}),_:1},8,["cols"])]),_:1}),u(e(Y),{class:"mt-5"},{header:o(()=>[s("div",null,n(e(t)("usercenter.invitationRecord")),1)]),default:o(()=>[u(e(we),{loading:c.value,remote:!0,"pagination-behavior-on-filter":"first",class:"min-h-[350px]",columns:g.value,data:b.value,pagination:p,"scroll-x":500},null,8,["loading","columns","data","pagination"])]),_:1})],64))}}),Pt={class:"flex justify-between"},Mt={class:"text-[#95AAC9]"},At={class:"text-base"},Nt={class:"text-[#95AAC9] mt-3"},Et={class:"ml-3 text-[#95AAC9] mt-2"},It={class:"ml-3 text-[#95AAC9] mt-2"},Lt={class:"ml-3 text-[#95AAC9] mt-2"},Rt=se({__name:"password",setup(W){const S=I({password:"",reenteredPassword:""}),x=S,w=I(null),$=I(null),m={password:[{required:!0,message:t("usercenter.enterPassword")}],reenteredPassword:[{required:!0,message:t("usercenter.reenterPassword"),trigger:["input","blur"]},{validator:f,message:t("usercenter.passwordsNotMatch"),trigger:"input"},{validator:r,message:t("usercenter.passwordsNotMatch"),trigger:["blur","password-input"]}]};function f(a,d){return!!S.value.password&&S.value.password.startsWith(d)&&S.value.password.length>=d.length}function r(a,d){return d===S.value.password}function c(){var a;S.value.reenteredPassword&&((a=$.value)==null||a.validate({trigger:"password-input"}))}const{isSmallXl:p}=ue(),g=ne(),b=de();async function C(a){await Ee(a),b.success(t("usercenter.passwordUpdateSuccess")),T(),g.updatePasswordSuccess()}function T(){S.value={password:"",reenteredPassword:""}}function y(a){var d;a.preventDefault(),(d=w.value)==null||d.validate(async P=>{if(!P){const{password:H}=S.value;C({password:H})}})}return(a,d)=>(M(),R(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.changeYourPassword")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(p)?1:3,class:"mt-3"},{default:o(()=>[u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:"2"},{default:o(()=>[u(e(Ge),{ref_key:"formRef",ref:w,model:e(x),rules:m},{default:o(()=>[u(e(ge),{path:"password",label:e(t)("usercenter.newPassword")},{default:o(()=>[u(e(te),{value:e(x).password,"onUpdate:value":d[0]||(d[0]=P=>e(x).password=P),type:"password",onInput:c,onKeydown:d[1]||(d[1]=ye(ze(()=>{},["prevent"]),["enter"]))},null,8,["value"])]),_:1},8,["label"]),u(e(ge),{ref_key:"rPasswordFormItemRef",ref:$,first:"",path:"reenteredPassword",label:e(t)("usercenter.confirmPassword")},{default:o(()=>[u(e(te),{value:e(x).reenteredPassword,"onUpdate:value":d[2]||(d[2]=P=>e(x).reenteredPassword=P),disabled:!e(x).password,type:"password",tabindex:"0",onKeyup:ye(y,["enter"])},null,8,["value","disabled"])]),_:1},8,["label"]),s("div",Pt,[s("span",Mt,n(e(t)("usercenter.reloginAfterPasswordChange")),1),u(e(D),{disabled:e(x).password===null,type:"primary",onClick:y},{default:o(()=>[j(n(e(t)("usercenter.updateYourPassword")),1)]),_:1},8,["disabled"])])]),_:1},8,["model"])]),_:1}),u(e(V),{class:"border rounded-sm p-3 dark:border-[#ffffff17]"},{default:o(()=>[s("b",At,n(e(t)("usercenter.passwordRequirements")),1),s("p",Nt,n(e(t)("usercenter.newPasswordInstructions")),1),s("div",Et,n(e(t)("usercenter.minimumCharacters")),1),s("div",It,n(e(t)("usercenter.maximumCharacters")),1),s("div",Lt,n(e(t)("usercenter.requireNumber")),1)]),_:1})]),_:1},8,["cols"])]),_:1}))}}),Dt={1:t("rechargeTypes.1"),2:t("rechargeTypes.2"),3:t("rechargeTypes.3"),4:t("rechargeTypes.4"),5:t("rechargeTypes.5"),6:t("rechargeTypes.6"),7:t("rechargeTypes.7"),8:t("rechargeTypes.8")};t("orderStatus.0"),t("orderStatus.1"),t("orderStatus.2"),t("orderStatus.3");const jt={class:"flex h-full flex-col"},zt={class:"text-[#95aac9] mb-2 text-base"},Ot={class:"text-3xl text-[#555]"},Ut={class:"ml-4 text-[#989898]"},Bt={class:"text-[#95aac9] mb-2 text-base"},Wt={class:"text-3xl text-[#555]"},Gt={class:"ml-4 text-[#989898]"},Ht={class:"text-[#95aac9] mb-2 text-base"},Ft={class:"text-3xl text-[#555]"},Vt={class:"ml-4 text-[#989898]"},qt={class:"text-[#95aac9] mb-2 text-base"},Qt={class:"relative"},Yt=["src"],Xt={class:"flex justify-between items-end min-h-28"},Kt={class:"text-sm font-bold mr-1"},Zt={class:"font-bold"},Jt={class:"flex justify-between items-end min-h-28"},en={class:"text-sm font-bold mr-1"},tn={class:"font-bold"},nn={class:"flex justify-between items-end min-h-28"},sn={class:"text-sm font-bold mr-1"},rn={class:"font-bold"},an={class:"flex justify-between items-end mt-5"},on={class:"text-xl text-[red] font-bold"},ln=se({__name:"wallet",setup(W){const{isSmallMd:S,isMobile:x}=ue(),w=ne(),$=de();He();const m=A(()=>w.userBalance),f=I(!1),r=I(""),c=I(!1),p=I([]),g=I(!1),b=A(()=>w.globalConfig.model3Name||t("usercenter.basicModelQuota")),C=A(()=>w.globalConfig.model4Name)||t("usercenter.advancedModelQuota"),T=A(()=>w.globalConfig.drawMjName)||t("usercenter.mjDrawingQuota"),y=A(()=>Number(w.globalConfig.isHideModel3Point)===1),a=A(()=>Number(w.globalConfig.isHideModel4Point)===1),d=A(()=>Number(w.globalConfig.isHideDrawMjPoint)===1),P=xe({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:N=>{P.page=N,F()},onUpdatePageSize:N=>{P.pageSize=N,P.page=1,F()}}),H=A(()=>{const N=[{title:t("usercenter.orderNumber"),key:"uid"},{title:t("usercenter.rechargeType"),key:"rechargeType",render(U){return Dt[U.rechargeType]}},{title:t("usercenter.validity"),key:"expireDateCn"},{title:t("usercenter.rechargeTime"),key:"createdAt",render(U){return U.createdAt}}];return y.value||N.splice(2,0,{title:b.value,key:"model3Count"}),a.value||N.splice(3,0,{title:C.value,key:"model4Count"}),d.value||N.splice(4,0,{title:T.value,key:"drawMjCount"}),N}),Q=I([]);async function F(){const N=await Ie({page:P.page,size:P.pageSize}),{rows:U}=N.data;Q.value=U}async function q(){$.warning(t("usercenter.enterCardSecret"));try{f.value=!0,await Xe({code:r.value}),$.success(t("usercenter.cardRedeemSuccess")),F(),w.getUserInfo(),f.value=!1}catch{$.error(t("usercenter.unknownError")),f.value=!1}}function X(){c.value=!0}async function K(){const N=await Ke({status:1,size:30});p.value=N.data.rows}const E=A(()=>{var N;return(N=w.globalConfig)==null?void 0:N.buyCramiAddress});function L(){window.open(E.value)}return ce(()=>{F()}),(N,U)=>(M(),B("div",jt,[u(e(Y),null,{header:o(()=>[s("div",null,n(e(t)("usercenter.userWalletBalance")),1)]),default:o(()=>[u(e(ee),{"x-gap":24,"y-gap":24,cols:e(S)?1:2,class:"mt-3"},{default:o(()=>[y.value?z("",!0):(M(),R(e(V),{key:0,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",zt,n(b.value),1),s("b",Ot,n(m.value.sumModel3Count??0),1),s("span",Ut,n(e(t)("usercenter.creditUsageNote")),1)]),_:1})),a.value?z("",!0):(M(),R(e(V),{key:1,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",Bt,n(e(C)),1),s("b",Wt,n(m.value.sumModel4Count??0),1),s("span",Gt,n(e(t)("usercenter.modelConsumptionNote")),1)]),_:1})),d.value?z("",!0):(M(),R(e(V),{key:2,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",Ht,n(e(T)),1),s("b",Ft,n(m.value.sumDrawMjCount??0),1),s("span",Vt,n(e(t)("usercenter.drawingConsumptionNote")),1)]),_:1})),u(e(V),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:o(()=>[s("div",qt,n(e(t)("usercenter.cardRecharge")),1),u(e(ve),{wrap:!1},{default:o(()=>[u(e(te),{value:r.value,"onUpdate:value":U[0]||(U[0]=O=>r.value=O),placeholder:e(t)("usercenter.enterCardDetails"),class:"mr-3",maxlength:"128","show-count":"",clearable:""},null,8,["value","placeholder"]),u(e(D),{type:"primary",loading:f.value,onClick:q},{default:o(()=>[j(n(e(t)("usercenter.exchange")),1)]),_:1},8,["loading"]),E.value?(M(),R(e(D),{key:0,type:"success",onClick:X},{default:o(()=>[j(n(e(t)("usercenter.buyCardSecret")),1)]),_:1})):z("",!0)]),_:1})]),_:1})]),_:1},8,["cols"])]),_:1}),u(e(Y),{class:"mt-5 flex-1"},{header:o(()=>[s("div",null,n(e(t)("usercenter.rechargeRecords")),1)]),default:o(()=>[u(e(we),{columns:H.value,loading:g.value,"scroll-x":800,data:Q.value,"max-height":"280",pagination:P},null,8,["columns","loading","data","pagination"])]),_:1}),u(e(Ve),{show:c.value,"onUpdate:show":U[1]||(U[1]=O=>c.value=O),width:e(S)?"100%":502,"on-after-enter":K},{default:o(()=>[u(e(Fe),{title:"{{ t('usercenter.packagePurchase') }}",closable:""},{default:o(()=>[u(e(ee),{"x-gap":15,"y-gap":15,cols:e(S)?1:2,class:"mt-3"},{default:o(()=>[(M(!0),B(be,null,Oe(p.value,(O,Z)=>(M(),R(e(V),{key:Z},{default:o(()=>[u(e(Y),{size:"small",embedded:""},{header:o(()=>[s("div",Qt,[s("b",null,n(O.name),1)])]),cover:o(()=>[s("img",{src:O.coverImg},null,8,Yt)]),default:o(()=>[s("div",null,[s("p",null,n(O.des),1),s("div",Xt,[s("span",Kt,n(b.value),1),s("span",Zt,n(O.model3Count),1)]),s("div",Jt,[s("span",en,n(e(C)),1),s("span",tn,n(O.model4Count),1)]),s("div",nn,[s("span",sn,n(e(T)),1),s("span",rn,n(O.drawMjCount),1)]),s("div",an,[s("i",on,n(`¥${O.price}`),1),u(e(D),{type:"primary",dashed:"",size:"small",onClick:L},{default:o(()=>[j(n(e(t)("usercenter.buyPackage")),1)]),_:1})])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])]),_:1})]),_:1},8,["show","width"])]))}}),un={class:"flex flex-col justify-center items-center"},cn={class:"text-2xl text-primary self-start mb-14 flex justify-between w-full"},dn={class:"mt-3 text-lg text-[#555]"},fn={class:"self-start mt-16"},pn={class:"text-xl text-primary"},mn={class:"flex items-center space-x-4 pl-3 mt-3"},vn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},yn={class:"w-[230px]"},gn={class:"flex items-center space-x-4 pl-3 mt-3"},hn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},_n={class:"w-[230px]"},xn={key:0,class:"flex items-center space-x-4 pl-3 mt-3"},bn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},wn={class:"w-[230px]"},Cn={key:1},kn={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Sn={class:"flex-shrink-0 w-[150px] text-keft text-primary"},$n={class:"w-[230px]"},Tn={key:0,class:"flex text-[red] pt-8 text-base font-bold"},Pn={key:1},Mn={class:"flex items-center space-x-4"},An={class:"flex-shrink-0 w-[60px]"},Nn={class:"flex-1"},En={class:"flex items-center space-x-4 mt-5"},In={class:"flex-shrink-0 w-[60px]"},Ln={class:"flex-1"},Gn=se({__name:"index",setup(W){const S=_e(),x=ne(),w=he(),$=I(0),m=A(()=>x.userBalance),f=A(()=>{var E;return(E=x.globalConfig)==null?void 0:E.isUseWxLogin}),r=A(()=>Number(x.globalConfig.wechatRegisterStatus)===1),c=A(()=>x.globalConfig.model3Name||t("goods.basicModelQuota")),p=A(()=>x.globalConfig.model4Name)||t("goods.advancedModelQuota");A(()=>x.globalConfig.drawMjName)||t("goods.drawingQuota"),A(()=>Number(x.globalConfig.isHideModel3Point)===1),A(()=>Number(x.globalConfig.isHideModel4Point)===1),A(()=>Number(x.globalConfig.isHideDrawMjPoint)===1);const g=I(!0),b=A(()=>x.isLogin),C=de();A(()=>x.userInfo.email||"");const T=A(()=>x.userInfo.isBindWx),y=I(x.userInfo.avatar??le),a=I(x.userInfo.username??"未登录");I(x.userInfo.sign??t("usercenter.defaultSignature"));const d=I(!1),{isSmallLg:P,isMobile:H}=ue();async function Q(){const E=await Le();$.value=E.data||0}async function F(){(await Re()).success&&C.success(t("usercenter.syncComplete")),Q()}async function q(E){try{d.value=!0;const L=await De(E);if(d.value=!1,!L.success)return C.error(L.message);C.success(t("common.updateUserSuccess")),x.getUserInfo()}catch{d.value=!1}}function X(){b.value||(w.replace("/"),x.setLoginDialog(!0))}ce(()=>{X(),Q()});function K(){x.logOut(),w.replace("/")}return setTimeout(()=>{g.value=!1},500),(E,L)=>(M(),R(e(qe),{"has-sider":"",class:"flex h-full"},{default:o(()=>[e(P)?z("",!0):(M(),R(e(Qe),{key:0,"content-style":"padding: 24px;",bordered:"",width:"380"},{default:o(()=>[s("div",un,[s("div",cn,[s("span",null,n(e(t)("usercenter.personalCenter")),1),u(e(D),{tertiary:"",type:"error",onClick:K},{default:o(()=>[j(n(e(t)("usercenter.logOut")),1)]),_:1})]),u(e(me),{size:148,src:y.value,"fallback-src":e(le)},null,8,["src","fallback-src"]),s("b",dn,n(a.value),1),s("div",fn,[s("div",pn,n(e(t)("usercenter.myUsageRecord")),1),s("div",mn,[s("span",vn,n(c.value),1),s("div",yn,n(m.value.useModel3Count||"0")+" "+n(e(t)("usercenter.points")),1)]),s("div",gn,[s("span",hn,n(e(p)),1),s("div",_n,n(m.value.useModel4Count||"0")+" "+n(e(t)("usercenter.points")),1)]),f.value&&r.value?(M(),B("div",xn,[s("span",bn,n(e(t)("usercenter.bindWeChat")),1),s("div",wn,[T.value?(M(),B("span",Cn,n(e(t)("usercenter.weChatBound")),1)):(M(),R(e(D),{key:0,text:"",onClick:L[0]||(L[0]=N=>e(S).updateBindwxDialog(!0))},{default:o(()=>[j(n(e(t)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):z("",!0),$.value>0?(M(),B("div",kn,[s("span",Sn,n(e(t)("usercenter.clickToBindWeChat")),1),s("div",$n,[u(e(D),{text:"",onClick:F},{default:o(()=>[j(n(e(t)("usercenter.syncVisitorData")),1)]),_:1})])])):z("",!0)])]),m.value.expirationTime?(M(),B("div",Tn,[s("span",null,n(e(t)("usercenter.membershipExpiration")),1),s("span",null,n(m.value.expirationTime),1)])):z("",!0)]),_:1})),s("div",{class:pe(["flex flex-col",[e(H)?"w-full":"flex-1"]]),style:Ue({padding:e(H)?"10px":"0 28px 0 28px"})},[u(e(je),{title:e(t)("usercenter.personalCenter"),des:e(t)("usercenter.editInfoDescription"),padding:(e(H),1)},null,8,["title","des","padding"]),u(e(Ye),{type:"line",animated:"",class:"mt-5 flex-1"},{default:o(()=>[e(P)?(M(),R(e(J),{key:0,name:"detail",tab:e(t)("usercenter.myDetails")},{default:o(()=>[u(_t)]),_:1},8,["tab"])):z("",!0),u(e(J),{name:"account",tab:e(t)("usercenter.myWallet")},{default:o(()=>[u(ln)]),_:1},8,["tab"]),u(e(J),{name:"baseInfo",tab:e(t)("usercenter.basicInfo")},{default:o(()=>[u(e(Y),null,{header:o(()=>[g.value||!b.value?(M(),R(e(ie),{key:0,size:"medium",width:"20%"})):(M(),B("div",Pn,n(e(t)("usercenter.userBasicSettings")),1))]),default:o(()=>[g.value||!b.value?(M(),R(e(ve),{key:0,vertical:""},{default:o(()=>[u(e(ie),{height:"40px",size:"medium"}),u(e(ie),{height:"40px",size:"medium"}),u(e(ie),{height:"80px",size:"medium"})]),_:1})):(M(),R(e(ee),{key:1,"x-gap":"12",cols:1},{default:o(()=>[u(e(V),null,{default:o(()=>[s("div",Mn,[s("span",An,n(E.$t("setting.avatarLink")),1),s("div",Nn,[u(e(te),{value:y.value,"onUpdate:value":L[1]||(L[1]=N=>y.value=N),placeholder:e(t)("usercenter.avatarPlaceholder")},null,8,["value","placeholder"])]),u(e(D),{size:"tiny",text:"",type:"primary",onClick:L[2]||(L[2]=N=>q({avatar:y.value}))},{default:o(()=>[j(n(E.$t("common.update")),1)]),_:1})]),s("div",En,[s("span",In,n(E.$t("setting.name")),1),s("div",Ln,[u(e(te),{value:a.value,"onUpdate:value":L[3]||(L[3]=N=>a.value=N),placeholder:e(t)("usercenter.usernamePlaceholder"),maxlength:"12","show-count":"",clearable:""},null,8,["value","placeholder"])]),u(e(D),{size:"tiny",text:"",type:"primary",onClick:L[4]||(L[4]=N=>q({username:a.value}))},{default:o(()=>[j(n(E.$t("common.update")),1)]),_:1})])]),_:1})]),_:1}))]),_:1})]),_:1},8,["tab"]),u(e(J),{name:"password",tab:e(t)("usercenter.passwordManagement")},{default:o(()=>[u(Rt)]),_:1},8,["tab"]),u(e(J),{name:"invite",tab:e(t)("usercenter.inviteBenefits")},{default:o(()=>[u(Tt)]),_:1},8,["tab"])]),_:1})],6)]),_:1}))}});export{Gn as default}; diff --git a/public/assets/index-d64a7cc4.js b/public/chat/assets/index-a70ad6b3.js similarity index 73% rename from public/assets/index-d64a7cc4.js rename to public/chat/assets/index-a70ad6b3.js index f2c5122..d7c52ff 100644 --- a/public/assets/index-d64a7cc4.js +++ b/public/chat/assets/index-a70ad6b3.js @@ -1,8 +1,8 @@ -import{d as rt,S as zi,V as Ki,W as wt,X as ut,M as Re,m as z0,l as mt,Y as ia,r as Ze,E as Yi,Z as K0,a as nt,w as St,j as Xi,N as Gt,_ as Qi,$ as Y0,K as X0,L as Q0,n as Ji,a0 as J0,e as ve,g as $t,f as Zi,G as Z0,x as sa,h as ec,F as es,D as tc,a1 as rc,p as Lr,P as nc,a2 as ac}from"./vue-10b4afc0.js";import{N as oc,a as ic,b as sc,c as cc,u as lc,d as uc,e as fc,f as dc,g as hc,h as re,i as xc,j as pc,k as nr,l as mc,m as gc,n as vc,o as Rr}from"./naive-ui-fedd20b1.js";import{i as Ec}from"./vueuse-motion-d4cdaf7b.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const bc="modulepreload",Cc=function(e,t){return new URL(e,t).href},Wa={},Ie=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Cc(a,n),a in Wa)return;Wa[a]=!0;const i=a.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===a&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":bc,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},_c=""+new URL("favicon-25a41591.ico",import.meta.url).href,yc=rt({__name:"index",setup(e){function t(){window.$loadingBar=lc(),window.$dialog=uc(),window.$message=fc(),window.$notification=dc()}const r=rt({name:"NaiveProviderContent",setup(){t()},render(){return mt("div")}});return(n,o)=>(zi(),Ki(Re(cc),null,{default:wt(()=>[ut(Re(sc),null,{default:wt(()=>[ut(Re(oc),null,{default:wt(()=>[ut(Re(ic),null,{default:wt(()=>[z0(n.$slots,"default"),ut(Re(r))]),_:3})]),_:3})]),_:3})]),_:3}))}}),Ut=/^[a-z0-9]+(-[a-z0-9]+)*$/,mr=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),f=o.pop(),c={provider:o.length>0?o[0]:n,prefix:f,name:l};return t&&!ar(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!ar(l)?null:l}if(r&&n===""){const l={provider:n,prefix:"",name:a};return t&&!ar(l,r)?null:l}return null},ar=(e,t)=>e?!!((e.provider===""||e.provider.match(Ut))&&(t&&e.prefix===""||e.prefix.match(Ut))&&e.name.match(Ut)):!1,ts=Object.freeze({left:0,top:0,width:16,height:16}),fr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),gr=Object.freeze({...ts,...fr}),Pn=Object.freeze({...gr,body:"",hidden:!1});function wc(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function ja(e,t){const r=wc(e,t);for(const n in Pn)n in fr?n in e&&!(n in r)&&(r[n]=fr[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Ac(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function a(i){if(r[i])return o[i]=[];if(!(i in o)){o[i]=null;const l=n[i]&&n[i].parent,f=l&&a(l);f&&(o[i]=[l].concat(f))}return o[i]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(a),o}function Sc(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=ja(n[l]||o[l],a)}return i(t),r.forEach(i),ja(e,a)}function rs(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=Ac(e);for(const o in n){const a=n[o];a&&(t(o,Sc(e,o,a)),r.push(o))}return r}const Dc={provider:"",aliases:{},not_found:{},...ts};function Nr(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function ns(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Nr(e,Dc))return null;const r=t.icons;for(const o in r){const a=r[o];if(!o.match(Ut)||typeof a.body!="string"||!Nr(a,Pn))return null}const n=t.aliases||Object.create(null);for(const o in n){const a=n[o],i=a.parent;if(!o.match(Ut)||typeof i!="string"||!r[i]&&!n[i]||!Nr(a,Pn))return null}return t}const Ga=Object.create(null);function Bc(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function gt(e,t){const r=Ga[e]||(Ga[e]=Object.create(null));return r[t]||(r[t]=Bc(e,t))}function ca(e,t){return ns(t)?rs(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Fc(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Vt=!1;function as(e){return typeof e=="boolean"&&(Vt=e),Vt}function Pc(e){const t=typeof e=="string"?mr(e,!0,Vt):e;if(t){const r=gt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function kc(e,t){const r=mr(e,!0,Vt);if(!r)return!1;const n=gt(r.provider,r.prefix);return Fc(n,r.name,t)}function Tc(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vt&&!t&&!e.prefix){let o=!1;return ns(e)&&(e.prefix="",rs(e,(a,i)=>{i&&kc(a,i)&&(o=!0)})),o}const r=e.prefix;if(!ar({provider:t,prefix:r,name:"a"}))return!1;const n=gt(t,r);return!!ca(n,e)}const os=Object.freeze({width:null,height:null}),is=Object.freeze({...os,...fr}),Ic=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Lc=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function $a(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Ic);if(n===null||!n.length)return e;const o=[];let a=n.shift(),i=Lc.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*r)/r)}else o.push(a);if(a=n.shift(),a===void 0)return o.join("");i=!i}}const Rc=e=>e==="unset"||e==="undefined"||e==="none";function Nc(e,t){const r={...gr,...e},n={...is,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(x=>{const p=[],m=x.hFlip,E=x.vFlip;let g=x.rotate;m?E?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):E&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}g%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(a=''+a+"")});const i=n.width,l=n.height,f=o.width,c=o.height;let u,h;i===null?(h=l===null?"1em":l==="auto"?c:l,u=$a(h,f/c)):(u=i==="auto"?f:i,h=l===null?$a(u,c/f):l==="auto"?c:l);const s={},d=(x,p)=>{Rc(p)||(s[x]=p.toString())};return d("width",u),d("height",h),s.viewBox=o.left.toString()+" "+o.top.toString()+" "+f.toString()+" "+c.toString(),{attributes:s,body:a}}const Oc=/\sid="(\S+)"/g,Mc="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uc=0;function Hc(e,t=Mc){const r=[];let n;for(;n=Oc.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{const i=typeof t=="function"?t(a):t+(Uc++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const kn=Object.create(null);function Wc(e,t){kn[e]=t}function Tn(e){return kn[e]||kn[""]}function la(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ua=Object.create(null),Rt=["https://api.simplesvg.com","https://api.unisvg.com"],or=[];for(;Rt.length>0;)Rt.length===1||Math.random()>.5?or.push(Rt.shift()):or.push(Rt.pop());ua[""]=la({resources:["https://api.iconify.design"].concat(or)});function jc(e,t){const r=la(t);return r===null?!1:(ua[e]=r,!0)}function fa(e){return ua[e]}const Gc=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Va=Gc();function $c(e,t){const r=fa(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(i=>{o=Math.max(o,i.length)});const a=t+".json?icons=";n=r.maxURL-o-r.path.length-a.length}return n}function Vc(e){return e===404}const qc=(e,t,r)=>{const n=[],o=$c(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return r.forEach((f,c)=>{l+=f.length+1,l>=o&&c>0&&(n.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=f.length),i.icons.push(f)}),n.push(i),n};function zc(e){if(typeof e=="string"){const t=fa(e);if(t)return t.path}return"/"}const Kc=(e,t,r)=>{if(!Va){r("abort",424);return}let n=zc(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});n+=a+".json?"+f.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:r("abort",400);return}let o=503;Va(e+n).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{r(Vc(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?r("abort",a):r("next",o)});return}setTimeout(()=>{r("success",a)})}).catch(()=>{r("next",o)})},Yc={prepare:qc,send:Kc};function Xc(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const a=o.provider,i=o.prefix,l=o.name,f=r[a]||(r[a]=Object.create(null)),c=f[i]||(f[i]=gt(a,i));let u;l in c.icons?u=t.loaded:i===""||c.missing.has(l)?u=t.missing:u=t.pending;const h={provider:a,prefix:i,name:l};u.push(h)}),t}function ss(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Qc(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(a=>{const i=a.icons,l=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const c=f.name;if(e.icons[c])i.loaded.push({provider:n,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:n,prefix:o,name:c});else return r=!0,!0;return!1}),i.pending.length!==l&&(r||ss([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let Jc=0;function Zc(e,t,r){const n=Jc++,o=ss.bind(null,r,n);if(!t.pending.length)return o;const a={id:n,icons:t,callback:e,abort:o};return r.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),o}function el(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const a=typeof o=="string"?mr(o,t,r):o;a&&n.push(a)}),n}var tl={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function rl(e,t,r,n){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let _=e.resources.slice(0);for(i=[];_.length>1;){const A=Math.floor(Math.random()*_.length);i.push(_[A]),_=_.slice(0,A).concat(_.slice(A+1))}i=i.concat(_)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let f="pending",c=0,u,h=null,s=[],d=[];typeof n=="function"&&d.push(n);function x(){h&&(clearTimeout(h),h=null)}function p(){f==="pending"&&(f="aborted"),x(),s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function m(_,A){A&&(d=[]),typeof _=="function"&&d.push(_)}function E(){return{startTime:l,payload:t,status:f,queriesSent:c,queriesPending:s.length,subscribe:m,abort:p}}function g(){f="failed",d.forEach(_=>{_(void 0,u)})}function v(){s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function b(_,A,D){const B=A!=="success";switch(s=s.filter(S=>S!==_),f){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){u=D,g();return}if(B){u=D,s.length||(i.length?y():g());return}if(x(),v(),!e.random){const S=e.resources.indexOf(_.resource);S!==-1&&S!==e.index&&(e.index=S)}f="completed",d.forEach(S=>{S(D)})}function y(){if(f!=="pending")return;x();const _=i.shift();if(_===void 0){if(s.length){h=setTimeout(()=>{x(),f==="pending"&&(v(),g())},e.timeout);return}g();return}const A={status:"pending",resource:_,callback:(D,B)=>{b(A,D,B)}};s.push(A),c++,h=setTimeout(y,e.rotate),r(_,t,A.callback)}return setTimeout(y),E}function cs(e){const t={...tl,...e};let r=[];function n(){r=r.filter(l=>l().status==="pending")}function o(l,f,c){const u=rl(t,l,f,(h,s)=>{n(),c&&c(h,s)});return r.push(u),u}function a(l){return r.find(f=>l(f))||null}return{query:o,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function qa(){}const Or=Object.create(null);function nl(e){if(!Or[e]){const t=fa(e);if(!t)return;const r=cs(t),n={config:t,redundancy:r};Or[e]=n}return Or[e]}function al(e,t,r){let n,o;if(typeof e=="string"){const a=Tn(e);if(!a)return r(void 0,424),qa;o=a.send;const i=nl(e);i&&(n=i.redundancy)}else{const a=la(e);if(a){n=cs(a);const i=e.resources?e.resources[0]:"",l=Tn(i);l&&(o=l.send)}}return!n||!o?(r(void 0,424),qa):n.query(t,o,r)().abort}const za="iconify2",qt="iconify",ls=qt+"-count",Ka=qt+"-version",us=36e5,ol=168;function In(e,t){try{return e.getItem(t)}catch{}}function da(e,t,r){try{return e.setItem(t,r),!0}catch{}}function Ya(e,t){try{e.removeItem(t)}catch{}}function Ln(e,t){return da(e,ls,t.toString())}function Rn(e){return parseInt(In(e,ls))||0}const vr={local:!0,session:!0},fs={local:new Set,session:new Set};let ha=!1;function il(e){ha=e}let tr=typeof window>"u"?{}:window;function ds(e){const t=e+"Storage";try{if(tr&&tr[t]&&typeof tr[t].length=="number")return tr[t]}catch{}vr[e]=!1}function hs(e,t){const r=ds(e);if(!r)return;const n=In(r,Ka);if(n!==za){if(n){const l=Rn(r);for(let f=0;f{const f=qt+l.toString(),c=In(r,f);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Ya(r,f)}};let i=Rn(r);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,Ln(r,i)):fs[e].add(l))}function xs(){if(!ha){il(!0);for(const e in vr)hs(e,t=>{const r=t.data,n=t.provider,o=r.prefix,a=gt(n,o);if(!ca(a,r).length)return!1;const i=r.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function sl(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in vr)hs(n,o=>{const a=o.data;return o.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function cl(e,t){ha||xs();function r(n){let o;if(!vr[n]||!(o=ds(n)))return;const a=fs[n];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=Rn(o),!Ln(o,i+1))return;const l={cached:Math.floor(Date.now()/us),provider:e.provider,data:t};return da(o,qt+i.toString(),JSON.stringify(l))}t.lastModified&&!sl(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function Xa(){}function ll(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Qc(e)}))}function ul(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;delete e.iconsToLoad;let a;if(!o||!(a=Tn(r)))return;a.prepare(r,n,o).forEach(l=>{al(r,l,f=>{if(typeof f!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ca(e,f);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(h=>{u.delete(h)}),cl(e,f)}catch(c){console.error(c)}ll(e)})})}))}const fl=(e,t)=>{const r=el(e,!0,as()),n=Xc(r);if(!n.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(n.loaded,n.missing,n.pending,Xa)}),()=>{f=!1}}const o=Object.create(null),a=[];let i,l;return n.pending.forEach(f=>{const{provider:c,prefix:u}=f;if(u===l&&c===i)return;i=c,l=u,a.push(gt(c,u));const h=o[c]||(o[c]=Object.create(null));h[u]||(h[u]=[])}),n.pending.forEach(f=>{const{provider:c,prefix:u,name:h}=f,s=gt(c,u),d=s.pendingIcons||(s.pendingIcons=new Set);d.has(h)||(d.add(h),o[c][u].push(h))}),a.forEach(f=>{const{provider:c,prefix:u}=f;o[c][u].length&&ul(f,o[c][u])}),t?Zc(t,n,a):Xa};function dl(e,t){const r={...e};for(const n in t){const o=t[n],a=typeof o;n in os?(o===null||o&&(a==="string"||a==="number"))&&(r[n]=o):a===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const hl=/[\s,]+/;function xl(e,t){t.split(hl).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pl(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-r.length));return isNaN(a)?0:(a=a/o,a%1===0?n(a):0)}}return t}function ml(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function gl(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function vl(e){return"data:image/svg+xml,"+gl(e)}function El(e){return'url("'+vl(e)+'")'}const Qa={...is,inline:!1},bl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cl={display:"inline-block"},Nn={backgroundColor:"currentColor"},ps={backgroundColor:"transparent"},Ja={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Za={webkitMask:Nn,mask:Nn,background:ps};for(const e in Za){const t=Za[e];for(const r in Ja)t[e+r]=Ja[r]}const ir={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ir[e+"-flip"]=t,ir[e.slice(0,1)+"-flip"]=t,ir[e+"Flip"]=t});function eo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const to=(e,t)=>{const r=dl(Qa,t),n={...bl},o=t.mode||"svg",a={},i=t.style,l=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const m=t[p];if(m!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[p]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&xl(r,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?r[p]=pl(m):typeof m=="number"&&(r[p]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const E=ir[p];E?(m===!0||m==="true"||m===1)&&(r[E]=!0):Qa[p]===void 0&&(n[p]=m)}}}const f=Nc(e,r),c=f.attributes;if(r.inline&&(a.verticalAlign="-0.125em"),o==="svg"){n.style={...a,...l},Object.assign(n,c);let p=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=Hc(f.body,m?()=>m+"ID"+p++:"iconifyVue"),mt("svg",n)}const{body:u,width:h,height:s}=e,d=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),x=ml(u,{...c,width:h+"",height:s+""});return n.style={...a,"--svg":El(x),width:eo(c.width),height:eo(c.height),...Cl,...d?Nn:ps,...l},mt("span",n)};as(!0);Wc("",Yc);if(typeof document<"u"&&typeof window<"u"){xs();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Tc(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;jc(r,o)||console.error(n)}catch{console.error(n)}}}}const _l={...gr,body:""},sm=rt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=mr(e,!1,!0))===null)return this.abortLoading(),null;const n=Pc(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:fl([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:n,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return to(_l,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),to({...gr,...t.data},r)}});/*! +import{d as rt,S as zi,V as Ki,W as wt,X as ut,M as Re,m as z0,l as mt,Y as ia,r as Ze,E as Yi,Z as K0,a as nt,w as St,j as Xi,N as Gt,_ as Qi,$ as Y0,K as X0,L as Q0,n as Ji,a0 as J0,e as ve,g as $t,f as Zi,G as Z0,x as sa,h as ec,F as es,D as tc,a1 as rc,p as Lr,P as nc,a2 as ac}from"./vue-cf46d111.js";import{N as oc,a as ic,b as sc,c as cc,u as lc,d as uc,e as fc,f as dc,g as hc,h as re,i as xc,j as pc,k as nr,l as mc,m as gc,n as vc,o as Rr}from"./naive-ui-074da7ca.js";import{i as Ec}from"./vueuse-motion-d8fe070a.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const bc="modulepreload",Cc=function(e,t){return new URL(e,t).href},Wa={},Te=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Cc(a,n),a in Wa)return;Wa[a]=!0;const i=a.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===a&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":bc,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},_c=""+new URL("favicon-25a41591.ico",import.meta.url).href,yc=rt({__name:"index",setup(e){function t(){window.$loadingBar=lc(),window.$dialog=uc(),window.$message=fc(),window.$notification=dc()}const r=rt({name:"NaiveProviderContent",setup(){t()},render(){return mt("div")}});return(n,o)=>(zi(),Ki(Re(cc),null,{default:wt(()=>[ut(Re(sc),null,{default:wt(()=>[ut(Re(oc),null,{default:wt(()=>[ut(Re(ic),null,{default:wt(()=>[z0(n.$slots,"default"),ut(Re(r))]),_:3})]),_:3})]),_:3})]),_:3}))}}),Ut=/^[a-z0-9]+(-[a-z0-9]+)*$/,mr=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),f=o.pop(),c={provider:o.length>0?o[0]:n,prefix:f,name:l};return t&&!ar(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!ar(l)?null:l}if(r&&n===""){const l={provider:n,prefix:"",name:a};return t&&!ar(l,r)?null:l}return null},ar=(e,t)=>e?!!((e.provider===""||e.provider.match(Ut))&&(t&&e.prefix===""||e.prefix.match(Ut))&&e.name.match(Ut)):!1,ts=Object.freeze({left:0,top:0,width:16,height:16}),fr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),gr=Object.freeze({...ts,...fr}),Pn=Object.freeze({...gr,body:"",hidden:!1});function wc(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function ja(e,t){const r=wc(e,t);for(const n in Pn)n in fr?n in e&&!(n in r)&&(r[n]=fr[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Ac(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function a(i){if(r[i])return o[i]=[];if(!(i in o)){o[i]=null;const l=n[i]&&n[i].parent,f=l&&a(l);f&&(o[i]=[l].concat(f))}return o[i]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(a),o}function Sc(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=ja(n[l]||o[l],a)}return i(t),r.forEach(i),ja(e,a)}function rs(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=Ac(e);for(const o in n){const a=n[o];a&&(t(o,Sc(e,o,a)),r.push(o))}return r}const Dc={provider:"",aliases:{},not_found:{},...ts};function Nr(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function ns(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Nr(e,Dc))return null;const r=t.icons;for(const o in r){const a=r[o];if(!o.match(Ut)||typeof a.body!="string"||!Nr(a,Pn))return null}const n=t.aliases||Object.create(null);for(const o in n){const a=n[o],i=a.parent;if(!o.match(Ut)||typeof i!="string"||!r[i]&&!n[i]||!Nr(a,Pn))return null}return t}const Ga=Object.create(null);function Bc(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function gt(e,t){const r=Ga[e]||(Ga[e]=Object.create(null));return r[t]||(r[t]=Bc(e,t))}function ca(e,t){return ns(t)?rs(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Fc(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Vt=!1;function as(e){return typeof e=="boolean"&&(Vt=e),Vt}function Pc(e){const t=typeof e=="string"?mr(e,!0,Vt):e;if(t){const r=gt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function kc(e,t){const r=mr(e,!0,Vt);if(!r)return!1;const n=gt(r.provider,r.prefix);return Fc(n,r.name,t)}function Tc(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vt&&!t&&!e.prefix){let o=!1;return ns(e)&&(e.prefix="",rs(e,(a,i)=>{i&&kc(a,i)&&(o=!0)})),o}const r=e.prefix;if(!ar({provider:t,prefix:r,name:"a"}))return!1;const n=gt(t,r);return!!ca(n,e)}const os=Object.freeze({width:null,height:null}),is=Object.freeze({...os,...fr}),Ic=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Lc=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function $a(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Ic);if(n===null||!n.length)return e;const o=[];let a=n.shift(),i=Lc.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*r)/r)}else o.push(a);if(a=n.shift(),a===void 0)return o.join("");i=!i}}const Rc=e=>e==="unset"||e==="undefined"||e==="none";function Nc(e,t){const r={...gr,...e},n={...is,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(x=>{const p=[],m=x.hFlip,E=x.vFlip;let g=x.rotate;m?E?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):E&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}g%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(a=''+a+"")});const i=n.width,l=n.height,f=o.width,c=o.height;let u,h;i===null?(h=l===null?"1em":l==="auto"?c:l,u=$a(h,f/c)):(u=i==="auto"?f:i,h=l===null?$a(u,c/f):l==="auto"?c:l);const s={},d=(x,p)=>{Rc(p)||(s[x]=p.toString())};return d("width",u),d("height",h),s.viewBox=o.left.toString()+" "+o.top.toString()+" "+f.toString()+" "+c.toString(),{attributes:s,body:a}}const Oc=/\sid="(\S+)"/g,Mc="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uc=0;function Hc(e,t=Mc){const r=[];let n;for(;n=Oc.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{const i=typeof t=="function"?t(a):t+(Uc++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const kn=Object.create(null);function Wc(e,t){kn[e]=t}function Tn(e){return kn[e]||kn[""]}function la(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ua=Object.create(null),Rt=["https://api.simplesvg.com","https://api.unisvg.com"],or=[];for(;Rt.length>0;)Rt.length===1||Math.random()>.5?or.push(Rt.shift()):or.push(Rt.pop());ua[""]=la({resources:["https://api.iconify.design"].concat(or)});function jc(e,t){const r=la(t);return r===null?!1:(ua[e]=r,!0)}function fa(e){return ua[e]}const Gc=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Va=Gc();function $c(e,t){const r=fa(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(i=>{o=Math.max(o,i.length)});const a=t+".json?icons=";n=r.maxURL-o-r.path.length-a.length}return n}function Vc(e){return e===404}const qc=(e,t,r)=>{const n=[],o=$c(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return r.forEach((f,c)=>{l+=f.length+1,l>=o&&c>0&&(n.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=f.length),i.icons.push(f)}),n.push(i),n};function zc(e){if(typeof e=="string"){const t=fa(e);if(t)return t.path}return"/"}const Kc=(e,t,r)=>{if(!Va){r("abort",424);return}let n=zc(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});n+=a+".json?"+f.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:r("abort",400);return}let o=503;Va(e+n).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{r(Vc(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?r("abort",a):r("next",o)});return}setTimeout(()=>{r("success",a)})}).catch(()=>{r("next",o)})},Yc={prepare:qc,send:Kc};function Xc(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const a=o.provider,i=o.prefix,l=o.name,f=r[a]||(r[a]=Object.create(null)),c=f[i]||(f[i]=gt(a,i));let u;l in c.icons?u=t.loaded:i===""||c.missing.has(l)?u=t.missing:u=t.pending;const h={provider:a,prefix:i,name:l};u.push(h)}),t}function ss(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Qc(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(a=>{const i=a.icons,l=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const c=f.name;if(e.icons[c])i.loaded.push({provider:n,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:n,prefix:o,name:c});else return r=!0,!0;return!1}),i.pending.length!==l&&(r||ss([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let Jc=0;function Zc(e,t,r){const n=Jc++,o=ss.bind(null,r,n);if(!t.pending.length)return o;const a={id:n,icons:t,callback:e,abort:o};return r.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),o}function el(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const a=typeof o=="string"?mr(o,t,r):o;a&&n.push(a)}),n}var tl={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function rl(e,t,r,n){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let _=e.resources.slice(0);for(i=[];_.length>1;){const A=Math.floor(Math.random()*_.length);i.push(_[A]),_=_.slice(0,A).concat(_.slice(A+1))}i=i.concat(_)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let f="pending",c=0,u,h=null,s=[],d=[];typeof n=="function"&&d.push(n);function x(){h&&(clearTimeout(h),h=null)}function p(){f==="pending"&&(f="aborted"),x(),s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function m(_,A){A&&(d=[]),typeof _=="function"&&d.push(_)}function E(){return{startTime:l,payload:t,status:f,queriesSent:c,queriesPending:s.length,subscribe:m,abort:p}}function g(){f="failed",d.forEach(_=>{_(void 0,u)})}function v(){s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function b(_,A,D){const B=A!=="success";switch(s=s.filter(S=>S!==_),f){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){u=D,g();return}if(B){u=D,s.length||(i.length?y():g());return}if(x(),v(),!e.random){const S=e.resources.indexOf(_.resource);S!==-1&&S!==e.index&&(e.index=S)}f="completed",d.forEach(S=>{S(D)})}function y(){if(f!=="pending")return;x();const _=i.shift();if(_===void 0){if(s.length){h=setTimeout(()=>{x(),f==="pending"&&(v(),g())},e.timeout);return}g();return}const A={status:"pending",resource:_,callback:(D,B)=>{b(A,D,B)}};s.push(A),c++,h=setTimeout(y,e.rotate),r(_,t,A.callback)}return setTimeout(y),E}function cs(e){const t={...tl,...e};let r=[];function n(){r=r.filter(l=>l().status==="pending")}function o(l,f,c){const u=rl(t,l,f,(h,s)=>{n(),c&&c(h,s)});return r.push(u),u}function a(l){return r.find(f=>l(f))||null}return{query:o,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function qa(){}const Or=Object.create(null);function nl(e){if(!Or[e]){const t=fa(e);if(!t)return;const r=cs(t),n={config:t,redundancy:r};Or[e]=n}return Or[e]}function al(e,t,r){let n,o;if(typeof e=="string"){const a=Tn(e);if(!a)return r(void 0,424),qa;o=a.send;const i=nl(e);i&&(n=i.redundancy)}else{const a=la(e);if(a){n=cs(a);const i=e.resources?e.resources[0]:"",l=Tn(i);l&&(o=l.send)}}return!n||!o?(r(void 0,424),qa):n.query(t,o,r)().abort}const za="iconify2",qt="iconify",ls=qt+"-count",Ka=qt+"-version",us=36e5,ol=168;function In(e,t){try{return e.getItem(t)}catch{}}function da(e,t,r){try{return e.setItem(t,r),!0}catch{}}function Ya(e,t){try{e.removeItem(t)}catch{}}function Ln(e,t){return da(e,ls,t.toString())}function Rn(e){return parseInt(In(e,ls))||0}const vr={local:!0,session:!0},fs={local:new Set,session:new Set};let ha=!1;function il(e){ha=e}let tr=typeof window>"u"?{}:window;function ds(e){const t=e+"Storage";try{if(tr&&tr[t]&&typeof tr[t].length=="number")return tr[t]}catch{}vr[e]=!1}function hs(e,t){const r=ds(e);if(!r)return;const n=In(r,Ka);if(n!==za){if(n){const l=Rn(r);for(let f=0;f{const f=qt+l.toString(),c=In(r,f);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Ya(r,f)}};let i=Rn(r);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,Ln(r,i)):fs[e].add(l))}function xs(){if(!ha){il(!0);for(const e in vr)hs(e,t=>{const r=t.data,n=t.provider,o=r.prefix,a=gt(n,o);if(!ca(a,r).length)return!1;const i=r.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function sl(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in vr)hs(n,o=>{const a=o.data;return o.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function cl(e,t){ha||xs();function r(n){let o;if(!vr[n]||!(o=ds(n)))return;const a=fs[n];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=Rn(o),!Ln(o,i+1))return;const l={cached:Math.floor(Date.now()/us),provider:e.provider,data:t};return da(o,qt+i.toString(),JSON.stringify(l))}t.lastModified&&!sl(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function Xa(){}function ll(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Qc(e)}))}function ul(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;delete e.iconsToLoad;let a;if(!o||!(a=Tn(r)))return;a.prepare(r,n,o).forEach(l=>{al(r,l,f=>{if(typeof f!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ca(e,f);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(h=>{u.delete(h)}),cl(e,f)}catch(c){console.error(c)}ll(e)})})}))}const fl=(e,t)=>{const r=el(e,!0,as()),n=Xc(r);if(!n.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(n.loaded,n.missing,n.pending,Xa)}),()=>{f=!1}}const o=Object.create(null),a=[];let i,l;return n.pending.forEach(f=>{const{provider:c,prefix:u}=f;if(u===l&&c===i)return;i=c,l=u,a.push(gt(c,u));const h=o[c]||(o[c]=Object.create(null));h[u]||(h[u]=[])}),n.pending.forEach(f=>{const{provider:c,prefix:u,name:h}=f,s=gt(c,u),d=s.pendingIcons||(s.pendingIcons=new Set);d.has(h)||(d.add(h),o[c][u].push(h))}),a.forEach(f=>{const{provider:c,prefix:u}=f;o[c][u].length&&ul(f,o[c][u])}),t?Zc(t,n,a):Xa};function dl(e,t){const r={...e};for(const n in t){const o=t[n],a=typeof o;n in os?(o===null||o&&(a==="string"||a==="number"))&&(r[n]=o):a===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const hl=/[\s,]+/;function xl(e,t){t.split(hl).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pl(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-r.length));return isNaN(a)?0:(a=a/o,a%1===0?n(a):0)}}return t}function ml(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function gl(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function vl(e){return"data:image/svg+xml,"+gl(e)}function El(e){return'url("'+vl(e)+'")'}const Qa={...is,inline:!1},bl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cl={display:"inline-block"},Nn={backgroundColor:"currentColor"},ps={backgroundColor:"transparent"},Ja={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Za={webkitMask:Nn,mask:Nn,background:ps};for(const e in Za){const t=Za[e];for(const r in Ja)t[e+r]=Ja[r]}const ir={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ir[e+"-flip"]=t,ir[e.slice(0,1)+"-flip"]=t,ir[e+"Flip"]=t});function eo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const to=(e,t)=>{const r=dl(Qa,t),n={...bl},o=t.mode||"svg",a={},i=t.style,l=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const m=t[p];if(m!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[p]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&xl(r,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?r[p]=pl(m):typeof m=="number"&&(r[p]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const E=ir[p];E?(m===!0||m==="true"||m===1)&&(r[E]=!0):Qa[p]===void 0&&(n[p]=m)}}}const f=Nc(e,r),c=f.attributes;if(r.inline&&(a.verticalAlign="-0.125em"),o==="svg"){n.style={...a,...l},Object.assign(n,c);let p=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=Hc(f.body,m?()=>m+"ID"+p++:"iconifyVue"),mt("svg",n)}const{body:u,width:h,height:s}=e,d=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),x=ml(u,{...c,width:h+"",height:s+""});return n.style={...a,"--svg":El(x),width:eo(c.width),height:eo(c.height),...Cl,...d?Nn:ps,...l},mt("span",n)};as(!0);Wc("",Yc);if(typeof document<"u"&&typeof window<"u"){xs();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Tc(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;jc(r,o)||console.error(n)}catch{console.error(n)}}}}const _l={...gr,body:""},cm=rt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=mr(e,!1,!0))===null)return this.abortLoading(),null;const n=Pc(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:fl([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:n,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return to(_l,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),to({...gr,...t.data},r)}});/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let ms;const Er=e=>ms=e,gs=Symbol();function On(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ht;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ht||(Ht={}));function yl(){const e=ia(!0),t=e.run(()=>Ze({}));let r=[],n=[];const o=Yi({install(a){Er(o),o._a=a,a.provide(gs,o),a.config.globalProperties.$pinia=o,n.forEach(i=>r.push(i)),n=[]},use(a){return!this._a&&!Ec?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const vs=()=>{};function ro(e,t,r,n=vs){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&X0()&&Q0(o),o}function Ct(e,...t){e.slice().forEach(r=>{r(...t)})}const wl=e=>e();function Mn(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];On(o)&&On(n)&&e.hasOwnProperty(r)&&!Gt(n)&&!Qi(n)?e[r]=Mn(o,n):e[r]=n}return e}const Al=Symbol();function Sl(e){return!On(e)||!e.hasOwnProperty(Al)}const{assign:ct}=Object;function Dl(e){return!!(Gt(e)&&e.effect)}function Bl(e,t,r,n){const{state:o,actions:a,getters:i}=t,l=r.state.value[e];let f;function c(){l||(r.state.value[e]=o?o():{});const u=J0(r.state.value[e]);return ct(u,a,Object.keys(i||{}).reduce((h,s)=>(h[s]=Yi(ve(()=>{Er(r);const d=r._s.get(e);return i[s].call(d,d)})),h),{}))}return f=Es(e,c,t,r,n,!0),f}function Es(e,t,r={},n,o,a){let i;const l=ct({actions:{}},r),f={deep:!0};let c,u,h=[],s=[],d;const x=n.state.value[e];!a&&!x&&(n.state.value[e]={}),Ze({});let p;function m(D){let B;c=u=!1,typeof D=="function"?(D(n.state.value[e]),B={type:Ht.patchFunction,storeId:e,events:d}):(Mn(n.state.value[e],D),B={type:Ht.patchObject,payload:D,storeId:e,events:d});const S=p=Symbol();Ji().then(()=>{p===S&&(c=!0)}),u=!0,Ct(h,B,n.state.value[e])}const E=a?function(){const{state:B}=r,S=B?B():{};this.$patch(P=>{ct(P,S)})}:vs;function g(){i.stop(),h=[],s=[],n._s.delete(e)}function v(D,B){return function(){Er(n);const S=Array.from(arguments),P=[],k=[];function I(q){P.push(q)}function K(q){k.push(q)}Ct(s,{args:S,name:D,store:y,after:I,onError:K});let Y;try{Y=B.apply(this&&this.$id===e?this:y,S)}catch(q){throw Ct(k,q),q}return Y instanceof Promise?Y.then(q=>(Ct(P,q),q)).catch(q=>(Ct(k,q),Promise.reject(q))):(Ct(P,Y),Y)}}const b={_p:n,$id:e,$onAction:ro.bind(null,s),$patch:m,$reset:E,$subscribe(D,B={}){const S=ro(h,D,B.detached,()=>P()),P=i.run(()=>St(()=>n.state.value[e],k=>{(B.flush==="sync"?u:c)&&D({storeId:e,type:Ht.direct,events:d},k)},ct({},f,B)));return S},$dispose:g},y=Xi(b);n._s.set(e,y);const A=(n._a&&n._a.runWithContext||wl)(()=>n._e.run(()=>(i=ia()).run(t)));for(const D in A){const B=A[D];if(Gt(B)&&!Dl(B)||Qi(B))a||(x&&Sl(B)&&(Gt(B)?B.value=x[D]:Mn(B,x[D])),n.state.value[e][D]=B);else if(typeof B=="function"){const S=v(D,B);A[D]=S,l.actions[D]=B}}return ct(y,A),ct(Y0(y),A),Object.defineProperty(y,"$state",{get:()=>n.state.value[e],set:D=>{m(B=>{ct(B,D)})}}),n._p.forEach(D=>{ct(y,i.run(()=>D({store:y,app:n._a,pinia:n,options:l})))}),x&&a&&r.hydrate&&r.hydrate(y.$state,x),c=!0,u=!0,y}function vt(e,t,r){let n,o;const a=typeof t=="function";typeof e=="string"?(n=e,o=a?r:t):(o=e,n=e.id);function i(l,f){const c=K0();return l=l||(c?nt(gs,null):null),l&&Er(l),l=ms,l._s.has(n)||(a?Es(n,t,o,l):Bl(n,o,l)),l._s.get(n)}return i.$id=n,i}var bs={exports:{}};function Fl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mr={exports:{}};const Pl={},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),Tl=hc(kl);var no;function fe(){return no||(no=1,function(e,t){(function(r,n){e.exports=n()})(re,function(){var r=r||function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof re<"u"&&re.crypto&&(a=re.crypto),!a&&typeof Fl=="function")try{a=Tl}catch{}var i=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function g(){}return function(v){var b;return g.prototype=v,b=new g,g.prototype=null,b}}(),f={},c=f.lib={},u=c.Base=function(){return{extend:function(g){var v=l(this);return g&&v.mixIn(g),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var v in g)g.hasOwnProperty(v)&&(this[v]=g[v]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=c.WordArray=u.extend({init:function(g,v){g=this.words=g||[],v!=o?this.sigBytes=v:this.sigBytes=g.length*4},toString:function(g){return(g||d).stringify(this)},concat:function(g){var v=this.words,b=g.words,y=this.sigBytes,_=g.sigBytes;if(this.clamp(),y%4)for(var A=0;A<_;A++){var D=b[A>>>2]>>>24-A%4*8&255;v[y+A>>>2]|=D<<24-(y+A)%4*8}else for(var B=0;B<_;B+=4)v[y+B>>>2]=b[B>>>2];return this.sigBytes+=_,this},clamp:function(){var g=this.words,v=this.sigBytes;g[v>>>2]&=4294967295<<32-v%4*8,g.length=n.ceil(v/4)},clone:function(){var g=u.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var v=[],b=0;b>>2]>>>24-_%4*8&255;y.push((A>>>4).toString(16)),y.push((A&15).toString(16))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>3]|=parseInt(g.substr(y,2),16)<<24-y%8*4;return new h.init(b,v/2)}},x=s.Latin1={stringify:function(g){for(var v=g.words,b=g.sigBytes,y=[],_=0;_>>2]>>>24-_%4*8&255;y.push(String.fromCharCode(A))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>2]|=(g.charCodeAt(y)&255)<<24-y%4*8;return new h.init(b,v)}},p=s.Utf8={stringify:function(g){try{return decodeURIComponent(escape(x.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return x.parse(unescape(encodeURIComponent(g)))}},m=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=p.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var v,b=this._data,y=b.words,_=b.sigBytes,A=this.blockSize,D=A*4,B=_/D;g?B=n.ceil(B):B=n.max((B|0)-this._minBufferSize,0);var S=B*A,P=n.min(S*4,_);if(S){for(var k=0;k>>2]|=f[h]<<24-h%4*8;i.call(this,u,c)}else i.apply(this,arguments)};l.prototype=a}}(),r.lib.WordArray})}(Hr)),Hr.exports}var Wr={exports:{}},io;function Ll(){return io||(io=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Utf16=i.Utf16BE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535;h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=f.charCodeAt(h)<<16-h%2*16;return a.create(u,c*2)}},i.Utf16LE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535);h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=l(f.charCodeAt(h)<<16-h%2*16);return a.create(u,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),r.enc.Utf16})}(Wr)),Wr.exports}var jr={exports:{}},so;function Et(){return so||(so=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64={stringify:function(f){var c=f.words,u=f.sigBytes,h=this._map;f.clamp();for(var s=[],d=0;d>>2]>>>24-d%4*8&255,p=c[d+1>>>2]>>>24-(d+1)%4*8&255,m=c[d+2>>>2]>>>24-(d+2)%4*8&255,E=x<<16|p<<8|m,g=0;g<4&&d+g*.75>>6*(3-g)&63));var v=h.charAt(64);if(v)for(;s.length%4;)s.push(v);return s.join("")},parse:function(f){var c=f.length,u=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var s=0;s>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64})}(jr)),jr.exports}var Gr={exports:{}},co;function Rl(){return co||(co=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64url={stringify:function(f,c){c===void 0&&(c=!0);var u=f.words,h=f.sigBytes,s=c?this._safe_map:this._map;f.clamp();for(var d=[],x=0;x>>2]>>>24-x%4*8&255,m=u[x+1>>>2]>>>24-(x+1)%4*8&255,E=u[x+2>>>2]>>>24-(x+2)%4*8&255,g=p<<16|m<<8|E,v=0;v<4&&x+v*.75>>6*(3-v)&63));var b=s.charAt(64);if(b)for(;d.length%4;)d.push(b);return d.join("")},parse:function(f,c){c===void 0&&(c=!0);var u=f.length,h=c?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var d=0;d>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64url})}(Gr)),Gr.exports}var $r={exports:{}},lo;function bt(){return lo||(lo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[];(function(){for(var p=0;p<64;p++)c[p]=n.abs(n.sin(p+1))*4294967296|0})();var u=f.MD5=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var E=0;E<16;E++){var g=m+E,v=p[g];p[g]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var b=this._hash.words,y=p[m+0],_=p[m+1],A=p[m+2],D=p[m+3],B=p[m+4],S=p[m+5],P=p[m+6],k=p[m+7],I=p[m+8],K=p[m+9],Y=p[m+10],q=p[m+11],se=p[m+12],oe=p[m+13],ce=p[m+14],ae=p[m+15],L=b[0],U=b[1],W=b[2],N=b[3];L=h(L,U,W,N,y,7,c[0]),N=h(N,L,U,W,_,12,c[1]),W=h(W,N,L,U,A,17,c[2]),U=h(U,W,N,L,D,22,c[3]),L=h(L,U,W,N,B,7,c[4]),N=h(N,L,U,W,S,12,c[5]),W=h(W,N,L,U,P,17,c[6]),U=h(U,W,N,L,k,22,c[7]),L=h(L,U,W,N,I,7,c[8]),N=h(N,L,U,W,K,12,c[9]),W=h(W,N,L,U,Y,17,c[10]),U=h(U,W,N,L,q,22,c[11]),L=h(L,U,W,N,se,7,c[12]),N=h(N,L,U,W,oe,12,c[13]),W=h(W,N,L,U,ce,17,c[14]),U=h(U,W,N,L,ae,22,c[15]),L=s(L,U,W,N,_,5,c[16]),N=s(N,L,U,W,P,9,c[17]),W=s(W,N,L,U,q,14,c[18]),U=s(U,W,N,L,y,20,c[19]),L=s(L,U,W,N,S,5,c[20]),N=s(N,L,U,W,Y,9,c[21]),W=s(W,N,L,U,ae,14,c[22]),U=s(U,W,N,L,B,20,c[23]),L=s(L,U,W,N,K,5,c[24]),N=s(N,L,U,W,ce,9,c[25]),W=s(W,N,L,U,D,14,c[26]),U=s(U,W,N,L,I,20,c[27]),L=s(L,U,W,N,oe,5,c[28]),N=s(N,L,U,W,A,9,c[29]),W=s(W,N,L,U,k,14,c[30]),U=s(U,W,N,L,se,20,c[31]),L=d(L,U,W,N,S,4,c[32]),N=d(N,L,U,W,I,11,c[33]),W=d(W,N,L,U,q,16,c[34]),U=d(U,W,N,L,ce,23,c[35]),L=d(L,U,W,N,_,4,c[36]),N=d(N,L,U,W,B,11,c[37]),W=d(W,N,L,U,k,16,c[38]),U=d(U,W,N,L,Y,23,c[39]),L=d(L,U,W,N,oe,4,c[40]),N=d(N,L,U,W,y,11,c[41]),W=d(W,N,L,U,D,16,c[42]),U=d(U,W,N,L,P,23,c[43]),L=d(L,U,W,N,K,4,c[44]),N=d(N,L,U,W,se,11,c[45]),W=d(W,N,L,U,ae,16,c[46]),U=d(U,W,N,L,A,23,c[47]),L=x(L,U,W,N,y,6,c[48]),N=x(N,L,U,W,k,10,c[49]),W=x(W,N,L,U,ce,15,c[50]),U=x(U,W,N,L,S,21,c[51]),L=x(L,U,W,N,se,6,c[52]),N=x(N,L,U,W,D,10,c[53]),W=x(W,N,L,U,Y,15,c[54]),U=x(U,W,N,L,_,21,c[55]),L=x(L,U,W,N,I,6,c[56]),N=x(N,L,U,W,ae,10,c[57]),W=x(W,N,L,U,P,15,c[58]),U=x(U,W,N,L,oe,21,c[59]),L=x(L,U,W,N,B,6,c[60]),N=x(N,L,U,W,q,10,c[61]),W=x(W,N,L,U,A,15,c[62]),U=x(U,W,N,L,K,21,c[63]),b[0]=b[0]+L|0,b[1]=b[1]+U|0,b[2]=b[2]+W|0,b[3]=b[3]+N|0},_doFinalize:function(){var p=this._data,m=p.words,E=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32;var v=n.floor(E/4294967296),b=E;m[(g+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m[(g+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p.sigBytes=(m.length+1)*4,this._process();for(var y=this._hash,_=y.words,A=0;A<4;A++){var D=_[A];_[A]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return y},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function h(p,m,E,g,v,b,y){var _=p+(m&E|~m&g)+v+y;return(_<>>32-b)+m}function s(p,m,E,g,v,b,y){var _=p+(m&g|E&~g)+v+y;return(_<>>32-b)+m}function d(p,m,E,g,v,b,y){var _=p+(m^E^g)+v+y;return(_<>>32-b)+m}function x(p,m,E,g,v,b,y){var _=p+(E^(m|~g))+v+y;return(_<>>32-b)+m}o.MD5=l._createHelper(u),o.HmacMD5=l._createHmacHelper(u)}(Math),r.MD5})}($r)),$r.exports}var Vr={exports:{}},uo;function Cs(){return uo||(uo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.Hasher,l=n.algo,f=[],c=l.SHA1=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,h){for(var s=this._hash.words,d=s[0],x=s[1],p=s[2],m=s[3],E=s[4],g=0;g<80;g++){if(g<16)f[g]=u[h+g]|0;else{var v=f[g-3]^f[g-8]^f[g-14]^f[g-16];f[g]=v<<1|v>>>31}var b=(d<<5|d>>>27)+E+f[g];g<20?b+=(x&p|~x&m)+1518500249:g<40?b+=(x^p^m)+1859775393:g<60?b+=(x&p|x&m|p&m)-1894007588:b+=(x^p^m)-899497514,E=m,m=p,p=x<<30|x>>>2,x=d,d=b}s[0]=s[0]+d|0,s[1]=s[1]+x|0,s[2]=s[2]+p|0,s[3]=s[3]+m|0,s[4]=s[4]+E|0},_doFinalize:function(){var u=this._data,h=u.words,s=this._nDataBytes*8,d=u.sigBytes*8;return h[d>>>5]|=128<<24-d%32,h[(d+64>>>9<<4)+14]=Math.floor(s/4294967296),h[(d+64>>>9<<4)+15]=s,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=i.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c)}(),r.SHA1})}(Vr)),Vr.exports}var qr={exports:{}},fo;function xa(){return fo||(fo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[],u=[];(function(){function d(E){for(var g=n.sqrt(E),v=2;v<=g;v++)if(!(E%v))return!1;return!0}function x(E){return(E-(E|0))*4294967296|0}for(var p=2,m=0;m<64;)d(p)&&(m<8&&(c[m]=x(n.pow(p,1/2))),u[m]=x(n.pow(p,1/3)),m++),p++})();var h=[],s=f.SHA256=l.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(d,x){for(var p=this._hash.words,m=p[0],E=p[1],g=p[2],v=p[3],b=p[4],y=p[5],_=p[6],A=p[7],D=0;D<64;D++){if(D<16)h[D]=d[x+D]|0;else{var B=h[D-15],S=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,P=h[D-2],k=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;h[D]=S+h[D-7]+k+h[D-16]}var I=b&y^~b&_,K=m&E^m&g^E&g,Y=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),q=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),se=A+q+I+u[D]+h[D],oe=Y+K;A=_,_=y,y=b,b=v+se|0,v=g,g=E,E=m,m=se+oe|0}p[0]=p[0]+m|0,p[1]=p[1]+E|0,p[2]=p[2]+g|0,p[3]=p[3]+v|0,p[4]=p[4]+b|0,p[5]=p[5]+y|0,p[6]=p[6]+_|0,p[7]=p[7]+A|0},_doFinalize:function(){var d=this._data,x=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return x[m>>>5]|=128<<24-m%32,x[(m+64>>>9<<4)+14]=n.floor(p/4294967296),x[(m+64>>>9<<4)+15]=p,d.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var d=l.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA256=l._createHelper(s),o.HmacSHA256=l._createHmacHelper(s)}(Math),r.SHA256})}(qr)),qr.exports}var zr={exports:{}},ho;function Nl(){return ho||(ho=1,function(e,t){(function(r,n,o){e.exports=n(fe(),xa())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.algo,l=i.SHA256,f=i.SHA224=l.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=l._createHelper(f),n.HmacSHA224=l._createHmacHelper(f)}(),r.SHA224})}(zr)),zr.exports}var Kr={exports:{}},xo;function _s(){return xo||(xo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(){var n=r,o=n.lib,a=o.Hasher,i=n.x64,l=i.Word,f=i.WordArray,c=n.algo;function u(){return l.create.apply(l,arguments)}var h=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],s=[];(function(){for(var x=0;x<80;x++)s[x]=u()})();var d=c.SHA512=a.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(x,p){for(var m=this._hash.words,E=m[0],g=m[1],v=m[2],b=m[3],y=m[4],_=m[5],A=m[6],D=m[7],B=E.high,S=E.low,P=g.high,k=g.low,I=v.high,K=v.low,Y=b.high,q=b.low,se=y.high,oe=y.low,ce=_.high,ae=_.low,L=A.high,U=A.low,W=D.high,N=D.low,ue=B,te=S,T=P,O=k,$=I,z=K,ie=Y,ee=q,w=se,C=oe,F=ce,H=ae,j=L,J=U,X=W,Q=N,ye=0;ye<80;ye++){var he,Te,Ye=s[ye];if(ye<16)Te=Ye.high=x[p+ye*2]|0,he=Ye.low=x[p+ye*2+1]|0;else{var Ce=s[ye-15],R=Ce.high,G=Ce.low,pe=(R>>>1|G<<31)^(R>>>8|G<<24)^R>>>7,_e=(G>>>1|R<<31)^(G>>>8|R<<24)^(G>>>7|R<<25),We=s[ye-2],je=We.high,Me=We.low,Tr=(je>>>19|Me<<13)^(je<<3|Me>>>29)^je>>>6,Ir=(Me>>>19|je<<13)^(Me<<3|je>>>29)^(Me>>>6|je<<26),Ia=s[ye-7],N0=Ia.high,O0=Ia.low,La=s[ye-16],M0=La.high,Ra=La.low;he=_e+O0,Te=pe+N0+(he>>>0<_e>>>0?1:0),he=he+Ir,Te=Te+Tr+(he>>>0>>0?1:0),he=he+Ra,Te=Te+M0+(he>>>0>>0?1:0),Ye.high=Te,Ye.low=he}var U0=w&F^~w&j,Na=C&H^~C&J,H0=ue&T^ue&$^T&$,W0=te&O^te&z^O&z,j0=(ue>>>28|te<<4)^(ue<<30|te>>>2)^(ue<<25|te>>>7),Oa=(te>>>28|ue<<4)^(te<<30|ue>>>2)^(te<<25|ue>>>7),G0=(w>>>14|C<<18)^(w>>>18|C<<14)^(w<<23|C>>>9),$0=(C>>>14|w<<18)^(C>>>18|w<<14)^(C<<23|w>>>9),Ma=h[ye],V0=Ma.high,Ua=Ma.low,Oe=Q+$0,at=X+G0+(Oe>>>0>>0?1:0),Oe=Oe+Na,at=at+U0+(Oe>>>0>>0?1:0),Oe=Oe+Ua,at=at+V0+(Oe>>>0>>0?1:0),Oe=Oe+he,at=at+Te+(Oe>>>0>>0?1:0),Ha=Oa+W0,q0=j0+H0+(Ha>>>0>>0?1:0);X=j,Q=J,j=F,J=H,F=w,H=C,C=ee+Oe|0,w=ie+at+(C>>>0>>0?1:0)|0,ie=$,ee=z,$=T,z=O,T=ue,O=te,te=Oe+Ha|0,ue=at+q0+(te>>>0>>0?1:0)|0}S=E.low=S+te,E.high=B+ue+(S>>>0>>0?1:0),k=g.low=k+O,g.high=P+T+(k>>>0>>0?1:0),K=v.low=K+z,v.high=I+$+(K>>>0>>0?1:0),q=b.low=q+ee,b.high=Y+ie+(q>>>0>>0?1:0),oe=y.low=oe+C,y.high=se+w+(oe>>>0>>0?1:0),ae=_.low=ae+H,_.high=ce+F+(ae>>>0>>0?1:0),U=A.low=U+J,A.high=L+j+(U>>>0>>0?1:0),N=D.low=N+Q,D.high=W+X+(N>>>0>>0?1:0)},_doFinalize:function(){var x=this._data,p=x.words,m=this._nDataBytes*8,E=x.sigBytes*8;p[E>>>5]|=128<<24-E%32,p[(E+128>>>10<<5)+30]=Math.floor(m/4294967296),p[(E+128>>>10<<5)+31]=m,x.sigBytes=p.length*4,this._process();var g=this._hash.toX32();return g},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});n.SHA512=a._createHelper(d),n.HmacSHA512=a._createHmacHelper(d)}(),r.SHA512})}(Kr)),Kr.exports}var Yr={exports:{}},po;function Ol(){return po||(po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br(),_s())})(re,function(r){return function(){var n=r,o=n.x64,a=o.Word,i=o.WordArray,l=n.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new i.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=f._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=f._createHelper(c),n.HmacSHA384=f._createHmacHelper(c)}(),r.SHA384})}(Yr)),Yr.exports}var Xr={exports:{}},mo;function Ml(){return mo||(mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.x64,c=f.Word,u=o.algo,h=[],s=[],d=[];(function(){for(var m=1,E=0,g=0;g<24;g++){h[m+5*E]=(g+1)*(g+2)/2%64;var v=E%5,b=(2*m+3*E)%5;m=v,E=b}for(var m=0;m<5;m++)for(var E=0;E<5;E++)s[m+5*E]=E+(2*m+3*E)%5*5;for(var y=1,_=0;_<24;_++){for(var A=0,D=0,B=0;B<7;B++){if(y&1){var S=(1<>>24)&16711935|(y<<24|y>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var A=g[b];A.high^=_,A.low^=y}for(var D=0;D<24;D++){for(var B=0;B<5;B++){for(var S=0,P=0,k=0;k<5;k++){var A=g[B+5*k];S^=A.high,P^=A.low}var I=x[B];I.high=S,I.low=P}for(var B=0;B<5;B++)for(var K=x[(B+4)%5],Y=x[(B+1)%5],q=Y.high,se=Y.low,S=K.high^(q<<1|se>>>31),P=K.low^(se<<1|q>>>31),k=0;k<5;k++){var A=g[B+5*k];A.high^=S,A.low^=P}for(var oe=1;oe<25;oe++){var S,P,A=g[oe],ce=A.high,ae=A.low,L=h[oe];L<32?(S=ce<>>32-L,P=ae<>>32-L):(S=ae<>>64-L,P=ce<>>64-L);var U=x[s[oe]];U.high=S,U.low=P}var W=x[0],N=g[0];W.high=N.high,W.low=N.low;for(var B=0;B<5;B++)for(var k=0;k<5;k++){var oe=B+5*k,A=g[oe],ue=x[oe],te=x[(B+1)%5+5*k],T=x[(B+2)%5+5*k];A.high=ue.high^~te.high&T.high,A.low=ue.low^~te.low&T.low}var A=g[0],O=d[D];A.high^=O.high,A.low^=O.low}},_doFinalize:function(){var m=this._data,E=m.words;this._nDataBytes*8;var g=m.sigBytes*8,v=this.blockSize*32;E[g>>>5]|=1<<24-g%32,E[(n.ceil((g+1)/v)*v>>>5)-1]|=128,m.sigBytes=E.length*4,this._process();for(var b=this._state,y=this.cfg.outputLength/8,_=y/8,A=[],D=0;D<_;D++){var B=b[D],S=B.high,P=B.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,A.push(P),A.push(S)}return new i.init(A,y)},clone:function(){for(var m=l.clone.call(this),E=m._state=this._state.slice(0),g=0;g<25;g++)E[g]=E[g].clone();return m}});o.SHA3=l._createHelper(p),o.HmacSHA3=l._createHmacHelper(p)}(Math),r.SHA3})}(Xr)),Xr.exports}var Qr={exports:{}},go;function Ul(){return go||(go=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){/** @preserve + */let ms;const Er=e=>ms=e,gs=Symbol();function On(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ht;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ht||(Ht={}));function yl(){const e=ia(!0),t=e.run(()=>Ze({}));let r=[],n=[];const o=Yi({install(a){Er(o),o._a=a,a.provide(gs,o),a.config.globalProperties.$pinia=o,n.forEach(i=>r.push(i)),n=[]},use(a){return!this._a&&!Ec?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const vs=()=>{};function ro(e,t,r,n=vs){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&X0()&&Q0(o),o}function Ct(e,...t){e.slice().forEach(r=>{r(...t)})}const wl=e=>e();function Mn(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];On(o)&&On(n)&&e.hasOwnProperty(r)&&!Gt(n)&&!Qi(n)?e[r]=Mn(o,n):e[r]=n}return e}const Al=Symbol();function Sl(e){return!On(e)||!e.hasOwnProperty(Al)}const{assign:ct}=Object;function Dl(e){return!!(Gt(e)&&e.effect)}function Bl(e,t,r,n){const{state:o,actions:a,getters:i}=t,l=r.state.value[e];let f;function c(){l||(r.state.value[e]=o?o():{});const u=J0(r.state.value[e]);return ct(u,a,Object.keys(i||{}).reduce((h,s)=>(h[s]=Yi(ve(()=>{Er(r);const d=r._s.get(e);return i[s].call(d,d)})),h),{}))}return f=Es(e,c,t,r,n,!0),f}function Es(e,t,r={},n,o,a){let i;const l=ct({actions:{}},r),f={deep:!0};let c,u,h=[],s=[],d;const x=n.state.value[e];!a&&!x&&(n.state.value[e]={}),Ze({});let p;function m(D){let B;c=u=!1,typeof D=="function"?(D(n.state.value[e]),B={type:Ht.patchFunction,storeId:e,events:d}):(Mn(n.state.value[e],D),B={type:Ht.patchObject,payload:D,storeId:e,events:d});const S=p=Symbol();Ji().then(()=>{p===S&&(c=!0)}),u=!0,Ct(h,B,n.state.value[e])}const E=a?function(){const{state:B}=r,S=B?B():{};this.$patch(P=>{ct(P,S)})}:vs;function g(){i.stop(),h=[],s=[],n._s.delete(e)}function v(D,B){return function(){Er(n);const S=Array.from(arguments),P=[],k=[];function I(q){P.push(q)}function K(q){k.push(q)}Ct(s,{args:S,name:D,store:y,after:I,onError:K});let Y;try{Y=B.apply(this&&this.$id===e?this:y,S)}catch(q){throw Ct(k,q),q}return Y instanceof Promise?Y.then(q=>(Ct(P,q),q)).catch(q=>(Ct(k,q),Promise.reject(q))):(Ct(P,Y),Y)}}const b={_p:n,$id:e,$onAction:ro.bind(null,s),$patch:m,$reset:E,$subscribe(D,B={}){const S=ro(h,D,B.detached,()=>P()),P=i.run(()=>St(()=>n.state.value[e],k=>{(B.flush==="sync"?u:c)&&D({storeId:e,type:Ht.direct,events:d},k)},ct({},f,B)));return S},$dispose:g},y=Xi(b);n._s.set(e,y);const A=(n._a&&n._a.runWithContext||wl)(()=>n._e.run(()=>(i=ia()).run(t)));for(const D in A){const B=A[D];if(Gt(B)&&!Dl(B)||Qi(B))a||(x&&Sl(B)&&(Gt(B)?B.value=x[D]:Mn(B,x[D])),n.state.value[e][D]=B);else if(typeof B=="function"){const S=v(D,B);A[D]=S,l.actions[D]=B}}return ct(y,A),ct(Y0(y),A),Object.defineProperty(y,"$state",{get:()=>n.state.value[e],set:D=>{m(B=>{ct(B,D)})}}),n._p.forEach(D=>{ct(y,i.run(()=>D({store:y,app:n._a,pinia:n,options:l})))}),x&&a&&r.hydrate&&r.hydrate(y.$state,x),c=!0,u=!0,y}function vt(e,t,r){let n,o;const a=typeof t=="function";typeof e=="string"?(n=e,o=a?r:t):(o=e,n=e.id);function i(l,f){const c=K0();return l=l||(c?nt(gs,null):null),l&&Er(l),l=ms,l._s.has(n)||(a?Es(n,t,o,l):Bl(n,o,l)),l._s.get(n)}return i.$id=n,i}var bs={exports:{}};function Fl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mr={exports:{}};const Pl={},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),Tl=hc(kl);var no;function fe(){return no||(no=1,function(e,t){(function(r,n){e.exports=n()})(re,function(){var r=r||function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof re<"u"&&re.crypto&&(a=re.crypto),!a&&typeof Fl=="function")try{a=Tl}catch{}var i=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function g(){}return function(v){var b;return g.prototype=v,b=new g,g.prototype=null,b}}(),f={},c=f.lib={},u=c.Base=function(){return{extend:function(g){var v=l(this);return g&&v.mixIn(g),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var v in g)g.hasOwnProperty(v)&&(this[v]=g[v]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=c.WordArray=u.extend({init:function(g,v){g=this.words=g||[],v!=o?this.sigBytes=v:this.sigBytes=g.length*4},toString:function(g){return(g||d).stringify(this)},concat:function(g){var v=this.words,b=g.words,y=this.sigBytes,_=g.sigBytes;if(this.clamp(),y%4)for(var A=0;A<_;A++){var D=b[A>>>2]>>>24-A%4*8&255;v[y+A>>>2]|=D<<24-(y+A)%4*8}else for(var B=0;B<_;B+=4)v[y+B>>>2]=b[B>>>2];return this.sigBytes+=_,this},clamp:function(){var g=this.words,v=this.sigBytes;g[v>>>2]&=4294967295<<32-v%4*8,g.length=n.ceil(v/4)},clone:function(){var g=u.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var v=[],b=0;b>>2]>>>24-_%4*8&255;y.push((A>>>4).toString(16)),y.push((A&15).toString(16))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>3]|=parseInt(g.substr(y,2),16)<<24-y%8*4;return new h.init(b,v/2)}},x=s.Latin1={stringify:function(g){for(var v=g.words,b=g.sigBytes,y=[],_=0;_>>2]>>>24-_%4*8&255;y.push(String.fromCharCode(A))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>2]|=(g.charCodeAt(y)&255)<<24-y%4*8;return new h.init(b,v)}},p=s.Utf8={stringify:function(g){try{return decodeURIComponent(escape(x.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return x.parse(unescape(encodeURIComponent(g)))}},m=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=p.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var v,b=this._data,y=b.words,_=b.sigBytes,A=this.blockSize,D=A*4,B=_/D;g?B=n.ceil(B):B=n.max((B|0)-this._minBufferSize,0);var S=B*A,P=n.min(S*4,_);if(S){for(var k=0;k>>2]|=f[h]<<24-h%4*8;i.call(this,u,c)}else i.apply(this,arguments)};l.prototype=a}}(),r.lib.WordArray})}(Hr)),Hr.exports}var Wr={exports:{}},io;function Ll(){return io||(io=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Utf16=i.Utf16BE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535;h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=f.charCodeAt(h)<<16-h%2*16;return a.create(u,c*2)}},i.Utf16LE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535);h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=l(f.charCodeAt(h)<<16-h%2*16);return a.create(u,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),r.enc.Utf16})}(Wr)),Wr.exports}var jr={exports:{}},so;function Et(){return so||(so=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64={stringify:function(f){var c=f.words,u=f.sigBytes,h=this._map;f.clamp();for(var s=[],d=0;d>>2]>>>24-d%4*8&255,p=c[d+1>>>2]>>>24-(d+1)%4*8&255,m=c[d+2>>>2]>>>24-(d+2)%4*8&255,E=x<<16|p<<8|m,g=0;g<4&&d+g*.75>>6*(3-g)&63));var v=h.charAt(64);if(v)for(;s.length%4;)s.push(v);return s.join("")},parse:function(f){var c=f.length,u=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var s=0;s>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64})}(jr)),jr.exports}var Gr={exports:{}},co;function Rl(){return co||(co=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64url={stringify:function(f,c){c===void 0&&(c=!0);var u=f.words,h=f.sigBytes,s=c?this._safe_map:this._map;f.clamp();for(var d=[],x=0;x>>2]>>>24-x%4*8&255,m=u[x+1>>>2]>>>24-(x+1)%4*8&255,E=u[x+2>>>2]>>>24-(x+2)%4*8&255,g=p<<16|m<<8|E,v=0;v<4&&x+v*.75>>6*(3-v)&63));var b=s.charAt(64);if(b)for(;d.length%4;)d.push(b);return d.join("")},parse:function(f,c){c===void 0&&(c=!0);var u=f.length,h=c?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var d=0;d>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64url})}(Gr)),Gr.exports}var $r={exports:{}},lo;function bt(){return lo||(lo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[];(function(){for(var p=0;p<64;p++)c[p]=n.abs(n.sin(p+1))*4294967296|0})();var u=f.MD5=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var E=0;E<16;E++){var g=m+E,v=p[g];p[g]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var b=this._hash.words,y=p[m+0],_=p[m+1],A=p[m+2],D=p[m+3],B=p[m+4],S=p[m+5],P=p[m+6],k=p[m+7],I=p[m+8],K=p[m+9],Y=p[m+10],q=p[m+11],se=p[m+12],oe=p[m+13],ce=p[m+14],ae=p[m+15],L=b[0],U=b[1],W=b[2],N=b[3];L=h(L,U,W,N,y,7,c[0]),N=h(N,L,U,W,_,12,c[1]),W=h(W,N,L,U,A,17,c[2]),U=h(U,W,N,L,D,22,c[3]),L=h(L,U,W,N,B,7,c[4]),N=h(N,L,U,W,S,12,c[5]),W=h(W,N,L,U,P,17,c[6]),U=h(U,W,N,L,k,22,c[7]),L=h(L,U,W,N,I,7,c[8]),N=h(N,L,U,W,K,12,c[9]),W=h(W,N,L,U,Y,17,c[10]),U=h(U,W,N,L,q,22,c[11]),L=h(L,U,W,N,se,7,c[12]),N=h(N,L,U,W,oe,12,c[13]),W=h(W,N,L,U,ce,17,c[14]),U=h(U,W,N,L,ae,22,c[15]),L=s(L,U,W,N,_,5,c[16]),N=s(N,L,U,W,P,9,c[17]),W=s(W,N,L,U,q,14,c[18]),U=s(U,W,N,L,y,20,c[19]),L=s(L,U,W,N,S,5,c[20]),N=s(N,L,U,W,Y,9,c[21]),W=s(W,N,L,U,ae,14,c[22]),U=s(U,W,N,L,B,20,c[23]),L=s(L,U,W,N,K,5,c[24]),N=s(N,L,U,W,ce,9,c[25]),W=s(W,N,L,U,D,14,c[26]),U=s(U,W,N,L,I,20,c[27]),L=s(L,U,W,N,oe,5,c[28]),N=s(N,L,U,W,A,9,c[29]),W=s(W,N,L,U,k,14,c[30]),U=s(U,W,N,L,se,20,c[31]),L=d(L,U,W,N,S,4,c[32]),N=d(N,L,U,W,I,11,c[33]),W=d(W,N,L,U,q,16,c[34]),U=d(U,W,N,L,ce,23,c[35]),L=d(L,U,W,N,_,4,c[36]),N=d(N,L,U,W,B,11,c[37]),W=d(W,N,L,U,k,16,c[38]),U=d(U,W,N,L,Y,23,c[39]),L=d(L,U,W,N,oe,4,c[40]),N=d(N,L,U,W,y,11,c[41]),W=d(W,N,L,U,D,16,c[42]),U=d(U,W,N,L,P,23,c[43]),L=d(L,U,W,N,K,4,c[44]),N=d(N,L,U,W,se,11,c[45]),W=d(W,N,L,U,ae,16,c[46]),U=d(U,W,N,L,A,23,c[47]),L=x(L,U,W,N,y,6,c[48]),N=x(N,L,U,W,k,10,c[49]),W=x(W,N,L,U,ce,15,c[50]),U=x(U,W,N,L,S,21,c[51]),L=x(L,U,W,N,se,6,c[52]),N=x(N,L,U,W,D,10,c[53]),W=x(W,N,L,U,Y,15,c[54]),U=x(U,W,N,L,_,21,c[55]),L=x(L,U,W,N,I,6,c[56]),N=x(N,L,U,W,ae,10,c[57]),W=x(W,N,L,U,P,15,c[58]),U=x(U,W,N,L,oe,21,c[59]),L=x(L,U,W,N,B,6,c[60]),N=x(N,L,U,W,q,10,c[61]),W=x(W,N,L,U,A,15,c[62]),U=x(U,W,N,L,K,21,c[63]),b[0]=b[0]+L|0,b[1]=b[1]+U|0,b[2]=b[2]+W|0,b[3]=b[3]+N|0},_doFinalize:function(){var p=this._data,m=p.words,E=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32;var v=n.floor(E/4294967296),b=E;m[(g+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m[(g+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p.sigBytes=(m.length+1)*4,this._process();for(var y=this._hash,_=y.words,A=0;A<4;A++){var D=_[A];_[A]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return y},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function h(p,m,E,g,v,b,y){var _=p+(m&E|~m&g)+v+y;return(_<>>32-b)+m}function s(p,m,E,g,v,b,y){var _=p+(m&g|E&~g)+v+y;return(_<>>32-b)+m}function d(p,m,E,g,v,b,y){var _=p+(m^E^g)+v+y;return(_<>>32-b)+m}function x(p,m,E,g,v,b,y){var _=p+(E^(m|~g))+v+y;return(_<>>32-b)+m}o.MD5=l._createHelper(u),o.HmacMD5=l._createHmacHelper(u)}(Math),r.MD5})}($r)),$r.exports}var Vr={exports:{}},uo;function Cs(){return uo||(uo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.Hasher,l=n.algo,f=[],c=l.SHA1=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,h){for(var s=this._hash.words,d=s[0],x=s[1],p=s[2],m=s[3],E=s[4],g=0;g<80;g++){if(g<16)f[g]=u[h+g]|0;else{var v=f[g-3]^f[g-8]^f[g-14]^f[g-16];f[g]=v<<1|v>>>31}var b=(d<<5|d>>>27)+E+f[g];g<20?b+=(x&p|~x&m)+1518500249:g<40?b+=(x^p^m)+1859775393:g<60?b+=(x&p|x&m|p&m)-1894007588:b+=(x^p^m)-899497514,E=m,m=p,p=x<<30|x>>>2,x=d,d=b}s[0]=s[0]+d|0,s[1]=s[1]+x|0,s[2]=s[2]+p|0,s[3]=s[3]+m|0,s[4]=s[4]+E|0},_doFinalize:function(){var u=this._data,h=u.words,s=this._nDataBytes*8,d=u.sigBytes*8;return h[d>>>5]|=128<<24-d%32,h[(d+64>>>9<<4)+14]=Math.floor(s/4294967296),h[(d+64>>>9<<4)+15]=s,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=i.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c)}(),r.SHA1})}(Vr)),Vr.exports}var qr={exports:{}},fo;function xa(){return fo||(fo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[],u=[];(function(){function d(E){for(var g=n.sqrt(E),v=2;v<=g;v++)if(!(E%v))return!1;return!0}function x(E){return(E-(E|0))*4294967296|0}for(var p=2,m=0;m<64;)d(p)&&(m<8&&(c[m]=x(n.pow(p,1/2))),u[m]=x(n.pow(p,1/3)),m++),p++})();var h=[],s=f.SHA256=l.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(d,x){for(var p=this._hash.words,m=p[0],E=p[1],g=p[2],v=p[3],b=p[4],y=p[5],_=p[6],A=p[7],D=0;D<64;D++){if(D<16)h[D]=d[x+D]|0;else{var B=h[D-15],S=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,P=h[D-2],k=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;h[D]=S+h[D-7]+k+h[D-16]}var I=b&y^~b&_,K=m&E^m&g^E&g,Y=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),q=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),se=A+q+I+u[D]+h[D],oe=Y+K;A=_,_=y,y=b,b=v+se|0,v=g,g=E,E=m,m=se+oe|0}p[0]=p[0]+m|0,p[1]=p[1]+E|0,p[2]=p[2]+g|0,p[3]=p[3]+v|0,p[4]=p[4]+b|0,p[5]=p[5]+y|0,p[6]=p[6]+_|0,p[7]=p[7]+A|0},_doFinalize:function(){var d=this._data,x=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return x[m>>>5]|=128<<24-m%32,x[(m+64>>>9<<4)+14]=n.floor(p/4294967296),x[(m+64>>>9<<4)+15]=p,d.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var d=l.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA256=l._createHelper(s),o.HmacSHA256=l._createHmacHelper(s)}(Math),r.SHA256})}(qr)),qr.exports}var zr={exports:{}},ho;function Nl(){return ho||(ho=1,function(e,t){(function(r,n,o){e.exports=n(fe(),xa())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.algo,l=i.SHA256,f=i.SHA224=l.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=l._createHelper(f),n.HmacSHA224=l._createHmacHelper(f)}(),r.SHA224})}(zr)),zr.exports}var Kr={exports:{}},xo;function _s(){return xo||(xo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(){var n=r,o=n.lib,a=o.Hasher,i=n.x64,l=i.Word,f=i.WordArray,c=n.algo;function u(){return l.create.apply(l,arguments)}var h=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],s=[];(function(){for(var x=0;x<80;x++)s[x]=u()})();var d=c.SHA512=a.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(x,p){for(var m=this._hash.words,E=m[0],g=m[1],v=m[2],b=m[3],y=m[4],_=m[5],A=m[6],D=m[7],B=E.high,S=E.low,P=g.high,k=g.low,I=v.high,K=v.low,Y=b.high,q=b.low,se=y.high,oe=y.low,ce=_.high,ae=_.low,L=A.high,U=A.low,W=D.high,N=D.low,ue=B,te=S,T=P,O=k,$=I,z=K,ie=Y,ee=q,w=se,C=oe,F=ce,H=ae,j=L,J=U,X=W,Q=N,ye=0;ye<80;ye++){var he,Ie,Ye=s[ye];if(ye<16)Ie=Ye.high=x[p+ye*2]|0,he=Ye.low=x[p+ye*2+1]|0;else{var Ce=s[ye-15],R=Ce.high,G=Ce.low,pe=(R>>>1|G<<31)^(R>>>8|G<<24)^R>>>7,_e=(G>>>1|R<<31)^(G>>>8|R<<24)^(G>>>7|R<<25),We=s[ye-2],je=We.high,Me=We.low,Tr=(je>>>19|Me<<13)^(je<<3|Me>>>29)^je>>>6,Ir=(Me>>>19|je<<13)^(Me<<3|je>>>29)^(Me>>>6|je<<26),Ia=s[ye-7],N0=Ia.high,O0=Ia.low,La=s[ye-16],M0=La.high,Ra=La.low;he=_e+O0,Ie=pe+N0+(he>>>0<_e>>>0?1:0),he=he+Ir,Ie=Ie+Tr+(he>>>0>>0?1:0),he=he+Ra,Ie=Ie+M0+(he>>>0>>0?1:0),Ye.high=Ie,Ye.low=he}var U0=w&F^~w&j,Na=C&H^~C&J,H0=ue&T^ue&$^T&$,W0=te&O^te&z^O&z,j0=(ue>>>28|te<<4)^(ue<<30|te>>>2)^(ue<<25|te>>>7),Oa=(te>>>28|ue<<4)^(te<<30|ue>>>2)^(te<<25|ue>>>7),G0=(w>>>14|C<<18)^(w>>>18|C<<14)^(w<<23|C>>>9),$0=(C>>>14|w<<18)^(C>>>18|w<<14)^(C<<23|w>>>9),Ma=h[ye],V0=Ma.high,Ua=Ma.low,Oe=Q+$0,at=X+G0+(Oe>>>0>>0?1:0),Oe=Oe+Na,at=at+U0+(Oe>>>0>>0?1:0),Oe=Oe+Ua,at=at+V0+(Oe>>>0>>0?1:0),Oe=Oe+he,at=at+Ie+(Oe>>>0>>0?1:0),Ha=Oa+W0,q0=j0+H0+(Ha>>>0>>0?1:0);X=j,Q=J,j=F,J=H,F=w,H=C,C=ee+Oe|0,w=ie+at+(C>>>0>>0?1:0)|0,ie=$,ee=z,$=T,z=O,T=ue,O=te,te=Oe+Ha|0,ue=at+q0+(te>>>0>>0?1:0)|0}S=E.low=S+te,E.high=B+ue+(S>>>0>>0?1:0),k=g.low=k+O,g.high=P+T+(k>>>0>>0?1:0),K=v.low=K+z,v.high=I+$+(K>>>0>>0?1:0),q=b.low=q+ee,b.high=Y+ie+(q>>>0>>0?1:0),oe=y.low=oe+C,y.high=se+w+(oe>>>0>>0?1:0),ae=_.low=ae+H,_.high=ce+F+(ae>>>0>>0?1:0),U=A.low=U+J,A.high=L+j+(U>>>0>>0?1:0),N=D.low=N+Q,D.high=W+X+(N>>>0>>0?1:0)},_doFinalize:function(){var x=this._data,p=x.words,m=this._nDataBytes*8,E=x.sigBytes*8;p[E>>>5]|=128<<24-E%32,p[(E+128>>>10<<5)+30]=Math.floor(m/4294967296),p[(E+128>>>10<<5)+31]=m,x.sigBytes=p.length*4,this._process();var g=this._hash.toX32();return g},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});n.SHA512=a._createHelper(d),n.HmacSHA512=a._createHmacHelper(d)}(),r.SHA512})}(Kr)),Kr.exports}var Yr={exports:{}},po;function Ol(){return po||(po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br(),_s())})(re,function(r){return function(){var n=r,o=n.x64,a=o.Word,i=o.WordArray,l=n.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new i.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=f._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=f._createHelper(c),n.HmacSHA384=f._createHmacHelper(c)}(),r.SHA384})}(Yr)),Yr.exports}var Xr={exports:{}},mo;function Ml(){return mo||(mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.x64,c=f.Word,u=o.algo,h=[],s=[],d=[];(function(){for(var m=1,E=0,g=0;g<24;g++){h[m+5*E]=(g+1)*(g+2)/2%64;var v=E%5,b=(2*m+3*E)%5;m=v,E=b}for(var m=0;m<5;m++)for(var E=0;E<5;E++)s[m+5*E]=E+(2*m+3*E)%5*5;for(var y=1,_=0;_<24;_++){for(var A=0,D=0,B=0;B<7;B++){if(y&1){var S=(1<>>24)&16711935|(y<<24|y>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var A=g[b];A.high^=_,A.low^=y}for(var D=0;D<24;D++){for(var B=0;B<5;B++){for(var S=0,P=0,k=0;k<5;k++){var A=g[B+5*k];S^=A.high,P^=A.low}var I=x[B];I.high=S,I.low=P}for(var B=0;B<5;B++)for(var K=x[(B+4)%5],Y=x[(B+1)%5],q=Y.high,se=Y.low,S=K.high^(q<<1|se>>>31),P=K.low^(se<<1|q>>>31),k=0;k<5;k++){var A=g[B+5*k];A.high^=S,A.low^=P}for(var oe=1;oe<25;oe++){var S,P,A=g[oe],ce=A.high,ae=A.low,L=h[oe];L<32?(S=ce<>>32-L,P=ae<>>32-L):(S=ae<>>64-L,P=ce<>>64-L);var U=x[s[oe]];U.high=S,U.low=P}var W=x[0],N=g[0];W.high=N.high,W.low=N.low;for(var B=0;B<5;B++)for(var k=0;k<5;k++){var oe=B+5*k,A=g[oe],ue=x[oe],te=x[(B+1)%5+5*k],T=x[(B+2)%5+5*k];A.high=ue.high^~te.high&T.high,A.low=ue.low^~te.low&T.low}var A=g[0],O=d[D];A.high^=O.high,A.low^=O.low}},_doFinalize:function(){var m=this._data,E=m.words;this._nDataBytes*8;var g=m.sigBytes*8,v=this.blockSize*32;E[g>>>5]|=1<<24-g%32,E[(n.ceil((g+1)/v)*v>>>5)-1]|=128,m.sigBytes=E.length*4,this._process();for(var b=this._state,y=this.cfg.outputLength/8,_=y/8,A=[],D=0;D<_;D++){var B=b[D],S=B.high,P=B.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,A.push(P),A.push(S)}return new i.init(A,y)},clone:function(){for(var m=l.clone.call(this),E=m._state=this._state.slice(0),g=0;g<25;g++)E[g]=E[g].clone();return m}});o.SHA3=l._createHelper(p),o.HmacSHA3=l._createHmacHelper(p)}(Math),r.SHA3})}(Xr)),Xr.exports}var Qr={exports:{}},go;function Ul(){return go||(go=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -20,29 +20,29 @@ import{d as rt,S as zi,V as Ki,W as wt,X as ut,M as Re,m as z0,l as mt,Y as ia,r `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[$o]=this[$o]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=Nt(i);n[l]||(xf(o,i),n[l]=!0)}return M.isArray(t)?t.forEach(a):a(t),this}}Ar.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(Ar.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});M.freezeMethods(Ar);const tt=Ar;function _n(e,t){const r=this||Ea,n=t||r,o=tt.from(n.headers);let a=n.data;return M.forEach(e,function(l){a=l.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Gs(e){return!!(e&&e.__CANCEL__)}function er(e,t,r){de.call(this,e??"canceled",de.ERR_CANCELED,t,r),this.name="CanceledError"}M.inherits(er,de,{__CANCEL__:!0});function pf(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new de("Request failed with status code "+r.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const mf=qe.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];M.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),M.isString(n)&&i.push("path="+n),M.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $s(e,t){return e&&!gf(t)?vf(e,t):t}const Ef=qe.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const l=M.isString(i)?o(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function bf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Cf(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const c=Date.now(),u=n[a];i||(i=c),r[o]=f,n[o]=c;let h=a,s=0;for(;h!==o;)s+=r[h++],h=h%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i{const a=o.loaded,i=o.lengthComputable?o.total:void 0,l=a-r,f=n(l),c=a<=i;r=a;const u={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:f||void 0,estimated:f&&i&&c?(i-a)/f:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const _f=typeof XMLHttpRequest<"u",yf=_f&&function(e){return new Promise(function(r,n){let o=e.data;const a=tt.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,f;function c(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let u;if(M.isFormData(o)){if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){const[p,...m]=u?u.split(";").map(E=>E.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...m].join("; "))}}let h=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(p+":"+m))}const s=$s(e.baseURL,e.url);h.open(e.method.toUpperCase(),Us(s,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function d(){if(!h)return;const p=tt.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!i||i==="text"||i==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:e,request:h};pf(function(v){r(v),c()},function(v){n(v),c()},E),h=null}if("onloadend"in h?h.onloadend=d:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(d)},h.onabort=function(){h&&(n(new de("Request aborted",de.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new de("Network Error",de.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Hs;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),n(new de(m,E.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,h)),h=null},qe.hasStandardBrowserEnv&&(l&&M.isFunction(l)&&(l=l(e)),l||l!==!1&&Ef(s))){const p=e.xsrfHeaderName&&e.xsrfCookieName&&mf.read(e.xsrfCookieName);p&&a.set(e.xsrfHeaderName,p)}o===void 0&&a.setContentType(null),"setRequestHeader"in h&&M.forEach(a.toJSON(),function(m,E){h.setRequestHeader(E,m)}),M.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),i&&i!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",Vo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",Vo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=p=>{h&&(n(!p||p.type?new er(null,e,h):p),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const x=bf(s);if(x&&qe.protocols.indexOf(x)===-1){n(new de("Unsupported protocol "+x+":",de.ERR_BAD_REQUEST,e));return}h.send(o||null)})},jn={http:qu,xhr:yf};M.forEach(jn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qo=e=>`- ${e}`,wf=e=>M.isFunction(e)||e===null||e===!1,Vs={getAdapter:e=>{e=M.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let a=0;a`adapter ${l} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since : `+a.map(qo).join(` `):" "+qo(a[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:jn};function yn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new er(null,e)}function zo(e){return yn(e),e.headers=tt.from(e.headers),e.data=_n.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vs.getAdapter(e.adapter||Ea.adapter)(e).then(function(n){return yn(e),n.data=_n.call(e,e.transformResponse,n),n.headers=tt.from(n.headers),n},function(n){return Gs(n)||(yn(e),n&&n.response&&(n.response.data=_n.call(e,e.transformResponse,n.response),n.response.headers=tt.from(n.response.headers))),Promise.reject(n)})}const Ko=e=>e instanceof tt?e.toJSON():e;function Dt(e,t){t=t||{};const r={};function n(c,u,h){return M.isPlainObject(c)&&M.isPlainObject(u)?M.merge.call({caseless:h},c,u):M.isPlainObject(u)?M.merge({},u):M.isArray(u)?u.slice():u}function o(c,u,h){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c,h)}else return n(c,u,h)}function a(c,u){if(!M.isUndefined(u))return n(void 0,u)}function i(c,u){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,h){if(h in t)return n(c,u);if(h in e)return n(void 0,c)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>o(Ko(c),Ko(u),!0)};return M.forEach(Object.keys(Object.assign({},e,t)),function(u){const h=f[u]||o,s=h(e[u],t[u],u);M.isUndefined(s)&&h!==l||(r[u]=s)}),r}const qs="1.6.7",ba={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ba[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Yo={};ba.transitional=function(t,r,n){function o(a,i){return"[Axios v"+qs+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,l)=>{if(t===!1)throw new de(o(i," has been removed"+(r?" in "+r:"")),de.ERR_DEPRECATED);return r&&!Yo[i]&&(Yo[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,l):!0}};function Af(e,t,r){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const l=e[a],f=l===void 0||i(l,a,e);if(f!==!0)throw new de("option "+a+" must be "+f,de.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new de("Unknown option "+a,de.ERR_BAD_OPTION)}}const Gn={assertOptions:Af,validators:ba},ot=Gn.validators;class dr{constructor(t){this.defaults=t,this.interceptors={request:new Go,response:new Go}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=` -`+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Dt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Gn.assertOptions(n,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),o!=null&&(M.isFunction(o)?r.paramsSerializer={serialize:o}:Gn.assertOptions(o,{encode:ot.function,serialize:ot.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&M.merge(a.common,a[r.method]);a&&M.forEach(["delete","get","head","post","put","patch","common"],x=>{delete a[x]}),r.headers=tt.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(f=f&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,s;if(!f){const x=[zo.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,c),s=x.length,u=Promise.resolve(r);h{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new er(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Ca(function(o){t=o}),cancel:t}}}const Sf=Ca;function Df(e){return function(r){return e.apply(null,r)}}function Bf(e){return M.isObject(e)&&e.isAxiosError===!0}const $n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($n).forEach(([e,t])=>{$n[t]=e});const Ff=$n;function zs(e){const t=new lr(e),r=Ds(lr.prototype.request,t);return M.extend(r,lr.prototype,t,{allOwnKeys:!0}),M.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return zs(Dt(e,o))},r}const Ae=zs(Ea);Ae.Axios=lr;Ae.CanceledError=er;Ae.CancelToken=Sf;Ae.isCancel=Gs;Ae.VERSION=qs;Ae.toFormData=wr;Ae.AxiosError=de;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=Df;Ae.isAxiosError=Bf;Ae.mergeConfig=Dt;Ae.AxiosHeaders=tt;Ae.formToJSON=e=>js(M.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=Vs.getAdapter;Ae.HttpStatusCode=Ff;Ae.default=Ae;const Pf=Ae,hr=Pf.create({baseURL:"/api",timeout:2400*1e3});hr.interceptors.request.use(e=>{var o;const t=Kt().token,r=(o=Xs())==null?void 0:o.fingerprint,n=window.location.origin;return e.headers["X-Website-Domain"]=n,r&&(e.headers.Fingerprint=r),t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e.response));hr.interceptors.response.use(e=>{if([200,201].includes(e.status))return e;throw new Error(e.status.toString())},e=>Promise.reject(e));let Xo=0;const kf=["/chatlog/chatList","/group/query"];function Tf(e){return e?kf.some(t=>e.includes(t)):!1}function Ks({url:e,data:t,method:r,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){const f=h=>{const s=Kt(),{code:d}=h.data;return d>=200&&d<300||!d?h.data:(d===401&&(s.removeToken(),window.location.reload()),Promise.reject(h.data))},c=h=>{var p,m,E,g,v,b;const s=Kt();let d="";if((p=h.response)!=null&&p.data&&(d=h.response.data),l==null||l(),((m=h==null?void 0:h.response)==null?void 0:m.status)===401){if(s.removeToken(),!Tf((E=h==null?void 0:h.request)==null?void 0:E.responseURL)){s.loadInit&&s.setLoginDialog(!0);const y=((g=h.response.data)==null?void 0:g.message)||"请先登录后再进行使用!";Date.now()-Xo>3e3&&window.$message.error(y)}Xo=Date.now()}else d&&!(d!=null&&d.success)&&window.$message.error((d==null?void 0:d.message)||"请求接口错误!");throw new Error(((b=(v=h.response)==null?void 0:v.data)==null?void 0:b.message)||h||"Error")};i==null||i(),r=r||"GET";const u=Object.assign(typeof t=="function"?t():t??{},{});return r==="GET"?hr.get(e,{params:u,signal:a,onDownloadProgress:o}).then(f,c):hr.post(e,u,{headers:n,signal:a,onDownloadProgress:o}).then(f,c)}function we({url:e,data:t,method:r="GET",onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i}){return Ks({url:e,method:r,data:t,onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i})}function ge({url:e,data:t,method:r="POST",headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){return Ks({url:e,method:r,data:t,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l})}function If(e){return ge({url:"/group/create",data:e})}function Lf(){return we({url:"/group/query"})}function Rf(e){return ge({url:"/group/update",data:e})}function Nf(e){return ge({url:"/group/del",data:e})}function Of(e){return ge({url:"/group/delAll",data:e})}const Vn="chatStorage";function Mf(){return{active:0,usingContext:!0,usingNetwork:!1,groupList:[],chatList:[],groupKeyWord:"",baseConfig:null,currentPlugin:void 0,pluginList:[]}}function Uf(){const e=Be.get(Vn);return{...Mf(),...e}}function Hf({active:e}){Be.set(Vn,{...Be.get(Vn),active:e})}function Wf(e){return ge({url:"/chatlog/del",data:e})}function jf(e){return ge({url:"/chatlog/delByGroupId",data:e})}function Gf(e){return we({url:"/chatlog/chatList",data:e})}function cm(){return we({url:"/models/list"})}function $f(){return we({url:"/models/baseConfig"})}function Vf(){return we({url:"/plugin/pluginList"})}const Ys=vt("chat-store",{state:()=>Uf(),getters:{activeConfig:e=>{var o;const t=e.active;if(!t)return{};const r=(o=e.groupList.find(a=>a.uuid===t))==null?void 0:o.config;return r?JSON.parse(r):e.baseConfig},activeGroupAppId:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.appId:null},activeModel(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.model},activeModelName(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelName},activeModelAvatar(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelAvatar},activeModelDeductType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deductType},activeModelKeyType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.keyType},activeModelFileUpload(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.isFileUpload},activeModelPrice(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deduct}},actions:{async queryPlugins(){try{const e=await Vf();e.success&&e.code===200&&(this.pluginList=e.data.rows.filter(t=>t.isEnabled===1).map(t=>({pluginId:t.id,pluginName:t.name,description:t.description,pluginImg:t.pluginImg,parameters:t.parameters})))}catch{}},setGroupKeyWord(e){this.groupKeyWord=e},getChatByGroupInfo(){if(this.active)return this.groupList.find(e=>e.uuid===this.active)},getConfigFromUuid(e){var t;return(t=this.groupList.find(r=>r.uuid===e))==null?void 0:t.config},async addNewChatGroup(e=0,t){console.log("开始新增新的对话组",{appId:e,modelConfig:t});try{const r=await If({appId:e,modelConfig:t});console.log("创建对话组API响应:",r);const{id:n}=r.data;console.log("新对话组ID:",n),this.active=n,console.log("重置chatList并设置active:",{chatList:this.chatList,active:this.active}),console.log("设置活动对话组完成"),await this.queryMyGroup(),console.log("查询我的对话组完成"),await this.setActiveGroup(n),this.chatList=[],console.log("记录状态完成")}catch(r){console.error("新增对话组时出错:",r)}},async getBaseModelConfig(){const e=await $f();this.baseConfig=e==null?void 0:e.data},async queryMyGroup(){const e=await Lf();this.groupList=[...e.data.map(r=>{const{id:n,title:o,isSticky:a,createdAt:i,updatedAt:l,appId:f,config:c,appLogo:u,isFixedModel:h,isGpts:s}=r;return{uuid:n,title:o,isEdit:!1,appId:f,config:c,isSticky:a,appLogo:u,createdAt:i,isFixedModel:h,isGpts:s,updatedAt:new Date(l).getTime()}})];const t=this.groupList.some(r=>Number(r.uuid)===Number(this.active));(!this.active||!t)&&this.groupList.length&&this.setActiveGroup(this.groupList[0].uuid),this.recordState()},async updateGroupInfo(e){await Rf(e),await this.queryMyGroup()},async setActiveGroup(e){this.active=e,this.active?await this.queryActiveChatLogList():this.chatList=[],this.groupList.forEach(t=>t.isEdit=!1),this.recordState()},async deleteGroup(e){const t=this.groupList.findIndex(n=>n.uuid===e.uuid),{uuid:r}=e;await Nf({groupId:r}),await this.queryMyGroup(),this.groupList.length===0&&await this.setActiveGroup(0),t>0&&t0&&await this.setActiveGroup(this.groupList[0].uuid),(t>this.groupList.length||t===0&&this.groupList.length===0)&&await this.setActiveGroup(0),t>0&&t===this.groupList.length&&await this.setActiveGroup(this.groupList[t-1].uuid),this.recordState()},async delAllGroup(){!this.active||!this.groupList.length||(await Of(),await this.queryMyGroup(),this.groupList.length===0?await this.setActiveGroup(0):await this.setActiveGroup(this.groupList[0].uuid))},async queryActiveChatLogList(){if(!this.active||Number(this.active)===0)return;const e=await Gf({groupId:this.active});this.chatList=e.data,this.recordState()},addGroupChat(e){this.chatList=[...this.chatList,e]},updateGroupChat(e,t){this.chatList[e]={...this.chatList[e],...t}},updateGroupChatSome(e,t){this.chatList[e]={...this.chatList[e],...t}},async deleteChatById(e){e&&(await Wf({id:e}),await this.queryActiveChatLogList())},setUsingContext(e){this.usingContext=e,this.recordState()},setUsingNetwork(e){this.usingNetwork=e,this.recordState()},setUsingPlugin(e){this.currentPlugin=e||void 0,this.recordState()},setStreamIn(e){this.isStreamIn=e,this.recordState()},async clearChatByGroupId(){this.active&&(await jf({groupId:this.active}),await this.queryActiveChatLogList())},recordState(){Hf(this.$state)},clearChat(){this.chatList=[],this.groupList=[],this.active=0,this.recordState()}}});function lm(){return we({url:"/app/queryCats"})}function um(){return we({url:"/app/list"})}function fm(e){return ge({url:"/app/searchList",data:e})}function qf(){return we({url:"/app/mineApps"})}function dm(e){return ge({url:"/app/collect",data:e})}function hm(e){return we({url:"/app/queryOneCat",data:e})}const xm=vt("app-cat-store",{state:()=>({catId:0,mineApps:[]}),actions:{setCatId(e){this.catId=e},async queryMineApps(){var t;const e=await qf();this.mineApps=((t=e==null?void 0:e.data)==null?void 0:t.rows)||[]}}});function pm(e){return ge({url:"/chatgpt/chat-process",data:{model:e.model,modelName:e.modelName,modelType:e.modelType,prompt:e.prompt,fileInfo:e==null?void 0:e.fileInfo,extraParam:e==null?void 0:e.extraParam,appId:e==null?void 0:e.appId,options:e.options,action:e==null?void 0:e.action,customId:e==null?void 0:e.customId,usingPluginId:e==null?void 0:e.usingPluginId,drawId:e==null?void 0:e.drawId,modelAvatar:e==null?void 0:e.modelAvatar},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function mm(e){return ge({url:"/chatgpt/tts-process",data:e})}function zf(){return we({url:"/auth/getInfo"})}function gm(e){return ge({url:"/auth/register",data:e})}function vm(e){return ge({url:"/auth/login",data:e})}function Em(e){return ge({url:"/user/update",data:e})}function bm(e){return ge({url:"/auth/updatePassword",data:e})}function Cm(e){return ge({url:"/chatgpt/chat-sync",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function _m(e){return ge({url:"/chatgpt/chat-mind",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function ym(e){return ge({url:"/chatgpt/mj-fy",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function wm(e){return we({url:"/midjourney/drawList",data:e})}function Am(){return we({url:"/midjourney/queryPrompts"})}function Sm(e){return we({url:"/midjourney/getFullPrompt",data:e})}function Dm(e){return ge({url:"/midjourney/delete",data:e})}function Bm(e){return we({url:"/midjourney/getList",data:e})}function Fm(e){return ge({url:"/auth/captcha",data:e})}function Pm(e){return ge({url:"/auth/sendCode",data:e})}function km(e){return we({url:"/balance/rechargeLog",data:e})}function Kf(){return we({url:"/balance/query"})}function Tm(){return we({url:"/balance/getVisitorCount"})}function Im(){return ge({url:"/balance/inheritVisitorData"})}function Yf(e){return we({url:"/config/queryFronet",data:e})}function Lm(e){return we({url:"/menu/list",data:e})}const _a="SECRET_TOKEN";function Xf(){return Be.get(_a)}function Qf(e){return Be.set(_a,e)}function wn(){return Be.remove(_a)}const Kt=vt("auth-store",{state:()=>({token:Xf(),loginDialog:!1,globalConfigLoading:!0,userInfo:{},userBalance:{},globalConfig:{},loadInit:!1}),getters:{isLogin:e=>!!e.token},actions:{async getUserInfo(){try{this.loadInit||await this.getglobalConfig();const e=await zf();if(!e)return Promise.resolve(e);const{data:t}=e,{userInfo:r,userBalance:n}=t;return this.userInfo={...r},this.userBalance={...n},Promise.resolve(t)}catch(e){return Promise.reject(e)}},updateUserBalance(e){this.userBalance=e},async getUserBalance(){const e=await Kf(),{success:t,data:r}=e;t&&(this.userBalance=r)},async getglobalConfig(e=""){const t=await Yf({domain:e});this.globalConfig=t.data,this.globalConfigLoading=!1,this.loadInit=!0},setToken(e){this.token=e,Qf(e)},removeToken(){this.token=void 0,wn()},setLoginDialog(e){this.loginDialog=e},logOut(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},Ys().clearChat()},updatePasswordSuccess(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},this.loginDialog=!0}}});function Jf(){return Kt(Sr)}const Xs=vt("global-store",{state:()=>({payDialog:!1,goodsDialog:!1,noticeDialog:!1,bindWxDialog:!1,signInDialog:!1,isChatIn:!1,fingerprint:0,model:Be.get("model")||3,orderInfo:{},iframeUrl:"",clipboardText:""}),actions:{updateClipboardText(e){this.clipboardText=e},updateFingerprint(e){let t=e;t>2147483647&&(t=Number(t.toString().slice(-9)),t=Number(String(Number(t)))),Be.set("fingerprint",t),this.fingerprint=t},updateIframeUrl(e){this.iframeUrl=e},updatePayDialog(e){this.payDialog=e},updateIsChatIn(e){this.isChatIn=e},updateGoodsDialog(e){this.goodsDialog=e},updateBindwxDialog(e){this.bindWxDialog=e},updateSignInDialog(e){this.signInDialog=e},updateNoticeDialog(e){this.noticeDialog=e},updateOrderInfo(e){this.orderInfo=e},updateModel(e){Be.set("model",e),this.model=e}}});function Zf(){return Xs(Sr)}const Qs="promptStore";function ed(){return Be.get(Qs)??{promptList:[]}}function td(e){Be.set(Qs,e)}vt("prompt-store",{state:()=>ed(),actions:{updatePromptList(e){this.$patch({promptList:e}),td({promptList:e})},getPromptList(){return this.$state}}});const ya="settingsStorage";function Js(){return{systemMessage:""}}function rd(){const e=Be.get(ya);return{...Js(),...e}}function nd(e){Be.set(ya,e)}function ad(){Be.remove(ya)}vt("setting-store",{state:()=>rd(),actions:{updateSetting(e){this.$state={...this.$state,...e},this.recordState()},resetSetting(){this.$state=Js(),ad()},recordState(){nd(this.$state)}}});const Sr=yl();function od(e){e.use(Sr)}/*! +`+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Dt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Gn.assertOptions(n,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean)},!1),o!=null&&(M.isFunction(o)?r.paramsSerializer={serialize:o}:Gn.assertOptions(o,{encode:ot.function,serialize:ot.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&M.merge(a.common,a[r.method]);a&&M.forEach(["delete","get","head","post","put","patch","common"],x=>{delete a[x]}),r.headers=tt.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(f=f&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,s;if(!f){const x=[zo.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,c),s=x.length,u=Promise.resolve(r);h{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new er(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Ca(function(o){t=o}),cancel:t}}}const Sf=Ca;function Df(e){return function(r){return e.apply(null,r)}}function Bf(e){return M.isObject(e)&&e.isAxiosError===!0}const $n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($n).forEach(([e,t])=>{$n[t]=e});const Ff=$n;function zs(e){const t=new lr(e),r=Ds(lr.prototype.request,t);return M.extend(r,lr.prototype,t,{allOwnKeys:!0}),M.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return zs(Dt(e,o))},r}const Ae=zs(Ea);Ae.Axios=lr;Ae.CanceledError=er;Ae.CancelToken=Sf;Ae.isCancel=Gs;Ae.VERSION=qs;Ae.toFormData=wr;Ae.AxiosError=de;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=Df;Ae.isAxiosError=Bf;Ae.mergeConfig=Dt;Ae.AxiosHeaders=tt;Ae.formToJSON=e=>js(M.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=Vs.getAdapter;Ae.HttpStatusCode=Ff;Ae.default=Ae;const Pf=Ae,hr=Pf.create({baseURL:"/api",timeout:2400*1e3});hr.interceptors.request.use(e=>{var o;const t=Kt().token,r=(o=Xs())==null?void 0:o.fingerprint,n=window.location.origin;return e.headers["X-Website-Domain"]=n,r&&(e.headers.Fingerprint=r),t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e.response));hr.interceptors.response.use(e=>{if([200,201].includes(e.status))return e;throw new Error(e.status.toString())},e=>Promise.reject(e));let Xo=0;const kf=["/chatlog/chatList","/group/query"];function Tf(e){return e?kf.some(t=>e.includes(t)):!1}function Ks({url:e,data:t,method:r,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){const f=h=>{const s=Kt(),{code:d}=h.data;return d>=200&&d<300||!d?h.data:(d===401&&(s.removeToken(),window.location.reload()),Promise.reject(h.data))},c=h=>{var p,m,E,g,v,b;const s=Kt();let d="";if((p=h.response)!=null&&p.data&&(d=h.response.data),l==null||l(),((m=h==null?void 0:h.response)==null?void 0:m.status)===401){if(s.removeToken(),!Tf((E=h==null?void 0:h.request)==null?void 0:E.responseURL)){s.loadInit&&s.setLoginDialog(!0);const y=((g=h.response.data)==null?void 0:g.message)||"请先登录后再进行使用!";Date.now()-Xo>3e3&&window.$message.error(y)}Xo=Date.now()}else d&&!(d!=null&&d.success)&&window.$message.error((d==null?void 0:d.message)||"请求接口错误!");throw new Error(((b=(v=h.response)==null?void 0:v.data)==null?void 0:b.message)||h||"Error")};i==null||i(),r=r||"GET";const u=Object.assign(typeof t=="function"?t():t??{},{});return r==="GET"?hr.get(e,{params:u,signal:a,onDownloadProgress:o}).then(f,c):hr.post(e,u,{headers:n,signal:a,onDownloadProgress:o}).then(f,c)}function we({url:e,data:t,method:r="GET",onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i}){return Ks({url:e,method:r,data:t,onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i})}function ge({url:e,data:t,method:r="POST",headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){return Ks({url:e,method:r,data:t,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l})}function If(e){return ge({url:"/group/create",data:e})}function Lf(){return we({url:"/group/query"})}function Rf(e){return ge({url:"/group/update",data:e})}function Nf(e){return ge({url:"/group/del",data:e})}function Of(e){return ge({url:"/group/delAll",data:e})}const Vn="chatStorage";function Mf(){return{active:0,usingContext:!0,usingNetwork:!1,groupList:[],chatList:[],groupKeyWord:"",baseConfig:null,currentPlugin:void 0,pluginList:[]}}function Uf(){const e=Be.get(Vn);return{...Mf(),...e}}function Hf({active:e}){Be.set(Vn,{...Be.get(Vn),active:e})}function Wf(e){return ge({url:"/chatlog/del",data:e})}function jf(e){return ge({url:"/chatlog/delByGroupId",data:e})}function Gf(e){return ge({url:"/chatlog/deleteChatsAfterId",data:e})}function $f(e){return we({url:"/chatlog/chatList",data:e})}function lm(){return we({url:"/models/list"})}function Vf(){return we({url:"/models/baseConfig"})}function qf(){return we({url:"/plugin/pluginList"})}const Ys=vt("chat-store",{state:()=>Uf(),getters:{activeConfig:e=>{var o;const t=e.active;if(!t)return{};const r=(o=e.groupList.find(a=>a.uuid===t))==null?void 0:o.config;return r?JSON.parse(r):e.baseConfig},activeGroupAppId:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.appId:null},activeModel(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.model},activeModelName(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelName},activeModelAvatar(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelAvatar},activeModelDeductType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deductType},activeModelKeyType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.keyType},activeModelFileUpload(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.isFileUpload},activeModelPrice(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deduct}},actions:{async queryPlugins(){try{const e=await qf();e.success&&e.code===200&&(this.pluginList=e.data.rows.filter(t=>t.isEnabled===1).map(t=>({pluginId:t.id,pluginName:t.name,description:t.description,pluginImg:t.pluginImg,parameters:t.parameters,deductType:t.deductType})))}catch{}},setGroupKeyWord(e){this.groupKeyWord=e},getChatByGroupInfo(){if(this.active)return this.groupList.find(e=>e.uuid===this.active)},getConfigFromUuid(e){var t;return(t=this.groupList.find(r=>r.uuid===e))==null?void 0:t.config},async addNewChatGroup(e=0,t){try{const r=await If({appId:e,modelConfig:t});this.active=r.data.id,await this.queryMyGroup(),await this.setActiveGroup(r.data.id)}catch(r){console.error("新增对话组时出错:",r)}},async getBaseModelConfig(){const e=await Vf();this.baseConfig=e==null?void 0:e.data},async queryMyGroup(){const e=await Lf();this.groupList=[...e.data.map(r=>{const{id:n,title:o,isSticky:a,createdAt:i,updatedAt:l,appId:f,config:c,appLogo:u,isFixedModel:h,isGpts:s}=r;return{uuid:n,title:o,isEdit:!1,appId:f,config:c,isSticky:a,appLogo:u,createdAt:i,isFixedModel:h,isGpts:s,updatedAt:new Date(l).getTime()}})];const t=this.groupList.some(r=>Number(r.uuid)===Number(this.active));(!this.active||!t)&&this.groupList.length&&this.setActiveGroup(this.groupList[0].uuid),this.recordState()},async updateGroupInfo(e){await Rf(e),await this.queryMyGroup()},async setActiveGroup(e){this.active=e,this.groupList.forEach(t=>t.isEdit=!1),this.active?await this.queryActiveChatLogList():this.chatList=[],this.recordState()},async deleteGroup(e){const t=this.groupList.findIndex(n=>n.uuid===e.uuid),{uuid:r}=e;await Nf({groupId:r}),await this.queryMyGroup(),this.groupList.length===0&&await this.setActiveGroup(0),t>0&&t0&&await this.setActiveGroup(this.groupList[0].uuid),(t>this.groupList.length||t===0&&this.groupList.length===0)&&await this.setActiveGroup(0),t>0&&t===this.groupList.length&&await this.setActiveGroup(this.groupList[t-1].uuid),this.recordState()},async delAllGroup(){!this.active||!this.groupList.length||(await Of(),await this.queryMyGroup(),this.groupList.length===0?await this.setActiveGroup(0):await this.setActiveGroup(this.groupList[0].uuid))},async queryActiveChatLogList(){if(!(!this.active||Number(this.active)===0)){try{const e=await $f({groupId:this.active});e&&e.data?this.chatList=e.data:this.chatList=[]}catch(e){console.error("Error fetching chat log list:",e),this.chatList=[]}this.recordState()}},addGroupChat(e){this.chatList=[...this.chatList,e]},updateGroupChat(e,t){this.chatList[e]={...this.chatList[e],...t}},updateGroupChatSome(e,t){this.chatList[e]={...this.chatList[e],...t}},async deleteChatById(e){e&&(await Wf({id:e}),await this.queryActiveChatLogList())},async deleteChatsAfterId(e){e&&(await Gf({id:e}),await this.queryActiveChatLogList())},setUsingContext(e){this.usingContext=e,this.recordState()},setUsingNetwork(e){this.usingNetwork=e,this.recordState()},setUsingPlugin(e){this.currentPlugin=e||void 0,this.recordState()},setStreamIn(e){this.isStreamIn=e,this.recordState()},async clearChatByGroupId(){this.active&&(await jf({groupId:this.active}),await this.queryActiveChatLogList())},recordState(){Hf(this.$state)},clearChat(){this.chatList=[],this.groupList=[],this.active=0,this.recordState()}}});function um(){return we({url:"/app/queryCats"})}function fm(){return we({url:"/app/list"})}function dm(e){return ge({url:"/app/searchList",data:e})}function zf(){return we({url:"/app/mineApps"})}function hm(e){return ge({url:"/app/collect",data:e})}function xm(e){return we({url:"/app/queryOneCat",data:e})}const pm=vt("app-cat-store",{state:()=>({catId:0,mineApps:[]}),actions:{setCatId(e){this.catId=e},async queryMineApps(){var t;const e=await zf();this.mineApps=((t=e==null?void 0:e.data)==null?void 0:t.rows)||[]}}});function mm(e){return ge({url:"/chatgpt/chat-process",data:{model:e.model,modelName:e.modelName,modelType:e.modelType,prompt:e.prompt,fileInfo:e==null?void 0:e.fileInfo,extraParam:e==null?void 0:e.extraParam,appId:e==null?void 0:e.appId,options:e.options,action:e==null?void 0:e.action,customId:e==null?void 0:e.customId,usingPluginId:e==null?void 0:e.usingPluginId,drawId:e==null?void 0:e.drawId,modelAvatar:e==null?void 0:e.modelAvatar},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function gm(e){return ge({url:"/chatgpt/tts-process",data:e})}function Kf(){return we({url:"/auth/getInfo"})}function vm(e){return ge({url:"/auth/register",data:e})}function Em(e){return ge({url:"/auth/login",data:e})}function bm(e){return ge({url:"/user/update",data:e})}function Cm(e){return ge({url:"/auth/updatePassword",data:e})}function _m(e){return ge({url:"/chatgpt/chat-sync",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function ym(e){return ge({url:"/chatgpt/chat-mind",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function wm(e){return ge({url:"/chatgpt/mj-fy",data:{prompt:e.prompt,options:e.options},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function Am(e){return we({url:"/midjourney/drawList",data:e})}function Sm(){return we({url:"/midjourney/queryPrompts"})}function Dm(e){return we({url:"/midjourney/getFullPrompt",data:e})}function Bm(e){return ge({url:"/midjourney/delete",data:e})}function Fm(e){return we({url:"/midjourney/getList",data:e})}function Pm(e){return ge({url:"/auth/sendCode",data:e})}function km(e){return we({url:"/balance/rechargeLog",data:e})}function Yf(){return we({url:"/balance/query"})}function Tm(){return we({url:"/balance/getVisitorCount"})}function Im(){return ge({url:"/balance/inheritVisitorData"})}function Xf(e){return we({url:"/config/queryFronet",data:e})}function Lm(e){return we({url:"/menu/list",data:e})}const _a="SECRET_TOKEN";function Qf(){return Be.get(_a)}function Jf(e){return Be.set(_a,e)}function wn(){return Be.remove(_a)}const Kt=vt("auth-store",{state:()=>({token:Qf(),loginDialog:!1,globalConfigLoading:!0,userInfo:{},userBalance:{},globalConfig:{},loadInit:!1}),getters:{isLogin:e=>!!e.token},actions:{async getUserInfo(){try{this.loadInit||await this.getglobalConfig();const e=await Kf();if(!e)return Promise.resolve(e);const{data:t}=e,{userInfo:r,userBalance:n}=t;return this.userInfo={...r},this.userBalance={...n},Promise.resolve(t)}catch(e){return Promise.reject(e)}},updateUserBalance(e){this.userBalance=e},async getUserBalance(){const e=await Yf(),{success:t,data:r}=e;t&&(this.userBalance=r)},async getglobalConfig(e=""){const t=await Xf({domain:e});this.globalConfig=t.data,this.globalConfigLoading=!1,this.loadInit=!0},setToken(e){this.token=e,Jf(e)},removeToken(){this.token=void 0,wn()},setLoginDialog(e){this.loginDialog=e},logOut(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},Ys().clearChat(),window.location.reload()},updatePasswordSuccess(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},this.loginDialog=!0}}});function Zf(){return Kt(Sr)}const Xs=vt("global-store",{state:()=>({payDialog:!1,goodsDialog:!1,noticeDialog:!1,bindWxDialog:!1,signInDialog:!1,appDialog:!1,isChatIn:!1,fingerprint:0,model:Be.get("model")||3,orderInfo:{},iframeUrl:"",clipboardText:""}),actions:{updateClipboardText(e){this.clipboardText=e},updateFingerprint(e){let t=e;t>2147483647&&(t=Number(t.toString().slice(-9)),t=Number(String(Number(t)))),Be.set("fingerprint",t),this.fingerprint=t},updateIframeUrl(e){this.iframeUrl=e},updatePayDialog(e){this.payDialog=e},updateIsChatIn(e){this.isChatIn=e},updateGoodsDialog(e){this.goodsDialog=e},updateBindwxDialog(e){this.bindWxDialog=e},updateSignInDialog(e){this.signInDialog=e},updateNoticeDialog(e){this.noticeDialog=e},updateAppDialog(e){this.appDialog=e},updateOrderInfo(e){this.orderInfo=e},updateModel(e){Be.set("model",e),this.model=e}}});function ed(){return Xs(Sr)}const Qs="promptStore";function td(){return Be.get(Qs)??{promptList:[]}}function rd(e){Be.set(Qs,e)}vt("prompt-store",{state:()=>td(),actions:{updatePromptList(e){this.$patch({promptList:e}),rd({promptList:e})},getPromptList(){return this.$state}}});const ya="settingsStorage";function Js(){return{systemMessage:""}}function nd(){const e=Be.get(ya);return{...Js(),...e}}function ad(e){Be.set(ya,e)}function od(){Be.remove(ya)}vt("setting-store",{state:()=>nd(),actions:{updateSetting(e){this.$state={...this.$state,...e},this.recordState()},resetSetting(){this.$state=Js(),od()},recordState(){ad(this.$state)}}});const Sr=yl();function id(e){e.use(Sr)}/*! * shared v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const xr=typeof window<"u",ht=(e,t=!1)=>t?Symbol.for(e):Symbol(e),id=(e,t,r)=>sd({l:e,k:t,s:r}),sd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=e=>typeof e=="number"&&isFinite(e),cd=e=>e0(e)==="[object Date]",ft=e=>e0(e)==="[object RegExp]",Dr=e=>ne(e)&&Object.keys(e).length===0,ke=Object.assign;let Qo;const et=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ld=Object.prototype.hasOwnProperty;function pr(e,t){return ld.call(e,t)}const be=Array.isArray,Ee=e=>typeof e=="function",V=e=>typeof e=="string",le=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",ud=e=>xe(e)&&Ee(e.then)&&Ee(e.catch),Zs=Object.prototype.toString,e0=e=>Zs.call(e),ne=e=>{if(!xe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},fd=e=>e==null?"":be(e)||ne(e)&&e.toString===Zs?JSON.stringify(e,null,2):String(e);function dd(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function wa(e){let t=e;return()=>++t}function hd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rr=e=>!xe(e)||be(e);function ur(e,t){if(rr(e)||rr(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(a=>{rr(n[a])||rr(o[a])?o[a]=n[a]:r.push({src:n[a],des:o[a]})})}}/*! + */const xr=typeof window<"u",ht=(e,t=!1)=>t?Symbol.for(e):Symbol(e),sd=(e,t,r)=>cd({l:e,k:t,s:r}),cd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Se=e=>typeof e=="number"&&isFinite(e),ld=e=>e0(e)==="[object Date]",ft=e=>e0(e)==="[object RegExp]",Dr=e=>ne(e)&&Object.keys(e).length===0,ke=Object.assign;let Qo;const et=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ud=Object.prototype.hasOwnProperty;function pr(e,t){return ud.call(e,t)}const be=Array.isArray,Ee=e=>typeof e=="function",V=e=>typeof e=="string",le=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",fd=e=>xe(e)&&Ee(e.then)&&Ee(e.catch),Zs=Object.prototype.toString,e0=e=>Zs.call(e),ne=e=>{if(!xe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},dd=e=>e==null?"":be(e)||ne(e)&&e.toString===Zs?JSON.stringify(e,null,2):String(e);function hd(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function wa(e){let t=e;return()=>++t}function xd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rr=e=>!xe(e)||be(e);function ur(e,t){if(rr(e)||rr(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(a=>{rr(n[a])||rr(o[a])?o[a]=n[a]:r.push({src:n[a],des:o[a]})})}}/*! * message-compiler v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function xd(e,t,r){return{line:e,column:t,offset:r}}function qn(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const pd=/\{([0-9a-zA-Z]+)\}/g;function md(e,...t){return t.length===1&&gd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(pd,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const t0=Object.assign,Zo=e=>typeof e=="string",gd=e=>e!==null&&typeof e=="object";function r0(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}const Z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},vd={[Z.EXPECTED_TOKEN]:"Expected token: '{0}'",[Z.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Z.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Z.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Z.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Z.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Z.EMPTY_PLACEHOLDER]:"Empty placeholder",[Z.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Z.INVALID_LINKED_FORMAT]:"Invalid linked format",[Z.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Z.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Z.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Z.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Z.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Z.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Lt(e,t,r={}){const{domain:n,messages:o,args:a}=r,i=md((o||vd)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=n,l}function Ed(e){throw e}const Xe=" ",bd="\r",Le=` -`,Cd=String.fromCharCode(8232),_d=String.fromCharCode(8233);function yd(e){const t=e;let r=0,n=1,o=1,a=0;const i=A=>t[A]===bd&&t[A+1]===Le,l=A=>t[A]===Le,f=A=>t[A]===_d,c=A=>t[A]===Cd,u=A=>i(A)||l(A)||f(A)||c(A),h=()=>r,s=()=>n,d=()=>o,x=()=>a,p=A=>i(A)||f(A)||c(A)?Le:t[A],m=()=>p(r),E=()=>p(r+a);function g(){return a=0,u(r)&&(n++,o=0),i(r)&&r++,r++,o++,t[r]}function v(){return i(r+a)&&a++,a++,t[r+a]}function b(){r=0,n=1,o=1,a=0}function y(A=0){a=A}function _(){const A=r+a;for(;A!==r;)g();a=0}return{index:h,line:s,column:d,peekOffset:x,charAt:p,currentChar:m,currentPeek:E,next:g,peek:v,reset:b,resetPeek:y,skipToPeek:_}}const it=void 0,wd=".",ei="'",Ad="tokenizer";function Sd(e,t={}){const r=t.location!==!1,n=yd(e),o=()=>n.index(),a=()=>xd(n.line(),n.column(),n.index()),i=a(),l=o(),f={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>f,{onError:u}=t;function h(w,C,F,...H){const j=c();if(C.column+=F,C.offset+=F,u){const J=r?qn(j.startLoc,C):null,X=Lt(w,J,{domain:Ad,args:H});u(X)}}function s(w,C,F){w.endLoc=a(),w.currentType=C;const H={type:C};return r&&(H.loc=qn(w.startLoc,w.endLoc)),F!=null&&(H.value=F),H}const d=w=>s(w,14);function x(w,C){return w.currentChar()===C?(w.next(),C):(h(Z.EXPECTED_TOKEN,a(),0,C),"")}function p(w){let C="";for(;w.currentPeek()===Xe||w.currentPeek()===Le;)C+=w.currentPeek(),w.peek();return C}function m(w){const C=p(w);return w.skipToPeek(),C}function E(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function g(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=48&&C<=57}function v(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function b(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()==="-"?w.peek():w.currentPeek(),j=g(H);return w.resetPeek(),j}function y(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()===ei;return w.resetPeek(),H}function _(w,C){const{currentType:F}=C;if(F!==8)return!1;p(w);const H=w.currentPeek()===".";return w.resetPeek(),H}function A(w,C){const{currentType:F}=C;if(F!==9)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function D(w,C){const{currentType:F}=C;if(!(F===8||F===12))return!1;p(w);const H=w.currentPeek()===":";return w.resetPeek(),H}function B(w,C){const{currentType:F}=C;if(F!==10)return!1;const H=()=>{const J=w.currentPeek();return J==="{"?E(w.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===Xe||!J?!1:J===Le?(w.peek(),H()):E(J)},j=H();return w.resetPeek(),j}function S(w){p(w);const C=w.currentPeek()==="|";return w.resetPeek(),C}function P(w){const C=p(w),F=w.currentPeek()==="%"&&w.peek()==="{";return w.resetPeek(),{isModulo:F,hasSpace:C.length>0}}function k(w,C=!0){const F=(j=!1,J="",X=!1)=>{const Q=w.currentPeek();return Q==="{"?J==="%"?!1:j:Q==="@"||!Q?J==="%"?!0:j:Q==="%"?(w.peek(),F(j,"%",!0)):Q==="|"?J==="%"||X?!0:!(J===Xe||J===Le):Q===Xe?(w.peek(),F(!0,Xe,X)):Q===Le?(w.peek(),F(!0,Le,X)):!0},H=F();return C&&w.resetPeek(),H}function I(w,C){const F=w.currentChar();return F===it?it:C(F)?(w.next(),F):null}function K(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36})}function Y(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57})}function q(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102})}function se(w){let C="",F="";for(;C=Y(w);)F+=C;return F}function oe(w){m(w);const C=w.currentChar();return C!=="%"&&h(Z.EXPECTED_TOKEN,a(),0,C),w.next(),"%"}function ce(w){let C="";for(;;){const F=w.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(k(w))C+=F,w.next();else break;else if(F===Xe||F===Le)if(k(w))C+=F,w.next();else{if(S(w))break;C+=F,w.next()}else C+=F,w.next()}return C}function ae(w){m(w);let C="",F="";for(;C=K(w);)F+=C;return w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F}function L(w){m(w);let C="";return w.currentChar()==="-"?(w.next(),C+=`-${se(w)}`):C+=se(w),w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C}function U(w){m(w),x(w,"'");let C="",F="";const H=J=>J!==ei&&J!==Le;for(;C=I(w,H);)C==="\\"?F+=W(w):F+=C;const j=w.currentChar();return j===Le||j===it?(h(Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),j===Le&&(w.next(),x(w,"'")),F):(x(w,"'"),F)}function W(w){const C=w.currentChar();switch(C){case"\\":case"'":return w.next(),`\\${C}`;case"u":return N(w,C,4);case"U":return N(w,C,6);default:return h(Z.UNKNOWN_ESCAPE_SEQUENCE,a(),0,C),""}}function N(w,C,F){x(w,C);let H="";for(let j=0;jj!=="{"&&j!=="}"&&j!==Xe&&j!==Le;for(;C=I(w,H);)F+=C;return F}function te(w){let C="",F="";for(;C=K(w);)F+=C;return F}function T(w){const C=(F=!1,H)=>{const j=w.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===Xe?H:j===Le||j===wd?(H+=j,w.next(),C(F,H)):(H+=j,w.next(),C(!0,H))};return C(!1,"")}function O(w){m(w);const C=x(w,"|");return m(w),C}function $(w,C){let F=null;switch(w.currentChar()){case"{":return C.braceNest>=1&&h(Z.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),w.next(),F=s(C,2,"{"),m(w),C.braceNest++,F;case"}":return C.braceNest>0&&C.currentType===2&&h(Z.EMPTY_PLACEHOLDER,a(),0),w.next(),F=s(C,3,"}"),C.braceNest--,C.braceNest>0&&m(w),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),F;case"@":return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=z(w,C)||d(C),C.braceNest=0,F;default:let j=!0,J=!0,X=!0;if(S(w))return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;if(C.braceNest>0&&(C.currentType===5||C.currentType===6||C.currentType===7))return h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C.braceNest=0,ie(w,C);if(j=v(w,C))return F=s(C,5,ae(w)),m(w),F;if(J=b(w,C))return F=s(C,6,L(w)),m(w),F;if(X=y(w,C))return F=s(C,7,U(w)),m(w),F;if(!j&&!J&&!X)return F=s(C,13,ue(w)),h(Z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,F.value),m(w),F;break}return F}function z(w,C){const{currentType:F}=C;let H=null;const j=w.currentChar();switch((F===8||F===9||F===12||F===10)&&(j===Le||j===Xe)&&h(Z.INVALID_LINKED_FORMAT,a(),0),j){case"@":return w.next(),H=s(C,8,"@"),C.inLinked=!0,H;case".":return m(w),w.next(),s(C,9,".");case":":return m(w),w.next(),s(C,10,":");default:return S(w)?(H=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,H):_(w,C)||D(w,C)?(m(w),z(w,C)):A(w,C)?(m(w),s(C,12,te(w))):B(w,C)?(m(w),j==="{"?$(w,C)||H:s(C,11,T(w))):(F===8&&h(Z.INVALID_LINKED_FORMAT,a(),0),C.braceNest=0,C.inLinked=!1,ie(w,C))}}function ie(w,C){let F={type:14};if(C.braceNest>0)return $(w,C)||d(C);if(C.inLinked)return z(w,C)||d(C);switch(w.currentChar()){case"{":return $(w,C)||d(C);case"}":return h(Z.UNBALANCED_CLOSING_BRACE,a(),0),w.next(),s(C,3,"}");case"@":return z(w,C)||d(C);default:if(S(w))return F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;const{isModulo:j,hasSpace:J}=P(w);if(j)return J?s(C,0,ce(w)):s(C,4,oe(w));if(k(w))return s(C,0,ce(w));break}return F}function ee(){const{currentType:w,offset:C,startLoc:F,endLoc:H}=f;return f.lastType=w,f.lastOffset=C,f.lastStartLoc=F,f.lastEndLoc=H,f.offset=o(),f.startLoc=a(),n.currentChar()===it?s(f,14):ie(n,f)}return{nextToken:ee,currentOffset:o,currentPosition:a,context:c}}const Dd="parser",Bd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Fd(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function Pd(e={}){const t=e.location!==!1,{onError:r}=e;function n(E,g,v,b,...y){const _=E.currentPosition();if(_.offset+=b,_.column+=b,r){const A=t?qn(v,_):null,D=Lt(g,A,{domain:Dd,args:y});r(D)}}function o(E,g,v){const b={type:E};return t&&(b.start=g,b.end=g,b.loc={start:v,end:v}),b}function a(E,g,v,b){b&&(E.type=b),t&&(E.end=g,E.loc&&(E.loc.end=v))}function i(E,g){const v=E.context(),b=o(3,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function l(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(5,b,y);return _.index=parseInt(g,10),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function f(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(4,b,y);return _.key=g,E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function c(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(9,b,y);return _.value=g.replace(Bd,Fd),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function u(E){const g=E.nextToken(),v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(8,b,y);return g.type!==12?(n(E,Z.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),_.value="",a(_,b,y),{nextConsumeToken:g,node:_}):(g.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ve(g)),_.value=g.value||"",a(_,E.currentOffset(),E.currentPosition()),{node:_})}function h(E,g){const v=E.context(),b=o(7,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function s(E){const g=E.context(),v=o(6,g.offset,g.startLoc);let b=E.nextToken();if(b.type===9){const y=u(E);v.modifier=y.node,b=y.nextConsumeToken||E.nextToken()}switch(b.type!==10&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),b=E.nextToken(),b.type===2&&(b=E.nextToken()),b.type){case 11:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=h(E,b.value||"");break;case 5:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=f(E,b.value||"");break;case 6:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=l(E,b.value||"");break;case 7:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=c(E,b.value||"");break;default:n(E,Z.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const y=E.context(),_=o(7,y.offset,y.startLoc);return _.value="",a(_,y.offset,y.startLoc),v.key=_,a(v,y.offset,y.startLoc),{nextConsumeToken:b,node:v}}return a(v,E.currentOffset(),E.currentPosition()),{node:v}}function d(E){const g=E.context(),v=g.currentType===1?E.currentOffset():g.offset,b=g.currentType===1?g.endLoc:g.startLoc,y=o(2,v,b);y.items=[];let _=null;do{const B=_||E.nextToken();switch(_=null,B.type){case 0:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(i(E,B.value||""));break;case 6:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(l(E,B.value||""));break;case 5:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(f(E,B.value||""));break;case 7:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(c(E,B.value||""));break;case 8:const S=s(E);y.items.push(S.node),_=S.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const A=g.currentType===1?g.lastOffset:E.currentOffset(),D=g.currentType===1?g.lastEndLoc:E.currentPosition();return a(y,A,D),y}function x(E,g,v,b){const y=E.context();let _=b.items.length===0;const A=o(1,g,v);A.cases=[],A.cases.push(b);do{const D=d(E);_||(_=D.items.length===0),A.cases.push(D)}while(y.currentType!==14);return _&&n(E,Z.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),a(A,E.currentOffset(),E.currentPosition()),A}function p(E){const g=E.context(),{offset:v,startLoc:b}=g,y=d(E);return g.currentType===14?y:x(E,v,b,y)}function m(E){const g=Sd(E,t0({},e)),v=g.context(),b=o(0,v.offset,v.startLoc);return t&&b.loc&&(b.loc.source=E),b.body=p(g),e.onCacheKey&&(b.cacheKey=e.onCacheKey(E)),v.currentType!==14&&n(g,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,E[v.offset]||""),a(b,g.currentOffset(),g.currentPosition()),b}return{parse:m}}function Ve(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function kd(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function ti(e,t){for(let r=0;rri(r)),e}function ri(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rl;function c(m,E){l.code+=m}function u(m,E=!0){const g=E?o:"";c(a?g+" ".repeat(m):g)}function h(m=!0){const E=++l.indentLevel;m&&u(E)}function s(m=!0){const E=--l.indentLevel;m&&u(E)}function d(){u(l.indentLevel)}return{context:f,push:c,indent:h,deindent:s,newline:d,helper:m=>`_${m}`,needIndent:()=>l.needIndent}}function Od(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),Bt(e,t.key),t.modifier?(e.push(", "),Bt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Md(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let a=0;a1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let a=0;a{const r=Zo(t.mode)?t.mode:"normal",n=Zo(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":` -`,i=t.needIndent?t.needIndent:r!=="arrow",l=e.helpers||[],f=Nd(e,{mode:r,filename:n,sourceMap:o,breakLineCode:a,needIndent:i});f.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(i),l.length>0&&(f.push(`const { ${r0(l.map(h=>`${h}: _${h}`),", ")} } = ctx`),f.newline()),f.push("return "),Bt(f,e),f.deindent(i),f.push("}"),delete e.helpers;const{code:c,map:u}=f.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function jd(e,t={}){const r=t0({},t),n=!!r.jit,o=!!r.minify,a=r.optimize==null?!0:r.optimize,l=Pd(r).parse(e);return n?(a&&Id(l),o&&_t(l),{ast:l,code:""}):(Td(l,r),Wd(l,r))}/*! + */function pd(e,t,r){return{line:e,column:t,offset:r}}function qn(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const md=/\{([0-9a-zA-Z]+)\}/g;function gd(e,...t){return t.length===1&&vd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(md,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const t0=Object.assign,Zo=e=>typeof e=="string",vd=e=>e!==null&&typeof e=="object";function r0(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}const Z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Ed={[Z.EXPECTED_TOKEN]:"Expected token: '{0}'",[Z.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Z.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Z.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Z.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Z.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Z.EMPTY_PLACEHOLDER]:"Empty placeholder",[Z.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Z.INVALID_LINKED_FORMAT]:"Invalid linked format",[Z.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Z.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Z.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Z.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Z.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Z.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Lt(e,t,r={}){const{domain:n,messages:o,args:a}=r,i=gd((o||Ed)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=n,l}function bd(e){throw e}const Xe=" ",Cd="\r",Le=` +`,_d=String.fromCharCode(8232),yd=String.fromCharCode(8233);function wd(e){const t=e;let r=0,n=1,o=1,a=0;const i=A=>t[A]===Cd&&t[A+1]===Le,l=A=>t[A]===Le,f=A=>t[A]===yd,c=A=>t[A]===_d,u=A=>i(A)||l(A)||f(A)||c(A),h=()=>r,s=()=>n,d=()=>o,x=()=>a,p=A=>i(A)||f(A)||c(A)?Le:t[A],m=()=>p(r),E=()=>p(r+a);function g(){return a=0,u(r)&&(n++,o=0),i(r)&&r++,r++,o++,t[r]}function v(){return i(r+a)&&a++,a++,t[r+a]}function b(){r=0,n=1,o=1,a=0}function y(A=0){a=A}function _(){const A=r+a;for(;A!==r;)g();a=0}return{index:h,line:s,column:d,peekOffset:x,charAt:p,currentChar:m,currentPeek:E,next:g,peek:v,reset:b,resetPeek:y,skipToPeek:_}}const it=void 0,Ad=".",ei="'",Sd="tokenizer";function Dd(e,t={}){const r=t.location!==!1,n=wd(e),o=()=>n.index(),a=()=>pd(n.line(),n.column(),n.index()),i=a(),l=o(),f={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>f,{onError:u}=t;function h(w,C,F,...H){const j=c();if(C.column+=F,C.offset+=F,u){const J=r?qn(j.startLoc,C):null,X=Lt(w,J,{domain:Sd,args:H});u(X)}}function s(w,C,F){w.endLoc=a(),w.currentType=C;const H={type:C};return r&&(H.loc=qn(w.startLoc,w.endLoc)),F!=null&&(H.value=F),H}const d=w=>s(w,14);function x(w,C){return w.currentChar()===C?(w.next(),C):(h(Z.EXPECTED_TOKEN,a(),0,C),"")}function p(w){let C="";for(;w.currentPeek()===Xe||w.currentPeek()===Le;)C+=w.currentPeek(),w.peek();return C}function m(w){const C=p(w);return w.skipToPeek(),C}function E(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function g(w){if(w===it)return!1;const C=w.charCodeAt(0);return C>=48&&C<=57}function v(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function b(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()==="-"?w.peek():w.currentPeek(),j=g(H);return w.resetPeek(),j}function y(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()===ei;return w.resetPeek(),H}function _(w,C){const{currentType:F}=C;if(F!==8)return!1;p(w);const H=w.currentPeek()===".";return w.resetPeek(),H}function A(w,C){const{currentType:F}=C;if(F!==9)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function D(w,C){const{currentType:F}=C;if(!(F===8||F===12))return!1;p(w);const H=w.currentPeek()===":";return w.resetPeek(),H}function B(w,C){const{currentType:F}=C;if(F!==10)return!1;const H=()=>{const J=w.currentPeek();return J==="{"?E(w.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===Xe||!J?!1:J===Le?(w.peek(),H()):E(J)},j=H();return w.resetPeek(),j}function S(w){p(w);const C=w.currentPeek()==="|";return w.resetPeek(),C}function P(w){const C=p(w),F=w.currentPeek()==="%"&&w.peek()==="{";return w.resetPeek(),{isModulo:F,hasSpace:C.length>0}}function k(w,C=!0){const F=(j=!1,J="",X=!1)=>{const Q=w.currentPeek();return Q==="{"?J==="%"?!1:j:Q==="@"||!Q?J==="%"?!0:j:Q==="%"?(w.peek(),F(j,"%",!0)):Q==="|"?J==="%"||X?!0:!(J===Xe||J===Le):Q===Xe?(w.peek(),F(!0,Xe,X)):Q===Le?(w.peek(),F(!0,Le,X)):!0},H=F();return C&&w.resetPeek(),H}function I(w,C){const F=w.currentChar();return F===it?it:C(F)?(w.next(),F):null}function K(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36})}function Y(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57})}function q(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102})}function se(w){let C="",F="";for(;C=Y(w);)F+=C;return F}function oe(w){m(w);const C=w.currentChar();return C!=="%"&&h(Z.EXPECTED_TOKEN,a(),0,C),w.next(),"%"}function ce(w){let C="";for(;;){const F=w.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(k(w))C+=F,w.next();else break;else if(F===Xe||F===Le)if(k(w))C+=F,w.next();else{if(S(w))break;C+=F,w.next()}else C+=F,w.next()}return C}function ae(w){m(w);let C="",F="";for(;C=K(w);)F+=C;return w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F}function L(w){m(w);let C="";return w.currentChar()==="-"?(w.next(),C+=`-${se(w)}`):C+=se(w),w.currentChar()===it&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C}function U(w){m(w),x(w,"'");let C="",F="";const H=J=>J!==ei&&J!==Le;for(;C=I(w,H);)C==="\\"?F+=W(w):F+=C;const j=w.currentChar();return j===Le||j===it?(h(Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),j===Le&&(w.next(),x(w,"'")),F):(x(w,"'"),F)}function W(w){const C=w.currentChar();switch(C){case"\\":case"'":return w.next(),`\\${C}`;case"u":return N(w,C,4);case"U":return N(w,C,6);default:return h(Z.UNKNOWN_ESCAPE_SEQUENCE,a(),0,C),""}}function N(w,C,F){x(w,C);let H="";for(let j=0;jj!=="{"&&j!=="}"&&j!==Xe&&j!==Le;for(;C=I(w,H);)F+=C;return F}function te(w){let C="",F="";for(;C=K(w);)F+=C;return F}function T(w){const C=(F=!1,H)=>{const j=w.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===Xe?H:j===Le||j===Ad?(H+=j,w.next(),C(F,H)):(H+=j,w.next(),C(!0,H))};return C(!1,"")}function O(w){m(w);const C=x(w,"|");return m(w),C}function $(w,C){let F=null;switch(w.currentChar()){case"{":return C.braceNest>=1&&h(Z.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),w.next(),F=s(C,2,"{"),m(w),C.braceNest++,F;case"}":return C.braceNest>0&&C.currentType===2&&h(Z.EMPTY_PLACEHOLDER,a(),0),w.next(),F=s(C,3,"}"),C.braceNest--,C.braceNest>0&&m(w),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),F;case"@":return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=z(w,C)||d(C),C.braceNest=0,F;default:let j=!0,J=!0,X=!0;if(S(w))return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;if(C.braceNest>0&&(C.currentType===5||C.currentType===6||C.currentType===7))return h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C.braceNest=0,ie(w,C);if(j=v(w,C))return F=s(C,5,ae(w)),m(w),F;if(J=b(w,C))return F=s(C,6,L(w)),m(w),F;if(X=y(w,C))return F=s(C,7,U(w)),m(w),F;if(!j&&!J&&!X)return F=s(C,13,ue(w)),h(Z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,F.value),m(w),F;break}return F}function z(w,C){const{currentType:F}=C;let H=null;const j=w.currentChar();switch((F===8||F===9||F===12||F===10)&&(j===Le||j===Xe)&&h(Z.INVALID_LINKED_FORMAT,a(),0),j){case"@":return w.next(),H=s(C,8,"@"),C.inLinked=!0,H;case".":return m(w),w.next(),s(C,9,".");case":":return m(w),w.next(),s(C,10,":");default:return S(w)?(H=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,H):_(w,C)||D(w,C)?(m(w),z(w,C)):A(w,C)?(m(w),s(C,12,te(w))):B(w,C)?(m(w),j==="{"?$(w,C)||H:s(C,11,T(w))):(F===8&&h(Z.INVALID_LINKED_FORMAT,a(),0),C.braceNest=0,C.inLinked=!1,ie(w,C))}}function ie(w,C){let F={type:14};if(C.braceNest>0)return $(w,C)||d(C);if(C.inLinked)return z(w,C)||d(C);switch(w.currentChar()){case"{":return $(w,C)||d(C);case"}":return h(Z.UNBALANCED_CLOSING_BRACE,a(),0),w.next(),s(C,3,"}");case"@":return z(w,C)||d(C);default:if(S(w))return F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;const{isModulo:j,hasSpace:J}=P(w);if(j)return J?s(C,0,ce(w)):s(C,4,oe(w));if(k(w))return s(C,0,ce(w));break}return F}function ee(){const{currentType:w,offset:C,startLoc:F,endLoc:H}=f;return f.lastType=w,f.lastOffset=C,f.lastStartLoc=F,f.lastEndLoc=H,f.offset=o(),f.startLoc=a(),n.currentChar()===it?s(f,14):ie(n,f)}return{nextToken:ee,currentOffset:o,currentPosition:a,context:c}}const Bd="parser",Fd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Pd(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function kd(e={}){const t=e.location!==!1,{onError:r}=e;function n(E,g,v,b,...y){const _=E.currentPosition();if(_.offset+=b,_.column+=b,r){const A=t?qn(v,_):null,D=Lt(g,A,{domain:Bd,args:y});r(D)}}function o(E,g,v){const b={type:E};return t&&(b.start=g,b.end=g,b.loc={start:v,end:v}),b}function a(E,g,v,b){b&&(E.type=b),t&&(E.end=g,E.loc&&(E.loc.end=v))}function i(E,g){const v=E.context(),b=o(3,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function l(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(5,b,y);return _.index=parseInt(g,10),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function f(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(4,b,y);return _.key=g,E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function c(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(9,b,y);return _.value=g.replace(Fd,Pd),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function u(E){const g=E.nextToken(),v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(8,b,y);return g.type!==12?(n(E,Z.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),_.value="",a(_,b,y),{nextConsumeToken:g,node:_}):(g.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ve(g)),_.value=g.value||"",a(_,E.currentOffset(),E.currentPosition()),{node:_})}function h(E,g){const v=E.context(),b=o(7,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function s(E){const g=E.context(),v=o(6,g.offset,g.startLoc);let b=E.nextToken();if(b.type===9){const y=u(E);v.modifier=y.node,b=y.nextConsumeToken||E.nextToken()}switch(b.type!==10&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),b=E.nextToken(),b.type===2&&(b=E.nextToken()),b.type){case 11:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=h(E,b.value||"");break;case 5:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=f(E,b.value||"");break;case 6:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=l(E,b.value||"");break;case 7:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(b)),v.key=c(E,b.value||"");break;default:n(E,Z.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const y=E.context(),_=o(7,y.offset,y.startLoc);return _.value="",a(_,y.offset,y.startLoc),v.key=_,a(v,y.offset,y.startLoc),{nextConsumeToken:b,node:v}}return a(v,E.currentOffset(),E.currentPosition()),{node:v}}function d(E){const g=E.context(),v=g.currentType===1?E.currentOffset():g.offset,b=g.currentType===1?g.endLoc:g.startLoc,y=o(2,v,b);y.items=[];let _=null;do{const B=_||E.nextToken();switch(_=null,B.type){case 0:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(i(E,B.value||""));break;case 6:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(l(E,B.value||""));break;case 5:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(f(E,B.value||""));break;case 7:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ve(B)),y.items.push(c(E,B.value||""));break;case 8:const S=s(E);y.items.push(S.node),_=S.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const A=g.currentType===1?g.lastOffset:E.currentOffset(),D=g.currentType===1?g.lastEndLoc:E.currentPosition();return a(y,A,D),y}function x(E,g,v,b){const y=E.context();let _=b.items.length===0;const A=o(1,g,v);A.cases=[],A.cases.push(b);do{const D=d(E);_||(_=D.items.length===0),A.cases.push(D)}while(y.currentType!==14);return _&&n(E,Z.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),a(A,E.currentOffset(),E.currentPosition()),A}function p(E){const g=E.context(),{offset:v,startLoc:b}=g,y=d(E);return g.currentType===14?y:x(E,v,b,y)}function m(E){const g=Dd(E,t0({},e)),v=g.context(),b=o(0,v.offset,v.startLoc);return t&&b.loc&&(b.loc.source=E),b.body=p(g),e.onCacheKey&&(b.cacheKey=e.onCacheKey(E)),v.currentType!==14&&n(g,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,E[v.offset]||""),a(b,g.currentOffset(),g.currentPosition()),b}return{parse:m}}function Ve(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Td(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function ti(e,t){for(let r=0;rri(r)),e}function ri(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rl;function c(m,E){l.code+=m}function u(m,E=!0){const g=E?o:"";c(a?g+" ".repeat(m):g)}function h(m=!0){const E=++l.indentLevel;m&&u(E)}function s(m=!0){const E=--l.indentLevel;m&&u(E)}function d(){u(l.indentLevel)}return{context:f,push:c,indent:h,deindent:s,newline:d,helper:m=>`_${m}`,needIndent:()=>l.needIndent}}function Md(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),Bt(e,t.key),t.modifier?(e.push(", "),Bt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ud(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let a=0;a1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let a=0;a{const r=Zo(t.mode)?t.mode:"normal",n=Zo(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":` +`,i=t.needIndent?t.needIndent:r!=="arrow",l=e.helpers||[],f=Od(e,{mode:r,filename:n,sourceMap:o,breakLineCode:a,needIndent:i});f.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(i),l.length>0&&(f.push(`const { ${r0(l.map(h=>`${h}: _${h}`),", ")} } = ctx`),f.newline()),f.push("return "),Bt(f,e),f.deindent(i),f.push("}"),delete e.helpers;const{code:c,map:u}=f.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function Gd(e,t={}){const r=t0({},t),n=!!r.jit,o=!!r.minify,a=r.optimize==null?!0:r.optimize,l=kd(r).parse(e);return n?(a&&Ld(l),o&&_t(l),{ast:l,code:""}):(Id(l,r),jd(l,r))}/*! * core-base v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function Gd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const xt=[];xt[0]={w:[0],i:[3,0],"[":[4],o:[7]};xt[1]={w:[1],".":[2],"[":[4],o:[7]};xt[2]={w:[2],i:[3,0],0:[3,0]};xt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xt[5]={"'":[4,0],o:8,l:[5,0]};xt[6]={'"':[4,0],o:8,l:[6,0]};const $d=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vd(e){return $d.test(e)}function qd(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function zd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Kd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Vd(t)?qd(t):"*"+t}function Yd(e){const t=[];let r=-1,n=0,o=0,a,i,l,f,c,u,h;const s=[];s[0]=()=>{i===void 0?i=l:i+=l},s[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},s[2]=()=>{s[0](),o++},s[3]=()=>{if(o>0)o--,n=4,s[0]();else{if(o=0,i===void 0||(i=Kd(i),i===!1))return!1;s[1]()}};function d(){const x=e[r+1];if(n===5&&x==="'"||n===6&&x==='"')return r++,l="\\"+x,s[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&d())){if(f=zd(a),h=xt[n],c=h[f]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=s[c[1]],u&&(l=a,u()===!1))))return;if(n===7)return t}}const ni=new Map;function Xd(e,t){return xe(e)?e[t]:null}function Qd(e,t){if(!xe(e))return null;let r=ni.get(t);if(r||(r=Yd(t),r&&ni.set(t,r)),!r)return null;const n=r.length;let o=e,a=0;for(;ae,Zd=e=>"",eh="text",th=e=>e.length===0?"":dd(e),rh=fd;function ai(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function nh(e){const t=Se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Se(e.named.count)||Se(e.named.n))?Se(e.named.count)?e.named.count:Se(e.named.n)?e.named.n:t:t}function ah(e,t){t.count||(t.count=e),t.n||(t.n=e)}function oh(e={}){const t=e.locale,r=nh(e),n=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?e.pluralRules[t]:ai,o=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?ai:void 0,a=E=>E[n(r,E.length,o)],i=e.list||[],l=E=>i[E],f=e.named||{};Se(e.pluralIndex)&&ah(r,f);const c=E=>f[E];function u(E){const g=Ee(e.messages)?e.messages(E):xe(e.messages)?e.messages[E]:!1;return g||(e.parent?e.parent.message(E):Zd)}const h=E=>e.modifiers?e.modifiers[E]:Jd,s=ne(e.processor)&&Ee(e.processor.normalize)?e.processor.normalize:th,d=ne(e.processor)&&Ee(e.processor.interpolate)?e.processor.interpolate:rh,x=ne(e.processor)&&V(e.processor.type)?e.processor.type:eh,m={list:l,named:c,plural:a,linked:(E,...g)=>{const[v,b]=g;let y="text",_="";g.length===1?xe(v)?(_=v.modifier||_,y=v.type||y):V(v)&&(_=v||_):g.length===2&&(V(v)&&(_=v||_),V(b)&&(y=b||y));const A=u(E)(m),D=y==="vnode"&&be(A)&&_?A[0]:A;return _?h(_)(D,y):D},message:u,type:x,interpolate:d,normalize:s,values:ke({},i,f)};return m}let Yt=null;function ih(e){Yt=e}function sh(e,t,r){Yt&&Yt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const ch=lh("function:translate");function lh(e){return t=>Yt&&Yt.emit(e,t)}const uh={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},n0=Z.__EXTEND_POINT__,pt=wa(n0),Ge={INVALID_ARGUMENT:n0,INVALID_DATE_ARGUMENT:pt(),INVALID_ISO_DATE_ARGUMENT:pt(),NOT_SUPPORT_NON_STRING_MESSAGE:pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pt(),NOT_SUPPORT_LOCALE_TYPE:pt(),__EXTEND_POINT__:pt()};function ze(e){return Lt(e,null,void 0)}function Sa(e,t){return t.locale!=null?oi(t.locale):oi(e.locale)}let An;function oi(e){if(V(e))return e;if(Ee(e)){if(e.resolvedOnce&&An!=null)return An;if(e.constructor.name==="Function"){const t=e();if(ud(t))throw ze(Ge.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return An=t}else throw ze(Ge.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ze(Ge.NOT_SUPPORT_LOCALE_TYPE)}function fh(e,t,r){return[...new Set([r,...be(t)?t:xe(t)?Object.keys(t):V(t)?[t]:[r]])]}function a0(e,t,r){const n=V(r)?r:Ft,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(n);if(!a){a=[];let i=[r];for(;be(i);)i=ii(a,i,t);const l=be(t)||!ne(t)?t:t.default?t.default:null;i=V(l)?[l]:l,be(i)&&ii(a,i,!1),o.__localeChainCache.set(n,a)}return a}function ii(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ph(){return{upper:(e,t)=>t==="text"&&V(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&V(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&V(e)?ci(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?ci(e.children):e}}let o0;function li(e){o0=e}let i0;function mh(e){i0=e}let s0;function gh(e){s0=e}let c0=null;const vh=e=>{c0=e},Eh=()=>c0;let l0=null;const ui=e=>{l0=e},bh=()=>l0;let fi=0;function Ch(e={}){const t=Ee(e.onWarn)?e.onWarn:hd,r=V(e.version)?e.version:xh,n=V(e.locale)||Ee(e.locale)?e.locale:Ft,o=Ee(n)?Ft:n,a=be(e.fallbackLocale)||ne(e.fallbackLocale)||V(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ne(e.messages)?e.messages:{[o]:{}},l=ne(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},f=ne(e.numberFormats)?e.numberFormats:{[o]:{}},c=ke({},e.modifiers||{},ph()),u=e.pluralRules||{},h=Ee(e.missing)?e.missing:null,s=le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,d=le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,x=!!e.fallbackFormat,p=!!e.unresolving,m=Ee(e.postTranslation)?e.postTranslation:null,E=ne(e.processor)?e.processor:null,g=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ee(e.messageCompiler)?e.messageCompiler:o0,y=Ee(e.messageResolver)?e.messageResolver:i0||Xd,_=Ee(e.localeFallbacker)?e.localeFallbacker:s0||fh,A=xe(e.fallbackContext)?e.fallbackContext:void 0,D=e,B=xe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,S=xe(D.__numberFormatters)?D.__numberFormatters:new Map,P=xe(D.__meta)?D.__meta:{};fi++;const k={version:r,cid:fi,locale:n,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:h,missingWarn:s,fallbackWarn:d,fallbackFormat:x,unresolving:p,postTranslation:m,processor:E,warnHtmlMessage:g,escapeParameter:v,messageCompiler:b,messageResolver:y,localeFallbacker:_,fallbackContext:A,onWarn:t,__meta:P};return k.datetimeFormats=l,k.numberFormats=f,k.__datetimeFormatters=B,k.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&sh(k,r,P),k}function Da(e,t,r,n,o){const{missing:a,onWarn:i}=e;if(a!==null){const l=a(e,r,t,o);return V(l)?l:t}else return t}function Ot(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Sn(e){return r=>_h(r,e)}function _h(e,t){const r=t.b||t.body;if((r.t||r.type)===1){const n=r,o=n.c||n.cases;return e.plural(o.reduce((a,i)=>[...a,di(e,i)],[]))}else return di(e,r)}function di(e,t){const r=t.s||t.static;if(r)return e.type==="text"?r:e.normalize([r]);{const n=(t.i||t.items).reduce((o,a)=>[...o,zn(e,a)],[]);return e.normalize(n)}}function zn(e,t){const r=t.t||t.type;switch(r){case 3:const n=t;return n.v||n.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const l=t,f=l.m||l.modifier;return e.linked(zn(e,l.k||l.key),f?zn(e,f):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${r}`)}}const u0=e=>e;let At=Object.create(null);const Pt=e=>xe(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function f0(e,t={}){let r=!1;const n=t.onError||Ed;return t.onError=o=>{r=!0,n(o)},{...jd(e,t),detectError:r}}const yh=(e,t)=>{if(!V(e))throw ze(Ge.NOT_SUPPORT_NON_STRING_MESSAGE);{le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{code:a,detectError:i}=f0(e,t),l=new Function(`return ${a}`)();return i?l:At[n]=l}};function wh(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&V(e)){le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{ast:a,detectError:i}=f0(e,{...t,location:!1,jit:!0}),l=Sn(a);return i?l:At[n]=l}else{const r=e.cacheKey;if(r){const n=At[r];return n||(At[r]=Sn(e))}else return Sn(e)}}const hi=()=>"",Ue=e=>Ee(e);function xi(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[f,c]=Kn(...t),u=le(c.missingWarn)?c.missingWarn:e.missingWarn,h=le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,s=le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,x=V(c.default)||le(c.default)?le(c.default)?a?f:()=>f:c.default:r?a?f:()=>f:"",p=r||x!=="",m=Sa(e,c);s&&Ah(c);let[E,g,v]=d?[f,m,l[m]||{}]:d0(e,f,m,i,h,u),b=E,y=f;if(!d&&!(V(b)||Pt(b)||Ue(b))&&p&&(b=x,y=b),!d&&(!(V(b)||Pt(b)||Ue(b))||!V(g)))return o?Br:f;let _=!1;const A=()=>{_=!0},D=Ue(b)?b:h0(e,f,g,b,y,A);if(_)return b;const B=Bh(e,g,v,c),S=oh(B),P=Sh(e,D,S),k=n?n(P,f):P;if(__INTLIFY_PROD_DEVTOOLS__){const I={timestamp:Date.now(),key:V(f)?f:Ue(b)?b.key:"",locale:g||(Ue(b)?b.locale:""),format:V(b)?b:Ue(b)?b.source:"",message:k};I.meta=ke({},e.__meta,Eh()||{}),ch(I)}return k}function Ah(e){be(e.list)?e.list=e.list.map(t=>V(t)?Jo(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{V(e.named[t])&&(e.named[t]=Jo(e.named[t]))})}function d0(e,t,r,n,o,a){const{messages:i,onWarn:l,messageResolver:f,localeFallbacker:c}=e,u=c(e,n,r);let h={},s,d=null;const x="translate";for(let p=0;pn;return c.locale=r,c.key=t,c}const f=i(n,Dh(e,r,o,n,l,a));return f.locale=r,f.key=t,f.source=n,f}function Sh(e,t,r){return t(r)}function Kn(...e){const[t,r,n]=e,o={};if(!V(t)&&!Se(t)&&!Ue(t)&&!Pt(t))throw ze(Ge.INVALID_ARGUMENT);const a=Se(t)?String(t):(Ue(t),t);return Se(r)?o.plural=r:V(r)?o.default=r:ne(r)&&!Dr(r)?o.named=r:be(r)&&(o.list=r),Se(n)?o.plural=n:V(n)?o.default=n:ne(n)&&ke(o,n),[a,o]}function Dh(e,t,r,n,o,a){return{locale:t,key:r,warnHtmlMessage:o,onError:i=>{throw a&&a(i),i},onCacheKey:i=>id(t,r,i)}}function Bh(e,t,r,n){const{modifiers:o,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:f,missingWarn:c,fallbackContext:u}=e,s={locale:t,modifiers:o,pluralRules:a,messages:d=>{let x=i(r,d);if(x==null&&u){const[,,p]=d0(u,d,t,l,f,c);x=i(p,d)}if(V(x)||Pt(x)){let p=!1;const E=h0(e,d,t,x,d,()=>{p=!0});return p?hi:E}else return Ue(x)?x:hi}};return e.processor&&(s.processor=e.processor),n.list&&(s.list=n.list),n.named&&(s.named=n.named),Se(n.plural)&&(s.pluralIndex=n.plural),s}function pi(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[f,c,u,h]=Yn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.DateTimeFormat(x,h).format(c);let m={},E,g=null;const v="datetime format";for(let _=0;_{x0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function mi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function gi(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[f,c,u,h]=Xn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.NumberFormat(x,h).format(c);let m={},E,g=null;const v="number format";for(let _=0;_{p0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function vi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}Gd();/*! + */function $d(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const xt=[];xt[0]={w:[0],i:[3,0],"[":[4],o:[7]};xt[1]={w:[1],".":[2],"[":[4],o:[7]};xt[2]={w:[2],i:[3,0],0:[3,0]};xt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xt[5]={"'":[4,0],o:8,l:[5,0]};xt[6]={'"':[4,0],o:8,l:[6,0]};const Vd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function qd(e){return Vd.test(e)}function zd(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function Kd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Yd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:qd(t)?zd(t):"*"+t}function Xd(e){const t=[];let r=-1,n=0,o=0,a,i,l,f,c,u,h;const s=[];s[0]=()=>{i===void 0?i=l:i+=l},s[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},s[2]=()=>{s[0](),o++},s[3]=()=>{if(o>0)o--,n=4,s[0]();else{if(o=0,i===void 0||(i=Yd(i),i===!1))return!1;s[1]()}};function d(){const x=e[r+1];if(n===5&&x==="'"||n===6&&x==='"')return r++,l="\\"+x,s[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&d())){if(f=Kd(a),h=xt[n],c=h[f]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=s[c[1]],u&&(l=a,u()===!1))))return;if(n===7)return t}}const ni=new Map;function Qd(e,t){return xe(e)?e[t]:null}function Jd(e,t){if(!xe(e))return null;let r=ni.get(t);if(r||(r=Xd(t),r&&ni.set(t,r)),!r)return null;const n=r.length;let o=e,a=0;for(;ae,eh=e=>"",th="text",rh=e=>e.length===0?"":hd(e),nh=dd;function ai(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ah(e){const t=Se(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Se(e.named.count)||Se(e.named.n))?Se(e.named.count)?e.named.count:Se(e.named.n)?e.named.n:t:t}function oh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ih(e={}){const t=e.locale,r=ah(e),n=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?e.pluralRules[t]:ai,o=xe(e.pluralRules)&&V(t)&&Ee(e.pluralRules[t])?ai:void 0,a=E=>E[n(r,E.length,o)],i=e.list||[],l=E=>i[E],f=e.named||{};Se(e.pluralIndex)&&oh(r,f);const c=E=>f[E];function u(E){const g=Ee(e.messages)?e.messages(E):xe(e.messages)?e.messages[E]:!1;return g||(e.parent?e.parent.message(E):eh)}const h=E=>e.modifiers?e.modifiers[E]:Zd,s=ne(e.processor)&&Ee(e.processor.normalize)?e.processor.normalize:rh,d=ne(e.processor)&&Ee(e.processor.interpolate)?e.processor.interpolate:nh,x=ne(e.processor)&&V(e.processor.type)?e.processor.type:th,m={list:l,named:c,plural:a,linked:(E,...g)=>{const[v,b]=g;let y="text",_="";g.length===1?xe(v)?(_=v.modifier||_,y=v.type||y):V(v)&&(_=v||_):g.length===2&&(V(v)&&(_=v||_),V(b)&&(y=b||y));const A=u(E)(m),D=y==="vnode"&&be(A)&&_?A[0]:A;return _?h(_)(D,y):D},message:u,type:x,interpolate:d,normalize:s,values:ke({},i,f)};return m}let Yt=null;function sh(e){Yt=e}function ch(e,t,r){Yt&&Yt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const lh=uh("function:translate");function uh(e){return t=>Yt&&Yt.emit(e,t)}const fh={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},n0=Z.__EXTEND_POINT__,pt=wa(n0),Ge={INVALID_ARGUMENT:n0,INVALID_DATE_ARGUMENT:pt(),INVALID_ISO_DATE_ARGUMENT:pt(),NOT_SUPPORT_NON_STRING_MESSAGE:pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pt(),NOT_SUPPORT_LOCALE_TYPE:pt(),__EXTEND_POINT__:pt()};function ze(e){return Lt(e,null,void 0)}function Sa(e,t){return t.locale!=null?oi(t.locale):oi(e.locale)}let An;function oi(e){if(V(e))return e;if(Ee(e)){if(e.resolvedOnce&&An!=null)return An;if(e.constructor.name==="Function"){const t=e();if(fd(t))throw ze(Ge.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return An=t}else throw ze(Ge.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ze(Ge.NOT_SUPPORT_LOCALE_TYPE)}function dh(e,t,r){return[...new Set([r,...be(t)?t:xe(t)?Object.keys(t):V(t)?[t]:[r]])]}function a0(e,t,r){const n=V(r)?r:Ft,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(n);if(!a){a=[];let i=[r];for(;be(i);)i=ii(a,i,t);const l=be(t)||!ne(t)?t:t.default?t.default:null;i=V(l)?[l]:l,be(i)&&ii(a,i,!1),o.__localeChainCache.set(n,a)}return a}function ii(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function mh(){return{upper:(e,t)=>t==="text"&&V(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&V(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&V(e)?ci(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?ci(e.children):e}}let o0;function li(e){o0=e}let i0;function gh(e){i0=e}let s0;function vh(e){s0=e}let c0=null;const Eh=e=>{c0=e},bh=()=>c0;let l0=null;const ui=e=>{l0=e},Ch=()=>l0;let fi=0;function _h(e={}){const t=Ee(e.onWarn)?e.onWarn:xd,r=V(e.version)?e.version:ph,n=V(e.locale)||Ee(e.locale)?e.locale:Ft,o=Ee(n)?Ft:n,a=be(e.fallbackLocale)||ne(e.fallbackLocale)||V(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ne(e.messages)?e.messages:{[o]:{}},l=ne(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},f=ne(e.numberFormats)?e.numberFormats:{[o]:{}},c=ke({},e.modifiers||{},mh()),u=e.pluralRules||{},h=Ee(e.missing)?e.missing:null,s=le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,d=le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,x=!!e.fallbackFormat,p=!!e.unresolving,m=Ee(e.postTranslation)?e.postTranslation:null,E=ne(e.processor)?e.processor:null,g=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ee(e.messageCompiler)?e.messageCompiler:o0,y=Ee(e.messageResolver)?e.messageResolver:i0||Qd,_=Ee(e.localeFallbacker)?e.localeFallbacker:s0||dh,A=xe(e.fallbackContext)?e.fallbackContext:void 0,D=e,B=xe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,S=xe(D.__numberFormatters)?D.__numberFormatters:new Map,P=xe(D.__meta)?D.__meta:{};fi++;const k={version:r,cid:fi,locale:n,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:h,missingWarn:s,fallbackWarn:d,fallbackFormat:x,unresolving:p,postTranslation:m,processor:E,warnHtmlMessage:g,escapeParameter:v,messageCompiler:b,messageResolver:y,localeFallbacker:_,fallbackContext:A,onWarn:t,__meta:P};return k.datetimeFormats=l,k.numberFormats=f,k.__datetimeFormatters=B,k.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&ch(k,r,P),k}function Da(e,t,r,n,o){const{missing:a,onWarn:i}=e;if(a!==null){const l=a(e,r,t,o);return V(l)?l:t}else return t}function Ot(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Sn(e){return r=>yh(r,e)}function yh(e,t){const r=t.b||t.body;if((r.t||r.type)===1){const n=r,o=n.c||n.cases;return e.plural(o.reduce((a,i)=>[...a,di(e,i)],[]))}else return di(e,r)}function di(e,t){const r=t.s||t.static;if(r)return e.type==="text"?r:e.normalize([r]);{const n=(t.i||t.items).reduce((o,a)=>[...o,zn(e,a)],[]);return e.normalize(n)}}function zn(e,t){const r=t.t||t.type;switch(r){case 3:const n=t;return n.v||n.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const l=t,f=l.m||l.modifier;return e.linked(zn(e,l.k||l.key),f?zn(e,f):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${r}`)}}const u0=e=>e;let At=Object.create(null);const Pt=e=>xe(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function f0(e,t={}){let r=!1;const n=t.onError||bd;return t.onError=o=>{r=!0,n(o)},{...Gd(e,t),detectError:r}}const wh=(e,t)=>{if(!V(e))throw ze(Ge.NOT_SUPPORT_NON_STRING_MESSAGE);{le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{code:a,detectError:i}=f0(e,t),l=new Function(`return ${a}`)();return i?l:At[n]=l}};function Ah(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&V(e)){le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{ast:a,detectError:i}=f0(e,{...t,location:!1,jit:!0}),l=Sn(a);return i?l:At[n]=l}else{const r=e.cacheKey;if(r){const n=At[r];return n||(At[r]=Sn(e))}else return Sn(e)}}const hi=()=>"",Ue=e=>Ee(e);function xi(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[f,c]=Kn(...t),u=le(c.missingWarn)?c.missingWarn:e.missingWarn,h=le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,s=le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,x=V(c.default)||le(c.default)?le(c.default)?a?f:()=>f:c.default:r?a?f:()=>f:"",p=r||x!=="",m=Sa(e,c);s&&Sh(c);let[E,g,v]=d?[f,m,l[m]||{}]:d0(e,f,m,i,h,u),b=E,y=f;if(!d&&!(V(b)||Pt(b)||Ue(b))&&p&&(b=x,y=b),!d&&(!(V(b)||Pt(b)||Ue(b))||!V(g)))return o?Br:f;let _=!1;const A=()=>{_=!0},D=Ue(b)?b:h0(e,f,g,b,y,A);if(_)return b;const B=Fh(e,g,v,c),S=ih(B),P=Dh(e,D,S),k=n?n(P,f):P;if(__INTLIFY_PROD_DEVTOOLS__){const I={timestamp:Date.now(),key:V(f)?f:Ue(b)?b.key:"",locale:g||(Ue(b)?b.locale:""),format:V(b)?b:Ue(b)?b.source:"",message:k};I.meta=ke({},e.__meta,bh()||{}),lh(I)}return k}function Sh(e){be(e.list)?e.list=e.list.map(t=>V(t)?Jo(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{V(e.named[t])&&(e.named[t]=Jo(e.named[t]))})}function d0(e,t,r,n,o,a){const{messages:i,onWarn:l,messageResolver:f,localeFallbacker:c}=e,u=c(e,n,r);let h={},s,d=null;const x="translate";for(let p=0;pn;return c.locale=r,c.key=t,c}const f=i(n,Bh(e,r,o,n,l,a));return f.locale=r,f.key=t,f.source=n,f}function Dh(e,t,r){return t(r)}function Kn(...e){const[t,r,n]=e,o={};if(!V(t)&&!Se(t)&&!Ue(t)&&!Pt(t))throw ze(Ge.INVALID_ARGUMENT);const a=Se(t)?String(t):(Ue(t),t);return Se(r)?o.plural=r:V(r)?o.default=r:ne(r)&&!Dr(r)?o.named=r:be(r)&&(o.list=r),Se(n)?o.plural=n:V(n)?o.default=n:ne(n)&&ke(o,n),[a,o]}function Bh(e,t,r,n,o,a){return{locale:t,key:r,warnHtmlMessage:o,onError:i=>{throw a&&a(i),i},onCacheKey:i=>sd(t,r,i)}}function Fh(e,t,r,n){const{modifiers:o,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:f,missingWarn:c,fallbackContext:u}=e,s={locale:t,modifiers:o,pluralRules:a,messages:d=>{let x=i(r,d);if(x==null&&u){const[,,p]=d0(u,d,t,l,f,c);x=i(p,d)}if(V(x)||Pt(x)){let p=!1;const E=h0(e,d,t,x,d,()=>{p=!0});return p?hi:E}else return Ue(x)?x:hi}};return e.processor&&(s.processor=e.processor),n.list&&(s.list=n.list),n.named&&(s.named=n.named),Se(n.plural)&&(s.pluralIndex=n.plural),s}function pi(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[f,c,u,h]=Yn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.DateTimeFormat(x,h).format(c);let m={},E,g=null;const v="datetime format";for(let _=0;_{x0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function mi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function gi(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[f,c,u,h]=Xn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.NumberFormat(x,h).format(c);let m={},E,g=null;const v="number format";for(let _=0;_{p0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function vi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}$d();/*! * vue-i18n v9.10.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const Fh="9.10.1";function Ph(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(et().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(et().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1)}const m0=uh.__EXTEND_POINT__,Qe=wa(m0);Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe();const g0=Ge.__EXTEND_POINT__,Ne=wa(g0),De={UNEXPECTED_RETURN_TYPE:g0,INVALID_ARGUMENT:Ne(),MUST_BE_CALL_SETUP_TOP:Ne(),NOT_INSTALLED:Ne(),NOT_AVAILABLE_IN_LEGACY_MODE:Ne(),REQUIRED_VALUE:Ne(),INVALID_VALUE:Ne(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ne(),NOT_INSTALLED_WITH_PROVIDE:Ne(),UNEXPECTED_ERROR:Ne(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ne(),BRIDGE_SUPPORT_VUE_2_ONLY:Ne(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ne(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ne(),__EXTEND_POINT__:Ne()};function Fe(e,...t){return Lt(e,null,void 0)}const Qn=ht("__translateVNode"),Jn=ht("__datetimeParts"),Zn=ht("__numberParts"),v0=ht("__setPluralRules"),E0=ht("__injectWithOption"),ea=ht("__dispose");function Xt(e){if(!xe(e))return e;for(const t in e)if(pr(e,t))if(!t.includes("."))xe(e[t])&&Xt(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,a=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:f,resource:c}=l;f?(i[f]=i[f]||{},ur(c,i[f])):ur(c,i)}else V(l)&&ur(JSON.parse(l),i)}),o==null&&a)for(const l in i)pr(i,l)&&Xt(i[l]);return i}function b0(e){return e.type}function C0(e,t,r){let n=xe(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Fr(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(xe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ei(e){return ut(tc,null,e,0)}const bi="__INTLIFY_META__",Ci=()=>[],kh=()=>!1;let _i=0;function yi(e){return(t,r,n,o)=>e(r,n,$t()||void 0,o)}const Th=()=>{const e=$t();let t=null;return e&&(t=b0(e)[bi])?{[bi]:t}:null};function Ba(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,a=e.flatJson,i=xr?Ze:sa,l=!!e.translateExistCompatible;let f=le(e.inheritLocale)?e.inheritLocale:!0;const c=i(r&&f?r.locale.value:V(e.locale)?e.locale:Ft),u=i(r&&f?r.fallbackLocale.value:V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=i(Fr(c.value,e)),s=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),d=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let x=r?r.missingWarn:le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,p=r?r.fallbackWarn:le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,m=r?r.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,g=Ee(e.missing)?e.missing:null,v=Ee(e.missing)?yi(e.missing):null,b=Ee(e.postTranslation)?e.postTranslation:null,y=r?r.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const A=r?r.modifiers:ne(e.modifiers)?e.modifiers:{};let D=e.pluralRules||r&&r.pluralRules,B;B=(()=>{o&&ui(null);const R={version:Fh,locale:c.value,fallbackLocale:u.value,messages:h.value,modifiers:A,pluralRules:D,missing:v===null?void 0:v,missingWarn:x,fallbackWarn:p,fallbackFormat:E,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=s.value,R.numberFormats=d.value,R.__datetimeFormatters=ne(B)?B.__datetimeFormatters:void 0,R.__numberFormatters=ne(B)?B.__numberFormatters:void 0;const G=Ch(R);return o&&ui(G),G})(),Ot(B,c.value,u.value);function P(){return[c.value,u.value,h.value,s.value,d.value]}const k=ve({get:()=>c.value,set:R=>{c.value=R,B.locale=c.value}}),I=ve({get:()=>u.value,set:R=>{u.value=R,B.fallbackLocale=u.value,Ot(B,c.value,R)}}),K=ve(()=>h.value),Y=ve(()=>s.value),q=ve(()=>d.value);function se(){return Ee(b)?b:null}function oe(R){b=R,B.postTranslation=R}function ce(){return g}function ae(R){R!==null&&(v=yi(R)),g=R,B.missing=v}const L=(R,G,pe,_e,We,je)=>{P();let Me;try{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=r?bh():void 0),Me=R(B)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=void 0)}if(pe!=="translate exists"&&Se(Me)&&Me===Br||pe==="translate exists"&&!Me){const[Tr,Ir]=G();return r&&m?_e(r):We(Tr)}else{if(je(Me))return Me;throw Fe(De.UNEXPECTED_RETURN_TYPE)}};function U(...R){return L(G=>Reflect.apply(xi,null,[G,...R]),()=>Kn(...R),"translate",G=>Reflect.apply(G.t,G,[...R]),G=>G,G=>V(G))}function W(...R){const[G,pe,_e]=R;if(_e&&!xe(_e))throw Fe(De.INVALID_ARGUMENT);return U(G,pe,ke({resolvedMessage:!0},_e||{}))}function N(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>Reflect.apply(G.d,G,[...R]),()=>si,G=>V(G))}function ue(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>Reflect.apply(G.n,G,[...R]),()=>si,G=>V(G))}function te(R){return R.map(G=>V(G)||Se(G)||le(G)?Ei(String(G)):G)}const O={normalize:te,interpolate:R=>R,type:"vnode"};function $(...R){return L(G=>{let pe;const _e=G;try{_e.processor=O,pe=Reflect.apply(xi,null,[_e,...R])}finally{_e.processor=null}return pe},()=>Kn(...R),"translate",G=>G[Qn](...R),G=>[Ei(G)],G=>be(G))}function z(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>G[Zn](...R),Ci,G=>V(G)||be(G))}function ie(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>G[Jn](...R),Ci,G=>V(G)||be(G))}function ee(R){D=R,B.pluralRules=D}function w(R,G){return L(()=>{if(!R)return!1;const pe=V(G)?G:c.value,_e=H(pe),We=B.messageResolver(_e,R);return l?We!=null:Pt(We)||Ue(We)||V(We)},()=>[R],"translate exists",pe=>Reflect.apply(pe.te,pe,[R,G]),kh,pe=>le(pe))}function C(R){let G=null;const pe=a0(B,u.value,c.value);for(let _e=0;_e{f&&(c.value=R,B.locale=R,Ot(B,c.value,u.value))}),St(r.fallbackLocale,R=>{f&&(u.value=R,B.fallbackLocale=R,Ot(B,c.value,u.value))}));const Ce={id:_i,locale:k,fallbackLocale:I,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&r&&(c.value=r.locale.value,u.value=r.fallbackLocale.value,Ot(B,c.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:K,get modifiers(){return A},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return x},set missingWarn(R){x=R,B.missingWarn=x},get fallbackWarn(){return p},set fallbackWarn(R){p=R,B.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return E},set fallbackFormat(R){E=R,B.fallbackFormat=E},get warnHtmlMessage(){return y},set warnHtmlMessage(R){y=R,B.warnHtmlMessage=R},get escapeParameter(){return _},set escapeParameter(R){_=R,B.escapeParameter=R},t:U,getLocaleMessage:H,setLocaleMessage:j,mergeLocaleMessage:J,getPostTranslationHandler:se,setPostTranslationHandler:oe,getMissingHandler:ce,setMissingHandler:ae,[v0]:ee};return Ce.datetimeFormats=Y,Ce.numberFormats=q,Ce.rt=W,Ce.te=w,Ce.tm=F,Ce.d=N,Ce.n=ue,Ce.getDateTimeFormat=X,Ce.setDateTimeFormat=Q,Ce.mergeDateTimeFormat=ye,Ce.getNumberFormat=he,Ce.setNumberFormat=Te,Ce.mergeNumberFormat=Ye,Ce[E0]=n,Ce[Qn]=$,Ce[Jn]=ie,Ce[Zn]=z,Ce}function Ih(e){const t=V(e.locale)?e.locale:Ft,r=V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ee(e.missing)?e.missing:void 0,o=le(e.silentTranslationWarn)||ft(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=le(e.silentFallbackWarn)||ft(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=le(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,f=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ee(e.postTranslation)?e.postTranslation:void 0,h=V(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,s=!!e.escapeParameterHtml,d=le(e.sync)?e.sync:!0;let x=e.messages;if(ne(e.sharedMessages)){const _=e.sharedMessages;x=Object.keys(_).reduce((D,B)=>{const S=D[B]||(D[B]={});return ke(S,_[B]),D},x||{})}const{__i18n:p,__root:m,__injectWithOption:E}=e,g=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,y=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:x,flatJson:b,datetimeFormats:g,numberFormats:v,missing:n,missingWarn:o,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:f,pluralRules:c,postTranslation:u,warnHtmlMessage:h,escapeParameter:s,messageResolver:e.messageResolver,inheritLocale:d,translateExistCompatible:y,__i18n:p,__root:m,__injectWithOption:E}}function ta(e={},t){{const r=Ba(Ih(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(a){r.locale.value=a},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(a){r.fallbackLocale.value=a},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return r.getMissingHandler()},set missing(a){r.setMissingHandler(a)},get silentTranslationWarn(){return le(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(a){r.missingWarn=le(a)?!a:a},get silentFallbackWarn(){return le(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(a){r.fallbackWarn=le(a)?!a:a},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(a){r.fallbackFormat=a},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(a){r.setPostTranslationHandler(a)},get sync(){return r.inheritLocale},set sync(a){r.inheritLocale=a},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){r.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(a){r.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...a){const[i,l,f]=a,c={};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:be(l)?u=l:ne(l)&&(h=l),be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},rt(...a){return Reflect.apply(r.rt,r,[...a])},tc(...a){const[i,l,f]=a,c={plural:1};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:Se(l)?c.plural=l:be(l)?u=l:ne(l)&&(h=l),V(f)?c.locale=f:be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},te(a,i){return r.te(a,i)},tm(a){return r.tm(a)},getLocaleMessage(a){return r.getLocaleMessage(a)},setLocaleMessage(a,i){r.setLocaleMessage(a,i)},mergeLocaleMessage(a,i){r.mergeLocaleMessage(a,i)},d(...a){return Reflect.apply(r.d,r,[...a])},getDateTimeFormat(a){return r.getDateTimeFormat(a)},setDateTimeFormat(a,i){r.setDateTimeFormat(a,i)},mergeDateTimeFormat(a,i){r.mergeDateTimeFormat(a,i)},n(...a){return Reflect.apply(r.n,r,[...a])},getNumberFormat(a){return r.getNumberFormat(a)},setNumberFormat(a,i){r.setNumberFormat(a,i)},mergeNumberFormat(a,i){r.mergeNumberFormat(a,i)},getChoiceIndex(a,i){return-1}};return o.__extender=n,o}}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Lh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===es?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function _0(e){return es}const Rh=rt({name:"i18n-t",props:ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Se(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Pa({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(r).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=V(e.plural)?+e.plural:e.plural);const l=Lh(t,a),f=o[Qn](e.keypath,l,i),c=ke({},n),u=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(u,c,f)}}}),wi=Rh;function Nh(e){return be(e)&&!V(e[0])}function y0(e,t,r,n){const{slots:o,attrs:a}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),V(e.format)?i.key=e.format:xe(e.format)&&(V(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((s,d)=>r.includes(d)?ke({},s,{[d]:e.format[d]}):s,{}));const f=n(e.value,i,l);let c=[i.key];be(f)?c=f.map((s,d)=>{const x=o[s.type],p=x?x({[s.type]:s.value,index:d,parts:f}):[s.value];return Nh(p)&&(p[0].key=`${s.type}-${d}`),p}):V(f)&&(c=[f]);const u=ke({},a),h=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(h,u,c)}}const Oh=rt({name:"i18n-n",props:ke({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,p0,(...n)=>r[Zn](...n))}}),Ai=Oh,Mh=rt({name:"i18n-d",props:ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,x0,(...n)=>r[Jn](...n))}}),Si=Mh;function Uh(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Hh(e){const t=i=>{const{instance:l,modifiers:f,value:c}=i;if(!l||!l.$)throw Fe(De.UNEXPECTED_ERROR);const u=Uh(e,l.$),h=Di(c);return[Reflect.apply(u.t,u,[...Bi(h)]),u]};return{created:(i,l)=>{const[f,c]=t(l);xr&&e.global===c&&(i.__i18nWatcher=St(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=f},unmounted:i=>{xr&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const f=i.__composer,c=Di(l);i.textContent=Reflect.apply(f.t,f,[...Bi(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Di(e){if(V(e))return{path:e};if(ne(e)){if(!("path"in e))throw Fe(De.REQUIRED_VALUE,"path");return e}else throw Fe(De.INVALID_VALUE)}function Bi(e){const{path:t,locale:r,args:n,choice:o,plural:a}=e,i={},l=n||{};return V(r)&&(i.locale=r),Se(o)&&(i.plural=o),Se(a)&&(i.plural=a),[t,l,i]}function Wh(e,t,...r){const n=ne(r[0])?r[0]:{},o=!!n.useI18nComponentName;(le(n.globalInstall)?n.globalInstall:!0)&&([o?"i18n":wi.name,"I18nT"].forEach(i=>e.component(i,wi)),[Ai.name,"I18nN"].forEach(i=>e.component(i,Ai)),[Si.name,"I18nD"].forEach(i=>e.component(i,Si))),e.directive("t",Hh(t))}function jh(e,t,r){return{beforeCreate(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Fi(e,a);else{a.__injectWithOption=!0,a.__extender=r.__vueI18nExtend,this.$i18n=ta(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Fi(e,o);else{this.$i18n=ta({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&C0(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function Fi(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[v0](t.pluralizationRules||e.pluralizationRules);const r=Fr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Gh=ht("global-vue-i18n");function $h(e={},t){const r=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=le(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,a=new Map,[i,l]=Vh(e,r),f=ht("");function c(s){return a.get(s)||null}function u(s,d){a.set(s,d)}function h(s){a.delete(s)}{const s={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},async install(d,...x){if(d.__VUE_I18N_SYMBOL__=f,d.provide(d.__VUE_I18N_SYMBOL__,s),ne(x[0])){const E=x[0];s.__composerExtend=E.__composerExtend,s.__vueI18nExtend=E.__vueI18nExtend}let p=null;!r&&n&&(p=ex(d,s.global)),__VUE_I18N_FULL_INSTALL__&&Wh(d,s,...x),__VUE_I18N_LEGACY_API__&&r&&d.mixin(jh(l,l.__composer,s));const m=d.unmount;d.unmount=()=>{p&&p(),s.dispose(),m()}},get global(){return l},dispose(){i.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:h};return s}}function Pa(e={}){const t=$t();if(t==null)throw Fe(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Fe(De.NOT_INSTALLED);const r=qh(t),n=Kh(r),o=b0(t),a=zh(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw Fe(De.NOT_AVAILABLE_IN_LEGACY_MODE);return Jh(t,a,n,e)}if(a==="global")return C0(n,e,o),n;if(a==="parent"){let f=Yh(r,t,e.__useComponent);return f==null&&(f=n),f}const i=r;let l=i.__getInstance(t);if(l==null){const f=ke({},e);"__i18n"in o&&(f.__i18n=o.__i18n),n&&(f.__root=n),l=Ba(f),i.__composerExtend&&(l[ea]=i.__composerExtend(l)),Qh(i,t,l),i.__setInstance(t,l)}return l}function Vh(e,t,r){const n=ia();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ta(e)):n.run(()=>Ba(e));if(o==null)throw Fe(De.UNEXPECTED_ERROR);return[n,o]}}function qh(e){{const t=nt(e.isCE?Gh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Fe(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}}function zh(e,t){return Dr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Kh(e){return e.mode==="composition"?e.global:e.global.__composer}function Yh(e,t,r=!1){let n=null;const o=t.root;let a=Xh(t,r);for(;a!=null;){const i=e;if(e.mode==="composition")n=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(a);l!=null&&(n=l.__composer,r&&n&&!n[E0]&&(n=null))}if(n!=null||o===a)break;a=a.parent}return n}function Xh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Qh(e,t,r){Zi(()=>{},t),Z0(()=>{const n=r;e.__deleteInstance(t);const o=n[ea];o&&(o(),delete n[ea])},t)}function Jh(e,t,r,n={}){const o=t==="local",a=sa(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Fe(De.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=le(n.inheritLocale)?n.inheritLocale:!V(n.locale),l=Ze(!o||i?r.locale.value:V(n.locale)?n.locale:Ft),f=Ze(!o||i?r.fallbackLocale.value:V(n.fallbackLocale)||be(n.fallbackLocale)||ne(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:l.value),c=Ze(Fr(l.value,n)),u=Ze(ne(n.datetimeFormats)?n.datetimeFormats:{[l.value]:{}}),h=Ze(ne(n.numberFormats)?n.numberFormats:{[l.value]:{}}),s=o?r.missingWarn:le(n.missingWarn)||ft(n.missingWarn)?n.missingWarn:!0,d=o?r.fallbackWarn:le(n.fallbackWarn)||ft(n.fallbackWarn)?n.fallbackWarn:!0,x=o?r.fallbackRoot:le(n.fallbackRoot)?n.fallbackRoot:!0,p=!!n.fallbackFormat,m=Ee(n.missing)?n.missing:null,E=Ee(n.postTranslation)?n.postTranslation:null,g=o?r.warnHtmlMessage:le(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=o?r.modifiers:ne(n.modifiers)?n.modifiers:{},y=n.pluralRules||o&&r.pluralRules;function _(){return[l.value,f.value,c.value,u.value,h.value]}const A=ve({get:()=>a.value?a.value.locale.value:l.value,set:C=>{a.value&&(a.value.locale.value=C),l.value=C}}),D=ve({get:()=>a.value?a.value.fallbackLocale.value:f.value,set:C=>{a.value&&(a.value.fallbackLocale.value=C),f.value=C}}),B=ve(()=>a.value?a.value.messages.value:c.value),S=ve(()=>u.value),P=ve(()=>h.value);function k(){return a.value?a.value.getPostTranslationHandler():E}function I(C){a.value&&a.value.setPostTranslationHandler(C)}function K(){return a.value?a.value.getMissingHandler():m}function Y(C){a.value&&a.value.setMissingHandler(C)}function q(C){return _(),C()}function se(...C){return a.value?q(()=>Reflect.apply(a.value.t,null,[...C])):q(()=>"")}function oe(...C){return a.value?Reflect.apply(a.value.rt,null,[...C]):""}function ce(...C){return a.value?q(()=>Reflect.apply(a.value.d,null,[...C])):q(()=>"")}function ae(...C){return a.value?q(()=>Reflect.apply(a.value.n,null,[...C])):q(()=>"")}function L(C){return a.value?a.value.tm(C):{}}function U(C,F){return a.value?a.value.te(C,F):!1}function W(C){return a.value?a.value.getLocaleMessage(C):{}}function N(C,F){a.value&&(a.value.setLocaleMessage(C,F),c.value[C]=F)}function ue(C,F){a.value&&a.value.mergeLocaleMessage(C,F)}function te(C){return a.value?a.value.getDateTimeFormat(C):{}}function T(C,F){a.value&&(a.value.setDateTimeFormat(C,F),u.value[C]=F)}function O(C,F){a.value&&a.value.mergeDateTimeFormat(C,F)}function $(C){return a.value?a.value.getNumberFormat(C):{}}function z(C,F){a.value&&(a.value.setNumberFormat(C,F),h.value[C]=F)}function ie(C,F){a.value&&a.value.mergeNumberFormat(C,F)}const ee={get id(){return a.value?a.value.id:-1},locale:A,fallbackLocale:D,messages:B,datetimeFormats:S,numberFormats:P,get inheritLocale(){return a.value?a.value.inheritLocale:i},set inheritLocale(C){a.value&&(a.value.inheritLocale=C)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:y},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:s},set missingWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackWarn(){return a.value?a.value.fallbackWarn:d},set fallbackWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackRoot(){return a.value?a.value.fallbackRoot:x},set fallbackRoot(C){a.value&&(a.value.fallbackRoot=C)},get fallbackFormat(){return a.value?a.value.fallbackFormat:p},set fallbackFormat(C){a.value&&(a.value.fallbackFormat=C)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:g},set warnHtmlMessage(C){a.value&&(a.value.warnHtmlMessage=C)},get escapeParameter(){return a.value?a.value.escapeParameter:v},set escapeParameter(C){a.value&&(a.value.escapeParameter=C)},t:se,getPostTranslationHandler:k,setPostTranslationHandler:I,getMissingHandler:K,setMissingHandler:Y,rt:oe,d:ce,n:ae,tm:L,te:U,getLocaleMessage:W,setLocaleMessage:N,mergeLocaleMessage:ue,getDateTimeFormat:te,setDateTimeFormat:T,mergeDateTimeFormat:O,getNumberFormat:$,setNumberFormat:z,mergeNumberFormat:ie};function w(C){C.locale.value=l.value,C.fallbackLocale.value=f.value,Object.keys(c.value).forEach(F=>{C.mergeLocaleMessage(F,c.value[F])}),Object.keys(u.value).forEach(F=>{C.mergeDateTimeFormat(F,u.value[F])}),Object.keys(h.value).forEach(F=>{C.mergeNumberFormat(F,h.value[F])}),C.escapeParameter=v,C.fallbackFormat=p,C.fallbackRoot=x,C.fallbackWarn=d,C.missingWarn=s,C.warnHtmlMessage=g}return ec(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Fe(De.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=C.locale.value,f.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,h.value=C.numberFormats.value):o&&w(C)}),ee}const Zh=["locale","fallbackLocale","availableLocales"],Pi=["t","rt","d","n","tm","te"];function ex(e,t){const r=Object.create(null);return Zh.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw Fe(De.UNEXPECTED_ERROR);const i=Gt(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,Pi.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw Fe(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Pi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Ph();__INTLIFY_JIT_COMPILATION__?li(wh):li(yh);mh(Qd);gh(a0);if(__INTLIFY_PROD_DEVTOOLS__){const e=et();e.__INTLIFY__=!0,ih(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const tx="en",rx={add:"Add",addSuccess:"Add Success",edit:"Edit",editSuccess:"Edit Success",delete:"Delete",deleteSuccess:"Delete Success",save:"Save",saveSuccess:"Save Success",reset:"Reset",action:"Action",export:"Export",exportSuccess:"Export Success",import:"Import",importSuccess:"Import Success",clear:"Clear",clearSuccess:"Clear Success",yes:"Yes",no:"No",update:"Update",download:"Download",noData:"No Data",wrong:"Something went wrong, please try again later.",success:"Success",failed:"Failed",verify:"Verify",unauthorizedTips:"Unauthorized, please verify first.",confirm:"Confirm",cancel:"Cancel"},nx={newChatButton:"New Chat",placeholder:"Ask me anything...(Shift + Enter = line break)",placeholderMobile:"Ask me anything...",copy:"Copy",copied:"Copied",copyCode:"Copy Code",clearChat:"Clear Chat",clearChatConfirm:"Are you sure to clear this chat?",exportImage:"Export Image",exportImageConfirm:"Are you sure to export this chat to png?",exportSuccess:"Export Success",exportFailed:"Export Failed",usingContext:"Context Mode",turnOnContext:"In the current mode, sending messages will carry previous chat records.",turnOffContext:"In the current mode, sending messages will not carry previous chat records.",deleteMessage:"Delete Message",deleteMessageConfirm:"Are you sure to delete this message?",deleteHistoryConfirm:"Are you sure to clear this history?",clearHistoryConfirm:"Are you sure to clear chat history?",preview:"Preview",showRawText:"Show as raw text",size:"Size:",generatedContentDisclaimer:"AI can make mistakes. Consider checking important information. All rights reserved ©",square1:"Square [1:1]",illustration:"Illustration [4:3]",wallpaper:"Wallpaper [16:9]",media:"Media [3:4]",poster:"Poster [9:16]",square:"Square",landscape:"Landscape",portrait:"Portrait",chatDialogue:"Chat Dialogue",startNewConversationPrompt:"Click the button below to start a new conversation",newConversation:"New Conversation",networkModeEnabledContextInvalid:"Network mode enabled, context invalidated!",networkModeDisabled:"Network mode disabled!",pointsMall:"Points Mall",toggleTheme:"Toggle Theme",signInReward:"Sign-In Reward",networkMode:"Network Mode",searchHistoryConversations:"Search History Conversations",announcement:"Announcement",clear:"Clear",remaining:"",ordinaryPoints:"Ordinary Points",advancedPoints:"Advanced Points",drawingPoints:"Drawing Points",points:"Points",clearConversation:"Clear Conversation",clearAllNonFavoriteConversations:"Clear all non-favorite conversations?",more:"More",collapse:"Collapse",myApps:"My Apps",appSquare:"App Square",favorites:"Favorites",todayConversations:"Today",Conversations:"",historyConversations:"History",favoriteConversations:"Favorite",unfavorite:"Unfavorite",rename:"Rename",deleteConversation:"Delete",me:"You",onlineSearch:"Online Search",mindMap:"Mind Map",fileAnalysis:"File Analysis",delete:"Delete",regenerate:"Regenerate",pause:"Pause",loading:"Loading...",readAloud:"Read Aloud",U1:"🔍 U1",U2:"🔍 U2",U3:"🔍 U3",U4:"🔍 U4",V1:"🪄 V1",V2:"🪄 V2",V3:"🪄 V3",V4:"🪄 V4",panLeft:"⬅️ Pan Left",panRight:"➡️ Pan Right",panUp:"⬆️ Pan Up",panDown:"⬇️ Pan Down",zoomIn15x:"↔️ Zoom 1.5x",zoomIn2x:"↔️ Zoom 2x",minorTransform:"Vary(Subtle)",strongTransform:"Vary(Strong)",enlargeImage:"Enlarge image {order}",transformImage:"Transform image {order}",expandDrawing:"Expand drawing",advancedTransform:"Advanced transform",translateImage:"Translate image",enlargeImagePrefix:"Enlarge image ",enlargeImageSuffix:"",transformImagePrefix:"Transform image ",transformImageSuffix:"",imageToImage:"Image to Image",faceConsistency:"Face Consistency",styleConsistency:"Style Consistency",selectAppOrTopic:"Select an application or topic for quick conversation"},ax={sampleTemplate:"Sample Template",exploreInfinitePossibilities:"Explore infinite possibilities, create a smart future with AI",searchAppNameQuickFind:"Search app names, quick find applications...",allCategories:"All Categories",noModelConfigured:"No specific application model has been configured by the administrator, please contact them to set it up~"},ox={setting:"Setting",general:"General",advanced:"Advanced",config:"Config",avatarLink:"Avatar Link",name:"Name",description:"Description",role:"Role",resetUserInfo:"Reset UserInfo",chatHistory:"ChatHistory",theme:"Theme",language:"Language",api:"API",reverseProxy:"Reverse Proxy",timeout:"Timeout",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API Balance",sign:"Signature"},ix={siderButton:"Prompt Store",local:"Local",online:"Online",title:"Title",description:"Description",clearStoreConfirm:"Whether to clear the data?",importPlaceholder:"Please paste the JSON data here",addRepeatTitleTips:"Title duplicate, please re-enter",addRepeatContentTips:"Content duplicate: {msg}, please re-enter",editRepeatTitleTips:"Title conflict, please revise",editRepeatContentTips:"Content conflict {msg} , please re-modify",importError:"Key value mismatch",importRepeatTitle:"Title repeatedly skipped: {msg}",importRepeatContent:"Content is repeatedly skipped: {msg}",onlineImportWarning:"Note: Please check the JSON file source!",downloadError:"Please check the network status and JSON file validity"},sx={use:"Use",download:"Download",delete:"Delete",zoom:"Zoom:",U1:"U1",U2:"U2",U3:"U3",U4:"U4",regenerateOnce:"Regenerate",transform:"Transform:",V1:"V1",V2:"V2",V3:"V3",V4:"V4",pan:"Pan:",panLeft:"⬅️",panRight:"➡️",panUp:"⬆️",panDown:"⬇️",transformZoom:"Zoom Transform",zoom1_5x:"Zoom 1.5x",zoom2x:"Zoom 2x",minorTransform:"Minor Transform",strongTransform:"Strong Transform",regionalRedraw:"Regional Redraw",regionalRedraw1:"Regional Redraw (Select the Area to Change)",submitTask:"Submit Task",selectSuiteForZoom:"Action: Select a suite to zoom",selectSuiteForTransform:"Action: Select a suite for transformation",regeneratingImage:"Action: Regenerating the image",drawingInProgress:"Action: Rapid drawing in progress...",tryDifferentPrompt:"Execute: Try a different prompt!",statusWaiting:"Waiting",statusDrawing:"Drawing",statusSuccess:"Success",statusFailure:"Failure",statusTimeout:"Timeout",downloadImageTitle:"Download Image",downloadImageContent:"Download the current image",downloadButtonText:"Download",cancelButtonText:"Cancel",deleteRecordTitle:"Delete Record",deleteRecordContent:"Delete the current drawing record?",deleteButtonText:"Delete",submitZoomDrawingSuccess:"Zoom drawing task submitted successfully, please wait for it to finish!",submitRedrawSuccess:"Redraw task submitted successfully, please wait for it to finish!",submitTransformDrawingSuccess:"Transform drawing task submitted successfully, please wait for it to finish!",submitEnlargeDrawingSuccess:"Enlarge drawing task submitted successfully, please wait for it to finish!",submitAdvancedTransformDrawingSuccess:"Advanced transform drawing task submitted successfully, please wait for it to finish!",submitRegionalRedrawSuccess:"Regional redraw task submitted successfully, please wait for it to finish!",drawingRecordDeleted:"Drawing record has been deleted!",queueing:"Queueing...",drawing:"Drawing...",storing:"Storing image...",drawingFailed:"Drawing Failed",pointsRefunded:"Points Refunded!",submitDrawingTaskSuccess:"Drawing task submitted successfully, please wait for it to finish!",defaultStyle:"Default Style",expressiveStyle:"Expressive Style",cuteStyle:"Cute Style",scenicStyle:"Scenic Style",standardQuality:"Standard",generalQuality:"General",highDefinitionQuality:"High Definition",ultraHighDefinitionQuality:"Ultra High Definition",enterDescription:"Please enter descriptive words!",optimizationFailed:"Optimization failed!",professionalDrawing:"Professional Drawing",parameterExplanation:"Parameter Explanation: Generate image size ratio",imageSize:"Image Size",modelSelection:"Model Selection",tooltipMJ:"MJ: General-purpose realistic model",tooltipNIJI:"NIJI: Anime style, suitable for 2D models",version:"Version",style:"Style",parameters:"Parameters",parametersTooltip:"Use parameters wisely to achieve more ideal results!",quality:"Quality",chaos:"Chaos",chaosDescription:"Value range: 0-100, --chaos or --c",chaosExplanation:"Chaos level, can be understood as the space for AI to think outside the box",chaosAdvice:"The smaller the value, the more reliable, with the default of 0 being the most precise",stylization:"Stylization",stylizationDescription:"Stylization: --stylize or --s, range 1-1000",parameterExplanation1:"Parameter explanation: The higher the number, the richer and more artistic the visual presentation",setting:"Setting",carryParameters:"Carry Parameters",autoCarryParameters:"Whether to automatically carry parameters",carryOn:"On: Carries the parameters we have configured",carryOff:"Off: Uses the parameters we customize in the command",imageToImage:"Image to Image",clickOrDrag:"Click or drag an image here to use as input",supportFormats:"Supports PNG and JPG formats",remainingPoints:"Remaining Points",refresh:"Refresh",accountInfo:"Account Information",points:"Points",paintingSingleUse:"Painting:",imageGenerationSingleUse:"Generation:",enlargementSingleUse:"Enlargement:",submitDrawingTask:"Enter keywords, submit drawing task",optimize:"Optimize",enterDrawingKeywords:"Enter drawing keywords. For example: A colorful cat, cute, cartoon",unnecessaryElements:"Unnecessary Elements",exclusionPrompt:"Example: Generate a room image, but exclude the bed, you can fill in 'bed'!",workingContents:"Working Contents",currentTasks:"Current tasks in progress",goToAIDrawingSquare:"Click to go to the AI Drawing Square",tasksInProgress:"tasks are currently in progress. Please wait patiently for the drawing to complete. You can visit other pages and return later to see the results!",myDrawings:"My Drawings",aiDrawingSquare:"AI Drawing Square",sizeAdjustment:"Size Adjustment",keywordSearchPlaceholder:"Prompt Keyword Search"},cx={membershipMarket:"Membership Market",sizeAdjustment:"Size Adjustment",memberPackage:"Limited Time Member Package",permanentAddOnCard:"Permanent Add-On Card",baseModelQuota:"Base Model Quota",advancedModelQuota:"Advanced Model Quota",MJDrawingQuota:"MJ Drawing Quota",packageValidity:"Package Validity",days:"days",permanent:"Permanent",points:"Points",welcomeTipMobile:"Explore freely, welcome to our online store!",welcomeTipDesktop:"Explore freely, welcome to our online store, thank you for choosing us, let's start a delightful shopping journey together!",paymentNotEnabled:"Payment has not been enabled by the admin!",purchaseSuccess:"Purchase successful, enjoy your product!",paymentNotComplete:"You have not completed the payment yet!",wechat:"WeChat",alipay:"Alipay",wechatPay:"WeChat Pay",alipayPay:"Alipay Pay",paymentSuccess:"Congratulations, your payment was successful. Enjoy your purchase!",paymentTimeout:"Payment timeout, please place your order again!",productPayment:"Product Payment",amountDue:"Amount Due:",packageName:"Package Name:",packageDescription:"Package Description:",siteAdminEnabledRedirect:"The site administrator has enabled redirect payment",clickToPay:"Click to Proceed to Payment",completePaymentWithin:"Please complete the payment within",timeToCompletePayment:"!",open:"Open",scanToPay:"Scan to Pay"},lx={title:"Mind Map",yourNeeds:"Your Needs?",inputPlaceholder:"Please enter a brief description of the content you want to generate, AI will produce a complete markdown content and its mind map for you!",generateMindMapButton:"Generate Mind Map",contentRequirements:"Content Requirements",tryDemoButton:"Try a Demo",usageCredits:"Base credits per use: 1",exportHTML:"Export HTML",exportPNG:"Export PNG",exportSVG:"Export SVG"},ux={defaultSignature:"I am an AI robot based on deep learning and natural language processing technologies, aimed at providing users with efficient, accurate, and personalized intelligent services.",syncComplete:"Data synchronization completed",personalCenter:"Personal Center",logOut:"Log Out",myUsageRecord:"My Usage Record on This Site",basicModelCredits:"Basic Model Credits:",advancedModelCredits:"Advanced Model Credits:",basicModelUsage:"Basic Model Usage:",advancedModelUsage:"Advanced Model Usage:",drawingUsageCredits:"Drawing Usage Credits:",bindWeChat:"Bind WeChat:",clickToBindWeChat:"Click to Bind WeChat",weChatBound:"WeChat Bound",syncVisitorData:"Click to Sync Visitor Data",points:"Points",membershipExpiration:"Membership Expiration Date:",editInfoDescription:"Edit personal information, view more details",myDetails:"My Details",myWallet:"My Wallet",basicInfo:"Basic Information",userBasicSettings:"User Basic Settings",avatarPlaceholder:"Please enter your avatar URL",usernamePlaceholder:"Edit your username",signaturePlaceholder:"Edit your signature",passwordManagement:"Password Management",inviteBenefits:"Invite for Benefits",clickToLogin:"Log In",notLoggedIn:"Not Logged In",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",inviteTime:"Invite Time",rewardStatus:"Reward Status",certified:"Certified",notActivated:"Not Activated",rewardReceived:"Reward Received",waitingConfirmation:"Waiting for Confirmation",linkGeneratedSuccess:"Invitation link generated successfully",generateLinkFirst:"Please generate your exclusive invitation link first!",linkCopiedSuccess:"Exclusive invitation link copied successfully!",copyNotSupported:"Automatic copying is not supported on this device, please copy manually!",inviteForBenefits:"Invite Users, Earn Benefits!",myInviteCode:"My Invitation Code",generateInviteCode:"Generate Exclusive Invite Code",copyInviteLink:"Copy Exclusive Invite Link",inviteOneUser:"Inviting a user grants",basicModelCredits1:"basic model credits+",advancedModelCredits1:"advanced model credits+",mjDrawingCredits:"MJ drawing credits",receiveInvitation:"Invited users receive",creditsEnd:"credits",invitationRecord:"Invitation Record",passwordMinLength:"The minimum password length is 6 characters",passwordMaxLength:"The maximum password length is 30 characters",enterPassword:"Please enter a password",reenterPassword:"Please re-enter your password",passwordsNotMatch:"The passwords do not match",passwordUpdateSuccess:"Password updated successfully, please log in again!",changeYourPassword:"Change Your Password",oldPassword:"Old Password",newPassword:"New Password",confirmPassword:"Confirm Password",reloginAfterPasswordChange:"You will need to log in again after updating your password!",updateYourPassword:"Update Your Password",passwordRequirements:"Password Requirements",newPasswordInstructions:"To create a new password, you must meet all the following requirements:",minimumCharacters:"At least 6 characters",maximumCharacters:"No more than 30 characters",requireNumber:"Must contain at least one number",orderNumber:"Order Number",rechargeType:"Recharge Type",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",mjDrawingQuota:"MJ Drawing Quota",validity:"Validity",rechargeTime:"Recharge Time",enterCardSecret:"Please enter the card secret first!",cardRedeemSuccess:"Card redeemed successfully, enjoy your use!",userWalletBalance:"User Wallet Balance",basicModelBalance:"Basic Model Balance",creditUsageNote:"Each conversation consumes different credits depending on the model!",advancedModelBalance:"Advanced Model Balance",modelConsumptionNote:"Each conversation consumes different credits depending on the model!",mjDrawingBalance:"MJ Drawing Balance",drawingConsumptionNote:"Different credits are consumed based on drawing actions!",cardRecharge:"Card Recharge",enterCardDetails:"Please paste or enter your card details!",exchange:"Exchange",buyCardSecret:"Buy Card Secret",rechargeRecords:"Recharge Records",packagePurchase:"Package Purchase",buyPackage:"Buy Package"},fx={signInReward:"Sign-in Reward",themeSwitch:"Theme Switch",personalCenter:"Personal Center",loginAccount:"Log In Account"},dx={doNotRemind24h:"Do not remind again for 24 hours"},hx={enterUsername:"Please enter your username",usernameLength:"Username must be between 2 and 30 characters",enterPassword:"Please enter your password",passwordLength:"Password must be between 6 and 30 characters",enterEmail:"Please enter your email address",emailValid:"Please enter a valid email address",enterCaptcha:"Please enter the captcha",emailPhone:"Email / Phone",email:"Email",phone:"Phone",registrationSuccess:"Account registration successful, start your experience!",loginSuccess:"Account login successful, start your experience!",registerTitle:"Register",enterContact:"Please provide your ",enterCode:"Please enter the verification code",sendVerificationCode:"Send Verification Code",optionalInvitationCode:"Invitation Code [Optional]",registerAccount:"Register Account",alreadyHaveAccount:"Already have an account?",goToLogin:"Go to Login",password:"Password",enterYourPassword:"Please enter your password",rememberAccount:"Remember account",forgotPassword:"Forgot password?",loginAccount:"Log In Account",noAccount:"Don’t have an account?",register:"Register",orUse:"or use",scanLogin:"Scan to Log In",wechatLogin:"WeChat Login",wechatScanFailed:"Failed WeChat QR code login? Use",useWechatScan:"Use WeChat to Scan and Log In"},xx={orderAmount:"Order Amount",productType:"Product Type",status:"Status",commissionRate:"Commission Rate",commission:"Commission",orderTime:"Order Time",purchasePackage:"Purchase Package",accounted:"Accounted",generateInviteCodeSuccess:"Invitation code generated successfully",withdrawalTime:"Withdrawal Time",withdrawalAmount:"Withdrawal Amount",withdrawalChannel:"Withdrawal Channel",withdrawalStatus:"Withdrawal Status",withdrawalRemarks:"Withdrawal Remarks",auditor:"Auditor",alipay:"Alipay",wechat:"WeChat",paid:"Paid",rejected:"Rejected",inReview:"In Review",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",registered:"Registered",pendingActivation:"Pending Activation",registrationTime:"Registration Time",lastLogin:"Last Login",requestInviteCodeFirst:"Please request your invitation code first",linkCopiedSuccess:"Share link copied successfully",title:"Referral Program",description:"Join us and share in success! Welcome to our distribution page, become our partner and create a bright future together!",defaultSalesOutletName:"Rookie Referral Officer",myReferrals:"My Referrals",currencyUnit:"Yuan",remainingAmount:"Remaining Withdrawable Amount",withdrawingAmount:"Amount in Withdrawal",withdrawNow:"Withdraw Now",minimumWithdrawalPrefix:"Minimum",minimumWithdrawalSuffix:"Yuan Withdrawable",purchaseOrderCount:"Purchase Order Count",promotionLinkVisits:"Promotion Link Visits",registeredUsers:"Registered Users",referralEarnings:"Referral Earnings",referralEarningsDescription:"Commission amount returned after referred users register and buy products",percentage:"Percentage",applyForAdvancedAgent:"Apply to Become an Advanced Agent",contactAdminForAdvancedAgent:"Contact the site owner to apply for an advanced agent to enjoy high commissions",joinAsPartner:"Join Us as a Partner",partnerDescription:"Join us as a partner to co-operate the community, win-win cooperation!",winTogether:"Win Together, Advance Together",referralLink:"Referral Link:",apply:"Apply",referralRecordsTab:"Referral Records",withdrawalRecordsTab:"Withdrawal Records",registeredUsersTab:"Registered Users",inviteFriends:"Invite friends, gift meal cards, and enjoy recharge commissions!",inviteLink:"Invite Link",copy:"Copy",inviteBenefits1:"Both parties enjoy a certain amount of permanent card rewards when inviting friends.",inviteBenefits2Prefix:"Earn a ",inviteBenefits2Suffix:"% commission on your friend's recharge amount.",enterWithdrawalAmount:"Please enter your withdrawal amount!",selectWithdrawalChannel:"Please select your withdrawal channel!",enterContactInfo:"Please provide your contact information and remark!",optionalRemark:"If there are any special circumstances, please remark!",withdrawalSuccess:"Withdrawal application successful, please wait for approval!",withdrawalApplicationForm:"Withdrawal Application Form",contactInformation:"Contact Information",withdrawalRemark:"Withdrawal Remark",enterWithdrawalRemark:"Please enter your withdrawal remarks",applyWithdrawal:"Apply for Withdrawal"},px={purchaseSuccess:"Purchase successful, enjoy your item!",paymentNotSuccessful:"You have not completed the payment yet!",orderConfirmationTitle:"Order Confirmation",orderConfirmationContent:"Welcome to purchase, are you sure you want to buy ",thinkAgain:"Let me think again",confirmPurchase:"Confirm Purchase",paymentNotEnabled:"Payment has not been enabled by the administrator!",selectProducts:"Select Products",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",drawingQuota:"Drawing Quota",buyPackage:"Buy Package"},mx={1:"Registration Bonus",2:"Invitation Bonus",3:"Referring Others Bonus",4:"Purchase via Card Code",5:"Admin Bonus",6:"QR Code Purchase",7:"MJ Drawing Failure Refund",8:"Sign-in Reward"},gx={0:"Not Paid",1:"Paid",2:"Payment Failed",3:"Payment Timeout"},vx={logoutSuccess:"Successfully logged out!"},Ex={language:tx,common:rx,chat:nx,app:ax,setting:ox,store:ix,draw:sx,pay:cx,mindmap:lx,usercenter:ux,siderBar:fx,notice:dx,login:hx,share:xx,goods:px,rechargeTypes:mx,orderStatus:gx,messages:vx},bx="中文",Cx={add:"添加",addSuccess:"添加成功",edit:"编辑",editSuccess:"编辑成功",delete:"删除",deleteSuccess:"删除成功",update:"修改",saveSuccess:"保存成功",updateUserSuccess:"修改用户信息成功",reset:"重置",action:"操作",export:"导出",exportSuccess:"导出成功",import:"导入",importSuccess:"导入成功",clear:"清空",clearSuccess:"清空成功",yes:"是",no:"否",download:"下载",noData:"暂无数据",wrong:"好像出错了,请稍后再试。",success:"操作成功",failed:"操作失败",verify:"验证",unauthorizedTips:"未经授权,请先进行验证。",confirm:"确认",cancel:"取消"},_x={newChatButton:"新建聊天",placeholder:"来说点什么吧...(Shift + Enter = 换行)",placeholderMobile:"来说点什么...",copy:"复制",copied:"复制成功",copyCode:"复制代码",clearChat:"清空会话",clearChatConfirm:"是否清空会话?",exportImage:"保存会话到图片",exportImageConfirm:"是否将会话保存为图片?",exportSuccess:"保存成功",exportFailed:"保存失败",usingContext:"上下文模式",turnOnContext:"当前模式下, 发送消息会携带之前的聊天记录",turnOffContext:"当前模式下, 发送消息不会携带之前的聊天记录",deleteMessage:"删除消息",deleteMessageConfirm:"删除此条对话?",deleteHistoryConfirm:"确定删除此记录?",clearHistoryConfirm:"确定清空聊天记录?",preview:"预览",showRawText:"显示原文",size:"尺寸:",generatedContentDisclaimer:"AI 生成内容仅供参考,不代表本平台立场。版权所有 ©",square1:"方形(1:1)",illustration:"配图(4:3)",wallpaper:"壁纸(16:9)",media:"媒体(3:4)",poster:"海报(9:16)",square:"方形",landscape:"宽屏",portrait:"垂直",chatDialogue:"对话聊天",startNewConversationPrompt:"点击下方按钮,开始一个新的对话吧",newConversation:"新对话",networkModeEnabledContextInvalid:"已开启联网模式、上下文状态失效!",networkModeDisabled:"已关闭联网模式!",pointsMall:"积分商城",toggleTheme:"切换主题",signInReward:"签到奖励",networkMode:"联网模式",searchHistoryConversations:"搜索历史对话",announcement:"网站公告",clear:"清空对话",remaining:"剩余:",ordinaryPoints:"普通积分",advancedPoints:"高级积分",drawingPoints:"绘画积分",points:"积分",clearConversation:"清空对话",clearAllNonFavoriteConversations:"清空所有非收藏的对话?",more:"更多",collapse:"折叠",myApps:"我的应用",appSquare:"应用广场",favorites:"收藏",todayConversations:"今日对话",historyConversations:"历史对话",favoriteConversations:"收藏对话",unfavorite:"取消收藏",rename:"重命名",deleteConversation:"删除对话",me:"我",onlineSearch:"联网搜索",mindMap:"思维导图",fileAnalysis:"文件分析",delete:"删除",regenerate:"重新生成",pause:"暂停",loading:"加载中...",readAloud:"朗读",U1:"🔍 放大左上",U2:"🔍 放大右上",U3:"🔍 放大左下",U4:"🔍 放大右下",V1:"🪄 变换左上",V2:"🪄 变换右上",V3:"🪄 变换左下",V4:"🪄 变换右下",panLeft:"⬅️ 向左平移",panRight:"➡️ 向右平移",panUp:"⬆️ 向上平移",panDown:"⬇️ 向下平移",zoomIn15x:"↔️ 扩图1.5倍",zoomIn2x:"↔️ 扩图2倍",minorTransform:"🖌️ 微变换",strongTransform:"🖌️ 强变换",enlargeImagePrefix:"放大第",enlargeImageSuffix:"张图片",transformImagePrefix:"变换第",transformImageSuffix:"张图片",expandDrawing:"扩图绘制",advancedTransform:"高级变换",translateImage:"平移图片",imageToImage:"以图生图",faceConsistency:"人脸一致",styleConsistency:"风格一致",selectAppOrTopic:"选择应用或话题快速对话"},yx={sampleTemplate:"示例模板",exploreInfinitePossibilities:"探索无限可能,与 AI 一同开创智慧未来",searchAppNameQuickFind:"搜索应用名称、快速查找应用...",allCategories:"全部分类",noModelConfigured:"管理员未配置特定应用模型、请联系管理员配置~"},Ax={setting:"设置",general:"总览",advanced:"高级",personalInfo:"个人信息",avatarLink:"头像链接",name:"用户名称",sign:"用户签名",role:"角色设定",resetUserInfo:"重置用户信息",chatHistory:"聊天记录",theme:"主题",language:"语言",api:"API",reverseProxy:"反向代理",timeout:"超时",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余额"},Sx={siderButton:"提示词商店",local:"本地",online:"在线",title:"标题",description:"描述",clearStoreConfirm:"是否清空数据?",importPlaceholder:"请粘贴 JSON 数据到此处",addRepeatTitleTips:"标题重复,请重新输入",addRepeatContentTips:"内容重复:{msg},请重新输入",editRepeatTitleTips:"标题冲突,请重新修改",editRepeatContentTips:"内容冲突{msg} ,请重新修改",importError:"键值不匹配",importRepeatTitle:"标题重复跳过:{msg}",importRepeatContent:"内容重复跳过:{msg}",onlineImportWarning:"注意:请检查 JSON 文件来源!",downloadError:"请检查网络状态与 JSON 文件有效性"},Dx={use:"使用",download:"下载",delete:"删除",zoom:"放大:",U1:"左上",U2:"右上",U3:"左下",U4:"右下",regenerateOnce:"重新生成一次",transform:"变换:",V1:"左上",V2:"右上",V3:"左下",V4:"右下",pan:"平移:",panLeft:"向左",panRight:"向右",panUp:"向上",panDown:"向下",transformZoom:"扩图变换:",zoom1_5x:"扩图1.5倍",zoom2x:"扩图2倍",minorTransform:"微变换",strongTransform:"强变换",regionalRedraw:"区域重绘",regionalRedraw1:"区域重绘(框选要改变的区域)",submitTask:"提交任务",selectSuiteForZoom:"操作:选中套图进行放大",selectSuiteForTransform:"操作:选中套图进行变换",regeneratingImage:"操作:正在对图片重新生成一次",drawingInProgress:"操作:正在火速绘制中...",tryDifferentPrompt:"执行:换个提示词重新试试吧!",statusWaiting:"等待中",statusDrawing:"绘制中",statusSuccess:"成功",statusFailure:"失败",statusTimeout:"超时",downloadImageTitle:"下载图片",downloadImageContent:"下载当前图片",downloadButtonText:"下载",cancelButtonText:"取消",deleteRecordTitle:"删除记录",deleteRecordContent:"删除当前绘制记录?",deleteButtonText:"删除",submitZoomDrawingSuccess:"提交放大绘制任务成功、请等待绘制结束!",submitRedrawSuccess:"提交重新绘制任务成功、请等待绘制结束!",submitTransformDrawingSuccess:"提交变换绘制任务成功、请等待绘制结束!",submitEnlargeDrawingSuccess:"提交扩图任务成功、请等待绘制结束!",submitAdvancedTransformDrawingSuccess:"提交高级变换绘制任务成功、请等待绘制结束!",submitRegionalRedrawSuccess:"提交区域重绘任务成功、请等待绘制结束!",drawingRecordDeleted:"绘制记录已删除!",queueing:"排队中...",drawing:"正在绘制...",storing:"图片存储中...",drawingFailed:"绘制失败",pointsRefunded:"积分已退还!",submitDrawingTaskSuccess:"提交绘制任务成功、请等待绘制结束!",defaultStyle:"默认风格",expressiveStyle:"表现力风格",cuteStyle:"可爱风格",scenicStyle:"景观风格",standardQuality:"普通",generalQuality:"一般",highDefinitionQuality:"高清",ultraHighDefinitionQuality:"超高清",enterDescription:"请输入描述词!",optimizationFailed:"优化失败了!",professionalDrawing:"专业绘图",parameterExplanation:"参数释义:生成图片尺寸比例",imageSize:"图片尺寸",modelSelection:"模型选择",tooltipMJ:"MJ: 偏真实通用模型",tooltipNIJI:"NIJI: 偏动漫风格、适用于二次元模型",version:"版本",style:"风格",parameters:"参数",parametersTooltip:"合理使用参数绘制更为理想的结果!",quality:"品质",chaos:"混乱",chaosDescription:"取值范围:0-100、 --chaos 或 --c",chaosExplanation:"混乱级别,可以理解为让AI天马行空的空间",chaosAdvice:"值越小越可靠、默认0最为精准",stylization:"风格化",stylizationDescription:"风格化:--stylize 或 --s,范围 1-1000",parameterExplanation1:"参数释义:数值越高,画面表现也会更具丰富性和艺术性",setting:"设定",carryParameters:"携带参数",autoCarryParameters:"是否自动携带参数",carryOn:"打开:携带上述我们配置的参数",carryOff:"关闭:使用指令中的我们自定义的参数",imageToImage:"以图生图",clickOrDrag:"点击或拖拽一个图片到这里作为输入",supportFormats:"支持PNG和JPG格式",remainingPoints:"剩余积分",refresh:"刷新",accountInfo:"账户信息",points:"积分",paintingSingleUse:"绘画单次消耗:",imageGenerationSingleUse:"图生图单次消耗:",enlargementSingleUse:"放大单次消耗:",submitDrawingTask:"输入关键词,提交绘制任务",optimize:"优化",enterDrawingKeywords:"输入绘图关键词。例如:一只五颜六色的猫,可爱,卡通",unnecessaryElements:"不需要的元素",exclusionPrompt:"例:生成房间图片、但是不要床、你可以填bed!",workingContents:"工作中的内容",currentTasks:"当前系统进行中任务",goToAIDrawingSquare:"点击前往 AI 绘画广场",tasksInProgress:"个任务正在进行中、请耐心等候绘制完成、您可以前往其他页面稍后回来查看结果!",myDrawings:"我的绘图",aiDrawingSquare:"AI绘画广场",sizeAdjustment:"尺寸调整",keywordSearchPlaceholder:"prompt关键词搜索"},Bx={membershipMarket:"会员商场",sizeAdjustment:"尺寸调整",memberPackage:"会员限时套餐",permanentAddOnCard:"叠加永久次卡",baseModelQuota:"普通积分",advancedModelQuota:"高级积分",MJDrawingQuota:"绘画积分",packageValidity:"套餐有效期",days:"天",permanent:"永久",points:"积分",welcomeTipMobile:"尽情探索,欢迎光临我们的在线商店!",welcomeTipDesktop:"尽情探索,欢迎光临我们的在线商店、感谢您选择我们、让我们一同开启愉悦的购物之旅!",paymentNotEnabled:"管理员还未开启支付!",purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotComplete:"您还没有支付成功哟!",wechat:"微信",alipay:"支付宝",wechatPay:"微信支付",alipayPay:"支付宝支付",paymentSuccess:"恭喜你支付成功、祝您使用愉快!",paymentTimeout:"支付超时,请重新下单!",productPayment:"商品支付",amountDue:"需要支付:",packageName:"套餐名称:",packageDescription:"套餐描述:",siteAdminEnabledRedirect:"当前站长开通了跳转支付",clickToPay:"点击前往支付",completePaymentWithin:"请在",timeToCompletePayment:"时间内完成支付!",open:"打开",scanToPay:"扫码支付"},Fx={title:"思维导图",yourNeeds:"您的需求?",inputPlaceholder:"请输入您想要生成内容的简单描述、AI将为您输出一份完整的markdown内容及其思维导图!",generateMindMapButton:"智能生成生成思维导图",contentRequirements:"内容需求",tryDemoButton:"试试示例",usageCredits:"每次使用消耗基础积分: 1",exportHTML:"导出HTML",exportPNG:"导出PNG",exportSVG:"导出SVG"},Px={defaultSignature:"我是一台基于深度学习和自然语言处理技术的 AI 机器人,旨在为用户提供高效、精准、个性化的智能服务。",syncComplete:"已同步数据完成",personalCenter:"个人中心",logOut:"退出登录",myUsageRecord:"我在本站的使用记录",basicModelCredits:"基础模型积分:",advancedModelCredits:"高级模型积分:",basicModelUsage:"基础模型使用:",advancedModelUsage:"高级模型使用:",drawingUsageCredits:"绘画使用积分:",bindWeChat:"绑定微信:",clickToBindWeChat:"点击绑定微信",weChatBound:"已绑定微信",syncVisitorData:"点击同步访客数据",points:"积分",membershipExpiration:"会员过期时间:",editInfoDescription:"编辑个人信息、查看更多详情",myDetails:"我的详情",myWallet:"我的钱包",basicInfo:"基础信息",userBasicSettings:"用户基础设置",avatarPlaceholder:"请填写头像地址",usernamePlaceholder:"请编辑您的用户名",signaturePlaceholder:"请编辑您的签名",passwordManagement:"密码管理",inviteBenefits:"邀请得福利",clickToLogin:"点击登入",notLoggedIn:"未登录",avatar:"头像",username:"用户名称",email:"用户邮箱",inviteeStatus:"受邀人状态",inviteTime:"邀请时间",rewardStatus:"获得奖励状态",certified:"已认证",notActivated:"未激活",rewardReceived:"已领取邀请奖励",waitingConfirmation:"等待受邀人确认",linkGeneratedSuccess:"生成邀请链接成功",generateLinkFirst:"请先生成您的专属邀请链接!",linkCopiedSuccess:"复制专属邀请链接成功!",copyNotSupported:"当前设置不支持自动复制、手动复制吧!",inviteForBenefits:"邀用户、得福利!",myInviteCode:"我的邀请码",generateInviteCode:"生成专属邀请码",copyInviteLink:"复制专属邀请链接",inviteOneUser:"邀请一位用户赠送",basicModelCredits1:"积分基础模型额度+",advancedModelCredits1:"积分高级模型额度+",mjDrawingCredits:"MJ绘画积分额度",receiveInvitation:"收到邀请用户获得",creditsEnd:"积分",invitationRecord:"邀请记录",passwordMinLength:"密码最短长度为6位数",passwordMaxLength:"密码最长长度为30位数",enterPassword:"请输入密码",reenterPassword:"请再次输入密码",passwordsNotMatch:"两次密码输入不一致",passwordUpdateSuccess:"密码更新成功、请重新登录系统!",changeYourPassword:"变更您的密码",oldPassword:"旧密码",newPassword:"新密码",confirmPassword:"确认密码",reloginAfterPasswordChange:"更新密码完成后将重新登录!",updateYourPassword:"更新您的密码",passwordRequirements:"密码要求",newPasswordInstructions:"要创建一个新的密码,你必须满足以下所有要求。",minimumCharacters:"最少6个字符",maximumCharacters:"最多30个字符",requireNumber:"至少带有一个数字",orderNumber:"订单编号",rechargeType:"充值类型",basicModelQuota:"普通积分",advancedModelQuota:"高级积分",mjDrawingQuota:"绘画积分",validity:"有效期",rechargeTime:"充值时间",enterCardSecret:"请先填写卡密!",cardRedeemSuccess:"卡密兑换成功、祝您使用愉快!",userWalletBalance:"用户钱包余额",basicModelBalance:"基础模型余额",creditUsageNote:"每次对话根据模型消费不同积分!",advancedModelBalance:"高级模型余额",modelConsumptionNote:"每次对话根据模型消费不同积分!",mjDrawingBalance:"MJ绘画余额",drawingConsumptionNote:"根据画图动作消耗不同的积分!",cardRecharge:"卡密充值",enterCardDetails:"请粘贴或填写您的卡密信息!",exchange:"兑换",buyCardSecret:"购买卡密",rechargeRecords:"充值记录",packagePurchase:"套餐购买",buyPackage:"购买套餐"},kx={signInReward:"签到奖励",themeSwitch:"主题切换",personalCenter:"个人中心",loginAccount:"登录账户"},Tx={doNotRemind24h:"我已知晓"},Ix={enterUsername:"请输入用户名",usernameLength:"用户名长度应为 2 到 30 个字符",enterPassword:"请输入密码",passwordLength:"密码长度应为 6 到 30 个字符",enterEmail:"请输入邮箱地址",enterPhone:"请输入手机号码",enterEmailOrPhone:"请输入邮箱地址或手机号码",emailValid:"请输入正确的邮箱地址",enterCaptcha:"请填写图形验证码",emailPhone:"邮箱 / 手机号",email:"邮箱",phone:"手机号",registrationSuccess:"账户注册成功、开始体验吧!",loginSuccess:"账户登录成功、开始体验吧!",registerTitle:"注册",enterContact:"请填写您的",enterCode:"请填写验证码",sendVerificationCode:"发送验证码",optionalInvitationCode:"邀请码[非必填]",registerAccount:"注册账户",alreadyHaveAccount:"已经有帐号?",goToLogin:"去登录",password:"密码",enterYourPassword:"请输入您的账户密码",rememberAccount:"记住帐号",forgotPassword:"忘记密码?",loginAccount:"登录账户",noAccount:"还没有帐号?",register:"去注册",orUse:"或使用",scanLogin:"扫码登录",wechatLogin:"微信登录",wechatScanFailed:"不使用微信扫码登录?试试",useWechatScan:"使用微信扫码登录"},Lx={orderAmount:"订单金额",productType:"商品类型",status:"状态",commissionRate:"佣金比例",commission:"佣金",orderTime:"订购时间",purchasePackage:"购买套餐",accounted:"已入账",generateInviteCodeSuccess:"生成邀请码成功",withdrawalTime:"提现时间",withdrawalAmount:"提现金额",withdrawalChannel:"提现渠道",withdrawalStatus:"提现状态",withdrawalRemarks:"提现备注",auditor:"审核人",alipay:"支付宝",wechat:"微信",paid:"已打款",rejected:"被拒绝",inReview:"审核中",avatar:"头像",username:"用户名",email:"邮箱",inviteeStatus:"受邀人状态",registered:"已注册",pendingActivation:"待激活",registrationTime:"注册时间",lastLogin:"最后登录",requestInviteCodeFirst:"请先申请你的邀请码",linkCopiedSuccess:"复制推荐链接成功",title:"推介计划",description:"加入我们,共享成功!欢迎来到我们的分销页面,成为我们的合作伙伴,一同开创美好未来!",defaultSalesOutletName:"新秀推荐官",myReferrals:"我的推介",currencyUnit:"元",remainingAmount:"剩余可提金额",withdrawingAmount:"提现中金额",withdrawNow:"立即提现",minimumWithdrawalPrefix:"最低",minimumWithdrawalSuffix:"元可提现",purchaseOrderCount:"购买订单数量",promotionLinkVisits:"推广链接访问次数",registeredUsers:"注册用户",referralEarnings:"推介收益",referralEarningsDescription:"推介的用户注册购买产品后返佣金额",percentage:"百分比",applyForAdvancedAgent:"申请成为高级代理",contactAdminForAdvancedAgent:"联系站长申请高级代理可享超高返佣",joinAsPartner:"加入我们成为合伙人",partnerDescription:"加入我们成为合伙人共同运营社区、合作双赢!",winTogether:"合作共赢,携手共进",referralLink:"推荐链接:",apply:"申请",referralRecordsTab:"推介记录",withdrawalRecordsTab:"提现记录",registeredUsersTab:"注册用户",inviteFriends:"邀好友、赠套餐卡密、享充值返佣!",inviteLink:"邀请链接",copy:"复制",inviteBenefits1:"邀请好友双方都可享受一定额度的永久次卡奖励",inviteBenefits2Prefix:"邀请好友充值,您可获得充值金额的",inviteBenefits2Suffix:"%返佣",enterWithdrawalAmount:"请填写你的提款金额!",selectWithdrawalChannel:"请选择你的提款渠道!",enterContactInfo:"请填写您的联系方式并备注!",optionalRemark:"如有特殊情况、请备注说明!",withdrawalSuccess:"申请提现成功、请耐心等待审核!",withdrawalApplicationForm:"提款申请表",contactInformation:"联系方式",withdrawalRemark:"提款备注",enterWithdrawalRemark:"请填写你的提款备注!",applyWithdrawal:"申 请 提 现"},Rx={purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotSuccessful:"您还没有支付成功哟!",orderConfirmationTitle:"订单确认",orderConfirmationContent:"欢迎选购、确定购买",thinkAgain:"我再想想",confirmPurchase:"确认购买",paymentNotEnabled:"管理员还未开启支付!",selectProducts:"选购商品",basicModelQuota:"基础积分",advancedModelQuota:"高级积分",drawingQuota:"绘画积分",buyPackage:"购买套餐"},Nx={1:"注册赠送",2:"受邀请赠送",3:"邀请他人赠送",4:"购买卡密充值",5:"管理员赠送",6:"扫码购买充值",7:"MJ绘画失败退款",8:"签到奖励"},Ox={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},Mx={logoutSuccess:"登出账户成功!"},Ux={language:bx,common:Cx,chat:_x,app:yx,setting:Ax,store:Sx,draw:Dx,pay:Bx,mindmap:Fx,usercenter:Px,siderBar:kx,notice:Tx,login:Ix,share:Lx,goods:Rx,rechargeTypes:Nx,orderStatus:Ox,messages:Mx};fu();localStorage.getItem("appLanguage");const Hx="zh-CN",w0=$h({locale:Hx,fallbackLocale:"en-US",allowComposition:!0,messages:{"en-US":Ex,"zh-CN":Ux}}),Rm=w0.global.t;function Wx(e){e.use(w0)}function jx(){const e=Ss(),t=pc(),r=ve(()=>e.theme==="auto"?t.value==="dark":e.theme==="dark"),n=ve(()=>r.value?nr:void 0),o=ve(()=>r.value?{common:{}}:{common:{primaryColor:"#409eff"}}),a={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF",baseColor:"#ffffff"},Switch:{railColorActive:"#5A91FCFF"},Layout:{}},i={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF"},Skeleton:{color:"#F4F3F3FF",colorEnd:"#F1F0F0FF"},Layout:{}};return St(()=>r.value,l=>{l?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},{immediate:!0}),{theme:n,themeOverrides:o,lightThemeOverrides:i,darkThemeOverrides:a}}var A0={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(re,function(){return function(r){var n={};function o(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=r,o.c=n,o.d=function(a,i,l){o.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:l})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,i){if(1&i&&(a=o(a)),8&i||4&i&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),2&i&&typeof a!="string")for(var f in a)o.d(l,f,(function(c){return a[c]}).bind(null,f));return l},o.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(i,"a",i),i},o.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},o.p="",o(o.s=0)}([function(r,n,o){var a,i,l=o(1)(),f=o(3),c=o(4),u=o(6),h=function(){var s=new c;return a=s.getResult(),i=new u,this};h.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return a},getFingerprint:function(){var s="|",d=a.ua,x=this.getScreenPrint(),p=this.getPlugins(),m=this.getFonts(),E=this.isLocalStorage(),g=this.isSessionStorage(),v=this.getTimeZone(),b=this.getLanguage(),y=this.getSystemLanguage(),_=this.isCookie(),A=this.getCanvasPrint();return f(d+s+x+s+p+s+m+s+E+s+g+s+v+s+b+s+y+s+_+s+A,256)},getCustomFingerprint:function(){for(var s="|",d="",x=0;x>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295)<<13|c>>>19))+((5*(c>>>16)&65535)<<16)&4294967295))+((58964+(u>>>16)&65535)<<16);switch(d=0,l){case 3:d^=(255&a.charCodeAt(x+2))<<16;case 2:d^=(255&a.charCodeAt(x+1))<<8;case 1:c^=d=(65535&(d=(d=(65535&(d^=255&a.charCodeAt(x)))*h+(((d>>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295}return c^=a.length,c=2246822507*(65535&(c^=c>>>16))+((2246822507*(c>>>16)&65535)<<16)&4294967295,c=3266489909*(65535&(c^=c>>>13))+((3266489909*(c>>>16)&65535)<<16)&4294967295,(c^=c>>>16)>>>0}},function(r,n,o){var a;(function(i,l){var f="function",c="undefined",u="object",h="string",s="model",d="name",x="type",p="vendor",m="version",E="architecture",g="console",v="mobile",b="tablet",y="smarttv",_="wearable",A="embedded",D="Amazon",B="Apple",S="ASUS",P="BlackBerry",k="Firefox",I="Google",K="Huawei",Y="LG",q="Microsoft",se="Motorola",oe="Opera",ce="Samsung",ae="Sony",L="Xiaomi",U="Zebra",W="Facebook",N=function(F){var H={};for(var j in F)H[F[j].toUpperCase()]=F[j];return H},ue=function(F,H){return typeof F===h&&te(H).indexOf(te(F))!==-1},te=function(F){return F.toLowerCase()},T=function(F,H){if(typeof F===h)return F=F.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof H===c?F:F.substring(0,255)},O=function(F,H){for(var j,J,X,Q,ye,he,Te=0;Te0?Q.length==2?typeof Q[1]==f?this[Q[0]]=Q[1].call(this,he):this[Q[0]]=Q[1]:Q.length==3?typeof Q[1]!==f||Q[1].exec&&Q[1].test?this[Q[0]]=he?he.replace(Q[1],Q[2]):l:this[Q[0]]=he?Q[1].call(this,he,Q[2]):l:Q.length==4&&(this[Q[0]]=he?Q[3].call(this,he.replace(Q[1],Q[2])):l):this[Q]=he||l;Te+=2}},$=function(F,H){for(var j in H)if(typeof H[j]===u&&H[j].length>0){for(var J=0;J255?T(X,255):X,this},this.setUA(j),this};ee.VERSION="0.7.30",ee.BROWSER=N([d,m,"major"]),ee.CPU=N([E]),ee.DEVICE=N([s,p,x,g,v,y,b,_,A]),ee.ENGINE=ee.OS=N([d,m]),typeof n!==c?(typeof r!==c&&r.exports&&(n=r.exports=ee),n.UAParser=ee):o(5)?(a=(function(){return ee}).call(n,o,n,r))===l||(r.exports=a):typeof i!==c&&(i.UAParser=ee);var w=typeof i!==c&&(i.jQuery||i.Zepto);if(w&&!w.ua){var C=new ee;w.ua=C.getResult(),w.ua.get=function(){return C.getUA()},w.ua.set=function(F){C.setUA(F);var H=C.getResult();for(var j in H)w.ua[j]=H[j]}}})(typeof window=="object"?window:this)},function(r,n){(function(o){r.exports=o}).call(this,{})},function(r,n){r.exports=function(){var o=["monospace","sans-serif","serif"],a=document.getElementsByTagName("body")[0],i=document.createElement("span");i.style.fontSize="72px",i.innerHTML="mmmmmmmmmmlli";var l={},f={};for(var c in o)i.style.fontFamily=o[c],a.appendChild(i),l[o[c]]=i.offsetWidth,f[o[c]]=i.offsetHeight,a.removeChild(i);this.detect=function(u){var h=!1;for(var s in o){i.style.fontFamily=u+","+o[s],a.appendChild(i);var d=i.offsetWidth!=l[o[s]]||i.offsetHeight!=f[o[s]];a.removeChild(i),h=h||d}return h}}}])})})(A0);var Gx=A0.exports;/*! + */const Ph="9.10.1";function kh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(et().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(et().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(et().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(et().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(et().__INTLIFY_PROD_DEVTOOLS__=!1)}const m0=fh.__EXTEND_POINT__,Qe=wa(m0);Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe(),Qe();const g0=Ge.__EXTEND_POINT__,Ne=wa(g0),De={UNEXPECTED_RETURN_TYPE:g0,INVALID_ARGUMENT:Ne(),MUST_BE_CALL_SETUP_TOP:Ne(),NOT_INSTALLED:Ne(),NOT_AVAILABLE_IN_LEGACY_MODE:Ne(),REQUIRED_VALUE:Ne(),INVALID_VALUE:Ne(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ne(),NOT_INSTALLED_WITH_PROVIDE:Ne(),UNEXPECTED_ERROR:Ne(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ne(),BRIDGE_SUPPORT_VUE_2_ONLY:Ne(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ne(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ne(),__EXTEND_POINT__:Ne()};function Fe(e,...t){return Lt(e,null,void 0)}const Qn=ht("__translateVNode"),Jn=ht("__datetimeParts"),Zn=ht("__numberParts"),v0=ht("__setPluralRules"),E0=ht("__injectWithOption"),ea=ht("__dispose");function Xt(e){if(!xe(e))return e;for(const t in e)if(pr(e,t))if(!t.includes("."))xe(e[t])&&Xt(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,a=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:f,resource:c}=l;f?(i[f]=i[f]||{},ur(c,i[f])):ur(c,i)}else V(l)&&ur(JSON.parse(l),i)}),o==null&&a)for(const l in i)pr(i,l)&&Xt(i[l]);return i}function b0(e){return e.type}function C0(e,t,r){let n=xe(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Fr(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(xe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ei(e){return ut(tc,null,e,0)}const bi="__INTLIFY_META__",Ci=()=>[],Th=()=>!1;let _i=0;function yi(e){return(t,r,n,o)=>e(r,n,$t()||void 0,o)}const Ih=()=>{const e=$t();let t=null;return e&&(t=b0(e)[bi])?{[bi]:t}:null};function Ba(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,a=e.flatJson,i=xr?Ze:sa,l=!!e.translateExistCompatible;let f=le(e.inheritLocale)?e.inheritLocale:!0;const c=i(r&&f?r.locale.value:V(e.locale)?e.locale:Ft),u=i(r&&f?r.fallbackLocale.value:V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=i(Fr(c.value,e)),s=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),d=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let x=r?r.missingWarn:le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,p=r?r.fallbackWarn:le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,m=r?r.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,g=Ee(e.missing)?e.missing:null,v=Ee(e.missing)?yi(e.missing):null,b=Ee(e.postTranslation)?e.postTranslation:null,y=r?r.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const A=r?r.modifiers:ne(e.modifiers)?e.modifiers:{};let D=e.pluralRules||r&&r.pluralRules,B;B=(()=>{o&&ui(null);const R={version:Ph,locale:c.value,fallbackLocale:u.value,messages:h.value,modifiers:A,pluralRules:D,missing:v===null?void 0:v,missingWarn:x,fallbackWarn:p,fallbackFormat:E,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=s.value,R.numberFormats=d.value,R.__datetimeFormatters=ne(B)?B.__datetimeFormatters:void 0,R.__numberFormatters=ne(B)?B.__numberFormatters:void 0;const G=_h(R);return o&&ui(G),G})(),Ot(B,c.value,u.value);function P(){return[c.value,u.value,h.value,s.value,d.value]}const k=ve({get:()=>c.value,set:R=>{c.value=R,B.locale=c.value}}),I=ve({get:()=>u.value,set:R=>{u.value=R,B.fallbackLocale=u.value,Ot(B,c.value,R)}}),K=ve(()=>h.value),Y=ve(()=>s.value),q=ve(()=>d.value);function se(){return Ee(b)?b:null}function oe(R){b=R,B.postTranslation=R}function ce(){return g}function ae(R){R!==null&&(v=yi(R)),g=R,B.missing=v}const L=(R,G,pe,_e,We,je)=>{P();let Me;try{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=r?Ch():void 0),Me=R(B)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=void 0)}if(pe!=="translate exists"&&Se(Me)&&Me===Br||pe==="translate exists"&&!Me){const[Tr,Ir]=G();return r&&m?_e(r):We(Tr)}else{if(je(Me))return Me;throw Fe(De.UNEXPECTED_RETURN_TYPE)}};function U(...R){return L(G=>Reflect.apply(xi,null,[G,...R]),()=>Kn(...R),"translate",G=>Reflect.apply(G.t,G,[...R]),G=>G,G=>V(G))}function W(...R){const[G,pe,_e]=R;if(_e&&!xe(_e))throw Fe(De.INVALID_ARGUMENT);return U(G,pe,ke({resolvedMessage:!0},_e||{}))}function N(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>Reflect.apply(G.d,G,[...R]),()=>si,G=>V(G))}function ue(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>Reflect.apply(G.n,G,[...R]),()=>si,G=>V(G))}function te(R){return R.map(G=>V(G)||Se(G)||le(G)?Ei(String(G)):G)}const O={normalize:te,interpolate:R=>R,type:"vnode"};function $(...R){return L(G=>{let pe;const _e=G;try{_e.processor=O,pe=Reflect.apply(xi,null,[_e,...R])}finally{_e.processor=null}return pe},()=>Kn(...R),"translate",G=>G[Qn](...R),G=>[Ei(G)],G=>be(G))}function z(...R){return L(G=>Reflect.apply(gi,null,[G,...R]),()=>Xn(...R),"number format",G=>G[Zn](...R),Ci,G=>V(G)||be(G))}function ie(...R){return L(G=>Reflect.apply(pi,null,[G,...R]),()=>Yn(...R),"datetime format",G=>G[Jn](...R),Ci,G=>V(G)||be(G))}function ee(R){D=R,B.pluralRules=D}function w(R,G){return L(()=>{if(!R)return!1;const pe=V(G)?G:c.value,_e=H(pe),We=B.messageResolver(_e,R);return l?We!=null:Pt(We)||Ue(We)||V(We)},()=>[R],"translate exists",pe=>Reflect.apply(pe.te,pe,[R,G]),Th,pe=>le(pe))}function C(R){let G=null;const pe=a0(B,u.value,c.value);for(let _e=0;_e{f&&(c.value=R,B.locale=R,Ot(B,c.value,u.value))}),St(r.fallbackLocale,R=>{f&&(u.value=R,B.fallbackLocale=R,Ot(B,c.value,u.value))}));const Ce={id:_i,locale:k,fallbackLocale:I,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&r&&(c.value=r.locale.value,u.value=r.fallbackLocale.value,Ot(B,c.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:K,get modifiers(){return A},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return x},set missingWarn(R){x=R,B.missingWarn=x},get fallbackWarn(){return p},set fallbackWarn(R){p=R,B.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return E},set fallbackFormat(R){E=R,B.fallbackFormat=E},get warnHtmlMessage(){return y},set warnHtmlMessage(R){y=R,B.warnHtmlMessage=R},get escapeParameter(){return _},set escapeParameter(R){_=R,B.escapeParameter=R},t:U,getLocaleMessage:H,setLocaleMessage:j,mergeLocaleMessage:J,getPostTranslationHandler:se,setPostTranslationHandler:oe,getMissingHandler:ce,setMissingHandler:ae,[v0]:ee};return Ce.datetimeFormats=Y,Ce.numberFormats=q,Ce.rt=W,Ce.te=w,Ce.tm=F,Ce.d=N,Ce.n=ue,Ce.getDateTimeFormat=X,Ce.setDateTimeFormat=Q,Ce.mergeDateTimeFormat=ye,Ce.getNumberFormat=he,Ce.setNumberFormat=Ie,Ce.mergeNumberFormat=Ye,Ce[E0]=n,Ce[Qn]=$,Ce[Jn]=ie,Ce[Zn]=z,Ce}function Lh(e){const t=V(e.locale)?e.locale:Ft,r=V(e.fallbackLocale)||be(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Ee(e.missing)?e.missing:void 0,o=le(e.silentTranslationWarn)||ft(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=le(e.silentFallbackWarn)||ft(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=le(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,f=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ee(e.postTranslation)?e.postTranslation:void 0,h=V(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,s=!!e.escapeParameterHtml,d=le(e.sync)?e.sync:!0;let x=e.messages;if(ne(e.sharedMessages)){const _=e.sharedMessages;x=Object.keys(_).reduce((D,B)=>{const S=D[B]||(D[B]={});return ke(S,_[B]),D},x||{})}const{__i18n:p,__root:m,__injectWithOption:E}=e,g=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,y=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:x,flatJson:b,datetimeFormats:g,numberFormats:v,missing:n,missingWarn:o,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:f,pluralRules:c,postTranslation:u,warnHtmlMessage:h,escapeParameter:s,messageResolver:e.messageResolver,inheritLocale:d,translateExistCompatible:y,__i18n:p,__root:m,__injectWithOption:E}}function ta(e={},t){{const r=Ba(Lh(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(a){r.locale.value=a},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(a){r.fallbackLocale.value=a},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return r.getMissingHandler()},set missing(a){r.setMissingHandler(a)},get silentTranslationWarn(){return le(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(a){r.missingWarn=le(a)?!a:a},get silentFallbackWarn(){return le(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(a){r.fallbackWarn=le(a)?!a:a},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(a){r.fallbackFormat=a},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(a){r.setPostTranslationHandler(a)},get sync(){return r.inheritLocale},set sync(a){r.inheritLocale=a},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){r.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(a){r.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...a){const[i,l,f]=a,c={};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:be(l)?u=l:ne(l)&&(h=l),be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},rt(...a){return Reflect.apply(r.rt,r,[...a])},tc(...a){const[i,l,f]=a,c={plural:1};let u=null,h=null;if(!V(i))throw Fe(De.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:Se(l)?c.plural=l:be(l)?u=l:ne(l)&&(h=l),V(f)?c.locale=f:be(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},te(a,i){return r.te(a,i)},tm(a){return r.tm(a)},getLocaleMessage(a){return r.getLocaleMessage(a)},setLocaleMessage(a,i){r.setLocaleMessage(a,i)},mergeLocaleMessage(a,i){r.mergeLocaleMessage(a,i)},d(...a){return Reflect.apply(r.d,r,[...a])},getDateTimeFormat(a){return r.getDateTimeFormat(a)},setDateTimeFormat(a,i){r.setDateTimeFormat(a,i)},mergeDateTimeFormat(a,i){r.mergeDateTimeFormat(a,i)},n(...a){return Reflect.apply(r.n,r,[...a])},getNumberFormat(a){return r.getNumberFormat(a)},setNumberFormat(a,i){r.setNumberFormat(a,i)},mergeNumberFormat(a,i){r.mergeNumberFormat(a,i)},getChoiceIndex(a,i){return-1}};return o.__extender=n,o}}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Rh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===es?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function _0(e){return es}const Nh=rt({name:"i18n-t",props:ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Se(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Pa({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(r).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=V(e.plural)?+e.plural:e.plural);const l=Rh(t,a),f=o[Qn](e.keypath,l,i),c=ke({},n),u=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(u,c,f)}}}),wi=Nh;function Oh(e){return be(e)&&!V(e[0])}function y0(e,t,r,n){const{slots:o,attrs:a}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),V(e.format)?i.key=e.format:xe(e.format)&&(V(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((s,d)=>r.includes(d)?ke({},s,{[d]:e.format[d]}):s,{}));const f=n(e.value,i,l);let c=[i.key];be(f)?c=f.map((s,d)=>{const x=o[s.type],p=x?x({[s.type]:s.value,index:d,parts:f}):[s.value];return Oh(p)&&(p[0].key=`${s.type}-${d}`),p}):V(f)&&(c=[f]);const u=ke({},a),h=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(h,u,c)}}const Mh=rt({name:"i18n-n",props:ke({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,p0,(...n)=>r[Zn](...n))}}),Ai=Mh,Uh=rt({name:"i18n-d",props:ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,x0,(...n)=>r[Jn](...n))}}),Si=Uh;function Hh(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Wh(e){const t=i=>{const{instance:l,modifiers:f,value:c}=i;if(!l||!l.$)throw Fe(De.UNEXPECTED_ERROR);const u=Hh(e,l.$),h=Di(c);return[Reflect.apply(u.t,u,[...Bi(h)]),u]};return{created:(i,l)=>{const[f,c]=t(l);xr&&e.global===c&&(i.__i18nWatcher=St(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=f},unmounted:i=>{xr&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const f=i.__composer,c=Di(l);i.textContent=Reflect.apply(f.t,f,[...Bi(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Di(e){if(V(e))return{path:e};if(ne(e)){if(!("path"in e))throw Fe(De.REQUIRED_VALUE,"path");return e}else throw Fe(De.INVALID_VALUE)}function Bi(e){const{path:t,locale:r,args:n,choice:o,plural:a}=e,i={},l=n||{};return V(r)&&(i.locale=r),Se(o)&&(i.plural=o),Se(a)&&(i.plural=a),[t,l,i]}function jh(e,t,...r){const n=ne(r[0])?r[0]:{},o=!!n.useI18nComponentName;(le(n.globalInstall)?n.globalInstall:!0)&&([o?"i18n":wi.name,"I18nT"].forEach(i=>e.component(i,wi)),[Ai.name,"I18nN"].forEach(i=>e.component(i,Ai)),[Si.name,"I18nD"].forEach(i=>e.component(i,Si))),e.directive("t",Wh(t))}function Gh(e,t,r){return{beforeCreate(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Fi(e,a);else{a.__injectWithOption=!0,a.__extender=r.__vueI18nExtend,this.$i18n=ta(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Fi(e,o);else{this.$i18n=ta({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&C0(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=$t();if(!n)throw Fe(De.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function Fi(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[v0](t.pluralizationRules||e.pluralizationRules);const r=Fr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const $h=ht("global-vue-i18n");function Vh(e={},t){const r=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=le(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,a=new Map,[i,l]=qh(e,r),f=ht("");function c(s){return a.get(s)||null}function u(s,d){a.set(s,d)}function h(s){a.delete(s)}{const s={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},async install(d,...x){if(d.__VUE_I18N_SYMBOL__=f,d.provide(d.__VUE_I18N_SYMBOL__,s),ne(x[0])){const E=x[0];s.__composerExtend=E.__composerExtend,s.__vueI18nExtend=E.__vueI18nExtend}let p=null;!r&&n&&(p=tx(d,s.global)),__VUE_I18N_FULL_INSTALL__&&jh(d,s,...x),__VUE_I18N_LEGACY_API__&&r&&d.mixin(Gh(l,l.__composer,s));const m=d.unmount;d.unmount=()=>{p&&p(),s.dispose(),m()}},get global(){return l},dispose(){i.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:h};return s}}function Pa(e={}){const t=$t();if(t==null)throw Fe(De.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Fe(De.NOT_INSTALLED);const r=zh(t),n=Yh(r),o=b0(t),a=Kh(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw Fe(De.NOT_AVAILABLE_IN_LEGACY_MODE);return Zh(t,a,n,e)}if(a==="global")return C0(n,e,o),n;if(a==="parent"){let f=Xh(r,t,e.__useComponent);return f==null&&(f=n),f}const i=r;let l=i.__getInstance(t);if(l==null){const f=ke({},e);"__i18n"in o&&(f.__i18n=o.__i18n),n&&(f.__root=n),l=Ba(f),i.__composerExtend&&(l[ea]=i.__composerExtend(l)),Jh(i,t,l),i.__setInstance(t,l)}return l}function qh(e,t,r){const n=ia();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ta(e)):n.run(()=>Ba(e));if(o==null)throw Fe(De.UNEXPECTED_ERROR);return[n,o]}}function zh(e){{const t=nt(e.isCE?$h:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Fe(e.isCE?De.NOT_INSTALLED_WITH_PROVIDE:De.UNEXPECTED_ERROR);return t}}function Kh(e,t){return Dr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Yh(e){return e.mode==="composition"?e.global:e.global.__composer}function Xh(e,t,r=!1){let n=null;const o=t.root;let a=Qh(t,r);for(;a!=null;){const i=e;if(e.mode==="composition")n=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(a);l!=null&&(n=l.__composer,r&&n&&!n[E0]&&(n=null))}if(n!=null||o===a)break;a=a.parent}return n}function Qh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Jh(e,t,r){Zi(()=>{},t),Z0(()=>{const n=r;e.__deleteInstance(t);const o=n[ea];o&&(o(),delete n[ea])},t)}function Zh(e,t,r,n={}){const o=t==="local",a=sa(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Fe(De.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=le(n.inheritLocale)?n.inheritLocale:!V(n.locale),l=Ze(!o||i?r.locale.value:V(n.locale)?n.locale:Ft),f=Ze(!o||i?r.fallbackLocale.value:V(n.fallbackLocale)||be(n.fallbackLocale)||ne(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:l.value),c=Ze(Fr(l.value,n)),u=Ze(ne(n.datetimeFormats)?n.datetimeFormats:{[l.value]:{}}),h=Ze(ne(n.numberFormats)?n.numberFormats:{[l.value]:{}}),s=o?r.missingWarn:le(n.missingWarn)||ft(n.missingWarn)?n.missingWarn:!0,d=o?r.fallbackWarn:le(n.fallbackWarn)||ft(n.fallbackWarn)?n.fallbackWarn:!0,x=o?r.fallbackRoot:le(n.fallbackRoot)?n.fallbackRoot:!0,p=!!n.fallbackFormat,m=Ee(n.missing)?n.missing:null,E=Ee(n.postTranslation)?n.postTranslation:null,g=o?r.warnHtmlMessage:le(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=o?r.modifiers:ne(n.modifiers)?n.modifiers:{},y=n.pluralRules||o&&r.pluralRules;function _(){return[l.value,f.value,c.value,u.value,h.value]}const A=ve({get:()=>a.value?a.value.locale.value:l.value,set:C=>{a.value&&(a.value.locale.value=C),l.value=C}}),D=ve({get:()=>a.value?a.value.fallbackLocale.value:f.value,set:C=>{a.value&&(a.value.fallbackLocale.value=C),f.value=C}}),B=ve(()=>a.value?a.value.messages.value:c.value),S=ve(()=>u.value),P=ve(()=>h.value);function k(){return a.value?a.value.getPostTranslationHandler():E}function I(C){a.value&&a.value.setPostTranslationHandler(C)}function K(){return a.value?a.value.getMissingHandler():m}function Y(C){a.value&&a.value.setMissingHandler(C)}function q(C){return _(),C()}function se(...C){return a.value?q(()=>Reflect.apply(a.value.t,null,[...C])):q(()=>"")}function oe(...C){return a.value?Reflect.apply(a.value.rt,null,[...C]):""}function ce(...C){return a.value?q(()=>Reflect.apply(a.value.d,null,[...C])):q(()=>"")}function ae(...C){return a.value?q(()=>Reflect.apply(a.value.n,null,[...C])):q(()=>"")}function L(C){return a.value?a.value.tm(C):{}}function U(C,F){return a.value?a.value.te(C,F):!1}function W(C){return a.value?a.value.getLocaleMessage(C):{}}function N(C,F){a.value&&(a.value.setLocaleMessage(C,F),c.value[C]=F)}function ue(C,F){a.value&&a.value.mergeLocaleMessage(C,F)}function te(C){return a.value?a.value.getDateTimeFormat(C):{}}function T(C,F){a.value&&(a.value.setDateTimeFormat(C,F),u.value[C]=F)}function O(C,F){a.value&&a.value.mergeDateTimeFormat(C,F)}function $(C){return a.value?a.value.getNumberFormat(C):{}}function z(C,F){a.value&&(a.value.setNumberFormat(C,F),h.value[C]=F)}function ie(C,F){a.value&&a.value.mergeNumberFormat(C,F)}const ee={get id(){return a.value?a.value.id:-1},locale:A,fallbackLocale:D,messages:B,datetimeFormats:S,numberFormats:P,get inheritLocale(){return a.value?a.value.inheritLocale:i},set inheritLocale(C){a.value&&(a.value.inheritLocale=C)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:y},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:s},set missingWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackWarn(){return a.value?a.value.fallbackWarn:d},set fallbackWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackRoot(){return a.value?a.value.fallbackRoot:x},set fallbackRoot(C){a.value&&(a.value.fallbackRoot=C)},get fallbackFormat(){return a.value?a.value.fallbackFormat:p},set fallbackFormat(C){a.value&&(a.value.fallbackFormat=C)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:g},set warnHtmlMessage(C){a.value&&(a.value.warnHtmlMessage=C)},get escapeParameter(){return a.value?a.value.escapeParameter:v},set escapeParameter(C){a.value&&(a.value.escapeParameter=C)},t:se,getPostTranslationHandler:k,setPostTranslationHandler:I,getMissingHandler:K,setMissingHandler:Y,rt:oe,d:ce,n:ae,tm:L,te:U,getLocaleMessage:W,setLocaleMessage:N,mergeLocaleMessage:ue,getDateTimeFormat:te,setDateTimeFormat:T,mergeDateTimeFormat:O,getNumberFormat:$,setNumberFormat:z,mergeNumberFormat:ie};function w(C){C.locale.value=l.value,C.fallbackLocale.value=f.value,Object.keys(c.value).forEach(F=>{C.mergeLocaleMessage(F,c.value[F])}),Object.keys(u.value).forEach(F=>{C.mergeDateTimeFormat(F,u.value[F])}),Object.keys(h.value).forEach(F=>{C.mergeNumberFormat(F,h.value[F])}),C.escapeParameter=v,C.fallbackFormat=p,C.fallbackRoot=x,C.fallbackWarn=d,C.missingWarn=s,C.warnHtmlMessage=g}return ec(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Fe(De.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=C.locale.value,f.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,h.value=C.numberFormats.value):o&&w(C)}),ee}const ex=["locale","fallbackLocale","availableLocales"],Pi=["t","rt","d","n","tm","te"];function tx(e,t){const r=Object.create(null);return ex.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw Fe(De.UNEXPECTED_ERROR);const i=Gt(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,Pi.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw Fe(De.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Pi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}kh();__INTLIFY_JIT_COMPILATION__?li(Ah):li(wh);gh(Jd);vh(a0);if(__INTLIFY_PROD_DEVTOOLS__){const e=et();e.__INTLIFY__=!0,sh(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const rx="en",nx={add:"Add",addSuccess:"Add Success",edit:"Edit",editSuccess:"Edit Success",delete:"Delete",deleteSuccess:"Delete Success",save:"Save",saveSuccess:"Save Success",reset:"Reset",action:"Action",export:"Export",exportSuccess:"Export Success",import:"Import",importSuccess:"Import Success",clear:"Clear",clearSuccess:"Clear Success",yes:"Yes",no:"No",update:"Update",download:"Download",noData:"No Data",wrong:"Something went wrong, please try again later.",success:"Success",failed:"Failed",verify:"Verify",unauthorizedTips:"Unauthorized, please verify first.",confirm:"Confirm",cancel:"Cancel"},ax={newChatButton:"New Chat",placeholder:"Ask me anything...(Shift + Enter = line break)",placeholderMobile:"Ask me anything...",copy:"Copy",copied:"Copied",copyCode:"Copy Code",clearChat:"Clear Chat",clearChatConfirm:"Are you sure to clear this chat?",exportImage:"Export Image",exportImageConfirm:"Are you sure to export this chat to png?",exportSuccess:"Export Success",exportFailed:"Export Failed",usingContext:"Context Mode",turnOnContext:"In the current mode, sending messages will carry previous chat records.",turnOffContext:"In the current mode, sending messages will not carry previous chat records.",deleteMessage:"Delete Message",deleteMessageConfirm:"Are you sure to delete this message?",deleteHistoryConfirm:"Are you sure to clear this history?",clearHistoryConfirm:"Are you sure to clear chat history?",preview:"Preview",showRawText:"Show as raw text",size:"Size:",generatedContentDisclaimer:"AI can make mistakes. Consider checking important information. All rights reserved ©",square1:"Square [1:1]",illustration:"Illustration [4:3]",wallpaper:"Wallpaper [16:9]",media:"Media [3:4]",poster:"Poster [9:16]",square:"Square",landscape:"Landscape",portrait:"Portrait",chatDialogue:"Chat Dialogue",startNewConversationPrompt:"Click the button below to start a new conversation",newConversation:"New Conversation",networkModeEnabledContextInvalid:"Network mode enabled, context invalidated!",networkModeDisabled:"Network mode disabled!",pointsMall:"Points Mall",toggleTheme:"Toggle Theme",signInReward:"Sign-In Reward",networkMode:"Network Mode",searchHistoryConversations:"Search History Conversations",announcement:"Announcement",clear:"Clear",remaining:"",ordinaryPoints:"Ordinary Points",advancedPoints:"Advanced Points",drawingPoints:"Drawing Points",points:"Points",clearConversation:"Clear Conversation",clearAllNonFavoriteConversations:"Clear all non-favorite conversations?",more:"More",collapse:"Collapse",myApps:"My Apps",appSquare:"App Square",favorites:"Favorites",todayConversations:"Today",Conversations:"",historyConversations:"History",favoriteConversations:"Favorite",unfavorite:"Unfavorite",rename:"Rename",deleteConversation:"Delete",me:"You",onlineSearch:"Online Search",mindMap:"Mind Map",fileAnalysis:"File Analysis",delete:"Delete",regenerate:"Regenerate",pause:"Pause",loading:"Loading...",readAloud:"Read Aloud",U1:"🔍 U1",U2:"🔍 U2",U3:"🔍 U3",U4:"🔍 U4",V1:"🪄 V1",V2:"🪄 V2",V3:"🪄 V3",V4:"🪄 V4",panLeft:"⬅️ Pan Left",panRight:"➡️ Pan Right",panUp:"⬆️ Pan Up",panDown:"⬇️ Pan Down",zoomIn15x:"↔️ Zoom 1.5x",zoomIn2x:"↔️ Zoom 2x",minorTransform:"Vary(Subtle)",strongTransform:"Vary(Strong)",enlargeImage:"Enlarge image {order}",transformImage:"Transform image {order}",expandDrawing:"Expand drawing",advancedTransform:"Advanced transform",translateImage:"Translate image",enlargeImagePrefix:"Enlarge image ",enlargeImageSuffix:"",transformImagePrefix:"Transform image ",transformImageSuffix:"",imageToImage:"Image to Image",faceConsistency:"Face Consistency",styleConsistency:"Style Consistency",selectAppOrTopic:"Select an application or topic for quick conversation"},ox={sampleTemplate:"Sample Template",exploreInfinitePossibilities:"Explore infinite possibilities, create a smart future with AI",searchAppNameQuickFind:"Search app names, quick find applications...",allCategories:"All Categories",noModelConfigured:"No specific application model has been configured by the administrator, please contact them to set it up~"},ix={setting:"Setting",general:"General",advanced:"Advanced",config:"Config",avatarLink:"Avatar Link",name:"Name",description:"Description",role:"Role",resetUserInfo:"Reset UserInfo",chatHistory:"ChatHistory",theme:"Theme",language:"Language",api:"API",reverseProxy:"Reverse Proxy",timeout:"Timeout",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API Balance",sign:"Signature"},sx={siderButton:"Prompt Store",local:"Local",online:"Online",title:"Title",description:"Description",clearStoreConfirm:"Whether to clear the data?",importPlaceholder:"Please paste the JSON data here",addRepeatTitleTips:"Title duplicate, please re-enter",addRepeatContentTips:"Content duplicate: {msg}, please re-enter",editRepeatTitleTips:"Title conflict, please revise",editRepeatContentTips:"Content conflict {msg} , please re-modify",importError:"Key value mismatch",importRepeatTitle:"Title repeatedly skipped: {msg}",importRepeatContent:"Content is repeatedly skipped: {msg}",onlineImportWarning:"Note: Please check the JSON file source!",downloadError:"Please check the network status and JSON file validity"},cx={use:"Use",download:"Download",delete:"Delete",zoom:"Zoom:",U1:"U1",U2:"U2",U3:"U3",U4:"U4",regenerateOnce:"Regenerate",transform:"Transform:",V1:"V1",V2:"V2",V3:"V3",V4:"V4",pan:"Pan:",panLeft:"⬅️",panRight:"➡️",panUp:"⬆️",panDown:"⬇️",transformZoom:"Zoom Transform",zoom1_5x:"Zoom 1.5x",zoom2x:"Zoom 2x",minorTransform:"Minor Transform",strongTransform:"Strong Transform",regionalRedraw:"Regional Redraw",regionalRedraw1:"Regional Redraw (Select the Area to Change)",submitTask:"Submit Task",selectSuiteForZoom:"Action: Select a suite to zoom",selectSuiteForTransform:"Action: Select a suite for transformation",regeneratingImage:"Action: Regenerating the image",drawingInProgress:"Action: Rapid drawing in progress...",tryDifferentPrompt:"Execute: Try a different prompt!",statusWaiting:"Waiting",statusDrawing:"Drawing",statusSuccess:"Success",statusFailure:"Failure",statusTimeout:"Timeout",downloadImageTitle:"Download Image",downloadImageContent:"Download the current image",downloadButtonText:"Download",cancelButtonText:"Cancel",deleteRecordTitle:"Delete Record",deleteRecordContent:"Delete the current drawing record?",deleteButtonText:"Delete",submitZoomDrawingSuccess:"Zoom drawing task submitted successfully, please wait for it to finish!",submitRedrawSuccess:"Redraw task submitted successfully, please wait for it to finish!",submitTransformDrawingSuccess:"Transform drawing task submitted successfully, please wait for it to finish!",submitEnlargeDrawingSuccess:"Enlarge drawing task submitted successfully, please wait for it to finish!",submitAdvancedTransformDrawingSuccess:"Advanced transform drawing task submitted successfully, please wait for it to finish!",submitRegionalRedrawSuccess:"Regional redraw task submitted successfully, please wait for it to finish!",drawingRecordDeleted:"Drawing record has been deleted!",queueing:"Queueing...",drawing:"Drawing...",storing:"Storing image...",drawingFailed:"Drawing Failed",pointsRefunded:"Points Refunded!",submitDrawingTaskSuccess:"Drawing task submitted successfully, please wait for it to finish!",defaultStyle:"Default Style",expressiveStyle:"Expressive Style",cuteStyle:"Cute Style",scenicStyle:"Scenic Style",standardQuality:"Standard",generalQuality:"General",highDefinitionQuality:"High Definition",ultraHighDefinitionQuality:"Ultra High Definition",enterDescription:"Please enter descriptive words!",optimizationFailed:"Optimization failed!",professionalDrawing:"Professional Drawing",parameterExplanation:"Parameter Explanation: Generate image size ratio",imageSize:"Image Size",modelSelection:"Model Selection",tooltipMJ:"MJ: General-purpose realistic model",tooltipNIJI:"NIJI: Anime style, suitable for 2D models",version:"Version",style:"Style",parameters:"Parameters",parametersTooltip:"Use parameters wisely to achieve more ideal results!",quality:"Quality",chaos:"Chaos",chaosDescription:"Value range: 0-100, --chaos or --c",chaosExplanation:"Chaos level, can be understood as the space for AI to think outside the box",chaosAdvice:"The smaller the value, the more reliable, with the default of 0 being the most precise",stylization:"Stylization",stylizationDescription:"Stylization: --stylize or --s, range 1-1000",parameterExplanation1:"Parameter explanation: The higher the number, the richer and more artistic the visual presentation",setting:"Setting",carryParameters:"Carry Parameters",autoCarryParameters:"Whether to automatically carry parameters",carryOn:"On: Carries the parameters we have configured",carryOff:"Off: Uses the parameters we customize in the command",imageToImage:"Image to Image",clickOrDrag:"Click or drag an image here to use as input",supportFormats:"Supports PNG and JPG formats",remainingPoints:"Remaining Points",refresh:"Refresh",accountInfo:"Account Information",points:"Points",paintingSingleUse:"Painting:",imageGenerationSingleUse:"Generation:",enlargementSingleUse:"Enlargement:",submitDrawingTask:"Enter keywords, submit drawing task",optimize:"Optimize",enterDrawingKeywords:"Enter drawing keywords. For example: A colorful cat, cute, cartoon",unnecessaryElements:"Unnecessary Elements",exclusionPrompt:"Example: Generate a room image, but exclude the bed, you can fill in 'bed'!",workingContents:"Working Contents",currentTasks:"Current tasks in progress",goToAIDrawingSquare:"Click to go to the AI Drawing Square",tasksInProgress:"tasks are currently in progress. Please wait patiently for the drawing to complete. You can visit other pages and return later to see the results!",myDrawings:"My Drawings",aiDrawingSquare:"AI Drawing Square",sizeAdjustment:"Size Adjustment",keywordSearchPlaceholder:"Prompt Keyword Search"},lx={membershipMarket:"Membership Market",sizeAdjustment:"Size Adjustment",memberPackage:"Limited Time Member Package",permanentAddOnCard:"Permanent Add-On Card",baseModelQuota:"Base Model Quota",advancedModelQuota:"Advanced Model Quota",MJDrawingQuota:"MJ Drawing Quota",packageValidity:"Package Validity",days:"days",permanent:"Permanent",points:"Points",welcomeTipMobile:"Explore freely, welcome to our online store!",welcomeTipDesktop:"Explore freely, welcome to our online store, thank you for choosing us, let's start a delightful shopping journey together!",paymentNotEnabled:"Payment has not been enabled by the admin!",purchaseSuccess:"Purchase successful, enjoy your product!",paymentNotComplete:"You have not completed the payment yet!",wechat:"WeChat",alipay:"Alipay",wechatPay:"WeChat Pay",alipayPay:"Alipay Pay",paymentSuccess:"Congratulations, your payment was successful. Enjoy your purchase!",paymentTimeout:"Payment timeout, please place your order again!",productPayment:"Product Payment",amountDue:"Amount Due:",packageName:"Package Name:",packageDescription:"Package Description:",siteAdminEnabledRedirect:"The site administrator has enabled redirect payment",clickToPay:"Click to Proceed to Payment",completePaymentWithin:"Please complete the payment within",timeToCompletePayment:"!",open:"Open",scanToPay:"Scan to Pay"},ux={title:"Mind Map",yourNeeds:"Your Needs?",inputPlaceholder:"Please enter a brief description of the content you want to generate, AI will produce a complete markdown content and its mind map for you!",generateMindMapButton:"Generate Mind Map",contentRequirements:"Content Requirements",tryDemoButton:"Try a Demo",usageCredits:"Base credits per use: 1",exportHTML:"Export HTML",exportPNG:"Export PNG",exportSVG:"Export SVG"},fx={defaultSignature:"I am an AI robot based on deep learning and natural language processing technologies, aimed at providing users with efficient, accurate, and personalized intelligent services.",syncComplete:"Data synchronization completed",personalCenter:"Personal Center",logOut:"Log Out",myUsageRecord:"My Usage Record on This Site",basicModelCredits:"Basic Model Credits:",advancedModelCredits:"Advanced Model Credits:",basicModelUsage:"Basic Model Usage:",advancedModelUsage:"Advanced Model Usage:",drawingUsageCredits:"Drawing Usage Credits:",bindWeChat:"Bind WeChat:",clickToBindWeChat:"Click to Bind WeChat",weChatBound:"WeChat Bound",syncVisitorData:"Click to Sync Visitor Data",points:"Points",membershipExpiration:"Membership Expiration Date:",editInfoDescription:"Edit personal information, view more details",myDetails:"My Details",myWallet:"My Wallet",basicInfo:"Basic Information",userBasicSettings:"User Basic Settings",avatarPlaceholder:"Please enter your avatar URL",usernamePlaceholder:"Edit your username",signaturePlaceholder:"Edit your signature",passwordManagement:"Password Management",inviteBenefits:"Invite for Benefits",clickToLogin:"Log In",notLoggedIn:"Not Logged In",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",inviteTime:"Invite Time",rewardStatus:"Reward Status",certified:"Certified",notActivated:"Not Activated",rewardReceived:"Reward Received",waitingConfirmation:"Waiting for Confirmation",linkGeneratedSuccess:"Invitation link generated successfully",generateLinkFirst:"Please generate your exclusive invitation link first!",linkCopiedSuccess:"Exclusive invitation link copied successfully!",copyNotSupported:"Automatic copying is not supported on this device, please copy manually!",inviteForBenefits:"Invite Users, Earn Benefits!",myInviteCode:"My Invitation Code",generateInviteCode:"Generate Exclusive Invite Code",copyInviteLink:"Copy Exclusive Invite Link",inviteOneUser:"Inviting a user grants",basicModelCredits1:"basic model credits+",advancedModelCredits1:"advanced model credits+",mjDrawingCredits:"MJ drawing credits",receiveInvitation:"Invited users receive",creditsEnd:"credits",invitationRecord:"Invitation Record",passwordMinLength:"The minimum password length is 6 characters",passwordMaxLength:"The maximum password length is 30 characters",enterPassword:"Please enter a password",reenterPassword:"Please re-enter your password",passwordsNotMatch:"The passwords do not match",passwordUpdateSuccess:"Password updated successfully, please log in again!",changeYourPassword:"Change Your Password",oldPassword:"Old Password",newPassword:"New Password",confirmPassword:"Confirm Password",reloginAfterPasswordChange:"You will need to log in again after updating your password!",updateYourPassword:"Update Your Password",passwordRequirements:"Password Requirements",newPasswordInstructions:"To create a new password, you must meet all the following requirements:",minimumCharacters:"At least 6 characters",maximumCharacters:"No more than 30 characters",requireNumber:"Must contain at least one number",orderNumber:"Order Number",rechargeType:"Recharge Type",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",mjDrawingQuota:"MJ Drawing Quota",validity:"Validity",rechargeTime:"Recharge Time",enterCardSecret:"Please enter the card secret first!",cardRedeemSuccess:"Card redeemed successfully, enjoy your use!",userWalletBalance:"User Wallet Balance",basicModelBalance:"Basic Model Balance",creditUsageNote:"Each conversation consumes different credits depending on the model!",advancedModelBalance:"Advanced Model Balance",modelConsumptionNote:"Each conversation consumes different credits depending on the model!",mjDrawingBalance:"MJ Drawing Balance",drawingConsumptionNote:"Different credits are consumed based on drawing actions!",cardRecharge:"Card Recharge",enterCardDetails:"Please paste or enter your card details!",exchange:"Exchange",buyCardSecret:"Buy Card Secret",rechargeRecords:"Recharge Records",packagePurchase:"Package Purchase",buyPackage:"Buy Package"},dx={signInReward:"Sign-in Reward",themeSwitch:"Theme Switch",personalCenter:"Personal Center",loginAccount:"Log In Account"},hx={doNotRemind24h:"Do not remind again for 24 hours"},xx={enterUsername:"Please enter your username",usernameLength:"Username must be between 2 and 30 characters",enterPassword:"Please enter your password",passwordLength:"Password must be between 6 and 30 characters",enterEmail:"Please enter your email address",emailValid:"Please enter a valid email address",enterCaptcha:"Please enter the captcha",emailPhone:"Email / Phone",email:"Email",phone:"Phone",registrationSuccess:"Account registration successful, start your experience!",loginSuccess:"Account login successful, start your experience!",registerTitle:"Register",enterContact:"Please provide your ",enterCode:"Please enter the verification code",sendVerificationCode:"Send Verification Code",optionalInvitationCode:"Invitation Code [Optional]",registerAccount:"Register Account",alreadyHaveAccount:"Already have an account?",goToLogin:"Go to Login",password:"Password",enterYourPassword:"Please enter your password",rememberAccount:"Remember account",forgotPassword:"Forgot password?",loginAccount:"Log In Account",noAccount:"Don’t have an account?",register:"Register",orUse:"or use",scanLogin:"Scan to Log In",wechatLogin:"WeChat Login",wechatScanFailed:"Failed WeChat QR code login? Use",useWechatScan:"Use WeChat to Scan and Log In"},px={orderAmount:"Order Amount",productType:"Product Type",status:"Status",commissionRate:"Commission Rate",commission:"Commission",orderTime:"Order Time",purchasePackage:"Purchase Package",accounted:"Accounted",generateInviteCodeSuccess:"Invitation code generated successfully",withdrawalTime:"Withdrawal Time",withdrawalAmount:"Withdrawal Amount",withdrawalChannel:"Withdrawal Channel",withdrawalStatus:"Withdrawal Status",withdrawalRemarks:"Withdrawal Remarks",auditor:"Auditor",alipay:"Alipay",wechat:"WeChat",paid:"Paid",rejected:"Rejected",inReview:"In Review",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",registered:"Registered",pendingActivation:"Pending Activation",registrationTime:"Registration Time",lastLogin:"Last Login",requestInviteCodeFirst:"Please request your invitation code first",linkCopiedSuccess:"Share link copied successfully",title:"Referral Program",description:"Join us and share in success! Welcome to our distribution page, become our partner and create a bright future together!",defaultSalesOutletName:"Rookie Referral Officer",myReferrals:"My Referrals",currencyUnit:"Yuan",remainingAmount:"Remaining Withdrawable Amount",withdrawingAmount:"Amount in Withdrawal",withdrawNow:"Withdraw Now",minimumWithdrawalPrefix:"Minimum",minimumWithdrawalSuffix:"Yuan Withdrawable",purchaseOrderCount:"Purchase Order Count",promotionLinkVisits:"Promotion Link Visits",registeredUsers:"Registered Users",referralEarnings:"Referral Earnings",referralEarningsDescription:"Commission amount returned after referred users register and buy products",percentage:"Percentage",applyForAdvancedAgent:"Apply to Become an Advanced Agent",contactAdminForAdvancedAgent:"Contact the site owner to apply for an advanced agent to enjoy high commissions",joinAsPartner:"Join Us as a Partner",partnerDescription:"Join us as a partner to co-operate the community, win-win cooperation!",winTogether:"Win Together, Advance Together",referralLink:"Referral Link:",apply:"Apply",referralRecordsTab:"Referral Records",withdrawalRecordsTab:"Withdrawal Records",registeredUsersTab:"Registered Users",inviteFriends:"Invite friends, gift meal cards, and enjoy recharge commissions!",inviteLink:"Invite Link",copy:"Copy",inviteBenefits1:"Both parties enjoy a certain amount of permanent card rewards when inviting friends.",inviteBenefits2Prefix:"Earn a ",inviteBenefits2Suffix:"% commission on your friend's recharge amount.",enterWithdrawalAmount:"Please enter your withdrawal amount!",selectWithdrawalChannel:"Please select your withdrawal channel!",enterContactInfo:"Please provide your contact information and remark!",optionalRemark:"If there are any special circumstances, please remark!",withdrawalSuccess:"Withdrawal application successful, please wait for approval!",withdrawalApplicationForm:"Withdrawal Application Form",contactInformation:"Contact Information",withdrawalRemark:"Withdrawal Remark",enterWithdrawalRemark:"Please enter your withdrawal remarks",applyWithdrawal:"Apply for Withdrawal"},mx={purchaseSuccess:"Purchase successful, enjoy your item!",paymentNotSuccessful:"You have not completed the payment yet!",orderConfirmationTitle:"Order Confirmation",orderConfirmationContent:"Welcome to purchase, are you sure you want to buy ",thinkAgain:"Let me think again",confirmPurchase:"Confirm Purchase",paymentNotEnabled:"Payment has not been enabled by the administrator!",selectProducts:"Select Products",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",drawingQuota:"Drawing Quota",buyPackage:"Buy Package"},gx={1:"Registration Bonus",2:"Invitation Bonus",3:"Referring Others Bonus",4:"Purchase via Card Code",5:"Admin Bonus",6:"QR Code Purchase",7:"MJ Drawing Failure Refund",8:"Sign-in Reward"},vx={0:"Not Paid",1:"Paid",2:"Payment Failed",3:"Payment Timeout"},Ex={logoutSuccess:"Successfully logged out!"},bx={language:rx,common:nx,chat:ax,app:ox,setting:ix,store:sx,draw:cx,pay:lx,mindmap:ux,usercenter:fx,siderBar:dx,notice:hx,login:xx,share:px,goods:mx,rechargeTypes:gx,orderStatus:vx,messages:Ex},Cx="中文",_x={add:"添加",addSuccess:"添加成功",edit:"编辑",editSuccess:"编辑成功",delete:"删除",deleteSuccess:"删除成功",update:"修改",saveSuccess:"保存成功",updateUserSuccess:"修改用户信息成功",reset:"重置",action:"操作",export:"导出",exportSuccess:"导出成功",import:"导入",importSuccess:"导入成功",clear:"清空",clearSuccess:"清空成功",yes:"是",no:"否",download:"下载",noData:"暂无数据",wrong:"好像出错了,请稍后再试。",success:"操作成功",failed:"操作失败",verify:"验证",unauthorizedTips:"未经授权,请先进行验证。",confirm:"确认",cancel:"取消"},yx={newChatButton:"新建聊天",placeholder:"来说点什么吧...(Shift + Enter = 换行)",placeholderMobile:"来说点什么...",copy:"复制",copied:"复制成功",copyCode:"复制代码",clearChat:"清空会话",clearChatConfirm:"是否清空会话?",exportImage:"保存会话到图片",exportImageConfirm:"是否将会话保存为图片?",exportSuccess:"保存成功",exportFailed:"保存失败",deleteMessage:"删除消息",deleteMessageConfirm:"删除此条对话?",deleteHistoryConfirm:"确定删除此记录?",deleteSuccess:"删除成功",clearHistoryConfirm:"确定清空聊天记录?",preview:"预览",showRawText:"显示原文",size:"尺寸:",generatedContentDisclaimer:"AI 生成内容仅供参考,不代表本平台立场。版权所有 ©",square1:"方形(1:1)",illustration:"配图(4:3)",wallpaper:"壁纸(16:9)",media:"媒体(3:4)",poster:"海报(9:16)",square:"方形",landscape:"宽屏",portrait:"垂直",chatDialogue:"对话聊天",startNewConversationPrompt:"点击下方按钮,开始一个新的对话吧",newConversation:"新对话",networkModeEnabledContextInvalid:"已开启联网模式、上下文状态失效!",networkModeDisabled:"已关闭联网模式!",pointsMall:"积分商城",toggleTheme:"切换主题",signInReward:"签到奖励",networkMode:"联网模式",searchHistoryConversations:"搜索历史对话",announcement:"网站公告",clear:"清空对话",remaining:"剩余:",ordinaryPoints:"普通积分",advancedPoints:"高级积分",drawingPoints:"绘画积分",points:"积分",clearConversation:"清空对话",clearAllNonFavoriteConversations:"清空所有非收藏的对话?",more:"更多",collapse:"折叠",myApps:"我的应用",appSquare:"应用广场",favorites:"收藏",todayConversations:"今日对话",historyConversations:"历史对话",favoriteConversations:"收藏对话",unfavorite:"取消收藏",rename:"重命名",deleteConversation:"删除对话",me:"我",onlineSearch:"联网搜索",mindMap:"思维导图",fileAnalysis:"文件分析",delete:"删除",regenerate:"重新生成",pause:"暂停",loading:"加载中...",readAloud:"朗读",U1:"🔍 放大左上",U2:"🔍 放大右上",U3:"🔍 放大左下",U4:"🔍 放大右下",V1:"🪄 变换左上",V2:"🪄 变换右上",V3:"🪄 变换左下",V4:"🪄 变换右下",panLeft:"⬅️ 向左平移",panRight:"➡️ 向右平移",panUp:"⬆️ 向上平移",panDown:"⬇️ 向下平移",zoomIn15x:"↔️ 扩图1.5倍",zoomIn2x:"↔️ 扩图2倍",minorTransform:"🖌️ 微变换",strongTransform:"🖌️ 强变换",enlargeImagePrefix:"放大第",enlargeImageSuffix:"张图片",transformImagePrefix:"变换第",transformImageSuffix:"张图片",expandDrawing:"扩图绘制",advancedTransform:"高级变换",translateImage:"平移图片",imageToImage:"以图生图",faceConsistency:"人脸一致",styleConsistency:"风格一致",selectAppOrTopic:"选择应用或话题快速对话"},Ax={sampleTemplate:"示例模板",exploreInfinitePossibilities:"探索无限可能,与 AI 一同开创智慧未来",searchAppNameQuickFind:"搜索应用名称、快速查找应用...",allCategories:"全部分类",noModelConfigured:"管理员未配置特定应用模型、请联系管理员配置~"},Sx={setting:"设置",general:"总览",advanced:"高级",personalInfo:"个人信息",avatarLink:"头像链接",name:"用户名称",sign:"用户签名",role:"角色设定",resetUserInfo:"重置用户信息",chatHistory:"聊天记录",theme:"主题",language:"语言",api:"API",reverseProxy:"反向代理",timeout:"超时",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余额"},Dx={siderButton:"提示词商店",local:"本地",online:"在线",title:"标题",description:"描述",clearStoreConfirm:"是否清空数据?",importPlaceholder:"请粘贴 JSON 数据到此处",addRepeatTitleTips:"标题重复,请重新输入",addRepeatContentTips:"内容重复:{msg},请重新输入",editRepeatTitleTips:"标题冲突,请重新修改",editRepeatContentTips:"内容冲突{msg} ,请重新修改",importError:"键值不匹配",importRepeatTitle:"标题重复跳过:{msg}",importRepeatContent:"内容重复跳过:{msg}",onlineImportWarning:"注意:请检查 JSON 文件来源!",downloadError:"请检查网络状态与 JSON 文件有效性"},Bx={use:"使用",download:"下载",delete:"删除",zoom:"放大:",U1:"左上",U2:"右上",U3:"左下",U4:"右下",regenerateOnce:"重新生成一次",transform:"变换:",V1:"左上",V2:"右上",V3:"左下",V4:"右下",pan:"平移:",panLeft:"向左",panRight:"向右",panUp:"向上",panDown:"向下",transformZoom:"扩图变换:",zoom1_5x:"扩图1.5倍",zoom2x:"扩图2倍",minorTransform:"微变换",strongTransform:"强变换",regionalRedraw:"区域重绘",regionalRedraw1:"区域重绘(框选要改变的区域)",submitTask:"提交任务",selectSuiteForZoom:"操作:选中套图进行放大",selectSuiteForTransform:"操作:选中套图进行变换",regeneratingImage:"操作:正在对图片重新生成一次",drawingInProgress:"操作:正在火速绘制中...",tryDifferentPrompt:"执行:换个提示词重新试试吧!",statusWaiting:"等待中",statusDrawing:"绘制中",statusSuccess:"成功",statusFailure:"失败",statusTimeout:"超时",downloadImageTitle:"下载图片",downloadImageContent:"下载当前图片",downloadButtonText:"下载",cancelButtonText:"取消",deleteRecordTitle:"删除记录",deleteRecordContent:"删除当前绘制记录?",deleteButtonText:"删除",submitZoomDrawingSuccess:"提交放大绘制任务成功、请等待绘制结束!",submitRedrawSuccess:"提交重新绘制任务成功、请等待绘制结束!",submitTransformDrawingSuccess:"提交变换绘制任务成功、请等待绘制结束!",submitEnlargeDrawingSuccess:"提交扩图任务成功、请等待绘制结束!",submitAdvancedTransformDrawingSuccess:"提交高级变换绘制任务成功、请等待绘制结束!",submitRegionalRedrawSuccess:"提交区域重绘任务成功、请等待绘制结束!",drawingRecordDeleted:"绘制记录已删除!",queueing:"排队中...",drawing:"正在绘制...",storing:"图片存储中...",drawingFailed:"绘制失败",pointsRefunded:"积分已退还!",submitDrawingTaskSuccess:"提交绘制任务成功、请等待绘制结束!",defaultStyle:"默认风格",expressiveStyle:"表现力风格",cuteStyle:"可爱风格",scenicStyle:"景观风格",standardQuality:"普通",generalQuality:"一般",highDefinitionQuality:"高清",ultraHighDefinitionQuality:"超高清",enterDescription:"请输入描述词!",optimizationFailed:"优化失败了!",professionalDrawing:"专业绘图",parameterExplanation:"参数释义:生成图片尺寸比例",imageSize:"图片尺寸",modelSelection:"模型选择",tooltipMJ:"MJ: 偏真实通用模型",tooltipNIJI:"NIJI: 偏动漫风格、适用于二次元模型",version:"版本",style:"风格",parameters:"参数",parametersTooltip:"合理使用参数绘制更为理想的结果!",quality:"品质",chaos:"混乱",chaosDescription:"取值范围:0-100、 --chaos 或 --c",chaosExplanation:"混乱级别,可以理解为让AI天马行空的空间",chaosAdvice:"值越小越可靠、默认0最为精准",stylization:"风格化",stylizationDescription:"风格化:--stylize 或 --s,范围 1-1000",parameterExplanation1:"参数释义:数值越高,画面表现也会更具丰富性和艺术性",setting:"设定",carryParameters:"携带参数",autoCarryParameters:"是否自动携带参数",carryOn:"打开:携带上述我们配置的参数",carryOff:"关闭:使用指令中的我们自定义的参数",imageToImage:"以图生图",clickOrDrag:"点击或拖拽一个图片到这里作为输入",supportFormats:"支持PNG和JPG格式",remainingPoints:"剩余积分",refresh:"刷新",accountInfo:"账户信息",points:"积分",paintingSingleUse:"绘画单次消耗:",imageGenerationSingleUse:"图生图单次消耗:",enlargementSingleUse:"放大单次消耗:",submitDrawingTask:"输入关键词,提交绘制任务",optimize:"优化",enterDrawingKeywords:"输入绘图关键词。例如:一只五颜六色的猫,可爱,卡通",unnecessaryElements:"不需要的元素",exclusionPrompt:"例:生成房间图片、但是不要床、你可以填bed!",workingContents:"工作中的内容",currentTasks:"当前系统进行中任务",goToAIDrawingSquare:"点击前往 AI 绘画广场",tasksInProgress:"个任务正在进行中、请耐心等候绘制完成、您可以前往其他页面稍后回来查看结果!",myDrawings:"我的绘图",aiDrawingSquare:"AI绘画广场",sizeAdjustment:"尺寸调整",keywordSearchPlaceholder:"prompt关键词搜索"},Fx={membershipMarket:"会员商场",sizeAdjustment:"尺寸调整",memberPackage:"会员限时套餐",permanentAddOnCard:"叠加永久次卡",baseModelQuota:"普通积分",advancedModelQuota:"高级积分",MJDrawingQuota:"绘画积分",packageValidity:"套餐有效期",days:"天",permanent:"永久",points:"积分",welcomeTipMobile:"尽情探索,欢迎光临我们的在线商店!",welcomeTipDesktop:"尽情探索,欢迎光临我们的在线商店、感谢您选择我们、让我们一同开启愉悦的购物之旅!",paymentNotEnabled:"管理员还未开启支付!",purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotComplete:"您还没有支付成功哟!",wechat:"微信",alipay:"支付宝",wechatPay:"微信支付",alipayPay:"支付宝支付",paymentSuccess:"恭喜你支付成功、祝您使用愉快!",paymentTimeout:"支付超时,请重新下单!",productPayment:"商品支付",amountDue:"需要支付:",packageName:"套餐名称:",packageDescription:"套餐描述:",siteAdminEnabledRedirect:"当前站长开通了跳转支付",clickToPay:"点击前往支付",completePaymentWithin:"请在",timeToCompletePayment:"时间内完成支付!",open:"打开",scanToPay:"扫码支付"},Px={title:"思维导图",yourNeeds:"您的需求?",inputPlaceholder:"请输入您想要生成内容的简单描述、AI将为您输出一份完整的markdown内容及其思维导图!",generateMindMapButton:"智能生成生成思维导图",contentRequirements:"内容需求",tryDemoButton:"试试示例",usageCredits:"每次使用消耗基础积分: 1",exportHTML:"导出HTML",exportPNG:"导出PNG",exportSVG:"导出SVG"},kx={defaultSignature:"我是一台基于深度学习和自然语言处理技术的 AI 机器人,旨在为用户提供高效、精准、个性化的智能服务。",syncComplete:"已同步数据完成",personalCenter:"个人中心",logOut:"退出登录",myUsageRecord:"我在本站的使用记录",basicModelCredits:"基础模型积分:",advancedModelCredits:"高级模型积分:",basicModelUsage:"基础模型使用:",advancedModelUsage:"高级模型使用:",drawingUsageCredits:"绘画使用积分:",bindWeChat:"绑定微信:",clickToBindWeChat:"点击绑定微信",weChatBound:"已绑定微信",syncVisitorData:"点击同步访客数据",points:"积分",membershipExpiration:"会员过期时间:",editInfoDescription:"编辑个人信息、查看更多详情",myDetails:"我的详情",myWallet:"我的钱包",basicInfo:"基础信息",userBasicSettings:"用户基础设置",avatarPlaceholder:"请填写头像地址",usernamePlaceholder:"请编辑您的用户名",signaturePlaceholder:"请编辑您的签名",passwordManagement:"密码管理",inviteBenefits:"邀请得福利",clickToLogin:"点击登入",notLoggedIn:"未登录",avatar:"头像",username:"用户名称",email:"用户邮箱",inviteeStatus:"受邀人状态",inviteTime:"邀请时间",rewardStatus:"获得奖励状态",certified:"已认证",notActivated:"未激活",rewardReceived:"已领取邀请奖励",waitingConfirmation:"等待受邀人确认",linkGeneratedSuccess:"生成邀请链接成功",generateLinkFirst:"请先生成您的专属邀请链接!",linkCopiedSuccess:"复制专属邀请链接成功!",copyNotSupported:"当前设置不支持自动复制、手动复制吧!",inviteForBenefits:"邀用户、得福利!",myInviteCode:"我的邀请码",generateInviteCode:"生成专属邀请码",copyInviteLink:"复制专属邀请链接",inviteOneUser:"邀请一位用户赠送",basicModelCredits1:"积分基础模型额度+",advancedModelCredits1:"积分高级模型额度+",mjDrawingCredits:"MJ绘画积分额度",receiveInvitation:"收到邀请用户获得",creditsEnd:"积分",invitationRecord:"邀请记录",passwordMinLength:"密码最短长度为6位数",passwordMaxLength:"密码最长长度为30位数",enterPassword:"请输入密码",reenterPassword:"请再次输入密码",passwordsNotMatch:"两次密码输入不一致",passwordUpdateSuccess:"密码更新成功、请重新登录系统!",changeYourPassword:"变更您的密码",oldPassword:"旧密码",newPassword:"新密码",confirmPassword:"确认密码",reloginAfterPasswordChange:"更新密码完成后将重新登录!",updateYourPassword:"更新您的密码",passwordRequirements:"密码要求",newPasswordInstructions:"要创建一个新的密码,你必须满足以下所有要求。",minimumCharacters:"最少6个字符",maximumCharacters:"最多30个字符",requireNumber:"至少带有一个数字",orderNumber:"订单编号",rechargeType:"充值类型",basicModelQuota:"普通积分",advancedModelQuota:"高级积分",mjDrawingQuota:"绘画积分",validity:"有效期",rechargeTime:"充值时间",enterCardSecret:"请先填写卡密!",cardRedeemSuccess:"卡密兑换成功、祝您使用愉快!",userWalletBalance:"用户钱包余额",basicModelBalance:"基础模型余额",creditUsageNote:"每次对话根据模型消费不同积分!",advancedModelBalance:"高级模型余额",modelConsumptionNote:"每次对话根据模型消费不同积分!",mjDrawingBalance:"MJ绘画余额",drawingConsumptionNote:"根据画图动作消耗不同的积分!",cardRecharge:"卡密充值",enterCardDetails:"请粘贴或填写您的卡密信息!",exchange:"兑换",buyCardSecret:"购买卡密",rechargeRecords:"充值记录",packagePurchase:"套餐购买",buyPackage:"购买套餐"},Tx={signInReward:"签到奖励",themeSwitch:"主题切换",personalCenter:"个人中心",loginAccount:"登录账户"},Ix={doNotRemind24h:"我已知晓"},Lx={enterUsername:"请输入用户名",usernameLength:"用户名长度应为 2 到 30 个字符",enterPassword:"请输入密码",passwordLength:"密码长度应为 6 到 30 个字符",enterEmail:"请输入邮箱地址",enterPhone:"请输入手机号码",enterEmailOrPhone:"请输入邮箱地址或手机号码",emailValid:"请输入正确的邮箱地址",enterCaptcha:"请填写图形验证码",emailPhone:"邮箱 / 手机号",email:"邮箱",phone:"手机号",registrationSuccess:"账户注册成功、开始体验吧!",loginSuccess:"账户登录成功、开始体验吧!",registerTitle:"注册",enterContact:"请填写您的",enterCode:"请填写验证码",sendVerificationCode:"发送验证码",optionalInvitationCode:"邀请码[非必填]",registerAccount:"注册账户",alreadyHaveAccount:"已经有帐号?",goToLogin:"去登录",password:"密码",enterYourPassword:"请输入您的账户密码",rememberAccount:"记住帐号",forgotPassword:"忘记密码?",loginAccount:"登录账户",noAccount:"还没有帐号?",register:"去注册",orUse:"或使用",scanLogin:"扫码登录",wechatLogin:"微信登录",wechatScanFailed:"不使用微信扫码登录?试试",useWechatScan:"使用微信扫码登录"},Rx={orderAmount:"订单金额",productType:"商品类型",status:"状态",commissionRate:"佣金比例",commission:"佣金",orderTime:"订购时间",purchasePackage:"购买套餐",accounted:"已入账",generateInviteCodeSuccess:"生成邀请码成功",withdrawalTime:"提现时间",withdrawalAmount:"提现金额",withdrawalChannel:"提现渠道",withdrawalStatus:"提现状态",withdrawalRemarks:"提现备注",auditor:"审核人",alipay:"支付宝",wechat:"微信",paid:"已打款",rejected:"被拒绝",inReview:"审核中",avatar:"头像",username:"用户名",email:"邮箱",inviteeStatus:"受邀人状态",registered:"已注册",pendingActivation:"待激活",registrationTime:"注册时间",lastLogin:"最后登录",requestInviteCodeFirst:"请先申请你的邀请码",linkCopiedSuccess:"复制推荐链接成功",title:"推介计划",description:"加入我们,共享成功!欢迎来到我们的分销页面,成为我们的合作伙伴,一同开创美好未来!",defaultSalesOutletName:"新秀推荐官",myReferrals:"我的推介",currencyUnit:"元",remainingAmount:"剩余可提金额",withdrawingAmount:"提现中金额",withdrawNow:"立即提现",minimumWithdrawalPrefix:"最低",minimumWithdrawalSuffix:"元可提现",purchaseOrderCount:"购买订单数量",promotionLinkVisits:"推广链接访问次数",registeredUsers:"注册用户",referralEarnings:"推介收益",referralEarningsDescription:"推介的用户注册购买产品后返佣金额",percentage:"百分比",applyForAdvancedAgent:"申请成为高级代理",contactAdminForAdvancedAgent:"联系站长申请高级代理可享超高返佣",joinAsPartner:"加入我们成为合伙人",partnerDescription:"加入我们成为合伙人共同运营社区、合作双赢!",winTogether:"合作共赢,携手共进",referralLink:"推荐链接:",apply:"申请",referralRecordsTab:"推介记录",withdrawalRecordsTab:"提现记录",registeredUsersTab:"注册用户",inviteFriends:"邀好友、赠套餐卡密、享充值返佣!",inviteLink:"邀请链接",copy:"复制",inviteBenefits1:"邀请好友双方都可享受一定额度的永久次卡奖励",inviteBenefits2Prefix:"邀请好友充值,您可获得充值金额的",inviteBenefits2Suffix:"%返佣",enterWithdrawalAmount:"请填写你的提款金额!",selectWithdrawalChannel:"请选择你的提款渠道!",enterContactInfo:"请填写您的联系方式并备注!",optionalRemark:"如有特殊情况、请备注说明!",withdrawalSuccess:"申请提现成功、请耐心等待审核!",withdrawalApplicationForm:"提款申请表",contactInformation:"联系方式",withdrawalRemark:"提款备注",enterWithdrawalRemark:"请填写你的提款备注!",applyWithdrawal:"申 请 提 现"},Nx={purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotSuccessful:"您还没有支付成功哟!",orderConfirmationTitle:"订单确认",orderConfirmationContent:"欢迎选购、确定购买",thinkAgain:"我再想想",confirmPurchase:"确认购买",paymentNotEnabled:"管理员还未开启支付!",selectProducts:"选购套餐",basicModelQuota:"基础积分",advancedModelQuota:"高级积分",drawingQuota:"绘画积分",buyPackage:"购买套餐"},Ox={1:"注册赠送",2:"受邀请赠送",3:"邀请他人赠送",4:"购买卡密充值",5:"管理员赠送",6:"扫码购买充值",7:"MJ绘画失败退款",8:"签到奖励"},Mx={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},Ux={logoutSuccess:"登出账户成功!"},Hx={language:Cx,common:_x,chat:yx,app:Ax,setting:Sx,store:Dx,draw:Bx,pay:Fx,mindmap:Px,usercenter:kx,siderBar:Tx,notice:Ix,login:Lx,share:Rx,goods:Nx,rechargeTypes:Ox,orderStatus:Mx,messages:Ux};fu();localStorage.getItem("appLanguage");const Wx="zh-CN",w0=Vh({locale:Wx,fallbackLocale:"en-US",allowComposition:!0,messages:{"en-US":bx,"zh-CN":Hx}}),Rm=w0.global.t;function jx(e){e.use(w0)}function Gx(){const e=Ss(),t=pc(),r=ve(()=>e.theme==="auto"?t.value==="dark":e.theme==="dark"),n=ve(()=>r.value?nr:void 0),o=ve(()=>r.value?{common:{}}:{common:{primaryColor:"#409eff"}}),a={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF",baseColor:"#ffffff"},Switch:{railColorActive:"#5A91FCFF"},Layout:{}},i={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF"},Skeleton:{color:"#F4F3F3FF",colorEnd:"#F1F0F0FF"},Layout:{}};return St(()=>r.value,l=>{l?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},{immediate:!0}),{theme:n,themeOverrides:o,lightThemeOverrides:i,darkThemeOverrides:a}}var A0={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(re,function(){return function(r){var n={};function o(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=r,o.c=n,o.d=function(a,i,l){o.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:l})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,i){if(1&i&&(a=o(a)),8&i||4&i&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),2&i&&typeof a!="string")for(var f in a)o.d(l,f,(function(c){return a[c]}).bind(null,f));return l},o.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(i,"a",i),i},o.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},o.p="",o(o.s=0)}([function(r,n,o){var a,i,l=o(1)(),f=o(3),c=o(4),u=o(6),h=function(){var s=new c;return a=s.getResult(),i=new u,this};h.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return a},getFingerprint:function(){var s="|",d=a.ua,x=this.getScreenPrint(),p=this.getPlugins(),m=this.getFonts(),E=this.isLocalStorage(),g=this.isSessionStorage(),v=this.getTimeZone(),b=this.getLanguage(),y=this.getSystemLanguage(),_=this.isCookie(),A=this.getCanvasPrint();return f(d+s+x+s+p+s+m+s+E+s+g+s+v+s+b+s+y+s+_+s+A,256)},getCustomFingerprint:function(){for(var s="|",d="",x=0;x>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295)<<13|c>>>19))+((5*(c>>>16)&65535)<<16)&4294967295))+((58964+(u>>>16)&65535)<<16);switch(d=0,l){case 3:d^=(255&a.charCodeAt(x+2))<<16;case 2:d^=(255&a.charCodeAt(x+1))<<8;case 1:c^=d=(65535&(d=(d=(65535&(d^=255&a.charCodeAt(x)))*h+(((d>>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295}return c^=a.length,c=2246822507*(65535&(c^=c>>>16))+((2246822507*(c>>>16)&65535)<<16)&4294967295,c=3266489909*(65535&(c^=c>>>13))+((3266489909*(c>>>16)&65535)<<16)&4294967295,(c^=c>>>16)>>>0}},function(r,n,o){var a;(function(i,l){var f="function",c="undefined",u="object",h="string",s="model",d="name",x="type",p="vendor",m="version",E="architecture",g="console",v="mobile",b="tablet",y="smarttv",_="wearable",A="embedded",D="Amazon",B="Apple",S="ASUS",P="BlackBerry",k="Firefox",I="Google",K="Huawei",Y="LG",q="Microsoft",se="Motorola",oe="Opera",ce="Samsung",ae="Sony",L="Xiaomi",U="Zebra",W="Facebook",N=function(F){var H={};for(var j in F)H[F[j].toUpperCase()]=F[j];return H},ue=function(F,H){return typeof F===h&&te(H).indexOf(te(F))!==-1},te=function(F){return F.toLowerCase()},T=function(F,H){if(typeof F===h)return F=F.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof H===c?F:F.substring(0,255)},O=function(F,H){for(var j,J,X,Q,ye,he,Ie=0;Ie0?Q.length==2?typeof Q[1]==f?this[Q[0]]=Q[1].call(this,he):this[Q[0]]=Q[1]:Q.length==3?typeof Q[1]!==f||Q[1].exec&&Q[1].test?this[Q[0]]=he?he.replace(Q[1],Q[2]):l:this[Q[0]]=he?Q[1].call(this,he,Q[2]):l:Q.length==4&&(this[Q[0]]=he?Q[3].call(this,he.replace(Q[1],Q[2])):l):this[Q]=he||l;Ie+=2}},$=function(F,H){for(var j in H)if(typeof H[j]===u&&H[j].length>0){for(var J=0;J255?T(X,255):X,this},this.setUA(j),this};ee.VERSION="0.7.30",ee.BROWSER=N([d,m,"major"]),ee.CPU=N([E]),ee.DEVICE=N([s,p,x,g,v,y,b,_,A]),ee.ENGINE=ee.OS=N([d,m]),typeof n!==c?(typeof r!==c&&r.exports&&(n=r.exports=ee),n.UAParser=ee):o(5)?(a=(function(){return ee}).call(n,o,n,r))===l||(r.exports=a):typeof i!==c&&(i.UAParser=ee);var w=typeof i!==c&&(i.jQuery||i.Zepto);if(w&&!w.ua){var C=new ee;w.ua=C.getResult(),w.ua.get=function(){return C.getUA()},w.ua.set=function(F){C.setUA(F);var H=C.getResult();for(var j in H)w.ua[j]=H[j]}}})(typeof window=="object"?window:this)},function(r,n){(function(o){r.exports=o}).call(this,{})},function(r,n){r.exports=function(){var o=["monospace","sans-serif","serif"],a=document.getElementsByTagName("body")[0],i=document.createElement("span");i.style.fontSize="72px",i.innerHTML="mmmmmmmmmmlli";var l={},f={};for(var c in o)i.style.fontFamily=o[c],a.appendChild(i),l[o[c]]=i.offsetWidth,f[o[c]]=i.offsetHeight,a.removeChild(i);this.detect=function(u){var h=!1;for(var s in o){i.style.fontFamily=u+","+o[s],a.appendChild(i);var d=i.offsetWidth!=l[o[s]]||i.offsetHeight!=f[o[s]];a.removeChild(i),h=h||d}return h}}}])})})(A0);var $x=A0.exports;/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const yt=typeof document<"u";function $x(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Dn(e,t){const r={};for(const n in t){const o=t[n];r[n]=$e(o)?o.map(e):e(o)}return r}const Wt=()=>{},$e=Array.isArray,S0=/#/g,Vx=/&/g,qx=/\//g,zx=/=/g,Kx=/\?/g,D0=/\+/g,Yx=/%5B/g,Xx=/%5D/g,B0=/%5E/g,Qx=/%60/g,F0=/%7B/g,Jx=/%7C/g,P0=/%7D/g,Zx=/%20/g;function ka(e){return encodeURI(""+e).replace(Jx,"|").replace(Yx,"[").replace(Xx,"]")}function ep(e){return ka(e).replace(F0,"{").replace(P0,"}").replace(B0,"^")}function ra(e){return ka(e).replace(D0,"%2B").replace(Zx,"+").replace(S0,"%23").replace(Vx,"%26").replace(Qx,"`").replace(F0,"{").replace(P0,"}").replace(B0,"^")}function tp(e){return ra(e).replace(zx,"%3D")}function rp(e){return ka(e).replace(S0,"%23").replace(Kx,"%3F")}function np(e){return e==null?"":rp(e).replace(qx,"%2F")}function Qt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ap=/\/$/,op=e=>e.replace(ap,"");function Bn(e,t,r="/"){let n,o={},a="",i="";const l=t.indexOf("#");let f=t.indexOf("?");return l=0&&(f=-1),f>-1&&(n=t.slice(0,f),a=t.slice(f+1,l>-1?l:t.length),o=e(a)),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),n=lp(n??t,r),{fullPath:n+(a&&"?")+a+i,path:n,query:o,hash:Qt(i)}}function ip(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ki(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sp(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&kt(t.matched[n],r.matched[o])&&k0(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function k0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!cp(e[r],t[r]))return!1;return!0}function cp(e,t){return $e(e)?Ti(e,t):$e(t)?Ti(t,e):e===t}function Ti(e,t){return $e(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function lp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let a=r.length-1,i,l;for(i=0;i1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(i).join("/")}var Jt;(function(e){e.pop="pop",e.push="push"})(Jt||(Jt={}));var jt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jt||(jt={}));function up(e){if(!e)if(yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),op(e)}const fp=/^[^#]+#/;function dp(e,t){return e.replace(fp,"#")+t}function hp(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Pr=()=>({left:window.scrollX,top:window.scrollY});function xp(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=hp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ii(e,t){return(history.state?history.state.position-t:-1)+e}const na=new Map;function pp(e,t){na.set(e,t)}function mp(e){const t=na.get(e);return na.delete(e),t}let gp=()=>location.protocol+"//"+location.host;function T0(e,t){const{pathname:r,search:n,hash:o}=t,a=e.indexOf("#");if(a>-1){let l=o.includes(e.slice(a))?e.slice(a).length:1,f=o.slice(l);return f[0]!=="/"&&(f="/"+f),ki(f,"")}return ki(r,e)+n+o}function vp(e,t,r,n){let o=[],a=[],i=null;const l=({state:s})=>{const d=T0(e,location),x=r.value,p=t.value;let m=0;if(s){if(r.value=d,t.value=s,i&&i===x){i=null;return}m=p?s.position-p.position:0}else n(d);o.forEach(E=>{E(r.value,x,{delta:m,type:Jt.pop,direction:m?m>0?jt.forward:jt.back:jt.unknown})})};function f(){i=r.value}function c(s){o.push(s);const d=()=>{const x=o.indexOf(s);x>-1&&o.splice(x,1)};return a.push(d),d}function u(){const{history:s}=window;s.state&&s.replaceState(me({},s.state,{scroll:Pr()}),"")}function h(){for(const s of a)s();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:f,listen:c,destroy:h}}function Li(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?Pr():null}}function Ep(e){const{history:t,location:r}=window,n={value:T0(e,r)},o={value:t.state};o.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(f,c,u){const h=e.indexOf("#"),s=h>-1?(r.host&&document.querySelector("base")?e:e.slice(h))+f:gp()+e+f;try{t[u?"replaceState":"pushState"](c,"",s),o.value=c}catch(d){console.error(d),r[u?"replace":"assign"](s)}}function i(f,c){const u=me({},t.state,Li(o.value.back,f,o.value.forward,!0),c,{position:o.value.position});a(f,u,!0),n.value=f}function l(f,c){const u=me({},o.value,t.state,{forward:f,scroll:Pr()});a(u.current,u,!0);const h=me({},Li(n.value,f,null),{position:u.position+1},c);a(f,h,!1),n.value=f}return{location:n,state:o,push:l,replace:i}}function bp(e){e=up(e);const t=Ep(e),r=vp(e,t.state,t.location,t.replace);function n(a,i=!0){i||r.pauseListeners(),history.go(a)}const o=me({location:"",base:e,go:n,createHref:dp.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Cp(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),bp(e)}function _p(e){return typeof e=="string"||e&&typeof e=="object"}function I0(e){return typeof e=="string"||typeof e=="symbol"}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},L0=Symbol("");var Ri;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ri||(Ri={}));function Tt(e,t){return me(new Error,{type:e,[L0]:!0},t)}function Je(e,t){return e instanceof Error&&L0 in e&&(t==null||!!(e.type&t))}const Ni="[^/]+?",yp={sensitive:!1,strict:!1,start:!0,end:!0},wp=/[.+*?^${}()[\]/\\]/g;function Ap(e,t){const r=me({},yp,t),n=[];let o=r.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];r.strict&&!c.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Dp(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const Bp={type:0,value:""},Fp=/[a-zA-Z0-9_]/;function Pp(e){if(!e)return[[]];if(e==="/")return[[Bp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${r})/"${c}": ${d}`)}let r=0,n=r;const o=[];let a;function i(){a&&o.push(a),a=[]}let l=0,f,c="",u="";function h(){c&&(r===0?a.push({type:0,value:c}):r===1||r===2||r===3?(a.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),c="")}function s(){c+=f}for(;l{i(g)}:Wt}function i(u){if(I0(u)){const h=n.get(u);h&&(n.delete(u),r.splice(r.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=r.indexOf(u);h>-1&&(r.splice(h,1),u.record.name&&n.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return r}function f(u){let h=0;for(;h=0&&(u.record.path!==r[h].record.path||!R0(u,r[h]));)h++;r.splice(h,0,u),u.record.name&&!Ui(u)&&n.set(u.record.name,u)}function c(u,h){let s,d={},x,p;if("name"in u&&u.name){if(s=n.get(u.name),!s)throw Tt(1,{location:u});p=s.record.name,d=me(Mi(h.params,s.keys.filter(g=>!g.optional).concat(s.parent?s.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Mi(u.params,s.keys.map(g=>g.name))),x=s.stringify(d)}else if(u.path!=null)x=u.path,s=r.find(g=>g.re.test(x)),s&&(d=s.parse(x),p=s.record.name);else{if(s=h.name?n.get(h.name):r.find(g=>g.re.test(h.path)),!s)throw Tt(1,{location:u,currentLocation:h});p=s.record.name,d=me({},h.params,u.params),x=s.stringify(d)}const m=[];let E=s;for(;E;)m.unshift(E.record),E=E.parent;return{name:p,path:x,params:d,matched:m,meta:Rp(m)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Mi(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Ip(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Lp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Lp(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function Ui(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rp(e){return e.reduce((t,r)=>me(t,r.meta),{})}function Hi(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function R0(e,t){return t.children.some(r=>r===e||R0(e,r))}function Np(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&ra(a)):[n&&ra(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function Op(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=$e(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const Mp=Symbol(""),ji=Symbol(""),kr=Symbol(""),Ta=Symbol(""),aa=Symbol("");function Mt(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function lt(e,t,r,n,o,a=i=>i()){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,f)=>{const c=s=>{s===!1?f(Tt(4,{from:r,to:t})):s instanceof Error?f(s):_p(s)?f(Tt(2,{from:t,to:s})):(i&&n.enterCallbacks[o]===i&&typeof s=="function"&&i.push(s),l())},u=a(()=>e.call(n&&n.instances[o],t,r,c));let h=Promise.resolve(u);e.length<3&&(h=h.then(c)),h.catch(s=>f(s))})}function Fn(e,t,r,n,o=a=>a()){const a=[];for(const i of e)for(const l in i.components){let f=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Up(f)){const u=(f.__vccOpts||f)[t];u&&a.push(lt(u,r,n,i,l,o))}else{let c=f();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=$x(u)?u.default:u;i.components[l]=h;const d=(h.__vccOpts||h)[t];return d&<(d,r,n,i,l,o)()}))}}return a}function Up(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Gi(e){const t=nt(kr),r=nt(Ta),n=ve(()=>t.resolve(Re(e.to))),o=ve(()=>{const{matched:f}=n.value,{length:c}=f,u=f[c-1],h=r.matched;if(!u||!h.length)return-1;const s=h.findIndex(kt.bind(null,u));if(s>-1)return s;const d=$i(f[c-2]);return c>1&&$i(u)===d&&h[h.length-1].path!==d?h.findIndex(kt.bind(null,f[c-2])):s}),a=ve(()=>o.value>-1&&Gp(r.params,n.value.params)),i=ve(()=>o.value>-1&&o.value===r.matched.length-1&&k0(r.params,n.value.params));function l(f={}){return jp(f)?t[Re(e.replace)?"replace":"push"](Re(e.to)).catch(Wt):Promise.resolve()}return{route:n,href:ve(()=>n.value.href),isActive:a,isExactActive:i,navigate:l}}const Hp=rt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Gi,setup(e,{slots:t}){const r=Xi(Gi(e)),{options:n}=nt(kr),o=ve(()=>({[Vi(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Vi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:mt("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),Wp=Hp;function jp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Gp(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!$e(o)||o.length!==n.length||n.some((a,i)=>a!==o[i]))return!1}return!0}function $i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vi=(e,t,r)=>e??t??r,$p=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=nt(aa),o=ve(()=>e.route||n.value),a=nt(ji,0),i=ve(()=>{let c=Re(a);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),l=ve(()=>o.value.matched[i.value]);Lr(ji,ve(()=>i.value+1)),Lr(Mp,l),Lr(aa,o);const f=Ze();return St(()=>[f.value,l.value,e.name],([c,u,h],[s,d,x])=>{u&&(u.instances[h]=c,d&&d!==u&&c&&c===s&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!kt(u,d)||!s)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,h=l.value,s=h&&h.components[u];if(!s)return qi(r.default,{Component:s,route:c});const d=h.props[u],x=d?d===!0?c.params:typeof d=="function"?d(c):d:null,m=mt(s,me({},x,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:f}));return qi(r.default,{Component:m,route:c})||m}}});function qi(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Vp=$p;function qp(e){const t=Tp(e.routes,e),r=e.parseQuery||Np,n=e.stringifyQuery||Wi,o=e.history,a=Mt(),i=Mt(),l=Mt(),f=sa(st);let c=st;yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Dn.bind(null,T=>""+T),h=Dn.bind(null,np),s=Dn.bind(null,Qt);function d(T,O){let $,z;return I0(T)?($=t.getRecordMatcher(T),z=O):z=T,t.addRoute(z,$)}function x(T){const O=t.getRecordMatcher(T);O&&t.removeRoute(O)}function p(){return t.getRoutes().map(T=>T.record)}function m(T){return!!t.getRecordMatcher(T)}function E(T,O){if(O=me({},O||f.value),typeof T=="string"){const C=Bn(r,T,O.path),F=t.resolve({path:C.path},O),H=o.createHref(C.fullPath);return me(C,F,{params:s(F.params),hash:Qt(C.hash),redirectedFrom:void 0,href:H})}let $;if(T.path!=null)$=me({},T,{path:Bn(r,T.path,O.path).path});else{const C=me({},T.params);for(const F in C)C[F]==null&&delete C[F];$=me({},T,{params:h(C)}),O.params=h(O.params)}const z=t.resolve($,O),ie=T.hash||"";z.params=u(s(z.params));const ee=ip(n,me({},T,{hash:ep(ie),path:z.path})),w=o.createHref(ee);return me({fullPath:ee,hash:ie,query:n===Wi?Op(T.query):T.query||{}},z,{redirectedFrom:void 0,href:w})}function g(T){return typeof T=="string"?Bn(r,T,f.value.path):me({},T)}function v(T,O){if(c!==T)return Tt(8,{from:O,to:T})}function b(T){return A(T)}function y(T){return b(me(g(T),{replace:!0}))}function _(T){const O=T.matched[T.matched.length-1];if(O&&O.redirect){const{redirect:$}=O;let z=typeof $=="function"?$(T):$;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),me({query:T.query,hash:T.hash,params:z.path!=null?{}:T.params},z)}}function A(T,O){const $=c=E(T),z=f.value,ie=T.state,ee=T.force,w=T.replace===!0,C=_($);if(C)return A(me(g(C),{state:typeof C=="object"?me({},ie,C.state):ie,force:ee,replace:w}),O||$);const F=$;F.redirectedFrom=O;let H;return!ee&&sp(n,z,$)&&(H=Tt(16,{to:F,from:z}),L(z,z,!0,!1)),(H?Promise.resolve(H):S(F,z)).catch(j=>Je(j)?Je(j,2)?j:ae(j):oe(j,F,z)).then(j=>{if(j){if(Je(j,2))return A(me({replace:w},g(j.to),{state:typeof j.to=="object"?me({},ie,j.to.state):ie,force:ee}),O||F)}else j=k(F,z,!0,w,ie);return P(F,z,j),j})}function D(T,O){const $=v(T,O);return $?Promise.reject($):Promise.resolve()}function B(T){const O=N.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(T):T()}function S(T,O){let $;const[z,ie,ee]=zp(T,O);$=Fn(z.reverse(),"beforeRouteLeave",T,O);for(const C of z)C.leaveGuards.forEach(F=>{$.push(lt(F,T,O))});const w=D.bind(null,T,O);return $.push(w),te($).then(()=>{$=[];for(const C of a.list())$.push(lt(C,T,O));return $.push(w),te($)}).then(()=>{$=Fn(ie,"beforeRouteUpdate",T,O);for(const C of ie)C.updateGuards.forEach(F=>{$.push(lt(F,T,O))});return $.push(w),te($)}).then(()=>{$=[];for(const C of ee)if(C.beforeEnter)if($e(C.beforeEnter))for(const F of C.beforeEnter)$.push(lt(F,T,O));else $.push(lt(C.beforeEnter,T,O));return $.push(w),te($)}).then(()=>(T.matched.forEach(C=>C.enterCallbacks={}),$=Fn(ee,"beforeRouteEnter",T,O,B),$.push(w),te($))).then(()=>{$=[];for(const C of i.list())$.push(lt(C,T,O));return $.push(w),te($)}).catch(C=>Je(C,8)?C:Promise.reject(C))}function P(T,O,$){l.list().forEach(z=>B(()=>z(T,O,$)))}function k(T,O,$,z,ie){const ee=v(T,O);if(ee)return ee;const w=O===st,C=yt?history.state:{};$&&(z||w?o.replace(T.fullPath,me({scroll:w&&C&&C.scroll},ie)):o.push(T.fullPath,ie)),f.value=T,L(T,O,$,w),ae()}let I;function K(){I||(I=o.listen((T,O,$)=>{if(!ue.listening)return;const z=E(T),ie=_(z);if(ie){A(me(ie,{replace:!0}),z).catch(Wt);return}c=z;const ee=f.value;yt&&pp(Ii(ee.fullPath,$.delta),Pr()),S(z,ee).catch(w=>Je(w,12)?w:Je(w,2)?(A(w.to,z).then(C=>{Je(C,20)&&!$.delta&&$.type===Jt.pop&&o.go(-1,!1)}).catch(Wt),Promise.reject()):($.delta&&o.go(-$.delta,!1),oe(w,z,ee))).then(w=>{w=w||k(z,ee,!1),w&&($.delta&&!Je(w,8)?o.go(-$.delta,!1):$.type===Jt.pop&&Je(w,20)&&o.go(-1,!1)),P(z,ee,w)}).catch(Wt)}))}let Y=Mt(),q=Mt(),se;function oe(T,O,$){ae(T);const z=q.list();return z.length?z.forEach(ie=>ie(T,O,$)):console.error(T),Promise.reject(T)}function ce(){return se&&f.value!==st?Promise.resolve():new Promise((T,O)=>{Y.add([T,O])})}function ae(T){return se||(se=!T,K(),Y.list().forEach(([O,$])=>T?$(T):O()),Y.reset()),T}function L(T,O,$,z){const{scrollBehavior:ie}=e;if(!yt||!ie)return Promise.resolve();const ee=!$&&mp(Ii(T.fullPath,0))||(z||!$)&&history.state&&history.state.scroll||null;return Ji().then(()=>ie(T,O,ee)).then(w=>w&&xp(w)).catch(w=>oe(w,T,O))}const U=T=>o.go(T);let W;const N=new Set,ue={currentRoute:f,listening:!0,addRoute:d,removeRoute:x,hasRoute:m,getRoutes:p,resolve:E,options:e,push:b,replace:y,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:q.add,isReady:ce,install(T){const O=this;T.component("RouterLink",Wp),T.component("RouterView",Vp),T.config.globalProperties.$router=O,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Re(f)}),yt&&!W&&f.value===st&&(W=!0,b(o.location).catch(ie=>{}));const $={};for(const ie in st)Object.defineProperty($,ie,{get:()=>f.value[ie],enumerable:!0});T.provide(kr,O),T.provide(Ta,rc($)),T.provide(aa,f);const z=T.unmount;N.add(T),T.unmount=function(){N.delete(T),N.size<1&&(c=st,I&&I(),I=null,f.value=st,W=!1,se=!1),z()}}};function te(T){return T.reduce((O,$)=>O.then(()=>B($)),Promise.resolve())}return ue}function zp(e,t){const r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;ikt(c,l))?n.push(l):r.push(l));const f=e.matched[i];f&&(t.matched.find(c=>kt(c,f))||o.push(f))}return[r,n,o]}function Kp(){return nt(kr)}function Nm(){return nt(Ta)}const Yp=rt({__name:"App",setup(e){const t=new Gx.ClientJS,r=Ys(),n=t.getFingerprint(),o=Kt(),a=Zf(),i=Kp();a.updateFingerprint(n);const{theme:l,lightThemeOverrides:f,darkThemeOverrides:c}=jx(),u=ve(()=>{var v;return(v=o.globalConfig)==null?void 0:v.clientHomePath}),h=ve(()=>{var v;return((v=o.globalConfig)==null?void 0:v.clientFavoIconPath)||_c}),s=ve(()=>{var v;return Number((v=o.globalConfig)==null?void 0:v.isAutoOpenNotice)===1});async function d(){var _;const v=((_=o.globalConfig)==null?void 0:_.baiduCode)||"";if(!v)return;const b=document.createElement("script"),y=v.replace(/([\s\S]*?)<\/script>/gi,"$1");b.innerHTML=y,document.head.appendChild(b)}function x(){var v;document.title=((v=o.globalConfig)==null?void 0:v.siteName)||"AI"}const p=ve(()=>l.value?c:f);function m(){u.value&&i.push(u.value)}function E(){const v=Be.get("showNotice");(!v&&s.value||Date.now()>Number(v)&&s.value)&&a.updateNoticeDialog(!0)}const g=document.createElement("link");return g.rel="shortcut icon",g.href=h.value,document.getElementsByTagName("head")[0].appendChild(g),Zi(async()=>{m(),await r.getBaseModelConfig(),d(),x(),E()}),(v,b)=>{const y=nc("RouterView");return zi(),Ki(Re(gc),{class:"h-full",theme:Re(l),"theme-overrides":p.value,locale:v.language,"date-locale":Re(mc),"preflight-style-disabled":""},{default:wt(()=>[ut(Re(yc),null,{default:wt(()=>[ut(y)]),_:1}),ut(Re(vc))]),_:1},8,["theme","theme-overrides","locale","date-locale"])}}});function Xp(){const e=document.createElement("meta");e.name="naive-ui-style",document.head.appendChild(e)}function Qp(){Xp()}const Jp=()=>{var r,n,o,a,i,l;const e=document.createElement("style"),t=` + */const yt=typeof document<"u";function Vx(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Dn(e,t){const r={};for(const n in t){const o=t[n];r[n]=$e(o)?o.map(e):e(o)}return r}const Wt=()=>{},$e=Array.isArray,S0=/#/g,qx=/&/g,zx=/\//g,Kx=/=/g,Yx=/\?/g,D0=/\+/g,Xx=/%5B/g,Qx=/%5D/g,B0=/%5E/g,Jx=/%60/g,F0=/%7B/g,Zx=/%7C/g,P0=/%7D/g,ep=/%20/g;function ka(e){return encodeURI(""+e).replace(Zx,"|").replace(Xx,"[").replace(Qx,"]")}function tp(e){return ka(e).replace(F0,"{").replace(P0,"}").replace(B0,"^")}function ra(e){return ka(e).replace(D0,"%2B").replace(ep,"+").replace(S0,"%23").replace(qx,"%26").replace(Jx,"`").replace(F0,"{").replace(P0,"}").replace(B0,"^")}function rp(e){return ra(e).replace(Kx,"%3D")}function np(e){return ka(e).replace(S0,"%23").replace(Yx,"%3F")}function ap(e){return e==null?"":np(e).replace(zx,"%2F")}function Qt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const op=/\/$/,ip=e=>e.replace(op,"");function Bn(e,t,r="/"){let n,o={},a="",i="";const l=t.indexOf("#");let f=t.indexOf("?");return l=0&&(f=-1),f>-1&&(n=t.slice(0,f),a=t.slice(f+1,l>-1?l:t.length),o=e(a)),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),n=up(n??t,r),{fullPath:n+(a&&"?")+a+i,path:n,query:o,hash:Qt(i)}}function sp(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ki(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cp(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&kt(t.matched[n],r.matched[o])&&k0(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function k0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!lp(e[r],t[r]))return!1;return!0}function lp(e,t){return $e(e)?Ti(e,t):$e(t)?Ti(t,e):e===t}function Ti(e,t){return $e(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function up(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let a=r.length-1,i,l;for(i=0;i1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(i).join("/")}var Jt;(function(e){e.pop="pop",e.push="push"})(Jt||(Jt={}));var jt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jt||(jt={}));function fp(e){if(!e)if(yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ip(e)}const dp=/^[^#]+#/;function hp(e,t){return e.replace(dp,"#")+t}function xp(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Pr=()=>({left:window.scrollX,top:window.scrollY});function pp(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=xp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ii(e,t){return(history.state?history.state.position-t:-1)+e}const na=new Map;function mp(e,t){na.set(e,t)}function gp(e){const t=na.get(e);return na.delete(e),t}let vp=()=>location.protocol+"//"+location.host;function T0(e,t){const{pathname:r,search:n,hash:o}=t,a=e.indexOf("#");if(a>-1){let l=o.includes(e.slice(a))?e.slice(a).length:1,f=o.slice(l);return f[0]!=="/"&&(f="/"+f),ki(f,"")}return ki(r,e)+n+o}function Ep(e,t,r,n){let o=[],a=[],i=null;const l=({state:s})=>{const d=T0(e,location),x=r.value,p=t.value;let m=0;if(s){if(r.value=d,t.value=s,i&&i===x){i=null;return}m=p?s.position-p.position:0}else n(d);o.forEach(E=>{E(r.value,x,{delta:m,type:Jt.pop,direction:m?m>0?jt.forward:jt.back:jt.unknown})})};function f(){i=r.value}function c(s){o.push(s);const d=()=>{const x=o.indexOf(s);x>-1&&o.splice(x,1)};return a.push(d),d}function u(){const{history:s}=window;s.state&&s.replaceState(me({},s.state,{scroll:Pr()}),"")}function h(){for(const s of a)s();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:f,listen:c,destroy:h}}function Li(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?Pr():null}}function bp(e){const{history:t,location:r}=window,n={value:T0(e,r)},o={value:t.state};o.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(f,c,u){const h=e.indexOf("#"),s=h>-1?(r.host&&document.querySelector("base")?e:e.slice(h))+f:vp()+e+f;try{t[u?"replaceState":"pushState"](c,"",s),o.value=c}catch(d){console.error(d),r[u?"replace":"assign"](s)}}function i(f,c){const u=me({},t.state,Li(o.value.back,f,o.value.forward,!0),c,{position:o.value.position});a(f,u,!0),n.value=f}function l(f,c){const u=me({},o.value,t.state,{forward:f,scroll:Pr()});a(u.current,u,!0);const h=me({},Li(n.value,f,null),{position:u.position+1},c);a(f,h,!1),n.value=f}return{location:n,state:o,push:l,replace:i}}function Cp(e){e=fp(e);const t=bp(e),r=Ep(e,t.state,t.location,t.replace);function n(a,i=!0){i||r.pauseListeners(),history.go(a)}const o=me({location:"",base:e,go:n,createHref:hp.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function _p(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Cp(e)}function yp(e){return typeof e=="string"||e&&typeof e=="object"}function I0(e){return typeof e=="string"||typeof e=="symbol"}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},L0=Symbol("");var Ri;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ri||(Ri={}));function Tt(e,t){return me(new Error,{type:e,[L0]:!0},t)}function Je(e,t){return e instanceof Error&&L0 in e&&(t==null||!!(e.type&t))}const Ni="[^/]+?",wp={sensitive:!1,strict:!1,start:!0,end:!0},Ap=/[.+*?^${}()[\]/\\]/g;function Sp(e,t){const r=me({},wp,t),n=[];let o=r.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];r.strict&&!c.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Bp(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const Fp={type:0,value:""},Pp=/[a-zA-Z0-9_]/;function kp(e){if(!e)return[[]];if(e==="/")return[[Fp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${r})/"${c}": ${d}`)}let r=0,n=r;const o=[];let a;function i(){a&&o.push(a),a=[]}let l=0,f,c="",u="";function h(){c&&(r===0?a.push({type:0,value:c}):r===1||r===2||r===3?(a.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),c="")}function s(){c+=f}for(;l{i(g)}:Wt}function i(u){if(I0(u)){const h=n.get(u);h&&(n.delete(u),r.splice(r.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=r.indexOf(u);h>-1&&(r.splice(h,1),u.record.name&&n.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return r}function f(u){let h=0;for(;h=0&&(u.record.path!==r[h].record.path||!R0(u,r[h]));)h++;r.splice(h,0,u),u.record.name&&!Ui(u)&&n.set(u.record.name,u)}function c(u,h){let s,d={},x,p;if("name"in u&&u.name){if(s=n.get(u.name),!s)throw Tt(1,{location:u});p=s.record.name,d=me(Mi(h.params,s.keys.filter(g=>!g.optional).concat(s.parent?s.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Mi(u.params,s.keys.map(g=>g.name))),x=s.stringify(d)}else if(u.path!=null)x=u.path,s=r.find(g=>g.re.test(x)),s&&(d=s.parse(x),p=s.record.name);else{if(s=h.name?n.get(h.name):r.find(g=>g.re.test(h.path)),!s)throw Tt(1,{location:u,currentLocation:h});p=s.record.name,d=me({},h.params,u.params),x=s.stringify(d)}const m=[];let E=s;for(;E;)m.unshift(E.record),E=E.parent;return{name:p,path:x,params:d,matched:m,meta:Np(m)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Mi(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Lp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Rp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Rp(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function Ui(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Np(e){return e.reduce((t,r)=>me(t,r.meta),{})}function Hi(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function R0(e,t){return t.children.some(r=>r===e||R0(e,r))}function Op(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&ra(a)):[n&&ra(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function Mp(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=$e(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const Up=Symbol(""),ji=Symbol(""),kr=Symbol(""),Ta=Symbol(""),aa=Symbol("");function Mt(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function lt(e,t,r,n,o,a=i=>i()){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,f)=>{const c=s=>{s===!1?f(Tt(4,{from:r,to:t})):s instanceof Error?f(s):yp(s)?f(Tt(2,{from:t,to:s})):(i&&n.enterCallbacks[o]===i&&typeof s=="function"&&i.push(s),l())},u=a(()=>e.call(n&&n.instances[o],t,r,c));let h=Promise.resolve(u);e.length<3&&(h=h.then(c)),h.catch(s=>f(s))})}function Fn(e,t,r,n,o=a=>a()){const a=[];for(const i of e)for(const l in i.components){let f=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Hp(f)){const u=(f.__vccOpts||f)[t];u&&a.push(lt(u,r,n,i,l,o))}else{let c=f();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=Vx(u)?u.default:u;i.components[l]=h;const d=(h.__vccOpts||h)[t];return d&<(d,r,n,i,l,o)()}))}}return a}function Hp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Gi(e){const t=nt(kr),r=nt(Ta),n=ve(()=>t.resolve(Re(e.to))),o=ve(()=>{const{matched:f}=n.value,{length:c}=f,u=f[c-1],h=r.matched;if(!u||!h.length)return-1;const s=h.findIndex(kt.bind(null,u));if(s>-1)return s;const d=$i(f[c-2]);return c>1&&$i(u)===d&&h[h.length-1].path!==d?h.findIndex(kt.bind(null,f[c-2])):s}),a=ve(()=>o.value>-1&&$p(r.params,n.value.params)),i=ve(()=>o.value>-1&&o.value===r.matched.length-1&&k0(r.params,n.value.params));function l(f={}){return Gp(f)?t[Re(e.replace)?"replace":"push"](Re(e.to)).catch(Wt):Promise.resolve()}return{route:n,href:ve(()=>n.value.href),isActive:a,isExactActive:i,navigate:l}}const Wp=rt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Gi,setup(e,{slots:t}){const r=Xi(Gi(e)),{options:n}=nt(kr),o=ve(()=>({[Vi(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Vi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:mt("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),jp=Wp;function Gp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function $p(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!$e(o)||o.length!==n.length||n.some((a,i)=>a!==o[i]))return!1}return!0}function $i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vi=(e,t,r)=>e??t??r,Vp=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=nt(aa),o=ve(()=>e.route||n.value),a=nt(ji,0),i=ve(()=>{let c=Re(a);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),l=ve(()=>o.value.matched[i.value]);Lr(ji,ve(()=>i.value+1)),Lr(Up,l),Lr(aa,o);const f=Ze();return St(()=>[f.value,l.value,e.name],([c,u,h],[s,d,x])=>{u&&(u.instances[h]=c,d&&d!==u&&c&&c===s&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!kt(u,d)||!s)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,h=l.value,s=h&&h.components[u];if(!s)return qi(r.default,{Component:s,route:c});const d=h.props[u],x=d?d===!0?c.params:typeof d=="function"?d(c):d:null,m=mt(s,me({},x,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:f}));return qi(r.default,{Component:m,route:c})||m}}});function qi(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const qp=Vp;function zp(e){const t=Ip(e.routes,e),r=e.parseQuery||Op,n=e.stringifyQuery||Wi,o=e.history,a=Mt(),i=Mt(),l=Mt(),f=sa(st);let c=st;yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Dn.bind(null,T=>""+T),h=Dn.bind(null,ap),s=Dn.bind(null,Qt);function d(T,O){let $,z;return I0(T)?($=t.getRecordMatcher(T),z=O):z=T,t.addRoute(z,$)}function x(T){const O=t.getRecordMatcher(T);O&&t.removeRoute(O)}function p(){return t.getRoutes().map(T=>T.record)}function m(T){return!!t.getRecordMatcher(T)}function E(T,O){if(O=me({},O||f.value),typeof T=="string"){const C=Bn(r,T,O.path),F=t.resolve({path:C.path},O),H=o.createHref(C.fullPath);return me(C,F,{params:s(F.params),hash:Qt(C.hash),redirectedFrom:void 0,href:H})}let $;if(T.path!=null)$=me({},T,{path:Bn(r,T.path,O.path).path});else{const C=me({},T.params);for(const F in C)C[F]==null&&delete C[F];$=me({},T,{params:h(C)}),O.params=h(O.params)}const z=t.resolve($,O),ie=T.hash||"";z.params=u(s(z.params));const ee=sp(n,me({},T,{hash:tp(ie),path:z.path})),w=o.createHref(ee);return me({fullPath:ee,hash:ie,query:n===Wi?Mp(T.query):T.query||{}},z,{redirectedFrom:void 0,href:w})}function g(T){return typeof T=="string"?Bn(r,T,f.value.path):me({},T)}function v(T,O){if(c!==T)return Tt(8,{from:O,to:T})}function b(T){return A(T)}function y(T){return b(me(g(T),{replace:!0}))}function _(T){const O=T.matched[T.matched.length-1];if(O&&O.redirect){const{redirect:$}=O;let z=typeof $=="function"?$(T):$;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),me({query:T.query,hash:T.hash,params:z.path!=null?{}:T.params},z)}}function A(T,O){const $=c=E(T),z=f.value,ie=T.state,ee=T.force,w=T.replace===!0,C=_($);if(C)return A(me(g(C),{state:typeof C=="object"?me({},ie,C.state):ie,force:ee,replace:w}),O||$);const F=$;F.redirectedFrom=O;let H;return!ee&&cp(n,z,$)&&(H=Tt(16,{to:F,from:z}),L(z,z,!0,!1)),(H?Promise.resolve(H):S(F,z)).catch(j=>Je(j)?Je(j,2)?j:ae(j):oe(j,F,z)).then(j=>{if(j){if(Je(j,2))return A(me({replace:w},g(j.to),{state:typeof j.to=="object"?me({},ie,j.to.state):ie,force:ee}),O||F)}else j=k(F,z,!0,w,ie);return P(F,z,j),j})}function D(T,O){const $=v(T,O);return $?Promise.reject($):Promise.resolve()}function B(T){const O=N.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(T):T()}function S(T,O){let $;const[z,ie,ee]=Kp(T,O);$=Fn(z.reverse(),"beforeRouteLeave",T,O);for(const C of z)C.leaveGuards.forEach(F=>{$.push(lt(F,T,O))});const w=D.bind(null,T,O);return $.push(w),te($).then(()=>{$=[];for(const C of a.list())$.push(lt(C,T,O));return $.push(w),te($)}).then(()=>{$=Fn(ie,"beforeRouteUpdate",T,O);for(const C of ie)C.updateGuards.forEach(F=>{$.push(lt(F,T,O))});return $.push(w),te($)}).then(()=>{$=[];for(const C of ee)if(C.beforeEnter)if($e(C.beforeEnter))for(const F of C.beforeEnter)$.push(lt(F,T,O));else $.push(lt(C.beforeEnter,T,O));return $.push(w),te($)}).then(()=>(T.matched.forEach(C=>C.enterCallbacks={}),$=Fn(ee,"beforeRouteEnter",T,O,B),$.push(w),te($))).then(()=>{$=[];for(const C of i.list())$.push(lt(C,T,O));return $.push(w),te($)}).catch(C=>Je(C,8)?C:Promise.reject(C))}function P(T,O,$){l.list().forEach(z=>B(()=>z(T,O,$)))}function k(T,O,$,z,ie){const ee=v(T,O);if(ee)return ee;const w=O===st,C=yt?history.state:{};$&&(z||w?o.replace(T.fullPath,me({scroll:w&&C&&C.scroll},ie)):o.push(T.fullPath,ie)),f.value=T,L(T,O,$,w),ae()}let I;function K(){I||(I=o.listen((T,O,$)=>{if(!ue.listening)return;const z=E(T),ie=_(z);if(ie){A(me(ie,{replace:!0}),z).catch(Wt);return}c=z;const ee=f.value;yt&&mp(Ii(ee.fullPath,$.delta),Pr()),S(z,ee).catch(w=>Je(w,12)?w:Je(w,2)?(A(w.to,z).then(C=>{Je(C,20)&&!$.delta&&$.type===Jt.pop&&o.go(-1,!1)}).catch(Wt),Promise.reject()):($.delta&&o.go(-$.delta,!1),oe(w,z,ee))).then(w=>{w=w||k(z,ee,!1),w&&($.delta&&!Je(w,8)?o.go(-$.delta,!1):$.type===Jt.pop&&Je(w,20)&&o.go(-1,!1)),P(z,ee,w)}).catch(Wt)}))}let Y=Mt(),q=Mt(),se;function oe(T,O,$){ae(T);const z=q.list();return z.length?z.forEach(ie=>ie(T,O,$)):console.error(T),Promise.reject(T)}function ce(){return se&&f.value!==st?Promise.resolve():new Promise((T,O)=>{Y.add([T,O])})}function ae(T){return se||(se=!T,K(),Y.list().forEach(([O,$])=>T?$(T):O()),Y.reset()),T}function L(T,O,$,z){const{scrollBehavior:ie}=e;if(!yt||!ie)return Promise.resolve();const ee=!$&&gp(Ii(T.fullPath,0))||(z||!$)&&history.state&&history.state.scroll||null;return Ji().then(()=>ie(T,O,ee)).then(w=>w&&pp(w)).catch(w=>oe(w,T,O))}const U=T=>o.go(T);let W;const N=new Set,ue={currentRoute:f,listening:!0,addRoute:d,removeRoute:x,hasRoute:m,getRoutes:p,resolve:E,options:e,push:b,replace:y,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:q.add,isReady:ce,install(T){const O=this;T.component("RouterLink",jp),T.component("RouterView",qp),T.config.globalProperties.$router=O,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Re(f)}),yt&&!W&&f.value===st&&(W=!0,b(o.location).catch(ie=>{}));const $={};for(const ie in st)Object.defineProperty($,ie,{get:()=>f.value[ie],enumerable:!0});T.provide(kr,O),T.provide(Ta,rc($)),T.provide(aa,f);const z=T.unmount;N.add(T),T.unmount=function(){N.delete(T),N.size<1&&(c=st,I&&I(),I=null,f.value=st,W=!1,se=!1),z()}}};function te(T){return T.reduce((O,$)=>O.then(()=>B($)),Promise.resolve())}return ue}function Kp(e,t){const r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;ikt(c,l))?n.push(l):r.push(l));const f=e.matched[i];f&&(t.matched.find(c=>kt(c,f))||o.push(f))}return[r,n,o]}function Yp(){return nt(kr)}function Nm(){return nt(Ta)}const Xp=rt({__name:"App",setup(e){const t=new $x.ClientJS,r=Ys(),n=t.getFingerprint(),o=Kt(),a=ed(),i=Yp();a.updateFingerprint(n);const{theme:l,lightThemeOverrides:f,darkThemeOverrides:c}=Gx(),u=ve(()=>{var v;return(v=o.globalConfig)==null?void 0:v.clientHomePath}),h=ve(()=>{var v;return((v=o.globalConfig)==null?void 0:v.clientFavoIconPath)||_c}),s=ve(()=>{var v;return Number((v=o.globalConfig)==null?void 0:v.isAutoOpenNotice)===1});async function d(){var _;const v=((_=o.globalConfig)==null?void 0:_.baiduCode)||"";if(!v)return;const b=document.createElement("script"),y=v.replace(/([\s\S]*?)<\/script>/gi,"$1");b.innerHTML=y,document.head.appendChild(b)}function x(){var v;document.title=((v=o.globalConfig)==null?void 0:v.siteName)||"AI"}const p=ve(()=>l.value?c:f);function m(){u.value&&i.replace(u.value)}function E(){const v=Be.get("showNotice");(!v&&s.value||Date.now()>Number(v)&&s.value)&&a.updateNoticeDialog(!0)}const g=document.createElement("link");return g.rel="shortcut icon",g.href=h.value,document.getElementsByTagName("head")[0].appendChild(g),Zi(async()=>{m(),await r.getBaseModelConfig(),d(),x(),E()}),(v,b)=>{const y=nc("RouterView");return zi(),Ki(Re(gc),{class:"h-full",theme:Re(l),"theme-overrides":p.value,locale:v.language,"date-locale":Re(mc),"preflight-style-disabled":""},{default:wt(()=>[ut(Re(yc),null,{default:wt(()=>[ut(y)]),_:1}),ut(Re(vc))]),_:1},8,["theme","theme-overrides","locale","date-locale"])}}});function Qp(){const e=document.createElement("meta");e.name="naive-ui-style",document.head.appendChild(e)}function Jp(){Qp()}const Zp=()=>{var r,n,o,a,i,l;const e=document.createElement("style"),t=` ::-webkit-scrollbar { background-color: transparent; width: ${(r=Rr.Scrollbar.common)==null?void 0:r.scrollbarWidth}; @@ -59,4 +59,4 @@ import{d as rt,S as zi,V as Ki,W as wt,X as ut,M as Re,m as z0,l as mt,Y as ia,r background-color: ${(i=nr.Scrollbar.common)==null?void 0:i.scrollbarColor}; border-radius: ${(l=nr.Scrollbar.common)==null?void 0:l.scrollbarBorderRadius}; } - `;e.innerHTML=t,document.head.appendChild(e)};function Om(){return ge({url:"/user/genInviteCode"})}function Mm(e){return we({url:"/user/inviteRecord",data:e})}function Um(e){return ge({url:"/official/getQRSceneStr",data:e})}function Hm(e){return we({url:"/official/getQRCode",data:e})}function Wm(e){return ge({url:"/official/loginBySceneStr",data:e})}function jm(e){return ge({url:"/official/loginByCode",data:e})}function Gm(e){return ge({url:"/official/getJsapiTicket",data:e})}function $m(){return ge({url:"/official/getQRSceneStrByBind"})}function Vm(e){return ge({url:"/official/bindWxBySceneStr",data:e})}function qm(e){return ge({url:"/official/getRedirectUrl",data:e})}function Zp(e){return we({url:"/user/inviteLink",data:e})}function em(e){e.beforeEach(async(t,r,n)=>{var i,l;const{inVitecode:o}=t.query;o&&Be.set("invitedBy",o),o&&(await Zp({code:o}),e.replace({path:t.path,query:{}})),(i=window.$loadingBar)==null||i.start();const a=Jf();if(a.userInfo.username){const f=(l=a.globalConfig)==null?void 0:l.clientMenuList,c=f?JSON.parse(f):[];c.length&&!c.includes(t.name)&&["Chat","Draw","Midjourney"].includes(t.name)&&(a.globalConfig.clientHomePath&&a.globalConfig.clientHomePath!==""?n({path:a.globalConfig.clientHomePath}):n()),n()}else try{if(a.token&&await a.getUserInfo(),a.globalConfigLoading){let f=`${window.location.protocol}//${window.location.hostname}`;window.location.port&&(f+=`:${window.location.port}`),await a.getglobalConfig(f),a.globalConfig.clientHomePath?n({path:a.globalConfig.clientHomePath}):n()}t.path==="/500"?n({path:"/"}):n()}catch{t.path==="/500"?n({path:"/"}):n()}}),e.afterEach(t=>{var r;(r=window.$loadingBar)==null||r.finish()})}const tm=[{path:"/",name:"Layout",component:()=>Ie(()=>import("./index-79113eb4.js"),["./index-79113eb4.js","./index-03531f8f.js","./vue-10b4afc0.js","./vueuse-motion-d4cdaf7b.js","./_plugin-vue_export-helper-c27b6911.js","./index-adb9f39f.css","./naive-ui-fedd20b1.js","./crami-99ee44eb.js","./order-8be5c617.js","./useBasicLayout-a4f17bae.js","./Close-d2230b2f.js","./menu-19bde8fc.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-f18c0167.css"],import.meta.url),redirect:"/chat",children:[{path:"/market",name:"Market",component:()=>Ie(()=>import("./index-e889edd8.js"),["./index-e889edd8.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index-c94da121.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-15e7de77.css"],import.meta.url)},{path:"/midjourney",name:"Midjourney",component:()=>Ie(()=>import("./index-20a35e72.js"),["./index-20a35e72.js","./vue-10b4afc0.js","./_plugin-vue_export-helper-c27b6911.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-2d428f7b.css"],import.meta.url)},{path:"/chat",name:"Chat",component:()=>Ie(()=>import("./chat-ba97c867.js"),["./chat-ba97c867.js","./useBasicLayout-a4f17bae.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index-b71062e6.js","./menu-19bde8fc.js","./Close-d2230b2f.js","./_plugin-vue_export-helper-c27b6911.js","./index-c94da121.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vueuse-motion-d4cdaf7b.js","./chat-8fd922b8.css"],import.meta.url)},{path:"chatStore",name:"ChatStore",component:()=>Ie(()=>import("./chatStore-067dd921.js"),["./chatStore-067dd921.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./menu-19bde8fc.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./chatStore-f68b3e01.css"],import.meta.url)},{path:"user-center",name:"UserCenter",component:()=>Ie(()=>import("./index-648ab71e.js"),["./index-648ab71e.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./useBasicLayout-a4f17bae.js","./crami-99ee44eb.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"app-store",name:"AppStore",component:()=>Ie(()=>import("./chatStore-067dd921.js"),["./chatStore-067dd921.js","./index.vue_vue_type_script_setup_true_lang-d25a7e27.js","./vue-10b4afc0.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./menu-19bde8fc.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./chatStore-f68b3e01.css"],import.meta.url)},{path:"pay",name:"Pay",component:()=>Ie(()=>import("./index-7b15fb79.js"),["./index-7b15fb79.js","./crami-99ee44eb.js","./order-8be5c617.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./vueuse-motion-d4cdaf7b.js","./index-fed7b4ac.css"],import.meta.url)},{path:"mind",name:"Mind",component:()=>Ie(()=>import("./index-8add68fd.js"),["./index-8add68fd.js","./useBasicLayout-a4f17bae.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index-b71062e6.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"share",name:"Share",component:()=>Ie(()=>import("./index-dd7fbdb4.js"),["./index-dd7fbdb4.js","./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./index.vue_vue_type_script_setup_true_lang-f425914e.js","./useBasicLayout-a4f17bae.js","./index-03531f8f.js","./vueuse-motion-d4cdaf7b.js","./_plugin-vue_export-helper-c27b6911.js","./index-adb9f39f.css","./index-c94da121.js","./index-e70b4848.css"],import.meta.url)},{path:"extend",name:"Extend",component:()=>Ie(()=>import("./index-9296b6ea.js"),["./index-9296b6ea.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-da1c3968.css"],import.meta.url)}]},{path:"/404",name:"404",component:()=>Ie(()=>import("./index-96ef26bb.js"),["./index-96ef26bb.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js"],import.meta.url)},{path:"/500",name:"500",component:()=>Ie(()=>import("./index-215ca0ac.js"),["./index-215ca0ac.js","./vue-10b4afc0.js","./naive-ui-fedd20b1.js","./vueuse-motion-d4cdaf7b.js","./index-404bb920.css"],import.meta.url)},{path:"/:pathMatch(.*)*",name:"notFound",redirect:"/404"}],oa=qp({history:Cp(),routes:tm,scrollBehavior:()=>({left:0,top:0})});em(oa);async function rm(e){e.use(oa),await oa.isReady()}console.log=function(){};async function nm(){const e=ac(Yp);e.directive("focus",{mounted(n){n.focus()}}),Qp(),Jp(),od(e),Wx(e),await rm(e);const{default:t}=await Ie(()=>import("./v-viewer-b9217eae.js"),["./v-viewer-b9217eae.js","./vue-10b4afc0.js"],import.meta.url);e.use(t);const{MotionPlugin:r}=await Ie(()=>import("./vueuse-motion-d4cdaf7b.js").then(n=>n.b),["./vueuse-motion-d4cdaf7b.js","./vue-10b4afc0.js"],import.meta.url);e.use(r),e.mount("#app")}nm();export{sm as $,Pf as A,Dm as B,Am as C,wm as D,Sm as E,ym as F,mm as G,hm as H,fm as I,Rf as J,cm as K,oa as L,pm as M,xm as N,um as O,dm as P,lm as Q,Wp as R,Mm as S,Om as T,bm as U,km as V,Tm as W,Im as X,Em as Y,_m as Z,Ie as _,Kt as a,Cm as a0,Xf as a1,Hm as b,Vm as c,Gm as d,Ss as e,$m as f,Pm as g,vm as h,gm as i,Fm as j,Um as k,Wm as l,we as m,Xs as n,Kp as o,ge as p,Nm as q,Lm as r,Be as s,Rm as t,Zf as u,Pa as v,Ys as w,jm as x,qm as y,Bm as z}; + `;e.innerHTML=t,document.head.appendChild(e)};function Om(){return ge({url:"/user/genInviteCode"})}function Mm(e){return we({url:"/user/inviteRecord",data:e})}function Um(e){return ge({url:"/official/getQRSceneStr",data:e})}function Hm(e){return we({url:"/official/getQRCode",data:e})}function Wm(e){return ge({url:"/official/loginBySceneStr",data:e})}function jm(e){return ge({url:"/official/loginByCode",data:e})}function Gm(e){return ge({url:"/official/getJsapiTicket",data:e})}function $m(){return ge({url:"/official/getQRSceneStrByBind"})}function Vm(e){return ge({url:"/official/bindWxBySceneStr",data:e})}function qm(e){return ge({url:"/official/getRedirectUrl",data:e})}function em(e){return we({url:"/user/inviteLink",data:e})}function tm(e){e.beforeEach(async(t,r,n)=>{var i,l;const{inVitecode:o}=t.query;o&&Be.set("invitedBy",o),o&&(await em({code:o}),e.replace({path:t.path,query:{}})),(i=window.$loadingBar)==null||i.start();const a=Zf();if(a.userInfo.username){const f=(l=a.globalConfig)==null?void 0:l.clientMenuList,c=f?JSON.parse(f):[];c.length&&!c.includes(t.name)&&(a.globalConfig.clientHomePath&&a.globalConfig.clientHomePath!==""?n({path:a.globalConfig.clientHomePath}):n()),n()}else try{if(a.token&&await a.getUserInfo(),a.globalConfigLoading){let f=`${window.location.protocol}//${window.location.hostname}`;window.location.port&&(f+=`:${window.location.port}`),await a.getglobalConfig(f),a.globalConfig.clientHomePath?n({path:a.globalConfig.clientHomePath}):n()}t.path==="/500"?n({path:"/"}):n()}catch{t.path==="/500"?n({path:"/"}):n()}}),e.afterEach(t=>{var r;(r=window.$loadingBar)==null||r.finish()})}const rm=[{path:"/",name:"Layout",component:()=>Te(()=>import("./index-835d25b6.js"),["./index-835d25b6.js","./vue-cf46d111.js","./useBasicLayout-8e07f8d7.js","./Star-723ae1fb.js","./index-08cceacb.js","./menu-1a8ade33.js","./naive-ui-074da7ca.js","./_plugin-vue_export-helper-c27b6911.js","./index-5ab11154.js","./vueuse-motion-d8fe070a.js","./index-adb9f39f.css","./crami-4d5edf1c.js","./order-54d4bdde.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./index-62591b03.css"],import.meta.url),redirect:"/chat",children:[{path:"/home",name:"Home",component:()=>Te(()=>import("./index-54c5e012.js"),["./index-54c5e012.js","./vue-cf46d111.js","./_plugin-vue_export-helper-c27b6911.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-cc3fad1f.css"],import.meta.url)},{path:"/market",name:"Market",component:()=>Te(()=>import("./index-c2afb29e.js"),["./index-c2afb29e.js","./vue-cf46d111.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./index-c94da121.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-15e7de77.css"],import.meta.url)},{path:"/midjourney",name:"Midjourney",component:()=>Te(()=>import("./index-d752f26d.js"),["./index-d752f26d.js","./vue-cf46d111.js","./_plugin-vue_export-helper-c27b6911.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./useBasicLayout-8e07f8d7.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-2d428f7b.css"],import.meta.url)},{path:"/chat",name:"Chat",component:()=>Te(()=>import("./chat-2c477ae5.js"),["./chat-2c477ae5.js","./useBasicLayout-8e07f8d7.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./index-97198a55.js","./index-08cceacb.js","./menu-1a8ade33.js","./_plugin-vue_export-helper-c27b6911.js","./index-c94da121.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./vueuse-motion-d8fe070a.js","./chat-61246561.css"],import.meta.url)},{path:"chatStore",name:"ChatStore",component:()=>Te(()=>import("./index-3e9eedbe.js"),["./index-3e9eedbe.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./Star-723ae1fb.js","./index-08cceacb.js","./vueuse-motion-d8fe070a.js","./index-f68b3e01.css"],import.meta.url)},{path:"user-center",name:"UserCenter",component:()=>Te(()=>import("./index-a515f844.js"),["./index-a515f844.js","./titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./useBasicLayout-8e07f8d7.js","./crami-4d5edf1c.js","./vueuse-motion-d8fe070a.js"],import.meta.url)},{path:"app-store",name:"AppStore",component:()=>Te(()=>import("./index-3e9eedbe.js"),["./index-3e9eedbe.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./Star-723ae1fb.js","./index-08cceacb.js","./vueuse-motion-d8fe070a.js","./index-f68b3e01.css"],import.meta.url)},{path:"pay",name:"Pay",component:()=>Te(()=>import("./index-fb18c7e1.js"),["./index-fb18c7e1.js","./crami-4d5edf1c.js","./order-54d4bdde.js","./titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./useBasicLayout-8e07f8d7.js","./vueuse-motion-d8fe070a.js","./index-fed7b4ac.css"],import.meta.url)},{path:"mind",name:"Mind",component:()=>Te(()=>import("./index-a1604546.js"),["./index-a1604546.js","./useBasicLayout-8e07f8d7.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./index-97198a55.js","./vueuse-motion-d8fe070a.js"],import.meta.url)},{path:"share",name:"Share",component:()=>Te(()=>import("./index-4a6b1d74.js"),["./index-4a6b1d74.js","./titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./index.vue_vue_type_script_setup_true_lang-1cfab100.js","./useBasicLayout-8e07f8d7.js","./index-5ab11154.js","./vueuse-motion-d8fe070a.js","./_plugin-vue_export-helper-c27b6911.js","./index-adb9f39f.css","./index-c94da121.js","./index-e70b4848.css"],import.meta.url)},{path:"extend",name:"Extend",component:()=>Te(()=>import("./index-e6972cc3.js"),["./index-e6972cc3.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-da1c3968.css"],import.meta.url)}]},{path:"/404",name:"404",component:()=>Te(()=>import("./index-278c8e2c.js"),["./index-278c8e2c.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js"],import.meta.url)},{path:"/500",name:"500",component:()=>Te(()=>import("./index-b41aeb91.js"),["./index-b41aeb91.js","./vue-cf46d111.js","./naive-ui-074da7ca.js","./vueuse-motion-d8fe070a.js","./index-404bb920.css"],import.meta.url)},{path:"/:pathMatch(.*)*",name:"notFound",redirect:"/404"}],oa=zp({history:_p(),routes:rm,scrollBehavior:()=>({left:0,top:0})});tm(oa);async function nm(e){e.use(oa),await oa.isReady()}console.log=function(){};async function am(){const e=ac(Xp);e.directive("focus",{mounted(n){n.focus()}}),Jp(),Zp(),id(e),jx(e),await nm(e);const{default:t}=await Te(()=>import("./v-viewer-3432914a.js"),["./v-viewer-3432914a.js","./vue-cf46d111.js"],import.meta.url);e.use(t);const{MotionPlugin:r}=await Te(()=>import("./vueuse-motion-d8fe070a.js").then(n=>n.b),["./vueuse-motion-d8fe070a.js","./vue-cf46d111.js"],import.meta.url);e.use(r),e.mount("#app")}am();export{ym as $,Ys as A,jm as B,qm as C,Fm as D,Pf as E,Bm as F,Sm as G,Am as H,Dm as I,wm as J,gm as K,xm as L,Fl as M,Tl as N,dm as O,Rf as P,lm as Q,jp as R,mm as S,Mm as T,Om as U,Cm as V,km as W,Tm as X,Im as Y,bm as Z,Te as _,Kt as a,cm as a0,_m as a1,Qf as a2,pm as b,um as c,Lm as d,hm as e,fm as f,$m as g,Hm as h,Vm as i,Gm as j,Pm as k,Em as l,vm as m,Um as n,Wm as o,we as p,Ss as q,oa as r,Be as s,Rm as t,ed as u,Xs as v,ge as w,Yp as x,Nm as y,Pa as z}; diff --git a/public/assets/index-adb9f39f.css b/public/chat/assets/index-adb9f39f.css similarity index 100% rename from public/assets/index-adb9f39f.css rename to public/chat/assets/index-adb9f39f.css diff --git a/public/assets/index-215ca0ac.js b/public/chat/assets/index-b41aeb91.js similarity index 96% rename from public/assets/index-215ca0ac.js rename to public/chat/assets/index-b41aeb91.js index f8bcf24..021a198 100644 --- a/public/assets/index-215ca0ac.js +++ b/public/chat/assets/index-b41aeb91.js @@ -1 +1 @@ -import{o as c}from"./index-d64a7cc4.js";import{d as i,U as a,a3 as l,ah as s,S as o}from"./vue-10b4afc0.js";import"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const n={class:"welcome flex h-full bg-white dark:bg-gray-900"},r=s('出了点小错误...... 出了点小错误、刷新看看呢...... ',20),h=l("path",{fill:"none",class:"stroke",d:"M955.8 846V560.5c0-5.5-4.5-10-10-10H738.6c-5.5 0-10 4.5-10 10V846"},null,-1),p=l("rect",{fill:"#0170BB",x:"730",y:"700",width:"225",height:"15"},null,-1),d=l("polyline",{fill:"none",class:"stroke",points:" 800.8 672.8 842.5 601 883.6 672.8 "},null,-1),f=l("ellipse",{fill:"#FFF",class:"stroke",cx:"842.2",cy:"601",rx:"10",ry:"10"},null,-1),k=l("path",{fill:"#a5c7e4",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),x=l("path",{fill:"none",class:"stroke",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),u=s('',4),z=i({__name:"index",setup(y){const e=c();function t(){e.push("/chat")}return(F,M)=>(o(),a("div",n,[l("div",{class:"store-container"},[l("div",{class:"border-animation"},[l("svg",{id:"store",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"130 0 1230 930"},[r,l("g",{id:"door"},[h,p,l("g",{id:"sign"},[d,f,k,l("text",{class:"btn",transform:"matrix(1.0027 0 0 1 789.6294 721.7501)",fill:"#FFF","font-family":"Fredoka One","font-size":"38",onClick:t}," HOME "),x])]),u])])])]))}});export{z as default}; +import{x as c}from"./index-a70ad6b3.js";import{d as i,U as a,a3 as l,ah as s,S as o}from"./vue-cf46d111.js";import"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";const n={class:"welcome flex h-full bg-white dark:bg-gray-900"},r=s('出了点小错误...... 出了点小错误、刷新看看呢...... ',20),h=l("path",{fill:"none",class:"stroke",d:"M955.8 846V560.5c0-5.5-4.5-10-10-10H738.6c-5.5 0-10 4.5-10 10V846"},null,-1),p=l("rect",{fill:"#0170BB",x:"730",y:"700",width:"225",height:"15"},null,-1),d=l("polyline",{fill:"none",class:"stroke",points:" 800.8 672.8 842.5 601 883.6 672.8 "},null,-1),f=l("ellipse",{fill:"#FFF",class:"stroke",cx:"842.2",cy:"601",rx:"10",ry:"10"},null,-1),k=l("path",{fill:"#a5c7e4",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),x=l("path",{fill:"none",class:"stroke",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),u=s('',4),z=i({__name:"index",setup(y){const e=c();function t(){e.replace("/chat")}return(F,M)=>(o(),a("div",n,[l("div",{class:"store-container"},[l("div",{class:"border-animation"},[l("svg",{id:"store",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"130 0 1230 930"},[r,l("g",{id:"door"},[h,p,l("g",{id:"sign"},[d,f,k,l("text",{class:"btn",transform:"matrix(1.0027 0 0 1 789.6294 721.7501)",fill:"#FFF","font-family":"Fredoka One","font-size":"38",onClick:t}," HOME "),x])]),u])])])]))}});export{z as default}; diff --git a/public/chat/assets/index-c2afb29e.js b/public/chat/assets/index-c2afb29e.js new file mode 100644 index 0000000..7f6e8dc --- /dev/null +++ b/public/chat/assets/index-c2afb29e.js @@ -0,0 +1 @@ +import{a as ce,x as de,t as j,D as ue}from"./index-a70ad6b3.js";import{d as B,S as v,U as x,a3 as s,g as pe,r as a,e as R,w as G,f as q,G as he,H as P,F as ve,a7 as fe,n as me,X as _,W as m,z as _e,a4 as z,V as D,a9 as H,M as i,a8 as W}from"./vue-cf46d111.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import{c as ge}from"./index-c94da121.js";import{e as we,F as S,G as xe,H as ye,r as ke}from"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";const be={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},$e=s("path",{d:"M315.27 33L96 304h128l-31.51 173.23a2.36 2.36 0 0 0 2.33 2.77h0a2.36 2.36 0 0 0 1.89-.95L416 208H288l31.66-173.25a2.45 2.45 0 0 0-2.44-2.75h0a2.42 2.42 0 0 0-1.95 1z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"},null,-1),Le=[$e],Ce=B({name:"FlashOutline",render:function(l,c){return v(),x("svg",be,Le)}});function Ie(y,l){let c,n;return function(...g){n=g,c||(c=setTimeout(()=>{y.apply(this,n),c=null},l))}}const Me={class:"min-h-full overflow-hidden flex flex-col"},Pe={class:"flex-1 min-h-full p-4 relative"},We=["id"],Re=["id","src","onLoad","onError","onClick"],je={class:"menu p-2 text-[#cbd5e1]"},De={class:"prompt"},He={class:"flex justify-end items-end space-x-2"},Ne=["onClick"],Se={class:"text-sm dark:text-slate-400"},ze=s("span",null,"画同款",-1),Be=["onClick"],Ee={class:"text-sm dark:text-slate-400"},Ue=s("span",null,"使用当前画同款",-1),Ae=["onClick"],Fe={class:"text-sm dark:text-slate-400"},Te=s("span",null,"复制提示词",-1),Oe=s("div",{id:"footer",class:"w-full absolute bottom-[350px]"},null,-1),Ve=B({__name:"index",props:{dataList:{},scaleWidth:{},isDrawLike:{type:Boolean},usePropmpt:{type:Boolean},copyPropmpt:{type:Boolean},gap:{default:5}},emits:["loadMore","usePropmptDraw"],setup(y,{emit:l}){var A;const c=ce(),n=y,f=l,g=(A=pe())==null?void 0:A.appContext.config.globalProperties.$viewerApi,L=we(),k=a({}),C=a(0),d=a(160),u=a(0),b=a([]),p=a(null),h=a(0),$=R(()=>c.isLogin),E=R(()=>n.scaleWidth?Number(n.scaleWidth)*2+n.gap+150:150),X=de();function J(){Q(),Y();const e=u.value,o=d.value,t=[];n.dataList.forEach((w,r)=>{const F=w.drawRatio.split("x"),ae=parseInt(F[0],10),re=parseInt(F[1],10),ie=o/ae,T=re*ie+n.gap+C.value,M=k.value[w.id];if(t.lengthle===O);M.style.top=`${O+0}px`,M.style.left=`${V*(d.value+n.gap)}px`,t[V]+=T}}),h.value=Math.max(...t)+100}function K(e,o){e&&o&&(k.value[o.id]=e)}function Q(){const{showName:e=0,showOther:o=0}={};C.value=[e,o].filter(t=>t).length*15}G(()=>n.scaleWidth,e=>{I()}),G(()=>n.dataList,e=>{e&&me(()=>{I()})},{immediate:!0});function Y(){if(!p.value)return;const e=p.value.clientWidth;u.value=Math.floor(e/E.value);const o=e-u.value*E.value,t=(u.value-1)*n.gap;o-t<0&&(u.value-=1),d.value=Math.floor((e-t)/u.value)}function Z(e,o){b.value.push(o.id)}function ee(e,o){b.value.push(o.id)}function te(e){if(!$.value)return c.setLoginDialog(!0);const{prompt:o}=e;ge({text:o}),L.success("复制prompt成功")}function se(e){X.replace(`/midjourney?mjId=${e.id}`)}function oe(e){const{fullPrompt:o}=e;f("usePropmptDraw",o)}function ne(e){const{drawUrl:o}=e;g({options:{},images:[o]})}const U=R(()=>e=>{const o=e.drawRatio.split("x"),t=Number(o[0]);return Number(o[1])/(t/d.value)}),I=Ie(function(){J()},200);return q(async()=>{window.addEventListener("resize",I);const e=document.getElementById("footer");new IntersectionObserver((t,w)=>{t.forEach(r=>{r.isIntersecting&&f("loadMore")})}).observe(e)}),he(()=>{window.removeEventListener("resize",I)}),(e,o)=>(v(),x("div",Me,[s("div",Pe,[s("div",{id:"wapper",ref_key:"wapperRef",ref:p,class:"wapper",style:P({height:`${h.value}px`})},[(v(!0),x(ve,null,fe(e.dataList,(t,w)=>(v(),x("div",{id:t.id.toString(),key:w,ref_for:!0,ref:r=>K(r,t),class:"wapper-item",style:P({width:`${d.value}px`})},[_(_e,{name:"img",css:!0},{default:m(()=>[s("img",{id:t.id.toString(),class:"item-file rounded-sm",style:P({width:`${d.value}px`,height:`${U.value(t)}px`}),src:t.drawUrl,loading:"lazy",onLoad:r=>Z(r,t),onError:r=>ee(r,t),onClick:r=>ne(t)},null,44,Re)]),_:2},1024),s("div",je,[s("div",De,z(t.fullPrompt),1),s("div",He,[e.isDrawLike?(v(),D(i(S),{key:0,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:H(r=>se(t),["stop"])},[s("span",Se,[_(i(N),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,Ne)]),default:m(()=>[ze]),_:2},1024)):W("",!0),e.usePropmpt?(v(),D(i(S),{key:1,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:H(r=>oe(t),["stop"])},[s("span",Ee,[_(i(N),{icon:"fluent:draw-image-24-regular",class:"text-sm"})])],8,Be)]),default:m(()=>[Ue]),_:2},1024)):W("",!0),e.copyPropmpt?(v(),D(i(S),{key:2,trigger:"hover"},{trigger:m(()=>[s("button",{class:"flex h-5 w-8 items-center justify-center rounded border transition hover:bg-[#666161] dark:border-neutral-700 dark:hover:bg-[#33373c]",onClick:H(r=>te(t),["stop"])},[s("span",Fe,[_(i(N),{icon:"tabler:copy",class:"text-sm"})])],8,Ae)]),default:m(()=>[Te]),_:2},1024)):W("",!0)])]),b.value.includes(t.id)?W("",!0):(v(),x("div",{key:0,class:"item-loading",style:P({width:`${d.value}px`,height:`${U.value(t)}px`})},null,4))],12,We))),128)),Oe],4)])]))}});const Ge={class:"bg-white h-[100vh] overflow-hidden p-4 pr-0 dark:bg-gray-900 flex flex-col"},qe={class:"p-4 flex pr-6 justify-between items-center"},Xe={class:"font-bold text-xl"},Je={class:"w-[200px] sm:w-[300px] flex justify-between"},Ke={class:"hidden sm:block"},Qe={class:"flex-1 ml-5"},Ye={class:"px-4 mb-1 pr-5"},Ze={class:"market overflow-y-scroll flex-1 min-h-screen p-4 relative"},it=B({__name:"index",setup(y){const l=a([]),c=a(null),n=a(50),f=a(""),g=a(1),L=a(20),k=a(!1),C=a(!0),d=R(()=>f.value?l.value.filter(p=>{const{prompt:h}=p;return h.includes(f.value)}):l.value);async function u(){k.value=!0;const p=await ue({page:g.value,size:L.value,rec:1});k.value=!1,C.value=L.value===p.data.rows.length,l.value=[...l.value,...p.data.rows]}q(async()=>{await u()});function b(){g.value=g.value+1,u()}return(p,h)=>(v(),x("div",Ge,[s("div",qe,[s("div",Xe,z(i(j)("draw.aiDrawingSquare")),1),s("div",Je,[s("span",Ke,z(i(j)("draw.sizeAdjustment")),1),s("div",Qe,[_(i(xe),{value:n.value,"onUpdate:value":h[0]||(h[0]=$=>n.value=$),step:10},null,8,["value"])])])]),s("div",Ye,[_(i(ye),{value:f.value,"onUpdate:value":h[1]||(h[1]=$=>f.value=$),placeholder:i(j)("draw.keywordSearchPlaceholder")},{prefix:m(()=>[_(i(ke),{component:i(Ce)},null,8,["component"])]),_:1},8,["value","placeholder"])]),s("div",Ze,[s("div",{id:"wapper",ref_key:"wapperRef",ref:c,class:"wapper"},[_(Ve,{onLoadMore:b,copyPropmpt:"",isDrawLike:"",dataList:d.value,scaleWidth:n.value},null,8,["dataList","scaleWidth"])],512)])]))}});export{it as default}; diff --git a/public/assets/index-c94da121.js b/public/chat/assets/index-c94da121.js similarity index 100% rename from public/assets/index-c94da121.js rename to public/chat/assets/index-c94da121.js diff --git a/public/chat/assets/index-cc3fad1f.css b/public/chat/assets/index-cc3fad1f.css new file mode 100644 index 0000000..77a58ed --- /dev/null +++ b/public/chat/assets/index-cc3fad1f.css @@ -0,0 +1 @@ +html[data-v-9b565240],body[data-v-9b565240]{margin:0;padding:0;height:100%;overflow:hidden}.iframe-container[data-v-9b565240]{width:100%;height:100%;display:flex}.iframe[data-v-9b565240]{flex:1;border:none} diff --git a/public/assets/index-20a35e72.js b/public/chat/assets/index-d752f26d.js similarity index 89% rename from public/assets/index-20a35e72.js rename to public/chat/assets/index-d752f26d.js index 692ea1f..e14276a 100644 --- a/public/assets/index-20a35e72.js +++ b/public/chat/assets/index-d752f26d.js @@ -1,4 +1,4 @@ -import{d as be,e as W,U as C,a3 as h,F as Rt,a6 as It,a4 as g,a5 as D,H as ce,S as x,V as L,m as Mt,P as bt,X as b,W as y,a9 as Gt,k as qe,v as Ye,u as Xe,ab as Qt,r as k,c as j,M as c,ac as Hi,ad as Li,w as Wi,o as Bi,f as Ui,a8 as Lt}from"./vue-10b4afc0.js";import{m as Qe,p as Ni,e as we,a as Ke,t as d,A as Ge,B as Fi,o as qi,q as Yi,C as Xi,D as Ce,E as Qi,F as Oe}from"./index-d64a7cc4.js";import{_ as Ze}from"./_plugin-vue_export-helper-c27b6911.js";import{_ as V}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{u as Ki}from"./useBasicLayout-a4f17bae.js";import{d as $e,e as Ve,L as Gi,z as _,p as gt,B as he,t as Zi,q as $i,K as ue,M as Ee,O as je,P as Vi,G as Ji}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";function De(t){return Qe({url:"/fanyi/translate",data:t})}function tn(){return Qe({url:"/models/mjInfo"})}function At(t){return Ni({url:"/midjourney/addMjDrawQueue",data:t})}const en=""+new URL("mj-8c02cbcc.png",import.meta.url).href,nn=""+new URL("niji-55cc65e6.png",import.meta.url).href,sn=""+new URL("market-f1234219.png",import.meta.url).href,on={class:"loading-text"},an={key:0,class:"progress"},rn={key:1,class:"progress"},ln=be({__name:"Loading",props:{gap:{default:10},progress:{default:0},tips:{default:""},bgColor:{},words:{default:["L","O","A","D","I","N","G"]}},setup(t){const e=t,i=we(),s=W(()=>i.theme),o=W(()=>s.value==="dark"?"#fff":"#000");return(n,r)=>(x(),C("div",{class:"loading",style:ce({background:e.bgColor})},[h("div",on,[(x(!0),C(Rt,null,It(e.words,l=>(x(),C("span",{key:l,style:ce({margin:`0 ${e.gap}px`,color:o.value}),class:"loading-text-words"},g(l),5))),128))]),!n.tips&&e.progress?(x(),C("div",an," 绘制进度: "+g(e.progress)+"% ",1)):D("",!0),n.tips?(x(),C("div",rn,g(e.tips),1)):D("",!0)],4))}});const Je=Ze(ln,[["__scopeId","data-v-07d64bb6"]]),cn=""+new URL("fail-7089de31.png",import.meta.url).href,ie=""+new URL("draw-bccd19c4.svg",import.meta.url).href,Te=""+new URL("zoom-426d4db7.svg",import.meta.url).href;function Pe(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),i.push.apply(i,s)}return i}function T(t){for(var e=1;e=0||(f[a]=r[a]);return f}(t,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}function St(t){return function(e){if(Array.isArray(e))return ne(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,i){if(e){if(typeof e=="string")return ne(e,i);var s=Object.prototype.toString.call(e).slice(8,-1);if(s==="Object"&&e.constructor&&(s=e.constructor.name),s==="Map"||s==="Set")return Array.from(e);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return ne(e,i)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +import{d as be,e as W,U as C,a3 as h,F as Rt,a7 as It,a4 as g,a8 as D,H as ce,S as x,V as L,m as Mt,P as bt,X as b,W as y,ac as Gt,k as qe,v as Ye,u as Xe,a9 as Qt,r as k,c as j,M as c,aa as Hi,ab as Li,w as Wi,o as Bi,f as Ui,a5 as Lt}from"./vue-cf46d111.js";import{p as Qe,w as Ni,q as we,a as Ke,t as d,E as Ge,F as Fi,x as qi,y as Yi,G as Xi,H as Ce,I as Qi,J as Oe}from"./index-a70ad6b3.js";import{_ as Ze}from"./_plugin-vue_export-helper-c27b6911.js";import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import{u as Ki}from"./useBasicLayout-8e07f8d7.js";import{d as $e,e as Je,I as Gi,z as _,p as gt,A as he,t as Zi,q as $i,H as ue,J as Ee,K as je,L as Ji,D as Vi}from"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";function De(t){return Qe({url:"/fanyi/translate",data:t})}function tn(){return Qe({url:"/models/mjInfo"})}function At(t){return Ni({url:"/midjourney/addMjDrawQueue",data:t})}const en=""+new URL("mj-8c02cbcc.png",import.meta.url).href,nn=""+new URL("niji-55cc65e6.png",import.meta.url).href,sn=""+new URL("market-f1234219.png",import.meta.url).href,on={class:"loading-text"},an={key:0,class:"progress"},rn={key:1,class:"progress"},ln=be({__name:"Loading",props:{gap:{default:10},progress:{default:0},tips:{default:""},bgColor:{},words:{default:["L","O","A","D","I","N","G"]}},setup(t){const e=t,i=we(),s=W(()=>i.theme),o=W(()=>s.value==="dark"?"#fff":"#000");return(n,r)=>(x(),C("div",{class:"loading",style:ce({background:e.bgColor})},[h("div",on,[(x(!0),C(Rt,null,It(e.words,l=>(x(),C("span",{key:l,style:ce({margin:`0 ${e.gap}px`,color:o.value}),class:"loading-text-words"},g(l),5))),128))]),!n.tips&&e.progress?(x(),C("div",an," 绘制进度: "+g(e.progress)+"% ",1)):D("",!0),n.tips?(x(),C("div",rn,g(e.tips),1)):D("",!0)],4))}});const Ve=Ze(ln,[["__scopeId","data-v-07d64bb6"]]),cn=""+new URL("fail-7089de31.png",import.meta.url).href,ie=""+new URL("draw-bccd19c4.svg",import.meta.url).href,Te=""+new URL("zoom-426d4db7.svg",import.meta.url).href;function Pe(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),i.push.apply(i,s)}return i}function T(t){for(var e=1;e=0||(f[a]=r[a]);return f}(t,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(o[i]=t[i])}return o}function St(t){return function(e){if(Array.isArray(e))return ne(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||function(e,i){if(e){if(typeof e=="string")return ne(e,i);var s=Object.prototype.toString.call(e).slice(8,-1);if(s==="Object"&&e.constructor&&(s=e.constructor.name),s==="Map"||s==="Set")return Array.from(e);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return ne(e,i)}}(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ne(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i0?i.left=s.left:s.right&&s.right>0&&(i.left=-s.right),s.top&&s.top>0?i.top=s.top:s.bottom&&s.bottom>0&&(i.top=-s.bottom),i}function oe(t,e){var i;return e.minimum&&te.maximum&&(i=e.maximum),i}function ai(t,e){var i=P(t),s=P(e);return e.width<1/0&&e.height<1/0?i>s?{width:e.width,height:e.width/i}:{width:e.height*i,height:e.height}:e.width<1/0?{width:e.width,height:e.width/i}:e.height<1/0?{width:e.height*i,height:e.height}:t}function ri(t,e){var i=e*Math.PI/180;return{width:Math.abs(t.width*Math.cos(i))+Math.abs(t.height*Math.sin(i)),height:Math.abs(t.width*Math.sin(i))+Math.abs(t.height*Math.cos(i))}}function xt(t,e){var i=e*Math.PI/180;return{left:t.left*Math.cos(i)-t.top*Math.sin(i),top:t.left*Math.sin(i)+t.top*Math.cos(i)}}function $t(t,e){var i=Bt(G(t,e),e);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((t.width+i.left+i.right)/t.width,Pt(t,e)):Math.min((t.height+i.top+i.bottom)/t.height,Pt(t,e)):1}function G(t,e,i){i===void 0&&(i=!1);var s=kt(t,e);return J(t,i?Zt(s):s)}function pe(t){return{width:t.right!==void 0&&t.left!==void 0?t.right-t.left:1/0,height:t.bottom!==void 0&&t.top!==void 0?t.bottom-t.top:1/0}}function wn(t,e){return M(M({},t),{minWidth:Math.min(e.width,t.minWidth),minHeight:Math.min(e.height,t.minHeight),maxWidth:Math.min(e.width,t.maxWidth),maxHeight:Math.min(e.height,t.maxHeight)})}function li(t,e,i){i===void 0&&(i=!0);var s={};return ht.forEach(function(o){var n=t[o],r=e[o];n!==void 0&&r!==void 0?s[o]=o==="left"||o==="top"?i?Math.max(n,r):Math.min(n,r):i?Math.min(n,r):Math.max(n,r):r!==void 0?s[o]=r:n!==void 0&&(s[o]=n)}),s}function Vt(t,e){return li(t,e,!0)}function Be(t){var e=t.size,i=t.aspectRatio,s=t.ignoreMinimum,o=t.sizeRestrictions;return!!((e.correctRatio||P(e)>=i.minimum&&P(e)<=i.maximum)&&e.height<=o.maxHeight&&e.width<=o.maxWidth&&e.width&&e.height&&(s||e.height>=o.minHeight&&e.width>=o.minWidth))}function Ue(t,e){return Math.pow(t.width-e.width,2)+Math.pow(t.height-e.height,2)}function vt(t){var e=t.width,i=t.height,s=t.sizeRestrictions,o={minimum:t.aspectRatio&&t.aspectRatio.minimum||0,maximum:t.aspectRatio&&t.aspectRatio.maximum||1/0},n={width:Math.max(s.minWidth,Math.min(s.maxWidth,e)),height:Math.max(s.minHeight,Math.min(s.maxHeight,i))};function r(u,f){return f===void 0&&(f=!1),u.reduce(function(m,v){return Be({size:v,aspectRatio:o,sizeRestrictions:s,ignoreMinimum:f})&&(!m||Ue(v,{width:e,height:i})1-f)||(m=M(M({},m),vt({sizeRestrictions:r,width:m.width,height:m.height,aspectRatio:{minimum:P(A),maximum:P(A)}})));var O=$t(v=ot(v,m.width*i.width/(v.width*A.width)),e({visibleArea:v,type:"resize"}));return O!==1&&(v=ot(v,O),m=ot(m,O)),v=G(v=J(v,Tt(K(m),K(v))),e({visibleArea:v,type:"move"})),{coordinates:m=G(m,Vt(ut(v),l)),visibleArea:v}}function xn(t){var e=t.event,i=t.getAreaRestrictions,s=t.boundaries,o=t.coordinates,n=t.visibleArea;t.aspectRatio,t.stencilSize,t.sizeRestrictions;var r=t.positionRestrictions;t.stencilReference;var l=M({},o),a=M({},n);if(o&&n&&e.type!=="manipulateImage"){var u={width:0,height:0};a.width,s.width,P(s)>P(l)?(u.height=.8*s.height,u.width=u.height*P(l)):(u.width=.8*s.width,u.height=u.width*P(l));var f=$t(a=ot(a,l.width*s.width/(a.width*u.width)),i({visibleArea:a,type:"resize"}));a=ot(a,f),f!==1&&(u.height/=f,u.width/=f),a=G(a=J(a,Tt(K(l),K(a))),i({visibleArea:a,type:"move"})),l=G(l,Vt(ut(a),r))}return{coordinates:l,visibleArea:a}}function zn(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.getAreaRestrictions,n=M({},s),r=M({},i);if(e.type==="setCoordinates"){var l=Math.max(0,r.width-n.width),a=Math.max(0,r.height-n.height);l>a?n=ot(n,Math.min(r.width/n.width,Pt(n,o({visibleArea:n,type:"resize"})))):a>l&&(n=ot(n,Math.min(r.height/n.height,Pt(n,o({visibleArea:n,type:"resize"}))))),n=G(n=J(n,Zt(kt(r,ut(n)))),o({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:r}}function Rn(t){var e=t.imageSize,i=t.visibleArea,s=t.coordinates,o=i||e;return{left:(i?i.left:0)+o.width/2-s.width/2,top:(i?i.top:0)+o.height/2-s.height/2}}function In(t){var e=t.imageSize,i=t.visibleArea,s=t.aspectRatio,o=t.sizeRestrictions,n=i||e,r=Math.min(s.maximum||1/0,Math.max(s.minimum||0,P(n))),l=n.widthP(n)?i=(e=a.height*u.height/n.height)*P(a):e=(i=a.width*u.width/n.width)/P(a),vt({width:i,height:e,aspectRatio:r,sizeRestrictions:l})}function Mn(t){var e=t.getAreaRestrictions,i=t.coordinates,s=t.imageSize,o=P(t.boundaries);if(i){var n={height:Math.max(i.height,s.height),width:Math.max(i.width,s.width)},r=ai({width:P(n)>o?n.width:n.height*o,height:P(n)>o?n.width/o:n.height},pe(e())),l={left:i.left+i.width/2-r.width/2,top:i.top+i.height/2-r.height/2,width:r.width,height:r.height},a=Bt(i,ut(M({left:0,top:0},s))),u={};return!a.left&&!a.right&&l.width<=s.width&&(u.left=0,u.right=s.width),!a.top&&!a.bottom&&l.height<=s.height&&(u.top=0,u.bottom=s.height),G(l,u)}var f=P(s);return r={height:f>o?s.height:s.width/o,width:f>o?s.height*o:s.width},{left:s.width/2-r.width/2,top:s.height/2-r.height/2,width:r.width,height:r.height}}function qt(t,e){return li(t,ut(e))}function Cn(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.sizeRestrictions,n=t.getAreaRestrictions,r=t.positionRestrictions,l=t.adjustStencil,a=e.scale,u=e.move,f=M({},s),m=M({},i),v=1,A=1,O=a.factor&&Math.abs(a.factor-1)>.001;f=J(f,{left:u.left||0,top:u.top||0});var E={stencil:{minimum:Math.max(o.minWidth?o.minWidth/m.width:0,o.minHeight?o.minHeight/m.height:0),maximum:Math.min(o.maxWidth?o.maxWidth/m.width:1/0,o.maxHeight?o.maxHeight/m.height:1/0,Pt(m,r))},area:{maximum:Pt(f,n({visibleArea:f,type:"resize"}))}};a.factor&&O&&(a.factor<1?(A=Math.max(a.factor,E.stencil.minimum))>1&&(A=1):a.factor>1&&(A=Math.min(a.factor,Math.min(E.area.maximum,E.stencil.maximum)))<1&&(A=1)),A&&(f=ot(f,A,a.center));var B=i.left-s.left,Q=s.width+s.left-(i.width+i.left),dt=i.top-s.top,lt=s.height+s.top-(i.height+i.top);return f=G(f=J(f,kt(f,{left:r.left!==void 0?r.left-B*A:void 0,top:r.top!==void 0?r.top-dt*A:void 0,bottom:r.bottom!==void 0?r.bottom+lt*A:void 0,right:r.right!==void 0?r.right+Q*A:void 0})),n({visibleArea:f,type:"move"})),m.width=m.width*A,m.height=m.height*A,m.left=f.left+B*A,m.top=f.top+dt*A,m=G(m,Vt(ut(f),r)),a.factor&&O&&l&&(a.factor>1?v=Math.min(E.area.maximum,a.factor)/A:a.factor<1&&(v=Math.max(m.height/f.height,m.width/f.width,a.factor/A)),v!==1&&(f=J(f=G(f=ot(f,v,a.factor>1?a.center:K(m)),n({visibleArea:f,type:"move"})),Zt(kt(m,ut(f)))))),{coordinates:m,visibleArea:f}}function On(t){var e=t.aspectRatio,i=t.getAreaRestrictions,s=t.coordinates,o=t.visibleArea,n=t.sizeRestrictions,r=t.positionRestrictions,l=t.imageSize,a=t.previousImageSize,u=t.angle,f=M({},s),m=M({},o),v=xt(K(M({left:0,top:0},a)),u);return(f=M(M({},vt({sizeRestrictions:n,aspectRatio:e,width:f.width,height:f.height})),xt(K(f),u))).left-=v.left-l.width/2+f.width/2,f.top-=v.top-l.height/2+f.height/2,m=ot(m,$t(m,i({visibleArea:m,type:"resize"}))),{coordinates:f=G(f,r),visibleArea:m=G(m=J(m,Tt(K(f),K(s))),i({visibleArea:m,type:"move"}))}}function En(t){var e=t.flip,i=t.previousFlip,s=t.rotate;t.aspectRatio;var o=t.getAreaRestrictions,n=t.coordinates,r=t.visibleArea,l=t.imageSize,a=M({},n),u=M({},r),f=i.horizontal!==e.horizontal,m=i.vertical!==e.vertical;if(f||m){var v=xt({left:l.width/2,top:l.height/2},-s),A=xt(K(a),-s),O=xt({left:f?v.left-(A.left-v.left):A.left,top:m?v.top-(A.top-v.top):A.top},s);a=J(a,Tt(O,K(a))),A=xt(K(u),-s),u=G(u=J(u,Tt(O=xt({left:f?v.left-(A.left-v.left):A.left,top:m?v.top-(A.top-v.top):A.top},s),K(u))),o({visibleArea:u,type:"move"}))}return{coordinates:a,visibleArea:u}}function Ne(t){var e=t.directions,i=t.coordinates,s=t.positionRestrictions,o=s===void 0?{}:s,n=t.sizeRestrictions,r=t.preserveRatio,l=t.compensate,a=M({},e),u=ct(i,a).width,f=ct(i,a).height;u<0&&(a.left<0&&a.right<0?(a.left=-(i.width-n.minWidth)/(a.left/a.right),a.right=-(i.width-n.minWidth)/(a.right/a.left)):a.left<0?a.left=-(i.width-n.minWidth):a.right<0&&(a.right=-(i.width-n.minWidth))),f<0&&(a.top<0&&a.bottom<0?(a.top=-(i.height-n.minHeight)/(a.top/a.bottom),a.bottom=-(i.height-n.minHeight)/(a.bottom/a.top)):a.top<0?a.top=-(i.height-n.minHeight):a.bottom<0&&(a.bottom=-(i.height-n.minHeight)));var m=Bt(ct(i,a),o);l&&(m.left&&m.left>0&&m.right===0?(a.right+=m.left,a.left-=m.left):m.right&&m.right>0&&m.left===0&&(a.left+=m.right,a.right-=m.right),m.top&&m.top>0&&m.bottom===0?(a.bottom+=m.top,a.top-=m.top):m.bottom&&m.bottom>0&&m.top===0&&(a.top+=m.bottom,a.bottom-=m.bottom),m=Bt(ct(i,a),o));var v={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(ht.forEach(function(E){var B=m[E];B&&a[E]&&(v[E]=Math.max(0,1-B/a[E]))}),r){var A=Math.min.apply(null,ht.map(function(E){return v[E]}));A!==1/0&&ht.forEach(function(E){a[E]*=A})}else ht.forEach(function(E){v[E]!==1/0&&(a[E]*=v[E])});if(u=ct(i,a).width,f=ct(i,a).height,a.right+a.left&&(u>n.maxWidth?v.width=(n.maxWidth-i.width)/(a.right+a.left):un.maxHeight?v.height=(n.maxHeight-i.height)/(a.bottom+a.top):f=1&&(this.touchStarted?(this.processMove(t,t.touches),t.preventDefault(),t.stopPropagation()):ni({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:t.touches[0].clientX,y:t.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(t){if(this.movable&&t.button===0){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.cancelable&&t.preventDefault(),t.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.container.getBoundingClientRect(),i=e.left,s=e.top;this.anchor={x:t.clientX-i,y:t.clientY-s}},processMove:function(t,e){var i=St(e);if(this.touches.length){var s=this.$refs.container.getBoundingClientRect(),o=s.left,n=s.top;this.touches.length===1&&i.length===1&&this.$emit("move",new ye({left:i[0].clientX-(o+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};hi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)})},[Mt(t.$slots,"default")],544)};function re(t){var e,i;return{rotate:t.rotate||0,flip:{horizontal:((e=t==null?void 0:t.flip)===null||e===void 0?void 0:e.horizontal)||!1,vertical:((i=t==null?void 0:t.flip)===null||i===void 0?void 0:i.vertical)||!1}}}function Ln(t){return new Promise(function(e,i){try{if(t)if(/^data:/i.test(t))e(function(a){a=a.replace(/^data:([^;]+);base64,/gim,"");for(var u=atob(a),f=u.length,m=new ArrayBuffer(f),v=new Uint8Array(m),A=0;A=8&&(r=s+f)}}if(r){for(var m=i.getUint16(r,o),v=0;v1&&this.touchResize){var i=Fe(e,this.$refs.container),s=this.oldGeometricProperties;s.count===i.count&&s.count>1&&this.$emit("resize",new Wt({left:s.centerMass.left-i.centerMass.left,top:s.centerMass.top-i.centerMass.top},{factor:s.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=e}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(t){return this.eventsFilter?this.eventsFilter(t,this.transforming)!==!1:(t.preventDefault(),t.stopPropagation(),!0)},onTouchStart:function(t){if(t.cancelable&&(this.touchMove||this.touchResize&&t.touches.length>1)&&this.processEvent(t)){var e=this.$refs.container,i=e.getBoundingClientRect(),s=i.left,o=i.top,n=i.bottom,r=i.right;this.touches=St(t.touches).filter(function(l){return l.clientX>s&&l.clientXo&&l.clientY0?1:-1),n={left:t.clientX-i,top:t.clientY-s};this.$emit("resize",new Wt({},{factor:o,center:n})),this.touches.length||this.debouncedProcessEnd()}var r,l}},emits:["resize","move","transform-end"]};di.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)}),onWheel:e[3]||(e[3]=function(){return n.onWheel&&n.onWheel.apply(n,arguments)})},[Mt(t.$slots,"default")],544)};var ve={components:{TransformableImage:di},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"]};ve.render=function(t,e,i,s,o,n){var r=bt("transformable-image");return x(),L(r,{"touch-move":i.touchMove,"touch-resize":i.touchResize,"mouse-move":i.mouseMove,"wheel-resize":i.wheelResize,onMove:e[1]||(e[1]=function(l){return t.$emit("move",l)}),onResize:e[2]||(e[2]=function(l){return t.$emit("resize",l)})},{default:y(function(){return[Mt(t.$slots,"default")]}),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])};var Xt=rt("vue-preview"),mi={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Xt({fill:this.fill}),wrapper:Xt("wrapper"),imageWrapper:Xt("image-wrapper"),image:q(Xt("image"),this.imageClass)}},style:function(){if(this.fill)return{};var t={};return this.width&&(t.width="".concat(this.size.width,"px")),this.height&&(t.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},wrapperStyle:function(){var t={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},imageStyle:function(){if(this.coordinates&&this.image){var t=this.coordinates.width/this.size.width,e=T(T({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/t,scaleY:1/t}),i=this.imageSize.width,s=this.imageSize.height,o=ri({width:i,height:s},e.rotate),n={width:"".concat(i,"px"),height:"".concat(s,"px"),left:"0px",top:"0px"},r={rotate:{left:(i-o.width)*e.scaleX/2,top:(s-o.height)*e.scaleY/2},scale:{left:(1-e.scaleX)*i/2,top:(1-e.scaleY)*s/2}};return n.transform=`translate( - `.concat(-this.coordinates.left/t-r.rotate.left-r.scale.left,"px,").concat(-this.coordinates.top/t-r.rotate.top-r.scale.top,"px) ")+ui(e),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(t){(t.width||t.height)&&this.onChangeImage()}},mounted:function(){var t=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){t.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var t=this.$refs.image;this.calculatedImageSize.height=t.naturalHeight,this.calculatedImageSize.width=t.naturalWidth},refresh:function(){var t=this.$refs.root;this.width||(this.calculatedSize.width=t.clientWidth),this.height||(this.calculatedSize.height=t.clientHeight)},onChangeImage:function(){var t=this.$refs.image;t&&t.complete&&this.refreshImage(),this.refresh()}}};mi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"root",class:n.classes.root,style:n.style},[b("div",{ref:"wrapper",class:n.classes.wrapper,style:n.wrapperStyle},[qe(b("img",{ref:"image",src:i.image&&i.image.src,class:n.classes.image,style:n.imageStyle},null,14,["src"]),[[Ye,i.image&&i.image.src]])],6)],6)};var fi={components:{Preview:mi},inheritAttrs:!1};fi.render=function(t,e,i,s,o,n){var r=bt("preview");return x(),L(r,Xe(t.$attrs,{fill:!0}),null,16)};var le=rt("vue-rectangle-stencil"),pi={name:"RectangleStencil",components:{StencilPreview:fi,BoundingBox:ci,DraggableArea:hi},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return xe}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return ze}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:q(le({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:q(le("preview"),this.previewClass),boundingBox:q(le("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,i=t.width,s=t.left,o=t.top,n={width:"".concat(i,"px"),height:"".concat(e,"px"),transform:"translate(".concat(s,"px, ").concat(o,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};pi.render=function(t,e,i,s,o,n){var r=bt("stencil-preview"),l=bt("draggable-area"),a=bt("bounding-box");return x(),L("div",{class:n.classes.stencil,style:n.style},[b(a,{width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,transitions:i.transitions,class:n.classes.boundingBox,handlers:i.handlers,"handlers-component":i.handlersComponent,"handlers-classes":i.handlersClasses,"handlers-wrappers-classes":i.handlersWrappersClasses,lines:i.lines,"lines-component":i.linesComponent,"lines-classes":i.linesClasses,"lines-wrappers-classes":i.linesWrappersClasses,resizable:i.resizable,onResize:n.onResize,onResizeEnd:n.onResizeEnd},{default:y(function(){return[b(l,{movable:i.movable,onMove:n.onMove,onMoveEnd:n.onMoveEnd},{default:y(function(){return[b(r,{image:i.image,coordinates:i.coordinates,width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,class:n.classes.preview,transitions:i.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var Bn=["transitions"],pt=rt("vue-advanced-cropper"),gi={name:"Cropper",components:{BackgroundWrapper:ve},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return pi}},backgroundWrapperComponent:{type:[Object,String],default:function(){return ve}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(t){return bn.indexOf(t)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(t){return!(typeof t=="string"&&t!=="fill"&&t!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(t){var e=t.event,i=t.coordinates,s=t.aspectRatio,o=t.positionRestrictions,n=t.sizeRestrictions,r=M(M({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=e.params||{},a=M({},e.directions),u=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(a.left=0,a.right=0),n.heightFrozen&&(a.top=0,a.bottom=0),ht.forEach(function(tt){u[tt]||(a[tt]=0)});var f=ct(r,a=Ne({coordinates:r,directions:a,sizeRestrictions:n,positionRestrictions:o})).width,m=ct(r,a).height,v=l.preserveRatio?P(r):oe(f/m,s);if(v){var A=l.respectDirection;if(A||(A=r.width>=r.height||v===1?"width":"height"),A==="width"){var O=f/v-r.height;if(u.top&&u.bottom){var E=a.top,B=a.bottom;a.bottom=Yt(O,B,E),a.top=Yt(O,E,B)}else u.bottom?a.bottom=O:u.top?a.top=O:u.right?a.right=0:u.left&&(a.left=0)}else if(A==="height"){var Q=r.width-m*v;if(u.left&&u.right){var dt=a.left,lt=a.right;a.left=-Yt(Q,dt,lt),a.right=-Yt(Q,lt,dt)}else u.left?a.left=-Q:u.right?a.right=-Q:u.top?a.top=0:u.bottom&&(a.bottom=0)}a=Ne({directions:a,coordinates:r,sizeRestrictions:n,positionRestrictions:o,preserveRatio:!0,compensate:l.compensate})}return f=ct(r,a).width,m=ct(r,a).height,(v=l.preserveRatio?P(r):oe(f/m,s))&&Math.abs(v-f/m)>.001&&ht.forEach(function(tt){u[tt]||(a[tt]=0)}),ge({event:new ye({left:-a.left,top:-a.top}),coordinates:{width:i.width+a.right+a.left,height:i.height+a.top+a.bottom,left:i.left,top:i.top},positionRestrictions:o})}},moveAlgorithm:{type:Function,default:ge},initStretcher:{type:Function,default:function(t){var e=t.stretcher,i=t.imageSize,s=P(i);e.style.width=i.width+"px",e.style.height=e.clientWidth/s+"px",e.style.width=e.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(t){var e=t.visibleArea,i=t.coordinates,s=t.aspectRatio,o=t.sizeRestrictions,n=t.positionRestrictions,r=M(M({},i),vt({width:i.width,height:i.height,aspectRatio:s,sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minHeight:Math.min(e.height,o.minHeight),minWidth:Math.min(e.width,o.minWidth)}}));return r=G(r=J(r,Tt(K(i),K(r))),Vt(ut(e),n))}},fitVisibleArea:{type:Function,default:function(t){var e=t.visibleArea,i=t.boundaries,s=t.getAreaRestrictions,o=t.coordinates,n=M({},e);n.height=n.width/P(i),n.top+=(e.height-n.height)/2,(o.height-n.height>0||o.width-n.width>0)&&(n=ot(n,Math.max(o.height/n.height,o.width/n.width)));var r=Zt(kt(o,ut(n=ot(n,$t(n,s({visibleArea:n,type:"resize"}))))));return n.widthP(s)?(r={top:0,bottom:s.height},e&&n==="move"&&(e.width>s.width?(r.left=-(e.width-s.width)/2,r.right=s.width-r.left):(r.left=0,r.right=s.width))):(r={left:0,right:s.width},e&&n==="move"&&(e.height>s.height?(r.top=-(e.height-s.height)/2,r.bottom=s.height-r.top):(r.top=0,r.bottom=s.height)))),r}},sizeRestrictionsAlgorithm:{type:Function,default:function(t){return{minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.imageSize,i={};return t.imageRestriction!=="none"&&(i={left:0,top:0,right:e.width,bottom:e.height}),i}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:T({},Le)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var t=function(e){return e*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(t))+Math.abs(this.imageAttributes.height*Math.sin(t)),height:Math.abs(this.imageAttributes.width*Math.sin(t))+Math.abs(this.imageAttributes.height*Math.cos(t))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var t=fe(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:fe(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:t}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var t=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:X(this.minWidth)?0:Ft(this.minWidth),minHeight:X(this.minHeight)?0:Ft(this.minHeight),maxWidth:X(this.maxWidth)?1/0:Ft(this.maxWidth),maxHeight:X(this.maxHeight)?1/0:Ft(this.maxHeight)});if(t=function(s){var o=s.areaRestrictions,n=s.sizeRestrictions;s.imageSize;var r=s.boundaries,l=s.positionRestrictions;s.imageRestriction;var a=M(M({},n),{minWidth:n.minWidth!==void 0?n.minWidth:0,minHeight:n.minHeight!==void 0?n.minHeight:0,maxWidth:n.maxWidth!==void 0?n.maxWidth:1/0,maxHeight:n.maxHeight!==void 0?n.maxHeight:1/0});l.left!==void 0&&l.right!==void 0&&(a.maxWidth=Math.min(a.maxWidth,l.right-l.left)),l.bottom!==void 0&&l.top!==void 0&&(a.maxHeight=Math.min(a.maxHeight,l.bottom-l.top));var u=pe(o),f=ai(r,u);return u.width<1/0&&(!a.maxWidth||a.maxWidth>f.width)&&(a.maxWidth=Math.min(a.maxWidth,f.width)),u.height<1/0&&(!a.maxHeight||a.maxHeight>f.height)&&(a.maxHeight=Math.min(a.maxHeight,f.height)),a.minWidth>a.maxWidth&&(a.minWidth=a.maxWidth,a.widthFrozen=!0),a.minHeight>a.maxHeight&&(a.minHeight=a.maxHeight,a.heightFrozen=!0),a}({sizeRestrictions:t,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var e=this.getStencilSize(),i=pe(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));t.maxWidth=Math.min(t.maxWidth,i.width*e.width/this.boundaries.width),t.maxHeight=Math.min(t.maxHeight,i.height*e.height/this.boundaries.height),t.maxWidththis.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},e={left:(t.width-this.imageSize.width)/(2*this.coefficient),top:(t.height-this.imageSize.height)/(2*this.coefficient)},i={left:(1-1/this.coefficient)*t.width/2,top:(1-1/this.coefficient)*t.height/2},s=T(T({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/t.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/t.height)}),o={width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-e.left-i.left-this.imageTransforms.translateX,"px, ").concat(-e.top-i.top-this.imageTransforms.translateY,"px)")+ui(s)};return this.transitionsOptions.enabled&&(o.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),o}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var t=this;this.$nextTick(function(){t.resetCoordinates(),t.runAutoZoom("setCoordinates"),t.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(t,e){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(i){return t[i]!==e[i]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=me(this.update,this.debounce),this.debouncedDisableTransitions=me(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var t=this.initialized?this.prepareResult(T({},this.coordinates)):this.defaultCoordinates(),e={rotate:this.imageTransforms.rotate%360,flip:T({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:t,visibleArea:this.visibleArea?T({},this.visibleArea):null,imageTransforms:e,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:t,visibleArea:this.visibleArea?T({},this.visibleArea):null,canvas:void 0,imageTransforms:e}},zoom:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Wt({},{factor:1/t,center:e}),{normalize:!1,transitions:o})},move:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Wt({left:t||0,top:e||0}),{normalize:!1,transitions:o})},setCoordinates:function(t){var e=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=i.autoZoom,o=s===void 0||s,n=i.transitions,r=n===void 0||n;this.$nextTick(function(){e.imageLoaded?(e.transitionsActive||(r&&e.enableTransitions(),e.coordinates=e.applyTransform(t),o&&e.runAutoZoom("setCoordinates"),r&&e.debouncedDisableTransitions()),e.onChange()):e.delayedTransforms=t})},refresh:function(){var t=this,e=this.$refs.image;if(this.src&&e)return this.initialized?this.updateVisibleArea().then(function(){t.onChange()}):this.resetVisibleArea().then(function(){t.onChange()})},reset:function(){var t=this;return this.resetVisibleArea().then(function(){t.onChange(!1)})},awaitRender:function(t){var e=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){t(),e.awaiting=!1}))},prepareResult:function(t){return this.roundResult?function(e){var i=e.coordinates,s=e.sizeRestrictions,o=e.positionRestrictions,n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)};return n.width>s.maxWidth?n.width=Math.floor(i.width):n.widths.maxHeight?n.height=Math.floor(i.height):n.height1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i!==void 0&&i,o=hn(e,Bn),n=this.processAutoZoom(t,this.visibleArea,this.coordinates,o),r=n.visibleArea,l=n.coordinates,a=n.changed;s&&a&&this.enableTransitions(),this.visibleArea=r,this.coordinates=l,s&&a&&this.debouncedDisableTransitions()},normalizeEvent:function(t){return function(e){var i=e.event,s=e.visibleArea,o=e.coefficient;if(i.type==="manipulateImage")return M(M({},i),{move:{left:i.move&&i.move.left?o*i.move.left:0,top:i.move&&i.move.top?o*i.move.top:0},scale:{factor:i.scale&&i.scale.factor?i.scale.factor:1,center:i.scale&&i.scale.center?{left:i.scale.center.left*o+s.left,top:i.scale.center.top*o+s.top}:null}});if(i.type==="resize"){var n=M(M({},i),{directions:M({},i.directions)});return ht.forEach(function(l){n.directions[l]*=o}),n}if(i.type==="move"){var r=M(M({},i),{directions:M({},i.directions)});return vn.forEach(function(l){r.directions[l]*=o}),r}return i}(T(T({},this.getPublicProperties()),{},{event:t}))},getCanvas:function(){if(this.$refs.canvas){var t=this.$refs.canvas,e=this.$refs.image,i=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(l,a,u){var f=u.rotate,m=u.flip,v={width:a.naturalWidth,height:a.naturalHeight},A=ri(v,f),O=l.getContext("2d");l.height=A.height,l.width=A.width,O.save();var E=xt(K(M({left:0,top:0},v)),f);return O.translate(-(E.left-A.width/2),-(E.top-A.height/2)),O.rotate(f*Math.PI/180),O.translate(m.horizontal?v.width:0,m.vertical?v.height:0),O.scale(m.horizontal?-1:1,m.vertical?-1:1),O.drawImage(a,0,0,v.width,v.height),O.restore(),l}(this.$refs.sourceCanvas,e,this.imageTransforms):e,s=T({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),o=function(l){return l.find(function(a){return u=a,!Number.isNaN(parseFloat(u))&&isFinite(u);var u})},n=vt({sizeRestrictions:{minWidth:o([s.width,s.minWidth])||0,minHeight:o([s.height,s.minHeight])||0,maxWidth:o([s.width,s.maxWidth])||1/0,maxHeight:o([s.height,s.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(s.maxArea&&n.width*n.height>s.maxArea){var r=Math.sqrt(s.maxArea/(n.width*n.height));n={width:Math.round(r*n.width),height:Math.round(r*n.height)}}return function(l,a,u,f,m){l.width=f?f.width:u.width,l.height=f?f.height:u.height;var v=l.getContext("2d");v.clearRect(0,0,l.width,l.height),m&&(m.imageSmoothingEnabled&&(v.imageSmoothingEnabled=m.imageSmoothingEnabled),m.imageSmoothingQuality&&(v.imageSmoothingQuality=m.imageSmoothingQuality),m.fillColor&&(v.fillStyle=m.fillColor,v.fillRect(0,0,l.width,l.height),v.save()));var A=u.left<0?-u.left:0,O=u.top<0?-u.top:0;v.drawImage(a,u.left+A,u.top+O,u.width,u.height,A,O,l.width,l.height)}(t,i,this.coordinates,n,s),t}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=this.visibleArea&&e?wn(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,s=this.visibleArea&&e?qt(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return yn({transform:t,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:s,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var t=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var e=this.defaultSize;e||(e=this.stencilSize?Sn:In);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var s=Dt(e)?e({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):e,o=this.defaultPosition||Rn,n=[s,function(r){var l=r.coordinates;return T({},Dt(o)?o({coordinates:l,imageSize:t.imageSize,visibleArea:t.visibleArea}):t.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,St(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var t=this;this.imageLoaded=!1,setTimeout(function(){var e=t.$refs.stretcher;e&&(e.style.height="auto",e.style.width="auto"),t.coordinates=t.defaultCoordinates(),t.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var t=this,e=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:e,imageSize:this.imageSize}),this.$nextTick().then(function(){var s={cropper:i,imageSize:t.imageSize};if(Dt(t.defaultBoundaries)?t.boundaries=t.defaultBoundaries(s):t.defaultBoundaries==="fit"?t.boundaries=function(o){var n=o.cropper,r=o.imageSize,l=n.clientHeight,a=n.clientWidth,u=l,f=r.width*l/r.height;return f>a&&(f=a,u=r.height*a/r.width),{width:f,height:u}}(s):t.boundaries=function(o){var n=o.cropper;return{width:n.clientWidth,height:n.clientHeight}}(s),!t.boundaries.width||!t.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var t=this;return this.appliedImageTransforms=T(T({},this.defaultImageTransforms),{},{flip:T({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){t.priority!=="visible-area"&&(t.visibleArea=null,t.resetCoordinates());var e,i,s,o,n,r,l=t.defaultVisibleArea||Mn;t.visibleArea=Dt(l)?l({imageSize:t.imageSize,boundaries:t.boundaries,coordinates:t.priority!=="visible-area"?t.coordinates:null,getAreaRestrictions:t.getAreaRestrictions,stencilSize:t.getStencilSize()}):t.defaultVisibleArea,t.visibleArea=(e={visibleArea:t.visibleArea,boundaries:t.boundaries,getAreaRestrictions:t.getAreaRestrictions},i=e.visibleArea,s=e.boundaries,o=e.getAreaRestrictions,n=M({},i),r=P(s),n.width/n.height!==r&&(n.height=n.width/r),G(n,o({visibleArea:n,type:"move"}))),t.priority==="visible-area"?t.resetCoordinates():t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("resetVisibleArea")}).catch(function(){t.visibleArea=null})},updateVisibleArea:function(){var t=this;return this.updateBoundaries().then(function(){t.visibleArea=t.fitVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,visibleArea:t.visibleArea,coordinates:t.coordinates,getAreaRestrictions:t.getAreaRestrictions}),t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("updateVisibleArea")}).catch(function(){t.visibleArea=null})},onChange:function(){var t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];t&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var t,e=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(o){if(_e(o))return!1;var n=window.location,r=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(o)||[],l={protocol:r[1]||"",host:r[2]||"",port:r[3]||""},a=function(u){return u.port||((u.protocol||n.protocol)==="http"?80:433)};return!(!l.protocol&&!l.host&&!l.port||l.protocol&&l.protocol==n.protocol&&l.host&&l.host==n.host&&l.host&&a(l)==a(n))}(this.src)){var i=X(this.crossOrigin)?this.canvas:this.crossOrigin;i===!0&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var s=(t=this.src,new Promise(function(o){Ln(t).then(function(n){var r=Wn(n);o(n?{source:t,arrayBuffer:n,orientation:r}:{source:t,arrayBuffer:null,orientation:null})}).catch(function(n){console.warn(n),o({source:t,arrayBuffer:null,orientation:null})})}));setTimeout(function(){s.then(e.onParseImage)},this.transitionTime)}else setTimeout(function(){e.onParseImage({source:e.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var t=this,e=this.$refs.image;e&&!this.imageLoaded&&(this.imageAttributes.height=e.naturalHeight,this.imageAttributes.width=e.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){t.$emit("ready"),t.onChange(!1)}))},onParseImage:function(t){var e=this,i=t.source,s=t.arrayBuffer,o=t.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,s&&o&&o>1?ei(i)||!_e(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([s])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(n){for(var r=[],l=new Uint8Array(n);l.length>0;){var a=l.subarray(0,8192);r.push(String.fromCharCode.apply(null,Array.from?Array.from(a):a.slice())),l=l.subarray(8192)}return"data:image/jpeg;base64,"+btoa(r.join(""))}(s):this.imageAttributes.src=i,Dt(this.defaultTransforms)?this.appliedImageTransforms=re(this.defaultTransforms()):Kt(this.defaultTransforms)?this.appliedImageTransforms=re(this.defaultTransforms):this.appliedImageTransforms=function(n){var r=re({});if(n)switch(n){case 2:r.flip.horizontal=!0;break;case 3:r.rotate=-180;break;case 4:r.flip.vertical=!0;break;case 5:r.rotate=90,r.flip.vertical=!0;break;case 6:r.rotate=90;break;case 7:r.rotate=90,r.flip.horizontal=!0;break;case 8:r.rotate=-90}return r}(o),this.defaultImageTransforms=T(T({},this.appliedImageTransforms),{},{flip:T({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var n=e.$refs.image;n&&n.complete&&(function(r){return!!r.naturalWidth}(n)?e.onSuccessLoadImage():e.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(t){var e=this;this.transitionsOptions.enabled||this.awaitRender(function(){e.coordinates=e.moveAlgorithm(T(T({},e.getPublicProperties()),{},{positionRestrictions:qt(e.positionRestrictions,e.visibleArea),coordinates:e.coordinates,event:e.normalizeEvent(t)})),e.onChange()})},onResize:function(t){var e=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var i=e.sizeRestrictions,s=Math.min(e.coordinates.width,e.coordinates.height,20*e.coefficient);e.coordinates=e.resizeAlgorithm(T(T({},e.getPublicProperties()),{},{positionRestrictions:qt(e.positionRestrictions,e.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,e.visibleArea.width),maxHeight:Math.min(i.maxHeight,e.visibleArea.height),minWidth:Math.max(i.minWidth,s),minHeight:Math.max(i.minHeight,s)},event:e.normalizeEvent(t)})),e.onChange(),e.ticking=!1})},onManipulateImage:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=e.transitions,s=i!==void 0&&i,o=e.normalize,n=o===void 0||o;s&&this.enableTransitions();var r=Cn(T(T({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(t):t,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=r.visibleArea,a=r.coordinates;this.visibleArea=l,this.coordinates=a,this.runAutoZoom("manipulateImage"),this.onChange(),s&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.visibleArea,i=t.type,s=i===void 0?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:e,type:s})},getAspectRatio:function(t){var e,i,s=this.stencilProps,o=s.aspectRatio,n=s.minAspectRatio,r=s.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();e=l.minimum,i=l.maximum}if(X(e)&&(e=X(o)?n:o),X(i)&&(i=X(o)?r:o),!t&&(X(e)||X(i))){var a=this.getStencilSize(),u=a?P(a):null;X(e)&&(e=He(u)?u:void 0),X(i)&&(i=He(u)?u:void 0)}return{minimum:e,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},e=t.boundaries,i=t.stencilSize,s=t.aspectRatio,oe(P(o=Dt(i)?i({boundaries:e,aspectRatio:s}):i),s)&&(o=vt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:s.minimum,maximum:s.maximum}})),(o.width>e.width||o.height>e.height)&&(o=vt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:P(o),maximum:P(o)}})),o;var t,e,i,s,o},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return T({},Le)},flip:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;if(!this.transitionsActive){o&&this.enableTransitions();var n=T({},this.imageTransforms.flip),r=En({flip:{horizontal:t?!n.horizontal:n.horizontal,vertical:e?!n.vertical:n.vertical},previousFlip:n,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),l=r.visibleArea,a=r.coordinates;t&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),e&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=l,this.coordinates=a,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i===void 0||i;if(!this.transitionsActive){s&&this.enableTransitions();var o=T({},this.imageSize);this.appliedImageTransforms.rotate+=t;var n=On({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:t,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),r=n.visibleArea,l=n.coordinates,a=this.processAutoZoom("rotateImage",r,l);r=a.visibleArea,l=a.coordinates,this.visibleArea=r,this.coordinates=l,this.onChange(),s&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},Un={key:0,ref:"canvas",style:{display:"none"}},Nn={key:1,ref:"sourceCanvas",style:{display:"none"}};gi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"cropper",class:n.classes.cropper},[b("div",{ref:"stretcher",class:n.classes.stretcher},null,2),b("div",{class:n.classes.boundaries,style:n.boundariesStyle},[(x(),L(Gt(i.backgroundWrapperComponent),{class:n.classes.cropperWrapper,"wheel-resize":n.settings.resizeImage.wheel,"touch-resize":n.settings.resizeImage.touch,"touch-move":n.settings.moveImage.touch,"mouse-move":n.settings.moveImage.mouse,onMove:n.onManipulateImage,onResize:n.onManipulateImage},{default:y(function(){return[b("div",{class:n.classes.background,style:n.boundariesStyle},null,6),b("div",{class:n.classes.imageWrapper},[b("img",{ref:"image",crossorigin:o.imageAttributes.crossOrigin,src:o.imageAttributes.src,class:n.classes.image,style:n.imageStyle,onMousedown:e[1]||(e[1]=Qt(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),b("div",{class:n.classes.foreground,style:n.boundariesStyle},null,6),qe((x(),L(Gt(i.stencilComponent),Xe({ref:"stencil",image:n.image,coordinates:o.coordinates,"stencil-coordinates":n.stencilCoordinates,transitions:n.transitionsOptions},i.stencilProps,{onResize:n.onResize,onResizeEnd:n.onResizeEnd,onMove:n.onMove,onMoveEnd:n.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[Ye,o.imageLoaded]]),i.canvas?(x(),L("canvas",Un,null,512)):D("",!0),i.canvas?(x(),L("canvas",Nn,null,512)):D("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const Fn=t=>(Hi("data-v-a664b16d"),t=t(),Li(),t),qn={class:"relative overflow-hidden rounded-md border p-4 transition-all hover:shadow dark:border-neutral-700"},Yn={class:"flex items-center justify-between"},Xn={style:{width:"240px"}},Qn={class:"my-4 h-[280px]"},Kn={key:0,class:"flex h-full w-full items-center justify-center overflow-hidden rounded-md"},Gn={key:1,class:"flex flex-col h-full w-full items-center justify-center overflow-hidden rounded-md"},Zn=["src"],$n={class:"mt-3 text-base"},Vn={class:"mt-1"},Jn={key:2,class:"my-4 h-[280px] relative"},ts={class:"-mx-4 -mb-4 bg-[#fafafc] px-4 py-2 dark:bg-[#262629]"},es={key:0,class:"w-full"},is={class:"mb-2 flex items-center justify-between"},ns={class:"flex-1"},ss={class:"flex items-center justify-around"},os={key:1,class:"w-full"},as={class:"mb-2 flex items-center justify-between"},rs={class:"flex-1"},ls={class:"flex items-center justify-around"},cs={key:2,class:"w-full"},hs={class:"mb-2 flex items-center justify-between"},us={class:"flex-1"},ds={class:"flex items-center justify-around"},ms={key:3},fs={class:"mb-2 flex flex-1 items-center justify-between"},ps=Fn(()=>h("span",{class:"text-base text-neutral-400"},null,-1)),gs={class:"flex-1"},vs={class:"flex items-center pl-2 justify-around"},bs=["src"],ws=["src"],ys={key:0},As=["src"],xs=["src"],zs=["src"],Rs={class:"p-4 bg-white dark:bg-[#262629] rounded-md"},Is={class:"text-lg font-bold mb-4"},Ss={class:"cropper-container rounded-md mb-4"},Ms={class:"mb-4"},Cs={class:"flex justify-end gap-4"},Os={key:4,class:"w-full mb-2 flex items-center justify-between"},Es={key:0},js={key:0},Ds={key:1},Ts={key:1},Ps={key:5,class:"w-full mb-2 flex items-center justify-between"},ks={key:6,class:"w-full mb-2 flex items-center justify-between"},_s={key:7,class:"w-full mb-2 flex items-center justify-between"},Hs=be({__name:"cardItem",props:{drawItemInfo:{}},emits:["usePrompt","queryData"],setup(t,{emit:e}){const i=e,s=we(),o=Ke(),n=W(()=>s.theme),r=W(()=>n.value==="dark"?"#fff":"#000"),l=t,a=$e(),u=Ve(),f="/api/midjourney/download",m=k(!1),v=k(!1),A=k(null),O=k(""),E=W(()=>{const{status:p}=l.drawItemInfo;if(p===1)return"";if(p===2)return"info";if(p===3)return"primary";if(p===4||p===5)return"error"}),B=W(()=>{const{status:p}=l.drawItemInfo;if(p===1)return d("draw.statusWaiting");if(p===2)return d("draw.statusDrawing");if(p===3)return d("draw.statusSuccess");if(p===4)return d("draw.statusFailure");if(p===5)return d("draw.statusTimeout")});function Q(){i("usePrompt")}async function dt(p){const w=a.info({title:d("draw.downloadImageTitle"),content:d("draw.downloadImageContent"),positiveText:d("draw.downloadButtonText"),negativeText:d("draw.cancelButtonText"),onPositiveClick:async()=>(w.loading=!0,new Promise(async z=>{const{drawUrl:U}=p,$=await Ge.post(f,{url:U},{responseType:"blob"}),N=new Blob([$.data],{type:$.headers["content-type"]}),H=window.URL.createObjectURL(N),F=document.createElement("a");F.href=H;const Jt=`image-${new Date().getTime()}-${Math.floor(Math.random()*1e3)}.png`;F.download=Jt,F.click(),z(!0)}))})}async function lt(p){a.warning({title:d("draw.deleteRecordTitle"),content:d("draw.deleteRecordContent"),positiveText:d("draw.deleteButtonText"),negativeText:d("draw.cancelButtonText"),onPositiveClick:async()=>{const{id:w}=p,z=await Fi({id:w});if(!z.success)return u.error(z.message);u.success(d("draw.drawingRecordDeleted")),i("queryData")}})}async function tt(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`upsample::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"UPSCALE",customId:H}),u.success(d("draw.submitZoomDrawingSuccess")),o.token&&await nt(),i("queryData")}async function Ct(p){const{drawId:w,extend:z}=p,N=JSON.parse(z).buttons.find(H=>H.customId.includes("reroll")).customId;await At({drawId:w,prompt:p.fullPrompt,action:"REROLL",customId:N}),u.success(d("draw.submitRedrawSuccess")),o.token&&await nt(),i("queryData")}async function et(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`variation::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"VARIATION",customId:H}),u.success(d("draw.submitTransformDrawingSuccess")),o.token&&await nt(),i("queryData")}async function at(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`Outpaint::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"ZOOM",customId:H}),u.success(d("draw.submitEnlargeDrawingSuccess")),o.token&&await nt(),i("queryData")}async function Ot(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"VARIATION",customId:H}),u.success(d("draw.submitAdvancedTransformDrawingSuccess")),o.token&&await nt(),i("queryData")}async function wt(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`pan_${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"PAN",customId:H}),u.success(d("draw.submitZoomDrawingSuccess")),o.token&&await nt(),i("queryData")}const mt=W(()=>{try{return JSON.parse(l.drawItemInfo.extend).buttons||[]}catch{return[]}});async function Z(p){A.value=p}async function ft(){if(!A.value||!A.value.coordinates)return null;const[p,w]=l.drawItemInfo.drawRatio.split("x").map(Number),{coordinates:z}=A.value;return new Promise((U,$)=>{const N=document.createElement("canvas"),H=N.getContext("2d");N.width=p,N.height=w,H.fillStyle="black",H.fillRect(0,0,N.width,N.height),H.fillStyle="white",H.fillRect(z.left,z.top,z.width,z.height);const F=N.toDataURL();U(F)})}async function it(p){v.value=!1;const{drawId:w,extend:z}=p,$=JSON.parse(z).buttons.find(F=>F.customId.includes("Inpaint")),N=await ft(),H=$.customId;await At({drawId:w,base64:N,prompt:O.value,action:"MODAL",customId:H}),u.success(d("draw.submitRegionalRedrawSuccess")),o.token&&await nt(),i("queryData")}async function nt(){m.value=!0;try{await o.getUserInfo(),m.value=!1}catch{m.value=!1}}const Et=W(()=>{const{progress:p,status:w}=l.drawItemInfo;if(w===1)return d("draw.queueing");if(w===2&&!p)return d("draw.drawing");if(w===2&&p===100)return d("draw.storing")});return(p,w)=>(x(),C("div",qn,[h("div",Yn,[h("span",null,[b(c(Gi),{size:"small",type:E.value},{default:y(()=>[j(g(B.value),1)]),_:1},8,["type"])]),b(c(he),null,{default:y(()=>[p.drawItemInfo.action==="IMAGINE"?(x(),L(c(gt),{key:0,placement:"top",trigger:"hover"},{trigger:y(()=>[b(c(_),{size:"tiny",ghost:"",onClick:Q},{icon:y(()=>[b(c(V),{icon:"ri:brush-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.use")),1)]),_:1})]),default:y(()=>[h("div",Xn,[h("p",null,g(p.drawItemInfo.fullPrompt),1)])]),_:1})):D("",!0),b(c(_),{size:"tiny",ghost:"",onClick:w[0]||(w[0]=z=>dt(p.drawItemInfo))},{icon:y(()=>[b(c(V),{icon:"mingcute:file-download-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.download")),1)]),_:1}),b(c(_),{size:"tiny",ghost:"",onClick:w[1]||(w[1]=z=>lt(p.drawItemInfo))},{icon:y(()=>[b(c(V),{icon:"ri:delete-bin-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.delete")),1)]),_:1})]),_:1})]),h("div",Qn,[p.drawItemInfo.status===3?(x(),C("div",Kn,[b(c(Zi),{style:{"object-fit":"contain"},src:p.drawItemInfo.drawUrl,"preview-src":p.drawItemInfo.drawUrl,"object-fit":"contain"},null,8,["src","preview-src"])])):D("",!0),[4,5,6].includes(p.drawItemInfo.status)?(x(),C("div",Gn,[h("img",{class:"w-[75px]",src:c(cn)},null,8,Zn),h("span",$n,g(c(d)("draw.drawingFailed")),1),h("span",Vn,g(c(d)("draw.pointsRefunded")),1)])):D("",!0),[1,2].includes(p.drawItemInfo.status)?(x(),C("div",Jn,[b(Je,{"text-color":r.value,progress:p.drawItemInfo.progress,tips:Et.value},null,8,["text-color","progress","tips"])])):D("",!0)]),h("div",ts,[mt.value.some(z=>z.customId.includes("upsample::1"))&&p.drawItemInfo.status===3?(x(),C("div",es,[h("div",is,[h("span",null,g(c(d)("draw.zoom")),1),h("div",ns,[h("div",ss,[b(c(_),{size:"tiny",onClick:w[2]||(w[2]=z=>tt(p.drawItemInfo,"1"))},{default:y(()=>[j(g(c(d)("draw.U1")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[3]||(w[3]=z=>tt(p.drawItemInfo,"2"))},{default:y(()=>[j(g(c(d)("draw.U2")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[4]||(w[4]=z=>tt(p.drawItemInfo,"3"))},{default:y(()=>[j(g(c(d)("draw.U3")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[5]||(w[5]=z=>tt(p.drawItemInfo,"4"))},{default:y(()=>[j(g(c(d)("draw.U4")),1)]),_:1}),b(c(gt),{placement:"top",trigger:"hover"},{trigger:y(()=>[b(c(_),{size:"tiny",onClick:w[6]||(w[6]=z=>Ct(p.drawItemInfo))},{default:y(()=>[b(c(V),{icon:"solar:refresh-outline",class:"text-base"})]),_:1})]),default:y(()=>[h("p",null,g(c(d)("draw.regenerateOnce")),1)]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("::variation::1"))&&p.drawItemInfo.status===3?(x(),C("div",os,[h("div",as,[h("span",null,g(c(d)("draw.transform")),1),h("div",rs,[h("div",ls,[b(c(_),{size:"tiny",onClick:w[7]||(w[7]=z=>et(p.drawItemInfo,"1"))},{default:y(()=>[j(g(c(d)("draw.V1")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[8]||(w[8]=z=>et(p.drawItemInfo,"2"))},{default:y(()=>[j(g(c(d)("draw.V2")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[9]||(w[9]=z=>et(p.drawItemInfo,"3"))},{default:y(()=>[j(g(c(d)("draw.V3")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[10]||(w[10]=z=>et(p.drawItemInfo,"4"))},{default:y(()=>[j(g(c(d)("draw.V4")),1)]),_:1}),b(c(_),{size:"tiny",style:{opacity:"0"}},{default:y(()=>[j(" V5 ")]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("pan_left"))&&p.drawItemInfo.status===3?(x(),C("div",cs,[h("div",hs,[h("span",null,g(c(d)("draw.pan")),1),h("div",us,[h("div",ds,[b(c(_),{size:"tiny",onClick:w[11]||(w[11]=z=>wt(p.drawItemInfo,"left"))},{default:y(()=>[j(g(c(d)("draw.panLeft")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[12]||(w[12]=z=>wt(p.drawItemInfo,"right"))},{default:y(()=>[j(g(c(d)("draw.panRight")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[13]||(w[13]=z=>wt(p.drawItemInfo,"up"))},{default:y(()=>[j(g(c(d)("draw.panUp")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[14]||(w[14]=z=>wt(p.drawItemInfo,"down"))},{default:y(()=>[j(g(c(d)("draw.panDown")),1)]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("Outpaint::50"))&&p.drawItemInfo.status===3?(x(),C("div",ms,[h("div",fs,[h("span",null,g(c(d)("draw.transformZoom")),1),ps,h("div",gs,[h("div",vs,[b(c(he),null,{default:y(()=>[b(c(_),{size:"tiny",onClick:w[15]||(w[15]=z=>at(p.drawItemInfo,75))},{icon:y(()=>[h("img",{src:c(Te),class:"w-4",alt:""},null,8,bs)]),default:y(()=>[j(" "+g(c(d)("draw.zoom1_5x")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[16]||(w[16]=z=>at(p.drawItemInfo,50))},{icon:y(()=>[h("img",{src:c(Te),class:"w-4",alt:""},null,8,ws)]),default:y(()=>[j(" "+g(c(d)("draw.zoom2x")),1)]),_:1}),mt.value.some(z=>z.customId.includes("low_variation"))?(x(),C("div",ys,[b(c(_),{size:"tiny",onClick:w[17]||(w[17]=z=>Ot(p.drawItemInfo,"low"))},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,As)]),default:y(()=>[j(" "+g(c(d)("draw.minorTransform")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[18]||(w[18]=z=>Ot(p.drawItemInfo,"high"))},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,xs)]),default:y(()=>[j(" "+g(c(d)("draw.strongTransform")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[19]||(w[19]=z=>v.value=!0)},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,zs)]),default:y(()=>[j(" "+g(c(d)("draw.regionalRedraw")),1)]),_:1}),b(c($i),{show:v.value,"onUpdate:show":w[22]||(w[22]=z=>v.value=z),class:"rounded-md overflow-hidden bg-white dark:bg-[#262629]"},{default:y(()=>[h("div",Rs,[h("div",Is,g(c(d)("draw.regionalRedraw1")),1),h("div",Ss,[b(c(gi),{src:p.drawItemInfo.drawUrl,"stencil-props":{aspectRatio:0},class:"cropper",onChange:Z},null,8,["src"])]),h("div",Ms,[b(c(ue),{value:O.value,"onUpdate:value":w[20]||(w[20]=z=>O.value=z),type:"textarea",autosize:{minRows:1,maxRows:2},placeholder:"(选填)在此输入选中区域要改变的描述"},null,8,["value"])]),h("div",Cs,[b(c(_),{class:"py-2 px-4 rounded",onClick:w[21]||(w[21]=z=>it(p.drawItemInfo))},{default:y(()=>[j(g(c(d)("draw.submitTask")),1)]),_:1})])])]),_:1},8,["show"])])):D("",!0)]),_:1})])])])])):D("",!0),p.drawItemInfo.progress!==100&&p.drawItemInfo.status!==3?(x(),C("div",Os,[p.drawItemInfo.orderId!==5?(x(),C("div",Es,[p.drawItemInfo.action==="UPSCALE"?(x(),C("span",js,g(c(d)("draw.selectSuiteForZoom")),1)):D("",!0),p.drawItemInfo.action==="VARIATION"?(x(),C("span",Ds,g(c(d)("draw.selectSuiteForTransform")),1)):D("",!0)])):D("",!0),p.drawItemInfo.orderId===5?(x(),C("span",Ts,g(c(d)("draw.regeneratingImage")),1)):D("",!0)])):D("",!0),p.drawItemInfo.action==="IMAGINE"&&!p.drawItemInfo.orderId&&p.drawItemInfo.status==="UPSCALE"?(x(),C("div",Ps,g(c(d)("draw.drawingInProgress")),1)):D("",!0),!p.drawItemInfo.orderId&&[4,5,6].includes(p.drawItemInfo.status)?(x(),C("div",ks,g(c(d)("draw.tryDifferentPrompt")),1)):D("",!0),!p.drawItemInfo.action&&!p.drawItemInfo.extend?(x(),C("div",_s," 上级: "+g(p.drawItemInfo.message_id||"正在加载中..."),1)):D("",!0)])]))}});const Ls=Ze(Hs,[["__scopeId","data-v-a664b16d"]]),Ws={class:"grow flex h-screen flex-col lg:pt-0 bg-white dark:bg-gray-900"},Bs={class:"flex grow flex-col sm:flex-row h-full"},Us={class:"p-4 sm:pt-6 overflow-y-auto w-full sm:w-[20rem] shrink-0 border-r-2 border-[#ffffff17]"},Ns={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},Fs={class:"mt-4 text-sm flex items-center"},qs={class:"text-sm mr-1"},Ys={"data-tool-target":"tooltip-default"},Xs={class:"flex mt-2 py-1 pb-2 space-x-1 overflow-x-auto justify-between scrollbar-none"},Qs=["onClick"],Ks={class:"flex items-center justify-center w-6 h-6"},Gs={class:"mt-2 text-center text-xs leading-none text-current"},Zs={class:"mt-4 text-sm flex items-center"},$s={class:"mr-1"},Vs={"data-tool-target":"tooltip-default"},Js={style:{width:"240px"}},to={class:"mt-2 flex justify-between"},eo=["onClick"],io={class:"relative w-full h-full rounded",type:"button"},no={class:"absolute w-full h-full flex justify-center items-center"},so={class:"text-2xl text-white font-bold absolute left-5 top-1"},oo=["src"],ao={class:"mt-4"},ro={class:"mt-2 flex justify-between items-center space-x-2 text-xs"},lo={class:"w-[65px] block text-sm"},co={class:"flex-1"},ho={class:"block text-sm mt-2 flex items-center"},uo={style:{width:"240px"}},mo={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},fo={class:"w-[65px] block text-sm"},po={class:"flex-1"},go={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},vo={class:"w-[65px] block text-sm"},bo={class:"flex-1"},wo={style:{width:"270px"}},yo={key:0,class:"mt-3 flex justify-between items-center space-x-2 text-xs"},Ao={class:"w-[65px] block text-sm"},xo={class:"flex-1"},zo={style:{width:"270px"}},Ro={class:"block text-sm mt-2 flex items-center"},Io={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},So={class:"w-[65px] block text-sm"},Mo={class:"flex-1"},Co={style:{width:"240px"}},Oo={class:"mt-5"},Eo={class:"block text-base"},jo={class:"ant-spin-nested-loading css-4fssqp mt-5"},Do={class:"ant-spin-container"},To={class:"mt-2 flex justify-center items-center p-5 rounded-md"},Po={key:0,for:"upload-file"},ko={class:"upload-container"},_o=h("img",{class:"mx-auto py-2 w-11",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAABkCAMAAACb6dMUAAAC91BMVEUAAACqbeO0bd6ubeG6bdubbOzMbdLTbc6sbeLJbdOxbeCQbPHUbc7ObdGMbPO7bdutbeKUbO+pbOS5bdyGbPaZbOyrbOPVbc2MbPOWbO6xbeCWbO7LbdKWbO7Tbc+jbOezbd+PbPKfbOnUbc3LbdKMbPOIbPW7bdvNbdGibOjHbdWFbPffbcixbeDDbdbhbce1bd6IbPWsbOKHbPbdbcmpbOSebOrdbcmLbPS9bdrZbcvAbdiSbPDWbc3ZbcuJbPXSbc7ZbcvfbciUbO+KbPTZbcuFbPeabOySbPCIbPWUbO+IbPXQbdCgbOmLbPPebciRbPHdbcnGbdXabcqlbOaKbPSXbO2mbOa2bd3KbdO7bdrUbc7MbdHebcmXbO3IbdTebcnVbc2dbOqYbO3QbdCKbPSkbOevbeHgbceIbPa8bdrEbdbMbdKrbOOXbO3QbdDebcjDbdeQbPG3bd2WbO7IbdTBbdiLbPOJbPXJbdOXbO2QbPHabcqobOSfbOmvbeGNbPPCbdfTbc7bbcqzbd+fbOmObPLNbdGobOSSbPC+bdm4bdzabcuVbO+dbOrZbcvUbc2ibOjdbcnSbc/ebcm8bdq3bdy1bd7PbdDWbc2bbOvgbceibOiGbPbSbc/NbdGQbPHZbcvObdGibOjdbcmKbPSzbd+qbOOubeGtbeKRbPGJbPWYbO2tbeG7bduubeGjbOekbOembObZbcutbeHDbdeqbOTEbda4bdyFbPekbOakbOa3bdyybd+wbeDgbciHbPWJbPTNbdG0bd7PbdDdbcmZbOyTbO+GbPeXbO2VbO6EbPezbd6vbeGnbOWMbPONbPKebOnbbcnXbcyPbPGRbPDVbc3LbdKlbOabbOvJbdPZbcqdbOqpbOSsbOK3bd27bdvHbdSqbOOtbeG1bd25bdy8bdrEbdXebcnDbdaWbO6hbOjSbc6+bdnObdDAbdjbbcrKbdOcbOutbeLGbdWjbOe9bdnBbdfZbcvYbcvRbdDTbc7hbcZvJBQJAAAAvXRSTlMACJW6BhofEApsDQsK2BpWFhJ0M+Z0aRTU0aueinZrYFFAKSIcFfj4+NfXz87LxcK+paCRg3x1aF1bPz05NychGPjz597c2NK6r62akIB8dlBKR0Q+Nfn29vLv6ufm3Nzb2NPLyMbDvLq5uLa2r6WlpKORiYSDdW5VT0kwMPv48/Ly8u7p5uHf2tjVzsrDw8C8tLKurqukm5uYlpCPgHRkY11bVk9JQPv7+PTx7+Xf0cy9oZyVjYR6cmNNQmxAszFGAAAHfklEQVRo3sXa9V8TYRzA8S96ujnnZICCoggICBISBgKCCCigImV3dxcCdnd3d3cnYSdidxdid/0g8Tx3t3Fs99xt4/MXvF8X3z33PAPhGZtaHypU1t3Vdaera9ey+0ysTYuAwfM9NH9qi8cvXpw8een48RMnLj9//vXRyJ29TWKNwGBRpgOntHjy8uVjNcejZ88eNp20LFYKhsioZI8fr149ycfx8MqVK11K6/8GUTXd3r/X4rhzx6mhDPQZVdLt40cejjvfnSroUWLa8+dPno7vmV2Ogn6SHxydQeDIHLGsOOgh/54ZGXkc46a6l82qd1fX7XkcmekzEnTPGNb2tZpjx4JjG2yNc19SqbFtbGnPSRtVHenjK+iaUezbaxXH1IG+Uo7BcqDLcLYj/UFD3TIGP1VxzC8py2+6HNnTlO14sESXjHJP2Y75pqAp2ywJ4/jSh9Id4x7LMaUmaCt2N8tx11JXPzkN7jGO0UPsQHvStU6M466ljq7GZ8bhZsp3UTCbcZxZootbs9KRcfTnP6ylyxjHmVLiGUWb36Ydg4Gk6oyjiY1oR9/btOMgkFVhBHacaSN2JbAmlXYMBiCF0I7zIp9VuxK0Yz+QV512nI8U98qmYkdPOQhoCe1oI2aK1HLEjrYSYYvIGdjxtrwIx9xU5GgeDcKyHY8dZYSvRnwcsaMcCK0UdjSJFP7OfkCOynIQXEfkuBAqdKr6O2LHMBBeLHZcaCz0h+UUcvQCMfXBDoEzRD4RORyjRTn8tiFHkL2wFekp5HATuYAIR44Lq4TNMOxYCeKKR46zfUBAkk7I0VwCImuDHJMVgmYpciwCsQ1CjrPxQJ7VKeSIFu3wa4Icg4QMMeSYWFG0w74jcoQCeSWQoxcForNEjiDy3xjzMchRDsRXCjnO2gJpFd8hxxoQX3wT5PADomr7rFn0J9fR3BfEZ7sNOcK9bRS8EVZz24959w45WlUE8SmDkOPmzS2Tw4fyofjsbXnr1q2/jMMOxEe1oR03b9y4McpjvZGW4TUn8Pp1VYc56KCOKo6rV692j9Q0yquO/X1d3SHRhWO6uiPNISwg34sx7f6vPI6JlC4c4XkcaWlm3sBZjbH3ORzlQBfFczhSUiK4HqWq1z5xOHpJQCcN4nKk1M87X5deU3O0LNGpU68VEtBRkX2md5wcpOZI8VC/61VPsx0t+65MtDOXyCnQYcVlSkWCt+UEtiO5vtqzcZrlmGlVG/SXclUoy5G8XGV41WEcIaslZDNqQ2lrGdmFibNgHA6RrEne7g12BC4mnFum7ln72q4bgEwyYBR2JJsxc6RfEnYErgOyrMfl7K+PJN04tpmAHee645cmKol2rCZlNEP7/JtIIY2DsePcYfS9VIV2NCJn4POGTaVJF61bsaOuErKLScKOfkBWyWasc4/NpBBv7LiYe0G6YUeIOSFD7fyFFOKFHc4UAPjXwY7VpFdDzUF6RWzNkCN5ffYkTUKOmYSMSnnOozYSQjyQ46IXgLwbdqwjZHCdi5mQvTPY4WwP/q2Rox1FyOByDCeDdEYOh8YQ9Q85qgJBNfM9JySCDEWOi97QCDuiSBiV8nUQXRE/B+TwgqXI0dqfhKHp3LQa8E5hgRxhMAc5XGoTPBuazm9JINLuyOEMVZCjG+/H1LcFc367YCFyFN7HOr/lD/FAjrrgghzzeP/Qt2DOkd2pashR1siTcfCH1EcOM2KH3RTmPNvdGAohR1eQeTKOpmuJHfi+zAF+DWHO1d1lQDsKS4HyZM7Vd0tJ70s35KgiAV71px09jIHlMAKQetKO8cbAqzD6Oe2H31ue3/X7sWOBDNQcYHQAO5yU/DasnJGjOzPHfHi+LcixkII8DoBqyMHzWD9hKz3H1mFHI74PSI6jkBS4HGCS45jN87Z447k+FBLrIMc04Fl0jx09agJwO+Bo70m7TKTArzDssAF5Ffy7nwjksR3kBTggR10FwFLs6Gdwhxdef3gAQAxeF9bxMbBDEYwc5+IAgHLB69OZlGEdEXidbFY85xub/m5oZFCHnwN25H5rS9phR2CUAR0Bwfj7xUyBNh3o77mxtQzmUHROwY7lgD8s6e/bkIp6d2BGGnY42wMqhnb8CokyiMPGIo12xLF2pWjH78AG5np3KCNGpWGHys6UfB5rX6q9lZ1eHfarLFj7Up3tgZW5C3ufrv3iGImeHDKbARbsfbrgALXjlnaq+5YtZy0avMLKqhjTsNqkjiIVqmdVKrvyOQ0aEBqkum9plgBq+btw7uOmMv/LqRxN5ljrlJ7O/B+Gcx+3LseRv2SvFsfr0b4kjiMj0rU5whTcG+ytNTsy+pM4umRqc3gZAXeJszQ73Agcxk5aHBZxkH81QjQ5ehI4iu/S6AiOUGo+plwxLX9HMQIHNNTgsIgIAG1JYha3H8Pp6E+ROIxmczu2TLBcrwReUbWsGsyd1akEqm3bylm5DZGTvbfShjM6ZFUvuzI5TQ8NHzDUhvBMW25uV5SdjHyeyoqopkQE3cd8Z0uhQBuIHL2hYLNGDhMo2KiFOY7CSijgZAO3jxznaQwi+w+ELPUHv67REwAAAABJRU5ErkJggg=="},null,-1),Ho={class:"mt-3"},Lo={class:"text-center dark:text-[#ffffff73]"},Wo={key:1,class:"w-full h-full relative"},Bo=["src"],Uo={class:"mt-5"},No={class:"block flex justify-between"},Fo={class:"text-base py-1"},qo={class:"text-[#3076fd]"},Yo={class:"flex items-center"},Xo={class:"mt-3 space-y-1 items-center text-[#3076fd]"},Qo={class:"flex justify-between"},Ko={class:"w-[120px] block text-sm"},Go={class:"text-sm pr-2"},Zo={class:"flex justify-between"},$o={class:"w-[120px] block text-sm"},Vo={class:"text-sm pr-2"},Jo={class:"flex justify-between"},ta={class:"w-[120px] block text-sm"},ea={class:"text-sm pr-2"},ia={class:"m-auto max-w-screen-4xl"},na={class:"space-y-4 p-4"},sa={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},oa={class:"flex justify-between items-end"},aa={key:0},ra={class:"mt-4"},la={key:0,class:"mt-4"},ca={class:"mb-3 flex justify-between items-end"},ha={class:"flex items-center space-x-3 whitespace-nowrap pb-[15px]"},ua={class:"mt-3"},da={class:"space-y-2 p-4"},ma={key:0},fa={class:"mt-6 mb-4 flex flex-col"},pa={class:"text-xl font-bold flex items-end"},ga={key:0,class:"text-xs font-family ml-2"},va={key:0,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},ba=["src"],wa={class:"mt-4"},ya={key:1,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},Aa={class:"w-56 h-14 relative"},xa={class:"mb-3"},za={class:"min-h-[500px] mt-5"},Ra={class:"mt-6 mb-10 flex flex-col"},Ia={class:"text-xl font-bold"},Sa={class:"text-base text-[gray]"},Ma={key:0,class:"w-full py-28"},Ca=h("img",{class:"mx-auto",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABOCAYAAAC3zZFGAAAAAXNSR0IArs4c6QAAD81JREFUeF7tXAuQZFV5/v9zu+e9O7s7Pbtzu1s3ujHEBxhQ0ZiKFbESLVNGq6KhDEo0uKgLCBGQAvGBC+Fh2AJZQcLDxTI+qBAeakkZcMVoRCCaCMgzPJa5t7tnemeZR6bn9r19/tR3c3pyt7dnuvt2b/cCe6qoHWbOPffc7/znf37nMO3f1NjYmD0wMHA0ER3LzK8VkTQRrWPmftNVav7F/4pI+Ovq36I/R/tH/x4Ow8zRv7MZLPy3puF31d9Hf652Y+blx6L9wtcQkSaikogUiegZIvqN1vqBxcXFh2ZnZ/fVeV9Tv1p+YzqdHmLmtxDRXxHR25l5nIgGRSTJzCoy+aYGbqLTAWDWAayJYZrvYla5QkQeES0y8zNa6x9qrW/O5/OPEVHQ/Gj/1zMEcMOGDWsHBwc/SESfYObfJ6KBVgd6IfYHoMw8LyI/I6IdjuPc0yqIAHAwm83+JRF9UUReYaTthYhHO3P2ReQerfU5uVzu1zWqaNVxeWJi4thEInGZiPzxSxS8ECAR+R8iun5hYeGCVnQip9PpzyilPkNEY+0s4YvgWezoxyqVyon5fP7+Zr+HM5nMd5n5L14qem81YERkLxGd5TjOt4io3AyIAPDnRPRmZraaeeDF3EdEYFB2lMvly4vF4nwz3woAH2PmVx0EN6WZ9x9qfeAn7lpYWPhss3oQAD7HzNlD7Ut6NB9PRL5ttjG2c8N2GMD9IQKA0H9nO45zGMCG4nNgh8MAxgAt+shhAA8D2CYCbT7eugRms1mHiJCyitPgvSOrgv/qpaDijNnOM+E82ghJy8aIwJluzohks1mXiOxWZm1AWyCiJ4goZ3JthwKAyPkliQhJkd+JEV0BQLgxZzYNYCaTmWTmTIsAArxvaa2vC4IAz4eZoVbG6HTfamJWa62SyeTrlVJnMfPbDKDNvq51CYzjSCPoJqJtjuPsbiX10+xXdKDfYDqdPomZv8DMqRbGa10HxgQQ2YqtjuP8VwuT62ZXK5vNvk9ErmgxyuoOgET0cKVS+UQul0Mm91Bsfdls9kQRuZCZN7Uwwa4B+LyIXOP7/g2e580cCjoQIFXnMTQ0tEUpdQ4zv4eIqsWwZnDsDoDGCqO6da+IPAs9qJTqqRExlUFYYQD2aiJ6AzMPt+hedQfA6lKKSMDM/iHmByoR6YvpC3YXwGb2xAusz2EA21ywwwAeBjAmAqZIHohIGXq5+q8JM0MjTUSWiMDIgG3RF2FdVN/60pJAY8QWRQTcFhdUDSJytNYFEcmJyIxlWaiuidY6QUQjSqmNImIrpTIispmIXkZE48w8ApBB8yCiM1zXhZfRsL0QU/oQthIRTYEgJCK/FhFERI+COOR5XnlwcNB3XRfeAbguVQ4OJBAcn0QqlerzPK9vZGRkWES2JBKJo7TWb2LmI0XkPiI698UIIIAAcE+LyF0icjeA831/X7FYxO9bJgYZ8QKwA+Pj46OWZR0BKVRK3ee67mJD8UPnOLFwMwN3uA90GrbnD7TW/5JMJh/as2fPHBGBadXJFurJVhajHQAhEUj/NKrgQ/cMRMl7zX6xMQwIG++uVCo3lkqle2dnZ59vIgMUbtVsNmv5vo+fybIscV0XgENSOwZ8LABFBCHTJBH9mJkRylWtXBSbMFMtIgjmjyOiLcwMMJtqIoKP/G8iuikIgm8XCoU9q3y4lUqlhohoTTKZnBCRCcuywG9cD/aZeaGntYbUItM8XalUcojjZ2dnQSpqJAQrzjkugJjEDs/zdhHRqhSIRCIB6XuvUuqzzAyr10zMjC0LZX5FqVT60czMDD68XhsYGxsbA6NWRN7IzK8hopczMyztiFmwUALNYmJRoC9htSEAj0OPaq3vK5fLz83MzOBbGhE/95tHHAAhVf+ptT45l8s90Iw42ba9WSl1DRH9WSMOjojAF9vNzJc5jgPeTj3p6BsfH9/c19f3DmZ+l4gcaRKnkDZIecNFMhIOpipAewq7KQiC7/u+/9tVFuyAz40L4L1BEJxcKBQeagbATZs2bUwkElcT0XsbbGPo1H8NgmB7oVDA4tTqKpVKpSb6+vreycxg1ILLDf5206qh3nxNdglb+SkRuS0IglumpqaQdQfAq7a4AD6ptT4tl8vd1YRC5o0bNx6VTCYB4B+uYkywbX8qIp93XffeSARR/YB+27bhq52klILUwfntKKMsQvn9FRF9fX5+/vtzc3MzqyEYB0BYBvhId2itvx4EAcSf+vv799s2nueBfyyWZaWVUh9k5r8motEVJABG6X4ROd91XdRZ9pO8VCq1pq+v7z3MfCozQ+oOKofbbG+Ue7+Bwlkul3tuJd0YC0CjkKGMoYhXq58CxHUi8nIiGq4nfWb7YIKfdxznO7XbZt26deuGhoZOBHjGkleNQqPd1e7fYUye11r/MxFd7rru4/VAjAtgu5Nbfl5EUCK9dm5u7uL5+fn9FmP9+vWjQ0NDJxHR3xFRJo4v2e5EzfxuKZfLF05PTz9ZO15PAYQ/ycz/JiKn16nwDdq2fQLcHyLa3AvwqmCBuUpE31xaWrpo79692NrLrdcATonIea7rfrNm61q2bf+pUuoyInpdHPCMasBhGlhSuDfQmw3dm5Uk1vCnr1hcXLxq3759s9V+PQPQpKK+JyKfchwHunS5pVKpI/r7+wHeu+O4KCZSQux8GxE9KSJHw5k3aatYIBoL/YyInOM4zq3VeLlnABJRHkzQycnJ7xIRUk9hg8Xt7+8/nZnPhI8XQ4dB+ee11n8/Pz//nbGxsQXf98FOgB7dysxrYowZPgLrzMzIBGHRYVR6k43BRJCSCoLglKmpKcS7yzsinU6/lZnhMyK6aFlajF79eRAEn8zn8w9XB85kMojHr2Hm34sLoHlun9b6Ut/3vzo9Pb3QKwl8vlKpXKq1vqpQKCACCBus7uDg4PnM/ElT0235W832vZuZT5mcnAR7LGy2bb9BKXUjMx/V8qCRB8z4/x4EwbZCofBgLwCEOkEQf6rruj+ORhypVOqY/v5+JChiGQ6zzeCU7xaRU1zXRTgWtomJiTdZlnV9uwCad+w1EdMuALiHmVEX6EozXv6dlUrl1Hw+D0Uftmw2C0t5MhF9waShYs3HSMhPDICPRgA81gB4ZKyB938IYedtvu+f2wsAEQZ+bXFx8UtRd2Djxo2bksnkTiJ6XxzLW/2+VQDsmASaSOwJrfXpAPBZZkao1ZUmItNE9DnHcW4ioqWIjjpGKXUDM7++TX8NW7ieBHYSQFhkbOMvdx1AkzKCG3BnJGmQTKfT72fmf2DmuHztcC26JIFhQoWZbwWAz5hMcVckkIge9H1/a6FQ+GX1hbhugIhOUUqdF9P3W557FwFEbeWX3QYQFhi5vo9UHVF8Oa4cGBgYONekq1Dgjt1WAtC27WMsy4LaeF3swfd/MDxfDACfNoz2Do278jDGyb1raWnpo8ViEacDwjY6Orp+ZGTkImb+SKQIFGs+BsAD3BhTVrieiFAGaNlBrzcZEXmu6wAS0Q/L5fLHpqenEcqFLZPJ4LT8l03StRVG6QHfVQUQznjUkUYyIZPJHM/MnxORV3YIxHwvALyzXC6fVAsgikhEdEKLlNwVBEMe0lpvq+Vwm9tJ8A5ccdCJFFmuqwAa/2m31vqjuVwOdd6wIes8MjKynYiQPK3WcWNtYTyEJKiI3Fguly8pFos4CLTcEC4ODw+DgH4WiEXtSCLYEpzNZlHTeEXs2bb2IDIlD1Qqlb/J5XKPVB81GZizwYpqJ1tSHS/C4b7W9/2dU1NTheg0sWDDw8N/206m26S3HgSAyIa8sjUc2ur9sNb6467rouYbNoRxWuutSimEcRvaGv3/H8Y3gqJWF0QYruHh4Y8ppc4A3S2GJKIEe0/XAQSrX2v96Vwud3vEkU6k0+k/Z+YrO+yTVkH8x3K5vDOqd4HzmjVrxkZHR7cS0WmtgmhqJf8EAFEo2dKhVW84DEiPRLTdcZxrDc0ifCadTh/BzLuY+c3thHJ1JrAqiOl0OsXMHweIoIQ0+24RQTnigl4AiPgXRevzo0XrtWvXbli7di0s8Yc6YIlrcQSIqPhdVy6Xv1IriRMTE+OJROJUEcHdYSAlreonGh0LTs2negFgGOx7nretWCwu5+vAW85ms8eLyOVGEhpKc4sdQhBF5Hrf96+sBdFkg04jIiRzwepaDcQlEbnJ87xQApG1/d0WJ9NWdxHZo7U+I5fL3RFlIYyPj78qmUwiI/NHMQ/KNJpXFcQbIInRaAgPZjIZXP+CiOj4BrvA1Vqf6bruLfADn2DmbgMIP21nqVS6JJoTNEmFbcwMKlycglIjAPF3gDgDSawDospkMrjJbudKu8BUE8Hi+nShUHgaAD5ubi5q5uUd6WPCrft93z95amrqN9FBJyYmXmNZ1leJ6G0HSQqXQWRmsF6vjBTL+9Pp9AnMfOkK54zhx7pBEJyXz+dRTfR6AqD5ApActzPz1yYnJ8GzqbbwI5RSFxER2K0dCfxXsM6YAxiwN1qWNWtu8DzDXH9ajzIX3mzked551QinlwBq3BwJyxeNSvChRqFfwMwfJiLkCg9mA/v1ca01EqS4ZyFdr6RgMkn/Ad3tuu4vqkQjGBHUTnE89GCt9GofP6u13rG0tHRFDSuUbds+2rKsi0XkuHZqJE0iHz1LcsAjxm15Grd8Oo6DgzjLxEtIIE6dv6XTZMVmJm7iyUfMqt5dQ6q0MpnMn2Cbmy3VUTJlM/MzfQAuTj3tKJVK19XSfwEg6rAfYOaDvVVWmjNiyluDIDgXVq2mE2ol7wJDS0RwgLotKm8LoIVdzQLncTp/bm7u6lr6HfrgClBQZr/UxuU7rc6rXn8o8yvn5+e/Uufevj7bto9TSp0N//AgRCl152/q188CPCLatdLRL/CXtySTyS8y8we6NbnaGRsdA+f6wlwuh+vnao9ZJTKZzBtFBPHqO5GxiZE9aWWhcYARt/leWyqVbl+NtR8ewLNt+61KqYsNCbwnusZYuUe11ttd1wUtbblmbL4c83yZUur9iJcNSajTageMAxxivCMIgm8UCgWAuCpTv2p5k7ZtvwPbxBgUZIW7bpWNg/1brfUlQRDcDvZTrdhs2rRp2LKsP2BmAPluo3rq8q+bFLnwyBoRITr5hYjcXKlUdhcKBRAAGh66iYKUsG37KFTGzDZBXIhTRt0idVcVN2i/IDJe5XnezcViEcUnJCCijUdHR0E+PxJHHqAbcYm4OTMyICLWSvM26gKnAAAamGFI+f9KRO70PO9ne/fuhQQu8xUbLUKtlPH4+Dg4KrhLH6v7WnO/dNe2NSqOIgJr+5TW+mqt9a1RClw9IEdGRjbjvK9S6hiT2xwzpwPWosZi9CUAg0TjsCKMFnTug8z8gOd5jxSLRUhc08BV5/G/Lqj3To34RlUAAAAASUVORK5CYII=",alt:""},null,-1),Oa=[Ca],Ea={key:1},ja={class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 4xl:grid-cols-5 gap-4"},Wa=be({__name:"index",setup(t){const e=k(null),i=qi(),s=Yi(),o=Ke(),n=W(()=>o.isLogin),r=W(()=>o.userBalance),l=W(()=>r.value.sumDrawMjCount||0),a=W(()=>r.value.sumModel3Count||0),u=W(()=>r.value.sumModel4Count||0),f=W(()=>{switch(A.value){case 1:return a.value;case 2:return u.value;case 3:return l.value;default:return 0}}),m=we(),v=k(0),A=k(3),O=W(()=>m.theme),E=W(()=>O.value==="dark"?"#fff":"#000"),B=Ve();$e();const{isMobile:Q}=Ki(),dt=k("/api/upload/file");let lt=!1,tt=null;const Ct=k("9:16"),et=k("MJ"),at=k("6.0");k(0);const Ot=k("1"),wt=k(100),mt=k(0),Z=k(""),ft=k(""),it=k([]),nt=k(0),Et=k(!1),p=k(!1),w=k(!1),z=k([]),U=k(12),$=k(!0),N=k(0),H=k(1),F=W(()=>!Z.value||p.value||w.value||_t.value),yt=k("");let zt;Wi(n,async(R,I)=>{R&&!I&&await Ht()});const Jt=W(()=>N.value>U.value),vi=[{aspect:"1:1",width:"100%",height:"100%"},{aspect:"4:3",width:"100%",height:"75%"},{aspect:"3:4",width:"75%",height:"100%"},{aspect:"16:9",width:"100%",height:"57%"},{aspect:"9:16",width:"57%",height:"100%"}];W(()=>[{label:d("draw.defaultStyle"),value:0},{label:d("draw.expressiveStyle"),value:"expressive"},{label:d("draw.cuteStyle"),value:"cute"},{label:d("draw.scenicStyle"),value:"scenic"}]);const bi=W(()=>[{label:d("draw.standardQuality"),value:".25"},{label:d("draw.generalQuality"),value:".5"},{label:d("draw.highDefinitionQuality"),value:"1"},{label:d("draw.ultraHighDefinitionQuality"),value:"2"}]),wi=W(()=>et.value==="MJ"?[{label:"6.0",value:"6.0"},{label:"5.2",value:"5.2"},{label:"5.1",value:"5.1"},{label:"5",value:"5"},{label:"4",value:"4"}]:et.value==="NIJI"?[{label:"6",value:"6"},{label:"5",value:"5"},{label:"4",value:"4"}]:[]),yi=[{name:"MJ",img:en,val:"mj"},{name:"NIJI",img:nn,val:"niji"}],Re=W(()=>R=>Ct.value===R),Ai=W(()=>R=>et.value===R);function xi(R){var S;const I=(S=R==null?void 0:R.target)==null?void 0:S.files[0];Ie(I)}function zi(R){R.preventDefault();const I=R.dataTransfer.files[0];Ie(I)}async function Ie(R){zt=R;const I=new FileReader;I.onload=S=>{var Y;yt.value=(Y=S.target)==null?void 0:Y.result},I.readAsDataURL(R)}async function Ri(){const R=await Xi();z.value=R.data.filter(I=>I.status)}async function Ii(){const R=await Ce({page:1,size:U.value}),{rows:I,countQueue:S,count:Y}=R.data;it.value=I||[],N.value=Y,nt.value=S||0}async function Si(){const R=s.query.mjId;if(!R)return;const I=await Qi({id:R});I.success&&(Z.value=I.data,H.value=0,$.value=!0)}async function Mi(){if(!Z.value)return B.warning(d("draw.enterDescription"));w.value=!0;try{const R=Number(o.globalConfig.mjUseBaiduFy)===1?De:Oe,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:Z.value}:{prompt:Z.value},S=await R(I);if(!S.success)return B.error(d("draw.optimizationFailed"));Z.value=S.data,w.value=!1}catch{w.value=!1}}const _t=k(!1);async function Ci(){if(!Z.value)return B.warning(d("draw.enterDescription"));_t.value=!0;try{const R=Number(o.globalConfig.mjUseBaiduFy)===1?De:Oe,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:ft.value}:{prompt:ft.value},S=await R(I);if(!S.success)return B.error(d("draw.optimizationFailed"));ft.value=S.data,_t.value=!1}catch{_t.value=!1}}function Oi(R){const I=/--\w+\s\S+/g;return R.replace(I,"")}function Ei(){if(!H.value)return"";let R="";return ft.value&&(R+=` --no ${ft.value}`),et.value==="MJ"&&at.value&&(R+=` --v ${at.value}`,R+=` --s ${wt.value}`),et.value==="NIJI"&&at.value&&(R+=` --niji ${at.value}`),R+=` --ar ${Ct.value}`,R+=` --c ${mt.value}`,R+=` --q ${Ot.value}`,R}async function ji(){var Me;const R=new FormData;zt&&R.append("file",zt);const I=new Date,S=I.getFullYear(),Y=String(I.getMonth()+1).padStart(2,"0"),jt=String(I.getDate()).padStart(2,"0"),_i=`userFiles/${`${S}${Y}/${jt}`}`,ee=await Ge.post(`${dt.value}?dir=${encodeURIComponent(_i)}`,R,{headers:{"Content-Type":"multipart/form-data"}});return(Me=ee==null?void 0:ee.data)==null?void 0:Me.data}function Di(R){const{prompt:I,aspect:S,isCarryParams:Y}=R;Z.value=I,S&&(Ct.value=S),H.value=Y?1:0}async function Ti(){let R="";(yt.value||zt)&&(R=await ji());const I=Ei();H.value&&(Z.value=Oi(Z.value)),await At({prompt:Z.value,imgUrl:R,extraParam:I,action:"IMAGINE"}),zt&&(zt=null),yt.value="",$.value&&(H.value=1,$.value=!1),B.success(d("draw.submitDrawingTaskSuccess")),o.token&&await Se(),!lt&&Ht()}async function Ht(){lt=!0;const R=await Ce({page:1,size:U.value}),{rows:I,countQueue:S,count:Y}=R.data;it.value=I||[],N.value=Y,nt.value=S||0,it.value.filter(Ut=>[1,2].includes(Ut.status)).length?tt=setTimeout(()=>Ht(),3e3):lt=!1}Bi(()=>{clearTimeout(tt)});const te=W(()=>it.value.filter(R=>[1,2].includes(R.status)));function Pi(){i.push("/market")}function ki(R){et.value=R,R==="MJ"&&(at.value="6.0"),R==="NIJI"&&(at.value="6")}async function Se(){Et.value=!0;try{await o.getUserInfo(),Et.value=!1}catch{Et.value=!1}}return Ui(async()=>{const R=await tn();R&&(v.value=R.data.deduct,A.value=R.data.deductType),Ht(),Si(),Ri();const I=document.getElementById("footer");new IntersectionObserver((Y,jt)=>{Y.forEach(Ut=>{Ut.isIntersecting&&Jt.value&&(U.value=U.value+12,Ii())})}).observe(I)}),(R,I)=>(x(),C("div",Ws,[h("div",Bs,[h("div",Us,[c(Q)?(x(),C("h3",Ns,g(c(d)("draw.professionalDrawing")),1)):D("",!0),h("div",Fs,[h("div",qs,g(c(d)("draw.imageSize")),1),h("div",Ys,[b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.parameterExplanation")),1)]),_:1})])]),h("div",Xs,[(x(),C(Rt,null,It(vi,(S,Y)=>h("button",{key:Y,class:"flex-1 p-[2px] rounded-md",onClick:jt=>Ct.value=S.aspect},[h("div",{class:Lt(["border-2 border-gray-300 box-borde rounded-md flex flex-col items-center",[Re.value(S.aspect)?"aspect-active":"",c(Q)?"py-3":"py-2"]])},[h("div",Ks,[h("div",{class:Lt(["border-gray-300 rounded border-2",[Re.value(S.aspect)?"aspect-active":""]]),style:ce({width:S.width,height:S.height})},null,6)]),h("div",Gs,g(S.aspect),1)],2)],8,Qs)),64))]),h("div",Zs,[h("div",$s,g(c(d)("draw.modelSelection")),1),h("div",Vs,[b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base"})]),default:y(()=>[h("div",Js,[h("p",null,g(c(d)("draw.tooltipMJ")),1),h("p",null,g(c(d)("draw.tooltipNIJI")),1)])]),_:1})])]),h("ul",to,[(x(),C(Rt,null,It(yi,(S,Y)=>h("li",{key:Y,class:Lt(["flex border-[3px] border-transparent justify-center items-center rounded-md m-1 m-bg-gradient",[Ai.value(S.name)?"model-active":""]]),onClick:jt=>ki(S.name)},[h("button",io,[h("div",no,[h("div",so,g(S.name),1)]),h("img",{src:S.img,class:"rounded aspect-[3/1] w-full object-cover"},null,8,oo)])],10,eo)),64))]),h("div",ao,[h("div",ro,[h("span",lo,g(c(d)("draw.version")),1),h("span",co,[b(c(Ee),{value:at.value,"onUpdate:value":I[0]||(I[0]=S=>at.value=S),size:"small",options:wi.value},null,8,["value","options"])])]),h("div",ho,[j(g(c(d)("draw.parameters"))+" ",1),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",uo,[h("p",null,g(c(d)("draw.parameters")),1)])]),_:1})]),h("div",mo,[h("span",fo,g(c(d)("draw.quality")),1),h("span",po,[b(c(Ee),{value:Ot.value,"onUpdate:value":I[1]||(I[1]=S=>Ot.value=S),size:"small",options:bi.value},null,8,["value","options"])])]),h("div",go,[h("span",vo,g(c(d)("draw.chaos")),1),h("span",bo,[b(c(je),{value:mt.value,"onUpdate:value":I[2]||(I[2]=S=>mt.value=S),min:0,max:100,size:"small"},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",wo,[h("p",null,g(c(d)("draw.chaosDescription")),1),h("p",null,g(c(d)("draw.chaosExplanation")),1),h("p",null,g(c(d)("draw.chaosAdvice")),1)])]),_:1})]),et.value==="MJ"?(x(),C("div",yo,[h("span",Ao,g(c(d)("draw.stylization")),1),h("span",xo,[b(c(je),{value:wt.value,"onUpdate:value":I[3]||(I[3]=S=>wt.value=S),min:0,max:1e3,size:"small"},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",zo,[h("p",null,g(c(d)("draw.stylizationDescription")),1),h("p",null,g(c(d)("draw.parameterExplanation1")),1)])]),_:1})])):D("",!0),h("div",Ro,g(c(d)("draw.setting")),1),h("div",Io,[h("span",So,g(c(d)("draw.carryParameters")),1),h("span",Mo,[b(c(Vi),{value:H.value,"onUpdate:value":I[4]||(I[4]=S=>H.value=S),size:"small","checked-value":1,"unchecked-value":0},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",Co,[h("p",null,g(c(d)("draw.autoCarryParameters")),1),h("p",null,g(c(d)("draw.carryOn")),1),h("p",null,g(c(d)("draw.carryOff")),1)])]),_:1})])]),h("div",Oo,[h("div",Eo,g(c(d)("draw.imageToImage")),1),h("div",jo,[h("div",Do,[h("div",To,[yt.value?D("",!0):(x(),C("label",Po,[h("div",{class:"upload cursor-pointer",onDragover:I[6]||(I[6]=Qt(()=>{},["prevent"])),onDragenter:I[7]||(I[7]=Qt(()=>{},["prevent"])),onDragleave:I[8]||(I[8]=Qt(()=>{},["prevent"])),onDrop:zi},[h("input",{id:"upload-file",type:"file",accept:".png, .jpg, .jpeg",style:{display:"none"},onChange:I[5]||(I[5]=S=>xi(S))},null,32),h("div",ko,[_o,h("p",Ho,g(c(d)("draw.clickOrDrag")),1),h("p",Lo,g(c(d)("draw.supportFormats")),1)])],32)])),yt.value?(x(),C("div",Wo,[h("img",{src:yt.value,alt:""},null,8,Bo),h("img",{class:"absolute bottom-1 right-1 cursor-pointer",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAD0klEQVRIiY2WS2xWRRTHf/+ZryimPqLhocEAMbrQqBvYK4G2ArJxw0YxqLSo3bgQceFKo4mJywoYUBFZAilNRKVEN8ZoF2xYoiUhaSISExsVtJxj5n5z+917ez/xTk7uPM+Z8/qf0cnxWQxhru6/ToOOHja02dAGQ+sN3WNIjn4zdNHQjKNpQxcMzTsUPDzzKceaHP+5x7wnbJmhJw2NGtqWxzUGVXL0t6EvDQ5kodebgjqh6OZPgLMK2A+MAreSp0sy6l+eWwY8DYw4HALecZgjC0kyOrGrWG7hfokJwXZ5f+ZV4d01L0ZCAwavAA847AVmy9WQpGVaFbCJgG0PGEFG8a9QrFB9zYk9PolGAn4g4PeV6yF2N90S8X0R357HXVKlX2dUoz5rwwF/M+DLi3GWuCngr7ZstiC/0WTapECxx6p7un3bG/EtpUa3RWw0YgOxbh6P2LGIvR7lc6V2LZe5EvD9Af844jfqZvXkmpcDfnvqPBLwoRYGCwH/IeAfBGwsYL9U/ZYv82ssbm3vR+y7gFmLSZO1Hu9EfEiwXI0wFgwI3hBcEkwK/hIclVidItLgCrAbmAKGgLeAgaURWcwNJR9taEZXhdYE/EjW+OuAvxDw+Sj/M8r3RHwq4psi/mnE1/YLmohvTBqtb9GmQrZC6DOhF4VOCz1nqAM6hTSC6wiE1S2plnl4ytR1CRnubtvUSMyVguOCXYITeW5HNuWd8mrS95otXpfBJEil5AQWTY0qqBCBDm1j5fTvf1klCEoovKbHti4qt6tCe4ROCG1NUCN0UoSdgsOFxsonfKn5DeaTRj8BjzbBs7LpKvB8jq4twOdZk51gU6BnQcdAK7p3F/gSTrMpj2b+A2LmAovR9UTEP4n4XREfjPjhiA9H/KuI74745X7QFfGZhAwpbK/Xw7FIxoWIvRexEwF7KmDHA9YDyQKE/WjAdwR8KuNaj48W+f2TUiOZ7gJwFnxb6ZFutBCAx+jC/j7g3krIl75bKXRQaK3Qg0KdSskh++0bOed1cfz7dGyro0lDsVE5zbrUaSnzVVpI5b15Pp99xtCpsh6dC/hEE6EzKHZuht4RT4kfW+Y/Sq5J/YKJ4JrBu8BDguF6RfU+SdiPQnnwHPA28AeNCpsibCzgZ3ItySjdv9i1UxFI0xF7KWKXy7ITGgxmA747YB+mMtEU8j+qbSoThwK+K+Vnda0wXTJVqXB+vbwm+MJgLJeAzk0eKQuCacFBwZlcUmrGXXxulVDl3RfNNYfTwLcpxAWbDTYC68DvyP6aF7pk6EfQWdB50O+tvkP8C8uzPO7HeTXiAAAAAElFTkSuQmCC",onClick:I[9]||(I[9]=S=>yt.value=null)})])):D("",!0)])])])]),h("div",Uo,[h("div",No,[h("span",Fo,[j(g(c(d)("draw.remainingPoints"))+"(",1),h("b",qo,g(f.value),1),j(" "+g(c(d)("draw.points"))+")",1)]),h("span",Yo,[b(c(_),{text:"",size:"tiny",type:"primary",loading:Et.value,onClick:Se},{default:y(()=>[j(g(c(d)("draw.refresh")),1)]),_:1},8,["loading"]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(V),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[j(" "+g(c(d)("draw.accountInfo")),1)]),_:1})])]),h("div",Xo,[h("div",Qo,[h("span",Ko,g(c(d)("draw.paintingSingleUse")),1),h("span",Go,g(v.value*4)+g(c(d)("draw.points")),1)]),h("div",Zo,[h("span",$o,g(c(d)("draw.imageGenerationSingleUse")),1),h("span",Vo,g(v.value*4)+g(c(d)("draw.points")),1)]),h("div",Jo,[h("span",ta,g(c(d)("draw.enlargementSingleUse")),1),h("span",ea,g(v.value)+g(c(d)("draw.points")),1)])])])]),h("div",{class:Lt(["h-full flex-1",[c(Q)?"":"overflow-y-auto overflow-hidden"]])},[h("div",ia,[h("div",na,[c(Q)?D("",!0):(x(),C("h3",sa,g(c(d)("draw.professionalDrawing")),1)),h("div",null,[h("div",oa,[h("b",null,g(c(d)("draw.submitDrawingTask")),1),Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",aa,[b(c(he),null,{default:y(()=>[b(c(_),{type:"primary",loading:w.value,onClick:Mi},{icon:y(()=>[b(c(V),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.optimize")),1)]),_:1},8,["loading"])]),_:1})])):D("",!0)]),h("div",ra,[b(c(ue),{value:Z.value,"onUpdate:value":I[10]||(I[10]=S=>Z.value=S),clearable:"",type:"textarea",disabled:p.value||w.value,autosize:{minRows:3,maxRows:6},placeholder:c(d)("draw.enterDrawingKeywords")},null,8,["value","disabled","placeholder"]),Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",la,[h("div",ca,[h("b",null,g(c(d)("draw.unnecessaryElements")),1),b(c(_),{type:"primary",loading:_t.value,onClick:Ci},{icon:y(()=>[b(c(V),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.optimize")),1)]),_:1},8,["loading"])]),b(c(ue),{value:ft.value,"onUpdate:value":I[11]||(I[11]=S=>ft.value=S),type:"textarea",rows:1,placeholder:c(d)("draw.exclusionPrompt")},null,8,["value","placeholder"])])):D("",!0)]),z.value.length?(x(),C("div",{key:0,class:Lt(["w-full dark:bg-transparent",c(Q)?"py-3":"py-6"])},[b(c(Ji),{"x-scrollable":""},{default:y(()=>[h("div",ha,[(x(!0),C(Rt,null,It(z.value,(S,Y)=>(x(),L(c(_),{key:Y,size:"small",onClick:jt=>Di(S)},{default:y(()=>[j(g(S.title),1)]),_:2},1032,["onClick"]))),128))])]),_:1})],2)):D("",!0),h("div",ua,[b(c(_),{type:"primary",loading:!1,disabled:F.value,onClick:I[12]||(I[12]=S=>Ti())},{icon:y(()=>[b(c(V),{icon:"ri:ai-generate",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.submitTask")),1)]),_:1},8,["disabled"])])])]),h("div",da,[Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",ma,[h("div",fa,[h("span",pa,[j(g(c(d)("draw.workingContents"))+" ",1),nt.value?(x(),C("span",ga,g(c(d)("draw.currentTasks"))+" ["+g(nt.value)+"]",1)):D("",!0)])]),te.value.length?D("",!0):(x(),C("div",va,[h("img",{class:"w-18",src:c(sn)},null,8,ba),h("span",wa,[b(c(_),{text:"",size:"small",onClick:Pi},{default:y(()=>[j(g(c(d)("draw.goToAIDrawingSquare")),1)]),_:1})])])),te.value.length?(x(),C("div",ya,[h("div",Aa,[b(Je,{"text-color":E.value},null,8,["text-color"])]),h("p",xa,g(te.value.length)+g(c(d)("draw.tasksInProgress")),1)])):D("",!0)])):D("",!0),h("div",za,[h("div",Ra,[h("span",Ia,[j(g(c(d)("draw.myDrawings"))+" ",1),h("span",Sa,"["+g(it.value.length)+"]",1)])]),!it.value||!it.value.length?(x(),C("div",Ma,Oa)):D("",!0),it.value&&it.value.length?(x(),C("div",Ea,[h("div",ja,[(x(!0),C(Rt,null,It(it.value,S=>(x(),L(Ls,{key:S.id,"draw-item-info":S,onQueryData:Ht},null,8,["draw-item-info"]))),128))])])):D("",!0)]),h("div",{id:"footer",ref_key:"containerRef",ref:e},null,512)])])],2)])]))}});export{Wa as default}; +***************************************************************************** */function ti(t,e){var i,s;return t&&e?(i=""+t+e[0].toUpperCase()+e.slice(1),s=t+"-"+e):(i=t||e,s=t||e),{name:i,classname:s}}function ei(t){return/^blob:/.test(t)}function _e(t){return ei(t)||function(e){return/^data:/.test(e)}(t)}function Dt(t){return!!(t&&t.constructor&&t.call&&t.apply)}function X(t){return t===void 0}function Kt(t){return typeof t=="object"&&t!==null}function fe(t,e,i){var s={};return Kt(t)?(Object.keys(e).forEach(function(o){X(t[o])?s[o]=e[o]:Kt(e[o])?Kt(t[o])?s[o]=fe(t[o],e[o],i[o]):s[o]=t[o]?e[o]:i[o]:e[o]===!0||e[o]===!1?s[o]=!!t[o]:s[o]=t[o]}),s):t?e:i}function Ft(t){var e=Number(t);return Number.isNaN(e)?t:e}function He(t){return typeof(t=="number"||function(e){return typeof e=="object"&&e!==null}(t)&&toString.call(t)=="[object Number]")&&!ii(t)}function ii(t){return t!=t}function ni(t,e){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}var Wt=function(t,e){t===void 0&&(t={}),e===void 0&&(e={}),this.type="manipulateImage",this.move=t,this.scale=e},dn=function(t,e){e===void 0&&(e={}),this.type="resize",this.directions=t,this.params=e},ye=function(t){this.type="move",this.directions=t},mn=function(){function t(e,i,s,o,n){this.type="drag",this.nativeEvent=e,this.position=s,this.previousPosition=o,this.element=i,this.anchor=n}return t.prototype.shift=function(){var e=this,i=e.element,s=e.anchor,o=e.position;if(i){var n=i.getBoundingClientRect(),r=n.left,l=n.top;return{left:o.left-r-s.left,top:o.top-l-s.top}}return{left:0,top:0}},t}(),Ae={name:"DraggableElement",props:{classname:{type:String}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(t){t.cancelable&&!this.disabled&&t.touches.length===1&&(this.touches=St(t.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),t.touches.length&&this.initAnchor(this.touches.reduce(function(e,i){return{clientX:e.clientX+i.clientX/t.touches.length,clientY:e.clientY+i.clientY/t.touches.length}},{clientX:0,clientY:0})),t.preventDefault&&t.preventDefault(),t.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(t){this.touches.length&&(this.processMove(t,t.touches),t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation())},onMouseDown:function(t){if(!this.disabled){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.draggable.getBoundingClientRect(),i=e.left,s=e.right,o=e.bottom,n=e.top;this.anchor={left:t.clientX-i,top:t.clientY-n,bottom:o-t.clientY,right:s-t.clientX}},processMove:function(t,e){var i=St(e);if(this.touches.length){if(this.touches.length===1&&i.length===1){var s=this.$refs.draggable;this.$emit("drag",new mn(t,s,{left:i[0].clientX,top:i[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=i}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}},emits:["drag","drag-end","leave","enter"]};Ae.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"draggable",class:i.classname,onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)}),onMouseover:e[3]||(e[3]=function(){return n.onMouseOver&&n.onMouseOver.apply(n,arguments)}),onMouseleave:e[4]||(e[4]=function(){return n.onMouseLeave&&n.onMouseLeave.apply(n,arguments)})},[Mt(t.$slots,"default")],34)};var se=rt("vue-handler-wrapper"),si={name:"HandlerWrapper",components:{DraggableElement:Ae},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var t;if(this.horizontalPosition||this.verticalPosition){var e,i=ti(this.horizontalPosition,this.verticalPosition);t=se((st(e={},i.classname,!0),st(e,"disabled",this.disabled),e))}else t=se({disabled:this.disabled});return{root:t,draggable:se("draggable")}}},emits:["leave","enter","drag","drag-end"]};si.render=function(t,e,i,s,o,n){var r=bt("DraggableElement");return x(),L("div",{class:n.classes.root},[b(r,{class:n.classes.draggable,onDrag:e[1]||(e[1]=function(l){return t.$emit("drag",l)}),onDragEnd:e[2]||(e[2]=function(l){return t.$emit("drag-end")}),onLeave:e[3]||(e[3]=function(l){return t.$emit("leave")}),onEnter:e[4]||(e[4]=function(l){return t.$emit("enter")})},{default:y(function(){return[Mt(t.$slots,"default")]}),_:3},8,["class"])],2)};var fn=rt("vue-line-wrapper"),oi={name:"LineWrapper",components:{DraggableElement:Ae},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var t;return fn((st(t={},this.position,!0),st(t,"disabled",this.disabled),t))}},emits:["leave","enter","drag","drag-end"]};oi.render=function(t,e,i,s,o,n){var r=bt("DraggableElement");return x(),L(r,{class:n.classname,onDrag:e[1]||(e[1]=function(l){return t.$emit("drag",l)}),onDragEnd:e[2]||(e[2]=function(l){return t.$emit("drag-end")}),onLeave:e[3]||(e[3]=function(l){return t.$emit("leave")}),onEnter:e[4]||(e[4]=function(l){return t.$emit("enter")})},{default:y(function(){return[Mt(t.$slots,"default")]}),_:3},8,["class"])};var ht=["left","right","top","bottom"],pn=["left","right"],gn=["top","bottom"],vn=["left","top"],bn=["fill-area","fit-area","stencil","none"],Le={left:0,top:0,width:0,height:0};function We(t,e,i){return!(i=i||["width","height","left","top"]).some(function(s){return t[s]!==e[s]})}function ut(t){return{left:t.left,top:t.top,right:t.left+t.width,bottom:t.top+t.height}}function Tt(t,e){return{left:t.left-e.left,top:t.top-e.top}}function K(t){return{left:t.left+t.width/2,top:t.top+t.height/2}}function Bt(t,e){var i={left:0,top:0,right:0,bottom:0};return ht.forEach(function(s){var o=e[s],n=ut(t)[s];i[s]=o!==void 0&&n!==void 0?s==="left"||s==="top"?Math.max(0,o-n):Math.max(0,n-o):0}),i}function ct(t,e){return{left:t.left-e.left,top:t.top-e.top,width:t.width+e.left+e.right,height:t.height+e.top+e.bottom}}function Zt(t){return{left:-t.left,top:-t.top}}function V(t,e){return M(M({},t),{left:t.left+e.left,top:t.top+e.top})}function ot(t,e,i,s){if(e!==1){if(i){var o=K(t);return{width:t.width*e,height:t.height*e,left:t.left+t.width*(1-e)/2+(i.left-o.left)*(s||1-e),top:t.top+t.height*(1-e)/2+(i.top-o.top)*(s||1-e)}}return{width:t.width*e,height:t.height*e,left:t.left+t.width*(1-e)/2,top:t.top+t.height*(1-e)/2}}return t}function P(t){return t.width/t.height}function Pt(t,e){return Math.min(e.right!==void 0&&e.left!==void 0?(e.right-e.left)/t.width:1/0,e.bottom!==void 0&&e.top!==void 0?(e.bottom-e.top)/t.height:1/0)}function kt(t,e){var i={left:0,top:0},s=Bt(t,e);return s.left&&s.left>0?i.left=s.left:s.right&&s.right>0&&(i.left=-s.right),s.top&&s.top>0?i.top=s.top:s.bottom&&s.bottom>0&&(i.top=-s.bottom),i}function oe(t,e){var i;return e.minimum&&te.maximum&&(i=e.maximum),i}function ai(t,e){var i=P(t),s=P(e);return e.width<1/0&&e.height<1/0?i>s?{width:e.width,height:e.width/i}:{width:e.height*i,height:e.height}:e.width<1/0?{width:e.width,height:e.width/i}:e.height<1/0?{width:e.height*i,height:e.height}:t}function ri(t,e){var i=e*Math.PI/180;return{width:Math.abs(t.width*Math.cos(i))+Math.abs(t.height*Math.sin(i)),height:Math.abs(t.width*Math.sin(i))+Math.abs(t.height*Math.cos(i))}}function xt(t,e){var i=e*Math.PI/180;return{left:t.left*Math.cos(i)-t.top*Math.sin(i),top:t.left*Math.sin(i)+t.top*Math.cos(i)}}function $t(t,e){var i=Bt(G(t,e),e);return i.left+i.right+i.top+i.bottom?i.left+i.right>i.top+i.bottom?Math.min((t.width+i.left+i.right)/t.width,Pt(t,e)):Math.min((t.height+i.top+i.bottom)/t.height,Pt(t,e)):1}function G(t,e,i){i===void 0&&(i=!1);var s=kt(t,e);return V(t,i?Zt(s):s)}function pe(t){return{width:t.right!==void 0&&t.left!==void 0?t.right-t.left:1/0,height:t.bottom!==void 0&&t.top!==void 0?t.bottom-t.top:1/0}}function wn(t,e){return M(M({},t),{minWidth:Math.min(e.width,t.minWidth),minHeight:Math.min(e.height,t.minHeight),maxWidth:Math.min(e.width,t.maxWidth),maxHeight:Math.min(e.height,t.maxHeight)})}function li(t,e,i){i===void 0&&(i=!0);var s={};return ht.forEach(function(o){var n=t[o],r=e[o];n!==void 0&&r!==void 0?s[o]=o==="left"||o==="top"?i?Math.max(n,r):Math.min(n,r):i?Math.min(n,r):Math.max(n,r):r!==void 0?s[o]=r:n!==void 0&&(s[o]=n)}),s}function Jt(t,e){return li(t,e,!0)}function Be(t){var e=t.size,i=t.aspectRatio,s=t.ignoreMinimum,o=t.sizeRestrictions;return!!((e.correctRatio||P(e)>=i.minimum&&P(e)<=i.maximum)&&e.height<=o.maxHeight&&e.width<=o.maxWidth&&e.width&&e.height&&(s||e.height>=o.minHeight&&e.width>=o.minWidth))}function Ue(t,e){return Math.pow(t.width-e.width,2)+Math.pow(t.height-e.height,2)}function vt(t){var e=t.width,i=t.height,s=t.sizeRestrictions,o={minimum:t.aspectRatio&&t.aspectRatio.minimum||0,maximum:t.aspectRatio&&t.aspectRatio.maximum||1/0},n={width:Math.max(s.minWidth,Math.min(s.maxWidth,e)),height:Math.max(s.minHeight,Math.min(s.maxHeight,i))};function r(u,f){return f===void 0&&(f=!1),u.reduce(function(m,v){return Be({size:v,aspectRatio:o,sizeRestrictions:s,ignoreMinimum:f})&&(!m||Ue(v,{width:e,height:i})1-f)||(m=M(M({},m),vt({sizeRestrictions:r,width:m.width,height:m.height,aspectRatio:{minimum:P(A),maximum:P(A)}})));var O=$t(v=ot(v,m.width*i.width/(v.width*A.width)),e({visibleArea:v,type:"resize"}));return O!==1&&(v=ot(v,O),m=ot(m,O)),v=G(v=V(v,Tt(K(m),K(v))),e({visibleArea:v,type:"move"})),{coordinates:m=G(m,Jt(ut(v),l)),visibleArea:v}}function xn(t){var e=t.event,i=t.getAreaRestrictions,s=t.boundaries,o=t.coordinates,n=t.visibleArea;t.aspectRatio,t.stencilSize,t.sizeRestrictions;var r=t.positionRestrictions;t.stencilReference;var l=M({},o),a=M({},n);if(o&&n&&e.type!=="manipulateImage"){var u={width:0,height:0};a.width,s.width,P(s)>P(l)?(u.height=.8*s.height,u.width=u.height*P(l)):(u.width=.8*s.width,u.height=u.width*P(l));var f=$t(a=ot(a,l.width*s.width/(a.width*u.width)),i({visibleArea:a,type:"resize"}));a=ot(a,f),f!==1&&(u.height/=f,u.width/=f),a=G(a=V(a,Tt(K(l),K(a))),i({visibleArea:a,type:"move"})),l=G(l,Jt(ut(a),r))}return{coordinates:l,visibleArea:a}}function zn(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.getAreaRestrictions,n=M({},s),r=M({},i);if(e.type==="setCoordinates"){var l=Math.max(0,r.width-n.width),a=Math.max(0,r.height-n.height);l>a?n=ot(n,Math.min(r.width/n.width,Pt(n,o({visibleArea:n,type:"resize"})))):a>l&&(n=ot(n,Math.min(r.height/n.height,Pt(n,o({visibleArea:n,type:"resize"}))))),n=G(n=V(n,Zt(kt(r,ut(n)))),o({visibleArea:n,type:"move"}))}return{visibleArea:n,coordinates:r}}function Rn(t){var e=t.imageSize,i=t.visibleArea,s=t.coordinates,o=i||e;return{left:(i?i.left:0)+o.width/2-s.width/2,top:(i?i.top:0)+o.height/2-s.height/2}}function In(t){var e=t.imageSize,i=t.visibleArea,s=t.aspectRatio,o=t.sizeRestrictions,n=i||e,r=Math.min(s.maximum||1/0,Math.max(s.minimum||0,P(n))),l=n.widthP(n)?i=(e=a.height*u.height/n.height)*P(a):e=(i=a.width*u.width/n.width)/P(a),vt({width:i,height:e,aspectRatio:r,sizeRestrictions:l})}function Mn(t){var e=t.getAreaRestrictions,i=t.coordinates,s=t.imageSize,o=P(t.boundaries);if(i){var n={height:Math.max(i.height,s.height),width:Math.max(i.width,s.width)},r=ai({width:P(n)>o?n.width:n.height*o,height:P(n)>o?n.width/o:n.height},pe(e())),l={left:i.left+i.width/2-r.width/2,top:i.top+i.height/2-r.height/2,width:r.width,height:r.height},a=Bt(i,ut(M({left:0,top:0},s))),u={};return!a.left&&!a.right&&l.width<=s.width&&(u.left=0,u.right=s.width),!a.top&&!a.bottom&&l.height<=s.height&&(u.top=0,u.bottom=s.height),G(l,u)}var f=P(s);return r={height:f>o?s.height:s.width/o,width:f>o?s.height*o:s.width},{left:s.width/2-r.width/2,top:s.height/2-r.height/2,width:r.width,height:r.height}}function qt(t,e){return li(t,ut(e))}function Cn(t){var e=t.event,i=t.coordinates,s=t.visibleArea,o=t.sizeRestrictions,n=t.getAreaRestrictions,r=t.positionRestrictions,l=t.adjustStencil,a=e.scale,u=e.move,f=M({},s),m=M({},i),v=1,A=1,O=a.factor&&Math.abs(a.factor-1)>.001;f=V(f,{left:u.left||0,top:u.top||0});var E={stencil:{minimum:Math.max(o.minWidth?o.minWidth/m.width:0,o.minHeight?o.minHeight/m.height:0),maximum:Math.min(o.maxWidth?o.maxWidth/m.width:1/0,o.maxHeight?o.maxHeight/m.height:1/0,Pt(m,r))},area:{maximum:Pt(f,n({visibleArea:f,type:"resize"}))}};a.factor&&O&&(a.factor<1?(A=Math.max(a.factor,E.stencil.minimum))>1&&(A=1):a.factor>1&&(A=Math.min(a.factor,Math.min(E.area.maximum,E.stencil.maximum)))<1&&(A=1)),A&&(f=ot(f,A,a.center));var B=i.left-s.left,Q=s.width+s.left-(i.width+i.left),dt=i.top-s.top,lt=s.height+s.top-(i.height+i.top);return f=G(f=V(f,kt(f,{left:r.left!==void 0?r.left-B*A:void 0,top:r.top!==void 0?r.top-dt*A:void 0,bottom:r.bottom!==void 0?r.bottom+lt*A:void 0,right:r.right!==void 0?r.right+Q*A:void 0})),n({visibleArea:f,type:"move"})),m.width=m.width*A,m.height=m.height*A,m.left=f.left+B*A,m.top=f.top+dt*A,m=G(m,Jt(ut(f),r)),a.factor&&O&&l&&(a.factor>1?v=Math.min(E.area.maximum,a.factor)/A:a.factor<1&&(v=Math.max(m.height/f.height,m.width/f.width,a.factor/A)),v!==1&&(f=V(f=G(f=ot(f,v,a.factor>1?a.center:K(m)),n({visibleArea:f,type:"move"})),Zt(kt(m,ut(f)))))),{coordinates:m,visibleArea:f}}function On(t){var e=t.aspectRatio,i=t.getAreaRestrictions,s=t.coordinates,o=t.visibleArea,n=t.sizeRestrictions,r=t.positionRestrictions,l=t.imageSize,a=t.previousImageSize,u=t.angle,f=M({},s),m=M({},o),v=xt(K(M({left:0,top:0},a)),u);return(f=M(M({},vt({sizeRestrictions:n,aspectRatio:e,width:f.width,height:f.height})),xt(K(f),u))).left-=v.left-l.width/2+f.width/2,f.top-=v.top-l.height/2+f.height/2,m=ot(m,$t(m,i({visibleArea:m,type:"resize"}))),{coordinates:f=G(f,r),visibleArea:m=G(m=V(m,Tt(K(f),K(s))),i({visibleArea:m,type:"move"}))}}function En(t){var e=t.flip,i=t.previousFlip,s=t.rotate;t.aspectRatio;var o=t.getAreaRestrictions,n=t.coordinates,r=t.visibleArea,l=t.imageSize,a=M({},n),u=M({},r),f=i.horizontal!==e.horizontal,m=i.vertical!==e.vertical;if(f||m){var v=xt({left:l.width/2,top:l.height/2},-s),A=xt(K(a),-s),O=xt({left:f?v.left-(A.left-v.left):A.left,top:m?v.top-(A.top-v.top):A.top},s);a=V(a,Tt(O,K(a))),A=xt(K(u),-s),u=G(u=V(u,Tt(O=xt({left:f?v.left-(A.left-v.left):A.left,top:m?v.top-(A.top-v.top):A.top},s),K(u))),o({visibleArea:u,type:"move"}))}return{coordinates:a,visibleArea:u}}function Ne(t){var e=t.directions,i=t.coordinates,s=t.positionRestrictions,o=s===void 0?{}:s,n=t.sizeRestrictions,r=t.preserveRatio,l=t.compensate,a=M({},e),u=ct(i,a).width,f=ct(i,a).height;u<0&&(a.left<0&&a.right<0?(a.left=-(i.width-n.minWidth)/(a.left/a.right),a.right=-(i.width-n.minWidth)/(a.right/a.left)):a.left<0?a.left=-(i.width-n.minWidth):a.right<0&&(a.right=-(i.width-n.minWidth))),f<0&&(a.top<0&&a.bottom<0?(a.top=-(i.height-n.minHeight)/(a.top/a.bottom),a.bottom=-(i.height-n.minHeight)/(a.bottom/a.top)):a.top<0?a.top=-(i.height-n.minHeight):a.bottom<0&&(a.bottom=-(i.height-n.minHeight)));var m=Bt(ct(i,a),o);l&&(m.left&&m.left>0&&m.right===0?(a.right+=m.left,a.left-=m.left):m.right&&m.right>0&&m.left===0&&(a.left+=m.right,a.right-=m.right),m.top&&m.top>0&&m.bottom===0?(a.bottom+=m.top,a.top-=m.top):m.bottom&&m.bottom>0&&m.top===0&&(a.top+=m.bottom,a.bottom-=m.bottom),m=Bt(ct(i,a),o));var v={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(ht.forEach(function(E){var B=m[E];B&&a[E]&&(v[E]=Math.max(0,1-B/a[E]))}),r){var A=Math.min.apply(null,ht.map(function(E){return v[E]}));A!==1/0&&ht.forEach(function(E){a[E]*=A})}else ht.forEach(function(E){v[E]!==1/0&&(a[E]*=v[E])});if(u=ct(i,a).width,f=ct(i,a).height,a.right+a.left&&(u>n.maxWidth?v.width=(n.maxWidth-i.width)/(a.right+a.left):un.maxHeight?v.height=(n.maxHeight-i.height)/(a.bottom+a.top):f=1&&(this.touchStarted?(this.processMove(t,t.touches),t.preventDefault(),t.stopPropagation()):ni({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:t.touches[0].clientX,y:t.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(t){if(this.movable&&t.button===0){var e={fake:!0,clientX:t.clientX,clientY:t.clientY};this.touches=[e],this.initAnchor(e),t.stopPropagation()}},onMouseMove:function(t){this.touches.length&&(this.processMove(t,[{fake:!0,clientX:t.clientX,clientY:t.clientY}]),t.preventDefault&&t.cancelable&&t.preventDefault(),t.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(t){var e=this.$refs.container.getBoundingClientRect(),i=e.left,s=e.top;this.anchor={x:t.clientX-i,y:t.clientY-s}},processMove:function(t,e){var i=St(e);if(this.touches.length){var s=this.$refs.container.getBoundingClientRect(),o=s.left,n=s.top;this.touches.length===1&&i.length===1&&this.$emit("move",new ye({left:i[0].clientX-(o+this.anchor.x),top:i[0].clientY-(n+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};hi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)})},[Mt(t.$slots,"default")],544)};function re(t){var e,i;return{rotate:t.rotate||0,flip:{horizontal:((e=t==null?void 0:t.flip)===null||e===void 0?void 0:e.horizontal)||!1,vertical:((i=t==null?void 0:t.flip)===null||i===void 0?void 0:i.vertical)||!1}}}function Ln(t){return new Promise(function(e,i){try{if(t)if(/^data:/i.test(t))e(function(a){a=a.replace(/^data:([^;]+);base64,/gim,"");for(var u=atob(a),f=u.length,m=new ArrayBuffer(f),v=new Uint8Array(m),A=0;A=8&&(r=s+f)}}if(r){for(var m=i.getUint16(r,o),v=0;v1&&this.touchResize){var i=Fe(e,this.$refs.container),s=this.oldGeometricProperties;s.count===i.count&&s.count>1&&this.$emit("resize",new Wt({left:s.centerMass.left-i.centerMass.left,top:s.centerMass.top-i.centerMass.top},{factor:s.spread/i.spread,center:i.centerMass})),this.oldGeometricProperties=i}this.touches=e}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(t){return this.eventsFilter?this.eventsFilter(t,this.transforming)!==!1:(t.preventDefault(),t.stopPropagation(),!0)},onTouchStart:function(t){if(t.cancelable&&(this.touchMove||this.touchResize&&t.touches.length>1)&&this.processEvent(t)){var e=this.$refs.container,i=e.getBoundingClientRect(),s=i.left,o=i.top,n=i.bottom,r=i.right;this.touches=St(t.touches).filter(function(l){return l.clientX>s&&l.clientXo&&l.clientY0?1:-1),n={left:t.clientX-i,top:t.clientY-s};this.$emit("resize",new Wt({},{factor:o,center:n})),this.touches.length||this.debouncedProcessEnd()}var r,l}},emits:["resize","move","transform-end"]};di.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"container",onTouchstart:e[1]||(e[1]=function(){return n.onTouchStart&&n.onTouchStart.apply(n,arguments)}),onMousedown:e[2]||(e[2]=function(){return n.onMouseDown&&n.onMouseDown.apply(n,arguments)}),onWheel:e[3]||(e[3]=function(){return n.onWheel&&n.onWheel.apply(n,arguments)})},[Mt(t.$slots,"default")],544)};var ve={components:{TransformableImage:di},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"]};ve.render=function(t,e,i,s,o,n){var r=bt("transformable-image");return x(),L(r,{"touch-move":i.touchMove,"touch-resize":i.touchResize,"mouse-move":i.mouseMove,"wheel-resize":i.wheelResize,onMove:e[1]||(e[1]=function(l){return t.$emit("move",l)}),onResize:e[2]||(e[2]=function(l){return t.$emit("resize",l)})},{default:y(function(){return[Mt(t.$slots,"default")]}),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])};var Xt=rt("vue-preview"),mi={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:Xt({fill:this.fill}),wrapper:Xt("wrapper"),imageWrapper:Xt("image-wrapper"),image:q(Xt("image"),this.imageClass)}},style:function(){if(this.fill)return{};var t={};return this.width&&(t.width="".concat(this.size.width,"px")),this.height&&(t.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},wrapperStyle:function(){var t={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(t.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),t},imageStyle:function(){if(this.coordinates&&this.image){var t=this.coordinates.width/this.size.width,e=T(T({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/t,scaleY:1/t}),i=this.imageSize.width,s=this.imageSize.height,o=ri({width:i,height:s},e.rotate),n={width:"".concat(i,"px"),height:"".concat(s,"px"),left:"0px",top:"0px"},r={rotate:{left:(i-o.width)*e.scaleX/2,top:(s-o.height)*e.scaleY/2},scale:{left:(1-e.scaleX)*i/2,top:(1-e.scaleY)*s/2}};return n.transform=`translate( + `.concat(-this.coordinates.left/t-r.rotate.left-r.scale.left,"px,").concat(-this.coordinates.top/t-r.rotate.top-r.scale.top,"px) ")+ui(e),this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(t){(t.width||t.height)&&this.onChangeImage()}},mounted:function(){var t=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){t.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var t=this.$refs.image;this.calculatedImageSize.height=t.naturalHeight,this.calculatedImageSize.width=t.naturalWidth},refresh:function(){var t=this.$refs.root;this.width||(this.calculatedSize.width=t.clientWidth),this.height||(this.calculatedSize.height=t.clientHeight)},onChangeImage:function(){var t=this.$refs.image;t&&t.complete&&this.refreshImage(),this.refresh()}}};mi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"root",class:n.classes.root,style:n.style},[b("div",{ref:"wrapper",class:n.classes.wrapper,style:n.wrapperStyle},[qe(b("img",{ref:"image",src:i.image&&i.image.src,class:n.classes.image,style:n.imageStyle},null,14,["src"]),[[Ye,i.image&&i.image.src]])],6)],6)};var fi={components:{Preview:mi},inheritAttrs:!1};fi.render=function(t,e,i,s,o,n){var r=bt("preview");return x(),L(r,Xe(t.$attrs,{fill:!0}),null,16)};var le=rt("vue-rectangle-stencil"),pi={name:"RectangleStencil",components:{StencilPreview:fi,BoundingBox:ci,DraggableArea:hi},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return xe}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return ze}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:q(le({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:q(le("preview"),this.previewClass),boundingBox:q(le("bounding-box"),this.boundingBoxClass)}},style:function(){var t=this.stencilCoordinates,e=t.height,i=t.width,s=t.left,o=t.top,n={width:"".concat(i,"px"),height:"".concat(e,"px"),transform:"translate(".concat(s,"px, ").concat(o,"px)")};return this.transitions&&this.transitions.enabled&&(n.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),n}},methods:{onMove:function(t){this.$emit("move",t),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(t){this.$emit("resize",t),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};pi.render=function(t,e,i,s,o,n){var r=bt("stencil-preview"),l=bt("draggable-area"),a=bt("bounding-box");return x(),L("div",{class:n.classes.stencil,style:n.style},[b(a,{width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,transitions:i.transitions,class:n.classes.boundingBox,handlers:i.handlers,"handlers-component":i.handlersComponent,"handlers-classes":i.handlersClasses,"handlers-wrappers-classes":i.handlersWrappersClasses,lines:i.lines,"lines-component":i.linesComponent,"lines-classes":i.linesClasses,"lines-wrappers-classes":i.linesWrappersClasses,resizable:i.resizable,onResize:n.onResize,onResizeEnd:n.onResizeEnd},{default:y(function(){return[b(l,{movable:i.movable,onMove:n.onMove,onMoveEnd:n.onMoveEnd},{default:y(function(){return[b(r,{image:i.image,coordinates:i.coordinates,width:i.stencilCoordinates.width,height:i.stencilCoordinates.height,class:n.classes.preview,transitions:i.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var Bn=["transitions"],pt=rt("vue-advanced-cropper"),gi={name:"Cropper",components:{BackgroundWrapper:ve},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return pi}},backgroundWrapperComponent:{type:[Object,String],default:function(){return ve}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(t){return bn.indexOf(t)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(t){return!(typeof t=="string"&&t!=="fill"&&t!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(t){var e=t.event,i=t.coordinates,s=t.aspectRatio,o=t.positionRestrictions,n=t.sizeRestrictions,r=M(M({},i),{right:i.left+i.width,bottom:i.top+i.height}),l=e.params||{},a=M({},e.directions),u=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};n.widthFrozen&&(a.left=0,a.right=0),n.heightFrozen&&(a.top=0,a.bottom=0),ht.forEach(function(tt){u[tt]||(a[tt]=0)});var f=ct(r,a=Ne({coordinates:r,directions:a,sizeRestrictions:n,positionRestrictions:o})).width,m=ct(r,a).height,v=l.preserveRatio?P(r):oe(f/m,s);if(v){var A=l.respectDirection;if(A||(A=r.width>=r.height||v===1?"width":"height"),A==="width"){var O=f/v-r.height;if(u.top&&u.bottom){var E=a.top,B=a.bottom;a.bottom=Yt(O,B,E),a.top=Yt(O,E,B)}else u.bottom?a.bottom=O:u.top?a.top=O:u.right?a.right=0:u.left&&(a.left=0)}else if(A==="height"){var Q=r.width-m*v;if(u.left&&u.right){var dt=a.left,lt=a.right;a.left=-Yt(Q,dt,lt),a.right=-Yt(Q,lt,dt)}else u.left?a.left=-Q:u.right?a.right=-Q:u.top?a.top=0:u.bottom&&(a.bottom=0)}a=Ne({directions:a,coordinates:r,sizeRestrictions:n,positionRestrictions:o,preserveRatio:!0,compensate:l.compensate})}return f=ct(r,a).width,m=ct(r,a).height,(v=l.preserveRatio?P(r):oe(f/m,s))&&Math.abs(v-f/m)>.001&&ht.forEach(function(tt){u[tt]||(a[tt]=0)}),ge({event:new ye({left:-a.left,top:-a.top}),coordinates:{width:i.width+a.right+a.left,height:i.height+a.top+a.bottom,left:i.left,top:i.top},positionRestrictions:o})}},moveAlgorithm:{type:Function,default:ge},initStretcher:{type:Function,default:function(t){var e=t.stretcher,i=t.imageSize,s=P(i);e.style.width=i.width+"px",e.style.height=e.clientWidth/s+"px",e.style.width=e.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(t){var e=t.visibleArea,i=t.coordinates,s=t.aspectRatio,o=t.sizeRestrictions,n=t.positionRestrictions,r=M(M({},i),vt({width:i.width,height:i.height,aspectRatio:s,sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minHeight:Math.min(e.height,o.minHeight),minWidth:Math.min(e.width,o.minWidth)}}));return r=G(r=V(r,Tt(K(i),K(r))),Jt(ut(e),n))}},fitVisibleArea:{type:Function,default:function(t){var e=t.visibleArea,i=t.boundaries,s=t.getAreaRestrictions,o=t.coordinates,n=M({},e);n.height=n.width/P(i),n.top+=(e.height-n.height)/2,(o.height-n.height>0||o.width-n.width>0)&&(n=ot(n,Math.max(o.height/n.height,o.width/n.width)));var r=Zt(kt(o,ut(n=ot(n,$t(n,s({visibleArea:n,type:"resize"}))))));return n.widthP(s)?(r={top:0,bottom:s.height},e&&n==="move"&&(e.width>s.width?(r.left=-(e.width-s.width)/2,r.right=s.width-r.left):(r.left=0,r.right=s.width))):(r={left:0,right:s.width},e&&n==="move"&&(e.height>s.height?(r.top=-(e.height-s.height)/2,r.bottom=s.height-r.top):(r.top=0,r.bottom=s.height)))),r}},sizeRestrictionsAlgorithm:{type:Function,default:function(t){return{minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(t){var e=t.imageSize,i={};return t.imageRestriction!=="none"&&(i={left:0,top:0,right:e.width,bottom:e.height}),i}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:T({},Le)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var t=function(e){return e*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(t))+Math.abs(this.imageAttributes.height*Math.sin(t)),height:Math.abs(this.imageAttributes.width*Math.sin(t))+Math.abs(this.imageAttributes.height*Math.cos(t))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var t=fe(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:fe(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:t}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var t=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:X(this.minWidth)?0:Ft(this.minWidth),minHeight:X(this.minHeight)?0:Ft(this.minHeight),maxWidth:X(this.maxWidth)?1/0:Ft(this.maxWidth),maxHeight:X(this.maxHeight)?1/0:Ft(this.maxHeight)});if(t=function(s){var o=s.areaRestrictions,n=s.sizeRestrictions;s.imageSize;var r=s.boundaries,l=s.positionRestrictions;s.imageRestriction;var a=M(M({},n),{minWidth:n.minWidth!==void 0?n.minWidth:0,minHeight:n.minHeight!==void 0?n.minHeight:0,maxWidth:n.maxWidth!==void 0?n.maxWidth:1/0,maxHeight:n.maxHeight!==void 0?n.maxHeight:1/0});l.left!==void 0&&l.right!==void 0&&(a.maxWidth=Math.min(a.maxWidth,l.right-l.left)),l.bottom!==void 0&&l.top!==void 0&&(a.maxHeight=Math.min(a.maxHeight,l.bottom-l.top));var u=pe(o),f=ai(r,u);return u.width<1/0&&(!a.maxWidth||a.maxWidth>f.width)&&(a.maxWidth=Math.min(a.maxWidth,f.width)),u.height<1/0&&(!a.maxHeight||a.maxHeight>f.height)&&(a.maxHeight=Math.min(a.maxHeight,f.height)),a.minWidth>a.maxWidth&&(a.minWidth=a.maxWidth,a.widthFrozen=!0),a.minHeight>a.maxHeight&&(a.minHeight=a.maxHeight,a.heightFrozen=!0),a}({sizeRestrictions:t,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var e=this.getStencilSize(),i=pe(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));t.maxWidth=Math.min(t.maxWidth,i.width*e.width/this.boundaries.width),t.maxHeight=Math.min(t.maxHeight,i.height*e.height/this.boundaries.height),t.maxWidththis.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},e={left:(t.width-this.imageSize.width)/(2*this.coefficient),top:(t.height-this.imageSize.height)/(2*this.coefficient)},i={left:(1-1/this.coefficient)*t.width/2,top:(1-1/this.coefficient)*t.height/2},s=T(T({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/t.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/t.height)}),o={width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-e.left-i.left-this.imageTransforms.translateX,"px, ").concat(-e.top-i.top-this.imageTransforms.translateY,"px)")+ui(s)};return this.transitionsOptions.enabled&&(o.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),o}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var t=this;this.$nextTick(function(){t.resetCoordinates(),t.runAutoZoom("setCoordinates"),t.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(t,e){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(i){return t[i]!==e[i]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=me(this.update,this.debounce),this.debouncedDisableTransitions=me(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var t=this.initialized?this.prepareResult(T({},this.coordinates)):this.defaultCoordinates(),e={rotate:this.imageTransforms.rotate%360,flip:T({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var i=this;return{image:this.image,coordinates:t,visibleArea:this.visibleArea?T({},this.visibleArea):null,imageTransforms:e,get canvas(){return i.canvas?i.getCanvas():void 0}}}return{image:this.image,coordinates:t,visibleArea:this.visibleArea?T({},this.visibleArea):null,canvas:void 0,imageTransforms:e}},zoom:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Wt({},{factor:1/t,center:e}),{normalize:!1,transitions:o})},move:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;this.onManipulateImage(new Wt({left:t||0,top:e||0}),{normalize:!1,transitions:o})},setCoordinates:function(t){var e=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=i.autoZoom,o=s===void 0||s,n=i.transitions,r=n===void 0||n;this.$nextTick(function(){e.imageLoaded?(e.transitionsActive||(r&&e.enableTransitions(),e.coordinates=e.applyTransform(t),o&&e.runAutoZoom("setCoordinates"),r&&e.debouncedDisableTransitions()),e.onChange()):e.delayedTransforms=t})},refresh:function(){var t=this,e=this.$refs.image;if(this.src&&e)return this.initialized?this.updateVisibleArea().then(function(){t.onChange()}):this.resetVisibleArea().then(function(){t.onChange()})},reset:function(){var t=this;return this.resetVisibleArea().then(function(){t.onChange(!1)})},awaitRender:function(t){var e=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){t(),e.awaiting=!1}))},prepareResult:function(t){return this.roundResult?function(e){var i=e.coordinates,s=e.sizeRestrictions,o=e.positionRestrictions,n={width:Math.round(i.width),height:Math.round(i.height),left:Math.round(i.left),top:Math.round(i.top)};return n.width>s.maxWidth?n.width=Math.floor(i.width):n.widths.maxHeight?n.height=Math.floor(i.height):n.height1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i!==void 0&&i,o=hn(e,Bn),n=this.processAutoZoom(t,this.visibleArea,this.coordinates,o),r=n.visibleArea,l=n.coordinates,a=n.changed;s&&a&&this.enableTransitions(),this.visibleArea=r,this.coordinates=l,s&&a&&this.debouncedDisableTransitions()},normalizeEvent:function(t){return function(e){var i=e.event,s=e.visibleArea,o=e.coefficient;if(i.type==="manipulateImage")return M(M({},i),{move:{left:i.move&&i.move.left?o*i.move.left:0,top:i.move&&i.move.top?o*i.move.top:0},scale:{factor:i.scale&&i.scale.factor?i.scale.factor:1,center:i.scale&&i.scale.center?{left:i.scale.center.left*o+s.left,top:i.scale.center.top*o+s.top}:null}});if(i.type==="resize"){var n=M(M({},i),{directions:M({},i.directions)});return ht.forEach(function(l){n.directions[l]*=o}),n}if(i.type==="move"){var r=M(M({},i),{directions:M({},i.directions)});return vn.forEach(function(l){r.directions[l]*=o}),r}return i}(T(T({},this.getPublicProperties()),{},{event:t}))},getCanvas:function(){if(this.$refs.canvas){var t=this.$refs.canvas,e=this.$refs.image,i=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(l,a,u){var f=u.rotate,m=u.flip,v={width:a.naturalWidth,height:a.naturalHeight},A=ri(v,f),O=l.getContext("2d");l.height=A.height,l.width=A.width,O.save();var E=xt(K(M({left:0,top:0},v)),f);return O.translate(-(E.left-A.width/2),-(E.top-A.height/2)),O.rotate(f*Math.PI/180),O.translate(m.horizontal?v.width:0,m.vertical?v.height:0),O.scale(m.horizontal?-1:1,m.vertical?-1:1),O.drawImage(a,0,0,v.width,v.height),O.restore(),l}(this.$refs.sourceCanvas,e,this.imageTransforms):e,s=T({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),o=function(l){return l.find(function(a){return u=a,!Number.isNaN(parseFloat(u))&&isFinite(u);var u})},n=vt({sizeRestrictions:{minWidth:o([s.width,s.minWidth])||0,minHeight:o([s.height,s.minHeight])||0,maxWidth:o([s.width,s.maxWidth])||1/0,maxHeight:o([s.height,s.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(s.maxArea&&n.width*n.height>s.maxArea){var r=Math.sqrt(s.maxArea/(n.width*n.height));n={width:Math.round(r*n.width),height:Math.round(r*n.height)}}return function(l,a,u,f,m){l.width=f?f.width:u.width,l.height=f?f.height:u.height;var v=l.getContext("2d");v.clearRect(0,0,l.width,l.height),m&&(m.imageSmoothingEnabled&&(v.imageSmoothingEnabled=m.imageSmoothingEnabled),m.imageSmoothingQuality&&(v.imageSmoothingQuality=m.imageSmoothingQuality),m.fillColor&&(v.fillStyle=m.fillColor,v.fillRect(0,0,l.width,l.height),v.save()));var A=u.left<0?-u.left:0,O=u.top<0?-u.top:0;v.drawImage(a,u.left+A,u.top+O,u.width,u.height,A,O,l.width,l.height)}(t,i,this.coordinates,n,s),t}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=this.visibleArea&&e?wn(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,s=this.visibleArea&&e?qt(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return yn({transform:t,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:i,positionRestrictions:s,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var t=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var e=this.defaultSize;e||(e=this.stencilSize?Sn:In);var i=this.sizeRestrictions;i.minWidth,i.minHeight,i.maxWidth,i.maxHeight;var s=Dt(e)?e({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):e,o=this.defaultPosition||Rn,n=[s,function(r){var l=r.coordinates;return T({},Dt(o)?o({coordinates:l,imageSize:t.imageSize,visibleArea:t.visibleArea}):t.defaultPosition)}];this.delayedTransforms&&n.push.apply(n,St(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(n,!0),this.delayedTransforms=null}},clearImage:function(){var t=this;this.imageLoaded=!1,setTimeout(function(){var e=t.$refs.stretcher;e&&(e.style.height="auto",e.style.width="auto"),t.coordinates=t.defaultCoordinates(),t.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var t=this,e=this.$refs.stretcher,i=this.$refs.cropper;return this.initStretcher({cropper:i,stretcher:e,imageSize:this.imageSize}),this.$nextTick().then(function(){var s={cropper:i,imageSize:t.imageSize};if(Dt(t.defaultBoundaries)?t.boundaries=t.defaultBoundaries(s):t.defaultBoundaries==="fit"?t.boundaries=function(o){var n=o.cropper,r=o.imageSize,l=n.clientHeight,a=n.clientWidth,u=l,f=r.width*l/r.height;return f>a&&(f=a,u=r.height*a/r.width),{width:f,height:u}}(s):t.boundaries=function(o){var n=o.cropper;return{width:n.clientWidth,height:n.clientHeight}}(s),!t.boundaries.width||!t.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var t=this;return this.appliedImageTransforms=T(T({},this.defaultImageTransforms),{},{flip:T({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){t.priority!=="visible-area"&&(t.visibleArea=null,t.resetCoordinates());var e,i,s,o,n,r,l=t.defaultVisibleArea||Mn;t.visibleArea=Dt(l)?l({imageSize:t.imageSize,boundaries:t.boundaries,coordinates:t.priority!=="visible-area"?t.coordinates:null,getAreaRestrictions:t.getAreaRestrictions,stencilSize:t.getStencilSize()}):t.defaultVisibleArea,t.visibleArea=(e={visibleArea:t.visibleArea,boundaries:t.boundaries,getAreaRestrictions:t.getAreaRestrictions},i=e.visibleArea,s=e.boundaries,o=e.getAreaRestrictions,n=M({},i),r=P(s),n.width/n.height!==r&&(n.height=n.width/r),G(n,o({visibleArea:n,type:"move"}))),t.priority==="visible-area"?t.resetCoordinates():t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("resetVisibleArea")}).catch(function(){t.visibleArea=null})},updateVisibleArea:function(){var t=this;return this.updateBoundaries().then(function(){t.visibleArea=t.fitVisibleArea({imageSize:t.imageSize,boundaries:t.boundaries,visibleArea:t.visibleArea,coordinates:t.coordinates,getAreaRestrictions:t.getAreaRestrictions}),t.coordinates=t.fitCoordinates({visibleArea:t.visibleArea,coordinates:t.coordinates,aspectRatio:t.getAspectRatio(),positionRestrictions:t.positionRestrictions,sizeRestrictions:t.sizeRestrictions}),t.runAutoZoom("updateVisibleArea")}).catch(function(){t.visibleArea=null})},onChange:function(){var t=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];t&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var t,e=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(o){if(_e(o))return!1;var n=window.location,r=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(o)||[],l={protocol:r[1]||"",host:r[2]||"",port:r[3]||""},a=function(u){return u.port||((u.protocol||n.protocol)==="http"?80:433)};return!(!l.protocol&&!l.host&&!l.port||l.protocol&&l.protocol==n.protocol&&l.host&&l.host==n.host&&l.host&&a(l)==a(n))}(this.src)){var i=X(this.crossOrigin)?this.canvas:this.crossOrigin;i===!0&&(i="anonymous"),this.imageAttributes.crossOrigin=i||null}if(this.checkOrientation){var s=(t=this.src,new Promise(function(o){Ln(t).then(function(n){var r=Wn(n);o(n?{source:t,arrayBuffer:n,orientation:r}:{source:t,arrayBuffer:null,orientation:null})}).catch(function(n){console.warn(n),o({source:t,arrayBuffer:null,orientation:null})})}));setTimeout(function(){s.then(e.onParseImage)},this.transitionTime)}else setTimeout(function(){e.onParseImage({source:e.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var t=this,e=this.$refs.image;e&&!this.imageLoaded&&(this.imageAttributes.height=e.naturalHeight,this.imageAttributes.width=e.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){t.$emit("ready"),t.onChange(!1)}))},onParseImage:function(t){var e=this,i=t.source,s=t.arrayBuffer,o=t.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,s&&o&&o>1?ei(i)||!_e(i)?(this.imageAttributes.src=URL.createObjectURL(new Blob([s])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(n){for(var r=[],l=new Uint8Array(n);l.length>0;){var a=l.subarray(0,8192);r.push(String.fromCharCode.apply(null,Array.from?Array.from(a):a.slice())),l=l.subarray(8192)}return"data:image/jpeg;base64,"+btoa(r.join(""))}(s):this.imageAttributes.src=i,Dt(this.defaultTransforms)?this.appliedImageTransforms=re(this.defaultTransforms()):Kt(this.defaultTransforms)?this.appliedImageTransforms=re(this.defaultTransforms):this.appliedImageTransforms=function(n){var r=re({});if(n)switch(n){case 2:r.flip.horizontal=!0;break;case 3:r.rotate=-180;break;case 4:r.flip.vertical=!0;break;case 5:r.rotate=90,r.flip.vertical=!0;break;case 6:r.rotate=90;break;case 7:r.rotate=90,r.flip.horizontal=!0;break;case 8:r.rotate=-90}return r}(o),this.defaultImageTransforms=T(T({},this.appliedImageTransforms),{},{flip:T({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var n=e.$refs.image;n&&n.complete&&(function(r){return!!r.naturalWidth}(n)?e.onSuccessLoadImage():e.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(t){var e=this;this.transitionsOptions.enabled||this.awaitRender(function(){e.coordinates=e.moveAlgorithm(T(T({},e.getPublicProperties()),{},{positionRestrictions:qt(e.positionRestrictions,e.visibleArea),coordinates:e.coordinates,event:e.normalizeEvent(t)})),e.onChange()})},onResize:function(t){var e=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var i=e.sizeRestrictions,s=Math.min(e.coordinates.width,e.coordinates.height,20*e.coefficient);e.coordinates=e.resizeAlgorithm(T(T({},e.getPublicProperties()),{},{positionRestrictions:qt(e.positionRestrictions,e.visibleArea),sizeRestrictions:{maxWidth:Math.min(i.maxWidth,e.visibleArea.width),maxHeight:Math.min(i.maxHeight,e.visibleArea.height),minWidth:Math.max(i.minWidth,s),minHeight:Math.max(i.minHeight,s)},event:e.normalizeEvent(t)})),e.onChange(),e.ticking=!1})},onManipulateImage:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var i=e.transitions,s=i!==void 0&&i,o=e.normalize,n=o===void 0||o;s&&this.enableTransitions();var r=Cn(T(T({},this.getPublicProperties()),{},{event:n?this.normalizeEvent(t):t,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=r.visibleArea,a=r.coordinates;this.visibleArea=l,this.coordinates=a,this.runAutoZoom("manipulateImage"),this.onChange(),s&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.visibleArea,i=t.type,s=i===void 0?"move":i;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:e,type:s})},getAspectRatio:function(t){var e,i,s=this.stencilProps,o=s.aspectRatio,n=s.minAspectRatio,r=s.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();e=l.minimum,i=l.maximum}if(X(e)&&(e=X(o)?n:o),X(i)&&(i=X(o)?r:o),!t&&(X(e)||X(i))){var a=this.getStencilSize(),u=a?P(a):null;X(e)&&(e=He(u)?u:void 0),X(i)&&(i=He(u)?u:void 0)}return{minimum:e,maximum:i}},getStencilSize:function(){if(this.stencilSize)return t={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},e=t.boundaries,i=t.stencilSize,s=t.aspectRatio,oe(P(o=Dt(i)?i({boundaries:e,aspectRatio:s}):i),s)&&(o=vt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:s.minimum,maximum:s.maximum}})),(o.width>e.width||o.height>e.height)&&(o=vt({sizeRestrictions:{maxWidth:e.width,maxHeight:e.height,minWidth:0,minHeight:0},width:o.width,height:o.height,aspectRatio:{minimum:P(o),maximum:P(o)}})),o;var t,e,i,s,o},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return T({},Le)},flip:function(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.transitions,o=s===void 0||s;if(!this.transitionsActive){o&&this.enableTransitions();var n=T({},this.imageTransforms.flip),r=En({flip:{horizontal:t?!n.horizontal:n.horizontal,vertical:e?!n.vertical:n.vertical},previousFlip:n,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),l=r.visibleArea,a=r.coordinates;t&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),e&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=l,this.coordinates=a,this.onChange(),o&&this.debouncedDisableTransitions()}},rotate:function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=e.transitions,s=i===void 0||i;if(!this.transitionsActive){s&&this.enableTransitions();var o=T({},this.imageSize);this.appliedImageTransforms.rotate+=t;var n=On({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:o,imageSize:this.imageSize,angle:t,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),r=n.visibleArea,l=n.coordinates,a=this.processAutoZoom("rotateImage",r,l);r=a.visibleArea,l=a.coordinates,this.visibleArea=r,this.coordinates=l,this.onChange(),s&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},Un={key:0,ref:"canvas",style:{display:"none"}},Nn={key:1,ref:"sourceCanvas",style:{display:"none"}};gi.render=function(t,e,i,s,o,n){return x(),L("div",{ref:"cropper",class:n.classes.cropper},[b("div",{ref:"stretcher",class:n.classes.stretcher},null,2),b("div",{class:n.classes.boundaries,style:n.boundariesStyle},[(x(),L(Gt(i.backgroundWrapperComponent),{class:n.classes.cropperWrapper,"wheel-resize":n.settings.resizeImage.wheel,"touch-resize":n.settings.resizeImage.touch,"touch-move":n.settings.moveImage.touch,"mouse-move":n.settings.moveImage.mouse,onMove:n.onManipulateImage,onResize:n.onManipulateImage},{default:y(function(){return[b("div",{class:n.classes.background,style:n.boundariesStyle},null,6),b("div",{class:n.classes.imageWrapper},[b("img",{ref:"image",crossorigin:o.imageAttributes.crossOrigin,src:o.imageAttributes.src,class:n.classes.image,style:n.imageStyle,onMousedown:e[1]||(e[1]=Qt(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),b("div",{class:n.classes.foreground,style:n.boundariesStyle},null,6),qe((x(),L(Gt(i.stencilComponent),Xe({ref:"stencil",image:n.image,coordinates:o.coordinates,"stencil-coordinates":n.stencilCoordinates,transitions:n.transitionsOptions},i.stencilProps,{onResize:n.onResize,onResizeEnd:n.onResizeEnd,onMove:n.onMove,onMoveEnd:n.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[Ye,o.imageLoaded]]),i.canvas?(x(),L("canvas",Un,null,512)):D("",!0),i.canvas?(x(),L("canvas",Nn,null,512)):D("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const Fn=t=>(Hi("data-v-a664b16d"),t=t(),Li(),t),qn={class:"relative overflow-hidden rounded-md border p-4 transition-all hover:shadow dark:border-neutral-700"},Yn={class:"flex items-center justify-between"},Xn={style:{width:"240px"}},Qn={class:"my-4 h-[280px]"},Kn={key:0,class:"flex h-full w-full items-center justify-center overflow-hidden rounded-md"},Gn={key:1,class:"flex flex-col h-full w-full items-center justify-center overflow-hidden rounded-md"},Zn=["src"],$n={class:"mt-3 text-base"},Jn={class:"mt-1"},Vn={key:2,class:"my-4 h-[280px] relative"},ts={class:"-mx-4 -mb-4 bg-[#fafafc] px-4 py-2 dark:bg-[#262629]"},es={key:0,class:"w-full"},is={class:"mb-2 flex items-center justify-between"},ns={class:"flex-1"},ss={class:"flex items-center justify-around"},os={key:1,class:"w-full"},as={class:"mb-2 flex items-center justify-between"},rs={class:"flex-1"},ls={class:"flex items-center justify-around"},cs={key:2,class:"w-full"},hs={class:"mb-2 flex items-center justify-between"},us={class:"flex-1"},ds={class:"flex items-center justify-around"},ms={key:3},fs={class:"mb-2 flex flex-1 items-center justify-between"},ps=Fn(()=>h("span",{class:"text-base text-neutral-400"},null,-1)),gs={class:"flex-1"},vs={class:"flex items-center pl-2 justify-around"},bs=["src"],ws=["src"],ys={key:0},As=["src"],xs=["src"],zs=["src"],Rs={class:"p-4 bg-white dark:bg-[#262629] rounded-md"},Is={class:"text-lg font-bold mb-4"},Ss={class:"cropper-container rounded-md mb-4"},Ms={class:"mb-4"},Cs={class:"flex justify-end gap-4"},Os={key:4,class:"w-full mb-2 flex items-center justify-between"},Es={key:0},js={key:0},Ds={key:1},Ts={key:1},Ps={key:5,class:"w-full mb-2 flex items-center justify-between"},ks={key:6,class:"w-full mb-2 flex items-center justify-between"},_s={key:7,class:"w-full mb-2 flex items-center justify-between"},Hs=be({__name:"cardItem",props:{drawItemInfo:{}},emits:["usePrompt","queryData"],setup(t,{emit:e}){const i=e,s=we(),o=Ke(),n=W(()=>s.theme),r=W(()=>n.value==="dark"?"#fff":"#000"),l=t,a=$e(),u=Je(),f="/api/midjourney/download",m=k(!1),v=k(!1),A=k(null),O=k(""),E=W(()=>{const{status:p}=l.drawItemInfo;if(p===1)return"";if(p===2)return"info";if(p===3)return"primary";if(p===4||p===5)return"error"}),B=W(()=>{const{status:p}=l.drawItemInfo;if(p===1)return d("draw.statusWaiting");if(p===2)return d("draw.statusDrawing");if(p===3)return d("draw.statusSuccess");if(p===4)return d("draw.statusFailure");if(p===5)return d("draw.statusTimeout")});function Q(){i("usePrompt")}async function dt(p){const w=a.info({title:d("draw.downloadImageTitle"),content:d("draw.downloadImageContent"),positiveText:d("draw.downloadButtonText"),negativeText:d("draw.cancelButtonText"),onPositiveClick:async()=>(w.loading=!0,new Promise(async z=>{const{drawUrl:U}=p,$=await Ge.post(f,{url:U},{responseType:"blob"}),N=new Blob([$.data],{type:$.headers["content-type"]}),H=window.URL.createObjectURL(N),F=document.createElement("a");F.href=H;const Vt=`image-${new Date().getTime()}-${Math.floor(Math.random()*1e3)}.png`;F.download=Vt,F.click(),z(!0)}))})}async function lt(p){a.warning({title:d("draw.deleteRecordTitle"),content:d("draw.deleteRecordContent"),positiveText:d("draw.deleteButtonText"),negativeText:d("draw.cancelButtonText"),onPositiveClick:async()=>{const{id:w}=p,z=await Fi({id:w});if(!z.success)return u.error(z.message);u.success(d("draw.drawingRecordDeleted")),i("queryData")}})}async function tt(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`upsample::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"UPSCALE",customId:H}),u.success(d("draw.submitZoomDrawingSuccess")),o.token&&await nt(),i("queryData")}async function Ct(p){const{drawId:w,extend:z}=p,N=JSON.parse(z).buttons.find(H=>H.customId.includes("reroll")).customId;await At({drawId:w,prompt:p.fullPrompt,action:"REROLL",customId:N}),u.success(d("draw.submitRedrawSuccess")),o.token&&await nt(),i("queryData")}async function et(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`variation::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"VARIATION",customId:H}),u.success(d("draw.submitTransformDrawingSuccess")),o.token&&await nt(),i("queryData")}async function at(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`Outpaint::${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"ZOOM",customId:H}),u.success(d("draw.submitEnlargeDrawingSuccess")),o.token&&await nt(),i("queryData")}async function Ot(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"VARIATION",customId:H}),u.success(d("draw.submitAdvancedTransformDrawingSuccess")),o.token&&await nt(),i("queryData")}async function wt(p,w){const{drawId:z,extend:U}=p,H=JSON.parse(U).buttons.find(F=>F.customId.includes(`pan_${w}`)).customId;await At({drawId:z,prompt:p.fullPrompt,action:"PAN",customId:H}),u.success(d("draw.submitZoomDrawingSuccess")),o.token&&await nt(),i("queryData")}const mt=W(()=>{try{return JSON.parse(l.drawItemInfo.extend).buttons||[]}catch{return[]}});async function Z(p){A.value=p}async function ft(){if(!A.value||!A.value.coordinates)return null;const[p,w]=l.drawItemInfo.drawRatio.split("x").map(Number),{coordinates:z}=A.value;return new Promise((U,$)=>{const N=document.createElement("canvas"),H=N.getContext("2d");N.width=p,N.height=w,H.fillStyle="black",H.fillRect(0,0,N.width,N.height),H.fillStyle="white",H.fillRect(z.left,z.top,z.width,z.height);const F=N.toDataURL();U(F)})}async function it(p){v.value=!1;const{drawId:w,extend:z}=p,$=JSON.parse(z).buttons.find(F=>F.customId.includes("Inpaint")),N=await ft(),H=$.customId;await At({drawId:w,base64:N,prompt:O.value,action:"MODAL",customId:H}),u.success(d("draw.submitRegionalRedrawSuccess")),o.token&&await nt(),i("queryData")}async function nt(){m.value=!0;try{await o.getUserInfo(),m.value=!1}catch{m.value=!1}}const Et=W(()=>{const{progress:p,status:w}=l.drawItemInfo;if(w===1)return d("draw.queueing");if(w===2&&!p)return d("draw.drawing");if(w===2&&p===100)return d("draw.storing")});return(p,w)=>(x(),C("div",qn,[h("div",Yn,[h("span",null,[b(c(Gi),{size:"small",type:E.value},{default:y(()=>[j(g(B.value),1)]),_:1},8,["type"])]),b(c(he),null,{default:y(()=>[p.drawItemInfo.action==="IMAGINE"?(x(),L(c(gt),{key:0,placement:"top",trigger:"hover"},{trigger:y(()=>[b(c(_),{size:"tiny",ghost:"",onClick:Q},{icon:y(()=>[b(c(J),{icon:"ri:brush-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.use")),1)]),_:1})]),default:y(()=>[h("div",Xn,[h("p",null,g(p.drawItemInfo.fullPrompt),1)])]),_:1})):D("",!0),b(c(_),{size:"tiny",ghost:"",onClick:w[0]||(w[0]=z=>dt(p.drawItemInfo))},{icon:y(()=>[b(c(J),{icon:"mingcute:file-download-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.download")),1)]),_:1}),b(c(_),{size:"tiny",ghost:"",onClick:w[1]||(w[1]=z=>lt(p.drawItemInfo))},{icon:y(()=>[b(c(J),{icon:"ri:delete-bin-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.delete")),1)]),_:1})]),_:1})]),h("div",Qn,[p.drawItemInfo.status===3?(x(),C("div",Kn,[b(c(Zi),{style:{"object-fit":"contain"},src:p.drawItemInfo.drawUrl,"preview-src":p.drawItemInfo.drawUrl,"object-fit":"contain"},null,8,["src","preview-src"])])):D("",!0),[4,5,6].includes(p.drawItemInfo.status)?(x(),C("div",Gn,[h("img",{class:"w-[75px]",src:c(cn)},null,8,Zn),h("span",$n,g(c(d)("draw.drawingFailed")),1),h("span",Jn,g(c(d)("draw.pointsRefunded")),1)])):D("",!0),[1,2].includes(p.drawItemInfo.status)?(x(),C("div",Vn,[b(Ve,{"text-color":r.value,progress:p.drawItemInfo.progress,tips:Et.value},null,8,["text-color","progress","tips"])])):D("",!0)]),h("div",ts,[mt.value.some(z=>z.customId.includes("upsample::1"))&&p.drawItemInfo.status===3?(x(),C("div",es,[h("div",is,[h("span",null,g(c(d)("draw.zoom")),1),h("div",ns,[h("div",ss,[b(c(_),{size:"tiny",onClick:w[2]||(w[2]=z=>tt(p.drawItemInfo,"1"))},{default:y(()=>[j(g(c(d)("draw.U1")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[3]||(w[3]=z=>tt(p.drawItemInfo,"2"))},{default:y(()=>[j(g(c(d)("draw.U2")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[4]||(w[4]=z=>tt(p.drawItemInfo,"3"))},{default:y(()=>[j(g(c(d)("draw.U3")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[5]||(w[5]=z=>tt(p.drawItemInfo,"4"))},{default:y(()=>[j(g(c(d)("draw.U4")),1)]),_:1}),b(c(gt),{placement:"top",trigger:"hover"},{trigger:y(()=>[b(c(_),{size:"tiny",onClick:w[6]||(w[6]=z=>Ct(p.drawItemInfo))},{default:y(()=>[b(c(J),{icon:"solar:refresh-outline",class:"text-base"})]),_:1})]),default:y(()=>[h("p",null,g(c(d)("draw.regenerateOnce")),1)]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("::variation::1"))&&p.drawItemInfo.status===3?(x(),C("div",os,[h("div",as,[h("span",null,g(c(d)("draw.transform")),1),h("div",rs,[h("div",ls,[b(c(_),{size:"tiny",onClick:w[7]||(w[7]=z=>et(p.drawItemInfo,"1"))},{default:y(()=>[j(g(c(d)("draw.V1")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[8]||(w[8]=z=>et(p.drawItemInfo,"2"))},{default:y(()=>[j(g(c(d)("draw.V2")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[9]||(w[9]=z=>et(p.drawItemInfo,"3"))},{default:y(()=>[j(g(c(d)("draw.V3")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[10]||(w[10]=z=>et(p.drawItemInfo,"4"))},{default:y(()=>[j(g(c(d)("draw.V4")),1)]),_:1}),b(c(_),{size:"tiny",style:{opacity:"0"}},{default:y(()=>[j(" V5 ")]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("pan_left"))&&p.drawItemInfo.status===3?(x(),C("div",cs,[h("div",hs,[h("span",null,g(c(d)("draw.pan")),1),h("div",us,[h("div",ds,[b(c(_),{size:"tiny",onClick:w[11]||(w[11]=z=>wt(p.drawItemInfo,"left"))},{default:y(()=>[j(g(c(d)("draw.panLeft")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[12]||(w[12]=z=>wt(p.drawItemInfo,"right"))},{default:y(()=>[j(g(c(d)("draw.panRight")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[13]||(w[13]=z=>wt(p.drawItemInfo,"up"))},{default:y(()=>[j(g(c(d)("draw.panUp")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[14]||(w[14]=z=>wt(p.drawItemInfo,"down"))},{default:y(()=>[j(g(c(d)("draw.panDown")),1)]),_:1})])])])])):D("",!0),mt.value.some(z=>z.customId.includes("Outpaint::50"))&&p.drawItemInfo.status===3?(x(),C("div",ms,[h("div",fs,[h("span",null,g(c(d)("draw.transformZoom")),1),ps,h("div",gs,[h("div",vs,[b(c(he),null,{default:y(()=>[b(c(_),{size:"tiny",onClick:w[15]||(w[15]=z=>at(p.drawItemInfo,75))},{icon:y(()=>[h("img",{src:c(Te),class:"w-4",alt:""},null,8,bs)]),default:y(()=>[j(" "+g(c(d)("draw.zoom1_5x")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[16]||(w[16]=z=>at(p.drawItemInfo,50))},{icon:y(()=>[h("img",{src:c(Te),class:"w-4",alt:""},null,8,ws)]),default:y(()=>[j(" "+g(c(d)("draw.zoom2x")),1)]),_:1}),mt.value.some(z=>z.customId.includes("low_variation"))?(x(),C("div",ys,[b(c(_),{size:"tiny",onClick:w[17]||(w[17]=z=>Ot(p.drawItemInfo,"low"))},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,As)]),default:y(()=>[j(" "+g(c(d)("draw.minorTransform")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[18]||(w[18]=z=>Ot(p.drawItemInfo,"high"))},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,xs)]),default:y(()=>[j(" "+g(c(d)("draw.strongTransform")),1)]),_:1}),b(c(_),{size:"tiny",onClick:w[19]||(w[19]=z=>v.value=!0)},{icon:y(()=>[h("img",{src:c(ie),class:"w-4",alt:""},null,8,zs)]),default:y(()=>[j(" "+g(c(d)("draw.regionalRedraw")),1)]),_:1}),b(c($i),{show:v.value,"onUpdate:show":w[22]||(w[22]=z=>v.value=z),class:"rounded-md overflow-hidden bg-white dark:bg-[#262629]"},{default:y(()=>[h("div",Rs,[h("div",Is,g(c(d)("draw.regionalRedraw1")),1),h("div",Ss,[b(c(gi),{src:p.drawItemInfo.drawUrl,"stencil-props":{aspectRatio:0},class:"cropper",onChange:Z},null,8,["src"])]),h("div",Ms,[b(c(ue),{value:O.value,"onUpdate:value":w[20]||(w[20]=z=>O.value=z),type:"textarea",autosize:{minRows:1,maxRows:2},placeholder:"(选填)在此输入选中区域要改变的描述"},null,8,["value"])]),h("div",Cs,[b(c(_),{class:"py-2 px-4 rounded",onClick:w[21]||(w[21]=z=>it(p.drawItemInfo))},{default:y(()=>[j(g(c(d)("draw.submitTask")),1)]),_:1})])])]),_:1},8,["show"])])):D("",!0)]),_:1})])])])])):D("",!0),p.drawItemInfo.progress!==100&&p.drawItemInfo.status!==3?(x(),C("div",Os,[p.drawItemInfo.orderId!==5?(x(),C("div",Es,[p.drawItemInfo.action==="UPSCALE"?(x(),C("span",js,g(c(d)("draw.selectSuiteForZoom")),1)):D("",!0),p.drawItemInfo.action==="VARIATION"?(x(),C("span",Ds,g(c(d)("draw.selectSuiteForTransform")),1)):D("",!0)])):D("",!0),p.drawItemInfo.orderId===5?(x(),C("span",Ts,g(c(d)("draw.regeneratingImage")),1)):D("",!0)])):D("",!0),p.drawItemInfo.action==="IMAGINE"&&!p.drawItemInfo.orderId&&p.drawItemInfo.status==="UPSCALE"?(x(),C("div",Ps,g(c(d)("draw.drawingInProgress")),1)):D("",!0),!p.drawItemInfo.orderId&&[4,5,6].includes(p.drawItemInfo.status)?(x(),C("div",ks,g(c(d)("draw.tryDifferentPrompt")),1)):D("",!0),!p.drawItemInfo.action&&!p.drawItemInfo.extend?(x(),C("div",_s," 上级: "+g(p.drawItemInfo.message_id||"正在加载中..."),1)):D("",!0)])]))}});const Ls=Ze(Hs,[["__scopeId","data-v-a664b16d"]]),Ws={class:"grow flex h-screen flex-col lg:pt-0 bg-white dark:bg-gray-900"},Bs={class:"flex grow flex-col sm:flex-row h-full"},Us={class:"p-4 sm:pt-6 overflow-y-auto w-full sm:w-[20rem] shrink-0 border-r-2 border-[#ffffff17]"},Ns={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},Fs={class:"mt-4 text-sm flex items-center"},qs={class:"text-sm mr-1"},Ys={"data-tool-target":"tooltip-default"},Xs={class:"flex mt-2 py-1 pb-2 space-x-1 overflow-x-auto justify-between scrollbar-none"},Qs=["onClick"],Ks={class:"flex items-center justify-center w-6 h-6"},Gs={class:"mt-2 text-center text-xs leading-none text-current"},Zs={class:"mt-4 text-sm flex items-center"},$s={class:"mr-1"},Js={"data-tool-target":"tooltip-default"},Vs={style:{width:"240px"}},to={class:"mt-2 flex justify-between"},eo=["onClick"],io={class:"relative w-full h-full rounded",type:"button"},no={class:"absolute w-full h-full flex justify-center items-center"},so={class:"text-2xl text-white font-bold absolute left-5 top-1"},oo=["src"],ao={class:"mt-4"},ro={class:"mt-2 flex justify-between items-center space-x-2 text-xs"},lo={class:"w-[65px] block text-sm"},co={class:"flex-1"},ho={class:"block text-sm mt-2 flex items-center"},uo={style:{width:"240px"}},mo={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},fo={class:"w-[65px] block text-sm"},po={class:"flex-1"},go={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},vo={class:"w-[65px] block text-sm"},bo={class:"flex-1"},wo={style:{width:"270px"}},yo={key:0,class:"mt-3 flex justify-between items-center space-x-2 text-xs"},Ao={class:"w-[65px] block text-sm"},xo={class:"flex-1"},zo={style:{width:"270px"}},Ro={class:"block text-sm mt-2 flex items-center"},Io={class:"mt-3 flex justify-between items-center space-x-2 text-xs"},So={class:"w-[65px] block text-sm"},Mo={class:"flex-1"},Co={style:{width:"240px"}},Oo={class:"mt-5"},Eo={class:"block text-base"},jo={class:"ant-spin-nested-loading css-4fssqp mt-5"},Do={class:"ant-spin-container"},To={class:"mt-2 flex justify-center items-center p-5 rounded-md"},Po={key:0,for:"upload-file"},ko={class:"upload-container"},_o=h("img",{class:"mx-auto py-2 w-11",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAABkCAMAAACb6dMUAAAC91BMVEUAAACqbeO0bd6ubeG6bdubbOzMbdLTbc6sbeLJbdOxbeCQbPHUbc7ObdGMbPO7bdutbeKUbO+pbOS5bdyGbPaZbOyrbOPVbc2MbPOWbO6xbeCWbO7LbdKWbO7Tbc+jbOezbd+PbPKfbOnUbc3LbdKMbPOIbPW7bdvNbdGibOjHbdWFbPffbcixbeDDbdbhbce1bd6IbPWsbOKHbPbdbcmpbOSebOrdbcmLbPS9bdrZbcvAbdiSbPDWbc3ZbcuJbPXSbc7ZbcvfbciUbO+KbPTZbcuFbPeabOySbPCIbPWUbO+IbPXQbdCgbOmLbPPebciRbPHdbcnGbdXabcqlbOaKbPSXbO2mbOa2bd3KbdO7bdrUbc7MbdHebcmXbO3IbdTebcnVbc2dbOqYbO3QbdCKbPSkbOevbeHgbceIbPa8bdrEbdbMbdKrbOOXbO3QbdDebcjDbdeQbPG3bd2WbO7IbdTBbdiLbPOJbPXJbdOXbO2QbPHabcqobOSfbOmvbeGNbPPCbdfTbc7bbcqzbd+fbOmObPLNbdGobOSSbPC+bdm4bdzabcuVbO+dbOrZbcvUbc2ibOjdbcnSbc/ebcm8bdq3bdy1bd7PbdDWbc2bbOvgbceibOiGbPbSbc/NbdGQbPHZbcvObdGibOjdbcmKbPSzbd+qbOOubeGtbeKRbPGJbPWYbO2tbeG7bduubeGjbOekbOembObZbcutbeHDbdeqbOTEbda4bdyFbPekbOakbOa3bdyybd+wbeDgbciHbPWJbPTNbdG0bd7PbdDdbcmZbOyTbO+GbPeXbO2VbO6EbPezbd6vbeGnbOWMbPONbPKebOnbbcnXbcyPbPGRbPDVbc3LbdKlbOabbOvJbdPZbcqdbOqpbOSsbOK3bd27bdvHbdSqbOOtbeG1bd25bdy8bdrEbdXebcnDbdaWbO6hbOjSbc6+bdnObdDAbdjbbcrKbdOcbOutbeLGbdWjbOe9bdnBbdfZbcvYbcvRbdDTbc7hbcZvJBQJAAAAvXRSTlMACJW6BhofEApsDQsK2BpWFhJ0M+Z0aRTU0aueinZrYFFAKSIcFfj4+NfXz87LxcK+paCRg3x1aF1bPz05NychGPjz597c2NK6r62akIB8dlBKR0Q+Nfn29vLv6ufm3Nzb2NPLyMbDvLq5uLa2r6WlpKORiYSDdW5VT0kwMPv48/Ly8u7p5uHf2tjVzsrDw8C8tLKurqukm5uYlpCPgHRkY11bVk9JQPv7+PTx7+Xf0cy9oZyVjYR6cmNNQmxAszFGAAAHfklEQVRo3sXa9V8TYRzA8S96ujnnZICCoggICBISBgKCCCigImV3dxcCdnd3d3cnYSdidxdid/0g8Tx3t3Fs99xt4/MXvF8X3z33PAPhGZtaHypU1t3Vdaera9ey+0ysTYuAwfM9NH9qi8cvXpw8een48RMnLj9//vXRyJ29TWKNwGBRpgOntHjy8uVjNcejZ88eNp20LFYKhsioZI8fr149ycfx8MqVK11K6/8GUTXd3r/X4rhzx6mhDPQZVdLt40cejjvfnSroUWLa8+dPno7vmV2Ogn6SHxydQeDIHLGsOOgh/54ZGXkc46a6l82qd1fX7XkcmekzEnTPGNb2tZpjx4JjG2yNc19SqbFtbGnPSRtVHenjK+iaUezbaxXH1IG+Uo7BcqDLcLYj/UFD3TIGP1VxzC8py2+6HNnTlO14sESXjHJP2Y75pqAp2ywJ4/jSh9Id4x7LMaUmaCt2N8tx11JXPzkN7jGO0UPsQHvStU6M466ljq7GZ8bhZsp3UTCbcZxZootbs9KRcfTnP6ylyxjHmVLiGUWb36Ydg4Gk6oyjiY1oR9/btOMgkFVhBHacaSN2JbAmlXYMBiCF0I7zIp9VuxK0Yz+QV512nI8U98qmYkdPOQhoCe1oI2aK1HLEjrYSYYvIGdjxtrwIx9xU5GgeDcKyHY8dZYSvRnwcsaMcCK0UdjSJFP7OfkCOynIQXEfkuBAqdKr6O2LHMBBeLHZcaCz0h+UUcvQCMfXBDoEzRD4RORyjRTn8tiFHkL2wFekp5HATuYAIR44Lq4TNMOxYCeKKR46zfUBAkk7I0VwCImuDHJMVgmYpciwCsQ1CjrPxQJ7VKeSIFu3wa4Icg4QMMeSYWFG0w74jcoQCeSWQoxcForNEjiDy3xjzMchRDsRXCjnO2gJpFd8hxxoQX3wT5PADomr7rFn0J9fR3BfEZ7sNOcK9bRS8EVZz24959w45WlUE8SmDkOPmzS2Tw4fyofjsbXnr1q2/jMMOxEe1oR03b9y4McpjvZGW4TUn8Pp1VYc56KCOKo6rV692j9Q0yquO/X1d3SHRhWO6uiPNISwg34sx7f6vPI6JlC4c4XkcaWlm3sBZjbH3ORzlQBfFczhSUiK4HqWq1z5xOHpJQCcN4nKk1M87X5deU3O0LNGpU68VEtBRkX2md5wcpOZI8VC/61VPsx0t+65MtDOXyCnQYcVlSkWCt+UEtiO5vtqzcZrlmGlVG/SXclUoy5G8XGV41WEcIaslZDNqQ2lrGdmFibNgHA6RrEne7g12BC4mnFum7ln72q4bgEwyYBR2JJsxc6RfEnYErgOyrMfl7K+PJN04tpmAHee645cmKol2rCZlNEP7/JtIIY2DsePcYfS9VIV2NCJn4POGTaVJF61bsaOuErKLScKOfkBWyWasc4/NpBBv7LiYe0G6YUeIOSFD7fyFFOKFHc4UAPjXwY7VpFdDzUF6RWzNkCN5ffYkTUKOmYSMSnnOozYSQjyQ46IXgLwbdqwjZHCdi5mQvTPY4WwP/q2Rox1FyOByDCeDdEYOh8YQ9Q85qgJBNfM9JySCDEWOi97QCDuiSBiV8nUQXRE/B+TwgqXI0dqfhKHp3LQa8E5hgRxhMAc5XGoTPBuazm9JINLuyOEMVZCjG+/H1LcFc367YCFyFN7HOr/lD/FAjrrgghzzeP/Qt2DOkd2pashR1siTcfCH1EcOM2KH3RTmPNvdGAohR1eQeTKOpmuJHfi+zAF+DWHO1d1lQDsKS4HyZM7Vd0tJ70s35KgiAV71px09jIHlMAKQetKO8cbAqzD6Oe2H31ue3/X7sWOBDNQcYHQAO5yU/DasnJGjOzPHfHi+LcixkII8DoBqyMHzWD9hKz3H1mFHI74PSI6jkBS4HGCS45jN87Z447k+FBLrIMc04Fl0jx09agJwO+Bo70m7TKTArzDssAF5Ffy7nwjksR3kBTggR10FwFLs6Gdwhxdef3gAQAxeF9bxMbBDEYwc5+IAgHLB69OZlGEdEXidbFY85xub/m5oZFCHnwN25H5rS9phR2CUAR0Bwfj7xUyBNh3o77mxtQzmUHROwY7lgD8s6e/bkIp6d2BGGnY42wMqhnb8CokyiMPGIo12xLF2pWjH78AG5np3KCNGpWGHys6UfB5rX6q9lZ1eHfarLFj7Up3tgZW5C3ufrv3iGImeHDKbARbsfbrgALXjlnaq+5YtZy0avMLKqhjTsNqkjiIVqmdVKrvyOQ0aEBqkum9plgBq+btw7uOmMv/LqRxN5ljrlJ7O/B+Gcx+3LseRv2SvFsfr0b4kjiMj0rU5whTcG+ytNTsy+pM4umRqc3gZAXeJszQ73Agcxk5aHBZxkH81QjQ5ehI4iu/S6AiOUGo+plwxLX9HMQIHNNTgsIgIAG1JYha3H8Pp6E+ROIxmczu2TLBcrwReUbWsGsyd1akEqm3bylm5DZGTvbfShjM6ZFUvuzI5TQ8NHzDUhvBMW25uV5SdjHyeyoqopkQE3cd8Z0uhQBuIHL2hYLNGDhMo2KiFOY7CSijgZAO3jxznaQwi+w+ELPUHv67REwAAAABJRU5ErkJggg=="},null,-1),Ho={class:"mt-3"},Lo={class:"text-center dark:text-[#ffffff73]"},Wo={key:1,class:"w-full h-full relative"},Bo=["src"],Uo={class:"mt-5"},No={class:"block flex justify-between"},Fo={class:"text-base py-1"},qo={class:"text-[#3076fd]"},Yo={class:"flex items-center"},Xo={class:"mt-3 space-y-1 items-center text-[#3076fd]"},Qo={class:"flex justify-between"},Ko={class:"w-[120px] block text-sm"},Go={class:"text-sm pr-2"},Zo={class:"flex justify-between"},$o={class:"w-[120px] block text-sm"},Jo={class:"text-sm pr-2"},Vo={class:"flex justify-between"},ta={class:"w-[120px] block text-sm"},ea={class:"text-sm pr-2"},ia={class:"m-auto max-w-screen-4xl"},na={class:"space-y-4 p-4"},sa={key:0,class:"text-lg sm:text-2xl font-bold leading-6"},oa={class:"flex justify-between items-end"},aa={key:0},ra={class:"mt-4"},la={key:0,class:"mt-4"},ca={class:"mb-3 flex justify-between items-end"},ha={class:"flex items-center space-x-3 whitespace-nowrap pb-[15px]"},ua={class:"mt-3"},da={class:"space-y-2 p-4"},ma={key:0},fa={class:"mt-6 mb-4 flex flex-col"},pa={class:"text-xl font-bold flex items-end"},ga={key:0,class:"text-xs font-family ml-2"},va={key:0,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},ba=["src"],wa={class:"mt-4"},ya={key:1,class:"h-[10vh] flex flex-col justify-center items-center text-gray-500 relative"},Aa={class:"w-56 h-14 relative"},xa={class:"mb-3"},za={class:"min-h-[500px] mt-5"},Ra={class:"mt-6 mb-10 flex flex-col"},Ia={class:"text-xl font-bold"},Sa={class:"text-base text-[gray]"},Ma={key:0,class:"w-full py-28"},Ca=h("img",{class:"mx-auto",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABOCAYAAAC3zZFGAAAAAXNSR0IArs4c6QAAD81JREFUeF7tXAuQZFV5/v9zu+e9O7s7Pbtzu1s3ujHEBxhQ0ZiKFbESLVNGq6KhDEo0uKgLCBGQAvGBC+Fh2AJZQcLDxTI+qBAeakkZcMVoRCCaCMgzPJa5t7tnemeZR6bn9r19/tR3c3pyt7dnuvt2b/cCe6qoHWbOPffc7/znf37nMO3f1NjYmD0wMHA0ER3LzK8VkTQRrWPmftNVav7F/4pI+Ovq36I/R/tH/x4Ow8zRv7MZLPy3puF31d9Hf652Y+blx6L9wtcQkSaikogUiegZIvqN1vqBxcXFh2ZnZ/fVeV9Tv1p+YzqdHmLmtxDRXxHR25l5nIgGRSTJzCoy+aYGbqLTAWDWAayJYZrvYla5QkQeES0y8zNa6x9qrW/O5/OPEVHQ/Gj/1zMEcMOGDWsHBwc/SESfYObfJ6KBVgd6IfYHoMw8LyI/I6IdjuPc0yqIAHAwm83+JRF9UUReYaTthYhHO3P2ReQerfU5uVzu1zWqaNVxeWJi4thEInGZiPzxSxS8ECAR+R8iun5hYeGCVnQip9PpzyilPkNEY+0s4YvgWezoxyqVyon5fP7+Zr+HM5nMd5n5L14qem81YERkLxGd5TjOt4io3AyIAPDnRPRmZraaeeDF3EdEYFB2lMvly4vF4nwz3woAH2PmVx0EN6WZ9x9qfeAn7lpYWPhss3oQAD7HzNlD7Ut6NB9PRL5ttjG2c8N2GMD9IQKA0H9nO45zGMCG4nNgh8MAxgAt+shhAA8D2CYCbT7eugRms1mHiJCyitPgvSOrgv/qpaDijNnOM+E82ghJy8aIwJluzohks1mXiOxWZm1AWyCiJ4goZ3JthwKAyPkliQhJkd+JEV0BQLgxZzYNYCaTmWTmTIsAArxvaa2vC4IAz4eZoVbG6HTfamJWa62SyeTrlVJnMfPbDKDNvq51CYzjSCPoJqJtjuPsbiX10+xXdKDfYDqdPomZv8DMqRbGa10HxgQQ2YqtjuP8VwuT62ZXK5vNvk9ErmgxyuoOgET0cKVS+UQul0Mm91Bsfdls9kQRuZCZN7Uwwa4B+LyIXOP7/g2e580cCjoQIFXnMTQ0tEUpdQ4zv4eIqsWwZnDsDoDGCqO6da+IPAs9qJTqqRExlUFYYQD2aiJ6AzMPt+hedQfA6lKKSMDM/iHmByoR6YvpC3YXwGb2xAusz2EA21ywwwAeBjAmAqZIHohIGXq5+q8JM0MjTUSWiMDIgG3RF2FdVN/60pJAY8QWRQTcFhdUDSJytNYFEcmJyIxlWaiuidY6QUQjSqmNImIrpTIispmIXkZE48w8ApBB8yCiM1zXhZfRsL0QU/oQthIRTYEgJCK/FhFERI+COOR5XnlwcNB3XRfeAbguVQ4OJBAcn0QqlerzPK9vZGRkWES2JBKJo7TWb2LmI0XkPiI698UIIIAAcE+LyF0icjeA831/X7FYxO9bJgYZ8QKwA+Pj46OWZR0BKVRK3ee67mJD8UPnOLFwMwN3uA90GrbnD7TW/5JMJh/as2fPHBGBadXJFurJVhajHQAhEUj/NKrgQ/cMRMl7zX6xMQwIG++uVCo3lkqle2dnZ59vIgMUbtVsNmv5vo+fybIscV0XgENSOwZ8LABFBCHTJBH9mJkRylWtXBSbMFMtIgjmjyOiLcwMMJtqIoKP/G8iuikIgm8XCoU9q3y4lUqlhohoTTKZnBCRCcuywG9cD/aZeaGntYbUItM8XalUcojjZ2dnQSpqJAQrzjkugJjEDs/zdhHRqhSIRCIB6XuvUuqzzAyr10zMjC0LZX5FqVT60czMDD68XhsYGxsbA6NWRN7IzK8hopczMyztiFmwUALNYmJRoC9htSEAj0OPaq3vK5fLz83MzOBbGhE/95tHHAAhVf+ptT45l8s90Iw42ba9WSl1DRH9WSMOjojAF9vNzJc5jgPeTj3p6BsfH9/c19f3DmZ+l4gcaRKnkDZIecNFMhIOpipAewq7KQiC7/u+/9tVFuyAz40L4L1BEJxcKBQeagbATZs2bUwkElcT0XsbbGPo1H8NgmB7oVDA4tTqKpVKpSb6+vreycxg1ILLDf5206qh3nxNdglb+SkRuS0IglumpqaQdQfAq7a4AD6ptT4tl8vd1YRC5o0bNx6VTCYB4B+uYkywbX8qIp93XffeSARR/YB+27bhq52klILUwfntKKMsQvn9FRF9fX5+/vtzc3MzqyEYB0BYBvhId2itvx4EAcSf+vv799s2nueBfyyWZaWVUh9k5r8motEVJABG6X4ROd91XdRZ9pO8VCq1pq+v7z3MfCozQ+oOKofbbG+Ue7+Bwlkul3tuJd0YC0CjkKGMoYhXq58CxHUi8nIiGq4nfWb7YIKfdxznO7XbZt26deuGhoZOBHjGkleNQqPd1e7fYUye11r/MxFd7rru4/VAjAtgu5Nbfl5EUCK9dm5u7uL5+fn9FmP9+vWjQ0NDJxHR3xFRJo4v2e5EzfxuKZfLF05PTz9ZO15PAYQ/ycz/JiKn16nwDdq2fQLcHyLa3AvwqmCBuUpE31xaWrpo79692NrLrdcATonIea7rfrNm61q2bf+pUuoyInpdHPCMasBhGlhSuDfQmw3dm5Uk1vCnr1hcXLxq3759s9V+PQPQpKK+JyKfchwHunS5pVKpI/r7+wHeu+O4KCZSQux8GxE9KSJHw5k3aatYIBoL/YyInOM4zq3VeLlnABJRHkzQycnJ7xIRUk9hg8Xt7+8/nZnPhI8XQ4dB+ee11n8/Pz//nbGxsQXf98FOgB7dysxrYowZPgLrzMzIBGHRYVR6k43BRJCSCoLglKmpKcS7yzsinU6/lZnhMyK6aFlajF79eRAEn8zn8w9XB85kMojHr2Hm34sLoHlun9b6Ut/3vzo9Pb3QKwl8vlKpXKq1vqpQKCACCBus7uDg4PnM/ElT0235W832vZuZT5mcnAR7LGy2bb9BKXUjMx/V8qCRB8z4/x4EwbZCofBgLwCEOkEQf6rruj+ORhypVOqY/v5+JChiGQ6zzeCU7xaRU1zXRTgWtomJiTdZlnV9uwCad+w1EdMuALiHmVEX6EozXv6dlUrl1Hw+D0Uftmw2C0t5MhF9waShYs3HSMhPDICPRgA81gB4ZKyB938IYedtvu+f2wsAEQZ+bXFx8UtRd2Djxo2bksnkTiJ6XxzLW/2+VQDsmASaSOwJrfXpAPBZZkao1ZUmItNE9DnHcW4ioqWIjjpGKXUDM7++TX8NW7ieBHYSQFhkbOMvdx1AkzKCG3BnJGmQTKfT72fmf2DmuHztcC26JIFhQoWZbwWAz5hMcVckkIge9H1/a6FQ+GX1hbhugIhOUUqdF9P3W557FwFEbeWX3QYQFhi5vo9UHVF8Oa4cGBgYONekq1Dgjt1WAtC27WMsy4LaeF3swfd/MDxfDACfNoz2Do278jDGyb1raWnpo8ViEacDwjY6Orp+ZGTkImb+SKQIFGs+BsAD3BhTVrieiFAGaNlBrzcZEXmu6wAS0Q/L5fLHpqenEcqFLZPJ4LT8l03StRVG6QHfVQUQznjUkUYyIZPJHM/MnxORV3YIxHwvALyzXC6fVAsgikhEdEKLlNwVBEMe0lpvq+Vwm9tJ8A5ccdCJFFmuqwAa/2m31vqjuVwOdd6wIes8MjKynYiQPK3WcWNtYTyEJKiI3Fguly8pFos4CLTcEC4ODw+DgH4WiEXtSCLYEpzNZlHTeEXs2bb2IDIlD1Qqlb/J5XKPVB81GZizwYpqJ1tSHS/C4b7W9/2dU1NTheg0sWDDw8N/206m26S3HgSAyIa8sjUc2ur9sNb6467rouYbNoRxWuutSimEcRvaGv3/H8Y3gqJWF0QYruHh4Y8ppc4A3S2GJKIEe0/XAQSrX2v96Vwud3vEkU6k0+k/Z+YrO+yTVkH8x3K5vDOqd4HzmjVrxkZHR7cS0WmtgmhqJf8EAFEo2dKhVW84DEiPRLTdcZxrDc0ifCadTh/BzLuY+c3thHJ1JrAqiOl0OsXMHweIoIQ0+24RQTnigl4AiPgXRevzo0XrtWvXbli7di0s8Yc6YIlrcQSIqPhdVy6Xv1IriRMTE+OJROJUEcHdYSAlreonGh0LTs2negFgGOx7nretWCwu5+vAW85ms8eLyOVGEhpKc4sdQhBF5Hrf96+sBdFkg04jIiRzwepaDcQlEbnJ87xQApG1/d0WJ9NWdxHZo7U+I5fL3RFlIYyPj78qmUwiI/NHMQ/KNJpXFcQbIInRaAgPZjIZXP+CiOj4BrvA1Vqf6bruLfADn2DmbgMIP21nqVS6JJoTNEmFbcwMKlycglIjAPF3gDgDSawDospkMrjJbudKu8BUE8Hi+nShUHgaAD5ubi5q5uUd6WPCrft93z95amrqN9FBJyYmXmNZ1leJ6G0HSQqXQWRmsF6vjBTL+9Pp9AnMfOkK54zhx7pBEJyXz+dRTfR6AqD5ApActzPz1yYnJ8GzqbbwI5RSFxER2K0dCfxXsM6YAxiwN1qWNWtu8DzDXH9ajzIX3mzked551QinlwBq3BwJyxeNSvChRqFfwMwfJiLkCg9mA/v1ca01EqS4ZyFdr6RgMkn/Ad3tuu4vqkQjGBHUTnE89GCt9GofP6u13rG0tHRFDSuUbds+2rKsi0XkuHZqJE0iHz1LcsAjxm15Grd8Oo6DgzjLxEtIIE6dv6XTZMVmJm7iyUfMqt5dQ6q0MpnMn2Cbmy3VUTJlM/MzfQAuTj3tKJVK19XSfwEg6rAfYOaDvVVWmjNiyluDIDgXVq2mE2ol7wJDS0RwgLotKm8LoIVdzQLncTp/bm7u6lr6HfrgClBQZr/UxuU7rc6rXn8o8yvn5+e/Uufevj7bto9TSp0N//AgRCl152/q188CPCLatdLRL/CXtySTyS8y8we6NbnaGRsdA+f6wlwuh+vnao9ZJTKZzBtFBPHqO5GxiZE9aWWhcYARt/leWyqVbl+NtR8ewLNt+61KqYsNCbwnusZYuUe11ttd1wUtbblmbL4c83yZUur9iJcNSajTageMAxxivCMIgm8UCgWAuCpTv2p5k7ZtvwPbxBgUZIW7bpWNg/1brfUlQRDcDvZTrdhs2rRp2LKsP2BmAPluo3rq8q+bFLnwyBoRITr5hYjcXKlUdhcKBRAAGh66iYKUsG37KFTGzDZBXIhTRt0idVcVN2i/IDJe5XnezcViEcUnJCCijUdHR0E+PxJHHqAbcYm4OTMyICLWSvM26gKnAAAamGFI+f9KRO70PO9ne/fuhQQu8xUbLUKtlPH4+Dg4KrhLH6v7WnO/dNe2NSqOIgJr+5TW+mqt9a1RClw9IEdGRjbjvK9S6hiT2xwzpwPWosZi9CUAg0TjsCKMFnTug8z8gOd5jxSLRUhc08BV5/G/Lqj3To34RlUAAAAASUVORK5CYII=",alt:""},null,-1),Oa=[Ca],Ea={key:1},ja={class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 4xl:grid-cols-5 gap-4"},Wa=be({__name:"index",setup(t){const e=k(null),i=qi(),s=Yi(),o=Ke(),n=W(()=>o.isLogin),r=W(()=>o.userBalance),l=W(()=>r.value.sumDrawMjCount||0),a=W(()=>r.value.sumModel3Count||0),u=W(()=>r.value.sumModel4Count||0),f=W(()=>{switch(A.value){case 1:return a.value;case 2:return u.value;case 3:return l.value;default:return 0}}),m=we(),v=k(0),A=k(3),O=W(()=>m.theme),E=W(()=>O.value==="dark"?"#fff":"#000"),B=Je();$e();const{isMobile:Q}=Ki(),dt=k("/api/upload/file");let lt=!1,tt=null;const Ct=k("9:16"),et=k("MJ"),at=k("6.0");k(0);const Ot=k("1"),wt=k(100),mt=k(0),Z=k(""),ft=k(""),it=k([]),nt=k(0),Et=k(!1),p=k(!1),w=k(!1),z=k([]),U=k(12),$=k(!0),N=k(0),H=k(1),F=W(()=>!Z.value||p.value||w.value||_t.value),yt=k("");let zt;Wi(n,async(R,I)=>{R&&!I&&await Ht()});const Vt=W(()=>N.value>U.value),vi=[{aspect:"1:1",width:"100%",height:"100%"},{aspect:"4:3",width:"100%",height:"75%"},{aspect:"3:4",width:"75%",height:"100%"},{aspect:"16:9",width:"100%",height:"57%"},{aspect:"9:16",width:"57%",height:"100%"}];W(()=>[{label:d("draw.defaultStyle"),value:0},{label:d("draw.expressiveStyle"),value:"expressive"},{label:d("draw.cuteStyle"),value:"cute"},{label:d("draw.scenicStyle"),value:"scenic"}]);const bi=W(()=>[{label:d("draw.standardQuality"),value:".25"},{label:d("draw.generalQuality"),value:".5"},{label:d("draw.highDefinitionQuality"),value:"1"},{label:d("draw.ultraHighDefinitionQuality"),value:"2"}]),wi=W(()=>et.value==="MJ"?[{label:"6.0",value:"6.0"},{label:"5.2",value:"5.2"},{label:"5.1",value:"5.1"},{label:"5",value:"5"},{label:"4",value:"4"}]:et.value==="NIJI"?[{label:"6",value:"6"},{label:"5",value:"5"},{label:"4",value:"4"}]:[]),yi=[{name:"MJ",img:en,val:"mj"},{name:"NIJI",img:nn,val:"niji"}],Re=W(()=>R=>Ct.value===R),Ai=W(()=>R=>et.value===R);function xi(R){var S;const I=(S=R==null?void 0:R.target)==null?void 0:S.files[0];Ie(I)}function zi(R){R.preventDefault();const I=R.dataTransfer.files[0];Ie(I)}async function Ie(R){zt=R;const I=new FileReader;I.onload=S=>{var Y;yt.value=(Y=S.target)==null?void 0:Y.result},I.readAsDataURL(R)}async function Ri(){const R=await Xi();z.value=R.data.filter(I=>I.status)}async function Ii(){const R=await Ce({page:1,size:U.value}),{rows:I,countQueue:S,count:Y}=R.data;it.value=I||[],N.value=Y,nt.value=S||0}async function Si(){const R=s.query.mjId;if(!R)return;const I=await Qi({id:R});I.success&&(Z.value=I.data,H.value=0,$.value=!0)}async function Mi(){if(!Z.value)return B.warning(d("draw.enterDescription"));w.value=!0;try{const R=Number(o.globalConfig.mjUseBaiduFy)===1?De:Oe,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:Z.value}:{prompt:Z.value},S=await R(I);if(!S.success)return B.error(d("draw.optimizationFailed"));Z.value=S.data,w.value=!1}catch{w.value=!1}}const _t=k(!1);async function Ci(){if(!Z.value)return B.warning(d("draw.enterDescription"));_t.value=!0;try{const R=Number(o.globalConfig.mjUseBaiduFy)===1?De:Oe,I=Number(o.globalConfig.mjUseBaiduFy)===1?{text:ft.value}:{prompt:ft.value},S=await R(I);if(!S.success)return B.error(d("draw.optimizationFailed"));ft.value=S.data,_t.value=!1}catch{_t.value=!1}}function Oi(R){const I=/--\w+\s\S+/g;return R.replace(I,"")}function Ei(){if(!H.value)return"";let R="";return ft.value&&(R+=` --no ${ft.value}`),et.value==="MJ"&&at.value&&(R+=` --v ${at.value}`,R+=` --s ${wt.value}`),et.value==="NIJI"&&at.value&&(R+=` --niji ${at.value}`),R+=` --ar ${Ct.value}`,R+=` --c ${mt.value}`,R+=` --q ${Ot.value}`,R}async function ji(){var Me;const R=new FormData;zt&&R.append("file",zt);const I=new Date,S=I.getFullYear(),Y=String(I.getMonth()+1).padStart(2,"0"),jt=String(I.getDate()).padStart(2,"0"),_i=`userFiles/${`${S}${Y}/${jt}`}`,ee=await Ge.post(`${dt.value}?dir=${encodeURIComponent(_i)}`,R,{headers:{"Content-Type":"multipart/form-data"}});return(Me=ee==null?void 0:ee.data)==null?void 0:Me.data}function Di(R){const{prompt:I,aspect:S,isCarryParams:Y}=R;Z.value=I,S&&(Ct.value=S),H.value=Y?1:0}async function Ti(){let R="";(yt.value||zt)&&(R=await ji());const I=Ei();H.value&&(Z.value=Oi(Z.value)),await At({prompt:Z.value,imgUrl:R,extraParam:I,action:"IMAGINE"}),zt&&(zt=null),yt.value="",$.value&&(H.value=1,$.value=!1),B.success(d("draw.submitDrawingTaskSuccess")),o.token&&await Se(),!lt&&Ht()}async function Ht(){lt=!0;const R=await Ce({page:1,size:U.value}),{rows:I,countQueue:S,count:Y}=R.data;it.value=I||[],N.value=Y,nt.value=S||0,it.value.filter(Ut=>[1,2].includes(Ut.status)).length?tt=setTimeout(()=>Ht(),3e3):lt=!1}Bi(()=>{clearTimeout(tt)});const te=W(()=>it.value.filter(R=>[1,2].includes(R.status)));function Pi(){i.replace("/market")}function ki(R){et.value=R,R==="MJ"&&(at.value="6.0"),R==="NIJI"&&(at.value="6")}async function Se(){Et.value=!0;try{await o.getUserInfo(),Et.value=!1}catch{Et.value=!1}}return Ui(async()=>{const R=await tn();R&&(v.value=R.data.deduct,A.value=R.data.deductType),Ht(),Si(),Ri();const I=document.getElementById("footer");new IntersectionObserver((Y,jt)=>{Y.forEach(Ut=>{Ut.isIntersecting&&Vt.value&&(U.value=U.value+12,Ii())})}).observe(I)}),(R,I)=>(x(),C("div",Ws,[h("div",Bs,[h("div",Us,[c(Q)?(x(),C("h3",Ns,g(c(d)("draw.professionalDrawing")),1)):D("",!0),h("div",Fs,[h("div",qs,g(c(d)("draw.imageSize")),1),h("div",Ys,[b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(J),{icon:"ri:error-warning-line",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.parameterExplanation")),1)]),_:1})])]),h("div",Xs,[(x(),C(Rt,null,It(vi,(S,Y)=>h("button",{key:Y,class:"flex-1 p-[2px] rounded-md",onClick:jt=>Ct.value=S.aspect},[h("div",{class:Lt(["border-2 border-gray-300 box-borde rounded-md flex flex-col items-center",[Re.value(S.aspect)?"aspect-active":"",c(Q)?"py-3":"py-2"]])},[h("div",Ks,[h("div",{class:Lt(["border-gray-300 rounded border-2",[Re.value(S.aspect)?"aspect-active":""]]),style:ce({width:S.width,height:S.height})},null,6)]),h("div",Gs,g(S.aspect),1)],2)],8,Qs)),64))]),h("div",Zs,[h("div",$s,g(c(d)("draw.modelSelection")),1),h("div",Js,[b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(J),{icon:"ri:error-warning-line",class:"text-base"})]),default:y(()=>[h("div",Vs,[h("p",null,g(c(d)("draw.tooltipMJ")),1),h("p",null,g(c(d)("draw.tooltipNIJI")),1)])]),_:1})])]),h("ul",to,[(x(),C(Rt,null,It(yi,(S,Y)=>h("li",{key:Y,class:Lt(["flex border-[3px] border-transparent justify-center items-center rounded-md m-1 m-bg-gradient",[Ai.value(S.name)?"model-active":""]]),onClick:jt=>ki(S.name)},[h("button",io,[h("div",no,[h("div",so,g(S.name),1)]),h("img",{src:S.img,class:"rounded aspect-[3/1] w-full object-cover"},null,8,oo)])],10,eo)),64))]),h("div",ao,[h("div",ro,[h("span",lo,g(c(d)("draw.version")),1),h("span",co,[b(c(Ee),{value:at.value,"onUpdate:value":I[0]||(I[0]=S=>at.value=S),size:"small",options:wi.value},null,8,["value","options"])])]),h("div",ho,[j(g(c(d)("draw.parameters"))+" ",1),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(J),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",uo,[h("p",null,g(c(d)("draw.parameters")),1)])]),_:1})]),h("div",mo,[h("span",fo,g(c(d)("draw.quality")),1),h("span",po,[b(c(Ee),{value:Ot.value,"onUpdate:value":I[1]||(I[1]=S=>Ot.value=S),size:"small",options:bi.value},null,8,["value","options"])])]),h("div",go,[h("span",vo,g(c(d)("draw.chaos")),1),h("span",bo,[b(c(je),{value:mt.value,"onUpdate:value":I[2]||(I[2]=S=>mt.value=S),min:0,max:100,size:"small"},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(J),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",wo,[h("p",null,g(c(d)("draw.chaosDescription")),1),h("p",null,g(c(d)("draw.chaosExplanation")),1),h("p",null,g(c(d)("draw.chaosAdvice")),1)])]),_:1})]),et.value==="MJ"?(x(),C("div",yo,[h("span",Ao,g(c(d)("draw.stylization")),1),h("span",xo,[b(c(je),{value:wt.value,"onUpdate:value":I[3]||(I[3]=S=>wt.value=S),min:0,max:1e3,size:"small"},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(J),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",zo,[h("p",null,g(c(d)("draw.stylizationDescription")),1),h("p",null,g(c(d)("draw.parameterExplanation1")),1)])]),_:1})])):D("",!0),h("div",Ro,g(c(d)("draw.setting")),1),h("div",Io,[h("span",So,g(c(d)("draw.carryParameters")),1),h("span",Mo,[b(c(Ji),{value:H.value,"onUpdate:value":I[4]||(I[4]=S=>H.value=S),size:"small","checked-value":1,"unchecked-value":0},null,8,["value"])]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(J),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[h("div",Co,[h("p",null,g(c(d)("draw.autoCarryParameters")),1),h("p",null,g(c(d)("draw.carryOn")),1),h("p",null,g(c(d)("draw.carryOff")),1)])]),_:1})])]),h("div",Oo,[h("div",Eo,g(c(d)("draw.imageToImage")),1),h("div",jo,[h("div",Do,[h("div",To,[yt.value?D("",!0):(x(),C("label",Po,[h("div",{class:"upload cursor-pointer",onDragover:I[6]||(I[6]=Qt(()=>{},["prevent"])),onDragenter:I[7]||(I[7]=Qt(()=>{},["prevent"])),onDragleave:I[8]||(I[8]=Qt(()=>{},["prevent"])),onDrop:zi},[h("input",{id:"upload-file",type:"file",accept:".png, .jpg, .jpeg",style:{display:"none"},onChange:I[5]||(I[5]=S=>xi(S))},null,32),h("div",ko,[_o,h("p",Ho,g(c(d)("draw.clickOrDrag")),1),h("p",Lo,g(c(d)("draw.supportFormats")),1)])],32)])),yt.value?(x(),C("div",Wo,[h("img",{src:yt.value,alt:""},null,8,Bo),h("img",{class:"absolute bottom-1 right-1 cursor-pointer",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAD0klEQVRIiY2WS2xWRRTHf/+ZryimPqLhocEAMbrQqBvYK4G2ArJxw0YxqLSo3bgQceFKo4mJywoYUBFZAilNRKVEN8ZoF2xYoiUhaSISExsVtJxj5n5z+917ez/xTk7uPM+Z8/qf0cnxWQxhru6/ToOOHja02dAGQ+sN3WNIjn4zdNHQjKNpQxcMzTsUPDzzKceaHP+5x7wnbJmhJw2NGtqWxzUGVXL0t6EvDQ5kodebgjqh6OZPgLMK2A+MAreSp0sy6l+eWwY8DYw4HALecZgjC0kyOrGrWG7hfokJwXZ5f+ZV4d01L0ZCAwavAA847AVmy9WQpGVaFbCJgG0PGEFG8a9QrFB9zYk9PolGAn4g4PeV6yF2N90S8X0R357HXVKlX2dUoz5rwwF/M+DLi3GWuCngr7ZstiC/0WTapECxx6p7un3bG/EtpUa3RWw0YgOxbh6P2LGIvR7lc6V2LZe5EvD9Af844jfqZvXkmpcDfnvqPBLwoRYGCwH/IeAfBGwsYL9U/ZYv82ssbm3vR+y7gFmLSZO1Hu9EfEiwXI0wFgwI3hBcEkwK/hIclVidItLgCrAbmAKGgLeAgaURWcwNJR9taEZXhdYE/EjW+OuAvxDw+Sj/M8r3RHwq4psi/mnE1/YLmohvTBqtb9GmQrZC6DOhF4VOCz1nqAM6hTSC6wiE1S2plnl4ytR1CRnubtvUSMyVguOCXYITeW5HNuWd8mrS95otXpfBJEil5AQWTY0qqBCBDm1j5fTvf1klCEoovKbHti4qt6tCe4ROCG1NUCN0UoSdgsOFxsonfKn5DeaTRj8BjzbBs7LpKvB8jq4twOdZk51gU6BnQcdAK7p3F/gSTrMpj2b+A2LmAovR9UTEP4n4XREfjPjhiA9H/KuI74745X7QFfGZhAwpbK/Xw7FIxoWIvRexEwF7KmDHA9YDyQKE/WjAdwR8KuNaj48W+f2TUiOZ7gJwFnxb6ZFutBCAx+jC/j7g3krIl75bKXRQaK3Qg0KdSskh++0bOed1cfz7dGyro0lDsVE5zbrUaSnzVVpI5b15Pp99xtCpsh6dC/hEE6EzKHZuht4RT4kfW+Y/Sq5J/YKJ4JrBu8BDguF6RfU+SdiPQnnwHPA28AeNCpsibCzgZ3ItySjdv9i1UxFI0xF7KWKXy7ITGgxmA747YB+mMtEU8j+qbSoThwK+K+Vnda0wXTJVqXB+vbwm+MJgLJeAzk0eKQuCacFBwZlcUmrGXXxulVDl3RfNNYfTwLcpxAWbDTYC68DvyP6aF7pk6EfQWdB50O+tvkP8C8uzPO7HeTXiAAAAAElFTkSuQmCC",onClick:I[9]||(I[9]=S=>yt.value=null)})])):D("",!0)])])])]),h("div",Uo,[h("div",No,[h("span",Fo,[j(g(c(d)("draw.remainingPoints"))+"(",1),h("b",qo,g(f.value),1),j(" "+g(c(d)("draw.points"))+")",1)]),h("span",Yo,[b(c(_),{text:"",size:"tiny",type:"primary",loading:Et.value,onClick:Se},{default:y(()=>[j(g(c(d)("draw.refresh")),1)]),_:1},8,["loading"]),b(c(gt),{placement:"right-end",trigger:"hover"},{trigger:y(()=>[b(c(J),{icon:"ri:error-warning-line",class:"text-base ml-2"})]),default:y(()=>[j(" "+g(c(d)("draw.accountInfo")),1)]),_:1})])]),h("div",Xo,[h("div",Qo,[h("span",Ko,g(c(d)("draw.paintingSingleUse")),1),h("span",Go,g(v.value*4)+g(c(d)("draw.points")),1)]),h("div",Zo,[h("span",$o,g(c(d)("draw.imageGenerationSingleUse")),1),h("span",Jo,g(v.value*4)+g(c(d)("draw.points")),1)]),h("div",Vo,[h("span",ta,g(c(d)("draw.enlargementSingleUse")),1),h("span",ea,g(v.value)+g(c(d)("draw.points")),1)])])])]),h("div",{class:Lt(["h-full flex-1",[c(Q)?"":"overflow-y-auto overflow-hidden"]])},[h("div",ia,[h("div",na,[c(Q)?D("",!0):(x(),C("h3",sa,g(c(d)("draw.professionalDrawing")),1)),h("div",null,[h("div",oa,[h("b",null,g(c(d)("draw.submitDrawingTask")),1),Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",aa,[b(c(he),null,{default:y(()=>[b(c(_),{type:"primary",loading:w.value,onClick:Mi},{icon:y(()=>[b(c(J),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.optimize")),1)]),_:1},8,["loading"])]),_:1})])):D("",!0)]),h("div",ra,[b(c(ue),{value:Z.value,"onUpdate:value":I[10]||(I[10]=S=>Z.value=S),clearable:"",type:"textarea",disabled:p.value||w.value,autosize:{minRows:3,maxRows:6},placeholder:c(d)("draw.enterDrawingKeywords")},null,8,["value","disabled","placeholder"]),Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",la,[h("div",ca,[h("b",null,g(c(d)("draw.unnecessaryElements")),1),b(c(_),{type:"primary",loading:_t.value,onClick:Ci},{icon:y(()=>[b(c(J),{icon:"material-symbols:mindfulness-outline-rounded",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.optimize")),1)]),_:1},8,["loading"])]),b(c(ue),{value:ft.value,"onUpdate:value":I[11]||(I[11]=S=>ft.value=S),type:"textarea",rows:1,placeholder:c(d)("draw.exclusionPrompt")},null,8,["value","placeholder"])])):D("",!0)]),z.value.length?(x(),C("div",{key:0,class:Lt(["w-full dark:bg-transparent",c(Q)?"py-3":"py-6"])},[b(c(Vi),{"x-scrollable":""},{default:y(()=>[h("div",ha,[(x(!0),C(Rt,null,It(z.value,(S,Y)=>(x(),L(c(_),{key:Y,size:"small",onClick:jt=>Di(S)},{default:y(()=>[j(g(S.title),1)]),_:2},1032,["onClick"]))),128))])]),_:1})],2)):D("",!0),h("div",ua,[b(c(_),{type:"primary",loading:!1,disabled:F.value,onClick:I[12]||(I[12]=S=>Ti())},{icon:y(()=>[b(c(J),{icon:"ri:ai-generate",class:"text-base"})]),default:y(()=>[j(" "+g(c(d)("draw.submitTask")),1)]),_:1},8,["disabled"])])])]),h("div",da,[Number(c(o).globalConfig.mjHideNotBlock)!==1?(x(),C("div",ma,[h("div",fa,[h("span",pa,[j(g(c(d)("draw.workingContents"))+" ",1),nt.value?(x(),C("span",ga,g(c(d)("draw.currentTasks"))+" ["+g(nt.value)+"]",1)):D("",!0)])]),te.value.length?D("",!0):(x(),C("div",va,[h("img",{class:"w-18",src:c(sn)},null,8,ba),h("span",wa,[b(c(_),{text:"",size:"small",onClick:Pi},{default:y(()=>[j(g(c(d)("draw.goToAIDrawingSquare")),1)]),_:1})])])),te.value.length?(x(),C("div",ya,[h("div",Aa,[b(Ve,{"text-color":E.value},null,8,["text-color"])]),h("p",xa,g(te.value.length)+g(c(d)("draw.tasksInProgress")),1)])):D("",!0)])):D("",!0),h("div",za,[h("div",Ra,[h("span",Ia,[j(g(c(d)("draw.myDrawings"))+" ",1),h("span",Sa,"["+g(it.value.length)+"]",1)])]),!it.value||!it.value.length?(x(),C("div",Ma,Oa)):D("",!0),it.value&&it.value.length?(x(),C("div",Ea,[h("div",ja,[(x(!0),C(Rt,null,It(it.value,S=>(x(),L(Ls,{key:S.id,"draw-item-info":S,onQueryData:Ht},null,8,["draw-item-info"]))),128))])])):D("",!0)]),h("div",{id:"footer",ref_key:"containerRef",ref:e},null,512)])])],2)])]))}});export{Wa as default}; diff --git a/public/assets/index-da1c3968.css b/public/chat/assets/index-da1c3968.css similarity index 100% rename from public/assets/index-da1c3968.css rename to public/chat/assets/index-da1c3968.css diff --git a/public/chat/assets/index-e6972cc3.js b/public/chat/assets/index-e6972cc3.js new file mode 100644 index 0000000..779b434 --- /dev/null +++ b/public/chat/assets/index-e6972cc3.js @@ -0,0 +1 @@ +import{x as k,u as E,q as b,a1 as B,a2 as S}from"./index-a70ad6b3.js";import{d as I,r as C,e as r,w as L,f as D,o as F,U as f,a5 as h,a3 as c,a8 as M,S as g,ah as U}from"./vue-cf46d111.js";import"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";const W={class:"w-full h-full relative"},A={class:"loading"},N=U('',7),T=[N],V=["src"],R=I({__name:"index",setup(G){const _=k(),l=E(),n=C(!1),i=r(()=>l.iframeUrl),o=b(),u=r(()=>o.theme==="dark");function v(){const e=document.getElementById("iframe");e!=null&&e.addEventListener||e==null||e.attachEvent("onload",d),e==null||e.addEventListener("load",d,!0)}const m=r(()=>o.theme);L(m,e=>{s({type:"theme",data:e})}),D(()=>{if(!i.value)return _.replace("/");n.value=!0,v(),window.addEventListener("message",p)});async function p(e){const{type:t,data:a}=e.data;t==="theme"&&o.setTheme(a==="dark"?"dark":"light"),t==="chat"&&w(a)}function w(e){B({prompt:e}).then(t=>{const{code:a,data:y}=t;a===200&&s({type:"chat",data:x(y)})})}function x(e){const t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;return e.replace(t,"")}function s(e){document.getElementById("iframe").contentWindow.postMessage(e,"*")}function d(){s({type:"theme",data:m.value});const e=S();e&&s({type:"token",data:e}),n.value=!1}return F(()=>{l.updateIframeUrl("");const e=document.getElementById("iframe");e==null||e.removeEventListener("load",d),window.removeEventListener("message",p)}),(e,t)=>(g(),f("div",W,[n.value?(g(),f("div",{key:0,class:h(["main-container absolute left-0 right-0 bottom-0 top-0 backdrop-blur",[u.value?"dark:bg-black/20":"bg-white/80"]])},[c("div",A,[c("div",{class:h(["loading-text ",u.value?"text-[#fff]":"text-[#000]"]),id:"loading-text"},T,2)])],2)):M("",!0),c("iframe",{id:"iframe",src:i.value,style:{width:"100%",height:"100%",border:"none"},allow:"fullscreen"},null,8,V)]))}});export{R as default}; diff --git a/public/assets/index-e70b4848.css b/public/chat/assets/index-e70b4848.css similarity index 100% rename from public/assets/index-e70b4848.css rename to public/chat/assets/index-e70b4848.css diff --git a/public/assets/chatStore-f68b3e01.css b/public/chat/assets/index-f68b3e01.css similarity index 100% rename from public/assets/chatStore-f68b3e01.css rename to public/chat/assets/index-f68b3e01.css diff --git a/public/assets/index-7b15fb79.js b/public/chat/assets/index-fb18c7e1.js similarity index 80% rename from public/assets/index-7b15fb79.js rename to public/chat/assets/index-fb18c7e1.js index 74d4b61..61a64e7 100644 --- a/public/assets/index-7b15fb79.js +++ b/public/chat/assets/index-fb18c7e1.js @@ -1 +1 @@ -import{f as U}from"./crami-99ee44eb.js";import{f as F}from"./order-8be5c617.js";import{_ as X}from"./titleBar.vue_vue_type_script_setup_true_lang-a53d5875.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang-f425914e.js";import{a as K,u as Z,t as o}from"./index-d64a7cc4.js";import{u as ee}from"./useBasicLayout-a4f17bae.js";import{d as ae,e as d,r as w,f as te,U as c,X as r,M as e,a8 as M,a3 as a,W as k,H as P,F as B,a6 as j,a5 as m,S as f,a4 as l,c as se}from"./vue-10b4afc0.js";import{e as oe,Y as le,X as W,v,B as E}from"./naive-ui-fedd20b1.js";import"./vueuse-motion-d4cdaf7b.js";const ne={class:"main min-h-screen bg-center h-full flex flex-col overflow-hidden bg-white dark:bg-gray-900"},re={key:0,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},ie=["onClick"],de={class:"w-full rounded-t-xl overflow-hidden border dark:border-[#ffffff17] relative",style:{height:"40%"}},ce=["src"],fe={class:"absolute left-1/2 bottom-0 transform -translate-x-1/2 -translate-y-1/2 text-lg text-[#fff] ]"},ue={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-hidden relative"},pe={class:"absolute bottom-1 right-2 font-semibold text-red-500 italic"},ye={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},ge={key:0,class:"flex justify-between"},me={key:1,class:"flex justify-between"},he={key:2,class:"flex justify-between"},xe={class:"px-4 flex-1 flex items-center justify-between"},ve={class:"flex items-end"},_e={class:"ml-2 text-[#3076fd] text-lg"},be=a("div",{class:"line"},null,-1),we={key:1,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},ke={class:"w-full rounded-t-xl overflow-hidden",style:{height:"40%"}},Ne={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-ellipsis"},Se={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},Ce={class:"px-4 flex-1 flex items-center justify-between"},Je=ae({__name:"index",setup(Me){const i=K(),{isMobile:y}=ee(),_=oe(),h=Z(),T=d(()=>{var n;const t=window.navigator.userAgent.toLowerCase();return t.match(/MicroMessenger/i)&&((n=t==null?void 0:t.match(/MicroMessenger/i))==null?void 0:n[0])==="micromessenger"}),u=d(()=>{const{payHupiStatus:t,payEpayStatus:n,payMpayStatus:s,payWechatStatus:p,payLtzfStatus:b}=i.globalConfig;return Number(p)===1?"wechat":Number(s)===1?"mpay":Number(t)===1?"hupi":Number(n)===1?"epay":Number(b)===1?"ltzf":null}),D=d(()=>i.globalConfig.model3Name||o("pay.baseModelQuota")),H=d(()=>i.globalConfig.model4Name)||o("pay.advancedModelQuota"),I=d(()=>i.globalConfig.drawMjName)||o("pay.MJDrawingQuota"),J=d(()=>Number(i.globalConfig.isHideModel3Point)===1),L=d(()=>Number(i.globalConfig.isHideModel4Point)===1),z=d(()=>Number(i.globalConfig.isHideDrawMjPoint)===1),G=d(()=>{const{payEpayChannel:t,payMpayChannel:n}=i.globalConfig;return u.value==="wechat"?["wxpay"]:u.value==="epay"?t?JSON.parse(t):[]:u.value==="mpay"?n?JSON.parse(n):[]:u.value==="hupi"?["wxpay"]:u.value==="ltzf"?["wxpay"]:[]}),N=w([]),S=w(1),g=w(!1);async function C(){try{g.value=!0;const t=await U({status:1,type:S.value,size:30});N.value=t.data.rows,g.value=!1}catch{g.value=!1}}const O=d(()=>y.value?o("pay.welcomeTipMobile"):o("pay.welcomeTipDesktop"));function A(t){S.value=t,C()}async function R(t){G.value.length||_.warning(o("pay.paymentNotEnabled")),V(t)}async function V(t){if(T.value&&u.value==="wechat"&&Number(i.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",x,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",x),document.attachEvent("onWeixinJSBridgeReady",x));else{const n=await F({goodsId:t.id,payType:"jsapi"}),{success:s,data:p}=n;s&&x(p)}return}h.updateOrderInfo({pkgInfo:t}),h.updateGoodsDialog(!1),h.updatePayDialog(!0)}function x(t){const{appId:n,timeStamp:s,nonceStr:p,package:b,signType:$,paySign:q}=t;n&&WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:n,timeStamp:s,nonceStr:p,package:b,signType:$,paySign:q},Q=>{Q.err_msg==="get_brand_wcpay_request:ok"?(_.success(o("pay.purchaseSuccess")),setTimeout(()=>{i.getUserInfo(),h.updateGoodsDialog(!1)},500)):_.warning(o("pay.paymentNotComplete"))})}return te(()=>{C()}),(t,n)=>(f(),c("div",ne,[r(e(X),{title:e(o)("pay.membershipMarket"),des:O.value,class:M([e(y)?"px-3":"px-24"])},null,8,["title","des","class"]),a("div",{class:"flex justify-center items-center",style:P({height:e(y)?"60px":"180px"})},[r(e(le),{type:"segment",style:P({width:e(y)?"90%":"400px"}),"onUpdate:value":A},{default:k(()=>[r(e(W),{name:1,tab:e(o)("pay.memberPackage")},null,8,["tab"]),r(e(W),{name:-1,tab:e(o)("pay.permanentAddOnCard")},null,8,["tab"])]),_:1},8,["style"])],4),a("div",{class:M(["flex-1 pb-10 overflow-y-auto",[e(y)?"px-3":"px-28"]])},[g.value?m("",!0):(f(),c("div",re,[(f(!0),c(B,null,j(N.value,s=>(f(),c("div",{key:s.id,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col",onClick:p=>R(s)},[a("div",de,[a("img",{src:s.coverImg,class:"object-cover w-full h-full cover",alt:""},null,8,ce),a("div",fe,l(s.name),1)]),a("div",ue,[se(l(s.des)+" ",1),a("span",pe,"¥"+l(s.price),1)]),a("div",ye,[J.value?m("",!0):(f(),c("div",ge,[a("span",null,l(D.value),1),a("span",null,l(s.model3Count||0)+" "+l(e(o)("pay.points")),1)])),L.value?m("",!0):(f(),c("div",me,[a("span",null,l(e(H)),1),a("span",null,l(s.model4Count||0)+" "+l(e(o)("pay.points")),1)])),z.value?m("",!0):(f(),c("div",he,[a("span",null,l(e(I)),1),a("span",null,l(s.drawMjCount||0)+" "+l(e(o)("pay.points")),1)]))]),a("div",xe,[a("div",ve,[a("span",null,l(e(o)("pay.packageValidity")),1),a("span",_e,l(s.days>0?`${s.days} ${e(o)("pay.days")}`:e(o)("pay.permanent")),1)]),be,a("div",null,[r(e(Y),{class:"text-lg right-icon",icon:"bi:arrow-right"})])])],8,ie))),128))])),g.value?(f(),c("div",we,[(f(),c(B,null,j(4,s=>a("div",{key:s,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col"},[a("div",ke,[r(e(v),{height:"100%",width:"100%"})]),a("div",Ne,[r(e(E),{vertical:""},{default:k(()=>[r(e(v),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),a("div",Se,[r(e(E),{vertical:""},{default:k(()=>[r(e(v),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),a("div",Ce,[r(e(v),{text:"",repeat:1,width:"100%",sharp:!1})])])),64))])):m("",!0)],2)]))}});export{Je as default}; +import{f as U}from"./crami-4d5edf1c.js";import{f as F}from"./order-54d4bdde.js";import{_ as X}from"./titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang-1cfab100.js";import{a as Z,u as K,t as o}from"./index-a70ad6b3.js";import{u as ee}from"./useBasicLayout-8e07f8d7.js";import{d as ae,e as d,r as w,f as te,U as c,X as r,M as e,a5 as M,a3 as a,W as k,H as P,F as j,a7 as B,a8 as m,S as f,a4 as l,c as se}from"./vue-cf46d111.js";import{e as oe,Z as le,Y as W,v,A as E}from"./naive-ui-074da7ca.js";import"./vueuse-motion-d8fe070a.js";const ne={class:"main min-h-screen bg-center h-full flex flex-col overflow-hidden bg-white dark:bg-gray-900"},re={key:0,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},ie=["onClick"],de={class:"w-full rounded-t-xl overflow-hidden border dark:border-[#ffffff17] relative",style:{height:"40%"}},ce=["src"],fe={class:"absolute left-1/2 bottom-0 transform -translate-x-1/2 -translate-y-1/2 text-lg text-[#fff] ]"},ue={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-hidden relative"},pe={class:"absolute bottom-1 right-2 font-semibold text-red-500 italic"},ye={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},ge={key:0,class:"flex justify-between"},me={key:1,class:"flex justify-between"},he={key:2,class:"flex justify-between"},xe={class:"px-4 flex-1 flex items-center justify-between"},ve={class:"flex items-end"},_e={class:"ml-2 text-[#3076fd] text-lg"},be=a("div",{class:"line"},null,-1),we={key:1,class:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4 gap-x-6 gap-y-10 px-4"},ke={class:"w-full rounded-t-xl overflow-hidden",style:{height:"40%"}},Ne={class:"p-5 text-lg h-[160px] border-b dark:border-[#ffffff17] overflow-ellipsis"},Se={class:"flex p-4 border-b dark:border-[#ffffff17] flex-col space-y-4"},Ce={class:"px-4 flex-1 flex items-center justify-between"},Je=ae({__name:"index",setup(Me){const i=Z(),{isMobile:y}=ee(),_=oe(),h=K(),T=d(()=>{var n;const t=window.navigator.userAgent.toLowerCase();return t.match(/MicroMessenger/i)&&((n=t==null?void 0:t.match(/MicroMessenger/i))==null?void 0:n[0])==="micromessenger"}),u=d(()=>{const{payHupiStatus:t,payEpayStatus:n,payMpayStatus:s,payWechatStatus:p,payLtzfStatus:b}=i.globalConfig;return Number(p)===1?"wechat":Number(s)===1?"mpay":Number(t)===1?"hupi":Number(n)===1?"epay":Number(b)===1?"ltzf":null}),D=d(()=>i.globalConfig.model3Name||o("pay.baseModelQuota")),H=d(()=>i.globalConfig.model4Name)||o("pay.advancedModelQuota"),I=d(()=>i.globalConfig.drawMjName)||o("pay.MJDrawingQuota"),J=d(()=>Number(i.globalConfig.isHideModel3Point)===1),L=d(()=>Number(i.globalConfig.isHideModel4Point)===1),z=d(()=>Number(i.globalConfig.isHideDrawMjPoint)===1),A=d(()=>{const{payEpayChannel:t,payMpayChannel:n}=i.globalConfig;return u.value==="wechat"?["wxpay"]:u.value==="epay"?t?JSON.parse(t):[]:u.value==="mpay"?n?JSON.parse(n):[]:u.value==="hupi"?["wxpay"]:u.value==="ltzf"?["wxpay"]:[]}),N=w([]),S=w(1),g=w(!1);async function C(){try{g.value=!0;const t=await U({status:1,type:S.value,size:30});N.value=t.data.rows,g.value=!1}catch{g.value=!1}}const G=d(()=>y.value?o("pay.welcomeTipMobile"):o("pay.welcomeTipDesktop"));function O(t){S.value=t,C()}async function R(t){A.value.length||_.warning(o("pay.paymentNotEnabled")),V(t)}async function V(t){if(T.value&&u.value==="wechat"&&Number(i.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",x,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",x),document.attachEvent("onWeixinJSBridgeReady",x));else{const n=await F({goodsId:t.id,payType:"jsapi"}),{success:s,data:p}=n;s&&x(p)}return}h.updateOrderInfo({pkgInfo:t}),h.updateGoodsDialog(!1),h.updatePayDialog(!0)}function x(t){const{appId:n,timeStamp:s,nonceStr:p,package:b,signType:$,paySign:q}=t;n&&WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:n,timeStamp:s,nonceStr:p,package:b,signType:$,paySign:q},Q=>{Q.err_msg==="get_brand_wcpay_request:ok"?(_.success(o("pay.purchaseSuccess")),setTimeout(()=>{i.getUserInfo(),h.updateGoodsDialog(!1)},500)):_.warning(o("pay.paymentNotComplete"))})}return te(()=>{C()}),(t,n)=>(f(),c("div",ne,[r(e(X),{title:e(o)("pay.membershipMarket"),des:G.value,class:M([e(y)?"px-3":"px-24"])},null,8,["title","des","class"]),a("div",{class:"flex justify-center items-center",style:P({height:e(y)?"60px":"180px"})},[r(e(le),{type:"segment",style:P({width:e(y)?"90%":"400px"}),"onUpdate:value":O},{default:k(()=>[r(e(W),{name:1,tab:e(o)("pay.memberPackage")},null,8,["tab"]),r(e(W),{name:-1,tab:e(o)("pay.permanentAddOnCard")},null,8,["tab"])]),_:1},8,["style"])],4),a("div",{class:M(["flex-1 pb-10 overflow-y-auto",[e(y)?"px-3":"px-28"]])},[g.value?m("",!0):(f(),c("div",re,[(f(!0),c(j,null,B(N.value,s=>(f(),c("div",{key:s.id,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col",onClick:p=>R(s)},[a("div",de,[a("img",{src:s.coverImg,class:"object-cover w-full h-full cover",alt:""},null,8,ce),a("div",fe,l(s.name),1)]),a("div",ue,[se(l(s.des)+" ",1),a("span",pe,"¥"+l(s.price),1)]),a("div",ye,[J.value?m("",!0):(f(),c("div",ge,[a("span",null,l(D.value),1),a("span",null,l(s.model3Count||0)+" "+l(e(o)("pay.points")),1)])),L.value?m("",!0):(f(),c("div",me,[a("span",null,l(e(H)),1),a("span",null,l(s.model4Count||0)+" "+l(e(o)("pay.points")),1)])),z.value?m("",!0):(f(),c("div",he,[a("span",null,l(e(I)),1),a("span",null,l(s.drawMjCount||0)+" "+l(e(o)("pay.points")),1)]))]),a("div",xe,[a("div",ve,[a("span",null,l(e(o)("pay.packageValidity")),1),a("span",_e,l(s.days>0?`${s.days} ${e(o)("pay.days")}`:e(o)("pay.permanent")),1)]),be,a("div",null,[r(e(Y),{class:"text-lg right-icon",icon:"bi:arrow-right"})])])],8,ie))),128))])),g.value?(f(),c("div",we,[(f(),c(j,null,B(4,s=>a("div",{key:s,class:"border dark:border-[#ffffff17] h-[580px] rounded-xl card-item flex flex-col"},[a("div",ke,[r(e(v),{height:"100%",width:"100%"})]),a("div",Ne,[r(e(E),{vertical:""},{default:k(()=>[r(e(v),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),a("div",Se,[r(e(E),{vertical:""},{default:k(()=>[r(e(v),{text:"",repeat:4,width:"100%",sharp:!1})]),_:1})]),a("div",Ce,[r(e(v),{text:"",repeat:1,width:"100%",sharp:!1})])])),64))])):m("",!0)],2)]))}});export{Je as default}; diff --git a/public/assets/index-fed7b4ac.css b/public/chat/assets/index-fed7b4ac.css similarity index 100% rename from public/assets/index-fed7b4ac.css rename to public/chat/assets/index-fed7b4ac.css diff --git a/public/chat/assets/index.vue_vue_type_script_setup_true_lang-1cfab100.js b/public/chat/assets/index.vue_vue_type_script_setup_true_lang-1cfab100.js new file mode 100644 index 0000000..016a1ff --- /dev/null +++ b/public/chat/assets/index.vue_vue_type_script_setup_true_lang-1cfab100.js @@ -0,0 +1 @@ +import{a0 as t}from"./index-a70ad6b3.js";import{d as n,ag as a,e as r,V as c,u as i,M as p,S as m}from"./vue-cf46d111.js";const f=n({__name:"index",props:{icon:{}},setup(l){const s=a(),e=r(()=>({class:s.class||"",style:s.style||"width: 1em, height: 1em"}));return(o,u)=>(m(),c(p(t),i({icon:o.icon},e.value),null,16,["icon"]))}});export{f as _}; diff --git a/public/icon/apple-touch-icon.png b/public/chat/assets/logo-89dd0dfe.png similarity index 100% rename from public/icon/apple-touch-icon.png rename to public/chat/assets/logo-89dd0dfe.png diff --git a/public/assets/market-f1234219.png b/public/chat/assets/market-f1234219.png similarity index 100% rename from public/assets/market-f1234219.png rename to public/chat/assets/market-f1234219.png diff --git a/public/chat/assets/menu-1a8ade33.js b/public/chat/assets/menu-1a8ade33.js new file mode 100644 index 0000000..17ceed0 --- /dev/null +++ b/public/chat/assets/menu-1a8ade33.js @@ -0,0 +1,4 @@ +import{I as j}from"./index-08cceacb.js";import{X as c,a as R,n as I,y as E,r as L,e as M,f as q,B as re,l as ie,F as ae,p as X,d as P,G as ue}from"./vue-cf46d111.js";const Ve=j("announcement",!0,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("rect",{x:"4",y:"15",width:"40",height:"26",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M24 7L16 15H32L24 7Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M12 24H30",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M12 32H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ze=j("calendar",!1,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("path",{d:"M5 19H43V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V19Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M5 9C5 7.89543 5.89543 7 7 7H41C42.1046 7 43 7.89543 43 9V19H5V9Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M16 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M32 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M28 34H34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M14 34H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M28 26H34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M14 26H20",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_e=j("check-one",!0,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ke=j("close",!1,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ge=j("commodity",!1,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("path",{d:"M9.78101 9.75193C9.90612 8.75107 10.7569 8 11.7656 8H36.2344C37.2431 8 38.0939 8.75107 38.219 9.75193L41.719 37.7519C41.8682 38.9456 40.9374 40 39.7344 40H8.26556C7.06257 40 6.1318 38.9456 6.28101 37.7519L9.78101 9.75193Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M15 18C15 18 17 22 24 22C31 22 33 18 33 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),qe=j("delete-themes",!0,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 15H40L37 44H11L8 15Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M20.002 25.0024V35.0026",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),c("path",{d:"M28.0024 24.9995V34.9972",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),c("path",{d:"M12 14.9999L28.3242 3L36 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xe=j("logout",!0,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qe=j("sun-one",!1,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("path",{d:"M24 37C31.1797 37 37 31.1797 37 24C37 16.8203 31.1797 11 24 11C16.8203 11 11 16.8203 11 24C11 31.1797 16.8203 37 24 37Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M24 6C25.3807 6 26.5 4.88071 26.5 3.5C26.5 2.11929 25.3807 1 24 1C22.6193 1 21.5 2.11929 21.5 3.5C21.5 4.88071 22.6193 6 24 6Z",fill:e.colors[0]},null),c("path",{d:"M38.5 12C39.8807 12 41 10.8807 41 9.5C41 8.11929 39.8807 7 38.5 7C37.1193 7 36 8.11929 36 9.5C36 10.8807 37.1193 12 38.5 12Z",fill:e.colors[0]},null),c("path",{d:"M44.5 26.5C45.8807 26.5 47 25.3807 47 24C47 22.6193 45.8807 21.5 44.5 21.5C43.1193 21.5 42 22.6193 42 24C42 25.3807 43.1193 26.5 44.5 26.5Z",fill:e.colors[0]},null),c("path",{d:"M38.5 41C39.8807 41 41 39.8807 41 38.5C41 37.1193 39.8807 36 38.5 36C37.1193 36 36 37.1193 36 38.5C36 39.8807 37.1193 41 38.5 41Z",fill:e.colors[0]},null),c("path",{d:"M24 47C25.3807 47 26.5 45.8807 26.5 44.5C26.5 43.1193 25.3807 42 24 42C22.6193 42 21.5 43.1193 21.5 44.5C21.5 45.8807 22.6193 47 24 47Z",fill:e.colors[0]},null),c("path",{d:"M9.5 41C10.8807 41 12 39.8807 12 38.5C12 37.1193 10.8807 36 9.5 36C8.11929 36 7 37.1193 7 38.5C7 39.8807 8.11929 41 9.5 41Z",fill:e.colors[0]},null),c("path",{d:"M3.5 26.5C4.88071 26.5 6 25.3807 6 24C6 22.6193 4.88071 21.5 3.5 21.5C2.11929 21.5 1 22.6193 1 24C1 25.3807 2.11929 26.5 3.5 26.5Z",fill:e.colors[0]},null),c("path",{d:"M9.5 12C10.8807 12 12 10.8807 12 9.5C12 8.11929 10.8807 7 9.5 7C8.11929 7 7 8.11929 7 9.5C7 10.8807 8.11929 12 9.5 12Z",fill:e.colors[0]},null)])}),Ye=j("user",!1,function(e){return c("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[c("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),c("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])});let se=Symbol("headlessui.useid"),ce=0;function W(){return R(se,()=>`${++ce}`)()}function w(e){var t;if(e==null||e.value==null)return null;let l=(t=e.value.$el)!=null?t:e.value;return l instanceof Node?l:null}function O(e,t,...l){if(e in t){let a=t[e];return typeof a=="function"?a(...l):a}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,O),r}var de=Object.defineProperty,fe=(e,t,l)=>t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,V=(e,t,l)=>(fe(e,typeof t!="symbol"?t+"":t,l),l);let ve=class{constructor(){V(this,"current",this.detect()),V(this,"currentId",0)}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},H=new ve;function B(e){if(H.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=w(e);if(t)return t.ownerDocument}return document}let A=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var $=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))($||{}),he=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(he||{}),ke=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ke||{});function Q(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(A)).sort((t,l)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(l.tabIndex||Number.MAX_SAFE_INTEGER)))}var z=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(z||{});function U(e,t=0){var l;return e===((l=B(e))==null?void 0:l.body)?!1:O(t,{0(){return e.matches(A)},1(){let r=e;for(;r!==null;){if(r.matches(A))return!0;r=r.parentElement}return!1}})}function Y(e){let t=B(e);I(()=>{t&&!U(t.activeElement,0)&&ge(e)})}var me=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(me||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function ge(e){e==null||e.focus({preventScroll:!0})}let we=["textarea","input"].join(",");function be(e){var t,l;return(l=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,we))!=null?l:!1}function J(e,t=l=>l){return e.slice().sort((l,r)=>{let a=t(l),o=t(r);if(a===null||o===null)return 0;let n=a.compareDocumentPosition(o);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ye(e,t){return Le(Q(),t,{relativeTo:e})}function Le(e,t,{sorted:l=!0,relativeTo:r=null,skipElements:a=[]}={}){var o;let n=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?o:document,u=Array.isArray(e)?l?J(e):e:Q(e);a.length>0&&u.length>1&&(u=u.filter(s=>!a.includes(s))),r=r??n.activeElement;let v=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),k=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,u.indexOf(r))-1;if(t&4)return Math.max(0,u.indexOf(r))+1;if(t&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=t&32?{preventScroll:!0}:{},h=0,i=u.length,d;do{if(h>=i||h+i<=0)return 0;let s=k+h;if(t&16)s=(s+i)%i;else{if(s<0)return 3;if(s>=i)return 1}d=u[s],d==null||d.focus(m),h+=v}while(d!==n.activeElement);return t&6&&be(d)&&d.select(),2}function Ce(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Me(){return/Android/gi.test(window.navigator.userAgent)}function je(){return Ce()||Me()}function p(e,t,l){H.isServer||E(r=>{document.addEventListener(e,t,l),r(()=>document.removeEventListener(e,t,l))})}function Ie(e,t,l){H.isServer||E(r=>{window.addEventListener(e,t,l),r(()=>window.removeEventListener(e,t,l))})}function Se(e,t,l=M(()=>!0)){function r(o,n){if(!l.value||o.defaultPrevented)return;let u=n(o);if(u===null||!u.getRootNode().contains(u))return;let v=function k(m){return typeof m=="function"?k(m()):Array.isArray(m)||m instanceof Set?m:[m]}(e);for(let k of v){if(k===null)continue;let m=k instanceof HTMLElement?k:w(k);if(m!=null&&m.contains(u)||o.composed&&o.composedPath().includes(m))return}return!U(u,z.Loose)&&u.tabIndex!==-1&&o.preventDefault(),t(o,u)}let a=L(null);p("pointerdown",o=>{var n,u;l.value&&(a.value=((u=(n=o.composedPath)==null?void 0:n.call(o))==null?void 0:u[0])||o.target)},!0),p("mousedown",o=>{var n,u;l.value&&(a.value=((u=(n=o.composedPath)==null?void 0:n.call(o))==null?void 0:u[0])||o.target)},!0),p("click",o=>{je()||a.value&&(r(o,()=>a.value),a.value=null)},!0),p("touchend",o=>r(o,()=>o.target instanceof HTMLElement?o.target:null),!0),Ie("blur",o=>r(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Z(e,t){if(e)return e;let l=t??"button";if(typeof l=="string"&&l.toLowerCase()==="button")return"button"}function Ee(e,t){let l=L(Z(e.value.type,e.value.as));return q(()=>{l.value=Z(e.value.type,e.value.as)}),E(()=>{var r;l.value||w(t)&&w(t)instanceof HTMLButtonElement&&!((r=w(t))!=null&&r.hasAttribute("type"))&&(l.value="button")}),l}function _(e){return[e.screenX,e.screenY]}function xe(){let e=L([-1,-1]);return{wasMoved(t){let l=_(t);return e.value[0]===l[0]&&e.value[1]===l[1]?!1:(e.value=l,!0)},update(t){e.value=_(t)}}}function pe({container:e,accept:t,walk:l,enabled:r}){E(()=>{let a=e.value;if(!a||r!==void 0&&!r.value)return;let o=B(e);if(!o)return;let n=Object.assign(v=>t(v),{acceptNode:t}),u=o.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,n,!1);for(;u.nextNode();)l(u.currentNode)})}var N=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(N||{}),Pe=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Pe||{});function D({visible:e=!0,features:t=0,ourProps:l,theirProps:r,...a}){var o;let n=te(r,l),u=Object.assign(a,{props:n});if(e||t&2&&n.static)return F(u);if(t&1){let v=(o=n.unmount)==null||o?0:1;return O(v,{0(){return null},1(){return F({...a,props:{...n,hidden:!0,style:{display:"none"}}})}})}return F(u)}function F({props:e,attrs:t,slots:l,slot:r,name:a}){var o,n;let{as:u,...v}=Oe(e,["unmount","static"]),k=(o=l.default)==null?void 0:o.call(l,r),m={};if(r){let h=!1,i=[];for(let[d,s]of Object.entries(r))typeof s=="boolean"&&(h=!0),s===!0&&i.push(d);h&&(m["data-headlessui-state"]=i.join(" "))}if(u==="template"){if(k=ee(k??[]),Object.keys(v).length>0||Object.keys(t).length>0){let[h,...i]=k??[];if(!De(h)||i.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(v).concat(Object.keys(t)).map(f=>f.trim()).filter((f,b,g)=>g.indexOf(f)===b).sort((f,b)=>f.localeCompare(b)).map(f=>` - ${f}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(f=>` - ${f}`).join(` +`)].join(` +`));let d=te((n=h.props)!=null?n:{},v,m),s=re(h,d,!0);for(let f in d)f.startsWith("on")&&(s.props||(s.props={}),s.props[f]=d[f]);return s}return Array.isArray(k)&&k.length===1?k[0]:k}return ie(u,Object.assign({},v,m),{default:()=>k})}function ee(e){return e.flatMap(t=>t.type===ae?ee(t.children):[t])}function te(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},l={};for(let r of e)for(let a in r)a.startsWith("on")&&typeof r[a]=="function"?(l[a]!=null||(l[a]=[]),l[a].push(r[a])):t[a]=r[a];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(l).map(r=>[r,void 0])));for(let r in l)Object.assign(t,{[r](a,...o){let n=l[r];for(let u of n){if(a instanceof Event&&a.defaultPrevented)return;u(a,...o)}}});return t}function et(e){let t=Object.assign({},e);for(let l in t)t[l]===void 0&&delete t[l];return t}function Oe(e,t=[]){let l=Object.assign({},e);for(let r of t)r in l&&delete l[r];return l}function De(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let ne=Symbol("Context");var S=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(S||{});function Te(){return R(ne,null)}function Fe(e){X(ne,e)}var y=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(y||{});function Ae(e){throw new Error("Unexpected object: "+e)}var C=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(C||{});function $e(e,t){let l=t.resolveItems();if(l.length<=0)return null;let r=t.resolveActiveIndex(),a=r??-1;switch(e.focus){case 0:{for(let o=0;o=0;--o)if(!t.resolveDisabled(l[o],o,l))return o;return r}case 2:{for(let o=a+1;o=0;--o)if(!t.resolveDisabled(l[o],o,l))return o;return r}case 4:{for(let o=0;o{let o=document.getElementById(a);if(o){let n=o.getAttribute("aria-label");return typeof n=="string"?n.trim():G(o).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return G(e).trim()}function Re(e){let t=L(""),l=L("");return()=>{let r=w(e);if(!r)return"";let a=r.innerText;if(t.value===a)return l.value;let o=Ne(r).trim().toLowerCase();return t.value=a,l.value=o,o}}var We=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(We||{}),He=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(He||{});function Be(e){requestAnimationFrame(()=>requestAnimationFrame(e))}let le=Symbol("MenuContext");function T(e){let t=R(le,null);if(t===null){let l=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(l,T),l}return t}let tt=P({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:l}){let r=L(1),a=L(null),o=L(null),n=L([]),u=L(""),v=L(null),k=L(1);function m(i=d=>d){let d=v.value!==null?n.value[v.value]:null,s=J(i(n.value.slice()),b=>w(b.dataRef.domRef)),f=d?s.indexOf(d):null;return f===-1&&(f=null),{items:s,activeItemIndex:f}}let h={menuState:r,buttonRef:a,itemsRef:o,items:n,searchQuery:u,activeItemIndex:v,activationTrigger:k,closeMenu:()=>{r.value=1,v.value=null},openMenu:()=>r.value=0,goToItem(i,d,s){let f=m(),b=$e(i===C.Specific?{focus:C.Specific,id:d}:{focus:i},{resolveItems:()=>f.items,resolveActiveIndex:()=>f.activeItemIndex,resolveId:g=>g.id,resolveDisabled:g=>g.dataRef.disabled});u.value="",v.value=b,k.value=s??1,n.value=f.items},search(i){let d=u.value!==""?0:1;u.value+=i.toLowerCase();let s=(v.value!==null?n.value.slice(v.value+d).concat(n.value.slice(0,v.value+d)):n.value).find(b=>b.dataRef.textValue.startsWith(u.value)&&!b.dataRef.disabled),f=s?n.value.indexOf(s):-1;f===-1||f===v.value||(v.value=f,k.value=1)},clearSearch(){u.value=""},registerItem(i,d){let s=m(f=>[...f,{id:i,dataRef:d}]);n.value=s.items,v.value=s.activeItemIndex,k.value=1},unregisterItem(i){let d=m(s=>{let f=s.findIndex(b=>b.id===i);return f!==-1&&s.splice(f,1),s});n.value=d.items,v.value=d.activeItemIndex,k.value=1}};return Se([a,o],(i,d)=>{var s;h.closeMenu(),U(d,z.Loose)||(i.preventDefault(),(s=w(a))==null||s.focus())},M(()=>r.value===0)),X(le,h),Fe(M(()=>O(r.value,{0:S.Open,1:S.Closed}))),()=>{let i={open:r.value===0,close:h.closeMenu};return D({ourProps:{},theirProps:e,slot:i,slots:t,attrs:l,name:"Menu"})}}}),nt=P({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:l,expose:r}){var a;let o=(a=e.id)!=null?a:`headlessui-menu-button-${W()}`,n=T("MenuButton");r({el:n.buttonRef,$el:n.buttonRef});function u(h){switch(h.key){case y.Space:case y.Enter:case y.ArrowDown:h.preventDefault(),h.stopPropagation(),n.openMenu(),I(()=>{var i;(i=w(n.itemsRef))==null||i.focus({preventScroll:!0}),n.goToItem(C.First)});break;case y.ArrowUp:h.preventDefault(),h.stopPropagation(),n.openMenu(),I(()=>{var i;(i=w(n.itemsRef))==null||i.focus({preventScroll:!0}),n.goToItem(C.Last)});break}}function v(h){switch(h.key){case y.Space:h.preventDefault();break}}function k(h){e.disabled||(n.menuState.value===0?(n.closeMenu(),I(()=>{var i;return(i=w(n.buttonRef))==null?void 0:i.focus({preventScroll:!0})})):(h.preventDefault(),n.openMenu(),Be(()=>{var i;return(i=w(n.itemsRef))==null?void 0:i.focus({preventScroll:!0})})))}let m=Ee(M(()=>({as:e.as,type:t.type})),n.buttonRef);return()=>{var h;let i={open:n.menuState.value===0},{...d}=e,s={ref:n.buttonRef,id:o,type:m.value,"aria-haspopup":"menu","aria-controls":(h=w(n.itemsRef))==null?void 0:h.id,"aria-expanded":n.menuState.value===0,onKeydown:u,onKeyup:v,onClick:k};return D({ourProps:s,theirProps:d,slot:i,attrs:t,slots:l,name:"MenuButton"})}}}),lt=P({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:l,expose:r}){var a;let o=(a=e.id)!=null?a:`headlessui-menu-items-${W()}`,n=T("MenuItems"),u=L(null);r({el:n.itemsRef,$el:n.itemsRef}),pe({container:M(()=>w(n.itemsRef)),enabled:M(()=>n.menuState.value===0),accept(i){return i.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:i.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(i){i.setAttribute("role","none")}});function v(i){var d;switch(u.value&&clearTimeout(u.value),i.key){case y.Space:if(n.searchQuery.value!=="")return i.preventDefault(),i.stopPropagation(),n.search(i.key);case y.Enter:if(i.preventDefault(),i.stopPropagation(),n.activeItemIndex.value!==null){let s=n.items.value[n.activeItemIndex.value];(d=w(s.dataRef.domRef))==null||d.click()}n.closeMenu(),Y(w(n.buttonRef));break;case y.ArrowDown:return i.preventDefault(),i.stopPropagation(),n.goToItem(C.Next);case y.ArrowUp:return i.preventDefault(),i.stopPropagation(),n.goToItem(C.Previous);case y.Home:case y.PageUp:return i.preventDefault(),i.stopPropagation(),n.goToItem(C.First);case y.End:case y.PageDown:return i.preventDefault(),i.stopPropagation(),n.goToItem(C.Last);case y.Escape:i.preventDefault(),i.stopPropagation(),n.closeMenu(),I(()=>{var s;return(s=w(n.buttonRef))==null?void 0:s.focus({preventScroll:!0})});break;case y.Tab:i.preventDefault(),i.stopPropagation(),n.closeMenu(),I(()=>ye(w(n.buttonRef),i.shiftKey?$.Previous:$.Next));break;default:i.key.length===1&&(n.search(i.key),u.value=setTimeout(()=>n.clearSearch(),350));break}}function k(i){switch(i.key){case y.Space:i.preventDefault();break}}let m=Te(),h=M(()=>m!==null?(m.value&S.Open)===S.Open:n.menuState.value===0);return()=>{var i,d;let s={open:n.menuState.value===0},{...f}=e,b={"aria-activedescendant":n.activeItemIndex.value===null||(i=n.items.value[n.activeItemIndex.value])==null?void 0:i.id,"aria-labelledby":(d=w(n.buttonRef))==null?void 0:d.id,id:o,onKeydown:v,onKeyup:k,role:"menu",tabIndex:0,ref:n.itemsRef};return D({ourProps:b,theirProps:f,slot:s,attrs:t,slots:l,features:N.RenderStrategy|N.Static,visible:h.value,name:"MenuItems"})}}}),ot=P({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:l,expose:r}){var a;let o=(a=e.id)!=null?a:`headlessui-menu-item-${W()}`,n=T("MenuItem"),u=L(null);r({el:u,$el:u});let v=M(()=>n.activeItemIndex.value!==null?n.items.value[n.activeItemIndex.value].id===o:!1),k=Re(u),m=M(()=>({disabled:e.disabled,get textValue(){return k()},domRef:u}));q(()=>n.registerItem(o,m)),ue(()=>n.unregisterItem(o)),E(()=>{n.menuState.value===0&&v.value&&n.activationTrigger.value!==0&&I(()=>{var g,x;return(x=(g=w(u))==null?void 0:g.scrollIntoView)==null?void 0:x.call(g,{block:"nearest"})})});function h(g){if(e.disabled)return g.preventDefault();n.closeMenu(),Y(w(n.buttonRef))}function i(){if(e.disabled)return n.goToItem(C.Nothing);n.goToItem(C.Specific,o)}let d=xe();function s(g){d.update(g)}function f(g){d.wasMoved(g)&&(e.disabled||v.value||n.goToItem(C.Specific,o,0))}function b(g){d.wasMoved(g)&&(e.disabled||v.value&&n.goToItem(C.Nothing))}return()=>{let{disabled:g,...x}=e,oe={active:v.value,disabled:g,close:n.closeMenu};return D({ourProps:{id:o,ref:u,role:"menuitem",tabIndex:g===!0?void 0:-1,"aria-disabled":g===!0?!0:void 0,onClick:h,onFocus:i,onPointerenter:s,onMouseenter:s,onPointermove:f,onMousemove:f,onPointerleave:b,onMouseleave:b},theirProps:{...l,...x},slot:oe,attrs:l,slots:t,name:"MenuItem"})}}});export{Ve as A,Ke as C,qe as D,et as E,W as I,Xe as L,lt as M,nt as S,Oe as T,Ye as U,_e as a,ot as b,Ge as c,Qe as d,Ze as e,D as f,tt as g,y as h,w as o,Ee as s}; diff --git a/public/assets/mj-8c02cbcc.png b/public/chat/assets/mj-8c02cbcc.png similarity index 100% rename from public/assets/mj-8c02cbcc.png rename to public/chat/assets/mj-8c02cbcc.png diff --git a/public/assets/naive-ui-fedd20b1.js b/public/chat/assets/naive-ui-074da7ca.js similarity index 62% rename from public/assets/naive-ui-fedd20b1.js rename to public/chat/assets/naive-ui-074da7ca.js index d28063f..e20e6c1 100644 --- a/public/assets/naive-ui-fedd20b1.js +++ b/public/chat/assets/naive-ui-074da7ca.js @@ -1,36 +1,36 @@ -import{c as ai,F as yt,C as xi,i as dv,v as ao,d as ne,a as Te,g as Nr,w as Je,o as dt,r as E,b as xo,e as T,f as gt,h as Fo,j as Ci,p as Ue,k as It,t as he,l as c,T as yi,n as ut,m as tc,q as oc,s as nl,u as Ft,x as rc,y as vt,z as kt,A as nc,B as gn,D as cv,E as Kl,G as ic,H as uv,I as fv}from"./vue-10b4afc0.js";let li=[];const ac=new WeakMap;function hv(){li.forEach(e=>e(...ac.get(e))),li=[]}function Ar(e,...t){ac.set(e,t),!li.includes(e)&&li.push(e)===1&&requestAnimationFrame(hv)}function no(e,t){let{target:o}=e;for(;o;){if(o.dataset&&o.dataset[t]!==void 0)return!0;o=o.parentElement}return!1}function Lr(e){return e.composedPath()[0]||null}function pv(e){if(typeof e=="number")return{"":e.toString()};const t={};return e.split(/ +/).forEach(o=>{if(o==="")return;const[r,n]=o.split(":");n===void 0?t[""]=r:t[r]=n}),t}function wr(e,t){var o;if(e==null)return;const r=pv(e);if(t===void 0)return r[""];if(typeof t=="string")return(o=r[t])!==null&&o!==void 0?o:r[""];if(Array.isArray(t)){for(let n=t.length-1;n>=0;--n){const i=t[n];if(i in r)return r[i]}return r[""]}else{let n,i=-1;return Object.keys(r).forEach(a=>{const l=Number(a);!Number.isNaN(l)&&t>=l&&l>=i&&(i=l,n=r[a])}),n}}function Tt(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function St(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function _t(e,t){const o=e.trim().split(/\s+/g),r={top:o[0]};switch(o.length){case 1:r.right=o[0],r.bottom=o[0],r.left=o[0];break;case 2:r.right=o[1],r.left=o[1],r.bottom=o[0];break;case 3:r.right=o[1],r.bottom=o[2],r.left=o[1];break;case 4:r.right=o[1],r.bottom=o[2],r.left=o[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?r:r[t]}function vv(e,t){const[o,r]=e.split(" ");return t?t==="row"?o:r:{row:o,col:r||o}}const ql={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Vr="^\\s*",Ur="\\s*$",tr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",or="([0-9A-Fa-f])",rr="([0-9A-Fa-f]{2})",gv=new RegExp(`${Vr}rgb\\s*\\(${tr},${tr},${tr}\\)${Ur}`),bv=new RegExp(`${Vr}rgba\\s*\\(${tr},${tr},${tr},${tr}\\)${Ur}`),mv=new RegExp(`${Vr}#${or}${or}${or}${Ur}`),xv=new RegExp(`${Vr}#${rr}${rr}${rr}${Ur}`),Cv=new RegExp(`${Vr}#${or}${or}${or}${or}${Ur}`),yv=new RegExp(`${Vr}#${rr}${rr}${rr}${rr}${Ur}`);function Lt(e){return parseInt(e,16)}function Co(e){try{let t;if(t=xv.exec(e))return[Lt(t[1]),Lt(t[2]),Lt(t[3]),1];if(t=gv.exec(e))return[Ot(t[1]),Ot(t[5]),Ot(t[9]),1];if(t=bv.exec(e))return[Ot(t[1]),Ot(t[5]),Ot(t[9]),cn(t[13])];if(t=mv.exec(e))return[Lt(t[1]+t[1]),Lt(t[2]+t[2]),Lt(t[3]+t[3]),1];if(t=yv.exec(e))return[Lt(t[1]),Lt(t[2]),Lt(t[3]),cn(Lt(t[4])/255)];if(t=Cv.exec(e))return[Lt(t[1]+t[1]),Lt(t[2]+t[2]),Lt(t[3]+t[3]),cn(Lt(t[4]+t[4])/255)];if(e in ql)return Co(ql[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function wv(e){return e>1?1:e<0?0:e}function Ta(e,t,o,r){return`rgba(${Ot(e)}, ${Ot(t)}, ${Ot(o)}, ${wv(r)})`}function Zi(e,t,o,r,n){return Ot((e*t*(1-r)+o*r)/n)}function Ee(e,t){Array.isArray(e)||(e=Co(e)),Array.isArray(t)||(t=Co(t));const o=e[3],r=t[3],n=cn(o+r-o*r);return Ta(Zi(e[0],o,t[0],r,n),Zi(e[1],o,t[1],r,n),Zi(e[2],o,t[2],r,n),n)}function se(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Co(e);return t.alpha?Ta(o,r,n,t.alpha):Ta(o,r,n,i)}function wt(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Co(e),{lightness:a=1,alpha:l=1}=t;return Sv([o*a,r*a,n*a,i*l])}function cn(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Ot(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function Sv(e){const[t,o,r]=e;return 3 in e?`rgba(${Ot(t)}, ${Ot(o)}, ${Ot(r)}, ${cn(e[3])})`:`rgba(${Ot(t)}, ${Ot(o)}, ${Ot(r)}, 1)`}function Vo(e=8){return Math.random().toString(16).slice(2,2+e)}function lc(e,t){const o=[];for(let r=0;r{r[n]=e[n]}),Object.assign(r,o)}function fr(e,t=[],o){const r={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(r[i]=e[i])}),Object.assign(r,o)}function Oo(e,t=!0,o=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&o.push(ai(String(r)));return}if(Array.isArray(r)){Oo(r,t,o);return}if(r.type===yt){if(r.children===null)return;Array.isArray(r.children)&&Oo(r.children,t,o)}else{if(r.type===xi&&t)return;o.push(r)}}}),o}function ie(e,...t){if(Array.isArray(e))e.forEach(o=>ie(o,...t));else return e(...t)}function Uo(e){return Object.keys(e)}const pt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?ai(e):typeof e=="number"?ai(String(e)):null;function yo(e,t){console.error(`[naive/${e}]: ${t}`)}function hr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Gl(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function Xl(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Ba(e,t="default",o=void 0){const r=e[t];if(!r)return yo("getFirstSlotVNode",`slot[${t}] is empty`),null;const n=Oo(r(o));return n.length===1?n[0]:(yo("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function sc(e){return t=>{t?e.value=t.$el:e.value=null}}function zn(e){return e.some(t=>dv(t)?!(t.type===xi||t.type===yt&&!zn(t.children)):!0)?e:null}function Bt(e,t){return e&&zn(e())||t()}function kv(e,t,o){return e&&zn(e(t))||o(t)}function Ze(e,t){const o=e&&zn(e());return t(o||null)}function Or(e){return!(e&&zn(e()))}function un(e){const t=e.filter(o=>o!==void 0);if(t.length!==0)return t.length===1?t[0]:o=>{e.forEach(r=>{r&&r(o)})}}function $v(e){var t;const o=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:r})=>r===ao);return!!(o&&o.value===!1)}const Ma=ne({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Rv=/^(\d|\.)+$/,Yl=/(\d|\.)+/;function mt(e,{c:t=1,offset:o=0,attachPx:r=!0}={}){if(typeof e=="number"){const n=(e+o)*t;return n===0?"0":`${n}px`}else if(typeof e=="string")if(Rv.test(e)){const n=(Number(e)+o)*t;return r?n===0?"0":`${n}px`:`${n}`}else{const n=Yl.exec(e);return n?e.replace(Yl,String((Number(n[0])+o)*t)):e}return e}function bn(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function Pv(e){let t=0;for(let o=0;o{let n=Pv(r);if(n){if(n===1){e.forEach(a=>{o.push(r.replace("&",a))});return}}else{e.forEach(a=>{o.push((a&&a+" ")+r)});return}let i=[r];for(;n--;){const a=[];i.forEach(l=>{e.forEach(s=>{a.push(l.replace("&",s))})}),i=a}i.forEach(a=>o.push(a))}),o}function Bv(e,t){const o=[];return t.split(dc).forEach(r=>{e.forEach(n=>{o.push((n&&n+" ")+r)})}),o}function Mv(e){let t=[""];return e.forEach(o=>{o=o&&o.trim(),o&&(o.includes("&")?t=Tv(t,o):t=Bv(t,o))}),t.join(", ").replace(zv," ")}function Zl(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function wi(e){return document.querySelector(`style[cssr-id="${e}"]`)}function Ov(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function _n(e){return e?/^\s*@(s|m)/.test(e):!1}const Iv=/[A-Z]/g;function cc(e){return e.replace(Iv,t=>"-"+t.toLowerCase())}function Fv(e,t=" "){return typeof e=="object"&&e!==null?` { -`+Object.entries(e).map(o=>t+` ${cc(o[0])}: ${o[1]};`).join(` +import{c as ai,F as yt,C as xi,i as uv,v as ao,d as re,a as Te,g as jr,w as Je,o as dt,r as E,b as xo,e as T,f as gt,h as Eo,j as Ci,p as Ue,k as It,t as he,l as c,T as yi,n as ut,m as rc,q as nc,s as nl,u as Ft,x as ic,y as pt,z as kt,A as ac,B as gn,D as fv,E as Gl,G as lc,H as hv,I as pv}from"./vue-cf46d111.js";let li=[];const sc=new WeakMap;function vv(){li.forEach(e=>e(...sc.get(e))),li=[]}function Lr(e,...t){sc.set(e,t),!li.includes(e)&&li.push(e)===1&&requestAnimationFrame(vv)}function no(e,t){let{target:o}=e;for(;o;){if(o.dataset&&o.dataset[t]!==void 0)return!0;o=o.parentElement}return!1}function Ar(e){return e.composedPath()[0]||null}function gv(e){if(typeof e=="number")return{"":e.toString()};const t={};return e.split(/ +/).forEach(o=>{if(o==="")return;const[r,n]=o.split(":");n===void 0?t[""]=r:t[r]=n}),t}function wr(e,t){var o;if(e==null)return;const r=gv(e);if(t===void 0)return r[""];if(typeof t=="string")return(o=r[t])!==null&&o!==void 0?o:r[""];if(Array.isArray(t)){for(let n=t.length-1;n>=0;--n){const i=t[n];if(i in r)return r[i]}return r[""]}else{let n,i=-1;return Object.keys(r).forEach(a=>{const l=Number(a);!Number.isNaN(l)&&t>=l&&l>=i&&(i=l,n=r[a])}),n}}function Tt(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function St(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function _t(e,t){const o=e.trim().split(/\s+/g),r={top:o[0]};switch(o.length){case 1:r.right=o[0],r.bottom=o[0],r.left=o[0];break;case 2:r.right=o[1],r.left=o[1],r.bottom=o[0];break;case 3:r.right=o[1],r.bottom=o[2],r.left=o[1];break;case 4:r.right=o[1],r.bottom=o[2],r.left=o[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?r:r[t]}function mv(e,t){const[o,r]=e.split(" ");return t?t==="row"?o:r:{row:o,col:r||o}}const ql={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Vr="^\\s*",Ur="\\s*$",tr="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",or="([0-9A-Fa-f])",rr="([0-9A-Fa-f]{2})",bv=new RegExp(`${Vr}rgb\\s*\\(${tr},${tr},${tr}\\)${Ur}`),xv=new RegExp(`${Vr}rgba\\s*\\(${tr},${tr},${tr},${tr}\\)${Ur}`),Cv=new RegExp(`${Vr}#${or}${or}${or}${Ur}`),yv=new RegExp(`${Vr}#${rr}${rr}${rr}${Ur}`),wv=new RegExp(`${Vr}#${or}${or}${or}${or}${Ur}`),Sv=new RegExp(`${Vr}#${rr}${rr}${rr}${rr}${Ur}`);function At(e){return parseInt(e,16)}function Co(e){try{let t;if(t=yv.exec(e))return[At(t[1]),At(t[2]),At(t[3]),1];if(t=bv.exec(e))return[Mt(t[1]),Mt(t[5]),Mt(t[9]),1];if(t=xv.exec(e))return[Mt(t[1]),Mt(t[5]),Mt(t[9]),cn(t[13])];if(t=Cv.exec(e))return[At(t[1]+t[1]),At(t[2]+t[2]),At(t[3]+t[3]),1];if(t=Sv.exec(e))return[At(t[1]),At(t[2]),At(t[3]),cn(At(t[4])/255)];if(t=wv.exec(e))return[At(t[1]+t[1]),At(t[2]+t[2]),At(t[3]+t[3]),cn(At(t[4]+t[4])/255)];if(e in ql)return Co(ql[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function kv(e){return e>1?1:e<0?0:e}function Ta(e,t,o,r){return`rgba(${Mt(e)}, ${Mt(t)}, ${Mt(o)}, ${kv(r)})`}function Zi(e,t,o,r,n){return Mt((e*t*(1-r)+o*r)/n)}function Ee(e,t){Array.isArray(e)||(e=Co(e)),Array.isArray(t)||(t=Co(t));const o=e[3],r=t[3],n=cn(o+r-o*r);return Ta(Zi(e[0],o,t[0],r,n),Zi(e[1],o,t[1],r,n),Zi(e[2],o,t[2],r,n),n)}function se(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Co(e);return t.alpha?Ta(o,r,n,t.alpha):Ta(o,r,n,i)}function wt(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Co(e),{lightness:a=1,alpha:l=1}=t;return $v([o*a,r*a,n*a,i*l])}function cn(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Mt(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function $v(e){const[t,o,r]=e;return 3 in e?`rgba(${Mt(t)}, ${Mt(o)}, ${Mt(r)}, ${cn(e[3])})`:`rgba(${Mt(t)}, ${Mt(o)}, ${Mt(r)}, 1)`}function Vo(e=8){return Math.random().toString(16).slice(2,2+e)}function dc(e,t){const o=[];for(let r=0;r{r[n]=e[n]}),Object.assign(r,o)}function fr(e,t=[],o){const r={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(r[i]=e[i])}),Object.assign(r,o)}function Io(e,t=!0,o=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&o.push(ai(String(r)));return}if(Array.isArray(r)){Io(r,t,o);return}if(r.type===yt){if(r.children===null)return;Array.isArray(r.children)&&Io(r.children,t,o)}else{if(r.type===xi&&t)return;o.push(r)}}}),o}function ie(e,...t){if(Array.isArray(e))e.forEach(o=>ie(o,...t));else return e(...t)}function Uo(e){return Object.keys(e)}const vt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?ai(e):typeof e=="number"?ai(String(e)):null,Xl=new Set;function Rv(e,t){const o=`[naive/${e}]: ${t}`;Xl.has(o)||(Xl.add(o),console.error(o))}function yo(e,t){console.error(`[naive/${e}]: ${t}`)}function hr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Yl(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function Zl(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Ba(e,t="default",o=void 0){const r=e[t];if(!r)return yo("getFirstSlotVNode",`slot[${t}] is empty`),null;const n=Io(r(o));return n.length===1?n[0]:(yo("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function cc(e){return t=>{t?e.value=t.$el:e.value=null}}function zn(e){return e.some(t=>uv(t)?!(t.type===xi||t.type===yt&&!zn(t.children)):!0)?e:null}function Bt(e,t){return e&&zn(e())||t()}function Pv(e,t,o){return e&&zn(e(t))||o(t)}function Ze(e,t){const o=e&&zn(e());return t(o||null)}function Mr(e){return!(e&&zn(e()))}function un(e){const t=e.filter(o=>o!==void 0);if(t.length!==0)return t.length===1?t[0]:o=>{e.forEach(r=>{r&&r(o)})}}function zv(e){var t;const o=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:r})=>r===ao);return!!(o&&o.value===!1)}const Oa=re({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Tv=/^(\d|\.)+$/,Jl=/(\d|\.)+/;function bt(e,{c:t=1,offset:o=0,attachPx:r=!0}={}){if(typeof e=="number"){const n=(e+o)*t;return n===0?"0":`${n}px`}else if(typeof e=="string")if(Tv.test(e)){const n=(Number(e)+o)*t;return r?n===0?"0":`${n}px`:`${n}`}else{const n=Jl.exec(e);return n?e.replace(Jl,String((Number(n[0])+o)*t)):e}return e}function mn(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function Bv(e){let t=0;for(let o=0;o{let n=Bv(r);if(n){if(n===1){e.forEach(a=>{o.push(r.replace("&",a))});return}}else{e.forEach(a=>{o.push((a&&a+" ")+r)});return}let i=[r];for(;n--;){const a=[];i.forEach(l=>{e.forEach(s=>{a.push(l.replace("&",s))})}),i=a}i.forEach(a=>o.push(a))}),o}function Iv(e,t){const o=[];return t.split(uc).forEach(r=>{e.forEach(n=>{o.push((n&&n+" ")+r)})}),o}function Fv(e){let t=[""];return e.forEach(o=>{o=o&&o.trim(),o&&(o.includes("&")?t=Mv(t,o):t=Iv(t,o))}),t.join(", ").replace(Ov," ")}function Ql(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function wi(e){return document.querySelector(`style[cssr-id="${e}"]`)}function Ev(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function _n(e){return e?/^\s*@(s|m)/.test(e):!1}const Lv=/[A-Z]/g;function fc(e){return e.replace(Lv,t=>"-"+t.toLowerCase())}function Av(e,t=" "){return typeof e=="object"&&e!==null?` { +`+Object.entries(e).map(o=>t+` ${fc(o[0])}: ${o[1]};`).join(` `)+` -`+t+"}":`: ${e};`}function Ev(e,t,o){return typeof e=="function"?e({context:t.context,props:o}):e}function Jl(e,t,o,r){if(!t)return"";const n=Ev(t,o,r);if(!n)return"";if(typeof n=="string")return`${e} { +`+t+"}":`: ${e};`}function _v(e,t,o){return typeof e=="function"?e({context:t.context,props:o}):e}function es(e,t,o,r){if(!t)return"";const n=_v(t,o,r);if(!n)return"";if(typeof n=="string")return`${e} { ${n} }`;const i=Object.keys(n);if(i.length===0)return o.config.keepEmptyBlock?e+` { }`:"";const a=e?[e+" {"]:[];return i.forEach(l=>{const s=n[l];if(l==="raw"){a.push(` `+s+` -`);return}l=cc(l),s!=null&&a.push(` ${l}${Fv(s)}`)}),e&&a.push("}"),a.join(` -`)}function Oa(e,t,o){e&&e.forEach(r=>{if(Array.isArray(r))Oa(r,t,o);else if(typeof r=="function"){const n=r(t);Array.isArray(n)?Oa(n,t,o):n&&o(n)}else r&&o(r)})}function uc(e,t,o,r,n,i){const a=e.$;let l="";if(!a||typeof a=="string")_n(a)?l=a:t.push(a);else if(typeof a=="function"){const u=a({context:r.context,props:n});_n(u)?l=u:t.push(u)}else if(a.before&&a.before(r.context),!a.$||typeof a.$=="string")_n(a.$)?l=a.$:t.push(a.$);else if(a.$){const u=a.$({context:r.context,props:n});_n(u)?l=u:t.push(u)}const s=Mv(t),d=Jl(s,e.props,r,n);l?(o.push(`${l} {`),i&&d&&i.insertRule(`${l} { +`);return}l=fc(l),s!=null&&a.push(` ${l}${Av(s)}`)}),e&&a.push("}"),a.join(` +`)}function Ma(e,t,o){e&&e.forEach(r=>{if(Array.isArray(r))Ma(r,t,o);else if(typeof r=="function"){const n=r(t);Array.isArray(n)?Ma(n,t,o):n&&o(n)}else r&&o(r)})}function hc(e,t,o,r,n,i){const a=e.$;let l="";if(!a||typeof a=="string")_n(a)?l=a:t.push(a);else if(typeof a=="function"){const u=a({context:r.context,props:n});_n(u)?l=u:t.push(u)}else if(a.before&&a.before(r.context),!a.$||typeof a.$=="string")_n(a.$)?l=a.$:t.push(a.$);else if(a.$){const u=a.$({context:r.context,props:n});_n(u)?l=u:t.push(u)}const s=Fv(t),d=es(s,e.props,r,n);l?(o.push(`${l} {`),i&&d&&i.insertRule(`${l} { ${d} } -`)):(i&&d&&i.insertRule(d),!i&&d.length&&o.push(d)),e.children&&Oa(e.children,{context:r.context,props:n},u=>{if(typeof u=="string"){const h=Jl(s,{raw:u},r,n);i?i.insertRule(h):o.push(h)}else uc(u,t,o,r,n,i)}),t.pop(),l&&o.push("}"),a&&a.after&&a.after(r.context)}function fc(e,t,o,r=!1){const n=[];return uc(e,[],n,t,o,r?e.instance.__styleSheet:void 0),r?"":n.join(` +`)):(i&&d&&i.insertRule(d),!i&&d.length&&o.push(d)),e.children&&Ma(e.children,{context:r.context,props:n},u=>{if(typeof u=="string"){const h=es(s,{raw:u},r,n);i?i.insertRule(h):o.push(h)}else hc(u,t,o,r,n,i)}),t.pop(),l&&o.push("}"),a&&a.after&&a.after(r.context)}function pc(e,t,o,r=!1){const n=[];return hc(e,[],n,t,o,r?e.instance.__styleSheet:void 0),r?"":n.join(` -`)}function mn(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function Av(e,t,o){const{els:r}=t;if(o===void 0)r.forEach(Zl),t.els=[];else{const n=wi(o);n&&r.includes(n)&&(Zl(n),t.els=r.filter(i=>i!==n))}}function Ql(e,t){e.push(t)}function Lv(e,t,o,r,n,i,a,l,s){if(i&&!s){if(o===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const p=window.__cssrContext;p[o]||(p[o]=!0,fc(t,e,r,i));return}let d;if(o===void 0&&(d=t.render(r),o=mn(d)),s){s.adapter(o,d??t.render(r));return}const u=wi(o);if(u!==null&&!a)return u;const h=u??Ov(o);if(d===void 0&&(d=t.render(r)),h.textContent=d,u!==null)return u;if(l){const p=document.head.querySelector(`meta[name="${l}"]`);if(p)return document.head.insertBefore(h,p),Ql(t.els,h),h}return n?document.head.insertBefore(h,document.head.querySelector("style, link")):document.head.appendChild(h),Ql(t.els,h),h}function _v(e){return fc(this,this.instance,e)}function Dv(e={}){const{id:t,ssr:o,props:r,head:n=!1,silent:i=!1,force:a=!1,anchorMetaName:l}=e;return Lv(this.instance,this,t,r,n,i,a,l,o)}function Hv(e={}){const{id:t}=e;Av(this.instance,this,t)}const Dn=function(e,t,o,r){return{instance:e,$:t,props:o,children:r,els:[],render:_v,mount:Dv,unmount:Hv}},jv=function(e,t,o,r){return Array.isArray(t)?Dn(e,{$:null},null,t):Array.isArray(o)?Dn(e,t,null,o):Array.isArray(r)?Dn(e,t,o,r):Dn(e,t,o,null)};function hc(e={}){let t=null;const o={c:(...r)=>jv(o,...r),use:(r,...n)=>r.install(o,...n),find:wi,context:{},config:e,get __styleSheet(){if(!t){const r=document.createElement("style");return document.head.appendChild(r),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return o}function Wv(e,t){if(e===void 0)return!1;if(t){const{context:{ids:o}}=t;return o.has(e)}return wi(e)!==null}function Nv(e){let t=".",o="__",r="--",n;if(e){let f=e.blockPrefix;f&&(t=f),f=e.elementPrefix,f&&(o=f),f=e.modifierPrefix,f&&(r=f)}const i={install(f){n=f.c;const v=f.context;v.bem={},v.bem.b=null,v.bem.els=null}};function a(f){let v,m;return{before(b){v=b.bem.b,m=b.bem.els,b.bem.els=null},after(b){b.bem.b=v,b.bem.els=m},$({context:b,props:C}){return f=typeof f=="string"?f:f({context:b,props:C}),b.bem.b=f,`${(C==null?void 0:C.bPrefix)||t}${b.bem.b}`}}}function l(f){let v;return{before(m){v=m.bem.els},after(m){m.bem.els=v},$({context:m,props:b}){return f=typeof f=="string"?f:f({context:m,props:b}),m.bem.els=f.split(",").map(C=>C.trim()),m.bem.els.map(C=>`${(b==null?void 0:b.bPrefix)||t}${m.bem.b}${o}${C}`).join(", ")}}}function s(f){return{$({context:v,props:m}){f=typeof f=="string"?f:f({context:v,props:m});const b=f.split(",").map($=>$.trim());function C($){return b.map(S=>`&${(m==null?void 0:m.bPrefix)||t}${v.bem.b}${$!==void 0?`${o}${$}`:""}${r}${S}`).join(", ")}const R=v.bem.els;return R!==null?C(R[0]):C()}}}function d(f){return{$({context:v,props:m}){f=typeof f=="string"?f:f({context:v,props:m});const b=v.bem.els;return`&:not(${(m==null?void 0:m.bPrefix)||t}${v.bem.b}${b!==null&&b.length>0?`${o}${b[0]}`:""}${r}${f})`}}}return Object.assign(i,{cB:(...f)=>n(a(f[0]),f[1],f[2]),cE:(...f)=>n(l(f[0]),f[1],f[2]),cM:(...f)=>n(s(f[0]),f[1],f[2]),cNotM:(...f)=>n(d(f[0]),f[1],f[2])}),i}const Vv="n",xn=`.${Vv}-`,Uv="__",Kv="--",pc=hc(),vc=Nv({blockPrefix:xn,elementPrefix:Uv,modifierPrefix:Kv});pc.use(vc);const{c:z,find:l8}=pc,{cB:y,cE:M,cM:B,cNotM:nt}=vc;function Kr(e){return z(({props:{bPrefix:t}})=>`${t||xn}modal, ${t||xn}drawer`,[e])}function Tn(e){return z(({props:{bPrefix:t}})=>`${t||xn}popover`,[e])}function gc(e){return z(({props:{bPrefix:t}})=>`&${t||xn}modal`,e)}const qv=(...e)=>z(">",[y(...e)]);function oe(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,o=>o.toUpperCase()))}let Ji;function Gv(){return Ji===void 0&&(Ji=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Ji}const Eo=typeof document<"u"&&typeof window<"u",bc=new WeakSet;function Xv(e){bc.add(e)}function mc(e){return!bc.has(e)}function Yv(e,t,o){var r;const n=Te(e,null);if(n===null)return;const i=(r=Nr())===null||r===void 0?void 0:r.proxy;Je(o,a),a(o.value),dt(()=>{a(void 0,o.value)});function a(d,u){if(!n)return;const h=n[t];u!==void 0&&l(h,u),d!==void 0&&s(h,d)}function l(d,u){d[u]||(d[u]=[]),d[u].splice(d[u].findIndex(h=>h===i),1)}function s(d,u){d[u]||(d[u]=[]),~d[u].findIndex(h=>h===i)||d[u].push(i)}}function Zv(e,t,o){if(!t)return e;const r=E(e.value);let n=null;return Je(e,i=>{n!==null&&window.clearTimeout(n),i===!0?o&&!o.value?r.value=!0:n=window.setTimeout(()=>{r.value=!0},t):r.value=!1}),r}function Jv(e){const t=E(!!e.value);if(t.value)return xo(t);const o=Je(e,r=>{r&&(t.value=!0,o())});return xo(t)}function Ye(e){const t=T(e),o=E(t.value);return Je(t,r=>{o.value=r}),typeof e=="function"?o:{__v_isRef:!0,get value(){return o.value},set value(r){e.set(r)}}}function Si(){return Nr()!==null}const ki=typeof window<"u";let Ir,fn;const Qv=()=>{var e,t;Ir=ki?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,fn=!1,Ir!==void 0?Ir.then(()=>{fn=!0}):fn=!0};Qv();function xc(e){if(fn)return;let t=!1;gt(()=>{fn||Ir==null||Ir.then(()=>{t||e()})}),dt(()=>{t=!0})}function ri(e){return e.composedPath()[0]}const eg={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function tg(e,t,o){if(e==="mousemoveoutside"){const r=n=>{t.contains(ri(n))||o(n)};return{mousemove:r,touchstart:r}}else if(e==="clickoutside"){let r=!1;const n=a=>{r=!t.contains(ri(a))},i=a=>{r&&(t.contains(ri(a))||o(a))};return{mousedown:n,mouseup:i,touchstart:n,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function Cc(e,t,o){const r=eg[e];let n=r.get(t);n===void 0&&r.set(t,n=new WeakMap);let i=n.get(o);return i===void 0&&n.set(o,i=tg(e,t,o)),i}function og(e,t,o,r){if(e==="mousemoveoutside"||e==="clickoutside"){const n=Cc(e,t,o);return Object.keys(n).forEach(i=>{tt(i,document,n[i],r)}),!0}return!1}function rg(e,t,o,r){if(e==="mousemoveoutside"||e==="clickoutside"){const n=Cc(e,t,o);return Object.keys(n).forEach(i=>{Xe(i,document,n[i],r)}),!0}return!1}function ng(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function o(){e.set(this,!0)}function r(){e.set(this,!0),t.set(this,!0)}function n(x,k,P){const I=x[k];return x[k]=function(){return P.apply(x,arguments),I.apply(x,arguments)},x}function i(x,k){x[k]=Event.prototype[k]}const a=new WeakMap,l=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function s(){var x;return(x=a.get(this))!==null&&x!==void 0?x:null}function d(x,k){l!==void 0&&Object.defineProperty(x,"currentTarget",{configurable:!0,enumerable:!0,get:k??l.get})}const u={bubble:{},capture:{}},h={};function p(){const x=function(k){const{type:P,eventPhase:I,bubbles:A}=k,O=ri(k);if(I===2)return;const L=I===1?"capture":"bubble";let H=O;const _=[];for(;H===null&&(H=window),_.push(H),H!==window;)H=H.parentNode||null;const U=u.capture[P],N=u.bubble[P];if(n(k,"stopPropagation",o),n(k,"stopImmediatePropagation",r),d(k,s),L==="capture"){if(U===void 0)return;for(let te=_.length-1;te>=0&&!e.has(k);--te){const fe=_[te],ae=U.get(fe);if(ae!==void 0){a.set(k,fe);for(const Y of ae){if(t.has(k))break;Y(k)}}if(te===0&&!A&&N!==void 0){const Y=N.get(fe);if(Y!==void 0)for(const j of Y){if(t.has(k))break;j(k)}}}}else if(L==="bubble"){if(N===void 0)return;for(let te=0;te<_.length&&!e.has(k);++te){const fe=_[te],ae=N.get(fe);if(ae!==void 0){a.set(k,fe);for(const Y of ae){if(t.has(k))break;Y(k)}}}}i(k,"stopPropagation"),i(k,"stopImmediatePropagation"),d(k)};return x.displayName="evtdUnifiedHandler",x}function g(){const x=function(k){const{type:P,eventPhase:I}=k;if(I!==2)return;const A=h[P];A!==void 0&&A.forEach(O=>O(k))};return x.displayName="evtdUnifiedWindowEventHandler",x}const f=p(),v=g();function m(x,k){const P=u[x];return P[k]===void 0&&(P[k]=new Map,window.addEventListener(k,f,x==="capture")),P[k]}function b(x){return h[x]===void 0&&(h[x]=new Set,window.addEventListener(x,v)),h[x]}function C(x,k){let P=x.get(k);return P===void 0&&x.set(k,P=new Set),P}function R(x,k,P,I){const A=u[k][P];if(A!==void 0){const O=A.get(x);if(O!==void 0&&O.has(I))return!0}return!1}function $(x,k){const P=h[x];return!!(P!==void 0&&P.has(k))}function S(x,k,P,I){let A;if(typeof I=="object"&&I.once===!0?A=U=>{w(x,k,A,I),P(U)}:A=P,og(x,k,A,I))return;const L=I===!0||typeof I=="object"&&I.capture===!0?"capture":"bubble",H=m(L,x),_=C(H,k);if(_.has(A)||_.add(A),k===window){const U=b(x);U.has(A)||U.add(A)}}function w(x,k,P,I){if(rg(x,k,P,I))return;const O=I===!0||typeof I=="object"&&I.capture===!0,L=O?"capture":"bubble",H=m(L,x),_=C(H,k);if(k===window&&!R(k,O?"bubble":"capture",x,P)&&$(x,P)){const N=h[x];N.delete(P),N.size===0&&(window.removeEventListener(x,v),h[x]=void 0)}_.has(P)&&_.delete(P),_.size===0&&H.delete(k),H.size===0&&(window.removeEventListener(x,f,L==="capture"),u[L][x]=void 0)}return{on:S,off:w}}const{on:tt,off:Xe}=ng(),sn=E(null);function es(e){if(e.clientX>0||e.clientY>0)sn.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:o,top:r,width:n,height:i}=t.getBoundingClientRect();o>0||r>0?sn.value={x:o+n/2,y:r+i/2}:sn.value={x:0,y:0}}else sn.value=null}}let Hn=0,ts=!0;function yc(){if(!ki)return xo(E(null));Hn===0&&tt("click",document,es,!0);const e=()=>{Hn+=1};return ts&&(ts=Si())?(Fo(e),dt(()=>{Hn-=1,Hn===0&&Xe("click",document,es,!0)})):e(),xo(sn)}const ig=E(void 0);let jn=0;function os(){ig.value=Date.now()}let rs=!0;function wc(e){if(!ki)return xo(E(!1));const t=E(!1);let o=null;function r(){o!==null&&window.clearTimeout(o)}function n(){r(),t.value=!0,o=window.setTimeout(()=>{t.value=!1},e)}jn===0&&tt("click",window,os,!0);const i=()=>{jn+=1,tt("click",window,n,!0)};return rs&&(rs=Si())?(Fo(i),dt(()=>{jn-=1,jn===0&&Xe("click",window,os,!0),Xe("click",window,n,!0),r()})):i(),xo(t)}let Wn=0;const ag=typeof window<"u"&&window.matchMedia!==void 0,ar=E(null);let ro,nr;function si(e){e.matches&&(ar.value="dark")}function di(e){e.matches&&(ar.value="light")}function lg(){ro=window.matchMedia("(prefers-color-scheme: dark)"),nr=window.matchMedia("(prefers-color-scheme: light)"),ro.matches?ar.value="dark":nr.matches?ar.value="light":ar.value=null,ro.addEventListener?(ro.addEventListener("change",si),nr.addEventListener("change",di)):ro.addListener&&(ro.addListener(si),nr.addListener(di))}function sg(){"removeEventListener"in ro?(ro.removeEventListener("change",si),nr.removeEventListener("change",di)):"removeListener"in ro&&(ro.removeListener(si),nr.removeListener(di)),ro=void 0,nr=void 0}let ns=!0;function s8(){return ag?(Wn===0&&lg(),ns&&(ns=Si())&&(Fo(()=>{Wn+=1}),dt(()=>{Wn-=1,Wn===0&&sg()})),xo(ar)):xo(ar)}function $t(e,t){return Je(e,o=>{o!==void 0&&(t.value=o)}),T(()=>e.value===void 0?t.value:e.value)}function Ao(){const e=E(!1);return gt(()=>{e.value=!0}),xo(e)}function Cn(e,t){return T(()=>{for(const o of t)if(e[o]!==void 0)return e[o];return e[t[t.length-1]]})}const dg=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function cg(){return dg}const ug={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function fg(e){return`(min-width: ${e}px)`}const on={};function hg(e=ug){if(!ki)return T(()=>[]);if(typeof window.matchMedia!="function")return T(()=>[]);const t=E({}),o=Object.keys(e),r=(n,i)=>{n.matches?t.value[i]=!0:t.value[i]=!1};return o.forEach(n=>{const i=e[n];let a,l;on[i]===void 0?(a=window.matchMedia(fg(i)),a.addEventListener?a.addEventListener("change",s=>{l.forEach(d=>{d(s,n)})}):a.addListener&&a.addListener(s=>{l.forEach(d=>{d(s,n)})}),l=new Set,on[i]={mql:a,cbs:l}):(a=on[i].mql,l=on[i].cbs),l.add(r),a.matches&&l.forEach(s=>{s(a,n)})}),dt(()=>{o.forEach(n=>{const{cbs:i}=on[e[n]];i.has(r)&&i.delete(r)})}),T(()=>{const{value:n}=t;return o.filter(i=>n[i])})}function pg(e={},t){const o=Ci({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:r,keyup:n}=e,i=s=>{switch(s.key){case"Control":o.ctrl=!0;break;case"Meta":o.command=!0,o.win=!0;break;case"Shift":o.shift=!0;break;case"Tab":o.tab=!0;break}r!==void 0&&Object.keys(r).forEach(d=>{if(d!==s.key)return;const u=r[d];if(typeof u=="function")u(s);else{const{stop:h=!1,prevent:p=!1}=u;h&&s.stopPropagation(),p&&s.preventDefault(),u.handler(s)}})},a=s=>{switch(s.key){case"Control":o.ctrl=!1;break;case"Meta":o.command=!1,o.win=!1;break;case"Shift":o.shift=!1;break;case"Tab":o.tab=!1;break}n!==void 0&&Object.keys(n).forEach(d=>{if(d!==s.key)return;const u=n[d];if(typeof u=="function")u(s);else{const{stop:h=!1,prevent:p=!1}=u;h&&s.stopPropagation(),p&&s.preventDefault(),u.handler(s)}})},l=()=>{(t===void 0||t.value)&&(tt("keydown",document,i),tt("keyup",document,a)),t!==void 0&&Je(t,s=>{s?(tt("keydown",document,i),tt("keyup",document,a)):(Xe("keydown",document,i),Xe("keyup",document,a))})};return Si()?(Fo(l),dt(()=>{(t===void 0||t.value)&&(Xe("keydown",document,i),Xe("keyup",document,a))})):l(),xo(o)}const al="n-internal-select-menu",Sc="n-internal-select-menu-body",Bn="n-modal-body",vg="n-modal-provider",kc="n-modal",Mn="n-drawer-body",ll="n-drawer",qr="n-popover-body",$c="__disabled__";function Vt(e){const t=Te(Bn,null),o=Te(Mn,null),r=Te(qr,null),n=Te(Sc,null),i=E();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};gt(()=>{tt("fullscreenchange",document,a)}),dt(()=>{Xe("fullscreenchange",document,a)})}return Ye(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?$c:l===!0?i.value||"body":l:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:o!=null&&o.value?o.value:r!=null&&r.value?r.value:n!=null&&n.value?n.value:l??(i.value||"body")})}Vt.tdkey=$c;Vt.propTo={type:[String,Object,Boolean],default:void 0};let is=!1;function gg(){if(Eo&&window.CSS&&!is&&(is=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}function Ia(e,t,o="default"){const r=t[o];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${o}] is empty.`);return r()}function Fa(e,t=!0,o=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&o.push(ai(String(r)));return}if(Array.isArray(r)){Fa(r,t,o);return}if(r.type===yt){if(r.children===null)return;Array.isArray(r.children)&&Fa(r.children,t,o)}else r.type!==xi&&o.push(r)}}),o}function as(e,t,o="default"){const r=t[o];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${o}] is empty.`);const n=Fa(r());if(n.length===1)return n[0];throw new Error(`[vueuc/${e}]: slot[${o}] should have exactly one child.`)}let Wo=null;function Rc(){if(Wo===null&&(Wo=document.getElementById("v-binder-view-measurer"),Wo===null)){Wo=document.createElement("div"),Wo.id="v-binder-view-measurer";const{style:e}=Wo;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Wo)}return Wo.getBoundingClientRect()}function bg(e,t){const o=Rc();return{top:t,left:e,height:0,width:0,right:o.width-e,bottom:o.height-t}}function Qi(e){const t=e.getBoundingClientRect(),o=Rc();return{left:t.left-o.left,top:t.top-o.top,bottom:o.height+o.top-t.bottom,right:o.width+o.left-t.right,width:t.width,height:t.height}}function mg(e){return e.nodeType===9?null:e.parentNode}function Pc(e){if(e===null)return null;const t=mg(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:o,overflowX:r,overflowY:n}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(o+n+r))return t}return Pc(t)}const xg=ne({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;Ue("VBinder",(t=Nr())===null||t===void 0?void 0:t.proxy);const o=Te("VBinder",null),r=E(null),n=b=>{r.value=b,o&&e.syncTargetWithParent&&o.setTargetRef(b)};let i=[];const a=()=>{let b=r.value;for(;b=Pc(b),b!==null;)i.push(b);for(const C of i)tt("scroll",C,h,!0)},l=()=>{for(const b of i)Xe("scroll",b,h,!0);i=[]},s=new Set,d=b=>{s.size===0&&a(),s.has(b)||s.add(b)},u=b=>{s.has(b)&&s.delete(b),s.size===0&&l()},h=()=>{Ar(p)},p=()=>{s.forEach(b=>b())},g=new Set,f=b=>{g.size===0&&tt("resize",window,m),g.has(b)||g.add(b)},v=b=>{g.has(b)&&g.delete(b),g.size===0&&Xe("resize",window,m)},m=()=>{g.forEach(b=>b())};return dt(()=>{Xe("resize",window,m),l()}),{targetRef:r,setTargetRef:n,addScrollListener:d,removeScrollListener:u,addResizeListener:f,removeResizeListener:v}},render(){return Ia("binder",this.$slots)}}),$i=xg,Ri=ne({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=Te("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?It(as("follower",this.$slots),[[t]]):as("follower",this.$slots)}}),Sr="@@mmoContext",Cg={mounted(e,{value:t}){e[Sr]={handler:void 0},typeof t=="function"&&(e[Sr].handler=t,tt("mousemoveoutside",e,t))},updated(e,{value:t}){const o=e[Sr];typeof t=="function"?o.handler?o.handler!==t&&(Xe("mousemoveoutside",e,o.handler),o.handler=t,tt("mousemoveoutside",e,t)):(e[Sr].handler=t,tt("mousemoveoutside",e,t)):o.handler&&(Xe("mousemoveoutside",e,o.handler),o.handler=void 0)},unmounted(e){const{handler:t}=e[Sr];t&&Xe("mousemoveoutside",e,t),e[Sr].handler=void 0}},yg=Cg,kr="@@coContext",wg={mounted(e,{value:t,modifiers:o}){e[kr]={handler:void 0},typeof t=="function"&&(e[kr].handler=t,tt("clickoutside",e,t,{capture:o.capture}))},updated(e,{value:t,modifiers:o}){const r=e[kr];typeof t=="function"?r.handler?r.handler!==t&&(Xe("clickoutside",e,r.handler,{capture:o.capture}),r.handler=t,tt("clickoutside",e,t,{capture:o.capture})):(e[kr].handler=t,tt("clickoutside",e,t,{capture:o.capture})):r.handler&&(Xe("clickoutside",e,r.handler,{capture:o.capture}),r.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:o}=e[kr];o&&Xe("clickoutside",e,o,{capture:t.capture}),e[kr].handler=void 0}},_r=wg;function Sg(e,t){console.error(`[vdirs/${e}]: ${t}`)}class kg{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,o){const{elementZIndex:r}=this;if(o!==void 0){t.style.zIndex=`${o}`,r.delete(t);return}const{nextZIndex:n}=this;r.has(t)&&r.get(t)+1===this.nextZIndex||(t.style.zIndex=`${n}`,r.set(t,n),this.nextZIndex=n+1,this.squashState())}unregister(t,o){const{elementZIndex:r}=this;r.has(t)?r.delete(t):o===void 0&&Sg("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((o,r)=>o[1]-r[1]),this.nextZIndex=2e3,t.forEach(o=>{const r=o[0],n=this.nextZIndex++;`${n}`!==r.style.zIndex&&(r.style.zIndex=`${n}`)})}}const ea=new kg,$r="@@ziContext",$g={mounted(e,t){const{value:o={}}=t,{zIndex:r,enabled:n}=o;e[$r]={enabled:!!n,initialized:!1},n&&(ea.ensureZIndex(e,r),e[$r].initialized=!0)},updated(e,t){const{value:o={}}=t,{zIndex:r,enabled:n}=o,i=e[$r].enabled;n&&!i&&(ea.ensureZIndex(e,r),e[$r].initialized=!0),e[$r].enabled=!!n},unmounted(e,t){if(!e[$r].initialized)return;const{value:o={}}=t,{zIndex:r}=o;ea.unregister(e,r)}},On=$g,zc=Symbol("@css-render/vue3-ssr");function Rg(e,t){return``}function Pg(e,t){const o=Te(zc,null);if(o===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:r,ids:n}=o;n.has(e)||r!==null&&(n.add(e),r.push(Rg(e,t)))}const zg=typeof document<"u";function Xo(){if(zg)return;const e=Te(zc,null);if(e!==null)return{adapter:Pg,context:e}}function ls(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:bo}=hc(),Pi="vueuc-style";function ss(e){return e&-e}class Tg{constructor(t,o){this.l=t,this.min=o;const r=new Array(t+1);for(let n=0;nn)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*r;for(;t>0;)i+=o[t],t-=ss(t);return i}getBound(t){let o=0,r=this.l;for(;r>o;){const n=Math.floor((o+r)/2),i=this.sum(n);if(i>t){r=n;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Ia("lazy-teleport",this.$slots):c(yi,{disabled:this.disabled,to:this.mergedTo},Ia("lazy-teleport",this.$slots)):null}}),Nn={top:"bottom",bottom:"top",left:"right",right:"left"},cs={start:"end",center:"center",end:"start"},ta={top:"height",bottom:"height",left:"width",right:"width"},Bg={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Mg={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Og={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},us={top:!0,bottom:!1,left:!0,right:!1},fs={top:"end",bottom:"start",left:"end",right:"start"};function Ig(e,t,o,r,n,i){if(!n||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l??"center",d={top:0,left:0};const u=(g,f,v)=>{let m=0,b=0;const C=o[g]-t[f]-t[g];return C>0&&r&&(v?b=us[f]?C:-C:m=us[f]?C:-C),{left:m,top:b}},h=a==="left"||a==="right";if(s!=="center"){const g=Og[e],f=Nn[g],v=ta[g];if(o[v]>t[v]){if(t[g]+t[v]t[f]&&(s=cs[l])}else{const g=a==="bottom"||a==="top"?"left":"top",f=Nn[g],v=ta[g],m=(o[v]-t[v])/2;(t[g]t[f]?(s=fs[g],d=u(v,g,h)):(s=fs[f],d=u(v,f,h)))}let p=a;return t[a] *",{pointerEvents:"all"})])]),Ti=ne({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Te("VBinder"),o=Ye(()=>e.enabled!==void 0?e.enabled:e.show),r=E(null),n=E(null),i=()=>{const{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(s),p.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};gt(()=>{o.value&&(s(),i())});const l=Xo();Ag.mount({id:"vueuc/binder",head:!0,anchorMetaName:Pi,ssr:l}),dt(()=>{a()}),xc(()=>{o.value&&s()});const s=()=>{if(!o.value)return;const p=r.value;if(p===null)return;const g=t.targetRef,{x:f,y:v,overlap:m}=e,b=f!==void 0&&v!==void 0?bg(f,v):Qi(g);p.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);const{width:C,minWidth:R,placement:$,internalShift:S,flip:w}=e;p.setAttribute("v-placement",$),m?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");const{style:x}=p;C==="target"?x.width=`${b.width}px`:C!==void 0?x.width=C:x.width="",R==="target"?x.minWidth=`${b.width}px`:R!==void 0?x.minWidth=R:x.minWidth="";const k=Qi(p),P=Qi(n.value),{left:I,top:A,placement:O}=Ig($,b,k,S,w,m),L=Fg(O,m),{left:H,top:_,transform:U}=Eg(O,P,b,A,I,m);p.setAttribute("v-placement",O),p.style.setProperty("--v-offset-left",`${Math.round(I)}px`),p.style.setProperty("--v-offset-top",`${Math.round(A)}px`),p.style.transform=`translateX(${H}) translateY(${_}) ${U}`,p.style.setProperty("--v-transform-origin",L),p.style.transformOrigin=L};Je(o,p=>{p?(i(),d()):a()});const d=()=>{ut().then(s).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{Je(he(e,p),s)}),["teleportDisabled"].forEach(p=>{Je(he(e,p),d)}),Je(he(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),p.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const u=Ao(),h=Ye(()=>{const{to:p}=e;if(p!==void 0)return p;u.value});return{VBinder:t,mergedEnabled:o,offsetContainerRef:n,followerRef:r,mergedTo:h,syncPosition:s}},render(){return c(zi,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const o=c("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[c("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?It(o,[[On,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):o}})}});var lr=[],Lg=function(){return lr.some(function(e){return e.activeTargets.length>0})},_g=function(){return lr.some(function(e){return e.skippedTargets.length>0})},hs="ResizeObserver loop completed with undelivered notifications.",Dg=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:hs}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=hs),window.dispatchEvent(e)},yn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(yn||(yn={}));var sr=function(e){return Object.freeze(e)},Hg=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,sr(this)}return e}(),Tc=function(){function e(t,o,r,n){return this.x=t,this.y=o,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,sr(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,r=t.y,n=t.top,i=t.right,a=t.bottom,l=t.left,s=t.width,d=t.height;return{x:o,y:r,top:n,right:i,bottom:a,left:l,width:s,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),sl=function(e){return e instanceof SVGElement&&"getBBox"in e},Bc=function(e){if(sl(e)){var t=e.getBBox(),o=t.width,r=t.height;return!o&&!r}var n=e,i=n.offsetWidth,a=n.offsetHeight;return!(i||a||e.getClientRects().length)},ps=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},jg=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},hn=typeof window<"u"?window:{},Vn=new WeakMap,vs=/auto|scroll/,Wg=/^tb|vertical/,Ng=/msie|trident/i.test(hn.navigator&&hn.navigator.userAgent),ho=function(e){return parseFloat(e||"0")},Fr=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Hg((o?t:e)||0,(o?e:t)||0)},gs=sr({devicePixelContentBoxSize:Fr(),borderBoxSize:Fr(),contentBoxSize:Fr(),contentRect:new Tc(0,0,0,0)}),Mc=function(e,t){if(t===void 0&&(t=!1),Vn.has(e)&&!t)return Vn.get(e);if(Bc(e))return Vn.set(e,gs),gs;var o=getComputedStyle(e),r=sl(e)&&e.ownerSVGElement&&e.getBBox(),n=!Ng&&o.boxSizing==="border-box",i=Wg.test(o.writingMode||""),a=!r&&vs.test(o.overflowY||""),l=!r&&vs.test(o.overflowX||""),s=r?0:ho(o.paddingTop),d=r?0:ho(o.paddingRight),u=r?0:ho(o.paddingBottom),h=r?0:ho(o.paddingLeft),p=r?0:ho(o.borderTopWidth),g=r?0:ho(o.borderRightWidth),f=r?0:ho(o.borderBottomWidth),v=r?0:ho(o.borderLeftWidth),m=h+d,b=s+u,C=v+g,R=p+f,$=l?e.offsetHeight-R-e.clientHeight:0,S=a?e.offsetWidth-C-e.clientWidth:0,w=n?m+C:0,x=n?b+R:0,k=r?r.width:ho(o.width)-w-S,P=r?r.height:ho(o.height)-x-$,I=k+m+S+C,A=P+b+$+R,O=sr({devicePixelContentBoxSize:Fr(Math.round(k*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:Fr(I,A,i),contentBoxSize:Fr(k,P,i),contentRect:new Tc(h,s,k,P)});return Vn.set(e,O),O},Oc=function(e,t,o){var r=Mc(e,o),n=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case yn.DEVICE_PIXEL_CONTENT_BOX:return a;case yn.BORDER_BOX:return n;default:return i}},Vg=function(){function e(t){var o=Mc(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=sr([o.borderBoxSize]),this.contentBoxSize=sr([o.contentBoxSize]),this.devicePixelContentBoxSize=sr([o.devicePixelContentBoxSize])}return e}(),Ic=function(e){if(Bc(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Ug=function(){var e=1/0,t=[];lr.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var u=new Vg(d.target),h=Ic(d.target);l.push(u),d.lastReportedSize=Oc(d.target,d.observedBox),he?o.activeTargets.push(n):o.skippedTargets.push(n))})})},Kg=function(){var e=0;for(bs(e);Lg();)e=Ug(),bs(e);return _g()&&Dg(),e>0},oa,Fc=[],qg=function(){return Fc.splice(0).forEach(function(e){return e()})},Gg=function(e){if(!oa){var t=0,o=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return qg()}).observe(o,r),oa=function(){o.textContent="".concat(t?t--:t++)}}Fc.push(e),oa()},Xg=function(e){Gg(function(){requestAnimationFrame(e)})},ni=0,Yg=function(){return!!ni},Zg=250,Jg={attributes:!0,characterData:!0,childList:!0,subtree:!0},ms=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],xs=function(e){return e===void 0&&(e=0),Date.now()+e},ra=!1,Qg=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=Zg),!ra){ra=!0;var r=xs(t);Xg(function(){var n=!1;try{n=Kg()}finally{if(ra=!1,t=r-xs(),!Yg())return;n?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,Jg)};document.body?o():hn.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ms.forEach(function(o){return hn.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),ms.forEach(function(o){return hn.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Ea=new Qg,Cs=function(e){!ni&&e>0&&Ea.start(),ni+=e,!ni&&Ea.stop()},eb=function(e){return!sl(e)&&!jg(e)&&getComputedStyle(e).display==="inline"},tb=function(){function e(t,o){this.target=t,this.observedBox=o||yn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Oc(this.target,this.observedBox,!0);return eb(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),ob=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Un=new WeakMap,ys=function(e,t){for(var o=0;o=0&&(i&&lr.splice(lr.indexOf(r),1),r.observationTargets.splice(n,1),Cs(-1))},e.disconnect=function(t){var o=this,r=Un.get(t);r.observationTargets.slice().forEach(function(n){return o.unobserve(t,n.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),rb=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Kn.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ps(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ps(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.unobserve(this,t)},e.prototype.disconnect=function(){Kn.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class nb{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||rb)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const o of t){const r=this.elHandlersMap.get(o.target);r!==void 0&&r(o)}}registerHandler(t,o){this.elHandlersMap.set(t,o),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const ci=new nb,io=ne({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const o=Nr().proxy;function r(n){const{onResize:i}=e;i!==void 0&&i(n)}gt(()=>{const n=o.$el;if(n===void 0){ls("resize-observer","$el does not exist.");return}if(n.nextElementSibling!==n.nextSibling&&n.nodeType===3&&n.nodeValue!==""){ls("resize-observer","$el can not be observed (it may be a text node).");return}n.nextElementSibling!==null&&(ci.registerHandler(n.nextElementSibling,r),t=!0)}),dt(()=>{t&&ci.unregisterHandler(o.$el.nextElementSibling)})},render(){return tc(this.$slots,"default")}});let qn;function ib(){return typeof document>"u"?!1:(qn===void 0&&("matchMedia"in window?qn=window.matchMedia("(pointer:coarse)").matches:qn=!1),qn)}let na;function ws(){return typeof document>"u"?1:(na===void 0&&(na="chrome"in window?window.devicePixelRatio:1),na)}const ab=bo(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[bo("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[bo("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Ec=ne({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Xo();ab.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Pi,ssr:t}),gt(()=>{const{defaultScrollIndex:A,defaultScrollKey:O}=e;A!=null?f({index:A}):O!=null&&f({key:O})});let o=!1,r=!1;oc(()=>{if(o=!1,!r){r=!0;return}f({top:h.value,left:u})}),nl(()=>{o=!0,r||(r=!0)});const n=T(()=>{const A=new Map,{keyField:O}=e;return e.items.forEach((L,H)=>{A.set(L[O],H)}),A}),i=E(null),a=E(void 0),l=new Map,s=T(()=>{const{items:A,itemSize:O,keyField:L}=e,H=new Tg(A.length,O);return A.forEach((_,U)=>{const N=_[L],te=l.get(N);te!==void 0&&H.add(U,te)}),H}),d=E(0);let u=0;const h=E(0),p=Ye(()=>Math.max(s.value.getBound(h.value-Tt(e.paddingTop))-1,0)),g=T(()=>{const{value:A}=a;if(A===void 0)return[];const{items:O,itemSize:L}=e,H=p.value,_=Math.min(H+Math.ceil(A/L+1),O.length-1),U=[];for(let N=H;N<=_;++N)U.push(O[N]);return U}),f=(A,O)=>{if(typeof A=="number"){C(A,O,"auto");return}const{left:L,top:H,index:_,key:U,position:N,behavior:te,debounce:fe=!0}=A;if(L!==void 0||H!==void 0)C(L,H,te);else if(_!==void 0)b(_,te,fe);else if(U!==void 0){const ae=n.value.get(U);ae!==void 0&&b(ae,te,fe)}else N==="bottom"?C(0,Number.MAX_SAFE_INTEGER,te):N==="top"&&C(0,0,te)};let v,m=null;function b(A,O,L){const{value:H}=s,_=H.sum(A)+Tt(e.paddingTop);if(!L)i.value.scrollTo({left:0,top:_,behavior:O});else{v=A,m!==null&&window.clearTimeout(m),m=window.setTimeout(()=>{v=void 0,m=null},16);const{scrollTop:U,offsetHeight:N}=i.value;if(_>U){const te=H.get(A);_+te<=U+N||i.value.scrollTo({left:0,top:_+te-N,behavior:O})}else i.value.scrollTo({left:0,top:_,behavior:O})}}function C(A,O,L){i.value.scrollTo({left:A,top:O,behavior:L})}function R(A,O){var L,H,_;if(o||e.ignoreItemResize||I(O.target))return;const{value:U}=s,N=n.value.get(A),te=U.get(N),fe=(_=(H=(L=O.borderBoxSize)===null||L===void 0?void 0:L[0])===null||H===void 0?void 0:H.blockSize)!==null&&_!==void 0?_:O.contentRect.height;if(fe===te)return;fe-e.itemSize===0?l.delete(A):l.set(A,fe-e.itemSize);const Y=fe-te;if(Y===0)return;U.add(N,Y);const j=i.value;if(j!=null){if(v===void 0){const X=U.sum(N);j.scrollTop>X&&j.scrollBy(0,Y)}else if(Nj.scrollTop+j.offsetHeight&&j.scrollBy(0,Y)}P()}d.value++}const $=!ib();let S=!1;function w(A){var O;(O=e.onScroll)===null||O===void 0||O.call(e,A),(!$||!S)&&P()}function x(A){var O;if((O=e.onWheel)===null||O===void 0||O.call(e,A),$){const L=i.value;if(L!=null){if(A.deltaX===0&&(L.scrollTop===0&&A.deltaY<=0||L.scrollTop+L.offsetHeight>=L.scrollHeight&&A.deltaY>=0))return;A.preventDefault(),L.scrollTop+=A.deltaY/ws(),L.scrollLeft+=A.deltaX/ws(),P(),S=!0,Ar(()=>{S=!1})}}}function k(A){if(o||I(A.target)||A.contentRect.height===a.value)return;a.value=A.contentRect.height;const{onResize:O}=e;O!==void 0&&O(A)}function P(){const{value:A}=i;A!=null&&(h.value=A.scrollTop,u=A.scrollLeft)}function I(A){let O=A;for(;O!==null;){if(O.style.display==="none")return!0;O=O.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:n,itemsStyle:T(()=>{const{itemResizable:A}=e,O=St(s.value.sum());return d.value,[e.itemsStyle,{boxSizing:"content-box",height:A?"":O,minHeight:A?O:"",paddingTop:St(e.paddingTop),paddingBottom:St(e.paddingBottom)}]}),visibleItemsStyle:T(()=>(d.value,{transform:`translateY(${St(s.value.sum(p.value))})`})),viewportItems:g,listElRef:i,itemsElRef:E(null),scrollTo:f,handleListResize:k,handleListScroll:w,handleListWheel:x,handleItemResize:R}},render(){const{itemResizable:e,keyField:t,keyToIndex:o,visibleItemsTag:r}=this;return c(io,{onResize:this.handleListResize},{default:()=>{var n,i;return c("div",Ft(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?c("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[c(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const l=a[t],s=o.get(l),d=this.$slots.default({item:a,index:s})[0];return e?c(io,{key:l,onResize:u=>this.handleItemResize(l,u)},{default:()=>d}):(d.key=l,d)})})]):(i=(n=this.$slots).empty)===null||i===void 0?void 0:i.call(n)])}})}}),lb=bo(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[bo("&::-webkit-scrollbar",{width:0,height:0})]),sb=ne({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=E(null);function t(n){!(n.currentTarget.offsetWidthp){const{updateCounter:w}=e;for(let x=R;x>=0;--x){const k=b-1-x;w!==void 0?w(k):u.textContent=`${k}`;const P=u.offsetWidth;if(v-=g[x],v+P<=p||x===0){m=!0,R=x-1,f&&(R===-1?(f.style.maxWidth=`${p-P}px`,f.style.boxSizing="border-box"):f.style.maxWidth="");const{onUpdateCount:I}=e;I&&I(k);break}}}}const{onUpdateOverflow:C}=e;m?C!==void 0&&C(!0):(C!==void 0&&C(!1),u.setAttribute(Bo,""))}const i=Xo();return db.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Pi,ssr:i}),gt(()=>n({showAllItemsBeforeCalculate:!1})),{selfRef:o,counterRef:r,sync:n}},render(){const{$slots:e}=this;return ut(()=>this.sync({showAllItemsBeforeCalculate:!1})),c("div",{class:"v-overflow",ref:"selfRef"},[tc(e,"default"),e.counter?e.counter():c("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Ac(e){return e instanceof HTMLElement}function Lc(e){for(let t=0;t=0;t--){const o=e.childNodes[t];if(Ac(o)&&(Dc(o)||_c(o)))return!0}return!1}function Dc(e){if(!cb(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function cb(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let rn=[];const dl=ne({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Vo(),o=E(null),r=E(null);let n=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function l(){return rn[rn.length-1]===t}function s(m){var b;m.code==="Escape"&&l()&&((b=e.onEsc)===null||b===void 0||b.call(e,m))}gt(()=>{Je(()=>e.active,m=>{m?(h(),tt("keydown",document,s)):(Xe("keydown",document,s),n&&p())},{immediate:!0})}),dt(()=>{Xe("keydown",document,s),n&&p()});function d(m){if(!i&&l()){const b=u();if(b===null||b.contains(Lr(m)))return;g("first")}}function u(){const m=o.value;if(m===null)return null;let b=m;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function h(){var m;if(!e.disabled){if(rn.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?g("first"):(m=ds(b))===null||m===void 0||m.focus({preventScroll:!0})}n=!0,document.addEventListener("focus",d,!0)}}function p(){var m;if(e.disabled||(document.removeEventListener("focus",d,!0),rn=rn.filter(C=>C!==t),l()))return;const{finalFocusTo:b}=e;b!==void 0?(m=ds(b))===null||m===void 0||m.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function g(m){if(l()&&e.active){const b=o.value,C=r.value;if(b!==null&&C!==null){const R=u();if(R==null||R===C){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const $=m==="first"?Lc(R):_c(R);i=!1,$||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function f(m){if(i)return;const b=u();b!==null&&(m.relatedTarget!==null&&b.contains(m.relatedTarget)?g("last"):g("first"))}function v(m){i||(m.relatedTarget!==null&&m.relatedTarget===o.value?g("last"):g("first"))}return{focusableStartRef:o,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:f,handleEndFocus:v}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:o}=this;return c(yt,null,[c("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:o,onFocus:this.handleStartFocus}),e(),c("div",{"aria-hidden":"true",style:o,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function Hc(e,t){t&&(gt(()=>{const{value:o}=e;o&&ci.registerHandler(o,t)}),dt(()=>{const{value:o}=e;o&&ci.unregisterHandler(o)}))}let Rr=0,ks="",$s="",Rs="",Ps="";const zs=E("0px");function jc(e){if(typeof document>"u")return;const t=document.documentElement;let o,r=!1;const n=()=>{t.style.marginRight=ks,t.style.overflow=$s,t.style.overflowX=Rs,t.style.overflowY=Ps,zs.value="0px"};gt(()=>{o=Je(e,i=>{if(i){if(!Rr){const a=window.innerWidth-t.offsetWidth;a>0&&(ks=t.style.marginRight,t.style.marginRight=`${a}px`,zs.value=`${a}px`),$s=t.style.overflow,Rs=t.style.overflowX,Ps=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}r=!0,Rr++}else Rr--,Rr||n(),r=!1},{immediate:!0})}),dt(()=>{o==null||o(),r&&(Rr--,Rr||n(),r=!1)})}const cl=E(!1),Ts=()=>{cl.value=!0},Bs=()=>{cl.value=!1};let nn=0;const Wc=()=>(Eo&&(Fo(()=>{nn||(window.addEventListener("compositionstart",Ts),window.addEventListener("compositionend",Bs)),nn++}),dt(()=>{nn<=1?(window.removeEventListener("compositionstart",Ts),window.removeEventListener("compositionend",Bs),nn=0):nn--})),cl);function ul(e){const t={isDeactivated:!1};let o=!1;return oc(()=>{if(t.isDeactivated=!1,!o){o=!0;return}e()}),nl(()=>{t.isDeactivated=!0,o||(o=!0)}),t}const Nc=(e,t)=>{if(!e)return;const o=document.createElement("a");o.href=e,t!==void 0&&(o.download=t),document.body.appendChild(o),o.click(),document.body.removeChild(o)},Aa="n-form-item";function So(e,{defaultSize:t="medium",mergedSize:o,mergedDisabled:r}={}){const n=Te(Aa,null);Ue(Aa,null);const i=T(o?()=>o(n):()=>{const{size:s}=e;if(s)return s;if(n){const{mergedSize:d}=n;if(d.value!==void 0)return d.value}return t}),a=T(r?()=>r(n):()=>{const{disabled:s}=e;return s!==void 0?s:n?n.disabled.value:!1}),l=T(()=>{const{status:s}=e;return s||(n==null?void 0:n.mergedValidationStatus.value)});return dt(()=>{n&&n.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:l,nTriggerFormBlur(){n&&n.handleContentBlur()},nTriggerFormChange(){n&&n.handleContentChange()},nTriggerFormFocus(){n&&n.handleContentFocus()},nTriggerFormInput(){n&&n.handleContentInput()}}}var ub=typeof global=="object"&&global&&global.Object===Object&&global;const Vc=ub;var fb=typeof self=="object"&&self&&self.Object===Object&&self,hb=Vc||fb||Function("return this")();const Zt=hb;var pb=Zt.Symbol;const Ko=pb;var Uc=Object.prototype,vb=Uc.hasOwnProperty,gb=Uc.toString,an=Ko?Ko.toStringTag:void 0;function bb(e){var t=vb.call(e,an),o=e[an];try{e[an]=void 0;var r=!0}catch{}var n=gb.call(e);return r&&(t?e[an]=o:delete e[an]),n}var mb=Object.prototype,xb=mb.toString;function Cb(e){return xb.call(e)}var yb="[object Null]",wb="[object Undefined]",Ms=Ko?Ko.toStringTag:void 0;function pr(e){return e==null?e===void 0?wb:yb:Ms&&Ms in Object(e)?bb(e):Cb(e)}function qo(e){return e!=null&&typeof e=="object"}var Sb="[object Symbol]";function Bi(e){return typeof e=="symbol"||qo(e)&&pr(e)==Sb}function Kc(e,t){for(var o=-1,r=e==null?0:e.length,n=Array(r);++o0){if(++t>=im)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function dm(e){return function(){return e}}var cm=function(){try{var e=gr(Object,"defineProperty");return e({},"",{}),e}catch{}}();const fi=cm;var um=fi?function(e,t){return fi(e,"toString",{configurable:!0,enumerable:!1,value:dm(t),writable:!0})}:fl;const fm=um;var hm=sm(fm);const pm=hm;var vm=9007199254740991,gm=/^(?:0|[1-9]\d*)$/;function pl(e,t){var o=typeof e;return t=t??vm,!!t&&(o=="number"||o!="symbol"&&gm.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=Sm}function Gr(e){return e!=null&&gl(e.length)&&!hl(e)}function km(e,t,o){if(!Yt(o))return!1;var r=typeof t;return(r=="number"?Gr(o)&&pl(t,o.length):r=="string"&&t in o)?In(o[t],e):!1}function $m(e){return wm(function(t,o){var r=-1,n=o.length,i=n>1?o[n-1]:void 0,a=n>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&km(o[0],o[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++r-1}function W0(e,t){var o=this.__data__,r=Mi(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this}function Lo(e){var t=-1,o=e==null?0:e.length;for(this.clear();++tn?0:n+t),o=o>n?n:o,o<0&&(o+=n),n=t>o?0:o-t>>>0,t>>>=0;for(var i=Array(n);++r=r?e:fx(e,t,o)}var px="\\ud800-\\udfff",vx="\\u0300-\\u036f",gx="\\ufe20-\\ufe2f",bx="\\u20d0-\\u20ff",mx=vx+gx+bx,xx="\\ufe0e\\ufe0f",Cx="\\u200d",yx=RegExp("["+Cx+px+mx+xx+"]");function nu(e){return yx.test(e)}function wx(e){return e.split("")}var iu="\\ud800-\\udfff",Sx="\\u0300-\\u036f",kx="\\ufe20-\\ufe2f",$x="\\u20d0-\\u20ff",Rx=Sx+kx+$x,Px="\\ufe0e\\ufe0f",zx="["+iu+"]",_a="["+Rx+"]",Da="\\ud83c[\\udffb-\\udfff]",Tx="(?:"+_a+"|"+Da+")",au="[^"+iu+"]",lu="(?:\\ud83c[\\udde6-\\uddff]){2}",su="[\\ud800-\\udbff][\\udc00-\\udfff]",Bx="\\u200d",du=Tx+"?",cu="["+Px+"]?",Mx="(?:"+Bx+"(?:"+[au,lu,su].join("|")+")"+cu+du+")*",Ox=cu+du+Mx,Ix="(?:"+[au+_a+"?",_a,lu,su,zx].join("|")+")",Fx=RegExp(Da+"(?="+Da+")|"+Ix+Ox,"g");function Ex(e){return e.match(Fx)||[]}function Ax(e){return nu(e)?Ex(e):wx(e)}function Lx(e){return function(t){t=Dr(t);var o=nu(t)?Ax(t):void 0,r=o?o[0]:t.charAt(0),n=o?hx(o,1).join(""):t.slice(1);return r[e]()+n}}var _x=Lx("toUpperCase");const Dx=_x;function Hx(e,t,o,r){var n=-1,i=e==null?0:e.length;for(r&&i&&(o=e[++n]);++nl))return!1;var d=i.get(e),u=i.get(t);if(d&&u)return d==t&&u==e;var h=-1,p=!0,g=o&hC?new gi:void 0;for(i.set(e,t),i.set(t,e);++h=t||x<0||h&&k>=i}function b(){var w=sa();if(m(w))return C(w);l=setTimeout(b,v(w))}function C(w){return l=void 0,p&&r?g(w):(r=n=void 0,a)}function R(){l!==void 0&&clearTimeout(l),d=0,r=s=n=l=void 0}function $(){return l===void 0?a:C(sa())}function S(){var w=sa(),x=m(w);if(r=arguments,n=this,s=w,x){if(l===void 0)return f(s);if(h)return clearTimeout(l),l=setTimeout(b,t),g(s)}return l===void 0&&(l=setTimeout(b,t)),a}return S.cancel=R,S.flush=$,S}function Na(e,t,o){(o!==void 0&&!In(e[t],o)||o===void 0&&!(t in e))&&vl(e,t,o)}function dy(e){return qo(e)&&Gr(e)}function Va(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function cy(e){return Cm(e,Qc(e))}function uy(e,t,o,r,n,i,a){var l=Va(e,o),s=Va(t,o),d=a.get(s);if(d){Na(e,o,d);return}var u=i?i(l,s,o+"",e,t,a):void 0,h=u===void 0;if(h){var p=Xt(s),g=!p&&pi(s),f=!p&&!g&&ml(s);u=s,p||g||f?Xt(l)?u=l:dy(l)?u=nm(l):g?(h=!1,u=H1(s,!0)):f?(h=!1,u=iC(s,!0)):u=[]:ux(s)||hi(s)?(u=l,hi(l)?u=cy(l):(!Yt(l)||hl(l))&&(u=aC(s))):h=!1}h&&(a.set(s,u),n(u,s,r,i,a),a.delete(s)),Na(e,o,u)}function Tu(e,t,o,r,n){e!==t&&zu(t,function(i,a){if(n||(n=new mo),Yt(i))uy(e,t,a,o,Tu,r,n);else{var l=r?r(Va(e,a),i,a+"",e,t,n):void 0;l===void 0&&(l=i),Na(e,a,l)}},Qc)}function fy(e,t){var o=-1,r=Gr(e)?Array(e.length):[];return ry(e,function(n,i,a){r[++o]=t(n,i,a)}),r}function hy(e,t){var o=Xt(e)?Kc:fy;return o(e,ZC(t))}var py=T1(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()});const vy=py;var gy=$m(function(e,t,o){Tu(e,t,o)});const Mr=gy;var by=O1("round");const my=by;var xy="Expected a function";function da(e,t,o){var r=!0,n=!0;if(typeof e!="function")throw new TypeError(xy);return Yt(o)&&(r="leading"in o?!!o.leading:r,n="trailing"in o?!!o.trailing:n),sy(e,t,{leading:r,maxWait:t,trailing:n})}const Ut={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:Cy,fontFamily:yy,lineHeight:wy}=Ut,Bu=z("body",` +`}function Bg(e,t){const o=Te(Tc,null);if(o===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:r,ids:n}=o;n.has(e)||r!==null&&(n.add(e),r.push(Tg(e,t)))}const Og=typeof document<"u";function Xo(){if(Og)return;const e=Te(Tc,null);if(e!==null)return{adapter:Bg,context:e}}function ds(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:mo}=vc(),Pi="vueuc-style";function cs(e){return e&-e}class Mg{constructor(t,o){this.l=t,this.min=o;const r=new Array(t+1);for(let n=0;nn)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*r;for(;t>0;)i+=o[t],t-=cs(t);return i}getBound(t){let o=0,r=this.l;for(;r>o;){const n=Math.floor((o+r)/2),i=this.sum(n);if(i>t){r=n;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Ia("lazy-teleport",this.$slots):c(yi,{disabled:this.disabled,to:this.mergedTo},Ia("lazy-teleport",this.$slots)):null}}),jn={top:"bottom",bottom:"top",left:"right",right:"left"},fs={start:"end",center:"center",end:"start"},ta={top:"height",bottom:"height",left:"width",right:"width"},Ig={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Fg={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Eg={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},hs={top:!0,bottom:!1,left:!0,right:!1},ps={top:"end",bottom:"start",left:"end",right:"start"};function Lg(e,t,o,r,n,i){if(!n||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l??"center",d={top:0,left:0};const u=(g,f,v)=>{let b=0,m=0;const C=o[g]-t[f]-t[g];return C>0&&r&&(v?m=hs[f]?C:-C:b=hs[f]?C:-C),{left:b,top:m}},h=a==="left"||a==="right";if(s!=="center"){const g=Eg[e],f=jn[g],v=ta[g];if(o[v]>t[v]){if(t[g]+t[v]t[f]&&(s=fs[l])}else{const g=a==="bottom"||a==="top"?"left":"top",f=jn[g],v=ta[g],b=(o[v]-t[v])/2;(t[g]t[f]?(s=ps[g],d=u(v,g,h)):(s=ps[f],d=u(v,f,h)))}let p=a;return t[a] *",{pointerEvents:"all"})])]),Ti=re({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Te("VBinder"),o=Ye(()=>e.enabled!==void 0?e.enabled:e.show),r=E(null),n=E(null),i=()=>{const{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(s),p.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};gt(()=>{o.value&&(s(),i())});const l=Xo();Dg.mount({id:"vueuc/binder",head:!0,anchorMetaName:Pi,ssr:l}),dt(()=>{a()}),al(()=>{o.value&&s()});const s=()=>{if(!o.value)return;const p=r.value;if(p===null)return;const g=t.targetRef,{x:f,y:v,overlap:b}=e,m=f!==void 0&&v!==void 0?Cg(f,v):Qi(g);p.style.setProperty("--v-target-width",`${Math.round(m.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(m.height)}px`);const{width:C,minWidth:R,placement:$,internalShift:S,flip:w}=e;p.setAttribute("v-placement",$),b?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");const{style:x}=p;C==="target"?x.width=`${m.width}px`:C!==void 0?x.width=C:x.width="",R==="target"?x.minWidth=`${m.width}px`:R!==void 0?x.minWidth=R:x.minWidth="";const k=Qi(p),P=Qi(n.value),{left:M,top:L,placement:I}=Lg($,m,k,S,w,b),A=Ag(I,b),{left:H,top:_,transform:U}=_g(I,P,m,L,M,b);p.setAttribute("v-placement",I),p.style.setProperty("--v-offset-left",`${Math.round(M)}px`),p.style.setProperty("--v-offset-top",`${Math.round(L)}px`),p.style.transform=`translateX(${H}) translateY(${_}) ${U}`,p.style.setProperty("--v-transform-origin",A),p.style.transformOrigin=A};Je(o,p=>{p?(i(),d()):a()});const d=()=>{ut().then(s).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{Je(he(e,p),s)}),["teleportDisabled"].forEach(p=>{Je(he(e,p),d)}),Je(he(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),p.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const u=Lo(),h=Ye(()=>{const{to:p}=e;if(p!==void 0)return p;u.value});return{VBinder:t,mergedEnabled:o,offsetContainerRef:n,followerRef:r,mergedTo:h,syncPosition:s}},render(){return c(zi,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const o=c("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[c("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?It(o,[[Mn,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):o}})}});var lr=[],Hg=function(){return lr.some(function(e){return e.activeTargets.length>0})},Wg=function(){return lr.some(function(e){return e.skippedTargets.length>0})},vs="ResizeObserver loop completed with undelivered notifications.",Ng=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:vs}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=vs),window.dispatchEvent(e)},yn;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(yn||(yn={}));var sr=function(e){return Object.freeze(e)},jg=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,sr(this)}return e}(),Bc=function(){function e(t,o,r,n){return this.x=t,this.y=o,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,sr(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,r=t.y,n=t.top,i=t.right,a=t.bottom,l=t.left,s=t.width,d=t.height;return{x:o,y:r,top:n,right:i,bottom:a,left:l,width:s,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),dl=function(e){return e instanceof SVGElement&&"getBBox"in e},Oc=function(e){if(dl(e)){var t=e.getBBox(),o=t.width,r=t.height;return!o&&!r}var n=e,i=n.offsetWidth,a=n.offsetHeight;return!(i||a||e.getClientRects().length)},gs=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},Vg=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},hn=typeof window<"u"?window:{},Vn=new WeakMap,ms=/auto|scroll/,Ug=/^tb|vertical/,Kg=/msie|trident/i.test(hn.navigator&&hn.navigator.userAgent),ho=function(e){return parseFloat(e||"0")},Fr=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new jg((o?t:e)||0,(o?e:t)||0)},bs=sr({devicePixelContentBoxSize:Fr(),borderBoxSize:Fr(),contentBoxSize:Fr(),contentRect:new Bc(0,0,0,0)}),Mc=function(e,t){if(t===void 0&&(t=!1),Vn.has(e)&&!t)return Vn.get(e);if(Oc(e))return Vn.set(e,bs),bs;var o=getComputedStyle(e),r=dl(e)&&e.ownerSVGElement&&e.getBBox(),n=!Kg&&o.boxSizing==="border-box",i=Ug.test(o.writingMode||""),a=!r&&ms.test(o.overflowY||""),l=!r&&ms.test(o.overflowX||""),s=r?0:ho(o.paddingTop),d=r?0:ho(o.paddingRight),u=r?0:ho(o.paddingBottom),h=r?0:ho(o.paddingLeft),p=r?0:ho(o.borderTopWidth),g=r?0:ho(o.borderRightWidth),f=r?0:ho(o.borderBottomWidth),v=r?0:ho(o.borderLeftWidth),b=h+d,m=s+u,C=v+g,R=p+f,$=l?e.offsetHeight-R-e.clientHeight:0,S=a?e.offsetWidth-C-e.clientWidth:0,w=n?b+C:0,x=n?m+R:0,k=r?r.width:ho(o.width)-w-S,P=r?r.height:ho(o.height)-x-$,M=k+b+S+C,L=P+m+$+R,I=sr({devicePixelContentBoxSize:Fr(Math.round(k*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:Fr(M,L,i),contentBoxSize:Fr(k,P,i),contentRect:new Bc(h,s,k,P)});return Vn.set(e,I),I},Ic=function(e,t,o){var r=Mc(e,o),n=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case yn.DEVICE_PIXEL_CONTENT_BOX:return a;case yn.BORDER_BOX:return n;default:return i}},Gg=function(){function e(t){var o=Mc(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=sr([o.borderBoxSize]),this.contentBoxSize=sr([o.contentBoxSize]),this.devicePixelContentBoxSize=sr([o.devicePixelContentBoxSize])}return e}(),Fc=function(e){if(Oc(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},qg=function(){var e=1/0,t=[];lr.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(d){var u=new Gg(d.target),h=Fc(d.target);l.push(u),d.lastReportedSize=Ic(d.target,d.observedBox),he?o.activeTargets.push(n):o.skippedTargets.push(n))})})},Xg=function(){var e=0;for(xs(e);Hg();)e=qg(),xs(e);return Wg()&&Ng(),e>0},oa,Ec=[],Yg=function(){return Ec.splice(0).forEach(function(e){return e()})},Zg=function(e){if(!oa){var t=0,o=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Yg()}).observe(o,r),oa=function(){o.textContent="".concat(t?t--:t++)}}Ec.push(e),oa()},Jg=function(e){Zg(function(){requestAnimationFrame(e)})},ni=0,Qg=function(){return!!ni},em=250,tm={attributes:!0,characterData:!0,childList:!0,subtree:!0},Cs=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ys=function(e){return e===void 0&&(e=0),Date.now()+e},ra=!1,om=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=em),!ra){ra=!0;var r=ys(t);Jg(function(){var n=!1;try{n=Xg()}finally{if(ra=!1,t=r-ys(),!Qg())return;n?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,tm)};document.body?o():hn.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Cs.forEach(function(o){return hn.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Cs.forEach(function(o){return hn.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Ea=new om,ws=function(e){!ni&&e>0&&Ea.start(),ni+=e,!ni&&Ea.stop()},rm=function(e){return!dl(e)&&!Vg(e)&&getComputedStyle(e).display==="inline"},nm=function(){function e(t,o){this.target=t,this.observedBox=o||yn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Ic(this.target,this.observedBox,!0);return rm(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),im=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Un=new WeakMap,Ss=function(e,t){for(var o=0;o=0&&(i&&lr.splice(lr.indexOf(r),1),r.observationTargets.splice(n,1),ws(-1))},e.disconnect=function(t){var o=this,r=Un.get(t);r.observationTargets.slice().forEach(function(n){return o.unobserve(t,n.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),am=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Kn.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gs(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!gs(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Kn.unobserve(this,t)},e.prototype.disconnect=function(){Kn.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class lm{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||am)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const o of t){const r=this.elHandlersMap.get(o.target);r!==void 0&&r(o)}}registerHandler(t,o){this.elHandlersMap.set(t,o),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const ci=new lm,io=re({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const o=jr().proxy;function r(n){const{onResize:i}=e;i!==void 0&&i(n)}gt(()=>{const n=o.$el;if(n===void 0){ds("resize-observer","$el does not exist.");return}if(n.nextElementSibling!==n.nextSibling&&n.nodeType===3&&n.nodeValue!==""){ds("resize-observer","$el can not be observed (it may be a text node).");return}n.nextElementSibling!==null&&(ci.registerHandler(n.nextElementSibling,r),t=!0)}),dt(()=>{t&&ci.unregisterHandler(o.$el.nextElementSibling)})},render(){return rc(this.$slots,"default")}});let Gn;function sm(){return typeof document>"u"?!1:(Gn===void 0&&("matchMedia"in window?Gn=window.matchMedia("(pointer:coarse)").matches:Gn=!1),Gn)}let na;function ks(){return typeof document>"u"?1:(na===void 0&&(na="chrome"in window?window.devicePixelRatio:1),na)}const dm=mo(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[mo("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[mo("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Lc=re({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Xo();dm.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Pi,ssr:t}),gt(()=>{const{defaultScrollIndex:L,defaultScrollKey:I}=e;L!=null?f({index:L}):I!=null&&f({key:I})});let o=!1,r=!1;nc(()=>{if(o=!1,!r){r=!0;return}f({top:h.value,left:u})}),nl(()=>{o=!0,r||(r=!0)});const n=T(()=>{const L=new Map,{keyField:I}=e;return e.items.forEach((A,H)=>{L.set(A[I],H)}),L}),i=E(null),a=E(void 0),l=new Map,s=T(()=>{const{items:L,itemSize:I,keyField:A}=e,H=new Mg(L.length,I);return L.forEach((_,U)=>{const N=_[A],ee=l.get(N);ee!==void 0&&H.add(U,ee)}),H}),d=E(0);let u=0;const h=E(0),p=Ye(()=>Math.max(s.value.getBound(h.value-Tt(e.paddingTop))-1,0)),g=T(()=>{const{value:L}=a;if(L===void 0)return[];const{items:I,itemSize:A}=e,H=p.value,_=Math.min(H+Math.ceil(L/A+1),I.length-1),U=[];for(let N=H;N<=_;++N)U.push(I[N]);return U}),f=(L,I)=>{if(typeof L=="number"){C(L,I,"auto");return}const{left:A,top:H,index:_,key:U,position:N,behavior:ee,debounce:ue=!0}=L;if(A!==void 0||H!==void 0)C(A,H,ee);else if(_!==void 0)m(_,ee,ue);else if(U!==void 0){const ae=n.value.get(U);ae!==void 0&&m(ae,ee,ue)}else N==="bottom"?C(0,Number.MAX_SAFE_INTEGER,ee):N==="top"&&C(0,0,ee)};let v,b=null;function m(L,I,A){const{value:H}=s,_=H.sum(L)+Tt(e.paddingTop);if(!A)i.value.scrollTo({left:0,top:_,behavior:I});else{v=L,b!==null&&window.clearTimeout(b),b=window.setTimeout(()=>{v=void 0,b=null},16);const{scrollTop:U,offsetHeight:N}=i.value;if(_>U){const ee=H.get(L);_+ee<=U+N||i.value.scrollTo({left:0,top:_+ee-N,behavior:I})}else i.value.scrollTo({left:0,top:_,behavior:I})}}function C(L,I,A){i.value.scrollTo({left:L,top:I,behavior:A})}function R(L,I){var A,H,_;if(o||e.ignoreItemResize||M(I.target))return;const{value:U}=s,N=n.value.get(L),ee=U.get(N),ue=(_=(H=(A=I.borderBoxSize)===null||A===void 0?void 0:A[0])===null||H===void 0?void 0:H.blockSize)!==null&&_!==void 0?_:I.contentRect.height;if(ue===ee)return;ue-e.itemSize===0?l.delete(L):l.set(L,ue-e.itemSize);const Y=ue-ee;if(Y===0)return;U.add(N,Y);const W=i.value;if(W!=null){if(v===void 0){const X=U.sum(N);W.scrollTop>X&&W.scrollBy(0,Y)}else if(NW.scrollTop+W.offsetHeight&&W.scrollBy(0,Y)}P()}d.value++}const $=!sm();let S=!1;function w(L){var I;(I=e.onScroll)===null||I===void 0||I.call(e,L),(!$||!S)&&P()}function x(L){var I;if((I=e.onWheel)===null||I===void 0||I.call(e,L),$){const A=i.value;if(A!=null){if(L.deltaX===0&&(A.scrollTop===0&&L.deltaY<=0||A.scrollTop+A.offsetHeight>=A.scrollHeight&&L.deltaY>=0))return;L.preventDefault(),A.scrollTop+=L.deltaY/ks(),A.scrollLeft+=L.deltaX/ks(),P(),S=!0,Lr(()=>{S=!1})}}}function k(L){if(o||M(L.target)||L.contentRect.height===a.value)return;a.value=L.contentRect.height;const{onResize:I}=e;I!==void 0&&I(L)}function P(){const{value:L}=i;L!=null&&(h.value=L.scrollTop,u=L.scrollLeft)}function M(L){let I=L;for(;I!==null;){if(I.style.display==="none")return!0;I=I.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:n,itemsStyle:T(()=>{const{itemResizable:L}=e,I=St(s.value.sum());return d.value,[e.itemsStyle,{boxSizing:"content-box",height:L?"":I,minHeight:L?I:"",paddingTop:St(e.paddingTop),paddingBottom:St(e.paddingBottom)}]}),visibleItemsStyle:T(()=>(d.value,{transform:`translateY(${St(s.value.sum(p.value))})`})),viewportItems:g,listElRef:i,itemsElRef:E(null),scrollTo:f,handleListResize:k,handleListScroll:w,handleListWheel:x,handleItemResize:R}},render(){const{itemResizable:e,keyField:t,keyToIndex:o,visibleItemsTag:r}=this;return c(io,{onResize:this.handleListResize},{default:()=>{var n,i;return c("div",Ft(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?c("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[c(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const l=a[t],s=o.get(l),d=this.$slots.default({item:a,index:s})[0];return e?c(io,{key:l,onResize:u=>this.handleItemResize(l,u)},{default:()=>d}):(d.key=l,d)})})]):(i=(n=this.$slots).empty)===null||i===void 0?void 0:i.call(n)])}})}}),cm=mo(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[mo("&::-webkit-scrollbar",{width:0,height:0})]),um=re({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=E(null);function t(n){!(n.currentTarget.offsetWidthp){const{updateCounter:w}=e;for(let x=R;x>=0;--x){const k=m-1-x;w!==void 0?w(k):u.textContent=`${k}`;const P=u.offsetWidth;if(v-=g[x],v+P<=p||x===0){b=!0,R=x-1,f&&(R===-1?(f.style.maxWidth=`${p-P}px`,f.style.boxSizing="border-box"):f.style.maxWidth="");const{onUpdateCount:M}=e;M&&M(k);break}}}}const{onUpdateOverflow:C}=e;b?C!==void 0&&C(!0):(C!==void 0&&C(!1),u.setAttribute(Oo,""))}const i=Xo();return fm.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Pi,ssr:i}),gt(()=>n({showAllItemsBeforeCalculate:!1})),{selfRef:o,counterRef:r,sync:n}},render(){const{$slots:e}=this;return ut(()=>this.sync({showAllItemsBeforeCalculate:!1})),c("div",{class:"v-overflow",ref:"selfRef"},[rc(e,"default"),e.counter?e.counter():c("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Ac(e){return e instanceof HTMLElement}function _c(e){for(let t=0;t=0;t--){const o=e.childNodes[t];if(Ac(o)&&(Hc(o)||Dc(o)))return!0}return!1}function Hc(e){if(!hm(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function hm(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let rn=[];const cl=re({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Vo(),o=E(null),r=E(null);let n=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function l(){return rn[rn.length-1]===t}function s(b){var m;b.code==="Escape"&&l()&&((m=e.onEsc)===null||m===void 0||m.call(e,b))}gt(()=>{Je(()=>e.active,b=>{b?(h(),tt("keydown",document,s)):(Xe("keydown",document,s),n&&p())},{immediate:!0})}),dt(()=>{Xe("keydown",document,s),n&&p()});function d(b){if(!i&&l()){const m=u();if(m===null||m.contains(Ar(b)))return;g("first")}}function u(){const b=o.value;if(b===null)return null;let m=b;for(;m=m.nextSibling,!(m===null||m instanceof Element&&m.tagName==="DIV"););return m}function h(){var b;if(!e.disabled){if(rn.push(t),e.autoFocus){const{initialFocusTo:m}=e;m===void 0?g("first"):(b=us(m))===null||b===void 0||b.focus({preventScroll:!0})}n=!0,document.addEventListener("focus",d,!0)}}function p(){var b;if(e.disabled||(document.removeEventListener("focus",d,!0),rn=rn.filter(C=>C!==t),l()))return;const{finalFocusTo:m}=e;m!==void 0?(b=us(m))===null||b===void 0||b.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function g(b){if(l()&&e.active){const m=o.value,C=r.value;if(m!==null&&C!==null){const R=u();if(R==null||R===C){i=!0,m.focus({preventScroll:!0}),i=!1;return}i=!0;const $=b==="first"?_c(R):Dc(R);i=!1,$||(i=!0,m.focus({preventScroll:!0}),i=!1)}}}function f(b){if(i)return;const m=u();m!==null&&(b.relatedTarget!==null&&m.contains(b.relatedTarget)?g("last"):g("first"))}function v(b){i||(b.relatedTarget!==null&&b.relatedTarget===o.value?g("last"):g("first"))}return{focusableStartRef:o,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:f,handleEndFocus:v}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:o}=this;return c(yt,null,[c("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:o,onFocus:this.handleStartFocus}),e(),c("div",{"aria-hidden":"true",style:o,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function Wc(e,t){t&&(gt(()=>{const{value:o}=e;o&&ci.registerHandler(o,t)}),dt(()=>{const{value:o}=e;o&&ci.unregisterHandler(o)}))}let Rr=0,Rs="",Ps="",zs="",Ts="";const Bs=E("0px");function Nc(e){if(typeof document>"u")return;const t=document.documentElement;let o,r=!1;const n=()=>{t.style.marginRight=Rs,t.style.overflow=Ps,t.style.overflowX=zs,t.style.overflowY=Ts,Bs.value="0px"};gt(()=>{o=Je(e,i=>{if(i){if(!Rr){const a=window.innerWidth-t.offsetWidth;a>0&&(Rs=t.style.marginRight,t.style.marginRight=`${a}px`,Bs.value=`${a}px`),Ps=t.style.overflow,zs=t.style.overflowX,Ts=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}r=!0,Rr++}else Rr--,Rr||n(),r=!1},{immediate:!0})}),dt(()=>{o==null||o(),r&&(Rr--,Rr||n(),r=!1)})}const ul=E(!1),Os=()=>{ul.value=!0},Ms=()=>{ul.value=!1};let nn=0;const jc=()=>(So&&(Eo(()=>{nn||(window.addEventListener("compositionstart",Os),window.addEventListener("compositionend",Ms)),nn++}),dt(()=>{nn<=1?(window.removeEventListener("compositionstart",Os),window.removeEventListener("compositionend",Ms),nn=0):nn--})),ul);function fl(e){const t={isDeactivated:!1};let o=!1;return nc(()=>{if(t.isDeactivated=!1,!o){o=!0;return}e()}),nl(()=>{t.isDeactivated=!0,o||(o=!0)}),t}const Vc=(e,t)=>{if(!e)return;const o=document.createElement("a");o.href=e,t!==void 0&&(o.download=t),document.body.appendChild(o),o.click(),document.body.removeChild(o)},La="n-form-item";function ko(e,{defaultSize:t="medium",mergedSize:o,mergedDisabled:r}={}){const n=Te(La,null);Ue(La,null);const i=T(o?()=>o(n):()=>{const{size:s}=e;if(s)return s;if(n){const{mergedSize:d}=n;if(d.value!==void 0)return d.value}return t}),a=T(r?()=>r(n):()=>{const{disabled:s}=e;return s!==void 0?s:n?n.disabled.value:!1}),l=T(()=>{const{status:s}=e;return s||(n==null?void 0:n.mergedValidationStatus.value)});return dt(()=>{n&&n.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:l,nTriggerFormBlur(){n&&n.handleContentBlur()},nTriggerFormChange(){n&&n.handleContentChange()},nTriggerFormFocus(){n&&n.handleContentFocus()},nTriggerFormInput(){n&&n.handleContentInput()}}}var pm=typeof global=="object"&&global&&global.Object===Object&&global;const Uc=pm;var vm=typeof self=="object"&&self&&self.Object===Object&&self,gm=Uc||vm||Function("return this")();const Zt=gm;var mm=Zt.Symbol;const Ko=mm;var Kc=Object.prototype,bm=Kc.hasOwnProperty,xm=Kc.toString,an=Ko?Ko.toStringTag:void 0;function Cm(e){var t=bm.call(e,an),o=e[an];try{e[an]=void 0;var r=!0}catch{}var n=xm.call(e);return r&&(t?e[an]=o:delete e[an]),n}var ym=Object.prototype,wm=ym.toString;function Sm(e){return wm.call(e)}var km="[object Null]",$m="[object Undefined]",Is=Ko?Ko.toStringTag:void 0;function pr(e){return e==null?e===void 0?$m:km:Is&&Is in Object(e)?Cm(e):Sm(e)}function Go(e){return e!=null&&typeof e=="object"}var Rm="[object Symbol]";function Bi(e){return typeof e=="symbol"||Go(e)&&pr(e)==Rm}function Gc(e,t){for(var o=-1,r=e==null?0:e.length,n=Array(r);++o0){if(++t>=sb)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function fb(e){return function(){return e}}var hb=function(){try{var e=gr(Object,"defineProperty");return e({},"",{}),e}catch{}}();const fi=hb;var pb=fi?function(e,t){return fi(e,"toString",{configurable:!0,enumerable:!1,value:fb(t),writable:!0})}:hl;const vb=pb;var gb=ub(vb);const mb=gb;var bb=9007199254740991,xb=/^(?:0|[1-9]\d*)$/;function vl(e,t){var o=typeof e;return t=t??bb,!!t&&(o=="number"||o!="symbol"&&xb.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=Rb}function qr(e){return e!=null&&ml(e.length)&&!pl(e)}function Pb(e,t,o){if(!Yt(o))return!1;var r=typeof t;return(r=="number"?qr(o)&&vl(t,o.length):r=="string"&&t in o)?In(o[t],e):!1}function zb(e){return $b(function(t,o){var r=-1,n=o.length,i=n>1?o[n-1]:void 0,a=n>2?o[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,a&&Pb(o[0],o[1],a)&&(i=n<3?void 0:i,n=1),t=Object(t);++r-1}function U0(e,t){var o=this.__data__,r=Oi(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this}function Ao(e){var t=-1,o=e==null?0:e.length;for(this.clear();++tn?0:n+t),o=o>n?n:o,o<0&&(o+=n),n=t>o?0:o-t>>>0,t>>>=0;for(var i=Array(n);++r=r?e:vx(e,t,o)}var mx="\\ud800-\\udfff",bx="\\u0300-\\u036f",xx="\\ufe20-\\ufe2f",Cx="\\u20d0-\\u20ff",yx=bx+xx+Cx,wx="\\ufe0e\\ufe0f",Sx="\\u200d",kx=RegExp("["+Sx+mx+yx+wx+"]");function iu(e){return kx.test(e)}function $x(e){return e.split("")}var au="\\ud800-\\udfff",Rx="\\u0300-\\u036f",Px="\\ufe20-\\ufe2f",zx="\\u20d0-\\u20ff",Tx=Rx+Px+zx,Bx="\\ufe0e\\ufe0f",Ox="["+au+"]",_a="["+Tx+"]",Da="\\ud83c[\\udffb-\\udfff]",Mx="(?:"+_a+"|"+Da+")",lu="[^"+au+"]",su="(?:\\ud83c[\\udde6-\\uddff]){2}",du="[\\ud800-\\udbff][\\udc00-\\udfff]",Ix="\\u200d",cu=Mx+"?",uu="["+Bx+"]?",Fx="(?:"+Ix+"(?:"+[lu,su,du].join("|")+")"+uu+cu+")*",Ex=uu+cu+Fx,Lx="(?:"+[lu+_a+"?",_a,su,du,Ox].join("|")+")",Ax=RegExp(Da+"(?="+Da+")|"+Lx+Ex,"g");function _x(e){return e.match(Ax)||[]}function Dx(e){return iu(e)?_x(e):$x(e)}function Hx(e){return function(t){t=Dr(t);var o=iu(t)?Dx(t):void 0,r=o?o[0]:t.charAt(0),n=o?gx(o,1).join(""):t.slice(1);return r[e]()+n}}var Wx=Hx("toUpperCase");const Nx=Wx;function jx(e,t,o,r){var n=-1,i=e==null?0:e.length;for(r&&i&&(o=e[++n]);++nl))return!1;var d=i.get(e),u=i.get(t);if(d&&u)return d==t&&u==e;var h=-1,p=!0,g=o&gC?new gi:void 0;for(i.set(e,t),i.set(t,e);++h=t||x<0||h&&k>=i}function m(){var w=sa();if(b(w))return C(w);l=setTimeout(m,v(w))}function C(w){return l=void 0,p&&r?g(w):(r=n=void 0,a)}function R(){l!==void 0&&clearTimeout(l),d=0,r=s=n=l=void 0}function $(){return l===void 0?a:C(sa())}function S(){var w=sa(),x=b(w);if(r=arguments,n=this,s=w,x){if(l===void 0)return f(s);if(h)return clearTimeout(l),l=setTimeout(m,t),g(s)}return l===void 0&&(l=setTimeout(m,t)),a}return S.cancel=R,S.flush=$,S}function ja(e,t,o){(o!==void 0&&!In(e[t],o)||o===void 0&&!(t in e))&&gl(e,t,o)}function fy(e){return Go(e)&&qr(e)}function Va(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function hy(e){return Sb(e,eu(e))}function py(e,t,o,r,n,i,a){var l=Va(e,o),s=Va(t,o),d=a.get(s);if(d){ja(e,o,d);return}var u=i?i(l,s,o+"",e,t,a):void 0,h=u===void 0;if(h){var p=Xt(s),g=!p&&pi(s),f=!p&&!g&&xl(s);u=s,p||g||f?Xt(l)?u=l:fy(l)?u=lb(l):g?(h=!1,u=j1(s,!0)):f?(h=!1,u=sC(s,!0)):u=[]:px(s)||hi(s)?(u=l,hi(l)?u=hy(l):(!Yt(l)||pl(l))&&(u=dC(s))):h=!1}h&&(a.set(s,u),n(u,s,r,i,a),a.delete(s)),ja(e,o,u)}function Bu(e,t,o,r,n){e!==t&&Tu(t,function(i,a){if(n||(n=new bo),Yt(i))py(e,t,a,o,Bu,r,n);else{var l=r?r(Va(e,a),i,a+"",e,t,n):void 0;l===void 0&&(l=i),ja(e,a,l)}},eu)}function vy(e,t){var o=-1,r=qr(e)?Array(e.length):[];return ay(e,function(n,i,a){r[++o]=t(n,i,a)}),r}function gy(e,t){var o=Xt(e)?Gc:vy;return o(e,ey(t))}var my=M1(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()});const by=my;var xy=zb(function(e,t,o){Bu(e,t,o)});const Or=xy;var Cy=E1("round");const yy=Cy;var wy="Expected a function";function da(e,t,o){var r=!0,n=!0;if(typeof e!="function")throw new TypeError(wy);return Yt(o)&&(r="leading"in o?!!o.leading:r,n="trailing"in o?!!o.trailing:n),uy(e,t,{leading:r,maxWait:t,trailing:n})}const Ut={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:Sy,fontFamily:ky,lineHeight:$y}=Ut,Ou=z("body",` margin: 0; - font-size: ${Cy}; - font-family: ${yy}; - line-height: ${wy}; + font-size: ${Sy}; + font-family: ${ky}; + line-height: ${$y}; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; `,[z("input",` font-family: inherit; font-size: inherit; - `)]),lo="n-config-provider",Hr="naive-ui-style";function we(e,t,o,r,n,i){const a=Xo(),l=Te(lo,null);if(o){const d=()=>{const u=i==null?void 0:i.value;o.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:Hr,ssr:a}),l!=null&&l.preflightStyleDisabled||Bu.mount({id:"n-global",head:!0,anchorMetaName:Hr,ssr:a})};a?d():Fo(d)}return T(()=>{var d;const{theme:{common:u,self:h,peers:p={}}={},themeOverrides:g={},builtinThemeOverrides:f={}}=n,{common:v,peers:m}=g,{common:b=void 0,[e]:{common:C=void 0,self:R=void 0,peers:$={}}={}}=(l==null?void 0:l.mergedThemeRef.value)||{},{common:S=void 0,[e]:w={}}=(l==null?void 0:l.mergedThemeOverridesRef.value)||{},{common:x,peers:k={}}=w,P=Mr({},u||C||b||r.common,S,x,v),I=Mr((d=h||R||r.self)===null||d===void 0?void 0:d(P),f,w,g);return{common:P,self:I,peers:Mr({},r.peers,$,p),peerOverrides:Mr({},f.peers,k,m)}})}we.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const $n="n";function He(e={},t={defaultBordered:!0}){const o=Te(lo,null);return{inlineThemeDisabled:o==null?void 0:o.inlineThemeDisabled,mergedRtlRef:o==null?void 0:o.mergedRtlRef,mergedComponentPropsRef:o==null?void 0:o.mergedComponentPropsRef,mergedBreakpointsRef:o==null?void 0:o.mergedBreakpointsRef,mergedBorderedRef:T(()=>{var r,n;const{bordered:i}=e;return i!==void 0?i:(n=(r=o==null?void 0:o.mergedBorderedRef.value)!==null&&r!==void 0?r:t.defaultBordered)!==null&&n!==void 0?n:!0}),mergedClsPrefixRef:o?o.mergedClsPrefixRef:rc($n),namespaceRef:T(()=>o==null?void 0:o.mergedNamespaceRef.value)}}function Mu(){const e=Te(lo,null);return e?e.mergedClsPrefixRef:rc($n)}const Sy={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},ky=Sy;var $y={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},Ry=function(t,o,r){var n,i=$y[t];return typeof i=="string"?n=i:o===1?n=i.one:n=i.other.replace("{{count}}",String(o)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?n+"内":n+"前":n};const Py=Ry;function Er(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):e.defaultWidth,r=e.formats[o]||e.formats[e.defaultWidth];return r}}var zy={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},Ty={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},By={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},My={date:Er({formats:zy,defaultWidth:"full"}),time:Er({formats:Ty,defaultWidth:"full"}),dateTime:Er({formats:By,defaultWidth:"full"})};const Oy=My;function Sl(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Ua(e){"@babel/helpers - typeof";return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ua(e)}function Iy(e){Sl(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ua(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Fy(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var Ey={};function Ay(){return Ey}function dd(e,t){var o,r,n,i,a,l,s,d;Sl(1,arguments);var u=Ay(),h=Fy((o=(r=(n=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:u.weekStartsOn)!==null&&r!==void 0?r:(s=u.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&o!==void 0?o:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Iy(e),g=p.getUTCDay(),f=(gt.getTime()?"'下个'"+r:"'上个'"+r}var _y={lastWeek:cd,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:cd,other:"PP p"},Dy=function(t,o,r,n){var i=_y[t];return typeof i=="function"?i(o,r,n):i};const Hy=Dy;function vo(e){return function(t,o){var r=o!=null&&o.context?String(o.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o!=null&&o.width?String(o.width):i;n=e.formattingValues[a]||e.formattingValues[i]}else{var l=e.defaultWidth,s=o!=null&&o.width?String(o.width):e.defaultWidth;n=e.values[s]||e.values[l]}var d=e.argumentCallback?e.argumentCallback(t):t;return n[d]}}var jy={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},Wy={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},Ny={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},Vy={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},Uy={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Ky={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},qy=function(t,o){var r=Number(t);switch(o==null?void 0:o.unit){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},Gy={ordinalNumber:qy,era:vo({values:jy,defaultWidth:"wide"}),quarter:vo({values:Wy,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:vo({values:Ny,defaultWidth:"wide"}),day:vo({values:Vy,defaultWidth:"wide"}),dayPeriod:vo({values:Uy,defaultWidth:"wide",formattingValues:Ky,defaultFormattingWidth:"wide"})};const Xy=Gy;function go(e){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=o.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(n);if(!i)return null;var a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?Zy(l,function(h){return h.test(a)}):Yy(l,function(h){return h.test(a)}),d;d=e.valueCallback?e.valueCallback(s):s,d=o.valueCallback?o.valueCallback(d):d;var u=t.slice(a.length);return{value:d,rest:u}}}function Yy(e,t){for(var o in e)if(e.hasOwnProperty(o)&&t(e[o]))return o}function Zy(e,t){for(var o=0;o1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var n=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=o.valueCallback?o.valueCallback(a):a;var l=t.slice(n.length);return{value:a,rest:l}}}var Jy=/^(第\s*)?\d+(日|时|分|秒)?/i,Qy=/\d+/i,ew={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},tw={any:[/^(前)/i,/^(公元)/i]},ow={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},rw={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},nw={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},iw={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},aw={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},lw={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},sw={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},dw={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},cw={ordinalNumber:Ou({matchPattern:Jy,parsePattern:Qy,valueCallback:function(t){return parseInt(t,10)}}),era:go({matchPatterns:ew,defaultMatchWidth:"wide",parsePatterns:tw,defaultParseWidth:"any"}),quarter:go({matchPatterns:ow,defaultMatchWidth:"wide",parsePatterns:rw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:go({matchPatterns:nw,defaultMatchWidth:"wide",parsePatterns:iw,defaultParseWidth:"any"}),day:go({matchPatterns:aw,defaultMatchWidth:"wide",parsePatterns:lw,defaultParseWidth:"any"}),dayPeriod:go({matchPatterns:sw,defaultMatchWidth:"any",parsePatterns:dw,defaultParseWidth:"any"})};const uw=cw;var fw={code:"zh-CN",formatDistance:Py,formatLong:Oy,formatRelative:Hy,localize:Xy,match:uw,options:{weekStartsOn:1,firstWeekContainsDate:4}};const hw=fw,pw={name:"zh-CN",locale:hw},d8=pw;var vw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gw=function(t,o,r){var n,i=vw[t];return typeof i=="string"?n=i:o===1?n=i.one:n=i.other.replace("{{count}}",o.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const bw=gw;var mw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xw={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Cw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},yw={date:Er({formats:mw,defaultWidth:"full"}),time:Er({formats:xw,defaultWidth:"full"}),dateTime:Er({formats:Cw,defaultWidth:"full"})};const ww=yw;var Sw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},kw=function(t,o,r,n){return Sw[t]};const $w=kw;var Rw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Pw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zw={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Tw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Bw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Mw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ow=function(t,o){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Iw={ordinalNumber:Ow,era:vo({values:Rw,defaultWidth:"wide"}),quarter:vo({values:Pw,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:vo({values:zw,defaultWidth:"wide"}),day:vo({values:Tw,defaultWidth:"wide"}),dayPeriod:vo({values:Bw,defaultWidth:"wide",formattingValues:Mw,defaultFormattingWidth:"wide"})};const Fw=Iw;var Ew=/^(\d+)(th|st|nd|rd)?/i,Aw=/\d+/i,Lw={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},_w={any:[/^b/i,/^(a|c)/i]},Dw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Hw={any:[/1/i,/2/i,/3/i,/4/i]},jw={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ww={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Nw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Vw={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Uw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Kw={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},qw={ordinalNumber:Ou({matchPattern:Ew,parsePattern:Aw,valueCallback:function(t){return parseInt(t,10)}}),era:go({matchPatterns:Lw,defaultMatchWidth:"wide",parsePatterns:_w,defaultParseWidth:"any"}),quarter:go({matchPatterns:Dw,defaultMatchWidth:"wide",parsePatterns:Hw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:go({matchPatterns:jw,defaultMatchWidth:"wide",parsePatterns:Ww,defaultParseWidth:"any"}),day:go({matchPatterns:Nw,defaultMatchWidth:"wide",parsePatterns:Vw,defaultParseWidth:"any"}),dayPeriod:go({matchPatterns:Uw,defaultMatchWidth:"any",parsePatterns:Kw,defaultParseWidth:"any"})};const Gw=qw;var Xw={code:"en-US",formatDistance:bw,formatLong:ww,formatRelative:$w,localize:Fw,match:Gw,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Yw=Xw,Zw={name:"en-US",locale:Yw},Jw=Zw;function wo(e){const{mergedLocaleRef:t,mergedDateLocaleRef:o}=Te(lo,null)||{},r=T(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:ky[e]});return{dateLocaleRef:T(()=>{var i;return(i=o==null?void 0:o.value)!==null&&i!==void 0?i:Jw}),localeRef:r}}function Do(e,t,o){if(!t)return;const r=Xo(),n=Te(lo,null),i=()=>{const a=o.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Hr,props:{bPrefix:a?`.${a}-`:void 0},ssr:r}),n!=null&&n.preflightStyleDisabled||Bu.mount({id:"n-global",head:!0,anchorMetaName:Hr,ssr:r})};r?i():Fo(i)}function Qe(e,t,o,r){var n;o||hr("useThemeClass","cssVarsRef is not passed");const i=(n=Te(lo,null))===null||n===void 0?void 0:n.mergedThemeHashRef,a=E(""),l=Xo();let s;const d=`__${e}`,u=()=>{let h=d;const p=t?t.value:void 0,g=i==null?void 0:i.value;g&&(h+="-"+g),p&&(h+="-"+p);const{themeOverrides:f,builtinThemeOverrides:v}=r;f&&(h+="-"+mn(JSON.stringify(f))),v&&(h+="-"+mn(JSON.stringify(v))),a.value=h,s=()=>{const m=o.value;let b="";for(const C in m)b+=`${C}: ${m[C]};`;z(`.${h}`,b).mount({id:h,ssr:l}),s=void 0}};return vt(()=>{u()}),{themeClass:a,onRender:()=>{s==null||s()}}}function Rt(e,t,o){if(!t)return;const r=Xo(),n=T(()=>{const{value:a}=t;if(!a)return;const l=a[e];if(l)return l}),i=()=>{vt(()=>{const{value:a}=o,l=`${a}${e}Rtl`;if(Wv(l,r))return;const{value:s}=n;s&&s.style.mount({id:l,head:!0,anchorMetaName:Hr,props:{bPrefix:a?`.${a}-`:void 0},ssr:r})})};return r?i():Fo(i),n}const Iu=ne({name:"Add",render(){return c("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),Qw=ne({name:"ArrowDown",render(){return c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function ko(e,t){return ne({name:Dx(e),setup(){var o;const r=(o=Te(lo,null))===null||o===void 0?void 0:o.mergedIconsRef;return()=>{var n;const i=(n=r==null?void 0:r.value)===null||n===void 0?void 0:n[e];return i?i():t}}})}const ud=ne({name:"Backward",render(){return c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),eS=ne({name:"Checkmark",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},c("g",{fill:"none"},c("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),kl=ne({name:"ChevronRight",render(){return c("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),tS=ko("close",c("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),oS=ne({name:"Eye",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),c("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),rS=ne({name:"EyeOff",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),c("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),c("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),c("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),c("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),nS=ne({name:"Empty",render(){return c("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),c("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Fi=ko("error",c("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),fd=ne({name:"FastBackward",render(){return c("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),hd=ne({name:"FastForward",render(){return c("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),iS=ne({name:"Filter",render(){return c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),pd=ne({name:"Forward",render(){return c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),Rn=ko("info",c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),vd=ne({name:"More",render(){return c("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),aS=ne({name:"Remove",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` + `)]),lo="n-config-provider",Hr="naive-ui-style";function be(e,t,o,r,n,i){const a=Xo(),l=Te(lo,null);if(o){const d=()=>{const u=i==null?void 0:i.value;o.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:Hr,ssr:a}),l!=null&&l.preflightStyleDisabled||Ou.mount({id:"n-global",head:!0,anchorMetaName:Hr,ssr:a})};a?d():Eo(d)}return T(()=>{var d;const{theme:{common:u,self:h,peers:p={}}={},themeOverrides:g={},builtinThemeOverrides:f={}}=n,{common:v,peers:b}=g,{common:m=void 0,[e]:{common:C=void 0,self:R=void 0,peers:$={}}={}}=(l==null?void 0:l.mergedThemeRef.value)||{},{common:S=void 0,[e]:w={}}=(l==null?void 0:l.mergedThemeOverridesRef.value)||{},{common:x,peers:k={}}=w,P=Or({},u||C||m||r.common,S,x,v),M=Or((d=h||R||r.self)===null||d===void 0?void 0:d(P),f,w,g);return{common:P,self:M,peers:Or({},r.peers,$,p),peerOverrides:Or({},f.peers,k,b)}})}be.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const $n="n";function He(e={},t={defaultBordered:!0}){const o=Te(lo,null);return{inlineThemeDisabled:o==null?void 0:o.inlineThemeDisabled,mergedRtlRef:o==null?void 0:o.mergedRtlRef,mergedComponentPropsRef:o==null?void 0:o.mergedComponentPropsRef,mergedBreakpointsRef:o==null?void 0:o.mergedBreakpointsRef,mergedBorderedRef:T(()=>{var r,n;const{bordered:i}=e;return i!==void 0?i:(n=(r=o==null?void 0:o.mergedBorderedRef.value)!==null&&r!==void 0?r:t.defaultBordered)!==null&&n!==void 0?n:!0}),mergedClsPrefixRef:o?o.mergedClsPrefixRef:ic($n),namespaceRef:T(()=>o==null?void 0:o.mergedNamespaceRef.value)}}function Mu(){const e=Te(lo,null);return e?e.mergedClsPrefixRef:ic($n)}const Ry={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},Py=Ry;var zy={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},Ty=function(t,o,r){var n,i=zy[t];return typeof i=="string"?n=i:o===1?n=i.one:n=i.other.replace("{{count}}",String(o)),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?n+"内":n+"前":n};const By=Ty;function Er(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):e.defaultWidth,r=e.formats[o]||e.formats[e.defaultWidth];return r}}var Oy={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},My={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},Iy={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Fy={date:Er({formats:Oy,defaultWidth:"full"}),time:Er({formats:My,defaultWidth:"full"}),dateTime:Er({formats:Iy,defaultWidth:"full"})};const Ey=Fy;function kl(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Ua(e){"@babel/helpers - typeof";return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ua(e)}function Ly(e){kl(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ua(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ay(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var _y={};function Dy(){return _y}function ud(e,t){var o,r,n,i,a,l,s,d;kl(1,arguments);var u=Dy(),h=Ay((o=(r=(n=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:u.weekStartsOn)!==null&&r!==void 0?r:(s=u.locale)===null||s===void 0||(d=s.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&o!==void 0?o:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Ly(e),g=p.getUTCDay(),f=(gt.getTime()?"'下个'"+r:"'上个'"+r}var Wy={lastWeek:fd,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:fd,other:"PP p"},Ny=function(t,o,r,n){var i=Wy[t];return typeof i=="function"?i(o,r,n):i};const jy=Ny;function vo(e){return function(t,o){var r=o!=null&&o.context?String(o.context):"standalone",n;if(r==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o!=null&&o.width?String(o.width):i;n=e.formattingValues[a]||e.formattingValues[i]}else{var l=e.defaultWidth,s=o!=null&&o.width?String(o.width):e.defaultWidth;n=e.values[s]||e.values[l]}var d=e.argumentCallback?e.argumentCallback(t):t;return n[d]}}var Vy={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},Uy={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},Ky={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},Gy={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},qy={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Xy={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},Yy=function(t,o){var r=Number(t);switch(o==null?void 0:o.unit){case"date":return r.toString()+"日";case"hour":return r.toString()+"时";case"minute":return r.toString()+"分";case"second":return r.toString()+"秒";default:return"第 "+r.toString()}},Zy={ordinalNumber:Yy,era:vo({values:Vy,defaultWidth:"wide"}),quarter:vo({values:Uy,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:vo({values:Ky,defaultWidth:"wide"}),day:vo({values:Gy,defaultWidth:"wide"}),dayPeriod:vo({values:qy,defaultWidth:"wide",formattingValues:Xy,defaultFormattingWidth:"wide"})};const Jy=Zy;function go(e){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=o.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(n);if(!i)return null;var a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?ew(l,function(h){return h.test(a)}):Qy(l,function(h){return h.test(a)}),d;d=e.valueCallback?e.valueCallback(s):s,d=o.valueCallback?o.valueCallback(d):d;var u=t.slice(a.length);return{value:d,rest:u}}}function Qy(e,t){for(var o in e)if(e.hasOwnProperty(o)&&t(e[o]))return o}function ew(e,t){for(var o=0;o1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var n=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=o.valueCallback?o.valueCallback(a):a;var l=t.slice(n.length);return{value:a,rest:l}}}var tw=/^(第\s*)?\d+(日|时|分|秒)?/i,ow=/\d+/i,rw={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},nw={any:[/^(前)/i,/^(公元)/i]},iw={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},aw={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},lw={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},sw={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},dw={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},cw={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},uw={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},fw={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},hw={ordinalNumber:Iu({matchPattern:tw,parsePattern:ow,valueCallback:function(t){return parseInt(t,10)}}),era:go({matchPatterns:rw,defaultMatchWidth:"wide",parsePatterns:nw,defaultParseWidth:"any"}),quarter:go({matchPatterns:iw,defaultMatchWidth:"wide",parsePatterns:aw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:go({matchPatterns:lw,defaultMatchWidth:"wide",parsePatterns:sw,defaultParseWidth:"any"}),day:go({matchPatterns:dw,defaultMatchWidth:"wide",parsePatterns:cw,defaultParseWidth:"any"}),dayPeriod:go({matchPatterns:uw,defaultMatchWidth:"any",parsePatterns:fw,defaultParseWidth:"any"})};const pw=hw;var vw={code:"zh-CN",formatDistance:By,formatLong:Ey,formatRelative:jy,localize:Jy,match:pw,options:{weekStartsOn:1,firstWeekContainsDate:4}};const gw=vw,mw={name:"zh-CN",locale:gw},p8=mw;var bw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},xw=function(t,o,r){var n,i=bw[t];return typeof i=="string"?n=i:o===1?n=i.one:n=i.other.replace("{{count}}",o.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n};const Cw=xw;var yw={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ww={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Sw={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},kw={date:Er({formats:yw,defaultWidth:"full"}),time:Er({formats:ww,defaultWidth:"full"}),dateTime:Er({formats:Sw,defaultWidth:"full"})};const $w=kw;var Rw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Pw=function(t,o,r,n){return Rw[t]};const zw=Pw;var Tw={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Bw={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ow={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Mw={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Iw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Fw={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ew=function(t,o){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Lw={ordinalNumber:Ew,era:vo({values:Tw,defaultWidth:"wide"}),quarter:vo({values:Bw,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:vo({values:Ow,defaultWidth:"wide"}),day:vo({values:Mw,defaultWidth:"wide"}),dayPeriod:vo({values:Iw,defaultWidth:"wide",formattingValues:Fw,defaultFormattingWidth:"wide"})};const Aw=Lw;var _w=/^(\d+)(th|st|nd|rd)?/i,Dw=/\d+/i,Hw={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ww={any:[/^b/i,/^(a|c)/i]},Nw={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},jw={any:[/1/i,/2/i,/3/i,/4/i]},Vw={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Uw={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Gw={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},qw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Xw={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Yw={ordinalNumber:Iu({matchPattern:_w,parsePattern:Dw,valueCallback:function(t){return parseInt(t,10)}}),era:go({matchPatterns:Hw,defaultMatchWidth:"wide",parsePatterns:Ww,defaultParseWidth:"any"}),quarter:go({matchPatterns:Nw,defaultMatchWidth:"wide",parsePatterns:jw,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:go({matchPatterns:Vw,defaultMatchWidth:"wide",parsePatterns:Uw,defaultParseWidth:"any"}),day:go({matchPatterns:Kw,defaultMatchWidth:"wide",parsePatterns:Gw,defaultParseWidth:"any"}),dayPeriod:go({matchPatterns:qw,defaultMatchWidth:"any",parsePatterns:Xw,defaultParseWidth:"any"})};const Zw=Yw;var Jw={code:"en-US",formatDistance:Cw,formatLong:$w,formatRelative:zw,localize:Aw,match:Zw,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Qw=Jw,eS={name:"en-US",locale:Qw},tS=eS;function wo(e){const{mergedLocaleRef:t,mergedDateLocaleRef:o}=Te(lo,null)||{},r=T(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:Py[e]});return{dateLocaleRef:T(()=>{var i;return(i=o==null?void 0:o.value)!==null&&i!==void 0?i:tS}),localeRef:r}}function Do(e,t,o){if(!t)return;const r=Xo(),n=Te(lo,null),i=()=>{const a=o.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Hr,props:{bPrefix:a?`.${a}-`:void 0},ssr:r}),n!=null&&n.preflightStyleDisabled||Ou.mount({id:"n-global",head:!0,anchorMetaName:Hr,ssr:r})};r?i():Eo(i)}function Qe(e,t,o,r){var n;o||hr("useThemeClass","cssVarsRef is not passed");const i=(n=Te(lo,null))===null||n===void 0?void 0:n.mergedThemeHashRef,a=E(""),l=Xo();let s;const d=`__${e}`,u=()=>{let h=d;const p=t?t.value:void 0,g=i==null?void 0:i.value;g&&(h+="-"+g),p&&(h+="-"+p);const{themeOverrides:f,builtinThemeOverrides:v}=r;f&&(h+="-"+bn(JSON.stringify(f))),v&&(h+="-"+bn(JSON.stringify(v))),a.value=h,s=()=>{const b=o.value;let m="";for(const C in b)m+=`${C}: ${b[C]};`;z(`.${h}`,m).mount({id:h,ssr:l}),s=void 0}};return pt(()=>{u()}),{themeClass:a,onRender:()=>{s==null||s()}}}function Rt(e,t,o){if(!t)return;const r=Xo(),n=T(()=>{const{value:a}=t;if(!a)return;const l=a[e];if(l)return l}),i=()=>{pt(()=>{const{value:a}=o,l=`${a}${e}Rtl`;if(Uv(l,r))return;const{value:s}=n;s&&s.style.mount({id:l,head:!0,anchorMetaName:Hr,props:{bPrefix:a?`.${a}-`:void 0},ssr:r})})};return r?i():Eo(i),n}const Fu=re({name:"Add",render(){return c("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),oS=re({name:"ArrowDown",render(){return c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function $o(e,t){return re({name:Nx(e),setup(){var o;const r=(o=Te(lo,null))===null||o===void 0?void 0:o.mergedIconsRef;return()=>{var n;const i=(n=r==null?void 0:r.value)===null||n===void 0?void 0:n[e];return i?i():t}}})}const hd=re({name:"Backward",render(){return c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),rS=re({name:"Checkmark",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},c("g",{fill:"none"},c("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),$l=re({name:"ChevronRight",render(){return c("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),nS=$o("close",c("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),iS=re({name:"Eye",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),c("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),aS=re({name:"EyeOff",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),c("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),c("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),c("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),c("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),lS=re({name:"Empty",render(){return c("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),c("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Fi=$o("error",c("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),pd=re({name:"FastBackward",render(){return c("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),vd=re({name:"FastForward",render(){return c("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),sS=re({name:"Filter",render(){return c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),gd=re({name:"Forward",render(){return c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),Rn=$o("info",c("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),md=re({name:"More",render(){return c("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),dS=re({name:"Remove",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px; - `}))}}),Ei=ko("success",c("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Fn=ko("warning",c("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),Fu=ne({name:"ChevronDown",render(){return c("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),lS=ko("clear",c("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),sS=ko("rotateClockwise",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),c("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),dS=ko("rotateClockwise",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),c("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),cS=ko("zoomIn",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),c("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),uS=ko("zoomOut",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),c("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),fS=ne({name:"ResizeSmall",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},c("g",{fill:"none"},c("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),br=ne({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const o=Ao();return()=>c(kt,{name:"icon-switch-transition",appear:o.value},t)}}),Eu=ne({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function o(l){e.width?l.style.maxWidth=`${l.offsetWidth}px`:l.style.maxHeight=`${l.offsetHeight}px`,l.offsetWidth}function r(l){e.width?l.style.maxWidth="0":l.style.maxHeight="0",l.offsetWidth;const{onLeave:s}=e;s&&s()}function n(l){e.width?l.style.maxWidth="":l.style.maxHeight="";const{onAfterLeave:s}=e;s&&s()}function i(l){if(l.style.transition="none",e.width){const s=l.offsetWidth;l.style.maxWidth="0",l.offsetWidth,l.style.transition="",l.style.maxWidth=`${s}px`}else if(e.reverse)l.style.maxHeight=`${l.offsetHeight}px`,l.offsetHeight,l.style.transition="",l.style.maxHeight="0";else{const s=l.offsetHeight;l.style.maxHeight="0",l.offsetWidth,l.style.transition="",l.style.maxHeight=`${s}px`}l.offsetWidth}function a(l){var s;e.width?l.style.maxWidth="":e.reverse||(l.style.maxHeight=""),(s=e.onAfterEnter)===null||s===void 0||s.call(e)}return()=>{const{group:l,width:s,appear:d,mode:u}=e,h=l?nc:kt,p={name:s?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:d,onEnter:i,onAfterEnter:a,onBeforeLeave:o,onLeave:r,onAfterLeave:n};return l||(p.mode=u),c(h,p,t)}}}),hS=y("base-icon",` + `}))}}),Ei=$o("success",c("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Fn=$o("warning",c("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},c("g",{"fill-rule":"nonzero"},c("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),Eu=re({name:"ChevronDown",render(){return c("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),cS=$o("clear",c("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},c("g",{fill:"currentColor","fill-rule":"nonzero"},c("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),uS=$o("rotateClockwise",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),c("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),fS=$o("rotateClockwise",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),c("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),hS=$o("zoomIn",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),c("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),pS=$o("zoomOut",c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),c("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),vS=re({name:"ResizeSmall",render(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},c("g",{fill:"none"},c("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),mr=re({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const o=Lo();return()=>c(kt,{name:"icon-switch-transition",appear:o.value},t)}}),Lu=re({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function o(l){e.width?l.style.maxWidth=`${l.offsetWidth}px`:l.style.maxHeight=`${l.offsetHeight}px`,l.offsetWidth}function r(l){e.width?l.style.maxWidth="0":l.style.maxHeight="0",l.offsetWidth;const{onLeave:s}=e;s&&s()}function n(l){e.width?l.style.maxWidth="":l.style.maxHeight="";const{onAfterLeave:s}=e;s&&s()}function i(l){if(l.style.transition="none",e.width){const s=l.offsetWidth;l.style.maxWidth="0",l.offsetWidth,l.style.transition="",l.style.maxWidth=`${s}px`}else if(e.reverse)l.style.maxHeight=`${l.offsetHeight}px`,l.offsetHeight,l.style.transition="",l.style.maxHeight="0";else{const s=l.offsetHeight;l.style.maxHeight="0",l.offsetWidth,l.style.transition="",l.style.maxHeight=`${s}px`}l.offsetWidth}function a(l){var s;e.width?l.style.maxWidth="":e.reverse||(l.style.maxHeight=""),(s=e.onAfterEnter)===null||s===void 0||s.call(e)}return()=>{const{group:l,width:s,appear:d,mode:u}=e,h=l?ac:kt,p={name:s?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:d,onEnter:i,onAfterEnter:a,onBeforeLeave:o,onLeave:r,onAfterLeave:n};return l||(p.mode=u),c(h,p,t)}}}),gS=y("base-icon",` height: 1em; width: 1em; line-height: 1em; @@ -42,7 +42,7 @@ ${t} `,[z("svg",` height: 1em; width: 1em; - `)]),ot=ne({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Do("-base-icon",hS,he(e,"clsPrefix"))},render(){return c("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),pS=y("base-close",` + `)]),ot=re({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Do("-base-icon",gS,he(e,"clsPrefix"))},render(){return c("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),mS=y("base-close",` display: flex; align-items: center; justify-content: center; @@ -70,7 +70,7 @@ ${t} transform: translateY(-50%) translateX(-50%); transition: inherit; border-radius: inherit; - `),nt("disabled",[z("&:hover",` + `),rt("disabled",[z("&:hover",` color: var(--n-close-icon-color-hover); `),z("&:hover::before",` background-color: var(--n-close-color-hover); @@ -86,7 +86,7 @@ ${t} background-color: transparent; `),B("round",[z("&::before",` border-radius: 50%; - `)])]),mr=ne({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Do("-base-close",pS,he(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:o,absolute:r,round:n,isButtonTag:i}=e;return c(i?"button":"div",{type:i?"button":void 0,tabindex:o||!e.focusable?-1:0,"aria-disabled":o,"aria-label":"close",role:i?void 0:"button",disabled:o,class:[`${t}-base-close`,r&&`${t}-base-close--absolute`,o&&`${t}-base-close--disabled`,n&&`${t}-base-close--round`],onMousedown:l=>{e.focusable||l.preventDefault()},onClick:e.onClick},c(ot,{clsPrefix:t},{default:()=>c(tS,null)}))}}}),vS=ne({props:{onFocus:Function,onBlur:Function},setup(e){return()=>c("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:gS}=Ut;function Wt({originalTransform:e="",left:t=0,top:o=0,transition:r=`all .3s ${gS} !important`}={}){return[z("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:o,opacity:0}),z("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:o,opacity:1}),z("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:o,transition:r})]}const bS=z([z("@keyframes rotator",` + `)])]),br=re({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Do("-base-close",mS,he(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:o,absolute:r,round:n,isButtonTag:i}=e;return c(i?"button":"div",{type:i?"button":void 0,tabindex:o||!e.focusable?-1:0,"aria-disabled":o,"aria-label":"close",role:i?void 0:"button",disabled:o,class:[`${t}-base-close`,r&&`${t}-base-close--absolute`,o&&`${t}-base-close--disabled`,n&&`${t}-base-close--round`],onMousedown:l=>{e.focusable||l.preventDefault()},onClick:e.onClick},c(ot,{clsPrefix:t},{default:()=>c(nS,null)}))}}}),bS=re({props:{onFocus:Function,onBlur:Function},setup(e){return()=>c("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:xS}=Ut;function Nt({originalTransform:e="",left:t=0,top:o=0,transition:r=`all .3s ${xS} !important`}={}){return[z("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:o,opacity:0}),z("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:o,opacity:1}),z("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:o,transition:r})]}const CS=z([z("@keyframes rotator",` 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); @@ -99,26 +99,26 @@ ${t} line-height: 0; width: 1em; height: 1em; - `,[M("transition-wrapper",` + `,[O("transition-wrapper",` position: absolute; width: 100%; height: 100%; - `,[Wt()]),M("placeholder",` + `,[Nt()]),O("placeholder",` position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[Wt({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),M("container",` + `,[Nt({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),O("container",` animation: rotator 3s linear infinite both; - `,[M("icon",` + `,[O("icon",` height: 1em; width: 1em; - `)])])]),ca="1.6s",mS={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Yo=ne({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},mS),setup(e){Do("-base-loading",bS,he(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:o,stroke:r,scale:n}=this,i=t/n;return c("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},c(br,null,{default:()=>this.show?c("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},c("div",{class:`${e}-base-loading__container`},c("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:r}},c("g",null,c("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"}),c("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":o,"stroke-linecap":"round",cx:i,cy:i,r:t-o/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},c("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"}),c("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"})))))):c("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function gd(e){return Array.isArray(e)?e:[e]}const Ka={STOP:"STOP"};function Au(e,t){const o=t(e);e.children!==void 0&&o!==Ka.STOP&&e.children.forEach(r=>Au(r,t))}function xS(e,t={}){const{preserveGroup:o=!1}=t,r=[],n=o?a=>{a.isLeaf||(r.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||r.push(a.key),i(a.children))};function i(a){a.forEach(n)}return i(e),r}function CS(e,t){const{isLeaf:o}=e;return o!==void 0?o:!t(e)}function yS(e){return e.children}function wS(e){return e.key}function SS(){return!1}function kS(e,t){const{isLeaf:o}=e;return!(o===!1&&!Array.isArray(t(e)))}function $S(e){return e.disabled===!0}function RS(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function ua(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function fa(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function PS(e,t){const o=new Set(e);return t.forEach(r=>{o.has(r)||o.add(r)}),Array.from(o)}function zS(e,t){const o=new Set(e);return t.forEach(r=>{o.has(r)&&o.delete(r)}),Array.from(o)}function TS(e){return(e==null?void 0:e.type)==="group"}function BS(e){const t=new Map;return e.forEach((o,r)=>{t.set(o.key,r)}),o=>{var r;return(r=t.get(o))!==null&&r!==void 0?r:null}}class MS extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function OS(e,t,o,r){return bi(t.concat(e),o,r,!1)}function IS(e,t){const o=new Set;return e.forEach(r=>{const n=t.treeNodeMap.get(r);if(n!==void 0){let i=n.parent;for(;i!==null&&!(i.disabled||o.has(i.key));)o.add(i.key),i=i.parent}}),o}function FS(e,t,o,r){const n=bi(t,o,r,!1),i=bi(e,o,r,!0),a=IS(e,o),l=[];return n.forEach(s=>{(i.has(s)||a.has(s))&&l.push(s)}),l.forEach(s=>n.delete(s)),n}function ha(e,t){const{checkedKeys:o,keysToCheck:r,keysToUncheck:n,indeterminateKeys:i,cascade:a,leafOnly:l,checkStrategy:s,allowNotLoaded:d}=e;if(!a)return r!==void 0?{checkedKeys:PS(o,r),indeterminateKeys:Array.from(i)}:n!==void 0?{checkedKeys:zS(o,n),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(o),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let h;n!==void 0?h=FS(n,o,t,d):r!==void 0?h=OS(r,o,t,d):h=bi(o,t,d,!1);const p=s==="parent",g=s==="child"||l,f=h,v=new Set,m=Math.max.apply(null,Array.from(u.keys()));for(let b=m;b>=0;b-=1){const C=b===0,R=u.get(b);for(const $ of R){if($.isLeaf)continue;const{key:S,shallowLoaded:w}=$;if(g&&w&&$.children.forEach(I=>{!I.disabled&&!I.isLeaf&&I.shallowLoaded&&f.has(I.key)&&f.delete(I.key)}),$.disabled||!w)continue;let x=!0,k=!1,P=!0;for(const I of $.children){const A=I.key;if(!I.disabled){if(P&&(P=!1),f.has(A))k=!0;else if(v.has(A)){k=!0,x=!1;break}else if(x=!1,k)break}}x&&!P?(p&&$.children.forEach(I=>{!I.disabled&&f.has(I.key)&&f.delete(I.key)}),f.add(S)):k&&v.add(S),C&&g&&f.has(S)&&f.delete(S)}}return{checkedKeys:Array.from(f),indeterminateKeys:Array.from(v)}}function bi(e,t,o,r){const{treeNodeMap:n,getChildren:i}=t,a=new Set,l=new Set(e);return e.forEach(s=>{const d=n.get(s);d!==void 0&&Au(d,u=>{if(u.disabled)return Ka.STOP;const{key:h}=u;if(!a.has(h)&&(a.add(h),l.add(h),RS(u.rawNode,i))){if(r)return Ka.STOP;if(!o)throw new MS}})}),l}function ES(e,{includeGroup:t=!1,includeSelf:o=!0},r){var n;const i=r.treeNodeMap;let a=e==null?null:(n=i.get(e))!==null&&n!==void 0?n:null;const l={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return l.treeNode=null,l;for(;a;)!a.ignored&&(t||!a.isGroup)&&l.treeNodePath.push(a),a=a.parent;return l.treeNodePath.reverse(),o||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map(s=>s.key),l}function AS(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function LS(e,t){const o=e.siblings,r=o.length,{index:n}=e;return t?o[(n+1)%r]:n===o.length-1?null:o[n+1]}function bd(e,t,{loop:o=!1,includeDisabled:r=!1}={}){const n=t==="prev"?_S:LS,i={reverse:t==="prev"};let a=!1,l=null;function s(d){if(d!==null){if(d===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){l=e;return}}else if((!d.disabled||r)&&!d.ignored&&!d.isGroup){l=d;return}if(d.isGroup){const u=$l(d,i);u!==null?l=u:s(n(d,o))}else{const u=n(d,!1);if(u!==null)s(u);else{const h=DS(d);h!=null&&h.isGroup?s(n(h,o)):o&&s(n(d,!0))}}}}return s(e),l}function _S(e,t){const o=e.siblings,r=o.length,{index:n}=e;return t?o[(n-1+r)%r]:n===0?null:o[n-1]}function DS(e){return e.parent}function $l(e,t={}){const{reverse:o=!1}=t,{children:r}=e;if(r){const{length:n}=r,i=o?n-1:0,a=o?-1:n,l=o?-1:1;for(let s=i;s!==a;s+=l){const d=r[s];if(!d.disabled&&!d.ignored)if(d.isGroup){const u=$l(d,t);if(u!==null)return u}else return d}}return null}const HS={getChild(){return this.ignored?null:$l(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return bd(this,"next",e)},getPrev(e={}){return bd(this,"prev",e)}};function jS(e,t){const o=t?new Set(t):void 0,r=[];function n(i){i.forEach(a=>{r.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||o===void 0||o.has(a.key))&&n(a.children)})}return n(e),r}function WS(e,t){const o=e.key;for(;t;){if(t.key===o)return!0;t=t.parent}return!1}function Lu(e,t,o,r,n,i=null,a=0){const l=[];return e.forEach((s,d)=>{var u;const h=Object.create(r);if(h.rawNode=s,h.siblings=l,h.level=a,h.index=d,h.isFirstChild=d===0,h.isLastChild=d+1===e.length,h.parent=i,!h.ignored){const p=n(s);Array.isArray(p)&&(h.children=Lu(p,t,o,r,n,h,a+1))}l.push(h),t.set(h.key,h),o.has(a)||o.set(a,[]),(u=o.get(a))===null||u===void 0||u.push(h)}),l}function Ai(e,t={}){var o;const r=new Map,n=new Map,{getDisabled:i=$S,getIgnored:a=SS,getIsGroup:l=TS,getKey:s=wS}=t,d=(o=t.getChildren)!==null&&o!==void 0?o:yS,u=t.ignoreEmptyChildren?$=>{const S=d($);return Array.isArray(S)?S.length?S:null:S}:d,h=Object.assign({get key(){return s(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return CS(this.rawNode,u)},get shallowLoaded(){return kS(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains($){return WS(this,$)}},HS),p=Lu(e,r,n,h,u);function g($){if($==null)return null;const S=r.get($);return S&&!S.isGroup&&!S.ignored?S:null}function f($){if($==null)return null;const S=r.get($);return S&&!S.ignored?S:null}function v($,S){const w=f($);return w?w.getPrev(S):null}function m($,S){const w=f($);return w?w.getNext(S):null}function b($){const S=f($);return S?S.getParent():null}function C($){const S=f($);return S?S.getChild():null}const R={treeNodes:p,treeNodeMap:r,levelTreeNodeMap:n,maxLevel:Math.max(...n.keys()),getChildren:u,getFlattenedNodes($){return jS(p,$)},getNode:g,getPrev:v,getNext:m,getParent:b,getChild:C,getFirstAvailableNode(){return AS(p)},getPath($,S={}){return ES($,S,R)},getCheckedKeys($,S={}){const{cascade:w=!0,leafOnly:x=!1,checkStrategy:k="all",allowNotLoaded:P=!1}=S;return ha({checkedKeys:ua($),indeterminateKeys:fa($),cascade:w,leafOnly:x,checkStrategy:k,allowNotLoaded:P},R)},check($,S,w={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:I=!1}=w;return ha({checkedKeys:ua(S),indeterminateKeys:fa(S),keysToCheck:$==null?[]:gd($),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:I},R)},uncheck($,S,w={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:I=!1}=w;return ha({checkedKeys:ua(S),indeterminateKeys:fa(S),keysToUncheck:$==null?[]:gd($),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:I},R)},getNonLeafKeys($={}){return xS(p,$)}};return R}const Me={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},NS=Co(Me.neutralBase),_u=Co(Me.neutralInvertBase),VS="rgba("+_u.slice(0,3).join(", ")+", ";function rt(e){return VS+String(e)+")"}function US(e){const t=Array.from(_u);return t[3]=Number(e),Ee(NS,t)}const KS=Object.assign(Object.assign({name:"common"},Ut),{baseColor:Me.neutralBase,primaryColor:Me.primaryDefault,primaryColorHover:Me.primaryHover,primaryColorPressed:Me.primaryActive,primaryColorSuppl:Me.primarySuppl,infoColor:Me.infoDefault,infoColorHover:Me.infoHover,infoColorPressed:Me.infoActive,infoColorSuppl:Me.infoSuppl,successColor:Me.successDefault,successColorHover:Me.successHover,successColorPressed:Me.successActive,successColorSuppl:Me.successSuppl,warningColor:Me.warningDefault,warningColorHover:Me.warningHover,warningColorPressed:Me.warningActive,warningColorSuppl:Me.warningSuppl,errorColor:Me.errorDefault,errorColorHover:Me.errorHover,errorColorPressed:Me.errorActive,errorColorSuppl:Me.errorSuppl,textColorBase:Me.neutralTextBase,textColor1:rt(Me.alpha1),textColor2:rt(Me.alpha2),textColor3:rt(Me.alpha3),textColorDisabled:rt(Me.alpha4),placeholderColor:rt(Me.alpha4),placeholderColorDisabled:rt(Me.alpha5),iconColor:rt(Me.alpha4),iconColorDisabled:rt(Me.alpha5),iconColorHover:rt(Number(Me.alpha4)*1.25),iconColorPressed:rt(Number(Me.alpha4)*.8),opacity1:Me.alpha1,opacity2:Me.alpha2,opacity3:Me.alpha3,opacity4:Me.alpha4,opacity5:Me.alpha5,dividerColor:rt(Me.alphaDivider),borderColor:rt(Me.alphaBorder),closeIconColorHover:rt(Number(Me.alphaClose)),closeIconColor:rt(Number(Me.alphaClose)),closeIconColorPressed:rt(Number(Me.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:rt(Me.alpha4),clearColorHover:wt(rt(Me.alpha4),{alpha:1.25}),clearColorPressed:wt(rt(Me.alpha4),{alpha:.8}),scrollbarColor:rt(Me.alphaScrollbar),scrollbarColorHover:rt(Me.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:rt(Me.alphaProgressRail),railColor:rt(Me.alphaRail),popoverColor:Me.neutralPopover,tableColor:Me.neutralCard,cardColor:Me.neutralCard,modalColor:Me.neutralModal,bodyColor:Me.neutralBody,tagColor:US(Me.alphaTag),avatarColor:rt(Me.alphaAvatar),invertedColor:Me.neutralBase,inputColor:rt(Me.alphaInput),codeColor:rt(Me.alphaCode),tabColor:rt(Me.alphaTab),actionColor:rt(Me.alphaAction),tableHeaderColor:rt(Me.alphaAction),hoverColor:rt(Me.alphaPending),tableColorHover:rt(Me.alphaTablePending),tableColorStriped:rt(Me.alphaTableStriped),pressedColor:rt(Me.alphaPressed),opacityDisabled:Me.alphaDisabled,inputColorDisabled:rt(Me.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ke=KS,Ne={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},qS=Co(Ne.neutralBase),Du=Co(Ne.neutralInvertBase),GS="rgba("+Du.slice(0,3).join(", ")+", ";function md(e){return GS+String(e)+")"}function Mt(e){const t=Array.from(Du);return t[3]=Number(e),Ee(qS,t)}const XS=Object.assign(Object.assign({name:"common"},Ut),{baseColor:Ne.neutralBase,primaryColor:Ne.primaryDefault,primaryColorHover:Ne.primaryHover,primaryColorPressed:Ne.primaryActive,primaryColorSuppl:Ne.primarySuppl,infoColor:Ne.infoDefault,infoColorHover:Ne.infoHover,infoColorPressed:Ne.infoActive,infoColorSuppl:Ne.infoSuppl,successColor:Ne.successDefault,successColorHover:Ne.successHover,successColorPressed:Ne.successActive,successColorSuppl:Ne.successSuppl,warningColor:Ne.warningDefault,warningColorHover:Ne.warningHover,warningColorPressed:Ne.warningActive,warningColorSuppl:Ne.warningSuppl,errorColor:Ne.errorDefault,errorColorHover:Ne.errorHover,errorColorPressed:Ne.errorActive,errorColorSuppl:Ne.errorSuppl,textColorBase:Ne.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Mt(Ne.alpha4),placeholderColor:Mt(Ne.alpha4),placeholderColorDisabled:Mt(Ne.alpha5),iconColor:Mt(Ne.alpha4),iconColorHover:wt(Mt(Ne.alpha4),{lightness:.75}),iconColorPressed:wt(Mt(Ne.alpha4),{lightness:.9}),iconColorDisabled:Mt(Ne.alpha5),opacity1:Ne.alpha1,opacity2:Ne.alpha2,opacity3:Ne.alpha3,opacity4:Ne.alpha4,opacity5:Ne.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Mt(Number(Ne.alphaClose)),closeIconColorHover:Mt(Number(Ne.alphaClose)),closeIconColorPressed:Mt(Number(Ne.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Mt(Ne.alpha4),clearColorHover:wt(Mt(Ne.alpha4),{lightness:.75}),clearColorPressed:wt(Mt(Ne.alpha4),{lightness:.9}),scrollbarColor:md(Ne.alphaScrollbar),scrollbarColorHover:md(Ne.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Mt(Ne.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:Ne.neutralPopover,tableColor:Ne.neutralCard,cardColor:Ne.neutralCard,modalColor:Ne.neutralModal,bodyColor:Ne.neutralBody,tagColor:"#eee",avatarColor:Mt(Ne.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Mt(Ne.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:Ne.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),xe=XS,YS={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},Hu=e=>{const{textColorDisabled:t,iconColor:o,textColor2:r,fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l}=e;return Object.assign(Object.assign({},YS),{fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l,textColor:t,iconColor:o,extraTextColor:r})},ZS={name:"Empty",common:xe,self:Hu},$o=ZS,JS={name:"Empty",common:ke,self:Hu},xr=JS,QS=y("empty",` + `)])])]),ca="1.6s",yS={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Yo=re({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},yS),setup(e){Do("-base-loading",CS,he(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:o,stroke:r,scale:n}=this,i=t/n;return c("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},c(mr,null,{default:()=>this.show?c("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},c("div",{class:`${e}-base-loading__container`},c("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:r}},c("g",null,c("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"}),c("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":o,"stroke-linecap":"round",cx:i,cy:i,r:t-o/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},c("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"}),c("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:ca,fill:"freeze",repeatCount:"indefinite"})))))):c("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function bd(e){return Array.isArray(e)?e:[e]}const Ka={STOP:"STOP"};function Au(e,t){const o=t(e);e.children!==void 0&&o!==Ka.STOP&&e.children.forEach(r=>Au(r,t))}function wS(e,t={}){const{preserveGroup:o=!1}=t,r=[],n=o?a=>{a.isLeaf||(r.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||r.push(a.key),i(a.children))};function i(a){a.forEach(n)}return i(e),r}function SS(e,t){const{isLeaf:o}=e;return o!==void 0?o:!t(e)}function kS(e){return e.children}function $S(e){return e.key}function RS(){return!1}function PS(e,t){const{isLeaf:o}=e;return!(o===!1&&!Array.isArray(t(e)))}function zS(e){return e.disabled===!0}function TS(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function ua(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function fa(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function BS(e,t){const o=new Set(e);return t.forEach(r=>{o.has(r)||o.add(r)}),Array.from(o)}function OS(e,t){const o=new Set(e);return t.forEach(r=>{o.has(r)&&o.delete(r)}),Array.from(o)}function MS(e){return(e==null?void 0:e.type)==="group"}function IS(e){const t=new Map;return e.forEach((o,r)=>{t.set(o.key,r)}),o=>{var r;return(r=t.get(o))!==null&&r!==void 0?r:null}}class FS extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function ES(e,t,o,r){return mi(t.concat(e),o,r,!1)}function LS(e,t){const o=new Set;return e.forEach(r=>{const n=t.treeNodeMap.get(r);if(n!==void 0){let i=n.parent;for(;i!==null&&!(i.disabled||o.has(i.key));)o.add(i.key),i=i.parent}}),o}function AS(e,t,o,r){const n=mi(t,o,r,!1),i=mi(e,o,r,!0),a=LS(e,o),l=[];return n.forEach(s=>{(i.has(s)||a.has(s))&&l.push(s)}),l.forEach(s=>n.delete(s)),n}function ha(e,t){const{checkedKeys:o,keysToCheck:r,keysToUncheck:n,indeterminateKeys:i,cascade:a,leafOnly:l,checkStrategy:s,allowNotLoaded:d}=e;if(!a)return r!==void 0?{checkedKeys:BS(o,r),indeterminateKeys:Array.from(i)}:n!==void 0?{checkedKeys:OS(o,n),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(o),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let h;n!==void 0?h=AS(n,o,t,d):r!==void 0?h=ES(r,o,t,d):h=mi(o,t,d,!1);const p=s==="parent",g=s==="child"||l,f=h,v=new Set,b=Math.max.apply(null,Array.from(u.keys()));for(let m=b;m>=0;m-=1){const C=m===0,R=u.get(m);for(const $ of R){if($.isLeaf)continue;const{key:S,shallowLoaded:w}=$;if(g&&w&&$.children.forEach(M=>{!M.disabled&&!M.isLeaf&&M.shallowLoaded&&f.has(M.key)&&f.delete(M.key)}),$.disabled||!w)continue;let x=!0,k=!1,P=!0;for(const M of $.children){const L=M.key;if(!M.disabled){if(P&&(P=!1),f.has(L))k=!0;else if(v.has(L)){k=!0,x=!1;break}else if(x=!1,k)break}}x&&!P?(p&&$.children.forEach(M=>{!M.disabled&&f.has(M.key)&&f.delete(M.key)}),f.add(S)):k&&v.add(S),C&&g&&f.has(S)&&f.delete(S)}}return{checkedKeys:Array.from(f),indeterminateKeys:Array.from(v)}}function mi(e,t,o,r){const{treeNodeMap:n,getChildren:i}=t,a=new Set,l=new Set(e);return e.forEach(s=>{const d=n.get(s);d!==void 0&&Au(d,u=>{if(u.disabled)return Ka.STOP;const{key:h}=u;if(!a.has(h)&&(a.add(h),l.add(h),TS(u.rawNode,i))){if(r)return Ka.STOP;if(!o)throw new FS}})}),l}function _S(e,{includeGroup:t=!1,includeSelf:o=!0},r){var n;const i=r.treeNodeMap;let a=e==null?null:(n=i.get(e))!==null&&n!==void 0?n:null;const l={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return l.treeNode=null,l;for(;a;)!a.ignored&&(t||!a.isGroup)&&l.treeNodePath.push(a),a=a.parent;return l.treeNodePath.reverse(),o||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map(s=>s.key),l}function DS(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function HS(e,t){const o=e.siblings,r=o.length,{index:n}=e;return t?o[(n+1)%r]:n===o.length-1?null:o[n+1]}function xd(e,t,{loop:o=!1,includeDisabled:r=!1}={}){const n=t==="prev"?WS:HS,i={reverse:t==="prev"};let a=!1,l=null;function s(d){if(d!==null){if(d===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){l=e;return}}else if((!d.disabled||r)&&!d.ignored&&!d.isGroup){l=d;return}if(d.isGroup){const u=Rl(d,i);u!==null?l=u:s(n(d,o))}else{const u=n(d,!1);if(u!==null)s(u);else{const h=NS(d);h!=null&&h.isGroup?s(n(h,o)):o&&s(n(d,!0))}}}}return s(e),l}function WS(e,t){const o=e.siblings,r=o.length,{index:n}=e;return t?o[(n-1+r)%r]:n===0?null:o[n-1]}function NS(e){return e.parent}function Rl(e,t={}){const{reverse:o=!1}=t,{children:r}=e;if(r){const{length:n}=r,i=o?n-1:0,a=o?-1:n,l=o?-1:1;for(let s=i;s!==a;s+=l){const d=r[s];if(!d.disabled&&!d.ignored)if(d.isGroup){const u=Rl(d,t);if(u!==null)return u}else return d}}return null}const jS={getChild(){return this.ignored?null:Rl(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return xd(this,"next",e)},getPrev(e={}){return xd(this,"prev",e)}};function VS(e,t){const o=t?new Set(t):void 0,r=[];function n(i){i.forEach(a=>{r.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||o===void 0||o.has(a.key))&&n(a.children)})}return n(e),r}function US(e,t){const o=e.key;for(;t;){if(t.key===o)return!0;t=t.parent}return!1}function _u(e,t,o,r,n,i=null,a=0){const l=[];return e.forEach((s,d)=>{var u;const h=Object.create(r);if(h.rawNode=s,h.siblings=l,h.level=a,h.index=d,h.isFirstChild=d===0,h.isLastChild=d+1===e.length,h.parent=i,!h.ignored){const p=n(s);Array.isArray(p)&&(h.children=_u(p,t,o,r,n,h,a+1))}l.push(h),t.set(h.key,h),o.has(a)||o.set(a,[]),(u=o.get(a))===null||u===void 0||u.push(h)}),l}function Li(e,t={}){var o;const r=new Map,n=new Map,{getDisabled:i=zS,getIgnored:a=RS,getIsGroup:l=MS,getKey:s=$S}=t,d=(o=t.getChildren)!==null&&o!==void 0?o:kS,u=t.ignoreEmptyChildren?$=>{const S=d($);return Array.isArray(S)?S.length?S:null:S}:d,h=Object.assign({get key(){return s(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return SS(this.rawNode,u)},get shallowLoaded(){return PS(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains($){return US(this,$)}},jS),p=_u(e,r,n,h,u);function g($){if($==null)return null;const S=r.get($);return S&&!S.isGroup&&!S.ignored?S:null}function f($){if($==null)return null;const S=r.get($);return S&&!S.ignored?S:null}function v($,S){const w=f($);return w?w.getPrev(S):null}function b($,S){const w=f($);return w?w.getNext(S):null}function m($){const S=f($);return S?S.getParent():null}function C($){const S=f($);return S?S.getChild():null}const R={treeNodes:p,treeNodeMap:r,levelTreeNodeMap:n,maxLevel:Math.max(...n.keys()),getChildren:u,getFlattenedNodes($){return VS(p,$)},getNode:g,getPrev:v,getNext:b,getParent:m,getChild:C,getFirstAvailableNode(){return DS(p)},getPath($,S={}){return _S($,S,R)},getCheckedKeys($,S={}){const{cascade:w=!0,leafOnly:x=!1,checkStrategy:k="all",allowNotLoaded:P=!1}=S;return ha({checkedKeys:ua($),indeterminateKeys:fa($),cascade:w,leafOnly:x,checkStrategy:k,allowNotLoaded:P},R)},check($,S,w={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:M=!1}=w;return ha({checkedKeys:ua(S),indeterminateKeys:fa(S),keysToCheck:$==null?[]:bd($),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:M},R)},uncheck($,S,w={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:M=!1}=w;return ha({checkedKeys:ua(S),indeterminateKeys:fa(S),keysToUncheck:$==null?[]:bd($),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:M},R)},getNonLeafKeys($={}){return wS(p,$)}};return R}const Oe={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},KS=Co(Oe.neutralBase),Du=Co(Oe.neutralInvertBase),GS="rgba("+Du.slice(0,3).join(", ")+", ";function nt(e){return GS+String(e)+")"}function qS(e){const t=Array.from(Du);return t[3]=Number(e),Ee(KS,t)}const XS=Object.assign(Object.assign({name:"common"},Ut),{baseColor:Oe.neutralBase,primaryColor:Oe.primaryDefault,primaryColorHover:Oe.primaryHover,primaryColorPressed:Oe.primaryActive,primaryColorSuppl:Oe.primarySuppl,infoColor:Oe.infoDefault,infoColorHover:Oe.infoHover,infoColorPressed:Oe.infoActive,infoColorSuppl:Oe.infoSuppl,successColor:Oe.successDefault,successColorHover:Oe.successHover,successColorPressed:Oe.successActive,successColorSuppl:Oe.successSuppl,warningColor:Oe.warningDefault,warningColorHover:Oe.warningHover,warningColorPressed:Oe.warningActive,warningColorSuppl:Oe.warningSuppl,errorColor:Oe.errorDefault,errorColorHover:Oe.errorHover,errorColorPressed:Oe.errorActive,errorColorSuppl:Oe.errorSuppl,textColorBase:Oe.neutralTextBase,textColor1:nt(Oe.alpha1),textColor2:nt(Oe.alpha2),textColor3:nt(Oe.alpha3),textColorDisabled:nt(Oe.alpha4),placeholderColor:nt(Oe.alpha4),placeholderColorDisabled:nt(Oe.alpha5),iconColor:nt(Oe.alpha4),iconColorDisabled:nt(Oe.alpha5),iconColorHover:nt(Number(Oe.alpha4)*1.25),iconColorPressed:nt(Number(Oe.alpha4)*.8),opacity1:Oe.alpha1,opacity2:Oe.alpha2,opacity3:Oe.alpha3,opacity4:Oe.alpha4,opacity5:Oe.alpha5,dividerColor:nt(Oe.alphaDivider),borderColor:nt(Oe.alphaBorder),closeIconColorHover:nt(Number(Oe.alphaClose)),closeIconColor:nt(Number(Oe.alphaClose)),closeIconColorPressed:nt(Number(Oe.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:nt(Oe.alpha4),clearColorHover:wt(nt(Oe.alpha4),{alpha:1.25}),clearColorPressed:wt(nt(Oe.alpha4),{alpha:.8}),scrollbarColor:nt(Oe.alphaScrollbar),scrollbarColorHover:nt(Oe.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:nt(Oe.alphaProgressRail),railColor:nt(Oe.alphaRail),popoverColor:Oe.neutralPopover,tableColor:Oe.neutralCard,cardColor:Oe.neutralCard,modalColor:Oe.neutralModal,bodyColor:Oe.neutralBody,tagColor:qS(Oe.alphaTag),avatarColor:nt(Oe.alphaAvatar),invertedColor:Oe.neutralBase,inputColor:nt(Oe.alphaInput),codeColor:nt(Oe.alphaCode),tabColor:nt(Oe.alphaTab),actionColor:nt(Oe.alphaAction),tableHeaderColor:nt(Oe.alphaAction),hoverColor:nt(Oe.alphaPending),tableColorHover:nt(Oe.alphaTablePending),tableColorStriped:nt(Oe.alphaTableStriped),pressedColor:nt(Oe.alphaPressed),opacityDisabled:Oe.alphaDisabled,inputColorDisabled:nt(Oe.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ke=XS,je={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},YS=Co(je.neutralBase),Hu=Co(je.neutralInvertBase),ZS="rgba("+Hu.slice(0,3).join(", ")+", ";function Cd(e){return ZS+String(e)+")"}function Ot(e){const t=Array.from(Hu);return t[3]=Number(e),Ee(YS,t)}const JS=Object.assign(Object.assign({name:"common"},Ut),{baseColor:je.neutralBase,primaryColor:je.primaryDefault,primaryColorHover:je.primaryHover,primaryColorPressed:je.primaryActive,primaryColorSuppl:je.primarySuppl,infoColor:je.infoDefault,infoColorHover:je.infoHover,infoColorPressed:je.infoActive,infoColorSuppl:je.infoSuppl,successColor:je.successDefault,successColorHover:je.successHover,successColorPressed:je.successActive,successColorSuppl:je.successSuppl,warningColor:je.warningDefault,warningColorHover:je.warningHover,warningColorPressed:je.warningActive,warningColorSuppl:je.warningSuppl,errorColor:je.errorDefault,errorColorHover:je.errorHover,errorColorPressed:je.errorActive,errorColorSuppl:je.errorSuppl,textColorBase:je.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Ot(je.alpha4),placeholderColor:Ot(je.alpha4),placeholderColorDisabled:Ot(je.alpha5),iconColor:Ot(je.alpha4),iconColorHover:wt(Ot(je.alpha4),{lightness:.75}),iconColorPressed:wt(Ot(je.alpha4),{lightness:.9}),iconColorDisabled:Ot(je.alpha5),opacity1:je.alpha1,opacity2:je.alpha2,opacity3:je.alpha3,opacity4:je.alpha4,opacity5:je.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Ot(Number(je.alphaClose)),closeIconColorHover:Ot(Number(je.alphaClose)),closeIconColorPressed:Ot(Number(je.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Ot(je.alpha4),clearColorHover:wt(Ot(je.alpha4),{lightness:.75}),clearColorPressed:wt(Ot(je.alpha4),{lightness:.9}),scrollbarColor:Cd(je.alphaScrollbar),scrollbarColorHover:Cd(je.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ot(je.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:je.neutralPopover,tableColor:je.neutralCard,cardColor:je.neutralCard,modalColor:je.neutralModal,bodyColor:je.neutralBody,tagColor:"#eee",avatarColor:Ot(je.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Ot(je.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:je.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Ce=JS,QS={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},Wu=e=>{const{textColorDisabled:t,iconColor:o,textColor2:r,fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l}=e;return Object.assign(Object.assign({},QS),{fontSizeSmall:n,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:l,textColor:t,iconColor:o,extraTextColor:r})},e2={name:"Empty",common:Ce,self:Wu},Ro=e2,t2={name:"Empty",common:ke,self:Wu},xr=t2,o2=y("empty",` display: flex; flex-direction: column; align-items: center; font-size: var(--n-font-size); -`,[M("icon",` +`,[O("icon",` width: var(--n-icon-size); height: var(--n-icon-size); font-size: var(--n-icon-size); @@ -126,17 +126,17 @@ ${t} color: var(--n-icon-color); transition: color .3s var(--n-bezier); - `,[z("+",[M("description",` + `,[z("+",[O("description",` margin-top: 8px; - `)])]),M("description",` + `)])]),O("description",` transition: color .3s var(--n-bezier); color: var(--n-text-color); - `),M("extra",` + `),O("extra",` text-align: center; transition: color .3s var(--n-bezier); margin-top: 12px; color: var(--n-extra-text-color); - `)]),e2=Object.assign(Object.assign({},we.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),ju=ne({name:"Empty",props:e2,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Empty","-empty",QS,$o,e,t),{localeRef:n}=wo("Empty"),i=Te(lo,null),a=T(()=>{var u,h,p;return(u=e.description)!==null&&u!==void 0?u:(p=(h=i==null?void 0:i.mergedComponentPropsRef.value)===null||h===void 0?void 0:h.Empty)===null||p===void 0?void 0:p.description}),l=T(()=>{var u,h;return((h=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||h===void 0?void 0:h.renderIcon)||(()=>c(nS,null))}),s=T(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:h},self:{[oe("iconSize",u)]:p,[oe("fontSize",u)]:g,textColor:f,iconColor:v,extraTextColor:m}}=r.value;return{"--n-icon-size":p,"--n-font-size":g,"--n-bezier":h,"--n-text-color":f,"--n-icon-color":v,"--n-extra-text-color":m}}),d=o?Qe("empty",T(()=>{let u="";const{size:h}=e;return u+=h[0],u}),s,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:l,localizedDescription:T(()=>a.value||n.value.description),cssVars:o?void 0:s,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:o}=this;return o==null||o(),c("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?c("div",{class:`${t}-empty__icon`},e.icon?e.icon():c(ot,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?c("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?c("div",{class:`${t}-empty__extra`},e.extra()):null)}}),Wu=e=>{const{scrollbarColor:t,scrollbarColorHover:o}=e;return{color:t,colorHover:o}},t2={name:"Scrollbar",common:xe,self:Wu},Et=t2,o2={name:"Scrollbar",common:ke,self:Wu},Dt=o2,{cubicBezierEaseInOut:xd}=Ut;function cr({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:o="0.2s",enterCubicBezier:r=xd,leaveCubicBezier:n=xd}={}){return[z(`&.${e}-transition-enter-active`,{transition:`all ${t} ${r}!important`}),z(`&.${e}-transition-leave-active`,{transition:`all ${o} ${n}!important`}),z(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),z(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const r2=y("scrollbar",` + `)]),r2=Object.assign(Object.assign({},be.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),Nu=re({name:"Empty",props:r2,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=be("Empty","-empty",o2,Ro,e,t),{localeRef:n}=wo("Empty"),i=Te(lo,null),a=T(()=>{var u,h,p;return(u=e.description)!==null&&u!==void 0?u:(p=(h=i==null?void 0:i.mergedComponentPropsRef.value)===null||h===void 0?void 0:h.Empty)===null||p===void 0?void 0:p.description}),l=T(()=>{var u,h;return((h=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||h===void 0?void 0:h.renderIcon)||(()=>c(lS,null))}),s=T(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:h},self:{[oe("iconSize",u)]:p,[oe("fontSize",u)]:g,textColor:f,iconColor:v,extraTextColor:b}}=r.value;return{"--n-icon-size":p,"--n-font-size":g,"--n-bezier":h,"--n-text-color":f,"--n-icon-color":v,"--n-extra-text-color":b}}),d=o?Qe("empty",T(()=>{let u="";const{size:h}=e;return u+=h[0],u}),s,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:l,localizedDescription:T(()=>a.value||n.value.description),cssVars:o?void 0:s,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:o}=this;return o==null||o(),c("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?c("div",{class:`${t}-empty__icon`},e.icon?e.icon():c(ot,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?c("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?c("div",{class:`${t}-empty__extra`},e.extra()):null)}}),ju=e=>{const{scrollbarColor:t,scrollbarColorHover:o}=e;return{color:t,colorHover:o}},n2={name:"Scrollbar",common:Ce,self:ju},Et=n2,i2={name:"Scrollbar",common:ke,self:ju},Dt=i2,{cubicBezierEaseInOut:yd}=Ut;function cr({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:o="0.2s",enterCubicBezier:r=yd,leaveCubicBezier:n=yd}={}){return[z(`&.${e}-transition-enter-active`,{transition:`all ${t} ${r}!important`}),z(`&.${e}-transition-leave-active`,{transition:`all ${o} ${n}!important`}),z(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),z(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const a2=y("scrollbar",` overflow: hidden; position: relative; z-index: auto; @@ -166,7 +166,7 @@ ${t} right: 2px; bottom: 4px; height: var(--n-scrollbar-height); - `,[z(">",[M("scrollbar",` + `,[z(">",[O("scrollbar",` height: var(--n-scrollbar-height); border-radius: var(--n-scrollbar-border-radius); right: 0; @@ -175,18 +175,18 @@ ${t} top: 2px; bottom: 2px; width: var(--n-scrollbar-width); - `,[z(">",[M("scrollbar",` + `,[z(">",[O("scrollbar",` width: var(--n-scrollbar-width); border-radius: var(--n-scrollbar-border-radius); bottom: 0; - `)])]),B("disabled",[z(">",[M("scrollbar","pointer-events: none;")])]),z(">",[M("scrollbar",` + `)])]),B("disabled",[z(">",[O("scrollbar","pointer-events: none;")])]),z(">",[O("scrollbar",` z-index: 1; position: absolute; cursor: pointer; pointer-events: all; background-color: var(--n-scrollbar-color); transition: background-color .2s var(--n-scrollbar-bezier); - `,[cr(),z("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),n2=Object.assign(Object.assign({},we.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Nu=ne({name:"Scrollbar",props:n2,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o,mergedRtlRef:r}=He(e),n=Rt("Scrollbar",r,t),i=E(null),a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(null),v=E(null),m=E(0),b=E(0),C=E(!1),R=E(!1);let $=!1,S=!1,w,x,k=0,P=0,I=0,A=0;const O=cg(),L=T(()=>{const{value:F}=p,{value:G}=u,{value:de}=f;return F===null||G===null||de===null?0:Math.min(F,de*F/G+e.size*1.5)}),H=T(()=>`${L.value}px`),_=T(()=>{const{value:F}=g,{value:G}=h,{value:de}=v;return F===null||G===null||de===null?0:de*F/G+e.size*1.5}),U=T(()=>`${_.value}px`),N=T(()=>{const{value:F}=p,{value:G}=m,{value:de}=u,{value:Re}=f;if(F===null||de===null||Re===null)return 0;{const Ie=de-F;return Ie?G/Ie*(Re-L.value):0}}),te=T(()=>`${N.value}px`),fe=T(()=>{const{value:F}=g,{value:G}=b,{value:de}=h,{value:Re}=v;if(F===null||de===null||Re===null)return 0;{const Ie=de-F;return Ie?G/Ie*(Re-_.value):0}}),ae=T(()=>`${fe.value}px`),Y=T(()=>{const{value:F}=p,{value:G}=u;return F!==null&&G!==null&&G>F}),j=T(()=>{const{value:F}=g,{value:G}=h;return F!==null&&G!==null&&G>F}),X=T(()=>{const{trigger:F}=e;return F==="none"||C.value}),re=T(()=>{const{trigger:F}=e;return F==="none"||R.value}),le=T(()=>{const{container:F}=e;return F?F():a.value}),ge=T(()=>{const{content:F}=e;return F?F():l.value}),me=ul(()=>{e.container||ve({top:m.value,left:b.value})}),Ae=()=>{me.isDeactivated||D()},q=F=>{if(me.isDeactivated)return;const{onResize:G}=e;G&&G(F),D()},ve=(F,G)=>{if(!e.scrollable)return;if(typeof F=="number"){Oe(F,G??0,0,!1,"auto");return}const{left:de,top:Re,index:Ie,elSize:Fe,position:_e,behavior:je,el:Ge,debounce:xt=!0}=F;(de!==void 0||Re!==void 0)&&Oe(de??0,Re??0,0,!1,je),Ge!==void 0?Oe(0,Ge.offsetTop,Ge.offsetHeight,xt,je):Ie!==void 0&&Fe!==void 0?Oe(0,Ie*Fe,Fe,xt,je):_e==="bottom"?Oe(0,Number.MAX_SAFE_INTEGER,0,!1,je):_e==="top"&&Oe(0,0,0,!1,je)},$e=(F,G)=>{if(!e.scrollable)return;const{value:de}=le;de&&(typeof F=="object"?de.scrollBy(F):de.scrollBy(F,G||0))};function Oe(F,G,de,Re,Ie){const{value:Fe}=le;if(Fe){if(Re){const{scrollTop:_e,offsetHeight:je}=Fe;if(G>_e){G+de<=_e+je||Fe.scrollTo({left:F,top:G+de-je,behavior:Ie});return}}Fe.scrollTo({left:F,top:G,behavior:Ie})}}function Z(){Ce(),Pe(),D()}function ue(){be()}function be(){De(),ee()}function De(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{R.value=!1},e.duration)}function ee(){w!==void 0&&window.clearTimeout(w),w=window.setTimeout(()=>{C.value=!1},e.duration)}function Ce(){w!==void 0&&window.clearTimeout(w),C.value=!0}function Pe(){x!==void 0&&window.clearTimeout(x),R.value=!0}function K(F){const{onScroll:G}=e;G&&G(F),Q()}function Q(){const{value:F}=le;F&&(m.value=F.scrollTop,b.value=F.scrollLeft*(n!=null&&n.value?-1:1))}function pe(){const{value:F}=ge;F&&(u.value=F.offsetHeight,h.value=F.offsetWidth);const{value:G}=le;G&&(p.value=G.offsetHeight,g.value=G.offsetWidth);const{value:de}=d,{value:Re}=s;de&&(v.value=de.offsetWidth),Re&&(f.value=Re.offsetHeight)}function V(){const{value:F}=le;F&&(m.value=F.scrollTop,b.value=F.scrollLeft*(n!=null&&n.value?-1:1),p.value=F.offsetHeight,g.value=F.offsetWidth,u.value=F.scrollHeight,h.value=F.scrollWidth);const{value:G}=d,{value:de}=s;G&&(v.value=G.offsetWidth),de&&(f.value=de.offsetHeight)}function D(){e.scrollable&&(e.useUnifiedContainer?V():(pe(),Q()))}function J(F){var G;return!(!((G=i.value)===null||G===void 0)&&G.contains(Lr(F)))}function Se(F){F.preventDefault(),F.stopPropagation(),S=!0,tt("mousemove",window,Le,!0),tt("mouseup",window,qe,!0),P=b.value,I=n!=null&&n.value?window.innerWidth-F.clientX:F.clientX}function Le(F){if(!S)return;w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x);const{value:G}=g,{value:de}=h,{value:Re}=_;if(G===null||de===null)return;const Fe=(n!=null&&n.value?window.innerWidth-F.clientX-I:F.clientX-I)*(de-G)/(G-Re),_e=de-G;let je=P+Fe;je=Math.min(_e,je),je=Math.max(je,0);const{value:Ge}=le;if(Ge){Ge.scrollLeft=je*(n!=null&&n.value?-1:1);const{internalOnUpdateScrollLeft:xt}=e;xt&&xt(je)}}function qe(F){F.preventDefault(),F.stopPropagation(),Xe("mousemove",window,Le,!0),Xe("mouseup",window,qe,!0),S=!1,D(),J(F)&&be()}function it(F){F.preventDefault(),F.stopPropagation(),$=!0,tt("mousemove",window,ye,!0),tt("mouseup",window,ze,!0),k=m.value,A=F.clientY}function ye(F){if(!$)return;w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x);const{value:G}=p,{value:de}=u,{value:Re}=L;if(G===null||de===null)return;const Fe=(F.clientY-A)*(de-G)/(G-Re),_e=de-G;let je=k+Fe;je=Math.min(_e,je),je=Math.max(je,0);const{value:Ge}=le;Ge&&(Ge.scrollTop=je)}function ze(F){F.preventDefault(),F.stopPropagation(),Xe("mousemove",window,ye,!0),Xe("mouseup",window,ze,!0),$=!1,D(),J(F)&&be()}vt(()=>{const{value:F}=j,{value:G}=Y,{value:de}=t,{value:Re}=d,{value:Ie}=s;Re&&(F?Re.classList.remove(`${de}-scrollbar-rail--disabled`):Re.classList.add(`${de}-scrollbar-rail--disabled`)),Ie&&(G?Ie.classList.remove(`${de}-scrollbar-rail--disabled`):Ie.classList.add(`${de}-scrollbar-rail--disabled`))}),gt(()=>{e.container||D()}),dt(()=>{w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x),Xe("mousemove",window,ye,!0),Xe("mouseup",window,ze,!0)});const Ke=we("Scrollbar","-scrollbar",r2,Et,e,t),Be=T(()=>{const{common:{cubicBezierEaseInOut:F,scrollbarBorderRadius:G,scrollbarHeight:de,scrollbarWidth:Re},self:{color:Ie,colorHover:Fe}}=Ke.value;return{"--n-scrollbar-bezier":F,"--n-scrollbar-color":Ie,"--n-scrollbar-color-hover":Fe,"--n-scrollbar-border-radius":G,"--n-scrollbar-width":Re,"--n-scrollbar-height":de}}),Ve=o?Qe("scrollbar",void 0,Be,e):void 0;return Object.assign(Object.assign({},{scrollTo:ve,scrollBy:$e,sync:D,syncUnifiedContainer:V,handleMouseEnterWrapper:Z,handleMouseLeaveWrapper:ue}),{mergedClsPrefix:t,rtlEnabled:n,containerScrollTop:m,wrapperRef:i,containerRef:a,contentRef:l,yRailRef:s,xRailRef:d,needYBar:Y,needXBar:j,yBarSizePx:H,xBarSizePx:U,yBarTopPx:te,xBarLeftPx:ae,isShowXBar:X,isShowYBar:re,isIos:O,handleScroll:K,handleContentResize:Ae,handleContainerResize:q,handleYScrollMouseDown:it,handleXScrollMouseDown:Se,cssVars:o?void 0:Be,themeClass:Ve==null?void 0:Ve.themeClass,onRender:Ve==null?void 0:Ve.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:o,triggerDisplayManually:r,rtlEnabled:n,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",l=(u,h)=>c("div",{ref:"yRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[h||"",this.verticalRailStyle],"aria-hidden":!0},c(a?Ma:kt,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?c("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),s=()=>{var u,h;return(u=this.onRender)===null||u===void 0||u.call(this),c("div",Ft(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${o}-scrollbar`,this.themeClass,n&&`${o}-scrollbar--rtl`],style:this.cssVars,onMouseenter:r?void 0:this.handleMouseEnterWrapper,onMouseleave:r?void 0:this.handleMouseLeaveWrapper}),[this.container?(h=t.default)===null||h===void 0?void 0:h.call(t):c("div",{role:"none",ref:"containerRef",class:[`${o}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},c(io,{onResize:this.handleContentResize},{default:()=>c("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${o}-scrollbar-content`,this.contentClass]},t)})),i?null:l(void 0,void 0),this.xScrollable&&c("div",{ref:"xRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},c(a?Ma:kt,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?c("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:n?this.xBarLeftPx:void 0,left:n?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},d=this.container?s():c(io,{onResize:this.handleContainerResize},{default:s});return i?c(yt,null,d,l(this.themeClass,this.cssVars)):d}}),so=Nu,Vu=Nu,i2={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},Uu=e=>{const{borderRadius:t,popoverColor:o,textColor3:r,dividerColor:n,textColor2:i,primaryColorPressed:a,textColorDisabled:l,primaryColor:s,opacityDisabled:d,hoverColor:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,fontSizeHuge:f,heightSmall:v,heightMedium:m,heightLarge:b,heightHuge:C}=e;return Object.assign(Object.assign({},i2),{optionFontSizeSmall:h,optionFontSizeMedium:p,optionFontSizeLarge:g,optionFontSizeHuge:f,optionHeightSmall:v,optionHeightMedium:m,optionHeightLarge:b,optionHeightHuge:C,borderRadius:t,color:o,groupHeaderTextColor:r,actionDividerColor:n,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:l,optionTextColorActive:s,optionOpacityDisabled:d,optionCheckColor:s,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:s})},a2={name:"InternalSelectMenu",common:xe,peers:{Scrollbar:Et,Empty:$o},self:Uu},Xr=a2,l2={name:"InternalSelectMenu",common:ke,peers:{Scrollbar:Dt,Empty:xr},self:Uu},En=l2;function s2(e,t){return c(kt,{name:"fade-in-scale-up-transition"},{default:()=>e?c(ot,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>c(eS)}):null})}const Cd=ne({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:o,multipleRef:r,valueSetRef:n,renderLabelRef:i,renderOptionRef:a,labelFieldRef:l,valueFieldRef:s,showCheckmarkRef:d,nodePropsRef:u,handleOptionClick:h,handleOptionMouseEnter:p}=Te(al),g=Ye(()=>{const{value:b}=o;return b?e.tmNode.key===b.key:!1});function f(b){const{tmNode:C}=e;C.disabled||h(b,C)}function v(b){const{tmNode:C}=e;C.disabled||p(b,C)}function m(b){const{tmNode:C}=e,{value:R}=g;C.disabled||R||p(b,C)}return{multiple:r,isGrouped:Ye(()=>{const{tmNode:b}=e,{parent:C}=b;return C&&C.rawNode.type==="group"}),showCheckmark:d,nodeProps:u,isPending:g,isSelected:Ye(()=>{const{value:b}=t,{value:C}=r;if(b===null)return!1;const R=e.tmNode.rawNode[s.value];if(C){const{value:$}=n;return $.has(R)}else return b===R}),labelField:l,renderLabel:i,renderOption:a,handleMouseMove:m,handleMouseEnter:v,handleClick:f}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:o,isPending:r,isGrouped:n,showCheckmark:i,nodeProps:a,renderOption:l,renderLabel:s,handleClick:d,handleMouseEnter:u,handleMouseMove:h}=this,p=s2(o,e),g=s?[s(t,o),i&&p]:[pt(t[this.labelField],t,o),i&&p],f=a==null?void 0:a(t),v=c("div",Object.assign({},f,{class:[`${e}-base-select-option`,t.class,f==null?void 0:f.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:o,[`${e}-base-select-option--grouped`]:n,[`${e}-base-select-option--pending`]:r,[`${e}-base-select-option--show-checkmark`]:i}],style:[(f==null?void 0:f.style)||"",t.style||""],onClick:un([d,f==null?void 0:f.onClick]),onMouseenter:un([u,f==null?void 0:f.onMouseenter]),onMousemove:un([h,f==null?void 0:f.onMousemove])}),c("div",{class:`${e}-base-select-option__content`},g));return t.render?t.render({node:v,option:t,selected:o}):l?l({node:v,option:t,selected:o}):v}}),yd=ne({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:o,nodePropsRef:r}=Te(al);return{labelField:o,nodeProps:r,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:o,nodeProps:r,tmNode:{rawNode:n}}=this,i=r==null?void 0:r(n),a=t?t(n,!1):pt(n[this.labelField],n,!1),l=c("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return n.render?n.render({node:l,option:n}):o?o({node:l,option:n,selected:!1}):l}}),{cubicBezierEaseIn:wd,cubicBezierEaseOut:Sd}=Ut;function Go({transformOrigin:e="inherit",duration:t=".2s",enterScale:o=".9",originalTransform:r="",originalTransition:n=""}={}){return[z("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${wd}, transform ${t} ${wd} ${n&&","+n}`}),z("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${Sd}, transform ${t} ${Sd} ${n&&","+n}`}),z("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${r} scale(${o})`}),z("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${r} scale(1)`})]}const d2=y("base-select-menu",` + `,[cr(),z("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),l2=Object.assign(Object.assign({},be.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Vu=re({name:"Scrollbar",props:l2,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o,mergedRtlRef:r}=He(e),n=Rt("Scrollbar",r,t),i=E(null),a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(null),v=E(null),b=E(0),m=E(0),C=E(!1),R=E(!1);let $=!1,S=!1,w,x,k=0,P=0,M=0,L=0;const I=hg(),A=T(()=>{const{value:F}=p,{value:q}=u,{value:de}=f;return F===null||q===null||de===null?0:Math.min(F,de*F/q+e.size*1.5)}),H=T(()=>`${A.value}px`),_=T(()=>{const{value:F}=g,{value:q}=h,{value:de}=v;return F===null||q===null||de===null?0:de*F/q+e.size*1.5}),U=T(()=>`${_.value}px`),N=T(()=>{const{value:F}=p,{value:q}=b,{value:de}=u,{value:Re}=f;if(F===null||de===null||Re===null)return 0;{const Ie=de-F;return Ie?q/Ie*(Re-A.value):0}}),ee=T(()=>`${N.value}px`),ue=T(()=>{const{value:F}=g,{value:q}=m,{value:de}=h,{value:Re}=v;if(F===null||de===null||Re===null)return 0;{const Ie=de-F;return Ie?q/Ie*(Re-_.value):0}}),ae=T(()=>`${ue.value}px`),Y=T(()=>{const{value:F}=p,{value:q}=u;return F!==null&&q!==null&&q>F}),W=T(()=>{const{value:F}=g,{value:q}=h;return F!==null&&q!==null&&q>F}),X=T(()=>{const{trigger:F}=e;return F==="none"||C.value}),ne=T(()=>{const{trigger:F}=e;return F==="none"||R.value}),le=T(()=>{const{container:F}=e;return F?F():a.value}),ge=T(()=>{const{content:F}=e;return F?F():l.value}),xe=fl(()=>{e.container||ve({top:b.value,left:m.value})}),Le=()=>{xe.isDeactivated||D()},G=F=>{if(xe.isDeactivated)return;const{onResize:q}=e;q&&q(F),D()},ve=(F,q)=>{if(!e.scrollable)return;if(typeof F=="number"){Me(F,q??0,0,!1,"auto");return}const{left:de,top:Re,index:Ie,elSize:Fe,position:_e,behavior:We,el:qe,debounce:xt=!0}=F;(de!==void 0||Re!==void 0)&&Me(de??0,Re??0,0,!1,We),qe!==void 0?Me(0,qe.offsetTop,qe.offsetHeight,xt,We):Ie!==void 0&&Fe!==void 0?Me(0,Ie*Fe,Fe,xt,We):_e==="bottom"?Me(0,Number.MAX_SAFE_INTEGER,0,!1,We):_e==="top"&&Me(0,0,0,!1,We)},$e=(F,q)=>{if(!e.scrollable)return;const{value:de}=le;de&&(typeof F=="object"?de.scrollBy(F):de.scrollBy(F,q||0))};function Me(F,q,de,Re,Ie){const{value:Fe}=le;if(Fe){if(Re){const{scrollTop:_e,offsetHeight:We}=Fe;if(q>_e){q+de<=_e+We||Fe.scrollTo({left:F,top:q+de-We,behavior:Ie});return}}Fe.scrollTo({left:F,top:q,behavior:Ie})}}function Z(){ye(),Pe(),D()}function fe(){me()}function me(){De(),te()}function De(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{R.value=!1},e.duration)}function te(){w!==void 0&&window.clearTimeout(w),w=window.setTimeout(()=>{C.value=!1},e.duration)}function ye(){w!==void 0&&window.clearTimeout(w),C.value=!0}function Pe(){x!==void 0&&window.clearTimeout(x),R.value=!0}function K(F){const{onScroll:q}=e;q&&q(F),Q()}function Q(){const{value:F}=le;F&&(b.value=F.scrollTop,m.value=F.scrollLeft*(n!=null&&n.value?-1:1))}function pe(){const{value:F}=ge;F&&(u.value=F.offsetHeight,h.value=F.offsetWidth);const{value:q}=le;q&&(p.value=q.offsetHeight,g.value=q.offsetWidth);const{value:de}=d,{value:Re}=s;de&&(v.value=de.offsetWidth),Re&&(f.value=Re.offsetHeight)}function V(){const{value:F}=le;F&&(b.value=F.scrollTop,m.value=F.scrollLeft*(n!=null&&n.value?-1:1),p.value=F.offsetHeight,g.value=F.offsetWidth,u.value=F.scrollHeight,h.value=F.scrollWidth);const{value:q}=d,{value:de}=s;q&&(v.value=q.offsetWidth),de&&(f.value=de.offsetHeight)}function D(){e.scrollable&&(e.useUnifiedContainer?V():(pe(),Q()))}function J(F){var q;return!(!((q=i.value)===null||q===void 0)&&q.contains(Ar(F)))}function Se(F){F.preventDefault(),F.stopPropagation(),S=!0,tt("mousemove",window,Ae,!0),tt("mouseup",window,Ge,!0),P=m.value,M=n!=null&&n.value?window.innerWidth-F.clientX:F.clientX}function Ae(F){if(!S)return;w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x);const{value:q}=g,{value:de}=h,{value:Re}=_;if(q===null||de===null)return;const Fe=(n!=null&&n.value?window.innerWidth-F.clientX-M:F.clientX-M)*(de-q)/(q-Re),_e=de-q;let We=P+Fe;We=Math.min(_e,We),We=Math.max(We,0);const{value:qe}=le;if(qe){qe.scrollLeft=We*(n!=null&&n.value?-1:1);const{internalOnUpdateScrollLeft:xt}=e;xt&&xt(We)}}function Ge(F){F.preventDefault(),F.stopPropagation(),Xe("mousemove",window,Ae,!0),Xe("mouseup",window,Ge,!0),S=!1,D(),J(F)&&me()}function it(F){F.preventDefault(),F.stopPropagation(),$=!0,tt("mousemove",window,we,!0),tt("mouseup",window,ze,!0),k=b.value,L=F.clientY}function we(F){if(!$)return;w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x);const{value:q}=p,{value:de}=u,{value:Re}=A;if(q===null||de===null)return;const Fe=(F.clientY-L)*(de-q)/(q-Re),_e=de-q;let We=k+Fe;We=Math.min(_e,We),We=Math.max(We,0);const{value:qe}=le;qe&&(qe.scrollTop=We)}function ze(F){F.preventDefault(),F.stopPropagation(),Xe("mousemove",window,we,!0),Xe("mouseup",window,ze,!0),$=!1,D(),J(F)&&me()}pt(()=>{const{value:F}=W,{value:q}=Y,{value:de}=t,{value:Re}=d,{value:Ie}=s;Re&&(F?Re.classList.remove(`${de}-scrollbar-rail--disabled`):Re.classList.add(`${de}-scrollbar-rail--disabled`)),Ie&&(q?Ie.classList.remove(`${de}-scrollbar-rail--disabled`):Ie.classList.add(`${de}-scrollbar-rail--disabled`))}),gt(()=>{e.container||D()}),dt(()=>{w!==void 0&&window.clearTimeout(w),x!==void 0&&window.clearTimeout(x),Xe("mousemove",window,we,!0),Xe("mouseup",window,ze,!0)});const Ke=be("Scrollbar","-scrollbar",a2,Et,e,t),Be=T(()=>{const{common:{cubicBezierEaseInOut:F,scrollbarBorderRadius:q,scrollbarHeight:de,scrollbarWidth:Re},self:{color:Ie,colorHover:Fe}}=Ke.value;return{"--n-scrollbar-bezier":F,"--n-scrollbar-color":Ie,"--n-scrollbar-color-hover":Fe,"--n-scrollbar-border-radius":q,"--n-scrollbar-width":Re,"--n-scrollbar-height":de}}),Ve=o?Qe("scrollbar",void 0,Be,e):void 0;return Object.assign(Object.assign({},{scrollTo:ve,scrollBy:$e,sync:D,syncUnifiedContainer:V,handleMouseEnterWrapper:Z,handleMouseLeaveWrapper:fe}),{mergedClsPrefix:t,rtlEnabled:n,containerScrollTop:b,wrapperRef:i,containerRef:a,contentRef:l,yRailRef:s,xRailRef:d,needYBar:Y,needXBar:W,yBarSizePx:H,xBarSizePx:U,yBarTopPx:ee,xBarLeftPx:ae,isShowXBar:X,isShowYBar:ne,isIos:I,handleScroll:K,handleContentResize:Le,handleContainerResize:G,handleYScrollMouseDown:it,handleXScrollMouseDown:Se,cssVars:o?void 0:Be,themeClass:Ve==null?void 0:Ve.themeClass,onRender:Ve==null?void 0:Ve.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:o,triggerDisplayManually:r,rtlEnabled:n,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",l=(u,h)=>c("div",{ref:"yRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[h||"",this.verticalRailStyle],"aria-hidden":!0},c(a?Oa:kt,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?c("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),s=()=>{var u,h;return(u=this.onRender)===null||u===void 0||u.call(this),c("div",Ft(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${o}-scrollbar`,this.themeClass,n&&`${o}-scrollbar--rtl`],style:this.cssVars,onMouseenter:r?void 0:this.handleMouseEnterWrapper,onMouseleave:r?void 0:this.handleMouseLeaveWrapper}),[this.container?(h=t.default)===null||h===void 0?void 0:h.call(t):c("div",{role:"none",ref:"containerRef",class:[`${o}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},c(io,{onResize:this.handleContentResize},{default:()=>c("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${o}-scrollbar-content`,this.contentClass]},t)})),i?null:l(void 0,void 0),this.xScrollable&&c("div",{ref:"xRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},c(a?Oa:kt,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?c("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:n?this.xBarLeftPx:void 0,left:n?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},d=this.container?s():c(io,{onResize:this.handleContainerResize},{default:s});return i?c(yt,null,d,l(this.themeClass,this.cssVars)):d}}),so=Vu,Uu=Vu,s2={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},Ku=e=>{const{borderRadius:t,popoverColor:o,textColor3:r,dividerColor:n,textColor2:i,primaryColorPressed:a,textColorDisabled:l,primaryColor:s,opacityDisabled:d,hoverColor:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,fontSizeHuge:f,heightSmall:v,heightMedium:b,heightLarge:m,heightHuge:C}=e;return Object.assign(Object.assign({},s2),{optionFontSizeSmall:h,optionFontSizeMedium:p,optionFontSizeLarge:g,optionFontSizeHuge:f,optionHeightSmall:v,optionHeightMedium:b,optionHeightLarge:m,optionHeightHuge:C,borderRadius:t,color:o,groupHeaderTextColor:r,actionDividerColor:n,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:l,optionTextColorActive:s,optionOpacityDisabled:d,optionCheckColor:s,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:s})},d2={name:"InternalSelectMenu",common:Ce,peers:{Scrollbar:Et,Empty:Ro},self:Ku},Xr=d2,c2={name:"InternalSelectMenu",common:ke,peers:{Scrollbar:Dt,Empty:xr},self:Ku},En=c2;function u2(e,t){return c(kt,{name:"fade-in-scale-up-transition"},{default:()=>e?c(ot,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>c(rS)}):null})}const wd=re({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:o,multipleRef:r,valueSetRef:n,renderLabelRef:i,renderOptionRef:a,labelFieldRef:l,valueFieldRef:s,showCheckmarkRef:d,nodePropsRef:u,handleOptionClick:h,handleOptionMouseEnter:p}=Te(ll),g=Ye(()=>{const{value:m}=o;return m?e.tmNode.key===m.key:!1});function f(m){const{tmNode:C}=e;C.disabled||h(m,C)}function v(m){const{tmNode:C}=e;C.disabled||p(m,C)}function b(m){const{tmNode:C}=e,{value:R}=g;C.disabled||R||p(m,C)}return{multiple:r,isGrouped:Ye(()=>{const{tmNode:m}=e,{parent:C}=m;return C&&C.rawNode.type==="group"}),showCheckmark:d,nodeProps:u,isPending:g,isSelected:Ye(()=>{const{value:m}=t,{value:C}=r;if(m===null)return!1;const R=e.tmNode.rawNode[s.value];if(C){const{value:$}=n;return $.has(R)}else return m===R}),labelField:l,renderLabel:i,renderOption:a,handleMouseMove:b,handleMouseEnter:v,handleClick:f}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:o,isPending:r,isGrouped:n,showCheckmark:i,nodeProps:a,renderOption:l,renderLabel:s,handleClick:d,handleMouseEnter:u,handleMouseMove:h}=this,p=u2(o,e),g=s?[s(t,o),i&&p]:[vt(t[this.labelField],t,o),i&&p],f=a==null?void 0:a(t),v=c("div",Object.assign({},f,{class:[`${e}-base-select-option`,t.class,f==null?void 0:f.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:o,[`${e}-base-select-option--grouped`]:n,[`${e}-base-select-option--pending`]:r,[`${e}-base-select-option--show-checkmark`]:i}],style:[(f==null?void 0:f.style)||"",t.style||""],onClick:un([d,f==null?void 0:f.onClick]),onMouseenter:un([u,f==null?void 0:f.onMouseenter]),onMousemove:un([h,f==null?void 0:f.onMousemove])}),c("div",{class:`${e}-base-select-option__content`},g));return t.render?t.render({node:v,option:t,selected:o}):l?l({node:v,option:t,selected:o}):v}}),Sd=re({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:o,nodePropsRef:r}=Te(ll);return{labelField:o,nodeProps:r,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:o,nodeProps:r,tmNode:{rawNode:n}}=this,i=r==null?void 0:r(n),a=t?t(n,!1):vt(n[this.labelField],n,!1),l=c("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return n.render?n.render({node:l,option:n}):o?o({node:l,option:n,selected:!1}):l}}),{cubicBezierEaseIn:kd,cubicBezierEaseOut:$d}=Ut;function qo({transformOrigin:e="inherit",duration:t=".2s",enterScale:o=".9",originalTransform:r="",originalTransition:n=""}={}){return[z("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${kd}, transform ${t} ${kd} ${n&&","+n}`}),z("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${$d}, transform ${t} ${$d} ${n&&","+n}`}),z("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${r} scale(${o})`}),z("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${r} scale(1)`})]}const f2=y("base-select-menu",` line-height: 1.5; outline: none; z-index: 0; @@ -205,7 +205,7 @@ ${t} font-size: var(--n-option-font-size); display: flex; align-items: center; - `,[M("content",` + `,[O("content",` z-index: 1; white-space: nowrap; text-overflow: ellipsis; @@ -218,15 +218,15 @@ ${t} `),y("base-select-menu-option-wrapper",` position: relative; width: 100%; - `),M("loading, empty",` + `),O("loading, empty",` display: flex; padding: 12px 32px; flex: 1; justify-content: center; - `),M("loading",` + `),O("loading",` color: var(--n-loading-color); font-size: var(--n-loading-size); - `),M("header",` + `),O("header",` padding: 8px var(--n-option-padding-left); font-size: var(--n-option-font-size); transition: @@ -234,7 +234,7 @@ ${t} border-color .3s var(--n-bezier); border-bottom: 1px solid var(--n-action-divider-color); color: var(--n-action-text-color); - `),M("action",` + `),O("action",` padding: 8px var(--n-option-padding-left); font-size: var(--n-option-font-size); transition: @@ -282,25 +282,25 @@ ${t} background-color: var(--n-option-color-active-pending); `)])]),B("disabled",` cursor: not-allowed; - `,[nt("selected",` + `,[rt("selected",` color: var(--n-option-text-color-disabled); `),B("selected",` opacity: var(--n-option-opacity-disabled); - `)]),M("check",` + `)]),O("check",` font-size: 16px; position: absolute; right: calc(var(--n-option-padding-right) - 4px); top: calc(50% - 7px); color: var(--n-option-check-color); transition: color .3s var(--n-bezier); - `,[Go({enterScale:"0.5"})])])]),Ku=ne({name:"InternalSelectMenu",props:Object.assign(Object.assign({},we.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("InternalSelectMenu",o,t),n=we("InternalSelectMenu","-internal-select-menu",d2,Xr,e,he(e,"clsPrefix")),i=E(null),a=E(null),l=E(null),s=T(()=>e.treeMate.getFlattenedNodes()),d=T(()=>BS(s.value)),u=E(null);function h(){const{treeMate:j}=e;let X=null;const{value:re}=e;re===null?X=j.getFirstAvailableNode():(e.multiple?X=j.getNode((re||[])[(re||[]).length-1]):X=j.getNode(re),(!X||X.disabled)&&(X=j.getFirstAvailableNode())),H(X||null)}function p(){const{value:j}=u;j&&!e.treeMate.getNode(j.key)&&(u.value=null)}let g;Je(()=>e.show,j=>{j?g=Je(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?h():p(),ut(_)):p()},{immediate:!0}):g==null||g()},{immediate:!0}),dt(()=>{g==null||g()});const f=T(()=>Tt(n.value.self[oe("optionHeight",e.size)])),v=T(()=>_t(n.value.self[oe("padding",e.size)])),m=T(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),b=T(()=>{const j=s.value;return j&&j.length===0});function C(j){const{onToggle:X}=e;X&&X(j)}function R(j){const{onScroll:X}=e;X&&X(j)}function $(j){var X;(X=l.value)===null||X===void 0||X.sync(),R(j)}function S(){var j;(j=l.value)===null||j===void 0||j.sync()}function w(){const{value:j}=u;return j||null}function x(j,X){X.disabled||H(X,!1)}function k(j,X){X.disabled||C(X)}function P(j){var X;no(j,"action")||(X=e.onKeyup)===null||X===void 0||X.call(e,j)}function I(j){var X;no(j,"action")||(X=e.onKeydown)===null||X===void 0||X.call(e,j)}function A(j){var X;(X=e.onMousedown)===null||X===void 0||X.call(e,j),!e.focusable&&j.preventDefault()}function O(){const{value:j}=u;j&&H(j.getNext({loop:!0}),!0)}function L(){const{value:j}=u;j&&H(j.getPrev({loop:!0}),!0)}function H(j,X=!1){u.value=j,X&&_()}function _(){var j,X;const re=u.value;if(!re)return;const le=d.value(re.key);le!==null&&(e.virtualScroll?(j=a.value)===null||j===void 0||j.scrollTo({index:le}):(X=l.value)===null||X===void 0||X.scrollTo({index:le,elSize:f.value}))}function U(j){var X,re;!((X=i.value)===null||X===void 0)&&X.contains(j.target)&&((re=e.onFocus)===null||re===void 0||re.call(e,j))}function N(j){var X,re;!((X=i.value)===null||X===void 0)&&X.contains(j.relatedTarget)||(re=e.onBlur)===null||re===void 0||re.call(e,j)}Ue(al,{handleOptionMouseEnter:x,handleOptionClick:k,valueSetRef:m,pendingTmNodeRef:u,nodePropsRef:he(e,"nodeProps"),showCheckmarkRef:he(e,"showCheckmark"),multipleRef:he(e,"multiple"),valueRef:he(e,"value"),renderLabelRef:he(e,"renderLabel"),renderOptionRef:he(e,"renderOption"),labelFieldRef:he(e,"labelField"),valueFieldRef:he(e,"valueField")}),Ue(Sc,i),gt(()=>{const{value:j}=l;j&&j.sync()});const te=T(()=>{const{size:j}=e,{common:{cubicBezierEaseInOut:X},self:{height:re,borderRadius:le,color:ge,groupHeaderTextColor:me,actionDividerColor:Ae,optionTextColorPressed:q,optionTextColor:ve,optionTextColorDisabled:$e,optionTextColorActive:Oe,optionOpacityDisabled:Z,optionCheckColor:ue,actionTextColor:be,optionColorPending:De,optionColorActive:ee,loadingColor:Ce,loadingSize:Pe,optionColorActivePending:K,[oe("optionFontSize",j)]:Q,[oe("optionHeight",j)]:pe,[oe("optionPadding",j)]:V}}=n.value;return{"--n-height":re,"--n-action-divider-color":Ae,"--n-action-text-color":be,"--n-bezier":X,"--n-border-radius":le,"--n-color":ge,"--n-option-font-size":Q,"--n-group-header-text-color":me,"--n-option-check-color":ue,"--n-option-color-pending":De,"--n-option-color-active":ee,"--n-option-color-active-pending":K,"--n-option-height":pe,"--n-option-opacity-disabled":Z,"--n-option-text-color":ve,"--n-option-text-color-active":Oe,"--n-option-text-color-disabled":$e,"--n-option-text-color-pressed":q,"--n-option-padding":V,"--n-option-padding-left":_t(V,"left"),"--n-option-padding-right":_t(V,"right"),"--n-loading-color":Ce,"--n-loading-size":Pe}}),{inlineThemeDisabled:fe}=e,ae=fe?Qe("internal-select-menu",T(()=>e.size[0]),te,e):void 0,Y={selfRef:i,next:O,prev:L,getPendingTmNode:w};return Hc(i,e.onResize),Object.assign({mergedTheme:n,mergedClsPrefix:t,rtlEnabled:r,virtualListRef:a,scrollbarRef:l,itemSize:f,padding:v,flattenedNodes:s,empty:b,virtualListContainer(){const{value:j}=a;return j==null?void 0:j.listElRef},virtualListContent(){const{value:j}=a;return j==null?void 0:j.itemsElRef},doScroll:R,handleFocusin:U,handleFocusout:N,handleKeyUp:P,handleKeyDown:I,handleMouseDown:A,handleVirtualListResize:S,handleVirtualListScroll:$,cssVars:fe?void 0:te,themeClass:ae==null?void 0:ae.themeClass,onRender:ae==null?void 0:ae.onRender},Y)},render(){const{$slots:e,virtualScroll:t,clsPrefix:o,mergedTheme:r,themeClass:n,onRender:i}=this;return i==null||i(),c("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${o}-base-select-menu`,this.rtlEnabled&&`${o}-base-select-menu--rtl`,n,this.multiple&&`${o}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},Ze(e.header,a=>a&&c("div",{class:`${o}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?c("div",{class:`${o}-base-select-menu__loading`},c(Yo,{clsPrefix:o,strokeWidth:20})):this.empty?c("div",{class:`${o}-base-select-menu__empty`,"data-empty":!0},Bt(e.empty,()=>[c(ju,{theme:r.peers.Empty,themeOverrides:r.peerOverrides.Empty})])):c(so,{ref:"scrollbarRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?c(Ec,{ref:"virtualListRef",class:`${o}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?c(yd,{key:a.key,clsPrefix:o,tmNode:a}):a.ignored?null:c(Cd,{clsPrefix:o,key:a.key,tmNode:a})}):c("div",{class:`${o}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?c(yd,{key:a.key,clsPrefix:o,tmNode:a}):c(Cd,{clsPrefix:o,key:a.key,tmNode:a})))}),Ze(e.action,a=>a&&[c("div",{class:`${o}-base-select-menu__action`,"data-action":!0,key:"action"},a),c(vS,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),c2=y("base-wave",` + `,[qo({enterScale:"0.5"})])])]),Gu=re({name:"InternalSelectMenu",props:Object.assign(Object.assign({},be.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("InternalSelectMenu",o,t),n=be("InternalSelectMenu","-internal-select-menu",f2,Xr,e,he(e,"clsPrefix")),i=E(null),a=E(null),l=E(null),s=T(()=>e.treeMate.getFlattenedNodes()),d=T(()=>IS(s.value)),u=E(null);function h(){const{treeMate:W}=e;let X=null;const{value:ne}=e;ne===null?X=W.getFirstAvailableNode():(e.multiple?X=W.getNode((ne||[])[(ne||[]).length-1]):X=W.getNode(ne),(!X||X.disabled)&&(X=W.getFirstAvailableNode())),H(X||null)}function p(){const{value:W}=u;W&&!e.treeMate.getNode(W.key)&&(u.value=null)}let g;Je(()=>e.show,W=>{W?g=Je(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?h():p(),ut(_)):p()},{immediate:!0}):g==null||g()},{immediate:!0}),dt(()=>{g==null||g()});const f=T(()=>Tt(n.value.self[oe("optionHeight",e.size)])),v=T(()=>_t(n.value.self[oe("padding",e.size)])),b=T(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),m=T(()=>{const W=s.value;return W&&W.length===0});function C(W){const{onToggle:X}=e;X&&X(W)}function R(W){const{onScroll:X}=e;X&&X(W)}function $(W){var X;(X=l.value)===null||X===void 0||X.sync(),R(W)}function S(){var W;(W=l.value)===null||W===void 0||W.sync()}function w(){const{value:W}=u;return W||null}function x(W,X){X.disabled||H(X,!1)}function k(W,X){X.disabled||C(X)}function P(W){var X;no(W,"action")||(X=e.onKeyup)===null||X===void 0||X.call(e,W)}function M(W){var X;no(W,"action")||(X=e.onKeydown)===null||X===void 0||X.call(e,W)}function L(W){var X;(X=e.onMousedown)===null||X===void 0||X.call(e,W),!e.focusable&&W.preventDefault()}function I(){const{value:W}=u;W&&H(W.getNext({loop:!0}),!0)}function A(){const{value:W}=u;W&&H(W.getPrev({loop:!0}),!0)}function H(W,X=!1){u.value=W,X&&_()}function _(){var W,X;const ne=u.value;if(!ne)return;const le=d.value(ne.key);le!==null&&(e.virtualScroll?(W=a.value)===null||W===void 0||W.scrollTo({index:le}):(X=l.value)===null||X===void 0||X.scrollTo({index:le,elSize:f.value}))}function U(W){var X,ne;!((X=i.value)===null||X===void 0)&&X.contains(W.target)&&((ne=e.onFocus)===null||ne===void 0||ne.call(e,W))}function N(W){var X,ne;!((X=i.value)===null||X===void 0)&&X.contains(W.relatedTarget)||(ne=e.onBlur)===null||ne===void 0||ne.call(e,W)}Ue(ll,{handleOptionMouseEnter:x,handleOptionClick:k,valueSetRef:b,pendingTmNodeRef:u,nodePropsRef:he(e,"nodeProps"),showCheckmarkRef:he(e,"showCheckmark"),multipleRef:he(e,"multiple"),valueRef:he(e,"value"),renderLabelRef:he(e,"renderLabel"),renderOptionRef:he(e,"renderOption"),labelFieldRef:he(e,"labelField"),valueFieldRef:he(e,"valueField")}),Ue(kc,i),gt(()=>{const{value:W}=l;W&&W.sync()});const ee=T(()=>{const{size:W}=e,{common:{cubicBezierEaseInOut:X},self:{height:ne,borderRadius:le,color:ge,groupHeaderTextColor:xe,actionDividerColor:Le,optionTextColorPressed:G,optionTextColor:ve,optionTextColorDisabled:$e,optionTextColorActive:Me,optionOpacityDisabled:Z,optionCheckColor:fe,actionTextColor:me,optionColorPending:De,optionColorActive:te,loadingColor:ye,loadingSize:Pe,optionColorActivePending:K,[oe("optionFontSize",W)]:Q,[oe("optionHeight",W)]:pe,[oe("optionPadding",W)]:V}}=n.value;return{"--n-height":ne,"--n-action-divider-color":Le,"--n-action-text-color":me,"--n-bezier":X,"--n-border-radius":le,"--n-color":ge,"--n-option-font-size":Q,"--n-group-header-text-color":xe,"--n-option-check-color":fe,"--n-option-color-pending":De,"--n-option-color-active":te,"--n-option-color-active-pending":K,"--n-option-height":pe,"--n-option-opacity-disabled":Z,"--n-option-text-color":ve,"--n-option-text-color-active":Me,"--n-option-text-color-disabled":$e,"--n-option-text-color-pressed":G,"--n-option-padding":V,"--n-option-padding-left":_t(V,"left"),"--n-option-padding-right":_t(V,"right"),"--n-loading-color":ye,"--n-loading-size":Pe}}),{inlineThemeDisabled:ue}=e,ae=ue?Qe("internal-select-menu",T(()=>e.size[0]),ee,e):void 0,Y={selfRef:i,next:I,prev:A,getPendingTmNode:w};return Wc(i,e.onResize),Object.assign({mergedTheme:n,mergedClsPrefix:t,rtlEnabled:r,virtualListRef:a,scrollbarRef:l,itemSize:f,padding:v,flattenedNodes:s,empty:m,virtualListContainer(){const{value:W}=a;return W==null?void 0:W.listElRef},virtualListContent(){const{value:W}=a;return W==null?void 0:W.itemsElRef},doScroll:R,handleFocusin:U,handleFocusout:N,handleKeyUp:P,handleKeyDown:M,handleMouseDown:L,handleVirtualListResize:S,handleVirtualListScroll:$,cssVars:ue?void 0:ee,themeClass:ae==null?void 0:ae.themeClass,onRender:ae==null?void 0:ae.onRender},Y)},render(){const{$slots:e,virtualScroll:t,clsPrefix:o,mergedTheme:r,themeClass:n,onRender:i}=this;return i==null||i(),c("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${o}-base-select-menu`,this.rtlEnabled&&`${o}-base-select-menu--rtl`,n,this.multiple&&`${o}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},Ze(e.header,a=>a&&c("div",{class:`${o}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?c("div",{class:`${o}-base-select-menu__loading`},c(Yo,{clsPrefix:o,strokeWidth:20})):this.empty?c("div",{class:`${o}-base-select-menu__empty`,"data-empty":!0},Bt(e.empty,()=>[c(Nu,{theme:r.peers.Empty,themeOverrides:r.peerOverrides.Empty})])):c(so,{ref:"scrollbarRef",theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?c(Lc,{ref:"virtualListRef",class:`${o}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?c(Sd,{key:a.key,clsPrefix:o,tmNode:a}):a.ignored?null:c(wd,{clsPrefix:o,key:a.key,tmNode:a})}):c("div",{class:`${o}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?c(Sd,{key:a.key,clsPrefix:o,tmNode:a}):c(wd,{clsPrefix:o,key:a.key,tmNode:a})))}),Ze(e.action,a=>a&&[c("div",{class:`${o}-base-select-menu__action`,"data-action":!0,key:"action"},a),c(bS,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),h2=y("base-wave",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; -`),u2=ne({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Do("-base-wave",c2,he(e,"clsPrefix"));const t=E(null),o=E(!1);let r=null;return dt(()=>{r!==null&&window.clearTimeout(r)}),{active:o,selfRef:t,play(){r!==null&&(window.clearTimeout(r),o.value=!1,r=null),ut(()=>{var n;(n=t.value)===null||n===void 0||n.offsetHeight,o.value=!0,r=window.setTimeout(()=>{o.value=!1,r=null},1e3)})}}},render(){const{clsPrefix:e}=this;return c("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),f2={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},qu=e=>{const{boxShadow2:t,popoverColor:o,textColor2:r,borderRadius:n,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},f2),{fontSize:i,borderRadius:n,color:o,dividerColor:a,textColor:r,boxShadow:t})},h2={name:"Popover",common:xe,self:qu},Zo=h2,p2={name:"Popover",common:ke,self:qu},Cr=p2,pa={top:"bottom",bottom:"top",left:"right",right:"left"},Pt="var(--n-arrow-height) * 1.414",v2=z([y("popover",` +`),p2=re({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Do("-base-wave",h2,he(e,"clsPrefix"));const t=E(null),o=E(!1);let r=null;return dt(()=>{r!==null&&window.clearTimeout(r)}),{active:o,selfRef:t,play(){r!==null&&(window.clearTimeout(r),o.value=!1,r=null),ut(()=>{var n;(n=t.value)===null||n===void 0||n.offsetHeight,o.value=!0,r=window.setTimeout(()=>{o.value=!1,r=null},1e3)})}}},render(){const{clsPrefix:e}=this;return c("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),v2={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},qu=e=>{const{boxShadow2:t,popoverColor:o,textColor2:r,borderRadius:n,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},v2),{fontSize:i,borderRadius:n,color:o,dividerColor:a,textColor:r,boxShadow:t})},g2={name:"Popover",common:Ce,self:qu},Zo=g2,m2={name:"Popover",common:ke,self:qu},Cr=m2,pa={top:"bottom",bottom:"top",left:"right",right:"left"},Pt="var(--n-arrow-height) * 1.414",b2=z([y("popover",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -313,18 +313,18 @@ ${t} `,[z(">",[y("scrollbar",` height: inherit; max-height: inherit; - `)]),nt("raw",` + `)]),rt("raw",` background-color: var(--n-color); border-radius: var(--n-border-radius); - `,[nt("scrollable",[nt("show-header-or-footer","padding: var(--n-padding);")])]),M("header",` + `,[rt("scrollable",[rt("show-header-or-footer","padding: var(--n-padding);")])]),O("header",` padding: var(--n-padding); border-bottom: 1px solid var(--n-divider-color); transition: border-color .3s var(--n-bezier); - `),M("footer",` + `),O("footer",` padding: var(--n-padding); border-top: 1px solid var(--n-divider-color); transition: border-color .3s var(--n-bezier); - `),B("scrollable, show-header-or-footer",[M("content",` + `),B("scrollable, show-header-or-footer",[O("content",` padding: var(--n-padding); `)])]),y("popover-shared",` transform-origin: inherit; @@ -362,53 +362,53 @@ ${t} color .3s var(--n-bezier), opacity .15s var(--n-bezier-ease-in), transform .15s var(--n-bezier-ease-in); - `)]),Gt("top-start",` + `)]),qt("top-start",` top: calc(${Pt} / -2); left: calc(${Mo("top-start")} - var(--v-offset-left)); - `),Gt("top",` + `),qt("top",` top: calc(${Pt} / -2); transform: translateX(calc(${Pt} / -2)) rotate(45deg); left: 50%; - `),Gt("top-end",` + `),qt("top-end",` top: calc(${Pt} / -2); right: calc(${Mo("top-end")} + var(--v-offset-left)); - `),Gt("bottom-start",` + `),qt("bottom-start",` bottom: calc(${Pt} / -2); left: calc(${Mo("bottom-start")} - var(--v-offset-left)); - `),Gt("bottom",` + `),qt("bottom",` bottom: calc(${Pt} / -2); transform: translateX(calc(${Pt} / -2)) rotate(45deg); left: 50%; - `),Gt("bottom-end",` + `),qt("bottom-end",` bottom: calc(${Pt} / -2); right: calc(${Mo("bottom-end")} + var(--v-offset-left)); - `),Gt("left-start",` + `),qt("left-start",` left: calc(${Pt} / -2); top: calc(${Mo("left-start")} - var(--v-offset-top)); - `),Gt("left",` + `),qt("left",` left: calc(${Pt} / -2); transform: translateY(calc(${Pt} / -2)) rotate(45deg); top: 50%; - `),Gt("left-end",` + `),qt("left-end",` left: calc(${Pt} / -2); bottom: calc(${Mo("left-end")} + var(--v-offset-top)); - `),Gt("right-start",` + `),qt("right-start",` right: calc(${Pt} / -2); top: calc(${Mo("right-start")} - var(--v-offset-top)); - `),Gt("right",` + `),qt("right",` right: calc(${Pt} / -2); transform: translateY(calc(${Pt} / -2)) rotate(45deg); top: 50%; - `),Gt("right-end",` + `),qt("right-end",` right: calc(${Pt} / -2); bottom: calc(${Mo("right-end")} + var(--v-offset-top)); - `),...hy({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const o=["right","left"].includes(t),r=o?"width":"height";return e.map(n=>{const i=n.split("-")[1]==="end",l=`calc((${`var(--v-target-${r}, 0px)`} - ${Pt}) / 2)`,s=Mo(n);return z(`[v-placement="${n}"] >`,[y("popover-shared",[B("center-arrow",[y("popover-arrow",`${t}: calc(max(${l}, ${s}) ${i?"+":"-"} var(--v-offset-${o?"left":"top"}));`)])])])})})]);function Mo(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function Gt(e,t){const o=e.split("-")[0],r=["top","bottom"].includes(o)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return z(`[v-placement="${e}"] >`,[y("popover-shared",` + `),...gy({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const o=["right","left"].includes(t),r=o?"width":"height";return e.map(n=>{const i=n.split("-")[1]==="end",l=`calc((${`var(--v-target-${r}, 0px)`} - ${Pt}) / 2)`,s=Mo(n);return z(`[v-placement="${n}"] >`,[y("popover-shared",[B("center-arrow",[y("popover-arrow",`${t}: calc(max(${l}, ${s}) ${i?"+":"-"} var(--v-offset-${o?"left":"top"}));`)])])])})})]);function Mo(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function qt(e,t){const o=e.split("-")[0],r=["top","bottom"].includes(o)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return z(`[v-placement="${e}"] >`,[y("popover-shared",` margin-${pa[o]}: var(--n-space); `,[B("show-arrow",` margin-${pa[o]}: var(--n-space-arrow); `),B("overlap",` margin: 0; - `),qv("popover-arrow-wrapper",` + `),Yv("popover-arrow-wrapper",` right: 0; left: 0; top: 0; @@ -416,7 +416,7 @@ ${t} ${o}: 100%; ${pa[o]}: auto; ${r} - `,[y("popover-arrow",t)])])])}const Gu=Object.assign(Object.assign({},we.props),{to:Vt.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),Xu=({arrowClass:e,arrowStyle:t,arrowWrapperClass:o,arrowWrapperStyle:r,clsPrefix:n})=>c("div",{key:"__popover-arrow__",style:r,class:[`${n}-popover-arrow-wrapper`,o]},c("div",{class:[`${n}-popover-arrow`,e],style:t})),g2=ne({name:"PopoverBody",inheritAttrs:!1,props:Gu,setup(e,{slots:t,attrs:o}){const{namespaceRef:r,mergedClsPrefixRef:n,inlineThemeDisabled:i}=He(e),a=we("Popover","-popover",v2,Zo,e,n),l=E(null),s=Te("NPopover"),d=E(null),u=E(e.show),h=E(!1);vt(()=>{const{show:x}=e;x&&!Gv()&&!e.internalDeactivateImmediately&&(h.value=!0)});const p=T(()=>{const{trigger:x,onClickoutside:k}=e,P=[],{positionManuallyRef:{value:I}}=s;return I||(x==="click"&&!k&&P.push([_r,$,void 0,{capture:!0}]),x==="hover"&&P.push([yg,R])),k&&P.push([_r,$,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&h.value)&&P.push([ao,e.show]),P}),g=T(()=>{const x=e.width==="trigger"?void 0:mt(e.width),k=[];x&&k.push({width:x});const{maxWidth:P,minWidth:I}=e;return P&&k.push({maxWidth:mt(P)}),I&&k.push({maxWidth:mt(I)}),i||k.push(f.value),k}),f=T(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:k,cubicBezierEaseOut:P},self:{space:I,spaceArrow:A,padding:O,fontSize:L,textColor:H,dividerColor:_,color:U,boxShadow:N,borderRadius:te,arrowHeight:fe,arrowOffset:ae,arrowOffsetVertical:Y}}=a.value;return{"--n-box-shadow":N,"--n-bezier":x,"--n-bezier-ease-in":k,"--n-bezier-ease-out":P,"--n-font-size":L,"--n-text-color":H,"--n-color":U,"--n-divider-color":_,"--n-border-radius":te,"--n-arrow-height":fe,"--n-arrow-offset":ae,"--n-arrow-offset-vertical":Y,"--n-padding":O,"--n-space":I,"--n-space-arrow":A}}),v=i?Qe("popover",void 0,f,e):void 0;s.setBodyInstance({syncPosition:m}),dt(()=>{s.setBodyInstance(null)}),Je(he(e,"show"),x=>{e.animated||(x?u.value=!0:u.value=!1)});function m(){var x;(x=l.value)===null||x===void 0||x.syncPosition()}function b(x){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&s.handleMouseEnter(x)}function C(x){e.trigger==="hover"&&e.keepAliveOnHover&&s.handleMouseLeave(x)}function R(x){e.trigger==="hover"&&!S().contains(Lr(x))&&s.handleMouseMoveOutside(x)}function $(x){(e.trigger==="click"&&!S().contains(Lr(x))||e.onClickoutside)&&s.handleClickOutside(x)}function S(){return s.getTriggerElement()}Ue(qr,d),Ue(Mn,null),Ue(Bn,null);function w(){if(v==null||v.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&h.value))return null;let k;const P=s.internalRenderBodyRef.value,{value:I}=n;if(P)k=P([`${I}-popover-shared`,v==null?void 0:v.themeClass.value,e.overlap&&`${I}-popover-shared--overlap`,e.showArrow&&`${I}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${I}-popover-shared--center-arrow`],d,g.value,b,C);else{const{value:A}=s.extraClassRef,{internalTrapFocus:O}=e,L=!Or(t.header)||!Or(t.footer),H=()=>{var _,U;const N=L?c(yt,null,Ze(t.header,ae=>ae?c("div",{class:[`${I}-popover__header`,e.headerClass],style:e.headerStyle},ae):null),Ze(t.default,ae=>ae?c("div",{class:[`${I}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Ze(t.footer,ae=>ae?c("div",{class:[`${I}-popover__footer`,e.footerClass],style:e.footerStyle},ae):null)):e.scrollable?(_=t.default)===null||_===void 0?void 0:_.call(t):c("div",{class:[`${I}-popover__content`,e.contentClass],style:e.contentStyle},t),te=e.scrollable?c(Vu,{contentClass:L?void 0:`${I}-popover__content ${(U=e.contentClass)!==null&&U!==void 0?U:""}`,contentStyle:L?void 0:e.contentStyle},{default:()=>N}):N,fe=e.showArrow?Xu({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:I}):null;return[te,fe]};k=c("div",Ft({class:[`${I}-popover`,`${I}-popover-shared`,v==null?void 0:v.themeClass.value,A.map(_=>`${I}-${_}`),{[`${I}-popover--scrollable`]:e.scrollable,[`${I}-popover--show-header-or-footer`]:L,[`${I}-popover--raw`]:e.raw,[`${I}-popover-shared--overlap`]:e.overlap,[`${I}-popover-shared--show-arrow`]:e.showArrow,[`${I}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:d,style:g.value,onKeydown:s.handleKeydown,onMouseenter:b,onMouseleave:C},o),O?c(dl,{active:e.show,autoFocus:!0},{default:H}):H())}return It(k,p.value)}return{displayed:h,namespace:r,isMounted:s.isMountedRef,zIndex:s.zIndexRef,followerRef:l,adjustedTo:Vt(e),followerEnabled:u,renderContentNode:w}},render(){return c(Ti,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Vt.tdkey},{default:()=>this.animated?c(kt,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),b2=Object.keys(Gu),m2={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function x2(e,t,o){m2[t].forEach(r=>{e.props?e.props=Object.assign({},e.props):e.props={};const n=e.props[r],i=o[r];n?e.props[r]=(...a)=>{n(...a),i(...a)}:e.props[r]=i})}const ur={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Vt.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},C2=Object.assign(Object.assign(Object.assign({},we.props),ur),{internalOnAfterLeave:Function,internalRenderBody:Function}),Yr=ne({name:"Popover",inheritAttrs:!1,props:C2,__popover__:!0,setup(e){const t=Ao(),o=E(null),r=T(()=>e.show),n=E(e.defaultShow),i=$t(r,n),a=Ye(()=>e.disabled?!1:i.value),l=()=>{if(e.disabled)return!0;const{getDisabled:_}=e;return!!(_!=null&&_())},s=()=>l()?!1:i.value,d=Cn(e,["arrow","showArrow"]),u=T(()=>e.overlap?!1:d.value);let h=null;const p=E(null),g=E(null),f=Ye(()=>e.x!==void 0&&e.y!==void 0);function v(_){const{"onUpdate:show":U,onUpdateShow:N,onShow:te,onHide:fe}=e;n.value=_,U&&ie(U,_),N&&ie(N,_),_&&te&&ie(te,!0),_&&fe&&ie(fe,!1)}function m(){h&&h.syncPosition()}function b(){const{value:_}=p;_&&(window.clearTimeout(_),p.value=null)}function C(){const{value:_}=g;_&&(window.clearTimeout(_),g.value=null)}function R(){const _=l();if(e.trigger==="focus"&&!_){if(s())return;v(!0)}}function $(){const _=l();if(e.trigger==="focus"&&!_){if(!s())return;v(!1)}}function S(){const _=l();if(e.trigger==="hover"&&!_){if(C(),p.value!==null||s())return;const U=()=>{v(!0),p.value=null},{delay:N}=e;N===0?U():p.value=window.setTimeout(U,N)}}function w(){const _=l();if(e.trigger==="hover"&&!_){if(b(),g.value!==null||!s())return;const U=()=>{v(!1),g.value=null},{duration:N}=e;N===0?U():g.value=window.setTimeout(U,N)}}function x(){w()}function k(_){var U;s()&&(e.trigger==="click"&&(b(),C(),v(!1)),(U=e.onClickoutside)===null||U===void 0||U.call(e,_))}function P(){if(e.trigger==="click"&&!l()){b(),C();const _=!s();v(_)}}function I(_){e.internalTrapFocus&&_.key==="Escape"&&(b(),C(),v(!1))}function A(_){n.value=_}function O(){var _;return(_=o.value)===null||_===void 0?void 0:_.targetRef}function L(_){h=_}return Ue("NPopover",{getTriggerElement:O,handleKeydown:I,handleMouseEnter:S,handleMouseLeave:w,handleClickOutside:k,handleMouseMoveOutside:x,setBodyInstance:L,positionManuallyRef:f,isMountedRef:t,zIndexRef:he(e,"zIndex"),extraClassRef:he(e,"internalExtraClass"),internalRenderBodyRef:he(e,"internalRenderBody")}),vt(()=>{i.value&&l()&&v(!1)}),{binderInstRef:o,positionManually:f,mergedShowConsideringDisabledProp:a,uncontrolledShow:n,mergedShowArrow:u,getMergedShow:s,setShow:A,handleClick:P,handleMouseEnter:S,handleMouseLeave:w,handleFocus:R,handleBlur:$,syncPosition:m}},render(){var e;const{positionManually:t,$slots:o}=this;let r,n=!1;if(!t&&(o.activator?r=Ba(o,"activator"):r=Ba(o,"trigger"),r)){r=gn(r),r=r.type===cv?c("span",[r]):r;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=r.type)===null||e===void 0)&&e.__popover__)n=!0,r.props||(r.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),r.props.internalSyncTargetWithParent=!0,r.props.internalInheritedEventHandlers?r.props.internalInheritedEventHandlers=[i,...r.props.internalInheritedEventHandlers]:r.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,l=[i,...a],s={onBlur:d=>{l.forEach(u=>{u.onBlur(d)})},onFocus:d=>{l.forEach(u=>{u.onFocus(d)})},onClick:d=>{l.forEach(u=>{u.onClick(d)})},onMouseenter:d=>{l.forEach(u=>{u.onMouseenter(d)})},onMouseleave:d=>{l.forEach(u=>{u.onMouseleave(d)})}};x2(r,a?"nested":t?"manual":this.trigger,s)}}return c($i,{ref:"binderInstRef",syncTarget:!n,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?It(c("div",{style:{position:"fixed",inset:0}}),[[On,{enabled:i,zIndex:this.zIndex}]]):null,t?null:c(Ri,null,{default:()=>r}),c(g2,Io(this.$props,b2,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,l;return(l=(a=this.$slots).default)===null||l===void 0?void 0:l.call(a)},header:()=>{var a,l;return(l=(a=this.$slots).header)===null||l===void 0?void 0:l.call(a)},footer:()=>{var a,l;return(l=(a=this.$slots).footer)===null||l===void 0?void 0:l.call(a)}})]}})}}),Yu={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},y2={name:"Tag",common:ke,self(e){const{textColor2:t,primaryColorHover:o,primaryColorPressed:r,primaryColor:n,infoColor:i,successColor:a,warningColor:l,errorColor:s,baseColor:d,borderColor:u,tagColor:h,opacityDisabled:p,closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:m,closeColorPressed:b,borderRadiusSmall:C,fontSizeMini:R,fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,heightMini:x,heightTiny:k,heightSmall:P,heightMedium:I,buttonColor2Hover:A,buttonColor2Pressed:O,fontWeightStrong:L}=e;return Object.assign(Object.assign({},Yu),{closeBorderRadius:C,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:I,borderRadius:C,opacityDisabled:p,fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,fontWeightStrong:L,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:A,colorPressedCheckable:O,colorChecked:n,colorCheckedHover:o,colorCheckedPressed:r,border:`1px solid ${u}`,textColor:t,color:h,colorBordered:"#0000",closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:m,closeColorPressed:b,borderPrimary:`1px solid ${se(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:se(n,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:wt(n,{lightness:.7}),closeIconColorHoverPrimary:wt(n,{lightness:.7}),closeIconColorPressedPrimary:wt(n,{lightness:.7}),closeColorHoverPrimary:se(n,{alpha:.16}),closeColorPressedPrimary:se(n,{alpha:.12}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:wt(i,{alpha:.7}),closeIconColorHoverInfo:wt(i,{alpha:.7}),closeIconColorPressedInfo:wt(i,{alpha:.7}),closeColorHoverInfo:se(i,{alpha:.16}),closeColorPressedInfo:se(i,{alpha:.12}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:wt(a,{alpha:.7}),closeIconColorHoverSuccess:wt(a,{alpha:.7}),closeIconColorPressedSuccess:wt(a,{alpha:.7}),closeColorHoverSuccess:se(a,{alpha:.16}),closeColorPressedSuccess:se(a,{alpha:.12}),borderWarning:`1px solid ${se(l,{alpha:.3})}`,textColorWarning:l,colorWarning:se(l,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:wt(l,{alpha:.7}),closeIconColorHoverWarning:wt(l,{alpha:.7}),closeIconColorPressedWarning:wt(l,{alpha:.7}),closeColorHoverWarning:se(l,{alpha:.16}),closeColorPressedWarning:se(l,{alpha:.11}),borderError:`1px solid ${se(s,{alpha:.3})}`,textColorError:s,colorError:se(s,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:wt(s,{alpha:.7}),closeIconColorHoverError:wt(s,{alpha:.7}),closeIconColorPressedError:wt(s,{alpha:.7}),closeColorHoverError:se(s,{alpha:.16}),closeColorPressedError:se(s,{alpha:.12})})}},Zu=y2,w2=e=>{const{textColor2:t,primaryColorHover:o,primaryColorPressed:r,primaryColor:n,infoColor:i,successColor:a,warningColor:l,errorColor:s,baseColor:d,borderColor:u,opacityDisabled:h,tagColor:p,closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,borderRadiusSmall:m,fontSizeMini:b,fontSizeTiny:C,fontSizeSmall:R,fontSizeMedium:$,heightMini:S,heightTiny:w,heightSmall:x,heightMedium:k,closeColorHover:P,closeColorPressed:I,buttonColor2Hover:A,buttonColor2Pressed:O,fontWeightStrong:L}=e;return Object.assign(Object.assign({},Yu),{closeBorderRadius:m,heightTiny:S,heightSmall:w,heightMedium:x,heightLarge:k,borderRadius:m,opacityDisabled:h,fontSizeTiny:b,fontSizeSmall:C,fontSizeMedium:R,fontSizeLarge:$,fontWeightStrong:L,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:A,colorPressedCheckable:O,colorChecked:n,colorCheckedHover:o,colorCheckedPressed:r,border:`1px solid ${u}`,textColor:t,color:p,colorBordered:"rgb(250, 250, 252)",closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:P,closeColorPressed:I,borderPrimary:`1px solid ${se(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:se(n,{alpha:.12}),colorBorderedPrimary:se(n,{alpha:.1}),closeIconColorPrimary:n,closeIconColorHoverPrimary:n,closeIconColorPressedPrimary:n,closeColorHoverPrimary:se(n,{alpha:.12}),closeColorPressedPrimary:se(n,{alpha:.18}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.12}),colorBorderedInfo:se(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:se(i,{alpha:.12}),closeColorPressedInfo:se(i,{alpha:.18}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.12}),colorBorderedSuccess:se(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:se(a,{alpha:.12}),closeColorPressedSuccess:se(a,{alpha:.18}),borderWarning:`1px solid ${se(l,{alpha:.35})}`,textColorWarning:l,colorWarning:se(l,{alpha:.15}),colorBorderedWarning:se(l,{alpha:.12}),closeIconColorWarning:l,closeIconColorHoverWarning:l,closeIconColorPressedWarning:l,closeColorHoverWarning:se(l,{alpha:.12}),closeColorPressedWarning:se(l,{alpha:.18}),borderError:`1px solid ${se(s,{alpha:.23})}`,textColorError:s,colorError:se(s,{alpha:.1}),colorBorderedError:se(s,{alpha:.08}),closeIconColorError:s,closeIconColorHoverError:s,closeIconColorPressedError:s,closeColorHoverError:se(s,{alpha:.12}),closeColorPressedError:se(s,{alpha:.18})})},S2={name:"Tag",common:xe,self:w2},Rl=S2,k2={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},$2=y("tag",` + `,[y("popover-arrow",t)])])])}const Xu=Object.assign(Object.assign({},be.props),{to:Vt.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),Yu=({arrowClass:e,arrowStyle:t,arrowWrapperClass:o,arrowWrapperStyle:r,clsPrefix:n})=>c("div",{key:"__popover-arrow__",style:r,class:[`${n}-popover-arrow-wrapper`,o]},c("div",{class:[`${n}-popover-arrow`,e],style:t})),x2=re({name:"PopoverBody",inheritAttrs:!1,props:Xu,setup(e,{slots:t,attrs:o}){const{namespaceRef:r,mergedClsPrefixRef:n,inlineThemeDisabled:i}=He(e),a=be("Popover","-popover",b2,Zo,e,n),l=E(null),s=Te("NPopover"),d=E(null),u=E(e.show),h=E(!1);pt(()=>{const{show:x}=e;x&&!Zv()&&!e.internalDeactivateImmediately&&(h.value=!0)});const p=T(()=>{const{trigger:x,onClickoutside:k}=e,P=[],{positionManuallyRef:{value:M}}=s;return M||(x==="click"&&!k&&P.push([_r,$,void 0,{capture:!0}]),x==="hover"&&P.push([kg,R])),k&&P.push([_r,$,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&h.value)&&P.push([ao,e.show]),P}),g=T(()=>{const x=e.width==="trigger"?void 0:bt(e.width),k=[];x&&k.push({width:x});const{maxWidth:P,minWidth:M}=e;return P&&k.push({maxWidth:bt(P)}),M&&k.push({maxWidth:bt(M)}),i||k.push(f.value),k}),f=T(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:k,cubicBezierEaseOut:P},self:{space:M,spaceArrow:L,padding:I,fontSize:A,textColor:H,dividerColor:_,color:U,boxShadow:N,borderRadius:ee,arrowHeight:ue,arrowOffset:ae,arrowOffsetVertical:Y}}=a.value;return{"--n-box-shadow":N,"--n-bezier":x,"--n-bezier-ease-in":k,"--n-bezier-ease-out":P,"--n-font-size":A,"--n-text-color":H,"--n-color":U,"--n-divider-color":_,"--n-border-radius":ee,"--n-arrow-height":ue,"--n-arrow-offset":ae,"--n-arrow-offset-vertical":Y,"--n-padding":I,"--n-space":M,"--n-space-arrow":L}}),v=i?Qe("popover",void 0,f,e):void 0;s.setBodyInstance({syncPosition:b}),dt(()=>{s.setBodyInstance(null)}),Je(he(e,"show"),x=>{e.animated||(x?u.value=!0:u.value=!1)});function b(){var x;(x=l.value)===null||x===void 0||x.syncPosition()}function m(x){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&s.handleMouseEnter(x)}function C(x){e.trigger==="hover"&&e.keepAliveOnHover&&s.handleMouseLeave(x)}function R(x){e.trigger==="hover"&&!S().contains(Ar(x))&&s.handleMouseMoveOutside(x)}function $(x){(e.trigger==="click"&&!S().contains(Ar(x))||e.onClickoutside)&&s.handleClickOutside(x)}function S(){return s.getTriggerElement()}Ue(Gr,d),Ue(On,null),Ue(Bn,null);function w(){if(v==null||v.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&h.value))return null;let k;const P=s.internalRenderBodyRef.value,{value:M}=n;if(P)k=P([`${M}-popover-shared`,v==null?void 0:v.themeClass.value,e.overlap&&`${M}-popover-shared--overlap`,e.showArrow&&`${M}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${M}-popover-shared--center-arrow`],d,g.value,m,C);else{const{value:L}=s.extraClassRef,{internalTrapFocus:I}=e,A=!Mr(t.header)||!Mr(t.footer),H=()=>{var _,U;const N=A?c(yt,null,Ze(t.header,ae=>ae?c("div",{class:[`${M}-popover__header`,e.headerClass],style:e.headerStyle},ae):null),Ze(t.default,ae=>ae?c("div",{class:[`${M}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Ze(t.footer,ae=>ae?c("div",{class:[`${M}-popover__footer`,e.footerClass],style:e.footerStyle},ae):null)):e.scrollable?(_=t.default)===null||_===void 0?void 0:_.call(t):c("div",{class:[`${M}-popover__content`,e.contentClass],style:e.contentStyle},t),ee=e.scrollable?c(Uu,{contentClass:A?void 0:`${M}-popover__content ${(U=e.contentClass)!==null&&U!==void 0?U:""}`,contentStyle:A?void 0:e.contentStyle},{default:()=>N}):N,ue=e.showArrow?Yu({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:M}):null;return[ee,ue]};k=c("div",Ft({class:[`${M}-popover`,`${M}-popover-shared`,v==null?void 0:v.themeClass.value,L.map(_=>`${M}-${_}`),{[`${M}-popover--scrollable`]:e.scrollable,[`${M}-popover--show-header-or-footer`]:A,[`${M}-popover--raw`]:e.raw,[`${M}-popover-shared--overlap`]:e.overlap,[`${M}-popover-shared--show-arrow`]:e.showArrow,[`${M}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:d,style:g.value,onKeydown:s.handleKeydown,onMouseenter:m,onMouseleave:C},o),I?c(cl,{active:e.show,autoFocus:!0},{default:H}):H())}return It(k,p.value)}return{displayed:h,namespace:r,isMounted:s.isMountedRef,zIndex:s.zIndexRef,followerRef:l,adjustedTo:Vt(e),followerEnabled:u,renderContentNode:w}},render(){return c(Ti,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Vt.tdkey},{default:()=>this.animated?c(kt,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),C2=Object.keys(Xu),y2={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function w2(e,t,o){y2[t].forEach(r=>{e.props?e.props=Object.assign({},e.props):e.props={};const n=e.props[r],i=o[r];n?e.props[r]=(...a)=>{n(...a),i(...a)}:e.props[r]=i})}const ur={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Vt.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},S2=Object.assign(Object.assign(Object.assign({},be.props),ur),{internalOnAfterLeave:Function,internalRenderBody:Function}),Yr=re({name:"Popover",inheritAttrs:!1,props:S2,__popover__:!0,setup(e){const t=Lo(),o=E(null),r=T(()=>e.show),n=E(e.defaultShow),i=$t(r,n),a=Ye(()=>e.disabled?!1:i.value),l=()=>{if(e.disabled)return!0;const{getDisabled:_}=e;return!!(_!=null&&_())},s=()=>l()?!1:i.value,d=Cn(e,["arrow","showArrow"]),u=T(()=>e.overlap?!1:d.value);let h=null;const p=E(null),g=E(null),f=Ye(()=>e.x!==void 0&&e.y!==void 0);function v(_){const{"onUpdate:show":U,onUpdateShow:N,onShow:ee,onHide:ue}=e;n.value=_,U&&ie(U,_),N&&ie(N,_),_&&ee&&ie(ee,!0),_&&ue&&ie(ue,!1)}function b(){h&&h.syncPosition()}function m(){const{value:_}=p;_&&(window.clearTimeout(_),p.value=null)}function C(){const{value:_}=g;_&&(window.clearTimeout(_),g.value=null)}function R(){const _=l();if(e.trigger==="focus"&&!_){if(s())return;v(!0)}}function $(){const _=l();if(e.trigger==="focus"&&!_){if(!s())return;v(!1)}}function S(){const _=l();if(e.trigger==="hover"&&!_){if(C(),p.value!==null||s())return;const U=()=>{v(!0),p.value=null},{delay:N}=e;N===0?U():p.value=window.setTimeout(U,N)}}function w(){const _=l();if(e.trigger==="hover"&&!_){if(m(),g.value!==null||!s())return;const U=()=>{v(!1),g.value=null},{duration:N}=e;N===0?U():g.value=window.setTimeout(U,N)}}function x(){w()}function k(_){var U;s()&&(e.trigger==="click"&&(m(),C(),v(!1)),(U=e.onClickoutside)===null||U===void 0||U.call(e,_))}function P(){if(e.trigger==="click"&&!l()){m(),C();const _=!s();v(_)}}function M(_){e.internalTrapFocus&&_.key==="Escape"&&(m(),C(),v(!1))}function L(_){n.value=_}function I(){var _;return(_=o.value)===null||_===void 0?void 0:_.targetRef}function A(_){h=_}return Ue("NPopover",{getTriggerElement:I,handleKeydown:M,handleMouseEnter:S,handleMouseLeave:w,handleClickOutside:k,handleMouseMoveOutside:x,setBodyInstance:A,positionManuallyRef:f,isMountedRef:t,zIndexRef:he(e,"zIndex"),extraClassRef:he(e,"internalExtraClass"),internalRenderBodyRef:he(e,"internalRenderBody")}),pt(()=>{i.value&&l()&&v(!1)}),{binderInstRef:o,positionManually:f,mergedShowConsideringDisabledProp:a,uncontrolledShow:n,mergedShowArrow:u,getMergedShow:s,setShow:L,handleClick:P,handleMouseEnter:S,handleMouseLeave:w,handleFocus:R,handleBlur:$,syncPosition:b}},render(){var e;const{positionManually:t,$slots:o}=this;let r,n=!1;if(!t&&(o.activator?r=Ba(o,"activator"):r=Ba(o,"trigger"),r)){r=gn(r),r=r.type===fv?c("span",[r]):r;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=r.type)===null||e===void 0)&&e.__popover__)n=!0,r.props||(r.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),r.props.internalSyncTargetWithParent=!0,r.props.internalInheritedEventHandlers?r.props.internalInheritedEventHandlers=[i,...r.props.internalInheritedEventHandlers]:r.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,l=[i,...a],s={onBlur:d=>{l.forEach(u=>{u.onBlur(d)})},onFocus:d=>{l.forEach(u=>{u.onFocus(d)})},onClick:d=>{l.forEach(u=>{u.onClick(d)})},onMouseenter:d=>{l.forEach(u=>{u.onMouseenter(d)})},onMouseleave:d=>{l.forEach(u=>{u.onMouseleave(d)})}};w2(r,a?"nested":t?"manual":this.trigger,s)}}return c($i,{ref:"binderInstRef",syncTarget:!n,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?It(c("div",{style:{position:"fixed",inset:0}}),[[Mn,{enabled:i,zIndex:this.zIndex}]]):null,t?null:c(Ri,null,{default:()=>r}),c(x2,Fo(this.$props,C2,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,l;return(l=(a=this.$slots).default)===null||l===void 0?void 0:l.call(a)},header:()=>{var a,l;return(l=(a=this.$slots).header)===null||l===void 0?void 0:l.call(a)},footer:()=>{var a,l;return(l=(a=this.$slots).footer)===null||l===void 0?void 0:l.call(a)}})]}})}}),Zu={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},k2={name:"Tag",common:ke,self(e){const{textColor2:t,primaryColorHover:o,primaryColorPressed:r,primaryColor:n,infoColor:i,successColor:a,warningColor:l,errorColor:s,baseColor:d,borderColor:u,tagColor:h,opacityDisabled:p,closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:b,closeColorPressed:m,borderRadiusSmall:C,fontSizeMini:R,fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,heightMini:x,heightTiny:k,heightSmall:P,heightMedium:M,buttonColor2Hover:L,buttonColor2Pressed:I,fontWeightStrong:A}=e;return Object.assign(Object.assign({},Zu),{closeBorderRadius:C,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:M,borderRadius:C,opacityDisabled:p,fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,fontWeightStrong:A,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:L,colorPressedCheckable:I,colorChecked:n,colorCheckedHover:o,colorCheckedPressed:r,border:`1px solid ${u}`,textColor:t,color:h,colorBordered:"#0000",closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:b,closeColorPressed:m,borderPrimary:`1px solid ${se(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:se(n,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:wt(n,{lightness:.7}),closeIconColorHoverPrimary:wt(n,{lightness:.7}),closeIconColorPressedPrimary:wt(n,{lightness:.7}),closeColorHoverPrimary:se(n,{alpha:.16}),closeColorPressedPrimary:se(n,{alpha:.12}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:wt(i,{alpha:.7}),closeIconColorHoverInfo:wt(i,{alpha:.7}),closeIconColorPressedInfo:wt(i,{alpha:.7}),closeColorHoverInfo:se(i,{alpha:.16}),closeColorPressedInfo:se(i,{alpha:.12}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:wt(a,{alpha:.7}),closeIconColorHoverSuccess:wt(a,{alpha:.7}),closeIconColorPressedSuccess:wt(a,{alpha:.7}),closeColorHoverSuccess:se(a,{alpha:.16}),closeColorPressedSuccess:se(a,{alpha:.12}),borderWarning:`1px solid ${se(l,{alpha:.3})}`,textColorWarning:l,colorWarning:se(l,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:wt(l,{alpha:.7}),closeIconColorHoverWarning:wt(l,{alpha:.7}),closeIconColorPressedWarning:wt(l,{alpha:.7}),closeColorHoverWarning:se(l,{alpha:.16}),closeColorPressedWarning:se(l,{alpha:.11}),borderError:`1px solid ${se(s,{alpha:.3})}`,textColorError:s,colorError:se(s,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:wt(s,{alpha:.7}),closeIconColorHoverError:wt(s,{alpha:.7}),closeIconColorPressedError:wt(s,{alpha:.7}),closeColorHoverError:se(s,{alpha:.16}),closeColorPressedError:se(s,{alpha:.12})})}},Ju=k2,$2=e=>{const{textColor2:t,primaryColorHover:o,primaryColorPressed:r,primaryColor:n,infoColor:i,successColor:a,warningColor:l,errorColor:s,baseColor:d,borderColor:u,opacityDisabled:h,tagColor:p,closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,borderRadiusSmall:b,fontSizeMini:m,fontSizeTiny:C,fontSizeSmall:R,fontSizeMedium:$,heightMini:S,heightTiny:w,heightSmall:x,heightMedium:k,closeColorHover:P,closeColorPressed:M,buttonColor2Hover:L,buttonColor2Pressed:I,fontWeightStrong:A}=e;return Object.assign(Object.assign({},Zu),{closeBorderRadius:b,heightTiny:S,heightSmall:w,heightMedium:x,heightLarge:k,borderRadius:b,opacityDisabled:h,fontSizeTiny:m,fontSizeSmall:C,fontSizeMedium:R,fontSizeLarge:$,fontWeightStrong:A,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:L,colorPressedCheckable:I,colorChecked:n,colorCheckedHover:o,colorCheckedPressed:r,border:`1px solid ${u}`,textColor:t,color:p,colorBordered:"rgb(250, 250, 252)",closeIconColor:g,closeIconColorHover:f,closeIconColorPressed:v,closeColorHover:P,closeColorPressed:M,borderPrimary:`1px solid ${se(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:se(n,{alpha:.12}),colorBorderedPrimary:se(n,{alpha:.1}),closeIconColorPrimary:n,closeIconColorHoverPrimary:n,closeIconColorPressedPrimary:n,closeColorHoverPrimary:se(n,{alpha:.12}),closeColorPressedPrimary:se(n,{alpha:.18}),borderInfo:`1px solid ${se(i,{alpha:.3})}`,textColorInfo:i,colorInfo:se(i,{alpha:.12}),colorBorderedInfo:se(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:se(i,{alpha:.12}),closeColorPressedInfo:se(i,{alpha:.18}),borderSuccess:`1px solid ${se(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:se(a,{alpha:.12}),colorBorderedSuccess:se(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:se(a,{alpha:.12}),closeColorPressedSuccess:se(a,{alpha:.18}),borderWarning:`1px solid ${se(l,{alpha:.35})}`,textColorWarning:l,colorWarning:se(l,{alpha:.15}),colorBorderedWarning:se(l,{alpha:.12}),closeIconColorWarning:l,closeIconColorHoverWarning:l,closeIconColorPressedWarning:l,closeColorHoverWarning:se(l,{alpha:.12}),closeColorPressedWarning:se(l,{alpha:.18}),borderError:`1px solid ${se(s,{alpha:.23})}`,textColorError:s,colorError:se(s,{alpha:.1}),colorBorderedError:se(s,{alpha:.08}),closeIconColorError:s,closeIconColorHoverError:s,closeIconColorPressedError:s,closeColorHoverError:se(s,{alpha:.12}),closeColorPressedError:se(s,{alpha:.18})})},R2={name:"Tag",common:Ce,self:$2},Pl=R2,P2={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},z2=y("tag",` --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left); white-space: nowrap; position: relative; @@ -440,7 +440,7 @@ ${t} font-size: var(--n-font-size); `,[B("strong",` font-weight: var(--n-font-weight-strong); - `),M("border",` + `),O("border",` pointer-events: none; position: absolute; left: 0; @@ -450,16 +450,16 @@ ${t} border-radius: inherit; border: var(--n-border); transition: border-color .3s var(--n-bezier); - `),M("icon",` + `),O("icon",` display: flex; margin: 0 4px 0 0; color: var(--n-text-color); transition: color .3s var(--n-bezier); font-size: var(--n-avatar-size-override); - `),M("avatar",` + `),O("avatar",` display: flex; margin: 0 6px 0 0; - `),M("close",` + `),O("close",` margin: var(--n-close-margin); transition: background-color .3s var(--n-bezier), @@ -467,9 +467,9 @@ ${t} `),B("round",` padding: 0 calc(var(--n-height) / 3); border-radius: calc(var(--n-height) / 2); - `,[M("icon",` + `,[O("icon",` margin: 0 4px 0 calc((var(--n-height) - 8px) / -2); - `),M("avatar",` + `),O("avatar",` margin: 0 6px 0 calc((var(--n-height) - 8px) / -2); `),B("closable",` padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3); @@ -483,15 +483,15 @@ ${t} box-shadow: none; color: var(--n-text-color-checkable); background-color: var(--n-color-checkable); - `,[nt("disabled",[z("&:hover","background-color: var(--n-color-hover-checkable);",[nt("checked","color: var(--n-text-color-hover-checkable);")]),z("&:active","background-color: var(--n-color-pressed-checkable);",[nt("checked","color: var(--n-text-color-pressed-checkable);")])]),B("checked",` + `,[rt("disabled",[z("&:hover","background-color: var(--n-color-hover-checkable);",[rt("checked","color: var(--n-text-color-hover-checkable);")]),z("&:active","background-color: var(--n-color-pressed-checkable);",[rt("checked","color: var(--n-text-color-pressed-checkable);")])]),B("checked",` color: var(--n-text-color-checked); background-color: var(--n-color-checked); - `,[nt("disabled",[z("&:hover","background-color: var(--n-color-checked-hover);"),z("&:active","background-color: var(--n-color-checked-pressed);")])])])]),R2=Object.assign(Object.assign(Object.assign({},we.props),k2),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),Ju="n-tag",va=ne({name:"Tag",props:R2,setup(e){const t=E(null),{mergedBorderedRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:i}=He(e),a=we("Tag","-tag",$2,Rl,e,r);Ue(Ju,{roundRef:he(e,"round")});function l(g){if(!e.disabled&&e.checkable){const{checked:f,onCheckedChange:v,onUpdateChecked:m,"onUpdate:checked":b}=e;m&&m(!f),b&&b(!f),v&&v(!f)}}function s(g){if(e.triggerClickOnClose||g.stopPropagation(),!e.disabled){const{onClose:f}=e;f&&ie(f,g)}}const d={setTextContent(g){const{value:f}=t;f&&(f.textContent=g)}},u=Rt("Tag",i,r),h=T(()=>{const{type:g,size:f,color:{color:v,textColor:m}={}}=e,{common:{cubicBezierEaseInOut:b},self:{padding:C,closeMargin:R,borderRadius:$,opacityDisabled:S,textColorCheckable:w,textColorHoverCheckable:x,textColorPressedCheckable:k,textColorChecked:P,colorCheckable:I,colorHoverCheckable:A,colorPressedCheckable:O,colorChecked:L,colorCheckedHover:H,colorCheckedPressed:_,closeBorderRadius:U,fontWeightStrong:N,[oe("colorBordered",g)]:te,[oe("closeSize",f)]:fe,[oe("closeIconSize",f)]:ae,[oe("fontSize",f)]:Y,[oe("height",f)]:j,[oe("color",g)]:X,[oe("textColor",g)]:re,[oe("border",g)]:le,[oe("closeIconColor",g)]:ge,[oe("closeIconColorHover",g)]:me,[oe("closeIconColorPressed",g)]:Ae,[oe("closeColorHover",g)]:q,[oe("closeColorPressed",g)]:ve}}=a.value,$e=_t(R);return{"--n-font-weight-strong":N,"--n-avatar-size-override":`calc(${j} - 8px)`,"--n-bezier":b,"--n-border-radius":$,"--n-border":le,"--n-close-icon-size":ae,"--n-close-color-pressed":ve,"--n-close-color-hover":q,"--n-close-border-radius":U,"--n-close-icon-color":ge,"--n-close-icon-color-hover":me,"--n-close-icon-color-pressed":Ae,"--n-close-icon-color-disabled":ge,"--n-close-margin-top":$e.top,"--n-close-margin-right":$e.right,"--n-close-margin-bottom":$e.bottom,"--n-close-margin-left":$e.left,"--n-close-size":fe,"--n-color":v||(o.value?te:X),"--n-color-checkable":I,"--n-color-checked":L,"--n-color-checked-hover":H,"--n-color-checked-pressed":_,"--n-color-hover-checkable":A,"--n-color-pressed-checkable":O,"--n-font-size":Y,"--n-height":j,"--n-opacity-disabled":S,"--n-padding":C,"--n-text-color":m||re,"--n-text-color-checkable":w,"--n-text-color-checked":P,"--n-text-color-hover-checkable":x,"--n-text-color-pressed-checkable":k}}),p=n?Qe("tag",T(()=>{let g="";const{type:f,size:v,color:{color:m,textColor:b}={}}=e;return g+=f[0],g+=v[0],m&&(g+=`a${bn(m)}`),b&&(g+=`b${bn(b)}`),o.value&&(g+="c"),g}),h,e):void 0;return Object.assign(Object.assign({},d),{rtlEnabled:u,mergedClsPrefix:r,contentRef:t,mergedBordered:o,handleClick:l,handleCloseClick:s,cssVars:n?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender})},render(){var e,t;const{mergedClsPrefix:o,rtlEnabled:r,closable:n,color:{borderColor:i}={},round:a,onRender:l,$slots:s}=this;l==null||l();const d=Ze(s.avatar,h=>h&&c("div",{class:`${o}-tag__avatar`},h)),u=Ze(s.icon,h=>h&&c("div",{class:`${o}-tag__icon`},h));return c("div",{class:[`${o}-tag`,this.themeClass,{[`${o}-tag--rtl`]:r,[`${o}-tag--strong`]:this.strong,[`${o}-tag--disabled`]:this.disabled,[`${o}-tag--checkable`]:this.checkable,[`${o}-tag--checked`]:this.checkable&&this.checked,[`${o}-tag--round`]:a,[`${o}-tag--avatar`]:d,[`${o}-tag--icon`]:u,[`${o}-tag--closable`]:n}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||d,c("span",{class:`${o}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&n?c(mr,{clsPrefix:o,class:`${o}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?c("div",{class:`${o}-tag__border`,style:{borderColor:i}}):null)}}),P2=y("base-clear",` + `,[rt("disabled",[z("&:hover","background-color: var(--n-color-checked-hover);"),z("&:active","background-color: var(--n-color-checked-pressed);")])])])]),T2=Object.assign(Object.assign(Object.assign({},be.props),P2),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),Qu="n-tag",va=re({name:"Tag",props:T2,setup(e){const t=E(null),{mergedBorderedRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:i}=He(e),a=be("Tag","-tag",z2,Pl,e,r);Ue(Qu,{roundRef:he(e,"round")});function l(g){if(!e.disabled&&e.checkable){const{checked:f,onCheckedChange:v,onUpdateChecked:b,"onUpdate:checked":m}=e;b&&b(!f),m&&m(!f),v&&v(!f)}}function s(g){if(e.triggerClickOnClose||g.stopPropagation(),!e.disabled){const{onClose:f}=e;f&&ie(f,g)}}const d={setTextContent(g){const{value:f}=t;f&&(f.textContent=g)}},u=Rt("Tag",i,r),h=T(()=>{const{type:g,size:f,color:{color:v,textColor:b}={}}=e,{common:{cubicBezierEaseInOut:m},self:{padding:C,closeMargin:R,borderRadius:$,opacityDisabled:S,textColorCheckable:w,textColorHoverCheckable:x,textColorPressedCheckable:k,textColorChecked:P,colorCheckable:M,colorHoverCheckable:L,colorPressedCheckable:I,colorChecked:A,colorCheckedHover:H,colorCheckedPressed:_,closeBorderRadius:U,fontWeightStrong:N,[oe("colorBordered",g)]:ee,[oe("closeSize",f)]:ue,[oe("closeIconSize",f)]:ae,[oe("fontSize",f)]:Y,[oe("height",f)]:W,[oe("color",g)]:X,[oe("textColor",g)]:ne,[oe("border",g)]:le,[oe("closeIconColor",g)]:ge,[oe("closeIconColorHover",g)]:xe,[oe("closeIconColorPressed",g)]:Le,[oe("closeColorHover",g)]:G,[oe("closeColorPressed",g)]:ve}}=a.value,$e=_t(R);return{"--n-font-weight-strong":N,"--n-avatar-size-override":`calc(${W} - 8px)`,"--n-bezier":m,"--n-border-radius":$,"--n-border":le,"--n-close-icon-size":ae,"--n-close-color-pressed":ve,"--n-close-color-hover":G,"--n-close-border-radius":U,"--n-close-icon-color":ge,"--n-close-icon-color-hover":xe,"--n-close-icon-color-pressed":Le,"--n-close-icon-color-disabled":ge,"--n-close-margin-top":$e.top,"--n-close-margin-right":$e.right,"--n-close-margin-bottom":$e.bottom,"--n-close-margin-left":$e.left,"--n-close-size":ue,"--n-color":v||(o.value?ee:X),"--n-color-checkable":M,"--n-color-checked":A,"--n-color-checked-hover":H,"--n-color-checked-pressed":_,"--n-color-hover-checkable":L,"--n-color-pressed-checkable":I,"--n-font-size":Y,"--n-height":W,"--n-opacity-disabled":S,"--n-padding":C,"--n-text-color":b||ne,"--n-text-color-checkable":w,"--n-text-color-checked":P,"--n-text-color-hover-checkable":x,"--n-text-color-pressed-checkable":k}}),p=n?Qe("tag",T(()=>{let g="";const{type:f,size:v,color:{color:b,textColor:m}={}}=e;return g+=f[0],g+=v[0],b&&(g+=`a${mn(b)}`),m&&(g+=`b${mn(m)}`),o.value&&(g+="c"),g}),h,e):void 0;return Object.assign(Object.assign({},d),{rtlEnabled:u,mergedClsPrefix:r,contentRef:t,mergedBordered:o,handleClick:l,handleCloseClick:s,cssVars:n?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender})},render(){var e,t;const{mergedClsPrefix:o,rtlEnabled:r,closable:n,color:{borderColor:i}={},round:a,onRender:l,$slots:s}=this;l==null||l();const d=Ze(s.avatar,h=>h&&c("div",{class:`${o}-tag__avatar`},h)),u=Ze(s.icon,h=>h&&c("div",{class:`${o}-tag__icon`},h));return c("div",{class:[`${o}-tag`,this.themeClass,{[`${o}-tag--rtl`]:r,[`${o}-tag--strong`]:this.strong,[`${o}-tag--disabled`]:this.disabled,[`${o}-tag--checkable`]:this.checkable,[`${o}-tag--checked`]:this.checkable&&this.checked,[`${o}-tag--round`]:a,[`${o}-tag--avatar`]:d,[`${o}-tag--icon`]:u,[`${o}-tag--closable`]:n}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||d,c("span",{class:`${o}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&n?c(br,{clsPrefix:o,class:`${o}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?c("div",{class:`${o}-tag__border`,style:{borderColor:i}}):null)}}),B2=y("base-clear",` flex-shrink: 0; height: 1em; width: 1em; position: relative; -`,[z(">",[M("clear",` +`,[z(">",[O("clear",` font-size: var(--n-clear-size); height: 1em; width: 1em; @@ -503,14 +503,14 @@ ${t} color: var(--n-clear-color-hover)!important; `),z("&:active",` color: var(--n-clear-color-pressed)!important; - `)]),M("placeholder",` + `)]),O("placeholder",` display: flex; - `),M("clear, placeholder",` + `),O("clear, placeholder",` position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[Wt({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),qa=ne({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Do("-base-clear",P2,he(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return c("div",{class:`${e}-base-clear`},c(br,null,{default:()=>{var t,o;return this.show?c("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},Bt(this.$slots.icon,()=>[c(ot,{clsPrefix:e},{default:()=>c(lS,null)})])):c("div",{key:"icon",class:`${e}-base-clear__placeholder`},(o=(t=this.$slots).placeholder)===null||o===void 0?void 0:o.call(t))}}))}}),Qu=ne({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:o}=e;return c(Yo,{clsPrefix:o,class:`${o}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?c(qa,{clsPrefix:o,show:e.showClear,onClear:e.onClear},{placeholder:()=>c(ot,{clsPrefix:o,class:`${o}-base-suffix__arrow`},{default:()=>Bt(t.default,()=>[c(Fu,null)])})}):null})}}}),ef={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},z2=e=>{const{borderRadius:t,textColor2:o,textColorDisabled:r,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,borderColor:p,iconColor:g,iconColorDisabled:f,clearColor:v,clearColorHover:m,clearColorPressed:b,placeholderColor:C,placeholderColorDisabled:R,fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:I,heightLarge:A}=e;return Object.assign(Object.assign({},ef),{fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:I,heightLarge:A,borderRadius:t,textColor:o,textColorDisabled:r,placeholderColor:C,placeholderColorDisabled:R,color:n,colorDisabled:i,colorActive:n,border:`1px solid ${p}`,borderHover:`1px solid ${l}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${se(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${se(a,{alpha:.2})}`,caretColor:a,arrowColor:g,arrowColorDisabled:f,loadingColor:a,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${se(s,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${se(s,{alpha:.2})}`,colorActiveWarning:n,caretColorWarning:s,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${h}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${se(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${se(u,{alpha:.2})}`,colorActiveError:n,caretColorError:u,clearColor:v,clearColorHover:m,clearColorPressed:b})},T2={name:"InternalSelection",common:xe,peers:{Popover:Zo},self:z2},Li=T2,B2={name:"InternalSelection",common:ke,peers:{Popover:Cr},self(e){const{borderRadius:t,textColor2:o,textColorDisabled:r,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,iconColor:p,iconColorDisabled:g,clearColor:f,clearColorHover:v,clearColorPressed:m,placeholderColor:b,placeholderColorDisabled:C,fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:I}=e;return Object.assign(Object.assign({},ef),{fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:I,borderRadius:t,textColor:o,textColorDisabled:r,placeholderColor:b,placeholderColorDisabled:C,color:n,colorDisabled:i,colorActive:se(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${l}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${se(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${se(a,{alpha:.4})}`,caretColor:a,arrowColor:p,arrowColorDisabled:g,loadingColor:a,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${se(s,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${se(s,{alpha:.4})}`,colorActiveWarning:se(s,{alpha:.1}),caretColorWarning:s,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${h}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${se(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.4})}`,colorActiveError:se(u,{alpha:.1}),caretColorError:u,clearColor:f,clearColorHover:v,clearColorPressed:m})}},Pl=B2,M2=z([y("base-selection",` + `,[Nt({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Ga=re({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Do("-base-clear",B2,he(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return c("div",{class:`${e}-base-clear`},c(mr,null,{default:()=>{var t,o;return this.show?c("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},Bt(this.$slots.icon,()=>[c(ot,{clsPrefix:e},{default:()=>c(cS,null)})])):c("div",{key:"icon",class:`${e}-base-clear__placeholder`},(o=(t=this.$slots).placeholder)===null||o===void 0?void 0:o.call(t))}}))}}),ef=re({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:o}=e;return c(Yo,{clsPrefix:o,class:`${o}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?c(Ga,{clsPrefix:o,show:e.showClear,onClear:e.onClear},{placeholder:()=>c(ot,{clsPrefix:o,class:`${o}-base-suffix__arrow`},{default:()=>Bt(t.default,()=>[c(Eu,null)])})}):null})}}}),tf={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},O2=e=>{const{borderRadius:t,textColor2:o,textColorDisabled:r,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,borderColor:p,iconColor:g,iconColorDisabled:f,clearColor:v,clearColorHover:b,clearColorPressed:m,placeholderColor:C,placeholderColorDisabled:R,fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:M,heightLarge:L}=e;return Object.assign(Object.assign({},tf),{fontSizeTiny:$,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:M,heightLarge:L,borderRadius:t,textColor:o,textColorDisabled:r,placeholderColor:C,placeholderColorDisabled:R,color:n,colorDisabled:i,colorActive:n,border:`1px solid ${p}`,borderHover:`1px solid ${l}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${se(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${se(a,{alpha:.2})}`,caretColor:a,arrowColor:g,arrowColorDisabled:f,loadingColor:a,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${se(s,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${se(s,{alpha:.2})}`,colorActiveWarning:n,caretColorWarning:s,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${h}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${se(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${se(u,{alpha:.2})}`,colorActiveError:n,caretColorError:u,clearColor:v,clearColorHover:b,clearColorPressed:m})},M2={name:"InternalSelection",common:Ce,peers:{Popover:Zo},self:O2},Ai=M2,I2={name:"InternalSelection",common:ke,peers:{Popover:Cr},self(e){const{borderRadius:t,textColor2:o,textColorDisabled:r,inputColor:n,inputColorDisabled:i,primaryColor:a,primaryColorHover:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,iconColor:p,iconColorDisabled:g,clearColor:f,clearColorHover:v,clearColorPressed:b,placeholderColor:m,placeholderColorDisabled:C,fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:M}=e;return Object.assign(Object.assign({},tf),{fontSizeTiny:R,fontSizeSmall:$,fontSizeMedium:S,fontSizeLarge:w,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:M,borderRadius:t,textColor:o,textColorDisabled:r,placeholderColor:m,placeholderColorDisabled:C,color:n,colorDisabled:i,colorActive:se(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${l}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${l}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${se(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${se(a,{alpha:.4})}`,caretColor:a,arrowColor:p,arrowColorDisabled:g,loadingColor:a,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${s}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${se(s,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${se(s,{alpha:.4})}`,colorActiveWarning:se(s,{alpha:.1}),caretColorWarning:s,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${h}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${se(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.4})}`,colorActiveError:se(u,{alpha:.1}),caretColorError:u,clearColor:f,clearColorHover:v,clearColorPressed:b})}},zl=I2,F2=z([y("base-selection",` --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left); --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left); position: relative; @@ -526,7 +526,7 @@ ${t} font-size: var(--n-font-size); `,[y("base-loading",` color: var(--n-loading-color); - `),y("base-selection-tags","min-height: var(--n-height);"),M("border, state-border",` + `),y("base-selection-tags","min-height: var(--n-height);"),O("border, state-border",` position: absolute; left: 0; right: 0; @@ -538,7 +538,7 @@ ${t} transition: box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `),M("state-border",` + `),O("state-border",` z-index: 1; border-color: #0000; `),y("base-suffix",` @@ -547,7 +547,7 @@ ${t} top: 50%; transform: translateY(-50%); right: 10px; - `,[M("arrow",` + `,[O("arrow",` font-size: var(--n-arrow-size); color: var(--n-arrow-color); transition: color .3s var(--n-bezier); @@ -563,14 +563,14 @@ ${t} left: 0; padding: var(--n-padding-single); transition: color .3s var(--n-bezier); - `,[M("wrapper",` + `,[O("wrapper",` flex-basis: 0; flex-grow: 1; overflow: hidden; text-overflow: ellipsis; `)]),y("base-selection-placeholder",` color: var(--n-placeholder-color); - `,[M("inner",` + `,[O("inner",` max-width: 100%; overflow: hidden; `)]),y("base-selection-tags",` @@ -621,22 +621,22 @@ ${t} color: var(--n-text-color); transition: color .3s var(--n-bezier); caret-color: var(--n-caret-color); - `,[M("content",` + `,[O("content",` text-overflow: ellipsis; overflow: hidden; white-space: nowrap; - `)]),M("render-label",` + `)]),O("render-label",` color: var(--n-text-color); - `)]),nt("disabled",[z("&:hover",[M("state-border",` + `)]),rt("disabled",[z("&:hover",[O("state-border",` box-shadow: var(--n-box-shadow-hover); border: var(--n-border-hover); - `)]),B("focus",[M("state-border",` + `)]),B("focus",[O("state-border",` box-shadow: var(--n-box-shadow-focus); border: var(--n-border-focus); - `)]),B("active",[M("state-border",` + `)]),B("active",[O("state-border",` box-shadow: var(--n-box-shadow-active); border: var(--n-border-active); - `),y("base-selection-label","background-color: var(--n-color-active);"),y("base-selection-tags","background-color: var(--n-color-active);")])]),B("disabled","cursor: not-allowed;",[M("arrow",` + `),y("base-selection-label","background-color: var(--n-color-active);"),y("base-selection-tags","background-color: var(--n-color-active);")])]),B("disabled","cursor: not-allowed;",[O("arrow",` color: var(--n-arrow-color-disabled); `),y("base-selection-label",` cursor: not-allowed; @@ -644,7 +644,7 @@ ${t} `,[y("base-selection-input",` cursor: not-allowed; color: var(--n-text-color-disabled); - `),M("render-label",` + `),O("render-label",` color: var(--n-text-color-disabled); `)]),y("base-selection-tags",` cursor: not-allowed; @@ -661,7 +661,7 @@ ${t} margin-bottom: 3px; max-width: 100%; vertical-align: bottom; - `,[M("input",` + `,[O("input",` font-size: inherit; font-family: inherit; min-width: 1px; @@ -676,7 +676,7 @@ ${t} cursor: pointer; color: var(--n-text-color); caret-color: var(--n-caret-color); - `),M("mirror",` + `),O("mirror",` position: absolute; left: 0; top: 0; @@ -685,13 +685,13 @@ ${t} user-select: none; -webkit-user-select: none; opacity: 0; - `)]),["warning","error"].map(e=>B(`${e}-status`,[M("state-border",`border: var(--n-border-${e});`),nt("disabled",[z("&:hover",[M("state-border",` + `)]),["warning","error"].map(e=>B(`${e}-status`,[O("state-border",`border: var(--n-border-${e});`),rt("disabled",[z("&:hover",[O("state-border",` box-shadow: var(--n-box-shadow-hover-${e}); border: var(--n-border-hover-${e}); - `)]),B("active",[M("state-border",` + `)]),B("active",[O("state-border",` box-shadow: var(--n-box-shadow-active-${e}); border: var(--n-border-active-${e}); - `),y("base-selection-label",`background-color: var(--n-color-active-${e});`),y("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),B("focus",[M("state-border",` + `),y("base-selection-label",`background-color: var(--n-color-active-${e});`),y("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),B("focus",[O("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); `)])])]))]),y("base-selection-popover",` @@ -706,35 +706,35 @@ ${t} `,[z("&:last-child","padding-right: 0;"),y("tag",` font-size: 14px; max-width: 100%; - `,[M("content",` + `,[O("content",` line-height: 1.25; text-overflow: ellipsis; overflow: hidden; - `)])])]),O2=ne({name:"InternalSelection",props:Object.assign(Object.assign({},we.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("InternalSelection",o,t),n=E(null),i=E(null),a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(!1),v=E(!1),m=E(!1),b=we("InternalSelection","-internal-selection",M2,Li,e,he(e,"clsPrefix")),C=T(()=>e.clearable&&!e.disabled&&(m.value||e.active)),R=T(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):pt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),$=T(()=>{const D=e.selectedOption;if(D)return D[e.labelField]}),S=T(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function w(){var D;const{value:J}=n;if(J){const{value:Se}=i;Se&&(Se.style.width=`${J.offsetWidth}px`,e.maxTagCount!=="responsive"&&((D=p.value)===null||D===void 0||D.sync({showAllItemsBeforeCalculate:!1})))}}function x(){const{value:D}=g;D&&(D.style.display="none")}function k(){const{value:D}=g;D&&(D.style.display="inline-block")}Je(he(e,"active"),D=>{D||x()}),Je(he(e,"pattern"),()=>{e.multiple&&ut(w)});function P(D){const{onFocus:J}=e;J&&J(D)}function I(D){const{onBlur:J}=e;J&&J(D)}function A(D){const{onDeleteOption:J}=e;J&&J(D)}function O(D){const{onClear:J}=e;J&&J(D)}function L(D){const{onPatternInput:J}=e;J&&J(D)}function H(D){var J;(!D.relatedTarget||!(!((J=a.value)===null||J===void 0)&&J.contains(D.relatedTarget)))&&P(D)}function _(D){var J;!((J=a.value)===null||J===void 0)&&J.contains(D.relatedTarget)||I(D)}function U(D){O(D)}function N(){m.value=!0}function te(){m.value=!1}function fe(D){!e.active||!e.filterable||D.target!==i.value&&D.preventDefault()}function ae(D){A(D)}function Y(D){if(D.key==="Backspace"&&!j.value&&!e.pattern.length){const{selectedOptions:J}=e;J!=null&&J.length&&ae(J[J.length-1])}}const j=E(!1);let X=null;function re(D){const{value:J}=n;if(J){const Se=D.target.value;J.textContent=Se,w()}e.ignoreComposition&&j.value?X=D:L(D)}function le(){j.value=!0}function ge(){j.value=!1,e.ignoreComposition&&L(X),X=null}function me(D){var J;v.value=!0,(J=e.onPatternFocus)===null||J===void 0||J.call(e,D)}function Ae(D){var J;v.value=!1,(J=e.onPatternBlur)===null||J===void 0||J.call(e,D)}function q(){var D,J;if(e.filterable)v.value=!1,(D=d.value)===null||D===void 0||D.blur(),(J=i.value)===null||J===void 0||J.blur();else if(e.multiple){const{value:Se}=l;Se==null||Se.blur()}else{const{value:Se}=s;Se==null||Se.blur()}}function ve(){var D,J,Se;e.filterable?(v.value=!1,(D=d.value)===null||D===void 0||D.focus()):e.multiple?(J=l.value)===null||J===void 0||J.focus():(Se=s.value)===null||Se===void 0||Se.focus()}function $e(){const{value:D}=i;D&&(k(),D.focus())}function Oe(){const{value:D}=i;D&&D.blur()}function Z(D){const{value:J}=u;J&&J.setTextContent(`+${D}`)}function ue(){const{value:D}=h;return D}function be(){return i.value}let De=null;function ee(){De!==null&&window.clearTimeout(De)}function Ce(){e.active||(ee(),De=window.setTimeout(()=>{S.value&&(f.value=!0)},100))}function Pe(){ee()}function K(D){D||(ee(),f.value=!1)}Je(S,D=>{D||(f.value=!1)}),gt(()=>{vt(()=>{const D=d.value;D&&(e.disabled?D.removeAttribute("tabindex"):D.tabIndex=v.value?-1:0)})}),Hc(a,e.onResize);const{inlineThemeDisabled:Q}=e,pe=T(()=>{const{size:D}=e,{common:{cubicBezierEaseInOut:J},self:{borderRadius:Se,color:Le,placeholderColor:qe,textColor:it,paddingSingle:ye,paddingMultiple:ze,caretColor:Ke,colorDisabled:Be,textColorDisabled:Ve,placeholderColorDisabled:at,colorActive:F,boxShadowFocus:G,boxShadowActive:de,boxShadowHover:Re,border:Ie,borderFocus:Fe,borderHover:_e,borderActive:je,arrowColor:Ge,arrowColorDisabled:xt,loadingColor:ft,colorActiveWarning:Ct,boxShadowFocusWarning:Kt,boxShadowActiveWarning:qt,boxShadowHoverWarning:Ro,borderWarning:Po,borderFocusWarning:uo,borderHoverWarning:fo,borderActiveWarning:W,colorActiveError:ce,boxShadowFocusError:We,boxShadowActiveError:st,boxShadowHoverError:ct,borderError:lt,borderFocusError:Qt,borderHoverError:eo,borderActiveError:to,clearColor:zo,clearColorHover:To,clearColorPressed:Jo,clearSize:Jr,arrowSize:Qr,[oe("height",D)]:en,[oe("fontSize",D)]:tn}}=b.value,Ho=_t(ye),jo=_t(ze);return{"--n-bezier":J,"--n-border":Ie,"--n-border-active":je,"--n-border-focus":Fe,"--n-border-hover":_e,"--n-border-radius":Se,"--n-box-shadow-active":de,"--n-box-shadow-focus":G,"--n-box-shadow-hover":Re,"--n-caret-color":Ke,"--n-color":Le,"--n-color-active":F,"--n-color-disabled":Be,"--n-font-size":tn,"--n-height":en,"--n-padding-single-top":Ho.top,"--n-padding-multiple-top":jo.top,"--n-padding-single-right":Ho.right,"--n-padding-multiple-right":jo.right,"--n-padding-single-left":Ho.left,"--n-padding-multiple-left":jo.left,"--n-padding-single-bottom":Ho.bottom,"--n-padding-multiple-bottom":jo.bottom,"--n-placeholder-color":qe,"--n-placeholder-color-disabled":at,"--n-text-color":it,"--n-text-color-disabled":Ve,"--n-arrow-color":Ge,"--n-arrow-color-disabled":xt,"--n-loading-color":ft,"--n-color-active-warning":Ct,"--n-box-shadow-focus-warning":Kt,"--n-box-shadow-active-warning":qt,"--n-box-shadow-hover-warning":Ro,"--n-border-warning":Po,"--n-border-focus-warning":uo,"--n-border-hover-warning":fo,"--n-border-active-warning":W,"--n-color-active-error":ce,"--n-box-shadow-focus-error":We,"--n-box-shadow-active-error":st,"--n-box-shadow-hover-error":ct,"--n-border-error":lt,"--n-border-focus-error":Qt,"--n-border-hover-error":eo,"--n-border-active-error":to,"--n-clear-size":Jr,"--n-clear-color":zo,"--n-clear-color-hover":To,"--n-clear-color-pressed":Jo,"--n-arrow-size":Qr}}),V=Q?Qe("internal-selection",T(()=>e.size[0]),pe,e):void 0;return{mergedTheme:b,mergedClearable:C,mergedClsPrefix:t,rtlEnabled:r,patternInputFocused:v,filterablePlaceholder:R,label:$,selected:S,showTagsPanel:f,isComposing:j,counterRef:u,counterWrapperRef:h,patternInputMirrorRef:n,patternInputRef:i,selfRef:a,multipleElRef:l,singleElRef:s,patternInputWrapperRef:d,overflowRef:p,inputTagElRef:g,handleMouseDown:fe,handleFocusin:H,handleClear:U,handleMouseEnter:N,handleMouseLeave:te,handleDeleteOption:ae,handlePatternKeyDown:Y,handlePatternInputInput:re,handlePatternInputBlur:Ae,handlePatternInputFocus:me,handleMouseEnterCounter:Ce,handleMouseLeaveCounter:Pe,handleFocusout:_,handleCompositionEnd:ge,handleCompositionStart:le,onPopoverUpdateShow:K,focus:ve,focusInput:$e,blur:q,blurInput:Oe,updateCounter:Z,getCounter:ue,getTail:be,renderLabel:e.renderLabel,cssVars:Q?void 0:pe,themeClass:V==null?void 0:V.themeClass,onRender:V==null?void 0:V.onRender}},render(){const{status:e,multiple:t,size:o,disabled:r,filterable:n,maxTagCount:i,bordered:a,clsPrefix:l,ellipsisTagPopoverProps:s,onRender:d,renderTag:u,renderLabel:h}=this;d==null||d();const p=i==="responsive",g=typeof i=="number",f=p||g,v=c(Ma,null,{default:()=>c(Qu,{clsPrefix:l,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var b,C;return(C=(b=this.$slots).arrow)===null||C===void 0?void 0:C.call(b)}})});let m;if(t){const{labelField:b}=this,C=L=>c("div",{class:`${l}-base-selection-tag-wrapper`,key:L.value},u?u({option:L,handleClose:()=>{this.handleDeleteOption(L)}}):c(va,{size:o,closable:!L.disabled,disabled:r,onClose:()=>{this.handleDeleteOption(L)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>h?h(L,!0):pt(L[b],L,!0)})),R=()=>(g?this.selectedOptions.slice(0,i):this.selectedOptions).map(C),$=n?c("div",{class:`${l}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:r,value:this.pattern,autofocus:this.autofocus,class:`${l}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),c("span",{ref:"patternInputMirrorRef",class:`${l}-base-selection-input-tag__mirror`},this.pattern)):null,S=p?()=>c("div",{class:`${l}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},c(va,{size:o,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:r})):void 0;let w;if(g){const L=this.selectedOptions.length-i;L>0&&(w=c("div",{class:`${l}-base-selection-tag-wrapper`,key:"__counter__"},c(va,{size:o,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:r},{default:()=>`+${L}`})))}const x=p?n?c(Ss,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:R,counter:S,tail:()=>$}):c(Ss,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:R,counter:S}):g&&w?R().concat(w):R(),k=f?()=>c("div",{class:`${l}-base-selection-popover`},p?R():this.selectedOptions.map(C)):void 0,P=f?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},s):null,A=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`},c("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)):null,O=n?c("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-tags`},x,p?null:$,v):c("div",{ref:"multipleElRef",class:`${l}-base-selection-tags`,tabindex:r?void 0:0},x,v);m=c(yt,null,f?c(Yr,Object.assign({},P,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>O,default:k}):O,A)}else if(n){const b=this.pattern||this.isComposing,C=this.active?!b:!this.selected,R=this.active?!1:this.selected;m=c("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-label`,title:this.patternInputFocused?void 0:Xl(this.label)},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${l}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:r,disabled:r,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),R?c("div",{class:`${l}-base-selection-label__render-label ${l}-base-selection-overlay`,key:"input"},c("div",{class:`${l}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):h?h(this.selectedOption,!0):pt(this.label,this.selectedOption,!0))):null,C?c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${l}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,v)}else m=c("div",{ref:"singleElRef",class:`${l}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?c("div",{class:`${l}-base-selection-input`,title:Xl(this.label),key:"input"},c("div",{class:`${l}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):h?h(this.selectedOption,!0):pt(this.label,this.selectedOption,!0))):c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)),v);return c("div",{ref:"selfRef",class:[`${l}-base-selection`,this.rtlEnabled&&`${l}-base-selection--rtl`,this.themeClass,e&&`${l}-base-selection--${e}-status`,{[`${l}-base-selection--active`]:this.active,[`${l}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${l}-base-selection--disabled`]:this.disabled,[`${l}-base-selection--multiple`]:this.multiple,[`${l}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},m,a?c("div",{class:`${l}-base-selection__border`}):null,a?c("div",{class:`${l}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:No}=Ut;function I2({duration:e=".2s",delay:t=".1s"}={}){return[z("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),z("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` + `)])])]),E2=re({name:"InternalSelection",props:Object.assign(Object.assign({},be.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("InternalSelection",o,t),n=E(null),i=E(null),a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(!1),v=E(!1),b=E(!1),m=be("InternalSelection","-internal-selection",F2,Ai,e,he(e,"clsPrefix")),C=T(()=>e.clearable&&!e.disabled&&(b.value||e.active)),R=T(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):vt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),$=T(()=>{const D=e.selectedOption;if(D)return D[e.labelField]}),S=T(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function w(){var D;const{value:J}=n;if(J){const{value:Se}=i;Se&&(Se.style.width=`${J.offsetWidth}px`,e.maxTagCount!=="responsive"&&((D=p.value)===null||D===void 0||D.sync({showAllItemsBeforeCalculate:!1})))}}function x(){const{value:D}=g;D&&(D.style.display="none")}function k(){const{value:D}=g;D&&(D.style.display="inline-block")}Je(he(e,"active"),D=>{D||x()}),Je(he(e,"pattern"),()=>{e.multiple&&ut(w)});function P(D){const{onFocus:J}=e;J&&J(D)}function M(D){const{onBlur:J}=e;J&&J(D)}function L(D){const{onDeleteOption:J}=e;J&&J(D)}function I(D){const{onClear:J}=e;J&&J(D)}function A(D){const{onPatternInput:J}=e;J&&J(D)}function H(D){var J;(!D.relatedTarget||!(!((J=a.value)===null||J===void 0)&&J.contains(D.relatedTarget)))&&P(D)}function _(D){var J;!((J=a.value)===null||J===void 0)&&J.contains(D.relatedTarget)||M(D)}function U(D){I(D)}function N(){b.value=!0}function ee(){b.value=!1}function ue(D){!e.active||!e.filterable||D.target!==i.value&&D.preventDefault()}function ae(D){L(D)}function Y(D){if(D.key==="Backspace"&&!W.value&&!e.pattern.length){const{selectedOptions:J}=e;J!=null&&J.length&&ae(J[J.length-1])}}const W=E(!1);let X=null;function ne(D){const{value:J}=n;if(J){const Se=D.target.value;J.textContent=Se,w()}e.ignoreComposition&&W.value?X=D:A(D)}function le(){W.value=!0}function ge(){W.value=!1,e.ignoreComposition&&A(X),X=null}function xe(D){var J;v.value=!0,(J=e.onPatternFocus)===null||J===void 0||J.call(e,D)}function Le(D){var J;v.value=!1,(J=e.onPatternBlur)===null||J===void 0||J.call(e,D)}function G(){var D,J;if(e.filterable)v.value=!1,(D=d.value)===null||D===void 0||D.blur(),(J=i.value)===null||J===void 0||J.blur();else if(e.multiple){const{value:Se}=l;Se==null||Se.blur()}else{const{value:Se}=s;Se==null||Se.blur()}}function ve(){var D,J,Se;e.filterable?(v.value=!1,(D=d.value)===null||D===void 0||D.focus()):e.multiple?(J=l.value)===null||J===void 0||J.focus():(Se=s.value)===null||Se===void 0||Se.focus()}function $e(){const{value:D}=i;D&&(k(),D.focus())}function Me(){const{value:D}=i;D&&D.blur()}function Z(D){const{value:J}=u;J&&J.setTextContent(`+${D}`)}function fe(){const{value:D}=h;return D}function me(){return i.value}let De=null;function te(){De!==null&&window.clearTimeout(De)}function ye(){e.active||(te(),De=window.setTimeout(()=>{S.value&&(f.value=!0)},100))}function Pe(){te()}function K(D){D||(te(),f.value=!1)}Je(S,D=>{D||(f.value=!1)}),gt(()=>{pt(()=>{const D=d.value;D&&(e.disabled?D.removeAttribute("tabindex"):D.tabIndex=v.value?-1:0)})}),Wc(a,e.onResize);const{inlineThemeDisabled:Q}=e,pe=T(()=>{const{size:D}=e,{common:{cubicBezierEaseInOut:J},self:{borderRadius:Se,color:Ae,placeholderColor:Ge,textColor:it,paddingSingle:we,paddingMultiple:ze,caretColor:Ke,colorDisabled:Be,textColorDisabled:Ve,placeholderColorDisabled:at,colorActive:F,boxShadowFocus:q,boxShadowActive:de,boxShadowHover:Re,border:Ie,borderFocus:Fe,borderHover:_e,borderActive:We,arrowColor:qe,arrowColorDisabled:xt,loadingColor:ft,colorActiveWarning:Ct,boxShadowFocusWarning:Kt,boxShadowActiveWarning:Gt,boxShadowHoverWarning:Po,borderWarning:zo,borderFocusWarning:uo,borderHoverWarning:fo,borderActiveWarning:j,colorActiveError:ce,boxShadowFocusError:Ne,boxShadowActiveError:st,boxShadowHoverError:ct,borderError:lt,borderFocusError:Qt,borderHoverError:eo,borderActiveError:to,clearColor:To,clearColorHover:Bo,clearColorPressed:Jo,clearSize:Jr,arrowSize:Qr,[oe("height",D)]:en,[oe("fontSize",D)]:tn}}=m.value,Ho=_t(we),Wo=_t(ze);return{"--n-bezier":J,"--n-border":Ie,"--n-border-active":We,"--n-border-focus":Fe,"--n-border-hover":_e,"--n-border-radius":Se,"--n-box-shadow-active":de,"--n-box-shadow-focus":q,"--n-box-shadow-hover":Re,"--n-caret-color":Ke,"--n-color":Ae,"--n-color-active":F,"--n-color-disabled":Be,"--n-font-size":tn,"--n-height":en,"--n-padding-single-top":Ho.top,"--n-padding-multiple-top":Wo.top,"--n-padding-single-right":Ho.right,"--n-padding-multiple-right":Wo.right,"--n-padding-single-left":Ho.left,"--n-padding-multiple-left":Wo.left,"--n-padding-single-bottom":Ho.bottom,"--n-padding-multiple-bottom":Wo.bottom,"--n-placeholder-color":Ge,"--n-placeholder-color-disabled":at,"--n-text-color":it,"--n-text-color-disabled":Ve,"--n-arrow-color":qe,"--n-arrow-color-disabled":xt,"--n-loading-color":ft,"--n-color-active-warning":Ct,"--n-box-shadow-focus-warning":Kt,"--n-box-shadow-active-warning":Gt,"--n-box-shadow-hover-warning":Po,"--n-border-warning":zo,"--n-border-focus-warning":uo,"--n-border-hover-warning":fo,"--n-border-active-warning":j,"--n-color-active-error":ce,"--n-box-shadow-focus-error":Ne,"--n-box-shadow-active-error":st,"--n-box-shadow-hover-error":ct,"--n-border-error":lt,"--n-border-focus-error":Qt,"--n-border-hover-error":eo,"--n-border-active-error":to,"--n-clear-size":Jr,"--n-clear-color":To,"--n-clear-color-hover":Bo,"--n-clear-color-pressed":Jo,"--n-arrow-size":Qr}}),V=Q?Qe("internal-selection",T(()=>e.size[0]),pe,e):void 0;return{mergedTheme:m,mergedClearable:C,mergedClsPrefix:t,rtlEnabled:r,patternInputFocused:v,filterablePlaceholder:R,label:$,selected:S,showTagsPanel:f,isComposing:W,counterRef:u,counterWrapperRef:h,patternInputMirrorRef:n,patternInputRef:i,selfRef:a,multipleElRef:l,singleElRef:s,patternInputWrapperRef:d,overflowRef:p,inputTagElRef:g,handleMouseDown:ue,handleFocusin:H,handleClear:U,handleMouseEnter:N,handleMouseLeave:ee,handleDeleteOption:ae,handlePatternKeyDown:Y,handlePatternInputInput:ne,handlePatternInputBlur:Le,handlePatternInputFocus:xe,handleMouseEnterCounter:ye,handleMouseLeaveCounter:Pe,handleFocusout:_,handleCompositionEnd:ge,handleCompositionStart:le,onPopoverUpdateShow:K,focus:ve,focusInput:$e,blur:G,blurInput:Me,updateCounter:Z,getCounter:fe,getTail:me,renderLabel:e.renderLabel,cssVars:Q?void 0:pe,themeClass:V==null?void 0:V.themeClass,onRender:V==null?void 0:V.onRender}},render(){const{status:e,multiple:t,size:o,disabled:r,filterable:n,maxTagCount:i,bordered:a,clsPrefix:l,ellipsisTagPopoverProps:s,onRender:d,renderTag:u,renderLabel:h}=this;d==null||d();const p=i==="responsive",g=typeof i=="number",f=p||g,v=c(Oa,null,{default:()=>c(ef,{clsPrefix:l,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var m,C;return(C=(m=this.$slots).arrow)===null||C===void 0?void 0:C.call(m)}})});let b;if(t){const{labelField:m}=this,C=A=>c("div",{class:`${l}-base-selection-tag-wrapper`,key:A.value},u?u({option:A,handleClose:()=>{this.handleDeleteOption(A)}}):c(va,{size:o,closable:!A.disabled,disabled:r,onClose:()=>{this.handleDeleteOption(A)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>h?h(A,!0):vt(A[m],A,!0)})),R=()=>(g?this.selectedOptions.slice(0,i):this.selectedOptions).map(C),$=n?c("div",{class:`${l}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:r,value:this.pattern,autofocus:this.autofocus,class:`${l}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),c("span",{ref:"patternInputMirrorRef",class:`${l}-base-selection-input-tag__mirror`},this.pattern)):null,S=p?()=>c("div",{class:`${l}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},c(va,{size:o,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:r})):void 0;let w;if(g){const A=this.selectedOptions.length-i;A>0&&(w=c("div",{class:`${l}-base-selection-tag-wrapper`,key:"__counter__"},c(va,{size:o,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:r},{default:()=>`+${A}`})))}const x=p?n?c($s,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:R,counter:S,tail:()=>$}):c($s,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:R,counter:S}):g&&w?R().concat(w):R(),k=f?()=>c("div",{class:`${l}-base-selection-popover`},p?R():this.selectedOptions.map(C)):void 0,P=f?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},s):null,L=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`},c("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)):null,I=n?c("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-tags`},x,p?null:$,v):c("div",{ref:"multipleElRef",class:`${l}-base-selection-tags`,tabindex:r?void 0:0},x,v);b=c(yt,null,f?c(Yr,Object.assign({},P,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>I,default:k}):I,L)}else if(n){const m=this.pattern||this.isComposing,C=this.active?!m:!this.selected,R=this.active?!1:this.selected;b=c("div",{ref:"patternInputWrapperRef",class:`${l}-base-selection-label`,title:this.patternInputFocused?void 0:Zl(this.label)},c("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${l}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:r,disabled:r,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),R?c("div",{class:`${l}-base-selection-label__render-label ${l}-base-selection-overlay`,key:"input"},c("div",{class:`${l}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):h?h(this.selectedOption,!0):vt(this.label,this.selectedOption,!0))):null,C?c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${l}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,v)}else b=c("div",{ref:"singleElRef",class:`${l}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?c("div",{class:`${l}-base-selection-input`,title:Zl(this.label),key:"input"},c("div",{class:`${l}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):h?h(this.selectedOption,!0):vt(this.label,this.selectedOption,!0))):c("div",{class:`${l}-base-selection-placeholder ${l}-base-selection-overlay`,key:"placeholder"},c("div",{class:`${l}-base-selection-placeholder__inner`},this.placeholder)),v);return c("div",{ref:"selfRef",class:[`${l}-base-selection`,this.rtlEnabled&&`${l}-base-selection--rtl`,this.themeClass,e&&`${l}-base-selection--${e}-status`,{[`${l}-base-selection--active`]:this.active,[`${l}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${l}-base-selection--disabled`]:this.disabled,[`${l}-base-selection--multiple`]:this.multiple,[`${l}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},b,a?c("div",{class:`${l}-base-selection__border`}):null,a?c("div",{class:`${l}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:jo}=Ut;function L2({duration:e=".2s",delay:t=".1s"}={}){return[z("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),z("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` opacity: 0!important; margin-left: 0!important; margin-right: 0!important; `),z("&.fade-in-width-expand-transition-leave-active",` overflow: hidden; transition: - opacity ${e} ${No}, - max-width ${e} ${No} ${t}, - margin-left ${e} ${No} ${t}, - margin-right ${e} ${No} ${t}; + opacity ${e} ${jo}, + max-width ${e} ${jo} ${t}, + margin-left ${e} ${jo} ${t}, + margin-right ${e} ${jo} ${t}; `),z("&.fade-in-width-expand-transition-enter-active",` overflow: hidden; transition: - opacity ${e} ${No} ${t}, - max-width ${e} ${No}, - margin-left ${e} ${No}, - margin-right ${e} ${No}; - `)]}const tf={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},F2={name:"Alert",common:ke,self(e){const{lineHeight:t,borderRadius:o,fontWeightStrong:r,dividerColor:n,inputColor:i,textColor1:a,textColor2:l,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,infoColorSuppl:g,successColorSuppl:f,warningColorSuppl:v,errorColorSuppl:m,fontSize:b}=e;return Object.assign(Object.assign({},tf),{fontSize:b,lineHeight:t,titleFontWeight:r,borderRadius:o,border:`1px solid ${n}`,color:i,titleTextColor:a,iconColor:l,contentTextColor:l,closeBorderRadius:o,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderInfo:`1px solid ${se(g,{alpha:.35})}`,colorInfo:se(g,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:g,contentTextColorInfo:l,closeColorHoverInfo:s,closeColorPressedInfo:d,closeIconColorInfo:u,closeIconColorHoverInfo:h,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${se(f,{alpha:.35})}`,colorSuccess:se(f,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:f,contentTextColorSuccess:l,closeColorHoverSuccess:s,closeColorPressedSuccess:d,closeIconColorSuccess:u,closeIconColorHoverSuccess:h,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${se(v,{alpha:.35})}`,colorWarning:se(v,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:s,closeColorPressedWarning:d,closeIconColorWarning:u,closeIconColorHoverWarning:h,closeIconColorPressedWarning:p,borderError:`1px solid ${se(m,{alpha:.35})}`,colorError:se(m,{alpha:.25}),titleTextColorError:a,iconColorError:m,contentTextColorError:l,closeColorHoverError:s,closeColorPressedError:d,closeIconColorError:u,closeIconColorHoverError:h,closeIconColorPressedError:p})}},E2=F2,A2=e=>{const{lineHeight:t,borderRadius:o,fontWeightStrong:r,baseColor:n,dividerColor:i,actionColor:a,textColor1:l,textColor2:s,closeColorHover:d,closeColorPressed:u,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,infoColor:f,successColor:v,warningColor:m,errorColor:b,fontSize:C}=e;return Object.assign(Object.assign({},tf),{fontSize:C,lineHeight:t,titleFontWeight:r,borderRadius:o,border:`1px solid ${i}`,color:a,titleTextColor:l,iconColor:s,contentTextColor:s,closeBorderRadius:o,closeColorHover:d,closeColorPressed:u,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,borderInfo:`1px solid ${Ee(n,se(f,{alpha:.25}))}`,colorInfo:Ee(n,se(f,{alpha:.08})),titleTextColorInfo:l,iconColorInfo:f,contentTextColorInfo:s,closeColorHoverInfo:d,closeColorPressedInfo:u,closeIconColorInfo:h,closeIconColorHoverInfo:p,closeIconColorPressedInfo:g,borderSuccess:`1px solid ${Ee(n,se(v,{alpha:.25}))}`,colorSuccess:Ee(n,se(v,{alpha:.08})),titleTextColorSuccess:l,iconColorSuccess:v,contentTextColorSuccess:s,closeColorHoverSuccess:d,closeColorPressedSuccess:u,closeIconColorSuccess:h,closeIconColorHoverSuccess:p,closeIconColorPressedSuccess:g,borderWarning:`1px solid ${Ee(n,se(m,{alpha:.33}))}`,colorWarning:Ee(n,se(m,{alpha:.08})),titleTextColorWarning:l,iconColorWarning:m,contentTextColorWarning:s,closeColorHoverWarning:d,closeColorPressedWarning:u,closeIconColorWarning:h,closeIconColorHoverWarning:p,closeIconColorPressedWarning:g,borderError:`1px solid ${Ee(n,se(b,{alpha:.25}))}`,colorError:Ee(n,se(b,{alpha:.08})),titleTextColorError:l,iconColorError:b,contentTextColorError:s,closeColorHoverError:d,closeColorPressedError:u,closeIconColorError:h,closeIconColorHoverError:p,closeIconColorPressedError:g})},L2={name:"Alert",common:xe,self:A2},_2=L2,{cubicBezierEaseInOut:po,cubicBezierEaseOut:D2,cubicBezierEaseIn:H2}=Ut;function j2({overflow:e="hidden",duration:t=".3s",originalTransition:o="",leavingDelay:r="0s",foldPadding:n=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:l=!1}={}){const s=l?"leave":"enter",d=l?"enter":"leave";return[z(`&.fade-in-height-expand-transition-${d}-from, + opacity ${e} ${jo} ${t}, + max-width ${e} ${jo}, + margin-left ${e} ${jo}, + margin-right ${e} ${jo}; + `)]}const of={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},A2={name:"Alert",common:ke,self(e){const{lineHeight:t,borderRadius:o,fontWeightStrong:r,dividerColor:n,inputColor:i,textColor1:a,textColor2:l,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,infoColorSuppl:g,successColorSuppl:f,warningColorSuppl:v,errorColorSuppl:b,fontSize:m}=e;return Object.assign(Object.assign({},of),{fontSize:m,lineHeight:t,titleFontWeight:r,borderRadius:o,border:`1px solid ${n}`,color:i,titleTextColor:a,iconColor:l,contentTextColor:l,closeBorderRadius:o,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderInfo:`1px solid ${se(g,{alpha:.35})}`,colorInfo:se(g,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:g,contentTextColorInfo:l,closeColorHoverInfo:s,closeColorPressedInfo:d,closeIconColorInfo:u,closeIconColorHoverInfo:h,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${se(f,{alpha:.35})}`,colorSuccess:se(f,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:f,contentTextColorSuccess:l,closeColorHoverSuccess:s,closeColorPressedSuccess:d,closeIconColorSuccess:u,closeIconColorHoverSuccess:h,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${se(v,{alpha:.35})}`,colorWarning:se(v,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:s,closeColorPressedWarning:d,closeIconColorWarning:u,closeIconColorHoverWarning:h,closeIconColorPressedWarning:p,borderError:`1px solid ${se(b,{alpha:.35})}`,colorError:se(b,{alpha:.25}),titleTextColorError:a,iconColorError:b,contentTextColorError:l,closeColorHoverError:s,closeColorPressedError:d,closeIconColorError:u,closeIconColorHoverError:h,closeIconColorPressedError:p})}},_2=A2,D2=e=>{const{lineHeight:t,borderRadius:o,fontWeightStrong:r,baseColor:n,dividerColor:i,actionColor:a,textColor1:l,textColor2:s,closeColorHover:d,closeColorPressed:u,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,infoColor:f,successColor:v,warningColor:b,errorColor:m,fontSize:C}=e;return Object.assign(Object.assign({},of),{fontSize:C,lineHeight:t,titleFontWeight:r,borderRadius:o,border:`1px solid ${i}`,color:a,titleTextColor:l,iconColor:s,contentTextColor:s,closeBorderRadius:o,closeColorHover:d,closeColorPressed:u,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,borderInfo:`1px solid ${Ee(n,se(f,{alpha:.25}))}`,colorInfo:Ee(n,se(f,{alpha:.08})),titleTextColorInfo:l,iconColorInfo:f,contentTextColorInfo:s,closeColorHoverInfo:d,closeColorPressedInfo:u,closeIconColorInfo:h,closeIconColorHoverInfo:p,closeIconColorPressedInfo:g,borderSuccess:`1px solid ${Ee(n,se(v,{alpha:.25}))}`,colorSuccess:Ee(n,se(v,{alpha:.08})),titleTextColorSuccess:l,iconColorSuccess:v,contentTextColorSuccess:s,closeColorHoverSuccess:d,closeColorPressedSuccess:u,closeIconColorSuccess:h,closeIconColorHoverSuccess:p,closeIconColorPressedSuccess:g,borderWarning:`1px solid ${Ee(n,se(b,{alpha:.33}))}`,colorWarning:Ee(n,se(b,{alpha:.08})),titleTextColorWarning:l,iconColorWarning:b,contentTextColorWarning:s,closeColorHoverWarning:d,closeColorPressedWarning:u,closeIconColorWarning:h,closeIconColorHoverWarning:p,closeIconColorPressedWarning:g,borderError:`1px solid ${Ee(n,se(m,{alpha:.25}))}`,colorError:Ee(n,se(m,{alpha:.08})),titleTextColorError:l,iconColorError:m,contentTextColorError:s,closeColorHoverError:d,closeColorPressedError:u,closeIconColorError:h,closeIconColorHoverError:p,closeIconColorPressedError:g})},H2={name:"Alert",common:Ce,self:D2},W2=H2,{cubicBezierEaseInOut:po,cubicBezierEaseOut:N2,cubicBezierEaseIn:j2}=Ut;function V2({overflow:e="hidden",duration:t=".3s",originalTransition:o="",leavingDelay:r="0s",foldPadding:n=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:l=!1}={}){const s=l?"leave":"enter",d=l?"enter":"leave";return[z(`&.fade-in-height-expand-transition-${d}-from, &.fade-in-height-expand-transition-${s}-to`,Object.assign(Object.assign({},i),{opacity:1})),z(`&.fade-in-height-expand-transition-${d}-to, &.fade-in-height-expand-transition-${s}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:n?"0 !important":void 0,paddingBottom:n?"0 !important":void 0})),z(`&.fade-in-height-expand-transition-${d}-active`,` overflow: ${e}; transition: max-height ${t} ${po} ${r}, - opacity ${t} ${D2} ${r}, + opacity ${t} ${N2} ${r}, margin-top ${t} ${po} ${r}, margin-bottom ${t} ${po} ${r}, padding-top ${t} ${po} ${r}, @@ -744,13 +744,13 @@ ${t} overflow: ${e}; transition: max-height ${t} ${po}, - opacity ${t} ${H2}, + opacity ${t} ${j2}, margin-top ${t} ${po}, margin-bottom ${t} ${po}, padding-top ${t} ${po}, padding-bottom ${t} ${po} ${o?","+o:""} - `)]}const W2={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},of=e=>{const{borderRadius:t,railColor:o,primaryColor:r,primaryColorHover:n,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},W2),{borderRadius:t,railColor:o,railColorActive:r,linkColor:se(r,{alpha:.15}),linkTextColor:a,linkTextColorHover:n,linkTextColorPressed:i,linkTextColorActive:r})},N2={name:"Anchor",common:xe,self:of},V2=N2,U2={name:"Anchor",common:ke,self:of},K2=U2;function mi(e){return e.type==="group"}function rf(e){return e.type==="ignored"}function ga(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function nf(e,t){return{getIsGroup:mi,getIgnored:rf,getKey(r){return mi(r)?r.name||r.key||"key-required":r[e]},getChildren(r){return r[t]}}}function q2(e,t,o,r){if(!t)return e;function n(i){if(!Array.isArray(i))return[];const a=[];for(const l of i)if(mi(l)){const s=n(l[r]);s.length&&a.push(Object.assign({},l,{[r]:s}))}else{if(rf(l))continue;t(o,l)&&a.push(l)}return a}return n(e)}function G2(e,t,o){const r=new Map;return e.forEach(n=>{mi(n)?n[o].forEach(i=>{r.set(i[t],i)}):r.set(n[t],n)}),r}const X2=Eo&&"chrome"in window;Eo&&navigator.userAgent.includes("Firefox");const af=Eo&&navigator.userAgent.includes("Safari")&&!X2,lf={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},Y2={name:"Input",common:ke,self(e){const{textColor2:t,textColor3:o,textColorDisabled:r,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,borderRadius:p,lineHeight:g,fontSizeTiny:f,fontSizeSmall:v,fontSizeMedium:m,fontSizeLarge:b,heightTiny:C,heightSmall:R,heightMedium:$,heightLarge:S,clearColor:w,clearColorHover:x,clearColorPressed:k,placeholderColor:P,placeholderColorDisabled:I,iconColor:A,iconColorDisabled:O,iconColorHover:L,iconColorPressed:H}=e;return Object.assign(Object.assign({},lf),{countTextColorDisabled:r,countTextColor:o,heightTiny:C,heightSmall:R,heightMedium:$,heightLarge:S,fontSizeTiny:f,fontSizeSmall:v,fontSizeMedium:m,fontSizeLarge:b,lineHeight:g,lineHeightTextarea:g,borderRadius:p,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:r,textDecorationColor:t,groupLabelTextColor:t,caretColor:n,placeholderColor:P,placeholderColorDisabled:I,color:a,colorDisabled:l,colorFocus:se(n,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${se(n,{alpha:.3})}`,loadingColor:n,loadingColorWarning:s,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:se(s,{alpha:.1}),borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 8px 0 ${se(s,{alpha:.3})}`,caretColorWarning:s,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,colorFocusError:se(u,{alpha:.1}),borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.3})}`,caretColorError:u,clearColor:w,clearColorHover:x,clearColorPressed:k,iconColor:A,iconColorDisabled:O,iconColorHover:L,iconColorPressed:H,suffixTextColor:t})}},Jt=Y2,Z2=e=>{const{textColor2:t,textColor3:o,textColorDisabled:r,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:l,borderColor:s,warningColor:d,warningColorHover:u,errorColor:h,errorColorHover:p,borderRadius:g,lineHeight:f,fontSizeTiny:v,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:C,heightTiny:R,heightSmall:$,heightMedium:S,heightLarge:w,actionColor:x,clearColor:k,clearColorHover:P,clearColorPressed:I,placeholderColor:A,placeholderColorDisabled:O,iconColor:L,iconColorDisabled:H,iconColorHover:_,iconColorPressed:U}=e;return Object.assign(Object.assign({},lf),{countTextColorDisabled:r,countTextColor:o,heightTiny:R,heightSmall:$,heightMedium:S,heightLarge:w,fontSizeTiny:v,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:C,lineHeight:f,lineHeightTextarea:f,borderRadius:g,iconSize:"16px",groupLabelColor:x,groupLabelTextColor:t,textColor:t,textColorDisabled:r,textDecorationColor:t,caretColor:n,placeholderColor:A,placeholderColorDisabled:O,color:a,colorDisabled:l,colorFocus:a,groupLabelBorder:`1px solid ${s}`,border:`1px solid ${s}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${s}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${se(n,{alpha:.2})}`,loadingColor:n,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${se(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:h,borderError:`1px solid ${h}`,borderHoverError:`1px solid ${p}`,colorFocusError:a,borderFocusError:`1px solid ${p}`,boxShadowFocusError:`0 0 0 2px ${se(h,{alpha:.2})}`,caretColorError:h,clearColor:k,clearColorHover:P,clearColorPressed:I,iconColor:L,iconColorDisabled:H,iconColorHover:_,iconColorPressed:U,suffixTextColor:t})},J2={name:"Input",common:xe,self:Z2},Ht=J2,sf="n-input";function Q2(e){let t=0;for(const o of e)t++;return t}function Xn(e){return e===""||e==null}function e5(e){const t=E(null);function o(){const{value:i}=e;if(!(i!=null&&i.focus)){n();return}const{selectionStart:a,selectionEnd:l,value:s}=i;if(a==null||l==null){n();return}t.value={start:a,end:l,beforeText:s.slice(0,a),afterText:s.slice(l)}}function r(){var i;const{value:a}=t,{value:l}=e;if(!a||!l)return;const{value:s}=l,{start:d,beforeText:u,afterText:h}=a;let p=s.length;if(s.endsWith(h))p=s.length-h.length;else if(s.startsWith(u))p=u.length;else{const g=u[d-1],f=s.indexOf(g,d-1);f!==-1&&(p=f+1)}(i=l.setSelectionRange)===null||i===void 0||i.call(l,p,p)}function n(){t.value=null}return Je(e,n),{recordCursor:o,restoreCursor:r}}const kd=ne({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:o,maxlengthRef:r,mergedClsPrefixRef:n,countGraphemesRef:i}=Te(sf),a=T(()=>{const{value:l}=o;return l===null||Array.isArray(l)?0:(i.value||Q2)(l)});return()=>{const{value:l}=r,{value:s}=o;return c("span",{class:`${n.value}-input-word-count`},kv(t.default,{value:s===null||Array.isArray(s)?"":s},()=>[l===void 0?a.value:`${a.value} / ${l}`]))}}}),t5=y("input",` + `)]}const U2={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},rf=e=>{const{borderRadius:t,railColor:o,primaryColor:r,primaryColorHover:n,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},U2),{borderRadius:t,railColor:o,railColorActive:r,linkColor:se(r,{alpha:.15}),linkTextColor:a,linkTextColorHover:n,linkTextColorPressed:i,linkTextColorActive:r})},K2={name:"Anchor",common:Ce,self:rf},G2=K2,q2={name:"Anchor",common:ke,self:rf},X2=q2;function bi(e){return e.type==="group"}function nf(e){return e.type==="ignored"}function ga(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function af(e,t){return{getIsGroup:bi,getIgnored:nf,getKey(r){return bi(r)?r.name||r.key||"key-required":r[e]},getChildren(r){return r[t]}}}function Y2(e,t,o,r){if(!t)return e;function n(i){if(!Array.isArray(i))return[];const a=[];for(const l of i)if(bi(l)){const s=n(l[r]);s.length&&a.push(Object.assign({},l,{[r]:s}))}else{if(nf(l))continue;t(o,l)&&a.push(l)}return a}return n(e)}function Z2(e,t,o){const r=new Map;return e.forEach(n=>{bi(n)?n[o].forEach(i=>{r.set(i[t],i)}):r.set(n[t],n)}),r}const J2=So&&"chrome"in window;So&&navigator.userAgent.includes("Firefox");const lf=So&&navigator.userAgent.includes("Safari")&&!J2,sf={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},Q2={name:"Input",common:ke,self(e){const{textColor2:t,textColor3:o,textColorDisabled:r,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:l,warningColor:s,warningColorHover:d,errorColor:u,errorColorHover:h,borderRadius:p,lineHeight:g,fontSizeTiny:f,fontSizeSmall:v,fontSizeMedium:b,fontSizeLarge:m,heightTiny:C,heightSmall:R,heightMedium:$,heightLarge:S,clearColor:w,clearColorHover:x,clearColorPressed:k,placeholderColor:P,placeholderColorDisabled:M,iconColor:L,iconColorDisabled:I,iconColorHover:A,iconColorPressed:H}=e;return Object.assign(Object.assign({},sf),{countTextColorDisabled:r,countTextColor:o,heightTiny:C,heightSmall:R,heightMedium:$,heightLarge:S,fontSizeTiny:f,fontSizeSmall:v,fontSizeMedium:b,fontSizeLarge:m,lineHeight:g,lineHeightTextarea:g,borderRadius:p,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:r,textDecorationColor:t,groupLabelTextColor:t,caretColor:n,placeholderColor:P,placeholderColorDisabled:M,color:a,colorDisabled:l,colorFocus:se(n,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${se(n,{alpha:.3})}`,loadingColor:n,loadingColorWarning:s,borderWarning:`1px solid ${s}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:se(s,{alpha:.1}),borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 8px 0 ${se(s,{alpha:.3})}`,caretColorWarning:s,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,colorFocusError:se(u,{alpha:.1}),borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 8px 0 ${se(u,{alpha:.3})}`,caretColorError:u,clearColor:w,clearColorHover:x,clearColorPressed:k,iconColor:L,iconColorDisabled:I,iconColorHover:A,iconColorPressed:H,suffixTextColor:t})}},Jt=Q2,e5=e=>{const{textColor2:t,textColor3:o,textColorDisabled:r,primaryColor:n,primaryColorHover:i,inputColor:a,inputColorDisabled:l,borderColor:s,warningColor:d,warningColorHover:u,errorColor:h,errorColorHover:p,borderRadius:g,lineHeight:f,fontSizeTiny:v,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:C,heightTiny:R,heightSmall:$,heightMedium:S,heightLarge:w,actionColor:x,clearColor:k,clearColorHover:P,clearColorPressed:M,placeholderColor:L,placeholderColorDisabled:I,iconColor:A,iconColorDisabled:H,iconColorHover:_,iconColorPressed:U}=e;return Object.assign(Object.assign({},sf),{countTextColorDisabled:r,countTextColor:o,heightTiny:R,heightSmall:$,heightMedium:S,heightLarge:w,fontSizeTiny:v,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:C,lineHeight:f,lineHeightTextarea:f,borderRadius:g,iconSize:"16px",groupLabelColor:x,groupLabelTextColor:t,textColor:t,textColorDisabled:r,textDecorationColor:t,caretColor:n,placeholderColor:L,placeholderColorDisabled:I,color:a,colorDisabled:l,colorFocus:a,groupLabelBorder:`1px solid ${s}`,border:`1px solid ${s}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${s}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${se(n,{alpha:.2})}`,loadingColor:n,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${se(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:h,borderError:`1px solid ${h}`,borderHoverError:`1px solid ${p}`,colorFocusError:a,borderFocusError:`1px solid ${p}`,boxShadowFocusError:`0 0 0 2px ${se(h,{alpha:.2})}`,caretColorError:h,clearColor:k,clearColorHover:P,clearColorPressed:M,iconColor:A,iconColorDisabled:H,iconColorHover:_,iconColorPressed:U,suffixTextColor:t})},t5={name:"Input",common:Ce,self:e5},Ht=t5,df="n-input";function o5(e){let t=0;for(const o of e)t++;return t}function Xn(e){return e===""||e==null}function r5(e){const t=E(null);function o(){const{value:i}=e;if(!(i!=null&&i.focus)){n();return}const{selectionStart:a,selectionEnd:l,value:s}=i;if(a==null||l==null){n();return}t.value={start:a,end:l,beforeText:s.slice(0,a),afterText:s.slice(l)}}function r(){var i;const{value:a}=t,{value:l}=e;if(!a||!l)return;const{value:s}=l,{start:d,beforeText:u,afterText:h}=a;let p=s.length;if(s.endsWith(h))p=s.length-h.length;else if(s.startsWith(u))p=u.length;else{const g=u[d-1],f=s.indexOf(g,d-1);f!==-1&&(p=f+1)}(i=l.setSelectionRange)===null||i===void 0||i.call(l,p,p)}function n(){t.value=null}return Je(e,n),{recordCursor:o,restoreCursor:r}}const Rd=re({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:o,maxlengthRef:r,mergedClsPrefixRef:n,countGraphemesRef:i}=Te(df),a=T(()=>{const{value:l}=o;return l===null||Array.isArray(l)?0:(i.value||o5)(l)});return()=>{const{value:l}=r,{value:s}=o;return c("span",{class:`${n.value}-input-word-count`},Pv(t.default,{value:s===null||Array.isArray(s)?"":s},()=>[l===void 0?a.value:`${a.value} / ${l}`]))}}}),n5=y("input",` max-width: 100%; cursor: text; line-height: 1.5; @@ -764,11 +764,11 @@ ${t} transition: background-color .3s var(--n-bezier); font-size: var(--n-font-size); --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2); -`,[M("input, textarea",` +`,[O("input, textarea",` overflow: hidden; flex-grow: 1; position: relative; - `),M("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",` + `),O("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",` box-sizing: border-box; font-size: inherit; line-height: 1.5; @@ -782,7 +782,7 @@ ${t} caret-color .3s var(--n-bezier), color .3s var(--n-bezier), text-decoration-color .3s var(--n-bezier); - `),M("input-el, textarea-el",` + `),O("input-el, textarea-el",` -webkit-appearance: none; scrollbar-width: none; width: 100%; @@ -798,7 +798,7 @@ ${t} `),z("&::placeholder",` color: #0000; -webkit-text-fill-color: transparent !important; - `),z("&:-webkit-autofill ~",[M("placeholder","display: none;")])]),B("round",[nt("textarea","border-radius: calc(var(--n-height) / 2);")]),M("placeholder",` + `),z("&:-webkit-autofill ~",[O("placeholder","display: none;")])]),B("round",[rt("textarea","border-radius: calc(var(--n-height) / 2);")]),O("placeholder",` pointer-events: none; position: absolute; left: 0; @@ -810,7 +810,7 @@ ${t} `,[z("span",` width: 100%; display: inline-block; - `)]),B("textarea",[M("placeholder","overflow: visible;")]),nt("autosize","width: 100%;"),B("autosize",[M("textarea-el, input-el",` + `)]),B("textarea",[O("placeholder","overflow: visible;")]),rt("autosize","width: 100%;"),B("autosize",[O("textarea-el, input-el",` position: absolute; top: 0; left: 0; @@ -822,7 +822,7 @@ ${t} position: relative; padding-left: var(--n-padding-left); padding-right: var(--n-padding-right); - `),M("input-mirror",` + `),O("input-mirror",` padding: 0; height: var(--n-height); line-height: var(--n-height); @@ -831,14 +831,14 @@ ${t} position: static; white-space: pre; pointer-events: none; - `),M("input-el",` + `),O("input-el",` padding: 0; height: var(--n-height); line-height: var(--n-height); - `,[z("&[type=password]::-ms-reveal","display: none;"),z("+",[M("placeholder",` + `,[z("&[type=password]::-ms-reveal","display: none;"),z("+",[O("placeholder",` display: flex; align-items: center; - `)])]),nt("textarea",[M("placeholder","white-space: nowrap;")]),M("eye",` + `)])]),rt("textarea",[O("placeholder","white-space: nowrap;")]),O("eye",` display: flex; align-items: center; justify-content: center; @@ -850,7 +850,7 @@ ${t} `),B("resizable",[y("input-wrapper",` resize: vertical; min-height: var(--n-height); - `)]),M("textarea-el, textarea-mirror, placeholder",` + `)]),O("textarea-el, textarea-mirror, placeholder",` height: 100%; padding-left: 0; padding-right: 0; @@ -865,7 +865,7 @@ ${t} resize: none; white-space: pre-wrap; scroll-padding-block-end: var(--n-padding-vertical); - `),M("textarea-mirror",` + `),O("textarea-mirror",` width: 100%; pointer-events: none; overflow: hidden; @@ -873,7 +873,7 @@ ${t} position: static; white-space: pre-wrap; overflow-wrap: break-word; - `)]),B("pair",[M("input-el, placeholder","text-align: center;"),M("separator",` + `)]),B("pair",[O("input-el, placeholder","text-align: center;"),O("separator",` display: flex; align-items: center; transition: color .3s var(--n-bezier); @@ -886,31 +886,31 @@ ${t} `)])]),B("disabled",` cursor: not-allowed; background-color: var(--n-color-disabled); - `,[M("border","border: var(--n-border-disabled);"),M("input-el, textarea-el",` + `,[O("border","border: var(--n-border-disabled);"),O("input-el, textarea-el",` cursor: not-allowed; color: var(--n-text-color-disabled); text-decoration-color: var(--n-text-color-disabled); - `),M("placeholder","color: var(--n-placeholder-color-disabled);"),M("separator","color: var(--n-text-color-disabled);",[y("icon",` + `),O("placeholder","color: var(--n-placeholder-color-disabled);"),O("separator","color: var(--n-text-color-disabled);",[y("icon",` color: var(--n-icon-color-disabled); `),y("base-icon",` color: var(--n-icon-color-disabled); `)]),y("input-word-count",` color: var(--n-count-text-color-disabled); - `),M("suffix, prefix","color: var(--n-text-color-disabled);",[y("icon",` + `),O("suffix, prefix","color: var(--n-text-color-disabled);",[y("icon",` color: var(--n-icon-color-disabled); `),y("internal-icon",` color: var(--n-icon-color-disabled); - `)])]),nt("disabled",[M("eye",` + `)])]),rt("disabled",[O("eye",` color: var(--n-icon-color); cursor: pointer; `,[z("&:hover",` color: var(--n-icon-color-hover); `),z("&:active",` color: var(--n-icon-color-pressed); - `)]),z("&:hover",[M("state-border","border: var(--n-border-hover);")]),B("focus","background-color: var(--n-color-focus);",[M("state-border",` + `)]),z("&:hover",[O("state-border","border: var(--n-border-hover);")]),B("focus","background-color: var(--n-color-focus);",[O("state-border",` border: var(--n-border-focus); box-shadow: var(--n-box-shadow-focus); - `)])]),M("border, state-border",` + `)])]),O("border, state-border",` box-sizing: border-box; position: absolute; left: 0; @@ -923,12 +923,12 @@ ${t} transition: box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `),M("state-border",` + `),O("state-border",` border-color: #0000; z-index: 1; - `),M("prefix","margin-right: 4px;"),M("suffix",` + `),O("prefix","margin-right: 4px;"),O("suffix",` margin-left: 4px; - `),M("suffix, prefix",` + `),O("suffix, prefix",` transition: color .3s var(--n-bezier); flex-wrap: nowrap; flex-shrink: 0; @@ -944,7 +944,7 @@ ${t} color: var(--n-loading-color); `),y("base-clear",` font-size: var(--n-icon-size); - `,[M("placeholder",[y("base-icon",` + `,[O("placeholder",[y("base-icon",` transition: color .3s var(--n-bezier); color: var(--n-icon-color); font-size: var(--n-icon-size); @@ -962,28 +962,28 @@ ${t} transition: color .3s var(--n-bezier); margin-left: 4px; font-variant: tabular-nums; - `),["warning","error"].map(e=>B(`${e}-status`,[nt("disabled",[y("base-loading",` + `),["warning","error"].map(e=>B(`${e}-status`,[rt("disabled",[y("base-loading",` color: var(--n-loading-color-${e}) - `),M("input-el, textarea-el",` + `),O("input-el, textarea-el",` caret-color: var(--n-caret-color-${e}); - `),M("state-border",` + `),O("state-border",` border: var(--n-border-${e}); - `),z("&:hover",[M("state-border",` + `),z("&:hover",[O("state-border",` border: var(--n-border-hover-${e}); `)]),z("&:focus",` background-color: var(--n-color-focus-${e}); - `,[M("state-border",` + `,[O("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); `)]),B("focus",` background-color: var(--n-color-focus-${e}); - `,[M("state-border",` + `,[O("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); - `)])])]))]),o5=y("input",[B("disabled",[M("input-el, textarea-el",` + `)])])]))]),i5=y("input",[B("disabled",[O("input-el, textarea-el",` -webkit-text-fill-color: var(--n-text-color-disabled); - `)])]),r5=Object.assign(Object.assign({},we.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),Ga=ne({name:"Input",props:r5,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=we("Input","-input",t5,Ht,e,t);af&&Do("-input-safari",o5,t);const a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=e5(p),f=E(null),{localeRef:v}=wo("Input"),m=E(e.defaultValue),b=he(e,"value"),C=$t(b,m),R=So(e),{mergedSizeRef:$,mergedDisabledRef:S,mergedStatusRef:w}=R,x=E(!1),k=E(!1),P=E(!1),I=E(!1);let A=null;const O=T(()=>{const{placeholder:W,pair:ce}=e;return ce?Array.isArray(W)?W:W===void 0?["",""]:[W,W]:W===void 0?[v.value.placeholder]:[W]}),L=T(()=>{const{value:W}=P,{value:ce}=C,{value:We}=O;return!W&&(Xn(ce)||Array.isArray(ce)&&Xn(ce[0]))&&We[0]}),H=T(()=>{const{value:W}=P,{value:ce}=C,{value:We}=O;return!W&&We[1]&&(Xn(ce)||Array.isArray(ce)&&Xn(ce[1]))}),_=Ye(()=>e.internalForceFocus||x.value),U=Ye(()=>{if(S.value||e.readonly||!e.clearable||!_.value&&!k.value)return!1;const{value:W}=C,{value:ce}=_;return e.pair?!!(Array.isArray(W)&&(W[0]||W[1]))&&(k.value||ce):!!W&&(k.value||ce)}),N=T(()=>{const{showPasswordOn:W}=e;if(W)return W;if(e.showPasswordToggle)return"click"}),te=E(!1),fe=T(()=>{const{textDecoration:W}=e;return W?Array.isArray(W)?W.map(ce=>({textDecoration:ce})):[{textDecoration:W}]:["",""]}),ae=E(void 0),Y=()=>{var W,ce;if(e.type==="textarea"){const{autosize:We}=e;if(We&&(ae.value=(ce=(W=f.value)===null||W===void 0?void 0:W.$el)===null||ce===void 0?void 0:ce.offsetWidth),!l.value||typeof We=="boolean")return;const{paddingTop:st,paddingBottom:ct,lineHeight:lt}=window.getComputedStyle(l.value),Qt=Number(st.slice(0,-2)),eo=Number(ct.slice(0,-2)),to=Number(lt.slice(0,-2)),{value:zo}=s;if(!zo)return;if(We.minRows){const To=Math.max(We.minRows,1),Jo=`${Qt+eo+to*To}px`;zo.style.minHeight=Jo}if(We.maxRows){const To=`${Qt+eo+to*We.maxRows}px`;zo.style.maxHeight=To}}},j=T(()=>{const{maxlength:W}=e;return W===void 0?void 0:Number(W)});gt(()=>{const{value:W}=C;Array.isArray(W)||Ge(W)});const X=Nr().proxy;function re(W,ce){const{onUpdateValue:We,"onUpdate:value":st,onInput:ct}=e,{nTriggerFormInput:lt}=R;We&&ie(We,W,ce),st&&ie(st,W,ce),ct&&ie(ct,W,ce),m.value=W,lt()}function le(W,ce){const{onChange:We}=e,{nTriggerFormChange:st}=R;We&&ie(We,W,ce),m.value=W,st()}function ge(W){const{onBlur:ce}=e,{nTriggerFormBlur:We}=R;ce&&ie(ce,W),We()}function me(W){const{onFocus:ce}=e,{nTriggerFormFocus:We}=R;ce&&ie(ce,W),We()}function Ae(W){const{onClear:ce}=e;ce&&ie(ce,W)}function q(W){const{onInputBlur:ce}=e;ce&&ie(ce,W)}function ve(W){const{onInputFocus:ce}=e;ce&&ie(ce,W)}function $e(){const{onDeactivate:W}=e;W&&ie(W)}function Oe(){const{onActivate:W}=e;W&&ie(W)}function Z(W){const{onClick:ce}=e;ce&&ie(ce,W)}function ue(W){const{onWrapperFocus:ce}=e;ce&&ie(ce,W)}function be(W){const{onWrapperBlur:ce}=e;ce&&ie(ce,W)}function De(){P.value=!0}function ee(W){P.value=!1,W.target===h.value?Ce(W,1):Ce(W,0)}function Ce(W,ce=0,We="input"){const st=W.target.value;if(Ge(st),W instanceof InputEvent&&!W.isComposing&&(P.value=!1),e.type==="textarea"){const{value:lt}=f;lt&<.syncUnifiedContainer()}if(A=st,P.value)return;g.recordCursor();const ct=Pe(st);if(ct)if(!e.pair)We==="input"?re(st,{source:ce}):le(st,{source:ce});else{let{value:lt}=C;Array.isArray(lt)?lt=[lt[0],lt[1]]:lt=["",""],lt[ce]=st,We==="input"?re(lt,{source:ce}):le(lt,{source:ce})}X.$forceUpdate(),ct||ut(g.restoreCursor)}function Pe(W){const{countGraphemes:ce,maxlength:We,minlength:st}=e;if(ce){let lt;if(We!==void 0&&(lt===void 0&&(lt=ce(W)),lt>Number(We))||st!==void 0&&(lt===void 0&&(lt=ce(W)),lt{st.preventDefault(),Xe("mouseup",document,ce)};if(tt("mouseup",document,ce),N.value!=="mousedown")return;te.value=!0;const We=()=>{te.value=!1,Xe("mouseup",document,We)};tt("mouseup",document,We)}function Ve(W){e.onKeyup&&ie(e.onKeyup,W)}function at(W){switch(e.onKeydown&&ie(e.onKeydown,W),W.key){case"Escape":G();break;case"Enter":F(W);break}}function F(W){var ce,We;if(e.passivelyActivated){const{value:st}=I;if(st){e.internalDeactivateOnEnter&&G();return}W.preventDefault(),e.type==="textarea"?(ce=l.value)===null||ce===void 0||ce.focus():(We=u.value)===null||We===void 0||We.focus()}}function G(){e.passivelyActivated&&(I.value=!1,ut(()=>{var W;(W=a.value)===null||W===void 0||W.focus()}))}function de(){var W,ce,We;S.value||(e.passivelyActivated?(W=a.value)===null||W===void 0||W.focus():((ce=l.value)===null||ce===void 0||ce.focus(),(We=u.value)===null||We===void 0||We.focus()))}function Re(){var W;!((W=a.value)===null||W===void 0)&&W.contains(document.activeElement)&&document.activeElement.blur()}function Ie(){var W,ce;(W=l.value)===null||W===void 0||W.select(),(ce=u.value)===null||ce===void 0||ce.select()}function Fe(){S.value||(l.value?l.value.focus():u.value&&u.value.focus())}function _e(){const{value:W}=a;W!=null&&W.contains(document.activeElement)&&W!==document.activeElement&&G()}function je(W){if(e.type==="textarea"){const{value:ce}=l;ce==null||ce.scrollTo(W)}else{const{value:ce}=u;ce==null||ce.scrollTo(W)}}function Ge(W){const{type:ce,pair:We,autosize:st}=e;if(!We&&st)if(ce==="textarea"){const{value:ct}=s;ct&&(ct.textContent=(W??"")+`\r -`)}else{const{value:ct}=d;ct&&(W?ct.textContent=W:ct.innerHTML=" ")}}function xt(){Y()}const ft=E({top:"0"});function Ct(W){var ce;const{scrollTop:We}=W.target;ft.value.top=`${-We}px`,(ce=f.value)===null||ce===void 0||ce.syncUnifiedContainer()}let Kt=null;vt(()=>{const{autosize:W,type:ce}=e;W&&ce==="textarea"?Kt=Je(C,We=>{!Array.isArray(We)&&We!==A&&Ge(We)}):Kt==null||Kt()});let qt=null;vt(()=>{e.type==="textarea"?qt=Je(C,W=>{var ce;!Array.isArray(W)&&W!==A&&((ce=f.value)===null||ce===void 0||ce.syncUnifiedContainer())}):qt==null||qt()}),Ue(sf,{mergedValueRef:C,maxlengthRef:j,mergedClsPrefixRef:t,countGraphemesRef:he(e,"countGraphemes")});const Ro={wrapperElRef:a,inputElRef:u,textareaElRef:l,isCompositing:P,clear:qe,focus:de,blur:Re,select:Ie,deactivate:_e,activate:Fe,scrollTo:je},Po=Rt("Input",n,t),uo=T(()=>{const{value:W}=$,{common:{cubicBezierEaseInOut:ce},self:{color:We,borderRadius:st,textColor:ct,caretColor:lt,caretColorError:Qt,caretColorWarning:eo,textDecorationColor:to,border:zo,borderDisabled:To,borderHover:Jo,borderFocus:Jr,placeholderColor:Qr,placeholderColorDisabled:en,lineHeightTextarea:tn,colorDisabled:Ho,colorFocus:jo,textColorDisabled:Ui,boxShadowFocus:Ki,iconSize:qi,colorFocusWarning:Gi,boxShadowFocusWarning:Xi,borderWarning:Yi,borderFocusWarning:Lp,borderHoverWarning:_p,colorFocusError:Dp,boxShadowFocusError:Hp,borderError:jp,borderFocusError:Wp,borderHoverError:Np,clearSize:Vp,clearColor:Up,clearColorHover:Kp,clearColorPressed:qp,iconColor:Gp,iconColorDisabled:Xp,suffixTextColor:Yp,countTextColor:Zp,countTextColorDisabled:Jp,iconColorHover:Qp,iconColorPressed:ev,loadingColor:tv,loadingColorError:ov,loadingColorWarning:rv,[oe("padding",W)]:nv,[oe("fontSize",W)]:iv,[oe("height",W)]:av}}=i.value,{left:lv,right:sv}=_t(nv);return{"--n-bezier":ce,"--n-count-text-color":Zp,"--n-count-text-color-disabled":Jp,"--n-color":We,"--n-font-size":iv,"--n-border-radius":st,"--n-height":av,"--n-padding-left":lv,"--n-padding-right":sv,"--n-text-color":ct,"--n-caret-color":lt,"--n-text-decoration-color":to,"--n-border":zo,"--n-border-disabled":To,"--n-border-hover":Jo,"--n-border-focus":Jr,"--n-placeholder-color":Qr,"--n-placeholder-color-disabled":en,"--n-icon-size":qi,"--n-line-height-textarea":tn,"--n-color-disabled":Ho,"--n-color-focus":jo,"--n-text-color-disabled":Ui,"--n-box-shadow-focus":Ki,"--n-loading-color":tv,"--n-caret-color-warning":eo,"--n-color-focus-warning":Gi,"--n-box-shadow-focus-warning":Xi,"--n-border-warning":Yi,"--n-border-focus-warning":Lp,"--n-border-hover-warning":_p,"--n-loading-color-warning":rv,"--n-caret-color-error":Qt,"--n-color-focus-error":Dp,"--n-box-shadow-focus-error":Hp,"--n-border-error":jp,"--n-border-focus-error":Wp,"--n-border-hover-error":Np,"--n-loading-color-error":ov,"--n-clear-color":Up,"--n-clear-size":Vp,"--n-clear-color-hover":Kp,"--n-clear-color-pressed":qp,"--n-icon-color":Gp,"--n-icon-color-hover":Qp,"--n-icon-color-pressed":ev,"--n-icon-color-disabled":Xp,"--n-suffix-text-color":Yp}}),fo=r?Qe("input",T(()=>{const{value:W}=$;return W[0]}),uo,e):void 0;return Object.assign(Object.assign({},Ro),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:d,inputEl2Ref:h,textareaElRef:l,textareaMirrorElRef:s,textareaScrollbarInstRef:f,rtlEnabled:Po,uncontrolledValue:m,mergedValue:C,passwordVisible:te,mergedPlaceholder:O,showPlaceholder1:L,showPlaceholder2:H,mergedFocus:_,isComposing:P,activated:I,showClearButton:U,mergedSize:$,mergedDisabled:S,textDecorationStyle:fe,mergedClsPrefix:t,mergedBordered:o,mergedShowPasswordOn:N,placeholderStyle:ft,mergedStatus:w,textAreaScrollContainerWidth:ae,handleTextAreaScroll:Ct,handleCompositionStart:De,handleCompositionEnd:ee,handleInput:Ce,handleInputBlur:K,handleInputFocus:Q,handleWrapperBlur:pe,handleWrapperFocus:V,handleMouseEnter:ye,handleMouseLeave:ze,handleMouseDown:it,handleChange:J,handleClick:Se,handleClear:Le,handlePasswordToggleClick:Ke,handlePasswordToggleMousedown:Be,handleWrapperKeydown:at,handleWrapperKeyup:Ve,handleTextAreaMirrorResize:xt,getTextareaScrollContainer:()=>l.value,mergedTheme:i,cssVars:r?void 0:uo,themeClass:fo==null?void 0:fo.themeClass,onRender:fo==null?void 0:fo.onRender})},render(){var e,t;const{mergedClsPrefix:o,mergedStatus:r,themeClass:n,type:i,countGraphemes:a,onRender:l}=this,s=this.$slots;return l==null||l(),c("div",{ref:"wrapperElRef",class:[`${o}-input`,n,r&&`${o}-input--${r}-status`,{[`${o}-input--rtl`]:this.rtlEnabled,[`${o}-input--disabled`]:this.mergedDisabled,[`${o}-input--textarea`]:i==="textarea",[`${o}-input--resizable`]:this.resizable&&!this.autosize,[`${o}-input--autosize`]:this.autosize,[`${o}-input--round`]:this.round&&i!=="textarea",[`${o}-input--pair`]:this.pair,[`${o}-input--focus`]:this.mergedFocus,[`${o}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},c("div",{class:`${o}-input-wrapper`},Ze(s.prefix,d=>d&&c("div",{class:`${o}-input__prefix`},d)),i==="textarea"?c(so,{ref:"textareaScrollbarInstRef",class:`${o}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var d,u;const{textAreaScrollContainerWidth:h}=this,p={width:this.autosize&&h&&`${h}px`};return c(yt,null,c("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${o}-input__textarea-el`,(d=this.inputProps)===null||d===void 0?void 0:d.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,p],onBlur:this.handleInputBlur,onFocus:g=>{this.handleInputFocus(g,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?c("div",{class:`${o}-input__placeholder`,style:[this.placeholderStyle,p],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?c(io,{onResize:this.handleTextAreaMirrorResize},{default:()=>c("div",{ref:"textareaMirrorElRef",class:`${o}-input__textarea-mirror`,key:"mirror"})}):null)}}):c("div",{class:`${o}-input__input`},c("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${o}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:d=>{this.handleInputFocus(d,0)},onInput:d=>{this.handleInput(d,0)},onChange:d=>{this.handleChange(d,0)}})),this.showPlaceholder1?c("div",{class:`${o}-input__placeholder`},c("span",null,this.mergedPlaceholder[0])):null,this.autosize?c("div",{class:`${o}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Ze(s.suffix,d=>d||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?c("div",{class:`${o}-input__suffix`},[Ze(s["clear-icon-placeholder"],u=>(this.clearable||u)&&c(qa,{clsPrefix:o,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var h,p;return(p=(h=this.$slots)["clear-icon"])===null||p===void 0?void 0:p.call(h)}})),this.internalLoadingBeforeSuffix?null:d,this.loading!==void 0?c(Qu,{clsPrefix:o,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?d:null,this.showCount&&this.type!=="textarea"?c(kd,null,{default:u=>{var h;return(h=s.count)===null||h===void 0?void 0:h.call(s,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?c("div",{class:`${o}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?Bt(s["password-visible-icon"],()=>[c(ot,{clsPrefix:o},{default:()=>c(oS,null)})]):Bt(s["password-invisible-icon"],()=>[c(ot,{clsPrefix:o},{default:()=>c(rS,null)})])):null]):null)),this.pair?c("span",{class:`${o}-input__separator`},Bt(s.separator,()=>[this.separator])):null,this.pair?c("div",{class:`${o}-input-wrapper`},c("div",{class:`${o}-input__input`},c("input",{ref:"inputEl2Ref",type:this.type,class:`${o}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:d=>{this.handleInputFocus(d,1)},onInput:d=>{this.handleInput(d,1)},onChange:d=>{this.handleChange(d,1)}}),this.showPlaceholder2?c("div",{class:`${o}-input__placeholder`},c("span",null,this.mergedPlaceholder[1])):null),Ze(s.suffix,d=>(this.clearable||d)&&c("div",{class:`${o}-input__suffix`},[this.clearable&&c(qa,{clsPrefix:o,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=s["clear-icon"])===null||u===void 0?void 0:u.call(s)},placeholder:()=>{var u;return(u=s["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(s)}}),d]))):null,this.mergedBordered?c("div",{class:`${o}-input__border`}):null,this.mergedBordered?c("div",{class:`${o}-input__state-border`}):null,this.showCount&&i==="textarea"?c(kd,null,{default:d=>{var u;const{renderCount:h}=this;return h?h(d):(u=s.count)===null||u===void 0?void 0:u.call(s,d)}}):null)}}),n5=y("input-group",` + `)])]),a5=Object.assign(Object.assign({},be.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),qa=re({name:"Input",props:a5,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=be("Input","-input",n5,Ht,e,t);lf&&Do("-input-safari",i5,t);const a=E(null),l=E(null),s=E(null),d=E(null),u=E(null),h=E(null),p=E(null),g=r5(p),f=E(null),{localeRef:v}=wo("Input"),b=E(e.defaultValue),m=he(e,"value"),C=$t(m,b),R=ko(e),{mergedSizeRef:$,mergedDisabledRef:S,mergedStatusRef:w}=R,x=E(!1),k=E(!1),P=E(!1),M=E(!1);let L=null;const I=T(()=>{const{placeholder:j,pair:ce}=e;return ce?Array.isArray(j)?j:j===void 0?["",""]:[j,j]:j===void 0?[v.value.placeholder]:[j]}),A=T(()=>{const{value:j}=P,{value:ce}=C,{value:Ne}=I;return!j&&(Xn(ce)||Array.isArray(ce)&&Xn(ce[0]))&&Ne[0]}),H=T(()=>{const{value:j}=P,{value:ce}=C,{value:Ne}=I;return!j&&Ne[1]&&(Xn(ce)||Array.isArray(ce)&&Xn(ce[1]))}),_=Ye(()=>e.internalForceFocus||x.value),U=Ye(()=>{if(S.value||e.readonly||!e.clearable||!_.value&&!k.value)return!1;const{value:j}=C,{value:ce}=_;return e.pair?!!(Array.isArray(j)&&(j[0]||j[1]))&&(k.value||ce):!!j&&(k.value||ce)}),N=T(()=>{const{showPasswordOn:j}=e;if(j)return j;if(e.showPasswordToggle)return"click"}),ee=E(!1),ue=T(()=>{const{textDecoration:j}=e;return j?Array.isArray(j)?j.map(ce=>({textDecoration:ce})):[{textDecoration:j}]:["",""]}),ae=E(void 0),Y=()=>{var j,ce;if(e.type==="textarea"){const{autosize:Ne}=e;if(Ne&&(ae.value=(ce=(j=f.value)===null||j===void 0?void 0:j.$el)===null||ce===void 0?void 0:ce.offsetWidth),!l.value||typeof Ne=="boolean")return;const{paddingTop:st,paddingBottom:ct,lineHeight:lt}=window.getComputedStyle(l.value),Qt=Number(st.slice(0,-2)),eo=Number(ct.slice(0,-2)),to=Number(lt.slice(0,-2)),{value:To}=s;if(!To)return;if(Ne.minRows){const Bo=Math.max(Ne.minRows,1),Jo=`${Qt+eo+to*Bo}px`;To.style.minHeight=Jo}if(Ne.maxRows){const Bo=`${Qt+eo+to*Ne.maxRows}px`;To.style.maxHeight=Bo}}},W=T(()=>{const{maxlength:j}=e;return j===void 0?void 0:Number(j)});gt(()=>{const{value:j}=C;Array.isArray(j)||qe(j)});const X=jr().proxy;function ne(j,ce){const{onUpdateValue:Ne,"onUpdate:value":st,onInput:ct}=e,{nTriggerFormInput:lt}=R;Ne&&ie(Ne,j,ce),st&&ie(st,j,ce),ct&&ie(ct,j,ce),b.value=j,lt()}function le(j,ce){const{onChange:Ne}=e,{nTriggerFormChange:st}=R;Ne&&ie(Ne,j,ce),b.value=j,st()}function ge(j){const{onBlur:ce}=e,{nTriggerFormBlur:Ne}=R;ce&&ie(ce,j),Ne()}function xe(j){const{onFocus:ce}=e,{nTriggerFormFocus:Ne}=R;ce&&ie(ce,j),Ne()}function Le(j){const{onClear:ce}=e;ce&&ie(ce,j)}function G(j){const{onInputBlur:ce}=e;ce&&ie(ce,j)}function ve(j){const{onInputFocus:ce}=e;ce&&ie(ce,j)}function $e(){const{onDeactivate:j}=e;j&&ie(j)}function Me(){const{onActivate:j}=e;j&&ie(j)}function Z(j){const{onClick:ce}=e;ce&&ie(ce,j)}function fe(j){const{onWrapperFocus:ce}=e;ce&&ie(ce,j)}function me(j){const{onWrapperBlur:ce}=e;ce&&ie(ce,j)}function De(){P.value=!0}function te(j){P.value=!1,j.target===h.value?ye(j,1):ye(j,0)}function ye(j,ce=0,Ne="input"){const st=j.target.value;if(qe(st),j instanceof InputEvent&&!j.isComposing&&(P.value=!1),e.type==="textarea"){const{value:lt}=f;lt&<.syncUnifiedContainer()}if(L=st,P.value)return;g.recordCursor();const ct=Pe(st);if(ct)if(!e.pair)Ne==="input"?ne(st,{source:ce}):le(st,{source:ce});else{let{value:lt}=C;Array.isArray(lt)?lt=[lt[0],lt[1]]:lt=["",""],lt[ce]=st,Ne==="input"?ne(lt,{source:ce}):le(lt,{source:ce})}X.$forceUpdate(),ct||ut(g.restoreCursor)}function Pe(j){const{countGraphemes:ce,maxlength:Ne,minlength:st}=e;if(ce){let lt;if(Ne!==void 0&&(lt===void 0&&(lt=ce(j)),lt>Number(Ne))||st!==void 0&&(lt===void 0&&(lt=ce(j)),lt{st.preventDefault(),Xe("mouseup",document,ce)};if(tt("mouseup",document,ce),N.value!=="mousedown")return;ee.value=!0;const Ne=()=>{ee.value=!1,Xe("mouseup",document,Ne)};tt("mouseup",document,Ne)}function Ve(j){e.onKeyup&&ie(e.onKeyup,j)}function at(j){switch(e.onKeydown&&ie(e.onKeydown,j),j.key){case"Escape":q();break;case"Enter":F(j);break}}function F(j){var ce,Ne;if(e.passivelyActivated){const{value:st}=M;if(st){e.internalDeactivateOnEnter&&q();return}j.preventDefault(),e.type==="textarea"?(ce=l.value)===null||ce===void 0||ce.focus():(Ne=u.value)===null||Ne===void 0||Ne.focus()}}function q(){e.passivelyActivated&&(M.value=!1,ut(()=>{var j;(j=a.value)===null||j===void 0||j.focus()}))}function de(){var j,ce,Ne;S.value||(e.passivelyActivated?(j=a.value)===null||j===void 0||j.focus():((ce=l.value)===null||ce===void 0||ce.focus(),(Ne=u.value)===null||Ne===void 0||Ne.focus()))}function Re(){var j;!((j=a.value)===null||j===void 0)&&j.contains(document.activeElement)&&document.activeElement.blur()}function Ie(){var j,ce;(j=l.value)===null||j===void 0||j.select(),(ce=u.value)===null||ce===void 0||ce.select()}function Fe(){S.value||(l.value?l.value.focus():u.value&&u.value.focus())}function _e(){const{value:j}=a;j!=null&&j.contains(document.activeElement)&&j!==document.activeElement&&q()}function We(j){if(e.type==="textarea"){const{value:ce}=l;ce==null||ce.scrollTo(j)}else{const{value:ce}=u;ce==null||ce.scrollTo(j)}}function qe(j){const{type:ce,pair:Ne,autosize:st}=e;if(!Ne&&st)if(ce==="textarea"){const{value:ct}=s;ct&&(ct.textContent=(j??"")+`\r +`)}else{const{value:ct}=d;ct&&(j?ct.textContent=j:ct.innerHTML=" ")}}function xt(){Y()}const ft=E({top:"0"});function Ct(j){var ce;const{scrollTop:Ne}=j.target;ft.value.top=`${-Ne}px`,(ce=f.value)===null||ce===void 0||ce.syncUnifiedContainer()}let Kt=null;pt(()=>{const{autosize:j,type:ce}=e;j&&ce==="textarea"?Kt=Je(C,Ne=>{!Array.isArray(Ne)&&Ne!==L&&qe(Ne)}):Kt==null||Kt()});let Gt=null;pt(()=>{e.type==="textarea"?Gt=Je(C,j=>{var ce;!Array.isArray(j)&&j!==L&&((ce=f.value)===null||ce===void 0||ce.syncUnifiedContainer())}):Gt==null||Gt()}),Ue(df,{mergedValueRef:C,maxlengthRef:W,mergedClsPrefixRef:t,countGraphemesRef:he(e,"countGraphemes")});const Po={wrapperElRef:a,inputElRef:u,textareaElRef:l,isCompositing:P,clear:Ge,focus:de,blur:Re,select:Ie,deactivate:_e,activate:Fe,scrollTo:We},zo=Rt("Input",n,t),uo=T(()=>{const{value:j}=$,{common:{cubicBezierEaseInOut:ce},self:{color:Ne,borderRadius:st,textColor:ct,caretColor:lt,caretColorError:Qt,caretColorWarning:eo,textDecorationColor:to,border:To,borderDisabled:Bo,borderHover:Jo,borderFocus:Jr,placeholderColor:Qr,placeholderColorDisabled:en,lineHeightTextarea:tn,colorDisabled:Ho,colorFocus:Wo,textColorDisabled:Ui,boxShadowFocus:Ki,iconSize:Gi,colorFocusWarning:qi,boxShadowFocusWarning:Xi,borderWarning:Yi,borderFocusWarning:Dp,borderHoverWarning:Hp,colorFocusError:Wp,boxShadowFocusError:Np,borderError:jp,borderFocusError:Vp,borderHoverError:Up,clearSize:Kp,clearColor:Gp,clearColorHover:qp,clearColorPressed:Xp,iconColor:Yp,iconColorDisabled:Zp,suffixTextColor:Jp,countTextColor:Qp,countTextColorDisabled:ev,iconColorHover:tv,iconColorPressed:ov,loadingColor:rv,loadingColorError:nv,loadingColorWarning:iv,[oe("padding",j)]:av,[oe("fontSize",j)]:lv,[oe("height",j)]:sv}}=i.value,{left:dv,right:cv}=_t(av);return{"--n-bezier":ce,"--n-count-text-color":Qp,"--n-count-text-color-disabled":ev,"--n-color":Ne,"--n-font-size":lv,"--n-border-radius":st,"--n-height":sv,"--n-padding-left":dv,"--n-padding-right":cv,"--n-text-color":ct,"--n-caret-color":lt,"--n-text-decoration-color":to,"--n-border":To,"--n-border-disabled":Bo,"--n-border-hover":Jo,"--n-border-focus":Jr,"--n-placeholder-color":Qr,"--n-placeholder-color-disabled":en,"--n-icon-size":Gi,"--n-line-height-textarea":tn,"--n-color-disabled":Ho,"--n-color-focus":Wo,"--n-text-color-disabled":Ui,"--n-box-shadow-focus":Ki,"--n-loading-color":rv,"--n-caret-color-warning":eo,"--n-color-focus-warning":qi,"--n-box-shadow-focus-warning":Xi,"--n-border-warning":Yi,"--n-border-focus-warning":Dp,"--n-border-hover-warning":Hp,"--n-loading-color-warning":iv,"--n-caret-color-error":Qt,"--n-color-focus-error":Wp,"--n-box-shadow-focus-error":Np,"--n-border-error":jp,"--n-border-focus-error":Vp,"--n-border-hover-error":Up,"--n-loading-color-error":nv,"--n-clear-color":Gp,"--n-clear-size":Kp,"--n-clear-color-hover":qp,"--n-clear-color-pressed":Xp,"--n-icon-color":Yp,"--n-icon-color-hover":tv,"--n-icon-color-pressed":ov,"--n-icon-color-disabled":Zp,"--n-suffix-text-color":Jp}}),fo=r?Qe("input",T(()=>{const{value:j}=$;return j[0]}),uo,e):void 0;return Object.assign(Object.assign({},Po),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:d,inputEl2Ref:h,textareaElRef:l,textareaMirrorElRef:s,textareaScrollbarInstRef:f,rtlEnabled:zo,uncontrolledValue:b,mergedValue:C,passwordVisible:ee,mergedPlaceholder:I,showPlaceholder1:A,showPlaceholder2:H,mergedFocus:_,isComposing:P,activated:M,showClearButton:U,mergedSize:$,mergedDisabled:S,textDecorationStyle:ue,mergedClsPrefix:t,mergedBordered:o,mergedShowPasswordOn:N,placeholderStyle:ft,mergedStatus:w,textAreaScrollContainerWidth:ae,handleTextAreaScroll:Ct,handleCompositionStart:De,handleCompositionEnd:te,handleInput:ye,handleInputBlur:K,handleInputFocus:Q,handleWrapperBlur:pe,handleWrapperFocus:V,handleMouseEnter:we,handleMouseLeave:ze,handleMouseDown:it,handleChange:J,handleClick:Se,handleClear:Ae,handlePasswordToggleClick:Ke,handlePasswordToggleMousedown:Be,handleWrapperKeydown:at,handleWrapperKeyup:Ve,handleTextAreaMirrorResize:xt,getTextareaScrollContainer:()=>l.value,mergedTheme:i,cssVars:r?void 0:uo,themeClass:fo==null?void 0:fo.themeClass,onRender:fo==null?void 0:fo.onRender})},render(){var e,t;const{mergedClsPrefix:o,mergedStatus:r,themeClass:n,type:i,countGraphemes:a,onRender:l}=this,s=this.$slots;return l==null||l(),c("div",{ref:"wrapperElRef",class:[`${o}-input`,n,r&&`${o}-input--${r}-status`,{[`${o}-input--rtl`]:this.rtlEnabled,[`${o}-input--disabled`]:this.mergedDisabled,[`${o}-input--textarea`]:i==="textarea",[`${o}-input--resizable`]:this.resizable&&!this.autosize,[`${o}-input--autosize`]:this.autosize,[`${o}-input--round`]:this.round&&i!=="textarea",[`${o}-input--pair`]:this.pair,[`${o}-input--focus`]:this.mergedFocus,[`${o}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},c("div",{class:`${o}-input-wrapper`},Ze(s.prefix,d=>d&&c("div",{class:`${o}-input__prefix`},d)),i==="textarea"?c(so,{ref:"textareaScrollbarInstRef",class:`${o}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var d,u;const{textAreaScrollContainerWidth:h}=this,p={width:this.autosize&&h&&`${h}px`};return c(yt,null,c("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${o}-input__textarea-el`,(d=this.inputProps)===null||d===void 0?void 0:d.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,p],onBlur:this.handleInputBlur,onFocus:g=>{this.handleInputFocus(g,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?c("div",{class:`${o}-input__placeholder`,style:[this.placeholderStyle,p],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?c(io,{onResize:this.handleTextAreaMirrorResize},{default:()=>c("div",{ref:"textareaMirrorElRef",class:`${o}-input__textarea-mirror`,key:"mirror"})}):null)}}):c("div",{class:`${o}-input__input`},c("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${o}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:d=>{this.handleInputFocus(d,0)},onInput:d=>{this.handleInput(d,0)},onChange:d=>{this.handleChange(d,0)}})),this.showPlaceholder1?c("div",{class:`${o}-input__placeholder`},c("span",null,this.mergedPlaceholder[0])):null,this.autosize?c("div",{class:`${o}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Ze(s.suffix,d=>d||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?c("div",{class:`${o}-input__suffix`},[Ze(s["clear-icon-placeholder"],u=>(this.clearable||u)&&c(Ga,{clsPrefix:o,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var h,p;return(p=(h=this.$slots)["clear-icon"])===null||p===void 0?void 0:p.call(h)}})),this.internalLoadingBeforeSuffix?null:d,this.loading!==void 0?c(ef,{clsPrefix:o,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?d:null,this.showCount&&this.type!=="textarea"?c(Rd,null,{default:u=>{var h;return(h=s.count)===null||h===void 0?void 0:h.call(s,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?c("div",{class:`${o}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?Bt(s["password-visible-icon"],()=>[c(ot,{clsPrefix:o},{default:()=>c(iS,null)})]):Bt(s["password-invisible-icon"],()=>[c(ot,{clsPrefix:o},{default:()=>c(aS,null)})])):null]):null)),this.pair?c("span",{class:`${o}-input__separator`},Bt(s.separator,()=>[this.separator])):null,this.pair?c("div",{class:`${o}-input-wrapper`},c("div",{class:`${o}-input__input`},c("input",{ref:"inputEl2Ref",type:this.type,class:`${o}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:d=>{this.handleInputFocus(d,1)},onInput:d=>{this.handleInput(d,1)},onChange:d=>{this.handleChange(d,1)}}),this.showPlaceholder2?c("div",{class:`${o}-input__placeholder`},c("span",null,this.mergedPlaceholder[1])):null),Ze(s.suffix,d=>(this.clearable||d)&&c("div",{class:`${o}-input__suffix`},[this.clearable&&c(Ga,{clsPrefix:o,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=s["clear-icon"])===null||u===void 0?void 0:u.call(s)},placeholder:()=>{var u;return(u=s["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(s)}}),d]))):null,this.mergedBordered?c("div",{class:`${o}-input__border`}):null,this.mergedBordered?c("div",{class:`${o}-input__state-border`}):null,this.showCount&&i==="textarea"?c(Rd,null,{default:d=>{var u;const{renderCount:h}=this;return h?h(d):(u=s.count)===null||u===void 0?void 0:u.call(s,d)}}):null)}}),l5=y("input-group",` display: inline-flex; width: 100%; flex-wrap: nowrap; @@ -998,13 +998,13 @@ ${t} `)]),y("button",[z("&:not(:last-child)",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `,[M("state-border, border",` + `,[O("state-border, border",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; `)]),z("&:not(:first-child)",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `,[M("state-border, border",` + `,[O("state-border, border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; `)])]),z("*",[z("&:not(:last-child)",` @@ -1019,7 +1019,7 @@ ${t} `),y("base-selection-tags",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; - `),M("box-shadow, border, state-border",` + `),O("box-shadow, border, state-border",` border-top-right-radius: 0!important; border-bottom-right-radius: 0!important; `)])])]),z("&:not(:first-child)",` @@ -1035,10 +1035,10 @@ ${t} `),y("base-selection-tags",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `),M("box-shadow, border, state-border",` + `),O("box-shadow, border, state-border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])])])])])]),i5={},c8=ne({name:"InputGroup",props:i5,setup(e){const{mergedClsPrefixRef:t}=He(e);return Do("-input-group",n5,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return c("div",{class:`${e}-input-group`},this.$slots)}}),a5=y("input-group-label",` + `)])])])])])]),s5={},v8=re({name:"InputGroup",props:s5,setup(e){const{mergedClsPrefixRef:t}=He(e);return Do("-input-group",l5,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return c("div",{class:`${e}-input-group`},this.$slots)}}),d5=y("input-group-label",` position: relative; user-select: none; -webkit-user-select: none; @@ -1057,7 +1057,7 @@ ${t} color .3s var(--n-bezier), background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); -`,[M("border",` +`,[O("border",` position: absolute; left: 0; right: 0; @@ -1066,7 +1066,7 @@ ${t} border-radius: inherit; border: var(--n-group-label-border); transition: border-color .3s var(--n-bezier); - `)]),l5=Object.assign(Object.assign({},we.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),u8=ne({name:"InputGroupLabel",props:l5,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r}=He(e),n=we("Input","-input-group-label",a5,Ht,e,o),i=T(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:s},self:{groupLabelColor:d,borderRadius:u,groupLabelTextColor:h,lineHeight:p,groupLabelBorder:g,[oe("fontSize",l)]:f,[oe("height",l)]:v}}=n.value;return{"--n-bezier":s,"--n-group-label-color":d,"--n-group-label-border":g,"--n-border-radius":u,"--n-group-label-text-color":h,"--n-font-size":f,"--n-line-height":p,"--n-height":v}}),a=r?Qe("input-group-label",T(()=>e.size[0]),i,e):void 0;return{mergedClsPrefix:o,mergedBordered:t,cssVars:r?void 0:i,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){var e,t,o;const{mergedClsPrefix:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${r}-input-group-label`,this.themeClass],style:this.cssVars},(o=(t=this.$slots).default)===null||o===void 0?void 0:o.call(t),this.mergedBordered?c("div",{class:`${r}-input-group-label__border`}):null)}});function df(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const s5={name:"AutoComplete",common:xe,peers:{InternalSelectMenu:Xr,Input:Ht},self:df},d5=s5,c5={name:"AutoComplete",common:ke,peers:{InternalSelectMenu:En,Input:Jt},self:df},u5=c5,cf=Eo&&"loading"in document.createElement("img"),f5=(e={})=>{var t;const{root:o=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(t=e.threshold)!==null&&t!==void 0?t:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof o=="string"?document.querySelector(o):o)||document.documentElement})}},ba=new WeakMap,ma=new WeakMap,xa=new WeakMap,uf=(e,t,o)=>{if(!e)return()=>{};const r=f5(t),{root:n}=r.options;let i;const a=ba.get(n);a?i=a:(i=new Map,ba.set(n,i));let l,s;i.has(r.hash)?(s=i.get(r.hash),s[1].has(e)||(l=s[0],s[1].add(e),l.observe(e))):(l=new IntersectionObserver(h=>{h.forEach(p=>{if(p.isIntersecting){const g=ma.get(p.target),f=xa.get(p.target);g&&g(),f&&(f.value=!0)}})},r.options),l.observe(e),s=[l,new Set([e])],i.set(r.hash,s));let d=!1;const u=()=>{d||(ma.delete(e),xa.delete(e),d=!0,s[1].has(e)&&(s[0].unobserve(e),s[1].delete(e)),s[1].size<=0&&i.delete(r.hash),i.size||ba.delete(n))};return ma.set(e,u),xa.set(e,o),u},ff=e=>{const{borderRadius:t,avatarColor:o,cardColor:r,fontSize:n,heightTiny:i,heightSmall:a,heightMedium:l,heightLarge:s,heightHuge:d,modalColor:u,popoverColor:h}=e;return{borderRadius:t,fontSize:n,border:`2px solid ${r}`,heightTiny:i,heightSmall:a,heightMedium:l,heightLarge:s,heightHuge:d,color:Ee(r,o),colorModal:Ee(u,o),colorPopover:Ee(h,o)}},h5={name:"Avatar",common:xe,self:ff},zl=h5,p5={name:"Avatar",common:ke,self:ff},hf=p5,v5="n-avatar-group",g5=y("avatar",` + `)]),c5=Object.assign(Object.assign({},be.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),g8=re({name:"InputGroupLabel",props:c5,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r}=He(e),n=be("Input","-input-group-label",d5,Ht,e,o),i=T(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:s},self:{groupLabelColor:d,borderRadius:u,groupLabelTextColor:h,lineHeight:p,groupLabelBorder:g,[oe("fontSize",l)]:f,[oe("height",l)]:v}}=n.value;return{"--n-bezier":s,"--n-group-label-color":d,"--n-group-label-border":g,"--n-border-radius":u,"--n-group-label-text-color":h,"--n-font-size":f,"--n-line-height":p,"--n-height":v}}),a=r?Qe("input-group-label",T(()=>e.size[0]),i,e):void 0;return{mergedClsPrefix:o,mergedBordered:t,cssVars:r?void 0:i,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){var e,t,o;const{mergedClsPrefix:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${r}-input-group-label`,this.themeClass],style:this.cssVars},(o=(t=this.$slots).default)===null||o===void 0?void 0:o.call(t),this.mergedBordered?c("div",{class:`${r}-input-group-label__border`}):null)}});function cf(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const u5={name:"AutoComplete",common:Ce,peers:{InternalSelectMenu:Xr,Input:Ht},self:cf},f5=u5,h5={name:"AutoComplete",common:ke,peers:{InternalSelectMenu:En,Input:Jt},self:cf},p5=h5,uf=So&&"loading"in document.createElement("img"),v5=(e={})=>{var t;const{root:o=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(t=e.threshold)!==null&&t!==void 0?t:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof o=="string"?document.querySelector(o):o)||document.documentElement})}},ma=new WeakMap,ba=new WeakMap,xa=new WeakMap,ff=(e,t,o)=>{if(!e)return()=>{};const r=v5(t),{root:n}=r.options;let i;const a=ma.get(n);a?i=a:(i=new Map,ma.set(n,i));let l,s;i.has(r.hash)?(s=i.get(r.hash),s[1].has(e)||(l=s[0],s[1].add(e),l.observe(e))):(l=new IntersectionObserver(h=>{h.forEach(p=>{if(p.isIntersecting){const g=ba.get(p.target),f=xa.get(p.target);g&&g(),f&&(f.value=!0)}})},r.options),l.observe(e),s=[l,new Set([e])],i.set(r.hash,s));let d=!1;const u=()=>{d||(ba.delete(e),xa.delete(e),d=!0,s[1].has(e)&&(s[0].unobserve(e),s[1].delete(e)),s[1].size<=0&&i.delete(r.hash),i.size||ma.delete(n))};return ba.set(e,u),xa.set(e,o),u},hf=e=>{const{borderRadius:t,avatarColor:o,cardColor:r,fontSize:n,heightTiny:i,heightSmall:a,heightMedium:l,heightLarge:s,heightHuge:d,modalColor:u,popoverColor:h}=e;return{borderRadius:t,fontSize:n,border:`2px solid ${r}`,heightTiny:i,heightSmall:a,heightMedium:l,heightLarge:s,heightHuge:d,color:Ee(r,o),colorModal:Ee(u,o),colorPopover:Ee(h,o)}},g5={name:"Avatar",common:Ce,self:hf},Tl=g5,m5={name:"Avatar",common:ke,self:hf},pf=m5,b5="n-avatar-group",x5=y("avatar",` width: var(--n-merged-size); height: var(--n-merged-size); color: #FFF; @@ -1086,7 +1086,7 @@ ${t} `,[Kr(z("&","--n-merged-color: var(--n-color-modal);")),Tn(z("&","--n-merged-color: var(--n-color-popover);")),z("img",` width: 100%; height: 100%; - `),M("text",` + `),O("text",` white-space: nowrap; display: inline-block; position: absolute; @@ -1095,7 +1095,7 @@ ${t} `),y("icon",` vertical-align: bottom; font-size: calc(var(--n-merged-size) - 6px); - `),M("text","line-height: 1.25")]),b5=Object.assign(Object.assign({},we.props),{size:[String,Number],src:String,circle:{type:Boolean,default:void 0},objectFit:String,round:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},onError:Function,fallbackSrc:String,intersectionObserverOptions:Object,lazy:Boolean,onLoad:Function,renderPlaceholder:Function,renderFallback:Function,imgProps:Object,color:String}),f8=ne({name:"Avatar",props:b5,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=E(!1);let n=null;const i=E(null),a=E(null),l=()=>{const{value:C}=i;if(C&&(n===null||n!==C.innerHTML)){n=C.innerHTML;const{value:R}=a;if(R){const{offsetWidth:$,offsetHeight:S}=R,{offsetWidth:w,offsetHeight:x}=C,k=.9,P=Math.min($/w*k,S/x*k,1);C.style.transform=`translateX(-50%) translateY(-50%) scale(${P})`}}},s=Te(v5,null),d=T(()=>{const{size:C}=e;if(C)return C;const{size:R}=s||{};return R||"medium"}),u=we("Avatar","-avatar",g5,zl,e,t),h=Te(Ju,null),p=T(()=>{if(s)return!0;const{round:C,circle:R}=e;return C!==void 0||R!==void 0?C||R:h?h.roundRef.value:!1}),g=T(()=>s?!0:e.bordered||!1),f=T(()=>{const C=d.value,R=p.value,$=g.value,{color:S}=e,{self:{borderRadius:w,fontSize:x,color:k,border:P,colorModal:I,colorPopover:A},common:{cubicBezierEaseInOut:O}}=u.value;let L;return typeof C=="number"?L=`${C}px`:L=u.value.self[oe("height",C)],{"--n-font-size":x,"--n-border":$?P:"none","--n-border-radius":R?"50%":w,"--n-color":S||k,"--n-color-modal":S||I,"--n-color-popover":S||A,"--n-bezier":O,"--n-merged-size":`var(--n-avatar-size-override, ${L})`}}),v=o?Qe("avatar",T(()=>{const C=d.value,R=p.value,$=g.value,{color:S}=e;let w="";return C&&(typeof C=="number"?w+=`a${C}`:w+=C[0]),R&&(w+="b"),$&&(w+="c"),S&&(w+=bn(S)),w}),f,e):void 0,m=E(!e.lazy);gt(()=>{if(e.lazy&&e.intersectionObserverOptions){let C;const R=vt(()=>{C==null||C(),C=void 0,e.lazy&&(C=uf(a.value,e.intersectionObserverOptions,m))});dt(()=>{R(),C==null||C()})}}),Je(()=>{var C;return e.src||((C=e.imgProps)===null||C===void 0?void 0:C.src)},()=>{r.value=!1});const b=E(!e.lazy);return{textRef:i,selfRef:a,mergedRoundRef:p,mergedClsPrefix:t,fitTextTransform:l,cssVars:o?void 0:f,themeClass:v==null?void 0:v.themeClass,onRender:v==null?void 0:v.onRender,hasLoadError:r,shouldStartLoading:m,loaded:b,mergedOnError:C=>{if(!m.value)return;r.value=!0;const{onError:R,imgProps:{onError:$}={}}=e;R==null||R(C),$==null||$(C)},mergedOnLoad:C=>{const{onLoad:R,imgProps:{onLoad:$}={}}=e;R==null||R(C),$==null||$(C),b.value=!0}}},render(){var e,t;const{$slots:o,src:r,mergedClsPrefix:n,lazy:i,onRender:a,loaded:l,hasLoadError:s,imgProps:d={}}=this;a==null||a();let u;const h=!l&&!s&&(this.renderPlaceholder?this.renderPlaceholder():(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e));return this.hasLoadError?u=this.renderFallback?this.renderFallback():Bt(o.fallback,()=>[c("img",{src:this.fallbackSrc,style:{objectFit:this.objectFit}})]):u=Ze(o.default,p=>{if(p)return c(io,{onResize:this.fitTextTransform},{default:()=>c("span",{ref:"textRef",class:`${n}-avatar__text`},p)});if(r||d.src){const g=this.src||d.src;return c("img",Object.assign(Object.assign({},d),{loading:cf&&!this.intersectionObserverOptions&&i?"lazy":"eager",src:i&&this.intersectionObserverOptions?this.shouldStartLoading?g:void 0:g,"data-image-src":g,onLoad:this.mergedOnLoad,onError:this.mergedOnError,style:[d.style||"",{objectFit:this.objectFit},h?{height:"0",width:"0",visibility:"hidden",position:"absolute"}:""]}))}}),c("span",{ref:"selfRef",class:[`${n}-avatar`,this.themeClass],style:this.cssVars},u,i&&h)}}),pf=()=>({gap:"-12px"}),m5={name:"AvatarGroup",common:xe,peers:{Avatar:zl},self:pf},x5=m5,C5={name:"AvatarGroup",common:ke,peers:{Avatar:hf},self:pf},y5=C5,vf={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},w5={name:"BackTop",common:ke,self(e){const{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},vf),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},S5=w5,k5=e=>{const{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},vf),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},$5={name:"BackTop",common:xe,self:k5},R5=$5,P5={name:"Badge",common:ke,self(e){const{errorColorSuppl:t,infoColorSuppl:o,successColorSuppl:r,warningColorSuppl:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}}},z5=P5,T5=e=>{const{errorColor:t,infoColor:o,successColor:r,warningColor:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}},B5={name:"Badge",common:xe,self:T5},M5=B5,O5={fontWeightActive:"400"},gf=e=>{const{fontSize:t,textColor3:o,textColor2:r,borderRadius:n,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},O5),{fontSize:t,itemLineHeight:"1.25",itemTextColor:o,itemTextColorHover:r,itemTextColorPressed:r,itemTextColorActive:r,itemBorderRadius:n,itemColorHover:i,itemColorPressed:a,separatorColor:o})},I5={name:"Breadcrumb",common:xe,self:gf},F5=I5,E5={name:"Breadcrumb",common:ke,self:gf},A5=E5;function Qo(e){return Ee(e,[255,255,255,.16])}function Yn(e){return Ee(e,[0,0,0,.12])}const bf="n-button-group",L5={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},mf=e=>{const{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadius:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:u,textColor2:h,textColor3:p,primaryColorHover:g,primaryColorPressed:f,borderColor:v,primaryColor:m,baseColor:b,infoColor:C,infoColorHover:R,infoColorPressed:$,successColor:S,successColorHover:w,successColorPressed:x,warningColor:k,warningColorHover:P,warningColorPressed:I,errorColor:A,errorColorHover:O,errorColorPressed:L,fontWeight:H,buttonColor2:_,buttonColor2Hover:U,buttonColor2Pressed:N,fontWeightStrong:te}=e;return Object.assign(Object.assign({},L5),{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:_,colorSecondaryHover:U,colorSecondaryPressed:N,colorTertiary:_,colorTertiaryHover:U,colorTertiaryPressed:N,colorQuaternary:"#0000",colorQuaternaryHover:U,colorQuaternaryPressed:N,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:h,textColorTertiary:p,textColorHover:g,textColorPressed:f,textColorFocus:g,textColorDisabled:h,textColorText:h,textColorTextHover:g,textColorTextPressed:f,textColorTextFocus:g,textColorTextDisabled:h,textColorGhost:h,textColorGhostHover:g,textColorGhostPressed:f,textColorGhostFocus:g,textColorGhostDisabled:h,border:`1px solid ${v}`,borderHover:`1px solid ${g}`,borderPressed:`1px solid ${f}`,borderFocus:`1px solid ${g}`,borderDisabled:`1px solid ${v}`,rippleColor:m,colorPrimary:m,colorHoverPrimary:g,colorPressedPrimary:f,colorFocusPrimary:g,colorDisabledPrimary:m,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:m,textColorTextHoverPrimary:g,textColorTextPressedPrimary:f,textColorTextFocusPrimary:g,textColorTextDisabledPrimary:h,textColorGhostPrimary:m,textColorGhostHoverPrimary:g,textColorGhostPressedPrimary:f,textColorGhostFocusPrimary:g,textColorGhostDisabledPrimary:m,borderPrimary:`1px solid ${m}`,borderHoverPrimary:`1px solid ${g}`,borderPressedPrimary:`1px solid ${f}`,borderFocusPrimary:`1px solid ${g}`,borderDisabledPrimary:`1px solid ${m}`,rippleColorPrimary:m,colorInfo:C,colorHoverInfo:R,colorPressedInfo:$,colorFocusInfo:R,colorDisabledInfo:C,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:C,textColorTextHoverInfo:R,textColorTextPressedInfo:$,textColorTextFocusInfo:R,textColorTextDisabledInfo:h,textColorGhostInfo:C,textColorGhostHoverInfo:R,textColorGhostPressedInfo:$,textColorGhostFocusInfo:R,textColorGhostDisabledInfo:C,borderInfo:`1px solid ${C}`,borderHoverInfo:`1px solid ${R}`,borderPressedInfo:`1px solid ${$}`,borderFocusInfo:`1px solid ${R}`,borderDisabledInfo:`1px solid ${C}`,rippleColorInfo:C,colorSuccess:S,colorHoverSuccess:w,colorPressedSuccess:x,colorFocusSuccess:w,colorDisabledSuccess:S,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:S,textColorTextHoverSuccess:w,textColorTextPressedSuccess:x,textColorTextFocusSuccess:w,textColorTextDisabledSuccess:h,textColorGhostSuccess:S,textColorGhostHoverSuccess:w,textColorGhostPressedSuccess:x,textColorGhostFocusSuccess:w,textColorGhostDisabledSuccess:S,borderSuccess:`1px solid ${S}`,borderHoverSuccess:`1px solid ${w}`,borderPressedSuccess:`1px solid ${x}`,borderFocusSuccess:`1px solid ${w}`,borderDisabledSuccess:`1px solid ${S}`,rippleColorSuccess:S,colorWarning:k,colorHoverWarning:P,colorPressedWarning:I,colorFocusWarning:P,colorDisabledWarning:k,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:k,textColorTextHoverWarning:P,textColorTextPressedWarning:I,textColorTextFocusWarning:P,textColorTextDisabledWarning:h,textColorGhostWarning:k,textColorGhostHoverWarning:P,textColorGhostPressedWarning:I,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${I}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:A,colorHoverError:O,colorPressedError:L,colorFocusError:O,colorDisabledError:A,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:A,textColorTextHoverError:O,textColorTextPressedError:L,textColorTextFocusError:O,textColorTextDisabledError:h,textColorGhostError:A,textColorGhostHoverError:O,textColorGhostPressedError:L,textColorGhostFocusError:O,textColorGhostDisabledError:A,borderError:`1px solid ${A}`,borderHoverError:`1px solid ${O}`,borderPressedError:`1px solid ${L}`,borderFocusError:`1px solid ${O}`,borderDisabledError:`1px solid ${A}`,rippleColorError:A,waveOpacity:"0.6",fontWeight:H,fontWeightStrong:te})},_5={name:"Button",common:xe,self:mf},At=_5,D5={name:"Button",common:ke,self(e){const t=mf(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},jt=D5,H5=z([y("button",` + `),O("text","line-height: 1.25")]),C5=Object.assign(Object.assign({},be.props),{size:[String,Number],src:String,circle:{type:Boolean,default:void 0},objectFit:String,round:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},onError:Function,fallbackSrc:String,intersectionObserverOptions:Object,lazy:Boolean,onLoad:Function,renderPlaceholder:Function,renderFallback:Function,imgProps:Object,color:String}),m8=re({name:"Avatar",props:C5,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=E(!1);let n=null;const i=E(null),a=E(null),l=()=>{const{value:C}=i;if(C&&(n===null||n!==C.innerHTML)){n=C.innerHTML;const{value:R}=a;if(R){const{offsetWidth:$,offsetHeight:S}=R,{offsetWidth:w,offsetHeight:x}=C,k=.9,P=Math.min($/w*k,S/x*k,1);C.style.transform=`translateX(-50%) translateY(-50%) scale(${P})`}}},s=Te(b5,null),d=T(()=>{const{size:C}=e;if(C)return C;const{size:R}=s||{};return R||"medium"}),u=be("Avatar","-avatar",x5,Tl,e,t),h=Te(Qu,null),p=T(()=>{if(s)return!0;const{round:C,circle:R}=e;return C!==void 0||R!==void 0?C||R:h?h.roundRef.value:!1}),g=T(()=>s?!0:e.bordered||!1),f=T(()=>{const C=d.value,R=p.value,$=g.value,{color:S}=e,{self:{borderRadius:w,fontSize:x,color:k,border:P,colorModal:M,colorPopover:L},common:{cubicBezierEaseInOut:I}}=u.value;let A;return typeof C=="number"?A=`${C}px`:A=u.value.self[oe("height",C)],{"--n-font-size":x,"--n-border":$?P:"none","--n-border-radius":R?"50%":w,"--n-color":S||k,"--n-color-modal":S||M,"--n-color-popover":S||L,"--n-bezier":I,"--n-merged-size":`var(--n-avatar-size-override, ${A})`}}),v=o?Qe("avatar",T(()=>{const C=d.value,R=p.value,$=g.value,{color:S}=e;let w="";return C&&(typeof C=="number"?w+=`a${C}`:w+=C[0]),R&&(w+="b"),$&&(w+="c"),S&&(w+=mn(S)),w}),f,e):void 0,b=E(!e.lazy);gt(()=>{if(e.lazy&&e.intersectionObserverOptions){let C;const R=pt(()=>{C==null||C(),C=void 0,e.lazy&&(C=ff(a.value,e.intersectionObserverOptions,b))});dt(()=>{R(),C==null||C()})}}),Je(()=>{var C;return e.src||((C=e.imgProps)===null||C===void 0?void 0:C.src)},()=>{r.value=!1});const m=E(!e.lazy);return{textRef:i,selfRef:a,mergedRoundRef:p,mergedClsPrefix:t,fitTextTransform:l,cssVars:o?void 0:f,themeClass:v==null?void 0:v.themeClass,onRender:v==null?void 0:v.onRender,hasLoadError:r,shouldStartLoading:b,loaded:m,mergedOnError:C=>{if(!b.value)return;r.value=!0;const{onError:R,imgProps:{onError:$}={}}=e;R==null||R(C),$==null||$(C)},mergedOnLoad:C=>{const{onLoad:R,imgProps:{onLoad:$}={}}=e;R==null||R(C),$==null||$(C),m.value=!0}}},render(){var e,t;const{$slots:o,src:r,mergedClsPrefix:n,lazy:i,onRender:a,loaded:l,hasLoadError:s,imgProps:d={}}=this;a==null||a();let u;const h=!l&&!s&&(this.renderPlaceholder?this.renderPlaceholder():(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e));return this.hasLoadError?u=this.renderFallback?this.renderFallback():Bt(o.fallback,()=>[c("img",{src:this.fallbackSrc,style:{objectFit:this.objectFit}})]):u=Ze(o.default,p=>{if(p)return c(io,{onResize:this.fitTextTransform},{default:()=>c("span",{ref:"textRef",class:`${n}-avatar__text`},p)});if(r||d.src){const g=this.src||d.src;return c("img",Object.assign(Object.assign({},d),{loading:uf&&!this.intersectionObserverOptions&&i?"lazy":"eager",src:i&&this.intersectionObserverOptions?this.shouldStartLoading?g:void 0:g,"data-image-src":g,onLoad:this.mergedOnLoad,onError:this.mergedOnError,style:[d.style||"",{objectFit:this.objectFit},h?{height:"0",width:"0",visibility:"hidden",position:"absolute"}:""]}))}}),c("span",{ref:"selfRef",class:[`${n}-avatar`,this.themeClass],style:this.cssVars},u,i&&h)}}),vf=()=>({gap:"-12px"}),y5={name:"AvatarGroup",common:Ce,peers:{Avatar:Tl},self:vf},w5=y5,S5={name:"AvatarGroup",common:ke,peers:{Avatar:pf},self:vf},k5=S5,gf={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},$5={name:"BackTop",common:ke,self(e){const{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},gf),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},R5=$5,P5=e=>{const{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},gf),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},z5={name:"BackTop",common:Ce,self:P5},T5=z5,B5={name:"Badge",common:ke,self(e){const{errorColorSuppl:t,infoColorSuppl:o,successColorSuppl:r,warningColorSuppl:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}}},O5=B5,M5=e=>{const{errorColor:t,infoColor:o,successColor:r,warningColor:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}},I5={name:"Badge",common:Ce,self:M5},F5=I5,E5={fontWeightActive:"400"},mf=e=>{const{fontSize:t,textColor3:o,textColor2:r,borderRadius:n,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},E5),{fontSize:t,itemLineHeight:"1.25",itemTextColor:o,itemTextColorHover:r,itemTextColorPressed:r,itemTextColorActive:r,itemBorderRadius:n,itemColorHover:i,itemColorPressed:a,separatorColor:o})},L5={name:"Breadcrumb",common:Ce,self:mf},A5=L5,_5={name:"Breadcrumb",common:ke,self:mf},D5=_5;function Qo(e){return Ee(e,[255,255,255,.16])}function Yn(e){return Ee(e,[0,0,0,.12])}const bf="n-button-group",H5={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},xf=e=>{const{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadius:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:u,textColor2:h,textColor3:p,primaryColorHover:g,primaryColorPressed:f,borderColor:v,primaryColor:b,baseColor:m,infoColor:C,infoColorHover:R,infoColorPressed:$,successColor:S,successColorHover:w,successColorPressed:x,warningColor:k,warningColorHover:P,warningColorPressed:M,errorColor:L,errorColorHover:I,errorColorPressed:A,fontWeight:H,buttonColor2:_,buttonColor2Hover:U,buttonColor2Pressed:N,fontWeightStrong:ee}=e;return Object.assign(Object.assign({},H5),{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:d,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:_,colorSecondaryHover:U,colorSecondaryPressed:N,colorTertiary:_,colorTertiaryHover:U,colorTertiaryPressed:N,colorQuaternary:"#0000",colorQuaternaryHover:U,colorQuaternaryPressed:N,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:h,textColorTertiary:p,textColorHover:g,textColorPressed:f,textColorFocus:g,textColorDisabled:h,textColorText:h,textColorTextHover:g,textColorTextPressed:f,textColorTextFocus:g,textColorTextDisabled:h,textColorGhost:h,textColorGhostHover:g,textColorGhostPressed:f,textColorGhostFocus:g,textColorGhostDisabled:h,border:`1px solid ${v}`,borderHover:`1px solid ${g}`,borderPressed:`1px solid ${f}`,borderFocus:`1px solid ${g}`,borderDisabled:`1px solid ${v}`,rippleColor:b,colorPrimary:b,colorHoverPrimary:g,colorPressedPrimary:f,colorFocusPrimary:g,colorDisabledPrimary:b,textColorPrimary:m,textColorHoverPrimary:m,textColorPressedPrimary:m,textColorFocusPrimary:m,textColorDisabledPrimary:m,textColorTextPrimary:b,textColorTextHoverPrimary:g,textColorTextPressedPrimary:f,textColorTextFocusPrimary:g,textColorTextDisabledPrimary:h,textColorGhostPrimary:b,textColorGhostHoverPrimary:g,textColorGhostPressedPrimary:f,textColorGhostFocusPrimary:g,textColorGhostDisabledPrimary:b,borderPrimary:`1px solid ${b}`,borderHoverPrimary:`1px solid ${g}`,borderPressedPrimary:`1px solid ${f}`,borderFocusPrimary:`1px solid ${g}`,borderDisabledPrimary:`1px solid ${b}`,rippleColorPrimary:b,colorInfo:C,colorHoverInfo:R,colorPressedInfo:$,colorFocusInfo:R,colorDisabledInfo:C,textColorInfo:m,textColorHoverInfo:m,textColorPressedInfo:m,textColorFocusInfo:m,textColorDisabledInfo:m,textColorTextInfo:C,textColorTextHoverInfo:R,textColorTextPressedInfo:$,textColorTextFocusInfo:R,textColorTextDisabledInfo:h,textColorGhostInfo:C,textColorGhostHoverInfo:R,textColorGhostPressedInfo:$,textColorGhostFocusInfo:R,textColorGhostDisabledInfo:C,borderInfo:`1px solid ${C}`,borderHoverInfo:`1px solid ${R}`,borderPressedInfo:`1px solid ${$}`,borderFocusInfo:`1px solid ${R}`,borderDisabledInfo:`1px solid ${C}`,rippleColorInfo:C,colorSuccess:S,colorHoverSuccess:w,colorPressedSuccess:x,colorFocusSuccess:w,colorDisabledSuccess:S,textColorSuccess:m,textColorHoverSuccess:m,textColorPressedSuccess:m,textColorFocusSuccess:m,textColorDisabledSuccess:m,textColorTextSuccess:S,textColorTextHoverSuccess:w,textColorTextPressedSuccess:x,textColorTextFocusSuccess:w,textColorTextDisabledSuccess:h,textColorGhostSuccess:S,textColorGhostHoverSuccess:w,textColorGhostPressedSuccess:x,textColorGhostFocusSuccess:w,textColorGhostDisabledSuccess:S,borderSuccess:`1px solid ${S}`,borderHoverSuccess:`1px solid ${w}`,borderPressedSuccess:`1px solid ${x}`,borderFocusSuccess:`1px solid ${w}`,borderDisabledSuccess:`1px solid ${S}`,rippleColorSuccess:S,colorWarning:k,colorHoverWarning:P,colorPressedWarning:M,colorFocusWarning:P,colorDisabledWarning:k,textColorWarning:m,textColorHoverWarning:m,textColorPressedWarning:m,textColorFocusWarning:m,textColorDisabledWarning:m,textColorTextWarning:k,textColorTextHoverWarning:P,textColorTextPressedWarning:M,textColorTextFocusWarning:P,textColorTextDisabledWarning:h,textColorGhostWarning:k,textColorGhostHoverWarning:P,textColorGhostPressedWarning:M,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${M}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:L,colorHoverError:I,colorPressedError:A,colorFocusError:I,colorDisabledError:L,textColorError:m,textColorHoverError:m,textColorPressedError:m,textColorFocusError:m,textColorDisabledError:m,textColorTextError:L,textColorTextHoverError:I,textColorTextPressedError:A,textColorTextFocusError:I,textColorTextDisabledError:h,textColorGhostError:L,textColorGhostHoverError:I,textColorGhostPressedError:A,textColorGhostFocusError:I,textColorGhostDisabledError:L,borderError:`1px solid ${L}`,borderHoverError:`1px solid ${I}`,borderPressedError:`1px solid ${A}`,borderFocusError:`1px solid ${I}`,borderDisabledError:`1px solid ${L}`,rippleColorError:L,waveOpacity:"0.6",fontWeight:H,fontWeightStrong:ee})},W5={name:"Button",common:Ce,self:xf},Lt=W5,N5={name:"Button",common:ke,self(e){const t=xf(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Wt=N5,j5=z([y("button",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; @@ -1127,7 +1127,7 @@ ${t} background-color .3s var(--n-bezier), opacity .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[B("color",[M("border",{borderColor:"var(--n-border-color)"}),B("disabled",[M("border",{borderColor:"var(--n-border-color-disabled)"})]),nt("disabled",[z("&:focus",[M("state-border",{borderColor:"var(--n-border-color-focus)"})]),z("&:hover",[M("state-border",{borderColor:"var(--n-border-color-hover)"})]),z("&:active",[M("state-border",{borderColor:"var(--n-border-color-pressed)"})]),B("pressed",[M("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),B("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[M("border",{border:"var(--n-border-disabled)"})]),nt("disabled",[z("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[M("state-border",{border:"var(--n-border-focus)"})]),z("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[M("state-border",{border:"var(--n-border-hover)"})]),z("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[M("state-border",{border:"var(--n-border-pressed)"})]),B("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[M("state-border",{border:"var(--n-border-pressed)"})])]),B("loading","cursor: wait;"),y("base-wave",` + `,[B("color",[O("border",{borderColor:"var(--n-border-color)"}),B("disabled",[O("border",{borderColor:"var(--n-border-color-disabled)"})]),rt("disabled",[z("&:focus",[O("state-border",{borderColor:"var(--n-border-color-focus)"})]),z("&:hover",[O("state-border",{borderColor:"var(--n-border-color-hover)"})]),z("&:active",[O("state-border",{borderColor:"var(--n-border-color-pressed)"})]),B("pressed",[O("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),B("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[O("border",{border:"var(--n-border-disabled)"})]),rt("disabled",[z("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[O("state-border",{border:"var(--n-border-focus)"})]),z("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[O("state-border",{border:"var(--n-border-hover)"})]),z("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[O("state-border",{border:"var(--n-border-pressed)"})]),B("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[O("state-border",{border:"var(--n-border-pressed)"})])]),B("loading","cursor: wait;"),y("base-wave",` pointer-events: none; top: 0; right: 0; @@ -1136,7 +1136,7 @@ ${t} animation-iteration-count: 1; animation-duration: var(--n-ripple-duration); animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out); - `,[B("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),Eo&&"MozBoxSizing"in document.createElement("div").style?z("&::moz-focus-inner",{border:0}):null,M("border, state-border",` + `,[B("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),So&&"MozBoxSizing"in document.createElement("div").style?z("&::moz-focus-inner",{border:0}):null,O("border, state-border",` position: absolute; left: 0; top: 0; @@ -1145,7 +1145,7 @@ ${t} border-radius: inherit; transition: border-color .3s var(--n-bezier); pointer-events: none; - `),M("border",{border:"var(--n-border)"}),M("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),M("icon",` + `),O("border",{border:"var(--n-border)"}),O("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),O("icon",` margin: var(--n-icon-margin); margin-left: 0; height: var(--n-icon-size); @@ -1164,46 +1164,46 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[Wt({top:"50%",originalTransform:"translateY(-50%)"})]),I2()]),M("content",` + `,[Nt({top:"50%",originalTransform:"translateY(-50%)"})]),L2()]),O("content",` display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; - `,[z("~",[M("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),B("block",` + `,[z("~",[O("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),B("block",` display: flex; width: 100%; - `),B("dashed",[M("border, state-border",{borderStyle:"dashed !important"})]),B("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),z("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),z("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),j5=Object.assign(Object.assign({},we.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!af}}),xf=ne({name:"Button",props:j5,setup(e){const t=E(null),o=E(null),r=E(!1),n=Ye(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=Te(bf,{}),{mergedSizeRef:a}=So({},{defaultSize:"medium",mergedSize:$=>{const{size:S}=e;if(S)return S;const{size:w}=i;if(w)return w;const{mergedSize:x}=$||{};return x?x.value:"medium"}}),l=T(()=>e.focusable&&!e.disabled),s=$=>{var S;l.value||$.preventDefault(),!e.nativeFocusBehavior&&($.preventDefault(),!e.disabled&&l.value&&((S=t.value)===null||S===void 0||S.focus({preventScroll:!0})))},d=$=>{var S;if(!e.disabled&&!e.loading){const{onClick:w}=e;w&&ie(w,$),e.text||(S=o.value)===null||S===void 0||S.play()}},u=$=>{switch($.key){case"Enter":if(!e.keyboard)return;r.value=!1}},h=$=>{switch($.key){case"Enter":if(!e.keyboard||e.loading){$.preventDefault();return}r.value=!0}},p=()=>{r.value=!1},{inlineThemeDisabled:g,mergedClsPrefixRef:f,mergedRtlRef:v}=He(e),m=we("Button","-button",H5,At,e,f),b=Rt("Button",v,f),C=T(()=>{const $=m.value,{common:{cubicBezierEaseInOut:S,cubicBezierEaseOut:w},self:x}=$,{rippleDuration:k,opacityDisabled:P,fontWeight:I,fontWeightStrong:A}=x,O=a.value,{dashed:L,type:H,ghost:_,text:U,color:N,round:te,circle:fe,textColor:ae,secondary:Y,tertiary:j,quaternary:X,strong:re}=e,le={"font-weight":re?A:I};let ge={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const me=H==="tertiary",Ae=H==="default",q=me?"default":H;if(U){const K=ae||N;ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":K||x[oe("textColorText",q)],"--n-text-color-hover":K?Qo(K):x[oe("textColorTextHover",q)],"--n-text-color-pressed":K?Yn(K):x[oe("textColorTextPressed",q)],"--n-text-color-focus":K?Qo(K):x[oe("textColorTextHover",q)],"--n-text-color-disabled":K||x[oe("textColorTextDisabled",q)]}}else if(_||L){const K=ae||N;ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":N||x[oe("rippleColor",q)],"--n-text-color":K||x[oe("textColorGhost",q)],"--n-text-color-hover":K?Qo(K):x[oe("textColorGhostHover",q)],"--n-text-color-pressed":K?Yn(K):x[oe("textColorGhostPressed",q)],"--n-text-color-focus":K?Qo(K):x[oe("textColorGhostHover",q)],"--n-text-color-disabled":K||x[oe("textColorGhostDisabled",q)]}}else if(Y){const K=Ae?x.textColor:me?x.textColorTertiary:x[oe("color",q)],Q=N||K,pe=H!=="default"&&H!=="tertiary";ge={"--n-color":pe?se(Q,{alpha:Number(x.colorOpacitySecondary)}):x.colorSecondary,"--n-color-hover":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-pressed":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryPressed)}):x.colorSecondaryPressed,"--n-color-focus":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-disabled":x.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Q,"--n-text-color-hover":Q,"--n-text-color-pressed":Q,"--n-text-color-focus":Q,"--n-text-color-disabled":Q}}else if(j||X){const K=Ae?x.textColor:me?x.textColorTertiary:x[oe("color",q)],Q=N||K;j?(ge["--n-color"]=x.colorTertiary,ge["--n-color-hover"]=x.colorTertiaryHover,ge["--n-color-pressed"]=x.colorTertiaryPressed,ge["--n-color-focus"]=x.colorSecondaryHover,ge["--n-color-disabled"]=x.colorTertiary):(ge["--n-color"]=x.colorQuaternary,ge["--n-color-hover"]=x.colorQuaternaryHover,ge["--n-color-pressed"]=x.colorQuaternaryPressed,ge["--n-color-focus"]=x.colorQuaternaryHover,ge["--n-color-disabled"]=x.colorQuaternary),ge["--n-ripple-color"]="#0000",ge["--n-text-color"]=Q,ge["--n-text-color-hover"]=Q,ge["--n-text-color-pressed"]=Q,ge["--n-text-color-focus"]=Q,ge["--n-text-color-disabled"]=Q}else ge={"--n-color":N||x[oe("color",q)],"--n-color-hover":N?Qo(N):x[oe("colorHover",q)],"--n-color-pressed":N?Yn(N):x[oe("colorPressed",q)],"--n-color-focus":N?Qo(N):x[oe("colorFocus",q)],"--n-color-disabled":N||x[oe("colorDisabled",q)],"--n-ripple-color":N||x[oe("rippleColor",q)],"--n-text-color":ae||(N?x.textColorPrimary:me?x.textColorTertiary:x[oe("textColor",q)]),"--n-text-color-hover":ae||(N?x.textColorHoverPrimary:x[oe("textColorHover",q)]),"--n-text-color-pressed":ae||(N?x.textColorPressedPrimary:x[oe("textColorPressed",q)]),"--n-text-color-focus":ae||(N?x.textColorFocusPrimary:x[oe("textColorFocus",q)]),"--n-text-color-disabled":ae||(N?x.textColorDisabledPrimary:x[oe("textColorDisabled",q)])};let ve={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};U?ve={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ve={"--n-border":x[oe("border",q)],"--n-border-hover":x[oe("borderHover",q)],"--n-border-pressed":x[oe("borderPressed",q)],"--n-border-focus":x[oe("borderFocus",q)],"--n-border-disabled":x[oe("borderDisabled",q)]};const{[oe("height",O)]:$e,[oe("fontSize",O)]:Oe,[oe("padding",O)]:Z,[oe("paddingRound",O)]:ue,[oe("iconSize",O)]:be,[oe("borderRadius",O)]:De,[oe("iconMargin",O)]:ee,waveOpacity:Ce}=x,Pe={"--n-width":fe&&!U?$e:"initial","--n-height":U?"initial":$e,"--n-font-size":Oe,"--n-padding":fe||U?"initial":te?ue:Z,"--n-icon-size":be,"--n-icon-margin":ee,"--n-border-radius":U?"initial":fe||te?$e:De};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":S,"--n-bezier-ease-out":w,"--n-ripple-duration":k,"--n-opacity-disabled":P,"--n-wave-opacity":Ce},le),ge),ve),Pe)}),R=g?Qe("button",T(()=>{let $="";const{dashed:S,type:w,ghost:x,text:k,color:P,round:I,circle:A,textColor:O,secondary:L,tertiary:H,quaternary:_,strong:U}=e;S&&($+="a"),x&&($+="b"),k&&($+="c"),I&&($+="d"),A&&($+="e"),L&&($+="f"),H&&($+="g"),_&&($+="h"),U&&($+="i"),P&&($+="j"+bn(P)),O&&($+="k"+bn(O));const{value:N}=a;return $+="l"+N[0],$+="m"+w[0],$}),C,e):void 0;return{selfElRef:t,waveElRef:o,mergedClsPrefix:f,mergedFocusable:l,mergedSize:a,showBorder:n,enterPressed:r,rtlEnabled:b,handleMousedown:s,handleKeydown:h,handleBlur:p,handleKeyup:u,handleClick:d,customColorCssVars:T(()=>{const{color:$}=e;if(!$)return null;const S=Qo($);return{"--n-border-color":$,"--n-border-color-hover":S,"--n-border-color-pressed":Yn($),"--n-border-color-focus":S,"--n-border-color-disabled":$}}),cssVars:g?void 0:C,themeClass:R==null?void 0:R.themeClass,onRender:R==null?void 0:R.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:o}=this;o==null||o();const r=Ze(this.$slots.default,n=>n&&c("span",{class:`${e}-button__content`},n));return c(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&r,c(Eu,{width:!0},{default:()=>Ze(this.$slots.icon,n=>(this.loading||this.renderIcon||n)&&c("span",{class:`${e}-button__icon`,style:{margin:Or(this.$slots.default)?"0":""}},c(br,null,{default:()=>this.loading?c(Yo,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):c("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():n)})))}),this.iconPlacement==="left"&&r,this.text?null:c(u2,{ref:"waveElRef",clsPrefix:e}),this.showBorder?c("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?c("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),jr=xf,$d=xf,bt="0!important",Cf="-1px!important";function Pr(e){return B(e+"-type",[z("& +",[y("button",{},[B(e+"-type",[M("border",{borderLeftWidth:bt}),M("state-border",{left:Cf})])])])])}function zr(e){return B(e+"-type",[z("& +",[y("button",[B(e+"-type",[M("border",{borderTopWidth:bt}),M("state-border",{top:Cf})])])])])}const W5=y("button-group",` + `),B("dashed",[O("border, state-border",{borderStyle:"dashed !important"})]),B("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),z("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),z("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),V5=Object.assign(Object.assign({},be.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!lf}}),Cf=re({name:"Button",props:V5,setup(e){const t=E(null),o=E(null),r=E(!1),n=Ye(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=Te(bf,{}),{mergedSizeRef:a}=ko({},{defaultSize:"medium",mergedSize:$=>{const{size:S}=e;if(S)return S;const{size:w}=i;if(w)return w;const{mergedSize:x}=$||{};return x?x.value:"medium"}}),l=T(()=>e.focusable&&!e.disabled),s=$=>{var S;l.value||$.preventDefault(),!e.nativeFocusBehavior&&($.preventDefault(),!e.disabled&&l.value&&((S=t.value)===null||S===void 0||S.focus({preventScroll:!0})))},d=$=>{var S;if(!e.disabled&&!e.loading){const{onClick:w}=e;w&&ie(w,$),e.text||(S=o.value)===null||S===void 0||S.play()}},u=$=>{switch($.key){case"Enter":if(!e.keyboard)return;r.value=!1}},h=$=>{switch($.key){case"Enter":if(!e.keyboard||e.loading){$.preventDefault();return}r.value=!0}},p=()=>{r.value=!1},{inlineThemeDisabled:g,mergedClsPrefixRef:f,mergedRtlRef:v}=He(e),b=be("Button","-button",j5,Lt,e,f),m=Rt("Button",v,f),C=T(()=>{const $=b.value,{common:{cubicBezierEaseInOut:S,cubicBezierEaseOut:w},self:x}=$,{rippleDuration:k,opacityDisabled:P,fontWeight:M,fontWeightStrong:L}=x,I=a.value,{dashed:A,type:H,ghost:_,text:U,color:N,round:ee,circle:ue,textColor:ae,secondary:Y,tertiary:W,quaternary:X,strong:ne}=e,le={"font-weight":ne?L:M};let ge={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const xe=H==="tertiary",Le=H==="default",G=xe?"default":H;if(U){const K=ae||N;ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":K||x[oe("textColorText",G)],"--n-text-color-hover":K?Qo(K):x[oe("textColorTextHover",G)],"--n-text-color-pressed":K?Yn(K):x[oe("textColorTextPressed",G)],"--n-text-color-focus":K?Qo(K):x[oe("textColorTextHover",G)],"--n-text-color-disabled":K||x[oe("textColorTextDisabled",G)]}}else if(_||A){const K=ae||N;ge={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":N||x[oe("rippleColor",G)],"--n-text-color":K||x[oe("textColorGhost",G)],"--n-text-color-hover":K?Qo(K):x[oe("textColorGhostHover",G)],"--n-text-color-pressed":K?Yn(K):x[oe("textColorGhostPressed",G)],"--n-text-color-focus":K?Qo(K):x[oe("textColorGhostHover",G)],"--n-text-color-disabled":K||x[oe("textColorGhostDisabled",G)]}}else if(Y){const K=Le?x.textColor:xe?x.textColorTertiary:x[oe("color",G)],Q=N||K,pe=H!=="default"&&H!=="tertiary";ge={"--n-color":pe?se(Q,{alpha:Number(x.colorOpacitySecondary)}):x.colorSecondary,"--n-color-hover":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-pressed":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryPressed)}):x.colorSecondaryPressed,"--n-color-focus":pe?se(Q,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-disabled":x.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Q,"--n-text-color-hover":Q,"--n-text-color-pressed":Q,"--n-text-color-focus":Q,"--n-text-color-disabled":Q}}else if(W||X){const K=Le?x.textColor:xe?x.textColorTertiary:x[oe("color",G)],Q=N||K;W?(ge["--n-color"]=x.colorTertiary,ge["--n-color-hover"]=x.colorTertiaryHover,ge["--n-color-pressed"]=x.colorTertiaryPressed,ge["--n-color-focus"]=x.colorSecondaryHover,ge["--n-color-disabled"]=x.colorTertiary):(ge["--n-color"]=x.colorQuaternary,ge["--n-color-hover"]=x.colorQuaternaryHover,ge["--n-color-pressed"]=x.colorQuaternaryPressed,ge["--n-color-focus"]=x.colorQuaternaryHover,ge["--n-color-disabled"]=x.colorQuaternary),ge["--n-ripple-color"]="#0000",ge["--n-text-color"]=Q,ge["--n-text-color-hover"]=Q,ge["--n-text-color-pressed"]=Q,ge["--n-text-color-focus"]=Q,ge["--n-text-color-disabled"]=Q}else ge={"--n-color":N||x[oe("color",G)],"--n-color-hover":N?Qo(N):x[oe("colorHover",G)],"--n-color-pressed":N?Yn(N):x[oe("colorPressed",G)],"--n-color-focus":N?Qo(N):x[oe("colorFocus",G)],"--n-color-disabled":N||x[oe("colorDisabled",G)],"--n-ripple-color":N||x[oe("rippleColor",G)],"--n-text-color":ae||(N?x.textColorPrimary:xe?x.textColorTertiary:x[oe("textColor",G)]),"--n-text-color-hover":ae||(N?x.textColorHoverPrimary:x[oe("textColorHover",G)]),"--n-text-color-pressed":ae||(N?x.textColorPressedPrimary:x[oe("textColorPressed",G)]),"--n-text-color-focus":ae||(N?x.textColorFocusPrimary:x[oe("textColorFocus",G)]),"--n-text-color-disabled":ae||(N?x.textColorDisabledPrimary:x[oe("textColorDisabled",G)])};let ve={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};U?ve={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ve={"--n-border":x[oe("border",G)],"--n-border-hover":x[oe("borderHover",G)],"--n-border-pressed":x[oe("borderPressed",G)],"--n-border-focus":x[oe("borderFocus",G)],"--n-border-disabled":x[oe("borderDisabled",G)]};const{[oe("height",I)]:$e,[oe("fontSize",I)]:Me,[oe("padding",I)]:Z,[oe("paddingRound",I)]:fe,[oe("iconSize",I)]:me,[oe("borderRadius",I)]:De,[oe("iconMargin",I)]:te,waveOpacity:ye}=x,Pe={"--n-width":ue&&!U?$e:"initial","--n-height":U?"initial":$e,"--n-font-size":Me,"--n-padding":ue||U?"initial":ee?fe:Z,"--n-icon-size":me,"--n-icon-margin":te,"--n-border-radius":U?"initial":ue||ee?$e:De};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":S,"--n-bezier-ease-out":w,"--n-ripple-duration":k,"--n-opacity-disabled":P,"--n-wave-opacity":ye},le),ge),ve),Pe)}),R=g?Qe("button",T(()=>{let $="";const{dashed:S,type:w,ghost:x,text:k,color:P,round:M,circle:L,textColor:I,secondary:A,tertiary:H,quaternary:_,strong:U}=e;S&&($+="a"),x&&($+="b"),k&&($+="c"),M&&($+="d"),L&&($+="e"),A&&($+="f"),H&&($+="g"),_&&($+="h"),U&&($+="i"),P&&($+="j"+mn(P)),I&&($+="k"+mn(I));const{value:N}=a;return $+="l"+N[0],$+="m"+w[0],$}),C,e):void 0;return{selfElRef:t,waveElRef:o,mergedClsPrefix:f,mergedFocusable:l,mergedSize:a,showBorder:n,enterPressed:r,rtlEnabled:m,handleMousedown:s,handleKeydown:h,handleBlur:p,handleKeyup:u,handleClick:d,customColorCssVars:T(()=>{const{color:$}=e;if(!$)return null;const S=Qo($);return{"--n-border-color":$,"--n-border-color-hover":S,"--n-border-color-pressed":Yn($),"--n-border-color-focus":S,"--n-border-color-disabled":$}}),cssVars:g?void 0:C,themeClass:R==null?void 0:R.themeClass,onRender:R==null?void 0:R.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:o}=this;o==null||o();const r=Ze(this.$slots.default,n=>n&&c("span",{class:`${e}-button__content`},n));return c(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&r,c(Lu,{width:!0},{default:()=>Ze(this.$slots.icon,n=>(this.loading||this.renderIcon||n)&&c("span",{class:`${e}-button__icon`,style:{margin:Mr(this.$slots.default)?"0":""}},c(mr,null,{default:()=>this.loading?c(Yo,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):c("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():n)})))}),this.iconPlacement==="left"&&r,this.text?null:c(p2,{ref:"waveElRef",clsPrefix:e}),this.showBorder?c("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?c("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),Wr=Cf,Pd=Cf,mt="0!important",yf="-1px!important";function Pr(e){return B(e+"-type",[z("& +",[y("button",{},[B(e+"-type",[O("border",{borderLeftWidth:mt}),O("state-border",{left:yf})])])])])}function zr(e){return B(e+"-type",[z("& +",[y("button",[B(e+"-type",[O("border",{borderTopWidth:mt}),O("state-border",{top:yf})])])])])}const U5=y("button-group",` flex-wrap: nowrap; display: inline-flex; position: relative; -`,[nt("vertical",{flexDirection:"row"},[nt("rtl",[y("button",[z("&:first-child:not(:last-child)",` - margin-right: ${bt}; - border-top-right-radius: ${bt}; - border-bottom-right-radius: ${bt}; +`,[rt("vertical",{flexDirection:"row"},[rt("rtl",[y("button",[z("&:first-child:not(:last-child)",` + margin-right: ${mt}; + border-top-right-radius: ${mt}; + border-bottom-right-radius: ${mt}; `),z("&:last-child:not(:first-child)",` - margin-left: ${bt}; - border-top-left-radius: ${bt}; - border-bottom-left-radius: ${bt}; + margin-left: ${mt}; + border-top-left-radius: ${mt}; + border-bottom-left-radius: ${mt}; `),z("&:not(:first-child):not(:last-child)",` - margin-left: ${bt}; - margin-right: ${bt}; - border-radius: ${bt}; + margin-left: ${mt}; + margin-right: ${mt}; + border-radius: ${mt}; `),Pr("default"),B("ghost",[Pr("primary"),Pr("info"),Pr("success"),Pr("warning"),Pr("error")])])])]),B("vertical",{flexDirection:"column"},[y("button",[z("&:first-child:not(:last-child)",` - margin-bottom: ${bt}; - margin-left: ${bt}; - margin-right: ${bt}; - border-bottom-left-radius: ${bt}; - border-bottom-right-radius: ${bt}; + margin-bottom: ${mt}; + margin-left: ${mt}; + margin-right: ${mt}; + border-bottom-left-radius: ${mt}; + border-bottom-right-radius: ${mt}; `),z("&:last-child:not(:first-child)",` - margin-top: ${bt}; - margin-left: ${bt}; - margin-right: ${bt}; - border-top-left-radius: ${bt}; - border-top-right-radius: ${bt}; + margin-top: ${mt}; + margin-left: ${mt}; + margin-right: ${mt}; + border-top-left-radius: ${mt}; + border-top-right-radius: ${mt}; `),z("&:not(:first-child):not(:last-child)",` - margin: ${bt}; - border-radius: ${bt}; - `),zr("default"),B("ghost",[zr("primary"),zr("info"),zr("success"),zr("warning"),zr("error")])])])]),N5={size:{type:String,default:void 0},vertical:Boolean},h8=ne({name:"ButtonGroup",props:N5,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e);return Do("-button-group",W5,t),Ue(bf,e),{rtlEnabled:Rt("ButtonGroup",o,t),mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return c("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}}),V5={titleFontSize:"22px"},yf=e=>{const{borderRadius:t,fontSize:o,lineHeight:r,textColor2:n,textColor1:i,textColorDisabled:a,dividerColor:l,fontWeightStrong:s,primaryColor:d,baseColor:u,hoverColor:h,cardColor:p,modalColor:g,popoverColor:f}=e;return Object.assign(Object.assign({},V5),{borderRadius:t,borderColor:Ee(p,l),borderColorModal:Ee(g,l),borderColorPopover:Ee(f,l),textColor:n,titleFontWeight:s,titleTextColor:i,dayTextColor:a,fontSize:o,lineHeight:r,dateColorCurrent:d,dateTextColorCurrent:u,cellColorHover:Ee(p,h),cellColorHoverModal:Ee(g,h),cellColorHoverPopover:Ee(f,h),cellColor:p,cellColorModal:g,cellColorPopover:f,barColor:d})},U5={name:"Calendar",common:xe,peers:{Button:At},self:yf},K5=U5,q5={name:"Calendar",common:ke,peers:{Button:jt},self:yf},G5=q5,wf=e=>{const{fontSize:t,boxShadow2:o,popoverColor:r,textColor2:n,borderRadius:i,borderColor:a,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,dividerColor:g}=e;return{panelFontSize:t,boxShadow:o,color:r,textColor:n,borderRadius:i,border:`1px solid ${a}`,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,dividerColor:g}},X5={name:"ColorPicker",common:xe,peers:{Input:Ht,Button:At},self:wf},Y5=X5,Z5={name:"ColorPicker",common:ke,peers:{Input:Jt,Button:jt},self:wf},J5=Z5,Q5={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},Sf=e=>{const{primaryColor:t,borderRadius:o,lineHeight:r,fontSize:n,cardColor:i,textColor2:a,textColor1:l,dividerColor:s,fontWeightStrong:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,closeColorHover:g,closeColorPressed:f,modalColor:v,boxShadow1:m,popoverColor:b,actionColor:C}=e;return Object.assign(Object.assign({},Q5),{lineHeight:r,color:i,colorModal:v,colorPopover:b,colorTarget:t,colorEmbedded:C,colorEmbeddedModal:C,colorEmbeddedPopover:C,textColor:a,titleTextColor:l,borderColor:s,actionColor:C,titleFontWeight:d,closeColorHover:g,closeColorPressed:f,closeBorderRadius:o,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,fontSizeSmall:n,fontSizeMedium:n,fontSizeLarge:n,fontSizeHuge:n,boxShadow:m,borderRadius:o})},ek={name:"Card",common:xe,self:Sf},Tl=ek,tk={name:"Card",common:ke,self(e){const t=Sf(e),{cardColor:o,modalColor:r,popoverColor:n}=e;return t.colorEmbedded=o,t.colorEmbeddedModal=r,t.colorEmbeddedPopover=n,t}},kf=tk,ok=z([y("card",` + margin: ${mt}; + border-radius: ${mt}; + `),zr("default"),B("ghost",[zr("primary"),zr("info"),zr("success"),zr("warning"),zr("error")])])])]),K5={size:{type:String,default:void 0},vertical:Boolean},b8=re({name:"ButtonGroup",props:K5,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e);return Do("-button-group",U5,t),Ue(bf,e),{rtlEnabled:Rt("ButtonGroup",o,t),mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return c("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}}),G5={titleFontSize:"22px"},wf=e=>{const{borderRadius:t,fontSize:o,lineHeight:r,textColor2:n,textColor1:i,textColorDisabled:a,dividerColor:l,fontWeightStrong:s,primaryColor:d,baseColor:u,hoverColor:h,cardColor:p,modalColor:g,popoverColor:f}=e;return Object.assign(Object.assign({},G5),{borderRadius:t,borderColor:Ee(p,l),borderColorModal:Ee(g,l),borderColorPopover:Ee(f,l),textColor:n,titleFontWeight:s,titleTextColor:i,dayTextColor:a,fontSize:o,lineHeight:r,dateColorCurrent:d,dateTextColorCurrent:u,cellColorHover:Ee(p,h),cellColorHoverModal:Ee(g,h),cellColorHoverPopover:Ee(f,h),cellColor:p,cellColorModal:g,cellColorPopover:f,barColor:d})},q5={name:"Calendar",common:Ce,peers:{Button:Lt},self:wf},X5=q5,Y5={name:"Calendar",common:ke,peers:{Button:Wt},self:wf},Z5=Y5,Sf=e=>{const{fontSize:t,boxShadow2:o,popoverColor:r,textColor2:n,borderRadius:i,borderColor:a,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,dividerColor:g}=e;return{panelFontSize:t,boxShadow:o,color:r,textColor:n,borderRadius:i,border:`1px solid ${a}`,heightSmall:l,heightMedium:s,heightLarge:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,dividerColor:g}},J5={name:"ColorPicker",common:Ce,peers:{Input:Ht,Button:Lt},self:Sf},Q5=J5,ek={name:"ColorPicker",common:ke,peers:{Input:Jt,Button:Wt},self:Sf},tk=ek,ok={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},kf=e=>{const{primaryColor:t,borderRadius:o,lineHeight:r,fontSize:n,cardColor:i,textColor2:a,textColor1:l,dividerColor:s,fontWeightStrong:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,closeColorHover:g,closeColorPressed:f,modalColor:v,boxShadow1:b,popoverColor:m,actionColor:C}=e;return Object.assign(Object.assign({},ok),{lineHeight:r,color:i,colorModal:v,colorPopover:m,colorTarget:t,colorEmbedded:C,colorEmbeddedModal:C,colorEmbeddedPopover:C,textColor:a,titleTextColor:l,borderColor:s,actionColor:C,titleFontWeight:d,closeColorHover:g,closeColorPressed:f,closeBorderRadius:o,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,fontSizeSmall:n,fontSizeMedium:n,fontSizeLarge:n,fontSizeHuge:n,boxShadow:b,borderRadius:o})},rk={name:"Card",common:Ce,self:kf},Bl=rk,nk={name:"Card",common:ke,self(e){const t=kf(e),{cardColor:o,modalColor:r,popoverColor:n}=e;return t.colorEmbedded=o,t.colorEmbeddedModal=r,t.colorEmbeddedPopover=n,t}},$f=nk,ik=z([y("card",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; @@ -1220,10 +1220,10 @@ ${t} background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[gc({background:"var(--n-color-modal)"}),B("hoverable",[z("&:hover","box-shadow: var(--n-box-shadow);")]),B("content-segmented",[z(">",[M("content",{paddingTop:"var(--n-padding-bottom)"})])]),B("content-soft-segmented",[z(">",[M("content",` + `,[bc({background:"var(--n-color-modal)"}),B("hoverable",[z("&:hover","box-shadow: var(--n-box-shadow);")]),B("content-segmented",[z(">",[O("content",{paddingTop:"var(--n-padding-bottom)"})])]),B("content-soft-segmented",[z(">",[O("content",` margin: 0 var(--n-padding-left); padding: var(--n-padding-bottom) 0; - `)])]),B("footer-segmented",[z(">",[M("footer",{paddingTop:"var(--n-padding-bottom)"})])]),B("footer-soft-segmented",[z(">",[M("footer",` + `)])]),B("footer-segmented",[z(">",[O("footer",{paddingTop:"var(--n-padding-bottom)"})])]),B("footer-soft-segmented",[z(">",[O("footer",` padding: var(--n-padding-bottom) 0; margin: 0 var(--n-padding-left); `)])]),z(">",[y("card-header",` @@ -1236,36 +1236,36 @@ ${t} var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left); - `,[M("main",` + `,[O("main",` font-weight: var(--n-title-font-weight); transition: color .3s var(--n-bezier); flex: 1; min-width: 0; color: var(--n-title-text-color); - `),M("extra",` + `),O("extra",` display: flex; align-items: center; font-size: var(--n-font-size); font-weight: 400; transition: color .3s var(--n-bezier); color: var(--n-text-color); - `),M("close",` + `),O("close",` margin: 0 0 0 8px; transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); - `)]),M("action",` + `)]),O("action",` box-sizing: border-box; transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier); background-clip: padding-box; background-color: var(--n-action-color); - `),M("content","flex: 1; min-width: 0;"),M("content, footer",` + `),O("content","flex: 1; min-width: 0;"),O("content, footer",` box-sizing: border-box; padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left); font-size: var(--n-font-size); - `,[z("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),M("action",` + `,[z("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),O("action",` background-color: var(--n-action-color); padding: var(--n-padding-bottom) var(--n-padding-left); border-bottom-left-radius: var(--n-border-radius); @@ -1279,7 +1279,7 @@ ${t} width: 100%; `)]),B("bordered",` border: 1px solid var(--n-border-color); - `,[z("&:target","border-color: var(--n-color-target);")]),B("action-segmented",[z(">",[M("action",[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("content-segmented, content-soft-segmented",[z(">",[M("content",{transition:"border-color 0.3s var(--n-bezier)"},[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("footer-segmented, footer-soft-segmented",[z(">",[M("footer",{transition:"border-color 0.3s var(--n-bezier)"},[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("embedded",` + `,[z("&:target","border-color: var(--n-color-target);")]),B("action-segmented",[z(">",[O("action",[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("content-segmented, content-soft-segmented",[z(">",[O("content",{transition:"border-color 0.3s var(--n-bezier)"},[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("footer-segmented, footer-soft-segmented",[z(">",[O("footer",{transition:"border-color 0.3s var(--n-bezier)"},[z("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),B("embedded",` background-color: var(--n-color-embedded); `)]),Kr(y("card",` background: var(--n-color-modal); @@ -1289,7 +1289,7 @@ ${t} background: var(--n-color-popover); `,[B("embedded",` background-color: var(--n-color-embedded-popover); - `)]))]),Bl={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},rk=Uo(Bl),nk=Object.assign(Object.assign({},we.props),Bl),ik=ne({name:"Card",props:nk,setup(e){const t=()=>{const{onClose:d}=e;d&&ie(d)},{inlineThemeDisabled:o,mergedClsPrefixRef:r,mergedRtlRef:n}=He(e),i=we("Card","-card",ok,Tl,e,r),a=Rt("Card",n,r),l=T(()=>{const{size:d}=e,{self:{color:u,colorModal:h,colorTarget:p,textColor:g,titleTextColor:f,titleFontWeight:v,borderColor:m,actionColor:b,borderRadius:C,lineHeight:R,closeIconColor:$,closeIconColorHover:S,closeIconColorPressed:w,closeColorHover:x,closeColorPressed:k,closeBorderRadius:P,closeIconSize:I,closeSize:A,boxShadow:O,colorPopover:L,colorEmbedded:H,colorEmbeddedModal:_,colorEmbeddedPopover:U,[oe("padding",d)]:N,[oe("fontSize",d)]:te,[oe("titleFontSize",d)]:fe},common:{cubicBezierEaseInOut:ae}}=i.value,{top:Y,left:j,bottom:X}=_t(N);return{"--n-bezier":ae,"--n-border-radius":C,"--n-color":u,"--n-color-modal":h,"--n-color-popover":L,"--n-color-embedded":H,"--n-color-embedded-modal":_,"--n-color-embedded-popover":U,"--n-color-target":p,"--n-text-color":g,"--n-line-height":R,"--n-action-color":b,"--n-title-text-color":f,"--n-title-font-weight":v,"--n-close-icon-color":$,"--n-close-icon-color-hover":S,"--n-close-icon-color-pressed":w,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-border-color":m,"--n-box-shadow":O,"--n-padding-top":Y,"--n-padding-bottom":X,"--n-padding-left":j,"--n-font-size":te,"--n-title-font-size":fe,"--n-close-size":A,"--n-close-icon-size":I,"--n-close-border-radius":P}}),s=o?Qe("card",T(()=>e.size[0]),l,e):void 0;return{rtlEnabled:a,mergedClsPrefix:r,mergedTheme:i,handleCloseClick:t,cssVars:o?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{segmented:e,bordered:t,hoverable:o,mergedClsPrefix:r,rtlEnabled:n,onRender:i,embedded:a,tag:l,$slots:s}=this;return i==null||i(),c(l,{class:[`${r}-card`,this.themeClass,a&&`${r}-card--embedded`,{[`${r}-card--rtl`]:n,[`${r}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${r}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${r}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${r}-card--bordered`]:t,[`${r}-card--hoverable`]:o}],style:this.cssVars,role:this.role},Ze(s.cover,d=>d&&c("div",{class:`${r}-card-cover`,role:"none"},d)),Ze(s.header,d=>d||this.title||this.closable?c("div",{class:[`${r}-card-header`,this.headerClass],style:this.headerStyle},c("div",{class:`${r}-card-header__main`,role:"heading"},d||this.title),Ze(s["header-extra"],u=>u&&c("div",{class:[`${r}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?c(mr,{clsPrefix:r,class:`${r}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Ze(s.default,d=>d&&c("div",{class:[`${r}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},d)),Ze(s.footer,d=>d&&[c("div",{class:[`${r}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},d)]),Ze(s.action,d=>d&&c("div",{class:`${r}-card__action`,role:"none"},d)))}}),$f=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),ak={name:"Carousel",common:xe,self:$f},lk=ak,sk={name:"Carousel",common:ke,self:$f},dk=sk,ck={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},Rf=e=>{const{baseColor:t,inputColorDisabled:o,cardColor:r,modalColor:n,popoverColor:i,textColorDisabled:a,borderColor:l,primaryColor:s,textColor2:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,borderRadiusSmall:g,lineHeight:f}=e;return Object.assign(Object.assign({},ck),{labelLineHeight:f,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,borderRadius:g,color:t,colorChecked:s,colorDisabled:o,colorDisabledChecked:o,colorTableHeader:r,colorTableHeaderModal:n,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${l}`,borderDisabled:`1px solid ${l}`,borderDisabledChecked:`1px solid ${l}`,borderChecked:`1px solid ${s}`,borderFocus:`1px solid ${s}`,boxShadowFocus:`0 0 0 2px ${se(s,{alpha:.3})}`,textColor:d,textColorDisabled:a})},uk={name:"Checkbox",common:xe,self:Rf},yr=uk,fk={name:"Checkbox",common:ke,self(e){const{cardColor:t}=e,o=Rf(e);return o.color="#0000",o.checkMarkColor=t,o}},Zr=fk,Pf=e=>{const{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n,textColor3:i,primaryColor:a,textColorDisabled:l,dividerColor:s,hoverColor:d,fontSizeMedium:u,heightMedium:h}=e;return{menuBorderRadius:t,menuColor:r,menuBoxShadow:o,menuDividerColor:s,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:h,optionFontSize:u,optionColorHover:d,optionTextColor:n,optionTextColorActive:a,optionTextColorDisabled:l,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},hk={name:"Cascader",common:xe,peers:{InternalSelectMenu:Xr,InternalSelection:Li,Scrollbar:Et,Checkbox:yr,Empty:$o},self:Pf},pk=hk,vk={name:"Cascader",common:ke,peers:{InternalSelectMenu:En,InternalSelection:Pl,Scrollbar:Dt,Checkbox:Zr,Empty:$o},self:Pf},gk=vk,bk=c("svg",{viewBox:"0 0 64 64",class:"check-icon"},c("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),mk=c("svg",{viewBox:"0 0 100 100",class:"line-icon"},c("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),zf="n-checkbox-group",xk={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},Ck=ne({name:"CheckboxGroup",props:xk,setup(e){const{mergedClsPrefixRef:t}=He(e),o=So(e),{mergedSizeRef:r,mergedDisabledRef:n}=o,i=E(e.defaultValue),a=T(()=>e.value),l=$t(a,i),s=T(()=>{var h;return((h=l.value)===null||h===void 0?void 0:h.length)||0}),d=T(()=>Array.isArray(l.value)?new Set(l.value):new Set);function u(h,p){const{nTriggerFormInput:g,nTriggerFormChange:f}=o,{onChange:v,"onUpdate:value":m,onUpdateValue:b}=e;if(Array.isArray(l.value)){const C=Array.from(l.value),R=C.findIndex($=>$===p);h?~R||(C.push(p),b&&ie(b,C,{actionType:"check",value:p}),m&&ie(m,C,{actionType:"check",value:p}),g(),f(),i.value=C,v&&ie(v,C)):~R&&(C.splice(R,1),b&&ie(b,C,{actionType:"uncheck",value:p}),m&&ie(m,C,{actionType:"uncheck",value:p}),v&&ie(v,C),i.value=C,g(),f())}else h?(b&&ie(b,[p],{actionType:"check",value:p}),m&&ie(m,[p],{actionType:"check",value:p}),v&&ie(v,[p]),i.value=[p],g(),f()):(b&&ie(b,[],{actionType:"uncheck",value:p}),m&&ie(m,[],{actionType:"uncheck",value:p}),v&&ie(v,[]),i.value=[],g(),f())}return Ue(zf,{checkedCountRef:s,maxRef:he(e,"max"),minRef:he(e,"min"),valueSetRef:d,disabledRef:n,mergedSizeRef:r,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return c("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),yk=z([y("checkbox",` + `)]))]),Ol={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},ak=Uo(Ol),lk=Object.assign(Object.assign({},be.props),Ol),sk=re({name:"Card",props:lk,setup(e){const t=()=>{const{onClose:d}=e;d&&ie(d)},{inlineThemeDisabled:o,mergedClsPrefixRef:r,mergedRtlRef:n}=He(e),i=be("Card","-card",ik,Bl,e,r),a=Rt("Card",n,r),l=T(()=>{const{size:d}=e,{self:{color:u,colorModal:h,colorTarget:p,textColor:g,titleTextColor:f,titleFontWeight:v,borderColor:b,actionColor:m,borderRadius:C,lineHeight:R,closeIconColor:$,closeIconColorHover:S,closeIconColorPressed:w,closeColorHover:x,closeColorPressed:k,closeBorderRadius:P,closeIconSize:M,closeSize:L,boxShadow:I,colorPopover:A,colorEmbedded:H,colorEmbeddedModal:_,colorEmbeddedPopover:U,[oe("padding",d)]:N,[oe("fontSize",d)]:ee,[oe("titleFontSize",d)]:ue},common:{cubicBezierEaseInOut:ae}}=i.value,{top:Y,left:W,bottom:X}=_t(N);return{"--n-bezier":ae,"--n-border-radius":C,"--n-color":u,"--n-color-modal":h,"--n-color-popover":A,"--n-color-embedded":H,"--n-color-embedded-modal":_,"--n-color-embedded-popover":U,"--n-color-target":p,"--n-text-color":g,"--n-line-height":R,"--n-action-color":m,"--n-title-text-color":f,"--n-title-font-weight":v,"--n-close-icon-color":$,"--n-close-icon-color-hover":S,"--n-close-icon-color-pressed":w,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-border-color":b,"--n-box-shadow":I,"--n-padding-top":Y,"--n-padding-bottom":X,"--n-padding-left":W,"--n-font-size":ee,"--n-title-font-size":ue,"--n-close-size":L,"--n-close-icon-size":M,"--n-close-border-radius":P}}),s=o?Qe("card",T(()=>e.size[0]),l,e):void 0;return{rtlEnabled:a,mergedClsPrefix:r,mergedTheme:i,handleCloseClick:t,cssVars:o?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{segmented:e,bordered:t,hoverable:o,mergedClsPrefix:r,rtlEnabled:n,onRender:i,embedded:a,tag:l,$slots:s}=this;return i==null||i(),c(l,{class:[`${r}-card`,this.themeClass,a&&`${r}-card--embedded`,{[`${r}-card--rtl`]:n,[`${r}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${r}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${r}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${r}-card--bordered`]:t,[`${r}-card--hoverable`]:o}],style:this.cssVars,role:this.role},Ze(s.cover,d=>d&&c("div",{class:`${r}-card-cover`,role:"none"},d)),Ze(s.header,d=>d||this.title||this.closable?c("div",{class:[`${r}-card-header`,this.headerClass],style:this.headerStyle},c("div",{class:`${r}-card-header__main`,role:"heading"},d||this.title),Ze(s["header-extra"],u=>u&&c("div",{class:[`${r}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?c(br,{clsPrefix:r,class:`${r}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Ze(s.default,d=>d&&c("div",{class:[`${r}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},d)),Ze(s.footer,d=>d&&[c("div",{class:[`${r}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},d)]),Ze(s.action,d=>d&&c("div",{class:`${r}-card__action`,role:"none"},d)))}}),Rf=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),dk={name:"Carousel",common:Ce,self:Rf},ck=dk,uk={name:"Carousel",common:ke,self:Rf},fk=uk,hk={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},Pf=e=>{const{baseColor:t,inputColorDisabled:o,cardColor:r,modalColor:n,popoverColor:i,textColorDisabled:a,borderColor:l,primaryColor:s,textColor2:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,borderRadiusSmall:g,lineHeight:f}=e;return Object.assign(Object.assign({},hk),{labelLineHeight:f,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:p,borderRadius:g,color:t,colorChecked:s,colorDisabled:o,colorDisabledChecked:o,colorTableHeader:r,colorTableHeaderModal:n,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${l}`,borderDisabled:`1px solid ${l}`,borderDisabledChecked:`1px solid ${l}`,borderChecked:`1px solid ${s}`,borderFocus:`1px solid ${s}`,boxShadowFocus:`0 0 0 2px ${se(s,{alpha:.3})}`,textColor:d,textColorDisabled:a})},pk={name:"Checkbox",common:Ce,self:Pf},yr=pk,vk={name:"Checkbox",common:ke,self(e){const{cardColor:t}=e,o=Pf(e);return o.color="#0000",o.checkMarkColor=t,o}},Zr=vk,zf=e=>{const{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n,textColor3:i,primaryColor:a,textColorDisabled:l,dividerColor:s,hoverColor:d,fontSizeMedium:u,heightMedium:h}=e;return{menuBorderRadius:t,menuColor:r,menuBoxShadow:o,menuDividerColor:s,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:h,optionFontSize:u,optionColorHover:d,optionTextColor:n,optionTextColorActive:a,optionTextColorDisabled:l,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},gk={name:"Cascader",common:Ce,peers:{InternalSelectMenu:Xr,InternalSelection:Ai,Scrollbar:Et,Checkbox:yr,Empty:Ro},self:zf},mk=gk,bk={name:"Cascader",common:ke,peers:{InternalSelectMenu:En,InternalSelection:zl,Scrollbar:Dt,Checkbox:Zr,Empty:Ro},self:zf},xk=bk,Ck=c("svg",{viewBox:"0 0 64 64",class:"check-icon"},c("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),yk=c("svg",{viewBox:"0 0 100 100",class:"line-icon"},c("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),Tf="n-checkbox-group",wk={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},Sk=re({name:"CheckboxGroup",props:wk,setup(e){const{mergedClsPrefixRef:t}=He(e),o=ko(e),{mergedSizeRef:r,mergedDisabledRef:n}=o,i=E(e.defaultValue),a=T(()=>e.value),l=$t(a,i),s=T(()=>{var h;return((h=l.value)===null||h===void 0?void 0:h.length)||0}),d=T(()=>Array.isArray(l.value)?new Set(l.value):new Set);function u(h,p){const{nTriggerFormInput:g,nTriggerFormChange:f}=o,{onChange:v,"onUpdate:value":b,onUpdateValue:m}=e;if(Array.isArray(l.value)){const C=Array.from(l.value),R=C.findIndex($=>$===p);h?~R||(C.push(p),m&&ie(m,C,{actionType:"check",value:p}),b&&ie(b,C,{actionType:"check",value:p}),g(),f(),i.value=C,v&&ie(v,C)):~R&&(C.splice(R,1),m&&ie(m,C,{actionType:"uncheck",value:p}),b&&ie(b,C,{actionType:"uncheck",value:p}),v&&ie(v,C),i.value=C,g(),f())}else h?(m&&ie(m,[p],{actionType:"check",value:p}),b&&ie(b,[p],{actionType:"check",value:p}),v&&ie(v,[p]),i.value=[p],g(),f()):(m&&ie(m,[],{actionType:"uncheck",value:p}),b&&ie(b,[],{actionType:"uncheck",value:p}),v&&ie(v,[]),i.value=[],g(),f())}return Ue(Tf,{checkedCountRef:s,maxRef:he(e,"max"),minRef:he(e,"min"),valueSetRef:d,disabledRef:n,mergedSizeRef:r,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return c("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),kk=z([y("checkbox",` font-size: var(--n-font-size); outline: none; cursor: pointer; @@ -1299,7 +1299,7 @@ ${t} word-break: break-word; line-height: var(--n-size); --n-merged-color-table: var(--n-color-table); - `,[B("show-label","line-height: var(--n-label-line-height);"),z("&:hover",[y("checkbox-box",[M("border","border: var(--n-border-checked);")])]),z("&:focus:not(:active)",[y("checkbox-box",[M("border",` + `,[B("show-label","line-height: var(--n-label-line-height);"),z("&:hover",[y("checkbox-box",[O("border","border: var(--n-border-checked);")])]),z("&:focus:not(:active)",[y("checkbox-box",[O("border",` border: var(--n-border-focus); box-shadow: var(--n-box-shadow-focus); `)])]),B("inside-table",[y("checkbox-box",` @@ -1315,22 +1315,22 @@ ${t} `),z(".line-icon",` opacity: 1; transform: scale(1); - `)])])]),B("checked, indeterminate",[z("&:focus:not(:active)",[y("checkbox-box",[M("border",` + `)])])]),B("checked, indeterminate",[z("&:focus:not(:active)",[y("checkbox-box",[O("border",` border: var(--n-border-checked); box-shadow: var(--n-box-shadow-focus); `)])]),y("checkbox-box",` background-color: var(--n-color-checked); border-left: 0; border-top: 0; - `,[M("border",{border:"var(--n-border-checked)"})])]),B("disabled",{cursor:"not-allowed"},[B("checked",[y("checkbox-box",` + `,[O("border",{border:"var(--n-border-checked)"})])]),B("disabled",{cursor:"not-allowed"},[B("checked",[y("checkbox-box",` background-color: var(--n-color-disabled-checked); - `,[M("border",{border:"var(--n-border-disabled-checked)"}),y("checkbox-icon",[z(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),y("checkbox-box",` + `,[O("border",{border:"var(--n-border-disabled-checked)"}),y("checkbox-icon",[z(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),y("checkbox-box",` background-color: var(--n-color-disabled); - `,[M("border",` + `,[O("border",` border: var(--n-border-disabled); `),y("checkbox-icon",[z(".check-icon, .line-icon",` fill: var(--n-check-mark-color-disabled); - `)])]),M("label",` + `)])]),O("label",` color: var(--n-text-color-disabled); `)]),y("checkbox-box-wrapper",` position: relative; @@ -1351,7 +1351,7 @@ ${t} border-radius: var(--n-border-radius); background-color: var(--n-color); transition: background-color 0.3s var(--n-bezier); - `,[M("border",` + `,[O("border",` transition: border-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); @@ -1382,7 +1382,7 @@ ${t} transform 0.3s var(--n-bezier), opacity 0.3s var(--n-bezier), border-color 0.3s var(--n-bezier); - `),Wt({left:"1px",top:"1px"})])]),M("label",` + `),Nt({left:"1px",top:"1px"})])]),O("label",` color: var(--n-text-color); transition: color .3s var(--n-bezier); user-select: none; @@ -1393,9 +1393,9 @@ ${t} --n-merged-color-table: var(--n-color-table-modal); `)),Tn(y("checkbox",` --n-merged-color-table: var(--n-color-table-popover); - `))]),wk=Object.assign(Object.assign({},we.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),Ml=ne({name:"Checkbox",props:wk,setup(e){const t=E(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=So(e,{mergedSize(w){const{size:x}=e;if(x!==void 0)return x;if(s){const{value:k}=s.mergedSizeRef;if(k!==void 0)return k}if(w){const{mergedSize:k}=w;if(k!==void 0)return k.value}return"medium"},mergedDisabled(w){const{disabled:x}=e;if(x!==void 0)return x;if(s){if(s.disabledRef.value)return!0;const{maxRef:{value:k},checkedCountRef:P}=s;if(k!==void 0&&P.value>=k&&!p.value)return!0;const{minRef:{value:I}}=s;if(I!==void 0&&P.value<=I&&p.value)return!0}return w?w.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:l}=i,s=Te(zf,null),d=E(e.defaultChecked),u=he(e,"checked"),h=$t(u,d),p=Ye(()=>{if(s){const w=s.valueSetRef.value;return w&&e.value!==void 0?w.has(e.value):!1}else return h.value===e.checkedValue}),g=we("Checkbox","-checkbox",yk,yr,e,o);function f(w){if(s&&e.value!==void 0)s.toggleCheckbox(!p.value,e.value);else{const{onChange:x,"onUpdate:checked":k,onUpdateChecked:P}=e,{nTriggerFormInput:I,nTriggerFormChange:A}=i,O=p.value?e.uncheckedValue:e.checkedValue;k&&ie(k,O,w),P&&ie(P,O,w),x&&ie(x,O,w),I(),A(),d.value=O}}function v(w){a.value||f(w)}function m(w){if(!a.value)switch(w.key){case" ":case"Enter":f(w)}}function b(w){switch(w.key){case" ":w.preventDefault()}}const C={focus:()=>{var w;(w=t.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=t.value)===null||w===void 0||w.blur()}},R=Rt("Checkbox",n,o),$=T(()=>{const{value:w}=l,{common:{cubicBezierEaseInOut:x},self:{borderRadius:k,color:P,colorChecked:I,colorDisabled:A,colorTableHeader:O,colorTableHeaderModal:L,colorTableHeaderPopover:H,checkMarkColor:_,checkMarkColorDisabled:U,border:N,borderFocus:te,borderDisabled:fe,borderChecked:ae,boxShadowFocus:Y,textColor:j,textColorDisabled:X,checkMarkColorDisabledChecked:re,colorDisabledChecked:le,borderDisabledChecked:ge,labelPadding:me,labelLineHeight:Ae,labelFontWeight:q,[oe("fontSize",w)]:ve,[oe("size",w)]:$e}}=g.value;return{"--n-label-line-height":Ae,"--n-label-font-weight":q,"--n-size":$e,"--n-bezier":x,"--n-border-radius":k,"--n-border":N,"--n-border-checked":ae,"--n-border-focus":te,"--n-border-disabled":fe,"--n-border-disabled-checked":ge,"--n-box-shadow-focus":Y,"--n-color":P,"--n-color-checked":I,"--n-color-table":O,"--n-color-table-modal":L,"--n-color-table-popover":H,"--n-color-disabled":A,"--n-color-disabled-checked":le,"--n-text-color":j,"--n-text-color-disabled":X,"--n-check-mark-color":_,"--n-check-mark-color-disabled":U,"--n-check-mark-color-disabled-checked":re,"--n-font-size":ve,"--n-label-padding":me}}),S=r?Qe("checkbox",T(()=>l.value[0]),$,e):void 0;return Object.assign(i,C,{rtlEnabled:R,selfRef:t,mergedClsPrefix:o,mergedDisabled:a,renderedChecked:p,mergedTheme:g,labelId:Vo(),handleClick:v,handleKeyUp:m,handleKeyDown:b,cssVars:r?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender})},render(){var e;const{$slots:t,renderedChecked:o,mergedDisabled:r,indeterminate:n,privateInsideTable:i,cssVars:a,labelId:l,label:s,mergedClsPrefix:d,focusable:u,handleKeyUp:h,handleKeyDown:p,handleClick:g}=this;(e=this.onRender)===null||e===void 0||e.call(this);const f=Ze(t.default,v=>s||v?c("span",{class:`${d}-checkbox__label`,id:l},s||v):null);return c("div",{ref:"selfRef",class:[`${d}-checkbox`,this.themeClass,this.rtlEnabled&&`${d}-checkbox--rtl`,o&&`${d}-checkbox--checked`,r&&`${d}-checkbox--disabled`,n&&`${d}-checkbox--indeterminate`,i&&`${d}-checkbox--inside-table`,f&&`${d}-checkbox--show-label`],tabindex:r||!u?void 0:0,role:"checkbox","aria-checked":n?"mixed":o,"aria-labelledby":l,style:a,onKeyup:h,onKeydown:p,onClick:g,onMousedown:()=>{tt("selectstart",window,v=>{v.preventDefault()},{once:!0})}},c("div",{class:`${d}-checkbox-box-wrapper`}," ",c("div",{class:`${d}-checkbox-box`},c(br,null,{default:()=>this.indeterminate?c("div",{key:"indeterminate",class:`${d}-checkbox-icon`},mk):c("div",{key:"check",class:`${d}-checkbox-icon`},bk)}),c("div",{class:`${d}-checkbox-box__border`}))),f)}}),Sk={name:"Code",common:ke,self(e){const{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:n}}},Tf=Sk,kk=e=>{const{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:n}},$k={name:"Code",common:xe,self:kk},Bf=$k,Mf=e=>{const{fontWeight:t,textColor1:o,textColor2:r,textColorDisabled:n,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:o,titleTextColorDisabled:n,fontSize:a,textColor:r,arrowColor:r,arrowColorDisabled:n,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},Rk={name:"Collapse",common:xe,self:Mf},Pk=Rk,zk={name:"Collapse",common:ke,self:Mf},Tk=zk,Of=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},Bk={name:"CollapseTransition",common:xe,self:Of},Mk=Bk,Ok={name:"CollapseTransition",common:ke,self:Of},Ik=Ok,Fk={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:$n},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(yo("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},p8=ne({name:"ConfigProvider",alias:["App"],props:Fk,setup(e){const t=Te(lo,null),o=T(()=>{const{theme:f}=e;if(f===null)return;const v=t==null?void 0:t.mergedThemeRef.value;return f===void 0?v:v===void 0?f:Object.assign({},v,f)}),r=T(()=>{const{themeOverrides:f}=e;if(f!==null){if(f===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const v=t==null?void 0:t.mergedThemeOverridesRef.value;return v===void 0?f:Mr({},v,f)}}}),n=Ye(()=>{const{namespace:f}=e;return f===void 0?t==null?void 0:t.mergedNamespaceRef.value:f}),i=Ye(()=>{const{bordered:f}=e;return f===void 0?t==null?void 0:t.mergedBorderedRef.value:f}),a=T(()=>{const{icons:f}=e;return f===void 0?t==null?void 0:t.mergedIconsRef.value:f}),l=T(()=>{const{componentOptions:f}=e;return f!==void 0?f:t==null?void 0:t.mergedComponentPropsRef.value}),s=T(()=>{const{clsPrefix:f}=e;return f!==void 0?f:t?t.mergedClsPrefixRef.value:$n}),d=T(()=>{var f;const{rtl:v}=e;if(v===void 0)return t==null?void 0:t.mergedRtlRef.value;const m={};for(const b of v)m[b.name]=Kl(b),(f=b.peers)===null||f===void 0||f.forEach(C=>{C.name in m||(m[C.name]=Kl(C))});return m}),u=T(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),h=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),p=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),g=T(()=>{const{value:f}=o,{value:v}=r,m=v&&Object.keys(v).length!==0,b=f==null?void 0:f.name;return b?m?`${b}-${mn(JSON.stringify(r.value))}`:b:m?mn(JSON.stringify(r.value)):""});return Ue(lo,{mergedThemeHashRef:g,mergedBreakpointsRef:u,mergedRtlRef:d,mergedIconsRef:a,mergedComponentPropsRef:l,mergedBorderedRef:i,mergedNamespaceRef:n,mergedClsPrefixRef:s,mergedLocaleRef:T(()=>{const{locale:f}=e;if(f!==null)return f===void 0?t==null?void 0:t.mergedLocaleRef.value:f}),mergedDateLocaleRef:T(()=>{const{dateLocale:f}=e;if(f!==null)return f===void 0?t==null?void 0:t.mergedDateLocaleRef.value:f}),mergedHljsRef:T(()=>{const{hljs:f}=e;return f===void 0?t==null?void 0:t.mergedHljsRef.value:f}),mergedKatexRef:T(()=>{const{katex:f}=e;return f===void 0?t==null?void 0:t.mergedKatexRef.value:f}),mergedThemeRef:o,mergedThemeOverridesRef:r,inlineThemeDisabled:h||!1,preflightStyleDisabled:p||!1}),{mergedClsPrefix:s,mergedBordered:i,mergedNamespace:n,mergedTheme:o,mergedThemeOverrides:r}},render(){var e,t,o,r;return this.abstract?(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o):c(this.as||this.tag,{class:`${this.mergedClsPrefix||$n}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),Ek={duration:{type:Number,default:0},active:{type:Boolean,default:!0},precision:{type:Number,default:0},render:Function,onFinish:Function},v8=ne({name:"Countdown",props:Ek,setup(e){let t=null,o=0,r=!1;const n=E(0);vt(()=>{n.value=e.duration});let i=-1;function a(g){return e.duration-o+i-g}function l(g){const f=Math.floor(g/36e5),v=Math.floor(g%36e5/6e4),m=Math.floor(g%6e4/1e3),b=Math.floor(g%1e3);return{hours:f,minutes:v,seconds:m,milliseconds:b}}function s(g){const{hours:f,minutes:v,seconds:m,milliseconds:b}=g,{precision:C}=e;switch(C){case 0:return`${String(f).padStart(2,"0")}:${String(v).padStart(2,"0")}:${String(m).padStart(2,"0")}`;default:return`${String(f).padStart(2,"0")}:${String(v).padStart(2,"0")}:${String(m).padStart(2,"0")}.${String(Math.floor(b/(C===1?100:C===2?10:1))).padStart(C,"0")}`}}const d=()=>{var g;const{precision:f}=e,v=a(performance.now());if(v<=0){n.value=0,u(),r||(r=!0,(g=e.onFinish)===null||g===void 0||g.call(e));return}let m;switch(f){case 3:case 2:m=v%34;break;case 1:m=v%100;break;default:m=v%1e3}n.value=v,t=window.setTimeout(()=>{d()},m)},u=()=>{t!==null&&(window.clearTimeout(t),t=null)};gt(()=>{vt(()=>{if(e.active)i=performance.now(),d();else{const g=performance.now();i!==-1&&(o+=g-i),u()}})}),dt(()=>{u()});function h(){n.value=e.duration,o=0,i=performance.now(),e.active&&r&&d(),r=!1}return Object.assign({reset:h},{distance:n,getTimeInfo:l,getDisplayValue:s})},render(){const{render:e,precision:t,distance:o,getTimeInfo:r,getDisplayValue:n}=this;let i;switch(t){case 0:i=r(o+999),i.milliseconds=0;break;case 1:i=r(o+99),i.milliseconds=Math.floor(i.milliseconds/100)*100;break;case 2:i=r(o+9),i.milliseconds=Math.floor(i.milliseconds/10)*10;break;case 3:i=r(o)}return e?e(i):n(i)}}),Ak=e=>1-Math.pow(1-e,5);function Lk(e){const{from:t,to:o,duration:r,onUpdate:n,onFinish:i}=e,a=()=>{const s=performance.now(),d=Math.min(s-l,r),u=t+(o-t)*Ak(d/r);if(d===r){i();return}n(u),requestAnimationFrame(a)},l=performance.now();a()}const _k={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},g8=ne({name:"NumberAnimation",props:_k,setup(e){const{localeRef:t}=wo("name"),{duration:o}=e,r=E(e.from),n=T(()=>{const{locale:p}=e;return p!==void 0?p:t.value});let i=!1;const a=p=>{r.value=p},l=()=>{var p;r.value=e.to,i=!1,(p=e.onFinish)===null||p===void 0||p.call(e)},s=(p=e.from,g=e.to)=>{i=!0,r.value=e.from,p!==g&&Lk({from:p,to:g,duration:o,onUpdate:a,onFinish:l})},d=T(()=>{var p;const f=my(r.value,e.precision).toFixed(e.precision).split("."),v=new Intl.NumberFormat(n.value),m=(p=v.formatToParts(.5).find(R=>R.type==="decimal"))===null||p===void 0?void 0:p.value,b=e.showSeparator?v.format(Number(f[0])):f[0],C=f[1];return{integer:b,decimal:C,decimalSeparator:m}});function u(){i||s()}return gt(()=>{vt(()=>{e.active&&s()})}),Object.assign({formattedValue:d},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:o}}=this;return[e,t?o:null,t]}}),Dk={name:"Popselect",common:ke,peers:{Popover:Cr,InternalSelectMenu:En}},If=Dk;function Hk(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const jk={name:"Popselect",common:xe,peers:{Popover:Zo,InternalSelectMenu:Xr},self:Hk},_i=jk,Ff="n-popselect",Wk=y("popselect-menu",` + `))]),$k=Object.assign(Object.assign({},be.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),Ml=re({name:"Checkbox",props:$k,setup(e){const t=E(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=ko(e,{mergedSize(w){const{size:x}=e;if(x!==void 0)return x;if(s){const{value:k}=s.mergedSizeRef;if(k!==void 0)return k}if(w){const{mergedSize:k}=w;if(k!==void 0)return k.value}return"medium"},mergedDisabled(w){const{disabled:x}=e;if(x!==void 0)return x;if(s){if(s.disabledRef.value)return!0;const{maxRef:{value:k},checkedCountRef:P}=s;if(k!==void 0&&P.value>=k&&!p.value)return!0;const{minRef:{value:M}}=s;if(M!==void 0&&P.value<=M&&p.value)return!0}return w?w.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:l}=i,s=Te(Tf,null),d=E(e.defaultChecked),u=he(e,"checked"),h=$t(u,d),p=Ye(()=>{if(s){const w=s.valueSetRef.value;return w&&e.value!==void 0?w.has(e.value):!1}else return h.value===e.checkedValue}),g=be("Checkbox","-checkbox",kk,yr,e,o);function f(w){if(s&&e.value!==void 0)s.toggleCheckbox(!p.value,e.value);else{const{onChange:x,"onUpdate:checked":k,onUpdateChecked:P}=e,{nTriggerFormInput:M,nTriggerFormChange:L}=i,I=p.value?e.uncheckedValue:e.checkedValue;k&&ie(k,I,w),P&&ie(P,I,w),x&&ie(x,I,w),M(),L(),d.value=I}}function v(w){a.value||f(w)}function b(w){if(!a.value)switch(w.key){case" ":case"Enter":f(w)}}function m(w){switch(w.key){case" ":w.preventDefault()}}const C={focus:()=>{var w;(w=t.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=t.value)===null||w===void 0||w.blur()}},R=Rt("Checkbox",n,o),$=T(()=>{const{value:w}=l,{common:{cubicBezierEaseInOut:x},self:{borderRadius:k,color:P,colorChecked:M,colorDisabled:L,colorTableHeader:I,colorTableHeaderModal:A,colorTableHeaderPopover:H,checkMarkColor:_,checkMarkColorDisabled:U,border:N,borderFocus:ee,borderDisabled:ue,borderChecked:ae,boxShadowFocus:Y,textColor:W,textColorDisabled:X,checkMarkColorDisabledChecked:ne,colorDisabledChecked:le,borderDisabledChecked:ge,labelPadding:xe,labelLineHeight:Le,labelFontWeight:G,[oe("fontSize",w)]:ve,[oe("size",w)]:$e}}=g.value;return{"--n-label-line-height":Le,"--n-label-font-weight":G,"--n-size":$e,"--n-bezier":x,"--n-border-radius":k,"--n-border":N,"--n-border-checked":ae,"--n-border-focus":ee,"--n-border-disabled":ue,"--n-border-disabled-checked":ge,"--n-box-shadow-focus":Y,"--n-color":P,"--n-color-checked":M,"--n-color-table":I,"--n-color-table-modal":A,"--n-color-table-popover":H,"--n-color-disabled":L,"--n-color-disabled-checked":le,"--n-text-color":W,"--n-text-color-disabled":X,"--n-check-mark-color":_,"--n-check-mark-color-disabled":U,"--n-check-mark-color-disabled-checked":ne,"--n-font-size":ve,"--n-label-padding":xe}}),S=r?Qe("checkbox",T(()=>l.value[0]),$,e):void 0;return Object.assign(i,C,{rtlEnabled:R,selfRef:t,mergedClsPrefix:o,mergedDisabled:a,renderedChecked:p,mergedTheme:g,labelId:Vo(),handleClick:v,handleKeyUp:b,handleKeyDown:m,cssVars:r?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender})},render(){var e;const{$slots:t,renderedChecked:o,mergedDisabled:r,indeterminate:n,privateInsideTable:i,cssVars:a,labelId:l,label:s,mergedClsPrefix:d,focusable:u,handleKeyUp:h,handleKeyDown:p,handleClick:g}=this;(e=this.onRender)===null||e===void 0||e.call(this);const f=Ze(t.default,v=>s||v?c("span",{class:`${d}-checkbox__label`,id:l},s||v):null);return c("div",{ref:"selfRef",class:[`${d}-checkbox`,this.themeClass,this.rtlEnabled&&`${d}-checkbox--rtl`,o&&`${d}-checkbox--checked`,r&&`${d}-checkbox--disabled`,n&&`${d}-checkbox--indeterminate`,i&&`${d}-checkbox--inside-table`,f&&`${d}-checkbox--show-label`],tabindex:r||!u?void 0:0,role:"checkbox","aria-checked":n?"mixed":o,"aria-labelledby":l,style:a,onKeyup:h,onKeydown:p,onClick:g,onMousedown:()=>{tt("selectstart",window,v=>{v.preventDefault()},{once:!0})}},c("div",{class:`${d}-checkbox-box-wrapper`}," ",c("div",{class:`${d}-checkbox-box`},c(mr,null,{default:()=>this.indeterminate?c("div",{key:"indeterminate",class:`${d}-checkbox-icon`},yk):c("div",{key:"check",class:`${d}-checkbox-icon`},Ck)}),c("div",{class:`${d}-checkbox-box__border`}))),f)}}),Rk={name:"Code",common:ke,self(e){const{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:n}}},Bf=Rk,Pk=e=>{const{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:n}},zk={name:"Code",common:Ce,self:Pk},Of=zk,Mf=e=>{const{fontWeight:t,textColor1:o,textColor2:r,textColorDisabled:n,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:o,titleTextColorDisabled:n,fontSize:a,textColor:r,arrowColor:r,arrowColorDisabled:n,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},Tk={name:"Collapse",common:Ce,self:Mf},Bk=Tk,Ok={name:"Collapse",common:ke,self:Mf},Mk=Ok,If=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},Ik={name:"CollapseTransition",common:Ce,self:If},Fk=Ik,Ek={name:"CollapseTransition",common:ke,self:If},Lk=Ek,Ak={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:$n},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(yo("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},x8=re({name:"ConfigProvider",alias:["App"],props:Ak,setup(e){const t=Te(lo,null),o=T(()=>{const{theme:f}=e;if(f===null)return;const v=t==null?void 0:t.mergedThemeRef.value;return f===void 0?v:v===void 0?f:Object.assign({},v,f)}),r=T(()=>{const{themeOverrides:f}=e;if(f!==null){if(f===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const v=t==null?void 0:t.mergedThemeOverridesRef.value;return v===void 0?f:Or({},v,f)}}}),n=Ye(()=>{const{namespace:f}=e;return f===void 0?t==null?void 0:t.mergedNamespaceRef.value:f}),i=Ye(()=>{const{bordered:f}=e;return f===void 0?t==null?void 0:t.mergedBorderedRef.value:f}),a=T(()=>{const{icons:f}=e;return f===void 0?t==null?void 0:t.mergedIconsRef.value:f}),l=T(()=>{const{componentOptions:f}=e;return f!==void 0?f:t==null?void 0:t.mergedComponentPropsRef.value}),s=T(()=>{const{clsPrefix:f}=e;return f!==void 0?f:t?t.mergedClsPrefixRef.value:$n}),d=T(()=>{var f;const{rtl:v}=e;if(v===void 0)return t==null?void 0:t.mergedRtlRef.value;const b={};for(const m of v)b[m.name]=Gl(m),(f=m.peers)===null||f===void 0||f.forEach(C=>{C.name in b||(b[C.name]=Gl(C))});return b}),u=T(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),h=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),p=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),g=T(()=>{const{value:f}=o,{value:v}=r,b=v&&Object.keys(v).length!==0,m=f==null?void 0:f.name;return m?b?`${m}-${bn(JSON.stringify(r.value))}`:m:b?bn(JSON.stringify(r.value)):""});return Ue(lo,{mergedThemeHashRef:g,mergedBreakpointsRef:u,mergedRtlRef:d,mergedIconsRef:a,mergedComponentPropsRef:l,mergedBorderedRef:i,mergedNamespaceRef:n,mergedClsPrefixRef:s,mergedLocaleRef:T(()=>{const{locale:f}=e;if(f!==null)return f===void 0?t==null?void 0:t.mergedLocaleRef.value:f}),mergedDateLocaleRef:T(()=>{const{dateLocale:f}=e;if(f!==null)return f===void 0?t==null?void 0:t.mergedDateLocaleRef.value:f}),mergedHljsRef:T(()=>{const{hljs:f}=e;return f===void 0?t==null?void 0:t.mergedHljsRef.value:f}),mergedKatexRef:T(()=>{const{katex:f}=e;return f===void 0?t==null?void 0:t.mergedKatexRef.value:f}),mergedThemeRef:o,mergedThemeOverridesRef:r,inlineThemeDisabled:h||!1,preflightStyleDisabled:p||!1}),{mergedClsPrefix:s,mergedBordered:i,mergedNamespace:n,mergedTheme:o,mergedThemeOverrides:r}},render(){var e,t,o,r;return this.abstract?(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o):c(this.as||this.tag,{class:`${this.mergedClsPrefix||$n}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),_k={duration:{type:Number,default:0},active:{type:Boolean,default:!0},precision:{type:Number,default:0},render:Function,onFinish:Function},C8=re({name:"Countdown",props:_k,setup(e){let t=null,o=0,r=!1;const n=E(0);pt(()=>{n.value=e.duration});let i=-1;function a(g){return e.duration-o+i-g}function l(g){const f=Math.floor(g/36e5),v=Math.floor(g%36e5/6e4),b=Math.floor(g%6e4/1e3),m=Math.floor(g%1e3);return{hours:f,minutes:v,seconds:b,milliseconds:m}}function s(g){const{hours:f,minutes:v,seconds:b,milliseconds:m}=g,{precision:C}=e;switch(C){case 0:return`${String(f).padStart(2,"0")}:${String(v).padStart(2,"0")}:${String(b).padStart(2,"0")}`;default:return`${String(f).padStart(2,"0")}:${String(v).padStart(2,"0")}:${String(b).padStart(2,"0")}.${String(Math.floor(m/(C===1?100:C===2?10:1))).padStart(C,"0")}`}}const d=()=>{var g;const{precision:f}=e,v=a(performance.now());if(v<=0){n.value=0,u(),r||(r=!0,(g=e.onFinish)===null||g===void 0||g.call(e));return}let b;switch(f){case 3:case 2:b=v%34;break;case 1:b=v%100;break;default:b=v%1e3}n.value=v,t=window.setTimeout(()=>{d()},b)},u=()=>{t!==null&&(window.clearTimeout(t),t=null)};gt(()=>{pt(()=>{if(e.active)i=performance.now(),d();else{const g=performance.now();i!==-1&&(o+=g-i),u()}})}),dt(()=>{u()});function h(){n.value=e.duration,o=0,i=performance.now(),e.active&&r&&d(),r=!1}return Object.assign({reset:h},{distance:n,getTimeInfo:l,getDisplayValue:s})},render(){const{render:e,precision:t,distance:o,getTimeInfo:r,getDisplayValue:n}=this;let i;switch(t){case 0:i=r(o+999),i.milliseconds=0;break;case 1:i=r(o+99),i.milliseconds=Math.floor(i.milliseconds/100)*100;break;case 2:i=r(o+9),i.milliseconds=Math.floor(i.milliseconds/10)*10;break;case 3:i=r(o)}return e?e(i):n(i)}}),Dk=e=>1-Math.pow(1-e,5);function Hk(e){const{from:t,to:o,duration:r,onUpdate:n,onFinish:i}=e,a=()=>{const s=performance.now(),d=Math.min(s-l,r),u=t+(o-t)*Dk(d/r);if(d===r){i();return}n(u),requestAnimationFrame(a)},l=performance.now();a()}const Wk={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},y8=re({name:"NumberAnimation",props:Wk,setup(e){const{localeRef:t}=wo("name"),{duration:o}=e,r=E(e.from),n=T(()=>{const{locale:p}=e;return p!==void 0?p:t.value});let i=!1;const a=p=>{r.value=p},l=()=>{var p;r.value=e.to,i=!1,(p=e.onFinish)===null||p===void 0||p.call(e)},s=(p=e.from,g=e.to)=>{i=!0,r.value=e.from,p!==g&&Hk({from:p,to:g,duration:o,onUpdate:a,onFinish:l})},d=T(()=>{var p;const f=yy(r.value,e.precision).toFixed(e.precision).split("."),v=new Intl.NumberFormat(n.value),b=(p=v.formatToParts(.5).find(R=>R.type==="decimal"))===null||p===void 0?void 0:p.value,m=e.showSeparator?v.format(Number(f[0])):f[0],C=f[1];return{integer:m,decimal:C,decimalSeparator:b}});function u(){i||s()}return gt(()=>{pt(()=>{e.active&&s()})}),Object.assign({formattedValue:d},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:o}}=this;return[e,t?o:null,t]}}),Nk={name:"Popselect",common:ke,peers:{Popover:Cr,InternalSelectMenu:En}},Ff=Nk;function jk(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const Vk={name:"Popselect",common:Ce,peers:{Popover:Zo,InternalSelectMenu:Xr},self:jk},_i=Vk,Ef="n-popselect",Uk=y("popselect-menu",` box-shadow: var(--n-menu-box-shadow); -`),Ol={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},Rd=Uo(Ol),Nk=ne({name:"PopselectPanel",props:Ol,setup(e){const t=Te(Ff),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=He(e),n=we("Popselect","-pop-select",Wk,_i,t.props,o),i=T(()=>Ai(e.options,nf("value","children")));function a(p,g){const{onUpdateValue:f,"onUpdate:value":v,onChange:m}=e;f&&ie(f,p,g),v&&ie(v,p,g),m&&ie(m,p,g)}function l(p){d(p.key)}function s(p){!no(p,"action")&&!no(p,"empty")&&!no(p,"header")&&p.preventDefault()}function d(p){const{value:{getNode:g}}=i;if(e.multiple)if(Array.isArray(e.value)){const f=[],v=[];let m=!0;e.value.forEach(b=>{if(b===p){m=!1;return}const C=g(b);C&&(f.push(C.key),v.push(C.rawNode))}),m&&(f.push(p),v.push(g(p).rawNode)),a(f,v)}else{const f=g(p);f&&a([p],[f.rawNode])}else if(e.value===p&&e.cancelable)a(null,null);else{const f=g(p);f&&a(p,f.rawNode);const{"onUpdate:show":v,onUpdateShow:m}=t.props;v&&ie(v,!1),m&&ie(m,!1),t.setShow(!1)}ut(()=>{t.syncPosition()})}Je(he(e,"options"),()=>{ut(()=>{t.syncPosition()})});const u=T(()=>{const{self:{menuBoxShadow:p}}=n.value;return{"--n-menu-box-shadow":p}}),h=r?Qe("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:o,treeMate:i,handleToggle:l,handleMenuMousedown:s,cssVars:r?void 0:u,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),c(Ku,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,o;return((o=(t=this.$slots).header)===null||o===void 0?void 0:o.call(t))||[]},action:()=>{var t,o;return((o=(t=this.$slots).action)===null||o===void 0?void 0:o.call(t))||[]},empty:()=>{var t,o;return((o=(t=this.$slots).empty)===null||o===void 0?void 0:o.call(t))||[]}})}}),Vk=Object.assign(Object.assign(Object.assign(Object.assign({},we.props),fr(ur,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},ur.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),Ol),Uk=ne({name:"Popselect",props:Vk,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(e),o=we("Popselect","-popselect",void 0,_i,e,t),r=E(null);function n(){var l;(l=r.value)===null||l===void 0||l.syncPosition()}function i(l){var s;(s=r.value)===null||s===void 0||s.setShow(l)}return Ue(Ff,{props:e,mergedThemeRef:o,syncPosition:n,setShow:i}),Object.assign(Object.assign({},{syncPosition:n,setShow:i}),{popoverInstRef:r,mergedTheme:o})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(o,r,n,i,a)=>{const{$attrs:l}=this;return c(Nk,Object.assign({},l,{class:[l.class,o],style:[l.style,...n]},Io(this.$props,Rd),{ref:sc(r),onMouseenter:un([i,l.onMouseenter]),onMouseleave:un([a,l.onMouseleave])}),{header:()=>{var s,d;return(d=(s=this.$slots).header)===null||d===void 0?void 0:d.call(s)},action:()=>{var s,d;return(d=(s=this.$slots).action)===null||d===void 0?void 0:d.call(s)},empty:()=>{var s,d;return(d=(s=this.$slots).empty)===null||d===void 0?void 0:d.call(s)}})}};return c(Yr,Object.assign({},fr(this.$props,Rd),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}});function Ef(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const Kk={name:"Select",common:xe,peers:{InternalSelection:Li,InternalSelectMenu:Xr},self:Ef},Il=Kk,qk={name:"Select",common:ke,peers:{InternalSelection:Pl,InternalSelectMenu:En},self:Ef},Af=qk,Gk=z([y("select",` +`),Il={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},zd=Uo(Il),Kk=re({name:"PopselectPanel",props:Il,setup(e){const t=Te(Ef),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=He(e),n=be("Popselect","-pop-select",Uk,_i,t.props,o),i=T(()=>Li(e.options,af("value","children")));function a(p,g){const{onUpdateValue:f,"onUpdate:value":v,onChange:b}=e;f&&ie(f,p,g),v&&ie(v,p,g),b&&ie(b,p,g)}function l(p){d(p.key)}function s(p){!no(p,"action")&&!no(p,"empty")&&!no(p,"header")&&p.preventDefault()}function d(p){const{value:{getNode:g}}=i;if(e.multiple)if(Array.isArray(e.value)){const f=[],v=[];let b=!0;e.value.forEach(m=>{if(m===p){b=!1;return}const C=g(m);C&&(f.push(C.key),v.push(C.rawNode))}),b&&(f.push(p),v.push(g(p).rawNode)),a(f,v)}else{const f=g(p);f&&a([p],[f.rawNode])}else if(e.value===p&&e.cancelable)a(null,null);else{const f=g(p);f&&a(p,f.rawNode);const{"onUpdate:show":v,onUpdateShow:b}=t.props;v&&ie(v,!1),b&&ie(b,!1),t.setShow(!1)}ut(()=>{t.syncPosition()})}Je(he(e,"options"),()=>{ut(()=>{t.syncPosition()})});const u=T(()=>{const{self:{menuBoxShadow:p}}=n.value;return{"--n-menu-box-shadow":p}}),h=r?Qe("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:o,treeMate:i,handleToggle:l,handleMenuMousedown:s,cssVars:r?void 0:u,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),c(Gu,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,o;return((o=(t=this.$slots).header)===null||o===void 0?void 0:o.call(t))||[]},action:()=>{var t,o;return((o=(t=this.$slots).action)===null||o===void 0?void 0:o.call(t))||[]},empty:()=>{var t,o;return((o=(t=this.$slots).empty)===null||o===void 0?void 0:o.call(t))||[]}})}}),Gk=Object.assign(Object.assign(Object.assign(Object.assign({},be.props),fr(ur,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},ur.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),Il),qk=re({name:"Popselect",props:Gk,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(e),o=be("Popselect","-popselect",void 0,_i,e,t),r=E(null);function n(){var l;(l=r.value)===null||l===void 0||l.syncPosition()}function i(l){var s;(s=r.value)===null||s===void 0||s.setShow(l)}return Ue(Ef,{props:e,mergedThemeRef:o,syncPosition:n,setShow:i}),Object.assign(Object.assign({},{syncPosition:n,setShow:i}),{popoverInstRef:r,mergedTheme:o})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(o,r,n,i,a)=>{const{$attrs:l}=this;return c(Kk,Object.assign({},l,{class:[l.class,o],style:[l.style,...n]},Fo(this.$props,zd),{ref:cc(r),onMouseenter:un([i,l.onMouseenter]),onMouseleave:un([a,l.onMouseleave])}),{header:()=>{var s,d;return(d=(s=this.$slots).header)===null||d===void 0?void 0:d.call(s)},action:()=>{var s,d;return(d=(s=this.$slots).action)===null||d===void 0?void 0:d.call(s)},empty:()=>{var s,d;return(d=(s=this.$slots).empty)===null||d===void 0?void 0:d.call(s)}})}};return c(Yr,Object.assign({},fr(this.$props,zd),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}});function Lf(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const Xk={name:"Select",common:Ce,peers:{InternalSelection:Ai,InternalSelectMenu:Xr},self:Lf},Fl=Xk,Yk={name:"Select",common:ke,peers:{InternalSelection:zl,InternalSelectMenu:En},self:Lf},Af=Yk,Zk=z([y("select",` z-index: auto; outline: none; width: 100%; @@ -1403,15 +1403,15 @@ ${t} `),y("select-menu",` margin: 4px 0; box-shadow: var(--n-menu-box-shadow); - `,[Go({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),Xk=Object.assign(Object.assign({},we.props),{to:Vt.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Yk=ne({name:"Select",props:Xk,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:o,namespaceRef:r,inlineThemeDisabled:n}=He(e),i=we("Select","-select",Gk,Il,e,t),a=E(e.defaultValue),l=he(e,"value"),s=$t(l,a),d=E(!1),u=E(""),h=T(()=>{const{valueField:F,childrenField:G}=e,de=nf(F,G);return Ai(O.value,de)}),p=T(()=>G2(I.value,e.valueField,e.childrenField)),g=E(!1),f=$t(he(e,"show"),g),v=E(null),m=E(null),b=E(null),{localeRef:C}=wo("Select"),R=T(()=>{var F;return(F=e.placeholder)!==null&&F!==void 0?F:C.value.placeholder}),$=Cn(e,["items","options"]),S=[],w=E([]),x=E([]),k=E(new Map),P=T(()=>{const{fallbackOption:F}=e;if(F===void 0){const{labelField:G,valueField:de}=e;return Re=>({[G]:String(Re),[de]:Re})}return F===!1?!1:G=>Object.assign(F(G),{value:G})}),I=T(()=>x.value.concat(w.value).concat($.value)),A=T(()=>{const{filter:F}=e;if(F)return F;const{labelField:G,valueField:de}=e;return(Re,Ie)=>{if(!Ie)return!1;const Fe=Ie[G];if(typeof Fe=="string")return ga(Re,Fe);const _e=Ie[de];return typeof _e=="string"?ga(Re,_e):typeof _e=="number"?ga(Re,String(_e)):!1}}),O=T(()=>{if(e.remote)return $.value;{const{value:F}=I,{value:G}=u;return!G.length||!e.filterable?F:q2(F,A.value,G,e.childrenField)}});function L(F){const G=e.remote,{value:de}=k,{value:Re}=p,{value:Ie}=P,Fe=[];return F.forEach(_e=>{if(Re.has(_e))Fe.push(Re.get(_e));else if(G&&de.has(_e))Fe.push(de.get(_e));else if(Ie){const je=Ie(_e);je&&Fe.push(je)}}),Fe}const H=T(()=>{if(e.multiple){const{value:F}=s;return Array.isArray(F)?L(F):[]}return null}),_=T(()=>{const{value:F}=s;return!e.multiple&&!Array.isArray(F)?F===null?null:L([F])[0]||null:null}),U=So(e),{mergedSizeRef:N,mergedDisabledRef:te,mergedStatusRef:fe}=U;function ae(F,G){const{onChange:de,"onUpdate:value":Re,onUpdateValue:Ie}=e,{nTriggerFormChange:Fe,nTriggerFormInput:_e}=U;de&&ie(de,F,G),Ie&&ie(Ie,F,G),Re&&ie(Re,F,G),a.value=F,Fe(),_e()}function Y(F){const{onBlur:G}=e,{nTriggerFormBlur:de}=U;G&&ie(G,F),de()}function j(){const{onClear:F}=e;F&&ie(F)}function X(F){const{onFocus:G,showOnFocus:de}=e,{nTriggerFormFocus:Re}=U;G&&ie(G,F),Re(),de&&Ae()}function re(F){const{onSearch:G}=e;G&&ie(G,F)}function le(F){const{onScroll:G}=e;G&&ie(G,F)}function ge(){var F;const{remote:G,multiple:de}=e;if(G){const{value:Re}=k;if(de){const{valueField:Ie}=e;(F=H.value)===null||F===void 0||F.forEach(Fe=>{Re.set(Fe[Ie],Fe)})}else{const Ie=_.value;Ie&&Re.set(Ie[e.valueField],Ie)}}}function me(F){const{onUpdateShow:G,"onUpdate:show":de}=e;G&&ie(G,F),de&&ie(de,F),g.value=F}function Ae(){te.value||(me(!0),g.value=!0,e.filterable&&ze())}function q(){me(!1)}function ve(){u.value="",x.value=S}const $e=E(!1);function Oe(){e.filterable&&($e.value=!0)}function Z(){e.filterable&&($e.value=!1,f.value||ve())}function ue(){te.value||(f.value?e.filterable?ze():q():Ae())}function be(F){var G,de;!((de=(G=b.value)===null||G===void 0?void 0:G.selfRef)===null||de===void 0)&&de.contains(F.relatedTarget)||(d.value=!1,Y(F),q())}function De(F){X(F),d.value=!0}function ee(F){d.value=!0}function Ce(F){var G;!((G=v.value)===null||G===void 0)&&G.$el.contains(F.relatedTarget)||(d.value=!1,Y(F),q())}function Pe(){var F;(F=v.value)===null||F===void 0||F.focus(),q()}function K(F){var G;f.value&&(!((G=v.value)===null||G===void 0)&&G.$el.contains(Lr(F))||q())}function Q(F){if(!Array.isArray(F))return[];if(P.value)return Array.from(F);{const{remote:G}=e,{value:de}=p;if(G){const{value:Re}=k;return F.filter(Ie=>de.has(Ie)||Re.has(Ie))}else return F.filter(Re=>de.has(Re))}}function pe(F){V(F.rawNode)}function V(F){if(te.value)return;const{tag:G,remote:de,clearFilterAfterSelect:Re,valueField:Ie}=e;if(G&&!de){const{value:Fe}=x,_e=Fe[0]||null;if(_e){const je=w.value;je.length?je.push(_e):w.value=[_e],x.value=S}}if(de&&k.value.set(F[Ie],F),e.multiple){const Fe=Q(s.value),_e=Fe.findIndex(je=>je===F[Ie]);if(~_e){if(Fe.splice(_e,1),G&&!de){const je=D(F[Ie]);~je&&(w.value.splice(je,1),Re&&(u.value=""))}}else Fe.push(F[Ie]),Re&&(u.value="");ae(Fe,L(Fe))}else{if(G&&!de){const Fe=D(F[Ie]);~Fe?w.value=[w.value[Fe]]:w.value=S}ye(),q(),ae(F[Ie],F)}}function D(F){return w.value.findIndex(de=>de[e.valueField]===F)}function J(F){f.value||Ae();const{value:G}=F.target;u.value=G;const{tag:de,remote:Re}=e;if(re(G),de&&!Re){if(!G){x.value=S;return}const{onCreate:Ie}=e,Fe=Ie?Ie(G):{[e.labelField]:G,[e.valueField]:G},{valueField:_e,labelField:je}=e;$.value.some(Ge=>Ge[_e]===Fe[_e]||Ge[je]===Fe[je])||w.value.some(Ge=>Ge[_e]===Fe[_e]||Ge[je]===Fe[je])?x.value=S:x.value=[Fe]}}function Se(F){F.stopPropagation();const{multiple:G}=e;!G&&e.filterable&&q(),j(),G?ae([],[]):ae(null,null)}function Le(F){!no(F,"action")&&!no(F,"empty")&&F.preventDefault()}function qe(F){le(F)}function it(F){var G,de,Re,Ie,Fe;if(!e.keyboard){F.preventDefault();return}switch(F.key){case" ":if(e.filterable)break;F.preventDefault();case"Enter":if(!(!((G=v.value)===null||G===void 0)&&G.isComposing)){if(f.value){const _e=(de=b.value)===null||de===void 0?void 0:de.getPendingTmNode();_e?pe(_e):e.filterable||(q(),ye())}else if(Ae(),e.tag&&$e.value){const _e=x.value[0];if(_e){const je=_e[e.valueField],{value:Ge}=s;e.multiple&&Array.isArray(Ge)&&Ge.some(xt=>xt===je)||V(_e)}}}F.preventDefault();break;case"ArrowUp":if(F.preventDefault(),e.loading)return;f.value&&((Re=b.value)===null||Re===void 0||Re.prev());break;case"ArrowDown":if(F.preventDefault(),e.loading)return;f.value?(Ie=b.value)===null||Ie===void 0||Ie.next():Ae();break;case"Escape":f.value&&(Xv(F),q()),(Fe=v.value)===null||Fe===void 0||Fe.focus();break}}function ye(){var F;(F=v.value)===null||F===void 0||F.focus()}function ze(){var F;(F=v.value)===null||F===void 0||F.focusInput()}function Ke(){var F;f.value&&((F=m.value)===null||F===void 0||F.syncPosition())}ge(),Je(he(e,"options"),ge);const Be={focus:()=>{var F;(F=v.value)===null||F===void 0||F.focus()},focusInput:()=>{var F;(F=v.value)===null||F===void 0||F.focusInput()},blur:()=>{var F;(F=v.value)===null||F===void 0||F.blur()},blurInput:()=>{var F;(F=v.value)===null||F===void 0||F.blurInput()}},Ve=T(()=>{const{self:{menuBoxShadow:F}}=i.value;return{"--n-menu-box-shadow":F}}),at=n?Qe("select",void 0,Ve,e):void 0;return Object.assign(Object.assign({},Be),{mergedStatus:fe,mergedClsPrefix:t,mergedBordered:o,namespace:r,treeMate:h,isMounted:Ao(),triggerRef:v,menuRef:b,pattern:u,uncontrolledShow:g,mergedShow:f,adjustedTo:Vt(e),uncontrolledValue:a,mergedValue:s,followerRef:m,localizedPlaceholder:R,selectedOption:_,selectedOptions:H,mergedSize:N,mergedDisabled:te,focused:d,activeWithoutMenuOpen:$e,inlineThemeDisabled:n,onTriggerInputFocus:Oe,onTriggerInputBlur:Z,handleTriggerOrMenuResize:Ke,handleMenuFocus:ee,handleMenuBlur:Ce,handleMenuTabOut:Pe,handleTriggerClick:ue,handleToggle:pe,handleDeleteOption:V,handlePatternInput:J,handleClear:Se,handleTriggerBlur:be,handleTriggerFocus:De,handleKeydown:it,handleMenuAfterLeave:ve,handleMenuClickOutside:K,handleMenuScroll:qe,handleMenuKeydown:it,handleMenuMousedown:Le,mergedTheme:i,cssVars:n?void 0:Ve,themeClass:at==null?void 0:at.themeClass,onRender:at==null?void 0:at.onRender})},render(){return c("div",{class:`${this.mergedClsPrefix}-select`},c($i,null,{default:()=>[c(Ri,null,{default:()=>c(O2,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),c(Ti,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Vt.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>c(kt,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,o;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),It(c(Ku,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(o=this.menuProps)===null||o===void 0?void 0:o.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var r,n;return[(n=(r=this.$slots).empty)===null||n===void 0?void 0:n.call(r)]},header:()=>{var r,n;return[(n=(r=this.$slots).header)===null||n===void 0?void 0:n.call(r)]},action:()=>{var r,n;return[(n=(r=this.$slots).action)===null||n===void 0?void 0:n.call(r)]}}),this.displayDirective==="show"?[[ao,this.mergedShow],[_r,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[_r,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),Zk={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},Lf=e=>{const{textColor2:t,primaryColor:o,primaryColorHover:r,primaryColorPressed:n,inputColorDisabled:i,textColorDisabled:a,borderColor:l,borderRadius:s,fontSizeTiny:d,fontSizeSmall:u,fontSizeMedium:h,heightTiny:p,heightSmall:g,heightMedium:f}=e;return Object.assign(Object.assign({},Zk),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${l}`,buttonBorderHover:`1px solid ${l}`,buttonBorderPressed:`1px solid ${l}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:r,itemTextColorPressed:n,itemTextColorActive:o,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${o}`,itemBorderDisabled:`1px solid ${l}`,itemBorderRadius:s,itemSizeSmall:p,itemSizeMedium:g,itemSizeLarge:f,itemFontSizeSmall:d,itemFontSizeMedium:u,itemFontSizeLarge:h,jumperFontSizeSmall:d,jumperFontSizeMedium:u,jumperFontSizeLarge:h,jumperTextColor:t,jumperTextColorDisabled:a})},Jk={name:"Pagination",common:xe,peers:{Select:Il,Input:Ht,Popselect:_i},self:Lf},Fl=Jk,Qk={name:"Pagination",common:ke,peers:{Select:Af,Input:Jt,Popselect:If},self(e){const{primaryColor:t,opacity3:o}=e,r=se(t,{alpha:Number(o)}),n=Lf(e);return n.itemBorderActive=`1px solid ${r}`,n.itemBorderDisabled="1px solid #0000",n}},_f=Qk,Df=e=>{var t;if(!e)return 10;const{defaultPageSize:o}=e;if(o!==void 0)return o;const r=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof r=="number"?r:(r==null?void 0:r.value)||10};function e$(e,t,o,r){let n=!1,i=!1,a=1,l=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const s=1,d=t;let u=e,h=e;const p=(o-5)/2;h+=Math.ceil(p),h=Math.min(Math.max(h,s+o-3),d-2),u-=Math.floor(p),u=Math.max(Math.min(u,d-o+3),s+2);let g=!1,f=!1;u>s+2&&(g=!0),h=s+1&&v.push({type:"page",label:s+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===s+1});for(let m=u;m<=h;++m)v.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return f?(i=!0,l=h+1,v.push({type:"fast-forward",active:!1,label:void 0,options:r?Pd(h+1,d-1):null})):h===d-2&&v[v.length-1].label!==d-1&&v.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:d-1,active:e===d-1}),v[v.length-1].label!==d&&v.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:d,active:e===d}),{hasFastBackward:n,hasFastForward:i,fastBackwardTo:a,fastForwardTo:l,items:v}}function Pd(e,t){const o=[];for(let r=e;r<=t;++r)o.push({label:`${r}`,value:r});return o}const zd=` + `,[qo({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),Jk=Object.assign(Object.assign({},be.props),{to:Vt.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Qk=re({name:"Select",props:Jk,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:o,namespaceRef:r,inlineThemeDisabled:n}=He(e),i=be("Select","-select",Zk,Fl,e,t),a=E(e.defaultValue),l=he(e,"value"),s=$t(l,a),d=E(!1),u=E(""),h=T(()=>{const{valueField:F,childrenField:q}=e,de=af(F,q);return Li(I.value,de)}),p=T(()=>Z2(M.value,e.valueField,e.childrenField)),g=E(!1),f=$t(he(e,"show"),g),v=E(null),b=E(null),m=E(null),{localeRef:C}=wo("Select"),R=T(()=>{var F;return(F=e.placeholder)!==null&&F!==void 0?F:C.value.placeholder}),$=Cn(e,["items","options"]),S=[],w=E([]),x=E([]),k=E(new Map),P=T(()=>{const{fallbackOption:F}=e;if(F===void 0){const{labelField:q,valueField:de}=e;return Re=>({[q]:String(Re),[de]:Re})}return F===!1?!1:q=>Object.assign(F(q),{value:q})}),M=T(()=>x.value.concat(w.value).concat($.value)),L=T(()=>{const{filter:F}=e;if(F)return F;const{labelField:q,valueField:de}=e;return(Re,Ie)=>{if(!Ie)return!1;const Fe=Ie[q];if(typeof Fe=="string")return ga(Re,Fe);const _e=Ie[de];return typeof _e=="string"?ga(Re,_e):typeof _e=="number"?ga(Re,String(_e)):!1}}),I=T(()=>{if(e.remote)return $.value;{const{value:F}=M,{value:q}=u;return!q.length||!e.filterable?F:Y2(F,L.value,q,e.childrenField)}});function A(F){const q=e.remote,{value:de}=k,{value:Re}=p,{value:Ie}=P,Fe=[];return F.forEach(_e=>{if(Re.has(_e))Fe.push(Re.get(_e));else if(q&&de.has(_e))Fe.push(de.get(_e));else if(Ie){const We=Ie(_e);We&&Fe.push(We)}}),Fe}const H=T(()=>{if(e.multiple){const{value:F}=s;return Array.isArray(F)?A(F):[]}return null}),_=T(()=>{const{value:F}=s;return!e.multiple&&!Array.isArray(F)?F===null?null:A([F])[0]||null:null}),U=ko(e),{mergedSizeRef:N,mergedDisabledRef:ee,mergedStatusRef:ue}=U;function ae(F,q){const{onChange:de,"onUpdate:value":Re,onUpdateValue:Ie}=e,{nTriggerFormChange:Fe,nTriggerFormInput:_e}=U;de&&ie(de,F,q),Ie&&ie(Ie,F,q),Re&&ie(Re,F,q),a.value=F,Fe(),_e()}function Y(F){const{onBlur:q}=e,{nTriggerFormBlur:de}=U;q&&ie(q,F),de()}function W(){const{onClear:F}=e;F&&ie(F)}function X(F){const{onFocus:q,showOnFocus:de}=e,{nTriggerFormFocus:Re}=U;q&&ie(q,F),Re(),de&&Le()}function ne(F){const{onSearch:q}=e;q&&ie(q,F)}function le(F){const{onScroll:q}=e;q&&ie(q,F)}function ge(){var F;const{remote:q,multiple:de}=e;if(q){const{value:Re}=k;if(de){const{valueField:Ie}=e;(F=H.value)===null||F===void 0||F.forEach(Fe=>{Re.set(Fe[Ie],Fe)})}else{const Ie=_.value;Ie&&Re.set(Ie[e.valueField],Ie)}}}function xe(F){const{onUpdateShow:q,"onUpdate:show":de}=e;q&&ie(q,F),de&&ie(de,F),g.value=F}function Le(){ee.value||(xe(!0),g.value=!0,e.filterable&&ze())}function G(){xe(!1)}function ve(){u.value="",x.value=S}const $e=E(!1);function Me(){e.filterable&&($e.value=!0)}function Z(){e.filterable&&($e.value=!1,f.value||ve())}function fe(){ee.value||(f.value?e.filterable?ze():G():Le())}function me(F){var q,de;!((de=(q=m.value)===null||q===void 0?void 0:q.selfRef)===null||de===void 0)&&de.contains(F.relatedTarget)||(d.value=!1,Y(F),G())}function De(F){X(F),d.value=!0}function te(F){d.value=!0}function ye(F){var q;!((q=v.value)===null||q===void 0)&&q.$el.contains(F.relatedTarget)||(d.value=!1,Y(F),G())}function Pe(){var F;(F=v.value)===null||F===void 0||F.focus(),G()}function K(F){var q;f.value&&(!((q=v.value)===null||q===void 0)&&q.$el.contains(Ar(F))||G())}function Q(F){if(!Array.isArray(F))return[];if(P.value)return Array.from(F);{const{remote:q}=e,{value:de}=p;if(q){const{value:Re}=k;return F.filter(Ie=>de.has(Ie)||Re.has(Ie))}else return F.filter(Re=>de.has(Re))}}function pe(F){V(F.rawNode)}function V(F){if(ee.value)return;const{tag:q,remote:de,clearFilterAfterSelect:Re,valueField:Ie}=e;if(q&&!de){const{value:Fe}=x,_e=Fe[0]||null;if(_e){const We=w.value;We.length?We.push(_e):w.value=[_e],x.value=S}}if(de&&k.value.set(F[Ie],F),e.multiple){const Fe=Q(s.value),_e=Fe.findIndex(We=>We===F[Ie]);if(~_e){if(Fe.splice(_e,1),q&&!de){const We=D(F[Ie]);~We&&(w.value.splice(We,1),Re&&(u.value=""))}}else Fe.push(F[Ie]),Re&&(u.value="");ae(Fe,A(Fe))}else{if(q&&!de){const Fe=D(F[Ie]);~Fe?w.value=[w.value[Fe]]:w.value=S}we(),G(),ae(F[Ie],F)}}function D(F){return w.value.findIndex(de=>de[e.valueField]===F)}function J(F){f.value||Le();const{value:q}=F.target;u.value=q;const{tag:de,remote:Re}=e;if(ne(q),de&&!Re){if(!q){x.value=S;return}const{onCreate:Ie}=e,Fe=Ie?Ie(q):{[e.labelField]:q,[e.valueField]:q},{valueField:_e,labelField:We}=e;$.value.some(qe=>qe[_e]===Fe[_e]||qe[We]===Fe[We])||w.value.some(qe=>qe[_e]===Fe[_e]||qe[We]===Fe[We])?x.value=S:x.value=[Fe]}}function Se(F){F.stopPropagation();const{multiple:q}=e;!q&&e.filterable&&G(),W(),q?ae([],[]):ae(null,null)}function Ae(F){!no(F,"action")&&!no(F,"empty")&&F.preventDefault()}function Ge(F){le(F)}function it(F){var q,de,Re,Ie,Fe;if(!e.keyboard){F.preventDefault();return}switch(F.key){case" ":if(e.filterable)break;F.preventDefault();case"Enter":if(!(!((q=v.value)===null||q===void 0)&&q.isComposing)){if(f.value){const _e=(de=m.value)===null||de===void 0?void 0:de.getPendingTmNode();_e?pe(_e):e.filterable||(G(),we())}else if(Le(),e.tag&&$e.value){const _e=x.value[0];if(_e){const We=_e[e.valueField],{value:qe}=s;e.multiple&&Array.isArray(qe)&&qe.some(xt=>xt===We)||V(_e)}}}F.preventDefault();break;case"ArrowUp":if(F.preventDefault(),e.loading)return;f.value&&((Re=m.value)===null||Re===void 0||Re.prev());break;case"ArrowDown":if(F.preventDefault(),e.loading)return;f.value?(Ie=m.value)===null||Ie===void 0||Ie.next():Le();break;case"Escape":f.value&&(Jv(F),G()),(Fe=v.value)===null||Fe===void 0||Fe.focus();break}}function we(){var F;(F=v.value)===null||F===void 0||F.focus()}function ze(){var F;(F=v.value)===null||F===void 0||F.focusInput()}function Ke(){var F;f.value&&((F=b.value)===null||F===void 0||F.syncPosition())}ge(),Je(he(e,"options"),ge);const Be={focus:()=>{var F;(F=v.value)===null||F===void 0||F.focus()},focusInput:()=>{var F;(F=v.value)===null||F===void 0||F.focusInput()},blur:()=>{var F;(F=v.value)===null||F===void 0||F.blur()},blurInput:()=>{var F;(F=v.value)===null||F===void 0||F.blurInput()}},Ve=T(()=>{const{self:{menuBoxShadow:F}}=i.value;return{"--n-menu-box-shadow":F}}),at=n?Qe("select",void 0,Ve,e):void 0;return Object.assign(Object.assign({},Be),{mergedStatus:ue,mergedClsPrefix:t,mergedBordered:o,namespace:r,treeMate:h,isMounted:Lo(),triggerRef:v,menuRef:m,pattern:u,uncontrolledShow:g,mergedShow:f,adjustedTo:Vt(e),uncontrolledValue:a,mergedValue:s,followerRef:b,localizedPlaceholder:R,selectedOption:_,selectedOptions:H,mergedSize:N,mergedDisabled:ee,focused:d,activeWithoutMenuOpen:$e,inlineThemeDisabled:n,onTriggerInputFocus:Me,onTriggerInputBlur:Z,handleTriggerOrMenuResize:Ke,handleMenuFocus:te,handleMenuBlur:ye,handleMenuTabOut:Pe,handleTriggerClick:fe,handleToggle:pe,handleDeleteOption:V,handlePatternInput:J,handleClear:Se,handleTriggerBlur:me,handleTriggerFocus:De,handleKeydown:it,handleMenuAfterLeave:ve,handleMenuClickOutside:K,handleMenuScroll:Ge,handleMenuKeydown:it,handleMenuMousedown:Ae,mergedTheme:i,cssVars:n?void 0:Ve,themeClass:at==null?void 0:at.themeClass,onRender:at==null?void 0:at.onRender})},render(){return c("div",{class:`${this.mergedClsPrefix}-select`},c($i,null,{default:()=>[c(Ri,null,{default:()=>c(E2,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),c(Ti,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Vt.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>c(kt,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,o;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),It(c(Gu,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(o=this.menuProps)===null||o===void 0?void 0:o.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var r,n;return[(n=(r=this.$slots).empty)===null||n===void 0?void 0:n.call(r)]},header:()=>{var r,n;return[(n=(r=this.$slots).header)===null||n===void 0?void 0:n.call(r)]},action:()=>{var r,n;return[(n=(r=this.$slots).action)===null||n===void 0?void 0:n.call(r)]}}),this.displayDirective==="show"?[[ao,this.mergedShow],[_r,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[_r,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),e$={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},_f=e=>{const{textColor2:t,primaryColor:o,primaryColorHover:r,primaryColorPressed:n,inputColorDisabled:i,textColorDisabled:a,borderColor:l,borderRadius:s,fontSizeTiny:d,fontSizeSmall:u,fontSizeMedium:h,heightTiny:p,heightSmall:g,heightMedium:f}=e;return Object.assign(Object.assign({},e$),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${l}`,buttonBorderHover:`1px solid ${l}`,buttonBorderPressed:`1px solid ${l}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:r,itemTextColorPressed:n,itemTextColorActive:o,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${o}`,itemBorderDisabled:`1px solid ${l}`,itemBorderRadius:s,itemSizeSmall:p,itemSizeMedium:g,itemSizeLarge:f,itemFontSizeSmall:d,itemFontSizeMedium:u,itemFontSizeLarge:h,jumperFontSizeSmall:d,jumperFontSizeMedium:u,jumperFontSizeLarge:h,jumperTextColor:t,jumperTextColorDisabled:a})},t$={name:"Pagination",common:Ce,peers:{Select:Fl,Input:Ht,Popselect:_i},self:_f},El=t$,o$={name:"Pagination",common:ke,peers:{Select:Af,Input:Jt,Popselect:Ff},self(e){const{primaryColor:t,opacity3:o}=e,r=se(t,{alpha:Number(o)}),n=_f(e);return n.itemBorderActive=`1px solid ${r}`,n.itemBorderDisabled="1px solid #0000",n}},Df=o$,Hf=e=>{var t;if(!e)return 10;const{defaultPageSize:o}=e;if(o!==void 0)return o;const r=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof r=="number"?r:(r==null?void 0:r.value)||10};function r$(e,t,o,r){let n=!1,i=!1,a=1,l=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:l,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const s=1,d=t;let u=e,h=e;const p=(o-5)/2;h+=Math.ceil(p),h=Math.min(Math.max(h,s+o-3),d-2),u-=Math.floor(p),u=Math.max(Math.min(u,d-o+3),s+2);let g=!1,f=!1;u>s+2&&(g=!0),h=s+1&&v.push({type:"page",label:s+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===s+1});for(let b=u;b<=h;++b)v.push({type:"page",label:b,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===b});return f?(i=!0,l=h+1,v.push({type:"fast-forward",active:!1,label:void 0,options:r?Td(h+1,d-1):null})):h===d-2&&v[v.length-1].label!==d-1&&v.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:d-1,active:e===d-1}),v[v.length-1].label!==d&&v.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:d,active:e===d}),{hasFastBackward:n,hasFastForward:i,fastBackwardTo:a,fastForwardTo:l,items:v}}function Td(e,t){const o=[];for(let r=e;r<=t;++r)o.push({label:`${r}`,value:r});return o}const Bd=` background: var(--n-item-color-hover); color: var(--n-item-text-color-hover); border: var(--n-item-border-hover); -`,Td=[B("button",` +`,Od=[B("button",` background: var(--n-button-color-hover); border: var(--n-button-border-hover); color: var(--n-button-icon-color-hover); - `)],t$=y("pagination",` + `)],n$=y("pagination",` display: flex; vertical-align: middle; font-size: var(--n-item-font-size); @@ -1467,7 +1467,7 @@ ${t} padding: 0; `,[y("base-icon",` font-size: var(--n-button-icon-size); - `)]),nt("disabled",[B("hover",zd,Td),z("&:hover",zd,Td),z("&:active",` + `)]),rt("disabled",[B("hover",Bd,Od),z("&:hover",Bd,Od),z("&:active",` background: var(--n-item-color-pressed); color: var(--n-item-text-color-pressed); border: var(--n-item-border-pressed); @@ -1497,7 +1497,7 @@ ${t} flex-wrap: nowrap; `,[y("pagination-quick-jumper",[y("input",` margin: 0; - `)])])]),o$=Object.assign(Object.assign({},we.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Vt.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),r$=ne({name:"Pagination",props:o$,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=we("Pagination","-pagination",t$,Fl,e,o),{localeRef:a}=wo("Pagination"),l=E(null),s=E(e.defaultPage),d=E(Df(e)),u=$t(he(e,"page"),s),h=$t(he(e,"pageSize"),d),p=T(()=>{const{itemCount:q}=e;if(q!==void 0)return Math.max(1,Math.ceil(q/h.value));const{pageCount:ve}=e;return ve!==void 0?Math.max(ve,1):1}),g=E("");vt(()=>{e.simple,g.value=String(u.value)});const f=E(!1),v=E(!1),m=E(!1),b=E(!1),C=()=>{e.disabled||(f.value=!0,_())},R=()=>{e.disabled||(f.value=!1,_())},$=()=>{v.value=!0,_()},S=()=>{v.value=!1,_()},w=q=>{U(q)},x=T(()=>e$(u.value,p.value,e.pageSlot,e.showQuickJumpDropdown));vt(()=>{x.value.hasFastBackward?x.value.hasFastForward||(f.value=!1,m.value=!1):(v.value=!1,b.value=!1)});const k=T(()=>{const q=a.value.selectionSuffix;return e.pageSizes.map(ve=>typeof ve=="number"?{label:`${ve} / ${q}`,value:ve}:ve)}),P=T(()=>{var q,ve;return((ve=(q=t==null?void 0:t.value)===null||q===void 0?void 0:q.Pagination)===null||ve===void 0?void 0:ve.inputSize)||Gl(e.size)}),I=T(()=>{var q,ve;return((ve=(q=t==null?void 0:t.value)===null||q===void 0?void 0:q.Pagination)===null||ve===void 0?void 0:ve.selectSize)||Gl(e.size)}),A=T(()=>(u.value-1)*h.value),O=T(()=>{const q=u.value*h.value-1,{itemCount:ve}=e;return ve!==void 0&&q>ve-1?ve-1:q}),L=T(()=>{const{itemCount:q}=e;return q!==void 0?q:(e.pageCount||1)*h.value}),H=Rt("Pagination",n,o),_=()=>{ut(()=>{var q;const{value:ve}=l;ve&&(ve.classList.add("transition-disabled"),(q=l.value)===null||q===void 0||q.offsetWidth,ve.classList.remove("transition-disabled"))})};function U(q){if(q===u.value)return;const{"onUpdate:page":ve,onUpdatePage:$e,onChange:Oe,simple:Z}=e;ve&&ie(ve,q),$e&&ie($e,q),Oe&&ie(Oe,q),s.value=q,Z&&(g.value=String(q))}function N(q){if(q===h.value)return;const{"onUpdate:pageSize":ve,onUpdatePageSize:$e,onPageSizeChange:Oe}=e;ve&&ie(ve,q),$e&&ie($e,q),Oe&&ie(Oe,q),d.value=q,p.value{u.value,h.value,_()});const me=T(()=>{const{size:q}=e,{self:{buttonBorder:ve,buttonBorderHover:$e,buttonBorderPressed:Oe,buttonIconColor:Z,buttonIconColorHover:ue,buttonIconColorPressed:be,itemTextColor:De,itemTextColorHover:ee,itemTextColorPressed:Ce,itemTextColorActive:Pe,itemTextColorDisabled:K,itemColor:Q,itemColorHover:pe,itemColorPressed:V,itemColorActive:D,itemColorActiveHover:J,itemColorDisabled:Se,itemBorder:Le,itemBorderHover:qe,itemBorderPressed:it,itemBorderActive:ye,itemBorderDisabled:ze,itemBorderRadius:Ke,jumperTextColor:Be,jumperTextColorDisabled:Ve,buttonColor:at,buttonColorHover:F,buttonColorPressed:G,[oe("itemPadding",q)]:de,[oe("itemMargin",q)]:Re,[oe("inputWidth",q)]:Ie,[oe("selectWidth",q)]:Fe,[oe("inputMargin",q)]:_e,[oe("selectMargin",q)]:je,[oe("jumperFontSize",q)]:Ge,[oe("prefixMargin",q)]:xt,[oe("suffixMargin",q)]:ft,[oe("itemSize",q)]:Ct,[oe("buttonIconSize",q)]:Kt,[oe("itemFontSize",q)]:qt,[`${oe("itemMargin",q)}Rtl`]:Ro,[`${oe("inputMargin",q)}Rtl`]:Po},common:{cubicBezierEaseInOut:uo}}=i.value;return{"--n-prefix-margin":xt,"--n-suffix-margin":ft,"--n-item-font-size":qt,"--n-select-width":Fe,"--n-select-margin":je,"--n-input-width":Ie,"--n-input-margin":_e,"--n-input-margin-rtl":Po,"--n-item-size":Ct,"--n-item-text-color":De,"--n-item-text-color-disabled":K,"--n-item-text-color-hover":ee,"--n-item-text-color-active":Pe,"--n-item-text-color-pressed":Ce,"--n-item-color":Q,"--n-item-color-hover":pe,"--n-item-color-disabled":Se,"--n-item-color-active":D,"--n-item-color-active-hover":J,"--n-item-color-pressed":V,"--n-item-border":Le,"--n-item-border-hover":qe,"--n-item-border-disabled":ze,"--n-item-border-active":ye,"--n-item-border-pressed":it,"--n-item-padding":de,"--n-item-border-radius":Ke,"--n-bezier":uo,"--n-jumper-font-size":Ge,"--n-jumper-text-color":Be,"--n-jumper-text-color-disabled":Ve,"--n-item-margin":Re,"--n-item-margin-rtl":Ro,"--n-button-icon-size":Kt,"--n-button-icon-color":Z,"--n-button-icon-color-hover":ue,"--n-button-icon-color-pressed":be,"--n-button-color-hover":F,"--n-button-color":at,"--n-button-color-pressed":G,"--n-button-border":ve,"--n-button-border-hover":$e,"--n-button-border-pressed":Oe}}),Ae=r?Qe("pagination",T(()=>{let q="";const{size:ve}=e;return q+=ve[0],q}),me,e):void 0;return{rtlEnabled:H,mergedClsPrefix:o,locale:a,selfRef:l,mergedPage:u,pageItems:T(()=>x.value.items),mergedItemCount:L,jumperValue:g,pageSizeOptions:k,mergedPageSize:h,inputSize:P,selectSize:I,mergedTheme:i,mergedPageCount:p,startIndex:A,endIndex:O,showFastForwardMenu:m,showFastBackwardMenu:b,fastForwardActive:f,fastBackwardActive:v,handleMenuSelect:w,handleFastForwardMouseenter:C,handleFastForwardMouseleave:R,handleFastBackwardMouseenter:$,handleFastBackwardMouseleave:S,handleJumperInput:ge,handleBackwardClick:fe,handleForwardClick:te,handlePageItemClick:le,handleSizePickerChange:j,handleQuickJumperChange:re,cssVars:r?void 0:me,themeClass:Ae==null?void 0:Ae.themeClass,onRender:Ae==null?void 0:Ae.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:o,cssVars:r,mergedPage:n,mergedPageCount:i,pageItems:a,showSizePicker:l,showQuickJumper:s,mergedTheme:d,locale:u,inputSize:h,selectSize:p,mergedPageSize:g,pageSizeOptions:f,jumperValue:v,simple:m,prev:b,next:C,prefix:R,suffix:$,label:S,goto:w,handleJumperInput:x,handleSizePickerChange:k,handleBackwardClick:P,handlePageItemClick:I,handleForwardClick:A,handleQuickJumperChange:O,onRender:L}=this;L==null||L();const H=e.prefix||R,_=e.suffix||$,U=b||e.prev,N=C||e.next,te=S||e.label;return c("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,o&&`${t}-pagination--disabled`,m&&`${t}-pagination--simple`],style:r},H?c("div",{class:`${t}-pagination-prefix`},H({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(fe=>{switch(fe){case"pages":return c(yt,null,c("div",{class:[`${t}-pagination-item`,!U&&`${t}-pagination-item--button`,(n<=1||n>i||o)&&`${t}-pagination-item--disabled`],onClick:P},U?U({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(pd,null):c(ud,null)})),m?c(yt,null,c("div",{class:`${t}-pagination-quick-jumper`},c(Ga,{value:v,onUpdateValue:x,size:h,placeholder:"",disabled:o,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:O}))," / ",i):a.map((ae,Y)=>{let j,X,re;const{type:le}=ae;switch(le){case"page":const me=ae.label;te?j=te({type:"page",node:me,active:ae.active}):j=me;break;case"fast-forward":const Ae=this.fastForwardActive?c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(fd,null):c(hd,null)}):c(ot,{clsPrefix:t},{default:()=>c(vd,null)});te?j=te({type:"fast-forward",node:Ae,active:this.fastForwardActive||this.showFastForwardMenu}):j=Ae,X=this.handleFastForwardMouseenter,re=this.handleFastForwardMouseleave;break;case"fast-backward":const q=this.fastBackwardActive?c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(hd,null):c(fd,null)}):c(ot,{clsPrefix:t},{default:()=>c(vd,null)});te?j=te({type:"fast-backward",node:q,active:this.fastBackwardActive||this.showFastBackwardMenu}):j=q,X=this.handleFastBackwardMouseenter,re=this.handleFastBackwardMouseleave;break}const ge=c("div",{key:Y,class:[`${t}-pagination-item`,ae.active&&`${t}-pagination-item--active`,le!=="page"&&(le==="fast-backward"&&this.showFastBackwardMenu||le==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,o&&`${t}-pagination-item--disabled`,le==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{I(ae)},onMouseenter:X,onMouseleave:re},j);if(le==="page"&&!ae.mayBeFastBackward&&!ae.mayBeFastForward)return ge;{const me=ae.type==="page"?ae.mayBeFastBackward?"fast-backward":"fast-forward":ae.type;return ae.type!=="page"&&!ae.options?ge:c(Uk,{to:this.to,key:me,disabled:o,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:d.peers.Popselect,themeOverrides:d.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:le==="page"?!1:le==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:Ae=>{le!=="page"&&(Ae?le==="fast-backward"?this.showFastBackwardMenu=Ae:this.showFastForwardMenu=Ae:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:ae.type!=="page"&&ae.options?ae.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ge})}}),c("div",{class:[`${t}-pagination-item`,!N&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:n<1||n>=i||o}],onClick:A},N?N({page:n,pageSize:g,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(ud,null):c(pd,null)})));case"size-picker":return!m&&l?c(Yk,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:p,options:f,value:g,disabled:o,theme:d.peers.Select,themeOverrides:d.peerOverrides.Select,onUpdateValue:k})):null;case"quick-jumper":return!m&&s?c("div",{class:`${t}-pagination-quick-jumper`},w?w():Bt(this.$slots.goto,()=>[u.goto]),c(Ga,{value:v,onUpdateValue:x,size:h,placeholder:"",disabled:o,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:O})):null;default:return null}}),_?c("div",{class:`${t}-pagination-suffix`},_({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),Hf={padding:"8px 14px"},n$={name:"Tooltip",common:ke,peers:{Popover:Cr},self(e){const{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n}=e;return Object.assign(Object.assign({},Hf),{borderRadius:t,boxShadow:o,color:r,textColor:n})}},Di=n$,i$=e=>{const{borderRadius:t,boxShadow2:o,baseColor:r}=e;return Object.assign(Object.assign({},Hf),{borderRadius:t,boxShadow:o,color:Ee(r,"rgba(0, 0, 0, .85)"),textColor:r})},a$={name:"Tooltip",common:xe,peers:{Popover:Zo},self:i$},An=a$,l$={name:"Ellipsis",common:ke,peers:{Tooltip:Di}},jf=l$,s$={name:"Ellipsis",common:xe,peers:{Tooltip:An}},El=s$,Wf={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},d$={name:"Radio",common:ke,self(e){const{borderColor:t,primaryColor:o,baseColor:r,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,heightSmall:p,heightMedium:g,heightLarge:f,lineHeight:v}=e;return Object.assign(Object.assign({},Wf),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:g,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:n,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:o,buttonColor:"#0000",buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:r,buttonTextColorHover:o,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${o}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})}},Nf=d$,c$=e=>{const{borderColor:t,primaryColor:o,baseColor:r,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,heightSmall:p,heightMedium:g,heightLarge:f,lineHeight:v}=e;return Object.assign(Object.assign({},Wf),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:g,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:r,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:n,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:t,buttonColor:r,buttonColorActive:r,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:o,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})},u$={name:"Radio",common:xe,self:c$},Hi=u$,f$={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},Vf=e=>{const{primaryColor:t,textColor2:o,dividerColor:r,hoverColor:n,popoverColor:i,invertedColor:a,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:u,fontSizeHuge:h,heightSmall:p,heightMedium:g,heightLarge:f,heightHuge:v,textColor3:m,opacityDisabled:b}=e;return Object.assign(Object.assign({},f$),{optionHeightSmall:p,optionHeightMedium:g,optionHeightLarge:f,optionHeightHuge:v,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:u,fontSizeHuge:h,optionTextColor:o,optionTextColorHover:o,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:r,suffixColor:o,prefixColor:o,optionColorHover:n,optionColorActive:se(t,{alpha:.1}),groupHeaderTextColor:m,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})},h$={name:"Dropdown",common:xe,peers:{Popover:Zo},self:Vf},ji=h$,p$={name:"Dropdown",common:ke,peers:{Popover:Cr},self(e){const{primaryColorSuppl:t,primaryColor:o,popoverColor:r}=e,n=Vf(e);return n.colorInverted=r,n.optionColorActive=se(o,{alpha:.15}),n.optionColorActiveInverted=t,n.optionColorHoverInverted=t,n}},Al=p$,v$={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},Uf=e=>{const{cardColor:t,modalColor:o,popoverColor:r,textColor2:n,textColor1:i,tableHeaderColor:a,tableColorHover:l,iconColor:s,primaryColor:d,fontWeightStrong:u,borderRadius:h,lineHeight:p,fontSizeSmall:g,fontSizeMedium:f,fontSizeLarge:v,dividerColor:m,heightSmall:b,opacityDisabled:C,tableColorStriped:R}=e;return Object.assign(Object.assign({},v$),{actionDividerColor:m,lineHeight:p,borderRadius:h,fontSizeSmall:g,fontSizeMedium:f,fontSizeLarge:v,borderColor:Ee(t,m),tdColorHover:Ee(t,l),tdColorStriped:Ee(t,R),thColor:Ee(t,a),thColorHover:Ee(Ee(t,a),l),tdColor:t,tdTextColor:n,thTextColor:i,thFontWeight:u,thButtonColorHover:l,thIconColor:s,thIconColorActive:d,borderColorModal:Ee(o,m),tdColorHoverModal:Ee(o,l),tdColorStripedModal:Ee(o,R),thColorModal:Ee(o,a),thColorHoverModal:Ee(Ee(o,a),l),tdColorModal:o,borderColorPopover:Ee(r,m),tdColorHoverPopover:Ee(r,l),tdColorStripedPopover:Ee(r,R),thColorPopover:Ee(r,a),thColorHoverPopover:Ee(Ee(r,a),l),tdColorPopover:r,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:d,loadingSize:b,opacityLoading:C})},g$={name:"DataTable",common:xe,peers:{Button:At,Checkbox:yr,Radio:Hi,Pagination:Fl,Scrollbar:Et,Empty:$o,Popover:Zo,Ellipsis:El,Dropdown:ji},self:Uf},Kf=g$,b$={name:"DataTable",common:ke,peers:{Button:jt,Checkbox:Zr,Radio:Nf,Pagination:_f,Scrollbar:Dt,Empty:xr,Popover:Cr,Ellipsis:jf,Dropdown:Al},self(e){const t=Uf(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},m$=b$,x$=Object.assign(Object.assign({},ur),we.props),qf=ne({name:"Tooltip",props:x$,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(e),o=we("Tooltip","-tooltip",void 0,An,e,t),r=E(null);return Object.assign(Object.assign({},{syncPosition(){r.value.syncPosition()},setShow(i){r.value.setShow(i)}}),{popoverRef:r,mergedTheme:o,popoverThemeOverrides:T(()=>o.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return c(Yr,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),Gf=y("ellipsis",{overflow:"hidden"},[nt("line-clamp",` + `)])])]),i$=Object.assign(Object.assign({},be.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Vt.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),a$=re({name:"Pagination",props:i$,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=be("Pagination","-pagination",n$,El,e,o),{localeRef:a}=wo("Pagination"),l=E(null),s=E(e.defaultPage),d=E(Hf(e)),u=$t(he(e,"page"),s),h=$t(he(e,"pageSize"),d),p=T(()=>{const{itemCount:G}=e;if(G!==void 0)return Math.max(1,Math.ceil(G/h.value));const{pageCount:ve}=e;return ve!==void 0?Math.max(ve,1):1}),g=E("");pt(()=>{e.simple,g.value=String(u.value)});const f=E(!1),v=E(!1),b=E(!1),m=E(!1),C=()=>{e.disabled||(f.value=!0,_())},R=()=>{e.disabled||(f.value=!1,_())},$=()=>{v.value=!0,_()},S=()=>{v.value=!1,_()},w=G=>{U(G)},x=T(()=>r$(u.value,p.value,e.pageSlot,e.showQuickJumpDropdown));pt(()=>{x.value.hasFastBackward?x.value.hasFastForward||(f.value=!1,b.value=!1):(v.value=!1,m.value=!1)});const k=T(()=>{const G=a.value.selectionSuffix;return e.pageSizes.map(ve=>typeof ve=="number"?{label:`${ve} / ${G}`,value:ve}:ve)}),P=T(()=>{var G,ve;return((ve=(G=t==null?void 0:t.value)===null||G===void 0?void 0:G.Pagination)===null||ve===void 0?void 0:ve.inputSize)||Yl(e.size)}),M=T(()=>{var G,ve;return((ve=(G=t==null?void 0:t.value)===null||G===void 0?void 0:G.Pagination)===null||ve===void 0?void 0:ve.selectSize)||Yl(e.size)}),L=T(()=>(u.value-1)*h.value),I=T(()=>{const G=u.value*h.value-1,{itemCount:ve}=e;return ve!==void 0&&G>ve-1?ve-1:G}),A=T(()=>{const{itemCount:G}=e;return G!==void 0?G:(e.pageCount||1)*h.value}),H=Rt("Pagination",n,o),_=()=>{ut(()=>{var G;const{value:ve}=l;ve&&(ve.classList.add("transition-disabled"),(G=l.value)===null||G===void 0||G.offsetWidth,ve.classList.remove("transition-disabled"))})};function U(G){if(G===u.value)return;const{"onUpdate:page":ve,onUpdatePage:$e,onChange:Me,simple:Z}=e;ve&&ie(ve,G),$e&&ie($e,G),Me&&ie(Me,G),s.value=G,Z&&(g.value=String(G))}function N(G){if(G===h.value)return;const{"onUpdate:pageSize":ve,onUpdatePageSize:$e,onPageSizeChange:Me}=e;ve&&ie(ve,G),$e&&ie($e,G),Me&&ie(Me,G),d.value=G,p.value{u.value,h.value,_()});const xe=T(()=>{const{size:G}=e,{self:{buttonBorder:ve,buttonBorderHover:$e,buttonBorderPressed:Me,buttonIconColor:Z,buttonIconColorHover:fe,buttonIconColorPressed:me,itemTextColor:De,itemTextColorHover:te,itemTextColorPressed:ye,itemTextColorActive:Pe,itemTextColorDisabled:K,itemColor:Q,itemColorHover:pe,itemColorPressed:V,itemColorActive:D,itemColorActiveHover:J,itemColorDisabled:Se,itemBorder:Ae,itemBorderHover:Ge,itemBorderPressed:it,itemBorderActive:we,itemBorderDisabled:ze,itemBorderRadius:Ke,jumperTextColor:Be,jumperTextColorDisabled:Ve,buttonColor:at,buttonColorHover:F,buttonColorPressed:q,[oe("itemPadding",G)]:de,[oe("itemMargin",G)]:Re,[oe("inputWidth",G)]:Ie,[oe("selectWidth",G)]:Fe,[oe("inputMargin",G)]:_e,[oe("selectMargin",G)]:We,[oe("jumperFontSize",G)]:qe,[oe("prefixMargin",G)]:xt,[oe("suffixMargin",G)]:ft,[oe("itemSize",G)]:Ct,[oe("buttonIconSize",G)]:Kt,[oe("itemFontSize",G)]:Gt,[`${oe("itemMargin",G)}Rtl`]:Po,[`${oe("inputMargin",G)}Rtl`]:zo},common:{cubicBezierEaseInOut:uo}}=i.value;return{"--n-prefix-margin":xt,"--n-suffix-margin":ft,"--n-item-font-size":Gt,"--n-select-width":Fe,"--n-select-margin":We,"--n-input-width":Ie,"--n-input-margin":_e,"--n-input-margin-rtl":zo,"--n-item-size":Ct,"--n-item-text-color":De,"--n-item-text-color-disabled":K,"--n-item-text-color-hover":te,"--n-item-text-color-active":Pe,"--n-item-text-color-pressed":ye,"--n-item-color":Q,"--n-item-color-hover":pe,"--n-item-color-disabled":Se,"--n-item-color-active":D,"--n-item-color-active-hover":J,"--n-item-color-pressed":V,"--n-item-border":Ae,"--n-item-border-hover":Ge,"--n-item-border-disabled":ze,"--n-item-border-active":we,"--n-item-border-pressed":it,"--n-item-padding":de,"--n-item-border-radius":Ke,"--n-bezier":uo,"--n-jumper-font-size":qe,"--n-jumper-text-color":Be,"--n-jumper-text-color-disabled":Ve,"--n-item-margin":Re,"--n-item-margin-rtl":Po,"--n-button-icon-size":Kt,"--n-button-icon-color":Z,"--n-button-icon-color-hover":fe,"--n-button-icon-color-pressed":me,"--n-button-color-hover":F,"--n-button-color":at,"--n-button-color-pressed":q,"--n-button-border":ve,"--n-button-border-hover":$e,"--n-button-border-pressed":Me}}),Le=r?Qe("pagination",T(()=>{let G="";const{size:ve}=e;return G+=ve[0],G}),xe,e):void 0;return{rtlEnabled:H,mergedClsPrefix:o,locale:a,selfRef:l,mergedPage:u,pageItems:T(()=>x.value.items),mergedItemCount:A,jumperValue:g,pageSizeOptions:k,mergedPageSize:h,inputSize:P,selectSize:M,mergedTheme:i,mergedPageCount:p,startIndex:L,endIndex:I,showFastForwardMenu:b,showFastBackwardMenu:m,fastForwardActive:f,fastBackwardActive:v,handleMenuSelect:w,handleFastForwardMouseenter:C,handleFastForwardMouseleave:R,handleFastBackwardMouseenter:$,handleFastBackwardMouseleave:S,handleJumperInput:ge,handleBackwardClick:ue,handleForwardClick:ee,handlePageItemClick:le,handleSizePickerChange:W,handleQuickJumperChange:ne,cssVars:r?void 0:xe,themeClass:Le==null?void 0:Le.themeClass,onRender:Le==null?void 0:Le.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:o,cssVars:r,mergedPage:n,mergedPageCount:i,pageItems:a,showSizePicker:l,showQuickJumper:s,mergedTheme:d,locale:u,inputSize:h,selectSize:p,mergedPageSize:g,pageSizeOptions:f,jumperValue:v,simple:b,prev:m,next:C,prefix:R,suffix:$,label:S,goto:w,handleJumperInput:x,handleSizePickerChange:k,handleBackwardClick:P,handlePageItemClick:M,handleForwardClick:L,handleQuickJumperChange:I,onRender:A}=this;A==null||A();const H=e.prefix||R,_=e.suffix||$,U=m||e.prev,N=C||e.next,ee=S||e.label;return c("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,o&&`${t}-pagination--disabled`,b&&`${t}-pagination--simple`],style:r},H?c("div",{class:`${t}-pagination-prefix`},H({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(ue=>{switch(ue){case"pages":return c(yt,null,c("div",{class:[`${t}-pagination-item`,!U&&`${t}-pagination-item--button`,(n<=1||n>i||o)&&`${t}-pagination-item--disabled`],onClick:P},U?U({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(gd,null):c(hd,null)})),b?c(yt,null,c("div",{class:`${t}-pagination-quick-jumper`},c(qa,{value:v,onUpdateValue:x,size:h,placeholder:"",disabled:o,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:I}))," / ",i):a.map((ae,Y)=>{let W,X,ne;const{type:le}=ae;switch(le){case"page":const xe=ae.label;ee?W=ee({type:"page",node:xe,active:ae.active}):W=xe;break;case"fast-forward":const Le=this.fastForwardActive?c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(pd,null):c(vd,null)}):c(ot,{clsPrefix:t},{default:()=>c(md,null)});ee?W=ee({type:"fast-forward",node:Le,active:this.fastForwardActive||this.showFastForwardMenu}):W=Le,X=this.handleFastForwardMouseenter,ne=this.handleFastForwardMouseleave;break;case"fast-backward":const G=this.fastBackwardActive?c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(vd,null):c(pd,null)}):c(ot,{clsPrefix:t},{default:()=>c(md,null)});ee?W=ee({type:"fast-backward",node:G,active:this.fastBackwardActive||this.showFastBackwardMenu}):W=G,X=this.handleFastBackwardMouseenter,ne=this.handleFastBackwardMouseleave;break}const ge=c("div",{key:Y,class:[`${t}-pagination-item`,ae.active&&`${t}-pagination-item--active`,le!=="page"&&(le==="fast-backward"&&this.showFastBackwardMenu||le==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,o&&`${t}-pagination-item--disabled`,le==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{M(ae)},onMouseenter:X,onMouseleave:ne},W);if(le==="page"&&!ae.mayBeFastBackward&&!ae.mayBeFastForward)return ge;{const xe=ae.type==="page"?ae.mayBeFastBackward?"fast-backward":"fast-forward":ae.type;return ae.type!=="page"&&!ae.options?ge:c(qk,{to:this.to,key:xe,disabled:o,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:d.peers.Popselect,themeOverrides:d.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:le==="page"?!1:le==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:Le=>{le!=="page"&&(Le?le==="fast-backward"?this.showFastBackwardMenu=Le:this.showFastForwardMenu=Le:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:ae.type!=="page"&&ae.options?ae.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ge})}}),c("div",{class:[`${t}-pagination-item`,!N&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:n<1||n>=i||o}],onClick:L},N?N({page:n,pageSize:g,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):c(ot,{clsPrefix:t},{default:()=>this.rtlEnabled?c(hd,null):c(gd,null)})));case"size-picker":return!b&&l?c(Qk,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:p,options:f,value:g,disabled:o,theme:d.peers.Select,themeOverrides:d.peerOverrides.Select,onUpdateValue:k})):null;case"quick-jumper":return!b&&s?c("div",{class:`${t}-pagination-quick-jumper`},w?w():Bt(this.$slots.goto,()=>[u.goto]),c(qa,{value:v,onUpdateValue:x,size:h,placeholder:"",disabled:o,theme:d.peers.Input,themeOverrides:d.peerOverrides.Input,onChange:I})):null;default:return null}}),_?c("div",{class:`${t}-pagination-suffix`},_({page:n,pageSize:g,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),Wf={padding:"8px 14px"},l$={name:"Tooltip",common:ke,peers:{Popover:Cr},self(e){const{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n}=e;return Object.assign(Object.assign({},Wf),{borderRadius:t,boxShadow:o,color:r,textColor:n})}},Di=l$,s$=e=>{const{borderRadius:t,boxShadow2:o,baseColor:r}=e;return Object.assign(Object.assign({},Wf),{borderRadius:t,boxShadow:o,color:Ee(r,"rgba(0, 0, 0, .85)"),textColor:r})},d$={name:"Tooltip",common:Ce,peers:{Popover:Zo},self:s$},Ln=d$,c$={name:"Ellipsis",common:ke,peers:{Tooltip:Di}},Nf=c$,u$={name:"Ellipsis",common:Ce,peers:{Tooltip:Ln}},Ll=u$,jf={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},f$={name:"Radio",common:ke,self(e){const{borderColor:t,primaryColor:o,baseColor:r,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,heightSmall:p,heightMedium:g,heightLarge:f,lineHeight:v}=e;return Object.assign(Object.assign({},jf),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:g,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:n,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:o,buttonColor:"#0000",buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:r,buttonTextColorHover:o,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${o}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})}},Vf=f$,h$=e=>{const{borderColor:t,primaryColor:o,baseColor:r,textColorDisabled:n,inputColorDisabled:i,textColor2:a,opacityDisabled:l,borderRadius:s,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,heightSmall:p,heightMedium:g,heightLarge:f,lineHeight:v}=e;return Object.assign(Object.assign({},jf),{labelLineHeight:v,buttonHeightSmall:p,buttonHeightMedium:g,buttonHeightLarge:f,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:r,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:n,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:t,buttonColor:r,buttonColorActive:r,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:o,opacityDisabled:l,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${se(o,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:s})},p$={name:"Radio",common:Ce,self:h$},Hi=p$,v$={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},Uf=e=>{const{primaryColor:t,textColor2:o,dividerColor:r,hoverColor:n,popoverColor:i,invertedColor:a,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:u,fontSizeHuge:h,heightSmall:p,heightMedium:g,heightLarge:f,heightHuge:v,textColor3:b,opacityDisabled:m}=e;return Object.assign(Object.assign({},v$),{optionHeightSmall:p,optionHeightMedium:g,optionHeightLarge:f,optionHeightHuge:v,borderRadius:l,fontSizeSmall:s,fontSizeMedium:d,fontSizeLarge:u,fontSizeHuge:h,optionTextColor:o,optionTextColorHover:o,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:r,suffixColor:o,prefixColor:o,optionColorHover:n,optionColorActive:se(t,{alpha:.1}),groupHeaderTextColor:b,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:m})},g$={name:"Dropdown",common:Ce,peers:{Popover:Zo},self:Uf},Wi=g$,m$={name:"Dropdown",common:ke,peers:{Popover:Cr},self(e){const{primaryColorSuppl:t,primaryColor:o,popoverColor:r}=e,n=Uf(e);return n.colorInverted=r,n.optionColorActive=se(o,{alpha:.15}),n.optionColorActiveInverted=t,n.optionColorHoverInverted=t,n}},Al=m$,b$={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},Kf=e=>{const{cardColor:t,modalColor:o,popoverColor:r,textColor2:n,textColor1:i,tableHeaderColor:a,tableColorHover:l,iconColor:s,primaryColor:d,fontWeightStrong:u,borderRadius:h,lineHeight:p,fontSizeSmall:g,fontSizeMedium:f,fontSizeLarge:v,dividerColor:b,heightSmall:m,opacityDisabled:C,tableColorStriped:R}=e;return Object.assign(Object.assign({},b$),{actionDividerColor:b,lineHeight:p,borderRadius:h,fontSizeSmall:g,fontSizeMedium:f,fontSizeLarge:v,borderColor:Ee(t,b),tdColorHover:Ee(t,l),tdColorStriped:Ee(t,R),thColor:Ee(t,a),thColorHover:Ee(Ee(t,a),l),tdColor:t,tdTextColor:n,thTextColor:i,thFontWeight:u,thButtonColorHover:l,thIconColor:s,thIconColorActive:d,borderColorModal:Ee(o,b),tdColorHoverModal:Ee(o,l),tdColorStripedModal:Ee(o,R),thColorModal:Ee(o,a),thColorHoverModal:Ee(Ee(o,a),l),tdColorModal:o,borderColorPopover:Ee(r,b),tdColorHoverPopover:Ee(r,l),tdColorStripedPopover:Ee(r,R),thColorPopover:Ee(r,a),thColorHoverPopover:Ee(Ee(r,a),l),tdColorPopover:r,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:d,loadingSize:m,opacityLoading:C})},x$={name:"DataTable",common:Ce,peers:{Button:Lt,Checkbox:yr,Radio:Hi,Pagination:El,Scrollbar:Et,Empty:Ro,Popover:Zo,Ellipsis:Ll,Dropdown:Wi},self:Kf},Gf=x$,C$={name:"DataTable",common:ke,peers:{Button:Wt,Checkbox:Zr,Radio:Vf,Pagination:Df,Scrollbar:Dt,Empty:xr,Popover:Cr,Ellipsis:Nf,Dropdown:Al},self(e){const t=Kf(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},y$=C$,w$=Object.assign(Object.assign({},ur),be.props),qf=re({name:"Tooltip",props:w$,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(e),o=be("Tooltip","-tooltip",void 0,Ln,e,t),r=E(null);return Object.assign(Object.assign({},{syncPosition(){r.value.syncPosition()},setShow(i){r.value.setShow(i)}}),{popoverRef:r,mergedTheme:o,popoverThemeOverrides:T(()=>o.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return c(Yr,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),Xf=y("ellipsis",{overflow:"hidden"},[rt("line-clamp",` white-space: nowrap; display: inline-block; vertical-align: bottom; @@ -1507,7 +1507,7 @@ ${t} -webkit-box-orient: vertical; `),B("cursor-pointer",` cursor: pointer; - `)]);function Xa(e){return`${e}-ellipsis--line-clamp`}function Ya(e,t){return`${e}-ellipsis--cursor-${t}`}const Xf=Object.assign(Object.assign({},we.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),Ll=ne({name:"Ellipsis",inheritAttrs:!1,props:Xf,setup(e,{slots:t,attrs:o}){const r=Mu(),n=we("Ellipsis","-ellipsis",Gf,El,e,r),i=E(null),a=E(null),l=E(null),s=E(!1),d=T(()=>{const{lineClamp:m}=e,{value:b}=s;return m!==void 0?{textOverflow:"","-webkit-line-clamp":b?"":m}:{textOverflow:b?"":"ellipsis","-webkit-line-clamp":""}});function u(){let m=!1;const{value:b}=s;if(b)return!0;const{value:C}=i;if(C){const{lineClamp:R}=e;if(g(C),R!==void 0)m=C.scrollHeight<=C.offsetHeight;else{const{value:$}=a;$&&(m=$.getBoundingClientRect().width<=C.getBoundingClientRect().width)}f(C,m)}return m}const h=T(()=>e.expandTrigger==="click"?()=>{var m;const{value:b}=s;b&&((m=l.value)===null||m===void 0||m.setShow(!1)),s.value=!b}:void 0);nl(()=>{var m;e.tooltip&&((m=l.value)===null||m===void 0||m.setShow(!1))});const p=()=>c("span",Object.assign({},Ft(o,{class:[`${r.value}-ellipsis`,e.lineClamp!==void 0?Xa(r.value):void 0,e.expandTrigger==="click"?Ya(r.value,"pointer"):void 0],style:d.value}),{ref:"triggerRef",onClick:h.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:c("span",{ref:"triggerInnerRef"},t));function g(m){if(!m)return;const b=d.value,C=Xa(r.value);e.lineClamp!==void 0?v(m,C,"add"):v(m,C,"remove");for(const R in b)m.style[R]!==b[R]&&(m.style[R]=b[R])}function f(m,b){const C=Ya(r.value,"pointer");e.expandTrigger==="click"&&!b?v(m,C,"add"):v(m,C,"remove")}function v(m,b,C){C==="add"?m.classList.contains(b)||m.classList.add(b):m.classList.contains(b)&&m.classList.remove(b)}return{mergedTheme:n,triggerRef:i,triggerInnerRef:a,tooltipRef:l,handleClick:h,renderTrigger:p,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:o,$slots:r}=this;if(t){const{mergedTheme:n}=this;return c(qf,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:n.peers.Tooltip,themeOverrides:n.peerOverrides.Tooltip}),{trigger:o,default:(e=r.tooltip)!==null&&e!==void 0?e:r.default})}else return o()}}),C$=ne({name:"PerformantEllipsis",props:Xf,inheritAttrs:!1,setup(e,{attrs:t,slots:o}){const r=E(!1),n=Mu();return Do("-ellipsis",Gf,n),{mouseEntered:r,renderTrigger:()=>{const{lineClamp:a}=e,l=n.value;return c("span",Object.assign({},Ft(t,{class:[`${l}-ellipsis`,a!==void 0?Xa(l):void 0,e.expandTrigger==="click"?Ya(l,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{r.value=!0}}),a?o:c("span",null,o))}}},render(){return this.mouseEntered?c(Ll,Ft({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),y$=ne({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),w$=Object.assign(Object.assign({},we.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),co="n-data-table",S$=ne({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=He(),{mergedSortStateRef:o,mergedClsPrefixRef:r}=Te(co),n=T(()=>o.value.find(s=>s.columnKey===e.column.key)),i=T(()=>n.value!==void 0),a=T(()=>{const{value:s}=n;return s&&i.value?s.order:!1}),l=T(()=>{var s,d;return((d=(s=t==null?void 0:t.value)===null||s===void 0?void 0:s.DataTable)===null||d===void 0?void 0:d.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:r,active:i,mergedSortOrder:a,mergedRenderSorter:l}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:o}=this,{renderSorterIcon:r}=this.column;return e?c(y$,{render:e,order:t}):c("span",{class:[`${o}-data-table-sorter`,t==="ascend"&&`${o}-data-table-sorter--asc`,t==="descend"&&`${o}-data-table-sorter--desc`]},r?r({order:t}):c(ot,{clsPrefix:o},{default:()=>c(Qw,null)}))}}),k$=ne({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:o}=this;return e({active:t,show:o})}}),$$={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},Yf="n-radio-group";function R$(e){const t=So(e,{mergedSize(C){const{size:R}=e;if(R!==void 0)return R;if(a){const{mergedSizeRef:{value:$}}=a;if($!==void 0)return $}return C?C.mergedSize.value:"medium"},mergedDisabled(C){return!!(e.disabled||a!=null&&a.disabledRef.value||C!=null&&C.disabled.value)}}),{mergedSizeRef:o,mergedDisabledRef:r}=t,n=E(null),i=E(null),a=Te(Yf,null),l=E(e.defaultChecked),s=he(e,"checked"),d=$t(s,l),u=Ye(()=>a?a.valueRef.value===e.value:d.value),h=Ye(()=>{const{name:C}=e;if(C!==void 0)return C;if(a)return a.nameRef.value}),p=E(!1);function g(){if(a){const{doUpdateValue:C}=a,{value:R}=e;ie(C,R)}else{const{onUpdateChecked:C,"onUpdate:checked":R}=e,{nTriggerFormInput:$,nTriggerFormChange:S}=t;C&&ie(C,!0),R&&ie(R,!0),$(),S(),l.value=!0}}function f(){r.value||u.value||g()}function v(){f(),n.value&&(n.value.checked=u.value)}function m(){p.value=!1}function b(){p.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:He(e).mergedClsPrefixRef,inputRef:n,labelRef:i,mergedName:h,mergedDisabled:r,renderSafeChecked:u,focus:p,mergedSize:o,handleRadioInputChange:v,handleRadioInputBlur:m,handleRadioInputFocus:b}}const P$=y("radio",` + `)]);function Xa(e){return`${e}-ellipsis--line-clamp`}function Ya(e,t){return`${e}-ellipsis--cursor-${t}`}const Yf=Object.assign(Object.assign({},be.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),_l=re({name:"Ellipsis",inheritAttrs:!1,props:Yf,setup(e,{slots:t,attrs:o}){const r=Mu(),n=be("Ellipsis","-ellipsis",Xf,Ll,e,r),i=E(null),a=E(null),l=E(null),s=E(!1),d=T(()=>{const{lineClamp:b}=e,{value:m}=s;return b!==void 0?{textOverflow:"","-webkit-line-clamp":m?"":b}:{textOverflow:m?"":"ellipsis","-webkit-line-clamp":""}});function u(){let b=!1;const{value:m}=s;if(m)return!0;const{value:C}=i;if(C){const{lineClamp:R}=e;if(g(C),R!==void 0)b=C.scrollHeight<=C.offsetHeight;else{const{value:$}=a;$&&(b=$.getBoundingClientRect().width<=C.getBoundingClientRect().width)}f(C,b)}return b}const h=T(()=>e.expandTrigger==="click"?()=>{var b;const{value:m}=s;m&&((b=l.value)===null||b===void 0||b.setShow(!1)),s.value=!m}:void 0);nl(()=>{var b;e.tooltip&&((b=l.value)===null||b===void 0||b.setShow(!1))});const p=()=>c("span",Object.assign({},Ft(o,{class:[`${r.value}-ellipsis`,e.lineClamp!==void 0?Xa(r.value):void 0,e.expandTrigger==="click"?Ya(r.value,"pointer"):void 0],style:d.value}),{ref:"triggerRef",onClick:h.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:c("span",{ref:"triggerInnerRef"},t));function g(b){if(!b)return;const m=d.value,C=Xa(r.value);e.lineClamp!==void 0?v(b,C,"add"):v(b,C,"remove");for(const R in m)b.style[R]!==m[R]&&(b.style[R]=m[R])}function f(b,m){const C=Ya(r.value,"pointer");e.expandTrigger==="click"&&!m?v(b,C,"add"):v(b,C,"remove")}function v(b,m,C){C==="add"?b.classList.contains(m)||b.classList.add(m):b.classList.contains(m)&&b.classList.remove(m)}return{mergedTheme:n,triggerRef:i,triggerInnerRef:a,tooltipRef:l,handleClick:h,renderTrigger:p,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:o,$slots:r}=this;if(t){const{mergedTheme:n}=this;return c(qf,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:n.peers.Tooltip,themeOverrides:n.peerOverrides.Tooltip}),{trigger:o,default:(e=r.tooltip)!==null&&e!==void 0?e:r.default})}else return o()}}),S$=re({name:"PerformantEllipsis",props:Yf,inheritAttrs:!1,setup(e,{attrs:t,slots:o}){const r=E(!1),n=Mu();return Do("-ellipsis",Xf,n),{mouseEntered:r,renderTrigger:()=>{const{lineClamp:a}=e,l=n.value;return c("span",Object.assign({},Ft(t,{class:[`${l}-ellipsis`,a!==void 0?Xa(l):void 0,e.expandTrigger==="click"?Ya(l,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{r.value=!0}}),a?o:c("span",null,o))}}},render(){return this.mouseEntered?c(_l,Ft({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),k$=re({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),$$=Object.assign(Object.assign({},be.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),co="n-data-table",R$=re({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=He(),{mergedSortStateRef:o,mergedClsPrefixRef:r}=Te(co),n=T(()=>o.value.find(s=>s.columnKey===e.column.key)),i=T(()=>n.value!==void 0),a=T(()=>{const{value:s}=n;return s&&i.value?s.order:!1}),l=T(()=>{var s,d;return((d=(s=t==null?void 0:t.value)===null||s===void 0?void 0:s.DataTable)===null||d===void 0?void 0:d.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:r,active:i,mergedSortOrder:a,mergedRenderSorter:l}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:o}=this,{renderSorterIcon:r}=this.column;return e?c(k$,{render:e,order:t}):c("span",{class:[`${o}-data-table-sorter`,t==="ascend"&&`${o}-data-table-sorter--asc`,t==="descend"&&`${o}-data-table-sorter--desc`]},r?r({order:t}):c(ot,{clsPrefix:o},{default:()=>c(oS,null)}))}}),P$=re({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:o}=this;return e({active:t,show:o})}}),z$={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},Zf="n-radio-group";function T$(e){const t=ko(e,{mergedSize(C){const{size:R}=e;if(R!==void 0)return R;if(a){const{mergedSizeRef:{value:$}}=a;if($!==void 0)return $}return C?C.mergedSize.value:"medium"},mergedDisabled(C){return!!(e.disabled||a!=null&&a.disabledRef.value||C!=null&&C.disabled.value)}}),{mergedSizeRef:o,mergedDisabledRef:r}=t,n=E(null),i=E(null),a=Te(Zf,null),l=E(e.defaultChecked),s=he(e,"checked"),d=$t(s,l),u=Ye(()=>a?a.valueRef.value===e.value:d.value),h=Ye(()=>{const{name:C}=e;if(C!==void 0)return C;if(a)return a.nameRef.value}),p=E(!1);function g(){if(a){const{doUpdateValue:C}=a,{value:R}=e;ie(C,R)}else{const{onUpdateChecked:C,"onUpdate:checked":R}=e,{nTriggerFormInput:$,nTriggerFormChange:S}=t;C&&ie(C,!0),R&&ie(R,!0),$(),S(),l.value=!0}}function f(){r.value||u.value||g()}function v(){f(),n.value&&(n.value.checked=u.value)}function b(){p.value=!1}function m(){p.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:He(e).mergedClsPrefixRef,inputRef:n,labelRef:i,mergedName:h,mergedDisabled:r,renderSafeChecked:u,focus:p,mergedSize:o,handleRadioInputChange:v,handleRadioInputBlur:b,handleRadioInputFocus:m}}const B$=y("radio",` line-height: var(--n-label-line-height); outline: none; position: relative; @@ -1518,9 +1518,9 @@ ${t} flex-wrap: nowrap; font-size: var(--n-font-size); word-break: break-word; -`,[B("checked",[M("dot",` +`,[B("checked",[O("dot",` background-color: var(--n-color-active); - `)]),M("dot-wrapper",` + `)]),O("dot-wrapper",` position: relative; flex-shrink: 0; flex-grow: 0; @@ -1536,7 +1536,7 @@ ${t} opacity: 0; z-index: 1; cursor: pointer; - `),M("dot",` + `),O("dot",` position: absolute; top: 50%; left: 0; @@ -1567,24 +1567,24 @@ ${t} `),B("checked",{boxShadow:"var(--n-box-shadow-active)"},[z("&::before",` opacity: 1; transform: scale(1); - `)])]),M("label",` + `)])]),O("label",` color: var(--n-text-color); padding: var(--n-label-padding); font-weight: var(--n-label-font-weight); display: inline-block; transition: color .3s var(--n-bezier); - `),nt("disabled",` + `),rt("disabled",` cursor: pointer; - `,[z("&:hover",[M("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),B("focus",[z("&:not(:active)",[M("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),B("disabled",` + `,[z("&:hover",[O("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),B("focus",[z("&:not(:active)",[O("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),B("disabled",` cursor: not-allowed; - `,[M("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[z("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),B("checked",` + `,[O("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[z("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),B("checked",` opacity: 1; - `)]),M("label",{color:"var(--n-text-color-disabled)"}),y("radio-input",` + `)]),O("label",{color:"var(--n-text-color-disabled)"}),y("radio-input",` cursor: not-allowed; - `)])]),z$=Object.assign(Object.assign({},we.props),$$),Zf=ne({name:"Radio",props:z$,setup(e){const t=R$(e),o=we("Radio","-radio",P$,Hi,e,t.mergedClsPrefix),r=T(()=>{const{mergedSize:{value:d}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:h,boxShadowActive:p,boxShadowDisabled:g,boxShadowFocus:f,boxShadowHover:v,color:m,colorDisabled:b,colorActive:C,textColor:R,textColorDisabled:$,dotColorActive:S,dotColorDisabled:w,labelPadding:x,labelLineHeight:k,labelFontWeight:P,[oe("fontSize",d)]:I,[oe("radioSize",d)]:A}}=o.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":P,"--n-box-shadow":h,"--n-box-shadow-active":p,"--n-box-shadow-disabled":g,"--n-box-shadow-focus":f,"--n-box-shadow-hover":v,"--n-color":m,"--n-color-active":C,"--n-color-disabled":b,"--n-dot-color-active":S,"--n-dot-color-disabled":w,"--n-font-size":I,"--n-radio-size":A,"--n-text-color":R,"--n-text-color-disabled":$,"--n-label-padding":x}}),{inlineThemeDisabled:n,mergedClsPrefixRef:i,mergedRtlRef:a}=He(e),l=Rt("Radio",a,i),s=n?Qe("radio",T(()=>t.mergedSize.value[0]),r,e):void 0;return Object.assign(t,{rtlEnabled:l,cssVars:n?void 0:r,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:o,label:r}=this;return o==null||o(),c("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},c("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),c("div",{class:`${t}-radio__dot-wrapper`}," ",c("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Ze(e.default,n=>!n&&!r?null:c("div",{ref:"labelRef",class:`${t}-radio__label`},n||r)))}}),T$=y("radio-group",` + `)])]),O$=Object.assign(Object.assign({},be.props),z$),Jf=re({name:"Radio",props:O$,setup(e){const t=T$(e),o=be("Radio","-radio",B$,Hi,e,t.mergedClsPrefix),r=T(()=>{const{mergedSize:{value:d}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:h,boxShadowActive:p,boxShadowDisabled:g,boxShadowFocus:f,boxShadowHover:v,color:b,colorDisabled:m,colorActive:C,textColor:R,textColorDisabled:$,dotColorActive:S,dotColorDisabled:w,labelPadding:x,labelLineHeight:k,labelFontWeight:P,[oe("fontSize",d)]:M,[oe("radioSize",d)]:L}}=o.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":P,"--n-box-shadow":h,"--n-box-shadow-active":p,"--n-box-shadow-disabled":g,"--n-box-shadow-focus":f,"--n-box-shadow-hover":v,"--n-color":b,"--n-color-active":C,"--n-color-disabled":m,"--n-dot-color-active":S,"--n-dot-color-disabled":w,"--n-font-size":M,"--n-radio-size":L,"--n-text-color":R,"--n-text-color-disabled":$,"--n-label-padding":x}}),{inlineThemeDisabled:n,mergedClsPrefixRef:i,mergedRtlRef:a}=He(e),l=Rt("Radio",a,i),s=n?Qe("radio",T(()=>t.mergedSize.value[0]),r,e):void 0;return Object.assign(t,{rtlEnabled:l,cssVars:n?void 0:r,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:o,label:r}=this;return o==null||o(),c("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},c("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),c("div",{class:`${t}-radio__dot-wrapper`}," ",c("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),Ze(e.default,n=>!n&&!r?null:c("div",{ref:"labelRef",class:`${t}-radio__label`},n||r)))}}),M$=y("radio-group",` display: inline-block; font-size: var(--n-font-size); -`,[M("splitor",` +`,[O("splitor",` display: inline-block; vertical-align: bottom; width: 1px; @@ -1596,7 +1596,7 @@ ${t} white-space: nowrap; height: var(--n-height); line-height: var(--n-height); - `,[y("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),M("splitor",{height:"var(--n-height)"})]),y("radio-button",` + `,[y("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),O("splitor",{height:"var(--n-height)"})]),y("radio-button",` vertical-align: bottom; outline: none; position: relative; @@ -1627,7 +1627,7 @@ ${t} bottom: 0; opacity: 0; z-index: 1; - `),M("state-border",` + `),O("state-border",` z-index: 1; pointer-events: none; position: absolute; @@ -1641,30 +1641,30 @@ ${t} border-top-left-radius: var(--n-button-border-radius); border-bottom-left-radius: var(--n-button-border-radius); border-left: 1px solid var(--n-button-border-color); - `,[M("state-border",` + `,[O("state-border",` border-top-left-radius: var(--n-button-border-radius); border-bottom-left-radius: var(--n-button-border-radius); `)]),z("&:last-child",` border-top-right-radius: var(--n-button-border-radius); border-bottom-right-radius: var(--n-button-border-radius); border-right: 1px solid var(--n-button-border-color); - `,[M("state-border",` + `,[O("state-border",` border-top-right-radius: var(--n-button-border-radius); border-bottom-right-radius: var(--n-button-border-radius); - `)]),nt("disabled",` + `)]),rt("disabled",` cursor: pointer; - `,[z("&:hover",[M("state-border",` + `,[z("&:hover",[O("state-border",` transition: box-shadow .3s var(--n-bezier); box-shadow: var(--n-button-box-shadow-hover); - `),nt("checked",{color:"var(--n-button-text-color-hover)"})]),B("focus",[z("&:not(:active)",[M("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),B("checked",` + `),rt("checked",{color:"var(--n-button-text-color-hover)"})]),B("focus",[z("&:not(:active)",[O("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),B("checked",` background: var(--n-button-color-active); color: var(--n-button-text-color-active); border-color: var(--n-button-border-color-active); `),B("disabled",` cursor: not-allowed; opacity: var(--n-opacity-disabled); - `)])]);function B$(e,t,o){var r;const n=[];let i=!1;for(let a=0;a{const{value:S}=o,{common:{cubicBezierEaseInOut:w},self:{buttonBorderColor:x,buttonBorderColorActive:k,buttonBorderRadius:P,buttonBoxShadow:I,buttonBoxShadowFocus:A,buttonBoxShadowHover:O,buttonColor:L,buttonColorActive:H,buttonTextColor:_,buttonTextColorActive:U,buttonTextColorHover:N,opacityDisabled:te,[oe("buttonHeight",S)]:fe,[oe("fontSize",S)]:ae}}=h.value;return{"--n-font-size":ae,"--n-bezier":w,"--n-button-border-color":x,"--n-button-border-color-active":k,"--n-button-border-radius":P,"--n-button-box-shadow":I,"--n-button-box-shadow-focus":A,"--n-button-box-shadow-hover":O,"--n-button-color":L,"--n-button-color-active":H,"--n-button-text-color":_,"--n-button-text-color-hover":N,"--n-button-text-color-active":U,"--n-height":fe,"--n-opacity-disabled":te}}),$=d?Qe("radio-group",T(()=>o.value[0]),R,e):void 0;return{selfElRef:t,rtlEnabled:C,mergedClsPrefix:s,mergedValue:f,handleFocusout:b,handleFocusin:m,cssVars:d?void 0:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:o,handleFocusin:r,handleFocusout:n}=this,{children:i,isButtonGroup:a}=B$(Oo(il(this)),t,o);return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{onFocusin:r,onFocusout:n,ref:"selfElRef",class:[`${o}-radio-group`,this.rtlEnabled&&`${o}-radio-group--rtl`,this.themeClass,a&&`${o}-radio-group--button-group`],style:this.cssVars},i)}}),Jf=40,Qf=40;function Bd(e){if(e.type==="selection")return e.width===void 0?Jf:Tt(e.width);if(e.type==="expand")return e.width===void 0?Qf:Tt(e.width);if(!("children"in e))return typeof e.width=="string"?Tt(e.width):e.width}function I$(e){var t,o;if(e.type==="selection")return mt((t=e.width)!==null&&t!==void 0?t:Jf);if(e.type==="expand")return mt((o=e.width)!==null&&o!==void 0?o:Qf);if(!("children"in e))return mt(e.width)}function oo(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function Md(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function F$(e){return e==="ascend"?1:e==="descend"?-1:0}function E$(e,t,o){return o!==void 0&&(e=Math.min(e,typeof o=="number"?o:parseFloat(o))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function A$(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const o=I$(e),{minWidth:r,maxWidth:n}=e;return{width:o,minWidth:mt(r)||o,maxWidth:mt(n)}}function L$(e,t,o){return typeof o=="function"?o(e,t):o||""}function Ca(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function ya(e){return"children"in e?!1:!!e.sorter}function eh(e){return"children"in e&&e.children.length?!1:!!e.resizable}function Od(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function Id(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function _$(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:Id(!1)}:Object.assign(Object.assign({},t),{order:Id(t.order)})}function th(e,t){return t.find(o=>o.columnKey===e.key&&o.order)!==void 0}function D$(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function H$(e,t){const o=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),r=o.map(i=>i.title).join(","),n=t.map(i=>o.map(a=>D$(i[a.key])).join(","));return[r,...n].join(` -`)}const j$=ne({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("DataTable",o,t),{mergedClsPrefixRef:n,mergedThemeRef:i,localeRef:a}=Te(co),l=E(e.value),s=T(()=>{const{value:f}=l;return Array.isArray(f)?f:null}),d=T(()=>{const{value:f}=l;return Ca(e.column)?Array.isArray(f)&&f.length&&f[0]||null:Array.isArray(f)?null:f});function u(f){e.onChange(f)}function h(f){e.multiple&&Array.isArray(f)?l.value=f:Ca(e.column)&&!Array.isArray(f)?l.value=[f]:l.value=f}function p(){u(l.value),e.onConfirm()}function g(){e.multiple||Ca(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:n,rtlEnabled:r,mergedTheme:i,locale:a,checkboxGroupValue:s,radioGroupValue:d,handleChange:h,handleConfirmClick:p,handleClearClick:g}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:o}=this;return c("div",{class:[`${o}-data-table-filter-menu`,this.rtlEnabled&&`${o}-data-table-filter-menu--rtl`]},c(so,null,{default:()=>{const{checkboxGroupValue:r,handleChange:n}=this;return this.multiple?c(Ck,{value:r,class:`${o}-data-table-filter-menu__group`,onUpdateValue:n},{default:()=>this.options.map(i=>c(Ml,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):c(O$,{name:this.radioGroupName,class:`${o}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>c(Zf,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),c("div",{class:`${o}-data-table-filter-menu__action`},c(jr,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),c(jr,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function W$(e,t,o){const r=Object.assign({},e);return r[t]=o,r}const N$=ne({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=He(),{mergedThemeRef:o,mergedClsPrefixRef:r,mergedFilterStateRef:n,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:l,doUpdateFilters:s}=Te(co),d=E(!1),u=n,h=T(()=>e.column.filterMultiple!==!1),p=T(()=>{const C=u.value[e.column.key];if(C===void 0){const{value:R}=h;return R?[]:null}return C}),g=T(()=>{const{value:C}=p;return Array.isArray(C)?C.length>0:C!==null}),f=T(()=>{var C,R;return((R=(C=t==null?void 0:t.value)===null||C===void 0?void 0:C.DataTable)===null||R===void 0?void 0:R.renderFilter)||e.column.renderFilter});function v(C){const R=W$(u.value,e.column.key,C);s(R,e.column),a.value==="first"&&l(1)}function m(){d.value=!1}function b(){d.value=!1}return{mergedTheme:o,mergedClsPrefix:r,active:g,showPopover:d,mergedRenderFilter:f,filterMultiple:h,mergedFilterValue:p,filterMenuCssVars:i,handleFilterChange:v,handleFilterMenuConfirm:b,handleFilterMenuCancel:m}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:o}=this;return c(Yr,{show:this.showPopover,onUpdateShow:r=>this.showPopover=r,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:r}=this;if(r)return c(k$,{"data-data-table-filter":!0,render:r,active:this.active,show:this.showPopover});const{renderFilterIcon:n}=this.column;return c("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},n?n({active:this.active,show:this.showPopover}):c(ot,{clsPrefix:t},{default:()=>c(iS,null)}))},default:()=>{const{renderFilterMenu:r}=this.column;return r?r({hide:o}):c(j$,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),V$=ne({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Te(co),o=E(!1);let r=0;function n(s){return s.clientX}function i(s){var d;s.preventDefault();const u=o.value;r=n(s),o.value=!0,u||(tt("mousemove",window,a),tt("mouseup",window,l),(d=e.onResizeStart)===null||d===void 0||d.call(e))}function a(s){var d;(d=e.onResize)===null||d===void 0||d.call(e,n(s)-r)}function l(){var s;o.value=!1,(s=e.onResizeEnd)===null||s===void 0||s.call(e),Xe("mousemove",window,a),Xe("mouseup",window,l)}return dt(()=>{Xe("mousemove",window,a),Xe("mouseup",window,l)}),{mergedClsPrefix:t,active:o,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return c("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),oh=ne({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return c("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),rh=e=>{const{textColorBase:t,opacity1:o,opacity2:r,opacity3:n,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:o,opacity2Depth:r,opacity3Depth:n,opacity4Depth:i,opacity5Depth:a}},U$={name:"Icon",common:xe,self:rh},nh=U$,K$={name:"Icon",common:ke,self:rh},q$=K$,G$=y("icon",` + `)])]);function I$(e,t,o){var r;const n=[];let i=!1;for(let a=0;a{const{value:S}=o,{common:{cubicBezierEaseInOut:w},self:{buttonBorderColor:x,buttonBorderColorActive:k,buttonBorderRadius:P,buttonBoxShadow:M,buttonBoxShadowFocus:L,buttonBoxShadowHover:I,buttonColor:A,buttonColorActive:H,buttonTextColor:_,buttonTextColorActive:U,buttonTextColorHover:N,opacityDisabled:ee,[oe("buttonHeight",S)]:ue,[oe("fontSize",S)]:ae}}=h.value;return{"--n-font-size":ae,"--n-bezier":w,"--n-button-border-color":x,"--n-button-border-color-active":k,"--n-button-border-radius":P,"--n-button-box-shadow":M,"--n-button-box-shadow-focus":L,"--n-button-box-shadow-hover":I,"--n-button-color":A,"--n-button-color-active":H,"--n-button-text-color":_,"--n-button-text-color-hover":N,"--n-button-text-color-active":U,"--n-height":ue,"--n-opacity-disabled":ee}}),$=d?Qe("radio-group",T(()=>o.value[0]),R,e):void 0;return{selfElRef:t,rtlEnabled:C,mergedClsPrefix:s,mergedValue:f,handleFocusout:m,handleFocusin:b,cssVars:d?void 0:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:o,handleFocusin:r,handleFocusout:n}=this,{children:i,isButtonGroup:a}=I$(Io(il(this)),t,o);return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{onFocusin:r,onFocusout:n,ref:"selfElRef",class:[`${o}-radio-group`,this.rtlEnabled&&`${o}-radio-group--rtl`,this.themeClass,a&&`${o}-radio-group--button-group`],style:this.cssVars},i)}}),Qf=40,eh=40;function Md(e){if(e.type==="selection")return e.width===void 0?Qf:Tt(e.width);if(e.type==="expand")return e.width===void 0?eh:Tt(e.width);if(!("children"in e))return typeof e.width=="string"?Tt(e.width):e.width}function L$(e){var t,o;if(e.type==="selection")return bt((t=e.width)!==null&&t!==void 0?t:Qf);if(e.type==="expand")return bt((o=e.width)!==null&&o!==void 0?o:eh);if(!("children"in e))return bt(e.width)}function oo(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function Id(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function A$(e){return e==="ascend"?1:e==="descend"?-1:0}function _$(e,t,o){return o!==void 0&&(e=Math.min(e,typeof o=="number"?o:parseFloat(o))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function D$(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const o=L$(e),{minWidth:r,maxWidth:n}=e;return{width:o,minWidth:bt(r)||o,maxWidth:bt(n)}}function H$(e,t,o){return typeof o=="function"?o(e,t):o||""}function Ca(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function ya(e){return"children"in e?!1:!!e.sorter}function th(e){return"children"in e&&e.children.length?!1:!!e.resizable}function Fd(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function Ed(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function W$(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:Ed(!1)}:Object.assign(Object.assign({},t),{order:Ed(t.order)})}function oh(e,t){return t.find(o=>o.columnKey===e.key&&o.order)!==void 0}function N$(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function j$(e,t){const o=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),r=o.map(i=>i.title).join(","),n=t.map(i=>o.map(a=>N$(i[a.key])).join(","));return[r,...n].join(` +`)}const V$=re({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=Rt("DataTable",o,t),{mergedClsPrefixRef:n,mergedThemeRef:i,localeRef:a}=Te(co),l=E(e.value),s=T(()=>{const{value:f}=l;return Array.isArray(f)?f:null}),d=T(()=>{const{value:f}=l;return Ca(e.column)?Array.isArray(f)&&f.length&&f[0]||null:Array.isArray(f)?null:f});function u(f){e.onChange(f)}function h(f){e.multiple&&Array.isArray(f)?l.value=f:Ca(e.column)&&!Array.isArray(f)?l.value=[f]:l.value=f}function p(){u(l.value),e.onConfirm()}function g(){e.multiple||Ca(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:n,rtlEnabled:r,mergedTheme:i,locale:a,checkboxGroupValue:s,radioGroupValue:d,handleChange:h,handleConfirmClick:p,handleClearClick:g}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:o}=this;return c("div",{class:[`${o}-data-table-filter-menu`,this.rtlEnabled&&`${o}-data-table-filter-menu--rtl`]},c(so,null,{default:()=>{const{checkboxGroupValue:r,handleChange:n}=this;return this.multiple?c(Sk,{value:r,class:`${o}-data-table-filter-menu__group`,onUpdateValue:n},{default:()=>this.options.map(i=>c(Ml,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):c(E$,{name:this.radioGroupName,class:`${o}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>c(Jf,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),c("div",{class:`${o}-data-table-filter-menu__action`},c(Wr,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),c(Wr,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function U$(e,t,o){const r=Object.assign({},e);return r[t]=o,r}const K$=re({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=He(),{mergedThemeRef:o,mergedClsPrefixRef:r,mergedFilterStateRef:n,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:l,doUpdateFilters:s}=Te(co),d=E(!1),u=n,h=T(()=>e.column.filterMultiple!==!1),p=T(()=>{const C=u.value[e.column.key];if(C===void 0){const{value:R}=h;return R?[]:null}return C}),g=T(()=>{const{value:C}=p;return Array.isArray(C)?C.length>0:C!==null}),f=T(()=>{var C,R;return((R=(C=t==null?void 0:t.value)===null||C===void 0?void 0:C.DataTable)===null||R===void 0?void 0:R.renderFilter)||e.column.renderFilter});function v(C){const R=U$(u.value,e.column.key,C);s(R,e.column),a.value==="first"&&l(1)}function b(){d.value=!1}function m(){d.value=!1}return{mergedTheme:o,mergedClsPrefix:r,active:g,showPopover:d,mergedRenderFilter:f,filterMultiple:h,mergedFilterValue:p,filterMenuCssVars:i,handleFilterChange:v,handleFilterMenuConfirm:m,handleFilterMenuCancel:b}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:o}=this;return c(Yr,{show:this.showPopover,onUpdateShow:r=>this.showPopover=r,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:r}=this;if(r)return c(P$,{"data-data-table-filter":!0,render:r,active:this.active,show:this.showPopover});const{renderFilterIcon:n}=this.column;return c("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},n?n({active:this.active,show:this.showPopover}):c(ot,{clsPrefix:t},{default:()=>c(sS,null)}))},default:()=>{const{renderFilterMenu:r}=this.column;return r?r({hide:o}):c(V$,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),G$=re({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Te(co),o=E(!1);let r=0;function n(s){return s.clientX}function i(s){var d;s.preventDefault();const u=o.value;r=n(s),o.value=!0,u||(tt("mousemove",window,a),tt("mouseup",window,l),(d=e.onResizeStart)===null||d===void 0||d.call(e))}function a(s){var d;(d=e.onResize)===null||d===void 0||d.call(e,n(s)-r)}function l(){var s;o.value=!1,(s=e.onResizeEnd)===null||s===void 0||s.call(e),Xe("mousemove",window,a),Xe("mouseup",window,l)}return dt(()=>{Xe("mousemove",window,a),Xe("mouseup",window,l)}),{mergedClsPrefix:t,active:o,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return c("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),rh=re({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return c("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),nh=e=>{const{textColorBase:t,opacity1:o,opacity2:r,opacity3:n,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:o,opacity2Depth:r,opacity3Depth:n,opacity4Depth:i,opacity5Depth:a}},q$={name:"Icon",common:Ce,self:nh},ih=q$,X$={name:"Icon",common:ke,self:nh},Y$=X$,Z$=y("icon",` height: 1em; width: 1em; line-height: 1em; @@ -1673,7 +1673,7 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[B("color-transition",{transition:"color .3s var(--n-bezier)"}),B("depth",{color:"var(--n-color)"},[z("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),z("svg",{height:"1em",width:"1em"})]),X$=Object.assign(Object.assign({},we.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Y$=ne({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:X$,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Icon","-icon",G$,nh,e,t),n=T(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:l},self:s}=r.value;if(a!==void 0){const{color:d,[`opacity${a}Depth`]:u}=s;return{"--n-bezier":l,"--n-color":d,"--n-opacity":u}}return{"--n-bezier":l,"--n-color":"","--n-opacity":""}}),i=o?Qe("icon",T(()=>`${e.depth||"d"}`),n,e):void 0;return{mergedClsPrefix:t,mergedStyle:T(()=>{const{size:a,color:l}=e;return{fontSize:mt(a),color:l}}),cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:o,mergedClsPrefix:r,component:n,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&yo("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),c("i",Ft(this.$attrs,{role:"img",class:[`${r}-icon`,a,{[`${r}-icon--depth`]:o,[`${r}-icon--color-transition`]:o!==void 0}],style:[this.cssVars,this.mergedStyle]}),n?c(n):this.$slots)}}),_l="n-dropdown-menu",Wi="n-dropdown",Fd="n-dropdown-option";function Za(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function Z$(e){return e.type==="group"}function ih(e){return e.type==="divider"}function J$(e){return e.type==="render"}const ah=ne({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Te(Wi),{hoverKeyRef:o,keyboardKeyRef:r,lastToggledSubmenuKeyRef:n,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:l,mergedShowRef:s,renderLabelRef:d,renderIconRef:u,labelFieldRef:h,childrenFieldRef:p,renderOptionRef:g,nodePropsRef:f,menuPropsRef:v}=t,m=Te(Fd,null),b=Te(_l),C=Te(qr),R=T(()=>e.tmNode.rawNode),$=T(()=>{const{value:N}=p;return Za(e.tmNode.rawNode,N)}),S=T(()=>{const{disabled:N}=e.tmNode;return N}),w=T(()=>{if(!$.value)return!1;const{key:N,disabled:te}=e.tmNode;if(te)return!1;const{value:fe}=o,{value:ae}=r,{value:Y}=n,{value:j}=i;return fe!==null?j.includes(N):ae!==null?j.includes(N)&&j[j.length-1]!==N:Y!==null?j.includes(N):!1}),x=T(()=>r.value===null&&!l.value),k=Zv(w,300,x),P=T(()=>!!(m!=null&&m.enteringSubmenuRef.value)),I=E(!1);Ue(Fd,{enteringSubmenuRef:I});function A(){I.value=!0}function O(){I.value=!1}function L(){const{parentKey:N,tmNode:te}=e;te.disabled||s.value&&(n.value=N,r.value=null,o.value=te.key)}function H(){const{tmNode:N}=e;N.disabled||s.value&&o.value!==N.key&&L()}function _(N){if(e.tmNode.disabled||!s.value)return;const{relatedTarget:te}=N;te&&!no({target:te},"dropdownOption")&&!no({target:te},"scrollbarRail")&&(o.value=null)}function U(){const{value:N}=$,{tmNode:te}=e;s.value&&!N&&!te.disabled&&(t.doSelect(te.key,te.rawNode),t.doUpdateShow(!1))}return{labelField:h,renderLabel:d,renderIcon:u,siblingHasIcon:b.showIconRef,siblingHasSubmenu:b.hasSubmenuRef,menuProps:v,popoverBody:C,animated:l,mergedShowSubmenu:T(()=>k.value&&!P.value),rawNode:R,hasSubmenu:$,pending:Ye(()=>{const{value:N}=i,{key:te}=e.tmNode;return N.includes(te)}),childActive:Ye(()=>{const{value:N}=a,{key:te}=e.tmNode,fe=N.findIndex(ae=>te===ae);return fe===-1?!1:fe{const{value:N}=a,{key:te}=e.tmNode,fe=N.findIndex(ae=>te===ae);return fe===-1?!1:fe===N.length-1}),mergedDisabled:S,renderOption:g,nodeProps:f,handleClick:U,handleMouseMove:H,handleMouseEnter:L,handleMouseLeave:_,handleSubmenuBeforeEnter:A,handleSubmenuAfterEnter:O}},render(){var e,t;const{animated:o,rawNode:r,mergedShowSubmenu:n,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:l,renderLabel:s,renderIcon:d,renderOption:u,nodeProps:h,props:p,scrollable:g}=this;let f=null;if(n){const C=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,r,r.children);f=c(lh,Object.assign({},C,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const v={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},m=h==null?void 0:h(r),b=c("div",Object.assign({class:[`${i}-dropdown-option`,m==null?void 0:m.class],"data-dropdown-option":!0},m),c("div",Ft(v,p),[c("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[d?d(r):pt(r.icon)]),c("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},s?s(r):pt((t=r[this.labelField])!==null&&t!==void 0?t:r.title)),c("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,l&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?c(Y$,null,{default:()=>c(kl,null)}):null)]),this.hasSubmenu?c($i,null,{default:()=>[c(Ri,null,{default:()=>c("div",{class:`${i}-dropdown-offset-container`},c(Ti,{show:this.mergedShowSubmenu,placement:this.placement,to:g&&this.popoverBody||void 0,teleportDisabled:!g},{default:()=>c("div",{class:`${i}-dropdown-menu-wrapper`},o?c(kt,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>f}):f)}))})]}):null);return u?u({node:b,option:r}):b}}),Q$=ne({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Te(_l),{renderLabelRef:o,labelFieldRef:r,nodePropsRef:n,renderOptionRef:i}=Te(Wi);return{labelField:r,showIcon:e,hasSubmenu:t,renderLabel:o,nodeProps:n,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:o,showIcon:r,nodeProps:n,renderLabel:i,renderOption:a}=this,{rawNode:l}=this.tmNode,s=c("div",Object.assign({class:`${t}-dropdown-option`},n==null?void 0:n(l)),c("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},c("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,r&&`${t}-dropdown-option-body__prefix--show-icon`]},pt(l.icon)),c("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(l):pt((e=l.title)!==null&&e!==void 0?e:l[this.labelField])),c("div",{class:[`${t}-dropdown-option-body__suffix`,o&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:s,option:l}):s}}),e3=ne({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:o}=this,{children:r}=e;return c(yt,null,c(Q$,{clsPrefix:o,tmNode:e,key:e.key}),r==null?void 0:r.map(n=>{const{rawNode:i}=n;return i.show===!1?null:ih(i)?c(oh,{clsPrefix:o,key:n.key}):n.isGroup?(yo("dropdown","`group` node is not allowed to be put in `group` node."),null):c(ah,{clsPrefix:o,tmNode:n,parentKey:t,key:n.key})}))}}),t3=ne({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return c("div",t,[e==null?void 0:e()])}}),lh=ne({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:o}=Te(Wi);Ue(_l,{showIconRef:T(()=>{const n=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:s})=>n?n(s):s.icon);const{rawNode:l}=i;return n?n(l):l.icon})}),hasSubmenuRef:T(()=>{const{value:n}=o;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:s})=>Za(s,n));const{rawNode:l}=i;return Za(l,n)})})});const r=E(null);return Ue(Bn,null),Ue(Mn,null),Ue(qr,r),{bodyRef:r}},render(){const{parentKey:e,clsPrefix:t,scrollable:o}=this,r=this.tmNodes.map(n=>{const{rawNode:i}=n;return i.show===!1?null:J$(i)?c(t3,{tmNode:n,key:n.key}):ih(i)?c(oh,{clsPrefix:t,key:n.key}):Z$(i)?c(e3,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key}):c(ah,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key,props:i.props,scrollable:o})});return c("div",{class:[`${t}-dropdown-menu`,o&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},o?c(Vu,{contentClass:`${t}-dropdown-menu__content`},{default:()=>r}):r,this.showArrow?Xu({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),o3=y("dropdown-menu",` +`,[B("color-transition",{transition:"color .3s var(--n-bezier)"}),B("depth",{color:"var(--n-color)"},[z("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),z("svg",{height:"1em",width:"1em"})]),J$=Object.assign(Object.assign({},be.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Q$=re({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:J$,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=be("Icon","-icon",Z$,ih,e,t),n=T(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:l},self:s}=r.value;if(a!==void 0){const{color:d,[`opacity${a}Depth`]:u}=s;return{"--n-bezier":l,"--n-color":d,"--n-opacity":u}}return{"--n-bezier":l,"--n-color":"","--n-opacity":""}}),i=o?Qe("icon",T(()=>`${e.depth||"d"}`),n,e):void 0;return{mergedClsPrefix:t,mergedStyle:T(()=>{const{size:a,color:l}=e;return{fontSize:bt(a),color:l}}),cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:o,mergedClsPrefix:r,component:n,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&yo("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),c("i",Ft(this.$attrs,{role:"img",class:[`${r}-icon`,a,{[`${r}-icon--depth`]:o,[`${r}-icon--color-transition`]:o!==void 0}],style:[this.cssVars,this.mergedStyle]}),n?c(n):this.$slots)}}),Dl="n-dropdown-menu",Ni="n-dropdown",Ld="n-dropdown-option";function Za(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function e3(e){return e.type==="group"}function ah(e){return e.type==="divider"}function t3(e){return e.type==="render"}const lh=re({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Te(Ni),{hoverKeyRef:o,keyboardKeyRef:r,lastToggledSubmenuKeyRef:n,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:l,mergedShowRef:s,renderLabelRef:d,renderIconRef:u,labelFieldRef:h,childrenFieldRef:p,renderOptionRef:g,nodePropsRef:f,menuPropsRef:v}=t,b=Te(Ld,null),m=Te(Dl),C=Te(Gr),R=T(()=>e.tmNode.rawNode),$=T(()=>{const{value:N}=p;return Za(e.tmNode.rawNode,N)}),S=T(()=>{const{disabled:N}=e.tmNode;return N}),w=T(()=>{if(!$.value)return!1;const{key:N,disabled:ee}=e.tmNode;if(ee)return!1;const{value:ue}=o,{value:ae}=r,{value:Y}=n,{value:W}=i;return ue!==null?W.includes(N):ae!==null?W.includes(N)&&W[W.length-1]!==N:Y!==null?W.includes(N):!1}),x=T(()=>r.value===null&&!l.value),k=eg(w,300,x),P=T(()=>!!(b!=null&&b.enteringSubmenuRef.value)),M=E(!1);Ue(Ld,{enteringSubmenuRef:M});function L(){M.value=!0}function I(){M.value=!1}function A(){const{parentKey:N,tmNode:ee}=e;ee.disabled||s.value&&(n.value=N,r.value=null,o.value=ee.key)}function H(){const{tmNode:N}=e;N.disabled||s.value&&o.value!==N.key&&A()}function _(N){if(e.tmNode.disabled||!s.value)return;const{relatedTarget:ee}=N;ee&&!no({target:ee},"dropdownOption")&&!no({target:ee},"scrollbarRail")&&(o.value=null)}function U(){const{value:N}=$,{tmNode:ee}=e;s.value&&!N&&!ee.disabled&&(t.doSelect(ee.key,ee.rawNode),t.doUpdateShow(!1))}return{labelField:h,renderLabel:d,renderIcon:u,siblingHasIcon:m.showIconRef,siblingHasSubmenu:m.hasSubmenuRef,menuProps:v,popoverBody:C,animated:l,mergedShowSubmenu:T(()=>k.value&&!P.value),rawNode:R,hasSubmenu:$,pending:Ye(()=>{const{value:N}=i,{key:ee}=e.tmNode;return N.includes(ee)}),childActive:Ye(()=>{const{value:N}=a,{key:ee}=e.tmNode,ue=N.findIndex(ae=>ee===ae);return ue===-1?!1:ue{const{value:N}=a,{key:ee}=e.tmNode,ue=N.findIndex(ae=>ee===ae);return ue===-1?!1:ue===N.length-1}),mergedDisabled:S,renderOption:g,nodeProps:f,handleClick:U,handleMouseMove:H,handleMouseEnter:A,handleMouseLeave:_,handleSubmenuBeforeEnter:L,handleSubmenuAfterEnter:I}},render(){var e,t;const{animated:o,rawNode:r,mergedShowSubmenu:n,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:l,renderLabel:s,renderIcon:d,renderOption:u,nodeProps:h,props:p,scrollable:g}=this;let f=null;if(n){const C=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,r,r.children);f=c(sh,Object.assign({},C,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const v={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},b=h==null?void 0:h(r),m=c("div",Object.assign({class:[`${i}-dropdown-option`,b==null?void 0:b.class],"data-dropdown-option":!0},b),c("div",Ft(v,p),[c("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[d?d(r):vt(r.icon)]),c("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},s?s(r):vt((t=r[this.labelField])!==null&&t!==void 0?t:r.title)),c("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,l&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?c(Q$,null,{default:()=>c($l,null)}):null)]),this.hasSubmenu?c($i,null,{default:()=>[c(Ri,null,{default:()=>c("div",{class:`${i}-dropdown-offset-container`},c(Ti,{show:this.mergedShowSubmenu,placement:this.placement,to:g&&this.popoverBody||void 0,teleportDisabled:!g},{default:()=>c("div",{class:`${i}-dropdown-menu-wrapper`},o?c(kt,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>f}):f)}))})]}):null);return u?u({node:m,option:r}):m}}),o3=re({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Te(Dl),{renderLabelRef:o,labelFieldRef:r,nodePropsRef:n,renderOptionRef:i}=Te(Ni);return{labelField:r,showIcon:e,hasSubmenu:t,renderLabel:o,nodeProps:n,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:o,showIcon:r,nodeProps:n,renderLabel:i,renderOption:a}=this,{rawNode:l}=this.tmNode,s=c("div",Object.assign({class:`${t}-dropdown-option`},n==null?void 0:n(l)),c("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},c("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,r&&`${t}-dropdown-option-body__prefix--show-icon`]},vt(l.icon)),c("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(l):vt((e=l.title)!==null&&e!==void 0?e:l[this.labelField])),c("div",{class:[`${t}-dropdown-option-body__suffix`,o&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:s,option:l}):s}}),r3=re({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:o}=this,{children:r}=e;return c(yt,null,c(o3,{clsPrefix:o,tmNode:e,key:e.key}),r==null?void 0:r.map(n=>{const{rawNode:i}=n;return i.show===!1?null:ah(i)?c(rh,{clsPrefix:o,key:n.key}):n.isGroup?(yo("dropdown","`group` node is not allowed to be put in `group` node."),null):c(lh,{clsPrefix:o,tmNode:n,parentKey:t,key:n.key})}))}}),n3=re({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return c("div",t,[e==null?void 0:e()])}}),sh=re({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:o}=Te(Ni);Ue(Dl,{showIconRef:T(()=>{const n=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:s})=>n?n(s):s.icon);const{rawNode:l}=i;return n?n(l):l.icon})}),hasSubmenuRef:T(()=>{const{value:n}=o;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:s})=>Za(s,n));const{rawNode:l}=i;return Za(l,n)})})});const r=E(null);return Ue(Bn,null),Ue(On,null),Ue(Gr,r),{bodyRef:r}},render(){const{parentKey:e,clsPrefix:t,scrollable:o}=this,r=this.tmNodes.map(n=>{const{rawNode:i}=n;return i.show===!1?null:t3(i)?c(n3,{tmNode:n,key:n.key}):ah(i)?c(rh,{clsPrefix:t,key:n.key}):e3(i)?c(r3,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key}):c(lh,{clsPrefix:t,tmNode:n,parentKey:e,key:n.key,props:i.props,scrollable:o})});return c("div",{class:[`${t}-dropdown-menu`,o&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},o?c(Uu,{contentClass:`${t}-dropdown-menu__content`},{default:()=>r}):r,this.showArrow?Yu({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),i3=y("dropdown-menu",` transform-origin: var(--v-transform-origin); background-color: var(--n-color); border-radius: var(--n-border-radius); @@ -1682,7 +1682,7 @@ ${t} transition: background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier); -`,[Go(),y("dropdown-option",` +`,[qo(),y("dropdown-option",` position: relative; `,[z("a",` text-decoration: none; @@ -1713,17 +1713,17 @@ ${t} right: 4px; transition: background-color .3s var(--n-bezier); border-radius: var(--n-border-radius); - `),nt("disabled",[B("pending",` + `),rt("disabled",[B("pending",` color: var(--n-option-text-color-hover); - `,[M("prefix, suffix",` + `,[O("prefix, suffix",` color: var(--n-option-text-color-hover); `),z("&::before","background-color: var(--n-option-color-hover);")]),B("active",` color: var(--n-option-text-color-active); - `,[M("prefix, suffix",` + `,[O("prefix, suffix",` color: var(--n-option-text-color-active); `),z("&::before","background-color: var(--n-option-color-active);")]),B("child-active",` color: var(--n-option-text-color-child-active); - `,[M("prefix, suffix",` + `,[O("prefix, suffix",` color: var(--n-option-text-color-child-active); `)])]),B("disabled",` cursor: not-allowed; @@ -1731,11 +1731,11 @@ ${t} `),B("group",` font-size: calc(var(--n-font-size) - 1px); color: var(--n-group-header-text-color); - `,[M("prefix",` + `,[O("prefix",` width: calc(var(--n-option-prefix-width) / 2); `,[B("show-icon",` width: calc(var(--n-option-icon-prefix-width) / 2); - `)])]),M("prefix",` + `)])]),O("prefix",` width: var(--n-option-prefix-width); display: flex; justify-content: center; @@ -1747,11 +1747,11 @@ ${t} width: var(--n-option-icon-prefix-width); `),y("icon",` font-size: var(--n-option-icon-size); - `)]),M("label",` + `)]),O("label",` white-space: nowrap; flex: 1; z-index: 1; - `),M("suffix",` + `),O("suffix",` box-sizing: border-box; flex-grow: 0; flex-shrink: 0; @@ -1785,11 +1785,11 @@ ${t} `),z(">",[y("scrollbar",` height: inherit; max-height: inherit; - `)]),nt("scrollable",` + `)]),rt("scrollable",` padding: var(--n-padding); - `),B("scrollable",[M("content",` + `),B("scrollable",[O("content",` padding: var(--n-padding); - `)])]),r3={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},n3=Object.keys(ur),i3=Object.assign(Object.assign(Object.assign({},ur),r3),we.props),a3=ne({name:"Dropdown",inheritAttrs:!1,props:i3,setup(e){const t=E(!1),o=$t(he(e,"show"),t),r=T(()=>{const{keyField:O,childrenField:L}=e;return Ai(e.options,{getKey(H){return H[O]},getDisabled(H){return H.disabled===!0},getIgnored(H){return H.type==="divider"||H.type==="render"},getChildren(H){return H[L]}})}),n=T(()=>r.value.treeNodes),i=E(null),a=E(null),l=E(null),s=T(()=>{var O,L,H;return(H=(L=(O=i.value)!==null&&O!==void 0?O:a.value)!==null&&L!==void 0?L:l.value)!==null&&H!==void 0?H:null}),d=T(()=>r.value.getPath(s.value).keyPath),u=T(()=>r.value.getPath(e.value).keyPath),h=Ye(()=>e.keyboard&&o.value);pg({keydown:{ArrowUp:{prevent:!0,handler:S},ArrowRight:{prevent:!0,handler:$},ArrowDown:{prevent:!0,handler:w},ArrowLeft:{prevent:!0,handler:R},Enter:{prevent:!0,handler:x},Escape:C}},h);const{mergedClsPrefixRef:p,inlineThemeDisabled:g}=He(e),f=we("Dropdown","-dropdown",o3,ji,e,p);Ue(Wi,{labelFieldRef:he(e,"labelField"),childrenFieldRef:he(e,"childrenField"),renderLabelRef:he(e,"renderLabel"),renderIconRef:he(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:l,pendingKeyPathRef:d,activeKeyPathRef:u,animatedRef:he(e,"animated"),mergedShowRef:o,nodePropsRef:he(e,"nodeProps"),renderOptionRef:he(e,"renderOption"),menuPropsRef:he(e,"menuProps"),doSelect:v,doUpdateShow:m}),Je(o,O=>{!e.animated&&!O&&b()});function v(O,L){const{onSelect:H}=e;H&&ie(H,O,L)}function m(O){const{"onUpdate:show":L,onUpdateShow:H}=e;L&&ie(L,O),H&&ie(H,O),t.value=O}function b(){i.value=null,a.value=null,l.value=null}function C(){m(!1)}function R(){P("left")}function $(){P("right")}function S(){P("up")}function w(){P("down")}function x(){const O=k();O!=null&&O.isLeaf&&o.value&&(v(O.key,O.rawNode),m(!1))}function k(){var O;const{value:L}=r,{value:H}=s;return!L||H===null?null:(O=L.getNode(H))!==null&&O!==void 0?O:null}function P(O){const{value:L}=s,{value:{getFirstAvailableNode:H}}=r;let _=null;if(L===null){const U=H();U!==null&&(_=U.key)}else{const U=k();if(U){let N;switch(O){case"down":N=U.getNext();break;case"up":N=U.getPrev();break;case"right":N=U.getChild();break;case"left":N=U.getParent();break}N&&(_=N.key)}}_!==null&&(i.value=null,a.value=_)}const I=T(()=>{const{size:O,inverted:L}=e,{common:{cubicBezierEaseInOut:H},self:_}=f.value,{padding:U,dividerColor:N,borderRadius:te,optionOpacityDisabled:fe,[oe("optionIconSuffixWidth",O)]:ae,[oe("optionSuffixWidth",O)]:Y,[oe("optionIconPrefixWidth",O)]:j,[oe("optionPrefixWidth",O)]:X,[oe("fontSize",O)]:re,[oe("optionHeight",O)]:le,[oe("optionIconSize",O)]:ge}=_,me={"--n-bezier":H,"--n-font-size":re,"--n-padding":U,"--n-border-radius":te,"--n-option-height":le,"--n-option-prefix-width":X,"--n-option-icon-prefix-width":j,"--n-option-suffix-width":Y,"--n-option-icon-suffix-width":ae,"--n-option-icon-size":ge,"--n-divider-color":N,"--n-option-opacity-disabled":fe};return L?(me["--n-color"]=_.colorInverted,me["--n-option-color-hover"]=_.optionColorHoverInverted,me["--n-option-color-active"]=_.optionColorActiveInverted,me["--n-option-text-color"]=_.optionTextColorInverted,me["--n-option-text-color-hover"]=_.optionTextColorHoverInverted,me["--n-option-text-color-active"]=_.optionTextColorActiveInverted,me["--n-option-text-color-child-active"]=_.optionTextColorChildActiveInverted,me["--n-prefix-color"]=_.prefixColorInverted,me["--n-suffix-color"]=_.suffixColorInverted,me["--n-group-header-text-color"]=_.groupHeaderTextColorInverted):(me["--n-color"]=_.color,me["--n-option-color-hover"]=_.optionColorHover,me["--n-option-color-active"]=_.optionColorActive,me["--n-option-text-color"]=_.optionTextColor,me["--n-option-text-color-hover"]=_.optionTextColorHover,me["--n-option-text-color-active"]=_.optionTextColorActive,me["--n-option-text-color-child-active"]=_.optionTextColorChildActive,me["--n-prefix-color"]=_.prefixColor,me["--n-suffix-color"]=_.suffixColor,me["--n-group-header-text-color"]=_.groupHeaderTextColor),me}),A=g?Qe("dropdown",T(()=>`${e.size[0]}${e.inverted?"i":""}`),I,e):void 0;return{mergedClsPrefix:p,mergedTheme:f,tmNodes:n,mergedShow:o,handleAfterLeave:()=>{e.animated&&b()},doUpdateShow:m,cssVars:g?void 0:I,themeClass:A==null?void 0:A.themeClass,onRender:A==null?void 0:A.onRender}},render(){const e=(r,n,i,a,l)=>{var s;const{mergedClsPrefix:d,menuProps:u}=this;(s=this.onRender)===null||s===void 0||s.call(this);const h=(u==null?void 0:u(void 0,this.tmNodes.map(g=>g.rawNode)))||{},p={ref:sc(n),class:[r,`${d}-dropdown`,this.themeClass],clsPrefix:d,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:l};return c(lh,Ft(this.$attrs,p,h))},{mergedTheme:t}=this,o={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return c(Yr,Object.assign({},Io(this.$props,n3),o),{trigger:()=>{var r,n;return(n=(r=this.$slots).default)===null||n===void 0?void 0:n.call(r)}})}}),sh="_n_all__",dh="_n_none__";function l3(e,t,o,r){return e?n=>{for(const i of e)switch(n){case sh:o(!0);return;case dh:r(!0);return;default:if(typeof i=="object"&&i.key===n){i.onSelect(t.value);return}}}:()=>{}}function s3(e,t){return e?e.map(o=>{switch(o){case"all":return{label:t.checkTableAll,key:sh};case"none":return{label:t.uncheckTableAll,key:dh};default:return o}}):[]}const d3=ne({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:o,checkOptionsRef:r,rawPaginatedDataRef:n,doCheckAll:i,doUncheckAll:a}=Te(co),l=T(()=>l3(r.value,n,i,a)),s=T(()=>s3(r.value,o.value));return()=>{var d,u,h,p;const{clsPrefix:g}=e;return c(a3,{theme:(u=(d=t.theme)===null||d===void 0?void 0:d.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(p=(h=t.themeOverrides)===null||h===void 0?void 0:h.peers)===null||p===void 0?void 0:p.Dropdown,options:s.value,onSelect:l.value},{default:()=>c(ot,{clsPrefix:g,class:`${g}-data-table-check-extra`},{default:()=>c(Fu,null)})})}}});function wa(e){return typeof e.title=="function"?e.title(e):e.title}const ch=ne({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:o,fixedColumnRightMapRef:r,mergedCurrentPageRef:n,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:l,colsRef:s,mergedThemeRef:d,checkOptionsRef:u,mergedSortStateRef:h,componentId:p,mergedTableLayoutRef:g,headerCheckboxDisabledRef:f,onUnstableColumnResize:v,doUpdateResizableWidth:m,handleTableHeaderScroll:b,deriveNextSorter:C,doUncheckAll:R,doCheckAll:$}=Te(co),S=E({});function w(O){const L=S.value[O];return L==null?void 0:L.getBoundingClientRect().width}function x(){i.value?R():$()}function k(O,L){if(no(O,"dataTableFilter")||no(O,"dataTableResizable")||!ya(L))return;const H=h.value.find(U=>U.columnKey===L.key)||null,_=_$(L,H);C(_)}const P=new Map;function I(O){P.set(O.key,w(O.key))}function A(O,L){const H=P.get(O.key);if(H===void 0)return;const _=H+L,U=E$(_,O.minWidth,O.maxWidth);v(_,U,O,w),m(O,U)}return{cellElsRef:S,componentId:p,mergedSortState:h,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:o,fixedColumnRightMap:r,currentPage:n,allRowsChecked:i,someRowsChecked:a,rows:l,cols:s,mergedTheme:d,checkOptions:u,mergedTableLayout:g,headerCheckboxDisabled:f,handleCheckboxUpdateChecked:x,handleColHeaderClick:k,handleTableHeaderScroll:b,handleColumnResizeStart:I,handleColumnResize:A}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:o,fixedColumnRightMap:r,currentPage:n,allRowsChecked:i,someRowsChecked:a,rows:l,cols:s,mergedTheme:d,checkOptions:u,componentId:h,discrete:p,mergedTableLayout:g,headerCheckboxDisabled:f,mergedSortState:v,handleColHeaderClick:m,handleCheckboxUpdateChecked:b,handleColumnResizeStart:C,handleColumnResize:R}=this,$=c("thead",{class:`${t}-data-table-thead`,"data-n-id":h},l.map(x=>c("tr",{class:`${t}-data-table-tr`},x.map(({column:k,colSpan:P,rowSpan:I,isLast:A})=>{var O,L;const H=oo(k),{ellipsis:_}=k,U=()=>k.type==="selection"?k.multiple!==!1?c(yt,null,c(Ml,{key:n,privateInsideTable:!0,checked:i,indeterminate:a,disabled:f,onUpdateChecked:b}),u?c(d3,{clsPrefix:t}):null):null:c(yt,null,c("div",{class:`${t}-data-table-th__title-wrapper`},c("div",{class:`${t}-data-table-th__title`},_===!0||_&&!_.tooltip?c("div",{class:`${t}-data-table-th__ellipsis`},wa(k)):_&&typeof _=="object"?c(Ll,Object.assign({},_,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>wa(k)}):wa(k)),ya(k)?c(S$,{column:k}):null),Od(k)?c(N$,{column:k,options:k.filterOptions}):null,eh(k)?c(V$,{onResizeStart:()=>{C(k)},onResize:fe=>{R(k,fe)}}):null),N=H in o,te=H in r;return c("th",{ref:fe=>e[H]=fe,key:H,style:{textAlign:k.titleAlign||k.align,left:St((O=o[H])===null||O===void 0?void 0:O.start),right:St((L=r[H])===null||L===void 0?void 0:L.start)},colspan:P,rowspan:I,"data-col-key":H,class:[`${t}-data-table-th`,(N||te)&&`${t}-data-table-th--fixed-${N?"left":"right"}`,{[`${t}-data-table-th--hover`]:th(k,v),[`${t}-data-table-th--filterable`]:Od(k),[`${t}-data-table-th--sortable`]:ya(k),[`${t}-data-table-th--selection`]:k.type==="selection",[`${t}-data-table-th--last`]:A},k.className],onClick:k.type!=="selection"&&k.type!=="expand"&&!("children"in k)?fe=>{m(fe,k)}:void 0},U())}))));if(!p)return $;const{handleTableHeaderScroll:S,scrollX:w}=this;return c("div",{class:`${t}-data-table-base-table-header`,onScroll:S},c("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:mt(w),tableLayout:g}},c("colgroup",null,s.map(x=>c("col",{key:x.key,style:x.style}))),$))}}),c3=ne({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:o,row:r,renderCell:n}=this;let i;const{render:a,key:l,ellipsis:s}=o;if(a&&!t?i=a(r,this.index):t?i=(e=r[l])===null||e===void 0?void 0:e.value:i=n?n(kn(r,l),r,o):kn(r,l),s)if(typeof s=="object"){const{mergedTheme:d}=this;return o.ellipsisComponent==="performant-ellipsis"?c(C$,Object.assign({},s,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>i}):c(Ll,Object.assign({},s,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>i})}else return c("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),Ed=ne({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return c("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},c(br,null,{default:()=>this.loading?c(Yo,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):c(ot,{clsPrefix:e,key:"base-icon"},{default:()=>c(kl,null)})}))}}),u3=ne({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:o}=Te(co);return()=>{const{rowKey:r}=e;return c(Ml,{privateInsideTable:!0,disabled:e.disabled,indeterminate:o.value.has(r),checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}}),f3=ne({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:o}=Te(co);return()=>{const{rowKey:r}=e;return c(Zf,{name:o,disabled:e.disabled,checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}});function h3(e,t){const o=[];function r(n,i){n.forEach(a=>{a.children&&t.has(a.key)?(o.push({tmNode:a,striped:!1,key:a.key,index:i}),r(a.children,i)):o.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(n=>{o.push(n);const{children:i}=n.tmNode;i&&t.has(n.key)&&r(i,n.index)}),o}const p3=ne({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:o,onMouseenter:r,onMouseleave:n}=this;return c("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:r,onMouseleave:n},c("colgroup",null,o.map(i=>c("col",{key:i.key,style:i.style}))),c("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),v3=ne({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:o,mergedExpandedRowKeysRef:r,mergedClsPrefixRef:n,mergedThemeRef:i,scrollXRef:a,colsRef:l,paginatedDataRef:s,rawPaginatedDataRef:d,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:h,mergedCurrentPageRef:p,rowClassNameRef:g,leftActiveFixedColKeyRef:f,leftActiveFixedChildrenColKeysRef:v,rightActiveFixedColKeyRef:m,rightActiveFixedChildrenColKeysRef:b,renderExpandRef:C,hoverKeyRef:R,summaryRef:$,mergedSortStateRef:S,virtualScrollRef:w,componentId:x,mergedTableLayoutRef:k,childTriggerColIndexRef:P,indentRef:I,rowPropsRef:A,maxHeightRef:O,stripedRef:L,loadingRef:H,onLoadRef:_,loadingKeySetRef:U,expandableRef:N,stickyExpandedRowsRef:te,renderExpandIconRef:fe,summaryPlacementRef:ae,treeMateRef:Y,scrollbarPropsRef:j,setHeaderScrollLeft:X,doUpdateExpandedRowKeys:re,handleTableBodyScroll:le,doCheck:ge,doUncheck:me,renderCell:Ae}=Te(co),q=E(null),ve=E(null),$e=E(null),Oe=Ye(()=>s.value.length===0),Z=Ye(()=>e.showHeader||!Oe.value),ue=Ye(()=>e.showHeader||Oe.value);let be="";const De=T(()=>new Set(r.value));function ee(ye){var ze;return(ze=Y.value.getNode(ye))===null||ze===void 0?void 0:ze.rawNode}function Ce(ye,ze,Ke){const Be=ee(ye.key);if(!Be){yo("data-table",`fail to get row data with key ${ye.key}`);return}if(Ke){const Ve=s.value.findIndex(at=>at.key===be);if(Ve!==-1){const at=s.value.findIndex(Re=>Re.key===ye.key),F=Math.min(Ve,at),G=Math.max(Ve,at),de=[];s.value.slice(F,G+1).forEach(Re=>{Re.disabled||de.push(Re.key)}),ze?ge(de,!1,Be):me(de,Be),be=ye.key;return}}ze?ge(ye.key,!1,Be):me(ye.key,Be),be=ye.key}function Pe(ye){const ze=ee(ye.key);if(!ze){yo("data-table",`fail to get row data with key ${ye.key}`);return}ge(ye.key,!0,ze)}function K(){if(!Z.value){const{value:ze}=$e;return ze||null}if(w.value)return V();const{value:ye}=q;return ye?ye.containerRef:null}function Q(ye,ze){var Ke;if(U.value.has(ye))return;const{value:Be}=r,Ve=Be.indexOf(ye),at=Array.from(Be);~Ve?(at.splice(Ve,1),re(at)):ze&&!ze.isLeaf&&!ze.shallowLoaded?(U.value.add(ye),(Ke=_.value)===null||Ke===void 0||Ke.call(_,ze.rawNode).then(()=>{const{value:F}=r,G=Array.from(F);~G.indexOf(ye)||G.push(ye),re(G)}).finally(()=>{U.value.delete(ye)})):(at.push(ye),re(at))}function pe(){R.value=null}function V(){const{value:ye}=ve;return(ye==null?void 0:ye.listElRef)||null}function D(){const{value:ye}=ve;return(ye==null?void 0:ye.itemsElRef)||null}function J(ye){var ze;le(ye),(ze=q.value)===null||ze===void 0||ze.sync()}function Se(ye){var ze;const{onResize:Ke}=e;Ke&&Ke(ye),(ze=q.value)===null||ze===void 0||ze.sync()}const Le={getScrollContainer:K,scrollTo(ye,ze){var Ke,Be;w.value?(Ke=ve.value)===null||Ke===void 0||Ke.scrollTo(ye,ze):(Be=q.value)===null||Be===void 0||Be.scrollTo(ye,ze)}},qe=z([({props:ye})=>{const ze=Be=>Be===null?null:z(`[data-n-id="${ye.componentId}"] [data-col-key="${Be}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),Ke=Be=>Be===null?null:z(`[data-n-id="${ye.componentId}"] [data-col-key="${Be}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return z([ze(ye.leftActiveFixedColKey),Ke(ye.rightActiveFixedColKey),ye.leftActiveFixedChildrenColKeys.map(Be=>ze(Be)),ye.rightActiveFixedChildrenColKeys.map(Be=>Ke(Be))])}]);let it=!1;return vt(()=>{const{value:ye}=f,{value:ze}=v,{value:Ke}=m,{value:Be}=b;if(!it&&ye===null&&Ke===null)return;const Ve={leftActiveFixedColKey:ye,leftActiveFixedChildrenColKeys:ze,rightActiveFixedColKey:Ke,rightActiveFixedChildrenColKeys:Be,componentId:x};qe.mount({id:`n-${x}`,force:!0,props:Ve,anchorMetaName:Hr}),it=!0}),ic(()=>{qe.unmount({id:`n-${x}`})}),Object.assign({bodyWidth:o,summaryPlacement:ae,dataTableSlots:t,componentId:x,scrollbarInstRef:q,virtualListRef:ve,emptyElRef:$e,summary:$,mergedClsPrefix:n,mergedTheme:i,scrollX:a,cols:l,loading:H,bodyShowHeaderOnly:ue,shouldDisplaySomeTablePart:Z,empty:Oe,paginatedDataAndInfo:T(()=>{const{value:ye}=L;let ze=!1;return{data:s.value.map(ye?(Be,Ve)=>(Be.isLeaf||(ze=!0),{tmNode:Be,key:Be.key,striped:Ve%2===1,index:Ve}):(Be,Ve)=>(Be.isLeaf||(ze=!0),{tmNode:Be,key:Be.key,striped:!1,index:Ve})),hasChildren:ze}}),rawPaginatedData:d,fixedColumnLeftMap:u,fixedColumnRightMap:h,currentPage:p,rowClassName:g,renderExpand:C,mergedExpandedRowKeySet:De,hoverKey:R,mergedSortState:S,virtualScroll:w,mergedTableLayout:k,childTriggerColIndex:P,indent:I,rowProps:A,maxHeight:O,loadingKeySet:U,expandable:N,stickyExpandedRows:te,renderExpandIcon:fe,scrollbarProps:j,setHeaderScrollLeft:X,handleVirtualListScroll:J,handleVirtualListResize:Se,handleMouseleaveTable:pe,virtualListContainer:V,virtualListContent:D,handleTableBodyScroll:le,handleCheckboxUpdateChecked:Ce,handleRadioUpdateChecked:Pe,handleUpdateExpanded:Q,renderCell:Ae},Le)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:o,virtualScroll:r,maxHeight:n,mergedTableLayout:i,flexHeight:a,loadingKeySet:l,onResize:s,setHeaderScrollLeft:d}=this,u=t!==void 0||n!==void 0||a,h=!u&&i==="auto",p=t!==void 0||h,g={minWidth:mt(t)||"100%"};t&&(g.width="100%");const f=c(so,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||h,class:`${o}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:g,container:r?this.virtualListContainer:void 0,content:r?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:p,onScroll:r?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:d,onResize:s}),{default:()=>{const v={},m={},{cols:b,paginatedDataAndInfo:C,mergedTheme:R,fixedColumnLeftMap:$,fixedColumnRightMap:S,currentPage:w,rowClassName:x,mergedSortState:k,mergedExpandedRowKeySet:P,stickyExpandedRows:I,componentId:A,childTriggerColIndex:O,expandable:L,rowProps:H,handleMouseleaveTable:_,renderExpand:U,summary:N,handleCheckboxUpdateChecked:te,handleRadioUpdateChecked:fe,handleUpdateExpanded:ae}=this,{length:Y}=b;let j;const{data:X,hasChildren:re}=C,le=re?h3(X,P):X;if(N){const Z=N(this.rawPaginatedData);if(Array.isArray(Z)){const ue=Z.map((be,De)=>({isSummaryRow:!0,key:`__n_summary__${De}`,tmNode:{rawNode:be,disabled:!0},index:-1}));j=this.summaryPlacement==="top"?[...ue,...le]:[...le,...ue]}else{const ue={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:Z,disabled:!0},index:-1};j=this.summaryPlacement==="top"?[ue,...le]:[...le,ue]}}else j=le;const ge=re?{width:St(this.indent)}:void 0,me=[];j.forEach(Z=>{U&&P.has(Z.key)&&(!L||L(Z.tmNode.rawNode))?me.push(Z,{isExpandedRow:!0,key:`${Z.key}-expand`,tmNode:Z.tmNode,index:Z.index}):me.push(Z)});const{length:Ae}=me,q={};X.forEach(({tmNode:Z},ue)=>{q[ue]=Z.key});const ve=I?this.bodyWidth:null,$e=ve===null?void 0:`${ve}px`,Oe=(Z,ue,be)=>{const{index:De}=Z;if("isExpandedRow"in Z){const{tmNode:{key:Se,rawNode:Le}}=Z;return c("tr",{class:`${o}-data-table-tr ${o}-data-table-tr--expanded`,key:`${Se}__expand`},c("td",{class:[`${o}-data-table-td`,`${o}-data-table-td--last-col`,ue+1===Ae&&`${o}-data-table-td--last-row`],colspan:Y},I?c("div",{class:`${o}-data-table-expand`,style:{width:$e}},U(Le,De)):U(Le,De)))}const ee="isSummaryRow"in Z,Ce=!ee&&Z.striped,{tmNode:Pe,key:K}=Z,{rawNode:Q}=Pe,pe=P.has(K),V=H?H(Q,De):void 0,D=typeof x=="string"?x:L$(Q,De,x);return c("tr",Object.assign({onMouseenter:()=>{this.hoverKey=K},key:K,class:[`${o}-data-table-tr`,ee&&`${o}-data-table-tr--summary`,Ce&&`${o}-data-table-tr--striped`,pe&&`${o}-data-table-tr--expanded`,D]},V),b.map((Se,Le)=>{var qe,it,ye,ze,Ke;if(ue in v){const ft=v[ue],Ct=ft.indexOf(Le);if(~Ct)return ft.splice(Ct,1),null}const{column:Be}=Se,Ve=oo(Se),{rowSpan:at,colSpan:F}=Be,G=ee?((qe=Z.tmNode.rawNode[Ve])===null||qe===void 0?void 0:qe.colSpan)||1:F?F(Q,De):1,de=ee?((it=Z.tmNode.rawNode[Ve])===null||it===void 0?void 0:it.rowSpan)||1:at?at(Q,De):1,Re=Le+G===Y,Ie=ue+de===Ae,Fe=de>1;if(Fe&&(m[ue]={[Le]:[]}),G>1||Fe)for(let ft=ue;ft{ae(K,Z.tmNode)}})]:null,Be.type==="selection"?ee?null:Be.multiple===!1?c(f3,{key:w,rowKey:K,disabled:Z.tmNode.disabled,onUpdateChecked:()=>{fe(Z.tmNode)}}):c(u3,{key:w,rowKey:K,disabled:Z.tmNode.disabled,onUpdateChecked:(ft,Ct)=>{te(Z.tmNode,ft,Ct.shiftKey)}}):Be.type==="expand"?ee?null:!Be.expandable||!((Ke=Be.expandable)===null||Ke===void 0)&&Ke.call(Be,Q)?c(Ed,{clsPrefix:o,expanded:pe,renderExpandIcon:this.renderExpandIcon,onClick:()=>{ae(K,null)}}):null:c(c3,{clsPrefix:o,index:De,row:Q,column:Be,isSummary:ee,mergedTheme:R,renderCell:this.renderCell}))}))};return r?c(Ec,{ref:"virtualListRef",items:me,itemSize:28,visibleItemsTag:p3,visibleItemsProps:{clsPrefix:o,id:A,cols:b,onMouseleave:_},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:g,itemResizable:!0},{default:({item:Z,index:ue})=>Oe(Z,ue,!0)}):c("table",{class:`${o}-data-table-table`,onMouseleave:_,style:{tableLayout:this.mergedTableLayout}},c("colgroup",null,b.map(Z=>c("col",{key:Z.key,style:Z.style}))),this.showHeader?c(ch,{discrete:!1}):null,this.empty?null:c("tbody",{"data-n-id":A,class:`${o}-data-table-tbody`},me.map((Z,ue)=>Oe(Z,ue,!1))))}});if(this.empty){const v=()=>c("div",{class:[`${o}-data-table-empty`,this.loading&&`${o}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},Bt(this.dataTableSlots.empty,()=>[c(ju,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?c(yt,null,f,v()):c(io,{onResize:this.onResize},{default:v})}return f}}),g3=ne({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:o,bodyWidthRef:r,maxHeightRef:n,minHeightRef:i,flexHeightRef:a,syncScrollState:l}=Te(co),s=E(null),d=E(null),u=E(null),h=E(!(o.value.length||t.value.length)),p=T(()=>({maxHeight:mt(n.value),minHeight:mt(i.value)}));function g(b){r.value=b.contentRect.width,l(),h.value||(h.value=!0)}function f(){const{value:b}=s;return b?b.$el:null}function v(){const{value:b}=d;return b?b.getScrollContainer():null}const m={getBodyElement:v,getHeaderElement:f,scrollTo(b,C){var R;(R=d.value)===null||R===void 0||R.scrollTo(b,C)}};return vt(()=>{const{value:b}=u;if(!b)return;const C=`${e.value}-data-table-base-table--transition-disabled`;h.value?setTimeout(()=>{b.classList.remove(C)},0):b.classList.add(C)}),Object.assign({maxHeight:n,mergedClsPrefix:e,selfElRef:u,headerInstRef:s,bodyInstRef:d,bodyStyle:p,flexHeight:a,handleBodyResize:g},m)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:o}=this,r=t===void 0&&!o;return c("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},r?null:c(ch,{ref:"headerInstRef"}),c(v3,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:r,flexHeight:o,onResize:this.handleBodyResize}))}});function b3(e,t){const{paginatedDataRef:o,treeMateRef:r,selectionColumnRef:n}=t,i=E(e.defaultCheckedRowKeys),a=T(()=>{var S;const{checkedRowKeys:w}=e,x=w===void 0?i.value:w;return((S=n.value)===null||S===void 0?void 0:S.multiple)===!1?{checkedKeys:x.slice(0,1),indeterminateKeys:[]}:r.value.getCheckedKeys(x,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),l=T(()=>a.value.checkedKeys),s=T(()=>a.value.indeterminateKeys),d=T(()=>new Set(l.value)),u=T(()=>new Set(s.value)),h=T(()=>{const{value:S}=d;return o.value.reduce((w,x)=>{const{key:k,disabled:P}=x;return w+(!P&&S.has(k)?1:0)},0)}),p=T(()=>o.value.filter(S=>S.disabled).length),g=T(()=>{const{length:S}=o.value,{value:w}=u;return h.value>0&&h.valuew.has(x.key))}),f=T(()=>{const{length:S}=o.value;return h.value!==0&&h.value===S-p.value}),v=T(()=>o.value.length===0);function m(S,w,x){const{"onUpdate:checkedRowKeys":k,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:I}=e,A=[],{value:{getNode:O}}=r;S.forEach(L=>{var H;const _=(H=O(L))===null||H===void 0?void 0:H.rawNode;A.push(_)}),k&&ie(k,S,A,{row:w,action:x}),P&&ie(P,S,A,{row:w,action:x}),I&&ie(I,S,A,{row:w,action:x}),i.value=S}function b(S,w=!1,x){if(!e.loading){if(w){m(Array.isArray(S)?S.slice(0,1):[S],x,"check");return}m(r.value.check(S,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"check")}}function C(S,w){e.loading||m(r.value.uncheck(S,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,w,"uncheck")}function R(S=!1){const{value:w}=n;if(!w||e.loading)return;const x=[];(S?r.value.treeNodes:o.value).forEach(k=>{k.disabled||x.push(k.key)}),m(r.value.check(x,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function $(S=!1){const{value:w}=n;if(!w||e.loading)return;const x=[];(S?r.value.treeNodes:o.value).forEach(k=>{k.disabled||x.push(k.key)}),m(r.value.uncheck(x,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:d,mergedCheckedRowKeysRef:l,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:g,allRowsCheckedRef:f,headerCheckboxDisabledRef:v,doUpdateCheckedRowKeys:m,doCheckAll:R,doUncheckAll:$,doCheck:b,doUncheck:C}}function Zn(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function m3(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?x3(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function x3(e){return(t,o)=>{const r=t[e],n=o[e];return r==null?n==null?0:-1:n==null?1:typeof r=="number"&&typeof n=="number"?r-n:typeof r=="string"&&typeof n=="string"?r.localeCompare(n):0}}function C3(e,{dataRelatedColsRef:t,filteredDataRef:o}){const r=[];t.value.forEach(g=>{var f;g.sorter!==void 0&&p(r,{columnKey:g.key,sorter:g.sorter,order:(f=g.defaultSortOrder)!==null&&f!==void 0?f:!1})});const n=E(r),i=T(()=>{const g=t.value.filter(m=>m.type!=="selection"&&m.sorter!==void 0&&(m.sortOrder==="ascend"||m.sortOrder==="descend"||m.sortOrder===!1)),f=g.filter(m=>m.sortOrder!==!1);if(f.length)return f.map(m=>({columnKey:m.key,order:m.sortOrder,sorter:m.sorter}));if(g.length)return[];const{value:v}=n;return Array.isArray(v)?v:v?[v]:[]}),a=T(()=>{const g=i.value.slice().sort((f,v)=>{const m=Zn(f.sorter)||0;return(Zn(v.sorter)||0)-m});return g.length?o.value.slice().sort((v,m)=>{let b=0;return g.some(C=>{const{columnKey:R,sorter:$,order:S}=C,w=m3($,R);return w&&S&&(b=w(v.rawNode,m.rawNode),b!==0)?(b=b*F$(S),!0):!1}),b}):o.value});function l(g){let f=i.value.slice();return g&&Zn(g.sorter)!==!1?(f=f.filter(v=>Zn(v.sorter)!==!1),p(f,g),f):g||null}function s(g){const f=l(g);d(f)}function d(g){const{"onUpdate:sorter":f,onUpdateSorter:v,onSorterChange:m}=e;f&&ie(f,g),v&&ie(v,g),m&&ie(m,g),n.value=g}function u(g,f="ascend"){if(!g)h();else{const v=t.value.find(b=>b.type!=="selection"&&b.type!=="expand"&&b.key===g);if(!(v!=null&&v.sorter))return;const m=v.sorter;s({columnKey:g,sorter:m,order:f})}}function h(){d(null)}function p(g,f){const v=g.findIndex(m=>(f==null?void 0:f.columnKey)&&m.columnKey===f.columnKey);v!==void 0&&v>=0?g[v]=f:g.push(f)}return{clearSorter:h,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:s}}function y3(e,{dataRelatedColsRef:t}){const o=T(()=>{const Y=j=>{for(let X=0;X{const{childrenKey:Y}=e;return Ai(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:j=>j[Y],getDisabled:j=>{var X,re;return!!(!((re=(X=o.value)===null||X===void 0?void 0:X.disabled)===null||re===void 0)&&re.call(X,j))}})}),n=Ye(()=>{const{columns:Y}=e,{length:j}=Y;let X=null;for(let re=0;re{const Y=t.value.filter(re=>re.filterOptionValues!==void 0||re.filterOptionValue!==void 0),j={};return Y.forEach(re=>{var le;re.type==="selection"||re.type==="expand"||(re.filterOptionValues===void 0?j[re.key]=(le=re.filterOptionValue)!==null&&le!==void 0?le:null:j[re.key]=re.filterOptionValues)}),Object.assign(Md(i.value),j)}),u=T(()=>{const Y=d.value,{columns:j}=e;function X(ge){return(me,Ae)=>!!~String(Ae[ge]).indexOf(String(me))}const{value:{treeNodes:re}}=r,le=[];return j.forEach(ge=>{ge.type==="selection"||ge.type==="expand"||"children"in ge||le.push([ge.key,ge])}),re?re.filter(ge=>{const{rawNode:me}=ge;for(const[Ae,q]of le){let ve=Y[Ae];if(ve==null||(Array.isArray(ve)||(ve=[ve]),!ve.length))continue;const $e=q.filter==="default"?X(Ae):q.filter;if(q&&typeof $e=="function")if(q.filterMode==="and"){if(ve.some(Oe=>!$e(Oe,me)))return!1}else{if(ve.some(Oe=>$e(Oe,me)))continue;return!1}}return!0}):[]}),{sortedDataRef:h,deriveNextSorter:p,mergedSortStateRef:g,sort:f,clearSorter:v}=C3(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(Y=>{var j;if(Y.filter){const X=Y.defaultFilterOptionValues;Y.filterMultiple?i.value[Y.key]=X||[]:X!==void 0?i.value[Y.key]=X===null?[]:X:i.value[Y.key]=(j=Y.defaultFilterOptionValue)!==null&&j!==void 0?j:null}});const m=T(()=>{const{pagination:Y}=e;if(Y!==!1)return Y.page}),b=T(()=>{const{pagination:Y}=e;if(Y!==!1)return Y.pageSize}),C=$t(m,l),R=$t(b,s),$=Ye(()=>{const Y=C.value;return e.remote?Y:Math.max(1,Math.min(Math.ceil(u.value.length/R.value),Y))}),S=T(()=>{const{pagination:Y}=e;if(Y){const{pageCount:j}=Y;if(j!==void 0)return j}}),w=T(()=>{if(e.remote)return r.value.treeNodes;if(!e.pagination)return h.value;const Y=R.value,j=($.value-1)*Y;return h.value.slice(j,j+Y)}),x=T(()=>w.value.map(Y=>Y.rawNode));function k(Y){const{pagination:j}=e;if(j){const{onChange:X,"onUpdate:page":re,onUpdatePage:le}=j;X&&ie(X,Y),le&&ie(le,Y),re&&ie(re,Y),O(Y)}}function P(Y){const{pagination:j}=e;if(j){const{onPageSizeChange:X,"onUpdate:pageSize":re,onUpdatePageSize:le}=j;X&&ie(X,Y),le&&ie(le,Y),re&&ie(re,Y),L(Y)}}const I=T(()=>{if(e.remote){const{pagination:Y}=e;if(Y){const{itemCount:j}=Y;if(j!==void 0)return j}return}return u.value.length}),A=T(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":k,"onUpdate:pageSize":P,page:$.value,pageSize:R.value,pageCount:I.value===void 0?S.value:void 0,itemCount:I.value}));function O(Y){const{"onUpdate:page":j,onPageChange:X,onUpdatePage:re}=e;re&&ie(re,Y),j&&ie(j,Y),X&&ie(X,Y),l.value=Y}function L(Y){const{"onUpdate:pageSize":j,onPageSizeChange:X,onUpdatePageSize:re}=e;X&&ie(X,Y),re&&ie(re,Y),j&&ie(j,Y),s.value=Y}function H(Y,j){const{onUpdateFilters:X,"onUpdate:filters":re,onFiltersChange:le}=e;X&&ie(X,Y,j),re&&ie(re,Y,j),le&&ie(le,Y,j),i.value=Y}function _(Y,j,X,re){var le;(le=e.onUnstableColumnResize)===null||le===void 0||le.call(e,Y,j,X,re)}function U(Y){O(Y)}function N(){te()}function te(){fe({})}function fe(Y){ae(Y)}function ae(Y){Y?Y&&(i.value=Md(Y)):i.value={}}return{treeMateRef:r,mergedCurrentPageRef:$,mergedPaginationRef:A,paginatedDataRef:w,rawPaginatedDataRef:x,mergedFilterStateRef:d,mergedSortStateRef:g,hoverKeyRef:E(null),selectionColumnRef:o,childTriggerColIndexRef:n,doUpdateFilters:H,deriveNextSorter:p,doUpdatePageSize:L,doUpdatePage:O,onUnstableColumnResize:_,filter:ae,filters:fe,clearFilter:N,clearFilters:te,clearSorter:v,page:U,sort:f}}function w3(e,{mainTableInstRef:t,mergedCurrentPageRef:o,bodyWidthRef:r}){let n=0;const i=E(),a=E(null),l=E([]),s=E(null),d=E([]),u=T(()=>mt(e.scrollX)),h=T(()=>e.columns.filter(P=>P.fixed==="left")),p=T(()=>e.columns.filter(P=>P.fixed==="right")),g=T(()=>{const P={};let I=0;function A(O){O.forEach(L=>{const H={start:I,end:0};P[oo(L)]=H,"children"in L?(A(L.children),H.end=I):(I+=Bd(L)||0,H.end=I)})}return A(h.value),P}),f=T(()=>{const P={};let I=0;function A(O){for(let L=O.length-1;L>=0;--L){const H=O[L],_={start:I,end:0};P[oo(H)]=_,"children"in H?(A(H.children),_.end=I):(I+=Bd(H)||0,_.end=I)}}return A(p.value),P});function v(){var P,I;const{value:A}=h;let O=0;const{value:L}=g;let H=null;for(let _=0;_(((P=L[U])===null||P===void 0?void 0:P.start)||0)-O)H=U,O=((I=L[U])===null||I===void 0?void 0:I.end)||0;else break}a.value=H}function m(){l.value=[];let P=e.columns.find(I=>oo(I)===a.value);for(;P&&"children"in P;){const I=P.children.length;if(I===0)break;const A=P.children[I-1];l.value.push(oo(A)),P=A}}function b(){var P,I;const{value:A}=p,O=Number(e.scrollX),{value:L}=r;if(L===null)return;let H=0,_=null;const{value:U}=f;for(let N=A.length-1;N>=0;--N){const te=oo(A[N]);if(Math.round(n+(((P=U[te])===null||P===void 0?void 0:P.start)||0)+L-H)oo(I)===s.value);for(;P&&"children"in P&&P.children.length;){const I=P.children[0];d.value.push(oo(I)),P=I}}function R(){const P=t.value?t.value.getHeaderElement():null,I=t.value?t.value.getBodyElement():null;return{header:P,body:I}}function $(){const{body:P}=R();P&&(P.scrollTop=0)}function S(){i.value!=="body"?Ar(x):i.value=void 0}function w(P){var I;(I=e.onScroll)===null||I===void 0||I.call(e,P),i.value!=="head"?Ar(x):i.value=void 0}function x(){const{header:P,body:I}=R();if(!I)return;const{value:A}=r;if(A!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const O=n-P.scrollLeft;i.value=O!==0?"head":"body",i.value==="head"?(n=P.scrollLeft,I.scrollLeft=n):(n=I.scrollLeft,P.scrollLeft=n)}else n=I.scrollLeft;v(),m(),b(),C()}}function k(P){const{header:I}=R();I&&(I.scrollLeft=P,x())}return Je(o,()=>{$()}),{styleScrollXRef:u,fixedColumnLeftMapRef:g,fixedColumnRightMapRef:f,leftFixedColumnsRef:h,rightFixedColumnsRef:p,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:l,rightActiveFixedColKeyRef:s,rightActiveFixedChildrenColKeysRef:d,syncScrollState:x,handleTableBodyScroll:w,handleTableHeaderScroll:S,setHeaderScrollLeft:k}}function S3(){const e=E({});function t(n){return e.value[n]}function o(n,i){eh(n)&&"key"in n&&(e.value[n.key]=i)}function r(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:o,clearResizableWidth:r}}function k3(e,t){const o=[],r=[],n=[],i=new WeakMap;let a=-1,l=0,s=!1;function d(p,g){g>a&&(o[g]=[],a=g);for(const f of p)if("children"in f)d(f.children,g+1);else{const v="key"in f?f.key:void 0;r.push({key:oo(f),style:A$(f,v!==void 0?mt(t(v)):void 0),column:f}),l+=1,s||(s=!!f.ellipsis),n.push(f)}}d(e,0);let u=0;function h(p,g){let f=0;p.forEach((v,m)=>{var b;if("children"in v){const C=u,R={column:v,colSpan:0,rowSpan:1,isLast:!1};h(v.children,g+1),v.children.forEach($=>{var S,w;R.colSpan+=(w=(S=i.get($))===null||S===void 0?void 0:S.colSpan)!==null&&w!==void 0?w:0}),C+R.colSpan===l&&(R.isLast=!0),i.set(v,R),o[g].push(R)}else{if(u1&&(f=u+C);const R=u+C===l,$={column:v,colSpan:C,rowSpan:a-g+1,isLast:R};i.set(v,$),o[g].push($),u+=1}})}return h(e,0),{hasEllipsis:s,rows:o,cols:r,dataRelatedCols:n}}function $3(e,t){const o=T(()=>k3(e.columns,t));return{rowsRef:T(()=>o.value.rows),colsRef:T(()=>o.value.cols),hasEllipsisRef:T(()=>o.value.hasEllipsis),dataRelatedColsRef:T(()=>o.value.dataRelatedCols)}}function R3(e,t){const o=Ye(()=>{for(const d of e.columns)if(d.type==="expand")return d.renderExpand}),r=Ye(()=>{let d;for(const u of e.columns)if(u.type==="expand"){d=u.expandable;break}return d}),n=E(e.defaultExpandAll?o!=null&&o.value?(()=>{const d=[];return t.value.treeNodes.forEach(u=>{var h;!((h=r.value)===null||h===void 0)&&h.call(r,u.rawNode)&&d.push(u.key)}),d})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=he(e,"expandedRowKeys"),a=he(e,"stickyExpandedRows"),l=$t(i,n);function s(d){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":h}=e;u&&ie(u,d),h&&ie(h,d),n.value=d}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:l,renderExpandRef:o,expandableRef:r,doUpdateExpandedRowKeys:s}}const Ad=z3(),P3=z([y("data-table",` + `)])]),a3={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},l3=Object.keys(ur),s3=Object.assign(Object.assign(Object.assign({},ur),a3),be.props),d3=re({name:"Dropdown",inheritAttrs:!1,props:s3,setup(e){const t=E(!1),o=$t(he(e,"show"),t),r=T(()=>{const{keyField:I,childrenField:A}=e;return Li(e.options,{getKey(H){return H[I]},getDisabled(H){return H.disabled===!0},getIgnored(H){return H.type==="divider"||H.type==="render"},getChildren(H){return H[A]}})}),n=T(()=>r.value.treeNodes),i=E(null),a=E(null),l=E(null),s=T(()=>{var I,A,H;return(H=(A=(I=i.value)!==null&&I!==void 0?I:a.value)!==null&&A!==void 0?A:l.value)!==null&&H!==void 0?H:null}),d=T(()=>r.value.getPath(s.value).keyPath),u=T(()=>r.value.getPath(e.value).keyPath),h=Ye(()=>e.keyboard&&o.value);mg({keydown:{ArrowUp:{prevent:!0,handler:S},ArrowRight:{prevent:!0,handler:$},ArrowDown:{prevent:!0,handler:w},ArrowLeft:{prevent:!0,handler:R},Enter:{prevent:!0,handler:x},Escape:C}},h);const{mergedClsPrefixRef:p,inlineThemeDisabled:g}=He(e),f=be("Dropdown","-dropdown",i3,Wi,e,p);Ue(Ni,{labelFieldRef:he(e,"labelField"),childrenFieldRef:he(e,"childrenField"),renderLabelRef:he(e,"renderLabel"),renderIconRef:he(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:l,pendingKeyPathRef:d,activeKeyPathRef:u,animatedRef:he(e,"animated"),mergedShowRef:o,nodePropsRef:he(e,"nodeProps"),renderOptionRef:he(e,"renderOption"),menuPropsRef:he(e,"menuProps"),doSelect:v,doUpdateShow:b}),Je(o,I=>{!e.animated&&!I&&m()});function v(I,A){const{onSelect:H}=e;H&&ie(H,I,A)}function b(I){const{"onUpdate:show":A,onUpdateShow:H}=e;A&&ie(A,I),H&&ie(H,I),t.value=I}function m(){i.value=null,a.value=null,l.value=null}function C(){b(!1)}function R(){P("left")}function $(){P("right")}function S(){P("up")}function w(){P("down")}function x(){const I=k();I!=null&&I.isLeaf&&o.value&&(v(I.key,I.rawNode),b(!1))}function k(){var I;const{value:A}=r,{value:H}=s;return!A||H===null?null:(I=A.getNode(H))!==null&&I!==void 0?I:null}function P(I){const{value:A}=s,{value:{getFirstAvailableNode:H}}=r;let _=null;if(A===null){const U=H();U!==null&&(_=U.key)}else{const U=k();if(U){let N;switch(I){case"down":N=U.getNext();break;case"up":N=U.getPrev();break;case"right":N=U.getChild();break;case"left":N=U.getParent();break}N&&(_=N.key)}}_!==null&&(i.value=null,a.value=_)}const M=T(()=>{const{size:I,inverted:A}=e,{common:{cubicBezierEaseInOut:H},self:_}=f.value,{padding:U,dividerColor:N,borderRadius:ee,optionOpacityDisabled:ue,[oe("optionIconSuffixWidth",I)]:ae,[oe("optionSuffixWidth",I)]:Y,[oe("optionIconPrefixWidth",I)]:W,[oe("optionPrefixWidth",I)]:X,[oe("fontSize",I)]:ne,[oe("optionHeight",I)]:le,[oe("optionIconSize",I)]:ge}=_,xe={"--n-bezier":H,"--n-font-size":ne,"--n-padding":U,"--n-border-radius":ee,"--n-option-height":le,"--n-option-prefix-width":X,"--n-option-icon-prefix-width":W,"--n-option-suffix-width":Y,"--n-option-icon-suffix-width":ae,"--n-option-icon-size":ge,"--n-divider-color":N,"--n-option-opacity-disabled":ue};return A?(xe["--n-color"]=_.colorInverted,xe["--n-option-color-hover"]=_.optionColorHoverInverted,xe["--n-option-color-active"]=_.optionColorActiveInverted,xe["--n-option-text-color"]=_.optionTextColorInverted,xe["--n-option-text-color-hover"]=_.optionTextColorHoverInverted,xe["--n-option-text-color-active"]=_.optionTextColorActiveInverted,xe["--n-option-text-color-child-active"]=_.optionTextColorChildActiveInverted,xe["--n-prefix-color"]=_.prefixColorInverted,xe["--n-suffix-color"]=_.suffixColorInverted,xe["--n-group-header-text-color"]=_.groupHeaderTextColorInverted):(xe["--n-color"]=_.color,xe["--n-option-color-hover"]=_.optionColorHover,xe["--n-option-color-active"]=_.optionColorActive,xe["--n-option-text-color"]=_.optionTextColor,xe["--n-option-text-color-hover"]=_.optionTextColorHover,xe["--n-option-text-color-active"]=_.optionTextColorActive,xe["--n-option-text-color-child-active"]=_.optionTextColorChildActive,xe["--n-prefix-color"]=_.prefixColor,xe["--n-suffix-color"]=_.suffixColor,xe["--n-group-header-text-color"]=_.groupHeaderTextColor),xe}),L=g?Qe("dropdown",T(()=>`${e.size[0]}${e.inverted?"i":""}`),M,e):void 0;return{mergedClsPrefix:p,mergedTheme:f,tmNodes:n,mergedShow:o,handleAfterLeave:()=>{e.animated&&m()},doUpdateShow:b,cssVars:g?void 0:M,themeClass:L==null?void 0:L.themeClass,onRender:L==null?void 0:L.onRender}},render(){const e=(r,n,i,a,l)=>{var s;const{mergedClsPrefix:d,menuProps:u}=this;(s=this.onRender)===null||s===void 0||s.call(this);const h=(u==null?void 0:u(void 0,this.tmNodes.map(g=>g.rawNode)))||{},p={ref:cc(n),class:[r,`${d}-dropdown`,this.themeClass],clsPrefix:d,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:l};return c(sh,Ft(this.$attrs,p,h))},{mergedTheme:t}=this,o={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return c(Yr,Object.assign({},Fo(this.$props,l3),o),{trigger:()=>{var r,n;return(n=(r=this.$slots).default)===null||n===void 0?void 0:n.call(r)}})}}),dh="_n_all__",ch="_n_none__";function c3(e,t,o,r){return e?n=>{for(const i of e)switch(n){case dh:o(!0);return;case ch:r(!0);return;default:if(typeof i=="object"&&i.key===n){i.onSelect(t.value);return}}}:()=>{}}function u3(e,t){return e?e.map(o=>{switch(o){case"all":return{label:t.checkTableAll,key:dh};case"none":return{label:t.uncheckTableAll,key:ch};default:return o}}):[]}const f3=re({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:o,checkOptionsRef:r,rawPaginatedDataRef:n,doCheckAll:i,doUncheckAll:a}=Te(co),l=T(()=>c3(r.value,n,i,a)),s=T(()=>u3(r.value,o.value));return()=>{var d,u,h,p;const{clsPrefix:g}=e;return c(d3,{theme:(u=(d=t.theme)===null||d===void 0?void 0:d.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(p=(h=t.themeOverrides)===null||h===void 0?void 0:h.peers)===null||p===void 0?void 0:p.Dropdown,options:s.value,onSelect:l.value},{default:()=>c(ot,{clsPrefix:g,class:`${g}-data-table-check-extra`},{default:()=>c(Eu,null)})})}}});function wa(e){return typeof e.title=="function"?e.title(e):e.title}const uh=re({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:o,fixedColumnRightMapRef:r,mergedCurrentPageRef:n,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:l,colsRef:s,mergedThemeRef:d,checkOptionsRef:u,mergedSortStateRef:h,componentId:p,mergedTableLayoutRef:g,headerCheckboxDisabledRef:f,onUnstableColumnResize:v,doUpdateResizableWidth:b,handleTableHeaderScroll:m,deriveNextSorter:C,doUncheckAll:R,doCheckAll:$}=Te(co),S=E({});function w(I){const A=S.value[I];return A==null?void 0:A.getBoundingClientRect().width}function x(){i.value?R():$()}function k(I,A){if(no(I,"dataTableFilter")||no(I,"dataTableResizable")||!ya(A))return;const H=h.value.find(U=>U.columnKey===A.key)||null,_=W$(A,H);C(_)}const P=new Map;function M(I){P.set(I.key,w(I.key))}function L(I,A){const H=P.get(I.key);if(H===void 0)return;const _=H+A,U=_$(_,I.minWidth,I.maxWidth);v(_,U,I,w),b(I,U)}return{cellElsRef:S,componentId:p,mergedSortState:h,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:o,fixedColumnRightMap:r,currentPage:n,allRowsChecked:i,someRowsChecked:a,rows:l,cols:s,mergedTheme:d,checkOptions:u,mergedTableLayout:g,headerCheckboxDisabled:f,handleCheckboxUpdateChecked:x,handleColHeaderClick:k,handleTableHeaderScroll:m,handleColumnResizeStart:M,handleColumnResize:L}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:o,fixedColumnRightMap:r,currentPage:n,allRowsChecked:i,someRowsChecked:a,rows:l,cols:s,mergedTheme:d,checkOptions:u,componentId:h,discrete:p,mergedTableLayout:g,headerCheckboxDisabled:f,mergedSortState:v,handleColHeaderClick:b,handleCheckboxUpdateChecked:m,handleColumnResizeStart:C,handleColumnResize:R}=this,$=c("thead",{class:`${t}-data-table-thead`,"data-n-id":h},l.map(x=>c("tr",{class:`${t}-data-table-tr`},x.map(({column:k,colSpan:P,rowSpan:M,isLast:L})=>{var I,A;const H=oo(k),{ellipsis:_}=k,U=()=>k.type==="selection"?k.multiple!==!1?c(yt,null,c(Ml,{key:n,privateInsideTable:!0,checked:i,indeterminate:a,disabled:f,onUpdateChecked:m}),u?c(f3,{clsPrefix:t}):null):null:c(yt,null,c("div",{class:`${t}-data-table-th__title-wrapper`},c("div",{class:`${t}-data-table-th__title`},_===!0||_&&!_.tooltip?c("div",{class:`${t}-data-table-th__ellipsis`},wa(k)):_&&typeof _=="object"?c(_l,Object.assign({},_,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>wa(k)}):wa(k)),ya(k)?c(R$,{column:k}):null),Fd(k)?c(K$,{column:k,options:k.filterOptions}):null,th(k)?c(G$,{onResizeStart:()=>{C(k)},onResize:ue=>{R(k,ue)}}):null),N=H in o,ee=H in r;return c("th",{ref:ue=>e[H]=ue,key:H,style:{textAlign:k.titleAlign||k.align,left:St((I=o[H])===null||I===void 0?void 0:I.start),right:St((A=r[H])===null||A===void 0?void 0:A.start)},colspan:P,rowspan:M,"data-col-key":H,class:[`${t}-data-table-th`,(N||ee)&&`${t}-data-table-th--fixed-${N?"left":"right"}`,{[`${t}-data-table-th--hover`]:oh(k,v),[`${t}-data-table-th--filterable`]:Fd(k),[`${t}-data-table-th--sortable`]:ya(k),[`${t}-data-table-th--selection`]:k.type==="selection",[`${t}-data-table-th--last`]:L},k.className],onClick:k.type!=="selection"&&k.type!=="expand"&&!("children"in k)?ue=>{b(ue,k)}:void 0},U())}))));if(!p)return $;const{handleTableHeaderScroll:S,scrollX:w}=this;return c("div",{class:`${t}-data-table-base-table-header`,onScroll:S},c("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:bt(w),tableLayout:g}},c("colgroup",null,s.map(x=>c("col",{key:x.key,style:x.style}))),$))}}),h3=re({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:o,row:r,renderCell:n}=this;let i;const{render:a,key:l,ellipsis:s}=o;if(a&&!t?i=a(r,this.index):t?i=(e=r[l])===null||e===void 0?void 0:e.value:i=n?n(kn(r,l),r,o):kn(r,l),s)if(typeof s=="object"){const{mergedTheme:d}=this;return o.ellipsisComponent==="performant-ellipsis"?c(S$,Object.assign({},s,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>i}):c(_l,Object.assign({},s,{theme:d.peers.Ellipsis,themeOverrides:d.peerOverrides.Ellipsis}),{default:()=>i})}else return c("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),Ad=re({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return c("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},c(mr,null,{default:()=>this.loading?c(Yo,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):c(ot,{clsPrefix:e,key:"base-icon"},{default:()=>c($l,null)})}))}}),p3=re({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:o}=Te(co);return()=>{const{rowKey:r}=e;return c(Ml,{privateInsideTable:!0,disabled:e.disabled,indeterminate:o.value.has(r),checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}}),v3=re({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:o}=Te(co);return()=>{const{rowKey:r}=e;return c(Jf,{name:o,disabled:e.disabled,checked:t.value.has(r),onUpdateChecked:e.onUpdateChecked})}}});function g3(e,t){const o=[];function r(n,i){n.forEach(a=>{a.children&&t.has(a.key)?(o.push({tmNode:a,striped:!1,key:a.key,index:i}),r(a.children,i)):o.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(n=>{o.push(n);const{children:i}=n.tmNode;i&&t.has(n.key)&&r(i,n.index)}),o}const m3=re({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:o,onMouseenter:r,onMouseleave:n}=this;return c("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:r,onMouseleave:n},c("colgroup",null,o.map(i=>c("col",{key:i.key,style:i.style}))),c("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),b3=re({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:o,mergedExpandedRowKeysRef:r,mergedClsPrefixRef:n,mergedThemeRef:i,scrollXRef:a,colsRef:l,paginatedDataRef:s,rawPaginatedDataRef:d,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:h,mergedCurrentPageRef:p,rowClassNameRef:g,leftActiveFixedColKeyRef:f,leftActiveFixedChildrenColKeysRef:v,rightActiveFixedColKeyRef:b,rightActiveFixedChildrenColKeysRef:m,renderExpandRef:C,hoverKeyRef:R,summaryRef:$,mergedSortStateRef:S,virtualScrollRef:w,componentId:x,mergedTableLayoutRef:k,childTriggerColIndexRef:P,indentRef:M,rowPropsRef:L,maxHeightRef:I,stripedRef:A,loadingRef:H,onLoadRef:_,loadingKeySetRef:U,expandableRef:N,stickyExpandedRowsRef:ee,renderExpandIconRef:ue,summaryPlacementRef:ae,treeMateRef:Y,scrollbarPropsRef:W,setHeaderScrollLeft:X,doUpdateExpandedRowKeys:ne,handleTableBodyScroll:le,doCheck:ge,doUncheck:xe,renderCell:Le}=Te(co),G=E(null),ve=E(null),$e=E(null),Me=Ye(()=>s.value.length===0),Z=Ye(()=>e.showHeader||!Me.value),fe=Ye(()=>e.showHeader||Me.value);let me="";const De=T(()=>new Set(r.value));function te(we){var ze;return(ze=Y.value.getNode(we))===null||ze===void 0?void 0:ze.rawNode}function ye(we,ze,Ke){const Be=te(we.key);if(!Be){yo("data-table",`fail to get row data with key ${we.key}`);return}if(Ke){const Ve=s.value.findIndex(at=>at.key===me);if(Ve!==-1){const at=s.value.findIndex(Re=>Re.key===we.key),F=Math.min(Ve,at),q=Math.max(Ve,at),de=[];s.value.slice(F,q+1).forEach(Re=>{Re.disabled||de.push(Re.key)}),ze?ge(de,!1,Be):xe(de,Be),me=we.key;return}}ze?ge(we.key,!1,Be):xe(we.key,Be),me=we.key}function Pe(we){const ze=te(we.key);if(!ze){yo("data-table",`fail to get row data with key ${we.key}`);return}ge(we.key,!0,ze)}function K(){if(!Z.value){const{value:ze}=$e;return ze||null}if(w.value)return V();const{value:we}=G;return we?we.containerRef:null}function Q(we,ze){var Ke;if(U.value.has(we))return;const{value:Be}=r,Ve=Be.indexOf(we),at=Array.from(Be);~Ve?(at.splice(Ve,1),ne(at)):ze&&!ze.isLeaf&&!ze.shallowLoaded?(U.value.add(we),(Ke=_.value)===null||Ke===void 0||Ke.call(_,ze.rawNode).then(()=>{const{value:F}=r,q=Array.from(F);~q.indexOf(we)||q.push(we),ne(q)}).finally(()=>{U.value.delete(we)})):(at.push(we),ne(at))}function pe(){R.value=null}function V(){const{value:we}=ve;return(we==null?void 0:we.listElRef)||null}function D(){const{value:we}=ve;return(we==null?void 0:we.itemsElRef)||null}function J(we){var ze;le(we),(ze=G.value)===null||ze===void 0||ze.sync()}function Se(we){var ze;const{onResize:Ke}=e;Ke&&Ke(we),(ze=G.value)===null||ze===void 0||ze.sync()}const Ae={getScrollContainer:K,scrollTo(we,ze){var Ke,Be;w.value?(Ke=ve.value)===null||Ke===void 0||Ke.scrollTo(we,ze):(Be=G.value)===null||Be===void 0||Be.scrollTo(we,ze)}},Ge=z([({props:we})=>{const ze=Be=>Be===null?null:z(`[data-n-id="${we.componentId}"] [data-col-key="${Be}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),Ke=Be=>Be===null?null:z(`[data-n-id="${we.componentId}"] [data-col-key="${Be}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return z([ze(we.leftActiveFixedColKey),Ke(we.rightActiveFixedColKey),we.leftActiveFixedChildrenColKeys.map(Be=>ze(Be)),we.rightActiveFixedChildrenColKeys.map(Be=>Ke(Be))])}]);let it=!1;return pt(()=>{const{value:we}=f,{value:ze}=v,{value:Ke}=b,{value:Be}=m;if(!it&&we===null&&Ke===null)return;const Ve={leftActiveFixedColKey:we,leftActiveFixedChildrenColKeys:ze,rightActiveFixedColKey:Ke,rightActiveFixedChildrenColKeys:Be,componentId:x};Ge.mount({id:`n-${x}`,force:!0,props:Ve,anchorMetaName:Hr}),it=!0}),lc(()=>{Ge.unmount({id:`n-${x}`})}),Object.assign({bodyWidth:o,summaryPlacement:ae,dataTableSlots:t,componentId:x,scrollbarInstRef:G,virtualListRef:ve,emptyElRef:$e,summary:$,mergedClsPrefix:n,mergedTheme:i,scrollX:a,cols:l,loading:H,bodyShowHeaderOnly:fe,shouldDisplaySomeTablePart:Z,empty:Me,paginatedDataAndInfo:T(()=>{const{value:we}=A;let ze=!1;return{data:s.value.map(we?(Be,Ve)=>(Be.isLeaf||(ze=!0),{tmNode:Be,key:Be.key,striped:Ve%2===1,index:Ve}):(Be,Ve)=>(Be.isLeaf||(ze=!0),{tmNode:Be,key:Be.key,striped:!1,index:Ve})),hasChildren:ze}}),rawPaginatedData:d,fixedColumnLeftMap:u,fixedColumnRightMap:h,currentPage:p,rowClassName:g,renderExpand:C,mergedExpandedRowKeySet:De,hoverKey:R,mergedSortState:S,virtualScroll:w,mergedTableLayout:k,childTriggerColIndex:P,indent:M,rowProps:L,maxHeight:I,loadingKeySet:U,expandable:N,stickyExpandedRows:ee,renderExpandIcon:ue,scrollbarProps:W,setHeaderScrollLeft:X,handleVirtualListScroll:J,handleVirtualListResize:Se,handleMouseleaveTable:pe,virtualListContainer:V,virtualListContent:D,handleTableBodyScroll:le,handleCheckboxUpdateChecked:ye,handleRadioUpdateChecked:Pe,handleUpdateExpanded:Q,renderCell:Le},Ae)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:o,virtualScroll:r,maxHeight:n,mergedTableLayout:i,flexHeight:a,loadingKeySet:l,onResize:s,setHeaderScrollLeft:d}=this,u=t!==void 0||n!==void 0||a,h=!u&&i==="auto",p=t!==void 0||h,g={minWidth:bt(t)||"100%"};t&&(g.width="100%");const f=c(so,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||h,class:`${o}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:g,container:r?this.virtualListContainer:void 0,content:r?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:p,onScroll:r?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:d,onResize:s}),{default:()=>{const v={},b={},{cols:m,paginatedDataAndInfo:C,mergedTheme:R,fixedColumnLeftMap:$,fixedColumnRightMap:S,currentPage:w,rowClassName:x,mergedSortState:k,mergedExpandedRowKeySet:P,stickyExpandedRows:M,componentId:L,childTriggerColIndex:I,expandable:A,rowProps:H,handleMouseleaveTable:_,renderExpand:U,summary:N,handleCheckboxUpdateChecked:ee,handleRadioUpdateChecked:ue,handleUpdateExpanded:ae}=this,{length:Y}=m;let W;const{data:X,hasChildren:ne}=C,le=ne?g3(X,P):X;if(N){const Z=N(this.rawPaginatedData);if(Array.isArray(Z)){const fe=Z.map((me,De)=>({isSummaryRow:!0,key:`__n_summary__${De}`,tmNode:{rawNode:me,disabled:!0},index:-1}));W=this.summaryPlacement==="top"?[...fe,...le]:[...le,...fe]}else{const fe={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:Z,disabled:!0},index:-1};W=this.summaryPlacement==="top"?[fe,...le]:[...le,fe]}}else W=le;const ge=ne?{width:St(this.indent)}:void 0,xe=[];W.forEach(Z=>{U&&P.has(Z.key)&&(!A||A(Z.tmNode.rawNode))?xe.push(Z,{isExpandedRow:!0,key:`${Z.key}-expand`,tmNode:Z.tmNode,index:Z.index}):xe.push(Z)});const{length:Le}=xe,G={};X.forEach(({tmNode:Z},fe)=>{G[fe]=Z.key});const ve=M?this.bodyWidth:null,$e=ve===null?void 0:`${ve}px`,Me=(Z,fe,me)=>{const{index:De}=Z;if("isExpandedRow"in Z){const{tmNode:{key:Se,rawNode:Ae}}=Z;return c("tr",{class:`${o}-data-table-tr ${o}-data-table-tr--expanded`,key:`${Se}__expand`},c("td",{class:[`${o}-data-table-td`,`${o}-data-table-td--last-col`,fe+1===Le&&`${o}-data-table-td--last-row`],colspan:Y},M?c("div",{class:`${o}-data-table-expand`,style:{width:$e}},U(Ae,De)):U(Ae,De)))}const te="isSummaryRow"in Z,ye=!te&&Z.striped,{tmNode:Pe,key:K}=Z,{rawNode:Q}=Pe,pe=P.has(K),V=H?H(Q,De):void 0,D=typeof x=="string"?x:H$(Q,De,x);return c("tr",Object.assign({onMouseenter:()=>{this.hoverKey=K},key:K,class:[`${o}-data-table-tr`,te&&`${o}-data-table-tr--summary`,ye&&`${o}-data-table-tr--striped`,pe&&`${o}-data-table-tr--expanded`,D]},V),m.map((Se,Ae)=>{var Ge,it,we,ze,Ke;if(fe in v){const ft=v[fe],Ct=ft.indexOf(Ae);if(~Ct)return ft.splice(Ct,1),null}const{column:Be}=Se,Ve=oo(Se),{rowSpan:at,colSpan:F}=Be,q=te?((Ge=Z.tmNode.rawNode[Ve])===null||Ge===void 0?void 0:Ge.colSpan)||1:F?F(Q,De):1,de=te?((it=Z.tmNode.rawNode[Ve])===null||it===void 0?void 0:it.rowSpan)||1:at?at(Q,De):1,Re=Ae+q===Y,Ie=fe+de===Le,Fe=de>1;if(Fe&&(b[fe]={[Ae]:[]}),q>1||Fe)for(let ft=fe;ft{ae(K,Z.tmNode)}})]:null,Be.type==="selection"?te?null:Be.multiple===!1?c(v3,{key:w,rowKey:K,disabled:Z.tmNode.disabled,onUpdateChecked:()=>{ue(Z.tmNode)}}):c(p3,{key:w,rowKey:K,disabled:Z.tmNode.disabled,onUpdateChecked:(ft,Ct)=>{ee(Z.tmNode,ft,Ct.shiftKey)}}):Be.type==="expand"?te?null:!Be.expandable||!((Ke=Be.expandable)===null||Ke===void 0)&&Ke.call(Be,Q)?c(Ad,{clsPrefix:o,expanded:pe,renderExpandIcon:this.renderExpandIcon,onClick:()=>{ae(K,null)}}):null:c(h3,{clsPrefix:o,index:De,row:Q,column:Be,isSummary:te,mergedTheme:R,renderCell:this.renderCell}))}))};return r?c(Lc,{ref:"virtualListRef",items:xe,itemSize:28,visibleItemsTag:m3,visibleItemsProps:{clsPrefix:o,id:L,cols:m,onMouseleave:_},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:g,itemResizable:!0},{default:({item:Z,index:fe})=>Me(Z,fe,!0)}):c("table",{class:`${o}-data-table-table`,onMouseleave:_,style:{tableLayout:this.mergedTableLayout}},c("colgroup",null,m.map(Z=>c("col",{key:Z.key,style:Z.style}))),this.showHeader?c(uh,{discrete:!1}):null,this.empty?null:c("tbody",{"data-n-id":L,class:`${o}-data-table-tbody`},xe.map((Z,fe)=>Me(Z,fe,!1))))}});if(this.empty){const v=()=>c("div",{class:[`${o}-data-table-empty`,this.loading&&`${o}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},Bt(this.dataTableSlots.empty,()=>[c(Nu,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?c(yt,null,f,v()):c(io,{onResize:this.onResize},{default:v})}return f}}),x3=re({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:o,bodyWidthRef:r,maxHeightRef:n,minHeightRef:i,flexHeightRef:a,syncScrollState:l}=Te(co),s=E(null),d=E(null),u=E(null),h=E(!(o.value.length||t.value.length)),p=T(()=>({maxHeight:bt(n.value),minHeight:bt(i.value)}));function g(m){r.value=m.contentRect.width,l(),h.value||(h.value=!0)}function f(){const{value:m}=s;return m?m.$el:null}function v(){const{value:m}=d;return m?m.getScrollContainer():null}const b={getBodyElement:v,getHeaderElement:f,scrollTo(m,C){var R;(R=d.value)===null||R===void 0||R.scrollTo(m,C)}};return pt(()=>{const{value:m}=u;if(!m)return;const C=`${e.value}-data-table-base-table--transition-disabled`;h.value?setTimeout(()=>{m.classList.remove(C)},0):m.classList.add(C)}),Object.assign({maxHeight:n,mergedClsPrefix:e,selfElRef:u,headerInstRef:s,bodyInstRef:d,bodyStyle:p,flexHeight:a,handleBodyResize:g},b)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:o}=this,r=t===void 0&&!o;return c("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},r?null:c(uh,{ref:"headerInstRef"}),c(b3,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:r,flexHeight:o,onResize:this.handleBodyResize}))}});function C3(e,t){const{paginatedDataRef:o,treeMateRef:r,selectionColumnRef:n}=t,i=E(e.defaultCheckedRowKeys),a=T(()=>{var S;const{checkedRowKeys:w}=e,x=w===void 0?i.value:w;return((S=n.value)===null||S===void 0?void 0:S.multiple)===!1?{checkedKeys:x.slice(0,1),indeterminateKeys:[]}:r.value.getCheckedKeys(x,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),l=T(()=>a.value.checkedKeys),s=T(()=>a.value.indeterminateKeys),d=T(()=>new Set(l.value)),u=T(()=>new Set(s.value)),h=T(()=>{const{value:S}=d;return o.value.reduce((w,x)=>{const{key:k,disabled:P}=x;return w+(!P&&S.has(k)?1:0)},0)}),p=T(()=>o.value.filter(S=>S.disabled).length),g=T(()=>{const{length:S}=o.value,{value:w}=u;return h.value>0&&h.valuew.has(x.key))}),f=T(()=>{const{length:S}=o.value;return h.value!==0&&h.value===S-p.value}),v=T(()=>o.value.length===0);function b(S,w,x){const{"onUpdate:checkedRowKeys":k,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:M}=e,L=[],{value:{getNode:I}}=r;S.forEach(A=>{var H;const _=(H=I(A))===null||H===void 0?void 0:H.rawNode;L.push(_)}),k&&ie(k,S,L,{row:w,action:x}),P&&ie(P,S,L,{row:w,action:x}),M&&ie(M,S,L,{row:w,action:x}),i.value=S}function m(S,w=!1,x){if(!e.loading){if(w){b(Array.isArray(S)?S.slice(0,1):[S],x,"check");return}b(r.value.check(S,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"check")}}function C(S,w){e.loading||b(r.value.uncheck(S,l.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,w,"uncheck")}function R(S=!1){const{value:w}=n;if(!w||e.loading)return;const x=[];(S?r.value.treeNodes:o.value).forEach(k=>{k.disabled||x.push(k.key)}),b(r.value.check(x,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function $(S=!1){const{value:w}=n;if(!w||e.loading)return;const x=[];(S?r.value.treeNodes:o.value).forEach(k=>{k.disabled||x.push(k.key)}),b(r.value.uncheck(x,l.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:d,mergedCheckedRowKeysRef:l,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:g,allRowsCheckedRef:f,headerCheckboxDisabledRef:v,doUpdateCheckedRowKeys:b,doCheckAll:R,doUncheckAll:$,doCheck:m,doUncheck:C}}function Zn(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function y3(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?w3(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function w3(e){return(t,o)=>{const r=t[e],n=o[e];return r==null?n==null?0:-1:n==null?1:typeof r=="number"&&typeof n=="number"?r-n:typeof r=="string"&&typeof n=="string"?r.localeCompare(n):0}}function S3(e,{dataRelatedColsRef:t,filteredDataRef:o}){const r=[];t.value.forEach(g=>{var f;g.sorter!==void 0&&p(r,{columnKey:g.key,sorter:g.sorter,order:(f=g.defaultSortOrder)!==null&&f!==void 0?f:!1})});const n=E(r),i=T(()=>{const g=t.value.filter(b=>b.type!=="selection"&&b.sorter!==void 0&&(b.sortOrder==="ascend"||b.sortOrder==="descend"||b.sortOrder===!1)),f=g.filter(b=>b.sortOrder!==!1);if(f.length)return f.map(b=>({columnKey:b.key,order:b.sortOrder,sorter:b.sorter}));if(g.length)return[];const{value:v}=n;return Array.isArray(v)?v:v?[v]:[]}),a=T(()=>{const g=i.value.slice().sort((f,v)=>{const b=Zn(f.sorter)||0;return(Zn(v.sorter)||0)-b});return g.length?o.value.slice().sort((v,b)=>{let m=0;return g.some(C=>{const{columnKey:R,sorter:$,order:S}=C,w=y3($,R);return w&&S&&(m=w(v.rawNode,b.rawNode),m!==0)?(m=m*A$(S),!0):!1}),m}):o.value});function l(g){let f=i.value.slice();return g&&Zn(g.sorter)!==!1?(f=f.filter(v=>Zn(v.sorter)!==!1),p(f,g),f):g||null}function s(g){const f=l(g);d(f)}function d(g){const{"onUpdate:sorter":f,onUpdateSorter:v,onSorterChange:b}=e;f&&ie(f,g),v&&ie(v,g),b&&ie(b,g),n.value=g}function u(g,f="ascend"){if(!g)h();else{const v=t.value.find(m=>m.type!=="selection"&&m.type!=="expand"&&m.key===g);if(!(v!=null&&v.sorter))return;const b=v.sorter;s({columnKey:g,sorter:b,order:f})}}function h(){d(null)}function p(g,f){const v=g.findIndex(b=>(f==null?void 0:f.columnKey)&&b.columnKey===f.columnKey);v!==void 0&&v>=0?g[v]=f:g.push(f)}return{clearSorter:h,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:s}}function k3(e,{dataRelatedColsRef:t}){const o=T(()=>{const Y=W=>{for(let X=0;X{const{childrenKey:Y}=e;return Li(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:W=>W[Y],getDisabled:W=>{var X,ne;return!!(!((ne=(X=o.value)===null||X===void 0?void 0:X.disabled)===null||ne===void 0)&&ne.call(X,W))}})}),n=Ye(()=>{const{columns:Y}=e,{length:W}=Y;let X=null;for(let ne=0;ne{const Y=t.value.filter(ne=>ne.filterOptionValues!==void 0||ne.filterOptionValue!==void 0),W={};return Y.forEach(ne=>{var le;ne.type==="selection"||ne.type==="expand"||(ne.filterOptionValues===void 0?W[ne.key]=(le=ne.filterOptionValue)!==null&&le!==void 0?le:null:W[ne.key]=ne.filterOptionValues)}),Object.assign(Id(i.value),W)}),u=T(()=>{const Y=d.value,{columns:W}=e;function X(ge){return(xe,Le)=>!!~String(Le[ge]).indexOf(String(xe))}const{value:{treeNodes:ne}}=r,le=[];return W.forEach(ge=>{ge.type==="selection"||ge.type==="expand"||"children"in ge||le.push([ge.key,ge])}),ne?ne.filter(ge=>{const{rawNode:xe}=ge;for(const[Le,G]of le){let ve=Y[Le];if(ve==null||(Array.isArray(ve)||(ve=[ve]),!ve.length))continue;const $e=G.filter==="default"?X(Le):G.filter;if(G&&typeof $e=="function")if(G.filterMode==="and"){if(ve.some(Me=>!$e(Me,xe)))return!1}else{if(ve.some(Me=>$e(Me,xe)))continue;return!1}}return!0}):[]}),{sortedDataRef:h,deriveNextSorter:p,mergedSortStateRef:g,sort:f,clearSorter:v}=S3(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(Y=>{var W;if(Y.filter){const X=Y.defaultFilterOptionValues;Y.filterMultiple?i.value[Y.key]=X||[]:X!==void 0?i.value[Y.key]=X===null?[]:X:i.value[Y.key]=(W=Y.defaultFilterOptionValue)!==null&&W!==void 0?W:null}});const b=T(()=>{const{pagination:Y}=e;if(Y!==!1)return Y.page}),m=T(()=>{const{pagination:Y}=e;if(Y!==!1)return Y.pageSize}),C=$t(b,l),R=$t(m,s),$=Ye(()=>{const Y=C.value;return e.remote?Y:Math.max(1,Math.min(Math.ceil(u.value.length/R.value),Y))}),S=T(()=>{const{pagination:Y}=e;if(Y){const{pageCount:W}=Y;if(W!==void 0)return W}}),w=T(()=>{if(e.remote)return r.value.treeNodes;if(!e.pagination)return h.value;const Y=R.value,W=($.value-1)*Y;return h.value.slice(W,W+Y)}),x=T(()=>w.value.map(Y=>Y.rawNode));function k(Y){const{pagination:W}=e;if(W){const{onChange:X,"onUpdate:page":ne,onUpdatePage:le}=W;X&&ie(X,Y),le&&ie(le,Y),ne&&ie(ne,Y),I(Y)}}function P(Y){const{pagination:W}=e;if(W){const{onPageSizeChange:X,"onUpdate:pageSize":ne,onUpdatePageSize:le}=W;X&&ie(X,Y),le&&ie(le,Y),ne&&ie(ne,Y),A(Y)}}const M=T(()=>{if(e.remote){const{pagination:Y}=e;if(Y){const{itemCount:W}=Y;if(W!==void 0)return W}return}return u.value.length}),L=T(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":k,"onUpdate:pageSize":P,page:$.value,pageSize:R.value,pageCount:M.value===void 0?S.value:void 0,itemCount:M.value}));function I(Y){const{"onUpdate:page":W,onPageChange:X,onUpdatePage:ne}=e;ne&&ie(ne,Y),W&&ie(W,Y),X&&ie(X,Y),l.value=Y}function A(Y){const{"onUpdate:pageSize":W,onPageSizeChange:X,onUpdatePageSize:ne}=e;X&&ie(X,Y),ne&&ie(ne,Y),W&&ie(W,Y),s.value=Y}function H(Y,W){const{onUpdateFilters:X,"onUpdate:filters":ne,onFiltersChange:le}=e;X&&ie(X,Y,W),ne&&ie(ne,Y,W),le&&ie(le,Y,W),i.value=Y}function _(Y,W,X,ne){var le;(le=e.onUnstableColumnResize)===null||le===void 0||le.call(e,Y,W,X,ne)}function U(Y){I(Y)}function N(){ee()}function ee(){ue({})}function ue(Y){ae(Y)}function ae(Y){Y?Y&&(i.value=Id(Y)):i.value={}}return{treeMateRef:r,mergedCurrentPageRef:$,mergedPaginationRef:L,paginatedDataRef:w,rawPaginatedDataRef:x,mergedFilterStateRef:d,mergedSortStateRef:g,hoverKeyRef:E(null),selectionColumnRef:o,childTriggerColIndexRef:n,doUpdateFilters:H,deriveNextSorter:p,doUpdatePageSize:A,doUpdatePage:I,onUnstableColumnResize:_,filter:ae,filters:ue,clearFilter:N,clearFilters:ee,clearSorter:v,page:U,sort:f}}function $3(e,{mainTableInstRef:t,mergedCurrentPageRef:o,bodyWidthRef:r}){let n=0;const i=E(),a=E(null),l=E([]),s=E(null),d=E([]),u=T(()=>bt(e.scrollX)),h=T(()=>e.columns.filter(P=>P.fixed==="left")),p=T(()=>e.columns.filter(P=>P.fixed==="right")),g=T(()=>{const P={};let M=0;function L(I){I.forEach(A=>{const H={start:M,end:0};P[oo(A)]=H,"children"in A?(L(A.children),H.end=M):(M+=Md(A)||0,H.end=M)})}return L(h.value),P}),f=T(()=>{const P={};let M=0;function L(I){for(let A=I.length-1;A>=0;--A){const H=I[A],_={start:M,end:0};P[oo(H)]=_,"children"in H?(L(H.children),_.end=M):(M+=Md(H)||0,_.end=M)}}return L(p.value),P});function v(){var P,M;const{value:L}=h;let I=0;const{value:A}=g;let H=null;for(let _=0;_(((P=A[U])===null||P===void 0?void 0:P.start)||0)-I)H=U,I=((M=A[U])===null||M===void 0?void 0:M.end)||0;else break}a.value=H}function b(){l.value=[];let P=e.columns.find(M=>oo(M)===a.value);for(;P&&"children"in P;){const M=P.children.length;if(M===0)break;const L=P.children[M-1];l.value.push(oo(L)),P=L}}function m(){var P,M;const{value:L}=p,I=Number(e.scrollX),{value:A}=r;if(A===null)return;let H=0,_=null;const{value:U}=f;for(let N=L.length-1;N>=0;--N){const ee=oo(L[N]);if(Math.round(n+(((P=U[ee])===null||P===void 0?void 0:P.start)||0)+A-H)oo(M)===s.value);for(;P&&"children"in P&&P.children.length;){const M=P.children[0];d.value.push(oo(M)),P=M}}function R(){const P=t.value?t.value.getHeaderElement():null,M=t.value?t.value.getBodyElement():null;return{header:P,body:M}}function $(){const{body:P}=R();P&&(P.scrollTop=0)}function S(){i.value!=="body"?Lr(x):i.value=void 0}function w(P){var M;(M=e.onScroll)===null||M===void 0||M.call(e,P),i.value!=="head"?Lr(x):i.value=void 0}function x(){const{header:P,body:M}=R();if(!M)return;const{value:L}=r;if(L!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const I=n-P.scrollLeft;i.value=I!==0?"head":"body",i.value==="head"?(n=P.scrollLeft,M.scrollLeft=n):(n=M.scrollLeft,P.scrollLeft=n)}else n=M.scrollLeft;v(),b(),m(),C()}}function k(P){const{header:M}=R();M&&(M.scrollLeft=P,x())}return Je(o,()=>{$()}),{styleScrollXRef:u,fixedColumnLeftMapRef:g,fixedColumnRightMapRef:f,leftFixedColumnsRef:h,rightFixedColumnsRef:p,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:l,rightActiveFixedColKeyRef:s,rightActiveFixedChildrenColKeysRef:d,syncScrollState:x,handleTableBodyScroll:w,handleTableHeaderScroll:S,setHeaderScrollLeft:k}}function R3(){const e=E({});function t(n){return e.value[n]}function o(n,i){th(n)&&"key"in n&&(e.value[n.key]=i)}function r(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:o,clearResizableWidth:r}}function P3(e,t){const o=[],r=[],n=[],i=new WeakMap;let a=-1,l=0,s=!1;function d(p,g){g>a&&(o[g]=[],a=g);for(const f of p)if("children"in f)d(f.children,g+1);else{const v="key"in f?f.key:void 0;r.push({key:oo(f),style:D$(f,v!==void 0?bt(t(v)):void 0),column:f}),l+=1,s||(s=!!f.ellipsis),n.push(f)}}d(e,0);let u=0;function h(p,g){let f=0;p.forEach((v,b)=>{var m;if("children"in v){const C=u,R={column:v,colSpan:0,rowSpan:1,isLast:!1};h(v.children,g+1),v.children.forEach($=>{var S,w;R.colSpan+=(w=(S=i.get($))===null||S===void 0?void 0:S.colSpan)!==null&&w!==void 0?w:0}),C+R.colSpan===l&&(R.isLast=!0),i.set(v,R),o[g].push(R)}else{if(u1&&(f=u+C);const R=u+C===l,$={column:v,colSpan:C,rowSpan:a-g+1,isLast:R};i.set(v,$),o[g].push($),u+=1}})}return h(e,0),{hasEllipsis:s,rows:o,cols:r,dataRelatedCols:n}}function z3(e,t){const o=T(()=>P3(e.columns,t));return{rowsRef:T(()=>o.value.rows),colsRef:T(()=>o.value.cols),hasEllipsisRef:T(()=>o.value.hasEllipsis),dataRelatedColsRef:T(()=>o.value.dataRelatedCols)}}function T3(e,t){const o=Ye(()=>{for(const d of e.columns)if(d.type==="expand")return d.renderExpand}),r=Ye(()=>{let d;for(const u of e.columns)if(u.type==="expand"){d=u.expandable;break}return d}),n=E(e.defaultExpandAll?o!=null&&o.value?(()=>{const d=[];return t.value.treeNodes.forEach(u=>{var h;!((h=r.value)===null||h===void 0)&&h.call(r,u.rawNode)&&d.push(u.key)}),d})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=he(e,"expandedRowKeys"),a=he(e,"stickyExpandedRows"),l=$t(i,n);function s(d){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":h}=e;u&&ie(u,d),h&&ie(h,d),n.value=d}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:l,renderExpandRef:o,expandableRef:r,doUpdateExpandedRowKeys:s}}const _d=O3(),B3=z([y("data-table",` width: 100%; font-size: var(--n-font-size); display: flex; @@ -1820,7 +1820,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[Go({originalTransform:"translateX(-50%) translateY(-50%)"})])]),y("data-table-expand-placeholder",` + `,[qo({originalTransform:"translateX(-50%) translateY(-50%)"})])]),y("data-table-expand-placeholder",` margin-right: 8px; display: inline-block; width: 16px; @@ -1839,7 +1839,7 @@ ${t} height: 16px; color: var(--n-td-text-color); transition: color .3s var(--n-bezier); - `,[B("expanded",[y("icon","transform: rotate(90deg);",[Wt({originalTransform:"rotate(90deg)"})]),y("base-icon","transform: rotate(90deg);",[Wt({originalTransform:"rotate(90deg)"})])]),y("base-loading",` + `,[B("expanded",[y("icon","transform: rotate(90deg);",[Nt({originalTransform:"rotate(90deg)"})]),y("base-icon","transform: rotate(90deg);",[Nt({originalTransform:"rotate(90deg)"})])]),y("base-loading",` color: var(--n-loading-color); transition: color .3s var(--n-bezier); position: absolute; @@ -1847,19 +1847,19 @@ ${t} right: 0; top: 0; bottom: 0; - `,[Wt()]),y("icon",` + `,[Nt()]),y("icon",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; - `,[Wt()]),y("base-icon",` + `,[Nt()]),y("base-icon",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; - `,[Wt()])]),y("data-table-thead",` + `,[Nt()])]),y("data-table-thead",` transition: background-color .3s var(--n-bezier); background-color: var(--n-merged-th-color); `),y("data-table-tr",` @@ -1873,7 +1873,7 @@ ${t} margin: calc(var(--n-th-padding) * -1); padding: var(--n-th-padding); box-sizing: border-box; - `),B("striped","background-color: var(--n-merged-td-color-striped);",[y("data-table-td","background-color: var(--n-merged-td-color-striped);")]),nt("summary",[z("&:hover","background-color: var(--n-merged-td-color-hover);",[z(">",[y("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),y("data-table-th",` + `),B("striped","background-color: var(--n-merged-td-color-striped);",[y("data-table-td","background-color: var(--n-merged-td-color-striped);")]),rt("summary",[z("&:hover","background-color: var(--n-merged-td-color-hover);",[z(">",[y("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),y("data-table-th",` padding: var(--n-th-padding); position: relative; text-align: start; @@ -1891,20 +1891,20 @@ ${t} padding-right: 36px; `,[B("sortable",` padding-right: calc(var(--n-th-padding) + 36px); - `)]),Ad,B("selection",` + `)]),_d,B("selection",` padding: 0; text-align: center; line-height: 0; z-index: 3; - `),M("title-wrapper",` + `),O("title-wrapper",` display: flex; align-items: center; flex-wrap: nowrap; max-width: 100%; - `,[M("title",` + `,[O("title",` flex: 1; min-width: 0; - `)]),M("ellipsis",` + `)]),O("ellipsis",` display: inline-block; vertical-align: bottom; text-overflow: ellipsis; @@ -1915,7 +1915,7 @@ ${t} background-color: var(--n-merged-th-color-hover); `),B("sortable",` cursor: pointer; - `,[M("ellipsis",` + `,[O("ellipsis",` max-width: calc(100% - 18px); `),z("&:hover",` background-color: var(--n-merged-th-color-hover); @@ -2008,7 +2008,7 @@ ${t} background-color: var(--n-merged-th-color); `),B("hover",` background-color: var(--n-merged-td-color-hover); - `),M("ellipsis",` + `),O("ellipsis",` display: inline-block; text-overflow: ellipsis; overflow: hidden; @@ -2020,7 +2020,7 @@ ${t} text-align: center; padding: 0; line-height: 0; - `),Ad]),y("data-table-empty",` + `),_d]),y("data-table-empty",` box-sizing: border-box; padding: var(--n-empty-padding); flex-grow: 1; @@ -2032,7 +2032,7 @@ ${t} transition: opacity .3s var(--n-bezier); `,[B("hide",` opacity: 0; - `)]),M("pagination",` + `)]),O("pagination",` margin: var(--n-pagination-margin); display: flex; justify-content: flex-end; @@ -2050,7 +2050,7 @@ ${t} border-bottom: 0 solid var(--n-merged-border-color); `,[z("&::after, &::before",` bottom: 0 !important; - `)])]),nt("single-line",[y("data-table-th",` + `)])]),rt("single-line",[y("data-table-th",` border-right: 1px solid var(--n-merged-border-color); `,[B("last",` border-right: 0 solid var(--n-merged-border-color); @@ -2095,7 +2095,7 @@ ${t} z-index: 1; `)]),y("data-table-filter-menu",[y("scrollbar",` max-height: 240px; - `),M("group",` + `),O("group",` display: flex; flex-direction: column; padding: 12px 12px 0 12px; @@ -2105,7 +2105,7 @@ ${t} `),y("radio",` margin-bottom: 12px; margin-right: 0; - `)]),M("action",` + `)]),O("action",` padding: var(--n-action-padding); display: flex; flex-wrap: nowrap; @@ -2131,7 +2131,7 @@ ${t} --n-merged-th-color-hover: var(--n-th-color-hover-popover); --n-merged-td-color-hover: var(--n-td-color-hover-popover); --n-merged-td-color-striped: var(--n-td-color-striped-popover); - `))]);function z3(){return[B("fixed-left",` + `))]);function O3(){return[B("fixed-left",` left: 0; position: sticky; z-index: 2; @@ -2159,7 +2159,7 @@ ${t} bottom: -1px; transition: box-shadow .2s var(--n-bezier); left: -36px; - `)])]}const b8=ne({name:"DataTable",alias:["AdvancedTable"],props:w$,setup(e,{slots:t}){const{mergedBorderedRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:i}=He(e),a=Rt("DataTable",i,r),l=T(()=>{const{bottomBordered:F}=e;return o.value?!1:F!==void 0?F:!0}),s=we("DataTable","-data-table",P3,Kf,e,r),d=E(null),u=E(null),{getResizableWidth:h,clearResizableWidth:p,doUpdateResizableWidth:g}=S3(),{rowsRef:f,colsRef:v,dataRelatedColsRef:m,hasEllipsisRef:b}=$3(e,h),C=F=>{const{fileName:G="data.csv",keepOriginalData:de=!1}=F||{},Re=de?e.data:w.value,Ie=H$(e.columns,Re),Fe=new Blob([Ie],{type:"text/csv;charset=utf-8"}),_e=URL.createObjectURL(Fe);Nc(_e,G.endsWith(".csv")?G:`${G}.csv`),URL.revokeObjectURL(_e)},{treeMateRef:R,mergedCurrentPageRef:$,paginatedDataRef:S,rawPaginatedDataRef:w,selectionColumnRef:x,hoverKeyRef:k,mergedPaginationRef:P,mergedFilterStateRef:I,mergedSortStateRef:A,childTriggerColIndexRef:O,doUpdatePage:L,doUpdateFilters:H,onUnstableColumnResize:_,deriveNextSorter:U,filter:N,filters:te,clearFilter:fe,clearFilters:ae,clearSorter:Y,page:j,sort:X}=y3(e,{dataRelatedColsRef:m}),{doCheckAll:re,doUncheckAll:le,doCheck:ge,doUncheck:me,headerCheckboxDisabledRef:Ae,someRowsCheckedRef:q,allRowsCheckedRef:ve,mergedCheckedRowKeySetRef:$e,mergedInderminateRowKeySetRef:Oe}=b3(e,{selectionColumnRef:x,treeMateRef:R,paginatedDataRef:S}),{stickyExpandedRowsRef:Z,mergedExpandedRowKeysRef:ue,renderExpandRef:be,expandableRef:De,doUpdateExpandedRowKeys:ee}=R3(e,R),{handleTableBodyScroll:Ce,handleTableHeaderScroll:Pe,syncScrollState:K,setHeaderScrollLeft:Q,leftActiveFixedColKeyRef:pe,leftActiveFixedChildrenColKeysRef:V,rightActiveFixedColKeyRef:D,rightActiveFixedChildrenColKeysRef:J,leftFixedColumnsRef:Se,rightFixedColumnsRef:Le,fixedColumnLeftMapRef:qe,fixedColumnRightMapRef:it}=w3(e,{bodyWidthRef:d,mainTableInstRef:u,mergedCurrentPageRef:$}),{localeRef:ye}=wo("DataTable"),ze=T(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||b.value?"fixed":e.tableLayout);Ue(co,{props:e,treeMateRef:R,renderExpandIconRef:he(e,"renderExpandIcon"),loadingKeySetRef:E(new Set),slots:t,indentRef:he(e,"indent"),childTriggerColIndexRef:O,bodyWidthRef:d,componentId:Vo(),hoverKeyRef:k,mergedClsPrefixRef:r,mergedThemeRef:s,scrollXRef:T(()=>e.scrollX),rowsRef:f,colsRef:v,paginatedDataRef:S,leftActiveFixedColKeyRef:pe,leftActiveFixedChildrenColKeysRef:V,rightActiveFixedColKeyRef:D,rightActiveFixedChildrenColKeysRef:J,leftFixedColumnsRef:Se,rightFixedColumnsRef:Le,fixedColumnLeftMapRef:qe,fixedColumnRightMapRef:it,mergedCurrentPageRef:$,someRowsCheckedRef:q,allRowsCheckedRef:ve,mergedSortStateRef:A,mergedFilterStateRef:I,loadingRef:he(e,"loading"),rowClassNameRef:he(e,"rowClassName"),mergedCheckedRowKeySetRef:$e,mergedExpandedRowKeysRef:ue,mergedInderminateRowKeySetRef:Oe,localeRef:ye,expandableRef:De,stickyExpandedRowsRef:Z,rowKeyRef:he(e,"rowKey"),renderExpandRef:be,summaryRef:he(e,"summary"),virtualScrollRef:he(e,"virtualScroll"),rowPropsRef:he(e,"rowProps"),stripedRef:he(e,"striped"),checkOptionsRef:T(()=>{const{value:F}=x;return F==null?void 0:F.options}),rawPaginatedDataRef:w,filterMenuCssVarsRef:T(()=>{const{self:{actionDividerColor:F,actionPadding:G,actionButtonMargin:de}}=s.value;return{"--n-action-padding":G,"--n-action-button-margin":de,"--n-action-divider-color":F}}),onLoadRef:he(e,"onLoad"),mergedTableLayoutRef:ze,maxHeightRef:he(e,"maxHeight"),minHeightRef:he(e,"minHeight"),flexHeightRef:he(e,"flexHeight"),headerCheckboxDisabledRef:Ae,paginationBehaviorOnFilterRef:he(e,"paginationBehaviorOnFilter"),summaryPlacementRef:he(e,"summaryPlacement"),scrollbarPropsRef:he(e,"scrollbarProps"),syncScrollState:K,doUpdatePage:L,doUpdateFilters:H,getResizableWidth:h,onUnstableColumnResize:_,clearResizableWidth:p,doUpdateResizableWidth:g,deriveNextSorter:U,doCheck:ge,doUncheck:me,doCheckAll:re,doUncheckAll:le,doUpdateExpandedRowKeys:ee,handleTableHeaderScroll:Pe,handleTableBodyScroll:Ce,setHeaderScrollLeft:Q,renderCell:he(e,"renderCell")});const Ke={filter:N,filters:te,clearFilters:ae,clearSorter:Y,page:j,sort:X,clearFilter:fe,downloadCsv:C,scrollTo:(F,G)=>{var de;(de=u.value)===null||de===void 0||de.scrollTo(F,G)}},Be=T(()=>{const{size:F}=e,{common:{cubicBezierEaseInOut:G},self:{borderColor:de,tdColorHover:Re,thColor:Ie,thColorHover:Fe,tdColor:_e,tdTextColor:je,thTextColor:Ge,thFontWeight:xt,thButtonColorHover:ft,thIconColor:Ct,thIconColorActive:Kt,filterSize:qt,borderRadius:Ro,lineHeight:Po,tdColorModal:uo,thColorModal:fo,borderColorModal:W,thColorHoverModal:ce,tdColorHoverModal:We,borderColorPopover:st,thColorPopover:ct,tdColorPopover:lt,tdColorHoverPopover:Qt,thColorHoverPopover:eo,paginationMargin:to,emptyPadding:zo,boxShadowAfter:To,boxShadowBefore:Jo,sorterSize:Jr,resizableContainerSize:Qr,resizableSize:en,loadingColor:tn,loadingSize:Ho,opacityLoading:jo,tdColorStriped:Ui,tdColorStripedModal:Ki,tdColorStripedPopover:qi,[oe("fontSize",F)]:Gi,[oe("thPadding",F)]:Xi,[oe("tdPadding",F)]:Yi}}=s.value;return{"--n-font-size":Gi,"--n-th-padding":Xi,"--n-td-padding":Yi,"--n-bezier":G,"--n-border-radius":Ro,"--n-line-height":Po,"--n-border-color":de,"--n-border-color-modal":W,"--n-border-color-popover":st,"--n-th-color":Ie,"--n-th-color-hover":Fe,"--n-th-color-modal":fo,"--n-th-color-hover-modal":ce,"--n-th-color-popover":ct,"--n-th-color-hover-popover":eo,"--n-td-color":_e,"--n-td-color-hover":Re,"--n-td-color-modal":uo,"--n-td-color-hover-modal":We,"--n-td-color-popover":lt,"--n-td-color-hover-popover":Qt,"--n-th-text-color":Ge,"--n-td-text-color":je,"--n-th-font-weight":xt,"--n-th-button-color-hover":ft,"--n-th-icon-color":Ct,"--n-th-icon-color-active":Kt,"--n-filter-size":qt,"--n-pagination-margin":to,"--n-empty-padding":zo,"--n-box-shadow-before":Jo,"--n-box-shadow-after":To,"--n-sorter-size":Jr,"--n-resizable-container-size":Qr,"--n-resizable-size":en,"--n-loading-size":Ho,"--n-loading-color":tn,"--n-opacity-loading":jo,"--n-td-color-striped":Ui,"--n-td-color-striped-modal":Ki,"--n-td-color-striped-popover":qi}}),Ve=n?Qe("data-table",T(()=>e.size[0]),Be,e):void 0,at=T(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const F=P.value,{pageCount:G}=F;return G!==void 0?G>1:F.itemCount&&F.pageSize&&F.itemCount>F.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:r,rtlEnabled:a,mergedTheme:s,paginatedData:S,mergedBordered:o,mergedBottomBordered:l,mergedPagination:P,mergedShowPagination:at,cssVars:n?void 0:Be,themeClass:Ve==null?void 0:Ve.themeClass,onRender:Ve==null?void 0:Ve.onRender},Ke)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:o,$slots:r,spinProps:n}=this;return o==null||o(),c("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},c("div",{class:`${e}-data-table-wrapper`},c(g3,{ref:"mainTableInstRef"})),this.mergedShowPagination?c("div",{class:`${e}-data-table__pagination`},c(r$,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,c(kt,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?c("div",{class:`${e}-data-table-loading-wrapper`},Bt(r.loading,()=>[c(Yo,Object.assign({clsPrefix:e,strokeWidth:20},n))])):null}))}}),T3={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},uh=e=>{const{popoverColor:t,textColor2:o,primaryColor:r,hoverColor:n,dividerColor:i,opacityDisabled:a,boxShadow2:l,borderRadius:s,iconColor:d,iconColorDisabled:u}=e;return Object.assign(Object.assign({},T3),{panelColor:t,panelBoxShadow:l,panelDividerColor:i,itemTextColor:o,itemTextColorActive:r,itemColorHover:n,itemOpacityDisabled:a,itemBorderRadius:s,borderRadius:s,iconColor:d,iconColorDisabled:u})},B3={name:"TimePicker",common:xe,peers:{Scrollbar:Et,Button:At,Input:Ht},self:uh},fh=B3,M3={name:"TimePicker",common:ke,peers:{Scrollbar:Dt,Button:jt,Input:Jt},self:uh},hh=M3,O3={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},ph=e=>{const{hoverColor:t,fontSize:o,textColor2:r,textColorDisabled:n,popoverColor:i,primaryColor:a,borderRadiusSmall:l,iconColor:s,iconColorDisabled:d,textColor1:u,dividerColor:h,boxShadow2:p,borderRadius:g,fontWeightStrong:f}=e;return Object.assign(Object.assign({},O3),{itemFontSize:o,calendarDaysFontSize:o,calendarTitleFontSize:o,itemTextColor:r,itemTextColorDisabled:n,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:se(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:l,panelColor:i,panelTextColor:r,arrowColor:s,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:r,panelHeaderDividerColor:h,calendarDaysDividerColor:h,calendarDividerColor:h,panelActionDividerColor:h,panelBoxShadow:p,panelBorderRadius:g,calendarTitleFontWeight:f,scrollItemBorderRadius:g,iconColor:s,iconColorDisabled:d})},I3={name:"DatePicker",common:xe,peers:{Input:Ht,Button:At,TimePicker:fh,Scrollbar:Et},self:ph},F3=I3,E3={name:"DatePicker",common:ke,peers:{Input:Jt,Button:jt,TimePicker:hh,Scrollbar:Dt},self(e){const{popoverColor:t,hoverColor:o,primaryColor:r}=e,n=ph(e);return n.itemColorDisabled=Ee(t,o),n.itemColorIncluded=se(r,{alpha:.15}),n.itemColorHover=Ee(t,o),n}},A3=E3;var m8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C8(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var o=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),o}const L3={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},vh=e=>{const{tableHeaderColor:t,textColor2:o,textColor1:r,cardColor:n,modalColor:i,popoverColor:a,dividerColor:l,borderRadius:s,fontWeightStrong:d,lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g}=e;return Object.assign(Object.assign({},L3),{lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,titleTextColor:r,thColor:Ee(n,t),thColorModal:Ee(i,t),thColorPopover:Ee(a,t),thTextColor:r,thFontWeight:d,tdTextColor:o,tdColor:n,tdColorModal:i,tdColorPopover:a,borderColor:Ee(n,l),borderColorModal:Ee(i,l),borderColorPopover:Ee(a,l),borderRadius:s})},_3={name:"Descriptions",common:xe,self:vh},D3=_3,H3={name:"Descriptions",common:ke,self:vh},j3=H3,W3={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},gh=e=>{const{textColor1:t,textColor2:o,modalColor:r,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,infoColor:d,successColor:u,warningColor:h,errorColor:p,primaryColor:g,dividerColor:f,borderRadius:v,fontWeightStrong:m,lineHeight:b,fontSize:C}=e;return Object.assign(Object.assign({},W3),{fontSize:C,lineHeight:b,border:`1px solid ${f}`,titleTextColor:t,textColor:o,color:r,closeColorHover:l,closeColorPressed:s,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:v,iconColor:g,iconColorInfo:d,iconColorSuccess:u,iconColorWarning:h,iconColorError:p,borderRadius:v,titleFontWeight:m})},N3={name:"Dialog",common:xe,peers:{Button:At},self:gh},Dl=N3,V3={name:"Dialog",common:ke,peers:{Button:jt},self:gh},bh=V3,Ni={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},mh=Uo(Ni),U3=z([y("dialog",` + `)])]}const w8=re({name:"DataTable",alias:["AdvancedTable"],props:$$,setup(e,{slots:t}){const{mergedBorderedRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:i}=He(e),a=Rt("DataTable",i,r),l=T(()=>{const{bottomBordered:F}=e;return o.value?!1:F!==void 0?F:!0}),s=be("DataTable","-data-table",B3,Gf,e,r),d=E(null),u=E(null),{getResizableWidth:h,clearResizableWidth:p,doUpdateResizableWidth:g}=R3(),{rowsRef:f,colsRef:v,dataRelatedColsRef:b,hasEllipsisRef:m}=z3(e,h),C=F=>{const{fileName:q="data.csv",keepOriginalData:de=!1}=F||{},Re=de?e.data:w.value,Ie=j$(e.columns,Re),Fe=new Blob([Ie],{type:"text/csv;charset=utf-8"}),_e=URL.createObjectURL(Fe);Vc(_e,q.endsWith(".csv")?q:`${q}.csv`),URL.revokeObjectURL(_e)},{treeMateRef:R,mergedCurrentPageRef:$,paginatedDataRef:S,rawPaginatedDataRef:w,selectionColumnRef:x,hoverKeyRef:k,mergedPaginationRef:P,mergedFilterStateRef:M,mergedSortStateRef:L,childTriggerColIndexRef:I,doUpdatePage:A,doUpdateFilters:H,onUnstableColumnResize:_,deriveNextSorter:U,filter:N,filters:ee,clearFilter:ue,clearFilters:ae,clearSorter:Y,page:W,sort:X}=k3(e,{dataRelatedColsRef:b}),{doCheckAll:ne,doUncheckAll:le,doCheck:ge,doUncheck:xe,headerCheckboxDisabledRef:Le,someRowsCheckedRef:G,allRowsCheckedRef:ve,mergedCheckedRowKeySetRef:$e,mergedInderminateRowKeySetRef:Me}=C3(e,{selectionColumnRef:x,treeMateRef:R,paginatedDataRef:S}),{stickyExpandedRowsRef:Z,mergedExpandedRowKeysRef:fe,renderExpandRef:me,expandableRef:De,doUpdateExpandedRowKeys:te}=T3(e,R),{handleTableBodyScroll:ye,handleTableHeaderScroll:Pe,syncScrollState:K,setHeaderScrollLeft:Q,leftActiveFixedColKeyRef:pe,leftActiveFixedChildrenColKeysRef:V,rightActiveFixedColKeyRef:D,rightActiveFixedChildrenColKeysRef:J,leftFixedColumnsRef:Se,rightFixedColumnsRef:Ae,fixedColumnLeftMapRef:Ge,fixedColumnRightMapRef:it}=$3(e,{bodyWidthRef:d,mainTableInstRef:u,mergedCurrentPageRef:$}),{localeRef:we}=wo("DataTable"),ze=T(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||m.value?"fixed":e.tableLayout);Ue(co,{props:e,treeMateRef:R,renderExpandIconRef:he(e,"renderExpandIcon"),loadingKeySetRef:E(new Set),slots:t,indentRef:he(e,"indent"),childTriggerColIndexRef:I,bodyWidthRef:d,componentId:Vo(),hoverKeyRef:k,mergedClsPrefixRef:r,mergedThemeRef:s,scrollXRef:T(()=>e.scrollX),rowsRef:f,colsRef:v,paginatedDataRef:S,leftActiveFixedColKeyRef:pe,leftActiveFixedChildrenColKeysRef:V,rightActiveFixedColKeyRef:D,rightActiveFixedChildrenColKeysRef:J,leftFixedColumnsRef:Se,rightFixedColumnsRef:Ae,fixedColumnLeftMapRef:Ge,fixedColumnRightMapRef:it,mergedCurrentPageRef:$,someRowsCheckedRef:G,allRowsCheckedRef:ve,mergedSortStateRef:L,mergedFilterStateRef:M,loadingRef:he(e,"loading"),rowClassNameRef:he(e,"rowClassName"),mergedCheckedRowKeySetRef:$e,mergedExpandedRowKeysRef:fe,mergedInderminateRowKeySetRef:Me,localeRef:we,expandableRef:De,stickyExpandedRowsRef:Z,rowKeyRef:he(e,"rowKey"),renderExpandRef:me,summaryRef:he(e,"summary"),virtualScrollRef:he(e,"virtualScroll"),rowPropsRef:he(e,"rowProps"),stripedRef:he(e,"striped"),checkOptionsRef:T(()=>{const{value:F}=x;return F==null?void 0:F.options}),rawPaginatedDataRef:w,filterMenuCssVarsRef:T(()=>{const{self:{actionDividerColor:F,actionPadding:q,actionButtonMargin:de}}=s.value;return{"--n-action-padding":q,"--n-action-button-margin":de,"--n-action-divider-color":F}}),onLoadRef:he(e,"onLoad"),mergedTableLayoutRef:ze,maxHeightRef:he(e,"maxHeight"),minHeightRef:he(e,"minHeight"),flexHeightRef:he(e,"flexHeight"),headerCheckboxDisabledRef:Le,paginationBehaviorOnFilterRef:he(e,"paginationBehaviorOnFilter"),summaryPlacementRef:he(e,"summaryPlacement"),scrollbarPropsRef:he(e,"scrollbarProps"),syncScrollState:K,doUpdatePage:A,doUpdateFilters:H,getResizableWidth:h,onUnstableColumnResize:_,clearResizableWidth:p,doUpdateResizableWidth:g,deriveNextSorter:U,doCheck:ge,doUncheck:xe,doCheckAll:ne,doUncheckAll:le,doUpdateExpandedRowKeys:te,handleTableHeaderScroll:Pe,handleTableBodyScroll:ye,setHeaderScrollLeft:Q,renderCell:he(e,"renderCell")});const Ke={filter:N,filters:ee,clearFilters:ae,clearSorter:Y,page:W,sort:X,clearFilter:ue,downloadCsv:C,scrollTo:(F,q)=>{var de;(de=u.value)===null||de===void 0||de.scrollTo(F,q)}},Be=T(()=>{const{size:F}=e,{common:{cubicBezierEaseInOut:q},self:{borderColor:de,tdColorHover:Re,thColor:Ie,thColorHover:Fe,tdColor:_e,tdTextColor:We,thTextColor:qe,thFontWeight:xt,thButtonColorHover:ft,thIconColor:Ct,thIconColorActive:Kt,filterSize:Gt,borderRadius:Po,lineHeight:zo,tdColorModal:uo,thColorModal:fo,borderColorModal:j,thColorHoverModal:ce,tdColorHoverModal:Ne,borderColorPopover:st,thColorPopover:ct,tdColorPopover:lt,tdColorHoverPopover:Qt,thColorHoverPopover:eo,paginationMargin:to,emptyPadding:To,boxShadowAfter:Bo,boxShadowBefore:Jo,sorterSize:Jr,resizableContainerSize:Qr,resizableSize:en,loadingColor:tn,loadingSize:Ho,opacityLoading:Wo,tdColorStriped:Ui,tdColorStripedModal:Ki,tdColorStripedPopover:Gi,[oe("fontSize",F)]:qi,[oe("thPadding",F)]:Xi,[oe("tdPadding",F)]:Yi}}=s.value;return{"--n-font-size":qi,"--n-th-padding":Xi,"--n-td-padding":Yi,"--n-bezier":q,"--n-border-radius":Po,"--n-line-height":zo,"--n-border-color":de,"--n-border-color-modal":j,"--n-border-color-popover":st,"--n-th-color":Ie,"--n-th-color-hover":Fe,"--n-th-color-modal":fo,"--n-th-color-hover-modal":ce,"--n-th-color-popover":ct,"--n-th-color-hover-popover":eo,"--n-td-color":_e,"--n-td-color-hover":Re,"--n-td-color-modal":uo,"--n-td-color-hover-modal":Ne,"--n-td-color-popover":lt,"--n-td-color-hover-popover":Qt,"--n-th-text-color":qe,"--n-td-text-color":We,"--n-th-font-weight":xt,"--n-th-button-color-hover":ft,"--n-th-icon-color":Ct,"--n-th-icon-color-active":Kt,"--n-filter-size":Gt,"--n-pagination-margin":to,"--n-empty-padding":To,"--n-box-shadow-before":Jo,"--n-box-shadow-after":Bo,"--n-sorter-size":Jr,"--n-resizable-container-size":Qr,"--n-resizable-size":en,"--n-loading-size":Ho,"--n-loading-color":tn,"--n-opacity-loading":Wo,"--n-td-color-striped":Ui,"--n-td-color-striped-modal":Ki,"--n-td-color-striped-popover":Gi}}),Ve=n?Qe("data-table",T(()=>e.size[0]),Be,e):void 0,at=T(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const F=P.value,{pageCount:q}=F;return q!==void 0?q>1:F.itemCount&&F.pageSize&&F.itemCount>F.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:r,rtlEnabled:a,mergedTheme:s,paginatedData:S,mergedBordered:o,mergedBottomBordered:l,mergedPagination:P,mergedShowPagination:at,cssVars:n?void 0:Be,themeClass:Ve==null?void 0:Ve.themeClass,onRender:Ve==null?void 0:Ve.onRender},Ke)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:o,$slots:r,spinProps:n}=this;return o==null||o(),c("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},c("div",{class:`${e}-data-table-wrapper`},c(x3,{ref:"mainTableInstRef"})),this.mergedShowPagination?c("div",{class:`${e}-data-table__pagination`},c(a$,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,c(kt,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?c("div",{class:`${e}-data-table-loading-wrapper`},Bt(r.loading,()=>[c(Yo,Object.assign({clsPrefix:e,strokeWidth:20},n))])):null}))}}),M3={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},fh=e=>{const{popoverColor:t,textColor2:o,primaryColor:r,hoverColor:n,dividerColor:i,opacityDisabled:a,boxShadow2:l,borderRadius:s,iconColor:d,iconColorDisabled:u}=e;return Object.assign(Object.assign({},M3),{panelColor:t,panelBoxShadow:l,panelDividerColor:i,itemTextColor:o,itemTextColorActive:r,itemColorHover:n,itemOpacityDisabled:a,itemBorderRadius:s,borderRadius:s,iconColor:d,iconColorDisabled:u})},I3={name:"TimePicker",common:Ce,peers:{Scrollbar:Et,Button:Lt,Input:Ht},self:fh},hh=I3,F3={name:"TimePicker",common:ke,peers:{Scrollbar:Dt,Button:Wt,Input:Jt},self:fh},ph=F3,E3={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},vh=e=>{const{hoverColor:t,fontSize:o,textColor2:r,textColorDisabled:n,popoverColor:i,primaryColor:a,borderRadiusSmall:l,iconColor:s,iconColorDisabled:d,textColor1:u,dividerColor:h,boxShadow2:p,borderRadius:g,fontWeightStrong:f}=e;return Object.assign(Object.assign({},E3),{itemFontSize:o,calendarDaysFontSize:o,calendarTitleFontSize:o,itemTextColor:r,itemTextColorDisabled:n,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:se(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:l,panelColor:i,panelTextColor:r,arrowColor:s,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:r,panelHeaderDividerColor:h,calendarDaysDividerColor:h,calendarDividerColor:h,panelActionDividerColor:h,panelBoxShadow:p,panelBorderRadius:g,calendarTitleFontWeight:f,scrollItemBorderRadius:g,iconColor:s,iconColorDisabled:d})},L3={name:"DatePicker",common:Ce,peers:{Input:Ht,Button:Lt,TimePicker:hh,Scrollbar:Et},self:vh},A3=L3,_3={name:"DatePicker",common:ke,peers:{Input:Jt,Button:Wt,TimePicker:ph,Scrollbar:Dt},self(e){const{popoverColor:t,hoverColor:o,primaryColor:r}=e,n=vh(e);return n.itemColorDisabled=Ee(t,o),n.itemColorIncluded=se(r,{alpha:.15}),n.itemColorHover=Ee(t,o),n}},D3=_3;var S8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function k8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $8(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var o=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),o}const H3={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},gh=e=>{const{tableHeaderColor:t,textColor2:o,textColor1:r,cardColor:n,modalColor:i,popoverColor:a,dividerColor:l,borderRadius:s,fontWeightStrong:d,lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g}=e;return Object.assign(Object.assign({},H3),{lineHeight:u,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,titleTextColor:r,thColor:Ee(n,t),thColorModal:Ee(i,t),thColorPopover:Ee(a,t),thTextColor:r,thFontWeight:d,tdTextColor:o,tdColor:n,tdColorModal:i,tdColorPopover:a,borderColor:Ee(n,l),borderColorModal:Ee(i,l),borderColorPopover:Ee(a,l),borderRadius:s})},W3={name:"Descriptions",common:Ce,self:gh},N3=W3,j3={name:"Descriptions",common:ke,self:gh},V3=j3,U3={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},mh=e=>{const{textColor1:t,textColor2:o,modalColor:r,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,infoColor:d,successColor:u,warningColor:h,errorColor:p,primaryColor:g,dividerColor:f,borderRadius:v,fontWeightStrong:b,lineHeight:m,fontSize:C}=e;return Object.assign(Object.assign({},U3),{fontSize:C,lineHeight:m,border:`1px solid ${f}`,titleTextColor:t,textColor:o,color:r,closeColorHover:l,closeColorPressed:s,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:v,iconColor:g,iconColorInfo:d,iconColorSuccess:u,iconColorWarning:h,iconColorError:p,borderRadius:v,titleFontWeight:b})},K3={name:"Dialog",common:Ce,peers:{Button:Lt},self:mh},Hl=K3,G3={name:"Dialog",common:ke,peers:{Button:Wt},self:mh},bh=G3,ji={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},xh=Uo(ji),q3=z([y("dialog",` --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left); word-break: break-word; line-height: var(--n-line-height); @@ -2174,9 +2174,9 @@ ${t} border-color .3s var(--n-bezier), background-color .3s var(--n-bezier), color .3s var(--n-bezier); - `,[M("icon",{color:"var(--n-icon-color)"}),B("bordered",{border:"var(--n-border)"}),B("icon-top",[M("close",{margin:"var(--n-close-margin)"}),M("icon",{margin:"var(--n-icon-margin)"}),M("content",{textAlign:"center"}),M("title",{justifyContent:"center"}),M("action",{justifyContent:"center"})]),B("icon-left",[M("icon",{margin:"var(--n-icon-margin)"}),B("closable",[M("title",` + `,[O("icon",{color:"var(--n-icon-color)"}),B("bordered",{border:"var(--n-border)"}),B("icon-top",[O("close",{margin:"var(--n-close-margin)"}),O("icon",{margin:"var(--n-icon-margin)"}),O("content",{textAlign:"center"}),O("title",{justifyContent:"center"}),O("action",{justifyContent:"center"})]),B("icon-left",[O("icon",{margin:"var(--n-icon-margin)"}),B("closable",[O("title",` padding-right: calc(var(--n-close-size) + 6px); - `)])]),M("close",` + `)])]),O("close",` position: absolute; right: 0; top: 0; @@ -2185,20 +2185,20 @@ ${t} background-color .3s var(--n-bezier), color .3s var(--n-bezier); z-index: 1; - `),M("content",` + `),O("content",` font-size: var(--n-font-size); margin: var(--n-content-margin); position: relative; word-break: break-word; - `,[B("last","margin-bottom: 0;")]),M("action",` + `,[B("last","margin-bottom: 0;")]),O("action",` display: flex; justify-content: flex-end; `,[z("> *:not(:last-child)",` margin-right: var(--n-action-space); - `)]),M("icon",` + `)]),O("icon",` font-size: var(--n-icon-size); transition: color .3s var(--n-bezier); - `),M("title",` + `),O("title",` transition: color .3s var(--n-bezier); display: flex; align-items: center; @@ -2211,10 +2211,10 @@ ${t} `)]),Kr(y("dialog",` width: 446px; max-width: calc(100vw - 32px); - `)),y("dialog",[gc(` + `)),y("dialog",[bc(` width: 446px; max-width: calc(100vw - 32px); - `)])]),K3={default:()=>c(Rn,null),info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null)},xh=ne({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},we.props),Ni),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=Rt("Dialog",n,o),a=T(()=>{var g,f;const{iconPlacement:v}=e;return v||((f=(g=t==null?void 0:t.value)===null||g===void 0?void 0:g.Dialog)===null||f===void 0?void 0:f.iconPlacement)||"left"});function l(g){const{onPositiveClick:f}=e;f&&f(g)}function s(g){const{onNegativeClick:f}=e;f&&f(g)}function d(){const{onClose:g}=e;g&&g()}const u=we("Dialog","-dialog",U3,Dl,e,o),h=T(()=>{const{type:g}=e,f=a.value,{common:{cubicBezierEaseInOut:v},self:{fontSize:m,lineHeight:b,border:C,titleTextColor:R,textColor:$,color:S,closeBorderRadius:w,closeColorHover:x,closeColorPressed:k,closeIconColor:P,closeIconColorHover:I,closeIconColorPressed:A,closeIconSize:O,borderRadius:L,titleFontWeight:H,titleFontSize:_,padding:U,iconSize:N,actionSpace:te,contentMargin:fe,closeSize:ae,[f==="top"?"iconMarginIconTop":"iconMargin"]:Y,[f==="top"?"closeMarginIconTop":"closeMargin"]:j,[oe("iconColor",g)]:X}}=u.value,re=_t(Y);return{"--n-font-size":m,"--n-icon-color":X,"--n-bezier":v,"--n-close-margin":j,"--n-icon-margin-top":re.top,"--n-icon-margin-right":re.right,"--n-icon-margin-bottom":re.bottom,"--n-icon-margin-left":re.left,"--n-icon-size":N,"--n-close-size":ae,"--n-close-icon-size":O,"--n-close-border-radius":w,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-hover":I,"--n-close-icon-color-pressed":A,"--n-color":S,"--n-text-color":$,"--n-border-radius":L,"--n-padding":U,"--n-line-height":b,"--n-border":C,"--n-content-margin":fe,"--n-title-font-size":_,"--n-title-font-weight":H,"--n-title-text-color":R,"--n-action-space":te}}),p=r?Qe("dialog",T(()=>`${e.type[0]}${a.value[0]}`),h,e):void 0;return{mergedClsPrefix:o,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:l,handleNegativeClick:s,handleCloseClick:d,cssVars:r?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:o,cssVars:r,closable:n,showIcon:i,title:a,content:l,action:s,negativeText:d,positiveText:u,positiveButtonProps:h,negativeButtonProps:p,handlePositiveClick:g,handleNegativeClick:f,mergedTheme:v,loading:m,type:b,mergedClsPrefix:C}=this;(e=this.onRender)===null||e===void 0||e.call(this);const R=i?c(ot,{clsPrefix:C,class:`${C}-dialog__icon`},{default:()=>Ze(this.$slots.icon,S=>S||(this.icon?pt(this.icon):K3[this.type]()))}):null,$=Ze(this.$slots.action,S=>S||u||d||s?c("div",{class:`${C}-dialog__action`},S||(s?[pt(s)]:[this.negativeText&&c(jr,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,ghost:!0,size:"small",onClick:f},p),{default:()=>pt(this.negativeText)}),this.positiveText&&c(jr,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:m,loading:m,onClick:g},h),{default:()=>pt(this.positiveText)})])):null);return c("div",{class:[`${C}-dialog`,this.themeClass,this.closable&&`${C}-dialog--closable`,`${C}-dialog--icon-${o}`,t&&`${C}-dialog--bordered`,this.rtlEnabled&&`${C}-dialog--rtl`],style:r,role:"dialog"},n?Ze(this.$slots.close,S=>{const w=[`${C}-dialog__close`,this.rtlEnabled&&`${C}-dialog--rtl`];return S?c("div",{class:w},S):c(mr,{clsPrefix:C,class:w,onClick:this.handleCloseClick})}):null,i&&o==="top"?c("div",{class:`${C}-dialog-icon-container`},R):null,c("div",{class:`${C}-dialog__title`},i&&o==="left"?R:null,Bt(this.$slots.header,()=>[pt(a)])),c("div",{class:[`${C}-dialog__content`,$?"":`${C}-dialog__content--last`]},Bt(this.$slots.default,()=>[pt(l)])),$)}}),Ch="n-dialog-provider",yh="n-dialog-api",q3="n-dialog-reactive-list",wh=e=>{const{modalColor:t,textColor2:o,boxShadow3:r}=e;return{color:t,textColor:o,boxShadow:r}},G3={name:"Modal",common:xe,peers:{Scrollbar:Et,Dialog:Dl,Card:Tl},self:wh},Sh=G3,X3={name:"Modal",common:ke,peers:{Scrollbar:Dt,Dialog:bh,Card:kf},self:wh},Y3=X3,Hl=Object.assign(Object.assign({},Bl),Ni),Z3=Uo(Hl),J3=ne({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},Hl),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=E(null),o=E(null),r=E(e.show),n=E(null),i=E(null);Je(he(e,"show"),m=>{m&&(r.value=!0)}),jc(T(()=>e.blockScroll&&r.value));const a=Te(kc);function l(){if(a.transformOriginRef.value==="center")return"";const{value:m}=n,{value:b}=i;if(m===null||b===null)return"";if(o.value){const C=o.value.containerScrollTop;return`${m}px ${b+C}px`}return""}function s(m){if(a.transformOriginRef.value==="center")return;const b=a.getMousePosition();if(!b||!o.value)return;const C=o.value.containerScrollTop,{offsetLeft:R,offsetTop:$}=m;if(b){const S=b.y,w=b.x;n.value=-(R-w),i.value=-($-S-C)}m.style.transformOrigin=l()}function d(m){ut(()=>{s(m)})}function u(m){m.style.transformOrigin=l(),e.onBeforeLeave()}function h(){r.value=!1,n.value=null,i.value=null,e.onAfterLeave()}function p(){const{onClose:m}=e;m&&m()}function g(){e.onNegativeClick()}function f(){e.onPositiveClick()}const v=E(null);return Je(v,m=>{m&&ut(()=>{const b=m.el;b&&t.value!==b&&(t.value=b)})}),Ue(Bn,t),Ue(Mn,null),Ue(qr,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:o,displayed:r,childNodeRef:v,handlePositiveClick:f,handleNegativeClick:g,handleCloseClick:p,handleAfterLeave:h,handleBeforeLeave:u,handleEnter:d}},render(){const{$slots:e,$attrs:t,handleEnter:o,handleAfterLeave:r,handleBeforeLeave:n,preset:i,mergedClsPrefix:a}=this;let l=null;if(!i){if(l=Ba(e),!l){yo("modal","default slot is empty");return}l=gn(l),l.props=Ft({class:`${a}-modal`},t,l.props||{})}return this.displayDirective==="show"||this.displayed||this.show?It(c("div",{role:"none",class:`${a}-modal-body-wrapper`},c(so,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var s;return[(s=this.renderMask)===null||s===void 0?void 0:s.call(this),c(dl,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var d;return c(kt,{name:"fade-in-scale-up-transition",appear:(d=this.appear)!==null&&d!==void 0?d:this.isMounted,onEnter:o,onAfterEnter:this.onAfterEnter,onAfterLeave:r,onBeforeLeave:n},{default:()=>{const u=[[ao,this.show]],{onClickoutside:h}=this;return h&&u.push([_r,this.onClickoutside,void 0,{capture:!0}]),It(this.preset==="confirm"||this.preset==="dialog"?c(xh,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Io(this.$props,mh),{"aria-modal":"true"}),e):this.preset==="card"?c(ik,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Io(this.$props,rk),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=l,u)}})}})]}})),[[ao,this.displayDirective==="if"||this.displayed||this.show]]):null}}),Q3=z([y("modal-container",` + `)])]),X3={default:()=>c(Rn,null),info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null)},Ch=re({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},be.props),ji),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=He(e),i=Rt("Dialog",n,o),a=T(()=>{var g,f;const{iconPlacement:v}=e;return v||((f=(g=t==null?void 0:t.value)===null||g===void 0?void 0:g.Dialog)===null||f===void 0?void 0:f.iconPlacement)||"left"});function l(g){const{onPositiveClick:f}=e;f&&f(g)}function s(g){const{onNegativeClick:f}=e;f&&f(g)}function d(){const{onClose:g}=e;g&&g()}const u=be("Dialog","-dialog",q3,Hl,e,o),h=T(()=>{const{type:g}=e,f=a.value,{common:{cubicBezierEaseInOut:v},self:{fontSize:b,lineHeight:m,border:C,titleTextColor:R,textColor:$,color:S,closeBorderRadius:w,closeColorHover:x,closeColorPressed:k,closeIconColor:P,closeIconColorHover:M,closeIconColorPressed:L,closeIconSize:I,borderRadius:A,titleFontWeight:H,titleFontSize:_,padding:U,iconSize:N,actionSpace:ee,contentMargin:ue,closeSize:ae,[f==="top"?"iconMarginIconTop":"iconMargin"]:Y,[f==="top"?"closeMarginIconTop":"closeMargin"]:W,[oe("iconColor",g)]:X}}=u.value,ne=_t(Y);return{"--n-font-size":b,"--n-icon-color":X,"--n-bezier":v,"--n-close-margin":W,"--n-icon-margin-top":ne.top,"--n-icon-margin-right":ne.right,"--n-icon-margin-bottom":ne.bottom,"--n-icon-margin-left":ne.left,"--n-icon-size":N,"--n-close-size":ae,"--n-close-icon-size":I,"--n-close-border-radius":w,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-hover":M,"--n-close-icon-color-pressed":L,"--n-color":S,"--n-text-color":$,"--n-border-radius":A,"--n-padding":U,"--n-line-height":m,"--n-border":C,"--n-content-margin":ue,"--n-title-font-size":_,"--n-title-font-weight":H,"--n-title-text-color":R,"--n-action-space":ee}}),p=r?Qe("dialog",T(()=>`${e.type[0]}${a.value[0]}`),h,e):void 0;return{mergedClsPrefix:o,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:l,handleNegativeClick:s,handleCloseClick:d,cssVars:r?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:o,cssVars:r,closable:n,showIcon:i,title:a,content:l,action:s,negativeText:d,positiveText:u,positiveButtonProps:h,negativeButtonProps:p,handlePositiveClick:g,handleNegativeClick:f,mergedTheme:v,loading:b,type:m,mergedClsPrefix:C}=this;(e=this.onRender)===null||e===void 0||e.call(this);const R=i?c(ot,{clsPrefix:C,class:`${C}-dialog__icon`},{default:()=>Ze(this.$slots.icon,S=>S||(this.icon?vt(this.icon):X3[this.type]()))}):null,$=Ze(this.$slots.action,S=>S||u||d||s?c("div",{class:`${C}-dialog__action`},S||(s?[vt(s)]:[this.negativeText&&c(Wr,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,ghost:!0,size:"small",onClick:f},p),{default:()=>vt(this.negativeText)}),this.positiveText&&c(Wr,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,size:"small",type:m==="default"?"primary":m,disabled:b,loading:b,onClick:g},h),{default:()=>vt(this.positiveText)})])):null);return c("div",{class:[`${C}-dialog`,this.themeClass,this.closable&&`${C}-dialog--closable`,`${C}-dialog--icon-${o}`,t&&`${C}-dialog--bordered`,this.rtlEnabled&&`${C}-dialog--rtl`],style:r,role:"dialog"},n?Ze(this.$slots.close,S=>{const w=[`${C}-dialog__close`,this.rtlEnabled&&`${C}-dialog--rtl`];return S?c("div",{class:w},S):c(br,{clsPrefix:C,class:w,onClick:this.handleCloseClick})}):null,i&&o==="top"?c("div",{class:`${C}-dialog-icon-container`},R):null,c("div",{class:`${C}-dialog__title`},i&&o==="left"?R:null,Bt(this.$slots.header,()=>[vt(a)])),c("div",{class:[`${C}-dialog__content`,$?"":`${C}-dialog__content--last`]},Bt(this.$slots.default,()=>[vt(l)])),$)}}),yh="n-dialog-provider",wh="n-dialog-api",Y3="n-dialog-reactive-list",Sh=e=>{const{modalColor:t,textColor2:o,boxShadow3:r}=e;return{color:t,textColor:o,boxShadow:r}},Z3={name:"Modal",common:Ce,peers:{Scrollbar:Et,Dialog:Hl,Card:Bl},self:Sh},kh=Z3,J3={name:"Modal",common:ke,peers:{Scrollbar:Dt,Dialog:bh,Card:$f},self:Sh},Q3=J3,Wl=Object.assign(Object.assign({},Ol),ji),eR=Uo(Wl),tR=re({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},Wl),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=E(null),o=E(null),r=E(e.show),n=E(null),i=E(null);Je(he(e,"show"),b=>{b&&(r.value=!0)}),Nc(T(()=>e.blockScroll&&r.value));const a=Te($c);function l(){if(a.transformOriginRef.value==="center")return"";const{value:b}=n,{value:m}=i;if(b===null||m===null)return"";if(o.value){const C=o.value.containerScrollTop;return`${b}px ${m+C}px`}return""}function s(b){if(a.transformOriginRef.value==="center")return;const m=a.getMousePosition();if(!m||!o.value)return;const C=o.value.containerScrollTop,{offsetLeft:R,offsetTop:$}=b;if(m){const S=m.y,w=m.x;n.value=-(R-w),i.value=-($-S-C)}b.style.transformOrigin=l()}function d(b){ut(()=>{s(b)})}function u(b){b.style.transformOrigin=l(),e.onBeforeLeave()}function h(){r.value=!1,n.value=null,i.value=null,e.onAfterLeave()}function p(){const{onClose:b}=e;b&&b()}function g(){e.onNegativeClick()}function f(){e.onPositiveClick()}const v=E(null);return Je(v,b=>{b&&ut(()=>{const m=b.el;m&&t.value!==m&&(t.value=m)})}),Ue(Bn,t),Ue(On,null),Ue(Gr,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:o,displayed:r,childNodeRef:v,handlePositiveClick:f,handleNegativeClick:g,handleCloseClick:p,handleAfterLeave:h,handleBeforeLeave:u,handleEnter:d}},render(){const{$slots:e,$attrs:t,handleEnter:o,handleAfterLeave:r,handleBeforeLeave:n,preset:i,mergedClsPrefix:a}=this;let l=null;if(!i){if(l=Ba(e),!l){yo("modal","default slot is empty");return}l=gn(l),l.props=Ft({class:`${a}-modal`},t,l.props||{})}return this.displayDirective==="show"||this.displayed||this.show?It(c("div",{role:"none",class:`${a}-modal-body-wrapper`},c(so,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var s;return[(s=this.renderMask)===null||s===void 0?void 0:s.call(this),c(cl,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var d;return c(kt,{name:"fade-in-scale-up-transition",appear:(d=this.appear)!==null&&d!==void 0?d:this.isMounted,onEnter:o,onAfterEnter:this.onAfterEnter,onAfterLeave:r,onBeforeLeave:n},{default:()=>{const u=[[ao,this.show]],{onClickoutside:h}=this;return h&&u.push([_r,this.onClickoutside,void 0,{capture:!0}]),It(this.preset==="confirm"||this.preset==="dialog"?c(Ch,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Fo(this.$props,xh),{"aria-modal":"true"}),e):this.preset==="card"?c(sk,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Fo(this.$props,ak),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=l,u)}})}})]}})),[[ao,this.displayDirective==="if"||this.displayed||this.show]]):null}}),oR=z([y("modal-container",` position: fixed; left: 0; top: 0; @@ -2245,7 +2245,7 @@ ${t} color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); - `,[Go({duration:".25s",enterScale:".5"})])]),eR=Object.assign(Object.assign(Object.assign(Object.assign({},we.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),Hl),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),tR=ne({name:"Modal",inheritAttrs:!1,props:eR,setup(e){const t=E(null),{mergedClsPrefixRef:o,namespaceRef:r,inlineThemeDisabled:n}=He(e),i=we("Modal","-modal",Q3,Sh,e,o),a=wc(64),l=yc(),s=Ao(),d=e.internalDialog?Te(Ch,null):null,u=e.internalModal?Te(vg,null):null,h=Wc();function p(w){const{onUpdateShow:x,"onUpdate:show":k,onHide:P}=e;x&&ie(x,w),k&&ie(k,w),P&&!w&&P(w)}function g(){const{onClose:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function f(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function v(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function m(){const{onBeforeLeave:w,onBeforeHide:x}=e;w&&ie(w),x&&x()}function b(){const{onAfterLeave:w,onAfterHide:x}=e;w&&ie(w),x&&x()}function C(w){var x;const{onMaskClick:k}=e;k&&k(w),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(Lr(w))&&p(!1)}function R(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&mc(w)&&!h.value&&p(!1)}Ue(kc,{getMousePosition:()=>{const w=d||u;if(w){const{clickedRef:x,clickedPositionRef:k}=w;if(x.value&&k.value)return k.value}return a.value?l.value:null},mergedClsPrefixRef:o,mergedThemeRef:i,isMountedRef:s,appearRef:he(e,"internalAppear"),transformOriginRef:he(e,"transformOrigin")});const $=T(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:x,color:k,textColor:P}}=i.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":x,"--n-color":k,"--n-text-color":P}}),S=n?Qe("theme-class",void 0,$,e):void 0;return{mergedClsPrefix:o,namespace:r,isMounted:s,containerRef:t,presetProps:T(()=>Io(e,Z3)),handleEsc:R,handleAfterLeave:b,handleClickoutside:C,handleBeforeLeave:m,doUpdateShow:p,handleNegativeClick:v,handlePositiveClick:f,handleCloseClick:g,cssVars:n?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return c(zi,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:o}=this;return It(c("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},c(J3,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:o?void 0:this.handleClickoutside,renderMask:o?()=>{var r;return c(kt,{name:"fade-in-transition",key:"mask",appear:(r=this.internalAppear)!==null&&r!==void 0?r:this.isMounted},{default:()=>this.show?c("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[On,{zIndex:this.zIndex,enabled:this.show}]])}})}}),oR=Object.assign(Object.assign({},Ni),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),rR=ne({name:"DialogEnvironment",props:Object.assign(Object.assign({},oR),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=E(!0);function o(){const{onInternalAfterLeave:u,internalKey:h,onAfterLeave:p}=e;u&&u(h),p&&p()}function r(u){const{onPositiveClick:h}=e;h?Promise.resolve(h(u)).then(p=>{p!==!1&&s()}):s()}function n(u){const{onNegativeClick:h}=e;h?Promise.resolve(h(u)).then(p=>{p!==!1&&s()}):s()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(h=>{h!==!1&&s()}):s()}function a(u){const{onMaskClick:h,maskClosable:p}=e;h&&(h(u),p&&s())}function l(){const{onEsc:u}=e;u&&u()}function s(){t.value=!1}function d(u){t.value=u}return{show:t,hide:s,handleUpdateShow:d,handleAfterLeave:o,handleCloseClick:i,handleNegativeClick:n,handlePositiveClick:r,handleMaskClick:a,handleEsc:l}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:o,handleCloseClick:r,handleAfterLeave:n,handleMaskClick:i,handleEsc:a,to:l,maskClosable:s,show:d}=this;return c(tR,{show:d,onUpdateShow:t,onMaskClick:i,onEsc:a,to:l,maskClosable:s,onAfterEnter:this.onAfterEnter,onAfterLeave:n,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>c(xh,Object.assign({},Io(this.$props,mh),{style:this.internalStyle,onClose:r,onNegativeClick:o,onPositiveClick:e}))})}}),nR={injectionKey:String,to:[String,Object]},y8=ne({name:"DialogProvider",props:nR,setup(){const e=E([]),t={};function o(l={}){const s=Vo(),d=Ci(Object.assign(Object.assign({},l),{key:s,destroy:()=>{t[`n-dialog-${s}`].hide()}}));return e.value.push(d),d}const r=["info","success","warning","error"].map(l=>s=>o(Object.assign(Object.assign({},s),{type:l})));function n(l){const{value:s}=e;s.splice(s.findIndex(d=>d.key===l),1)}function i(){Object.values(t).forEach(l=>{l.hide()})}const a={create:o,destroyAll:i,info:r[0],success:r[1],warning:r[2],error:r[3]};return Ue(yh,a),Ue(Ch,{clickedRef:wc(64),clickedPositionRef:yc()}),Ue(q3,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:n})},render(){var e,t;return c(yt,null,[this.dialogList.map(o=>c(rR,fr(o,["destroy","style"],{internalStyle:o.style,to:this.to,ref:r=>{r===null?delete this.dialogInstRefs[`n-dialog-${o.key}`]:this.dialogInstRefs[`n-dialog-${o.key}`]=r},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function w8(){const e=Te(yh,null);return e===null&&hr("use-dialog","No outer founded."),e}const kh=e=>{const{textColor1:t,dividerColor:o,fontWeightStrong:r}=e;return{textColor:t,color:o,fontWeight:r}},iR={name:"Divider",common:xe,self:kh},aR=iR,lR={name:"Divider",common:ke,self:kh},sR=lR,$h=e=>{const{modalColor:t,textColor1:o,textColor2:r,boxShadow3:n,lineHeight:i,fontWeightStrong:a,dividerColor:l,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderRadius:g,primaryColorHover:f}=e;return{bodyPadding:"16px 24px",borderRadius:g,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:r,titleTextColor:o,titleFontSize:"18px",titleFontWeight:a,boxShadow:n,lineHeight:i,headerBorderBottom:`1px solid ${l}`,footerBorderTop:`1px solid ${l}`,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,closeSize:"22px",closeIconSize:"18px",closeColorHover:s,closeColorPressed:d,closeBorderRadius:g,resizableTriggerColorHover:f}},dR={name:"Drawer",common:xe,peers:{Scrollbar:Et},self:$h},Rh=dR,cR={name:"Drawer",common:ke,peers:{Scrollbar:Dt},self:$h},uR=cR,fR=ne({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=E(!!e.show),o=E(null),r=Te(ll);let n=0,i="",a=null;const l=E(!1),s=E(!1),d=T(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:h}=He(e),p=Rt("Drawer",h,u),g=P=>{s.value=!0,n=d.value?P.clientY:P.clientX,i=document.body.style.cursor,document.body.style.cursor=d.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",$),document.body.addEventListener("mouseleave",w),document.body.addEventListener("mouseup",S)},f=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value?l.value=!0:a=window.setTimeout(()=>{l.value=!0},300)},v=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value=!1},{doUpdateHeight:m,doUpdateWidth:b}=r,C=P=>{const{maxWidth:I}=e;if(I&&P>I)return I;const{minWidth:A}=e;return A&&P{const{maxHeight:I}=e;if(I&&P>I)return I;const{minHeight:A}=e;return A&&P{var I,A;if(s.value)if(d.value){let O=((I=o.value)===null||I===void 0?void 0:I.offsetHeight)||0;const L=n-P.clientY;O+=e.placement==="bottom"?L:-L,O=R(O),m(O),n=P.clientY}else{let O=((A=o.value)===null||A===void 0?void 0:A.offsetWidth)||0;const L=n-P.clientX;O+=e.placement==="right"?L:-L,O=C(O),b(O),n=P.clientX}},S=()=>{s.value&&(n=0,s.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",$),document.body.removeEventListener("mouseup",S),document.body.removeEventListener("mouseleave",w))},w=S;vt(()=>{e.show&&(t.value=!0)}),Je(()=>e.show,P=>{P||S()}),dt(()=>{S()});const x=T(()=>{const{show:P}=e,I=[[ao,P]];return e.showMask||I.push([_r,e.onClickoutside,void 0,{capture:!0}]),I});function k(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return jc(T(()=>e.blockScroll&&t.value)),Ue(Mn,o),Ue(qr,null),Ue(Bn,null),{bodyRef:o,rtlEnabled:p,mergedClsPrefix:r.mergedClsPrefixRef,isMounted:r.isMountedRef,mergedTheme:r.mergedThemeRef,displayed:t,transitionName:T(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:k,bodyDirectives:x,handleMousedownResizeTrigger:g,handleMouseenterResizeTrigger:f,handleMouseleaveResizeTrigger:v,isDragging:s,isHoverOnResizeTrigger:l}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?It(c("div",{role:"none"},c(dl,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>c(kt,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>It(c("div",Ft(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?c("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?c("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):c(so,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[ao,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:hR,cubicBezierEaseOut:pR}=Ut;function vR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-right"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${hR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${pR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateX(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateX(100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateX(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:gR,cubicBezierEaseOut:bR}=Ut;function mR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-left"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${gR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${bR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateX(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateX(-100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateX(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:xR,cubicBezierEaseOut:CR}=Ut;function yR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-top"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${xR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${CR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateY(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateY(-100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateY(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:wR,cubicBezierEaseOut:SR}=Ut;function kR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-bottom"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${wR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${SR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateY(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateY(100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateY(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateY(100%)"})]}const $R=z([y("drawer",` + `,[qo({duration:".25s",enterScale:".5"})])]),rR=Object.assign(Object.assign(Object.assign(Object.assign({},be.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),Wl),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),nR=re({name:"Modal",inheritAttrs:!1,props:rR,setup(e){const t=E(null),{mergedClsPrefixRef:o,namespaceRef:r,inlineThemeDisabled:n}=He(e),i=be("Modal","-modal",oR,kh,e,o),a=Sc(64),l=wc(),s=Lo(),d=e.internalDialog?Te(yh,null):null,u=e.internalModal?Te(bg,null):null,h=jc();function p(w){const{onUpdateShow:x,"onUpdate:show":k,onHide:P}=e;x&&ie(x,w),k&&ie(k,w),P&&!w&&P(w)}function g(){const{onClose:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function f(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function v(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&p(!1)}):p(!1)}function b(){const{onBeforeLeave:w,onBeforeHide:x}=e;w&&ie(w),x&&x()}function m(){const{onAfterLeave:w,onAfterHide:x}=e;w&&ie(w),x&&x()}function C(w){var x;const{onMaskClick:k}=e;k&&k(w),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(Ar(w))&&p(!1)}function R(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&Cc(w)&&!h.value&&p(!1)}Ue($c,{getMousePosition:()=>{const w=d||u;if(w){const{clickedRef:x,clickedPositionRef:k}=w;if(x.value&&k.value)return k.value}return a.value?l.value:null},mergedClsPrefixRef:o,mergedThemeRef:i,isMountedRef:s,appearRef:he(e,"internalAppear"),transformOriginRef:he(e,"transformOrigin")});const $=T(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:x,color:k,textColor:P}}=i.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":x,"--n-color":k,"--n-text-color":P}}),S=n?Qe("theme-class",void 0,$,e):void 0;return{mergedClsPrefix:o,namespace:r,isMounted:s,containerRef:t,presetProps:T(()=>Fo(e,eR)),handleEsc:R,handleAfterLeave:m,handleClickoutside:C,handleBeforeLeave:b,doUpdateShow:p,handleNegativeClick:v,handlePositiveClick:f,handleCloseClick:g,cssVars:n?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return c(zi,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:o}=this;return It(c("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},c(tR,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:o?void 0:this.handleClickoutside,renderMask:o?()=>{var r;return c(kt,{name:"fade-in-transition",key:"mask",appear:(r=this.internalAppear)!==null&&r!==void 0?r:this.isMounted},{default:()=>this.show?c("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Mn,{zIndex:this.zIndex,enabled:this.show}]])}})}}),iR=Object.assign(Object.assign({},ji),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),aR=re({name:"DialogEnvironment",props:Object.assign(Object.assign({},iR),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=E(!0);function o(){const{onInternalAfterLeave:u,internalKey:h,onAfterLeave:p}=e;u&&u(h),p&&p()}function r(u){const{onPositiveClick:h}=e;h?Promise.resolve(h(u)).then(p=>{p!==!1&&s()}):s()}function n(u){const{onNegativeClick:h}=e;h?Promise.resolve(h(u)).then(p=>{p!==!1&&s()}):s()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(h=>{h!==!1&&s()}):s()}function a(u){const{onMaskClick:h,maskClosable:p}=e;h&&(h(u),p&&s())}function l(){const{onEsc:u}=e;u&&u()}function s(){t.value=!1}function d(u){t.value=u}return{show:t,hide:s,handleUpdateShow:d,handleAfterLeave:o,handleCloseClick:i,handleNegativeClick:n,handlePositiveClick:r,handleMaskClick:a,handleEsc:l}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:o,handleCloseClick:r,handleAfterLeave:n,handleMaskClick:i,handleEsc:a,to:l,maskClosable:s,show:d}=this;return c(nR,{show:d,onUpdateShow:t,onMaskClick:i,onEsc:a,to:l,maskClosable:s,onAfterEnter:this.onAfterEnter,onAfterLeave:n,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>c(Ch,Object.assign({},Fo(this.$props,xh),{style:this.internalStyle,onClose:r,onNegativeClick:o,onPositiveClick:e}))})}}),lR={injectionKey:String,to:[String,Object]},R8=re({name:"DialogProvider",props:lR,setup(){const e=E([]),t={};function o(l={}){const s=Vo(),d=Ci(Object.assign(Object.assign({},l),{key:s,destroy:()=>{t[`n-dialog-${s}`].hide()}}));return e.value.push(d),d}const r=["info","success","warning","error"].map(l=>s=>o(Object.assign(Object.assign({},s),{type:l})));function n(l){const{value:s}=e;s.splice(s.findIndex(d=>d.key===l),1)}function i(){Object.values(t).forEach(l=>{l.hide()})}const a={create:o,destroyAll:i,info:r[0],success:r[1],warning:r[2],error:r[3]};return Ue(wh,a),Ue(yh,{clickedRef:Sc(64),clickedPositionRef:wc()}),Ue(Y3,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:n})},render(){var e,t;return c(yt,null,[this.dialogList.map(o=>c(aR,fr(o,["destroy","style"],{internalStyle:o.style,to:this.to,ref:r=>{r===null?delete this.dialogInstRefs[`n-dialog-${o.key}`]:this.dialogInstRefs[`n-dialog-${o.key}`]=r},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function P8(){const e=Te(wh,null);return e===null&&hr("use-dialog","No outer founded."),e}const $h=e=>{const{textColor1:t,dividerColor:o,fontWeightStrong:r}=e;return{textColor:t,color:o,fontWeight:r}},sR={name:"Divider",common:Ce,self:$h},dR=sR,cR={name:"Divider",common:ke,self:$h},uR=cR,Rh=e=>{const{modalColor:t,textColor1:o,textColor2:r,boxShadow3:n,lineHeight:i,fontWeightStrong:a,dividerColor:l,closeColorHover:s,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,borderRadius:g,primaryColorHover:f}=e;return{bodyPadding:"16px 24px",borderRadius:g,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:r,titleTextColor:o,titleFontSize:"18px",titleFontWeight:a,boxShadow:n,lineHeight:i,headerBorderBottom:`1px solid ${l}`,footerBorderTop:`1px solid ${l}`,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:p,closeSize:"22px",closeIconSize:"18px",closeColorHover:s,closeColorPressed:d,closeBorderRadius:g,resizableTriggerColorHover:f}},fR={name:"Drawer",common:Ce,peers:{Scrollbar:Et},self:Rh},Ph=fR,hR={name:"Drawer",common:ke,peers:{Scrollbar:Dt},self:Rh},pR=hR,vR=re({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=E(!!e.show),o=E(null),r=Te(sl);let n=0,i="",a=null;const l=E(!1),s=E(!1),d=T(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:h}=He(e),p=Rt("Drawer",h,u),g=P=>{s.value=!0,n=d.value?P.clientY:P.clientX,i=document.body.style.cursor,document.body.style.cursor=d.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",$),document.body.addEventListener("mouseleave",w),document.body.addEventListener("mouseup",S)},f=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value?l.value=!0:a=window.setTimeout(()=>{l.value=!0},300)},v=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value=!1},{doUpdateHeight:b,doUpdateWidth:m}=r,C=P=>{const{maxWidth:M}=e;if(M&&P>M)return M;const{minWidth:L}=e;return L&&P{const{maxHeight:M}=e;if(M&&P>M)return M;const{minHeight:L}=e;return L&&P{var M,L;if(s.value)if(d.value){let I=((M=o.value)===null||M===void 0?void 0:M.offsetHeight)||0;const A=n-P.clientY;I+=e.placement==="bottom"?A:-A,I=R(I),b(I),n=P.clientY}else{let I=((L=o.value)===null||L===void 0?void 0:L.offsetWidth)||0;const A=n-P.clientX;I+=e.placement==="right"?A:-A,I=C(I),m(I),n=P.clientX}},S=()=>{s.value&&(n=0,s.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",$),document.body.removeEventListener("mouseup",S),document.body.removeEventListener("mouseleave",w))},w=S;pt(()=>{e.show&&(t.value=!0)}),Je(()=>e.show,P=>{P||S()}),dt(()=>{S()});const x=T(()=>{const{show:P}=e,M=[[ao,P]];return e.showMask||M.push([_r,e.onClickoutside,void 0,{capture:!0}]),M});function k(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return Nc(T(()=>e.blockScroll&&t.value)),Ue(On,o),Ue(Gr,null),Ue(Bn,null),{bodyRef:o,rtlEnabled:p,mergedClsPrefix:r.mergedClsPrefixRef,isMounted:r.isMountedRef,mergedTheme:r.mergedThemeRef,displayed:t,transitionName:T(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:k,bodyDirectives:x,handleMousedownResizeTrigger:g,handleMouseenterResizeTrigger:f,handleMouseleaveResizeTrigger:v,isDragging:s,isHoverOnResizeTrigger:l}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?It(c("div",{role:"none"},c(cl,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>c(kt,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>It(c("div",Ft(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?c("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?c("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):c(so,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[ao,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:gR,cubicBezierEaseOut:mR}=Ut;function bR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-right"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${gR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${mR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateX(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateX(100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateX(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:xR,cubicBezierEaseOut:CR}=Ut;function yR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-left"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${xR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${CR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateX(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateX(-100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateX(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:wR,cubicBezierEaseOut:SR}=Ut;function kR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-top"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${wR}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${SR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateY(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateY(-100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateY(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:$R,cubicBezierEaseOut:RR}=Ut;function PR({duration:e="0.3s",leaveDuration:t="0.2s",name:o="slide-in-from-bottom"}={}){return[z(`&.${o}-transition-leave-active`,{transition:`transform ${t} ${$R}`}),z(`&.${o}-transition-enter-active`,{transition:`transform ${e} ${RR}`}),z(`&.${o}-transition-enter-to`,{transform:"translateY(0)"}),z(`&.${o}-transition-enter-from`,{transform:"translateY(100%)"}),z(`&.${o}-transition-leave-from`,{transform:"translateY(0)"}),z(`&.${o}-transition-leave-to`,{transform:"translateY(100%)"})]}const zR=z([y("drawer",` word-break: break-word; line-height: var(--n-line-height); position: absolute; @@ -2257,13 +2257,13 @@ ${t} background-color: var(--n-color); color: var(--n-text-color); box-sizing: border-box; - `,[vR(),mR(),yR(),kR(),B("unselectable",` + `,[bR(),yR(),kR(),PR(),B("unselectable",` user-select: none; -webkit-user-select: none; `),B("native-scrollbar",[y("drawer-content-wrapper",` overflow: auto; height: 100%; - `)]),M("resize-trigger",` + `)]),O("resize-trigger",` position: absolute; background-color: #0000; transition: background-color .3s var(--n-bezier); @@ -2296,7 +2296,7 @@ ${t} display: flex; justify-content: space-between; align-items: center; - `,[M("close",` + `,[O("close",` margin-left: 6px; transition: background-color .3s var(--n-bezier), @@ -2313,7 +2313,7 @@ ${t} right: 0; border-top-left-radius: var(--n-border-radius); border-bottom-left-radius: var(--n-border-radius); - `,[M("resize-trigger",` + `,[O("resize-trigger",` width: 3px; height: 100%; top: 0; @@ -2326,7 +2326,7 @@ ${t} left: 0; border-top-right-radius: var(--n-border-radius); border-bottom-right-radius: var(--n-border-radius); - `,[M("resize-trigger",` + `,[O("resize-trigger",` width: 3px; height: 100%; top: 0; @@ -2339,7 +2339,7 @@ ${t} right: 0; border-bottom-left-radius: var(--n-border-radius); border-bottom-right-radius: var(--n-border-radius); - `,[M("resize-trigger",` + `,[O("resize-trigger",` width: 100%; height: 3px; bottom: 0; @@ -2352,7 +2352,7 @@ ${t} right: 0; border-top-left-radius: var(--n-border-radius); border-top-right-radius: var(--n-border-radius); - `,[M("resize-trigger",` + `,[O("resize-trigger",` width: 100%; height: 3px; top: 0; @@ -2380,12 +2380,12 @@ ${t} bottom: 0; `,[B("invisible",` background-color: rgba(0, 0, 0, 0) - `),cr({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),RR=Object.assign(Object.assign({},we.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),S8=ne({name:"Drawer",inheritAttrs:!1,props:RR,setup(e){const{mergedClsPrefixRef:t,namespaceRef:o,inlineThemeDisabled:r}=He(e),n=Ao(),i=we("Drawer","-drawer",$R,Rh,e,t),a=E(e.defaultWidth),l=E(e.defaultHeight),s=$t(he(e,"width"),a),d=$t(he(e,"height"),l),u=T(()=>{const{placement:w}=e;return w==="top"||w==="bottom"?"":mt(s.value)}),h=T(()=>{const{placement:w}=e;return w==="left"||w==="right"?"":mt(d.value)}),p=w=>{const{onUpdateWidth:x,"onUpdate:width":k}=e;x&&ie(x,w),k&&ie(k,w),a.value=w},g=w=>{const{onUpdateHeight:x,"onUpdate:width":k}=e;x&&ie(x,w),k&&ie(k,w),l.value=w},f=T(()=>[{width:u.value,height:h.value},e.drawerStyle||""]);function v(w){const{onMaskClick:x,maskClosable:k}=e;k&&R(!1),x&&x(w)}function m(w){v(w)}const b=Wc();function C(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&mc(w)&&!b.value&&R(!1)}function R(w){const{onHide:x,onUpdateShow:k,"onUpdate:show":P}=e;k&&ie(k,w),P&&ie(P,w),x&&!w&&ie(x,w)}Ue(ll,{isMountedRef:n,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:R,doUpdateHeight:g,doUpdateWidth:p});const $=T(()=>{const{common:{cubicBezierEaseInOut:w,cubicBezierEaseIn:x,cubicBezierEaseOut:k},self:{color:P,textColor:I,boxShadow:A,lineHeight:O,headerPadding:L,footerPadding:H,borderRadius:_,bodyPadding:U,titleFontSize:N,titleTextColor:te,titleFontWeight:fe,headerBorderBottom:ae,footerBorderTop:Y,closeIconColor:j,closeIconColorHover:X,closeIconColorPressed:re,closeColorHover:le,closeColorPressed:ge,closeIconSize:me,closeSize:Ae,closeBorderRadius:q,resizableTriggerColorHover:ve}}=i.value;return{"--n-line-height":O,"--n-color":P,"--n-border-radius":_,"--n-text-color":I,"--n-box-shadow":A,"--n-bezier":w,"--n-bezier-out":k,"--n-bezier-in":x,"--n-header-padding":L,"--n-body-padding":U,"--n-footer-padding":H,"--n-title-text-color":te,"--n-title-font-size":N,"--n-title-font-weight":fe,"--n-header-border-bottom":ae,"--n-footer-border-top":Y,"--n-close-icon-color":j,"--n-close-icon-color-hover":X,"--n-close-icon-color-pressed":re,"--n-close-size":Ae,"--n-close-color-hover":le,"--n-close-color-pressed":ge,"--n-close-icon-size":me,"--n-close-border-radius":q,"--n-resize-trigger-color-hover":ve}}),S=r?Qe("drawer",void 0,$,e):void 0;return{mergedClsPrefix:t,namespace:o,mergedBodyStyle:f,handleOutsideClick:m,handleMaskClick:v,handleEsc:C,mergedTheme:i,cssVars:r?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender,isMounted:n}},render(){const{mergedClsPrefix:e}=this;return c(zi,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),It(c("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?c(kt,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?c("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,c(fR,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[On,{zIndex:this.zIndex,enabled:this.show}]])}})}}),PR={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},k8=ne({name:"DrawerContent",props:PR,setup(){const e=Te(ll,null);e||hr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function o(){t(!1)}return{handleCloseClick:o,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:o,mergedTheme:r,bodyClass:n,bodyStyle:i,bodyContentClass:a,bodyContentStyle:l,headerClass:s,headerStyle:d,footerClass:u,footerStyle:h,scrollbarProps:p,closable:g,$slots:f}=this;return c("div",{role:"none",class:[`${t}-drawer-content`,o&&`${t}-drawer-content--native-scrollbar`]},f.header||e||g?c("div",{class:[`${t}-drawer-header`,s],style:d,role:"none"},c("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},f.header!==void 0?f.header():e),g&&c(mr,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,o?c("div",{class:[`${t}-drawer-body`,n],style:i,role:"none"},c("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:l,role:"none"},f)):c(so,Object.assign({themeOverrides:r.peerOverrides.Scrollbar,theme:r.peers.Scrollbar},p,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:l}),f),f.footer?c("div",{class:[`${t}-drawer-footer`,u],style:h,role:"none"},f.footer()):null)}}),Ph={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},zR={name:"DynamicInput",common:ke,peers:{Input:Jt,Button:jt},self(){return Ph}},TR=zR,BR=()=>Ph,MR={name:"DynamicInput",common:xe,peers:{Input:Ht,Button:At},self:BR},OR=MR,zh={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},IR={name:"Space",self(){return zh}},Th=IR,FR=()=>zh,ER={name:"Space",self:FR},jl=ER;let Sa;const AR=()=>{if(!Eo)return!0;if(Sa===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),Sa=t}return Sa},LR=Object.assign(Object.assign({},we.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),$8=ne({name:"Space",props:LR,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=we("Space","-space",void 0,jl,e,t),n=Rt("Space",o,t);return{useGap:AR(),rtlEnabled:n,mergedClsPrefix:t,margin:T(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[oe("gap",i)]:a}}=r.value,{row:l,col:s}=vv(a);return{horizontal:Tt(s),vertical:Tt(l)}})}},render(){const{vertical:e,reverse:t,align:o,inline:r,justify:n,itemClass:i,itemStyle:a,margin:l,wrap:s,mergedClsPrefix:d,rtlEnabled:u,useGap:h,wrapItem:p,internalUseGap:g}=this,f=Oo(il(this),!1);if(!f.length)return null;const v=`${l.horizontal}px`,m=`${l.horizontal/2}px`,b=`${l.vertical}px`,C=`${l.vertical/2}px`,R=f.length-1,$=n.startsWith("space-");return c("div",{role:"none",class:[`${d}-space`,u&&`${d}-space--rtl`],style:{display:r?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(n)?"flex-"+n:n,flexWrap:!s||e?"nowrap":"wrap",marginTop:h||e?"":`-${C}`,marginBottom:h||e?"":`-${C}`,alignItems:o,gap:h?`${l.vertical}px ${l.horizontal}px`:""}},!p&&(h||g)?f:f.map((S,w)=>S.type===xi?S:c("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},h?"":e?{marginBottom:w!==R?b:""}:u?{marginLeft:$?n==="space-between"&&w===R?"":m:w!==R?v:"",marginRight:$?n==="space-between"&&w===0?"":m:"",paddingTop:C,paddingBottom:C}:{marginRight:$?n==="space-between"&&w===R?"":m:w!==R?v:"",marginLeft:$?n==="space-between"&&w===0?"":m:"",paddingTop:C,paddingBottom:C}]},S)))}}),_R={name:"DynamicTags",common:ke,peers:{Input:Jt,Button:jt,Tag:Zu,Space:Th},self(){return{inputWidth:"64px"}}},DR=_R,HR={name:"DynamicTags",common:xe,peers:{Input:Ht,Button:At,Tag:Rl,Space:jl},self(){return{inputWidth:"64px"}}},jR=HR,WR={name:"Element",common:ke},NR=WR,VR={name:"Element",common:xe},UR=VR,Bh={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},KR={name:"Flex",self(){return Bh}},qR=KR,GR=()=>Bh,XR={name:"Flex",self:GR},YR=XR,ZR={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},Mh=e=>{const{heightSmall:t,heightMedium:o,heightLarge:r,textColor1:n,errorColor:i,warningColor:a,lineHeight:l,textColor3:s}=e;return Object.assign(Object.assign({},ZR),{blankHeightSmall:t,blankHeightMedium:o,blankHeightLarge:r,lineHeight:l,labelTextColor:n,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:s})},JR={name:"Form",common:xe,self:Mh},Wl=JR,QR={name:"Form",common:ke,self:Mh},eP=QR,tP=y("form",[B("inline",` + `),cr({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),TR=Object.assign(Object.assign({},be.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),z8=re({name:"Drawer",inheritAttrs:!1,props:TR,setup(e){const{mergedClsPrefixRef:t,namespaceRef:o,inlineThemeDisabled:r}=He(e),n=Lo(),i=be("Drawer","-drawer",zR,Ph,e,t),a=E(e.defaultWidth),l=E(e.defaultHeight),s=$t(he(e,"width"),a),d=$t(he(e,"height"),l),u=T(()=>{const{placement:w}=e;return w==="top"||w==="bottom"?"":bt(s.value)}),h=T(()=>{const{placement:w}=e;return w==="left"||w==="right"?"":bt(d.value)}),p=w=>{const{onUpdateWidth:x,"onUpdate:width":k}=e;x&&ie(x,w),k&&ie(k,w),a.value=w},g=w=>{const{onUpdateHeight:x,"onUpdate:width":k}=e;x&&ie(x,w),k&&ie(k,w),l.value=w},f=T(()=>[{width:u.value,height:h.value},e.drawerStyle||""]);function v(w){const{onMaskClick:x,maskClosable:k}=e;k&&R(!1),x&&x(w)}function b(w){v(w)}const m=jc();function C(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&Cc(w)&&!m.value&&R(!1)}function R(w){const{onHide:x,onUpdateShow:k,"onUpdate:show":P}=e;k&&ie(k,w),P&&ie(P,w),x&&!w&&ie(x,w)}Ue(sl,{isMountedRef:n,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:R,doUpdateHeight:g,doUpdateWidth:p});const $=T(()=>{const{common:{cubicBezierEaseInOut:w,cubicBezierEaseIn:x,cubicBezierEaseOut:k},self:{color:P,textColor:M,boxShadow:L,lineHeight:I,headerPadding:A,footerPadding:H,borderRadius:_,bodyPadding:U,titleFontSize:N,titleTextColor:ee,titleFontWeight:ue,headerBorderBottom:ae,footerBorderTop:Y,closeIconColor:W,closeIconColorHover:X,closeIconColorPressed:ne,closeColorHover:le,closeColorPressed:ge,closeIconSize:xe,closeSize:Le,closeBorderRadius:G,resizableTriggerColorHover:ve}}=i.value;return{"--n-line-height":I,"--n-color":P,"--n-border-radius":_,"--n-text-color":M,"--n-box-shadow":L,"--n-bezier":w,"--n-bezier-out":k,"--n-bezier-in":x,"--n-header-padding":A,"--n-body-padding":U,"--n-footer-padding":H,"--n-title-text-color":ee,"--n-title-font-size":N,"--n-title-font-weight":ue,"--n-header-border-bottom":ae,"--n-footer-border-top":Y,"--n-close-icon-color":W,"--n-close-icon-color-hover":X,"--n-close-icon-color-pressed":ne,"--n-close-size":Le,"--n-close-color-hover":le,"--n-close-color-pressed":ge,"--n-close-icon-size":xe,"--n-close-border-radius":G,"--n-resize-trigger-color-hover":ve}}),S=r?Qe("drawer",void 0,$,e):void 0;return{mergedClsPrefix:t,namespace:o,mergedBodyStyle:f,handleOutsideClick:b,handleMaskClick:v,handleEsc:C,mergedTheme:i,cssVars:r?void 0:$,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender,isMounted:n}},render(){const{mergedClsPrefix:e}=this;return c(zi,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),It(c("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?c(kt,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?c("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,c(vR,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[Mn,{zIndex:this.zIndex,enabled:this.show}]])}})}}),BR={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},T8=re({name:"DrawerContent",props:BR,setup(){const e=Te(sl,null);e||hr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function o(){t(!1)}return{handleCloseClick:o,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:o,mergedTheme:r,bodyClass:n,bodyStyle:i,bodyContentClass:a,bodyContentStyle:l,headerClass:s,headerStyle:d,footerClass:u,footerStyle:h,scrollbarProps:p,closable:g,$slots:f}=this;return c("div",{role:"none",class:[`${t}-drawer-content`,o&&`${t}-drawer-content--native-scrollbar`]},f.header||e||g?c("div",{class:[`${t}-drawer-header`,s],style:d,role:"none"},c("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},f.header!==void 0?f.header():e),g&&c(br,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,o?c("div",{class:[`${t}-drawer-body`,n],style:i,role:"none"},c("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:l,role:"none"},f)):c(so,Object.assign({themeOverrides:r.peerOverrides.Scrollbar,theme:r.peers.Scrollbar},p,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:l}),f),f.footer?c("div",{class:[`${t}-drawer-footer`,u],style:h,role:"none"},f.footer()):null)}}),zh={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},OR={name:"DynamicInput",common:ke,peers:{Input:Jt,Button:Wt},self(){return zh}},MR=OR,IR=()=>zh,FR={name:"DynamicInput",common:Ce,peers:{Input:Ht,Button:Lt},self:IR},ER=FR,Th={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},LR={name:"Space",self(){return Th}},Bh=LR,AR=()=>Th,_R={name:"Space",self:AR},Nl=_R;let Sa;const DR=()=>{if(!So)return!0;if(Sa===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),Sa=t}return Sa},HR=Object.assign(Object.assign({},be.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),B8=re({name:"Space",props:HR,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:o}=He(e),r=be("Space","-space",void 0,Nl,e,t),n=Rt("Space",o,t);return{useGap:DR(),rtlEnabled:n,mergedClsPrefix:t,margin:T(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[oe("gap",i)]:a}}=r.value,{row:l,col:s}=mv(a);return{horizontal:Tt(s),vertical:Tt(l)}})}},render(){const{vertical:e,reverse:t,align:o,inline:r,justify:n,itemClass:i,itemStyle:a,margin:l,wrap:s,mergedClsPrefix:d,rtlEnabled:u,useGap:h,wrapItem:p,internalUseGap:g}=this,f=Io(il(this),!1);if(!f.length)return null;const v=`${l.horizontal}px`,b=`${l.horizontal/2}px`,m=`${l.vertical}px`,C=`${l.vertical/2}px`,R=f.length-1,$=n.startsWith("space-");return c("div",{role:"none",class:[`${d}-space`,u&&`${d}-space--rtl`],style:{display:r?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(n)?"flex-"+n:n,flexWrap:!s||e?"nowrap":"wrap",marginTop:h||e?"":`-${C}`,marginBottom:h||e?"":`-${C}`,alignItems:o,gap:h?`${l.vertical}px ${l.horizontal}px`:""}},!p&&(h||g)?f:f.map((S,w)=>S.type===xi?S:c("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},h?"":e?{marginBottom:w!==R?m:""}:u?{marginLeft:$?n==="space-between"&&w===R?"":b:w!==R?v:"",marginRight:$?n==="space-between"&&w===0?"":b:"",paddingTop:C,paddingBottom:C}:{marginRight:$?n==="space-between"&&w===R?"":b:w!==R?v:"",marginLeft:$?n==="space-between"&&w===0?"":b:"",paddingTop:C,paddingBottom:C}]},S)))}}),WR={name:"DynamicTags",common:ke,peers:{Input:Jt,Button:Wt,Tag:Ju,Space:Bh},self(){return{inputWidth:"64px"}}},NR=WR,jR={name:"DynamicTags",common:Ce,peers:{Input:Ht,Button:Lt,Tag:Pl,Space:Nl},self(){return{inputWidth:"64px"}}},VR=jR,UR={name:"Element",common:ke},KR=UR,GR={name:"Element",common:Ce},qR=GR,Oh={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},XR={name:"Flex",self(){return Oh}},YR=XR,ZR=()=>Oh,JR={name:"Flex",self:ZR},QR=JR,eP={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},Mh=e=>{const{heightSmall:t,heightMedium:o,heightLarge:r,textColor1:n,errorColor:i,warningColor:a,lineHeight:l,textColor3:s}=e;return Object.assign(Object.assign({},eP),{blankHeightSmall:t,blankHeightMedium:o,blankHeightLarge:r,lineHeight:l,labelTextColor:n,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:s})},tP={name:"Form",common:Ce,self:Mh},jl=tP,oP={name:"Form",common:ke,self:Mh},rP=oP,nP=y("form",[B("inline",` width: 100%; display: inline-flex; align-items: flex-start; align-content: space-around; - `,[y("form-item",{width:"auto",marginRight:"18px"},[z("&:last-child",{marginRight:0})])])]),Ln="n-form",Oh="n-form-item-insts";var oP=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};const rP=Object.assign(Object.assign({},we.props),{inline:Boolean,labelWidth:[Number,String],labelAlign:String,labelPlacement:{type:String,default:"top"},model:{type:Object,default:()=>{}},rules:Object,disabled:Boolean,size:String,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:!0},onSubmit:{type:Function,default:e=>{e.preventDefault()}},showLabel:{type:Boolean,default:void 0},validateMessages:Object}),R8=ne({name:"Form",props:rP,setup(e){const{mergedClsPrefixRef:t}=He(e);we("Form","-form",tP,Wl,e,t);const o={},r=E(void 0),n=s=>{const d=r.value;(d===void 0||s>=d)&&(r.value=s)};function i(s,d=()=>!0){return oP(this,void 0,void 0,function*(){return yield new Promise((u,h)=>{const p=[];for(const g of Uo(o)){const f=o[g];for(const v of f)v.path&&p.push(v.internalValidate(null,d))}Promise.all(p).then(g=>{const f=g.some(b=>!b.valid),v=[],m=[];g.forEach(b=>{var C,R;!((C=b.errors)===null||C===void 0)&&C.length&&v.push(b.errors),!((R=b.warnings)===null||R===void 0)&&R.length&&m.push(b.warnings)}),s&&s(v.length?v:void 0,{warnings:m.length?m:void 0}),f?h(v.length?v:void 0):u({warnings:m.length?m:void 0})})})})}function a(){for(const s of Uo(o)){const d=o[s];for(const u of d)u.restoreValidation()}}return Ue(Ln,{props:e,maxChildLabelWidthRef:r,deriveMaxChildLabelWidth:n}),Ue(Oh,{formItems:o}),Object.assign({validate:i,restoreValidation:a},{mergedClsPrefix:t})},render(){const{mergedClsPrefix:e}=this;return c("form",{class:[`${e}-form`,this.inline&&`${e}-form--inline`],onSubmit:this.onSubmit},this.$slots)}});function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ii(e,t,o){return iP()?ii=Reflect.construct.bind():ii=function(n,i,a){var l=[null];l.push.apply(l,i);var s=Function.bind.apply(n,l),d=new s;return a&&Pn(d,a.prototype),d},ii.apply(null,arguments)}function aP(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Qa(e){var t=typeof Map=="function"?new Map:void 0;return Qa=function(r){if(r===null||!aP(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return ii(r,arguments,Ja(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Pn(n,r)},Qa(e)}var lP=/%[sdj%]/g,sP=function(){};typeof process<"u"&&process.env;function el(e){if(!e||!e.length)return null;var t={};return e.forEach(function(o){var r=o.field;t[r]=t[r]||[],t[r].push(o)}),t}function Nt(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r=i)return l;switch(l){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function dP(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function zt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||dP(t)&&typeof e=="string"&&!e)}function cP(e,t,o){var r=[],n=0,i=e.length;function a(l){r.push.apply(r,l||[]),n++,n===i&&o(r)}e.forEach(function(l){t(l,a)})}function Ld(e,t,o){var r=0,n=e.length;function i(a){if(a&&a.length){o(a);return}var l=r;r=r+1,l{}},rules:Object,disabled:Boolean,size:String,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:!0},onSubmit:{type:Function,default:e=>{e.preventDefault()}},showLabel:{type:Boolean,default:void 0},validateMessages:Object}),O8=re({name:"Form",props:aP,setup(e){const{mergedClsPrefixRef:t}=He(e);be("Form","-form",nP,jl,e,t);const o={},r=E(void 0),n=s=>{const d=r.value;(d===void 0||s>=d)&&(r.value=s)};function i(s,d=()=>!0){return iP(this,void 0,void 0,function*(){return yield new Promise((u,h)=>{const p=[];for(const g of Uo(o)){const f=o[g];for(const v of f)v.path&&p.push(v.internalValidate(null,d))}Promise.all(p).then(g=>{const f=g.some(m=>!m.valid),v=[],b=[];g.forEach(m=>{var C,R;!((C=m.errors)===null||C===void 0)&&C.length&&v.push(m.errors),!((R=m.warnings)===null||R===void 0)&&R.length&&b.push(m.warnings)}),s&&s(v.length?v:void 0,{warnings:b.length?b:void 0}),f?h(v.length?v:void 0):u({warnings:b.length?b:void 0})})})})}function a(){for(const s of Uo(o)){const d=o[s];for(const u of d)u.restoreValidation()}}return Ue(An,{props:e,maxChildLabelWidthRef:r,deriveMaxChildLabelWidth:n}),Ue(Ih,{formItems:o}),Object.assign({validate:i,restoreValidation:a},{mergedClsPrefix:t})},render(){const{mergedClsPrefix:e}=this;return c("form",{class:[`${e}-form`,this.inline&&`${e}-form--inline`],onSubmit:this.onSubmit},this.$slots)}});function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ii(e,t,o){return sP()?ii=Reflect.construct.bind():ii=function(n,i,a){var l=[null];l.push.apply(l,i);var s=Function.bind.apply(n,l),d=new s;return a&&Pn(d,a.prototype),d},ii.apply(null,arguments)}function dP(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Qa(e){var t=typeof Map=="function"?new Map:void 0;return Qa=function(r){if(r===null||!dP(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return ii(r,arguments,Ja(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Pn(n,r)},Qa(e)}var cP=/%[sdj%]/g,uP=function(){};typeof process<"u"&&process.env;function el(e){if(!e||!e.length)return null;var t={};return e.forEach(function(o){var r=o.field;t[r]=t[r]||[],t[r].push(o)}),t}function jt(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r=i)return l;switch(l){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch{return"[Circular]"}break;default:return l}});return a}return e}function fP(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function zt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||fP(t)&&typeof e=="string"&&!e)}function hP(e,t,o){var r=[],n=0,i=e.length;function a(l){r.push.apply(r,l||[]),n++,n===i&&o(r)}e.forEach(function(l){t(l,a)})}function Dd(e,t,o){var r=0,n=e.length;function i(a){if(a&&a.length){o(a);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},dn={integer:function(t){return dn.number(t)&&parseInt(t,10)===t},float:function(t){return dn.number(t)&&!dn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!dn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(jd.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(gP())},hex:function(t){return typeof t=="string"&&!!t.match(jd.hex)}},bP=function(t,o,r,n,i){if(t.required&&o===void 0){Ih(t,o,r,n,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?dn[l](o)||n.push(Nt(i.messages.types[l],t.fullField,t.type)):l&&typeof o!==t.type&&n.push(Nt(i.messages.types[l],t.fullField,t.type))},mP=function(t,o,r,n,i){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=o,h=null,p=typeof o=="number",g=typeof o=="string",f=Array.isArray(o);if(p?h="number":g?h="string":f&&(h="array"),!h)return!1;f&&(u=o.length),g&&(u=o.replace(d,"_").length),a?u!==t.len&&n.push(Nt(i.messages[h].len,t.fullField,t.len)):l&&!s&&ut.max?n.push(Nt(i.messages[h].max,t.fullField,t.max)):l&&s&&(ut.max)&&n.push(Nt(i.messages[h].range,t.fullField,t.min,t.max))},Tr="enum",xP=function(t,o,r,n,i){t[Tr]=Array.isArray(t[Tr])?t[Tr]:[],t[Tr].indexOf(o)===-1&&n.push(Nt(i.messages[Tr],t.fullField,t[Tr].join(", ")))},CP=function(t,o,r,n,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(o)||n.push(Nt(i.messages.pattern.mismatch,t.fullField,o,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(o)||n.push(Nt(i.messages.pattern.mismatch,t.fullField,o,t.pattern))}}},et={required:Ih,whitespace:vP,type:bP,range:mP,enum:xP,pattern:CP},yP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"string")&&!t.required)return r();et.required(t,o,n,a,i,"string"),zt(o,"string")||(et.type(t,o,n,a,i),et.range(t,o,n,a,i),et.pattern(t,o,n,a,i),t.whitespace===!0&&et.whitespace(t,o,n,a,i))}r(a)},wP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},SP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o===""&&(o=void 0),zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},kP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},$P=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),zt(o)||et.type(t,o,n,a,i)}r(a)},RP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},PP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},zP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o==null&&!t.required)return r();et.required(t,o,n,a,i,"array"),o!=null&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},TP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},BP="enum",MP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et[BP](t,o,n,a,i)}r(a)},OP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"string")&&!t.required)return r();et.required(t,o,n,a,i),zt(o,"string")||et.pattern(t,o,n,a,i)}r(a)},IP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"date")&&!t.required)return r();if(et.required(t,o,n,a,i),!zt(o,"date")){var s;o instanceof Date?s=o:s=new Date(o),et.type(t,s,n,a,i),s&&et.range(t,s.getTime(),n,a,i)}}r(a)},FP=function(t,o,r,n,i){var a=[],l=Array.isArray(o)?"array":typeof o;et.required(t,o,n,a,i,l),r(a)},ka=function(t,o,r,n,i){var a=t.type,l=[],s=t.required||!t.required&&n.hasOwnProperty(t.field);if(s){if(zt(o,a)&&!t.required)return r();et.required(t,o,n,l,i,a),zt(o,a)||et.type(t,o,n,l,i)}r(l)},EP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i)}r(a)},vn={string:yP,method:wP,number:SP,boolean:kP,regexp:$P,integer:RP,float:PP,array:zP,object:TP,enum:MP,pattern:OP,date:IP,url:ka,hex:ka,email:ka,required:FP,any:EP};function tl(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ol=tl(),Wr=function(){function e(o){this.rules=null,this._messages=ol,this.define(o)}var t=e.prototype;return t.define=function(r){var n=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var a=r[i];n.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=Hd(tl(),r)),this._messages},t.validate=function(r,n,i){var a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=r,s=n,d=i;if(typeof s=="function"&&(d=s,s={}),!this.rules||Object.keys(this.rules).length===0)return d&&d(null,l),Promise.resolve(l);function u(v){var m=[],b={};function C($){if(Array.isArray($)){var S;m=(S=m).concat.apply(S,$)}else m.push($)}for(var R=0;Re.size!==void 0?e.size:(t==null?void 0:t.props.size)!==void 0?t.props.size:"medium")}}function LP(e){const t=Te(Ln,null),o=T(()=>{const{labelPlacement:f}=e;return f!==void 0?f:t!=null&&t.props.labelPlacement?t.props.labelPlacement:"top"}),r=T(()=>o.value==="left"&&(e.labelWidth==="auto"||(t==null?void 0:t.props.labelWidth)==="auto")),n=T(()=>{if(o.value==="top")return;const{labelWidth:f}=e;if(f!==void 0&&f!=="auto")return mt(f);if(r.value){const v=t==null?void 0:t.maxChildLabelWidthRef.value;return v!==void 0?mt(v):void 0}if((t==null?void 0:t.props.labelWidth)!==void 0)return mt(t.props.labelWidth)}),i=T(()=>{const{labelAlign:f}=e;if(f)return f;if(t!=null&&t.props.labelAlign)return t.props.labelAlign}),a=T(()=>{var f;return[(f=e.labelProps)===null||f===void 0?void 0:f.style,e.labelStyle,{width:n.value}]}),l=T(()=>{const{showRequireMark:f}=e;return f!==void 0?f:t==null?void 0:t.props.showRequireMark}),s=T(()=>{const{requireMarkPlacement:f}=e;return f!==void 0?f:(t==null?void 0:t.props.requireMarkPlacement)||"right"}),d=E(!1),u=E(!1),h=T(()=>{const{validationStatus:f}=e;if(f!==void 0)return f;if(d.value)return"error";if(u.value)return"warning"}),p=T(()=>{const{showFeedback:f}=e;return f!==void 0?f:(t==null?void 0:t.props.showFeedback)!==void 0?t.props.showFeedback:!0}),g=T(()=>{const{showLabel:f}=e;return f!==void 0?f:(t==null?void 0:t.props.showLabel)!==void 0?t.props.showLabel:!0});return{validationErrored:d,validationWarned:u,mergedLabelStyle:a,mergedLabelPlacement:o,mergedLabelAlign:i,mergedShowRequireMark:l,mergedRequireMarkPlacement:s,mergedValidationStatus:h,mergedShowFeedback:p,mergedShowLabel:g,isAutoLabelWidth:r}}function _P(e){const t=Te(Ln,null),o=T(()=>{const{rulePath:a}=e;if(a!==void 0)return a;const{path:l}=e;if(l!==void 0)return l}),r=T(()=>{const a=[],{rule:l}=e;if(l!==void 0&&(Array.isArray(l)?a.push(...l):a.push(l)),t){const{rules:s}=t.props,{value:d}=o;if(s!==void 0&&d!==void 0){const u=kn(s,d);u!==void 0&&(Array.isArray(u)?a.push(...u):a.push(u))}}return a}),n=T(()=>r.value.some(a=>a.required)),i=T(()=>n.value||e.required);return{mergedRules:r,mergedRequired:i}}const{cubicBezierEaseInOut:Wd}=Ut;function DP({name:e="fade-down",fromOffset:t="-4px",enterDuration:o=".3s",leaveDuration:r=".3s",enterCubicBezier:n=Wd,leaveCubicBezier:i=Wd}={}){return[z(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0,transform:`translateY(${t})`}),z(`&.${e}-transition-enter-to, &.${e}-transition-leave-from`,{opacity:1,transform:"translateY(0)"}),z(`&.${e}-transition-leave-active`,{transition:`opacity ${r} ${i}, transform ${r} ${i}`}),z(`&.${e}-transition-enter-active`,{transition:`opacity ${o} ${n}, transform ${o} ${n}`})]}const HP=y("form-item",` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+o+"$)|(?:^"+n+"$)"),a=new RegExp("^"+o+"$"),l=new RegExp("^"+n+"$"),s=function($){return $&&$.exact?i:new RegExp("(?:"+t($)+o+t($)+")|(?:"+t($)+n+t($)+")","g")};s.v4=function(R){return R&&R.exact?a:new RegExp(""+t(R)+o+t(R),"g")},s.v6=function(R){return R&&R.exact?l:new RegExp(""+t(R)+n+t(R),"g")};var d="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",h=s.v4().source,p=s.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",f="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',C="(?:"+d+"|www\\.)"+u+"(?:localhost|"+h+"|"+p+"|"+g+f+v+")"+b+m;return Jn=new RegExp("(?:^"+C+"$)","i"),Jn},jd={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},dn={integer:function(t){return dn.number(t)&&parseInt(t,10)===t},float:function(t){return dn.number(t)&&!dn.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!dn.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(jd.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(xP())},hex:function(t){return typeof t=="string"&&!!t.match(jd.hex)}},CP=function(t,o,r,n,i){if(t.required&&o===void 0){Fh(t,o,r,n,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?dn[l](o)||n.push(jt(i.messages.types[l],t.fullField,t.type)):l&&typeof o!==t.type&&n.push(jt(i.messages.types[l],t.fullField,t.type))},yP=function(t,o,r,n,i){var a=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=o,h=null,p=typeof o=="number",g=typeof o=="string",f=Array.isArray(o);if(p?h="number":g?h="string":f&&(h="array"),!h)return!1;f&&(u=o.length),g&&(u=o.replace(d,"_").length),a?u!==t.len&&n.push(jt(i.messages[h].len,t.fullField,t.len)):l&&!s&&ut.max?n.push(jt(i.messages[h].max,t.fullField,t.max)):l&&s&&(ut.max)&&n.push(jt(i.messages[h].range,t.fullField,t.min,t.max))},Tr="enum",wP=function(t,o,r,n,i){t[Tr]=Array.isArray(t[Tr])?t[Tr]:[],t[Tr].indexOf(o)===-1&&n.push(jt(i.messages[Tr],t.fullField,t[Tr].join(", ")))},SP=function(t,o,r,n,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(o)||n.push(jt(i.messages.pattern.mismatch,t.fullField,o,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(o)||n.push(jt(i.messages.pattern.mismatch,t.fullField,o,t.pattern))}}},et={required:Fh,whitespace:bP,type:CP,range:yP,enum:wP,pattern:SP},kP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"string")&&!t.required)return r();et.required(t,o,n,a,i,"string"),zt(o,"string")||(et.type(t,o,n,a,i),et.range(t,o,n,a,i),et.pattern(t,o,n,a,i),t.whitespace===!0&&et.whitespace(t,o,n,a,i))}r(a)},$P=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},RP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o===""&&(o=void 0),zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},PP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},zP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),zt(o)||et.type(t,o,n,a,i)}r(a)},TP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},BP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},OP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(o==null&&!t.required)return r();et.required(t,o,n,a,i,"array"),o!=null&&(et.type(t,o,n,a,i),et.range(t,o,n,a,i))}r(a)},MP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et.type(t,o,n,a,i)}r(a)},IP="enum",FP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i),o!==void 0&&et[IP](t,o,n,a,i)}r(a)},EP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"string")&&!t.required)return r();et.required(t,o,n,a,i),zt(o,"string")||et.pattern(t,o,n,a,i)}r(a)},LP=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o,"date")&&!t.required)return r();if(et.required(t,o,n,a,i),!zt(o,"date")){var s;o instanceof Date?s=o:s=new Date(o),et.type(t,s,n,a,i),s&&et.range(t,s.getTime(),n,a,i)}}r(a)},AP=function(t,o,r,n,i){var a=[],l=Array.isArray(o)?"array":typeof o;et.required(t,o,n,a,i,l),r(a)},ka=function(t,o,r,n,i){var a=t.type,l=[],s=t.required||!t.required&&n.hasOwnProperty(t.field);if(s){if(zt(o,a)&&!t.required)return r();et.required(t,o,n,l,i,a),zt(o,a)||et.type(t,o,n,l,i)}r(l)},_P=function(t,o,r,n,i){var a=[],l=t.required||!t.required&&n.hasOwnProperty(t.field);if(l){if(zt(o)&&!t.required)return r();et.required(t,o,n,a,i)}r(a)},vn={string:kP,method:$P,number:RP,boolean:PP,regexp:zP,integer:TP,float:BP,array:OP,object:MP,enum:FP,pattern:EP,date:LP,url:ka,hex:ka,email:ka,required:AP,any:_P};function tl(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ol=tl(),Nr=function(){function e(o){this.rules=null,this._messages=ol,this.define(o)}var t=e.prototype;return t.define=function(r){var n=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var a=r[i];n.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=Nd(tl(),r)),this._messages},t.validate=function(r,n,i){var a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=r,s=n,d=i;if(typeof s=="function"&&(d=s,s={}),!this.rules||Object.keys(this.rules).length===0)return d&&d(null,l),Promise.resolve(l);function u(v){var b=[],m={};function C($){if(Array.isArray($)){var S;b=(S=b).concat.apply(S,$)}else b.push($)}for(var R=0;Re.size!==void 0?e.size:(t==null?void 0:t.props.size)!==void 0?t.props.size:"medium")}}function HP(e){const t=Te(An,null),o=T(()=>{const{labelPlacement:f}=e;return f!==void 0?f:t!=null&&t.props.labelPlacement?t.props.labelPlacement:"top"}),r=T(()=>o.value==="left"&&(e.labelWidth==="auto"||(t==null?void 0:t.props.labelWidth)==="auto")),n=T(()=>{if(o.value==="top")return;const{labelWidth:f}=e;if(f!==void 0&&f!=="auto")return bt(f);if(r.value){const v=t==null?void 0:t.maxChildLabelWidthRef.value;return v!==void 0?bt(v):void 0}if((t==null?void 0:t.props.labelWidth)!==void 0)return bt(t.props.labelWidth)}),i=T(()=>{const{labelAlign:f}=e;if(f)return f;if(t!=null&&t.props.labelAlign)return t.props.labelAlign}),a=T(()=>{var f;return[(f=e.labelProps)===null||f===void 0?void 0:f.style,e.labelStyle,{width:n.value}]}),l=T(()=>{const{showRequireMark:f}=e;return f!==void 0?f:t==null?void 0:t.props.showRequireMark}),s=T(()=>{const{requireMarkPlacement:f}=e;return f!==void 0?f:(t==null?void 0:t.props.requireMarkPlacement)||"right"}),d=E(!1),u=E(!1),h=T(()=>{const{validationStatus:f}=e;if(f!==void 0)return f;if(d.value)return"error";if(u.value)return"warning"}),p=T(()=>{const{showFeedback:f}=e;return f!==void 0?f:(t==null?void 0:t.props.showFeedback)!==void 0?t.props.showFeedback:!0}),g=T(()=>{const{showLabel:f}=e;return f!==void 0?f:(t==null?void 0:t.props.showLabel)!==void 0?t.props.showLabel:!0});return{validationErrored:d,validationWarned:u,mergedLabelStyle:a,mergedLabelPlacement:o,mergedLabelAlign:i,mergedShowRequireMark:l,mergedRequireMarkPlacement:s,mergedValidationStatus:h,mergedShowFeedback:p,mergedShowLabel:g,isAutoLabelWidth:r}}function WP(e){const t=Te(An,null),o=T(()=>{const{rulePath:a}=e;if(a!==void 0)return a;const{path:l}=e;if(l!==void 0)return l}),r=T(()=>{const a=[],{rule:l}=e;if(l!==void 0&&(Array.isArray(l)?a.push(...l):a.push(l)),t){const{rules:s}=t.props,{value:d}=o;if(s!==void 0&&d!==void 0){const u=kn(s,d);u!==void 0&&(Array.isArray(u)?a.push(...u):a.push(u))}}return a}),n=T(()=>r.value.some(a=>a.required)),i=T(()=>n.value||e.required);return{mergedRules:r,mergedRequired:i}}const{cubicBezierEaseInOut:Vd}=Ut;function NP({name:e="fade-down",fromOffset:t="-4px",enterDuration:o=".3s",leaveDuration:r=".3s",enterCubicBezier:n=Vd,leaveCubicBezier:i=Vd}={}){return[z(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0,transform:`translateY(${t})`}),z(`&.${e}-transition-enter-to, &.${e}-transition-leave-from`,{opacity:1,transform:"translateY(0)"}),z(`&.${e}-transition-leave-active`,{transition:`opacity ${r} ${i}, transform ${r} ${i}`}),z(`&.${e}-transition-enter-active`,{transition:`opacity ${o} ${n}, transform ${o} ${n}`})]}const jP=y("form-item",` display: grid; line-height: var(--n-line-height); `,[y("form-item-label",` @@ -2411,13 +2411,13 @@ ${t} transition: color .3s var(--n-bezier); box-sizing: border-box; font-weight: var(--n-label-font-weight); - `,[M("asterisk",` + `,[O("asterisk",` white-space: nowrap; user-select: none; -webkit-user-select: none; color: var(--n-asterisk-color); transition: color .3s var(--n-bezier); - `),M("asterisk-placeholder",` + `),O("asterisk-placeholder",` grid-area: mark; user-select: none; -webkit-user-select: none; @@ -2454,9 +2454,9 @@ ${t} grid-template-areas: "text mark" "text ."; - `),M("text",` + `),O("text",` grid-area: text; - `),M("asterisk",` + `),O("asterisk",` grid-area: mark; align-self: end; `)])]),B("top-labelled",` @@ -2489,7 +2489,7 @@ ${t} transform-origin: top left; `,[z("&:not(:empty)",` padding: var(--n-feedback-padding); - `),y("form-item-feedback",{transition:"color .3s var(--n-bezier)",color:"var(--n-feedback-text-color)"},[B("warning",{color:"var(--n-feedback-text-color-warning)"}),B("error",{color:"var(--n-feedback-text-color-error)"}),DP({fromOffset:"-3px",enterDuration:".3s",leaveDuration:".2s"})])])]);var Nd=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};const jP=Object.assign(Object.assign({},we.props),{label:String,labelWidth:[Number,String],labelStyle:[String,Object],labelAlign:String,labelPlacement:String,path:String,first:Boolean,rulePath:String,required:Boolean,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:void 0},rule:[Object,Array],size:String,ignorePathChange:Boolean,validationStatus:String,feedback:String,showLabel:{type:Boolean,default:void 0},labelProps:Object});function Vd(e,t){return(...o)=>{try{const r=e(...o);return!t&&(typeof r=="boolean"||r instanceof Error||Array.isArray(r))||r!=null&&r.then?r:(r===void 0||yo("form-item/validate",`You return a ${typeof r} typed value in the validator method, which is not recommended. Please use `+(t?"`Promise`":"`boolean`, `Error` or `Promise`")+" typed value instead."),!0)}catch(r){yo("form-item/validate","An error is catched in the validation, so the validation won't be done. Your callback in `validate` method of `n-form` or `n-form-item` won't be called in this validation."),console.error(r);return}}}const P8=ne({name:"FormItem",props:jP,setup(e){Yv(Oh,"formItems",he(e,"path"));const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=Te(Ln,null),n=AP(e),i=LP(e),{validationErrored:a,validationWarned:l}=i,{mergedRequired:s,mergedRules:d}=_P(e),{mergedSize:u}=n,{mergedLabelPlacement:h,mergedLabelAlign:p,mergedRequireMarkPlacement:g}=i,f=E([]),v=E(Vo()),m=r?he(r.props,"disabled"):E(!1),b=we("Form","-form-item",HP,Wl,e,t);Je(he(e,"path"),()=>{e.ignorePathChange||C()});function C(){f.value=[],a.value=!1,l.value=!1,e.feedback&&(v.value=Vo())}function R(){k("blur")}function $(){k("change")}function S(){k("focus")}function w(){k("input")}function x(H,_){return Nd(this,void 0,void 0,function*(){let U,N,te,fe;return typeof H=="string"?(U=H,N=_):H!==null&&typeof H=="object"&&(U=H.trigger,N=H.callback,te=H.shouldRuleBeApplied,fe=H.options),yield new Promise((ae,Y)=>{k(U,te,fe).then(({valid:j,errors:X,warnings:re})=>{j?(N&&N(void 0,{warnings:re}),ae({warnings:re})):(N&&N(X,{warnings:re}),Y(X))})})})}const k=(H=null,_=()=>!0,U={suppressWarning:!0})=>Nd(this,void 0,void 0,function*(){const{path:N}=e;U?U.first||(U.first=e.first):U={};const{value:te}=d,fe=r?kn(r.props.model,N||""):void 0,ae={},Y={},j=(H?te.filter($e=>Array.isArray($e.trigger)?$e.trigger.includes(H):$e.trigger===H):te).filter(_).map(($e,Oe)=>{const Z=Object.assign({},$e);if(Z.validator&&(Z.validator=Vd(Z.validator,!1)),Z.asyncValidator&&(Z.asyncValidator=Vd(Z.asyncValidator,!0)),Z.renderMessage){const ue=`__renderMessage__${Oe}`;Y[ue]=Z.message,Z.message=ue,ae[ue]=Z.renderMessage}return Z}),X=j.filter($e=>$e.level!=="warning"),re=j.filter($e=>$e.level==="warning"),le=N??"__n_no_path__",ge=new Wr({[le]:X}),me=new Wr({[le]:re}),{validateMessages:Ae}=(r==null?void 0:r.props)||{};Ae&&(ge.messages(Ae),me.messages(Ae));const q=$e=>{f.value=$e.map(Oe=>{const Z=(Oe==null?void 0:Oe.message)||"";return{key:Z,render:()=>Z.startsWith("__renderMessage__")?ae[Z]():Z}}),$e.forEach(Oe=>{var Z;!((Z=Oe.message)===null||Z===void 0)&&Z.startsWith("__renderMessage__")&&(Oe.message=Y[Oe.message])})},ve={valid:!0,errors:void 0,warnings:void 0};if(X.length){const $e=yield new Promise(Oe=>{ge.validate({[le]:fe},U,Oe)});$e!=null&&$e.length&&(a.value=!0,ve.valid=!1,ve.errors=$e,q($e))}if(re.length&&!ve.errors){const $e=yield new Promise(Oe=>{me.validate({[le]:fe},U,Oe)});$e!=null&&$e.length&&(q($e),l.value=!0,ve.warnings=$e)}return X.length+re.length>0&&!ve.errors&&!ve.warnings&&C(),ve});Ue(Aa,{path:he(e,"path"),disabled:m,mergedSize:n.mergedSize,mergedValidationStatus:i.mergedValidationStatus,restoreValidation:C,handleContentBlur:R,handleContentChange:$,handleContentFocus:S,handleContentInput:w});const P={validate:x,restoreValidation:C,internalValidate:k},I=E(null);gt(()=>{if(!i.isAutoLabelWidth.value)return;const H=I.value;if(H!==null){const _=H.style.whiteSpace;H.style.whiteSpace="nowrap",H.style.width="",r==null||r.deriveMaxChildLabelWidth(Number(getComputedStyle(H).width.slice(0,-2))),H.style.whiteSpace=_}});const A=T(()=>{var H;const{value:_}=u,{value:U}=h,N=U==="top"?"vertical":"horizontal",{common:{cubicBezierEaseInOut:te},self:{labelTextColor:fe,asteriskColor:ae,lineHeight:Y,feedbackTextColor:j,feedbackTextColorWarning:X,feedbackTextColorError:re,feedbackPadding:le,labelFontWeight:ge,[oe("labelHeight",_)]:me,[oe("blankHeight",_)]:Ae,[oe("feedbackFontSize",_)]:q,[oe("feedbackHeight",_)]:ve,[oe("labelPadding",N)]:$e,[oe("labelTextAlign",N)]:Oe,[oe(oe("labelFontSize",U),_)]:Z}}=b.value;let ue=(H=p.value)!==null&&H!==void 0?H:Oe;return U==="top"&&(ue=ue==="right"?"flex-end":"flex-start"),{"--n-bezier":te,"--n-line-height":Y,"--n-blank-height":Ae,"--n-label-font-size":Z,"--n-label-text-align":ue,"--n-label-height":me,"--n-label-padding":$e,"--n-label-font-weight":ge,"--n-asterisk-color":ae,"--n-label-text-color":fe,"--n-feedback-padding":le,"--n-feedback-font-size":q,"--n-feedback-height":ve,"--n-feedback-text-color":j,"--n-feedback-text-color-warning":X,"--n-feedback-text-color-error":re}}),O=o?Qe("form-item",T(()=>{var H;return`${u.value[0]}${h.value[0]}${((H=p.value)===null||H===void 0?void 0:H[0])||""}`}),A,e):void 0,L=T(()=>h.value==="left"&&g.value==="left"&&p.value==="left");return Object.assign(Object.assign(Object.assign(Object.assign({labelElementRef:I,mergedClsPrefix:t,mergedRequired:s,feedbackId:v,renderExplains:f,reverseColSpace:L},i),n),P),{cssVars:o?void 0:A,themeClass:O==null?void 0:O.themeClass,onRender:O==null?void 0:O.onRender})},render(){const{$slots:e,mergedClsPrefix:t,mergedShowLabel:o,mergedShowRequireMark:r,mergedRequireMarkPlacement:n,onRender:i}=this,a=r!==void 0?r:this.mergedRequired;i==null||i();const l=()=>{const s=this.$slots.label?this.$slots.label():this.label;if(!s)return null;const d=c("span",{class:`${t}-form-item-label__text`},s),u=a?c("span",{class:`${t}-form-item-label__asterisk`},n!=="left"?" *":"* "):n==="right-hanging"&&c("span",{class:`${t}-form-item-label__asterisk-placeholder`}," *"),{labelProps:h}=this;return c("label",Object.assign({},h,{class:[h==null?void 0:h.class,`${t}-form-item-label`,`${t}-form-item-label--${n}-mark`,this.reverseColSpace&&`${t}-form-item-label--reverse-columns-space`],style:this.mergedLabelStyle,ref:"labelElementRef"}),n==="left"?[u,d]:[d,u])};return c("div",{class:[`${t}-form-item`,this.themeClass,`${t}-form-item--${this.mergedSize}-size`,`${t}-form-item--${this.mergedLabelPlacement}-labelled`,this.isAutoLabelWidth&&`${t}-form-item--auto-label-width`,!o&&`${t}-form-item--no-label`],style:this.cssVars},o&&l(),c("div",{class:[`${t}-form-item-blank`,this.mergedValidationStatus&&`${t}-form-item-blank--${this.mergedValidationStatus}`]},e),this.mergedShowFeedback?c("div",{key:this.feedbackId,class:`${t}-form-item-feedback-wrapper`},c(kt,{name:"fade-down-transition",mode:"out-in"},{default:()=>{const{mergedValidationStatus:s}=this;return Ze(e.feedback,d=>{var u;const{feedback:h}=this,p=d||h?c("div",{key:"__feedback__",class:`${t}-form-item-feedback__line`},d||h):this.renderExplains.length?(u=this.renderExplains)===null||u===void 0?void 0:u.map(({key:g,render:f})=>c("div",{key:g,class:`${t}-form-item-feedback__line`},f())):null;return p?s==="warning"?c("div",{key:"controlled-warning",class:`${t}-form-item-feedback ${t}-form-item-feedback--warning`},p):s==="error"?c("div",{key:"controlled-error",class:`${t}-form-item-feedback ${t}-form-item-feedback--error`},p):s==="success"?c("div",{key:"controlled-success",class:`${t}-form-item-feedback ${t}-form-item-feedback--success`},p):c("div",{key:"controlled-default",class:`${t}-form-item-feedback`},p):null})}})):null)}}),Ud=1,Fh="n-grid",Eh=1,WP={span:{type:[Number,String],default:Eh},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},z8=ne({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:WP,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:o,overflowRef:r,layoutShiftDisabledRef:n}=Te(Fh),i=Nr();return{overflow:r,itemStyle:o,layoutShiftDisabled:n,mergedXGap:T(()=>St(t.value||0)),deriveStyle:()=>{e.value;const{privateSpan:a=Eh,privateShow:l=!0,privateColStart:s=void 0,privateOffset:d=0}=i.vnode.props,{value:u}=t,h=St(u||0);return{display:l?"":"none",gridColumn:`${s??`span ${a}`} / span ${a}`,marginLeft:d?`calc((100% - (${a} - 1) * ${h}) / ${a} * ${d} + ${h} * ${d})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:o,offset:r,mergedXGap:n}=this;return c("div",{style:{gridColumn:`span ${o} / span ${o}`,marginLeft:r?`calc((100% - (${o} - 1) * ${n}) / ${o} * ${r} + ${n} * ${r})`:""}},this.$slots)}return c("div",{style:[this.itemStyle,this.deriveStyle()]},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e,{overflow:this.overflow}))}}),NP={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},Ah=e=>{const{textColor2:t,successColor:o,infoColor:r,warningColor:n,errorColor:i,popoverColor:a,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeColorHover:u,closeColorPressed:h,textColor1:p,textColor3:g,borderRadius:f,fontWeightStrong:v,boxShadow2:m,lineHeight:b,fontSize:C}=e;return Object.assign(Object.assign({},NP),{borderRadius:f,lineHeight:b,fontSize:C,headerFontWeight:v,iconColor:t,iconColorSuccess:o,iconColorInfo:r,iconColorWarning:n,iconColorError:i,color:a,textColor:t,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeBorderRadius:f,closeColorHover:u,closeColorPressed:h,headerTextColor:p,descriptionTextColor:g,actionTextColor:t,boxShadow:m})},VP={name:"Notification",common:xe,peers:{Scrollbar:Et},self:Ah},Lh=VP,UP={name:"Notification",common:ke,peers:{Scrollbar:Dt},self:Ah},KP=UP,qP={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},_h=e=>{const{textColor2:t,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:n,infoColor:i,successColor:a,errorColor:l,warningColor:s,popoverColor:d,boxShadow2:u,primaryColor:h,lineHeight:p,borderRadius:g,closeColorHover:f,closeColorPressed:v}=e;return Object.assign(Object.assign({},qP),{closeBorderRadius:g,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:d,colorInfo:d,colorSuccess:d,colorError:d,colorWarning:d,colorLoading:d,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:s,iconColorError:l,iconColorLoading:h,closeColorHover:f,closeColorPressed:v,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:n,closeColorHoverInfo:f,closeColorPressedInfo:v,closeIconColorInfo:o,closeIconColorHoverInfo:r,closeIconColorPressedInfo:n,closeColorHoverSuccess:f,closeColorPressedSuccess:v,closeIconColorSuccess:o,closeIconColorHoverSuccess:r,closeIconColorPressedSuccess:n,closeColorHoverError:f,closeColorPressedError:v,closeIconColorError:o,closeIconColorHoverError:r,closeIconColorPressedError:n,closeColorHoverWarning:f,closeColorPressedWarning:v,closeIconColorWarning:o,closeIconColorHoverWarning:r,closeIconColorPressedWarning:n,closeColorHoverLoading:f,closeColorPressedLoading:v,closeIconColorLoading:o,closeIconColorHoverLoading:r,closeIconColorPressedLoading:n,loadingColor:h,lineHeight:p,borderRadius:g})},GP={name:"Message",common:xe,self:_h},Dh=GP,XP={name:"Message",common:ke,self:_h},YP=XP,ZP={name:"ButtonGroup",common:ke},JP=ZP,QP={name:"ButtonGroup",common:xe},ez=QP,tz={name:"GradientText",common:ke,self(e){const{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,primaryColorSuppl:a,successColorSuppl:l,warningColorSuppl:s,errorColorSuppl:d,infoColorSuppl:u,fontWeightStrong:h}=e;return{fontWeight:h,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:r,colorEndWarning:s,colorStartError:n,colorEndError:d,colorStartSuccess:o,colorEndSuccess:l}}},oz=tz,rz=e=>{const{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,fontWeightStrong:a}=e;return{fontWeight:a,rotate:"252deg",colorStartPrimary:se(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:se(i,{alpha:.6}),colorEndInfo:i,colorStartWarning:se(r,{alpha:.6}),colorEndWarning:r,colorStartError:se(n,{alpha:.6}),colorEndError:n,colorStartSuccess:se(o,{alpha:.6}),colorEndSuccess:o}},nz={name:"GradientText",common:xe,self:rz},iz=nz,az={name:"InputNumber",common:ke,peers:{Button:jt,Input:Jt},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},lz=az,sz=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},dz={name:"InputNumber",common:xe,peers:{Button:At,Input:Ht},self:sz},Hh=dz,cz={name:"Layout",common:ke,peers:{Scrollbar:Dt},self(e){const{textColor2:t,bodyColor:o,popoverColor:r,cardColor:n,dividerColor:i,scrollbarColor:a,scrollbarColorHover:l}=e;return{textColor:t,textColorInverted:t,color:o,colorEmbedded:o,headerColor:n,headerColorInverted:n,footerColor:n,footerColorInverted:n,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:n,siderColorInverted:n,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:r,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Ee(o,a),siderToggleBarColorHover:Ee(o,l),__invertScrollbar:"false"}}},uz=cz,fz=e=>{const{baseColor:t,textColor2:o,bodyColor:r,cardColor:n,dividerColor:i,actionColor:a,scrollbarColor:l,scrollbarColorHover:s,invertedColor:d}=e;return{textColor:o,textColorInverted:"#FFF",color:r,colorEmbedded:a,headerColor:n,headerColorInverted:d,footerColor:a,footerColorInverted:d,headerBorderColor:i,headerBorderColorInverted:d,footerBorderColor:i,footerBorderColorInverted:d,siderBorderColor:i,siderBorderColorInverted:d,siderColor:n,siderColorInverted:d,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:o,siderToggleButtonIconColorInverted:o,siderToggleBarColor:Ee(r,l),siderToggleBarColorHover:Ee(r,s),__invertScrollbar:"true"}},hz={name:"Layout",common:xe,peers:{Scrollbar:Et},self:fz},Nl=hz,jh=e=>{const{textColor2:t,cardColor:o,modalColor:r,popoverColor:n,dividerColor:i,borderRadius:a,fontSize:l,hoverColor:s}=e;return{textColor:t,color:o,colorHover:s,colorModal:r,colorHoverModal:Ee(r,s),colorPopover:n,colorHoverPopover:Ee(n,s),borderColor:i,borderColorModal:Ee(r,i),borderColorPopover:Ee(n,i),borderRadius:a,fontSize:l}},pz={name:"List",common:xe,self:jh},vz=pz,gz={name:"List",common:ke,self:jh},bz=gz,mz={name:"LoadingBar",common:ke,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},xz=mz,Cz=e=>{const{primaryColor:t,errorColor:o}=e;return{colorError:o,colorLoading:t,height:"2px"}},yz={name:"LoadingBar",common:xe,self:Cz},Wh=yz,wz={name:"Log",common:ke,peers:{Scrollbar:Dt,Code:Tf},self(e){const{textColor2:t,inputColor:o,fontSize:r,primaryColor:n}=e;return{loaderFontSize:r,loaderTextColor:t,loaderColor:o,loaderBorder:"1px solid #0000",loadingColor:n}}},Sz=wz,kz=e=>{const{textColor2:t,modalColor:o,borderColor:r,fontSize:n,primaryColor:i}=e;return{loaderFontSize:n,loaderTextColor:t,loaderColor:o,loaderBorder:`1px solid ${r}`,loadingColor:i}},$z={name:"Log",common:xe,peers:{Scrollbar:Et,Code:Bf},self:kz},Rz=$z,Pz={name:"Mention",common:ke,peers:{InternalSelectMenu:En,Input:Jt},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},zz=Pz,Tz=e=>{const{boxShadow2:t}=e;return{menuBoxShadow:t}},Bz={name:"Mention",common:xe,peers:{InternalSelectMenu:Xr,Input:Ht},self:Tz},Mz=Bz;function Oz(e,t,o,r){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:o,itemTextColorChildActiveInverted:o,itemTextColorChildActiveHoverInverted:o,itemTextColorActiveInverted:o,itemTextColorActiveHoverInverted:o,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:o,itemTextColorChildActiveHorizontalInverted:o,itemTextColorChildActiveHoverHorizontalInverted:o,itemTextColorActiveHorizontalInverted:o,itemTextColorActiveHoverHorizontalInverted:o,itemIconColorInverted:e,itemIconColorHoverInverted:o,itemIconColorActiveInverted:o,itemIconColorActiveHoverInverted:o,itemIconColorChildActiveInverted:o,itemIconColorChildActiveHoverInverted:o,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:o,itemIconColorActiveHorizontalInverted:o,itemIconColorActiveHoverHorizontalInverted:o,itemIconColorChildActiveHorizontalInverted:o,itemIconColorChildActiveHoverHorizontalInverted:o,arrowColorInverted:e,arrowColorHoverInverted:o,arrowColorActiveInverted:o,arrowColorActiveHoverInverted:o,arrowColorChildActiveInverted:o,arrowColorChildActiveHoverInverted:o,groupTextColorInverted:r}}const Nh=e=>{const{borderRadius:t,textColor3:o,primaryColor:r,textColor2:n,textColor1:i,fontSize:a,dividerColor:l,hoverColor:s,primaryColorHover:d}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:o,itemColorHover:s,itemColorActive:se(r,{alpha:.1}),itemColorActiveHover:se(r,{alpha:.1}),itemColorActiveCollapsed:se(r,{alpha:.1}),itemTextColor:n,itemTextColorHover:n,itemTextColorActive:r,itemTextColorActiveHover:r,itemTextColorChildActive:r,itemTextColorChildActiveHover:r,itemTextColorHorizontal:n,itemTextColorHoverHorizontal:d,itemTextColorActiveHorizontal:r,itemTextColorActiveHoverHorizontal:r,itemTextColorChildActiveHorizontal:r,itemTextColorChildActiveHoverHorizontal:r,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:r,itemIconColorActiveHover:r,itemIconColorChildActive:r,itemIconColorChildActiveHover:r,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:d,itemIconColorActiveHorizontal:r,itemIconColorActiveHoverHorizontal:r,itemIconColorChildActiveHorizontal:r,itemIconColorChildActiveHoverHorizontal:r,itemHeight:"42px",arrowColor:n,arrowColorHover:n,arrowColorActive:r,arrowColorActiveHover:r,arrowColorChildActive:r,arrowColorChildActiveHover:r,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:l},Oz("#BBB",r,"#FFF","#AAA"))},Iz={name:"Menu",common:xe,peers:{Tooltip:An,Dropdown:ji},self:Nh},Fz=Iz,Ez={name:"Menu",common:ke,peers:{Tooltip:Di,Dropdown:Al},self(e){const{primaryColor:t,primaryColorSuppl:o}=e,r=Nh(e);return r.itemColorActive=se(t,{alpha:.15}),r.itemColorActiveHover=se(t,{alpha:.15}),r.itemColorActiveCollapsed=se(t,{alpha:.15}),r.itemColorActiveInverted=o,r.itemColorActiveHoverInverted=o,r.itemColorActiveCollapsedInverted=o,r}},Az=Ez,Lz={titleFontSize:"18px",backSize:"22px"};function Vh(e){const{textColor1:t,textColor2:o,textColor3:r,fontSize:n,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:l}=e;return Object.assign(Object.assign({},Lz),{titleFontWeight:i,fontSize:n,titleTextColor:t,backColor:o,backColorHover:a,backColorPressed:l,subtitleTextColor:r})}const _z={name:"PageHeader",common:xe,self:Vh},Dz={name:"PageHeader",common:ke,self:Vh},Hz={iconSize:"22px"},Uh=e=>{const{fontSize:t,warningColor:o}=e;return Object.assign(Object.assign({},Hz),{fontSize:t,iconColor:o})},jz={name:"Popconfirm",common:xe,peers:{Button:At,Popover:Zo},self:Uh},Kh=jz,Wz={name:"Popconfirm",common:ke,peers:{Button:jt,Popover:Cr},self:Uh},Nz=Wz,qh=e=>{const{infoColor:t,successColor:o,warningColor:r,errorColor:n,textColor2:i,progressRailColor:a,fontSize:l,fontWeight:s}=e;return{fontSize:l,fontSizeCircle:"28px",fontWeightCircle:s,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:o,iconColorWarning:r,iconColorError:n,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:o,fillColorWarning:r,fillColorError:n,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},Vz={name:"Progress",common:xe,self:qh},Gh=Vz,Uz={name:"Progress",common:ke,self(e){const t=qh(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},Xh=Uz,Kz={name:"Rate",common:ke,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},qz=Kz,Gz=e=>{const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}},Xz={name:"Rate",common:xe,self:Gz},Yz=Xz,Zz={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},Yh=e=>{const{textColor2:t,textColor1:o,errorColor:r,successColor:n,infoColor:i,warningColor:a,lineHeight:l,fontWeightStrong:s}=e;return Object.assign(Object.assign({},Zz),{lineHeight:l,titleFontWeight:s,titleTextColor:o,textColor:t,iconColorError:r,iconColorSuccess:n,iconColorInfo:i,iconColorWarning:a})},Jz={name:"Result",common:xe,self:Yh},Zh=Jz,Qz={name:"Result",common:ke,self:Yh},e4=Qz,Jh={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},t4={name:"Slider",common:ke,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:o,modalColor:r,primaryColorSuppl:n,popoverColor:i,textColor2:a,cardColor:l,borderRadius:s,fontSize:d,opacityDisabled:u}=e;return Object.assign(Object.assign({},Jh),{fontSize:d,markFontSize:d,railColor:o,railColorHover:o,fillColor:n,fillColorHover:n,opacityDisabled:u,handleColor:"#FFF",dotColor:l,dotColorModal:r,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:s,dotBorder:`2px solid ${o}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}},o4=t4,r4=e=>{const t="rgba(0, 0, 0, .85)",o="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,primaryColor:n,baseColor:i,cardColor:a,modalColor:l,popoverColor:s,borderRadius:d,fontSize:u,opacityDisabled:h}=e;return Object.assign(Object.assign({},Jh),{fontSize:u,markFontSize:u,railColor:r,railColorHover:r,fillColor:n,fillColorHover:n,opacityDisabled:h,handleColor:"#FFF",dotColor:a,dotColorModal:l,dotColorPopover:s,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:o,indicatorTextColor:i,indicatorBorderRadius:d,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})},n4={name:"Slider",common:xe,self:r4},Qh=n4,ep=e=>{const{opacityDisabled:t,heightTiny:o,heightSmall:r,heightMedium:n,heightLarge:i,heightHuge:a,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:o,sizeSmall:r,sizeMedium:n,sizeLarge:i,sizeHuge:a,color:l,opacitySpinning:t}},i4={name:"Spin",common:xe,self:ep},tp=i4,a4={name:"Spin",common:ke,self:ep},l4=a4,op=e=>{const{textColor2:t,textColor3:o,fontSize:r,fontWeight:n}=e;return{labelFontSize:r,labelFontWeight:n,valueFontWeight:n,valueFontSize:"24px",labelTextColor:o,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},s4={name:"Statistic",common:xe,self:op},d4=s4,c4={name:"Statistic",common:ke,self:op},u4=c4,f4={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},rp=e=>{const{fontWeightStrong:t,baseColor:o,textColorDisabled:r,primaryColor:n,errorColor:i,textColor1:a,textColor2:l}=e;return Object.assign(Object.assign({},f4),{stepHeaderFontWeight:t,indicatorTextColorProcess:o,indicatorTextColorWait:r,indicatorTextColorFinish:n,indicatorTextColorError:i,indicatorBorderColorProcess:n,indicatorBorderColorWait:r,indicatorBorderColorFinish:n,indicatorBorderColorError:i,indicatorColorProcess:n,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:r,splitorColorWait:r,splitorColorFinish:n,splitorColorError:r,headerTextColorProcess:a,headerTextColorWait:r,headerTextColorFinish:r,headerTextColorError:i,descriptionTextColorProcess:l,descriptionTextColorWait:r,descriptionTextColorFinish:r,descriptionTextColorError:i})},h4={name:"Steps",common:xe,self:rp},p4=h4,v4={name:"Steps",common:ke,self:rp},g4=v4,np={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},b4={name:"Switch",common:ke,self(e){const{primaryColorSuppl:t,opacityDisabled:o,borderRadius:r,primaryColor:n,textColor2:i,baseColor:a}=e,l="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},np),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:o,railColor:l,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 8px 0 ${se(n,{alpha:.3})}`})}},m4=b4,x4=e=>{const{primaryColor:t,opacityDisabled:o,borderRadius:r,textColor3:n}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},np),{iconColor:n,textColor:"white",loadingColor:t,opacityDisabled:o,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 0 2px ${se(t,{alpha:.2})}`})},C4={name:"Switch",common:xe,self:x4},ip=C4,y4={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},ap=e=>{const{dividerColor:t,cardColor:o,modalColor:r,popoverColor:n,tableHeaderColor:i,tableColorStriped:a,textColor1:l,textColor2:s,borderRadius:d,fontWeightStrong:u,lineHeight:h,fontSizeSmall:p,fontSizeMedium:g,fontSizeLarge:f}=e;return Object.assign(Object.assign({},y4),{fontSizeSmall:p,fontSizeMedium:g,fontSizeLarge:f,lineHeight:h,borderRadius:d,borderColor:Ee(o,t),borderColorModal:Ee(r,t),borderColorPopover:Ee(n,t),tdColor:o,tdColorModal:r,tdColorPopover:n,tdColorStriped:Ee(o,a),tdColorStripedModal:Ee(r,a),tdColorStripedPopover:Ee(n,a),thColor:Ee(o,i),thColorModal:Ee(r,i),thColorPopover:Ee(n,i),thTextColor:l,tdTextColor:s,thFontWeight:u})},w4={name:"Table",common:xe,self:ap},S4=w4,k4={name:"Table",common:ke,self:ap},$4=k4,R4={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},lp=e=>{const{textColor2:t,primaryColor:o,textColorDisabled:r,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,tabColor:d,baseColor:u,dividerColor:h,fontWeight:p,textColor1:g,borderRadius:f,fontSize:v,fontWeightStrong:m}=e;return Object.assign(Object.assign({},R4),{colorSegment:d,tabFontSizeCard:v,tabTextColorLine:g,tabTextColorActiveLine:o,tabTextColorHoverLine:o,tabTextColorDisabledLine:r,tabTextColorSegment:g,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:r,tabTextColorBar:g,tabTextColorActiveBar:o,tabTextColorHoverBar:o,tabTextColorDisabledBar:r,tabTextColorCard:g,tabTextColorHoverCard:g,tabTextColorActiveCard:o,tabTextColorDisabledCard:r,barColor:o,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,closeBorderRadius:f,tabColor:d,tabColorSegment:u,tabBorderColor:h,tabFontWeightActive:p,tabFontWeight:p,tabBorderRadius:f,paneTextColor:t,fontWeightStrong:m})},P4={name:"Tabs",common:xe,self:lp},sp=P4,z4={name:"Tabs",common:ke,self(e){const t=lp(e),{inputColor:o}=e;return t.colorSegment=o,t.tabColorSegment=o,t}},T4=z4,dp=e=>{const{textColor1:t,textColor2:o,fontWeightStrong:r,fontSize:n}=e;return{fontSize:n,titleTextColor:t,textColor:o,titleFontWeight:r}},B4={name:"Thing",common:xe,self:dp},M4=B4,O4={name:"Thing",common:ke,self:dp},I4=O4,cp={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},F4={name:"Timeline",common:ke,self(e){const{textColor3:t,infoColorSuppl:o,errorColorSuppl:r,successColorSuppl:n,warningColorSuppl:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:u}=e;return Object.assign(Object.assign({},cp),{contentFontSize:u,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})}},E4=F4,A4=e=>{const{textColor3:t,infoColor:o,errorColor:r,successColor:n,warningColor:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:u}=e;return Object.assign(Object.assign({},cp),{contentFontSize:u,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})},L4={name:"Timeline",common:xe,self:A4},_4=L4,up={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},D4={name:"Transfer",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Input:Jt,Empty:xr,Button:jt},self(e){const{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,inputColor:s,tableHeaderColor:d,textColor1:u,textColorDisabled:h,textColor2:p,textColor3:g,hoverColor:f,closeColorHover:v,closeColorPressed:m,closeIconColor:b,closeIconColorHover:C,closeIconColorPressed:R,dividerColor:$}=e;return Object.assign(Object.assign({},up),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:$,borderColor:"#0000",listColor:s,headerColor:d,titleTextColor:u,titleTextColorDisabled:h,extraTextColor:g,extraTextColorDisabled:h,itemTextColor:p,itemTextColorDisabled:h,itemColorPending:f,titleFontWeight:t,closeColorHover:v,closeColorPressed:m,closeIconColor:b,closeIconColorHover:C,closeIconColorPressed:R})}},H4=D4,j4=e=>{const{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,cardColor:s,tableHeaderColor:d,textColor1:u,textColorDisabled:h,textColor2:p,textColor3:g,borderColor:f,hoverColor:v,closeColorHover:m,closeColorPressed:b,closeIconColor:C,closeIconColorHover:R,closeIconColorPressed:$}=e;return Object.assign(Object.assign({},up),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:f,borderColor:f,listColor:s,headerColor:Ee(s,d),titleTextColor:u,titleTextColorDisabled:h,extraTextColor:g,extraTextColorDisabled:h,itemTextColor:p,itemTextColorDisabled:h,itemColorPending:v,titleFontWeight:t,closeColorHover:m,closeColorPressed:b,closeIconColor:C,closeIconColorHover:R,closeIconColorPressed:$})},W4={name:"Transfer",common:xe,peers:{Checkbox:yr,Scrollbar:Et,Input:Ht,Empty:$o,Button:At},self:j4},N4=W4,fp=e=>{const{borderRadiusSmall:t,dividerColor:o,hoverColor:r,pressedColor:n,primaryColor:i,textColor3:a,textColor2:l,textColorDisabled:s,fontSize:d}=e;return{fontSize:d,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:r,nodeColorPressed:n,nodeColorActive:se(i,{alpha:.1}),arrowColor:a,nodeTextColor:l,nodeTextColorDisabled:s,loadingColor:i,dropMarkColor:i,lineColor:o}},V4={name:"Tree",common:xe,peers:{Checkbox:yr,Scrollbar:Et,Empty:$o},self:fp},hp=V4,U4={name:"Tree",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Empty:xr},self(e){const{primaryColor:t}=e,o=fp(e);return o.nodeColorActive=se(t,{alpha:.15}),o}},pp=U4,K4={name:"TreeSelect",common:ke,peers:{Tree:pp,Empty:xr,InternalSelection:Pl}},q4=K4,G4=e=>{const{popoverColor:t,boxShadow2:o,borderRadius:r,heightMedium:n,dividerColor:i,textColor2:a}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:o,menuBorderRadius:r,menuHeight:`calc(${n} * 7.6)`,actionDividerColor:i,actionTextColor:a,actionPadding:"8px 12px"}},X4={name:"TreeSelect",common:xe,peers:{Tree:hp,Empty:$o,InternalSelection:Li},self:G4},Y4=X4,Z4={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},vp=e=>{const{primaryColor:t,textColor2:o,borderColor:r,lineHeight:n,fontSize:i,borderRadiusSmall:a,dividerColor:l,fontWeightStrong:s,textColor1:d,textColor3:u,infoColor:h,warningColor:p,errorColor:g,successColor:f,codeColor:v}=e;return Object.assign(Object.assign({},Z4),{aTextColor:t,blockquoteTextColor:o,blockquotePrefixColor:r,blockquoteLineHeight:n,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:o,liLineHeight:n,liFontSize:i,hrColor:l,headerFontWeight:s,headerTextColor:d,pTextColor:o,pTextColor1Depth:d,pTextColor2Depth:o,pTextColor3Depth:u,pLineHeight:n,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:h,headerBarColorError:g,headerBarColorWarning:p,headerBarColorSuccess:f,textColor:o,textColor1Depth:d,textColor2Depth:o,textColor3Depth:u,textColorPrimary:t,textColorInfo:h,textColorSuccess:f,textColorWarning:p,textColorError:g,codeTextColor:o,codeColor:v,codeBorder:"1px solid #0000"})},J4={name:"Typography",common:xe,self:vp},Q4=J4,eT={name:"Typography",common:ke,self:vp},tT=eT,gp=e=>{const{iconColor:t,primaryColor:o,errorColor:r,textColor2:n,successColor:i,opacityDisabled:a,actionColor:l,borderColor:s,hoverColor:d,lineHeight:u,borderRadius:h,fontSize:p}=e;return{fontSize:p,lineHeight:u,borderRadius:h,draggerColor:l,draggerBorder:`1px dashed ${s}`,draggerBorderHover:`1px dashed ${o}`,itemColorHover:d,itemColorHoverError:se(r,{alpha:.06}),itemTextColor:n,itemTextColorError:r,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${r}`,itemBorderImageCard:`1px solid ${s}`}},oT={name:"Upload",common:xe,peers:{Button:At,Progress:Gh},self:gp},rT=oT,nT={name:"Upload",common:ke,peers:{Button:jt,Progress:Xh},self(e){const{errorColor:t}=e,o=gp(e);return o.itemColorHoverError=se(t,{alpha:.09}),o}},iT=nT,aT={name:"Watermark",common:ke,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},lT=aT,sT={name:"Watermark",common:xe,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},dT=sT,cT={name:"Row",common:xe},uT=cT,fT={name:"Row",common:ke},hT=fT,pT=e=>{const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}},vT={name:"FloatButtonGroup",common:xe,self:pT},gT=vT,bT={name:"FloatButton",common:ke,self(e){const{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,baseColor:s,borderRadius:d}=e;return{color:t,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColorPrimary:s,borderRadiusSquare:d}}},mT=bT,xT=e=>{const{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,borderRadius:s}=e;return{color:t,colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .16)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .24)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .24)",textColorPrimary:"#fff",borderRadiusSquare:s}},CT={name:"FloatButton",common:xe,self:xT},yT=CT,T8=ne({name:"GlobalStyle",setup(){if(typeof document>"u")return;const e=Te(lo,null),{body:t}=document,{style:o}=t;let r=!1,n=!0;Fo(()=>{vt(()=>{var i,a;const{textColor2:l,fontSize:s,fontFamily:d,bodyColor:u,cubicBezierEaseInOut:h,lineHeight:p}=e?Mr({},((i=e.mergedThemeRef.value)===null||i===void 0?void 0:i.common)||xe,(a=e.mergedThemeOverridesRef.value)===null||a===void 0?void 0:a.common):xe;if(r||!t.hasAttribute("n-styled")){o.setProperty("-webkit-text-size-adjust","100%"),o.setProperty("-webkit-tap-highlight-color","transparent"),o.padding="0",o.margin="0",o.backgroundColor=u,o.color=l,o.fontSize=s,o.fontFamily=d,o.lineHeight=p;const g=`color .3s ${h}, background-color .3s ${h}`;n?setTimeout(()=>{o.transition=g},0):o.transition=g,t.setAttribute("n-styled",""),r=!0,n=!1}})}),ic(()=>{r&&t.removeAttribute("n-styled")})},render(){return null}}),wT={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},bp=24,$a="__ssr__",ST={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:bp},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},B8=ne({name:"Grid",inheritAttrs:!1,props:ST,setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:o}=He(e),r=/^\d+$/,n=E(void 0),i=hg((o==null?void 0:o.value)||wT),a=Ye(()=>!!(e.itemResponsive||!r.test(e.cols.toString())||!r.test(e.xGap.toString())||!r.test(e.yGap.toString()))),l=T(()=>{if(a.value)return e.responsive==="self"?n.value:i.value}),s=Ye(()=>{var b;return(b=Number(wr(e.cols.toString(),l.value)))!==null&&b!==void 0?b:bp}),d=Ye(()=>wr(e.xGap.toString(),l.value)),u=Ye(()=>wr(e.yGap.toString(),l.value)),h=b=>{n.value=b.contentRect.width},p=b=>{Ar(h,b)},g=E(!1),f=T(()=>{if(e.responsive==="self")return p}),v=E(!1),m=E();return gt(()=>{const{value:b}=m;b&&b.hasAttribute($a)&&(b.removeAttribute($a),v.value=!0)}),Ue(Fh,{layoutShiftDisabledRef:he(e,"layoutShiftDisabled"),isSsrRef:v,itemStyleRef:he(e,"itemStyle"),xGapRef:d,overflowRef:g}),{isSsr:!Eo,contentEl:m,mergedClsPrefix:t,style:T(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:St(e.xGap),rowGap:St(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${s.value}, minmax(0, 1fr))`,columnGap:St(d.value),rowGap:St(u.value)}),isResponsive:a,responsiveQuery:l,responsiveCols:s,handleResize:f,overflow:g}},render(){if(this.layoutShiftDisabled)return c("div",Ft({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var t,o,r,n,i,a,l;this.overflow=!1;const s=Oo(il(this)),d=[],{collapsed:u,collapsedRows:h,responsiveCols:p,responsiveQuery:g}=this;s.forEach(C=>{var R,$,S,w,x;if(((R=C==null?void 0:C.type)===null||R===void 0?void 0:R.__GRID_ITEM__)!==!0)return;if($v(C)){const I=gn(C);I.props?I.props.privateShow=!1:I.props={privateShow:!1},d.push({child:I,rawChildSpan:0});return}C.dirs=(($=C.dirs)===null||$===void 0?void 0:$.filter(({dir:I})=>I!==ao))||null,((S=C.dirs)===null||S===void 0?void 0:S.length)===0&&(C.dirs=null);const k=gn(C),P=Number((x=wr((w=k.props)===null||w===void 0?void 0:w.span,g))!==null&&x!==void 0?x:Ud);P!==0&&d.push({child:k,rawChildSpan:P})});let f=0;const v=(t=d[d.length-1])===null||t===void 0?void 0:t.child;if(v!=null&&v.props){const C=(o=v.props)===null||o===void 0?void 0:o.suffix;C!==void 0&&C!==!1&&(f=Number((n=wr((r=v.props)===null||r===void 0?void 0:r.span,g))!==null&&n!==void 0?n:Ud),v.props.privateSpan=f,v.props.privateColStart=p+1-f,v.props.privateShow=(i=v.props.privateShow)!==null&&i!==void 0?i:!0)}let m=0,b=!1;for(const{child:C,rawChildSpan:R}of d){if(b&&(this.overflow=!0),!b){const $=Number((l=wr((a=C.props)===null||a===void 0?void 0:a.offset,g))!==null&&l!==void 0?l:0),S=Math.min(R+$,p);if(C.props?(C.props.privateSpan=S,C.props.privateOffset=$):C.props={privateSpan:S,privateOffset:$},u){const w=m%p;S+w>p&&(m+=p-w),S+m+f>h*p?b=!0:m+=S}}b&&(C.props?C.props.privateShow!==!0&&(C.props.privateShow=!1):C.props={privateShow:!1})}return c("div",Ft({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[$a]:this.isSsr||void 0},this.$attrs),d.map(({child:C})=>C))};return this.isResponsive&&this.responsive==="self"?c(io,{onResize:this.handleResize},{default:e}):e()}}),mp=e=>{const{primaryColor:t,baseColor:o}=e;return{color:t,iconColor:o}},kT={name:"IconWrapper",common:xe,self:mp},$T=kT,RT={name:"IconWrapper",common:ke,self:mp},PT=RT,xp=Object.assign(Object.assign({},we.props),{onPreviewPrev:Function,onPreviewNext:Function,showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),Cp="n-image";function zT(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const yp={name:"Image",common:xe,peers:{Tooltip:An},self:zT},TT={name:"Image",common:ke,peers:{Tooltip:Di},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},BT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),MT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),OT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),IT=c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 1024 1024"},c("path",{fill:"currentColor",d:"M505.7 661a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"})),FT=z([z("body >",[y("image-container","position: fixed;")]),y("image-preview-container",` + `),y("form-item-feedback",{transition:"color .3s var(--n-bezier)",color:"var(--n-feedback-text-color)"},[B("warning",{color:"var(--n-feedback-text-color-warning)"}),B("error",{color:"var(--n-feedback-text-color-error)"}),NP({fromOffset:"-3px",enterDuration:".3s",leaveDuration:".2s"})])])]);var Ud=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};const VP=Object.assign(Object.assign({},be.props),{label:String,labelWidth:[Number,String],labelStyle:[String,Object],labelAlign:String,labelPlacement:String,path:String,first:Boolean,rulePath:String,required:Boolean,showRequireMark:{type:Boolean,default:void 0},requireMarkPlacement:String,showFeedback:{type:Boolean,default:void 0},rule:[Object,Array],size:String,ignorePathChange:Boolean,validationStatus:String,feedback:String,showLabel:{type:Boolean,default:void 0},labelProps:Object});function Kd(e,t){return(...o)=>{try{const r=e(...o);return!t&&(typeof r=="boolean"||r instanceof Error||Array.isArray(r))||r!=null&&r.then?r:(r===void 0||yo("form-item/validate",`You return a ${typeof r} typed value in the validator method, which is not recommended. Please use `+(t?"`Promise`":"`boolean`, `Error` or `Promise`")+" typed value instead."),!0)}catch(r){yo("form-item/validate","An error is catched in the validation, so the validation won't be done. Your callback in `validate` method of `n-form` or `n-form-item` won't be called in this validation."),console.error(r);return}}}const M8=re({name:"FormItem",props:VP,setup(e){Qv(Ih,"formItems",he(e,"path"));const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=Te(An,null),n=DP(e),i=HP(e),{validationErrored:a,validationWarned:l}=i,{mergedRequired:s,mergedRules:d}=WP(e),{mergedSize:u}=n,{mergedLabelPlacement:h,mergedLabelAlign:p,mergedRequireMarkPlacement:g}=i,f=E([]),v=E(Vo()),b=r?he(r.props,"disabled"):E(!1),m=be("Form","-form-item",jP,jl,e,t);Je(he(e,"path"),()=>{e.ignorePathChange||C()});function C(){f.value=[],a.value=!1,l.value=!1,e.feedback&&(v.value=Vo())}function R(){k("blur")}function $(){k("change")}function S(){k("focus")}function w(){k("input")}function x(H,_){return Ud(this,void 0,void 0,function*(){let U,N,ee,ue;return typeof H=="string"?(U=H,N=_):H!==null&&typeof H=="object"&&(U=H.trigger,N=H.callback,ee=H.shouldRuleBeApplied,ue=H.options),yield new Promise((ae,Y)=>{k(U,ee,ue).then(({valid:W,errors:X,warnings:ne})=>{W?(N&&N(void 0,{warnings:ne}),ae({warnings:ne})):(N&&N(X,{warnings:ne}),Y(X))})})})}const k=(H=null,_=()=>!0,U={suppressWarning:!0})=>Ud(this,void 0,void 0,function*(){const{path:N}=e;U?U.first||(U.first=e.first):U={};const{value:ee}=d,ue=r?kn(r.props.model,N||""):void 0,ae={},Y={},W=(H?ee.filter($e=>Array.isArray($e.trigger)?$e.trigger.includes(H):$e.trigger===H):ee).filter(_).map(($e,Me)=>{const Z=Object.assign({},$e);if(Z.validator&&(Z.validator=Kd(Z.validator,!1)),Z.asyncValidator&&(Z.asyncValidator=Kd(Z.asyncValidator,!0)),Z.renderMessage){const fe=`__renderMessage__${Me}`;Y[fe]=Z.message,Z.message=fe,ae[fe]=Z.renderMessage}return Z}),X=W.filter($e=>$e.level!=="warning"),ne=W.filter($e=>$e.level==="warning"),le=N??"__n_no_path__",ge=new Nr({[le]:X}),xe=new Nr({[le]:ne}),{validateMessages:Le}=(r==null?void 0:r.props)||{};Le&&(ge.messages(Le),xe.messages(Le));const G=$e=>{f.value=$e.map(Me=>{const Z=(Me==null?void 0:Me.message)||"";return{key:Z,render:()=>Z.startsWith("__renderMessage__")?ae[Z]():Z}}),$e.forEach(Me=>{var Z;!((Z=Me.message)===null||Z===void 0)&&Z.startsWith("__renderMessage__")&&(Me.message=Y[Me.message])})},ve={valid:!0,errors:void 0,warnings:void 0};if(X.length){const $e=yield new Promise(Me=>{ge.validate({[le]:ue},U,Me)});$e!=null&&$e.length&&(a.value=!0,ve.valid=!1,ve.errors=$e,G($e))}if(ne.length&&!ve.errors){const $e=yield new Promise(Me=>{xe.validate({[le]:ue},U,Me)});$e!=null&&$e.length&&(G($e),l.value=!0,ve.warnings=$e)}return X.length+ne.length>0&&!ve.errors&&!ve.warnings&&C(),ve});Ue(La,{path:he(e,"path"),disabled:b,mergedSize:n.mergedSize,mergedValidationStatus:i.mergedValidationStatus,restoreValidation:C,handleContentBlur:R,handleContentChange:$,handleContentFocus:S,handleContentInput:w});const P={validate:x,restoreValidation:C,internalValidate:k},M=E(null);gt(()=>{if(!i.isAutoLabelWidth.value)return;const H=M.value;if(H!==null){const _=H.style.whiteSpace;H.style.whiteSpace="nowrap",H.style.width="",r==null||r.deriveMaxChildLabelWidth(Number(getComputedStyle(H).width.slice(0,-2))),H.style.whiteSpace=_}});const L=T(()=>{var H;const{value:_}=u,{value:U}=h,N=U==="top"?"vertical":"horizontal",{common:{cubicBezierEaseInOut:ee},self:{labelTextColor:ue,asteriskColor:ae,lineHeight:Y,feedbackTextColor:W,feedbackTextColorWarning:X,feedbackTextColorError:ne,feedbackPadding:le,labelFontWeight:ge,[oe("labelHeight",_)]:xe,[oe("blankHeight",_)]:Le,[oe("feedbackFontSize",_)]:G,[oe("feedbackHeight",_)]:ve,[oe("labelPadding",N)]:$e,[oe("labelTextAlign",N)]:Me,[oe(oe("labelFontSize",U),_)]:Z}}=m.value;let fe=(H=p.value)!==null&&H!==void 0?H:Me;return U==="top"&&(fe=fe==="right"?"flex-end":"flex-start"),{"--n-bezier":ee,"--n-line-height":Y,"--n-blank-height":Le,"--n-label-font-size":Z,"--n-label-text-align":fe,"--n-label-height":xe,"--n-label-padding":$e,"--n-label-font-weight":ge,"--n-asterisk-color":ae,"--n-label-text-color":ue,"--n-feedback-padding":le,"--n-feedback-font-size":G,"--n-feedback-height":ve,"--n-feedback-text-color":W,"--n-feedback-text-color-warning":X,"--n-feedback-text-color-error":ne}}),I=o?Qe("form-item",T(()=>{var H;return`${u.value[0]}${h.value[0]}${((H=p.value)===null||H===void 0?void 0:H[0])||""}`}),L,e):void 0,A=T(()=>h.value==="left"&&g.value==="left"&&p.value==="left");return Object.assign(Object.assign(Object.assign(Object.assign({labelElementRef:M,mergedClsPrefix:t,mergedRequired:s,feedbackId:v,renderExplains:f,reverseColSpace:A},i),n),P),{cssVars:o?void 0:L,themeClass:I==null?void 0:I.themeClass,onRender:I==null?void 0:I.onRender})},render(){const{$slots:e,mergedClsPrefix:t,mergedShowLabel:o,mergedShowRequireMark:r,mergedRequireMarkPlacement:n,onRender:i}=this,a=r!==void 0?r:this.mergedRequired;i==null||i();const l=()=>{const s=this.$slots.label?this.$slots.label():this.label;if(!s)return null;const d=c("span",{class:`${t}-form-item-label__text`},s),u=a?c("span",{class:`${t}-form-item-label__asterisk`},n!=="left"?" *":"* "):n==="right-hanging"&&c("span",{class:`${t}-form-item-label__asterisk-placeholder`}," *"),{labelProps:h}=this;return c("label",Object.assign({},h,{class:[h==null?void 0:h.class,`${t}-form-item-label`,`${t}-form-item-label--${n}-mark`,this.reverseColSpace&&`${t}-form-item-label--reverse-columns-space`],style:this.mergedLabelStyle,ref:"labelElementRef"}),n==="left"?[u,d]:[d,u])};return c("div",{class:[`${t}-form-item`,this.themeClass,`${t}-form-item--${this.mergedSize}-size`,`${t}-form-item--${this.mergedLabelPlacement}-labelled`,this.isAutoLabelWidth&&`${t}-form-item--auto-label-width`,!o&&`${t}-form-item--no-label`],style:this.cssVars},o&&l(),c("div",{class:[`${t}-form-item-blank`,this.mergedValidationStatus&&`${t}-form-item-blank--${this.mergedValidationStatus}`]},e),this.mergedShowFeedback?c("div",{key:this.feedbackId,class:`${t}-form-item-feedback-wrapper`},c(kt,{name:"fade-down-transition",mode:"out-in"},{default:()=>{const{mergedValidationStatus:s}=this;return Ze(e.feedback,d=>{var u;const{feedback:h}=this,p=d||h?c("div",{key:"__feedback__",class:`${t}-form-item-feedback__line`},d||h):this.renderExplains.length?(u=this.renderExplains)===null||u===void 0?void 0:u.map(({key:g,render:f})=>c("div",{key:g,class:`${t}-form-item-feedback__line`},f())):null;return p?s==="warning"?c("div",{key:"controlled-warning",class:`${t}-form-item-feedback ${t}-form-item-feedback--warning`},p):s==="error"?c("div",{key:"controlled-error",class:`${t}-form-item-feedback ${t}-form-item-feedback--error`},p):s==="success"?c("div",{key:"controlled-success",class:`${t}-form-item-feedback ${t}-form-item-feedback--success`},p):c("div",{key:"controlled-default",class:`${t}-form-item-feedback`},p):null})}})):null)}}),Gd=1,Eh="n-grid",Lh=1,UP={span:{type:[Number,String],default:Lh},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},I8=re({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:UP,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:o,overflowRef:r,layoutShiftDisabledRef:n}=Te(Eh),i=jr();return{overflow:r,itemStyle:o,layoutShiftDisabled:n,mergedXGap:T(()=>St(t.value||0)),deriveStyle:()=>{e.value;const{privateSpan:a=Lh,privateShow:l=!0,privateColStart:s=void 0,privateOffset:d=0}=i.vnode.props,{value:u}=t,h=St(u||0);return{display:l?"":"none",gridColumn:`${s??`span ${a}`} / span ${a}`,marginLeft:d?`calc((100% - (${a} - 1) * ${h}) / ${a} * ${d} + ${h} * ${d})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:o,offset:r,mergedXGap:n}=this;return c("div",{style:{gridColumn:`span ${o} / span ${o}`,marginLeft:r?`calc((100% - (${o} - 1) * ${n}) / ${o} * ${r} + ${n} * ${r})`:""}},this.$slots)}return c("div",{style:[this.itemStyle,this.deriveStyle()]},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e,{overflow:this.overflow}))}}),KP={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},Ah=e=>{const{textColor2:t,successColor:o,infoColor:r,warningColor:n,errorColor:i,popoverColor:a,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeColorHover:u,closeColorPressed:h,textColor1:p,textColor3:g,borderRadius:f,fontWeightStrong:v,boxShadow2:b,lineHeight:m,fontSize:C}=e;return Object.assign(Object.assign({},KP),{borderRadius:f,lineHeight:m,fontSize:C,headerFontWeight:v,iconColor:t,iconColorSuccess:o,iconColorInfo:r,iconColorWarning:n,iconColorError:i,color:a,textColor:t,closeIconColor:l,closeIconColorHover:s,closeIconColorPressed:d,closeBorderRadius:f,closeColorHover:u,closeColorPressed:h,headerTextColor:p,descriptionTextColor:g,actionTextColor:t,boxShadow:b})},GP={name:"Notification",common:Ce,peers:{Scrollbar:Et},self:Ah},_h=GP,qP={name:"Notification",common:ke,peers:{Scrollbar:Dt},self:Ah},XP=qP,YP={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},Dh=e=>{const{textColor2:t,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:n,infoColor:i,successColor:a,errorColor:l,warningColor:s,popoverColor:d,boxShadow2:u,primaryColor:h,lineHeight:p,borderRadius:g,closeColorHover:f,closeColorPressed:v}=e;return Object.assign(Object.assign({},YP),{closeBorderRadius:g,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:d,colorInfo:d,colorSuccess:d,colorError:d,colorWarning:d,colorLoading:d,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:s,iconColorError:l,iconColorLoading:h,closeColorHover:f,closeColorPressed:v,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:n,closeColorHoverInfo:f,closeColorPressedInfo:v,closeIconColorInfo:o,closeIconColorHoverInfo:r,closeIconColorPressedInfo:n,closeColorHoverSuccess:f,closeColorPressedSuccess:v,closeIconColorSuccess:o,closeIconColorHoverSuccess:r,closeIconColorPressedSuccess:n,closeColorHoverError:f,closeColorPressedError:v,closeIconColorError:o,closeIconColorHoverError:r,closeIconColorPressedError:n,closeColorHoverWarning:f,closeColorPressedWarning:v,closeIconColorWarning:o,closeIconColorHoverWarning:r,closeIconColorPressedWarning:n,closeColorHoverLoading:f,closeColorPressedLoading:v,closeIconColorLoading:o,closeIconColorHoverLoading:r,closeIconColorPressedLoading:n,loadingColor:h,lineHeight:p,borderRadius:g})},ZP={name:"Message",common:Ce,self:Dh},Hh=ZP,JP={name:"Message",common:ke,self:Dh},QP=JP,ez={name:"ButtonGroup",common:ke},tz=ez,oz={name:"ButtonGroup",common:Ce},rz=oz,nz={name:"GradientText",common:ke,self(e){const{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,primaryColorSuppl:a,successColorSuppl:l,warningColorSuppl:s,errorColorSuppl:d,infoColorSuppl:u,fontWeightStrong:h}=e;return{fontWeight:h,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:r,colorEndWarning:s,colorStartError:n,colorEndError:d,colorStartSuccess:o,colorEndSuccess:l}}},iz=nz,az=e=>{const{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,fontWeightStrong:a}=e;return{fontWeight:a,rotate:"252deg",colorStartPrimary:se(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:se(i,{alpha:.6}),colorEndInfo:i,colorStartWarning:se(r,{alpha:.6}),colorEndWarning:r,colorStartError:se(n,{alpha:.6}),colorEndError:n,colorStartSuccess:se(o,{alpha:.6}),colorEndSuccess:o}},lz={name:"GradientText",common:Ce,self:az},sz=lz,dz={name:"InputNumber",common:ke,peers:{Button:Wt,Input:Jt},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},cz=dz,uz=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},fz={name:"InputNumber",common:Ce,peers:{Button:Lt,Input:Ht},self:uz},Wh=fz,hz={name:"Layout",common:ke,peers:{Scrollbar:Dt},self(e){const{textColor2:t,bodyColor:o,popoverColor:r,cardColor:n,dividerColor:i,scrollbarColor:a,scrollbarColorHover:l}=e;return{textColor:t,textColorInverted:t,color:o,colorEmbedded:o,headerColor:n,headerColorInverted:n,footerColor:n,footerColorInverted:n,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:n,siderColorInverted:n,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:r,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:Ee(o,a),siderToggleBarColorHover:Ee(o,l),__invertScrollbar:"false"}}},pz=hz,vz=e=>{const{baseColor:t,textColor2:o,bodyColor:r,cardColor:n,dividerColor:i,actionColor:a,scrollbarColor:l,scrollbarColorHover:s,invertedColor:d}=e;return{textColor:o,textColorInverted:"#FFF",color:r,colorEmbedded:a,headerColor:n,headerColorInverted:d,footerColor:a,footerColorInverted:d,headerBorderColor:i,headerBorderColorInverted:d,footerBorderColor:i,footerBorderColorInverted:d,siderBorderColor:i,siderBorderColorInverted:d,siderColor:n,siderColorInverted:d,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:o,siderToggleButtonIconColorInverted:o,siderToggleBarColor:Ee(r,l),siderToggleBarColorHover:Ee(r,s),__invertScrollbar:"true"}},gz={name:"Layout",common:Ce,peers:{Scrollbar:Et},self:vz},Vl=gz,Nh=e=>{const{textColor2:t,cardColor:o,modalColor:r,popoverColor:n,dividerColor:i,borderRadius:a,fontSize:l,hoverColor:s}=e;return{textColor:t,color:o,colorHover:s,colorModal:r,colorHoverModal:Ee(r,s),colorPopover:n,colorHoverPopover:Ee(n,s),borderColor:i,borderColorModal:Ee(r,i),borderColorPopover:Ee(n,i),borderRadius:a,fontSize:l}},mz={name:"List",common:Ce,self:Nh},bz=mz,xz={name:"List",common:ke,self:Nh},Cz=xz,yz={name:"LoadingBar",common:ke,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},wz=yz,Sz=e=>{const{primaryColor:t,errorColor:o}=e;return{colorError:o,colorLoading:t,height:"2px"}},kz={name:"LoadingBar",common:Ce,self:Sz},jh=kz,$z={name:"Log",common:ke,peers:{Scrollbar:Dt,Code:Bf},self(e){const{textColor2:t,inputColor:o,fontSize:r,primaryColor:n}=e;return{loaderFontSize:r,loaderTextColor:t,loaderColor:o,loaderBorder:"1px solid #0000",loadingColor:n}}},Rz=$z,Pz=e=>{const{textColor2:t,modalColor:o,borderColor:r,fontSize:n,primaryColor:i}=e;return{loaderFontSize:n,loaderTextColor:t,loaderColor:o,loaderBorder:`1px solid ${r}`,loadingColor:i}},zz={name:"Log",common:Ce,peers:{Scrollbar:Et,Code:Of},self:Pz},Tz=zz,Bz={name:"Mention",common:ke,peers:{InternalSelectMenu:En,Input:Jt},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},Oz=Bz,Mz=e=>{const{boxShadow2:t}=e;return{menuBoxShadow:t}},Iz={name:"Mention",common:Ce,peers:{InternalSelectMenu:Xr,Input:Ht},self:Mz},Fz=Iz;function Ez(e,t,o,r){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:o,itemTextColorChildActiveInverted:o,itemTextColorChildActiveHoverInverted:o,itemTextColorActiveInverted:o,itemTextColorActiveHoverInverted:o,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:o,itemTextColorChildActiveHorizontalInverted:o,itemTextColorChildActiveHoverHorizontalInverted:o,itemTextColorActiveHorizontalInverted:o,itemTextColorActiveHoverHorizontalInverted:o,itemIconColorInverted:e,itemIconColorHoverInverted:o,itemIconColorActiveInverted:o,itemIconColorActiveHoverInverted:o,itemIconColorChildActiveInverted:o,itemIconColorChildActiveHoverInverted:o,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:o,itemIconColorActiveHorizontalInverted:o,itemIconColorActiveHoverHorizontalInverted:o,itemIconColorChildActiveHorizontalInverted:o,itemIconColorChildActiveHoverHorizontalInverted:o,arrowColorInverted:e,arrowColorHoverInverted:o,arrowColorActiveInverted:o,arrowColorActiveHoverInverted:o,arrowColorChildActiveInverted:o,arrowColorChildActiveHoverInverted:o,groupTextColorInverted:r}}const Vh=e=>{const{borderRadius:t,textColor3:o,primaryColor:r,textColor2:n,textColor1:i,fontSize:a,dividerColor:l,hoverColor:s,primaryColorHover:d}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:o,itemColorHover:s,itemColorActive:se(r,{alpha:.1}),itemColorActiveHover:se(r,{alpha:.1}),itemColorActiveCollapsed:se(r,{alpha:.1}),itemTextColor:n,itemTextColorHover:n,itemTextColorActive:r,itemTextColorActiveHover:r,itemTextColorChildActive:r,itemTextColorChildActiveHover:r,itemTextColorHorizontal:n,itemTextColorHoverHorizontal:d,itemTextColorActiveHorizontal:r,itemTextColorActiveHoverHorizontal:r,itemTextColorChildActiveHorizontal:r,itemTextColorChildActiveHoverHorizontal:r,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:r,itemIconColorActiveHover:r,itemIconColorChildActive:r,itemIconColorChildActiveHover:r,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:d,itemIconColorActiveHorizontal:r,itemIconColorActiveHoverHorizontal:r,itemIconColorChildActiveHorizontal:r,itemIconColorChildActiveHoverHorizontal:r,itemHeight:"42px",arrowColor:n,arrowColorHover:n,arrowColorActive:r,arrowColorActiveHover:r,arrowColorChildActive:r,arrowColorChildActiveHover:r,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:l},Ez("#BBB",r,"#FFF","#AAA"))},Lz={name:"Menu",common:Ce,peers:{Tooltip:Ln,Dropdown:Wi},self:Vh},Az=Lz,_z={name:"Menu",common:ke,peers:{Tooltip:Di,Dropdown:Al},self(e){const{primaryColor:t,primaryColorSuppl:o}=e,r=Vh(e);return r.itemColorActive=se(t,{alpha:.15}),r.itemColorActiveHover=se(t,{alpha:.15}),r.itemColorActiveCollapsed=se(t,{alpha:.15}),r.itemColorActiveInverted=o,r.itemColorActiveHoverInverted=o,r.itemColorActiveCollapsedInverted=o,r}},Dz=_z,Hz={titleFontSize:"18px",backSize:"22px"};function Uh(e){const{textColor1:t,textColor2:o,textColor3:r,fontSize:n,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:l}=e;return Object.assign(Object.assign({},Hz),{titleFontWeight:i,fontSize:n,titleTextColor:t,backColor:o,backColorHover:a,backColorPressed:l,subtitleTextColor:r})}const Wz={name:"PageHeader",common:Ce,self:Uh},Nz={name:"PageHeader",common:ke,self:Uh},jz={iconSize:"22px"},Kh=e=>{const{fontSize:t,warningColor:o}=e;return Object.assign(Object.assign({},jz),{fontSize:t,iconColor:o})},Vz={name:"Popconfirm",common:Ce,peers:{Button:Lt,Popover:Zo},self:Kh},Gh=Vz,Uz={name:"Popconfirm",common:ke,peers:{Button:Wt,Popover:Cr},self:Kh},Kz=Uz,qh=e=>{const{infoColor:t,successColor:o,warningColor:r,errorColor:n,textColor2:i,progressRailColor:a,fontSize:l,fontWeight:s}=e;return{fontSize:l,fontSizeCircle:"28px",fontWeightCircle:s,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:o,iconColorWarning:r,iconColorError:n,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:o,fillColorWarning:r,fillColorError:n,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},Gz={name:"Progress",common:Ce,self:qh},Xh=Gz,qz={name:"Progress",common:ke,self(e){const t=qh(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},Yh=qz,Xz={name:"Rate",common:ke,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},Yz=Xz,Zz=e=>{const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}},Jz={name:"Rate",common:Ce,self:Zz},Qz=Jz,e4={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},Zh=e=>{const{textColor2:t,textColor1:o,errorColor:r,successColor:n,infoColor:i,warningColor:a,lineHeight:l,fontWeightStrong:s}=e;return Object.assign(Object.assign({},e4),{lineHeight:l,titleFontWeight:s,titleTextColor:o,textColor:t,iconColorError:r,iconColorSuccess:n,iconColorInfo:i,iconColorWarning:a})},t4={name:"Result",common:Ce,self:Zh},Jh=t4,o4={name:"Result",common:ke,self:Zh},r4=o4,Qh={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},n4={name:"Slider",common:ke,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:o,modalColor:r,primaryColorSuppl:n,popoverColor:i,textColor2:a,cardColor:l,borderRadius:s,fontSize:d,opacityDisabled:u}=e;return Object.assign(Object.assign({},Qh),{fontSize:d,markFontSize:d,railColor:o,railColorHover:o,fillColor:n,fillColorHover:n,opacityDisabled:u,handleColor:"#FFF",dotColor:l,dotColorModal:r,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:s,dotBorder:`2px solid ${o}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}},i4=n4,a4=e=>{const t="rgba(0, 0, 0, .85)",o="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,primaryColor:n,baseColor:i,cardColor:a,modalColor:l,popoverColor:s,borderRadius:d,fontSize:u,opacityDisabled:h}=e;return Object.assign(Object.assign({},Qh),{fontSize:u,markFontSize:u,railColor:r,railColorHover:r,fillColor:n,fillColorHover:n,opacityDisabled:h,handleColor:"#FFF",dotColor:a,dotColorModal:l,dotColorPopover:s,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:o,indicatorTextColor:i,indicatorBorderRadius:d,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})},l4={name:"Slider",common:Ce,self:a4},ep=l4,tp=e=>{const{opacityDisabled:t,heightTiny:o,heightSmall:r,heightMedium:n,heightLarge:i,heightHuge:a,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:o,sizeSmall:r,sizeMedium:n,sizeLarge:i,sizeHuge:a,color:l,opacitySpinning:t}},s4={name:"Spin",common:Ce,self:tp},op=s4,d4={name:"Spin",common:ke,self:tp},c4=d4,rp=e=>{const{textColor2:t,textColor3:o,fontSize:r,fontWeight:n}=e;return{labelFontSize:r,labelFontWeight:n,valueFontWeight:n,valueFontSize:"24px",labelTextColor:o,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},u4={name:"Statistic",common:Ce,self:rp},f4=u4,h4={name:"Statistic",common:ke,self:rp},p4=h4,v4={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},np=e=>{const{fontWeightStrong:t,baseColor:o,textColorDisabled:r,primaryColor:n,errorColor:i,textColor1:a,textColor2:l}=e;return Object.assign(Object.assign({},v4),{stepHeaderFontWeight:t,indicatorTextColorProcess:o,indicatorTextColorWait:r,indicatorTextColorFinish:n,indicatorTextColorError:i,indicatorBorderColorProcess:n,indicatorBorderColorWait:r,indicatorBorderColorFinish:n,indicatorBorderColorError:i,indicatorColorProcess:n,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:r,splitorColorWait:r,splitorColorFinish:n,splitorColorError:r,headerTextColorProcess:a,headerTextColorWait:r,headerTextColorFinish:r,headerTextColorError:i,descriptionTextColorProcess:l,descriptionTextColorWait:r,descriptionTextColorFinish:r,descriptionTextColorError:i})},g4={name:"Steps",common:Ce,self:np},m4=g4,b4={name:"Steps",common:ke,self:np},x4=b4,ip={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},C4={name:"Switch",common:ke,self(e){const{primaryColorSuppl:t,opacityDisabled:o,borderRadius:r,primaryColor:n,textColor2:i,baseColor:a}=e,l="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},ip),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:o,railColor:l,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 8px 0 ${se(n,{alpha:.3})}`})}},y4=C4,w4=e=>{const{primaryColor:t,opacityDisabled:o,borderRadius:r,textColor3:n}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},ip),{iconColor:n,textColor:"white",loadingColor:t,opacityDisabled:o,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 0 2px ${se(t,{alpha:.2})}`})},S4={name:"Switch",common:Ce,self:w4},ap=S4,k4={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},lp=e=>{const{dividerColor:t,cardColor:o,modalColor:r,popoverColor:n,tableHeaderColor:i,tableColorStriped:a,textColor1:l,textColor2:s,borderRadius:d,fontWeightStrong:u,lineHeight:h,fontSizeSmall:p,fontSizeMedium:g,fontSizeLarge:f}=e;return Object.assign(Object.assign({},k4),{fontSizeSmall:p,fontSizeMedium:g,fontSizeLarge:f,lineHeight:h,borderRadius:d,borderColor:Ee(o,t),borderColorModal:Ee(r,t),borderColorPopover:Ee(n,t),tdColor:o,tdColorModal:r,tdColorPopover:n,tdColorStriped:Ee(o,a),tdColorStripedModal:Ee(r,a),tdColorStripedPopover:Ee(n,a),thColor:Ee(o,i),thColorModal:Ee(r,i),thColorPopover:Ee(n,i),thTextColor:l,tdTextColor:s,thFontWeight:u})},$4={name:"Table",common:Ce,self:lp},R4=$4,P4={name:"Table",common:ke,self:lp},z4=P4,T4={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},sp=e=>{const{textColor2:t,primaryColor:o,textColorDisabled:r,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,tabColor:d,baseColor:u,dividerColor:h,fontWeight:p,textColor1:g,borderRadius:f,fontSize:v,fontWeightStrong:b}=e;return Object.assign(Object.assign({},T4),{colorSegment:d,tabFontSizeCard:v,tabTextColorLine:g,tabTextColorActiveLine:o,tabTextColorHoverLine:o,tabTextColorDisabledLine:r,tabTextColorSegment:g,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:r,tabTextColorBar:g,tabTextColorActiveBar:o,tabTextColorHoverBar:o,tabTextColorDisabledBar:r,tabTextColorCard:g,tabTextColorHoverCard:g,tabTextColorActiveCard:o,tabTextColorDisabledCard:r,barColor:o,closeIconColor:n,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:l,closeColorPressed:s,closeBorderRadius:f,tabColor:d,tabColorSegment:u,tabBorderColor:h,tabFontWeightActive:p,tabFontWeight:p,tabBorderRadius:f,paneTextColor:t,fontWeightStrong:b})},B4={name:"Tabs",common:Ce,self:sp},dp=B4,O4={name:"Tabs",common:ke,self(e){const t=sp(e),{inputColor:o}=e;return t.colorSegment=o,t.tabColorSegment=o,t}},M4=O4,cp=e=>{const{textColor1:t,textColor2:o,fontWeightStrong:r,fontSize:n}=e;return{fontSize:n,titleTextColor:t,textColor:o,titleFontWeight:r}},I4={name:"Thing",common:Ce,self:cp},F4=I4,E4={name:"Thing",common:ke,self:cp},L4=E4,up={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},A4={name:"Timeline",common:ke,self(e){const{textColor3:t,infoColorSuppl:o,errorColorSuppl:r,successColorSuppl:n,warningColorSuppl:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:u}=e;return Object.assign(Object.assign({},up),{contentFontSize:u,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})}},_4=A4,D4=e=>{const{textColor3:t,infoColor:o,errorColor:r,successColor:n,warningColor:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:d,fontSize:u}=e;return Object.assign(Object.assign({},up),{contentFontSize:u,titleFontWeight:d,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})},H4={name:"Timeline",common:Ce,self:D4},W4=H4,fp={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},N4={name:"Transfer",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Input:Jt,Empty:xr,Button:Wt},self(e){const{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,inputColor:s,tableHeaderColor:d,textColor1:u,textColorDisabled:h,textColor2:p,textColor3:g,hoverColor:f,closeColorHover:v,closeColorPressed:b,closeIconColor:m,closeIconColorHover:C,closeIconColorPressed:R,dividerColor:$}=e;return Object.assign(Object.assign({},fp),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:$,borderColor:"#0000",listColor:s,headerColor:d,titleTextColor:u,titleTextColorDisabled:h,extraTextColor:g,extraTextColorDisabled:h,itemTextColor:p,itemTextColorDisabled:h,itemColorPending:f,titleFontWeight:t,closeColorHover:v,closeColorPressed:b,closeIconColor:m,closeIconColorHover:C,closeIconColorPressed:R})}},j4=N4,V4=e=>{const{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,cardColor:s,tableHeaderColor:d,textColor1:u,textColorDisabled:h,textColor2:p,textColor3:g,borderColor:f,hoverColor:v,closeColorHover:b,closeColorPressed:m,closeIconColor:C,closeIconColorHover:R,closeIconColorPressed:$}=e;return Object.assign(Object.assign({},fp),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:f,borderColor:f,listColor:s,headerColor:Ee(s,d),titleTextColor:u,titleTextColorDisabled:h,extraTextColor:g,extraTextColorDisabled:h,itemTextColor:p,itemTextColorDisabled:h,itemColorPending:v,titleFontWeight:t,closeColorHover:b,closeColorPressed:m,closeIconColor:C,closeIconColorHover:R,closeIconColorPressed:$})},U4={name:"Transfer",common:Ce,peers:{Checkbox:yr,Scrollbar:Et,Input:Ht,Empty:Ro,Button:Lt},self:V4},K4=U4,hp=e=>{const{borderRadiusSmall:t,dividerColor:o,hoverColor:r,pressedColor:n,primaryColor:i,textColor3:a,textColor2:l,textColorDisabled:s,fontSize:d}=e;return{fontSize:d,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:r,nodeColorPressed:n,nodeColorActive:se(i,{alpha:.1}),arrowColor:a,nodeTextColor:l,nodeTextColorDisabled:s,loadingColor:i,dropMarkColor:i,lineColor:o}},G4={name:"Tree",common:Ce,peers:{Checkbox:yr,Scrollbar:Et,Empty:Ro},self:hp},pp=G4,q4={name:"Tree",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Empty:xr},self(e){const{primaryColor:t}=e,o=hp(e);return o.nodeColorActive=se(t,{alpha:.15}),o}},vp=q4,X4={name:"TreeSelect",common:ke,peers:{Tree:vp,Empty:xr,InternalSelection:zl}},Y4=X4,Z4=e=>{const{popoverColor:t,boxShadow2:o,borderRadius:r,heightMedium:n,dividerColor:i,textColor2:a}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:o,menuBorderRadius:r,menuHeight:`calc(${n} * 7.6)`,actionDividerColor:i,actionTextColor:a,actionPadding:"8px 12px"}},J4={name:"TreeSelect",common:Ce,peers:{Tree:pp,Empty:Ro,InternalSelection:Ai},self:Z4},Q4=J4,eT={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},gp=e=>{const{primaryColor:t,textColor2:o,borderColor:r,lineHeight:n,fontSize:i,borderRadiusSmall:a,dividerColor:l,fontWeightStrong:s,textColor1:d,textColor3:u,infoColor:h,warningColor:p,errorColor:g,successColor:f,codeColor:v}=e;return Object.assign(Object.assign({},eT),{aTextColor:t,blockquoteTextColor:o,blockquotePrefixColor:r,blockquoteLineHeight:n,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:o,liLineHeight:n,liFontSize:i,hrColor:l,headerFontWeight:s,headerTextColor:d,pTextColor:o,pTextColor1Depth:d,pTextColor2Depth:o,pTextColor3Depth:u,pLineHeight:n,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:h,headerBarColorError:g,headerBarColorWarning:p,headerBarColorSuccess:f,textColor:o,textColor1Depth:d,textColor2Depth:o,textColor3Depth:u,textColorPrimary:t,textColorInfo:h,textColorSuccess:f,textColorWarning:p,textColorError:g,codeTextColor:o,codeColor:v,codeBorder:"1px solid #0000"})},tT={name:"Typography",common:Ce,self:gp},oT=tT,rT={name:"Typography",common:ke,self:gp},nT=rT,mp=e=>{const{iconColor:t,primaryColor:o,errorColor:r,textColor2:n,successColor:i,opacityDisabled:a,actionColor:l,borderColor:s,hoverColor:d,lineHeight:u,borderRadius:h,fontSize:p}=e;return{fontSize:p,lineHeight:u,borderRadius:h,draggerColor:l,draggerBorder:`1px dashed ${s}`,draggerBorderHover:`1px dashed ${o}`,itemColorHover:d,itemColorHoverError:se(r,{alpha:.06}),itemTextColor:n,itemTextColorError:r,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${r}`,itemBorderImageCard:`1px solid ${s}`}},iT={name:"Upload",common:Ce,peers:{Button:Lt,Progress:Xh},self:mp},aT=iT,lT={name:"Upload",common:ke,peers:{Button:Wt,Progress:Yh},self(e){const{errorColor:t}=e,o=mp(e);return o.itemColorHoverError=se(t,{alpha:.09}),o}},sT=lT,dT={name:"Watermark",common:ke,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},cT=dT,uT={name:"Watermark",common:Ce,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},bp=uT,fT={name:"Row",common:Ce},hT=fT,pT={name:"Row",common:ke},vT=pT,gT=e=>{const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}},mT={name:"FloatButtonGroup",common:Ce,self:gT},bT=mT,xT={name:"FloatButton",common:ke,self(e){const{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,baseColor:s,borderRadius:d}=e;return{color:t,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColorPrimary:s,borderRadiusSquare:d}}},CT=xT,yT=e=>{const{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,borderRadius:s}=e;return{color:t,colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .16)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .24)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .24)",textColorPrimary:"#fff",borderRadiusSquare:s}},wT={name:"FloatButton",common:Ce,self:yT},ST=wT,F8=re({name:"GlobalStyle",setup(){if(typeof document>"u")return;const e=Te(lo,null),{body:t}=document,{style:o}=t;let r=!1,n=!0;Eo(()=>{pt(()=>{var i,a;const{textColor2:l,fontSize:s,fontFamily:d,bodyColor:u,cubicBezierEaseInOut:h,lineHeight:p}=e?Or({},((i=e.mergedThemeRef.value)===null||i===void 0?void 0:i.common)||Ce,(a=e.mergedThemeOverridesRef.value)===null||a===void 0?void 0:a.common):Ce;if(r||!t.hasAttribute("n-styled")){o.setProperty("-webkit-text-size-adjust","100%"),o.setProperty("-webkit-tap-highlight-color","transparent"),o.padding="0",o.margin="0",o.backgroundColor=u,o.color=l,o.fontSize=s,o.fontFamily=d,o.lineHeight=p;const g=`color .3s ${h}, background-color .3s ${h}`;n?setTimeout(()=>{o.transition=g},0):o.transition=g,t.setAttribute("n-styled",""),r=!0,n=!1}})}),lc(()=>{r&&t.removeAttribute("n-styled")})},render(){return null}}),kT={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},xp=24,$a="__ssr__",$T={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:xp},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},E8=re({name:"Grid",inheritAttrs:!1,props:$T,setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:o}=He(e),r=/^\d+$/,n=E(void 0),i=gg((o==null?void 0:o.value)||kT),a=Ye(()=>!!(e.itemResponsive||!r.test(e.cols.toString())||!r.test(e.xGap.toString())||!r.test(e.yGap.toString()))),l=T(()=>{if(a.value)return e.responsive==="self"?n.value:i.value}),s=Ye(()=>{var m;return(m=Number(wr(e.cols.toString(),l.value)))!==null&&m!==void 0?m:xp}),d=Ye(()=>wr(e.xGap.toString(),l.value)),u=Ye(()=>wr(e.yGap.toString(),l.value)),h=m=>{n.value=m.contentRect.width},p=m=>{Lr(h,m)},g=E(!1),f=T(()=>{if(e.responsive==="self")return p}),v=E(!1),b=E();return gt(()=>{const{value:m}=b;m&&m.hasAttribute($a)&&(m.removeAttribute($a),v.value=!0)}),Ue(Eh,{layoutShiftDisabledRef:he(e,"layoutShiftDisabled"),isSsrRef:v,itemStyleRef:he(e,"itemStyle"),xGapRef:d,overflowRef:g}),{isSsr:!So,contentEl:b,mergedClsPrefix:t,style:T(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:St(e.xGap),rowGap:St(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${s.value}, minmax(0, 1fr))`,columnGap:St(d.value),rowGap:St(u.value)}),isResponsive:a,responsiveQuery:l,responsiveCols:s,handleResize:f,overflow:g}},render(){if(this.layoutShiftDisabled)return c("div",Ft({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var t,o,r,n,i,a,l;this.overflow=!1;const s=Io(il(this)),d=[],{collapsed:u,collapsedRows:h,responsiveCols:p,responsiveQuery:g}=this;s.forEach(C=>{var R,$,S,w,x;if(((R=C==null?void 0:C.type)===null||R===void 0?void 0:R.__GRID_ITEM__)!==!0)return;if(zv(C)){const M=gn(C);M.props?M.props.privateShow=!1:M.props={privateShow:!1},d.push({child:M,rawChildSpan:0});return}C.dirs=(($=C.dirs)===null||$===void 0?void 0:$.filter(({dir:M})=>M!==ao))||null,((S=C.dirs)===null||S===void 0?void 0:S.length)===0&&(C.dirs=null);const k=gn(C),P=Number((x=wr((w=k.props)===null||w===void 0?void 0:w.span,g))!==null&&x!==void 0?x:Gd);P!==0&&d.push({child:k,rawChildSpan:P})});let f=0;const v=(t=d[d.length-1])===null||t===void 0?void 0:t.child;if(v!=null&&v.props){const C=(o=v.props)===null||o===void 0?void 0:o.suffix;C!==void 0&&C!==!1&&(f=Number((n=wr((r=v.props)===null||r===void 0?void 0:r.span,g))!==null&&n!==void 0?n:Gd),v.props.privateSpan=f,v.props.privateColStart=p+1-f,v.props.privateShow=(i=v.props.privateShow)!==null&&i!==void 0?i:!0)}let b=0,m=!1;for(const{child:C,rawChildSpan:R}of d){if(m&&(this.overflow=!0),!m){const $=Number((l=wr((a=C.props)===null||a===void 0?void 0:a.offset,g))!==null&&l!==void 0?l:0),S=Math.min(R+$,p);if(C.props?(C.props.privateSpan=S,C.props.privateOffset=$):C.props={privateSpan:S,privateOffset:$},u){const w=b%p;S+w>p&&(b+=p-w),S+b+f>h*p?m=!0:b+=S}}m&&(C.props?C.props.privateShow!==!0&&(C.props.privateShow=!1):C.props={privateShow:!1})}return c("div",Ft({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[$a]:this.isSsr||void 0},this.$attrs),d.map(({child:C})=>C))};return this.isResponsive&&this.responsive==="self"?c(io,{onResize:this.handleResize},{default:e}):e()}}),Cp=e=>{const{primaryColor:t,baseColor:o}=e;return{color:t,iconColor:o}},RT={name:"IconWrapper",common:Ce,self:Cp},PT=RT,zT={name:"IconWrapper",common:ke,self:Cp},TT=zT,yp=Object.assign(Object.assign({},be.props),{onPreviewPrev:Function,onPreviewNext:Function,showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean}),wp="n-image";function BT(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const Sp={name:"Image",common:Ce,peers:{Tooltip:Ln},self:BT},OT={name:"Image",common:ke,peers:{Tooltip:Di},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},MT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"})),IT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"})),FT=c("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"})),ET=c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 1024 1024"},c("path",{fill:"currentColor",d:"M505.7 661a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"})),LT=z([z("body >",[y("image-container","position: fixed;")]),y("image-preview-container",` position: fixed; left: 0; right: 0; @@ -2531,7 +2531,7 @@ ${t} bottom: 0; display: flex; pointer-events: none; - `,[Go()]),y("image-preview",` + `,[qo()]),y("image-preview",` user-select: none; -webkit-user-select: none; pointer-events: all; @@ -2543,17 +2543,17 @@ ${t} display: inline-flex; max-height: 100%; max-width: 100%; - `,[nt("preview-disabled",` + `,[rt("preview-disabled",` cursor: pointer; `),z("img",` border-radius: inherit; - `)])]),Qn=32,ET=ne({name:"ImagePreview",props:Object.assign(Object.assign({},xp),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=we("Image","-image",FT,yp,e,he(e,"clsPrefix"));let o=null;const r=E(null),n=E(null),i=E(void 0),a=E(!1),l=E(!1),{localeRef:s}=wo("Image");function d(){const{value:Z}=n;if(!o||!Z)return;const{style:ue}=Z,be=o.getBoundingClientRect(),De=be.left+be.width/2,ee=be.top+be.height/2;ue.transformOrigin=`${De}px ${ee}px`}function u(Z){var ue,be;switch(Z.key){case" ":Z.preventDefault();break;case"ArrowLeft":(ue=e.onPrev)===null||ue===void 0||ue.call(e);break;case"ArrowRight":(be=e.onNext)===null||be===void 0||be.call(e);break;case"Escape":ge();break}}Je(a,Z=>{Z?tt("keydown",document,u):Xe("keydown",document,u)}),dt(()=>{Xe("keydown",document,u)});let h=0,p=0,g=0,f=0,v=0,m=0,b=0,C=0,R=!1;function $(Z){const{clientX:ue,clientY:be}=Z;g=ue-h,f=be-p,Ar(le)}function S(Z){const{mouseUpClientX:ue,mouseUpClientY:be,mouseDownClientX:De,mouseDownClientY:ee}=Z,Ce=De-ue,Pe=ee-be,K=`vertical${Pe>0?"Top":"Bottom"}`,Q=`horizontal${Ce>0?"Left":"Right"}`;return{moveVerticalDirection:K,moveHorizontalDirection:Q,deltaHorizontal:Ce,deltaVertical:Pe}}function w(Z){const{value:ue}=r;if(!ue)return{offsetX:0,offsetY:0};const be=ue.getBoundingClientRect(),{moveVerticalDirection:De,moveHorizontalDirection:ee,deltaHorizontal:Ce,deltaVertical:Pe}=Z||{};let K=0,Q=0;return be.width<=window.innerWidth?K=0:be.left>0?K=(be.width-window.innerWidth)/2:be.right0?Q=(be.height-window.innerHeight)/2:be.bottom.5){const Z=L;O-=1,L=Math.max(.5,Math.pow(A,O));const ue=Z-L;le(!1);const be=w();L+=ue,le(!1),L-=ue,g=be.offsetX,f=be.offsetY,le()}}function re(){const Z=i.value;Z&&Nc(Z,void 0)}function le(Z=!0){var ue;const{value:be}=r;if(!be)return;const{style:De}=be,ee=uv((ue=k==null?void 0:k.previewedImgPropsRef.value)===null||ue===void 0?void 0:ue.style);let Ce="";if(typeof ee=="string")Ce=ee+";";else for(const K in ee)Ce+=`${vy(K)}: ${ee[K]};`;const Pe=`transform-origin: center; transform: translateX(${g}px) translateY(${f}px) rotate(${H}deg) scale(${L});`;R?De.cssText=Ce+"cursor: grabbing; transition: none;"+Pe:De.cssText=Ce+"cursor: grab;"+Pe+(Z?"":"transition: none;"),Z||be.offsetHeight}function ge(){a.value=!a.value,l.value=!0}function me(){L=Y(),O=Math.ceil(Math.log(L)/Math.log(A)),g=0,f=0,le()}const Ae={setPreviewSrc:Z=>{i.value=Z},setThumbnailEl:Z=>{o=Z},toggleShow:ge};function q(Z,ue){if(e.showToolbarTooltip){const{value:be}=t;return c(qf,{to:!1,theme:be.peers.Tooltip,themeOverrides:be.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>s.value[ue],trigger:()=>Z})}else return Z}const ve=T(()=>{const{common:{cubicBezierEaseInOut:Z},self:{toolbarIconColor:ue,toolbarBorderRadius:be,toolbarBoxShadow:De,toolbarColor:ee}}=t.value;return{"--n-bezier":Z,"--n-toolbar-icon-color":ue,"--n-toolbar-color":ee,"--n-toolbar-border-radius":be,"--n-toolbar-box-shadow":De}}),{inlineThemeDisabled:$e}=He(),Oe=$e?Qe("image-preview",void 0,ve,e):void 0;return Object.assign({previewRef:r,previewWrapperRef:n,previewSrc:i,show:a,appear:Ao(),displayed:l,previewedImgProps:k==null?void 0:k.previewedImgPropsRef,handleWheel(Z){Z.preventDefault()},handlePreviewMousedown:P,handlePreviewDblclick:I,syncTransformOrigin:d,handleAfterLeave:()=>{_(),H=0,l.value=!1},handleDragStart:Z=>{var ue,be;(be=(ue=k==null?void 0:k.previewedImgPropsRef.value)===null||ue===void 0?void 0:ue.onDragstart)===null||be===void 0||be.call(ue,Z),Z.preventDefault()},zoomIn:j,zoomOut:X,handleDownloadClick:re,rotateCounterclockwise:te,rotateClockwise:fe,handleSwitchPrev:U,handleSwitchNext:N,withTooltip:q,resizeToOrignalImageSize:me,cssVars:$e?void 0:ve,themeClass:Oe==null?void 0:Oe.themeClass,onRender:Oe==null?void 0:Oe.onRender},Ae)},render(){var e,t;const{clsPrefix:o}=this;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),c(zi,{show:this.show},{default:()=>{var r;return this.show||this.displayed?((r=this.onRender)===null||r===void 0||r.call(this),It(c("div",{class:[`${o}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},c(kt,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?c("div",{class:`${o}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?c(kt,{name:"fade-in-transition",appear:this.appear},{default:()=>{if(!this.show)return null;const{withTooltip:n}=this;return c("div",{class:`${o}-image-preview-toolbar`},this.onPrev?c(yt,null,n(c(ot,{clsPrefix:o,onClick:this.handleSwitchPrev},{default:()=>BT}),"tipPrevious"),n(c(ot,{clsPrefix:o,onClick:this.handleSwitchNext},{default:()=>MT}),"tipNext")):null,n(c(ot,{clsPrefix:o,onClick:this.rotateCounterclockwise},{default:()=>c(dS,null)}),"tipCounterclockwise"),n(c(ot,{clsPrefix:o,onClick:this.rotateClockwise},{default:()=>c(sS,null)}),"tipClockwise"),n(c(ot,{clsPrefix:o,onClick:this.resizeToOrignalImageSize},{default:()=>c(fS,null)}),"tipOriginalSize"),n(c(ot,{clsPrefix:o,onClick:this.zoomOut},{default:()=>c(uS,null)}),"tipZoomOut"),n(c(ot,{clsPrefix:o,onClick:this.zoomIn},{default:()=>c(cS,null)}),"tipZoomIn"),n(c(ot,{clsPrefix:o,onClick:this.handleDownloadClick},{default:()=>IT}),"tipDownload"),n(c(ot,{clsPrefix:o,onClick:this.toggleShow},{default:()=>OT}),"tipClose"))}}):null,c(kt,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:n={}}=this;return It(c("div",{class:`${o}-image-preview-wrapper`,ref:"previewWrapperRef"},c("img",Object.assign({},n,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${o}-image-preview`,n.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[ao,this.show]])}})),[[On,{enabled:this.show}]])):null}}))}}),AT="n-image-group",LT=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},xp),M8=ne({name:"Image",props:LT,inheritAttrs:!1,setup(e){const t=E(null),o=E(!1),r=E(null),n=Te(AT,null),{mergedClsPrefixRef:i}=n||He(e),a={click:()=>{if(e.previewDisabled||o.value)return;const d=e.previewSrc||e.src;if(n){n.setPreviewSrc(d),n.setThumbnailEl(t.value),n.toggleShow();return}const{value:u}=r;u&&(u.setPreviewSrc(d),u.setThumbnailEl(t.value),u.toggleShow())}},l=E(!e.lazy);gt(()=>{var d;(d=t.value)===null||d===void 0||d.setAttribute("data-group-id",(n==null?void 0:n.groupId)||"")}),gt(()=>{if(e.lazy&&e.intersectionObserverOptions){let d;const u=vt(()=>{d==null||d(),d=void 0,d=uf(t.value,e.intersectionObserverOptions,l)});dt(()=>{u(),d==null||d()})}}),vt(()=>{var d;e.src||((d=e.imgProps)===null||d===void 0||d.src),o.value=!1});const s=E(!1);return Ue(Cp,{previewedImgPropsRef:he(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:i,groupId:n==null?void 0:n.groupId,previewInstRef:r,imageRef:t,showError:o,shouldStartLoading:l,loaded:s,mergedOnClick:d=>{var u,h;a.click(),(h=(u=e.imgProps)===null||u===void 0?void 0:u.onClick)===null||h===void 0||h.call(u,d)},mergedOnError:d=>{if(!l.value)return;o.value=!0;const{onError:u,imgProps:{onError:h}={}}=e;u==null||u(d),h==null||h(d)},mergedOnLoad:d=>{const{onLoad:u,imgProps:{onLoad:h}={}}=e;u==null||u(d),h==null||h(d),s.value=!0}},a)},render(){var e,t;const{mergedClsPrefix:o,imgProps:r={},loaded:n,$attrs:i,lazy:a}=this,l=(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e),s=this.src||r.src,d=c("img",Object.assign(Object.assign({},r),{ref:"imageRef",width:this.width||r.width,height:this.height||r.height,src:this.showError?this.fallbackSrc:a&&this.intersectionObserverOptions?this.shouldStartLoading?s:void 0:s,alt:this.alt||r.alt,"aria-label":this.alt||r.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:cf&&a&&!this.intersectionObserverOptions?"lazy":"eager",style:[r.style||"",l&&!n?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return c("div",Object.assign({},i,{role:"none",class:[i.class,`${o}-image`,(this.previewDisabled||this.showError)&&`${o}-image--preview-disabled`]}),this.groupId?d:c(ET,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:o,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:()=>d}),!n&&l)}});function _T(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function DT(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Ra(e){return e==null?!0:!Number.isNaN(e)}function Kd(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Pa(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const HT=z([y("input-number-suffix",` + `)])]),Qn=32,AT=re({name:"ImagePreview",props:Object.assign(Object.assign({},yp),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=be("Image","-image",LT,Sp,e,he(e,"clsPrefix"));let o=null;const r=E(null),n=E(null),i=E(void 0),a=E(!1),l=E(!1),{localeRef:s}=wo("Image");function d(){const{value:Z}=n;if(!o||!Z)return;const{style:fe}=Z,me=o.getBoundingClientRect(),De=me.left+me.width/2,te=me.top+me.height/2;fe.transformOrigin=`${De}px ${te}px`}function u(Z){var fe,me;switch(Z.key){case" ":Z.preventDefault();break;case"ArrowLeft":(fe=e.onPrev)===null||fe===void 0||fe.call(e);break;case"ArrowRight":(me=e.onNext)===null||me===void 0||me.call(e);break;case"Escape":ge();break}}Je(a,Z=>{Z?tt("keydown",document,u):Xe("keydown",document,u)}),dt(()=>{Xe("keydown",document,u)});let h=0,p=0,g=0,f=0,v=0,b=0,m=0,C=0,R=!1;function $(Z){const{clientX:fe,clientY:me}=Z;g=fe-h,f=me-p,Lr(le)}function S(Z){const{mouseUpClientX:fe,mouseUpClientY:me,mouseDownClientX:De,mouseDownClientY:te}=Z,ye=De-fe,Pe=te-me,K=`vertical${Pe>0?"Top":"Bottom"}`,Q=`horizontal${ye>0?"Left":"Right"}`;return{moveVerticalDirection:K,moveHorizontalDirection:Q,deltaHorizontal:ye,deltaVertical:Pe}}function w(Z){const{value:fe}=r;if(!fe)return{offsetX:0,offsetY:0};const me=fe.getBoundingClientRect(),{moveVerticalDirection:De,moveHorizontalDirection:te,deltaHorizontal:ye,deltaVertical:Pe}=Z||{};let K=0,Q=0;return me.width<=window.innerWidth?K=0:me.left>0?K=(me.width-window.innerWidth)/2:me.right0?Q=(me.height-window.innerHeight)/2:me.bottom.5){const Z=A;I-=1,A=Math.max(.5,Math.pow(L,I));const fe=Z-A;le(!1);const me=w();A+=fe,le(!1),A-=fe,g=me.offsetX,f=me.offsetY,le()}}function ne(){const Z=i.value;Z&&Vc(Z,void 0)}function le(Z=!0){var fe;const{value:me}=r;if(!me)return;const{style:De}=me,te=hv((fe=k==null?void 0:k.previewedImgPropsRef.value)===null||fe===void 0?void 0:fe.style);let ye="";if(typeof te=="string")ye=te+";";else for(const K in te)ye+=`${by(K)}: ${te[K]};`;const Pe=`transform-origin: center; transform: translateX(${g}px) translateY(${f}px) rotate(${H}deg) scale(${A});`;R?De.cssText=ye+"cursor: grabbing; transition: none;"+Pe:De.cssText=ye+"cursor: grab;"+Pe+(Z?"":"transition: none;"),Z||me.offsetHeight}function ge(){a.value=!a.value,l.value=!0}function xe(){A=Y(),I=Math.ceil(Math.log(A)/Math.log(L)),g=0,f=0,le()}const Le={setPreviewSrc:Z=>{i.value=Z},setThumbnailEl:Z=>{o=Z},toggleShow:ge};function G(Z,fe){if(e.showToolbarTooltip){const{value:me}=t;return c(qf,{to:!1,theme:me.peers.Tooltip,themeOverrides:me.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>s.value[fe],trigger:()=>Z})}else return Z}const ve=T(()=>{const{common:{cubicBezierEaseInOut:Z},self:{toolbarIconColor:fe,toolbarBorderRadius:me,toolbarBoxShadow:De,toolbarColor:te}}=t.value;return{"--n-bezier":Z,"--n-toolbar-icon-color":fe,"--n-toolbar-color":te,"--n-toolbar-border-radius":me,"--n-toolbar-box-shadow":De}}),{inlineThemeDisabled:$e}=He(),Me=$e?Qe("image-preview",void 0,ve,e):void 0;return Object.assign({previewRef:r,previewWrapperRef:n,previewSrc:i,show:a,appear:Lo(),displayed:l,previewedImgProps:k==null?void 0:k.previewedImgPropsRef,handleWheel(Z){Z.preventDefault()},handlePreviewMousedown:P,handlePreviewDblclick:M,syncTransformOrigin:d,handleAfterLeave:()=>{_(),H=0,l.value=!1},handleDragStart:Z=>{var fe,me;(me=(fe=k==null?void 0:k.previewedImgPropsRef.value)===null||fe===void 0?void 0:fe.onDragstart)===null||me===void 0||me.call(fe,Z),Z.preventDefault()},zoomIn:W,zoomOut:X,handleDownloadClick:ne,rotateCounterclockwise:ee,rotateClockwise:ue,handleSwitchPrev:U,handleSwitchNext:N,withTooltip:G,resizeToOrignalImageSize:xe,cssVars:$e?void 0:ve,themeClass:Me==null?void 0:Me.themeClass,onRender:Me==null?void 0:Me.onRender},Le)},render(){var e,t;const{clsPrefix:o}=this;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),c(zi,{show:this.show},{default:()=>{var r;return this.show||this.displayed?((r=this.onRender)===null||r===void 0||r.call(this),It(c("div",{class:[`${o}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},c(kt,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?c("div",{class:`${o}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?c(kt,{name:"fade-in-transition",appear:this.appear},{default:()=>{if(!this.show)return null;const{withTooltip:n}=this;return c("div",{class:`${o}-image-preview-toolbar`},this.onPrev?c(yt,null,n(c(ot,{clsPrefix:o,onClick:this.handleSwitchPrev},{default:()=>MT}),"tipPrevious"),n(c(ot,{clsPrefix:o,onClick:this.handleSwitchNext},{default:()=>IT}),"tipNext")):null,n(c(ot,{clsPrefix:o,onClick:this.rotateCounterclockwise},{default:()=>c(fS,null)}),"tipCounterclockwise"),n(c(ot,{clsPrefix:o,onClick:this.rotateClockwise},{default:()=>c(uS,null)}),"tipClockwise"),n(c(ot,{clsPrefix:o,onClick:this.resizeToOrignalImageSize},{default:()=>c(vS,null)}),"tipOriginalSize"),n(c(ot,{clsPrefix:o,onClick:this.zoomOut},{default:()=>c(pS,null)}),"tipZoomOut"),n(c(ot,{clsPrefix:o,onClick:this.zoomIn},{default:()=>c(hS,null)}),"tipZoomIn"),n(c(ot,{clsPrefix:o,onClick:this.handleDownloadClick},{default:()=>ET}),"tipDownload"),n(c(ot,{clsPrefix:o,onClick:this.toggleShow},{default:()=>FT}),"tipClose"))}}):null,c(kt,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:n={}}=this;return It(c("div",{class:`${o}-image-preview-wrapper`,ref:"previewWrapperRef"},c("img",Object.assign({},n,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${o}-image-preview`,n.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[ao,this.show]])}})),[[Mn,{enabled:this.show}]])):null}}))}}),_T="n-image-group",DT=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},yp),L8=re({name:"Image",props:DT,inheritAttrs:!1,setup(e){const t=E(null),o=E(!1),r=E(null),n=Te(_T,null),{mergedClsPrefixRef:i}=n||He(e),a={click:()=>{if(e.previewDisabled||o.value)return;const d=e.previewSrc||e.src;if(n){n.setPreviewSrc(d),n.setThumbnailEl(t.value),n.toggleShow();return}const{value:u}=r;u&&(u.setPreviewSrc(d),u.setThumbnailEl(t.value),u.toggleShow())}},l=E(!e.lazy);gt(()=>{var d;(d=t.value)===null||d===void 0||d.setAttribute("data-group-id",(n==null?void 0:n.groupId)||"")}),gt(()=>{if(e.lazy&&e.intersectionObserverOptions){let d;const u=pt(()=>{d==null||d(),d=void 0,d=ff(t.value,e.intersectionObserverOptions,l)});dt(()=>{u(),d==null||d()})}}),pt(()=>{var d;e.src||((d=e.imgProps)===null||d===void 0||d.src),o.value=!1});const s=E(!1);return Ue(wp,{previewedImgPropsRef:he(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:i,groupId:n==null?void 0:n.groupId,previewInstRef:r,imageRef:t,showError:o,shouldStartLoading:l,loaded:s,mergedOnClick:d=>{var u,h;a.click(),(h=(u=e.imgProps)===null||u===void 0?void 0:u.onClick)===null||h===void 0||h.call(u,d)},mergedOnError:d=>{if(!l.value)return;o.value=!0;const{onError:u,imgProps:{onError:h}={}}=e;u==null||u(d),h==null||h(d)},mergedOnLoad:d=>{const{onLoad:u,imgProps:{onLoad:h}={}}=e;u==null||u(d),h==null||h(d),s.value=!0}},a)},render(){var e,t;const{mergedClsPrefix:o,imgProps:r={},loaded:n,$attrs:i,lazy:a}=this,l=(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e),s=this.src||r.src,d=c("img",Object.assign(Object.assign({},r),{ref:"imageRef",width:this.width||r.width,height:this.height||r.height,src:this.showError?this.fallbackSrc:a&&this.intersectionObserverOptions?this.shouldStartLoading?s:void 0:s,alt:this.alt||r.alt,"aria-label":this.alt||r.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:uf&&a&&!this.intersectionObserverOptions?"lazy":"eager",style:[r.style||"",l&&!n?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return c("div",Object.assign({},i,{role:"none",class:[i.class,`${o}-image`,(this.previewDisabled||this.showError)&&`${o}-image--preview-disabled`]}),this.groupId?d:c(AT,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:o,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip},{default:()=>d}),!n&&l)}});function HT(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function WT(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Ra(e){return e==null?!0:!Number.isNaN(e)}function qd(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Pa(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const NT=z([y("input-number-suffix",` display: inline-block; margin-right: 10px; `),y("input-number-prefix",` display: inline-block; margin-left: 10px; - `)]),qd=800,Gd=100,jT=Object.assign(Object.assign({},we.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),O8=ne({name:"InputNumber",props:jT,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:o,mergedRtlRef:r}=He(e),n=we("InputNumber","-input-number",HT,Hh,e,o),{localeRef:i}=wo("InputNumber"),a=So(e),{mergedSizeRef:l,mergedDisabledRef:s,mergedStatusRef:d}=a,u=E(null),h=E(null),p=E(null),g=E(e.defaultValue),f=he(e,"value"),v=$t(f,g),m=E(""),b=ee=>{const Ce=String(ee).split(".")[1];return Ce?Ce.length:0},C=ee=>{const Ce=[e.min,e.max,e.step,ee].map(Pe=>Pe===void 0?0:b(Pe));return Math.max(...Ce)},R=Ye(()=>{const{placeholder:ee}=e;return ee!==void 0?ee:i.value.placeholder}),$=Ye(()=>{const ee=Pa(e.step);return ee!==null?ee===0?1:Math.abs(ee):1}),S=Ye(()=>{const ee=Pa(e.min);return ee!==null?ee:null}),w=Ye(()=>{const ee=Pa(e.max);return ee!==null?ee:null}),x=ee=>{const{value:Ce}=v;if(ee===Ce){P();return}const{"onUpdate:value":Pe,onUpdateValue:K,onChange:Q}=e,{nTriggerFormInput:pe,nTriggerFormChange:V}=a;Q&&ie(Q,ee),K&&ie(K,ee),Pe&&ie(Pe,ee),g.value=ee,pe(),V()},k=({offset:ee,doUpdateIfValid:Ce,fixPrecision:Pe,isInputing:K})=>{const{value:Q}=m;if(K&&DT(Q))return!1;const pe=(e.parse||_T)(Q);if(pe===null)return Ce&&x(null),null;if(Ra(pe)){const V=b(pe),{precision:D}=e;if(D!==void 0&&DSe){if(!Ce||K)return!1;J=Se}if(Le!==null&&J{const{value:ee}=v;if(Ra(ee)){const{format:Ce,precision:Pe}=e;Ce?m.value=Ce(ee):ee===null||Pe===void 0||b(ee)>Pe?m.value=Kd(ee,void 0):m.value=Kd(ee,Pe)}else m.value=String(ee)};P();const I=Ye(()=>k({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),A=Ye(()=>{const{value:ee}=v;if(e.validator&&ee===null)return!1;const{value:Ce}=$;return k({offset:-Ce,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),O=Ye(()=>{const{value:ee}=v;if(e.validator&&ee===null)return!1;const{value:Ce}=$;return k({offset:+Ce,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function L(ee){const{onFocus:Ce}=e,{nTriggerFormFocus:Pe}=a;Ce&&ie(Ce,ee),Pe()}function H(ee){var Ce,Pe;if(ee.target===((Ce=u.value)===null||Ce===void 0?void 0:Ce.wrapperElRef))return;const K=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(K!==!1){const V=(Pe=u.value)===null||Pe===void 0?void 0:Pe.inputElRef;V&&(V.value=String(K||"")),v.value===K&&P()}else P();const{onBlur:Q}=e,{nTriggerFormBlur:pe}=a;Q&&ie(Q,ee),pe(),ut(()=>{P()})}function _(ee){const{onClear:Ce}=e;Ce&&ie(Ce,ee)}function U(){const{value:ee}=O;if(!ee){me();return}const{value:Ce}=v;if(Ce===null)e.validator||x(ae());else{const{value:Pe}=$;k({offset:Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function N(){const{value:ee}=A;if(!ee){ge();return}const{value:Ce}=v;if(Ce===null)e.validator||x(ae());else{const{value:Pe}=$;k({offset:-Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const te=L,fe=H;function ae(){if(e.validator)return null;const{value:ee}=S,{value:Ce}=w;return ee!==null?Math.max(0,ee):Ce!==null?Math.min(0,Ce):0}function Y(ee){_(ee),x(null)}function j(ee){var Ce,Pe,K;!((Ce=p.value)===null||Ce===void 0)&&Ce.$el.contains(ee.target)&&ee.preventDefault(),!((Pe=h.value)===null||Pe===void 0)&&Pe.$el.contains(ee.target)&&ee.preventDefault(),(K=u.value)===null||K===void 0||K.activate()}let X=null,re=null,le=null;function ge(){le&&(window.clearTimeout(le),le=null),X&&(window.clearInterval(X),X=null)}function me(){q&&(window.clearTimeout(q),q=null),re&&(window.clearInterval(re),re=null)}function Ae(){ge(),le=window.setTimeout(()=>{X=window.setInterval(()=>{N()},Gd)},qd),tt("mouseup",document,ge,{once:!0})}let q=null;function ve(){me(),q=window.setTimeout(()=>{re=window.setInterval(()=>{U()},Gd)},qd),tt("mouseup",document,me,{once:!0})}const $e=()=>{re||U()},Oe=()=>{X||N()};function Z(ee){var Ce,Pe;if(ee.key==="Enter"){if(ee.target===((Ce=u.value)===null||Ce===void 0?void 0:Ce.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((Pe=u.value)===null||Pe===void 0||Pe.deactivate())}else if(ee.key==="ArrowUp"){if(!O.value||e.keyboard.ArrowUp===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&U()}else if(ee.key==="ArrowDown"){if(!A.value||e.keyboard.ArrowDown===!1)return;ee.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&N()}}function ue(ee){m.value=ee,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}Je(v,()=>{P()});const be={focus:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.focus()},blur:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.blur()},select:()=>{var ee;return(ee=u.value)===null||ee===void 0?void 0:ee.select()}},De=Rt("InputNumber",r,o);return Object.assign(Object.assign({},be),{rtlEnabled:De,inputInstRef:u,minusButtonInstRef:h,addButtonInstRef:p,mergedClsPrefix:o,mergedBordered:t,uncontrolledValue:g,mergedValue:v,mergedPlaceholder:R,displayedValueInvalid:I,mergedSize:l,mergedDisabled:s,displayedValue:m,addable:O,minusable:A,mergedStatus:d,handleFocus:te,handleBlur:fe,handleClear:Y,handleMouseDown:j,handleAddClick:$e,handleMinusClick:Oe,handleAddMousedown:ve,handleMinusMousedown:Ae,handleKeyDown:Z,handleUpdateDisplayedValue:ue,mergedTheme:n,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:T(()=>{const{self:{iconColorDisabled:ee}}=n.value,[Ce,Pe,K,Q]=Co(ee);return{textColorTextDisabled:`rgb(${Ce}, ${Pe}, ${K})`,opacityDisabled:`${Q}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,o=()=>c($d,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>Bt(t["minus-icon"],()=>[c(ot,{clsPrefix:e},{default:()=>c(aS,null)})])}),r=()=>c($d,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>Bt(t["add-icon"],()=>[c(ot,{clsPrefix:e},{default:()=>c(Iu,null)})])});return c("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},c(Ga,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var n;return this.showButton&&this.buttonPlacement==="both"?[o(),Ze(t.prefix,i=>i?c("span",{class:`${e}-input-number-prefix`},i):null)]:(n=t.prefix)===null||n===void 0?void 0:n.call(t)},suffix:()=>{var n;return this.showButton?[Ze(t.suffix,i=>i?c("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?o():null,r()]:(n=t.suffix)===null||n===void 0?void 0:n.call(t)}}))}}),WT="n-layout-sider",wp={type:String,default:"static"},NT=y("layout",` + `)]),Xd=800,Yd=100,jT=Object.assign(Object.assign({},be.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),A8=re({name:"InputNumber",props:jT,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:o,mergedRtlRef:r}=He(e),n=be("InputNumber","-input-number",NT,Wh,e,o),{localeRef:i}=wo("InputNumber"),a=ko(e),{mergedSizeRef:l,mergedDisabledRef:s,mergedStatusRef:d}=a,u=E(null),h=E(null),p=E(null),g=E(e.defaultValue),f=he(e,"value"),v=$t(f,g),b=E(""),m=te=>{const ye=String(te).split(".")[1];return ye?ye.length:0},C=te=>{const ye=[e.min,e.max,e.step,te].map(Pe=>Pe===void 0?0:m(Pe));return Math.max(...ye)},R=Ye(()=>{const{placeholder:te}=e;return te!==void 0?te:i.value.placeholder}),$=Ye(()=>{const te=Pa(e.step);return te!==null?te===0?1:Math.abs(te):1}),S=Ye(()=>{const te=Pa(e.min);return te!==null?te:null}),w=Ye(()=>{const te=Pa(e.max);return te!==null?te:null}),x=te=>{const{value:ye}=v;if(te===ye){P();return}const{"onUpdate:value":Pe,onUpdateValue:K,onChange:Q}=e,{nTriggerFormInput:pe,nTriggerFormChange:V}=a;Q&&ie(Q,te),K&&ie(K,te),Pe&&ie(Pe,te),g.value=te,pe(),V()},k=({offset:te,doUpdateIfValid:ye,fixPrecision:Pe,isInputing:K})=>{const{value:Q}=b;if(K&&WT(Q))return!1;const pe=(e.parse||HT)(Q);if(pe===null)return ye&&x(null),null;if(Ra(pe)){const V=m(pe),{precision:D}=e;if(D!==void 0&&DSe){if(!ye||K)return!1;J=Se}if(Ae!==null&&J{const{value:te}=v;if(Ra(te)){const{format:ye,precision:Pe}=e;ye?b.value=ye(te):te===null||Pe===void 0||m(te)>Pe?b.value=qd(te,void 0):b.value=qd(te,Pe)}else b.value=String(te)};P();const M=Ye(()=>k({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),L=Ye(()=>{const{value:te}=v;if(e.validator&&te===null)return!1;const{value:ye}=$;return k({offset:-ye,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),I=Ye(()=>{const{value:te}=v;if(e.validator&&te===null)return!1;const{value:ye}=$;return k({offset:+ye,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function A(te){const{onFocus:ye}=e,{nTriggerFormFocus:Pe}=a;ye&&ie(ye,te),Pe()}function H(te){var ye,Pe;if(te.target===((ye=u.value)===null||ye===void 0?void 0:ye.wrapperElRef))return;const K=k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(K!==!1){const V=(Pe=u.value)===null||Pe===void 0?void 0:Pe.inputElRef;V&&(V.value=String(K||"")),v.value===K&&P()}else P();const{onBlur:Q}=e,{nTriggerFormBlur:pe}=a;Q&&ie(Q,te),pe(),ut(()=>{P()})}function _(te){const{onClear:ye}=e;ye&&ie(ye,te)}function U(){const{value:te}=I;if(!te){xe();return}const{value:ye}=v;if(ye===null)e.validator||x(ae());else{const{value:Pe}=$;k({offset:Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function N(){const{value:te}=L;if(!te){ge();return}const{value:ye}=v;if(ye===null)e.validator||x(ae());else{const{value:Pe}=$;k({offset:-Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const ee=A,ue=H;function ae(){if(e.validator)return null;const{value:te}=S,{value:ye}=w;return te!==null?Math.max(0,te):ye!==null?Math.min(0,ye):0}function Y(te){_(te),x(null)}function W(te){var ye,Pe,K;!((ye=p.value)===null||ye===void 0)&&ye.$el.contains(te.target)&&te.preventDefault(),!((Pe=h.value)===null||Pe===void 0)&&Pe.$el.contains(te.target)&&te.preventDefault(),(K=u.value)===null||K===void 0||K.activate()}let X=null,ne=null,le=null;function ge(){le&&(window.clearTimeout(le),le=null),X&&(window.clearInterval(X),X=null)}function xe(){G&&(window.clearTimeout(G),G=null),ne&&(window.clearInterval(ne),ne=null)}function Le(){ge(),le=window.setTimeout(()=>{X=window.setInterval(()=>{N()},Yd)},Xd),tt("mouseup",document,ge,{once:!0})}let G=null;function ve(){xe(),G=window.setTimeout(()=>{ne=window.setInterval(()=>{U()},Yd)},Xd),tt("mouseup",document,xe,{once:!0})}const $e=()=>{ne||U()},Me=()=>{X||N()};function Z(te){var ye,Pe;if(te.key==="Enter"){if(te.target===((ye=u.value)===null||ye===void 0?void 0:ye.wrapperElRef))return;k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((Pe=u.value)===null||Pe===void 0||Pe.deactivate())}else if(te.key==="ArrowUp"){if(!I.value||e.keyboard.ArrowUp===!1)return;te.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&U()}else if(te.key==="ArrowDown"){if(!L.value||e.keyboard.ArrowDown===!1)return;te.preventDefault(),k({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&N()}}function fe(te){b.value=te,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&k({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}Je(v,()=>{P()});const me={focus:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.focus()},blur:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.blur()},select:()=>{var te;return(te=u.value)===null||te===void 0?void 0:te.select()}},De=Rt("InputNumber",r,o);return Object.assign(Object.assign({},me),{rtlEnabled:De,inputInstRef:u,minusButtonInstRef:h,addButtonInstRef:p,mergedClsPrefix:o,mergedBordered:t,uncontrolledValue:g,mergedValue:v,mergedPlaceholder:R,displayedValueInvalid:M,mergedSize:l,mergedDisabled:s,displayedValue:b,addable:I,minusable:L,mergedStatus:d,handleFocus:ee,handleBlur:ue,handleClear:Y,handleMouseDown:W,handleAddClick:$e,handleMinusClick:Me,handleAddMousedown:ve,handleMinusMousedown:Le,handleKeyDown:Z,handleUpdateDisplayedValue:fe,mergedTheme:n,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:T(()=>{const{self:{iconColorDisabled:te}}=n.value,[ye,Pe,K,Q]=Co(te);return{textColorTextDisabled:`rgb(${ye}, ${Pe}, ${K})`,opacityDisabled:`${Q}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,o=()=>c(Pd,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>Bt(t["minus-icon"],()=>[c(ot,{clsPrefix:e},{default:()=>c(dS,null)})])}),r=()=>c(Pd,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>Bt(t["add-icon"],()=>[c(ot,{clsPrefix:e},{default:()=>c(Fu,null)})])});return c("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},c(qa,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var n;return this.showButton&&this.buttonPlacement==="both"?[o(),Ze(t.prefix,i=>i?c("span",{class:`${e}-input-number-prefix`},i):null)]:(n=t.prefix)===null||n===void 0?void 0:n.call(t)},suffix:()=>{var n;return this.showButton?[Ze(t.suffix,i=>i?c("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?o():null,r()]:(n=t.suffix)===null||n===void 0?void 0:n.call(t)}}))}}),VT="n-layout-sider",kp={type:String,default:"static"},UT=y("layout",` color: var(--n-text-color); background-color: var(--n-color); box-sizing: border-box; @@ -2575,7 +2575,7 @@ ${t} right: 0; top: 0; bottom: 0; - `)]),VT={embedded:Boolean,position:wp,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},Sp="n-layout";function kp(e){return ne({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},we.props),VT),setup(t){const o=E(null),r=E(null),{mergedClsPrefixRef:n,inlineThemeDisabled:i}=He(t),a=we("Layout","-layout",NT,Nl,t,n);function l(v,m){if(t.nativeScrollbar){const{value:b}=o;b&&(m===void 0?b.scrollTo(v):b.scrollTo(v,m))}else{const{value:b}=r;b&&b.scrollTo(v,m)}}Ue(Sp,t);let s=0,d=0;const u=v=>{var m;const b=v.target;s=b.scrollLeft,d=b.scrollTop,(m=t.onScroll)===null||m===void 0||m.call(t,v)};ul(()=>{if(t.nativeScrollbar){const v=o.value;v&&(v.scrollTop=d,v.scrollLeft=s)}});const h={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},p={scrollTo:l},g=T(()=>{const{common:{cubicBezierEaseInOut:v},self:m}=a.value;return{"--n-bezier":v,"--n-color":t.embedded?m.colorEmbedded:m.color,"--n-text-color":m.textColor}}),f=i?Qe("layout",T(()=>t.embedded?"e":""),g,t):void 0;return Object.assign({mergedClsPrefix:n,scrollableElRef:o,scrollbarInstRef:r,hasSiderStyle:h,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:g,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender},p)},render(){var t;const{mergedClsPrefix:o,hasSider:r}=this;(t=this.onRender)===null||t===void 0||t.call(this);const n=r?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${o}-layout-content`,`${o}-layout`,`${o}-layout--${this.position}-positioned`];return c("div",{class:i,style:this.cssVars},this.nativeScrollbar?c("div",{ref:"scrollableElRef",class:[`${o}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,n],onScroll:this.handleNativeElScroll},this.$slots):c(so,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,n]}),this.$slots))}})}const I8=kp(!1),F8=kp(!0),UT=y("layout-sider",` + `)]),KT={embedded:Boolean,position:kp,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},$p="n-layout";function Rp(e){return re({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},be.props),KT),setup(t){const o=E(null),r=E(null),{mergedClsPrefixRef:n,inlineThemeDisabled:i}=He(t),a=be("Layout","-layout",UT,Vl,t,n);function l(v,b){if(t.nativeScrollbar){const{value:m}=o;m&&(b===void 0?m.scrollTo(v):m.scrollTo(v,b))}else{const{value:m}=r;m&&m.scrollTo(v,b)}}Ue($p,t);let s=0,d=0;const u=v=>{var b;const m=v.target;s=m.scrollLeft,d=m.scrollTop,(b=t.onScroll)===null||b===void 0||b.call(t,v)};fl(()=>{if(t.nativeScrollbar){const v=o.value;v&&(v.scrollTop=d,v.scrollLeft=s)}});const h={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},p={scrollTo:l},g=T(()=>{const{common:{cubicBezierEaseInOut:v},self:b}=a.value;return{"--n-bezier":v,"--n-color":t.embedded?b.colorEmbedded:b.color,"--n-text-color":b.textColor}}),f=i?Qe("layout",T(()=>t.embedded?"e":""),g,t):void 0;return Object.assign({mergedClsPrefix:n,scrollableElRef:o,scrollbarInstRef:r,hasSiderStyle:h,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:g,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender},p)},render(){var t;const{mergedClsPrefix:o,hasSider:r}=this;(t=this.onRender)===null||t===void 0||t.call(this);const n=r?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${o}-layout-content`,`${o}-layout`,`${o}-layout--${this.position}-positioned`];return c("div",{class:i,style:this.cssVars},this.nativeScrollbar?c("div",{ref:"scrollableElRef",class:[`${o}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,n],onScroll:this.handleNativeElScroll},this.$slots):c(so,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,n]}),this.$slots))}})}const _8=Rp(!1),D8=Rp(!0),GT=y("layout-sider",` flex-shrink: 0; box-sizing: border-box; position: relative; @@ -2591,7 +2591,7 @@ ${t} background-color: var(--n-color); display: flex; justify-content: flex-end; -`,[B("bordered",[M("border",` +`,[B("bordered",[O("border",` content: ""; position: absolute; top: 0; @@ -2599,15 +2599,15 @@ ${t} width: 1px; background-color: var(--n-border-color); transition: background-color .3s var(--n-bezier); - `)]),M("left-placement",[B("bordered",[M("border",` + `)]),O("left-placement",[B("bordered",[O("border",` right: 0; `)])]),B("right-placement",` justify-content: flex-start; - `,[B("bordered",[M("border",` + `,[B("bordered",[O("border",` left: 0; `)]),B("collapsed",[y("layout-toggle-button",[y("base-icon",` transform: rotate(180deg); - `)]),y("layout-toggle-bar",[z("&:hover",[M("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),y("layout-toggle-button",` + `)]),y("layout-toggle-bar",[z("&:hover",[O("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),O("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),y("layout-toggle-button",` left: 0; transform: translateX(-50%) translateY(-50%); `,[y("base-icon",` @@ -2615,7 +2615,7 @@ ${t} `)]),y("layout-toggle-bar",` left: -28px; transform: rotate(180deg); - `,[z("&:hover",[M("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),B("collapsed",[y("layout-toggle-bar",[z("&:hover",[M("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),y("layout-toggle-button",[y("base-icon",` + `,[z("&:hover",[O("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),O("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),B("collapsed",[y("layout-toggle-bar",[z("&:hover",[O("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),O("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),y("layout-toggle-button",[y("base-icon",` transform: rotate(0); `)])]),y("layout-toggle-button",` transition: @@ -2651,7 +2651,7 @@ ${t} position: absolute; top: calc(50% - 36px); right: -28px; - `,[M("top, bottom",` + `,[O("top, bottom",` position: absolute; width: 4px; border-radius: 2px; @@ -2660,10 +2660,10 @@ ${t} transition: background-color .3s var(--n-bezier), transform .3s var(--n-bezier); - `),M("bottom",` + `),O("bottom",` position: absolute; top: 34px; - `),z("&:hover",[M("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),M("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),M("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),z("&:hover",[M("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),M("border",` + `),z("&:hover",[O("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),O("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),O("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),z("&:hover",[O("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),O("border",` position: absolute; top: 0; right: 0; @@ -2683,7 +2683,7 @@ ${t} left: 0; top: 0; bottom: 0; - `)]),KT=ne({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return c("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},c(ot,{clsPrefix:e},{default:()=>c(kl,null)}))}}),qT=ne({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return c("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},c("div",{class:`${e}-layout-toggle-bar__top`}),c("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),GT={position:wp,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},E8=ne({name:"LayoutSider",props:Object.assign(Object.assign({},we.props),GT),setup(e){const t=Te(Sp),o=E(null),r=E(null),n=T(()=>mt(s.value?e.collapsedWidth:e.width)),i=T(()=>e.collapseMode!=="transform"?{}:{minWidth:mt(e.width)}),a=T(()=>t?t.siderPlacement:"left"),l=E(e.defaultCollapsed),s=$t(he(e,"collapsed"),l);function d(S,w){if(e.nativeScrollbar){const{value:x}=o;x&&(w===void 0?x.scrollTo(S):x.scrollTo(S,w))}else{const{value:x}=r;x&&x.scrollTo(S,w)}}function u(){const{"onUpdate:collapsed":S,onUpdateCollapsed:w,onExpand:x,onCollapse:k}=e,{value:P}=s;w&&ie(w,!P),S&&ie(S,!P),l.value=!P,P?x&&ie(x):k&&ie(k)}let h=0,p=0;const g=S=>{var w;const x=S.target;h=x.scrollLeft,p=x.scrollTop,(w=e.onScroll)===null||w===void 0||w.call(e,S)};ul(()=>{if(e.nativeScrollbar){const S=o.value;S&&(S.scrollTop=p,S.scrollLeft=h)}}),Ue(WT,{collapsedRef:s,collapseModeRef:he(e,"collapseMode")});const{mergedClsPrefixRef:f,inlineThemeDisabled:v}=He(e),m=we("Layout","-layout-sider",UT,Nl,e,f);function b(S){var w,x;S.propertyName==="max-width"&&(s.value?(w=e.onAfterLeave)===null||w===void 0||w.call(e):(x=e.onAfterEnter)===null||x===void 0||x.call(e))}const C={scrollTo:d},R=T(()=>{const{common:{cubicBezierEaseInOut:S},self:w}=m.value,{siderToggleButtonColor:x,siderToggleButtonBorder:k,siderToggleBarColor:P,siderToggleBarColorHover:I}=w,A={"--n-bezier":S,"--n-toggle-button-color":x,"--n-toggle-button-border":k,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":I};return e.inverted?(A["--n-color"]=w.siderColorInverted,A["--n-text-color"]=w.textColorInverted,A["--n-border-color"]=w.siderBorderColorInverted,A["--n-toggle-button-icon-color"]=w.siderToggleButtonIconColorInverted,A.__invertScrollbar=w.__invertScrollbar):(A["--n-color"]=w.siderColor,A["--n-text-color"]=w.textColor,A["--n-border-color"]=w.siderBorderColor,A["--n-toggle-button-icon-color"]=w.siderToggleButtonIconColor),A}),$=v?Qe("layout-sider",T(()=>e.inverted?"a":"b"),R,e):void 0;return Object.assign({scrollableElRef:o,scrollbarInstRef:r,mergedClsPrefix:f,mergedTheme:m,styleMaxWidth:n,mergedCollapsed:s,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:g,handleTransitionend:b,handleTriggerClick:u,inlineThemeDisabled:v,cssVars:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender},C)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:o,showTrigger:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,o&&`${t}-layout-sider--collapsed`,(!o||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:mt(this.width)}]},this.nativeScrollbar?c("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):c(so,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),r?r==="bar"?c(qT,{clsPrefix:t,class:o?this.collapsedTriggerClass:this.triggerClass,style:o?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):c(KT,{clsPrefix:t,class:o?this.collapsedTriggerClass:this.triggerClass,style:o?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?c("div",{class:`${t}-layout-sider__border`}):null)}}),$p={extraFontSize:"12px",width:"440px"},XT={name:"Transfer",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Input:Jt,Empty:xr,Button:jt},self(e){const{iconColorDisabled:t,iconColor:o,fontWeight:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:u,inputColor:h,tableHeaderColor:p,textColor1:g,textColorDisabled:f,textColor2:v,hoverColor:m}=e;return Object.assign(Object.assign({},$p),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:"#0000",listColor:h,headerColor:p,titleTextColor:g,titleTextColorDisabled:f,extraTextColor:v,filterDividerColor:"#0000",itemTextColor:v,itemTextColorDisabled:f,itemColorPending:m,titleFontWeight:r,iconColor:o,iconColorDisabled:t})}},YT=XT,ZT=e=>{const{fontWeight:t,iconColorDisabled:o,iconColor:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:u,cardColor:h,tableHeaderColor:p,textColor1:g,textColorDisabled:f,textColor2:v,borderColor:m,hoverColor:b}=e;return Object.assign(Object.assign({},$p),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:m,listColor:h,headerColor:Ee(h,p),titleTextColor:g,titleTextColorDisabled:f,extraTextColor:v,filterDividerColor:m,itemTextColor:v,itemTextColorDisabled:f,itemColorPending:b,titleFontWeight:t,iconColor:r,iconColorDisabled:o})},JT={name:"Transfer",common:xe,peers:{Checkbox:yr,Scrollbar:Et,Input:Ht,Empty:$o,Button:At},self:ZT},QT=JT,Rp="n-loading-bar",Pp="n-loading-bar-api",e6=y("loading-bar-container",` + `)]),qT=re({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return c("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},c(ot,{clsPrefix:e},{default:()=>c($l,null)}))}}),XT=re({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return c("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},c("div",{class:`${e}-layout-toggle-bar__top`}),c("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),YT={position:kp,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},H8=re({name:"LayoutSider",props:Object.assign(Object.assign({},be.props),YT),setup(e){const t=Te($p),o=E(null),r=E(null),n=T(()=>bt(s.value?e.collapsedWidth:e.width)),i=T(()=>e.collapseMode!=="transform"?{}:{minWidth:bt(e.width)}),a=T(()=>t?t.siderPlacement:"left"),l=E(e.defaultCollapsed),s=$t(he(e,"collapsed"),l);function d(S,w){if(e.nativeScrollbar){const{value:x}=o;x&&(w===void 0?x.scrollTo(S):x.scrollTo(S,w))}else{const{value:x}=r;x&&x.scrollTo(S,w)}}function u(){const{"onUpdate:collapsed":S,onUpdateCollapsed:w,onExpand:x,onCollapse:k}=e,{value:P}=s;w&&ie(w,!P),S&&ie(S,!P),l.value=!P,P?x&&ie(x):k&&ie(k)}let h=0,p=0;const g=S=>{var w;const x=S.target;h=x.scrollLeft,p=x.scrollTop,(w=e.onScroll)===null||w===void 0||w.call(e,S)};fl(()=>{if(e.nativeScrollbar){const S=o.value;S&&(S.scrollTop=p,S.scrollLeft=h)}}),Ue(VT,{collapsedRef:s,collapseModeRef:he(e,"collapseMode")});const{mergedClsPrefixRef:f,inlineThemeDisabled:v}=He(e),b=be("Layout","-layout-sider",GT,Vl,e,f);function m(S){var w,x;S.propertyName==="max-width"&&(s.value?(w=e.onAfterLeave)===null||w===void 0||w.call(e):(x=e.onAfterEnter)===null||x===void 0||x.call(e))}const C={scrollTo:d},R=T(()=>{const{common:{cubicBezierEaseInOut:S},self:w}=b.value,{siderToggleButtonColor:x,siderToggleButtonBorder:k,siderToggleBarColor:P,siderToggleBarColorHover:M}=w,L={"--n-bezier":S,"--n-toggle-button-color":x,"--n-toggle-button-border":k,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":M};return e.inverted?(L["--n-color"]=w.siderColorInverted,L["--n-text-color"]=w.textColorInverted,L["--n-border-color"]=w.siderBorderColorInverted,L["--n-toggle-button-icon-color"]=w.siderToggleButtonIconColorInverted,L.__invertScrollbar=w.__invertScrollbar):(L["--n-color"]=w.siderColor,L["--n-text-color"]=w.textColor,L["--n-border-color"]=w.siderBorderColor,L["--n-toggle-button-icon-color"]=w.siderToggleButtonIconColor),L}),$=v?Qe("layout-sider",T(()=>e.inverted?"a":"b"),R,e):void 0;return Object.assign({scrollableElRef:o,scrollbarInstRef:r,mergedClsPrefix:f,mergedTheme:b,styleMaxWidth:n,mergedCollapsed:s,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:g,handleTransitionend:m,handleTriggerClick:u,inlineThemeDisabled:v,cssVars:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender},C)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:o,showTrigger:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,o&&`${t}-layout-sider--collapsed`,(!o||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:bt(this.width)}]},this.nativeScrollbar?c("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):c(so,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),r?r==="bar"?c(XT,{clsPrefix:t,class:o?this.collapsedTriggerClass:this.triggerClass,style:o?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):c(qT,{clsPrefix:t,class:o?this.collapsedTriggerClass:this.triggerClass,style:o?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?c("div",{class:`${t}-layout-sider__border`}):null)}}),Pp={extraFontSize:"12px",width:"440px"},ZT={name:"Transfer",common:ke,peers:{Checkbox:Zr,Scrollbar:Dt,Input:Jt,Empty:xr,Button:Wt},self(e){const{iconColorDisabled:t,iconColor:o,fontWeight:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:u,inputColor:h,tableHeaderColor:p,textColor1:g,textColorDisabled:f,textColor2:v,hoverColor:b}=e;return Object.assign(Object.assign({},Pp),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:"#0000",listColor:h,headerColor:p,titleTextColor:g,titleTextColorDisabled:f,extraTextColor:v,filterDividerColor:"#0000",itemTextColor:v,itemTextColorDisabled:f,itemColorPending:b,titleFontWeight:r,iconColor:o,iconColorDisabled:t})}},JT=ZT,QT=e=>{const{fontWeight:t,iconColorDisabled:o,iconColor:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:d,borderRadius:u,cardColor:h,tableHeaderColor:p,textColor1:g,textColorDisabled:f,textColor2:v,borderColor:b,hoverColor:m}=e;return Object.assign(Object.assign({},Pp),{itemHeightSmall:d,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:b,listColor:h,headerColor:Ee(h,p),titleTextColor:g,titleTextColorDisabled:f,extraTextColor:v,filterDividerColor:b,itemTextColor:v,itemTextColorDisabled:f,itemColorPending:m,titleFontWeight:t,iconColor:r,iconColorDisabled:o})},e6={name:"Transfer",common:Ce,peers:{Checkbox:yr,Scrollbar:Et,Input:Ht,Empty:Ro,Button:Lt},self:QT},t6=e6,zp="n-loading-bar",Tp="n-loading-bar-api",o6=y("loading-bar-container",` z-index: 5999; position: fixed; top: 0; @@ -2708,12 +2708,12 @@ ${t} transition: max-width .2s linear, background .2s linear; - `)])]);var ei=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};function ti(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const t6=ne({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=He(),{props:t,mergedClsPrefixRef:o}=Te(Rp),r=E(null),n=E(!1),i=E(!1),a=E(!1),l=E(!1);let s=!1;const d=E(!1),u=T(()=>{const{loadingBarStyle:S}=t;return S?S[d.value?"error":"loading"]:""});function h(){return ei(this,void 0,void 0,function*(){n.value=!1,a.value=!1,s=!1,d.value=!1,l.value=!0,yield ut(),l.value=!1})}function p(S=0,w=80,x="starting"){return ei(this,void 0,void 0,function*(){if(i.value=!0,yield h(),s)return;a.value=!0,yield ut();const k=r.value;k&&(k.style.maxWidth=`${S}%`,k.style.transition="none",k.offsetWidth,k.className=ti(x,o.value),k.style.transition="",k.style.maxWidth=`${w}%`)})}function g(){return ei(this,void 0,void 0,function*(){if(s||d.value)return;i.value&&(yield ut()),s=!0;const S=r.value;S&&(S.className=ti("finishing",o.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1)})}function f(){if(!(s||d.value))if(!a.value)p(100,100,"error").then(()=>{d.value=!0;const S=r.value;S&&(S.className=ti("error",o.value),S.offsetWidth,a.value=!1)});else{d.value=!0;const S=r.value;if(!S)return;S.className=ti("error",o.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1}}function v(){n.value=!0}function m(){n.value=!1}function b(){return ei(this,void 0,void 0,function*(){yield h()})}const C=we("LoadingBar","-loading-bar",e6,Wh,t,o),R=T(()=>{const{self:{height:S,colorError:w,colorLoading:x}}=C.value;return{"--n-height":S,"--n-color-loading":x,"--n-color-error":w}}),$=e?Qe("loading-bar",void 0,R,t):void 0;return{mergedClsPrefix:o,loadingBarRef:r,started:i,loading:a,entering:n,transitionDisabled:l,start:p,error:f,finish:g,handleEnter:v,handleAfterEnter:m,handleAfterLeave:b,mergedLoadingBarStyle:u,cssVars:e?void 0:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return c(kt,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),It(c("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},c("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[ao,this.loading||!this.loading&&this.entering]])}})}}),o6=Object.assign(Object.assign({},we.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),A8=ne({name:"LoadingBarProvider",props:o6,setup(e){const t=Ao(),o=E(null),r={start(){var i;t.value?(i=o.value)===null||i===void 0||i.start():ut(()=>{var a;(a=o.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=o.value)===null||i===void 0||i.error():ut(()=>{var a;(a=o.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=o.value)===null||i===void 0||i.finish():ut(()=>{var a;(a=o.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:n}=He(e);return Ue(Pp,r),Ue(Rp,{props:e,mergedClsPrefixRef:n}),Object.assign(r,{loadingBarRef:o})},render(){var e,t;return c(yt,null,c(yi,{disabled:this.to===!1,to:this.to||"body"},c(t6,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function L8(){const e=Te(Pp,null);return e===null&&hr("use-loading-bar","No outer founded."),e}const zp={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},Tp="n-message-api",Bp="n-message-provider",r6=z([y("message-wrapper",` + `)])]);var ei=globalThis&&globalThis.__awaiter||function(e,t,o,r){function n(i){return i instanceof o?i:new o(function(a){a(i)})}return new(o||(o=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(h){a(h)}}function s(u){try{d(r.throw(u))}catch(h){a(h)}}function d(u){u.done?i(u.value):n(u.value).then(l,s)}d((r=r.apply(e,t||[])).next())})};function ti(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const r6=re({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=He(),{props:t,mergedClsPrefixRef:o}=Te(zp),r=E(null),n=E(!1),i=E(!1),a=E(!1),l=E(!1);let s=!1;const d=E(!1),u=T(()=>{const{loadingBarStyle:S}=t;return S?S[d.value?"error":"loading"]:""});function h(){return ei(this,void 0,void 0,function*(){n.value=!1,a.value=!1,s=!1,d.value=!1,l.value=!0,yield ut(),l.value=!1})}function p(S=0,w=80,x="starting"){return ei(this,void 0,void 0,function*(){if(i.value=!0,yield h(),s)return;a.value=!0,yield ut();const k=r.value;k&&(k.style.maxWidth=`${S}%`,k.style.transition="none",k.offsetWidth,k.className=ti(x,o.value),k.style.transition="",k.style.maxWidth=`${w}%`)})}function g(){return ei(this,void 0,void 0,function*(){if(s||d.value)return;i.value&&(yield ut()),s=!0;const S=r.value;S&&(S.className=ti("finishing",o.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1)})}function f(){if(!(s||d.value))if(!a.value)p(100,100,"error").then(()=>{d.value=!0;const S=r.value;S&&(S.className=ti("error",o.value),S.offsetWidth,a.value=!1)});else{d.value=!0;const S=r.value;if(!S)return;S.className=ti("error",o.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1}}function v(){n.value=!0}function b(){n.value=!1}function m(){return ei(this,void 0,void 0,function*(){yield h()})}const C=be("LoadingBar","-loading-bar",o6,jh,t,o),R=T(()=>{const{self:{height:S,colorError:w,colorLoading:x}}=C.value;return{"--n-height":S,"--n-color-loading":x,"--n-color-error":w}}),$=e?Qe("loading-bar",void 0,R,t):void 0;return{mergedClsPrefix:o,loadingBarRef:r,started:i,loading:a,entering:n,transitionDisabled:l,start:p,error:f,finish:g,handleEnter:v,handleAfterEnter:b,handleAfterLeave:m,mergedLoadingBarStyle:u,cssVars:e?void 0:R,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return c(kt,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),It(c("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},c("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[ao,this.loading||!this.loading&&this.entering]])}})}}),n6=Object.assign(Object.assign({},be.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),W8=re({name:"LoadingBarProvider",props:n6,setup(e){const t=Lo(),o=E(null),r={start(){var i;t.value?(i=o.value)===null||i===void 0||i.start():ut(()=>{var a;(a=o.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=o.value)===null||i===void 0||i.error():ut(()=>{var a;(a=o.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=o.value)===null||i===void 0||i.finish():ut(()=>{var a;(a=o.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:n}=He(e);return Ue(Tp,r),Ue(zp,{props:e,mergedClsPrefixRef:n}),Object.assign(r,{loadingBarRef:o})},render(){var e,t;return c(yt,null,c(yi,{disabled:this.to===!1,to:this.to||"body"},c(r6,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function N8(){const e=Te(Tp,null);return e===null&&hr("use-loading-bar","No outer founded."),e}const Bp={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},Op="n-message-api",Mp="n-message-provider",i6=z([y("message-wrapper",` margin: var(--n-margin); z-index: 0; transform-origin: top center; display: flex; - `,[j2({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),y("message",` + `,[V2({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),y("message",` box-sizing: border-box; display: flex; align-items: center; @@ -2732,11 +2732,11 @@ ${t} color: var(--n-text-color); background-color: var(--n-color); box-shadow: var(--n-box-shadow); - `,[M("content",` + `,[O("content",` display: inline-block; line-height: var(--n-line-height); font-size: var(--n-font-size); - `),M("icon",` + `),O("icon",` position: relative; margin: var(--n-icon-margin); height: var(--n-icon-size); @@ -2752,7 +2752,7 @@ ${t} top: 0; right: 0; bottom: 0; - `,[Wt()])]),M("close",` + `,[Nt()])]),O("close",` margin: var(--n-close-margin); transition: background-color .3s var(--n-bezier), @@ -2801,7 +2801,7 @@ ${t} right: 12px; justify-content: flex-end; align-items: flex-end; - `)])]),n6={info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null),default:()=>null},i6=ne({name:"Message",props:Object.assign(Object.assign({},zp),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:o}=He(e),{props:r,mergedClsPrefixRef:n}=Te(Bp),i=Rt("Message",o,n),a=we("Message","-message",r6,Dh,r,n),l=T(()=>{const{type:d}=e,{common:{cubicBezierEaseInOut:u},self:{padding:h,margin:p,maxWidth:g,iconMargin:f,closeMargin:v,closeSize:m,iconSize:b,fontSize:C,lineHeight:R,borderRadius:$,iconColorInfo:S,iconColorSuccess:w,iconColorWarning:x,iconColorError:k,iconColorLoading:P,closeIconSize:I,closeBorderRadius:A,[oe("textColor",d)]:O,[oe("boxShadow",d)]:L,[oe("color",d)]:H,[oe("closeColorHover",d)]:_,[oe("closeColorPressed",d)]:U,[oe("closeIconColor",d)]:N,[oe("closeIconColorPressed",d)]:te,[oe("closeIconColorHover",d)]:fe}}=a.value;return{"--n-bezier":u,"--n-margin":p,"--n-padding":h,"--n-max-width":g,"--n-font-size":C,"--n-icon-margin":f,"--n-icon-size":b,"--n-close-icon-size":I,"--n-close-border-radius":A,"--n-close-size":m,"--n-close-margin":v,"--n-text-color":O,"--n-color":H,"--n-box-shadow":L,"--n-icon-color-info":S,"--n-icon-color-success":w,"--n-icon-color-warning":x,"--n-icon-color-error":k,"--n-icon-color-loading":P,"--n-close-color-hover":_,"--n-close-color-pressed":U,"--n-close-icon-color":N,"--n-close-icon-color-pressed":te,"--n-close-icon-color-hover":fe,"--n-line-height":R,"--n-border-radius":$}}),s=t?Qe("message",T(()=>e.type[0]),l,{}):void 0;return{mergedClsPrefix:n,rtlEnabled:i,messageProviderProps:r,handleClose(){var d;(d=e.onClose)===null||d===void 0||d.call(e)},cssVars:t?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender,placement:r.placement}},render(){const{render:e,type:t,closable:o,content:r,mergedClsPrefix:n,cssVars:i,themeClass:a,onRender:l,icon:s,handleClose:d,showIcon:u}=this;l==null||l();let h;return c("div",{class:[`${n}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):c("div",{class:[`${n}-message ${n}-message--${t}-type`,this.rtlEnabled&&`${n}-message--rtl`]},(h=a6(s,t,n))&&u?c("div",{class:`${n}-message__icon ${n}-message__icon--${t}-type`},c(br,null,{default:()=>h})):null,c("div",{class:`${n}-message__content`},pt(r)),o?c(mr,{clsPrefix:n,class:`${n}-message__close`,onClick:d,absolute:!0}):null))}});function a6(e,t,o){if(typeof e=="function")return e();{const r=t==="loading"?c(Yo,{clsPrefix:o,strokeWidth:24,scale:.85}):n6[t]();return r?c(ot,{clsPrefix:o,key:t},{default:()=>r}):null}}const l6=ne({name:"MessageEnvironment",props:Object.assign(Object.assign({},zp),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const o=E(!0);gt(()=>{r()});function r(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function n(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&r()}function a(){const{onHide:u}=e;o.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function l(){const{onClose:u}=e;u&&u(),a()}function s(){const{onAfterLeave:u,onInternalAfterLeave:h,onAfterHide:p,internalKey:g}=e;u&&u(),h&&h(g),p&&p()}function d(){a()}return{show:o,hide:a,handleClose:l,handleAfterLeave:s,handleMouseleave:i,handleMouseenter:n,deactivate:d}},render(){return c(Eu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?c(i6,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),s6=Object.assign(Object.assign({},we.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),_8=ne({name:"MessageProvider",props:s6,setup(e){const{mergedClsPrefixRef:t}=He(e),o=E([]),r=E({}),n={create(s,d){return i(s,Object.assign({type:"default"},d))},info(s,d){return i(s,Object.assign(Object.assign({},d),{type:"info"}))},success(s,d){return i(s,Object.assign(Object.assign({},d),{type:"success"}))},warning(s,d){return i(s,Object.assign(Object.assign({},d),{type:"warning"}))},error(s,d){return i(s,Object.assign(Object.assign({},d),{type:"error"}))},loading(s,d){return i(s,Object.assign(Object.assign({},d),{type:"loading"}))},destroyAll:l};Ue(Bp,{props:e,mergedClsPrefixRef:t}),Ue(Tp,n);function i(s,d){const u=Vo(),h=Ci(Object.assign(Object.assign({},d),{content:s,key:u,destroy:()=>{var g;(g=r.value[u])===null||g===void 0||g.hide()}})),{max:p}=e;return p&&o.value.length>=p&&o.value.shift(),o.value.push(h),h}function a(s){o.value.splice(o.value.findIndex(d=>d.key===s),1),delete r.value[s]}function l(){Object.values(r.value).forEach(s=>{s.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:r,messageList:o,handleAfterLeave:a},n)},render(){var e,t,o;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?c(yi,{to:(o=this.to)!==null&&o!==void 0?o:"body"},c("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(r=>c(l6,Object.assign({ref:n=>{n&&(this.messageRefs[r.key]=n)},internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave},fr(r,["destroy"],void 0),{duration:r.duration===void 0?this.duration:r.duration,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover,closable:r.closable===void 0?this.closable:r.closable}))))):null)}});function D8(){const e=Te(Tp,null);return e===null&&hr("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Vi="n-notification-provider",d6=ne({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:o}=Te(Vi),r=E(null);return vt(()=>{var n,i;o.value>0?(n=r==null?void 0:r.value)===null||n===void 0||n.classList.add("transitioning"):(i=r==null?void 0:r.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:r,mergedTheme:e,mergedClsPrefix:t,transitioning:o}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:o,mergedTheme:r,placement:n}=this;return c("div",{ref:"selfRef",class:[`${o}-notification-container`,t&&`${o}-notification-container--scrollable`,`${o}-notification-container--${n}`]},t?c(so,{theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),c6={info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null),default:()=>null},Vl={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},u6=Uo(Vl),f6=ne({name:"Notification",props:Vl,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:o,props:r}=Te(Vi),{inlineThemeDisabled:n,mergedRtlRef:i}=He(),a=Rt("Notification",i,t),l=T(()=>{const{type:d}=e,{self:{color:u,textColor:h,closeIconColor:p,closeIconColorHover:g,closeIconColorPressed:f,headerTextColor:v,descriptionTextColor:m,actionTextColor:b,borderRadius:C,headerFontWeight:R,boxShadow:$,lineHeight:S,fontSize:w,closeMargin:x,closeSize:k,width:P,padding:I,closeIconSize:A,closeBorderRadius:O,closeColorHover:L,closeColorPressed:H,titleFontSize:_,metaFontSize:U,descriptionFontSize:N,[oe("iconColor",d)]:te},common:{cubicBezierEaseOut:fe,cubicBezierEaseIn:ae,cubicBezierEaseInOut:Y}}=o.value,{left:j,right:X,top:re,bottom:le}=_t(I);return{"--n-color":u,"--n-font-size":w,"--n-text-color":h,"--n-description-text-color":m,"--n-action-text-color":b,"--n-title-text-color":v,"--n-title-font-weight":R,"--n-bezier":Y,"--n-bezier-ease-out":fe,"--n-bezier-ease-in":ae,"--n-border-radius":C,"--n-box-shadow":$,"--n-close-border-radius":O,"--n-close-color-hover":L,"--n-close-color-pressed":H,"--n-close-icon-color":p,"--n-close-icon-color-hover":g,"--n-close-icon-color-pressed":f,"--n-line-height":S,"--n-icon-color":te,"--n-close-margin":x,"--n-close-size":k,"--n-close-icon-size":A,"--n-width":P,"--n-padding-left":j,"--n-padding-right":X,"--n-padding-top":re,"--n-padding-bottom":le,"--n-title-font-size":_,"--n-meta-font-size":U,"--n-description-font-size":N}}),s=n?Qe("notification",T(()=>e.type[0]),l,r):void 0;return{mergedClsPrefix:t,showAvatar:T(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:n?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},c("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?c("div",{class:`${t}-notification__avatar`},this.avatar?pt(this.avatar):this.type!=="default"?c(ot,{clsPrefix:t},{default:()=>c6[this.type]()}):null):null,this.closable?c(mr,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,c("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?c("div",{class:`${t}-notification-main__header`},pt(this.title)):null,this.description?c("div",{class:`${t}-notification-main__description`},pt(this.description)):null,this.content?c("pre",{class:`${t}-notification-main__content`},pt(this.content)):null,this.meta||this.action?c("div",{class:`${t}-notification-main-footer`},this.meta?c("div",{class:`${t}-notification-main-footer__meta`},pt(this.meta)):null,this.action?c("div",{class:`${t}-notification-main-footer__action`},pt(this.action)):null):null)))}}),h6=Object.assign(Object.assign({},Vl),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),p6=ne({name:"NotificationEnvironment",props:Object.assign(Object.assign({},h6),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Te(Vi),o=E(!0);let r=null;function n(){o.value=!1,r&&window.clearTimeout(r)}function i(f){t.value++,ut(()=>{f.style.height=`${f.offsetHeight}px`,f.style.maxHeight="0",f.style.transition="none",f.offsetHeight,f.style.transition="",f.style.maxHeight=f.style.height})}function a(f){t.value--,f.style.height="",f.style.maxHeight="";const{onAfterEnter:v,onAfterShow:m}=e;v&&v(),m&&m()}function l(f){t.value++,f.style.maxHeight=`${f.offsetHeight}px`,f.style.height=`${f.offsetHeight}px`,f.offsetHeight}function s(f){const{onHide:v}=e;v&&v(),f.style.maxHeight="0",f.offsetHeight}function d(){t.value--;const{onAfterLeave:f,onInternalAfterLeave:v,onAfterHide:m,internalKey:b}=e;f&&f(),v(b),m&&m()}function u(){const{duration:f}=e;f&&(r=window.setTimeout(n,f))}function h(f){f.currentTarget===f.target&&r!==null&&(window.clearTimeout(r),r=null)}function p(f){f.currentTarget===f.target&&u()}function g(){const{onClose:f}=e;f?Promise.resolve(f()).then(v=>{v!==!1&&n()}):n()}return gt(()=>{e.duration&&(r=window.setTimeout(n,e.duration))}),{show:o,hide:n,handleClose:g,handleAfterLeave:d,handleLeave:s,handleBeforeLeave:l,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:h,handleMouseleave:p}},render(){return c(kt,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?c(f6,Object.assign({},Io(this.$props,u6),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),v6=z([y("notification-container",` + `)])]),a6={info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null),default:()=>null},l6=re({name:"Message",props:Object.assign(Object.assign({},Bp),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:o}=He(e),{props:r,mergedClsPrefixRef:n}=Te(Mp),i=Rt("Message",o,n),a=be("Message","-message",i6,Hh,r,n),l=T(()=>{const{type:d}=e,{common:{cubicBezierEaseInOut:u},self:{padding:h,margin:p,maxWidth:g,iconMargin:f,closeMargin:v,closeSize:b,iconSize:m,fontSize:C,lineHeight:R,borderRadius:$,iconColorInfo:S,iconColorSuccess:w,iconColorWarning:x,iconColorError:k,iconColorLoading:P,closeIconSize:M,closeBorderRadius:L,[oe("textColor",d)]:I,[oe("boxShadow",d)]:A,[oe("color",d)]:H,[oe("closeColorHover",d)]:_,[oe("closeColorPressed",d)]:U,[oe("closeIconColor",d)]:N,[oe("closeIconColorPressed",d)]:ee,[oe("closeIconColorHover",d)]:ue}}=a.value;return{"--n-bezier":u,"--n-margin":p,"--n-padding":h,"--n-max-width":g,"--n-font-size":C,"--n-icon-margin":f,"--n-icon-size":m,"--n-close-icon-size":M,"--n-close-border-radius":L,"--n-close-size":b,"--n-close-margin":v,"--n-text-color":I,"--n-color":H,"--n-box-shadow":A,"--n-icon-color-info":S,"--n-icon-color-success":w,"--n-icon-color-warning":x,"--n-icon-color-error":k,"--n-icon-color-loading":P,"--n-close-color-hover":_,"--n-close-color-pressed":U,"--n-close-icon-color":N,"--n-close-icon-color-pressed":ee,"--n-close-icon-color-hover":ue,"--n-line-height":R,"--n-border-radius":$}}),s=t?Qe("message",T(()=>e.type[0]),l,{}):void 0;return{mergedClsPrefix:n,rtlEnabled:i,messageProviderProps:r,handleClose(){var d;(d=e.onClose)===null||d===void 0||d.call(e)},cssVars:t?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender,placement:r.placement}},render(){const{render:e,type:t,closable:o,content:r,mergedClsPrefix:n,cssVars:i,themeClass:a,onRender:l,icon:s,handleClose:d,showIcon:u}=this;l==null||l();let h;return c("div",{class:[`${n}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):c("div",{class:[`${n}-message ${n}-message--${t}-type`,this.rtlEnabled&&`${n}-message--rtl`]},(h=s6(s,t,n))&&u?c("div",{class:`${n}-message__icon ${n}-message__icon--${t}-type`},c(mr,null,{default:()=>h})):null,c("div",{class:`${n}-message__content`},vt(r)),o?c(br,{clsPrefix:n,class:`${n}-message__close`,onClick:d,absolute:!0}):null))}});function s6(e,t,o){if(typeof e=="function")return e();{const r=t==="loading"?c(Yo,{clsPrefix:o,strokeWidth:24,scale:.85}):a6[t]();return r?c(ot,{clsPrefix:o,key:t},{default:()=>r}):null}}const d6=re({name:"MessageEnvironment",props:Object.assign(Object.assign({},Bp),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const o=E(!0);gt(()=>{r()});function r(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function n(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&r()}function a(){const{onHide:u}=e;o.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function l(){const{onClose:u}=e;u&&u(),a()}function s(){const{onAfterLeave:u,onInternalAfterLeave:h,onAfterHide:p,internalKey:g}=e;u&&u(),h&&h(g),p&&p()}function d(){a()}return{show:o,hide:a,handleClose:l,handleAfterLeave:s,handleMouseleave:i,handleMouseenter:n,deactivate:d}},render(){return c(Lu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?c(l6,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),c6=Object.assign(Object.assign({},be.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),j8=re({name:"MessageProvider",props:c6,setup(e){const{mergedClsPrefixRef:t}=He(e),o=E([]),r=E({}),n={create(s,d){return i(s,Object.assign({type:"default"},d))},info(s,d){return i(s,Object.assign(Object.assign({},d),{type:"info"}))},success(s,d){return i(s,Object.assign(Object.assign({},d),{type:"success"}))},warning(s,d){return i(s,Object.assign(Object.assign({},d),{type:"warning"}))},error(s,d){return i(s,Object.assign(Object.assign({},d),{type:"error"}))},loading(s,d){return i(s,Object.assign(Object.assign({},d),{type:"loading"}))},destroyAll:l};Ue(Mp,{props:e,mergedClsPrefixRef:t}),Ue(Op,n);function i(s,d){const u=Vo(),h=Ci(Object.assign(Object.assign({},d),{content:s,key:u,destroy:()=>{var g;(g=r.value[u])===null||g===void 0||g.hide()}})),{max:p}=e;return p&&o.value.length>=p&&o.value.shift(),o.value.push(h),h}function a(s){o.value.splice(o.value.findIndex(d=>d.key===s),1),delete r.value[s]}function l(){Object.values(r.value).forEach(s=>{s.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:r,messageList:o,handleAfterLeave:a},n)},render(){var e,t,o;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?c(yi,{to:(o=this.to)!==null&&o!==void 0?o:"body"},c("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(r=>c(d6,Object.assign({ref:n=>{n&&(this.messageRefs[r.key]=n)},internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave},fr(r,["destroy"],void 0),{duration:r.duration===void 0?this.duration:r.duration,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover,closable:r.closable===void 0?this.closable:r.closable}))))):null)}});function V8(){const e=Te(Op,null);return e===null&&hr("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Vi="n-notification-provider",u6=re({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:o}=Te(Vi),r=E(null);return pt(()=>{var n,i;o.value>0?(n=r==null?void 0:r.value)===null||n===void 0||n.classList.add("transitioning"):(i=r==null?void 0:r.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:r,mergedTheme:e,mergedClsPrefix:t,transitioning:o}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:o,mergedTheme:r,placement:n}=this;return c("div",{ref:"selfRef",class:[`${o}-notification-container`,t&&`${o}-notification-container--scrollable`,`${o}-notification-container--${n}`]},t?c(so,{theme:r.peers.Scrollbar,themeOverrides:r.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),f6={info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null),default:()=>null},Ul={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},h6=Uo(Ul),p6=re({name:"Notification",props:Ul,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:o,props:r}=Te(Vi),{inlineThemeDisabled:n,mergedRtlRef:i}=He(),a=Rt("Notification",i,t),l=T(()=>{const{type:d}=e,{self:{color:u,textColor:h,closeIconColor:p,closeIconColorHover:g,closeIconColorPressed:f,headerTextColor:v,descriptionTextColor:b,actionTextColor:m,borderRadius:C,headerFontWeight:R,boxShadow:$,lineHeight:S,fontSize:w,closeMargin:x,closeSize:k,width:P,padding:M,closeIconSize:L,closeBorderRadius:I,closeColorHover:A,closeColorPressed:H,titleFontSize:_,metaFontSize:U,descriptionFontSize:N,[oe("iconColor",d)]:ee},common:{cubicBezierEaseOut:ue,cubicBezierEaseIn:ae,cubicBezierEaseInOut:Y}}=o.value,{left:W,right:X,top:ne,bottom:le}=_t(M);return{"--n-color":u,"--n-font-size":w,"--n-text-color":h,"--n-description-text-color":b,"--n-action-text-color":m,"--n-title-text-color":v,"--n-title-font-weight":R,"--n-bezier":Y,"--n-bezier-ease-out":ue,"--n-bezier-ease-in":ae,"--n-border-radius":C,"--n-box-shadow":$,"--n-close-border-radius":I,"--n-close-color-hover":A,"--n-close-color-pressed":H,"--n-close-icon-color":p,"--n-close-icon-color-hover":g,"--n-close-icon-color-pressed":f,"--n-line-height":S,"--n-icon-color":ee,"--n-close-margin":x,"--n-close-size":k,"--n-close-icon-size":L,"--n-width":P,"--n-padding-left":W,"--n-padding-right":X,"--n-padding-top":ne,"--n-padding-bottom":le,"--n-title-font-size":_,"--n-meta-font-size":U,"--n-description-font-size":N}}),s=n?Qe("notification",T(()=>e.type[0]),l,r):void 0;return{mergedClsPrefix:t,showAvatar:T(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:n?void 0:l,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},c("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?c("div",{class:`${t}-notification__avatar`},this.avatar?vt(this.avatar):this.type!=="default"?c(ot,{clsPrefix:t},{default:()=>f6[this.type]()}):null):null,this.closable?c(br,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,c("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?c("div",{class:`${t}-notification-main__header`},vt(this.title)):null,this.description?c("div",{class:`${t}-notification-main__description`},vt(this.description)):null,this.content?c("pre",{class:`${t}-notification-main__content`},vt(this.content)):null,this.meta||this.action?c("div",{class:`${t}-notification-main-footer`},this.meta?c("div",{class:`${t}-notification-main-footer__meta`},vt(this.meta)):null,this.action?c("div",{class:`${t}-notification-main-footer__action`},vt(this.action)):null):null)))}}),v6=Object.assign(Object.assign({},Ul),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),g6=re({name:"NotificationEnvironment",props:Object.assign(Object.assign({},v6),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Te(Vi),o=E(!0);let r=null;function n(){o.value=!1,r&&window.clearTimeout(r)}function i(f){t.value++,ut(()=>{f.style.height=`${f.offsetHeight}px`,f.style.maxHeight="0",f.style.transition="none",f.offsetHeight,f.style.transition="",f.style.maxHeight=f.style.height})}function a(f){t.value--,f.style.height="",f.style.maxHeight="";const{onAfterEnter:v,onAfterShow:b}=e;v&&v(),b&&b()}function l(f){t.value++,f.style.maxHeight=`${f.offsetHeight}px`,f.style.height=`${f.offsetHeight}px`,f.offsetHeight}function s(f){const{onHide:v}=e;v&&v(),f.style.maxHeight="0",f.offsetHeight}function d(){t.value--;const{onAfterLeave:f,onInternalAfterLeave:v,onAfterHide:b,internalKey:m}=e;f&&f(),v(m),b&&b()}function u(){const{duration:f}=e;f&&(r=window.setTimeout(n,f))}function h(f){f.currentTarget===f.target&&r!==null&&(window.clearTimeout(r),r=null)}function p(f){f.currentTarget===f.target&&u()}function g(){const{onClose:f}=e;f?Promise.resolve(f()).then(v=>{v!==!1&&n()}):n()}return gt(()=>{e.duration&&(r=window.setTimeout(n,e.duration))}),{show:o,hide:n,handleClose:g,handleAfterLeave:d,handleLeave:s,handleBeforeLeave:l,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:h,handleMouseleave:p}},render(){return c(kt,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?c(p6,Object.assign({},Fo(this.$props,h6),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),m6=z([y("notification-container",` z-index: 4000; position: fixed; overflow: visible; @@ -2918,7 +2918,7 @@ ${t} box-shadow: var(--n-box-shadow); box-sizing: border-box; opacity: 1; - `,[M("avatar",[y("icon",` + `,[O("avatar",[y("icon",` color: var(--n-icon-color); `),y("base-icon",` color: var(--n-icon-color); @@ -2927,7 +2927,7 @@ ${t} width: calc(100% - 40px); `)]),B("closable",[y("notification-main",[z("> *:first-child",` padding-right: 20px; - `)]),M("close",` + `)]),O("close",` position: absolute; top: 0; right: 0; @@ -2935,7 +2935,7 @@ ${t} transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); - `)]),M("avatar",` + `)]),O("avatar",` position: absolute; top: var(--n-padding-top); left: var(--n-padding-left); @@ -2958,27 +2958,27 @@ ${t} align-items: center; justify-content: space-between; margin-top: 12px; - `,[M("meta",` + `,[O("meta",` font-size: var(--n-meta-font-size); transition: color .3s var(--n-bezier-ease-out); color: var(--n-description-text-color); - `),M("action",` + `),O("action",` cursor: pointer; transition: color .3s var(--n-bezier-ease-out); color: var(--n-action-text-color); - `)]),M("header",` + `)]),O("header",` font-weight: var(--n-title-font-weight); font-size: var(--n-title-font-size); transition: color .3s var(--n-bezier-ease-out); color: var(--n-title-text-color); - `),M("description",` + `),O("description",` margin-top: 8px; font-size: var(--n-description-font-size); white-space: pre-wrap; word-wrap: break-word; transition: color .3s var(--n-bezier-ease-out); color: var(--n-description-text-color); - `),M("content",` + `),O("content",` line-height: var(--n-line-height); margin: 12px 0 0 0; font-family: inherit; @@ -2990,22 +2990,22 @@ ${t} transform: translate(${o}, 0); `),z("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(${r}, 0); - `)])}const Mp="n-notification-api",g6=Object.assign(Object.assign({},we.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),H8=ne({name:"NotificationProvider",props:g6,setup(e){const{mergedClsPrefixRef:t}=He(e),o=E([]),r={},n=new Set;function i(g){const f=Vo(),v=()=>{n.add(f),r[f]&&r[f].hide()},m=Ci(Object.assign(Object.assign({},g),{key:f,destroy:v,hide:v,deactivate:v})),{max:b}=e;if(b&&o.value.length-n.size>=b){let C=!1,R=0;for(const $ of o.value){if(!n.has($.key)){r[$.key]&&($.destroy(),C=!0);break}R++}C||o.value.splice(R,1)}return o.value.push(m),m}const a=["info","success","warning","error"].map(g=>f=>i(Object.assign(Object.assign({},f),{type:g})));function l(g){n.delete(g),o.value.splice(o.value.findIndex(f=>f.key===g),1)}const s=we("Notification","-notification",v6,Lh,e,t),d={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:h,destroyAll:p},u=E(0);Ue(Mp,d),Ue(Vi,{props:e,mergedClsPrefixRef:t,mergedThemeRef:s,wipTransitionCountRef:u});function h(g){return i(g)}function p(){Object.values(o.value).forEach(g=>{g.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:o,notificationRefs:r,handleAfterLeave:l},d)},render(){var e,t,o;const{placement:r}=this;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?c(yi,{to:(o=this.to)!==null&&o!==void 0?o:"body"},c(d6,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(n=>c(p6,Object.assign({ref:i=>{const a=n.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},fr(n,["destroy","hide","deactivate"]),{internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:n.keepAliveOnHover===void 0?this.keepAliveOnHover:n.keepAliveOnHover})))})):null)}});function j8(){const e=Te(Mp,null);return e===null&&hr("use-notification","No outer `n-notification-provider` found."),e}const Op="n-popconfirm",Ip={positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0}},Xd=Uo(Ip),b6=ne({name:"NPopconfirmPanel",props:Ip,setup(e){const{localeRef:t}=wo("Popconfirm"),{inlineThemeDisabled:o}=He(),{mergedClsPrefixRef:r,mergedThemeRef:n,props:i}=Te(Op),a=T(()=>{const{common:{cubicBezierEaseInOut:s},self:{fontSize:d,iconSize:u,iconColor:h}}=n.value;return{"--n-bezier":s,"--n-font-size":d,"--n-icon-size":u,"--n-icon-color":h}}),l=o?Qe("popconfirm-panel",void 0,a,i):void 0;return Object.assign(Object.assign({},wo("Popconfirm")),{mergedClsPrefix:r,cssVars:o?void 0:a,localizedPositiveText:T(()=>e.positiveText||t.value.positiveText),localizedNegativeText:T(()=>e.negativeText||t.value.negativeText),positiveButtonProps:he(i,"positiveButtonProps"),negativeButtonProps:he(i,"negativeButtonProps"),handlePositiveClick(s){e.onPositiveClick(s)},handleNegativeClick(s){e.onNegativeClick(s)},themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){var e;const{mergedClsPrefix:t,showIcon:o,$slots:r}=this,n=Bt(r.action,()=>this.negativeText===null&&this.positiveText===null?[]:[this.negativeText!==null&&c(jr,Object.assign({size:"small",onClick:this.handleNegativeClick},this.negativeButtonProps),{default:()=>this.localizedNegativeText}),this.positiveText!==null&&c(jr,Object.assign({size:"small",type:"primary",onClick:this.handlePositiveClick},this.positiveButtonProps),{default:()=>this.localizedPositiveText})]);return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-popconfirm__panel`,this.themeClass],style:this.cssVars},Ze(r.default,i=>o||i?c("div",{class:`${t}-popconfirm__body`},o?c("div",{class:`${t}-popconfirm__icon`},Bt(r.icon,()=>[c(ot,{clsPrefix:t},{default:()=>c(Fn,null)})])):null,i):null),n?c("div",{class:[`${t}-popconfirm__action`]},n):null)}}),m6=y("popconfirm",[M("body",` + `)])}const Ip="n-notification-api",b6=Object.assign(Object.assign({},be.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),U8=re({name:"NotificationProvider",props:b6,setup(e){const{mergedClsPrefixRef:t}=He(e),o=E([]),r={},n=new Set;function i(g){const f=Vo(),v=()=>{n.add(f),r[f]&&r[f].hide()},b=Ci(Object.assign(Object.assign({},g),{key:f,destroy:v,hide:v,deactivate:v})),{max:m}=e;if(m&&o.value.length-n.size>=m){let C=!1,R=0;for(const $ of o.value){if(!n.has($.key)){r[$.key]&&($.destroy(),C=!0);break}R++}C||o.value.splice(R,1)}return o.value.push(b),b}const a=["info","success","warning","error"].map(g=>f=>i(Object.assign(Object.assign({},f),{type:g})));function l(g){n.delete(g),o.value.splice(o.value.findIndex(f=>f.key===g),1)}const s=be("Notification","-notification",m6,_h,e,t),d={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:h,destroyAll:p},u=E(0);Ue(Ip,d),Ue(Vi,{props:e,mergedClsPrefixRef:t,mergedThemeRef:s,wipTransitionCountRef:u});function h(g){return i(g)}function p(){Object.values(o.value).forEach(g=>{g.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:o,notificationRefs:r,handleAfterLeave:l},d)},render(){var e,t,o;const{placement:r}=this;return c(yt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?c(yi,{to:(o=this.to)!==null&&o!==void 0?o:"body"},c(u6,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(n=>c(g6,Object.assign({ref:i=>{const a=n.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},fr(n,["destroy","hide","deactivate"]),{internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:n.keepAliveOnHover===void 0?this.keepAliveOnHover:n.keepAliveOnHover})))})):null)}});function K8(){const e=Te(Ip,null);return e===null&&hr("use-notification","No outer `n-notification-provider` found."),e}const Fp="n-popconfirm",Ep={positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0}},Zd=Uo(Ep),x6=re({name:"NPopconfirmPanel",props:Ep,setup(e){const{localeRef:t}=wo("Popconfirm"),{inlineThemeDisabled:o}=He(),{mergedClsPrefixRef:r,mergedThemeRef:n,props:i}=Te(Fp),a=T(()=>{const{common:{cubicBezierEaseInOut:s},self:{fontSize:d,iconSize:u,iconColor:h}}=n.value;return{"--n-bezier":s,"--n-font-size":d,"--n-icon-size":u,"--n-icon-color":h}}),l=o?Qe("popconfirm-panel",void 0,a,i):void 0;return Object.assign(Object.assign({},wo("Popconfirm")),{mergedClsPrefix:r,cssVars:o?void 0:a,localizedPositiveText:T(()=>e.positiveText||t.value.positiveText),localizedNegativeText:T(()=>e.negativeText||t.value.negativeText),positiveButtonProps:he(i,"positiveButtonProps"),negativeButtonProps:he(i,"negativeButtonProps"),handlePositiveClick(s){e.onPositiveClick(s)},handleNegativeClick(s){e.onNegativeClick(s)},themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){var e;const{mergedClsPrefix:t,showIcon:o,$slots:r}=this,n=Bt(r.action,()=>this.negativeText===null&&this.positiveText===null?[]:[this.negativeText!==null&&c(Wr,Object.assign({size:"small",onClick:this.handleNegativeClick},this.negativeButtonProps),{default:()=>this.localizedNegativeText}),this.positiveText!==null&&c(Wr,Object.assign({size:"small",type:"primary",onClick:this.handlePositiveClick},this.positiveButtonProps),{default:()=>this.localizedPositiveText})]);return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-popconfirm__panel`,this.themeClass],style:this.cssVars},Ze(r.default,i=>o||i?c("div",{class:`${t}-popconfirm__body`},o?c("div",{class:`${t}-popconfirm__icon`},Bt(r.icon,()=>[c(ot,{clsPrefix:t},{default:()=>c(Fn,null)})])):null,i):null),n?c("div",{class:[`${t}-popconfirm__action`]},n):null)}}),C6=y("popconfirm",[O("body",` font-size: var(--n-font-size); display: flex; align-items: center; flex-wrap: nowrap; position: relative; - `,[M("icon",` + `,[O("icon",` display: flex; font-size: var(--n-icon-size); color: var(--n-icon-color); transition: color .3s var(--n-bezier); margin: 0 8px 0 0; - `)]),M("action",` + `)]),O("action",` display: flex; justify-content: flex-end; - `,[z("&:not(:first-child)","margin-top: 8px"),y("button",[z("&:not(:last-child)","margin-right: 8px;")])])]),x6=Object.assign(Object.assign(Object.assign({},we.props),ur),{positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},trigger:{type:String,default:"click"},positiveButtonProps:Object,negativeButtonProps:Object,onPositiveClick:Function,onNegativeClick:Function}),W8=ne({name:"Popconfirm",props:x6,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(),o=we("Popconfirm","-popconfirm",m6,Kh,e,t),r=E(null);function n(l){var s;if(!(!((s=r.value)===null||s===void 0)&&s.getMergedShow()))return;const{onPositiveClick:d,"onUpdate:show":u}=e;Promise.resolve(d?d(l):!0).then(h=>{var p;h!==!1&&((p=r.value)===null||p===void 0||p.setShow(!1),u&&ie(u,!1))})}function i(l){var s;if(!(!((s=r.value)===null||s===void 0)&&s.getMergedShow()))return;const{onNegativeClick:d,"onUpdate:show":u}=e;Promise.resolve(d?d(l):!0).then(h=>{var p;h!==!1&&((p=r.value)===null||p===void 0||p.setShow(!1),u&&ie(u,!1))})}return Ue(Op,{mergedThemeRef:o,mergedClsPrefixRef:t,props:e}),{setShow(l){var s;(s=r.value)===null||s===void 0||s.setShow(l)},syncPosition(){var l;(l=r.value)===null||l===void 0||l.syncPosition()},mergedTheme:o,popoverInstRef:r,handlePositiveClick:n,handleNegativeClick:i}},render(){const{$slots:e,$props:t,mergedTheme:o}=this;return c(Yr,fr(t,Xd,{theme:o.peers.Popover,themeOverrides:o.peerOverrides.Popover,internalExtraClass:["popconfirm"],ref:"popoverInstRef"}),{trigger:e.activator||e.trigger,default:()=>{const r=Io(t,Xd);return c(b6,Object.assign(Object.assign({},r),{onPositiveClick:this.handlePositiveClick,onNegativeClick:this.handleNegativeClick}),e)}})}}),C6={name:"QrCode",common:ke,self:e=>({borderRadius:e.borderRadius})},y6=C6,w6=e=>({borderRadius:e.borderRadius}),S6={name:"QrCode",common:xe,self:w6},k6=S6,$6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),c("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),c("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),c("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),c("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),c("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),R6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),c("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),c("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),P6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),c("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),c("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),c("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),c("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),c("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),z6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),c("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),T6=y("result",` + `,[z("&:not(:first-child)","margin-top: 8px"),y("button",[z("&:not(:last-child)","margin-right: 8px;")])])]),y6=Object.assign(Object.assign(Object.assign({},be.props),ur),{positiveText:String,negativeText:String,showIcon:{type:Boolean,default:!0},trigger:{type:String,default:"click"},positiveButtonProps:Object,negativeButtonProps:Object,onPositiveClick:Function,onNegativeClick:Function}),G8=re({name:"Popconfirm",props:y6,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=He(),o=be("Popconfirm","-popconfirm",C6,Gh,e,t),r=E(null);function n(l){var s;if(!(!((s=r.value)===null||s===void 0)&&s.getMergedShow()))return;const{onPositiveClick:d,"onUpdate:show":u}=e;Promise.resolve(d?d(l):!0).then(h=>{var p;h!==!1&&((p=r.value)===null||p===void 0||p.setShow(!1),u&&ie(u,!1))})}function i(l){var s;if(!(!((s=r.value)===null||s===void 0)&&s.getMergedShow()))return;const{onNegativeClick:d,"onUpdate:show":u}=e;Promise.resolve(d?d(l):!0).then(h=>{var p;h!==!1&&((p=r.value)===null||p===void 0||p.setShow(!1),u&&ie(u,!1))})}return Ue(Fp,{mergedThemeRef:o,mergedClsPrefixRef:t,props:e}),{setShow(l){var s;(s=r.value)===null||s===void 0||s.setShow(l)},syncPosition(){var l;(l=r.value)===null||l===void 0||l.syncPosition()},mergedTheme:o,popoverInstRef:r,handlePositiveClick:n,handleNegativeClick:i}},render(){const{$slots:e,$props:t,mergedTheme:o}=this;return c(Yr,fr(t,Zd,{theme:o.peers.Popover,themeOverrides:o.peerOverrides.Popover,internalExtraClass:["popconfirm"],ref:"popoverInstRef"}),{trigger:e.activator||e.trigger,default:()=>{const r=Fo(t,Zd);return c(x6,Object.assign(Object.assign({},r),{onPositiveClick:this.handlePositiveClick,onNegativeClick:this.handleNegativeClick}),e)}})}}),w6={name:"QrCode",common:ke,self:e=>({borderRadius:e.borderRadius})},S6=w6,k6=e=>({borderRadius:e.borderRadius}),$6={name:"QrCode",common:Ce,self:k6},R6=$6,P6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),c("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),c("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),c("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),c("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),c("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),z6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),c("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),c("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),T6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),c("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),c("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),c("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),c("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),c("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),B6=c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},c("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),c("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),O6=y("result",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); @@ -3015,7 +3015,7 @@ ${t} display: flex; justify-content: center; transition: color .3s var(--n-bezier); - `,[M("status-image",` + `,[O("status-image",` font-size: var(--n-icon-size); width: 1em; height: 1em; @@ -3025,18 +3025,18 @@ ${t} `)]),y("result-content",{marginTop:"24px"}),y("result-footer",` margin-top: 24px; text-align: center; - `),y("result-header",[M("title",` + `),y("result-header",[O("title",` margin-top: 16px; font-weight: var(--n-title-font-weight); transition: color .3s var(--n-bezier); text-align: center; color: var(--n-title-text-color); font-size: var(--n-title-font-size); - `),M("description",` + `),O("description",` margin-top: 4px; text-align: center; font-size: var(--n-font-size); - `)])]),B6={403:()=>z6,404:()=>$6,418:()=>P6,500:()=>R6,info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null)},M6=Object.assign(Object.assign({},we.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),N8=ne({name:"Result",props:M6,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Result","-result",T6,Zh,e,t),n=T(()=>{const{size:a,status:l}=e,{common:{cubicBezierEaseInOut:s},self:{textColor:d,lineHeight:u,titleTextColor:h,titleFontWeight:p,[oe("iconColor",l)]:g,[oe("fontSize",a)]:f,[oe("titleFontSize",a)]:v,[oe("iconSize",a)]:m}}=r.value;return{"--n-bezier":s,"--n-font-size":f,"--n-icon-size":m,"--n-line-height":u,"--n-text-color":d,"--n-title-font-size":v,"--n-title-font-weight":p,"--n-title-text-color":h,"--n-icon-color":g||""}}),i=o?Qe("result",T(()=>{const{size:a,status:l}=e;let s="";return a&&(s+=a[0]),l&&(s+=l[0]),s}),n,e):void 0;return{mergedClsPrefix:t,cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:o,mergedClsPrefix:r,onRender:n}=this;return n==null||n(),c("div",{class:[`${r}-result`,this.themeClass],style:this.cssVars},c("div",{class:`${r}-result-icon`},((e=o.icon)===null||e===void 0?void 0:e.call(o))||c(ot,{clsPrefix:r},{default:()=>B6[t]()})),c("div",{class:`${r}-result-header`},this.title?c("div",{class:`${r}-result-header__title`},this.title):null,this.description?c("div",{class:`${r}-result-header__description`},this.description):null),o.default&&c("div",{class:`${r}-result-content`},o),o.footer&&c("div",{class:`${r}-result-footer`},o.footer()))}}),O6=Object.assign(Object.assign({},we.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),I6=ne({name:"Scrollbar",props:O6,setup(){const e=E(null);return Object.assign(Object.assign({},{scrollTo:(...o)=>{var r;(r=e.value)===null||r===void 0||r.scrollTo(o[0],o[1])},scrollBy:(...o)=>{var r;(r=e.value)===null||r===void 0||r.scrollBy(o[0],o[1])}}),{scrollbarInstRef:e})},render(){return c(so,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),V8=I6,F6={name:"Skeleton",common:ke,self(e){const{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}}},E6=e=>{const{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}},Fp={name:"Skeleton",common:xe,self:E6},A6=z([y("skeleton",` + `)])]),M6={403:()=>B6,404:()=>P6,418:()=>T6,500:()=>z6,info:()=>c(Rn,null),success:()=>c(Ei,null),warning:()=>c(Fn,null),error:()=>c(Fi,null)},I6=Object.assign(Object.assign({},be.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),q8=re({name:"Result",props:I6,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=be("Result","-result",O6,Jh,e,t),n=T(()=>{const{size:a,status:l}=e,{common:{cubicBezierEaseInOut:s},self:{textColor:d,lineHeight:u,titleTextColor:h,titleFontWeight:p,[oe("iconColor",l)]:g,[oe("fontSize",a)]:f,[oe("titleFontSize",a)]:v,[oe("iconSize",a)]:b}}=r.value;return{"--n-bezier":s,"--n-font-size":f,"--n-icon-size":b,"--n-line-height":u,"--n-text-color":d,"--n-title-font-size":v,"--n-title-font-weight":p,"--n-title-text-color":h,"--n-icon-color":g||""}}),i=o?Qe("result",T(()=>{const{size:a,status:l}=e;let s="";return a&&(s+=a[0]),l&&(s+=l[0]),s}),n,e):void 0;return{mergedClsPrefix:t,cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:o,mergedClsPrefix:r,onRender:n}=this;return n==null||n(),c("div",{class:[`${r}-result`,this.themeClass],style:this.cssVars},c("div",{class:`${r}-result-icon`},((e=o.icon)===null||e===void 0?void 0:e.call(o))||c(ot,{clsPrefix:r},{default:()=>M6[t]()})),c("div",{class:`${r}-result-header`},this.title?c("div",{class:`${r}-result-header__title`},this.title):null,this.description?c("div",{class:`${r}-result-header__description`},this.description):null),o.default&&c("div",{class:`${r}-result-content`},o),o.footer&&c("div",{class:`${r}-result-footer`},o.footer()))}}),F6=Object.assign(Object.assign({},be.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),E6=re({name:"Scrollbar",props:F6,setup(){const e=E(null);return Object.assign(Object.assign({},{scrollTo:(...o)=>{var r;(r=e.value)===null||r===void 0||r.scrollTo(o[0],o[1])},scrollBy:(...o)=>{var r;(r=e.value)===null||r===void 0||r.scrollBy(o[0],o[1])}}),{scrollbarInstRef:e})},render(){return c(so,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),X8=E6,L6={name:"Skeleton",common:ke,self(e){const{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}}},A6=e=>{const{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}},Lp={name:"Skeleton",common:Ce,self:A6},_6=z([y("skeleton",` height: 1em; width: 100%; transition: @@ -3058,8 +3058,8 @@ ${t} 100% { background: var(--n-color-start); } - `)]),L6=Object.assign(Object.assign({},we.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),U8=ne({name:"Skeleton",inheritAttrs:!1,props:L6,setup(e){gg();const{mergedClsPrefixRef:t}=He(e),o=we("Skeleton","-skeleton",A6,Fp,e,t);return{mergedClsPrefix:t,style:T(()=>{var r,n;const i=o.value,{common:{cubicBezierEaseInOut:a}}=i,l=i.self,{color:s,colorEnd:d,borderRadius:u}=l;let h;const{circle:p,sharp:g,round:f,width:v,height:m,size:b,text:C,animated:R}=e;b!==void 0&&(h=l[oe("height",b)]);const $=p?(r=v??m)!==null&&r!==void 0?r:h:v,S=(n=p?v??m:m)!==null&&n!==void 0?n:h;return{display:C?"inline-block":"",verticalAlign:C?"-0.125em":"",borderRadius:p?"50%":f?"4096px":g?"":u,width:typeof $=="number"?St($):$,height:typeof S=="number"?St(S):S,animation:R?"":"none","--n-bezier":a,"--n-color-start":s,"--n-color-end":d}})}},render(){const{repeat:e,style:t,mergedClsPrefix:o,$attrs:r}=this,n=c("div",Ft({class:`${o}-skeleton`,style:t},r));return e>1?c(yt,null,lc(e,null).map(i=>[n,` -`])):n}});function Yd(e){return window.TouchEvent&&e instanceof window.TouchEvent}function Zd(){const e=new Map,t=o=>r=>{e.set(o,r)};return fv(()=>{e.clear()}),[e,t]}const _6=z([y("slider",` + `)]),D6=Object.assign(Object.assign({},be.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),Y8=re({name:"Skeleton",inheritAttrs:!1,props:D6,setup(e){xg();const{mergedClsPrefixRef:t}=He(e),o=be("Skeleton","-skeleton",_6,Lp,e,t);return{mergedClsPrefix:t,style:T(()=>{var r,n;const i=o.value,{common:{cubicBezierEaseInOut:a}}=i,l=i.self,{color:s,colorEnd:d,borderRadius:u}=l;let h;const{circle:p,sharp:g,round:f,width:v,height:b,size:m,text:C,animated:R}=e;m!==void 0&&(h=l[oe("height",m)]);const $=p?(r=v??b)!==null&&r!==void 0?r:h:v,S=(n=p?v??b:b)!==null&&n!==void 0?n:h;return{display:C?"inline-block":"",verticalAlign:C?"-0.125em":"",borderRadius:p?"50%":f?"4096px":g?"":u,width:typeof $=="number"?St($):$,height:typeof S=="number"?St(S):S,animation:R?"":"none","--n-bezier":a,"--n-color-start":s,"--n-color-end":d}})}},render(){const{repeat:e,style:t,mergedClsPrefix:o,$attrs:r}=this,n=c("div",Ft({class:`${o}-skeleton`,style:t},r));return e>1?c(yt,null,dc(e,null).map(i=>[n,` +`])):n}});function Jd(e){return window.TouchEvent&&e instanceof window.TouchEvent}function Qd(){const e=new Map,t=o=>r=>{e.set(o,r)};return pv(()=>{e.clear()}),[e,t]}const H6=z([y("slider",` display: block; padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0; position: relative; @@ -3093,7 +3093,7 @@ ${t} transform: translate(-50%, 50%); `)]),y("slider-rail",` height: 100%; - `,[M("fill",` + `,[O("fill",` top: unset; right: 0; bottom: unset; @@ -3125,7 +3125,7 @@ ${t} `)]),B("with-mark",` width: 100%; margin: 8px 0 32px 0; - `),z("&:hover",[y("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[M("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),y("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),B("active",[y("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[M("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),y("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),y("slider-marks",` + `),z("&:hover",[y("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[O("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),y("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),B("active",[y("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[O("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),y("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),y("slider-marks",` position: absolute; top: 18px; left: calc(var(--n-handle-size) / 2); @@ -3141,7 +3141,7 @@ ${t} background-color: var(--n-rail-color); transition: background-color .3s var(--n-bezier); border-radius: calc(var(--n-rail-height) / 2); - `,[M("fill",` + `,[O("fill",` position: absolute; top: 0; bottom: 0; @@ -3201,7 +3201,7 @@ ${t} color: var(--n-indicator-text-color); background-color: var(--n-indicator-color); box-shadow: var(--n-indicator-box-shadow); - `,[Go()]),y("slider-handle-indicator",` + `,[qo()]),y("slider-handle-indicator",` font-size: var(--n-font-size); padding: 6px 10px; border-radius: var(--n-indicator-border-radius); @@ -3216,7 +3216,7 @@ ${t} margin-top: 12px; `),B("left",` margin-right: 12px; - `),Go()]),Kr(y("slider",[y("slider-dot","background-color: var(--n-dot-color-modal);")])),Tn(y("slider",[y("slider-dot","background-color: var(--n-dot-color-popover);")]))]),D6=0,H6=Object.assign(Object.assign({},we.props),{to:Vt.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),K8=ne({name:"Slider",props:H6,setup(e){const{mergedClsPrefixRef:t,namespaceRef:o,inlineThemeDisabled:r}=He(e),n=we("Slider","-slider",_6,Qh,e,t),i=E(null),[a,l]=Zd(),[s,d]=Zd(),u=E(new Set),h=So(e),{mergedDisabledRef:p}=h,g=T(()=>{const{step:V}=e;if(Number(V)<=0||V==="mark")return 0;const D=V.toString();let J=0;return D.includes(".")&&(J=D.length-D.indexOf(".")-1),J}),f=E(e.defaultValue),v=he(e,"value"),m=$t(v,f),b=T(()=>{const{value:V}=m;return(e.range?V:[V]).map(j)}),C=T(()=>b.value.length>2),R=T(()=>e.placement===void 0?e.vertical?"right":"top":e.placement),$=T(()=>{const{marks:V}=e;return V?Object.keys(V).map(parseFloat):null}),S=E(-1),w=E(-1),x=E(-1),k=E(!1),P=E(!1),I=T(()=>{const{vertical:V,reverse:D}=e;return V?D?"top":"bottom":D?"right":"left"}),A=T(()=>{if(C.value)return;const V=b.value,D=X(e.range?Math.min(...V):e.min),J=X(e.range?Math.max(...V):V[0]),{value:Se}=I;return e.vertical?{[Se]:`${D}%`,height:`${J-D}%`}:{[Se]:`${D}%`,width:`${J-D}%`}}),O=T(()=>{const V=[],{marks:D}=e;if(D){const J=b.value.slice();J.sort((ye,ze)=>ye-ze);const{value:Se}=I,{value:Le}=C,{range:qe}=e,it=Le?()=>!1:ye=>qe?ye>=J[0]&&ye<=J[J.length-1]:ye<=J[0];for(const ye of Object.keys(D)){const ze=Number(ye);V.push({active:it(ze),label:D[ye],style:{[Se]:`${X(ze)}%`}})}}return V});function L(V,D){const J=X(V),{value:Se}=I;return{[Se]:`${J}%`,zIndex:D===S.value?1:0}}function H(V){return e.showTooltip||x.value===V||S.value===V&&k.value}function _(V){return k.value?!(S.value===V&&w.value===V):!0}function U(V){var D;~V&&(S.value=V,(D=a.get(V))===null||D===void 0||D.focus())}function N(){s.forEach((V,D)=>{H(D)&&V.syncPosition()})}function te(V){const{"onUpdate:value":D,onUpdateValue:J}=e,{nTriggerFormInput:Se,nTriggerFormChange:Le}=h;J&&ie(J,V),D&&ie(D,V),f.value=V,Se(),Le()}function fe(V){const{range:D}=e;if(D){if(Array.isArray(V)){const{value:J}=b;V.join()!==J.join()&&te(V)}}else Array.isArray(V)||b.value[0]!==V&&te(V)}function ae(V,D){if(e.range){const J=b.value.slice();J.splice(D,1,V),fe(J)}else fe(V)}function Y(V,D,J){const Se=J!==void 0;J||(J=V-D>0?1:-1);const Le=$.value||[],{step:qe}=e;if(qe==="mark"){const ze=ge(V,Le.concat(D),Se?J:void 0);return ze?ze.value:D}if(qe<=0)return D;const{value:it}=g;let ye;if(Se){const ze=Number((D/qe).toFixed(it)),Ke=Math.floor(ze),Be=ze>Ke?Ke:Ke-1,Ve=ze0)&&(Se===null||it0?1:-1),D)}function ve(V){var D,J;if(p.value||!Yd(V)&&V.button!==D6)return;const Se=me(V);if(Se===void 0)return;const Le=b.value.slice(),qe=e.range?(J=(D=ge(Se,Le))===null||D===void 0?void 0:D.index)!==null&&J!==void 0?J:-1:0;qe!==-1&&(V.preventDefault(),U(qe),$e(),ae(Y(Se,b.value[qe]),qe))}function $e(){k.value||(k.value=!0,e.onDragstart&&ie(e.onDragstart),tt("touchend",document,ue),tt("mouseup",document,ue),tt("touchmove",document,Z),tt("mousemove",document,Z))}function Oe(){k.value&&(k.value=!1,e.onDragend&&ie(e.onDragend),Xe("touchend",document,ue),Xe("mouseup",document,ue),Xe("touchmove",document,Z),Xe("mousemove",document,Z))}function Z(V){const{value:D}=S;if(!k.value||D===-1){Oe();return}const J=me(V);J!==void 0&&ae(Y(J,b.value[D]),D)}function ue(){Oe()}function be(V){S.value=V,p.value||(x.value=V)}function De(V){S.value===V&&(S.value=-1,Oe()),x.value===V&&(x.value=-1)}function ee(V){x.value=V}function Ce(V){x.value===V&&(x.value=-1)}Je(S,(V,D)=>void ut(()=>w.value=D)),Je(m,()=>{if(e.marks){if(P.value)return;P.value=!0,ut(()=>{P.value=!1})}ut(N)}),dt(()=>{Oe()});const Pe=T(()=>{const{self:{markFontSize:V,railColor:D,railColorHover:J,fillColor:Se,fillColorHover:Le,handleColor:qe,opacityDisabled:it,dotColor:ye,dotColorModal:ze,handleBoxShadow:Ke,handleBoxShadowHover:Be,handleBoxShadowActive:Ve,handleBoxShadowFocus:at,dotBorder:F,dotBoxShadow:G,railHeight:de,railWidthVertical:Re,handleSize:Ie,dotHeight:Fe,dotWidth:_e,dotBorderRadius:je,fontSize:Ge,dotBorderActive:xt,dotColorPopover:ft},common:{cubicBezierEaseInOut:Ct}}=n.value;return{"--n-bezier":Ct,"--n-dot-border":F,"--n-dot-border-active":xt,"--n-dot-border-radius":je,"--n-dot-box-shadow":G,"--n-dot-color":ye,"--n-dot-color-modal":ze,"--n-dot-color-popover":ft,"--n-dot-height":Fe,"--n-dot-width":_e,"--n-fill-color":Se,"--n-fill-color-hover":Le,"--n-font-size":Ge,"--n-handle-box-shadow":Ke,"--n-handle-box-shadow-active":Ve,"--n-handle-box-shadow-focus":at,"--n-handle-box-shadow-hover":Be,"--n-handle-color":qe,"--n-handle-size":Ie,"--n-opacity-disabled":it,"--n-rail-color":D,"--n-rail-color-hover":J,"--n-rail-height":de,"--n-rail-width-vertical":Re,"--n-mark-font-size":V}}),K=r?Qe("slider",void 0,Pe,e):void 0,Q=T(()=>{const{self:{fontSize:V,indicatorColor:D,indicatorBoxShadow:J,indicatorTextColor:Se,indicatorBorderRadius:Le}}=n.value;return{"--n-font-size":V,"--n-indicator-border-radius":Le,"--n-indicator-box-shadow":J,"--n-indicator-color":D,"--n-indicator-text-color":Se}}),pe=r?Qe("slider-indicator",void 0,Q,e):void 0;return{mergedClsPrefix:t,namespace:o,uncontrolledValue:f,mergedValue:m,mergedDisabled:p,mergedPlacement:R,isMounted:Ao(),adjustedTo:Vt(e),dotTransitionDisabled:P,markInfos:O,isShowTooltip:H,shouldKeepTooltipTransition:_,handleRailRef:i,setHandleRefs:l,setFollowerRefs:d,fillStyle:A,getHandleStyle:L,activeIndex:S,arrifiedValues:b,followerEnabledIndexSet:u,handleRailMouseDown:ve,handleHandleFocus:be,handleHandleBlur:De,handleHandleMouseEnter:ee,handleHandleMouseLeave:Ce,handleRailKeyDown:Ae,indicatorCssVars:r?void 0:Q,indicatorThemeClass:pe==null?void 0:pe.themeClass,indicatorOnRender:pe==null?void 0:pe.onRender,cssVars:r?void 0:Pe,themeClass:K==null?void 0:K.themeClass,onRender:K==null?void 0:K.onRender}},render(){var e;const{mergedClsPrefix:t,themeClass:o,formatTooltip:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-slider`,o,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:this.activeIndex!==-1,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},c("div",{class:`${t}-slider-rail`},c("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?c("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(n=>c("div",{key:n.label,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:n.active}],style:n.style}))):null,c("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((n,i)=>{const a=this.isShowTooltip(i);return c($i,null,{default:()=>[c(Ri,null,{default:()=>c("div",{ref:this.setHandleRefs(i),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(n,i),onFocus:()=>{this.handleHandleFocus(i)},onBlur:()=>{this.handleHandleBlur(i)},onMouseenter:()=>{this.handleHandleMouseEnter(i)},onMouseleave:()=>{this.handleHandleMouseLeave(i)}},Bt(this.$slots.thumb,()=>[c("div",{class:`${t}-slider-handle`})]))}),this.tooltip&&c(Ti,{ref:this.setFollowerRefs(i),show:a,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(i),teleportDisabled:this.adjustedTo===Vt.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>c(kt,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(i),onEnter:()=>{this.followerEnabledIndexSet.add(i)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(i)}},{default:()=>{var l;return a?((l=this.indicatorOnRender)===null||l===void 0||l.call(this),c("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof r=="function"?r(n):n)):null}})})]})})),this.marks?c("div",{class:`${t}-slider-marks`},this.markInfos.map(n=>c("div",{key:n.label,class:`${t}-slider-mark`,style:n.style},n.label))):null))}}),j6=z([z("@keyframes spin-rotate",` + `),qo()]),Kr(y("slider",[y("slider-dot","background-color: var(--n-dot-color-modal);")])),Tn(y("slider",[y("slider-dot","background-color: var(--n-dot-color-popover);")]))]),W6=0,N6=Object.assign(Object.assign({},be.props),{to:Vt.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),Z8=re({name:"Slider",props:N6,setup(e){const{mergedClsPrefixRef:t,namespaceRef:o,inlineThemeDisabled:r}=He(e),n=be("Slider","-slider",H6,ep,e,t),i=E(null),[a,l]=Qd(),[s,d]=Qd(),u=E(new Set),h=ko(e),{mergedDisabledRef:p}=h,g=T(()=>{const{step:V}=e;if(Number(V)<=0||V==="mark")return 0;const D=V.toString();let J=0;return D.includes(".")&&(J=D.length-D.indexOf(".")-1),J}),f=E(e.defaultValue),v=he(e,"value"),b=$t(v,f),m=T(()=>{const{value:V}=b;return(e.range?V:[V]).map(W)}),C=T(()=>m.value.length>2),R=T(()=>e.placement===void 0?e.vertical?"right":"top":e.placement),$=T(()=>{const{marks:V}=e;return V?Object.keys(V).map(parseFloat):null}),S=E(-1),w=E(-1),x=E(-1),k=E(!1),P=E(!1),M=T(()=>{const{vertical:V,reverse:D}=e;return V?D?"top":"bottom":D?"right":"left"}),L=T(()=>{if(C.value)return;const V=m.value,D=X(e.range?Math.min(...V):e.min),J=X(e.range?Math.max(...V):V[0]),{value:Se}=M;return e.vertical?{[Se]:`${D}%`,height:`${J-D}%`}:{[Se]:`${D}%`,width:`${J-D}%`}}),I=T(()=>{const V=[],{marks:D}=e;if(D){const J=m.value.slice();J.sort((we,ze)=>we-ze);const{value:Se}=M,{value:Ae}=C,{range:Ge}=e,it=Ae?()=>!1:we=>Ge?we>=J[0]&&we<=J[J.length-1]:we<=J[0];for(const we of Object.keys(D)){const ze=Number(we);V.push({active:it(ze),label:D[we],style:{[Se]:`${X(ze)}%`}})}}return V});function A(V,D){const J=X(V),{value:Se}=M;return{[Se]:`${J}%`,zIndex:D===S.value?1:0}}function H(V){return e.showTooltip||x.value===V||S.value===V&&k.value}function _(V){return k.value?!(S.value===V&&w.value===V):!0}function U(V){var D;~V&&(S.value=V,(D=a.get(V))===null||D===void 0||D.focus())}function N(){s.forEach((V,D)=>{H(D)&&V.syncPosition()})}function ee(V){const{"onUpdate:value":D,onUpdateValue:J}=e,{nTriggerFormInput:Se,nTriggerFormChange:Ae}=h;J&&ie(J,V),D&&ie(D,V),f.value=V,Se(),Ae()}function ue(V){const{range:D}=e;if(D){if(Array.isArray(V)){const{value:J}=m;V.join()!==J.join()&&ee(V)}}else Array.isArray(V)||m.value[0]!==V&&ee(V)}function ae(V,D){if(e.range){const J=m.value.slice();J.splice(D,1,V),ue(J)}else ue(V)}function Y(V,D,J){const Se=J!==void 0;J||(J=V-D>0?1:-1);const Ae=$.value||[],{step:Ge}=e;if(Ge==="mark"){const ze=ge(V,Ae.concat(D),Se?J:void 0);return ze?ze.value:D}if(Ge<=0)return D;const{value:it}=g;let we;if(Se){const ze=Number((D/Ge).toFixed(it)),Ke=Math.floor(ze),Be=ze>Ke?Ke:Ke-1,Ve=ze0)&&(Se===null||it0?1:-1),D)}function ve(V){var D,J;if(p.value||!Jd(V)&&V.button!==W6)return;const Se=xe(V);if(Se===void 0)return;const Ae=m.value.slice(),Ge=e.range?(J=(D=ge(Se,Ae))===null||D===void 0?void 0:D.index)!==null&&J!==void 0?J:-1:0;Ge!==-1&&(V.preventDefault(),U(Ge),$e(),ae(Y(Se,m.value[Ge]),Ge))}function $e(){k.value||(k.value=!0,e.onDragstart&&ie(e.onDragstart),tt("touchend",document,fe),tt("mouseup",document,fe),tt("touchmove",document,Z),tt("mousemove",document,Z))}function Me(){k.value&&(k.value=!1,e.onDragend&&ie(e.onDragend),Xe("touchend",document,fe),Xe("mouseup",document,fe),Xe("touchmove",document,Z),Xe("mousemove",document,Z))}function Z(V){const{value:D}=S;if(!k.value||D===-1){Me();return}const J=xe(V);J!==void 0&&ae(Y(J,m.value[D]),D)}function fe(){Me()}function me(V){S.value=V,p.value||(x.value=V)}function De(V){S.value===V&&(S.value=-1,Me()),x.value===V&&(x.value=-1)}function te(V){x.value=V}function ye(V){x.value===V&&(x.value=-1)}Je(S,(V,D)=>void ut(()=>w.value=D)),Je(b,()=>{if(e.marks){if(P.value)return;P.value=!0,ut(()=>{P.value=!1})}ut(N)}),dt(()=>{Me()});const Pe=T(()=>{const{self:{markFontSize:V,railColor:D,railColorHover:J,fillColor:Se,fillColorHover:Ae,handleColor:Ge,opacityDisabled:it,dotColor:we,dotColorModal:ze,handleBoxShadow:Ke,handleBoxShadowHover:Be,handleBoxShadowActive:Ve,handleBoxShadowFocus:at,dotBorder:F,dotBoxShadow:q,railHeight:de,railWidthVertical:Re,handleSize:Ie,dotHeight:Fe,dotWidth:_e,dotBorderRadius:We,fontSize:qe,dotBorderActive:xt,dotColorPopover:ft},common:{cubicBezierEaseInOut:Ct}}=n.value;return{"--n-bezier":Ct,"--n-dot-border":F,"--n-dot-border-active":xt,"--n-dot-border-radius":We,"--n-dot-box-shadow":q,"--n-dot-color":we,"--n-dot-color-modal":ze,"--n-dot-color-popover":ft,"--n-dot-height":Fe,"--n-dot-width":_e,"--n-fill-color":Se,"--n-fill-color-hover":Ae,"--n-font-size":qe,"--n-handle-box-shadow":Ke,"--n-handle-box-shadow-active":Ve,"--n-handle-box-shadow-focus":at,"--n-handle-box-shadow-hover":Be,"--n-handle-color":Ge,"--n-handle-size":Ie,"--n-opacity-disabled":it,"--n-rail-color":D,"--n-rail-color-hover":J,"--n-rail-height":de,"--n-rail-width-vertical":Re,"--n-mark-font-size":V}}),K=r?Qe("slider",void 0,Pe,e):void 0,Q=T(()=>{const{self:{fontSize:V,indicatorColor:D,indicatorBoxShadow:J,indicatorTextColor:Se,indicatorBorderRadius:Ae}}=n.value;return{"--n-font-size":V,"--n-indicator-border-radius":Ae,"--n-indicator-box-shadow":J,"--n-indicator-color":D,"--n-indicator-text-color":Se}}),pe=r?Qe("slider-indicator",void 0,Q,e):void 0;return{mergedClsPrefix:t,namespace:o,uncontrolledValue:f,mergedValue:b,mergedDisabled:p,mergedPlacement:R,isMounted:Lo(),adjustedTo:Vt(e),dotTransitionDisabled:P,markInfos:I,isShowTooltip:H,shouldKeepTooltipTransition:_,handleRailRef:i,setHandleRefs:l,setFollowerRefs:d,fillStyle:L,getHandleStyle:A,activeIndex:S,arrifiedValues:m,followerEnabledIndexSet:u,handleRailMouseDown:ve,handleHandleFocus:me,handleHandleBlur:De,handleHandleMouseEnter:te,handleHandleMouseLeave:ye,handleRailKeyDown:Le,indicatorCssVars:r?void 0:Q,indicatorThemeClass:pe==null?void 0:pe.themeClass,indicatorOnRender:pe==null?void 0:pe.onRender,cssVars:r?void 0:Pe,themeClass:K==null?void 0:K.themeClass,onRender:K==null?void 0:K.onRender}},render(){var e;const{mergedClsPrefix:t,themeClass:o,formatTooltip:r}=this;return(e=this.onRender)===null||e===void 0||e.call(this),c("div",{class:[`${t}-slider`,o,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:this.activeIndex!==-1,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},c("div",{class:`${t}-slider-rail`},c("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?c("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(n=>c("div",{key:n.label,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:n.active}],style:n.style}))):null,c("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((n,i)=>{const a=this.isShowTooltip(i);return c($i,null,{default:()=>[c(Ri,null,{default:()=>c("div",{ref:this.setHandleRefs(i),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(n,i),onFocus:()=>{this.handleHandleFocus(i)},onBlur:()=>{this.handleHandleBlur(i)},onMouseenter:()=>{this.handleHandleMouseEnter(i)},onMouseleave:()=>{this.handleHandleMouseLeave(i)}},Bt(this.$slots.thumb,()=>[c("div",{class:`${t}-slider-handle`})]))}),this.tooltip&&c(Ti,{ref:this.setFollowerRefs(i),show:a,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(i),teleportDisabled:this.adjustedTo===Vt.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>c(kt,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(i),onEnter:()=>{this.followerEnabledIndexSet.add(i)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(i)}},{default:()=>{var l;return a?((l=this.indicatorOnRender)===null||l===void 0||l.call(this),c("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof r=="function"?r(n):n)):null}})})]})})),this.marks?c("div",{class:`${t}-slider-marks`},this.markInfos.map(n=>c("div",{key:n.label,class:`${t}-slider-mark`,style:n.style},n.label))):null))}}),j6=z([z("@keyframes spin-rotate",` from { transform: rotate(0); } @@ -3258,7 +3258,7 @@ ${t} -webkit-user-select: none; pointer-events: none; opacity: var(--n-opacity-spinning); - `)])]),W6={small:20,medium:18,large:16},N6=Object.assign(Object.assign({},we.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),q8=ne({name:"Spin",props:N6,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Spin","-spin",j6,tp,e,t),n=T(()=>{const{size:s}=e,{common:{cubicBezierEaseInOut:d},self:u}=r.value,{opacitySpinning:h,color:p,textColor:g}=u,f=typeof s=="number"?St(s):u[oe("size",s)];return{"--n-bezier":d,"--n-opacity-spinning":h,"--n-size":f,"--n-color":p,"--n-text-color":g}}),i=o?Qe("spin",T(()=>{const{size:s}=e;return typeof s=="number"?String(s):s[0]}),n,e):void 0,a=Cn(e,["spinning","show"]),l=E(!1);return vt(s=>{let d;if(a.value){const{delay:u}=e;if(u){d=window.setTimeout(()=>{l.value=!0},u),s(()=>{clearTimeout(d)});return}}l.value=a.value}),{mergedClsPrefix:t,active:l,mergedStrokeWidth:T(()=>{const{strokeWidth:s}=e;if(s!==void 0)return s;const{size:d}=e;return W6[typeof d=="number"?"medium":d]}),cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:o,mergedClsPrefix:r,description:n}=this,i=o.icon&&this.rotate,a=(n||o.description)&&c("div",{class:`${r}-spin-description`},n||((e=o.description)===null||e===void 0?void 0:e.call(o))),l=o.icon?c("div",{class:[`${r}-spin-body`,this.themeClass]},c("div",{class:[`${r}-spin`,i&&`${r}-spin--rotate`],style:o.default?"":this.cssVars},o.icon()),a):c("div",{class:[`${r}-spin-body`,this.themeClass]},c(Yo,{clsPrefix:r,style:o.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${r}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),o.default?c("div",{class:[`${r}-spin-container`,this.themeClass],style:this.cssVars},c("div",{class:[`${r}-spin-content`,this.active&&`${r}-spin-content--spinning`,this.contentClass],style:this.contentStyle},o),c(kt,{name:"fade-in-transition"},{default:()=>this.active?l:null})):l}}),V6={name:"Split",common:ke},U6=V6,K6=e=>{const{primaryColorHover:t,borderColor:o}=e;return{resizableTriggerColorHover:t,resizableTriggerColor:o}},q6={name:"Split",common:xe,self:K6},G6=q6,X6=y("switch",` + `)])]),V6={small:20,medium:18,large:16},U6=Object.assign(Object.assign({},be.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),J8=re({name:"Spin",props:U6,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=be("Spin","-spin",j6,op,e,t),n=T(()=>{const{size:s}=e,{common:{cubicBezierEaseInOut:d},self:u}=r.value,{opacitySpinning:h,color:p,textColor:g}=u,f=typeof s=="number"?St(s):u[oe("size",s)];return{"--n-bezier":d,"--n-opacity-spinning":h,"--n-size":f,"--n-color":p,"--n-text-color":g}}),i=o?Qe("spin",T(()=>{const{size:s}=e;return typeof s=="number"?String(s):s[0]}),n,e):void 0,a=Cn(e,["spinning","show"]),l=E(!1);return pt(s=>{let d;if(a.value){const{delay:u}=e;if(u){d=window.setTimeout(()=>{l.value=!0},u),s(()=>{clearTimeout(d)});return}}l.value=a.value}),{mergedClsPrefix:t,active:l,mergedStrokeWidth:T(()=>{const{strokeWidth:s}=e;if(s!==void 0)return s;const{size:d}=e;return V6[typeof d=="number"?"medium":d]}),cssVars:o?void 0:n,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:o,mergedClsPrefix:r,description:n}=this,i=o.icon&&this.rotate,a=(n||o.description)&&c("div",{class:`${r}-spin-description`},n||((e=o.description)===null||e===void 0?void 0:e.call(o))),l=o.icon?c("div",{class:[`${r}-spin-body`,this.themeClass]},c("div",{class:[`${r}-spin`,i&&`${r}-spin--rotate`],style:o.default?"":this.cssVars},o.icon()),a):c("div",{class:[`${r}-spin-body`,this.themeClass]},c(Yo,{clsPrefix:r,style:o.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${r}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),o.default?c("div",{class:[`${r}-spin-container`,this.themeClass],style:this.cssVars},c("div",{class:[`${r}-spin-content`,this.active&&`${r}-spin-content--spinning`,this.contentClass],style:this.contentStyle},o),c(kt,{name:"fade-in-transition"},{default:()=>this.active?l:null})):l}}),K6={name:"Split",common:ke},G6=K6,q6=e=>{const{primaryColorHover:t,borderColor:o}=e;return{resizableTriggerColorHover:t,resizableTriggerColor:o}},X6={name:"Split",common:Ce,self:q6},Y6=X6,Z6=y("switch",` height: var(--n-height); min-width: var(--n-width); vertical-align: middle; @@ -3268,17 +3268,17 @@ ${t} outline: none; justify-content: center; align-items: center; -`,[M("children-placeholder",` +`,[O("children-placeholder",` height: var(--n-rail-height); display: flex; flex-direction: column; overflow: hidden; pointer-events: none; visibility: hidden; - `),M("rail-placeholder",` + `),O("rail-placeholder",` display: flex; flex-wrap: none; - `),M("button-placeholder",` + `),O("button-placeholder",` width: calc(1.75 * var(--n-rail-height)); height: var(--n-rail-height); `),y("base-loading",` @@ -3289,7 +3289,7 @@ ${t} font-size: calc(var(--n-button-width) - 4px); color: var(--n-loading-color); transition: color .3s var(--n-bezier); - `,[Wt({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),M("checked, unchecked",` + `,[Nt({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),O("checked, unchecked",` transition: color .3s var(--n-bezier); color: var(--n-text-color); box-sizing: border-box; @@ -3300,16 +3300,16 @@ ${t} display: flex; align-items: center; line-height: 1; - `),M("checked",` + `),O("checked",` right: 0; padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset)); - `),M("unchecked",` + `),O("unchecked",` left: 0; justify-content: flex-end; padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset)); - `),z("&:focus",[M("rail",` + `),z("&:focus",[O("rail",` box-shadow: var(--n-box-shadow-focus); - `)]),B("round",[M("rail","border-radius: calc(var(--n-rail-height) / 2);",[M("button","border-radius: calc(var(--n-button-height) / 2);")])]),nt("disabled",[nt("icon",[B("rubber-band",[B("pressed",[M("rail",[M("button","max-width: var(--n-button-width-pressed);")])]),M("rail",[z("&:active",[M("button","max-width: var(--n-button-width-pressed);")])]),B("active",[B("pressed",[M("rail",[M("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),M("rail",[z("&:active",[M("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),B("active",[M("rail",[M("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),M("rail",` + `)]),B("round",[O("rail","border-radius: calc(var(--n-rail-height) / 2);",[O("button","border-radius: calc(var(--n-button-height) / 2);")])]),rt("disabled",[rt("icon",[B("rubber-band",[B("pressed",[O("rail",[O("button","max-width: var(--n-button-width-pressed);")])]),O("rail",[z("&:active",[O("button","max-width: var(--n-button-width-pressed);")])]),B("active",[B("pressed",[O("rail",[O("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),O("rail",[z("&:active",[O("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),B("active",[O("rail",[O("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),O("rail",` overflow: hidden; height: var(--n-rail-height); min-width: var(--n-rail-width); @@ -3321,7 +3321,7 @@ ${t} background .3s var(--n-bezier), box-shadow .3s var(--n-bezier); background-color: var(--n-rail-color); - `,[M("button-icon",` + `,[O("button-icon",` color: var(--n-icon-color); transition: color .3s var(--n-bezier); font-size: calc(var(--n-button-height) - 4px); @@ -3334,7 +3334,7 @@ ${t} justify-content: center; align-items: center; line-height: 1; - `,[Wt()]),M("button",` + `,[Nt()]),O("button",` align-items: center; top: var(--n-offset); left: var(--n-offset); @@ -3354,12 +3354,12 @@ ${t} opacity .3s var(--n-bezier), max-width .3s var(--n-bezier), box-shadow .3s var(--n-bezier); - `)]),B("active",[M("rail","background-color: var(--n-rail-color-active);")]),B("loading",[M("rail",` + `)]),B("active",[O("rail","background-color: var(--n-rail-color-active);")]),B("loading",[O("rail",` cursor: wait; - `)]),B("disabled",[M("rail",` + `)]),B("disabled",[O("rail",` cursor: not-allowed; opacity: .5; - `)])]),Y6=Object.assign(Object.assign({},we.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let ln;const G8=ne({name:"Switch",props:Y6,setup(e){ln===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?ln=CSS.supports("width","max(1px)"):ln=!1:ln=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=we("Switch","-switch",X6,ip,e,t),n=So(e),{mergedSizeRef:i,mergedDisabledRef:a}=n,l=E(e.defaultValue),s=he(e,"value"),d=$t(s,l),u=T(()=>d.value===e.checkedValue),h=E(!1),p=E(!1),g=T(()=>{const{railStyle:k}=e;if(k)return k({focused:p.value,checked:u.value})});function f(k){const{"onUpdate:value":P,onChange:I,onUpdateValue:A}=e,{nTriggerFormInput:O,nTriggerFormChange:L}=n;P&&ie(P,k),A&&ie(A,k),I&&ie(I,k),l.value=k,O(),L()}function v(){const{nTriggerFormFocus:k}=n;k()}function m(){const{nTriggerFormBlur:k}=n;k()}function b(){e.loading||a.value||(d.value!==e.checkedValue?f(e.checkedValue):f(e.uncheckedValue))}function C(){p.value=!0,v()}function R(){p.value=!1,m(),h.value=!1}function $(k){e.loading||a.value||k.key===" "&&(d.value!==e.checkedValue?f(e.checkedValue):f(e.uncheckedValue),h.value=!1)}function S(k){e.loading||a.value||k.key===" "&&(k.preventDefault(),h.value=!0)}const w=T(()=>{const{value:k}=i,{self:{opacityDisabled:P,railColor:I,railColorActive:A,buttonBoxShadow:O,buttonColor:L,boxShadowFocus:H,loadingColor:_,textColor:U,iconColor:N,[oe("buttonHeight",k)]:te,[oe("buttonWidth",k)]:fe,[oe("buttonWidthPressed",k)]:ae,[oe("railHeight",k)]:Y,[oe("railWidth",k)]:j,[oe("railBorderRadius",k)]:X,[oe("buttonBorderRadius",k)]:re},common:{cubicBezierEaseInOut:le}}=r.value;let ge,me,Ae;return ln?(ge=`calc((${Y} - ${te}) / 2)`,me=`max(${Y}, ${te})`,Ae=`max(${j}, calc(${j} + ${te} - ${Y}))`):(ge=St((Tt(Y)-Tt(te))/2),me=St(Math.max(Tt(Y),Tt(te))),Ae=Tt(Y)>Tt(te)?j:St(Tt(j)+Tt(te)-Tt(Y))),{"--n-bezier":le,"--n-button-border-radius":re,"--n-button-box-shadow":O,"--n-button-color":L,"--n-button-width":fe,"--n-button-width-pressed":ae,"--n-button-height":te,"--n-height":me,"--n-offset":ge,"--n-opacity-disabled":P,"--n-rail-border-radius":X,"--n-rail-color":I,"--n-rail-color-active":A,"--n-rail-height":Y,"--n-rail-width":j,"--n-width":Ae,"--n-box-shadow-focus":H,"--n-loading-color":_,"--n-text-color":U,"--n-icon-color":N}}),x=o?Qe("switch",T(()=>i.value[0]),w,e):void 0;return{handleClick:b,handleBlur:R,handleFocus:C,handleKeyup:$,handleKeydown:S,mergedRailStyle:g,pressed:h,mergedClsPrefix:t,mergedValue:d,checked:u,mergedDisabled:a,cssVars:o?void 0:w,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:o,mergedRailStyle:r,onRender:n,$slots:i}=this;n==null||n();const{checked:a,unchecked:l,icon:s,"checked-icon":d,"unchecked-icon":u}=i,h=!(Or(s)&&Or(d)&&Or(u));return c("div",{role:"switch","aria-checked":o,class:[`${e}-switch`,this.themeClass,h&&`${e}-switch--icon`,o&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},c("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:r},Ze(a,p=>Ze(l,g=>p||g?c("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},c("div",{class:`${e}-switch__rail-placeholder`},c("div",{class:`${e}-switch__button-placeholder`}),p),c("div",{class:`${e}-switch__rail-placeholder`},c("div",{class:`${e}-switch__button-placeholder`}),g)):null)),c("div",{class:`${e}-switch__button`},Ze(s,p=>Ze(d,g=>Ze(u,f=>c(br,null,{default:()=>this.loading?c(Yo,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(g||p)?c("div",{class:`${e}-switch__button-icon`,key:g?"checked-icon":"icon"},g||p):!this.checked&&(f||p)?c("div",{class:`${e}-switch__button-icon`,key:f?"unchecked-icon":"icon"},f||p):null})))),Ze(a,p=>p&&c("div",{key:"checked",class:`${e}-switch__checked`},p)),Ze(l,p=>p&&c("div",{key:"unchecked",class:`${e}-switch__unchecked`},p)))))}}),Ul="n-tabs",Ep={tab:[String,Number,Object,Function],name:{type:[String,Number],required:!0},disabled:Boolean,displayDirective:{type:String,default:"if"},closable:{type:Boolean,default:void 0},tabProps:Object,label:[String,Number,Object,Function]},X8=ne({__TAB_PANE__:!0,name:"TabPane",alias:["TabPanel"],props:Ep,setup(e){const t=Te(Ul,null);return t||hr("tab-pane","`n-tab-pane` must be placed inside `n-tabs`."),{style:t.paneStyleRef,class:t.paneClassRef,mergedClsPrefix:t.mergedClsPrefixRef}},render(){return c("div",{class:[`${this.mergedClsPrefix}-tab-pane`,this.class],style:this.style},this.$slots)}}),Z6=Object.assign({internalLeftPadded:Boolean,internalAddable:Boolean,internalCreatedByPane:Boolean},fr(Ep,["displayDirective"])),rl=ne({__TAB__:!0,inheritAttrs:!1,name:"Tab",props:Z6,setup(e){const{mergedClsPrefixRef:t,valueRef:o,typeRef:r,closableRef:n,tabStyleRef:i,addTabStyleRef:a,tabClassRef:l,addTabClassRef:s,tabChangeIdRef:d,onBeforeLeaveRef:u,triggerRef:h,handleAdd:p,activateTab:g,handleClose:f}=Te(Ul);return{trigger:h,mergedClosable:T(()=>{if(e.internalAddable)return!1;const{closable:v}=e;return v===void 0?n.value:v}),style:i,addStyle:a,tabClass:l,addTabClass:s,clsPrefix:t,value:o,type:r,handleClose(v){v.stopPropagation(),!e.disabled&&f(e.name)},activateTab(){if(e.disabled)return;if(e.internalAddable){p();return}const{name:v}=e,m=++d.id;if(v!==o.value){const{value:b}=u;b?Promise.resolve(b(e.name,o.value)).then(C=>{C&&d.id===m&&g(v)}):g(v)}}}},render(){const{internalAddable:e,clsPrefix:t,name:o,disabled:r,label:n,tab:i,value:a,mergedClosable:l,trigger:s,$slots:{default:d}}=this,u=n??i;return c("div",{class:`${t}-tabs-tab-wrapper`},this.internalLeftPadded?c("div",{class:`${t}-tabs-tab-pad`}):null,c("div",Object.assign({key:o,"data-name":o,"data-disabled":r?!0:void 0},Ft({class:[`${t}-tabs-tab`,a===o&&`${t}-tabs-tab--active`,r&&`${t}-tabs-tab--disabled`,l&&`${t}-tabs-tab--closable`,e&&`${t}-tabs-tab--addable`,e?this.addTabClass:this.tabClass],onClick:s==="click"?this.activateTab:void 0,onMouseenter:s==="hover"?this.activateTab:void 0,style:e?this.addStyle:this.style},this.internalCreatedByPane?this.tabProps||{}:this.$attrs)),c("span",{class:`${t}-tabs-tab__label`},e?c(yt,null,c("div",{class:`${t}-tabs-tab__height-placeholder`}," "),c(ot,{clsPrefix:t},{default:()=>c(Iu,null)})):d?d():typeof u=="object"?u:pt(u??o)),l&&this.type==="card"?c(mr,{clsPrefix:t,class:`${t}-tabs-tab__close`,onClick:this.handleClose,disabled:r}):null))}}),J6=y("tabs",` + `)])]),J6=Object.assign(Object.assign({},be.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let ln;const Q8=re({name:"Switch",props:J6,setup(e){ln===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?ln=CSS.supports("width","max(1px)"):ln=!1:ln=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=He(e),r=be("Switch","-switch",Z6,ap,e,t),n=ko(e),{mergedSizeRef:i,mergedDisabledRef:a}=n,l=E(e.defaultValue),s=he(e,"value"),d=$t(s,l),u=T(()=>d.value===e.checkedValue),h=E(!1),p=E(!1),g=T(()=>{const{railStyle:k}=e;if(k)return k({focused:p.value,checked:u.value})});function f(k){const{"onUpdate:value":P,onChange:M,onUpdateValue:L}=e,{nTriggerFormInput:I,nTriggerFormChange:A}=n;P&&ie(P,k),L&&ie(L,k),M&&ie(M,k),l.value=k,I(),A()}function v(){const{nTriggerFormFocus:k}=n;k()}function b(){const{nTriggerFormBlur:k}=n;k()}function m(){e.loading||a.value||(d.value!==e.checkedValue?f(e.checkedValue):f(e.uncheckedValue))}function C(){p.value=!0,v()}function R(){p.value=!1,b(),h.value=!1}function $(k){e.loading||a.value||k.key===" "&&(d.value!==e.checkedValue?f(e.checkedValue):f(e.uncheckedValue),h.value=!1)}function S(k){e.loading||a.value||k.key===" "&&(k.preventDefault(),h.value=!0)}const w=T(()=>{const{value:k}=i,{self:{opacityDisabled:P,railColor:M,railColorActive:L,buttonBoxShadow:I,buttonColor:A,boxShadowFocus:H,loadingColor:_,textColor:U,iconColor:N,[oe("buttonHeight",k)]:ee,[oe("buttonWidth",k)]:ue,[oe("buttonWidthPressed",k)]:ae,[oe("railHeight",k)]:Y,[oe("railWidth",k)]:W,[oe("railBorderRadius",k)]:X,[oe("buttonBorderRadius",k)]:ne},common:{cubicBezierEaseInOut:le}}=r.value;let ge,xe,Le;return ln?(ge=`calc((${Y} - ${ee}) / 2)`,xe=`max(${Y}, ${ee})`,Le=`max(${W}, calc(${W} + ${ee} - ${Y}))`):(ge=St((Tt(Y)-Tt(ee))/2),xe=St(Math.max(Tt(Y),Tt(ee))),Le=Tt(Y)>Tt(ee)?W:St(Tt(W)+Tt(ee)-Tt(Y))),{"--n-bezier":le,"--n-button-border-radius":ne,"--n-button-box-shadow":I,"--n-button-color":A,"--n-button-width":ue,"--n-button-width-pressed":ae,"--n-button-height":ee,"--n-height":xe,"--n-offset":ge,"--n-opacity-disabled":P,"--n-rail-border-radius":X,"--n-rail-color":M,"--n-rail-color-active":L,"--n-rail-height":Y,"--n-rail-width":W,"--n-width":Le,"--n-box-shadow-focus":H,"--n-loading-color":_,"--n-text-color":U,"--n-icon-color":N}}),x=o?Qe("switch",T(()=>i.value[0]),w,e):void 0;return{handleClick:m,handleBlur:R,handleFocus:C,handleKeyup:$,handleKeydown:S,mergedRailStyle:g,pressed:h,mergedClsPrefix:t,mergedValue:d,checked:u,mergedDisabled:a,cssVars:o?void 0:w,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:o,mergedRailStyle:r,onRender:n,$slots:i}=this;n==null||n();const{checked:a,unchecked:l,icon:s,"checked-icon":d,"unchecked-icon":u}=i,h=!(Mr(s)&&Mr(d)&&Mr(u));return c("div",{role:"switch","aria-checked":o,class:[`${e}-switch`,this.themeClass,h&&`${e}-switch--icon`,o&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},c("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:r},Ze(a,p=>Ze(l,g=>p||g?c("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},c("div",{class:`${e}-switch__rail-placeholder`},c("div",{class:`${e}-switch__button-placeholder`}),p),c("div",{class:`${e}-switch__rail-placeholder`},c("div",{class:`${e}-switch__button-placeholder`}),g)):null)),c("div",{class:`${e}-switch__button`},Ze(s,p=>Ze(d,g=>Ze(u,f=>c(mr,null,{default:()=>this.loading?c(Yo,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(g||p)?c("div",{class:`${e}-switch__button-icon`,key:g?"checked-icon":"icon"},g||p):!this.checked&&(f||p)?c("div",{class:`${e}-switch__button-icon`,key:f?"unchecked-icon":"icon"},f||p):null})))),Ze(a,p=>p&&c("div",{key:"checked",class:`${e}-switch__checked`},p)),Ze(l,p=>p&&c("div",{key:"unchecked",class:`${e}-switch__unchecked`},p)))))}}),Kl="n-tabs",Ap={tab:[String,Number,Object,Function],name:{type:[String,Number],required:!0},disabled:Boolean,displayDirective:{type:String,default:"if"},closable:{type:Boolean,default:void 0},tabProps:Object,label:[String,Number,Object,Function]},eB=re({__TAB_PANE__:!0,name:"TabPane",alias:["TabPanel"],props:Ap,setup(e){const t=Te(Kl,null);return t||hr("tab-pane","`n-tab-pane` must be placed inside `n-tabs`."),{style:t.paneStyleRef,class:t.paneClassRef,mergedClsPrefix:t.mergedClsPrefixRef}},render(){return c("div",{class:[`${this.mergedClsPrefix}-tab-pane`,this.class],style:this.style},this.$slots)}}),Q6=Object.assign({internalLeftPadded:Boolean,internalAddable:Boolean,internalCreatedByPane:Boolean},fr(Ap,["displayDirective"])),rl=re({__TAB__:!0,inheritAttrs:!1,name:"Tab",props:Q6,setup(e){const{mergedClsPrefixRef:t,valueRef:o,typeRef:r,closableRef:n,tabStyleRef:i,addTabStyleRef:a,tabClassRef:l,addTabClassRef:s,tabChangeIdRef:d,onBeforeLeaveRef:u,triggerRef:h,handleAdd:p,activateTab:g,handleClose:f}=Te(Kl);return{trigger:h,mergedClosable:T(()=>{if(e.internalAddable)return!1;const{closable:v}=e;return v===void 0?n.value:v}),style:i,addStyle:a,tabClass:l,addTabClass:s,clsPrefix:t,value:o,type:r,handleClose(v){v.stopPropagation(),!e.disabled&&f(e.name)},activateTab(){if(e.disabled)return;if(e.internalAddable){p();return}const{name:v}=e,b=++d.id;if(v!==o.value){const{value:m}=u;m?Promise.resolve(m(e.name,o.value)).then(C=>{C&&d.id===b&&g(v)}):g(v)}}}},render(){const{internalAddable:e,clsPrefix:t,name:o,disabled:r,label:n,tab:i,value:a,mergedClosable:l,trigger:s,$slots:{default:d}}=this,u=n??i;return c("div",{class:`${t}-tabs-tab-wrapper`},this.internalLeftPadded?c("div",{class:`${t}-tabs-tab-pad`}):null,c("div",Object.assign({key:o,"data-name":o,"data-disabled":r?!0:void 0},Ft({class:[`${t}-tabs-tab`,a===o&&`${t}-tabs-tab--active`,r&&`${t}-tabs-tab--disabled`,l&&`${t}-tabs-tab--closable`,e&&`${t}-tabs-tab--addable`,e?this.addTabClass:this.tabClass],onClick:s==="click"?this.activateTab:void 0,onMouseenter:s==="hover"?this.activateTab:void 0,style:e?this.addStyle:this.style},this.internalCreatedByPane?this.tabProps||{}:this.$attrs)),c("span",{class:`${t}-tabs-tab__label`},e?c(yt,null,c("div",{class:`${t}-tabs-tab__height-placeholder`}," "),c(ot,{clsPrefix:t},{default:()=>c(Fu,null)})):d?d():typeof u=="object"?u:vt(u??o)),l&&this.type==="card"?c(br,{clsPrefix:t,class:`${t}-tabs-tab__close`,onClick:this.handleClose,disabled:r}):null))}}),e8=y("tabs",` box-sizing: border-box; width: 100%; display: flex; @@ -3442,10 +3442,10 @@ ${t} line-height: 1.5; display: flex; transition: border-color .3s var(--n-bezier); - `,[M("prefix, suffix",` + `,[O("prefix, suffix",` display: flex; align-items: center; - `),M("prefix","padding-right: 16px;"),M("suffix","padding-left: 16px;")]),B("top, bottom",[y("tabs-nav-scroll-wrapper",[z("&::before",` + `),O("prefix","padding-right: 16px;"),O("suffix","padding-left: 16px;")]),B("top, bottom",[y("tabs-nav-scroll-wrapper",[z("&::before",` top: 0; bottom: 0; left: 0; @@ -3524,12 +3524,12 @@ ${t} color .3s var(--n-bezier), background-color .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[B("disabled",{cursor:"not-allowed"}),M("close",` + `,[B("disabled",{cursor:"not-allowed"}),O("close",` margin-left: 6px; transition: background-color .3s var(--n-bezier), color .3s var(--n-bezier); - `),M("label",` + `),O("label",` display: flex; align-items: center; z-index: 1; @@ -3591,37 +3591,37 @@ ${t} `,[z("&:hover",{color:"var(--n-tab-text-color-hover)"}),B("active",` color: var(--n-tab-text-color-active); font-weight: var(--n-tab-font-weight-active); - `),B("disabled",{color:"var(--n-tab-text-color-disabled)"})])]),y("tabs-nav",[B("line-type",[B("top",[M("prefix, suffix",` + `),B("disabled",{color:"var(--n-tab-text-color-disabled)"})])]),y("tabs-nav",[B("line-type",[B("top",[O("prefix, suffix",` border-bottom: 1px solid var(--n-tab-border-color); `),y("tabs-nav-scroll-content",` border-bottom: 1px solid var(--n-tab-border-color); `),y("tabs-bar",` bottom: -1px; - `)]),B("left",[M("prefix, suffix",` + `)]),B("left",[O("prefix, suffix",` border-right: 1px solid var(--n-tab-border-color); `),y("tabs-nav-scroll-content",` border-right: 1px solid var(--n-tab-border-color); `),y("tabs-bar",` right: -1px; - `)]),B("right",[M("prefix, suffix",` + `)]),B("right",[O("prefix, suffix",` border-left: 1px solid var(--n-tab-border-color); `),y("tabs-nav-scroll-content",` border-left: 1px solid var(--n-tab-border-color); `),y("tabs-bar",` left: -1px; - `)]),B("bottom",[M("prefix, suffix",` + `)]),B("bottom",[O("prefix, suffix",` border-top: 1px solid var(--n-tab-border-color); `),y("tabs-nav-scroll-content",` border-top: 1px solid var(--n-tab-border-color); `),y("tabs-bar",` top: -1px; - `)]),M("prefix, suffix",` + `)]),O("prefix, suffix",` transition: border-color .3s var(--n-bezier); `),y("tabs-nav-scroll-content",` transition: border-color .3s var(--n-bezier); `),y("tabs-bar",` border-radius: 0; - `)]),B("card-type",[M("prefix, suffix",` + `)]),B("card-type",[O("prefix, suffix",` transition: border-color .3s var(--n-bezier); border-bottom: 1px solid var(--n-tab-border-color); `),y("tabs-pad",` @@ -3644,10 +3644,10 @@ ${t} padding-left: 8px; padding-right: 8px; font-size: 16px; - `,[M("height-placeholder",` + `,[O("height-placeholder",` width: 0; font-size: var(--n-tab-font-size); - `),nt("disabled",[z("&:hover",` + `),rt("disabled",[z("&:hover",` color: var(--n-tab-text-color-hover); `)])]),B("closable","padding-right: 8px;"),B("active",` background-color: #0000; @@ -3696,4 +3696,32 @@ ${t} border-top: 1px solid var(--n-tab-border-color); `),y("tabs-pad",` border-top: 1px solid var(--n-tab-border-color); - `)])])])]),Q6=Object.assign(Object.assign({},we.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],tabClass:String,addTabStyle:[String,Object],addTabClass:String,barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),Y8=ne({name:"Tabs",props:Q6,setup(e,{slots:t}){var o,r,n,i;const{mergedClsPrefixRef:a,inlineThemeDisabled:l}=He(e),s=we("Tabs","-tabs",J6,sp,e,a),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(null),v=E(!0),m=E(!0),b=Cn(e,["labelSize","size"]),C=Cn(e,["activeName","value"]),R=E((r=(o=C.value)!==null&&o!==void 0?o:e.defaultValue)!==null&&r!==void 0?r:t.default?(i=(n=Oo(t.default())[0])===null||n===void 0?void 0:n.props)===null||i===void 0?void 0:i.name:null),$=$t(C,R),S={id:0},w=T(()=>{if(!(!e.justifyContent||e.type==="card"))return{display:"flex",justifyContent:e.justifyContent}});Je($,()=>{S.id=0,A(),O()});function x(){var K;const{value:Q}=$;return Q===null?null:(K=d.value)===null||K===void 0?void 0:K.querySelector(`[data-name="${Q}"]`)}function k(K){if(e.type==="card")return;const{value:Q}=u;if(!Q)return;const pe=Q.style.opacity==="0";if(K){const V=`${a.value}-tabs-bar--disabled`,{barWidth:D,placement:J}=e;if(K.dataset.disabled==="true"?Q.classList.add(V):Q.classList.remove(V),["top","bottom"].includes(J)){if(I(["top","maxHeight","height"]),typeof D=="number"&&K.offsetWidth>=D){const Se=Math.floor((K.offsetWidth-D)/2)+K.offsetLeft;Q.style.left=`${Se}px`,Q.style.maxWidth=`${D}px`}else Q.style.left=`${K.offsetLeft}px`,Q.style.maxWidth=`${K.offsetWidth}px`;Q.style.width="8192px",pe&&(Q.style.transition="none"),Q.offsetWidth,pe&&(Q.style.transition="",Q.style.opacity="1")}else{if(I(["left","maxWidth","width"]),typeof D=="number"&&K.offsetHeight>=D){const Se=Math.floor((K.offsetHeight-D)/2)+K.offsetTop;Q.style.top=`${Se}px`,Q.style.maxHeight=`${D}px`}else Q.style.top=`${K.offsetTop}px`,Q.style.maxHeight=`${K.offsetHeight}px`;Q.style.height="8192px",pe&&(Q.style.transition="none"),Q.offsetHeight,pe&&(Q.style.transition="",Q.style.opacity="1")}}}function P(){if(e.type==="card")return;const{value:K}=u;K&&(K.style.opacity="0")}function I(K){const{value:Q}=u;if(Q)for(const pe of K)Q.style[pe]=""}function A(){if(e.type==="card")return;const K=x();K?k(K):P()}function O(K){var Q;const pe=(Q=g.value)===null||Q===void 0?void 0:Q.$el;if(!pe)return;const V=x();if(!V)return;const{scrollLeft:D,offsetWidth:J}=pe,{offsetLeft:Se,offsetWidth:Le}=V;D>Se?pe.scrollTo({top:0,left:Se,behavior:"smooth"}):Se+Le>D+J&&pe.scrollTo({top:0,left:Se+Le-J,behavior:"smooth"})}const L=E(null);let H=0,_=null;function U(K){const Q=L.value;if(Q){H=K.getBoundingClientRect().height;const pe=`${H}px`,V=()=>{Q.style.height=pe,Q.style.maxHeight=pe};_?(V(),_(),_=null):_=V}}function N(K){const Q=L.value;if(Q){const pe=K.getBoundingClientRect().height,V=()=>{document.body.offsetHeight,Q.style.maxHeight=`${pe}px`,Q.style.height=`${Math.max(H,pe)}px`};_?(_(),_=null,V()):_=V}}function te(){const K=L.value;if(K){K.style.maxHeight="",K.style.height="";const{paneWrapperStyle:Q}=e;if(typeof Q=="string")K.style.cssText=Q;else if(Q){const{maxHeight:pe,height:V}=Q;pe!==void 0&&(K.style.maxHeight=pe),V!==void 0&&(K.style.height=V)}}}const fe={value:[]},ae=E("next");function Y(K){const Q=$.value;let pe="next";for(const V of fe.value){if(V===Q)break;if(V===K){pe="prev";break}}ae.value=pe,j(K)}function j(K){const{onActiveNameChange:Q,onUpdateValue:pe,"onUpdate:value":V}=e;Q&&ie(Q,K),pe&&ie(pe,K),V&&ie(V,K),R.value=K}function X(K){const{onClose:Q}=e;Q&&ie(Q,K)}function re(){const{value:K}=u;if(!K)return;const Q="transition-disabled";K.classList.add(Q),A(),K.classList.remove(Q)}const le=E(null);function ge({transitionDisabled:K}){const Q=d.value;if(!Q)return;K&&Q.classList.add("transition-disabled");const pe=x();pe&&le.value&&(le.value.style.width=`${pe.offsetWidth}px`,le.value.style.height=`${pe.offsetHeight}px`,le.value.style.transform=`translateX(${pe.offsetLeft-Q.offsetLeft-Tt(getComputedStyle(Q).paddingLeft)}px)`,K&&le.value.offsetWidth),K&&Q.classList.remove("transition-disabled")}Je([$],()=>{e.type==="segment"&&ut(()=>{ge({transitionDisabled:!1})})}),gt(()=>{e.type==="segment"&&ge({transitionDisabled:!0})});let me=0;function Ae(K){var Q;if(K.contentRect.width===0&&K.contentRect.height===0||me===K.contentRect.width)return;me=K.contentRect.width;const{type:pe}=e;if((pe==="line"||pe==="bar")&&re(),pe!=="segment"){const{placement:V}=e;ue((V==="top"||V==="bottom"?(Q=g.value)===null||Q===void 0?void 0:Q.$el:f.value)||null)}}const q=da(Ae,64);Je([()=>e.justifyContent,()=>e.size],()=>{ut(()=>{const{type:K}=e;(K==="line"||K==="bar")&&re()})});const ve=E(!1);function $e(K){var Q;const{target:pe,contentRect:{width:V}}=K,D=pe.parentElement.offsetWidth;if(!ve.value)DJ.$el.offsetWidth&&(ve.value=!1)}ue(((Q=g.value)===null||Q===void 0?void 0:Q.$el)||null)}const Oe=da($e,64);function Z(){const{onAdd:K}=e;K&&K(),ut(()=>{const Q=x(),{value:pe}=g;!Q||!pe||pe.scrollTo({left:Q.offsetLeft,top:0,behavior:"smooth"})})}function ue(K){if(!K)return;const{placement:Q}=e;if(Q==="top"||Q==="bottom"){const{scrollLeft:pe,scrollWidth:V,offsetWidth:D}=K;v.value=pe<=0,m.value=pe+D>=V}else{const{scrollTop:pe,scrollHeight:V,offsetHeight:D}=K;v.value=pe<=0,m.value=pe+D>=V}}const be=da(K=>{ue(K.target)},64);Ue(Ul,{triggerRef:he(e,"trigger"),tabStyleRef:he(e,"tabStyle"),tabClassRef:he(e,"tabClass"),addTabStyleRef:he(e,"addTabStyle"),addTabClassRef:he(e,"addTabClass"),paneClassRef:he(e,"paneClass"),paneStyleRef:he(e,"paneStyle"),mergedClsPrefixRef:a,typeRef:he(e,"type"),closableRef:he(e,"closable"),valueRef:$,tabChangeIdRef:S,onBeforeLeaveRef:he(e,"onBeforeLeave"),activateTab:Y,handleClose:X,handleAdd:Z}),xc(()=>{A(),O()}),vt(()=>{const{value:K}=h;if(!K)return;const{value:Q}=a,pe=`${Q}-tabs-nav-scroll-wrapper--shadow-start`,V=`${Q}-tabs-nav-scroll-wrapper--shadow-end`;v.value?K.classList.remove(pe):K.classList.add(pe),m.value?K.classList.remove(V):K.classList.add(V)});const De={syncBarPosition:()=>{A()}},ee=()=>{ge({transitionDisabled:!0})},Ce=T(()=>{const{value:K}=b,{type:Q}=e,pe={card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[Q],V=`${K}${pe}`,{self:{barColor:D,closeIconColor:J,closeIconColorHover:Se,closeIconColorPressed:Le,tabColor:qe,tabBorderColor:it,paneTextColor:ye,tabFontWeight:ze,tabBorderRadius:Ke,tabFontWeightActive:Be,colorSegment:Ve,fontWeightStrong:at,tabColorSegment:F,closeSize:G,closeIconSize:de,closeColorHover:Re,closeColorPressed:Ie,closeBorderRadius:Fe,[oe("panePadding",K)]:_e,[oe("tabPadding",V)]:je,[oe("tabPaddingVertical",V)]:Ge,[oe("tabGap",V)]:xt,[oe("tabGap",`${V}Vertical`)]:ft,[oe("tabTextColor",Q)]:Ct,[oe("tabTextColorActive",Q)]:Kt,[oe("tabTextColorHover",Q)]:qt,[oe("tabTextColorDisabled",Q)]:Ro,[oe("tabFontSize",K)]:Po},common:{cubicBezierEaseInOut:uo}}=s.value;return{"--n-bezier":uo,"--n-color-segment":Ve,"--n-bar-color":D,"--n-tab-font-size":Po,"--n-tab-text-color":Ct,"--n-tab-text-color-active":Kt,"--n-tab-text-color-disabled":Ro,"--n-tab-text-color-hover":qt,"--n-pane-text-color":ye,"--n-tab-border-color":it,"--n-tab-border-radius":Ke,"--n-close-size":G,"--n-close-icon-size":de,"--n-close-color-hover":Re,"--n-close-color-pressed":Ie,"--n-close-border-radius":Fe,"--n-close-icon-color":J,"--n-close-icon-color-hover":Se,"--n-close-icon-color-pressed":Le,"--n-tab-color":qe,"--n-tab-font-weight":ze,"--n-tab-font-weight-active":Be,"--n-tab-padding":je,"--n-tab-padding-vertical":Ge,"--n-tab-gap":xt,"--n-tab-gap-vertical":ft,"--n-pane-padding-left":_t(_e,"left"),"--n-pane-padding-right":_t(_e,"right"),"--n-pane-padding-top":_t(_e,"top"),"--n-pane-padding-bottom":_t(_e,"bottom"),"--n-font-weight-strong":at,"--n-tab-color-segment":F}}),Pe=l?Qe("tabs",T(()=>`${b.value[0]}${e.type[0]}`),Ce,e):void 0;return Object.assign({mergedClsPrefix:a,mergedValue:$,renderedNames:new Set,segmentCapsuleElRef:le,tabsPaneWrapperRef:L,tabsElRef:d,barElRef:u,addTabInstRef:p,xScrollInstRef:g,scrollWrapperElRef:h,addTabFixed:ve,tabWrapperStyle:w,handleNavResize:q,mergedSize:b,handleScroll:be,handleTabsResize:Oe,cssVars:l?void 0:Ce,themeClass:Pe==null?void 0:Pe.themeClass,animationDirection:ae,renderNameListRef:fe,yScrollElRef:f,handleSegmentResize:ee,onAnimationBeforeLeave:U,onAnimationEnter:N,onAnimationAfterEnter:te,onRender:Pe==null?void 0:Pe.onRender},De)},render(){const{mergedClsPrefix:e,type:t,placement:o,addTabFixed:r,addable:n,mergedSize:i,renderNameListRef:a,onRender:l,paneWrapperClass:s,paneWrapperStyle:d,$slots:{default:u,prefix:h,suffix:p}}=this;l==null||l();const g=u?Oo(u()).filter(S=>S.type.__TAB_PANE__===!0):[],f=u?Oo(u()).filter(S=>S.type.__TAB__===!0):[],v=!f.length,m=t==="card",b=t==="segment",C=!m&&!b&&this.justifyContent;a.value=[];const R=()=>{const S=c("div",{style:this.tabWrapperStyle,class:[`${e}-tabs-wrapper`]},C?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}),v?g.map((w,x)=>(a.value.push(w.props.name),za(c(rl,Object.assign({},w.props,{internalCreatedByPane:!0,internalLeftPadded:x!==0&&(!C||C==="center"||C==="start"||C==="end")}),w.children?{default:w.children.tab}:void 0)))):f.map((w,x)=>(a.value.push(w.props.name),za(x!==0&&!C?ec(w):w))),!r&&n&&m?Qd(n,(v?g.length:f.length)!==0):null,C?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}));return c("div",{ref:"tabsElRef",class:`${e}-tabs-nav-scroll-content`},m&&n?c(io,{onResize:this.handleTabsResize},{default:()=>S}):S,m?c("div",{class:`${e}-tabs-pad`}):null,m?null:c("div",{ref:"barElRef",class:`${e}-tabs-bar`}))},$=b?"top":o;return c("div",{class:[`${e}-tabs`,this.themeClass,`${e}-tabs--${t}-type`,`${e}-tabs--${i}-size`,C&&`${e}-tabs--flex`,`${e}-tabs--${$}`],style:this.cssVars},c("div",{class:[`${e}-tabs-nav--${t}-type`,`${e}-tabs-nav--${$}`,`${e}-tabs-nav`]},Ze(h,S=>S&&c("div",{class:`${e}-tabs-nav__prefix`},S)),b?c(io,{onResize:this.handleSegmentResize},{default:()=>c("div",{class:`${e}-tabs-rail`,ref:"tabsElRef"},c("div",{class:`${e}-tabs-capsule`,ref:"segmentCapsuleElRef"},c("div",{class:`${e}-tabs-wrapper`},c("div",{class:`${e}-tabs-tab`}))),v?g.map((S,w)=>(a.value.push(S.props.name),c(rl,Object.assign({},S.props,{internalCreatedByPane:!0,internalLeftPadded:w!==0}),S.children?{default:S.children.tab}:void 0))):f.map((S,w)=>(a.value.push(S.props.name),w===0?S:ec(S))))}):c(io,{onResize:this.handleNavResize},{default:()=>c("div",{class:`${e}-tabs-nav-scroll-wrapper`,ref:"scrollWrapperElRef"},["top","bottom"].includes($)?c(sb,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:R}):c("div",{class:`${e}-tabs-nav-y-scroll`,onScroll:this.handleScroll,ref:"yScrollElRef"},R()))}),r&&n&&m?Qd(n,!0):null,Ze(p,S=>S&&c("div",{class:`${e}-tabs-nav__suffix`},S))),v&&(this.animated&&($==="top"||$==="bottom")?c("div",{ref:"tabsPaneWrapperRef",style:d,class:[`${e}-tabs-pane-wrapper`,s]},Jd(g,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection)):Jd(g,this.mergedValue,this.renderedNames)))}});function Jd(e,t,o,r,n,i,a){const l=[];return e.forEach(s=>{const{name:d,displayDirective:u,"display-directive":h}=s.props,p=f=>u===f||h===f,g=t===d;if(s.key!==void 0&&(s.key=d),g||p("show")||p("show:lazy")&&o.has(d)){o.has(d)||o.add(d);const f=!p("if");l.push(f?It(s,[[ao,g]]):s)}}),a?c(nc,{name:`${a}-transition`,onBeforeLeave:r,onEnter:n,onAfterEnter:i},{default:()=>l}):l}function Qd(e,t){return c(rl,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:t,disabled:typeof e=="object"&&e.disabled})}function ec(e){const t=gn(e);return t.props?t.props.internalLeftPadded=!0:t.props={internalLeftPadded:!0},t}function za(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}const Ap=()=>({}),e8={name:"Equation",common:xe,self:Ap},t8=e8,o8={name:"Equation",common:ke,self:Ap},r8=o8,n8={name:"FloatButtonGroup",common:ke,self(e){const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},i8=n8,Z8={name:"dark",common:ke,Alert:E2,Anchor:K2,AutoComplete:u5,Avatar:hf,AvatarGroup:y5,BackTop:S5,Badge:z5,Breadcrumb:A5,Button:jt,ButtonGroup:JP,Calendar:G5,Card:kf,Carousel:dk,Cascader:gk,Checkbox:Zr,Code:Tf,Collapse:Tk,CollapseTransition:Ik,ColorPicker:J5,DataTable:m$,DatePicker:A3,Descriptions:j3,Dialog:bh,Divider:sR,Drawer:uR,Dropdown:Al,DynamicInput:TR,DynamicTags:DR,Element:NR,Empty:xr,Ellipsis:jf,Equation:r8,Flex:qR,Form:eP,GradientText:oz,Icon:q$,IconWrapper:PT,Image:TT,Input:Jt,InputNumber:lz,LegacyTransfer:YT,Layout:uz,List:bz,LoadingBar:xz,Log:Sz,Menu:Az,Mention:zz,Message:YP,Modal:Y3,Notification:KP,PageHeader:Dz,Pagination:_f,Popconfirm:Nz,Popover:Cr,Popselect:If,Progress:Xh,QrCode:y6,Radio:Nf,Rate:qz,Result:e4,Row:hT,Scrollbar:Dt,Select:Af,Skeleton:F6,Slider:o4,Space:Th,Spin:l4,Statistic:u4,Steps:g4,Switch:m4,Table:$4,Tabs:T4,Tag:Zu,Thing:I4,TimePicker:hh,Timeline:E4,Tooltip:Di,Transfer:H4,Tree:pp,TreeSelect:q4,Typography:tT,Upload:iT,Watermark:lT,Split:U6,FloatButton:mT,FloatButtonGroup:i8},J8={name:"light",common:xe,Alert:_2,Anchor:V2,AutoComplete:d5,Avatar:zl,AvatarGroup:x5,BackTop:R5,Badge:M5,Breadcrumb:F5,Button:At,ButtonGroup:ez,Calendar:K5,Card:Tl,Carousel:lk,Cascader:pk,Checkbox:yr,Code:Bf,Collapse:Pk,CollapseTransition:Mk,ColorPicker:Y5,DataTable:Kf,DatePicker:F3,Descriptions:D3,Dialog:Dl,Divider:aR,Drawer:Rh,Dropdown:ji,DynamicInput:OR,DynamicTags:jR,Element:UR,Empty:$o,Equation:t8,Ellipsis:El,Flex:YR,Form:Wl,GradientText:iz,Icon:nh,IconWrapper:$T,Image:yp,Input:Ht,InputNumber:Hh,Layout:Nl,LegacyTransfer:QT,List:vz,LoadingBar:Wh,Log:Rz,Menu:Fz,Mention:Mz,Message:Dh,Modal:Sh,Notification:Lh,PageHeader:_z,Pagination:Fl,Popconfirm:Kh,Popover:Zo,Popselect:_i,Progress:Gh,QrCode:k6,Radio:Hi,Rate:Yz,Row:uT,Result:Zh,Scrollbar:Et,Skeleton:Fp,Select:Il,Slider:Qh,Space:jl,Spin:tp,Statistic:d4,Steps:p4,Switch:ip,Table:S4,Tabs:sp,Tag:Rl,Thing:M4,TimePicker:fh,Timeline:_4,Tooltip:An,Transfer:N4,Tree:hp,TreeSelect:Y4,Typography:Q4,Upload:rT,Watermark:dT,Split:G6,FloatButton:yT,FloatButtonGroup:gT};export{c8 as $,B8 as A,$8 as B,R8 as C,N8 as D,Zf as E,O$ as F,V8 as G,F8 as H,Yr as I,K8 as J,Ga as K,va as L,Yk as M,H8 as N,O8 as O,G8 as P,I8 as Q,E8 as R,f8 as S,b8 as T,P8 as U,k8 as V,S8 as W,X8 as X,Y8 as Y,h8 as Z,g8 as _,_8 as a,u8 as a0,W8 as a1,y8 as b,A8 as c,w8 as d,D8 as e,j8 as f,C8 as g,m8 as h,x8 as i,s8 as j,Z8 as k,d8 as l,p8 as m,T8 as n,J8 as o,qf as p,tR as q,Y$ as r,v8 as s,M8 as t,L8 as u,U8 as v,q8 as w,z8 as x,ik as y,jr as z}; + `)])])])]),t8=Object.assign(Object.assign({},be.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],tabClass:String,addTabStyle:[String,Object],addTabClass:String,barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),tB=re({name:"Tabs",props:t8,setup(e,{slots:t}){var o,r,n,i;const{mergedClsPrefixRef:a,inlineThemeDisabled:l}=He(e),s=be("Tabs","-tabs",e8,dp,e,a),d=E(null),u=E(null),h=E(null),p=E(null),g=E(null),f=E(null),v=E(!0),b=E(!0),m=Cn(e,["labelSize","size"]),C=Cn(e,["activeName","value"]),R=E((r=(o=C.value)!==null&&o!==void 0?o:e.defaultValue)!==null&&r!==void 0?r:t.default?(i=(n=Io(t.default())[0])===null||n===void 0?void 0:n.props)===null||i===void 0?void 0:i.name:null),$=$t(C,R),S={id:0},w=T(()=>{if(!(!e.justifyContent||e.type==="card"))return{display:"flex",justifyContent:e.justifyContent}});Je($,()=>{S.id=0,L(),I()});function x(){var K;const{value:Q}=$;return Q===null?null:(K=d.value)===null||K===void 0?void 0:K.querySelector(`[data-name="${Q}"]`)}function k(K){if(e.type==="card")return;const{value:Q}=u;if(!Q)return;const pe=Q.style.opacity==="0";if(K){const V=`${a.value}-tabs-bar--disabled`,{barWidth:D,placement:J}=e;if(K.dataset.disabled==="true"?Q.classList.add(V):Q.classList.remove(V),["top","bottom"].includes(J)){if(M(["top","maxHeight","height"]),typeof D=="number"&&K.offsetWidth>=D){const Se=Math.floor((K.offsetWidth-D)/2)+K.offsetLeft;Q.style.left=`${Se}px`,Q.style.maxWidth=`${D}px`}else Q.style.left=`${K.offsetLeft}px`,Q.style.maxWidth=`${K.offsetWidth}px`;Q.style.width="8192px",pe&&(Q.style.transition="none"),Q.offsetWidth,pe&&(Q.style.transition="",Q.style.opacity="1")}else{if(M(["left","maxWidth","width"]),typeof D=="number"&&K.offsetHeight>=D){const Se=Math.floor((K.offsetHeight-D)/2)+K.offsetTop;Q.style.top=`${Se}px`,Q.style.maxHeight=`${D}px`}else Q.style.top=`${K.offsetTop}px`,Q.style.maxHeight=`${K.offsetHeight}px`;Q.style.height="8192px",pe&&(Q.style.transition="none"),Q.offsetHeight,pe&&(Q.style.transition="",Q.style.opacity="1")}}}function P(){if(e.type==="card")return;const{value:K}=u;K&&(K.style.opacity="0")}function M(K){const{value:Q}=u;if(Q)for(const pe of K)Q.style[pe]=""}function L(){if(e.type==="card")return;const K=x();K?k(K):P()}function I(K){var Q;const pe=(Q=g.value)===null||Q===void 0?void 0:Q.$el;if(!pe)return;const V=x();if(!V)return;const{scrollLeft:D,offsetWidth:J}=pe,{offsetLeft:Se,offsetWidth:Ae}=V;D>Se?pe.scrollTo({top:0,left:Se,behavior:"smooth"}):Se+Ae>D+J&&pe.scrollTo({top:0,left:Se+Ae-J,behavior:"smooth"})}const A=E(null);let H=0,_=null;function U(K){const Q=A.value;if(Q){H=K.getBoundingClientRect().height;const pe=`${H}px`,V=()=>{Q.style.height=pe,Q.style.maxHeight=pe};_?(V(),_(),_=null):_=V}}function N(K){const Q=A.value;if(Q){const pe=K.getBoundingClientRect().height,V=()=>{document.body.offsetHeight,Q.style.maxHeight=`${pe}px`,Q.style.height=`${Math.max(H,pe)}px`};_?(_(),_=null,V()):_=V}}function ee(){const K=A.value;if(K){K.style.maxHeight="",K.style.height="";const{paneWrapperStyle:Q}=e;if(typeof Q=="string")K.style.cssText=Q;else if(Q){const{maxHeight:pe,height:V}=Q;pe!==void 0&&(K.style.maxHeight=pe),V!==void 0&&(K.style.height=V)}}}const ue={value:[]},ae=E("next");function Y(K){const Q=$.value;let pe="next";for(const V of ue.value){if(V===Q)break;if(V===K){pe="prev";break}}ae.value=pe,W(K)}function W(K){const{onActiveNameChange:Q,onUpdateValue:pe,"onUpdate:value":V}=e;Q&&ie(Q,K),pe&&ie(pe,K),V&&ie(V,K),R.value=K}function X(K){const{onClose:Q}=e;Q&&ie(Q,K)}function ne(){const{value:K}=u;if(!K)return;const Q="transition-disabled";K.classList.add(Q),L(),K.classList.remove(Q)}const le=E(null);function ge({transitionDisabled:K}){const Q=d.value;if(!Q)return;K&&Q.classList.add("transition-disabled");const pe=x();pe&&le.value&&(le.value.style.width=`${pe.offsetWidth}px`,le.value.style.height=`${pe.offsetHeight}px`,le.value.style.transform=`translateX(${pe.offsetLeft-Q.offsetLeft-Tt(getComputedStyle(Q).paddingLeft)}px)`,K&&le.value.offsetWidth),K&&Q.classList.remove("transition-disabled")}Je([$],()=>{e.type==="segment"&&ut(()=>{ge({transitionDisabled:!1})})}),gt(()=>{e.type==="segment"&&ge({transitionDisabled:!0})});let xe=0;function Le(K){var Q;if(K.contentRect.width===0&&K.contentRect.height===0||xe===K.contentRect.width)return;xe=K.contentRect.width;const{type:pe}=e;if((pe==="line"||pe==="bar")&&ne(),pe!=="segment"){const{placement:V}=e;fe((V==="top"||V==="bottom"?(Q=g.value)===null||Q===void 0?void 0:Q.$el:f.value)||null)}}const G=da(Le,64);Je([()=>e.justifyContent,()=>e.size],()=>{ut(()=>{const{type:K}=e;(K==="line"||K==="bar")&&ne()})});const ve=E(!1);function $e(K){var Q;const{target:pe,contentRect:{width:V}}=K,D=pe.parentElement.offsetWidth;if(!ve.value)DJ.$el.offsetWidth&&(ve.value=!1)}fe(((Q=g.value)===null||Q===void 0?void 0:Q.$el)||null)}const Me=da($e,64);function Z(){const{onAdd:K}=e;K&&K(),ut(()=>{const Q=x(),{value:pe}=g;!Q||!pe||pe.scrollTo({left:Q.offsetLeft,top:0,behavior:"smooth"})})}function fe(K){if(!K)return;const{placement:Q}=e;if(Q==="top"||Q==="bottom"){const{scrollLeft:pe,scrollWidth:V,offsetWidth:D}=K;v.value=pe<=0,b.value=pe+D>=V}else{const{scrollTop:pe,scrollHeight:V,offsetHeight:D}=K;v.value=pe<=0,b.value=pe+D>=V}}const me=da(K=>{fe(K.target)},64);Ue(Kl,{triggerRef:he(e,"trigger"),tabStyleRef:he(e,"tabStyle"),tabClassRef:he(e,"tabClass"),addTabStyleRef:he(e,"addTabStyle"),addTabClassRef:he(e,"addTabClass"),paneClassRef:he(e,"paneClass"),paneStyleRef:he(e,"paneStyle"),mergedClsPrefixRef:a,typeRef:he(e,"type"),closableRef:he(e,"closable"),valueRef:$,tabChangeIdRef:S,onBeforeLeaveRef:he(e,"onBeforeLeave"),activateTab:Y,handleClose:X,handleAdd:Z}),al(()=>{L(),I()}),pt(()=>{const{value:K}=h;if(!K)return;const{value:Q}=a,pe=`${Q}-tabs-nav-scroll-wrapper--shadow-start`,V=`${Q}-tabs-nav-scroll-wrapper--shadow-end`;v.value?K.classList.remove(pe):K.classList.add(pe),b.value?K.classList.remove(V):K.classList.add(V)});const De={syncBarPosition:()=>{L()}},te=()=>{ge({transitionDisabled:!0})},ye=T(()=>{const{value:K}=m,{type:Q}=e,pe={card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[Q],V=`${K}${pe}`,{self:{barColor:D,closeIconColor:J,closeIconColorHover:Se,closeIconColorPressed:Ae,tabColor:Ge,tabBorderColor:it,paneTextColor:we,tabFontWeight:ze,tabBorderRadius:Ke,tabFontWeightActive:Be,colorSegment:Ve,fontWeightStrong:at,tabColorSegment:F,closeSize:q,closeIconSize:de,closeColorHover:Re,closeColorPressed:Ie,closeBorderRadius:Fe,[oe("panePadding",K)]:_e,[oe("tabPadding",V)]:We,[oe("tabPaddingVertical",V)]:qe,[oe("tabGap",V)]:xt,[oe("tabGap",`${V}Vertical`)]:ft,[oe("tabTextColor",Q)]:Ct,[oe("tabTextColorActive",Q)]:Kt,[oe("tabTextColorHover",Q)]:Gt,[oe("tabTextColorDisabled",Q)]:Po,[oe("tabFontSize",K)]:zo},common:{cubicBezierEaseInOut:uo}}=s.value;return{"--n-bezier":uo,"--n-color-segment":Ve,"--n-bar-color":D,"--n-tab-font-size":zo,"--n-tab-text-color":Ct,"--n-tab-text-color-active":Kt,"--n-tab-text-color-disabled":Po,"--n-tab-text-color-hover":Gt,"--n-pane-text-color":we,"--n-tab-border-color":it,"--n-tab-border-radius":Ke,"--n-close-size":q,"--n-close-icon-size":de,"--n-close-color-hover":Re,"--n-close-color-pressed":Ie,"--n-close-border-radius":Fe,"--n-close-icon-color":J,"--n-close-icon-color-hover":Se,"--n-close-icon-color-pressed":Ae,"--n-tab-color":Ge,"--n-tab-font-weight":ze,"--n-tab-font-weight-active":Be,"--n-tab-padding":We,"--n-tab-padding-vertical":qe,"--n-tab-gap":xt,"--n-tab-gap-vertical":ft,"--n-pane-padding-left":_t(_e,"left"),"--n-pane-padding-right":_t(_e,"right"),"--n-pane-padding-top":_t(_e,"top"),"--n-pane-padding-bottom":_t(_e,"bottom"),"--n-font-weight-strong":at,"--n-tab-color-segment":F}}),Pe=l?Qe("tabs",T(()=>`${m.value[0]}${e.type[0]}`),ye,e):void 0;return Object.assign({mergedClsPrefix:a,mergedValue:$,renderedNames:new Set,segmentCapsuleElRef:le,tabsPaneWrapperRef:A,tabsElRef:d,barElRef:u,addTabInstRef:p,xScrollInstRef:g,scrollWrapperElRef:h,addTabFixed:ve,tabWrapperStyle:w,handleNavResize:G,mergedSize:m,handleScroll:me,handleTabsResize:Me,cssVars:l?void 0:ye,themeClass:Pe==null?void 0:Pe.themeClass,animationDirection:ae,renderNameListRef:ue,yScrollElRef:f,handleSegmentResize:te,onAnimationBeforeLeave:U,onAnimationEnter:N,onAnimationAfterEnter:ee,onRender:Pe==null?void 0:Pe.onRender},De)},render(){const{mergedClsPrefix:e,type:t,placement:o,addTabFixed:r,addable:n,mergedSize:i,renderNameListRef:a,onRender:l,paneWrapperClass:s,paneWrapperStyle:d,$slots:{default:u,prefix:h,suffix:p}}=this;l==null||l();const g=u?Io(u()).filter(S=>S.type.__TAB_PANE__===!0):[],f=u?Io(u()).filter(S=>S.type.__TAB__===!0):[],v=!f.length,b=t==="card",m=t==="segment",C=!b&&!m&&this.justifyContent;a.value=[];const R=()=>{const S=c("div",{style:this.tabWrapperStyle,class:[`${e}-tabs-wrapper`]},C?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}),v?g.map((w,x)=>(a.value.push(w.props.name),za(c(rl,Object.assign({},w.props,{internalCreatedByPane:!0,internalLeftPadded:x!==0&&(!C||C==="center"||C==="start"||C==="end")}),w.children?{default:w.children.tab}:void 0)))):f.map((w,x)=>(a.value.push(w.props.name),za(x!==0&&!C?oc(w):w))),!r&&n&&b?tc(n,(v?g.length:f.length)!==0):null,C?null:c("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}));return c("div",{ref:"tabsElRef",class:`${e}-tabs-nav-scroll-content`},b&&n?c(io,{onResize:this.handleTabsResize},{default:()=>S}):S,b?c("div",{class:`${e}-tabs-pad`}):null,b?null:c("div",{ref:"barElRef",class:`${e}-tabs-bar`}))},$=m?"top":o;return c("div",{class:[`${e}-tabs`,this.themeClass,`${e}-tabs--${t}-type`,`${e}-tabs--${i}-size`,C&&`${e}-tabs--flex`,`${e}-tabs--${$}`],style:this.cssVars},c("div",{class:[`${e}-tabs-nav--${t}-type`,`${e}-tabs-nav--${$}`,`${e}-tabs-nav`]},Ze(h,S=>S&&c("div",{class:`${e}-tabs-nav__prefix`},S)),m?c(io,{onResize:this.handleSegmentResize},{default:()=>c("div",{class:`${e}-tabs-rail`,ref:"tabsElRef"},c("div",{class:`${e}-tabs-capsule`,ref:"segmentCapsuleElRef"},c("div",{class:`${e}-tabs-wrapper`},c("div",{class:`${e}-tabs-tab`}))),v?g.map((S,w)=>(a.value.push(S.props.name),c(rl,Object.assign({},S.props,{internalCreatedByPane:!0,internalLeftPadded:w!==0}),S.children?{default:S.children.tab}:void 0))):f.map((S,w)=>(a.value.push(S.props.name),w===0?S:oc(S))))}):c(io,{onResize:this.handleNavResize},{default:()=>c("div",{class:`${e}-tabs-nav-scroll-wrapper`,ref:"scrollWrapperElRef"},["top","bottom"].includes($)?c(um,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:R}):c("div",{class:`${e}-tabs-nav-y-scroll`,onScroll:this.handleScroll,ref:"yScrollElRef"},R()))}),r&&n&&b?tc(n,!0):null,Ze(p,S=>S&&c("div",{class:`${e}-tabs-nav__suffix`},S))),v&&(this.animated&&($==="top"||$==="bottom")?c("div",{ref:"tabsPaneWrapperRef",style:d,class:[`${e}-tabs-pane-wrapper`,s]},ec(g,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection)):ec(g,this.mergedValue,this.renderedNames)))}});function ec(e,t,o,r,n,i,a){const l=[];return e.forEach(s=>{const{name:d,displayDirective:u,"display-directive":h}=s.props,p=f=>u===f||h===f,g=t===d;if(s.key!==void 0&&(s.key=d),g||p("show")||p("show:lazy")&&o.has(d)){o.has(d)||o.add(d);const f=!p("if");l.push(f?It(s,[[ao,g]]):s)}}),a?c(ac,{name:`${a}-transition`,onBeforeLeave:r,onEnter:n,onAfterEnter:i},{default:()=>l}):l}function tc(e,t){return c(rl,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:t,disabled:typeof e=="object"&&e.disabled})}function oc(e){const t=gn(e);return t.props?t.props.internalLeftPadded=!0:t.props={internalLeftPadded:!0},t}function za(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}const o8=z([y("watermark-container",` + position: relative; + `,[rt("selectable",` + user-select: none; + -webkit-user-select: none; + `),B("global-rotate",` + overflow: hidden; + `),B("fullscreen",` + top: 0; + left: 0; + width: 100%; + height: 100%; + pointer-events: none; + position: fixed; + `)]),y("watermark",` + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + pointer-events: none; + background-repeat: repeat; + `,[B("fullscreen",` + position: fixed; + `),B("global-rotate",` + position: absolute; + height: max(284vh, 284vw); + width: max(284vh, 284vw); + `)])]);function r8(e){if(!e)return 1;const t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t}const n8=Object.assign(Object.assign({},be.props),{debug:Boolean,cross:Boolean,fullscreen:Boolean,width:{type:Number,default:32},height:{type:Number,default:32},zIndex:{type:Number,default:10},xGap:{type:Number,default:0},yGap:{type:Number,default:0},yOffset:{type:Number,default:0},xOffset:{type:Number,default:0},rotate:{type:Number,default:0},image:String,imageOpacity:{type:Number,default:1},imageHeight:Number,imageWidth:Number,content:String,selectable:{type:Boolean,default:!0},fontSize:{type:Number,default:14},fontFamily:String,fontStyle:{type:String,default:"normal"},fontVariant:{type:String,default:""},fontWeight:{type:Number,default:400},fontColor:{type:String,default:"rgba(128, 128, 128, .3)"},fontStretch:{type:String,default:""},lineHeight:{type:Number,default:14},globalRotate:{type:Number,default:0}}),oB=re({name:"Watermark",props:n8,setup(e,{slots:t}){const{mergedClsPrefixRef:o}=He(e),r=be("Watermark","-watermark",o8,bp,e,o),n=E(""),i=So?document.createElement("canvas"):null,a=i?i.getContext("2d"):null,l=E(!1);return al(()=>l.value=!0),pt(()=>{if(!i)return;l.value;const s=r8(a),{xGap:d,yGap:u,width:h,height:p,yOffset:g,xOffset:f,rotate:v,image:b,content:m,fontColor:C,fontStyle:R,fontVariant:$,fontStretch:S,fontWeight:w,fontFamily:x,fontSize:k,lineHeight:P,debug:M}=e,L=(d+h)*s,I=(u+p)*s,A=f*s,H=g*s;if(i.width=L,i.height=I,a){a.translate(0,0);const _=h*s,U=p*s;if(M&&(a.strokeStyle="grey",a.strokeRect(0,0,_,U)),a.rotate(v*(Math.PI/180)),b){const N=new Image;N.crossOrigin="anonymous",N.referrerPolicy="no-referrer",N.src=b,N.onload=()=>{a.globalAlpha=e.imageOpacity;const{imageWidth:ee,imageHeight:ue}=e;a.drawImage(N,A,H,(e.imageWidth||(ue?N.width*ue/N.height:N.width))*s,(e.imageHeight||(ee?N.height*ee/N.width:N.height))*s),n.value=i.toDataURL()}}else m?(M&&(a.strokeStyle="green",a.strokeRect(0,0,_,U)),a.font=`${R} ${$} ${w} ${S} ${k*s}px/${P*s}px ${x||r.value.self.fontFamily}`,a.fillStyle=C,a.fillText(m,A,H+P*s),n.value=i.toDataURL()):m||(a.clearRect(0,0,i.width,i.height),n.value=i.toDataURL())}else Rv("watermark","Canvas is not supported in the browser.")}),()=>{var s;const{globalRotate:d,fullscreen:u,zIndex:h}=e,p=o.value,g=d!==0&&u,f="max(142vh, 142vw)",v=c("div",{class:[`${p}-watermark`,d!==0&&`${p}-watermark--global-rotate`,u&&`${p}-watermark--fullscreen`],style:{transform:d?`translateX(-50%) translateY(-50%) rotate(${d}deg)`:void 0,zIndex:g?void 0:h,backgroundSize:`${e.xGap+e.width}px`,backgroundPosition:d===0?e.cross?`${e.width/2}px ${e.height/2}px, 0 0`:"":e.cross?`calc(${f} + ${e.width/2}px) calc(${f} + ${e.height/2}px), ${f} ${f}`:f,backgroundImage:e.cross?`url(${n.value}), url(${n.value})`:`url(${n.value})`}});return e.fullscreen&&!d?v:c("div",{class:[`${p}-watermark-container`,d!==0&&`${p}-watermark-container--global-rotate`,u&&`${p}-watermark-container--fullscreen`,e.selectable&&`${p}-watermark-container--selectable`],style:{zIndex:g?h:void 0}},(s=t.default)===null||s===void 0?void 0:s.call(t),v)}}}),_p=()=>({}),i8={name:"Equation",common:Ce,self:_p},a8=i8,l8={name:"Equation",common:ke,self:_p},s8=l8,d8={name:"FloatButtonGroup",common:ke,self(e){const{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},c8=d8,rB={name:"dark",common:ke,Alert:_2,Anchor:X2,AutoComplete:p5,Avatar:pf,AvatarGroup:k5,BackTop:R5,Badge:O5,Breadcrumb:D5,Button:Wt,ButtonGroup:tz,Calendar:Z5,Card:$f,Carousel:fk,Cascader:xk,Checkbox:Zr,Code:Bf,Collapse:Mk,CollapseTransition:Lk,ColorPicker:tk,DataTable:y$,DatePicker:D3,Descriptions:V3,Dialog:bh,Divider:uR,Drawer:pR,Dropdown:Al,DynamicInput:MR,DynamicTags:NR,Element:KR,Empty:xr,Ellipsis:Nf,Equation:s8,Flex:YR,Form:rP,GradientText:iz,Icon:Y$,IconWrapper:TT,Image:OT,Input:Jt,InputNumber:cz,LegacyTransfer:JT,Layout:pz,List:Cz,LoadingBar:wz,Log:Rz,Menu:Dz,Mention:Oz,Message:QP,Modal:Q3,Notification:XP,PageHeader:Nz,Pagination:Df,Popconfirm:Kz,Popover:Cr,Popselect:Ff,Progress:Yh,QrCode:S6,Radio:Vf,Rate:Yz,Result:r4,Row:vT,Scrollbar:Dt,Select:Af,Skeleton:L6,Slider:i4,Space:Bh,Spin:c4,Statistic:p4,Steps:x4,Switch:y4,Table:z4,Tabs:M4,Tag:Ju,Thing:L4,TimePicker:ph,Timeline:_4,Tooltip:Di,Transfer:j4,Tree:vp,TreeSelect:Y4,Typography:nT,Upload:sT,Watermark:cT,Split:G6,FloatButton:CT,FloatButtonGroup:c8},nB={name:"light",common:Ce,Alert:W2,Anchor:G2,AutoComplete:f5,Avatar:Tl,AvatarGroup:w5,BackTop:T5,Badge:F5,Breadcrumb:A5,Button:Lt,ButtonGroup:rz,Calendar:X5,Card:Bl,Carousel:ck,Cascader:mk,Checkbox:yr,Code:Of,Collapse:Bk,CollapseTransition:Fk,ColorPicker:Q5,DataTable:Gf,DatePicker:A3,Descriptions:N3,Dialog:Hl,Divider:dR,Drawer:Ph,Dropdown:Wi,DynamicInput:ER,DynamicTags:VR,Element:qR,Empty:Ro,Equation:a8,Ellipsis:Ll,Flex:QR,Form:jl,GradientText:sz,Icon:ih,IconWrapper:PT,Image:Sp,Input:Ht,InputNumber:Wh,Layout:Vl,LegacyTransfer:t6,List:bz,LoadingBar:jh,Log:Tz,Menu:Az,Mention:Fz,Message:Hh,Modal:kh,Notification:_h,PageHeader:Wz,Pagination:El,Popconfirm:Gh,Popover:Zo,Popselect:_i,Progress:Xh,QrCode:R6,Radio:Hi,Rate:Qz,Row:hT,Result:Jh,Scrollbar:Et,Skeleton:Lp,Select:Fl,Slider:ep,Space:Nl,Spin:op,Statistic:f4,Steps:m4,Switch:ap,Table:R4,Tabs:dp,Tag:Pl,Thing:F4,TimePicker:hh,Timeline:W4,Tooltip:Ln,Transfer:K4,Tree:pp,TreeSelect:Q4,Typography:oT,Upload:aT,Watermark:bp,Split:Y6,FloatButton:ST,FloatButtonGroup:bT};export{y8 as $,B8 as A,Jf as B,E$ as C,X8 as D,D8 as E,Yr as F,Z8 as G,qa as H,va as I,Qk as J,A8 as K,Q8 as L,H8 as M,U8 as N,oB as O,_8 as P,m8 as Q,E8 as R,I8 as S,sk as T,w8 as U,M8 as V,T8 as W,z8 as X,eB as Y,tB as Z,b8 as _,j8 as a,v8 as a0,g8 as a1,G8 as a2,R8 as b,W8 as c,P8 as d,V8 as e,K8 as f,$8 as g,S8 as h,k8 as i,h8 as j,rB as k,p8 as l,x8 as m,F8 as n,nB as o,qf as p,nR as q,Q$ as r,C8 as s,L8 as t,N8 as u,Y8 as v,J8 as w,O8 as x,q8 as y,Wr as z}; diff --git a/public/assets/network-0f22586e.png b/public/chat/assets/network-0f22586e.png similarity index 100% rename from public/assets/network-0f22586e.png rename to public/chat/assets/network-0f22586e.png diff --git a/public/assets/niji-55cc65e6.png b/public/chat/assets/niji-55cc65e6.png similarity index 100% rename from public/assets/niji-55cc65e6.png rename to public/chat/assets/niji-55cc65e6.png diff --git a/public/assets/order-8be5c617.js b/public/chat/assets/order-54d4bdde.js similarity index 64% rename from public/assets/order-8be5c617.js rename to public/chat/assets/order-54d4bdde.js index 02594e4..ba1cdda 100644 --- a/public/assets/order-8be5c617.js +++ b/public/chat/assets/order-54d4bdde.js @@ -1 +1 @@ -import{p as e,m as t}from"./index-d64a7cc4.js";function o(r){return e({url:"/order/buy",data:r})}function d(r){return t({url:"/order/queryByOrderId",data:r})}export{d as a,o as f}; +import{w as e,p as t}from"./index-a70ad6b3.js";function o(r){return e({url:"/order/buy",data:r})}function d(r){return t({url:"/order/queryByOrderId",data:r})}export{d as a,o as f}; diff --git a/public/assets/qianbao-77758046.png b/public/chat/assets/qianbao-77758046.png similarity index 100% rename from public/assets/qianbao-77758046.png rename to public/chat/assets/qianbao-77758046.png diff --git a/public/assets/sdxl-7c167940.png b/public/chat/assets/sdxl-7c167940.png similarity index 100% rename from public/assets/sdxl-7c167940.png rename to public/chat/assets/sdxl-7c167940.png diff --git a/public/assets/suno-e14fd81c.ico b/public/chat/assets/suno-e14fd81c.ico similarity index 100% rename from public/assets/suno-e14fd81c.ico rename to public/chat/assets/suno-e14fd81c.ico diff --git a/public/assets/tencentlogo-358d1ec1.png b/public/chat/assets/tencentlogo-358d1ec1.png similarity index 100% rename from public/assets/tencentlogo-358d1ec1.png rename to public/chat/assets/tencentlogo-358d1ec1.png diff --git a/public/chat/assets/titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js b/public/chat/assets/titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js new file mode 100644 index 0000000..3e089b3 --- /dev/null +++ b/public/chat/assets/titleBar.vue_vue_type_script_setup_true_lang-f6dc1198.js @@ -0,0 +1 @@ +import{q as x,x as m}from"./index-a70ad6b3.js";import{d as i,S as p,U as f,a3 as e,e as _,X as c,W as v,M as a,a5 as s,a4 as d}from"./vue-cf46d111.js";import{r as w}from"./naive-ui-074da7ca.js";const k={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},h=e("path",{d:"M30.71 229.47l188.87-113a30.54 30.54 0 0 1 31.09-.39a33.74 33.74 0 0 1 16.76 29.47v79.05l180.72-108.16a30.54 30.54 0 0 1 31.09-.39A33.74 33.74 0 0 1 496 145.52v221A33.73 33.73 0 0 1 479.24 396a30.54 30.54 0 0 1-31.09-.39L267.43 287.4v79.08A33.73 33.73 0 0 1 250.67 396a30.54 30.54 0 0 1-31.09-.39l-188.87-113a31.27 31.27 0 0 1 0-53z",fill:"currentColor"},null,-1),b=[h],g=i({name:"PlayBack",render:function(t,o){return p(),f("svg",k,b)}}),B={class:"pt-1 mr-2 cursor-pointer"},M=i({__name:"titleBar",props:{title:{default:""},des:{default:""},padding:{default:4}},setup(r){const t=r,o=x(),l=_(()=>o.theme==="dark"),u=m();return(y,n)=>(p(),f("div",{class:s(["flex border-b border-[#ebebeb] dark:border-[#ffffff17] py-4 w-full",[`px-${t.padding}`]])},[e("div",B,[c(a(w),{size:"16",class:"text-primary",onClick:n[0]||(n[0]=C=>a(u).replace("/"))},{default:v(()=>[c(a(g))]),_:1})]),e("div",null,[e("b",{class:s([[l.value?"text-[#fff]":"text-[#555]"],"text-lg"])},d(t.title),3),e("div",{class:s([[l.value?"text-[#fff]":"text-[#626569]"],"text-truncate text-[#626569] mt-1"])},d(t.des),3)])],2))}});export{M as _}; diff --git a/public/assets/useBasicLayout-a4f17bae.js b/public/chat/assets/useBasicLayout-8e07f8d7.js similarity index 98% rename from public/assets/useBasicLayout-a4f17bae.js rename to public/chat/assets/useBasicLayout-8e07f8d7.js index d15b5ff..2b87a77 100644 --- a/public/assets/useBasicLayout-a4f17bae.js +++ b/public/chat/assets/useBasicLayout-8e07f8d7.js @@ -1 +1 @@ -import{K as I,L as b,e as E,r as d,g as P,f as $,n as x,y as S}from"./vue-10b4afc0.js";var f;const y=typeof window<"u";y&&((f=window==null?void 0:window.navigator)!=null&&f.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function L(e){return e}function N(e,n){var t;if(typeof e=="number")return e+n;const u=((t=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:t[0])||"",a=e.slice(u.length),i=parseFloat(u)+n;return Number.isNaN(i)?e:i+a}function Q(e){return I()?(b(e),!0):!1}function M(e){return typeof e=="function"?E(e):d(e)}function C(e,n=!0){P()?$(e):n?e():x(e)}const g=y?window:void 0;function T(e,n=!1){const t=d(),u=()=>t.value=!!e();return u(),C(u,n),t}function l(e,n={}){const{window:t=g}=n,u=T(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let a;const i=d(!1),c=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",r):a.removeListener(r))},r=()=>{u.value&&(c(),a=t.matchMedia(M(e).value),i.value=a.matches,"addEventListener"in a?a.addEventListener("change",r):a.addListener(r))};return S(r),Q(()=>c()),i}const B={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var j=Object.defineProperty,m=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,p=(e,n,t)=>n in e?j(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,W=(e,n)=>{for(var t in n||(n={}))q.call(n,t)&&p(e,t,n[t]);if(m)for(var t of m(n))G.call(n,t)&&p(e,t,n[t]);return e};function F(e,n={}){function t(r,s){let o=e[r];return s!=null&&(o=N(o,s)),typeof o=="number"&&(o=`${o}px`),o}const{window:u=g}=n;function a(r){return u?u.matchMedia(r).matches:!1}const i=r=>l(`(min-width: ${t(r)})`,n),c=Object.keys(e).reduce((r,s)=>(Object.defineProperty(r,s,{get:()=>i(s),enumerable:!0,configurable:!0}),r),{});return W({greater(r){return l(`(min-width: ${t(r,.1)})`,n)},greaterOrEqual:i,smaller(r){return l(`(max-width: ${t(r,-.1)})`,n)},smallerOrEqual(r){return l(`(max-width: ${t(r)})`,n)},between(r,s){return l(`(min-width: ${t(r)}) and (max-width: ${t(s,-.1)})`,n)},isGreater(r){return a(`(min-width: ${t(r,.1)})`)},isGreaterOrEqual(r){return a(`(min-width: ${t(r)})`)},isSmaller(r){return a(`(max-width: ${t(r,-.1)})`)},isSmallerOrEqual(r){return a(`(max-width: ${t(r)})`)},isInBetween(r,s){return a(`(min-width: ${t(r)}) and (max-width: ${t(s,-.1)})`)}},c)}const O=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},w="__vueuse_ssr_handlers__";O[w]=O[w]||{};var v;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(v||(v={}));var R=Object.defineProperty,h=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,_=(e,n,t)=>n in e?R(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,k=(e,n)=>{for(var t in n||(n={}))U.call(n,t)&&_(e,t,n[t]);if(h)for(var t of h(n))V.call(n,t)&&_(e,t,n[t]);return e};const A={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};k({linear:L},A);function K(){const e=F(B),n=e.smaller("sm"),t=e.smaller("md"),u=e.smaller("lg"),a=e.smaller("xl");return{isMobile:n,isSmallMd:t,isSmallLg:u,isSmallXl:a}}export{K as u}; +import{K as I,L as b,e as E,r as d,g as P,f as $,n as x,y as S}from"./vue-cf46d111.js";var f;const y=typeof window<"u";y&&((f=window==null?void 0:window.navigator)!=null&&f.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function L(e){return e}function N(e,n){var t;if(typeof e=="number")return e+n;const u=((t=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:t[0])||"",a=e.slice(u.length),i=parseFloat(u)+n;return Number.isNaN(i)?e:i+a}function Q(e){return I()?(b(e),!0):!1}function M(e){return typeof e=="function"?E(e):d(e)}function C(e,n=!0){P()?$(e):n?e():x(e)}const g=y?window:void 0;function T(e,n=!1){const t=d(),u=()=>t.value=!!e();return u(),C(u,n),t}function l(e,n={}){const{window:t=g}=n,u=T(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let a;const i=d(!1),c=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",r):a.removeListener(r))},r=()=>{u.value&&(c(),a=t.matchMedia(M(e).value),i.value=a.matches,"addEventListener"in a?a.addEventListener("change",r):a.addListener(r))};return S(r),Q(()=>c()),i}const B={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var j=Object.defineProperty,m=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,p=(e,n,t)=>n in e?j(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,W=(e,n)=>{for(var t in n||(n={}))q.call(n,t)&&p(e,t,n[t]);if(m)for(var t of m(n))G.call(n,t)&&p(e,t,n[t]);return e};function F(e,n={}){function t(r,s){let o=e[r];return s!=null&&(o=N(o,s)),typeof o=="number"&&(o=`${o}px`),o}const{window:u=g}=n;function a(r){return u?u.matchMedia(r).matches:!1}const i=r=>l(`(min-width: ${t(r)})`,n),c=Object.keys(e).reduce((r,s)=>(Object.defineProperty(r,s,{get:()=>i(s),enumerable:!0,configurable:!0}),r),{});return W({greater(r){return l(`(min-width: ${t(r,.1)})`,n)},greaterOrEqual:i,smaller(r){return l(`(max-width: ${t(r,-.1)})`,n)},smallerOrEqual(r){return l(`(max-width: ${t(r)})`,n)},between(r,s){return l(`(min-width: ${t(r)}) and (max-width: ${t(s,-.1)})`,n)},isGreater(r){return a(`(min-width: ${t(r,.1)})`)},isGreaterOrEqual(r){return a(`(min-width: ${t(r)})`)},isSmaller(r){return a(`(max-width: ${t(r,-.1)})`)},isSmallerOrEqual(r){return a(`(max-width: ${t(r)})`)},isInBetween(r,s){return a(`(min-width: ${t(r)}) and (max-width: ${t(s,-.1)})`)}},c)}const O=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},w="__vueuse_ssr_handlers__";O[w]=O[w]||{};var v;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(v||(v={}));var R=Object.defineProperty,h=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,_=(e,n,t)=>n in e?R(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,k=(e,n)=>{for(var t in n||(n={}))U.call(n,t)&&_(e,t,n[t]);if(h)for(var t of h(n))V.call(n,t)&&_(e,t,n[t]);return e};const A={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};k({linear:L},A);function K(){const e=F(B),n=e.smaller("sm"),t=e.smaller("md"),u=e.smaller("lg"),a=e.smaller("xl");return{isMobile:n,isSmallMd:t,isSmallLg:u,isSmallXl:a}}export{K as u}; diff --git a/public/assets/v-viewer-b9217eae.js b/public/chat/assets/v-viewer-3432914a.js similarity index 99% rename from public/assets/v-viewer-b9217eae.js rename to public/chat/assets/v-viewer-3432914a.js index 03d1694..2764f7b 100644 --- a/public/assets/v-viewer-b9217eae.js +++ b/public/chat/assets/v-viewer-3432914a.js @@ -1,4 +1,4 @@ -import{l as Rt,R as Vt,w as vt,d as Ue,r as Xe,n as gt,f as He,G as qe,S as Be,U as Ke,m as Ge}from"./vue-10b4afc0.js";/*! +import{l as Rt,R as Vt,w as vt,d as Ue,r as Xe,n as gt,f as He,G as qe,S as Be,U as Ke,m as Ge}from"./vue-cf46d111.js";/*! * Viewer.js v1.11.6 * https://fengyuanchen.github.io/viewerjs * diff --git a/public/assets/vue-10b4afc0.js b/public/chat/assets/vue-cf46d111.js similarity index 99% rename from public/assets/vue-10b4afc0.js rename to public/chat/assets/vue-cf46d111.js index b88fea8..afbb5e7 100644 --- a/public/assets/vue-10b4afc0.js +++ b/public/chat/assets/vue-cf46d111.js @@ -14,4 +14,4 @@ * @vue/runtime-dom v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const jl="http://www.w3.org/2000/svg",Hl="http://www.w3.org/1998/Math/MathML",Me=typeof document<"u"?document:null,ks=Me&&Me.createElement("template"),Dl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Me.createElementNS(jl,e):t==="mathml"?Me.createElementNS(Hl,e):n?Me.createElement(e,{is:n}):Me.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Me.createTextNode(e),createComment:e=>Me.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Me.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ks.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=ks.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ne="transition",gt="animation",ht=Symbol("_vtc"),xo=(e,{slots:t})=>Nl(_l,wo(e),t);xo.displayName="Transition";const Eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Vl=xo.props=ne({},fo,Eo),Qe=(e,t=[])=>{R(e)?e.forEach(n=>n(...t)):e&&e(...t)},zs=e=>e?R(e)?e.some(t=>t.length>1):e.length>1:!1;function wo(e){const t={};for(const S in e)S in Eo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:x=`${n}-leave-to`}=e,T=Bl(r),M=T&&T[0],U=T&&T[1],{onBeforeEnter:B,onEnter:N,onEnterCancelled:j,onLeave:G,onLeaveCancelled:Y,onBeforeAppear:O=B,onAppear:X=N,onAppearCancelled:Z=j}=t,L=(S,Q,ce)=>{$e(S,Q?d:l),$e(S,Q?a:i),ce&&ce()},V=(S,Q)=>{S._isLeaving=!1,$e(S,p),$e(S,x),$e(S,g),Q&&Q()},W=S=>(Q,ce)=>{const ze=S?X:N,ie=()=>L(Q,S,ce);Qe(ze,[Q,ie]),Js(()=>{$e(Q,S?f:o),Oe(Q,S?d:l),zs(ze)||Ys(Q,s,M,ie)})};return ne(t,{onBeforeEnter(S){Qe(B,[S]),Oe(S,o),Oe(S,i)},onBeforeAppear(S){Qe(O,[S]),Oe(S,f),Oe(S,a)},onEnter:W(!1),onAppear:W(!0),onLeave(S,Q){S._isLeaving=!0;const ce=()=>V(S,Q);Oe(S,p),Oe(S,g),So(),Js(()=>{S._isLeaving&&($e(S,p),Oe(S,x),zs(G)||Ys(S,s,U,ce))}),Qe(G,[S,ce])},onEnterCancelled(S){L(S,!1),Qe(j,[S])},onAppearCancelled(S){L(S,!0),Qe(Z,[S])},onLeaveCancelled(S){V(S),Qe(Y,[S])}})}function Bl(e){if(e==null)return null;if(k(e))return[In(e.enter),In(e.leave)];{const t=In(e);return[t,t]}}function In(e){return Do(e)}function Oe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ht]||(e[ht]=new Set)).add(t)}function $e(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ht];n&&(n.delete(t),n.size||(e[ht]=void 0))}function Js(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Kl=0;function Ys(e,t,n,s){const r=e._endId=++Kl,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:f}=To(e,t);if(!i)return s();const a=i+"end";let d=0;const p=()=>{e.removeEventListener(a,g),o()},g=x=>{x.target===e&&++d>=f&&p()};setTimeout(()=>{d(n[T]||"").split(", "),r=s(`${Ne}Delay`),o=s(`${Ne}Duration`),i=Xs(r,o),l=s(`${gt}Delay`),f=s(`${gt}Duration`),a=Xs(l,f);let d=null,p=0,g=0;t===Ne?i>0&&(d=Ne,p=i,g=o.length):t===gt?a>0&&(d=gt,p=a,g=f.length):(p=Math.max(i,a),d=p>0?i>a?Ne:gt:null,g=d?d===Ne?o.length:f.length:0);const x=d===Ne&&/\b(transform|all)(,|$)/.test(s(`${Ne}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:x}}function Xs(e,t){for(;e.lengthZs(n)+Zs(e[s])))}function Zs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function So(){return document.body.offsetHeight}function Ul(e,t,n){const s=e[ht];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const sn=Symbol("_vod"),Ao=Symbol("_vsh"),Dc={beforeMount(e,{value:t},{transition:n}){e[sn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):mt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),mt(e,!0),s.enter(e)):s.leave(e,()=>{mt(e,!1)}):mt(e,t))},beforeUnmount(e,{value:t}){mt(e,t)}};function mt(e,t){e.style.display=t?e[sn]:"none",e[Ao]=!t}const Wl=Symbol(""),Gl=/(^|;)\s*display\s*:/;function ql(e,t,n){const s=e.style,r=te(n);let o=!1;if(n&&!r){if(t)if(te(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Yt(s,l,"")}else for(const i in t)n[i]==null&&Yt(s,i,"");for(const i in n)i==="display"&&(o=!0),Yt(s,i,n[i])}else if(r){if(t!==n){const i=s[Wl];i&&(n+=";"+i),s.cssText=n,o=Gl.test(n)}}else t&&e.removeAttribute("style");sn in e&&(e[sn]=o?s.display:"",e[Ao]&&(s.display="none"))}const Qs=/\s*!important$/;function Yt(e,t,n){if(R(n))n.forEach(s=>Yt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=kl(e,t);Qs.test(n)?e.setProperty(rt(s),n.replace(Qs,""),"important"):e[s]=n}}const er=["Webkit","Moz","ms"],Rn={};function kl(e,t){const n=Rn[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return Rn[t]=s;s=fn(s);for(let r=0;rOn||(Zl.then(()=>On=0),On=Date.now());function ec(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ve(tc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ql(),n}function tc(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const or=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nc=(e,t,n,s,r,o,i,l,f)=>{const a=r==="svg";t==="class"?Ul(e,s,a):t==="style"?ql(e,n,s):on(t)?Gn(t)||Yl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sc(e,t,s,a))?(zl(e,t,s,o,i,l,f),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nr(e,t,s,a,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),nr(e,t,s,a))};function sc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&or(t)&&P(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return or(t)&&te(n)?!1:t in e}const Io=new WeakMap,Ro=new WeakMap,rn=Symbol("_moveCb"),ir=Symbol("_enterCb"),Oo={name:"TransitionGroup",props:ne({},Vl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ps(),s=co();let r,o;return Wr(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!cc(r[0].el,n.vnode.el,i))return;r.forEach(oc),r.forEach(ic);const l=r.filter(lc);So(),l.forEach(f=>{const a=f.el,d=a.style;Oe(a,i),d.transform=d.webkitTransform=d.transitionDuration="";const p=a[rn]=g=>{g&&g.target!==a||(!g||/transform$/.test(g.propertyName))&&(a.removeEventListener("transitionend",p),a[rn]=null,$e(a,i))};a.addEventListener("transitionend",p)})}),()=>{const i=D(e),l=wo(i);let f=i.tag||_e;if(r=[],o)for(let a=0;adelete e.mode;Oo.props;const Vc=Oo;function oc(e){const t=e.el;t[rn]&&t[rn](),t[ir]&&t[ir]()}function ic(e){Ro.set(e,e.el.getBoundingClientRect())}function lc(e){const t=Io.get(e),n=Ro.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function cc(e,t,n){const s=e.cloneNode(),r=e[ht];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=To(s);return o.removeChild(s),i}const lr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>Gt(t,n):t};function fc(e){e.target.composing=!0}function cr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mn=Symbol("_assign"),Bc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Mn]=lr(r);const o=s||r.props&&r.props.type==="number";lt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Pn(l)),e[Mn](l)}),n&<(e,"change",()=>{e.value=e.value.trim()}),t||(lt(e,"compositionstart",fc),lt(e,"compositionend",cr),lt(e,"change",cr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Mn]=lr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Pn(e.value):e.value,f=t??"";l!==f&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===f)||(e.value=f))}},uc=["ctrl","shift","alt","meta"],ac={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>uc.some(n=>e[`${n}Key`]&&!t.includes(n))},Kc=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=rt(r.key);if(t.some(i=>i===o||dc[i]===o))return e(r)})},hc=ne({patchProp:nc},Dl);let fr;function Mo(){return fr||(fr=il(hc))}const Wc=(...e)=>{Mo().render(...e)},Gc=(...e)=>{const t=Mo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=gc(s);if(!r)return;const o=t._component;!P(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,pc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function pc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gc(e){return te(e)?document.querySelector(e):e}export{D as $,Vc as A,We as B,he as C,gn as D,mi as E,_e as F,qr as G,zn as H,Vi as I,bc as J,zo as K,_c as L,bi as M,ue as N,Mc as O,wc as P,Wr as Q,Wc as R,po as S,Nc as T,$c as U,mo as V,Mi as W,se as X,mc as Y,Fc as Z,bt as _,kt as a,vc as a0,gi as a1,Gc as a2,yo as a3,qo as a4,Hc as a5,Ic as a6,Bc as a7,Jn as a8,Tc as a9,Rc as aa,Kc as ab,xc as ac,Ec as ad,Sc as ae,Uc as af,Pc as ag,jc as ah,Mr as b,wl as c,Gi as d,Ll as e,Ur as f,ps as g,Di as h,tn as i,ts as j,Ac as k,Nl as l,Oc as m,Ti as n,Gr as o,el as p,hl as q,qt as r,pl as s,Cc as t,Tl as u,Dc as v,Sn as w,yc as x,Lc as y,xo as z}; +**/const jl="http://www.w3.org/2000/svg",Hl="http://www.w3.org/1998/Math/MathML",Me=typeof document<"u"?document:null,ks=Me&&Me.createElement("template"),Dl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Me.createElementNS(jl,e):t==="mathml"?Me.createElementNS(Hl,e):n?Me.createElement(e,{is:n}):Me.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Me.createTextNode(e),createComment:e=>Me.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Me.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ks.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=ks.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ne="transition",gt="animation",ht=Symbol("_vtc"),xo=(e,{slots:t})=>Nl(_l,wo(e),t);xo.displayName="Transition";const Eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Vl=xo.props=ne({},fo,Eo),Qe=(e,t=[])=>{R(e)?e.forEach(n=>n(...t)):e&&e(...t)},zs=e=>e?R(e)?e.some(t=>t.length>1):e.length>1:!1;function wo(e){const t={};for(const S in e)S in Eo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:x=`${n}-leave-to`}=e,T=Bl(r),M=T&&T[0],U=T&&T[1],{onBeforeEnter:B,onEnter:N,onEnterCancelled:j,onLeave:G,onLeaveCancelled:Y,onBeforeAppear:O=B,onAppear:X=N,onAppearCancelled:Z=j}=t,L=(S,Q,ce)=>{$e(S,Q?d:l),$e(S,Q?a:i),ce&&ce()},V=(S,Q)=>{S._isLeaving=!1,$e(S,p),$e(S,x),$e(S,g),Q&&Q()},W=S=>(Q,ce)=>{const ze=S?X:N,ie=()=>L(Q,S,ce);Qe(ze,[Q,ie]),Js(()=>{$e(Q,S?f:o),Oe(Q,S?d:l),zs(ze)||Ys(Q,s,M,ie)})};return ne(t,{onBeforeEnter(S){Qe(B,[S]),Oe(S,o),Oe(S,i)},onBeforeAppear(S){Qe(O,[S]),Oe(S,f),Oe(S,a)},onEnter:W(!1),onAppear:W(!0),onLeave(S,Q){S._isLeaving=!0;const ce=()=>V(S,Q);Oe(S,p),Oe(S,g),So(),Js(()=>{S._isLeaving&&($e(S,p),Oe(S,x),zs(G)||Ys(S,s,U,ce))}),Qe(G,[S,ce])},onEnterCancelled(S){L(S,!1),Qe(j,[S])},onAppearCancelled(S){L(S,!0),Qe(Z,[S])},onLeaveCancelled(S){V(S),Qe(Y,[S])}})}function Bl(e){if(e==null)return null;if(k(e))return[In(e.enter),In(e.leave)];{const t=In(e);return[t,t]}}function In(e){return Do(e)}function Oe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ht]||(e[ht]=new Set)).add(t)}function $e(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ht];n&&(n.delete(t),n.size||(e[ht]=void 0))}function Js(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Kl=0;function Ys(e,t,n,s){const r=e._endId=++Kl,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:f}=To(e,t);if(!i)return s();const a=i+"end";let d=0;const p=()=>{e.removeEventListener(a,g),o()},g=x=>{x.target===e&&++d>=f&&p()};setTimeout(()=>{d(n[T]||"").split(", "),r=s(`${Ne}Delay`),o=s(`${Ne}Duration`),i=Xs(r,o),l=s(`${gt}Delay`),f=s(`${gt}Duration`),a=Xs(l,f);let d=null,p=0,g=0;t===Ne?i>0&&(d=Ne,p=i,g=o.length):t===gt?a>0&&(d=gt,p=a,g=f.length):(p=Math.max(i,a),d=p>0?i>a?Ne:gt:null,g=d?d===Ne?o.length:f.length:0);const x=d===Ne&&/\b(transform|all)(,|$)/.test(s(`${Ne}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:x}}function Xs(e,t){for(;e.lengthZs(n)+Zs(e[s])))}function Zs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function So(){return document.body.offsetHeight}function Ul(e,t,n){const s=e[ht];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const sn=Symbol("_vod"),Ao=Symbol("_vsh"),Dc={beforeMount(e,{value:t},{transition:n}){e[sn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):mt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),mt(e,!0),s.enter(e)):s.leave(e,()=>{mt(e,!1)}):mt(e,t))},beforeUnmount(e,{value:t}){mt(e,t)}};function mt(e,t){e.style.display=t?e[sn]:"none",e[Ao]=!t}const Wl=Symbol(""),Gl=/(^|;)\s*display\s*:/;function ql(e,t,n){const s=e.style,r=te(n);let o=!1;if(n&&!r){if(t)if(te(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Yt(s,l,"")}else for(const i in t)n[i]==null&&Yt(s,i,"");for(const i in n)i==="display"&&(o=!0),Yt(s,i,n[i])}else if(r){if(t!==n){const i=s[Wl];i&&(n+=";"+i),s.cssText=n,o=Gl.test(n)}}else t&&e.removeAttribute("style");sn in e&&(e[sn]=o?s.display:"",e[Ao]&&(s.display="none"))}const Qs=/\s*!important$/;function Yt(e,t,n){if(R(n))n.forEach(s=>Yt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=kl(e,t);Qs.test(n)?e.setProperty(rt(s),n.replace(Qs,""),"important"):e[s]=n}}const er=["Webkit","Moz","ms"],Rn={};function kl(e,t){const n=Rn[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return Rn[t]=s;s=fn(s);for(let r=0;rOn||(Zl.then(()=>On=0),On=Date.now());function ec(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ve(tc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ql(),n}function tc(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const or=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nc=(e,t,n,s,r,o,i,l,f)=>{const a=r==="svg";t==="class"?Ul(e,s,a):t==="style"?ql(e,n,s):on(t)?Gn(t)||Yl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sc(e,t,s,a))?(zl(e,t,s,o,i,l,f),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nr(e,t,s,a,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),nr(e,t,s,a))};function sc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&or(t)&&P(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return or(t)&&te(n)?!1:t in e}const Io=new WeakMap,Ro=new WeakMap,rn=Symbol("_moveCb"),ir=Symbol("_enterCb"),Oo={name:"TransitionGroup",props:ne({},Vl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ps(),s=co();let r,o;return Wr(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!cc(r[0].el,n.vnode.el,i))return;r.forEach(oc),r.forEach(ic);const l=r.filter(lc);So(),l.forEach(f=>{const a=f.el,d=a.style;Oe(a,i),d.transform=d.webkitTransform=d.transitionDuration="";const p=a[rn]=g=>{g&&g.target!==a||(!g||/transform$/.test(g.propertyName))&&(a.removeEventListener("transitionend",p),a[rn]=null,$e(a,i))};a.addEventListener("transitionend",p)})}),()=>{const i=D(e),l=wo(i);let f=i.tag||_e;if(r=[],o)for(let a=0;adelete e.mode;Oo.props;const Vc=Oo;function oc(e){const t=e.el;t[rn]&&t[rn](),t[ir]&&t[ir]()}function ic(e){Ro.set(e,e.el.getBoundingClientRect())}function lc(e){const t=Io.get(e),n=Ro.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function cc(e,t,n){const s=e.cloneNode(),r=e[ht];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=To(s);return o.removeChild(s),i}const lr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>Gt(t,n):t};function fc(e){e.target.composing=!0}function cr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mn=Symbol("_assign"),Bc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Mn]=lr(r);const o=s||r.props&&r.props.type==="number";lt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Pn(l)),e[Mn](l)}),n&<(e,"change",()=>{e.value=e.value.trim()}),t||(lt(e,"compositionstart",fc),lt(e,"compositionend",cr),lt(e,"change",cr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Mn]=lr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Pn(e.value):e.value,f=t??"";l!==f&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===f)||(e.value=f))}},uc=["ctrl","shift","alt","meta"],ac={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>uc.some(n=>e[`${n}Key`]&&!t.includes(n))},Kc=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=rt(r.key);if(t.some(i=>i===o||dc[i]===o))return e(r)})},hc=ne({patchProp:nc},Dl);let fr;function Mo(){return fr||(fr=il(hc))}const Wc=(...e)=>{Mo().render(...e)},Gc=(...e)=>{const t=Mo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=gc(s);if(!r)return;const o=t._component;!P(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,pc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function pc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gc(e){return te(e)?document.querySelector(e):e}export{D as $,Vc as A,We as B,he as C,gn as D,mi as E,_e as F,qr as G,zn as H,Vi as I,bc as J,zo as K,_c as L,bi as M,ue as N,Mc as O,wc as P,Wr as Q,Wc as R,po as S,Nc as T,$c as U,mo as V,Mi as W,se as X,mc as Y,Fc as Z,bt as _,kt as a,vc as a0,gi as a1,Gc as a2,yo as a3,qo as a4,Jn as a5,Bc as a6,Ic as a7,Hc as a8,Kc as a9,xc as aa,Ec as ab,Tc as ac,Rc as ad,Uc as ae,Sc as af,Pc as ag,jc as ah,Mr as b,wl as c,Gi as d,Ll as e,Ur as f,ps as g,Di as h,tn as i,ts as j,Ac as k,Nl as l,Oc as m,Ti as n,Gr as o,el as p,hl as q,qt as r,pl as s,Cc as t,Tl as u,Dc as v,Sn as w,yc as x,Lc as y,xo as z}; diff --git a/public/assets/vueuse-motion-d4cdaf7b.js b/public/chat/assets/vueuse-motion-d8fe070a.js similarity index 99% rename from public/assets/vueuse-motion-d4cdaf7b.js rename to public/chat/assets/vueuse-motion-d8fe070a.js index 55ed05a..452d1ab 100644 --- a/public/assets/vueuse-motion-d4cdaf7b.js +++ b/public/chat/assets/vueuse-motion-d8fe070a.js @@ -1,4 +1,4 @@ -import{G as Ln,g as st,t as Rn,b as Pn,J as Nn,r as A,K as In,L as Bn,M as P,y as $n,e as F,w as E,f as kn,j as oe,N as zn,d as Hn,O as Un,l as qe,P as qn,Q as Wn}from"./vue-10b4afc0.js";var uo=!1;const fo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Zn=()=>{};function Kn(e){return e||st()}function po(...e){if(e.length!==1)return Rn(...e);const t=e[0];return typeof t=="function"?Pn(Nn(()=>({get:t,set:Zn}))):A(t)}function Yn(e,t){Kn(t)&&Ln(e,t)}function ue(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function be(e,t,n=".",r){if(!ue(t))return be(e,{},n,r);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:ue(o)&&ue(i[s])?i[s]=be(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function Gn(e){return(...t)=>t.reduce((n,r)=>be(n,r,"",e),{})}const Qn=Gn();function Ee(e){return In()?(Bn(e),!0):!1}function se(e){return typeof e=="function"?e():P(e)}const Jn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xn=e=>e!=null,er=Object.prototype.toString,ne=e=>er.call(e)==="[object Object]",Q=()=>{};function I(e){var t;const n=se(e);return(t=n==null?void 0:n.$el)!=null?t:n}const je=Jn?window:void 0;function j(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=je):[t,n,r,i]=e,!t)return Q;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,p,y)=>(u.addEventListener(f,p,y),()=>u.removeEventListener(f,p,y)),c=E(()=>[I(t),se(i)],([u,f])=>{if(o(),!u)return;const p=ne(f)?{...f}:f;s.push(...n.flatMap(y=>r.map(b=>a(u,y,b,p))))},{immediate:!0,flush:"post"}),l=()=>{c(),o()};return Ee(l),l}function tr(){const e=A(!1),t=st();return t&&kn(()=>{e.value=!0},t),e}function at(e){const t=tr();return F(()=>(t.value,!!e()))}function nr(e,t={}){const{window:n=je}=t,r=at(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const s=A(!1),o=l=>{s.value=l.matches},a=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",o):i.removeListener(o))},c=$n(()=>{r.value&&(a(),i=n.matchMedia(se(e)),"addEventListener"in i?i.addEventListener("change",o):i.addListener(o),s.value=i.matches)});return Ee(()=>{c(),a(),i=void 0}),s}function rr(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=je,immediate:a=!0}=n,c=at(()=>o&&"IntersectionObserver"in o),l=F(()=>{const b=se(e);return(Array.isArray(b)?b:[b]).map(I).filter(Xn)});let u=Q;const f=A(a),p=c.value?E(()=>[l.value,I(r),f.value],([b,M])=>{if(u(),!f.value||!b.length)return;const x=new IntersectionObserver(t,{root:I(M),rootMargin:i,threshold:s});b.forEach(g=>g&&x.observe(g)),u=()=>{x.disconnect(),u=Q}},{immediate:a,flush:"post"}):Q,y=()=>{u(),p(),f.value=!1};return Ee(y),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:y}}const ct=1/60*1e3,ir=typeof performance<"u"?()=>performance.now():()=>Date.now(),lt=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ir()),ct);function or(e){let t=[],n=[],r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(c,l=!1,u=!1)=>{const f=u&&i,p=f?t:n;return l&&o.add(c),p.indexOf(c)===-1&&(p.push(c),f&&i&&(r=t.length)),c},cancel:c=>{const l=n.indexOf(c);l!==-1&&n.splice(l,1),o.delete(c)},process:c=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let l=0;l(e[t]=or(()=>z=!0),e),{}),ve=U.reduce((e,t)=>{const n=ae[t];return e[t]=(r,i=!1,s=!1)=>(z||lr(),n.schedule(r,i,s)),e},{}),ar=U.reduce((e,t)=>(e[t]=ae[t].cancel,e),{});U.reduce((e,t)=>(e[t]=()=>ae[t].process(N),e),{});const cr=e=>ae[e].process(N),ut=e=>{z=!1,N.delta=he?ct:Math.max(Math.min(e-N.timestamp,sr),1),N.timestamp=e,ge=!0,U.forEach(cr),ge=!1,z&&(he=!1,lt(ut))},lr=()=>{z=!0,he=!0,ge||lt(ut)},ft=()=>N;function pt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),fe=.001,fr=.01,Ze=10,pr=.05,dr=1;function mr({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;ur(e<=Ze*1e3);let o=1-t;o=Oe(pr,dr,o),e=Oe(fr,Ze,e/1e3),o<1?(i=l=>{const u=l*o,f=u*e,p=u-n,y=xe(l,o),b=Math.exp(-f);return fe-p/y*b},s=l=>{const f=l*o*e,p=f*n+n,y=Math.pow(o,2)*Math.pow(l,2)*e,b=Math.exp(-f),M=xe(Math.pow(l,2),o);return(-i(l)+fe>0?-1:1)*((p-y)*b)/M}):(i=l=>{const u=Math.exp(-l*e),f=(l-n)*e+1;return-fe+u*f},s=l=>{const u=Math.exp(-l*e),f=(n-l)*(e*e);return u*f});const a=5/e,c=br(i,s,a);if(e=e*1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(c,2)*r;return{stiffness:l,damping:o*2*Math.sqrt(r*l),duration:e}}}const yr=12;function br(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function vr(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ke(e,gr)&&Ke(e,hr)){const n=mr(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Ve(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,s=pt(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:a,damping:c,mass:l,velocity:u,duration:f,isResolvedFromDuration:p}=vr(s),y=Ye,b=Ye;function M(){const x=u?-(u/1e3):0,g=n-t,O=c/(2*Math.sqrt(a*l)),m=Math.sqrt(a/l)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),O<1){const h=xe(m,O);y=v=>{const T=Math.exp(-O*m*v);return n-T*((x+O*m*g)/h*Math.sin(h*v)+g*Math.cos(h*v))},b=v=>{const T=Math.exp(-O*m*v);return O*m*T*(Math.sin(h*v)*(x+O*m*g)/h+g*Math.cos(h*v))-T*(Math.cos(h*v)*(x+O*m*g)-h*g*Math.sin(h*v))}}else if(O===1)y=h=>n-Math.exp(-m*h)*(g+(x+m*g)*h);else{const h=m*Math.sqrt(O*O-1);y=v=>{const T=Math.exp(-O*m*v),w=Math.min(h*v,300);return n-T*((x+O*m*g)*Math.sinh(w)+h*g*Math.cosh(w))/h}}}return M(),{next:x=>{const g=y(x);if(p)o.done=x>=f;else{const O=b(x)*1e3,m=Math.abs(O)<=r,h=Math.abs(n-g)<=i;o.done=m&&h}return o.value=o.done?n:g,o},flipTarget:()=>{u=-u,[t,n]=[n,t],M()}}}Ve.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Ye=e=>0,dt=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},we=(e,t,n)=>-n*e+n*t+e,mt=(e,t)=>n=>Math.max(Math.min(n,t),e),B=e=>e%1?Number(e.toFixed(5)):e,H=/(-)?([\d]*\.?[\d])+/g,Te=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Or=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function q(e){return typeof e=="string"}const W={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},$=Object.assign(Object.assign({},W),{transform:mt(0,1)}),Y=Object.assign(Object.assign({},W),{default:1}),Fe=e=>({test:t=>q(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),D=Fe("deg"),k=Fe("%"),d=Fe("px"),Ge=Object.assign(Object.assign({},k),{parse:e=>k.parse(e)/100,transform:e=>k.transform(e*100)}),_e=(e,t)=>n=>!!(q(n)&&Or.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yt=(e,t,n)=>r=>{if(!q(r))return r;const[i,s,o,a]=r.match(H);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},R={test:_e("hsl","hue"),parse:yt("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+k.transform(B(t))+", "+k.transform(B(n))+", "+B($.transform(r))+")"},xr=mt(0,255),pe=Object.assign(Object.assign({},W),{transform:e=>Math.round(xr(e))}),C={test:_e("rgb","red"),parse:yt("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pe.transform(e)+", "+pe.transform(t)+", "+pe.transform(n)+", "+B($.transform(r))+")"};function Tr(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Me={test:_e("#"),parse:Tr,transform:C.transform},S={test:e=>C.test(e)||Me.test(e)||R.test(e),parse:e=>C.test(e)?C.parse(e):R.test(e)?R.parse(e):Me.parse(e),transform:e=>q(e)?e:e.hasOwnProperty("red")?C.transform(e):R.transform(e)},bt="${c}",ht="${n}";function Mr(e){var t,n,r,i;return isNaN(e)&&q(e)&&((n=(t=e.match(H))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(Te))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function gt(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Te);r&&(n=r.length,e=e.replace(Te,bt),t.push(...r.map(S.parse)));const i=e.match(H);return i&&(e=e.replace(H,ht),t.push(...i.map(W.parse))),{values:t,numColors:n,tokenised:e}}function vt(e){return gt(e).values}function Ot(e){const{values:t,numColors:n,tokenised:r}=gt(e),i=t.length;return s=>{let o=r;for(let a=0;atypeof e=="number"?0:e;function Ar(e){const t=vt(e);return Ot(e)(t.map(Sr))}const Z={test:Mr,parse:vt,createTransformer:Ot,getAnimatableNone:Ar},Er=new Set(["brightness","contrast","saturate","opacity"]);function jr(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(H)||[];if(!r)return e;const i=n.replace(r,"");let s=Er.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const Vr=/([a-z-]*)\(.*?\)/g,Se=Object.assign(Object.assign({},Z),{getAnimatableNone:e=>{const t=e.match(Vr);return t?t.map(jr).join(" "):e}});function de(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qe({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;i=de(c,a,e+1/3),s=de(c,a,e),o=de(c,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const wr=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Fr=[Me,C,R],Je=e=>Fr.find(t=>t.test(e)),xt=(e,t)=>{let n=Je(e),r=Je(t),i=n.parse(e),s=r.parse(t);n===R&&(i=Qe(i),n=C),r===R&&(s=Qe(s),r=C);const o=Object.assign({},i);return a=>{for(const c in o)c!=="alpha"&&(o[c]=wr(i[c],s[c],a));return o.alpha=we(i.alpha,s.alpha,a),n.transform(o)}},_r=e=>typeof e=="number",Cr=(e,t)=>n=>t(e(n)),Tt=(...e)=>e.reduce(Cr);function Mt(e,t){return _r(e)?n=>we(e,t,n):S.test(e)?xt(e,t):At(e,t)}const St=(e,t)=>{const n=[...e],r=n.length,i=e.map((s,o)=>Mt(s,t[o]));return s=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Mt(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}};function Xe(e){const t=Z.parse(e),n=t.length;let r=0,i=0,s=0;for(let o=0;o{const n=Z.createTransformer(t),r=Xe(e),i=Xe(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?Tt(St(r.parsed,i.parsed),n):o=>`${o>0?t:e}`},Lr=(e,t)=>n=>we(e,t,n);function Rr(e){if(typeof e=="number")return Lr;if(typeof e=="string")return S.test(e)?xt:At;if(Array.isArray(e))return St;if(typeof e=="object")return Dr}function Pr(e,t,n){const r=[],i=n||Rr(e[0]),s=e.length-1;for(let o=0;on(dt(e,t,r))}function Ir(e,t){const n=e.length,r=n-1;return i=>{let s=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(s=r-1,o=!0),!o){let c=1;for(;ci||c===r);c++);s=c-1}const a=dt(e[s],e[s+1],i);return t[s](a)}}function Et(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;We(s===t.length),We(!r||!Array.isArray(r)||r.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Pr(t,r,i),a=s===2?Nr(e,o):Ir(e,o);return n?c=>a(Oe(e[0],e[s-1],c)):a}const ce=e=>t=>1-e(1-t),Ce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Br=e=>t=>Math.pow(t,e),jt=e=>t=>t*t*((e+1)*t-e),$r=e=>{const t=jt(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Vt=1.525,kr=4/11,zr=8/11,Hr=9/10,wt=e=>e,De=Br(2),Ur=ce(De),Ft=Ce(De),_t=e=>1-Math.sin(Math.acos(e)),Ct=ce(_t),qr=Ce(Ct),Le=jt(Vt),Wr=ce(Le),Zr=Ce(Le),Kr=$r(Vt),Yr=4356/361,Gr=35442/1805,Qr=16061/1805,re=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-re(1-e*2)):.5*re(e*2-1)+.5;function ei(e,t){return e.map(()=>t||Ft).splice(0,e.length-1)}function ti(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function ni(e,t){return e.map(n=>n*t)}function J({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const s={done:!1,value:e},o=Array.isArray(t)?t:[e,t],a=ni(r&&r.length===o.length?r:ti(o),i);function c(){return Et(a,o,{ease:Array.isArray(n)?n:ei(o,n)})}let l=c();return{next:u=>(s.value=l(u),s.done=u>=i,s),flipTarget:()=>{o.reverse(),l=c()}}}function ri({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:s}){const o={done:!1,value:t};let a=n*e;const c=t+a,l=s===void 0?c:s(c);return l!==c&&(a=l-t),{next:u=>{const f=-a*Math.exp(-u/r);return o.done=!(f>i||f<-i),o.value=o.done?l:l+f,o},flipTarget:()=>{}}}const et={keyframes:J,spring:Ve,decay:ri};function ii(e){if(Array.isArray(e.to))return J;if(et[e.type])return et[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?J:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ve:J}function Dt(e,t,n=0){return e-t-n}function oi(e,t,n=0,r=!0){return r?Dt(t+-e,t,n):t-(e-t)+n}function si(e,t,n,r){return r?e>=t+n:e<=-n}const ai=e=>{const t=({delta:n})=>e(n);return{start:()=>ve.update(t,!0),stop:()=>ar.update(t)}};function Re(e){var t,n,{from:r,autoplay:i=!0,driver:s=ai,elapsed:o=0,repeat:a=0,repeatType:c="loop",repeatDelay:l=0,onPlay:u,onStop:f,onComplete:p,onRepeat:y,onUpdate:b}=e,M=pt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:x}=M,g,O=0,m=M.duration,h,v=!1,T=!0,w;const K=ii(M);!((n=(t=K).needsInterpolation)===null||n===void 0)&&n.call(t,r,x)&&(w=Et([0,100],[r,x],{clamp:!1}),r=0,x=100);const _=K(Object.assign(Object.assign({},M),{from:r,to:x}));function Fn(){O++,c==="reverse"?(T=O%2===0,o=oi(o,m,l,T)):(o=Dt(o,m,l),c==="mirror"&&_.flipTarget()),v=!1,y&&y()}function _n(){g.stop(),p&&p()}function Cn(le){if(T||(le=-le),o+=le,!v){const Ue=_.next(Math.max(0,o));h=Ue.value,w&&(h=w(h)),v=T?Ue.done:o<=0}b==null||b(h),v&&(O===0&&(m??(m=o)),O{f==null||f(),g.stop()}}}function Lt(e,t){return t?e*(1e3/t):0}function ci({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:f,onComplete:p,onStop:y}){let b;function M(m){return n!==void 0&&mr}function x(m){return n===void 0?r:r===void 0||Math.abs(n-m){var v;f==null||f(h),(v=m.onUpdate)===null||v===void 0||v.call(m,h)},onComplete:p,onStop:y}))}function O(m){g(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:c},m))}if(M(e))O({from:e,velocity:t,to:x(e)});else{let m=i*t+e;typeof l<"u"&&(m=l(m));const h=x(m),v=h===n?-1:1;let T,w;const K=_=>{T=w,w=_,t=Lt(_-T,ft().delta),(v===1&&_>h||v===-1&&_b==null?void 0:b.stop()}}const Rt=(e,t)=>1-3*t+3*e,Pt=(e,t)=>3*t-6*e,Nt=e=>3*e,ie=(e,t,n)=>((Rt(t,n)*e+Pt(t,n))*e+Nt(t))*e,It=(e,t,n)=>3*Rt(t,n)*e*e+2*Pt(t,n)*e+Nt(t),li=1e-7,ui=10;function fi(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ie(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>li&&++a=di?mi(o,f,e,n):p===0?f:fi(o,a,a+G,e,n)}return o=>o===0||o===1?o:ie(s(o),t,r)}/** +import{G as Ln,g as st,t as Rn,b as Pn,J as Nn,r as A,K as In,L as Bn,M as P,y as $n,e as F,w as E,f as kn,j as oe,N as zn,d as Hn,O as Un,l as qe,P as qn,Q as Wn}from"./vue-cf46d111.js";var uo=!1;const fo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Zn=()=>{};function Kn(e){return e||st()}function po(...e){if(e.length!==1)return Rn(...e);const t=e[0];return typeof t=="function"?Pn(Nn(()=>({get:t,set:Zn}))):A(t)}function Yn(e,t){Kn(t)&&Ln(e,t)}function ue(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function be(e,t,n=".",r){if(!ue(t))return be(e,{},n,r);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const o=e[s];o!=null&&(r&&r(i,s,o,n)||(Array.isArray(o)&&Array.isArray(i[s])?i[s]=[...o,...i[s]]:ue(o)&&ue(i[s])?i[s]=be(o,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=o))}return i}function Gn(e){return(...t)=>t.reduce((n,r)=>be(n,r,"",e),{})}const Qn=Gn();function Ee(e){return In()?(Bn(e),!0):!1}function se(e){return typeof e=="function"?e():P(e)}const Jn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xn=e=>e!=null,er=Object.prototype.toString,ne=e=>er.call(e)==="[object Object]",Q=()=>{};function I(e){var t;const n=se(e);return(t=n==null?void 0:n.$el)!=null?t:n}const je=Jn?window:void 0;function j(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=je):[t,n,r,i]=e,!t)return Q;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,p,y)=>(u.addEventListener(f,p,y),()=>u.removeEventListener(f,p,y)),c=E(()=>[I(t),se(i)],([u,f])=>{if(o(),!u)return;const p=ne(f)?{...f}:f;s.push(...n.flatMap(y=>r.map(b=>a(u,y,b,p))))},{immediate:!0,flush:"post"}),l=()=>{c(),o()};return Ee(l),l}function tr(){const e=A(!1),t=st();return t&&kn(()=>{e.value=!0},t),e}function at(e){const t=tr();return F(()=>(t.value,!!e()))}function nr(e,t={}){const{window:n=je}=t,r=at(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const s=A(!1),o=l=>{s.value=l.matches},a=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",o):i.removeListener(o))},c=$n(()=>{r.value&&(a(),i=n.matchMedia(se(e)),"addEventListener"in i?i.addEventListener("change",o):i.addListener(o),s.value=i.matches)});return Ee(()=>{c(),a(),i=void 0}),s}function rr(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=je,immediate:a=!0}=n,c=at(()=>o&&"IntersectionObserver"in o),l=F(()=>{const b=se(e);return(Array.isArray(b)?b:[b]).map(I).filter(Xn)});let u=Q;const f=A(a),p=c.value?E(()=>[l.value,I(r),f.value],([b,M])=>{if(u(),!f.value||!b.length)return;const x=new IntersectionObserver(t,{root:I(M),rootMargin:i,threshold:s});b.forEach(g=>g&&x.observe(g)),u=()=>{x.disconnect(),u=Q}},{immediate:a,flush:"post"}):Q,y=()=>{u(),p(),f.value=!1};return Ee(y),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:y}}const ct=1/60*1e3,ir=typeof performance<"u"?()=>performance.now():()=>Date.now(),lt=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(ir()),ct);function or(e){let t=[],n=[],r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(c,l=!1,u=!1)=>{const f=u&&i,p=f?t:n;return l&&o.add(c),p.indexOf(c)===-1&&(p.push(c),f&&i&&(r=t.length)),c},cancel:c=>{const l=n.indexOf(c);l!==-1&&n.splice(l,1),o.delete(c)},process:c=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let l=0;l(e[t]=or(()=>z=!0),e),{}),ve=U.reduce((e,t)=>{const n=ae[t];return e[t]=(r,i=!1,s=!1)=>(z||lr(),n.schedule(r,i,s)),e},{}),ar=U.reduce((e,t)=>(e[t]=ae[t].cancel,e),{});U.reduce((e,t)=>(e[t]=()=>ae[t].process(N),e),{});const cr=e=>ae[e].process(N),ut=e=>{z=!1,N.delta=he?ct:Math.max(Math.min(e-N.timestamp,sr),1),N.timestamp=e,ge=!0,U.forEach(cr),ge=!1,z&&(he=!1,lt(ut))},lr=()=>{z=!0,he=!0,ge||lt(ut)},ft=()=>N;function pt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),fe=.001,fr=.01,Ze=10,pr=.05,dr=1;function mr({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;ur(e<=Ze*1e3);let o=1-t;o=Oe(pr,dr,o),e=Oe(fr,Ze,e/1e3),o<1?(i=l=>{const u=l*o,f=u*e,p=u-n,y=xe(l,o),b=Math.exp(-f);return fe-p/y*b},s=l=>{const f=l*o*e,p=f*n+n,y=Math.pow(o,2)*Math.pow(l,2)*e,b=Math.exp(-f),M=xe(Math.pow(l,2),o);return(-i(l)+fe>0?-1:1)*((p-y)*b)/M}):(i=l=>{const u=Math.exp(-l*e),f=(l-n)*e+1;return-fe+u*f},s=l=>{const u=Math.exp(-l*e),f=(n-l)*(e*e);return u*f});const a=5/e,c=br(i,s,a);if(e=e*1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(c,2)*r;return{stiffness:l,damping:o*2*Math.sqrt(r*l),duration:e}}}const yr=12;function br(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function vr(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ke(e,gr)&&Ke(e,hr)){const n=mr(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Ve(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,s=pt(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:a,damping:c,mass:l,velocity:u,duration:f,isResolvedFromDuration:p}=vr(s),y=Ye,b=Ye;function M(){const x=u?-(u/1e3):0,g=n-t,O=c/(2*Math.sqrt(a*l)),m=Math.sqrt(a/l)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),O<1){const h=xe(m,O);y=v=>{const T=Math.exp(-O*m*v);return n-T*((x+O*m*g)/h*Math.sin(h*v)+g*Math.cos(h*v))},b=v=>{const T=Math.exp(-O*m*v);return O*m*T*(Math.sin(h*v)*(x+O*m*g)/h+g*Math.cos(h*v))-T*(Math.cos(h*v)*(x+O*m*g)-h*g*Math.sin(h*v))}}else if(O===1)y=h=>n-Math.exp(-m*h)*(g+(x+m*g)*h);else{const h=m*Math.sqrt(O*O-1);y=v=>{const T=Math.exp(-O*m*v),w=Math.min(h*v,300);return n-T*((x+O*m*g)*Math.sinh(w)+h*g*Math.cosh(w))/h}}}return M(),{next:x=>{const g=y(x);if(p)o.done=x>=f;else{const O=b(x)*1e3,m=Math.abs(O)<=r,h=Math.abs(n-g)<=i;o.done=m&&h}return o.value=o.done?n:g,o},flipTarget:()=>{u=-u,[t,n]=[n,t],M()}}}Ve.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Ye=e=>0,dt=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},we=(e,t,n)=>-n*e+n*t+e,mt=(e,t)=>n=>Math.max(Math.min(n,t),e),B=e=>e%1?Number(e.toFixed(5)):e,H=/(-)?([\d]*\.?[\d])+/g,Te=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Or=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function q(e){return typeof e=="string"}const W={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},$=Object.assign(Object.assign({},W),{transform:mt(0,1)}),Y=Object.assign(Object.assign({},W),{default:1}),Fe=e=>({test:t=>q(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),D=Fe("deg"),k=Fe("%"),d=Fe("px"),Ge=Object.assign(Object.assign({},k),{parse:e=>k.parse(e)/100,transform:e=>k.transform(e*100)}),_e=(e,t)=>n=>!!(q(n)&&Or.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),yt=(e,t,n)=>r=>{if(!q(r))return r;const[i,s,o,a]=r.match(H);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},R={test:_e("hsl","hue"),parse:yt("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+k.transform(B(t))+", "+k.transform(B(n))+", "+B($.transform(r))+")"},xr=mt(0,255),pe=Object.assign(Object.assign({},W),{transform:e=>Math.round(xr(e))}),C={test:_e("rgb","red"),parse:yt("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pe.transform(e)+", "+pe.transform(t)+", "+pe.transform(n)+", "+B($.transform(r))+")"};function Tr(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Me={test:_e("#"),parse:Tr,transform:C.transform},S={test:e=>C.test(e)||Me.test(e)||R.test(e),parse:e=>C.test(e)?C.parse(e):R.test(e)?R.parse(e):Me.parse(e),transform:e=>q(e)?e:e.hasOwnProperty("red")?C.transform(e):R.transform(e)},bt="${c}",ht="${n}";function Mr(e){var t,n,r,i;return isNaN(e)&&q(e)&&((n=(t=e.match(H))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(Te))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function gt(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Te);r&&(n=r.length,e=e.replace(Te,bt),t.push(...r.map(S.parse)));const i=e.match(H);return i&&(e=e.replace(H,ht),t.push(...i.map(W.parse))),{values:t,numColors:n,tokenised:e}}function vt(e){return gt(e).values}function Ot(e){const{values:t,numColors:n,tokenised:r}=gt(e),i=t.length;return s=>{let o=r;for(let a=0;atypeof e=="number"?0:e;function Ar(e){const t=vt(e);return Ot(e)(t.map(Sr))}const Z={test:Mr,parse:vt,createTransformer:Ot,getAnimatableNone:Ar},Er=new Set(["brightness","contrast","saturate","opacity"]);function jr(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(H)||[];if(!r)return e;const i=n.replace(r,"");let s=Er.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const Vr=/([a-z-]*)\(.*?\)/g,Se=Object.assign(Object.assign({},Z),{getAnimatableNone:e=>{const t=e.match(Vr);return t?t.map(jr).join(" "):e}});function de(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qe({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;i=de(c,a,e+1/3),s=de(c,a,e),o=de(c,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const wr=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},Fr=[Me,C,R],Je=e=>Fr.find(t=>t.test(e)),xt=(e,t)=>{let n=Je(e),r=Je(t),i=n.parse(e),s=r.parse(t);n===R&&(i=Qe(i),n=C),r===R&&(s=Qe(s),r=C);const o=Object.assign({},i);return a=>{for(const c in o)c!=="alpha"&&(o[c]=wr(i[c],s[c],a));return o.alpha=we(i.alpha,s.alpha,a),n.transform(o)}},_r=e=>typeof e=="number",Cr=(e,t)=>n=>t(e(n)),Tt=(...e)=>e.reduce(Cr);function Mt(e,t){return _r(e)?n=>we(e,t,n):S.test(e)?xt(e,t):At(e,t)}const St=(e,t)=>{const n=[...e],r=n.length,i=e.map((s,o)=>Mt(s,t[o]));return s=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Mt(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}};function Xe(e){const t=Z.parse(e),n=t.length;let r=0,i=0,s=0;for(let o=0;o{const n=Z.createTransformer(t),r=Xe(e),i=Xe(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?Tt(St(r.parsed,i.parsed),n):o=>`${o>0?t:e}`},Lr=(e,t)=>n=>we(e,t,n);function Rr(e){if(typeof e=="number")return Lr;if(typeof e=="string")return S.test(e)?xt:At;if(Array.isArray(e))return St;if(typeof e=="object")return Dr}function Pr(e,t,n){const r=[],i=n||Rr(e[0]),s=e.length-1;for(let o=0;on(dt(e,t,r))}function Ir(e,t){const n=e.length,r=n-1;return i=>{let s=0,o=!1;if(i<=e[0]?o=!0:i>=e[r]&&(s=r-1,o=!0),!o){let c=1;for(;ci||c===r);c++);s=c-1}const a=dt(e[s],e[s+1],i);return t[s](a)}}function Et(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;We(s===t.length),We(!r||!Array.isArray(r)||r.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Pr(t,r,i),a=s===2?Nr(e,o):Ir(e,o);return n?c=>a(Oe(e[0],e[s-1],c)):a}const ce=e=>t=>1-e(1-t),Ce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Br=e=>t=>Math.pow(t,e),jt=e=>t=>t*t*((e+1)*t-e),$r=e=>{const t=jt(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Vt=1.525,kr=4/11,zr=8/11,Hr=9/10,wt=e=>e,De=Br(2),Ur=ce(De),Ft=Ce(De),_t=e=>1-Math.sin(Math.acos(e)),Ct=ce(_t),qr=Ce(Ct),Le=jt(Vt),Wr=ce(Le),Zr=Ce(Le),Kr=$r(Vt),Yr=4356/361,Gr=35442/1805,Qr=16061/1805,re=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-re(1-e*2)):.5*re(e*2-1)+.5;function ei(e,t){return e.map(()=>t||Ft).splice(0,e.length-1)}function ti(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function ni(e,t){return e.map(n=>n*t)}function J({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const s={done:!1,value:e},o=Array.isArray(t)?t:[e,t],a=ni(r&&r.length===o.length?r:ti(o),i);function c(){return Et(a,o,{ease:Array.isArray(n)?n:ei(o,n)})}let l=c();return{next:u=>(s.value=l(u),s.done=u>=i,s),flipTarget:()=>{o.reverse(),l=c()}}}function ri({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:s}){const o={done:!1,value:t};let a=n*e;const c=t+a,l=s===void 0?c:s(c);return l!==c&&(a=l-t),{next:u=>{const f=-a*Math.exp(-u/r);return o.done=!(f>i||f<-i),o.value=o.done?l:l+f,o},flipTarget:()=>{}}}const et={keyframes:J,spring:Ve,decay:ri};function ii(e){if(Array.isArray(e.to))return J;if(et[e.type])return et[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?J:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ve:J}function Dt(e,t,n=0){return e-t-n}function oi(e,t,n=0,r=!0){return r?Dt(t+-e,t,n):t-(e-t)+n}function si(e,t,n,r){return r?e>=t+n:e<=-n}const ai=e=>{const t=({delta:n})=>e(n);return{start:()=>ve.update(t,!0),stop:()=>ar.update(t)}};function Re(e){var t,n,{from:r,autoplay:i=!0,driver:s=ai,elapsed:o=0,repeat:a=0,repeatType:c="loop",repeatDelay:l=0,onPlay:u,onStop:f,onComplete:p,onRepeat:y,onUpdate:b}=e,M=pt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:x}=M,g,O=0,m=M.duration,h,v=!1,T=!0,w;const K=ii(M);!((n=(t=K).needsInterpolation)===null||n===void 0)&&n.call(t,r,x)&&(w=Et([0,100],[r,x],{clamp:!1}),r=0,x=100);const _=K(Object.assign(Object.assign({},M),{from:r,to:x}));function Fn(){O++,c==="reverse"?(T=O%2===0,o=oi(o,m,l,T)):(o=Dt(o,m,l),c==="mirror"&&_.flipTarget()),v=!1,y&&y()}function _n(){g.stop(),p&&p()}function Cn(le){if(T||(le=-le),o+=le,!v){const Ue=_.next(Math.max(0,o));h=Ue.value,w&&(h=w(h)),v=T?Ue.done:o<=0}b==null||b(h),v&&(O===0&&(m??(m=o)),O{f==null||f(),g.stop()}}}function Lt(e,t){return t?e*(1e3/t):0}function ci({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:s=750,bounceStiffness:o=500,bounceDamping:a=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:f,onComplete:p,onStop:y}){let b;function M(m){return n!==void 0&&mr}function x(m){return n===void 0?r:r===void 0||Math.abs(n-m){var v;f==null||f(h),(v=m.onUpdate)===null||v===void 0||v.call(m,h)},onComplete:p,onStop:y}))}function O(m){g(Object.assign({type:"spring",stiffness:o,damping:a,restDelta:c},m))}if(M(e))O({from:e,velocity:t,to:x(e)});else{let m=i*t+e;typeof l<"u"&&(m=l(m));const h=x(m),v=h===n?-1:1;let T,w;const K=_=>{T=w,w=_,t=Lt(_-T,ft().delta),(v===1&&_>h||v===-1&&_b==null?void 0:b.stop()}}const Rt=(e,t)=>1-3*t+3*e,Pt=(e,t)=>3*t-6*e,Nt=e=>3*e,ie=(e,t,n)=>((Rt(t,n)*e+Pt(t,n))*e+Nt(t))*e,It=(e,t,n)=>3*Rt(t,n)*e*e+2*Pt(t,n)*e+Nt(t),li=1e-7,ui=10;function fi(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ie(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>li&&++a=di?mi(o,f,e,n):p===0?f:fi(o,a,a+G,e,n)}return o=>o===0||o===1?o:ie(s(o),t,r)}/** * @vue/shared v3.4.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT diff --git a/public/assets/wxpay-2d8f84af.png b/public/chat/assets/wxpay-2d8f84af.png similarity index 100% rename from public/assets/wxpay-2d8f84af.png rename to public/chat/assets/wxpay-2d8f84af.png diff --git a/public/assets/zoom-426d4db7.svg b/public/chat/assets/zoom-426d4db7.svg similarity index 100% rename from public/assets/zoom-426d4db7.svg rename to public/chat/assets/zoom-426d4db7.svg diff --git a/public/browserconfig.xml b/public/chat/browserconfig.xml similarity index 100% rename from public/browserconfig.xml rename to public/chat/browserconfig.xml diff --git a/public/favicon.ico b/public/chat/favicon.ico similarity index 100% rename from public/favicon.ico rename to public/chat/favicon.ico diff --git a/public/icon/android-chrome-192x192.png b/public/chat/icon/android-chrome-192x192.png similarity index 100% rename from public/icon/android-chrome-192x192.png rename to public/chat/icon/android-chrome-192x192.png diff --git a/public/icon/android-chrome-512x512.png b/public/chat/icon/android-chrome-512x512.png similarity index 100% rename from public/icon/android-chrome-512x512.png rename to public/chat/icon/android-chrome-512x512.png diff --git a/public/chat/icon/apple-touch-icon.png b/public/chat/icon/apple-touch-icon.png new file mode 100644 index 0000000..04056a8 Binary files /dev/null and b/public/chat/icon/apple-touch-icon.png differ diff --git a/public/icon/favicon-16x16.png b/public/chat/icon/favicon-16x16.png similarity index 100% rename from public/icon/favicon-16x16.png rename to public/chat/icon/favicon-16x16.png diff --git a/public/icon/favicon-32x32.png b/public/chat/icon/favicon-32x32.png similarity index 100% rename from public/icon/favicon-32x32.png rename to public/chat/icon/favicon-32x32.png diff --git a/public/icon/manifest.webmanifest b/public/chat/icon/manifest.webmanifest similarity index 100% rename from public/icon/manifest.webmanifest rename to public/chat/icon/manifest.webmanifest diff --git a/public/icon/mstile-150x150.png b/public/chat/icon/mstile-150x150.png similarity index 100% rename from public/icon/mstile-150x150.png rename to public/chat/icon/mstile-150x150.png diff --git a/public/index.html b/public/chat/index.html similarity index 84% rename from public/index.html rename to public/chat/index.html index 2715b3e..a25b4c3 100644 --- a/public/index.html +++ b/public/chat/index.html @@ -20,11 +20,11 @@ - - - - - + + + + + diff --git a/public/safari-pinned-tab.svg b/public/chat/safari-pinned-tab.svg similarity index 100% rename from public/safari-pinned-tab.svg rename to public/chat/safari-pinned-tab.svg